@sheetxl/mcp 0.8.0-beta.21 → 0.8.0-beta.23

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 (210) hide show
  1. package/assets/{BC2Y5XPkMBKS6jQX.js → 1J1R3dclFOh322Yr.js} +326 -325
  2. package/assets/{BZJvWc-5DdAyHXFk.js → 2XwVsSfo5wF5K-HA.js} +1 -1
  3. package/assets/{DO9RVxvm9vQh8A_j.js → 2xkoVdiI70Gpaxoc.js} +2 -2
  4. package/assets/{8wMcuw3b1CFk-D5A.js → 5MnsnJcajdtAujE2.js} +1 -1
  5. package/assets/{vItpZkDtFsjwsJzb.js → B2zUUqxAJ1RiM7YI.js} +64 -64
  6. package/assets/{CkGQV_x1SpyzePln.js → B3YRTBFhX61z6rJv.js} +435 -430
  7. package/assets/{RFPO1vKnkkgwx5Bs.js → BBuB6ffvyg2Cd7V5.js} +1 -1
  8. package/assets/{DO86fHS3WYzHN_Rv.js → BDSNdgf_hbhX1DhN.js} +1 -1
  9. package/assets/{H1ICg_-K5ADFNHJj.js → BEsnJS5jYwkHNcZd.js} +1 -1
  10. package/assets/{CSd5XfU4JBASIwTI.js → BGxwDpW8DkO8W0Ig.js} +1 -1
  11. package/assets/{D5mfuGSeGXSDHj9-.js → BI8kb-rd9dW85XJs.js} +1 -1
  12. package/assets/{DqxW6EBLDV_6Eegk.js → BJMeWtr7TiLNpt17.js} +1 -1
  13. package/assets/{D3RuKyCyAzvT0bGL.js → BKpicdc9H5WnZPb-.js} +1 -1
  14. package/assets/{KSE7OWDMxhbfYt82.js → BLr8y5StL65VZQxG.js} +22 -22
  15. package/assets/{CzQ2o7qoMm0K7KSb.js → BNEBXKAh-N4Tygk7.js} +4 -4
  16. package/assets/{CZ5v2vTWktJ7qAj1.js → BPorbjbkH-VoV1M0.js} +1 -1
  17. package/assets/{_oaPA65Bm2idKW7f.js → BPtf3_nlovO4r9Bm.js} +1 -1
  18. package/assets/{Dt5rA9gefJFLoaeI.js → BULbMlvQuB2WFBFE.js} +2 -2
  19. package/assets/{DpgBOcByebrqzUrC.js → BVUfaOAGhdMim8yB.js} +3 -3
  20. package/assets/{KQGPPHM486XPeClF.js → BWeaY19OpTJK5v0n.js} +2 -2
  21. package/assets/{M62BqR7TbmgOzAEW.js → BYbzf-TVwbKQPCyK.js} +3 -3
  22. package/assets/{CTLGMulzw-oFbgHy.js → BZaXHnsJ6RkCZsnz.js} +3 -3
  23. package/assets/{Bagfe_VVU6NyQNS6.js → BazhmjGvrL7pqVQP.js} +1 -1
  24. package/assets/{DX0znk3xZmL1AyX8.js → BbU6aT_c6-4tkcCw.js} +1 -1
  25. package/assets/{C0pbMKm0FzhOek9r.js → Bbmh8_bdk_HrQ5Y6.js} +1 -1
  26. package/assets/{DmJc5VoPPwBBtLIG.js → BcWSfKJ9Atkc0X_p.js} +1 -1
  27. package/assets/{fUmGsmpgGhd8eZn2.js → BdUFL3lVdwifHrf0.js} +1 -1
  28. package/assets/{CL348305B-kpRYzz.js → Bjk1Twm0RFO_3fS8.js} +1 -1
  29. package/assets/{DuCNecyIYfZL27SV.js → BlhJHu9ni2T9IaM1.js} +1 -1
  30. package/assets/{CB9TsE5n0FEyFnAz.js → BomatnedZsGMF7MW.js} +22 -21
  31. package/assets/{CLT0k5UJYPmi8ked.js → BynbAjhJnLjyP7HH.js} +1 -1
  32. package/assets/{CDYMLTHkkpRV9igv.js → Bz08KxFupjbdsoFx.js} +1 -1
  33. package/assets/{BU7t2vK3_DH_BbMd.js → C6_KHS3-ROddeSbS.js} +2 -2
  34. package/assets/{69EXDk0YRdjdM86i.js → C8G_px4dGuR2KjJh.js} +1 -1
  35. package/assets/{DRqBWzdn9KKN68o8.js → CBMMHYgUAhgiJhJE.js} +11 -11
  36. package/assets/{0ewqK5X66DZmbhVR.js → CC7EfXPwp7_nSBIz.js} +1 -1
  37. package/assets/{DOYXEbY_WslpyqXW.js → CCBQDcCHI47PZ0YQ.js} +5 -5
  38. package/assets/{BeMLPoHRWacCbpl2.js → CE-9VKh5-Xwxnxmu.js} +1 -1
  39. package/assets/{CpLUgqgBDtlfFRj3.js → CE5DhB5As59VJ-Ig.js} +1 -1
  40. package/assets/{1bSTbCnkTWvsV82p.js → CEsRqYMd5IjnAzzX.js} +4 -4
  41. package/assets/{CrLDmJU84Dbwl6DZ.js → CGLapmkNccH1g_ZJ.js} +1 -1
  42. package/assets/{C2YOx4ianxuIIeMP.js → CH8DNTUgM79xk8Tt.js} +1 -1
  43. package/assets/{rIQ1pzaGFqvCfzOk.js → CHG4ZuzhyjGRuKBg.js} +1 -1
  44. package/assets/{CBTQ8dknYY7RVQgL.js → CPZgEZ2jKoo7hS6g.js} +8 -8
  45. package/assets/{Dnn8laImZHy8LouL.js → CQCPJBQD0qv9y8qE.js} +1 -1
  46. package/assets/{vXmCJwJaPhkPVhy8.js → CSisGJ4hiDhTi19U.js} +1 -1
  47. package/assets/{BMkhJwKP7goV0vlJ.js → CeVCLRwjkH3_OXJu.js} +1 -1
  48. package/assets/{BneTvtEMcBoSiQnw.js → Cg1tSmK_AGJa2VeI.js} +3 -3
  49. package/assets/{DG3hKZ75iK2wrCcz.js → CgYef9dYxY8YyUTE.js} +1 -1
  50. package/assets/{CME1jbwnNlBD66aW.js → ChbkkN_JqbAGrUwB.js} +221 -219
  51. package/assets/{D2XmpdMAe0SAuQWo.js → Cidwv57sKqhIrpHP.js} +54 -54
  52. package/assets/{Vo34QvIefEN595xl.js → Cl04_aSpBHTwfsQR.js} +8954 -8941
  53. package/assets/{CudjOMo6X7FRW6ME.js → Cl8_HMhRgzPzqFc7.js} +1 -1
  54. package/assets/{IEmEQHg895CUpAQq.js → CnUYevzhUJYNqLad.js} +1 -1
  55. package/assets/{pg0OaBJVRnW7uSz5.js → CndRpNCcV89ncnqz.js} +1 -1
  56. package/assets/{rejXA2fTAujW3QRv.js → CpyybSV2kR6b-SIB.js} +579 -569
  57. package/assets/{DsK1Adz0vo-1zPkp.js → CqP4H_-kRRjcxO91.js} +1 -1
  58. package/assets/{CVlsdN5C8QL-Kljv.js → CrTLWpsRNBSyTLor.js} +1 -1
  59. package/assets/{C1xe-BzKWT17OO8a.js → CtlrxXVgZDIOcuc1.js} +14 -14
  60. package/assets/{D1HLIgumuUqrSyYB.js → CwrOCbcS4IHLsERQ.js} +4 -4
  61. package/assets/{BM9zwvBRXNbO_uD-.js → Cx1bc-Dsja7W3GlB.js} +2 -2
  62. package/assets/{BbsMdXiRzPW9BCEK.js → CyhngJo16o7G18lq.js} +1 -1
  63. package/assets/{BAqvmoeYqG6dwX3I.js → CzoRlNMlpFz4iax3.js} +2 -2
  64. package/assets/{DnQM29yv6KQQOVfl.js → D-PYDPXobSWiPh1D.js} +2 -2
  65. package/assets/{H89MX09YsAj7NAk3.js → D5O3m16KeyU_oXqH.js} +1 -1
  66. package/assets/{DwqgvpYiTLOQd5wm.js → D5PpcRuJYSv0i2y9.js} +2 -2
  67. package/assets/{DITcEcZJ58z5yOx7.js → D60N4r1a2YsNEwqj.js} +1 -1
  68. package/assets/{VcTnn2qw_4tmyctb.js → D7oYfHgO0kEqAnPV.js} +1 -1
  69. package/assets/{C27330XswujHKrLu.js → DACd4ZjYwzNE7Koc.js} +1 -1
  70. package/assets/{CDKZI2IIZ9boo7zG.js → DAliB9N1z6qnw4NO.js} +1 -1
  71. package/assets/{DjbBTiei0H-BIJaN.js → DIAQ_WlBCWhgHt-z.js} +1 -1
  72. package/assets/{I-GZ5PL9n_Sv5yAJ.js → DJ2jlogB1DWlGM-J.js} +1 -1
  73. package/assets/{NEzc406_2k2MuiE3.js → DKKLWACR9GsidnkS.js} +2 -2
  74. package/assets/{BrgptoFtJepXL46Z.js → DL7_uGw6KiZhlvR8.js} +1 -1
  75. package/assets/{ChpUbgXIWuQFoXyL.js → DL8wUEe2Kx7bjDYP.js} +1 -1
  76. package/assets/{C8huq6_Gvbeyf6Zy.js → DLuQ_rdu0XjYF7Jq.js} +2 -2
  77. package/assets/{D9F0224gK4j4Iuq9.js → DN1RRp4qQfCq3JAO.js} +1 -1
  78. package/assets/{BRiLNigzVwOBIxBy.js → DPjWOMoJ-elAAOmS.js} +1 -1
  79. package/assets/{I_yb1hhLA5bYPpWx.js → DSyZaCML62gSnudE.js} +1 -1
  80. package/assets/DU2Dzzu0oY_eDN6i.js +14 -0
  81. package/assets/{QMCI00ZCedkNJd8C.js → DUytcsu0MV3GnsrM.js} +1 -1
  82. package/assets/{BtiRDaBbNpPpKelt.js → DV3PnM9lo0AW-YOA.js} +3 -3
  83. package/assets/{CXb2mlCk1s1VFPHU.js → DXmebUOAhtW4V6BO.js} +531 -531
  84. package/assets/{Q2j8yQZX1kL_MbbB.js → DZt1ONN8CTTfmHGn.js} +606 -606
  85. package/assets/{AGdlSbOsXWO1oZAE.js → Dawi8y7JWn6A9gAx.js} +1 -1
  86. package/assets/{D7WSYqvuwNQjOIuO.js → DbbNJyL67KdOK7nc.js} +1 -1
  87. package/assets/{BVDaUnmVOSaDw9e3.js → DcO0gub7cRKVw4xB.js} +1 -1
  88. package/assets/{DP-m2vK0GTaYqQZM.js → DfBERTJjS9LP0RSp.js} +1 -1
  89. package/assets/{B8NDzDM0Gpwmkylq.js → Dg5QmWm0uBTEjZy4.js} +1 -1
  90. package/assets/{_l84VPWmScznS-9F.js → DgLQfXTWavoBetna.js} +5 -5
  91. package/assets/{CC2hfzradb2KOvtU.js → DiJexWBIzdGj1H0H.js} +1 -1
  92. package/assets/{D-INtJnS1lCrEs8s.js → DoP6myQHGI-X1gNy.js} +76 -76
  93. package/assets/{DRiAktGToP73uwgm.js → Dol52NFQzLCbObuC.js} +201 -201
  94. package/assets/{BWqKV3QuZX31WPsa.js → DrKr8dXQEQ3Aukmt.js} +1 -1
  95. package/assets/{B8URptQcztz4DRvS.js → DtETpSxSR8C1voac.js} +38 -38
  96. package/assets/{Cg05U6rbXUnaz0rA.js → DuQU8JjPLBIK804w.js} +34 -34
  97. package/assets/{CmUz8bVbJgWVT-OB.js → DvkBNkPyR5kuS0Uo.js} +2 -2
  98. package/assets/{ChwSFUzi5mMzUwdW.js → E-KM5RFByUxjlkId.js} +6 -6
  99. package/assets/{-NFft0E2Wj6WH3X9.js → KMTTqSwDthnXnD4F.js} +1 -1
  100. package/assets/{C1ZP9W2tiVQUwLqZ.js → KhdF512BKcJXZMvq.js} +1 -1
  101. package/assets/{CcaH1FoDC8o3dzqp.js → L9RIicOHtZd2Rx8g.js} +1 -1
  102. package/assets/{Dzxe5kLF5GOfh0_l.js → MzfM7zDcnyOFK1lK.js} +1 -1
  103. package/assets/{BtjG4s0StUieGI5b.js → NDe-uS1n_Q7u1H3m.js} +3 -3
  104. package/assets/{BABP2ffkRrOs7_Ym.js → PVGDjdR9C4stMNpM.js} +1 -1
  105. package/assets/{DBgOeiZg40MS63pB.js → PiFW6uPRJABzK3V1.js} +1174 -1176
  106. package/assets/{B_n6s7Kj4_5BWn1q.js → WH1Vl-MDWX3vSMn1.js} +2 -2
  107. package/assets/{DjCHmGw-ixoQ6ZTA.js → WuKVkvMPAOmRaCDY.js} +2 -2
  108. package/assets/{bpjLDXWxL6nDt4Mv.js → YtxPcFPURJF6CxWu.js} +1 -1
  109. package/assets/{FOKynZCiA0wU2Spf.js → a9lvcAd7rWsWSWAo.js} +1 -1
  110. package/assets/{B4Z_YneQya9mUTN5.js → aTxgpOOxLenli4af.js} +1 -1
  111. package/assets/{BJo3edG_rqch-Kw2.js → bsnhRuD-K-qhW-y5.js} +70 -70
  112. package/assets/{CPmMYI4DPQcXrZ-g.js → dep8oZGwBmUpxjHl.js} +1 -1
  113. package/assets/{raa4clZOm0L5A0zR.js → f_dBJuakO_BJ7Tvm.js} +504 -504
  114. package/assets/{CBqpH_MpBSmQRaGE.js → gver5Sz7ZO6ZyrOi.js} +1 -1
  115. package/assets/{BEOwJnsyIuMC4SaI.js → jKIDENA_QP4bEX49.js} +4 -4
  116. package/assets/{B_RppF41PrYlelc_.js → q1rCdlJA6Z7tA6om.js} +1 -1
  117. package/assets/{4-DOIpV6Hjaymwy7.js → qjyVXZeVSr_qZfX5.js} +2 -2
  118. package/assets/{Deu2acNFlgo__Mcd.js → sIWsnPhnHm_MeeM9.js} +2 -2
  119. package/assets/{B1l0k4ErELObdQKE.js → t4qTfgdlstczTs2z.js} +21 -21
  120. package/assets/{rhT64BvdSLOEwglQ.js → wKkW4LO-iUp92LVC.js} +1 -1
  121. package/index.js +160 -160
  122. package/lib.js +1 -1
  123. package/licenses/dependencies.txt +91 -91
  124. package/package.json +4 -4
  125. package/screenshot-page/assets/{CFl15-2FAF9f3V7L.js → 0UZBKpOOsp7P-DkP.js} +2 -2
  126. package/screenshot-page/assets/37LAUhU1_yKtsBlH.js +2 -0
  127. package/screenshot-page/assets/B2PWru6Ty7ODc2Ie.js +1 -0
  128. package/screenshot-page/assets/B3c6NBI22E5SZWG-.js +1 -0
  129. package/screenshot-page/assets/B3yyoGGGl8ICyeoC.js +39 -0
  130. package/screenshot-page/assets/B56KxTxcAXDom0g4.js +13 -0
  131. package/screenshot-page/assets/{BtydzT-AjL_LBr8x.js → BAxPBeFudRJ3OqIC.js} +1 -1
  132. package/screenshot-page/assets/{1s5we6Eqz8n3o0X_.js → BJct69niPZc8L_gZ.js} +1 -1
  133. package/screenshot-page/assets/BPMQ22uISGOm3ymr.js +1 -0
  134. package/screenshot-page/assets/{Yz4ksf-M05RGdHO3.js → BT2nkqpteSR9booH.js} +1 -1
  135. package/screenshot-page/assets/{DHUomRu_S2zcBWwt.js → BTKdl-XR9TlWaFe7.js} +3 -3
  136. package/screenshot-page/assets/{BEwl-ucV9Jfr0RoC.js → Bdb0azxGoCh6NBDk.js} +1 -1
  137. package/screenshot-page/assets/{p9abCAJQdpScjZVK.js → Be1S5czBx0lxhYLW.js} +1 -1
  138. package/screenshot-page/assets/Bh2DVAOWvWfylt77.js +1 -0
  139. package/screenshot-page/assets/BjJ_nnNDZEPLpapa.js +1 -0
  140. package/screenshot-page/assets/{CxithxkenssFkfTT.js → Bml69dFBVggmVWda.js} +21 -21
  141. package/screenshot-page/assets/BoiQQ-37KQn6NcLT.js +1 -0
  142. package/screenshot-page/assets/{Z7Av7oqfaK7wy7Eb.js → C-n8BDiksNjX6Orz.js} +1 -1
  143. package/screenshot-page/assets/C5-sm7wuk62Nzm_p.js +1 -0
  144. package/screenshot-page/assets/C9a-cNha8mBw5q-l.js +1 -0
  145. package/screenshot-page/assets/CAQ7QWes7j7Fq8o5.js +2 -0
  146. package/screenshot-page/assets/{zFbb8ESzwR_bE7IQ.js → CBP4y6KFPu24xhDT.js} +1 -1
  147. package/screenshot-page/assets/{CzZu7Fd_VeHHL-4i.js → CEL5lzj2NDYwJ-HC.js} +1 -1
  148. package/screenshot-page/assets/CGx-ZSMV9cPOzbu4.js +2 -0
  149. package/screenshot-page/assets/CI3Z1f4amZ9G2rPD.js +5 -0
  150. package/screenshot-page/assets/{CXGgKVbVXjWzE0p6.js → CQ-33-es3XJ56pR4.js} +1 -1
  151. package/screenshot-page/assets/{BftXEPOuf5Uwxpud.js → CaOsWPeN_FXseSNg.js} +1 -1
  152. package/screenshot-page/assets/CaP_vH0sJFjNrSkW.js +1 -0
  153. package/screenshot-page/assets/{CBuH_YHDn7A9E_hX.js → Cbbl3H042tb0krfe.js} +2 -2
  154. package/screenshot-page/assets/{Bozva6Wr4B8Q5QZN.js → CcVllJMjVF6SvVVq.js} +2 -2
  155. package/screenshot-page/assets/{Bdt92xZzFotX0vdt.js → Ce8b0lOBuWKlfLzJ.js} +1 -1
  156. package/screenshot-page/assets/Cengqc8q8BTmNfb_.js +1 -0
  157. package/screenshot-page/assets/{nM1r2xslndIMKlI2.js → CiFaOHqsDQTE4RRi.js} +1 -1
  158. package/screenshot-page/assets/Cv0zGWEBpmC07Jps.js +1 -0
  159. package/screenshot-page/assets/CyfTQE0Z76Rp4Fbt.js +586 -0
  160. package/screenshot-page/assets/D2CxEHjkPQMAxzWl.js +1 -0
  161. package/screenshot-page/assets/D4hvW_TF7vwc-Xlq.js +2 -0
  162. package/screenshot-page/assets/{CtS8qZB4_3skg_zL.js → D7Y0npF3FMsGUjgO.js} +1 -1
  163. package/screenshot-page/assets/DACSL7FA_J91Z_H7.js +2 -0
  164. package/screenshot-page/assets/{COpZTXe_J1mSpeYD.js → DEAD_MduPNVoT_T6.js} +1 -1
  165. package/screenshot-page/assets/{D4VgxwLDPUfCxPS9.js → DMbFr7oWja7Qpsm6.js} +2 -2
  166. package/screenshot-page/assets/{CV9T0juyAiRmwTR-.js → DVQnEWIisXaOXb_G.js} +2 -2
  167. package/screenshot-page/assets/{CwutTi2EnNm_hyVj.js → DXbOBAxx4_2rt5KM.js} +1 -1
  168. package/screenshot-page/assets/DgLZb-StwCd9ftop.js +1 -0
  169. package/screenshot-page/assets/Dkf51CnZh2zPEGMd.js +1 -0
  170. package/screenshot-page/assets/DrnzLCa7NIirMxno.js +3 -0
  171. package/screenshot-page/assets/{bdWMVOcMKRI8kCDE.js → DtQFcMvZesaQ4xRf.js} +1 -1
  172. package/screenshot-page/assets/DvRXbyteeo_8sy8T.js +1 -0
  173. package/screenshot-page/assets/EOw6vVvEfYNga9b4.js +1 -0
  174. package/screenshot-page/assets/{CZq2dMHs2MHHyyBl.js → FcTM4SB17cEX1M3X.js} +1 -1
  175. package/screenshot-page/assets/{B5ujsbfF1ZBkPI4d.js → JM0_BaBZ3yF6lnHC.js} +2 -2
  176. package/screenshot-page/assets/{9WplgXo__vp3e1Su.js → ONNSfQ8RDOqBDsvw.js} +2 -2
  177. package/screenshot-page/assets/{CXUO3vYip3JPSJ7A.js → YH1wNXzhQbkuWxeS.js} +1 -1
  178. package/screenshot-page/assets/_zzVe2R8R4vwuc5q.js +48 -0
  179. package/screenshot-page/assets/{-cpi3yOZYn6GsYN4.js → gU2zeJaXoNh7QI_e.js} +2 -2
  180. package/screenshot-page/index.html +16 -16
  181. package/types/scripting-api.json +7064 -7062
  182. package/types/scripting.d.ts +34 -9
  183. package/assets/DrgkN0g7OHuD4iD6.js +0 -14
  184. package/screenshot-page/assets/B2oadmu_j6WfNbZ1.js +0 -1
  185. package/screenshot-page/assets/BEzCH6tp_dlxe7BH.js +0 -1
  186. package/screenshot-page/assets/BJvuevnsIw3DXQds.js +0 -2
  187. package/screenshot-page/assets/BLON9pILfrgdZqAM.js +0 -5
  188. package/screenshot-page/assets/BVx7CEdRItIR30Fz.js +0 -1
  189. package/screenshot-page/assets/Ble2ESZnJzZnd3cc.js +0 -1
  190. package/screenshot-page/assets/Blg5f-jAtZfGnZ71.js +0 -1
  191. package/screenshot-page/assets/Brp37MPC60tt9V3N.js +0 -1
  192. package/screenshot-page/assets/Bs65RHirk11sxOB9.js +0 -39
  193. package/screenshot-page/assets/Bu5h0ACtvNxDBmqw.js +0 -1
  194. package/screenshot-page/assets/BwFvwFIcX0dmcBt7.js +0 -1
  195. package/screenshot-page/assets/C0rOvlmOfLDpClJ_.js +0 -1
  196. package/screenshot-page/assets/CHZ1925OpIa8ssZn.js +0 -1
  197. package/screenshot-page/assets/CN3dPtUjDVvcnA4e.js +0 -1
  198. package/screenshot-page/assets/COO3CwHTbCgxybBd.js +0 -1
  199. package/screenshot-page/assets/CR8Rj_GpSbIqbaEO.js +0 -13
  200. package/screenshot-page/assets/ClC7zkHPp6egPrjL.js +0 -2
  201. package/screenshot-page/assets/CzijGQrSoteeqwmH.js +0 -2
  202. package/screenshot-page/assets/DG6q1MKITeSM4XMx.js +0 -1
  203. package/screenshot-page/assets/DHTXoT_pArB1opyI.js +0 -48
  204. package/screenshot-page/assets/DP2wwd1IM_gQtEaG.js +0 -1
  205. package/screenshot-page/assets/DQeIWKasFD3DnWL7.js +0 -586
  206. package/screenshot-page/assets/DuYb_otrRZZDq6-f.js +0 -2
  207. package/screenshot-page/assets/Ja-xcEStEdmh2Gwb.js +0 -2
  208. package/screenshot-page/assets/ODq-dKb9mTtqEIJl.js +0 -1
  209. package/screenshot-page/assets/VF7dro9jrDEAX6kD.js +0 -3
  210. package/screenshot-page/assets/kJwY8fmEeWlAtTAc.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.21
2
+ * @license @sheetxl/mcp - MCP server exposing SheetXL spreadsheet operations as tools and resources. - v0.8.0-beta.23
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 "./DjbBTiei0H-BIJaN.js";
8
- import { Dt as r, F as a, G as i, Kt as l, Tt as c, U as d, Vt as m, ht as p, k as f, lt as h, p as u, v as g } from "./CB9TsE5n0FEyFnAz.js";
9
- import { f as x, o as y, p as v, u as w } from "./D5mfuGSeGXSDHj9-.js";
10
- import { $n as S, Ai as b, C, Ea as T, Ir as k, Jt as I, Pr as R, Q as F, Rn as E, Ut as M, Xi as P, rn as A, sa as D, uo as L } from "./Vo34QvIefEN595xl.js";
11
- import { n as _, y as N } from "./CME1jbwnNlBD66aW.js";
12
- import { n as $ } from "./DOYXEbY_WslpyqXW.js";
13
- import { F as B, _t as O, gt as V, pt as W, vt as z, yt as j } from "./CSd5XfU4JBASIwTI.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 Tt, R as kt, 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 Te, l as ke, 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 "./rejXA2fTAujW3QRv.js";
15
- import { i as ln, l as cn, n as dn, o as mn, s as pn, t as fn } from "./D1HLIgumuUqrSyYB.js";
7
+ import { Q as t, h as e, ht as n, ot as o, xt as s } from "./DIAQ_WlBCWhgHt-z.js";
8
+ import { Dt as r, F as a, G as i, Kt as l, Tt as c, U as d, Vt as m, ht as p, k as f, lt as h, p as u, v as g } from "./BomatnedZsGMF7MW.js";
9
+ import { f as x, o as y, p as v, u as w } from "./BI8kb-rd9dW85XJs.js";
10
+ import { Bt as S, En as b, Er as C, Ln as T, Ot as k, S as I, _i as R, i as F, ln as E, qr as M, si as P, ui as A, y as D, yn as L } from "./Cl04_aSpBHTwfsQR.js";
11
+ import { u as _, y as N } from "./ChbkkN_JqbAGrUwB.js";
12
+ import { n as $ } from "./CCBQDcCHI47PZ0YQ.js";
13
+ import { F as B, _t as O, gt as V, pt as W, vt as z, yt as j } from "./BGxwDpW8DkO8W0Ig.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 Tt, R as kt, 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 Te, l as ke, 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 "./CpyybSV2kR6b-SIB.js";
15
+ import { i as ln, l as cn, n as dn, o as mn, s as pn, t as fn } from "./CwrOCbcS4IHLsERQ.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 S && "#spb" === xn(t.getKind()), vn = (t) => "" + t, wn = (t, e) => {
30
+ }, yn = (t) => t instanceof b && "#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 {
@@ -902,10 +902,10 @@ function so(n, s, r, a, i) {
902
902
  };
903
903
  }({
904
904
  cells: m,
905
- cols: l.cols ? R.refsToRuns(l.cols, !0) : [],
906
- rows: l.rows ? R.refsToRuns(l.rows, !1) : []
905
+ cols: l.cols ? E.refsToRuns(l.cols, !0) : [],
906
+ rows: l.rows ? E.refsToRuns(l.rows, !1) : []
907
907
  }, d, a), g = { ...n };
908
- u.cols.length > 0 ? g.cols = R.runsToRefs(u.cols, !0) : delete g.cols;
908
+ u.cols.length > 0 ? g.cols = E.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 = R.runsToRefs(x, !1) : delete g.rows;
939
+ x.length > 0 ? g.rows = E.runsToRefs(x, !1) : delete g.rows;
940
940
  const y = u.cells;
941
- return y.length > 0 ? g.directStyles = y.map(([t, e]) => [R.rangeToString(t, d), e]) : delete g.directStyles, g;
941
+ return y.length > 0 ? g.directStyles = y.map(([t, e]) => [E.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 A ? "" + t.addBagArray(s(i)) : "");
1310
+ o.push([a.name, "spba"]), r.push(i instanceof L ? "" + 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 S) return l(e);
1327
- if (e instanceof A) return t.addValue(t.structureFor("_array", [["array", "a"]]), ["" + r(e)]);
1328
- if (e instanceof M) return t.addValue(t.structureFor("_hyperlink", [["Address", "s"], ["Text", "s"]]), [e.getAddress() ?? "", "" + (e.getFriendlyName() ?? e.getAddress() ?? "")]);
1326
+ if (e instanceof b) return l(e);
1327
+ if (e instanceof L) return t.addValue(t.structureFor("_array", [["array", "a"]]), ["" + r(e)]);
1328
+ if (e instanceof D) 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 A ? "" + r(u) : "");
1389
+ p.push([h, "a"]), f.push(u instanceof L ? "" + 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 S && !yn(t) ? l(t) : t instanceof A ? a(t, void 0) : null };
1426
+ return { writeCell: (t) => t instanceof b && !yn(t) ? l(t) : t instanceof L ? 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) {
@@ -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 = T.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 = M.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 = R.rangeToString(p), c["xmlns:xlrd2"] = "http://schemas.microsoft.com/office/spreadsheetml/2017/richdata2", e.start("sortState", c);
2475
+ c.ref = E.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 = R.rangeToString(h);
2489
+ c.ref = E.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
- T.BuiltInSelectorNames.Display,
2526
- T.BuiltInSelectorNames.Date,
2527
- T.BuiltInSelectorNames.Time
2525
+ M.BuiltInSelectorNames.Display,
2526
+ M.BuiltInSelectorNames.Date,
2527
+ M.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 !== T.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 === T.BuiltInOperatorNames.Expression) return void t.warn("Expression conditions not supported in Table AutoFilters", n);
2533
- if (s === T.BuiltInOperatorNames.Unique) return void t.warn("Unique conditions not supported in Table AutoFilters", n);
2534
- if (s === T.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 !== M.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 === M.BuiltInOperatorNames.Expression) return void t.warn("Expression conditions not supported in Table AutoFilters", n);
2533
+ if (s === M.BuiltInOperatorNames.Unique) return void t.warn("Unique conditions not supported in Table AutoFilters", n);
2534
+ if (s === M.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 === T.BuiltInOperatorNames.InSet) {
2549
+ if (s === M.BuiltInOperatorNames.InSet) {
2550
2550
  const s = n.param ?? {};
2551
2551
  let r = Array.isArray(s.items) ? s.items : [];
2552
- n.selector !== T.BuiltInSelectorNames.Display && r.some((t) => "string" != typeof t) && (r = ((t, e, n, o) => {
2552
+ n.selector !== M.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 === T.BuiltInOperatorNames.TimePeriod) {
2580
+ if (s === M.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 === T.BuiltInOperatorNames.Average) {
2592
- const o = n.param, s = o?.type === T.AverageType.Below ? "belowAverage" : "aboveAverage";
2591
+ if (s === M.BuiltInOperatorNames.Average) {
2592
+ const o = n.param, s = o?.type === M.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 === T.BuiltInOperatorNames.Icon) {
2595
+ if (s === M.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 === T.BuiltInOperatorNames.TopN) {
2599
+ if (s === M.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 && D.image(s.spell(a, !1, e.getName()), { at: r }) || o;
2639
+ return a && A.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: R.cellToString({
2972
+ ref: E.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 = [], R.normalizeA1ToR1C1(n, e.rowStart, e.colStart, s)), i = R.resolveRelativeToA1(s, o, a));
3004
+ o === e.rowStart && a === e.colStart || (s || (s = [], E.normalizeA1ToR1C1(n, e.rowStart, e.colStart, s)), i = E.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(R.cellToString({
3010
+ const c = t.getRange(E.cellToString({
3011
3011
  rowIndex: o,
3012
3012
  colIndex: a
3013
3013
  })).getCell().getValue();
@@ -3058,19 +3058,22 @@ var ma = /* @__PURE__ */ new Set([
3058
3058
  function pa(t) {
3059
3059
  return (t.icon?.length ?? 0) > 0 || void 0 !== t.iconSet && !ma.has(t.iconSet);
3060
3060
  }
3061
- function fa(t, e, o, s, r, a, i, l, c) {
3061
+ function fa(t) {
3062
+ return [t.minPoint ?? { type: I.ColorStopType.Min }, t.maxPoint ?? { type: I.ColorStopType.Max }];
3063
+ }
3064
+ function ha(t, e, o, s, r, a, i, l, c) {
3062
3065
  const d = s.scale;
3063
3066
  s.ext && t.warn("Conditional format extension payload is not written to xlsx; it will be lost.");
3064
3067
  const m = {
3065
3068
  type: r.type,
3066
3069
  dxfId: s.style && Object.keys(s.style).length > 0 ? l.add(s.style) : void 0,
3067
3070
  priority: i,
3068
- stopIfTrue: ga(s.stopIfTrue),
3069
- aboveAverage: ga(r.aboveAverage),
3070
- equalAverage: ga(r.equalAverage),
3071
+ stopIfTrue: xa(s.stopIfTrue),
3072
+ aboveAverage: xa(r.aboveAverage),
3073
+ equalAverage: xa(r.equalAverage),
3071
3074
  stdDev: r.stdDev,
3072
- bottom: ga(r.bottom),
3073
- percent: ga(r.percent),
3075
+ bottom: xa(r.bottom),
3076
+ percent: xa(r.percent),
3074
3077
  rank: r.rank,
3075
3078
  operator: r.operator,
3076
3079
  text: r.text,
@@ -3078,13 +3081,7 @@ function fa(t, e, o, s, r, a, i, l, c) {
3078
3081
  };
3079
3082
  let p;
3080
3083
  d?.type === I.ScaleType.DataBar && function(t) {
3081
- if (!t.gradient || t.borderColor || t.negativeFillColor || t.negativeBorderColor || t.axisColor || t.axisPosition || t.direction) return !0;
3082
- const e = t.stops, n = e ? e.length : 0;
3083
- for (let t = 0; t < n; t++) {
3084
- const n = e[t].type;
3085
- if (n === I.ColorStopType.AutoMin || n === I.ColorStopType.AutoMax) return !0;
3086
- }
3087
- return !1;
3084
+ return !!(t.solidFill || t.borderColor || t.negativeFillColor || t.negativeBorderColor || t.axisColor || t.axisPosition || t.direction) || t.minPoint?.type === I.ColorStopType.AutoMin || t.maxPoint?.type === I.ColorStopType.AutoMax;
3088
3085
  }(d) && (p = Pt(n.uuidV4), c.push({
3089
3086
  guid: p,
3090
3087
  sqref: a,
@@ -3102,20 +3099,19 @@ function fa(t, e, o, s, r, a, i, l, c) {
3102
3099
  for (let n = 0; n < t.length; n++) Ao(e, o, t[n].color, "color");
3103
3100
  e.end("colorScale");
3104
3101
  } else if (d?.type === I.ScaleType.DataBar) {
3105
- const t = d.stops ?? [];
3106
3102
  e.start("dataBar", {
3107
3103
  minLength: d.minLength ?? 0,
3108
3104
  maxLength: d.maxLength ?? 100,
3109
- showValue: ga(d.showValue)
3105
+ showValue: xa(d.showValue)
3110
3106
  });
3111
- for (let n = 0; n < t.length; n++) ca(e, t[n]);
3112
- d.color && Ao(e, o, d.color, "color"), e.end("dataBar");
3107
+ const [t, n] = fa(d);
3108
+ ca(e, t), ca(e, n), Ao(e, o, d.color ?? "#638EC6", "color"), e.end("dataBar");
3113
3109
  } else if (d?.type === I.ScaleType.IconSet) {
3114
3110
  const t = d.stops ?? [];
3115
3111
  e.start("iconSet", {
3116
3112
  iconSet: d.iconSet,
3117
- reverse: ga(d.reverse),
3118
- showValue: ga(d.showValue)
3113
+ reverse: xa(d.reverse),
3114
+ showValue: xa(d.showValue)
3119
3115
  });
3120
3116
  for (let n = 0; n < t.length; n++) ca(e, t[n]);
3121
3117
  e.end("iconSet");
@@ -3126,35 +3122,35 @@ function fa(t, e, o, s, r, a, i, l, c) {
3126
3122
  }), e.start("x14:id"), e.text(p), e.end("x14:id"), e.end("ext"), e.end("extLst")), e.end("cfRule");
3127
3123
  } else e.empty("cfRule", m);
3128
3124
  }
3129
- function ha(t) {
3125
+ function ua(t) {
3130
3126
  let e = Number.MAX_SAFE_INTEGER, n = Number.MAX_SAFE_INTEGER;
3131
3127
  const o = t.split(" ");
3132
3128
  for (let t = 0; t < o.length; t++) {
3133
3129
  if (!o[t]) continue;
3134
- const s = R.fastStringToRange(o[t]);
3130
+ const s = E.fastStringToRange(o[t]);
3135
3131
  s.rowStart < e && (e = s.rowStart), s.colStart < n && (n = s.colStart);
3136
3132
  }
3137
- return R.cellToString({
3133
+ return E.cellToString({
3138
3134
  rowIndex: e,
3139
3135
  colIndex: n
3140
3136
  });
3141
3137
  }
3142
- function ua(t) {
3138
+ function ga(t) {
3143
3139
  if ("string" == typeof t) return t.split(",").join(" ");
3144
3140
  if (Array.isArray(t)) {
3145
3141
  const e = [];
3146
3142
  for (let n = 0; n < t.length; n++) {
3147
- const o = R.rangeToString(t[n]);
3143
+ const o = E.rangeToString(t[n]);
3148
3144
  o && e.push(o);
3149
3145
  }
3150
3146
  return e.length > 0 ? e.join(" ") : null;
3151
3147
  }
3152
- return R.rangeToString(t);
3148
+ return E.rangeToString(t);
3153
3149
  }
3154
- function ga(t) {
3150
+ function xa(t) {
3155
3151
  if (void 0 !== t) return t ? "1" : "0";
3156
3152
  }
3157
- function xa(t) {
3153
+ function ya(t) {
3158
3154
  if ("string" != typeof t) return !1;
3159
3155
  let e = !1;
3160
3156
  for (let n = 0; n < t.length; n++) {
@@ -3164,17 +3160,17 @@ function xa(t) {
3164
3160
  }
3165
3161
  return !1;
3166
3162
  }
3167
- function ya(t) {
3163
+ function va(t) {
3168
3164
  const e = t.formulas, n = e ? e.length : 0;
3169
- for (let t = 0; t < n; t++) if (xa(e[t])) return !0;
3165
+ for (let t = 0; t < n; t++) if (ya(e[t])) return !0;
3170
3166
  return !1;
3171
3167
  }
3172
- function va(t) {
3168
+ function wa(t) {
3173
3169
  let e = Number.MAX_SAFE_INTEGER, n = Number.MAX_SAFE_INTEGER;
3174
3170
  const o = t.split(" ");
3175
3171
  for (let t = 0; t < o.length; t++) {
3176
3172
  if (!o[t]) continue;
3177
- const s = R.fastStringToRange(o[t]);
3173
+ const s = E.fastStringToRange(o[t]);
3178
3174
  s.rowStart < e && (e = s.rowStart), s.colStart < n && (n = s.colStart);
3179
3175
  }
3180
3176
  return e === Number.MAX_SAFE_INTEGER ? null : {
@@ -3182,38 +3178,49 @@ function va(t) {
3182
3178
  colIndex: n
3183
3179
  };
3184
3180
  }
3185
- function wa(t, e, n) {
3181
+ function Sa(t, e, n) {
3186
3182
  if ("string" != typeof t || !t || !e || !n) return t;
3187
3183
  try {
3188
3184
  const o = n.parse(t, e);
3189
- return o && D.image(n.spell(o, !0), { at: e }) || t;
3185
+ return o && A.image(n.spell(o, !0), { at: e }) || t;
3190
3186
  } catch {
3191
3187
  return t;
3192
3188
  }
3193
3189
  }
3194
- function Sa(t, e, n) {
3195
- const o = t?.stops;
3196
- if (!o || !n) return t;
3197
- let s;
3198
- for (let t = 0; t < o.length; t++) {
3199
- const r = o[t]?.value;
3200
- if ("string" != typeof r) continue;
3201
- const a = wa(r, e, n);
3202
- a !== r && (s || (s = [...o]), s[t] = {
3203
- ...o[t],
3204
- value: a
3205
- });
3190
+ function ba(t, e, n) {
3191
+ if (!t || !n) return t;
3192
+ const o = (t) => {
3193
+ const o = t?.value;
3194
+ if ("string" != typeof o) return t;
3195
+ const s = Sa(o, e, n);
3196
+ return s === o ? t : {
3197
+ ...t,
3198
+ value: s
3199
+ };
3200
+ };
3201
+ if (t.type === I.ScaleType.DataBar) {
3202
+ const e = o(t.minPoint), n = o(t.maxPoint);
3203
+ if (e === t.minPoint && n === t.maxPoint) return t;
3204
+ const s = { ...t };
3205
+ return e && (s.minPoint = e), n && (s.maxPoint = n), s;
3206
+ }
3207
+ const s = t.stops;
3208
+ if (!s) return t;
3209
+ let r;
3210
+ for (let t = 0; t < s.length; t++) {
3211
+ const e = o(s[t]);
3212
+ e !== s[t] && (r || (r = [...s]), r[t] = e);
3206
3213
  }
3207
- return s ? {
3214
+ return r ? {
3208
3215
  ...t,
3209
- stops: s
3216
+ stops: r
3210
3217
  } : t;
3211
3218
  }
3212
- function ba(t) {
3219
+ function Ca(t) {
3213
3220
  const e = t.getDataValidations().getSettings(), n = {};
3214
3221
  return e.disablePrompts && (n.disablePrompts = "1"), void 0 !== e.windowX && (n.xWindow = e.windowX), void 0 !== e.windowY && (n.yWindow = e.windowY), n;
3215
3222
  }
3216
- function Ca(t, e, n) {
3223
+ function Ta(t, e, n) {
3217
3224
  if (!n || 0 === n.length) return;
3218
3225
  const o = n.filter((t) => !t.automatic).length;
3219
3226
  t.start(e, {
@@ -3226,12 +3233,12 @@ function Ca(t, e, n) {
3226
3233
  }
3227
3234
  t.end(e);
3228
3235
  }
3229
- function Ta(t, e, n, o) {
3236
+ function ka(t, e, n, o) {
3230
3237
  if (!o?.xml) return;
3231
3238
  const s = t.addPart("legacyDrawing", o);
3232
3239
  e.empty(n, { "r:id": s.relId });
3233
3240
  }
3234
- var ka = (t, e, n, o) => {
3241
+ var Ia = (t, e, n, o) => {
3235
3242
  const s = (e, n) => {
3236
3243
  const o = t.getRangeAtBounds({
3237
3244
  x: e,
@@ -3278,15 +3285,15 @@ var ka = (t, e, n, o) => {
3278
3285
  bounds: r,
3279
3286
  anchor: [...s(r.x, r.y), ...s(r.x + r.width, r.y + r.height)]
3280
3287
  };
3281
- }, Ia = et + 1, Ra = (t, e, n) => {
3288
+ }, Ra = et + 1, Fa = (t, e, n) => {
3282
3289
  t.start(e), t.start("xdr:col"), t.text(n.c ?? 0), t.end("xdr:col"), t.start("xdr:colOff"), t.text(cs(n.x)), t.end("xdr:colOff"), t.start("xdr:row"), t.text(n.r ?? 0), t.end("xdr:row"), t.start("xdr:rowOff"), t.text(cs(n.y)), t.end("xdr:rowOff"), t.end(e);
3283
- }, Fa = {
3290
+ }, Ea = {
3284
3291
  r: void 0,
3285
3292
  s: void 0,
3286
3293
  t: void 0,
3287
3294
  cm: void 0,
3288
3295
  vm: void 0
3289
- }, Ea = {
3296
+ }, Ma = {
3290
3297
  r: void 0,
3291
3298
  s: void 0,
3292
3299
  customFormat: void 0,
@@ -3298,30 +3305,30 @@ var ka = (t, e, n, o) => {
3298
3305
  collapsed: void 0,
3299
3306
  thickTop: void 0,
3300
3307
  thickBot: void 0
3301
- }, Ma = {
3308
+ }, Pa = {
3302
3309
  t: void 0,
3303
3310
  aca: void 0,
3304
3311
  ref: void 0,
3305
3312
  ca: void 0,
3306
3313
  si: void 0
3307
- }, Pa = {
3314
+ }, Aa = {
3308
3315
  t: "shared",
3309
3316
  aca: void 0,
3310
3317
  ref: void 0,
3311
3318
  ca: void 0,
3312
3319
  si: void 0
3313
- }, Aa = {
3320
+ }, Da = {
3314
3321
  t: "array",
3315
3322
  aca: void 0,
3316
3323
  ref: void 0,
3317
3324
  ca: void 0,
3318
3325
  si: void 0
3319
3326
  };
3320
- function Da(t, e) {
3327
+ function La(t, e) {
3321
3328
  const n = ke.test(e) ? Fe : void 0;
3322
3329
  t.start("t", n), t.text(ie(e)), t.end("t");
3323
3330
  }
3324
- var La = (t) => String(Math.round(1e3 * t)), _a = (t) => void 0 === t ? void 0 : t ? "1" : "0", Na = /* @__PURE__ */ new Set([
3331
+ var _a = (t) => String(Math.round(1e3 * t)), Na = (t) => void 0 === t ? void 0 : t ? "1" : "0", $a = /* @__PURE__ */ new Set([
3325
3332
  "text",
3326
3333
  "runs",
3327
3334
  "paragraphs",
@@ -3355,33 +3362,33 @@ var La = (t) => String(Math.round(1e3 * t)), _a = (t) => void 0 === t ? void 0 :
3355
3362
  "effects",
3356
3363
  "fill",
3357
3364
  "stroke"
3358
- ]), $a = {
3365
+ ]), Ba = {
3359
3366
  latin: "lt",
3360
3367
  ea: "ea",
3361
3368
  cs: "cs",
3362
3369
  sym: "lt",
3363
3370
  buFont: "lt"
3364
- }, Ba = (t, e, n) => {
3371
+ }, Oa = (t, e, n) => {
3365
3372
  if (!n) return;
3366
- const o = void 0 !== n.scheme && n.scheme !== i.Scheme.None ? `+${n.scheme === i.Scheme.Major ? "mj" : "mn"}-${$a[e]}` : n.family;
3373
+ const o = void 0 !== n.scheme && n.scheme !== i.Scheme.None ? `+${n.scheme === i.Scheme.Major ? "mj" : "mn"}-${Ba[e]}` : n.family;
3367
3374
  void 0 !== o && t.empty(e, {
3368
3375
  typeface: o,
3369
3376
  panose: n.panose,
3370
3377
  pitchFamily: n.pitch,
3371
3378
  charset: Oe(n.charset)
3372
3379
  });
3373
- }, Oa = (t, e, o, s, r = n.EmptyObject) => {
3380
+ }, Va = (t, e, o, s, r = n.EmptyObject) => {
3374
3381
  const a = t.getXMLWriter(), i = ((t, e, o = n.EmptyArray) => {
3375
3382
  if (!e) return { ...o };
3376
3383
  const s = { ...o };
3377
- for (const t of Object.keys(e)) Na.has(t) || void 0 === e[t] || (s[t] = e[t]);
3384
+ for (const t of Object.keys(e)) $a.has(t) || void 0 === e[t] || (s[t] = e[t]);
3378
3385
  const { size: r, kern: a, weight: i, style: l, b: c, i: d, spc: m, baseline: p } = e, f = e;
3379
- return void 0 !== f.language && (s.lang = f.language), void 0 !== f.alternateLanguage && (s.altLang = f.alternateLanguage), void 0 !== r && (s.sz = "" + ms(r)), void 0 !== c && (s.b = c ? "1" : "0"), void 0 !== i && (s.b = i > 500 ? "1" : "0"), void 0 !== d && (s.i = d ? "1" : "0"), void 0 !== l && (s.i = "italic" === l ? "1" : "0"), void 0 !== e.italic && (s.i = e.italic ? "1" : "0"), void 0 !== f.underline && (s.u = Ce.write(f.underline)), void 0 !== f.strike && (s.strike = at.write(f.strike)), void 0 !== a && (s.kern = "" + ms(a)), void 0 !== f.kerning && (s.kern = "" + ms(f.kerning)), void 0 !== m && (s.spc = "" + ms(m)), void 0 !== f.letterSpacing && (s.spc = "" + ms(f.letterSpacing)), void 0 !== p && (s.baseline = La(p)), void 0 !== f.capitals && (s.cap = f.capitals), void 0 !== f.normalizeHeight && (s.normalizeH = _a(f.normalizeHeight)), s;
3386
+ return void 0 !== f.language && (s.lang = f.language), void 0 !== f.alternateLanguage && (s.altLang = f.alternateLanguage), void 0 !== r && (s.sz = "" + ms(r)), void 0 !== c && (s.b = c ? "1" : "0"), void 0 !== i && (s.b = i > 500 ? "1" : "0"), void 0 !== d && (s.i = d ? "1" : "0"), void 0 !== l && (s.i = "italic" === l ? "1" : "0"), void 0 !== e.italic && (s.i = e.italic ? "1" : "0"), void 0 !== f.underline && (s.u = Ce.write(f.underline)), void 0 !== f.strike && (s.strike = at.write(f.strike)), void 0 !== a && (s.kern = "" + ms(a)), void 0 !== f.kerning && (s.kern = "" + ms(f.kerning)), void 0 !== m && (s.spc = "" + ms(m)), void 0 !== f.letterSpacing && (s.spc = "" + ms(f.letterSpacing)), void 0 !== p && (s.baseline = _a(p)), void 0 !== f.capitals && (s.cap = f.capitals), void 0 !== f.normalizeHeight && (s.normalizeH = Na(f.normalizeHeight)), s;
3380
3387
  })(0, s ?? {}, r);
3381
- s?.outline || s?.color || s?.effects?.length || s?.highlight || s?.font || s?.eastAsianFont || s?.complexScriptFont || s?.symbolFont || s?.hyperlink ? (a.start(o, i), s.outline && Ho(t, a, s.outline, e), s.color && Xo(t, a, s.color, e), s.effects?.length && qo(t, a, e.getTheme(), s.effects), s.highlight && (a.start("highlight"), Mo(a, e.getTheme(), s.highlight), a.end("highlight")), Ba(a, "latin", s.font), Ba(a, "ea", s.eastAsianFont), Ba(a, "cs", s.complexScriptFont), Ba(a, "sym", s.symbolFont), jo(t, a, "hlinkClick", s.hyperlink), a.end(o)) : a.empty(o, i);
3382
- }, Va = (t, e, n) => {
3383
- n && (t.start(e), "percent" in n ? t.empty("spcPct", { val: La(n.percent) }) : t.empty("spcPts", { val: String(Math.round(100 * n.points)) }), t.end(e));
3384
- }, Wa = (t, e, n, o) => {
3388
+ s?.outline || s?.color || s?.effects?.length || s?.highlight || s?.font || s?.eastAsianFont || s?.complexScriptFont || s?.symbolFont || s?.hyperlink ? (a.start(o, i), s.outline && Ho(t, a, s.outline, e), s.color && Xo(t, a, s.color, e), s.effects?.length && qo(t, a, e.getTheme(), s.effects), s.highlight && (a.start("highlight"), Mo(a, e.getTheme(), s.highlight), a.end("highlight")), Oa(a, "latin", s.font), Oa(a, "ea", s.eastAsianFont), Oa(a, "cs", s.complexScriptFont), Oa(a, "sym", s.symbolFont), jo(t, a, "hlinkClick", s.hyperlink), a.end(o)) : a.empty(o, i);
3389
+ }, Wa = (t, e, n) => {
3390
+ n && (t.start(e), "percent" in n ? t.empty("spcPct", { val: _a(n.percent) }) : t.empty("spcPts", { val: String(Math.round(100 * n.points)) }), t.end(e));
3391
+ }, za = (t, e, n, o) => {
3385
3392
  const s = t.getXMLWriter(), r = {
3386
3393
  marL: void 0 === o.marginLeft ? void 0 : String(cs(o.marginLeft)),
3387
3394
  marR: void 0 === o.marginRight ? void 0 : String(cs(o.marginRight)),
@@ -3389,14 +3396,14 @@ var La = (t) => String(Math.round(1e3 * t)), _a = (t) => void 0 === t ? void 0 :
3389
3396
  indent: void 0 === o.indent ? void 0 : String(cs(o.indent)),
3390
3397
  algn: ht.write(o.align),
3391
3398
  defTabSz: void 0 === o.defaultTabSize ? void 0 : String(cs(o.defaultTabSize)),
3392
- rtl: _a(o.rightToLeft),
3393
- eaLnBrk: _a(o.eastAsianLineBreak),
3399
+ rtl: Na(o.rightToLeft),
3400
+ eaLnBrk: Na(o.eastAsianLineBreak),
3394
3401
  fontAlgn: Gt.write(o.fontAlign),
3395
- latinLnBrk: _a(o.latinLineBreak),
3396
- hangingPunct: _a(o.hangingPunctuation)
3402
+ latinLnBrk: Na(o.latinLineBreak),
3403
+ hangingPunct: Na(o.hangingPunctuation)
3397
3404
  }, a = o.bullet;
3398
3405
  if (o.lineSpacing || o.spaceBefore || o.spaceAfter || a || o.tabs || o.defaultRun) {
3399
- if (s.start(n, r), Va(s, "lnSpc", o.lineSpacing), Va(s, "spcBef", o.spaceBefore), Va(s, "spcAft", o.spaceAfter), a) switch (a.colorFollowsText ? s.empty("buClrTx") : a.color && (s.start("buClr"), Mo(s, e.getTheme(), a.color), s.end("buClr")), a.sizeFollowsText ? s.empty("buSzTx") : a.size && ("percent" in a.size ? s.empty("buSzPct", { val: La(a.size.percent) }) : s.empty("buSzPts", { val: String(Math.round(100 * a.size.points)) })), a.fontFollowsText ? s.empty("buFontTx") : Ba(s, "buFont", a.font), a.type) {
3406
+ if (s.start(n, r), Wa(s, "lnSpc", o.lineSpacing), Wa(s, "spcBef", o.spaceBefore), Wa(s, "spcAft", o.spaceAfter), a) switch (a.colorFollowsText ? s.empty("buClrTx") : a.color && (s.start("buClr"), Mo(s, e.getTheme(), a.color), s.end("buClr")), a.sizeFollowsText ? s.empty("buSzTx") : a.size && ("percent" in a.size ? s.empty("buSzPct", { val: _a(a.size.percent) }) : s.empty("buSzPts", { val: String(Math.round(100 * a.size.points)) })), a.fontFollowsText ? s.empty("buFontTx") : Oa(s, "buFont", a.font), a.type) {
3400
3407
  case "none":
3401
3408
  s.empty("buNone");
3402
3409
  break;
@@ -3416,14 +3423,14 @@ var La = (t) => String(Math.round(1e3 * t)), _a = (t) => void 0 === t ? void 0 :
3416
3423
  });
3417
3424
  s.end("tabLst");
3418
3425
  }
3419
- o.defaultRun && Oa(t, e, "defRPr", o.defaultRun), s.end(n);
3426
+ o.defaultRun && Va(t, e, "defRPr", o.defaultRun), s.end(n);
3420
3427
  } else s.empty(n, r);
3421
- }, za = (t) => t === h.Overflow.Visible ? void 0 : rt.write(t), ja = (t, e) => {
3428
+ }, ja = (t) => t === h.Overflow.Visible ? void 0 : rt.write(t), Xa = (t, e) => {
3422
3429
  const n = e.body ?? {}, o = n.insets, s = {
3423
3430
  rot: void 0 === e.rotation ? void 0 : String(Math.round(6e4 * e.rotation)),
3424
- spcFirstLastPara: _a(n.spaceFirstLastParagraph),
3425
- vertOverflow: za(n.verticalOverflow ?? f.TEXT_DEFAULTS.verticalOverflow),
3426
- horzOverflow: za(n.horizontalOverflow ?? f.TEXT_DEFAULTS.horizontalOverflow),
3431
+ spcFirstLastPara: Na(n.spaceFirstLastParagraph),
3432
+ vertOverflow: ja(n.verticalOverflow ?? f.TEXT_DEFAULTS.verticalOverflow),
3433
+ horzOverflow: ja(n.horizontalOverflow ?? f.TEXT_DEFAULTS.horizontalOverflow),
3427
3434
  vert: _e.write(n.vertical),
3428
3435
  wrap: n.wrap,
3429
3436
  lIns: void 0 === o?.left ? void 0 : String(cs(o.left)),
@@ -3432,13 +3439,13 @@ var La = (t) => String(Math.round(1e3 * t)), _a = (t) => void 0 === t ? void 0 :
3432
3439
  bIns: void 0 === o?.bottom ? void 0 : String(cs(o.bottom)),
3433
3440
  numCol: void 0 === n.columns ? void 0 : String(n.columns),
3434
3441
  spcCol: void 0 === n.columnSpacing ? void 0 : String(cs(n.columnSpacing)),
3435
- rtlCol: _a(n.rightToLeftColumns),
3436
- fromWordArt: _a(n.fromWordArt),
3442
+ rtlCol: Na(n.rightToLeftColumns),
3443
+ fromWordArt: Na(n.fromWordArt),
3437
3444
  anchor: Kt.write(n.anchor),
3438
- anchorCtr: _a(n.anchorCenter),
3439
- forceAA: _a(n.forceAntiAlias),
3440
- upright: _a(n.upright),
3441
- compatLnSpc: _a(n.compatibleLineSpacing)
3445
+ anchorCtr: Na(n.anchorCenter),
3446
+ forceAA: Na(n.forceAntiAlias),
3447
+ upright: Na(n.upright),
3448
+ compatLnSpc: Na(n.compatibleLineSpacing)
3442
3449
  };
3443
3450
  if (n.warp || n.autoFit || n.extLst) {
3444
3451
  if (t.start("bodyPr", s), n.warp) {
@@ -3462,25 +3469,25 @@ var La = (t) => String(Math.round(1e3 * t)), _a = (t) => void 0 === t ? void 0 :
3462
3469
  t.empty("spAutoFit");
3463
3470
  break;
3464
3471
  case h.Autofit.Normal: t.empty("normAutofit", {
3465
- fontScale: void 0 === n.fontScale ? void 0 : La(n.fontScale),
3466
- lnSpcReduction: void 0 === n.lineSpacingReduction ? void 0 : La(n.lineSpacingReduction)
3472
+ fontScale: void 0 === n.fontScale ? void 0 : _a(n.fontScale),
3473
+ lnSpcReduction: void 0 === n.lineSpacingReduction ? void 0 : _a(n.lineSpacingReduction)
3467
3474
  });
3468
3475
  }
3469
3476
  n.extLst && t.raw(n.extLst), t.end("bodyPr");
3470
3477
  } else t.empty("bodyPr", s);
3471
- }, Xa = (t, e, n) => {
3478
+ }, Ha = (t, e, n) => {
3472
3479
  const o = t.getXMLWriter();
3473
- n && (n.default || n.levels?.some((t) => t)) ? (o.start("lstStyle"), n.default && Wa(t, e, "defPPr", n.default), n.levels?.forEach((n, o) => {
3474
- n && Wa(t, e, `lvl${o + 1}pPr`, n);
3480
+ n && (n.default || n.levels?.some((t) => t)) ? (o.start("lstStyle"), n.default && za(t, e, "defPPr", n.default), n.levels?.forEach((n, o) => {
3481
+ n && za(t, e, `lvl${o + 1}pPr`, n);
3475
3482
  }), o.end("lstStyle")) : o.empty("lstStyle");
3476
- }, Ha = (t, e, n, o) => {
3483
+ }, Ua = (t, e, n, o) => {
3477
3484
  const s = t.getXMLWriter();
3478
3485
  s.pushDefaultNamespace("a"), s.start("p");
3479
3486
  const { runs: r, endRun: a, ...i } = o, l = void 0 !== f.inheritedTextSize(n, o) ? (t) => t : (t) => void 0 === t.size ? {
3480
3487
  ...t,
3481
3488
  size: f.TEXT_DEFAULTS.size
3482
3489
  } : t;
3483
- ((t) => !!t && Object.keys(t).some((e) => "runs" !== e && "endRun" !== e && void 0 !== t[e]))(i) && Wa(t, e, "pPr", i);
3490
+ ((t) => !!t && Object.keys(t).some((e) => "runs" !== e && "endRun" !== e && void 0 !== t[e]))(i) && za(t, e, "pPr", i);
3484
3491
  for (const n of r ?? []) {
3485
3492
  if ("\n" === n?.text) {
3486
3493
  s.empty("br");
@@ -3490,22 +3497,22 @@ var La = (t) => String(Math.round(1e3 * t)), _a = (t) => void 0 === t ? void 0 :
3490
3497
  s.start(i, r ? {
3491
3498
  id: r.id,
3492
3499
  type: r.type
3493
- } : {}), Oa(t, e, "rPr", l(a)), s.start("t"), s.text(o ?? ""), s.end("t"), s.end(i);
3500
+ } : {}), Va(t, e, "rPr", l(a)), s.start("t"), s.text(o ?? ""), s.end("t"), s.end(i);
3494
3501
  }
3495
- !a && r?.length || Oa(t, e, "endParaRPr", l(a ?? {})), s.end("p"), s.popDefaultNamespace();
3496
- }, Ua = (t, e, n) => {
3502
+ !a && r?.length || Va(t, e, "endParaRPr", l(a ?? {})), s.end("p"), s.popDefaultNamespace();
3503
+ }, Ga = (t, e, n) => {
3497
3504
  if (!n) return;
3498
3505
  const o = t.getXMLWriter(), s = ((t) => "string" == typeof t ? { paragraphs: [{ runs: [{ text: t }] }] } : Array.isArray(t?.paragraphs) ? t : { paragraphs: [t] })(n);
3499
- o.start("txBody"), o.pushDefaultNamespace("a"), ja(o, s), Xa(t, e, s.listStyle);
3506
+ o.start("txBody"), o.pushDefaultNamespace("a"), Xa(o, s), Ha(t, e, s.listStyle);
3500
3507
  const r = 0 === s.paragraphs.length ? [{ runs: [] }] : s.paragraphs;
3501
- for (const n of r) Ha(t, e, s, n);
3508
+ for (const n of r) Ua(t, e, s, n);
3502
3509
  o.popDefaultNamespace(), o.end("txBody");
3503
- }, Ga = (t, e, n) => {
3510
+ }, qa = (t, e, n) => {
3504
3511
  const o = t.getXMLWriter();
3505
3512
  if (!n) return o.empty("bodyPr"), void o.empty("lstStyle");
3506
- ja(o, n), Xa(t, e, n.listStyle);
3513
+ Xa(o, n), Ha(t, e, n.listStyle);
3507
3514
  };
3508
- function qa(t, e, n, o) {
3515
+ function Ja(t, e, n, o) {
3509
3516
  t.start(o);
3510
3517
  const s = { typeface: e.latin || n };
3511
3518
  e.panose && (s.panose = e.panose), t.empty("latin", s), t.empty("ea", { typeface: e.eastAsian ?? "" }), t.empty("cs", { typeface: e.complexScript ?? "" });
@@ -3516,11 +3523,11 @@ function qa(t, e, n, o) {
3516
3523
  });
3517
3524
  t.end(o);
3518
3525
  }
3519
- var Ja = [
3526
+ var Ka = [
3520
3527
  ["shape", "spDef"],
3521
3528
  ["line", "lnDef"],
3522
3529
  ["text", "txDef"]
3523
- ], Ka = { checkbox: "Checkbox" }, Ya = [
3530
+ ], Ya = { checkbox: "Checkbox" }, Za = [
3524
3531
  ["dc:title", "title"],
3525
3532
  ["dc:subject", "subject"],
3526
3533
  ["dc:creator", "author"],
@@ -3541,15 +3548,15 @@ var Ja = [
3541
3548
  ["cp:category", "category"],
3542
3549
  ["cp:contentStatus", "contentStatus"],
3543
3550
  ["cp:revision", "revisionNumber"]
3544
- ], Za = (t, e, n, o) => {
3551
+ ], Qa = (t, e, n, o) => {
3545
3552
  e.start(n), e.text(o), e.end(n);
3546
- }, Qa = {
3553
+ }, ti = {
3547
3554
  [_.Type.String]: "vt:lpwstr",
3548
3555
  [_.Type.Number]: "vt:i4",
3549
3556
  [_.Type.Float]: "vt:r8",
3550
3557
  [_.Type.Boolean]: "vt:bool",
3551
3558
  [_.Type.Date]: "vt:filetime"
3552
- }, ti = (t) => t.split(".")[0] + "Z", ei = {
3559
+ }, ei = (t) => t.split(".")[0] + "Z", ni = {
3553
3560
  minSupportedVersion: "120000",
3554
3561
  copy: "1",
3555
3562
  pasteAll: "1",
@@ -3561,42 +3568,42 @@ var Ja = [
3561
3568
  clearComments: "1",
3562
3569
  assign: "1",
3563
3570
  coerce: "1"
3564
- }, ni = "http://schemas.microsoft.com/office/spreadsheetml/2017/richdata2", oi = (t, e) => {
3571
+ }, oi = "http://schemas.microsoft.com/office/spreadsheetml/2017/richdata2", si = (t, e) => {
3565
3572
  for (const [n, o] of e) t.start("v", n ? { t: n } : void 0), t.text(o), t.end("v");
3566
- }, si = (t) => void 0 === t || "_" === t ? void 0 : t, ri = (t, e) => {
3573
+ }, ri = (t) => void 0 === t || "_" === t ? void 0 : t, ai = (t, e) => {
3567
3574
  const n = e.indexOf(" ");
3568
3575
  n < 0 || t.empty("gd", {
3569
3576
  name: e.slice(0, n),
3570
3577
  fmla: e.slice(n + 1).trim()
3571
3578
  });
3572
- }, ai = (t, e, n) => {
3579
+ }, ii = (t, e, n) => {
3573
3580
  t.empty("pos", {
3574
3581
  x: e,
3575
3582
  y: n
3576
3583
  });
3577
- }, ii = (t, e) => {
3584
+ }, li = (t, e) => {
3578
3585
  const n = e.split(" ");
3579
3586
  "xy" === n[0] ? (t.start("ahXY", {
3580
- gdRefX: si(n[1]),
3581
- minX: si(n[5]),
3582
- maxX: si(n[6]),
3583
- gdRefY: si(n[2]),
3584
- minY: si(n[7]),
3585
- maxY: si(n[8])
3586
- }), ai(t, n[3], n[4]), t.end("ahXY")) : "polar" === n[0] && (t.start("ahPolar", {
3587
- gdRefR: si(n[1]),
3588
- minR: si(n[5]),
3589
- maxR: si(n[6]),
3590
- gdRefAng: si(n[2]),
3591
- minAng: si(n[7]),
3592
- maxAng: si(n[8])
3593
- }), ai(t, n[3], n[4]), t.end("ahPolar"));
3594
- }, li = {
3587
+ gdRefX: ri(n[1]),
3588
+ minX: ri(n[5]),
3589
+ maxX: ri(n[6]),
3590
+ gdRefY: ri(n[2]),
3591
+ minY: ri(n[7]),
3592
+ maxY: ri(n[8])
3593
+ }), ii(t, n[3], n[4]), t.end("ahXY")) : "polar" === n[0] && (t.start("ahPolar", {
3594
+ gdRefR: ri(n[1]),
3595
+ minR: ri(n[5]),
3596
+ maxR: ri(n[6]),
3597
+ gdRefAng: ri(n[2]),
3598
+ minAng: ri(n[7]),
3599
+ maxAng: ri(n[8])
3600
+ }), ii(t, n[3], n[4]), t.end("ahPolar"));
3601
+ }, ci = {
3595
3602
  M: ["moveTo", 1],
3596
3603
  L: ["lnTo", 1],
3597
3604
  Q: ["quadBezTo", 2],
3598
3605
  C: ["cubicBezTo", 3]
3599
- }, ci = (t, e) => {
3606
+ }, di = (t, e) => {
3600
3607
  t.start("path", {
3601
3608
  w: e.w,
3602
3609
  h: e.h,
@@ -3615,7 +3622,7 @@ var Ja = [
3615
3622
  swAng: n[o + 3]
3616
3623
  }), o += 4;
3617
3624
  else {
3618
- const s = li[e];
3625
+ const s = ci[e];
3619
3626
  if (!s) break;
3620
3627
  t.start(s[0]);
3621
3628
  for (let e = 0; e < s[1]; e++, o += 2) t.empty("pt", {
@@ -3626,32 +3633,32 @@ var Ja = [
3626
3633
  }
3627
3634
  }
3628
3635
  t.end("path");
3629
- }, di = {
3636
+ }, mi = {
3630
3637
  type: "http://schemas.microsoft.com/office/2011/relationships/chartStyle",
3631
3638
  contentType: "application/vnd.ms-office.chartstyle+xml",
3632
3639
  name: "style1.xml",
3633
3640
  xml: "<cs:chartStyle xmlns:cs=\"http://schemas.microsoft.com/office/drawing/2012/chartStyle\" xmlns:a=\"http://schemas.openxmlformats.org/drawingml/2006/main\" id=\"395\"><cs:axisTitle><cs:lnRef idx=\"0\"/><cs:fillRef idx=\"0\"/><cs:effectRef idx=\"0\"/><cs:fontRef idx=\"minor\"><a:schemeClr val=\"tx1\"><a:lumMod val=\"65000\"/><a:lumOff val=\"35000\"/></a:schemeClr></cs:fontRef><cs:defRPr sz=\"900\"/></cs:axisTitle><cs:categoryAxis><cs:lnRef idx=\"0\"/><cs:fillRef idx=\"0\"/><cs:effectRef idx=\"0\"/><cs:fontRef idx=\"minor\"><a:schemeClr val=\"tx1\"><a:lumMod val=\"65000\"/><a:lumOff val=\"35000\"/></a:schemeClr></cs:fontRef><cs:spPr><a:ln w=\"9525\" cap=\"flat\" cmpd=\"sng\" algn=\"ctr\"><a:solidFill><a:schemeClr val=\"tx1\"><a:lumMod val=\"15000\"/><a:lumOff val=\"85000\"/></a:schemeClr></a:solidFill><a:round/></a:ln></cs:spPr><cs:defRPr sz=\"900\"/></cs:categoryAxis><cs:chartArea mods=\"allowNoFillOverride allowNoLineOverride\"><cs:lnRef idx=\"0\"/><cs:fillRef idx=\"0\"/><cs:effectRef idx=\"0\"/><cs:fontRef idx=\"minor\"><a:schemeClr val=\"tx1\"/></cs:fontRef><cs:spPr><a:solidFill><a:schemeClr val=\"bg1\"/></a:solidFill><a:ln w=\"9525\" cap=\"flat\" cmpd=\"sng\" algn=\"ctr\"><a:solidFill><a:schemeClr val=\"tx1\"><a:lumMod val=\"15000\"/><a:lumOff val=\"85000\"/></a:schemeClr></a:solidFill><a:round/></a:ln></cs:spPr><cs:defRPr sz=\"1000\"/></cs:chartArea><cs:dataLabel><cs:lnRef idx=\"0\"/><cs:fillRef idx=\"0\"/><cs:effectRef idx=\"0\"/><cs:fontRef idx=\"minor\"><a:schemeClr val=\"tx1\"><a:lumMod val=\"65000\"/><a:lumOff val=\"35000\"/></a:schemeClr></cs:fontRef><cs:defRPr sz=\"900\"/></cs:dataLabel><cs:dataLabelCallout><cs:lnRef idx=\"0\"/><cs:fillRef idx=\"0\"/><cs:effectRef idx=\"0\"/><cs:fontRef idx=\"minor\"><a:schemeClr val=\"dk1\"><a:lumMod val=\"65000\"/><a:lumOff val=\"35000\"/></a:schemeClr></cs:fontRef><cs:spPr><a:solidFill><a:schemeClr val=\"lt1\"/></a:solidFill><a:ln><a:solidFill><a:schemeClr val=\"dk1\"><a:lumMod val=\"25000\"/><a:lumOff val=\"75000\"/></a:schemeClr></a:solidFill></a:ln></cs:spPr><cs:defRPr sz=\"900\"/><cs:bodyPr rot=\"0\" spcFirstLastPara=\"1\" vertOverflow=\"clip\" horzOverflow=\"clip\" vert=\"horz\" wrap=\"square\" lIns=\"36576\" tIns=\"18288\" rIns=\"36576\" bIns=\"18288\" anchor=\"ctr\" anchorCtr=\"1\"><a:spAutoFit/></cs:bodyPr></cs:dataLabelCallout><cs:dataPoint><cs:lnRef idx=\"0\"/><cs:fillRef idx=\"0\"><cs:styleClr val=\"auto\"/></cs:fillRef><cs:effectRef idx=\"0\"/><cs:fontRef idx=\"minor\"><a:schemeClr val=\"tx1\"/></cs:fontRef><cs:spPr><a:solidFill><a:schemeClr val=\"phClr\"/></a:solidFill></cs:spPr></cs:dataPoint><cs:dataPoint3D><cs:lnRef idx=\"0\"/><cs:fillRef idx=\"0\"><cs:styleClr val=\"auto\"/></cs:fillRef><cs:effectRef idx=\"0\"/><cs:fontRef idx=\"minor\"><a:schemeClr val=\"tx1\"/></cs:fontRef><cs:spPr><a:solidFill><a:schemeClr val=\"phClr\"/></a:solidFill></cs:spPr></cs:dataPoint3D><cs:dataPointLine><cs:lnRef idx=\"0\"><cs:styleClr val=\"auto\"/></cs:lnRef><cs:fillRef idx=\"0\"/><cs:effectRef idx=\"0\"/><cs:fontRef idx=\"minor\"><a:schemeClr val=\"tx1\"/></cs:fontRef><cs:spPr><a:ln w=\"28575\" cap=\"rnd\"><a:solidFill><a:schemeClr val=\"phClr\"/></a:solidFill><a:round/></a:ln></cs:spPr></cs:dataPointLine><cs:dataPointMarker><cs:lnRef idx=\"0\"/><cs:fillRef idx=\"0\"><cs:styleClr val=\"auto\"/></cs:fillRef><cs:effectRef idx=\"0\"/><cs:fontRef idx=\"minor\"><a:schemeClr val=\"tx1\"/></cs:fontRef><cs:spPr><a:solidFill><a:schemeClr val=\"phClr\"/></a:solidFill><a:ln w=\"9525\"><a:solidFill><a:schemeClr val=\"lt1\"/></a:solidFill></a:ln></cs:spPr></cs:dataPointMarker><cs:dataPointMarkerLayout symbol=\"circle\" size=\"5\"/><cs:dataPointWireframe><cs:lnRef idx=\"0\"><cs:styleClr val=\"auto\"/></cs:lnRef><cs:fillRef idx=\"0\"/><cs:effectRef idx=\"0\"/><cs:fontRef idx=\"minor\"><a:schemeClr val=\"tx1\"/></cs:fontRef><cs:spPr><a:ln w=\"28575\" cap=\"rnd\"><a:solidFill><a:schemeClr val=\"phClr\"/></a:solidFill><a:round/></a:ln></cs:spPr></cs:dataPointWireframe><cs:dataTable><cs:lnRef idx=\"0\"/><cs:fillRef idx=\"0\"/><cs:effectRef idx=\"0\"/><cs:fontRef idx=\"minor\"><a:schemeClr val=\"tx1\"><a:lumMod val=\"65000\"/><a:lumOff val=\"35000\"/></a:schemeClr></cs:fontRef><cs:spPr><a:ln w=\"9525\"><a:solidFill><a:schemeClr val=\"tx1\"><a:lumMod val=\"15000\"/><a:lumOff val=\"85000\"/></a:schemeClr></a:solidFill></a:ln></cs:spPr><cs:defRPr sz=\"900\"/></cs:dataTable><cs:downBar><cs:lnRef idx=\"0\"/><cs:fillRef idx=\"0\"/><cs:effectRef idx=\"0\"/><cs:fontRef idx=\"minor\"><a:schemeClr val=\"dk1\"/></cs:fontRef><cs:spPr><a:solidFill><a:schemeClr val=\"dk1\"><a:lumMod val=\"65000\"/><a:lumOff val=\"35000\"/></a:schemeClr></a:solidFill><a:ln w=\"9525\"><a:solidFill><a:schemeClr val=\"tx1\"><a:lumMod val=\"65000\"/><a:lumOff val=\"35000\"/></a:schemeClr></a:solidFill></a:ln></cs:spPr></cs:downBar><cs:dropLine><cs:lnRef idx=\"0\"/><cs:fillRef idx=\"0\"/><cs:effectRef idx=\"0\"/><cs:fontRef idx=\"minor\"><a:schemeClr val=\"tx1\"/></cs:fontRef><cs:spPr><a:ln w=\"9525\" cap=\"flat\" cmpd=\"sng\" algn=\"ctr\"><a:solidFill><a:schemeClr val=\"tx1\"><a:lumMod val=\"35000\"/><a:lumOff val=\"65000\"/></a:schemeClr></a:solidFill><a:round/></a:ln></cs:spPr></cs:dropLine><cs:errorBar><cs:lnRef idx=\"0\"/><cs:fillRef idx=\"0\"/><cs:effectRef idx=\"0\"/><cs:fontRef idx=\"minor\"><a:schemeClr val=\"tx1\"/></cs:fontRef><cs:spPr><a:ln w=\"9525\" cap=\"flat\" cmpd=\"sng\" algn=\"ctr\"><a:solidFill><a:schemeClr val=\"tx1\"><a:lumMod val=\"65000\"/><a:lumOff val=\"35000\"/></a:schemeClr></a:solidFill><a:round/></a:ln></cs:spPr></cs:errorBar><cs:floor><cs:lnRef idx=\"0\"/><cs:fillRef idx=\"0\"/><cs:effectRef idx=\"0\"/><cs:fontRef idx=\"minor\"><a:schemeClr val=\"tx1\"/></cs:fontRef></cs:floor><cs:gridlineMajor><cs:lnRef idx=\"0\"/><cs:fillRef idx=\"0\"/><cs:effectRef idx=\"0\"/><cs:fontRef idx=\"minor\"><a:schemeClr val=\"tx1\"/></cs:fontRef><cs:spPr><a:ln w=\"9525\" cap=\"flat\" cmpd=\"sng\" algn=\"ctr\"><a:solidFill><a:schemeClr val=\"tx1\"><a:lumMod val=\"15000\"/><a:lumOff val=\"85000\"/></a:schemeClr></a:solidFill><a:round/></a:ln></cs:spPr></cs:gridlineMajor><cs:gridlineMinor><cs:lnRef idx=\"0\"/><cs:fillRef idx=\"0\"/><cs:effectRef idx=\"0\"/><cs:fontRef idx=\"minor\"><a:schemeClr val=\"tx1\"/></cs:fontRef><cs:spPr><a:ln w=\"9525\" cap=\"flat\" cmpd=\"sng\" algn=\"ctr\"><a:solidFill><a:schemeClr val=\"tx1\"><a:lumMod val=\"15000\"/><a:lumOff val=\"85000\"/></a:schemeClr></a:solidFill><a:round/></a:ln></cs:spPr></cs:gridlineMinor><cs:hiLoLine><cs:lnRef idx=\"0\"/><cs:fillRef idx=\"0\"/><cs:effectRef idx=\"0\"/><cs:fontRef idx=\"minor\"><a:schemeClr val=\"tx1\"/></cs:fontRef><cs:spPr><a:ln w=\"9525\" cap=\"flat\" cmpd=\"sng\" algn=\"ctr\"><a:solidFill><a:schemeClr val=\"tx1\"><a:lumMod val=\"75000\"/><a:lumOff val=\"25000\"/></a:schemeClr></a:solidFill><a:round/></a:ln></cs:spPr></cs:hiLoLine><cs:leaderLine><cs:lnRef idx=\"0\"/><cs:fillRef idx=\"0\"/><cs:effectRef idx=\"0\"/><cs:fontRef idx=\"minor\"><a:schemeClr val=\"tx1\"/></cs:fontRef><cs:spPr><a:ln w=\"9525\" cap=\"flat\" cmpd=\"sng\" algn=\"ctr\"><a:solidFill><a:schemeClr val=\"tx1\"><a:lumMod val=\"35000\"/><a:lumOff val=\"65000\"/></a:schemeClr></a:solidFill><a:round/></a:ln></cs:spPr></cs:leaderLine><cs:legend><cs:lnRef idx=\"0\"/><cs:fillRef idx=\"0\"/><cs:effectRef idx=\"0\"/><cs:fontRef idx=\"minor\"><a:schemeClr val=\"tx1\"><a:lumMod val=\"65000\"/><a:lumOff val=\"35000\"/></a:schemeClr></cs:fontRef><cs:defRPr sz=\"900\"/></cs:legend><cs:plotArea mods=\"allowNoFillOverride allowNoLineOverride\"><cs:lnRef idx=\"0\"/><cs:fillRef idx=\"0\"/><cs:effectRef idx=\"0\"/><cs:fontRef idx=\"minor\"><a:schemeClr val=\"tx1\"/></cs:fontRef></cs:plotArea><cs:plotArea3D mods=\"allowNoFillOverride allowNoLineOverride\"><cs:lnRef idx=\"0\"/><cs:fillRef idx=\"0\"/><cs:effectRef idx=\"0\"/><cs:fontRef idx=\"minor\"><a:schemeClr val=\"tx1\"/></cs:fontRef></cs:plotArea3D><cs:seriesAxis><cs:lnRef idx=\"0\"/><cs:fillRef idx=\"0\"/><cs:effectRef idx=\"0\"/><cs:fontRef idx=\"minor\"><a:schemeClr val=\"tx1\"><a:lumMod val=\"65000\"/><a:lumOff val=\"35000\"/></a:schemeClr></cs:fontRef><cs:spPr><a:ln w=\"9525\" cap=\"flat\" cmpd=\"sng\" algn=\"ctr\"><a:solidFill><a:schemeClr val=\"tx1\"><a:lumMod val=\"15000\"/><a:lumOff val=\"85000\"/></a:schemeClr></a:solidFill><a:round/></a:ln></cs:spPr><cs:defRPr sz=\"900\"/></cs:seriesAxis><cs:seriesLine><cs:lnRef idx=\"0\"/><cs:fillRef idx=\"0\"/><cs:effectRef idx=\"0\"/><cs:fontRef idx=\"minor\"><a:schemeClr val=\"tx1\"/></cs:fontRef><cs:spPr><a:ln w=\"9525\" cap=\"flat\"><a:solidFill><a:srgbClr val=\"D9D9D9\"/></a:solidFill><a:round/></a:ln></cs:spPr></cs:seriesLine><cs:title><cs:lnRef idx=\"0\"/><cs:fillRef idx=\"0\"/><cs:effectRef idx=\"0\"/><cs:fontRef idx=\"minor\"><a:schemeClr val=\"tx1\"><a:lumMod val=\"65000\"/><a:lumOff val=\"35000\"/></a:schemeClr></cs:fontRef><cs:defRPr sz=\"1400\"/></cs:title><cs:trendline><cs:lnRef idx=\"0\"><cs:styleClr val=\"auto\"/></cs:lnRef><cs:fillRef idx=\"0\"/><cs:effectRef idx=\"0\"/><cs:fontRef idx=\"minor\"><a:schemeClr val=\"tx1\"/></cs:fontRef><cs:spPr><a:ln w=\"19050\" cap=\"rnd\"><a:solidFill><a:schemeClr val=\"phClr\"/></a:solidFill><a:prstDash val=\"sysDash\"/></a:ln></cs:spPr></cs:trendline><cs:trendlineLabel><cs:lnRef idx=\"0\"/><cs:fillRef idx=\"0\"/><cs:effectRef idx=\"0\"/><cs:fontRef idx=\"minor\"><a:schemeClr val=\"tx1\"><a:lumMod val=\"65000\"/><a:lumOff val=\"35000\"/></a:schemeClr></cs:fontRef><cs:defRPr sz=\"900\"/></cs:trendlineLabel><cs:upBar><cs:lnRef idx=\"0\"/><cs:fillRef idx=\"0\"/><cs:effectRef idx=\"0\"/><cs:fontRef idx=\"minor\"><a:schemeClr val=\"dk1\"/></cs:fontRef><cs:spPr><a:solidFill><a:schemeClr val=\"lt1\"/></a:solidFill><a:ln w=\"9525\"><a:solidFill><a:schemeClr val=\"tx1\"><a:lumMod val=\"15000\"/><a:lumOff val=\"85000\"/></a:schemeClr></a:solidFill></a:ln></cs:spPr></cs:upBar><cs:valueAxis><cs:lnRef idx=\"0\"/><cs:fillRef idx=\"0\"/><cs:effectRef idx=\"0\"/><cs:fontRef idx=\"minor\"><a:schemeClr val=\"tx1\"><a:lumMod val=\"65000\"/><a:lumOff val=\"35000\"/></a:schemeClr></cs:fontRef><cs:defRPr sz=\"900\"/></cs:valueAxis><cs:wall><cs:lnRef idx=\"0\"/><cs:fillRef idx=\"0\"/><cs:effectRef idx=\"0\"/><cs:fontRef idx=\"minor\"><a:schemeClr val=\"tx1\"/></cs:fontRef></cs:wall></cs:chartStyle>"
3634
- }, mi = {
3641
+ }, pi = {
3635
3642
  type: "http://schemas.microsoft.com/office/2011/relationships/chartColorStyle",
3636
3643
  contentType: "application/vnd.ms-office.chartcolorstyle+xml",
3637
3644
  name: "colors1.xml",
3638
3645
  xml: "<cs:colorStyle xmlns:cs=\"http://schemas.microsoft.com/office/drawing/2012/chartStyle\" xmlns:a=\"http://schemas.openxmlformats.org/drawingml/2006/main\" meth=\"cycle\" id=\"10\"><a:schemeClr val=\"accent1\"/><a:schemeClr val=\"accent2\"/><a:schemeClr val=\"accent3\"/><a:schemeClr val=\"accent4\"/><a:schemeClr val=\"accent5\"/><a:schemeClr val=\"accent6\"/><cs:variation/><cs:variation><a:lumMod val=\"60000\"/></cs:variation><cs:variation><a:lumMod val=\"80000\"/><a:lumOff val=\"20000\"/></cs:variation><cs:variation><a:lumMod val=\"80000\"/></cs:variation><cs:variation><a:lumMod val=\"60000\"/><a:lumOff val=\"40000\"/></cs:variation><cs:variation><a:lumMod val=\"50000\"/></cs:variation><cs:variation><a:lumMod val=\"70000\"/><a:lumOff val=\"30000\"/></cs:variation><cs:variation><a:lumMod val=\"70000\"/></cs:variation><cs:variation><a:lumMod val=\"50000\"/><a:lumOff val=\"50000\"/></cs:variation></cs:colorStyle>"
3639
- }, pi = (t, e) => {
3646
+ }, fi = (t, e) => {
3640
3647
  const n = {};
3641
3648
  e.unlocked && (n.fLocksWithSheet = "0"), e.noPrint && (n.fPrintsWithSheet = "0"), t.empty("clientData", n);
3642
- }, fi = (t) => (t.content?.json)?.members ?? [], hi = (t) => ({
3649
+ }, hi = (t) => (t.content?.json)?.members ?? [], ui = (t) => ({
3643
3650
  x: t.anchor?.tl?.x ?? 0,
3644
3651
  y: t.anchor?.tl?.y ?? 0,
3645
3652
  width: t.anchor?.br?.x ?? 0,
3646
3653
  height: t.anchor?.br?.y ?? 0
3647
- }), ui = async (t, e) => {
3654
+ }), gi = async (t, e) => {
3648
3655
  const n = e.content;
3649
3656
  if ("shape" !== n?.type && "picture" !== n?.type || await ns(t, n.json), "group" === n?.type) {
3650
3657
  await ns(t, n.json);
3651
- for (const n of fi(e)) await ui(t, n);
3658
+ for (const n of hi(e)) await gi(t, n);
3652
3659
  }
3653
- }, gi = async (t, e, n, o, s, r) => {
3654
- const i = await ts(t, r), l = o.content?.json, c = l?.image ?? {}, d = c.extLst ?? (i.external ? void 0 : xi), m = {
3660
+ }, xi = async (t, e, n, o, s, r) => {
3661
+ const i = await ts(t, r), l = o.content?.json, c = l?.image ?? {}, d = c.extLst ?? (i.external ? void 0 : yi), m = {
3655
3662
  ...c,
3656
3663
  type: a.Type.Image,
3657
3664
  extLst: d,
@@ -3661,8 +3668,8 @@ var Ja = [
3661
3668
  const f = {};
3662
3669
  void 0 !== c.dpi && (f.dpi = String(c.dpi)), void 0 !== c.isRotatedWithShape && (f.rotWithShape = c.isRotatedWithShape ? "1" : "0");
3663
3670
  const h = t.getXMLWriter();
3664
- h.start("pic", p), h.start("nvPicPr"), Di(t, h, n, o, e), h.start("cNvPicPr", l?.noRelativeResize ? { preferRelativeResize: "0" } : {}), h.empty("a:picLocks", $i(o)), h.end("cNvPicPr"), h.end("nvPicPr"), h.start("blipFill", f), h.pushDefaultNamespace("a"), as(h, m, i), h.popDefaultNamespace(), h.end("blipFill"), Pi(t, e, n, o, s), h.end("pic");
3665
- }, xi = "<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>", yi = async (t, e, n, o, s) => {
3671
+ h.start("pic", p), h.start("nvPicPr"), Li(t, h, n, o, e), h.start("cNvPicPr", l?.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, i), h.popDefaultNamespace(), h.end("blipFill"), Ai(t, e, n, o, s), h.end("pic");
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) => {
3666
3673
  const r = o.content?.json, a = r?.model, i = r?.part, l = () => s ?? n?.getBounds() ?? {
3667
3674
  x: 0,
3668
3675
  y: 0,
@@ -3677,16 +3684,16 @@ var Ja = [
3677
3684
  });
3678
3685
  if (n.leftOut.length > 0) {
3679
3686
  const s = o.content?.name ?? "";
3680
- if (n.leftOut.length === d.length) return t.warn(`The chart '${s}' is of a type an xlsx file cannot hold (${n.leftOut.join(", ")}); it is saved as a placeholder.`, void 0, "xlsx.chart.unplaced"), Mi(t, e, o, l());
3687
+ if (n.leftOut.length === d.length) return t.warn(`The chart '${s}' is of a type an xlsx file cannot hold (${n.leftOut.join(", ")}); it is saved as a placeholder.`, void 0, "xlsx.chart.unplaced"), Pi(t, e, o, l());
3681
3688
  t.warn(`The chart '${s}' combines types one xlsx chart cannot hold together; it is saved without its ${n.leftOut.join(", ")} series.`, void 0, "xlsx.chart.leftOut");
3682
3689
  }
3683
3690
  m = n.family, p = n.xml;
3684
3691
  } else {
3685
- if (!i?.xml || !c) return Mi(t, e, o, l());
3692
+ if (!i?.xml || !c) return Pi(t, e, o, l());
3686
3693
  m = c, p = i.xml;
3687
3694
  }
3688
3695
  const f = ln[m], h = [...i?.parts ?? []];
3689
- if ("chartEx" === m) for (const t of [di, mi]) h.some((e) => e.type === t.type) || h.push({
3696
+ if ("chartEx" === m) for (const t of [mi, pi]) h.some((e) => e.type === t.type) || h.push({
3690
3697
  id: "",
3691
3698
  ...t
3692
3699
  });
@@ -3698,9 +3705,9 @@ var Ja = [
3698
3705
  xml: p,
3699
3706
  parts: h
3700
3707
  }, t, f.path);
3701
- if (!u?.relId) return Mi(t, e, o, l());
3708
+ if (!u?.relId) return Pi(t, e, o, l());
3702
3709
  const g = t.getXMLWriter();
3703
- if ("chart" === m) return void vi(t, e, n, o, m, u.relId, s);
3710
+ if ("chart" === m) return void wi(t, e, n, o, m, u.relId, s);
3704
3711
  const x = ((t) => {
3705
3712
  const e = new Set(t.map((t) => t.type));
3706
3713
  return e.has("regionMap") ? {
@@ -3714,18 +3721,18 @@ var Ja = [
3714
3721
  uri: "http://schemas.microsoft.com/office/drawing/2015/9/8/chartex"
3715
3722
  };
3716
3723
  })(d);
3717
- g.start("mc:AlternateContent", { "xmlns:mc": Ti }), g.start("mc:Choice", {
3724
+ g.start("mc:AlternateContent", { "xmlns:mc": ki }), g.start("mc:Choice", {
3718
3725
  [`xmlns:${x.prefix}`]: x.uri,
3719
3726
  Requires: x.prefix
3720
- }), vi(t, e, n, o, m, u.relId, s), g.end("mc:Choice"), g.start("mc:Fallback"), Fi(g, l(), "This chart isn't available in your version of Excel.\n\nEditing this shape or saving this workbook into a different file format will permanently break the chart."), g.end("mc:Fallback"), g.end("mc:AlternateContent");
3721
- }, vi = (t, e, n, o, s, r, a) => {
3727
+ }), wi(t, e, n, o, m, u.relId, s), g.end("mc:Choice"), g.start("mc:Fallback"), Ei(g, l(), "This chart isn't available in your version of Excel.\n\nEditing this shape or saving this workbook into a different file format will permanently break the chart."), g.end("mc:Fallback"), g.end("mc:AlternateContent");
3728
+ }, wi = (t, e, n, o, s, r, a) => {
3722
3729
  const i = t.getXMLWriter(), l = a ?? {
3723
3730
  x: 0,
3724
3731
  y: 0,
3725
3732
  width: 0,
3726
3733
  height: 0
3727
3734
  }, c = "chartEx" === s ? "cx" : "c", d = ln[s].graphicUri;
3728
- i.start("graphicFrame", { macro: "" }), i.start("nvGraphicFramePr"), Di(t, i, n, o, e), o.lockAspect ? (i.start("cNvGraphicFramePr"), i.empty("a:graphicFrameLocks", { noChangeAspect: "1" }), i.end("cNvGraphicFramePr")) : i.empty("cNvGraphicFramePr"), i.end("nvGraphicFramePr"), i.start("xfrm"), i.empty("a:off", {
3735
+ i.start("graphicFrame", { macro: "" }), i.start("nvGraphicFramePr"), Li(t, i, n, o, e), o.lockAspect ? (i.start("cNvGraphicFramePr"), i.empty("a:graphicFrameLocks", { noChangeAspect: "1" }), i.end("cNvGraphicFramePr")) : i.empty("cNvGraphicFramePr"), i.end("nvGraphicFramePr"), i.start("xfrm"), i.empty("a:off", {
3729
3736
  x: cs(l.x),
3730
3737
  y: cs(l.y)
3731
3738
  }), i.empty("a:ext", {
@@ -3736,30 +3743,30 @@ var Ja = [
3736
3743
  "xmlns:r": "http://schemas.openxmlformats.org/officeDocument/2006/relationships",
3737
3744
  "r:id": r
3738
3745
  }), i.end("a:graphicData"), i.end("a:graphic"), i.end("graphicFrame");
3739
- }, wi = async (t, e, n, o, s) => {
3746
+ }, Si = async (t, e, n, o, s) => {
3740
3747
  const r = t.getXMLWriter(), a = o.content?.json, i = e.getStyles();
3741
- r.start("grpSp"), r.start("nvGrpSpPr"), Di(t, r, n, o, e);
3742
- const l = _i(o);
3743
- l ? (r.start("cNvGrpSpPr"), r.empty("a:grpSpLocks", l), r.end("cNvGrpSpPr")) : r.empty("cNvGrpSpPr"), r.end("nvGrpSpPr"), r.start("grpSpPr"), r.pushDefaultNamespace("a"), Bi(r, s, o, a?.childBounds ?? s), Go(t, i, a), a?.scene3d && r.raw(a.scene3d), a?.extLst?.properties && r.raw(a.extLst.properties), r.popDefaultNamespace(), r.end("grpSpPr");
3744
- for (const n of fi(o)) await Si(t, e, n, hi(n));
3748
+ r.start("grpSp"), r.start("nvGrpSpPr"), Li(t, r, n, o, e);
3749
+ const l = Ni(o);
3750
+ l ? (r.start("cNvGrpSpPr"), r.empty("a:grpSpLocks", l), r.end("cNvGrpSpPr")) : r.empty("cNvGrpSpPr"), r.end("nvGrpSpPr"), r.start("grpSpPr"), r.pushDefaultNamespace("a"), Oi(r, s, o, a?.childBounds ?? s), Go(t, i, a), a?.scene3d && r.raw(a.scene3d), a?.extLst?.properties && r.raw(a.extLst.properties), r.popDefaultNamespace(), r.end("grpSpPr");
3751
+ for (const n of hi(o)) await bi(t, e, n, ui(n));
3745
3752
  r.end("grpSp");
3746
- }, Si = async (t, e, n, o) => {
3753
+ }, bi = async (t, e, n, o) => {
3747
3754
  switch (n.content?.type) {
3748
3755
  case "picture": {
3749
3756
  const s = es(t, n.content.json?.resId);
3750
- return s ? gi(t, e, null, n, o, s) : void t.warn(`The picture '${n.content.name ?? ""}' in a group names no image in the workbook; the group is saved without it.`, void 0, "xlsx.drawing.group.picture");
3757
+ return s ? xi(t, e, null, n, o, s) : void t.warn(`The picture '${n.content.name ?? ""}' in a group names no image in the workbook; the group is saved without it.`, void 0, "xlsx.drawing.group.picture");
3751
3758
  }
3752
- case "chart": return yi(t, e, null, n, o);
3753
- case "shape": return bi(t, e, null, n, o);
3754
- case "group": return wi(t, e, null, n, o);
3755
- default: return We(n.content?.type) ? void Vi(t.getXMLWriter(), n, o) : Mi(t, e, n, o);
3759
+ case "chart": return vi(t, e, null, n, o);
3760
+ case "shape": return Ci(t, e, null, n, o);
3761
+ case "group": return Si(t, e, null, n, o);
3762
+ default: return We(n.content?.type) ? void Wi(t.getXMLWriter(), n, o) : Pi(t, e, n, o);
3756
3763
  }
3757
- }, bi = async (t, e, n, o, s) => {
3764
+ }, Ci = async (t, e, n, o, s) => {
3758
3765
  const a = t.getXMLWriter(), i = {}, l = o.content?.json, c = l?.type ?? r.Type.Shape, d = e.getStyles();
3759
- 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"), Di(t, a, n, o, e), Ni(t, a, n, o, e), a.end("nvCxnSpPr"), Pi(t, e, n, o, s), Ai(t, e, n, o), Ua(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"), Di(t, a, n, o, e), Ni(t, a, n, o, e), a.end("nvSpPr"), Pi(t, e, n, o, s), Ai(t, e, n, o), Ua(t, d, l?.text), a.end("sp"));
3760
- }, Ci = async (t, e, n, o) => Mi(t, e, o, n.getBounds()), Ti = "http://schemas.openxmlformats.org/markup-compatibility/2006", ki = "http://schemas.microsoft.com/office/drawing/2010/slicer", Ii = "http://schemas.microsoft.com/office/drawing/2012/timeslicer", Ri = async (t, e, n, o) => {
3766
+ 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"), 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"), Ai(t, e, n, o, s), Di(t, e, n, o), Ga(t, d, l?.text), a.end("sp"));
3767
+ }, Ti = async (t, e, n, o) => Pi(t, e, o, n.getBounds()), ki = "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) => {
3761
3768
  const s = t.getXMLWriter(), r = o.content?.name ?? "", a = Cr(n.getContent()), i = void 0 !== a?.timeline, l = i ? {
3762
- "xmlns:tsle": Ii,
3769
+ "xmlns:tsle": Ri,
3763
3770
  Requires: "tsle"
3764
3771
  } : a ? {
3765
3772
  "xmlns:a14": "http://schemas.microsoft.com/office/drawing/2010/main",
@@ -3768,20 +3775,20 @@ var Ja = [
3768
3775
  "xmlns:sle15": "http://schemas.microsoft.com/office/drawing/2012/slicer",
3769
3776
  Requires: "sle15"
3770
3777
  }, c = i ? "Timeline: Works in Excel 2013 or higher. Do not move or resize." : a ? "This shape represents a slicer. Slicers are supported in Excel 2010 or later.\n\nIf the shape was modified in an earlier version of Excel, or if the workbook was saved in Excel 2003 or earlier, the slicer cannot be used." : "This shape represents a table slicer. Table slicers are not supported in this version of Excel.\n\nIf the shape was modified in an earlier version of Excel, or if the workbook was saved in Excel 2007 or earlier, the slicer can't be used.";
3771
- s.start("mc:AlternateContent", { "xmlns:mc": Ti }), s.start("mc:Choice", l), s.start("graphicFrame", { macro: "" }), s.start("nvGraphicFramePr"), Di(t, s, n, o, e), s.empty("cNvGraphicFramePr"), s.end("nvGraphicFramePr"), s.start("xfrm"), s.empty("a:off", {
3778
+ s.start("mc:AlternateContent", { "xmlns:mc": ki }), s.start("mc:Choice", l), s.start("graphicFrame", { macro: "" }), s.start("nvGraphicFramePr"), Li(t, s, n, o, e), s.empty("cNvGraphicFramePr"), s.end("nvGraphicFramePr"), s.start("xfrm"), s.empty("a:off", {
3772
3779
  x: "0",
3773
3780
  y: "0"
3774
3781
  }), s.empty("a:ext", {
3775
3782
  cx: "0",
3776
3783
  cy: "0"
3777
- }), s.end("xfrm"), s.start("a:graphic"), i ? (s.start("a:graphicData", { uri: Ii }), s.empty("tsle:timeslicer", {
3778
- "xmlns:tsle": Ii,
3784
+ }), s.end("xfrm"), s.start("a:graphic"), i ? (s.start("a:graphicData", { uri: Ri }), s.empty("tsle:timeslicer", {
3785
+ "xmlns:tsle": Ri,
3779
3786
  name: r
3780
- }), s.end("a:graphicData")) : (s.start("a:graphicData", { uri: ki }), s.empty("sle:slicer", {
3781
- "xmlns:sle": ki,
3787
+ }), s.end("a:graphicData")) : (s.start("a:graphicData", { uri: Ii }), s.empty("sle:slicer", {
3788
+ "xmlns:sle": Ii,
3782
3789
  name: r
3783
- }), s.end("a:graphicData")), s.end("a:graphic"), s.end("graphicFrame"), s.end("mc:Choice"), s.start("mc:Fallback"), Fi(s, n.getBounds(), c), s.end("mc:Fallback"), s.end("mc:AlternateContent");
3784
- }, Fi = (t, e, n) => {
3790
+ }), s.end("a:graphicData")), s.end("a:graphic"), s.end("graphicFrame"), s.end("mc:Choice"), s.start("mc:Fallback"), Ei(s, n.getBounds(), c), s.end("mc:Fallback"), s.end("mc:AlternateContent");
3791
+ }, Ei = (t, e, n) => {
3785
3792
  t.start("sp", {
3786
3793
  macro: "",
3787
3794
  textlink: ""
@@ -3801,8 +3808,8 @@ var Ja = [
3801
3808
  lang: "en-US",
3802
3809
  sz: "1100"
3803
3810
  }), t.start("a:t"), t.text(n), t.end("a:t"), t.end("a:r"), t.end("a:p"), t.end("txBody"), t.end("sp");
3804
- }, Ei = async (t, e, n, o) => Mi(t, e, o, n.getBounds()), Mi = async (t, e, n, o) => {
3805
- bi(t, e, null, {
3811
+ }, Mi = async (t, e, n, o) => Pi(t, e, o, n.getBounds()), Pi = async (t, e, n, o) => {
3812
+ Ci(t, e, null, {
3806
3813
  ...n,
3807
3814
  content: {
3808
3815
  type: "shape",
@@ -3821,19 +3828,19 @@ var Ja = [
3821
3828
  }
3822
3829
  }
3823
3830
  }, o);
3824
- }, Pi = (t, e, n, o, s) => {
3831
+ }, Ai = (t, e, n, o, s) => {
3825
3832
  const r = t.getXMLWriter(), a = o.content?.json, i = a?.geometry, l = e.getStyles();
3826
- if (r.start("spPr"), r.pushDefaultNamespace("a"), Bi(r, s, o), "object" == typeof i && i) ((t, e) => {
3833
+ if (r.start("spPr"), r.pushDefaultNamespace("a"), Oi(r, s, o), "object" == typeof i && i) ((t, e) => {
3827
3834
  t.start("custGeom"), t.start("avLst");
3828
- for (const n of e.av ?? []) ri(t, n);
3835
+ for (const n of e.av ?? []) ai(t, n);
3829
3836
  t.end("avLst"), t.start("gdLst");
3830
- for (const n of e.gd ?? []) ri(t, n);
3837
+ for (const n of e.gd ?? []) ai(t, n);
3831
3838
  t.end("gdLst"), t.start("ahLst");
3832
- for (const n of e.ah ?? []) ii(t, n);
3839
+ for (const n of e.ah ?? []) li(t, n);
3833
3840
  t.end("ahLst"), t.start("cxnLst");
3834
3841
  for (const n of Array.isArray(e.cxn) ? e.cxn : []) {
3835
3842
  const e = n.split(" ");
3836
- t.start("cxn", { ang: e[0] }), ai(t, e[1], e[2]), t.end("cxn");
3843
+ t.start("cxn", { ang: e[0] }), ii(t, e[1], e[2]), t.end("cxn");
3837
3844
  }
3838
3845
  if (t.end("cxnLst"), e.rect) {
3839
3846
  const n = e.rect.split(" ");
@@ -3845,7 +3852,7 @@ var Ja = [
3845
3852
  });
3846
3853
  }
3847
3854
  t.start("pathLst");
3848
- for (const n of e.paths) ci(t, n);
3855
+ for (const n of e.paths) di(t, n);
3849
3856
  t.end("pathLst"), t.end("custGeom");
3850
3857
  })(r, i);
3851
3858
  else {
@@ -3863,15 +3870,15 @@ var Ja = [
3863
3870
  r.end("prstGeom");
3864
3871
  }
3865
3872
  Go(t, l, a), a?.scene3d && r.raw(a.scene3d), a?.shape3d && r.raw(a.shape3d), a?.extLst?.properties && r.raw(a.extLst.properties), r.popDefaultNamespace(), r.end("spPr");
3866
- }, Ai = (t, e, n, o) => {
3873
+ }, Di = (t, e, n, o) => {
3867
3874
  const s = t.getXMLWriter(), r = o.content?.json?.style;
3868
3875
  if (null === r) return;
3869
3876
  const a = e.getStyles().getTheme(), i = f.defaultStyleRefs(o.content?.json), l = (t, e) => {
3870
3877
  e && (s.start(t, { idx: String(e.index) }), e.color && Mo(s, a, e.color), s.end(t));
3871
3878
  };
3872
3879
  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");
3873
- }, Di = (t, e, n, o, s) => {
3874
- let r = Li(t, s).assigned.get(o);
3880
+ }, Li = (t, e, n, o, s) => {
3881
+ let r = _i(t, s).assigned.get(o);
3875
3882
  if (void 0 === r) {
3876
3883
  const e = t.getSharedStates();
3877
3884
  let n = e.get("uniqueIdCounter");
@@ -3882,7 +3889,7 @@ var Ja = [
3882
3889
  name: o.content?.name
3883
3890
  };
3884
3891
  o.content?.description && (i.descr = o.content.description), o.hidden && (i.hidden = "1"), a?.title && (i.title = a.title), e.start("cNvPr", i), jo(t, e, "a:hlinkClick", a?.hyperlink), jo(t, e, "a:hlinkHover", a?.hoverHyperlink), a?.extLst?.nonVisual && e.raw(a.extLst.nonVisual), e.end("cNvPr");
3885
- }, Li = (t, e) => {
3892
+ }, _i = (t, e) => {
3886
3893
  const n = t.getSharedStates();
3887
3894
  let o = n.get("drawingIds");
3888
3895
  o || (o = /* @__PURE__ */ new Map(), n.set("drawingIds", o));
@@ -3891,18 +3898,18 @@ var Ja = [
3891
3898
  assigned: /* @__PURE__ */ new Map(),
3892
3899
  bySource: /* @__PURE__ */ new Map()
3893
3900
  }, o.set(e, s)), s;
3894
- }, _i = (t) => {
3901
+ }, Ni = (t) => {
3895
3902
  const e = { ...(t.content?.json)?.locks };
3896
3903
  void 0 !== t.lockAspect && void 0 === e.noChangeAspect && (e.noChangeAspect = t.lockAspect);
3897
3904
  const n = {};
3898
3905
  for (const t of Object.keys(e)) e[t] && (n[t] = "1");
3899
3906
  return Object.keys(n).length > 0 ? n : null;
3900
- }, Ni = (t, e, n, o, s) => {
3901
- const a = o.content?.json, i = _i(o);
3907
+ }, $i = (t, e, n, o, s) => {
3908
+ const a = o.content?.json, i = Ni(o);
3902
3909
  if (a?.type === r.Type.Connector) {
3903
3910
  const n = a.connectorEnds;
3904
3911
  if (!i && !n) return void e.empty("cNvCxnSpPr");
3905
- const o = Li(t, s);
3912
+ const o = _i(t, s);
3906
3913
  e.start("cNvCxnSpPr"), i && e.empty("a:cxnSpLocks", i), n?.start && e.empty("a:stCxn", {
3907
3914
  id: String(o.bySource.get(n.start.id) ?? n.start.id),
3908
3915
  idx: String(n.start.index)
@@ -3914,13 +3921,13 @@ var Ja = [
3914
3921
  }
3915
3922
  const l = { txBox: a?.textBox ? "1" : void 0 };
3916
3923
  i ? (e.start("cNvSpPr", l), e.empty("a:spLocks", i), e.end("cNvSpPr")) : e.empty("cNvSpPr", l);
3917
- }, $i = (t) => {
3924
+ }, Bi = (t) => {
3918
3925
  const e = { ...(t.content?.json)?.locks };
3919
3926
  void 0 !== t.lockAspect ? e.noChangeAspect = t.lockAspect : e.noChangeAspect ??= !0;
3920
3927
  const n = {};
3921
3928
  for (const t of Object.keys(e)) e[t] && (n[t] = "1");
3922
3929
  return n;
3923
- }, Bi = (t, e, n, o) => {
3930
+ }, Oi = (t, e, n, o) => {
3924
3931
  const s = {}, r = n.rotation;
3925
3932
  void 0 !== r && 0 !== r && (s.rot = "" + ds(r)), n.flipH && (s.flipH = "1"), n.flipV && (s.flipV = "1"), t.start("xfrm", s), t.empty("off", {
3926
3933
  x: cs(e.x),
@@ -3935,13 +3942,13 @@ var Ja = [
3935
3942
  cx: cs(o.width),
3936
3943
  cy: cs(o.height)
3937
3944
  })), t.end("xfrm");
3938
- }, Oi = (t, e, n) => {
3939
- t.start(e), t.start("col"), t.text(n.c ?? 0), t.end("col"), t.start("colOff"), t.text(cs(n.x)), t.end("colOff"), t.start("row"), t.text(n.r ?? 0), t.end("row"), t.start("rowOff"), t.text(cs(n.y)), t.end("rowOff"), t.end(e);
3940
3945
  }, Vi = (t, e, n) => {
3946
+ t.start(e), t.start("col"), t.text(n.c ?? 0), t.end("col"), t.start("colOff"), t.text(cs(n.x)), t.end("colOff"), t.start("row"), t.text(n.r ?? 0), t.end("row"), t.start("rowOff"), t.text(cs(n.y)), t.end("rowOff"), t.end(e);
3947
+ }, Wi = (t, e, n) => {
3941
3948
  const o = e.content.json;
3942
3949
  if (t.start("mc:AlternateContent", Me), t.start("mc:Choice", Q), n) return t.raw(fe(e.content.type, o, e.content?.name, n)), t.end("mc:Choice"), t.empty("mc:Fallback"), void t.end("mc:AlternateContent");
3943
- t.start("twoCellAnchor", { editAs: e.anchorType || "twoCell" }), Oi(t, "from", e.anchor.tl), Oi(t, "to", e.anchor.br), t.raw(fe(e.content.type, o, e.content?.name)), t.empty("clientData", { fPrintsWithSheet: "0" }), t.end("twoCellAnchor"), t.end("mc:Choice"), t.empty("mc:Fallback"), t.end("mc:AlternateContent");
3944
- }, Wi = async (t, e, n) => {
3950
+ t.start("twoCellAnchor", { editAs: e.anchorType || "twoCell" }), Vi(t, "from", e.anchor.tl), Vi(t, "to", e.anchor.br), t.raw(fe(e.content.type, o, e.content?.name)), t.empty("clientData", { fPrintsWithSheet: "0" }), t.end("twoCellAnchor"), t.end("mc:Choice"), t.empty("mc:Fallback"), t.end("mc:AlternateContent");
3951
+ }, zi = async (t, e, n) => {
3945
3952
  const o = await n.getExternalURI();
3946
3953
  if (o) return void t.addExternal(Yo, o);
3947
3954
  const s = t.getSharedStates();
@@ -3959,16 +3966,16 @@ var Ja = [
3959
3966
  const i = t.addBinary(a.bytes, a.type.mime, Yo, `../media/image${a.index}.${a.type.ext}`, !0, e);
3960
3967
  i.relId !== e && t.log(`Legacy drawing image '${e}' was written as '${i.relId}'; the markup will not find it.`);
3961
3968
  };
3962
- function zi(t) {
3969
+ function ji(t) {
3963
3970
  return t.toISOString().substring(0, 22);
3964
3971
  }
3965
- function ji(t, e, n, o, s, r, a, i, l) {
3972
+ function Xi(t, e, n, o, s, r, a, i, l) {
3966
3973
  const c = {
3967
3974
  ref: e,
3968
- dT: zi(s ?? /* @__PURE__ */ new Date()),
3969
- personId: o ? Xi(o) : void 0,
3970
- id: Xi(n),
3971
- parentId: a ? Xi(a) : void 0,
3975
+ dT: ji(s ?? /* @__PURE__ */ new Date()),
3976
+ personId: o ? Hi(o) : void 0,
3977
+ id: Hi(n),
3978
+ parentId: a ? Hi(a) : void 0,
3972
3979
  done: i ? "1" : void 0
3973
3980
  };
3974
3981
  if (t.start("threadedComment", c), t.start("text", ke.test(r) || /[\n\r]/.test(r) ? Fe : void 0), t.text(r), t.end("text"), l && l.length > 0) {
@@ -3976,8 +3983,8 @@ function ji(t, e, n, o, s, r, a, i, l) {
3976
3983
  for (let e = 0; e < l.length; e++) {
3977
3984
  const n = l[e];
3978
3985
  t.empty("mention", {
3979
- mentionpersonId: Xi(n.personId),
3980
- mentionId: Xi(n.id),
3986
+ mentionpersonId: Hi(n.personId),
3987
+ mentionId: Hi(n.id),
3981
3988
  startIndex: n.startIndex ?? 0,
3982
3989
  length: n.length ?? 0
3983
3990
  });
@@ -3986,17 +3993,17 @@ function ji(t, e, n, o, s, r, a, i, l) {
3986
3993
  }
3987
3994
  t.end("threadedComment");
3988
3995
  }
3989
- function Xi(t) {
3996
+ function Hi(t) {
3990
3997
  return `{${t.replace(/^\{|\}$/g, "").toUpperCase()}}`;
3991
3998
  }
3992
- var Hi = {
3999
+ var Ui = {
3993
4000
  rowIndex: 0,
3994
4001
  colIndex: 0
3995
4002
  };
3996
- function Ui(t, e, n, o) {
4003
+ function Gi(t, e, n, o) {
3997
4004
  if (null == o) return;
3998
- Hi.rowIndex = e, Hi.colIndex = n;
3999
- const s = R.cellToString(Hi);
4005
+ Ui.rowIndex = e, Ui.colIndex = n;
4006
+ const s = E.cellToString(Ui);
4000
4007
  let r, a;
4001
4008
  switch (typeof o) {
4002
4009
  case "number":
@@ -4019,7 +4026,7 @@ function Ui(t, e, n, o) {
4019
4026
  t: r
4020
4027
  } : { r: s }), t.start("v"), t.text(a), t.end("v"), t.end("cell");
4021
4028
  }
4022
- var Gi = [
4029
+ var qi = [
4023
4030
  new class extends bn {
4024
4031
  constructor() {
4025
4032
  super({
@@ -4060,7 +4067,7 @@ var Gi = [
4060
4067
  ...t.styles,
4061
4068
  direct: a.list
4062
4069
  }), n.setXfComplements(a.complements), s;
4063
- }(s, t.getSheets({ visibility: k.Visibility.VeryHidden }), r, (t, n) => {
4070
+ }(s, t.getSheets({ visibility: R.Visibility.VeryHidden }), r, (t, n) => {
4064
4071
  e.warn(t, void 0, n);
4065
4072
  });
4066
4073
  e.getSharedStates().set(pt, mt(s.names, function(t) {
@@ -4105,7 +4112,7 @@ var Gi = [
4105
4112
  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));
4106
4113
  const i = o.getTabRatio();
4107
4114
  600 !== i && (s.tabRatio = i);
4108
- const l = Math.min(o.getFirstTab(), n.getSheets({ visibility: k.Visibility.VeryHidden }).length - 1);
4115
+ const l = Math.min(o.getFirstTab(), n.getSheets({ visibility: R.Visibility.VeryHidden }).length - 1);
4109
4116
  l > 0 && (s.firstSheet = "" + l);
4110
4117
  const c = n.getSelectedSheet().getIndex();
4111
4118
  0 !== c && (s.activeTab = "" + c), o.isAutoFilterDateGrouping() || (s.autoFilterDateGrouping = "0"), e.empty("workbookView", s), e.end("bookViews");
@@ -4161,7 +4168,7 @@ var Gi = [
4161
4168
  }
4162
4169
  return s;
4163
4170
  })(e, s.pivotCaches, !0 === s.date1904, ((t) => {
4164
- const e = /* @__PURE__ */ new Set(), n = t.getWorksheets().getItems({ visibility: k.Visibility.VeryHidden });
4171
+ const e = /* @__PURE__ */ new Set(), n = t.getWorksheets().getItems({ visibility: R.Visibility.VeryHidden });
4165
4172
  for (let t = 0; t < n.length; t++) {
4166
4173
  const o = kr(n[t]);
4167
4174
  for (let t = 0; t < o.length; t++) {
@@ -4187,7 +4194,7 @@ var Gi = [
4187
4194
  cacheNames: []
4188
4195
  };
4189
4196
  try {
4190
- const o = t.getSheets({ visibility: k.Visibility.VeryHidden }), i = s.sheets, d = t.getSelectedSheet(), m = o.length, f = ((t, e) => {
4197
+ const o = t.getSheets({ visibility: R.Visibility.VeryHidden }), i = s.sheets, d = t.getSelectedSheet(), m = o.length, f = ((t, e) => {
4191
4198
  const n = new Array(e), o = /* @__PURE__ */ new Set();
4192
4199
  let s = 1;
4193
4200
  for (let r = 0; r < e; r++) {
@@ -4255,7 +4262,7 @@ var Gi = [
4255
4262
  pivot: [],
4256
4263
  timeline: [],
4257
4264
  cacheNames: []
4258
- }, o = pr(t), s = e.getWorksheets().getItems({ visibility: k.Visibility.VeryHidden });
4265
+ }, o = pr(t), s = e.getWorksheets().getItems({ visibility: R.Visibility.VeryHidden });
4259
4266
  for (let e = 0; e < s.length; e++) {
4260
4267
  const r = kr(s[e]);
4261
4268
  for (let e = 0; e < r.length; e++) {
@@ -4327,7 +4334,7 @@ var Gi = [
4327
4334
  }(e, n, s), function(t, e, n, o, s) {
4328
4335
  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()));
4329
4336
  if (0 === i && 0 === c.length) return;
4330
- const d = /* @__PURE__ */ new Map(), m = n.getSheets({ visibility: k.Visibility.VeryHidden });
4337
+ const d = /* @__PURE__ */ new Map(), m = n.getSheets({ visibility: R.Visibility.VeryHidden });
4331
4338
  for (let t = 0; t < m.length; t++) d.set(m[t].getName().toLowerCase(), t);
4332
4339
  e.start("definedNames");
4333
4340
  for (let n = 0; n < i; n++) {
@@ -4497,7 +4504,7 @@ var Gi = [
4497
4504
  rowEnd: a.rowEnd
4498
4505
  }).getAddress()}`), e.empty("dimension", { ref: f });
4499
4506
  }(0, s, r, a), function(t, e, n, o, s) {
4500
- const r = n.getView(), a = r.getTopLeft(), i = n.getRowHeaders().getMetrics().getIndex(a.top), l = n.getColumnHeaders().getMetrics().getIndex(a.left), c = R.cellToString({
4507
+ const r = n.getView(), a = r.getTopLeft(), i = n.getRowHeaders().getMetrics().getIndex(a.top), l = n.getColumnHeaders().getMetrics().getIndex(a.left), c = E.cellToString({
4501
4508
  colIndex: l,
4502
4509
  rowIndex: i
4503
4510
  });
@@ -4505,7 +4512,7 @@ var Gi = [
4505
4512
  const d = {};
4506
4513
  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");
4507
4514
  const m = r.getViewMode();
4508
- m !== F.ViewMode.Normal && (d.view = m);
4515
+ m !== S.ViewMode.Normal && (d.view = m);
4509
4516
  const p = r.getZoomScale();
4510
4517
  100 !== p && (d.zoomScale = p);
4511
4518
  const f = r.toJSON(), h = f?.zoomScales ?? {};
@@ -4526,17 +4533,17 @@ var Gi = [
4526
4533
  d.colorId = "" + i;
4527
4534
  }
4528
4535
  d.workbookViewId = "0";
4529
- const g = n.getSelection().getCoords(), x = R.cellToString(g.cell);
4536
+ const g = n.getSelection().getCoords(), x = E.cellToString(g.cell);
4530
4537
  let y = {};
4531
- const v = r.getFreezePanes(), w = v.coords ?? {}, S = w.colIndex ?? 0, b = w.rowIndex ?? 0;
4532
- if (S > 0 || b > 0) {
4533
- 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 = R.cellToString({
4538
+ const v = r.getFreezePanes(), w = v.coords ?? {}, b = w.colIndex ?? 0, C = w.rowIndex ?? 0;
4539
+ if (b > 0 || C > 0) {
4540
+ 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 = b - i, c = C - r, m = Math.max(b, n.getColumnHeaders().getMetrics().getIndex(a.left + n.getColumnHeaders().getMetrics().getOffset(b) - s)), p = Math.max(C, n.getRowHeaders().getMetrics().getIndex(a.top + n.getRowHeaders().getMetrics().getOffset(C) - o)), f = E.cellToString({
4534
4541
  colIndex: i,
4535
4542
  rowIndex: r
4536
4543
  });
4537
4544
  "A1" !== f ? d.topLeftCell = f : delete d.topLeftCell, e.start("sheetView", d);
4538
4545
  const h = {};
4539
- l > 0 && (h.xSplit = l), c > 0 && (h.ySplit = c), h.topLeftCell = R.cellToString({
4546
+ l > 0 && (h.xSplit = l), c > 0 && (h.ySplit = c), h.topLeftCell = E.cellToString({
4540
4547
  colIndex: m,
4541
4548
  rowIndex: p
4542
4549
  }), h.state = "frozen";
@@ -4550,27 +4557,27 @@ var Gi = [
4550
4557
  sqref: s?.sqref ?? r
4551
4558
  });
4552
4559
  };
4553
- 0 === S ? (h.activePane = "bottomLeft", e.empty("pane", h), g("topLeft", R.cellToString({
4560
+ 0 === b ? (h.activePane = "bottomLeft", e.empty("pane", h), g("topLeft", E.cellToString({
4554
4561
  colIndex: m,
4555
4562
  rowIndex: r
4556
- }), !1), y.pane = "bottomLeft") : 0 === b ? (h.activePane = "topRight", e.empty("pane", h), g("topLeft", R.cellToString({
4563
+ }), !1), y.pane = "bottomLeft") : 0 === C ? (h.activePane = "topRight", e.empty("pane", h), g("topLeft", E.cellToString({
4557
4564
  colIndex: i,
4558
4565
  rowIndex: p
4559
- }), !1), y.pane = "topRight") : (h.activePane = "bottomRight", e.empty("pane", h), g("topLeft", f, !1), g("topRight", R.cellToString({
4566
+ }), !1), y.pane = "topRight") : (h.activePane = "bottomRight", e.empty("pane", h), g("topLeft", f, !1), g("topRight", E.cellToString({
4560
4567
  colIndex: m,
4561
4568
  rowIndex: r
4562
- }), !0), g("bottomLeft", R.cellToString({
4569
+ }), !0), g("bottomLeft", E.cellToString({
4563
4570
  colIndex: i,
4564
4571
  rowIndex: p
4565
4572
  }), !0), y.pane = "bottomRight");
4566
4573
  } else e.start("sheetView", d);
4567
4574
  y.activeCell = x;
4568
- const C = g.ranges, T = C ? C.length : 0;
4569
- if (T > 0) {
4575
+ const T = g.ranges, k = T ? T.length : 0;
4576
+ if (k > 0) {
4570
4577
  let t = "";
4571
- for (let e = 0; e < T; e++) {
4572
- const n = C[e];
4573
- e > 0 && (t += " "), t += R.rangeToString(n);
4578
+ for (let e = 0; e < k; e++) {
4579
+ const n = T[e];
4580
+ e > 0 && (t += " "), t += E.rangeToString(n);
4574
4581
  }
4575
4582
  y.sqref = t, (g.rangeIndex ?? 0) > 0 && (y.activeCellId = "" + g.rangeIndex);
4576
4583
  } else "A1" === x ? y = null : y.sqref = x;
@@ -4586,7 +4593,7 @@ var Gi = [
4586
4593
  thickBottom: s,
4587
4594
  run: n
4588
4595
  };
4589
- }, s = t.defaultRowSize ?? e, r = t.rows ? R.refsToRuns(t.rows, !1) : null;
4596
+ }, s = t.defaultRowSize ?? e, r = t.rows ? E.refsToRuns(t.rows, !1) : null;
4590
4597
  let a = null, i = 0;
4591
4598
  const l = r ? r.length : 0;
4592
4599
  for (let t = 0; t < l; t++) {
@@ -4597,7 +4604,7 @@ var Gi = [
4597
4604
  })(a, .75 * r.getStyles().getNormal().getBestFit().height, r.getEntireRange().getRowEnd() + 1);
4598
4605
  (function(t, e, n, o, s) {
4599
4606
  const r = o.defaultColSize, a = o.defaultRowSize, i = {};
4600
- 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(R.refsToRuns(o.rows, !1)) && (i.zeroHeight = "1"), s?.thickTop && (i.thickTop = "1"), s?.thickBottom && (i.thickBottom = "1");
4607
+ 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(E.refsToRuns(o.rows, !1)) && (i.zeroHeight = "1"), s?.thickTop && (i.thickTop = "1"), s?.thickBottom && (i.thickBottom = "1");
4601
4608
  const l = n.getOutline(), c = l.getLevelCount(v.Axis.Row);
4602
4609
  c > 0 && (i.outlineLevelRow = c);
4603
4610
  const d = l.getLevelCount(v.Axis.Column);
@@ -4605,7 +4612,7 @@ var Gi = [
4605
4612
  })(0, s, r, a, c);
4606
4613
  const d = !1 === a.protection?.showFormulas ? e.getSharedStates().get("xfVariants") ?? null : null;
4607
4614
  (function(t, e, n, o, s) {
4608
- const r = o.cols ? R.refsToRuns(o.cols, !0) : null, a = r ? r.length : 0;
4615
+ const r = o.cols ? E.refsToRuns(o.cols, !0) : null, a = r ? r.length : 0;
4609
4616
  n.getEntireRange().getColumnEnd();
4610
4617
  const i = n.getColumnHeaders().getDefaultSizeNative(), l = s ? s.getXf(0, !0, !1) : 0;
4611
4618
  let c = 1;
@@ -4641,8 +4648,8 @@ var Gi = [
4641
4648
  for (const n of t.pivotTables ?? []) {
4642
4649
  const t = n.buttons?.length ? te(n) : null;
4643
4650
  if (t) for (const o of n.buttons) {
4644
- const n = R.fastStringToRange(o);
4645
- 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) * Ia + t.colStart + s);
4651
+ const n = E.fastStringToRange(o);
4652
+ 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);
4646
4653
  }
4647
4654
  }
4648
4655
  return e;
@@ -4653,15 +4660,15 @@ var Gi = [
4653
4660
  o && (e ??= []).push({
4654
4661
  table: n,
4655
4662
  coords: o,
4656
- formats: t?.header ? P(t) : null
4663
+ formats: t?.header ? F(t) : null
4657
4664
  });
4658
4665
  }
4659
4666
  return e;
4660
4667
  }(n);
4661
4668
  let g = 0, y = 0;
4662
4669
  const S = n.getUsedRange();
4663
- let C = 0;
4664
- const T = l?.run, k = s.rows ? R.refsToRuns(s.rows, !1) : null, I = s.defaultRowSize ?? .75 * n.getStyles().getNormal().getBestFit().height, F = k && T ? ((t, e, n, o) => {
4670
+ let b = 0;
4671
+ const T = l?.run, k = s.rows ? E.refsToRuns(s.rows, !1) : null, I = s.defaultRowSize ?? .75 * n.getStyles().getNormal().getBestFit().height, R = k && T ? ((t, e, n, o) => {
4665
4672
  const s = [];
4666
4673
  let r = 0;
4667
4674
  const a = (t, e) => {
@@ -4676,22 +4683,22 @@ var Gi = [
4676
4683
  a(r, o.min - 1), r = o.max + 1, o.min === e.min && o.max === e.max || s.push(o);
4677
4684
  }
4678
4685
  return a(r, o - 1), s;
4679
- })(k, T, I, n.getEntireRange().getRowEnd() + 1) : k, E = F ? F.length : 0, A = ra(F), L = null !== A ? A - 1 : F?.[E - 1]?.max ?? -1, _ = s.cols ? R.refsToRuns(s.cols, !0) : null, N = _ ? _.length : 0, $ = _?.[N - 1]?.max ?? -1;
4680
- if (S || E > 0) {
4686
+ })(k, T, I, n.getEntireRange().getRowEnd() + 1) : k, M = R ? R.length : 0, P = ra(R), L = null !== P ? P - 1 : R?.[M - 1]?.max ?? -1, _ = s.cols ? E.refsToRuns(s.cols, !0) : null, N = _ ? _.length : 0, $ = _?.[N - 1]?.max ?? -1;
4687
+ if (S || M > 0) {
4681
4688
  const c = .75, S = s.defaultRowSize ?? n.getRowHeaders().getMetrics().getDefaultSize() * c, T = n.getStyles().getNormal().getBestFit().height * c, k = sa(n.getOutline(), v.Axis.Row), I = (t, e) => {
4682
- const n = Ea;
4689
+ const n = Ma;
4683
4690
  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;
4684
4691
  const o = e.value;
4685
4692
  void 0 !== o.s && (n.s = "" + (a ? a.getXf(o.s, !0, !1) : o.s), n.customFormat = "1"), o.h && (n.hidden = "1");
4686
4693
  const s = o.csz ?? !1, r = o.sz ?? S;
4687
4694
  return (r !== (l?.height ?? T) || s) && (n.ht = "" + r), s && (n.customHeight = "1"), o.l && (n.outlineLevel = "" + o.l), k.has(t) && (n.collapsed = "1"), o.tt && (n.thickTop = "1"), o.tb && (n.thickBot = "1"), n;
4688
4695
  };
4689
- let E = 0, P = F?.[E] ?? null, N = P?.min ?? Number.MAX_SAFE_INTEGER, B = P?.max ?? Number.MAX_SAFE_INTEGER, O = P?.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;
4696
+ let F = 0, M = R?.[F] ?? 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;
4690
4697
  const U = (t, n = !1) => {
4691
4698
  if (V !== t) {
4692
4699
  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;) {
4693
- V++, P && V > B && (P = F[++E] ?? null, P ? (N = P.min, B = P.max, O = P.value?.s) : (N = Number.MAX_SAFE_INTEGER, B = Number.MAX_SAFE_INTEGER, O = void 0)), V < N && V < t && null === A && (V = P ? Math.min(N, t) : t), null !== A && V >= A && V < t && (V = t);
4694
- const o = V < t || n && V === t, s = I(V, P && V >= N && V <= B ? P : null);
4700
+ V++, M && V > B && (M = R[++F] ?? 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);
4701
+ const o = V < t || n && V === t, s = I(V, M && V >= N && V <= B ? M : null);
4695
4702
  o ? e.empty("row", s) : e.start("row", s);
4696
4703
  }
4697
4704
  if (t < V) {
@@ -4750,17 +4757,17 @@ var Gi = [
4750
4757
  rowIndex: u.rowStart,
4751
4758
  colIndex: u.colStart
4752
4759
  }, 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;
4753
- let b = S ? D.imager(S, { entireCoords: d }) : null;
4754
- if (b) g = b(y);
4760
+ let C = S ? A.imager(S, { entireCoords: d }) : null;
4761
+ if (C) g = C(y);
4755
4762
  else if (!o.isSingleCell(u)) {
4756
4763
  const t = [];
4757
- R.normalizeA1ToR1C1(g, y.rowIndex, y.colIndex, t), b = (e) => {
4764
+ E.normalizeA1ToR1C1(g, y.rowIndex, y.colIndex, t), C = (e) => {
4758
4765
  const n = e ?? y;
4759
- return R.resolveRelativeToA1(t, n.rowIndex, n.colIndex);
4766
+ return E.resolveRelativeToA1(t, n.rowIndex, n.colIndex);
4760
4767
  };
4761
4768
  }
4762
4769
  if (g.length > 8192) {
4763
- t.warn(`The formula at '${n.getName()}'!${R.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");
4770
+ t.warn(`The formula at '${n.getName()}'!${E.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");
4764
4771
  continue;
4765
4772
  }
4766
4773
  let T = !0 === w?.cm;
@@ -4778,7 +4785,7 @@ var Gi = [
4778
4785
  coords: o,
4779
4786
  formula: n,
4780
4787
  sharedId: null,
4781
- ref: R.rangeToString(o),
4788
+ ref: E.rangeToString(o),
4782
4789
  isDynamicRange: !1,
4783
4790
  isWrapped: !0
4784
4791
  }]);
@@ -4791,7 +4798,7 @@ var Gi = [
4791
4798
  t(r, a, o), s = !0;
4792
4799
  continue;
4793
4800
  }
4794
- const i = n.getRange(R.rangeToString({
4801
+ const i = n.getRange(E.rangeToString({
4795
4802
  rowStart: r,
4796
4803
  colStart: a,
4797
4804
  rowEnd: r,
@@ -4800,23 +4807,23 @@ var Gi = [
4800
4807
  null !== l && t(r, a, l);
4801
4808
  }
4802
4809
  } else m.forEach((e, n) => {
4803
- const o = n.getCoords(), r = b?.(o) ?? g, a = se(r, n.getCell().getValue());
4810
+ const o = n.getCoords(), r = C?.(o) ?? g, a = se(r, n.getCell().getValue());
4804
4811
  null !== a && (t(o.rowIndex, o.colIndex, a), s = !0);
4805
4812
  }, { includeEmpty: !0 });
4806
4813
  if (s) continue;
4807
4814
  }
4808
4815
  const I = -1 !== g.indexOf("!") || -1 !== g.indexOf("[");
4809
- T || m.isSingleCell() || I || l(u) || (x = "" + C++);
4810
- const F = null !== x || m.isSingleCell() ? null : b, E = [u, {
4816
+ T || m.isSingleCell() || I || l(u) || (x = "" + b++);
4817
+ const R = null !== x || m.isSingleCell() ? null : C, F = [u, {
4811
4818
  coords: u,
4812
4819
  formula: g,
4813
4820
  sharedId: x,
4814
4821
  ref: e,
4815
4822
  isDynamicRange: T,
4816
4823
  isExcelVolatile: k,
4817
- memberImage: F
4824
+ memberImage: R
4818
4825
  }];
4819
- h.push(E);
4826
+ h.push(F);
4820
4827
  } catch (e) {
4821
4828
  t.log(`Could not write the formula '${i[1]}' over '${i[0]}'; those cells are written as values only. ${e}`);
4822
4829
  continue;
@@ -4871,13 +4878,13 @@ var Gi = [
4871
4878
  const v = o.getType();
4872
4879
  let S = null;
4873
4880
  J > 0 && (S = o.getInjectedReference(1) ?? null);
4874
- let C = !1;
4875
- Z > 0 && (C = o.getInjectedReference(2) ?? !1);
4881
+ let b = !1;
4882
+ Z > 0 && (b = o.getInjectedReference(2) ?? !1);
4876
4883
  let T = null;
4877
4884
  tt > 0 && (T = o.getInjectedReference(3) ?? null);
4878
- const k = "error" === T?.kind, I = "fixed" === T?.kind, R = Fa;
4885
+ const k = "error" === T?.kind, I = "fixed" === T?.kind, R = Ea;
4879
4886
  R.r = o.getAddress(), R.s = void 0, R.t = void 0, R.cm = void 0, R.vm = void 0;
4880
- const F = null !== h && h.has(r * Ia + l), E = null !== u ? function(t, e, n) {
4887
+ const F = null !== h && h.has(r * Ra + l), E = null !== u ? function(t, e, n) {
4881
4888
  for (const { table: o, coords: s, formats: r } of t) {
4882
4889
  if (e < s.rowStart || e > s.rowEnd || n < s.colStart || n > s.colEnd) continue;
4883
4890
  const t = o.getStyleAt(e, n), a = t.getAlignment(), i = "left" === a.getHorizontal() ? a.getIndent() : null, l = t.getNumberFormat(), c = l && "General" !== l ? l : null, d = r?.formatAt(e - s.rowStart, n - s.colStart).user ?? null;
@@ -4890,29 +4897,29 @@ var Gi = [
4890
4897
  return null;
4891
4898
  }(u, r, l) : null;
4892
4899
  (a || F || null !== E) && (c = f.getXf(c ?? 0, null !== a, F, E?.labelIndent ?? null, E?.numberFormat ?? null, E?.user ?? null)), void 0 !== c && 0 !== c && (R.s = "" + c);
4893
- const P = K.length > 0 ? o.getInjectedReference(4) ?? null : null;
4894
- let A = null, D = null;
4900
+ const M = K.length > 0 ? o.getInjectedReference(4) ?? null : null;
4901
+ let P = null, A = null;
4895
4902
  switch (v) {
4896
4903
  case x.Boolean:
4897
- A = n ? "1" : "0", D = "b";
4904
+ P = n ? "1" : "0", A = "b";
4898
4905
  break;
4899
4906
  case x.Error:
4900
4907
  const t = n.getCode();
4901
- if (D = "e", t > 7) A = w.BuiltIn.Value.getLabel(), R.vm = "" + p.add(n);
4908
+ if (A = "e", t > 7) P = w.BuiltIn.Value.getLabel(), R.vm = "" + p.add(n);
4902
4909
  else if (t < 1) {
4903
4910
  let t;
4904
- D = "s", S ? (t = "=" + S.formula, S = null) : t = "" + n.getLabel(), A = "" + d.add(t), g++;
4905
- } else A = "" + n.getLabel();
4911
+ A = "s", S ? (t = "=" + S.formula, S = null) : t = "" + n.getLabel(), P = "" + d.add(t), g++;
4912
+ } else P = "" + n.getLabel();
4906
4913
  break;
4907
4914
  case x.Number:
4908
- A = ot(n), D = null;
4915
+ P = ot(n), A = null;
4909
4916
  break;
4910
4917
  case x.String:
4911
- A = n, S || P ? (D = "str", A = n) : (D = "s", A = "" + d.add(A), g++);
4918
+ P = n, S || M ? (A = "str", P = n) : (A = "s", P = "" + d.add(P), g++);
4912
4919
  break;
4913
4920
  case x.RichData:
4914
- if (n instanceof b) {
4915
- S || P ? (D = "str", A = n.getText()) : (D = "s", A = "" + d.add(function(t, e, n) {
4921
+ if (n instanceof C) {
4922
+ S || M ? (A = "str", P = n.getText()) : (A = "s", P = "" + d.add(function(t, e, n) {
4916
4923
  const o = t.getRuns(), s = e.getCell().getRichText();
4917
4924
  if (!s) return t.getText();
4918
4925
  const r = new Array(o.length);
@@ -4929,20 +4936,20 @@ var Gi = [
4929
4936
  }
4930
4937
  const a = JSON.stringify(r);
4931
4938
  let l = n.get(a);
4932
- return void 0 === l && (l = new b(r), n.set(a, l)), l;
4939
+ return void 0 === l && (l = new C(r), n.set(a, l)), l;
4933
4940
  }(n, o, et)), g++);
4934
4941
  break;
4935
4942
  }
4936
- if (n instanceof M) {
4943
+ if (n instanceof D) {
4937
4944
  const t = n.toPrimitive();
4938
- "number" == typeof t ? A = ot(t) : "boolean" == typeof t ? (D = "b", A = t ? "1" : "0") : S || P ? (D = "str", A = t) : (D = "s", A = "" + d.add(t), g++);
4945
+ "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++);
4939
4946
  break;
4940
4947
  }
4941
- D = "e", A = w.BuiltIn.Value.getLabel(), R.vm = "" + p.add(n, S?.formula ?? (P ? "" : null));
4948
+ A = "e", P = w.BuiltIn.Value.getLabel(), R.vm = "" + p.add(n, S?.formula ?? (M ? "" : null));
4942
4949
  }
4943
- D && (R.t = D);
4950
+ A && (R.t = A);
4944
4951
  const L = !S?.isWrapped && (null !== T || (S?.isDynamicRange ?? !1));
4945
- if (null !== S || null !== A || null !== P) {
4952
+ if (null !== S || null !== P || null !== M) {
4946
4953
  if (L && null !== S && !I && (R.cm = "" + m.registerArrayCell(k)), e.start("c", R), S) {
4947
4954
  const t = r === S.coords.rowStart && l === S.coords.colStart;
4948
4955
  let n = S.formula;
@@ -4953,16 +4960,16 @@ var Gi = [
4953
4960
  let o, s = null;
4954
4961
  const a = S.sharedId;
4955
4962
  if (a) {
4956
- o = Pa;
4963
+ o = Aa;
4957
4964
  const t = S.coords;
4958
4965
  t.colStart === l && t.rowStart === r ? (o.ref = S.ref, o.si = a, s = S.formula) : (o.ref = void 0, o.si = a);
4959
- } else L ? (o = Aa, o.aca = k ? "1" : void 0, o.ref = k ? R.r : T?.ref ?? R.r, s = n) : (o = Ma, s = n);
4960
- o.ca = C || k || S.isExcelVolatile ? "1" : void 0, s ? (e.start("f", o), e.text(s), e.end("f")) : e.empty("f", o);
4961
- } else P && e.empty("f", C ? {
4962
- ...P,
4966
+ } else L ? (o = Da, o.aca = k ? "1" : void 0, o.ref = k ? R.r : T?.ref ?? R.r, s = n) : (o = Pa, s = n);
4967
+ o.ca = b || k || S.isExcelVolatile ? "1" : void 0, s ? (e.start("f", o), e.text(s), e.end("f")) : e.empty("f", o);
4968
+ } else M && e.empty("f", b ? {
4969
+ ...M,
4963
4970
  ca: "1"
4964
- } : P);
4965
- null !== A && ("str" === D && A ? (e.start("v", ke.test(A) ? Fe : void 0), e.text(ie(A))) : (e.start("v"), A && e.text(A)), e.end("v")), e.end("c");
4971
+ } : M);
4972
+ null !== P && ("str" === A && P ? (e.start("v", ke.test(P) ? Fe : void 0), e.text(ie(P))) : (e.start("v"), P && e.text(P)), e.end("v")), e.end("c");
4966
4973
  } else y++ < aa ? e.empty("c", R) : 1048577 === y && t.warn(`Reached ${aa} style-only cells at '${R.r}'; not writing the rest.`);
4967
4974
  }, {
4968
4975
  injectReferences: G,
@@ -4980,7 +4987,7 @@ var Gi = [
4980
4987
  for (let t = 0; t < n; t++) {
4981
4988
  s[t] = null;
4982
4989
  try {
4983
- const n = D.parse(e[t][1]);
4990
+ const n = A.parse(e[t][1]);
4984
4991
  if (!n) continue;
4985
4992
  let r = null;
4986
4993
  const a = (t) => {
@@ -5023,7 +5030,7 @@ var Gi = [
5023
5030
  const n = s[e];
5024
5031
  let o, r;
5025
5032
  Array.isArray(n) ? (o = n[0], r = n[1]) : (o = n.r, r = n.v);
5026
- const i = ua(o);
5033
+ const i = ga(o);
5027
5034
  if (!i || !r) {
5028
5035
  t.log("Skipping protectedRange with no range.");
5029
5036
  continue;
@@ -5052,7 +5059,7 @@ var Gi = [
5052
5059
  if (s > 0) {
5053
5060
  e.start("mergeCells", { count: s });
5054
5061
  for (let t = 0; t < s; t++) {
5055
- const n = o.merges[t], s = "string" == typeof n ? n : R.rangeToString(n);
5062
+ const n = o.merges[t], s = "string" == typeof n ? n : E.rangeToString(n);
5056
5063
  e.empty("mergeCell", { ref: s });
5057
5064
  }
5058
5065
  e.end("mergeCells");
@@ -5070,26 +5077,26 @@ var Gi = [
5070
5077
  const s = i[o];
5071
5078
  let r, l;
5072
5079
  Array.isArray(s) ? (r = s[0], l = s[1]) : (r = s.r, l = s.v);
5073
- const c = ua(r);
5080
+ const c = ga(r);
5074
5081
  if (!c || !l) {
5075
5082
  t.log("Skipping conditionalFormatting with no range.");
5076
5083
  continue;
5077
5084
  }
5078
- const g = va(c), x = Sa(l.scale, g, p);
5085
+ const g = wa(c), x = ba(l.scale, g, p);
5079
5086
  x !== l.scale && (l = {
5080
5087
  ...l,
5081
5088
  scale: x
5082
5089
  });
5083
- const y = x ? { type: x.type } : vt(l.condition, ha(c), (e, n) => t.warn(e, void 0, n));
5084
- y ? (y.formulas && (y.formulas = y.formulas.map((t) => wa(t, g, p))), x?.type === I.ScaleType.IconSet && pa(x) ? (h++, u(l), a.push({
5090
+ const y = x ? { type: x.type } : vt(l.condition, ua(c), (e, n) => t.warn(e, void 0, n));
5091
+ y ? (y.formulas && (y.formulas = y.formulas.map((t) => Sa(t, g, p))), x?.type === I.ScaleType.IconSet && pa(x) ? (h++, u(l), a.push({
5085
5092
  guid: Pt(n.uuidV4),
5086
5093
  sqref: c,
5087
5094
  priority: h,
5088
5095
  scale: x
5089
- })) : x || !ya(y) ? (c !== f && (null !== f && e.end("conditionalFormatting"), e.start("conditionalFormatting", {
5096
+ })) : x || !va(y) ? (c !== f && (null !== f && e.end("conditionalFormatting"), e.start("conditionalFormatting", {
5090
5097
  sqref: c,
5091
5098
  pivot: "number" == typeof l.pivotKey ? "1" : void 0
5092
- }), f = c), h++, u(l), fa(t, e, m, l, y, c, h, d, a)) : (h++, u(l), a.push({
5099
+ }), f = c), h++, u(l), ha(t, e, m, l, y, c, h, d, a)) : (h++, u(l), a.push({
5093
5100
  guid: Pt(n.uuidV4),
5094
5101
  sqref: c,
5095
5102
  priority: h,
@@ -5107,19 +5114,19 @@ var Gi = [
5107
5114
  const n = a[e];
5108
5115
  let o, i;
5109
5116
  Array.isArray(n) ? (o = n[0], i = n[1]) : (o = n.r, i = n.v);
5110
- const c = ua(o);
5117
+ const c = ga(o);
5111
5118
  if (!c || !i) {
5112
5119
  t.log("Skipping dataValidation with no range.");
5113
5120
  continue;
5114
5121
  }
5115
5122
  i.ext && t.warn("DataValidation extension payload is not written to xlsx; it will be lost.");
5116
- const d = (e, n) => t.warn(e, void 0, n), m = Ct(i.condition, d), { type: p, operator: f } = m ?? {}, h = va(c), u = wa(m?.formula1, h, r), g = wa(m?.formula2, h, r), x = {
5123
+ const d = (e, n) => t.warn(e, void 0, n), m = Ct(i.condition, d), { type: p, operator: f } = m ?? {}, h = wa(c), u = Sa(m?.formula1, h, r), g = Sa(m?.formula2, h, r), x = {
5117
5124
  type: p,
5118
5125
  operator: f,
5119
- allowBlank: ga(i.condition?.includeBlanks ?? !1),
5126
+ allowBlank: xa(i.condition?.includeBlanks ?? !1),
5120
5127
  showDropDown: i.hideDropdown ? "1" : void 0,
5121
- showInputMessage: ga(i.showPromptMessage),
5122
- showErrorMessage: ga(i.showAlertMessage),
5128
+ showInputMessage: xa(i.showPromptMessage),
5129
+ showErrorMessage: xa(i.showAlertMessage),
5123
5130
  errorStyle: i.alertStyle ?? "stop",
5124
5131
  errorTitle: H(i.alertTitle, "errorTitle", d),
5125
5132
  error: H(i.alert, "error", d),
@@ -5127,7 +5134,7 @@ var Gi = [
5127
5134
  prompt: H(i.prompt, "prompt", d),
5128
5135
  imeMode: i.imeMode
5129
5136
  };
5130
- xa(u) || xa(g) ? s.push({
5137
+ ya(u) || ya(g) ? s.push({
5131
5138
  attrs: x,
5132
5139
  formula1: u,
5133
5140
  formula2: g,
@@ -5140,7 +5147,7 @@ var Gi = [
5140
5147
  }
5141
5148
  if (0 === l.length) return s;
5142
5149
  e.start("dataValidations", {
5143
- ...ba(n),
5150
+ ...Ca(n),
5144
5151
  count: l.length
5145
5152
  });
5146
5153
  for (let t = 0; t < l.length; t++) {
@@ -5206,14 +5213,14 @@ var Gi = [
5206
5213
  e.end("headerFooter");
5207
5214
  }
5208
5215
  }
5209
- Ca(e, "rowBreaks", n.rowBreaks), Ca(e, "colBreaks", n.columnBreaks);
5216
+ Ta(e, "rowBreaks", n.rowBreaks), Ta(e, "colBreaks", n.columnBreaks);
5210
5217
  }(e, s, a.pageLayout), function(t, e) {
5211
5218
  if (!e?.length) return;
5212
5219
  const n = /* @__PURE__ */ new Map();
5213
5220
  for (const t of e) {
5214
5221
  const e = Array.isArray(t) ? t[0] : t.r, o = Array.isArray(t) ? t[1] : t.v, s = q.filter((t) => o?.includes(t));
5215
5222
  if (0 === s.length) continue;
5216
- const r = "string" == typeof e ? e : ua(e);
5223
+ const r = "string" == typeof e ? e : ga(e);
5217
5224
  if (!r) continue;
5218
5225
  const a = s.join(",");
5219
5226
  let i = n.get(a);
@@ -5271,13 +5278,13 @@ var Gi = [
5271
5278
  comments: n
5272
5279
  });
5273
5280
  }(r);
5274
- Ta(e, s, "legacyDrawing", ((t, e) => {
5281
+ ka(e, s, "legacyDrawing", ((t, e) => {
5275
5282
  if (!e) return t;
5276
5283
  const n = t?.xml ?? null;
5277
5284
  let o = Ve(n ?? "");
5278
5285
  const s = [], r = e.comments;
5279
5286
  for (let t = 0; t < r.length; t++) {
5280
- const { comment: n, row: a, col: i } = r[t], l = n.isNote() ? n.toJSON() : null, { bounds: c, anchor: d } = ka(e.sheet, n, a, i), m = l?.box, p = m?.fill || m?.stroke ? Ft(m.xml ?? G, {
5287
+ const { comment: n, row: a, col: i } = r[t], l = n.isNote() ? n.toJSON() : null, { bounds: c, anchor: d } = Ia(e.sheet, n, a, i), m = l?.box, p = m?.fill || m?.stroke ? Ft(m.xml ?? G, {
5281
5288
  fill: m.fill,
5282
5289
  stroke: m.stroke
5283
5290
  }, (t) => e.sheet.getStyles().parseColor(t)) : m?.xml;
@@ -5337,7 +5344,7 @@ var Gi = [
5337
5344
  ...e,
5338
5345
  xml: i
5339
5346
  } : { xml: i } : e;
5340
- })(r, a.legacyDrawing ?? null, l), u)), Ta(e, s, "legacyDrawingHF", a.legacyDrawingHF ?? null), await async function(t, e, n) {
5347
+ })(r, a.legacyDrawing ?? null, l), u)), ka(e, s, "legacyDrawingHF", a.legacyDrawingHF ?? null), await async function(t, e, n) {
5341
5348
  const o = n.getPicture();
5342
5349
  if (!o) return;
5343
5350
  const s = o.getResource(), r = await s.getExternalURI();
@@ -5400,7 +5407,7 @@ var Gi = [
5400
5407
  e.start("controlPr", ze(s)), e.start("anchor", {
5401
5408
  moveWithCells: "absolute" === i ? void 0 : "1",
5402
5409
  sizeWithCells: "twoCell" === i ? "1" : void 0
5403
- }), Ra(e, "from", n.anchor.tl), Ra(e, "to", n.anchor.br), e.end("anchor"), s.xml && e.raw(s.xml), e.end("controlPr"), e.end("control"), e.end("mc:Choice"), e.end("mc:AlternateContent");
5410
+ }), Fa(e, "from", n.anchor.tl), Fa(e, "to", n.anchor.br), e.end("anchor"), s.xml && e.raw(s.xml), e.end("controlPr"), e.end("control"), e.end("mc:Choice"), e.end("mc:AlternateContent");
5404
5411
  }
5405
5412
  e.end("controls"), e.end("mc:Choice"), e.end("mc:AlternateContent");
5406
5413
  }(e, s, l), function(t, e, n, o) {
@@ -5438,17 +5445,15 @@ var Gi = [
5438
5445
  }), e.start("x14:dataBar", {
5439
5446
  minLength: i.minLength ?? 0,
5440
5447
  maxLength: i.maxLength ?? 100,
5441
- gradient: i.gradient ? void 0 : "0",
5448
+ gradient: i.solidFill ? "0" : void 0,
5442
5449
  border: i.borderColor ? "1" : void 0,
5443
5450
  direction: i.direction,
5444
5451
  negativeBarColorSameAsPositive: i.negativeFillColor ? "0" : "1",
5445
5452
  negativeBarBorderColorSameAsPositive: i.negativeBorderColor ? "0" : void 0,
5446
5453
  axisPosition: i.axisPosition
5447
5454
  });
5448
- const t = i.stops ?? [];
5449
- if (0 === t.length) da(e, { type: I.ColorStopType.AutoMin }), da(e, { type: I.ColorStopType.AutoMax });
5450
- else for (let n = 0; n < t.length; n++) da(e, t[n]);
5451
- i.borderColor && Ao(e, c, i.borderColor, "x14:borderColor"), i.negativeFillColor && Ao(e, c, i.negativeFillColor, "x14:negativeFillColor"), i.negativeBorderColor && Ao(e, c, i.negativeBorderColor, "x14:negativeBorderColor"), i.axisColor && Ao(e, c, i.axisColor, "x14:axisColor"), e.end("x14:dataBar"), e.end("x14:cfRule");
5455
+ const [t, n] = fa(i);
5456
+ da(e, t), da(e, n), i.borderColor && Ao(e, c, i.borderColor, "x14:borderColor"), i.negativeFillColor && Ao(e, c, i.negativeFillColor, "x14:negativeFillColor"), i.negativeBorderColor && Ao(e, c, i.negativeBorderColor, "x14:negativeBorderColor"), i.axisColor && Ao(e, c, i.axisColor, "x14:axisColor"), e.end("x14:dataBar"), e.end("x14:cfRule");
5452
5457
  } else {
5453
5458
  e.start("x14:cfRule", {
5454
5459
  type: "iconSet",
@@ -5456,8 +5461,8 @@ var Gi = [
5456
5461
  id: s
5457
5462
  }), e.start("x14:iconSet", {
5458
5463
  iconSet: i.iconSet,
5459
- reverse: ga(i.reverse),
5460
- showValue: ga(i.showValue),
5464
+ reverse: xa(i.reverse),
5465
+ showValue: xa(i.showValue),
5461
5466
  custom: (i.icon?.length ?? 0) > 0 ? "1" : void 0
5462
5467
  });
5463
5468
  const t = i.stops ?? [];
@@ -5473,12 +5478,12 @@ var Gi = [
5473
5478
  e.start("x14:cfRule", {
5474
5479
  type: d.type,
5475
5480
  priority: a,
5476
- stopIfTrue: ga(p),
5477
- aboveAverage: ga(d.aboveAverage),
5478
- equalAverage: ga(d.equalAverage),
5481
+ stopIfTrue: xa(p),
5482
+ aboveAverage: xa(d.aboveAverage),
5483
+ equalAverage: xa(d.equalAverage),
5479
5484
  stdDev: d.stdDev,
5480
- bottom: ga(d.bottom),
5481
- percent: ga(d.percent),
5485
+ bottom: xa(d.bottom),
5486
+ percent: xa(d.percent),
5482
5487
  rank: d.rank,
5483
5488
  operator: d.operator,
5484
5489
  text: d.text,
@@ -5499,7 +5504,7 @@ var Gi = [
5499
5504
  "xmlns:x14": rn
5500
5505
  }), e.start("x14:dataValidations", {
5501
5506
  "xmlns:xm": it,
5502
- ...ba(n),
5507
+ ...Ca(n),
5503
5508
  count: s.length
5504
5509
  });
5505
5510
  for (let t = 0; t < s.length; t++) {
@@ -5633,13 +5638,13 @@ var Gi = [
5633
5638
  const a = t.theme;
5634
5639
  for (let t = 0; t < s; t++) {
5635
5640
  const e = o[t];
5636
- if (n.start("si"), e instanceof b) {
5641
+ if (n.start("si"), e instanceof C) {
5637
5642
  const t = e.getRuns();
5638
5643
  for (let e = 0; e < t.length; e++) {
5639
5644
  const o = t[e];
5640
- n.start("r"), o.font && a && Yr(n, o.font, a), Da(n, o.text), n.end("r");
5645
+ n.start("r"), o.font && a && Yr(n, o.font, a), La(n, o.text), n.end("r");
5641
5646
  }
5642
- } else Da(n, e);
5647
+ } else La(n, e);
5643
5648
  n.end("si");
5644
5649
  }
5645
5650
  n.end("sst"), n.close();
@@ -5667,7 +5672,7 @@ var Gi = [
5667
5672
  e.end(o);
5668
5673
  }
5669
5674
  }(0, n, o, "clrScheme"), function(t, e, n, o) {
5670
- n && (e.start(o, { name: n.getName() || "Office" }), qa(e, n.getMajor() ?? {}, "Calibri Light", "majorFont"), qa(e, n.getMinor() ?? {}, "Calibri", "minorFont"), e.end(o));
5675
+ n && (e.start(o, { name: n.getName() || "Office" }), Ja(e, n.getMajor() ?? {}, "Calibri Light", "majorFont"), Ja(e, n.getMinor() ?? {}, "Calibri", "minorFont"), e.end(o));
5671
5676
  }(0, n, o.getFontScheme(), "fontScheme"), function(t, e, n, o, s) {
5672
5677
  s?.formatSchemeXml ? e.raw(s.formatSchemeXml) : function(t, e, n, o, s) {
5673
5678
  const r = { getTheme: () => o };
@@ -5683,13 +5688,13 @@ var Gi = [
5683
5688
  }(t, e, "fmtScheme", o, o.getFormatScheme());
5684
5689
  }(e, n, 0, o, s), n.end("themeElements"), function(t, e, n) {
5685
5690
  const o = n.getObjectDefaults();
5686
- if (!Ja.some(([t]) => o[t])) return void e.empty("objectDefaults");
5691
+ if (!Ka.some(([t]) => o[t])) return void e.empty("objectDefaults");
5687
5692
  const s = { getTheme: () => n };
5688
5693
  e.start("objectDefaults");
5689
- for (const [r, a] of Ja) {
5694
+ for (const [r, a] of Ka) {
5690
5695
  const i = o[r];
5691
5696
  if (!i) continue;
5692
- e.start(a), e.start("spPr"), Go(t, s, i), e.end("spPr"), Ga(t, s, i.text);
5697
+ e.start(a), e.start("spPr"), Go(t, s, i), e.end("spPr"), qa(t, s, i.text);
5693
5698
  const l = i.style;
5694
5699
  if (l) {
5695
5700
  const t = (t, o) => {
@@ -5823,7 +5828,7 @@ var Gi = [
5823
5828
  e.end("numFmts");
5824
5829
  }
5825
5830
  })(0, o, i), function(t, e, n, o) {
5826
- const s = o.fonts, r = s.length, a = n.getTheme(), i = L.getShared(), l = $e(s.map((t) => ({
5831
+ const s = o.fonts, r = s.length, a = n.getTheme(), i = T.getShared(), l = $e(s.map((t) => ({
5827
5832
  ...t,
5828
5833
  family: ne(t.family, t.fallbacks, a, !0).name
5829
5834
  }))).every((t) => gt(i, t));
@@ -5997,7 +6002,7 @@ var Gi = [
5997
6002
  let r = 0;
5998
6003
  for (let t = 0; t < o.length; t++) {
5999
6004
  const e = r++;
6000
- n.empty("bag", { type: Ka[o[t].type] ?? o[t].type });
6005
+ n.empty("bag", { type: Ya[o[t].type] ?? o[t].type });
6001
6006
  const a = r++;
6002
6007
  n.start("bag", { type: "XFControls" }), n.start("bagId", { k: "CellControl" }), n.text(String(e)), n.end("bagId"), n.end("bag"), s.push(r++), n.start("bag", { type: "XFComplement" }), n.start("bagId", { k: "XFControls" }), n.text(String(a)), n.end("bagId"), n.end("bag");
6003
6008
  }
@@ -6034,7 +6039,7 @@ var Gi = [
6034
6039
  ...t.model.getProperties().toJSON(),
6035
6040
  lastModifiedDate: o
6036
6041
  };
6037
- for (const [t, e, o] of Ya) {
6042
+ for (const [t, e, o] of Za) {
6038
6043
  const r = s[e];
6039
6044
  null != r && "" !== r && (n.start(t, o ? { "xsi:type": "dcterms:W3CDTF" } : void 0), n.text(String(r)), n.end(t));
6040
6045
  }
@@ -6051,11 +6056,11 @@ var Gi = [
6051
6056
  });
6052
6057
  }
6053
6058
  async emit(t, e) {
6054
- const n = e.getXMLWriter(), o = t.model, s = (await C.getDetails()).getBuildVersion(), r = Et(s), a = o.getProperties();
6059
+ const n = e.getXMLWriter(), o = t.model, s = (await P.getDetails()).getBuildVersion(), r = Et(s), a = o.getProperties();
6055
6060
  n.setValidationDisabled(!0), n.decl(), n.start("Properties", {
6056
6061
  xmlns: "http://schemas.openxmlformats.org/officeDocument/2006/extended-properties",
6057
6062
  "xmlns:vt": "http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes"
6058
- }), Za(0, n, "Application", "SheetXL"), Za(0, n, "DocSecurity", "0"), Za(0, n, "ScaleCrop", "false"), ((t, e, n) => {
6063
+ }), Qa(0, n, "Application", "SheetXL"), Qa(0, n, "DocSecurity", "0"), Qa(0, n, "ScaleCrop", "false"), ((t, e, n) => {
6059
6064
  const o = [
6060
6065
  {
6061
6066
  heading: "Worksheets",
@@ -6079,13 +6084,13 @@ var Gi = [
6079
6084
  chart: 2,
6080
6085
  dialog: 3
6081
6086
  };
6082
- for (const t of n.getSheets({ visibility: k.Visibility.Hidden })) o[s[t.getKind()] ?? 0].names.push(t.getName());
6087
+ for (const t of n.getSheets({ visibility: R.Visibility.Hidden })) o[s[t.getKind()] ?? 0].names.push(t.getName());
6083
6088
  const r = n.getNames().getItems({ type: "formula" }).filter((t) => !!t.getRanges?.());
6084
6089
  o.push({
6085
6090
  heading: "Named Ranges",
6086
6091
  names: r.map((t) => {
6087
6092
  const e = t.getScope();
6088
- return e ? `${R.sheetNameToString(e)}!${t.getName()}` : t.getName();
6093
+ return e ? `${E.sheetNameToString(e)}!${t.getName()}` : t.getName();
6089
6094
  })
6090
6095
  });
6091
6096
  const a = o.filter((t, e) => 0 === e || t.names.length > 0);
@@ -6104,9 +6109,9 @@ var Gi = [
6104
6109
  e.end("vt:vector"), e.end("TitlesOfParts");
6105
6110
  })(e, n, o);
6106
6111
  const i = a.getManager();
6107
- i && Za(0, n, "Manager", i);
6112
+ i && Qa(0, n, "Manager", i);
6108
6113
  const l = a.getCompany();
6109
- l && Za(0, n, "Company", l), Za(0, n, "LinksUpToDate", "false"), Za(0, n, "SharedDoc", "false"), Za(0, n, "HyperlinksChanged", "false"), Za(0, n, "AppVersion", r), n.end("Properties"), n.close();
6114
+ l && Qa(0, n, "Company", l), Qa(0, n, "LinksUpToDate", "false"), Qa(0, n, "SharedDoc", "false"), Qa(0, n, "HyperlinksChanged", "false"), Qa(0, n, "AppVersion", r), n.end("Properties"), n.close();
6110
6115
  }
6111
6116
  }(),
6112
6117
  new class extends bn {
@@ -6132,8 +6137,8 @@ var Gi = [
6132
6137
  name: e
6133
6138
  };
6134
6139
  a && (i.linkTarget = a), n.start("property", i);
6135
- const l = Qa[s];
6136
- n.start(l), n.text(s === _.Type.Date ? ti(r) : String(r)), n.end(l), n.end("property");
6140
+ const l = ti[s];
6141
+ n.start(l), n.text(s === _.Type.Date ? ei(r) : String(r)), n.end(l), n.end("property");
6137
6142
  }
6138
6143
  n.end("Properties"), n.close();
6139
6144
  }
@@ -6154,11 +6159,11 @@ var Gi = [
6154
6159
  const m = { xmlns: "http://schemas.openxmlformats.org/spreadsheetml/2006/main" };
6155
6160
  if (o && (m["xmlns:xda"] = "http://schemas.microsoft.com/office/spreadsheetml/2017/dynamicarray"), s && (m["xmlns:xlrd"] = "http://schemas.microsoft.com/office/spreadsheetml/2017/richdata"), n.decl(), n.start("metadata", m), n.start("metadataTypes", { count: d }), o && n.empty("metadataType", {
6156
6161
  name: "XLDAPR",
6157
- ...ei,
6162
+ ...ni,
6158
6163
  cellMeta: "1"
6159
6164
  }), s && n.empty("metadataType", {
6160
6165
  name: "XLRICHVALUE",
6161
- ...ei
6166
+ ...ni
6162
6167
  }), n.end("metadataTypes"), o) {
6163
6168
  n.start("futureMetadata", {
6164
6169
  name: "XLDAPR",
@@ -6323,7 +6328,7 @@ var Gi = [
6323
6328
  let n = s && !s.isClosed() ? s : null;
6324
6329
  if (!n) {
6325
6330
  const e = await t.workbook.fetch(o);
6326
- e.ok && e.headers.get("content-type")?.startsWith("image/") && (n = new E({ source: { buffer: await e.arrayBuffer() } }));
6331
+ e.ok && e.headers.get("content-type")?.startsWith("image/") && (n = new k({ source: { buffer: await e.arrayBuffer() } }));
6327
6332
  }
6328
6333
  n && (a = (await ts(e, n)).relId);
6329
6334
  } catch {}
@@ -6374,13 +6379,13 @@ var Gi = [
6374
6379
  async emit(t, e) {
6375
6380
  const n = e.getXMLWriter(), o = t.getArrays();
6376
6381
  n.decl(), n.start("arrayData", {
6377
- xmlns: ni,
6382
+ xmlns: oi,
6378
6383
  count: o.length
6379
6384
  });
6380
6385
  for (const t of o) n.start("a", {
6381
6386
  r: t.rows,
6382
6387
  c: t.columns > 1 ? t.columns : void 0
6383
- }), oi(n, t.items), n.end("a");
6388
+ }), si(n, t.items), n.end("a");
6384
6389
  n.end("arrayData"), n.close();
6385
6390
  }
6386
6391
  }(),
@@ -6396,7 +6401,7 @@ var Gi = [
6396
6401
  async emit(t, e) {
6397
6402
  const n = e.getXMLWriter(), { structures: o } = t.getBags();
6398
6403
  n.decl(), n.start("spbStructures", {
6399
- xmlns: ni,
6404
+ xmlns: oi,
6400
6405
  count: o.length
6401
6406
  });
6402
6407
  for (const t of o) {
@@ -6421,9 +6426,9 @@ var Gi = [
6421
6426
  }
6422
6427
  async emit(t, e) {
6423
6428
  const n = e.getXMLWriter(), { bags: o, arrays: s } = t.getBags();
6424
- if (n.decl(), n.start("supportingPropertyBags", { xmlns: ni }), s.length > 0) {
6429
+ if (n.decl(), n.start("supportingPropertyBags", { xmlns: oi }), s.length > 0) {
6425
6430
  n.start("spbArrays", { count: s.length });
6426
- for (const t of s) n.start("a", { count: t.length }), oi(n, t), n.end("a");
6431
+ for (const t of s) n.start("a", { count: t.length }), si(n, t), n.end("a");
6427
6432
  n.end("spbArrays");
6428
6433
  }
6429
6434
  n.start("spbData", { count: o.length });
@@ -6447,7 +6452,7 @@ var Gi = [
6447
6452
  async emit(t, e) {
6448
6453
  const n = e.getXMLWriter(), o = t.getRichStyles();
6449
6454
  n.decl(), n.start("richStyleSheet", {
6450
- xmlns: ni,
6455
+ xmlns: oi,
6451
6456
  "xmlns:mc": "http://schemas.openxmlformats.org/markup-compatibility/2006",
6452
6457
  "mc:Ignorable": "x",
6453
6458
  "xmlns:x": "http://schemas.openxmlformats.org/spreadsheetml/2006/main"
@@ -6498,7 +6503,7 @@ var Gi = [
6498
6503
  let i = 0;
6499
6504
  const l = (t) => {
6500
6505
  const e = t.content, n = We(e?.type) ? e.json?.shapeId : e?.json?.sourceId;
6501
- if ("number" == typeof n && n > i && (i = n), "group" === e?.type) for (const e of fi(t)) l(e);
6506
+ if ("number" == typeof n && n > i && (i = n), "group" === e?.type) for (const e of hi(t)) l(e);
6502
6507
  };
6503
6508
  for (let t = 0; t < a; t++) l(r[t]);
6504
6509
  const c = /* @__PURE__ */ new Map(), d = e.getSharedStates();
@@ -6514,11 +6519,11 @@ var Gi = [
6514
6519
  } else t.add(n);
6515
6520
  }
6516
6521
  }
6517
- const p = Li(e, o), f = () => {
6522
+ const p = _i(e, o), f = () => {
6518
6523
  const t = (m.get(o) ?? 1) + 1;
6519
6524
  return m.set(o, t), t;
6520
6525
  }, h = (t) => {
6521
- for (const e of fi(t)) {
6526
+ for (const e of hi(t)) {
6522
6527
  const t = e.content?.json?.sourceId, n = "number" == typeof t && !p.bySource.has(t), o = n ? t : f();
6523
6528
  p.assigned.set(e, o), n && p.bySource.set(t, o), "group" === e.content?.type && h(e);
6524
6529
  }
@@ -6528,40 +6533,40 @@ var Gi = [
6528
6533
  let o = c.get(e) ?? ("number" == typeof n ? n : void 0);
6529
6534
  void 0 === o && (o = f()), p.assigned.set(e, o), "number" != typeof n || p.bySource.has(n) || p.bySource.set(n, o), "group" === e.content?.type && h(e);
6530
6535
  }
6531
- for (let t = 0; t < a; t++) await ui(e, r[t]);
6536
+ for (let t = 0; t < a; t++) await gi(e, r[t]);
6532
6537
  for (let t = 0; t < a; t++) {
6533
6538
  const a = r[t], i = s[t], l = a.content?.type;
6534
- if (We(l)) Vi(n, a);
6539
+ if (We(l)) Wi(n, a);
6535
6540
  else {
6536
6541
  if ("slicer" === l) {
6537
6542
  const t = i.getContent();
6538
6543
  if (!t.getTable?.() && !Cr(t)) continue;
6539
6544
  }
6540
- switch (n.start("twoCellAnchor", { editAs: a.anchorType || "twoCell" }), Oi(n, "from", a.anchor.tl), Oi(n, "to", a.anchor.br), l) {
6545
+ switch (n.start("twoCellAnchor", { editAs: a.anchorType || "twoCell" }), Vi(n, "from", a.anchor.tl), Vi(n, "to", a.anchor.br), l) {
6541
6546
  case "picture":
6542
- await gi(e, o, i, a, i.getBounds(), i.getContent().getResource());
6547
+ await xi(e, o, i, a, i.getBounds(), i.getContent().getResource());
6543
6548
  break;
6544
6549
  case "chart":
6545
- await yi(e, o, i, a);
6550
+ await vi(e, o, i, a);
6546
6551
  break;
6547
6552
  case "shape":
6548
- await bi(e, o, i, a, i.getBounds());
6553
+ await Ci(e, o, i, a, i.getBounds());
6549
6554
  break;
6550
6555
  case "group":
6551
- await wi(e, o, i, a, i.getBounds());
6556
+ await Si(e, o, i, a, i.getBounds());
6552
6557
  break;
6553
6558
  case "smartArt":
6554
- await Ci(e, o, i, a);
6559
+ await Ti(e, o, i, a);
6555
6560
  break;
6556
6561
  case "slicer":
6557
- await Ri(e, o, i, a);
6562
+ await Fi(e, o, i, a);
6558
6563
  break;
6559
6564
  case "graphicFrame":
6560
- await Ei(e, o, i, a);
6565
+ await Mi(e, o, i, a);
6561
6566
  break;
6562
- default: await Mi(e, o, a, i.getBounds());
6567
+ default: await Pi(e, o, a, i.getBounds());
6563
6568
  }
6564
- pi(n, a), n.end("twoCellAnchor");
6569
+ fi(n, a), n.end("twoCellAnchor");
6565
6570
  }
6566
6571
  }
6567
6572
  n.end("wsDr"), n.close();
@@ -6583,7 +6588,7 @@ var Gi = [
6583
6588
  for (let r = 0; r < o; r++) {
6584
6589
  const o = n[r], a = s?.get(o.resId);
6585
6590
  if (a) try {
6586
- await Wi(e, o.id, a);
6591
+ await zi(e, o.id, a);
6587
6592
  } catch (t) {
6588
6593
  e.log(`Unable to write legacy drawing image '${o.id}'`, t);
6589
6594
  }
@@ -6706,11 +6711,11 @@ var Gi = [
6706
6711
  for (let t = 0; t < o.length; t++) {
6707
6712
  const { comment: e, ref: s } = o[t];
6708
6713
  if (e.isNote()) continue;
6709
- ji(n, s, e.getId(), e.getAuthor()?.getId(), e.getCreationDate(), e.getContent(), null, e.isResolved(), e.toJSON()?.mentions);
6714
+ Xi(n, s, e.getId(), e.getAuthor()?.getId(), e.getCreationDate(), e.getContent(), null, e.isResolved(), e.toJSON()?.mentions);
6710
6715
  const r = e.getReplies();
6711
6716
  for (let t = 0; t < r.length; t++) {
6712
6717
  const o = r[t];
6713
- ji(n, s, o.getId(), o.getAuthor()?.getId(), o.getCreationDate(), o.getContent(), e.getId(), !1, o.toJSON().mentions);
6718
+ Xi(n, s, o.getId(), o.getAuthor()?.getId(), o.getCreationDate(), o.getContent(), e.getId(), !1, o.toJSON().mentions);
6714
6719
  }
6715
6720
  }
6716
6721
  n.end("ThreadedComments"), n.close();
@@ -6736,7 +6741,7 @@ var Gi = [
6736
6741
  const e = o[t];
6737
6742
  n.empty("person", {
6738
6743
  displayName: e.getDisplayName(),
6739
- id: Xi(e.getId()),
6744
+ id: Hi(e.getId()),
6740
6745
  userId: e.getUserId() ?? e.getDisplayName(),
6741
6746
  providerId: e.getProviderId() ?? "None"
6742
6747
  });
@@ -7017,7 +7022,7 @@ var Gi = [
7017
7022
  const s = o.length;
7018
7023
  for (let e = 0; e < s; e++) {
7019
7024
  const [s, r] = o[e], a = r.length;
7020
- for (let e = 0; e < a; e++) Ui(t, n, s + e, r.at(e));
7025
+ for (let e = 0; e < a; e++) Gi(t, n, s + e, r.at(e));
7021
7026
  }
7022
7027
  t.end("row");
7023
7028
  }
@@ -7029,20 +7034,20 @@ var Gi = [
7029
7034
  }(n, t), n.end("externalBook"), n.end("externalLink"), n.close();
7030
7035
  }
7031
7036
  }()
7032
- ], qi = "SheetXL Evaluation", Ji = "xl/worksheets/sheetSheetXLEvaluation.xml", Ki = "rIdSheetXLEvaluation", Yi = [
7037
+ ], Ji = "SheetXL Evaluation", Ki = "xl/worksheets/sheetSheetXLEvaluation.xml", Yi = "rIdSheetXLEvaluation", Zi = [
7033
7038
  "This workbook was exported from an unlicensed evaluation of SheetXL.",
7034
7039
  "Your own sheets follow this one, unchanged.",
7035
7040
  "To license SheetXL, visit https://www.sheetxl.com"
7036
- ], Zi = (t) => {
7041
+ ], Qi = (t) => {
7037
7042
  const e = [...t.matchAll(/<sheet\b[^>]*\bsheetId="(\d+)"/g)].map((t) => parseInt(t[1], 10)), n = new Set([...t.matchAll(/<sheet\b[^>]*\bname="([^"]*)"/g)].map((t) => t[1].toLowerCase()));
7038
- let o = qi;
7039
- for (let t = 2; n.has(o.toLowerCase()); t++) o = `${qi} (${t})`;
7040
- const s = `<sheet name="${o}" sheetId="${Math.max(0, ...e) + 1}" r:id="${Ki}"/>`;
7043
+ let o = Ji;
7044
+ for (let t = 2; n.has(o.toLowerCase()); t++) o = `${Ji} (${t})`;
7045
+ const s = `<sheet name="${o}" sheetId="${Math.max(0, ...e) + 1}" r:id="${Yi}"/>`;
7041
7046
  return t.replace(/<sheets>/, `<sheets>${s}`).replace(/\blocalSheetId="(\d+)"/g, (t, e) => `localSheetId="${parseInt(e, 10) + 1}"`).replace(/<workbookView\b([^>]*?)(\/?)>/, (t, e, n) => {
7042
7047
  const o = /\bactiveTab="(\d+)"/.exec(e);
7043
7048
  return `<workbookView${(o ? e.replace(/\bactiveTab="\d+"/, `activeTab="${parseInt(o[1], 10) + 1}"`) : `${e} activeTab="1"`).replace(/\s*\bfirstTab="\d+"/, "")}${n}>`;
7044
7049
  });
7045
- }, Qi = (t) => {
7050
+ }, tl = (t) => {
7046
7051
  const e = t.getPart("xl/_rels/workbook.xml.rels");
7047
7052
  if (!e) return null;
7048
7053
  const n = /* @__PURE__ */ new Map();
@@ -7056,19 +7061,19 @@ var Gi = [
7056
7061
  });
7057
7062
  }
7058
7063
  return n;
7059
- }, tl = (t) => {
7064
+ }, el = (t) => {
7060
7065
  const e = t.getPart("xl/workbook.xml");
7061
7066
  return e ? new TextDecoder("utf-8").decode(e.data) : null;
7062
- }, el = (t) => {
7063
- const e = nl.get(t);
7067
+ }, nl = (t) => {
7068
+ const e = ol.get(t);
7064
7069
  if (void 0 !== e) return e;
7065
7070
  const n = t.getPart("xl/workbook.xml"), o = n ? new TextDecoder("utf-8").decode(n.data) : null;
7066
- return nl.set(t, o), o;
7067
- }, nl = /* @__PURE__ */ new WeakMap(), ol = async (t, e) => {
7068
- await D.load();
7071
+ return ol.set(t, o), o;
7072
+ }, ol = /* @__PURE__ */ new WeakMap(), sl = async (t, e) => {
7073
+ await A.load();
7069
7074
  const n = new Kn();
7070
- for (const t of Gi) n.register(t);
7071
- const o = sl, s = Cn.createUint8Array({
7075
+ for (const t of qi) n.register(t);
7076
+ const o = rl, s = Cn.createUint8Array({
7072
7077
  lastModDate: new Date(1899, 11, 29, 19, 0, 0),
7073
7078
  level: o
7074
7079
  }), r = $.includes(e?.format) ? de(t) : null, a = /* @__PURE__ */ new Map(), i = r ? ((t) => {
@@ -7082,18 +7087,18 @@ var Gi = [
7082
7087
  })(r) : null;
7083
7088
  i && (e?.macroEnabled || delete i.codeName, a.set(Er, i));
7084
7089
  const l = r ? ((t) => {
7085
- const e = el(t)?.match(/<calcPr\b[^>]*?\bcalcId="([^"]*)"/);
7090
+ const e = nl(t)?.match(/<calcPr\b[^>]*?\bcalcId="([^"]*)"/);
7086
7091
  return e ? e[1] : null;
7087
7092
  })(r) : null;
7088
7093
  null !== l && a.set("calcId", l);
7089
7094
  const c = r ? ((t) => {
7090
- const e = el(t);
7095
+ const e = nl(t);
7091
7096
  if (!e) return null;
7092
7097
  const n = e.lastIndexOf("<extLst>");
7093
7098
  if (-1 === n) return null;
7094
7099
  const o = e.indexOf("</extLst>", n);
7095
7100
  if (-1 === o || !/^<\/extLst>\s*<\/workbook>/.test(e.slice(o))) return null;
7096
- const s = e.slice(n + 8, o), r = Qi(t), a = [];
7101
+ const s = e.slice(n + 8, o), r = tl(t), a = [];
7097
7102
  for (const t of ((t) => {
7098
7103
  const e = [], n = /<(\/?)ext(?=[\s/>])[^>]*?(\/?)>/g;
7099
7104
  let o = 0, s = 0;
@@ -7121,13 +7126,13 @@ var Gi = [
7121
7126
  })(r) : null;
7122
7127
  null !== c && a.set("workbookExts", c);
7123
7128
  const d = r ? ((t) => {
7124
- const e = tl(t);
7129
+ const e = el(t);
7125
7130
  if (!e) return null;
7126
7131
  const n = /<externalReferences\b[^>]*>([\s\S]*?)<\/externalReferences>/.exec(e);
7127
7132
  if (!n) return null;
7128
7133
  const o = [...n[1].matchAll(/<externalReference\b[^>]*\sr:id="([^"]*)"/g)].map((t) => t[1]);
7129
7134
  if (0 === o.length) return null;
7130
- const s = Qi(t);
7135
+ const s = tl(t);
7131
7136
  return s ? o.map((t) => {
7132
7137
  const e = s.get(t);
7133
7138
  return e && !e.external ? e.target : null;
@@ -7135,7 +7140,7 @@ var Gi = [
7135
7140
  })(r) : null;
7136
7141
  d && a.set(Lr, d);
7137
7142
  const m = r ? ((t) => {
7138
- const e = tl(t), n = e ? Qi(t) : null;
7143
+ const e = el(t), n = e ? tl(t) : null;
7139
7144
  if (!e || !n) return null;
7140
7145
  const o = /* @__PURE__ */ new Map();
7141
7146
  for (const t of e.matchAll(/<sheet\b([^>]*)\/?>/g)) {
@@ -7164,22 +7169,22 @@ var Gi = [
7164
7169
  });
7165
7170
  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 });
7166
7171
  let h = await f.build();
7167
- await C.isWatermarked() && (h = await (async (t) => {
7172
+ await P.isWatermarked() && (h = await (async (t) => {
7168
7173
  const e = new B(new z(t)), n = new j(), o = new je(n, { lastModDate: new Date(1899, 11, 29, 19, 0, 0) });
7169
7174
  try {
7170
7175
  for (const t of await e.getEntries()) {
7171
7176
  if (t.directory || !("getData" in t)) continue;
7172
7177
  const e = t.filename;
7173
- if ("xl/workbook.xml" === e) await o.add(e, new z(new TextEncoder().encode(Zi(await t.getData(new O())))));
7178
+ if ("xl/workbook.xml" === e) await o.add(e, new z(new TextEncoder().encode(Qi(await t.getData(new O())))));
7174
7179
  else if ("xl/_rels/workbook.xml.rels" === e) {
7175
- const n = await t.getData(new O()), s = `<Relationship Id="${Ki}" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/worksheet" Target="${Ji.slice(3)}"/>`;
7180
+ const n = await t.getData(new O()), s = `<Relationship Id="${Yi}" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/worksheet" Target="${Ki.slice(3)}"/>`;
7176
7181
  await o.add(e, new z(new TextEncoder().encode(n.replace("</Relationships>", `${s}</Relationships>`))));
7177
7182
  } else if ("[Content_Types].xml" === e) {
7178
- const n = await t.getData(new O()), s = `<Override PartName="/${Ji}" ContentType="application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml"/>`;
7183
+ const n = await t.getData(new O()), s = `<Override PartName="/${Ki}" ContentType="application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml"/>`;
7179
7184
  await o.add(e, new z(new TextEncoder().encode(n.replace("</Types>", `${s}</Types>`))));
7180
7185
  } else await o.add(e, new z(await t.getData(new j())));
7181
7186
  }
7182
- return await o.add(Ji, new z(new TextEncoder().encode(`<?xml version="1.0" encoding="UTF-8" standalone="yes"?><worksheet xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main"><sheetViews><sheetView workbookViewId="0"/></sheetViews><cols><col min="1" max="1" width="80" customWidth="1"/></cols><sheetData>${Yi.map((t, e) => `<row r="${e + 1}"><c r="A${e + 1}" t="inlineStr"><is><t>${t}</t></is></c></row>`).join("")}</sheetData></worksheet>`))), await o.close(), await n.getData();
7187
+ return await o.add(Ki, new z(new TextEncoder().encode(`<?xml version="1.0" encoding="UTF-8" standalone="yes"?><worksheet xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main"><sheetViews><sheetView workbookViewId="0"/></sheetViews><cols><col min="1" max="1" width="80" customWidth="1"/></cols><sheetData>${Zi.map((t, e) => `<row r="${e + 1}"><c r="A${e + 1}" t="inlineStr"><is><t>${t}</t></is></c></row>`).join("")}</sheetData></worksheet>`))), await o.close(), await n.getData();
7183
7188
  } finally {
7184
7189
  await e.close();
7185
7190
  }
@@ -7193,5 +7198,5 @@ var Gi = [
7193
7198
  }
7194
7199
  }
7195
7200
  return 0 === h.byteOffset && h.byteLength === h.buffer.byteLength ? h.buffer : h.slice().buffer;
7196
- }, sl = 1;
7197
- export { ol as writeXLSX };
7201
+ }, rl = 1;
7202
+ export { sl as writeXLSX };