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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (478) hide show
  1. package/browser/cjs/00npLPxW7DhY7cIJ.cjs +5 -0
  2. package/browser/cjs/1gbSV4OYBoEWTygY2.cjs +1 -0
  3. package/browser/cjs/7SCJ4vwRZW4B71kq.cjs +8 -0
  4. package/browser/cjs/9LTjOB1_w-bikScD.cjs +1 -0
  5. package/browser/cjs/AVUt0iNPhRf4R5xb.cjs +1 -0
  6. package/browser/cjs/{aYuNpndpwcZG5eik2.cjs → B2fdTYeKGNugWRgn2.cjs} +2 -2
  7. package/browser/cjs/B4ANcw0mAmhe2Aeb2.cjs +1 -0
  8. package/browser/cjs/B6IXpae7f0J8Ocq62.cjs +1 -0
  9. package/browser/cjs/B6vy56yEA1I3B74O.cjs +1 -0
  10. package/browser/cjs/B7QDcu7uACQA1y3h.cjs +1 -0
  11. package/browser/cjs/B7oyN0rn95Kyes8D2.cjs +1 -0
  12. package/browser/cjs/BArvhvpcrQEcbcyY.cjs +1 -0
  13. package/browser/cjs/{Ci8Uu7_b4lwwRLAD2.cjs → BC3OSmoFNyA52TRp2.cjs} +1 -1
  14. package/browser/cjs/{_H5j4dU7HOBYTawU.cjs → BDmBYZigchoACsQx.cjs} +1 -1
  15. package/browser/cjs/BFmgMQoM5sQsWIxf2.cjs +1 -0
  16. package/browser/cjs/BIN8L9V0hoUwMh64.cjs +1 -0
  17. package/browser/cjs/BPWKnUtyoTrtW567.cjs +1 -0
  18. package/browser/cjs/BcROQ4pvVajDQ1em.cjs +1 -0
  19. package/browser/cjs/BjjAQLiorKWXy3g5.cjs +4 -0
  20. package/browser/cjs/Bncc0oXhFMdj_HuR2.cjs +1 -0
  21. package/browser/cjs/BoRfsJCaLzUHQseD.cjs +1 -0
  22. package/browser/cjs/BqQgEaUREvuFHYoW.cjs +1 -0
  23. package/browser/cjs/{Cm21F18ga8TluA9h.cjs → BtAs67e7WBCglqc5.cjs} +1 -1
  24. package/browser/cjs/BxFSy-hOEbyllj-r2.cjs +22 -0
  25. package/browser/cjs/{CRx1WvmgBjT8WVyB2.cjs → C0g87ndP2zMUbX6f2.cjs} +1 -1
  26. package/browser/cjs/C0xAhPzztP9a24zR.cjs +5 -0
  27. package/browser/cjs/C2SohnuJK8Urc7Fx2.cjs +2 -0
  28. package/browser/cjs/C3scwi-q2KqEM39H.cjs +126 -0
  29. package/browser/cjs/C4cZxb9nRtzTCA402.cjs +1 -0
  30. package/browser/cjs/C9q3zr8iCIoYDrdA2.cjs +1 -0
  31. package/browser/cjs/CBLwtHFYNB1BTpSS.cjs +1 -0
  32. package/browser/cjs/{lEQC21-Sk4lwHy2r2.cjs → CFxueP0tbpmvY1Ip2.cjs} +1 -1
  33. package/browser/cjs/CGtG2pvGgTAnImBg2.cjs +8 -0
  34. package/browser/cjs/CH0vbLpwoyU7oOFk.cjs +11 -0
  35. package/browser/cjs/CKtdmbeMjJ2udO8s.cjs +1 -0
  36. package/browser/cjs/CQ-W9AUNHdts8pmY.cjs +1 -0
  37. package/browser/cjs/CQ5x8oFPDaU6OCJf.cjs +3 -0
  38. package/browser/cjs/CRcv32tHTbGSGtkh2.cjs +1 -0
  39. package/browser/cjs/{DsIHLUKUrSrYhFHl.cjs → CTObzk4r7C71x9Ep2.cjs} +1 -1
  40. package/browser/cjs/CUyKbhM67853Rnt22.cjs +1 -0
  41. package/browser/cjs/CVHRh1RGDSgqfAm4.cjs +2 -0
  42. package/browser/cjs/CVHc_cJddJk7J3Zt.cjs +1 -0
  43. package/browser/cjs/CaJGoNwTL6pAJ6a42.cjs +1 -0
  44. package/browser/cjs/{bGMaev70Zd_NXqLM2.cjs → CcqhH_Ign02tLFbU2.cjs} +1 -1
  45. package/browser/cjs/CdsreHc3A0wBhEy9.cjs +14 -0
  46. package/browser/cjs/CfXcRa4RlFmqU0Op.cjs +1 -0
  47. package/browser/cjs/CgyU8XPzm6O1a93m.cjs +41 -0
  48. package/browser/cjs/CzGNIWwu8KL3tcCO2.cjs +1 -0
  49. package/browser/cjs/D-8QQWC-67PplJdV2.cjs +1 -0
  50. package/browser/cjs/D6XEHfNbKx-9qZye.cjs +32 -0
  51. package/browser/cjs/{a0Z-SXs_N71CtqYb2.cjs → D6YaqporVrSewZpm2.cjs} +1 -1
  52. package/browser/cjs/D6m2M4H6JZaYZ4El2.cjs +1 -0
  53. package/browser/cjs/{DIbdDzNf_3S2RYZN.cjs → D9SdUvJVa64UoGj9.cjs} +1 -1
  54. package/browser/cjs/DCVnwgmc5HuYp_iv2.cjs +1 -0
  55. package/browser/cjs/{EeOVMRq7TuptFKTc2.cjs → DF4l8xrxkcLkgExp.cjs} +1 -1
  56. package/browser/cjs/DNnMGL1ff8hutxSd.cjs +1 -0
  57. package/browser/cjs/{D19RglhKiroWfpQn2.cjs → DOEhH2HGT1Zv0irr2.cjs} +1 -1
  58. package/browser/cjs/DQOt8XSpXyhsrF9N.cjs +93 -0
  59. package/browser/cjs/{CnZfa45XxA-9Jhmp.cjs → DRmo6uoGoqtiVff82.cjs} +1 -1
  60. package/browser/cjs/DSXLVieENYN9qXYl.cjs +1 -0
  61. package/browser/cjs/{BEJFcqVMDMKOvs11.cjs → DUXRl3eYfSwbhAfx.cjs} +1 -1
  62. package/browser/cjs/{B9EI7wviSkHS9ZkH.cjs → DWdUSWl4MXn2-MLU.cjs} +1 -1
  63. package/browser/cjs/DWyoF5GqKXce_GmT2.cjs +3 -0
  64. package/browser/cjs/Df3jw0eHS0X-qFvT.cjs +1 -0
  65. package/browser/cjs/{DiZDRPIgbO3sQ8Vb.cjs → Doiqeo4Qlie45lbl.cjs} +1 -1
  66. package/browser/cjs/Dp2fPEReFhDsI01j.cjs +3 -0
  67. package/browser/cjs/DpFg69dDCPoOK2BY2.cjs +1 -0
  68. package/browser/cjs/{Du4jBiFxRIF1OjD4.cjs → Dtxj9JR14A-uliu52.cjs} +1 -1
  69. package/browser/cjs/{CpJJh4UnFl1_qFui.cjs → Dx7GQ4ALtNG3kshu.cjs} +1 -1
  70. package/browser/cjs/{DG-AY_xO8RKHtEBE.cjs → Dy50BSaRMmRISD2Y.cjs} +1 -2
  71. package/browser/cjs/LD1P-jAXleebK12X.cjs +7 -0
  72. package/browser/cjs/P0AUOlaMi9tyE0vN.cjs +3747 -0
  73. package/browser/cjs/PmwvZPFhqmL4DO58.cjs +1 -0
  74. package/browser/cjs/Qp04O3ALK3M9d3At.cjs +54 -0
  75. package/browser/cjs/SATfdSwNygvlOSKC2.cjs +1 -0
  76. package/browser/cjs/XRCcogT-Iqd3Wv6R2.cjs +1 -0
  77. package/browser/cjs/{BziOCn_XEGT4ynN5.cjs → Z_6RasaVpnIv1MHk.cjs} +1 -1
  78. package/browser/cjs/Zz5dLT_2gLI18Jmx.cjs +7 -0
  79. package/browser/cjs/a4xpA8d_d22-GKos.cjs +1 -0
  80. package/browser/cjs/cexWxRluo6g-NG_u.cjs +1 -0
  81. package/browser/cjs/{C5rQELB0TUeXY6VM.cjs → ge8Wd-0WC6oMuJZR.cjs} +1 -1
  82. package/browser/cjs/iYn00uzmSLl2T0oN2.cjs +1 -0
  83. package/browser/cjs/index.cjs +2 -2
  84. package/browser/cjs/kj_kwD7S9uUbhKiz2.cjs +1 -0
  85. package/browser/cjs/qA_ElZ6f49Un56OC.cjs +1 -0
  86. package/browser/cjs/s2c8Pr4obSACz8Lu2.cjs +1 -0
  87. package/browser/cjs/{hzUo76TXMOBqsI3U2.cjs → uAWsHfi-JD_ZQIT82.cjs} +1 -1
  88. package/browser/cjs/uRXkwHKoe-2HtXuR.cjs +1 -0
  89. package/browser/cjs/{DxQkFYAFNZubVdn22.cjs → y4KFnuCKf8r5oFal2.cjs} +1 -1
  90. package/browser/esm/{CZWIS7FuqNjbheSw.mjs → 2eBMkUK0-HxaCmDY.mjs} +40 -40
  91. package/browser/esm/{DzDwSOBdJh_lx_NM.mjs → 53nnk5W22gJW7Ddx.mjs} +241 -241
  92. package/{cdn/assets/BCZjYGV8AqIZghBH.js → browser/esm/5SHS088DeaZ82qmD2.mjs} +69 -4
  93. package/browser/esm/{B4vYIE3kSPTxCgpf2.mjs → 5shGy9JSRzvoIfDE2.mjs} +6 -6
  94. package/browser/esm/{-vgNEEXiEad4bltZ.mjs → 74Ynqpv5NPbb_8vB.mjs} +15762 -16413
  95. package/browser/esm/B-VKr_KwiWjDeAP5.mjs +3343 -0
  96. package/{cdn/assets/BDkVAo0CDCTE04ZJ.js → browser/esm/B08GCyGdLNiXtb_R.mjs} +1 -1
  97. package/browser/esm/{3y_bCend8tkaewDG2.mjs → B0F5gtNQjANAfRw32.mjs} +19 -27
  98. package/browser/esm/B0gZ5e38MXWbEDS_.mjs +25 -0
  99. package/browser/esm/{D3G3tI3DVCUF3Gdk.mjs → B45vVm2Ma1i2b6_F.mjs} +1 -1
  100. package/browser/esm/B5z-uoALcLY2ABTo.mjs +27 -0
  101. package/{cdn/assets/Bv_96nwOEMHN9Sa0.js → browser/esm/B72sK2NRGAke-aCk2.mjs} +27 -29
  102. package/{cdn/assets/DQ4o4dG7gWbL1X8F.js → browser/esm/B8q1hrKv7LAL4xmM2.mjs} +2 -2
  103. package/{cdn/assets/DIQf1pX-j-dWQu_e.js → browser/esm/BCQJVniXgm81YQ0v2.mjs} +141 -140
  104. package/browser/esm/{CR3jgkduTLczbMjH2.mjs → BCcbek_TFOdgqxXq.mjs} +1 -1
  105. package/browser/esm/{1guzFZp1LHz_FwfL.mjs → BEb3QhWwGW8rErZy.mjs} +1 -1
  106. package/browser/esm/{CU1d8OvDv5TU6fSd.mjs → BGRNyE5ar4c3ggrS.mjs} +465 -366
  107. package/browser/esm/{fJ1McMt7xzRA_lUX.mjs → BHIVjD6BdBS3BAWp.mjs} +15 -15
  108. package/browser/esm/BH_qL-oGqwG-7JKF.mjs +87746 -0
  109. package/browser/esm/BJ26E2DhS1Jz4nUY2.mjs +514 -0
  110. package/browser/esm/BJVcTpMN-u5XhMVE2.mjs +47 -0
  111. package/browser/esm/BNgf4HZDOKYBkvL3.mjs +15495 -0
  112. package/browser/esm/BOMJTicRKnx01hw-.mjs +155 -0
  113. package/browser/esm/{8V-VceXEjpADM8qK2.mjs → BPZxx-OH0wACHLsN2.mjs} +1 -1
  114. package/browser/esm/BQIRHi8T3P5MZtan.mjs +15 -0
  115. package/browser/esm/{Dc0BDcQUGy_WIVFa.mjs → BQhVWbI9uag9iRfX2.mjs} +1 -1
  116. package/{cdn/assets/D_t53-8k73CNpV-p2.js → browser/esm/BSWXx2rKOMPxLLs8.mjs} +88 -72
  117. package/browser/esm/{CJPemkFUzhcAD_qR.mjs → BUjTEjAeByh6MKpn.mjs} +1 -1
  118. package/{cdn/assets/B5ZqqASTcBEV5L9K.js → browser/esm/BUokT-PbfvYzD63f2.mjs} +1 -1
  119. package/browser/esm/BYAZ3XZq8XXkOulw.mjs +758 -0
  120. package/browser/esm/BYPIn5AkddMzMcsa2.mjs +117 -0
  121. package/browser/esm/{CH0of3GZTzHviuQV.mjs → BcPnGFFKCddWgOch.mjs} +1 -1
  122. package/browser/esm/{BCkXtOM3yKocv7L-2.mjs → BgwzL8v2pmR5HJXW.mjs} +1 -1
  123. package/browser/esm/BiomOxscV1M0Uw2n.mjs +37 -0
  124. package/browser/esm/{DTaVECXVrgvC48BE.mjs → Bj42pxe5AuY4bF2e.mjs} +3 -3
  125. package/browser/esm/{DBL3Qp5jyPrFg7KI2.mjs → BmC-_QeQ-53oyorq2.mjs} +1 -1
  126. package/browser/esm/{DW72HwfnJtQxzoGa.mjs → BnHE1Z6WkOfTWheU2.mjs} +2 -2
  127. package/{cdn/assets/BHBJtVTiQByD_y9j2.js → browser/esm/BoWCDK44X4tp02_4.mjs} +2 -2
  128. package/browser/esm/{DVZ_UnchuMRveDG32.mjs → Bq7qy-C7tVkiIaDE2.mjs} +42 -4
  129. package/browser/esm/{Cc5IufffX4N-8QpE.mjs → BrzXFBoYDjcG3ct8.mjs} +3 -3
  130. package/browser/esm/{BOl4FzJRD7MplCU72.mjs → BsY_DyFxoqjRHTv02.mjs} +1 -1
  131. package/{cdn/assets/COA_SZY2x8q6t4BD.js → browser/esm/Bsfof8nD-exhrNwn.mjs} +7 -6
  132. package/browser/esm/BtC6lEbd98TeKGsX2.mjs +298 -0
  133. package/browser/esm/BuoHLVUSwf-mq0hg2.mjs +32 -0
  134. package/browser/esm/{R5bs6kCQSZmsCXz-.mjs → BwbR2Dao5LgLYQgV.mjs} +1 -1
  135. package/browser/esm/ByQakLd0YFwc0Lgl.mjs +91 -0
  136. package/browser/esm/{DuPdSe-EXFTx9dsc2.mjs → C-97pwItkHA3s5rD2.mjs} +16 -16
  137. package/browser/esm/{DMLwXmjo28k_iNEU.mjs → C02og4vKxq9qpIUA.mjs} +1866 -1401
  138. package/{cdn/assets/BykiUmcpDgSRNQI1.js → browser/esm/C0HHZ3XLqp0LgRuW.mjs} +1 -1
  139. package/browser/esm/C213T1hhBphljJTF2.mjs +19 -0
  140. package/browser/esm/{Dnx3_xXfRlD6ECfZ2.mjs → C3A-yJ12PN-CPPnI2.mjs} +5 -5
  141. package/browser/esm/{DQ-0yyFAwoWtxmhV2.mjs → C5Oex2msskTvaCQ92.mjs} +1 -1
  142. package/{cdn/assets/8f9hCbpXTTYEgG31.js → browser/esm/C5u9ds7LUh9JJEbW2.mjs} +2 -2
  143. package/browser/esm/{BVRzmIk5PujkT_Ap.mjs → C6D3gk0GBvvDjawh.mjs} +563 -534
  144. package/browser/esm/{BHmYoIIbNW3GdcqV2.mjs → C7b3GyO7FCiMLeyn.mjs} +1 -1
  145. package/browser/esm/{BqTFwWLbXXJ0Fu-X2.mjs → C8qOmdaHh4WQkzEy.mjs} +2 -2
  146. package/browser/esm/CD44l4eg_lxr7kgn2.mjs +115 -0
  147. package/{cdn/assets/iXWgTu3qpYZHcx1J.js → browser/esm/CDxmuF7Iay8T4cnU.mjs} +963 -946
  148. package/browser/esm/CS38A8yr4eKvdDZm.mjs +159 -0
  149. package/browser/esm/CSu0Md4a1JIZrirV.mjs +3324 -0
  150. package/{cdn/assets/BMRav2VAqEzDSp3r.js → browser/esm/CU1J-I76aVm-KPP6.mjs} +37 -3
  151. package/{cdn/assets/D9-wpGVbTS9rRpxx.js → browser/esm/CVbPAnmNN3TxMkq4.mjs} +1 -1
  152. package/browser/esm/{qG5zdZZAe6mQIJo32.mjs → CXvcyGN4L9iDr1LK2.mjs} +5 -5
  153. package/{cdn/assets/CopfZ7Y1Zn_PDNXK.js → browser/esm/CZN6c8yBDjLVTVpH.mjs} +16 -11
  154. package/{cdn/assets/DOsbSsKsexrBoeXa2.js → browser/esm/C__tNzwz0i7bQrSu2.mjs} +17 -18
  155. package/browser/esm/CcPFyWALYlJWf17T2.mjs +58 -0
  156. package/browser/esm/{47Yv4X226-93If7L.mjs → CcuNkPxT6rqElgbZ2.mjs} +1 -1
  157. package/{cdn/assets/C1ZePT2B182vSnxW.js → browser/esm/Cjbksosgv7NZFNE0.mjs} +1 -1
  158. package/browser/esm/{BD7RxHQgrqy_4tb5.mjs → CjxOVBbWLFeUZza82.mjs} +2 -2
  159. package/browser/esm/CksEMRqAqI-_nekb.mjs +149 -0
  160. package/{cdn/assets/DZDynaLqNeVaDoiH2.js → browser/esm/CnB5AuoIz-49NXD_.mjs} +3 -3
  161. package/{cdn/assets/DRc_Wi5c7WdKHTVN.js → browser/esm/Co06Uf-tv1IuVQhe.mjs} +6 -6
  162. package/browser/esm/{D6SKy2BtcWkhfiA02.mjs → CpzLNwtfx0Zd0OZ0.mjs} +2 -5
  163. package/{cdn/assets/Cbw0JeJURvQyxIoa.js → browser/esm/CwRAK6IVjIYuwofE.mjs} +1 -1
  164. package/{cdn/assets/CtXoSHbCUKMY-tSJ2.js → browser/esm/CyS1VLOdAweeZsMV.mjs} +48 -2
  165. package/browser/esm/CyomJv3_vWy4trRe2.mjs +33 -0
  166. package/browser/esm/{Be4QC65cR8N84rTn.mjs → D-1WiFWkKNPWXppx2.mjs} +1 -1
  167. package/browser/esm/D16eCDM3k1_Fk-MN.mjs +225 -0
  168. package/browser/esm/{DZbR5R1fNikjgqYb.mjs → D3Qv3--VfvVHImXW.mjs} +1 -1
  169. package/{cdn/assets/BJEpPEyFWtLzMIq-2.js → browser/esm/D5j8qMZCamJQ82pi.mjs} +1809 -1038
  170. package/{cdn/assets/CdMv3f8Gyxh8q2RR.js → browser/esm/D718rIGL3d_m1mjm2.mjs} +1 -1
  171. package/browser/esm/{BPv6Pw1hW-sV5Fya.mjs → DAhlDEV6ehTRvrj72.mjs} +1 -1
  172. package/browser/esm/{CEN8dYSpN2oew8HH.mjs → DB_I2ygTnDxYiYyc.mjs} +526 -350
  173. package/browser/esm/{D4VqLbEWag8lTWzC2.mjs → DGde1GUi2j-ZUPJW2.mjs} +121 -94
  174. package/browser/esm/DJUnZsVsvwRT_Onq2.mjs +8 -0
  175. package/browser/esm/{DXWmgQSeh0_HDxZj.mjs → DLgM7RXEEfx33zms.mjs} +4 -4
  176. package/browser/esm/DNxL1aQIN6J2PLV7.mjs +35 -0
  177. package/browser/esm/{BjTf3XA9Swj0ngpH.mjs → DRRx9F2h6V-Q957j.mjs} +2 -2
  178. package/{cdn/assets/hFSDx-LnUOObv-6h.js → browser/esm/DZGMsbIACs9TKYrM2.mjs} +2 -2
  179. package/browser/esm/{DFdU1DsC1lXOrejZ.mjs → Dcpd3kkjvidrDQuN.mjs} +1814 -1737
  180. package/browser/esm/{7rixDGGrR72lXkMV.mjs → DevyWm6bXV7lW2dr.mjs} +97 -54
  181. package/browser/esm/{Gy0CHZTvn4hY-rkx2.mjs → DfIwClWz03Qw38-O.mjs} +1 -1
  182. package/{cdn/assets/CAPgMrAKg07EREFD2.js → browser/esm/Dg7wE0RZdHeJv537.mjs} +1 -1
  183. package/browser/esm/Dj_S0P34nk_fjFoh2.mjs +427 -0
  184. package/browser/esm/DjyzSKZNfvxPmFqi.mjs +3342 -0
  185. package/browser/esm/{9_bymSfTn_rR_v6W.mjs → DlHJ7zkV6AMCtYPP.mjs} +6 -6
  186. package/browser/esm/{B1NoGosH2YQh01g7.mjs → DnLi57ylUOd3DUek.mjs} +6 -6
  187. package/{cdn/assets/BVjXdv_wkL1x_8ZJ2.js → browser/esm/DoAKAH3cmECZGboo2.mjs} +1 -1
  188. package/browser/esm/Dok4MRpMgkcsNzp4.mjs +589 -0
  189. package/browser/esm/{Blc1T4zLkp8bRC_n2.mjs → DpORFFFF3LUx_zsT2.mjs} +22 -22
  190. package/{cdn/assets/DvlpP6sUZ9Qzl9s22.js → browser/esm/Ds5mE3-q83ZhE-2T.mjs} +193 -172
  191. package/browser/esm/Du5dlbWtpboIrJk-2.mjs +394 -0
  192. package/{cdn/assets/Chq4BwbjH0sbIkJN2.js → browser/esm/DuMveAGZv1j1YAwO.mjs} +28 -13
  193. package/browser/esm/{C6CK_4GD9IpxKglV2.mjs → GETgdmj9xZWcFrIC2.mjs} +2391 -2900
  194. package/browser/esm/GJUYPKfNptRZyU9r.mjs +267 -0
  195. package/browser/esm/{vcRSnmAqjwKglEkY.mjs → JDCQtP0lkncrmnpC2.mjs} +2 -2
  196. package/browser/esm/{BceIETi6JJRW6Ss62.mjs → OsRyVy3M_rNtmU472.mjs} +13 -13
  197. package/{cdn/assets/DrUEYcXg6N2D2s1Z.js → browser/esm/OtaDVRqZVyi7IBBa.mjs} +51 -11
  198. package/browser/esm/OyyHiDjohIf4lZX62.mjs +119 -0
  199. package/browser/esm/QEPUcBp4VkPz75h8.mjs +637 -0
  200. package/{cdn/assets/CpnA5TZRkPDt4HnM2.js → browser/esm/R0Xd51SJLUebJwYv.mjs} +2 -2
  201. package/browser/esm/{DMX-ZlC_ljcf7oUN.mjs → S4MMwlNd4kcK3RDU.mjs} +1 -1
  202. package/browser/esm/{CsufM5aF6VTLKDWM.mjs → VaST17rbOSkMsGyn.mjs} +12 -12
  203. package/browser/esm/{DtXC6uPF2LLktqFE.mjs → WfqSQXib2MuH663g.mjs} +2 -2
  204. package/browser/esm/{CG5v2hAwGR5Ptufn.mjs → XuGWliVSRCNi5it12.mjs} +1 -1
  205. package/browser/esm/Z83G4i9Tvq4z2kCB.mjs +87 -0
  206. package/browser/esm/_cZz4ZhEEr54LYNe2.mjs +32 -0
  207. package/browser/esm/{NekeSGoazNCraGNC2.mjs → cDMkMgN5tB-wni7c2.mjs} +15 -15
  208. package/{cdn/assets/Clfp7SznkOrJoQvL.js → browser/esm/efVOgresgMXMdh7J2.mjs} +3 -3
  209. package/{cdn/assets/CGqvy5LwQ4z9J2oD.js → browser/esm/gXemYPUoPvaUd055.mjs} +1 -1
  210. package/browser/esm/index.mjs +6 -6
  211. package/browser/esm/kef_IwcJES4VXcNa2.mjs +238 -0
  212. package/browser/esm/{oYdWyqsKo9ejAdVm.mjs → lfNgkSweNYs6v7g2.mjs} +2 -2
  213. package/browser/esm/{BLcn1kGRsjURZSzk.mjs → lfNgkSweNYs6v7g22.mjs} +2 -2
  214. package/{cdn/assets/EwzqnZl1lTr56hH-.js → browser/esm/mbUWaIl3SJkdbWx02.mjs} +1 -1
  215. package/browser/esm/vDg2R-517z6mPR3B2.mjs +280 -0
  216. package/browser/esm/{CfvrjQGuf7vXiQCB.mjs → vP8Rb-lgzeerBAx4.mjs} +1 -1
  217. package/cdn/assets/0uSu6ChH_CTmXM2q2.js +226 -0
  218. package/{browser/esm/BCZjYGV8AqIZghBH.mjs → cdn/assets/5SHS088DeaZ82qmD.js} +69 -4
  219. package/cdn/assets/8rILuc7bVIGEeb97.js +394 -0
  220. package/cdn/assets/9ra2y9Srlg_Pw7Q32.js +590 -0
  221. package/cdn/assets/B-ylRvlizyArIFrd.js +15496 -0
  222. package/{browser/esm/BDkVAo0CDCTE04ZJ2.mjs → cdn/assets/B08GCyGdLNiXtb_R2.js} +1 -1
  223. package/cdn/assets/B0gZ5e38MXWbEDS_.js +25 -0
  224. package/cdn/assets/{C8mUyjJ26jsHGl_D.js → B15uSTYXbbRVKP0X2.js} +7 -7
  225. package/cdn/assets/{BixsQGDDf3Iv_PtW2.js → B1Lxf24mP-fwn03r2.js} +1866 -1401
  226. package/cdn/assets/{D3G3tI3DVCUF3Gdk2.js → B45vVm2Ma1i2b6_F.js} +1 -1
  227. package/cdn/assets/B63SfOuKJt36aTr_.js +8 -0
  228. package/cdn/assets/B69EK_yDF3V8Rq2r2.js +299 -0
  229. package/{browser/esm/Bv_96nwOEMHN9Sa02.mjs → cdn/assets/B72sK2NRGAke-aCk.js} +27 -29
  230. package/cdn/assets/{DW7JlG-SQEdLYNar2.js → B7SJVFUHxy16UJRA.js} +41 -3
  231. package/{browser/esm/DQ4o4dG7gWbL1X8F2.mjs → cdn/assets/B8q1hrKv7LAL4xmM.js} +2 -2
  232. package/cdn/assets/{DVS_5oDniuAFH3vT2.js → BAbRLjxqebqVPyto2.js} +2451 -2960
  233. package/cdn/assets/BCOGONuWSq4hgADu.js +4426 -0
  234. package/cdn/assets/{CR3jgkduTLczbMjH.js → BCcbek_TFOdgqxXq2.js} +1 -1
  235. package/cdn/assets/{1guzFZp1LHz_FwfL2.js → BEb3QhWwGW8rErZy2.js} +1 -1
  236. package/cdn/assets/BHpE1nCbJEbRdzIG2.js +118 -0
  237. package/cdn/assets/BJVcTpMN-u5XhMVE.js +47 -0
  238. package/cdn/assets/{B55nrhIK6gAAu4ZA.js → BLpNuslYLGia3h9t2.js} +2 -2
  239. package/cdn/assets/{8V-VceXEjpADM8qK.js → BPZxx-OH0wACHLsN.js} +1 -1
  240. package/cdn/assets/BQIRHi8T3P5MZtan2.js +15 -0
  241. package/cdn/assets/{Dc0BDcQUGy_WIVFa.js → BQhVWbI9uag9iRfX.js} +1 -1
  242. package/{browser/esm/D_t53-8k73CNpV-p.mjs → cdn/assets/BSWXx2rKOMPxLLs82.js} +88 -72
  243. package/cdn/assets/{CBuvbUg67ah_3BOZ.js → BUeKY15yUtNX2nYg.js} +2 -2
  244. package/cdn/assets/{CJPemkFUzhcAD_qR.js → BUjTEjAeByh6MKpn.js} +1 -1
  245. package/{browser/esm/B5ZqqASTcBEV5L9K2.mjs → cdn/assets/BUokT-PbfvYzD63f.js} +1 -1
  246. package/cdn/assets/BWbSIhQVBaXJNFgl.js +3324 -0
  247. package/cdn/assets/{tVOVNvOs6ro8FXqa2.js → BZDRat2zTkUEg9cR.js} +16 -16
  248. package/cdn/assets/{c6VvwMHfXubjjtyj.js → BeFqINcF0gIgBnB1.js} +16 -16
  249. package/cdn/assets/{DJwQ9abZkyFO9Doy.js → Beyy1fJJeov2iYL4.js} +4 -4
  250. package/cdn/assets/{BCkXtOM3yKocv7L-.js → BgwzL8v2pmR5HJXW2.js} +1 -1
  251. package/cdn/assets/BiomOxscV1M0Uw2n.js +37 -0
  252. package/cdn/assets/{DBL3Qp5jyPrFg7KI.js → BmC-_QeQ-53oyorq.js} +1 -1
  253. package/{browser/esm/BHBJtVTiQByD_y9j.mjs → cdn/assets/BoWCDK44X4tp02_42.js} +2 -2
  254. package/cdn/assets/{BOl4FzJRD7MplCU7.js → BsY_DyFxoqjRHTv0.js} +1 -1
  255. package/{browser/esm/COA_SZY2x8q6t4BD.mjs → cdn/assets/Bsfof8nD-exhrNwn.js} +7 -6
  256. package/cdn/assets/{BzUU8y1IFjREzgog2.js → BsiuCRJjX2LRrDF22.js} +20 -28
  257. package/cdn/assets/BuPGWNRZMMyn4fm8.js +268 -0
  258. package/cdn/assets/Bub12rk6wWVZVNx62.js +496 -0
  259. package/cdn/assets/BuoHLVUSwf-mq0hg.js +32 -0
  260. package/cdn/assets/{DbEGszSW_J_k96KJ.js → ButSau4Lf36Oe3GD.js} +2 -2
  261. package/cdn/assets/{R5bs6kCQSZmsCXz-2.js → BwbR2Dao5LgLYQgV2.js} +1 -1
  262. package/{browser/esm/B0HA_dHcr0kKfudQ.mjs → cdn/assets/C-F-eIvIRbCAMD662.js} +194 -171
  263. package/cdn/assets/{BhDLR-jtbOOG-tl12.js → C-KWjRT0CUb-bkvj2.js} +8 -8
  264. package/{browser/esm/BykiUmcpDgSRNQI12.mjs → cdn/assets/C0HHZ3XLqp0LgRuW2.js} +1 -1
  265. package/cdn/assets/C213T1hhBphljJTF.js +19 -0
  266. package/cdn/assets/{Dnx3_xXfRlD6ECfZ.js → C3A-yJ12PN-CPPnI.js} +5 -5
  267. package/cdn/assets/C4vZWmW5DZLQTTAx.js +758 -0
  268. package/cdn/assets/{DQ-0yyFAwoWtxmhV2.js → C5Oex2msskTvaCQ9.js} +1 -1
  269. package/{browser/esm/8f9hCbpXTTYEgG312.mjs → cdn/assets/C5u9ds7LUh9JJEbW.js} +2 -2
  270. package/cdn/assets/{BHmYoIIbNW3GdcqV.js → C7b3GyO7FCiMLeyn2.js} +1 -1
  271. package/cdn/assets/C8W7e-O1V1Mo2HOp.js +35 -0
  272. package/cdn/assets/{BqTFwWLbXXJ0Fu-X.js → C8qOmdaHh4WQkzEy.js} +2 -2
  273. package/cdn/assets/{Ce5A_D4YBgi_s2KF.js → CEyEKBYpjE5GGcmE.js} +13 -13
  274. package/{browser/esm/Dg5wjQp0fArKXlM3.mjs → cdn/assets/CJoCbCtXkTbj6-nC.js} +16 -11
  275. package/cdn/assets/{j8nXVEYbO2kPuEYQ.js → CLEhV4ZVh2Jf4WLI.js} +3 -3
  276. package/{browser/esm/BMRav2VAqEzDSp3r2.mjs → cdn/assets/CU1J-I76aVm-KPP6.js} +37 -3
  277. package/{browser/esm/D9-wpGVbTS9rRpxx.mjs → cdn/assets/CVbPAnmNN3TxMkq4.js} +1 -1
  278. package/cdn/assets/{2CuCH0wi9XPgVzE42.js → CWIp4JC2SCM6lg-s.js} +11 -9
  279. package/cdn/assets/{BKEzd89UphJ8q1pp2.js → CXKguOBpJrsoXPTQ.js} +485 -386
  280. package/cdn/assets/CXgMJ_MuMQRu0isj2.js +159 -0
  281. package/cdn/assets/{qG5zdZZAe6mQIJo3.js → CXvcyGN4L9iDr1LK.js} +5 -5
  282. package/cdn/assets/{DnzDlqizzNkbhJP7.js → CYFmWcVbnUCDPJ8m.js} +2 -2
  283. package/cdn/assets/{CF8m5SqeMaRkGIYM.js → C_W3L9-im26Qc-Ub.js} +2 -2
  284. package/cdn/assets/Cb7x4GW2rRvj_q2Z.js +87 -0
  285. package/cdn/assets/CcOMQhQN8PPKQulw2.js +428 -0
  286. package/cdn/assets/CcPFyWALYlJWf17T.js +58 -0
  287. package/{browser/esm/Bl6bX86tSq8hfyb2.mjs → cdn/assets/CcXDdl0SsmyEFtmU.js} +965 -944
  288. package/cdn/assets/{47Yv4X226-93If7L2.js → CcuNkPxT6rqElgbZ.js} +1 -1
  289. package/cdn/assets/CdDTtABobc5txUF6.js +149 -0
  290. package/cdn/assets/CdTHBpWoW1Fu4Dg_.js +27 -0
  291. package/cdn/assets/{CT3G9YRPVfKtHWwf2.js → Cdm7E0sw56lpdqRU2.js} +17 -17
  292. package/cdn/assets/{mtrwY1hjJeYlmzC-.js → Cf-bndowUtxZ6tmG.js} +3 -3
  293. package/cdn/assets/{DaBczM5xU9ev5_or.js → CiTCEuoCSDCy9khR.js} +2 -2
  294. package/{browser/esm/C1ZePT2B182vSnxW2.mjs → cdn/assets/Cjbksosgv7NZFNE02.js} +1 -1
  295. package/cdn/assets/{DvItgGbf8IOWPyxd.js → CmRLwDXiK3woZrVI.js} +15461 -16112
  296. package/{browser/esm/DRc_Wi5c7WdKHTVN2.mjs → cdn/assets/Co06Uf-tv1IuVQhe.js} +6 -6
  297. package/cdn/assets/Cpkl0peJbfEXl6ta2.js +239 -0
  298. package/cdn/assets/{D6SKy2BtcWkhfiA0.js → CpzLNwtfx0Zd0OZ02.js} +2 -5
  299. package/cdn/assets/{CpYlf4dXa_V2v-iS2.js → CukMw9Sc4iO21aRQ2.js} +1109 -955
  300. package/cdn/assets/{EjOJX5m8OEL-IjPB.js → CwGEi_5ErUTrkWRj.js} +7 -7
  301. package/{browser/esm/Cbw0JeJURvQyxIoa.mjs → cdn/assets/CwRAK6IVjIYuwofE2.js} +1 -1
  302. package/cdn/assets/{-2S675KWulPRlVNb2.js → Cx1HsOCOdZoKJDEN2.js} +14 -14
  303. package/{browser/esm/BqwvP0318zI2izeL2.mjs → cdn/assets/Cy6Cst4s2vE_WWKK2.js} +27 -26
  304. package/{browser/esm/CtXoSHbCUKMY-tSJ.mjs → cdn/assets/CyS1VLOdAweeZsMV2.js} +48 -2
  305. package/cdn/assets/CyomJv3_vWy4trRe.js +33 -0
  306. package/cdn/assets/{Be4QC65cR8N84rTn2.js → D-1WiFWkKNPWXppx.js} +1 -1
  307. package/cdn/assets/{DZbR5R1fNikjgqYb.js → D3Qv3--VfvVHImXW.js} +1 -1
  308. package/cdn/assets/D6B6VvRh1cfT2e-M2.js +116 -0
  309. package/{browser/esm/CdMv3f8Gyxh8q2RR2.mjs → cdn/assets/D718rIGL3d_m1mjm.js} +1 -1
  310. package/cdn/assets/D7WMzCfJnKIfTbdg.js +280 -0
  311. package/cdn/assets/{C_Io1QC4CeLGRBrz.js → D8sc6gCXnfpn7W79.js} +2 -2
  312. package/cdn/assets/DA4QV7VUyNUEfx1k2.js +156 -0
  313. package/cdn/assets/{BPv6Pw1hW-sV5Fya.js → DAhlDEV6ehTRvrj7.js} +1 -1
  314. package/cdn/assets/{gspQcUnmlRIwG609.js → DBKHpCvbeQU-Y4eS2.js} +5 -5
  315. package/cdn/assets/{CEN8dYSpN2oew8HH2.js → DB_I2ygTnDxYiYyc2.js} +526 -350
  316. package/cdn/assets/{DLEdaT0MmrOxMa2h2.js → DKwpjlUd2pFOI9yp2.js} +64 -64
  317. package/cdn/assets/{BNybEGR813e3aNIv.js → DW3_Jr-4VdZZqNEg.js} +1817 -1740
  318. package/{browser/esm/hFSDx-LnUOObv-6h2.mjs → cdn/assets/DZGMsbIACs9TKYrM.js} +2 -2
  319. package/cdn/assets/{Gy0CHZTvn4hY-rkx.js → DfIwClWz03Qw38-O2.js} +1 -1
  320. package/{browser/esm/CAPgMrAKg07EREFD.mjs → cdn/assets/Dg7wE0RZdHeJv5372.js} +1 -1
  321. package/{browser/esm/BVjXdv_wkL1x_8ZJ2.mjs → cdn/assets/DoAKAH3cmECZGboo2.js} +1 -1
  322. package/cdn/assets/FAaqx6EbN4JxNuNL2.js +87746 -0
  323. package/{browser/esm/CPUlpDM6aAzZzCat2.mjs → cdn/assets/FHIg3Yb5Rn05W1F22.js} +142 -139
  324. package/{browser/esm/CQM87ZBN7Yzn4Yxr.mjs → cdn/assets/FbLFNYdTqRtQ7QiS.js} +9 -9
  325. package/cdn/assets/{vcRSnmAqjwKglEkY2.js → JDCQtP0lkncrmnpC.js} +2 -2
  326. package/cdn/assets/{D-fJXasEYyfRUcj2.js → KOiR-1SNAX7AiEes.js} +3 -3
  327. package/cdn/assets/KS5XJUWdKvEezJfs2.js +264 -0
  328. package/{browser/esm/B4iT_CduJeJunwBc.mjs → cdn/assets/OTQWLENoZ1cSiDQb2.js} +28 -13
  329. package/{browser/esm/DrUEYcXg6N2D2s1Z2.mjs → cdn/assets/OtaDVRqZVyi7IBBa2.js} +51 -11
  330. package/cdn/assets/OyyHiDjohIf4lZX6.js +119 -0
  331. package/cdn/assets/{DKeLjEJPO9nT3bpr.js → PLFw1pLjdLQLrlB0.js} +242 -242
  332. package/cdn/assets/S4MMwlNd4kcK3RDU.js +24 -0
  333. package/cdn/assets/S4MMwlNd4kcK3RDU2.js +24 -0
  334. package/cdn/assets/{CG5v2hAwGR5Ptufn2.js → XuGWliVSRCNi5it1.js} +1 -1
  335. package/cdn/assets/_cZz4ZhEEr54LYNe.js +32 -0
  336. package/cdn/assets/{DCnA2-zB7W_QB-tD2.js → bQ6G23JQrt4l2Ls92.js} +566 -537
  337. package/{browser/esm/Clfp7SznkOrJoQvL.mjs → cdn/assets/efVOgresgMXMdh7J.js} +3 -3
  338. package/{browser/esm/CGqvy5LwQ4z9J2oD2.mjs → cdn/assets/gXemYPUoPvaUd055.js} +1 -1
  339. package/cdn/assets/{UYgwKnPX3US3Cj2k2.js → hHkEq7qn0rj2XKD82.js} +75 -48
  340. package/cdn/assets/{D1MA2ed2cLMt7hV9.js → hqW1sMr576y2S1qX.js} +41 -41
  341. package/cdn/assets/mI8tvfP8ed2Zerre.js +3344 -0
  342. package/{browser/esm/EwzqnZl1lTr56hH-2.mjs → cdn/assets/mbUWaIl3SJkdbWx0.js} +1 -1
  343. package/{browser/esm/RW23HF8taEtW8q9D.mjs → cdn/assets/n_NkstgVVwl2iAnp.js} +2 -2
  344. package/cdn/assets/ryzcqI-93l1HBuTe2.js +91 -0
  345. package/cdn/assets/{CfvrjQGuf7vXiQCB2.js → vP8Rb-lgzeerBAx42.js} +1 -1
  346. package/cdn/assets/{CHttngK66Ido5dWW.js → w65zHFqjAp_NlbXg2.js} +7 -7
  347. package/cdn/index.js +2 -2
  348. package/package.json +3 -3
  349. package/browser/cjs/2zXD3NPfuQT2KSZq.cjs +0 -7
  350. package/browser/cjs/49_x589Na12sizKK.cjs +0 -1
  351. package/browser/cjs/B19QM3SGmPKKwD_o.cjs +0 -1
  352. package/browser/cjs/B4JJfKSI4ppwU8552.cjs +0 -1
  353. package/browser/cjs/B5YBx0GqLor3i0O1.cjs +0 -1
  354. package/browser/cjs/BC2gCQkR1iykfAuC.cjs +0 -1
  355. package/browser/cjs/BEVqcFGFU6Ri9y8T.cjs +0 -5
  356. package/browser/cjs/BEzaum_kgG4yAOx0.cjs +0 -1
  357. package/browser/cjs/BF-38Z7Z0FZOPl192.cjs +0 -1
  358. package/browser/cjs/BIQZDBQfv3Qm5iC8.cjs +0 -4
  359. package/browser/cjs/BSCgCfORdZz1Ii5S.cjs +0 -2
  360. package/browser/cjs/BZr-IqNS1skh1hr6.cjs +0 -21
  361. package/browser/cjs/BfzzZ9IR27ZPzj-8.cjs +0 -3
  362. package/browser/cjs/Bgke3PtMSF2Iaen4.cjs +0 -1
  363. package/browser/cjs/BnccBYHCCq9TGFx4.cjs +0 -8
  364. package/browser/cjs/BwLx9ix5Sq7suAYP2.cjs +0 -1
  365. package/browser/cjs/C-HOJozu5NgCil1q.cjs +0 -1
  366. package/browser/cjs/C2oTW2DjZypuqq7x.cjs +0 -1
  367. package/browser/cjs/C6yxQPAEgcGWAhYR.cjs +0 -33
  368. package/browser/cjs/C9C-pr-T_ThweQX92.cjs +0 -1
  369. package/browser/cjs/CPgCih_KEqnUZ9Rv.cjs +0 -3
  370. package/browser/cjs/CSNCOmYEOR-iTJ7K.cjs +0 -5
  371. package/browser/cjs/C_7w8EJZpHw8ueuq.cjs +0 -1
  372. package/browser/cjs/C_IEgjM-hSJCv6Gm.cjs +0 -1
  373. package/browser/cjs/CcneNtiqtKppCa-p.cjs +0 -57
  374. package/browser/cjs/CeF0DZ-k4DB8M47I.cjs +0 -1
  375. package/browser/cjs/Clu7XiAsCB48GDXN2.cjs +0 -1
  376. package/browser/cjs/CojEXZgX08waZOoq.cjs +0 -1
  377. package/browser/cjs/CrDTTLE9EvaGDSD4.cjs +0 -88
  378. package/browser/cjs/Cty5pi0fwToP1GWe.cjs +0 -7
  379. package/browser/cjs/CvV18ZJgssoHMkdf2.cjs +0 -2
  380. package/browser/cjs/Cy-4IMt-AbR-ifP3.cjs +0 -126
  381. package/browser/cjs/CyGzzWYDy-IniKCq2.cjs +0 -7
  382. package/browser/cjs/CzgwTfy2072Dmt5u.cjs +0 -1
  383. package/browser/cjs/DCIlWcGDrp-5PDoA.cjs +0 -1
  384. package/browser/cjs/DFHxNnJ-lHtv0hIq.cjs +0 -1
  385. package/browser/cjs/DH3WXPfGHwWJW0nH.cjs +0 -1
  386. package/browser/cjs/DNCC-QNp2I7saV-I.cjs +0 -1
  387. package/browser/cjs/DNy-UU3NKNqQQngF.cjs +0 -1
  388. package/browser/cjs/DPjEO7dwhCFd8DHR2.cjs +0 -2
  389. package/browser/cjs/DfMJOaJ0GcUiSn4Q.cjs +0 -1
  390. package/browser/cjs/DsFZgtSQpC75d1M02.cjs +0 -1
  391. package/browser/cjs/DvSvfeo9V0Abfd3q2.cjs +0 -1
  392. package/browser/cjs/E-IqDztfMb_xdszH.cjs +0 -1
  393. package/browser/cjs/ElcoSB--cCpS6i7R2.cjs +0 -1
  394. package/browser/cjs/KNCocKN9uPR0tvUS.cjs +0 -1
  395. package/browser/cjs/Kr8f1inOTt-MICaP2.cjs +0 -1
  396. package/browser/cjs/Kvn916ebqGc4t6hv2.cjs +0 -1
  397. package/browser/cjs/PM3PrEWG3WHKxaDx.cjs +0 -1
  398. package/browser/cjs/YG320hBA20Dl3HoU2.cjs +0 -1
  399. package/browser/cjs/bIaGoYEDSBCrAaB6.cjs +0 -1
  400. package/browser/cjs/fqTQ_p3ehzUvc1tF2.cjs +0 -1
  401. package/browser/cjs/h3dw1jAp2J5Pu4p32.cjs +0 -1
  402. package/browser/cjs/i2VboqjlOcozI9MQ.cjs +0 -12
  403. package/browser/cjs/jev6VGWTdgEgm4Yk2.cjs +0 -1
  404. package/browser/cjs/ppSJKdLn646BZOzg.cjs +0 -1
  405. package/browser/cjs/xBcvszV6x7ys-m532.cjs +0 -1
  406. package/browser/esm/At60x9FEPePwPP_J.mjs +0 -51151
  407. package/browser/esm/B4h6iO7hQ9lCR7kj.mjs +0 -11273
  408. package/browser/esm/BBtOlJMVlsWorNJH.mjs +0 -824
  409. package/browser/esm/BQDXkeSabbxB5DUB2.mjs +0 -47
  410. package/browser/esm/BUCKq_2lHPd1ndvw.mjs +0 -149
  411. package/browser/esm/BX4f6i2WMBMKFVCq.mjs +0 -99
  412. package/browser/esm/BZsx0QHg1RZlM9ZN.mjs +0 -15
  413. package/browser/esm/BhxX7CZWSOlV2Dsz.mjs +0 -224
  414. package/browser/esm/BhzLZRz2N8RxjQ_U.mjs +0 -34
  415. package/browser/esm/BkSb_vyWe-AhyEDa.mjs +0 -4423
  416. package/browser/esm/Bp9qFBIcpIGXvMgo.mjs +0 -134
  417. package/browser/esm/C0rS1uBqfsj-gPR8.mjs +0 -152
  418. package/browser/esm/CGGJWgWSPZ0aP_C3.mjs +0 -87
  419. package/browser/esm/CGyydD3tRb0ik50l2.mjs +0 -20
  420. package/browser/esm/CY1zykikO58_ADk8.mjs +0 -3188
  421. package/browser/esm/Cb-FUOYcyRSkHG6u2.mjs +0 -238
  422. package/browser/esm/Cd8HXAJlflkkTXxc.mjs +0 -53
  423. package/browser/esm/CfuhUkrvOq11d9FR.mjs +0 -44
  424. package/browser/esm/Ckl3FLCOeqw7yhkP2.mjs +0 -82
  425. package/browser/esm/CpjX81WsWJbXMUoT.mjs +0 -3655
  426. package/browser/esm/DDOO4tcrO4OfMUDe.mjs +0 -25
  427. package/browser/esm/DDUYQ8FPeh1TJU24.mjs +0 -538
  428. package/browser/esm/DVJd6McdAG5udItH.mjs +0 -27
  429. package/browser/esm/DVQNQmjI2PKkwiOw2.mjs +0 -514
  430. package/browser/esm/D_zNx76HGunFi7xJ.mjs +0 -509
  431. package/browser/esm/DfRGH6mEtIVDWEYN2.mjs +0 -304
  432. package/browser/esm/DnuaqN0xfgqzl8qG.mjs +0 -2687
  433. package/browser/esm/nguMxPB9LKexKBRX.mjs +0 -219
  434. package/browser/esm/qzhFT2j-mpQEQnKs.mjs +0 -16386
  435. package/cdn/assets/2UHIeioUPXrwtZy-2.js +0 -83
  436. package/cdn/assets/BAhvL7M7ZcgZ8eDc2.js +0 -48
  437. package/cdn/assets/BM7OqAUEUk-up7_82.js +0 -134
  438. package/cdn/assets/BNuoKAzs4zkxSocG2.js +0 -44
  439. package/cdn/assets/BU6uQhQhpaLElTT82.js +0 -225
  440. package/cdn/assets/BVgTMDEoPgsWFmku.js +0 -510
  441. package/cdn/assets/BWlMK76Aj2d4ygsH.js +0 -538
  442. package/cdn/assets/BZsx0QHg1RZlM9ZN2.js +0 -15
  443. package/cdn/assets/Bl6C6xWT8E6b7OwJ2.js +0 -239
  444. package/cdn/assets/CGyydD3tRb0ik50l.js +0 -20
  445. package/cdn/assets/CH0of3GZTzHviuQV.js +0 -24
  446. package/cdn/assets/CH0of3GZTzHviuQV2.js +0 -24
  447. package/cdn/assets/Crkvq5j5KIa6eTLI2.js +0 -51151
  448. package/cdn/assets/Cv-KXN9kl0UeMezQ.js +0 -824
  449. package/cdn/assets/CvtkpvGzCHhNuwTm.js +0 -16386
  450. package/cdn/assets/D9gETGi23d14kT7u2.js +0 -99
  451. package/cdn/assets/D9joTG0Z2zdWHAEa2.js +0 -4423
  452. package/cdn/assets/DC9obE_EVmxtvXCf.js +0 -11275
  453. package/cdn/assets/DDNivpFWzQ3AIJia.js +0 -2687
  454. package/cdn/assets/DDOO4tcrO4OfMUDe.js +0 -25
  455. package/cdn/assets/DEUY_zuVwmptMX4l.js +0 -150
  456. package/cdn/assets/DTCtbG90ip7Z7LaG.js +0 -220
  457. package/cdn/assets/D_HeH7AJqWoxehn52.js +0 -53
  458. package/cdn/assets/DfRGH6mEtIVDWEYN.js +0 -304
  459. package/cdn/assets/WLUhtyUNK5QJ7Pff.js +0 -34
  460. package/cdn/assets/c7aIqKLOO4pvUsV12.js +0 -220
  461. package/cdn/assets/mtI43hWjdp4E3Z_-.js +0 -152
  462. package/cdn/assets/nmR_PgTW7GrlbHHZ.js +0 -27
  463. package/cdn/assets/vTCuFafvRlSaT9wy.js +0 -87
  464. /package/browser/cjs/{1XrWGMP3GmsQOMIX2.cjs → 1XrWGMP3GmsQOMIX.cjs} +0 -0
  465. /package/browser/cjs/{4nReftSsKWmnRdtf2.cjs → 4nReftSsKWmnRdtf.cjs} +0 -0
  466. /package/browser/cjs/{507hQYooKKjnRzsZ2.cjs → 507hQYooKKjnRzsZ.cjs} +0 -0
  467. /package/browser/cjs/{BAxVLKkxFgI6cXnR.cjs → BAxVLKkxFgI6cXnR2.cjs} +0 -0
  468. /package/browser/cjs/{C2uDl8VIJqh58YF_.cjs → C2uDl8VIJqh58YF_2.cjs} +0 -0
  469. /package/browser/cjs/{CV4KQsHluMqo1I2Q.cjs → CV4KQsHluMqo1I2Q2.cjs} +0 -0
  470. /package/browser/cjs/{CXlzsh_WHCOsErJ12.cjs → CXlzsh_WHCOsErJ1.cjs} +0 -0
  471. /package/browser/cjs/{D8-KovdJ0LjxqCe2.cjs → D8-KovdJ0LjxqCe22.cjs} +0 -0
  472. /package/browser/cjs/{DDnGLOLTqLFsdUDS2.cjs → DDnGLOLTqLFsdUDS.cjs} +0 -0
  473. /package/browser/cjs/{DM7-R_ltoLbA9jde2.cjs → DM7-R_ltoLbA9jde.cjs} +0 -0
  474. /package/browser/cjs/{DNKyaSruDogoBd2H2.cjs → DNKyaSruDogoBd2H.cjs} +0 -0
  475. /package/browser/cjs/{Dx79LP1-YCQg8B87.cjs → Dx79LP1-YCQg8B872.cjs} +0 -0
  476. /package/browser/cjs/{JfM6P_qoQQTWakZf.cjs → JfM6P_qoQQTWakZf2.cjs} +0 -0
  477. /package/browser/cjs/{CbLXP9WY38wTcGn5.cjs → NcNz8RfT5V889CMT2.cjs} +0 -0
  478. /package/browser/cjs/{z_rZE1OHFPpdGBh42.cjs → z_rZE1OHFPpdGBh4.cjs} +0 -0
@@ -1,17 +1,17 @@
1
1
  /**
2
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.8.0-beta.1
2
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.8.0-beta.3
3
3
  *
4
4
  * (C) 2026-present SheetXL Inc. & Michael T. Ford
5
5
  * License: The license can be found at https://www.sheetxl.com/license.
6
6
  */
7
- import { A as e } from "./CEN8dYSpN2oew8HH.mjs";
8
- import { d as t, o as n } from "./D_t53-8k73CNpV-p.mjs";
9
- import { B as r, Q as i, ct as a, dt as o, fn as s, it as c, nn as l, s as u, x as d } from "./At60x9FEPePwPP_J.mjs";
10
- import { o as f } from "./CY1zykikO58_ADk8.mjs";
11
- import { o as p } from "./DMLwXmjo28k_iNEU.mjs";
12
- import { r as m } from "./DMX-ZlC_ljcf7oUN.mjs";
13
- import { d as h, f as g, i as _, o as ee, p as v, r as te, s as y, t as b, u as ne } from "./BX4f6i2WMBMKFVCq.mjs";
14
- var re = class {
7
+ import { z as e } from "./DB_I2ygTnDxYiYyc.mjs";
8
+ import { i as t, l as n } from "./BSWXx2rKOMPxLLs8.mjs";
9
+ import { C as r, H as i, Rt as a, S as o, W as s, _ as c, et as l, it as u, ot as d } from "./BH_qL-oGqwG-7JKF.mjs";
10
+ import { p as f } from "./DjyzSKZNfvxPmFqi.mjs";
11
+ import { r as p } from "./BcPnGFFKCddWgOch.mjs";
12
+ import { st as m, u as h, z as g } from "./C02og4vKxq9qpIUA.mjs";
13
+ import { c as _, f as v, h as y, l as b, m as x, o as ee, r as S, t as C } from "./CS38A8yr4eKvdDZm.mjs";
14
+ var te = class {
15
15
  constructor(e) {
16
16
  this.list = e;
17
17
  }
@@ -37,21 +37,24 @@ var re = class {
37
37
  [Symbol.iterator]() {
38
38
  return this.list.values();
39
39
  }
40
- }, ie = (e) => !0 === e || e === "1" || e === "on" || e === "true" || !1 !== e && e !== "0" && e !== "off" && e !== "false" && null, ae = (e) => {
40
+ }, ne = (e) => !0 === e || e === "1" || e === "on" || e === "true" || !1 !== e && e !== "0" && e !== "off" && e !== "false" && null, re = (e) => {
41
41
  let t = parseInt(e);
42
42
  return isNaN(t) ? null : t;
43
- }, x = (e) => {
43
+ }, ie = (e) => {
44
44
  let t = parseFloat(e);
45
45
  return isNaN(t) ? null : t;
46
- }, S = /* @__PURE__ */ new Map(), C = class {
46
+ }, ae = /* @__PURE__ */ new Map(), w = class {
47
47
  constructor(t, n, r, i, a, o = null, s = e.EmptyObject) {
48
- this._fileLocation = "", this._parent = t, this.sharedShared = n, this.currentPath = r, this.elemRoot = i, this.jsonRoot = a, t ? (this._fileLocation = t._fileLocation, this._getRef = t._getRef, this._getRefs = t._getRefs, this._serializeElement = t._serializeElement) : (o && (this._fileLocation = o), s?.getRef && (this._getRef = (e, t, n) => s?.getRef?.(e, t, n, s?.parsedRefs)), s?.getRefs && (this._getRefs = (e) => s?.getRefs?.(e, s?.parsedRefs)), this._onWarning = s?.onWarning, this._addPerson = s?.addPerson, this._serializeElement = s?.serializeElement);
48
+ this._fileLocation = "", this._parent = t, this.sharedShared = n, this.currentPath = r, this.elemRoot = i, this.jsonRoot = a, t ? (this._fileLocation = t._fileLocation, this._getRef = t._getRef, this._getRefs = t._getRefs, this._serializeElement = t._serializeElement, this._readEmbeddedPart = t._readEmbeddedPart) : (o && (this._fileLocation = o), s?.getRef && (this._getRef = (e, t, n) => s?.getRef?.(e, t, n, s?.parsedRefs)), s?.getRefs && (this._getRefs = (e) => s?.getRefs?.(e, s?.parsedRefs)), this._onWarning = s?.onWarning, this._addPerson = s?.addPerson, this._serializeElement = s?.serializeElement, this._readEmbeddedPart = s?.readEmbeddedPart);
49
49
  }
50
50
  getRef(e, t = !1) {
51
51
  return this._getRef?.(e, this._fileLocation, t) ?? null;
52
52
  }
53
+ readEmbeddedPart(e) {
54
+ return this._readEmbeddedPart?.(e, this._fileLocation) ?? null;
55
+ }
53
56
  getRelationships() {
54
- return this._getRefs?.(this._fileLocation) ?? S;
57
+ return this._getRefs?.(this._fileLocation) ?? ae;
55
58
  }
56
59
  getPath() {
57
60
  return this.currentPath;
@@ -65,8 +68,11 @@ var re = class {
65
68
  getJsonRoot() {
66
69
  return this.jsonRoot;
67
70
  }
68
- warn(e) {
69
- this._onWarning ? this._onWarning(e) : this._parent ? this._parent?.warn?.(e) : console.warn(e);
71
+ warn(e, t) {
72
+ this._raiseWarning(e, this.getFileLocation(), t?.onceKey);
73
+ }
74
+ _raiseWarning(e, t, n) {
75
+ this._onWarning ? this._onWarning(e, t, n) : this._parent ? this._parent._raiseWarning(e, t, n) : console.warn(e);
70
76
  }
71
77
  serializeElement(e) {
72
78
  return this._serializeElement?.(e) ?? null;
@@ -106,7 +112,7 @@ var re = class {
106
112
  }
107
113
  if (n = a, n.length === 0) return null;
108
114
  }
109
- return n.length === 1 ? n[0] : n.length === 0 ? null : new re(n);
115
+ return n.length === 1 ? n[0] : n.length === 0 ? null : new te(n);
110
116
  }
111
117
  _matchesElementName(e, t) {
112
118
  return t.includes(":") ? (e.tagName || e.nodeName) === t : e.localName === t;
@@ -146,13 +152,13 @@ var re = class {
146
152
  return n && n.hasAttribute("val") ? parseFloat(n.getAttribute("val")) ?? null : null;
147
153
  }
148
154
  get BOOLEAN_COPY() {
149
- return ie;
155
+ return ne;
150
156
  }
151
157
  get INT_COPY() {
152
- return ae;
158
+ return re;
153
159
  }
154
160
  get FLOAT_COPY() {
155
- return x;
161
+ return ie;
156
162
  }
157
163
  copyFromAttribute(e, t, n, r = t, i = null) {
158
164
  if (!e || !n || !e.hasAttribute(t)) return;
@@ -165,32 +171,32 @@ var re = class {
165
171
  }
166
172
  this.setToPath(n, r, a);
167
173
  }
168
- }, oe = m({
169
- isBlank: () => k,
170
- isNotBlank: () => A,
171
- length: () => j,
172
- parseRotation: () => w,
173
- parseValAttrAsBoolean: () => E,
174
- parseValAttrAsFloat: () => O,
175
- parseValAttrAsInteger: () => D,
176
- parseValAttrAsString: () => T
177
- }), w = (t, n) => {
174
+ }, T = p({
175
+ isBlank: () => j,
176
+ isNotBlank: () => M,
177
+ length: () => N,
178
+ parseRotation: () => E,
179
+ parseValAttrAsBoolean: () => O,
180
+ parseValAttrAsFloat: () => A,
181
+ parseValAttrAsInteger: () => k,
182
+ parseValAttrAsString: () => D
183
+ }), E = (t, n) => {
178
184
  if (!t || !t.hasAttribute("rot")) return;
179
- let r = t.getAttribute("rot"), i = e.roundAccurately(g(r), 2);
185
+ let r = t.getAttribute("rot"), i = e.roundAccurately(S(r), 2);
180
186
  i !== -1e3 && (n.rotation = i);
181
- }, T = (e, t, n, r, i) => {
187
+ }, D = (e, t, n, r, i) => {
182
188
  let a = e.getValAttrAsString(r, t);
183
189
  a !== null && (n[i] = a);
184
- }, E = (e, t, n, r, i = r, a = null) => {
190
+ }, O = (e, t, n, r, i = r, a = null) => {
185
191
  let o = e.getValAttrAsBoolean(r, t, a);
186
192
  o !== null && (n[i] = o);
187
- }, D = (e, t, n, r, i) => {
193
+ }, k = (e, t, n, r, i) => {
188
194
  let a = e.getValAttrAsInteger(r, t);
189
195
  a !== null && (n[i] = a);
190
- }, O = (e, t, n, r, i, a = 1) => {
196
+ }, A = (e, t, n, r, i, a = 1) => {
191
197
  let o = e.getValAttrAsFloat(r, t);
192
198
  o !== null && (n[i] = o * a);
193
- }, k = (e) => !e || e.trim().length === 0, A = (e) => !k(e), j = (e) => e?.length ?? 0, M = class {
199
+ }, j = (e) => !e || e.trim().length === 0, M = (e) => !j(e), N = (e) => e?.length ?? 0, P = class {
194
200
  constructor(e) {
195
201
  this.jsonKey = e;
196
202
  }
@@ -198,7 +204,7 @@ var re = class {
198
204
  let r = {};
199
205
  return n[this.jsonKey] = r, r;
200
206
  }
201
- }, N = class {
207
+ }, F = class {
202
208
  visit(e, t, n) {}
203
209
  getStroke(e, t) {
204
210
  let n = e.evaluate("ln", t);
@@ -206,7 +212,7 @@ var re = class {
206
212
  }
207
213
  parseLn(e, t) {
208
214
  let n = {};
209
- t.hasAttribute("algn") && (n.align = t.getAttribute("algn")), t.hasAttribute("cap") && (n.lineCap = ce(t.getAttribute("cap"))), t.hasAttribute("cmpd") && (n.compound = t.getAttribute("cmpd")), t.hasAttribute("w") && (n.width = y(t.getAttribute("w")));
215
+ t.hasAttribute("algn") && (n.align = t.getAttribute("algn")), t.hasAttribute("cap") && (n.lineCap = se(t.getAttribute("cap"))), t.hasAttribute("cmpd") && (n.compound = t.getAttribute("cmpd")), t.hasAttribute("w") && (n.width = v(t.getAttribute("w")));
210
216
  let r = e.evaluate("miter", t);
211
217
  r && (n.lineJoin = "miter", r.hasAttribute("lim") && (n.miterLimit = parseFloat(r.getAttribute("lim")) / 1e5)), e.evaluate("bevel", t) && (n.lineJoin = "bevel"), e.evaluate("round", t) && (n.lineJoin = "round");
212
218
  let i = e.evaluate("custDash", t);
@@ -216,7 +222,7 @@ var re = class {
216
222
  let e = [];
217
223
  for (let n = 0; n < t.length; n++) {
218
224
  let r = t.item(n);
219
- e.push(b(r.getAttribute("d") ?? "")), e.push(b(r.getAttribute("sp") ?? ""));
225
+ e.push(x(r.getAttribute("d") ?? "")), e.push(x(r.getAttribute("sp") ?? ""));
220
226
  }
221
227
  n.dash = e;
222
228
  }
@@ -253,14 +259,14 @@ var re = class {
253
259
  type: f.Type.OuterShadow,
254
260
  color: this.processAdjColor(e, t)
255
261
  };
256
- return t.hasAttribute("dist") && (n.distance = y(t.getAttribute("dist"))), t.hasAttribute("dir") && (n.angle = g(t.getAttribute("dir"))), t.hasAttribute("blurRad") && (n.blur = y(t.getAttribute("blurRad"))), t.hasAttribute("algn") && (n.alignment = t.getAttribute("algn")), t.hasAttribute("rotWithShape") && (n.isRotatedWithShape = v(t.getAttribute("rotWithShape"))), t.hasAttribute("sx") && (n.scaleX = b(t.getAttribute("sx"))), t.hasAttribute("sy") && (n.scaleY = b(t.getAttribute("sy"))), t.hasAttribute("kx") && (n.skewX = g(t.getAttribute("kx"))), t.hasAttribute("ky") && (n.skewY = g(t.getAttribute("ky"))), n;
262
+ return t.hasAttribute("dist") && (n.distance = v(t.getAttribute("dist"))), t.hasAttribute("dir") && (n.angle = S(t.getAttribute("dir"))), t.hasAttribute("blurRad") && (n.blur = v(t.getAttribute("blurRad"))), t.hasAttribute("algn") && (n.alignment = t.getAttribute("algn")), t.hasAttribute("rotWithShape") && (n.isRotatedWithShape = C(t.getAttribute("rotWithShape"))), t.hasAttribute("sx") && (n.scaleX = x(t.getAttribute("sx"))), t.hasAttribute("sy") && (n.scaleY = x(t.getAttribute("sy"))), t.hasAttribute("kx") && (n.skewX = S(t.getAttribute("kx"))), t.hasAttribute("ky") && (n.skewY = S(t.getAttribute("ky"))), n;
257
263
  }
258
264
  case "innerShdw": {
259
265
  let n = {
260
266
  type: f.Type.InnerShadow,
261
267
  color: this.processAdjColor(e, t)
262
268
  };
263
- return t.hasAttribute("dist") && (n.distance = y(t.getAttribute("dist"))), t.hasAttribute("dir") && (n.angle = g(t.getAttribute("dir"))), t.hasAttribute("blurRad") && (n.blur = y(t.getAttribute("blurRad"))), n;
269
+ return t.hasAttribute("dist") && (n.distance = v(t.getAttribute("dist"))), t.hasAttribute("dir") && (n.angle = S(t.getAttribute("dir"))), t.hasAttribute("blurRad") && (n.blur = v(t.getAttribute("blurRad"))), n;
264
270
  }
265
271
  case "prstShdw": {
266
272
  let n = {
@@ -268,22 +274,22 @@ var re = class {
268
274
  color: this.processAdjColor(e, t),
269
275
  preset: t.getAttribute("prst") ?? void 0
270
276
  };
271
- return t.hasAttribute("dist") && (n.distance = y(t.getAttribute("dist"))), t.hasAttribute("dir") && (n.angle = g(t.getAttribute("dir"))), n;
277
+ return t.hasAttribute("dist") && (n.distance = v(t.getAttribute("dist"))), t.hasAttribute("dir") && (n.angle = S(t.getAttribute("dir"))), n;
272
278
  }
273
279
  case "glow": {
274
280
  let n = {
275
281
  type: f.Type.Glow,
276
282
  color: this.processAdjColor(e, t)
277
283
  };
278
- return t.hasAttribute("rad") && (n.radius = y(t.getAttribute("rad"))), n;
284
+ return t.hasAttribute("rad") && (n.radius = v(t.getAttribute("rad"))), n;
279
285
  }
280
286
  case "softEdge": {
281
287
  let e = { type: f.Type.SoftEdge };
282
- return t.hasAttribute("rad") && (e.radius = y(t.getAttribute("rad"))), e;
288
+ return t.hasAttribute("rad") && (e.radius = v(t.getAttribute("rad"))), e;
283
289
  }
284
290
  case "reflection": {
285
291
  let e = { type: f.Type.Reflection };
286
- return t.hasAttribute("blurRad") && (e.blur = y(t.getAttribute("blurRad"))), t.hasAttribute("dist") && (e.distance = y(t.getAttribute("dist"))), t.hasAttribute("dir") && (e.angle = g(t.getAttribute("dir"))), t.hasAttribute("fadeDir") && (e.fadeAngle = g(t.getAttribute("fadeDir"))), t.hasAttribute("stA") && (e.startAlpha = b(t.getAttribute("stA"))), t.hasAttribute("stPos") && (e.startPosition = b(t.getAttribute("stPos"))), t.hasAttribute("endA") && (e.endAlpha = b(t.getAttribute("endA"))), t.hasAttribute("endPos") && (e.endPosition = b(t.getAttribute("endPos"))), t.hasAttribute("sx") && (e.scaleX = b(t.getAttribute("sx"))), t.hasAttribute("sy") && (e.scaleY = b(t.getAttribute("sy"))), t.hasAttribute("kx") && (e.skewX = g(t.getAttribute("kx"))), t.hasAttribute("ky") && (e.skewY = g(t.getAttribute("ky"))), t.hasAttribute("algn") && (e.alignment = t.getAttribute("algn")), t.hasAttribute("rotWithShape") && (e.isRotatedWithShape = v(t.getAttribute("rotWithShape"))), e;
292
+ return t.hasAttribute("blurRad") && (e.blur = v(t.getAttribute("blurRad"))), t.hasAttribute("dist") && (e.distance = v(t.getAttribute("dist"))), t.hasAttribute("dir") && (e.angle = S(t.getAttribute("dir"))), t.hasAttribute("fadeDir") && (e.fadeAngle = S(t.getAttribute("fadeDir"))), t.hasAttribute("stA") && (e.startAlpha = x(t.getAttribute("stA"))), t.hasAttribute("stPos") && (e.startPosition = x(t.getAttribute("stPos"))), t.hasAttribute("endA") && (e.endAlpha = x(t.getAttribute("endA"))), t.hasAttribute("endPos") && (e.endPosition = x(t.getAttribute("endPos"))), t.hasAttribute("sx") && (e.scaleX = x(t.getAttribute("sx"))), t.hasAttribute("sy") && (e.scaleY = x(t.getAttribute("sy"))), t.hasAttribute("kx") && (e.skewX = S(t.getAttribute("kx"))), t.hasAttribute("ky") && (e.skewY = S(t.getAttribute("ky"))), t.hasAttribute("algn") && (e.alignment = t.getAttribute("algn")), t.hasAttribute("rotWithShape") && (e.isRotatedWithShape = C(t.getAttribute("rotWithShape"))), e;
287
293
  }
288
294
  default: return;
289
295
  }
@@ -309,12 +315,12 @@ var re = class {
309
315
  let n = { type: o.Type.Gradient };
310
316
  t.hasAttribute("rotWithShape") && (n.isRotatedWithShape = t.getAttribute("rotWithShape") === "1");
311
317
  let r = e.evaluate("lin", t);
312
- r && (n.gradientType = o.GradientType.Linear, r.hasAttribute("ang") && (n.angle = g(r.getAttribute("ang"))), r.hasAttribute("scaled") && (n.scaled = v(r.getAttribute("scaled"))));
318
+ r && (n.gradientType = o.GradientType.Linear, r.hasAttribute("ang") && (n.angle = S(r.getAttribute("ang"))), r.hasAttribute("scaled") && (n.scaled = C(r.getAttribute("scaled"))));
313
319
  let i = {};
314
320
  t.hasAttribute("flip") && (i.mirror = t.getAttribute("flip")), Object.keys(i).length > 0 && (n.tile = i);
315
321
  let a = e.evaluate("path", t);
316
322
  if (a) {
317
- a.hasAttribute("path") && (n.gradientType = se(a.getAttribute("path")));
323
+ a.hasAttribute("path") && (n.gradientType = oe(a.getAttribute("path")));
318
324
  let t = e.evaluate("fillToRect", a);
319
325
  t && (n.focus = this.getRect(t));
320
326
  }
@@ -323,7 +329,7 @@ var re = class {
323
329
  let c = [], l = e.evaluate("gsLst/gs", t), u = l ? l.length : 0;
324
330
  for (let t = 0; t < u; t++) {
325
331
  let n = l.item(t), r = {
326
- offset: b(n.getAttribute("pos") ?? ""),
332
+ offset: x(n.getAttribute("pos") ?? ""),
327
333
  color: this.processAdjColor(e, n)
328
334
  };
329
335
  c.push(r);
@@ -332,11 +338,11 @@ var re = class {
332
338
  }
333
339
  getRect(e) {
334
340
  let t = {};
335
- return e.hasAttribute("t") && (t.t = b(e.getAttribute("t"))), e.hasAttribute("l") && (t.l = b(e.getAttribute("l"))), e.hasAttribute("b") && (t.b = b(e.getAttribute("b"))), e.hasAttribute("r") && (t.r = b(e.getAttribute("r"))), Object.keys(t).length === 0 ? null : t;
341
+ return e.hasAttribute("t") && (t.t = x(e.getAttribute("t"))), e.hasAttribute("l") && (t.l = x(e.getAttribute("l"))), e.hasAttribute("b") && (t.b = x(e.getAttribute("b"))), e.hasAttribute("r") && (t.r = x(e.getAttribute("r"))), Object.keys(t).length === 0 ? null : t;
336
342
  }
337
343
  processImageFill(e, t) {
338
344
  let n = { type: o.Type.Image };
339
- return t.hasAttribute("rotWithShape") && (n.isRotatedWithShape = v(t.getAttribute("rotWithShape"))), t.hasAttribute("dpi") && (n.dpi = t.getAttribute("dpi")), n.ref = "https://www.sheetxl.com/logo-color-padded-white.jpg", n.tile = !1, n;
345
+ return t.hasAttribute("rotWithShape") && (n.isRotatedWithShape = C(t.getAttribute("rotWithShape"))), t.hasAttribute("dpi") && (n.dpi = t.getAttribute("dpi")), n.ref = "https://www.sheetxl.com/logo-color-padded-white.jpg", n.tile = !1, n;
340
346
  }
341
347
  processPatternFill(e, t) {
342
348
  let n = { type: o.Type.Pattern };
@@ -371,7 +377,7 @@ var re = class {
371
377
  return s ? this.processSrgbClrElement(e, s) : null;
372
378
  }
373
379
  processScrgbClrElement(e, t) {
374
- let n = "lrgba(" + b(t.getAttribute("r") ?? "") + "," + b(t.getAttribute("g") ?? "") + "," + b(t.getAttribute("b") ?? "") + ")";
380
+ let n = "lrgba(" + x(t.getAttribute("r") ?? "") + "," + x(t.getAttribute("g") ?? "") + "," + x(t.getAttribute("b") ?? "") + ")";
375
381
  return n += this.processAdjustments(e, t), n;
376
382
  }
377
383
  processSrgbClrElement(e, t) {
@@ -379,7 +385,7 @@ var re = class {
379
385
  return n += this.processAdjustments(e, t), n;
380
386
  }
381
387
  processHslClr(e, t) {
382
- let n = "hsl(" + g(t.getAttribute("hue") ?? "") + "," + b(t.getAttribute("sat") ?? "") + "," + b(t.getAttribute("lum") ?? "") + ")";
388
+ let n = "hsl(" + S(t.getAttribute("hue") ?? "") + "," + x(t.getAttribute("sat") ?? "") + "," + x(t.getAttribute("lum") ?? "") + ")";
383
389
  return n += this.processAdjustments(e, t), n;
384
390
  }
385
391
  processClrWithValAttribute(e, t) {
@@ -403,43 +409,43 @@ var re = class {
403
409
  let i = t.getAttribute("val");
404
410
  return i ? ` ${n} ${!i || parseFloat(i) / r}` : ` ${n}`;
405
411
  }
406
- }, se = (e) => e === "circle" ? "radial" : e, ce = (e) => {
412
+ }, oe = (e) => e === "circle" ? "radial" : e, se = (e) => {
407
413
  if (e === "rnd") return "round";
408
414
  if (e === "flat") return "butt";
409
415
  if (e === "sq") return "square";
410
416
  throw Error("Invalid lineCap type: " + e);
411
- }, P = class extends N {
417
+ }, I = class extends F {
412
418
  visit(e, t, n) {
413
419
  try {
414
420
  let r = e.evaluate("xfrm", t);
415
421
  if (r) {
416
- w(r, n);
422
+ E(r, n);
417
423
  let t = {
418
424
  x: 0,
419
425
  y: 0,
420
426
  width: 0,
421
427
  height: 0
422
428
  }, i = e.evaluate("off", r);
423
- i && (t.x = _(i.getAttribute("x")) ?? 0, t.y = _(i.getAttribute("y")) ?? 0);
429
+ i && (t.x = y(i.getAttribute("x")) ?? 0, t.y = y(i.getAttribute("y")) ?? 0);
424
430
  let a = e.evaluate("ext", r);
425
- i && (t.width = _(a.getAttribute("cx")) ?? 0, t.height = _(a.getAttribute("cy")) ?? 0), n.bounds = t;
431
+ i && (t.width = y(a.getAttribute("cx")) ?? 0, t.height = y(a.getAttribute("cy")) ?? 0), n.bounds = t;
426
432
  }
427
433
  let i = e.evaluate("prstGeom", t);
428
- i?.hasAttribute("prst") ? n.geometry = i?.getAttribute("prst") : e.evaluate("customGeom", t) && console.warn("customGeom not supported yet");
434
+ i?.hasAttribute("prst") ? n.geometry = i?.getAttribute("prst") : e.evaluate("customGeom", t) && e.warn("Custom shape geometry is not supported; the shape keeps its bounds only.", { onceKey: "xlsx.shape.customGeometry" });
429
435
  let a = this.getFill(e, t);
430
436
  a && Object.keys(a).length > 0 && (n.fill = a);
431
437
  let o = this.getStroke(e, t);
432
438
  return o && Object.keys(o).length > 0 && (n.stroke = o), n;
433
- } catch (e) {
434
- console.warn(e);
439
+ } catch (t) {
440
+ e.warn(`Unable to read shape properties: ${t?.message ?? t}`, { onceKey: "xlsx.shape.unreadable" });
435
441
  }
436
442
  }
437
- }, F = class {
443
+ }, L = class {
438
444
  visit(e, t, n) {
439
445
  let r = {};
440
- if (T(e, t, r, "grouping", "grouping"), E(e, t, r, "varyColors", "varyColors"), O(e, t, r, "gapWidth", "gapWidth", .01), O(e, t, r, "overlap", "overlap", .01), this.parseType(e, t, r), D(e, t, r, "bubbleScale", "bubbleScale"), E(e, t, r, "showNegBubbles", "showNegativeBubbleValues"), E(e, t, r, "sizeRepresents", "bubbleSizeRepresentsWidth"), D(e, t, r, "firstSliceAng", "startAngle"), D(e, t, r, "holeSize", "holeSize"), T(e, t, r, "scatterStyle", "scatterStyle"), this.parseAxisIds(e, t, r), Object.keys(r).length > 0) {
446
+ if (D(e, t, r, "grouping", "grouping"), O(e, t, r, "varyColors", "varyColors"), A(e, t, r, "gapWidth", "gapWidth", .01), A(e, t, r, "overlap", "overlap", .01), this.parseType(e, t, r), k(e, t, r, "bubbleScale", "bubbleScale"), O(e, t, r, "showNegBubbles", "showNegativeBubbleValues"), O(e, t, r, "sizeRepresents", "bubbleSizeRepresentsWidth"), k(e, t, r, "firstSliceAng", "startAngle"), k(e, t, r, "holeSize", "holeSize"), D(e, t, r, "scatterStyle", "scatterStyle"), this.parseAxisIds(e, t, r), Object.keys(r).length > 0) {
441
447
  let t = e.getVisitorParamsState().get("types");
442
- t || (console.warn("Uninitialized types array in ChartTypeVisitor"), t = [], e.getVisitorParamsState().set("types", t)), t.push(r);
448
+ t || (e.warn("A chart type was read outside a chart; its types were started fresh.", { onceKey: "xlsx.chart.typesState" }), t = [], e.getVisitorParamsState().set("types", t)), t.push(r);
443
449
  }
444
450
  return r;
445
451
  }
@@ -466,7 +472,7 @@ var re = class {
466
472
  let r = e.evaluate("axId", t);
467
473
  r && r.length !== 0 && (n.xAxisId = r.item(0).getAttribute("val"), n.yAxisId = r.item(1).getAttribute("val"));
468
474
  }
469
- }, I = (e, t, n) => {
475
+ }, R = (e, t, n) => {
470
476
  if (!0 === e.getValAttrAsBoolean("invertIfNegative", t)) if (e.evaluate("extLst/ext/invertSolidFillFmt", t)) {
471
477
  if (n.fill && n.fillNegative) {
472
478
  let t = e.getFromPath(n, "fill.solid.adjs");
@@ -480,7 +486,7 @@ var re = class {
480
486
  let a = {};
481
487
  a.fill = i, n.strokeNegative = a;
482
488
  }
483
- }, L = class extends N {
489
+ }, z = class extends F {
484
490
  constructor(e = "text") {
485
491
  super(), this._jsonKey = e;
486
492
  }
@@ -492,38 +498,38 @@ var re = class {
492
498
  return r ||= {}, this.parseTextElement(e, t, r, !1), Object.keys(r).length > 0 && e.setToPath(n, this.getTextPath(), r), n;
493
499
  }
494
500
  parseTextElement(e, t, n, r) {
495
- let i = e.evaluate("p/pPr/defRPr", t) ?? e.evaluate("defRPr", t);
496
- i && (this.parseTextProperties(e, i, n), new P().visit(e, i, n));
497
- let a = n.runs ?? [], o = e.evaluate("p/r", t) ?? e.evaluate("r", t), s = (t) => {
501
+ let i = e.evaluate("p/pPr/defRPr", t) ?? e.evaluate("defRPr", t), a = i?.length === void 0 ? i : i.item(0);
502
+ a && (this.parseTextProperties(e, a, n), new I().visit(e, a, n));
503
+ let o = n.runs ?? [], s = e.evaluate("p/r", t) ?? e.evaluate("r", t), c = (t) => {
498
504
  let n = {}, r = e.evaluate("t", t), i = e.evaluate("rPr", t);
499
- i && this.parseTextProperties(e, i, n), r && r.firstChild ? n.text = r.firstChild.textContent ?? "" : t.textContent && (n.text = t.textContent ?? ""), Object.keys(n).length > 0 && a.push(n);
505
+ i && this.parseTextProperties(e, i, n), r && r.firstChild ? n.text = r.firstChild.textContent ?? "" : t.textContent && (n.text = t.textContent ?? ""), Object.keys(n).length > 0 && o.push(n);
500
506
  };
501
- if (o?.length !== void 0) for (let e = 0; o && e < o.length; e++) s(o.item(e));
502
- else s(o || t);
503
- a.length > 0 && (n.runs = a);
504
- let c = e.evaluate("bodyPr", t);
505
- c && w(c, n);
507
+ if (s?.length !== void 0) for (let e = 0; s && e < s.length; e++) c(s.item(e));
508
+ else c(s || t);
509
+ o.length > 0 && (n.runs = o);
510
+ let l = e.evaluate("bodyPr", t);
511
+ l && E(l, n);
506
512
  }
507
513
  parseTextProperties(e, t, n) {
508
514
  if (!t) return;
509
515
  t.hasAttribute("sz") && (n.size = parseFloat(t.getAttribute("sz")) / 100), t.hasAttribute("b") && (n.weight = t.getAttribute("b") === "1" ? 700 : 400), t.hasAttribute("i") && (n.italic = t.getAttribute("i") === "1"), t.hasAttribute("u") && (n.underline = t.getAttribute("u")), t.hasAttribute("strike") && (n.strike = t.getAttribute("strike"));
510
516
  let r = this.getFill(e, t);
511
517
  r && Object.keys(r).length > 0 && (n.color = r);
512
- let a = e.evaluate("latin", t);
513
- if (a && !a.getAttribute("typeface").startsWith("+")) {
518
+ let i = e.evaluate("latin", t);
519
+ if (i && !i.getAttribute("typeface").startsWith("+")) {
514
520
  let e = n.font ?? {};
515
- if (a.hasAttribute("typeface") && (e.family = a.getAttribute("typeface")), a.hasAttribute("panose")) {
516
- let t = a.getAttribute("panose");
517
- t && (e.fallbacks = [i.getPanoseFallback(t)]);
521
+ if (i.hasAttribute("typeface") && (e.family = i.getAttribute("typeface")), i.hasAttribute("panose")) {
522
+ let t = i.getAttribute("panose");
523
+ t && (e.fallbacks = [c.getPanoseFallback(t)]);
518
524
  }
519
- a.hasAttribute("pitchFamily") && (e.pitch = a.getAttribute("pitchFamily")), a.hasAttribute("charset") && (e.charset = a.getAttribute("charset")), Object.keys(e).length > 0 && (n.font = e);
525
+ i.hasAttribute("pitchFamily") && (e.pitch = i.getAttribute("pitchFamily")), i.hasAttribute("charset") && (e.charset = i.getAttribute("charset")), Object.keys(e).length > 0 && (n.font = e);
520
526
  }
521
527
  }
522
- }, R = class {
528
+ }, B = class {
523
529
  visit(e, t, n) {}
524
530
  processDataBarColor(e, t, n, r, i = "auto") {
525
531
  if (!t) return;
526
- let a = ee((e) => t.getAttribute(e), i);
532
+ let a = b((e) => t.getAttribute(e), i);
527
533
  return a && (n[r] = a), n;
528
534
  }
529
535
  processFonts(e, t, n) {
@@ -539,14 +545,14 @@ var re = class {
539
545
  return n;
540
546
  }
541
547
  processFont(e, t, n) {
542
- e.getValAttrAsBoolean("b", t, !0) && (n.weight = 700), e.getValAttrAsBoolean("i", t, !0) && (n.style = i.Style.Italic), e.getValAttrAsBoolean("strike", t, !0) && (n.strike = !0);
548
+ e.getValAttrAsBoolean("b", t, !0) && (n.weight = 700), e.getValAttrAsBoolean("i", t, !0) && (n.style = c.Style.Italic), e.getValAttrAsBoolean("strike", t, !0) && (n.strike = !0);
543
549
  let r = e.evaluate("u", t);
544
- r && (n.underline = r.getAttribute("val") || i.UnderlineStyle.Single), T(e, t, n, "vertAlign", "verticalAlign"), n.verticalAlign === "superscript" ? n.verticalAlign = i.VerticalAlignment.Super : n.verticalAlign === "subscript" && (n.verticalAlign = i.VerticalAlignment.Sub), O(e, t, n, "sz", "size");
545
- let a = e.evaluate("color", t);
546
- this.processDataBarColor(e, a, n, "color"), n.color ||= "auto", T(e, t, n, "name", "family"), T(e, t, n, "rFont", "family");
547
- let o = e.evaluate("family", t);
548
- if (o) {
549
- let e = o.getAttribute("val");
550
+ r && (n.underline = r.getAttribute("val") || c.UnderlineStyle.Single), D(e, t, n, "vertAlign", "verticalAlign"), n.verticalAlign === "superscript" ? n.verticalAlign = c.VerticalAlignment.Super : n.verticalAlign === "subscript" && (n.verticalAlign = c.VerticalAlignment.Sub), A(e, t, n, "sz", "size");
551
+ let i = e.evaluate("color", t);
552
+ this.processDataBarColor(e, i, n, "color"), n.color ||= "auto", D(e, t, n, "name", "family"), D(e, t, n, "rFont", "family");
553
+ let a = e.evaluate("family", t);
554
+ if (a) {
555
+ let e = a.getAttribute("val");
550
556
  if (e) switch (e) {
551
557
  case "1":
552
558
  n.fallbacks = ["serif"];
@@ -563,7 +569,7 @@ var re = class {
563
569
  case "5": n.fallbacks = ["fantasy"];
564
570
  }
565
571
  }
566
- return T(e, t, n, "scheme", "scheme"), E(e, t, n, "shadow", "shadow", !0), E(e, t, n, "outline", "outline", !0), e.getValAttrAsBoolean("condense", t, !0) && (n.letterSpacing = -1), e.getValAttrAsBoolean("extend", t, !0) && (n.letterSpacing = 1), D(e, t, n, "charset", "charset"), n;
572
+ return D(e, t, n, "scheme", "scheme"), n.family !== void 0 && n.scheme === void 0 && (n.scheme = c.Scheme.None), O(e, t, n, "shadow", "shadow", !0), O(e, t, n, "outline", "outline", !0), e.getValAttrAsBoolean("condense", t, !0) && (n.letterSpacing = -1), e.getValAttrAsBoolean("extend", t, !0) && (n.letterSpacing = 1), k(e, t, n, "charset", "charset"), n;
567
573
  }
568
574
  processFills(e, t, n) {
569
575
  if (!t) return;
@@ -591,10 +597,10 @@ var re = class {
591
597
  i && (n.gradientType = i);
592
598
  let a = t.hasAttribute("degree") ? parseFloat(t.getAttribute("degree")) : 0;
593
599
  (a + 90) % 360 != 0 && (n.angle = (a + 90) % 360), (t.hasAttribute("left") || t.hasAttribute("top") || t.hasAttribute("right") || t.hasAttribute("bottom")) && (n.focus = {
594
- left: z(t.getAttribute("left")),
595
- top: z(t.getAttribute("top")),
596
- right: z(t.getAttribute("right")),
597
- bottom: z(t.getAttribute("bottom"))
600
+ left: V(t.getAttribute("left")),
601
+ top: V(t.getAttribute("top")),
602
+ right: V(t.getAttribute("right")),
603
+ bottom: V(t.getAttribute("bottom"))
598
604
  });
599
605
  let s = t.childNodes, c = s.length;
600
606
  for (let t = 0; t < c; t++) {
@@ -632,38 +638,41 @@ var re = class {
632
638
  }
633
639
  return n;
634
640
  }
635
- processBorder(e, t, n, r, i) {
641
+ processBorder(e, t, n, r, a) {
636
642
  if (!t) return;
637
- let a = {};
638
- return this.processBorderStroke(e, t, a, c.Edge.Left), this.processBorderStroke(e, t, a, c.Edge.Right), i ? (a.right || a.left) && (a.right ? a.vertical = { ...a.right } : a.vertical = { ...a.left }) : this.processBorderStroke(e, t, a, c.Edge.Vertical), this.processBorderStroke(e, t, a, c.Edge.Top), this.processBorderStroke(e, t, a, c.Edge.Bottom), i ? (a.bottom || a.top) && (a.bottom ? a.horizontal = { ...a.bottom } : a.horizontal = { ...a.top }) : this.processBorderStroke(e, t, a, c.Edge.Horizontal), n[r] = a, n;
643
+ let o = {};
644
+ return this.processBorderStroke(e, t, o, i.Edge.Left), this.processBorderStroke(e, t, o, i.Edge.Right), a ? (o.right || o.left) && (o.right ? o.vertical = { ...o.right } : o.vertical = { ...o.left }) : this.processBorderStroke(e, t, o, i.Edge.Vertical), this.processBorderStroke(e, t, o, i.Edge.Top), this.processBorderStroke(e, t, o, i.Edge.Bottom), a ? (o.bottom || o.top) && (o.bottom ? o.horizontal = { ...o.bottom } : o.horizontal = { ...o.top }) : this.processBorderStroke(e, t, o, i.Edge.Horizontal), n[r] = o, n;
639
645
  }
640
646
  processBorderStroke(e, t, n, r) {
641
647
  if (!t) return;
642
- let i = e.evaluate(r, t);
643
- if (!i) return;
644
- let a = {};
645
- i.hasAttribute("style") ? a.style = i.getAttribute("style") : e.getVisitorParamsState().get("processingDXFs") && (a.style = c.StrokeStyle.None);
646
- let o = e.evaluate("color", i);
647
- return o && this.processDataBarColor(e, o, a, "color"), Object.keys(a).length > 0 ? n[r] = a : null;
648
+ let a = e.evaluate(r, t);
649
+ if (!a) return;
650
+ let o = {};
651
+ a.hasAttribute("style") ? o.style = a.getAttribute("style") : e.getVisitorParamsState().get("processingDXFs") && (o.style = i.StrokeStyle.None);
652
+ let s = e.evaluate("color", a);
653
+ return s && this.processDataBarColor(e, s, o, "color"), Object.keys(o).length > 0 ? n[r] = o : null;
648
654
  }
649
- }, z = (e) => {
655
+ }, V = (e) => {
650
656
  if (!e) return 0;
651
657
  let t = parseFloat(e);
652
658
  return isNaN(t) ? 0 : t;
653
- }, B = {
659
+ }, ce = {
654
660
  auto: "auto",
655
661
  autoNoTable: "automaticExceptTables",
656
662
  manual: "manual"
657
- }, V = class {
663
+ }, H = class {
658
664
  visit(e, t, n) {
659
665
  if (!t) return;
660
666
  let r = e.evaluate("*/cNvPr", t);
661
667
  return r.item && (r = r.item(0)), r && (e.copyFromAttribute(r, "name", n), e.copyFromAttribute(r, "descr", n, "description"), e.copyFromAttribute(r, "hidden", n, "hidden", e.BOOLEAN_COPY), e.copyFromAttribute(r, "id", n)), n;
662
668
  }
663
- }, H = class extends V {
669
+ }, U = class extends H {
664
670
  visit(e, t, n) {
665
671
  if (!t) return;
666
- if (e.getPath().includes("Fallback") && n.content) return n;
672
+ if (e.getPath().includes("Fallback") && n.content) {
673
+ let r = n.content.json;
674
+ return n.content.type === "sp" && r?.xml && r.fallbackXml === void 0 && (r.fallbackXml = e.serializeElement(t) ?? void 0), n;
675
+ }
667
676
  n = super.visit(e, t, n);
668
677
  let r = e.evaluate("nvSpPr/cNvSpPr", t);
669
678
  if (r) {
@@ -674,7 +683,6 @@ var re = class {
674
683
  Object.keys(e).length > 0 && (n.locks = e);
675
684
  }
676
685
  }
677
- e.warn(`'${n.name}' is not editable; imported as a fixed drawing.`);
678
686
  let i = e.evaluate("*/cNvPr", t);
679
687
  i?.item && (i = i.item(0));
680
688
  let a = i?.getAttribute?.("id"), o = a ? parseInt(a, 10) : void 0, s = {
@@ -687,7 +695,37 @@ var re = class {
687
695
  json: s
688
696
  }, s;
689
697
  }
690
- }, U = "richTypes", W = "richData", G = class {
698
+ }, W = "richTypes", G = "richData";
699
+ function le(e, t) {
700
+ let n = e.childNodes;
701
+ for (let e = 0; e < n.length; e++) {
702
+ let r = n.item(e);
703
+ if (r.nodeType === 1) switch (r.localName) {
704
+ case "b":
705
+ t.bold = r.getAttribute("val") !== "0" && r.getAttribute("val") !== "false";
706
+ break;
707
+ case "i":
708
+ t.italic = r.getAttribute("val") !== "0" && r.getAttribute("val") !== "false";
709
+ break;
710
+ case "sz": {
711
+ let e = parseFloat(r.getAttribute("val") ?? "");
712
+ isNaN(e) || (t.size = e);
713
+ break;
714
+ }
715
+ case "rFont": {
716
+ let e = r.getAttribute("val");
717
+ e && (t.font = e);
718
+ break;
719
+ }
720
+ case "color": {
721
+ let e = r.getAttribute("rgb");
722
+ e && (t.color = "#" + (e.length === 8 ? e.substring(2) : e));
723
+ break;
724
+ }
725
+ }
726
+ }
727
+ }
728
+ var ue = class {
691
729
  visit(e, t, n) {
692
730
  if (!t) return;
693
731
  let r = t.childNodes, i = r.length;
@@ -701,7 +739,7 @@ var re = class {
701
739
  let r = {};
702
740
  e.copyFromAttribute(t, "Target", r, "target"), e.copyFromAttribute(t, "Type", r, "type"), e.copyFromAttribute(t, "TargetMode", r, "targetMode"), n[t.getAttribute("Id")] = r;
703
741
  }
704
- }, le = class {
742
+ }, de = class {
705
743
  visit(e, t, n) {
706
744
  let r = [], i = t.childNodes, a = i.length;
707
745
  for (let t = 0; t < a; t++) {
@@ -718,7 +756,7 @@ var re = class {
718
756
  value: t.textContent || ""
719
757
  };
720
758
  }
721
- }, ue = class {
759
+ }, fe = class {
722
760
  visit(e, t, n) {
723
761
  let r = [], i = t.childNodes, a = i.length;
724
762
  for (let t = 0; t < a; t++) {
@@ -735,9 +773,9 @@ var re = class {
735
773
  value: t.textContent || ""
736
774
  };
737
775
  }
738
- }, de = class {
776
+ }, pe = class {
739
777
  visit(e, t, n) {
740
- return E(e, t, n, "roundedCorners", "roundedCorners"), D(e, t, n, ".//AlternateContent/Fallback/style", "styleId"), e.getVisitorParamsState().set("types", []), e.getVisitorParamsState().set("axes", /* @__PURE__ */ new Map()), n.range = null, n;
778
+ return O(e, t, n, "roundedCorners", "roundedCorners"), k(e, t, n, ".//AlternateContent/Fallback/style", "styleId"), e.getVisitorParamsState().set("types", []), e.getVisitorParamsState().set("axes", /* @__PURE__ */ new Map()), n.range = null, n;
741
779
  }
742
780
  afterVisit(e, t, n) {
743
781
  let r = {};
@@ -764,17 +802,17 @@ var re = class {
764
802
  for (let e = 0; e < p; e++) f[e + ""] = d[e];
765
803
  f.length = p, e.getVisitorParamsState().delete("types"), e.getVisitorParamsState().delete("axes"), e.getVisitorParamsState().delete("series");
766
804
  }
767
- }, fe = class {
805
+ }, me = class {
768
806
  visit(e, t, n) {
769
807
  let r = {};
770
808
  return n.plotArea = r, r;
771
809
  }
772
- }, pe = P, me = class extends F {
810
+ }, he = I, ge = class extends L {
773
811
  parseType(e, t, n) {
774
812
  let r = e.getValAttrAsString("barDir", t);
775
813
  r && (n.type = r === "col" ? "column" : "bar");
776
814
  }
777
- }, K = F, q = class {
815
+ }, K = L, q = class {
778
816
  constructor(e) {
779
817
  this.jsonKey = e;
780
818
  }
@@ -782,18 +820,18 @@ var re = class {
782
820
  let r = {}, i = r, a = e.getValAttrAsString("idx", t);
783
821
  a !== null && (i = {}, i[a] = r);
784
822
  let o = e.getValAttrAsBoolean("delete", t);
785
- this.parseNumFormat(e, t, r), !0 === o ? (r.showBubbleSize = !1, r.showCatName = !1, r.showLeaderLines = !1, r.showPercentage = !1, r.showSerName = !1, r.showVal = !1, r.showLegendKey = !1) : (E(e, t, r, "showBubbleSize", "showBubbleSize"), E(e, t, r, "showCatName", "showCatName"), E(e, t, r, "showLeaderLines", "showLeaderLines"), E(e, t, r, "showPercent", "showPercentage"), E(e, t, r, "showSerName", "showSerName"), E(e, t, r, "showVal", "showVal"), E(e, t, r, "showLegendKey", "showLegendKey"));
823
+ this.parseNumFormat(e, t, r), !0 === o ? (r.showBubbleSize = !1, r.showCatName = !1, r.showLeaderLines = !1, r.showPercentage = !1, r.showSerName = !1, r.showVal = !1, r.showLegendKey = !1) : (O(e, t, r, "showBubbleSize", "showBubbleSize"), O(e, t, r, "showCatName", "showCatName"), O(e, t, r, "showLeaderLines", "showLeaderLines"), O(e, t, r, "showPercent", "showPercentage"), O(e, t, r, "showSerName", "showSerName"), O(e, t, r, "showVal", "showVal"), O(e, t, r, "showLegendKey", "showLegendKey"));
786
824
  let s = e.evaluate("separator", t);
787
- return s !== null && (r.separator = s.textContent), T(e, t, r, "dLblPos", "position"), n[this.jsonKey] = i, r;
825
+ return s !== null && (r.separator = s.textContent), D(e, t, r, "dLblPos", "position"), n[this.jsonKey] = i, r;
788
826
  }
789
827
  parseNumFormat(e, t, n) {
790
828
  let r = e.evaluate("numFmt", t);
791
829
  r && (n.formatCode = r.getAttribute("formatCode"), r.hasAttribute("sourceLinked") && (n.sourceLinked = r.getAttribute("sourceLinked") === "1"));
792
830
  }
793
- }, he = class {
831
+ }, _e = class {
794
832
  visit(e, t, n) {
795
833
  let r = {};
796
- D(e, t, r, "explosion", "explosion");
834
+ k(e, t, r, "explosion", "explosion");
797
835
  let i = e.evaluate("cat/*/f", t);
798
836
  i ||= e.evaluate("xVal/*/f", t);
799
837
  let a = null;
@@ -801,7 +839,7 @@ var re = class {
801
839
  let o = e.evaluate("val/*/f", t);
802
840
  o ||= e.evaluate("yVal/*/f", t);
803
841
  let s = null;
804
- o && o.firstChild && (s = o.firstChild.nodeValue), o || (o = e.evaluate("val/numLit", t), o !== null && (s = this.parsePointsAsString(e, o))), s !== null && (r.valRange = s), this.parseTitleRangeOrValue(e, t, r), D(e, t, r, "idx", "idx"), E(e, t, r, "smooth", "smooth"), r.offsetChart = e.getVisitorParamsState().get("types").length - 1;
842
+ o && o.firstChild && (s = o.firstChild.nodeValue), o || (o = e.evaluate("val/numLit", t), o !== null && (s = this.parsePointsAsString(e, o))), s !== null && (r.valRange = s), this.parseTitleRangeOrValue(e, t, r), k(e, t, r, "idx", "idx"), O(e, t, r, "smooth", "smooth"), r.offsetChart = e.getVisitorParamsState().get("types").length - 1;
805
843
  let c = e.getVisitorParamsState().get("series");
806
844
  return c || (c = [], e.getVisitorParamsState().set("series", c)), c.push(r), r;
807
845
  }
@@ -825,7 +863,7 @@ var re = class {
825
863
  return n += "}", n;
826
864
  }
827
865
  afterVisit(e, t, n) {
828
- I(e, t, n);
866
+ R(e, t, n);
829
867
  let r = e.getFromPath(n, "points");
830
868
  if (r) {
831
869
  let t = Object.keys(r);
@@ -837,15 +875,15 @@ var re = class {
837
875
  }
838
876
  }
839
877
  }
840
- }, ge = class {
878
+ }, ve = class {
841
879
  DataPointVisitor() {}
842
880
  visit(e, t, n) {
843
881
  let r = e.getFromPath(n, "points"), i = null;
844
882
  r ? i = r : (i = {}, e.setToPath(n, "points", i));
845
883
  let a = {}, o = e.getValAttrAsString("idx", t);
846
- return o !== null && (i[o] = a), E(e, t, a, "bubble3D", "bubble3D"), D(e, t, a, "explosion", "explosion"), I(e, t, a), a;
884
+ return o !== null && (i[o] = a), O(e, t, a, "bubble3D", "bubble3D"), k(e, t, a, "explosion", "explosion"), R(e, t, a), a;
847
885
  }
848
- }, _e = class {
886
+ }, ye = class {
849
887
  visit(e, t, n) {
850
888
  let r = t.parentNode.localName;
851
889
  if (r === "ser" || r === "dPt") {
@@ -859,9 +897,9 @@ var re = class {
859
897
  }, J = class {
860
898
  visit(e, t, n) {
861
899
  let r = {};
862
- this.parseScaling(e, t, r), O(e, t, r, "majorUnit", "majorUnits"), O(e, t, r, "minorUnit", "minorUnits"), E(e, t, r, "delete", "shown"), this.parseOrientation(e, t, r), this.parseNumFormat(e, t, r), T(e, t, r, "majorTickMark", "majorTickMarks"), T(e, t, r, "minorTickMark", "minorTickMarks"), T(e, t, r, "crosses", "crosses"), O(e, t, r, "crossesAt", "crosses"), T(e, t, r, "crossBetween", "crossBetween"), this.parseLabelAlign(e, t, r), D(e, t, r, "lblOffset", "labelOffset"), T(e, t, r, "tickLblPos", "labelPosition");
900
+ this.parseScaling(e, t, r), A(e, t, r, "majorUnit", "majorUnits"), A(e, t, r, "minorUnit", "minorUnits"), O(e, t, r, "delete", "shown"), this.parseOrientation(e, t, r), this.parseNumFormat(e, t, r), D(e, t, r, "majorTickMark", "majorTickMarks"), D(e, t, r, "minorTickMark", "minorTickMarks"), D(e, t, r, "crosses", "crosses"), A(e, t, r, "crossesAt", "crosses"), D(e, t, r, "crossBetween", "crossBetween"), this.parseLabelAlign(e, t, r), k(e, t, r, "lblOffset", "labelOffset"), D(e, t, r, "tickLblPos", "labelPosition");
863
901
  let i = e.getValAttrAsInteger("noMultiLvlLbl", t);
864
- r.labelMultiLevel = i !== null && i === 0, D(e, t, r, "tickMarkSkip", "tickMarkSkip"), D(e, t, r, "tickLblSkip", "labelInterval"), this.parseDisplayCustOrBuiltInUnit(t, e, r), this.parseTimeUnits(e, t, r, "majorUnitDates", "majorTimeUnit", "majorUnit"), this.parseTimeUnits(e, t, r, "minorUnitDates", "minorTimeUnit", "minorUnit"), T(e, t, r, "baseTimeUnit", "baseUnitDates"), e.getVisitorParamsState().get("axes") || (console.warn("Uninitialized axes map in AxisVisitor"), e.getVisitorParamsState().set("axes", /* @__PURE__ */ new Map()));
902
+ r.labelMultiLevel = i !== null && i === 0, k(e, t, r, "tickMarkSkip", "tickMarkSkip"), k(e, t, r, "tickLblSkip", "labelInterval"), this.parseDisplayCustOrBuiltInUnit(t, e, r), this.parseTimeUnits(e, t, r, "majorUnitDates", "majorTimeUnit", "majorUnit"), this.parseTimeUnits(e, t, r, "minorUnitDates", "minorTimeUnit", "minorUnit"), D(e, t, r, "baseTimeUnit", "baseUnitDates"), e.getVisitorParamsState().get("axes") || (e.warn("An axis was read outside a chart; its axes were started fresh.", { onceKey: "xlsx.chart.axesState" }), e.getVisitorParamsState().set("axes", /* @__PURE__ */ new Map()));
865
903
  let a = e.getValAttrAsString("axId", t);
866
904
  return e.getVisitorParamsState().get("axes").set(a, r), r;
867
905
  }
@@ -889,7 +927,7 @@ var re = class {
889
927
  let r = e.getValAttrAsString("scaling/orientation", t);
890
928
  r !== null && (n.inverted = r !== "minMax");
891
929
  let i = e.getValAttrAsFloat("scaling/logBase", t);
892
- i !== null && (n.logBase = i, n.scaleType = "log"), O(e, t, n, "scaling/max", "max"), O(e, t, n, "scaling/min", "min");
930
+ i !== null && (n.logBase = i, n.scaleType = "log"), A(e, t, n, "scaling/max", "max"), A(e, t, n, "scaling/min", "min");
893
931
  }
894
932
  afterVisit(e, t, n) {
895
933
  n.fill && n.labels && (n.labels.fill = n.fill, delete n.fill);
@@ -904,7 +942,7 @@ var re = class {
904
942
  let s = e.evaluate("majorGridlines", t);
905
943
  e.setToPath(n, "gridLinesMajor.shown", s !== null);
906
944
  }
907
- }, Y = L, ve = class {
945
+ }, Y = z, be = class {
908
946
  visit(e, t, n) {
909
947
  let r = e.getVisitorParamsState().get("series"), i = e.getValAttrAsInteger("idx", t), a = i === null ? void 0 : r[i];
910
948
  if (a) {
@@ -915,19 +953,19 @@ var re = class {
915
953
  }
916
954
  return n;
917
955
  }
918
- }, ye = class {
956
+ }, xe = class {
919
957
  visit(e, t, n) {
920
958
  let r = {};
921
- return E(e, t, r, "overlay", "overlay"), T(e, t, r, "legendPos", "position"), n.legend = r, r;
959
+ return O(e, t, r, "overlay", "overlay"), D(e, t, r, "legendPos", "position"), n.legend = r, r;
922
960
  }
923
- }, be = class extends P {
961
+ }, Se = class extends I {
924
962
  visit(e, t, n) {
925
963
  let r = this.getFill(e, t);
926
964
  Object.keys(r).length > 0 && (n.fillNegative = r);
927
965
  let i = this.getStroke(e, t);
928
966
  return Object.keys(i).length > 0 && (n.strokeNegative = i), n;
929
967
  }
930
- }, X = class extends L {
968
+ }, X = class extends z {
931
969
  constructor(e = "title") {
932
970
  super(e);
933
971
  }
@@ -940,7 +978,7 @@ var re = class {
940
978
  }
941
979
  visit(e, t, n) {
942
980
  let r = {};
943
- E(e, t, r, "overlay", "overlay"), n[this._jsonKey] = r;
981
+ O(e, t, r, "overlay", "overlay"), n[this._jsonKey] = r;
944
982
  let i = e.getFromPath(r, this.getTextPath());
945
983
  i ||= {}, this.parseTitleRangeOrValue(e, t, r);
946
984
  let a = e.evaluate("txPr", t);
@@ -954,20 +992,20 @@ var re = class {
954
992
  e !== null && (n.rotation = parseInt(e), delete n.title.rotation);
955
993
  }
956
994
  }
957
- }, xe = class {
995
+ }, Ce = class {
958
996
  visit(e, t, n) {
959
997
  let r = e.evaluate("manualLayout", t);
960
998
  if (r) {
961
999
  let t = {};
962
- O(e, r, t, "x", "x"), O(e, r, t, "y", "y"), O(e, r, t, "w", "w"), O(e, r, t, "h", "h"), T(e, r, t, "xMode", "xMode"), T(e, r, t, "yMode", "yMode"), T(e, r, t, "wMode", "wMode"), T(e, r, t, "hMode", "hMode"), Object.keys(t).length > 0 && (n.manualLayout = t);
1000
+ A(e, r, t, "x", "x"), A(e, r, t, "y", "y"), A(e, r, t, "w", "w"), A(e, r, t, "h", "h"), D(e, r, t, "xMode", "xMode"), D(e, r, t, "yMode", "yMode"), D(e, r, t, "wMode", "wMode"), D(e, r, t, "hMode", "hMode"), Object.keys(t).length > 0 && (n.manualLayout = t);
963
1001
  }
964
1002
  return n;
965
1003
  }
966
- }, Se = class {
1004
+ }, we = class {
967
1005
  visit(e, t, n) {
968
1006
  return n.name = t.getAttribute("name"), n;
969
1007
  }
970
- }, Ce = class extends N {
1008
+ }, Te = class extends F {
971
1009
  visit(e, t, n) {
972
1010
  let r = {};
973
1011
  r.name = t.getAttribute("name");
@@ -981,7 +1019,7 @@ var re = class {
981
1019
  }
982
1020
  return Object.keys(r).length > 0 && (n.colors = r), r;
983
1021
  }
984
- }, we = class {
1022
+ }, Ee = class {
985
1023
  visit(e, t, n) {
986
1024
  let r = {};
987
1025
  r.name = t.getAttribute("name");
@@ -994,12 +1032,12 @@ var re = class {
994
1032
  if (!t) return;
995
1033
  let r = e.evaluate("latin", t);
996
1034
  if (!r) return;
997
- let a = r.getAttribute("typeface");
998
- a && (n.family = a);
999
- let o = r.getAttribute("panose");
1000
- return o && (n.fallbacks = [i.getPanoseFallback(o)]), n;
1035
+ let i = r.getAttribute("typeface");
1036
+ i && (n.family = i);
1037
+ let a = r.getAttribute("panose");
1038
+ return a && (n.fallbacks = [c.getPanoseFallback(a)]), n;
1001
1039
  }
1002
- }, Te = class extends N {
1040
+ }, De = class extends F {
1003
1041
  visit(e, t, n) {
1004
1042
  let r = this.parseFillList(e, t, "fillStyleLst"), i = this.parseLnList(e, t, "lnStyleLst"), a = this.parseEffectStyleList(e, t, "effectStyleLst"), o = this.parseFillList(e, t, "bgFillStyleLst");
1005
1043
  if (r && i && a && o) return n.fillStyleLst = r, n.lnStyleLst = i, n.effectStyleLst = a, void (n.bgFillStyleLst = o);
@@ -1061,7 +1099,7 @@ var re = class {
1061
1099
  }
1062
1100
  return i;
1063
1101
  }
1064
- }, Ee = class {
1102
+ }, Oe = class {
1065
1103
  visit(e, t, n) {
1066
1104
  if (!t) return;
1067
1105
  let r = {}, i = t.getAttribute("r:id");
@@ -1071,46 +1109,46 @@ var re = class {
1071
1109
  }
1072
1110
  return e.copyFromAttribute(t, "tooltip", r, "screenTip"), e.copyFromAttribute(t, "history", r, "history", e.BOOLEAN_COPY), e.copyFromAttribute(t, "tgtFrame", r, "target"), n.hyperlink = r, r;
1073
1111
  }
1074
- }, De = class {
1112
+ }, ke = class {
1075
1113
  visit(e, t, n) {
1076
1114
  if (!t) return;
1077
1115
  let r = {}, i = [];
1078
1116
  return this.processFilterColumns(e, t, i, n), i.length > 0 && (r.conditions = i), Object.keys(r).length > 0 && (n.filter = r), r;
1079
1117
  }
1080
1118
  processColorFilter(e, t) {
1081
- let n = {}, i = {
1082
- operator: r.BuiltInOperatorNames.Color,
1119
+ let n = {}, r = {
1120
+ operator: d.BuiltInOperatorNames.Color,
1083
1121
  param: n
1084
1122
  };
1085
- return e.copyFromAttribute(t, "cellColor", n, "cellColor", e.BOOLEAN_COPY), e.copyFromAttribute(t, "dxfId", n, "styleId", e.INT_COPY), i;
1123
+ return e.copyFromAttribute(t, "cellColor", n, "cellColor", e.BOOLEAN_COPY), e.copyFromAttribute(t, "dxfId", n, "styleId", e.INT_COPY), r;
1086
1124
  }
1087
1125
  processCustomFilter(e, t) {
1088
- return p({
1126
+ return m({
1089
1127
  operator: t.getAttribute("operator"),
1090
1128
  val: t.getAttribute("val")
1091
1129
  });
1092
1130
  }
1093
1131
  processCustomFilters(e, t) {
1094
- let n = t.getAttribute("and"), i = n === "and" || n === "1";
1132
+ let n = t.getAttribute("and"), r = n === "and" || n === "1";
1095
1133
  t.getAttribute("val");
1096
- let a = [], o = {
1097
- operator: i ? r.BuiltInOperatorNames.And : r.BuiltInOperatorNames.Or,
1098
- param: a
1099
- }, s = t.childNodes, c = s.length;
1100
- for (let t = 0; t < c; t++) {
1101
- let n = s.item(t);
1134
+ let i = [], a = {
1135
+ operator: r ? d.BuiltInOperatorNames.And : d.BuiltInOperatorNames.Or,
1136
+ param: i
1137
+ }, o = t.childNodes, s = o.length;
1138
+ for (let t = 0; t < s; t++) {
1139
+ let n = o.item(t);
1102
1140
  if (n.nodeType !== 1) continue;
1103
1141
  let r = null;
1104
- n.localName === "customFilter" && (r = this.processCustomFilter(e, n)), r && a.push(r);
1142
+ n.localName === "customFilter" && (r = this.processCustomFilter(e, n)), r && i.push(r);
1105
1143
  }
1106
- return a.length === 1 ? a[0] : o;
1144
+ return i.length === 1 ? i[0] : a;
1107
1145
  }
1108
1146
  processDynamicFilter(e, t) {
1109
- let n = {}, i = {
1110
- operator: r.BuiltInOperatorNames.TimePeriod,
1147
+ let n = {}, r = {
1148
+ operator: d.BuiltInOperatorNames.TimePeriod,
1111
1149
  param: n
1112
- }, a = t.getAttribute("type");
1113
- return a === "aboveAverage" ? a = r.AverageType.Above : a === "belowAverage" && (a = r.AverageType.Below), Object.values(r.AverageType).includes(a) ? (i.operator = r.BuiltInOperatorNames.Average, e.copyFromAttribute(t, "val", n, "stdDevs", e.INT_COPY)) : e.copyFromAttribute(t, "val", n, "anchorDate", e.INT_COPY), e.copyFromAttribute(t, "type", n, "operator"), e.copyFromAttribute(t, "maxVal", n, "maxVal", e.INT_COPY), i;
1150
+ }, i = t.getAttribute("type");
1151
+ return i === "aboveAverage" ? i = d.AverageType.Above : i === "belowAverage" && (i = d.AverageType.Below), Object.values(d.AverageType).includes(i) ? (r.operator = d.BuiltInOperatorNames.Average, e.copyFromAttribute(t, "val", n, "stdDevs", e.INT_COPY)) : e.copyFromAttribute(t, "val", n, "anchorDate", e.INT_COPY), e.copyFromAttribute(t, "type", n, "operator"), e.copyFromAttribute(t, "maxVal", n, "maxVal", e.INT_COPY), r;
1114
1152
  }
1115
1153
  processDateGroupItem(e, t) {
1116
1154
  let n = {};
@@ -1120,39 +1158,39 @@ var re = class {
1120
1158
  if (t.hasAttribute("val")) return t.getAttribute("val");
1121
1159
  }
1122
1160
  processFilters(e, t) {
1123
- let n = {}, i = {
1124
- operator: r.BuiltInOperatorNames.InSet,
1161
+ let n = {}, r = {
1162
+ operator: d.BuiltInOperatorNames.InSet,
1125
1163
  param: n
1126
1164
  };
1127
- e.copyFromAttribute(t, "blank", i, "blank", e.BOOLEAN_COPY), e.copyFromAttribute(t, "calendarType", i, "calendarType");
1128
- let a = [], o = [], s = t.childNodes, c = s.length;
1129
- for (let t = 0; t < c; t++) {
1130
- let n = s.item(t);
1165
+ e.copyFromAttribute(t, "blank", r, "blank", e.BOOLEAN_COPY), e.copyFromAttribute(t, "calendarType", r, "calendarType");
1166
+ let i = [], a = [], o = t.childNodes, s = o.length;
1167
+ for (let t = 0; t < s; t++) {
1168
+ let n = o.item(t);
1131
1169
  if (n.nodeType === 1) {
1132
1170
  if (n.localName === "dateGroupItem") {
1133
1171
  let t = this.processDateGroupItem(e, n);
1134
- t && a.push(t);
1172
+ t && i.push(t);
1135
1173
  } else if (n.localName === "filter") {
1136
1174
  let t = this.processFilterItem(e, n);
1137
- t !== void 0 && o.push(t);
1175
+ t !== void 0 && a.push(t);
1138
1176
  }
1139
1177
  }
1140
1178
  }
1141
- return a.length > 0 && (n.dateGroups = a), o.length > 0 && (n.items = o), i;
1179
+ return i.length > 0 && (n.dateGroups = i), a.length > 0 && (n.items = a), r;
1142
1180
  }
1143
1181
  processIcon(e, t) {
1144
- let n = {}, i = {
1145
- operator: r.BuiltInOperatorNames.Icon,
1182
+ let n = {}, r = {
1183
+ operator: d.BuiltInOperatorNames.Icon,
1146
1184
  param: n
1147
1185
  };
1148
- return e.copyFromAttribute(t, "iconId", n, "iconId", e.INT_COPY), e.copyFromAttribute(t, "iconSet", n), i;
1186
+ return e.copyFromAttribute(t, "iconId", n, "iconId", e.INT_COPY), e.copyFromAttribute(t, "iconSet", n), r;
1149
1187
  }
1150
1188
  processTop10(e, t) {
1151
- let n = {}, i = {
1152
- operator: r.BuiltInOperatorNames.TopN,
1189
+ let n = {}, r = {
1190
+ operator: d.BuiltInOperatorNames.TopN,
1153
1191
  param: n
1154
1192
  };
1155
- return e.copyFromAttribute(t, "filterVal", n, "filterVal", e.FLOAT_COPY), e.copyFromAttribute(t, "percent", n, "percent", e.BOOLEAN_COPY), e.copyFromAttribute(t, "top", n, "top", e.BOOLEAN_COPY), e.copyFromAttribute(t, "val", n, "val", e.FLOAT_COPY), i;
1193
+ return e.copyFromAttribute(t, "filterVal", n, "filterVal", e.FLOAT_COPY), e.copyFromAttribute(t, "percent", n, "percent", e.BOOLEAN_COPY), e.copyFromAttribute(t, "top", n, "top", e.BOOLEAN_COPY), e.copyFromAttribute(t, "val", n, "val", e.FLOAT_COPY), r;
1156
1194
  }
1157
1195
  processFilterCriteria(e, t) {
1158
1196
  if (!t) return;
@@ -1167,12 +1205,12 @@ var re = class {
1167
1205
  if (!t) return null;
1168
1206
  if (!t.hasAttribute("colId")) return;
1169
1207
  let r = parseInt(t.getAttribute("colId")), i = !1;
1170
- if (t.hasAttribute("hiddenButton") && (i = v(t.getAttribute("hiddenButton"))), i && n) {
1208
+ if (t.hasAttribute("hiddenButton") && (i = C(t.getAttribute("hiddenButton"))), i && n) {
1171
1209
  let e = n.hiddenButtons;
1172
1210
  e || (e = [], n.hiddenButtons = e), e.push(r);
1173
1211
  }
1174
1212
  let a = !1;
1175
- if (t.hasAttribute("showButton") && (a = v(t.getAttribute("showButton"))), a && n) {
1213
+ if (t.hasAttribute("showButton") && (a = C(t.getAttribute("showButton"))), a && n) {
1176
1214
  let e = n.showButtons;
1177
1215
  !0 !== e && (e || (e = [], n.showButtons = e), e[r] = !0);
1178
1216
  }
@@ -1191,34 +1229,34 @@ var re = class {
1191
1229
  }
1192
1230
  return n;
1193
1231
  }
1194
- }, Oe = class {
1195
- visit(e, n, r) {
1196
- if (!n) return;
1197
- let i = n.getAttribute("ref"), a = {};
1198
- n.hasAttribute("caseSensitive") && (a.collatorOptions = v(n.getAttribute("caseSensitive")) ? d.CaseSensitiveOptions : d.CaseInsensitiveOptions);
1199
- let o = n.getAttribute("sortMethod");
1200
- o != null && o !== "none" && (o === "stroke" ? a.collatorOptions = {
1201
- ...a.collatorOptions,
1232
+ }, Ae = class {
1233
+ visit(e, t, i) {
1234
+ if (!t) return;
1235
+ let o = t.getAttribute("ref"), s = {};
1236
+ t.hasAttribute("caseSensitive") && (s.collatorOptions = C(t.getAttribute("caseSensitive")) ? a.CaseSensitiveOptions : a.CaseInsensitiveOptions);
1237
+ let c = t.getAttribute("sortMethod");
1238
+ c != null && c !== "none" && (c === "stroke" ? s.collatorOptions = {
1239
+ ...s.collatorOptions,
1202
1240
  collation: "stroke"
1203
- } : o === "pinYin" && (a.collatorOptions = {
1204
- ...a.collatorOptions,
1241
+ } : c === "pinYin" && (s.collatorOptions = {
1242
+ ...s.collatorOptions,
1205
1243
  collation: "pinyin"
1206
1244
  }));
1207
- let s = {};
1208
- n.hasAttribute("columnSort") && v(n.getAttribute("columnSort")) && (s.axis = t.Axis.Column);
1209
- let c = u.fastStringToRange(i), l = [];
1210
- return this.processSortConditions(e, n, l, c, a), l.length > 0 && (s.sorts = l), Object.keys(l).length > 0 && (r.sort = s), s;
1245
+ let l = {};
1246
+ t.hasAttribute("columnSort") && C(t.getAttribute("columnSort")) && (l.axis = n.Axis.Column);
1247
+ let u = r.fastStringToRange(o), d = [];
1248
+ return this.processSortConditions(e, t, d, u, s), d.length > 0 && (l.sorts = d), Object.keys(d).length > 0 && (i.sort = l), l;
1211
1249
  }
1212
- processSortCondition(e, t, n, r) {
1250
+ processSortCondition(e, t, n, i) {
1213
1251
  if (!t) return null;
1214
- let i = {};
1215
- if (!t.hasAttribute("ref")) return void console.warn("no ref for sort conditional", e.getPath());
1252
+ let a = {};
1253
+ if (!t.hasAttribute("ref")) return void e.warn("A sort condition has no ref; it was dropped.", { onceKey: "xlsx.sheet.sort.noRef" });
1216
1254
  if (t.hasAttribute("ref")) {
1217
- let e = t.getAttribute("ref"), r = u.fastStringToRange(e);
1218
- i.index = n ? r.colStart - n.colStart : r.colStart;
1255
+ let e = t.getAttribute("ref"), i = r.fastStringToRange(e);
1256
+ a.index = n ? i.colStart - n.colStart : i.colStart;
1219
1257
  }
1220
- let a = { ...r };
1221
- return i.criteria = a, a.reverse = !1, t.hasAttribute("descending") && (a.reverse = v(t.getAttribute("descending"))), e.copyFromAttribute(t, "sortBy", a, "sortOn"), e.copyFromAttribute(t, "dxfId", a), e.copyFromAttribute(t, "iconSet", a), e.copyFromAttribute(t, "customList", a), i;
1258
+ let o = { ...i };
1259
+ return a.criteria = o, o.reverse = !1, t.hasAttribute("descending") && (o.reverse = C(t.getAttribute("descending"))), e.copyFromAttribute(t, "sortBy", o, "sortOn"), e.copyFromAttribute(t, "dxfId", o), e.copyFromAttribute(t, "iconSet", o), e.copyFromAttribute(t, "customList", o), a;
1222
1260
  }
1223
1261
  processSortConditions(e, t, n, r, i) {
1224
1262
  if (!t) return;
@@ -1231,7 +1269,7 @@ var re = class {
1231
1269
  }
1232
1270
  }
1233
1271
  }
1234
- }, Z = class extends R {
1272
+ }, Z = class extends B {
1235
1273
  visit(e, t, n) {
1236
1274
  this.processNumFmts(e, e.evaluate("numFmts", t), null), e.getVisitorParamsState().set("colorsToProcess", /* @__PURE__ */ new Set());
1237
1275
  let r = {
@@ -1243,22 +1281,24 @@ var re = class {
1243
1281
  type: o.Type.Pattern,
1244
1282
  patternType: o.BuiltInSheetPattern.Gray125
1245
1283
  }, r.borders[0] = {
1246
- bottom: { style: c.StrokeStyle.None },
1247
- left: { style: c.StrokeStyle.None },
1248
- right: { style: c.StrokeStyle.None },
1249
- top: { style: c.StrokeStyle.None }
1284
+ bottom: { style: i.StrokeStyle.None },
1285
+ left: { style: i.StrokeStyle.None },
1286
+ right: { style: i.StrokeStyle.None },
1287
+ top: { style: i.StrokeStyle.None }
1250
1288
  };
1251
- let i = [];
1252
- this.processXFs(e, e.evaluate("cellStyleXfs", t), i, r, null, !1);
1253
- let a = /* @__PURE__ */ new Map();
1254
- if (i.length > 0) {
1289
+ let a = [];
1290
+ this.processXFs(e, e.evaluate("cellStyleXfs", t), a, r, null, !1);
1291
+ let s = /* @__PURE__ */ new Map();
1292
+ if (a.length > 0) {
1255
1293
  let r = [];
1256
- this.processCellStyles(e, e.evaluate("cellStyles", t), r, i, a), n.named = r;
1294
+ this.processCellStyles(e, e.evaluate("cellStyles", t), r, a, s), n.named = r;
1257
1295
  }
1258
- let s = [];
1259
- this.processXFs(e, e.evaluate("cellXfs", t), s, r, a), Object.keys(s).length > 0 && (n.direct = s);
1260
- let l = [];
1261
- return this.processDXFs(e, e.evaluate("dxfs", t), l), this.processTableStyles(e, e.evaluate("tableStyles", t), n, l), this.processIndexColors(e, e.evaluate("colors/indexedColors", t), n), this.processMruColors(e, e.evaluate("colors/mruColors", t), n), n;
1296
+ let c = [];
1297
+ this.processXFs(e, e.evaluate("cellXfs", t), c, r, s), Object.keys(c).length > 0 && (n.direct = c);
1298
+ let l = this.collectHiddenXfs(e.evaluate("cellXfs", t));
1299
+ l.size > 0 && e.getVisitorParamsState().set("hiddenXfs", l);
1300
+ let u = [];
1301
+ return this.processDXFs(e, e.evaluate("dxfs", t), u), this.processTableStyles(e, e.evaluate("tableStyles", t), n, u), this.processIndexColors(e, e.evaluate("colors/indexedColors", t), n), this.processMruColors(e, e.evaluate("colors/mruColors", t), n), n;
1262
1302
  }
1263
1303
  processIndexColors(e, t, n) {
1264
1304
  if (!t) return;
@@ -1311,72 +1351,86 @@ var re = class {
1311
1351
  }
1312
1352
  }
1313
1353
  }
1314
- processXF(e, t, n, r, i, o) {
1354
+ processXF(e, t, n, r, i, a) {
1315
1355
  if (!t) return;
1316
- let s = t.getAttribute("xfId");
1317
- if (s && i) {
1318
- let e = i.get(parseInt(s));
1319
- e && e !== a.BuiltInName.Normal && (n.named = e);
1356
+ let o = t.getAttribute("xfId");
1357
+ if (o && i) {
1358
+ let e = i.get(parseInt(o));
1359
+ e && e !== l.BuiltInName.Normal && (n.named = e);
1320
1360
  }
1321
- let c = (e) => !(!o && t.hasAttribute(e)) || v(t.getAttribute(e)), l = (e) => !o || t.hasAttribute(e) && v(t.getAttribute(e)), u = o ? "0" : void 0;
1322
- if (c("applyFont")) {
1361
+ let s = (e) => !(!a && t.hasAttribute(e)) || C(t.getAttribute(e)), c = (e) => !a || t.hasAttribute(e) && C(t.getAttribute(e)), u = a ? "0" : void 0;
1362
+ if (s("applyFont")) {
1323
1363
  let e = t.getAttribute("fontId") ?? u;
1324
- if (e !== void 0 && (e !== "0" || l("applyFont"))) {
1364
+ if (e !== void 0 && (e !== "0" || c("applyFont"))) {
1325
1365
  let t = r.fonts[e];
1326
1366
  t !== void 0 && (n.font = t);
1327
1367
  }
1328
1368
  }
1329
- if (c("applyFill")) {
1369
+ if (s("applyFill")) {
1330
1370
  let e = t.getAttribute("fillId") ?? u;
1331
- if (e !== void 0 && (e !== "0" || l("applyFill"))) {
1371
+ if (e !== void 0 && (e !== "0" || c("applyFill"))) {
1332
1372
  let t = r.fills[e];
1333
1373
  t !== void 0 && Object.keys(t).length > 0 && (n.fill = t);
1334
1374
  }
1335
1375
  }
1336
- if (c("applyBorder")) {
1376
+ if (s("applyBorder")) {
1337
1377
  let e = t.getAttribute("borderId") ?? u;
1338
- if (e !== void 0 && (e !== "0" || l("applyBorder"))) {
1378
+ if (e !== void 0 && (e !== "0" || c("applyBorder"))) {
1339
1379
  let t = r.borders[e];
1340
- t !== void 0 && (n.border = t);
1380
+ t !== void 0 && (n.borders = t);
1341
1381
  }
1342
1382
  }
1343
- if (c("applyNumberFormat")) {
1383
+ if (s("applyNumberFormat")) {
1344
1384
  let r = t.getAttribute("numFmtId") ?? u;
1345
- if (r !== void 0 && (r !== "0" || l("applyNumberFormat"))) {
1385
+ if (r !== void 0 && (r !== "0" || c("applyNumberFormat"))) {
1346
1386
  let t, i = parseInt(r), a = e.getVisitorParamsState();
1347
1387
  if (a) {
1348
1388
  let e = a.get("numFmts");
1349
1389
  e && (t = e.get(i)), n.numberFormat = t ?? i;
1350
- } else console.warn("no visitor params state");
1390
+ } else e.warn("Number formats were unavailable; a cell format was not read.", { onceKey: "xlsx.style.numberFormat.state" });
1351
1391
  }
1352
1392
  }
1353
- if (c("applyAlignment")) {
1393
+ if (s("applyAlignment")) {
1354
1394
  let r = e.evaluate("alignment", t);
1355
- (r || l("applyAlignment")) && this.processAlignment(e, r, n);
1395
+ (r || c("applyAlignment")) && this.processAlignment(e, r, n);
1356
1396
  }
1357
- if (c("applyProtection")) {
1397
+ if (s("applyProtection")) {
1358
1398
  let r = e.evaluate("protection", t);
1359
- (r || l("applyProtection")) && this.processProtection(e, r, n);
1399
+ (r || c("applyProtection")) && this.processProtection(e, r, n);
1360
1400
  }
1361
- let d = v(t.getAttribute("quotePrefix") ?? "");
1401
+ let d = C(t.getAttribute("quotePrefix") ?? "");
1362
1402
  d && (n.quotePrefix = d);
1363
1403
  }
1364
1404
  processAlignment(e, t, n) {
1365
1405
  let r = {};
1366
- if (t?.hasAttribute("horizontal") ? r.horizontal = t.getAttribute("horizontal") : r.horizontal = s.HorizontalAlignment.General, t?.hasAttribute("vertical") ? r.vertical = t.getAttribute("vertical") : r.vertical = s.VerticalAlignment.Bottom, t?.hasAttribute("indent") ? r.indent = parseInt(t.getAttribute("indent")) : r.indent = 0, t?.hasAttribute("relativeIndent") ? r.relativeIndent = parseInt(t.getAttribute("relativeIndent")) : r.relativeIndent = 0, v(t?.getAttribute("wrapText") ?? "") ? r.overflow = s.Overflow.Wrap : r.overflow = s.Overflow.Visible, v(t?.getAttribute("shrinkToFit") ?? "") && (r.overflow = s.Overflow.Shrink), t?.hasAttribute("textRotation")) {
1406
+ if (t?.hasAttribute("horizontal") ? r.horizontal = t.getAttribute("horizontal") : r.horizontal = s.HorizontalAlignment.General, t?.hasAttribute("vertical") ? r.vertical = t.getAttribute("vertical") : r.vertical = s.VerticalAlignment.Bottom, t?.hasAttribute("indent") ? r.indent = parseInt(t.getAttribute("indent")) : r.indent = 0, t?.hasAttribute("relativeIndent") ? r.relativeIndent = parseInt(t.getAttribute("relativeIndent")) : r.relativeIndent = 0, C(t?.getAttribute("wrapText") ?? "") ? r.overflow = s.Overflow.Wrap : r.overflow = s.Overflow.Visible, C(t?.getAttribute("shrinkToFit") ?? "") && (r.overflow = s.Overflow.Shrink), t?.hasAttribute("textRotation")) {
1367
1407
  let e = parseFloat(t.getAttribute("textRotation"));
1368
1408
  e > 0 && e <= 90 ? e = 360 - e : e > 90 && e <= 180 ? e -= 90 : e === 255 && (e = 0, r.stacked = !0), r.rotation = e;
1369
1409
  } else r.rotation = 0;
1370
- t?.hasAttribute("justifyLastLine") && (r.justifyLastLine = v(t.getAttribute("justifyLastLine")));
1410
+ t?.hasAttribute("justifyLastLine") && (r.justifyLastLine = C(t.getAttribute("justifyLastLine")));
1371
1411
  let i = t?.getAttribute("readingOrder");
1372
- return i && (i === "0" ? r.readingDirection = s.ReadingDirection.Auto : i === "1" ? r.readingDirection = s.ReadingDirection.LeftToRight : i === "2" ? r.readingDirection = s.ReadingDirection.RightToLeft : console.warn(`invalid readingOrder: ${i}`)), Object.keys(r).length > 0 && (n.alignment = r), n;
1412
+ return i && (i === "0" ? r.readingDirection = s.ReadingDirection.Auto : i === "1" ? r.readingDirection = s.ReadingDirection.LeftToRight : i === "2" ? r.readingDirection = s.ReadingDirection.RightToLeft : e.warn(`Invalid readingOrder '${i}'; the direction was left automatic.`, { onceKey: "xlsx.style.readingOrder" })), Object.keys(r).length > 0 && (n.alignment = r), n;
1413
+ }
1414
+ collectHiddenXfs(e) {
1415
+ let t = /* @__PURE__ */ new Set();
1416
+ if (!e) return t;
1417
+ let n = e.childNodes, r = 0;
1418
+ for (let e = 0; e < n.length; e++) {
1419
+ let i = n.item(e);
1420
+ if (i.nodeType !== 1 || i.localName !== "xf") continue;
1421
+ let a = i.childNodes;
1422
+ for (let e = 0; e < a.length; e++) {
1423
+ let n = a.item(e);
1424
+ n.nodeType === 1 && n.localName === "protection" && C(n.getAttribute("hidden") ?? "") && t.add(r);
1425
+ }
1426
+ r++;
1427
+ }
1428
+ return t;
1373
1429
  }
1374
1430
  processProtection(e, t, n) {
1375
1431
  if (!t) return;
1376
- let r = {}, i = t.getAttribute("locked");
1377
- i && !v(i) && (r.edit = !0);
1378
- let a = t.getAttribute("hidden");
1379
- return a && v(a) && (r.formulaHidden = !0), Object.keys(r).length > 0 && (n.protection = r), n;
1432
+ let r = t.getAttribute("locked");
1433
+ return n.protection = { alwaysUnlocked: !!r && !C(r) }, n;
1380
1434
  }
1381
1435
  processDXF(e, t, n) {
1382
1436
  if (!t) return;
@@ -1391,7 +1445,7 @@ var re = class {
1391
1445
  this.processFill(e, i, t, 0), t.length > 0 && t[0] && (n.fill = t[0]);
1392
1446
  } else if (i.nodeType === 1 && i.localName === "border") {
1393
1447
  let t = [];
1394
- this.processBorder(e, i, t, 0, !1), t.length > 0 && t[0] && (n.border = t[0]);
1448
+ this.processBorder(e, i, t, 0, !1), t.length > 0 && t[0] && (n.borders = t[0]);
1395
1449
  } else if (i.nodeType === 1 && i.localName === "numFmt") {
1396
1450
  let e = i.getAttribute("formatCode");
1397
1451
  if (e) n.numberFormat = e;
@@ -1421,15 +1475,15 @@ var re = class {
1421
1475
  }
1422
1476
  processTableStyle(e, t, n, r, i = !1) {
1423
1477
  let a = t.getAttribute("name"), o = { name: a };
1424
- t.hasAttribute("table") && (o.table = v(t.getAttribute("table"))), t.hasAttribute("pivot") && (o.pivot = v(t.getAttribute("pivot"))), i && !o.pivot && r.unshift(null);
1478
+ t.hasAttribute("table") && (o.table = C(t.getAttribute("table"))), t.hasAttribute("pivot") && (o.pivot = C(t.getAttribute("pivot"))), i && !o.pivot && r.unshift(null);
1425
1479
  let s = t.childNodes, c = s.length;
1426
- for (let e = 0; e < c; e++) {
1427
- let t = s.item(e);
1428
- if (t.nodeType === 1 && t.localName === "tableStyleElement") {
1429
- let e = t.getAttribute("type"), n = t.getAttribute("dxfId"), i = n == null ? void 0 : r?.[n];
1430
- i ||= (console.warn("invalid dfx id", n), {}), o[e] = i;
1431
- let a = null;
1432
- t.hasAttribute("size") && (a = parseInt(t.getAttribute("size"))), a && !isNaN(a) && (i.size = a);
1480
+ for (let t = 0; t < c; t++) {
1481
+ let n = s.item(t);
1482
+ if (n.nodeType === 1 && n.localName === "tableStyleElement") {
1483
+ let t = n.getAttribute("type"), i = n.getAttribute("dxfId"), a = i == null ? void 0 : r?.[i];
1484
+ a ||= (e.warn(`A table style names a format that does not exist (dxfId '${i}').`, { onceKey: "xlsx.style.tableStyle.dxf" }), {}), o[t] = a;
1485
+ let s = null;
1486
+ n.hasAttribute("size") && (s = parseInt(n.getAttribute("size"))), s && !isNaN(s) && (a.size = s);
1433
1487
  }
1434
1488
  }
1435
1489
  delete o.name, n[a] = o;
@@ -1449,28 +1503,28 @@ var re = class {
1449
1503
  }
1450
1504
  processCellStyles(e, t, n, r, i) {
1451
1505
  if (!t) return;
1452
- let o = t.childNodes, s = o.length;
1453
- for (let e = 0; e < s; e++) {
1454
- let t = o.item(e);
1506
+ let a = t.childNodes, o = a.length;
1507
+ for (let e = 0; e < o; e++) {
1508
+ let t = a.item(e);
1455
1509
  if (t.nodeType === 1 && t.localName === "cellStyle") {
1456
- let e = parseInt(t.getAttribute("xfId") ?? ""), o = t.getAttribute("name"), s = t.getAttribute("builtinId"), c = o;
1457
- if (s !== null) {
1458
- let e = a.builtInNameFromId(parseInt(s));
1459
- e !== void 0 && (c = e);
1510
+ let e = parseInt(t.getAttribute("xfId") ?? ""), a = t.getAttribute("name"), o = t.getAttribute("builtinId"), s = a;
1511
+ if (o !== null) {
1512
+ let e = l.builtInNameFromId(parseInt(o));
1513
+ e !== void 0 && (s = e);
1460
1514
  }
1461
- if (i.set(e, c), !r[e]) continue;
1462
- let l = {
1463
- name: c,
1515
+ if (i.set(e, s), !r[e]) continue;
1516
+ let c = {
1517
+ name: s,
1464
1518
  style: r[e]
1465
1519
  };
1466
- t.getAttribute("hidden") && (l.hidden = v(t.getAttribute("hidden"))), t.getAttribute("iLevel") && (l.iLevel = parseInt(t.getAttribute("iLevel"))), n.push(l);
1520
+ t.getAttribute("hidden") && (c.hidden = C(t.getAttribute("hidden"))), t.getAttribute("iLevel") && (c.iLevel = parseInt(t.getAttribute("iLevel"))), n.push(c);
1467
1521
  }
1468
1522
  }
1469
1523
  }
1470
1524
  afterVisit(e, t, n) {}
1471
- }, ke = class extends R {
1525
+ }, je = class extends B {
1472
1526
  visit(e, t, n) {
1473
- return this.processSheetRefs(e, e.evaluate("sheets", t), n), this.processExternalReferences(e, e.evaluate("externalReferences", t), n), this.processBookViews(e, e.evaluate("bookViews", t), n), this.processDefinedNames(e, e.evaluate("definedNames", t), n), this.processCalcPr(e, e.evaluate("calcPr", t), n), this.processWorkbookProtection(e, e.evaluate("workbookProtection", t), n), this.processWorkbookPr(e, e.evaluate("workbookPr", t), n), n;
1527
+ return this.processSheetRefs(e, e.evaluate("sheets", t), n), this.processExternalReferences(e, e.evaluate("externalReferences", t), n), this.processBookViews(e, e.evaluate("bookViews", t), n), this.processDefinedNames(e, e.evaluate("definedNames", t), n), this.processCalcPr(e, e.evaluate("calcPr", t), n), this.processPivotCaches(e, e.evaluate("pivotCaches", t), n), this.processWorkbookProtection(e, e.evaluate("workbookProtection", t), n), this.processWorkbookPr(e, e.evaluate("workbookPr", t), n), n;
1474
1528
  }
1475
1529
  processPassword(e, t, n, r = "workbook", i = "password") {
1476
1530
  if (!t) return;
@@ -1480,12 +1534,16 @@ var re = class {
1480
1534
  processWorkbookProtection(e, t, n) {
1481
1535
  if (!t) return;
1482
1536
  let r = {};
1483
- return this.processPassword(e, t, r, "workbook", "password"), this.processPassword(e, t, r, "revisions", "revisionsPassword"), e.copyFromAttribute(t, "lockStructure", r, "structure", e.BOOLEAN_COPY), e.copyFromAttribute(t, "lockWindows", r, "windows", e.BOOLEAN_COPY), e.copyFromAttribute(t, "lockRevision", r, "revision", e.BOOLEAN_COPY), n.protection = r, n;
1537
+ this.processPassword(e, t, r, "workbook", "password"), this.processPassword(e, t, r, "revisions", "revisionsPassword");
1538
+ for (let e of g) r[e.key] = h(e, t.getAttribute(e.attribute));
1539
+ return n.protection = r, n;
1484
1540
  }
1485
1541
  processCalcPr(e, t, n) {
1486
1542
  if (!t) return;
1487
1543
  let r = {};
1488
- e.copyFromAttribute(t, "calcMode", r, "calcMode", (e) => B[e] ?? null), e.copyFromAttribute(t, "fullCalcOnLoad", r, "fullCalcOnLoad", e.BOOLEAN_COPY), e.copyFromAttribute(t, "calcOnSave", r, "calcOnSave", e.BOOLEAN_COPY), e.copyFromAttribute(t, "calcCompleted", r, "calcCompleted", e.BOOLEAN_COPY), e.copyFromAttribute(t, "fullPrecision", r, "fullPrecision", e.BOOLEAN_COPY), e.copyFromAttribute(t, "forceFullCalc", r, "forceFullCalc", e.BOOLEAN_COPY), e.copyFromAttribute(t, "concurrentCalc", r, "concurrentCalc", e.BOOLEAN_COPY), e.copyFromAttribute(t, "refMode", r, "refMode"), e.copyFromAttribute(t, "iterate", r, "iterate", e.BOOLEAN_COPY), e.copyFromAttribute(t, "iterateCount", r, "maxIterations", e.INT_COPY), e.copyFromAttribute(t, "iterateDelta", r, "maxIterateChange", e.FLOAT_COPY), n.calc = r;
1544
+ e.copyFromAttribute(t, "calcMode", r, "calcMode", (e) => ce[e] ?? null), e.copyFromAttribute(t, "fullCalcOnLoad", r, "fullCalcOnLoad", e.BOOLEAN_COPY), e.copyFromAttribute(t, "calcOnSave", r, "calcOnSave", e.BOOLEAN_COPY), e.copyFromAttribute(t, "calcCompleted", r, "calcCompleted", e.BOOLEAN_COPY), e.copyFromAttribute(t, "fullPrecision", r, "fullPrecision", e.BOOLEAN_COPY), e.copyFromAttribute(t, "forceFullCalc", r, "forceFullCalc", e.BOOLEAN_COPY), e.copyFromAttribute(t, "concurrentCalc", r, "concurrentCalc", e.BOOLEAN_COPY), e.copyFromAttribute(t, "refMode", r, "refMode"), e.copyFromAttribute(t, "iterate", r, "iterate", e.BOOLEAN_COPY), e.copyFromAttribute(t, "iterateCount", r, "maxIteration", e.INT_COPY), e.copyFromAttribute(t, "iterateDelta", r, "maxIterateChange", e.FLOAT_COPY);
1545
+ let i = t.getAttribute("calcId");
1546
+ i !== null && e.getVisitorParamsState().set("calcId", i), n.calc = r;
1489
1547
  }
1490
1548
  processSheetRefs(e, t, n) {
1491
1549
  if (!t) return;
@@ -1498,7 +1556,7 @@ var re = class {
1498
1556
  }
1499
1557
  processSheetRef(e, t, n) {
1500
1558
  let r = {};
1501
- e.copyFromAttribute(t, "name", r, "name"), e.copyFromAttribute(t, "state", r, "visibility");
1559
+ e.copyFromAttribute(t, "name", r, "name"), e.copyFromAttribute(t, "state", r, "visibility"), e.copyFromAttribute(t, "sheetId", r, "sheetId", e.INT_COPY);
1502
1560
  let i = t.getAttribute("r:id"), a = e.getRef(i);
1503
1561
  a && (r.sheet = a), n.push(r);
1504
1562
  }
@@ -1514,6 +1572,22 @@ var re = class {
1514
1572
  }
1515
1573
  r.length > 0 && (n.externalBooks = r);
1516
1574
  }
1575
+ processPivotCaches(e, t, n) {
1576
+ if (!t) return;
1577
+ let r = [], i = t.childNodes, a = i.length;
1578
+ for (let t = 0; t < a; t++) {
1579
+ let n = i.item(t);
1580
+ if (n.nodeType !== 1 || n.localName !== "pivotCache") continue;
1581
+ let a = parseInt(n.getAttribute("cacheId") ?? "", 10), o = n.getAttribute("r:id");
1582
+ if (isNaN(a) || !o) continue;
1583
+ let s = e.readEmbeddedPart(o);
1584
+ s && r.push({
1585
+ cacheId: a,
1586
+ part: s
1587
+ });
1588
+ }
1589
+ r.length > 0 && (n.pivotCaches = r);
1590
+ }
1517
1591
  processBookViews(e, t, n) {
1518
1592
  if (!t) return;
1519
1593
  let r = t.childNodes, i = 0, a = r.length;
@@ -1531,9 +1605,9 @@ var re = class {
1531
1605
  if (!t) return;
1532
1606
  let i = {}, a = t.firstChild;
1533
1607
  if (a && a.nodeType === 3 && (i.ref = a.textContent), e.copyFromAttribute(t, "name", i), e.copyFromAttribute(t, "comment", i), e.copyFromAttribute(t, "hidden", i, "hidden", e.BOOLEAN_COPY), t.hasAttribute("localSheetId")) {
1534
- let e = t.getAttribute("localSheetId");
1535
- if (!r[e]?.name) return void console.warn(`Defined name '${t.getAttribute("name")}' references a sheet with localSheetId '${e}' which does not exist.`);
1536
- i.scope = r[e].name;
1608
+ let n = t.getAttribute("localSheetId");
1609
+ if (!r[n]?.name) return void e.warn(`Defined name '${t.getAttribute("name")}' references a sheet with localSheetId '${n}' which does not exist.`);
1610
+ i.scope = r[n].name;
1537
1611
  }
1538
1612
  e.copyFromAttribute(t, "customMenu", i), e.copyFromAttribute(t, "description", i), e.copyFromAttribute(t, "statusBar", i), e.copyFromAttribute(t, "help", i), e.copyFromAttribute(t, "shortcutKey", i), e.copyFromAttribute(t, "function", i, "function", e.BOOLEAN_COPY), e.copyFromAttribute(t, "functionGroupId", i, "functionGroupId", e.INT_COPY), e.copyFromAttribute(t, "publishToServer", i, "publishToServer", e.BOOLEAN_COPY), e.copyFromAttribute(t, "vbProcedure", i, "vbProcedure", e.BOOLEAN_COPY), e.copyFromAttribute(t, "xlm", i, "xlm", e.BOOLEAN_COPY), Object.keys(i).length > 0 && n.push(i);
1539
1613
  }
@@ -1547,13 +1621,13 @@ var re = class {
1547
1621
  r.length > 0 && (n.names = r);
1548
1622
  }
1549
1623
  processWorkbookPr(e, t, n) {
1550
- t && e.copyFromAttribute(t, "date1904", n, "date1904", e.BOOLEAN_COPY);
1624
+ t && (e.copyFromAttribute(t, "date1904", n, "date1904", e.BOOLEAN_COPY), e.copyFromAttribute(t, "codeName", n, "codeName"), e.copyFromAttribute(t, "updateLinks", n, "updateLinks"));
1551
1625
  }
1552
1626
  afterVisit(e, t, n) {}
1553
- }, Ae = class {
1627
+ }, Me = class {
1554
1628
  visit(e, t, n) {
1555
1629
  let r = {};
1556
- return e.copyFromAttribute(t, "ref", n, "r"), e.getVisitorParamsState().set("ref", n.r), n.v = r, e.copyFromAttribute(t, "name", r), e.copyFromAttribute(t, "displayName", r), e.copyFromAttribute(t, "headerRowCount", r, "headerRowCount", e.INT_COPY), e.copyFromAttribute(t, "totalsRowCount", r, "totalsRowCount", e.INT_COPY), this.processTableColumns(e, t, r), this.processTableStyleInfo(e, t, r), e.copyFromAttribute(t, "id", r), e.copyFromAttribute(t, "comment", r, "description"), e.copyFromAttribute(t, "connectionId", r, "connectionId", e.INT_COPY), e.copyFromAttribute(t, "tableType", r), e.copyFromAttribute(t, "published", r, "published", e.BOOLEAN_COPY), e.copyFromAttribute(t, "insertRow", r, "insertRow", e.BOOLEAN_COPY), e.copyFromAttribute(t, "insertRowShift", r, "insertRowShift", e.BOOLEAN_COPY), e.copyFromAttribute(t, "totalsRowShown", r, "totalsRowShown", e.BOOLEAN_COPY), r;
1630
+ return e.copyFromAttribute(t, "ref", n, "r"), e.getVisitorParamsState().set("ref", n.r), n.v = r, e.copyFromAttribute(t, "name", r), e.copyFromAttribute(t, "displayName", r), e.copyFromAttribute(t, "headerRowCount", r, "headerRowCount", e.INT_COPY), e.copyFromAttribute(t, "totalsRowCount", r, "totalsRowCount", e.INT_COPY), this.processTableColumns(e, t, r), this.processTableStyleInfo(e, t, r), e.copyFromAttribute(t, "id", r), e.copyFromAttribute(t, "comment", r, "description"), e.copyFromAttribute(t, "connectionId", r, "connectionId", e.INT_COPY), e.copyFromAttribute(t, "tableType", r), e.copyFromAttribute(t, "published", r, "published", e.BOOLEAN_COPY), e.copyFromAttribute(t, "insertRow", r, "insertRow", e.BOOLEAN_COPY), e.copyFromAttribute(t, "insertRowShift", r, "insertRowShift", e.BOOLEAN_COPY), r.totalsRowShown = t.getAttribute("totalsRowShown") !== "0", r;
1557
1631
  }
1558
1632
  afterVisit(e, t, n) {
1559
1633
  let r = n.v;
@@ -1587,7 +1661,9 @@ var re = class {
1587
1661
  let n = e.evaluate("totalsRowFormula", i);
1588
1662
  n && (t.totalsRowFormula = n.textContent);
1589
1663
  } else t.totalsRowFormula = r;
1590
- e.copyFromAttribute(i, "totalsRowLabel", t), n.push(t);
1664
+ e.copyFromAttribute(i, "totalsRowLabel", t);
1665
+ let a = e.evaluate("calculatedColumnFormula", i);
1666
+ a?.textContent && (t.calculatedColumnFormula = a.textContent), n.push(t);
1591
1667
  }
1592
1668
  }
1593
1669
  return n;
@@ -1600,7 +1676,7 @@ var re = class {
1600
1676
  }
1601
1677
  i.length > 0 && (n.columns = i);
1602
1678
  }
1603
- }, je = class {
1679
+ }, Ne = class {
1604
1680
  visit(e, t, n) {
1605
1681
  let r = e.getVisitorParamsState().get("ref");
1606
1682
  if (r) {
@@ -1609,7 +1685,7 @@ var re = class {
1609
1685
  }
1610
1686
  return e.copyFromAttribute(t, "altText", n), e.copyFromAttribute(t, "altTextSummary", n), n;
1611
1687
  }
1612
- }, Me = class {
1688
+ }, Pe = class {
1613
1689
  visit(e, t, n) {
1614
1690
  let r = t.childNodes, i = r.length, a = null;
1615
1691
  for (let e = 0; e < i; e++) {
@@ -1619,7 +1695,12 @@ var re = class {
1619
1695
  break;
1620
1696
  }
1621
1697
  }
1622
- return a ? (t.getAttribute("mc:Ignorable") && (n.mceIgnorable = !0), n.sheetNames = [], this.processSheetNames(e, a, n), this.processDefinedNames(e, a, n), this.processSheetDataSet(e, a, n), n) : n;
1698
+ if (!a) return n;
1699
+ t.getAttribute("mc:Ignorable") && (n.mceIgnorable = !0);
1700
+ let o = a.getAttribute("r:id");
1701
+ o && (n.__bookRelId = o);
1702
+ let s = this._findAbsoluteUrlRelId(a);
1703
+ return s && (n.__absoluteUrlRelId = s), n.sheetNames = [], this.processSheetNames(e, a, n), this.processDefinedNames(e, a, n), this.processSheetDataSet(e, a, n), n;
1623
1704
  }
1624
1705
  processSheetNames(e, t, n) {
1625
1706
  let r = this._findChild(t, "sheetNames");
@@ -1662,20 +1743,20 @@ var re = class {
1662
1743
  i.length > 0 && (n.sheetDataSet = i);
1663
1744
  }
1664
1745
  processSheetData(e, t) {
1665
- let n = new l.Builder(), r = t.childNodes, i = r.length;
1666
- for (let e = 0; e < i; e++) {
1667
- let t = r.item(e);
1746
+ let n = new u.Builder(), i = t.childNodes, a = i.length;
1747
+ for (let e = 0; e < a; e++) {
1748
+ let t = i.item(e);
1668
1749
  if (t.nodeType !== 1 || t.localName !== "row") continue;
1669
- let i = t.childNodes, a = i.length;
1670
- for (let e = 0; e < a; e++) {
1671
- let t = i.item(e);
1750
+ let a = t.childNodes, o = a.length;
1751
+ for (let e = 0; e < o; e++) {
1752
+ let t = a.item(e);
1672
1753
  if (t.nodeType !== 1 || t.localName !== "cell") continue;
1673
- let r = t.getAttribute("r");
1674
- if (!r) continue;
1675
- let a = u.fastStringToCell(r);
1676
- if (a?.rowIndex === void 0 || a?.colIndex === void 0) continue;
1677
- let o = this._readCellValue(t);
1678
- o !== void 0 && n.pushAt(a.rowIndex, a.colIndex, o);
1754
+ let i = t.getAttribute("r");
1755
+ if (!i) continue;
1756
+ let o = r.fastStringToCell(i);
1757
+ if (o?.rowIndex === void 0 || o?.colIndex === void 0) continue;
1758
+ let s = this._readCellValue(t);
1759
+ s !== void 0 && n.pushAt(o.rowIndex, o.colIndex, s);
1679
1760
  }
1680
1761
  }
1681
1762
  return {
@@ -1684,19 +1765,19 @@ var re = class {
1684
1765
  };
1685
1766
  }
1686
1767
  _readCellValue(e) {
1687
- let t = this._findChild(e, "v")?.textContent?.trim();
1688
- if (t !== void 0 && t !== "") switch (e.getAttribute("t")) {
1768
+ let n = this._findChild(e, "v")?.textContent?.trim();
1769
+ if (n !== void 0 && n !== "") switch (e.getAttribute("t")) {
1689
1770
  case null:
1690
- case "n": return parseFloat(t);
1691
- case "b": return t === "1" || t === "true";
1771
+ case "n": return parseFloat(n);
1772
+ case "b": return n === "1" || n === "true";
1692
1773
  case "str":
1693
- default: return t;
1774
+ default: return n;
1694
1775
  case "e": {
1695
- let e = n.getBuiltInByLabel(t);
1776
+ let e = t.getBuiltInByLabel(n);
1696
1777
  return e ? {
1697
1778
  t: "e",
1698
1779
  v: e.getCode()
1699
- } : t;
1780
+ } : n;
1700
1781
  }
1701
1782
  }
1702
1783
  }
@@ -1708,13 +1789,17 @@ var re = class {
1708
1789
  }
1709
1790
  return null;
1710
1791
  }
1711
- }, Ne = class {
1792
+ _findAbsoluteUrlRelId(e) {
1793
+ let t = this._findChild(e, "alternateUrls");
1794
+ return t ? this._findChild(t, "absoluteUrl")?.getAttribute("r:id") ?? null : null;
1795
+ }
1796
+ }, Fe = class {
1712
1797
  visit(e, t, n) {
1713
1798
  e.copyFromAttribute(t, "name", n), e.copyFromAttribute(t, "sourceName", n);
1714
1799
  let r = e.evaluate("*/tableSlicerCache", t);
1715
- return r ? (e.copyFromAttribute(r, "tableId", n), e.copyFromAttribute(r, "column", n, "columnId"), e.copyFromAttribute(r, "crossFilter", n), n) : (console.warn("SlicerCacheDefinitionVisitor: missing tableSlicerCache element"), n);
1800
+ return r ? (e.copyFromAttribute(r, "tableId", n), e.copyFromAttribute(r, "column", n, "columnId"), e.copyFromAttribute(r, "crossFilter", n), n) : (e.warn("A slicer names no table; it was not imported.", { onceKey: "xlsx.slicer.cacheDefinition" }), n);
1716
1801
  }
1717
- }, Pe = class {
1802
+ }, Ie = class {
1718
1803
  visit(e, t, n) {
1719
1804
  let r = n.slicers;
1720
1805
  r || (r = {}, n.slicers = r);
@@ -1736,7 +1821,7 @@ var re = class {
1736
1821
  }
1737
1822
  e.copyFromAttribute(t, "caption", r), e.copyFromAttribute(t, "startItem", r, "startItem", e.INT_COPY), e.copyFromAttribute(t, "columnCount", r, "columnCount", e.INT_COPY), e.copyFromAttribute(t, "showCaption", r, "showCaption", e.BOOLEAN_COPY), e.copyFromAttribute(t, "level", r, "level", e.INT_COPY), e.copyFromAttribute(t, "style", r), e.copyFromAttribute(t, "locked", r, "locked", e.BOOLEAN_COPY), e.copyFromAttribute(t, "rowHeight", r, "rowHeight", e.INT_COPY);
1738
1823
  }
1739
- }, Fe = class {
1824
+ }, Le = class {
1740
1825
  visit(e, t, n) {
1741
1826
  return n;
1742
1827
  }
@@ -1752,7 +1837,7 @@ var re = class {
1752
1837
  x: 0,
1753
1838
  y: 0
1754
1839
  };
1755
- return o.x = _(t.getAttribute(i)), o.y = _(t.getAttribute(a)), r === "from" ? n.tl = o : n.br = o, n;
1840
+ return o.x = y(t.getAttribute(i)), o.y = y(t.getAttribute(a)), r === "from" ? n.tl = o : n.br = o, n;
1756
1841
  }
1757
1842
  processOffsetCoord(e, t, n, r) {
1758
1843
  if (!t) return;
@@ -1762,9 +1847,9 @@ var re = class {
1762
1847
  x: 0,
1763
1848
  y: 0
1764
1849
  };
1765
- return e.evaluate("col", t) && (i.c = parseInt(e.evaluate("col", t).textContent)), e.evaluate("row", t) && (i.r = parseInt(e.evaluate("row", t).textContent)), e.evaluate("colOff", t) && (i.x = _(e.evaluate("colOff", t).textContent)), e.evaluate("rowOff", t) && (i.y = _(e.evaluate("rowOff", t).textContent)), r === "from" ? n.tl = i : n.br = i, n;
1850
+ return e.evaluate("col", t) && (i.c = parseInt(e.evaluate("col", t).textContent)), e.evaluate("row", t) && (i.r = parseInt(e.evaluate("row", t).textContent)), e.evaluate("colOff", t) && (i.x = y(e.evaluate("colOff", t).textContent)), e.evaluate("rowOff", t) && (i.y = y(e.evaluate("rowOff", t).textContent)), r === "from" ? n.tl = i : n.br = i, n;
1766
1851
  }
1767
- }, Ie = class extends V {
1852
+ }, Re = class extends H {
1768
1853
  visit(e, t, n) {
1769
1854
  if (!t) return;
1770
1855
  n = super.visit(e, t, n);
@@ -1790,25 +1875,20 @@ var re = class {
1790
1875
  if (n === "chart" && a) {
1791
1876
  let n = e.evaluate("*/cNvPr", t);
1792
1877
  n?.item && (n = n.item(0));
1793
- let r, o = n?.getAttribute?.("id"), s = o ? parseInt(o, 10) : void 0, c = e.getRelationships().get(a);
1794
- if (c?.target) {
1795
- let t = e.getFileLocation(), n = t.slice(0, t.lastIndexOf("/") + 1);
1796
- r = ne(c.target.startsWith("/") ? c.target : n + c.target);
1797
- }
1878
+ let r = n?.getAttribute?.("id"), o = r ? parseInt(r, 10) : void 0;
1798
1879
  i.json = {
1799
1880
  xml: e.serializeElement(t) ?? void 0,
1800
- sourceId: s === void 0 || isNaN(s) ? void 0 : s,
1801
- chartRelId: a,
1802
- chartTargetPath: r
1881
+ sourceId: o === void 0 || isNaN(o) ? void 0 : o,
1882
+ part: e.readEmbeddedPart(a) ?? void 0
1803
1883
  };
1804
1884
  } else a && (i.json = e.getRef(a));
1805
- } catch (e) {
1806
- console.warn("Unable to parse graphicFrame", e);
1885
+ } catch (t) {
1886
+ e.warn(`Unable to read a graphic frame: ${t?.message ?? t}`, { onceKey: "xlsx.drawing.graphicFrame" });
1807
1887
  }
1808
1888
  }
1809
1889
  return i && (n.content = i), i;
1810
1890
  }
1811
- }, Le = H, Re = class extends V {
1891
+ }, ze = U, Be = class extends H {
1812
1892
  visit(e, t, n) {
1813
1893
  if (!t) return;
1814
1894
  let r = super.visit(e, t, n), i = e.evaluate("nvPicPr/cNvPicPr", t);
@@ -1824,7 +1904,7 @@ var re = class {
1824
1904
  let a, o = e.evaluate("blipFill/blip", t);
1825
1905
  if (o) {
1826
1906
  let t;
1827
- if (t = o.getAttribute("r:embed") ?? o.getAttribute("embed"), t ||= o.getAttribute("r:link") ?? o.getAttribute("link"), !t) return void console.warn("no rId found for blip", o);
1907
+ if (t = o.getAttribute("r:embed") ?? o.getAttribute("embed"), t ||= o.getAttribute("r:link") ?? o.getAttribute("link"), !t) return void e.warn("A picture names no image; it was not imported.", { onceKey: "xlsx.drawing.picture.noRel" });
1828
1908
  a = e.getRef(t, !0);
1829
1909
  }
1830
1910
  return n.content = {
@@ -1832,7 +1912,7 @@ var re = class {
1832
1912
  json: { resId: a }
1833
1913
  }, r;
1834
1914
  }
1835
- }, ze = class extends H {
1915
+ }, Ve = class extends U {
1836
1916
  visit(e, t, n) {
1837
1917
  if (!t) return;
1838
1918
  n = super.visit(e, t, n);
@@ -1852,7 +1932,7 @@ var re = class {
1852
1932
  json: i
1853
1933
  }, i;
1854
1934
  }
1855
- }, Be = class extends H {
1935
+ }, $ = class extends U {
1856
1936
  visit(e, t, n) {
1857
1937
  if (!t) return;
1858
1938
  n = super.visit(e, t, n);
@@ -1865,7 +1945,6 @@ var re = class {
1865
1945
  Object.keys(e).length > 0 && (n.locks = e);
1866
1946
  }
1867
1947
  }
1868
- e.warn(`'${n.name}' is not editable; imported as a fixed drawing.`);
1869
1948
  let i = e.evaluate("*/cNvPr", t);
1870
1949
  i?.item && (i = i.item(0));
1871
1950
  let a = i?.getAttribute?.("id"), o = a ? parseInt(a, 10) : void 0, s = {
@@ -1878,7 +1957,7 @@ var re = class {
1878
1957
  json: s
1879
1958
  }, s;
1880
1959
  }
1881
- }, Ve = class {
1960
+ }, He = class {
1882
1961
  visit(e, t, n) {
1883
1962
  let r = [], i = /* @__PURE__ */ new Map(), a = {
1884
1963
  cells: [],
@@ -1985,10 +2064,10 @@ var re = class {
1985
2064
  }
1986
2065
  return n;
1987
2066
  }
1988
- }, $ = class {
2067
+ }, Ue = class {
1989
2068
  visit(e, t, n) {
1990
- let r = e.getVisitorParamsState().get(U);
1991
- r || (r = [], e.getVisitorParamsState().set(U, r));
2069
+ let r = e.getVisitorParamsState().get(W);
2070
+ r || (r = [], e.getVisitorParamsState().set(W, r));
1992
2071
  let i = t.childNodes, a = i.length;
1993
2072
  for (let t = 0; t < a; t++) {
1994
2073
  let n = i.item(t);
@@ -2012,12 +2091,12 @@ var re = class {
2012
2091
  }
2013
2092
  }
2014
2093
  }
2015
- }, He = class {
2094
+ }, We = class {
2016
2095
  visit(e, t, n) {
2017
2096
  let r = e.getVisitorParamsState().get("richTypes");
2018
2097
  if (!r) return void e.warn("RichValueFound but not type.");
2019
- let i = e.getVisitorParamsState().get(W);
2020
- i || (i = [], e.getVisitorParamsState().set(W, i));
2098
+ let i = e.getVisitorParamsState().get(G);
2099
+ i || (i = [], e.getVisitorParamsState().set(G, i));
2021
2100
  let a = t.childNodes, o = a.length;
2022
2101
  for (let t = 0; t < o; t++) {
2023
2102
  let n = a.item(t);
@@ -2030,14 +2109,14 @@ var re = class {
2030
2109
  }
2031
2110
  return n.richData = i, i;
2032
2111
  }
2033
- mapType(e, t) {
2034
- if (t.type === "_error") {
2035
- let e = t.errorType;
2112
+ mapType(e, n) {
2113
+ if (n.type === "_error") {
2114
+ let e = n.errorType;
2036
2115
  if (e) try {
2037
- t = n.getBuiltInByCode(e + 1) ?? n.BuiltIn.Unknown;
2116
+ n = t.getBuiltInByCode(e + 1) ?? t.BuiltIn.Unknown;
2038
2117
  } catch {}
2039
2118
  }
2040
- return t;
2119
+ return n;
2041
2120
  }
2042
2121
  processValues(e, t, n, r) {
2043
2122
  let i = t.childNodes, a = i.length;
@@ -2053,7 +2132,7 @@ var re = class {
2053
2132
  }
2054
2133
  }
2055
2134
  }
2056
- }, Ue = class {
2135
+ }, Ge = class {
2057
2136
  visit(e, t, n) {
2058
2137
  if (!t) return;
2059
2138
  let r = [];
@@ -2072,72 +2151,92 @@ var re = class {
2072
2151
  }
2073
2152
  }
2074
2153
  }
2075
- }, We = class {
2154
+ }, Ke = class {
2076
2155
  visit(e, t, n) {
2077
2156
  if (!t) return;
2078
- let r = {}, i = t.getAttribute("ref");
2079
- e.copyFromAttribute(t, "authorId", r, "personId", e.INT_COPY), r.asNote = !0;
2080
- let a = {
2081
- r: i,
2082
- v: r
2083
- };
2084
- return n.push(a), r;
2157
+ let r = t.getAttribute("ref");
2158
+ if (!r) return;
2159
+ let i = { content: "" };
2160
+ if (t.hasAttribute("authorId")) {
2161
+ let e = parseInt(t.getAttribute("authorId"), 10);
2162
+ isNaN(e) || (i.authorId = e);
2163
+ }
2164
+ return i.content = function(e) {
2165
+ if (!e) return "";
2166
+ let t = [], n = !0, r = e.childNodes;
2167
+ for (let e = 0; e < r.length; e++) {
2168
+ let i = r.item(e);
2169
+ if (i.nodeType === 1) {
2170
+ if (i.localName === "t") t.push({ text: i.textContent ?? "" });
2171
+ else if (i.localName === "r") {
2172
+ let e = { text: "" }, r = i.childNodes;
2173
+ for (let t = 0; t < r.length; t++) {
2174
+ let n = r.item(t);
2175
+ n.nodeType === 1 && (n.localName === "t" ? e.text += n.textContent ?? "" : n.localName === "rPr" && le(n, e));
2176
+ }
2177
+ Object.keys(e).length > 1 && (n = !1), t.push(e);
2178
+ }
2179
+ }
2180
+ }
2181
+ return t.length === 0 ? e.textContent ?? "" : n ? t.map((e) => e.text).join("") : { runs: t };
2182
+ }(e.evaluate("text", t)), n.push({
2183
+ r,
2184
+ v: i
2185
+ }), i;
2085
2186
  }
2086
- }, Ge = class {
2187
+ }, qe = class {
2087
2188
  visit(e, t, n) {
2088
2189
  if (!t) return;
2089
2190
  let r = [];
2090
2191
  return n.comments = r, r;
2091
2192
  }
2092
- }, Ke = class {
2193
+ }, Je = class {
2093
2194
  visit(e, t, n) {
2094
2195
  if (!t) return;
2095
2196
  let r = {};
2096
- e.copyFromAttribute(t, "id", r, "id", h);
2197
+ e.copyFromAttribute(t, "id", r, "id", _);
2097
2198
  let i = t.getAttribute("ref");
2098
- e.copyFromAttribute(t, "personId", r, "personId", h), e.copyFromAttribute(t, "parentId", r, "parentId", h), e.copyFromAttribute(t, "dT", r), t.hasAttribute("done") && (r.done = v(t.getAttribute("done")));
2099
- let a = {
2199
+ return e.copyFromAttribute(t, "personId", r, "personId", _), e.copyFromAttribute(t, "parentId", r, "parentId", _), e.copyFromAttribute(t, "dT", r, "dt"), t.hasAttribute("done") && (r.done = C(t.getAttribute("done"))), n.push({
2100
2200
  r: i,
2101
2201
  v: r
2102
- };
2103
- return n.push(a), r;
2202
+ }), r;
2104
2203
  }
2105
- }, qe = class {
2204
+ }, Ye = class {
2106
2205
  visit(e, t, n) {
2107
2206
  let r = [], i = t.childNodes, a = i.length;
2108
2207
  for (let t = 0; t < a; t++) {
2109
2208
  let n = i.item(t);
2110
2209
  if (n.nodeType === 1 && n.localName === "person") {
2111
2210
  let t = {};
2112
- e.copyFromAttribute(n, "id", t, "id", h), e.copyFromAttribute(n, "displayName", t), e.copyFromAttribute(n, "userId", t, "userId", h), e.copyFromAttribute(n, "providerId", t), r.push(t);
2211
+ e.copyFromAttribute(n, "id", t, "id", _), e.copyFromAttribute(n, "displayName", t), e.copyFromAttribute(n, "userId", t, "userId", _), e.copyFromAttribute(n, "providerId", t), r.push(t);
2113
2212
  }
2114
2213
  }
2115
2214
  return r.length > 0 && (n.persons = r), r;
2116
2215
  }
2117
- }, Je = class {
2216
+ }, Xe = class {
2118
2217
  constructor(e, t) {
2119
2218
  this.path = e, this.visitor = t;
2120
2219
  }
2121
- }, Ye = class {
2220
+ }, Ze = class {
2122
2221
  constructor() {
2123
- this.visitorsByXmlTagName = /* @__PURE__ */ new Map(), this.scopedVisitorsByXmlTagName = /* @__PURE__ */ new Map(), this.visitorParamsState = null, this.registerVisitor("Relationships", new G()), this.registerVisitor("cp:coreProperties", new le()), this.registerVisitor("Properties", new ue()), this.registerVisitor("spPr", new pe()), this.registerVisitor("txBody", new Y()), this.registerVisitor("txPr", new Y()), this.registerVisitor("c:chartSpace", new de()), this.registerVisitor("c:plotArea", new fe()), this.registerVisitor("c:barChart", new me()), this.registerVisitor("c:doughnutChart", new K()), this.registerVisitor("c:lineChart", new K()), this.registerVisitor("c:ofPieType", new K()), this.registerVisitor("c:pieChart", new K()), this.registerVisitor("c:scatterChart", new K()), this.registerVisitor("c:barChart", new q("dataLabels"), "dLbls"), this.registerVisitor("c:doughnutChart", new q("dataLabels"), "dLbls"), this.registerVisitor("c:lineChart", new q("dataLabels"), "dLbls"), this.registerVisitor("c:ofPieType", new q("dataLabels"), "dLbls"), this.registerVisitor("c:pieChart", new q("dataLabels"), "dLbls"), this.registerVisitor("c:scatterChart", new q("dataLabels"), "dLbls"), this.registerVisitor("c:ser", new he()), this.registerVisitor("c:dPt", new ge()), this.registerVisitor("c:marker", new _e()), this.registerVisitor("c:catAx", new J()), this.registerVisitor("c:valAx", new J()), this.registerVisitor("c:dateAx", new J()), this.registerVisitor("c:majorGridlines", new M("gridLinesMajor")), this.registerVisitor("c:minorGridlines", new M("gridLinesMinor")), this.registerVisitor("c:chartSpace", null, "txPr"), this.registerVisitor("c:catAx", new Y("labels.text"), "txPr"), this.registerVisitor("c:valAx", new Y("labels.text"), "txPr"), this.registerVisitor("c:dateAx", new Y("labels.text"), "txPr"), this.registerVisitor("c:legend", new ye()), this.registerVisitor("c:legend", new Y("labels.text"), "txPr"), this.registerVisitor("c:legendEntry", new ve()), this.registerVisitor("c:ser", new be(), "extLst/ext/invertSolidFillFmt/spPr"), this.registerVisitor("c:ser", new q("labels"), "dLbls"), this.registerVisitor("c:dLbl", new q("points")), this.registerVisitor("c:title", new X()), this.registerVisitor("c:title", null, "tx/rich"), this.registerVisitor("c:title", null, "txPr"), this.registerVisitor("c:layout", new xe()), this.registerVisitor("c:dispUnits", new M("dispUnits")), this.registerVisitor("c:dispUnitsLbl", new X("displayUnitsLabel")), this.registerVisitor("c:dispUnitsLbl", new Y(), "tx/rich"), this.registerVisitor("a:theme", new Se()), this.registerVisitor("a:theme", new Ce(), "themeElements/clrScheme"), this.registerVisitor("a:theme", new we(), "themeElements/fontScheme"), this.registerVisitor("a:theme", new Te(), "themeElements/fmtScheme"), this.registerVisitor("autoFilter", new De()), this.registerVisitor("sortState", new Oe()), this.registerVisitor("s:workbook", new ke()), this.registerVisitor("styleSheet", new Z()), this.registerVisitor("x14:table", new je()), this.registerVisitor("table", new Ae()), this.registerVisitor("externalLink", new Me()), this.registerVisitor("hlinkClick", new Ee()), this.registerVisitor("wsDr", new Fe()), this.registerVisitor("twoCellAnchor", new Q()), this.registerVisitor("oneCellAnchor", new Q()), this.registerVisitor("absoluteAnchor", new Q()), this.registerVisitor("graphicFrame", new Ie()), this.registerVisitor("sp", new Le()), this.registerVisitor("grpSp", new ze()), this.registerVisitor("cxnSp", new Be()), this.registerVisitor("pic", new Re()), this.registerVisitor("metadata", new Ve()), this.registerVisitor("rvStructures", new $()), this.registerVisitor("rvData", new He()), this.registerVisitor("comments", new Ue()), this.registerVisitor("comment", new We()), this.registerVisitor("comment", new Y("content"), "text"), this.registerVisitor("ThreadedComments", new Ge()), this.registerVisitor("threadedComment", new Ke()), this.registerVisitor("threadedComment", new Y("content"), "text"), this.registerVisitor("personList", new qe()), this.registerVisitor("slicerCacheDefinition", new Ne()), this.registerVisitor("slicers", new Pe());
2222
+ this.visitorsByXmlTagName = /* @__PURE__ */ new Map(), this.scopedVisitorsByXmlTagName = /* @__PURE__ */ new Map(), this.visitorParamsState = null, this.registerVisitor("Relationships", new ue()), this.registerVisitor("cp:coreProperties", new de()), this.registerVisitor("Properties", new fe()), this.registerVisitor("spPr", new he()), this.registerVisitor("txBody", new Y()), this.registerVisitor("txPr", new Y()), this.registerVisitor("c:chartSpace", new pe()), this.registerVisitor("c:plotArea", new me()), this.registerVisitor("c:barChart", new ge()), this.registerVisitor("c:doughnutChart", new K()), this.registerVisitor("c:lineChart", new K()), this.registerVisitor("c:ofPieType", new K()), this.registerVisitor("c:pieChart", new K()), this.registerVisitor("c:scatterChart", new K()), this.registerVisitor("c:barChart", new q("dataLabels"), "dLbls"), this.registerVisitor("c:doughnutChart", new q("dataLabels"), "dLbls"), this.registerVisitor("c:lineChart", new q("dataLabels"), "dLbls"), this.registerVisitor("c:ofPieType", new q("dataLabels"), "dLbls"), this.registerVisitor("c:pieChart", new q("dataLabels"), "dLbls"), this.registerVisitor("c:scatterChart", new q("dataLabels"), "dLbls"), this.registerVisitor("c:ser", new _e()), this.registerVisitor("c:dPt", new ve()), this.registerVisitor("c:marker", new ye()), this.registerVisitor("c:catAx", new J()), this.registerVisitor("c:valAx", new J()), this.registerVisitor("c:dateAx", new J()), this.registerVisitor("c:majorGridlines", new P("gridLinesMajor")), this.registerVisitor("c:minorGridlines", new P("gridLinesMinor")), this.registerVisitor("c:chartSpace", null, "txPr"), this.registerVisitor("c:catAx", new Y("labels.text"), "txPr"), this.registerVisitor("c:valAx", new Y("labels.text"), "txPr"), this.registerVisitor("c:dateAx", new Y("labels.text"), "txPr"), this.registerVisitor("c:legend", new xe()), this.registerVisitor("c:legend", new Y("labels.text"), "txPr"), this.registerVisitor("c:legendEntry", new be()), this.registerVisitor("c:ser", new Se(), "extLst/ext/invertSolidFillFmt/spPr"), this.registerVisitor("c:ser", new q("labels"), "dLbls"), this.registerVisitor("c:dLbl", new q("points")), this.registerVisitor("c:title", new X()), this.registerVisitor("c:title", null, "tx/rich"), this.registerVisitor("c:title", null, "txPr"), this.registerVisitor("c:layout", new Ce()), this.registerVisitor("c:dispUnits", new P("dispUnits")), this.registerVisitor("c:dispUnitsLbl", new X("displayUnitsLabel")), this.registerVisitor("c:dispUnitsLbl", new Y(), "tx/rich"), this.registerVisitor("a:theme", new we()), this.registerVisitor("a:theme", new Te(), "themeElements/clrScheme"), this.registerVisitor("a:theme", new Ee(), "themeElements/fontScheme"), this.registerVisitor("a:theme", new De(), "themeElements/fmtScheme"), this.registerVisitor("autoFilter", new ke()), this.registerVisitor("sortState", new Ae()), this.registerVisitor("s:workbook", new je()), this.registerVisitor("styleSheet", new Z()), this.registerVisitor("x14:table", new Ne()), this.registerVisitor("table", new Me()), this.registerVisitor("externalLink", new Pe()), this.registerVisitor("hlinkClick", new Oe()), this.registerVisitor("wsDr", new Le()), this.registerVisitor("twoCellAnchor", new Q()), this.registerVisitor("oneCellAnchor", new Q()), this.registerVisitor("absoluteAnchor", new Q()), this.registerVisitor("graphicFrame", new Re()), this.registerVisitor("sp", new ze()), this.registerVisitor("grpSp", new Ve()), this.registerVisitor("cxnSp", new $()), this.registerVisitor("pic", new Be()), this.registerVisitor("metadata", new He()), this.registerVisitor("rvStructures", new Ue()), this.registerVisitor("rvData", new We()), this.registerVisitor("comments", new Ge()), this.registerVisitor("comment", new Ke()), this.registerVisitor("ThreadedComments", new qe()), this.registerVisitor("threadedComment", new Je()), this.registerVisitor("threadedComment", new Y("content"), "text"), this.registerVisitor("personList", new Ye()), this.registerVisitor("slicerCacheDefinition", new Fe()), this.registerVisitor("slicers", new Ie());
2124
2223
  }
2125
2224
  registerVisitor(e, t, n = null) {
2126
2225
  e.indexOf(":") === -1 && (e = "*:" + e);
2127
2226
  let r = e.split(":"), i = r.length > 1 ? r[1] : r[0];
2128
2227
  if (!n) return this.visitorsByXmlTagName.set(i, t), void this.visitorsByXmlTagName.set(e, t);
2129
2228
  let a = this.scopedVisitorsByXmlTagName.get(i);
2130
- a || (a = [], this.scopedVisitorsByXmlTagName.set(i, a), this.scopedVisitorsByXmlTagName.set(e, a)), a.push(new Je(n, t));
2229
+ a || (a = [], this.scopedVisitorsByXmlTagName.set(i, a), this.scopedVisitorsByXmlTagName.set(e, a)), a.push(new Xe(n, t));
2131
2230
  }
2132
- parseDxf(e, t = "") {
2231
+ parseDxf(t, n = "", r = e.EmptyObject) {
2133
2232
  this.visitorParamsState ||= /* @__PURE__ */ new Map();
2134
- let n = this.visitorParamsState, r = n.get("processingDXFs");
2135
- n.set("processingDXFs", !0);
2233
+ let i = this.visitorParamsState, a = i.get("processingDXFs");
2234
+ i.set("processingDXFs", !0);
2136
2235
  try {
2137
- let n = new C(null, this, "/dxf", e, {}, t), r = {};
2138
- return new Z().processDXF(n, e, r), r;
2236
+ let e = new w(null, this, "/dxf", t, {}, n, r), i = {};
2237
+ return new Z().processDXF(e, t, i), i;
2139
2238
  } finally {
2140
- r === void 0 ? n.delete("processingDXFs") : n.set("processingDXFs", r);
2239
+ a === void 0 ? i.delete("processingDXFs") : i.set("processingDXFs", a);
2141
2240
  }
2142
2241
  }
2143
2242
  getVisitorParamsState() {
@@ -2148,7 +2247,7 @@ var re = class {
2148
2247
  this.visitorParamsState && !r?.paramMap || (this.visitorParamsState = r?.paramMap ?? /* @__PURE__ */ new Map());
2149
2248
  let a = {}, o = this.visitorsByXmlTagName.get(i.nodeName);
2150
2249
  if (o ||= this.visitorsByXmlTagName.get(i.localName), !o) throw Error(`A visitor for the root element: '${i.nodeName}' or '${i.localName}' must be registered.`);
2151
- let s = "/" + i.localName, c = new C(null, this, s, i, a, n, r), l = [];
2250
+ let s = "/" + i.localName, c = new w(null, this, s, i, a, n, r), l = [];
2152
2251
  this._doWalk(o, c, l, i, a, n, r);
2153
2252
  let u = l.length;
2154
2253
  for (let e = 0; e < u; e++) {
@@ -2156,7 +2255,7 @@ var re = class {
2156
2255
  try {
2157
2256
  t.visitor?.afterVisit?.(t.context, t.elemParent, t.jsonParent);
2158
2257
  } catch (e) {
2159
- console.warn(`Error in afterVisit: ${t.context.getPath()}`, e);
2258
+ t.context.warn(`Unable to finish reading '${t.context.getPath()}': ${e?.message ?? e}`, { onceKey: "xlsx.transform.afterVisit" });
2160
2259
  }
2161
2260
  }
2162
2261
  return a;
@@ -2168,7 +2267,7 @@ var re = class {
2168
2267
  try {
2169
2268
  u = t.evaluate(c.path, r);
2170
2269
  } catch {
2171
- console.warn(`"Invalid path '${c.path}' for '${e}'.`);
2270
+ t.warn(`Invalid path '${c.path}' for '${e}'.`, { onceKey: "xlsx.transform.invalidPath" });
2172
2271
  }
2173
2272
  if (!u) continue;
2174
2273
  let d = (e) => {
@@ -2176,7 +2275,7 @@ var re = class {
2176
2275
  for (; l && l !== r;) s = l.localName + "/" + s, l = l.parentNode;
2177
2276
  let u = t.getPath() + "/" + s;
2178
2277
  if (c.visitor) {
2179
- let r = new C(t, this, u, t.getElemRoot(), t.getJsonRoot(), a, o);
2278
+ let r = new w(t, this, u, t.getElemRoot(), t.getJsonRoot(), a, o);
2180
2279
  this._doWalk(c.visitor, r, n, e, i, a, o);
2181
2280
  }
2182
2281
  };
@@ -2202,10 +2301,10 @@ var re = class {
2202
2301
  if (r.nodeType !== 1) continue;
2203
2302
  let c = r, p = c.nodeName, m = l.get(p);
2204
2303
  m ||= (p = c.localName, l.get(p));
2205
- let h = t.getPath() + "/" + p, g = new C(t, this, h, u, d, a, o);
2304
+ let h = t.getPath() + "/" + p, g = new w(t, this, h, u, d, a, o);
2206
2305
  this._doWalk(m, g, n, c, s ?? i, a, o);
2207
2306
  }
2208
2307
  return s;
2209
2308
  }
2210
2309
  };
2211
- export { Ye as DOMTransformer, C as ExecutionContext, te as NumberUtils, oe as VisitorUtils };
2310
+ export { Ze as DOMTransformer, w as ExecutionContext, ee as NumberUtils, T as VisitorUtils };