@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.
- package/assets/{BC2Y5XPkMBKS6jQX.js → 1J1R3dclFOh322Yr.js} +326 -325
- package/assets/{BZJvWc-5DdAyHXFk.js → 2XwVsSfo5wF5K-HA.js} +1 -1
- package/assets/{DO9RVxvm9vQh8A_j.js → 2xkoVdiI70Gpaxoc.js} +2 -2
- package/assets/{8wMcuw3b1CFk-D5A.js → 5MnsnJcajdtAujE2.js} +1 -1
- package/assets/{vItpZkDtFsjwsJzb.js → B2zUUqxAJ1RiM7YI.js} +64 -64
- package/assets/{CkGQV_x1SpyzePln.js → B3YRTBFhX61z6rJv.js} +435 -430
- package/assets/{RFPO1vKnkkgwx5Bs.js → BBuB6ffvyg2Cd7V5.js} +1 -1
- package/assets/{DO86fHS3WYzHN_Rv.js → BDSNdgf_hbhX1DhN.js} +1 -1
- package/assets/{H1ICg_-K5ADFNHJj.js → BEsnJS5jYwkHNcZd.js} +1 -1
- package/assets/{CSd5XfU4JBASIwTI.js → BGxwDpW8DkO8W0Ig.js} +1 -1
- package/assets/{D5mfuGSeGXSDHj9-.js → BI8kb-rd9dW85XJs.js} +1 -1
- package/assets/{DqxW6EBLDV_6Eegk.js → BJMeWtr7TiLNpt17.js} +1 -1
- package/assets/{D3RuKyCyAzvT0bGL.js → BKpicdc9H5WnZPb-.js} +1 -1
- package/assets/{KSE7OWDMxhbfYt82.js → BLr8y5StL65VZQxG.js} +22 -22
- package/assets/{CzQ2o7qoMm0K7KSb.js → BNEBXKAh-N4Tygk7.js} +4 -4
- package/assets/{CZ5v2vTWktJ7qAj1.js → BPorbjbkH-VoV1M0.js} +1 -1
- package/assets/{_oaPA65Bm2idKW7f.js → BPtf3_nlovO4r9Bm.js} +1 -1
- package/assets/{Dt5rA9gefJFLoaeI.js → BULbMlvQuB2WFBFE.js} +2 -2
- package/assets/{DpgBOcByebrqzUrC.js → BVUfaOAGhdMim8yB.js} +3 -3
- package/assets/{KQGPPHM486XPeClF.js → BWeaY19OpTJK5v0n.js} +2 -2
- package/assets/{M62BqR7TbmgOzAEW.js → BYbzf-TVwbKQPCyK.js} +3 -3
- package/assets/{CTLGMulzw-oFbgHy.js → BZaXHnsJ6RkCZsnz.js} +3 -3
- package/assets/{Bagfe_VVU6NyQNS6.js → BazhmjGvrL7pqVQP.js} +1 -1
- package/assets/{DX0znk3xZmL1AyX8.js → BbU6aT_c6-4tkcCw.js} +1 -1
- package/assets/{C0pbMKm0FzhOek9r.js → Bbmh8_bdk_HrQ5Y6.js} +1 -1
- package/assets/{DmJc5VoPPwBBtLIG.js → BcWSfKJ9Atkc0X_p.js} +1 -1
- package/assets/{fUmGsmpgGhd8eZn2.js → BdUFL3lVdwifHrf0.js} +1 -1
- package/assets/{CL348305B-kpRYzz.js → Bjk1Twm0RFO_3fS8.js} +1 -1
- package/assets/{DuCNecyIYfZL27SV.js → BlhJHu9ni2T9IaM1.js} +1 -1
- package/assets/{CB9TsE5n0FEyFnAz.js → BomatnedZsGMF7MW.js} +22 -21
- package/assets/{CLT0k5UJYPmi8ked.js → BynbAjhJnLjyP7HH.js} +1 -1
- package/assets/{CDYMLTHkkpRV9igv.js → Bz08KxFupjbdsoFx.js} +1 -1
- package/assets/{BU7t2vK3_DH_BbMd.js → C6_KHS3-ROddeSbS.js} +2 -2
- package/assets/{69EXDk0YRdjdM86i.js → C8G_px4dGuR2KjJh.js} +1 -1
- package/assets/{DRqBWzdn9KKN68o8.js → CBMMHYgUAhgiJhJE.js} +11 -11
- package/assets/{0ewqK5X66DZmbhVR.js → CC7EfXPwp7_nSBIz.js} +1 -1
- package/assets/{DOYXEbY_WslpyqXW.js → CCBQDcCHI47PZ0YQ.js} +5 -5
- package/assets/{BeMLPoHRWacCbpl2.js → CE-9VKh5-Xwxnxmu.js} +1 -1
- package/assets/{CpLUgqgBDtlfFRj3.js → CE5DhB5As59VJ-Ig.js} +1 -1
- package/assets/{1bSTbCnkTWvsV82p.js → CEsRqYMd5IjnAzzX.js} +4 -4
- package/assets/{CrLDmJU84Dbwl6DZ.js → CGLapmkNccH1g_ZJ.js} +1 -1
- package/assets/{C2YOx4ianxuIIeMP.js → CH8DNTUgM79xk8Tt.js} +1 -1
- package/assets/{rIQ1pzaGFqvCfzOk.js → CHG4ZuzhyjGRuKBg.js} +1 -1
- package/assets/{CBTQ8dknYY7RVQgL.js → CPZgEZ2jKoo7hS6g.js} +8 -8
- package/assets/{Dnn8laImZHy8LouL.js → CQCPJBQD0qv9y8qE.js} +1 -1
- package/assets/{vXmCJwJaPhkPVhy8.js → CSisGJ4hiDhTi19U.js} +1 -1
- package/assets/{BMkhJwKP7goV0vlJ.js → CeVCLRwjkH3_OXJu.js} +1 -1
- package/assets/{BneTvtEMcBoSiQnw.js → Cg1tSmK_AGJa2VeI.js} +3 -3
- package/assets/{DG3hKZ75iK2wrCcz.js → CgYef9dYxY8YyUTE.js} +1 -1
- package/assets/{CME1jbwnNlBD66aW.js → ChbkkN_JqbAGrUwB.js} +221 -219
- package/assets/{D2XmpdMAe0SAuQWo.js → Cidwv57sKqhIrpHP.js} +54 -54
- package/assets/{Vo34QvIefEN595xl.js → Cl04_aSpBHTwfsQR.js} +8954 -8941
- package/assets/{CudjOMo6X7FRW6ME.js → Cl8_HMhRgzPzqFc7.js} +1 -1
- package/assets/{IEmEQHg895CUpAQq.js → CnUYevzhUJYNqLad.js} +1 -1
- package/assets/{pg0OaBJVRnW7uSz5.js → CndRpNCcV89ncnqz.js} +1 -1
- package/assets/{rejXA2fTAujW3QRv.js → CpyybSV2kR6b-SIB.js} +579 -569
- package/assets/{DsK1Adz0vo-1zPkp.js → CqP4H_-kRRjcxO91.js} +1 -1
- package/assets/{CVlsdN5C8QL-Kljv.js → CrTLWpsRNBSyTLor.js} +1 -1
- package/assets/{C1xe-BzKWT17OO8a.js → CtlrxXVgZDIOcuc1.js} +14 -14
- package/assets/{D1HLIgumuUqrSyYB.js → CwrOCbcS4IHLsERQ.js} +4 -4
- package/assets/{BM9zwvBRXNbO_uD-.js → Cx1bc-Dsja7W3GlB.js} +2 -2
- package/assets/{BbsMdXiRzPW9BCEK.js → CyhngJo16o7G18lq.js} +1 -1
- package/assets/{BAqvmoeYqG6dwX3I.js → CzoRlNMlpFz4iax3.js} +2 -2
- package/assets/{DnQM29yv6KQQOVfl.js → D-PYDPXobSWiPh1D.js} +2 -2
- package/assets/{H89MX09YsAj7NAk3.js → D5O3m16KeyU_oXqH.js} +1 -1
- package/assets/{DwqgvpYiTLOQd5wm.js → D5PpcRuJYSv0i2y9.js} +2 -2
- package/assets/{DITcEcZJ58z5yOx7.js → D60N4r1a2YsNEwqj.js} +1 -1
- package/assets/{VcTnn2qw_4tmyctb.js → D7oYfHgO0kEqAnPV.js} +1 -1
- package/assets/{C27330XswujHKrLu.js → DACd4ZjYwzNE7Koc.js} +1 -1
- package/assets/{CDKZI2IIZ9boo7zG.js → DAliB9N1z6qnw4NO.js} +1 -1
- package/assets/{DjbBTiei0H-BIJaN.js → DIAQ_WlBCWhgHt-z.js} +1 -1
- package/assets/{I-GZ5PL9n_Sv5yAJ.js → DJ2jlogB1DWlGM-J.js} +1 -1
- package/assets/{NEzc406_2k2MuiE3.js → DKKLWACR9GsidnkS.js} +2 -2
- package/assets/{BrgptoFtJepXL46Z.js → DL7_uGw6KiZhlvR8.js} +1 -1
- package/assets/{ChpUbgXIWuQFoXyL.js → DL8wUEe2Kx7bjDYP.js} +1 -1
- package/assets/{C8huq6_Gvbeyf6Zy.js → DLuQ_rdu0XjYF7Jq.js} +2 -2
- package/assets/{D9F0224gK4j4Iuq9.js → DN1RRp4qQfCq3JAO.js} +1 -1
- package/assets/{BRiLNigzVwOBIxBy.js → DPjWOMoJ-elAAOmS.js} +1 -1
- package/assets/{I_yb1hhLA5bYPpWx.js → DSyZaCML62gSnudE.js} +1 -1
- package/assets/DU2Dzzu0oY_eDN6i.js +14 -0
- package/assets/{QMCI00ZCedkNJd8C.js → DUytcsu0MV3GnsrM.js} +1 -1
- package/assets/{BtiRDaBbNpPpKelt.js → DV3PnM9lo0AW-YOA.js} +3 -3
- package/assets/{CXb2mlCk1s1VFPHU.js → DXmebUOAhtW4V6BO.js} +531 -531
- package/assets/{Q2j8yQZX1kL_MbbB.js → DZt1ONN8CTTfmHGn.js} +606 -606
- package/assets/{AGdlSbOsXWO1oZAE.js → Dawi8y7JWn6A9gAx.js} +1 -1
- package/assets/{D7WSYqvuwNQjOIuO.js → DbbNJyL67KdOK7nc.js} +1 -1
- package/assets/{BVDaUnmVOSaDw9e3.js → DcO0gub7cRKVw4xB.js} +1 -1
- package/assets/{DP-m2vK0GTaYqQZM.js → DfBERTJjS9LP0RSp.js} +1 -1
- package/assets/{B8NDzDM0Gpwmkylq.js → Dg5QmWm0uBTEjZy4.js} +1 -1
- package/assets/{_l84VPWmScznS-9F.js → DgLQfXTWavoBetna.js} +5 -5
- package/assets/{CC2hfzradb2KOvtU.js → DiJexWBIzdGj1H0H.js} +1 -1
- package/assets/{D-INtJnS1lCrEs8s.js → DoP6myQHGI-X1gNy.js} +76 -76
- package/assets/{DRiAktGToP73uwgm.js → Dol52NFQzLCbObuC.js} +201 -201
- package/assets/{BWqKV3QuZX31WPsa.js → DrKr8dXQEQ3Aukmt.js} +1 -1
- package/assets/{B8URptQcztz4DRvS.js → DtETpSxSR8C1voac.js} +38 -38
- package/assets/{Cg05U6rbXUnaz0rA.js → DuQU8JjPLBIK804w.js} +34 -34
- package/assets/{CmUz8bVbJgWVT-OB.js → DvkBNkPyR5kuS0Uo.js} +2 -2
- package/assets/{ChwSFUzi5mMzUwdW.js → E-KM5RFByUxjlkId.js} +6 -6
- package/assets/{-NFft0E2Wj6WH3X9.js → KMTTqSwDthnXnD4F.js} +1 -1
- package/assets/{C1ZP9W2tiVQUwLqZ.js → KhdF512BKcJXZMvq.js} +1 -1
- package/assets/{CcaH1FoDC8o3dzqp.js → L9RIicOHtZd2Rx8g.js} +1 -1
- package/assets/{Dzxe5kLF5GOfh0_l.js → MzfM7zDcnyOFK1lK.js} +1 -1
- package/assets/{BtjG4s0StUieGI5b.js → NDe-uS1n_Q7u1H3m.js} +3 -3
- package/assets/{BABP2ffkRrOs7_Ym.js → PVGDjdR9C4stMNpM.js} +1 -1
- package/assets/{DBgOeiZg40MS63pB.js → PiFW6uPRJABzK3V1.js} +1174 -1176
- package/assets/{B_n6s7Kj4_5BWn1q.js → WH1Vl-MDWX3vSMn1.js} +2 -2
- package/assets/{DjCHmGw-ixoQ6ZTA.js → WuKVkvMPAOmRaCDY.js} +2 -2
- package/assets/{bpjLDXWxL6nDt4Mv.js → YtxPcFPURJF6CxWu.js} +1 -1
- package/assets/{FOKynZCiA0wU2Spf.js → a9lvcAd7rWsWSWAo.js} +1 -1
- package/assets/{B4Z_YneQya9mUTN5.js → aTxgpOOxLenli4af.js} +1 -1
- package/assets/{BJo3edG_rqch-Kw2.js → bsnhRuD-K-qhW-y5.js} +70 -70
- package/assets/{CPmMYI4DPQcXrZ-g.js → dep8oZGwBmUpxjHl.js} +1 -1
- package/assets/{raa4clZOm0L5A0zR.js → f_dBJuakO_BJ7Tvm.js} +504 -504
- package/assets/{CBqpH_MpBSmQRaGE.js → gver5Sz7ZO6ZyrOi.js} +1 -1
- package/assets/{BEOwJnsyIuMC4SaI.js → jKIDENA_QP4bEX49.js} +4 -4
- package/assets/{B_RppF41PrYlelc_.js → q1rCdlJA6Z7tA6om.js} +1 -1
- package/assets/{4-DOIpV6Hjaymwy7.js → qjyVXZeVSr_qZfX5.js} +2 -2
- package/assets/{Deu2acNFlgo__Mcd.js → sIWsnPhnHm_MeeM9.js} +2 -2
- package/assets/{B1l0k4ErELObdQKE.js → t4qTfgdlstczTs2z.js} +21 -21
- package/assets/{rhT64BvdSLOEwglQ.js → wKkW4LO-iUp92LVC.js} +1 -1
- package/index.js +160 -160
- package/lib.js +1 -1
- package/licenses/dependencies.txt +91 -91
- package/package.json +4 -4
- package/screenshot-page/assets/{CFl15-2FAF9f3V7L.js → 0UZBKpOOsp7P-DkP.js} +2 -2
- package/screenshot-page/assets/37LAUhU1_yKtsBlH.js +2 -0
- package/screenshot-page/assets/B2PWru6Ty7ODc2Ie.js +1 -0
- package/screenshot-page/assets/B3c6NBI22E5SZWG-.js +1 -0
- package/screenshot-page/assets/B3yyoGGGl8ICyeoC.js +39 -0
- package/screenshot-page/assets/B56KxTxcAXDom0g4.js +13 -0
- package/screenshot-page/assets/{BtydzT-AjL_LBr8x.js → BAxPBeFudRJ3OqIC.js} +1 -1
- package/screenshot-page/assets/{1s5we6Eqz8n3o0X_.js → BJct69niPZc8L_gZ.js} +1 -1
- package/screenshot-page/assets/BPMQ22uISGOm3ymr.js +1 -0
- package/screenshot-page/assets/{Yz4ksf-M05RGdHO3.js → BT2nkqpteSR9booH.js} +1 -1
- package/screenshot-page/assets/{DHUomRu_S2zcBWwt.js → BTKdl-XR9TlWaFe7.js} +3 -3
- package/screenshot-page/assets/{BEwl-ucV9Jfr0RoC.js → Bdb0azxGoCh6NBDk.js} +1 -1
- package/screenshot-page/assets/{p9abCAJQdpScjZVK.js → Be1S5czBx0lxhYLW.js} +1 -1
- package/screenshot-page/assets/Bh2DVAOWvWfylt77.js +1 -0
- package/screenshot-page/assets/BjJ_nnNDZEPLpapa.js +1 -0
- package/screenshot-page/assets/{CxithxkenssFkfTT.js → Bml69dFBVggmVWda.js} +21 -21
- package/screenshot-page/assets/BoiQQ-37KQn6NcLT.js +1 -0
- package/screenshot-page/assets/{Z7Av7oqfaK7wy7Eb.js → C-n8BDiksNjX6Orz.js} +1 -1
- package/screenshot-page/assets/C5-sm7wuk62Nzm_p.js +1 -0
- package/screenshot-page/assets/C9a-cNha8mBw5q-l.js +1 -0
- package/screenshot-page/assets/CAQ7QWes7j7Fq8o5.js +2 -0
- package/screenshot-page/assets/{zFbb8ESzwR_bE7IQ.js → CBP4y6KFPu24xhDT.js} +1 -1
- package/screenshot-page/assets/{CzZu7Fd_VeHHL-4i.js → CEL5lzj2NDYwJ-HC.js} +1 -1
- package/screenshot-page/assets/CGx-ZSMV9cPOzbu4.js +2 -0
- package/screenshot-page/assets/CI3Z1f4amZ9G2rPD.js +5 -0
- package/screenshot-page/assets/{CXGgKVbVXjWzE0p6.js → CQ-33-es3XJ56pR4.js} +1 -1
- package/screenshot-page/assets/{BftXEPOuf5Uwxpud.js → CaOsWPeN_FXseSNg.js} +1 -1
- package/screenshot-page/assets/CaP_vH0sJFjNrSkW.js +1 -0
- package/screenshot-page/assets/{CBuH_YHDn7A9E_hX.js → Cbbl3H042tb0krfe.js} +2 -2
- package/screenshot-page/assets/{Bozva6Wr4B8Q5QZN.js → CcVllJMjVF6SvVVq.js} +2 -2
- package/screenshot-page/assets/{Bdt92xZzFotX0vdt.js → Ce8b0lOBuWKlfLzJ.js} +1 -1
- package/screenshot-page/assets/Cengqc8q8BTmNfb_.js +1 -0
- package/screenshot-page/assets/{nM1r2xslndIMKlI2.js → CiFaOHqsDQTE4RRi.js} +1 -1
- package/screenshot-page/assets/Cv0zGWEBpmC07Jps.js +1 -0
- package/screenshot-page/assets/CyfTQE0Z76Rp4Fbt.js +586 -0
- package/screenshot-page/assets/D2CxEHjkPQMAxzWl.js +1 -0
- package/screenshot-page/assets/D4hvW_TF7vwc-Xlq.js +2 -0
- package/screenshot-page/assets/{CtS8qZB4_3skg_zL.js → D7Y0npF3FMsGUjgO.js} +1 -1
- package/screenshot-page/assets/DACSL7FA_J91Z_H7.js +2 -0
- package/screenshot-page/assets/{COpZTXe_J1mSpeYD.js → DEAD_MduPNVoT_T6.js} +1 -1
- package/screenshot-page/assets/{D4VgxwLDPUfCxPS9.js → DMbFr7oWja7Qpsm6.js} +2 -2
- package/screenshot-page/assets/{CV9T0juyAiRmwTR-.js → DVQnEWIisXaOXb_G.js} +2 -2
- package/screenshot-page/assets/{CwutTi2EnNm_hyVj.js → DXbOBAxx4_2rt5KM.js} +1 -1
- package/screenshot-page/assets/DgLZb-StwCd9ftop.js +1 -0
- package/screenshot-page/assets/Dkf51CnZh2zPEGMd.js +1 -0
- package/screenshot-page/assets/DrnzLCa7NIirMxno.js +3 -0
- package/screenshot-page/assets/{bdWMVOcMKRI8kCDE.js → DtQFcMvZesaQ4xRf.js} +1 -1
- package/screenshot-page/assets/DvRXbyteeo_8sy8T.js +1 -0
- package/screenshot-page/assets/EOw6vVvEfYNga9b4.js +1 -0
- package/screenshot-page/assets/{CZq2dMHs2MHHyyBl.js → FcTM4SB17cEX1M3X.js} +1 -1
- package/screenshot-page/assets/{B5ujsbfF1ZBkPI4d.js → JM0_BaBZ3yF6lnHC.js} +2 -2
- package/screenshot-page/assets/{9WplgXo__vp3e1Su.js → ONNSfQ8RDOqBDsvw.js} +2 -2
- package/screenshot-page/assets/{CXUO3vYip3JPSJ7A.js → YH1wNXzhQbkuWxeS.js} +1 -1
- package/screenshot-page/assets/_zzVe2R8R4vwuc5q.js +48 -0
- package/screenshot-page/assets/{-cpi3yOZYn6GsYN4.js → gU2zeJaXoNh7QI_e.js} +2 -2
- package/screenshot-page/index.html +16 -16
- package/types/scripting-api.json +7064 -7062
- package/types/scripting.d.ts +34 -9
- package/assets/DrgkN0g7OHuD4iD6.js +0 -14
- package/screenshot-page/assets/B2oadmu_j6WfNbZ1.js +0 -1
- package/screenshot-page/assets/BEzCH6tp_dlxe7BH.js +0 -1
- package/screenshot-page/assets/BJvuevnsIw3DXQds.js +0 -2
- package/screenshot-page/assets/BLON9pILfrgdZqAM.js +0 -5
- package/screenshot-page/assets/BVx7CEdRItIR30Fz.js +0 -1
- package/screenshot-page/assets/Ble2ESZnJzZnd3cc.js +0 -1
- package/screenshot-page/assets/Blg5f-jAtZfGnZ71.js +0 -1
- package/screenshot-page/assets/Brp37MPC60tt9V3N.js +0 -1
- package/screenshot-page/assets/Bs65RHirk11sxOB9.js +0 -39
- package/screenshot-page/assets/Bu5h0ACtvNxDBmqw.js +0 -1
- package/screenshot-page/assets/BwFvwFIcX0dmcBt7.js +0 -1
- package/screenshot-page/assets/C0rOvlmOfLDpClJ_.js +0 -1
- package/screenshot-page/assets/CHZ1925OpIa8ssZn.js +0 -1
- package/screenshot-page/assets/CN3dPtUjDVvcnA4e.js +0 -1
- package/screenshot-page/assets/COO3CwHTbCgxybBd.js +0 -1
- package/screenshot-page/assets/CR8Rj_GpSbIqbaEO.js +0 -13
- package/screenshot-page/assets/ClC7zkHPp6egPrjL.js +0 -2
- package/screenshot-page/assets/CzijGQrSoteeqwmH.js +0 -2
- package/screenshot-page/assets/DG6q1MKITeSM4XMx.js +0 -1
- package/screenshot-page/assets/DHTXoT_pArB1opyI.js +0 -48
- package/screenshot-page/assets/DP2wwd1IM_gQtEaG.js +0 -1
- package/screenshot-page/assets/DQeIWKasFD3DnWL7.js +0 -586
- package/screenshot-page/assets/DuYb_otrRZZDq6-f.js +0 -2
- package/screenshot-page/assets/Ja-xcEStEdmh2Gwb.js +0 -2
- package/screenshot-page/assets/ODq-dKb9mTtqEIJl.js +0 -1
- package/screenshot-page/assets/VF7dro9jrDEAX6kD.js +0 -3
- package/screenshot-page/assets/kJwY8fmEeWlAtTAc.js +0 -1
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license @sheetxl/mcp - MCP server exposing SheetXL spreadsheet operations as tools and resources. - v0.8.0-beta.
|
|
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 { r as t } from "./
|
|
8
|
-
import { Q as e, Z as o, h as s, ht as r, ot as n, tt as i, xt as a } from "./
|
|
9
|
-
import { G as l, ht as c, lt as u, v as h } from "./
|
|
10
|
-
import { o as d, p, u as f } from "./
|
|
11
|
-
import {
|
|
12
|
-
import { P as
|
|
13
|
-
import { F as P, ft as O, vt as D, yt as N } from "./
|
|
14
|
-
import { $ as _, $n as M, Ar as $, B as R, Bt as V, C as L, Cr as j, Ct as B, Et as F, F as H, H as W, Hn as z, Ht as X, In as q, Ir as U, It as G, Jn as K, K as J, Kn as Z, Ln as Q, M as Y, Mr as tt, Mt as et, N as ot, Nn as st, O as rt, On as nt, Pr as it, Qn as at, Qt as lt, Rn as ct, S as ut, Sn as ht, T as dt, V as pt, W as ft, Wn as gt, Wt as mt, X as bt, Xn as yt, Yt as xt, Zn as wt, _n as Tt, _t as St, a as
|
|
7
|
+
import { r as t } from "./gver5Sz7ZO6ZyrOi.js";
|
|
8
|
+
import { Q as e, Z as o, h as s, ht as r, ot as n, tt as i, xt as a } from "./DIAQ_WlBCWhgHt-z.js";
|
|
9
|
+
import { G as l, ht as c, lt as u, v as h } from "./BomatnedZsGMF7MW.js";
|
|
10
|
+
import { o as d, p, u as f } from "./BI8kb-rd9dW85XJs.js";
|
|
11
|
+
import { M as g, Na as m, S as b, Sn as y, dt as v, i as x, ji as w, ln as T, qr as S, ui as C } from "./Cl04_aSpBHTwfsQR.js";
|
|
12
|
+
import { P as k, u as A, x as E, z as I } from "./ChbkkN_JqbAGrUwB.js";
|
|
13
|
+
import { F as P, ft as O, vt as D, yt as N } from "./BGxwDpW8DkO8W0Ig.js";
|
|
14
|
+
import { $ as _, $n as M, Ar as $, B as R, Bt as V, C as L, Cr as j, Ct as B, Et as F, F as H, H as W, Hn as z, Ht as X, In as q, Ir as U, It as G, Jn as K, K as J, Kn as Z, Ln as Q, M as Y, Mr as tt, Mt as et, N as ot, Nn as st, O as rt, On as nt, Pr as it, Qn as at, Qt as lt, Rn as ct, S as ut, Sn as ht, T as dt, V as pt, W as ft, Wn as gt, Wt as mt, X as bt, Xn as yt, Yt as xt, Zn as wt, _n as Tt, _t as St, a as Ct, an as kt, br as At, cr as Et, en as It, f as Pt, g as Ot, gr as Dt, gt as Nt, hr as _t, in as Mt, ir as $t, jt as Rt, kr as Vt, m as Lt, mr as jt, nr as Bt, ot as Ft, pn as Ht, q as Wt, qt as zt, rt as Xt, s as qt, sr as Ut, tt as Gt, u as Kt, ut as Jt, vn as Zt, vr as Qt, vt as Yt, x as te, xn as ee, xt as oe, yn as se, zn as re } from "./CpyybSV2kR6b-SIB.js";
|
|
15
15
|
var ne = {
|
|
16
16
|
ascending: "ascending",
|
|
17
17
|
descending: "descending",
|
|
@@ -64,7 +64,7 @@ function ie(t, e) {
|
|
|
64
64
|
continue;
|
|
65
65
|
}
|
|
66
66
|
const p = s.get(String(u.tableId)), f = p ? ae(p.columns, u.columnId) : null;
|
|
67
|
-
p && f ? (o.json = ce(u, o.json,
|
|
67
|
+
p && f ? (o.json = ce(u, o.json, C.structuredReference(p.name, f.name)), l.add(c), u.cachePath && e.markAbsorbed(u.cachePath)) : (e.warn("A slicer names no table; it was not imported.", "xlsx.slicer.cacheDefinition"), d.splice(t, 1));
|
|
68
68
|
}
|
|
69
69
|
delete u.slicers;
|
|
70
70
|
}
|
|
@@ -247,13 +247,13 @@ function ve() {
|
|
|
247
247
|
function xe(t) {
|
|
248
248
|
return Math.round(10 * t) / 10;
|
|
249
249
|
}
|
|
250
|
-
var we = ":A-Z_a-zÀ-ÖØ-öø-˿Ͱ-ͽͿ-⁰-Ⰰ-、-豈-﷏ﷰ-�𐀀-", Te = `-${we}.0-9·̀-ͯ‿-⁀`, Se = (new RegExp(`^[${we}]$`, "u"), new RegExp(`^[${Te}]$`, "u"), new RegExp(`^[${we}][${Te}]*$`, "u")),
|
|
250
|
+
var we = ":A-Z_a-zÀ-ÖØ-öø-˿Ͱ-ͽͿ-⁰-Ⰰ-、-豈-﷏ﷰ-�𐀀-", Te = `-${we}.0-9·̀-ͯ‿-⁀`, Se = (new RegExp(`^[${we}]$`, "u"), new RegExp(`^[${Te}]$`, "u"), new RegExp(`^[${we}][${Te}]*$`, "u")), Ce = (new RegExp(`^[${Te}]+$`, "u"), [
|
|
251
251
|
32,
|
|
252
252
|
10,
|
|
253
253
|
13,
|
|
254
254
|
9
|
|
255
255
|
]);
|
|
256
|
-
function
|
|
256
|
+
function ke(t) {
|
|
257
257
|
return t >= 65 && t <= 90 || t >= 97 && t <= 122 || 58 === t || 95 === t || 8204 === t || 8205 === t || t >= 192 && t <= 214 || t >= 216 && t <= 246 || t >= 248 && t <= 767 || t >= 880 && t <= 893 || t >= 895 && t <= 8191 || t >= 8304 && t <= 8591 || t >= 11264 && t <= 12271 || t >= 12289 && t <= 55295 || t >= 63744 && t <= 64975 || t >= 65008 && t <= 65533 || t >= 65536 && t <= 983039;
|
|
258
258
|
}
|
|
259
259
|
var Ae = ":A-Z_a-zÀ-ÖØ-öø-˿Ͱ-ͽͿ-⁰-Ⰰ-、-豈-﷏ﷰ-�𐀀-", Ee = `-${Ae}.0-9·̀-ͯ‿-⁀`;
|
|
@@ -266,9 +266,9 @@ var Ne, _e = function(t) {
|
|
|
266
266
|
return 32 === t || 10 === t || 13 === t || 9 === t;
|
|
267
267
|
}, Me = function(t) {
|
|
268
268
|
return t >= 32 && t <= 55295 || 10 === t || 13 === t || 9 === t || t >= 57344 && t <= 65533 || t >= 65536 && t <= 1114111;
|
|
269
|
-
}, $e =
|
|
270
|
-
return
|
|
271
|
-
}, Ve =
|
|
269
|
+
}, $e = ke, Re = function(t) {
|
|
270
|
+
return ke(t) || t >= 48 && t <= 57 || 45 === t || 46 === t || 183 === t || t >= 768 && t <= 879 || t >= 8255 && t <= 8256;
|
|
271
|
+
}, Ve = Ce, Le = Se, je = function(t) {
|
|
272
272
|
return t >= 1 && t <= 55295 || t >= 57344 && t <= 65533 || t >= 65536 && t <= 1114111;
|
|
273
273
|
}, Be = De, Fe = function(t) {
|
|
274
274
|
return De(t) || 45 === t || 46 === t || t >= 48 && t <= 57 || 183 === t || t >= 768 && t <= 879 || t >= 8255 && t <= 8256;
|
|
@@ -1313,10 +1313,10 @@ var uo = (t) => He.test(t), ho = (t) => Le.test(t), po = {
|
|
|
1313
1313
|
var To = (t) => !0 === t || "1" === t || "on" === t || "true" === t || !1 !== t && "0" !== t && "off" !== t && "false" !== t && null, So = (t) => {
|
|
1314
1314
|
const e = parseInt(t);
|
|
1315
1315
|
return isNaN(e) ? null : e;
|
|
1316
|
-
},
|
|
1316
|
+
}, Co = (t) => {
|
|
1317
1317
|
const e = parseFloat(t);
|
|
1318
1318
|
return isNaN(e) ? null : e;
|
|
1319
|
-
},
|
|
1319
|
+
}, ko = null, Ao = (t) => t.replace(/&/g, "&").replace(/</g, "<").replace(/>/g, ">"), Eo = (t) => Ao(t).replace(/"/g, """), Io = class {
|
|
1320
1320
|
constructor() {
|
|
1321
1321
|
this._registeredVisitors = /* @__PURE__ */ new Map();
|
|
1322
1322
|
}
|
|
@@ -1505,19 +1505,19 @@ var To = (t) => !0 === t || "1" === t || "on" === t || "true" === t || !1 !== t
|
|
|
1505
1505
|
return !(!s || s.rowStart !== t || s.colEnd !== e - 1) && (s.colEnd = e, this._byColumn.set(e, s), s.restored);
|
|
1506
1506
|
}
|
|
1507
1507
|
getFormulaArray() {
|
|
1508
|
-
return this._restored.map((t) => [
|
|
1508
|
+
return this._restored.map((t) => [T.rangeToString(t), "dynamic"]);
|
|
1509
1509
|
}
|
|
1510
1510
|
}, Vo = /^\s*TABLE\s*\(([^()]*)\)\s*$/i, Lo = /^\s*(\$?)([A-Za-z]{1,3})(\$?)(\d{1,7})\s*$/, jo = (t) => {
|
|
1511
1511
|
const e = Lo.exec(t);
|
|
1512
1512
|
if (!e) return null;
|
|
1513
|
-
const o =
|
|
1513
|
+
const o = T.fastStringToCol(e[2]), s = parseInt(e[4], 10) - 1;
|
|
1514
1514
|
return o < 0 || s < 0 ? null : {
|
|
1515
1515
|
row: s,
|
|
1516
1516
|
col: o,
|
|
1517
1517
|
colAbsolute: "$" === e[1],
|
|
1518
1518
|
rowAbsolute: "$" === e[3]
|
|
1519
1519
|
};
|
|
1520
|
-
}, Bo = (t) =>
|
|
1520
|
+
}, Bo = (t) => T.cellToString({
|
|
1521
1521
|
rowIndex: t.row,
|
|
1522
1522
|
colIndex: t.col
|
|
1523
1523
|
}), Fo = (t, e) => {
|
|
@@ -1715,13 +1715,13 @@ var Ko = {
|
|
|
1715
1715
|
if (null !== e) return s?.get(e) || (n?.(`A color filter or sort names a format that does not exist (dxfId '${e}').`), {});
|
|
1716
1716
|
};
|
|
1717
1717
|
let u = !1;
|
|
1718
|
-
const h = a?.get("parseInlineDxf"), d = a?.get(Qo), f = (t) => d && t ? d.readDetached(t) : t,
|
|
1719
|
-
let
|
|
1718
|
+
const h = a?.get("parseInlineDxf"), d = a?.get(Qo), f = (t) => d && t ? d.readDetached(t) : t, y = new m.TransposedBuilder();
|
|
1719
|
+
let v = null, x = "topLeft";
|
|
1720
1720
|
l.registerVisitor({
|
|
1721
1721
|
from: "autoFilter",
|
|
1722
1722
|
to: "autoTable",
|
|
1723
1723
|
openTag: (t) => {
|
|
1724
|
-
const e = t.getAttribute("ref"), o =
|
|
1724
|
+
const e = t.getAttribute("ref"), o = T.fastStringToRange(e);
|
|
1725
1725
|
t.getSource().r = o, t.getSource().v = {};
|
|
1726
1726
|
},
|
|
1727
1727
|
closeTag: (t) => {
|
|
@@ -1756,13 +1756,13 @@ var Ko = {
|
|
|
1756
1756
|
r: e.r,
|
|
1757
1757
|
v: null,
|
|
1758
1758
|
rule: o
|
|
1759
|
-
}), t.copyToObject(o, "type",
|
|
1759
|
+
}), t.copyToObject(o, "type", ko), t.copyToObject(o, "priority", So), t.copyToObject(o, "stopIfTrue", To);
|
|
1760
1760
|
const r = t.getAttribute("dxfId", So);
|
|
1761
1761
|
if (null !== r) {
|
|
1762
1762
|
let e = s?.get(r);
|
|
1763
1763
|
e || (n?.(`Unable to load conditional color. Invalid dxfI: '${r}' at '${t.getPath()}'.`), e = {}), o.style = e;
|
|
1764
1764
|
}
|
|
1765
|
-
t.copyToObject(o, "aboveAverage", To), t.copyToObject(o, "equalAverage", To), t.copyToObject(o, "stdDev", So), t.copyToObject(o, "bottom", To), t.copyToObject(o, "percent", To), t.copyToObject(o, "rank", So), t.copyToObject(o, "operator",
|
|
1765
|
+
t.copyToObject(o, "aboveAverage", To), t.copyToObject(o, "equalAverage", To), t.copyToObject(o, "stdDev", So), t.copyToObject(o, "bottom", To), t.copyToObject(o, "percent", To), t.copyToObject(o, "rank", So), t.copyToObject(o, "operator", ko), t.copyToObject(o, "text", ko), t.copyToObject(o, "timePeriod", ko);
|
|
1766
1766
|
},
|
|
1767
1767
|
closeTag: (t) => {
|
|
1768
1768
|
const e = t.getParent();
|
|
@@ -1773,10 +1773,13 @@ var Ko = {
|
|
|
1773
1773
|
i && (r.condition = i), s.style && (r.style = s.style), s.scale && (r.scale = s.scale), s.stopIfTrue && (r.stopIfTrue = !0), s.pivot && "number" == typeof s.priority && (r.pivotKey = s.priority), o.v = r, o.priority = s.priority, s.x14Id && (o.x14Id = s.x14Id), delete o.rule;
|
|
1774
1774
|
}
|
|
1775
1775
|
});
|
|
1776
|
-
const
|
|
1776
|
+
const w = (t, e) => {
|
|
1777
1777
|
const o = e.minLength ?? 10, s = e.maxLength ?? 90;
|
|
1778
1778
|
0 === o ? delete t.minLength : t.minLength = o, 100 === s ? delete t.maxLength : t.maxLength = s;
|
|
1779
|
-
},
|
|
1779
|
+
}, C = (t, e) => {
|
|
1780
|
+
const o = (t, e) => !t || t.type === e && void 0 === t.value && !t.exclusive, [s, r] = e;
|
|
1781
|
+
o(s, b.ColorStopType.Min) ? delete t.minPoint : t.minPoint = s, o(r, b.ColorStopType.Max) ? delete t.maxPoint : t.maxPoint = r;
|
|
1782
|
+
}, k = (t) => {
|
|
1780
1783
|
const e = t.conditions ?? [], o = [];
|
|
1781
1784
|
for (let t = 0; t < e.length; t++) {
|
|
1782
1785
|
const s = e[t], r = {};
|
|
@@ -1789,10 +1792,10 @@ var Ko = {
|
|
|
1789
1792
|
to: {},
|
|
1790
1793
|
openTag: (t) => {},
|
|
1791
1794
|
closeTag: (t) => {
|
|
1792
|
-
const e = t.getSource(), o = e.colors ?? [], s =
|
|
1795
|
+
const e = t.getSource(), o = e.colors ?? [], s = k(e);
|
|
1793
1796
|
for (let t = 0; t < s.length; t++) s[t].color = o[t];
|
|
1794
1797
|
t.getParent().scale = {
|
|
1795
|
-
type:
|
|
1798
|
+
type: b.ScaleType.ColorScale,
|
|
1796
1799
|
stops: s
|
|
1797
1800
|
};
|
|
1798
1801
|
}
|
|
@@ -1803,23 +1806,21 @@ var Ko = {
|
|
|
1803
1806
|
t.copyTo("maxLength", So), t.copyTo("minLength", So), t.copyTo("showValue", To);
|
|
1804
1807
|
},
|
|
1805
1808
|
closeTag: (t) => {
|
|
1806
|
-
const e = t.getSource(), o = {
|
|
1807
|
-
|
|
1808
|
-
|
|
1809
|
-
|
|
1810
|
-
}, s = e.colors?.[0];
|
|
1811
|
-
s && (o.color = s), T(o, e), void 0 !== e.showValue && (o.showValue = e.showValue), t.getParent().scale = o;
|
|
1809
|
+
const e = t.getSource(), o = { type: b.ScaleType.DataBar };
|
|
1810
|
+
C(o, k(e));
|
|
1811
|
+
const s = e.colors?.[0];
|
|
1812
|
+
s && (o.color = s), w(o, e), void 0 !== e.showValue && (o.showValue = e.showValue), t.getParent().scale = o;
|
|
1812
1813
|
}
|
|
1813
1814
|
}), l.registerVisitor({
|
|
1814
1815
|
from: "iconSet",
|
|
1815
1816
|
to: {},
|
|
1816
1817
|
openTag: (t) => {
|
|
1817
|
-
t.copyTo("iconSet",
|
|
1818
|
+
t.copyTo("iconSet", ko), t.copyTo("reverse", To), t.copyTo("showValue", To);
|
|
1818
1819
|
},
|
|
1819
1820
|
closeTag: (t) => {
|
|
1820
1821
|
const e = t.getSource(), o = {
|
|
1821
|
-
type:
|
|
1822
|
-
stops:
|
|
1822
|
+
type: b.ScaleType.IconSet,
|
|
1823
|
+
stops: k(e)
|
|
1823
1824
|
};
|
|
1824
1825
|
void 0 !== e.iconSet && (o.iconSet = e.iconSet), void 0 !== e.reverse && (o.reverse = e.reverse), void 0 !== e.showValue && (o.showValue = e.showValue), t.getParent().scale = o;
|
|
1825
1826
|
}
|
|
@@ -1838,10 +1839,10 @@ var Ko = {
|
|
|
1838
1839
|
const e = t.getParent();
|
|
1839
1840
|
e.conditions || (e.conditions = []);
|
|
1840
1841
|
const o = t.getSource();
|
|
1841
|
-
if (e.conditions.push(o), t.copyTo("type",
|
|
1842
|
+
if (e.conditions.push(o), t.copyTo("type", ko), o.type === b.ColorStopType.Formula) {
|
|
1842
1843
|
const e = t.getAttribute("val");
|
|
1843
1844
|
null != e && (o.value = f(String(e)));
|
|
1844
|
-
} else t.copyTo("value",
|
|
1845
|
+
} else t.copyTo("value", Co, "val");
|
|
1845
1846
|
!1 === t.getAttribute("gte", To) && (o.exclusive = !0);
|
|
1846
1847
|
}
|
|
1847
1848
|
}), l.registerVisitor({
|
|
@@ -1876,7 +1877,7 @@ var Ko = {
|
|
|
1876
1877
|
from: "colorFilter",
|
|
1877
1878
|
openTag: (t) => {
|
|
1878
1879
|
const e = t.getParent(), o = {};
|
|
1879
|
-
e.operator =
|
|
1880
|
+
e.operator = S.BuiltInOperatorNames.Color, e.param = o, t.copyToObject(o, "cellColor", To);
|
|
1880
1881
|
const s = c(t);
|
|
1881
1882
|
s && (o.style = s);
|
|
1882
1883
|
}
|
|
@@ -1884,13 +1885,13 @@ var Ko = {
|
|
|
1884
1885
|
from: "iconFilter",
|
|
1885
1886
|
openTag: (t) => {
|
|
1886
1887
|
const e = t.getParent(), o = {};
|
|
1887
|
-
e.operator =
|
|
1888
|
+
e.operator = S.BuiltInOperatorNames.Icon, e.param = o, t.copyToObject(o, "iconId", So), t.copyToObject(o, "iconSet", ko);
|
|
1888
1889
|
}
|
|
1889
1890
|
}), l.registerVisitor({
|
|
1890
1891
|
from: "top10",
|
|
1891
1892
|
openTag: (t) => {
|
|
1892
1893
|
const e = t.getParent(), o = {};
|
|
1893
|
-
e.operator =
|
|
1894
|
+
e.operator = S.BuiltInOperatorNames.TopN, e.param = o, t.copyToObject(o, "filterVal", Co), t.copyToObject(o, "percent", To), t.copyToObject(o, "top", To), t.copyToObject(o, "limit", Co, "val");
|
|
1894
1895
|
}
|
|
1895
1896
|
}), l.registerVisitor({
|
|
1896
1897
|
from: "dynamicFilter",
|
|
@@ -1899,43 +1900,43 @@ var Ko = {
|
|
|
1899
1900
|
e.operator = o.operator, e.param = o.param;
|
|
1900
1901
|
}
|
|
1901
1902
|
});
|
|
1902
|
-
const
|
|
1903
|
+
const A = {
|
|
1903
1904
|
from: "filters",
|
|
1904
1905
|
to: {},
|
|
1905
1906
|
openTag: (t) => {
|
|
1906
1907
|
const e = t.getParent(), o = {};
|
|
1907
|
-
return e.selector =
|
|
1908
|
+
return e.selector = S.BuiltInSelectorNames.Display, e.operator = S.BuiltInOperatorNames.InSet, e.param = o, t.copyToObject(o, "blank", To), t.copyToObject(o, "calendarType", ko), o;
|
|
1908
1909
|
}
|
|
1909
1910
|
};
|
|
1910
|
-
l.registerVisitor(
|
|
1911
|
-
const
|
|
1911
|
+
l.registerVisitor(A);
|
|
1912
|
+
const E = {
|
|
1912
1913
|
from: "filter",
|
|
1913
1914
|
openTag: (t) => {
|
|
1914
1915
|
const e = t.getParent();
|
|
1915
1916
|
let o = e.items;
|
|
1916
|
-
o || (o = [], e.items = o), o.push(t.getAttribute("val",
|
|
1917
|
+
o || (o = [], e.items = o), o.push(t.getAttribute("val", ko));
|
|
1917
1918
|
}
|
|
1918
1919
|
};
|
|
1919
|
-
l.registerVisitor(
|
|
1920
|
-
const
|
|
1920
|
+
l.registerVisitor(E);
|
|
1921
|
+
const I = {
|
|
1921
1922
|
from: "dateGroupItem",
|
|
1922
1923
|
to: {},
|
|
1923
1924
|
openTag: (t) => {
|
|
1924
1925
|
const e = t.getParent();
|
|
1925
1926
|
let o = e.dateGroups;
|
|
1926
|
-
o || (o = [], e.dateGroups = o), o.push(t.getSource()), t.copyTo("group",
|
|
1927
|
+
o || (o = [], e.dateGroups = o), o.push(t.getSource()), t.copyTo("group", ko, "dateTimeGrouping"), t.copyTo("day", So), t.copyTo("hour", So), t.copyTo("minute", So), t.copyTo("month", So), t.copyTo("second", So), t.copyTo("year", So);
|
|
1927
1928
|
}
|
|
1928
1929
|
};
|
|
1929
|
-
l.registerVisitor(
|
|
1930
|
-
const
|
|
1931
|
-
|
|
1930
|
+
l.registerVisitor(I);
|
|
1931
|
+
const P = /* @__PURE__ */ new Map();
|
|
1932
|
+
P.set("filterColumn", {
|
|
1932
1933
|
from: "filterColumn",
|
|
1933
1934
|
transparent: !0
|
|
1934
|
-
}),
|
|
1935
|
+
}), P.set("filters", A), P.set("filter", E), P.set("dateGroupItem", I), l.registerVisitor({
|
|
1935
1936
|
from: "customFilters",
|
|
1936
1937
|
openTag: (t) => {
|
|
1937
1938
|
const e = t.getParent(), o = t.getAttribute("and"), s = "and" === o || "1" === o, r = [];
|
|
1938
|
-
return e.operator = s ?
|
|
1939
|
+
return e.operator = s ? S.BuiltInOperatorNames.And : S.BuiltInOperatorNames.Or, e.param = r, t.setSource(e), r;
|
|
1939
1940
|
},
|
|
1940
1941
|
closeTag: (t) => {
|
|
1941
1942
|
const e = t.getSource(), o = e?.param;
|
|
@@ -1956,7 +1957,7 @@ var Ko = {
|
|
|
1956
1957
|
s && (o.operator = s.operator, o.param = s.param);
|
|
1957
1958
|
}
|
|
1958
1959
|
});
|
|
1959
|
-
let
|
|
1960
|
+
let O = {}, D = null;
|
|
1960
1961
|
l.registerVisitor({
|
|
1961
1962
|
from: "sortState",
|
|
1962
1963
|
to: {},
|
|
@@ -1965,16 +1966,16 @@ var Ko = {
|
|
|
1965
1966
|
let o = e.v;
|
|
1966
1967
|
if (!o) return;
|
|
1967
1968
|
const s = {};
|
|
1968
|
-
|
|
1969
|
+
O = {};
|
|
1969
1970
|
const r = t.getAttribute("caseSensitive", To);
|
|
1970
|
-
null != r && (
|
|
1971
|
+
null != r && (O.collatorOptions = r ? g.CaseSensitiveOptions : g.CaseInsensitiveOptions);
|
|
1971
1972
|
const n = t.getAttribute("sortMethod");
|
|
1972
|
-
"stroke" !== n && "pinYin" !== n || (
|
|
1973
|
-
...
|
|
1973
|
+
"stroke" !== n && "pinYin" !== n || (O.collatorOptions = {
|
|
1974
|
+
...O.collatorOptions,
|
|
1974
1975
|
collation: "stroke" === n ? "stroke" : "pinyin"
|
|
1975
1976
|
}), t.getAttribute("columnSort", To) && (s.axis = p.Axis.Column);
|
|
1976
1977
|
const i = t.getAttribute("ref"), a = e.r;
|
|
1977
|
-
|
|
1978
|
+
D = i && a ? T.fastStringToRange(i) : null, D && (s.extent = { range: Vt(a, D) }), o.sort = s, t.setSource(e);
|
|
1978
1979
|
}
|
|
1979
1980
|
}), l.registerVisitor({
|
|
1980
1981
|
from: "sortCondition",
|
|
@@ -1989,14 +1990,14 @@ var Ko = {
|
|
|
1989
1990
|
const n = t.getAttribute("ref");
|
|
1990
1991
|
let i = 0, a = null;
|
|
1991
1992
|
if (n) {
|
|
1992
|
-
const t =
|
|
1993
|
-
i = s ? o - r : o, s &&
|
|
1993
|
+
const t = T.fastStringToRange(n, as), o = t.colStart, s = e.r, r = s.colStart;
|
|
1994
|
+
i = s ? o - r : o, s && D && (a = _t(s, D, t));
|
|
1994
1995
|
}
|
|
1995
1996
|
s.extent && (s.extent.sorts ??= []).push(a);
|
|
1996
|
-
const l = { ...
|
|
1997
|
+
const l = { ...O }, u = qt(t.getAttribute("sortBy"));
|
|
1997
1998
|
u && (l.sortOn = u);
|
|
1998
1999
|
const h = c(t);
|
|
1999
|
-
h && (l.style = h), t.copyToObject(l, "iconSet",
|
|
2000
|
+
h && (l.style = h), t.copyToObject(l, "iconSet", ko), t.copyToObject(l, "customList", ko), l.reverse = t.getAttribute("descending", To) ?? !1;
|
|
2000
2001
|
const d = {
|
|
2001
2002
|
index: i,
|
|
2002
2003
|
criteria: l
|
|
@@ -2004,10 +2005,10 @@ var Ko = {
|
|
|
2004
2005
|
r.push(d);
|
|
2005
2006
|
}
|
|
2006
2007
|
});
|
|
2007
|
-
const
|
|
2008
|
-
|
|
2008
|
+
const N = (t) => {
|
|
2009
|
+
v = t.getSource(), x = "topLeft", t.copyTo("topLeft", ko, "topLeftCell");
|
|
2009
2010
|
const e = ct(t.getAttribute("defaultGridColor")), o = t.getAttribute("colorId");
|
|
2010
|
-
null === o || e || (t.getSource().gridLineColor = "index" + parseFloat(o)), t.copyTo("showZeros", To), t.copyTo("showFormulas", To), t.copyTo("zoomScale", So), t.copyTo("viewMode",
|
|
2011
|
+
null === o || e || (t.getSource().gridLineColor = "index" + parseFloat(o)), t.copyTo("showZeros", To), t.copyTo("showFormulas", To), t.copyTo("zoomScale", So), t.copyTo("viewMode", ko, "view");
|
|
2011
2012
|
const s = {};
|
|
2012
2013
|
for (const [e, o] of Yt) {
|
|
2013
2014
|
const r = t.getAttribute(o, So);
|
|
@@ -2019,10 +2020,10 @@ var Ko = {
|
|
|
2019
2020
|
from: "sheetView",
|
|
2020
2021
|
to: "view",
|
|
2021
2022
|
openTag: (t) => {
|
|
2022
|
-
|
|
2023
|
+
N(t);
|
|
2023
2024
|
},
|
|
2024
2025
|
closeTag: () => {
|
|
2025
|
-
|
|
2026
|
+
v = null;
|
|
2026
2027
|
}
|
|
2027
2028
|
}), l.registerVisitor({
|
|
2028
2029
|
from: "customSheetViews",
|
|
@@ -2034,19 +2035,19 @@ var Ko = {
|
|
|
2034
2035
|
from: "customSheetView",
|
|
2035
2036
|
to: [],
|
|
2036
2037
|
openTag: (t) => {
|
|
2037
|
-
|
|
2038
|
+
_ = !0, N(t);
|
|
2038
2039
|
},
|
|
2039
2040
|
closeTag: () => {
|
|
2040
|
-
|
|
2041
|
+
_ = !1, v = null;
|
|
2041
2042
|
}
|
|
2042
2043
|
}), l.registerVisitor({
|
|
2043
2044
|
from: "selection",
|
|
2044
2045
|
to: null,
|
|
2045
2046
|
openTag: (t) => {
|
|
2046
|
-
if (!
|
|
2047
|
+
if (!v) return;
|
|
2047
2048
|
const e = t.getAttribute("activeCell")?.replace(/\$/g, ""), o = t.getAttribute("sqref")?.replace(/\$/g, ""), s = t.getAttribute("pane") ?? "topLeft";
|
|
2048
|
-
if (s !==
|
|
2049
|
-
const t =
|
|
2049
|
+
if (s !== x) {
|
|
2050
|
+
const t = v.freezePanes;
|
|
2050
2051
|
if (t && e) {
|
|
2051
2052
|
const r = { activeCell: e };
|
|
2052
2053
|
o && o !== e && (r.sqref = o), (t.paneSelections ??= {})[s] = r;
|
|
@@ -2056,19 +2057,19 @@ var Ko = {
|
|
|
2056
2057
|
const r = {};
|
|
2057
2058
|
e && (r.cell = e);
|
|
2058
2059
|
const n = t.getAttribute("activeCellId", So);
|
|
2059
|
-
null !== n && (r.rangeIndex = n), o && o !== e && (r.ranges = o.trim().split(/\s+/)),
|
|
2060
|
+
null !== n && (r.rangeIndex = n), o && o !== e && (r.ranges = o.trim().split(/\s+/)), v.selection = r;
|
|
2060
2061
|
}
|
|
2061
2062
|
}), l.registerVisitor({
|
|
2062
2063
|
from: "pane",
|
|
2063
2064
|
to: null,
|
|
2064
2065
|
openTag: (t) => {
|
|
2065
|
-
if (!
|
|
2066
|
-
|
|
2066
|
+
if (!v) return;
|
|
2067
|
+
x = t.getAttribute("activePane") ?? "topLeft";
|
|
2067
2068
|
const e = t.getAttribute("state");
|
|
2068
2069
|
if ("frozen" === e || "frozenSplit" === e) {
|
|
2069
2070
|
const e = {};
|
|
2070
|
-
|
|
2071
|
-
const o = (
|
|
2071
|
+
v.freezePanes = e, t.copyToObject(e, "topLeft", ko, "topLeftCell");
|
|
2072
|
+
const o = (v.topLeft ? T.fastStringToCell(v.topLeft) : void 0) ?? {
|
|
2072
2073
|
colIndex: 0,
|
|
2073
2074
|
rowIndex: 0
|
|
2074
2075
|
}, s = {
|
|
@@ -2080,7 +2081,7 @@ var Ko = {
|
|
|
2080
2081
|
colIndex: o.colIndex + s.colIndex,
|
|
2081
2082
|
rowIndex: o.rowIndex + s.rowIndex
|
|
2082
2083
|
};
|
|
2083
|
-
e.coords =
|
|
2084
|
+
e.coords = T.cellToString(r);
|
|
2084
2085
|
}
|
|
2085
2086
|
}
|
|
2086
2087
|
}), l.registerVisitor({
|
|
@@ -2102,13 +2103,13 @@ var Ko = {
|
|
|
2102
2103
|
o && (t.tabColor = o);
|
|
2103
2104
|
}
|
|
2104
2105
|
});
|
|
2105
|
-
let
|
|
2106
|
-
const
|
|
2106
|
+
let _ = !1;
|
|
2107
|
+
const M = () => t.pageLayout ??= {};
|
|
2107
2108
|
l.registerVisitor({
|
|
2108
2109
|
from: "pageSetUpPr",
|
|
2109
2110
|
to: null,
|
|
2110
2111
|
openTag: (t) => {
|
|
2111
|
-
!0 === t.getAttribute("fitToPage", To) && (
|
|
2112
|
+
!0 === t.getAttribute("fitToPage", To) && (M().fitToPage = !0), !1 === t.getAttribute("autoPageBreaks", To) && (M().hideAutoPageBreaks = !0);
|
|
2112
2113
|
}
|
|
2113
2114
|
}), l.registerVisitor({
|
|
2114
2115
|
from: "outlinePr",
|
|
@@ -2127,8 +2128,8 @@ var Ko = {
|
|
|
2127
2128
|
from: "pageMargins",
|
|
2128
2129
|
to: null,
|
|
2129
2130
|
openTag: (t) => {
|
|
2130
|
-
if (
|
|
2131
|
-
const e = (e, o) => t.getAttribute(e,
|
|
2131
|
+
if (_) return;
|
|
2132
|
+
const e = (e, o) => t.getAttribute(e, Co) ?? o, o = {
|
|
2132
2133
|
left: e("left", .7),
|
|
2133
2134
|
right: e("right", .7),
|
|
2134
2135
|
top: e("top", .75),
|
|
@@ -2136,14 +2137,14 @@ var Ko = {
|
|
|
2136
2137
|
header: e("header", .3),
|
|
2137
2138
|
footer: e("footer", .3)
|
|
2138
2139
|
};
|
|
2139
|
-
.7 === o.left && .7 === o.right && .75 === o.top && .75 === o.bottom && .3 === o.header && .3 === o.footer || (
|
|
2140
|
+
.7 === o.left && .7 === o.right && .75 === o.top && .75 === o.bottom && .3 === o.header && .3 === o.footer || (M().margins = o);
|
|
2140
2141
|
}
|
|
2141
2142
|
}), l.registerVisitor({
|
|
2142
2143
|
from: "pageSetup",
|
|
2143
2144
|
to: null,
|
|
2144
2145
|
openTag: (t) => {
|
|
2145
|
-
if (
|
|
2146
|
-
const o =
|
|
2146
|
+
if (_) return;
|
|
2147
|
+
const o = M(), s = (e) => t.getAttribute(e, So) ?? void 0, r = (e) => t.getAttribute(e, To), n = t.getAttribute("orientation");
|
|
2147
2148
|
"landscape" !== n && "portrait" !== n || (o.orientation = n);
|
|
2148
2149
|
for (const t of [
|
|
2149
2150
|
"paperSize",
|
|
@@ -2173,49 +2174,49 @@ var Ko = {
|
|
|
2173
2174
|
from: "printOptions",
|
|
2174
2175
|
to: null,
|
|
2175
2176
|
openTag: (t) => {
|
|
2176
|
-
if (
|
|
2177
|
+
if (_) return;
|
|
2177
2178
|
const e = (e) => !0 === t.getAttribute(e, To);
|
|
2178
|
-
e("horizontalCentered") && (
|
|
2179
|
+
e("horizontalCentered") && (M().centerHorizontally = !0), e("verticalCentered") && (M().centerVertically = !0), e("gridLines") && (M().printGridlines = !0), e("headings") && (M().printHeadings = !0);
|
|
2179
2180
|
}
|
|
2180
2181
|
}), l.registerVisitor({
|
|
2181
2182
|
from: "headerFooter",
|
|
2182
2183
|
to: {},
|
|
2183
2184
|
openTag: (t) => {
|
|
2184
|
-
if (
|
|
2185
|
+
if (_) return;
|
|
2185
2186
|
const e = {}, o = (e) => t.getAttribute(e, To);
|
|
2186
|
-
!0 === o("differentOddEven") && (e.differentOddEven = !0), !0 === o("differentFirst") && (e.differentFirst = !0), !1 === o("scaleWithDoc") && (e.ignoreSheetScale = !0), !1 === o("alignWithMargins") && (e.ignoreSheetMargins = !0), Object.keys(e).length > 0 && (
|
|
2187
|
+
!0 === o("differentOddEven") && (e.differentOddEven = !0), !0 === o("differentFirst") && (e.differentFirst = !0), !1 === o("scaleWithDoc") && (e.ignoreSheetScale = !0), !1 === o("alignWithMargins") && (e.ignoreSheetMargins = !0), Object.keys(e).length > 0 && (M().headerFooter = e);
|
|
2187
2188
|
}
|
|
2188
2189
|
});
|
|
2189
2190
|
for (const t of et) l.registerVisitor({
|
|
2190
2191
|
from: t,
|
|
2191
2192
|
to: {},
|
|
2192
2193
|
text: (e, o) => {
|
|
2193
|
-
if (
|
|
2194
|
-
const s =
|
|
2194
|
+
if (_) return;
|
|
2195
|
+
const s = M(), r = s.headerFooter ??= {};
|
|
2195
2196
|
r[t] = (r[t] ?? "") + W(e);
|
|
2196
2197
|
}
|
|
2197
2198
|
});
|
|
2198
|
-
let
|
|
2199
|
+
let R = "rowBreaks";
|
|
2199
2200
|
for (const [t, e] of [["rowBreaks", "rowBreaks"], ["colBreaks", "columnBreaks"]]) l.registerVisitor({
|
|
2200
2201
|
from: t,
|
|
2201
2202
|
to: {},
|
|
2202
2203
|
openTag: () => {
|
|
2203
|
-
|
|
2204
|
+
R = e;
|
|
2204
2205
|
}
|
|
2205
2206
|
});
|
|
2206
2207
|
l.registerVisitor({
|
|
2207
2208
|
from: "brk",
|
|
2208
2209
|
to: null,
|
|
2209
2210
|
openTag: (t) => {
|
|
2210
|
-
if (
|
|
2211
|
+
if (_) return;
|
|
2211
2212
|
const e = t.getAttribute("id", So);
|
|
2212
2213
|
if (null == e) return;
|
|
2213
2214
|
const o = { index: e }, s = t.getAttribute("min", So);
|
|
2214
2215
|
null != s && (o.min = s);
|
|
2215
2216
|
const r = t.getAttribute("max", So);
|
|
2216
2217
|
null != r && (o.max = r), !0 !== t.getAttribute("man", To) && (o.automatic = !0), !0 === t.getAttribute("pt", To) && (o.pivot = !0);
|
|
2217
|
-
const n =
|
|
2218
|
-
(n[
|
|
2218
|
+
const n = M();
|
|
2219
|
+
(n[R] ??= []).push(o);
|
|
2219
2220
|
}
|
|
2220
2221
|
}), l.registerVisitor({
|
|
2221
2222
|
from: "ignoredErrors",
|
|
@@ -2255,7 +2256,7 @@ var Ko = {
|
|
|
2255
2256
|
});
|
|
2256
2257
|
}
|
|
2257
2258
|
});
|
|
2258
|
-
const
|
|
2259
|
+
const L = {
|
|
2259
2260
|
from: "dataValidation",
|
|
2260
2261
|
to: [],
|
|
2261
2262
|
openTag: (t) => {
|
|
@@ -2269,7 +2270,7 @@ var Ko = {
|
|
|
2269
2270
|
operator: t.getAttribute("operator") ?? void 0
|
|
2270
2271
|
}
|
|
2271
2272
|
};
|
|
2272
|
-
!0 === t.getAttribute("showDropDown", To) && (o.hideDropdown = !0), t.copyToObject(o, "alert",
|
|
2273
|
+
!0 === t.getAttribute("showDropDown", To) && (o.hideDropdown = !0), t.copyToObject(o, "alert", ko, "error"), t.copyToObject(o, "alertTitle", ko, "errorTitle"), t.copyToObject(o, "showAlertMessage", To, "showErrorMessage"), o.alertStyle = t.getAttribute("errorStyle") ?? "stop", t.copyToObject(o, "imeMode"), t.copyToObject(o, "prompt"), t.copyToObject(o, "promptTitle"), t.copyToObject(o, "showPromptMessage", To, "showInputMessage"), t.setSource(s);
|
|
2273
2274
|
},
|
|
2274
2275
|
closeTag: (t) => {
|
|
2275
2276
|
const e = t.getSource();
|
|
@@ -2278,7 +2279,7 @@ var Ko = {
|
|
|
2278
2279
|
o && (t.getAttribute("allowBlank", To) && (o.includeBlanks = !0), e.v.condition = o), delete e.rule;
|
|
2279
2280
|
}
|
|
2280
2281
|
};
|
|
2281
|
-
l.registerVisitor(
|
|
2282
|
+
l.registerVisitor(L), l.registerVisitor({
|
|
2282
2283
|
from: "formula1",
|
|
2283
2284
|
to: {},
|
|
2284
2285
|
text: (t, e) => {
|
|
@@ -2302,7 +2303,7 @@ var Ko = {
|
|
|
2302
2303
|
t.getSource().resId = s;
|
|
2303
2304
|
}
|
|
2304
2305
|
});
|
|
2305
|
-
const
|
|
2306
|
+
const j = {
|
|
2306
2307
|
from: "slicer",
|
|
2307
2308
|
to: {},
|
|
2308
2309
|
openTag: (t) => {
|
|
@@ -2314,8 +2315,8 @@ var Ko = {
|
|
|
2314
2315
|
for (const t of n) r.slicers[t] = s[t];
|
|
2315
2316
|
}
|
|
2316
2317
|
};
|
|
2317
|
-
l.registerVisitor(
|
|
2318
|
-
const
|
|
2318
|
+
l.registerVisitor(j);
|
|
2319
|
+
const F = {
|
|
2319
2320
|
from: "timelineRef",
|
|
2320
2321
|
to: {},
|
|
2321
2322
|
openTag: (t) => {
|
|
@@ -2325,7 +2326,7 @@ var Ko = {
|
|
|
2325
2326
|
r.slicers ??= {};
|
|
2326
2327
|
for (const t of Object.keys(s)) r.slicers[t] = s[t];
|
|
2327
2328
|
}
|
|
2328
|
-
},
|
|
2329
|
+
}, H = (t, e) => ({
|
|
2329
2330
|
from: t,
|
|
2330
2331
|
to: {},
|
|
2331
2332
|
openTag: (t) => {
|
|
@@ -2337,8 +2338,8 @@ var Ko = {
|
|
|
2337
2338
|
closeTag: (t) => {
|
|
2338
2339
|
e(String(t.getSource() ?? ""), t);
|
|
2339
2340
|
}
|
|
2340
|
-
}),
|
|
2341
|
-
|
|
2341
|
+
}), z = /* @__PURE__ */ new Map();
|
|
2342
|
+
z.set("dataValidations", {
|
|
2342
2343
|
from: "dataValidations",
|
|
2343
2344
|
to: "validations",
|
|
2344
2345
|
openTag: (t) => {
|
|
@@ -2348,15 +2349,15 @@ var Ko = {
|
|
|
2348
2349
|
closeTag: (t) => {
|
|
2349
2350
|
0 === (t.getSource()?.length ?? 0) && t.setSource(void 0);
|
|
2350
2351
|
}
|
|
2351
|
-
}),
|
|
2352
|
-
...
|
|
2352
|
+
}), z.set("dataValidation", {
|
|
2353
|
+
...L,
|
|
2353
2354
|
closeTag: (t) => {
|
|
2354
|
-
|
|
2355
|
+
L.closeTag(t);
|
|
2355
2356
|
const e = t.getSource();
|
|
2356
2357
|
e && !e.r && (t.warn("x14 dataValidation with no xm:sqref was dropped."), t.setSource(void 0));
|
|
2357
2358
|
}
|
|
2358
2359
|
});
|
|
2359
|
-
const
|
|
2360
|
+
const X = (t) => ({
|
|
2360
2361
|
from: t,
|
|
2361
2362
|
to: {},
|
|
2362
2363
|
openTag: (e) => {
|
|
@@ -2366,18 +2367,18 @@ var Ko = {
|
|
|
2366
2367
|
});
|
|
2367
2368
|
}
|
|
2368
2369
|
});
|
|
2369
|
-
|
|
2370
|
+
z.set("formula1", X("formula1")), z.set("formula2", X("formula2")), z.set("f", H("f", (t, e) => {
|
|
2370
2371
|
const o = e.getParent(), s = o?.rule;
|
|
2371
2372
|
s && (s[o.key] = oe(f(t), s.type));
|
|
2372
|
-
})),
|
|
2373
|
+
})), z.set("sqref", H("sqref", (t, e) => {
|
|
2373
2374
|
const o = e.getParent(), s = t.trim();
|
|
2374
2375
|
o && s && (o.r = s.split(/\s+/).join(","));
|
|
2375
2376
|
}));
|
|
2376
|
-
const
|
|
2377
|
-
|
|
2377
|
+
const G = /* @__PURE__ */ new Map(), K = [], J = /* @__PURE__ */ new Map();
|
|
2378
|
+
J.set("conditionalFormattings", {
|
|
2378
2379
|
from: "conditionalFormattings",
|
|
2379
2380
|
transparent: !0
|
|
2380
|
-
}),
|
|
2381
|
+
}), J.set("conditionalFormatting", {
|
|
2381
2382
|
from: "conditionalFormatting",
|
|
2382
2383
|
to: {},
|
|
2383
2384
|
openTag: (t) => {
|
|
@@ -2387,61 +2388,61 @@ var Ko = {
|
|
|
2387
2388
|
const e = t.getSource(), o = e?.rules ?? [];
|
|
2388
2389
|
for (let t = 0; t < o.length; t++) {
|
|
2389
2390
|
const s = o[t];
|
|
2390
|
-
s.sqref = e.sqref, s.id ?
|
|
2391
|
+
s.sqref = e.sqref, s.id ? G.set(s.id, s) : K.push(s);
|
|
2391
2392
|
}
|
|
2392
2393
|
}
|
|
2393
|
-
}),
|
|
2394
|
+
}), J.set("cfRule", {
|
|
2394
2395
|
from: "cfRule",
|
|
2395
2396
|
to: {},
|
|
2396
2397
|
openTag: (t) => {
|
|
2397
|
-
t.copyTo("id",
|
|
2398
|
+
t.copyTo("id", ko), t.copyTo("type", ko), t.copyTo("priority", So), t.copyTo("stopIfTrue", To), t.copyTo("operator", ko), t.copyTo("text", ko), t.copyTo("timePeriod", ko), t.copyTo("aboveAverage", To), t.copyTo("equalAverage", To), t.copyTo("stdDev", So), t.copyTo("bottom", To), t.copyTo("percent", To), t.copyTo("rank", So);
|
|
2398
2399
|
},
|
|
2399
2400
|
closeTag: (t) => {
|
|
2400
2401
|
const e = t.getSource();
|
|
2401
2402
|
e && t.getParent()?.rules?.push(e);
|
|
2402
2403
|
}
|
|
2403
|
-
}),
|
|
2404
|
+
}), J.set("sqref", H("sqref", (t, e) => {
|
|
2404
2405
|
const o = e.getParent(), s = t.trim();
|
|
2405
2406
|
o && s && (o.sqref = s);
|
|
2406
|
-
})),
|
|
2407
|
+
})), J.set("dataBar", {
|
|
2407
2408
|
from: "dataBar",
|
|
2408
2409
|
to: {},
|
|
2409
2410
|
openTag: (t) => {
|
|
2410
|
-
t.copyTo("minLength", So), t.copyTo("maxLength", So), t.copyTo("gradient", To), t.copyTo("border", To), t.copyTo("direction",
|
|
2411
|
+
t.copyTo("minLength", So), t.copyTo("maxLength", So), t.copyTo("gradient", To), t.copyTo("border", To), t.copyTo("direction", ko), t.copyTo("axisPosition", ko), t.copyTo("negativeBarColorSameAsPositive", To), t.copyTo("negativeBarBorderColorSameAsPositive", To);
|
|
2411
2412
|
},
|
|
2412
2413
|
closeTag: (t) => {
|
|
2413
2414
|
t.getParent().dataBar = t.getSource();
|
|
2414
2415
|
}
|
|
2415
|
-
}),
|
|
2416
|
+
}), J.set("iconSet", {
|
|
2416
2417
|
from: "iconSet",
|
|
2417
2418
|
to: {},
|
|
2418
2419
|
openTag: (t) => {
|
|
2419
|
-
t.copyTo("iconSet",
|
|
2420
|
+
t.copyTo("iconSet", ko), t.copyTo("custom", To), t.copyTo("reverse", To), t.copyTo("showValue", To);
|
|
2420
2421
|
},
|
|
2421
2422
|
closeTag: (t) => {
|
|
2422
2423
|
t.getParent().iconSet = t.getSource();
|
|
2423
2424
|
}
|
|
2424
2425
|
});
|
|
2425
|
-
const
|
|
2426
|
-
|
|
2426
|
+
const Z = /* @__PURE__ */ new Map();
|
|
2427
|
+
Z.set("f", H("f", (t, e) => {
|
|
2427
2428
|
const o = e.getParent();
|
|
2428
2429
|
if (!o) return;
|
|
2429
2430
|
const s = t.trim(), r = Number(s);
|
|
2430
2431
|
o.value = s.length > 0 && Number.isFinite(r) ? r : f(t);
|
|
2431
|
-
})),
|
|
2432
|
+
})), J.set("cfvo", {
|
|
2432
2433
|
from: "cfvo",
|
|
2433
2434
|
to: {},
|
|
2434
|
-
scope: () =>
|
|
2435
|
+
scope: () => Z,
|
|
2435
2436
|
openTag: (t) => {
|
|
2436
2437
|
const e = t.getParent();
|
|
2437
2438
|
e.conditions || (e.conditions = []);
|
|
2438
2439
|
const o = t.getSource();
|
|
2439
|
-
e.conditions.push(o), t.copyTo("type",
|
|
2440
|
+
e.conditions.push(o), t.copyTo("type", ko), !1 === t.getAttribute("gte", To) && (o.exclusive = !0);
|
|
2440
2441
|
}
|
|
2441
|
-
}),
|
|
2442
|
+
}), J.set("f", H("f", (t, e) => {
|
|
2442
2443
|
const o = e.getParent();
|
|
2443
2444
|
o && (o.formulas ??= []).push(f(t));
|
|
2444
|
-
})),
|
|
2445
|
+
})), J.set("dxf", {
|
|
2445
2446
|
from: "dxf",
|
|
2446
2447
|
to: {},
|
|
2447
2448
|
raw: !0,
|
|
@@ -2453,7 +2454,7 @@ var Ko = {
|
|
|
2453
2454
|
o && (e.style = o);
|
|
2454
2455
|
}
|
|
2455
2456
|
});
|
|
2456
|
-
const
|
|
2457
|
+
const Q = (t) => ({
|
|
2457
2458
|
from: t,
|
|
2458
2459
|
to: {},
|
|
2459
2460
|
openTag: (e) => {
|
|
@@ -2461,7 +2462,7 @@ var Ko = {
|
|
|
2461
2462
|
o && (e.getParent()[t] = o);
|
|
2462
2463
|
}
|
|
2463
2464
|
});
|
|
2464
|
-
|
|
2465
|
+
J.set("borderColor", Q("borderColor")), J.set("negativeFillColor", Q("negativeFillColor")), J.set("negativeBorderColor", Q("negativeBorderColor")), J.set("axisColor", Q("axisColor")), J.set("cfIcon", {
|
|
2465
2466
|
from: "cfIcon",
|
|
2466
2467
|
to: {},
|
|
2467
2468
|
openTag: (t) => {
|
|
@@ -2474,23 +2475,23 @@ var Ko = {
|
|
|
2474
2475
|
});
|
|
2475
2476
|
}
|
|
2476
2477
|
});
|
|
2477
|
-
const
|
|
2478
|
-
|
|
2478
|
+
const tt = /* @__PURE__ */ new Map();
|
|
2479
|
+
tt.set("id", H("id", (t, e) => {
|
|
2479
2480
|
const o = e.getParent(), s = t.trim();
|
|
2480
2481
|
o && s && (o.x14Id = s);
|
|
2481
2482
|
}));
|
|
2482
|
-
const
|
|
2483
|
-
|
|
2483
|
+
const st = /* @__PURE__ */ new Map();
|
|
2484
|
+
st.set("slicerList", {
|
|
2484
2485
|
from: "slicerList",
|
|
2485
2486
|
transparent: !0
|
|
2486
|
-
}),
|
|
2487
|
-
const
|
|
2488
|
-
|
|
2487
|
+
}), st.set("slicer", j);
|
|
2488
|
+
const it = /* @__PURE__ */ new Map();
|
|
2489
|
+
it.set("timelineRefs", {
|
|
2489
2490
|
from: "timelineRefs",
|
|
2490
2491
|
transparent: !0
|
|
2491
|
-
}),
|
|
2492
|
-
const
|
|
2493
|
-
|
|
2492
|
+
}), it.set("timelineRef", F);
|
|
2493
|
+
const lt = /* @__PURE__ */ new Map();
|
|
2494
|
+
lt.set("sparklineGroups", {
|
|
2494
2495
|
from: "sparklineGroups",
|
|
2495
2496
|
to: "sparklineGroups",
|
|
2496
2497
|
openTag: (t) => {
|
|
@@ -2500,7 +2501,7 @@ var Ko = {
|
|
|
2500
2501
|
closeTag: (t) => {
|
|
2501
2502
|
0 === (t.getSource()?.length ?? 0) && t.setSource(void 0);
|
|
2502
2503
|
}
|
|
2503
|
-
}),
|
|
2504
|
+
}), lt.set("sparklineGroup", {
|
|
2504
2505
|
from: "sparklineGroup",
|
|
2505
2506
|
to: [],
|
|
2506
2507
|
openTag: (t) => {
|
|
@@ -2519,7 +2520,7 @@ var Ko = {
|
|
|
2519
2520
|
o || t.warn("A sparkline group with no sparklines was dropped.", { onceKey: "xlsx.sheet.sparklineGroup.empty" }), t.setSource(o ?? void 0);
|
|
2520
2521
|
}
|
|
2521
2522
|
});
|
|
2522
|
-
for (const t of at)
|
|
2523
|
+
for (const t of at) lt.set(t, {
|
|
2523
2524
|
from: t,
|
|
2524
2525
|
to: {},
|
|
2525
2526
|
openTag: (e) => {
|
|
@@ -2527,17 +2528,17 @@ var Ko = {
|
|
|
2527
2528
|
o && (e.getParent().properties[t] = o);
|
|
2528
2529
|
}
|
|
2529
2530
|
});
|
|
2530
|
-
|
|
2531
|
+
lt.set("sparklines", {
|
|
2531
2532
|
from: "sparklines",
|
|
2532
2533
|
transparent: !0
|
|
2533
|
-
}),
|
|
2534
|
+
}), lt.set("sparkline", {
|
|
2534
2535
|
from: "sparkline",
|
|
2535
2536
|
to: {},
|
|
2536
2537
|
openTag: (t) => {
|
|
2537
2538
|
t.setSource({ isSparkline: !0 });
|
|
2538
2539
|
},
|
|
2539
2540
|
closeTag: (t) => {
|
|
2540
|
-
const e = t.getSource(), o = t.getParent(), s = e?.sqref?.trim(), r = s ?
|
|
2541
|
+
const e = t.getSource(), o = t.getParent(), s = e?.sqref?.trim(), r = s ? T.fastStringToRange(s.split(/\s+/)[0]) : null;
|
|
2541
2542
|
r ? o.entries.push({
|
|
2542
2543
|
location: {
|
|
2543
2544
|
rowIndex: r.rowStart,
|
|
@@ -2546,24 +2547,24 @@ var Ko = {
|
|
|
2546
2547
|
data: e.data ?? ""
|
|
2547
2548
|
}) : t.warn("A sparkline with no location was dropped.", { onceKey: "xlsx.sheet.sparkline.incomplete" });
|
|
2548
2549
|
}
|
|
2549
|
-
}),
|
|
2550
|
+
}), lt.set("f", H("f", (t, e) => {
|
|
2550
2551
|
const o = e.getParent(), s = t.trim();
|
|
2551
2552
|
o && s && (o.isSparkline ? o.data = s : o.properties.dateRange = s);
|
|
2552
|
-
})),
|
|
2553
|
+
})), lt.set("sqref", H("sqref", (t, e) => {
|
|
2553
2554
|
const o = e.getParent();
|
|
2554
2555
|
o?.isSparkline && (o.sqref = t);
|
|
2555
2556
|
}));
|
|
2556
|
-
const
|
|
2557
|
-
[Dt(Jt),
|
|
2558
|
-
[Dt($t),
|
|
2559
|
-
[Dt(se),
|
|
2560
|
-
[Dt(nt),
|
|
2561
|
-
[Dt(mt),
|
|
2562
|
-
[Dt(gt),
|
|
2563
|
-
[Dt(xt),
|
|
2564
|
-
[Dt(Ht),
|
|
2565
|
-
[Dt(
|
|
2566
|
-
]),
|
|
2557
|
+
const ut = /* @__PURE__ */ new Map([
|
|
2558
|
+
[Dt(Jt), lt],
|
|
2559
|
+
[Dt($t), z],
|
|
2560
|
+
[Dt(se), J],
|
|
2561
|
+
[Dt(nt), J],
|
|
2562
|
+
[Dt(mt), tt],
|
|
2563
|
+
[Dt(gt), st],
|
|
2564
|
+
[Dt(xt), st],
|
|
2565
|
+
[Dt(Ht), it],
|
|
2566
|
+
[Dt(Ct), P]
|
|
2567
|
+
]), ht = /* @__PURE__ */ new Set();
|
|
2567
2568
|
l.registerVisitor({
|
|
2568
2569
|
from: "extLst",
|
|
2569
2570
|
transparent: !0
|
|
@@ -2571,10 +2572,10 @@ var Ko = {
|
|
|
2571
2572
|
from: "ext",
|
|
2572
2573
|
transparent: !0,
|
|
2573
2574
|
scope: (t) => {
|
|
2574
|
-
const e = t.getAttribute("uri"), o = Dt(e), s =
|
|
2575
|
+
const e = t.getAttribute("uri"), o = Dt(e), s = ut.get(o);
|
|
2575
2576
|
if (s) return s;
|
|
2576
|
-
if (!V.has(o) && !
|
|
2577
|
-
|
|
2577
|
+
if (!V.has(o) && !ht.has(o)) {
|
|
2578
|
+
ht.add(o);
|
|
2578
2579
|
const s = $[o];
|
|
2579
2580
|
t.warn(s ? `Extension content '${s}' (${e}) is not read; it will be lost on resave.` : `Unknown extension content (uri ${e}) is not read; it will be lost on resave.`);
|
|
2580
2581
|
}
|
|
@@ -2634,20 +2635,20 @@ var Ko = {
|
|
|
2634
2635
|
t.setSource(e(t.getAttribute("r:id"), "legacyDrawing") ?? void 0);
|
|
2635
2636
|
}
|
|
2636
2637
|
});
|
|
2637
|
-
let
|
|
2638
|
-
const
|
|
2638
|
+
let dt = null, pt = !1;
|
|
2639
|
+
const yt = /* @__PURE__ */ new Map(), vt = {
|
|
2639
2640
|
from: "Fallback",
|
|
2640
2641
|
to: null
|
|
2641
|
-
},
|
|
2642
|
+
}, Tt = {
|
|
2642
2643
|
from: "Choice",
|
|
2643
2644
|
transparent: !0
|
|
2644
2645
|
};
|
|
2645
|
-
|
|
2646
|
+
yt.set("Fallback", vt), yt.set("Choice", Tt), yt.set("control", {
|
|
2646
2647
|
from: "control",
|
|
2647
2648
|
transparent: !0,
|
|
2648
2649
|
openTag: (t) => {
|
|
2649
2650
|
const o = t.getAttribute("name"), s = t.getAttribute("r:id"), r = s ? e(s, "formControl") : null;
|
|
2650
|
-
if (!r) return t.warn(`The form control '${o ?? ""}' has no properties and was not read.`, { onceKey: "xlsx.sheet.control.noProperties" }), void (
|
|
2651
|
+
if (!r) return t.warn(`The form control '${o ?? ""}' has no properties and was not read.`, { onceKey: "xlsx.sheet.control.noProperties" }), void (dt = null);
|
|
2651
2652
|
const n = r.json, i = parseInt(t.getAttribute("shapeId") ?? "", 10);
|
|
2652
2653
|
isNaN(i) || (n.shapeId = i);
|
|
2653
2654
|
const a = {
|
|
@@ -2670,29 +2671,29 @@ var Ko = {
|
|
|
2670
2671
|
json: n
|
|
2671
2672
|
}
|
|
2672
2673
|
};
|
|
2673
|
-
o && (a.content.name = o),
|
|
2674
|
+
o && (a.content.name = o), dt = {
|
|
2674
2675
|
movable: a,
|
|
2675
2676
|
control: n
|
|
2676
2677
|
};
|
|
2677
2678
|
},
|
|
2678
2679
|
closeTag: () => {
|
|
2679
|
-
|
|
2680
|
+
dt && (t.movables || (t.movables = []), t.movables.push(dt.movable), dt = null);
|
|
2680
2681
|
}
|
|
2681
|
-
}),
|
|
2682
|
+
}), yt.set("controlPr", {
|
|
2682
2683
|
from: "controlPr",
|
|
2683
2684
|
transparent: !0,
|
|
2684
2685
|
raw: !0,
|
|
2685
2686
|
openTag: (t) => {
|
|
2686
|
-
if (!
|
|
2687
|
+
if (!dt) return;
|
|
2687
2688
|
const e = t.getFrom().attributes ?? {}, o = {};
|
|
2688
2689
|
for (const t in e) {
|
|
2689
2690
|
const s = e[t];
|
|
2690
2691
|
o[t] = "string" == typeof s ? s : s?.value ?? "";
|
|
2691
2692
|
}
|
|
2692
|
-
bt(o,
|
|
2693
|
+
bt(o, dt.control);
|
|
2693
2694
|
},
|
|
2694
2695
|
closeTag: (t) => {
|
|
2695
|
-
if (!
|
|
2696
|
+
if (!dt) return;
|
|
2696
2697
|
const e = ((t) => {
|
|
2697
2698
|
const e = /<(?:[\w.-]+:)?anchor\b([^>]*)>([\s\S]*?)<\/(?:[\w.-]+:)?anchor>/.exec(t);
|
|
2698
2699
|
if (!e) return null;
|
|
@@ -2706,24 +2707,24 @@ var Ko = {
|
|
|
2706
2707
|
rest: (t.slice(0, e.index) + t.slice(e.index + e[0].length)).trim()
|
|
2707
2708
|
};
|
|
2708
2709
|
})(t.getRawXml() ?? "");
|
|
2709
|
-
e ? (
|
|
2710
|
+
e ? (dt.movable.anchor = e.anchor, "twoCell" !== e.anchorType && (dt.movable.anchorType = e.anchorType), e.rest && (dt.control.xml = e.rest)) : pt || (pt = !0, t.warn("A form control has no anchor; it is placed at the top left of the sheet."));
|
|
2710
2711
|
}
|
|
2711
2712
|
});
|
|
2712
|
-
const
|
|
2713
|
+
const kt = {
|
|
2713
2714
|
from: "controls",
|
|
2714
2715
|
transparent: !0,
|
|
2715
|
-
scope: () =>
|
|
2716
|
+
scope: () => yt
|
|
2716
2717
|
};
|
|
2717
|
-
l.registerVisitor(
|
|
2718
|
-
const
|
|
2719
|
-
["Choice",
|
|
2720
|
-
["Fallback",
|
|
2721
|
-
["controls",
|
|
2718
|
+
l.registerVisitor(kt);
|
|
2719
|
+
const At = /* @__PURE__ */ new Map([
|
|
2720
|
+
["Choice", Tt],
|
|
2721
|
+
["Fallback", vt],
|
|
2722
|
+
["controls", kt]
|
|
2722
2723
|
]);
|
|
2723
2724
|
l.registerVisitor({
|
|
2724
2725
|
from: "AlternateContent",
|
|
2725
2726
|
transparent: !0,
|
|
2726
|
-
scope: () =>
|
|
2727
|
+
scope: () => At
|
|
2727
2728
|
}), l.registerVisitor({
|
|
2728
2729
|
from: "tableParts",
|
|
2729
2730
|
to: "tables",
|
|
@@ -2740,20 +2741,20 @@ var Ko = {
|
|
|
2740
2741
|
s ? t.setSource(s) : t.warn("A table part is missing; the table was not imported.", { onceKey: "xlsx.sheet.table.missing" });
|
|
2741
2742
|
}
|
|
2742
2743
|
});
|
|
2743
|
-
const
|
|
2744
|
-
e.conditions?.length && (t
|
|
2745
|
-
},
|
|
2746
|
-
e.conditions?.length && (t.stops =
|
|
2747
|
-
},
|
|
2744
|
+
const Et = (t, e) => {
|
|
2745
|
+
e.conditions?.length && C(t, k(e)), w(t, e), !1 === e.gradient ? t.solidFill = !0 : delete t.solidFill, e.border && e.borderColor && (t.borderColor = e.borderColor), !e.negativeBarColorSameAsPositive && e.negativeFillColor && (t.negativeFillColor = e.negativeFillColor), !(e.negativeBarBorderColorSameAsPositive ?? 1) && e.negativeBorderColor && (t.negativeBorderColor = e.negativeBorderColor), e.axisColor && (t.axisColor = e.axisColor), "middle" !== e.axisPosition && "none" !== e.axisPosition || (t.axisPosition = e.axisPosition), "leftToRight" !== e.direction && "rightToLeft" !== e.direction || (t.direction = e.direction);
|
|
2746
|
+
}, It = (t, e) => {
|
|
2747
|
+
e.conditions?.length && (t.stops = k(e)), e.iconSet && e.iconSet !== t.iconSet && (t.iconSet = e.iconSet), e.icons?.length && (t.icon = e.icons), void 0 !== e.reverse && (t.reverse = e.reverse), void 0 !== e.showValue && (t.showValue = e.showValue);
|
|
2748
|
+
}, Pt = (t) => {
|
|
2748
2749
|
if (!t.sqref) return null;
|
|
2749
2750
|
const e = t.sqref.split(/\s+/).join(",");
|
|
2750
2751
|
if ("iconSet" === t.type) {
|
|
2751
2752
|
if (!t.iconSet) return null;
|
|
2752
2753
|
const o = {
|
|
2753
|
-
type:
|
|
2754
|
+
type: b.ScaleType.IconSet,
|
|
2754
2755
|
stops: []
|
|
2755
2756
|
};
|
|
2756
|
-
return
|
|
2757
|
+
return It(o, t.iconSet), {
|
|
2757
2758
|
r: e,
|
|
2758
2759
|
v: { scale: o },
|
|
2759
2760
|
priority: t.priority
|
|
@@ -2779,16 +2780,16 @@ var Ko = {
|
|
|
2779
2780
|
const e = o[t], s = e.x14Id;
|
|
2780
2781
|
if (!s) continue;
|
|
2781
2782
|
delete e.x14Id;
|
|
2782
|
-
const r =
|
|
2783
|
+
const r = G.get(s);
|
|
2783
2784
|
if (!r) continue;
|
|
2784
|
-
|
|
2785
|
+
G.delete(s);
|
|
2785
2786
|
const n = e.v?.scale;
|
|
2786
|
-
r.dataBar && n?.type ===
|
|
2787
|
+
r.dataBar && n?.type === b.ScaleType.DataBar ? Et(n, r.dataBar) : r.iconSet && n?.type === b.ScaleType.IconSet && It(n, r.iconSet);
|
|
2787
2788
|
}
|
|
2788
|
-
const s = [...
|
|
2789
|
+
const s = [...G.values(), ...K], r = /* @__PURE__ */ new Set();
|
|
2789
2790
|
let i = 0;
|
|
2790
2791
|
for (let t = 0; t < s.length; t++) {
|
|
2791
|
-
const n =
|
|
2792
|
+
const n = Pt(s[t]);
|
|
2792
2793
|
n ? (o || (o = [], e.conditionals = o), o.push(n)) : (r.add(s[t].type ?? "unknown"), i++);
|
|
2793
2794
|
}
|
|
2794
2795
|
if (i > 0) {
|
|
@@ -2832,7 +2833,7 @@ var Ko = {
|
|
|
2832
2833
|
}
|
|
2833
2834
|
if (e.sheet) return;
|
|
2834
2835
|
const o = {};
|
|
2835
|
-
t.copyToObject(o, "hash",
|
|
2836
|
+
t.copyToObject(o, "hash", ko, "hashValue"), t.copyToObject(o, "algorithm", ko, "algorithmName"), t.copyToObject(o, "salt", ko, "saltValue"), t.copyToObject(o, "spinCount", So), t.copyToObject(o, "legacyHash", ko, "password"), Object.keys(o).length > 0 && (t.getSource().password = o);
|
|
2836
2837
|
}
|
|
2837
2838
|
}), l.registerVisitor({
|
|
2838
2839
|
from: "protectedRanges",
|
|
@@ -2852,7 +2853,7 @@ var Ko = {
|
|
|
2852
2853
|
};
|
|
2853
2854
|
t.copyToObject(o, "name"), t.copyToObject(o, "securityDescriptor");
|
|
2854
2855
|
const r = {};
|
|
2855
|
-
t.copyToObject(r, "hash",
|
|
2856
|
+
t.copyToObject(r, "hash", ko, "hashValue"), t.copyToObject(r, "algorithm", ko, "algorithmName"), t.copyToObject(r, "salt", ko, "saltValue"), t.copyToObject(r, "spinCount", So), t.copyToObject(r, "legacyHash", ko, "password"), Object.keys(r).length > 0 && (o.password = r), t.setSource(s);
|
|
2856
2857
|
},
|
|
2857
2858
|
closeTag: (t) => {
|
|
2858
2859
|
const e = t.getSource();
|
|
@@ -2862,9 +2863,9 @@ var Ko = {
|
|
|
2862
2863
|
from: "sheetFormatPr",
|
|
2863
2864
|
to: "sheetFormatPr",
|
|
2864
2865
|
openTag: (e) => {
|
|
2865
|
-
e.copyToObject(t, "defaultColSize",
|
|
2866
|
+
e.copyToObject(t, "defaultColSize", Co, "defaultColWidth");
|
|
2866
2867
|
const o = e.getAttribute("customHeight");
|
|
2867
|
-
"1" !== o && "true" !== o || e.copyToObject(t, "defaultRowSize",
|
|
2868
|
+
"1" !== o && "true" !== o || e.copyToObject(t, "defaultRowSize", Co, "defaultRowHeight");
|
|
2868
2869
|
const s = e.getAttribute("baseColWidth", So);
|
|
2869
2870
|
s && 8 !== s && (t.baseColSize = s), u = !!e.getAttribute("zeroHeight", To);
|
|
2870
2871
|
}
|
|
@@ -2879,9 +2880,9 @@ var Ko = {
|
|
|
2879
2880
|
to: [],
|
|
2880
2881
|
openTag: (t) => {
|
|
2881
2882
|
const e = t.getSource(), o = t.getAttribute("min"), s = t.getAttribute("max"), r = void 0 === o ? 0 : parseInt(o) - 1, n = void 0 === s ? r : parseInt(s) - 1;
|
|
2882
|
-
e.r =
|
|
2883
|
+
e.r = T.runToString(r, n, !0);
|
|
2883
2884
|
const i = {};
|
|
2884
|
-
e.v = i, t.copyToObject(i, "sz",
|
|
2885
|
+
e.v = i, t.copyToObject(i, "sz", Co, "width"), t.copyToObject(i, "csz", To, "customWidth"), t.copyToObject(i, "h", To, "hidden"), t.copyToObject(i, "l", So, "outlineLevel"), t.copyToObject(i, "cl", To, "collapsed"), t.getAttribute("bestFit", To) && (i.bf = !0), t.copyToObject(i, "s", So, "style");
|
|
2885
2886
|
}
|
|
2886
2887
|
}), l.registerVisitor({
|
|
2887
2888
|
from: "oleObjects",
|
|
@@ -2890,30 +2891,30 @@ var Ko = {
|
|
|
2890
2891
|
t.warn("'OLE Objects' are not supported.");
|
|
2891
2892
|
}
|
|
2892
2893
|
});
|
|
2893
|
-
let
|
|
2894
|
-
const
|
|
2894
|
+
let Ot = !1, Nt = !1, Lt = 0, jt = "", Bt = "";
|
|
2895
|
+
const Ft = (t) => {
|
|
2895
2896
|
const e = t.indexOf(":");
|
|
2896
2897
|
return -1 === e ? t : t.slice(e + 1);
|
|
2897
|
-
},
|
|
2898
|
-
return cs(
|
|
2898
|
+
}, Wt = new Uo();
|
|
2899
|
+
return cs(y, t, l.createEventHandler(t, r, n), n, i, {
|
|
2899
2900
|
onOpenTag: (t) => {
|
|
2900
|
-
|
|
2901
|
-
const e =
|
|
2902
|
-
"t" === e || "v" === e ? 0 ===
|
|
2901
|
+
Ot = !0;
|
|
2902
|
+
const e = Ft(t.name);
|
|
2903
|
+
"t" === e || "v" === e ? 0 === Lt && (Nt = !0) : "rPh" === e || "phoneticPr" === e ? Lt++ : 0 === Lt && Wt.onOpenTag(e, t.attributes);
|
|
2903
2904
|
},
|
|
2904
2905
|
onText: (t) => {
|
|
2905
|
-
|
|
2906
|
+
Nt && (jt += t, Wt.onText(t));
|
|
2906
2907
|
},
|
|
2907
2908
|
onCloseTag: (t) => {
|
|
2908
|
-
const e =
|
|
2909
|
-
"t" === e || "v" === e ?
|
|
2909
|
+
const e = Ft(t.name);
|
|
2910
|
+
"t" === e || "v" === e ? Nt = !1 : "rPh" === e || "phoneticPr" === e ? Lt > 0 && Lt-- : Wt.onCloseTag(e);
|
|
2910
2911
|
},
|
|
2911
2912
|
onEnd: () => {
|
|
2912
|
-
if (!
|
|
2913
|
-
const t =
|
|
2914
|
-
|
|
2915
|
-
const e = W(
|
|
2916
|
-
return
|
|
2913
|
+
if (!Ot) return;
|
|
2914
|
+
const t = Wt.take();
|
|
2915
|
+
Ot = !1, Nt = !1, Lt = 0;
|
|
2916
|
+
const e = W(jt);
|
|
2917
|
+
return jt = "", Bt = e, t ? {
|
|
2917
2918
|
t: "r",
|
|
2918
2919
|
v: {
|
|
2919
2920
|
type: "richText",
|
|
@@ -2922,7 +2923,7 @@ var Ko = {
|
|
|
2922
2923
|
} : o(e);
|
|
2923
2924
|
},
|
|
2924
2925
|
onError: (t) => {}
|
|
2925
|
-
}, a, o, () => u, () =>
|
|
2926
|
+
}, a, o, () => u, () => Bt);
|
|
2926
2927
|
}, rs = class {
|
|
2927
2928
|
static {
|
|
2928
2929
|
this.Collapsed = 1;
|
|
@@ -2964,10 +2965,10 @@ var Ko = {
|
|
|
2964
2965
|
}, ls = (t) => "1" === t || "true" === t, cs = (t, e, o, s, i, a, l, c, u, h) => {
|
|
2965
2966
|
let g = !1;
|
|
2966
2967
|
const m = [], b = l?.get(es), y = l?.get(os), x = /* @__PURE__ */ new Map();
|
|
2967
|
-
let
|
|
2968
|
+
let w = !1, S = [], C = !1, k = null, A = null, I = null, P = null, O = null, D = null;
|
|
2968
2969
|
const N = l?.get("richData") ?? r.EmptyArray;
|
|
2969
2970
|
let M = null, $ = !1;
|
|
2970
|
-
const R =
|
|
2971
|
+
const R = T.normalizeA1ToR1C1, V = n.createConflatingRanges(), L = /* @__PURE__ */ new Map(), j = [], B = [];
|
|
2971
2972
|
let F = !1, H = !1, W = null;
|
|
2972
2973
|
const z = (t) => {
|
|
2973
2974
|
const e = (l?.get("metadata"))?.values;
|
|
@@ -2992,7 +2993,7 @@ var Ko = {
|
|
|
2992
2993
|
});
|
|
2993
2994
|
let tt = null;
|
|
2994
2995
|
const et = [];
|
|
2995
|
-
let ot = null, rt = -2, nt = 0, it = "", at = "", lt = "", ct = "", ut = "", ht = "", dt = "", pt = "", ft = "", gt = "", mt = "", bt = "", yt = "", vt = "", xt = !0, wt = null, Tt = !1, St = !1,
|
|
2996
|
+
let ot = null, rt = -2, nt = 0, it = "", at = "", lt = "", ct = "", ut = "", ht = "", dt = "", pt = "", ft = "", gt = "", mt = "", bt = "", yt = "", vt = "", xt = !0, wt = null, Tt = !1, St = !1, Ct = !1, kt = null, At = 0;
|
|
2996
2997
|
const Et = (t) => {
|
|
2997
2998
|
let s = t.name;
|
|
2998
2999
|
const r = s.indexOf(":");
|
|
@@ -3000,15 +3001,15 @@ var Ko = {
|
|
|
3000
3001
|
const e = t.attributes;
|
|
3001
3002
|
switch (s) {
|
|
3002
3003
|
case "v":
|
|
3003
|
-
|
|
3004
|
+
w = !0;
|
|
3004
3005
|
break;
|
|
3005
3006
|
case "f":
|
|
3006
|
-
switch (
|
|
3007
|
+
switch (C = !0, e.t ?? null) {
|
|
3007
3008
|
case null:
|
|
3008
3009
|
case "normal": break;
|
|
3009
3010
|
case "shared":
|
|
3010
3011
|
const t = e.si;
|
|
3011
|
-
A = e.ref,
|
|
3012
|
+
A = e.ref, k = t;
|
|
3012
3013
|
break;
|
|
3013
3014
|
case "array":
|
|
3014
3015
|
A = e.ref, W = A;
|
|
@@ -3017,10 +3018,10 @@ var Ko = {
|
|
|
3017
3018
|
const t = ((t, e, o) => {
|
|
3018
3019
|
const s = t.r1, r = ls(t.del1);
|
|
3019
3020
|
if (!s && !r) return null;
|
|
3020
|
-
const n = t.ref ??
|
|
3021
|
+
const n = t.ref ?? T.cellToString({
|
|
3021
3022
|
rowIndex: e,
|
|
3022
3023
|
colIndex: o
|
|
3023
|
-
}), i =
|
|
3024
|
+
}), i = T.fastStringToRange(n);
|
|
3024
3025
|
if (!i) return null;
|
|
3025
3026
|
const a = { ref: {
|
|
3026
3027
|
rowStart: i.rowStart,
|
|
@@ -3045,18 +3046,18 @@ var Ko = {
|
|
|
3045
3046
|
G = !0;
|
|
3046
3047
|
return;
|
|
3047
3048
|
}
|
|
3048
|
-
G && !
|
|
3049
|
+
G && !C && a?.onOpenTag?.(t);
|
|
3049
3050
|
return;
|
|
3050
3051
|
}
|
|
3051
3052
|
if (g) {
|
|
3052
3053
|
if ("c" === s) {
|
|
3053
3054
|
Q = t, U = void 0;
|
|
3054
3055
|
const e = t.attributes, o = e.r;
|
|
3055
|
-
J = void 0 !== o ?
|
|
3056
|
+
J = void 0 !== o ? T.fastStringToCol(o) : J + 1;
|
|
3056
3057
|
const s = e.t;
|
|
3057
3058
|
void 0 === s ? tt = null : (tt = s, "str" === tt && (G = !0));
|
|
3058
3059
|
let r = e.s;
|
|
3059
|
-
void 0 === r && (null !==
|
|
3060
|
+
void 0 === r && (null !== kt || Ct) && (r = "0"), void 0 !== r && (r = parseInt(r), wt && wt.value === r && wt.colEnd + 1 === J ? wt.colEnd = J : (wt = {
|
|
3060
3061
|
colStart: J,
|
|
3061
3062
|
rowStart: K,
|
|
3062
3063
|
colEnd: J,
|
|
@@ -3095,14 +3096,14 @@ var Ko = {
|
|
|
3095
3096
|
}
|
|
3096
3097
|
if (nt = 0, at = t.attributes.customHeight, void 0 !== at && (nt |= rs.CustomHeight), at !== ft && (xt = !0, ft = at), it = t.attributes.ht, void 0 !== it && (nt |= rs.Ht), it !== pt && (xt = !0, pt = it), lt = t.attributes.hidden, void 0 !== lt && (nt |= rs.Hidden), lt !== gt && (xt = !0, gt = lt), ut = t.attributes.s, void 0 !== ut && (nt |= rs.S), ut !== bt && (xt = !0, bt = ut), ct = t.attributes.customFormat, void 0 !== ct && (nt |= rs.CustomFormat), ct !== mt && (xt = !0, mt = ct), ht = t.attributes.outlineLevel, void 0 !== ht && (nt |= rs.OutlineLevel), ht !== yt && (xt = !0, yt = ht), dt = t.attributes.collapsed, void 0 !== dt && (nt |= rs.Collapsed), dt !== vt && (xt = !0, vt = dt), 0 !== nt) if (rt + 1 !== K || xt) {
|
|
3097
3098
|
const t = void 0 !== at && ("1" === at || "true" === at), e = void 0 !== ct && ("1" === ct || "true" === ct);
|
|
3098
|
-
|
|
3099
|
+
kt = e && void 0 !== ut ? ut : null, e && null === kt && (kt = "0"), ot = {
|
|
3099
3100
|
min: K,
|
|
3100
3101
|
max: K,
|
|
3101
3102
|
value: {
|
|
3102
3103
|
sz: void 0 === it ? -1 : parseFloat(it),
|
|
3103
3104
|
csz: t,
|
|
3104
3105
|
h: void 0 !== lt && ("1" === lt || "true" === lt),
|
|
3105
|
-
s: null ===
|
|
3106
|
+
s: null === kt ? void 0 : "0" === kt ? 0 : parseInt(kt),
|
|
3106
3107
|
l: void 0 === ht || "0" === ht ? 0 : parseInt(ht),
|
|
3107
3108
|
cl: void 0 !== dt && ("1" === dt || "true" === dt)
|
|
3108
3109
|
}
|
|
@@ -3114,13 +3115,13 @@ var Ko = {
|
|
|
3114
3115
|
if ("sheetData" === s && (St = !0), !Tt && "sheetData" === s) {
|
|
3115
3116
|
Tt = !0;
|
|
3116
3117
|
const t = e.cols, o = t ? t.length : 0;
|
|
3117
|
-
for (let e = 0; !
|
|
3118
|
+
for (let e = 0; !Ct && e < o; e++) t[e].v.s && (Ct = !0);
|
|
3118
3119
|
}
|
|
3119
3120
|
o?.onOpenTag?.(t);
|
|
3120
3121
|
}
|
|
3121
3122
|
}, It = (e) => {
|
|
3122
3123
|
let s = e.name;
|
|
3123
|
-
if ("sheetData" === s && (St = !1), !
|
|
3124
|
+
if ("sheetData" === s && (St = !1), !C || "c" !== s && "f" !== s || (k && (P = L.get(k) ?? null), P && (U = ((t) => {
|
|
3124
3125
|
if (t.length < 11 || 104 != (32 | t.charCodeAt(0))) return;
|
|
3125
3126
|
if (!/^HYPERLINK\(/i.test(t)) return;
|
|
3126
3127
|
let e = 1, o = !1, s = 10;
|
|
@@ -3131,20 +3132,20 @@ var Ko = {
|
|
|
3131
3132
|
if (0 !== e || t.slice(s).trim().length > 0) return;
|
|
3132
3133
|
const r = /^HYPERLINK\(\s*"((?:[^"]|"")*)"\s*[,)]/i.exec(t);
|
|
3133
3134
|
return r ? r[1].replace(/""/g, "\"") : null;
|
|
3134
|
-
})(P[2]), V.append(K, J, P), X && q.append(K, J)), null !== W && j.push([W, F ? H ? "error" : "dynamic" : "fixed"]),
|
|
3135
|
+
})(P[2]), V.append(K, J, P), X && q.append(K, J)), null !== W && j.push([W, F ? H ? "error" : "dynamic" : "fixed"]), C = !1, P = null, k = null, A = null, w = !1, X = !1, W = null, F = !1, H = !1), Q) {
|
|
3135
3136
|
const o = s.indexOf(":");
|
|
3136
3137
|
if (-1 !== o && (s = s.slice(o + 1)), G) if ("is" === s || "v" === s) {
|
|
3137
3138
|
const e = a?.onEnd?.();
|
|
3138
3139
|
null == e || $ && "" === h?.() || t.pushAt(K, J, void 0 !== U && "number" == typeof e ? Y(h?.() ?? "") : "number" == typeof e ? "" + e : e);
|
|
3139
3140
|
} else "f" !== s && a?.onCloseTag?.(e);
|
|
3140
|
-
|
|
3141
|
+
w && (w = !1), "c" === s && (Q = null, G = !1);
|
|
3141
3142
|
return;
|
|
3142
3143
|
}
|
|
3143
3144
|
if (g) return g = !1, void (wt = null);
|
|
3144
3145
|
o?.onCloseTag?.(e);
|
|
3145
3146
|
}, Pt = (e) => {
|
|
3146
3147
|
const r = e.trim();
|
|
3147
|
-
if (
|
|
3148
|
+
if (w) {
|
|
3148
3149
|
switch (Z = null, tt) {
|
|
3149
3150
|
case null:
|
|
3150
3151
|
case "n":
|
|
@@ -3190,7 +3191,7 @@ var Ko = {
|
|
|
3190
3191
|
}
|
|
3191
3192
|
return void 0 !== a && (h += (3600 * parseInt(a, 10) + 60 * parseInt(l, 10) + (void 0 !== c ? parseInt(c, 10) : 0) + (void 0 !== u ? parseFloat(u) : 0)) / 86400), h;
|
|
3192
3193
|
})(r, !0 === l?.get(ts));
|
|
3193
|
-
null !== t ? Z = t : c && (s?.(`Date '${r}' in cell ${
|
|
3194
|
+
null !== t ? Z = t : c && (s?.(`Date '${r}' in cell ${T.cellToString({
|
|
3194
3195
|
colIndex: J,
|
|
3195
3196
|
rowIndex: K
|
|
3196
3197
|
})} is not a date this workbook can hold; kept as text.`, void 0, "xlsx.cell.isoDateText"), Z = "" + c(r));
|
|
@@ -3208,7 +3209,7 @@ var Ko = {
|
|
|
3208
3209
|
};
|
|
3209
3210
|
break;
|
|
3210
3211
|
}
|
|
3211
|
-
if (
|
|
3212
|
+
if (v.isJSON(e)) {
|
|
3212
3213
|
Z = {
|
|
3213
3214
|
t: "r",
|
|
3214
3215
|
v: e
|
|
@@ -3221,7 +3222,7 @@ var Ko = {
|
|
|
3221
3222
|
t ? Z = {
|
|
3222
3223
|
t: "e",
|
|
3223
3224
|
v: t.getCode()
|
|
3224
|
-
} : (Z = r, s?.(`Unknown formula error '${r}' in cell ${
|
|
3225
|
+
} : (Z = r, s?.(`Unknown formula error '${r}' in cell ${T.cellToString({
|
|
3225
3226
|
colIndex: J,
|
|
3226
3227
|
rowIndex: K
|
|
3227
3228
|
})}`));
|
|
@@ -3231,23 +3232,23 @@ var Ko = {
|
|
|
3231
3232
|
}
|
|
3232
3233
|
null !== Z && t.pushAt(K, J, void 0 === U || "number" != typeof Z && "boolean" != typeof Z ? Z : Y(Z));
|
|
3233
3234
|
}
|
|
3234
|
-
const n = null !==
|
|
3235
|
-
if (
|
|
3236
|
-
if (O ===
|
|
3235
|
+
const n = null !== k;
|
|
3236
|
+
if (k) {
|
|
3237
|
+
if (O === k) P = D;
|
|
3237
3238
|
else {
|
|
3238
|
-
if (P = L.get(
|
|
3239
|
+
if (P = L.get(k) ?? null, !P) {
|
|
3239
3240
|
const t = [];
|
|
3240
3241
|
I = R(r, K, J, t), P = [
|
|
3241
3242
|
I,
|
|
3242
3243
|
t,
|
|
3243
3244
|
r
|
|
3244
|
-
], L.set(
|
|
3245
|
+
], L.set(k, P);
|
|
3245
3246
|
}
|
|
3246
|
-
O =
|
|
3247
|
+
O = k, D = P;
|
|
3247
3248
|
}
|
|
3248
|
-
|
|
3249
|
+
k = null;
|
|
3249
3250
|
}
|
|
3250
|
-
if (
|
|
3251
|
+
if (C) {
|
|
3251
3252
|
let t = r;
|
|
3252
3253
|
const e = n ? void 0 : l?.get(Yo);
|
|
3253
3254
|
if (e) {
|
|
@@ -3383,7 +3384,7 @@ var Ko = {
|
|
|
3383
3384
|
for (const s of m) s.min > t && e.push(o(t, s.min - 1)), t = Math.max(t, s.max + 1);
|
|
3384
3385
|
t <= 1048575 && e.push(o(t, 1048575)), e.length > 0 && (et.push(...e), et.sort((t, e) => t.min - e.min));
|
|
3385
3386
|
}
|
|
3386
|
-
et.length > 0 && (e.rows =
|
|
3387
|
+
et.length > 0 && (e.rows = T.runsToRefs(et, !1));
|
|
3387
3388
|
let s = V.done(ns);
|
|
3388
3389
|
s = ((t, e) => {
|
|
3389
3390
|
let o = null;
|
|
@@ -3409,7 +3410,7 @@ var Ko = {
|
|
|
3409
3410
|
o.rowStart < r.rowStart && (r.rowStart = o.rowStart), o.colStart < r.colStart && (r.colStart = o.colStart), o.rowEnd > r.rowEnd && (r.rowEnd = o.rowEnd), o.colEnd > r.colEnd && (r.colEnd = o.colEnd), n += (o.rowEnd - o.rowStart + 1) * (o.colEnd - o.colStart + 1);
|
|
3410
3411
|
}
|
|
3411
3412
|
if (n !== (r.rowEnd - r.rowStart + 1) * (r.colEnd - r.colStart + 1)) continue;
|
|
3412
|
-
const i = Fo(
|
|
3413
|
+
const i = Fo(T.resolveRelativeToA1(o.value[1], r.rowStart, r.colStart), r);
|
|
3413
3414
|
if (i) {
|
|
3414
3415
|
e.push(i);
|
|
3415
3416
|
for (let e = 0; e < t.length; e++) s.add(t[e]);
|
|
@@ -3421,15 +3422,15 @@ var Ko = {
|
|
|
3421
3422
|
if (r > 0 || B.length > 0) {
|
|
3422
3423
|
const t = new Array(r);
|
|
3423
3424
|
for (let e = 0; e < r; e++) {
|
|
3424
|
-
const o = s[e], r =
|
|
3425
|
+
const o = s[e], r = T.rangeToString(o), n = o.value[1], i = T.resolveRelativeToA1(n, o.rowStart, o.colStart);
|
|
3425
3426
|
t[e] = [r, i];
|
|
3426
3427
|
}
|
|
3427
3428
|
for (let e = 0; e < B.length; e++) {
|
|
3428
3429
|
const o = B[e], s = o.ref;
|
|
3429
|
-
t.push([
|
|
3430
|
+
t.push([T.cellToString({
|
|
3430
3431
|
rowIndex: s.rowStart,
|
|
3431
3432
|
colIndex: s.colStart
|
|
3432
|
-
}), st(o)]), j.push([
|
|
3433
|
+
}), st(o)]), j.push([T.rangeToString(s), "dynamic"]);
|
|
3433
3434
|
}
|
|
3434
3435
|
e.formulas = t;
|
|
3435
3436
|
}
|
|
@@ -3437,7 +3438,7 @@ var Ko = {
|
|
|
3437
3438
|
if (a > 0) {
|
|
3438
3439
|
const t = new Array(a);
|
|
3439
3440
|
for (let e = 0; e < a; e++) {
|
|
3440
|
-
const o = i[e], s =
|
|
3441
|
+
const o = i[e], s = T.rangeToString(o);
|
|
3441
3442
|
t[e] = s;
|
|
3442
3443
|
}
|
|
3443
3444
|
e.volatile = t;
|
|
@@ -3453,7 +3454,7 @@ var Ko = {
|
|
|
3453
3454
|
for (let e = 1; e < l; e++) c = S[e], i !== c.value || o !== c.colStart || s !== c.colEnd || r + 1 !== c.rowEnd ? (a.push(c), t = c, o = t.colStart, s = t.colEnd, r = t.rowEnd, i = t.value) : (r = c.rowEnd, t.rowEnd = r);
|
|
3454
3455
|
const u = a.length, h = new Array(u);
|
|
3455
3456
|
for (let t = 0; t < u; t++) {
|
|
3456
|
-
const e = a[t], o =
|
|
3457
|
+
const e = a[t], o = T.rangeToString(e);
|
|
3457
3458
|
h[t] = [o, e.value];
|
|
3458
3459
|
}
|
|
3459
3460
|
e.directStyles = h;
|
|
@@ -3658,7 +3659,7 @@ var ms = {
|
|
|
3658
3659
|
return t.linkTarget && (s.linkTarget = t.linkTarget), s;
|
|
3659
3660
|
}, xs = "hiddenXfs", ws = (t) => (Array.isArray(t) ? t[1] : t?.v)?.s, Ts = (t) => {
|
|
3660
3661
|
if (!t || 0 === t.length) return !1;
|
|
3661
|
-
const e =
|
|
3662
|
+
const e = T.refsToRuns(t, !0);
|
|
3662
3663
|
let o = 0;
|
|
3663
3664
|
for (const t of e) {
|
|
3664
3665
|
if (t.min > o || void 0 === t.value?.s) return !1;
|
|
@@ -3670,10 +3671,10 @@ var ms = {
|
|
|
3670
3671
|
...t.protection,
|
|
3671
3672
|
showFormulas: e
|
|
3672
3673
|
};
|
|
3673
|
-
},
|
|
3674
|
+
}, Cs = "pivotButtonXfs", ks = (t, e) => {
|
|
3674
3675
|
const o = x(t, e);
|
|
3675
3676
|
if (!o || !t.location) return null;
|
|
3676
|
-
const s =
|
|
3677
|
+
const s = T.fastStringToRange(t.location), r = {
|
|
3677
3678
|
rowIndex: s.rowStart - o.top,
|
|
3678
3679
|
colIndex: s.colStart
|
|
3679
3680
|
};
|
|
@@ -3762,7 +3763,7 @@ var ms = {
|
|
|
3762
3763
|
if ("string" == typeof t) return void e.push(t);
|
|
3763
3764
|
const o = Array.isArray(t) ? t : [t];
|
|
3764
3765
|
for (let t = 0; t < o.length; t++) {
|
|
3765
|
-
const s =
|
|
3766
|
+
const s = T.rangeToString(o[t]);
|
|
3766
3767
|
s && e.push(s);
|
|
3767
3768
|
}
|
|
3768
3769
|
}, Vs = (t) => {
|
|
@@ -3775,7 +3776,7 @@ var ms = {
|
|
|
3775
3776
|
const r = e ? 2 : 1, n = e ? o.rowStart : o.colStart, i = e ? o.rowEnd : o.colEnd;
|
|
3776
3777
|
let a, l = -1;
|
|
3777
3778
|
for (const o of t) {
|
|
3778
|
-
const t =
|
|
3779
|
+
const t = T.refToRun(o, e), c = Vs(o);
|
|
3779
3780
|
t && void 0 !== c ? c !== l || (e ? a.colEnd : a.rowEnd) + 1 !== t.min ? (a = {
|
|
3780
3781
|
colStart: e ? t.min : n,
|
|
3781
3782
|
rowStart: e ? n : t.min,
|
|
@@ -3830,22 +3831,22 @@ var ms = {
|
|
|
3830
3831
|
26,
|
|
3831
3832
|
225
|
|
3832
3833
|
], Ws = /^xl\/worksheets\/[^/]+\.xml$/i, zs = (t) => "string" == typeof t ? t : (t?.runs ?? []).map((t) => t.text ?? "").join(""), Xs = async (n, l) => {
|
|
3833
|
-
const { password: c, onVBA: u, profile: d, calcOnLoad: p = "auto", createWorkbookOptions: f = {}, ...
|
|
3834
|
-
await
|
|
3835
|
-
const
|
|
3836
|
-
|
|
3834
|
+
const { password: c, onVBA: u, profile: d, calcOnLoad: p = "auto", createWorkbookOptions: f = {}, ...g } = l ?? {};
|
|
3835
|
+
await C.load();
|
|
3836
|
+
const m = !!f.origin && "string" != typeof f.origin, b = d ? new me("function" == typeof d ? d : void 0) : null, v = [], x = (t, e, o) => {
|
|
3837
|
+
v.push([
|
|
3837
3838
|
t,
|
|
3838
3839
|
e ?? "",
|
|
3839
3840
|
o
|
|
3840
3841
|
]);
|
|
3841
|
-
},
|
|
3842
|
+
}, S = { onWarning: x }, A = l?.progress, P = A?.onProgress ? A.onProgress.bind(A) : void 0, O = n.byteLength;
|
|
3842
3843
|
let D = 0, N = 0;
|
|
3843
3844
|
const _ = P ? (t) => {
|
|
3844
3845
|
if (D <= 0) return;
|
|
3845
3846
|
N += t;
|
|
3846
3847
|
const e = Math.min(O, Math.round(N / D * O));
|
|
3847
3848
|
P(e, O);
|
|
3848
|
-
} : void 0, $ = import("./
|
|
3849
|
+
} : void 0, $ = import("./BLr8y5StL65VZQxG.js");
|
|
3849
3850
|
let V = null;
|
|
3850
3851
|
try {
|
|
3851
3852
|
V = new DOMParser();
|
|
@@ -3855,7 +3856,7 @@ var ms = {
|
|
|
3855
3856
|
L = new XMLSerializer();
|
|
3856
3857
|
} catch (n) {}
|
|
3857
3858
|
let B, F, q, U = null;
|
|
3858
|
-
V || (U = import("./
|
|
3859
|
+
V || (U = import("./DKKLWACR9GsidnkS.js").then((e) => t(e.default, 1)));
|
|
3859
3860
|
try {
|
|
3860
3861
|
const [t, e] = await Promise.all([U, $]);
|
|
3861
3862
|
B = new e.DOMTransformer(), F = V ?? new t.DOMParser(), q = L ?? new t.XMLSerializer();
|
|
@@ -3874,7 +3875,7 @@ var ms = {
|
|
|
3874
3875
|
} catch (n) {
|
|
3875
3876
|
throw new i("Unable to parse as an Excel document. Try to save as '.xlsx' and try again.", { cause: n });
|
|
3876
3877
|
}
|
|
3877
|
-
|
|
3878
|
+
b?.mark("zip-open");
|
|
3878
3879
|
try {
|
|
3879
3880
|
if (!Y.has("[Content_Types].xml")) throw new i("Unable to parse as an Excel document. Try to save as '.xlsx' and try again.");
|
|
3880
3881
|
const t = (t) => {
|
|
@@ -3926,7 +3927,7 @@ var ms = {
|
|
|
3926
3927
|
},
|
|
3927
3928
|
onError: (t) => {
|
|
3928
3929
|
((t) => {
|
|
3929
|
-
|
|
3930
|
+
v.push([t, "[Content_Types].xml"]);
|
|
3930
3931
|
})(`Error parsing content types: ${t?.message ?? t}`);
|
|
3931
3932
|
}
|
|
3932
3933
|
}))(o), e = await Y.getTextStream("[Content_Types].xml");
|
|
@@ -3936,15 +3937,15 @@ var ms = {
|
|
|
3936
3937
|
} catch (n) {
|
|
3937
3938
|
throw new Error("Error parsing content types: '[Content_Types].xml'", { cause: n });
|
|
3938
3939
|
}
|
|
3939
|
-
|
|
3940
|
+
m && await Y.getBuffer("[Content_Types].xml");
|
|
3940
3941
|
}
|
|
3941
|
-
|
|
3942
|
+
b?.mark("content-types");
|
|
3942
3943
|
const l = o.sst, c = /* @__PURE__ */ new Set();
|
|
3943
3944
|
for (const t of o.sheets) c.add(Fs(t));
|
|
3944
3945
|
l && c.add(Fs(l));
|
|
3945
3946
|
for (const t of c) D += Y.uncompressedSize(t);
|
|
3946
|
-
if (await Y.prefetch((t) => !c.has(t) && !Ws.test(t)),
|
|
3947
|
-
const e = pt("_rels/.rels", t, F, B,
|
|
3947
|
+
if (await Y.prefetch((t) => !c.has(t) && !Ws.test(t)), b?.mark("prefetch-side-parts"), 0 === o.workbooks.length) {
|
|
3948
|
+
const e = pt("_rels/.rels", t, F, B, S), s = "http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument";
|
|
3948
3949
|
if (e) {
|
|
3949
3950
|
for (const t of e.values()) if (t.type === s && t.target) {
|
|
3950
3951
|
o.workbooks.push(t.target);
|
|
@@ -3953,15 +3954,15 @@ var ms = {
|
|
|
3953
3954
|
}
|
|
3954
3955
|
}
|
|
3955
3956
|
if (0 === o.workbooks.length) throw new i("Unable to parse as an Excel document. Try to save as '.xlsx' and try again.");
|
|
3956
|
-
const
|
|
3957
|
+
const g = f?.resources ?? new y(), C = g.beginPersist(), N = {}, $ = /* @__PURE__ */ new Set(), V = /* @__PURE__ */ new Map();
|
|
3957
3958
|
V.set("parseInlineDxf", (t) => {
|
|
3958
3959
|
if (!t) return;
|
|
3959
3960
|
const e = F.parseFromString(`<dxf xmlns:x14="${re}" xmlns:xm="${G}">${t}</dxf>`, "text/xml")?.documentElement;
|
|
3960
3961
|
if (!e) return;
|
|
3961
|
-
const o = B.parseDxf(e, "",
|
|
3962
|
+
const o = B.parseDxf(e, "", S);
|
|
3962
3963
|
return Object.keys(o).length > 0 ? o : void 0;
|
|
3963
3964
|
});
|
|
3964
|
-
const L = Ot("metadata", o, t, F, B,
|
|
3965
|
+
const L = Ot("metadata", o, t, F, B, S).entries().next()?.value?.[1]?.metadata;
|
|
3965
3966
|
L && V.set("metadata", L), V.set(Qo, Z());
|
|
3966
3967
|
const q = /* @__PURE__ */ new Map(), U = [], et = /* @__PURE__ */ new Set(), ot = (t) => {
|
|
3967
3968
|
et.add(Fs(t));
|
|
@@ -3974,8 +3975,8 @@ var ms = {
|
|
|
3974
3975
|
if (!i) return null;
|
|
3975
3976
|
if ("External" === n.targetMode) {
|
|
3976
3977
|
if (!s) return n.target;
|
|
3977
|
-
const t =
|
|
3978
|
-
return t.addReference(N), $.add(t),
|
|
3978
|
+
const t = g.add({ source: { external: n.target } });
|
|
3979
|
+
return t.addReference(N), $.add(t), C.toResourceId(t);
|
|
3979
3980
|
}
|
|
3980
3981
|
const a = o.lastIndexOf("/"), l = o.substring(0, a + 1);
|
|
3981
3982
|
i.startsWith("/") || (i = l + i), i = At(i);
|
|
@@ -3988,7 +3989,7 @@ var ms = {
|
|
|
3988
3989
|
u = t;
|
|
3989
3990
|
const e = async () => {
|
|
3990
3991
|
const e = ss(t, (t, e) => "legacyDrawing" === e ? ct(t, i) : "formControl" === e ? ut(t, i) : "part" === e ? ft(t, i) : rt(t, i, "resource" === e) ?? null, Mt, c, () => {}, (t, e, o) => {
|
|
3991
|
-
|
|
3992
|
+
x(t, e ? `${e} (${i})` : i, o);
|
|
3992
3993
|
}, void 0, V), o = await Y.getTextStream(i, _);
|
|
3993
3994
|
if (o) try {
|
|
3994
3995
|
await Ne.parseStream(o, e, {
|
|
@@ -4007,10 +4008,10 @@ var ms = {
|
|
|
4007
4008
|
const s = ft(o, i, t.type, (t) => "http://schemas.openxmlformats.org/officeDocument/2006/relationships/pivotCacheDefinition" !== t);
|
|
4008
4009
|
if (!s?.xml) return;
|
|
4009
4010
|
const r = /<pivotTableDefinition\b[^>]*>/.exec(s.xml)?.[0] ?? "", n = parseInt(/\scacheId="(\d+)"/.exec(r)?.[1] ?? "", 10);
|
|
4010
|
-
if (isNaN(n)) return void
|
|
4011
|
+
if (isNaN(n)) return void v.push([`Pivot table '${s.name}' names no cache and was dropped.`, i]);
|
|
4011
4012
|
const a = /\sname="([^"]*)"/.exec(r)?.[1], l = j(s.xml);
|
|
4012
|
-
if (!l) return void
|
|
4013
|
-
const c = B?.getVisitorParamsState(), u = it(c?.get("numFmts"), c?.get("dxfs")), h = dt(s.xml, u), d = h ? void 0 :
|
|
4013
|
+
if (!l) return void v.push([`Pivot table '${s.name}' states no location and was dropped.`, i]);
|
|
4014
|
+
const c = B?.getVisitorParamsState(), u = it(c?.get("numFmts"), c?.get("dxfs")), h = dt(s.xml, u), d = h ? void 0 : kt(s.xml, u);
|
|
4014
4015
|
e.push({
|
|
4015
4016
|
...a ? { name: zt(a) } : {},
|
|
4016
4017
|
cacheId: n,
|
|
@@ -4040,8 +4041,8 @@ var ms = {
|
|
|
4040
4041
|
}), n.sort((t, e) => ("book" === t.role ? 0 : 1) - ("book" === e.role ? 0 : 1)), t.sources = n, ot(i), u = t;
|
|
4041
4042
|
} else u = null;
|
|
4042
4043
|
} else u = s ? Pt(i, t, (t, e) => {
|
|
4043
|
-
const o =
|
|
4044
|
-
return o.addReference(N), $.add(o),
|
|
4044
|
+
const o = g.add({ source: { buffer: t } });
|
|
4045
|
+
return o.addReference(N), $.add(o), C.toResourceId(o);
|
|
4045
4046
|
}, Tt) : Wt(i, t, F, B, Tt);
|
|
4046
4047
|
}
|
|
4047
4048
|
return u;
|
|
@@ -4113,7 +4114,7 @@ var ms = {
|
|
|
4113
4114
|
const s = /* @__PURE__ */ new Map();
|
|
4114
4115
|
for (let t = 0; t < o.length; t++) {
|
|
4115
4116
|
const e = o[t];
|
|
4116
|
-
s.set(
|
|
4117
|
+
s.set(T.cellToString({
|
|
4117
4118
|
rowIndex: e.row,
|
|
4118
4119
|
colIndex: e.col
|
|
4119
4120
|
}), e);
|
|
@@ -4205,11 +4206,11 @@ var ms = {
|
|
|
4205
4206
|
const o = ft(e, a, t.type, n, i);
|
|
4206
4207
|
o && p.push(o);
|
|
4207
4208
|
}), p.length > 0 && (d.parts = p), ot(a), d;
|
|
4208
|
-
}, gt = Ot("coreprops", o, t, F, B,
|
|
4209
|
+
}, gt = Ot("coreprops", o, t, F, B, S), mt = Ot("extprops", o, t, F, B, S), bt = Ot("custprops", o, t, F, B, S);
|
|
4209
4210
|
bt.forEach((t, e) => {
|
|
4210
4211
|
t?.custom && ot(e);
|
|
4211
4212
|
});
|
|
4212
|
-
const vt = new I(), xt = Ot("people", o, t, F, B,
|
|
4213
|
+
const vt = new I(), xt = Ot("people", o, t, F, B, S);
|
|
4213
4214
|
if (xt.size > 0) {
|
|
4214
4215
|
const [t, e] = xt.entries().next().value;
|
|
4215
4216
|
vt.fromJSON(e?.persons), ot(t);
|
|
@@ -4224,9 +4225,9 @@ var ms = {
|
|
|
4224
4225
|
readEmbeddedPart: (t, e) => ft(t, e),
|
|
4225
4226
|
addPerson: wt,
|
|
4226
4227
|
serializeElement: J,
|
|
4227
|
-
onWarning:
|
|
4228
|
-
}, St = [],
|
|
4229
|
-
if (V.set(es,
|
|
4228
|
+
onWarning: x
|
|
4229
|
+
}, St = [], Ct = /* @__PURE__ */ new Map();
|
|
4230
|
+
if (V.set(es, Ct), l) {
|
|
4230
4231
|
const t = await Y.getTextStream(l, _);
|
|
4231
4232
|
if (t) {
|
|
4232
4233
|
const e = ((t, e) => {
|
|
@@ -4243,7 +4244,7 @@ var ms = {
|
|
|
4243
4244
|
onCloseTag: (t) => {
|
|
4244
4245
|
const e = qo(t.name);
|
|
4245
4246
|
"t" === e ? s = !1 : "si" === e ? (((t, e) => {
|
|
4246
|
-
e &&
|
|
4247
|
+
e && Ct.set(St.length, e), St.push(t);
|
|
4247
4248
|
})(W(n), i.take() ?? void 0), o = !1, n = "") : "rPh" === e || "phoneticPr" === e ? r > 0 && r-- : i.onCloseTag(e);
|
|
4248
4249
|
},
|
|
4249
4250
|
onError: (t) => {
|
|
@@ -4251,7 +4252,7 @@ var ms = {
|
|
|
4251
4252
|
}
|
|
4252
4253
|
};
|
|
4253
4254
|
})(0, (t) => {
|
|
4254
|
-
|
|
4255
|
+
x(t, l);
|
|
4255
4256
|
});
|
|
4256
4257
|
try {
|
|
4257
4258
|
await Ne.parseStream(t, e, { xmlns: !1 });
|
|
@@ -4260,7 +4261,7 @@ var ms = {
|
|
|
4260
4261
|
}
|
|
4261
4262
|
}
|
|
4262
4263
|
}
|
|
4263
|
-
|
|
4264
|
+
b?.mark("shared-strings");
|
|
4264
4265
|
let It = St.length;
|
|
4265
4266
|
const Dt = /* @__PURE__ */ new Map();
|
|
4266
4267
|
let _t = It;
|
|
@@ -4298,11 +4299,11 @@ var ms = {
|
|
|
4298
4299
|
return r ? r.slice().buffer : null;
|
|
4299
4300
|
},
|
|
4300
4301
|
addFetched: (t, e) => {
|
|
4301
|
-
const o =
|
|
4302
|
+
const o = g.add({
|
|
4302
4303
|
source: { buffer: t },
|
|
4303
4304
|
fetchedFrom: e
|
|
4304
4305
|
});
|
|
4305
|
-
return o.addReference(N), $.add(o),
|
|
4306
|
+
return o.addReference(N), $.add(o), C.toResourceId(o);
|
|
4306
4307
|
},
|
|
4307
4308
|
markAbsorbed: ot
|
|
4308
4309
|
}, qt = /* @__PURE__ */ new Map();
|
|
@@ -4358,7 +4359,7 @@ var ms = {
|
|
|
4358
4359
|
})
|
|
4359
4360
|
};
|
|
4360
4361
|
})(t, F), Kt = Ut(Gt, qt, (t) => {
|
|
4361
|
-
|
|
4362
|
+
x(t, "/xl/richData/rdrichvalue.xml");
|
|
4362
4363
|
});
|
|
4363
4364
|
V.set("richData", Gt.values.map((t, e) => Kt.cellValue(e)));
|
|
4364
4365
|
for (let t = 0; t < Vt; t++) {
|
|
@@ -4371,7 +4372,7 @@ var ms = {
|
|
|
4371
4372
|
let t = Jt.entries().next();
|
|
4372
4373
|
t?.value?.[1] && (Qt = t.value[1]);
|
|
4373
4374
|
}
|
|
4374
|
-
const Yt = new
|
|
4375
|
+
const Yt = new w(Qt);
|
|
4375
4376
|
let oe = Ot("styles", o, t, F, B, Tt).entries().next()?.value?.[1];
|
|
4376
4377
|
oe && (oe = JSON.parse(a.JSONStableStringify(oe)));
|
|
4377
4378
|
const se = Ot("workbooks", o, t, F, B, Tt);
|
|
@@ -4387,7 +4388,7 @@ var ms = {
|
|
|
4387
4388
|
for (const t of s.keys()) o.add(t.toUpperCase());
|
|
4388
4389
|
} catch {}
|
|
4389
4390
|
return (t) => o.has(t) || E.has(t);
|
|
4390
|
-
})(se.entries().next().value?.[1]?.names, f.functions)),
|
|
4391
|
+
})(se.entries().next().value?.[1]?.names, f.functions)), b?.mark("side-parts-json"), await Promise.all(U);
|
|
4391
4392
|
{
|
|
4392
4393
|
const t = se.entries().next().value?.[1], e = Z(t?.names), o = t?.sheets ?? [];
|
|
4393
4394
|
for (let t = 0; t < o.length; t++) {
|
|
@@ -4405,7 +4406,7 @@ var ms = {
|
|
|
4405
4406
|
"string" == typeof o && (s[t].ref = e.readDetached(o));
|
|
4406
4407
|
}
|
|
4407
4408
|
}
|
|
4408
|
-
P && D > 0 && (P(O, O), await new Promise((t) => setTimeout(t, 0))),
|
|
4409
|
+
P && D > 0 && (P(O, O), await new Promise((t) => setTimeout(t, 0))), b?.mark("sheets");
|
|
4409
4410
|
const ne = {
|
|
4410
4411
|
...se.entries().next().value?.[1],
|
|
4411
4412
|
styles: oe,
|
|
@@ -4430,7 +4431,7 @@ var ms = {
|
|
|
4430
4431
|
}
|
|
4431
4432
|
return Object.keys(r).length > 0 ? r : void 0;
|
|
4432
4433
|
})(gt.values().next().value?.properties, mt.values().next().value?.properties, bt.values().next().value?.custom, (t, e) => {
|
|
4433
|
-
|
|
4434
|
+
x(t, "docProps/custom.xml", e);
|
|
4434
4435
|
});
|
|
4435
4436
|
ae && (ne.properties = ae), ((t, e) => {
|
|
4436
4437
|
if (!e || 0 === e.size) return;
|
|
@@ -4483,13 +4484,13 @@ var ms = {
|
|
|
4483
4484
|
const r = s.map(Et), n = s.map(() => []);
|
|
4484
4485
|
for (const [o, s] of t.directStyles ?? []) {
|
|
4485
4486
|
if (!e.has(s)) continue;
|
|
4486
|
-
const t =
|
|
4487
|
+
const t = T.fastStringToRange(o);
|
|
4487
4488
|
for (let e = 0; e < r.length; e++) {
|
|
4488
4489
|
const o = r[e];
|
|
4489
4490
|
if (!o) continue;
|
|
4490
4491
|
const s = Math.max(t.rowStart, o.rowStart), i = Math.min(t.rowEnd, o.rowEnd), a = Math.max(t.colStart, o.colStart), l = Math.min(t.colEnd, o.colEnd);
|
|
4491
4492
|
if (s > i || a > l) continue;
|
|
4492
|
-
const c =
|
|
4493
|
+
const c = T.rangeToString({
|
|
4493
4494
|
rowStart: s - o.rowStart,
|
|
4494
4495
|
rowEnd: i - o.rowStart,
|
|
4495
4496
|
colStart: a - o.colStart,
|
|
@@ -4500,7 +4501,7 @@ var ms = {
|
|
|
4500
4501
|
}
|
|
4501
4502
|
for (let t = 0; t < s.length; t++) n[t].length > 0 && (s[t].buttons = n[t]);
|
|
4502
4503
|
}
|
|
4503
|
-
})(ne, V.get(
|
|
4504
|
+
})(ne, V.get(Cs));
|
|
4504
4505
|
const le = V.get($s);
|
|
4505
4506
|
((t, e) => {
|
|
4506
4507
|
const o = t.styles?.direct;
|
|
@@ -4533,22 +4534,22 @@ var ms = {
|
|
|
4533
4534
|
if (!t || !o || 0 === o.length || !s || 0 === s.length) continue;
|
|
4534
4535
|
let r = s, n = !1;
|
|
4535
4536
|
for (const t of o) {
|
|
4536
|
-
const e =
|
|
4537
|
+
const e = ks(t, l.get(t.cacheId));
|
|
4537
4538
|
if (!e) continue;
|
|
4538
4539
|
const o = [];
|
|
4539
4540
|
for (const t of r) {
|
|
4540
|
-
const s =
|
|
4541
|
+
const s = T.fastStringToRange(t[0]), r = _s(s, e.coords);
|
|
4541
4542
|
if (!r) {
|
|
4542
4543
|
o.push(t);
|
|
4543
4544
|
continue;
|
|
4544
4545
|
}
|
|
4545
4546
|
n = !0;
|
|
4546
|
-
for (const e of Ms(s, r)) o.push([
|
|
4547
|
+
for (const e of Ms(s, r)) o.push([T.rangeToString(e), t[1]]);
|
|
4547
4548
|
const { rowIndex: a, colIndex: l } = e.origin;
|
|
4548
4549
|
for (let s = r.rowStart; s <= r.rowEnd; s++) {
|
|
4549
4550
|
let n = r.colStart, c = null;
|
|
4550
4551
|
const u = (t) => {
|
|
4551
|
-
null !== c && o.push([
|
|
4552
|
+
null !== c && o.push([T.rangeToString({
|
|
4552
4553
|
rowStart: s,
|
|
4553
4554
|
rowEnd: s,
|
|
4554
4555
|
colStart: n,
|
|
@@ -4580,7 +4581,7 @@ var ms = {
|
|
|
4580
4581
|
if (Ls(t.cols, !0, o, n), Ls(t.rows, !1, o, n), 0 === n.length) continue;
|
|
4581
4582
|
const i = [];
|
|
4582
4583
|
for (const [e, o] of t.directStyles ?? []) i.push({
|
|
4583
|
-
...
|
|
4584
|
+
...T.fastStringToRange(e),
|
|
4584
4585
|
value: {
|
|
4585
4586
|
kind: 0,
|
|
4586
4587
|
index: o
|
|
@@ -4601,7 +4602,7 @@ var ms = {
|
|
|
4601
4602
|
}
|
|
4602
4603
|
s = t ?? o ?? r;
|
|
4603
4604
|
}
|
|
4604
|
-
a.push([
|
|
4605
|
+
a.push([T.rangeToString(t.value.range, o), s.index]);
|
|
4605
4606
|
}
|
|
4606
4607
|
a.length > 0 ? t.directStyles = a : delete t.directStyles;
|
|
4607
4608
|
}
|
|
@@ -4641,7 +4642,7 @@ var ms = {
|
|
|
4641
4642
|
t?.slicers && e.set(o, t.slicers);
|
|
4642
4643
|
}), ie(ne, {
|
|
4643
4644
|
warn: (t, e) => {
|
|
4644
|
-
|
|
4645
|
+
x(t, "xl/slicers", e);
|
|
4645
4646
|
},
|
|
4646
4647
|
markAbsorbed: ot,
|
|
4647
4648
|
slicerParts: e
|
|
@@ -4655,7 +4656,7 @@ var ms = {
|
|
|
4655
4656
|
ce && ce.length > 0 && (ne.people = ce);
|
|
4656
4657
|
const fe = Y.getEntry("xl/vbaProject.bin");
|
|
4657
4658
|
if (fe) try {
|
|
4658
|
-
const { VBAProject: t } = await import("./
|
|
4659
|
+
const { VBAProject: t } = await import("./D-PYDPXobSWiPh1D.js"), e = t.extract(fe);
|
|
4659
4660
|
if (e) {
|
|
4660
4661
|
const o = /* @__PURE__ */ new Map();
|
|
4661
4662
|
for (const t of ne.sheets ?? []) {
|
|
@@ -4671,25 +4672,25 @@ var ms = {
|
|
|
4671
4672
|
a[s.name] || (a[s.name] = e);
|
|
4672
4673
|
}
|
|
4673
4674
|
u?.(e);
|
|
4674
|
-
} else
|
|
4675
|
+
} else v.push(["Unable to parse VBA project.", "xl/vbaProject.bin"]);
|
|
4675
4676
|
} catch (n) {
|
|
4676
|
-
|
|
4677
|
+
v.push([`Error extracting VBA: ${n?.message ?? n}`, "xl/vbaProject.bin"]);
|
|
4677
4678
|
}
|
|
4678
4679
|
const ge = V.get("calcId"), me = void 0 === ge || !(Number(ge) >= 191029), be = f.calcOnLoad ?? ("auto" === p && me ? "full" : p), ye = {
|
|
4679
4680
|
...f,
|
|
4680
4681
|
calcOnLoad: be,
|
|
4681
|
-
resources:
|
|
4682
|
+
resources: g,
|
|
4682
4683
|
json: ne
|
|
4683
4684
|
};
|
|
4684
4685
|
if (void 0 === ye.disableLoadAutoFit) {
|
|
4685
4686
|
const t = V.get(ee);
|
|
4686
4687
|
ye.disableLoadAutoFit = !!t?.declared && t.normalIsThemeFont && await jt(t.faces);
|
|
4687
4688
|
}
|
|
4688
|
-
|
|
4689
|
-
const ve = new
|
|
4690
|
-
if (
|
|
4689
|
+
b?.mark("json-assembled");
|
|
4690
|
+
const ve = new k(ye);
|
|
4691
|
+
if (b?.mark("workbook-constructed"), $.forEach((t) => {
|
|
4691
4692
|
t.deleteReference(N);
|
|
4692
|
-
}),
|
|
4693
|
+
}), C.endPersist(), m) {
|
|
4693
4694
|
X(ve);
|
|
4694
4695
|
const t = /* @__PURE__ */ new Map();
|
|
4695
4696
|
let e = 0;
|
|
@@ -4710,7 +4711,7 @@ var ms = {
|
|
|
4710
4711
|
};
|
|
4711
4712
|
t.set(o, n), e += s.byteLength;
|
|
4712
4713
|
}
|
|
4713
|
-
if (e > 67108864)
|
|
4714
|
+
if (e > 67108864) v.push([`Source package too large to retain (${e} bytes, limit ${te}); unmodeled parts will be dropped on save.`, "SourcePackage"]);
|
|
4714
4715
|
else if (t.size > 0) {
|
|
4715
4716
|
const e = new Nt(t, et);
|
|
4716
4717
|
tt(ve, e);
|
|
@@ -4727,14 +4728,14 @@ var ms = {
|
|
|
4727
4728
|
} });
|
|
4728
4729
|
}
|
|
4729
4730
|
}
|
|
4730
|
-
if (
|
|
4731
|
+
if (v.length && A?.onWarning) {
|
|
4731
4732
|
const t = /* @__PURE__ */ new Set();
|
|
4732
|
-
for (const e of
|
|
4733
|
+
for (const e of v) {
|
|
4733
4734
|
const [o, s, r] = e, n = r ?? o;
|
|
4734
4735
|
t.has(n) || (t.add(n), A.onWarning(o, s));
|
|
4735
4736
|
}
|
|
4736
4737
|
}
|
|
4737
|
-
return
|
|
4738
|
+
return b && !0 === d && console.table(b.toTable()), await ve.whenFontsReady(), ve;
|
|
4738
4739
|
} catch (n) {
|
|
4739
4740
|
let t = "Unable to parse XLSX.";
|
|
4740
4741
|
throw n instanceof o && (t = "Unable to open XLSX. There are too many rows or columns."), new Error(t, { cause: n });
|
|
@@ -4742,4 +4743,4 @@ var ms = {
|
|
|
4742
4743
|
await Y.close().catch(() => {});
|
|
4743
4744
|
}
|
|
4744
4745
|
};
|
|
4745
|
-
export { Xs as a,
|
|
4746
|
+
export { Xs as a, Cs as i, xs as n, os as o, $s as r, Bs as t };
|