@poe-platform/safe-bash 0.1.806 → 0.1.807
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/README.md +4 -0
- package/dist/image-ast/portable.d.ts +8 -0
- package/dist/image-ast/portable.js +2 -0
- package/dist/safe-bash/chunks/{chunk-KRA6WK4Z.js → chunk-3Y54SR4R.js} +6 -6
- package/dist/safe-bash/chunks/{chunk-OYJI4L4J.js → chunk-PPAA3LJS.js} +1 -1
- package/dist/safe-bash/chunks/{chunk-SCROOJV7.js → chunk-XZ2Y4RWC.js} +2 -2
- package/dist/safe-bash/command-chunks/{biff-AU4VGVMD-6EQ64QPG.js → biff-YBHP7ZES-M7TU7NA5.js} +1211 -1205
- package/dist/safe-bash/command-chunks/chunk-2A6TBB4F.js +14 -0
- package/dist/safe-bash/command-chunks/chunk-2AF7J6FE.js +372 -0
- package/dist/safe-bash/command-chunks/{chunk-AITNVBXO.js → chunk-2ANW3FXH.js} +4 -4
- package/dist/safe-bash/command-chunks/chunk-2B6XWO6A.js +730 -0
- package/dist/safe-bash/command-chunks/chunk-2BKOSQD3.js +11 -0
- package/dist/safe-bash/command-chunks/chunk-2EUH5B6A.js +127 -0
- package/dist/safe-bash/command-chunks/chunk-2FOLUJLI.js +400 -0
- package/dist/safe-bash/command-chunks/{chunk-CZLX3KVF.js → chunk-2GILUQJY.js} +4 -6
- package/dist/safe-bash/command-chunks/chunk-2HHGDJ7J.js +280 -0
- package/dist/safe-bash/command-chunks/chunk-2NE2GPSF.js +546 -0
- package/dist/safe-bash/command-chunks/chunk-2P7BLWWI.js +272 -0
- package/dist/safe-bash/command-chunks/chunk-2PSVE7I5.js +101 -0
- package/dist/safe-bash/command-chunks/chunk-2UUFZMOH.js +503 -0
- package/dist/safe-bash/command-chunks/chunk-2VGAC6S6.js +393 -0
- package/dist/safe-bash/command-chunks/chunk-2W54TAGI.js +162 -0
- package/dist/safe-bash/command-chunks/chunk-326A5G42.js +328 -0
- package/dist/safe-bash/command-chunks/chunk-36KIT4DU.js +218 -0
- package/dist/safe-bash/command-chunks/chunk-3CHQG25N.js +455 -0
- package/dist/safe-bash/command-chunks/chunk-3JQ3RF2O.js +72 -0
- package/dist/safe-bash/command-chunks/chunk-3MLJWSYL.js +92 -0
- package/dist/safe-bash/command-chunks/{chunk-ASYR2LU7.js → chunk-3RQCLLQA.js} +5 -5
- package/dist/safe-bash/command-chunks/chunk-3SEQG5JH.js +521 -0
- package/dist/safe-bash/command-chunks/chunk-3SWT2KYH.js +78 -0
- package/dist/safe-bash/command-chunks/chunk-3VETFXYR.js +170 -0
- package/dist/safe-bash/command-chunks/chunk-3W6PTHHB.js +65 -0
- package/dist/safe-bash/command-chunks/chunk-457CU3IC.js +8 -0
- package/dist/safe-bash/command-chunks/chunk-45BW6MGM.js +250 -0
- package/dist/safe-bash/command-chunks/chunk-47MFDPH4.js +419 -0
- package/dist/safe-bash/command-chunks/chunk-4ATHODCG.js +444 -0
- package/dist/safe-bash/command-chunks/chunk-4DJICIFV.js +227 -0
- package/dist/safe-bash/command-chunks/chunk-4FNQPK7C.js +385 -0
- package/dist/safe-bash/command-chunks/chunk-4LXDJES2.js +65 -0
- package/dist/safe-bash/command-chunks/chunk-4QRXKUD2.js +662 -0
- package/dist/safe-bash/command-chunks/chunk-4QYNOBWZ.js +455 -0
- package/dist/safe-bash/command-chunks/{chunk-MWNWT6HG.js → chunk-4XFFIKA3.js} +5 -5
- package/dist/safe-bash/command-chunks/chunk-5AU5ENL5.js +180 -0
- package/dist/safe-bash/command-chunks/chunk-5DFZAJHL.js +324 -0
- package/dist/safe-bash/command-chunks/chunk-5GEFJROP.js +270 -0
- package/dist/safe-bash/command-chunks/chunk-5HWX4XYW.js +263 -0
- package/dist/safe-bash/command-chunks/chunk-5LKNP4IF.js +872 -0
- package/dist/safe-bash/command-chunks/chunk-5OEHUIVE.js +240 -0
- package/dist/safe-bash/command-chunks/chunk-6EHVFKM7.js +171 -0
- package/dist/safe-bash/command-chunks/chunk-6JTPLJ3B.js +155 -0
- package/dist/safe-bash/command-chunks/chunk-6KLUPQ65.js +496 -0
- package/dist/safe-bash/command-chunks/chunk-6NS5RXQ7.js +285 -0
- package/dist/safe-bash/command-chunks/chunk-6PJIQEH4.js +3472 -0
- package/dist/safe-bash/command-chunks/chunk-763ECQWB.js +566 -0
- package/dist/safe-bash/command-chunks/chunk-7DADVPKN.js +23 -0
- package/dist/safe-bash/command-chunks/chunk-7LEADSSA.js +164 -0
- package/dist/safe-bash/command-chunks/chunk-7MMSBVUP.js +732 -0
- package/dist/safe-bash/command-chunks/chunk-7OXNWLSL.js +35 -0
- package/dist/safe-bash/command-chunks/chunk-7PZASWL6.js +354 -0
- package/dist/safe-bash/command-chunks/{chunk-ZBR3UH4P.js → chunk-7QH3WAMQ.js} +2 -2
- package/dist/safe-bash/command-chunks/{chunk-CB3HTIDK.js → chunk-7SOE7XIS.js} +11 -11
- package/dist/safe-bash/command-chunks/chunk-7Y3ZQ6FE.js +56 -0
- package/dist/safe-bash/command-chunks/chunk-A2YEQYCC.js +289 -0
- package/dist/safe-bash/command-chunks/chunk-A3XE767Q.js +502 -0
- package/dist/safe-bash/command-chunks/{chunk-MWY75E3F.js → chunk-A6LCBGE6.js} +187 -187
- package/dist/safe-bash/command-chunks/{chunk-HFUL6E5I.js → chunk-A7CE4EIU.js} +33 -151
- package/dist/safe-bash/command-chunks/chunk-A7EMM3SB.js +297 -0
- package/dist/safe-bash/command-chunks/{chunk-G3YO3JIN.js → chunk-ABH5FMMA.js} +1 -1
- package/dist/safe-bash/command-chunks/chunk-AEJZEGW7.js +1376 -0
- package/dist/safe-bash/command-chunks/chunk-AELXRNM6.js +207 -0
- package/dist/safe-bash/command-chunks/chunk-AEZIPWRI.js +260 -0
- package/dist/safe-bash/command-chunks/{chunk-AHD3CGAY.js → chunk-AFPXADZG.js} +4 -4
- package/dist/safe-bash/command-chunks/chunk-AIOB34IX.js +201 -0
- package/dist/safe-bash/command-chunks/chunk-AJEYCC4X.js +262 -0
- package/dist/safe-bash/command-chunks/chunk-ALMHXDKZ.js +321 -0
- package/dist/safe-bash/command-chunks/chunk-AQ6RTM2M.js +309 -0
- package/dist/safe-bash/command-chunks/chunk-AQNFEGMZ.js +481 -0
- package/dist/safe-bash/command-chunks/{chunk-2AKKYY5G.js → chunk-ASZ4EMKE.js} +1 -1
- package/dist/safe-bash/command-chunks/chunk-AYJGINE5.js +144 -0
- package/dist/safe-bash/command-chunks/{chunk-MRFW2E6B.js → chunk-B4UWZCQR.js} +1 -1
- package/dist/safe-bash/command-chunks/chunk-BDYKJTBQ.js +43 -0
- package/dist/safe-bash/command-chunks/chunk-BERVTMQB.js +41 -0
- package/dist/safe-bash/command-chunks/chunk-BZOY2UMP.js +275 -0
- package/dist/safe-bash/command-chunks/{chunk-W47KIMSP.js → chunk-C2EYJT4S.js} +1 -1
- package/dist/safe-bash/command-chunks/chunk-CK5Q6RDE.js +342 -0
- package/dist/safe-bash/command-chunks/chunk-CKEODJVT.js +992 -0
- package/dist/safe-bash/command-chunks/{chunk-Z7UIOPHJ.js → chunk-DCMSPMMD.js} +1 -1
- package/dist/safe-bash/command-chunks/chunk-DE66JRWJ.js +352 -0
- package/dist/safe-bash/command-chunks/chunk-DKNNYPOI.js +409 -0
- package/dist/safe-bash/command-chunks/chunk-DV745GFU.js +294 -0
- package/dist/safe-bash/command-chunks/chunk-DXX2Z2QA.js +33 -0
- package/dist/safe-bash/command-chunks/chunk-E7AYF54A.js +473 -0
- package/dist/safe-bash/command-chunks/chunk-EDSFQJAU.js +159 -0
- package/dist/safe-bash/command-chunks/{chunk-UQ3KEUCF.js → chunk-ESD5ZD74.js} +7 -1
- package/dist/safe-bash/command-chunks/chunk-EUXUCRCI.js +1739 -0
- package/dist/safe-bash/command-chunks/chunk-F2ORFLCH.js +3669 -0
- package/dist/safe-bash/command-chunks/chunk-FANIWOBM.js +311 -0
- package/dist/safe-bash/command-chunks/chunk-FOO3AXFK.js +47 -0
- package/dist/safe-bash/command-chunks/chunk-FRZ5P5AB.js +131 -0
- package/dist/safe-bash/command-chunks/chunk-FZSQMMYV.js +276 -0
- package/dist/safe-bash/command-chunks/{chunk-P6NUIMMX.js → chunk-G5F2VSQ7.js} +1 -1
- package/dist/safe-bash/command-chunks/chunk-GGOZXIGH.js +299 -0
- package/dist/safe-bash/command-chunks/chunk-GIESJLR2.js +241 -0
- package/dist/safe-bash/command-chunks/chunk-GLPIFP7N.js +385 -0
- package/dist/safe-bash/command-chunks/chunk-GZ2N24A2.js +342 -0
- package/dist/safe-bash/command-chunks/chunk-H2NWPMNW.js +216 -0
- package/dist/safe-bash/command-chunks/chunk-HHLVI2CB.js +3949 -0
- package/dist/safe-bash/command-chunks/chunk-HJDE7ZNV.js +82 -0
- package/dist/safe-bash/command-chunks/chunk-HOAM3F5I.js +124 -0
- package/dist/safe-bash/command-chunks/chunk-HPKUFWHW.js +482 -0
- package/dist/safe-bash/command-chunks/chunk-HPMVMOD2.js +109 -0
- package/dist/safe-bash/command-chunks/chunk-HQAHDJPX.js +8 -0
- package/dist/safe-bash/command-chunks/chunk-HR2Y6YEP.js +12 -0
- package/dist/safe-bash/command-chunks/chunk-HUNXIAOL.js +62 -0
- package/dist/safe-bash/command-chunks/chunk-I4JWZOSP.js +244 -0
- package/dist/safe-bash/command-chunks/chunk-I6AMDG2T.js +85 -0
- package/dist/safe-bash/command-chunks/chunk-IB2Q5CL3.js +288 -0
- package/dist/safe-bash/command-chunks/chunk-IFNLDOJ4.js +316 -0
- package/dist/safe-bash/command-chunks/chunk-IKHBXETN.js +174 -0
- package/dist/safe-bash/command-chunks/chunk-IOSWG5JS.js +228 -0
- package/dist/safe-bash/command-chunks/chunk-IQFRPIXH.js +317 -0
- package/dist/safe-bash/command-chunks/chunk-IR6ZKAUH.js +582 -0
- package/dist/safe-bash/command-chunks/chunk-IW7PEB4I.js +297 -0
- package/dist/safe-bash/command-chunks/chunk-JGGRMERW.js +36 -0
- package/dist/safe-bash/command-chunks/chunk-JHAY3KYC.js +520 -0
- package/dist/safe-bash/command-chunks/{chunk-UO25D4WG.js → chunk-JITDS55R.js} +22 -22
- package/dist/safe-bash/command-chunks/chunk-JJK3CU7Z.js +6 -0
- package/dist/safe-bash/command-chunks/{chunk-XKZWUMH4.js → chunk-JN7GNI2C.js} +1 -1
- package/dist/safe-bash/command-chunks/chunk-JQ3EJKHF.js +160 -0
- package/dist/safe-bash/command-chunks/chunk-JQE256UO.js +292 -0
- package/dist/safe-bash/command-chunks/chunk-JQZ3BXWY.js +382 -0
- package/dist/safe-bash/command-chunks/{chunk-7DLR4HCC.js → chunk-JWSOFSGI.js} +22 -22
- package/dist/safe-bash/command-chunks/chunk-K3CDZMUN.js +168 -0
- package/dist/safe-bash/command-chunks/{chunk-SUYSZJI3.js → chunk-K5COUQAQ.js} +4 -4
- package/dist/safe-bash/command-chunks/chunk-K7HUXUN2.js +489 -0
- package/dist/safe-bash/command-chunks/chunk-KB3CY3QO.js +62 -0
- package/dist/safe-bash/command-chunks/chunk-KCBVOYAY.js +92 -0
- package/dist/safe-bash/command-chunks/chunk-KD25ICP4.js +366 -0
- package/dist/safe-bash/command-chunks/chunk-KDKQ5D55.js +180 -0
- package/dist/safe-bash/command-chunks/chunk-KNKDUEDW.js +521 -0
- package/dist/safe-bash/command-chunks/chunk-KR2PQ7GD.js +174 -0
- package/dist/safe-bash/command-chunks/chunk-KS6WUDPM.js +153 -0
- package/dist/safe-bash/command-chunks/{chunk-XFHUSZBM.js → chunk-KUGV3SSL.js} +5 -5
- package/dist/safe-bash/command-chunks/chunk-L2JAP5KO.js +249 -0
- package/dist/safe-bash/command-chunks/chunk-L2KEA6SN.js +271 -0
- package/dist/safe-bash/command-chunks/chunk-L3WY5ASN.js +526 -0
- package/dist/safe-bash/command-chunks/chunk-L4XEXXVQ.js +399 -0
- package/dist/safe-bash/command-chunks/chunk-LDTUZIJK.js +90 -0
- package/dist/safe-bash/command-chunks/chunk-LHDB4QO5.js +479 -0
- package/dist/safe-bash/command-chunks/chunk-LHL6RWGJ.js +548 -0
- package/dist/safe-bash/command-chunks/chunk-LHRXDH45.js +164 -0
- package/dist/safe-bash/command-chunks/chunk-LQOKYG3O.js +153 -0
- package/dist/safe-bash/command-chunks/chunk-LRDME6WV.js +12 -0
- package/dist/safe-bash/command-chunks/chunk-LWVDJB5S.js +305 -0
- package/dist/safe-bash/command-chunks/chunk-M57GLLK4.js +27 -0
- package/dist/safe-bash/command-chunks/chunk-MAHX3IW3.js +108 -0
- package/dist/safe-bash/command-chunks/{chunk-LQZSR6DT.js → chunk-MDV7W5AS.js} +2 -2
- package/dist/safe-bash/command-chunks/chunk-MG7AJD5E.js +168 -0
- package/dist/safe-bash/command-chunks/chunk-MHJ3DQUE.js +213 -0
- package/dist/safe-bash/command-chunks/chunk-MLGNBD7V.js +552 -0
- package/dist/safe-bash/command-chunks/chunk-MN2M33JK.js +237 -0
- package/dist/safe-bash/command-chunks/chunk-MOL3TRBT.js +32 -0
- package/dist/safe-bash/command-chunks/chunk-MQFXMBGD.js +75 -0
- package/dist/safe-bash/command-chunks/chunk-MQPWE22J.js +171 -0
- package/dist/safe-bash/command-chunks/chunk-MQU6Q75R.js +523 -0
- package/dist/safe-bash/command-chunks/chunk-MWAAMNAM.js +353 -0
- package/dist/safe-bash/command-chunks/chunk-MZ4BTMTI.js +240 -0
- package/dist/safe-bash/command-chunks/chunk-N4DY4FPA.js +679 -0
- package/dist/safe-bash/command-chunks/chunk-N74TJL6X.js +183 -0
- package/dist/safe-bash/command-chunks/chunk-NA5Q4V2H.js +304 -0
- package/dist/safe-bash/command-chunks/chunk-NSM366N6.js +22 -0
- package/dist/safe-bash/command-chunks/chunk-NY4ZPV3N.js +523 -0
- package/dist/safe-bash/command-chunks/chunk-NYBF2BVE.js +17 -0
- package/dist/safe-bash/command-chunks/chunk-OBK24KGM.js +24 -0
- package/dist/safe-bash/command-chunks/{chunk-GDAS4LY7.js → chunk-OEKLEUUW.js} +4 -4
- package/dist/safe-bash/command-chunks/chunk-OGWJD5QP.js +404 -0
- package/dist/safe-bash/command-chunks/chunk-OIPATOZW.js +154 -0
- package/dist/safe-bash/command-chunks/chunk-OP6J3OLL.js +243 -0
- package/dist/safe-bash/command-chunks/chunk-OTTMIB3C.js +266 -0
- package/dist/safe-bash/command-chunks/{chunk-OZHPB4KD.js → chunk-OU4VE5CR.js} +12 -12
- package/dist/safe-bash/command-chunks/chunk-P42REFYL.js +228 -0
- package/dist/safe-bash/command-chunks/{chunk-YJ3TFZB2.js → chunk-PQOAM5SC.js} +1 -1
- package/dist/safe-bash/command-chunks/chunk-PQOIOVF2.js +444 -0
- package/dist/safe-bash/command-chunks/chunk-PRQEVUNE.js +205 -0
- package/dist/safe-bash/command-chunks/{chunk-W5OR7COJ.js → chunk-PVLPWVRH.js} +21 -21
- package/dist/safe-bash/command-chunks/{chunk-BNG4ZMZ3.js → chunk-PXL4NBYP.js} +1 -78
- package/dist/safe-bash/command-chunks/chunk-Q6W5FRZG.js +41 -0
- package/dist/safe-bash/command-chunks/{chunk-KLCHCSIV.js → chunk-QGD64UHJ.js} +1 -1
- package/dist/safe-bash/command-chunks/chunk-QHS7PDG3.js +188 -0
- package/dist/safe-bash/command-chunks/chunk-QXCSASIE.js +151 -0
- package/dist/safe-bash/command-chunks/chunk-QYCBVKFT.js +255 -0
- package/dist/safe-bash/command-chunks/chunk-R4TYL2G6.js +1529 -0
- package/dist/safe-bash/command-chunks/chunk-RAXJVM4U.js +625 -0
- package/dist/safe-bash/command-chunks/chunk-RBFZYSZZ.js +207 -0
- package/dist/safe-bash/command-chunks/chunk-RJHVJZ4H.js +185 -0
- package/dist/safe-bash/command-chunks/chunk-RKPPUYZE.js +213 -0
- package/dist/safe-bash/command-chunks/chunk-RMJNV6Q7.js +23 -0
- package/dist/safe-bash/command-chunks/{chunk-MR2RLUPV.js → chunk-RQHQCJMV.js} +11 -9
- package/dist/safe-bash/command-chunks/chunk-RR6QQ25D.js +71 -0
- package/dist/safe-bash/command-chunks/{chunk-JW3KIZU6.js → chunk-RUXY7GN5.js} +1 -1
- package/dist/safe-bash/command-chunks/chunk-RZC7QHL6.js +112 -0
- package/dist/safe-bash/command-chunks/chunk-RZJRR4UJ.js +1677 -0
- package/dist/safe-bash/command-chunks/chunk-S4OBYRNI.js +639 -0
- package/dist/safe-bash/command-chunks/{chunk-DQNDEWCI.js → chunk-S65T5JJO.js} +12 -12
- package/dist/safe-bash/command-chunks/chunk-S6PPBBXX.js +77 -0
- package/dist/safe-bash/command-chunks/chunk-SCG4LK5U.js +265 -0
- package/dist/safe-bash/command-chunks/chunk-SDTC2BLK.js +143 -0
- package/dist/safe-bash/command-chunks/chunk-SEK43FRN.js +357 -0
- package/dist/safe-bash/command-chunks/chunk-SH45NZ2P.js +194 -0
- package/dist/safe-bash/command-chunks/chunk-SM733XRT.js +250 -0
- package/dist/safe-bash/command-chunks/chunk-SSRGI476.js +116 -0
- package/dist/safe-bash/command-chunks/chunk-SUUD352U.js +127 -0
- package/dist/safe-bash/command-chunks/{chunk-B5F2KQYA.js → chunk-SWUVHT7G.js} +1 -1
- package/dist/safe-bash/command-chunks/chunk-TBAH4XGI.js +38 -0
- package/dist/safe-bash/command-chunks/chunk-TBVWTZTR.js +469 -0
- package/dist/safe-bash/command-chunks/chunk-TGHQGJNR.js +144 -0
- package/dist/safe-bash/command-chunks/{chunk-Q6JLT2EY.js → chunk-TL3KDYEM.js} +8 -110
- package/dist/safe-bash/command-chunks/chunk-TVAEX4WQ.js +473 -0
- package/dist/safe-bash/command-chunks/chunk-TZ2J6LGM.js +163 -0
- package/dist/safe-bash/command-chunks/chunk-UICO7H6S.js +186 -0
- package/dist/safe-bash/command-chunks/chunk-UJTJFMIN.js +501 -0
- package/dist/safe-bash/command-chunks/chunk-UMWWCLBG.js +109 -0
- package/dist/safe-bash/command-chunks/chunk-UPXFSGQG.js +134 -0
- package/dist/safe-bash/command-chunks/chunk-UWUYSXYT.js +272 -0
- package/dist/safe-bash/command-chunks/{chunk-5FMXQUDY.js → chunk-UZOGSYJP.js} +1 -1
- package/dist/safe-bash/command-chunks/chunk-V3RGA5PS.js +125 -0
- package/dist/safe-bash/command-chunks/chunk-VEUQWV2V.js +287 -0
- package/dist/safe-bash/command-chunks/chunk-VGKYTZT5.js +161 -0
- package/dist/safe-bash/command-chunks/chunk-VQUEIEVP.js +410 -0
- package/dist/safe-bash/command-chunks/chunk-VU3YUC3U.js +169 -0
- package/dist/safe-bash/command-chunks/chunk-W32KW66B.js +27 -0
- package/dist/safe-bash/command-chunks/chunk-W543LSYH.js +899 -0
- package/dist/safe-bash/command-chunks/chunk-W5YFDYHO.js +387 -0
- package/dist/safe-bash/command-chunks/chunk-W6DV2CLS.js +267 -0
- package/dist/safe-bash/command-chunks/chunk-WAKYUXVQ.js +215 -0
- package/dist/safe-bash/command-chunks/chunk-WGOL3MM6.js +125 -0
- package/dist/safe-bash/command-chunks/{chunk-N2A7V3WY.js → chunk-WHNYT34N.js} +3 -3
- package/dist/safe-bash/command-chunks/chunk-WOZCIRJ5.js +169 -0
- package/dist/safe-bash/command-chunks/chunk-WVB6ONZS.js +232 -0
- package/dist/safe-bash/command-chunks/chunk-WVESNAND.js +25 -0
- package/dist/safe-bash/command-chunks/chunk-XDEA3TL5.js +322 -0
- package/dist/safe-bash/command-chunks/chunk-XFEUWSYG.js +357 -0
- package/dist/safe-bash/command-chunks/chunk-XFMJ4RMS.js +2849 -0
- package/dist/safe-bash/command-chunks/chunk-XH6DXJHX.js +196 -0
- package/dist/safe-bash/command-chunks/chunk-XNJ67APB.js +6 -0
- package/dist/safe-bash/command-chunks/chunk-XP6BHGZ6.js +227 -0
- package/dist/safe-bash/command-chunks/chunk-XXFHTGV2.js +142 -0
- package/dist/safe-bash/command-chunks/chunk-Y5GI5PVT.js +139 -0
- package/dist/safe-bash/command-chunks/chunk-Y6KHC3JB.js +177 -0
- package/dist/safe-bash/command-chunks/{chunk-2UWPMSME.js → chunk-Y72LPXST.js} +8 -8
- package/dist/safe-bash/command-chunks/chunk-YDRWQZNB.js +69 -0
- package/dist/safe-bash/command-chunks/{chunk-P4OJBL2B.js → chunk-YFZ6FPIC.js} +1 -1
- package/dist/safe-bash/command-chunks/chunk-YH4DC4RP.js +171 -0
- package/dist/safe-bash/command-chunks/chunk-YH7KKMMN.js +463 -0
- package/dist/safe-bash/command-chunks/{chunk-MN3BB4WW.js → chunk-YP3WWV5N.js} +4 -4
- package/dist/safe-bash/command-chunks/chunk-YPVBU7QF.js +2817 -0
- package/dist/safe-bash/command-chunks/chunk-YQYVEVUE.js +1621 -0
- package/dist/safe-bash/command-chunks/chunk-YRNBIU5U.js +175 -0
- package/dist/safe-bash/command-chunks/chunk-Z7ESJVFP.js +10 -0
- package/dist/safe-bash/command-chunks/chunk-ZTAFAHY3.js +653 -0
- package/dist/safe-bash/command-chunks/chunk-ZXKOMB24.js +85 -0
- package/dist/safe-bash/command-chunks/{clipboard-XCSQACOK-SHFXT53F.js → clipboard-6SDGQGC3-TVJ3CG7A.js} +4 -4
- package/dist/safe-bash/command-chunks/{command-engine-4TEGTXCQ.js → command-engine-KMLHVFMA.js} +356 -316
- package/dist/safe-bash/command-chunks/{engine-QDC5VCGO-LYAAFESF.js → engine-EOYR2WTY-KUFLFTDE.js} +2 -4
- package/dist/safe-bash/command-chunks/{gnumeric-OCFH63UT-YI7SG7TN.js → gnumeric-ABKSRBZJ-MPIIPXKP.js} +3 -3
- package/dist/safe-bash/command-chunks/inspection-command-ULEU7ZVV.js +7 -0
- package/dist/safe-bash/command-chunks/model-store-JUFU3RSW.js +54 -0
- package/dist/safe-bash/command-chunks/pdf-22JDKKAR-UDWNSWYB.js +338 -0
- package/dist/safe-bash/command-chunks/{pptx-XG3YSXWZ-XAG36NAB.js → pptx-YDKHIGCD-H7FU4VMJ.js} +2 -2
- package/dist/safe-bash/commands/bc/index.browser.js +2 -2
- package/dist/safe-bash/commands/diffpdf/index.d.ts +2 -0
- package/dist/safe-bash/commands/diffpdf/index.js +2 -0
- package/dist/safe-bash/commands/dot/index.d.ts +2 -0
- package/dist/safe-bash/commands/dot/index.js +2 -0
- package/dist/safe-bash/commands/llm/collections.browser.js +6 -0
- package/dist/safe-bash/commands/llm/collections.d.ts +2 -0
- package/dist/safe-bash/commands/llm/collections.js +2 -0
- package/dist/safe-bash/commands/pandoc/index.browser.js +1 -1
- package/dist/safe-bash/commands/rsvg-convert/index.d.ts +2 -0
- package/dist/safe-bash/commands/rsvg-convert/index.js +2 -0
- package/dist/safe-bash/commands/safejs/io.d.ts +1 -1
- package/dist/safe-bash/commands/safejs/io.js +1 -1
- package/dist/safe-bash/commands/safejs/options.d.ts +1 -1
- package/dist/safe-bash/commands/safejs/options.js +1 -1
- package/dist/safe-bash/commands/safejs/render.d.ts +1 -1
- package/dist/safe-bash/commands/safejs/render.js +1 -1
- package/dist/safe-bash/commands/safejs/runtime.d.ts +1 -1
- package/dist/safe-bash/commands/safejs/runtime.js +1 -1
- package/dist/safe-bash/commands/safejs/types.d.ts +1 -1
- package/dist/safe-bash/commands/safejs/types.js +1 -1
- package/dist/safe-bash/commands/wdiff/index.d.ts +2 -0
- package/dist/safe-bash/commands/wdiff/index.js +2 -0
- package/dist/safe-bash/core.d.ts +4 -0
- package/dist/safe-bash/core.js +4 -0
- package/dist/safe-bash/full-core.browser.js +59 -35
- package/dist/safe-bash/optional-host.browser.js +7 -7
- package/dist/safe-bash/plugins/index.browser.js +7 -7
- package/dist/safe-bash/registry-entry.browser.js +6 -6
- package/dist/safe-bash/search.browser.js +2 -2
- package/dist/safe-bash/shell-entry.browser.js +3 -3
- package/dist/safe-bash-checksum-engine/index.js +83 -40
- package/dist/safe-bash-checksum-engine/md5.d.ts +2 -0
- package/dist/safe-bash-checksum-engine/md5.js +7 -0
- package/dist/safe-bash-command-awk/awk-inspection.js +2 -2
- package/dist/safe-bash-command-awk/awk-runtime.js +2 -2
- package/dist/safe-bash-command-awk/awk.js +7 -7
- package/dist/safe-bash-command-awk/index.js +7 -7
- package/dist/safe-bash-command-chmod/command.js +1 -1
- package/dist/safe-bash-command-chmod/index.js +1 -1
- package/dist/safe-bash-command-csvkit/index.js +6 -6
- package/dist/safe-bash-command-diff/index.js +3 -3
- package/dist/safe-bash-command-diffpdf/LICENSE +21 -0
- package/dist/safe-bash-command-diffpdf/index.d.ts +12 -0
- package/dist/safe-bash-command-diffpdf/index.js +107 -0
- package/dist/safe-bash-command-docx/command.d.ts +36 -0
- package/dist/{safe-bash-docx-engine → safe-bash-command-docx}/discovery.d.ts +4 -4
- package/dist/safe-bash-command-docx/index.js +1 -1
- package/dist/{safe-bash-docx-engine → safe-bash-command-docx}/inspection-command.d.ts +6 -6
- package/dist/safe-bash-command-docx/sdk.d.ts +4 -0
- package/dist/safe-bash-command-docx/sdk.js +24 -0
- package/dist/safe-bash-command-dot/LICENSE +21 -0
- package/dist/safe-bash-command-dot/index.d.ts +14 -0
- package/dist/safe-bash-command-dot/index.js +1298 -0
- package/dist/safe-bash-command-du/arguments.d.ts +1 -1
- package/dist/safe-bash-command-du/arguments.js +1 -1
- package/dist/safe-bash-command-du/du.js +2 -2
- package/dist/safe-bash-command-du/index.js +2 -2
- package/dist/safe-bash-command-factor/command.js +2 -2
- package/dist/safe-bash-command-factor/index.js +2 -2
- package/dist/safe-bash-command-ffmpeg/index.js +16 -16
- package/dist/safe-bash-command-imagemagick/index.js +21 -53
- package/dist/safe-bash-command-llm/collections-embed.d.ts +23 -0
- package/dist/safe-bash-command-llm/collections.d.ts +38 -0
- package/dist/safe-bash-command-llm/collections.js +423 -0
- package/dist/safe-bash-command-llm/command.js +4 -2
- package/dist/safe-bash-command-llm/index.js +12 -8
- package/dist/safe-bash-command-llm/openai.js +4 -3
- package/dist/safe-bash-command-llm/providers/index.js +6 -4
- package/dist/safe-bash-command-llm/providers/openai.js +4 -3
- package/dist/safe-bash-command-node/commands/node/browser.js +9 -12
- package/dist/safe-bash-command-node/commands/node/buffer.js +2 -2
- package/dist/safe-bash-command-node/commands/node/default-runtime.js +9 -12
- package/dist/safe-bash-command-node/commands/node/filesystem.js +3 -3
- package/dist/safe-bash-command-node/commands/node/safejs.js +9 -12
- package/dist/safe-bash-command-node/commands/node/source-maps.js +2 -2
- package/dist/safe-bash-command-node/commands/node/timers.js +3 -3
- package/dist/safe-bash-command-node/commands/safejs/io.d.ts +1 -35
- package/dist/safe-bash-command-node/commands/safejs/io.js +3 -7
- package/dist/safe-bash-command-node/commands/safejs/options.d.ts +2 -22
- package/dist/safe-bash-command-node/commands/safejs/options.js +1 -1
- package/dist/safe-bash-command-node/commands/safejs/render.d.ts +1 -1
- package/dist/safe-bash-command-node/commands/safejs/render.js +3 -5
- package/dist/safe-bash-command-node/commands/safejs/runtime.d.ts +2 -25
- package/dist/safe-bash-command-node/commands/safejs/runtime.js +1 -7
- package/dist/safe-bash-command-node/commands/safejs/types.d.ts +2 -85
- package/dist/safe-bash-command-node/commands/safejs/types.js +1 -1
- package/dist/safe-bash-command-node/integrations/safejs/filesystem.d.ts +2 -5
- package/dist/safe-bash-command-node/integrations/safejs/filesystem.js +3 -3
- package/dist/safe-bash-command-node/integrations/safejs/shell.js +1 -1
- package/dist/safe-bash-command-node/integrations/safejs/values.d.ts +1 -7
- package/dist/safe-bash-command-node/integrations/safejs/values.js +1 -1
- package/dist/safe-bash-command-openssl/index.js +15452 -420
- package/dist/safe-bash-command-pandoc/command.js +1 -1
- package/dist/safe-bash-command-pandoc/index.js +1 -1
- package/dist/safe-bash-command-patch/index.js +5 -5
- package/dist/safe-bash-command-patch/patch.js +4 -4
- package/dist/safe-bash-command-playwright-cli/index.js +25 -25
- package/dist/safe-bash-command-playwright-cli/playwright/abilities.js +8 -8
- package/dist/safe-bash-command-playwright-cli/playwright/controller.js +16 -16
- package/dist/safe-bash-command-playwright-cli/playwright/index.js +25 -25
- package/dist/safe-bash-command-playwright-cli/playwright/standard-capabilities.js +4 -4
- package/dist/{safe-bash-pptx-engine → safe-bash-command-pptx}/command-engine.d.ts +5 -13
- package/dist/safe-bash-command-pptx/engine.d.ts +4 -0
- package/dist/safe-bash-command-pptx/engine.js +37 -0
- package/dist/safe-bash-command-pptx/index.js +1 -1
- package/dist/safe-bash-command-python/executor.js +15 -15
- package/dist/safe-bash-command-python/index.js +15 -15
- package/dist/safe-bash-command-python/jspi.js +4 -4
- package/dist/safe-bash-command-qrencode/index.js +1 -4
- package/dist/safe-bash-command-rsvg-convert/LICENSE +21 -0
- package/dist/safe-bash-command-rsvg-convert/index.d.ts +13 -0
- package/dist/safe-bash-command-rsvg-convert/index.js +84 -0
- package/dist/safe-bash-command-safejs/LICENSE +21 -0
- package/dist/safe-bash-command-safejs/filesystem.d.ts +5 -0
- package/dist/safe-bash-command-safejs/filesystem.js +7 -0
- package/dist/safe-bash-command-safejs/index.d.ts +4 -0
- package/dist/safe-bash-command-safejs/index.js +19 -0
- package/dist/safe-bash-command-safejs/io.d.ts +35 -0
- package/dist/safe-bash-command-safejs/io.js +12 -0
- package/dist/safe-bash-command-safejs/options.d.ts +22 -0
- package/dist/safe-bash-command-safejs/options.js +11 -0
- package/dist/safe-bash-command-safejs/render.d.ts +1 -0
- package/dist/safe-bash-command-safejs/render.js +9 -0
- package/dist/safe-bash-command-safejs/runtime.d.ts +25 -0
- package/dist/safe-bash-command-safejs/runtime.js +13 -0
- package/dist/safe-bash-command-safejs/types.d.ts +85 -0
- package/dist/safe-bash-command-safejs/types.js +7 -0
- package/dist/safe-bash-command-safejs/values.d.ts +7 -0
- package/dist/safe-bash-command-safejs/values.js +19 -0
- package/dist/safe-bash-command-sips/index.js +1 -14
- package/dist/safe-bash-command-ssconvert/index.js +413 -546
- package/dist/safe-bash-command-ssconvert/rendering/chart/axis.d.ts +1 -26
- package/dist/safe-bash-command-ssconvert/rendering/chart/error-bar.d.ts +1 -39
- package/dist/safe-bash-command-ssconvert/rendering/chart/layout.d.ts +1 -24
- package/dist/safe-bash-command-ssconvert/rendering/chart/line.d.ts +1 -23
- package/dist/safe-bash-command-ssconvert/rendering/chart/marker.d.ts +1 -35
- package/dist/safe-bash-command-ssconvert/rendering/chart/pie.d.ts +1 -32
- package/dist/safe-bash-command-ssconvert/rendering/images/index.d.ts +1 -26
- package/dist/safe-bash-command-ssconvert/rendering/print/header-footer.d.ts +1 -16
- package/dist/safe-bash-command-ssconvert/rendering/print/layout.d.ts +1 -65
- package/dist/safe-bash-command-ssconvert/rendering/print/pagination.d.ts +1 -34
- package/dist/safe-bash-command-tar/create.js +4 -4
- package/dist/safe-bash-command-tar/extract.js +4 -4
- package/dist/safe-bash-command-tar/index.js +16 -14
- package/dist/safe-bash-command-tar/modes.js +6 -6
- package/dist/safe-bash-command-tar/options.d.ts +3 -1
- package/dist/safe-bash-command-tar/options.js +1 -1
- package/dist/safe-bash-command-unzip/index.js +4 -4
- package/dist/safe-bash-command-wdiff/LICENSE +21 -0
- package/dist/safe-bash-command-wdiff/index.d.ts +12 -0
- package/dist/safe-bash-command-wdiff/index.js +123 -0
- package/dist/safe-bash-compression-engine/bounded-codec.js +2 -2
- package/dist/safe-bash-compression-engine/codec-loader.js +1 -1
- package/dist/safe-bash-compression-engine/files.js +5 -5
- package/dist/safe-bash-compression-engine/index.js +4 -4
- package/dist/safe-bash-compression-engine/operand.js +5 -5
- package/dist/safe-bash-compression-engine/stream.js +4 -4
- package/dist/safe-bash-compression-engine/zstd-decode.js +3 -3
- package/dist/safe-bash-contracts/escaping.js +2 -2
- package/dist/safe-bash-contracts/index.js +15 -15
- package/dist/safe-bash-docx-engine/admission.js +31 -0
- package/dist/safe-bash-docx-engine/ancillary-resources.js +38 -0
- package/dist/safe-bash-docx-engine/archive.js +24 -0
- package/dist/safe-bash-docx-engine/argument-json.js +25 -0
- package/dist/safe-bash-docx-engine/batch-operations.d.ts +7 -0
- package/dist/safe-bash-docx-engine/batch-operations.js +95 -0
- package/dist/safe-bash-docx-engine/batch-result-schema.d.ts +2 -0
- package/dist/safe-bash-docx-engine/batch-result-schema.js +145 -0
- package/dist/safe-bash-docx-engine/batch.js +106 -0
- package/dist/safe-bash-docx-engine/bookmarks.js +43 -0
- package/dist/safe-bash-docx-engine/budget.js +18 -0
- package/dist/safe-bash-docx-engine/charts.js +35 -0
- package/dist/safe-bash-docx-engine/command-option-rules.d.ts +1 -0
- package/dist/safe-bash-docx-engine/command-option-rules.js +24 -0
- package/dist/safe-bash-docx-engine/command-properties.d.ts +1 -0
- package/dist/safe-bash-docx-engine/command-properties.js +18 -0
- package/dist/safe-bash-docx-engine/command-selection.d.ts +1 -0
- package/dist/safe-bash-docx-engine/command-selection.js +15 -0
- package/dist/safe-bash-docx-engine/comments.js +53 -0
- package/dist/safe-bash-docx-engine/control-bindings.js +45 -0
- package/dist/safe-bash-docx-engine/control-repeat.js +46 -0
- package/dist/safe-bash-docx-engine/controls.js +52 -0
- package/dist/safe-bash-docx-engine/create.js +36 -0
- package/dist/safe-bash-docx-engine/diagrams.js +43 -0
- package/dist/safe-bash-docx-engine/diff.js +33 -0
- package/dist/safe-bash-docx-engine/discovery-result-schema.d.ts +72 -0
- package/dist/safe-bash-docx-engine/discovery-result-schema.js +36 -0
- package/dist/safe-bash-docx-engine/document-properties.js +43 -0
- package/dist/safe-bash-docx-engine/equations.js +53 -0
- package/dist/safe-bash-docx-engine/extract.js +40 -0
- package/dist/safe-bash-docx-engine/fields.js +48 -0
- package/dist/safe-bash-docx-engine/font-inventory.js +40 -0
- package/dist/safe-bash-docx-engine/font-resources.js +33 -0
- package/dist/safe-bash-docx-engine/image-batch-operations.d.ts +4 -0
- package/dist/safe-bash-docx-engine/image-batch-operations.js +35 -0
- package/dist/safe-bash-docx-engine/image-insertion.js +46 -0
- package/dist/safe-bash-docx-engine/image-layout.js +43 -0
- package/dist/safe-bash-docx-engine/image-replacement.js +48 -0
- package/dist/safe-bash-docx-engine/images.js +49 -0
- package/dist/safe-bash-docx-engine/index.d.ts +1 -3
- package/dist/safe-bash-docx-engine/index.js +369 -19350
- package/dist/safe-bash-docx-engine/inspection.js +49 -0
- package/dist/safe-bash-docx-engine/invocation.d.ts +50 -0
- package/dist/safe-bash-docx-engine/invocation.js +66 -0
- package/dist/safe-bash-docx-engine/io-errors.js +11 -0
- package/dist/safe-bash-docx-engine/io.js +29 -0
- package/dist/safe-bash-docx-engine/links.js +47 -0
- package/dist/safe-bash-docx-engine/lists.js +46 -0
- package/dist/safe-bash-docx-engine/location-token.js +27 -0
- package/dist/safe-bash-docx-engine/locations.js +39 -0
- package/dist/safe-bash-docx-engine/model-context.js +15 -0
- package/dist/safe-bash-docx-engine/model-errors.js +13 -0
- package/dist/safe-bash-docx-engine/notes.js +48 -0
- package/dist/safe-bash-docx-engine/objects.js +49 -0
- package/dist/safe-bash-docx-engine/operation-json-schema.js +21 -0
- package/dist/safe-bash-docx-engine/operation-schema.js +29 -0
- package/dist/safe-bash-docx-engine/pack-uri-batch-operations.d.ts +3 -0
- package/dist/safe-bash-docx-engine/pack-uri-batch-operations.js +15 -0
- package/dist/safe-bash-docx-engine/pack.js +38 -0
- package/dist/safe-bash-docx-engine/package-view-batch-operations.d.ts +4 -0
- package/dist/safe-bash-docx-engine/package-view-batch-operations.js +47 -0
- package/dist/safe-bash-docx-engine/package-xml.js +25 -0
- package/dist/safe-bash-docx-engine/pandoc-adapter.js +55 -6
- package/dist/safe-bash-docx-engine/paragraph-edit.js +52 -0
- package/dist/safe-bash-docx-engine/part-provider.js +18 -0
- package/dist/safe-bash-docx-engine/property-values.js +46 -0
- package/dist/safe-bash-docx-engine/publication.js +40 -0
- package/dist/safe-bash-docx-engine/removal.js +44 -0
- package/dist/safe-bash-docx-engine/revision-decisions.js +46 -0
- package/dist/safe-bash-docx-engine/revision-edit.js +43 -0
- package/dist/safe-bash-docx-engine/revisions.js +42 -0
- package/dist/safe-bash-docx-engine/run-format.js +43 -0
- package/dist/safe-bash-docx-engine/sanitize.js +59 -0
- package/dist/safe-bash-docx-engine/sections.js +47 -0
- package/dist/safe-bash-docx-engine/settings.js +36 -0
- package/dist/safe-bash-docx-engine/shape-edit.js +47 -0
- package/dist/safe-bash-docx-engine/signatures.js +42 -0
- package/dist/safe-bash-docx-engine/simple-selection.d.ts +1 -1
- package/dist/safe-bash-docx-engine/stories.js +48 -0
- package/dist/safe-bash-docx-engine/structure-model-batch-operations.d.ts +3 -0
- package/dist/safe-bash-docx-engine/structure-model-batch-operations.js +64 -0
- package/dist/safe-bash-docx-engine/style-model-batch-operations.js +57 -0
- package/dist/safe-bash-docx-engine/style-model-result-schema.d.ts +4 -0
- package/dist/safe-bash-docx-engine/style-model-result-schema.js +76 -0
- package/dist/safe-bash-docx-engine/styles.js +44 -0
- package/dist/safe-bash-docx-engine/table-edit.js +52 -0
- package/dist/safe-bash-docx-engine/table-read.js +38 -0
- package/dist/safe-bash-docx-engine/template.js +45 -0
- package/dist/safe-bash-docx-engine/text-replace.js +47 -0
- package/dist/safe-bash-docx-engine/text-resource-read.js +42 -0
- package/dist/safe-bash-docx-engine/text.js +36 -0
- package/dist/safe-bash-docx-engine/validation.js +30 -0
- package/dist/safe-bash-docx-engine/xml-parts.js +48 -0
- package/dist/safe-bash-markdown-engine/index.js +3 -3
- package/dist/safe-bash-network-engine/aggregate.js +3 -3
- package/dist/safe-bash-network-engine/args.js +3 -3
- package/dist/safe-bash-network-engine/body.js +4 -4
- package/dist/safe-bash-network-engine/decode.js +3 -3
- package/dist/safe-bash-network-engine/fetch-transport.js +3 -3
- package/dist/safe-bash-network-engine/index.js +3 -3
- package/dist/safe-bash-network-engine/output.js +3 -3
- package/dist/safe-bash-network-engine/platform-portable.js +3 -3
- package/dist/safe-bash-network-engine/shared.js +2 -2
- package/dist/safe-bash-network-engine/transfer.js +20 -20
- package/dist/safe-bash-pptx-engine/bytes.d.ts +1 -4
- package/dist/safe-bash-pptx-engine/bytes.js +2 -11
- package/dist/safe-bash-pptx-engine/index.d.ts +1 -103
- package/dist/safe-bash-pptx-engine/index.js +1 -662
- package/dist/safe-bash-presentation-engine/LICENSE +21 -0
- package/dist/safe-bash-presentation-engine/accessibility.js +43 -0
- package/dist/safe-bash-presentation-engine/animation-editing.js +29 -0
- package/dist/safe-bash-presentation-engine/animations.js +23 -0
- package/dist/safe-bash-presentation-engine/backgrounds.js +26 -0
- package/dist/safe-bash-presentation-engine/bytes.d.ts +4 -0
- package/dist/safe-bash-presentation-engine/bytes.js +13 -0
- package/dist/safe-bash-presentation-engine/chart-editing.js +60 -0
- package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/chart-enums.d.ts +2 -2
- package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/chart-object-operations.d.ts +1 -1
- package/dist/safe-bash-presentation-engine/chart-object-operations.js +35 -0
- package/dist/safe-bash-presentation-engine/charts.js +41 -0
- package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/color-enums.d.ts +5 -5
- package/dist/safe-bash-presentation-engine/command-placeholder.js +64 -0
- package/dist/safe-bash-presentation-engine/comments.js +32 -0
- package/dist/safe-bash-presentation-engine/connector-operations.js +50 -0
- package/dist/safe-bash-presentation-engine/connectors.js +49 -0
- package/dist/safe-bash-presentation-engine/content-types.js +9 -0
- package/dist/safe-bash-presentation-engine/contracts.js +0 -0
- package/dist/safe-bash-presentation-engine/creation.js +15 -0
- package/dist/safe-bash-presentation-engine/diff.js +40 -0
- package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/drawing-enums.d.ts +20 -20
- package/dist/safe-bash-presentation-engine/drawing-format.js +44 -0
- package/dist/safe-bash-presentation-engine/drawing-operations.js +41 -0
- package/dist/safe-bash-presentation-engine/drawing-schema.d.ts +1549 -0
- package/dist/safe-bash-presentation-engine/drawing-schema.js +33 -0
- package/dist/safe-bash-presentation-engine/equations.js +30 -0
- package/dist/safe-bash-presentation-engine/errors.js +23 -0
- package/dist/safe-bash-presentation-engine/fields.js +32 -0
- package/dist/safe-bash-presentation-engine/font-metrics.js +12 -0
- package/dist/safe-bash-presentation-engine/image-extraction.js +29 -0
- package/dist/safe-bash-presentation-engine/image-formatting.js +43 -0
- package/dist/safe-bash-presentation-engine/image-insertion.js +26 -0
- package/dist/safe-bash-presentation-engine/image-metadata.d.ts +9 -0
- package/dist/safe-bash-presentation-engine/image-metadata.js +9 -0
- package/dist/safe-bash-presentation-engine/image-replacement.js +30 -0
- package/dist/safe-bash-presentation-engine/image-value.js +15 -0
- package/dist/safe-bash-presentation-engine/images.js +30 -0
- package/dist/safe-bash-presentation-engine/index.d.ts +100 -0
- package/dist/safe-bash-presentation-engine/index.js +791 -0
- package/dist/safe-bash-presentation-engine/layouts.js +31 -0
- package/dist/safe-bash-presentation-engine/length.js +21 -0
- package/dist/safe-bash-presentation-engine/links.js +33 -0
- package/dist/safe-bash-presentation-engine/masters.js +54 -0
- package/dist/safe-bash-presentation-engine/media-editing.js +35 -0
- package/dist/safe-bash-presentation-engine/media-extraction.js +24 -0
- package/dist/safe-bash-presentation-engine/media.js +23 -0
- package/dist/safe-bash-presentation-engine/memberships.js +24 -0
- package/dist/safe-bash-presentation-engine/notes.js +27 -0
- package/dist/safe-bash-presentation-engine/ole-enum.js +10 -0
- package/dist/safe-bash-presentation-engine/ole-insertion.js +29 -0
- package/dist/safe-bash-presentation-engine/opaque-objects.js +21 -0
- package/dist/safe-bash-presentation-engine/package-reader.js +13 -0
- package/dist/safe-bash-presentation-engine/package-tools.js +25 -0
- package/dist/safe-bash-presentation-engine/package-uri.d.ts +13 -0
- package/dist/safe-bash-presentation-engine/package-uri.js +16 -0
- package/dist/safe-bash-presentation-engine/package-writer.js +13 -0
- package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/presentation-model.d.ts +1 -1
- package/dist/safe-bash-presentation-engine/presentation-model.js +63 -0
- package/dist/safe-bash-presentation-engine/presentation-settings.js +25 -0
- package/dist/safe-bash-presentation-engine/properties.js +37 -0
- package/dist/safe-bash-presentation-engine/publication.d.ts +10 -0
- package/dist/safe-bash-presentation-engine/publication.js +0 -0
- package/dist/safe-bash-presentation-engine/relationships.js +16 -0
- package/dist/safe-bash-presentation-engine/resource-limits.js +8 -0
- package/dist/safe-bash-presentation-engine/sanitize.js +24 -0
- package/dist/safe-bash-presentation-engine/selector-schema.js +7 -0
- package/dist/safe-bash-presentation-engine/selectors.js +26 -0
- package/dist/safe-bash-presentation-engine/shape-groups.js +47 -0
- package/dist/safe-bash-presentation-engine/shape-operations.js +48 -0
- package/dist/safe-bash-presentation-engine/shape-path-operations.js +44 -0
- package/dist/safe-bash-presentation-engine/shape-paths.js +31 -0
- package/dist/safe-bash-presentation-engine/shape-presets.js +11 -0
- package/dist/safe-bash-presentation-engine/shape-selection.js +43 -0
- package/dist/safe-bash-presentation-engine/shape-transforms.js +28 -0
- package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/shape-types.d.ts +1 -1
- package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/shapes.d.ts +1 -1
- package/dist/safe-bash-presentation-engine/shapes.js +66 -0
- package/dist/safe-bash-presentation-engine/slide-copy.js +24 -0
- package/dist/safe-bash-presentation-engine/slide-import.js +27 -0
- package/dist/safe-bash-presentation-engine/slide-merge-split.js +33 -0
- package/dist/safe-bash-presentation-engine/slide-model.js +74 -0
- package/dist/safe-bash-presentation-engine/slide-removal.js +25 -0
- package/dist/safe-bash-presentation-engine/slide-transfer-budget.js +17 -0
- package/dist/safe-bash-presentation-engine/slides.js +26 -0
- package/dist/safe-bash-presentation-engine/table-operations.js +51 -0
- package/dist/safe-bash-presentation-engine/table-spans.js +42 -0
- package/dist/safe-bash-presentation-engine/tables.js +45 -0
- package/dist/safe-bash-presentation-engine/tags.js +25 -0
- package/dist/safe-bash-presentation-engine/template-bindings.js +44 -0
- package/dist/safe-bash-presentation-engine/template-repeat.js +51 -0
- package/dist/safe-bash-presentation-engine/text-fitting.js +39 -0
- package/dist/safe-bash-presentation-engine/text-frames.js +52 -0
- package/dist/safe-bash-presentation-engine/text-paragraphs.js +58 -0
- package/dist/safe-bash-presentation-engine/text-reading.js +23 -0
- package/dist/safe-bash-presentation-engine/text-replacement.js +24 -0
- package/dist/safe-bash-presentation-engine/text-runs.js +45 -0
- package/dist/safe-bash-presentation-engine/themes.js +31 -0
- package/dist/safe-bash-presentation-engine/transitions.js +27 -0
- package/dist/safe-bash-presentation-engine/validation.js +14 -0
- package/dist/safe-bash-presentation-engine/xml-parts.js +25 -0
- package/dist/safe-bash-presentation-engine/xml-view.js +8 -0
- package/dist/safe-bash-presentation-engine/xml.js +8 -0
- package/dist/safe-bash-sqlite-engine/sqlite-edit-snapshot.d.ts +15 -0
- package/dist/safe-bash-sqlite-engine/sqlite-finalization.d.ts +7 -0
- package/dist/safe-bash-sqlite-engine/sqlite-pages.d.ts +18 -0
- package/dist/safe-bash-sqlite-engine/sqlite-record-read.d.ts +8 -0
- package/dist/safe-bash-sqlite-engine/sqlite-record-write.d.ts +20 -0
- package/dist/safe-bash-sqlite-engine/storage.d.ts +2 -0
- package/dist/safe-bash-sqlite-engine/storage.js +236 -55
- package/dist/safe-bash-svg-engine/LICENSE +21 -0
- package/dist/safe-bash-svg-engine/index.d.ts +8 -0
- package/dist/safe-bash-svg-engine/index.js +477 -0
- package/dist/safe-bash-zip-engine/index.js +3 -3
- package/dist/safe-bash-zip-engine/zip/repair.js +3 -3
- package/dist/safe-bash-zip-engine/zip/sfx.js +3 -3
- package/dist/safe-bash-zip-engine/zip-format.js +3 -3
- package/dist/safe-playwright-cloudflare/browser-provider.generated.js +55 -18
- package/dist/safe-playwright-cloudflare/browser-run-code-guest.generated.js +1 -1
- package/dist/spreadsheet-engine/datasource.js +4 -1
- package/dist/spreadsheet-engine/formulas/functions/math.js +3 -1
- package/dist/spreadsheet-engine/rendering/chart/axis.d.ts +26 -0
- package/dist/spreadsheet-engine/rendering/chart/axis.js +61 -0
- package/dist/spreadsheet-engine/rendering/chart/error-bar.d.ts +39 -0
- package/dist/spreadsheet-engine/rendering/chart/error-bar.js +59 -0
- package/dist/spreadsheet-engine/rendering/chart/layout.d.ts +24 -0
- package/dist/spreadsheet-engine/rendering/chart/layout.js +54 -0
- package/dist/spreadsheet-engine/rendering/chart/line.d.ts +23 -0
- package/dist/spreadsheet-engine/rendering/chart/line.js +56 -0
- package/dist/spreadsheet-engine/rendering/chart/marker.d.ts +35 -0
- package/dist/spreadsheet-engine/rendering/chart/marker.js +52 -0
- package/dist/spreadsheet-engine/rendering/chart/pie.d.ts +32 -0
- package/dist/spreadsheet-engine/rendering/chart/pie.js +47 -0
- package/dist/{safe-bash-command-ssconvert → spreadsheet-engine}/rendering/images/codecs.d.ts +0 -1
- package/dist/spreadsheet-engine/rendering/images/codecs.js +253 -0
- package/dist/spreadsheet-engine/rendering/images/index.d.ts +26 -0
- package/dist/spreadsheet-engine/rendering/images/index.js +144 -0
- package/dist/spreadsheet-engine/rendering/images/profile-raster.d.ts +4 -0
- package/dist/spreadsheet-engine/rendering/images/profile-raster.js +72 -0
- package/dist/spreadsheet-engine/rendering/images/scene.d.ts +3 -0
- package/dist/spreadsheet-engine/rendering/images/scene.js +34 -0
- package/dist/spreadsheet-engine/rendering/print/cell-style.d.ts +10 -0
- package/dist/spreadsheet-engine/rendering/print/cell-style.js +52 -0
- package/dist/spreadsheet-engine/rendering/print/font-normalization-data.d.ts +43 -0
- package/dist/spreadsheet-engine/rendering/print/font-normalization-data.js +1558 -0
- package/dist/spreadsheet-engine/rendering/print/font-normalization.d.ts +3 -0
- package/dist/spreadsheet-engine/rendering/print/font-normalization.js +113 -0
- package/dist/spreadsheet-engine/rendering/print/font-shaping.d.ts +18 -0
- package/dist/spreadsheet-engine/rendering/print/font-shaping.js +271 -0
- package/dist/spreadsheet-engine/rendering/print/harfbuzz/data.d.ts +1 -0
- package/dist/spreadsheet-engine/rendering/print/harfbuzz/data.js +2 -0
- package/dist/spreadsheet-engine/rendering/print/header-footer.d.ts +16 -0
- package/dist/spreadsheet-engine/rendering/print/header-footer.js +92 -0
- package/dist/spreadsheet-engine/rendering/print/layout.d.ts +65 -0
- package/dist/spreadsheet-engine/rendering/print/layout.js +75 -0
- package/dist/spreadsheet-engine/rendering/print/pagination.d.ts +34 -0
- package/dist/spreadsheet-engine/rendering/print/pagination.js +126 -0
- package/dist/spreadsheet-engine/rendering/print/settings.d.ts +42 -0
- package/dist/spreadsheet-engine/rendering/print/settings.js +159 -0
- package/dist/spreadsheet-format-xls/biff-metadata.js +3 -3
- package/dist/spreadsheet-format-xls/biff-write-metadata.d.ts +1 -1
- package/dist/spreadsheet-format-xls/biff-write-metadata.js +20 -3
- package/dist/spreadsheet-format-xls/biff-write.js +1 -1
- package/package.json +239 -12
- package/third-party/spreadsheet-engine/scripts/harfbuzz/README.md +39 -0
- package/third-party/spreadsheet-engine/scripts/harfbuzz/allocator.cc +18 -0
- package/third-party/spreadsheet-engine/scripts/harfbuzz/build.mjs +94 -0
- package/third-party/spreadsheet-engine/scripts/harfbuzz/completion.patch +98 -0
- package/third-party/spreadsheet-engine/scripts/harfbuzz/config-override.h +19 -0
- package/third-party/spreadsheet-engine/scripts/harfbuzz/exports.json +29 -0
- package/third-party/spreadsheet-engine/scripts/harfbuzz/sources.json +274 -0
- package/third-party/spreadsheet-engine/scripts/harfbuzz/verify.d.mts +10 -0
- package/third-party/spreadsheet-engine/scripts/harfbuzz/verify.mjs +96 -0
- package/third-party/spreadsheet-engine/scripts/harfbuzz/verify.test.mjs +60 -0
- package/third-party/spreadsheet-engine/src/rendering/images/NOTICE.md +22 -0
- package/third-party/spreadsheet-engine/src/rendering/print/NOTICE.md +30 -0
- package/third-party/spreadsheet-engine/src/rendering/print/font-normalization-NOTICE.md +64 -0
- package/third-party/spreadsheet-engine/src/rendering/print/font-normalization-data.ts +1558 -0
- package/third-party/spreadsheet-engine/src/rendering/print/font-normalization.ts +91 -0
- package/third-party/spreadsheet-engine/src/rendering/print/harfbuzz/EMSCRIPTEN-LICENSE.txt +102 -0
- package/third-party/spreadsheet-engine/src/rendering/print/harfbuzz/HARFBUZZ-LICENSE.txt +42 -0
- package/third-party/spreadsheet-engine/src/rendering/print/harfbuzz/LIBCXX-LICENSE.txt +311 -0
- package/third-party/spreadsheet-engine/src/rendering/print/harfbuzz/LIBCXXABI-LICENSE.txt +311 -0
- package/third-party/spreadsheet-engine/src/rendering/print/harfbuzz/MUSL-LICENSE.txt +193 -0
- package/third-party/spreadsheet-engine/src/rendering/print/harfbuzz/NOTICE.md +41 -0
- package/third-party/spreadsheet-engine/src/rendering/print/harfbuzz/data.ts +2 -0
- package/dist/safe-bash/command-chunks/chunk-C5TUE2FE.js +0 -169
- package/dist/safe-bash/command-chunks/chunk-CVKW2YIC.js +0 -13631
- package/dist/safe-bash/command-chunks/chunk-JBGGUHQY.js +0 -17617
- package/dist/safe-bash/command-chunks/chunk-S4R2JDPL.js +0 -35
- package/dist/safe-bash/command-chunks/chunk-TU5IFVCX.js +0 -33708
- package/dist/safe-bash/command-chunks/chunk-TUWGIF22.js +0 -328
- package/dist/safe-bash/command-chunks/data-2FJOPYXA-PDKMLCGR.js +0 -8
- package/dist/safe-bash/command-chunks/index.browser-2NLML6H4.js +0 -269
- package/dist/safe-bash/command-chunks/model-store-EEI3QS4G.js +0 -10
- package/dist/safe-bash/command-chunks/pdf-M2GFAR2A-FCJMJCAP.js +0 -683
- package/dist/safe-bash-command-ssconvert/rendering/images/formats.d.ts +0 -2
- package/dist/safe-bash-docx-engine/command.d.ts +0 -65
- package/dist/safe-bash/chunks/{chunk-4T4RQYRI.js → chunk-5HRGBHZH.js} +10 -10
- package/dist/safe-bash/chunks/{chunk-QUS6X4MS.js → chunk-EOQMDRTY.js} +0 -0
- package/dist/safe-bash/command-chunks/{chunk-2L3JKGUH.js → chunk-4LYZBDZF.js} +4 -4
- package/dist/safe-bash/command-chunks/{chunk-EMMSXKEJ.js → chunk-4Q4R3VZU.js} +0 -0
- package/dist/safe-bash/command-chunks/{chunk-5RLK2QSY.js → chunk-7JEIWA3A.js} +5 -5
- package/dist/safe-bash/command-chunks/{chunk-AV6N7DDA.js → chunk-DDYPQAXN.js} +3 -3
- package/dist/safe-bash/command-chunks/{chunk-OOB7YCFQ.js → chunk-FMJKCVSQ.js} +3 -3
- package/dist/safe-bash/command-chunks/{chunk-FUL2C4EX.js → chunk-HFKS6AET.js} +3 -3
- package/dist/safe-bash/command-chunks/{chunk-2M3WUEDX.js → chunk-J6K5Q53O.js} +10 -10
- package/dist/safe-bash/command-chunks/{chunk-ATWMLV75.js → chunk-RJXZYDSN.js} +7 -7
- package/dist/safe-bash/command-chunks/{chunk-JD3NSHFT.js → chunk-TVGIJ56E.js} +3 -3
- package/dist/safe-bash/command-chunks/{chunk-3I33KPQH.js → chunk-X2HVVMTW.js} +6 -6
- package/dist/safe-bash/command-chunks/{odf-UKSXPNOZ-NCL5P7YL.js → odf-UKSXPNOZ-BV2LCKTB.js} +0 -0
- package/dist/{safe-bash/command-chunks/chunk-3SVT5VB7.js → safe-bash-docx-engine/operation-types.js} +0 -0
- package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/accessibility.d.ts +0 -0
- package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/animation-editing.d.ts +0 -0
- package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/animations.d.ts +0 -0
- package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/backgrounds.d.ts +0 -0
- package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/chart-data-model.d.ts +0 -0
- package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/chart-editing.d.ts +0 -0
- package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/chart-font-operations.d.ts +0 -0
- package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/chart-model-axes.d.ts +0 -0
- package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/chart-model-core.d.ts +0 -0
- package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/chart-model-series.d.ts +0 -0
- package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/chart-model.d.ts +0 -0
- package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/chart-objects.d.ts +0 -0
- package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/chart-workbook.d.ts +0 -0
- package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/charts.d.ts +0 -0
- package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/command-placeholder.d.ts +0 -0
- package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/comments.d.ts +0 -0
- package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/connector-operations.d.ts +0 -0
- package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/connectors-model.d.ts +0 -0
- package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/connectors.d.ts +0 -0
- package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/content-types.d.ts +0 -0
- package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/contracts.d.ts +0 -0
- package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/creation.d.ts +0 -0
- package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/diagram-resources.d.ts +0 -0
- package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/diff.d.ts +0 -0
- package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/drawing-format.d.ts +0 -0
- package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/drawing-operations.d.ts +0 -0
- package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/equations.d.ts +0 -0
- package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/errors.d.ts +0 -0
- package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/fields.d.ts +0 -0
- package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/font-metrics.d.ts +0 -0
- package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/freeform-builder.d.ts +0 -0
- package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/group-model.d.ts +0 -0
- package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/image-extraction.d.ts +0 -0
- package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/image-formatting.d.ts +0 -0
- package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/image-insertion.d.ts +0 -0
- package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/image-replacement.d.ts +0 -0
- package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/image-value.d.ts +0 -0
- package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/images.d.ts +0 -0
- package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/inventory.d.ts +0 -0
- package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/language-enum.d.ts +0 -0
- package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/layouts.d.ts +0 -0
- package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/length.d.ts +0 -0
- package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/links-model.d.ts +4 -4
- /package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/links.d.ts +0 -0
- /package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/masters.d.ts +0 -0
- /package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/media-editing.d.ts +0 -0
- /package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/media-enum.d.ts +0 -0
- /package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/media-extraction.d.ts +0 -0
- /package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/media.d.ts +0 -0
- /package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/memberships.d.ts +0 -0
- /package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/modern-comments.d.ts +0 -0
- /package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/notes.d.ts +0 -0
- /package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/ole-enum.d.ts +0 -0
- /package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/ole-insertion.d.ts +0 -0
- /package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/opaque-objects.d.ts +0 -0
- /package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/package-reader.d.ts +0 -0
- /package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/package-tools.d.ts +0 -0
- /package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/package-view.d.ts +0 -0
- /package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/package-writer.d.ts +0 -0
- /package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/paragraph-alignment.d.ts +0 -0
- /package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/presentation-settings.d.ts +0 -0
- /package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/properties.d.ts +0 -0
- /package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/relationships.d.ts +0 -0
- /package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/resource-limits.d.ts +0 -0
- /package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/sanitize.d.ts +0 -0
- /package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/selector-schema.d.ts +0 -0
- /package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/selectors.d.ts +0 -0
- /package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/shape-adjustments.d.ts +0 -0
- /package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/shape-groups.d.ts +0 -0
- /package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/shape-operations.d.ts +0 -0
- /package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/shape-path-operations.d.ts +0 -0
- /package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/shape-paths.d.ts +0 -0
- /package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/shape-placeholder-types.d.ts +0 -0
- /package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/shape-presets.d.ts +0 -0
- /package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/shape-selection.d.ts +0 -0
- /package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/shape-transforms.d.ts +0 -0
- /package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/slide-copy.d.ts +0 -0
- /package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/slide-import.d.ts +0 -0
- /package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/slide-layout-model.d.ts +0 -0
- /package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/slide-merge-split.d.ts +0 -0
- /package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/slide-model.d.ts +0 -0
- /package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/slide-removal.d.ts +0 -0
- /package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/slide-transfer-budget.d.ts +0 -0
- /package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/slides.d.ts +0 -0
- /package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/table-operations.d.ts +0 -0
- /package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/table-spans.d.ts +0 -0
- /package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/tables-model.d.ts +0 -0
- /package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/tables.d.ts +0 -0
- /package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/tags.d.ts +0 -0
- /package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/template-bindings.d.ts +0 -0
- /package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/template-repeat.d.ts +0 -0
- /package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/text-fitting.d.ts +0 -0
- /package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/text-frame-enums.d.ts +0 -0
- /package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/text-frames.d.ts +0 -0
- /package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/text-paragraphs.d.ts +0 -0
- /package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/text-reading.d.ts +0 -0
- /package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/text-replacement.d.ts +0 -0
- /package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/text-run-color.d.ts +0 -0
- /package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/text-runs.d.ts +0 -0
- /package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/text-style-resolution.d.ts +0 -0
- /package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/themes.d.ts +0 -0
- /package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/transitions.d.ts +0 -0
- /package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/validation.d.ts +0 -0
- /package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/xml-parts.d.ts +0 -0
- /package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/xml-view.d.ts +0 -0
- /package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/xml.d.ts +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Be,
|
|
3
3
|
G,
|
|
4
|
-
H
|
|
4
|
+
H,
|
|
5
5
|
Ir,
|
|
6
6
|
M,
|
|
7
7
|
Pe,
|
|
@@ -10,64 +10,63 @@ import {
|
|
|
10
10
|
Ur,
|
|
11
11
|
Ve,
|
|
12
12
|
q
|
|
13
|
-
} from "../safe-bash/command-chunks/chunk-
|
|
13
|
+
} from "../safe-bash/command-chunks/chunk-JWSOFSGI.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "../safe-bash/command-chunks/chunk-
|
|
15
|
+
a,
|
|
16
|
+
g,
|
|
17
|
+
m,
|
|
18
|
+
o,
|
|
19
|
+
t
|
|
20
|
+
} from "../safe-bash/command-chunks/chunk-Z7ESJVFP.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "../safe-bash/command-chunks/chunk-C5TUE2FE.js";
|
|
22
|
+
n as n3,
|
|
23
|
+
o as o5
|
|
24
|
+
} from "../safe-bash/command-chunks/chunk-HQAHDJPX.js";
|
|
26
25
|
import {
|
|
26
|
+
a as a5,
|
|
27
27
|
c,
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
} from "../safe-bash/command-chunks/chunk-S4R2JDPL.js";
|
|
28
|
+
p as p3,
|
|
29
|
+
r as r3,
|
|
30
|
+
s as s3
|
|
31
|
+
} from "../safe-bash/command-chunks/chunk-2BKOSQD3.js";
|
|
33
32
|
import {
|
|
34
|
-
p as
|
|
33
|
+
p as p2
|
|
35
34
|
} from "../safe-bash/command-chunks/chunk-4XWFUW5L.js";
|
|
36
|
-
import {
|
|
37
|
-
r as r2
|
|
38
|
-
} from "../safe-bash/command-chunks/chunk-RVEDPJRP.js";
|
|
39
35
|
import {
|
|
40
36
|
i as i2,
|
|
41
|
-
o as
|
|
37
|
+
o as o4
|
|
42
38
|
} from "../safe-bash/command-chunks/chunk-AKT75KDM.js";
|
|
43
39
|
import {
|
|
44
|
-
a,
|
|
45
|
-
f
|
|
40
|
+
a as a2,
|
|
41
|
+
f,
|
|
46
42
|
i,
|
|
47
|
-
l
|
|
43
|
+
l,
|
|
48
44
|
m as m2,
|
|
49
45
|
n,
|
|
50
|
-
o,
|
|
51
|
-
t,
|
|
46
|
+
o as o2,
|
|
47
|
+
t as t2,
|
|
52
48
|
x
|
|
53
49
|
} from "../safe-bash/command-chunks/chunk-PFOVSF3U.js";
|
|
54
50
|
import {
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
import {
|
|
58
|
-
a as a3,
|
|
59
|
-
t as t3
|
|
51
|
+
a as a4,
|
|
52
|
+
t as t4
|
|
60
53
|
} from "../safe-bash/command-chunks/chunk-Y4RGZJIG.js";
|
|
54
|
+
import {
|
|
55
|
+
r as r2
|
|
56
|
+
} from "../safe-bash/command-chunks/chunk-RVEDPJRP.js";
|
|
57
|
+
import {
|
|
58
|
+
o as o3
|
|
59
|
+
} from "../safe-bash/command-chunks/chunk-PYU5VF5I.js";
|
|
61
60
|
import {
|
|
62
61
|
A,
|
|
63
62
|
S,
|
|
64
|
-
a as
|
|
63
|
+
a as a3,
|
|
65
64
|
k,
|
|
66
65
|
n as n2,
|
|
67
|
-
p
|
|
66
|
+
p,
|
|
68
67
|
r,
|
|
69
68
|
s as s2,
|
|
70
|
-
t as
|
|
69
|
+
t as t3,
|
|
71
70
|
v
|
|
72
71
|
} from "../safe-bash/command-chunks/chunk-KDG3J4GN.js";
|
|
73
72
|
import {
|
|
@@ -88,21 +87,29 @@ import "../safe-bash/command-chunks/chunk-65DS4IOB.js";
|
|
|
88
87
|
|
|
89
88
|
// packages/safe-bash-command-ssconvert/dist/index.js
|
|
90
89
|
import { createResourceIO as z } from "../spreadsheet-engine/io/index.js";
|
|
91
|
-
import { resolveVfsCwd as
|
|
92
|
-
import { createVfsOutput as
|
|
93
|
-
import { compareServiceIds as
|
|
94
|
-
import {
|
|
95
|
-
import {
|
|
96
|
-
import {
|
|
97
|
-
import {
|
|
98
|
-
import {
|
|
99
|
-
import {
|
|
100
|
-
import {
|
|
101
|
-
import {
|
|
102
|
-
import {
|
|
103
|
-
import {
|
|
104
|
-
import {
|
|
105
|
-
import {
|
|
90
|
+
import { resolveVfsCwd as G2 } from "../spreadsheet-engine/io/cwd.js";
|
|
91
|
+
import { createVfsOutput as M2 } from "../spreadsheet-engine/io/publication.js";
|
|
92
|
+
import { compareServiceIds as re } from "../spreadsheet-engine/codecs/ordering.js";
|
|
93
|
+
import { ImageExportError as nt, imageFormats as te, profileImageTargets as ot } from "../spreadsheet-engine/rendering/images/formats.js";
|
|
94
|
+
import { SsconvertError as Xn, isSsconvertError as Hn } from "../spreadsheet-ast/errors.js";
|
|
95
|
+
import { exportRangeForSheet as De, parseRangeExpression as ft, parseRangePrefix as ut } from "../spreadsheet-engine/workbook/expressions.js";
|
|
96
|
+
import { recalculateWorkbook as Fe } from "../spreadsheet-engine/formulas/recalculation.js";
|
|
97
|
+
import { moveWorkbookSheet as Te2, remapWorkbookSheets as wt, renameWorkbookSheet as Ue, resizeWorkbookReferences as St, rewriteWorkbook as Ot, translateFormulaGroup as Le } from "../spreadsheet-engine/formulas/workbook.js";
|
|
98
|
+
import { parseResize as We, resizeWorkbookReferences as ze, suggestSheetSize as Ge } from "../spreadsheet-engine/workbook/resize.js";
|
|
99
|
+
import { createAxisMap as Me } from "../spreadsheet-engine/rendering/chart/axis.js";
|
|
100
|
+
import { orientedBounds as Ne, positionLabel as _e, rectanglesOverlap as qe } from "../spreadsheet-engine/rendering/chart/layout.js";
|
|
101
|
+
import { pieWedges as $e } from "../spreadsheet-engine/rendering/chart/pie.js";
|
|
102
|
+
import { markerGeometry as Ve2 } from "../spreadsheet-engine/rendering/chart/marker.js";
|
|
103
|
+
import { cartesianErrorBarSegments as Xe, errorBarBounds as He } from "../spreadsheet-engine/rendering/chart/error-bar.js";
|
|
104
|
+
import { cartesianSeriesPath as Ke } from "../spreadsheet-engine/rendering/chart/line.js";
|
|
105
|
+
import { axisPaginator as Gt, paginateAxis as Qe, printWork as Mt } from "../spreadsheet-engine/rendering/print/pagination.js";
|
|
106
|
+
import { loadSolverParameters as Ye, selectSolverAlgorithm as qt, validateSolverParameters as $t, validateSolverParametersSteps as Vt } from "../spreadsheet-engine/solver/model.js";
|
|
107
|
+
import { runSolverValidation as Ze, solverAlgorithms as Je } from "../spreadsheet-engine/solver/run.js";
|
|
108
|
+
import { createPythonSampleFunctions as er, perlSampleFunctions as rr, pythonSampleFunctions as tr } from "../spreadsheet-engine/formulas/optional-providers.js";
|
|
109
|
+
import { snapshotRuntimeFunctions as $ } from "../spreadsheet-engine/formulas/runtime-functions.js";
|
|
110
|
+
import { createDatabaseFunctions as nr } from "../spreadsheet-engine/formulas/database-functions.js";
|
|
111
|
+
import { builtInDirectContextExecutors as sr } from "../safe-bash-contracts/runtime-control.js";
|
|
112
|
+
import { rendered as or } from "../spreadsheet-engine/formulas/values.js";
|
|
106
113
|
|
|
107
114
|
// packages/xlsx-ast/src/sync-table.ts
|
|
108
115
|
import { parseXml } from "@poe-platform/safe-fs/xml";
|
|
@@ -219,15 +226,15 @@ function buildSimpleXlsx(rows, sheetName = "Sheet1") {
|
|
|
219
226
|
}
|
|
220
227
|
|
|
221
228
|
// packages/safe-bash-command-ssconvert/dist/index.js
|
|
222
|
-
import { defaultSsconvertLimits as
|
|
223
|
-
import { retainFileSystemCleanup as
|
|
224
|
-
import { createOutputOperation as
|
|
225
|
-
import { builtInDirectContextExecutors as
|
|
226
|
-
import { shellValueByteLength as
|
|
227
|
-
import { writeFileOutput as
|
|
228
|
-
var
|
|
229
|
-
k2(
|
|
230
|
-
var
|
|
229
|
+
import { defaultSsconvertLimits as dr } from "../spreadsheet-engine/index.js";
|
|
230
|
+
import { retainFileSystemCleanup as cr, resolvePath as ae, tryReadMemoryFileViewSync as lr } from "@poe-platform/safe-fs/core";
|
|
231
|
+
import { createOutputOperation as pr, getCommandArguments as mr } from "../safe-bash-contracts/index.js";
|
|
232
|
+
import { builtInDirectContextExecutors as de, syncCommandEvaluators as fr } from "../safe-bash-contracts/runtime-control.js";
|
|
233
|
+
import { shellValueByteLength as ur } from "../safe-bash-contracts/value.js";
|
|
234
|
+
import { writeFileOutput as X } from "../safe-bash-contracts/filesystem-output.js";
|
|
235
|
+
var T = {};
|
|
236
|
+
k2(T, xlsx_write_input_exports);
|
|
237
|
+
var L = Object.freeze({ help: `Usage:
|
|
231
238
|
ssconvert [OPTION?] INFILE [OUTFILE]
|
|
232
239
|
|
|
233
240
|
Help Options:
|
|
@@ -315,626 +322,486 @@ libdir := '/opt/ssconvert-reference/lib/gnumeric/1.12.61'
|
|
|
315
322
|
datadir := '/opt/ssconvert-reference/share/gnumeric/1.12.61'
|
|
316
323
|
libdir := '/opt/ssconvert-reference/lib/gnumeric/1.12.61'
|
|
317
324
|
` });
|
|
318
|
-
var
|
|
325
|
+
var N = { L: "lib-dir", D: "data-dir", "lib-dir": "lib-dir", "data-dir": "data-dir", display: "display", class: "class", name: "name", "gtk-module": "gtk-module", E: "import-encoding", I: "import-type", M: "merge-to", T: "export-type", O: "export-options", "import-encoding": "import-encoding", "import-type": "import-type", "merge-to": "merge-to", "export-type": "export-type", "export-options": "export-options", resize: "resize", clipboard: "clipboard", "export-range": "export-range" };
|
|
319
326
|
var _ = { "g-fatal-warnings": "g-fatal-warnings", v: "verbose", S: "export-file-per-sheet", verbose: "verbose", "export-file-per-sheet": "export-file-per-sheet", "list-importers": "list-importers", "list-exporters": "list-exporters", "list-image-formats": "list-image-formats", "export-graphs": "export-graphs", recalc: "recalc", solve: "solve", version: "version" };
|
|
320
327
|
var Be2 = [{ name: "libspreadsheet", entries: { version: "library-version", "lib-dir": "lib-dir", "data-dir": "data-dir" } }, { name: "gtk", entries: { display: "display", class: "class", name: "name", "gtk-module": "gtk-module", "g-fatal-warnings": "g-fatal-warnings" } }];
|
|
321
|
-
var
|
|
322
|
-
var
|
|
323
|
-
var
|
|
328
|
+
var ee = /* @__PURE__ */ new Set(["set", "goal-seek", "tool-test"]);
|
|
329
|
+
var B = (g2, l2 = 1, i3 = "") => ({ kind: "terminal", exitCode: l2, stdout: i3, stderr: g2 });
|
|
330
|
+
var F = (g2) => B(`${g2}
|
|
324
331
|
Run 'ssconvert --help' to see a full list of available command line options.
|
|
325
332
|
`);
|
|
326
|
-
function
|
|
327
|
-
let i3 = new TextEncoder(),
|
|
328
|
-
let
|
|
329
|
-
if (
|
|
330
|
-
let
|
|
333
|
+
function U(g2, l2) {
|
|
334
|
+
let i3 = new TextEncoder(), w = new TextDecoder("utf8", { ignoreBOM: true }), m3 = g2.some((n4) => typeof n4 != "string"), e2 = g2.map((n4) => typeof n4 == "string" ? i3.encode(n4) : new Uint8Array(n4)), v2 = e2.map((n4) => Array.from(n4, (c2) => String.fromCharCode(c2)).join("")), t5 = [], y = (n4) => {
|
|
335
|
+
let c2 = e2[n4];
|
|
336
|
+
if (l2?.listingEncoding !== "utf8") {
|
|
337
|
+
let x2;
|
|
331
338
|
try {
|
|
332
|
-
let
|
|
333
|
-
|
|
339
|
+
let o6 = new TextDecoder("utf8", { fatal: true, ignoreBOM: true }).decode(c2);
|
|
340
|
+
x2 = "Unknown option " + Array.from(o6, (d) => d.codePointAt(0) < 128 ? d : "?").join("");
|
|
334
341
|
} catch {
|
|
335
|
-
|
|
342
|
+
x2 = "[Invalid UTF-8] Unknown option " + Array.from(c2, (o6) => o6 >= 32 && o6 < 127 || o6 === 9 || o6 === 10 ? String.fromCharCode(o6) : `\\x${o6.toString(16).padStart(2, "0")}`).join("");
|
|
336
343
|
}
|
|
337
|
-
let
|
|
338
|
-
return { ...
|
|
344
|
+
let k3 = F(x2);
|
|
345
|
+
return { ...k3, stderrBytes: i3.encode(k3.stderr) };
|
|
339
346
|
}
|
|
340
|
-
let
|
|
347
|
+
let s4 = i3.encode("Unknown option "), S2 = i3.encode(`
|
|
341
348
|
Run 'ssconvert --help' to see a full list of available command line options.
|
|
342
|
-
`), O = new Uint8Array(
|
|
343
|
-
return O.set(
|
|
344
|
-
},
|
|
345
|
-
for (let
|
|
346
|
-
let
|
|
347
|
-
if (
|
|
348
|
-
if (
|
|
349
|
-
|
|
349
|
+
`), O = new Uint8Array(s4.length + c2.length + S2.length);
|
|
350
|
+
return O.set(s4), O.set(c2, s4.length), O.set(S2, s4.length + c2.length), { kind: "terminal", exitCode: 1, stdout: "", stderr: w.decode(O), stderrBytes: O };
|
|
351
|
+
}, f2 = [], r4 = {}, h = {}, a6 = {}, b = /* @__PURE__ */ new Set(), C = true;
|
|
352
|
+
for (let n4 = 0; n4 < v2.length; n4++) {
|
|
353
|
+
let c2 = v2[n4];
|
|
354
|
+
if (c2.includes("\0")) return F("Arguments must not contain NUL");
|
|
355
|
+
if (C && c2 === "--") {
|
|
356
|
+
C = false, v2.slice(n4 + 1).some((x2) => x2.startsWith("-")) && (f2.push(c2), t5.push(e2[n4]));
|
|
350
357
|
continue;
|
|
351
358
|
}
|
|
352
|
-
if (!
|
|
353
|
-
|
|
359
|
+
if (!C || !c2.startsWith("-") || c2 === "-") {
|
|
360
|
+
f2.push(w.decode(e2[n4])), t5.push(e2[n4]);
|
|
354
361
|
continue;
|
|
355
362
|
}
|
|
356
|
-
let
|
|
357
|
-
for (let
|
|
358
|
-
if (
|
|
359
|
-
let
|
|
360
|
-
return
|
|
361
|
-
`) :
|
|
363
|
+
let s4 = c2.startsWith("--"), S2 = c2.slice(s4 ? 2 : 1), O = false;
|
|
364
|
+
for (let x2 of s4 ? [S2] : S2) {
|
|
365
|
+
if (s4 && ["help", "help-all", "help-libspreadsheet", "help-gtk"].includes(x2) || !s4 && (x2 === "?" || x2 === "h")) {
|
|
366
|
+
let u = s4 ? x2 : "help", A2 = u === "help" ? l2?.help : l2?.groups?.[u];
|
|
367
|
+
return A2 !== void 0 ? B("", 0, A2) : u !== "help" && l2?.help !== void 0 ? B(`Unsupported ssconvert feature: --${u} (missing locale help capture; virtual runtime parity blocker)
|
|
368
|
+
`) : B("", 0, L[u]);
|
|
362
369
|
}
|
|
363
|
-
let
|
|
364
|
-
if (
|
|
365
|
-
let
|
|
366
|
-
if (
|
|
367
|
-
let
|
|
368
|
-
for (let
|
|
369
|
-
|
|
370
|
+
let k3 = s4 ? x2.indexOf("=") : -1, o6 = k3 < 0 ? x2 : x2.slice(0, k3), d;
|
|
371
|
+
if (s4 && !Object.hasOwn(N, o6) && !Object.hasOwn(_, o6) && !ee.has(o6)) {
|
|
372
|
+
let u = o6.indexOf("-");
|
|
373
|
+
if (u > 0) {
|
|
374
|
+
let A2 = o6.slice(0, u), P = o6.slice(u + 1);
|
|
375
|
+
for (let D of Be2) if (D.name.startsWith(A2) && Object.hasOwn(D.entries, P)) {
|
|
376
|
+
d = D.entries[P], o6 = P;
|
|
370
377
|
break;
|
|
371
378
|
}
|
|
372
379
|
}
|
|
373
380
|
}
|
|
374
|
-
let
|
|
375
|
-
if (
|
|
376
|
-
let
|
|
377
|
-
if (!
|
|
378
|
-
let
|
|
379
|
-
if (
|
|
380
|
-
if (
|
|
381
|
-
let
|
|
382
|
-
if (
|
|
383
|
-
let
|
|
384
|
-
if (
|
|
381
|
+
let p4 = (s4 ? o6.length > 1 : o6.length === 1) && Object.hasOwn(N, o6) ? N[o6] : void 0, E = d === "library-version" ? d : (s4 ? o6.length > 1 : o6.length === 1) && Object.hasOwn(_, o6) ? _[o6] : void 0;
|
|
382
|
+
if (p4 || s4 && ee.has(o6)) {
|
|
383
|
+
let u = `${s4 ? "--" : "-"}${o6}`;
|
|
384
|
+
if (!s4 && O) return F(`Error parsing option ${u}`);
|
|
385
|
+
let A2 = k3 < 0 ? v2[n4 + 1] : x2.slice(k3 + 1);
|
|
386
|
+
if (A2 === void 0) return F(`Missing argument for ${u}`);
|
|
387
|
+
if (A2.includes("\0")) return F("Arguments must not contain NUL");
|
|
388
|
+
let P = k3 < 0 ? e2[n4 + 1] : e2[n4].subarray(2 + k3 + 1);
|
|
389
|
+
if (p4 !== "lib-dir" && p4 !== "data-dir" && l2?.argumentEncoding !== "utf8" && P.some((pe) => pe >= 128)) return F("Invalid byte sequence in conversion input");
|
|
390
|
+
let D;
|
|
391
|
+
if (p4 === "lib-dir" || p4 === "data-dir") h[p4] = new Uint8Array(P), D = w.decode(P);
|
|
385
392
|
else try {
|
|
386
|
-
|
|
393
|
+
D = new TextDecoder("utf8", { fatal: true, ignoreBOM: true }).decode(P);
|
|
387
394
|
} catch {
|
|
388
|
-
return
|
|
395
|
+
return F("Invalid byte sequence in conversion input");
|
|
389
396
|
}
|
|
390
|
-
|
|
391
|
-
} else if (
|
|
392
|
-
else return
|
|
397
|
+
k3 < 0 && (O = true), p4 === "gtk-module" ? D !== "" && (a6[p4] ??= []).push(D) : p4 ? r4[p4] = D : (a6[o6] ??= []).push(D);
|
|
398
|
+
} else if (E) b.add(E);
|
|
399
|
+
else return y(n4);
|
|
393
400
|
}
|
|
394
|
-
O &&
|
|
401
|
+
O && n4++;
|
|
395
402
|
}
|
|
396
|
-
if (
|
|
397
|
-
datadir := '${
|
|
398
|
-
libdir := '${
|
|
399
|
-
` :
|
|
400
|
-
if (
|
|
403
|
+
if (b.has("library-version")) return B("", 0, l2?.libraryVersion ?? (l2?.configurationRoots ? `gnumeric version '1.12.61'
|
|
404
|
+
datadir := '${l2.configurationRoots.dataDir}'
|
|
405
|
+
libdir := '${l2.configurationRoots.libDir}'
|
|
406
|
+
` : L["libspreadsheet-version"]));
|
|
407
|
+
if (a6["gtk-module"] !== void 0) return B(`Unsupported ssconvert feature: --gtk-module (virtual runtime parity blocker)
|
|
401
408
|
`);
|
|
402
|
-
if (
|
|
403
|
-
datadir := '${
|
|
404
|
-
libdir := '${
|
|
405
|
-
` :
|
|
406
|
-
for (let
|
|
409
|
+
if (b.has("version")) return B("", 0, l2?.version ?? (l2?.configurationRoots ? `ssconvert version '1.12.61'
|
|
410
|
+
datadir := '${l2.configurationRoots.dataDir}'
|
|
411
|
+
libdir := '${l2.configurationRoots.libDir}'
|
|
412
|
+
` : L.version));
|
|
413
|
+
for (let n4 of ["display", "class", "name", "g-fatal-warnings"]) if (r4[n4] !== void 0 || b.has(n4)) return B(`Unsupported ssconvert feature: --${n4} (virtual runtime parity blocker)
|
|
407
414
|
`);
|
|
408
|
-
if (
|
|
415
|
+
if (b.has("export-file-per-sheet") && r4["merge-to"] !== void 0) return B(`--export-file-per-sheet and --merge-to are incompatible
|
|
409
416
|
`);
|
|
410
|
-
let
|
|
411
|
-
if (
|
|
417
|
+
let I = r4["export-options"]?.trim().toLowerCase();
|
|
418
|
+
if (I === "help" || I === "?" || I === "list") return B("", 0, ["Export options (-O 'key=value ...'):", " sheet=<name> Export named worksheet (repeatable)", " active-sheet=<name> Select active worksheet", " paper=A4|letter|legal|fit Paper size (Gnumeric_pdf:pdf_assistant)", " orientation=portrait|landscape Page orientation (Gnumeric_pdf:pdf_assistant)", " fit-width=<pages> Fit sheet width to N pages (Gnumeric_pdf:pdf_assistant)", " fit-height=<pages> Fit sheet height to N pages (Gnumeric_pdf:pdf_assistant)", " scale=<percent> Explicit print scale percentage (Gnumeric_pdf:pdf_assistant)", " object=<name> Export named sheet object (Gnumeric_pdf:pdf_assistant)", " separator=<char> Field separator (Gnumeric_stf:stf_assistant)", " quoting-mode=auto|always|never Quoting mode (Gnumeric_stf:stf_assistant)", " format=automatic|raw|preserve Value formatting (Gnumeric_stf:stf_assistant)", ""].join(`
|
|
412
419
|
`));
|
|
413
|
-
|
|
414
|
-
let
|
|
415
|
-
return !
|
|
416
|
-
`) : Object.freeze({ kind: "operation", action:
|
|
420
|
+
b.has("export-graphs") && b.add("export-file-per-sheet");
|
|
421
|
+
let R2 = b.has("list-exporters") ? "list-exporters" : b.has("list-importers") ? "list-importers" : b.has("list-image-formats") ? "list-image-formats" : r4.clipboard !== void 0 ? "clipboard" : r4["merge-to"] !== void 0 ? "merge" : "convert";
|
|
422
|
+
return !R2.startsWith("list-") && (R2 === "merge" ? f2.length < 2 : R2 === "clipboard" ? f2.length !== 2 || r4["export-range"] === void 0 : f2.length < 1 || f2.length > 2) ? B(`Usage: ssconvert [OPTION...] INFILE [OUTFILE]
|
|
423
|
+
`) : Object.freeze({ kind: "operation", action: R2, operands: Object.freeze(f2), ...m3 ? { operandBytes: Object.freeze(t5) } : {}, scalars: Object.freeze(r4), ...Object.keys(h).length === 0 ? {} : { scalarBytes: Object.freeze(h) }, arrays: Object.freeze(Object.fromEntries(Object.entries(a6).map(([n4, c2]) => [n4, Object.freeze(c2)]))), flags: Object.freeze([...b]) });
|
|
417
424
|
}
|
|
418
|
-
async function
|
|
425
|
+
async function q2(g2, l2, i3, w) {
|
|
419
426
|
i3.signal.throwIfAborted();
|
|
420
|
-
let
|
|
427
|
+
let m3 = 0;
|
|
421
428
|
try {
|
|
422
|
-
let
|
|
423
|
-
if (
|
|
424
|
-
for (let
|
|
425
|
-
if (typeof
|
|
426
|
-
if (
|
|
427
|
-
for (let
|
|
428
|
-
let
|
|
429
|
-
if (
|
|
429
|
+
let a6 = l2.limits.argumentBytes ?? 1 / 0;
|
|
430
|
+
if (g2.length > a6) throw new e("resource-limit", "ssconvert arguments limit exceeded");
|
|
431
|
+
for (let b of g2) {
|
|
432
|
+
if (typeof b == "string") {
|
|
433
|
+
if (b.length > a6 - m3) throw new e("resource-limit", "ssconvert argument bytes limit exceeded");
|
|
434
|
+
for (let C of b) {
|
|
435
|
+
let I = C.codePointAt(0);
|
|
436
|
+
if (m3 += I < 128 ? 1 : I < 2048 ? 2 : I < 65536 ? 3 : 4, m3 > a6) throw new e("resource-limit", "ssconvert argument bytes limit exceeded");
|
|
430
437
|
}
|
|
431
|
-
} else
|
|
432
|
-
if (
|
|
438
|
+
} else m3 += b.byteLength;
|
|
439
|
+
if (m3 > a6) throw new e("resource-limit", "ssconvert argument bytes limit exceeded");
|
|
433
440
|
}
|
|
434
|
-
} catch (
|
|
435
|
-
if (!s(
|
|
436
|
-
return await i3.stderr.write(new TextEncoder().encode(`${
|
|
437
|
-
`)), i3.signal.throwIfAborted(), { exitCode:
|
|
441
|
+
} catch (a6) {
|
|
442
|
+
if (!s(a6)) throw a6;
|
|
443
|
+
return await i3.stderr.write(new TextEncoder().encode(`${a6.message}
|
|
444
|
+
`)), i3.signal.throwIfAborted(), { exitCode: a6.exitCode };
|
|
438
445
|
}
|
|
439
|
-
let
|
|
440
|
-
async function
|
|
446
|
+
let e2 = U(g2, w), v2 = new TextEncoder(), t5 = false;
|
|
447
|
+
async function y(a6) {
|
|
441
448
|
i3.signal.throwIfAborted();
|
|
442
449
|
try {
|
|
443
|
-
await i3.stderr.write(
|
|
444
|
-
} catch (
|
|
445
|
-
throw
|
|
450
|
+
await i3.stderr.write(a6);
|
|
451
|
+
} catch (b) {
|
|
452
|
+
throw t5 = true, b;
|
|
446
453
|
}
|
|
447
454
|
i3.signal.throwIfAborted();
|
|
448
455
|
}
|
|
449
|
-
let
|
|
450
|
-
function
|
|
451
|
-
for (let
|
|
452
|
-
let
|
|
453
|
-
if (
|
|
456
|
+
let f2 = 0;
|
|
457
|
+
function r4(a6) {
|
|
458
|
+
for (let b of a6) {
|
|
459
|
+
let C = b.codePointAt(0);
|
|
460
|
+
if (f2 += C < 128 ? 1 : C < 2048 ? 2 : C < 65536 ? 3 : 4, f2 > (l2.limits.commandOutputBytes ?? 1 / 0)) throw new e("resource-limit", "ssconvert output bytes limit exceeded");
|
|
454
461
|
}
|
|
455
|
-
return
|
|
462
|
+
return v2.encode(a6);
|
|
456
463
|
}
|
|
457
464
|
try {
|
|
458
|
-
if (
|
|
459
|
-
if (
|
|
460
|
-
if (
|
|
461
|
-
|
|
462
|
-
} else await
|
|
463
|
-
return i3.signal.throwIfAborted(), { exitCode:
|
|
465
|
+
if (e2.kind === "terminal") {
|
|
466
|
+
if (e2.stdout && await i3.stdout.write(r4(e2.stdout)), e2.stderr) if (e2.stderrBytes) {
|
|
467
|
+
if (e2.stderrBytes.byteLength > (l2.limits.commandOutputBytes ?? 1 / 0) - f2) throw new e("resource-limit", "ssconvert output bytes limit exceeded");
|
|
468
|
+
f2 += e2.stderrBytes.byteLength, await y(e2.stderrBytes);
|
|
469
|
+
} else await y(r4(e2.stderr));
|
|
470
|
+
return i3.signal.throwIfAborted(), { exitCode: e2.exitCode };
|
|
464
471
|
}
|
|
465
|
-
if (
|
|
466
|
-
let
|
|
467
|
-
let
|
|
468
|
-
for (let
|
|
469
|
-
let
|
|
470
|
-
if (
|
|
472
|
+
if (e2.action === "list-importers" || e2.action === "list-exporters" || e2.action === "list-image-formats") {
|
|
473
|
+
let s4 = function(o6, d) {
|
|
474
|
+
let p4 = 0;
|
|
475
|
+
for (let E of o6) {
|
|
476
|
+
let u = E.codePointAt(0);
|
|
477
|
+
if (p4 += d || u < 128 ? 1 : u < 2048 ? 2 : u < 65536 ? 3 : 4, p4 > c2) throw new e("resource-limit", "ssconvert output bytes limit exceeded");
|
|
471
478
|
}
|
|
472
|
-
return
|
|
479
|
+
return p4;
|
|
473
480
|
};
|
|
474
|
-
var
|
|
475
|
-
let
|
|
476
|
-
if (
|
|
477
|
-
let
|
|
478
|
-
if (
|
|
479
|
-
for (let
|
|
480
|
-
let
|
|
481
|
-
if (
|
|
482
|
-
|
|
481
|
+
var h = s4;
|
|
482
|
+
let n4 = e2.action === "list-image-formats" ? te : [...l2.listServices(e2.action === "list-importers" ? "read" : "write")].filter((o6) => !o6.interactiveOnly).sort(re), c2 = l2.limits.commandOutputBytes ?? 1 / 0;
|
|
483
|
+
if (n4.length > c2) throw new e("resource-limit", "ssconvert output bytes limit exceeded");
|
|
484
|
+
let S2 = n4.map((o6) => s4(o6.id, false)), O = S2.reduce((o6, d) => Math.max(o6, d), 0), x2 = w?.listingEncoding !== "utf8", k3 = 2 + Math.max(0, O - 2) + 15;
|
|
485
|
+
if (k3 > c2) throw new e("resource-limit", "ssconvert output bytes limit exceeded");
|
|
486
|
+
for (let o6 = 0; o6 < n4.length; o6++) {
|
|
487
|
+
let d = n4[o6], p4 = s4(d.id, x2) + Math.max(0, O - S2[o6]) + 3 + s4(d.description, x2) + 1;
|
|
488
|
+
if (p4 > c2 - k3) throw new e("resource-limit", "ssconvert output bytes limit exceeded");
|
|
489
|
+
k3 += p4;
|
|
483
490
|
}
|
|
484
|
-
await
|
|
491
|
+
await y(r4(`ID${" ".repeat(Math.max(0, O - 2))} | Description
|
|
485
492
|
`));
|
|
486
|
-
for (let
|
|
493
|
+
for (let o6 = 0; o6 < n4.length; o6++) {
|
|
487
494
|
i3.signal.throwIfAborted();
|
|
488
|
-
let
|
|
489
|
-
if (
|
|
490
|
-
let
|
|
491
|
-
`,
|
|
492
|
-
await
|
|
495
|
+
let d = n4[o6], p4 = Math.max(0, O - S2[o6]);
|
|
496
|
+
if (s4(d.id, x2) + p4 + 3 + s4(d.description, x2) + 1 > c2 - f2) throw new e("resource-limit", "ssconvert output bytes limit exceeded");
|
|
497
|
+
let u = `${d.id}${" ".repeat(p4)} | ${d.description}
|
|
498
|
+
`, A2 = x2 ? Array.from(u, (P) => P.codePointAt(0) < 128 ? P : "?").join("") : u;
|
|
499
|
+
await y(r4(A2));
|
|
493
500
|
}
|
|
494
501
|
return i3.signal.throwIfAborted(), { exitCode: 0 };
|
|
495
502
|
}
|
|
496
|
-
if (
|
|
497
|
-
for (let
|
|
498
|
-
if (
|
|
499
|
-
let
|
|
500
|
-
for (let
|
|
501
|
-
|
|
503
|
+
if (e2.action !== "convert" && e2.action !== "merge" && e2.action !== "clipboard") throw new e("unsupported-feature", `Unsupported ssconvert feature: ${e2.action}`);
|
|
504
|
+
for (let n4 of Object.keys(e2.arrays).filter((c2) => c2 !== "set" && c2 !== "goal-seek" && c2 !== "tool-test")) throw new e("unsupported-feature", `Unsupported ssconvert feature: --${n4}`);
|
|
505
|
+
if (e2.operandBytes) {
|
|
506
|
+
let n4 = new TextDecoder("utf8", { fatal: true, ignoreBOM: true });
|
|
507
|
+
for (let c2 of e2.operandBytes) try {
|
|
508
|
+
n4.decode(c2);
|
|
502
509
|
} catch {
|
|
503
510
|
throw new e("unsupported-feature", "Unsupported ssconvert feature: non-UTF-8 resource name");
|
|
504
511
|
}
|
|
505
512
|
}
|
|
506
|
-
let
|
|
507
|
-
i3.signal.throwIfAborted(), await
|
|
508
|
-
`)),
|
|
509
|
-
} },
|
|
510
|
-
for (let
|
|
513
|
+
let a6 = e2.action === "merge" ? e2.scalars["merge-to"] : e2.operands[1], b = { input: { kind: "resource", uri: e2.operands[0] }, ...a6 === void 0 ? {} : { destination: a6 === "fd://1" && e2.scalars["export-type"] !== void 0 ? { kind: "stream", sink: i3.stdout } : { kind: "resource", uri: a6 } }, ...e2.scalars["import-type"] === void 0 ? {} : { importType: e2.scalars["import-type"] }, ...e2.scalars["import-encoding"] === void 0 ? {} : { importEncoding: e2.scalars["import-encoding"] }, ...e2.scalars["export-type"] === void 0 ? {} : { exportType: e2.scalars["export-type"] }, ...e2.scalars["export-options"] === void 0 ? {} : { exportOptions: [e2.scalars["export-options"]] }, recalc: e2.flags.includes("recalc"), solve: e2.flags.includes("solve"), verbose: e2.flags.includes("verbose"), perSheet: e2.flags.includes("export-file-per-sheet"), graphs: e2.flags.includes("export-graphs"), ...e2.scalars.clipboard === void 0 ? {} : { clipboard: e2.scalars.clipboard }, ...e2.arrays.set === void 0 ? {} : { updateExpressions: e2.arrays.set }, ...e2.arrays["goal-seek"] === void 0 ? {} : { goalSeekExpressions: e2.arrays["goal-seek"] }, ...e2.arrays["tool-test"] === void 0 ? {} : { toolTest: e2.arrays["tool-test"] }, ...e2.scalars.resize === void 0 ? {} : { resizeExpression: e2.scalars.resize }, ...e2.scalars["export-range"] === void 0 ? {} : { exportRangeExpression: e2.scalars["export-range"] } }, C = /* @__PURE__ */ new Set(), I = { ...i3, async diagnostic(n4) {
|
|
514
|
+
i3.signal.throwIfAborted(), await y(n4.bytes ?? v2.encode(`${n4.message}
|
|
515
|
+
`)), C.add(n4), i3.signal.throwIfAborted();
|
|
516
|
+
} }, R2 = e2.action === "merge" ? await l2.merge({ ...b, inputs: e2.operands.map((n4) => ({ kind: "resource", uri: n4 })) }, I) : await l2.convert(b, I);
|
|
517
|
+
for (let n4 of R2.diagnostics) C.has(n4) || (i3.signal.throwIfAborted(), await y(n4.bytes ?? v2.encode(`${n4.message}
|
|
511
518
|
`)));
|
|
512
|
-
return i3.signal.throwIfAborted(),
|
|
513
|
-
} catch (
|
|
514
|
-
if (i3.signal.throwIfAborted(),
|
|
515
|
-
return await
|
|
516
|
-
`)), i3.signal.throwIfAborted(), { exitCode:
|
|
517
|
-
}
|
|
518
|
-
}
|
|
519
|
-
function Ve2(e2) {
|
|
520
|
-
let o4 = Math.floor(e2), i3 = e2 - o4, l3 = i3 < 0.5 ? o4 : i3 > 0.5 ? o4 + 1 : o4 % 2 === 0 ? o4 : o4 + 1;
|
|
521
|
-
return l3 === 0 && e2 < 0 ? -0 : l3;
|
|
522
|
-
}
|
|
523
|
-
function _e(e2) {
|
|
524
|
-
let o4 = e2.scale === "logarithmic", i3 = e2.scale === "category", l3 = e2.inverted ?? false, p4 = e2.offset, t4 = e2.length;
|
|
525
|
-
e2.circular || (p4 += (e2.spanStart ?? 0) * t4, t4 *= (e2.spanEnd ?? 1) - (e2.spanStart ?? 0));
|
|
526
|
-
let a4 = Number.isFinite(e2.minimum) && Number.isFinite(e2.maximum) && e2.minimum < e2.maximum && (!o4 || e2.minimum > 0), n3 = a4 ? o4 ? Math.log(e2.minimum) : e2.minimum : 0, d = a4 ? o4 ? Math.log(e2.maximum) : e2.maximum : o4 ? Math.log(10) : 1, s3 = 1 / (d - n3), r3 = s3 * t4, c2 = a4 && (o4 || i3) ? p4 - r3 * n3 : p4, f3 = -s3 * t4, h = a4 ? p4 + t4 - f3 * n3 : p4 + t4;
|
|
527
|
-
function v2(u) {
|
|
528
|
-
return o4 ? u <= 0 ? l3 ? -Number.MAX_VALUE : Number.MAX_VALUE : l3 ? Math.log(u) * f3 + h : Math.log(u) * r3 + c2 : i3 ? (l3 ? n3 + d - u : u) * r3 + c2 : (l3 ? d - u : u - n3) * r3 + c2;
|
|
529
|
-
}
|
|
530
|
-
return Object.freeze({ valid: a4, normalized(u) {
|
|
531
|
-
let k3 = ((o4 ? Math.log(u) : u) - n3) * s3;
|
|
532
|
-
return l3 ? 1 - k3 : k3;
|
|
533
|
-
}, toView: v2, fromView(u) {
|
|
534
|
-
return o4 ? Math.exp(l3 ? (u - h) / f3 : (u - c2) / r3) : i3 ? Ve2(l3 ? n3 + d - (u - c2) / r3 : (u - c2) / r3) : l3 ? d - (u - c2) / r3 : (u - c2) / r3 + n3;
|
|
535
|
-
}, derivative(u) {
|
|
536
|
-
return o4 ? u <= 0 ? NaN : (l3 ? f3 : r3) / u : l3 ? -r3 : r3;
|
|
537
|
-
}, isFinite(u) {
|
|
538
|
-
return Number.isFinite(u) && (!o4 || u > 0);
|
|
539
|
-
}, baseline() {
|
|
540
|
-
if (o4) return l3 ? n3 * f3 + h : n3 * r3 + c2;
|
|
541
|
-
let u = n3 > 0 ? n3 : d < 0 ? d : 0;
|
|
542
|
-
return (l3 ? d - u : u - n3) * r3 + c2;
|
|
543
|
-
}, bounds() {
|
|
544
|
-
return o4 ? [Math.exp(n3), Math.exp(d)] : [n3, d];
|
|
545
|
-
} });
|
|
546
|
-
}
|
|
547
|
-
function Xe(e2, o4, i3, l3, p4) {
|
|
548
|
-
l3 === "right" && (o4 += Math.PI);
|
|
549
|
-
let t4 = Math.sin(e2.angle - o4), a4 = Math.cos(e2.angle - o4), n3 = Math.abs(e2.width * t4 / 2), d = Math.abs(e2.height * a4 / 2), s3 = p4 ?? (n3 < d ? "top-bottom" : "left-right"), r3, c2;
|
|
550
|
-
return s3 === "top-bottom" ? (i3 += n3, r3 = e2.height * Math.sin(e2.angle) / 2, c2 = -e2.height * Math.cos(e2.angle) / 2, a4 < 0 && (r3 = -r3, c2 = -c2)) : (i3 += d, r3 = -e2.width * Math.cos(e2.angle) / 2, c2 = -e2.width * Math.sin(e2.angle) / 2, t4 < 0 && (r3 = -r3, c2 = -c2)), r3 += i3 * Math.sin(o4), c2 += i3 * -Math.cos(o4), { box: { ...e2, x: r3, y: c2 }, anchor: s3 };
|
|
551
|
-
}
|
|
552
|
-
function $e(e2) {
|
|
553
|
-
let o4 = Math.cos(e2.angle), i3 = Math.sin(e2.angle), l3 = Math.abs(e2.width * o4) + Math.abs(e2.height * i3), p4 = Math.abs(e2.width * i3) + Math.abs(e2.height * o4);
|
|
554
|
-
return { x: e2.x - l3 / 2, y: e2.y - p4 / 2, width: l3, height: p4 };
|
|
555
|
-
}
|
|
556
|
-
function Ze(e2, o4) {
|
|
557
|
-
let i3 = Math.abs(Math.cos(o4.angle - e2.angle)), l3 = Math.abs(Math.sin(o4.angle - e2.angle)), p4 = o4.x - e2.x, t4 = o4.y - e2.y, a4 = Math.hypot(p4, t4), n3 = Math.atan2(t4, p4), d = Math.abs(e2.width / 2), s3 = Math.abs(e2.height / 2), r3 = Math.abs(o4.width / 2), c2 = Math.abs(o4.height / 2);
|
|
558
|
-
return !(Math.abs(a4 * Math.cos(n3 - e2.angle)) > d + (r3 * i3 + c2 * l3) || Math.abs(a4 * Math.sin(n3 - e2.angle)) > s3 + (r3 * l3 + c2 * i3) || Math.abs(a4 * Math.cos(o4.angle - n3)) > d * i3 + s3 * l3 + r3 || Math.abs(a4 * Math.sin(o4.angle - n3)) > d * l3 + s3 * i3 + c2);
|
|
559
|
-
}
|
|
560
|
-
function* Ye(e2, o4) {
|
|
561
|
-
let i3 = 0, l3 = o4.limits.workbookWork ?? o4.limits.inputBytes + o4.limits.cells * 32;
|
|
562
|
-
function p4() {
|
|
563
|
-
if (o4.signal.throwIfAborted(), ++i3 > l3) throw new e("resource-limit", "ssconvert chart work limit exceeded");
|
|
564
|
-
}
|
|
565
|
-
p4();
|
|
566
|
-
let t4 = 0;
|
|
567
|
-
for (let s3 = e2.values.length; s3-- > 0; ) {
|
|
568
|
-
p4();
|
|
569
|
-
let r3 = e2.values[s3];
|
|
570
|
-
Number.isFinite(r3) && (t4 += r3 < 0 ? e2.negativeMode === "skip" ? 0 : -r3 : r3);
|
|
571
|
-
}
|
|
572
|
-
let a4 = 2 * Math.PI / 100 * e2.span / t4, n3 = e2.initialAngle * Math.PI / 180 - Math.PI / 2, d = e2.radius * e2.separation;
|
|
573
|
-
for (let s3 = 0; s3 < e2.values.length; s3++) {
|
|
574
|
-
p4();
|
|
575
|
-
let r3 = e2.values[s3] * a4, c2 = r3 < 0;
|
|
576
|
-
if (c2) {
|
|
577
|
-
if (e2.negativeMode === "skip") continue;
|
|
578
|
-
r3 = -r3;
|
|
579
|
-
}
|
|
580
|
-
if (!Number.isFinite(r3) || r3 < 1e-3) continue;
|
|
581
|
-
let f3 = e2.elementSeparation?.get(s3), h = e2.centerX, v2 = e2.centerY;
|
|
582
|
-
if (d > 0 || f3 !== void 0) {
|
|
583
|
-
let u = d + (f3 ?? 0) * e2.radius;
|
|
584
|
-
h += u * Math.cos(n3 + r3 / 2), v2 += u * Math.sin(n3 + r3 / 2);
|
|
585
|
-
}
|
|
586
|
-
n3 += r3, yield { index: s3, whiteFill: c2 && e2.negativeMode === "white", centerX: h, centerY: v2, radius: e2.radius, innerRadius: e2.innerRadius > 0 ? e2.innerRadius : 0, startAngle: n3 - r3, endAngle: n3 };
|
|
587
|
-
}
|
|
588
|
-
o4.signal.throwIfAborted();
|
|
589
|
-
}
|
|
590
|
-
var oe = [["M", -1, -1], ["L", -1, 1], ["L", 1, 1], ["L", 1, -1], ["Z"]];
|
|
591
|
-
var $ = { none: [], square: oe, diamond: [["M", 0, -1], ["L", 1, 0], ["L", 0, 1], ["L", -1, 0], ["Z"]], "triangle-down": [["M", -1, -1], ["L", 1, -1], ["L", 0, 1], ["Z"]], "triangle-up": [["M", 0, -1], ["L", 1, 1], ["L", -1, 1], ["Z"]], "triangle-right": [["M", -1, -1], ["L", 1, 0], ["L", -1, 1], ["Z"]], "triangle-left": [["M", 1, -1], ["L", -1, 0], ["L", 1, 1], ["Z"]], circle: [["M", 1, 0], ["C", 1, 0.56, 0.56, 1, 0, 1], ["C", -0.56, 1, -1, 0.56, -1, 0], ["C", -1, -0.56, -0.56, -1, 0, -1], ["C", 0.56, -1, 1, -0.56, 1, 0], ["L", 1, 0], ["Z"]], x: [["M", 1, 1], ["L", -1, -1], ["M", 1, -1], ["L", -1, 1]], cross: [["M", 1, 0], ["L", -1, 0], ["M", 0, 1], ["L", 0, -1]], asterisk: [["M", 0.7, 0.7], ["L", -0.7, -0.7], ["M", 0.7, -0.7], ["L", -0.7, 0.7], ["M", 1, 0], ["L", -1, 0], ["M", 0, 1], ["L", 0, -1]], bar: [["M", -1, -0.2], ["L", 1, -0.2], ["L", 1, 0.2], ["L", -1, 0.2], ["Z"]], "half-bar": [["M", 0, -0.2], ["L", 1, -0.2], ["L", 1, 0.2], ["L", 0, 0.2], ["Z"]], butterfly: [["M", -1, -1], ["L", -1, 1], ["L", 0, 0], ["L", 1, 1], ["L", 1, -1], ["L", 0, 0], ["Z"]], hourglass: [["M", -1, -1], ["L", 1, -1], ["L", 0, 0], ["L", 1, 1], ["L", -1, 1], ["L", 0, 0], ["Z"]], "lefthalf-bar": [["M", 0, -0.2], ["L", -1, -0.2], ["L", -1, 0.2], ["L", 0, 0.2], ["Z"]] };
|
|
592
|
-
function He(e2, o4, i3, l3, p4) {
|
|
593
|
-
let t4 = Object.keys($).find((s3) => {
|
|
594
|
-
if (s3.length !== e2.length) return false;
|
|
595
|
-
for (let r3 = 0; r3 < s3.length; r3++) {
|
|
596
|
-
let c2 = e2.charCodeAt(r3);
|
|
597
|
-
if ((c2 >= 65 && c2 <= 90 ? c2 + 32 : c2) !== s3.charCodeAt(r3)) return false;
|
|
598
|
-
}
|
|
599
|
-
return true;
|
|
600
|
-
}) ?? "none", a4 = 0.5 * p4 * o4, n3 = t4 !== "x" && t4 !== "cross" && t4 !== "asterisk";
|
|
601
|
-
function d(s3) {
|
|
602
|
-
return s3.map((r3) => r3[0] === "Z" ? ["Z"] : r3[0] === "C" ? ["C", i3 + r3[1] * a4, l3 + r3[2] * a4, i3 + r3[3] * a4, l3 + r3[4] * a4, i3 + r3[5] * a4, l3 + r3[6] * a4] : [r3[0], i3 + r3[1] * a4, l3 + r3[2] * a4]);
|
|
603
|
-
}
|
|
604
|
-
return { shape: t4, closed: n3, outline: d($[t4]), fill: d(n3 ? $[t4] : oe), strokeWidth: Math.abs(a4) * (2 * 0.1), lineCap: "square", lineJoin: "miter" };
|
|
605
|
-
}
|
|
606
|
-
function Ke(e2, o4) {
|
|
607
|
-
if (o4 < 0 || !Number.isInteger(o4)) return;
|
|
608
|
-
let i3 = e2.values[o4];
|
|
609
|
-
if (e2.type === "none" || i3 === void 0 || !Number.isFinite(i3)) return;
|
|
610
|
-
let l3 = e2.positive, p4 = e2.negative, t4 = l3?.[l3.length === 1 ? 0 : o4] ?? -1, a4 = p4 === void 0 || p4.length === 0 ? t4 : p4[p4.length === 1 ? 0 : o4] ?? -1;
|
|
611
|
-
if ((!Number.isFinite(a4) || a4 <= 0) && (a4 = -1), (!Number.isFinite(t4) || t4 <= 0) && (t4 = -1), e2.type === "relative" || e2.type === "percent") {
|
|
612
|
-
let n3 = e2.type === "relative" ? Math.abs(i3) : Math.abs(i3) / 100;
|
|
613
|
-
a4 *= n3, t4 *= n3;
|
|
614
|
-
}
|
|
615
|
-
return { minus: a4, plus: t4 };
|
|
616
|
-
}
|
|
617
|
-
function Qe(e2) {
|
|
618
|
-
if (e2.direction !== "horizontal" && e2.direction !== "vertical") return [];
|
|
619
|
-
let { x: o4, y: i3, minus: l3, plus: p4, xMap: t4, yMap: a4 } = e2, n3 = p4 > 0 && (e2.display === "positive" || e2.display === "both"), d = l3 > 0 && (e2.display === "negative" || e2.display === "both");
|
|
620
|
-
if (!n3 && !d) return [];
|
|
621
|
-
let s3 = e2.direction === "horizontal", r3 = s3 ? t4 : a4, c2 = s3 ? o4 : i3;
|
|
622
|
-
if (!t4.isFinite(o4) || !a4.isFinite(i3) || n3 && !r3.isFinite(c2 + p4) || d && !r3.isFinite(c2 - l3)) return [];
|
|
623
|
-
let f3 = t4.toView(o4), h = a4.toView(i3), v2 = r3.toView(n3 ? c2 + p4 : c2), u = r3.toView(d ? c2 - l3 : c2), k3 = [s3 ? { x1: v2, y1: h, x2: u, y2: h } : { x1: f3, y1: v2, x2: f3, y2: u }], m3 = e2.capWidth * (s3 ? e2.pointsToY : e2.pointsToX) / 2, b = e2.lineWidth * (s3 ? e2.pointsToX : e2.pointsToY);
|
|
624
|
-
return 2 * m3 > b && (n3 && k3.push(s3 ? { x1: v2, y1: h - m3, x2: v2, y2: h + m3 } : { x1: f3 - m3, y1: v2, x2: f3 + m3, y2: v2 }), d && k3.push(s3 ? { x1: u, y1: h - m3, x2: u, y2: h + m3 } : { x1: f3 - m3, y1: u, x2: f3 + m3, y2: u })), k3;
|
|
625
|
-
}
|
|
626
|
-
function* Je(e2, o4) {
|
|
627
|
-
if (o4.signal.throwIfAborted(), !Number.isSafeInteger(e2.count) || e2.count < 0) throw new e("invalid-request", "ssconvert invalid chart point count");
|
|
628
|
-
if (!["linear", "step-start", "step-end", "step-center-x", "step-center-y"].includes(e2.interpolation)) throw new e("unsupported-feature", "ssconvert unsupported chart interpolation");
|
|
629
|
-
let i3 = o4.limits.workbookWork ?? o4.limits.inputBytes + o4.limits.cells * 32, l3 = 0, p4 = false, t4 = 0, a4 = 0;
|
|
630
|
-
for (let n3 = 0; n3 < e2.count; n3++) {
|
|
631
|
-
if (o4.signal.throwIfAborted(), ++l3 > i3) throw new e("resource-limit", "ssconvert chart work limit exceeded");
|
|
632
|
-
let d = e2.xMap.toView(e2.x === void 0 ? n3 + 1 : e2.x[n3] ?? NaN), s3 = e2.yMap.toView(e2.y === void 0 ? n3 + 1 : e2.y[n3] ?? NaN);
|
|
633
|
-
if (!Number.isFinite(d) || !Number.isFinite(s3) || Math.abs(d) === Number.MAX_VALUE || Math.abs(s3) === Number.MAX_VALUE) {
|
|
634
|
-
e2.skipInvalid || (p4 = false);
|
|
635
|
-
continue;
|
|
636
|
-
}
|
|
637
|
-
if (!p4) yield { kind: "move", x: d, y: s3 };
|
|
638
|
-
else {
|
|
639
|
-
switch (e2.interpolation) {
|
|
640
|
-
case "step-start":
|
|
641
|
-
yield { kind: "line", x: d, y: a4 };
|
|
642
|
-
break;
|
|
643
|
-
case "step-end":
|
|
644
|
-
yield { kind: "line", x: t4, y: s3 };
|
|
645
|
-
break;
|
|
646
|
-
case "step-center-x":
|
|
647
|
-
yield { kind: "line", x: (t4 + d) / 2, y: a4 }, o4.signal.throwIfAborted(), yield { kind: "line", x: (t4 + d) / 2, y: s3 };
|
|
648
|
-
break;
|
|
649
|
-
case "step-center-y":
|
|
650
|
-
yield { kind: "line", x: t4, y: (a4 + s3) / 2 }, o4.signal.throwIfAborted(), yield { kind: "line", x: d, y: (a4 + s3) / 2 };
|
|
651
|
-
break;
|
|
652
|
-
}
|
|
653
|
-
o4.signal.throwIfAborted(), yield { kind: "line", x: d, y: s3 };
|
|
654
|
-
}
|
|
655
|
-
p4 = true, t4 = d, a4 = s3;
|
|
519
|
+
return i3.signal.throwIfAborted(), R2;
|
|
520
|
+
} catch (a6) {
|
|
521
|
+
if (i3.signal.throwIfAborted(), t5 || !s(a6)) throw a6;
|
|
522
|
+
return await y(v2.encode(`${a6.message}
|
|
523
|
+
`)), i3.signal.throwIfAborted(), { exitCode: a6.exitCode };
|
|
656
524
|
}
|
|
657
|
-
o4.signal.throwIfAborted();
|
|
658
525
|
}
|
|
659
|
-
function
|
|
660
|
-
let i3 = [],
|
|
661
|
-
for (let
|
|
662
|
-
let
|
|
663
|
-
if (
|
|
664
|
-
else if (
|
|
526
|
+
function ne(g2, l2) {
|
|
527
|
+
let i3 = [], w = [], m3 = "", e2 = false;
|
|
528
|
+
for (let v2 = 0; v2 < g2.length; v2++) {
|
|
529
|
+
let t5 = g2[v2];
|
|
530
|
+
if (t5 === '"') if (e2 && g2[v2 + 1] === '"') m3 += '"', v2++;
|
|
531
|
+
else if (e2 || m3.length === 0) e2 = !e2;
|
|
665
532
|
else return;
|
|
666
|
-
else if (!
|
|
667
|
-
if (
|
|
668
|
-
|
|
669
|
-
} else if (!
|
|
533
|
+
else if (!e2 && t5 === l2) {
|
|
534
|
+
if (m3.startsWith("=") || m3.startsWith("'")) return;
|
|
535
|
+
w.push(m3), m3 = "";
|
|
536
|
+
} else if (!e2 && (t5 === "\r" || t5 === `
|
|
670
537
|
`)) {
|
|
671
|
-
if (
|
|
672
|
-
|
|
673
|
-
` &&
|
|
674
|
-
} else
|
|
538
|
+
if (m3.startsWith("=") || m3.startsWith("'")) return;
|
|
539
|
+
w.push(m3), i3.push(w), w = [], m3 = "", t5 === "\r" && g2[v2 + 1] === `
|
|
540
|
+
` && v2++;
|
|
541
|
+
} else m3 += t5;
|
|
675
542
|
}
|
|
676
|
-
if (!
|
|
677
|
-
if (
|
|
678
|
-
if (
|
|
679
|
-
|
|
543
|
+
if (!e2) {
|
|
544
|
+
if (m3.length > 0 || w.length > 0) {
|
|
545
|
+
if (m3.startsWith("=") || m3.startsWith("'")) return;
|
|
546
|
+
w.push(m3), i3.push(w);
|
|
680
547
|
}
|
|
681
548
|
return i3;
|
|
682
549
|
}
|
|
683
550
|
}
|
|
684
|
-
function
|
|
685
|
-
let
|
|
686
|
-
for (let i3 of
|
|
687
|
-
for (let
|
|
688
|
-
|
|
689
|
-
let
|
|
690
|
-
Be(typeof
|
|
691
|
-
|
|
551
|
+
function oe(g2) {
|
|
552
|
+
let l2 = "";
|
|
553
|
+
for (let i3 of g2) {
|
|
554
|
+
for (let w = 0; w < i3.length; w++) {
|
|
555
|
+
w && (l2 += ",");
|
|
556
|
+
let m3 = i3[w];
|
|
557
|
+
Be(typeof m3 == "string" ? m3 : or(m3), { mode: "auto", quote: '"', whitespace: true }, (e2) => {
|
|
558
|
+
l2 += e2;
|
|
692
559
|
});
|
|
693
560
|
}
|
|
694
|
-
|
|
561
|
+
l2 += `
|
|
695
562
|
`;
|
|
696
563
|
}
|
|
697
|
-
return
|
|
564
|
+
return l2;
|
|
698
565
|
}
|
|
699
|
-
var
|
|
700
|
-
var
|
|
701
|
-
function
|
|
702
|
-
return function(i3,
|
|
703
|
-
if (!(!
|
|
704
|
-
let
|
|
705
|
-
if (
|
|
706
|
-
if (
|
|
707
|
-
let [
|
|
708
|
-
if (
|
|
709
|
-
let
|
|
710
|
-
if (
|
|
711
|
-
let
|
|
712
|
-
if (
|
|
713
|
-
let
|
|
714
|
-
if (!
|
|
715
|
-
let
|
|
716
|
-
if (
|
|
717
|
-
if (
|
|
718
|
-
let
|
|
719
|
-
|
|
566
|
+
var ir = new TextDecoder("utf-8", { fatal: true });
|
|
567
|
+
var ar = new TextEncoder();
|
|
568
|
+
function V(g2) {
|
|
569
|
+
return function(i3, w, m3, e2, v2) {
|
|
570
|
+
if (!(!sr.has(i3) || w.length === 0)) try {
|
|
571
|
+
let t5 = U(w);
|
|
572
|
+
if (t5.kind === "terminal") return t5.exitCode === 0 && !t5.stderr && t5.stdout ? t5.stdout : void 0;
|
|
573
|
+
if (t5.action !== "convert" || t5.flags.length > 0 || Object.keys(t5.arrays).length > 0 || t5.scalars.clipboard !== void 0 || t5.scalars.resize !== void 0 || t5.scalars["export-range"] !== void 0 || t5.scalars["export-options"] !== void 0 || t5.scalars["import-encoding"] !== void 0 || t5.operands.length !== 2) return;
|
|
574
|
+
let [y, f2] = t5.operands;
|
|
575
|
+
if (y === "-" || f2 === "-" || y.includes("%") || f2.includes("%") || f2.endsWith("/") || /(?:^|\/)\.\.(?:\/|$)/.test(f2) || y.includes("://") && y !== "fd://0" || f2.includes("://") && f2 !== "fd://1") return;
|
|
576
|
+
let r4 = t5.scalars["import-type"], h = t5.scalars["export-type"], a6 = y.toLowerCase(), b = f2.toLowerCase(), C;
|
|
577
|
+
if (r4 === "Gnumeric_stf:stf_csvtab" || !r4 && a6.endsWith(".csv") ? C = "csv" : !r4 && a6.endsWith(".tsv") ? C = "tsv" : (r4 === "Gnumeric_Excel:xlsx" || !r4 && a6.endsWith(".xlsx")) && (C = "xlsx"), !C) return;
|
|
578
|
+
let I;
|
|
579
|
+
if (h === "Gnumeric_stf:stf_csv" || !h && b.endsWith(".csv") ? I = "csv" : (h === "Gnumeric_Excel:xlsx" || h === "Gnumeric_Excel:xlsx2" || !h && b.endsWith(".xlsx")) && (I = "xlsx"), !I || f2 === "fd://1" && (!h || I !== "csv")) return;
|
|
580
|
+
let R2 = y === "fd://0" ? m3 : e2?.(y);
|
|
581
|
+
if (!R2 || R2.byteLength === 0 || R2.byteLength > 131072) return;
|
|
582
|
+
let n4, c2 = y === "fd://0" ? "Sheet1" : y.split("/").pop() || "Sheet1";
|
|
583
|
+
if (C === "csv" || C === "tsv") {
|
|
584
|
+
if (R2.includes(0)) return;
|
|
585
|
+
let S2 = ir.decode(R2);
|
|
586
|
+
n4 = ne(S2, C === "tsv" ? " " : ",");
|
|
720
587
|
} else {
|
|
721
|
-
let
|
|
722
|
-
if (!
|
|
723
|
-
|
|
588
|
+
let S2 = parseSimpleXlsxTable(g2.read(R2));
|
|
589
|
+
if (!S2) return;
|
|
590
|
+
n4 = S2.rows, c2 = S2.sheetName;
|
|
724
591
|
}
|
|
725
|
-
if (!
|
|
726
|
-
if (
|
|
727
|
-
let
|
|
728
|
-
return
|
|
592
|
+
if (!n4) return;
|
|
593
|
+
if (I === "csv") {
|
|
594
|
+
let S2 = oe(n4);
|
|
595
|
+
return S2.includes("\0") ? void 0 : f2 === "fd://1" ? S2 : !v2 || !v2(f2, ar.encode(S2)) ? void 0 : "";
|
|
729
596
|
}
|
|
730
|
-
let
|
|
731
|
-
return !
|
|
597
|
+
let s4 = g2.write(buildSimpleXlsx(n4, c2));
|
|
598
|
+
return !v2 || !v2(f2, s4) ? void 0 : "";
|
|
732
599
|
} catch {
|
|
733
600
|
return;
|
|
734
601
|
}
|
|
735
602
|
};
|
|
736
603
|
}
|
|
737
|
-
function
|
|
738
|
-
function
|
|
739
|
-
i3 && (
|
|
740
|
-
let
|
|
741
|
-
if (
|
|
742
|
-
let
|
|
743
|
-
|
|
744
|
-
let
|
|
745
|
-
} }),
|
|
746
|
-
|
|
747
|
-
} },
|
|
748
|
-
|
|
749
|
-
} },
|
|
750
|
-
await
|
|
751
|
-
let
|
|
752
|
-
O.throwIfAborted(),
|
|
753
|
-
yield
|
|
754
|
-
})(), { signal: O }) : await
|
|
604
|
+
function ce(g2, l2 = false, i3) {
|
|
605
|
+
function w(v2 = {}) {
|
|
606
|
+
i3 && (fr.evalSyncSsconvert = i3);
|
|
607
|
+
let t5 = { ...v2 };
|
|
608
|
+
if (t5.replace !== void 0 && typeof t5.replace != "boolean") throw new TypeError("ssconvert replace must be boolean");
|
|
609
|
+
let y = { ...t5, ...t5.io === void 0 ? {} : { io: Object.freeze({ ...t5.io.descriptors === void 0 ? {} : { descriptors: Object.freeze(Object.fromEntries(Object.entries(t5.io.descriptors).map(([r4, h]) => [r4, Object.freeze({ ...h })]))) }, ...t5.io.adapters === void 0 ? {} : { adapters: Object.freeze({ ...t5.io.adapters }) }, ...t5.io.transport === void 0 ? {} : { transport: Object.freeze({ authorize: t5.io.transport.authorize.bind(t5.io.transport), request: t5.io.transport.request.bind(t5.io.transport), redirects: t5.io.transport.redirects }) } }) }, ...t5.runtimeFunctions === void 0 ? {} : { runtimeFunctions: $(t5.runtimeFunctions) }, ...t5.profile === void 0 ? {} : { profile: Object.freeze({ ...t5.profile, ...t5.profile.groups === void 0 ? {} : { groups: Object.freeze({ ...t5.profile.groups }) }, ...t5.profile.configurationRoots === void 0 ? {} : { configurationRoots: Object.freeze({ ...t5.profile.configurationRoots }) } }) }, codecs: Object.freeze([...t5.codecs ?? []]), ...t5.formats === void 0 ? {} : { formats: Te(t5.formats) }, limits: Object.freeze({ ...dr, ...t5.limits }), environment: Object.freeze({ locale: "C", timezone: "UTC", ...t5.environment, env: Object.freeze({ ...t5.environment?.env }) }) }, f2 = { name: "ssconvert", description: "Explicitly bound TypeScript spreadsheet conversion engine", async execute(r4) {
|
|
610
|
+
r4.signal.throwIfAborted();
|
|
611
|
+
let h = pr(r4, { async write() {
|
|
612
|
+
} }), a6 = Math.min(y.limits.inputBytes, r4.inputBudget?.maxBytes ?? 1 / 0), b, C = { async write(s4) {
|
|
613
|
+
b ??= h.child(r4.stdout), await b.output.write(s4);
|
|
614
|
+
} }, I, R2 = { async write(s4) {
|
|
615
|
+
I ??= h.child(r4.stderr), await I.output.write(s4);
|
|
616
|
+
} }, n4 = M2(r4.fs, async (s4, S2, O) => {
|
|
617
|
+
await h.acquire(() => X(r4, S2, async (x2) => {
|
|
618
|
+
let k3 = await r4.fs.capabilitiesFor?.(s4, { signal: O }) ?? r4.fs.capabilities;
|
|
619
|
+
O.throwIfAborted(), r4.fs.writeStream && k3.streamingWrite !== false ? await r4.fs.writeStream(s4, (async function* () {
|
|
620
|
+
yield x2;
|
|
621
|
+
})(), { signal: O }) : await r4.fs.writeFile(s4, x2, { signal: O });
|
|
755
622
|
}), () => {
|
|
756
623
|
});
|
|
757
|
-
}, (
|
|
624
|
+
}, (s4) => cr(r4.fs, (S2) => s4((O) => S2.rm(O)), { maxOperations: 1 })), c2;
|
|
758
625
|
try {
|
|
759
|
-
let
|
|
760
|
-
|
|
761
|
-
for (let
|
|
762
|
-
if (
|
|
763
|
-
if (typeof
|
|
764
|
-
|
|
626
|
+
let s4 = y.limits.argumentBytes ?? 1 / 0, S2 = r4.argumentValues?.values ?? r4.args, O = 0, x2;
|
|
627
|
+
S2.length > s4 && (x2 = "ssconvert arguments limit exceeded");
|
|
628
|
+
for (let d of S2) {
|
|
629
|
+
if (x2) break;
|
|
630
|
+
if (typeof d == "string" && d.length > s4 - O) {
|
|
631
|
+
x2 = "ssconvert argument bytes limit exceeded";
|
|
765
632
|
break;
|
|
766
633
|
}
|
|
767
|
-
O +=
|
|
634
|
+
O += ur(d), O > s4 && (x2 = "ssconvert argument bytes limit exceeded");
|
|
768
635
|
}
|
|
769
|
-
if (
|
|
770
|
-
`)),
|
|
771
|
-
let
|
|
636
|
+
if (x2) return await R2.write(new TextEncoder().encode(`${x2}
|
|
637
|
+
`)), h.signal.throwIfAborted(), { exitCode: 1 };
|
|
638
|
+
let k3 = await h.acquire(() => G2(r4.cwd, r4.env.PWD, r4.fs, h.signal), () => {
|
|
772
639
|
});
|
|
773
|
-
if (i3 &&
|
|
774
|
-
let
|
|
775
|
-
let
|
|
776
|
-
return
|
|
777
|
-
}, (
|
|
778
|
-
if (
|
|
779
|
-
if (
|
|
780
|
-
let { path:
|
|
781
|
-
await
|
|
640
|
+
if (i3 && de.has(f2.execute)) {
|
|
641
|
+
let d, p4 = i3(f2.execute, r4.args, void 0, (E) => {
|
|
642
|
+
let u = ae(k3, E), A2 = lr(r4.fs, u, a6 === 1 / 0 ? void 0 : a6, h.signal);
|
|
643
|
+
return A2 && r4.inputBudget?.check(A2.byteLength), A2;
|
|
644
|
+
}, (E, u) => (d = { path: ae(k3, E), bytes: u }, true));
|
|
645
|
+
if (p4 !== void 0) {
|
|
646
|
+
if (d) {
|
|
647
|
+
let { path: E, bytes: u } = d;
|
|
648
|
+
await h.acquire(() => X(r4, u, (A2) => r4.fs.writeFile(E, A2, { signal: h.signal })), () => {
|
|
782
649
|
});
|
|
783
650
|
}
|
|
784
|
-
return
|
|
651
|
+
return p4.length > 0 && await C.write(new TextEncoder().encode(p4)), { exitCode: 0 };
|
|
785
652
|
}
|
|
786
653
|
}
|
|
787
|
-
|
|
654
|
+
c2 = await g2({ ...y, environment: { ...y.environment, cwd: k3, env: Object.freeze({ ...r4.env }) }, limits: { ...y.limits, inputBytes: a6 }, filesystem: z({ ...y.io, cwd: k3, descriptors: { ...y.io?.descriptors, 0: { source: r4.stdin }, 1: { sink: C } }, filesystem: { openOutput: n4, async read(d, p4) {
|
|
788
655
|
try {
|
|
789
|
-
let
|
|
790
|
-
if (
|
|
791
|
-
let
|
|
656
|
+
let E = await r4.fs.capabilitiesFor?.(d, { signal: p4 }) ?? r4.fs.capabilities;
|
|
657
|
+
if (p4.throwIfAborted(), r4.fs.readStream && E.streamingRead !== false) return r4.fs.readStream(d, { signal: p4 });
|
|
658
|
+
let u = await h.acquire(() => r4.fs.readFile(d, { signal: p4, ...a6 === 1 / 0 ? {} : { maxBytes: a6 } }), () => {
|
|
792
659
|
});
|
|
793
|
-
return
|
|
794
|
-
} catch (
|
|
795
|
-
throw
|
|
660
|
+
return r4.inputBudget?.check(u.byteLength), [u];
|
|
661
|
+
} catch (E) {
|
|
662
|
+
throw p4.throwIfAborted(), E;
|
|
796
663
|
}
|
|
797
|
-
}, async write(
|
|
664
|
+
}, async write(d, p4, E) {
|
|
798
665
|
try {
|
|
799
|
-
await
|
|
800
|
-
let
|
|
801
|
-
|
|
802
|
-
yield
|
|
803
|
-
})(), { signal:
|
|
666
|
+
await h.acquire(() => X(r4, p4, async (u) => {
|
|
667
|
+
let A2 = await r4.fs.capabilitiesFor?.(d, { signal: E }) ?? r4.fs.capabilities;
|
|
668
|
+
E.throwIfAborted(), r4.fs.writeStream && A2.streamingWrite !== false ? await r4.fs.writeStream(d, (async function* () {
|
|
669
|
+
yield u;
|
|
670
|
+
})(), { signal: E }) : await r4.fs.writeFile(d, u, { signal: E });
|
|
804
671
|
}), () => {
|
|
805
672
|
});
|
|
806
|
-
} catch (
|
|
807
|
-
throw
|
|
673
|
+
} catch (u) {
|
|
674
|
+
throw E.throwIfAborted(), u;
|
|
808
675
|
}
|
|
809
676
|
} } }) });
|
|
810
|
-
let
|
|
811
|
-
return await
|
|
677
|
+
let o6 = mr(r4);
|
|
678
|
+
return await q2(o6.args.map((d, p4) => o6.bytes(p4)), c2, { signal: h.signal, ...r4.stdinIsDefault === void 0 ? {} : { stdinIsDefault: r4.stdinIsDefault }, stdout: C, stderr: R2, registerCleanup: (d) => h.registerCleanup(d) }, y.profile);
|
|
812
679
|
} finally {
|
|
813
680
|
try {
|
|
814
|
-
await
|
|
681
|
+
await c2?.dispose();
|
|
815
682
|
} finally {
|
|
816
|
-
await
|
|
817
|
-
let
|
|
818
|
-
typeof
|
|
683
|
+
await h.close();
|
|
684
|
+
let s4 = globalThis.gc;
|
|
685
|
+
typeof s4 == "function" && (s4(), s4());
|
|
819
686
|
}
|
|
820
687
|
}
|
|
821
688
|
} };
|
|
822
|
-
return
|
|
689
|
+
return l2 && Object.entries(t5).every(([r4, h]) => r4 === "replace" || h === void 0) && de.add(f2.execute), f2;
|
|
823
690
|
}
|
|
824
|
-
function
|
|
825
|
-
let
|
|
826
|
-
return { name: "ssconvert-commands", setup(
|
|
827
|
-
if (!
|
|
828
|
-
for (let
|
|
691
|
+
function m3(v2 = {}) {
|
|
692
|
+
let t5 = e2(v2), y = v2.replace ?? false;
|
|
693
|
+
return { name: "ssconvert-commands", setup(f2) {
|
|
694
|
+
if (!y && t5.some((r4) => f2.commands.has(r4.name))) throw new Error("Command already registered: ssconvert");
|
|
695
|
+
for (let r4 of t5) f2.commands.register(r4, { replace: y });
|
|
829
696
|
} };
|
|
830
697
|
}
|
|
831
|
-
function
|
|
832
|
-
return Object.freeze([
|
|
698
|
+
function e2(v2 = {}) {
|
|
699
|
+
return Object.freeze([w(v2)]);
|
|
833
700
|
}
|
|
834
|
-
return { createSsconvertCommand:
|
|
701
|
+
return { createSsconvertCommand: w, createSsconvertCommands: e2, ssconvertCommands: m3 };
|
|
835
702
|
}
|
|
836
|
-
var
|
|
837
|
-
function
|
|
838
|
-
return
|
|
703
|
+
var le;
|
|
704
|
+
function hr(...g2) {
|
|
705
|
+
return le ??= V({ read: readZipArchiveEntries, write: createStoredZipArchive }), le(...g2);
|
|
839
706
|
}
|
|
840
|
-
var
|
|
841
|
-
var
|
|
842
|
-
var
|
|
843
|
-
var
|
|
844
|
-
var
|
|
845
|
-
var
|
|
846
|
-
var
|
|
847
|
-
let
|
|
848
|
-
return (await import("../safe-bash/command-chunks/xlsx-RE54MFCS-RECJEVTB.js")).createXlsxWriter(
|
|
707
|
+
var H2 = ce(async (g2) => (await import("../safe-bash/command-chunks/engine-EOYR2WTY-KUFLFTDE.js")).createEngine(g2), true, hr);
|
|
708
|
+
var Rn = H2.createSsconvertCommand;
|
|
709
|
+
var An = H2.createSsconvertCommands;
|
|
710
|
+
var jn = H2.ssconvertCommands;
|
|
711
|
+
var Bn = async (...g2) => (await import("../safe-bash/command-chunks/xlsx-RE54MFCS-RECJEVTB.js")).readXlsx(...g2);
|
|
712
|
+
var Dn = async (...g2) => (await import("../safe-bash/command-chunks/xlsx-RE54MFCS-RECJEVTB.js")).probeXlsx(...g2);
|
|
713
|
+
var Tn = (g2 = "2006") => async (l2, i3, w) => {
|
|
714
|
+
let m3 = (0, T.snapshotXlsxWorkbook)(l2, w);
|
|
715
|
+
return (await import("../safe-bash/command-chunks/xlsx-RE54MFCS-RECJEVTB.js")).createXlsxWriter(g2)(m3, i3, w);
|
|
849
716
|
};
|
|
850
717
|
export {
|
|
851
718
|
r as DEFAULT_SHEET_SIZE,
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
719
|
+
a as ImageExportError,
|
|
720
|
+
t3 as MAX_SHEET_SIZE,
|
|
721
|
+
Xn as SsconvertError,
|
|
722
|
+
Xe as cartesianErrorBarSegments,
|
|
723
|
+
Ke as cartesianSeriesPath,
|
|
724
|
+
c as chartDataTypes,
|
|
725
|
+
r3 as chartPlugins,
|
|
726
|
+
Me as createAxisMap,
|
|
727
|
+
nr as createDatabaseFunctions,
|
|
861
728
|
Ur as createEngine,
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
729
|
+
t4 as createFormattingCapability,
|
|
730
|
+
g as createImageRendering,
|
|
731
|
+
er as createPythonSampleFunctions,
|
|
865
732
|
Pe as createRegistry,
|
|
866
733
|
z as createResourceIO,
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
734
|
+
Rn as createSsconvertCommand,
|
|
735
|
+
An as createSsconvertCommands,
|
|
736
|
+
V as createSyncSsconvertEvaluator,
|
|
737
|
+
M2 as createVfsOutput,
|
|
738
|
+
Tn as createXlsxWriter,
|
|
872
739
|
q as csvFormat,
|
|
873
740
|
Ir as defaultSsconvertLimits,
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
741
|
+
m as encodeGraphImage,
|
|
742
|
+
He as errorBarBounds,
|
|
743
|
+
hr as evalSyncSsconvert,
|
|
744
|
+
a2 as excelGrammar,
|
|
745
|
+
p2 as exportOptionPairs,
|
|
746
|
+
De as exportRangeForSheet,
|
|
880
747
|
s2 as formatA1,
|
|
881
748
|
S as getCell,
|
|
882
|
-
|
|
749
|
+
a3 as getCellsExtent,
|
|
883
750
|
m2 as gnumericGrammar,
|
|
884
|
-
|
|
751
|
+
o as imageFormats,
|
|
885
752
|
i as internalOdfGrammar,
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
|
|
753
|
+
Hn as isSsconvertError,
|
|
754
|
+
o5 as layoutPrintPages,
|
|
755
|
+
l as legacyApplixGrammar,
|
|
756
|
+
o2 as legacyOpenOfficeGrammar,
|
|
757
|
+
Ye as loadSolverParameters,
|
|
758
|
+
Ve2 as markerGeometry,
|
|
892
759
|
Te2 as moveWorkbookSheet,
|
|
893
|
-
|
|
894
|
-
|
|
760
|
+
p3 as objectRectangle,
|
|
761
|
+
t2 as odfGrammar,
|
|
895
762
|
R as odsFormat,
|
|
896
|
-
|
|
897
|
-
|
|
763
|
+
Ne as orientedBounds,
|
|
764
|
+
Qe as paginateAxis,
|
|
898
765
|
k as parseA1,
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
|
|
766
|
+
U as parseCommand,
|
|
767
|
+
o3 as parseExpression,
|
|
768
|
+
We as parseResize,
|
|
769
|
+
rr as perlSampleFunctions,
|
|
770
|
+
$e as pieWedges,
|
|
771
|
+
_e as positionLabel,
|
|
772
|
+
Dn as probeXlsx,
|
|
773
|
+
t as profileImageTargets,
|
|
774
|
+
tr as pythonSampleFunctions,
|
|
775
|
+
Bn as readXlsx,
|
|
776
|
+
Fe as recalculateWorkbook,
|
|
910
777
|
r2 as recalculateWorkbookSync,
|
|
911
|
-
|
|
912
|
-
|
|
778
|
+
qe as rectanglesOverlap,
|
|
779
|
+
L as referenceText,
|
|
913
780
|
Ue as renameWorkbookSheet,
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
|
|
781
|
+
a4 as renderCellText,
|
|
782
|
+
n3 as renderPrintHeaderFooter,
|
|
783
|
+
ze as resizeWorkbookReferences,
|
|
917
784
|
n2 as resolveName,
|
|
918
|
-
|
|
785
|
+
G2 as resolveVfsCwd,
|
|
919
786
|
i2 as rewriteReferences,
|
|
920
|
-
|
|
921
|
-
|
|
787
|
+
q2 as runCommand,
|
|
788
|
+
Ze as runSolver,
|
|
922
789
|
x as serializeExpression,
|
|
923
|
-
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
|
|
790
|
+
s3 as sheetObjectTypes,
|
|
791
|
+
a5 as sheetObjects,
|
|
792
|
+
$ as snapshotRuntimeFunctions,
|
|
793
|
+
p as snapshotWorkbook,
|
|
794
|
+
Je as solverAlgorithms,
|
|
928
795
|
Ve as sourceServices,
|
|
929
796
|
G as spreadsheetmlFormat,
|
|
930
|
-
|
|
797
|
+
jn as ssconvertCommands,
|
|
931
798
|
Ge as suggestSheetSize,
|
|
932
|
-
|
|
799
|
+
f as sylkGrammar,
|
|
933
800
|
n as sylkWriterGrammar,
|
|
934
|
-
|
|
801
|
+
Le as translateFormulaGroup,
|
|
935
802
|
v as updateWorkbook,
|
|
936
803
|
A as validSheetSize,
|
|
937
|
-
|
|
804
|
+
o4 as visitFormula,
|
|
938
805
|
M as xlsFormat,
|
|
939
|
-
|
|
806
|
+
H as xlsxFormat
|
|
940
807
|
};
|