@sheetxl/mcp 0.8.0-beta.20 → 0.8.0-beta.21
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/{BieAybaOdneMdvBS.js → -NFft0E2Wj6WH3X9.js} +1 -1
- package/assets/{Bp9zuG6P6r9GEb6G.js → 0ewqK5X66DZmbhVR.js} +1 -1
- package/assets/{Dc2LiflUYpt0nVVk.js → 1bSTbCnkTWvsV82p.js} +4 -4
- package/assets/{DMDx0fX8tHKH0DdL.js → 4-DOIpV6Hjaymwy7.js} +2 -2
- package/assets/{BKc7zTK6ZIhcD_Wu.js → 69EXDk0YRdjdM86i.js} +1 -1
- package/assets/{DNwyEanz3LqtOorY.js → 8wMcuw3b1CFk-D5A.js} +1 -1
- package/assets/{IDq3QQa5uRqjVJx_.js → AGdlSbOsXWO1oZAE.js} +1 -1
- package/assets/{C9eaFlFi_4GmymzP.js → B1l0k4ErELObdQKE.js} +40 -40
- package/assets/{CrULZhDt8uE-MR2s.js → B4Z_YneQya9mUTN5.js} +1 -1
- package/assets/{eV0oowKJe44NBnWj.js → B8NDzDM0Gpwmkylq.js} +1 -1
- package/assets/{CoOIn2wx6je_rMDO.js → B8URptQcztz4DRvS.js} +23 -23
- package/assets/{D--emvI048MvLsXl.js → BABP2ffkRrOs7_Ym.js} +1 -1
- package/assets/{C7oUg84aGjYrJUc6.js → BAqvmoeYqG6dwX3I.js} +2 -2
- package/assets/{CgIHqG1qp9n1Gwm7.js → BC2Y5XPkMBKS6jQX.js} +274 -270
- package/assets/{rtUwIBgECTX9UO_B.js → BEOwJnsyIuMC4SaI.js} +4 -4
- package/assets/{Bg8EN9R3hbeNfFyU.js → BJo3edG_rqch-Kw2.js} +52 -52
- package/assets/{DnDTldUjKy0O586y.js → BM9zwvBRXNbO_uD-.js} +2 -2
- package/assets/{YG5hEr6CzWNmNJQ2.js → BMkhJwKP7goV0vlJ.js} +1 -1
- package/assets/{BYYbglFmasE5PrS2.js → BRiLNigzVwOBIxBy.js} +1 -1
- package/assets/{DV_nCOON8Fgq5RBt.js → BU7t2vK3_DH_BbMd.js} +2 -2
- package/assets/{C9wXzrhl0dwqZgJ6.js → BVDaUnmVOSaDw9e3.js} +1 -1
- package/assets/{DndzARNYtmumqGnG.js → BWqKV3QuZX31WPsa.js} +1 -1
- package/assets/{C0MAjW1vgsw6o0fx.js → BZJvWc-5DdAyHXFk.js} +1 -1
- package/assets/{PMBjuoD2MpG87dao.js → B_RppF41PrYlelc_.js} +1 -1
- package/assets/{mYZ9Z5AKCn7zltHw.js → B_n6s7Kj4_5BWn1q.js} +2 -2
- package/assets/{Dv9ZDmKuxn2tQDGb.js → Bagfe_VVU6NyQNS6.js} +1 -1
- package/assets/{DcwqgbgqPyzQxSsQ.js → BbsMdXiRzPW9BCEK.js} +1 -1
- package/assets/{C46dyA4YSP1-iTSN.js → BeMLPoHRWacCbpl2.js} +1 -1
- package/assets/{BHiZ3GtGCWUWwHqY.js → BneTvtEMcBoSiQnw.js} +3 -3
- package/assets/{klKXcdZmbQmsK2rt.js → BrgptoFtJepXL46Z.js} +1 -1
- package/assets/{CbTKUrroY9PQ6eTu.js → BtiRDaBbNpPpKelt.js} +3 -3
- package/assets/{Dsjx528shW3GcGpD.js → BtjG4s0StUieGI5b.js} +3 -3
- package/assets/{CW2Ca6tsd0aLTz88.js → C0pbMKm0FzhOek9r.js} +1 -1
- package/assets/{DALP-GkmzCJdFIV9.js → C1ZP9W2tiVQUwLqZ.js} +1 -1
- package/assets/{YGYD-116vlZfzPn1.js → C1xe-BzKWT17OO8a.js} +15 -15
- package/assets/{BJYl-kvBtcnMVP8W.js → C27330XswujHKrLu.js} +1 -1
- package/assets/{C3BZQ5NFwAU_ZdeQ.js → C2YOx4ianxuIIeMP.js} +1 -1
- package/assets/{B4ii9PGvnlYkSX2q.js → C8huq6_Gvbeyf6Zy.js} +2 -2
- package/assets/{C9aV1SF8uCWIB4zU.js → CB9TsE5n0FEyFnAz.js} +15 -15
- package/assets/{BBm3Xjnehvx2fYj8.js → CBTQ8dknYY7RVQgL.js} +8 -8
- package/assets/{nV0eE4R3npcOHLbx.js → CBqpH_MpBSmQRaGE.js} +1 -1
- package/assets/{swG-DVTsez1uNW8c.js → CC2hfzradb2KOvtU.js} +1 -1
- package/assets/{93ksqLKL1o40anfw.js → CDKZI2IIZ9boo7zG.js} +1 -1
- package/assets/{I7LAF1nLmYqQwt9i.js → CDYMLTHkkpRV9igv.js} +1 -1
- package/assets/{DwsoGIyPuoQij_vi.js → CL348305B-kpRYzz.js} +1 -1
- package/assets/{CaI562iJKKOoMw8p.js → CLT0k5UJYPmi8ked.js} +1 -1
- package/assets/{DsSlUklPSAsh9DhW.js → CME1jbwnNlBD66aW.js} +312 -312
- package/assets/{DjH6ckvISyssOSit.js → CPmMYI4DPQcXrZ-g.js} +1 -1
- package/assets/{Co_ZOyp4mKmSfh0A.js → CSd5XfU4JBASIwTI.js} +1 -1
- package/assets/{DzLrAy24em5k5en0.js → CTLGMulzw-oFbgHy.js} +3 -3
- package/assets/{Dx_IFz5FEPKw-HC1.js → CVlsdN5C8QL-Kljv.js} +1 -1
- package/assets/{CTGfmocA1WgM0_e0.js → CXb2mlCk1s1VFPHU.js} +536 -536
- package/assets/{LugZP3XHNnoiiTJO.js → CZ5v2vTWktJ7qAj1.js} +1 -1
- package/assets/{Cheq-qaVWm7EaIlQ.js → CcaH1FoDC8o3dzqp.js} +1 -1
- package/assets/{CyYbUk6pGr3NIBsy.js → Cg05U6rbXUnaz0rA.js} +30 -30
- package/assets/{BEq2PSZQN7VV19RQ.js → ChpUbgXIWuQFoXyL.js} +1 -1
- package/assets/{Ti7kMsQ-Eo3lkfIh.js → ChwSFUzi5mMzUwdW.js} +6 -6
- package/assets/{C9w-KoMwxvouC73F.js → CkGQV_x1SpyzePln.js} +221 -217
- package/assets/{BMH_wtFTiRj43c69.js → CmUz8bVbJgWVT-OB.js} +2 -2
- package/assets/{CpfpXfCqzZumY4pf.js → CpLUgqgBDtlfFRj3.js} +1 -1
- package/assets/{NiD8iNE47sjggYTx.js → CrLDmJU84Dbwl6DZ.js} +1 -1
- package/assets/{Dlbgs8csKymbxu7r.js → CudjOMo6X7FRW6ME.js} +1 -1
- package/assets/{DBfBV-tvRxCLgdvs.js → CzQ2o7qoMm0K7KSb.js} +4 -4
- package/assets/{wYvkLI8IeHaWTtAx.js → D-INtJnS1lCrEs8s.js} +68 -68
- package/assets/{DYRis8fOyk2uIZ-1.js → D1HLIgumuUqrSyYB.js} +4 -4
- package/assets/{Z1zwOeCe-JTLgkxf.js → D2XmpdMAe0SAuQWo.js} +53 -53
- package/assets/{BkhWR4P1Evw_VP5z.js → D3RuKyCyAzvT0bGL.js} +1 -1
- package/assets/{CrRJqUPbvvhnp4p4.js → D5mfuGSeGXSDHj9-.js} +1 -1
- package/assets/{uMoGfJGab8mZX6eN.js → D7WSYqvuwNQjOIuO.js} +1 -1
- package/assets/{B-7inN76S1zUWSAt.js → D9F0224gK4j4Iuq9.js} +1 -1
- package/assets/{CpLTCQemd_cJ4yFu.js → DBgOeiZg40MS63pB.js} +8 -8
- package/assets/{TdK2ciXA5BAlGjbR.js → DG3hKZ75iK2wrCcz.js} +1 -1
- package/assets/{BGlx7_eRiv47Hu9C.js → DITcEcZJ58z5yOx7.js} +1 -1
- package/assets/{noAnElnMhF05bfJN.js → DO86fHS3WYzHN_Rv.js} +1 -1
- package/assets/{Cm2WENwEZ0KMyF--.js → DO9RVxvm9vQh8A_j.js} +2 -2
- package/assets/{B5UmlawoCVwHHM_e.js → DOYXEbY_WslpyqXW.js} +5 -5
- package/assets/{DPUXpIzEs1t-jBiv.js → DP-m2vK0GTaYqQZM.js} +1 -1
- package/assets/{u-pSumbU-rgT6eLF.js → DRiAktGToP73uwgm.js} +224 -224
- package/assets/{q57cDvIPcIvWlh5T.js → DRqBWzdn9KKN68o8.js} +11 -11
- package/assets/{Drmg3-gF0VJs4Yx3.js → DX0znk3xZmL1AyX8.js} +1 -1
- package/assets/{BGQ1GrnQ-X16GU8k.js → Deu2acNFlgo__Mcd.js} +2 -2
- package/assets/{DSy6cpdU-KNWsbSj.js → DjCHmGw-ixoQ6ZTA.js} +2 -2
- package/assets/{CyOyY32LLW-Pj_L7.js → DjbBTiei0H-BIJaN.js} +1 -1
- package/assets/{B5yaBbFj2Np9Eh8b.js → DmJc5VoPPwBBtLIG.js} +1 -1
- package/assets/{Bndiqwoh132Upow1.js → DnQM29yv6KQQOVfl.js} +2 -2
- package/assets/{D4lMEKXi13vhDJbE.js → Dnn8laImZHy8LouL.js} +1 -1
- package/assets/{uoUKT9hTrwZ2INHN.js → DpgBOcByebrqzUrC.js} +3 -3
- package/assets/{MpvZt7VpFWEINIT6.js → DqxW6EBLDV_6Eegk.js} +1 -1
- package/assets/DrgkN0g7OHuD4iD6.js +14 -0
- package/assets/{_LMcVYWJksPfGVxz.js → DsK1Adz0vo-1zPkp.js} +1 -1
- package/assets/{CDvP9QyhDwdm3MZn.js → Dt5rA9gefJFLoaeI.js} +2 -2
- package/assets/{CUJiePMri5kkpdA7.js → DuCNecyIYfZL27SV.js} +1 -1
- package/assets/{hcXZqO-0tG873E-L.js → DwqgvpYiTLOQd5wm.js} +2 -2
- package/assets/{yDh_W6M1rvuDhFv1.js → Dzxe5kLF5GOfh0_l.js} +1 -1
- package/assets/{tCavNu-Tru6yRbec.js → FOKynZCiA0wU2Spf.js} +1 -1
- package/assets/{DsWJ-YRyuwDUuSge.js → H1ICg_-K5ADFNHJj.js} +1 -1
- package/assets/{eWHWPRWHX6YU8bJU.js → H89MX09YsAj7NAk3.js} +1 -1
- package/assets/{Xkr_4WLwk0ZPaYH2.js → I-GZ5PL9n_Sv5yAJ.js} +1 -1
- package/assets/{DvRH46hupHUjkc7a.js → IEmEQHg895CUpAQq.js} +1 -1
- package/assets/{B6J8XN1FRN00a_ps.js → I_yb1hhLA5bYPpWx.js} +1 -1
- package/assets/{DAVN6N3srI1WMHCN.js → KQGPPHM486XPeClF.js} +2 -2
- package/assets/{4Qlx8FuxoYbVTgNW.js → KSE7OWDMxhbfYt82.js} +21 -21
- package/assets/{ltqqdJxoPnLCjhBV.js → M62BqR7TbmgOzAEW.js} +3 -3
- package/assets/{ndBoGVVjmy3vkff8.js → NEzc406_2k2MuiE3.js} +2 -2
- package/assets/{CDmri0gcZxpVZfWn.js → Q2j8yQZX1kL_MbbB.js} +425 -425
- package/assets/{BVdH9-49M3APSiPy.js → QMCI00ZCedkNJd8C.js} +1 -1
- package/assets/{DIntlX_ha_wRdxYj.js → RFPO1vKnkkgwx5Bs.js} +1 -1
- package/assets/{BghxJxTwaebNVcIS.js → VcTnn2qw_4tmyctb.js} +1 -1
- package/assets/{DTXRsv2Ww7WbIwCb.js → Vo34QvIefEN595xl.js} +8645 -8636
- package/assets/{Cirpx81bWi4G2foA.js → _l84VPWmScznS-9F.js} +5 -5
- package/assets/{CLFe9HgUi_83dE3d.js → _oaPA65Bm2idKW7f.js} +1 -1
- package/assets/{DZ2Njh8YgfXcv7EM.js → bpjLDXWxL6nDt4Mv.js} +1 -1
- package/assets/{8FzS1bgbz4U1QE_m.js → fUmGsmpgGhd8eZn2.js} +1 -1
- package/assets/{C9JUgNS6CrdgIcW3.js → pg0OaBJVRnW7uSz5.js} +1 -1
- package/assets/{BItblzoSm0lN3bTV.js → rIQ1pzaGFqvCfzOk.js} +1 -1
- package/assets/{-qQT-DFFz0CqGx5C.js → raa4clZOm0L5A0zR.js} +503 -503
- package/assets/{CaOEaghQqXiA1ZzO.js → rejXA2fTAujW3QRv.js} +251 -251
- package/assets/{DMMw2v0iTuBnUjMI.js → rhT64BvdSLOEwglQ.js} +1 -1
- package/assets/{BmmIukrNOivfENgD.js → vItpZkDtFsjwsJzb.js} +35 -35
- package/assets/{4Za9gEGCvms62R7k.js → vXmCJwJaPhkPVhy8.js} +1 -1
- package/index.js +1766 -1703
- package/lib.js +1 -1
- package/licenses/dependencies.txt +32 -32
- package/package.json +2 -2
- package/screenshot-page/assets/{BLPyKyNun9-SHQBZ.js → 1s5we6Eqz8n3o0X_.js} +1 -1
- package/screenshot-page/assets/9WplgXo__vp3e1Su.js +2 -0
- package/screenshot-page/assets/B2oadmu_j6WfNbZ1.js +1 -0
- package/screenshot-page/assets/{BOjOE9CEMSzcij2W.js → B5ujsbfF1ZBkPI4d.js} +2 -2
- package/screenshot-page/assets/BEzCH6tp_dlxe7BH.js +1 -0
- package/screenshot-page/assets/BJvuevnsIw3DXQds.js +2 -0
- package/screenshot-page/assets/BLON9pILfrgdZqAM.js +5 -0
- package/screenshot-page/assets/BVx7CEdRItIR30Fz.js +1 -0
- package/screenshot-page/assets/{Dkr-6Z1RJsAp9Xrv.js → Bdt92xZzFotX0vdt.js} +1 -1
- package/screenshot-page/assets/{DKWRl8rs3K9jBYtr.js → Ble2ESZnJzZnd3cc.js} +1 -1
- package/screenshot-page/assets/{BUO6zT3gqK0uOOa-.js → Blg5f-jAtZfGnZ71.js} +1 -1
- package/screenshot-page/assets/{XiUItCqTNNEApgfa.js → Bozva6Wr4B8Q5QZN.js} +2 -2
- package/screenshot-page/assets/{C0AbuMHcIS9oy4XL.js → Brp37MPC60tt9V3N.js} +1 -1
- package/screenshot-page/assets/{Bh2PQ0zsoGtMKWp1.js → Bs65RHirk11sxOB9.js} +4 -4
- package/screenshot-page/assets/{H_hWDMWfWmjTui7V.js → BtydzT-AjL_LBr8x.js} +1 -1
- package/screenshot-page/assets/Bu5h0ACtvNxDBmqw.js +1 -0
- package/screenshot-page/assets/BwFvwFIcX0dmcBt7.js +1 -0
- package/screenshot-page/assets/C0rOvlmOfLDpClJ_.js +1 -0
- package/screenshot-page/assets/{C4v6Ljs6kwQJu06t.js → CBuH_YHDn7A9E_hX.js} +2 -2
- package/screenshot-page/assets/CHZ1925OpIa8ssZn.js +1 -0
- package/screenshot-page/assets/{BuzI4z8RJGOw8BZD.js → CN3dPtUjDVvcnA4e.js} +1 -1
- package/screenshot-page/assets/COO3CwHTbCgxybBd.js +1 -0
- package/screenshot-page/assets/CR8Rj_GpSbIqbaEO.js +13 -0
- package/screenshot-page/assets/CV9T0juyAiRmwTR-.js +4 -0
- package/screenshot-page/assets/ClC7zkHPp6egPrjL.js +2 -0
- package/screenshot-page/assets/{BZpFWPd0PR1kPT-A.js → CtS8qZB4_3skg_zL.js} +1 -1
- package/screenshot-page/assets/{BaCs7lUeZ7NidSkP.js → CwutTi2EnNm_hyVj.js} +1 -1
- package/screenshot-page/assets/{FjOiReLnknWbsRRr.js → CxithxkenssFkfTT.js} +19 -19
- package/screenshot-page/assets/{BWtLNVUXjY6EBdEt.js → CzZu7Fd_VeHHL-4i.js} +1 -1
- package/screenshot-page/assets/CzijGQrSoteeqwmH.js +2 -0
- package/screenshot-page/assets/{RutPv2GFWmeBiWvn.js → D4VgxwLDPUfCxPS9.js} +2 -2
- package/screenshot-page/assets/DG6q1MKITeSM4XMx.js +1 -0
- package/screenshot-page/assets/DHTXoT_pArB1opyI.js +48 -0
- package/screenshot-page/assets/{B9kA0vdaFJi9iRGo.js → DHUomRu_S2zcBWwt.js} +3 -3
- package/screenshot-page/assets/DP2wwd1IM_gQtEaG.js +1 -0
- package/screenshot-page/assets/{Bf9AN5sYHaxae0vV.js → DQeIWKasFD3DnWL7.js} +6 -6
- package/screenshot-page/assets/Ja-xcEStEdmh2Gwb.js +2 -0
- package/screenshot-page/assets/ODq-dKb9mTtqEIJl.js +1 -0
- package/screenshot-page/assets/VF7dro9jrDEAX6kD.js +3 -0
- package/screenshot-page/assets/{CXmrXx6MZ5ApF3co.js → Yz4ksf-M05RGdHO3.js} +1 -1
- package/screenshot-page/assets/{BMKiUDjoabO4aG1U.js → Z7Av7oqfaK7wy7Eb.js} +1 -1
- package/screenshot-page/assets/{TwKKik-YQENv52LX.js → bdWMVOcMKRI8kCDE.js} +1 -1
- package/screenshot-page/assets/{LCjlxIt1dn3smVjX.js → kJwY8fmEeWlAtTAc.js} +1 -1
- package/screenshot-page/assets/{BnPHZ_1rjv6kQgsL.js → p9abCAJQdpScjZVK.js} +1 -1
- package/screenshot-page/index.html +8 -8
- package/types/scripting-api.json +7060 -7060
- package/types/scripting.d.ts +8 -0
- package/assets/CCl8x9s8Bujsew7W.js +0 -14
- package/screenshot-page/assets/1yHlU53ypZZelMPx.js +0 -1
- package/screenshot-page/assets/BQ5BNe1adYfpa2OH.js +0 -1
- package/screenshot-page/assets/BkhZQsVlVHOiKGTJ.js +0 -1
- package/screenshot-page/assets/Bzf_upccQ2ho6mX0.js +0 -13
- package/screenshot-page/assets/C7YRL2bVWHPIwzn_.js +0 -1
- package/screenshot-page/assets/CImp91jfSuqX0Wz-.js +0 -1
- package/screenshot-page/assets/C_vPl50T1L5HWnhv.js +0 -1
- package/screenshot-page/assets/Cv-YUArreXqhafcU.js +0 -2
- package/screenshot-page/assets/D23_69pojBfIh4nV.js +0 -5
- package/screenshot-page/assets/D2q4M3I5Jmxm85P2.js +0 -1
- package/screenshot-page/assets/D8QsCbSaWCLAYYso.js +0 -1
- package/screenshot-page/assets/DC_Hdwa9KL7xKU8u.js +0 -2
- package/screenshot-page/assets/DHtL9Iawmr2Uo5VV.js +0 -2
- package/screenshot-page/assets/DNYWB6WNZTquqQ9v.js +0 -4
- package/screenshot-page/assets/DegZKTNqt1LRnSxY.js +0 -1
- package/screenshot-page/assets/Dhh1xqujbhLa8WFd.js +0 -1
- package/screenshot-page/assets/DllI8kZZZ5LG0Mjd.js +0 -2
- package/screenshot-page/assets/DrcpGT9FLbDzeLeG.js +0 -2
- package/screenshot-page/assets/XrFpPrRqQNE9AAwH.js +0 -1
- package/screenshot-page/assets/mBuOPJeUPXlKwfPZ.js +0 -48
- package/screenshot-page/assets/zSnM7GhGzLu1MM_u.js +0 -3
|
@@ -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.21
|
|
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 C, n as A, x as E, z as I } from "./
|
|
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 kt, an as Ct, 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 "./
|
|
7
|
+
import { r as t } from "./CBqpH_MpBSmQRaGE.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 "./DjbBTiei0H-BIJaN.js";
|
|
9
|
+
import { G as l, ht as c, lt as u, v as h } from "./CB9TsE5n0FEyFnAz.js";
|
|
10
|
+
import { o as d, p, u as f } from "./D5mfuGSeGXSDHj9-.js";
|
|
11
|
+
import { Bt as g, Ea as m, J as b, Jt as y, Pr as v, Xi as x, Yt as w, on as T, sa as S, wa as k } from "./Vo34QvIefEN595xl.js";
|
|
12
|
+
import { P as C, n as A, x as E, z as I } from "./CME1jbwnNlBD66aW.js";
|
|
13
|
+
import { F as P, ft as O, vt as D, yt as N } from "./CSd5XfU4JBASIwTI.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 kt, an as Ct, 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 "./rejXA2fTAujW3QRv.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, S.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
|
}
|
|
@@ -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) => [v.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 = v.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) => v.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, g = new k.TransposedBuilder();
|
|
1719
|
+
let x = null, w = "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 = v.fastStringToRange(e);
|
|
1725
1725
|
t.getSource().r = o, t.getSource().v = {};
|
|
1726
1726
|
},
|
|
1727
1727
|
closeTag: (t) => {
|
|
@@ -1773,7 +1773,10 @@ 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 T = (t) => {
|
|
1776
|
+
const T = (t, e) => {
|
|
1777
|
+
const o = e.minLength ?? 10, s = e.maxLength ?? 90;
|
|
1778
|
+
0 === o ? delete t.minLength : t.minLength = o, 100 === s ? delete t.maxLength : t.maxLength = s;
|
|
1779
|
+
}, S = (t) => {
|
|
1777
1780
|
const e = t.conditions ?? [], o = [];
|
|
1778
1781
|
for (let t = 0; t < e.length; t++) {
|
|
1779
1782
|
const s = e[t], r = {};
|
|
@@ -1786,10 +1789,10 @@ var Ko = {
|
|
|
1786
1789
|
to: {},
|
|
1787
1790
|
openTag: (t) => {},
|
|
1788
1791
|
closeTag: (t) => {
|
|
1789
|
-
const e = t.getSource(), o = e.colors ?? [], s =
|
|
1792
|
+
const e = t.getSource(), o = e.colors ?? [], s = S(e);
|
|
1790
1793
|
for (let t = 0; t < s.length; t++) s[t].color = o[t];
|
|
1791
1794
|
t.getParent().scale = {
|
|
1792
|
-
type:
|
|
1795
|
+
type: y.ScaleType.ColorScale,
|
|
1793
1796
|
stops: s
|
|
1794
1797
|
};
|
|
1795
1798
|
}
|
|
@@ -1801,10 +1804,11 @@ var Ko = {
|
|
|
1801
1804
|
},
|
|
1802
1805
|
closeTag: (t) => {
|
|
1803
1806
|
const e = t.getSource(), o = {
|
|
1804
|
-
type:
|
|
1805
|
-
stops:
|
|
1807
|
+
type: y.ScaleType.DataBar,
|
|
1808
|
+
stops: S(e),
|
|
1809
|
+
gradient: !0
|
|
1806
1810
|
}, s = e.colors?.[0];
|
|
1807
|
-
s && (o.color = s),
|
|
1811
|
+
s && (o.color = s), T(o, e), void 0 !== e.showValue && (o.showValue = e.showValue), t.getParent().scale = o;
|
|
1808
1812
|
}
|
|
1809
1813
|
}), l.registerVisitor({
|
|
1810
1814
|
from: "iconSet",
|
|
@@ -1814,8 +1818,8 @@ var Ko = {
|
|
|
1814
1818
|
},
|
|
1815
1819
|
closeTag: (t) => {
|
|
1816
1820
|
const e = t.getSource(), o = {
|
|
1817
|
-
type:
|
|
1818
|
-
stops:
|
|
1821
|
+
type: y.ScaleType.IconSet,
|
|
1822
|
+
stops: S(e)
|
|
1819
1823
|
};
|
|
1820
1824
|
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;
|
|
1821
1825
|
}
|
|
@@ -1834,7 +1838,7 @@ var Ko = {
|
|
|
1834
1838
|
const e = t.getParent();
|
|
1835
1839
|
e.conditions || (e.conditions = []);
|
|
1836
1840
|
const o = t.getSource();
|
|
1837
|
-
if (e.conditions.push(o), t.copyTo("type", Co), o.type ===
|
|
1841
|
+
if (e.conditions.push(o), t.copyTo("type", Co), o.type === y.ColorStopType.Formula) {
|
|
1838
1842
|
const e = t.getAttribute("val");
|
|
1839
1843
|
null != e && (o.value = f(String(e)));
|
|
1840
1844
|
} else t.copyTo("value", ko, "val");
|
|
@@ -1872,7 +1876,7 @@ var Ko = {
|
|
|
1872
1876
|
from: "colorFilter",
|
|
1873
1877
|
openTag: (t) => {
|
|
1874
1878
|
const e = t.getParent(), o = {};
|
|
1875
|
-
e.operator =
|
|
1879
|
+
e.operator = m.BuiltInOperatorNames.Color, e.param = o, t.copyToObject(o, "cellColor", To);
|
|
1876
1880
|
const s = c(t);
|
|
1877
1881
|
s && (o.style = s);
|
|
1878
1882
|
}
|
|
@@ -1880,13 +1884,13 @@ var Ko = {
|
|
|
1880
1884
|
from: "iconFilter",
|
|
1881
1885
|
openTag: (t) => {
|
|
1882
1886
|
const e = t.getParent(), o = {};
|
|
1883
|
-
e.operator =
|
|
1887
|
+
e.operator = m.BuiltInOperatorNames.Icon, e.param = o, t.copyToObject(o, "iconId", So), t.copyToObject(o, "iconSet", Co);
|
|
1884
1888
|
}
|
|
1885
1889
|
}), l.registerVisitor({
|
|
1886
1890
|
from: "top10",
|
|
1887
1891
|
openTag: (t) => {
|
|
1888
1892
|
const e = t.getParent(), o = {};
|
|
1889
|
-
e.operator =
|
|
1893
|
+
e.operator = m.BuiltInOperatorNames.TopN, e.param = o, t.copyToObject(o, "filterVal", ko), t.copyToObject(o, "percent", To), t.copyToObject(o, "top", To), t.copyToObject(o, "limit", ko, "val");
|
|
1890
1894
|
}
|
|
1891
1895
|
}), l.registerVisitor({
|
|
1892
1896
|
from: "dynamicFilter",
|
|
@@ -1895,16 +1899,16 @@ var Ko = {
|
|
|
1895
1899
|
e.operator = o.operator, e.param = o.param;
|
|
1896
1900
|
}
|
|
1897
1901
|
});
|
|
1898
|
-
const
|
|
1902
|
+
const C = {
|
|
1899
1903
|
from: "filters",
|
|
1900
1904
|
to: {},
|
|
1901
1905
|
openTag: (t) => {
|
|
1902
1906
|
const e = t.getParent(), o = {};
|
|
1903
|
-
return e.selector =
|
|
1907
|
+
return e.selector = m.BuiltInSelectorNames.Display, e.operator = m.BuiltInOperatorNames.InSet, e.param = o, t.copyToObject(o, "blank", To), t.copyToObject(o, "calendarType", Co), o;
|
|
1904
1908
|
}
|
|
1905
1909
|
};
|
|
1906
|
-
l.registerVisitor(
|
|
1907
|
-
const
|
|
1910
|
+
l.registerVisitor(C);
|
|
1911
|
+
const A = {
|
|
1908
1912
|
from: "filter",
|
|
1909
1913
|
openTag: (t) => {
|
|
1910
1914
|
const e = t.getParent();
|
|
@@ -1912,8 +1916,8 @@ var Ko = {
|
|
|
1912
1916
|
o || (o = [], e.items = o), o.push(t.getAttribute("val", Co));
|
|
1913
1917
|
}
|
|
1914
1918
|
};
|
|
1915
|
-
l.registerVisitor(
|
|
1916
|
-
const
|
|
1919
|
+
l.registerVisitor(A);
|
|
1920
|
+
const E = {
|
|
1917
1921
|
from: "dateGroupItem",
|
|
1918
1922
|
to: {},
|
|
1919
1923
|
openTag: (t) => {
|
|
@@ -1922,16 +1926,16 @@ var Ko = {
|
|
|
1922
1926
|
o || (o = [], e.dateGroups = o), o.push(t.getSource()), t.copyTo("group", Co, "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);
|
|
1923
1927
|
}
|
|
1924
1928
|
};
|
|
1925
|
-
l.registerVisitor(
|
|
1926
|
-
const
|
|
1927
|
-
|
|
1929
|
+
l.registerVisitor(E);
|
|
1930
|
+
const I = /* @__PURE__ */ new Map();
|
|
1931
|
+
I.set("filterColumn", {
|
|
1928
1932
|
from: "filterColumn",
|
|
1929
1933
|
transparent: !0
|
|
1930
|
-
}),
|
|
1934
|
+
}), I.set("filters", C), I.set("filter", A), I.set("dateGroupItem", E), l.registerVisitor({
|
|
1931
1935
|
from: "customFilters",
|
|
1932
1936
|
openTag: (t) => {
|
|
1933
1937
|
const e = t.getParent(), o = t.getAttribute("and"), s = "and" === o || "1" === o, r = [];
|
|
1934
|
-
return e.operator = s ?
|
|
1938
|
+
return e.operator = s ? m.BuiltInOperatorNames.And : m.BuiltInOperatorNames.Or, e.param = r, t.setSource(e), r;
|
|
1935
1939
|
},
|
|
1936
1940
|
closeTag: (t) => {
|
|
1937
1941
|
const e = t.getSource(), o = e?.param;
|
|
@@ -1952,7 +1956,7 @@ var Ko = {
|
|
|
1952
1956
|
s && (o.operator = s.operator, o.param = s.param);
|
|
1953
1957
|
}
|
|
1954
1958
|
});
|
|
1955
|
-
let
|
|
1959
|
+
let P = {}, O = null;
|
|
1956
1960
|
l.registerVisitor({
|
|
1957
1961
|
from: "sortState",
|
|
1958
1962
|
to: {},
|
|
@@ -1961,16 +1965,16 @@ var Ko = {
|
|
|
1961
1965
|
let o = e.v;
|
|
1962
1966
|
if (!o) return;
|
|
1963
1967
|
const s = {};
|
|
1964
|
-
|
|
1968
|
+
P = {};
|
|
1965
1969
|
const r = t.getAttribute("caseSensitive", To);
|
|
1966
|
-
null != r && (
|
|
1970
|
+
null != r && (P.collatorOptions = r ? b.CaseSensitiveOptions : b.CaseInsensitiveOptions);
|
|
1967
1971
|
const n = t.getAttribute("sortMethod");
|
|
1968
|
-
"stroke" !== n && "pinYin" !== n || (
|
|
1969
|
-
...
|
|
1972
|
+
"stroke" !== n && "pinYin" !== n || (P.collatorOptions = {
|
|
1973
|
+
...P.collatorOptions,
|
|
1970
1974
|
collation: "stroke" === n ? "stroke" : "pinyin"
|
|
1971
1975
|
}), t.getAttribute("columnSort", To) && (s.axis = p.Axis.Column);
|
|
1972
1976
|
const i = t.getAttribute("ref"), a = e.r;
|
|
1973
|
-
|
|
1977
|
+
O = i && a ? v.fastStringToRange(i) : null, O && (s.extent = { range: Vt(a, O) }), o.sort = s, t.setSource(e);
|
|
1974
1978
|
}
|
|
1975
1979
|
}), l.registerVisitor({
|
|
1976
1980
|
from: "sortCondition",
|
|
@@ -1985,11 +1989,11 @@ var Ko = {
|
|
|
1985
1989
|
const n = t.getAttribute("ref");
|
|
1986
1990
|
let i = 0, a = null;
|
|
1987
1991
|
if (n) {
|
|
1988
|
-
const t =
|
|
1989
|
-
i = s ? o - r : o, s &&
|
|
1992
|
+
const t = v.fastStringToRange(n, as), o = t.colStart, s = e.r, r = s.colStart;
|
|
1993
|
+
i = s ? o - r : o, s && O && (a = _t(s, O, t));
|
|
1990
1994
|
}
|
|
1991
1995
|
s.extent && (s.extent.sorts ??= []).push(a);
|
|
1992
|
-
const l = { ...
|
|
1996
|
+
const l = { ...P }, u = qt(t.getAttribute("sortBy"));
|
|
1993
1997
|
u && (l.sortOn = u);
|
|
1994
1998
|
const h = c(t);
|
|
1995
1999
|
h && (l.style = h), t.copyToObject(l, "iconSet", Co), t.copyToObject(l, "customList", Co), l.reverse = t.getAttribute("descending", To) ?? !1;
|
|
@@ -2000,8 +2004,8 @@ var Ko = {
|
|
|
2000
2004
|
r.push(d);
|
|
2001
2005
|
}
|
|
2002
2006
|
});
|
|
2003
|
-
const
|
|
2004
|
-
|
|
2007
|
+
const D = (t) => {
|
|
2008
|
+
x = t.getSource(), w = "topLeft", t.copyTo("topLeft", Co, "topLeftCell");
|
|
2005
2009
|
const e = ct(t.getAttribute("defaultGridColor")), o = t.getAttribute("colorId");
|
|
2006
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", Co, "view");
|
|
2007
2011
|
const s = {};
|
|
@@ -2015,10 +2019,10 @@ var Ko = {
|
|
|
2015
2019
|
from: "sheetView",
|
|
2016
2020
|
to: "view",
|
|
2017
2021
|
openTag: (t) => {
|
|
2018
|
-
|
|
2022
|
+
D(t);
|
|
2019
2023
|
},
|
|
2020
2024
|
closeTag: () => {
|
|
2021
|
-
|
|
2025
|
+
x = null;
|
|
2022
2026
|
}
|
|
2023
2027
|
}), l.registerVisitor({
|
|
2024
2028
|
from: "customSheetViews",
|
|
@@ -2030,19 +2034,19 @@ var Ko = {
|
|
|
2030
2034
|
from: "customSheetView",
|
|
2031
2035
|
to: [],
|
|
2032
2036
|
openTag: (t) => {
|
|
2033
|
-
|
|
2037
|
+
N = !0, D(t);
|
|
2034
2038
|
},
|
|
2035
2039
|
closeTag: () => {
|
|
2036
|
-
|
|
2040
|
+
N = !1, x = null;
|
|
2037
2041
|
}
|
|
2038
2042
|
}), l.registerVisitor({
|
|
2039
2043
|
from: "selection",
|
|
2040
2044
|
to: null,
|
|
2041
2045
|
openTag: (t) => {
|
|
2042
|
-
if (!
|
|
2046
|
+
if (!x) return;
|
|
2043
2047
|
const e = t.getAttribute("activeCell")?.replace(/\$/g, ""), o = t.getAttribute("sqref")?.replace(/\$/g, ""), s = t.getAttribute("pane") ?? "topLeft";
|
|
2044
2048
|
if (s !== w) {
|
|
2045
|
-
const t =
|
|
2049
|
+
const t = x.freezePanes;
|
|
2046
2050
|
if (t && e) {
|
|
2047
2051
|
const r = { activeCell: e };
|
|
2048
2052
|
o && o !== e && (r.sqref = o), (t.paneSelections ??= {})[s] = r;
|
|
@@ -2052,19 +2056,19 @@ var Ko = {
|
|
|
2052
2056
|
const r = {};
|
|
2053
2057
|
e && (r.cell = e);
|
|
2054
2058
|
const n = t.getAttribute("activeCellId", So);
|
|
2055
|
-
null !== n && (r.rangeIndex = n), o && o !== e && (r.ranges = o.trim().split(/\s+/)),
|
|
2059
|
+
null !== n && (r.rangeIndex = n), o && o !== e && (r.ranges = o.trim().split(/\s+/)), x.selection = r;
|
|
2056
2060
|
}
|
|
2057
2061
|
}), l.registerVisitor({
|
|
2058
2062
|
from: "pane",
|
|
2059
2063
|
to: null,
|
|
2060
2064
|
openTag: (t) => {
|
|
2061
|
-
if (!
|
|
2065
|
+
if (!x) return;
|
|
2062
2066
|
w = t.getAttribute("activePane") ?? "topLeft";
|
|
2063
2067
|
const e = t.getAttribute("state");
|
|
2064
2068
|
if ("frozen" === e || "frozenSplit" === e) {
|
|
2065
2069
|
const e = {};
|
|
2066
|
-
|
|
2067
|
-
const o = (
|
|
2070
|
+
x.freezePanes = e, t.copyToObject(e, "topLeft", Co, "topLeftCell");
|
|
2071
|
+
const o = (x.topLeft ? v.fastStringToCell(x.topLeft) : void 0) ?? {
|
|
2068
2072
|
colIndex: 0,
|
|
2069
2073
|
rowIndex: 0
|
|
2070
2074
|
}, s = {
|
|
@@ -2076,7 +2080,7 @@ var Ko = {
|
|
|
2076
2080
|
colIndex: o.colIndex + s.colIndex,
|
|
2077
2081
|
rowIndex: o.rowIndex + s.rowIndex
|
|
2078
2082
|
};
|
|
2079
|
-
e.coords =
|
|
2083
|
+
e.coords = v.cellToString(r);
|
|
2080
2084
|
}
|
|
2081
2085
|
}
|
|
2082
2086
|
}), l.registerVisitor({
|
|
@@ -2098,13 +2102,13 @@ var Ko = {
|
|
|
2098
2102
|
o && (t.tabColor = o);
|
|
2099
2103
|
}
|
|
2100
2104
|
});
|
|
2101
|
-
let
|
|
2102
|
-
const
|
|
2105
|
+
let N = !1;
|
|
2106
|
+
const _ = () => t.pageLayout ??= {};
|
|
2103
2107
|
l.registerVisitor({
|
|
2104
2108
|
from: "pageSetUpPr",
|
|
2105
2109
|
to: null,
|
|
2106
2110
|
openTag: (t) => {
|
|
2107
|
-
!0 === t.getAttribute("fitToPage", To) && (
|
|
2111
|
+
!0 === t.getAttribute("fitToPage", To) && (_().fitToPage = !0), !1 === t.getAttribute("autoPageBreaks", To) && (_().hideAutoPageBreaks = !0);
|
|
2108
2112
|
}
|
|
2109
2113
|
}), l.registerVisitor({
|
|
2110
2114
|
from: "outlinePr",
|
|
@@ -2123,7 +2127,7 @@ var Ko = {
|
|
|
2123
2127
|
from: "pageMargins",
|
|
2124
2128
|
to: null,
|
|
2125
2129
|
openTag: (t) => {
|
|
2126
|
-
if (
|
|
2130
|
+
if (N) return;
|
|
2127
2131
|
const e = (e, o) => t.getAttribute(e, ko) ?? o, o = {
|
|
2128
2132
|
left: e("left", .7),
|
|
2129
2133
|
right: e("right", .7),
|
|
@@ -2132,14 +2136,14 @@ var Ko = {
|
|
|
2132
2136
|
header: e("header", .3),
|
|
2133
2137
|
footer: e("footer", .3)
|
|
2134
2138
|
};
|
|
2135
|
-
.7 === o.left && .7 === o.right && .75 === o.top && .75 === o.bottom && .3 === o.header && .3 === o.footer || (
|
|
2139
|
+
.7 === o.left && .7 === o.right && .75 === o.top && .75 === o.bottom && .3 === o.header && .3 === o.footer || (_().margins = o);
|
|
2136
2140
|
}
|
|
2137
2141
|
}), l.registerVisitor({
|
|
2138
2142
|
from: "pageSetup",
|
|
2139
2143
|
to: null,
|
|
2140
2144
|
openTag: (t) => {
|
|
2141
|
-
if (
|
|
2142
|
-
const o =
|
|
2145
|
+
if (N) return;
|
|
2146
|
+
const o = _(), s = (e) => t.getAttribute(e, So) ?? void 0, r = (e) => t.getAttribute(e, To), n = t.getAttribute("orientation");
|
|
2143
2147
|
"landscape" !== n && "portrait" !== n || (o.orientation = n);
|
|
2144
2148
|
for (const t of [
|
|
2145
2149
|
"paperSize",
|
|
@@ -2169,49 +2173,49 @@ var Ko = {
|
|
|
2169
2173
|
from: "printOptions",
|
|
2170
2174
|
to: null,
|
|
2171
2175
|
openTag: (t) => {
|
|
2172
|
-
if (
|
|
2176
|
+
if (N) return;
|
|
2173
2177
|
const e = (e) => !0 === t.getAttribute(e, To);
|
|
2174
|
-
e("horizontalCentered") && (
|
|
2178
|
+
e("horizontalCentered") && (_().centerHorizontally = !0), e("verticalCentered") && (_().centerVertically = !0), e("gridLines") && (_().printGridlines = !0), e("headings") && (_().printHeadings = !0);
|
|
2175
2179
|
}
|
|
2176
2180
|
}), l.registerVisitor({
|
|
2177
2181
|
from: "headerFooter",
|
|
2178
2182
|
to: {},
|
|
2179
2183
|
openTag: (t) => {
|
|
2180
|
-
if (
|
|
2184
|
+
if (N) return;
|
|
2181
2185
|
const e = {}, o = (e) => t.getAttribute(e, To);
|
|
2182
|
-
!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 && (
|
|
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 && (_().headerFooter = e);
|
|
2183
2187
|
}
|
|
2184
2188
|
});
|
|
2185
2189
|
for (const t of et) l.registerVisitor({
|
|
2186
2190
|
from: t,
|
|
2187
2191
|
to: {},
|
|
2188
2192
|
text: (e, o) => {
|
|
2189
|
-
if (
|
|
2190
|
-
const s =
|
|
2193
|
+
if (N) return;
|
|
2194
|
+
const s = _(), r = s.headerFooter ??= {};
|
|
2191
2195
|
r[t] = (r[t] ?? "") + W(e);
|
|
2192
2196
|
}
|
|
2193
2197
|
});
|
|
2194
|
-
let
|
|
2198
|
+
let M = "rowBreaks";
|
|
2195
2199
|
for (const [t, e] of [["rowBreaks", "rowBreaks"], ["colBreaks", "columnBreaks"]]) l.registerVisitor({
|
|
2196
2200
|
from: t,
|
|
2197
2201
|
to: {},
|
|
2198
2202
|
openTag: () => {
|
|
2199
|
-
|
|
2203
|
+
M = e;
|
|
2200
2204
|
}
|
|
2201
2205
|
});
|
|
2202
2206
|
l.registerVisitor({
|
|
2203
2207
|
from: "brk",
|
|
2204
2208
|
to: null,
|
|
2205
2209
|
openTag: (t) => {
|
|
2206
|
-
if (
|
|
2210
|
+
if (N) return;
|
|
2207
2211
|
const e = t.getAttribute("id", So);
|
|
2208
2212
|
if (null == e) return;
|
|
2209
2213
|
const o = { index: e }, s = t.getAttribute("min", So);
|
|
2210
2214
|
null != s && (o.min = s);
|
|
2211
2215
|
const r = t.getAttribute("max", So);
|
|
2212
2216
|
null != r && (o.max = r), !0 !== t.getAttribute("man", To) && (o.automatic = !0), !0 === t.getAttribute("pt", To) && (o.pivot = !0);
|
|
2213
|
-
const n =
|
|
2214
|
-
(n[
|
|
2217
|
+
const n = _();
|
|
2218
|
+
(n[M] ??= []).push(o);
|
|
2215
2219
|
}
|
|
2216
2220
|
}), l.registerVisitor({
|
|
2217
2221
|
from: "ignoredErrors",
|
|
@@ -2251,7 +2255,7 @@ var Ko = {
|
|
|
2251
2255
|
});
|
|
2252
2256
|
}
|
|
2253
2257
|
});
|
|
2254
|
-
const
|
|
2258
|
+
const R = {
|
|
2255
2259
|
from: "dataValidation",
|
|
2256
2260
|
to: [],
|
|
2257
2261
|
openTag: (t) => {
|
|
@@ -2274,7 +2278,7 @@ var Ko = {
|
|
|
2274
2278
|
o && (t.getAttribute("allowBlank", To) && (o.includeBlanks = !0), e.v.condition = o), delete e.rule;
|
|
2275
2279
|
}
|
|
2276
2280
|
};
|
|
2277
|
-
l.registerVisitor(
|
|
2281
|
+
l.registerVisitor(R), l.registerVisitor({
|
|
2278
2282
|
from: "formula1",
|
|
2279
2283
|
to: {},
|
|
2280
2284
|
text: (t, e) => {
|
|
@@ -2298,7 +2302,7 @@ var Ko = {
|
|
|
2298
2302
|
t.getSource().resId = s;
|
|
2299
2303
|
}
|
|
2300
2304
|
});
|
|
2301
|
-
const
|
|
2305
|
+
const L = {
|
|
2302
2306
|
from: "slicer",
|
|
2303
2307
|
to: {},
|
|
2304
2308
|
openTag: (t) => {
|
|
@@ -2310,8 +2314,8 @@ var Ko = {
|
|
|
2310
2314
|
for (const t of n) r.slicers[t] = s[t];
|
|
2311
2315
|
}
|
|
2312
2316
|
};
|
|
2313
|
-
l.registerVisitor(
|
|
2314
|
-
const
|
|
2317
|
+
l.registerVisitor(L);
|
|
2318
|
+
const j = {
|
|
2315
2319
|
from: "timelineRef",
|
|
2316
2320
|
to: {},
|
|
2317
2321
|
openTag: (t) => {
|
|
@@ -2321,7 +2325,7 @@ var Ko = {
|
|
|
2321
2325
|
r.slicers ??= {};
|
|
2322
2326
|
for (const t of Object.keys(s)) r.slicers[t] = s[t];
|
|
2323
2327
|
}
|
|
2324
|
-
},
|
|
2328
|
+
}, F = (t, e) => ({
|
|
2325
2329
|
from: t,
|
|
2326
2330
|
to: {},
|
|
2327
2331
|
openTag: (t) => {
|
|
@@ -2333,8 +2337,8 @@ var Ko = {
|
|
|
2333
2337
|
closeTag: (t) => {
|
|
2334
2338
|
e(String(t.getSource() ?? ""), t);
|
|
2335
2339
|
}
|
|
2336
|
-
}),
|
|
2337
|
-
|
|
2340
|
+
}), H = /* @__PURE__ */ new Map();
|
|
2341
|
+
H.set("dataValidations", {
|
|
2338
2342
|
from: "dataValidations",
|
|
2339
2343
|
to: "validations",
|
|
2340
2344
|
openTag: (t) => {
|
|
@@ -2344,15 +2348,15 @@ var Ko = {
|
|
|
2344
2348
|
closeTag: (t) => {
|
|
2345
2349
|
0 === (t.getSource()?.length ?? 0) && t.setSource(void 0);
|
|
2346
2350
|
}
|
|
2347
|
-
}),
|
|
2348
|
-
...
|
|
2351
|
+
}), H.set("dataValidation", {
|
|
2352
|
+
...R,
|
|
2349
2353
|
closeTag: (t) => {
|
|
2350
|
-
|
|
2354
|
+
R.closeTag(t);
|
|
2351
2355
|
const e = t.getSource();
|
|
2352
2356
|
e && !e.r && (t.warn("x14 dataValidation with no xm:sqref was dropped."), t.setSource(void 0));
|
|
2353
2357
|
}
|
|
2354
2358
|
});
|
|
2355
|
-
const
|
|
2359
|
+
const z = (t) => ({
|
|
2356
2360
|
from: t,
|
|
2357
2361
|
to: {},
|
|
2358
2362
|
openTag: (e) => {
|
|
@@ -2362,18 +2366,18 @@ var Ko = {
|
|
|
2362
2366
|
});
|
|
2363
2367
|
}
|
|
2364
2368
|
});
|
|
2365
|
-
|
|
2369
|
+
H.set("formula1", z("formula1")), H.set("formula2", z("formula2")), H.set("f", F("f", (t, e) => {
|
|
2366
2370
|
const o = e.getParent(), s = o?.rule;
|
|
2367
2371
|
s && (s[o.key] = oe(f(t), s.type));
|
|
2368
|
-
})),
|
|
2372
|
+
})), H.set("sqref", F("sqref", (t, e) => {
|
|
2369
2373
|
const o = e.getParent(), s = t.trim();
|
|
2370
2374
|
o && s && (o.r = s.split(/\s+/).join(","));
|
|
2371
2375
|
}));
|
|
2372
|
-
const
|
|
2373
|
-
|
|
2376
|
+
const X = /* @__PURE__ */ new Map(), G = [], K = /* @__PURE__ */ new Map();
|
|
2377
|
+
K.set("conditionalFormattings", {
|
|
2374
2378
|
from: "conditionalFormattings",
|
|
2375
2379
|
transparent: !0
|
|
2376
|
-
}),
|
|
2380
|
+
}), K.set("conditionalFormatting", {
|
|
2377
2381
|
from: "conditionalFormatting",
|
|
2378
2382
|
to: {},
|
|
2379
2383
|
openTag: (t) => {
|
|
@@ -2383,10 +2387,10 @@ var Ko = {
|
|
|
2383
2387
|
const e = t.getSource(), o = e?.rules ?? [];
|
|
2384
2388
|
for (let t = 0; t < o.length; t++) {
|
|
2385
2389
|
const s = o[t];
|
|
2386
|
-
s.sqref = e.sqref, s.id ?
|
|
2390
|
+
s.sqref = e.sqref, s.id ? X.set(s.id, s) : G.push(s);
|
|
2387
2391
|
}
|
|
2388
2392
|
}
|
|
2389
|
-
}),
|
|
2393
|
+
}), K.set("cfRule", {
|
|
2390
2394
|
from: "cfRule",
|
|
2391
2395
|
to: {},
|
|
2392
2396
|
openTag: (t) => {
|
|
@@ -2396,10 +2400,10 @@ var Ko = {
|
|
|
2396
2400
|
const e = t.getSource();
|
|
2397
2401
|
e && t.getParent()?.rules?.push(e);
|
|
2398
2402
|
}
|
|
2399
|
-
}),
|
|
2403
|
+
}), K.set("sqref", F("sqref", (t, e) => {
|
|
2400
2404
|
const o = e.getParent(), s = t.trim();
|
|
2401
2405
|
o && s && (o.sqref = s);
|
|
2402
|
-
})),
|
|
2406
|
+
})), K.set("dataBar", {
|
|
2403
2407
|
from: "dataBar",
|
|
2404
2408
|
to: {},
|
|
2405
2409
|
openTag: (t) => {
|
|
@@ -2408,7 +2412,7 @@ var Ko = {
|
|
|
2408
2412
|
closeTag: (t) => {
|
|
2409
2413
|
t.getParent().dataBar = t.getSource();
|
|
2410
2414
|
}
|
|
2411
|
-
}),
|
|
2415
|
+
}), K.set("iconSet", {
|
|
2412
2416
|
from: "iconSet",
|
|
2413
2417
|
to: {},
|
|
2414
2418
|
openTag: (t) => {
|
|
@@ -2418,26 +2422,26 @@ var Ko = {
|
|
|
2418
2422
|
t.getParent().iconSet = t.getSource();
|
|
2419
2423
|
}
|
|
2420
2424
|
});
|
|
2421
|
-
const
|
|
2422
|
-
|
|
2425
|
+
const J = /* @__PURE__ */ new Map();
|
|
2426
|
+
J.set("f", F("f", (t, e) => {
|
|
2423
2427
|
const o = e.getParent();
|
|
2424
2428
|
if (!o) return;
|
|
2425
2429
|
const s = t.trim(), r = Number(s);
|
|
2426
2430
|
o.value = s.length > 0 && Number.isFinite(r) ? r : f(t);
|
|
2427
|
-
})),
|
|
2431
|
+
})), K.set("cfvo", {
|
|
2428
2432
|
from: "cfvo",
|
|
2429
2433
|
to: {},
|
|
2430
|
-
scope: () =>
|
|
2434
|
+
scope: () => J,
|
|
2431
2435
|
openTag: (t) => {
|
|
2432
2436
|
const e = t.getParent();
|
|
2433
2437
|
e.conditions || (e.conditions = []);
|
|
2434
2438
|
const o = t.getSource();
|
|
2435
2439
|
e.conditions.push(o), t.copyTo("type", Co), !1 === t.getAttribute("gte", To) && (o.exclusive = !0);
|
|
2436
2440
|
}
|
|
2437
|
-
}),
|
|
2441
|
+
}), K.set("f", F("f", (t, e) => {
|
|
2438
2442
|
const o = e.getParent();
|
|
2439
2443
|
o && (o.formulas ??= []).push(f(t));
|
|
2440
|
-
})),
|
|
2444
|
+
})), K.set("dxf", {
|
|
2441
2445
|
from: "dxf",
|
|
2442
2446
|
to: {},
|
|
2443
2447
|
raw: !0,
|
|
@@ -2449,7 +2453,7 @@ var Ko = {
|
|
|
2449
2453
|
o && (e.style = o);
|
|
2450
2454
|
}
|
|
2451
2455
|
});
|
|
2452
|
-
const
|
|
2456
|
+
const Z = (t) => ({
|
|
2453
2457
|
from: t,
|
|
2454
2458
|
to: {},
|
|
2455
2459
|
openTag: (e) => {
|
|
@@ -2457,7 +2461,7 @@ var Ko = {
|
|
|
2457
2461
|
o && (e.getParent()[t] = o);
|
|
2458
2462
|
}
|
|
2459
2463
|
});
|
|
2460
|
-
|
|
2464
|
+
K.set("borderColor", Z("borderColor")), K.set("negativeFillColor", Z("negativeFillColor")), K.set("negativeBorderColor", Z("negativeBorderColor")), K.set("axisColor", Z("axisColor")), K.set("cfIcon", {
|
|
2461
2465
|
from: "cfIcon",
|
|
2462
2466
|
to: {},
|
|
2463
2467
|
openTag: (t) => {
|
|
@@ -2470,23 +2474,23 @@ var Ko = {
|
|
|
2470
2474
|
});
|
|
2471
2475
|
}
|
|
2472
2476
|
});
|
|
2473
|
-
const
|
|
2474
|
-
|
|
2477
|
+
const Q = /* @__PURE__ */ new Map();
|
|
2478
|
+
Q.set("id", F("id", (t, e) => {
|
|
2475
2479
|
const o = e.getParent(), s = t.trim();
|
|
2476
2480
|
o && s && (o.x14Id = s);
|
|
2477
2481
|
}));
|
|
2478
|
-
const
|
|
2479
|
-
|
|
2482
|
+
const tt = /* @__PURE__ */ new Map();
|
|
2483
|
+
tt.set("slicerList", {
|
|
2480
2484
|
from: "slicerList",
|
|
2481
2485
|
transparent: !0
|
|
2482
|
-
}),
|
|
2483
|
-
const
|
|
2484
|
-
|
|
2486
|
+
}), tt.set("slicer", L);
|
|
2487
|
+
const st = /* @__PURE__ */ new Map();
|
|
2488
|
+
st.set("timelineRefs", {
|
|
2485
2489
|
from: "timelineRefs",
|
|
2486
2490
|
transparent: !0
|
|
2487
|
-
}),
|
|
2488
|
-
const
|
|
2489
|
-
|
|
2491
|
+
}), st.set("timelineRef", j);
|
|
2492
|
+
const it = /* @__PURE__ */ new Map();
|
|
2493
|
+
it.set("sparklineGroups", {
|
|
2490
2494
|
from: "sparklineGroups",
|
|
2491
2495
|
to: "sparklineGroups",
|
|
2492
2496
|
openTag: (t) => {
|
|
@@ -2496,7 +2500,7 @@ var Ko = {
|
|
|
2496
2500
|
closeTag: (t) => {
|
|
2497
2501
|
0 === (t.getSource()?.length ?? 0) && t.setSource(void 0);
|
|
2498
2502
|
}
|
|
2499
|
-
}),
|
|
2503
|
+
}), it.set("sparklineGroup", {
|
|
2500
2504
|
from: "sparklineGroup",
|
|
2501
2505
|
to: [],
|
|
2502
2506
|
openTag: (t) => {
|
|
@@ -2515,7 +2519,7 @@ var Ko = {
|
|
|
2515
2519
|
o || t.warn("A sparkline group with no sparklines was dropped.", { onceKey: "xlsx.sheet.sparklineGroup.empty" }), t.setSource(o ?? void 0);
|
|
2516
2520
|
}
|
|
2517
2521
|
});
|
|
2518
|
-
for (const t of at)
|
|
2522
|
+
for (const t of at) it.set(t, {
|
|
2519
2523
|
from: t,
|
|
2520
2524
|
to: {},
|
|
2521
2525
|
openTag: (e) => {
|
|
@@ -2523,17 +2527,17 @@ var Ko = {
|
|
|
2523
2527
|
o && (e.getParent().properties[t] = o);
|
|
2524
2528
|
}
|
|
2525
2529
|
});
|
|
2526
|
-
|
|
2530
|
+
it.set("sparklines", {
|
|
2527
2531
|
from: "sparklines",
|
|
2528
2532
|
transparent: !0
|
|
2529
|
-
}),
|
|
2533
|
+
}), it.set("sparkline", {
|
|
2530
2534
|
from: "sparkline",
|
|
2531
2535
|
to: {},
|
|
2532
2536
|
openTag: (t) => {
|
|
2533
2537
|
t.setSource({ isSparkline: !0 });
|
|
2534
2538
|
},
|
|
2535
2539
|
closeTag: (t) => {
|
|
2536
|
-
const e = t.getSource(), o = t.getParent(), s = e?.sqref?.trim(), r = s ?
|
|
2540
|
+
const e = t.getSource(), o = t.getParent(), s = e?.sqref?.trim(), r = s ? v.fastStringToRange(s.split(/\s+/)[0]) : null;
|
|
2537
2541
|
r ? o.entries.push({
|
|
2538
2542
|
location: {
|
|
2539
2543
|
rowIndex: r.rowStart,
|
|
@@ -2542,24 +2546,24 @@ var Ko = {
|
|
|
2542
2546
|
data: e.data ?? ""
|
|
2543
2547
|
}) : t.warn("A sparkline with no location was dropped.", { onceKey: "xlsx.sheet.sparkline.incomplete" });
|
|
2544
2548
|
}
|
|
2545
|
-
}),
|
|
2549
|
+
}), it.set("f", F("f", (t, e) => {
|
|
2546
2550
|
const o = e.getParent(), s = t.trim();
|
|
2547
2551
|
o && s && (o.isSparkline ? o.data = s : o.properties.dateRange = s);
|
|
2548
|
-
})),
|
|
2552
|
+
})), it.set("sqref", F("sqref", (t, e) => {
|
|
2549
2553
|
const o = e.getParent();
|
|
2550
2554
|
o?.isSparkline && (o.sqref = t);
|
|
2551
2555
|
}));
|
|
2552
|
-
const
|
|
2553
|
-
[Dt(Jt),
|
|
2554
|
-
[Dt($t),
|
|
2555
|
-
[Dt(se),
|
|
2556
|
-
[Dt(nt),
|
|
2557
|
-
[Dt(mt),
|
|
2558
|
-
[Dt(gt),
|
|
2559
|
-
[Dt(xt),
|
|
2560
|
-
[Dt(Ht),
|
|
2561
|
-
[Dt(kt),
|
|
2562
|
-
]),
|
|
2556
|
+
const lt = /* @__PURE__ */ new Map([
|
|
2557
|
+
[Dt(Jt), it],
|
|
2558
|
+
[Dt($t), H],
|
|
2559
|
+
[Dt(se), K],
|
|
2560
|
+
[Dt(nt), K],
|
|
2561
|
+
[Dt(mt), Q],
|
|
2562
|
+
[Dt(gt), tt],
|
|
2563
|
+
[Dt(xt), tt],
|
|
2564
|
+
[Dt(Ht), st],
|
|
2565
|
+
[Dt(kt), I]
|
|
2566
|
+
]), ut = /* @__PURE__ */ new Set();
|
|
2563
2567
|
l.registerVisitor({
|
|
2564
2568
|
from: "extLst",
|
|
2565
2569
|
transparent: !0
|
|
@@ -2567,10 +2571,10 @@ var Ko = {
|
|
|
2567
2571
|
from: "ext",
|
|
2568
2572
|
transparent: !0,
|
|
2569
2573
|
scope: (t) => {
|
|
2570
|
-
const e = t.getAttribute("uri"), o = Dt(e), s =
|
|
2574
|
+
const e = t.getAttribute("uri"), o = Dt(e), s = lt.get(o);
|
|
2571
2575
|
if (s) return s;
|
|
2572
|
-
if (!V.has(o) && !
|
|
2573
|
-
|
|
2576
|
+
if (!V.has(o) && !ut.has(o)) {
|
|
2577
|
+
ut.add(o);
|
|
2574
2578
|
const s = $[o];
|
|
2575
2579
|
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.`);
|
|
2576
2580
|
}
|
|
@@ -2630,20 +2634,20 @@ var Ko = {
|
|
|
2630
2634
|
t.setSource(e(t.getAttribute("r:id"), "legacyDrawing") ?? void 0);
|
|
2631
2635
|
}
|
|
2632
2636
|
});
|
|
2633
|
-
let
|
|
2634
|
-
const
|
|
2637
|
+
let ht = null, dt = !1;
|
|
2638
|
+
const pt = /* @__PURE__ */ new Map(), yt = {
|
|
2635
2639
|
from: "Fallback",
|
|
2636
2640
|
to: null
|
|
2637
|
-
},
|
|
2641
|
+
}, vt = {
|
|
2638
2642
|
from: "Choice",
|
|
2639
2643
|
transparent: !0
|
|
2640
2644
|
};
|
|
2641
|
-
|
|
2645
|
+
pt.set("Fallback", yt), pt.set("Choice", vt), pt.set("control", {
|
|
2642
2646
|
from: "control",
|
|
2643
2647
|
transparent: !0,
|
|
2644
2648
|
openTag: (t) => {
|
|
2645
2649
|
const o = t.getAttribute("name"), s = t.getAttribute("r:id"), r = s ? e(s, "formControl") : null;
|
|
2646
|
-
if (!r) return t.warn(`The form control '${o ?? ""}' has no properties and was not read.`, { onceKey: "xlsx.sheet.control.noProperties" }), void (
|
|
2650
|
+
if (!r) return t.warn(`The form control '${o ?? ""}' has no properties and was not read.`, { onceKey: "xlsx.sheet.control.noProperties" }), void (ht = null);
|
|
2647
2651
|
const n = r.json, i = parseInt(t.getAttribute("shapeId") ?? "", 10);
|
|
2648
2652
|
isNaN(i) || (n.shapeId = i);
|
|
2649
2653
|
const a = {
|
|
@@ -2666,29 +2670,29 @@ var Ko = {
|
|
|
2666
2670
|
json: n
|
|
2667
2671
|
}
|
|
2668
2672
|
};
|
|
2669
|
-
o && (a.content.name = o),
|
|
2673
|
+
o && (a.content.name = o), ht = {
|
|
2670
2674
|
movable: a,
|
|
2671
2675
|
control: n
|
|
2672
2676
|
};
|
|
2673
2677
|
},
|
|
2674
2678
|
closeTag: () => {
|
|
2675
|
-
|
|
2679
|
+
ht && (t.movables || (t.movables = []), t.movables.push(ht.movable), ht = null);
|
|
2676
2680
|
}
|
|
2677
|
-
}),
|
|
2681
|
+
}), pt.set("controlPr", {
|
|
2678
2682
|
from: "controlPr",
|
|
2679
2683
|
transparent: !0,
|
|
2680
2684
|
raw: !0,
|
|
2681
2685
|
openTag: (t) => {
|
|
2682
|
-
if (!
|
|
2686
|
+
if (!ht) return;
|
|
2683
2687
|
const e = t.getFrom().attributes ?? {}, o = {};
|
|
2684
2688
|
for (const t in e) {
|
|
2685
2689
|
const s = e[t];
|
|
2686
2690
|
o[t] = "string" == typeof s ? s : s?.value ?? "";
|
|
2687
2691
|
}
|
|
2688
|
-
bt(o,
|
|
2692
|
+
bt(o, ht.control);
|
|
2689
2693
|
},
|
|
2690
2694
|
closeTag: (t) => {
|
|
2691
|
-
if (!
|
|
2695
|
+
if (!ht) return;
|
|
2692
2696
|
const e = ((t) => {
|
|
2693
2697
|
const e = /<(?:[\w.-]+:)?anchor\b([^>]*)>([\s\S]*?)<\/(?:[\w.-]+:)?anchor>/.exec(t);
|
|
2694
2698
|
if (!e) return null;
|
|
@@ -2702,24 +2706,24 @@ var Ko = {
|
|
|
2702
2706
|
rest: (t.slice(0, e.index) + t.slice(e.index + e[0].length)).trim()
|
|
2703
2707
|
};
|
|
2704
2708
|
})(t.getRawXml() ?? "");
|
|
2705
|
-
e ? (
|
|
2709
|
+
e ? (ht.movable.anchor = e.anchor, "twoCell" !== e.anchorType && (ht.movable.anchorType = e.anchorType), e.rest && (ht.control.xml = e.rest)) : dt || (dt = !0, t.warn("A form control has no anchor; it is placed at the top left of the sheet."));
|
|
2706
2710
|
}
|
|
2707
2711
|
});
|
|
2708
|
-
const
|
|
2712
|
+
const Tt = {
|
|
2709
2713
|
from: "controls",
|
|
2710
2714
|
transparent: !0,
|
|
2711
|
-
scope: () =>
|
|
2715
|
+
scope: () => pt
|
|
2712
2716
|
};
|
|
2713
|
-
l.registerVisitor(
|
|
2714
|
-
const
|
|
2715
|
-
["Choice",
|
|
2716
|
-
["Fallback",
|
|
2717
|
-
["controls",
|
|
2717
|
+
l.registerVisitor(Tt);
|
|
2718
|
+
const Ct = /* @__PURE__ */ new Map([
|
|
2719
|
+
["Choice", vt],
|
|
2720
|
+
["Fallback", yt],
|
|
2721
|
+
["controls", Tt]
|
|
2718
2722
|
]);
|
|
2719
2723
|
l.registerVisitor({
|
|
2720
2724
|
from: "AlternateContent",
|
|
2721
2725
|
transparent: !0,
|
|
2722
|
-
scope: () =>
|
|
2726
|
+
scope: () => Ct
|
|
2723
2727
|
}), l.registerVisitor({
|
|
2724
2728
|
from: "tableParts",
|
|
2725
2729
|
to: "tables",
|
|
@@ -2736,20 +2740,20 @@ var Ko = {
|
|
|
2736
2740
|
s ? t.setSource(s) : t.warn("A table part is missing; the table was not imported.", { onceKey: "xlsx.sheet.table.missing" });
|
|
2737
2741
|
}
|
|
2738
2742
|
});
|
|
2739
|
-
const
|
|
2740
|
-
e.conditions?.length && (t.stops =
|
|
2741
|
-
},
|
|
2742
|
-
e.conditions?.length && (t.stops =
|
|
2743
|
-
},
|
|
2743
|
+
const At = (t, e) => {
|
|
2744
|
+
e.conditions?.length && (t.stops = S(e)), T(t, e), e.gradient ?? 1 ? t.gradient = !0 : delete t.gradient, 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);
|
|
2745
|
+
}, Et = (t, e) => {
|
|
2746
|
+
e.conditions?.length && (t.stops = S(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);
|
|
2747
|
+
}, It = (t) => {
|
|
2744
2748
|
if (!t.sqref) return null;
|
|
2745
2749
|
const e = t.sqref.split(/\s+/).join(",");
|
|
2746
2750
|
if ("iconSet" === t.type) {
|
|
2747
2751
|
if (!t.iconSet) return null;
|
|
2748
2752
|
const o = {
|
|
2749
|
-
type:
|
|
2753
|
+
type: y.ScaleType.IconSet,
|
|
2750
2754
|
stops: []
|
|
2751
2755
|
};
|
|
2752
|
-
return
|
|
2756
|
+
return Et(o, t.iconSet), {
|
|
2753
2757
|
r: e,
|
|
2754
2758
|
v: { scale: o },
|
|
2755
2759
|
priority: t.priority
|
|
@@ -2775,16 +2779,16 @@ var Ko = {
|
|
|
2775
2779
|
const e = o[t], s = e.x14Id;
|
|
2776
2780
|
if (!s) continue;
|
|
2777
2781
|
delete e.x14Id;
|
|
2778
|
-
const r =
|
|
2782
|
+
const r = X.get(s);
|
|
2779
2783
|
if (!r) continue;
|
|
2780
|
-
|
|
2784
|
+
X.delete(s);
|
|
2781
2785
|
const n = e.v?.scale;
|
|
2782
|
-
r.dataBar && n?.type ===
|
|
2786
|
+
r.dataBar && n?.type === y.ScaleType.DataBar ? At(n, r.dataBar) : r.iconSet && n?.type === y.ScaleType.IconSet && Et(n, r.iconSet);
|
|
2783
2787
|
}
|
|
2784
|
-
const s = [...
|
|
2788
|
+
const s = [...X.values(), ...G], r = /* @__PURE__ */ new Set();
|
|
2785
2789
|
let i = 0;
|
|
2786
2790
|
for (let t = 0; t < s.length; t++) {
|
|
2787
|
-
const n =
|
|
2791
|
+
const n = It(s[t]);
|
|
2788
2792
|
n ? (o || (o = [], e.conditionals = o), o.push(n)) : (r.add(s[t].type ?? "unknown"), i++);
|
|
2789
2793
|
}
|
|
2790
2794
|
if (i > 0) {
|
|
@@ -2875,7 +2879,7 @@ var Ko = {
|
|
|
2875
2879
|
to: [],
|
|
2876
2880
|
openTag: (t) => {
|
|
2877
2881
|
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;
|
|
2878
|
-
e.r =
|
|
2882
|
+
e.r = v.runToString(r, n, !0);
|
|
2879
2883
|
const i = {};
|
|
2880
2884
|
e.v = i, t.copyToObject(i, "sz", ko, "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");
|
|
2881
2885
|
}
|
|
@@ -2886,30 +2890,30 @@ var Ko = {
|
|
|
2886
2890
|
t.warn("'OLE Objects' are not supported.");
|
|
2887
2891
|
}
|
|
2888
2892
|
});
|
|
2889
|
-
let
|
|
2890
|
-
const
|
|
2893
|
+
let Pt = !1, Ot = !1, Nt = 0, Lt = "", jt = "";
|
|
2894
|
+
const Bt = (t) => {
|
|
2891
2895
|
const e = t.indexOf(":");
|
|
2892
2896
|
return -1 === e ? t : t.slice(e + 1);
|
|
2893
|
-
},
|
|
2894
|
-
return cs(
|
|
2897
|
+
}, Ft = new Uo();
|
|
2898
|
+
return cs(g, t, l.createEventHandler(t, r, n), n, i, {
|
|
2895
2899
|
onOpenTag: (t) => {
|
|
2896
|
-
|
|
2897
|
-
const e =
|
|
2898
|
-
"t" === e || "v" === e ? 0 ===
|
|
2900
|
+
Pt = !0;
|
|
2901
|
+
const e = Bt(t.name);
|
|
2902
|
+
"t" === e || "v" === e ? 0 === Nt && (Ot = !0) : "rPh" === e || "phoneticPr" === e ? Nt++ : 0 === Nt && Ft.onOpenTag(e, t.attributes);
|
|
2899
2903
|
},
|
|
2900
2904
|
onText: (t) => {
|
|
2901
|
-
|
|
2905
|
+
Ot && (Lt += t, Ft.onText(t));
|
|
2902
2906
|
},
|
|
2903
2907
|
onCloseTag: (t) => {
|
|
2904
|
-
const e =
|
|
2905
|
-
"t" === e || "v" === e ?
|
|
2908
|
+
const e = Bt(t.name);
|
|
2909
|
+
"t" === e || "v" === e ? Ot = !1 : "rPh" === e || "phoneticPr" === e ? Nt > 0 && Nt-- : Ft.onCloseTag(e);
|
|
2906
2910
|
},
|
|
2907
2911
|
onEnd: () => {
|
|
2908
|
-
if (!
|
|
2909
|
-
const t =
|
|
2910
|
-
|
|
2911
|
-
const e = W(
|
|
2912
|
-
return
|
|
2912
|
+
if (!Pt) return;
|
|
2913
|
+
const t = Ft.take();
|
|
2914
|
+
Pt = !1, Ot = !1, Nt = 0;
|
|
2915
|
+
const e = W(Lt);
|
|
2916
|
+
return Lt = "", jt = e, t ? {
|
|
2913
2917
|
t: "r",
|
|
2914
2918
|
v: {
|
|
2915
2919
|
type: "richText",
|
|
@@ -2918,7 +2922,7 @@ var Ko = {
|
|
|
2918
2922
|
} : o(e);
|
|
2919
2923
|
},
|
|
2920
2924
|
onError: (t) => {}
|
|
2921
|
-
}, a, o, () => u, () =>
|
|
2925
|
+
}, a, o, () => u, () => jt);
|
|
2922
2926
|
}, rs = class {
|
|
2923
2927
|
static {
|
|
2924
2928
|
this.Collapsed = 1;
|
|
@@ -2959,11 +2963,11 @@ var Ko = {
|
|
|
2959
2963
|
rowEnd: 0
|
|
2960
2964
|
}, ls = (t) => "1" === t || "true" === t, cs = (t, e, o, s, i, a, l, c, u, h) => {
|
|
2961
2965
|
let g = !1;
|
|
2962
|
-
const m = [], b = l?.get(es), y = l?.get(os),
|
|
2963
|
-
let
|
|
2966
|
+
const m = [], b = l?.get(es), y = l?.get(os), x = /* @__PURE__ */ new Map();
|
|
2967
|
+
let T = !1, S = [], k = !1, C = null, A = null, I = null, P = null, O = null, D = null;
|
|
2964
2968
|
const N = l?.get("richData") ?? r.EmptyArray;
|
|
2965
2969
|
let M = null, $ = !1;
|
|
2966
|
-
const R =
|
|
2970
|
+
const R = v.normalizeA1ToR1C1, V = n.createConflatingRanges(), L = /* @__PURE__ */ new Map(), j = [], B = [];
|
|
2967
2971
|
let F = !1, H = !1, W = null;
|
|
2968
2972
|
const z = (t) => {
|
|
2969
2973
|
const e = (l?.get("metadata"))?.values;
|
|
@@ -2996,7 +3000,7 @@ var Ko = {
|
|
|
2996
3000
|
const e = t.attributes;
|
|
2997
3001
|
switch (s) {
|
|
2998
3002
|
case "v":
|
|
2999
|
-
|
|
3003
|
+
T = !0;
|
|
3000
3004
|
break;
|
|
3001
3005
|
case "f":
|
|
3002
3006
|
switch (k = !0, e.t ?? null) {
|
|
@@ -3013,10 +3017,10 @@ var Ko = {
|
|
|
3013
3017
|
const t = ((t, e, o) => {
|
|
3014
3018
|
const s = t.r1, r = ls(t.del1);
|
|
3015
3019
|
if (!s && !r) return null;
|
|
3016
|
-
const n = t.ref ??
|
|
3020
|
+
const n = t.ref ?? v.cellToString({
|
|
3017
3021
|
rowIndex: e,
|
|
3018
3022
|
colIndex: o
|
|
3019
|
-
}), i =
|
|
3023
|
+
}), i = v.fastStringToRange(n);
|
|
3020
3024
|
if (!i) return null;
|
|
3021
3025
|
const a = { ref: {
|
|
3022
3026
|
rowStart: i.rowStart,
|
|
@@ -3048,7 +3052,7 @@ var Ko = {
|
|
|
3048
3052
|
if ("c" === s) {
|
|
3049
3053
|
Q = t, U = void 0;
|
|
3050
3054
|
const e = t.attributes, o = e.r;
|
|
3051
|
-
J = void 0 !== o ?
|
|
3055
|
+
J = void 0 !== o ? v.fastStringToCol(o) : J + 1;
|
|
3052
3056
|
const s = e.t;
|
|
3053
3057
|
void 0 === s ? tt = null : (tt = s, "str" === tt && (G = !0));
|
|
3054
3058
|
let r = e.s;
|
|
@@ -3058,7 +3062,7 @@ var Ko = {
|
|
|
3058
3062
|
colEnd: J,
|
|
3059
3063
|
rowEnd: K,
|
|
3060
3064
|
value: r
|
|
3061
|
-
},
|
|
3065
|
+
}, S.push(wt))), W = null, H = !1, $ = !1;
|
|
3062
3066
|
const n = e.cm;
|
|
3063
3067
|
F = void 0 !== n && ((t) => {
|
|
3064
3068
|
const e = (l?.get("metadata"))?.cells;
|
|
@@ -3127,20 +3131,20 @@ var Ko = {
|
|
|
3127
3131
|
if (0 !== e || t.slice(s).trim().length > 0) return;
|
|
3128
3132
|
const r = /^HYPERLINK\(\s*"((?:[^"]|"")*)"\s*[,)]/i.exec(t);
|
|
3129
3133
|
return r ? r[1].replace(/""/g, "\"") : null;
|
|
3130
|
-
})(P[2]), V.append(K, J, P), X && q.append(K, J)), null !== W && j.push([W, F ? H ? "error" : "dynamic" : "fixed"]), k = !1, P = null, C = null, A = null,
|
|
3134
|
+
})(P[2]), V.append(K, J, P), X && q.append(K, J)), null !== W && j.push([W, F ? H ? "error" : "dynamic" : "fixed"]), k = !1, P = null, C = null, A = null, T = !1, X = !1, W = null, F = !1, H = !1), Q) {
|
|
3131
3135
|
const o = s.indexOf(":");
|
|
3132
3136
|
if (-1 !== o && (s = s.slice(o + 1)), G) if ("is" === s || "v" === s) {
|
|
3133
3137
|
const e = a?.onEnd?.();
|
|
3134
3138
|
null == e || $ && "" === h?.() || t.pushAt(K, J, void 0 !== U && "number" == typeof e ? Y(h?.() ?? "") : "number" == typeof e ? "" + e : e);
|
|
3135
3139
|
} else "f" !== s && a?.onCloseTag?.(e);
|
|
3136
|
-
|
|
3140
|
+
T && (T = !1), "c" === s && (Q = null, G = !1);
|
|
3137
3141
|
return;
|
|
3138
3142
|
}
|
|
3139
3143
|
if (g) return g = !1, void (wt = null);
|
|
3140
3144
|
o?.onCloseTag?.(e);
|
|
3141
3145
|
}, Pt = (e) => {
|
|
3142
3146
|
const r = e.trim();
|
|
3143
|
-
if (
|
|
3147
|
+
if (T) {
|
|
3144
3148
|
switch (Z = null, tt) {
|
|
3145
3149
|
case null:
|
|
3146
3150
|
case "n":
|
|
@@ -3151,10 +3155,10 @@ var Ko = {
|
|
|
3151
3155
|
break;
|
|
3152
3156
|
case "s": {
|
|
3153
3157
|
const t = parseInt(r, 10);
|
|
3154
|
-
let e =
|
|
3158
|
+
let e = x.get(t);
|
|
3155
3159
|
if (void 0 === e) {
|
|
3156
3160
|
const o = b?.get(t);
|
|
3157
|
-
e = o ? Go(o, y) : null,
|
|
3161
|
+
e = o ? Go(o, y) : null, x.set(t, e);
|
|
3158
3162
|
}
|
|
3159
3163
|
Z = e ? {
|
|
3160
3164
|
t: "r",
|
|
@@ -3186,7 +3190,7 @@ var Ko = {
|
|
|
3186
3190
|
}
|
|
3187
3191
|
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;
|
|
3188
3192
|
})(r, !0 === l?.get(ts));
|
|
3189
|
-
null !== t ? Z = t : c && (s?.(`Date '${r}' in cell ${
|
|
3193
|
+
null !== t ? Z = t : c && (s?.(`Date '${r}' in cell ${v.cellToString({
|
|
3190
3194
|
colIndex: J,
|
|
3191
3195
|
rowIndex: K
|
|
3192
3196
|
})} is not a date this workbook can hold; kept as text.`, void 0, "xlsx.cell.isoDateText"), Z = "" + c(r));
|
|
@@ -3204,7 +3208,7 @@ var Ko = {
|
|
|
3204
3208
|
};
|
|
3205
3209
|
break;
|
|
3206
3210
|
}
|
|
3207
|
-
if (
|
|
3211
|
+
if (w.isJSON(e)) {
|
|
3208
3212
|
Z = {
|
|
3209
3213
|
t: "r",
|
|
3210
3214
|
v: e
|
|
@@ -3217,7 +3221,7 @@ var Ko = {
|
|
|
3217
3221
|
t ? Z = {
|
|
3218
3222
|
t: "e",
|
|
3219
3223
|
v: t.getCode()
|
|
3220
|
-
} : (Z = r, s?.(`Unknown formula error '${r}' in cell ${
|
|
3224
|
+
} : (Z = r, s?.(`Unknown formula error '${r}' in cell ${v.cellToString({
|
|
3221
3225
|
colIndex: J,
|
|
3222
3226
|
rowIndex: K
|
|
3223
3227
|
})}`));
|
|
@@ -3379,7 +3383,7 @@ var Ko = {
|
|
|
3379
3383
|
for (const s of m) s.min > t && e.push(o(t, s.min - 1)), t = Math.max(t, s.max + 1);
|
|
3380
3384
|
t <= 1048575 && e.push(o(t, 1048575)), e.length > 0 && (et.push(...e), et.sort((t, e) => t.min - e.min));
|
|
3381
3385
|
}
|
|
3382
|
-
et.length > 0 && (e.rows =
|
|
3386
|
+
et.length > 0 && (e.rows = v.runsToRefs(et, !1));
|
|
3383
3387
|
let s = V.done(ns);
|
|
3384
3388
|
s = ((t, e) => {
|
|
3385
3389
|
let o = null;
|
|
@@ -3405,7 +3409,7 @@ var Ko = {
|
|
|
3405
3409
|
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);
|
|
3406
3410
|
}
|
|
3407
3411
|
if (n !== (r.rowEnd - r.rowStart + 1) * (r.colEnd - r.colStart + 1)) continue;
|
|
3408
|
-
const i = Fo(
|
|
3412
|
+
const i = Fo(v.resolveRelativeToA1(o.value[1], r.rowStart, r.colStart), r);
|
|
3409
3413
|
if (i) {
|
|
3410
3414
|
e.push(i);
|
|
3411
3415
|
for (let e = 0; e < t.length; e++) s.add(t[e]);
|
|
@@ -3417,15 +3421,15 @@ var Ko = {
|
|
|
3417
3421
|
if (r > 0 || B.length > 0) {
|
|
3418
3422
|
const t = new Array(r);
|
|
3419
3423
|
for (let e = 0; e < r; e++) {
|
|
3420
|
-
const o = s[e], r =
|
|
3424
|
+
const o = s[e], r = v.rangeToString(o), n = o.value[1], i = v.resolveRelativeToA1(n, o.rowStart, o.colStart);
|
|
3421
3425
|
t[e] = [r, i];
|
|
3422
3426
|
}
|
|
3423
3427
|
for (let e = 0; e < B.length; e++) {
|
|
3424
3428
|
const o = B[e], s = o.ref;
|
|
3425
|
-
t.push([
|
|
3429
|
+
t.push([v.cellToString({
|
|
3426
3430
|
rowIndex: s.rowStart,
|
|
3427
3431
|
colIndex: s.colStart
|
|
3428
|
-
}), st(o)]), j.push([
|
|
3432
|
+
}), st(o)]), j.push([v.rangeToString(s), "dynamic"]);
|
|
3429
3433
|
}
|
|
3430
3434
|
e.formulas = t;
|
|
3431
3435
|
}
|
|
@@ -3433,23 +3437,23 @@ var Ko = {
|
|
|
3433
3437
|
if (a > 0) {
|
|
3434
3438
|
const t = new Array(a);
|
|
3435
3439
|
for (let e = 0; e < a; e++) {
|
|
3436
|
-
const o = i[e], s =
|
|
3440
|
+
const o = i[e], s = v.rangeToString(o);
|
|
3437
3441
|
t[e] = s;
|
|
3438
3442
|
}
|
|
3439
3443
|
e.volatile = t;
|
|
3440
3444
|
}
|
|
3441
3445
|
M && j.push(...M.getFormulaArray()), j.length > 0 && (e.formulaArray = [...j]);
|
|
3442
|
-
const l =
|
|
3446
|
+
const l = S.length;
|
|
3443
3447
|
if (l > 0) {
|
|
3444
|
-
|
|
3445
|
-
let t =
|
|
3448
|
+
S.sort(n.createRangeComparator(p.Axis.Column));
|
|
3449
|
+
let t = S[0], o = t.colStart, s = t.colEnd, r = t.rowEnd, i = t.value;
|
|
3446
3450
|
const a = [];
|
|
3447
3451
|
a.push(t);
|
|
3448
3452
|
let c = null;
|
|
3449
|
-
for (let e = 1; e < l; e++) c =
|
|
3453
|
+
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);
|
|
3450
3454
|
const u = a.length, h = new Array(u);
|
|
3451
3455
|
for (let t = 0; t < u; t++) {
|
|
3452
|
-
const e = a[t], o =
|
|
3456
|
+
const e = a[t], o = v.rangeToString(e);
|
|
3453
3457
|
h[t] = [o, e.value];
|
|
3454
3458
|
}
|
|
3455
3459
|
e.directStyles = h;
|
|
@@ -3654,7 +3658,7 @@ var ms = {
|
|
|
3654
3658
|
return t.linkTarget && (s.linkTarget = t.linkTarget), s;
|
|
3655
3659
|
}, xs = "hiddenXfs", ws = (t) => (Array.isArray(t) ? t[1] : t?.v)?.s, Ts = (t) => {
|
|
3656
3660
|
if (!t || 0 === t.length) return !1;
|
|
3657
|
-
const e =
|
|
3661
|
+
const e = v.refsToRuns(t, !0);
|
|
3658
3662
|
let o = 0;
|
|
3659
3663
|
for (const t of e) {
|
|
3660
3664
|
if (t.min > o || void 0 === t.value?.s) return !1;
|
|
@@ -3667,9 +3671,9 @@ var ms = {
|
|
|
3667
3671
|
showFormulas: e
|
|
3668
3672
|
};
|
|
3669
3673
|
}, ks = "pivotButtonXfs", Cs = (t, e) => {
|
|
3670
|
-
const o =
|
|
3674
|
+
const o = x(t, e);
|
|
3671
3675
|
if (!o || !t.location) return null;
|
|
3672
|
-
const s =
|
|
3676
|
+
const s = v.fastStringToRange(t.location), r = {
|
|
3673
3677
|
rowIndex: s.rowStart - o.top,
|
|
3674
3678
|
colIndex: s.colStart
|
|
3675
3679
|
};
|
|
@@ -3758,7 +3762,7 @@ var ms = {
|
|
|
3758
3762
|
if ("string" == typeof t) return void e.push(t);
|
|
3759
3763
|
const o = Array.isArray(t) ? t : [t];
|
|
3760
3764
|
for (let t = 0; t < o.length; t++) {
|
|
3761
|
-
const s =
|
|
3765
|
+
const s = v.rangeToString(o[t]);
|
|
3762
3766
|
s && e.push(s);
|
|
3763
3767
|
}
|
|
3764
3768
|
}, Vs = (t) => {
|
|
@@ -3771,7 +3775,7 @@ var ms = {
|
|
|
3771
3775
|
const r = e ? 2 : 1, n = e ? o.rowStart : o.colStart, i = e ? o.rowEnd : o.colEnd;
|
|
3772
3776
|
let a, l = -1;
|
|
3773
3777
|
for (const o of t) {
|
|
3774
|
-
const t =
|
|
3778
|
+
const t = v.refToRun(o, e), c = Vs(o);
|
|
3775
3779
|
t && void 0 !== c ? c !== l || (e ? a.colEnd : a.rowEnd) + 1 !== t.min ? (a = {
|
|
3776
3780
|
colStart: e ? t.min : n,
|
|
3777
3781
|
rowStart: e ? n : t.min,
|
|
@@ -3826,22 +3830,22 @@ var ms = {
|
|
|
3826
3830
|
26,
|
|
3827
3831
|
225
|
|
3828
3832
|
], Ws = /^xl\/worksheets\/[^/]+\.xml$/i, zs = (t) => "string" == typeof t ? t : (t?.runs ?? []).map((t) => t.text ?? "").join(""), Xs = async (n, l) => {
|
|
3829
|
-
const { password: c, onVBA: u, profile: d, calcOnLoad: p = "auto", createWorkbookOptions: f = {}, ...
|
|
3830
|
-
await
|
|
3831
|
-
const b = !!f.origin && "string" != typeof f.origin,
|
|
3832
|
-
|
|
3833
|
+
const { password: c, onVBA: u, profile: d, calcOnLoad: p = "auto", createWorkbookOptions: f = {}, ...m } = l ?? {};
|
|
3834
|
+
await S.load();
|
|
3835
|
+
const b = !!f.origin && "string" != typeof f.origin, y = d ? new me("function" == typeof d ? d : void 0) : null, x = [], w = (t, e, o) => {
|
|
3836
|
+
x.push([
|
|
3833
3837
|
t,
|
|
3834
3838
|
e ?? "",
|
|
3835
3839
|
o
|
|
3836
3840
|
]);
|
|
3837
|
-
}, k = { onWarning:
|
|
3841
|
+
}, k = { onWarning: w }, A = l?.progress, P = A?.onProgress ? A.onProgress.bind(A) : void 0, O = n.byteLength;
|
|
3838
3842
|
let D = 0, N = 0;
|
|
3839
3843
|
const _ = P ? (t) => {
|
|
3840
3844
|
if (D <= 0) return;
|
|
3841
3845
|
N += t;
|
|
3842
3846
|
const e = Math.min(O, Math.round(N / D * O));
|
|
3843
3847
|
P(e, O);
|
|
3844
|
-
} : void 0, $ = import("./
|
|
3848
|
+
} : void 0, $ = import("./KSE7OWDMxhbfYt82.js");
|
|
3845
3849
|
let V = null;
|
|
3846
3850
|
try {
|
|
3847
3851
|
V = new DOMParser();
|
|
@@ -3851,7 +3855,7 @@ var ms = {
|
|
|
3851
3855
|
L = new XMLSerializer();
|
|
3852
3856
|
} catch (n) {}
|
|
3853
3857
|
let B, F, q, U = null;
|
|
3854
|
-
V || (U = import("./
|
|
3858
|
+
V || (U = import("./NEzc406_2k2MuiE3.js").then((e) => t(e.default, 1)));
|
|
3855
3859
|
try {
|
|
3856
3860
|
const [t, e] = await Promise.all([U, $]);
|
|
3857
3861
|
B = new e.DOMTransformer(), F = V ?? new t.DOMParser(), q = L ?? new t.XMLSerializer();
|
|
@@ -3870,7 +3874,7 @@ var ms = {
|
|
|
3870
3874
|
} catch (n) {
|
|
3871
3875
|
throw new i("Unable to parse as an Excel document. Try to save as '.xlsx' and try again.", { cause: n });
|
|
3872
3876
|
}
|
|
3873
|
-
|
|
3877
|
+
y?.mark("zip-open");
|
|
3874
3878
|
try {
|
|
3875
3879
|
if (!Y.has("[Content_Types].xml")) throw new i("Unable to parse as an Excel document. Try to save as '.xlsx' and try again.");
|
|
3876
3880
|
const t = (t) => {
|
|
@@ -3922,7 +3926,7 @@ var ms = {
|
|
|
3922
3926
|
},
|
|
3923
3927
|
onError: (t) => {
|
|
3924
3928
|
((t) => {
|
|
3925
|
-
|
|
3929
|
+
x.push([t, "[Content_Types].xml"]);
|
|
3926
3930
|
})(`Error parsing content types: ${t?.message ?? t}`);
|
|
3927
3931
|
}
|
|
3928
3932
|
}))(o), e = await Y.getTextStream("[Content_Types].xml");
|
|
@@ -3934,12 +3938,12 @@ var ms = {
|
|
|
3934
3938
|
}
|
|
3935
3939
|
b && await Y.getBuffer("[Content_Types].xml");
|
|
3936
3940
|
}
|
|
3937
|
-
|
|
3941
|
+
y?.mark("content-types");
|
|
3938
3942
|
const l = o.sst, c = /* @__PURE__ */ new Set();
|
|
3939
3943
|
for (const t of o.sheets) c.add(Fs(t));
|
|
3940
3944
|
l && c.add(Fs(l));
|
|
3941
3945
|
for (const t of c) D += Y.uncompressedSize(t);
|
|
3942
|
-
if (await Y.prefetch((t) => !c.has(t) && !Ws.test(t)),
|
|
3946
|
+
if (await Y.prefetch((t) => !c.has(t) && !Ws.test(t)), y?.mark("prefetch-side-parts"), 0 === o.workbooks.length) {
|
|
3943
3947
|
const e = pt("_rels/.rels", t, F, B, k), s = "http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument";
|
|
3944
3948
|
if (e) {
|
|
3945
3949
|
for (const t of e.values()) if (t.type === s && t.target) {
|
|
@@ -3949,7 +3953,7 @@ var ms = {
|
|
|
3949
3953
|
}
|
|
3950
3954
|
}
|
|
3951
3955
|
if (0 === o.workbooks.length) throw new i("Unable to parse as an Excel document. Try to save as '.xlsx' and try again.");
|
|
3952
|
-
const
|
|
3956
|
+
const m = f?.resources ?? new T(), S = m.beginPersist(), N = {}, $ = /* @__PURE__ */ new Set(), V = /* @__PURE__ */ new Map();
|
|
3953
3957
|
V.set("parseInlineDxf", (t) => {
|
|
3954
3958
|
if (!t) return;
|
|
3955
3959
|
const e = F.parseFromString(`<dxf xmlns:x14="${re}" xmlns:xm="${G}">${t}</dxf>`, "text/xml")?.documentElement;
|
|
@@ -3970,8 +3974,8 @@ var ms = {
|
|
|
3970
3974
|
if (!i) return null;
|
|
3971
3975
|
if ("External" === n.targetMode) {
|
|
3972
3976
|
if (!s) return n.target;
|
|
3973
|
-
const t =
|
|
3974
|
-
return t.addReference(N), $.add(t),
|
|
3977
|
+
const t = m.add({ source: { external: n.target } });
|
|
3978
|
+
return t.addReference(N), $.add(t), S.toResourceId(t);
|
|
3975
3979
|
}
|
|
3976
3980
|
const a = o.lastIndexOf("/"), l = o.substring(0, a + 1);
|
|
3977
3981
|
i.startsWith("/") || (i = l + i), i = At(i);
|
|
@@ -3984,7 +3988,7 @@ var ms = {
|
|
|
3984
3988
|
u = t;
|
|
3985
3989
|
const e = async () => {
|
|
3986
3990
|
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) => {
|
|
3987
|
-
|
|
3991
|
+
w(t, e ? `${e} (${i})` : i, o);
|
|
3988
3992
|
}, void 0, V), o = await Y.getTextStream(i, _);
|
|
3989
3993
|
if (o) try {
|
|
3990
3994
|
await Ne.parseStream(o, e, {
|
|
@@ -4003,9 +4007,9 @@ var ms = {
|
|
|
4003
4007
|
const s = ft(o, i, t.type, (t) => "http://schemas.openxmlformats.org/officeDocument/2006/relationships/pivotCacheDefinition" !== t);
|
|
4004
4008
|
if (!s?.xml) return;
|
|
4005
4009
|
const r = /<pivotTableDefinition\b[^>]*>/.exec(s.xml)?.[0] ?? "", n = parseInt(/\scacheId="(\d+)"/.exec(r)?.[1] ?? "", 10);
|
|
4006
|
-
if (isNaN(n)) return void
|
|
4010
|
+
if (isNaN(n)) return void x.push([`Pivot table '${s.name}' names no cache and was dropped.`, i]);
|
|
4007
4011
|
const a = /\sname="([^"]*)"/.exec(r)?.[1], l = j(s.xml);
|
|
4008
|
-
if (!l) return void
|
|
4012
|
+
if (!l) return void x.push([`Pivot table '${s.name}' states no location and was dropped.`, i]);
|
|
4009
4013
|
const c = B?.getVisitorParamsState(), u = it(c?.get("numFmts"), c?.get("dxfs")), h = dt(s.xml, u), d = h ? void 0 : Ct(s.xml, u);
|
|
4010
4014
|
e.push({
|
|
4011
4015
|
...a ? { name: zt(a) } : {},
|
|
@@ -4036,8 +4040,8 @@ var ms = {
|
|
|
4036
4040
|
}), n.sort((t, e) => ("book" === t.role ? 0 : 1) - ("book" === e.role ? 0 : 1)), t.sources = n, ot(i), u = t;
|
|
4037
4041
|
} else u = null;
|
|
4038
4042
|
} else u = s ? Pt(i, t, (t, e) => {
|
|
4039
|
-
const o =
|
|
4040
|
-
return o.addReference(N), $.add(o),
|
|
4043
|
+
const o = m.add({ source: { buffer: t } });
|
|
4044
|
+
return o.addReference(N), $.add(o), S.toResourceId(o);
|
|
4041
4045
|
}, Tt) : Wt(i, t, F, B, Tt);
|
|
4042
4046
|
}
|
|
4043
4047
|
return u;
|
|
@@ -4109,7 +4113,7 @@ var ms = {
|
|
|
4109
4113
|
const s = /* @__PURE__ */ new Map();
|
|
4110
4114
|
for (let t = 0; t < o.length; t++) {
|
|
4111
4115
|
const e = o[t];
|
|
4112
|
-
s.set(
|
|
4116
|
+
s.set(v.cellToString({
|
|
4113
4117
|
rowIndex: e.row,
|
|
4114
4118
|
colIndex: e.col
|
|
4115
4119
|
}), e);
|
|
@@ -4220,7 +4224,7 @@ var ms = {
|
|
|
4220
4224
|
readEmbeddedPart: (t, e) => ft(t, e),
|
|
4221
4225
|
addPerson: wt,
|
|
4222
4226
|
serializeElement: J,
|
|
4223
|
-
onWarning:
|
|
4227
|
+
onWarning: w
|
|
4224
4228
|
}, St = [], kt = /* @__PURE__ */ new Map();
|
|
4225
4229
|
if (V.set(es, kt), l) {
|
|
4226
4230
|
const t = await Y.getTextStream(l, _);
|
|
@@ -4247,7 +4251,7 @@ var ms = {
|
|
|
4247
4251
|
}
|
|
4248
4252
|
};
|
|
4249
4253
|
})(0, (t) => {
|
|
4250
|
-
|
|
4254
|
+
w(t, l);
|
|
4251
4255
|
});
|
|
4252
4256
|
try {
|
|
4253
4257
|
await Ne.parseStream(t, e, { xmlns: !1 });
|
|
@@ -4256,7 +4260,7 @@ var ms = {
|
|
|
4256
4260
|
}
|
|
4257
4261
|
}
|
|
4258
4262
|
}
|
|
4259
|
-
|
|
4263
|
+
y?.mark("shared-strings");
|
|
4260
4264
|
let It = St.length;
|
|
4261
4265
|
const Dt = /* @__PURE__ */ new Map();
|
|
4262
4266
|
let _t = It;
|
|
@@ -4294,11 +4298,11 @@ var ms = {
|
|
|
4294
4298
|
return r ? r.slice().buffer : null;
|
|
4295
4299
|
},
|
|
4296
4300
|
addFetched: (t, e) => {
|
|
4297
|
-
const o =
|
|
4301
|
+
const o = m.add({
|
|
4298
4302
|
source: { buffer: t },
|
|
4299
4303
|
fetchedFrom: e
|
|
4300
4304
|
});
|
|
4301
|
-
return o.addReference(N), $.add(o),
|
|
4305
|
+
return o.addReference(N), $.add(o), S.toResourceId(o);
|
|
4302
4306
|
},
|
|
4303
4307
|
markAbsorbed: ot
|
|
4304
4308
|
}, qt = /* @__PURE__ */ new Map();
|
|
@@ -4354,7 +4358,7 @@ var ms = {
|
|
|
4354
4358
|
})
|
|
4355
4359
|
};
|
|
4356
4360
|
})(t, F), Kt = Ut(Gt, qt, (t) => {
|
|
4357
|
-
|
|
4361
|
+
w(t, "/xl/richData/rdrichvalue.xml");
|
|
4358
4362
|
});
|
|
4359
4363
|
V.set("richData", Gt.values.map((t, e) => Kt.cellValue(e)));
|
|
4360
4364
|
for (let t = 0; t < Vt; t++) {
|
|
@@ -4367,7 +4371,7 @@ var ms = {
|
|
|
4367
4371
|
let t = Jt.entries().next();
|
|
4368
4372
|
t?.value?.[1] && (Qt = t.value[1]);
|
|
4369
4373
|
}
|
|
4370
|
-
const Yt = new
|
|
4374
|
+
const Yt = new g(Qt);
|
|
4371
4375
|
let oe = Ot("styles", o, t, F, B, Tt).entries().next()?.value?.[1];
|
|
4372
4376
|
oe && (oe = JSON.parse(a.JSONStableStringify(oe)));
|
|
4373
4377
|
const se = Ot("workbooks", o, t, F, B, Tt);
|
|
@@ -4383,7 +4387,7 @@ var ms = {
|
|
|
4383
4387
|
for (const t of s.keys()) o.add(t.toUpperCase());
|
|
4384
4388
|
} catch {}
|
|
4385
4389
|
return (t) => o.has(t) || E.has(t);
|
|
4386
|
-
})(se.entries().next().value?.[1]?.names, f.functions)),
|
|
4390
|
+
})(se.entries().next().value?.[1]?.names, f.functions)), y?.mark("side-parts-json"), await Promise.all(U);
|
|
4387
4391
|
{
|
|
4388
4392
|
const t = se.entries().next().value?.[1], e = Z(t?.names), o = t?.sheets ?? [];
|
|
4389
4393
|
for (let t = 0; t < o.length; t++) {
|
|
@@ -4401,7 +4405,7 @@ var ms = {
|
|
|
4401
4405
|
"string" == typeof o && (s[t].ref = e.readDetached(o));
|
|
4402
4406
|
}
|
|
4403
4407
|
}
|
|
4404
|
-
P && D > 0 && (P(O, O), await new Promise((t) => setTimeout(t, 0))),
|
|
4408
|
+
P && D > 0 && (P(O, O), await new Promise((t) => setTimeout(t, 0))), y?.mark("sheets");
|
|
4405
4409
|
const ne = {
|
|
4406
4410
|
...se.entries().next().value?.[1],
|
|
4407
4411
|
styles: oe,
|
|
@@ -4426,7 +4430,7 @@ var ms = {
|
|
|
4426
4430
|
}
|
|
4427
4431
|
return Object.keys(r).length > 0 ? r : void 0;
|
|
4428
4432
|
})(gt.values().next().value?.properties, mt.values().next().value?.properties, bt.values().next().value?.custom, (t, e) => {
|
|
4429
|
-
|
|
4433
|
+
w(t, "docProps/custom.xml", e);
|
|
4430
4434
|
});
|
|
4431
4435
|
ae && (ne.properties = ae), ((t, e) => {
|
|
4432
4436
|
if (!e || 0 === e.size) return;
|
|
@@ -4479,13 +4483,13 @@ var ms = {
|
|
|
4479
4483
|
const r = s.map(Et), n = s.map(() => []);
|
|
4480
4484
|
for (const [o, s] of t.directStyles ?? []) {
|
|
4481
4485
|
if (!e.has(s)) continue;
|
|
4482
|
-
const t =
|
|
4486
|
+
const t = v.fastStringToRange(o);
|
|
4483
4487
|
for (let e = 0; e < r.length; e++) {
|
|
4484
4488
|
const o = r[e];
|
|
4485
4489
|
if (!o) continue;
|
|
4486
4490
|
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);
|
|
4487
4491
|
if (s > i || a > l) continue;
|
|
4488
|
-
const c =
|
|
4492
|
+
const c = v.rangeToString({
|
|
4489
4493
|
rowStart: s - o.rowStart,
|
|
4490
4494
|
rowEnd: i - o.rowStart,
|
|
4491
4495
|
colStart: a - o.colStart,
|
|
@@ -4533,18 +4537,18 @@ var ms = {
|
|
|
4533
4537
|
if (!e) continue;
|
|
4534
4538
|
const o = [];
|
|
4535
4539
|
for (const t of r) {
|
|
4536
|
-
const s =
|
|
4540
|
+
const s = v.fastStringToRange(t[0]), r = _s(s, e.coords);
|
|
4537
4541
|
if (!r) {
|
|
4538
4542
|
o.push(t);
|
|
4539
4543
|
continue;
|
|
4540
4544
|
}
|
|
4541
4545
|
n = !0;
|
|
4542
|
-
for (const e of Ms(s, r)) o.push([
|
|
4546
|
+
for (const e of Ms(s, r)) o.push([v.rangeToString(e), t[1]]);
|
|
4543
4547
|
const { rowIndex: a, colIndex: l } = e.origin;
|
|
4544
4548
|
for (let s = r.rowStart; s <= r.rowEnd; s++) {
|
|
4545
4549
|
let n = r.colStart, c = null;
|
|
4546
4550
|
const u = (t) => {
|
|
4547
|
-
null !== c && o.push([
|
|
4551
|
+
null !== c && o.push([v.rangeToString({
|
|
4548
4552
|
rowStart: s,
|
|
4549
4553
|
rowEnd: s,
|
|
4550
4554
|
colStart: n,
|
|
@@ -4576,7 +4580,7 @@ var ms = {
|
|
|
4576
4580
|
if (Ls(t.cols, !0, o, n), Ls(t.rows, !1, o, n), 0 === n.length) continue;
|
|
4577
4581
|
const i = [];
|
|
4578
4582
|
for (const [e, o] of t.directStyles ?? []) i.push({
|
|
4579
|
-
...
|
|
4583
|
+
...v.fastStringToRange(e),
|
|
4580
4584
|
value: {
|
|
4581
4585
|
kind: 0,
|
|
4582
4586
|
index: o
|
|
@@ -4597,7 +4601,7 @@ var ms = {
|
|
|
4597
4601
|
}
|
|
4598
4602
|
s = t ?? o ?? r;
|
|
4599
4603
|
}
|
|
4600
|
-
a.push([
|
|
4604
|
+
a.push([v.rangeToString(t.value.range, o), s.index]);
|
|
4601
4605
|
}
|
|
4602
4606
|
a.length > 0 ? t.directStyles = a : delete t.directStyles;
|
|
4603
4607
|
}
|
|
@@ -4637,7 +4641,7 @@ var ms = {
|
|
|
4637
4641
|
t?.slicers && e.set(o, t.slicers);
|
|
4638
4642
|
}), ie(ne, {
|
|
4639
4643
|
warn: (t, e) => {
|
|
4640
|
-
|
|
4644
|
+
w(t, "xl/slicers", e);
|
|
4641
4645
|
},
|
|
4642
4646
|
markAbsorbed: ot,
|
|
4643
4647
|
slicerParts: e
|
|
@@ -4651,7 +4655,7 @@ var ms = {
|
|
|
4651
4655
|
ce && ce.length > 0 && (ne.people = ce);
|
|
4652
4656
|
const fe = Y.getEntry("xl/vbaProject.bin");
|
|
4653
4657
|
if (fe) try {
|
|
4654
|
-
const { VBAProject: t } = await import("./
|
|
4658
|
+
const { VBAProject: t } = await import("./DnQM29yv6KQQOVfl.js"), e = t.extract(fe);
|
|
4655
4659
|
if (e) {
|
|
4656
4660
|
const o = /* @__PURE__ */ new Map();
|
|
4657
4661
|
for (const t of ne.sheets ?? []) {
|
|
@@ -4667,25 +4671,25 @@ var ms = {
|
|
|
4667
4671
|
a[s.name] || (a[s.name] = e);
|
|
4668
4672
|
}
|
|
4669
4673
|
u?.(e);
|
|
4670
|
-
} else
|
|
4674
|
+
} else x.push(["Unable to parse VBA project.", "xl/vbaProject.bin"]);
|
|
4671
4675
|
} catch (n) {
|
|
4672
|
-
|
|
4676
|
+
x.push([`Error extracting VBA: ${n?.message ?? n}`, "xl/vbaProject.bin"]);
|
|
4673
4677
|
}
|
|
4674
4678
|
const ge = V.get("calcId"), me = void 0 === ge || !(Number(ge) >= 191029), be = f.calcOnLoad ?? ("auto" === p && me ? "full" : p), ye = {
|
|
4675
4679
|
...f,
|
|
4676
4680
|
calcOnLoad: be,
|
|
4677
|
-
resources:
|
|
4681
|
+
resources: m,
|
|
4678
4682
|
json: ne
|
|
4679
4683
|
};
|
|
4680
4684
|
if (void 0 === ye.disableLoadAutoFit) {
|
|
4681
4685
|
const t = V.get(ee);
|
|
4682
4686
|
ye.disableLoadAutoFit = !!t?.declared && t.normalIsThemeFont && await jt(t.faces);
|
|
4683
4687
|
}
|
|
4684
|
-
|
|
4688
|
+
y?.mark("json-assembled");
|
|
4685
4689
|
const ve = new C(ye);
|
|
4686
|
-
if (
|
|
4690
|
+
if (y?.mark("workbook-constructed"), $.forEach((t) => {
|
|
4687
4691
|
t.deleteReference(N);
|
|
4688
|
-
}),
|
|
4692
|
+
}), S.endPersist(), b) {
|
|
4689
4693
|
X(ve);
|
|
4690
4694
|
const t = /* @__PURE__ */ new Map();
|
|
4691
4695
|
let e = 0;
|
|
@@ -4706,7 +4710,7 @@ var ms = {
|
|
|
4706
4710
|
};
|
|
4707
4711
|
t.set(o, n), e += s.byteLength;
|
|
4708
4712
|
}
|
|
4709
|
-
if (e > 67108864)
|
|
4713
|
+
if (e > 67108864) x.push([`Source package too large to retain (${e} bytes, limit ${te}); unmodeled parts will be dropped on save.`, "SourcePackage"]);
|
|
4710
4714
|
else if (t.size > 0) {
|
|
4711
4715
|
const e = new Nt(t, et);
|
|
4712
4716
|
tt(ve, e);
|
|
@@ -4723,14 +4727,14 @@ var ms = {
|
|
|
4723
4727
|
} });
|
|
4724
4728
|
}
|
|
4725
4729
|
}
|
|
4726
|
-
if (
|
|
4730
|
+
if (x.length && A?.onWarning) {
|
|
4727
4731
|
const t = /* @__PURE__ */ new Set();
|
|
4728
|
-
for (const e of
|
|
4732
|
+
for (const e of x) {
|
|
4729
4733
|
const [o, s, r] = e, n = r ?? o;
|
|
4730
4734
|
t.has(n) || (t.add(n), A.onWarning(o, s));
|
|
4731
4735
|
}
|
|
4732
4736
|
}
|
|
4733
|
-
return
|
|
4737
|
+
return y && !0 === d && console.table(y.toTable()), await ve.whenFontsReady(), ve;
|
|
4734
4738
|
} catch (n) {
|
|
4735
4739
|
let t = "Unable to parse XLSX.";
|
|
4736
4740
|
throw n instanceof o && (t = "Unable to open XLSX. There are too many rows or columns."), new Error(t, { cause: n });
|