@sheetxl/mcp 0.8.0-beta.24 → 0.8.0-beta.25
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/{tWO-mE87mAuj1qih.js → 45FAgD1JyG2a1Rti.js} +2 -2
- package/assets/{DtVSjxL6N_7WyM8Z.js → 70weNsvW2LMx5QcW.js} +1 -1
- package/assets/{LM2rVDHdB0jVUFcT.js → APcHum0Riw3QhLBQ.js} +1 -1
- package/assets/{CM-q_J5aF6YXmjeu.js → Abkx7KJ6_X5avkR4.js} +3 -3
- package/assets/{B7lATTNffVTrDsKE.js → B0FfnXdiZxExcdjB.js} +2 -2
- package/assets/{DL8pez0eKo8arYPj.js → B6e_DsVO4i91IYEO.js} +3 -3
- package/assets/{DOSWSyKkK4eSi4PD.js → B940vbTfpMYACpDE.js} +2 -2
- package/assets/{CmkgQ5-IG0BSCM3R.js → BAowTO-7Utmg0UvM.js} +3 -3
- package/assets/{fEfisM0E2fUYKIyU.js → BBccc8pDH-6AJdoT.js} +5 -5
- package/assets/{BJwiwzwx4Bl5L4Vq.js → BD3Bc7ZHxenj4S7Q.js} +1 -1
- package/assets/{CCF6CwJ6cbeLRl23.js → BFKj2ik7h-yM6oCR.js} +1 -1
- package/assets/{DM-yGHahbfA_uarn.js → BHIi-cAKnh_sAifV.js} +1 -1
- package/assets/{2YT_wstXIH6UIigi.js → BHeXL-Lo390ZSNV0.js} +1 -1
- package/assets/{CR1aLf7CWEfPTO9a.js → BNvsIyBwweYnfUz3.js} +1 -1
- package/assets/{CnI4Nli8vtWdFKvf.js → BSJ_L1gNOejEih6N.js} +32 -32
- package/assets/{yz2PTfYm_8EGJPM5.js → BV13tLgNXZ8MDaE_.js} +1 -1
- package/assets/{suLYEZBtGUhSYeB7.js → BW8ReYzx-CEJ-lAG.js} +1 -1
- package/assets/{CIw6ZC3K9x-ccacl.js → BXxUz-sB48Z9nSFi.js} +1 -1
- package/assets/{sJVPCrgeh0U6LbAK.js → B_GZxEqqpKtEPbWC.js} +1 -1
- package/assets/{a2e_g9YI3J-lUD7-.js → Bb7ZxgjHwiKgARXs.js} +1 -1
- package/assets/{B16G2473LTkZP6Mq.js → BbfSzxx5EzAvn-_F.js} +1417 -1356
- package/assets/{DuEtCJEnG_GnJzTX.js → BktUuVP0Jew8_-ff.js} +1 -1
- package/assets/{7vPlH3_rhJxmmBvG.js → Brlza6Jd2oGGX9vB.js} +1 -1
- package/assets/{CmwNIrRssYuLN2fn.js → BtNEVWQWEp_Ie1nT.js} +490 -490
- package/assets/{ByYJTTTUuu67hDF-.js → Bwk-CZuGiTRT2ox_.js} +4 -4
- package/assets/{DIgPlkEabQdKNUQn.js → BzLwCwXsh7eXQpeK.js} +1 -1
- package/assets/{KMzONx2Ps841nJHj.js → BzU8BhgrkSoh-XJF.js} +8 -8
- package/assets/{DkQ4kxEKhKYQgfjK.js → C-FJab2sVwBbOTiA.js} +1 -1
- package/assets/{CJ2hV-9ipqOEkLSG.js → C-Vt758qtn8QeCrw.js} +1 -1
- package/assets/{9GnbVPKozgrJpeLW.js → C2kYWrsx5mg4XOES.js} +1 -1
- package/assets/{Ch9w7xFxVMrvGuC_.js → C6Vsz4e_ASJdx3LP.js} +1 -1
- package/assets/{Cxzowsi6ASdZtzeI.js → C9DvPNfuz_0hun6C.js} +1 -1
- package/assets/{xD41vsQY6h60lCqz.js → CAI8p60cuWlgnlko.js} +8 -8
- package/assets/{DRzZ4bEyLRGVOLzV.js → CCOaNx5_BfWCc9yz.js} +1 -1
- package/assets/{6CBUVbF01Bedq0e2.js → CD2yoEhIT8DyXBou.js} +57 -57
- package/assets/{CpvJUGg9ckuCIpIS.js → CDiutOsLAzu4c0Ej.js} +1 -1
- package/assets/{CT4czEKWIj1GeQN8.js → CFrOPd_UcD7qclCq.js} +1 -1
- package/assets/{B-t1q2NS61c2B8E4.js → CGS7apShLtnlmF8D.js} +1 -1
- package/assets/{BH7ctzMzOYVTGxzA.js → CGdayif_qNMtoATI.js} +1 -1
- package/assets/{CFT_tDogP98gTbh7.js → CJubVukzHBNJb_Wf.js} +93 -93
- package/assets/{b8yACuWy67eIj_j2.js → COXWiXy3DCfmXSm5.js} +1 -1
- package/assets/{DPLTGglaPovTg9e5.js → COZ-bhj463kGINFA.js} +1 -1
- package/assets/{CnKX5SPVE2iuSK42.js → CSMsn9bKgR9kWG0m.js} +1 -1
- package/assets/{DaF9L7No8h8a-cqb.js → CVWoX7wNwrZwm5XB.js} +2 -2
- package/assets/{BkekCZ17YTtd07_C.js → CX-KrjVgXM-7o--S.js} +2 -2
- package/assets/{C0uu0vLKQh0S508B.js → CYtkZMCX6dyEqjb9.js} +40 -40
- package/assets/{Xccc6oxtlSvJUDsC.js → Cb7FKT3S78r6IYHi.js} +1 -1
- package/assets/{Dhy6iU_09lrQnOAV.js → CcTDxlAqw6HuYmmm.js} +34 -34
- package/assets/CehVpkp73IfWGN_b.js +14 -0
- package/assets/{BrJd9jVVv9SQzZol.js → CfWSdzSpbErVA_1h.js} +332 -332
- package/assets/{3VycPrqi6qgLOgGY.js → Ci3R5B7bLke8NZRo.js} +6 -6
- package/assets/{DyiH3LlinD-38bG7.js → ClRgSo0axU3lAOwR.js} +1 -1
- package/assets/{DwNcvKM47ZHfvQM6.js → Cmf4eJow6AIuPH_w.js} +1 -1
- package/assets/{DczQhB3mRSUw6GCf.js → Cplall3oc-_3AhCB.js} +1 -1
- package/assets/{BPNLZ07Bu_B8Yhf1.js → Cu4ok_jTnQif8QtX.js} +1 -1
- package/assets/{D-vo2bQyAmStQmD9.js → D053O1kZ7JtMwiqh.js} +1 -1
- package/assets/{BjyXkr-CzV8mVx0t.js → D5aWcMLJ2wyLm9Ws.js} +1 -1
- package/assets/{DE7G34oYbvrfXbJ7.js → D6qQAWN_5p3FAshK.js} +338 -338
- package/assets/{BaYk1vO2hP2S3_1w.js → D7NjohknztgMLqhT.js} +2 -2
- package/assets/{BJqo8c5bFKjnq69G.js → D8cqT2lbcP5Yp1Or.js} +11 -11
- package/assets/{BkHeIMSE7-LehRCs.js → D8wjcRGgRdU34Ata.js} +1 -1
- package/assets/{DGOgx3-IyO8bjF_t.js → DAnTpFc2vx3CmP8e.js} +63 -63
- package/assets/{BWLavTnANLUerdS0.js → DB2MrmDLZ-OzVRQu.js} +2 -2
- package/assets/{CbJWbjmv4bz4ppIZ.js → DBgHcEP-FcgSHLvx.js} +335 -335
- package/assets/{DUbIxDAzW1dzrtdI.js → DFd0JAiw5dkbnULM.js} +1 -1
- package/assets/{B6caaQsfOpFEgYQ4.js → DG9KGapq8eHlcTC7.js} +1 -1
- package/assets/{Daaro0HbHkKXkBP-.js → DHCl7HWDbT3xqx8W.js} +2 -2
- package/assets/{BnNB_ejvNaLu6B3o.js → DJlQxf99HCszeCCD.js} +1 -1
- package/assets/{CFNtPYPfDPH-3BXK.js → DLW76uSURiQM07DD.js} +1 -1
- package/assets/{By1QPrSxtnRiJu0R.js → DQBqVPRLkZFb2P_x.js} +2 -2
- package/assets/{Ds4TB1hn56-RK6_f.js → DQlLgxA592HvgKzh.js} +1 -1
- package/assets/{DNSWaXblwhTtI3w7.js → DRvzD5Tkcb2OU0G2.js} +1 -1
- package/assets/{CIY_RiLu1_FmRLAA.js → DUfrvQDZKh_22F91.js} +1 -1
- package/assets/{Dk9zYXO3VoBhTdex.js → DX94YgmfoL_ngS60.js} +1 -1
- package/assets/{DJfpKncnYnrr28G0.js → DXDhH3F4N4OOigqN.js} +1 -1
- package/assets/{bv3fZLUPzd14I58C.js → DXVfJfT6ftWk5kYi.js} +495 -495
- package/assets/{Jy-_0a72nn5Iv1NK.js → DYx_I-o0yjx056Dq.js} +1 -1
- package/assets/{DFVQIZ2zZyAphhCF.js → DZBfVpnngvY9Ra3C.js} +1 -1
- package/assets/{DXCTHw-ZutNIuo_2.js → DZOzgVEOXfHTE3YC.js} +1 -1
- package/assets/{BifwlrCmEVtjh_1U.js → DZTVTdrwu05fNZk_.js} +1 -1
- package/assets/{CzRvg04_TIbwBH5C.js → DaB9iRVJj3TmKH92.js} +3 -3
- package/assets/{Dlqk7XqKnAZ8Pcj3.js → DbHVXEt9qwlb8Gou.js} +154 -155
- package/assets/{CKD460cQOgwF6uSV.js → DbXqd8hGNQEyS-s0.js} +1 -1
- package/assets/{DaHD9SY75O8wDy3p.js → DcHo7BC8Ny3hWq0j.js} +2 -2
- package/assets/{doqBmhonQlHp-1Ud.js → DcHvH_I64hbnNh9G.js} +1 -1
- package/assets/{B4uS01J0mrSJSftQ.js → DfaQvLAaU7HHPnSe.js} +66 -66
- package/assets/{76dPHG5RYA7MUV_g.js → DgE30NwKzEjZI1W6.js} +3 -3
- package/assets/{DJGYlGr2Zj7SkYqc.js → Djl7cjJyCIS_Qvbd.js} +1 -1
- package/assets/{TZnuVwhVjkOBax9F.js → DkS3EQvuEuPDvCws.js} +2 -2
- package/assets/{BxwB3iTNSE1TgHkb.js → DkT0-_t9Xgp4l-Mh.js} +1 -1
- package/assets/{B-5mBXpY9i6-eCrZ.js → DlOCT6DI5bhPtQ8j.js} +33 -33
- package/assets/{C6PNMev7cs5JLgwy.js → DpGFb3hbAT5Murcv.js} +1 -1
- package/assets/{MosMza0-rXD8uHX_.js → DunKnm-bQd0oHn9n.js} +2 -2
- package/assets/{mZt9BTEejCJZ4YK4.js → Duw8QQGcrPmesb-M.js} +1 -1
- package/assets/{D8k9de_hen-KqBWe.js → DvkgborRc2vRq8E-.js} +1 -1
- package/assets/{DPYFRLJbHGlrcrJq.js → DwmlBb640xWfAMV2.js} +2 -2
- package/assets/{7IzItpr7MkdnaAwh.js → GfAXkT_vctdRX_9f.js} +67 -67
- package/assets/{CUYQlZz5zWsUdmRy.js → H40qXR3Gazmnq4Mv.js} +1 -1
- package/assets/{B8bEJ65vQRqsfBlS.js → HLtC2gb8SfNmJU5q.js} +5 -5
- package/assets/{BrYc6PLonux_gI6b.js → H_6CBe3t27jHlBHk.js} +172 -172
- package/assets/{qc7rA-Z3a4rkVQPx.js → LQNEL4KjDxwZNwWq.js} +187 -187
- package/assets/{D6d1DKL15m52ZCuC.js → O8YGVK4vtz39jQ84.js} +1 -1
- package/assets/{BXWGS09xFG81nnIT.js → TqxFLhPz3zbgi95t.js} +1 -1
- package/assets/{Cf0zmfQYfJ7zM0Ya.js → UdhH9UX9jQ4IV11J.js} +1 -1
- package/assets/{TdDTOcC1TYhk6UuR.js → V4pGXJr6fe-CPg7i.js} +1 -1
- package/assets/{C-nA4SXN5hWHaxV6.js → V_VVW06vjWkmlbdh.js} +534 -534
- package/assets/{CEk658HeLJk2cAjM.js → VkeNTI1TMsA1ZbGz.js} +3 -3
- package/assets/{P6V3JAiRpC3BWceC.js → cTLYCAhDs2fR2ITC.js} +1 -1
- package/assets/{DGI_8HyNF0eAv0P5.js → cU78RT4WJKAp5mU_.js} +1 -1
- package/assets/{C9iFJ52KwQTePQ81.js → ckvxz2tZRlY1UPpg.js} +10295 -10253
- package/assets/{DqSBb1HmgeU7eg_i.js → eCD6fmcTsgv76IZm.js} +110 -110
- package/assets/{flby0g5gyZ9P2Wu2.js → irrAIfw6CnCOHmPE.js} +1 -1
- package/assets/{DMDTS0LH9Ke9t-3z.js → ixHQtoul8ubEJfWS.js} +12 -7
- package/assets/{D_tdoUtUe7cApQJn.js → kmiMiNIUc6rS8DG8.js} +4 -4
- package/assets/{DRq6lQLndj73WT35.js → m9BgbF-NgPIYW4kc.js} +1 -1
- package/assets/{CSXmTA6w6Pnbtqvb.js → s56uiNHMGbBV6xgZ.js} +1 -1
- package/assets/{CFWwwr74qRKOBrg9.js → u8xtjHo43n-S_O6j.js} +1 -1
- package/assets/{NAWWzA_hk4wYtsPP.js → u9le-qZ3tbYKK1kU.js} +2 -2
- package/assets/{BAVltO4Xf7lC0Xr6.js → xMi-tFxI2s6e18L1.js} +1 -1
- package/assets/{g2Nu44uuSJFMzxEV.js → xSUMX6J9-MJIGgmG.js} +2 -2
- package/index.js +124 -124
- package/lib.js +1 -1
- package/licenses/dependencies.txt +56 -56
- package/package.json +2 -2
- package/screenshot-page/assets/{C_YKEkTsGB_5gFNg.js → 0P0DnZolMnjPhiea.js} +2 -2
- package/screenshot-page/assets/3L7CY5dA_kT2UBjv.js +1 -0
- package/screenshot-page/assets/{FcTM4SB17cEX1M3X.js → 5Y11BWntgqmzo9dz.js} +1 -1
- package/screenshot-page/assets/{CXwbGzavyvYgDbWU.js → B0CDAMDdxSN4en9k.js} +1 -1
- package/screenshot-page/assets/B6UwT0pG4sQeG7fA.js +3 -0
- package/screenshot-page/assets/{BbT5KRhoeAKLzy54.js → BCmGLxQEUabeee6Q.js} +2 -2
- package/screenshot-page/assets/{DR-og7vslxlOZd8j.js → BGIujWi3UayyIWlg.js} +1 -1
- package/screenshot-page/assets/BH2IWQ-8AfNbhYZJ.js +39 -0
- package/screenshot-page/assets/BNjmzbnQlBmX-HPQ.js +1 -0
- package/screenshot-page/assets/{DcrVJCyDwGKeil2U.js → BQTLEc84Eql61S2m.js} +1 -1
- package/screenshot-page/assets/{DGkaCFHx4PsOJkFu.js → BVnzv_sY_58zEJyM.js} +1 -1
- package/screenshot-page/assets/{Cx1kZ2u_8JFV2Q8D.js → BiRVjUOUI8Qv0CE1.js} +1 -1
- package/screenshot-page/assets/{r2HZG9_SMzF3__ID.js → BkU12U7IqW7qjopk.js} +6 -6
- package/screenshot-page/assets/{D6EXAYU-ZH8hjx_7.js → Bne-AygyF1USkPAy.js} +2 -2
- package/screenshot-page/assets/{Dkf51CnZh2zPEGMd.js → BpJaTpbR_CQzXj9M.js} +1 -1
- package/screenshot-page/assets/Bs-IXwX9BKsCxwcJ.js +2 -0
- package/screenshot-page/assets/{CwCu_r0BW41uLt3P.js → Bt7fKk5ZupUuo_xD.js} +2 -2
- package/screenshot-page/assets/{DM6hr-bvWV50-Oex.js → C-2hBFk27roWkIrQ.js} +2 -2
- package/screenshot-page/assets/C7MXfx6zf_uTwcpu.js +1 -0
- package/screenshot-page/assets/CALWodHqzUTIv9le.js +5 -0
- package/screenshot-page/assets/{B-0-chiwq4MIUQy9.js → CCYEWK5QyGSnUAfh.js} +1 -1
- package/screenshot-page/assets/{Cx9eq2x1gIXGki3Q.js → CFS0h-wE9YlZRk_1.js} +1 -1
- package/screenshot-page/assets/CKdQfdZJGJFgnrr9.js +586 -0
- package/screenshot-page/assets/{BKwDvElKinpn1IK0.js → CL_hAngRQwm_KGdR.js} +1 -1
- package/screenshot-page/assets/{a3fvt1Klg1uGE7p6.js → CMryHLEhCyKGuRSW.js} +7 -7
- package/screenshot-page/assets/COL9dj40ytErlGak.js +2 -0
- package/screenshot-page/assets/{BcZPWw18bdj_ZvA9.js → CRtk9ixuBWxhPfPU.js} +1 -1
- package/screenshot-page/assets/CUQsrLir5jYpnRPM.js +1 -0
- package/screenshot-page/assets/CUgX7ETRCJsvqa2x.js +1 -0
- package/screenshot-page/assets/{C7mXat-6esc1AmRD.js → CXeDqC02BZcixiHS.js} +2 -2
- package/screenshot-page/assets/{Pt9ne0xkE2icD3Ih.js → CZaKvnrRdlLj1_X8.js} +1 -1
- package/screenshot-page/assets/CfD1bn6b-NM38iZV.js +1 -0
- package/screenshot-page/assets/{WTrYzPnMQhYDILMR.js → Ck5onwb1w_19WrtG.js} +1 -1
- package/screenshot-page/assets/{DyxJBLjUkeDuu96F.js → CltB1nb5HHSmYrNG.js} +1 -1
- package/screenshot-page/assets/{D6Yv5cc1JE7DGd6j.js → CqBSIwwGzWl8mrBe.js} +1 -1
- package/screenshot-page/assets/CvBPH5c-gnUG8Jen.js +1 -0
- package/screenshot-page/assets/{D7Yt7xmUlA6-Lq0Q.js → D-jd_TJCN7AAn125.js} +9 -9
- package/screenshot-page/assets/{ChSvXfVMLxZsP9zG.js → D4RZZdlItfrgQHcE.js} +1 -1
- package/screenshot-page/assets/{Bfq6-treWd_rRiWl.js → D53hpXNHxIgSWl80.js} +1 -1
- package/screenshot-page/assets/{J73KTOmdZGNmnq-z.js → D72Rp__0TEqJ972a.js} +1 -1
- package/screenshot-page/assets/D8EmNst-H2v0eWcf.js +1 -0
- package/screenshot-page/assets/{BTJ1NNUzHotNDiDe.js → D98PlIA4qQ_6ciCu.js} +2 -2
- package/screenshot-page/assets/{Tj3B5At0OAN3tDza.js → DACqwpSwlZka3b7s.js} +1 -1
- package/screenshot-page/assets/{CI3Z1f4amZ9G2rPD.js → DJebrQ5mu8uxpX3b.js} +1 -1
- package/screenshot-page/assets/{CSFFMEKyxEFaykqL.js → DTAKTGn53yF_B621.js} +1 -1
- package/screenshot-page/assets/{D6Ciix7JAZtdKqmj.js → DYYzsN95gWMsxOaj.js} +1 -1
- package/screenshot-page/assets/{DOVt9zHz7FQ2KUQM.js → Da_VIghRFdNrmfZT.js} +1 -1
- package/screenshot-page/assets/{clrFU8i-0wNkmbs7.js → DbnmgPTSEii4OGkB.js} +1 -1
- package/screenshot-page/assets/{0UZBKpOOsp7P-DkP.js → DdmX3djBOA6UCZtf.js} +2 -2
- package/screenshot-page/assets/{DEpn6VGd30cHEJOS.js → DfQS5zAy3pN31xNb.js} +1 -1
- package/screenshot-page/assets/{DynKB5GH-vfFMJEy.js → DkTX5ZjGNQ5SrwJa.js} +1 -1
- package/screenshot-page/assets/{Bg9UyX4yrB2mSdJt.js → DmIjTb4kKfUHxWaF.js} +23 -23
- package/screenshot-page/assets/DqOrgSpuJhQRhMoG.js +4 -0
- package/screenshot-page/assets/{BIuMiduMHSsTGacU.js → Dz_yLNMXKWGx1O6V.js} +2 -2
- package/screenshot-page/assets/{B-8IMo2f1yGNXOyz.js → GxbRmvyoKhHl0ZYY.js} +13 -8
- package/screenshot-page/assets/{FqdZRM336KMEcsbU.js → MqGbtsji4DVGCAMR.js} +1 -1
- package/screenshot-page/assets/{zvxBjll3jnL0-vNn.js → Np3jWxG724t5hLHZ.js} +2 -2
- package/screenshot-page/assets/eR9_DaySoB72PvMo.js +1 -0
- package/screenshot-page/assets/{CtiTwHzd_ZSzd3W2.js → hB5riGkPy0wXVIig.js} +1 -1
- package/screenshot-page/assets/hHvAGynpTvAb97GX.js +1 -0
- package/screenshot-page/assets/{DmDFKv_3APEWI-IY.js → jKvAZg0Tp701aw1o.js} +2 -2
- package/screenshot-page/assets/{DACSL7FA_J91Z_H7.js → jteb4n23QwBT9m_4.js} +1 -1
- package/screenshot-page/assets/mzrDp0emvkWnkXBt.js +1 -0
- package/screenshot-page/assets/x1O923k1mN-CduO_.js +1 -0
- package/screenshot-page/index.html +15 -15
- package/types/scripting-api.json +1 -1
- package/types/scripting.d.ts +1 -1
- package/assets/Dfv_T_PQVL0O3lu5.js +0 -14
- package/screenshot-page/assets/B7pXfEVkcbaMBMhc.js +0 -1
- package/screenshot-page/assets/BDRMUi2BsnBqytIq.js +0 -2
- package/screenshot-page/assets/BEjJHVSbtlsNtoq7.js +0 -3
- package/screenshot-page/assets/BPMQ22uISGOm3ymr.js +0 -1
- package/screenshot-page/assets/Bxq4FCQhyPbVhhaR.js +0 -2
- package/screenshot-page/assets/CNB6WmYfGVZjlCKV.js +0 -5
- package/screenshot-page/assets/CXeJV1BW2CVemhPE.js +0 -1
- package/screenshot-page/assets/CkxmJxdtjBIxYoMq.js +0 -1
- package/screenshot-page/assets/D43IayseD2Cy8OZo.js +0 -4
- package/screenshot-page/assets/D8KyhLvfyjLZW92H.js +0 -39
- package/screenshot-page/assets/DBxAatsD6aWk7Zb6.js +0 -586
- package/screenshot-page/assets/DMhOGCTy8V0N14gY.js +0 -1
- package/screenshot-page/assets/DSTlKGmqncM7XHeW.js +0 -1
- package/screenshot-page/assets/Dh14XQinAphjZOKC.js +0 -1
- package/screenshot-page/assets/Dt8JxbBBr2TeDflQ.js +0 -1
- package/screenshot-page/assets/Dxi-bXNjS-CpC5Qr.js +0 -1
- package/screenshot-page/assets/Oay0yGsGYgJDzy8r.js +0 -1
- package/screenshot-page/assets/QZg76Jflu3Q808W3.js +0 -1
- package/screenshot-page/assets/qFyplGXRu7IepHio.js +0 -1
|
@@ -1,15 +1,15 @@
|
|
|
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.25
|
|
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 { ht as e } from "./
|
|
8
|
-
import {
|
|
9
|
-
import { u as p } from "./
|
|
10
|
-
import {
|
|
11
|
-
import { C as O, r as R, t as C, x as L } from "./
|
|
12
|
-
import { $ as N, $n as D, $t as F, An as k, At as P, B as M, Bn as U, Ct as z, Dn as W, Dt as V, En as H, Et as G, Fn as j, Ft as X, G as Y, Gn as q, Gt as K, H as Z, Hn as Q, Ht as J, In as $, J as ee, Jn as te, Jt as re, K as ne, Kn as oe, L as ae, Ln as se, Lt as ie, Mn as le, Mt as ce, Nn as ue, On as de, Ot as fe, Pn as me, Pt as he, Q as ge, Qn as Ee, Qt as we, Rn as Se, Sn as
|
|
7
|
+
import { ht as e } from "./ixHQtoul8ubEJfWS.js";
|
|
8
|
+
import { D as t, E as r, J as n, Lt as o, Ot as a, b as s, ct as i, s as l, w as c, x as u } from "./BbfSzxx5EzAvn-_F.js";
|
|
9
|
+
import { u as p } from "./CCOaNx5_BfWCc9yz.js";
|
|
10
|
+
import { $ as d, B as f, Ct as m, Ja as h, Pr as g, Pt as E, Ti as w, _ as y, _t as S, fo as A, kr as T, oi as b, or as v, rt as x, ya as I } from "./ckvxz2tZRlY1UPpg.js";
|
|
11
|
+
import { C as O, r as R, t as C, x as L } from "./DBgHcEP-FcgSHLvx.js";
|
|
12
|
+
import { $ as N, $n as D, $t as F, An as k, At as P, B as M, Bn as U, Ct as z, Dn as W, Dt as V, En as H, Et as G, Fn as j, Ft as X, G as Y, Gn as q, Gt as K, H as Z, Hn as Q, Ht as J, In as $, J as ee, Jn as te, Jt as re, K as ne, Kn as oe, L as ae, Ln as se, Lt as ie, Mn as le, Mt as ce, Nn as ue, On as de, Ot as fe, Pn as me, Pt as he, Q as ge, Qn as Ee, Qt as we, Rn as Se, Sn as Ae, St as Te, Tn as be, Tt as ve, U as xe, Un as Ie, Ut as Oe, V as Re, Vn as Ce, W as Le, Wn as Ne, Wt as De, X as Fe, Xn as ke, Xt as Pe, Y as Me, Yn as Ue, Yt as Be, Z as ze, Zn as We, Zt as Ve, _n as He, _r as Ge, an as je, ar as Xe, at as Ye, bn as qe, bt as Ke, cr as Qe, ct as Je, dn as $e, dr as _e, dt as et, en as tt, er as rt, et as nt, fn as ot, fr as at, ft as st, gn as it, hn as ct, hr as ut, ht as pt, in as dt, ir as ft, it as mt, jn as ht, jt as gt, kt as wt, ln as yt, lr as St, lt as At, mn as Tt, mt as vt, nn as xt, nr as It, nt as Ot, on as Rt, ot as Lt, pn as Nt, pr as Dt, q as Ft, qn as kt, rn as Pt, rr as Mt, rt as Ut, sn as Bt, sr as zt, st as Wt, tn as Vt, tr as Ht, tt as Gt, un as jt, ur as Xt, ut as Yt, vn as qt, vr as Kt, wn as Zt, wt as Qt, xn as Jt, xt as $t, yr as er, z as tr, zn as rr } from "./xMi-tFxI2s6e18L1.js";
|
|
13
13
|
var nr, or, ar = Object.defineProperty, sr = (e, t) => {
|
|
14
14
|
let r = {};
|
|
15
15
|
for (var n in e) ar(r, n, {
|
|
@@ -55,8 +55,8 @@ var nr, or, ar = Object.defineProperty, sr = (e, t) => {
|
|
|
55
55
|
[mr + "xlIntlMacrosheet", "macro"],
|
|
56
56
|
[dr + "dialogsheet", "dialog"],
|
|
57
57
|
[fr + "dialogsheet", "dialog"]
|
|
58
|
-
]), wr = (e) => !e || e.kind && "worksheet" !== e.kind ? void 0 : e.sheet, yr = (e) => e?.kind && "worksheet" !== e.kind ? e.sheet : void 0, Sr = (e) => e && Er.get(e) || null,
|
|
59
|
-
const t =
|
|
58
|
+
]), wr = (e) => !e || e.kind && "worksheet" !== e.kind ? void 0 : e.sheet, yr = (e) => e?.kind && "worksheet" !== e.kind ? e.sheet : void 0, Sr = (e) => e && Er.get(e) || null, Ar = /<((?:[\w.-]+:)?(chartsheet|macrosheet|dialogsheet|worksheet))\b[^>]*>/, Tr = /<((?:[\w.-]+:)?sheetPr)\b([^>]*?)(\/>|>([\s\S]*?)<\/\1>)/, br = /<(?:[\w.-]+:)?tabColor\b([^>]*?)\/?>(?:\s*<\/(?:[\w.-]+:)?tabColor>)?/, vr = /<((?:[\w.-]+:)?sheetView)\b([^>]*?)(\/?)>/, xr = (e) => {
|
|
59
|
+
const t = Tr.exec(e)?.[4];
|
|
60
60
|
if (!t) return null;
|
|
61
61
|
const r = br.exec(t);
|
|
62
62
|
return r ? ((e) => {
|
|
@@ -65,13 +65,13 @@ var nr, or, ar = Object.defineProperty, sr = (e, t) => {
|
|
|
65
65
|
return t;
|
|
66
66
|
})(r[1]) : null;
|
|
67
67
|
}, Ir = (e, t) => {
|
|
68
|
-
const r =
|
|
68
|
+
const r = Tr.exec(e);
|
|
69
69
|
if (r) {
|
|
70
70
|
const [n, o, a, , s = ""] = r, i = (t ?? "") + s.replace(br, ""), l = i ? `<${o}${a}>${i}</${o}>` : `<${o}${a}/>`;
|
|
71
71
|
return e.slice(0, r.index) + l + e.slice(r.index + n.length);
|
|
72
72
|
}
|
|
73
73
|
if (!t) return e;
|
|
74
|
-
const n =
|
|
74
|
+
const n = Ar.exec(e);
|
|
75
75
|
if (!n) return e;
|
|
76
76
|
const o = n[1].includes(":") && !/\sxmlns="/.test(n[0]) ? n[1].slice(0, n[1].indexOf(":") + 1) : "", a = n.index + n[0].length;
|
|
77
77
|
return e.slice(0, a) + `<${o}sheetPr>${t}</${o}sheetPr>` + e.slice(a);
|
|
@@ -81,7 +81,7 @@ var nr, or, ar = Object.defineProperty, sr = (e, t) => {
|
|
|
81
81
|
const [n, o, a, s] = r, i = `<${o}${t ? " tabSelected=\"1\"" : ""}${a.replace(/\s+tabSelected\s*=\s*"[^"]*"/, "")}${s}>`;
|
|
82
82
|
return i === n ? e : e.slice(0, r.index) + i + e.slice(r.index + n.length);
|
|
83
83
|
}, Rr = (e) => {
|
|
84
|
-
const t =
|
|
84
|
+
const t = Ar.exec(e);
|
|
85
85
|
if (!t || "macrosheet" !== t[2]) return e;
|
|
86
86
|
let r = t[0].replace(t[1], "worksheet");
|
|
87
87
|
/\sxmlns="/.test(r) || (r = r.replace(/^<worksheet\b/, "<worksheet xmlns=\"http://schemas.openxmlformats.org/spreadsheetml/2006/main\""));
|
|
@@ -112,7 +112,7 @@ var nr, or, ar = Object.defineProperty, sr = (e, t) => {
|
|
|
112
112
|
}, Lr = (e) => e.replace(/&/g, "&").replace(/</g, "<").replace(/>/g, ">"), Nr = "http://schemas.microsoft.com/office/spreadsheetml/2009/9/main", Dr = "http://schemas.microsoft.com/office/excel/2006/main", Fr = "{CCE6A557-97BC-4b89-ADB6-D9C93CAAB3DF}", kr = "{78C0D931-6437-407d-A8EE-F0AAD7539E65}", Pr = "{78C0D931-6839-4c89-B8D6-976A2CC4E5B4}", Mr = "{B025F937-C7B1-47D3-B67F-A62EFF666E3E}", Ur = "http://schemas.microsoft.com/office/spreadsheetml/2010/11/main", Br = "{A8765BA9-456A-4dab-B4F3-ACF838C121DE}", zr = "{3A4CF648-6AED-40f4-86FF-DC5316D8AED3}", Wr = "{46BE6895-7355-4a93-B00E-2C351335B9C9}", Vr = "{BBE1A952-AA13-448e-AADC-164F8A28A991}", Hr = "{B58B0392-4F1F-4190-BB64-5DF3571DCE5F}", Gr = "{7E03D99C-DC04-49d9-9315-930204A7B6E9}", jr = "{D0CA8CA8-9F24-4464-BF8E-62219DCF47F9}", Xr = "{2F2917AC-EB37-4324-AD4E-5DD8C200BD13}", Yr = "{1AD28BCE-077C-4C59-8B6E-1921CE8616D4}", qr = "{05C60535-1F16-4fd2-B633-F4F36F0B64E0}", Kr = {
|
|
113
113
|
"{01252117-D84E-4E92-8308-4BE1C098FCBB}": "ignoredErrors",
|
|
114
114
|
"{F7C9EE02-42E1-4005-9D12-6889AFFD525C}": "workbook protection extensions"
|
|
115
|
-
}, Zr = /* @__PURE__ */ new Set(["{77BFE23E-C014-4D31-8A63-9C772DBF06B6}"]);
|
|
115
|
+
}, Zr = /* @__PURE__ */ new Set(["{77BFE23E-C014-4D31-8A63-9C772DBF06B6}", "{64002731-A6B0-56B0-2670-7721B7C09600}"]);
|
|
116
116
|
function Qr(e) {
|
|
117
117
|
return (e ?? "").toUpperCase();
|
|
118
118
|
}
|
|
@@ -196,14 +196,14 @@ var $r = (e, t, r) => {
|
|
|
196
196
|
let r;
|
|
197
197
|
const n = e("auto");
|
|
198
198
|
void 0 === n || "1" !== n && "true" !== n || (r = t);
|
|
199
|
-
const
|
|
200
|
-
|
|
201
|
-
const
|
|
202
|
-
|
|
203
|
-
const
|
|
204
|
-
|
|
205
|
-
let
|
|
206
|
-
if (
|
|
199
|
+
const a = e("indexed");
|
|
200
|
+
a && (r = "64" === a ? "auto" : `index${a}`);
|
|
201
|
+
const s = e("rgb");
|
|
202
|
+
s && (r = s.toLowerCase(), 8 !== s.length || s.startsWith("FF") || (r = "FF" + s.substring(2, s.length)));
|
|
203
|
+
const i = e("theme");
|
|
204
|
+
i && (r = on[Number(i)]);
|
|
205
|
+
let l = e("tint");
|
|
206
|
+
if (l && (r += ` ${o.AdjustmentType.ETint} ${parseFloat(l)}`), r) return r;
|
|
207
207
|
}, sn = (e) => e ? e.replace(/^\{([\s\S]+)\}$/, "$1") : e, ln = Object.freeze({
|
|
208
208
|
structure: "_error",
|
|
209
209
|
kinds: [],
|
|
@@ -251,7 +251,7 @@ var $r = (e, t, r) => {
|
|
|
251
251
|
]
|
|
252
252
|
]), hn = Object.freeze([["WebImageIdentifier", [["ShowInCardView", "0"]]]]), gn = Object.freeze({
|
|
253
253
|
structure: "_webimage",
|
|
254
|
-
kinds: [
|
|
254
|
+
kinds: [E.Type],
|
|
255
255
|
beginRead: (e) => {
|
|
256
256
|
const t = ((e) => {
|
|
257
257
|
const t = e.getFile(un.substring(1));
|
|
@@ -283,7 +283,7 @@ var $r = (e, t, r) => {
|
|
|
283
283
|
null != s && (a.resId = s);
|
|
284
284
|
const i = e.ImageSizing;
|
|
285
285
|
return i >= 1 && i <= 3 && (a.sizing = i), {
|
|
286
|
-
type:
|
|
286
|
+
type: E.Type,
|
|
287
287
|
data: a
|
|
288
288
|
};
|
|
289
289
|
} };
|
|
@@ -294,7 +294,7 @@ var $r = (e, t, r) => {
|
|
|
294
294
|
structure: "_webimage",
|
|
295
295
|
props: mn,
|
|
296
296
|
write: (e, n) => {
|
|
297
|
-
if (!(e instanceof
|
|
297
|
+
if (!(e instanceof E)) return null;
|
|
298
298
|
const o = e.getSource();
|
|
299
299
|
let a = r.get(o);
|
|
300
300
|
return void 0 === a ? (a = t.length, t.push({
|
|
@@ -326,8 +326,8 @@ var $r = (e, t, r) => {
|
|
|
326
326
|
"5"
|
|
327
327
|
]]), Sn = Object.freeze({
|
|
328
328
|
structure: "_localImage",
|
|
329
|
-
kinds: [
|
|
330
|
-
writes: (e) => e instanceof
|
|
329
|
+
kinds: [E.Type],
|
|
330
|
+
writes: (e) => e instanceof E && e.getSource().startsWith(wn) && !!e.getResource(),
|
|
331
331
|
beginRead: (t) => {
|
|
332
332
|
const r = ((e) => {
|
|
333
333
|
const t = e.getFile(En.substring(1));
|
|
@@ -354,7 +354,7 @@ var $r = (e, t, r) => {
|
|
|
354
354
|
if (!t) return;
|
|
355
355
|
const r = { source: t.source };
|
|
356
356
|
return null !== t.resId && (r.resId = t.resId), {
|
|
357
|
-
type:
|
|
357
|
+
type: E.Type,
|
|
358
358
|
data: r
|
|
359
359
|
};
|
|
360
360
|
} };
|
|
@@ -365,7 +365,7 @@ var $r = (e, t, r) => {
|
|
|
365
365
|
structure: "_localImage",
|
|
366
366
|
props: yn,
|
|
367
367
|
write: (e, n) => {
|
|
368
|
-
const o = e instanceof
|
|
368
|
+
const o = e instanceof E ? e.getResource() : null;
|
|
369
369
|
if (!o) return null;
|
|
370
370
|
let a = r.get(o);
|
|
371
371
|
return void 0 === a && (a = t.length, t.push(o), r.set(o, a)), ["" + a, "" + fn(n)];
|
|
@@ -375,26 +375,26 @@ var $r = (e, t, r) => {
|
|
|
375
375
|
}
|
|
376
376
|
};
|
|
377
377
|
}
|
|
378
|
-
}),
|
|
378
|
+
}), An = /* @__PURE__ */ new Map(), Tn = /* @__PURE__ */ new Map();
|
|
379
379
|
(or = nr || (nr = {})).register = function(e) {
|
|
380
|
-
const t =
|
|
381
|
-
|
|
382
|
-
for (const [e, r] of
|
|
380
|
+
const t = An.get(e.structure);
|
|
381
|
+
An.set(e.structure, e);
|
|
382
|
+
for (const [e, r] of Tn) {
|
|
383
383
|
const n = r.filter((e) => e !== t);
|
|
384
|
-
n.length !== r.length &&
|
|
384
|
+
n.length !== r.length && Tn.set(e, n);
|
|
385
385
|
}
|
|
386
|
-
for (const t of e.kinds)
|
|
386
|
+
for (const t of e.kinds) Tn.set(t, [...Tn.get(t) ?? [], e]);
|
|
387
387
|
}, or.getAll = function() {
|
|
388
|
-
return [...
|
|
388
|
+
return [...An.values()];
|
|
389
389
|
}, or.getByStructure = function(e) {
|
|
390
|
-
return
|
|
390
|
+
return An.get(e) ?? null;
|
|
391
391
|
}, or.getForValue = function(e) {
|
|
392
|
-
const t = "object" == typeof e && null !== e && e.isIRichData ?
|
|
392
|
+
const t = "object" == typeof e && null !== e && e.isIRichData ? Tn.get(e.getKind().getName()) : void 0;
|
|
393
393
|
if (t) for (let r = t.length - 1; r >= 0; r--) {
|
|
394
394
|
const n = t[r];
|
|
395
395
|
if (!n.writes || n.writes(e)) return n;
|
|
396
396
|
}
|
|
397
|
-
return p.isError(e) ?
|
|
397
|
+
return p.isError(e) ? An.get(ln.structure) ?? null : null;
|
|
398
398
|
}, nr.register(ln), nr.register(gn), nr.register(Sn);
|
|
399
399
|
var bn = /* @__PURE__ */ new Set([
|
|
400
400
|
"_Display",
|
|
@@ -419,7 +419,7 @@ var bn = /* @__PURE__ */ new Set([
|
|
|
419
419
|
const r = {};
|
|
420
420
|
return (t || "0" === e?.get("ShowInCardView")) && (r.cardView = !0), (t || "0" === e?.get("ShowInDotNotation")) && (r.dotNotation = !0), (t || "0" === e?.get("ShowInAutoComplete")) && (r.autoComplete = !0), "1" === e?.get("ExcludeFromCalcComparison") && (r.calcCompare = !0), Object.keys(r).length > 0 ? r : void 0;
|
|
421
421
|
}, Nn = (e, t, r) => {
|
|
422
|
-
const { structures: n, values: o, arrays: a, bagStructures: s, bagArrays: i, bags: l, richStyles: c } = e, u = /* @__PURE__ */ new Map(),
|
|
422
|
+
const { structures: n, values: o, arrays: a, bagStructures: s, bagArrays: i, bags: l, richStyles: c } = e, u = /* @__PURE__ */ new Map(), m = /* @__PURE__ */ new Set(), h = (e) => {
|
|
423
423
|
const t = o[e], r = t ? n[t.s] : void 0;
|
|
424
424
|
return t && r ? {
|
|
425
425
|
t: r.t,
|
|
@@ -427,7 +427,7 @@ var bn = /* @__PURE__ */ new Set([
|
|
|
427
427
|
values: t.values,
|
|
428
428
|
fb: t.fb
|
|
429
429
|
} : null;
|
|
430
|
-
},
|
|
430
|
+
}, g = (e, t) => {
|
|
431
431
|
const r = {};
|
|
432
432
|
for (let n = 0; n < e.length && n < t.length; n++) {
|
|
433
433
|
const [o, a] = e[n];
|
|
@@ -435,8 +435,8 @@ var bn = /* @__PURE__ */ new Set([
|
|
|
435
435
|
}
|
|
436
436
|
return r;
|
|
437
437
|
};
|
|
438
|
-
let
|
|
439
|
-
const
|
|
438
|
+
let E = null;
|
|
439
|
+
const y = (e) => {
|
|
440
440
|
switch (e.t) {
|
|
441
441
|
case "r": return x(parseInt(e.text, 10)).json;
|
|
442
442
|
case "s":
|
|
@@ -447,19 +447,19 @@ var bn = /* @__PURE__ */ new Set([
|
|
|
447
447
|
var t;
|
|
448
448
|
const r = Number(e.text);
|
|
449
449
|
return Number.isFinite(r) ? r : e.text;
|
|
450
|
-
},
|
|
450
|
+
}, S = (e) => {
|
|
451
451
|
const t = a[e];
|
|
452
452
|
if (!t) return null;
|
|
453
453
|
const r = [];
|
|
454
|
-
for (let e = 0; e < t.rows; e++) r.push(t.items.slice(e * t.columns, (e + 1) * t.columns).map(
|
|
454
|
+
for (let e = 0; e < t.rows; e++) r.push(t.items.slice(e * t.columns, (e + 1) * t.columns).map(y));
|
|
455
455
|
return {
|
|
456
|
-
type:
|
|
456
|
+
type: d.Type,
|
|
457
457
|
data: { elements: r }
|
|
458
458
|
};
|
|
459
|
-
},
|
|
459
|
+
}, A = (e) => {
|
|
460
460
|
const t = l[e], r = t ? s[t.s] : void 0;
|
|
461
461
|
if (!t || !r) return null;
|
|
462
|
-
const n =
|
|
462
|
+
const n = w.defineKind("#spb", { properties: r.map(([e, t]) => ({
|
|
463
463
|
name: e,
|
|
464
464
|
valueType: Cn(t)
|
|
465
465
|
})) }), o = {};
|
|
@@ -467,17 +467,17 @@ var bn = /* @__PURE__ */ new Set([
|
|
|
467
467
|
const [n, a] = r[e], s = t.values[e];
|
|
468
468
|
switch (a) {
|
|
469
469
|
case "spb":
|
|
470
|
-
o[n] =
|
|
470
|
+
o[n] = A(parseInt(s, 10));
|
|
471
471
|
break;
|
|
472
472
|
case "spba": {
|
|
473
473
|
const e = i[parseInt(s, 10)] ?? [];
|
|
474
474
|
o[n] = {
|
|
475
|
-
type:
|
|
476
|
-
data: { elements: e.map((e) => [
|
|
475
|
+
type: d.Type,
|
|
476
|
+
data: { elements: e.map((e) => [y(e)]) }
|
|
477
477
|
};
|
|
478
478
|
break;
|
|
479
479
|
}
|
|
480
|
-
default: o[n] =
|
|
480
|
+
default: o[n] = y({
|
|
481
481
|
t: a,
|
|
482
482
|
text: s
|
|
483
483
|
});
|
|
@@ -487,7 +487,7 @@ var bn = /* @__PURE__ */ new Set([
|
|
|
487
487
|
type: n.getName(),
|
|
488
488
|
data: o
|
|
489
489
|
};
|
|
490
|
-
},
|
|
490
|
+
}, T = (e) => {
|
|
491
491
|
if (void 0 === e) return null;
|
|
492
492
|
const t = l[parseInt(e, 10)], r = t ? s[t.s] : void 0;
|
|
493
493
|
if (!t || !r) return null;
|
|
@@ -498,28 +498,28 @@ var bn = /* @__PURE__ */ new Set([
|
|
|
498
498
|
const t = parseInt(e ?? "", 10);
|
|
499
499
|
return t >= 1 ? c[t - 1] ?? null : null;
|
|
500
500
|
}, v = (t) => {
|
|
501
|
-
const r =
|
|
501
|
+
const r = h(t);
|
|
502
502
|
if (!r) return null;
|
|
503
503
|
const { t: n, keys: o } = r, a = r.values, s = e.typeKeyFlags.get(n), l = /* @__PURE__ */ new Map();
|
|
504
504
|
for (let e = 0; e < o.length && e < a.length; e++) l.set(o[e][0], a[e]);
|
|
505
|
-
const c = {}, u = {}, p =
|
|
505
|
+
const c = {}, u = {}, p = T(l.get("_Display"));
|
|
506
506
|
if (p) {
|
|
507
507
|
const e = p.get("^Order");
|
|
508
508
|
void 0 !== e && (u.order = (i[parseInt(e, 10)] ?? []).map((e) => e.text)), p.get("TitleProperty") && (u.title = p.get("TitleProperty")), p.get("SubTitleProperty") && (u.subTitle = p.get("SubTitleProperty"));
|
|
509
509
|
}
|
|
510
510
|
const d = {}, f = (e) => d[e] ??= {};
|
|
511
|
-
for (const [e, t] of
|
|
511
|
+
for (const [e, t] of T(l.get("_Format")) ?? []) {
|
|
512
512
|
const r = b(t);
|
|
513
513
|
r && (r.numberFormat && (f(e).numberFormat = r.numberFormat), r.isTitle && (u.title ??= e), r.isHero && (u.mainImage ??= e));
|
|
514
514
|
}
|
|
515
|
-
for (const [e, t] of
|
|
516
|
-
for (const [e, t] of
|
|
517
|
-
const r = Ln(
|
|
515
|
+
for (const [e, t] of T(l.get("_SubLabel")) ?? []) f(e).sublabel = t;
|
|
516
|
+
for (const [e, t] of T(l.get("_Flags")) ?? []) {
|
|
517
|
+
const r = Ln(T(t) ?? void 0, !1);
|
|
518
518
|
r && (f(e).excludeFrom = r);
|
|
519
519
|
}
|
|
520
520
|
Object.keys(u).length > 0 && (c.card = u);
|
|
521
|
-
const
|
|
522
|
-
|
|
521
|
+
const m = l.get("_Icon");
|
|
522
|
+
m && (c.icon = m);
|
|
523
523
|
const g = {};
|
|
524
524
|
for (const [e, t] of o) {
|
|
525
525
|
if (bn.has(e)) continue;
|
|
@@ -531,19 +531,19 @@ var bn = /* @__PURE__ */ new Set([
|
|
|
531
531
|
break;
|
|
532
532
|
}
|
|
533
533
|
case "a":
|
|
534
|
-
g[e] =
|
|
534
|
+
g[e] = S(parseInt(r, 10));
|
|
535
535
|
break;
|
|
536
536
|
case "spb":
|
|
537
|
-
g[e] =
|
|
537
|
+
g[e] = A(parseInt(r, 10));
|
|
538
538
|
break;
|
|
539
|
-
default: g[e] =
|
|
539
|
+
default: g[e] = y({
|
|
540
540
|
t,
|
|
541
541
|
text: r
|
|
542
542
|
});
|
|
543
543
|
}
|
|
544
544
|
}
|
|
545
|
-
const
|
|
546
|
-
type:
|
|
545
|
+
const E = {
|
|
546
|
+
type: w.defineKind(n, {
|
|
547
547
|
properties: o.map(([t, r]) => {
|
|
548
548
|
const n = t.startsWith("_") || t.startsWith("%"), o = Ln(s?.get(t) ?? e.globalKeyFlags.get(t), n);
|
|
549
549
|
return o ? {
|
|
@@ -561,49 +561,49 @@ var bn = /* @__PURE__ */ new Set([
|
|
|
561
561
|
data: g
|
|
562
562
|
};
|
|
563
563
|
for (const e of Object.keys(d)) 0 === Object.keys(d[e]).length && delete d[e];
|
|
564
|
-
return Object.keys(d).length > 0 && (
|
|
564
|
+
return Object.keys(d).length > 0 && (E.meta = d), E;
|
|
565
565
|
}, x = (e) => {
|
|
566
566
|
const t = u.get(e);
|
|
567
567
|
if (t) return t;
|
|
568
|
-
if (
|
|
569
|
-
|
|
568
|
+
if (m.has(e)) return r(`Rich value ${e} refers to itself.`), { json: null };
|
|
569
|
+
m.add(e);
|
|
570
570
|
try {
|
|
571
571
|
const t = I(e);
|
|
572
572
|
return u.set(e, t), t;
|
|
573
573
|
} finally {
|
|
574
|
-
|
|
574
|
+
m.delete(e);
|
|
575
575
|
}
|
|
576
576
|
}, I = (e) => {
|
|
577
|
-
const r =
|
|
577
|
+
const r = h(e);
|
|
578
578
|
if (!r) return { json: null };
|
|
579
|
-
const { t: n, keys: a } = r, s =
|
|
579
|
+
const { t: n, keys: a } = r, s = g(a, r.values);
|
|
580
580
|
switch (n) {
|
|
581
581
|
case "_formattednumber": {
|
|
582
|
-
const e = Number(r.fb), t =
|
|
582
|
+
const e = Number(r.fb), t = T(s._Format)?.get("_Self"), n = b(t)?.numberFormat ?? void 0;
|
|
583
583
|
return {
|
|
584
584
|
json: Number.isFinite(e) ? e : null,
|
|
585
585
|
...n ? { numberFormat: n } : {}
|
|
586
586
|
};
|
|
587
587
|
}
|
|
588
588
|
case "_hyperlink": return { json: {
|
|
589
|
-
type:
|
|
589
|
+
type: f.Type,
|
|
590
590
|
data: {
|
|
591
591
|
address: s.Address ?? null,
|
|
592
592
|
friendly: s.Text ?? null
|
|
593
593
|
}
|
|
594
594
|
} };
|
|
595
|
-
case "_array": return { json:
|
|
595
|
+
case "_array": return { json: S(parseInt("" + s.array, 10)) };
|
|
596
596
|
case vn: return x(parseInt("" + s["%cvi"], 10));
|
|
597
597
|
case xn: {
|
|
598
598
|
const e = ((e) => {
|
|
599
|
-
if (!
|
|
600
|
-
|
|
599
|
+
if (!E) {
|
|
600
|
+
E = /* @__PURE__ */ new Map();
|
|
601
601
|
for (let e = 0; e < o.length; e++) {
|
|
602
|
-
const t =
|
|
603
|
-
"_linkedentity2core" === t?.t &&
|
|
602
|
+
const t = h(e);
|
|
603
|
+
"_linkedentity2core" === t?.t && E.set(Rn(g(t.keys, t.values)), e);
|
|
604
604
|
}
|
|
605
605
|
}
|
|
606
|
-
return
|
|
606
|
+
return E.get(Rn(e)) ?? null;
|
|
607
607
|
})(s);
|
|
608
608
|
if (null !== e) return x(e);
|
|
609
609
|
break;
|
|
@@ -618,10 +618,10 @@ var bn = /* @__PURE__ */ new Set([
|
|
|
618
618
|
return { json: v(e) };
|
|
619
619
|
};
|
|
620
620
|
return { cellValue: (e) => {
|
|
621
|
-
const r =
|
|
621
|
+
const r = h(e);
|
|
622
622
|
if (!r) return;
|
|
623
623
|
const n = t.get(r.t);
|
|
624
|
-
if (n && r.t !== xn && r.t !== vn) return n.read(
|
|
624
|
+
if (n && r.t !== xn && r.t !== vn) return n.read(g(r.keys, r.values));
|
|
625
625
|
const { json: o } = x(e);
|
|
626
626
|
return null != o ? "object" != typeof o || "number" != typeof o.e || "type" in o ? "object" == typeof o ? o : void 0 : p.getBuiltInByCode(o.e) ?? p.BuiltIn.Value : void 0;
|
|
627
627
|
} };
|
|
@@ -1838,7 +1838,7 @@ var co = (e) => {
|
|
|
1838
1838
|
period: o
|
|
1839
1839
|
};
|
|
1840
1840
|
})(e), yo.set(e, t)), t;
|
|
1841
|
-
},
|
|
1841
|
+
}, Ao = (e, t) => {
|
|
1842
1842
|
const r = e.accepts.length;
|
|
1843
1843
|
if (t < r) return t;
|
|
1844
1844
|
if (e.period > 0) {
|
|
@@ -1846,8 +1846,8 @@ var co = (e) => {
|
|
|
1846
1846
|
return n + (t - n) % e.period;
|
|
1847
1847
|
}
|
|
1848
1848
|
return -1;
|
|
1849
|
-
},
|
|
1850
|
-
const n = So(t), o =
|
|
1849
|
+
}, To = (e, t, r) => {
|
|
1850
|
+
const n = So(t), o = Ao(n, r);
|
|
1851
1851
|
return o < 0 ? null : !!Yn(e, o) || !jn(e) && !Xn(e, o) && !n.accepts[o];
|
|
1852
1852
|
}, bo = (e, t) => t && "function" === e.type ? !((e) => {
|
|
1853
1853
|
const t = Hn.get(e)?.arrayScope;
|
|
@@ -1861,10 +1861,10 @@ var co = (e) => {
|
|
|
1861
1861
|
if (!i) return () => n;
|
|
1862
1862
|
const l = So(i);
|
|
1863
1863
|
return (e) => {
|
|
1864
|
-
const t =
|
|
1864
|
+
const t = Ao(l, e);
|
|
1865
1865
|
return !(t >= 0 && ((e, t) => !0 === Hn.get(e)?.scopeClears?.includes(t))(o, t)) && (n || ((e, t, r) => {
|
|
1866
1866
|
if (!Zn(e) || !t.isBuiltIn()) return !1;
|
|
1867
|
-
const n = So(t), o =
|
|
1867
|
+
const n = So(t), o = Ao(n, r);
|
|
1868
1868
|
return !(o < 0) && !Yn(e, o) && n.accepts[o];
|
|
1869
1869
|
})(o, i, e));
|
|
1870
1870
|
};
|
|
@@ -1879,7 +1879,7 @@ var co = (e) => {
|
|
|
1879
1879
|
if (!o) return () => !1;
|
|
1880
1880
|
const a = So(o);
|
|
1881
1881
|
return (e) => {
|
|
1882
|
-
const t =
|
|
1882
|
+
const t = Ao(a, e);
|
|
1883
1883
|
return t >= 0 && !a.accepts[t];
|
|
1884
1884
|
};
|
|
1885
1885
|
}, Io = (e, t, r, n) => {
|
|
@@ -1991,14 +1991,14 @@ var co = (e) => {
|
|
|
1991
1991
|
if (!u) return null;
|
|
1992
1992
|
const p = So(u);
|
|
1993
1993
|
for (let e = 0; e < a.length; e++) {
|
|
1994
|
-
const n =
|
|
1994
|
+
const n = To(c, u, e);
|
|
1995
1995
|
if (null === n) break;
|
|
1996
1996
|
if (n) {
|
|
1997
1997
|
Io(a[e], t, r, i(e)) && (l ??= []).push(e);
|
|
1998
1998
|
continue;
|
|
1999
1999
|
}
|
|
2000
2000
|
if (jn(c)) continue;
|
|
2001
|
-
const o =
|
|
2001
|
+
const o = Ao(p, e);
|
|
2002
2002
|
o < 0 || !p.valueTyped[o] || Xn(c, o) || Ro(a[e], t, r) && (l ??= []).push(e);
|
|
2003
2003
|
}
|
|
2004
2004
|
return l;
|
|
@@ -2050,7 +2050,7 @@ function ko(e, t, r) {
|
|
|
2050
2050
|
if ("string" != typeof l) return null;
|
|
2051
2051
|
const c = `${String(i.scope ?? "").toUpperCase()}!${e.toUpperCase()}`, u = s.get(c);
|
|
2052
2052
|
if (void 0 !== u) return u;
|
|
2053
|
-
const p =
|
|
2053
|
+
const p = b.parse(l), d = p ? b.transform(p, a) : null;
|
|
2054
2054
|
return s.set(c, d), d;
|
|
2055
2055
|
}
|
|
2056
2056
|
}, l = function(e) {
|
|
@@ -2199,13 +2199,13 @@ function ko(e, t, r) {
|
|
|
2199
2199
|
return 0 === l.size ? a === n ? void 0 : a : zo(a, l);
|
|
2200
2200
|
};
|
|
2201
2201
|
}(d, i)), h = (e, t, r) => {
|
|
2202
|
-
const n =
|
|
2202
|
+
const n = b.parse(e, { anchor: t });
|
|
2203
2203
|
if (!n) return e;
|
|
2204
|
-
const o =
|
|
2205
|
-
return o === n ? e :
|
|
2204
|
+
const o = b.transform(n, r);
|
|
2205
|
+
return o === n ? e : b.image(o, { at: t });
|
|
2206
2206
|
};
|
|
2207
2207
|
return {
|
|
2208
|
-
parse: (e, t) =>
|
|
2208
|
+
parse: (e, t) => b.parse(e, {
|
|
2209
2209
|
anchor: t,
|
|
2210
2210
|
normalize: !0
|
|
2211
2211
|
}),
|
|
@@ -2218,7 +2218,7 @@ function ko(e, t, r) {
|
|
|
2218
2218
|
return t && (n.cm = !0), r && (n.ca = !0), n;
|
|
2219
2219
|
},
|
|
2220
2220
|
spell: (e, t, r) => {
|
|
2221
|
-
const o = r || n.size > 0 ?
|
|
2221
|
+
const o = r || n.size > 0 ? b.transform(e, ((e) => (t) => {
|
|
2222
2222
|
const r = t.type;
|
|
2223
2223
|
if ("tableReference" === r) return !t.value && e ? {
|
|
2224
2224
|
...t,
|
|
@@ -2234,7 +2234,7 @@ function ko(e, t, r) {
|
|
|
2234
2234
|
};
|
|
2235
2235
|
}
|
|
2236
2236
|
})(r)) : e;
|
|
2237
|
-
return
|
|
2237
|
+
return b.transform(o, t ? f : m);
|
|
2238
2238
|
},
|
|
2239
2239
|
writeName: (e) => h(e, void 0, f)
|
|
2240
2240
|
};
|
|
@@ -2245,7 +2245,7 @@ function Po(e, t) {
|
|
|
2245
2245
|
if (r) for (let e = 0; e < r.length; e++) {
|
|
2246
2246
|
const n = r[e], o = Array.isArray(n) ? n[0] : n?.r, a = Array.isArray(n) ? n[1] : n?.v, s = a?.columns;
|
|
2247
2247
|
if (!s || "string" != typeof o) continue;
|
|
2248
|
-
const i =
|
|
2248
|
+
const i = A.fastStringToRange(o), l = i.rowStart + (a.headerRowCount ?? 1);
|
|
2249
2249
|
for (let e = 0; e < s.length; e++) {
|
|
2250
2250
|
const r = s[e];
|
|
2251
2251
|
if (!r || "object" != typeof r) continue;
|
|
@@ -2263,13 +2263,13 @@ function Po(e, t) {
|
|
|
2263
2263
|
if (!r || 0 === r.length) return;
|
|
2264
2264
|
const n = /* @__PURE__ */ new Set(), o = e.formulaArray;
|
|
2265
2265
|
if (o) for (let e = 0; e < o.length; e++) {
|
|
2266
|
-
const t =
|
|
2266
|
+
const t = A.fastStringToRange(String(o[e][0]));
|
|
2267
2267
|
n.add(`${t.rowStart},${t.colStart}`);
|
|
2268
2268
|
}
|
|
2269
2269
|
for (let e = 0; e < r.length; e++) {
|
|
2270
2270
|
const o = r[e], a = o[1];
|
|
2271
2271
|
if ("string" != typeof a) continue;
|
|
2272
|
-
const s =
|
|
2272
|
+
const s = A.fastStringToRange(String(o[0])), i = {
|
|
2273
2273
|
rowIndex: s.rowStart,
|
|
2274
2274
|
colIndex: s.colStart
|
|
2275
2275
|
}, l = t.readText(a, i, n.has(`${s.rowStart},${s.colStart}`));
|
|
@@ -2520,8 +2520,8 @@ var Yo = /\s+([^\s=/>]+)\s*=\s*(?:"([^"]*)"|'([^']*)')/g, qo = (e, t, r = 0, n =
|
|
|
2520
2520
|
]);
|
|
2521
2521
|
function ha(e, t, r) {
|
|
2522
2522
|
if ("aboveAverage" === e || "belowAverage" === e) return {
|
|
2523
|
-
operator:
|
|
2524
|
-
param: { type: "aboveAverage" === e ?
|
|
2523
|
+
operator: I.BuiltInOperatorNames.Average,
|
|
2524
|
+
param: { type: "aboveAverage" === e ? I.AverageType.Above : I.AverageType.Below }
|
|
2525
2525
|
};
|
|
2526
2526
|
const n = { type: e ?? void 0 }, o = e ? function(e, t, r) {
|
|
2527
2527
|
const n = (e) => {
|
|
@@ -2540,7 +2540,7 @@ function ha(e, t, r) {
|
|
|
2540
2540
|
return "today" === e || e.startsWith("this") ? n(t) : void 0;
|
|
2541
2541
|
}(e, t ?? void 0, r ?? void 0) : void 0;
|
|
2542
2542
|
return void 0 !== o && (n.anchorDate = o), {
|
|
2543
|
-
operator:
|
|
2543
|
+
operator: I.BuiltInOperatorNames.TimePeriod,
|
|
2544
2544
|
param: n
|
|
2545
2545
|
};
|
|
2546
2546
|
}
|
|
@@ -2576,7 +2576,7 @@ function Ea(e, t, r) {
|
|
|
2576
2576
|
default: return null;
|
|
2577
2577
|
}
|
|
2578
2578
|
}
|
|
2579
|
-
var wa = "equal", ya = "notEqual", Sa = "greaterThan",
|
|
2579
|
+
var wa = "equal", ya = "notEqual", Sa = "greaterThan", Aa = "greaterThanOrEqual", Ta = "lessThan", ba = "lessThanOrEqual", va = I.BuiltInOperatorNames, xa = I.BuiltInSelectorNames.Display, Ia = (e) => {
|
|
2580
2580
|
const t = e?.selector;
|
|
2581
2581
|
return ("string" == typeof t ? t : t?.getName?.()) === xa;
|
|
2582
2582
|
}, Oa = {
|
|
@@ -2586,8 +2586,8 @@ var wa = "equal", ya = "notEqual", Sa = "greaterThan", Ta = "greaterThanOrEqual"
|
|
|
2586
2586
|
negate: !0
|
|
2587
2587
|
},
|
|
2588
2588
|
[Sa]: { operator: va.GreaterThan },
|
|
2589
|
-
[
|
|
2590
|
-
[
|
|
2589
|
+
[Aa]: { operator: va.GreaterThanEqualTo },
|
|
2590
|
+
[Ta]: { operator: va.LessThan },
|
|
2591
2591
|
[ba]: { operator: va.LessThanEqualTo }
|
|
2592
2592
|
}, Ra = {
|
|
2593
2593
|
[va.EqualTo]: {
|
|
@@ -2599,13 +2599,13 @@ var wa = "equal", ya = "notEqual", Sa = "greaterThan", Ta = "greaterThanOrEqual"
|
|
|
2599
2599
|
negated: ba
|
|
2600
2600
|
},
|
|
2601
2601
|
[va.GreaterThanEqualTo]: {
|
|
2602
|
-
plain: Ta,
|
|
2603
|
-
negated: Aa
|
|
2604
|
-
},
|
|
2605
|
-
[va.LessThan]: {
|
|
2606
2602
|
plain: Aa,
|
|
2607
2603
|
negated: Ta
|
|
2608
2604
|
},
|
|
2605
|
+
[va.LessThan]: {
|
|
2606
|
+
plain: Ta,
|
|
2607
|
+
negated: Aa
|
|
2608
|
+
},
|
|
2609
2609
|
[va.LessThanEqualTo]: {
|
|
2610
2610
|
plain: ba,
|
|
2611
2611
|
negated: Sa
|
|
@@ -2615,13 +2615,13 @@ var wa = "equal", ya = "notEqual", Sa = "greaterThan", Ta = "greaterThanOrEqual"
|
|
|
2615
2615
|
negated: ba
|
|
2616
2616
|
},
|
|
2617
2617
|
[va.AfterEqualTo]: {
|
|
2618
|
-
plain: Ta,
|
|
2619
|
-
negated: Aa
|
|
2620
|
-
},
|
|
2621
|
-
[va.Before]: {
|
|
2622
2618
|
plain: Aa,
|
|
2623
2619
|
negated: Ta
|
|
2624
2620
|
},
|
|
2621
|
+
[va.Before]: {
|
|
2622
|
+
plain: Ta,
|
|
2623
|
+
negated: Aa
|
|
2624
|
+
},
|
|
2625
2625
|
[va.BeforeEqualTo]: {
|
|
2626
2626
|
plain: ba,
|
|
2627
2627
|
negated: Sa
|
|
@@ -2742,7 +2742,7 @@ function Ua(e) {
|
|
|
2742
2742
|
return t ? {
|
|
2743
2743
|
and: !1,
|
|
2744
2744
|
filters: [{
|
|
2745
|
-
operator:
|
|
2745
|
+
operator: Ta,
|
|
2746
2746
|
val: n
|
|
2747
2747
|
}, {
|
|
2748
2748
|
operator: Sa,
|
|
@@ -2751,7 +2751,7 @@ function Ua(e) {
|
|
|
2751
2751
|
} : {
|
|
2752
2752
|
and: !0,
|
|
2753
2753
|
filters: [{
|
|
2754
|
-
operator:
|
|
2754
|
+
operator: Aa,
|
|
2755
2755
|
val: n
|
|
2756
2756
|
}, {
|
|
2757
2757
|
operator: ba,
|
|
@@ -2810,7 +2810,7 @@ function Wa(e) {
|
|
|
2810
2810
|
function Va(e) {
|
|
2811
2811
|
if (e) return "cellColor" === e ? R.SortOn.FillColor : e;
|
|
2812
2812
|
}
|
|
2813
|
-
var Ha =
|
|
2813
|
+
var Ha = I.BuiltInOperatorNames, Ga = I.BuiltInSelectorNames.Display, ja = I.BuiltInSelectorNames.Date, Xa = {
|
|
2814
2814
|
captionEqual: {
|
|
2815
2815
|
pattern: (e) => e,
|
|
2816
2816
|
negated: !1
|
|
@@ -3174,7 +3174,7 @@ var Ha = b.BuiltInOperatorNames, Ga = b.BuiltInSelectorNames.Display, ja = b.Bui
|
|
|
3174
3174
|
"button",
|
|
3175
3175
|
"topEnd",
|
|
3176
3176
|
"topRight"
|
|
3177
|
-
]),
|
|
3177
|
+
]), As = [
|
|
3178
3178
|
"defaultSubtotal",
|
|
3179
3179
|
"sumSubtotal",
|
|
3180
3180
|
"countASubtotal",
|
|
@@ -3187,7 +3187,7 @@ var Ha = b.BuiltInOperatorNames, Ga = b.BuiltInSelectorNames.Display, ja = b.Bui
|
|
|
3187
3187
|
"stdDevPSubtotal",
|
|
3188
3188
|
"varSubtotal",
|
|
3189
3189
|
"varPSubtotal"
|
|
3190
|
-
],
|
|
3190
|
+
], Ts = [
|
|
3191
3191
|
"field",
|
|
3192
3192
|
"type",
|
|
3193
3193
|
"dataOnly",
|
|
@@ -3204,7 +3204,7 @@ var Ha = b.BuiltInOperatorNames, Ga = b.BuiltInSelectorNames.Display, ja = b.Bui
|
|
|
3204
3204
|
}, vs = (e, t) => {
|
|
3205
3205
|
const r = Ko(t.attributes);
|
|
3206
3206
|
ca(r, [
|
|
3207
|
-
...
|
|
3207
|
+
...Ts,
|
|
3208
3208
|
"cacheIndex",
|
|
3209
3209
|
"offset"
|
|
3210
3210
|
]);
|
|
@@ -3214,7 +3214,7 @@ var Ha = b.BuiltInOperatorNames, Ga = b.BuiltInSelectorNames.Display, ja = b.Bui
|
|
|
3214
3214
|
void 0 !== a && (n.axis = ys.get(a) ?? aa());
|
|
3215
3215
|
const s = r.has("fieldPosition") ? la(r.get("fieldPosition")) : 0;
|
|
3216
3216
|
0 !== s && (n.fieldPosition = s);
|
|
3217
|
-
const i = Zo(t.attributes,
|
|
3217
|
+
const i = Zo(t.attributes, Ts);
|
|
3218
3218
|
i.trim() && (n.rest = i);
|
|
3219
3219
|
for (const { name: r, span: o } of da(e, t)) "references" !== r && aa(), n.references = pa(e, o, "reference").map((t) => xs(e, t));
|
|
3220
3220
|
return n;
|
|
@@ -3226,7 +3226,7 @@ var Ha = b.BuiltInOperatorNames, Ga = b.BuiltInSelectorNames.Display, ja = b.Bui
|
|
|
3226
3226
|
"selected",
|
|
3227
3227
|
"byPosition",
|
|
3228
3228
|
"relative",
|
|
3229
|
-
...
|
|
3229
|
+
...As
|
|
3230
3230
|
]);
|
|
3231
3231
|
const n = { field: bs(r.get("field")) }, o = pa(e, t, "x").map((e) => {
|
|
3232
3232
|
e.contentEnd !== e.contentStart && aa();
|
|
@@ -3234,7 +3234,7 @@ var Ha = b.BuiltInOperatorNames, Ga = b.BuiltInSelectorNames.Display, ja = b.Bui
|
|
|
3234
3234
|
return ca(t, ["v"]), t.has("v") ? la(t.get("v")) : 0;
|
|
3235
3235
|
});
|
|
3236
3236
|
o.length > 0 && (n.items = o), ia(r.get("selected")) && (n.selected = !1), sa(r.get("byPosition")) && (n.byPosition = !0), sa(r.get("relative")) && (n.relative = !0);
|
|
3237
|
-
const a =
|
|
3237
|
+
const a = As.filter((e) => sa(r.get(e)));
|
|
3238
3238
|
return a.length > 0 && (n.subtotals = a), n;
|
|
3239
3239
|
}, Is = (e) => {
|
|
3240
3240
|
const t = (e) => e ? "1" : void 0, r = (e) => -2 === e ? Es : e, n = $o([
|
|
@@ -3257,7 +3257,7 @@ var Ha = b.BuiltInOperatorNames, Ga = b.BuiltInSelectorNames.Display, ja = b.Bui
|
|
|
3257
3257
|
["selected", !1 === e.selected ? "0" : void 0],
|
|
3258
3258
|
["byPosition", t(e.byPosition)],
|
|
3259
3259
|
["relative", t(e.relative)],
|
|
3260
|
-
...
|
|
3260
|
+
...As.map((t) => [t, e.subtotals?.includes(t) ? "1" : void 0])
|
|
3261
3261
|
]);
|
|
3262
3262
|
return n.length > 0 ? `<reference${o}>${n.map((e) => `<x v="${e}"/>`).join("")}</reference>` : `<reference${o}/>`;
|
|
3263
3263
|
}).join("");
|
|
@@ -3602,9 +3602,9 @@ var Ha = b.BuiltInOperatorNames, Ga = b.BuiltInSelectorNames.Display, ja = b.Bui
|
|
|
3602
3602
|
m,
|
|
3603
3603
|
h
|
|
3604
3604
|
].filter((e) => !!e).sort((e, t) => e.start - t.start);
|
|
3605
|
-
let S = "",
|
|
3606
|
-
for (const t of y) S += e.substring(
|
|
3607
|
-
return S += e.substring(
|
|
3605
|
+
let S = "", A = 0;
|
|
3606
|
+
for (const t of y) S += e.substring(A, t.start), A = t.end;
|
|
3607
|
+
return S += e.substring(A), S = S.replace(r[0], () => "<pivotTableDefinition" + Zo(r[1], Ks)), o.rest = S, o;
|
|
3608
3608
|
}, ei = (e) => {
|
|
3609
3609
|
const t = Ko(e.attributes);
|
|
3610
3610
|
return ca(t, [
|
|
@@ -3778,25 +3778,25 @@ var Ha = b.BuiltInOperatorNames, Ga = b.BuiltInSelectorNames.Display, ja = b.Bui
|
|
|
3778
3778
|
const n = e.get("n");
|
|
3779
3779
|
return void 0 !== n && (t.name = n), sa(e.get("f")) && (t.calculated = !0), sa(e.get("m")) && (t.missing = !0), t;
|
|
3780
3780
|
}, fi = [
|
|
3781
|
-
|
|
3782
|
-
|
|
3783
|
-
|
|
3784
|
-
|
|
3785
|
-
|
|
3786
|
-
|
|
3787
|
-
|
|
3788
|
-
|
|
3789
|
-
|
|
3781
|
+
T.ErrorCheck.EvaluatesToError,
|
|
3782
|
+
T.ErrorCheck.TextDate,
|
|
3783
|
+
T.ErrorCheck.NumberAsText,
|
|
3784
|
+
T.ErrorCheck.InconsistentFormula,
|
|
3785
|
+
T.ErrorCheck.OmittedCells,
|
|
3786
|
+
T.ErrorCheck.UnlockedFormula,
|
|
3787
|
+
T.ErrorCheck.EmptyCellReference,
|
|
3788
|
+
T.ErrorCheck.ListDataValidation,
|
|
3789
|
+
T.ErrorCheck.InconsistentListFormula
|
|
3790
3790
|
], mi = "{05A4C25C-085E-4340-85A3-A5531E510DB2}", hi = sr({
|
|
3791
3791
|
EMU_PER_PIXEL: () => Ei,
|
|
3792
3792
|
EMU_PER_POINT: () => gi,
|
|
3793
3793
|
fixedPointToDouble: () => Si,
|
|
3794
|
-
parseAngle: () =>
|
|
3794
|
+
parseAngle: () => Ti,
|
|
3795
3795
|
parseAsBoolean: () => bi,
|
|
3796
|
-
parsePercentage: () =>
|
|
3796
|
+
parsePercentage: () => Ai,
|
|
3797
3797
|
toPixels: () => yi,
|
|
3798
3798
|
toPoints: () => wi
|
|
3799
|
-
}), gi = 12700, Ei = 9525, wi = (t) => t ? e.roundAccurately(parseFloat(t) / gi, 4) : null, yi = (t) => t ? e.roundAccurately(parseFloat(t) / Ei, 1) : null, Si = (e) => (e >> 16) + (65535 & e) / 65536,
|
|
3799
|
+
}), gi = 12700, Ei = 9525, wi = (t) => t ? e.roundAccurately(parseFloat(t) / gi, 4) : null, yi = (t) => t ? e.roundAccurately(parseFloat(t) / Ei, 1) : null, Si = (e) => (e >> 16) + (65535 & e) / 65536, Ai = (e) => parseFloat(e) / 1e3, Ti = (e) => parseFloat(e) / 6e4, bi = (e) => "true" === e || "1" === e, vi = /* @__PURE__ */ new Set([
|
|
3800
3800
|
"A1.R1C1",
|
|
3801
3801
|
"ABSREF",
|
|
3802
3802
|
"ACTIVATE",
|
|
@@ -4321,7 +4321,7 @@ var Ha = b.BuiltInOperatorNames, Ga = b.BuiltInSelectorNames.Display, ja = b.Bui
|
|
|
4321
4321
|
const r = /* @__PURE__ */ new Set();
|
|
4322
4322
|
if (0 === t.size) return r;
|
|
4323
4323
|
const n = e.getCalculation();
|
|
4324
|
-
if (n.getStatus() !==
|
|
4324
|
+
if (n.getStatus() !== h.Status.Running) return r;
|
|
4325
4325
|
const o = n.getFunctions();
|
|
4326
4326
|
for (const e of t) {
|
|
4327
4327
|
const t = o.getByName(e);
|
|
@@ -4367,7 +4367,7 @@ var Ha = b.BuiltInOperatorNames, Ga = b.BuiltInSelectorNames.Display, ja = b.Bui
|
|
|
4367
4367
|
}, zi = (e) => {
|
|
4368
4368
|
const t = void 0 !== e.rowInput || !0 === e.rowInputDeleted, r = void 0 !== e.columnInput || !0 === e.columnInputDeleted, n = t && r, o = {
|
|
4369
4369
|
t: "dataTable",
|
|
4370
|
-
ref:
|
|
4370
|
+
ref: A.rangeToString(e.ref),
|
|
4371
4371
|
dt2D: n ? "1" : "0",
|
|
4372
4372
|
dtr: t ? "1" : "0"
|
|
4373
4373
|
};
|
|
@@ -4394,43 +4394,43 @@ var Ha = b.BuiltInOperatorNames, Ga = b.BuiltInSelectorNames.Display, ja = b.Bui
|
|
|
4394
4394
|
"cursive",
|
|
4395
4395
|
"fantasy"
|
|
4396
4396
|
]), ji = /* @__PURE__ */ new Set([
|
|
4397
|
-
|
|
4398
|
-
|
|
4399
|
-
|
|
4400
|
-
|
|
4397
|
+
n.UnderlineStyle.Single,
|
|
4398
|
+
n.UnderlineStyle.Double,
|
|
4399
|
+
n.UnderlineStyle.SingleAccounting,
|
|
4400
|
+
n.UnderlineStyle.DoubleAccounting
|
|
4401
4401
|
]);
|
|
4402
4402
|
function Xi(e) {
|
|
4403
|
-
return e ===
|
|
4403
|
+
return e === r.ThemeFamily.Body || e === r.ThemeFamily.Heading;
|
|
4404
4404
|
}
|
|
4405
4405
|
function Yi(e, t) {
|
|
4406
|
-
const
|
|
4407
|
-
if (!
|
|
4408
|
-
const
|
|
4409
|
-
e.family =
|
|
4410
|
-
}
|
|
4411
|
-
function qi(e, t,
|
|
4412
|
-
const
|
|
4413
|
-
if (!Xi(
|
|
4414
|
-
const
|
|
4415
|
-
return
|
|
4416
|
-
name:
|
|
4406
|
+
const n = "major" === t ? r.ThemeFamily.Heading : "minor" === t ? r.ThemeFamily.Body : void 0;
|
|
4407
|
+
if (!n) return;
|
|
4408
|
+
const o = e.family;
|
|
4409
|
+
e.family = n, o && !Gi.has(o) && (e.fallbacks = [o, ...(e.fallbacks ?? []).filter((e) => e !== o)]);
|
|
4410
|
+
}
|
|
4411
|
+
function qi(e, t, n, o) {
|
|
4412
|
+
const a = e ?? (o ? r.ThemeFamily.Body : void 0);
|
|
4413
|
+
if (!Xi(a)) return { name: a };
|
|
4414
|
+
const s = void 0 === t?.[0] || Gi.has(t[0]) ? void 0 : t[0], i = n?.getFontScheme();
|
|
4415
|
+
return a === r.ThemeFamily.Heading ? {
|
|
4416
|
+
name: s ?? i?.getMajorFont(),
|
|
4417
4417
|
scheme: "major"
|
|
4418
4418
|
} : {
|
|
4419
|
-
name:
|
|
4419
|
+
name: s ?? i?.getMinorFont(),
|
|
4420
4420
|
scheme: "minor"
|
|
4421
4421
|
};
|
|
4422
4422
|
}
|
|
4423
4423
|
function Ki(e) {
|
|
4424
|
-
return "superscript" === e ?
|
|
4424
|
+
return "superscript" === e ? r.Baseline.Superscript : "subscript" === e ? r.Baseline.Subscript : "baseline" === e ? 0 : void 0;
|
|
4425
4425
|
}
|
|
4426
4426
|
function Zi(e, t) {
|
|
4427
4427
|
if (null != e) return e > 0 ? "superscript" : e < 0 ? "subscript" : t ? "baseline" : void 0;
|
|
4428
4428
|
}
|
|
4429
4429
|
function Qi(e) {
|
|
4430
|
-
return e ?
|
|
4430
|
+
return e ? n.StrikeStyle.Single : n.StrikeStyle.None;
|
|
4431
4431
|
}
|
|
4432
4432
|
function Ji(e) {
|
|
4433
|
-
if (null != e) return e !==
|
|
4433
|
+
if (null != e) return e !== n.StrikeStyle.None;
|
|
4434
4434
|
}
|
|
4435
4435
|
function $i(e, t) {
|
|
4436
4436
|
if (t) return "condense" === e ? -1 : 1;
|
|
@@ -4439,10 +4439,10 @@ function _i(e) {
|
|
|
4439
4439
|
if (e) return e < 0 ? "condense" : "extend";
|
|
4440
4440
|
}
|
|
4441
4441
|
function el(e) {
|
|
4442
|
-
return e && (e ===
|
|
4442
|
+
return e && (e === n.UnderlineStyle.None || ji.has(e)) ? e : n.UnderlineStyle.Single;
|
|
4443
4443
|
}
|
|
4444
4444
|
function tl(e) {
|
|
4445
|
-
if (e && e !==
|
|
4445
|
+
if (e && e !== n.UnderlineStyle.None) return ji.has(e) ? e : n.UnderlineStyle.Single;
|
|
4446
4446
|
}
|
|
4447
4447
|
var rl = [
|
|
4448
4448
|
{
|
|
@@ -4567,13 +4567,13 @@ var rl = [
|
|
|
4567
4567
|
const r = !(t ?? e.modelDefault);
|
|
4568
4568
|
return r === e.ooxmlDefault ? null : r ? "1" : "0";
|
|
4569
4569
|
}, sl = [
|
|
4570
|
-
[
|
|
4571
|
-
[
|
|
4572
|
-
[
|
|
4573
|
-
], il = [["atEnd",
|
|
4574
|
-
["blank",
|
|
4575
|
-
["dash",
|
|
4576
|
-
["NA",
|
|
4570
|
+
[m.ViewMode.Normal, "zoomScaleNormal"],
|
|
4571
|
+
[m.ViewMode.PageBreakPreview, "zoomScaleSheetLayoutView"],
|
|
4572
|
+
[m.ViewMode.PageLayout, "zoomScalePageLayoutView"]
|
|
4573
|
+
], il = [["atEnd", g.PrintComments.EndSheet], ["asDisplayed", g.PrintComments.InPlace]], ll = [
|
|
4574
|
+
["blank", g.PrintErrorType.Blank],
|
|
4575
|
+
["dash", g.PrintErrorType.Dash],
|
|
4576
|
+
["NA", g.PrintErrorType.NotAvailable]
|
|
4577
4577
|
], cl = [
|
|
4578
4578
|
"oddHeader",
|
|
4579
4579
|
"oddFooter",
|
|
@@ -4612,7 +4612,7 @@ function hl(e) {
|
|
|
4612
4612
|
function gl(e) {
|
|
4613
4613
|
return `"${e.split("\"").join("\"\"")}"`;
|
|
4614
4614
|
}
|
|
4615
|
-
var El = "aboveAverage", wl = "beginsWith", yl = "cellIs", Sl = "containsBlanks",
|
|
4615
|
+
var El = "aboveAverage", wl = "beginsWith", yl = "cellIs", Sl = "containsBlanks", Al = "containsErrors", Tl = "containsText", bl = "duplicateValues", vl = "endsWith", xl = "expression", Il = "notContainsBlanks", Ol = "notContainsErrors", Rl = "notContainsText", Cl = "timePeriod", Ll = "top10", Nl = "uniqueValues", Dl = I.BuiltInOperatorNames, Fl = {
|
|
4616
4616
|
equal: { operator: Dl.EqualTo },
|
|
4617
4617
|
notEqual: {
|
|
4618
4618
|
operator: Dl.EqualTo,
|
|
@@ -4700,7 +4700,7 @@ function zl(e, t) {
|
|
|
4700
4700
|
operator: Dl.Expression,
|
|
4701
4701
|
param: n[0] ?? ""
|
|
4702
4702
|
};
|
|
4703
|
-
case
|
|
4703
|
+
case Tl: return {
|
|
4704
4704
|
operator: Dl.TextContains,
|
|
4705
4705
|
param: e.text
|
|
4706
4706
|
};
|
|
@@ -4718,7 +4718,7 @@ function zl(e, t) {
|
|
|
4718
4718
|
};
|
|
4719
4719
|
case Sl: return { operator: Dl.Blank };
|
|
4720
4720
|
case Il: return Bl({ operator: Dl.Blank }, !0);
|
|
4721
|
-
case
|
|
4721
|
+
case Al: return { operator: Dl.Error };
|
|
4722
4722
|
case Ol: return Bl({ operator: Dl.Error }, !0);
|
|
4723
4723
|
case Nl: return { operator: Dl.Unique };
|
|
4724
4724
|
case bl: return Bl({ operator: Dl.Unique }, !0);
|
|
@@ -4740,7 +4740,7 @@ function zl(e, t) {
|
|
|
4740
4740
|
};
|
|
4741
4741
|
}
|
|
4742
4742
|
case El: {
|
|
4743
|
-
const t = e.aboveAverage ?? !0, r = e.equalAverage ?? !1, n = { type: t ? r ?
|
|
4743
|
+
const t = e.aboveAverage ?? !0, r = e.equalAverage ?? !1, n = { type: t ? r ? I.AverageType.AboveOrEqual : I.AverageType.Above : r ? I.AverageType.BelowOrEqual : I.AverageType.Below };
|
|
4744
4744
|
return void 0 !== e.stdDev && (n.stdDevs = e.stdDev), {
|
|
4745
4745
|
operator: Dl.Average,
|
|
4746
4746
|
param: n
|
|
@@ -4776,7 +4776,7 @@ function Wl(e, t, r) {
|
|
|
4776
4776
|
text: e,
|
|
4777
4777
|
formulas: [`ISERROR(SEARCH(${gl(e)},${t}))`]
|
|
4778
4778
|
} : {
|
|
4779
|
-
type:
|
|
4779
|
+
type: Tl,
|
|
4780
4780
|
text: e,
|
|
4781
4781
|
formulas: [`NOT(ISERROR(SEARCH(${gl(e)},${t})))`]
|
|
4782
4782
|
};
|
|
@@ -4810,7 +4810,7 @@ function Wl(e, t, r) {
|
|
|
4810
4810
|
type: Ol,
|
|
4811
4811
|
formulas: [`NOT(ISERROR(${t}))`]
|
|
4812
4812
|
} : {
|
|
4813
|
-
type:
|
|
4813
|
+
type: Al,
|
|
4814
4814
|
formulas: [`ISERROR(${t})`]
|
|
4815
4815
|
};
|
|
4816
4816
|
case Dl.Unique: return { type: n ? bl : Nl };
|
|
@@ -4834,18 +4834,18 @@ function Wl(e, t, r) {
|
|
|
4834
4834
|
}
|
|
4835
4835
|
case Dl.Average: {
|
|
4836
4836
|
if (n) break;
|
|
4837
|
-
const e = s ?? {}, t = e.type ??
|
|
4837
|
+
const e = s ?? {}, t = e.type ?? I.AverageType.Above;
|
|
4838
4838
|
return {
|
|
4839
4839
|
type: El,
|
|
4840
|
-
aboveAverage: t ===
|
|
4841
|
-
equalAverage: t ===
|
|
4840
|
+
aboveAverage: t === I.AverageType.Above || t === I.AverageType.AboveOrEqual,
|
|
4841
|
+
equalAverage: t === I.AverageType.AboveOrEqual || t === I.AverageType.BelowOrEqual,
|
|
4842
4842
|
stdDev: e.stdDevs
|
|
4843
4843
|
};
|
|
4844
4844
|
}
|
|
4845
4845
|
}
|
|
4846
4846
|
return r?.(`Conditional format operator '${n ? `not(${a})` : a}' has no OOXML form.`), null;
|
|
4847
4847
|
}
|
|
4848
|
-
var Vl = "custom", Hl = "date", Gl = "decimal", jl = "list", Xl = "textLength", Yl = "time", ql = "whole", Kl =
|
|
4848
|
+
var Vl = "custom", Hl = "date", Gl = "decimal", jl = "list", Xl = "textLength", Yl = "time", ql = "whole", Kl = I.BuiltInOperatorNames, Zl = I.BuiltInSelectorNames, Ql = {
|
|
4849
4849
|
[ql]: Zl.Whole,
|
|
4850
4850
|
[Gl]: Zl.Number,
|
|
4851
4851
|
[Hl]: Zl.Date,
|
|
@@ -4941,7 +4941,7 @@ function oc(e, t) {
|
|
|
4941
4941
|
operator: Kl.InSet,
|
|
4942
4942
|
param: {}
|
|
4943
4943
|
};
|
|
4944
|
-
const r = String(t), n =
|
|
4944
|
+
const r = String(t), n = S.parseListLiteral(r);
|
|
4945
4945
|
return {
|
|
4946
4946
|
operator: Kl.InSet,
|
|
4947
4947
|
param: n ? { additions: n } : { source: r }
|
|
@@ -5079,7 +5079,7 @@ var ic = [
|
|
|
5079
5079
|
]), uc = (e) => "1" === e || "true" === e;
|
|
5080
5080
|
function pc(e) {
|
|
5081
5081
|
const t = {}, r = e.type;
|
|
5082
|
-
"column" === r ? t.type =
|
|
5082
|
+
"column" === r ? t.type = y.Type.Column : "stacked" === r && (t.type = y.Type.WinLoss);
|
|
5083
5083
|
const n = void 0 !== e.lineWeight ? parseFloat(e.lineWeight) : NaN;
|
|
5084
5084
|
Number.isFinite(n) && .75 !== n && (t.lineWeight = n);
|
|
5085
5085
|
const o = e.displayEmptyCellsAs;
|
|
@@ -5099,7 +5099,7 @@ function pc(e) {
|
|
|
5099
5099
|
}
|
|
5100
5100
|
function dc(e) {
|
|
5101
5101
|
const t = {};
|
|
5102
|
-
void 0 !== e.manualMax && (t.manualMax = e.manualMax), void 0 !== e.manualMin && (t.manualMin = e.manualMin), void 0 !== e.lineWeight && .75 !== e.lineWeight && (t.lineWeight = e.lineWeight), e.type ===
|
|
5102
|
+
void 0 !== e.manualMax && (t.manualMax = e.manualMax), void 0 !== e.manualMin && (t.manualMin = e.manualMin), void 0 !== e.lineWeight && .75 !== e.lineWeight && (t.lineWeight = e.lineWeight), e.type === y.Type.Column ? t.type = "column" : e.type === y.Type.WinLoss && (t.type = "stacked"), e.dateAxis && (t.dateAxis = 1), e.displayEmptyCellsAs && e.displayEmptyCellsAs !== y.EmptyCellsAs.Zero && (t.displayEmptyCellsAs = e.displayEmptyCellsAs);
|
|
5103
5103
|
for (const r of [
|
|
5104
5104
|
"markers",
|
|
5105
5105
|
"high",
|
|
@@ -5112,7 +5112,7 @@ function dc(e) {
|
|
|
5112
5112
|
]) e[r] && (t[r] = 1);
|
|
5113
5113
|
for (const r of ["minAxisType", "maxAxisType"]) {
|
|
5114
5114
|
const n = e[r];
|
|
5115
|
-
n && n !==
|
|
5115
|
+
n && n !== y.AxisType.Individual && (t[r] = n);
|
|
5116
5116
|
}
|
|
5117
5117
|
e.rightToLeft && (t.rightToLeft = 1);
|
|
5118
5118
|
const r = e.rest;
|
|
@@ -5122,7 +5122,7 @@ function dc(e) {
|
|
|
5122
5122
|
function fc(e, t) {
|
|
5123
5123
|
if (0 === t.length) return null;
|
|
5124
5124
|
const r = new Array(t.length), n = new Array(t.length);
|
|
5125
|
-
for (let e = 0; e < t.length; e++) r[e] =
|
|
5125
|
+
for (let e = 0; e < t.length; e++) r[e] = A.cellToString(t[e].location), n[e] = t[e].data;
|
|
5126
5126
|
return {
|
|
5127
5127
|
r: r.join(","),
|
|
5128
5128
|
v: {
|
|
@@ -5134,17 +5134,17 @@ function fc(e, t) {
|
|
|
5134
5134
|
var mc = /^\$?[A-Za-z]{1,3}\$?\d+(?::\$?[A-Za-z]{1,3}\$?\d+)?$/, hc = /^(?:.+!)?\$?[A-Za-z]{1,3}\$?\d+(?::\$?[A-Za-z]{1,3}\$?\d+)?$/;
|
|
5135
5135
|
function gc(e, t) {
|
|
5136
5136
|
const r = e.startsWith("=") ? e.substring(1) : e;
|
|
5137
|
-
return mc.test(r) || "#REF!" === r ? `${
|
|
5137
|
+
return mc.test(r) || "#REF!" === r ? `${A.sheetNameToString(t)}!${r}` : r;
|
|
5138
5138
|
}
|
|
5139
5139
|
function Ec(e, t) {
|
|
5140
|
-
const r = e.getRanges().getCoords(), n =
|
|
5140
|
+
const r = e.getRanges().getCoords(), n = A.splitAddressList(e.toJSON().data), o = e.getSparklines(), a = new Array(o.length);
|
|
5141
5141
|
let s = 0;
|
|
5142
5142
|
for (let e = 0; e < r.length; e++) {
|
|
5143
5143
|
const i = r[e], l = (i.rowEnd - i.rowStart + 1) * (i.colEnd - i.colStart + 1);
|
|
5144
5144
|
for (let r = 0; r < l; r++, s++) {
|
|
5145
5145
|
const r = o[s], i = r.getRange().getCoords(), c = 1 === l ? null : r.getDataRange();
|
|
5146
5146
|
a[s] = {
|
|
5147
|
-
sqref:
|
|
5147
|
+
sqref: A.cellToString({
|
|
5148
5148
|
rowIndex: i.rowStart,
|
|
5149
5149
|
colIndex: i.colStart
|
|
5150
5150
|
}),
|
|
@@ -5162,68 +5162,68 @@ var wc = (e) => {
|
|
|
5162
5162
|
write: (e) => void 0 === e ? void 0 : t[e] ?? e
|
|
5163
5163
|
};
|
|
5164
5164
|
}, yc = Object.freeze({
|
|
5165
|
-
sp:
|
|
5166
|
-
cxnSp:
|
|
5165
|
+
sp: l.Type.Shape,
|
|
5166
|
+
cxnSp: l.Type.Connector
|
|
5167
5167
|
}), Sc = wc({
|
|
5168
|
-
l:
|
|
5169
|
-
ctr:
|
|
5170
|
-
r:
|
|
5171
|
-
just:
|
|
5172
|
-
justLow:
|
|
5173
|
-
dist:
|
|
5174
|
-
thaiDist:
|
|
5175
|
-
}), Tc = wc({
|
|
5176
|
-
auto: E.FontAlignment.Auto,
|
|
5177
|
-
t: E.FontAlignment.Top,
|
|
5178
|
-
ctr: E.FontAlignment.Center,
|
|
5179
|
-
base: E.FontAlignment.Baseline,
|
|
5180
|
-
b: E.FontAlignment.Bottom
|
|
5168
|
+
l: x.ParagraphAlignment.Left,
|
|
5169
|
+
ctr: x.ParagraphAlignment.Center,
|
|
5170
|
+
r: x.ParagraphAlignment.Right,
|
|
5171
|
+
just: x.ParagraphAlignment.Justify,
|
|
5172
|
+
justLow: x.ParagraphAlignment.JustifyLow,
|
|
5173
|
+
dist: x.ParagraphAlignment.Distributed,
|
|
5174
|
+
thaiDist: x.ParagraphAlignment.ThaiDistributed
|
|
5181
5175
|
}), Ac = wc({
|
|
5182
|
-
|
|
5183
|
-
|
|
5184
|
-
|
|
5185
|
-
|
|
5186
|
-
|
|
5176
|
+
auto: x.FontAlignment.Auto,
|
|
5177
|
+
t: x.FontAlignment.Top,
|
|
5178
|
+
ctr: x.FontAlignment.Center,
|
|
5179
|
+
base: x.FontAlignment.Baseline,
|
|
5180
|
+
b: x.FontAlignment.Bottom
|
|
5181
|
+
}), Tc = wc({
|
|
5182
|
+
t: i.VerticalAlignment.Top,
|
|
5183
|
+
ctr: i.VerticalAlignment.Center,
|
|
5184
|
+
b: i.VerticalAlignment.Bottom,
|
|
5185
|
+
just: i.VerticalAlignment.Justify,
|
|
5186
|
+
dist: i.VerticalAlignment.Distributed
|
|
5187
5187
|
}), bc = wc({
|
|
5188
|
-
none:
|
|
5189
|
-
words:
|
|
5190
|
-
sng:
|
|
5191
|
-
dbl:
|
|
5192
|
-
heavy:
|
|
5193
|
-
dotted:
|
|
5194
|
-
dottedHeavy:
|
|
5195
|
-
dash:
|
|
5196
|
-
dashHeavy:
|
|
5197
|
-
dashLong:
|
|
5198
|
-
dashLongHeavy:
|
|
5199
|
-
dotDash:
|
|
5200
|
-
dotDashHeavy:
|
|
5201
|
-
dotDotDash:
|
|
5202
|
-
dotDotDashHeavy:
|
|
5203
|
-
wavy:
|
|
5204
|
-
wavyHeavy:
|
|
5205
|
-
wavyDbl:
|
|
5188
|
+
none: n.UnderlineStyle.None,
|
|
5189
|
+
words: n.UnderlineStyle.Words,
|
|
5190
|
+
sng: n.UnderlineStyle.Single,
|
|
5191
|
+
dbl: n.UnderlineStyle.Double,
|
|
5192
|
+
heavy: n.UnderlineStyle.Heavy,
|
|
5193
|
+
dotted: n.UnderlineStyle.Dotted,
|
|
5194
|
+
dottedHeavy: n.UnderlineStyle.DottedHeavy,
|
|
5195
|
+
dash: n.UnderlineStyle.Dash,
|
|
5196
|
+
dashHeavy: n.UnderlineStyle.DashHeavy,
|
|
5197
|
+
dashLong: n.UnderlineStyle.DashLong,
|
|
5198
|
+
dashLongHeavy: n.UnderlineStyle.DashLongHeavy,
|
|
5199
|
+
dotDash: n.UnderlineStyle.DotDash,
|
|
5200
|
+
dotDashHeavy: n.UnderlineStyle.DotDashHeavy,
|
|
5201
|
+
dotDotDash: n.UnderlineStyle.DotDotDash,
|
|
5202
|
+
dotDotDashHeavy: n.UnderlineStyle.DotDotDashHeavy,
|
|
5203
|
+
wavy: n.UnderlineStyle.Wavy,
|
|
5204
|
+
wavyHeavy: n.UnderlineStyle.WavyHeavy,
|
|
5205
|
+
wavyDbl: n.UnderlineStyle.WavyDouble
|
|
5206
5206
|
}), vc = wc({
|
|
5207
|
-
noStrike:
|
|
5208
|
-
sngStrike:
|
|
5209
|
-
dblStrike:
|
|
5207
|
+
noStrike: n.StrikeStyle.None,
|
|
5208
|
+
sngStrike: n.StrikeStyle.Single,
|
|
5209
|
+
dblStrike: n.StrikeStyle.Double
|
|
5210
5210
|
}), xc = wc({
|
|
5211
|
-
horz:
|
|
5212
|
-
vert:
|
|
5213
|
-
vert270:
|
|
5214
|
-
wordArtVert:
|
|
5215
|
-
eaVert:
|
|
5216
|
-
mongolianVert:
|
|
5217
|
-
wordArtVertRtl:
|
|
5211
|
+
horz: i.WritingMode.Horizontal,
|
|
5212
|
+
vert: i.WritingMode.Vertical,
|
|
5213
|
+
vert270: i.WritingMode.Vertical270,
|
|
5214
|
+
wordArtVert: i.WritingMode.WordArtVertical,
|
|
5215
|
+
eaVert: i.WritingMode.EastAsianVertical,
|
|
5216
|
+
mongolianVert: i.WritingMode.MongolianVertical,
|
|
5217
|
+
wordArtVertRtl: i.WritingMode.WordArtVerticalRtl
|
|
5218
5218
|
}), Ic = wc({
|
|
5219
|
-
overflow:
|
|
5220
|
-
ellipsis:
|
|
5221
|
-
clip:
|
|
5219
|
+
overflow: i.Overflow.Visible,
|
|
5220
|
+
ellipsis: i.Overflow.Ellipsis,
|
|
5221
|
+
clip: i.Overflow.Clip
|
|
5222
5222
|
}), Oc = wc({
|
|
5223
|
-
l:
|
|
5224
|
-
ctr:
|
|
5225
|
-
r:
|
|
5226
|
-
dec:
|
|
5223
|
+
l: i.TabStopAlignment.Left,
|
|
5224
|
+
ctr: i.TabStopAlignment.Center,
|
|
5225
|
+
r: i.TabStopAlignment.Right,
|
|
5226
|
+
dec: i.TabStopAlignment.Decimal
|
|
5227
5227
|
}), Rc = (e) => void 0 === e ? void 0 : String(e > 127 ? e - 256 : e), Cc = sr({
|
|
5228
5228
|
isBlank: () => Pc,
|
|
5229
5229
|
isNotBlank: () => Mc,
|
|
@@ -5235,7 +5235,7 @@ var wc = (e) => {
|
|
|
5235
5235
|
parseValAttrAsString: () => Nc
|
|
5236
5236
|
}), Lc = (t, r) => {
|
|
5237
5237
|
if (!t || !t.hasAttribute("rot")) return;
|
|
5238
|
-
const n = t.getAttribute("rot"), o = e.roundAccurately(
|
|
5238
|
+
const n = t.getAttribute("rot"), o = e.roundAccurately(Ti(n), 2);
|
|
5239
5239
|
-1e3 !== o && (r.rotation = o);
|
|
5240
5240
|
}, Nc = (e, t, r, n, o) => {
|
|
5241
5241
|
const a = e.getValAttrAsString(n, t);
|
|
@@ -5304,7 +5304,7 @@ var wc = (e) => {
|
|
|
5304
5304
|
const e = [];
|
|
5305
5305
|
for (let r = 0; r < t.length; r++) {
|
|
5306
5306
|
const n = t.item(r);
|
|
5307
|
-
e.push(
|
|
5307
|
+
e.push(Ai(n.getAttribute("d") ?? "")), e.push(Ai(n.getAttribute("sp") ?? ""));
|
|
5308
5308
|
}
|
|
5309
5309
|
r.dash = e;
|
|
5310
5310
|
}
|
|
@@ -5337,42 +5337,42 @@ var wc = (e) => {
|
|
|
5337
5337
|
switch (r) {
|
|
5338
5338
|
case "outerShdw": {
|
|
5339
5339
|
const r = {
|
|
5340
|
-
type:
|
|
5340
|
+
type: u.Type.OuterShadow,
|
|
5341
5341
|
color: this.processAdjColor(e, t)
|
|
5342
5342
|
};
|
|
5343
|
-
t.hasAttribute("dist") && (r.distance = wi(t.getAttribute("dist"))), t.hasAttribute("dir") && (r.angle =
|
|
5343
|
+
t.hasAttribute("dist") && (r.distance = wi(t.getAttribute("dist"))), t.hasAttribute("dir") && (r.angle = Ti(t.getAttribute("dir"))), t.hasAttribute("blurRad") && (r.blur = wi(t.getAttribute("blurRad")));
|
|
5344
5344
|
const n = Jc(t.getAttribute("algn"));
|
|
5345
|
-
return n && (r.alignment = n), t.hasAttribute("rotWithShape") && (r.isRotatedWithShape = bi(t.getAttribute("rotWithShape"))), t.hasAttribute("sx") && (r.scaleX =
|
|
5345
|
+
return n && (r.alignment = n), t.hasAttribute("rotWithShape") && (r.isRotatedWithShape = bi(t.getAttribute("rotWithShape"))), t.hasAttribute("sx") && (r.scaleX = Ai(t.getAttribute("sx"))), t.hasAttribute("sy") && (r.scaleY = Ai(t.getAttribute("sy"))), t.hasAttribute("kx") && (r.skewX = Ti(t.getAttribute("kx"))), t.hasAttribute("ky") && (r.skewY = Ti(t.getAttribute("ky"))), r;
|
|
5346
5346
|
}
|
|
5347
5347
|
case "innerShdw": {
|
|
5348
5348
|
const r = {
|
|
5349
|
-
type:
|
|
5349
|
+
type: u.Type.InnerShadow,
|
|
5350
5350
|
color: this.processAdjColor(e, t)
|
|
5351
5351
|
};
|
|
5352
|
-
return t.hasAttribute("dist") && (r.distance = wi(t.getAttribute("dist"))), t.hasAttribute("dir") && (r.angle =
|
|
5352
|
+
return t.hasAttribute("dist") && (r.distance = wi(t.getAttribute("dist"))), t.hasAttribute("dir") && (r.angle = Ti(t.getAttribute("dir"))), t.hasAttribute("blurRad") && (r.blur = wi(t.getAttribute("blurRad"))), r;
|
|
5353
5353
|
}
|
|
5354
5354
|
case "prstShdw": {
|
|
5355
5355
|
const r = {
|
|
5356
|
-
type:
|
|
5356
|
+
type: u.Type.PresetShadow,
|
|
5357
5357
|
color: this.processAdjColor(e, t),
|
|
5358
5358
|
preset: t.getAttribute("prst") ?? void 0
|
|
5359
5359
|
};
|
|
5360
|
-
return t.hasAttribute("dist") && (r.distance = wi(t.getAttribute("dist"))), t.hasAttribute("dir") && (r.angle =
|
|
5360
|
+
return t.hasAttribute("dist") && (r.distance = wi(t.getAttribute("dist"))), t.hasAttribute("dir") && (r.angle = Ti(t.getAttribute("dir"))), r;
|
|
5361
5361
|
}
|
|
5362
5362
|
case "glow": {
|
|
5363
5363
|
const r = {
|
|
5364
|
-
type:
|
|
5364
|
+
type: u.Type.Glow,
|
|
5365
5365
|
color: this.processAdjColor(e, t)
|
|
5366
5366
|
};
|
|
5367
5367
|
return t.hasAttribute("rad") && (r.radius = wi(t.getAttribute("rad"))), r;
|
|
5368
5368
|
}
|
|
5369
5369
|
case "softEdge": {
|
|
5370
|
-
const e = { type:
|
|
5370
|
+
const e = { type: u.Type.SoftEdge };
|
|
5371
5371
|
return t.hasAttribute("rad") && (e.radius = wi(t.getAttribute("rad"))), e;
|
|
5372
5372
|
}
|
|
5373
5373
|
case "reflection": {
|
|
5374
|
-
const e = { type:
|
|
5375
|
-
t.hasAttribute("blurRad") && (e.blur = wi(t.getAttribute("blurRad"))), t.hasAttribute("dist") && (e.distance = wi(t.getAttribute("dist"))), t.hasAttribute("dir") && (e.angle =
|
|
5374
|
+
const e = { type: u.Type.Reflection };
|
|
5375
|
+
t.hasAttribute("blurRad") && (e.blur = wi(t.getAttribute("blurRad"))), t.hasAttribute("dist") && (e.distance = wi(t.getAttribute("dist"))), t.hasAttribute("dir") && (e.angle = Ti(t.getAttribute("dir"))), t.hasAttribute("fadeDir") && (e.fadeAngle = Ti(t.getAttribute("fadeDir"))), t.hasAttribute("stA") && (e.startAlpha = Ai(t.getAttribute("stA"))), t.hasAttribute("stPos") && (e.startPosition = Ai(t.getAttribute("stPos"))), t.hasAttribute("endA") && (e.endAlpha = Ai(t.getAttribute("endA"))), t.hasAttribute("endPos") && (e.endPosition = Ai(t.getAttribute("endPos"))), t.hasAttribute("sx") && (e.scaleX = Ai(t.getAttribute("sx"))), t.hasAttribute("sy") && (e.scaleY = Ai(t.getAttribute("sy"))), t.hasAttribute("kx") && (e.skewX = Ti(t.getAttribute("kx"))), t.hasAttribute("ky") && (e.skewY = Ti(t.getAttribute("ky")));
|
|
5376
5376
|
const r = Jc(t.getAttribute("algn"));
|
|
5377
5377
|
return r && (e.alignment = r), t.hasAttribute("rotWithShape") && (e.isRotatedWithShape = bi(t.getAttribute("rotWithShape"))), e;
|
|
5378
5378
|
}
|
|
@@ -5380,52 +5380,52 @@ var wc = (e) => {
|
|
|
5380
5380
|
}
|
|
5381
5381
|
}
|
|
5382
5382
|
getFill(e, t) {
|
|
5383
|
-
if (e.evaluate("noFill", t)) return { type:
|
|
5383
|
+
if (e.evaluate("noFill", t)) return { type: c.Type.None };
|
|
5384
5384
|
const r = e.evaluate("solidFill", t);
|
|
5385
5385
|
if (r) {
|
|
5386
5386
|
const t = this.processAdjColor(e, r);
|
|
5387
5387
|
if (t) return {
|
|
5388
|
-
type:
|
|
5388
|
+
type: c.Type.Solid,
|
|
5389
5389
|
color: t
|
|
5390
5390
|
};
|
|
5391
5391
|
}
|
|
5392
|
-
const
|
|
5393
|
-
if (
|
|
5394
|
-
const
|
|
5395
|
-
if (
|
|
5396
|
-
const
|
|
5397
|
-
return
|
|
5392
|
+
const n = e.evaluate("gradFill", t);
|
|
5393
|
+
if (n) return this.processGradFill(e, n);
|
|
5394
|
+
const o = e.evaluate("pattFill", t);
|
|
5395
|
+
if (o) return this.processPatternFill(e, o);
|
|
5396
|
+
const a = e.evaluate("blipFill", t);
|
|
5397
|
+
return a ? this.processImageFill(e, a) : e.evaluate("grpFill", t) ? { type: c.Type.Group } : null;
|
|
5398
5398
|
}
|
|
5399
5399
|
processGradFill(e, t) {
|
|
5400
|
-
const r = { type:
|
|
5400
|
+
const r = { type: c.Type.Gradient };
|
|
5401
5401
|
t.hasAttribute("rotWithShape") && (r.isRotatedWithShape = "1" === t.getAttribute("rotWithShape"));
|
|
5402
|
-
const
|
|
5403
|
-
|
|
5404
|
-
const
|
|
5405
|
-
|
|
5406
|
-
const
|
|
5407
|
-
if (
|
|
5408
|
-
|
|
5409
|
-
const t = e.evaluate("fillToRect",
|
|
5402
|
+
const n = e.evaluate("lin", t);
|
|
5403
|
+
n && (r.gradientType = c.GradientType.Linear, n.hasAttribute("ang") && (r.angle = (Ti(n.getAttribute("ang")) + 90) % 360), n.hasAttribute("scaled") && (r.scaled = bi(n.getAttribute("scaled"))));
|
|
5404
|
+
const o = _c(t.getAttribute("flip"));
|
|
5405
|
+
o && (r.flip = o);
|
|
5406
|
+
const a = e.evaluate("path", t);
|
|
5407
|
+
if (a) {
|
|
5408
|
+
a.hasAttribute("path") && (r.gradientType = Kc(a.getAttribute("path")));
|
|
5409
|
+
const t = e.evaluate("fillToRect", a);
|
|
5410
5410
|
if (t) {
|
|
5411
5411
|
const e = this.getFocus(t);
|
|
5412
5412
|
e && (r.focus = e);
|
|
5413
5413
|
}
|
|
5414
5414
|
}
|
|
5415
|
-
const
|
|
5416
|
-
|
|
5417
|
-
const
|
|
5415
|
+
const s = e.evaluate("tileRect", t);
|
|
5416
|
+
s && (r.tileRect = this.getRectInsets(s));
|
|
5417
|
+
const i = [], l = e.evaluate("gsLst/gs", t), u = l ? l.length : 0;
|
|
5418
5418
|
for (let t = 0; t < u; t++) {
|
|
5419
|
-
const r =
|
|
5420
|
-
offset:
|
|
5419
|
+
const r = l.item(t), n = {
|
|
5420
|
+
offset: Ai(r.getAttribute("pos") ?? "") / 100,
|
|
5421
5421
|
color: this.processAdjColor(e, r)
|
|
5422
5422
|
};
|
|
5423
|
-
|
|
5423
|
+
i.push(n);
|
|
5424
5424
|
}
|
|
5425
|
-
return
|
|
5425
|
+
return i.length > 0 && (r.stops = i), r;
|
|
5426
5426
|
}
|
|
5427
5427
|
getFocus(e) {
|
|
5428
|
-
const t = (t) => e.hasAttribute(t) ?
|
|
5428
|
+
const t = (t) => e.hasAttribute(t) ? Ai(e.getAttribute(t)) / 100 : 0;
|
|
5429
5429
|
return [
|
|
5430
5430
|
"l",
|
|
5431
5431
|
"t",
|
|
@@ -5439,17 +5439,17 @@ var wc = (e) => {
|
|
|
5439
5439
|
} : null;
|
|
5440
5440
|
}
|
|
5441
5441
|
processImageFill(e, t) {
|
|
5442
|
-
const r = { type:
|
|
5442
|
+
const r = { type: c.Type.Image };
|
|
5443
5443
|
if (t.hasAttribute("rotWithShape") && (r.isRotatedWithShape = bi(t.getAttribute("rotWithShape"))), t.hasAttribute("dpi")) {
|
|
5444
5444
|
const e = parseFloat(t.getAttribute("dpi"));
|
|
5445
5445
|
isNaN(e) || (r.dpi = e);
|
|
5446
5446
|
}
|
|
5447
|
-
const
|
|
5448
|
-
if (
|
|
5449
|
-
const t =
|
|
5450
|
-
"number" == typeof
|
|
5447
|
+
const n = e.evaluate("blip", t);
|
|
5448
|
+
if (n) {
|
|
5449
|
+
const t = n.getAttribute("r:embed") ?? n.getAttribute("embed") ?? n.getAttribute("r:link") ?? n.getAttribute("link"), o = t ? e.getRef(t, !0) : null;
|
|
5450
|
+
"number" == typeof o ? r.resId = o : e.warn("An image fill names no image; the shape is filled with nothing.", { onceKey: "xlsx.drawing.imageFill.noRel" }), n.hasAttribute("cstate") && (r.compressionState = n.getAttribute("cstate"));
|
|
5451
5451
|
let a = "";
|
|
5452
|
-
const s =
|
|
5452
|
+
const s = n.childNodes;
|
|
5453
5453
|
for (let t = 0; t < s.length; t++) {
|
|
5454
5454
|
const n = s.item(t);
|
|
5455
5455
|
if (1 === n.nodeType) if ("extLst" === n.localName) {
|
|
@@ -5459,20 +5459,20 @@ var wc = (e) => {
|
|
|
5459
5459
|
}
|
|
5460
5460
|
a && (r.imageEffects = a);
|
|
5461
5461
|
}
|
|
5462
|
-
const
|
|
5463
|
-
|
|
5464
|
-
const
|
|
5465
|
-
if (
|
|
5466
|
-
const t = e.evaluate("fillRect",
|
|
5462
|
+
const o = e.evaluate("srcRect", t);
|
|
5463
|
+
o && (r.sourceRect = this.getRectInsets(o));
|
|
5464
|
+
const a = e.evaluate("stretch", t);
|
|
5465
|
+
if (a) {
|
|
5466
|
+
const t = e.evaluate("fillRect", a);
|
|
5467
5467
|
r.stretch = t ? this.getRectInsets(t) : {};
|
|
5468
5468
|
}
|
|
5469
|
-
const
|
|
5470
|
-
if (
|
|
5469
|
+
const s = e.evaluate("tile", t);
|
|
5470
|
+
if (s) {
|
|
5471
5471
|
const e = {};
|
|
5472
|
-
|
|
5473
|
-
const t = _c(
|
|
5472
|
+
s.hasAttribute("tx") && (e.offsetX = yi(s.getAttribute("tx")) ?? 0), s.hasAttribute("ty") && (e.offsetY = yi(s.getAttribute("ty")) ?? 0), s.hasAttribute("sx") && (e.scaleX = Ai(s.getAttribute("sx"))), s.hasAttribute("sy") && (e.scaleY = Ai(s.getAttribute("sy")));
|
|
5473
|
+
const t = _c(s.getAttribute("flip"));
|
|
5474
5474
|
t && (e.flip = t);
|
|
5475
|
-
const n = Jc(
|
|
5475
|
+
const n = Jc(s.getAttribute("algn"));
|
|
5476
5476
|
n && (e.alignment = n), r.tile = e;
|
|
5477
5477
|
}
|
|
5478
5478
|
return r;
|
|
@@ -5484,20 +5484,20 @@ var wc = (e) => {
|
|
|
5484
5484
|
["t", "top"],
|
|
5485
5485
|
["r", "right"],
|
|
5486
5486
|
["b", "bottom"]
|
|
5487
|
-
]) e.hasAttribute(r) && (t[n] =
|
|
5487
|
+
]) e.hasAttribute(r) && (t[n] = Ai(e.getAttribute(r)));
|
|
5488
5488
|
return t;
|
|
5489
5489
|
}
|
|
5490
5490
|
processPatternFill(e, t) {
|
|
5491
|
-
const r = { type:
|
|
5491
|
+
const r = { type: c.Type.Pattern };
|
|
5492
5492
|
r.patternType = t.getAttribute("prst");
|
|
5493
|
-
const
|
|
5494
|
-
if (
|
|
5495
|
-
const t = this.processAdjColor(e,
|
|
5493
|
+
const n = e.evaluate("bgClr", t);
|
|
5494
|
+
if (n) {
|
|
5495
|
+
const t = this.processAdjColor(e, n);
|
|
5496
5496
|
t && (r.background = t);
|
|
5497
5497
|
}
|
|
5498
|
-
const
|
|
5499
|
-
if (
|
|
5500
|
-
let t = this.processAdjColor(e,
|
|
5498
|
+
const o = e.evaluate("fgClr", t);
|
|
5499
|
+
if (o) {
|
|
5500
|
+
let t = this.processAdjColor(e, o);
|
|
5501
5501
|
t && (r.foreground = t);
|
|
5502
5502
|
}
|
|
5503
5503
|
return r;
|
|
@@ -5521,7 +5521,7 @@ var wc = (e) => {
|
|
|
5521
5521
|
return i ? this.processSrgbClrElement(e, i) : null;
|
|
5522
5522
|
}
|
|
5523
5523
|
processScrgbClrElement(e, t) {
|
|
5524
|
-
let r = "lrgb(" +
|
|
5524
|
+
let r = "lrgb(" + Ai(t.getAttribute("r") ?? "") + "," + Ai(t.getAttribute("g") ?? "") + "," + Ai(t.getAttribute("b") ?? "") + ")";
|
|
5525
5525
|
return r += this.processAdjustments(e, t), r;
|
|
5526
5526
|
}
|
|
5527
5527
|
processSrgbClrElement(e, t) {
|
|
@@ -5529,7 +5529,7 @@ var wc = (e) => {
|
|
|
5529
5529
|
return r += this.processAdjustments(e, t), r;
|
|
5530
5530
|
}
|
|
5531
5531
|
processHslClr(e, t) {
|
|
5532
|
-
let r = "hsl(" +
|
|
5532
|
+
let r = "hsl(" + Ti(t.getAttribute("hue") ?? "") + "," + Ai(t.getAttribute("sat") ?? "") + "," + Ai(t.getAttribute("lum") ?? "") + ")";
|
|
5533
5533
|
return r += this.processAdjustments(e, t), r;
|
|
5534
5534
|
}
|
|
5535
5535
|
processClrWithValAttribute(e, t) {
|
|
@@ -5554,12 +5554,12 @@ var wc = (e) => {
|
|
|
5554
5554
|
const o = t.getAttribute("val");
|
|
5555
5555
|
return o ? ` ${r} ${!o || parseFloat(o) / n}` : ` ${r}`;
|
|
5556
5556
|
}
|
|
5557
|
-
}, Kc = (e) => "circle" === e ?
|
|
5557
|
+
}, Kc = (e) => "circle" === e ? c.GradientType.Path : e, Zc = (e) => {
|
|
5558
5558
|
if ("rnd" === e) return "round";
|
|
5559
5559
|
if ("flat" === e) return "butt";
|
|
5560
5560
|
if ("sq" === e) return "square";
|
|
5561
5561
|
throw new Error("Invalid lineCap type: " + e);
|
|
5562
|
-
}, Qc = new Set(Object.values(C)), Jc = (e) => null !== e && Qc.has(e) ? e : void 0, $c = new Set(Object.values(
|
|
5562
|
+
}, Qc = new Set(Object.values(C)), Jc = (e) => null !== e && Qc.has(e) ? e : void 0, $c = new Set(Object.values(c.TileFlip)), _c = (e) => null !== e && $c.has(e) ? e : void 0, eu = /\/(?:\w+:)?(?:sp|cxnSp|pic)\/(?:\w+:)?spPr$/, tu = /\/(?:\w+:)?grpSp\//, ru = class extends qc {
|
|
5563
5563
|
visit(e, t, r) {
|
|
5564
5564
|
try {
|
|
5565
5565
|
const n = e.evaluate("xfrm", t);
|
|
@@ -5644,10 +5644,10 @@ var wc = (e) => {
|
|
|
5644
5644
|
["cs", "complexScriptFont"],
|
|
5645
5645
|
["sym", "symbolFont"]
|
|
5646
5646
|
], ou = (e) => {
|
|
5647
|
-
const t = {},
|
|
5648
|
-
|
|
5647
|
+
const t = {}, r = e.getAttribute("typeface");
|
|
5648
|
+
r && (r.startsWith("+mj") ? t.scheme = n.Scheme.Major : r.startsWith("+mn") ? t.scheme = n.Scheme.Minor : t.family = r);
|
|
5649
5649
|
const o = e.getAttribute("panose");
|
|
5650
|
-
o && (t.panose = o, t.fallbacks = [
|
|
5650
|
+
o && (t.panose = o, t.fallbacks = [n.getPanoseFallback(o)]), e.hasAttribute("pitchFamily") && (t.pitch = e.getAttribute("pitchFamily"));
|
|
5651
5651
|
const a = e.hasAttribute("charset") ? ((e) => {
|
|
5652
5652
|
const t = parseInt(e, 10);
|
|
5653
5653
|
return Number.isNaN(t) ? void 0 : (t % 256 + 256) % 256;
|
|
@@ -5690,30 +5690,30 @@ var wc = (e) => {
|
|
|
5690
5690
|
const c = e.evaluate("bodyPr", t);
|
|
5691
5691
|
c && Lc(c, r);
|
|
5692
5692
|
}
|
|
5693
|
-
parseTextProperties(e, t,
|
|
5693
|
+
parseTextProperties(e, t, r) {
|
|
5694
5694
|
if (!t) return;
|
|
5695
|
-
t.hasAttribute("sz") && (
|
|
5695
|
+
t.hasAttribute("sz") && (r.size = parseFloat(t.getAttribute("sz")) / 100), t.hasAttribute("b") && (r.weight = "1" === t.getAttribute("b") ? 700 : 400), t.hasAttribute("i") && (r.style = "1" === t.getAttribute("i") ? n.Style.Italic : n.Style.Normal), t.hasAttribute("u") && (r.underline = bc.read(t.getAttribute("u"))), t.hasAttribute("strike") && (r.strike = vc.read(t.getAttribute("strike"))), t.hasAttribute("lang") && (r.language = t.getAttribute("lang")), t.hasAttribute("altLang") && (r.alternateLanguage = t.getAttribute("altLang")), t.hasAttribute("kern") && (r.kerning = parseFloat(t.getAttribute("kern")) / 100), t.hasAttribute("spc") && (r.letterSpacing = parseFloat(t.getAttribute("spc")) / 100), t.hasAttribute("baseline") && (r.baseline = Ai(t.getAttribute("baseline"))), t.hasAttribute("cap") && (r.capitals = t.getAttribute("cap")), t.hasAttribute("normalizeH") && (r.normalizeHeight = bi(t.getAttribute("normalizeH")));
|
|
5696
5696
|
const o = this.getFill(e, t);
|
|
5697
|
-
o && Object.keys(o).length > 0 && (
|
|
5697
|
+
o && Object.keys(o).length > 0 && (r.color = o);
|
|
5698
5698
|
const a = e.evaluate("ln", t);
|
|
5699
5699
|
if (a) {
|
|
5700
5700
|
const t = this.parseLn(e, a);
|
|
5701
|
-
t && Object.keys(t).length > 0 && (
|
|
5701
|
+
t && Object.keys(t).length > 0 && (r.outline = t);
|
|
5702
5702
|
}
|
|
5703
5703
|
const s = this.getEffects(e, t);
|
|
5704
|
-
s && s.length > 0 && (
|
|
5704
|
+
s && s.length > 0 && (r.effects = s);
|
|
5705
5705
|
const i = e.evaluate("highlight", t);
|
|
5706
5706
|
if (i) {
|
|
5707
5707
|
const t = this.processAdjColor(e, i);
|
|
5708
|
-
t && (
|
|
5708
|
+
t && (r.highlight = t);
|
|
5709
5709
|
}
|
|
5710
5710
|
const l = e.evaluate("hlinkClick", t);
|
|
5711
|
-
l && (
|
|
5712
|
-
for (const [
|
|
5713
|
-
const a = e.evaluate(
|
|
5711
|
+
l && (r.hyperlink = this.readHyperlink(e, l));
|
|
5712
|
+
for (const [n, o] of nu) {
|
|
5713
|
+
const a = e.evaluate(n, t);
|
|
5714
5714
|
if (!a) continue;
|
|
5715
5715
|
const s = ou(a);
|
|
5716
|
-
s && (
|
|
5716
|
+
s && (r[o] = s);
|
|
5717
5717
|
}
|
|
5718
5718
|
}
|
|
5719
5719
|
readHyperlink(e, t) {
|
|
@@ -5739,10 +5739,10 @@ var wc = (e) => {
|
|
|
5739
5739
|
for (; n > r && "" === t[n - 1].trim();) n--;
|
|
5740
5740
|
return t.slice(r, n).join("\n");
|
|
5741
5741
|
}, du = {
|
|
5742
|
-
anchor:
|
|
5742
|
+
anchor: i.VerticalAlignment.Top,
|
|
5743
5743
|
anchorCenter: !1,
|
|
5744
5744
|
wrap: "square",
|
|
5745
|
-
vertical:
|
|
5745
|
+
vertical: i.WritingMode.Horizontal,
|
|
5746
5746
|
upright: !1,
|
|
5747
5747
|
rightToLeftColumns: !1,
|
|
5748
5748
|
columns: 1,
|
|
@@ -5751,10 +5751,10 @@ var wc = (e) => {
|
|
|
5751
5751
|
forceAntiAlias: !1,
|
|
5752
5752
|
compatibleLineSpacing: !1,
|
|
5753
5753
|
spaceFirstLastParagraph: !1,
|
|
5754
|
-
autoFit:
|
|
5754
|
+
autoFit: i.Autofit.None
|
|
5755
5755
|
}, fu = Object.freeze({
|
|
5756
|
-
verticalOverflow:
|
|
5757
|
-
horizontalOverflow:
|
|
5756
|
+
verticalOverflow: i.Overflow.Visible,
|
|
5757
|
+
horizontalOverflow: i.Overflow.Visible,
|
|
5758
5758
|
size: 18
|
|
5759
5759
|
}), mu = {
|
|
5760
5760
|
left: yi("91440") ?? 0,
|
|
@@ -5762,7 +5762,7 @@ var wc = (e) => {
|
|
|
5762
5762
|
right: yi("91440") ?? 0,
|
|
5763
5763
|
bottom: yi("45720") ?? 0
|
|
5764
5764
|
}, hu = {
|
|
5765
|
-
align:
|
|
5765
|
+
align: x.ParagraphAlignment.Left,
|
|
5766
5766
|
level: 0,
|
|
5767
5767
|
marginLeft: 0,
|
|
5768
5768
|
marginRight: 0,
|
|
@@ -5773,20 +5773,20 @@ var wc = (e) => {
|
|
|
5773
5773
|
hangingPunctuation: !0
|
|
5774
5774
|
}, gu = {
|
|
5775
5775
|
weight: 400,
|
|
5776
|
-
style:
|
|
5777
|
-
underline:
|
|
5778
|
-
strike:
|
|
5776
|
+
style: n.Style.Normal,
|
|
5777
|
+
underline: n.UnderlineStyle.None,
|
|
5778
|
+
strike: n.StrikeStyle.None,
|
|
5779
5779
|
kerning: 0,
|
|
5780
5780
|
letterSpacing: 0,
|
|
5781
5781
|
baseline: 0,
|
|
5782
|
-
capitals:
|
|
5782
|
+
capitals: x.SmallCaps.None,
|
|
5783
5783
|
normalizeHeight: !1
|
|
5784
5784
|
}, Eu = (e, t) => {
|
|
5785
5785
|
for (const r of Object.keys(t)) e[r] === t[r] && delete e[r];
|
|
5786
5786
|
}, wu = (e, t, r) => {
|
|
5787
|
-
if (void 0 !==
|
|
5787
|
+
if (void 0 !== s.inheritedTextSize(e, t)) return;
|
|
5788
5788
|
const n = r.size ?? fu.size;
|
|
5789
|
-
n ===
|
|
5789
|
+
n === s.TEXT_DEFAULTS.size ? delete r.size : r.size = n;
|
|
5790
5790
|
}, yu = class extends su {
|
|
5791
5791
|
visit(e, t, r) {
|
|
5792
5792
|
return t ? (r.text = this.readTextBody(e, t), r) : r;
|
|
@@ -5794,22 +5794,22 @@ var wc = (e) => {
|
|
|
5794
5794
|
readTextBody(e, t) {
|
|
5795
5795
|
const r = [];
|
|
5796
5796
|
for (const n of lu(t)) "p" === n.localName && r.push(this.readParagraph(e, n));
|
|
5797
|
-
const n = { paragraphs: r },
|
|
5798
|
-
if (
|
|
5799
|
-
Lc(
|
|
5800
|
-
const t =
|
|
5801
|
-
|
|
5797
|
+
const n = { paragraphs: r }, o = cu(t, "bodyPr");
|
|
5798
|
+
if (o) {
|
|
5799
|
+
Lc(o, n);
|
|
5800
|
+
const t = Tu(o), r = e ? cu(o, "extLst") : null, a = r ? e.serializeElement(r) : null;
|
|
5801
|
+
a && (t.extLst = a), Object.keys(t).length > 0 && (n.body = t);
|
|
5802
5802
|
}
|
|
5803
|
-
const
|
|
5804
|
-
if (
|
|
5805
|
-
const t = this.readListStyle(e,
|
|
5803
|
+
const a = cu(t, "lstStyle");
|
|
5804
|
+
if (a && e) {
|
|
5805
|
+
const t = this.readListStyle(e, a);
|
|
5806
5806
|
t && (n.listStyle = t);
|
|
5807
5807
|
}
|
|
5808
5808
|
return ((e) => {
|
|
5809
5809
|
0 === e.rotation && delete e.rotation;
|
|
5810
5810
|
for (const t of ["verticalOverflow", "horizontalOverflow"]) {
|
|
5811
5811
|
const r = e.body?.[t] ?? fu[t];
|
|
5812
|
-
r ===
|
|
5812
|
+
r === s.TEXT_DEFAULTS[t] ? e.body && delete e.body[t] : Object.assign(e.body ??= {}, { [t]: r });
|
|
5813
5813
|
}
|
|
5814
5814
|
for (const t of e.paragraphs) {
|
|
5815
5815
|
for (const r of t.runs) "\n" !== r.text && wu(e, t, r);
|
|
@@ -5862,7 +5862,7 @@ var wc = (e) => {
|
|
|
5862
5862
|
const o = t.getAttribute(e);
|
|
5863
5863
|
null !== o && (r[n] = yi(o) ?? 0);
|
|
5864
5864
|
};
|
|
5865
|
-
n("marL", "marginLeft"), n("marR", "marginRight"), n("indent", "indent"), n("defTabSz", "defaultTabSize"), t.hasAttribute("lvl") && (r.level = parseInt(t.getAttribute("lvl"), 10)), t.hasAttribute("algn") && (r.align = Sc.read(t.getAttribute("algn"))), t.hasAttribute("fontAlgn") && (r.fontAlign =
|
|
5865
|
+
n("marL", "marginLeft"), n("marR", "marginRight"), n("indent", "indent"), n("defTabSz", "defaultTabSize"), t.hasAttribute("lvl") && (r.level = parseInt(t.getAttribute("lvl"), 10)), t.hasAttribute("algn") && (r.align = Sc.read(t.getAttribute("algn"))), t.hasAttribute("fontAlgn") && (r.fontAlign = Ac.read(t.getAttribute("fontAlgn")));
|
|
5866
5866
|
const o = (e, n) => {
|
|
5867
5867
|
const o = t.getAttribute(e);
|
|
5868
5868
|
null !== o && (r[n] = bi(o));
|
|
@@ -5892,7 +5892,7 @@ var wc = (e) => {
|
|
|
5892
5892
|
s().sizeFollowsText = !0;
|
|
5893
5893
|
break;
|
|
5894
5894
|
case "buSzPct":
|
|
5895
|
-
s().size = { percent:
|
|
5895
|
+
s().size = { percent: Ai(n.getAttribute("val") ?? "0") };
|
|
5896
5896
|
break;
|
|
5897
5897
|
case "buSzPts":
|
|
5898
5898
|
s().size = { points: parseFloat(n.getAttribute("val") ?? "0") / 100 };
|
|
@@ -5956,10 +5956,10 @@ var wc = (e) => {
|
|
|
5956
5956
|
}
|
|
5957
5957
|
}, Su = (e) => {
|
|
5958
5958
|
const t = cu(e, "spcPct");
|
|
5959
|
-
if (t) return { percent:
|
|
5959
|
+
if (t) return { percent: Ai(t.getAttribute("val") ?? "0") };
|
|
5960
5960
|
const r = cu(e, "spcPts");
|
|
5961
5961
|
return r ? { points: parseFloat(r.getAttribute("val") ?? "0") / 100 } : void 0;
|
|
5962
|
-
},
|
|
5962
|
+
}, Au = (e) => {
|
|
5963
5963
|
const t = cu(e, "avLst");
|
|
5964
5964
|
if (!t) return;
|
|
5965
5965
|
let r;
|
|
@@ -5969,12 +5969,12 @@ var wc = (e) => {
|
|
|
5969
5969
|
t && n && ((r ??= {})[t] = Number(n[1]));
|
|
5970
5970
|
}
|
|
5971
5971
|
return r;
|
|
5972
|
-
},
|
|
5972
|
+
}, Tu = (e) => {
|
|
5973
5973
|
const t = {}, r = (t) => e.getAttribute(t), n = (e, n) => {
|
|
5974
5974
|
const o = r(e);
|
|
5975
5975
|
null !== o && (t[n] = bi(o));
|
|
5976
5976
|
};
|
|
5977
|
-
null !== r("anchor") && (t.anchor =
|
|
5977
|
+
null !== r("anchor") && (t.anchor = Tc.read(r("anchor"))), n("anchorCtr", "anchorCenter"), null !== r("wrap") && (t.wrap = r("wrap"));
|
|
5978
5978
|
const o = {};
|
|
5979
5979
|
for (const [e, t] of [
|
|
5980
5980
|
["lIns", "left"],
|
|
@@ -5988,63 +5988,63 @@ var wc = (e) => {
|
|
|
5988
5988
|
Object.keys(o).length > 0 && (t.insets = o), null !== r("vert") && (t.vertical = xc.read(r("vert"))), null !== r("vertOverflow") && (t.verticalOverflow = Ic.read(r("vertOverflow"))), null !== r("horzOverflow") && (t.horizontalOverflow = Ic.read(r("horzOverflow"))), n("upright", "upright"), n("rtlCol", "rightToLeftColumns"), null !== r("numCol") && (t.columns = parseInt(r("numCol"), 10)), null !== r("spcCol") && (t.columnSpacing = yi(r("spcCol")) ?? 0), n("fromWordArt", "fromWordArt"), n("forceAA", "forceAntiAlias"), n("compatLnSpc", "compatibleLineSpacing"), n("spcFirstLastPara", "spaceFirstLastParagraph");
|
|
5989
5989
|
for (const r of lu(e)) switch (r.localName) {
|
|
5990
5990
|
case "noAutofit":
|
|
5991
|
-
t.autoFit =
|
|
5991
|
+
t.autoFit = i.Autofit.None;
|
|
5992
5992
|
break;
|
|
5993
5993
|
case "spAutoFit":
|
|
5994
|
-
t.autoFit =
|
|
5994
|
+
t.autoFit = i.Autofit.Shape;
|
|
5995
5995
|
break;
|
|
5996
5996
|
case "normAutofit":
|
|
5997
|
-
t.autoFit =
|
|
5997
|
+
t.autoFit = i.Autofit.Normal, r.hasAttribute("fontScale") && (t.fontScale = Ai(r.getAttribute("fontScale"))), r.hasAttribute("lnSpcReduction") && (t.lineSpacingReduction = Ai(r.getAttribute("lnSpcReduction")));
|
|
5998
5998
|
break;
|
|
5999
5999
|
case "prstTxWarp": {
|
|
6000
|
-
const e = { preset: r.getAttribute("prst") ?? "textNoShape" }, n =
|
|
6000
|
+
const e = { preset: r.getAttribute("prst") ?? "textNoShape" }, n = Au(r);
|
|
6001
6001
|
n && (e.adjustments = n), t.warp = e;
|
|
6002
6002
|
break;
|
|
6003
6003
|
}
|
|
6004
6004
|
}
|
|
6005
6005
|
return t;
|
|
6006
6006
|
}, bu = "infoBackground [80]", vu = "none [81]", xu = /^(\s*<v:shape\b)((?:[^>"']|"[^"]*"|'[^']*')*)>/, Iu = /<v:fill\b((?:[^>"'/]|"[^"]*"|'[^']*')*)(\/?)>/, Ou = /<v:stroke\b((?:[^>"'/]|"[^"]*"|'[^']*')*)(\/?)>/, Ru = /([\w:.-]+)\s*=\s*(?:"([^"]*)"|'([^']*)')/g, Cu = /^(.*?)\s*\[(\d+)\]\s*$/, Lu = {
|
|
6007
|
-
solid:
|
|
6008
|
-
shortdash:
|
|
6009
|
-
shortdot:
|
|
6010
|
-
shortdashdot:
|
|
6011
|
-
shortdashdotdot:
|
|
6012
|
-
dot:
|
|
6013
|
-
dash:
|
|
6014
|
-
longdash:
|
|
6015
|
-
dashdot:
|
|
6016
|
-
longdashdot:
|
|
6017
|
-
longdashdotdot:
|
|
6007
|
+
solid: a.DashStyle.Solid,
|
|
6008
|
+
shortdash: a.DashStyle.SysDash,
|
|
6009
|
+
shortdot: a.DashStyle.SysDot,
|
|
6010
|
+
shortdashdot: a.DashStyle.SysDashDot,
|
|
6011
|
+
shortdashdotdot: a.DashStyle.SysDashDotDot,
|
|
6012
|
+
dot: a.DashStyle.Dot,
|
|
6013
|
+
dash: a.DashStyle.Dash,
|
|
6014
|
+
longdash: a.DashStyle.LongDash,
|
|
6015
|
+
dashdot: a.DashStyle.DashDot,
|
|
6016
|
+
longdashdot: a.DashStyle.LongDashDot,
|
|
6017
|
+
longdashdotdot: a.DashStyle.LongDashDotDot
|
|
6018
6018
|
}, Nu = {
|
|
6019
|
-
[
|
|
6020
|
-
[
|
|
6021
|
-
[
|
|
6022
|
-
[
|
|
6023
|
-
[
|
|
6024
|
-
[
|
|
6025
|
-
[
|
|
6026
|
-
[
|
|
6027
|
-
[
|
|
6028
|
-
[
|
|
6029
|
-
[
|
|
6019
|
+
[a.DashStyle.Solid]: null,
|
|
6020
|
+
[a.DashStyle.SysDash]: "shortdash",
|
|
6021
|
+
[a.DashStyle.SysDot]: "1 1",
|
|
6022
|
+
[a.DashStyle.SysDashDot]: "shortdashdot",
|
|
6023
|
+
[a.DashStyle.SysDashDotDot]: "shortdashdotdot",
|
|
6024
|
+
[a.DashStyle.Dot]: "dot",
|
|
6025
|
+
[a.DashStyle.Dash]: "dash",
|
|
6026
|
+
[a.DashStyle.LongDash]: "longDash",
|
|
6027
|
+
[a.DashStyle.DashDot]: "dashDot",
|
|
6028
|
+
[a.DashStyle.LongDashDot]: "longDashDot",
|
|
6029
|
+
[a.DashStyle.LongDashDotDot]: "longDashDotDot"
|
|
6030
6030
|
}, Du = {
|
|
6031
|
-
single:
|
|
6032
|
-
thinthin:
|
|
6033
|
-
thinthick:
|
|
6034
|
-
thickthin:
|
|
6035
|
-
thickbetweenthin:
|
|
6031
|
+
single: a.Compound.Single,
|
|
6032
|
+
thinthin: a.Compound.Double,
|
|
6033
|
+
thinthick: a.Compound.ThinThick,
|
|
6034
|
+
thickthin: a.Compound.ThickThin,
|
|
6035
|
+
thickbetweenthin: a.Compound.Triple
|
|
6036
6036
|
}, Fu = {
|
|
6037
|
-
[
|
|
6038
|
-
[
|
|
6039
|
-
[
|
|
6040
|
-
[
|
|
6041
|
-
[
|
|
6037
|
+
[a.Compound.Single]: null,
|
|
6038
|
+
[a.Compound.Double]: "thinThin",
|
|
6039
|
+
[a.Compound.ThinThick]: "thinThick",
|
|
6040
|
+
[a.Compound.ThickThin]: "thickThin",
|
|
6041
|
+
[a.Compound.Triple]: "thickBetweenThin"
|
|
6042
6042
|
}, ku = {
|
|
6043
6043
|
80: "infoBackground",
|
|
6044
6044
|
81: "infoText"
|
|
6045
6045
|
}, Pu = {
|
|
6046
|
-
[
|
|
6047
|
-
[
|
|
6046
|
+
[o.Named.InfoBk]: 80,
|
|
6047
|
+
[o.Named.InfoText]: 81
|
|
6048
6048
|
}, Mu = (e) => e.replace(/"/g, "\"").replace(/'/g, "'").replace(/</g, "<").replace(/>/g, ">").replace(/&/g, "&"), Uu = class {
|
|
6049
6049
|
constructor(e) {
|
|
6050
6050
|
let t;
|
|
@@ -6112,16 +6112,16 @@ var wc = (e) => {
|
|
|
6112
6112
|
const t = e.trim();
|
|
6113
6113
|
let r;
|
|
6114
6114
|
return r = t.endsWith("f") ? parseFloat(t) / 65536 : t.endsWith("%") ? parseFloat(t) / 100 : parseFloat(t), isNaN(r) ? null : Math.max(0, Math.min(1, r));
|
|
6115
|
-
}, Vu = (e,
|
|
6116
|
-
let
|
|
6117
|
-
const
|
|
6118
|
-
|
|
6115
|
+
}, Vu = (e, r) => {
|
|
6116
|
+
let n = e.trim();
|
|
6117
|
+
const o = Cu.exec(n);
|
|
6118
|
+
o ? n = `index${o[2]}` : /^#[0-9a-f]{3}$/i.test(n) && (n = `#${n[1]}${n[1]}${n[2]}${n[2]}${n[3]}${n[3]}`), n = n.toLowerCase();
|
|
6119
6119
|
try {
|
|
6120
|
-
new
|
|
6120
|
+
new t(n);
|
|
6121
6121
|
} catch {
|
|
6122
6122
|
return null;
|
|
6123
6123
|
}
|
|
6124
|
-
return null !==
|
|
6124
|
+
return null !== r && r < 1 ? `${n} alpha ${r}` : n;
|
|
6125
6125
|
}, Hu = (e) => Math.round(e).toString(16).padStart(2, "0"), Gu = (e) => String(Math.round(1e3 * e) / 1e3).replace(/^0\./, "."), ju = (e, t) => {
|
|
6126
6126
|
const r = /^index(\d+)$/i.exec(e.trim())?.[1] ?? Pu[e.trim()], n = t(e).toRGBA(), o = `#${Hu(n.red)}${Hu(n.green)}${Hu(n.blue)}`, a = void 0 !== n.alpha && n.alpha < 1 ? n.alpha : null;
|
|
6127
6127
|
return void 0 !== r ? {
|
|
@@ -6133,7 +6133,7 @@ var wc = (e) => {
|
|
|
6133
6133
|
};
|
|
6134
6134
|
}, Xu = (e) => {
|
|
6135
6135
|
if (!e) return null;
|
|
6136
|
-
if (e.type ===
|
|
6136
|
+
if (e.type === c.Type.Solid) return e.color;
|
|
6137
6137
|
const t = e.stops;
|
|
6138
6138
|
if (t?.length) return "string" == typeof t[0] ? t[0] : t[0].color;
|
|
6139
6139
|
const r = e.foreground;
|
|
@@ -6141,35 +6141,35 @@ var wc = (e) => {
|
|
|
6141
6141
|
};
|
|
6142
6142
|
function Yu(e, t, r) {
|
|
6143
6143
|
if (!t.fill && !t.stroke) return e;
|
|
6144
|
-
const
|
|
6145
|
-
if (!
|
|
6146
|
-
const { shape:
|
|
6147
|
-
if (t.fill) if (t.fill.type ===
|
|
6144
|
+
const n = Bu.from(e);
|
|
6145
|
+
if (!n) return e;
|
|
6146
|
+
const { shape: o, fill: a, stroke: s } = n;
|
|
6147
|
+
if (t.fill) if (t.fill.type === c.Type.None) o.set("filled", "f", "type");
|
|
6148
6148
|
else {
|
|
6149
6149
|
const e = Xu(t.fill);
|
|
6150
|
-
if (
|
|
6150
|
+
if (o.set("filled", null), e) {
|
|
6151
6151
|
const t = ju(e, r);
|
|
6152
|
-
|
|
6152
|
+
o.set("fillcolor", t.color, "type"), a.set("opacity", null === t.opacity ? null : Gu(t.opacity), ""), a.set("type", null);
|
|
6153
6153
|
}
|
|
6154
6154
|
}
|
|
6155
|
-
const
|
|
6156
|
-
if (
|
|
6157
|
-
if (
|
|
6155
|
+
const i = t.stroke;
|
|
6156
|
+
if (i) {
|
|
6157
|
+
if (i.fill?.type === c.Type.None) o.set("stroked", "f", "fillcolor");
|
|
6158
6158
|
else {
|
|
6159
|
-
|
|
6160
|
-
const e = Xu(
|
|
6159
|
+
o.set("stroked", null);
|
|
6160
|
+
const e = Xu(i.fill);
|
|
6161
6161
|
if (e) {
|
|
6162
6162
|
const t = ju(e, r);
|
|
6163
|
-
|
|
6163
|
+
o.set("strokecolor", t.color, "fillcolor"), s.set("opacity", null === t.opacity ? null : Gu(t.opacity), "");
|
|
6164
6164
|
}
|
|
6165
6165
|
}
|
|
6166
|
-
if (void 0 !==
|
|
6167
|
-
const e = Array.isArray(
|
|
6168
|
-
|
|
6166
|
+
if (void 0 !== i.width && o.set("strokeweight", Math.round(100 * i.width) / 100 + "pt", "strokecolor"), void 0 !== i.dash) {
|
|
6167
|
+
const e = Array.isArray(i.dash) ? i.dash.map((e) => Math.round(e) / 100).join(" ") : Nu[i.dash] ?? null;
|
|
6168
|
+
s.set("dashstyle", e);
|
|
6169
6169
|
}
|
|
6170
|
-
void 0 !==
|
|
6170
|
+
void 0 !== i.compound && s.set("linestyle", Fu[i.compound] ?? null);
|
|
6171
6171
|
}
|
|
6172
|
-
return
|
|
6172
|
+
return n.toString();
|
|
6173
6173
|
}
|
|
6174
6174
|
var qu = /\s*<v:shape\b[\s\S]*?<\/v:shape>/g, Ku = /<x:ClientData\b[^>]*\bObjectType="Note"/, Zu = /<x:Row>\s*(-?\d+)\s*<\/x:Row>/, Qu = /<x:Column>\s*(-?\d+)\s*<\/x:Column>/, Ju = /<x:Anchor>([\s\d,-]*)<\/x:Anchor>/, $u = /<x:Visible\s*(?:\/>|>([^<]*)<\/x:Visible>)/, _u = /\s*<\/xml>\s*$/, ep = /^\s*<v:shape\b((?:[^>"']|"[^"]*"|'[^']*')*)>/, tp = /([\w:.-]+)\s*=\s*(?:"([^"]*)"|'([^']*)')/g, rp = /<o:idmap\b[^>]*\bdata="([^"]*)"/, np = /* @__PURE__ */ new Set([
|
|
6175
6175
|
"position",
|
|
@@ -6273,29 +6273,29 @@ function gp(e) {
|
|
|
6273
6273
|
const e = r[1].split(",").map((e) => parseInt(e.trim(), 10));
|
|
6274
6274
|
8 !== e.length || e.some((e) => isNaN(e)) || (t = e);
|
|
6275
6275
|
}
|
|
6276
|
-
const
|
|
6276
|
+
const n = $u.exec(e), o = !!n && !/^\s*f/i.test(n[1] ?? ""), s = up(e), i = null === s ? null : function(e) {
|
|
6277
6277
|
const t = Bu.from(e);
|
|
6278
6278
|
if (!t) return {
|
|
6279
6279
|
style: {},
|
|
6280
6280
|
markup: e
|
|
6281
6281
|
};
|
|
6282
|
-
const r = {}, { shape:
|
|
6283
|
-
if (zu(
|
|
6284
|
-
else if ("solid" === (
|
|
6285
|
-
const e =
|
|
6286
|
-
|
|
6287
|
-
type:
|
|
6288
|
-
color:
|
|
6289
|
-
},
|
|
6282
|
+
const r = {}, { shape: n, fill: o, stroke: s } = t;
|
|
6283
|
+
if (zu(n.get("filled"))) r.fill = { type: c.Type.None }, n.set("filled", null);
|
|
6284
|
+
else if ("solid" === (o.get("type") ?? "solid").toLowerCase()) {
|
|
6285
|
+
const e = n.get("fillcolor") ?? "white", t = Wu(o.get("opacity")), a = e.toLowerCase() !== bu.toLowerCase() || null !== t && 1 !== t ? Vu(e, t) : null;
|
|
6286
|
+
a && (r.fill = {
|
|
6287
|
+
type: c.Type.Solid,
|
|
6288
|
+
color: a
|
|
6289
|
+
}, n.set("fillcolor", bu, "type"), o.set("opacity", null));
|
|
6290
6290
|
}
|
|
6291
6291
|
const i = {};
|
|
6292
|
-
if (zu(
|
|
6292
|
+
if (zu(n.get("stroked"))) i.fill = { type: c.Type.None }, n.set("stroked", null);
|
|
6293
6293
|
else {
|
|
6294
|
-
const e =
|
|
6294
|
+
const e = n.get("strokecolor") ?? "black", t = Wu(s.get("opacity")), r = e.toLowerCase() !== vu.toLowerCase() || null !== t && 1 !== t ? Vu(e, t) : null;
|
|
6295
6295
|
r && (i.fill = {
|
|
6296
|
-
type:
|
|
6296
|
+
type: c.Type.Solid,
|
|
6297
6297
|
color: r
|
|
6298
|
-
},
|
|
6298
|
+
}, n.set("strokecolor", vu, "fillcolor"), s.set("opacity", null));
|
|
6299
6299
|
}
|
|
6300
6300
|
const l = ((e) => {
|
|
6301
6301
|
const t = /^\s*(-?\d*\.?\d+)\s*([a-z]*)\s*$/i.exec(e ?? "");
|
|
@@ -6311,12 +6311,12 @@ function gp(e) {
|
|
|
6311
6311
|
emu: 1 / 12700
|
|
6312
6312
|
}[t[2].toLowerCase()];
|
|
6313
6313
|
return void 0 === n ? null : Math.round(r * n * 100) / 100;
|
|
6314
|
-
})(
|
|
6315
|
-
null !== l && (i.width = l,
|
|
6314
|
+
})(n.get("strokeweight"));
|
|
6315
|
+
null !== l && (i.width = l, n.set("strokeweight", null));
|
|
6316
6316
|
const u = s.get("dashstyle")?.trim().toLowerCase();
|
|
6317
6317
|
if (u) {
|
|
6318
6318
|
const e = Lu[u], t = e ? null : u.split(/[\s,]+/).map(Number);
|
|
6319
|
-
e ? i.dash = e : t && t.length > 0 && t.every((e) => !isNaN(e) && e >= 0) && (i.dash = 2 === t.length && 1 === t[0] && 1 === t[1] ?
|
|
6319
|
+
e ? i.dash = e : t && t.length > 0 && t.every((e) => !isNaN(e) && e >= 0) && (i.dash = 2 === t.length && 1 === t[0] && 1 === t[1] ? a.DashStyle.SysDot : t.map((e) => 100 * e)), void 0 !== i.dash && s.set("dashstyle", null);
|
|
6320
6320
|
}
|
|
6321
6321
|
const p = Du[s.get("linestyle")?.trim().toLowerCase() ?? ""];
|
|
6322
6322
|
return p && (i.compound = p, s.set("linestyle", null)), Object.keys(i).length > 0 && (r.stroke = i), {
|
|
@@ -6327,7 +6327,7 @@ function gp(e) {
|
|
|
6327
6327
|
return {
|
|
6328
6328
|
anchor: t,
|
|
6329
6329
|
bounds: t ? null : hp(fp(e)),
|
|
6330
|
-
visible:
|
|
6330
|
+
visible: o,
|
|
6331
6331
|
alt: cp(e)?.alt ?? null,
|
|
6332
6332
|
style: i?.style ?? {},
|
|
6333
6333
|
xml: null === i || i.markup === pp ? null : i.markup
|
|
@@ -6376,7 +6376,7 @@ function Sp(e, t, r, n = "<v:shapetype id=\"_x0000_t202\" coordsize=\"21600,2160
|
|
|
6376
6376
|
const l = /\bid="([^"]*)"/.exec(n)?.[1];
|
|
6377
6377
|
return l && new RegExp(`<v:shapetype\\b[^>]*\\bid="${l}"`).test(a) || (a += n), a + t.join("") + i;
|
|
6378
6378
|
}
|
|
6379
|
-
var
|
|
6379
|
+
var Ap = "application/vnd.ms-excel.controlproperties+xml", Tp = "http://schemas.openxmlformats.org/officeDocument/2006/relationships/ctrlProp", bp = "http://schemas.microsoft.com/office/drawing/2010/main", vp = {
|
|
6380
6380
|
Button: "button",
|
|
6381
6381
|
CheckBox: "checkBox",
|
|
6382
6382
|
Radio: "optionButton",
|
|
@@ -6511,14 +6511,14 @@ function Wp(e) {
|
|
|
6511
6511
|
function Vp(e) {
|
|
6512
6512
|
const t = {};
|
|
6513
6513
|
if (!e) return t;
|
|
6514
|
-
const
|
|
6515
|
-
"" !==
|
|
6516
|
-
const
|
|
6517
|
-
for (let
|
|
6518
|
-
const
|
|
6514
|
+
const r = pu(e);
|
|
6515
|
+
"" !== r && (t.caption = r);
|
|
6516
|
+
const o = e.paragraphs;
|
|
6517
|
+
for (let r = 0; r < o.length; r++) {
|
|
6518
|
+
const a = o[r], i = a.runs.find((e) => "" !== e.text && "\n" !== e.text);
|
|
6519
6519
|
if (!i) continue;
|
|
6520
6520
|
const l = {}, c = i.font?.family;
|
|
6521
|
-
c && (l.name = c), l.size = i.size ??
|
|
6521
|
+
c && (l.name = c), l.size = i.size ?? s.inheritedTextSize(e, a) ?? s.TEXT_DEFAULTS.size, void 0 !== i.weight && i.weight >= 700 && (l.bold = !0), i.style === n.Style.Italic && (l.italic = !0);
|
|
6522
6522
|
const u = Hp(i.color);
|
|
6523
6523
|
u && (l.color = u), t.font = l;
|
|
6524
6524
|
break;
|
|
@@ -6899,7 +6899,7 @@ var gd = (e) => {
|
|
|
6899
6899
|
};
|
|
6900
6900
|
}, Ed = (e) => {
|
|
6901
6901
|
if (!e.location) return null;
|
|
6902
|
-
const t =
|
|
6902
|
+
const t = A.fastStringToRange(e.location);
|
|
6903
6903
|
let r = e.fields ? gd(e) : null;
|
|
6904
6904
|
if (!e.fields && e.part?.xml) {
|
|
6905
6905
|
const t = qo(e.part.xml, "location"), n = t ? Ko(t.attributes) : null, o = Number(n?.get("rowPageCount") ?? 0), a = Number(n?.get("colPageCount") ?? 0);
|
|
@@ -6929,12 +6929,12 @@ function Sd(e, t) {
|
|
|
6929
6929
|
});
|
|
6930
6930
|
return "loaded" === r.status && "generic" !== r.kind;
|
|
6931
6931
|
}
|
|
6932
|
-
async function
|
|
6933
|
-
const t =
|
|
6932
|
+
async function Ad(e) {
|
|
6933
|
+
const t = v.getShared();
|
|
6934
6934
|
for (const r of e) Sd(t, r);
|
|
6935
6935
|
return await t.whenReady(), e.every((e) => Sd(t, e));
|
|
6936
6936
|
}
|
|
6937
|
-
function
|
|
6937
|
+
function Td(e) {
|
|
6938
6938
|
const t = /* @__PURE__ */ new Map();
|
|
6939
6939
|
for (const r of e) {
|
|
6940
6940
|
if (!r?.family) continue;
|
|
@@ -7222,12 +7222,12 @@ var Ud = "File already exists", Bd = "Zip file comment exceeds 64KB", zd = "File
|
|
|
7222
7222
|
3,
|
|
7223
7223
|
0,
|
|
7224
7224
|
0
|
|
7225
|
-
]), yf = "infozip", Sf = "unix",
|
|
7225
|
+
]), yf = "infozip", Sf = "unix", Af = [
|
|
7226
7226
|
8,
|
|
7227
7227
|
9,
|
|
7228
7228
|
5,
|
|
7229
7229
|
3
|
|
7230
|
-
],
|
|
7230
|
+
], Tf = 0, bf = [], vf = class {
|
|
7231
7231
|
constructor(e, t = {}) {
|
|
7232
7232
|
e = new pt(e);
|
|
7233
7233
|
const { availableSize: r = Qe, maxSize: n = Qe } = e, o = r > 0 && r !== 1 / 0 && n > 0 && n !== 1 / 0;
|
|
@@ -7265,7 +7265,7 @@ var Ud = "File already exists", Bd = "Zip file comment exceeds 64KB", zd = "File
|
|
|
7265
7265
|
if (void 0 !== o) {
|
|
7266
7266
|
const { entryOptions: t, passThroughOptions: r } = function(e, t, r) {
|
|
7267
7267
|
if (null === e || "object" != typeof e || Array.isArray(e)) throw new Error(mf);
|
|
7268
|
-
const { externalFileAttributes: n, versionMadeBy: o, comment: a, lastModDate: s, rawLastModDate: i, creationDate: l, lastAccessDate: c, uncompressedSize: u, encrypted: p, zipCrypto: d, crc32: f, compressionMethod: m, extraFieldAES: h, extraFieldUnix: g, internalFileAttributes: E, extraField: w, bitFlag: y, directory: S, uid:
|
|
7268
|
+
const { externalFileAttributes: n, versionMadeBy: o, comment: a, lastModDate: s, rawLastModDate: i, creationDate: l, lastAccessDate: c, uncompressedSize: u, encrypted: p, zipCrypto: d, crc32: f, compressionMethod: m, extraFieldAES: h, extraFieldUnix: g, internalFileAttributes: E, extraField: w, bitFlag: y, directory: S, uid: A, gid: T } = e, b = {
|
|
7269
7269
|
externalFileAttributes: n,
|
|
7270
7270
|
versionMadeBy: o,
|
|
7271
7271
|
comment: a,
|
|
@@ -7278,9 +7278,9 @@ var Ud = "File already exists", Bd = "Zip file comment exceeds 64KB", zd = "File
|
|
|
7278
7278
|
y && y.languageEncodingFlag && (b[W] = !0);
|
|
7279
7279
|
const v = Yt(w);
|
|
7280
7280
|
v && (b[Y] = v);
|
|
7281
|
-
void 0 ===
|
|
7282
|
-
uid:
|
|
7283
|
-
gid:
|
|
7281
|
+
void 0 === A && void 0 === T || Object.assign(b, {
|
|
7282
|
+
uid: A,
|
|
7283
|
+
gid: T,
|
|
7284
7284
|
unixExtraFieldType: g ? Sf : yf
|
|
7285
7285
|
});
|
|
7286
7286
|
const x = {};
|
|
@@ -7293,7 +7293,7 @@ var Ud = "File already exists", Bd = "Zip file comment exceeds 64KB", zd = "File
|
|
|
7293
7293
|
encrypted: p,
|
|
7294
7294
|
zipCrypto: d,
|
|
7295
7295
|
encryptionStrength: h ? h.strength : void 0
|
|
7296
|
-
}), y && (x.dataDescriptor = y.dataDescriptor, x[Nt] =
|
|
7296
|
+
}), y && (x.dataDescriptor = y.dataDescriptor, x[Nt] = Af[y.level]), void 0 === r) x.rawLastModDate = i;
|
|
7297
7297
|
else if ("compressed" !== t && d && (!y || y.dataDescriptor) && r instanceof Date && function(e) {
|
|
7298
7298
|
let t = /* @__PURE__ */ new Date(2e3 * Math.ceil(Math.floor(e.getTime() / 1e3) / 2));
|
|
7299
7299
|
t < Dt ? t = Dt : t > at && (t = at);
|
|
@@ -7309,7 +7309,7 @@ var Ud = "File already exists", Bd = "Zip file comment exceeds 64KB", zd = "File
|
|
|
7309
7309
|
}
|
|
7310
7310
|
Qf(e, n, "directory") && !t.endsWith("/") && (t += "/");
|
|
7311
7311
|
if (e.filenames.has(t)) throw new Error(Ud);
|
|
7312
|
-
e.filenames.add(t),
|
|
7312
|
+
e.filenames.add(t), Tf < Vt().maxWorkers ? Tf++ : await new Promise((e) => bf.push(e));
|
|
7313
7313
|
try {
|
|
7314
7314
|
return await async function(e, t, r, n) {
|
|
7315
7315
|
const o = function(e, t, r) {
|
|
@@ -7390,7 +7390,7 @@ var Ud = "File already exists", Bd = "Zip file comment exceeds 64KB", zd = "File
|
|
|
7390
7390
|
const l = Jf(e, r, ee, /* @__PURE__ */ new Date()), c = Qf(e, r, ge), u = Jf(e, r, Ft), p = Jf(e, r, M), d = Qf(e, r, ne, 0), f = j(Qf(e, r, qt)), m = Boolean(f), h = !0 === f;
|
|
7391
7391
|
let g = Qf(e, r, He), E = Qf(e, r, qe);
|
|
7392
7392
|
$(g, E), g = g && g.length ? g : void 0, E = E && E.length ? E : void 0;
|
|
7393
|
-
const w = _f(e, r, yt, 3), y = Qf(e, r, Je), S = Qf(e, r, $e, !0),
|
|
7393
|
+
const w = _f(e, r, yt, 3), y = Qf(e, r, Je), S = Qf(e, r, $e, !0), A = Qf(e, r, ct), T = Qf(e, r, ot, !0), b = Qf(e, r, de), v = Qf(e, r, Pt), x = $f(e, r, je), I = Qf(e, r, Bt, !0), O = Se(Qf(e, r, Jt));
|
|
7394
7394
|
rr(O);
|
|
7395
7395
|
const R = Qf(e, r, W, !um(o) || !um(s)), C = Qf(e, r, tr), L = m || void 0 === C ? void 0 : tt(C);
|
|
7396
7396
|
if (!m && void 0 !== C && 0 !== C && 8 !== C && !L) throw new Error(F);
|
|
@@ -7406,7 +7406,7 @@ var Ud = "File already exists", Bd = "Zip file comment exceeds 64KB", zd = "File
|
|
|
7406
7406
|
void 0 !== N && 6 != N && (D = !1);
|
|
7407
7407
|
const B = Qf(e, r, Wt);
|
|
7408
7408
|
if (!(y || void 0 === g && void 0 === E || Number.isInteger(w) && w >= 1 && w <= 3)) throw new Error(Gd);
|
|
7409
|
-
const z = Lf(r[Y]), V = Lf(r[
|
|
7409
|
+
const z = Lf(r[Y]), V = Lf(r[Tt]), G = Lf(r[dt]);
|
|
7410
7410
|
return {
|
|
7411
7411
|
comment: a,
|
|
7412
7412
|
resolvedOptions: {
|
|
@@ -7425,8 +7425,8 @@ var Ud = "File already exists", Bd = "Zip file comment exceeds 64KB", zd = "File
|
|
|
7425
7425
|
encryptionStrength: w,
|
|
7426
7426
|
zipCrypto: y,
|
|
7427
7427
|
extendedTimestamp: S,
|
|
7428
|
-
ntfsTimestamp:
|
|
7429
|
-
keepOrder:
|
|
7428
|
+
ntfsTimestamp: A,
|
|
7429
|
+
keepOrder: T,
|
|
7430
7430
|
useWebWorkers: b,
|
|
7431
7431
|
bufferedWrite: v,
|
|
7432
7432
|
createTempStream: x,
|
|
@@ -7472,15 +7472,15 @@ var Ud = "File already exists", Bd = "Zip file comment exceeds 64KB", zd = "File
|
|
|
7472
7472
|
}
|
|
7473
7473
|
const y = !0 === d, S = Qf(e, o, Z);
|
|
7474
7474
|
if (t && s && !S && lm(l, c)) throw new Error(Xd);
|
|
7475
|
-
const
|
|
7475
|
+
const A = t && (Boolean(l && lm(l) || c && lm(c)) || s && S);
|
|
7476
7476
|
t || (f = 0, m = 0);
|
|
7477
|
-
const
|
|
7478
|
-
if (t) if (a) o.uncompressedSize = g, h = void 0 === r ? em(g) +
|
|
7477
|
+
const T = At(A, i, u);
|
|
7478
|
+
if (t) if (a) o.uncompressedSize = g, h = void 0 === r ? em(g) + T : r + (s ? 0 : T);
|
|
7479
7479
|
else {
|
|
7480
7480
|
const e = void 0 === r ? w : r;
|
|
7481
|
-
void 0 === e ? (d || void 0 === d) && (d = E = !0, h = _e + 1) : (o.uncompressedSize = g = e, h = (tm(m, f) ? em(g) : g) +
|
|
7481
|
+
void 0 === e ? (d || void 0 === d) && (d = E = !0, h = _e + 1) : (o.uncompressedSize = g = e, h = (tm(m, f) ? em(g) : g) + T);
|
|
7482
7482
|
}
|
|
7483
|
-
const b = !(
|
|
7483
|
+
const b = !(A || t && (0 !== r || a) || tm(m, f)), v = void 0 !== o.crc32 || void 0 !== o.signature, x = a && t && void 0 !== r && !(A && i) && (v || A && !i);
|
|
7484
7484
|
(b || x) && void 0 === Qf(e, o, "dataDescriptor") && (p = !1);
|
|
7485
7485
|
const I = y || E || g >= 4294967295, O = y || h >= 4294967295;
|
|
7486
7486
|
if (I || O) {
|
|
@@ -7502,7 +7502,7 @@ var Ud = "File already exists", Bd = "Zip file comment exceeds 64KB", zd = "File
|
|
|
7502
7502
|
uncompressedSize: g,
|
|
7503
7503
|
level: f,
|
|
7504
7504
|
compressionMethod: m,
|
|
7505
|
-
encrypted:
|
|
7505
|
+
encrypted: A
|
|
7506
7506
|
}
|
|
7507
7507
|
};
|
|
7508
7508
|
}(e, Boolean(t), o, r, n));
|
|
@@ -7513,16 +7513,16 @@ var Ud = "File already exists", Bd = "Zip file comment exceeds 64KB", zd = "File
|
|
|
7513
7513
|
const h = i.resolvedOptions.encrypted && !s.zipCrypto;
|
|
7514
7514
|
if (s.passThroughCompression && !s.passThroughEncryption && h && (m = void 0), s.passThroughCompression && r && !h && void 0 === m) throw new Error(ef);
|
|
7515
7515
|
const g = function(e) {
|
|
7516
|
-
const { rawFilename: t, lastModDate: r, rawLastModDate: n, lastAccessDate: o, creationDate: a, level: s, zip64: i, zipCrypto: l, useUnicodeFileNames: c, dataDescriptor: u, directory: p, rawExtraField: d, rawLocalExtraField: f, encryptionStrength: m, extendedTimestamp: h, ntfsTimestamp: g, passThroughCompression: E, encrypted: w, zip64UncompressedSize: y, zip64CompressedSize: S, uncompressedSize:
|
|
7516
|
+
const { rawFilename: t, lastModDate: r, rawLastModDate: n, lastAccessDate: o, creationDate: a, level: s, zip64: i, zipCrypto: l, useUnicodeFileNames: c, dataDescriptor: u, directory: p, rawExtraField: d, rawLocalExtraField: f, encryptionStrength: m, extendedTimestamp: h, ntfsTimestamp: g, passThroughCompression: E, encrypted: w, zip64UncompressedSize: y, zip64CompressedSize: S, uncompressedSize: A, knownCompressedSize: T, unknownSize: b, crc32: v } = e;
|
|
7517
7517
|
let { version: x, compressionMethod: I } = e;
|
|
7518
|
-
const O = u ? void 0 :
|
|
7518
|
+
const O = u ? void 0 : T, R = !p && tm(I, s);
|
|
7519
7519
|
let C;
|
|
7520
7520
|
const L = E || !R, N = i && (e.bufferedWrite || !u || !y && !S || L && !b), F = N || i && u && (y || S);
|
|
7521
7521
|
if (i && (y || S)) {
|
|
7522
7522
|
const e = kf(20);
|
|
7523
|
-
if (e.writeUint16(1), e.writeUint16(16), C = e.array, N && (e.writeUint64(
|
|
7524
|
-
const t =
|
|
7525
|
-
e.writeUint64(E ? void 0 === O ? 0 : O :
|
|
7523
|
+
if (e.writeUint16(1), e.writeUint16(16), C = e.array, N && (e.writeUint64(A), L)) {
|
|
7524
|
+
const t = At(w, l, m);
|
|
7525
|
+
e.writeUint64(E ? void 0 === O ? 0 : O : A + t);
|
|
7526
7526
|
}
|
|
7527
7527
|
} else C = q;
|
|
7528
7528
|
let k, P, M, U, B, z, W;
|
|
@@ -7573,7 +7573,7 @@ var Ud = "File already exists", Bd = "Zip file comment exceeds 64KB", zd = "File
|
|
|
7573
7573
|
version: x,
|
|
7574
7574
|
bitFlag: pm(s, c, u, w, I),
|
|
7575
7575
|
compressionMethod: I,
|
|
7576
|
-
uncompressedSize:
|
|
7576
|
+
uncompressedSize: A,
|
|
7577
7577
|
compressedSize: O,
|
|
7578
7578
|
lastModDate: Y,
|
|
7579
7579
|
rawLastModDate: n,
|
|
@@ -7629,7 +7629,7 @@ var Ud = "File already exists", Bd = "Zip file comment exceeds 64KB", zd = "File
|
|
|
7629
7629
|
}(n), w = lm(g.localHeaderArray, E.dataDescriptorArray);
|
|
7630
7630
|
p = await async function(e, t, r, n, o) {
|
|
7631
7631
|
const { fileEntries: a, writer: s } = e, { keepOrder: i, dataDescriptor: l, emptyEntry: c, completeHeader: u, signal: p } = o, { headerInfo: d, fileEntry: f, previousFileEntry: m, releaseLockFileEntry: h } = n, g = e.options[be];
|
|
7632
|
-
let E, w, y, S,
|
|
7632
|
+
let E, w, y, S, A, T, b, v = f, x = 0;
|
|
7633
7633
|
const I = i && m ? m.lockFileEntry : void 0;
|
|
7634
7634
|
a.set(t, v);
|
|
7635
7635
|
try {
|
|
@@ -7639,8 +7639,8 @@ var Ud = "File already exists", Bd = "Zip file comment exceeds 64KB", zd = "File
|
|
|
7639
7639
|
const { localHeaderArray: m } = d;
|
|
7640
7640
|
E || await R();
|
|
7641
7641
|
const h = Pf(s), y = Bf(e, s);
|
|
7642
|
-
if (v.diskNumberStart = h, E || (
|
|
7643
|
-
const { headerInfo: i, dataDescriptorInfo: l, metadataSize: c } = o, { headerArray: u, headerView: p, lastModDate: d, rawLastModDate: f, encrypted: m, compressed: h, version: g, compressionMethod: E, rawExtraFieldZip64: w, localExtraFieldZip64Length: y, rawExtraFieldExtendedTimestamp: S, extraFieldExtendedTimestampFlag:
|
|
7642
|
+
if (v.diskNumberStart = h, E || (A = !0, T = s.size, await Xf(b, m)), v = await async function(e, t, { diskNumberStart: r, lockFileEntry: n }, o, a, s) {
|
|
7643
|
+
const { headerInfo: i, dataDescriptorInfo: l, metadataSize: c } = o, { headerArray: u, headerView: p, lastModDate: d, rawLastModDate: f, encrypted: m, compressed: h, version: g, compressionMethod: E, rawExtraFieldZip64: w, localExtraFieldZip64Length: y, rawExtraFieldExtendedTimestamp: S, extraFieldExtendedTimestampFlag: A, extraFieldExtendedTimestampTime: T, rawExtraFieldNTFS: b, rawExtraFieldUnix: v, rawCentralExtraFieldUnix: x, rawExtraFieldAES: I } = i, { dataDescriptorArray: O } = l, { rawFilename: R, lastAccessDate: C, creationDate: L, password: N, rawPassword: D, level: F, useUnicodeFileNames: k, zip64: P, zip64Enabled: M, zip64UncompressedSize: U, zip64CompressedSize: B, zipCrypto: z, dataDescriptor: W, directory: V, executable: H, versionMadeBy: G, rawComment: j, rawExtraField: X, rawCentralExtraField: Y, useWebWorkers: q, onstart: K, onprogress: Z, onend: Q, signal: $, encryptionStrength: _, extendedTimestamp: ee, msDosCompatible: te, internalFileAttributes: re, externalFileAttributes: ne, uid: oe, gid: ae, unixMode: se, symlink: ie, setuid: le, setgid: ue, sticky: pe, unixExternalUpper: de, msdosAttributesRaw: fe, msdosAttributes: me, useCompressionStream: he, passThroughCompression: ge, passThroughEncryption: Ee, format: we, codecURI: ye } = s, Se = {
|
|
7644
7644
|
lockFileEntry: n,
|
|
7645
7645
|
versionMadeBy: G,
|
|
7646
7646
|
zip64: P,
|
|
@@ -7676,8 +7676,8 @@ var Ud = "File already exists", Bd = "Zip file comment exceeds 64KB", zd = "File
|
|
|
7676
7676
|
msdosAttributesRaw: fe,
|
|
7677
7677
|
msdosAttributes: me
|
|
7678
7678
|
};
|
|
7679
|
-
let { crc32:
|
|
7680
|
-
ge || (
|
|
7679
|
+
let { crc32: Ae, uncompressedSize: Te } = s, be = 0;
|
|
7680
|
+
ge || (Te = 0);
|
|
7681
7681
|
const { writable: ve } = t;
|
|
7682
7682
|
if (e) {
|
|
7683
7683
|
const r = e.size, n = De(Ke(e, { size: r })), o = {
|
|
@@ -7713,7 +7713,7 @@ var Ud = "File already exists", Bd = "Zip file comment exceeds 64KB", zd = "File
|
|
|
7713
7713
|
readable: n,
|
|
7714
7714
|
writable: ve
|
|
7715
7715
|
}, o);
|
|
7716
|
-
if (be = e.outputSize, t.size += be, rr($), ge || (
|
|
7716
|
+
if (be = e.outputSize, t.size += be, rr($), ge || (Te = e.inputSize, m && !z || (Ae = e.crc32)), !B && be >= 4294967295 || !U && Te >= 4294967295) throw new Error(Jd);
|
|
7717
7717
|
} catch (e) {
|
|
7718
7718
|
const { outputSize: r } = o;
|
|
7719
7719
|
throw void 0 !== r ? t.size += r : J(e) && void 0 !== e.outputSize && (t.size += e.outputSize), e;
|
|
@@ -7724,14 +7724,14 @@ var Ud = "File already exists", Bd = "Zip file comment exceeds 64KB", zd = "File
|
|
|
7724
7724
|
u && !s && !i || void 0 === e || (am(c, 10, e), l && am(p, d, e));
|
|
7725
7725
|
a ? l && (sm(p, d + 4, BigInt(t)), sm(p, d + 12, BigInt(r))) : (am(c, 14, t), am(c, 18, r), l && (am(p, d + 4, t), am(p, d + 8, r)));
|
|
7726
7726
|
})({
|
|
7727
|
-
crc32:
|
|
7727
|
+
crc32: Ae,
|
|
7728
7728
|
compressedSize: be,
|
|
7729
|
-
uncompressedSize:
|
|
7729
|
+
uncompressedSize: Te,
|
|
7730
7730
|
headerInfo: i,
|
|
7731
7731
|
dataDescriptorInfo: l
|
|
7732
7732
|
}, s), W && await Xf(t, O);
|
|
7733
7733
|
return Object.assign(Se, {
|
|
7734
|
-
uncompressedSize:
|
|
7734
|
+
uncompressedSize: Te,
|
|
7735
7735
|
compressedSize: be,
|
|
7736
7736
|
lastModDate: d,
|
|
7737
7737
|
rawLastModDate: f,
|
|
@@ -7744,15 +7744,15 @@ var Ud = "File already exists", Bd = "Zip file comment exceeds 64KB", zd = "File
|
|
|
7744
7744
|
version: g,
|
|
7745
7745
|
headerArray: u,
|
|
7746
7746
|
headerView: p,
|
|
7747
|
-
signature:
|
|
7748
|
-
crc32: !m || z || ge ?
|
|
7749
|
-
extraFieldExtendedTimestampFlag:
|
|
7750
|
-
extraFieldExtendedTimestampTime:
|
|
7747
|
+
signature: Ae,
|
|
7748
|
+
crc32: !m || z || ge ? Ae : void 0,
|
|
7749
|
+
extraFieldExtendedTimestampFlag: A,
|
|
7750
|
+
extraFieldExtendedTimestampTime: T,
|
|
7751
7751
|
zip64UncompressedSize: U,
|
|
7752
7752
|
zip64CompressedSize: B
|
|
7753
7753
|
}), Se;
|
|
7754
|
-
}(r, b, v, n, Vt(), o), E || (
|
|
7755
|
-
if (await Promise.all([b.writable.getWriter().close(), I]), await O(), e.addSplitZipSignature && await jf(e, s), S = !0,
|
|
7754
|
+
}(r, b, v, n, Vt(), o), E || (A = !1), a.set(t, v), v.filename = t, E) {
|
|
7755
|
+
if (await Promise.all([b.writable.getWriter().close(), I]), await O(), e.addSplitZipSignature && await jf(e, s), S = !0, T = s.size, await R(), v.diskNumberStart = Pf(s), v.offset = Bf(e, s), g) {
|
|
7756
7756
|
const t = n.metadataSize;
|
|
7757
7757
|
Nf(n, e.offset - Mf(s)), v.size += n.metadataSize - t;
|
|
7758
7758
|
}
|
|
@@ -7766,11 +7766,11 @@ var Ud = "File already exists", Bd = "Zip file comment exceeds 64KB", zd = "File
|
|
|
7766
7766
|
} else v.diskNumberStart = h, v.offset = y;
|
|
7767
7767
|
return e.offset += v.size, v;
|
|
7768
7768
|
} catch (r) {
|
|
7769
|
-
if (S ||
|
|
7769
|
+
if (S || A) {
|
|
7770
7770
|
if (e.hasCorruptedEntries = !0, r) try {
|
|
7771
7771
|
r.corruptedEntry = !0;
|
|
7772
7772
|
} catch {}
|
|
7773
|
-
e.offset += s.size -
|
|
7773
|
+
e.offset += s.size - T, E && (e.offset += x);
|
|
7774
7774
|
}
|
|
7775
7775
|
throw a.delete(t), r;
|
|
7776
7776
|
} finally {
|
|
@@ -7811,7 +7811,7 @@ var Ud = "File already exists", Bd = "Zip file comment exceeds 64KB", zd = "File
|
|
|
7811
7811
|
throw e.filenames.delete(t), r;
|
|
7812
7812
|
} finally {
|
|
7813
7813
|
const e = bf.shift();
|
|
7814
|
-
e ? e() :
|
|
7814
|
+
e ? e() : Tf--;
|
|
7815
7815
|
}
|
|
7816
7816
|
}(n, e, t, r);
|
|
7817
7817
|
o.add(a);
|
|
@@ -7862,9 +7862,9 @@ var Ud = "File already exists", Bd = "Zip file comment exceeds 64KB", zd = "File
|
|
|
7862
7862
|
e.writeUint16(We), e.writeUint16(5), e.writeUint8(u), e.writeUint32(p), S = e.array;
|
|
7863
7863
|
}
|
|
7864
7864
|
n.rawExtraFieldExtendedTimestamp = S;
|
|
7865
|
-
const
|
|
7866
|
-
if (
|
|
7867
|
-
t += 46 + lm(e, a) +
|
|
7865
|
+
const A = lm(y, o, s, i, S, l, c);
|
|
7866
|
+
if (A > 65535) throw new Error(Yd);
|
|
7867
|
+
t += 46 + lm(e, a) + A;
|
|
7868
7868
|
}
|
|
7869
7869
|
return {
|
|
7870
7870
|
directoryDataLength: t,
|
|
@@ -7875,10 +7875,10 @@ var Ud = "File already exists", Bd = "Zip file comment exceeds 64KB", zd = "File
|
|
|
7875
7875
|
await $t(o);
|
|
7876
7876
|
let s = 0, i = 0, l = Pf(o), c = Mf(o), u = 0;
|
|
7877
7877
|
for (const [e, t] of Array.from(n.values()).entries()) {
|
|
7878
|
-
const { offset: p, rawFilename: d, rawExtraFieldZip64: f, rawExtraFieldAES: m, rawExtraFieldExtendedTimestamp: h, rawExtraFieldNTFS: g, rawCentralExtraFieldUnix: E, rawExtraField: w, rawCentralExtraField: y, rawComment: S, versionMadeBy:
|
|
7878
|
+
const { offset: p, rawFilename: d, rawExtraFieldZip64: f, rawExtraFieldAES: m, rawExtraFieldExtendedTimestamp: h, rawExtraFieldNTFS: g, rawCentralExtraFieldUnix: E, rawExtraField: w, rawCentralExtraField: y, rawComment: S, versionMadeBy: A, headerArray: T, headerView: b, zip64UncompressedSize: v, zip64CompressedSize: x, zip64DiskNumberStart: I, zip64Offset: O, internalFileAttributes: R, externalFileAttributes: C, diskNumberStart: L, uncompressedSize: N, compressedSize: D } = t, F = lm(f, m, h, g, E, w, y), k = 46 + lm(d, S) + F;
|
|
7879
7879
|
Uf(o, s + k - i) && (await Xf(o, a.slice(i, s)), i = s, u = 0, await o.closeDisk()), 0 == e && (l = Pf(o), c = Mf(o)), v || am(b, 18, N), x || am(b, 14, D), (O || I) && t.version < 45 && om(b, 0, 45);
|
|
7880
7880
|
const P = kf(k);
|
|
7881
|
-
if (P.writeUint32(Q), P.writeUint16(
|
|
7881
|
+
if (P.writeUint32(Q), P.writeUint16(A), P.writeBytes(T.subarray(0, 24)), P.writeUint16(F), P.writeUint16(lm(S)), P.writeUint16(I ? Xt : L), P.writeUint16(R), P.writeUint32(C), P.writeUint32(O ? _e : p), P.writeBytes(d), P.writeBytes(f), P.writeBytes(m), P.writeBytes(h), P.writeBytes(g), P.writeBytes(E), P.writeBytes(w), P.writeBytes(y), P.writeBytes(S), im(a, P.array, s), s += k, u++, r.onprogress) try {
|
|
7882
7882
|
await r.onprogress(e + 1, n.size, new ae(t));
|
|
7883
7883
|
} catch {}
|
|
7884
7884
|
}
|
|
@@ -7918,7 +7918,7 @@ var Ud = "File already exists", Bd = "Zip file comment exceeds 64KB", zd = "File
|
|
|
7918
7918
|
signatureLength: await Ff(e, i, r),
|
|
7919
7919
|
zip64Entries: o
|
|
7920
7920
|
});
|
|
7921
|
-
}(r, e, t), r.archiveClosed = !0, !
|
|
7921
|
+
}(r, e, t), r.archiveClosed = !0, !Te(o) && Qf(r, t, "preventClose") || await a.getWriter().close(), If(o);
|
|
7922
7922
|
}
|
|
7923
7923
|
[Ge]() {
|
|
7924
7924
|
return this.close();
|
|
@@ -7949,7 +7949,7 @@ async function Rf(e, t, r = {}) {
|
|
|
7949
7949
|
let p;
|
|
7950
7950
|
try {
|
|
7951
7951
|
t = new vt(t), await $t(t), void 0 !== t.size && t.readUint8Array || (t = new st(await Oe(t.readable)), await $t(t));
|
|
7952
|
-
const { ZipReader: r, getEntryDataDescriptorLength: n } = await import("./
|
|
7952
|
+
const { ZipReader: r, getEntryDataDescriptorLength: n } = await import("./DwmlBb640xWfAMV2.js"), l = new r(t, i), c = [];
|
|
7953
7953
|
let d;
|
|
7954
7954
|
try {
|
|
7955
7955
|
d = await l.getEntries();
|
|
@@ -8099,7 +8099,7 @@ function Df(e) {
|
|
|
8099
8099
|
return t.subarray(0, r);
|
|
8100
8100
|
}
|
|
8101
8101
|
async function Ff(e, t, r) {
|
|
8102
|
-
const n = $f(e, r,
|
|
8102
|
+
const n = $f(e, r, Ae);
|
|
8103
8103
|
if (n) {
|
|
8104
8104
|
const r = await n(t), o = lm(r);
|
|
8105
8105
|
if (o > 65535) throw new Error("Signature data exceeds 64KB");
|
|
@@ -8457,7 +8457,7 @@ function ym(e) {
|
|
|
8457
8457
|
};
|
|
8458
8458
|
}
|
|
8459
8459
|
var Sm = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
|
|
8460
|
-
var
|
|
8460
|
+
var Am, Tm, bm, vm, xm, Im = "deflate", Om = "deflate-raw", Rm = "deflate64-raw", Cm = "gzip", Lm = [
|
|
8461
8461
|
Im,
|
|
8462
8462
|
Om,
|
|
8463
8463
|
Cm
|
|
@@ -8472,7 +8472,7 @@ function Dm(e, t) {
|
|
|
8472
8472
|
}
|
|
8473
8473
|
function Fm(e, t, r = {}) {
|
|
8474
8474
|
if (!(e ? Lm : Nm).includes(t)) throw new TypeError("Unsupported format: " + t);
|
|
8475
|
-
if (!
|
|
8475
|
+
if (!Am) {
|
|
8476
8476
|
const e = /* @__PURE__ */ new Error("WASM module not loaded");
|
|
8477
8477
|
throw e.cause = xm, e;
|
|
8478
8478
|
}
|
|
@@ -8487,8 +8487,8 @@ function Fm(e, t, r = {}) {
|
|
|
8487
8487
|
return function() {
|
|
8488
8488
|
try {
|
|
8489
8489
|
let r;
|
|
8490
|
-
if (s.out =
|
|
8491
|
-
if (e ? (s._process =
|
|
8490
|
+
if (s.out = Tm(o), s.in = Tm(a), s.inBufferSize = a, !s.out || !s.in) throw Dm(/* @__PURE__ */ new Error("allocation failed"), -4);
|
|
8491
|
+
if (e ? (s._process = Am.deflate_process, s._last_consumed = Am.deflate_last_consumed, s._end = Am.deflate_end, s.streamHandle = Am.deflate_new(), r = t === Cm ? Am.deflate_init_gzip(s.streamHandle, n) : t === Om ? Am.deflate_init_raw(s.streamHandle, n) : Am.deflate_init(s.streamHandle, n)) : t === Rm ? (s._process = Am.inflate9_process, s._last_consumed = Am.inflate9_last_consumed, s._end = Am.inflate9_end, s.streamHandle = Am.inflate9_new(), r = Am.inflate9_init_raw(s.streamHandle)) : (s._process = Am.inflate_process, s._last_consumed = Am.inflate_last_consumed, s._end = Am.inflate_end, s.streamHandle = Am.inflate_new(), r = t === Om ? Am.inflate_init_raw(s.streamHandle) : t === Cm ? Am.inflate_init_gzip(s.streamHandle) : Am.inflate_init(s.streamHandle)), 0 !== r) throw Dm(/* @__PURE__ */ new Error("init failed:" + r), r);
|
|
8492
8492
|
} catch (e) {
|
|
8493
8493
|
throw h(s), e;
|
|
8494
8494
|
}
|
|
@@ -8517,7 +8517,7 @@ function Fm(e, t, r = {}) {
|
|
|
8517
8517
|
for (; i < e.length;) {
|
|
8518
8518
|
if (s.streamEnded) throw new Error("trailing data after the end of the stream");
|
|
8519
8519
|
const l = Math.min(e.length - i, 32768);
|
|
8520
|
-
if ((!s.in || s.inBufferSize < l) && (s.in && bm && (bm(s.in), s.in = 0), s.in =
|
|
8520
|
+
if ((!s.in || s.inBufferSize < l) && (s.in && bm && (bm(s.in), s.in = 0), s.in = Tm(l), s.inBufferSize = l, !s.in)) throw Dm(/* @__PURE__ */ new Error("allocation failed"), -4);
|
|
8521
8521
|
t.set(e.subarray(i, i + l), s.in);
|
|
8522
8522
|
const c = r(s.streamHandle, s.in, l, a, o, 0), u = c >> 24 & 255, p = 128 & u ? u - 256 : u;
|
|
8523
8523
|
if (p < 0) throw Dm(/* @__PURE__ */ new Error("process error:" + p), p);
|
|
@@ -8608,7 +8608,7 @@ async function Hm(e, { baseURI: t }) {
|
|
|
8608
8608
|
}
|
|
8609
8609
|
const o = await WebAssembly.instantiate(r);
|
|
8610
8610
|
(function(e) {
|
|
8611
|
-
if (
|
|
8611
|
+
if (Am = e, {malloc: Tm, free: bm, memory: vm} = Am, "function" != typeof Tm || "function" != typeof bm || !vm) throw Am = Tm = bm = vm = null, /* @__PURE__ */ new Error("Invalid WASM module");
|
|
8612
8612
|
})(o.instance.exports), a = o.instance.exports, "function" == typeof a.aes_hmac_new && (Mm = a, Um = 0);
|
|
8613
8613
|
var a;
|
|
8614
8614
|
}(e, t), Vm = !0;
|
|
@@ -8785,4 +8785,4 @@ K(function(e, t) {
|
|
|
8785
8785
|
}(r);
|
|
8786
8786
|
} });
|
|
8787
8787
|
})(xt);
|
|
8788
|
-
export { Qn as $, Cr as $n, Un as $t, nc as A, La as An, Kr as Ar, pp as At, Gp as B, yc as Bn, Zr as Bt, $i as C, su as Cn, Js as Cr, fi as Ct, hr as D,
|
|
8788
|
+
export { Qn as $, Cr as $n, Un as $t, nc as A, La as An, Kr as Ar, pp as At, Gp as B, yc as Bn, Zr as Bt, $i as C, su as Cn, Js as Cr, fi as Ct, hr as D, Ap as Dn, qo as Dr, fs as Dt, ra as E, Zp as En, Gs as Er, dl as Et, nr as F, Cc as Fn, hi as Fr, wp as Ft, na as G, Ic as Gn, vc as Gt, ir as H, hd as Hn, Xo as Ht, Ko as I, Ma as In, pc as Ir, Dr as It, $o as J, yr as Jn, Ni as Jt, Ki as K, ko as Kn, Do as Kt, Ir as L, gp as Ln, Sc as Lt, ll as M, yd as Mn, jo as Mr, cl as Mt, oc as N, Fi as Nn, pu as Nr, au as Nt, il as O, Pr as On, Wl as Or, xr as Ot, Bp as P, Vr as Pn, gs as Pr, ac as Pt, Zo as Q, ic as Qn, Po as Qt, mi as R, bi as Rn, gd as Rt, sr as S, wr as Sn, Yu as Sr, fl as St, $s as T, tl as Tn, Jr as Tr, Sr as Tt, _i as U, Li as Un, Tp as Ut, tn as V, yu as Vn, Vs as Vt, an as W, Br as Wn, Mr as Wt, zp as X, ap as Xn, Oc as Xt, Xi as Y, pl as Yn, zr as Yt, Xs as Z, ha as Zn, ka as Zt, jr as _, Ii as _n, Hs as _r, ol as _t, Yr as a, Ds as an, Ac as ar, dc as at, Ms as b, Tc as bn, nn as br, al as bt, Bs as c, Hr as cn, Ed as cr, Qo as ct, qi as d, ks as dn, Ci as dr, zs as dt, yi as en, Ec as er, lr as et, _r as f, zn as fn, Ur as fr, Go as ft, rn as g, Ps as gn, Qr as gr, Vo as gt, jp as h, Ba as hn, Hi as hr, Wa as ht, Bi as i, Pa as in, Fr as ir, cd as it, gr as j, Rs as jn, Ws as jr, fc as jt, ed as k, bc as kn, Wi as kr, bn as kt, ur as l, Lc as ln, Rr as lr, zi as lt, Qi as m, Nc as mn, Ad as mr, Fc as mt, pr as n, Wr as nn, xi as nr, Kp as nt, kc as o, Bn as on, Is as or, Yi as ot, Jo as p, Gr as pn, xc as pr, Xr as pt, en as q, Td as qn, kn as qt, nl as r, Rc as rn, yp as rr, sn as rt, Va as s, Rp as sn, Nn as sr, Wp as st, vf as t, Or as tn, On as tr, el as tt, rl as u, Ua as un, gc as ur, qr as ut, Dc as v, Sp as vn, zl as vr, sl as vt, Yp as w, ma as wn, Up as wr, Ea as wt, Wo as x, wd as xn, qc as xr, tc as xt, za as y, kr as yn, Ji as yr, ru as yt, Zi as z, Nr as zn, Vi as zt };
|