@sheetxl/mcp 0.8.0-beta.19 → 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/{ArL5bPq60ZcPcwU9.js → -NFft0E2Wj6WH3X9.js} +1 -1
- package/assets/{CE4VYOniMmY8sXQ_.js → 0ewqK5X66DZmbhVR.js} +1 -1
- package/assets/{Bk6A5eONxLTBIA_p.js → 1bSTbCnkTWvsV82p.js} +4 -4
- package/assets/{CqvcgwQ0UcKndrhO.js → 4-DOIpV6Hjaymwy7.js} +2 -2
- package/assets/{BgVW1icycJewsx77.js → 69EXDk0YRdjdM86i.js} +1 -1
- package/assets/{D1kI9nJRL1RUF3-E.js → 8wMcuw3b1CFk-D5A.js} +1 -1
- package/assets/{DAnSdO8615XsOPNe.js → AGdlSbOsXWO1oZAE.js} +1 -1
- package/assets/{CjrzyKFdie6KYfsG.js → B1l0k4ErELObdQKE.js} +3 -3
- package/assets/{CIOlYUuBZat8FhHa.js → B4Z_YneQya9mUTN5.js} +1 -1
- package/assets/{D990KjcBrCaAEz5k.js → B8NDzDM0Gpwmkylq.js} +1 -1
- package/assets/{Bpf9jHj5AFY9543y.js → B8URptQcztz4DRvS.js} +39 -39
- package/assets/{CIxf9Y_JsuEEO7Nu.js → BABP2ffkRrOs7_Ym.js} +1 -1
- package/assets/{BPctZbHQFoqJNYzC.js → BAqvmoeYqG6dwX3I.js} +2 -2
- package/assets/{Bl77DvFa09DuVVuj.js → BC2Y5XPkMBKS6jQX.js} +383 -379
- package/assets/{D_6TeeMN5zmoQPTm.js → BEOwJnsyIuMC4SaI.js} +4 -4
- package/assets/{Bgi6ubwGkGYsILci.js → BJo3edG_rqch-Kw2.js} +78 -78
- package/assets/{DT_kCIZ600UsFy4t.js → BM9zwvBRXNbO_uD-.js} +2 -2
- package/assets/{DXe8SG12UJoGbbWR.js → BMkhJwKP7goV0vlJ.js} +1 -1
- package/assets/{iP-shs7tsDGMVvQh.js → BRiLNigzVwOBIxBy.js} +1 -1
- package/assets/{CcGrcjoI12MaDmwV.js → BU7t2vK3_DH_BbMd.js} +2 -2
- package/assets/{CkMXAUkUuJ2LJUBE.js → BVDaUnmVOSaDw9e3.js} +1 -1
- package/assets/{Bw2Nxye4Qj10uA3o.js → BWqKV3QuZX31WPsa.js} +1 -1
- package/assets/{D1nQ_BminCM0cyH0.js → BZJvWc-5DdAyHXFk.js} +1 -1
- package/assets/{CubwsTFIaEVf039H.js → B_RppF41PrYlelc_.js} +1 -1
- package/assets/{BgUHR-HVjZDY4SaH.js → B_n6s7Kj4_5BWn1q.js} +2 -2
- package/assets/{D1ZekPxeTGzhFy2L.js → Bagfe_VVU6NyQNS6.js} +1 -1
- package/assets/{CWHuM2GYuKmi0rZx.js → BbsMdXiRzPW9BCEK.js} +1 -1
- package/assets/{Bbky1A_gIgE8i0Oy.js → BeMLPoHRWacCbpl2.js} +1 -1
- package/assets/{DLJH6ppG9VHjHe_z.js → BneTvtEMcBoSiQnw.js} +3 -3
- package/assets/{C06iKc7jZ6affk2m.js → BrgptoFtJepXL46Z.js} +1 -1
- package/assets/{D06A3fKIe3WCTFru.js → BtiRDaBbNpPpKelt.js} +3 -3
- package/assets/{CKvP54bJ4GkUqcZi.js → BtjG4s0StUieGI5b.js} +3 -3
- package/assets/{DSNaHPvgqymqpsko.js → C0pbMKm0FzhOek9r.js} +1 -1
- package/assets/{DxTzG7VM8v4WJ6cI.js → C1ZP9W2tiVQUwLqZ.js} +1 -1
- package/assets/{1bm0Yqgfehw1Z2QU.js → C1xe-BzKWT17OO8a.js} +13 -13
- package/assets/{7MIo82Ay8jEFMBH-.js → C27330XswujHKrLu.js} +1 -1
- package/assets/{DrkfG324qZRPckuC.js → C2YOx4ianxuIIeMP.js} +1 -1
- package/assets/{CA_22AL82sRhLAko.js → C8huq6_Gvbeyf6Zy.js} +2 -2
- package/assets/{Cgf5GQVN-D8SlQ7A.js → CB9TsE5n0FEyFnAz.js} +15 -15
- package/assets/{Bj1WHx6LIEq6RVGw.js → CBTQ8dknYY7RVQgL.js} +8 -8
- package/assets/{C17Wflhw5IFSgFFY.js → CBqpH_MpBSmQRaGE.js} +1 -1
- package/assets/{BTnTQBSbzYU7cwra.js → CC2hfzradb2KOvtU.js} +1 -1
- package/assets/{D6fQheA4qCS5CxYQ.js → CDKZI2IIZ9boo7zG.js} +1 -1
- package/assets/{CQZq4cA5kbES6htE.js → CDYMLTHkkpRV9igv.js} +1 -1
- package/assets/{BHsQeg6najGesUM4.js → CL348305B-kpRYzz.js} +1 -1
- package/assets/{Cj4MYfqHewu8IOOL.js → CLT0k5UJYPmi8ked.js} +1 -1
- package/assets/{zkoJXSxpRzqfbG8k.js → CME1jbwnNlBD66aW.js} +189 -189
- package/assets/{2nx2Wljhbuct4aKx.js → CPmMYI4DPQcXrZ-g.js} +1 -1
- package/assets/{Bbxkz6vmyZJftTd-.js → CSd5XfU4JBASIwTI.js} +1 -1
- package/assets/{C7Q4V5mU0wsErspO.js → CTLGMulzw-oFbgHy.js} +3 -3
- package/assets/{Ds6LQkRDwXsJ-CFR.js → CVlsdN5C8QL-Kljv.js} +1 -1
- package/assets/{CBSSZrizrucIG_9i.js → CXb2mlCk1s1VFPHU.js} +577 -577
- package/assets/{BfIJP4H3I51jnIVR.js → CZ5v2vTWktJ7qAj1.js} +1 -1
- package/assets/{Gd_0grQd-3D1VPXW.js → CcaH1FoDC8o3dzqp.js} +1 -1
- package/assets/{Se9JmvmEtu4MfXJh.js → Cg05U6rbXUnaz0rA.js} +34 -34
- package/assets/{D4p9Pv82ECKCOlua.js → ChpUbgXIWuQFoXyL.js} +1 -1
- package/assets/{D005GbIBowRGfwed.js → ChwSFUzi5mMzUwdW.js} +6 -6
- package/assets/{CoXgI3MEnvkXeshj.js → CkGQV_x1SpyzePln.js} +262 -258
- package/assets/{DXORLAVmseFlsxkG.js → CmUz8bVbJgWVT-OB.js} +2 -2
- package/assets/{D5OYqo56iGB-5gFG.js → CpLUgqgBDtlfFRj3.js} +1 -1
- package/assets/{DppU35gFSUPaiCQH.js → CrLDmJU84Dbwl6DZ.js} +1 -1
- package/assets/{mrif6ZBbTbZKYaLJ.js → CudjOMo6X7FRW6ME.js} +1 -1
- package/assets/{Cz7tKgNBbnr4DZCb.js → CzQ2o7qoMm0K7KSb.js} +4 -4
- package/assets/{DIPDNtbm8FAru-FQ.js → D-INtJnS1lCrEs8s.js} +105 -105
- package/assets/{DS9HD6_BPxzdun0X.js → D1HLIgumuUqrSyYB.js} +4 -4
- package/assets/{CQiv3YkDRDxTjy0r.js → D2XmpdMAe0SAuQWo.js} +51 -51
- package/assets/{BcYdUKmFOf5rn2VZ.js → D3RuKyCyAzvT0bGL.js} +1 -1
- package/assets/{bJ-XKvDf7IkAafUI.js → D5mfuGSeGXSDHj9-.js} +1 -1
- package/assets/{C53f6C0pAU7_9FI-.js → D7WSYqvuwNQjOIuO.js} +1 -1
- package/assets/{Bk6SeqUJkn7ft1y1.js → D9F0224gK4j4Iuq9.js} +1 -1
- package/assets/{BSNegq0YcivZJmkf.js → DBgOeiZg40MS63pB.js} +14 -14
- package/assets/{Di_C31GTbBJ_xVOK.js → DG3hKZ75iK2wrCcz.js} +1 -1
- package/assets/{rT5f4v0Q_61nHkff.js → DITcEcZJ58z5yOx7.js} +1 -1
- package/assets/{Bq6ocyztkvzKxMMC.js → DO86fHS3WYzHN_Rv.js} +1 -1
- package/assets/{DxKZjKyewqvj46S2.js → DO9RVxvm9vQh8A_j.js} +2 -2
- package/assets/{EkavVNuGWG95UggH.js → DOYXEbY_WslpyqXW.js} +5 -5
- package/assets/{BGLlbVFS6J3lt9Lw.js → DP-m2vK0GTaYqQZM.js} +1 -1
- package/assets/{Curuj_knAdRpMy1L.js → DRiAktGToP73uwgm.js} +208 -208
- package/assets/{DtD0J-7IetHv5o6E.js → DRqBWzdn9KKN68o8.js} +11 -11
- package/assets/{Cur_-XiBPijLpwxX.js → DX0znk3xZmL1AyX8.js} +1 -1
- package/assets/{D-LrOz3Yvp17bUT8.js → Deu2acNFlgo__Mcd.js} +2 -2
- package/assets/{GZJ4AFFt8qKRADOa.js → DjCHmGw-ixoQ6ZTA.js} +2 -2
- package/assets/{B7vRFm79CUJ1VvFw.js → DjbBTiei0H-BIJaN.js} +1 -1
- package/assets/{DngcuWO2cSuMCMu1.js → DmJc5VoPPwBBtLIG.js} +1 -1
- package/assets/{BiOrM24CFYL1JGFE.js → DnQM29yv6KQQOVfl.js} +2 -2
- package/assets/{LV6tvjnxRzrWaFb8.js → Dnn8laImZHy8LouL.js} +1 -1
- package/assets/{CrjUfkCuRaXUC8X8.js → DpgBOcByebrqzUrC.js} +3 -3
- package/assets/{BUHEmX1fseJVV65_.js → DqxW6EBLDV_6Eegk.js} +1 -1
- package/assets/DrgkN0g7OHuD4iD6.js +14 -0
- package/assets/{BQkQNqRh5xxYhBy4.js → DsK1Adz0vo-1zPkp.js} +1 -1
- package/assets/{CiJq0zSDKpaKhL3y.js → Dt5rA9gefJFLoaeI.js} +2 -2
- package/assets/{Bz1lp0mtNAoPuPve.js → DuCNecyIYfZL27SV.js} +1 -1
- package/assets/{CYTPpV3lqNGOwme7.js → DwqgvpYiTLOQd5wm.js} +2 -2
- package/assets/{DHL-ZmN5GzB4pIrM.js → Dzxe5kLF5GOfh0_l.js} +1 -1
- package/assets/{ht0UxaAlRnuYUvpx.js → FOKynZCiA0wU2Spf.js} +1 -1
- package/assets/{DwcKSqV5YEBBA8hY.js → H1ICg_-K5ADFNHJj.js} +1 -1
- package/assets/{DnMDfty7pU96BIEJ.js → H89MX09YsAj7NAk3.js} +1 -1
- package/assets/{C_v4hb9WXIt639Cm.js → I-GZ5PL9n_Sv5yAJ.js} +1 -1
- package/assets/{Ln7XTzksutZHFpml.js → IEmEQHg895CUpAQq.js} +1 -1
- package/assets/{DNtWf9lfGjzoB9Hy.js → I_yb1hhLA5bYPpWx.js} +1 -1
- package/assets/{B6A2URH-mIs7J54h.js → KQGPPHM486XPeClF.js} +2 -2
- package/assets/{DFlL4pAqxaQ_hVe1.js → KSE7OWDMxhbfYt82.js} +30 -30
- package/assets/{DOg_zvSkhsKmw4q1.js → M62BqR7TbmgOzAEW.js} +3 -3
- package/assets/{udbHvSLquJ5xGK3R.js → NEzc406_2k2MuiE3.js} +2 -2
- package/assets/{zEyWjY3NhC8w_spQ.js → Q2j8yQZX1kL_MbbB.js} +573 -572
- package/assets/{BbvOmnXrmBNjeWjQ.js → QMCI00ZCedkNJd8C.js} +1 -1
- package/assets/{-iaCg5U9jrEDEl_O.js → RFPO1vKnkkgwx5Bs.js} +1 -1
- package/assets/{0hHP9xpWzhkDrCTL.js → VcTnn2qw_4tmyctb.js} +1 -1
- package/assets/{BkhdNc3LdmcyAjwk.js → Vo34QvIefEN595xl.js} +8726 -8652
- package/assets/{vb-L2Q2jyjjgDvJy.js → _l84VPWmScznS-9F.js} +11 -11
- package/assets/{jPim6WG_KS-ZDker.js → _oaPA65Bm2idKW7f.js} +1 -1
- package/assets/{B8Z4-80QEORmYOJ9.js → bpjLDXWxL6nDt4Mv.js} +1 -1
- package/assets/{CjoRkjB9NzS4LaFy.js → fUmGsmpgGhd8eZn2.js} +1 -1
- package/assets/{DwWcXC4pUR3U2WXU.js → pg0OaBJVRnW7uSz5.js} +1 -1
- package/assets/{HVm22OJ1gEeY8kii.js → rIQ1pzaGFqvCfzOk.js} +1 -1
- package/assets/{BzkTa7l_e7R--ejo.js → raa4clZOm0L5A0zR.js} +540 -540
- package/assets/{exNO4fmccU8Aq8cE.js → rejXA2fTAujW3QRv.js} +276 -276
- package/assets/{b6GPrIkdzfTW4f2j.js → rhT64BvdSLOEwglQ.js} +1 -1
- package/assets/{CNPUPTd9h7hwijpZ.js → vItpZkDtFsjwsJzb.js} +60 -60
- package/assets/{CqOzqRIQFCnEegoB.js → vXmCJwJaPhkPVhy8.js} +1 -1
- package/index.js +1775 -1712
- package/lib.js +1 -1
- package/licenses/dependencies.txt +46 -46
- package/package.json +2 -2
- package/screenshot-page/assets/{DwNHMH9f_lQyn50d.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/{BU5vg917ZnXC04e-.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/{CLcTX_nmvaVPsxDl.js → Bdt92xZzFotX0vdt.js} +1 -1
- package/screenshot-page/assets/{BF6igzahAW9pl35p.js → Ble2ESZnJzZnd3cc.js} +1 -1
- package/screenshot-page/assets/{DeGMS3crYErjsRrw.js → Blg5f-jAtZfGnZ71.js} +1 -1
- package/screenshot-page/assets/Bozva6Wr4B8Q5QZN.js +2 -0
- package/screenshot-page/assets/{Chq6rvtA5qZAwYG4.js → Brp37MPC60tt9V3N.js} +1 -1
- package/screenshot-page/assets/Bs65RHirk11sxOB9.js +39 -0
- package/screenshot-page/assets/{MzJpKWgPrxR1UN-Y.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/{Cpwg3bWAqBBcgBmv.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/{EY31tFQrw7iYFrr6.js → CV9T0juyAiRmwTR-.js} +2 -2
- package/screenshot-page/assets/ClC7zkHPp6egPrjL.js +2 -0
- package/screenshot-page/assets/{Dt1A-DUBfvyouz_T.js → CtS8qZB4_3skg_zL.js} +1 -1
- package/screenshot-page/assets/CwutTi2EnNm_hyVj.js +1 -0
- package/screenshot-page/assets/{BqlVqRKpsFGl-elI.js → CxithxkenssFkfTT.js} +23 -23
- package/screenshot-page/assets/{DjVxI3p3ssmCtYky.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/{Cx9lvo3Q1xOwYkRK.js → DHUomRu_S2zcBWwt.js} +4 -4
- package/screenshot-page/assets/DP2wwd1IM_gQtEaG.js +1 -0
- package/screenshot-page/assets/DQeIWKasFD3DnWL7.js +586 -0
- 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/{BWDqL5_mwspr6CjI.js → Yz4ksf-M05RGdHO3.js} +1 -1
- package/screenshot-page/assets/Z7Av7oqfaK7wy7Eb.js +1 -0
- package/screenshot-page/assets/{CrUIo7hXByCWY7in.js → bdWMVOcMKRI8kCDE.js} +1 -1
- package/screenshot-page/assets/kJwY8fmEeWlAtTAc.js +1 -0
- package/screenshot-page/assets/{ClWDZixRy4DFZdI5.js → p9abCAJQdpScjZVK.js} +1 -1
- package/screenshot-page/index.html +8 -8
- package/types/scripting-api.json +9338 -9337
- package/types/scripting.d.ts +24 -3
- package/assets/gCkru9Vv-Ban4DCD.js +0 -14
- package/screenshot-page/assets/1yHlU53ypZZelMPx.js +0 -1
- package/screenshot-page/assets/A_-Jwzwmm3lkcm2f.js +0 -586
- package/screenshot-page/assets/BX9VkTqZoroo08EG.js +0 -13
- package/screenshot-page/assets/BdDouZl3VrM4yBP5.js +0 -2
- package/screenshot-page/assets/CJmdRzGWq0FZMrp5.js +0 -1
- package/screenshot-page/assets/C_vPl50T1L5HWnhv.js +0 -1
- package/screenshot-page/assets/CaTGa2NvuuE3qJAV.js +0 -1
- package/screenshot-page/assets/Cb8ORg9ENgscK6yl.js +0 -2
- package/screenshot-page/assets/CmNlzN3DCl87wNU2.js +0 -1
- package/screenshot-page/assets/CoPUxkU9zZy0dXti.js +0 -2
- package/screenshot-page/assets/CqogMOf7MzkOk7as.js +0 -2
- package/screenshot-page/assets/Cv-YUArreXqhafcU.js +0 -2
- package/screenshot-page/assets/D0nZlczIH0ULuSyL.js +0 -3
- package/screenshot-page/assets/D1ZZiOS7_HFjpZCA.js +0 -1
- package/screenshot-page/assets/D23_69pojBfIh4nV.js +0 -5
- package/screenshot-page/assets/D24UBy2L73pOCPPw.js +0 -1
- package/screenshot-page/assets/D2q4M3I5Jmxm85P2.js +0 -1
- package/screenshot-page/assets/D6LmZnV2h3Kg7G3e.js +0 -1
- package/screenshot-page/assets/DAkSmFRVds51vhiy.js +0 -1
- package/screenshot-page/assets/DUFPgv-3CtD_sCVO.js +0 -1
- package/screenshot-page/assets/DegZKTNqt1LRnSxY.js +0 -1
- package/screenshot-page/assets/DwuLl9Ua1k8m9KcK.js +0 -1
- package/screenshot-page/assets/fQ13z3k3bntY-jfw.js +0 -1
- package/screenshot-page/assets/oO6aFwepb3DDkGYF.js +0 -39
- package/screenshot-page/assets/pH9rKZYDE8xrhkC4.js +0 -2
- package/screenshot-page/assets/w7IQEh1FiqZA6o5y.js +0 -42
|
@@ -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 {
|
|
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
|
|
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
|
}
|
|
@@ -253,11 +253,11 @@ var we = ":A-Z_a-zÀ-ÖØ-öø-˿Ͱ-ͽͿ-⁰-Ⰰ-、-豈-﷏
|
|
|
253
253
|
13,
|
|
254
254
|
9
|
|
255
255
|
]);
|
|
256
|
-
function
|
|
256
|
+
function Ce(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
|
-
var
|
|
260
|
-
new RegExp(`^[${
|
|
259
|
+
var Ae = ":A-Z_a-zÀ-ÖØ-öø-˿Ͱ-ͽͿ-⁰-Ⰰ-、-豈-﷏ﷰ-�𐀀-", Ee = `-${Ae}.0-9·̀-ͯ‿-⁀`;
|
|
260
|
+
new RegExp(`^[${Ae}]$`, "u"), new RegExp(`^[${Ee}]$`, "u"), new RegExp(`^[${Ae}][${Ee}]*$`, "u"), new RegExp(`^[${Ee}]+$`, "u");
|
|
261
261
|
var Ie = "A-Z_a-zÀ-ÖØ-öø-˿Ͱ-ͽͿ--⁰-Ⰰ-、-豈-﷏ﷰ-�𐀀-", Pe = `-${Ie}.0-9·̀-ͯ‿-⁀`, Oe = (new RegExp(`^[${Ie}]$`, "u"), new RegExp(`^[${Pe}]$`, "u"), new RegExp(`^[${Ie}][${Pe}]*$`, "u"));
|
|
262
262
|
function De(t) {
|
|
263
263
|
return t >= 65 && t <= 90 || 95 === t || t >= 97 && t <= 122 || t >= 192 && t <= 214 || t >= 216 && t <= 246 || t >= 248 && t <= 767 || t >= 880 && t <= 893 || t >= 895 && t <= 8191 || t >= 8204 && t <= 8205 || t >= 8304 && t <= 8591 || t >= 11264 && t <= 12271 || t >= 12289 && t <= 55295 || t >= 63744 && t <= 64975 || t >= 65008 && t <= 65533 || t >= 65536 && t <= 983039;
|
|
@@ -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
|
-
},
|
|
269
|
+
}, $e = Ce, Re = function(t) {
|
|
270
|
+
return Ce(t) || t >= 48 && t <= 57 || 45 === t || 46 === t || 183 === t || t >= 768 && t <= 879 || t >= 8255 && t <= 8256;
|
|
271
|
+
}, Ve = ke, 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;
|
|
@@ -294,9 +294,9 @@ var Ne, _e = function(t) {
|
|
|
294
294
|
], ao = [
|
|
295
295
|
Ye,
|
|
296
296
|
eo,
|
|
297
|
-
...
|
|
297
|
+
...Ve
|
|
298
298
|
], lo = [
|
|
299
|
-
...
|
|
299
|
+
...Ve,
|
|
300
300
|
to,
|
|
301
301
|
38,
|
|
302
302
|
Qe
|
|
@@ -321,7 +321,7 @@ function co(t, e, o) {
|
|
|
321
321
|
}
|
|
322
322
|
}
|
|
323
323
|
}
|
|
324
|
-
var uo = (t) => He.test(t), ho = (t) =>
|
|
324
|
+
var uo = (t) => He.test(t), ho = (t) => Le.test(t), po = {
|
|
325
325
|
xmldecl: "xmlDeclHandler",
|
|
326
326
|
text: "textHandler",
|
|
327
327
|
processinginstruction: "piHandler",
|
|
@@ -1316,7 +1316,7 @@ var To = (t) => !0 === t || "1" === t || "on" === t || "true" === t || !1 !== t
|
|
|
1316
1316
|
}, ko = (t) => {
|
|
1317
1317
|
const e = parseFloat(t);
|
|
1318
1318
|
return isNaN(e) ? null : e;
|
|
1319
|
-
},
|
|
1319
|
+
}, Co = 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
|
}
|
|
@@ -1438,7 +1438,7 @@ var To = (t) => !0 === t || "1" === t || "on" === t || "true" === t || !1 !== t
|
|
|
1438
1438
|
a = i?.local ?? null, l = i?.tag ?? null, c = i?.visitor ?? null, p = !i?.destination;
|
|
1439
1439
|
},
|
|
1440
1440
|
onText: (t) => {
|
|
1441
|
-
f ? f.push(
|
|
1441
|
+
f ? f.push(Ao(t)) : c?.text?.(t, y);
|
|
1442
1442
|
},
|
|
1443
1443
|
onEnd: e
|
|
1444
1444
|
};
|
|
@@ -1505,23 +1505,23 @@ 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
|
-
},
|
|
1511
|
-
const e =
|
|
1510
|
+
}, Vo = /^\s*TABLE\s*\(([^()]*)\)\s*$/i, Lo = /^\s*(\$?)([A-Za-z]{1,3})(\$?)(\d{1,7})\s*$/, jo = (t) => {
|
|
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) => {
|
|
1524
|
-
const o =
|
|
1524
|
+
const o = Vo.exec(t);
|
|
1525
1525
|
if (!o) return null;
|
|
1526
1526
|
const s = o[1].split(",");
|
|
1527
1527
|
if (3 !== s.length && 5 !== s.length) return null;
|
|
@@ -1581,7 +1581,7 @@ var To = (t) => !0 === t || "1" === t || "on" === t || "true" === t || !1 !== t
|
|
|
1581
1581
|
o.style = Jo(e) ? l.Style.Italic : l.Style.Normal;
|
|
1582
1582
|
break;
|
|
1583
1583
|
case "strike":
|
|
1584
|
-
o.strike =
|
|
1584
|
+
o.strike = Lt(Jo(e));
|
|
1585
1585
|
break;
|
|
1586
1586
|
case "outline":
|
|
1587
1587
|
o.outline = Jo(e);
|
|
@@ -1591,7 +1591,7 @@ var To = (t) => !0 === t || "1" === t || "on" === t || "true" === t || !1 !== t
|
|
|
1591
1591
|
break;
|
|
1592
1592
|
case "condense":
|
|
1593
1593
|
case "extend": {
|
|
1594
|
-
const s =
|
|
1594
|
+
const s = L(t, Jo(e));
|
|
1595
1595
|
void 0 !== s && (o.letterSpacing = s);
|
|
1596
1596
|
break;
|
|
1597
1597
|
}
|
|
@@ -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, g = new
|
|
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) => {
|
|
@@ -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", Co), 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", Co), t.copyToObject(o, "text", Co), t.copyToObject(o, "timePeriod", Co);
|
|
1766
1766
|
},
|
|
1767
1767
|
closeTag: (t) => {
|
|
1768
1768
|
const e = t.getParent();
|
|
@@ -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,21 +1804,22 @@ 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",
|
|
1811
1815
|
to: {},
|
|
1812
1816
|
openTag: (t) => {
|
|
1813
|
-
t.copyTo("iconSet",
|
|
1817
|
+
t.copyTo("iconSet", Co), t.copyTo("reverse", To), t.copyTo("showValue", To);
|
|
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",
|
|
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,43 +1899,43 @@ 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(
|
|
1910
|
+
l.registerVisitor(C);
|
|
1907
1911
|
const A = {
|
|
1908
1912
|
from: "filter",
|
|
1909
1913
|
openTag: (t) => {
|
|
1910
1914
|
const e = t.getParent();
|
|
1911
1915
|
let o = e.items;
|
|
1912
|
-
o || (o = [], e.items = o), o.push(t.getAttribute("val",
|
|
1916
|
+
o || (o = [], e.items = o), o.push(t.getAttribute("val", Co));
|
|
1913
1917
|
}
|
|
1914
1918
|
};
|
|
1915
1919
|
l.registerVisitor(A);
|
|
1916
|
-
const
|
|
1920
|
+
const E = {
|
|
1917
1921
|
from: "dateGroupItem",
|
|
1918
1922
|
to: {},
|
|
1919
1923
|
openTag: (t) => {
|
|
1920
1924
|
const e = t.getParent();
|
|
1921
1925
|
let o = e.dateGroups;
|
|
1922
|
-
o || (o = [], e.dateGroups = o), o.push(t.getSource()), t.copyTo("group",
|
|
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,14 +1989,14 @@ 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
|
-
h && (l.style = h), t.copyToObject(l, "iconSet",
|
|
1999
|
+
h && (l.style = h), t.copyToObject(l, "iconSet", Co), t.copyToObject(l, "customList", Co), l.reverse = t.getAttribute("descending", To) ?? !1;
|
|
1996
2000
|
const d = {
|
|
1997
2001
|
index: i,
|
|
1998
2002
|
criteria: l
|
|
@@ -2000,10 +2004,10 @@ 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
|
-
null === o || e || (t.getSource().gridLineColor = "index" + parseFloat(o)), t.copyTo("showZeros", To), t.copyTo("showFormulas", To), t.copyTo("zoomScale", So), t.copyTo("viewMode",
|
|
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 = {};
|
|
2008
2012
|
for (const [e, o] of Yt) {
|
|
2009
2013
|
const r = t.getAttribute(o, So);
|
|
@@ -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) => {
|
|
@@ -2265,7 +2269,7 @@ var Ko = {
|
|
|
2265
2269
|
operator: t.getAttribute("operator") ?? void 0
|
|
2266
2270
|
}
|
|
2267
2271
|
};
|
|
2268
|
-
!0 === t.getAttribute("showDropDown", To) && (o.hideDropdown = !0), t.copyToObject(o, "alert",
|
|
2272
|
+
!0 === t.getAttribute("showDropDown", To) && (o.hideDropdown = !0), t.copyToObject(o, "alert", Co, "error"), t.copyToObject(o, "alertTitle", Co, "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);
|
|
2269
2273
|
},
|
|
2270
2274
|
closeTag: (t) => {
|
|
2271
2275
|
const e = t.getSource();
|
|
@@ -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,61 +2387,61 @@ 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) => {
|
|
2393
|
-
t.copyTo("id",
|
|
2397
|
+
t.copyTo("id", Co), t.copyTo("type", Co), t.copyTo("priority", So), t.copyTo("stopIfTrue", To), t.copyTo("operator", Co), t.copyTo("text", Co), t.copyTo("timePeriod", Co), t.copyTo("aboveAverage", To), t.copyTo("equalAverage", To), t.copyTo("stdDev", So), t.copyTo("bottom", To), t.copyTo("percent", To), t.copyTo("rank", So);
|
|
2394
2398
|
},
|
|
2395
2399
|
closeTag: (t) => {
|
|
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) => {
|
|
2406
|
-
t.copyTo("minLength", So), t.copyTo("maxLength", So), t.copyTo("gradient", To), t.copyTo("border", To), t.copyTo("direction",
|
|
2410
|
+
t.copyTo("minLength", So), t.copyTo("maxLength", So), t.copyTo("gradient", To), t.copyTo("border", To), t.copyTo("direction", Co), t.copyTo("axisPosition", Co), t.copyTo("negativeBarColorSameAsPositive", To), t.copyTo("negativeBarBorderColorSameAsPositive", To);
|
|
2407
2411
|
},
|
|
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) => {
|
|
2415
|
-
t.copyTo("iconSet",
|
|
2419
|
+
t.copyTo("iconSet", Co), t.copyTo("custom", To), t.copyTo("reverse", To), t.copyTo("showValue", To);
|
|
2416
2420
|
},
|
|
2417
2421
|
closeTag: (t) => {
|
|
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
|
-
e.conditions.push(o), t.copyTo("type",
|
|
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 (!
|
|
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",
|
|
@@ -2737,19 +2741,19 @@ var Ko = {
|
|
|
2737
2741
|
}
|
|
2738
2742
|
});
|
|
2739
2743
|
const At = (t, e) => {
|
|
2740
|
-
e.conditions?.length && (t.stops =
|
|
2741
|
-
},
|
|
2742
|
-
e.conditions?.length && (t.stops =
|
|
2743
|
-
},
|
|
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) {
|
|
@@ -2828,7 +2832,7 @@ var Ko = {
|
|
|
2828
2832
|
}
|
|
2829
2833
|
if (e.sheet) return;
|
|
2830
2834
|
const o = {};
|
|
2831
|
-
t.copyToObject(o, "hash",
|
|
2835
|
+
t.copyToObject(o, "hash", Co, "hashValue"), t.copyToObject(o, "algorithm", Co, "algorithmName"), t.copyToObject(o, "salt", Co, "saltValue"), t.copyToObject(o, "spinCount", So), t.copyToObject(o, "legacyHash", Co, "password"), Object.keys(o).length > 0 && (t.getSource().password = o);
|
|
2832
2836
|
}
|
|
2833
2837
|
}), l.registerVisitor({
|
|
2834
2838
|
from: "protectedRanges",
|
|
@@ -2848,7 +2852,7 @@ var Ko = {
|
|
|
2848
2852
|
};
|
|
2849
2853
|
t.copyToObject(o, "name"), t.copyToObject(o, "securityDescriptor");
|
|
2850
2854
|
const r = {};
|
|
2851
|
-
t.copyToObject(r, "hash",
|
|
2855
|
+
t.copyToObject(r, "hash", Co, "hashValue"), t.copyToObject(r, "algorithm", Co, "algorithmName"), t.copyToObject(r, "salt", Co, "saltValue"), t.copyToObject(r, "spinCount", So), t.copyToObject(r, "legacyHash", Co, "password"), Object.keys(r).length > 0 && (o.password = r), t.setSource(s);
|
|
2852
2856
|
},
|
|
2853
2857
|
closeTag: (t) => {
|
|
2854
2858
|
const e = t.getSource();
|
|
@@ -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
|
-
},
|
|
2897
|
+
}, Ft = new Uo();
|
|
2894
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),
|
|
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;
|
|
@@ -2988,15 +2992,15 @@ var Ko = {
|
|
|
2988
2992
|
});
|
|
2989
2993
|
let tt = null;
|
|
2990
2994
|
const et = [];
|
|
2991
|
-
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, kt = !1,
|
|
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, kt = !1, Ct = null, At = 0;
|
|
2992
2996
|
const Et = (t) => {
|
|
2993
2997
|
let s = t.name;
|
|
2994
2998
|
const r = s.indexOf(":");
|
|
2995
|
-
if (-1 !== r && (s = s.slice(r + 1)),
|
|
2999
|
+
if (-1 !== r && (s = s.slice(r + 1)), At++, At % 196608 == 0 && i?.(At), Q) {
|
|
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) {
|
|
@@ -3004,19 +3008,19 @@ var Ko = {
|
|
|
3004
3008
|
case "normal": break;
|
|
3005
3009
|
case "shared":
|
|
3006
3010
|
const t = e.si;
|
|
3007
|
-
|
|
3011
|
+
A = e.ref, C = t;
|
|
3008
3012
|
break;
|
|
3009
3013
|
case "array":
|
|
3010
|
-
|
|
3014
|
+
A = e.ref, W = A;
|
|
3011
3015
|
break;
|
|
3012
3016
|
case "dataTable": {
|
|
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,17 +3052,17 @@ 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;
|
|
3055
|
-
void 0 === r && (null !==
|
|
3059
|
+
void 0 === r && (null !== Ct || kt) && (r = "0"), void 0 !== r && (r = parseInt(r), wt && wt.value === r && wt.colEnd + 1 === J ? wt.colEnd = J : (wt = {
|
|
3056
3060
|
colStart: J,
|
|
3057
3061
|
rowStart: K,
|
|
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;
|
|
@@ -3091,14 +3095,14 @@ var Ko = {
|
|
|
3091
3095
|
}
|
|
3092
3096
|
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) {
|
|
3093
3097
|
const t = void 0 !== at && ("1" === at || "true" === at), e = void 0 !== ct && ("1" === ct || "true" === ct);
|
|
3094
|
-
|
|
3098
|
+
Ct = e && void 0 !== ut ? ut : null, e && null === Ct && (Ct = "0"), ot = {
|
|
3095
3099
|
min: K,
|
|
3096
3100
|
max: K,
|
|
3097
3101
|
value: {
|
|
3098
3102
|
sz: void 0 === it ? -1 : parseFloat(it),
|
|
3099
3103
|
csz: t,
|
|
3100
3104
|
h: void 0 !== lt && ("1" === lt || "true" === lt),
|
|
3101
|
-
s: null ===
|
|
3105
|
+
s: null === Ct ? void 0 : "0" === Ct ? 0 : parseInt(Ct),
|
|
3102
3106
|
l: void 0 === ht || "0" === ht ? 0 : parseInt(ht),
|
|
3103
3107
|
cl: void 0 !== dt && ("1" === dt || "true" === dt)
|
|
3104
3108
|
}
|
|
@@ -3116,7 +3120,7 @@ var Ko = {
|
|
|
3116
3120
|
}
|
|
3117
3121
|
}, It = (e) => {
|
|
3118
3122
|
let s = e.name;
|
|
3119
|
-
if ("sheetData" === s && (St = !1), !k || "c" !== s && "f" !== s || (C && (P =
|
|
3123
|
+
if ("sheetData" === s && (St = !1), !k || "c" !== s && "f" !== s || (C && (P = L.get(C) ?? null), P && (U = ((t) => {
|
|
3120
3124
|
if (t.length < 11 || 104 != (32 | t.charCodeAt(0))) return;
|
|
3121
3125
|
if (!/^HYPERLINK\(/i.test(t)) return;
|
|
3122
3126
|
let e = 1, o = !1, s = 10;
|
|
@@ -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]),
|
|
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":
|
|
@@ -3154,7 +3158,7 @@ var Ko = {
|
|
|
3154
3158
|
let e = x.get(t);
|
|
3155
3159
|
if (void 0 === e) {
|
|
3156
3160
|
const o = b?.get(t);
|
|
3157
|
-
e = o ? Go(o,
|
|
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
|
})}`));
|
|
@@ -3231,13 +3235,13 @@ var Ko = {
|
|
|
3231
3235
|
if (C) {
|
|
3232
3236
|
if (O === C) P = D;
|
|
3233
3237
|
else {
|
|
3234
|
-
if (P =
|
|
3238
|
+
if (P = L.get(C) ?? null, !P) {
|
|
3235
3239
|
const t = [];
|
|
3236
3240
|
I = R(r, K, J, t), P = [
|
|
3237
3241
|
I,
|
|
3238
3242
|
t,
|
|
3239
3243
|
r
|
|
3240
|
-
],
|
|
3244
|
+
], L.set(C, P);
|
|
3241
3245
|
}
|
|
3242
3246
|
O = C, D = P;
|
|
3243
3247
|
}
|
|
@@ -3261,7 +3265,7 @@ var Ko = {
|
|
|
3261
3265
|
formula: o
|
|
3262
3266
|
};
|
|
3263
3267
|
})(r);
|
|
3264
|
-
"none" !== o.kind && (M ??= new Ro(e), "spilled" === o.kind ? $ = M.placeholder(K, J) : M.anchor(K, J, o.formula) && (t = o.formula, X ||= ((t) => $o(t).some((t) => _(t) || !0 ===
|
|
3268
|
+
"none" !== o.kind && (M ??= new Ro(e), "spilled" === o.kind ? $ = M.placeholder(K, J) : M.anchor(K, J, o.formula) && (t = o.formula, X ||= ((t) => $o(t).some((t) => _(t) || !0 === E.get(t)?.getDeclaration().getReturnType()?.isVolatile()))(t)));
|
|
3265
3269
|
}
|
|
3266
3270
|
if ($) X = !1;
|
|
3267
3271
|
else {
|
|
@@ -3310,30 +3314,30 @@ var Ko = {
|
|
|
3310
3314
|
name: "row",
|
|
3311
3315
|
attributes: $t,
|
|
3312
3316
|
isSelfClosing: !1
|
|
3313
|
-
},
|
|
3317
|
+
}, Vt = wo.NEED_MORE, Lt = wo.NOT_HANDLED, jt = wo.decodeText;
|
|
3314
3318
|
let Bt = !1;
|
|
3315
3319
|
const Ft = (t, e, o, s) => {
|
|
3316
3320
|
for (;;) {
|
|
3317
3321
|
let r = 0;
|
|
3318
3322
|
for (; e < o && (32 === (r = t.charCodeAt(e)) || 9 === r || 10 === r || 13 === r);) e++;
|
|
3319
|
-
if (e >= o) return
|
|
3323
|
+
if (e >= o) return Vt;
|
|
3320
3324
|
if (62 === r) return Bt = !1, e + 1;
|
|
3321
|
-
if (47 === r) return e + 1 >= o ?
|
|
3325
|
+
if (47 === r) return e + 1 >= o ? Vt : 62 !== t.charCodeAt(e + 1) ? Lt : (Bt = !0, e + 2);
|
|
3322
3326
|
const n = e;
|
|
3323
3327
|
for (; e < o && 61 !== (r = t.charCodeAt(e));) {
|
|
3324
|
-
if (62 === r || 47 === r || 32 === r || 9 === r || 10 === r || 13 === r) return
|
|
3328
|
+
if (62 === r || 47 === r || 32 === r || 9 === r || 10 === r || 13 === r) return Lt;
|
|
3325
3329
|
e++;
|
|
3326
3330
|
}
|
|
3327
|
-
if (e + 1 >= o) return
|
|
3331
|
+
if (e + 1 >= o) return Vt;
|
|
3328
3332
|
const i = e - n, a = t.charCodeAt(e + 1);
|
|
3329
|
-
if (34 !== a && 39 !== a) return
|
|
3333
|
+
if (34 !== a && 39 !== a) return Lt;
|
|
3330
3334
|
const l = e + 2;
|
|
3331
3335
|
let c = l;
|
|
3332
3336
|
for (; c < o && (r = t.charCodeAt(c)) !== a;) {
|
|
3333
|
-
if (38 === r || r < 32) return
|
|
3337
|
+
if (38 === r || r < 32) return Lt;
|
|
3334
3338
|
c++;
|
|
3335
3339
|
}
|
|
3336
|
-
if (c >= o) return
|
|
3340
|
+
if (c >= o) return Vt;
|
|
3337
3341
|
e = c + 1;
|
|
3338
3342
|
const u = t.charCodeAt(n);
|
|
3339
3343
|
if (2 === s) switch (i) {
|
|
@@ -3379,8 +3383,8 @@ 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 =
|
|
3383
|
-
let s =
|
|
3386
|
+
et.length > 0 && (e.rows = v.runsToRefs(et, !1));
|
|
3387
|
+
let s = V.done(ns);
|
|
3384
3388
|
s = ((t, e) => {
|
|
3385
3389
|
let o = null;
|
|
3386
3390
|
for (let e = 0; e < t.length; e++) {
|
|
@@ -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;
|
|
@@ -3463,44 +3467,44 @@ var Ko = {
|
|
|
3463
3467
|
elementScanners: [{
|
|
3464
3468
|
name: "c",
|
|
3465
3469
|
scan: (t, e, o) => {
|
|
3466
|
-
if (!g || null !== Q) return
|
|
3470
|
+
if (!g || null !== Q) return Lt;
|
|
3467
3471
|
Ot.r = Ot.t = Ot.s = Ot.cm = Ot.vm = void 0;
|
|
3468
3472
|
let s = Ft(t, e + 2, o, 0);
|
|
3469
3473
|
if (s < 0) return s;
|
|
3470
3474
|
const r = Ot.t;
|
|
3471
|
-
if (void 0 === Ot.r || "str" === r || "inlineStr" === r) return
|
|
3475
|
+
if (void 0 === Ot.r || "str" === r || "inlineStr" === r) return Lt;
|
|
3472
3476
|
let n = !1, i = -1, a = -1, l = -1, c = -1, u = s;
|
|
3473
3477
|
if (!Bt) for (Nt.t = Nt.si = Nt.ref = Nt.ca = void 0;;) {
|
|
3474
3478
|
const e = t.indexOf("<", s);
|
|
3475
|
-
if (-1 === e || e + 3 >= o) return
|
|
3479
|
+
if (-1 === e || e + 3 >= o) return Vt;
|
|
3476
3480
|
for (let o = s; o < e; o++) {
|
|
3477
3481
|
const e = t.charCodeAt(o);
|
|
3478
|
-
if (32 !== e && 9 !== e && 10 !== e && 13 !== e) return
|
|
3482
|
+
if (32 !== e && 9 !== e && 10 !== e && 13 !== e) return Lt;
|
|
3479
3483
|
}
|
|
3480
3484
|
const r = t.charCodeAt(e + 1), h = t.charCodeAt(e + 2);
|
|
3481
3485
|
if (47 === r) {
|
|
3482
|
-
if (!Ht(t, e, 99)) return
|
|
3486
|
+
if (!Ht(t, e, 99)) return Lt;
|
|
3483
3487
|
u = e + 4;
|
|
3484
3488
|
break;
|
|
3485
3489
|
}
|
|
3486
3490
|
if (102 === r && !n && -1 === l && (32 === h || 62 === h || 47 === h)) {
|
|
3487
3491
|
if (n = !0, s = Ft(t, e + 2, o, 1), s < 0) return s;
|
|
3488
|
-
if ("dataTable" === Nt.t) return
|
|
3492
|
+
if ("dataTable" === Nt.t) return Lt;
|
|
3489
3493
|
if (Bt) continue;
|
|
3490
3494
|
const r = t.indexOf("<", s);
|
|
3491
|
-
if (-1 === r || r + 3 >= o) return
|
|
3492
|
-
if (!Ht(t, r, 102)) return
|
|
3495
|
+
if (-1 === r || r + 3 >= o) return Vt;
|
|
3496
|
+
if (!Ht(t, r, 102)) return Lt;
|
|
3493
3497
|
i = s, a = r, s = r + 4;
|
|
3494
3498
|
continue;
|
|
3495
3499
|
}
|
|
3496
3500
|
if (118 === r && 62 === h && -1 === l) {
|
|
3497
3501
|
const r = t.indexOf("<", e + 3);
|
|
3498
|
-
if (-1 === r || r + 3 >= o) return
|
|
3499
|
-
if (!Ht(t, r, 118)) return
|
|
3502
|
+
if (-1 === r || r + 3 >= o) return Vt;
|
|
3503
|
+
if (!Ht(t, r, 118)) return Lt;
|
|
3500
3504
|
l = e + 3, c = r, s = r + 4;
|
|
3501
3505
|
continue;
|
|
3502
3506
|
}
|
|
3503
|
-
return
|
|
3507
|
+
return Lt;
|
|
3504
3508
|
}
|
|
3505
3509
|
return Et(Dt), n && (Et(_t), a > i && Pt(jt(t.slice(i, a))), It(_t)), -1 !== l && (Et(Mt), c > l && Pt(jt(t.slice(l, c))), It(Mt)), It(Dt), u;
|
|
3506
3510
|
}
|
|
@@ -3508,10 +3512,10 @@ var Ko = {
|
|
|
3508
3512
|
name: "row",
|
|
3509
3513
|
openTag: Rt,
|
|
3510
3514
|
scan: (t, e, o) => {
|
|
3511
|
-
if (!St || g || null !== Q) return
|
|
3515
|
+
if (!St || g || null !== Q) return Lt;
|
|
3512
3516
|
$t.r = $t.s = $t.ht = $t.hidden = $t.collapsed = $t.customHeight = $t.customFormat = $t.outlineLevel = void 0;
|
|
3513
3517
|
const s = Ft(t, e + 4, o, 2);
|
|
3514
|
-
return s < 0 ? s : Bt || void 0 === $t.r ?
|
|
3518
|
+
return s < 0 ? s : Bt || void 0 === $t.r ? Lt : (Et(Rt), s);
|
|
3515
3519
|
}
|
|
3516
3520
|
}]
|
|
3517
3521
|
};
|
|
@@ -3597,43 +3601,43 @@ var ms = {
|
|
|
3597
3601
|
Company: "company",
|
|
3598
3602
|
Manager: "manager"
|
|
3599
3603
|
}, ys = {
|
|
3600
|
-
lpwstr:
|
|
3601
|
-
lpstr:
|
|
3602
|
-
bstr:
|
|
3603
|
-
i1:
|
|
3604
|
-
i2:
|
|
3605
|
-
i4:
|
|
3606
|
-
i8:
|
|
3607
|
-
int:
|
|
3608
|
-
ui1:
|
|
3609
|
-
ui2:
|
|
3610
|
-
ui4:
|
|
3611
|
-
ui8:
|
|
3612
|
-
uint:
|
|
3613
|
-
r4:
|
|
3614
|
-
r8:
|
|
3615
|
-
decimal:
|
|
3616
|
-
bool:
|
|
3617
|
-
filetime:
|
|
3618
|
-
date:
|
|
3604
|
+
lpwstr: A.Type.String,
|
|
3605
|
+
lpstr: A.Type.String,
|
|
3606
|
+
bstr: A.Type.String,
|
|
3607
|
+
i1: A.Type.Number,
|
|
3608
|
+
i2: A.Type.Number,
|
|
3609
|
+
i4: A.Type.Number,
|
|
3610
|
+
i8: A.Type.Number,
|
|
3611
|
+
int: A.Type.Number,
|
|
3612
|
+
ui1: A.Type.Number,
|
|
3613
|
+
ui2: A.Type.Number,
|
|
3614
|
+
ui4: A.Type.Number,
|
|
3615
|
+
ui8: A.Type.Number,
|
|
3616
|
+
uint: A.Type.Number,
|
|
3617
|
+
r4: A.Type.Float,
|
|
3618
|
+
r8: A.Type.Float,
|
|
3619
|
+
decimal: A.Type.Float,
|
|
3620
|
+
bool: A.Type.Boolean,
|
|
3621
|
+
filetime: A.Type.Date,
|
|
3622
|
+
date: A.Type.Date
|
|
3619
3623
|
}, vs = (t) => {
|
|
3620
3624
|
const e = t.kind ? ys[t.kind] : void 0;
|
|
3621
3625
|
if (!e) return null;
|
|
3622
3626
|
const o = t.value.trim();
|
|
3623
3627
|
let s;
|
|
3624
|
-
if (e ===
|
|
3628
|
+
if (e === A.Type.String) s = {
|
|
3625
3629
|
key: t.key,
|
|
3626
3630
|
type: e,
|
|
3627
3631
|
value: t.value
|
|
3628
3632
|
};
|
|
3629
|
-
else if (e ===
|
|
3633
|
+
else if (e === A.Type.Boolean) {
|
|
3630
3634
|
if ("true" !== o && "false" !== o && "1" !== o && "0" !== o) return null;
|
|
3631
3635
|
s = {
|
|
3632
3636
|
key: t.key,
|
|
3633
3637
|
type: e,
|
|
3634
3638
|
value: "true" === o || "1" === o
|
|
3635
3639
|
};
|
|
3636
|
-
} else if (e ===
|
|
3640
|
+
} else if (e === A.Type.Date) {
|
|
3637
3641
|
const r = new Date(o);
|
|
3638
3642
|
if (!o || isNaN(r.getTime())) return null;
|
|
3639
3643
|
s = {
|
|
@@ -3644,17 +3648,17 @@ var ms = {
|
|
|
3644
3648
|
} else {
|
|
3645
3649
|
const r = Number(o);
|
|
3646
3650
|
if (!o || !Number.isFinite(r)) return null;
|
|
3647
|
-
const n = e ===
|
|
3651
|
+
const n = e === A.Type.Number && r >= -2147483648 && r <= 2147483647;
|
|
3648
3652
|
s = {
|
|
3649
3653
|
key: t.key,
|
|
3650
|
-
type: n ? e :
|
|
3654
|
+
type: n ? e : A.Type.Float,
|
|
3651
3655
|
value: r
|
|
3652
3656
|
};
|
|
3653
3657
|
}
|
|
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;
|
|
@@ -3666,10 +3670,10 @@ var ms = {
|
|
|
3666
3670
|
...t.protection,
|
|
3667
3671
|
showFormulas: e
|
|
3668
3672
|
};
|
|
3669
|
-
}, ks = "pivotButtonXfs",
|
|
3670
|
-
const o =
|
|
3673
|
+
}, ks = "pivotButtonXfs", Cs = (t, e) => {
|
|
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
|
};
|
|
@@ -3683,7 +3687,7 @@ var ms = {
|
|
|
3683
3687
|
origin: r,
|
|
3684
3688
|
formats: o
|
|
3685
3689
|
};
|
|
3686
|
-
},
|
|
3690
|
+
}, As = (t, e, o, s) => {
|
|
3687
3691
|
let r = t;
|
|
3688
3692
|
const n = s?.numberFormat ?? e ?? 0;
|
|
3689
3693
|
if (void 0 !== t.numberFormat && Es(t.numberFormat, n)) {
|
|
@@ -3758,20 +3762,20 @@ 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) => {
|
|
3765
3769
|
const e = Array.isArray(t) ? t[1] : t.v;
|
|
3766
3770
|
if (!e || !("s" in e)) return;
|
|
3767
3771
|
const o = e.s;
|
|
3768
3772
|
return delete e.s, o;
|
|
3769
|
-
},
|
|
3773
|
+
}, Ls = (t, e, o, s) => {
|
|
3770
3774
|
if (!t) return;
|
|
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,
|
|
@@ -3827,34 +3831,34 @@ var ms = {
|
|
|
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
3833
|
const { password: c, onVBA: u, profile: d, calcOnLoad: p = "auto", createWorkbookOptions: f = {}, ...m } = l ?? {};
|
|
3830
|
-
await
|
|
3831
|
-
const b = !!f.origin && "string" != typeof f.origin, y = d ? new me("function" == typeof d ? d : void 0) : null,
|
|
3832
|
-
|
|
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
|
-
},
|
|
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("./
|
|
3845
|
-
let
|
|
3848
|
+
} : void 0, $ = import("./KSE7OWDMxhbfYt82.js");
|
|
3849
|
+
let V = null;
|
|
3846
3850
|
try {
|
|
3847
|
-
|
|
3851
|
+
V = new DOMParser();
|
|
3848
3852
|
} catch (n) {}
|
|
3849
|
-
let
|
|
3853
|
+
let L = null;
|
|
3850
3854
|
try {
|
|
3851
|
-
|
|
3855
|
+
L = new XMLSerializer();
|
|
3852
3856
|
} catch (n) {}
|
|
3853
3857
|
let B, F, q, U = null;
|
|
3854
|
-
|
|
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
|
-
B = new e.DOMTransformer(), F =
|
|
3861
|
+
B = new e.DOMTransformer(), F = V ?? new t.DOMParser(), q = L ?? new t.XMLSerializer();
|
|
3858
3862
|
} catch (n) {
|
|
3859
3863
|
throw new Error("Unable to load XLSX parser.", { cause: n });
|
|
3860
3864
|
}
|
|
@@ -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");
|
|
@@ -3940,7 +3944,7 @@ var ms = {
|
|
|
3940
3944
|
l && c.add(Fs(l));
|
|
3941
3945
|
for (const t of c) D += Y.uncompressedSize(t);
|
|
3942
3946
|
if (await Y.prefetch((t) => !c.has(t) && !Ws.test(t)), y?.mark("prefetch-side-parts"), 0 === o.workbooks.length) {
|
|
3943
|
-
const e = pt("_rels/.rels", t, F, B,
|
|
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) {
|
|
3946
3950
|
o.workbooks.push(t.target);
|
|
@@ -3949,16 +3953,16 @@ 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 m = f?.resources ?? new T(),
|
|
3953
|
-
|
|
3956
|
+
const m = f?.resources ?? new T(), S = m.beginPersist(), N = {}, $ = /* @__PURE__ */ new Set(), V = /* @__PURE__ */ new Map();
|
|
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;
|
|
3956
3960
|
if (!e) return;
|
|
3957
|
-
const o = B.parseDxf(e, "",
|
|
3961
|
+
const o = B.parseDxf(e, "", k);
|
|
3958
3962
|
return Object.keys(o).length > 0 ? o : void 0;
|
|
3959
3963
|
});
|
|
3960
|
-
const
|
|
3961
|
-
|
|
3964
|
+
const L = Ot("metadata", o, t, F, B, k).entries().next()?.value?.[1]?.metadata;
|
|
3965
|
+
L && V.set("metadata", L), V.set(Qo, Z());
|
|
3962
3966
|
const q = /* @__PURE__ */ new Map(), U = [], et = /* @__PURE__ */ new Set(), ot = (t) => {
|
|
3963
3967
|
et.add(Fs(t));
|
|
3964
3968
|
}, st = (e, o = q) => {
|
|
@@ -3971,10 +3975,10 @@ var ms = {
|
|
|
3971
3975
|
if ("External" === n.targetMode) {
|
|
3972
3976
|
if (!s) return n.target;
|
|
3973
3977
|
const t = m.add({ source: { external: n.target } });
|
|
3974
|
-
return t.addReference(N), $.add(t),
|
|
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
|
-
i.startsWith("/") || (i = l + i), i =
|
|
3981
|
+
i.startsWith("/") || (i = l + i), i = At(i);
|
|
3978
3982
|
const c = B?.getVisitorParamsState().get("dxfs");
|
|
3979
3983
|
let u = r.get(i);
|
|
3980
3984
|
if (!u) {
|
|
@@ -3984,8 +3988,8 @@ 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
|
-
|
|
3988
|
-
}, void 0,
|
|
3991
|
+
w(t, e ? `${e} (${i})` : i, o);
|
|
3992
|
+
}, void 0, V), o = await Y.getTextStream(i, _);
|
|
3989
3993
|
if (o) try {
|
|
3990
3994
|
await Ne.parseStream(o, e, {
|
|
3991
3995
|
xmlns: !1,
|
|
@@ -4003,10 +4007,10 @@ 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
|
|
4009
|
-
const c = B?.getVisitorParamsState(), u = it(c?.get("numFmts"), c?.get("dxfs")), h = dt(s.xml, u), d = h ? void 0 :
|
|
4012
|
+
if (!l) return void x.push([`Pivot table '${s.name}' states no location and was dropped.`, i]);
|
|
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) } : {},
|
|
4012
4016
|
cacheId: n,
|
|
@@ -4037,7 +4041,7 @@ var ms = {
|
|
|
4037
4041
|
} else u = null;
|
|
4038
4042
|
} else u = s ? Pt(i, t, (t, e) => {
|
|
4039
4043
|
const o = m.add({ source: { buffer: t } });
|
|
4040
|
-
return o.addReference(N), $.add(o),
|
|
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;
|
|
@@ -4046,7 +4050,7 @@ var ms = {
|
|
|
4046
4050
|
const o = st(e, q)?.get(t);
|
|
4047
4051
|
if (!o?.target || "External" === o.targetMode) return null;
|
|
4048
4052
|
let s = o.target;
|
|
4049
|
-
return s.startsWith("/") || (s = e.substring(0, e.lastIndexOf("/") + 1) + s),
|
|
4053
|
+
return s.startsWith("/") || (s = e.substring(0, e.lastIndexOf("/") + 1) + s), At(s);
|
|
4050
4054
|
}, at = (t, e, o, s) => {
|
|
4051
4055
|
const n = [], i = /* @__PURE__ */ new Map(), a = [];
|
|
4052
4056
|
o.forEach((t, o) => {
|
|
@@ -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);
|
|
@@ -4201,11 +4205,11 @@ var ms = {
|
|
|
4201
4205
|
const o = ft(e, a, t.type, n, i);
|
|
4202
4206
|
o && p.push(o);
|
|
4203
4207
|
}), p.length > 0 && (d.parts = p), ot(a), d;
|
|
4204
|
-
}, gt = Ot("coreprops", o, t, F, B,
|
|
4208
|
+
}, gt = Ot("coreprops", o, t, F, B, k), mt = Ot("extprops", o, t, F, B, k), bt = Ot("custprops", o, t, F, B, k);
|
|
4205
4209
|
bt.forEach((t, e) => {
|
|
4206
4210
|
t?.custom && ot(e);
|
|
4207
4211
|
});
|
|
4208
|
-
const vt = new
|
|
4212
|
+
const vt = new I(), xt = Ot("people", o, t, F, B, k);
|
|
4209
4213
|
if (xt.size > 0) {
|
|
4210
4214
|
const [t, e] = xt.entries().next().value;
|
|
4211
4215
|
vt.fromJSON(e?.persons), ot(t);
|
|
@@ -4213,16 +4217,16 @@ var ms = {
|
|
|
4213
4217
|
const wt = (t) => {
|
|
4214
4218
|
if (t) return vt.add(t).toJSON();
|
|
4215
4219
|
}, Tt = {
|
|
4216
|
-
paramMap:
|
|
4220
|
+
paramMap: V,
|
|
4217
4221
|
getRefs: st,
|
|
4218
4222
|
getRef: rt,
|
|
4219
4223
|
parsedRefs: q,
|
|
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
|
-
if (
|
|
4229
|
+
if (V.set(es, kt), l) {
|
|
4226
4230
|
const t = await Y.getTextStream(l, _);
|
|
4227
4231
|
if (t) {
|
|
4228
4232
|
const e = ((t, e) => {
|
|
@@ -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 });
|
|
@@ -4267,18 +4271,18 @@ var ms = {
|
|
|
4267
4271
|
return Dt.set(t, _t++), St.push(t), o;
|
|
4268
4272
|
}, $t = [];
|
|
4269
4273
|
o.slicersCache = $t;
|
|
4270
|
-
const Rt = Y.getNames(),
|
|
4271
|
-
for (let t = 0; t <
|
|
4274
|
+
const Rt = Y.getNames(), Vt = Rt.length;
|
|
4275
|
+
for (let t = 0; t < Vt; t++) {
|
|
4272
4276
|
const e = Rt[t];
|
|
4273
4277
|
e && (e.startsWith("xl/slicerCache") || e.startsWith("xl/timelineCaches/") && e.endsWith(".xml")) && $t.push(`/${e}`);
|
|
4274
4278
|
}
|
|
4275
|
-
const
|
|
4276
|
-
|
|
4279
|
+
const Lt = Ot("slicersCache", o, t, F, B, Tt), Bt = /* @__PURE__ */ new Map();
|
|
4280
|
+
Lt.forEach((t, e) => {
|
|
4277
4281
|
t?.cacheName && (t.cachePath = e, Bt.set(t.cacheName, t));
|
|
4278
|
-
}),
|
|
4282
|
+
}), V.set("slicerCaches", Bt);
|
|
4279
4283
|
const Ft = [];
|
|
4280
4284
|
o.slicers = Ft;
|
|
4281
|
-
for (let t = 0; t <
|
|
4285
|
+
for (let t = 0; t < Vt; t++) {
|
|
4282
4286
|
const e = Rt[t];
|
|
4283
4287
|
e && (e.startsWith("xl/slicers/") || e.startsWith("xl/timelines/")) && e.endsWith(".xml") && Ft.push(`/${e}`);
|
|
4284
4288
|
}
|
|
@@ -4298,7 +4302,7 @@ var ms = {
|
|
|
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,10 +4358,10 @@ 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
|
-
|
|
4360
|
-
for (let t = 0; t <
|
|
4363
|
+
V.set("richData", Gt.values.map((t, e) => Kt.cellValue(e)));
|
|
4364
|
+
for (let t = 0; t < Vt; t++) {
|
|
4361
4365
|
const e = Rt[t];
|
|
4362
4366
|
e.startsWith("xl/richData/") && !e.includes("/_rels/") && ot(e);
|
|
4363
4367
|
}
|
|
@@ -4371,7 +4375,7 @@ var ms = {
|
|
|
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);
|
|
4374
|
-
|
|
4378
|
+
V.set(ts, !0 === se.entries().next().value?.[1]?.date1904), "none" !== (f.calcOnLoad ?? p) && V.set(Yo, ((t, e) => {
|
|
4375
4379
|
const o = /* @__PURE__ */ new Set();
|
|
4376
4380
|
if (t) for (let e = 0; e < t.length; e++) o.add(String(t[e]?.name).toUpperCase());
|
|
4377
4381
|
if (e) for (let t = 0; t < e.length; t++) try {
|
|
@@ -4382,7 +4386,7 @@ var ms = {
|
|
|
4382
4386
|
}, /* @__PURE__ */ new Map());
|
|
4383
4387
|
for (const t of s.keys()) o.add(t.toUpperCase());
|
|
4384
4388
|
} catch {}
|
|
4385
|
-
return (t) => o.has(t) ||
|
|
4389
|
+
return (t) => o.has(t) || E.has(t);
|
|
4386
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 ?? [];
|
|
@@ -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;
|
|
@@ -4472,20 +4476,20 @@ var ms = {
|
|
|
4472
4476
|
style: {}
|
|
4473
4477
|
}, t.push(s)), Ss(s.style, !0);
|
|
4474
4478
|
}
|
|
4475
|
-
})(ne,
|
|
4479
|
+
})(ne, V.get(xs)), ((t, e) => {
|
|
4476
4480
|
if (e && 0 !== e.size) for (const o of t.sheets ?? []) {
|
|
4477
4481
|
const t = ht(o), s = t?.pivotTables;
|
|
4478
4482
|
if (!t || !s || 0 === s.length) continue;
|
|
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,
|
|
@@ -4496,8 +4500,8 @@ var ms = {
|
|
|
4496
4500
|
}
|
|
4497
4501
|
for (let t = 0; t < s.length; t++) n[t].length > 0 && (s[t].buttons = n[t]);
|
|
4498
4502
|
}
|
|
4499
|
-
})(ne,
|
|
4500
|
-
const le =
|
|
4503
|
+
})(ne, V.get(ks));
|
|
4504
|
+
const le = V.get($s);
|
|
4501
4505
|
((t, e) => {
|
|
4502
4506
|
const o = t.styles?.direct;
|
|
4503
4507
|
if (!o || 0 === o.length) return;
|
|
@@ -4508,7 +4512,7 @@ var ms = {
|
|
|
4508
4512
|
const h = `${t}|${i ?? ""}|${l ?? ""}|${u}`;
|
|
4509
4513
|
let d = r.get(h);
|
|
4510
4514
|
if (void 0 !== d) return d;
|
|
4511
|
-
const p = o[t], f = p ?
|
|
4515
|
+
const p = o[t], f = p ? As(p, i, l, c) : null, g = e?.get(t);
|
|
4512
4516
|
return d = f === p ? t : f || void 0 !== g ? ((t, r) => {
|
|
4513
4517
|
if (!s) {
|
|
4514
4518
|
s = /* @__PURE__ */ new Map();
|
|
@@ -4529,22 +4533,22 @@ var ms = {
|
|
|
4529
4533
|
if (!t || !o || 0 === o.length || !s || 0 === s.length) continue;
|
|
4530
4534
|
let r = s, n = !1;
|
|
4531
4535
|
for (const t of o) {
|
|
4532
|
-
const e =
|
|
4536
|
+
const e = Cs(t, l.get(t.cacheId));
|
|
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,
|
|
@@ -4573,10 +4577,10 @@ var ms = {
|
|
|
4573
4577
|
const t = ht(r);
|
|
4574
4578
|
if (!t) continue;
|
|
4575
4579
|
const n = [];
|
|
4576
|
-
if (
|
|
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
|
-
const ge =
|
|
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
4681
|
resources: m,
|
|
4678
4682
|
json: ne
|
|
4679
4683
|
};
|
|
4680
4684
|
if (void 0 === ye.disableLoadAutoFit) {
|
|
4681
|
-
const t =
|
|
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
|
-
const ve = new
|
|
4689
|
+
const ve = new C(ye);
|
|
4686
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,11 +4727,11 @@ 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
|
-
t.has(n) || (t.add(n),
|
|
4734
|
+
t.has(n) || (t.add(n), A.onWarning(o, s));
|
|
4731
4735
|
}
|
|
4732
4736
|
}
|
|
4733
4737
|
return y && !0 === d && console.table(y.toTable()), await ve.whenFontsReady(), ve;
|