@sheetxl/mcp 0.8.0-beta.21 → 0.8.0-beta.22
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/{DO86fHS3WYzHN_Rv.js → 0jPw8-AyT6VbPuGO.js} +1 -1
- package/assets/{BAqvmoeYqG6dwX3I.js → 1U3DwsqHnOBwiGWn.js} +2 -2
- package/assets/{C1ZP9W2tiVQUwLqZ.js → 1dUPpOVZSeeylKHv.js} +1 -1
- package/assets/{DG3hKZ75iK2wrCcz.js → 3N6hsbh2WLceyO6T.js} +1 -1
- package/assets/{C2YOx4ianxuIIeMP.js → 4zyHb1mmcFfqwpjO.js} +1 -1
- package/assets/{BZJvWc-5DdAyHXFk.js → 8csqJ8aGOdnKlrLl.js} +1 -1
- package/assets/{CkGQV_x1SpyzePln.js → 91BKH9obG4IfBzhy.js} +440 -435
- package/assets/{FOKynZCiA0wU2Spf.js → 9AosCdy_xtdhLjN1.js} +1 -1
- package/assets/{BEOwJnsyIuMC4SaI.js → B5VTjL9m0R-Icfaz.js} +4 -4
- package/assets/{D2XmpdMAe0SAuQWo.js → B6pXiayrnDoDbQt1.js} +62 -62
- package/assets/{CL348305B-kpRYzz.js → BDq4iVyBh5lwX8pE.js} +1 -1
- package/assets/{vXmCJwJaPhkPVhy8.js → BHsqPfJZrdKTbPLP.js} +1 -1
- package/assets/{DP-m2vK0GTaYqQZM.js → BI5L_Ysr8s0TQxdg.js} +1 -1
- package/assets/{raa4clZOm0L5A0zR.js → BPZWfwUvFCLQInXN.js} +548 -548
- package/assets/{BC2Y5XPkMBKS6jQX.js → BRVEVVhj-8ZPrNyQ.js} +335 -334
- package/assets/{CB9TsE5n0FEyFnAz.js → BSdRn3B8QeJFflY6.js} +15 -15
- package/assets/{D5mfuGSeGXSDHj9-.js → BUGEQS5WdiLcI_0X.js} +1 -1
- package/assets/{IEmEQHg895CUpAQq.js → BUIjRIGTum7VuRFk.js} +1 -1
- package/assets/{B4Z_YneQya9mUTN5.js → BV49J63s68Mj6lgF.js} +1 -1
- package/assets/{BbsMdXiRzPW9BCEK.js → BXean6K6oDUxkzyd.js} +1 -1
- package/assets/{DOYXEbY_WslpyqXW.js → BZxJKqVEO7B23XwE.js} +5 -5
- package/assets/{D1HLIgumuUqrSyYB.js → BaaVzb7xXROiWUhT.js} +4 -4
- package/assets/{CC2hfzradb2KOvtU.js → Bf7Irm8Ua4s1T4xH.js} +1 -1
- package/assets/{DITcEcZJ58z5yOx7.js → BgwCdHyXKQYFAl1M.js} +1 -1
- package/assets/{8wMcuw3b1CFk-D5A.js → Bi65BKwwiZYYZprq.js} +1 -1
- package/assets/{BeMLPoHRWacCbpl2.js → BiC09_YKQPmlUklQ.js} +1 -1
- package/assets/{Q2j8yQZX1kL_MbbB.js → BkqENH8xJ3_NQnD5.js} +413 -413
- package/assets/{rejXA2fTAujW3QRv.js → BlxrCp7d-SeM-2DW.js} +266 -266
- package/assets/{CzQ2o7qoMm0K7KSb.js → BnGNMsqG5CzUzmX7.js} +4 -4
- package/assets/{DRiAktGToP73uwgm.js → BnK6HEqT4rf1RoOG.js} +223 -223
- package/assets/{bpjLDXWxL6nDt4Mv.js → BrfsWImwRtf54LUU.js} +1 -1
- package/assets/{BRiLNigzVwOBIxBy.js → BvKzhnweVF6GhjXh.js} +1 -1
- package/assets/{69EXDk0YRdjdM86i.js → Bx592y6pyOwTS2x7.js} +1 -1
- package/assets/{VcTnn2qw_4tmyctb.js → BygXDW3XTdtR38aA.js} +1 -1
- package/assets/{0ewqK5X66DZmbhVR.js → BzFIkeB_lheiTR7z.js} +1 -1
- package/assets/{CBTQ8dknYY7RVQgL.js → Bzp3UtK_6fqEVlV8.js} +8 -8
- package/assets/{Vo34QvIefEN595xl.js → C1PTfp7kVu3DqqZh.js} +5650 -5644
- package/assets/{B8URptQcztz4DRvS.js → C1yAmXrOu3iHV2cu.js} +24 -24
- package/assets/{CmUz8bVbJgWVT-OB.js → C4-0s3Udk3v4ytSn.js} +2 -2
- package/assets/{BMkhJwKP7goV0vlJ.js → C7zManFR1LEJXiwb.js} +1 -1
- package/assets/{CrLDmJU84Dbwl6DZ.js → C9wlvcFyjQA59G-_.js} +1 -1
- package/assets/{BneTvtEMcBoSiQnw.js → CAgQJrDxGEfoa7jn.js} +3 -3
- package/assets/{CME1jbwnNlBD66aW.js → CGB4xgirbgEIN3tg.js} +312 -312
- package/assets/{CpLUgqgBDtlfFRj3.js → CGxhgXj5qKj_Ubcp.js} +1 -1
- package/assets/{BJo3edG_rqch-Kw2.js → CHG9Q0uLAZdLXYVz.js} +73 -73
- package/assets/{BtiRDaBbNpPpKelt.js → CHnaSM8aMnQ2_VWW.js} +3 -3
- package/assets/{C0pbMKm0FzhOek9r.js → CHpBOpoM9bCvQyn0.js} +1 -1
- package/assets/{BABP2ffkRrOs7_Ym.js → CHqnRMWNpLKcAWWn.js} +1 -1
- package/assets/{CDKZI2IIZ9boo7zG.js → CKhbbbjQ-_auMp3n.js} +1 -1
- package/assets/{Deu2acNFlgo__Mcd.js → COVhUB0EotytQDHg.js} +2 -2
- package/assets/{KSE7OWDMxhbfYt82.js → CSGN4rAf7CYnBDEa.js} +22 -22
- package/assets/{KQGPPHM486XPeClF.js → CSKjFDYwiwn5XNnH.js} +2 -2
- package/assets/{DqxW6EBLDV_6Eegk.js → CT99WREgkKGpcDTO.js} +1 -1
- package/assets/{pg0OaBJVRnW7uSz5.js → CV729JV1mNyYCmrq.js} +1 -1
- package/assets/{CXb2mlCk1s1VFPHU.js → CXk5vwFfosghrTKo.js} +506 -506
- package/assets/{BU7t2vK3_DH_BbMd.js → CXqqaFgNeUVRGvEb.js} +2 -2
- package/assets/{_oaPA65Bm2idKW7f.js → CYCqMEoWsry6_hrc.js} +1 -1
- package/assets/{CDYMLTHkkpRV9igv.js → Cahhn5OLNqRYy-n8.js} +1 -1
- package/assets/{D7WSYqvuwNQjOIuO.js → CdtVv8YQ8PTmS4dz.js} +1 -1
- package/assets/{DjCHmGw-ixoQ6ZTA.js → CpYgsvYMxV5SbRp3.js} +2 -2
- package/assets/{CVlsdN5C8QL-Kljv.js → Cu4VAHfmjXWfTMPu.js} +1 -1
- package/assets/{DX0znk3xZmL1AyX8.js → CufFcGwo5x95LSb7.js} +1 -1
- package/assets/{C8huq6_Gvbeyf6Zy.js → CwNKcoA7na7Ess3a.js} +2 -2
- package/assets/{DpgBOcByebrqzUrC.js → D-MsUF59BhikcNZt.js} +3 -3
- package/assets/{Dzxe5kLF5GOfh0_l.js → D-N87jCOShDKTFDh.js} +1 -1
- package/assets/{CLT0k5UJYPmi8ked.js → D1tShC5iBlUoT2V2.js} +1 -1
- package/assets/{H89MX09YsAj7NAk3.js → D89TE5n8VKre9Gmp.js} +1 -1
- package/assets/{B8NDzDM0Gpwmkylq.js → D8dNiNpu9_L0NjGP.js} +1 -1
- package/assets/{BVDaUnmVOSaDw9e3.js → D9ja7F9irHf9Iovx.js} +1 -1
- package/assets/{CZ5v2vTWktJ7qAj1.js → DAqaOCEQLmZRjcdR.js} +1 -1
- package/assets/{Dnn8laImZHy8LouL.js → DEOkcuqKBFyRnY18.js} +1 -1
- package/assets/{D9F0224gK4j4Iuq9.js → DFQLoYLUO4TgDZPK.js} +1 -1
- package/assets/{DjbBTiei0H-BIJaN.js → DHHYGjNwlLvja3dS.js} +1 -1
- package/assets/{DsK1Adz0vo-1zPkp.js → DLbzfP7OOWhafkTq.js} +1 -1
- package/assets/{BWqKV3QuZX31WPsa.js → DQIQR1t3IkC9wshP.js} +1 -1
- package/assets/{fUmGsmpgGhd8eZn2.js → DRd8gdwcr3EqtGkb.js} +1 -1
- package/assets/{B_n6s7Kj4_5BWn1q.js → DawLBAaNAAmo_P3Y.js} +2 -2
- package/assets/{ChpUbgXIWuQFoXyL.js → Dbh-XVDw294AVLtl.js} +1 -1
- package/assets/{Dt5rA9gefJFLoaeI.js → DdDKDqtpIkzd-mXi.js} +2 -2
- package/assets/{DBgOeiZg40MS63pB.js → DdXp_iPwTOHAOvlL.js} +8 -8
- package/assets/{I-GZ5PL9n_Sv5yAJ.js → DdnALoxd3b8TLNla.js} +1 -1
- package/assets/{RFPO1vKnkkgwx5Bs.js → DevKDvFONeJ9euEq.js} +1 -1
- package/assets/{C1xe-BzKWT17OO8a.js → DgVCjvTw9Df1DV1x.js} +14 -14
- package/assets/{BM9zwvBRXNbO_uD-.js → DgYcOz0M0pmZf9x_.js} +2 -2
- package/assets/{-NFft0E2Wj6WH3X9.js → DmVQgN-N_HhYvakk.js} +1 -1
- package/assets/{vItpZkDtFsjwsJzb.js → DoScYrfTJOHXe-Ko.js} +70 -70
- package/assets/{D-INtJnS1lCrEs8s.js → DrLUi6vduqDLmQjl.js} +82 -82
- package/assets/{C27330XswujHKrLu.js → Ds5pLAwSN4lSbao6.js} +1 -1
- package/assets/{BrgptoFtJepXL46Z.js → DsBXjYAgTUXAAWZZ.js} +1 -1
- package/assets/{ChwSFUzi5mMzUwdW.js → DtvJg63vbDd6B7sD.js} +6 -6
- package/assets/{CBqpH_MpBSmQRaGE.js → Dvsld01DkmiNLjfP.js} +1 -1
- package/assets/{CudjOMo6X7FRW6ME.js → DxNK3HVEzFdUou54.js} +1 -1
- package/assets/{Bagfe_VVU6NyQNS6.js → DzGpZ2CQ1St9BF0y.js} +1 -1
- package/assets/{DuCNecyIYfZL27SV.js → E9mta1q4VtVUusy5.js} +1 -1
- package/assets/{CTLGMulzw-oFbgHy.js → GGcMgq3ScY7Tv0PE.js} +3 -3
- package/assets/{DRqBWzdn9KKN68o8.js → HVwvDMZh0ZGR-hRT.js} +11 -11
- package/assets/{AGdlSbOsXWO1oZAE.js → OfjHqYH31KqC5gVM.js} +1 -1
- package/assets/{1bSTbCnkTWvsV82p.js → OtMeAlbq6tyW5Hnc.js} +4 -4
- package/assets/{DnQM29yv6KQQOVfl.js → UgDy0WNXuV1sEnFW.js} +2 -2
- package/assets/{Cg05U6rbXUnaz0rA.js → VSbzBtGH0cA8VBsM.js} +34 -34
- package/assets/{CcaH1FoDC8o3dzqp.js → VWEaItb0XvCoRiCT.js} +1 -1
- package/assets/{4-DOIpV6Hjaymwy7.js → WSiEiaP-NUEr9UaB.js} +2 -2
- package/assets/{QMCI00ZCedkNJd8C.js → Z5tQQ6IW5YBjblWX.js} +1 -1
- package/assets/{DO9RVxvm9vQh8A_j.js → b-xk3WtCPBkC4E-Z.js} +2 -2
- package/assets/{NEzc406_2k2MuiE3.js → coTH4ab6CTEzw87b.js} +2 -2
- package/assets/{DwqgvpYiTLOQd5wm.js → do_DTptu6c_xHJoZ.js} +2 -2
- package/assets/{I_yb1hhLA5bYPpWx.js → hAVtdK6u2tlLI2cB.js} +1 -1
- package/assets/{_l84VPWmScznS-9F.js → hhpAcu3tINDLk7Ov.js} +5 -5
- package/assets/{H1ICg_-K5ADFNHJj.js → nSzQt54CIADky_tF.js} +1 -1
- package/assets/r-pk3RNq_HjMQFqr.js +14 -0
- package/assets/{CSd5XfU4JBASIwTI.js → ryaMyh_8KvmXVSJd.js} +1 -1
- package/assets/{B1l0k4ErELObdQKE.js → sYakw2x8dcnpUlsX.js} +3 -3
- package/assets/{M62BqR7TbmgOzAEW.js → tIoHMgrZeRHWyxos.js} +3 -3
- package/assets/{DmJc5VoPPwBBtLIG.js → tPa3RpqYRqCCCYf1.js} +1 -1
- package/assets/{B_RppF41PrYlelc_.js → v5XZSqLd9ZV3kqcA.js} +1 -1
- package/assets/{rhT64BvdSLOEwglQ.js → vazKaFOkHRriv7tX.js} +1 -1
- package/assets/{rIQ1pzaGFqvCfzOk.js → wWgI0JPoe_Wv0ceW.js} +1 -1
- package/assets/{CPmMYI4DPQcXrZ-g.js → xDx1vaNa2aCMs4_e.js} +1 -1
- package/assets/{BtjG4s0StUieGI5b.js → zJoBN2CJdxEV7vdh.js} +3 -3
- package/assets/{D3RuKyCyAzvT0bGL.js → ze6Q8BiEw9RClBzZ.js} +1 -1
- package/index.js +84 -84
- package/lib.js +1 -1
- package/licenses/dependencies.txt +56 -56
- package/package.json +2 -2
- package/screenshot-page/assets/0buGanYjZDNd9qAK.js +39 -0
- package/screenshot-page/assets/{Z7Av7oqfaK7wy7Eb.js → B668_VaGrdcWRbkC.js} +1 -1
- package/screenshot-page/assets/BGWgIYge30MP6Xhz.js +48 -0
- package/screenshot-page/assets/{CxithxkenssFkfTT.js → BGh5K-hHzy8mSVDr.js} +3 -3
- package/screenshot-page/assets/{CN3dPtUjDVvcnA4e.js → BIQ7KK-buzeddVA9.js} +1 -1
- package/screenshot-page/assets/BPRDGSNh0kvXRFUY.js +1 -0
- package/screenshot-page/assets/{1s5we6Eqz8n3o0X_.js → BRemww1df2HKLd_k.js} +1 -1
- package/screenshot-page/assets/{Yz4ksf-M05RGdHO3.js → Bm9-R9keVK5Sx-8o.js} +1 -1
- package/screenshot-page/assets/{B5ujsbfF1ZBkPI4d.js → BnZX0sxceYpvtg3I.js} +2 -2
- package/screenshot-page/assets/Bv2MgCMkg3EIQ6iE.js +13 -0
- package/screenshot-page/assets/BvaiwYJ5zZ0d5NRP.js +1 -0
- package/screenshot-page/assets/CAlTfQ_Gh-dURmUc.js +1 -0
- package/screenshot-page/assets/{C0rOvlmOfLDpClJ_.js → CCFxspvs5VzbYCfl.js} +1 -1
- package/screenshot-page/assets/CCqTTfzZokVHIzs2.js +1 -0
- package/screenshot-page/assets/CPs_ARK8JCyz-yZg.js +1 -0
- package/screenshot-page/assets/{DHUomRu_S2zcBWwt.js → CQ9C0-FcDZxrgC3T.js} +4 -4
- package/screenshot-page/assets/CUeMb48Ucrm5dK5u.js +1 -0
- package/screenshot-page/assets/CcOIj8c4N9KaWnD7.js +1 -0
- package/screenshot-page/assets/CjrHeIdacavAT_Ud.js +3 -0
- package/screenshot-page/assets/{D4VgxwLDPUfCxPS9.js → Cmv8bpHaTWZ7Lmbt.js} +1 -1
- package/screenshot-page/assets/CqccUqSMYlwlf2ZU.js +2 -0
- package/screenshot-page/assets/CvmImq-Kbg9srxNr.js +4 -0
- package/screenshot-page/assets/D-3wYBqe4SWdE6bx.js +2 -0
- package/screenshot-page/assets/D-FWnGDbZ9BRDzPR.js +1 -0
- package/screenshot-page/assets/D717DArr-KKL0U6R.js +1 -0
- package/screenshot-page/assets/{p9abCAJQdpScjZVK.js → D8-mayyvvVE1a4JB.js} +1 -1
- package/screenshot-page/assets/DM27mE98BNk1T18I.js +1 -0
- package/screenshot-page/assets/DN-T1DyRMKvxEJSK.js +1 -0
- package/screenshot-page/assets/DRdL1GN4SP7P8lSP.js +2 -0
- package/screenshot-page/assets/DcnhaY93LQd7kVdH.js +2 -0
- package/screenshot-page/assets/{CzZu7Fd_VeHHL-4i.js → DdusmeEPaU7CWT6e.js} +1 -1
- package/screenshot-page/assets/{Bdt92xZzFotX0vdt.js → DfT1DMR1b5kiyYiV.js} +1 -1
- package/screenshot-page/assets/DigI6jhjHePzLgg1.js +1 -0
- package/screenshot-page/assets/DrDLCC0R2IV5VJd7.js +1 -0
- package/screenshot-page/assets/{BtydzT-AjL_LBr8x.js → Dwv5Z_c2XS-hm-5y.js} +1 -1
- package/screenshot-page/assets/Dx0pUf3G4Oa3dGOk.js +1 -0
- package/screenshot-page/assets/JcgNMFaj_uqHSFxr.js +1 -0
- package/screenshot-page/assets/{DQeIWKasFD3DnWL7.js → U_8_wApwfA7KmIG3.js} +11 -11
- package/screenshot-page/assets/WZprjN2sb7HlraOb.js +2 -0
- package/screenshot-page/assets/{CBuH_YHDn7A9E_hX.js → adhmz3N2Kgq5eW66.js} +2 -2
- package/screenshot-page/assets/qjoaeEBxfKWCHmqK.js +2 -0
- package/screenshot-page/assets/{Blg5f-jAtZfGnZ71.js → zALFdtoGJBN6m2Bn.js} +1 -1
- package/screenshot-page/assets/{BLON9pILfrgdZqAM.js → zd1Z2E1NjFp2EWC7.js} +3 -3
- package/screenshot-page/index.html +8 -8
- package/types/scripting-api.json +7065 -7064
- package/types/scripting.d.ts +29 -9
- package/assets/DrgkN0g7OHuD4iD6.js +0 -14
- package/screenshot-page/assets/9WplgXo__vp3e1Su.js +0 -2
- package/screenshot-page/assets/BEzCH6tp_dlxe7BH.js +0 -1
- package/screenshot-page/assets/BJvuevnsIw3DXQds.js +0 -2
- package/screenshot-page/assets/BVx7CEdRItIR30Fz.js +0 -1
- package/screenshot-page/assets/Ble2ESZnJzZnd3cc.js +0 -1
- package/screenshot-page/assets/Bozva6Wr4B8Q5QZN.js +0 -2
- package/screenshot-page/assets/Brp37MPC60tt9V3N.js +0 -1
- package/screenshot-page/assets/Bs65RHirk11sxOB9.js +0 -39
- package/screenshot-page/assets/Bu5h0ACtvNxDBmqw.js +0 -1
- package/screenshot-page/assets/BwFvwFIcX0dmcBt7.js +0 -1
- package/screenshot-page/assets/CHZ1925OpIa8ssZn.js +0 -1
- package/screenshot-page/assets/COO3CwHTbCgxybBd.js +0 -1
- package/screenshot-page/assets/CR8Rj_GpSbIqbaEO.js +0 -13
- package/screenshot-page/assets/CV9T0juyAiRmwTR-.js +0 -4
- package/screenshot-page/assets/ClC7zkHPp6egPrjL.js +0 -2
- package/screenshot-page/assets/CtS8qZB4_3skg_zL.js +0 -1
- package/screenshot-page/assets/CwutTi2EnNm_hyVj.js +0 -1
- package/screenshot-page/assets/CzijGQrSoteeqwmH.js +0 -2
- package/screenshot-page/assets/DG6q1MKITeSM4XMx.js +0 -1
- package/screenshot-page/assets/DHTXoT_pArB1opyI.js +0 -48
- package/screenshot-page/assets/DP2wwd1IM_gQtEaG.js +0 -1
- package/screenshot-page/assets/Ja-xcEStEdmh2Gwb.js +0 -2
- package/screenshot-page/assets/ODq-dKb9mTtqEIJl.js +0 -1
- package/screenshot-page/assets/VF7dro9jrDEAX6kD.js +0 -3
- package/screenshot-page/assets/bdWMVOcMKRI8kCDE.js +0 -1
- package/screenshot-page/assets/kJwY8fmEeWlAtTAc.js +0 -1
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license @sheetxl/mcp - MCP server exposing SheetXL spreadsheet operations as tools and resources. - v0.8.0-beta.
|
|
2
|
+
* @license @sheetxl/mcp - MCP server exposing SheetXL spreadsheet operations as tools and resources. - v0.8.0-beta.22
|
|
3
3
|
*
|
|
4
4
|
* (C) 2026-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: SheetXL EULA — https://www.sheetxl.com/eula
|
|
6
6
|
*/
|
|
7
|
-
import { Q as t, h as e, ht as n, ot as o, xt as s } from "./
|
|
8
|
-
import { Dt as r, F as a, G as i, Kt as l, Tt as c, U as d, Vt as m, ht as p, k as f, lt as h, p as u, v as g } from "./
|
|
9
|
-
import { f as x, o as y, p as v, u as w } from "./
|
|
10
|
-
import {
|
|
11
|
-
import { n as _, y as N } from "./
|
|
12
|
-
import { n as $ } from "./
|
|
13
|
-
import { F as B, _t as O, gt as V, pt as W, vt as z, yt as j } from "./
|
|
14
|
-
import { $t as X, A as H, An as U, At as G, Ct as q, D as J, Dn as K, Dr as Y, Dt as Z, En as Q, Et as et, F as nt, Ft as ot, G as st, Gn as rt, Gt as at, It as it, J as lt, Jn as ct, Jt as dt, Kn as mt, Kt as pt, L as ft, Lt as ht, M as ut, Mn as gt, Mt as xt, O as yt, Or as vt, Ot as wt, P as St, Pn as bt, Pt as Ct, Qn as Tt, R as kt, Rt as It, Sn as Rt, Sr as Ft, St as Et, Tn as Mt, Tr as Pt, Tt as At, U as Dt, Un as Lt, Ut as _t, Vt as Nt, W as $t, Wn as Bt, Xt as Vt, Yn as Wt, Yt as zt, Z as jt, Zt as Xt, _ as Ht, _r as Ut, ar as Gt, at as qt, b as Jt, bn as Kt, bt as Yt, c as Zt, cn as Qt, cr as te, ct as ee, d as ne, dn as oe, dr as se, dt as re, er as ae, et as ie, fr as ce, ft as de, gn as me, gr as pe, h as fe, hn as he, ht as ue, i as ge, ir as xe, it as ye, j as ve, jn as we, jr as Se, k as be, kn as Ce, kt as Te, l as ke, lr as Ie, lt as Re, n as Fe, nn as Ee, nt as Me, on as Pe, or as Ae, p as De, pn as Le, pr as _e, pt as Ne, qn as $e, r as Be, rn as Oe, rr as Ve, sn as We, st as ze, t as je, tn as Xe, tr as He, u as Ue, un as Ge, ur as qe, vn as Ke, vt as Ye, w as Ze, wn as Qe, wt as tn, y as en, yn as nn, yr as on, z as sn, zn as rn, zt as an } from "./
|
|
15
|
-
import { i as ln, l as cn, n as dn, o as mn, s as pn, t as fn } from "./
|
|
7
|
+
import { Q as t, h as e, ht as n, ot as o, xt as s } from "./DHHYGjNwlLvja3dS.js";
|
|
8
|
+
import { Dt as r, F as a, G as i, Kt as l, Tt as c, U as d, Vt as m, ht as p, k as f, lt as h, p as u, v as g } from "./BSdRn3B8QeJFflY6.js";
|
|
9
|
+
import { f as x, o as y, p as v, u as w } from "./BUGEQS5WdiLcI_0X.js";
|
|
10
|
+
import { Ft as S, Gn as b, Ha as C, Mr as T, Pa as k, Wa as I, Yt as R, an as F, ft as E, io as M, lo as P, oa as A, pn as D, to as L } from "./C1PTfp7kVu3DqqZh.js";
|
|
11
|
+
import { n as _, y as N } from "./CGB4xgirbgEIN3tg.js";
|
|
12
|
+
import { n as $ } from "./BZxJKqVEO7B23XwE.js";
|
|
13
|
+
import { F as B, _t as O, gt as V, pt as W, vt as z, yt as j } from "./ryaMyh_8KvmXVSJd.js";
|
|
14
|
+
import { $t as X, A as H, An as U, At as G, Ct as q, D as J, Dn as K, Dr as Y, Dt as Z, En as Q, Et as et, F as nt, Ft as ot, G as st, Gn as rt, Gt as at, It as it, J as lt, Jn as ct, Jt as dt, Kn as mt, Kt as pt, L as ft, Lt as ht, M as ut, Mn as gt, Mt as xt, O as yt, Or as vt, Ot as wt, P as St, Pn as bt, Pt as Ct, Qn as Tt, R as kt, Rt as It, Sn as Rt, Sr as Ft, St as Et, Tn as Mt, Tr as Pt, Tt as At, U as Dt, Un as Lt, Ut as _t, Vt as Nt, W as $t, Wn as Bt, Xt as Vt, Yn as Wt, Yt as zt, Z as jt, Zt as Xt, _ as Ht, _r as Ut, ar as Gt, at as qt, b as Jt, bn as Kt, bt as Yt, c as Zt, cn as Qt, cr as te, ct as ee, d as ne, dn as oe, dr as se, dt as re, er as ae, et as ie, fr as ce, ft as de, gn as me, gr as pe, h as fe, hn as he, ht as ue, i as ge, ir as xe, it as ye, j as ve, jn as we, jr as Se, k as be, kn as Ce, kt as Te, l as ke, lr as Ie, lt as Re, n as Fe, nn as Ee, nt as Me, on as Pe, or as Ae, p as De, pn as Le, pr as _e, pt as Ne, qn as $e, r as Be, rn as Oe, rr as Ve, sn as We, st as ze, t as je, tn as Xe, tr as He, u as Ue, un as Ge, ur as qe, vn as Ke, vt as Ye, w as Ze, wn as Qe, wt as tn, y as en, yn as nn, yr as on, z as sn, zn as rn, zt as an } from "./BlxrCp7d-SeM-2DW.js";
|
|
15
|
+
import { i as ln, l as cn, n as dn, o as mn, s as pn, t as fn } from "./BaaVzb7xXROiWUhT.js";
|
|
16
16
|
var hn = [
|
|
17
17
|
["%EntityServiceId", "i"],
|
|
18
18
|
["_DisplayString", "s"],
|
|
@@ -27,7 +27,7 @@ var hn = [
|
|
|
27
27
|
], xn = (t) => {
|
|
28
28
|
const e = t.getName(), n = e.lastIndexOf(":");
|
|
29
29
|
return n > 0 ? e.substring(0, n) : e;
|
|
30
|
-
}, yn = (t) => t instanceof
|
|
30
|
+
}, yn = (t) => t instanceof P && "#spb" === xn(t.getKind()), vn = (t) => "" + t, wn = (t, e) => {
|
|
31
31
|
const n = [];
|
|
32
32
|
return t?.cardView && n.push(["ShowInCardView", "0"]), t?.dotNotation && n.push(["ShowInDotNotation", "0"]), t?.autoComplete && n.push(["ShowInAutoComplete", "0"]), e && t?.calcCompare && n.push(["ExcludeFromCalcComparison", "1"]), n;
|
|
33
33
|
}, Sn = "resourcesById", bn = class {
|
|
@@ -902,10 +902,10 @@ function so(n, s, r, a, i) {
|
|
|
902
902
|
};
|
|
903
903
|
}({
|
|
904
904
|
cells: m,
|
|
905
|
-
cols: l.cols ?
|
|
906
|
-
rows: l.rows ?
|
|
905
|
+
cols: l.cols ? D.refsToRuns(l.cols, !0) : [],
|
|
906
|
+
rows: l.rows ? D.refsToRuns(l.rows, !1) : []
|
|
907
907
|
}, d, a), g = { ...n };
|
|
908
|
-
u.cols.length > 0 ? g.cols =
|
|
908
|
+
u.cols.length > 0 ? g.cols = D.runsToRefs(u.cols, !0) : delete g.cols;
|
|
909
909
|
const x = function(t, e, n) {
|
|
910
910
|
if (0 === e.length && 0 === n.length) return t;
|
|
911
911
|
const o = [], s = (t) => {
|
|
@@ -936,9 +936,9 @@ function so(n, s, r, a, i) {
|
|
|
936
936
|
}
|
|
937
937
|
return r;
|
|
938
938
|
}(u.rows, h.top, h.bottom);
|
|
939
|
-
x.length > 0 ? g.rows =
|
|
939
|
+
x.length > 0 ? g.rows = D.runsToRefs(x, !1) : delete g.rows;
|
|
940
940
|
const y = u.cells;
|
|
941
|
-
return y.length > 0 ? g.directStyles = y.map(([t, e]) => [
|
|
941
|
+
return y.length > 0 ? g.directStyles = y.map(([t, e]) => [D.rangeToString(t, d), e]) : delete g.directStyles, g;
|
|
942
942
|
}
|
|
943
943
|
function ro(t, e) {
|
|
944
944
|
if (!t || !e) return t === e;
|
|
@@ -1307,7 +1307,7 @@ var xo = [
|
|
|
1307
1307
|
o.push([a.name, "spb"]), r.push(yn(i) ? "" + e(i) : "");
|
|
1308
1308
|
break;
|
|
1309
1309
|
case "array":
|
|
1310
|
-
o.push([a.name, "spba"]), r.push(i instanceof
|
|
1310
|
+
o.push([a.name, "spba"]), r.push(i instanceof R ? "" + t.addBagArray(s(i)) : "");
|
|
1311
1311
|
break;
|
|
1312
1312
|
case "integer":
|
|
1313
1313
|
o.push([a.name, "i"]), r.push(null == i ? "0" : "" + i);
|
|
@@ -1323,9 +1323,9 @@ var xo = [
|
|
|
1323
1323
|
const n = e.getElements(), o = Math.max(1, ...n.map((t) => t.length));
|
|
1324
1324
|
return t.addArray(n.length, o, s(e));
|
|
1325
1325
|
}, a = (e, o) => {
|
|
1326
|
-
if (e instanceof
|
|
1327
|
-
if (e instanceof
|
|
1328
|
-
if (e instanceof
|
|
1326
|
+
if (e instanceof P) return l(e);
|
|
1327
|
+
if (e instanceof R) return t.addValue(t.structureFor("_array", [["array", "a"]]), ["" + r(e)]);
|
|
1328
|
+
if (e instanceof L) return t.addValue(t.structureFor("_hyperlink", [["Address", "s"], ["Text", "s"]]), [e.getAddress() ?? "", "" + (e.getFriendlyName() ?? e.getAddress() ?? "")]);
|
|
1329
1329
|
if ("number" == typeof e) {
|
|
1330
1330
|
const s = o ? [["_Self", "" + t.addRichStyle({ numberFormat: o })]] : [];
|
|
1331
1331
|
return t.addValue(t.structureFor("_formattednumber", [["_Format", "spb"]]), ["" + n(s, "i")], vn(e));
|
|
@@ -1386,7 +1386,7 @@ var xo = [
|
|
|
1386
1386
|
yn(u) ? (p.push([h, "spb"]), f.push("" + e(u))) : (p.push([h, "r"]), f.push(null == u ? "" : "" + a(u, d[h]?.numberFormat)));
|
|
1387
1387
|
break;
|
|
1388
1388
|
case "array":
|
|
1389
|
-
p.push([h, "a"]), f.push(u instanceof
|
|
1389
|
+
p.push([h, "a"]), f.push(u instanceof R ? "" + r(u) : "");
|
|
1390
1390
|
break;
|
|
1391
1391
|
case "string":
|
|
1392
1392
|
p.push([h, "s"]), f.push(null == u ? "" : "" + u);
|
|
@@ -1423,7 +1423,7 @@ var xo = [
|
|
|
1423
1423
|
}
|
|
1424
1424
|
return i(e);
|
|
1425
1425
|
};
|
|
1426
|
-
return { writeCell: (t) => t instanceof
|
|
1426
|
+
return { writeCell: (t) => t instanceof P && !yn(t) ? l(t) : t instanceof R ? a(t, void 0) : null };
|
|
1427
1427
|
})(this), this._metaCollector = t, this._workbook = e, this._onWarn = n;
|
|
1428
1428
|
}
|
|
1429
1429
|
add(t, e = null) {
|
|
@@ -2463,7 +2463,7 @@ var Ps = 164, As = Object.freeze([
|
|
|
2463
2463
|
numFmtId: (t) => ((t, e) => (vs(t.styles, e, t.denormalized), parseInt(t.denormalized.numFmtMap.get(e) ?? "0", 10)))(n, t),
|
|
2464
2464
|
dxfId: (t) => o.add(t)
|
|
2465
2465
|
};
|
|
2466
|
-
}, tr = (t, e) => t.getSharedStates().get("pivotCachePaths")?.get(e) ?? null, er = "date1904", nr = (t) => !0 === t.getSharedStates().get(er), or = 0, sr =
|
|
2466
|
+
}, tr = (t, e) => t.getSharedStates().get("pivotCachePaths")?.get(e) ?? null, er = "date1904", nr = (t) => !0 === t.getSharedStates().get(er), or = 0, sr = A.BuiltInOperatorNames, rr = (t, e, n, o, s, r, a) => {
|
|
2467
2467
|
const i = o.sorts, l = i ? i.length : 0;
|
|
2468
2468
|
if (0 === l) return;
|
|
2469
2469
|
const c = {};
|
|
@@ -2472,7 +2472,7 @@ var Ps = 164, As = Object.freeze([
|
|
|
2472
2472
|
t && (c.caseSensitive = "object" != typeof t || Array.isArray(t) || "case" !== t.sensitivity && "variant" !== t.sensitivity ? "0" : "1");
|
|
2473
2473
|
}
|
|
2474
2474
|
const d = o.extent, m = n.getRange().getCoords(), p = (d ? an(m, d.range) : null) ?? r;
|
|
2475
|
-
c.ref =
|
|
2475
|
+
c.ref = D.rangeToString(p), c["xmlns:xlrd2"] = "http://schemas.microsoft.com/office/spreadsheetml/2017/richdata2", e.start("sortState", c);
|
|
2476
2476
|
for (let n = 0; n < l; n++) {
|
|
2477
2477
|
const o = i[n], s = o.criteria ?? {}, l = o.index + r.colStart, c = {};
|
|
2478
2478
|
s.reverse && (c.descending = "1");
|
|
@@ -2486,7 +2486,7 @@ var Ps = 164, As = Object.freeze([
|
|
|
2486
2486
|
colStart: l,
|
|
2487
2487
|
colEnd: l
|
|
2488
2488
|
});
|
|
2489
|
-
c.ref =
|
|
2489
|
+
c.ref = D.rangeToString(h);
|
|
2490
2490
|
const u = ue(s.sortOn);
|
|
2491
2491
|
u && (c.sortBy = u), void 0 !== s.style && (c.dxfId = hs(t.getSharedStates()).add(s.style)), void 0 !== s.iconSet && (c.iconSet = s.iconSet), void 0 !== s.customList && (c.customList = s.customList), e.empty("sortCondition", c);
|
|
2492
2492
|
}
|
|
@@ -2522,16 +2522,16 @@ var Ps = 164, As = Object.freeze([
|
|
|
2522
2522
|
const s = { operator: o.operator };
|
|
2523
2523
|
void 0 !== o.val && (s.val = o.val), e.empty("customFilter", s);
|
|
2524
2524
|
}, lr = /* @__PURE__ */ new Set([
|
|
2525
|
-
|
|
2526
|
-
|
|
2527
|
-
|
|
2525
|
+
A.BuiltInSelectorNames.Display,
|
|
2526
|
+
A.BuiltInSelectorNames.Date,
|
|
2527
|
+
A.BuiltInSelectorNames.Time
|
|
2528
2528
|
]), cr = (t, e, n, o, s, r = null) => {
|
|
2529
2529
|
const a = {};
|
|
2530
2530
|
a.colId = "" + n, s && (a.hiddenButton = "1"), o ? (e.start("filterColumn", a), ((t, e, n, o = null) => {
|
|
2531
2531
|
const s = n.operator, r = "string" == typeof n.selector ? n.selector : n.selector?.getName?.();
|
|
2532
|
-
if (r && !lr.has(r) && t.warn(`A '${r}' selector has no OOXML form in a Table AutoFilter; the rule is written without it`, n), !0 === n.includeBlanks && s !==
|
|
2533
|
-
if (s ===
|
|
2534
|
-
if (s ===
|
|
2532
|
+
if (r && !lr.has(r) && t.warn(`A '${r}' selector has no OOXML form in a Table AutoFilter; the rule is written without it`, n), !0 === n.includeBlanks && s !== A.BuiltInOperatorNames.InSet && s !== sr.Blank && t.warn("Ignore Blank has no OOXML form in a Table AutoFilter outside a values list; Excel will hide the blank rows", n), s === A.BuiltInOperatorNames.Expression) return void t.warn("Expression conditions not supported in Table AutoFilters", n);
|
|
2533
|
+
if (s === A.BuiltInOperatorNames.Unique) return void t.warn("Unique conditions not supported in Table AutoFilters", n);
|
|
2534
|
+
if (s === A.BuiltInOperatorNames.Color) {
|
|
2535
2535
|
const o = n.param, s = {};
|
|
2536
2536
|
void 0 !== o.cellColor && (s.cellColor = o.cellColor ? "1" : "0"), void 0 !== o.style && (s.dxfId = hs(t.getSharedStates()).add(o.style)), e.empty("colorFilter", s);
|
|
2537
2537
|
}
|
|
@@ -2546,10 +2546,10 @@ var Ps = 164, As = Object.freeze([
|
|
|
2546
2546
|
});
|
|
2547
2547
|
e.end("customFilters");
|
|
2548
2548
|
} else if (s !== sr.Blank) {
|
|
2549
|
-
if (s ===
|
|
2549
|
+
if (s === A.BuiltInOperatorNames.InSet) {
|
|
2550
2550
|
const s = n.param ?? {};
|
|
2551
2551
|
let r = Array.isArray(s.items) ? s.items : [];
|
|
2552
|
-
n.selector !==
|
|
2552
|
+
n.selector !== A.BuiltInSelectorNames.Display && r.some((t) => "string" != typeof t) && (r = ((t, e, n, o) => {
|
|
2553
2553
|
const s = [], r = [];
|
|
2554
2554
|
for (let t = 0; t < n.length; t++) {
|
|
2555
2555
|
const e = n[t];
|
|
@@ -2577,7 +2577,7 @@ var Ps = 164, As = Object.freeze([
|
|
|
2577
2577
|
e.end("customFilters");
|
|
2578
2578
|
}
|
|
2579
2579
|
} else U(n) ? (e.start("customFilters"), ir(t, e, n), e.end("customFilters")) : s === sr.Not && t.warn("Not rule with non-comparison criteria not supported in OOXML", n.param);
|
|
2580
|
-
if (s ===
|
|
2580
|
+
if (s === A.BuiltInOperatorNames.TimePeriod) {
|
|
2581
2581
|
const o = n.param, s = o?.type;
|
|
2582
2582
|
if (s && Qe.has(s)) {
|
|
2583
2583
|
const n = o.anchorDate, r = "number" == typeof n && Number.isFinite(n) ? tn(s, Math.floor(n), nr(t)) : null;
|
|
@@ -2588,15 +2588,15 @@ var Ps = 164, As = Object.freeze([
|
|
|
2588
2588
|
} : { type: s });
|
|
2589
2589
|
} else t.warn(`TimePeriod '${s}' has no OOXML dynamicFilter type; not written`, n.param);
|
|
2590
2590
|
}
|
|
2591
|
-
if (s ===
|
|
2592
|
-
const o = n.param, s = o?.type ===
|
|
2591
|
+
if (s === A.BuiltInOperatorNames.Average) {
|
|
2592
|
+
const o = n.param, s = o?.type === A.AverageType.Below ? "belowAverage" : "aboveAverage";
|
|
2593
2593
|
o?.stdDevs && t.warn(`Average with stdDevs has no OOXML spelling; written as ${s}`, n.param), e.empty("dynamicFilter", { type: s });
|
|
2594
2594
|
}
|
|
2595
|
-
if (s ===
|
|
2595
|
+
if (s === A.BuiltInOperatorNames.Icon) {
|
|
2596
2596
|
const t = n.param, o = {};
|
|
2597
2597
|
void 0 !== t.iconSet && (o.iconSet = t.iconSet), void 0 !== t.iconId && (o.iconId = "" + t.iconId), e.empty("iconFilter", o);
|
|
2598
2598
|
}
|
|
2599
|
-
if (s ===
|
|
2599
|
+
if (s === A.BuiltInOperatorNames.TopN) {
|
|
2600
2600
|
const o = n.param;
|
|
2601
2601
|
if (o.sum) return void t.warn("Top N by sum has no OOXML form in a Table AutoFilter; it is not written", n);
|
|
2602
2602
|
const s = {};
|
|
@@ -2636,7 +2636,7 @@ var Ps = 164, As = Object.freeze([
|
|
|
2636
2636
|
rowIndex: t.rowStart,
|
|
2637
2637
|
colIndex: t.colStart + n
|
|
2638
2638
|
}, a = s.parse(o, r);
|
|
2639
|
-
return a &&
|
|
2639
|
+
return a && E.image(s.spell(a, !1, e.getName()), { at: r }) || o;
|
|
2640
2640
|
} catch {
|
|
2641
2641
|
return o;
|
|
2642
2642
|
}
|
|
@@ -2969,7 +2969,7 @@ function Qr(t) {
|
|
|
2969
2969
|
if (e.isInvalid()) return null;
|
|
2970
2970
|
const n = e.getCoords()[0];
|
|
2971
2971
|
return n ? {
|
|
2972
|
-
ref:
|
|
2972
|
+
ref: D.cellToString({
|
|
2973
2973
|
rowIndex: n.rowStart,
|
|
2974
2974
|
colIndex: n.colStart
|
|
2975
2975
|
}),
|
|
@@ -3001,13 +3001,13 @@ function la(t, e, n, o) {
|
|
|
3001
3001
|
const r = [];
|
|
3002
3002
|
for (let o = e.rowStart; o <= e.rowEnd; o++) for (let a = e.colStart; a <= e.colEnd; a++) {
|
|
3003
3003
|
let i = n;
|
|
3004
|
-
o === e.rowStart && a === e.colStart || (s || (s = [],
|
|
3004
|
+
o === e.rowStart && a === e.colStart || (s || (s = [], D.normalizeA1ToR1C1(n, e.rowStart, e.colStart, s)), i = D.resolveRelativeToA1(s, o, a));
|
|
3005
3005
|
const l = ge(i, {
|
|
3006
3006
|
rowIndex: o,
|
|
3007
3007
|
colIndex: a
|
|
3008
3008
|
});
|
|
3009
3009
|
if (!l) return !1;
|
|
3010
|
-
const c = t.getRange(
|
|
3010
|
+
const c = t.getRange(D.cellToString({
|
|
3011
3011
|
rowIndex: o,
|
|
3012
3012
|
colIndex: a
|
|
3013
3013
|
})).getCell().getValue();
|
|
@@ -3023,7 +3023,7 @@ function la(t, e, n, o) {
|
|
|
3023
3023
|
}
|
|
3024
3024
|
function ca(t, e) {
|
|
3025
3025
|
let n = e.type;
|
|
3026
|
-
n ===
|
|
3026
|
+
n === M.ColorStopType.AutoMin ? n = M.ColorStopType.Min : n === M.ColorStopType.AutoMax && (n = M.ColorStopType.Max), t.empty("cfvo", {
|
|
3027
3027
|
type: n,
|
|
3028
3028
|
val: e.value,
|
|
3029
3029
|
gte: e.exclusive ? "0" : void 0
|
|
@@ -3058,33 +3058,30 @@ var ma = /* @__PURE__ */ new Set([
|
|
|
3058
3058
|
function pa(t) {
|
|
3059
3059
|
return (t.icon?.length ?? 0) > 0 || void 0 !== t.iconSet && !ma.has(t.iconSet);
|
|
3060
3060
|
}
|
|
3061
|
-
function fa(t
|
|
3061
|
+
function fa(t) {
|
|
3062
|
+
return [t.minPoint ?? { type: M.ColorStopType.Min }, t.maxPoint ?? { type: M.ColorStopType.Max }];
|
|
3063
|
+
}
|
|
3064
|
+
function ha(t, e, o, s, r, a, i, l, c) {
|
|
3062
3065
|
const d = s.scale;
|
|
3063
3066
|
s.ext && t.warn("Conditional format extension payload is not written to xlsx; it will be lost.");
|
|
3064
3067
|
const m = {
|
|
3065
3068
|
type: r.type,
|
|
3066
3069
|
dxfId: s.style && Object.keys(s.style).length > 0 ? l.add(s.style) : void 0,
|
|
3067
3070
|
priority: i,
|
|
3068
|
-
stopIfTrue:
|
|
3069
|
-
aboveAverage:
|
|
3070
|
-
equalAverage:
|
|
3071
|
+
stopIfTrue: xa(s.stopIfTrue),
|
|
3072
|
+
aboveAverage: xa(r.aboveAverage),
|
|
3073
|
+
equalAverage: xa(r.equalAverage),
|
|
3071
3074
|
stdDev: r.stdDev,
|
|
3072
|
-
bottom:
|
|
3073
|
-
percent:
|
|
3075
|
+
bottom: xa(r.bottom),
|
|
3076
|
+
percent: xa(r.percent),
|
|
3074
3077
|
rank: r.rank,
|
|
3075
3078
|
operator: r.operator,
|
|
3076
3079
|
text: r.text,
|
|
3077
3080
|
timePeriod: r.timePeriod
|
|
3078
3081
|
};
|
|
3079
3082
|
let p;
|
|
3080
|
-
d?.type ===
|
|
3081
|
-
|
|
3082
|
-
const e = t.stops, n = e ? e.length : 0;
|
|
3083
|
-
for (let t = 0; t < n; t++) {
|
|
3084
|
-
const n = e[t].type;
|
|
3085
|
-
if (n === I.ColorStopType.AutoMin || n === I.ColorStopType.AutoMax) return !0;
|
|
3086
|
-
}
|
|
3087
|
-
return !1;
|
|
3083
|
+
d?.type === M.ScaleType.DataBar && function(t) {
|
|
3084
|
+
return !!(t.solidFill || t.borderColor || t.negativeFillColor || t.negativeBorderColor || t.axisColor || t.axisPosition || t.direction) || t.minPoint?.type === M.ColorStopType.AutoMin || t.maxPoint?.type === M.ColorStopType.AutoMax;
|
|
3088
3085
|
}(d) && (p = Pt(n.uuidV4), c.push({
|
|
3089
3086
|
guid: p,
|
|
3090
3087
|
sqref: a,
|
|
@@ -3095,27 +3092,26 @@ function fa(t, e, o, s, r, a, i, l, c) {
|
|
|
3095
3092
|
if (0 !== h || d) {
|
|
3096
3093
|
e.start("cfRule", m);
|
|
3097
3094
|
for (let t = 0; t < h; t++) e.start("formula"), e.text(f[t]), e.end("formula");
|
|
3098
|
-
if (d?.type ===
|
|
3095
|
+
if (d?.type === M.ScaleType.ColorScale) {
|
|
3099
3096
|
const t = d.stops ?? [];
|
|
3100
3097
|
e.start("colorScale");
|
|
3101
3098
|
for (let n = 0; n < t.length; n++) ca(e, t[n]);
|
|
3102
3099
|
for (let n = 0; n < t.length; n++) Ao(e, o, t[n].color, "color");
|
|
3103
3100
|
e.end("colorScale");
|
|
3104
|
-
} else if (d?.type ===
|
|
3105
|
-
const t = d.stops ?? [];
|
|
3101
|
+
} else if (d?.type === M.ScaleType.DataBar) {
|
|
3106
3102
|
e.start("dataBar", {
|
|
3107
3103
|
minLength: d.minLength ?? 0,
|
|
3108
3104
|
maxLength: d.maxLength ?? 100,
|
|
3109
|
-
showValue:
|
|
3105
|
+
showValue: xa(d.showValue)
|
|
3110
3106
|
});
|
|
3111
|
-
|
|
3112
|
-
|
|
3113
|
-
} else if (d?.type ===
|
|
3107
|
+
const [t, n] = fa(d);
|
|
3108
|
+
ca(e, t), ca(e, n), Ao(e, o, d.color ?? "#638EC6", "color"), e.end("dataBar");
|
|
3109
|
+
} else if (d?.type === M.ScaleType.IconSet) {
|
|
3114
3110
|
const t = d.stops ?? [];
|
|
3115
3111
|
e.start("iconSet", {
|
|
3116
3112
|
iconSet: d.iconSet,
|
|
3117
|
-
reverse:
|
|
3118
|
-
showValue:
|
|
3113
|
+
reverse: xa(d.reverse),
|
|
3114
|
+
showValue: xa(d.showValue)
|
|
3119
3115
|
});
|
|
3120
3116
|
for (let n = 0; n < t.length; n++) ca(e, t[n]);
|
|
3121
3117
|
e.end("iconSet");
|
|
@@ -3126,35 +3122,35 @@ function fa(t, e, o, s, r, a, i, l, c) {
|
|
|
3126
3122
|
}), e.start("x14:id"), e.text(p), e.end("x14:id"), e.end("ext"), e.end("extLst")), e.end("cfRule");
|
|
3127
3123
|
} else e.empty("cfRule", m);
|
|
3128
3124
|
}
|
|
3129
|
-
function
|
|
3125
|
+
function ua(t) {
|
|
3130
3126
|
let e = Number.MAX_SAFE_INTEGER, n = Number.MAX_SAFE_INTEGER;
|
|
3131
3127
|
const o = t.split(" ");
|
|
3132
3128
|
for (let t = 0; t < o.length; t++) {
|
|
3133
3129
|
if (!o[t]) continue;
|
|
3134
|
-
const s =
|
|
3130
|
+
const s = D.fastStringToRange(o[t]);
|
|
3135
3131
|
s.rowStart < e && (e = s.rowStart), s.colStart < n && (n = s.colStart);
|
|
3136
3132
|
}
|
|
3137
|
-
return
|
|
3133
|
+
return D.cellToString({
|
|
3138
3134
|
rowIndex: e,
|
|
3139
3135
|
colIndex: n
|
|
3140
3136
|
});
|
|
3141
3137
|
}
|
|
3142
|
-
function
|
|
3138
|
+
function ga(t) {
|
|
3143
3139
|
if ("string" == typeof t) return t.split(",").join(" ");
|
|
3144
3140
|
if (Array.isArray(t)) {
|
|
3145
3141
|
const e = [];
|
|
3146
3142
|
for (let n = 0; n < t.length; n++) {
|
|
3147
|
-
const o =
|
|
3143
|
+
const o = D.rangeToString(t[n]);
|
|
3148
3144
|
o && e.push(o);
|
|
3149
3145
|
}
|
|
3150
3146
|
return e.length > 0 ? e.join(" ") : null;
|
|
3151
3147
|
}
|
|
3152
|
-
return
|
|
3148
|
+
return D.rangeToString(t);
|
|
3153
3149
|
}
|
|
3154
|
-
function
|
|
3150
|
+
function xa(t) {
|
|
3155
3151
|
if (void 0 !== t) return t ? "1" : "0";
|
|
3156
3152
|
}
|
|
3157
|
-
function
|
|
3153
|
+
function ya(t) {
|
|
3158
3154
|
if ("string" != typeof t) return !1;
|
|
3159
3155
|
let e = !1;
|
|
3160
3156
|
for (let n = 0; n < t.length; n++) {
|
|
@@ -3164,17 +3160,17 @@ function xa(t) {
|
|
|
3164
3160
|
}
|
|
3165
3161
|
return !1;
|
|
3166
3162
|
}
|
|
3167
|
-
function
|
|
3163
|
+
function va(t) {
|
|
3168
3164
|
const e = t.formulas, n = e ? e.length : 0;
|
|
3169
|
-
for (let t = 0; t < n; t++) if (
|
|
3165
|
+
for (let t = 0; t < n; t++) if (ya(e[t])) return !0;
|
|
3170
3166
|
return !1;
|
|
3171
3167
|
}
|
|
3172
|
-
function
|
|
3168
|
+
function wa(t) {
|
|
3173
3169
|
let e = Number.MAX_SAFE_INTEGER, n = Number.MAX_SAFE_INTEGER;
|
|
3174
3170
|
const o = t.split(" ");
|
|
3175
3171
|
for (let t = 0; t < o.length; t++) {
|
|
3176
3172
|
if (!o[t]) continue;
|
|
3177
|
-
const s =
|
|
3173
|
+
const s = D.fastStringToRange(o[t]);
|
|
3178
3174
|
s.rowStart < e && (e = s.rowStart), s.colStart < n && (n = s.colStart);
|
|
3179
3175
|
}
|
|
3180
3176
|
return e === Number.MAX_SAFE_INTEGER ? null : {
|
|
@@ -3182,38 +3178,49 @@ function va(t) {
|
|
|
3182
3178
|
colIndex: n
|
|
3183
3179
|
};
|
|
3184
3180
|
}
|
|
3185
|
-
function
|
|
3181
|
+
function Sa(t, e, n) {
|
|
3186
3182
|
if ("string" != typeof t || !t || !e || !n) return t;
|
|
3187
3183
|
try {
|
|
3188
3184
|
const o = n.parse(t, e);
|
|
3189
|
-
return o &&
|
|
3185
|
+
return o && E.image(n.spell(o, !0), { at: e }) || t;
|
|
3190
3186
|
} catch {
|
|
3191
3187
|
return t;
|
|
3192
3188
|
}
|
|
3193
3189
|
}
|
|
3194
|
-
function
|
|
3195
|
-
|
|
3196
|
-
|
|
3197
|
-
|
|
3198
|
-
|
|
3199
|
-
const
|
|
3200
|
-
|
|
3201
|
-
|
|
3202
|
-
|
|
3203
|
-
|
|
3204
|
-
|
|
3205
|
-
|
|
3190
|
+
function ba(t, e, n) {
|
|
3191
|
+
if (!t || !n) return t;
|
|
3192
|
+
const o = (t) => {
|
|
3193
|
+
const o = t?.value;
|
|
3194
|
+
if ("string" != typeof o) return t;
|
|
3195
|
+
const s = Sa(o, e, n);
|
|
3196
|
+
return s === o ? t : {
|
|
3197
|
+
...t,
|
|
3198
|
+
value: s
|
|
3199
|
+
};
|
|
3200
|
+
};
|
|
3201
|
+
if (t.type === M.ScaleType.DataBar) {
|
|
3202
|
+
const e = o(t.minPoint), n = o(t.maxPoint);
|
|
3203
|
+
if (e === t.minPoint && n === t.maxPoint) return t;
|
|
3204
|
+
const s = { ...t };
|
|
3205
|
+
return e && (s.minPoint = e), n && (s.maxPoint = n), s;
|
|
3206
|
+
}
|
|
3207
|
+
const s = t.stops;
|
|
3208
|
+
if (!s) return t;
|
|
3209
|
+
let r;
|
|
3210
|
+
for (let t = 0; t < s.length; t++) {
|
|
3211
|
+
const e = o(s[t]);
|
|
3212
|
+
e !== s[t] && (r || (r = [...s]), r[t] = e);
|
|
3206
3213
|
}
|
|
3207
|
-
return
|
|
3214
|
+
return r ? {
|
|
3208
3215
|
...t,
|
|
3209
|
-
stops:
|
|
3216
|
+
stops: r
|
|
3210
3217
|
} : t;
|
|
3211
3218
|
}
|
|
3212
|
-
function
|
|
3219
|
+
function Ca(t) {
|
|
3213
3220
|
const e = t.getDataValidations().getSettings(), n = {};
|
|
3214
3221
|
return e.disablePrompts && (n.disablePrompts = "1"), void 0 !== e.windowX && (n.xWindow = e.windowX), void 0 !== e.windowY && (n.yWindow = e.windowY), n;
|
|
3215
3222
|
}
|
|
3216
|
-
function
|
|
3223
|
+
function Ta(t, e, n) {
|
|
3217
3224
|
if (!n || 0 === n.length) return;
|
|
3218
3225
|
const o = n.filter((t) => !t.automatic).length;
|
|
3219
3226
|
t.start(e, {
|
|
@@ -3226,12 +3233,12 @@ function Ca(t, e, n) {
|
|
|
3226
3233
|
}
|
|
3227
3234
|
t.end(e);
|
|
3228
3235
|
}
|
|
3229
|
-
function
|
|
3236
|
+
function ka(t, e, n, o) {
|
|
3230
3237
|
if (!o?.xml) return;
|
|
3231
3238
|
const s = t.addPart("legacyDrawing", o);
|
|
3232
3239
|
e.empty(n, { "r:id": s.relId });
|
|
3233
3240
|
}
|
|
3234
|
-
var
|
|
3241
|
+
var Ia = (t, e, n, o) => {
|
|
3235
3242
|
const s = (e, n) => {
|
|
3236
3243
|
const o = t.getRangeAtBounds({
|
|
3237
3244
|
x: e,
|
|
@@ -3278,15 +3285,15 @@ var ka = (t, e, n, o) => {
|
|
|
3278
3285
|
bounds: r,
|
|
3279
3286
|
anchor: [...s(r.x, r.y), ...s(r.x + r.width, r.y + r.height)]
|
|
3280
3287
|
};
|
|
3281
|
-
},
|
|
3288
|
+
}, Ra = et + 1, Fa = (t, e, n) => {
|
|
3282
3289
|
t.start(e), t.start("xdr:col"), t.text(n.c ?? 0), t.end("xdr:col"), t.start("xdr:colOff"), t.text(cs(n.x)), t.end("xdr:colOff"), t.start("xdr:row"), t.text(n.r ?? 0), t.end("xdr:row"), t.start("xdr:rowOff"), t.text(cs(n.y)), t.end("xdr:rowOff"), t.end(e);
|
|
3283
|
-
},
|
|
3290
|
+
}, Ea = {
|
|
3284
3291
|
r: void 0,
|
|
3285
3292
|
s: void 0,
|
|
3286
3293
|
t: void 0,
|
|
3287
3294
|
cm: void 0,
|
|
3288
3295
|
vm: void 0
|
|
3289
|
-
},
|
|
3296
|
+
}, Ma = {
|
|
3290
3297
|
r: void 0,
|
|
3291
3298
|
s: void 0,
|
|
3292
3299
|
customFormat: void 0,
|
|
@@ -3298,30 +3305,30 @@ var ka = (t, e, n, o) => {
|
|
|
3298
3305
|
collapsed: void 0,
|
|
3299
3306
|
thickTop: void 0,
|
|
3300
3307
|
thickBot: void 0
|
|
3301
|
-
},
|
|
3308
|
+
}, Pa = {
|
|
3302
3309
|
t: void 0,
|
|
3303
3310
|
aca: void 0,
|
|
3304
3311
|
ref: void 0,
|
|
3305
3312
|
ca: void 0,
|
|
3306
3313
|
si: void 0
|
|
3307
|
-
},
|
|
3314
|
+
}, Aa = {
|
|
3308
3315
|
t: "shared",
|
|
3309
3316
|
aca: void 0,
|
|
3310
3317
|
ref: void 0,
|
|
3311
3318
|
ca: void 0,
|
|
3312
3319
|
si: void 0
|
|
3313
|
-
},
|
|
3320
|
+
}, Da = {
|
|
3314
3321
|
t: "array",
|
|
3315
3322
|
aca: void 0,
|
|
3316
3323
|
ref: void 0,
|
|
3317
3324
|
ca: void 0,
|
|
3318
3325
|
si: void 0
|
|
3319
3326
|
};
|
|
3320
|
-
function
|
|
3327
|
+
function La(t, e) {
|
|
3321
3328
|
const n = ke.test(e) ? Fe : void 0;
|
|
3322
3329
|
t.start("t", n), t.text(ie(e)), t.end("t");
|
|
3323
3330
|
}
|
|
3324
|
-
var
|
|
3331
|
+
var _a = (t) => String(Math.round(1e3 * t)), Na = (t) => void 0 === t ? void 0 : t ? "1" : "0", $a = /* @__PURE__ */ new Set([
|
|
3325
3332
|
"text",
|
|
3326
3333
|
"runs",
|
|
3327
3334
|
"paragraphs",
|
|
@@ -3355,33 +3362,33 @@ var La = (t) => String(Math.round(1e3 * t)), _a = (t) => void 0 === t ? void 0 :
|
|
|
3355
3362
|
"effects",
|
|
3356
3363
|
"fill",
|
|
3357
3364
|
"stroke"
|
|
3358
|
-
]),
|
|
3365
|
+
]), Ba = {
|
|
3359
3366
|
latin: "lt",
|
|
3360
3367
|
ea: "ea",
|
|
3361
3368
|
cs: "cs",
|
|
3362
3369
|
sym: "lt",
|
|
3363
3370
|
buFont: "lt"
|
|
3364
|
-
},
|
|
3371
|
+
}, Oa = (t, e, n) => {
|
|
3365
3372
|
if (!n) return;
|
|
3366
|
-
const o = void 0 !== n.scheme && n.scheme !== i.Scheme.None ? `+${n.scheme === i.Scheme.Major ? "mj" : "mn"}-${
|
|
3373
|
+
const o = void 0 !== n.scheme && n.scheme !== i.Scheme.None ? `+${n.scheme === i.Scheme.Major ? "mj" : "mn"}-${Ba[e]}` : n.family;
|
|
3367
3374
|
void 0 !== o && t.empty(e, {
|
|
3368
3375
|
typeface: o,
|
|
3369
3376
|
panose: n.panose,
|
|
3370
3377
|
pitchFamily: n.pitch,
|
|
3371
3378
|
charset: Oe(n.charset)
|
|
3372
3379
|
});
|
|
3373
|
-
},
|
|
3380
|
+
}, Va = (t, e, o, s, r = n.EmptyObject) => {
|
|
3374
3381
|
const a = t.getXMLWriter(), i = ((t, e, o = n.EmptyArray) => {
|
|
3375
3382
|
if (!e) return { ...o };
|
|
3376
3383
|
const s = { ...o };
|
|
3377
|
-
for (const t of Object.keys(e))
|
|
3384
|
+
for (const t of Object.keys(e)) $a.has(t) || void 0 === e[t] || (s[t] = e[t]);
|
|
3378
3385
|
const { size: r, kern: a, weight: i, style: l, b: c, i: d, spc: m, baseline: p } = e, f = e;
|
|
3379
|
-
return void 0 !== f.language && (s.lang = f.language), void 0 !== f.alternateLanguage && (s.altLang = f.alternateLanguage), void 0 !== r && (s.sz = "" + ms(r)), void 0 !== c && (s.b = c ? "1" : "0"), void 0 !== i && (s.b = i > 500 ? "1" : "0"), void 0 !== d && (s.i = d ? "1" : "0"), void 0 !== l && (s.i = "italic" === l ? "1" : "0"), void 0 !== e.italic && (s.i = e.italic ? "1" : "0"), void 0 !== f.underline && (s.u = Ce.write(f.underline)), void 0 !== f.strike && (s.strike = at.write(f.strike)), void 0 !== a && (s.kern = "" + ms(a)), void 0 !== f.kerning && (s.kern = "" + ms(f.kerning)), void 0 !== m && (s.spc = "" + ms(m)), void 0 !== f.letterSpacing && (s.spc = "" + ms(f.letterSpacing)), void 0 !== p && (s.baseline =
|
|
3386
|
+
return void 0 !== f.language && (s.lang = f.language), void 0 !== f.alternateLanguage && (s.altLang = f.alternateLanguage), void 0 !== r && (s.sz = "" + ms(r)), void 0 !== c && (s.b = c ? "1" : "0"), void 0 !== i && (s.b = i > 500 ? "1" : "0"), void 0 !== d && (s.i = d ? "1" : "0"), void 0 !== l && (s.i = "italic" === l ? "1" : "0"), void 0 !== e.italic && (s.i = e.italic ? "1" : "0"), void 0 !== f.underline && (s.u = Ce.write(f.underline)), void 0 !== f.strike && (s.strike = at.write(f.strike)), void 0 !== a && (s.kern = "" + ms(a)), void 0 !== f.kerning && (s.kern = "" + ms(f.kerning)), void 0 !== m && (s.spc = "" + ms(m)), void 0 !== f.letterSpacing && (s.spc = "" + ms(f.letterSpacing)), void 0 !== p && (s.baseline = _a(p)), void 0 !== f.capitals && (s.cap = f.capitals), void 0 !== f.normalizeHeight && (s.normalizeH = Na(f.normalizeHeight)), s;
|
|
3380
3387
|
})(0, s ?? {}, r);
|
|
3381
|
-
s?.outline || s?.color || s?.effects?.length || s?.highlight || s?.font || s?.eastAsianFont || s?.complexScriptFont || s?.symbolFont || s?.hyperlink ? (a.start(o, i), s.outline && Ho(t, a, s.outline, e), s.color && Xo(t, a, s.color, e), s.effects?.length && qo(t, a, e.getTheme(), s.effects), s.highlight && (a.start("highlight"), Mo(a, e.getTheme(), s.highlight), a.end("highlight")),
|
|
3382
|
-
},
|
|
3383
|
-
n && (t.start(e), "percent" in n ? t.empty("spcPct", { val:
|
|
3384
|
-
},
|
|
3388
|
+
s?.outline || s?.color || s?.effects?.length || s?.highlight || s?.font || s?.eastAsianFont || s?.complexScriptFont || s?.symbolFont || s?.hyperlink ? (a.start(o, i), s.outline && Ho(t, a, s.outline, e), s.color && Xo(t, a, s.color, e), s.effects?.length && qo(t, a, e.getTheme(), s.effects), s.highlight && (a.start("highlight"), Mo(a, e.getTheme(), s.highlight), a.end("highlight")), Oa(a, "latin", s.font), Oa(a, "ea", s.eastAsianFont), Oa(a, "cs", s.complexScriptFont), Oa(a, "sym", s.symbolFont), jo(t, a, "hlinkClick", s.hyperlink), a.end(o)) : a.empty(o, i);
|
|
3389
|
+
}, Wa = (t, e, n) => {
|
|
3390
|
+
n && (t.start(e), "percent" in n ? t.empty("spcPct", { val: _a(n.percent) }) : t.empty("spcPts", { val: String(Math.round(100 * n.points)) }), t.end(e));
|
|
3391
|
+
}, za = (t, e, n, o) => {
|
|
3385
3392
|
const s = t.getXMLWriter(), r = {
|
|
3386
3393
|
marL: void 0 === o.marginLeft ? void 0 : String(cs(o.marginLeft)),
|
|
3387
3394
|
marR: void 0 === o.marginRight ? void 0 : String(cs(o.marginRight)),
|
|
@@ -3389,14 +3396,14 @@ var La = (t) => String(Math.round(1e3 * t)), _a = (t) => void 0 === t ? void 0 :
|
|
|
3389
3396
|
indent: void 0 === o.indent ? void 0 : String(cs(o.indent)),
|
|
3390
3397
|
algn: ht.write(o.align),
|
|
3391
3398
|
defTabSz: void 0 === o.defaultTabSize ? void 0 : String(cs(o.defaultTabSize)),
|
|
3392
|
-
rtl:
|
|
3393
|
-
eaLnBrk:
|
|
3399
|
+
rtl: Na(o.rightToLeft),
|
|
3400
|
+
eaLnBrk: Na(o.eastAsianLineBreak),
|
|
3394
3401
|
fontAlgn: Gt.write(o.fontAlign),
|
|
3395
|
-
latinLnBrk:
|
|
3396
|
-
hangingPunct:
|
|
3402
|
+
latinLnBrk: Na(o.latinLineBreak),
|
|
3403
|
+
hangingPunct: Na(o.hangingPunctuation)
|
|
3397
3404
|
}, a = o.bullet;
|
|
3398
3405
|
if (o.lineSpacing || o.spaceBefore || o.spaceAfter || a || o.tabs || o.defaultRun) {
|
|
3399
|
-
if (s.start(n, r),
|
|
3406
|
+
if (s.start(n, r), Wa(s, "lnSpc", o.lineSpacing), Wa(s, "spcBef", o.spaceBefore), Wa(s, "spcAft", o.spaceAfter), a) switch (a.colorFollowsText ? s.empty("buClrTx") : a.color && (s.start("buClr"), Mo(s, e.getTheme(), a.color), s.end("buClr")), a.sizeFollowsText ? s.empty("buSzTx") : a.size && ("percent" in a.size ? s.empty("buSzPct", { val: _a(a.size.percent) }) : s.empty("buSzPts", { val: String(Math.round(100 * a.size.points)) })), a.fontFollowsText ? s.empty("buFontTx") : Oa(s, "buFont", a.font), a.type) {
|
|
3400
3407
|
case "none":
|
|
3401
3408
|
s.empty("buNone");
|
|
3402
3409
|
break;
|
|
@@ -3416,14 +3423,14 @@ var La = (t) => String(Math.round(1e3 * t)), _a = (t) => void 0 === t ? void 0 :
|
|
|
3416
3423
|
});
|
|
3417
3424
|
s.end("tabLst");
|
|
3418
3425
|
}
|
|
3419
|
-
o.defaultRun &&
|
|
3426
|
+
o.defaultRun && Va(t, e, "defRPr", o.defaultRun), s.end(n);
|
|
3420
3427
|
} else s.empty(n, r);
|
|
3421
|
-
},
|
|
3428
|
+
}, ja = (t) => t === h.Overflow.Visible ? void 0 : rt.write(t), Xa = (t, e) => {
|
|
3422
3429
|
const n = e.body ?? {}, o = n.insets, s = {
|
|
3423
3430
|
rot: void 0 === e.rotation ? void 0 : String(Math.round(6e4 * e.rotation)),
|
|
3424
|
-
spcFirstLastPara:
|
|
3425
|
-
vertOverflow:
|
|
3426
|
-
horzOverflow:
|
|
3431
|
+
spcFirstLastPara: Na(n.spaceFirstLastParagraph),
|
|
3432
|
+
vertOverflow: ja(n.verticalOverflow ?? f.TEXT_DEFAULTS.verticalOverflow),
|
|
3433
|
+
horzOverflow: ja(n.horizontalOverflow ?? f.TEXT_DEFAULTS.horizontalOverflow),
|
|
3427
3434
|
vert: _e.write(n.vertical),
|
|
3428
3435
|
wrap: n.wrap,
|
|
3429
3436
|
lIns: void 0 === o?.left ? void 0 : String(cs(o.left)),
|
|
@@ -3432,13 +3439,13 @@ var La = (t) => String(Math.round(1e3 * t)), _a = (t) => void 0 === t ? void 0 :
|
|
|
3432
3439
|
bIns: void 0 === o?.bottom ? void 0 : String(cs(o.bottom)),
|
|
3433
3440
|
numCol: void 0 === n.columns ? void 0 : String(n.columns),
|
|
3434
3441
|
spcCol: void 0 === n.columnSpacing ? void 0 : String(cs(n.columnSpacing)),
|
|
3435
|
-
rtlCol:
|
|
3436
|
-
fromWordArt:
|
|
3442
|
+
rtlCol: Na(n.rightToLeftColumns),
|
|
3443
|
+
fromWordArt: Na(n.fromWordArt),
|
|
3437
3444
|
anchor: Kt.write(n.anchor),
|
|
3438
|
-
anchorCtr:
|
|
3439
|
-
forceAA:
|
|
3440
|
-
upright:
|
|
3441
|
-
compatLnSpc:
|
|
3445
|
+
anchorCtr: Na(n.anchorCenter),
|
|
3446
|
+
forceAA: Na(n.forceAntiAlias),
|
|
3447
|
+
upright: Na(n.upright),
|
|
3448
|
+
compatLnSpc: Na(n.compatibleLineSpacing)
|
|
3442
3449
|
};
|
|
3443
3450
|
if (n.warp || n.autoFit || n.extLst) {
|
|
3444
3451
|
if (t.start("bodyPr", s), n.warp) {
|
|
@@ -3462,25 +3469,25 @@ var La = (t) => String(Math.round(1e3 * t)), _a = (t) => void 0 === t ? void 0 :
|
|
|
3462
3469
|
t.empty("spAutoFit");
|
|
3463
3470
|
break;
|
|
3464
3471
|
case h.Autofit.Normal: t.empty("normAutofit", {
|
|
3465
|
-
fontScale: void 0 === n.fontScale ? void 0 :
|
|
3466
|
-
lnSpcReduction: void 0 === n.lineSpacingReduction ? void 0 :
|
|
3472
|
+
fontScale: void 0 === n.fontScale ? void 0 : _a(n.fontScale),
|
|
3473
|
+
lnSpcReduction: void 0 === n.lineSpacingReduction ? void 0 : _a(n.lineSpacingReduction)
|
|
3467
3474
|
});
|
|
3468
3475
|
}
|
|
3469
3476
|
n.extLst && t.raw(n.extLst), t.end("bodyPr");
|
|
3470
3477
|
} else t.empty("bodyPr", s);
|
|
3471
|
-
},
|
|
3478
|
+
}, Ha = (t, e, n) => {
|
|
3472
3479
|
const o = t.getXMLWriter();
|
|
3473
|
-
n && (n.default || n.levels?.some((t) => t)) ? (o.start("lstStyle"), n.default &&
|
|
3474
|
-
n &&
|
|
3480
|
+
n && (n.default || n.levels?.some((t) => t)) ? (o.start("lstStyle"), n.default && za(t, e, "defPPr", n.default), n.levels?.forEach((n, o) => {
|
|
3481
|
+
n && za(t, e, `lvl${o + 1}pPr`, n);
|
|
3475
3482
|
}), o.end("lstStyle")) : o.empty("lstStyle");
|
|
3476
|
-
},
|
|
3483
|
+
}, Ua = (t, e, n, o) => {
|
|
3477
3484
|
const s = t.getXMLWriter();
|
|
3478
3485
|
s.pushDefaultNamespace("a"), s.start("p");
|
|
3479
3486
|
const { runs: r, endRun: a, ...i } = o, l = void 0 !== f.inheritedTextSize(n, o) ? (t) => t : (t) => void 0 === t.size ? {
|
|
3480
3487
|
...t,
|
|
3481
3488
|
size: f.TEXT_DEFAULTS.size
|
|
3482
3489
|
} : t;
|
|
3483
|
-
((t) => !!t && Object.keys(t).some((e) => "runs" !== e && "endRun" !== e && void 0 !== t[e]))(i) &&
|
|
3490
|
+
((t) => !!t && Object.keys(t).some((e) => "runs" !== e && "endRun" !== e && void 0 !== t[e]))(i) && za(t, e, "pPr", i);
|
|
3484
3491
|
for (const n of r ?? []) {
|
|
3485
3492
|
if ("\n" === n?.text) {
|
|
3486
3493
|
s.empty("br");
|
|
@@ -3490,22 +3497,22 @@ var La = (t) => String(Math.round(1e3 * t)), _a = (t) => void 0 === t ? void 0 :
|
|
|
3490
3497
|
s.start(i, r ? {
|
|
3491
3498
|
id: r.id,
|
|
3492
3499
|
type: r.type
|
|
3493
|
-
} : {}),
|
|
3500
|
+
} : {}), Va(t, e, "rPr", l(a)), s.start("t"), s.text(o ?? ""), s.end("t"), s.end(i);
|
|
3494
3501
|
}
|
|
3495
|
-
!a && r?.length ||
|
|
3496
|
-
},
|
|
3502
|
+
!a && r?.length || Va(t, e, "endParaRPr", l(a ?? {})), s.end("p"), s.popDefaultNamespace();
|
|
3503
|
+
}, Ga = (t, e, n) => {
|
|
3497
3504
|
if (!n) return;
|
|
3498
3505
|
const o = t.getXMLWriter(), s = ((t) => "string" == typeof t ? { paragraphs: [{ runs: [{ text: t }] }] } : Array.isArray(t?.paragraphs) ? t : { paragraphs: [t] })(n);
|
|
3499
|
-
o.start("txBody"), o.pushDefaultNamespace("a"),
|
|
3506
|
+
o.start("txBody"), o.pushDefaultNamespace("a"), Xa(o, s), Ha(t, e, s.listStyle);
|
|
3500
3507
|
const r = 0 === s.paragraphs.length ? [{ runs: [] }] : s.paragraphs;
|
|
3501
|
-
for (const n of r)
|
|
3508
|
+
for (const n of r) Ua(t, e, s, n);
|
|
3502
3509
|
o.popDefaultNamespace(), o.end("txBody");
|
|
3503
|
-
},
|
|
3510
|
+
}, qa = (t, e, n) => {
|
|
3504
3511
|
const o = t.getXMLWriter();
|
|
3505
3512
|
if (!n) return o.empty("bodyPr"), void o.empty("lstStyle");
|
|
3506
|
-
|
|
3513
|
+
Xa(o, n), Ha(t, e, n.listStyle);
|
|
3507
3514
|
};
|
|
3508
|
-
function
|
|
3515
|
+
function Ja(t, e, n, o) {
|
|
3509
3516
|
t.start(o);
|
|
3510
3517
|
const s = { typeface: e.latin || n };
|
|
3511
3518
|
e.panose && (s.panose = e.panose), t.empty("latin", s), t.empty("ea", { typeface: e.eastAsian ?? "" }), t.empty("cs", { typeface: e.complexScript ?? "" });
|
|
@@ -3516,11 +3523,11 @@ function qa(t, e, n, o) {
|
|
|
3516
3523
|
});
|
|
3517
3524
|
t.end(o);
|
|
3518
3525
|
}
|
|
3519
|
-
var
|
|
3526
|
+
var Ka = [
|
|
3520
3527
|
["shape", "spDef"],
|
|
3521
3528
|
["line", "lnDef"],
|
|
3522
3529
|
["text", "txDef"]
|
|
3523
|
-
],
|
|
3530
|
+
], Ya = { checkbox: "Checkbox" }, Za = [
|
|
3524
3531
|
["dc:title", "title"],
|
|
3525
3532
|
["dc:subject", "subject"],
|
|
3526
3533
|
["dc:creator", "author"],
|
|
@@ -3541,15 +3548,15 @@ var Ja = [
|
|
|
3541
3548
|
["cp:category", "category"],
|
|
3542
3549
|
["cp:contentStatus", "contentStatus"],
|
|
3543
3550
|
["cp:revision", "revisionNumber"]
|
|
3544
|
-
],
|
|
3551
|
+
], Qa = (t, e, n, o) => {
|
|
3545
3552
|
e.start(n), e.text(o), e.end(n);
|
|
3546
|
-
},
|
|
3553
|
+
}, ti = {
|
|
3547
3554
|
[_.Type.String]: "vt:lpwstr",
|
|
3548
3555
|
[_.Type.Number]: "vt:i4",
|
|
3549
3556
|
[_.Type.Float]: "vt:r8",
|
|
3550
3557
|
[_.Type.Boolean]: "vt:bool",
|
|
3551
3558
|
[_.Type.Date]: "vt:filetime"
|
|
3552
|
-
},
|
|
3559
|
+
}, ei = (t) => t.split(".")[0] + "Z", ni = {
|
|
3553
3560
|
minSupportedVersion: "120000",
|
|
3554
3561
|
copy: "1",
|
|
3555
3562
|
pasteAll: "1",
|
|
@@ -3561,42 +3568,42 @@ var Ja = [
|
|
|
3561
3568
|
clearComments: "1",
|
|
3562
3569
|
assign: "1",
|
|
3563
3570
|
coerce: "1"
|
|
3564
|
-
},
|
|
3571
|
+
}, oi = "http://schemas.microsoft.com/office/spreadsheetml/2017/richdata2", si = (t, e) => {
|
|
3565
3572
|
for (const [n, o] of e) t.start("v", n ? { t: n } : void 0), t.text(o), t.end("v");
|
|
3566
|
-
},
|
|
3573
|
+
}, ri = (t) => void 0 === t || "_" === t ? void 0 : t, ai = (t, e) => {
|
|
3567
3574
|
const n = e.indexOf(" ");
|
|
3568
3575
|
n < 0 || t.empty("gd", {
|
|
3569
3576
|
name: e.slice(0, n),
|
|
3570
3577
|
fmla: e.slice(n + 1).trim()
|
|
3571
3578
|
});
|
|
3572
|
-
},
|
|
3579
|
+
}, ii = (t, e, n) => {
|
|
3573
3580
|
t.empty("pos", {
|
|
3574
3581
|
x: e,
|
|
3575
3582
|
y: n
|
|
3576
3583
|
});
|
|
3577
|
-
},
|
|
3584
|
+
}, li = (t, e) => {
|
|
3578
3585
|
const n = e.split(" ");
|
|
3579
3586
|
"xy" === n[0] ? (t.start("ahXY", {
|
|
3580
|
-
gdRefX:
|
|
3581
|
-
minX:
|
|
3582
|
-
maxX:
|
|
3583
|
-
gdRefY:
|
|
3584
|
-
minY:
|
|
3585
|
-
maxY:
|
|
3586
|
-
}),
|
|
3587
|
-
gdRefR:
|
|
3588
|
-
minR:
|
|
3589
|
-
maxR:
|
|
3590
|
-
gdRefAng:
|
|
3591
|
-
minAng:
|
|
3592
|
-
maxAng:
|
|
3593
|
-
}),
|
|
3594
|
-
},
|
|
3587
|
+
gdRefX: ri(n[1]),
|
|
3588
|
+
minX: ri(n[5]),
|
|
3589
|
+
maxX: ri(n[6]),
|
|
3590
|
+
gdRefY: ri(n[2]),
|
|
3591
|
+
minY: ri(n[7]),
|
|
3592
|
+
maxY: ri(n[8])
|
|
3593
|
+
}), ii(t, n[3], n[4]), t.end("ahXY")) : "polar" === n[0] && (t.start("ahPolar", {
|
|
3594
|
+
gdRefR: ri(n[1]),
|
|
3595
|
+
minR: ri(n[5]),
|
|
3596
|
+
maxR: ri(n[6]),
|
|
3597
|
+
gdRefAng: ri(n[2]),
|
|
3598
|
+
minAng: ri(n[7]),
|
|
3599
|
+
maxAng: ri(n[8])
|
|
3600
|
+
}), ii(t, n[3], n[4]), t.end("ahPolar"));
|
|
3601
|
+
}, ci = {
|
|
3595
3602
|
M: ["moveTo", 1],
|
|
3596
3603
|
L: ["lnTo", 1],
|
|
3597
3604
|
Q: ["quadBezTo", 2],
|
|
3598
3605
|
C: ["cubicBezTo", 3]
|
|
3599
|
-
},
|
|
3606
|
+
}, di = (t, e) => {
|
|
3600
3607
|
t.start("path", {
|
|
3601
3608
|
w: e.w,
|
|
3602
3609
|
h: e.h,
|
|
@@ -3615,7 +3622,7 @@ var Ja = [
|
|
|
3615
3622
|
swAng: n[o + 3]
|
|
3616
3623
|
}), o += 4;
|
|
3617
3624
|
else {
|
|
3618
|
-
const s =
|
|
3625
|
+
const s = ci[e];
|
|
3619
3626
|
if (!s) break;
|
|
3620
3627
|
t.start(s[0]);
|
|
3621
3628
|
for (let e = 0; e < s[1]; e++, o += 2) t.empty("pt", {
|
|
@@ -3626,32 +3633,32 @@ var Ja = [
|
|
|
3626
3633
|
}
|
|
3627
3634
|
}
|
|
3628
3635
|
t.end("path");
|
|
3629
|
-
},
|
|
3636
|
+
}, mi = {
|
|
3630
3637
|
type: "http://schemas.microsoft.com/office/2011/relationships/chartStyle",
|
|
3631
3638
|
contentType: "application/vnd.ms-office.chartstyle+xml",
|
|
3632
3639
|
name: "style1.xml",
|
|
3633
3640
|
xml: "<cs:chartStyle xmlns:cs=\"http://schemas.microsoft.com/office/drawing/2012/chartStyle\" xmlns:a=\"http://schemas.openxmlformats.org/drawingml/2006/main\" id=\"395\"><cs:axisTitle><cs:lnRef idx=\"0\"/><cs:fillRef idx=\"0\"/><cs:effectRef idx=\"0\"/><cs:fontRef idx=\"minor\"><a:schemeClr val=\"tx1\"><a:lumMod val=\"65000\"/><a:lumOff val=\"35000\"/></a:schemeClr></cs:fontRef><cs:defRPr sz=\"900\"/></cs:axisTitle><cs:categoryAxis><cs:lnRef idx=\"0\"/><cs:fillRef idx=\"0\"/><cs:effectRef idx=\"0\"/><cs:fontRef idx=\"minor\"><a:schemeClr val=\"tx1\"><a:lumMod val=\"65000\"/><a:lumOff val=\"35000\"/></a:schemeClr></cs:fontRef><cs:spPr><a:ln w=\"9525\" cap=\"flat\" cmpd=\"sng\" algn=\"ctr\"><a:solidFill><a:schemeClr val=\"tx1\"><a:lumMod val=\"15000\"/><a:lumOff val=\"85000\"/></a:schemeClr></a:solidFill><a:round/></a:ln></cs:spPr><cs:defRPr sz=\"900\"/></cs:categoryAxis><cs:chartArea mods=\"allowNoFillOverride allowNoLineOverride\"><cs:lnRef idx=\"0\"/><cs:fillRef idx=\"0\"/><cs:effectRef idx=\"0\"/><cs:fontRef idx=\"minor\"><a:schemeClr val=\"tx1\"/></cs:fontRef><cs:spPr><a:solidFill><a:schemeClr val=\"bg1\"/></a:solidFill><a:ln w=\"9525\" cap=\"flat\" cmpd=\"sng\" algn=\"ctr\"><a:solidFill><a:schemeClr val=\"tx1\"><a:lumMod val=\"15000\"/><a:lumOff val=\"85000\"/></a:schemeClr></a:solidFill><a:round/></a:ln></cs:spPr><cs:defRPr sz=\"1000\"/></cs:chartArea><cs:dataLabel><cs:lnRef idx=\"0\"/><cs:fillRef idx=\"0\"/><cs:effectRef idx=\"0\"/><cs:fontRef idx=\"minor\"><a:schemeClr val=\"tx1\"><a:lumMod val=\"65000\"/><a:lumOff val=\"35000\"/></a:schemeClr></cs:fontRef><cs:defRPr sz=\"900\"/></cs:dataLabel><cs:dataLabelCallout><cs:lnRef idx=\"0\"/><cs:fillRef idx=\"0\"/><cs:effectRef idx=\"0\"/><cs:fontRef idx=\"minor\"><a:schemeClr val=\"dk1\"><a:lumMod val=\"65000\"/><a:lumOff val=\"35000\"/></a:schemeClr></cs:fontRef><cs:spPr><a:solidFill><a:schemeClr val=\"lt1\"/></a:solidFill><a:ln><a:solidFill><a:schemeClr val=\"dk1\"><a:lumMod val=\"25000\"/><a:lumOff val=\"75000\"/></a:schemeClr></a:solidFill></a:ln></cs:spPr><cs:defRPr sz=\"900\"/><cs:bodyPr rot=\"0\" spcFirstLastPara=\"1\" vertOverflow=\"clip\" horzOverflow=\"clip\" vert=\"horz\" wrap=\"square\" lIns=\"36576\" tIns=\"18288\" rIns=\"36576\" bIns=\"18288\" anchor=\"ctr\" anchorCtr=\"1\"><a:spAutoFit/></cs:bodyPr></cs:dataLabelCallout><cs:dataPoint><cs:lnRef idx=\"0\"/><cs:fillRef idx=\"0\"><cs:styleClr val=\"auto\"/></cs:fillRef><cs:effectRef idx=\"0\"/><cs:fontRef idx=\"minor\"><a:schemeClr val=\"tx1\"/></cs:fontRef><cs:spPr><a:solidFill><a:schemeClr val=\"phClr\"/></a:solidFill></cs:spPr></cs:dataPoint><cs:dataPoint3D><cs:lnRef idx=\"0\"/><cs:fillRef idx=\"0\"><cs:styleClr val=\"auto\"/></cs:fillRef><cs:effectRef idx=\"0\"/><cs:fontRef idx=\"minor\"><a:schemeClr val=\"tx1\"/></cs:fontRef><cs:spPr><a:solidFill><a:schemeClr val=\"phClr\"/></a:solidFill></cs:spPr></cs:dataPoint3D><cs:dataPointLine><cs:lnRef idx=\"0\"><cs:styleClr val=\"auto\"/></cs:lnRef><cs:fillRef idx=\"0\"/><cs:effectRef idx=\"0\"/><cs:fontRef idx=\"minor\"><a:schemeClr val=\"tx1\"/></cs:fontRef><cs:spPr><a:ln w=\"28575\" cap=\"rnd\"><a:solidFill><a:schemeClr val=\"phClr\"/></a:solidFill><a:round/></a:ln></cs:spPr></cs:dataPointLine><cs:dataPointMarker><cs:lnRef idx=\"0\"/><cs:fillRef idx=\"0\"><cs:styleClr val=\"auto\"/></cs:fillRef><cs:effectRef idx=\"0\"/><cs:fontRef idx=\"minor\"><a:schemeClr val=\"tx1\"/></cs:fontRef><cs:spPr><a:solidFill><a:schemeClr val=\"phClr\"/></a:solidFill><a:ln w=\"9525\"><a:solidFill><a:schemeClr val=\"lt1\"/></a:solidFill></a:ln></cs:spPr></cs:dataPointMarker><cs:dataPointMarkerLayout symbol=\"circle\" size=\"5\"/><cs:dataPointWireframe><cs:lnRef idx=\"0\"><cs:styleClr val=\"auto\"/></cs:lnRef><cs:fillRef idx=\"0\"/><cs:effectRef idx=\"0\"/><cs:fontRef idx=\"minor\"><a:schemeClr val=\"tx1\"/></cs:fontRef><cs:spPr><a:ln w=\"28575\" cap=\"rnd\"><a:solidFill><a:schemeClr val=\"phClr\"/></a:solidFill><a:round/></a:ln></cs:spPr></cs:dataPointWireframe><cs:dataTable><cs:lnRef idx=\"0\"/><cs:fillRef idx=\"0\"/><cs:effectRef idx=\"0\"/><cs:fontRef idx=\"minor\"><a:schemeClr val=\"tx1\"><a:lumMod val=\"65000\"/><a:lumOff val=\"35000\"/></a:schemeClr></cs:fontRef><cs:spPr><a:ln w=\"9525\"><a:solidFill><a:schemeClr val=\"tx1\"><a:lumMod val=\"15000\"/><a:lumOff val=\"85000\"/></a:schemeClr></a:solidFill></a:ln></cs:spPr><cs:defRPr sz=\"900\"/></cs:dataTable><cs:downBar><cs:lnRef idx=\"0\"/><cs:fillRef idx=\"0\"/><cs:effectRef idx=\"0\"/><cs:fontRef idx=\"minor\"><a:schemeClr val=\"dk1\"/></cs:fontRef><cs:spPr><a:solidFill><a:schemeClr val=\"dk1\"><a:lumMod val=\"65000\"/><a:lumOff val=\"35000\"/></a:schemeClr></a:solidFill><a:ln w=\"9525\"><a:solidFill><a:schemeClr val=\"tx1\"><a:lumMod val=\"65000\"/><a:lumOff val=\"35000\"/></a:schemeClr></a:solidFill></a:ln></cs:spPr></cs:downBar><cs:dropLine><cs:lnRef idx=\"0\"/><cs:fillRef idx=\"0\"/><cs:effectRef idx=\"0\"/><cs:fontRef idx=\"minor\"><a:schemeClr val=\"tx1\"/></cs:fontRef><cs:spPr><a:ln w=\"9525\" cap=\"flat\" cmpd=\"sng\" algn=\"ctr\"><a:solidFill><a:schemeClr val=\"tx1\"><a:lumMod val=\"35000\"/><a:lumOff val=\"65000\"/></a:schemeClr></a:solidFill><a:round/></a:ln></cs:spPr></cs:dropLine><cs:errorBar><cs:lnRef idx=\"0\"/><cs:fillRef idx=\"0\"/><cs:effectRef idx=\"0\"/><cs:fontRef idx=\"minor\"><a:schemeClr val=\"tx1\"/></cs:fontRef><cs:spPr><a:ln w=\"9525\" cap=\"flat\" cmpd=\"sng\" algn=\"ctr\"><a:solidFill><a:schemeClr val=\"tx1\"><a:lumMod val=\"65000\"/><a:lumOff val=\"35000\"/></a:schemeClr></a:solidFill><a:round/></a:ln></cs:spPr></cs:errorBar><cs:floor><cs:lnRef idx=\"0\"/><cs:fillRef idx=\"0\"/><cs:effectRef idx=\"0\"/><cs:fontRef idx=\"minor\"><a:schemeClr val=\"tx1\"/></cs:fontRef></cs:floor><cs:gridlineMajor><cs:lnRef idx=\"0\"/><cs:fillRef idx=\"0\"/><cs:effectRef idx=\"0\"/><cs:fontRef idx=\"minor\"><a:schemeClr val=\"tx1\"/></cs:fontRef><cs:spPr><a:ln w=\"9525\" cap=\"flat\" cmpd=\"sng\" algn=\"ctr\"><a:solidFill><a:schemeClr val=\"tx1\"><a:lumMod val=\"15000\"/><a:lumOff val=\"85000\"/></a:schemeClr></a:solidFill><a:round/></a:ln></cs:spPr></cs:gridlineMajor><cs:gridlineMinor><cs:lnRef idx=\"0\"/><cs:fillRef idx=\"0\"/><cs:effectRef idx=\"0\"/><cs:fontRef idx=\"minor\"><a:schemeClr val=\"tx1\"/></cs:fontRef><cs:spPr><a:ln w=\"9525\" cap=\"flat\" cmpd=\"sng\" algn=\"ctr\"><a:solidFill><a:schemeClr val=\"tx1\"><a:lumMod val=\"15000\"/><a:lumOff val=\"85000\"/></a:schemeClr></a:solidFill><a:round/></a:ln></cs:spPr></cs:gridlineMinor><cs:hiLoLine><cs:lnRef idx=\"0\"/><cs:fillRef idx=\"0\"/><cs:effectRef idx=\"0\"/><cs:fontRef idx=\"minor\"><a:schemeClr val=\"tx1\"/></cs:fontRef><cs:spPr><a:ln w=\"9525\" cap=\"flat\" cmpd=\"sng\" algn=\"ctr\"><a:solidFill><a:schemeClr val=\"tx1\"><a:lumMod val=\"75000\"/><a:lumOff val=\"25000\"/></a:schemeClr></a:solidFill><a:round/></a:ln></cs:spPr></cs:hiLoLine><cs:leaderLine><cs:lnRef idx=\"0\"/><cs:fillRef idx=\"0\"/><cs:effectRef idx=\"0\"/><cs:fontRef idx=\"minor\"><a:schemeClr val=\"tx1\"/></cs:fontRef><cs:spPr><a:ln w=\"9525\" cap=\"flat\" cmpd=\"sng\" algn=\"ctr\"><a:solidFill><a:schemeClr val=\"tx1\"><a:lumMod val=\"35000\"/><a:lumOff val=\"65000\"/></a:schemeClr></a:solidFill><a:round/></a:ln></cs:spPr></cs:leaderLine><cs:legend><cs:lnRef idx=\"0\"/><cs:fillRef idx=\"0\"/><cs:effectRef idx=\"0\"/><cs:fontRef idx=\"minor\"><a:schemeClr val=\"tx1\"><a:lumMod val=\"65000\"/><a:lumOff val=\"35000\"/></a:schemeClr></cs:fontRef><cs:defRPr sz=\"900\"/></cs:legend><cs:plotArea mods=\"allowNoFillOverride allowNoLineOverride\"><cs:lnRef idx=\"0\"/><cs:fillRef idx=\"0\"/><cs:effectRef idx=\"0\"/><cs:fontRef idx=\"minor\"><a:schemeClr val=\"tx1\"/></cs:fontRef></cs:plotArea><cs:plotArea3D mods=\"allowNoFillOverride allowNoLineOverride\"><cs:lnRef idx=\"0\"/><cs:fillRef idx=\"0\"/><cs:effectRef idx=\"0\"/><cs:fontRef idx=\"minor\"><a:schemeClr val=\"tx1\"/></cs:fontRef></cs:plotArea3D><cs:seriesAxis><cs:lnRef idx=\"0\"/><cs:fillRef idx=\"0\"/><cs:effectRef idx=\"0\"/><cs:fontRef idx=\"minor\"><a:schemeClr val=\"tx1\"><a:lumMod val=\"65000\"/><a:lumOff val=\"35000\"/></a:schemeClr></cs:fontRef><cs:spPr><a:ln w=\"9525\" cap=\"flat\" cmpd=\"sng\" algn=\"ctr\"><a:solidFill><a:schemeClr val=\"tx1\"><a:lumMod val=\"15000\"/><a:lumOff val=\"85000\"/></a:schemeClr></a:solidFill><a:round/></a:ln></cs:spPr><cs:defRPr sz=\"900\"/></cs:seriesAxis><cs:seriesLine><cs:lnRef idx=\"0\"/><cs:fillRef idx=\"0\"/><cs:effectRef idx=\"0\"/><cs:fontRef idx=\"minor\"><a:schemeClr val=\"tx1\"/></cs:fontRef><cs:spPr><a:ln w=\"9525\" cap=\"flat\"><a:solidFill><a:srgbClr val=\"D9D9D9\"/></a:solidFill><a:round/></a:ln></cs:spPr></cs:seriesLine><cs:title><cs:lnRef idx=\"0\"/><cs:fillRef idx=\"0\"/><cs:effectRef idx=\"0\"/><cs:fontRef idx=\"minor\"><a:schemeClr val=\"tx1\"><a:lumMod val=\"65000\"/><a:lumOff val=\"35000\"/></a:schemeClr></cs:fontRef><cs:defRPr sz=\"1400\"/></cs:title><cs:trendline><cs:lnRef idx=\"0\"><cs:styleClr val=\"auto\"/></cs:lnRef><cs:fillRef idx=\"0\"/><cs:effectRef idx=\"0\"/><cs:fontRef idx=\"minor\"><a:schemeClr val=\"tx1\"/></cs:fontRef><cs:spPr><a:ln w=\"19050\" cap=\"rnd\"><a:solidFill><a:schemeClr val=\"phClr\"/></a:solidFill><a:prstDash val=\"sysDash\"/></a:ln></cs:spPr></cs:trendline><cs:trendlineLabel><cs:lnRef idx=\"0\"/><cs:fillRef idx=\"0\"/><cs:effectRef idx=\"0\"/><cs:fontRef idx=\"minor\"><a:schemeClr val=\"tx1\"><a:lumMod val=\"65000\"/><a:lumOff val=\"35000\"/></a:schemeClr></cs:fontRef><cs:defRPr sz=\"900\"/></cs:trendlineLabel><cs:upBar><cs:lnRef idx=\"0\"/><cs:fillRef idx=\"0\"/><cs:effectRef idx=\"0\"/><cs:fontRef idx=\"minor\"><a:schemeClr val=\"dk1\"/></cs:fontRef><cs:spPr><a:solidFill><a:schemeClr val=\"lt1\"/></a:solidFill><a:ln w=\"9525\"><a:solidFill><a:schemeClr val=\"tx1\"><a:lumMod val=\"15000\"/><a:lumOff val=\"85000\"/></a:schemeClr></a:solidFill></a:ln></cs:spPr></cs:upBar><cs:valueAxis><cs:lnRef idx=\"0\"/><cs:fillRef idx=\"0\"/><cs:effectRef idx=\"0\"/><cs:fontRef idx=\"minor\"><a:schemeClr val=\"tx1\"><a:lumMod val=\"65000\"/><a:lumOff val=\"35000\"/></a:schemeClr></cs:fontRef><cs:defRPr sz=\"900\"/></cs:valueAxis><cs:wall><cs:lnRef idx=\"0\"/><cs:fillRef idx=\"0\"/><cs:effectRef idx=\"0\"/><cs:fontRef idx=\"minor\"><a:schemeClr val=\"tx1\"/></cs:fontRef></cs:wall></cs:chartStyle>"
|
|
3634
|
-
},
|
|
3641
|
+
}, pi = {
|
|
3635
3642
|
type: "http://schemas.microsoft.com/office/2011/relationships/chartColorStyle",
|
|
3636
3643
|
contentType: "application/vnd.ms-office.chartcolorstyle+xml",
|
|
3637
3644
|
name: "colors1.xml",
|
|
3638
3645
|
xml: "<cs:colorStyle xmlns:cs=\"http://schemas.microsoft.com/office/drawing/2012/chartStyle\" xmlns:a=\"http://schemas.openxmlformats.org/drawingml/2006/main\" meth=\"cycle\" id=\"10\"><a:schemeClr val=\"accent1\"/><a:schemeClr val=\"accent2\"/><a:schemeClr val=\"accent3\"/><a:schemeClr val=\"accent4\"/><a:schemeClr val=\"accent5\"/><a:schemeClr val=\"accent6\"/><cs:variation/><cs:variation><a:lumMod val=\"60000\"/></cs:variation><cs:variation><a:lumMod val=\"80000\"/><a:lumOff val=\"20000\"/></cs:variation><cs:variation><a:lumMod val=\"80000\"/></cs:variation><cs:variation><a:lumMod val=\"60000\"/><a:lumOff val=\"40000\"/></cs:variation><cs:variation><a:lumMod val=\"50000\"/></cs:variation><cs:variation><a:lumMod val=\"70000\"/><a:lumOff val=\"30000\"/></cs:variation><cs:variation><a:lumMod val=\"70000\"/></cs:variation><cs:variation><a:lumMod val=\"50000\"/><a:lumOff val=\"50000\"/></cs:variation></cs:colorStyle>"
|
|
3639
|
-
},
|
|
3646
|
+
}, fi = (t, e) => {
|
|
3640
3647
|
const n = {};
|
|
3641
3648
|
e.unlocked && (n.fLocksWithSheet = "0"), e.noPrint && (n.fPrintsWithSheet = "0"), t.empty("clientData", n);
|
|
3642
|
-
},
|
|
3649
|
+
}, hi = (t) => (t.content?.json)?.members ?? [], ui = (t) => ({
|
|
3643
3650
|
x: t.anchor?.tl?.x ?? 0,
|
|
3644
3651
|
y: t.anchor?.tl?.y ?? 0,
|
|
3645
3652
|
width: t.anchor?.br?.x ?? 0,
|
|
3646
3653
|
height: t.anchor?.br?.y ?? 0
|
|
3647
|
-
}),
|
|
3654
|
+
}), gi = async (t, e) => {
|
|
3648
3655
|
const n = e.content;
|
|
3649
3656
|
if ("shape" !== n?.type && "picture" !== n?.type || await ns(t, n.json), "group" === n?.type) {
|
|
3650
3657
|
await ns(t, n.json);
|
|
3651
|
-
for (const n of
|
|
3658
|
+
for (const n of hi(e)) await gi(t, n);
|
|
3652
3659
|
}
|
|
3653
|
-
},
|
|
3654
|
-
const i = await ts(t, r), l = o.content?.json, c = l?.image ?? {}, d = c.extLst ?? (i.external ? void 0 :
|
|
3660
|
+
}, xi = async (t, e, n, o, s, r) => {
|
|
3661
|
+
const i = await ts(t, r), l = o.content?.json, c = l?.image ?? {}, d = c.extLst ?? (i.external ? void 0 : yi), m = {
|
|
3655
3662
|
...c,
|
|
3656
3663
|
type: a.Type.Image,
|
|
3657
3664
|
extLst: d,
|
|
@@ -3661,8 +3668,8 @@ var Ja = [
|
|
|
3661
3668
|
const f = {};
|
|
3662
3669
|
void 0 !== c.dpi && (f.dpi = String(c.dpi)), void 0 !== c.isRotatedWithShape && (f.rotWithShape = c.isRotatedWithShape ? "1" : "0");
|
|
3663
3670
|
const h = t.getXMLWriter();
|
|
3664
|
-
h.start("pic", p), h.start("nvPicPr"),
|
|
3665
|
-
},
|
|
3671
|
+
h.start("pic", p), h.start("nvPicPr"), Li(t, h, n, o, e), h.start("cNvPicPr", l?.noRelativeResize ? { preferRelativeResize: "0" } : {}), h.empty("a:picLocks", Bi(o)), h.end("cNvPicPr"), h.end("nvPicPr"), h.start("blipFill", f), h.pushDefaultNamespace("a"), as(h, m, i), h.popDefaultNamespace(), h.end("blipFill"), Ai(t, e, n, o, s), h.end("pic");
|
|
3672
|
+
}, yi = "<a:extLst><a:ext uri=\"{28A0092B-C50C-407E-A947-70E740481C1C}\"><a14:useLocalDpi xmlns:a14=\"http://schemas.microsoft.com/office/drawing/2010/main\" val=\"0\"/></a:ext></a:extLst>", vi = async (t, e, n, o, s) => {
|
|
3666
3673
|
const r = o.content?.json, a = r?.model, i = r?.part, l = () => s ?? n?.getBounds() ?? {
|
|
3667
3674
|
x: 0,
|
|
3668
3675
|
y: 0,
|
|
@@ -3677,16 +3684,16 @@ var Ja = [
|
|
|
3677
3684
|
});
|
|
3678
3685
|
if (n.leftOut.length > 0) {
|
|
3679
3686
|
const s = o.content?.name ?? "";
|
|
3680
|
-
if (n.leftOut.length === d.length) return t.warn(`The chart '${s}' is of a type an xlsx file cannot hold (${n.leftOut.join(", ")}); it is saved as a placeholder.`, void 0, "xlsx.chart.unplaced"),
|
|
3687
|
+
if (n.leftOut.length === d.length) return t.warn(`The chart '${s}' is of a type an xlsx file cannot hold (${n.leftOut.join(", ")}); it is saved as a placeholder.`, void 0, "xlsx.chart.unplaced"), Pi(t, e, o, l());
|
|
3681
3688
|
t.warn(`The chart '${s}' combines types one xlsx chart cannot hold together; it is saved without its ${n.leftOut.join(", ")} series.`, void 0, "xlsx.chart.leftOut");
|
|
3682
3689
|
}
|
|
3683
3690
|
m = n.family, p = n.xml;
|
|
3684
3691
|
} else {
|
|
3685
|
-
if (!i?.xml || !c) return
|
|
3692
|
+
if (!i?.xml || !c) return Pi(t, e, o, l());
|
|
3686
3693
|
m = c, p = i.xml;
|
|
3687
3694
|
}
|
|
3688
3695
|
const f = ln[m], h = [...i?.parts ?? []];
|
|
3689
|
-
if ("chartEx" === m) for (const t of [
|
|
3696
|
+
if ("chartEx" === m) for (const t of [mi, pi]) h.some((e) => e.type === t.type) || h.push({
|
|
3690
3697
|
id: "",
|
|
3691
3698
|
...t
|
|
3692
3699
|
});
|
|
@@ -3698,9 +3705,9 @@ var Ja = [
|
|
|
3698
3705
|
xml: p,
|
|
3699
3706
|
parts: h
|
|
3700
3707
|
}, t, f.path);
|
|
3701
|
-
if (!u?.relId) return
|
|
3708
|
+
if (!u?.relId) return Pi(t, e, o, l());
|
|
3702
3709
|
const g = t.getXMLWriter();
|
|
3703
|
-
if ("chart" === m) return void
|
|
3710
|
+
if ("chart" === m) return void wi(t, e, n, o, m, u.relId, s);
|
|
3704
3711
|
const x = ((t) => {
|
|
3705
3712
|
const e = new Set(t.map((t) => t.type));
|
|
3706
3713
|
return e.has("regionMap") ? {
|
|
@@ -3714,18 +3721,18 @@ var Ja = [
|
|
|
3714
3721
|
uri: "http://schemas.microsoft.com/office/drawing/2015/9/8/chartex"
|
|
3715
3722
|
};
|
|
3716
3723
|
})(d);
|
|
3717
|
-
g.start("mc:AlternateContent", { "xmlns:mc":
|
|
3724
|
+
g.start("mc:AlternateContent", { "xmlns:mc": ki }), g.start("mc:Choice", {
|
|
3718
3725
|
[`xmlns:${x.prefix}`]: x.uri,
|
|
3719
3726
|
Requires: x.prefix
|
|
3720
|
-
}),
|
|
3721
|
-
},
|
|
3727
|
+
}), wi(t, e, n, o, m, u.relId, s), g.end("mc:Choice"), g.start("mc:Fallback"), Ei(g, l(), "This chart isn't available in your version of Excel.\n\nEditing this shape or saving this workbook into a different file format will permanently break the chart."), g.end("mc:Fallback"), g.end("mc:AlternateContent");
|
|
3728
|
+
}, wi = (t, e, n, o, s, r, a) => {
|
|
3722
3729
|
const i = t.getXMLWriter(), l = a ?? {
|
|
3723
3730
|
x: 0,
|
|
3724
3731
|
y: 0,
|
|
3725
3732
|
width: 0,
|
|
3726
3733
|
height: 0
|
|
3727
3734
|
}, c = "chartEx" === s ? "cx" : "c", d = ln[s].graphicUri;
|
|
3728
|
-
i.start("graphicFrame", { macro: "" }), i.start("nvGraphicFramePr"),
|
|
3735
|
+
i.start("graphicFrame", { macro: "" }), i.start("nvGraphicFramePr"), Li(t, i, n, o, e), o.lockAspect ? (i.start("cNvGraphicFramePr"), i.empty("a:graphicFrameLocks", { noChangeAspect: "1" }), i.end("cNvGraphicFramePr")) : i.empty("cNvGraphicFramePr"), i.end("nvGraphicFramePr"), i.start("xfrm"), i.empty("a:off", {
|
|
3729
3736
|
x: cs(l.x),
|
|
3730
3737
|
y: cs(l.y)
|
|
3731
3738
|
}), i.empty("a:ext", {
|
|
@@ -3736,30 +3743,30 @@ var Ja = [
|
|
|
3736
3743
|
"xmlns:r": "http://schemas.openxmlformats.org/officeDocument/2006/relationships",
|
|
3737
3744
|
"r:id": r
|
|
3738
3745
|
}), i.end("a:graphicData"), i.end("a:graphic"), i.end("graphicFrame");
|
|
3739
|
-
},
|
|
3746
|
+
}, Si = async (t, e, n, o, s) => {
|
|
3740
3747
|
const r = t.getXMLWriter(), a = o.content?.json, i = e.getStyles();
|
|
3741
|
-
r.start("grpSp"), r.start("nvGrpSpPr"),
|
|
3742
|
-
const l =
|
|
3743
|
-
l ? (r.start("cNvGrpSpPr"), r.empty("a:grpSpLocks", l), r.end("cNvGrpSpPr")) : r.empty("cNvGrpSpPr"), r.end("nvGrpSpPr"), r.start("grpSpPr"), r.pushDefaultNamespace("a"),
|
|
3744
|
-
for (const n of
|
|
3748
|
+
r.start("grpSp"), r.start("nvGrpSpPr"), Li(t, r, n, o, e);
|
|
3749
|
+
const l = Ni(o);
|
|
3750
|
+
l ? (r.start("cNvGrpSpPr"), r.empty("a:grpSpLocks", l), r.end("cNvGrpSpPr")) : r.empty("cNvGrpSpPr"), r.end("nvGrpSpPr"), r.start("grpSpPr"), r.pushDefaultNamespace("a"), Oi(r, s, o, a?.childBounds ?? s), Go(t, i, a), a?.scene3d && r.raw(a.scene3d), a?.extLst?.properties && r.raw(a.extLst.properties), r.popDefaultNamespace(), r.end("grpSpPr");
|
|
3751
|
+
for (const n of hi(o)) await bi(t, e, n, ui(n));
|
|
3745
3752
|
r.end("grpSp");
|
|
3746
|
-
},
|
|
3753
|
+
}, bi = async (t, e, n, o) => {
|
|
3747
3754
|
switch (n.content?.type) {
|
|
3748
3755
|
case "picture": {
|
|
3749
3756
|
const s = es(t, n.content.json?.resId);
|
|
3750
|
-
return s ?
|
|
3757
|
+
return s ? xi(t, e, null, n, o, s) : void t.warn(`The picture '${n.content.name ?? ""}' in a group names no image in the workbook; the group is saved without it.`, void 0, "xlsx.drawing.group.picture");
|
|
3751
3758
|
}
|
|
3752
|
-
case "chart": return
|
|
3753
|
-
case "shape": return
|
|
3754
|
-
case "group": return
|
|
3755
|
-
default: return We(n.content?.type) ? void
|
|
3759
|
+
case "chart": return vi(t, e, null, n, o);
|
|
3760
|
+
case "shape": return Ci(t, e, null, n, o);
|
|
3761
|
+
case "group": return Si(t, e, null, n, o);
|
|
3762
|
+
default: return We(n.content?.type) ? void Wi(t.getXMLWriter(), n, o) : Pi(t, e, n, o);
|
|
3756
3763
|
}
|
|
3757
|
-
},
|
|
3764
|
+
}, Ci = async (t, e, n, o, s) => {
|
|
3758
3765
|
const a = t.getXMLWriter(), i = {}, l = o.content?.json, c = l?.type ?? r.Type.Shape, d = e.getStyles();
|
|
3759
|
-
c === r.Type.Connector ? (void 0 !== l?.macro && (i.macro = l.macro), void 0 !== l?.published && (i.fPublished = l.published ? "1" : "0"), a.start("cxnSp", i), a.start("nvCxnSpPr"),
|
|
3760
|
-
},
|
|
3766
|
+
c === r.Type.Connector ? (void 0 !== l?.macro && (i.macro = l.macro), void 0 !== l?.published && (i.fPublished = l.published ? "1" : "0"), a.start("cxnSp", i), a.start("nvCxnSpPr"), Li(t, a, n, o, e), $i(t, a, n, o, e), a.end("nvCxnSpPr"), Ai(t, e, n, o, s), Di(t, e, n, o), Ga(t, d, l?.text), a.end("cxnSp")) : (void 0 !== l?.macro && (i.macro = l.macro), void 0 !== l?.textLink && (i.textlink = l.textLink), void 0 !== l?.locksText && (i.fLocksText = l.locksText ? "1" : "0"), void 0 !== l?.published && (i.fPublished = l.published ? "1" : "0"), a.start("sp", i), a.start("nvSpPr"), Li(t, a, n, o, e), $i(t, a, n, o, e), a.end("nvSpPr"), Ai(t, e, n, o, s), Di(t, e, n, o), Ga(t, d, l?.text), a.end("sp"));
|
|
3767
|
+
}, Ti = async (t, e, n, o) => Pi(t, e, o, n.getBounds()), ki = "http://schemas.openxmlformats.org/markup-compatibility/2006", Ii = "http://schemas.microsoft.com/office/drawing/2010/slicer", Ri = "http://schemas.microsoft.com/office/drawing/2012/timeslicer", Fi = async (t, e, n, o) => {
|
|
3761
3768
|
const s = t.getXMLWriter(), r = o.content?.name ?? "", a = Cr(n.getContent()), i = void 0 !== a?.timeline, l = i ? {
|
|
3762
|
-
"xmlns:tsle":
|
|
3769
|
+
"xmlns:tsle": Ri,
|
|
3763
3770
|
Requires: "tsle"
|
|
3764
3771
|
} : a ? {
|
|
3765
3772
|
"xmlns:a14": "http://schemas.microsoft.com/office/drawing/2010/main",
|
|
@@ -3768,20 +3775,20 @@ var Ja = [
|
|
|
3768
3775
|
"xmlns:sle15": "http://schemas.microsoft.com/office/drawing/2012/slicer",
|
|
3769
3776
|
Requires: "sle15"
|
|
3770
3777
|
}, c = i ? "Timeline: Works in Excel 2013 or higher. Do not move or resize." : a ? "This shape represents a slicer. Slicers are supported in Excel 2010 or later.\n\nIf the shape was modified in an earlier version of Excel, or if the workbook was saved in Excel 2003 or earlier, the slicer cannot be used." : "This shape represents a table slicer. Table slicers are not supported in this version of Excel.\n\nIf the shape was modified in an earlier version of Excel, or if the workbook was saved in Excel 2007 or earlier, the slicer can't be used.";
|
|
3771
|
-
s.start("mc:AlternateContent", { "xmlns:mc":
|
|
3778
|
+
s.start("mc:AlternateContent", { "xmlns:mc": ki }), s.start("mc:Choice", l), s.start("graphicFrame", { macro: "" }), s.start("nvGraphicFramePr"), Li(t, s, n, o, e), s.empty("cNvGraphicFramePr"), s.end("nvGraphicFramePr"), s.start("xfrm"), s.empty("a:off", {
|
|
3772
3779
|
x: "0",
|
|
3773
3780
|
y: "0"
|
|
3774
3781
|
}), s.empty("a:ext", {
|
|
3775
3782
|
cx: "0",
|
|
3776
3783
|
cy: "0"
|
|
3777
|
-
}), s.end("xfrm"), s.start("a:graphic"), i ? (s.start("a:graphicData", { uri:
|
|
3778
|
-
"xmlns:tsle":
|
|
3784
|
+
}), s.end("xfrm"), s.start("a:graphic"), i ? (s.start("a:graphicData", { uri: Ri }), s.empty("tsle:timeslicer", {
|
|
3785
|
+
"xmlns:tsle": Ri,
|
|
3779
3786
|
name: r
|
|
3780
|
-
}), s.end("a:graphicData")) : (s.start("a:graphicData", { uri:
|
|
3781
|
-
"xmlns:sle":
|
|
3787
|
+
}), s.end("a:graphicData")) : (s.start("a:graphicData", { uri: Ii }), s.empty("sle:slicer", {
|
|
3788
|
+
"xmlns:sle": Ii,
|
|
3782
3789
|
name: r
|
|
3783
|
-
}), s.end("a:graphicData")), s.end("a:graphic"), s.end("graphicFrame"), s.end("mc:Choice"), s.start("mc:Fallback"),
|
|
3784
|
-
},
|
|
3790
|
+
}), s.end("a:graphicData")), s.end("a:graphic"), s.end("graphicFrame"), s.end("mc:Choice"), s.start("mc:Fallback"), Ei(s, n.getBounds(), c), s.end("mc:Fallback"), s.end("mc:AlternateContent");
|
|
3791
|
+
}, Ei = (t, e, n) => {
|
|
3785
3792
|
t.start("sp", {
|
|
3786
3793
|
macro: "",
|
|
3787
3794
|
textlink: ""
|
|
@@ -3801,8 +3808,8 @@ var Ja = [
|
|
|
3801
3808
|
lang: "en-US",
|
|
3802
3809
|
sz: "1100"
|
|
3803
3810
|
}), t.start("a:t"), t.text(n), t.end("a:t"), t.end("a:r"), t.end("a:p"), t.end("txBody"), t.end("sp");
|
|
3804
|
-
},
|
|
3805
|
-
|
|
3811
|
+
}, Mi = async (t, e, n, o) => Pi(t, e, o, n.getBounds()), Pi = async (t, e, n, o) => {
|
|
3812
|
+
Ci(t, e, null, {
|
|
3806
3813
|
...n,
|
|
3807
3814
|
content: {
|
|
3808
3815
|
type: "shape",
|
|
@@ -3821,19 +3828,19 @@ var Ja = [
|
|
|
3821
3828
|
}
|
|
3822
3829
|
}
|
|
3823
3830
|
}, o);
|
|
3824
|
-
},
|
|
3831
|
+
}, Ai = (t, e, n, o, s) => {
|
|
3825
3832
|
const r = t.getXMLWriter(), a = o.content?.json, i = a?.geometry, l = e.getStyles();
|
|
3826
|
-
if (r.start("spPr"), r.pushDefaultNamespace("a"),
|
|
3833
|
+
if (r.start("spPr"), r.pushDefaultNamespace("a"), Oi(r, s, o), "object" == typeof i && i) ((t, e) => {
|
|
3827
3834
|
t.start("custGeom"), t.start("avLst");
|
|
3828
|
-
for (const n of e.av ?? [])
|
|
3835
|
+
for (const n of e.av ?? []) ai(t, n);
|
|
3829
3836
|
t.end("avLst"), t.start("gdLst");
|
|
3830
|
-
for (const n of e.gd ?? [])
|
|
3837
|
+
for (const n of e.gd ?? []) ai(t, n);
|
|
3831
3838
|
t.end("gdLst"), t.start("ahLst");
|
|
3832
|
-
for (const n of e.ah ?? [])
|
|
3839
|
+
for (const n of e.ah ?? []) li(t, n);
|
|
3833
3840
|
t.end("ahLst"), t.start("cxnLst");
|
|
3834
3841
|
for (const n of Array.isArray(e.cxn) ? e.cxn : []) {
|
|
3835
3842
|
const e = n.split(" ");
|
|
3836
|
-
t.start("cxn", { ang: e[0] }),
|
|
3843
|
+
t.start("cxn", { ang: e[0] }), ii(t, e[1], e[2]), t.end("cxn");
|
|
3837
3844
|
}
|
|
3838
3845
|
if (t.end("cxnLst"), e.rect) {
|
|
3839
3846
|
const n = e.rect.split(" ");
|
|
@@ -3845,7 +3852,7 @@ var Ja = [
|
|
|
3845
3852
|
});
|
|
3846
3853
|
}
|
|
3847
3854
|
t.start("pathLst");
|
|
3848
|
-
for (const n of e.paths)
|
|
3855
|
+
for (const n of e.paths) di(t, n);
|
|
3849
3856
|
t.end("pathLst"), t.end("custGeom");
|
|
3850
3857
|
})(r, i);
|
|
3851
3858
|
else {
|
|
@@ -3863,15 +3870,15 @@ var Ja = [
|
|
|
3863
3870
|
r.end("prstGeom");
|
|
3864
3871
|
}
|
|
3865
3872
|
Go(t, l, a), a?.scene3d && r.raw(a.scene3d), a?.shape3d && r.raw(a.shape3d), a?.extLst?.properties && r.raw(a.extLst.properties), r.popDefaultNamespace(), r.end("spPr");
|
|
3866
|
-
},
|
|
3873
|
+
}, Di = (t, e, n, o) => {
|
|
3867
3874
|
const s = t.getXMLWriter(), r = o.content?.json?.style;
|
|
3868
3875
|
if (null === r) return;
|
|
3869
3876
|
const a = e.getStyles().getTheme(), i = f.defaultStyleRefs(o.content?.json), l = (t, e) => {
|
|
3870
3877
|
e && (s.start(t, { idx: String(e.index) }), e.color && Mo(s, a, e.color), s.end(t));
|
|
3871
3878
|
};
|
|
3872
3879
|
s.start("style"), s.pushDefaultNamespace("a"), l("lnRef", r?.stroke ?? i.stroke), l("fillRef", r?.fill ?? i.fill), l("effectRef", r?.effect ?? i.effect), l("fontRef", r?.font ?? i.font), s.popDefaultNamespace(), s.end("style");
|
|
3873
|
-
},
|
|
3874
|
-
let r =
|
|
3880
|
+
}, Li = (t, e, n, o, s) => {
|
|
3881
|
+
let r = _i(t, s).assigned.get(o);
|
|
3875
3882
|
if (void 0 === r) {
|
|
3876
3883
|
const e = t.getSharedStates();
|
|
3877
3884
|
let n = e.get("uniqueIdCounter");
|
|
@@ -3882,7 +3889,7 @@ var Ja = [
|
|
|
3882
3889
|
name: o.content?.name
|
|
3883
3890
|
};
|
|
3884
3891
|
o.content?.description && (i.descr = o.content.description), o.hidden && (i.hidden = "1"), a?.title && (i.title = a.title), e.start("cNvPr", i), jo(t, e, "a:hlinkClick", a?.hyperlink), jo(t, e, "a:hlinkHover", a?.hoverHyperlink), a?.extLst?.nonVisual && e.raw(a.extLst.nonVisual), e.end("cNvPr");
|
|
3885
|
-
},
|
|
3892
|
+
}, _i = (t, e) => {
|
|
3886
3893
|
const n = t.getSharedStates();
|
|
3887
3894
|
let o = n.get("drawingIds");
|
|
3888
3895
|
o || (o = /* @__PURE__ */ new Map(), n.set("drawingIds", o));
|
|
@@ -3891,18 +3898,18 @@ var Ja = [
|
|
|
3891
3898
|
assigned: /* @__PURE__ */ new Map(),
|
|
3892
3899
|
bySource: /* @__PURE__ */ new Map()
|
|
3893
3900
|
}, o.set(e, s)), s;
|
|
3894
|
-
},
|
|
3901
|
+
}, Ni = (t) => {
|
|
3895
3902
|
const e = { ...(t.content?.json)?.locks };
|
|
3896
3903
|
void 0 !== t.lockAspect && void 0 === e.noChangeAspect && (e.noChangeAspect = t.lockAspect);
|
|
3897
3904
|
const n = {};
|
|
3898
3905
|
for (const t of Object.keys(e)) e[t] && (n[t] = "1");
|
|
3899
3906
|
return Object.keys(n).length > 0 ? n : null;
|
|
3900
|
-
},
|
|
3901
|
-
const a = o.content?.json, i =
|
|
3907
|
+
}, $i = (t, e, n, o, s) => {
|
|
3908
|
+
const a = o.content?.json, i = Ni(o);
|
|
3902
3909
|
if (a?.type === r.Type.Connector) {
|
|
3903
3910
|
const n = a.connectorEnds;
|
|
3904
3911
|
if (!i && !n) return void e.empty("cNvCxnSpPr");
|
|
3905
|
-
const o =
|
|
3912
|
+
const o = _i(t, s);
|
|
3906
3913
|
e.start("cNvCxnSpPr"), i && e.empty("a:cxnSpLocks", i), n?.start && e.empty("a:stCxn", {
|
|
3907
3914
|
id: String(o.bySource.get(n.start.id) ?? n.start.id),
|
|
3908
3915
|
idx: String(n.start.index)
|
|
@@ -3914,13 +3921,13 @@ var Ja = [
|
|
|
3914
3921
|
}
|
|
3915
3922
|
const l = { txBox: a?.textBox ? "1" : void 0 };
|
|
3916
3923
|
i ? (e.start("cNvSpPr", l), e.empty("a:spLocks", i), e.end("cNvSpPr")) : e.empty("cNvSpPr", l);
|
|
3917
|
-
},
|
|
3924
|
+
}, Bi = (t) => {
|
|
3918
3925
|
const e = { ...(t.content?.json)?.locks };
|
|
3919
3926
|
void 0 !== t.lockAspect ? e.noChangeAspect = t.lockAspect : e.noChangeAspect ??= !0;
|
|
3920
3927
|
const n = {};
|
|
3921
3928
|
for (const t of Object.keys(e)) e[t] && (n[t] = "1");
|
|
3922
3929
|
return n;
|
|
3923
|
-
},
|
|
3930
|
+
}, Oi = (t, e, n, o) => {
|
|
3924
3931
|
const s = {}, r = n.rotation;
|
|
3925
3932
|
void 0 !== r && 0 !== r && (s.rot = "" + ds(r)), n.flipH && (s.flipH = "1"), n.flipV && (s.flipV = "1"), t.start("xfrm", s), t.empty("off", {
|
|
3926
3933
|
x: cs(e.x),
|
|
@@ -3935,13 +3942,13 @@ var Ja = [
|
|
|
3935
3942
|
cx: cs(o.width),
|
|
3936
3943
|
cy: cs(o.height)
|
|
3937
3944
|
})), t.end("xfrm");
|
|
3938
|
-
}, Oi = (t, e, n) => {
|
|
3939
|
-
t.start(e), t.start("col"), t.text(n.c ?? 0), t.end("col"), t.start("colOff"), t.text(cs(n.x)), t.end("colOff"), t.start("row"), t.text(n.r ?? 0), t.end("row"), t.start("rowOff"), t.text(cs(n.y)), t.end("rowOff"), t.end(e);
|
|
3940
3945
|
}, Vi = (t, e, n) => {
|
|
3946
|
+
t.start(e), t.start("col"), t.text(n.c ?? 0), t.end("col"), t.start("colOff"), t.text(cs(n.x)), t.end("colOff"), t.start("row"), t.text(n.r ?? 0), t.end("row"), t.start("rowOff"), t.text(cs(n.y)), t.end("rowOff"), t.end(e);
|
|
3947
|
+
}, Wi = (t, e, n) => {
|
|
3941
3948
|
const o = e.content.json;
|
|
3942
3949
|
if (t.start("mc:AlternateContent", Me), t.start("mc:Choice", Q), n) return t.raw(fe(e.content.type, o, e.content?.name, n)), t.end("mc:Choice"), t.empty("mc:Fallback"), void t.end("mc:AlternateContent");
|
|
3943
|
-
t.start("twoCellAnchor", { editAs: e.anchorType || "twoCell" }),
|
|
3944
|
-
},
|
|
3950
|
+
t.start("twoCellAnchor", { editAs: e.anchorType || "twoCell" }), Vi(t, "from", e.anchor.tl), Vi(t, "to", e.anchor.br), t.raw(fe(e.content.type, o, e.content?.name)), t.empty("clientData", { fPrintsWithSheet: "0" }), t.end("twoCellAnchor"), t.end("mc:Choice"), t.empty("mc:Fallback"), t.end("mc:AlternateContent");
|
|
3951
|
+
}, zi = async (t, e, n) => {
|
|
3945
3952
|
const o = await n.getExternalURI();
|
|
3946
3953
|
if (o) return void t.addExternal(Yo, o);
|
|
3947
3954
|
const s = t.getSharedStates();
|
|
@@ -3959,16 +3966,16 @@ var Ja = [
|
|
|
3959
3966
|
const i = t.addBinary(a.bytes, a.type.mime, Yo, `../media/image${a.index}.${a.type.ext}`, !0, e);
|
|
3960
3967
|
i.relId !== e && t.log(`Legacy drawing image '${e}' was written as '${i.relId}'; the markup will not find it.`);
|
|
3961
3968
|
};
|
|
3962
|
-
function
|
|
3969
|
+
function ji(t) {
|
|
3963
3970
|
return t.toISOString().substring(0, 22);
|
|
3964
3971
|
}
|
|
3965
|
-
function
|
|
3972
|
+
function Xi(t, e, n, o, s, r, a, i, l) {
|
|
3966
3973
|
const c = {
|
|
3967
3974
|
ref: e,
|
|
3968
|
-
dT:
|
|
3969
|
-
personId: o ?
|
|
3970
|
-
id:
|
|
3971
|
-
parentId: a ?
|
|
3975
|
+
dT: ji(s ?? /* @__PURE__ */ new Date()),
|
|
3976
|
+
personId: o ? Hi(o) : void 0,
|
|
3977
|
+
id: Hi(n),
|
|
3978
|
+
parentId: a ? Hi(a) : void 0,
|
|
3972
3979
|
done: i ? "1" : void 0
|
|
3973
3980
|
};
|
|
3974
3981
|
if (t.start("threadedComment", c), t.start("text", ke.test(r) || /[\n\r]/.test(r) ? Fe : void 0), t.text(r), t.end("text"), l && l.length > 0) {
|
|
@@ -3976,8 +3983,8 @@ function ji(t, e, n, o, s, r, a, i, l) {
|
|
|
3976
3983
|
for (let e = 0; e < l.length; e++) {
|
|
3977
3984
|
const n = l[e];
|
|
3978
3985
|
t.empty("mention", {
|
|
3979
|
-
mentionpersonId:
|
|
3980
|
-
mentionId:
|
|
3986
|
+
mentionpersonId: Hi(n.personId),
|
|
3987
|
+
mentionId: Hi(n.id),
|
|
3981
3988
|
startIndex: n.startIndex ?? 0,
|
|
3982
3989
|
length: n.length ?? 0
|
|
3983
3990
|
});
|
|
@@ -3986,17 +3993,17 @@ function ji(t, e, n, o, s, r, a, i, l) {
|
|
|
3986
3993
|
}
|
|
3987
3994
|
t.end("threadedComment");
|
|
3988
3995
|
}
|
|
3989
|
-
function
|
|
3996
|
+
function Hi(t) {
|
|
3990
3997
|
return `{${t.replace(/^\{|\}$/g, "").toUpperCase()}}`;
|
|
3991
3998
|
}
|
|
3992
|
-
var
|
|
3999
|
+
var Ui = {
|
|
3993
4000
|
rowIndex: 0,
|
|
3994
4001
|
colIndex: 0
|
|
3995
4002
|
};
|
|
3996
|
-
function
|
|
4003
|
+
function Gi(t, e, n, o) {
|
|
3997
4004
|
if (null == o) return;
|
|
3998
|
-
|
|
3999
|
-
const s =
|
|
4005
|
+
Ui.rowIndex = e, Ui.colIndex = n;
|
|
4006
|
+
const s = D.cellToString(Ui);
|
|
4000
4007
|
let r, a;
|
|
4001
4008
|
switch (typeof o) {
|
|
4002
4009
|
case "number":
|
|
@@ -4019,7 +4026,7 @@ function Ui(t, e, n, o) {
|
|
|
4019
4026
|
t: r
|
|
4020
4027
|
} : { r: s }), t.start("v"), t.text(a), t.end("v"), t.end("cell");
|
|
4021
4028
|
}
|
|
4022
|
-
var
|
|
4029
|
+
var qi = [
|
|
4023
4030
|
new class extends bn {
|
|
4024
4031
|
constructor() {
|
|
4025
4032
|
super({
|
|
@@ -4060,7 +4067,7 @@ var Gi = [
|
|
|
4060
4067
|
...t.styles,
|
|
4061
4068
|
direct: a.list
|
|
4062
4069
|
}), n.setXfComplements(a.complements), s;
|
|
4063
|
-
}(s, t.getSheets({ visibility:
|
|
4070
|
+
}(s, t.getSheets({ visibility: T.Visibility.VeryHidden }), r, (t, n) => {
|
|
4064
4071
|
e.warn(t, void 0, n);
|
|
4065
4072
|
});
|
|
4066
4073
|
e.getSharedStates().set(pt, mt(s.names, function(t) {
|
|
@@ -4105,7 +4112,7 @@ var Gi = [
|
|
|
4105
4112
|
a && (s.xWindow = "" + Math.round(a.left), s.yWindow = "" + Math.round(a.top), s.windowWidth = "" + Math.round(a.width), s.windowHeight = "" + Math.round(a.height));
|
|
4106
4113
|
const i = o.getTabRatio();
|
|
4107
4114
|
600 !== i && (s.tabRatio = i);
|
|
4108
|
-
const l = Math.min(o.getFirstTab(), n.getSheets({ visibility:
|
|
4115
|
+
const l = Math.min(o.getFirstTab(), n.getSheets({ visibility: T.Visibility.VeryHidden }).length - 1);
|
|
4109
4116
|
l > 0 && (s.firstSheet = "" + l);
|
|
4110
4117
|
const c = n.getSelectedSheet().getIndex();
|
|
4111
4118
|
0 !== c && (s.activeTab = "" + c), o.isAutoFilterDateGrouping() || (s.autoFilterDateGrouping = "0"), e.empty("workbookView", s), e.end("bookViews");
|
|
@@ -4161,7 +4168,7 @@ var Gi = [
|
|
|
4161
4168
|
}
|
|
4162
4169
|
return s;
|
|
4163
4170
|
})(e, s.pivotCaches, !0 === s.date1904, ((t) => {
|
|
4164
|
-
const e = /* @__PURE__ */ new Set(), n = t.getWorksheets().getItems({ visibility:
|
|
4171
|
+
const e = /* @__PURE__ */ new Set(), n = t.getWorksheets().getItems({ visibility: T.Visibility.VeryHidden });
|
|
4165
4172
|
for (let t = 0; t < n.length; t++) {
|
|
4166
4173
|
const o = kr(n[t]);
|
|
4167
4174
|
for (let t = 0; t < o.length; t++) {
|
|
@@ -4187,7 +4194,7 @@ var Gi = [
|
|
|
4187
4194
|
cacheNames: []
|
|
4188
4195
|
};
|
|
4189
4196
|
try {
|
|
4190
|
-
const o = t.getSheets({ visibility:
|
|
4197
|
+
const o = t.getSheets({ visibility: T.Visibility.VeryHidden }), i = s.sheets, d = t.getSelectedSheet(), m = o.length, f = ((t, e) => {
|
|
4191
4198
|
const n = new Array(e), o = /* @__PURE__ */ new Set();
|
|
4192
4199
|
let s = 1;
|
|
4193
4200
|
for (let r = 0; r < e; r++) {
|
|
@@ -4255,7 +4262,7 @@ var Gi = [
|
|
|
4255
4262
|
pivot: [],
|
|
4256
4263
|
timeline: [],
|
|
4257
4264
|
cacheNames: []
|
|
4258
|
-
}, o = pr(t), s = e.getWorksheets().getItems({ visibility:
|
|
4265
|
+
}, o = pr(t), s = e.getWorksheets().getItems({ visibility: T.Visibility.VeryHidden });
|
|
4259
4266
|
for (let e = 0; e < s.length; e++) {
|
|
4260
4267
|
const r = kr(s[e]);
|
|
4261
4268
|
for (let e = 0; e < r.length; e++) {
|
|
@@ -4327,7 +4334,7 @@ var Gi = [
|
|
|
4327
4334
|
}(e, n, s), function(t, e, n, o, s) {
|
|
4328
4335
|
const r = t.getSharedStates().get(pt), a = o.names, i = a ? a.length : 0, l = new Set((a ?? []).filter((t) => !t.scope).map((t) => t.name.toLowerCase())), c = s.filter((t) => !l.has(t.toLowerCase()));
|
|
4329
4336
|
if (0 === i && 0 === c.length) return;
|
|
4330
|
-
const d = /* @__PURE__ */ new Map(), m = n.getSheets({ visibility:
|
|
4337
|
+
const d = /* @__PURE__ */ new Map(), m = n.getSheets({ visibility: T.Visibility.VeryHidden });
|
|
4331
4338
|
for (let t = 0; t < m.length; t++) d.set(m[t].getName().toLowerCase(), t);
|
|
4332
4339
|
e.start("definedNames");
|
|
4333
4340
|
for (let n = 0; n < i; n++) {
|
|
@@ -4497,7 +4504,7 @@ var Gi = [
|
|
|
4497
4504
|
rowEnd: a.rowEnd
|
|
4498
4505
|
}).getAddress()}`), e.empty("dimension", { ref: f });
|
|
4499
4506
|
}(0, s, r, a), function(t, e, n, o, s) {
|
|
4500
|
-
const r = n.getView(), a = r.getTopLeft(), i = n.getRowHeaders().getMetrics().getIndex(a.top), l = n.getColumnHeaders().getMetrics().getIndex(a.left), c =
|
|
4507
|
+
const r = n.getView(), a = r.getTopLeft(), i = n.getRowHeaders().getMetrics().getIndex(a.top), l = n.getColumnHeaders().getMetrics().getIndex(a.left), c = D.cellToString({
|
|
4501
4508
|
colIndex: l,
|
|
4502
4509
|
rowIndex: i
|
|
4503
4510
|
});
|
|
@@ -4526,17 +4533,17 @@ var Gi = [
|
|
|
4526
4533
|
d.colorId = "" + i;
|
|
4527
4534
|
}
|
|
4528
4535
|
d.workbookViewId = "0";
|
|
4529
|
-
const g = n.getSelection().getCoords(), x =
|
|
4536
|
+
const g = n.getSelection().getCoords(), x = D.cellToString(g.cell);
|
|
4530
4537
|
let y = {};
|
|
4531
4538
|
const v = r.getFreezePanes(), w = v.coords ?? {}, S = w.colIndex ?? 0, b = w.rowIndex ?? 0;
|
|
4532
4539
|
if (S > 0 || b > 0) {
|
|
4533
|
-
const t = v.topLeft ?? {}, o = t.top ?? 0, s = t.left ?? 0, r = n.getRowHeaders().getMetrics().getIndex(o), i = n.getColumnHeaders().getMetrics().getIndex(s), l = S - i, c = b - r, m = Math.max(S, n.getColumnHeaders().getMetrics().getIndex(a.left + n.getColumnHeaders().getMetrics().getOffset(S) - s)), p = Math.max(b, n.getRowHeaders().getMetrics().getIndex(a.top + n.getRowHeaders().getMetrics().getOffset(b) - o)), f =
|
|
4540
|
+
const t = v.topLeft ?? {}, o = t.top ?? 0, s = t.left ?? 0, r = n.getRowHeaders().getMetrics().getIndex(o), i = n.getColumnHeaders().getMetrics().getIndex(s), l = S - i, c = b - r, m = Math.max(S, n.getColumnHeaders().getMetrics().getIndex(a.left + n.getColumnHeaders().getMetrics().getOffset(S) - s)), p = Math.max(b, n.getRowHeaders().getMetrics().getIndex(a.top + n.getRowHeaders().getMetrics().getOffset(b) - o)), f = D.cellToString({
|
|
4534
4541
|
colIndex: i,
|
|
4535
4542
|
rowIndex: r
|
|
4536
4543
|
});
|
|
4537
4544
|
"A1" !== f ? d.topLeftCell = f : delete d.topLeftCell, e.start("sheetView", d);
|
|
4538
4545
|
const h = {};
|
|
4539
|
-
l > 0 && (h.xSplit = l), c > 0 && (h.ySplit = c), h.topLeftCell =
|
|
4546
|
+
l > 0 && (h.xSplit = l), c > 0 && (h.ySplit = c), h.topLeftCell = D.cellToString({
|
|
4540
4547
|
colIndex: m,
|
|
4541
4548
|
rowIndex: p
|
|
4542
4549
|
}), h.state = "frozen";
|
|
@@ -4550,16 +4557,16 @@ var Gi = [
|
|
|
4550
4557
|
sqref: s?.sqref ?? r
|
|
4551
4558
|
});
|
|
4552
4559
|
};
|
|
4553
|
-
0 === S ? (h.activePane = "bottomLeft", e.empty("pane", h), g("topLeft",
|
|
4560
|
+
0 === S ? (h.activePane = "bottomLeft", e.empty("pane", h), g("topLeft", D.cellToString({
|
|
4554
4561
|
colIndex: m,
|
|
4555
4562
|
rowIndex: r
|
|
4556
|
-
}), !1), y.pane = "bottomLeft") : 0 === b ? (h.activePane = "topRight", e.empty("pane", h), g("topLeft",
|
|
4563
|
+
}), !1), y.pane = "bottomLeft") : 0 === b ? (h.activePane = "topRight", e.empty("pane", h), g("topLeft", D.cellToString({
|
|
4557
4564
|
colIndex: i,
|
|
4558
4565
|
rowIndex: p
|
|
4559
|
-
}), !1), y.pane = "topRight") : (h.activePane = "bottomRight", e.empty("pane", h), g("topLeft", f, !1), g("topRight",
|
|
4566
|
+
}), !1), y.pane = "topRight") : (h.activePane = "bottomRight", e.empty("pane", h), g("topLeft", f, !1), g("topRight", D.cellToString({
|
|
4560
4567
|
colIndex: m,
|
|
4561
4568
|
rowIndex: r
|
|
4562
|
-
}), !0), g("bottomLeft",
|
|
4569
|
+
}), !0), g("bottomLeft", D.cellToString({
|
|
4563
4570
|
colIndex: i,
|
|
4564
4571
|
rowIndex: p
|
|
4565
4572
|
}), !0), y.pane = "bottomRight");
|
|
@@ -4570,7 +4577,7 @@ var Gi = [
|
|
|
4570
4577
|
let t = "";
|
|
4571
4578
|
for (let e = 0; e < T; e++) {
|
|
4572
4579
|
const n = C[e];
|
|
4573
|
-
e > 0 && (t += " "), t +=
|
|
4580
|
+
e > 0 && (t += " "), t += D.rangeToString(n);
|
|
4574
4581
|
}
|
|
4575
4582
|
y.sqref = t, (g.rangeIndex ?? 0) > 0 && (y.activeCellId = "" + g.rangeIndex);
|
|
4576
4583
|
} else "A1" === x ? y = null : y.sqref = x;
|
|
@@ -4586,7 +4593,7 @@ var Gi = [
|
|
|
4586
4593
|
thickBottom: s,
|
|
4587
4594
|
run: n
|
|
4588
4595
|
};
|
|
4589
|
-
}, s = t.defaultRowSize ?? e, r = t.rows ?
|
|
4596
|
+
}, s = t.defaultRowSize ?? e, r = t.rows ? D.refsToRuns(t.rows, !1) : null;
|
|
4590
4597
|
let a = null, i = 0;
|
|
4591
4598
|
const l = r ? r.length : 0;
|
|
4592
4599
|
for (let t = 0; t < l; t++) {
|
|
@@ -4597,7 +4604,7 @@ var Gi = [
|
|
|
4597
4604
|
})(a, .75 * r.getStyles().getNormal().getBestFit().height, r.getEntireRange().getRowEnd() + 1);
|
|
4598
4605
|
(function(t, e, n, o, s) {
|
|
4599
4606
|
const r = o.defaultColSize, a = o.defaultRowSize, i = {};
|
|
4600
|
-
void 0 !== o.baseColSize && (i.baseColWidth = o.baseColSize), void 0 !== r && (i.defaultColWidth = r), s ? (i.defaultRowHeight = s.height, s.custom && (i.customHeight = "1")) : (i.defaultRowHeight = a ?? .75 * n.getRowHeaders().getMetrics().getDefaultSize(), void 0 !== a && (i.customHeight = "1")), o.rows && null !== ra(
|
|
4607
|
+
void 0 !== o.baseColSize && (i.baseColWidth = o.baseColSize), void 0 !== r && (i.defaultColWidth = r), s ? (i.defaultRowHeight = s.height, s.custom && (i.customHeight = "1")) : (i.defaultRowHeight = a ?? .75 * n.getRowHeaders().getMetrics().getDefaultSize(), void 0 !== a && (i.customHeight = "1")), o.rows && null !== ra(D.refsToRuns(o.rows, !1)) && (i.zeroHeight = "1"), s?.thickTop && (i.thickTop = "1"), s?.thickBottom && (i.thickBottom = "1");
|
|
4601
4608
|
const l = n.getOutline(), c = l.getLevelCount(v.Axis.Row);
|
|
4602
4609
|
c > 0 && (i.outlineLevelRow = c);
|
|
4603
4610
|
const d = l.getLevelCount(v.Axis.Column);
|
|
@@ -4605,7 +4612,7 @@ var Gi = [
|
|
|
4605
4612
|
})(0, s, r, a, c);
|
|
4606
4613
|
const d = !1 === a.protection?.showFormulas ? e.getSharedStates().get("xfVariants") ?? null : null;
|
|
4607
4614
|
(function(t, e, n, o, s) {
|
|
4608
|
-
const r = o.cols ?
|
|
4615
|
+
const r = o.cols ? D.refsToRuns(o.cols, !0) : null, a = r ? r.length : 0;
|
|
4609
4616
|
n.getEntireRange().getColumnEnd();
|
|
4610
4617
|
const i = n.getColumnHeaders().getDefaultSizeNative(), l = s ? s.getXf(0, !0, !1) : 0;
|
|
4611
4618
|
let c = 1;
|
|
@@ -4641,8 +4648,8 @@ var Gi = [
|
|
|
4641
4648
|
for (const n of t.pivotTables ?? []) {
|
|
4642
4649
|
const t = n.buttons?.length ? te(n) : null;
|
|
4643
4650
|
if (t) for (const o of n.buttons) {
|
|
4644
|
-
const n =
|
|
4645
|
-
for (let o = n.rowStart; o <= n.rowEnd; o++) for (let s = n.colStart; s <= n.colEnd; s++) (e ??= /* @__PURE__ */ new Set()).add((t.rowStart + o) *
|
|
4651
|
+
const n = D.fastStringToRange(o);
|
|
4652
|
+
for (let o = n.rowStart; o <= n.rowEnd; o++) for (let s = n.colStart; s <= n.colEnd; s++) (e ??= /* @__PURE__ */ new Set()).add((t.rowStart + o) * Ra + t.colStart + s);
|
|
4646
4653
|
}
|
|
4647
4654
|
}
|
|
4648
4655
|
return e;
|
|
@@ -4653,15 +4660,15 @@ var Gi = [
|
|
|
4653
4660
|
o && (e ??= []).push({
|
|
4654
4661
|
table: n,
|
|
4655
4662
|
coords: o,
|
|
4656
|
-
formats: t?.header ?
|
|
4663
|
+
formats: t?.header ? k(t) : null
|
|
4657
4664
|
});
|
|
4658
4665
|
}
|
|
4659
4666
|
return e;
|
|
4660
4667
|
}(n);
|
|
4661
4668
|
let g = 0, y = 0;
|
|
4662
4669
|
const S = n.getUsedRange();
|
|
4663
|
-
let
|
|
4664
|
-
const
|
|
4670
|
+
let b = 0;
|
|
4671
|
+
const C = l?.run, T = s.rows ? D.refsToRuns(s.rows, !1) : null, R = s.defaultRowSize ?? .75 * n.getStyles().getNormal().getBestFit().height, F = T && C ? ((t, e, n, o) => {
|
|
4665
4672
|
const s = [];
|
|
4666
4673
|
let r = 0;
|
|
4667
4674
|
const a = (t, e) => {
|
|
@@ -4676,26 +4683,26 @@ var Gi = [
|
|
|
4676
4683
|
a(r, o.min - 1), r = o.max + 1, o.min === e.min && o.max === e.max || s.push(o);
|
|
4677
4684
|
}
|
|
4678
4685
|
return a(r, o - 1), s;
|
|
4679
|
-
})(
|
|
4680
|
-
if (S ||
|
|
4681
|
-
const c = .75, S = s.defaultRowSize ?? n.getRowHeaders().getMetrics().getDefaultSize() * c,
|
|
4682
|
-
const n =
|
|
4686
|
+
})(T, C, R, n.getEntireRange().getRowEnd() + 1) : T, M = F ? F.length : 0, P = ra(F), A = null !== P ? P - 1 : F?.[M - 1]?.max ?? -1, _ = s.cols ? D.refsToRuns(s.cols, !0) : null, N = _ ? _.length : 0, $ = _?.[N - 1]?.max ?? -1;
|
|
4687
|
+
if (S || M > 0) {
|
|
4688
|
+
const c = .75, S = s.defaultRowSize ?? n.getRowHeaders().getMetrics().getDefaultSize() * c, C = n.getStyles().getNormal().getBestFit().height * c, T = sa(n.getOutline(), v.Axis.Row), k = (t, e) => {
|
|
4689
|
+
const n = Ma;
|
|
4683
4690
|
if (n.r = "" + (t + 1), n.s = void 0, n.customFormat = void 0, n.hidden = void 0, n.ht = void 0, n.customHeight = void 0, n.outlineLevel = void 0, n.collapsed = void 0, n.thickTop = void 0, n.thickBot = void 0, !e) return n;
|
|
4684
4691
|
const o = e.value;
|
|
4685
4692
|
void 0 !== o.s && (n.s = "" + (a ? a.getXf(o.s, !0, !1) : o.s), n.customFormat = "1"), o.h && (n.hidden = "1");
|
|
4686
4693
|
const s = o.csz ?? !1, r = o.sz ?? S;
|
|
4687
|
-
return (r !== (l?.height ??
|
|
4694
|
+
return (r !== (l?.height ?? C) || s) && (n.ht = "" + r), s && (n.customHeight = "1"), o.l && (n.outlineLevel = "" + o.l), T.has(t) && (n.collapsed = "1"), o.tt && (n.thickTop = "1"), o.tb && (n.thickBot = "1"), n;
|
|
4688
4695
|
};
|
|
4689
|
-
let
|
|
4696
|
+
let R = 0, M = F?.[R] ?? null, N = M?.min ?? Number.MAX_SAFE_INTEGER, B = M?.max ?? Number.MAX_SAFE_INTEGER, O = M?.value?.s, V = -1, W = 0, z = _?.[W] ?? null, j = z?.min ?? Number.MAX_SAFE_INTEGER, X = z?.max ?? Number.MAX_SAFE_INTEGER, H = z?.value?.s;
|
|
4690
4697
|
const U = (t, n = !1) => {
|
|
4691
4698
|
if (V !== t) {
|
|
4692
4699
|
for (-1 !== V && (e.end("row"), 0 !== W && (W = 0, z = _?.[W] ?? null, j = z?.min ?? Number.MAX_SAFE_INTEGER, X = z?.max ?? Number.MAX_SAFE_INTEGER, H = z?.value?.s)); V + 1 <= t;) {
|
|
4693
|
-
V++,
|
|
4694
|
-
const o = V < t || n && V === t, s =
|
|
4700
|
+
V++, M && V > B && (M = F[++R] ?? null, M ? (N = M.min, B = M.max, O = M.value?.s) : (N = Number.MAX_SAFE_INTEGER, B = Number.MAX_SAFE_INTEGER, O = void 0)), V < N && V < t && null === P && (V = M ? Math.min(N, t) : t), null !== P && V >= P && V < t && (V = t);
|
|
4701
|
+
const o = V < t || n && V === t, s = k(V, M && V >= N && V <= B ? M : null);
|
|
4695
4702
|
o ? e.empty("row", s) : e.start("row", s);
|
|
4696
4703
|
}
|
|
4697
4704
|
if (t < V) {
|
|
4698
|
-
const n =
|
|
4705
|
+
const n = k(t, null);
|
|
4699
4706
|
e.start("row", n);
|
|
4700
4707
|
}
|
|
4701
4708
|
}
|
|
@@ -4750,17 +4757,17 @@ var Gi = [
|
|
|
4750
4757
|
rowIndex: u.rowStart,
|
|
4751
4758
|
colIndex: u.colStart
|
|
4752
4759
|
}, v = c.parse(g, y), w = v ? c.annotate(v) : void 0, S = v ? c.spell(v, f.has(`${u.rowStart},${u.colStart}`), p(u.rowStart, u.colStart)) : null;
|
|
4753
|
-
let
|
|
4754
|
-
if (
|
|
4760
|
+
let C = S ? E.imager(S, { entireCoords: d }) : null;
|
|
4761
|
+
if (C) g = C(y);
|
|
4755
4762
|
else if (!o.isSingleCell(u)) {
|
|
4756
4763
|
const t = [];
|
|
4757
|
-
|
|
4764
|
+
D.normalizeA1ToR1C1(g, y.rowIndex, y.colIndex, t), C = (e) => {
|
|
4758
4765
|
const n = e ?? y;
|
|
4759
|
-
return
|
|
4766
|
+
return D.resolveRelativeToA1(t, n.rowIndex, n.colIndex);
|
|
4760
4767
|
};
|
|
4761
4768
|
}
|
|
4762
4769
|
if (g.length > 8192) {
|
|
4763
|
-
t.warn(`The formula at '${n.getName()}'!${
|
|
4770
|
+
t.warn(`The formula at '${n.getName()}'!${D.rangeToString(u)} is ${g.length.toLocaleString()} characters as xlsx stores it; Excel allows at most ${8192 .toLocaleString()}. Its cells are saved as values.`, void 0, "xlsx.formula.lengthLimit");
|
|
4764
4771
|
continue;
|
|
4765
4772
|
}
|
|
4766
4773
|
let T = !0 === w?.cm;
|
|
@@ -4778,7 +4785,7 @@ var Gi = [
|
|
|
4778
4785
|
coords: o,
|
|
4779
4786
|
formula: n,
|
|
4780
4787
|
sharedId: null,
|
|
4781
|
-
ref:
|
|
4788
|
+
ref: D.rangeToString(o),
|
|
4782
4789
|
isDynamicRange: !1,
|
|
4783
4790
|
isWrapped: !0
|
|
4784
4791
|
}]);
|
|
@@ -4791,7 +4798,7 @@ var Gi = [
|
|
|
4791
4798
|
t(r, a, o), s = !0;
|
|
4792
4799
|
continue;
|
|
4793
4800
|
}
|
|
4794
|
-
const i = n.getRange(
|
|
4801
|
+
const i = n.getRange(D.rangeToString({
|
|
4795
4802
|
rowStart: r,
|
|
4796
4803
|
colStart: a,
|
|
4797
4804
|
rowEnd: r,
|
|
@@ -4800,23 +4807,23 @@ var Gi = [
|
|
|
4800
4807
|
null !== l && t(r, a, l);
|
|
4801
4808
|
}
|
|
4802
4809
|
} else m.forEach((e, n) => {
|
|
4803
|
-
const o = n.getCoords(), r =
|
|
4810
|
+
const o = n.getCoords(), r = C?.(o) ?? g, a = se(r, n.getCell().getValue());
|
|
4804
4811
|
null !== a && (t(o.rowIndex, o.colIndex, a), s = !0);
|
|
4805
4812
|
}, { includeEmpty: !0 });
|
|
4806
4813
|
if (s) continue;
|
|
4807
4814
|
}
|
|
4808
4815
|
const I = -1 !== g.indexOf("!") || -1 !== g.indexOf("[");
|
|
4809
|
-
T || m.isSingleCell() || I || l(u) || (x = "" +
|
|
4810
|
-
const
|
|
4816
|
+
T || m.isSingleCell() || I || l(u) || (x = "" + b++);
|
|
4817
|
+
const R = null !== x || m.isSingleCell() ? null : C, F = [u, {
|
|
4811
4818
|
coords: u,
|
|
4812
4819
|
formula: g,
|
|
4813
4820
|
sharedId: x,
|
|
4814
4821
|
ref: e,
|
|
4815
4822
|
isDynamicRange: T,
|
|
4816
4823
|
isExcelVolatile: k,
|
|
4817
|
-
memberImage:
|
|
4824
|
+
memberImage: R
|
|
4818
4825
|
}];
|
|
4819
|
-
h.push(
|
|
4826
|
+
h.push(F);
|
|
4820
4827
|
} catch (e) {
|
|
4821
4828
|
t.log(`Could not write the formula '${i[1]}' over '${i[0]}'; those cells are written as values only. ${e}`);
|
|
4822
4829
|
continue;
|
|
@@ -4871,13 +4878,13 @@ var Gi = [
|
|
|
4871
4878
|
const v = o.getType();
|
|
4872
4879
|
let S = null;
|
|
4873
4880
|
J > 0 && (S = o.getInjectedReference(1) ?? null);
|
|
4874
|
-
let
|
|
4875
|
-
Z > 0 && (
|
|
4876
|
-
let
|
|
4877
|
-
tt > 0 && (
|
|
4878
|
-
const
|
|
4881
|
+
let b = !1;
|
|
4882
|
+
Z > 0 && (b = o.getInjectedReference(2) ?? !1);
|
|
4883
|
+
let C = null;
|
|
4884
|
+
tt > 0 && (C = o.getInjectedReference(3) ?? null);
|
|
4885
|
+
const T = "error" === C?.kind, k = "fixed" === C?.kind, R = Ea;
|
|
4879
4886
|
R.r = o.getAddress(), R.s = void 0, R.t = void 0, R.cm = void 0, R.vm = void 0;
|
|
4880
|
-
const F = null !== h && h.has(r *
|
|
4887
|
+
const F = null !== h && h.has(r * Ra + l), E = null !== u ? function(t, e, n) {
|
|
4881
4888
|
for (const { table: o, coords: s, formats: r } of t) {
|
|
4882
4889
|
if (e < s.rowStart || e > s.rowEnd || n < s.colStart || n > s.colEnd) continue;
|
|
4883
4890
|
const t = o.getStyleAt(e, n), a = t.getAlignment(), i = "left" === a.getHorizontal() ? a.getIndent() : null, l = t.getNumberFormat(), c = l && "General" !== l ? l : null, d = r?.formatAt(e - s.rowStart, n - s.colStart).user ?? null;
|
|
@@ -4890,29 +4897,29 @@ var Gi = [
|
|
|
4890
4897
|
return null;
|
|
4891
4898
|
}(u, r, l) : null;
|
|
4892
4899
|
(a || F || null !== E) && (c = f.getXf(c ?? 0, null !== a, F, E?.labelIndent ?? null, E?.numberFormat ?? null, E?.user ?? null)), void 0 !== c && 0 !== c && (R.s = "" + c);
|
|
4893
|
-
const
|
|
4894
|
-
let
|
|
4900
|
+
const M = K.length > 0 ? o.getInjectedReference(4) ?? null : null;
|
|
4901
|
+
let P = null, A = null;
|
|
4895
4902
|
switch (v) {
|
|
4896
4903
|
case x.Boolean:
|
|
4897
|
-
|
|
4904
|
+
P = n ? "1" : "0", A = "b";
|
|
4898
4905
|
break;
|
|
4899
4906
|
case x.Error:
|
|
4900
4907
|
const t = n.getCode();
|
|
4901
|
-
if (
|
|
4908
|
+
if (A = "e", t > 7) P = w.BuiltIn.Value.getLabel(), R.vm = "" + p.add(n);
|
|
4902
4909
|
else if (t < 1) {
|
|
4903
4910
|
let t;
|
|
4904
|
-
|
|
4905
|
-
} else
|
|
4911
|
+
A = "s", S ? (t = "=" + S.formula, S = null) : t = "" + n.getLabel(), P = "" + d.add(t), g++;
|
|
4912
|
+
} else P = "" + n.getLabel();
|
|
4906
4913
|
break;
|
|
4907
4914
|
case x.Number:
|
|
4908
|
-
|
|
4915
|
+
P = ot(n), A = null;
|
|
4909
4916
|
break;
|
|
4910
4917
|
case x.String:
|
|
4911
|
-
|
|
4918
|
+
P = n, S || M ? (A = "str", P = n) : (A = "s", P = "" + d.add(P), g++);
|
|
4912
4919
|
break;
|
|
4913
4920
|
case x.RichData:
|
|
4914
|
-
if (n instanceof
|
|
4915
|
-
S ||
|
|
4921
|
+
if (n instanceof I) {
|
|
4922
|
+
S || M ? (A = "str", P = n.getText()) : (A = "s", P = "" + d.add(function(t, e, n) {
|
|
4916
4923
|
const o = t.getRuns(), s = e.getCell().getRichText();
|
|
4917
4924
|
if (!s) return t.getText();
|
|
4918
4925
|
const r = new Array(o.length);
|
|
@@ -4929,21 +4936,21 @@ var Gi = [
|
|
|
4929
4936
|
}
|
|
4930
4937
|
const a = JSON.stringify(r);
|
|
4931
4938
|
let l = n.get(a);
|
|
4932
|
-
return void 0 === l && (l = new
|
|
4939
|
+
return void 0 === l && (l = new I(r), n.set(a, l)), l;
|
|
4933
4940
|
}(n, o, et)), g++);
|
|
4934
4941
|
break;
|
|
4935
4942
|
}
|
|
4936
|
-
if (n instanceof
|
|
4943
|
+
if (n instanceof L) {
|
|
4937
4944
|
const t = n.toPrimitive();
|
|
4938
|
-
"number" == typeof t ?
|
|
4945
|
+
"number" == typeof t ? P = ot(t) : "boolean" == typeof t ? (A = "b", P = t ? "1" : "0") : S || M ? (A = "str", P = t) : (A = "s", P = "" + d.add(t), g++);
|
|
4939
4946
|
break;
|
|
4940
4947
|
}
|
|
4941
|
-
|
|
4948
|
+
A = "e", P = w.BuiltIn.Value.getLabel(), R.vm = "" + p.add(n, S?.formula ?? (M ? "" : null));
|
|
4942
4949
|
}
|
|
4943
|
-
|
|
4944
|
-
const
|
|
4945
|
-
if (null !== S || null !==
|
|
4946
|
-
if (
|
|
4950
|
+
A && (R.t = A);
|
|
4951
|
+
const D = !S?.isWrapped && (null !== C || (S?.isDynamicRange ?? !1));
|
|
4952
|
+
if (null !== S || null !== P || null !== M) {
|
|
4953
|
+
if (D && null !== S && !k && (R.cm = "" + m.registerArrayCell(T)), e.start("c", R), S) {
|
|
4947
4954
|
const t = r === S.coords.rowStart && l === S.coords.colStart;
|
|
4948
4955
|
let n = S.formula;
|
|
4949
4956
|
S.memberImage && !t && (n = S.memberImage({
|
|
@@ -4953,21 +4960,21 @@ var Gi = [
|
|
|
4953
4960
|
let o, s = null;
|
|
4954
4961
|
const a = S.sharedId;
|
|
4955
4962
|
if (a) {
|
|
4956
|
-
o =
|
|
4963
|
+
o = Aa;
|
|
4957
4964
|
const t = S.coords;
|
|
4958
4965
|
t.colStart === l && t.rowStart === r ? (o.ref = S.ref, o.si = a, s = S.formula) : (o.ref = void 0, o.si = a);
|
|
4959
|
-
} else
|
|
4960
|
-
o.ca =
|
|
4961
|
-
} else
|
|
4962
|
-
...
|
|
4966
|
+
} else D ? (o = Da, o.aca = T ? "1" : void 0, o.ref = T ? R.r : C?.ref ?? R.r, s = n) : (o = Pa, s = n);
|
|
4967
|
+
o.ca = b || T || S.isExcelVolatile ? "1" : void 0, s ? (e.start("f", o), e.text(s), e.end("f")) : e.empty("f", o);
|
|
4968
|
+
} else M && e.empty("f", b ? {
|
|
4969
|
+
...M,
|
|
4963
4970
|
ca: "1"
|
|
4964
|
-
} :
|
|
4965
|
-
null !==
|
|
4971
|
+
} : M);
|
|
4972
|
+
null !== P && ("str" === A && P ? (e.start("v", ke.test(P) ? Fe : void 0), e.text(ie(P))) : (e.start("v"), P && e.text(P)), e.end("v")), e.end("c");
|
|
4966
4973
|
} else y++ < aa ? e.empty("c", R) : 1048577 === y && t.warn(`Reached ${aa} style-only cells at '${R.r}'; not writing the rest.`);
|
|
4967
4974
|
}, {
|
|
4968
4975
|
injectReferences: G,
|
|
4969
4976
|
features: []
|
|
4970
|
-
}), -1 !== V && V >=
|
|
4977
|
+
}), -1 !== V && V >= A ? e.end("row") : U(A, !0), e.end("sheetData"), e.setValidationDisabled(!1);
|
|
4971
4978
|
} else e.empty("sheetData");
|
|
4972
4979
|
if (g > 0) {
|
|
4973
4980
|
const t = c.get("stringsCount") ?? 0;
|
|
@@ -4980,7 +4987,7 @@ var Gi = [
|
|
|
4980
4987
|
for (let t = 0; t < n; t++) {
|
|
4981
4988
|
s[t] = null;
|
|
4982
4989
|
try {
|
|
4983
|
-
const n =
|
|
4990
|
+
const n = E.parse(e[t][1]);
|
|
4984
4991
|
if (!n) continue;
|
|
4985
4992
|
let r = null;
|
|
4986
4993
|
const a = (t) => {
|
|
@@ -5023,7 +5030,7 @@ var Gi = [
|
|
|
5023
5030
|
const n = s[e];
|
|
5024
5031
|
let o, r;
|
|
5025
5032
|
Array.isArray(n) ? (o = n[0], r = n[1]) : (o = n.r, r = n.v);
|
|
5026
|
-
const i =
|
|
5033
|
+
const i = ga(o);
|
|
5027
5034
|
if (!i || !r) {
|
|
5028
5035
|
t.log("Skipping protectedRange with no range.");
|
|
5029
5036
|
continue;
|
|
@@ -5052,7 +5059,7 @@ var Gi = [
|
|
|
5052
5059
|
if (s > 0) {
|
|
5053
5060
|
e.start("mergeCells", { count: s });
|
|
5054
5061
|
for (let t = 0; t < s; t++) {
|
|
5055
|
-
const n = o.merges[t], s = "string" == typeof n ? n :
|
|
5062
|
+
const n = o.merges[t], s = "string" == typeof n ? n : D.rangeToString(n);
|
|
5056
5063
|
e.empty("mergeCell", { ref: s });
|
|
5057
5064
|
}
|
|
5058
5065
|
e.end("mergeCells");
|
|
@@ -5070,26 +5077,26 @@ var Gi = [
|
|
|
5070
5077
|
const s = i[o];
|
|
5071
5078
|
let r, l;
|
|
5072
5079
|
Array.isArray(s) ? (r = s[0], l = s[1]) : (r = s.r, l = s.v);
|
|
5073
|
-
const c =
|
|
5080
|
+
const c = ga(r);
|
|
5074
5081
|
if (!c || !l) {
|
|
5075
5082
|
t.log("Skipping conditionalFormatting with no range.");
|
|
5076
5083
|
continue;
|
|
5077
5084
|
}
|
|
5078
|
-
const g =
|
|
5085
|
+
const g = wa(c), x = ba(l.scale, g, p);
|
|
5079
5086
|
x !== l.scale && (l = {
|
|
5080
5087
|
...l,
|
|
5081
5088
|
scale: x
|
|
5082
5089
|
});
|
|
5083
|
-
const y = x ? { type: x.type } : vt(l.condition,
|
|
5084
|
-
y ? (y.formulas && (y.formulas = y.formulas.map((t) =>
|
|
5090
|
+
const y = x ? { type: x.type } : vt(l.condition, ua(c), (e, n) => t.warn(e, void 0, n));
|
|
5091
|
+
y ? (y.formulas && (y.formulas = y.formulas.map((t) => Sa(t, g, p))), x?.type === M.ScaleType.IconSet && pa(x) ? (h++, u(l), a.push({
|
|
5085
5092
|
guid: Pt(n.uuidV4),
|
|
5086
5093
|
sqref: c,
|
|
5087
5094
|
priority: h,
|
|
5088
5095
|
scale: x
|
|
5089
|
-
})) : x || !
|
|
5096
|
+
})) : x || !va(y) ? (c !== f && (null !== f && e.end("conditionalFormatting"), e.start("conditionalFormatting", {
|
|
5090
5097
|
sqref: c,
|
|
5091
5098
|
pivot: "number" == typeof l.pivotKey ? "1" : void 0
|
|
5092
|
-
}), f = c), h++, u(l),
|
|
5099
|
+
}), f = c), h++, u(l), ha(t, e, m, l, y, c, h, d, a)) : (h++, u(l), a.push({
|
|
5093
5100
|
guid: Pt(n.uuidV4),
|
|
5094
5101
|
sqref: c,
|
|
5095
5102
|
priority: h,
|
|
@@ -5107,19 +5114,19 @@ var Gi = [
|
|
|
5107
5114
|
const n = a[e];
|
|
5108
5115
|
let o, i;
|
|
5109
5116
|
Array.isArray(n) ? (o = n[0], i = n[1]) : (o = n.r, i = n.v);
|
|
5110
|
-
const c =
|
|
5117
|
+
const c = ga(o);
|
|
5111
5118
|
if (!c || !i) {
|
|
5112
5119
|
t.log("Skipping dataValidation with no range.");
|
|
5113
5120
|
continue;
|
|
5114
5121
|
}
|
|
5115
5122
|
i.ext && t.warn("DataValidation extension payload is not written to xlsx; it will be lost.");
|
|
5116
|
-
const d = (e, n) => t.warn(e, void 0, n), m = Ct(i.condition, d), { type: p, operator: f } = m ?? {}, h =
|
|
5123
|
+
const d = (e, n) => t.warn(e, void 0, n), m = Ct(i.condition, d), { type: p, operator: f } = m ?? {}, h = wa(c), u = Sa(m?.formula1, h, r), g = Sa(m?.formula2, h, r), x = {
|
|
5117
5124
|
type: p,
|
|
5118
5125
|
operator: f,
|
|
5119
|
-
allowBlank:
|
|
5126
|
+
allowBlank: xa(i.condition?.includeBlanks ?? !1),
|
|
5120
5127
|
showDropDown: i.hideDropdown ? "1" : void 0,
|
|
5121
|
-
showInputMessage:
|
|
5122
|
-
showErrorMessage:
|
|
5128
|
+
showInputMessage: xa(i.showPromptMessage),
|
|
5129
|
+
showErrorMessage: xa(i.showAlertMessage),
|
|
5123
5130
|
errorStyle: i.alertStyle ?? "stop",
|
|
5124
5131
|
errorTitle: H(i.alertTitle, "errorTitle", d),
|
|
5125
5132
|
error: H(i.alert, "error", d),
|
|
@@ -5127,7 +5134,7 @@ var Gi = [
|
|
|
5127
5134
|
prompt: H(i.prompt, "prompt", d),
|
|
5128
5135
|
imeMode: i.imeMode
|
|
5129
5136
|
};
|
|
5130
|
-
|
|
5137
|
+
ya(u) || ya(g) ? s.push({
|
|
5131
5138
|
attrs: x,
|
|
5132
5139
|
formula1: u,
|
|
5133
5140
|
formula2: g,
|
|
@@ -5140,7 +5147,7 @@ var Gi = [
|
|
|
5140
5147
|
}
|
|
5141
5148
|
if (0 === l.length) return s;
|
|
5142
5149
|
e.start("dataValidations", {
|
|
5143
|
-
...
|
|
5150
|
+
...Ca(n),
|
|
5144
5151
|
count: l.length
|
|
5145
5152
|
});
|
|
5146
5153
|
for (let t = 0; t < l.length; t++) {
|
|
@@ -5206,14 +5213,14 @@ var Gi = [
|
|
|
5206
5213
|
e.end("headerFooter");
|
|
5207
5214
|
}
|
|
5208
5215
|
}
|
|
5209
|
-
|
|
5216
|
+
Ta(e, "rowBreaks", n.rowBreaks), Ta(e, "colBreaks", n.columnBreaks);
|
|
5210
5217
|
}(e, s, a.pageLayout), function(t, e) {
|
|
5211
5218
|
if (!e?.length) return;
|
|
5212
5219
|
const n = /* @__PURE__ */ new Map();
|
|
5213
5220
|
for (const t of e) {
|
|
5214
5221
|
const e = Array.isArray(t) ? t[0] : t.r, o = Array.isArray(t) ? t[1] : t.v, s = q.filter((t) => o?.includes(t));
|
|
5215
5222
|
if (0 === s.length) continue;
|
|
5216
|
-
const r = "string" == typeof e ? e :
|
|
5223
|
+
const r = "string" == typeof e ? e : ga(e);
|
|
5217
5224
|
if (!r) continue;
|
|
5218
5225
|
const a = s.join(",");
|
|
5219
5226
|
let i = n.get(a);
|
|
@@ -5271,13 +5278,13 @@ var Gi = [
|
|
|
5271
5278
|
comments: n
|
|
5272
5279
|
});
|
|
5273
5280
|
}(r);
|
|
5274
|
-
|
|
5281
|
+
ka(e, s, "legacyDrawing", ((t, e) => {
|
|
5275
5282
|
if (!e) return t;
|
|
5276
5283
|
const n = t?.xml ?? null;
|
|
5277
5284
|
let o = Ve(n ?? "");
|
|
5278
5285
|
const s = [], r = e.comments;
|
|
5279
5286
|
for (let t = 0; t < r.length; t++) {
|
|
5280
|
-
const { comment: n, row: a, col: i } = r[t], l = n.isNote() ? n.toJSON() : null, { bounds: c, anchor: d } =
|
|
5287
|
+
const { comment: n, row: a, col: i } = r[t], l = n.isNote() ? n.toJSON() : null, { bounds: c, anchor: d } = Ia(e.sheet, n, a, i), m = l?.box, p = m?.fill || m?.stroke ? Ft(m.xml ?? G, {
|
|
5281
5288
|
fill: m.fill,
|
|
5282
5289
|
stroke: m.stroke
|
|
5283
5290
|
}, (t) => e.sheet.getStyles().parseColor(t)) : m?.xml;
|
|
@@ -5337,7 +5344,7 @@ var Gi = [
|
|
|
5337
5344
|
...e,
|
|
5338
5345
|
xml: i
|
|
5339
5346
|
} : { xml: i } : e;
|
|
5340
|
-
})(r, a.legacyDrawing ?? null, l), u)),
|
|
5347
|
+
})(r, a.legacyDrawing ?? null, l), u)), ka(e, s, "legacyDrawingHF", a.legacyDrawingHF ?? null), await async function(t, e, n) {
|
|
5341
5348
|
const o = n.getPicture();
|
|
5342
5349
|
if (!o) return;
|
|
5343
5350
|
const s = o.getResource(), r = await s.getExternalURI();
|
|
@@ -5400,7 +5407,7 @@ var Gi = [
|
|
|
5400
5407
|
e.start("controlPr", ze(s)), e.start("anchor", {
|
|
5401
5408
|
moveWithCells: "absolute" === i ? void 0 : "1",
|
|
5402
5409
|
sizeWithCells: "twoCell" === i ? "1" : void 0
|
|
5403
|
-
}),
|
|
5410
|
+
}), Fa(e, "from", n.anchor.tl), Fa(e, "to", n.anchor.br), e.end("anchor"), s.xml && e.raw(s.xml), e.end("controlPr"), e.end("control"), e.end("mc:Choice"), e.end("mc:AlternateContent");
|
|
5404
5411
|
}
|
|
5405
5412
|
e.end("controls"), e.end("mc:Choice"), e.end("mc:AlternateContent");
|
|
5406
5413
|
}(e, s, l), function(t, e, n, o) {
|
|
@@ -5431,24 +5438,22 @@ var Gi = [
|
|
|
5431
5438
|
}), e.start("x14:conditionalFormattings");
|
|
5432
5439
|
for (let n = 0; n < o.length; n++) {
|
|
5433
5440
|
const { guid: s, sqref: r, priority: a, scale: i, rule: d, style: m, stopIfTrue: p } = o[n];
|
|
5434
|
-
if (e.start("x14:conditionalFormatting", { "xmlns:xm": "http://schemas.microsoft.com/office/excel/2006/main" }), i) if (i.type ===
|
|
5441
|
+
if (e.start("x14:conditionalFormatting", { "xmlns:xm": "http://schemas.microsoft.com/office/excel/2006/main" }), i) if (i.type === M.ScaleType.DataBar) {
|
|
5435
5442
|
e.start("x14:cfRule", {
|
|
5436
5443
|
type: "dataBar",
|
|
5437
5444
|
id: s
|
|
5438
5445
|
}), e.start("x14:dataBar", {
|
|
5439
5446
|
minLength: i.minLength ?? 0,
|
|
5440
5447
|
maxLength: i.maxLength ?? 100,
|
|
5441
|
-
gradient: i.
|
|
5448
|
+
gradient: i.solidFill ? "0" : void 0,
|
|
5442
5449
|
border: i.borderColor ? "1" : void 0,
|
|
5443
5450
|
direction: i.direction,
|
|
5444
5451
|
negativeBarColorSameAsPositive: i.negativeFillColor ? "0" : "1",
|
|
5445
5452
|
negativeBarBorderColorSameAsPositive: i.negativeBorderColor ? "0" : void 0,
|
|
5446
5453
|
axisPosition: i.axisPosition
|
|
5447
5454
|
});
|
|
5448
|
-
const t = i
|
|
5449
|
-
|
|
5450
|
-
else for (let n = 0; n < t.length; n++) da(e, t[n]);
|
|
5451
|
-
i.borderColor && Ao(e, c, i.borderColor, "x14:borderColor"), i.negativeFillColor && Ao(e, c, i.negativeFillColor, "x14:negativeFillColor"), i.negativeBorderColor && Ao(e, c, i.negativeBorderColor, "x14:negativeBorderColor"), i.axisColor && Ao(e, c, i.axisColor, "x14:axisColor"), e.end("x14:dataBar"), e.end("x14:cfRule");
|
|
5455
|
+
const [t, n] = fa(i);
|
|
5456
|
+
da(e, t), da(e, n), i.borderColor && Ao(e, c, i.borderColor, "x14:borderColor"), i.negativeFillColor && Ao(e, c, i.negativeFillColor, "x14:negativeFillColor"), i.negativeBorderColor && Ao(e, c, i.negativeBorderColor, "x14:negativeBorderColor"), i.axisColor && Ao(e, c, i.axisColor, "x14:axisColor"), e.end("x14:dataBar"), e.end("x14:cfRule");
|
|
5452
5457
|
} else {
|
|
5453
5458
|
e.start("x14:cfRule", {
|
|
5454
5459
|
type: "iconSet",
|
|
@@ -5456,8 +5461,8 @@ var Gi = [
|
|
|
5456
5461
|
id: s
|
|
5457
5462
|
}), e.start("x14:iconSet", {
|
|
5458
5463
|
iconSet: i.iconSet,
|
|
5459
|
-
reverse:
|
|
5460
|
-
showValue:
|
|
5464
|
+
reverse: xa(i.reverse),
|
|
5465
|
+
showValue: xa(i.showValue),
|
|
5461
5466
|
custom: (i.icon?.length ?? 0) > 0 ? "1" : void 0
|
|
5462
5467
|
});
|
|
5463
5468
|
const t = i.stops ?? [];
|
|
@@ -5473,12 +5478,12 @@ var Gi = [
|
|
|
5473
5478
|
e.start("x14:cfRule", {
|
|
5474
5479
|
type: d.type,
|
|
5475
5480
|
priority: a,
|
|
5476
|
-
stopIfTrue:
|
|
5477
|
-
aboveAverage:
|
|
5478
|
-
equalAverage:
|
|
5481
|
+
stopIfTrue: xa(p),
|
|
5482
|
+
aboveAverage: xa(d.aboveAverage),
|
|
5483
|
+
equalAverage: xa(d.equalAverage),
|
|
5479
5484
|
stdDev: d.stdDev,
|
|
5480
|
-
bottom:
|
|
5481
|
-
percent:
|
|
5485
|
+
bottom: xa(d.bottom),
|
|
5486
|
+
percent: xa(d.percent),
|
|
5482
5487
|
rank: d.rank,
|
|
5483
5488
|
operator: d.operator,
|
|
5484
5489
|
text: d.text,
|
|
@@ -5499,7 +5504,7 @@ var Gi = [
|
|
|
5499
5504
|
"xmlns:x14": rn
|
|
5500
5505
|
}), e.start("x14:dataValidations", {
|
|
5501
5506
|
"xmlns:xm": it,
|
|
5502
|
-
...
|
|
5507
|
+
...Ca(n),
|
|
5503
5508
|
count: s.length
|
|
5504
5509
|
});
|
|
5505
5510
|
for (let t = 0; t < s.length; t++) {
|
|
@@ -5633,13 +5638,13 @@ var Gi = [
|
|
|
5633
5638
|
const a = t.theme;
|
|
5634
5639
|
for (let t = 0; t < s; t++) {
|
|
5635
5640
|
const e = o[t];
|
|
5636
|
-
if (n.start("si"), e instanceof
|
|
5641
|
+
if (n.start("si"), e instanceof I) {
|
|
5637
5642
|
const t = e.getRuns();
|
|
5638
5643
|
for (let e = 0; e < t.length; e++) {
|
|
5639
5644
|
const o = t[e];
|
|
5640
|
-
n.start("r"), o.font && a && Yr(n, o.font, a),
|
|
5645
|
+
n.start("r"), o.font && a && Yr(n, o.font, a), La(n, o.text), n.end("r");
|
|
5641
5646
|
}
|
|
5642
|
-
} else
|
|
5647
|
+
} else La(n, e);
|
|
5643
5648
|
n.end("si");
|
|
5644
5649
|
}
|
|
5645
5650
|
n.end("sst"), n.close();
|
|
@@ -5667,7 +5672,7 @@ var Gi = [
|
|
|
5667
5672
|
e.end(o);
|
|
5668
5673
|
}
|
|
5669
5674
|
}(0, n, o, "clrScheme"), function(t, e, n, o) {
|
|
5670
|
-
n && (e.start(o, { name: n.getName() || "Office" }),
|
|
5675
|
+
n && (e.start(o, { name: n.getName() || "Office" }), Ja(e, n.getMajor() ?? {}, "Calibri Light", "majorFont"), Ja(e, n.getMinor() ?? {}, "Calibri", "minorFont"), e.end(o));
|
|
5671
5676
|
}(0, n, o.getFontScheme(), "fontScheme"), function(t, e, n, o, s) {
|
|
5672
5677
|
s?.formatSchemeXml ? e.raw(s.formatSchemeXml) : function(t, e, n, o, s) {
|
|
5673
5678
|
const r = { getTheme: () => o };
|
|
@@ -5683,13 +5688,13 @@ var Gi = [
|
|
|
5683
5688
|
}(t, e, "fmtScheme", o, o.getFormatScheme());
|
|
5684
5689
|
}(e, n, 0, o, s), n.end("themeElements"), function(t, e, n) {
|
|
5685
5690
|
const o = n.getObjectDefaults();
|
|
5686
|
-
if (!
|
|
5691
|
+
if (!Ka.some(([t]) => o[t])) return void e.empty("objectDefaults");
|
|
5687
5692
|
const s = { getTheme: () => n };
|
|
5688
5693
|
e.start("objectDefaults");
|
|
5689
|
-
for (const [r, a] of
|
|
5694
|
+
for (const [r, a] of Ka) {
|
|
5690
5695
|
const i = o[r];
|
|
5691
5696
|
if (!i) continue;
|
|
5692
|
-
e.start(a), e.start("spPr"), Go(t, s, i), e.end("spPr"),
|
|
5697
|
+
e.start(a), e.start("spPr"), Go(t, s, i), e.end("spPr"), qa(t, s, i.text);
|
|
5693
5698
|
const l = i.style;
|
|
5694
5699
|
if (l) {
|
|
5695
5700
|
const t = (t, o) => {
|
|
@@ -5823,7 +5828,7 @@ var Gi = [
|
|
|
5823
5828
|
e.end("numFmts");
|
|
5824
5829
|
}
|
|
5825
5830
|
})(0, o, i), function(t, e, n, o) {
|
|
5826
|
-
const s = o.fonts, r = s.length, a = n.getTheme(), i =
|
|
5831
|
+
const s = o.fonts, r = s.length, a = n.getTheme(), i = b.getShared(), l = $e(s.map((t) => ({
|
|
5827
5832
|
...t,
|
|
5828
5833
|
family: ne(t.family, t.fallbacks, a, !0).name
|
|
5829
5834
|
}))).every((t) => gt(i, t));
|
|
@@ -5997,7 +6002,7 @@ var Gi = [
|
|
|
5997
6002
|
let r = 0;
|
|
5998
6003
|
for (let t = 0; t < o.length; t++) {
|
|
5999
6004
|
const e = r++;
|
|
6000
|
-
n.empty("bag", { type:
|
|
6005
|
+
n.empty("bag", { type: Ya[o[t].type] ?? o[t].type });
|
|
6001
6006
|
const a = r++;
|
|
6002
6007
|
n.start("bag", { type: "XFControls" }), n.start("bagId", { k: "CellControl" }), n.text(String(e)), n.end("bagId"), n.end("bag"), s.push(r++), n.start("bag", { type: "XFComplement" }), n.start("bagId", { k: "XFControls" }), n.text(String(a)), n.end("bagId"), n.end("bag");
|
|
6003
6008
|
}
|
|
@@ -6034,7 +6039,7 @@ var Gi = [
|
|
|
6034
6039
|
...t.model.getProperties().toJSON(),
|
|
6035
6040
|
lastModifiedDate: o
|
|
6036
6041
|
};
|
|
6037
|
-
for (const [t, e, o] of
|
|
6042
|
+
for (const [t, e, o] of Za) {
|
|
6038
6043
|
const r = s[e];
|
|
6039
6044
|
null != r && "" !== r && (n.start(t, o ? { "xsi:type": "dcterms:W3CDTF" } : void 0), n.text(String(r)), n.end(t));
|
|
6040
6045
|
}
|
|
@@ -6055,7 +6060,7 @@ var Gi = [
|
|
|
6055
6060
|
n.setValidationDisabled(!0), n.decl(), n.start("Properties", {
|
|
6056
6061
|
xmlns: "http://schemas.openxmlformats.org/officeDocument/2006/extended-properties",
|
|
6057
6062
|
"xmlns:vt": "http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes"
|
|
6058
|
-
}),
|
|
6063
|
+
}), Qa(0, n, "Application", "SheetXL"), Qa(0, n, "DocSecurity", "0"), Qa(0, n, "ScaleCrop", "false"), ((t, e, n) => {
|
|
6059
6064
|
const o = [
|
|
6060
6065
|
{
|
|
6061
6066
|
heading: "Worksheets",
|
|
@@ -6079,13 +6084,13 @@ var Gi = [
|
|
|
6079
6084
|
chart: 2,
|
|
6080
6085
|
dialog: 3
|
|
6081
6086
|
};
|
|
6082
|
-
for (const t of n.getSheets({ visibility:
|
|
6087
|
+
for (const t of n.getSheets({ visibility: T.Visibility.Hidden })) o[s[t.getKind()] ?? 0].names.push(t.getName());
|
|
6083
6088
|
const r = n.getNames().getItems({ type: "formula" }).filter((t) => !!t.getRanges?.());
|
|
6084
6089
|
o.push({
|
|
6085
6090
|
heading: "Named Ranges",
|
|
6086
6091
|
names: r.map((t) => {
|
|
6087
6092
|
const e = t.getScope();
|
|
6088
|
-
return e ? `${
|
|
6093
|
+
return e ? `${D.sheetNameToString(e)}!${t.getName()}` : t.getName();
|
|
6089
6094
|
})
|
|
6090
6095
|
});
|
|
6091
6096
|
const a = o.filter((t, e) => 0 === e || t.names.length > 0);
|
|
@@ -6104,9 +6109,9 @@ var Gi = [
|
|
|
6104
6109
|
e.end("vt:vector"), e.end("TitlesOfParts");
|
|
6105
6110
|
})(e, n, o);
|
|
6106
6111
|
const i = a.getManager();
|
|
6107
|
-
i &&
|
|
6112
|
+
i && Qa(0, n, "Manager", i);
|
|
6108
6113
|
const l = a.getCompany();
|
|
6109
|
-
l &&
|
|
6114
|
+
l && Qa(0, n, "Company", l), Qa(0, n, "LinksUpToDate", "false"), Qa(0, n, "SharedDoc", "false"), Qa(0, n, "HyperlinksChanged", "false"), Qa(0, n, "AppVersion", r), n.end("Properties"), n.close();
|
|
6110
6115
|
}
|
|
6111
6116
|
}(),
|
|
6112
6117
|
new class extends bn {
|
|
@@ -6132,8 +6137,8 @@ var Gi = [
|
|
|
6132
6137
|
name: e
|
|
6133
6138
|
};
|
|
6134
6139
|
a && (i.linkTarget = a), n.start("property", i);
|
|
6135
|
-
const l =
|
|
6136
|
-
n.start(l), n.text(s === _.Type.Date ?
|
|
6140
|
+
const l = ti[s];
|
|
6141
|
+
n.start(l), n.text(s === _.Type.Date ? ei(r) : String(r)), n.end(l), n.end("property");
|
|
6137
6142
|
}
|
|
6138
6143
|
n.end("Properties"), n.close();
|
|
6139
6144
|
}
|
|
@@ -6154,11 +6159,11 @@ var Gi = [
|
|
|
6154
6159
|
const m = { xmlns: "http://schemas.openxmlformats.org/spreadsheetml/2006/main" };
|
|
6155
6160
|
if (o && (m["xmlns:xda"] = "http://schemas.microsoft.com/office/spreadsheetml/2017/dynamicarray"), s && (m["xmlns:xlrd"] = "http://schemas.microsoft.com/office/spreadsheetml/2017/richdata"), n.decl(), n.start("metadata", m), n.start("metadataTypes", { count: d }), o && n.empty("metadataType", {
|
|
6156
6161
|
name: "XLDAPR",
|
|
6157
|
-
...
|
|
6162
|
+
...ni,
|
|
6158
6163
|
cellMeta: "1"
|
|
6159
6164
|
}), s && n.empty("metadataType", {
|
|
6160
6165
|
name: "XLRICHVALUE",
|
|
6161
|
-
...
|
|
6166
|
+
...ni
|
|
6162
6167
|
}), n.end("metadataTypes"), o) {
|
|
6163
6168
|
n.start("futureMetadata", {
|
|
6164
6169
|
name: "XLDAPR",
|
|
@@ -6323,7 +6328,7 @@ var Gi = [
|
|
|
6323
6328
|
let n = s && !s.isClosed() ? s : null;
|
|
6324
6329
|
if (!n) {
|
|
6325
6330
|
const e = await t.workbook.fetch(o);
|
|
6326
|
-
e.ok && e.headers.get("content-type")?.startsWith("image/") && (n = new
|
|
6331
|
+
e.ok && e.headers.get("content-type")?.startsWith("image/") && (n = new S({ source: { buffer: await e.arrayBuffer() } }));
|
|
6327
6332
|
}
|
|
6328
6333
|
n && (a = (await ts(e, n)).relId);
|
|
6329
6334
|
} catch {}
|
|
@@ -6374,13 +6379,13 @@ var Gi = [
|
|
|
6374
6379
|
async emit(t, e) {
|
|
6375
6380
|
const n = e.getXMLWriter(), o = t.getArrays();
|
|
6376
6381
|
n.decl(), n.start("arrayData", {
|
|
6377
|
-
xmlns:
|
|
6382
|
+
xmlns: oi,
|
|
6378
6383
|
count: o.length
|
|
6379
6384
|
});
|
|
6380
6385
|
for (const t of o) n.start("a", {
|
|
6381
6386
|
r: t.rows,
|
|
6382
6387
|
c: t.columns > 1 ? t.columns : void 0
|
|
6383
|
-
}),
|
|
6388
|
+
}), si(n, t.items), n.end("a");
|
|
6384
6389
|
n.end("arrayData"), n.close();
|
|
6385
6390
|
}
|
|
6386
6391
|
}(),
|
|
@@ -6396,7 +6401,7 @@ var Gi = [
|
|
|
6396
6401
|
async emit(t, e) {
|
|
6397
6402
|
const n = e.getXMLWriter(), { structures: o } = t.getBags();
|
|
6398
6403
|
n.decl(), n.start("spbStructures", {
|
|
6399
|
-
xmlns:
|
|
6404
|
+
xmlns: oi,
|
|
6400
6405
|
count: o.length
|
|
6401
6406
|
});
|
|
6402
6407
|
for (const t of o) {
|
|
@@ -6421,9 +6426,9 @@ var Gi = [
|
|
|
6421
6426
|
}
|
|
6422
6427
|
async emit(t, e) {
|
|
6423
6428
|
const n = e.getXMLWriter(), { bags: o, arrays: s } = t.getBags();
|
|
6424
|
-
if (n.decl(), n.start("supportingPropertyBags", { xmlns:
|
|
6429
|
+
if (n.decl(), n.start("supportingPropertyBags", { xmlns: oi }), s.length > 0) {
|
|
6425
6430
|
n.start("spbArrays", { count: s.length });
|
|
6426
|
-
for (const t of s) n.start("a", { count: t.length }),
|
|
6431
|
+
for (const t of s) n.start("a", { count: t.length }), si(n, t), n.end("a");
|
|
6427
6432
|
n.end("spbArrays");
|
|
6428
6433
|
}
|
|
6429
6434
|
n.start("spbData", { count: o.length });
|
|
@@ -6447,7 +6452,7 @@ var Gi = [
|
|
|
6447
6452
|
async emit(t, e) {
|
|
6448
6453
|
const n = e.getXMLWriter(), o = t.getRichStyles();
|
|
6449
6454
|
n.decl(), n.start("richStyleSheet", {
|
|
6450
|
-
xmlns:
|
|
6455
|
+
xmlns: oi,
|
|
6451
6456
|
"xmlns:mc": "http://schemas.openxmlformats.org/markup-compatibility/2006",
|
|
6452
6457
|
"mc:Ignorable": "x",
|
|
6453
6458
|
"xmlns:x": "http://schemas.openxmlformats.org/spreadsheetml/2006/main"
|
|
@@ -6498,7 +6503,7 @@ var Gi = [
|
|
|
6498
6503
|
let i = 0;
|
|
6499
6504
|
const l = (t) => {
|
|
6500
6505
|
const e = t.content, n = We(e?.type) ? e.json?.shapeId : e?.json?.sourceId;
|
|
6501
|
-
if ("number" == typeof n && n > i && (i = n), "group" === e?.type) for (const e of
|
|
6506
|
+
if ("number" == typeof n && n > i && (i = n), "group" === e?.type) for (const e of hi(t)) l(e);
|
|
6502
6507
|
};
|
|
6503
6508
|
for (let t = 0; t < a; t++) l(r[t]);
|
|
6504
6509
|
const c = /* @__PURE__ */ new Map(), d = e.getSharedStates();
|
|
@@ -6514,11 +6519,11 @@ var Gi = [
|
|
|
6514
6519
|
} else t.add(n);
|
|
6515
6520
|
}
|
|
6516
6521
|
}
|
|
6517
|
-
const p =
|
|
6522
|
+
const p = _i(e, o), f = () => {
|
|
6518
6523
|
const t = (m.get(o) ?? 1) + 1;
|
|
6519
6524
|
return m.set(o, t), t;
|
|
6520
6525
|
}, h = (t) => {
|
|
6521
|
-
for (const e of
|
|
6526
|
+
for (const e of hi(t)) {
|
|
6522
6527
|
const t = e.content?.json?.sourceId, n = "number" == typeof t && !p.bySource.has(t), o = n ? t : f();
|
|
6523
6528
|
p.assigned.set(e, o), n && p.bySource.set(t, o), "group" === e.content?.type && h(e);
|
|
6524
6529
|
}
|
|
@@ -6528,40 +6533,40 @@ var Gi = [
|
|
|
6528
6533
|
let o = c.get(e) ?? ("number" == typeof n ? n : void 0);
|
|
6529
6534
|
void 0 === o && (o = f()), p.assigned.set(e, o), "number" != typeof n || p.bySource.has(n) || p.bySource.set(n, o), "group" === e.content?.type && h(e);
|
|
6530
6535
|
}
|
|
6531
|
-
for (let t = 0; t < a; t++) await
|
|
6536
|
+
for (let t = 0; t < a; t++) await gi(e, r[t]);
|
|
6532
6537
|
for (let t = 0; t < a; t++) {
|
|
6533
6538
|
const a = r[t], i = s[t], l = a.content?.type;
|
|
6534
|
-
if (We(l))
|
|
6539
|
+
if (We(l)) Wi(n, a);
|
|
6535
6540
|
else {
|
|
6536
6541
|
if ("slicer" === l) {
|
|
6537
6542
|
const t = i.getContent();
|
|
6538
6543
|
if (!t.getTable?.() && !Cr(t)) continue;
|
|
6539
6544
|
}
|
|
6540
|
-
switch (n.start("twoCellAnchor", { editAs: a.anchorType || "twoCell" }),
|
|
6545
|
+
switch (n.start("twoCellAnchor", { editAs: a.anchorType || "twoCell" }), Vi(n, "from", a.anchor.tl), Vi(n, "to", a.anchor.br), l) {
|
|
6541
6546
|
case "picture":
|
|
6542
|
-
await
|
|
6547
|
+
await xi(e, o, i, a, i.getBounds(), i.getContent().getResource());
|
|
6543
6548
|
break;
|
|
6544
6549
|
case "chart":
|
|
6545
|
-
await
|
|
6550
|
+
await vi(e, o, i, a);
|
|
6546
6551
|
break;
|
|
6547
6552
|
case "shape":
|
|
6548
|
-
await
|
|
6553
|
+
await Ci(e, o, i, a, i.getBounds());
|
|
6549
6554
|
break;
|
|
6550
6555
|
case "group":
|
|
6551
|
-
await
|
|
6556
|
+
await Si(e, o, i, a, i.getBounds());
|
|
6552
6557
|
break;
|
|
6553
6558
|
case "smartArt":
|
|
6554
|
-
await
|
|
6559
|
+
await Ti(e, o, i, a);
|
|
6555
6560
|
break;
|
|
6556
6561
|
case "slicer":
|
|
6557
|
-
await
|
|
6562
|
+
await Fi(e, o, i, a);
|
|
6558
6563
|
break;
|
|
6559
6564
|
case "graphicFrame":
|
|
6560
|
-
await
|
|
6565
|
+
await Mi(e, o, i, a);
|
|
6561
6566
|
break;
|
|
6562
|
-
default: await
|
|
6567
|
+
default: await Pi(e, o, a, i.getBounds());
|
|
6563
6568
|
}
|
|
6564
|
-
|
|
6569
|
+
fi(n, a), n.end("twoCellAnchor");
|
|
6565
6570
|
}
|
|
6566
6571
|
}
|
|
6567
6572
|
n.end("wsDr"), n.close();
|
|
@@ -6583,7 +6588,7 @@ var Gi = [
|
|
|
6583
6588
|
for (let r = 0; r < o; r++) {
|
|
6584
6589
|
const o = n[r], a = s?.get(o.resId);
|
|
6585
6590
|
if (a) try {
|
|
6586
|
-
await
|
|
6591
|
+
await zi(e, o.id, a);
|
|
6587
6592
|
} catch (t) {
|
|
6588
6593
|
e.log(`Unable to write legacy drawing image '${o.id}'`, t);
|
|
6589
6594
|
}
|
|
@@ -6706,11 +6711,11 @@ var Gi = [
|
|
|
6706
6711
|
for (let t = 0; t < o.length; t++) {
|
|
6707
6712
|
const { comment: e, ref: s } = o[t];
|
|
6708
6713
|
if (e.isNote()) continue;
|
|
6709
|
-
|
|
6714
|
+
Xi(n, s, e.getId(), e.getAuthor()?.getId(), e.getCreationDate(), e.getContent(), null, e.isResolved(), e.toJSON()?.mentions);
|
|
6710
6715
|
const r = e.getReplies();
|
|
6711
6716
|
for (let t = 0; t < r.length; t++) {
|
|
6712
6717
|
const o = r[t];
|
|
6713
|
-
|
|
6718
|
+
Xi(n, s, o.getId(), o.getAuthor()?.getId(), o.getCreationDate(), o.getContent(), e.getId(), !1, o.toJSON().mentions);
|
|
6714
6719
|
}
|
|
6715
6720
|
}
|
|
6716
6721
|
n.end("ThreadedComments"), n.close();
|
|
@@ -6736,7 +6741,7 @@ var Gi = [
|
|
|
6736
6741
|
const e = o[t];
|
|
6737
6742
|
n.empty("person", {
|
|
6738
6743
|
displayName: e.getDisplayName(),
|
|
6739
|
-
id:
|
|
6744
|
+
id: Hi(e.getId()),
|
|
6740
6745
|
userId: e.getUserId() ?? e.getDisplayName(),
|
|
6741
6746
|
providerId: e.getProviderId() ?? "None"
|
|
6742
6747
|
});
|
|
@@ -7017,7 +7022,7 @@ var Gi = [
|
|
|
7017
7022
|
const s = o.length;
|
|
7018
7023
|
for (let e = 0; e < s; e++) {
|
|
7019
7024
|
const [s, r] = o[e], a = r.length;
|
|
7020
|
-
for (let e = 0; e < a; e++)
|
|
7025
|
+
for (let e = 0; e < a; e++) Gi(t, n, s + e, r.at(e));
|
|
7021
7026
|
}
|
|
7022
7027
|
t.end("row");
|
|
7023
7028
|
}
|
|
@@ -7029,20 +7034,20 @@ var Gi = [
|
|
|
7029
7034
|
}(n, t), n.end("externalBook"), n.end("externalLink"), n.close();
|
|
7030
7035
|
}
|
|
7031
7036
|
}()
|
|
7032
|
-
],
|
|
7037
|
+
], Ji = "SheetXL Evaluation", Ki = "xl/worksheets/sheetSheetXLEvaluation.xml", Yi = "rIdSheetXLEvaluation", Zi = [
|
|
7033
7038
|
"This workbook was exported from an unlicensed evaluation of SheetXL.",
|
|
7034
7039
|
"Your own sheets follow this one, unchanged.",
|
|
7035
7040
|
"To license SheetXL, visit https://www.sheetxl.com"
|
|
7036
|
-
],
|
|
7041
|
+
], Qi = (t) => {
|
|
7037
7042
|
const e = [...t.matchAll(/<sheet\b[^>]*\bsheetId="(\d+)"/g)].map((t) => parseInt(t[1], 10)), n = new Set([...t.matchAll(/<sheet\b[^>]*\bname="([^"]*)"/g)].map((t) => t[1].toLowerCase()));
|
|
7038
|
-
let o =
|
|
7039
|
-
for (let t = 2; n.has(o.toLowerCase()); t++) o = `${
|
|
7040
|
-
const s = `<sheet name="${o}" sheetId="${Math.max(0, ...e) + 1}" r:id="${
|
|
7043
|
+
let o = Ji;
|
|
7044
|
+
for (let t = 2; n.has(o.toLowerCase()); t++) o = `${Ji} (${t})`;
|
|
7045
|
+
const s = `<sheet name="${o}" sheetId="${Math.max(0, ...e) + 1}" r:id="${Yi}"/>`;
|
|
7041
7046
|
return t.replace(/<sheets>/, `<sheets>${s}`).replace(/\blocalSheetId="(\d+)"/g, (t, e) => `localSheetId="${parseInt(e, 10) + 1}"`).replace(/<workbookView\b([^>]*?)(\/?)>/, (t, e, n) => {
|
|
7042
7047
|
const o = /\bactiveTab="(\d+)"/.exec(e);
|
|
7043
7048
|
return `<workbookView${(o ? e.replace(/\bactiveTab="\d+"/, `activeTab="${parseInt(o[1], 10) + 1}"`) : `${e} activeTab="1"`).replace(/\s*\bfirstTab="\d+"/, "")}${n}>`;
|
|
7044
7049
|
});
|
|
7045
|
-
},
|
|
7050
|
+
}, tl = (t) => {
|
|
7046
7051
|
const e = t.getPart("xl/_rels/workbook.xml.rels");
|
|
7047
7052
|
if (!e) return null;
|
|
7048
7053
|
const n = /* @__PURE__ */ new Map();
|
|
@@ -7056,19 +7061,19 @@ var Gi = [
|
|
|
7056
7061
|
});
|
|
7057
7062
|
}
|
|
7058
7063
|
return n;
|
|
7059
|
-
},
|
|
7064
|
+
}, el = (t) => {
|
|
7060
7065
|
const e = t.getPart("xl/workbook.xml");
|
|
7061
7066
|
return e ? new TextDecoder("utf-8").decode(e.data) : null;
|
|
7062
|
-
},
|
|
7063
|
-
const e =
|
|
7067
|
+
}, nl = (t) => {
|
|
7068
|
+
const e = ol.get(t);
|
|
7064
7069
|
if (void 0 !== e) return e;
|
|
7065
7070
|
const n = t.getPart("xl/workbook.xml"), o = n ? new TextDecoder("utf-8").decode(n.data) : null;
|
|
7066
|
-
return
|
|
7067
|
-
},
|
|
7068
|
-
await
|
|
7071
|
+
return ol.set(t, o), o;
|
|
7072
|
+
}, ol = /* @__PURE__ */ new WeakMap(), sl = async (t, e) => {
|
|
7073
|
+
await E.load();
|
|
7069
7074
|
const n = new Kn();
|
|
7070
|
-
for (const t of
|
|
7071
|
-
const o =
|
|
7075
|
+
for (const t of qi) n.register(t);
|
|
7076
|
+
const o = rl, s = Cn.createUint8Array({
|
|
7072
7077
|
lastModDate: new Date(1899, 11, 29, 19, 0, 0),
|
|
7073
7078
|
level: o
|
|
7074
7079
|
}), r = $.includes(e?.format) ? de(t) : null, a = /* @__PURE__ */ new Map(), i = r ? ((t) => {
|
|
@@ -7082,18 +7087,18 @@ var Gi = [
|
|
|
7082
7087
|
})(r) : null;
|
|
7083
7088
|
i && (e?.macroEnabled || delete i.codeName, a.set(Er, i));
|
|
7084
7089
|
const l = r ? ((t) => {
|
|
7085
|
-
const e =
|
|
7090
|
+
const e = nl(t)?.match(/<calcPr\b[^>]*?\bcalcId="([^"]*)"/);
|
|
7086
7091
|
return e ? e[1] : null;
|
|
7087
7092
|
})(r) : null;
|
|
7088
7093
|
null !== l && a.set("calcId", l);
|
|
7089
7094
|
const c = r ? ((t) => {
|
|
7090
|
-
const e =
|
|
7095
|
+
const e = nl(t);
|
|
7091
7096
|
if (!e) return null;
|
|
7092
7097
|
const n = e.lastIndexOf("<extLst>");
|
|
7093
7098
|
if (-1 === n) return null;
|
|
7094
7099
|
const o = e.indexOf("</extLst>", n);
|
|
7095
7100
|
if (-1 === o || !/^<\/extLst>\s*<\/workbook>/.test(e.slice(o))) return null;
|
|
7096
|
-
const s = e.slice(n + 8, o), r =
|
|
7101
|
+
const s = e.slice(n + 8, o), r = tl(t), a = [];
|
|
7097
7102
|
for (const t of ((t) => {
|
|
7098
7103
|
const e = [], n = /<(\/?)ext(?=[\s/>])[^>]*?(\/?)>/g;
|
|
7099
7104
|
let o = 0, s = 0;
|
|
@@ -7121,13 +7126,13 @@ var Gi = [
|
|
|
7121
7126
|
})(r) : null;
|
|
7122
7127
|
null !== c && a.set("workbookExts", c);
|
|
7123
7128
|
const d = r ? ((t) => {
|
|
7124
|
-
const e =
|
|
7129
|
+
const e = el(t);
|
|
7125
7130
|
if (!e) return null;
|
|
7126
7131
|
const n = /<externalReferences\b[^>]*>([\s\S]*?)<\/externalReferences>/.exec(e);
|
|
7127
7132
|
if (!n) return null;
|
|
7128
7133
|
const o = [...n[1].matchAll(/<externalReference\b[^>]*\sr:id="([^"]*)"/g)].map((t) => t[1]);
|
|
7129
7134
|
if (0 === o.length) return null;
|
|
7130
|
-
const s =
|
|
7135
|
+
const s = tl(t);
|
|
7131
7136
|
return s ? o.map((t) => {
|
|
7132
7137
|
const e = s.get(t);
|
|
7133
7138
|
return e && !e.external ? e.target : null;
|
|
@@ -7135,7 +7140,7 @@ var Gi = [
|
|
|
7135
7140
|
})(r) : null;
|
|
7136
7141
|
d && a.set(Lr, d);
|
|
7137
7142
|
const m = r ? ((t) => {
|
|
7138
|
-
const e =
|
|
7143
|
+
const e = el(t), n = e ? tl(t) : null;
|
|
7139
7144
|
if (!e || !n) return null;
|
|
7140
7145
|
const o = /* @__PURE__ */ new Map();
|
|
7141
7146
|
for (const t of e.matchAll(/<sheet\b([^>]*)\/?>/g)) {
|
|
@@ -7170,16 +7175,16 @@ var Gi = [
|
|
|
7170
7175
|
for (const t of await e.getEntries()) {
|
|
7171
7176
|
if (t.directory || !("getData" in t)) continue;
|
|
7172
7177
|
const e = t.filename;
|
|
7173
|
-
if ("xl/workbook.xml" === e) await o.add(e, new z(new TextEncoder().encode(
|
|
7178
|
+
if ("xl/workbook.xml" === e) await o.add(e, new z(new TextEncoder().encode(Qi(await t.getData(new O())))));
|
|
7174
7179
|
else if ("xl/_rels/workbook.xml.rels" === e) {
|
|
7175
|
-
const n = await t.getData(new O()), s = `<Relationship Id="${
|
|
7180
|
+
const n = await t.getData(new O()), s = `<Relationship Id="${Yi}" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/worksheet" Target="${Ki.slice(3)}"/>`;
|
|
7176
7181
|
await o.add(e, new z(new TextEncoder().encode(n.replace("</Relationships>", `${s}</Relationships>`))));
|
|
7177
7182
|
} else if ("[Content_Types].xml" === e) {
|
|
7178
|
-
const n = await t.getData(new O()), s = `<Override PartName="/${
|
|
7183
|
+
const n = await t.getData(new O()), s = `<Override PartName="/${Ki}" ContentType="application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml"/>`;
|
|
7179
7184
|
await o.add(e, new z(new TextEncoder().encode(n.replace("</Types>", `${s}</Types>`))));
|
|
7180
7185
|
} else await o.add(e, new z(await t.getData(new j())));
|
|
7181
7186
|
}
|
|
7182
|
-
return await o.add(
|
|
7187
|
+
return await o.add(Ki, new z(new TextEncoder().encode(`<?xml version="1.0" encoding="UTF-8" standalone="yes"?><worksheet xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main"><sheetViews><sheetView workbookViewId="0"/></sheetViews><cols><col min="1" max="1" width="80" customWidth="1"/></cols><sheetData>${Zi.map((t, e) => `<row r="${e + 1}"><c r="A${e + 1}" t="inlineStr"><is><t>${t}</t></is></c></row>`).join("")}</sheetData></worksheet>`))), await o.close(), await n.getData();
|
|
7183
7188
|
} finally {
|
|
7184
7189
|
await e.close();
|
|
7185
7190
|
}
|
|
@@ -7193,5 +7198,5 @@ var Gi = [
|
|
|
7193
7198
|
}
|
|
7194
7199
|
}
|
|
7195
7200
|
return 0 === h.byteOffset && h.byteLength === h.buffer.byteLength ? h.buffer : h.slice().buffer;
|
|
7196
|
-
},
|
|
7197
|
-
export {
|
|
7201
|
+
}, rl = 1;
|
|
7202
|
+
export { sl as writeXLSX };
|