@sheetxl/mcp 0.8.0-beta.24 → 1.0.0

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 (213) hide show
  1. package/assets/{Cf0zmfQYfJ7zM0Ya.js → 0WuReGsjIpidu0Cr.js} +1 -1
  2. package/assets/{B6caaQsfOpFEgYQ4.js → 13QanvzRbNib7VHR.js} +1 -1
  3. package/assets/{DGI_8HyNF0eAv0P5.js → 2c1OYsVAy_w-ex-F.js} +1 -1
  4. package/assets/{B-t1q2NS61c2B8E4.js → 8114GVvAL1oaiJLV.js} +1 -1
  5. package/assets/{B16G2473LTkZP6Mq.js → 8hLtXHueDl7B_SEn.js} +1417 -1356
  6. package/assets/{DRzZ4bEyLRGVOLzV.js → 8mWHFnE0j-CaNsxr.js} +1 -1
  7. package/assets/{DaF9L7No8h8a-cqb.js → B-b7HyruDF2gdj3R.js} +2 -2
  8. package/assets/{CmkgQ5-IG0BSCM3R.js → B3J6davzttys1e7l.js} +3 -3
  9. package/assets/{doqBmhonQlHp-1Ud.js → B3lrS_GHkG6Mw5pN.js} +1 -1
  10. package/assets/{CnI4Nli8vtWdFKvf.js → B5rrqMYFybo3oW9k.js} +21 -21
  11. package/assets/{D6d1DKL15m52ZCuC.js → BB39UJoWw8tjThqY.js} +1 -1
  12. package/assets/{DtVSjxL6N_7WyM8Z.js → BBF_CDIKB2NIXiHg.js} +1 -1
  13. package/assets/{DE7G34oYbvrfXbJ7.js → BBLuTiY3V4MpFphK.js} +294 -294
  14. package/assets/{DM-yGHahbfA_uarn.js → BBZUslaSLC0vlZEb.js} +1 -1
  15. package/assets/{sJVPCrgeh0U6LbAK.js → BCdXK-2-AE6FAdRs.js} +1 -1
  16. package/assets/{CUYQlZz5zWsUdmRy.js → BF0C-5gSMHWBXI_k.js} +1 -1
  17. package/assets/{Xccc6oxtlSvJUDsC.js → BKGTzaNNBlRh7ua3.js} +1 -1
  18. package/assets/BOa1dD_9H3g65WbP.js +14 -0
  19. package/assets/{C-nA4SXN5hWHaxV6.js → BPlrBhzIqyWK19E2.js} +526 -526
  20. package/assets/{xD41vsQY6h60lCqz.js → BR4Wpxs0eSlaoLOl.js} +8 -8
  21. package/assets/{CSXmTA6w6Pnbtqvb.js → BTB4fa2DU21pP7At.js} +1 -1
  22. package/assets/{bv3fZLUPzd14I58C.js → BTamKr78GfsihW1a.js} +485 -485
  23. package/assets/{BPNLZ07Bu_B8Yhf1.js → BVfjBXAMgo4u8Y72.js} +1 -1
  24. package/assets/{TZnuVwhVjkOBax9F.js → BaZAIwIrqn1x69WH.js} +2 -2
  25. package/assets/{b8yACuWy67eIj_j2.js → Ban4yk1SYcz9Cs7n.js} +1 -1
  26. package/assets/{Ds4TB1hn56-RK6_f.js → BfB7Vq09p5uO-L88.js} +1 -1
  27. package/assets/{DOSWSyKkK4eSi4PD.js → BfEmSaLbKgcjIIpn.js} +2 -2
  28. package/assets/{DkQ4kxEKhKYQgfjK.js → Bfpf9b1s1bWyBXIw.js} +1 -1
  29. package/assets/{BrYc6PLonux_gI6b.js → BgHOi7rAHLhztiz-.js} +215 -215
  30. package/assets/{3VycPrqi6qgLOgGY.js → BgN67gyTyx_xz2Ny.js} +6 -6
  31. package/assets/{yz2PTfYm_8EGJPM5.js → BhxIJ8xdUxyMPJ_m.js} +1 -1
  32. package/assets/{Jy-_0a72nn5Iv1NK.js → BlMUrEA8V2S2KH0D.js} +1 -1
  33. package/assets/{CM-q_J5aF6YXmjeu.js → BloJ-e8xad1b_H7X.js} +3 -3
  34. package/assets/{C6PNMev7cs5JLgwy.js → Bm-wDNSoT-3JD2bJ.js} +1 -1
  35. package/assets/{BaYk1vO2hP2S3_1w.js → BoE9cj92LVH2LLy0.js} +2 -2
  36. package/assets/{g2Nu44uuSJFMzxEV.js → BqH4txhrgR2S-2ji.js} +2 -2
  37. package/assets/{DPYFRLJbHGlrcrJq.js → BrHXHm2FNXsL53bo.js} +2 -2
  38. package/assets/{CnKX5SPVE2iuSK42.js → BuFb0lPxYlHccrD9.js} +1 -1
  39. package/assets/{BkekCZ17YTtd07_C.js → ByGn4tk2SE1MH_sZ.js} +2 -2
  40. package/assets/{Cxzowsi6ASdZtzeI.js → C1IE0F-y65XqEYRl.js} +1 -1
  41. package/assets/{7vPlH3_rhJxmmBvG.js → C1JeIUEWW-RL1Rnu.js} +1 -1
  42. package/assets/{a2e_g9YI3J-lUD7-.js → C2sDVxKGBNlTFg6y.js} +1 -1
  43. package/assets/{D_tdoUtUe7cApQJn.js → C30apcFVvDHn2M4R.js} +4 -4
  44. package/assets/{TdDTOcC1TYhk6UuR.js → C3c2PUtIo-aWbjw4.js} +1 -1
  45. package/assets/{suLYEZBtGUhSYeB7.js → C4C3Ot0xeo1O0wm5.js} +1 -1
  46. package/assets/{By1QPrSxtnRiJu0R.js → C8zzCf71C976X7SG.js} +2 -2
  47. package/assets/{BxwB3iTNSE1TgHkb.js → CCS6r_ru_-bq12nu.js} +1 -1
  48. package/assets/{DNSWaXblwhTtI3w7.js → CDDtXZTG6nNFBQZP.js} +1 -1
  49. package/assets/{DL8pez0eKo8arYPj.js → CEa6wNiDRZrans9S.js} +3 -3
  50. package/assets/{Daaro0HbHkKXkBP-.js → CF1fqmS030ry2XQ0.js} +2 -2
  51. package/assets/{P6V3JAiRpC3BWceC.js → CFqF3aUKvOGFOK9O.js} +1 -1
  52. package/assets/{BH7ctzMzOYVTGxzA.js → CI8Pu3ko8VzQYdRD.js} +1 -1
  53. package/assets/{9GnbVPKozgrJpeLW.js → CICMJpasl9o4FaZi.js} +1 -1
  54. package/assets/{CIw6ZC3K9x-ccacl.js → CJcyMzG19TOjqNHS.js} +1 -1
  55. package/assets/{2YT_wstXIH6UIigi.js → CJoREr6-3iOl7iU_.js} +1 -1
  56. package/assets/{B4uS01J0mrSJSftQ.js → CMd7aLIwOA7bxcZm.js} +88 -88
  57. package/assets/{CpvJUGg9ckuCIpIS.js → CNikOloX_losH8Nz.js} +1 -1
  58. package/assets/{C0uu0vLKQh0S508B.js → CRZMD-wS-944FnD_.js} +40 -40
  59. package/assets/{CJ2hV-9ipqOEkLSG.js → CRlLpD9cfhJ9Ov9L.js} +1 -1
  60. package/assets/{DwNcvKM47ZHfvQM6.js → CS07BBUu6ZtXk4TZ.js} +1 -1
  61. package/assets/{DyiH3LlinD-38bG7.js → CX-LNahzNZRc78er.js} +1 -1
  62. package/assets/{DuEtCJEnG_GnJzTX.js → CY3Lmr-fgs6NqXRp.js} +1 -1
  63. package/assets/{KMzONx2Ps841nJHj.js → CbkCnjWs7Fpj5iQY.js} +8 -8
  64. package/assets/{Dlqk7XqKnAZ8Pcj3.js → CdbucPAmUkkc5pcM.js} +155 -156
  65. package/assets/{DRq6lQLndj73WT35.js → CfBJzpZuy1o216iZ.js} +1 -1
  66. package/assets/{Dk9zYXO3VoBhTdex.js → CoSNTR-pg7BZAU7o.js} +1 -1
  67. package/assets/{CFWwwr74qRKOBrg9.js → CpoqmW4E7rFdkRpf.js} +1 -1
  68. package/assets/{BAVltO4Xf7lC0Xr6.js → Cs1df4D35bBjqyvX.js} +1 -1
  69. package/assets/{DIgPlkEabQdKNUQn.js → CsPyLus3kh4QnahD.js} +1 -1
  70. package/assets/{DXCTHw-ZutNIuo_2.js → Cwe_kiigxAfceEK9.js} +1 -1
  71. package/assets/{CzRvg04_TIbwBH5C.js → CwzSgovxnBMrgLmJ.js} +3 -3
  72. package/assets/{BnNB_ejvNaLu6B3o.js → D31pY9r4JAFWw3E4.js} +1 -1
  73. package/assets/DCWHNfq5qCxvALwe.js +199 -0
  74. package/assets/{DGOgx3-IyO8bjF_t.js → DF9WfdyjHuCpsEXh.js} +63 -63
  75. package/assets/{LM2rVDHdB0jVUFcT.js → DOIpXsEXCaI-8VwJ.js} +1 -1
  76. package/assets/{76dPHG5RYA7MUV_g.js → DOXj80NXiglJXsMZ.js} +3 -3
  77. package/assets/{CR1aLf7CWEfPTO9a.js → DQ2vEDfVfsIGSmId.js} +1 -1
  78. package/assets/{Dhy6iU_09lrQnOAV.js → DQtnL5nOzSzVJhit.js} +61 -61
  79. package/assets/{CCF6CwJ6cbeLRl23.js → DRcmbp80jMRjxelW.js} +1 -1
  80. package/assets/{CFNtPYPfDPH-3BXK.js → DRy0AcTiSKQY3bih.js} +1 -1
  81. package/assets/{tWO-mE87mAuj1qih.js → DWr6GqsnMpLwSUno.js} +2 -2
  82. package/assets/{ByYJTTTUuu67hDF-.js → DXrX5tIZ1J5BhpFk.js} +4 -4
  83. package/assets/{CmwNIrRssYuLN2fn.js → DZxHk5oKIVvu3iJR.js} +458 -458
  84. package/assets/{CbJWbjmv4bz4ppIZ.js → Da0CtWhc7saaOdER.js} +318 -318
  85. package/assets/{mZt9BTEejCJZ4YK4.js → Dbi1_JHT_4u0nhwc.js} +1 -1
  86. package/assets/{C9iFJ52KwQTePQ81.js → Dcw7GSCgw_dgsum7.js} +11490 -11497
  87. package/assets/{fEfisM0E2fUYKIyU.js → DfuY8GdoSk8LxDFW.js} +5 -5
  88. package/assets/{CT4czEKWIj1GeQN8.js → DlARYdaCOVKiQzMH.js} +1 -1
  89. package/assets/{BJwiwzwx4Bl5L4Vq.js → DngX5ZuqqFGTp44B.js} +1 -1
  90. package/assets/{DFVQIZ2zZyAphhCF.js → DpwdC4SN_VYB9_ho.js} +1 -1
  91. package/assets/{CIY_RiLu1_FmRLAA.js → Dst0tyK__q2Q_AKk.js} +1 -1
  92. package/assets/{BrJd9jVVv9SQzZol.js → DvHZEP1wpb6549uf.js} +423 -423
  93. package/assets/{DMDTS0LH9Ke9t-3z.js → DzYvbv5u7E2H7IoB.js} +12 -7
  94. package/assets/{BjyXkr-CzV8mVx0t.js → G489eYf-lt3D1riX.js} +1 -1
  95. package/assets/{CKD460cQOgwF6uSV.js → L42Y17f0HUEpfS6U.js} +1 -1
  96. package/assets/{flby0g5gyZ9P2Wu2.js → O3m_QwxIRXMPFTB8.js} +1 -1
  97. package/assets/{7IzItpr7MkdnaAwh.js → P3Or6rEY-fHmQZbH.js} +69 -69
  98. package/assets/{DaHD9SY75O8wDy3p.js → PAzPVx_0jajb_7cO.js} +2 -2
  99. package/assets/{DJfpKncnYnrr28G0.js → PvRzzufo1V8BuC-I.js} +1 -1
  100. package/assets/{CFT_tDogP98gTbh7.js → Sm1ouHLiXlCuQVKV.js} +79 -79
  101. package/assets/{D-vo2bQyAmStQmD9.js → WC-THJfezYSFdiMF.js} +1 -1
  102. package/assets/{DczQhB3mRSUw6GCf.js → YK80feN98r6GVZv5.js} +1 -1
  103. package/assets/{DPLTGglaPovTg9e5.js → cl0C9YlF3Ds-lHps.js} +1 -1
  104. package/assets/{BXWGS09xFG81nnIT.js → eExV3IoVMxYkv5GO.js} +1 -1
  105. package/assets/{qc7rA-Z3a4rkVQPx.js → g3TrQtFS0qJZeshT.js} +215 -215
  106. package/assets/{B8bEJ65vQRqsfBlS.js → gf6l-4XXMXtq8hpJ.js} +5 -5
  107. package/assets/{CEk658HeLJk2cAjM.js → hiKRbrdbpmJglbWC.js} +3 -3
  108. package/assets/{D8k9de_hen-KqBWe.js → j4zqu8S2Be_yum7W.js} +1 -1
  109. package/assets/{Ch9w7xFxVMrvGuC_.js → jNZ7exipVCGRPbzr.js} +1 -1
  110. package/assets/{MosMza0-rXD8uHX_.js → kThU6e6dkzEoaK6n.js} +2 -2
  111. package/assets/{DJGYlGr2Zj7SkYqc.js → knMcDWv3xN7yJBTT.js} +1 -1
  112. package/assets/{BJqo8c5bFKjnq69G.js → ov7L79VlksT4fw7T.js} +11 -11
  113. package/assets/{BifwlrCmEVtjh_1U.js → pLM8Pxl1CscUdvMh.js} +1 -1
  114. package/assets/{NAWWzA_hk4wYtsPP.js → pfa2CH5NQuzku6FP.js} +2 -2
  115. package/assets/{B-5mBXpY9i6-eCrZ.js → q6advQx4x6PXvl0i.js} +35 -35
  116. package/assets/{BWLavTnANLUerdS0.js → qVBjd-c5B8neljc0.js} +2 -2
  117. package/assets/{DqSBb1HmgeU7eg_i.js → rlgXnCh6A88ozBRz.js} +110 -110
  118. package/assets/{DUbIxDAzW1dzrtdI.js → rzi2XAwlfy8BsGEa.js} +1 -1
  119. package/assets/{B7lATTNffVTrDsKE.js → xGASRbzSVVKfEAh-.js} +2 -2
  120. package/assets/{BkHeIMSE7-LehRCs.js → ybnQoU8_KttlHjiy.js} +1 -1
  121. package/index.js +145 -145
  122. package/lib.js +1 -1
  123. package/licenses/dependencies.txt +45 -45
  124. package/package.json +2 -2
  125. package/screenshot-page/assets/-HdF7KAN8PKqrASL.js +1 -0
  126. package/screenshot-page/assets/{C_YKEkTsGB_5gFNg.js → 0P0DnZolMnjPhiea.js} +2 -2
  127. package/screenshot-page/assets/{FcTM4SB17cEX1M3X.js → 5Y11BWntgqmzo9dz.js} +1 -1
  128. package/screenshot-page/assets/{Cx9eq2x1gIXGki3Q.js → B-E9Dzx1wh9RA2yC.js} +1 -1
  129. package/screenshot-page/assets/{CXwbGzavyvYgDbWU.js → B0CDAMDdxSN4en9k.js} +1 -1
  130. package/screenshot-page/assets/B39YZkEvc1U8ZQ8H.js +2 -0
  131. package/screenshot-page/assets/B8Dy_WA9RlWuvMqF.js +4 -0
  132. package/screenshot-page/assets/BAzHRU12l2vyyXq-.js +39 -0
  133. package/screenshot-page/assets/{DR-og7vslxlOZd8j.js → BGIujWi3UayyIWlg.js} +1 -1
  134. package/screenshot-page/assets/BNjmzbnQlBmX-HPQ.js +1 -0
  135. package/screenshot-page/assets/{B-0-chiwq4MIUQy9.js → BOF6KOmT8mH_NQnA.js} +1 -1
  136. package/screenshot-page/assets/{DcrVJCyDwGKeil2U.js → BQTLEc84Eql61S2m.js} +1 -1
  137. package/screenshot-page/assets/{clrFU8i-0wNkmbs7.js → BfkbiKKbYlPpRZqZ.js} +1 -1
  138. package/screenshot-page/assets/{DGkaCFHx4PsOJkFu.js → BhHceo22V3IBfap0.js} +1 -1
  139. package/screenshot-page/assets/{Cx1kZ2u_8JFV2Q8D.js → BiRVjUOUI8Qv0CE1.js} +1 -1
  140. package/screenshot-page/assets/{D6EXAYU-ZH8hjx_7.js → Bne-AygyF1USkPAy.js} +2 -2
  141. package/screenshot-page/assets/{Dkf51CnZh2zPEGMd.js → BpJaTpbR_CQzXj9M.js} +1 -1
  142. package/screenshot-page/assets/{B7pXfEVkcbaMBMhc.js → BrEXXxB9tAI5mmZP.js} +1 -1
  143. package/screenshot-page/assets/{CwCu_r0BW41uLt3P.js → Bt7fKk5ZupUuo_xD.js} +2 -2
  144. package/screenshot-page/assets/BwYQTcPRDDYIeAA5.js +586 -0
  145. package/screenshot-page/assets/ByyC3p23DsLAbUpr.js +1 -0
  146. package/screenshot-page/assets/{D7Yt7xmUlA6-Lq0Q.js → BzI5CCx73aXausKb.js} +9 -9
  147. package/screenshot-page/assets/{DM6hr-bvWV50-Oex.js → C-2hBFk27roWkIrQ.js} +2 -2
  148. package/screenshot-page/assets/{BTJ1NNUzHotNDiDe.js → CAKBmg6tXRtjEWgb.js} +2 -2
  149. package/screenshot-page/assets/CALWodHqzUTIv9le.js +5 -0
  150. package/screenshot-page/assets/{BcZPWw18bdj_ZvA9.js → CGNsyKbDXXz9qMa2.js} +1 -1
  151. package/screenshot-page/assets/CGZYePkVGI5DPBBY.js +1 -0
  152. package/screenshot-page/assets/{Bfq6-treWd_rRiWl.js → CJAgr6wyQGYAd3ZV.js} +1 -1
  153. package/screenshot-page/assets/{BKwDvElKinpn1IK0.js → CL_hAngRQwm_KGdR.js} +1 -1
  154. package/screenshot-page/assets/COL9dj40ytErlGak.js +2 -0
  155. package/screenshot-page/assets/CWA4xGjOeBuxJOzW.js +3 -0
  156. package/screenshot-page/assets/{r2HZG9_SMzF3__ID.js → CX-ITg5RXdV2cefd.js} +6 -6
  157. package/screenshot-page/assets/{C7mXat-6esc1AmRD.js → CXeDqC02BZcixiHS.js} +2 -2
  158. package/screenshot-page/assets/{Pt9ne0xkE2icD3Ih.js → CZaKvnrRdlLj1_X8.js} +1 -1
  159. package/screenshot-page/assets/{a3fvt1Klg1uGE7p6.js → Cg9eIWL8fPmeZFHG.js} +7 -7
  160. package/screenshot-page/assets/{DyxJBLjUkeDuu96F.js → CltB1nb5HHSmYrNG.js} +1 -1
  161. package/screenshot-page/assets/{FqdZRM336KMEcsbU.js → Cq1EzIAt4dHBkzfP.js} +1 -1
  162. package/screenshot-page/assets/{D6Yv5cc1JE7DGd6j.js → CqBSIwwGzWl8mrBe.js} +1 -1
  163. package/screenshot-page/assets/D2TibFqUBAPLcu_2.js +1 -0
  164. package/screenshot-page/assets/{ChSvXfVMLxZsP9zG.js → D4RZZdlItfrgQHcE.js} +1 -1
  165. package/screenshot-page/assets/{J73KTOmdZGNmnq-z.js → D72Rp__0TEqJ972a.js} +1 -1
  166. package/screenshot-page/assets/D8EmNst-H2v0eWcf.js +1 -0
  167. package/screenshot-page/assets/{Tj3B5At0OAN3tDza.js → DACqwpSwlZka3b7s.js} +1 -1
  168. package/screenshot-page/assets/DEy3e1rY-XMdI309.js +1 -0
  169. package/screenshot-page/assets/{CI3Z1f4amZ9G2rPD.js → DJebrQ5mu8uxpX3b.js} +1 -1
  170. package/screenshot-page/assets/{DynKB5GH-vfFMJEy.js → DOsZiE9rOdS_Mm2Q.js} +1 -1
  171. package/screenshot-page/assets/{CSFFMEKyxEFaykqL.js → DTAKTGn53yF_B621.js} +1 -1
  172. package/screenshot-page/assets/{D6Ciix7JAZtdKqmj.js → DYYzsN95gWMsxOaj.js} +1 -1
  173. package/screenshot-page/assets/{DOVt9zHz7FQ2KUQM.js → Da_VIghRFdNrmfZT.js} +1 -1
  174. package/screenshot-page/assets/DaqAdr-mtpVZMOS8.js +2 -0
  175. package/screenshot-page/assets/{0UZBKpOOsp7P-DkP.js → DdmX3djBOA6UCZtf.js} +2 -2
  176. package/screenshot-page/assets/{DEpn6VGd30cHEJOS.js → DfQS5zAy3pN31xNb.js} +1 -1
  177. package/screenshot-page/assets/DhnaoxNYwMobAVP6.js +1 -0
  178. package/screenshot-page/assets/{B-8IMo2f1yGNXOyz.js → GxbRmvyoKhHl0ZYY.js} +13 -8
  179. package/screenshot-page/assets/{zvxBjll3jnL0-vNn.js → Np3jWxG724t5hLHZ.js} +2 -2
  180. package/screenshot-page/assets/{Bg9UyX4yrB2mSdJt.js → QVGvXAvlw1c8vZjy.js} +12 -12
  181. package/screenshot-page/assets/{BbT5KRhoeAKLzy54.js → d8BvDCByceUNvHp7.js} +2 -2
  182. package/screenshot-page/assets/eR9_DaySoB72PvMo.js +1 -0
  183. package/screenshot-page/assets/{CtiTwHzd_ZSzd3W2.js → hB5riGkPy0wXVIig.js} +1 -1
  184. package/screenshot-page/assets/hHvAGynpTvAb97GX.js +1 -0
  185. package/screenshot-page/assets/jFfcyGJ9xruiOUyS.js +1 -0
  186. package/screenshot-page/assets/{DmDFKv_3APEWI-IY.js → jKvAZg0Tp701aw1o.js} +2 -2
  187. package/screenshot-page/assets/{DACSL7FA_J91Z_H7.js → jteb4n23QwBT9m_4.js} +1 -1
  188. package/screenshot-page/assets/mzrDp0emvkWnkXBt.js +1 -0
  189. package/screenshot-page/index.html +15 -15
  190. package/types/scripting-api.json +1 -1
  191. package/types/scripting.d.ts +2 -2
  192. package/assets/6CBUVbF01Bedq0e2.js +0 -199
  193. package/assets/Dfv_T_PQVL0O3lu5.js +0 -14
  194. package/screenshot-page/assets/BDRMUi2BsnBqytIq.js +0 -2
  195. package/screenshot-page/assets/BEjJHVSbtlsNtoq7.js +0 -3
  196. package/screenshot-page/assets/BIuMiduMHSsTGacU.js +0 -2
  197. package/screenshot-page/assets/BPMQ22uISGOm3ymr.js +0 -1
  198. package/screenshot-page/assets/Bxq4FCQhyPbVhhaR.js +0 -2
  199. package/screenshot-page/assets/CNB6WmYfGVZjlCKV.js +0 -5
  200. package/screenshot-page/assets/CXeJV1BW2CVemhPE.js +0 -1
  201. package/screenshot-page/assets/CkxmJxdtjBIxYoMq.js +0 -1
  202. package/screenshot-page/assets/D43IayseD2Cy8OZo.js +0 -4
  203. package/screenshot-page/assets/D8KyhLvfyjLZW92H.js +0 -39
  204. package/screenshot-page/assets/DBxAatsD6aWk7Zb6.js +0 -586
  205. package/screenshot-page/assets/DMhOGCTy8V0N14gY.js +0 -1
  206. package/screenshot-page/assets/DSTlKGmqncM7XHeW.js +0 -1
  207. package/screenshot-page/assets/Dh14XQinAphjZOKC.js +0 -1
  208. package/screenshot-page/assets/Dt8JxbBBr2TeDflQ.js +0 -1
  209. package/screenshot-page/assets/Dxi-bXNjS-CpC5Qr.js +0 -1
  210. package/screenshot-page/assets/Oay0yGsGYgJDzy8r.js +0 -1
  211. package/screenshot-page/assets/QZg76Jflu3Q808W3.js +0 -1
  212. package/screenshot-page/assets/WTrYzPnMQhYDILMR.js +0 -1
  213. package/screenshot-page/assets/qFyplGXRu7IepHio.js +0 -1
@@ -1,18 +1,18 @@
1
1
  /**
2
- * @license @sheetxl/mcp - MCP server exposing SheetXL spreadsheet operations as tools and resources. - v0.8.0-beta.24
2
+ * @license @sheetxl/mcp - MCP server exposing SheetXL spreadsheet operations as tools and resources. - v1.0.0
3
3
  *
4
4
  * (C) 2026-present SheetXL Inc. & Michael T. Ford
5
5
  * License: SheetXL EULA — https://www.sheetxl.com/eula
6
6
  */
7
- import { Q as t, h as e, ht as n, ot as o, xt as s } from "./DMDTS0LH9Ke9t-3z.js";
8
- import { Et as r, G as a, Gt as i, N as l, O as c, U as d, ct as m, m as p, mt as f, wt as h, y as u, zt as g } from "./B16G2473LTkZP6Mq.js";
9
- import { f as x, o as y, p as v, u as w } from "./DRzZ4bEyLRGVOLzV.js";
10
- import { B as S, Dt as b, Qr as C, U as k, Wr as T, X as I, _i as R, do as F, et as E, ir as M, k as P, l as A, pa as D, qr as L } from "./C9iFJ52KwQTePQ81.js";
11
- import { u as _, y as N } from "./CbJWbjmv4bz4ppIZ.js";
12
- import { n as $ } from "./fEfisM0E2fUYKIyU.js";
13
- import { F as B, _t as O, gt as V, pt as W, vt as z, yt as j } from "./BAVltO4Xf7lC0Xr6.js";
14
- import { $t as X, A as H, An as U, At as G, Ct as q, D as J, Dn as K, Dr as Y, Dt as Z, En as Q, Et as et, F as nt, Ft as ot, G as st, Gn as rt, Gt as at, It as it, J as lt, Jn as ct, Jt as dt, Kn as mt, Kt as pt, L as ft, Lt as ht, M as ut, Mn as gt, Mt as xt, O as yt, Or as vt, Ot as wt, P as St, Pn as bt, Pt as Ct, Qn as kt, R as Tt, Rt as It, Sn as Rt, Sr as Ft, St as Et, Tn as Mt, Tr as Pt, Tt as At, U as Dt, Un as Lt, Ut as _t, Vt as Nt, W as $t, Wn as Bt, Xt as Vt, Yn as Wt, Yt as zt, Z as jt, Zt as Xt, _ as Ht, _r as Ut, ar as Gt, at as qt, b as Jt, bn as Kt, bt as Yt, c as Zt, cn as Qt, cr as te, ct as ee, d as ne, dn as oe, dr as se, dt as re, er as ae, et as ie, fr as ce, ft as de, gn as me, gr as pe, h as fe, hn as he, ht as ue, i as ge, ir as xe, it as ye, j as ve, jn as we, jr as Se, k as be, kn as Ce, kt as ke, l as Te, lr as Ie, lt as Re, n as Fe, nn as Ee, nt as Me, on as Pe, or as Ae, p as De, pn as Le, pr as _e, pt as Ne, qn as $e, r as Be, rn as Oe, rr as Ve, sn as We, st as ze, t as je, tn as Xe, tr as He, u as Ue, un as Ge, ur as qe, vn as Ke, vt as Ye, w as Ze, wn as Qe, wt as tn, y as en, yn as nn, yr as on, z as sn, zn as rn, zt as an } from "./bv3fZLUPzd14I58C.js";
15
- import { i as ln, l as cn, n as dn, o as mn, s as pn, t as fn } from "./DqSBb1HmgeU7eg_i.js";
7
+ import { Q as t, h as e, ht as n, ot as o, xt as s } from "./DzYvbv5u7E2H7IoB.js";
8
+ import { D as r, J as a, Jt as i, L as l, Lt as c, Ot as d, Xt as m, b as p, ct as f, s as h, w as u, x as g } from "./8hLtXHueDl7B_SEn.js";
9
+ import { f as x, o as y, p as v, u as w } from "./8mWHFnE0j-CaNsxr.js";
10
+ import { Ai as S, Ir as b, Kt as C, O as k, Pn as T, Qa as I, Sn as R, Wn as F, Zr as E, ba as M, ir as P, kn as A, w as D, yn as L } from "./Dcw7GSCgw_dgsum7.js";
11
+ import { l as _, y as N } from "./Da0CtWhc7saaOdER.js";
12
+ import { n as $ } from "./DfuY8GdoSk8LxDFW.js";
13
+ import { F as B, _t as O, gt as V, pt as W, vt as z, yt as j } from "./Cs1df4D35bBjqyvX.js";
14
+ import { $t as X, A as H, An as U, At as G, Ct as q, D as J, Dn as K, Dr as Y, Dt as Z, En as Q, Et as et, F as nt, Ft as ot, G as st, Gn as rt, Gt as at, It as it, J as lt, Jn as ct, Jt as dt, Kn as mt, Kt as pt, L as ft, Lt as ht, M as ut, Mn as gt, Mt as xt, O as yt, Or as vt, Ot as wt, P as St, Pn as bt, Pt as Ct, Qn as kt, R as Tt, Rt as It, Sn as Rt, Sr as Ft, St as Et, Tn as Mt, Tr as Pt, Tt as At, U as Dt, Un as Lt, Ut as _t, Vt as Nt, W as $t, Wn as Bt, Xt as Vt, Yn as Wt, Yt as zt, Z as jt, Zt as Xt, _ as Ht, _r as Ut, ar as Gt, at as qt, b as Jt, bn as Kt, bt as Yt, c as Zt, cn as Qt, cr as te, ct as ee, d as ne, dn as oe, dr as se, dt as re, er as ae, et as ie, fr as ce, ft as de, gn as me, gr as pe, h as fe, hn as he, ht as ue, i as ge, ir as xe, it as ye, j as ve, jn as we, jr as Se, k as be, kn as Ce, kt as ke, l as Te, lr as Ie, lt as Re, n as Fe, nn as Ee, nt as Me, on as Pe, or as Ae, p as De, pn as Le, pr as _e, pt as Ne, qn as $e, r as Be, rn as Oe, rr as Ve, sn as We, st as ze, t as je, tn as Xe, tr as He, u as Ue, un as Ge, ur as qe, vn as Ke, vt as Ye, w as Ze, wn as Qe, wt as tn, y as en, yn as nn, yr as on, z as sn, zn as rn, zt as an } from "./BTamKr78GfsihW1a.js";
15
+ import { i as ln, l as cn, n as dn, o as mn, s as pn, t as fn } from "./rlgXnCh6A88ozBRz.js";
16
16
  var hn = [
17
17
  ["%EntityServiceId", "i"],
18
18
  ["_DisplayString", "s"],
@@ -27,7 +27,7 @@ var hn = [
27
27
  ], xn = (t) => {
28
28
  const e = t.getName(), n = e.lastIndexOf(":");
29
29
  return n > 0 ? e.substring(0, n) : e;
30
- }, yn = (t) => t instanceof R && "#spb" === xn(t.getKind()), vn = (t) => "" + t, wn = (t, e) => {
30
+ }, yn = (t) => t instanceof P && "#spb" === xn(t.getKind()), vn = (t) => "" + t, wn = (t, e) => {
31
31
  const n = [];
32
32
  return t?.cardView && n.push(["ShowInCardView", "0"]), t?.dotNotation && n.push(["ShowInDotNotation", "0"]), t?.autoComplete && n.push(["ShowInAutoComplete", "0"]), e && t?.calcCompare && n.push(["ExcludeFromCalcComparison", "1"]), n;
33
33
  }, Sn = "resourcesById", bn = class {
@@ -685,7 +685,7 @@ var Zn = "xfVariants", Qn = class {
685
685
  if (void 0 !== e) return e;
686
686
  const n = this._json?.direct?.[t];
687
687
  if (e = n?.protection?.showFormulas, void 0 === e) {
688
- const o = (0 !== t ? n?.named : void 0) ?? p.BuiltInName.Normal;
688
+ const o = (0 !== t ? n?.named : void 0) ?? l.BuiltInName.Normal;
689
689
  e = this._styles.getNamedStyles().getByName(o)?.toJSON().style?.protection?.showFormulas ?? !1;
690
690
  }
691
691
  return this._shown.set(t, e), e;
@@ -902,10 +902,10 @@ function so(n, s, r, a, i) {
902
902
  };
903
903
  }({
904
904
  cells: m,
905
- cols: l.cols ? F.refsToRuns(l.cols, !0) : [],
906
- rows: l.rows ? F.refsToRuns(l.rows, !1) : []
905
+ cols: l.cols ? I.refsToRuns(l.cols, !0) : [],
906
+ rows: l.rows ? I.refsToRuns(l.rows, !1) : []
907
907
  }, d, a), g = { ...n };
908
- u.cols.length > 0 ? g.cols = F.runsToRefs(u.cols, !0) : delete g.cols;
908
+ u.cols.length > 0 ? g.cols = I.runsToRefs(u.cols, !0) : delete g.cols;
909
909
  const x = function(t, e, n) {
910
910
  if (0 === e.length && 0 === n.length) return t;
911
911
  const o = [], s = (t) => {
@@ -936,9 +936,9 @@ function so(n, s, r, a, i) {
936
936
  }
937
937
  return r;
938
938
  }(u.rows, h.top, h.bottom);
939
- x.length > 0 ? g.rows = F.runsToRefs(x, !1) : delete g.rows;
939
+ x.length > 0 ? g.rows = I.runsToRefs(x, !1) : delete g.rows;
940
940
  const y = u.cells;
941
- return y.length > 0 ? g.directStyles = y.map(([t, e]) => [F.rangeToString(t, d), e]) : delete g.directStyles, g;
941
+ return y.length > 0 ? g.directStyles = y.map(([t, e]) => [I.rangeToString(t, d), e]) : delete g.directStyles, g;
942
942
  }
943
943
  function ro(t, e) {
944
944
  if (!t || !e) return t === e;
@@ -1307,7 +1307,7 @@ var xo = [
1307
1307
  o.push([a.name, "spb"]), r.push(yn(i) ? "" + e(i) : "");
1308
1308
  break;
1309
1309
  case "array":
1310
- o.push([a.name, "spba"]), r.push(i instanceof E ? "" + t.addBagArray(s(i)) : "");
1310
+ o.push([a.name, "spba"]), r.push(i instanceof T ? "" + t.addBagArray(s(i)) : "");
1311
1311
  break;
1312
1312
  case "integer":
1313
1313
  o.push([a.name, "i"]), r.push(null == i ? "0" : "" + i);
@@ -1323,9 +1323,9 @@ var xo = [
1323
1323
  const n = e.getElements(), o = Math.max(1, ...n.map((t) => t.length));
1324
1324
  return t.addArray(n.length, o, s(e));
1325
1325
  }, a = (e, o) => {
1326
- if (e instanceof R) return l(e);
1327
- if (e instanceof E) return t.addValue(t.structureFor("_array", [["array", "a"]]), ["" + r(e)]);
1328
- if (e instanceof S) return t.addValue(t.structureFor("_hyperlink", [["Address", "s"], ["Text", "s"]]), [e.getAddress() ?? "", "" + (e.getFriendlyName() ?? e.getAddress() ?? "")]);
1326
+ if (e instanceof P) return l(e);
1327
+ if (e instanceof T) return t.addValue(t.structureFor("_array", [["array", "a"]]), ["" + r(e)]);
1328
+ if (e instanceof L) return t.addValue(t.structureFor("_hyperlink", [["Address", "s"], ["Text", "s"]]), [e.getAddress() ?? "", "" + (e.getFriendlyName() ?? e.getAddress() ?? "")]);
1329
1329
  if ("number" == typeof e) {
1330
1330
  const s = o ? [["_Self", "" + t.addRichStyle({ numberFormat: o })]] : [];
1331
1331
  return t.addValue(t.structureFor("_formattednumber", [["_Format", "spb"]]), ["" + n(s, "i")], vn(e));
@@ -1386,7 +1386,7 @@ var xo = [
1386
1386
  yn(u) ? (p.push([h, "spb"]), f.push("" + e(u))) : (p.push([h, "r"]), f.push(null == u ? "" : "" + a(u, d[h]?.numberFormat)));
1387
1387
  break;
1388
1388
  case "array":
1389
- p.push([h, "a"]), f.push(u instanceof E ? "" + r(u) : "");
1389
+ p.push([h, "a"]), f.push(u instanceof T ? "" + r(u) : "");
1390
1390
  break;
1391
1391
  case "string":
1392
1392
  p.push([h, "s"]), f.push(null == u ? "" : "" + u);
@@ -1423,7 +1423,7 @@ var xo = [
1423
1423
  }
1424
1424
  return i(e);
1425
1425
  };
1426
- return { writeCell: (t) => t instanceof R && !yn(t) ? l(t) : t instanceof E ? a(t, void 0) : null };
1426
+ return { writeCell: (t) => t instanceof P && !yn(t) ? l(t) : t instanceof T ? a(t, void 0) : null };
1427
1427
  })(this), this._metaCollector = t, this._workbook = e, this._onWarn = n;
1428
1428
  }
1429
1429
  add(t, e = null) {
@@ -1573,64 +1573,64 @@ function Mo(t, e, n, o) {
1573
1573
  if (!n) return;
1574
1574
  const s = "string" == typeof n ? e.parseColor(n) : n;
1575
1575
  o && t.start(o);
1576
- const r = s.getType(), a = s.getVal(), i = s.getAdjustments(), l = i && i.length > 0;
1577
- switch (r) {
1576
+ const a = s.getType(), i = s.getVal(), l = s.getAdjustments(), c = l && l.length > 0;
1577
+ switch (a) {
1578
1578
  case "scheme":
1579
- l ? (t.start("schemeClr", { val: a }), Po(t, i), t.end("schemeClr")) : t.empty("schemeClr", { val: a });
1579
+ c ? (t.start("schemeClr", { val: i }), Po(t, l), t.end("schemeClr")) : t.empty("schemeClr", { val: i });
1580
1580
  break;
1581
1581
  case "named":
1582
- if (d.isSystem(a)) {
1582
+ if (r.isSystem(i)) {
1583
1583
  const e = s.getLastColor() ?? s.getBaseColor().toHex().toString(!1).replace("#", "");
1584
- l ? (t.start("sysClr", {
1585
- val: a,
1584
+ c ? (t.start("sysClr", {
1585
+ val: i,
1586
1586
  lastClr: e
1587
- }), Po(t, i), t.end("sysClr")) : t.empty("sysClr", {
1588
- val: a,
1587
+ }), Po(t, l), t.end("sysClr")) : t.empty("sysClr", {
1588
+ val: i,
1589
1589
  lastClr: e
1590
1590
  });
1591
- } else l ? (t.start("prstClr", { val: a }), Po(t, i), t.end("prstClr")) : t.empty("prstClr", { val: a });
1591
+ } else c ? (t.start("prstClr", { val: i }), Po(t, l), t.end("prstClr")) : t.empty("prstClr", { val: i });
1592
1592
  break;
1593
1593
  case "auto": {
1594
1594
  const e = s.getLastColor() ?? s.getBaseColor().toHex().toString(!1).replace("#", "");
1595
- l ? (t.start("sysClr", {
1595
+ c ? (t.start("sysClr", {
1596
1596
  val: "windowText",
1597
1597
  lastClr: e
1598
- }), Po(t, i), t.end("sysClr")) : t.empty("sysClr", {
1598
+ }), Po(t, l), t.end("sysClr")) : t.empty("sysClr", {
1599
1599
  val: "windowText",
1600
1600
  lastClr: e
1601
1601
  });
1602
1602
  break;
1603
1603
  }
1604
1604
  case "index":
1605
- l ? (t.start("srgbClr", { val: a }), Po(t, i), t.end("srgbClr")) : t.empty("srgbClr", { val: a });
1605
+ c ? (t.start("srgbClr", { val: i }), Po(t, l), t.end("srgbClr")) : t.empty("srgbClr", { val: i });
1606
1606
  break;
1607
1607
  case "hsl":
1608
1608
  const e = s.toHex().toString();
1609
- l ? (t.start("srgbClr", { val: e }), Po(t, i), t.end("srgbClr")) : t.empty("srgbClr", { val: e });
1609
+ c ? (t.start("srgbClr", { val: e }), Po(t, l), t.end("srgbClr")) : t.empty("srgbClr", { val: e });
1610
1610
  break;
1611
1611
  case "lrgb": {
1612
- const e = /^lrgba?\(\s*([-\d.]+)\s*,\s*([-\d.]+)\s*,\s*([-\d.]+)/i.exec(String(a));
1612
+ const e = /^lrgba?\(\s*([-\d.]+)\s*,\s*([-\d.]+)\s*,\s*([-\d.]+)/i.exec(String(i));
1613
1613
  if (e) {
1614
1614
  const n = {
1615
1615
  r: String(Math.round(1e3 * parseFloat(e[1]))),
1616
1616
  g: String(Math.round(1e3 * parseFloat(e[2]))),
1617
1617
  b: String(Math.round(1e3 * parseFloat(e[3])))
1618
1618
  };
1619
- l ? (t.start("scrgbClr", n), Po(t, i), t.end("scrgbClr")) : t.empty("scrgbClr", n);
1619
+ c ? (t.start("scrgbClr", n), Po(t, l), t.end("scrgbClr")) : t.empty("scrgbClr", n);
1620
1620
  break;
1621
1621
  }
1622
1622
  }
1623
1623
  case "rgb":
1624
1624
  const n = s.toHex().toString();
1625
- l ? (t.start("srgbClr", { val: n }), Po(t, i), t.end("srgbClr")) : t.empty("srgbClr", { val: n });
1625
+ c ? (t.start("srgbClr", { val: n }), Po(t, l), t.end("srgbClr")) : t.empty("srgbClr", { val: n });
1626
1626
  break;
1627
1627
  case "hex":
1628
- const o = a.replace("#", "").toUpperCase();
1629
- l ? (t.start("srgbClr", { val: o }), Po(t, i), t.end("srgbClr")) : t.empty("srgbClr", { val: o });
1628
+ const o = i.replace("#", "").toUpperCase();
1629
+ c ? (t.start("srgbClr", { val: o }), Po(t, l), t.end("srgbClr")) : t.empty("srgbClr", { val: o });
1630
1630
  break;
1631
1631
  default:
1632
- const r = a.replace("#", "").toUpperCase();
1633
- t.empty("srgbClr", { val: r });
1632
+ const a = i.replace("#", "").toUpperCase();
1633
+ t.empty("srgbClr", { val: a });
1634
1634
  }
1635
1635
  o && t.end(o);
1636
1636
  }
@@ -1661,29 +1661,29 @@ function Ao(t, e, n, o, s = !1, r = !1) {
1661
1661
  if (!n) return;
1662
1662
  const a = "string" == typeof n ? e.parseColor(n) : n, i = () => {
1663
1663
  t.empty(o, { rgb: Vo(a.toHex().toString(!0)) });
1664
- }, l = a.getAdjustments(), c = l && l.length > 0, d = a.getType();
1665
- if (d !== g.Type.Auto) {
1666
- if (d === g.Type.Scheme) {
1664
+ }, l = a.getAdjustments(), d = l && l.length > 0, m = a.getType();
1665
+ if (m !== c.Type.Auto) {
1666
+ if (m === c.Type.Scheme) {
1667
1667
  const e = a.getVal(), n = Do[e] ?? e, s = No.get(n);
1668
1668
  if (void 0 === s && "phClr" !== n) return console.warn(`Color scheme not in theme. schemeVal=${e} themeKey=${n}`), i();
1669
1669
  const r = {};
1670
- if (r.theme = s, c) {
1670
+ if (r.theme = s, d) {
1671
1671
  if (!function(t) {
1672
1672
  for (const e of t) switch (Object.keys(e)[0]) {
1673
- case g.AdjustmentType.Tint:
1674
- case g.AdjustmentType.ETint:
1675
- case g.AdjustmentType.Shade:
1676
- case g.AdjustmentType.Lum:
1677
- case g.AdjustmentType.LumOff:
1678
- case g.AdjustmentType.LumMod:
1679
- case g.AdjustmentType.Alpha:
1680
- case g.AdjustmentType.AlphaOff:
1681
- case g.AdjustmentType.AlphaMod: continue;
1673
+ case c.AdjustmentType.Tint:
1674
+ case c.AdjustmentType.ETint:
1675
+ case c.AdjustmentType.Shade:
1676
+ case c.AdjustmentType.Lum:
1677
+ case c.AdjustmentType.LumOff:
1678
+ case c.AdjustmentType.LumMod:
1679
+ case c.AdjustmentType.Alpha:
1680
+ case c.AdjustmentType.AlphaOff:
1681
+ case c.AdjustmentType.AlphaMod: continue;
1682
1682
  default: return !1;
1683
1683
  }
1684
1684
  return !0;
1685
1685
  }(l)) return i();
1686
- const t = 1 === l.length ? l[0][g.AdjustmentType.ETint] : void 0;
1686
+ const t = 1 === l.length ? l[0][c.AdjustmentType.ETint] : void 0;
1687
1687
  let e;
1688
1688
  if (void 0 !== t) e = Bo(t);
1689
1689
  else {
@@ -1698,7 +1698,7 @@ function Ao(t, e, n, o, s = !1, r = !1) {
1698
1698
  t.empty(o, r);
1699
1699
  return;
1700
1700
  }
1701
- if (d === g.Type.Index) {
1701
+ if (m === c.Type.Index) {
1702
1702
  const e = a.getVal(), n = e.substring(5, e.length);
1703
1703
  t.empty(o, { indexed: Number(n) });
1704
1704
  return;
@@ -1781,20 +1781,20 @@ var zo = "http://schemas.openxmlformats.org/officeDocument/2006/relationships",
1781
1781
  function Xo(t, e, o, s, r = !1, a = !1) {
1782
1782
  const i = s.getTheme();
1783
1783
  if (r && e.start("fill"), "string" == typeof o && (o = {
1784
- type: l.Type.Solid,
1784
+ type: u.Type.Solid,
1785
1785
  color: o
1786
- }), o.type !== l.Type.Image || r) if (o.type !== l.Type.Group || r) if (o.type === l.Type.None || o.type === l.Type.Image || o.type === l.Type.Group) r ? e.empty("patternFill", { patternType: "none" }) : e.empty("noFill");
1787
- else if (o.type === l.Type.Solid) {
1786
+ }), o.type !== u.Type.Image || r) if (o.type !== u.Type.Group || r) if (o.type === u.Type.None || o.type === u.Type.Image || o.type === u.Type.Group) r ? e.empty("patternFill", { patternType: "none" }) : e.empty("noFill");
1787
+ else if (o.type === u.Type.Solid) {
1788
1788
  const t = o;
1789
1789
  r ? e.start("patternFill", { patternType: "solid" }) : e.start("solidFill"), t.color && (r ? Ao(e, i, t.color, a ? "bgColor" : "fgColor") : Mo(e, i, t.color)), r ? e.end("patternFill") : e.end("solidFill");
1790
- } else if (o.type === l.Type.Pattern) {
1790
+ } else if (o.type === u.Type.Pattern) {
1791
1791
  const t = o, n = t.patternType || "solid";
1792
1792
  e.start("patternFill", { patternType: n });
1793
1793
  const s = a ? t.background : t.foreground, l = a ? t.foreground : t.background;
1794
1794
  s && (r ? Ao(e, i, s, "fgColor") : Mo(e, i, s)), l && (r ? Ao(e, i, l, "bgColor") : Mo(e, i, l)), e.end("patternFill");
1795
- } else if (o.type === l.Type.Gradient && r) {
1795
+ } else if (o.type === u.Type.Gradient && r) {
1796
1796
  const t = o, n = {}, s = t.gradientType;
1797
- if (s !== l.GradientType.Path && s !== l.GradientType.Linear || (n.type = s), void 0 !== t.angle) {
1797
+ if (s !== u.GradientType.Path && s !== u.GradientType.Linear || (n.type = s), void 0 !== t.angle) {
1798
1798
  const e = (t.angle - 90) % 360;
1799
1799
  0 !== e && (n.degree = String(e));
1800
1800
  }
@@ -1811,7 +1811,7 @@ function Xo(t, e, o, s, r = !1, a = !1) {
1811
1811
  e.start("stop", { position: String(o) }), n && Ao(e, i, n, "color"), e.end("stop");
1812
1812
  }
1813
1813
  e.end("gradientFill");
1814
- } else if (o.type === l.Type.Gradient) {
1814
+ } else if (o.type === u.Type.Gradient) {
1815
1815
  const t = o, s = {};
1816
1816
  void 0 !== t.flip && (s.flip = t.flip), void 0 !== t.isRotatedWithShape && (s.rotWithShape = t.isRotatedWithShape ? "1" : "0"), e.start("gradFill", s), e.start("gsLst");
1817
1817
  const r = t.stops;
@@ -1830,8 +1830,8 @@ function Xo(t, e, o, s, r = !1, a = !1) {
1830
1830
  }
1831
1831
  e.end("gsLst");
1832
1832
  const a = t.gradientType;
1833
- if (a && a !== l.GradientType.Linear) {
1834
- const o = a === l.GradientType.Path || "radial" === a ? "circle" : a;
1833
+ if (a && a !== u.GradientType.Linear) {
1834
+ const o = a === u.GradientType.Path || "radial" === a ? "circle" : a;
1835
1835
  e.start("path", { path: o });
1836
1836
  const s = t.focus;
1837
1837
  if (s) {
@@ -1871,9 +1871,9 @@ var Ho = (t, e, o, s) => {
1871
1871
  });
1872
1872
  e.end("custDash");
1873
1873
  } else "string" == typeof r.dash && e.empty("prstDash", { val: r.dash });
1874
- if (r.lineJoin === u.LineJoin.Round) e.empty("round");
1875
- else if (r.lineJoin === u.LineJoin.Bevel) e.empty("bevel");
1876
- else if (r.lineJoin === u.LineJoin.Miter) {
1874
+ if (r.lineJoin === d.LineJoin.Round) e.empty("round");
1875
+ else if (r.lineJoin === d.LineJoin.Bevel) e.empty("bevel");
1876
+ else if (r.lineJoin === d.LineJoin.Miter) {
1877
1877
  const t = {};
1878
1878
  void 0 !== r.miterLimit && (t.lim = String(n.roundAccurately(1e5 * r.miterLimit, 0))), e.empty("miter", t);
1879
1879
  }
@@ -1904,32 +1904,32 @@ var Ho = (t, e, o, s) => {
1904
1904
  e.end("effectLst");
1905
1905
  }, Jo = (t, e, o) => {
1906
1906
  switch (o.type) {
1907
- case h.Type.OuterShadow: {
1907
+ case g.Type.OuterShadow: {
1908
1908
  const s = {};
1909
1909
  void 0 !== o.blur && (s.blurRad = String(ls(o.blur))), void 0 !== o.distance && (s.dist = String(ls(o.distance))), void 0 !== o.angle && (s.dir = String(ds(o.angle))), void 0 !== o.alignment && (s.algn = o.alignment), void 0 !== o.isRotatedWithShape && (s.rotWithShape = o.isRotatedWithShape ? "1" : "0"), void 0 !== o.scaleX && (s.sx = String(n.roundAccurately(1e3 * o.scaleX, 0))), void 0 !== o.scaleY && (s.sy = String(n.roundAccurately(1e3 * o.scaleY, 0))), void 0 !== o.skewX && (s.kx = String(ds(o.skewX))), void 0 !== o.skewY && (s.ky = String(ds(o.skewY))), t.start("outerShdw", s), Mo(t, e, o.color), t.end("outerShdw");
1910
1910
  break;
1911
1911
  }
1912
- case h.Type.InnerShadow: {
1912
+ case g.Type.InnerShadow: {
1913
1913
  const n = {};
1914
1914
  void 0 !== o.blur && (n.blurRad = String(ls(o.blur))), void 0 !== o.distance && (n.dist = String(ls(o.distance))), void 0 !== o.angle && (n.dir = String(ds(o.angle))), t.start("innerShdw", n), Mo(t, e, o.color), t.end("innerShdw");
1915
1915
  break;
1916
1916
  }
1917
- case h.Type.PresetShadow: {
1917
+ case g.Type.PresetShadow: {
1918
1918
  const n = { prst: o.preset };
1919
1919
  void 0 !== o.distance && (n.dist = String(ls(o.distance))), void 0 !== o.angle && (n.dir = String(ds(o.angle))), t.start("prstShdw", n), Mo(t, e, o.color), t.end("prstShdw");
1920
1920
  break;
1921
1921
  }
1922
- case h.Type.Glow: {
1922
+ case g.Type.Glow: {
1923
1923
  const n = {};
1924
1924
  void 0 !== o.radius && (n.rad = String(ls(o.radius))), t.start("glow", n), Mo(t, e, o.color), t.end("glow");
1925
1925
  break;
1926
1926
  }
1927
- case h.Type.SoftEdge: {
1927
+ case g.Type.SoftEdge: {
1928
1928
  const e = {};
1929
1929
  void 0 !== o.radius && (e.rad = String(ls(o.radius))), t.empty("softEdge", e);
1930
1930
  break;
1931
1931
  }
1932
- case h.Type.Reflection: {
1932
+ case g.Type.Reflection: {
1933
1933
  const e = {};
1934
1934
  void 0 !== o.blur && (e.blurRad = String(ls(o.blur))), void 0 !== o.distance && (e.dist = String(ls(o.distance))), void 0 !== o.angle && (e.dir = String(ds(o.angle))), void 0 !== o.fadeAngle && (e.fadeDir = String(ds(o.fadeAngle))), void 0 !== o.startAlpha && (e.stA = String(n.roundAccurately(1e3 * o.startAlpha, 0))), void 0 !== o.startPosition && (e.stPos = String(n.roundAccurately(1e3 * o.startPosition, 0))), void 0 !== o.endAlpha && (e.endA = String(n.roundAccurately(1e3 * o.endAlpha, 0))), void 0 !== o.endPosition && (e.endPos = String(n.roundAccurately(1e3 * o.endPosition, 0))), void 0 !== o.scaleX && (e.sx = String(n.roundAccurately(1e3 * o.scaleX, 0))), void 0 !== o.scaleY && (e.sy = String(n.roundAccurately(1e3 * o.scaleY, 0))), void 0 !== o.skewX && (e.kx = String(ds(o.skewX))), void 0 !== o.skewY && (e.ky = String(ds(o.skewY))), void 0 !== o.alignment && (e.algn = o.alignment), void 0 !== o.isRotatedWithShape && (e.rotWithShape = o.isRotatedWithShape ? "1" : "0"), t.empty("reflection", e);
1935
1935
  break;
@@ -1968,7 +1968,7 @@ var Ho = (t, e, o, s) => {
1968
1968
  }, es = (t, e) => void 0 === e ? void 0 : t.getSharedStates().get(Sn)?.get(e), ns = async (t, e) => {
1969
1969
  if (!e) return;
1970
1970
  const n = e.fill;
1971
- if (n?.type === l.Type.Image) {
1971
+ if (n?.type === u.Type.Image) {
1972
1972
  const e = es(t, n.resId);
1973
1973
  e && await ts(t, e);
1974
1974
  }
@@ -2015,7 +2015,7 @@ var Ho = (t, e, o, s) => {
2015
2015
  for (let e = 0; e < o; e++) {
2016
2016
  const o = 0 === e ? {
2017
2017
  ...n[e],
2018
- named: p.BuiltInName.Normal
2018
+ named: l.BuiltInName.Normal
2019
2019
  } : n[e], r = t.resolve(o), a = {};
2020
2020
  void 0 !== o.named && (a.named = o.named), void 0 !== o.quotePrefix && (a.quotePrefix = o.quotePrefix), void 0 !== o.protection && (a.protection = o.protection);
2021
2021
  for (let t = 0; t < xs.length; t++) {
@@ -2054,7 +2054,7 @@ function ys(t, e, o) {
2054
2054
  namedStyles: []
2055
2055
  };
2056
2056
  (function(t, e) {
2057
- const n = (t.getNamedStyles().getByName(p.BuiltInName.Normal).toJSON().style ?? {}).font ?? {};
2057
+ const n = (t.getNamedStyles().getByName(l.BuiltInName.Normal).toJSON().style ?? {}).font ?? {};
2058
2058
  e.fontMap.set(s.JSONStableStringify(n), "0"), e.fonts.push(n);
2059
2059
  })(t, r), function(t) {
2060
2060
  const e = { type: "none" };
@@ -2073,7 +2073,7 @@ function ys(t, e, o) {
2073
2073
  };
2074
2074
  t.borderMap.set(s.JSONStableStringify(e), "0"), t.borders.push(e);
2075
2075
  }(r), function(t, e) {
2076
- Ss(t, t.getNamedStyles().getByName(p.BuiltInName.Normal).toJSON(), e);
2076
+ Ss(t, t.getNamedStyles().getByName(l.BuiltInName.Normal).toJSON(), e);
2077
2077
  }(t, r);
2078
2078
  const a = e?.named ?? n.EmptyArray;
2079
2079
  for (const e of a) Ss(t, e, r);
@@ -2082,7 +2082,7 @@ function ys(t, e, o) {
2082
2082
  }
2083
2083
  function vs(t, e, n) {
2084
2084
  if (!e) return;
2085
- const o = f.toBuiltInID(e), s = n.numFmtMap;
2085
+ const o = m.toBuiltInID(e), s = n.numFmtMap;
2086
2086
  if (!s.has(e)) {
2087
2087
  let t = 0;
2088
2088
  "number" == typeof o ? t = o : (t = n.numFmtsCustom.length + Ps, n.numFmtsCustom.push(o)), s.set(e, "" + t);
@@ -2156,42 +2156,42 @@ function ks(t, e, n, o, s = !1) {
2156
2156
  var Ts = (t) => null == t ? null : "string" == typeof t ? t : JSON.stringify(t);
2157
2157
  function Is(t, e, n, o = !1) {
2158
2158
  const s = {};
2159
- n.horizontal && n.horizontal !== m.HorizontalAlignment.General && (s.horizontal = n.horizontal), n.vertical && n.vertical !== m.VerticalAlignment.Bottom && (s.vertical = n.vertical);
2159
+ n.horizontal && n.horizontal !== f.HorizontalAlignment.General && (s.horizontal = n.horizontal), n.vertical && n.vertical !== f.VerticalAlignment.Bottom && (s.vertical = n.vertical);
2160
2160
  let r = n.rotation;
2161
2161
  n.stacked && (s.textRotation = "255", r = 0), r && (r >= 270 && r < 360 ? r = 360 - r : r > 0 && r <= 90 && (r += 90), s.textRotation = String(r));
2162
2162
  const a = n.overflow;
2163
- switch (a === m.Overflow.Wrap && (s.wrapText = "1"), n.indent && (s.indent = "" + n.indent), n.relativeIndent && (s.relativeIndent = "" + n.relativeIndent), n.justifyLastLine && (s.justifyLastLine = "1"), a === m.Overflow.Shrink && (s.shrinkToFit = "1"), n.readingDirection) {
2164
- case m.ReadingDirection.Auto: break;
2165
- case m.ReadingDirection.LeftToRight:
2163
+ switch (a === f.Overflow.Wrap && (s.wrapText = "1"), n.indent && (s.indent = "" + n.indent), n.relativeIndent && (s.relativeIndent = "" + n.relativeIndent), n.justifyLastLine && (s.justifyLastLine = "1"), a === f.Overflow.Shrink && (s.shrinkToFit = "1"), n.readingDirection) {
2164
+ case f.ReadingDirection.Auto: break;
2165
+ case f.ReadingDirection.LeftToRight:
2166
2166
  s.readingOrder = "1";
2167
2167
  break;
2168
- case m.ReadingDirection.RightToLeft: s.readingOrder = "2";
2168
+ case f.ReadingDirection.RightToLeft: s.readingOrder = "2";
2169
2169
  }
2170
2170
  return Object.keys(s).length > 0 ? s : null;
2171
2171
  }
2172
- function Rs(t, e, n, o, r, a, i = !1, l = !1, c = null) {
2173
- const d = {};
2174
- let m = null, f = o.named;
2175
- f && (m = n.getNamedStyles().getByName(f).toJSON().style);
2176
- const h = o.font ?? m?.font, u = h ? r.fontMap.get(s.JSONStableStringify(h)) ?? 0 : 0, g = o.fill ?? m?.fill, x = g ? r.fillMap.get(s.JSONStableStringify(g)) ?? 0 : 0, y = o.borders ?? m?.borders, v = y ? r.borderMap.get(s.JSONStableStringify(y)) ?? 0 : 0, w = o.numberFormat ?? m?.numberFormat;
2177
- if (d.numFmtId = (void 0 !== w ? r.numFmtMap.get(w) : void 0) ?? "0", d.fontId = String(u), d.fillId = String(x), d.borderId = String(v), a) {
2178
- const t = o.named ?? p.BuiltInName.Normal;
2179
- d.xfId = r.namedStyleMap.get(t.toLowerCase());
2172
+ function Rs(t, e, n, o, r, a, i = !1, c = !1, d = null) {
2173
+ const m = {};
2174
+ let p = null, f = o.named;
2175
+ f && (p = n.getNamedStyles().getByName(f).toJSON().style);
2176
+ const h = o.font ?? p?.font, u = h ? r.fontMap.get(s.JSONStableStringify(h)) ?? 0 : 0, g = o.fill ?? p?.fill, x = g ? r.fillMap.get(s.JSONStableStringify(g)) ?? 0 : 0, y = o.borders ?? p?.borders, v = y ? r.borderMap.get(s.JSONStableStringify(y)) ?? 0 : 0, w = o.numberFormat ?? p?.numberFormat;
2177
+ if (m.numFmtId = (void 0 !== w ? r.numFmtMap.get(w) : void 0) ?? "0", m.fontId = String(u), m.fillId = String(x), m.borderId = String(v), a) {
2178
+ const t = o.named ?? l.BuiltInName.Normal;
2179
+ m.xfId = r.namedStyleMap.get(t.toLowerCase());
2180
2180
  }
2181
2181
  let S = null;
2182
- const b = o.alignment ?? m?.alignment;
2183
- b && (S = Is(0, 0, b)), o.font && (d.applyFont = "1"), o.fill && (d.applyFill = "1"), o.numberFormat && (d.applyNumberFormat = "1"), o.borders && (d.applyBorder = "1"), S && (d.applyAlignment = "1");
2182
+ const b = o.alignment ?? p?.alignment;
2183
+ b && (S = Is(0, 0, b)), o.font && (m.applyFont = "1"), o.fill && (m.applyFill = "1"), o.numberFormat && (m.applyNumberFormat = "1"), o.borders && (m.applyBorder = "1"), S && (m.applyAlignment = "1");
2184
2184
  let C = null;
2185
- const k = o.protection?.alwaysUnlocked ?? m?.protection?.alwaysUnlocked ?? !1;
2186
- (k || i) && (C = {}, k && (C.locked = "0"), i && (C.hidden = "1"), d.applyProtection = "1"), o.quotePrefix && (d.quotePrefix = "1"), l && (d.pivotButton = "1"), S || C || null !== c ? (e.start("xf", d), S && e.empty("alignment", S), C && e.empty("protection", C), null !== c && (e.start("extLst"), e.start("ext", {
2185
+ const k = o.protection?.alwaysUnlocked ?? p?.protection?.alwaysUnlocked ?? !1;
2186
+ (k || i) && (C = {}, k && (C.locked = "0"), i && (C.hidden = "1"), m.applyProtection = "1"), o.quotePrefix && (m.quotePrefix = "1"), c && (m.pivotButton = "1"), S || C || null !== d ? (e.start("xf", m), S && e.empty("alignment", S), C && e.empty("protection", C), null !== d && (e.start("extLst"), e.start("ext", {
2187
2187
  uri: Fs,
2188
2188
  "xmlns:xfpb": Es
2189
- }), e.empty("xfpb:xfComplement", { i: String(c) }), e.end("ext"), e.end("extLst")), e.end("xf")) : e.empty("xf", d);
2189
+ }), e.empty("xfpb:xfComplement", { i: String(d) }), e.end("ext"), e.end("extLst")), e.end("xf")) : e.empty("xf", m);
2190
2190
  }
2191
2191
  var Fs = "{C7286773-470A-42A8-94C5-96B5CB345126}", Es = "http://schemas.microsoft.com/office/spreadsheetml/2022/featurepropertybag";
2192
2192
  function Ms(t, e, n, o, s, r = "dxf", a = Ps) {
2193
2193
  if (e.start(r), n.font && bs(0, e, n.font, o, !0), void 0 !== n.numberFormat && null !== n.numberFormat) {
2194
- const t = f.toBuiltInID(n.numberFormat), o = "number" == typeof t, s = o ? f.builtInFormat(t) : String(t);
2194
+ const t = m.toBuiltInID(n.numberFormat), o = "number" == typeof t, s = o ? m.builtInFormat(t) : String(t);
2195
2195
  s && e.empty("numFmt", {
2196
2196
  numFmtId: String(o ? t : a++),
2197
2197
  formatCode: s
@@ -2463,7 +2463,7 @@ var Ps = 164, As = Object.freeze([
2463
2463
  numFmtId: (t) => ((t, e) => (vs(t.styles, e, t.denormalized), parseInt(t.denormalized.numFmtMap.get(e) ?? "0", 10)))(n, t),
2464
2464
  dxfId: (t) => o.add(t)
2465
2465
  };
2466
- }, tr = (t, e) => t.getSharedStates().get("pivotCachePaths")?.get(e) ?? null, er = "date1904", nr = (t) => !0 === t.getSharedStates().get(er), or = 0, sr = D.BuiltInOperatorNames, rr = (t, e, n, o, s, r, a) => {
2466
+ }, tr = (t, e) => t.getSharedStates().get("pivotCachePaths")?.get(e) ?? null, er = "date1904", nr = (t) => !0 === t.getSharedStates().get(er), or = 0, sr = S.BuiltInOperatorNames, rr = (t, e, n, o, s, r, a) => {
2467
2467
  const i = o.sorts, l = i ? i.length : 0;
2468
2468
  if (0 === l) return;
2469
2469
  const c = {};
@@ -2472,7 +2472,7 @@ var Ps = 164, As = Object.freeze([
2472
2472
  t && (c.caseSensitive = "object" != typeof t || Array.isArray(t) || "case" !== t.sensitivity && "variant" !== t.sensitivity ? "0" : "1");
2473
2473
  }
2474
2474
  const d = o.extent, m = n.getRange().getCoords(), p = (d ? an(m, d.range) : null) ?? r;
2475
- c.ref = F.rangeToString(p), c["xmlns:xlrd2"] = "http://schemas.microsoft.com/office/spreadsheetml/2017/richdata2", e.start("sortState", c);
2475
+ c.ref = I.rangeToString(p), c["xmlns:xlrd2"] = "http://schemas.microsoft.com/office/spreadsheetml/2017/richdata2", e.start("sortState", c);
2476
2476
  for (let n = 0; n < l; n++) {
2477
2477
  const o = i[n], s = o.criteria ?? {}, l = o.index + r.colStart, c = {};
2478
2478
  s.reverse && (c.descending = "1");
@@ -2486,7 +2486,7 @@ var Ps = 164, As = Object.freeze([
2486
2486
  colStart: l,
2487
2487
  colEnd: l
2488
2488
  });
2489
- c.ref = F.rangeToString(h);
2489
+ c.ref = I.rangeToString(h);
2490
2490
  const u = ue(s.sortOn);
2491
2491
  u && (c.sortBy = u), void 0 !== s.style && (c.dxfId = hs(t.getSharedStates()).add(s.style)), void 0 !== s.iconSet && (c.iconSet = s.iconSet), void 0 !== s.customList && (c.customList = s.customList), e.empty("sortCondition", c);
2492
2492
  }
@@ -2522,16 +2522,16 @@ var Ps = 164, As = Object.freeze([
2522
2522
  const s = { operator: o.operator };
2523
2523
  void 0 !== o.val && (s.val = o.val), e.empty("customFilter", s);
2524
2524
  }, lr = /* @__PURE__ */ new Set([
2525
- D.BuiltInSelectorNames.Display,
2526
- D.BuiltInSelectorNames.Date,
2527
- D.BuiltInSelectorNames.Time
2525
+ S.BuiltInSelectorNames.Display,
2526
+ S.BuiltInSelectorNames.Date,
2527
+ S.BuiltInSelectorNames.Time
2528
2528
  ]), cr = (t, e, n, o, s, r = null) => {
2529
2529
  const a = {};
2530
2530
  a.colId = "" + n, s && (a.hiddenButton = "1"), o ? (e.start("filterColumn", a), ((t, e, n, o = null) => {
2531
2531
  const s = n.operator, r = "string" == typeof n.selector ? n.selector : n.selector?.getName?.();
2532
- if (r && !lr.has(r) && t.warn(`A '${r}' selector has no OOXML form in a Table AutoFilter; the rule is written without it`, n), !0 === n.includeBlanks && s !== D.BuiltInOperatorNames.InSet && s !== sr.Blank && t.warn("Ignore Blank has no OOXML form in a Table AutoFilter outside a values list; Excel will hide the blank rows", n), s === D.BuiltInOperatorNames.Expression) return void t.warn("Expression conditions not supported in Table AutoFilters", n);
2533
- if (s === D.BuiltInOperatorNames.Unique) return void t.warn("Unique conditions not supported in Table AutoFilters", n);
2534
- if (s === D.BuiltInOperatorNames.Color) {
2532
+ if (r && !lr.has(r) && t.warn(`A '${r}' selector has no OOXML form in a Table AutoFilter; the rule is written without it`, n), !0 === n.includeBlanks && s !== S.BuiltInOperatorNames.InSet && s !== sr.Blank && t.warn("Ignore Blank has no OOXML form in a Table AutoFilter outside a values list; Excel will hide the blank rows", n), s === S.BuiltInOperatorNames.Expression) return void t.warn("Expression conditions not supported in Table AutoFilters", n);
2533
+ if (s === S.BuiltInOperatorNames.Unique) return void t.warn("Unique conditions not supported in Table AutoFilters", n);
2534
+ if (s === S.BuiltInOperatorNames.Color) {
2535
2535
  const o = n.param, s = {};
2536
2536
  void 0 !== o.cellColor && (s.cellColor = o.cellColor ? "1" : "0"), void 0 !== o.style && (s.dxfId = hs(t.getSharedStates()).add(o.style)), e.empty("colorFilter", s);
2537
2537
  }
@@ -2546,10 +2546,10 @@ var Ps = 164, As = Object.freeze([
2546
2546
  });
2547
2547
  e.end("customFilters");
2548
2548
  } else if (s !== sr.Blank) {
2549
- if (s === D.BuiltInOperatorNames.InSet) {
2549
+ if (s === S.BuiltInOperatorNames.InSet) {
2550
2550
  const s = n.param ?? {};
2551
2551
  let r = Array.isArray(s.items) ? s.items : [];
2552
- n.selector !== D.BuiltInSelectorNames.Display && r.some((t) => "string" != typeof t) && (r = ((t, e, n, o) => {
2552
+ n.selector !== S.BuiltInSelectorNames.Display && r.some((t) => "string" != typeof t) && (r = ((t, e, n, o) => {
2553
2553
  const s = [], r = [];
2554
2554
  for (let t = 0; t < n.length; t++) {
2555
2555
  const e = n[t];
@@ -2577,7 +2577,7 @@ var Ps = 164, As = Object.freeze([
2577
2577
  e.end("customFilters");
2578
2578
  }
2579
2579
  } else U(n) ? (e.start("customFilters"), ir(t, e, n), e.end("customFilters")) : s === sr.Not && t.warn("Not rule with non-comparison criteria not supported in OOXML", n.param);
2580
- if (s === D.BuiltInOperatorNames.TimePeriod) {
2580
+ if (s === S.BuiltInOperatorNames.TimePeriod) {
2581
2581
  const o = n.param, s = o?.type;
2582
2582
  if (s && Qe.has(s)) {
2583
2583
  const n = o.anchorDate, r = "number" == typeof n && Number.isFinite(n) ? tn(s, Math.floor(n), nr(t)) : null;
@@ -2588,15 +2588,15 @@ var Ps = 164, As = Object.freeze([
2588
2588
  } : { type: s });
2589
2589
  } else t.warn(`TimePeriod '${s}' has no OOXML dynamicFilter type; not written`, n.param);
2590
2590
  }
2591
- if (s === D.BuiltInOperatorNames.Average) {
2592
- const o = n.param, s = o?.type === D.AverageType.Below ? "belowAverage" : "aboveAverage";
2591
+ if (s === S.BuiltInOperatorNames.Average) {
2592
+ const o = n.param, s = o?.type === S.AverageType.Below ? "belowAverage" : "aboveAverage";
2593
2593
  o?.stdDevs && t.warn(`Average with stdDevs has no OOXML spelling; written as ${s}`, n.param), e.empty("dynamicFilter", { type: s });
2594
2594
  }
2595
- if (s === D.BuiltInOperatorNames.Icon) {
2595
+ if (s === S.BuiltInOperatorNames.Icon) {
2596
2596
  const t = n.param, o = {};
2597
2597
  void 0 !== t.iconSet && (o.iconSet = t.iconSet), void 0 !== t.iconId && (o.iconId = "" + t.iconId), e.empty("iconFilter", o);
2598
2598
  }
2599
- if (s === D.BuiltInOperatorNames.TopN) {
2599
+ if (s === S.BuiltInOperatorNames.TopN) {
2600
2600
  const o = n.param;
2601
2601
  if (o.sum) return void t.warn("Top N by sum has no OOXML form in a Table AutoFilter; it is not written", n);
2602
2602
  const s = {};
@@ -2636,7 +2636,7 @@ var Ps = 164, As = Object.freeze([
2636
2636
  rowIndex: t.rowStart,
2637
2637
  colIndex: t.colStart + n
2638
2638
  }, a = s.parse(o, r);
2639
- return a && C.image(s.spell(a, !1, e.getName()), { at: r }) || o;
2639
+ return a && D.image(s.spell(a, !1, e.getName()), { at: r }) || o;
2640
2640
  } catch {
2641
2641
  return o;
2642
2642
  }
@@ -2969,7 +2969,7 @@ function Qr(t) {
2969
2969
  if (e.isInvalid()) return null;
2970
2970
  const n = e.getCoords()[0];
2971
2971
  return n ? {
2972
- ref: F.cellToString({
2972
+ ref: I.cellToString({
2973
2973
  rowIndex: n.rowStart,
2974
2974
  colIndex: n.colStart
2975
2975
  }),
@@ -3001,13 +3001,13 @@ function la(t, e, n, o) {
3001
3001
  const r = [];
3002
3002
  for (let o = e.rowStart; o <= e.rowEnd; o++) for (let a = e.colStart; a <= e.colEnd; a++) {
3003
3003
  let i = n;
3004
- o === e.rowStart && a === e.colStart || (s || (s = [], F.normalizeA1ToR1C1(n, e.rowStart, e.colStart, s)), i = F.resolveRelativeToA1(s, o, a));
3004
+ o === e.rowStart && a === e.colStart || (s || (s = [], I.normalizeA1ToR1C1(n, e.rowStart, e.colStart, s)), i = I.resolveRelativeToA1(s, o, a));
3005
3005
  const l = ge(i, {
3006
3006
  rowIndex: o,
3007
3007
  colIndex: a
3008
3008
  });
3009
3009
  if (!l) return !1;
3010
- const c = t.getRange(F.cellToString({
3010
+ const c = t.getRange(I.cellToString({
3011
3011
  rowIndex: o,
3012
3012
  colIndex: a
3013
3013
  })).getCell().getValue();
@@ -3023,7 +3023,7 @@ function la(t, e, n, o) {
3023
3023
  }
3024
3024
  function ca(t, e) {
3025
3025
  let n = e.type;
3026
- n === k.ColorStopType.AutoMin ? n = k.ColorStopType.Min : n === k.ColorStopType.AutoMax && (n = k.ColorStopType.Max), t.empty("cfvo", {
3026
+ n === R.ColorStopType.AutoMin ? n = R.ColorStopType.Min : n === R.ColorStopType.AutoMax && (n = R.ColorStopType.Max), t.empty("cfvo", {
3027
3027
  type: n,
3028
3028
  val: e.value,
3029
3029
  gte: e.exclusive ? "0" : void 0
@@ -3037,29 +3037,29 @@ function da(t, e) {
3037
3037
  void 0 !== e.value ? (t.start("x14:cfvo", n), t.start("xm:f"), t.text(e.value), t.end("xm:f"), t.end("x14:cfvo")) : t.empty("x14:cfvo", n);
3038
3038
  }
3039
3039
  var ma = /* @__PURE__ */ new Set([
3040
- p.IconSet.Arrows3,
3041
- p.IconSet.ArrowsGray3,
3042
- p.IconSet.Flags3,
3043
- p.IconSet.Signs3,
3044
- p.IconSet.Symbols3,
3045
- p.IconSet.Symbols3_2,
3046
- p.IconSet.TrafficLights3,
3047
- p.IconSet.TrafficLights3_2,
3048
- p.IconSet.Arrows4,
3049
- p.IconSet.ArrowsGray4,
3050
- p.IconSet.Rating4,
3051
- p.IconSet.RedToBlack4,
3052
- p.IconSet.TrafficLights4,
3053
- p.IconSet.Arrows5,
3054
- p.IconSet.ArrowsGray5,
3055
- p.IconSet.Quarters5,
3056
- p.IconSet.Rating5
3040
+ l.IconSet.Arrows3,
3041
+ l.IconSet.ArrowsGray3,
3042
+ l.IconSet.Flags3,
3043
+ l.IconSet.Signs3,
3044
+ l.IconSet.Symbols3,
3045
+ l.IconSet.Symbols3_2,
3046
+ l.IconSet.TrafficLights3,
3047
+ l.IconSet.TrafficLights3_2,
3048
+ l.IconSet.Arrows4,
3049
+ l.IconSet.ArrowsGray4,
3050
+ l.IconSet.Rating4,
3051
+ l.IconSet.RedToBlack4,
3052
+ l.IconSet.TrafficLights4,
3053
+ l.IconSet.Arrows5,
3054
+ l.IconSet.ArrowsGray5,
3055
+ l.IconSet.Quarters5,
3056
+ l.IconSet.Rating5
3057
3057
  ]);
3058
3058
  function pa(t) {
3059
3059
  return (t.icon?.length ?? 0) > 0 || void 0 !== t.iconSet && !ma.has(t.iconSet);
3060
3060
  }
3061
3061
  function fa(t) {
3062
- return [t.minPoint ?? { type: k.ColorStopType.Min }, t.maxPoint ?? { type: k.ColorStopType.Max }];
3062
+ return [t.minPoint ?? { type: R.ColorStopType.Min }, t.maxPoint ?? { type: R.ColorStopType.Max }];
3063
3063
  }
3064
3064
  function ha(t, e, o, s, r, a, i, l, c) {
3065
3065
  const d = s.scale;
@@ -3080,8 +3080,8 @@ function ha(t, e, o, s, r, a, i, l, c) {
3080
3080
  timePeriod: r.timePeriod
3081
3081
  };
3082
3082
  let p;
3083
- d?.type === k.ScaleType.DataBar && function(t) {
3084
- return !!(t.solidFill || t.borderColor || t.negativeFillColor || t.negativeBorderColor || t.axisColor || t.axisPosition || t.direction) || t.minPoint?.type === k.ColorStopType.AutoMin || t.maxPoint?.type === k.ColorStopType.AutoMax;
3083
+ d?.type === R.ScaleType.DataBar && function(t) {
3084
+ return !!(t.solidFill || t.borderColor || t.negativeFillColor || t.negativeBorderColor || t.axisColor || t.axisPosition || t.direction) || t.minPoint?.type === R.ColorStopType.AutoMin || t.maxPoint?.type === R.ColorStopType.AutoMax;
3085
3085
  }(d) && (p = Pt(n.uuidV4), c.push({
3086
3086
  guid: p,
3087
3087
  sqref: a,
@@ -3092,13 +3092,13 @@ function ha(t, e, o, s, r, a, i, l, c) {
3092
3092
  if (0 !== h || d) {
3093
3093
  e.start("cfRule", m);
3094
3094
  for (let t = 0; t < h; t++) e.start("formula"), e.text(f[t]), e.end("formula");
3095
- if (d?.type === k.ScaleType.ColorScale) {
3095
+ if (d?.type === R.ScaleType.ColorScale) {
3096
3096
  const t = d.stops ?? [];
3097
3097
  e.start("colorScale");
3098
3098
  for (let n = 0; n < t.length; n++) ca(e, t[n]);
3099
3099
  for (let n = 0; n < t.length; n++) Ao(e, o, t[n].color, "color");
3100
3100
  e.end("colorScale");
3101
- } else if (d?.type === k.ScaleType.DataBar) {
3101
+ } else if (d?.type === R.ScaleType.DataBar) {
3102
3102
  e.start("dataBar", {
3103
3103
  minLength: d.minLength ?? 0,
3104
3104
  maxLength: d.maxLength ?? 100,
@@ -3106,7 +3106,7 @@ function ha(t, e, o, s, r, a, i, l, c) {
3106
3106
  });
3107
3107
  const [t, n] = fa(d);
3108
3108
  ca(e, t), ca(e, n), Ao(e, o, d.color ?? "#638EC6", "color"), e.end("dataBar");
3109
- } else if (d?.type === k.ScaleType.IconSet) {
3109
+ } else if (d?.type === R.ScaleType.IconSet) {
3110
3110
  const t = d.stops ?? [];
3111
3111
  e.start("iconSet", {
3112
3112
  iconSet: d.iconSet,
@@ -3127,10 +3127,10 @@ function ua(t) {
3127
3127
  const o = t.split(" ");
3128
3128
  for (let t = 0; t < o.length; t++) {
3129
3129
  if (!o[t]) continue;
3130
- const s = F.fastStringToRange(o[t]);
3130
+ const s = I.fastStringToRange(o[t]);
3131
3131
  s.rowStart < e && (e = s.rowStart), s.colStart < n && (n = s.colStart);
3132
3132
  }
3133
- return F.cellToString({
3133
+ return I.cellToString({
3134
3134
  rowIndex: e,
3135
3135
  colIndex: n
3136
3136
  });
@@ -3140,12 +3140,12 @@ function ga(t) {
3140
3140
  if (Array.isArray(t)) {
3141
3141
  const e = [];
3142
3142
  for (let n = 0; n < t.length; n++) {
3143
- const o = F.rangeToString(t[n]);
3143
+ const o = I.rangeToString(t[n]);
3144
3144
  o && e.push(o);
3145
3145
  }
3146
3146
  return e.length > 0 ? e.join(" ") : null;
3147
3147
  }
3148
- return F.rangeToString(t);
3148
+ return I.rangeToString(t);
3149
3149
  }
3150
3150
  function xa(t) {
3151
3151
  if (void 0 !== t) return t ? "1" : "0";
@@ -3170,7 +3170,7 @@ function wa(t) {
3170
3170
  const o = t.split(" ");
3171
3171
  for (let t = 0; t < o.length; t++) {
3172
3172
  if (!o[t]) continue;
3173
- const s = F.fastStringToRange(o[t]);
3173
+ const s = I.fastStringToRange(o[t]);
3174
3174
  s.rowStart < e && (e = s.rowStart), s.colStart < n && (n = s.colStart);
3175
3175
  }
3176
3176
  return e === Number.MAX_SAFE_INTEGER ? null : {
@@ -3182,7 +3182,7 @@ function Sa(t, e, n) {
3182
3182
  if ("string" != typeof t || !t || !e || !n) return t;
3183
3183
  try {
3184
3184
  const o = n.parse(t, e);
3185
- return o && C.image(n.spell(o, !0), { at: e }) || t;
3185
+ return o && D.image(n.spell(o, !0), { at: e }) || t;
3186
3186
  } catch {
3187
3187
  return t;
3188
3188
  }
@@ -3198,7 +3198,7 @@ function ba(t, e, n) {
3198
3198
  value: s
3199
3199
  };
3200
3200
  };
3201
- if (t.type === k.ScaleType.DataBar) {
3201
+ if (t.type === R.ScaleType.DataBar) {
3202
3202
  const e = o(t.minPoint), n = o(t.maxPoint);
3203
3203
  if (e === t.minPoint && n === t.maxPoint) return t;
3204
3204
  const s = { ...t };
@@ -3425,12 +3425,12 @@ var _a = (t) => String(Math.round(1e3 * t)), Na = (t) => void 0 === t ? void 0 :
3425
3425
  }
3426
3426
  o.defaultRun && Va(t, e, "defRPr", o.defaultRun), s.end(n);
3427
3427
  } else s.empty(n, r);
3428
- }, ja = (t) => t === m.Overflow.Visible ? void 0 : rt.write(t), Xa = (t, e) => {
3428
+ }, ja = (t) => t === f.Overflow.Visible ? void 0 : rt.write(t), Xa = (t, e) => {
3429
3429
  const n = e.body ?? {}, o = n.insets, s = {
3430
3430
  rot: void 0 === e.rotation ? void 0 : String(Math.round(6e4 * e.rotation)),
3431
3431
  spcFirstLastPara: Na(n.spaceFirstLastParagraph),
3432
- vertOverflow: ja(n.verticalOverflow ?? c.TEXT_DEFAULTS.verticalOverflow),
3433
- horzOverflow: ja(n.horizontalOverflow ?? c.TEXT_DEFAULTS.horizontalOverflow),
3432
+ vertOverflow: ja(n.verticalOverflow ?? p.TEXT_DEFAULTS.verticalOverflow),
3433
+ horzOverflow: ja(n.horizontalOverflow ?? p.TEXT_DEFAULTS.horizontalOverflow),
3434
3434
  vert: _e.write(n.vertical),
3435
3435
  wrap: n.wrap,
3436
3436
  lIns: void 0 === o?.left ? void 0 : String(cs(o.left)),
@@ -3462,13 +3462,13 @@ var _a = (t) => String(Math.round(1e3 * t)), Na = (t) => void 0 === t ? void 0 :
3462
3462
  t.end("prstTxWarp");
3463
3463
  }
3464
3464
  switch (n.autoFit) {
3465
- case m.Autofit.None:
3465
+ case f.Autofit.None:
3466
3466
  t.empty("noAutofit");
3467
3467
  break;
3468
- case m.Autofit.Shape:
3468
+ case f.Autofit.Shape:
3469
3469
  t.empty("spAutoFit");
3470
3470
  break;
3471
- case m.Autofit.Normal: t.empty("normAutofit", {
3471
+ case f.Autofit.Normal: t.empty("normAutofit", {
3472
3472
  fontScale: void 0 === n.fontScale ? void 0 : _a(n.fontScale),
3473
3473
  lnSpcReduction: void 0 === n.lineSpacingReduction ? void 0 : _a(n.lineSpacingReduction)
3474
3474
  });
@@ -3483,9 +3483,9 @@ var _a = (t) => String(Math.round(1e3 * t)), Na = (t) => void 0 === t ? void 0 :
3483
3483
  }, Ua = (t, e, n, o) => {
3484
3484
  const s = t.getXMLWriter();
3485
3485
  s.pushDefaultNamespace("a"), s.start("p");
3486
- const { runs: r, endRun: a, ...i } = o, l = void 0 !== c.inheritedTextSize(n, o) ? (t) => t : (t) => void 0 === t.size ? {
3486
+ const { runs: r, endRun: a, ...i } = o, l = void 0 !== p.inheritedTextSize(n, o) ? (t) => t : (t) => void 0 === t.size ? {
3487
3487
  ...t,
3488
- size: c.TEXT_DEFAULTS.size
3488
+ size: p.TEXT_DEFAULTS.size
3489
3489
  } : t;
3490
3490
  ((t) => !!t && Object.keys(t).some((e) => "runs" !== e && "endRun" !== e && void 0 !== t[e]))(i) && za(t, e, "pPr", i);
3491
3491
  for (const n of r ?? []) {
@@ -3658,17 +3658,17 @@ var Ka = [
3658
3658
  for (const n of hi(e)) await gi(t, n);
3659
3659
  }
3660
3660
  }, xi = async (t, e, n, o, s, r) => {
3661
- const a = await ts(t, r), i = o.content?.json, c = i?.image ?? {}, d = c.extLst ?? (a.external ? void 0 : yi), m = {
3662
- ...c,
3663
- type: l.Type.Image,
3664
- extLst: d,
3665
- stretch: c.tile ? void 0 : c.stretch ?? {}
3666
- }, p = {};
3667
- void 0 !== i?.macro && (p.macro = i.macro), void 0 !== i?.published && (p.fPublished = i.published ? "1" : "0");
3668
- const f = {};
3669
- void 0 !== c.dpi && (f.dpi = String(c.dpi)), void 0 !== c.isRotatedWithShape && (f.rotWithShape = c.isRotatedWithShape ? "1" : "0");
3670
- const h = t.getXMLWriter();
3671
- h.start("pic", p), h.start("nvPicPr"), Li(t, h, n, o, e), h.start("cNvPicPr", i?.noRelativeResize ? { preferRelativeResize: "0" } : {}), h.empty("a:picLocks", Bi(o)), h.end("cNvPicPr"), h.end("nvPicPr"), h.start("blipFill", f), h.pushDefaultNamespace("a"), as(h, m, a), h.popDefaultNamespace(), h.end("blipFill"), await Ai(t, e, n, o, s), h.end("pic");
3661
+ const a = await ts(t, r), i = o.content?.json, l = i?.image ?? {}, c = l.extLst ?? (a.external ? void 0 : yi), d = {
3662
+ ...l,
3663
+ type: u.Type.Image,
3664
+ extLst: c,
3665
+ stretch: l.tile ? void 0 : l.stretch ?? {}
3666
+ }, m = {};
3667
+ void 0 !== i?.macro && (m.macro = i.macro), void 0 !== i?.published && (m.fPublished = i.published ? "1" : "0");
3668
+ const p = {};
3669
+ void 0 !== l.dpi && (p.dpi = String(l.dpi)), void 0 !== l.isRotatedWithShape && (p.rotWithShape = l.isRotatedWithShape ? "1" : "0");
3670
+ const f = t.getXMLWriter();
3671
+ f.start("pic", m), f.start("nvPicPr"), Li(t, f, n, o, e), f.start("cNvPicPr", i?.noRelativeResize ? { preferRelativeResize: "0" } : {}), f.empty("a:picLocks", Bi(o)), f.end("cNvPicPr"), f.end("nvPicPr"), f.start("blipFill", p), f.pushDefaultNamespace("a"), as(f, d, a), f.popDefaultNamespace(), f.end("blipFill"), await Ai(t, e, n, o, s), f.end("pic");
3672
3672
  }, yi = "<a:extLst><a:ext uri=\"{28A0092B-C50C-407E-A947-70E740481C1C}\"><a14:useLocalDpi xmlns:a14=\"http://schemas.microsoft.com/office/drawing/2010/main\" val=\"0\"/></a:ext></a:extLst>", vi = async (t, e, n, o, s) => {
3673
3673
  const r = o.content?.json, a = r?.model, i = r?.part, l = () => s ?? n?.getBounds() ?? {
3674
3674
  x: 0,
@@ -3763,8 +3763,8 @@ var Ka = [
3763
3763
  default: return We(o.content?.type) ? void Wi(t.getXMLWriter(), o, s) : Pi(t, e, o, s);
3764
3764
  }
3765
3765
  }, Ci = async (t, e, n, o, s) => {
3766
- const a = t.getXMLWriter(), i = {}, l = o.content?.json, c = l?.type ?? r.Type.Shape, d = e.getStyles();
3767
- c === r.Type.Connector ? (void 0 !== l?.macro && (i.macro = l.macro), void 0 !== l?.published && (i.fPublished = l.published ? "1" : "0"), a.start("cxnSp", i), a.start("nvCxnSpPr"), Li(t, a, n, o, e), $i(t, a, n, o, e), a.end("nvCxnSpPr"), await Ai(t, e, n, o, s), Di(t, e, n, o), Ga(t, d, l?.text), a.end("cxnSp")) : (void 0 !== l?.macro && (i.macro = l.macro), void 0 !== l?.textLink && (i.textlink = l.textLink), void 0 !== l?.locksText && (i.fLocksText = l.locksText ? "1" : "0"), void 0 !== l?.published && (i.fPublished = l.published ? "1" : "0"), a.start("sp", i), a.start("nvSpPr"), Li(t, a, n, o, e), $i(t, a, n, o, e), a.end("nvSpPr"), await Ai(t, e, n, o, s), Di(t, e, n, o), Ga(t, d, l?.text), a.end("sp"));
3766
+ const r = t.getXMLWriter(), a = {}, i = o.content?.json, l = i?.type ?? h.Type.Shape, c = e.getStyles();
3767
+ l === h.Type.Connector ? (void 0 !== i?.macro && (a.macro = i.macro), void 0 !== i?.published && (a.fPublished = i.published ? "1" : "0"), r.start("cxnSp", a), r.start("nvCxnSpPr"), Li(t, r, n, o, e), $i(t, r, n, o, e), r.end("nvCxnSpPr"), await Ai(t, e, n, o, s), Di(t, e, n, o), Ga(t, c, i?.text), r.end("cxnSp")) : (void 0 !== i?.macro && (a.macro = i.macro), void 0 !== i?.textLink && (a.textlink = i.textLink), void 0 !== i?.locksText && (a.fLocksText = i.locksText ? "1" : "0"), void 0 !== i?.published && (a.fPublished = i.published ? "1" : "0"), r.start("sp", a), r.start("nvSpPr"), Li(t, r, n, o, e), $i(t, r, n, o, e), r.end("nvSpPr"), await Ai(t, e, n, o, s), Di(t, e, n, o), Ga(t, c, i?.text), r.end("sp"));
3768
3768
  }, ki = async (t, e, n, o) => Pi(t, e, o, n.getBounds()), Ti = "http://schemas.openxmlformats.org/markup-compatibility/2006", Ii = "http://schemas.microsoft.com/office/drawing/2010/slicer", Ri = "http://schemas.microsoft.com/office/drawing/2012/timeslicer", Fi = async (t, e, n, o) => {
3769
3769
  const s = t.getXMLWriter(), r = o.content?.name ?? "", a = Cr(n.getContent()), i = void 0 !== a?.timeline, l = i ? {
3770
3770
  "xmlns:tsle": Ri,
@@ -3878,7 +3878,7 @@ var Ka = [
3878
3878
  }, Di = (t, e, n, o) => {
3879
3879
  const s = t.getXMLWriter(), r = o.content?.json?.style;
3880
3880
  if (null === r) return;
3881
- const a = e.getStyles().getTheme(), i = c.defaultStyleRefs(o.content?.json), l = (t, e) => {
3881
+ const a = e.getStyles().getTheme(), i = p.defaultStyleRefs(o.content?.json), l = (t, e) => {
3882
3882
  e && (s.start(t, { idx: String(e.index) }), e.color && Mo(s, a, e.color), s.end(t));
3883
3883
  };
3884
3884
  s.start("style"), s.pushDefaultNamespace("a"), l("lnRef", r?.stroke ?? i.stroke), l("fillRef", r?.fill ?? i.fill), l("effectRef", r?.effect ?? i.effect), l("fontRef", r?.font ?? i.font), s.popDefaultNamespace(), s.end("style");
@@ -3910,12 +3910,12 @@ var Ka = [
3910
3910
  for (const t of Object.keys(e)) e[t] && (n[t] = "1");
3911
3911
  return Object.keys(n).length > 0 ? n : null;
3912
3912
  }, $i = (t, e, n, o, s) => {
3913
- const a = o.content?.json, i = Ni(o);
3914
- if (a?.type === r.Type.Connector) {
3915
- const n = a.connectorEnds;
3916
- if (!i && !n) return void e.empty("cNvCxnSpPr");
3913
+ const r = o.content?.json, a = Ni(o);
3914
+ if (r?.type === h.Type.Connector) {
3915
+ const n = r.connectorEnds;
3916
+ if (!a && !n) return void e.empty("cNvCxnSpPr");
3917
3917
  const o = _i(t, s);
3918
- e.start("cNvCxnSpPr"), i && e.empty("a:cxnSpLocks", i), n?.start && e.empty("a:stCxn", {
3918
+ e.start("cNvCxnSpPr"), a && e.empty("a:cxnSpLocks", a), n?.start && e.empty("a:stCxn", {
3919
3919
  id: String(o.bySource.get(n.start.id) ?? n.start.id),
3920
3920
  idx: String(n.start.index)
3921
3921
  }), n?.end && e.empty("a:endCxn", {
@@ -3924,8 +3924,8 @@ var Ka = [
3924
3924
  }), e.end("cNvCxnSpPr");
3925
3925
  return;
3926
3926
  }
3927
- const l = { txBox: a?.textBox ? "1" : void 0 };
3928
- i ? (e.start("cNvSpPr", l), e.empty("a:spLocks", i), e.end("cNvSpPr")) : e.empty("cNvSpPr", l);
3927
+ const i = { txBox: r?.textBox ? "1" : void 0 };
3928
+ a ? (e.start("cNvSpPr", i), e.empty("a:spLocks", a), e.end("cNvSpPr")) : e.empty("cNvSpPr", i);
3929
3929
  }, Bi = (t) => {
3930
3930
  const e = { ...(t.content?.json)?.locks };
3931
3931
  void 0 !== t.lockAspect ? e.noChangeAspect = t.lockAspect : e.noChangeAspect ??= !0;
@@ -4008,7 +4008,7 @@ var Ui = {
4008
4008
  function Gi(t, e, n, o) {
4009
4009
  if (null == o) return;
4010
4010
  Ui.rowIndex = e, Ui.colIndex = n;
4011
- const s = F.cellToString(Ui);
4011
+ const s = I.cellToString(Ui);
4012
4012
  let r, a;
4013
4013
  switch (typeof o) {
4014
4014
  case "number":
@@ -4072,7 +4072,7 @@ var qi = [
4072
4072
  ...t.styles,
4073
4073
  direct: a.list
4074
4074
  }), n.setXfComplements(a.complements), s;
4075
- }(s, t.getSheets({ visibility: A.Visibility.VeryHidden }), r, (t, n) => {
4075
+ }(s, t.getSheets({ visibility: b.Visibility.VeryHidden }), r, (t, n) => {
4076
4076
  e.warn(t, void 0, n);
4077
4077
  });
4078
4078
  e.getSharedStates().set(pt, mt(s.names, function(t) {
@@ -4117,7 +4117,7 @@ var qi = [
4117
4117
  a && (s.xWindow = "" + Math.round(a.left), s.yWindow = "" + Math.round(a.top), s.windowWidth = "" + Math.round(a.width), s.windowHeight = "" + Math.round(a.height));
4118
4118
  const i = o.getTabRatio();
4119
4119
  600 !== i && (s.tabRatio = i);
4120
- const l = Math.min(o.getFirstTab(), n.getSheets({ visibility: A.Visibility.VeryHidden }).length - 1);
4120
+ const l = Math.min(o.getFirstTab(), n.getSheets({ visibility: b.Visibility.VeryHidden }).length - 1);
4121
4121
  l > 0 && (s.firstSheet = "" + l);
4122
4122
  const c = n.getSelectedSheet().getIndex();
4123
4123
  0 !== c && (s.activeTab = "" + c), o.isAutoFilterDateGrouping() || (s.autoFilterDateGrouping = "0"), e.empty("workbookView", s), e.end("bookViews");
@@ -4173,7 +4173,7 @@ var qi = [
4173
4173
  }
4174
4174
  return s;
4175
4175
  })(e, s.pivotCaches, !0 === s.date1904, ((t) => {
4176
- const e = /* @__PURE__ */ new Set(), n = t.getWorksheets().getItems({ visibility: A.Visibility.VeryHidden });
4176
+ const e = /* @__PURE__ */ new Set(), n = t.getWorksheets().getItems({ visibility: b.Visibility.VeryHidden });
4177
4177
  for (let t = 0; t < n.length; t++) {
4178
4178
  const o = Tr(n[t]);
4179
4179
  for (let t = 0; t < o.length; t++) {
@@ -4199,7 +4199,7 @@ var qi = [
4199
4199
  cacheNames: []
4200
4200
  };
4201
4201
  try {
4202
- const o = t.getSheets({ visibility: A.Visibility.VeryHidden }), i = s.sheets, d = t.getSelectedSheet(), m = o.length, f = ((t, e) => {
4202
+ const o = t.getSheets({ visibility: b.Visibility.VeryHidden }), i = s.sheets, d = t.getSelectedSheet(), m = o.length, f = ((t, e) => {
4203
4203
  const n = new Array(e), o = /* @__PURE__ */ new Set();
4204
4204
  let s = 1;
4205
4205
  for (let r = 0; r < e; r++) {
@@ -4267,7 +4267,7 @@ var qi = [
4267
4267
  pivot: [],
4268
4268
  timeline: [],
4269
4269
  cacheNames: []
4270
- }, o = pr(t), s = e.getWorksheets().getItems({ visibility: A.Visibility.VeryHidden });
4270
+ }, o = pr(t), s = e.getWorksheets().getItems({ visibility: b.Visibility.VeryHidden });
4271
4271
  for (let e = 0; e < s.length; e++) {
4272
4272
  const r = Tr(s[e]);
4273
4273
  for (let e = 0; e < r.length; e++) {
@@ -4339,7 +4339,7 @@ var qi = [
4339
4339
  }(e, n, s), function(t, e, n, o, s) {
4340
4340
  const r = t.getSharedStates().get(pt), a = o.names, i = a ? a.length : 0, l = new Set((a ?? []).filter((t) => !t.scope).map((t) => t.name.toLowerCase())), c = s.filter((t) => !l.has(t.toLowerCase()));
4341
4341
  if (0 === i && 0 === c.length) return;
4342
- const d = /* @__PURE__ */ new Map(), m = n.getSheets({ visibility: A.Visibility.VeryHidden });
4342
+ const d = /* @__PURE__ */ new Map(), m = n.getSheets({ visibility: b.Visibility.VeryHidden });
4343
4343
  for (let t = 0; t < m.length; t++) d.set(m[t].getName().toLowerCase(), t);
4344
4344
  e.start("definedNames");
4345
4345
  for (let n = 0; n < i; n++) {
@@ -4509,7 +4509,7 @@ var qi = [
4509
4509
  rowEnd: a.rowEnd
4510
4510
  }).getAddress()}`), e.empty("dimension", { ref: f });
4511
4511
  }(0, s, r, i), function(t, e, n, o, s) {
4512
- const r = n.getView(), a = r.getTopLeft(), i = n.getRowHeaders().getMetrics().getIndex(a.top), l = n.getColumnHeaders().getMetrics().getIndex(a.left), c = F.cellToString({
4512
+ const r = n.getView(), a = r.getTopLeft(), i = n.getRowHeaders().getMetrics().getIndex(a.top), l = n.getColumnHeaders().getMetrics().getIndex(a.left), c = I.cellToString({
4513
4513
  colIndex: l,
4514
4514
  rowIndex: i
4515
4515
  });
@@ -4517,7 +4517,7 @@ var qi = [
4517
4517
  const d = {};
4518
4518
  r.isShowFormulas() && (d.showFormulas = "1"), r.isShowColumnGridlines() || r.isShowRowGridlines() || (d.showGridLines = "0"), r.isShowColumnHeaders() || r.isShowRowHeaders() || (d.showRowColHeaders = "0"), r.isShowZeros() || (d.showZeros = "0"), r.isRightToLeft() && (d.rightToLeft = "1"), r.isShowOutlineSymbols() || (d.showOutlineSymbols = "0"), s && (d.tabSelected = "1"), "A1" !== c && (d.topLeftCell = c), r.isShowRuler() || (d.showRuler = "0"), r.isShowWhitespace() || (d.showWhiteSpace = "0");
4519
4519
  const m = r.getViewMode();
4520
- m !== b.ViewMode.Normal && (d.view = m);
4520
+ m !== A.ViewMode.Normal && (d.view = m);
4521
4521
  const p = r.getZoomScale();
4522
4522
  100 !== p && (d.zoomScale = p);
4523
4523
  const f = r.toJSON(), h = f?.zoomScales ?? {};
@@ -4538,17 +4538,17 @@ var qi = [
4538
4538
  d.colorId = "" + i;
4539
4539
  }
4540
4540
  d.workbookViewId = "0";
4541
- const g = n.getSelection().getCoords(), x = F.cellToString(g.cell);
4541
+ const g = n.getSelection().getCoords(), x = I.cellToString(g.cell);
4542
4542
  let y = {};
4543
- const v = r.getFreezePanes(), w = v.coords ?? {}, S = w.colIndex ?? 0, C = w.rowIndex ?? 0;
4544
- if (S > 0 || C > 0) {
4545
- const t = v.topLeft ?? {}, o = t.top ?? 0, s = t.left ?? 0, r = n.getRowHeaders().getMetrics().getIndex(o), i = n.getColumnHeaders().getMetrics().getIndex(s), l = S - i, c = C - r, m = Math.max(S, n.getColumnHeaders().getMetrics().getIndex(a.left + n.getColumnHeaders().getMetrics().getOffset(S) - s)), p = Math.max(C, n.getRowHeaders().getMetrics().getIndex(a.top + n.getRowHeaders().getMetrics().getOffset(C) - o)), f = F.cellToString({
4543
+ const v = r.getFreezePanes(), w = v.coords ?? {}, S = w.colIndex ?? 0, b = w.rowIndex ?? 0;
4544
+ if (S > 0 || b > 0) {
4545
+ const t = v.topLeft ?? {}, o = t.top ?? 0, s = t.left ?? 0, r = n.getRowHeaders().getMetrics().getIndex(o), i = n.getColumnHeaders().getMetrics().getIndex(s), l = S - i, c = b - r, m = Math.max(S, n.getColumnHeaders().getMetrics().getIndex(a.left + n.getColumnHeaders().getMetrics().getOffset(S) - s)), p = Math.max(b, n.getRowHeaders().getMetrics().getIndex(a.top + n.getRowHeaders().getMetrics().getOffset(b) - o)), f = I.cellToString({
4546
4546
  colIndex: i,
4547
4547
  rowIndex: r
4548
4548
  });
4549
4549
  "A1" !== f ? d.topLeftCell = f : delete d.topLeftCell, e.start("sheetView", d);
4550
4550
  const h = {};
4551
- l > 0 && (h.xSplit = l), c > 0 && (h.ySplit = c), h.topLeftCell = F.cellToString({
4551
+ l > 0 && (h.xSplit = l), c > 0 && (h.ySplit = c), h.topLeftCell = I.cellToString({
4552
4552
  colIndex: m,
4553
4553
  rowIndex: p
4554
4554
  }), h.state = "frozen";
@@ -4562,27 +4562,27 @@ var qi = [
4562
4562
  sqref: s?.sqref ?? r
4563
4563
  });
4564
4564
  };
4565
- 0 === S ? (h.activePane = "bottomLeft", e.empty("pane", h), g("topLeft", F.cellToString({
4565
+ 0 === S ? (h.activePane = "bottomLeft", e.empty("pane", h), g("topLeft", I.cellToString({
4566
4566
  colIndex: m,
4567
4567
  rowIndex: r
4568
- }), !1), y.pane = "bottomLeft") : 0 === C ? (h.activePane = "topRight", e.empty("pane", h), g("topLeft", F.cellToString({
4568
+ }), !1), y.pane = "bottomLeft") : 0 === b ? (h.activePane = "topRight", e.empty("pane", h), g("topLeft", I.cellToString({
4569
4569
  colIndex: i,
4570
4570
  rowIndex: p
4571
- }), !1), y.pane = "topRight") : (h.activePane = "bottomRight", e.empty("pane", h), g("topLeft", f, !1), g("topRight", F.cellToString({
4571
+ }), !1), y.pane = "topRight") : (h.activePane = "bottomRight", e.empty("pane", h), g("topLeft", f, !1), g("topRight", I.cellToString({
4572
4572
  colIndex: m,
4573
4573
  rowIndex: r
4574
- }), !0), g("bottomLeft", F.cellToString({
4574
+ }), !0), g("bottomLeft", I.cellToString({
4575
4575
  colIndex: i,
4576
4576
  rowIndex: p
4577
4577
  }), !0), y.pane = "bottomRight");
4578
4578
  } else e.start("sheetView", d);
4579
4579
  y.activeCell = x;
4580
- const k = g.ranges, T = k ? k.length : 0;
4581
- if (T > 0) {
4580
+ const C = g.ranges, k = C ? C.length : 0;
4581
+ if (k > 0) {
4582
4582
  let t = "";
4583
- for (let e = 0; e < T; e++) {
4584
- const n = k[e];
4585
- e > 0 && (t += " "), t += F.rangeToString(n);
4583
+ for (let e = 0; e < k; e++) {
4584
+ const n = C[e];
4585
+ e > 0 && (t += " "), t += I.rangeToString(n);
4586
4586
  }
4587
4587
  y.sqref = t, (g.rangeIndex ?? 0) > 0 && (y.activeCellId = "" + g.rangeIndex);
4588
4588
  } else "A1" === x ? y = null : y.sqref = x;
@@ -4598,7 +4598,7 @@ var qi = [
4598
4598
  thickBottom: s,
4599
4599
  run: n
4600
4600
  };
4601
- }, s = t.defaultRowSize ?? e, r = t.rows ? F.refsToRuns(t.rows, !1) : null;
4601
+ }, s = t.defaultRowSize ?? e, r = t.rows ? I.refsToRuns(t.rows, !1) : null;
4602
4602
  let a = null, i = 0;
4603
4603
  const l = r ? r.length : 0;
4604
4604
  for (let t = 0; t < l; t++) {
@@ -4609,7 +4609,7 @@ var qi = [
4609
4609
  })(i, .75 * r.getStyles().getNormal().getBestFit().height, r.getEntireRange().getRowEnd() + 1);
4610
4610
  (function(t, e, n, o, s) {
4611
4611
  const r = o.defaultColSize, a = o.defaultRowSize, i = {};
4612
- void 0 !== o.baseColSize && (i.baseColWidth = o.baseColSize), void 0 !== r && (i.defaultColWidth = r), s ? (i.defaultRowHeight = s.height, s.custom && (i.customHeight = "1")) : (i.defaultRowHeight = a ?? .75 * n.getRowHeaders().getMetrics().getDefaultSize(), void 0 !== a && (i.customHeight = "1")), o.rows && null !== ra(F.refsToRuns(o.rows, !1)) && (i.zeroHeight = "1"), s?.thickTop && (i.thickTop = "1"), s?.thickBottom && (i.thickBottom = "1");
4612
+ void 0 !== o.baseColSize && (i.baseColWidth = o.baseColSize), void 0 !== r && (i.defaultColWidth = r), s ? (i.defaultRowHeight = s.height, s.custom && (i.customHeight = "1")) : (i.defaultRowHeight = a ?? .75 * n.getRowHeaders().getMetrics().getDefaultSize(), void 0 !== a && (i.customHeight = "1")), o.rows && null !== ra(I.refsToRuns(o.rows, !1)) && (i.zeroHeight = "1"), s?.thickTop && (i.thickTop = "1"), s?.thickBottom && (i.thickBottom = "1");
4613
4613
  const l = n.getOutline(), c = l.getLevelCount(v.Axis.Row);
4614
4614
  c > 0 && (i.outlineLevelRow = c);
4615
4615
  const d = l.getLevelCount(v.Axis.Column);
@@ -4617,7 +4617,7 @@ var qi = [
4617
4617
  })(0, s, r, i, c);
4618
4618
  const d = !1 === i.protection?.showFormulas ? e.getSharedStates().get("xfVariants") ?? null : null;
4619
4619
  (function(t, e, n, o, s) {
4620
- const r = o.cols ? F.refsToRuns(o.cols, !0) : null, a = r ? r.length : 0;
4620
+ const r = o.cols ? I.refsToRuns(o.cols, !0) : null, a = r ? r.length : 0;
4621
4621
  n.getEntireRange().getColumnEnd();
4622
4622
  const i = n.getColumnHeaders().getDefaultSizeNative(), l = s ? s.getXf(0, !0, !1) : 0;
4623
4623
  let c = 1;
@@ -4653,7 +4653,7 @@ var qi = [
4653
4653
  for (const n of t.pivotTables ?? []) {
4654
4654
  const t = n.buttons?.length ? te(n) : null;
4655
4655
  if (t) for (const o of n.buttons) {
4656
- const n = F.fastStringToRange(o);
4656
+ const n = I.fastStringToRange(o);
4657
4657
  for (let o = n.rowStart; o <= n.rowEnd; o++) for (let s = n.colStart; s <= n.colEnd; s++) (e ??= /* @__PURE__ */ new Set()).add((t.rowStart + o) * Ra + t.colStart + s);
4658
4658
  }
4659
4659
  }
@@ -4665,15 +4665,15 @@ var qi = [
4665
4665
  o && (e ??= []).push({
4666
4666
  table: n,
4667
4667
  coords: o,
4668
- formats: t?.header ? L(t) : null
4668
+ formats: t?.header ? M(t) : null
4669
4669
  });
4670
4670
  }
4671
4671
  return e;
4672
4672
  }(n);
4673
4673
  let g = 0, y = 0;
4674
- const b = n.getUsedRange();
4675
- let k = 0;
4676
- const T = l?.run, I = s.rows ? F.refsToRuns(s.rows, !1) : null, R = s.defaultRowSize ?? .75 * n.getStyles().getNormal().getBestFit().height, E = I && T ? ((t, e, n, o) => {
4674
+ const S = n.getUsedRange();
4675
+ let b = 0;
4676
+ const C = l?.run, T = s.rows ? I.refsToRuns(s.rows, !1) : null, R = s.defaultRowSize ?? .75 * n.getStyles().getNormal().getBestFit().height, F = T && C ? ((t, e, n, o) => {
4677
4677
  const s = [];
4678
4678
  let r = 0;
4679
4679
  const a = (t, e) => {
@@ -4688,22 +4688,22 @@ var qi = [
4688
4688
  a(r, o.min - 1), r = o.max + 1, o.min === e.min && o.max === e.max || s.push(o);
4689
4689
  }
4690
4690
  return a(r, o - 1), s;
4691
- })(I, T, R, n.getEntireRange().getRowEnd() + 1) : I, M = E ? E.length : 0, A = ra(E), D = null !== A ? A - 1 : E?.[M - 1]?.max ?? -1, _ = s.cols ? F.refsToRuns(s.cols, !0) : null, N = _ ? _.length : 0, $ = _?.[N - 1]?.max ?? -1;
4692
- if (b || M > 0) {
4693
- const c = .75, b = s.defaultRowSize ?? n.getRowHeaders().getMetrics().getDefaultSize() * c, T = n.getStyles().getNormal().getBestFit().height * c, I = sa(n.getOutline(), v.Axis.Row), R = (t, e) => {
4691
+ })(T, C, R, n.getEntireRange().getRowEnd() + 1) : T, E = F ? F.length : 0, P = ra(F), A = null !== P ? P - 1 : F?.[E - 1]?.max ?? -1, _ = s.cols ? I.refsToRuns(s.cols, !0) : null, N = _ ? _.length : 0, $ = _?.[N - 1]?.max ?? -1;
4692
+ if (S || E > 0) {
4693
+ const c = .75, S = s.defaultRowSize ?? n.getRowHeaders().getMetrics().getDefaultSize() * c, C = n.getStyles().getNormal().getBestFit().height * c, T = sa(n.getOutline(), v.Axis.Row), R = (t, e) => {
4694
4694
  const n = Ma;
4695
4695
  if (n.r = "" + (t + 1), n.s = void 0, n.customFormat = void 0, n.hidden = void 0, n.ht = void 0, n.customHeight = void 0, n.outlineLevel = void 0, n.collapsed = void 0, n.thickTop = void 0, n.thickBot = void 0, !e) return n;
4696
4696
  const o = e.value;
4697
4697
  void 0 !== o.s && (n.s = "" + (i ? i.getXf(o.s, !0, !1) : o.s), n.customFormat = "1"), o.h && (n.hidden = "1");
4698
- const s = o.csz ?? !1, r = o.sz ?? b;
4699
- return (r !== (l?.height ?? T) || s) && (n.ht = "" + r), s && (n.customHeight = "1"), o.l && (n.outlineLevel = "" + o.l), I.has(t) && (n.collapsed = "1"), o.tt && (n.thickTop = "1"), o.tb && (n.thickBot = "1"), n;
4698
+ const s = o.csz ?? !1, r = o.sz ?? S;
4699
+ return (r !== (l?.height ?? C) || s) && (n.ht = "" + r), s && (n.customHeight = "1"), o.l && (n.outlineLevel = "" + o.l), T.has(t) && (n.collapsed = "1"), o.tt && (n.thickTop = "1"), o.tb && (n.thickBot = "1"), n;
4700
4700
  };
4701
- let M = 0, L = E?.[M] ?? null, N = L?.min ?? Number.MAX_SAFE_INTEGER, B = L?.max ?? Number.MAX_SAFE_INTEGER, O = L?.value?.s, V = -1, W = 0, z = _?.[W] ?? null, j = z?.min ?? Number.MAX_SAFE_INTEGER, X = z?.max ?? Number.MAX_SAFE_INTEGER, H = z?.value?.s;
4701
+ let E = 0, M = F?.[E] ?? null, N = M?.min ?? Number.MAX_SAFE_INTEGER, B = M?.max ?? Number.MAX_SAFE_INTEGER, O = M?.value?.s, V = -1, W = 0, z = _?.[W] ?? null, j = z?.min ?? Number.MAX_SAFE_INTEGER, X = z?.max ?? Number.MAX_SAFE_INTEGER, H = z?.value?.s;
4702
4702
  const U = (t, n = !1) => {
4703
4703
  if (V !== t) {
4704
4704
  for (-1 !== V && (e.end("row"), 0 !== W && (W = 0, z = _?.[W] ?? null, j = z?.min ?? Number.MAX_SAFE_INTEGER, X = z?.max ?? Number.MAX_SAFE_INTEGER, H = z?.value?.s)); V + 1 <= t;) {
4705
- V++, L && V > B && (L = E[++M] ?? null, L ? (N = L.min, B = L.max, O = L.value?.s) : (N = Number.MAX_SAFE_INTEGER, B = Number.MAX_SAFE_INTEGER, O = void 0)), V < N && V < t && null === A && (V = L ? Math.min(N, t) : t), null !== A && V >= A && V < t && (V = t);
4706
- const o = V < t || n && V === t, s = R(V, L && V >= N && V <= B ? L : null);
4705
+ V++, M && V > B && (M = F[++E] ?? null, M ? (N = M.min, B = M.max, O = M.value?.s) : (N = Number.MAX_SAFE_INTEGER, B = Number.MAX_SAFE_INTEGER, O = void 0)), V < N && V < t && null === P && (V = M ? Math.min(N, t) : t), null !== P && V >= P && V < t && (V = t);
4706
+ const o = V < t || n && V === t, s = R(V, M && V >= N && V <= B ? M : null);
4707
4707
  o ? e.empty("row", s) : e.start("row", s);
4708
4708
  }
4709
4709
  if (t < V) {
@@ -4762,23 +4762,23 @@ var qi = [
4762
4762
  rowIndex: u.rowStart,
4763
4763
  colIndex: u.colStart
4764
4764
  }, v = c.parse(g, y), w = v ? c.annotate(v) : void 0, S = v ? c.spell(v, f.has(`${u.rowStart},${u.colStart}`), p(u.rowStart, u.colStart)) : null;
4765
- let b = S ? C.imager(S, { entireCoords: d }) : null;
4766
- if (b) g = b(y);
4765
+ let C = S ? D.imager(S, { entireCoords: d }) : null;
4766
+ if (C) g = C(y);
4767
4767
  else if (!o.isSingleCell(u)) {
4768
4768
  const t = [];
4769
- F.normalizeA1ToR1C1(g, y.rowIndex, y.colIndex, t), b = (e) => {
4769
+ I.normalizeA1ToR1C1(g, y.rowIndex, y.colIndex, t), C = (e) => {
4770
4770
  const n = e ?? y;
4771
- return F.resolveRelativeToA1(t, n.rowIndex, n.colIndex);
4771
+ return I.resolveRelativeToA1(t, n.rowIndex, n.colIndex);
4772
4772
  };
4773
4773
  }
4774
4774
  if (g.length > 8192) {
4775
- t.warn(`The formula at '${n.getName()}'!${F.rangeToString(u)} is ${g.length.toLocaleString()} characters as xlsx stores it; Excel allows at most ${8192 .toLocaleString()}. Its cells are saved as values.`, void 0, "xlsx.formula.lengthLimit");
4775
+ t.warn(`The formula at '${n.getName()}'!${I.rangeToString(u)} is ${g.length.toLocaleString()} characters as xlsx stores it; Excel allows at most ${8192 .toLocaleString()}. Its cells are saved as values.`, void 0, "xlsx.formula.lengthLimit");
4776
4776
  continue;
4777
4777
  }
4778
- let T = !0 === w?.cm;
4779
- const I = !0 === w?.ca;
4778
+ let k = !0 === w?.cm;
4779
+ const T = !0 === w?.ca;
4780
4780
  if (r.affects(s)) {
4781
- x = null, T = !1;
4781
+ x = null, k = !1;
4782
4782
  const t = (t, e, n) => {
4783
4783
  const o = {
4784
4784
  rowStart: t,
@@ -4790,7 +4790,7 @@ var qi = [
4790
4790
  coords: o,
4791
4791
  formula: n,
4792
4792
  sharedId: null,
4793
- ref: F.rangeToString(o),
4793
+ ref: I.rangeToString(o),
4794
4794
  isDynamicRange: !1,
4795
4795
  isWrapped: !0
4796
4796
  }]);
@@ -4803,7 +4803,7 @@ var qi = [
4803
4803
  t(r, a, o), s = !0;
4804
4804
  continue;
4805
4805
  }
4806
- const i = n.getRange(F.rangeToString({
4806
+ const i = n.getRange(I.rangeToString({
4807
4807
  rowStart: r,
4808
4808
  colStart: a,
4809
4809
  rowEnd: r,
@@ -4812,23 +4812,23 @@ var qi = [
4812
4812
  null !== l && t(r, a, l);
4813
4813
  }
4814
4814
  } else m.forEach((e, n) => {
4815
- const o = n.getCoords(), r = b?.(o) ?? g, a = se(r, n.getCell().getValue());
4815
+ const o = n.getCoords(), r = C?.(o) ?? g, a = se(r, n.getCell().getValue());
4816
4816
  null !== a && (t(o.rowIndex, o.colIndex, a), s = !0);
4817
4817
  }, { includeEmpty: !0 });
4818
4818
  if (s) continue;
4819
4819
  }
4820
4820
  const R = -1 !== g.indexOf("!") || -1 !== g.indexOf("[");
4821
- T || m.isSingleCell() || R || l(u) || (x = "" + k++);
4822
- const E = null !== x || m.isSingleCell() ? null : b, M = [u, {
4821
+ k || m.isSingleCell() || R || l(u) || (x = "" + b++);
4822
+ const F = null !== x || m.isSingleCell() ? null : C, E = [u, {
4823
4823
  coords: u,
4824
4824
  formula: g,
4825
4825
  sharedId: x,
4826
4826
  ref: e,
4827
- isDynamicRange: T,
4828
- isExcelVolatile: I,
4829
- memberImage: E
4827
+ isDynamicRange: k,
4828
+ isExcelVolatile: T,
4829
+ memberImage: F
4830
4830
  }];
4831
- h.push(M);
4831
+ h.push(E);
4832
4832
  } catch (e) {
4833
4833
  t.log(`Could not write the formula '${i[1]}' over '${i[0]}'; those cells are written as values only. ${e}`);
4834
4834
  continue;
@@ -4881,13 +4881,13 @@ var qi = [
4881
4881
  void 0 !== H && l >= j && l <= X && (c = H);
4882
4882
  }
4883
4883
  const v = o.getType();
4884
- let b = null;
4885
- J > 0 && (b = o.getInjectedReference(1) ?? null);
4886
- let C = !1;
4887
- Z > 0 && (C = o.getInjectedReference(2) ?? !1);
4888
- let k = null;
4889
- tt > 0 && (k = o.getInjectedReference(3) ?? null);
4890
- const T = "error" === k?.kind, I = "fixed" === k?.kind, R = Ea;
4884
+ let S = null;
4885
+ J > 0 && (S = o.getInjectedReference(1) ?? null);
4886
+ let b = !1;
4887
+ Z > 0 && (b = o.getInjectedReference(2) ?? !1);
4888
+ let C = null;
4889
+ tt > 0 && (C = o.getInjectedReference(3) ?? null);
4890
+ const T = "error" === C?.kind, I = "fixed" === C?.kind, R = Ea;
4891
4891
  R.r = o.getAddress(), R.s = void 0, R.t = void 0, R.cm = void 0, R.vm = void 0;
4892
4892
  const F = null !== h && h.has(r * Ra + l), E = null !== u ? function(t, e, n) {
4893
4893
  for (const { table: o, coords: s, formats: r } of t) {
@@ -4903,28 +4903,28 @@ var qi = [
4903
4903
  }(u, r, l) : null;
4904
4904
  (i || F || null !== E) && (c = f.getXf(c ?? 0, null !== i, F, E?.labelIndent ?? null, E?.numberFormat ?? null, E?.user ?? null)), void 0 !== c && 0 !== c && (R.s = "" + c);
4905
4905
  const M = K.length > 0 ? o.getInjectedReference(4) ?? null : null;
4906
- let A = null, D = null;
4906
+ let P = null, A = null;
4907
4907
  switch (v) {
4908
4908
  case x.Boolean:
4909
- A = n ? "1" : "0", D = "b";
4909
+ P = n ? "1" : "0", A = "b";
4910
4910
  break;
4911
4911
  case x.Error:
4912
4912
  const t = n.getCode();
4913
- if (D = "e", t > 7) A = w.BuiltIn.Value.getLabel(), R.vm = "" + p.add(n);
4913
+ if (A = "e", t > 7) P = w.BuiltIn.Value.getLabel(), R.vm = "" + p.add(n);
4914
4914
  else if (t < 1) {
4915
4915
  let t;
4916
- D = "s", b ? (t = "=" + b.formula, b = null) : t = "" + n.getLabel(), A = "" + d.add(t), g++;
4917
- } else A = "" + n.getLabel();
4916
+ A = "s", S ? (t = "=" + S.formula, S = null) : t = "" + n.getLabel(), P = "" + d.add(t), g++;
4917
+ } else P = "" + n.getLabel();
4918
4918
  break;
4919
4919
  case x.Number:
4920
- A = ot(n), D = null;
4920
+ P = ot(n), A = null;
4921
4921
  break;
4922
4922
  case x.String:
4923
- A = n, b || M ? (D = "str", A = n) : (D = "s", A = "" + d.add(A), g++);
4923
+ P = n, S || M ? (A = "str", P = n) : (A = "s", P = "" + d.add(P), g++);
4924
4924
  break;
4925
4925
  case x.RichData:
4926
- if (n instanceof P) {
4927
- b || M ? (D = "str", A = n.getText()) : (D = "s", A = "" + d.add(function(t, e, n) {
4926
+ if (n instanceof k) {
4927
+ S || M ? (A = "str", P = n.getText()) : (A = "s", P = "" + d.add(function(t, e, n) {
4928
4928
  const o = t.getRuns(), s = e.getCell().getRichText();
4929
4929
  if (!s) return t.getText();
4930
4930
  const r = new Array(o.length);
@@ -4941,45 +4941,45 @@ var qi = [
4941
4941
  }
4942
4942
  const i = JSON.stringify(r);
4943
4943
  let l = n.get(i);
4944
- return void 0 === l && (l = new P(r), n.set(i, l)), l;
4944
+ return void 0 === l && (l = new k(r), n.set(i, l)), l;
4945
4945
  }(n, o, et)), g++);
4946
4946
  break;
4947
4947
  }
4948
- if (n instanceof S) {
4948
+ if (n instanceof L) {
4949
4949
  const t = n.toPrimitive();
4950
- "number" == typeof t ? A = ot(t) : "boolean" == typeof t ? (D = "b", A = t ? "1" : "0") : b || M ? (D = "str", A = t) : (D = "s", A = "" + d.add(t), g++);
4950
+ "number" == typeof t ? P = ot(t) : "boolean" == typeof t ? (A = "b", P = t ? "1" : "0") : S || M ? (A = "str", P = t) : (A = "s", P = "" + d.add(t), g++);
4951
4951
  break;
4952
4952
  }
4953
- D = "e", A = w.BuiltIn.Value.getLabel(), R.vm = "" + p.add(n, b?.formula ?? (M ? "" : null));
4953
+ A = "e", P = w.BuiltIn.Value.getLabel(), R.vm = "" + p.add(n, S?.formula ?? (M ? "" : null));
4954
4954
  }
4955
- D && (R.t = D);
4956
- const L = !b?.isWrapped && (null !== k || (b?.isDynamicRange ?? !1));
4957
- if (null !== b || null !== A || null !== M) {
4958
- if (L && null !== b && !I && (R.cm = "" + m.registerArrayCell(T)), e.start("c", R), b) {
4959
- const t = r === b.coords.rowStart && l === b.coords.colStart;
4960
- let n = b.formula;
4961
- b.memberImage && !t && (n = b.memberImage({
4955
+ A && (R.t = A);
4956
+ const D = !S?.isWrapped && (null !== C || (S?.isDynamicRange ?? !1));
4957
+ if (null !== S || null !== P || null !== M) {
4958
+ if (D && null !== S && !I && (R.cm = "" + m.registerArrayCell(T)), e.start("c", R), S) {
4959
+ const t = r === S.coords.rowStart && l === S.coords.colStart;
4960
+ let n = S.formula;
4961
+ S.memberImage && !t && (n = S.memberImage({
4962
4962
  rowIndex: r,
4963
4963
  colIndex: l
4964
4964
  }));
4965
4965
  let o, s = null;
4966
- const a = b.sharedId;
4966
+ const a = S.sharedId;
4967
4967
  if (a) {
4968
4968
  o = Aa;
4969
- const t = b.coords;
4970
- t.colStart === l && t.rowStart === r ? (o.ref = b.ref, o.si = a, s = b.formula) : (o.ref = void 0, o.si = a);
4971
- } else L ? (o = Da, o.aca = T ? "1" : void 0, o.ref = T ? R.r : k?.ref ?? R.r, s = n) : (o = Pa, s = n);
4972
- o.ca = C || T || b.isExcelVolatile ? "1" : void 0, s ? (e.start("f", o), e.text(s), e.end("f")) : e.empty("f", o);
4973
- } else M && e.empty("f", C ? {
4969
+ const t = S.coords;
4970
+ t.colStart === l && t.rowStart === r ? (o.ref = S.ref, o.si = a, s = S.formula) : (o.ref = void 0, o.si = a);
4971
+ } else D ? (o = Da, o.aca = T ? "1" : void 0, o.ref = T ? R.r : C?.ref ?? R.r, s = n) : (o = Pa, s = n);
4972
+ o.ca = b || T || S.isExcelVolatile ? "1" : void 0, s ? (e.start("f", o), e.text(s), e.end("f")) : e.empty("f", o);
4973
+ } else M && e.empty("f", b ? {
4974
4974
  ...M,
4975
4975
  ca: "1"
4976
4976
  } : M);
4977
- null !== A && ("str" === D && A ? (e.start("v", Te.test(A) ? Fe : void 0), e.text(ie(A))) : (e.start("v"), A && e.text(A)), e.end("v")), e.end("c");
4977
+ null !== P && ("str" === A && P ? (e.start("v", Te.test(P) ? Fe : void 0), e.text(ie(P))) : (e.start("v"), P && e.text(P)), e.end("v")), e.end("c");
4978
4978
  } else y++ < aa ? e.empty("c", R) : 1048577 === y && t.warn(`Reached ${aa} style-only cells at '${R.r}'; not writing the rest.`);
4979
4979
  }, {
4980
4980
  injectReferences: G,
4981
4981
  features: []
4982
- }), -1 !== V && V >= D ? e.end("row") : U(D, !0), e.end("sheetData"), e.setValidationDisabled(!1);
4982
+ }), -1 !== V && V >= A ? e.end("row") : U(A, !0), e.end("sheetData"), e.setValidationDisabled(!1);
4983
4983
  } else e.empty("sheetData");
4984
4984
  if (g > 0) {
4985
4985
  const t = c.get("stringsCount") ?? 0;
@@ -4992,7 +4992,7 @@ var qi = [
4992
4992
  for (let t = 0; t < n; t++) {
4993
4993
  s[t] = null;
4994
4994
  try {
4995
- const n = C.parse(e[t][1]);
4995
+ const n = D.parse(e[t][1]);
4996
4996
  if (!n) continue;
4997
4997
  let r = null;
4998
4998
  const a = (t) => {
@@ -5064,7 +5064,7 @@ var qi = [
5064
5064
  if (s > 0) {
5065
5065
  e.start("mergeCells", { count: s });
5066
5066
  for (let t = 0; t < s; t++) {
5067
- const n = o.merges[t], s = "string" == typeof n ? n : F.rangeToString(n);
5067
+ const n = o.merges[t], s = "string" == typeof n ? n : I.rangeToString(n);
5068
5068
  e.empty("mergeCell", { ref: s });
5069
5069
  }
5070
5070
  e.end("mergeCells");
@@ -5093,7 +5093,7 @@ var qi = [
5093
5093
  scale: x
5094
5094
  });
5095
5095
  const y = x ? { type: x.type } : vt(l.condition, ua(c), (e, n) => t.warn(e, void 0, n));
5096
- y ? (y.formulas && (y.formulas = y.formulas.map((t) => Sa(t, g, p))), x?.type === k.ScaleType.IconSet && pa(x) ? (h++, u(l), a.push({
5096
+ y ? (y.formulas && (y.formulas = y.formulas.map((t) => Sa(t, g, p))), x?.type === R.ScaleType.IconSet && pa(x) ? (h++, u(l), a.push({
5097
5097
  guid: Pt(n.uuidV4),
5098
5098
  sqref: c,
5099
5099
  priority: h,
@@ -5443,7 +5443,7 @@ var qi = [
5443
5443
  }), e.start("x14:conditionalFormattings");
5444
5444
  for (let n = 0; n < o.length; n++) {
5445
5445
  const { guid: s, sqref: r, priority: a, scale: i, rule: d, style: m, stopIfTrue: p } = o[n];
5446
- if (e.start("x14:conditionalFormatting", { "xmlns:xm": "http://schemas.microsoft.com/office/excel/2006/main" }), i) if (i.type === k.ScaleType.DataBar) {
5446
+ if (e.start("x14:conditionalFormatting", { "xmlns:xm": "http://schemas.microsoft.com/office/excel/2006/main" }), i) if (i.type === R.ScaleType.DataBar) {
5447
5447
  e.start("x14:cfRule", {
5448
5448
  type: "dataBar",
5449
5449
  id: s
@@ -5643,7 +5643,7 @@ var qi = [
5643
5643
  const a = t.theme;
5644
5644
  for (let t = 0; t < s; t++) {
5645
5645
  const e = o[t];
5646
- if (n.start("si"), e instanceof P) {
5646
+ if (n.start("si"), e instanceof k) {
5647
5647
  const t = e.getRuns();
5648
5648
  for (let e = 0; e < t.length; e++) {
5649
5649
  const o = t[e];
@@ -5749,7 +5749,7 @@ var qi = [
5749
5749
  "xmlns:x16r2": "http://schemas.microsoft.com/office/spreadsheetml/2015/02/main",
5750
5750
  "xmlns:xr": "http://schemas.microsoft.com/office/spreadsheetml/2014/revision"
5751
5751
  });
5752
- const { directXfs: a, denormalized: i } = e.getSharedStates().get("stylesLayout") ?? gs(r, s), l = e.getSharedStates().get(fs), c = function(t) {
5752
+ const { directXfs: a, denormalized: i } = e.getSharedStates().get("stylesLayout") ?? gs(r, s), c = e.getSharedStates().get(fs), d = function(t) {
5753
5753
  const e = t?.slicers?.styles;
5754
5754
  if (!e) return t;
5755
5755
  const n = { ...t.tables?.styles };
@@ -5768,7 +5768,7 @@ var qi = [
5768
5768
  styles: n
5769
5769
  }
5770
5770
  };
5771
- }(s), d = function(t, e = 0) {
5771
+ }(s), m = function(t, e = 0) {
5772
5772
  const n = t?.tables;
5773
5773
  if (!n) return null;
5774
5774
  const o = n.styles;
@@ -5791,7 +5791,7 @@ var qi = [
5791
5791
  dxfs: s,
5792
5792
  dxfIndexMap: r
5793
5793
  };
5794
- }(c, l?.getCount() ?? 0), f = e.getSharedStates().get(Zn), h = (f?.getSources() ?? []).map((t) => function(t, e, o) {
5794
+ }(d, c?.getCount() ?? 0), p = e.getSharedStates().get(Zn), h = (p?.getSources() ?? []).map((t) => function(t, e, o) {
5795
5795
  let s = e[t.xf];
5796
5796
  if (t.user) {
5797
5797
  const { numberFormat: e, ...r } = t.user;
@@ -5808,7 +5808,7 @@ var qi = [
5808
5808
  ...s,
5809
5809
  alignment: {
5810
5810
  ...n,
5811
- horizontal: m.HorizontalAlignment.Left,
5811
+ horizontal: f.HorizontalAlignment.Left,
5812
5812
  ...t.labelIndent > 0 ? { indent: t.labelIndent } : {}
5813
5813
  }
5814
5814
  };
@@ -5833,7 +5833,7 @@ var qi = [
5833
5833
  e.end("numFmts");
5834
5834
  }
5835
5835
  })(0, o, i), function(t, e, n, o) {
5836
- const s = o.fonts, r = s.length, a = n.getTheme(), i = M.getShared(), l = $e(s.map((t) => ({
5836
+ const s = o.fonts, r = s.length, a = n.getTheme(), i = F.getShared(), l = $e(s.map((t) => ({
5837
5837
  ...t,
5838
5838
  family: ne(t.family, t.fallbacks, a, !0).name
5839
5839
  }))).every((t) => gt(i, t));
@@ -5868,18 +5868,18 @@ var qi = [
5868
5868
  Rs(0, e, n, a[t], s, !0, o.hidden, o.pivotButton, i?.getXfComplement(o.xf) ?? null);
5869
5869
  }
5870
5870
  e.end("cellXfs");
5871
- }(e, o, r, a, i, f, h, e.getSharedStates().get(to)), function(t, e, n, o, s) {
5871
+ }(e, o, r, a, i, p, h, e.getSharedStates().get(to)), function(t, e, n, o, s) {
5872
5872
  const r = s.namedStyles, a = r.length;
5873
5873
  e.start("cellStyles", { count: String(a) });
5874
5874
  const i = s.namedStyleMap;
5875
5875
  for (let t = 0; t < a; t++) {
5876
- const o = r[t], s = o.name, a = s.toLowerCase(), l = {
5876
+ const o = r[t], s = o.name, a = s.toLowerCase(), c = {
5877
5877
  name: s,
5878
5878
  xfId: i.get(a)
5879
5879
  };
5880
- o.hidden && (l.hidden = "1"), o.iLevel && (l.iLevel = String(o.iLevel));
5881
- let c = null;
5882
- c = a === p.BuiltInName.Normal.toLowerCase() ? 0 : n.getNamedStyles().getByName(s).getBuiltInID(), null !== c && (l.builtinId = String(c), o.customized && (l.customBuiltin = "1")), e.empty("cellStyle", l);
5880
+ o.hidden && (c.hidden = "1"), o.iLevel && (c.iLevel = String(o.iLevel));
5881
+ let d = null;
5882
+ d = a === l.BuiltInName.Normal.toLowerCase() ? 0 : n.getNamedStyles().getByName(s).getBuiltInID(), null !== d && (c.builtinId = String(d), o.customized && (c.customBuiltin = "1")), e.empty("cellStyle", c);
5883
5883
  }
5884
5884
  e.end("cellStyles");
5885
5885
  }(0, o, r, 0, i), function(t, e, n, o, s) {
@@ -5890,7 +5890,7 @@ var qi = [
5890
5890
  let i = Ps;
5891
5891
  for (const o of r) i = Ms(t, e, o, n, a, "dxf", i);
5892
5892
  e.end("dxfs");
5893
- }(e, o, r, d, l), function(t, e, n, o, s, r) {
5893
+ }(e, o, r, m, c), function(t, e, n, o, s, r) {
5894
5894
  const a = o?.tables, i = a?.styles ?? null, l = i ? Object.keys(i) : null, c = l ? l.length : 0, d = {
5895
5895
  count: String(c),
5896
5896
  defaultTableStyle: a?.defaultTableStyle ?? "TableStyleMedium2",
@@ -5919,7 +5919,7 @@ var qi = [
5919
5919
  }
5920
5920
  e.end("tableStyles");
5921
5921
  } else e.empty("tableStyles", d);
5922
- }(0, o, 0, c, d, s?.slicers), function(t, e, n, o) {
5922
+ }(0, o, 0, d, m, s?.slicers), function(t, e, n, o) {
5923
5923
  const s = o?.indexedColors && o.indexedColors.length > 0, r = o?.mruColors && o.mruColors.length > 0;
5924
5924
  if (s || r) {
5925
5925
  if (e.start("colors"), s) {
@@ -6061,7 +6061,7 @@ var qi = [
6061
6061
  });
6062
6062
  }
6063
6063
  async emit(t, e) {
6064
- const n = e.getXMLWriter(), o = t.model, s = (await T.getDetails()).getBuildVersion(), r = Et(s), a = o.getProperties();
6064
+ const n = e.getXMLWriter(), o = t.model, s = (await E.getDetails()).getBuildVersion(), r = Et(s), a = o.getProperties();
6065
6065
  n.setValidationDisabled(!0), n.decl(), n.start("Properties", {
6066
6066
  xmlns: "http://schemas.openxmlformats.org/officeDocument/2006/extended-properties",
6067
6067
  "xmlns:vt": "http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes"
@@ -6089,13 +6089,13 @@ var qi = [
6089
6089
  chart: 2,
6090
6090
  dialog: 3
6091
6091
  };
6092
- for (const t of n.getSheets({ visibility: A.Visibility.Hidden })) o[s[t.getKind()] ?? 0].names.push(t.getName());
6092
+ for (const t of n.getSheets({ visibility: b.Visibility.Hidden })) o[s[t.getKind()] ?? 0].names.push(t.getName());
6093
6093
  const r = n.getNames().getItems({ type: "formula" }).filter((t) => !!t.getRanges?.());
6094
6094
  o.push({
6095
6095
  heading: "Named Ranges",
6096
6096
  names: r.map((t) => {
6097
6097
  const e = t.getScope();
6098
- return e ? `${F.sheetNameToString(e)}!${t.getName()}` : t.getName();
6098
+ return e ? `${I.sheetNameToString(e)}!${t.getName()}` : t.getName();
6099
6099
  })
6100
6100
  });
6101
6101
  const a = o.filter((t, e) => 0 === e || t.names.length > 0);
@@ -6333,7 +6333,7 @@ var qi = [
6333
6333
  let n = s && !s.isClosed() ? s : null;
6334
6334
  if (!n) {
6335
6335
  const e = await t.workbook.fetch(o);
6336
- e.ok && e.headers.get("content-type")?.startsWith("image/") && (n = new I({ source: { buffer: await e.arrayBuffer() } }));
6336
+ e.ok && e.headers.get("content-type")?.startsWith("image/") && (n = new C({ source: { buffer: await e.arrayBuffer() } }));
6337
6337
  }
6338
6338
  n && (a = (await ts(e, n)).relId);
6339
6339
  } catch {}
@@ -7075,7 +7075,7 @@ var qi = [
7075
7075
  const n = t.getPart("xl/workbook.xml"), o = n ? new TextDecoder("utf-8").decode(n.data) : null;
7076
7076
  return ol.set(t, o), o;
7077
7077
  }, ol = /* @__PURE__ */ new WeakMap(), sl = async (t, e) => {
7078
- await C.load();
7078
+ await D.load();
7079
7079
  const n = new Kn();
7080
7080
  for (const t of qi) n.register(t);
7081
7081
  const o = rl, s = Cn.createUint8Array({
@@ -7174,7 +7174,7 @@ var qi = [
7174
7174
  });
7175
7175
  f.addPart("workbook", t, "/xl/workbook.xml"), await f.waitEmit(), f.addPart("propsCore", { model: t }), f.addPart("propsApp", { model: t }), t.getProperties().getCustom().length > 0 && f.addPart("propsCustom", { model: t });
7176
7176
  let h = await f.build();
7177
- await T.isWatermarked() && (h = await (async (t) => {
7177
+ await E.isWatermarked() && (h = await (async (t) => {
7178
7178
  const e = new B(new z(t)), n = new j(), o = new je(n, { lastModDate: new Date(1899, 11, 29, 19, 0, 0) });
7179
7179
  try {
7180
7180
  for (const t of await e.getEntries()) {