@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.
Files changed (856) hide show
  1. package/README.md +4 -0
  2. package/dist/image-ast/portable.d.ts +8 -0
  3. package/dist/image-ast/portable.js +2 -0
  4. package/dist/safe-bash/chunks/{chunk-KRA6WK4Z.js → chunk-3Y54SR4R.js} +6 -6
  5. package/dist/safe-bash/chunks/{chunk-OYJI4L4J.js → chunk-PPAA3LJS.js} +1 -1
  6. package/dist/safe-bash/chunks/{chunk-SCROOJV7.js → chunk-XZ2Y4RWC.js} +2 -2
  7. package/dist/safe-bash/command-chunks/{biff-AU4VGVMD-6EQ64QPG.js → biff-YBHP7ZES-M7TU7NA5.js} +1211 -1205
  8. package/dist/safe-bash/command-chunks/chunk-2A6TBB4F.js +14 -0
  9. package/dist/safe-bash/command-chunks/chunk-2AF7J6FE.js +372 -0
  10. package/dist/safe-bash/command-chunks/{chunk-AITNVBXO.js → chunk-2ANW3FXH.js} +4 -4
  11. package/dist/safe-bash/command-chunks/chunk-2B6XWO6A.js +730 -0
  12. package/dist/safe-bash/command-chunks/chunk-2BKOSQD3.js +11 -0
  13. package/dist/safe-bash/command-chunks/chunk-2EUH5B6A.js +127 -0
  14. package/dist/safe-bash/command-chunks/chunk-2FOLUJLI.js +400 -0
  15. package/dist/safe-bash/command-chunks/{chunk-CZLX3KVF.js → chunk-2GILUQJY.js} +4 -6
  16. package/dist/safe-bash/command-chunks/chunk-2HHGDJ7J.js +280 -0
  17. package/dist/safe-bash/command-chunks/chunk-2NE2GPSF.js +546 -0
  18. package/dist/safe-bash/command-chunks/chunk-2P7BLWWI.js +272 -0
  19. package/dist/safe-bash/command-chunks/chunk-2PSVE7I5.js +101 -0
  20. package/dist/safe-bash/command-chunks/chunk-2UUFZMOH.js +503 -0
  21. package/dist/safe-bash/command-chunks/chunk-2VGAC6S6.js +393 -0
  22. package/dist/safe-bash/command-chunks/chunk-2W54TAGI.js +162 -0
  23. package/dist/safe-bash/command-chunks/chunk-326A5G42.js +328 -0
  24. package/dist/safe-bash/command-chunks/chunk-36KIT4DU.js +218 -0
  25. package/dist/safe-bash/command-chunks/chunk-3CHQG25N.js +455 -0
  26. package/dist/safe-bash/command-chunks/chunk-3JQ3RF2O.js +72 -0
  27. package/dist/safe-bash/command-chunks/chunk-3MLJWSYL.js +92 -0
  28. package/dist/safe-bash/command-chunks/{chunk-ASYR2LU7.js → chunk-3RQCLLQA.js} +5 -5
  29. package/dist/safe-bash/command-chunks/chunk-3SEQG5JH.js +521 -0
  30. package/dist/safe-bash/command-chunks/chunk-3SWT2KYH.js +78 -0
  31. package/dist/safe-bash/command-chunks/chunk-3VETFXYR.js +170 -0
  32. package/dist/safe-bash/command-chunks/chunk-3W6PTHHB.js +65 -0
  33. package/dist/safe-bash/command-chunks/chunk-457CU3IC.js +8 -0
  34. package/dist/safe-bash/command-chunks/chunk-45BW6MGM.js +250 -0
  35. package/dist/safe-bash/command-chunks/chunk-47MFDPH4.js +419 -0
  36. package/dist/safe-bash/command-chunks/chunk-4ATHODCG.js +444 -0
  37. package/dist/safe-bash/command-chunks/chunk-4DJICIFV.js +227 -0
  38. package/dist/safe-bash/command-chunks/chunk-4FNQPK7C.js +385 -0
  39. package/dist/safe-bash/command-chunks/chunk-4LXDJES2.js +65 -0
  40. package/dist/safe-bash/command-chunks/chunk-4QRXKUD2.js +662 -0
  41. package/dist/safe-bash/command-chunks/chunk-4QYNOBWZ.js +455 -0
  42. package/dist/safe-bash/command-chunks/{chunk-MWNWT6HG.js → chunk-4XFFIKA3.js} +5 -5
  43. package/dist/safe-bash/command-chunks/chunk-5AU5ENL5.js +180 -0
  44. package/dist/safe-bash/command-chunks/chunk-5DFZAJHL.js +324 -0
  45. package/dist/safe-bash/command-chunks/chunk-5GEFJROP.js +270 -0
  46. package/dist/safe-bash/command-chunks/chunk-5HWX4XYW.js +263 -0
  47. package/dist/safe-bash/command-chunks/chunk-5LKNP4IF.js +872 -0
  48. package/dist/safe-bash/command-chunks/chunk-5OEHUIVE.js +240 -0
  49. package/dist/safe-bash/command-chunks/chunk-6EHVFKM7.js +171 -0
  50. package/dist/safe-bash/command-chunks/chunk-6JTPLJ3B.js +155 -0
  51. package/dist/safe-bash/command-chunks/chunk-6KLUPQ65.js +496 -0
  52. package/dist/safe-bash/command-chunks/chunk-6NS5RXQ7.js +285 -0
  53. package/dist/safe-bash/command-chunks/chunk-6PJIQEH4.js +3472 -0
  54. package/dist/safe-bash/command-chunks/chunk-763ECQWB.js +566 -0
  55. package/dist/safe-bash/command-chunks/chunk-7DADVPKN.js +23 -0
  56. package/dist/safe-bash/command-chunks/chunk-7LEADSSA.js +164 -0
  57. package/dist/safe-bash/command-chunks/chunk-7MMSBVUP.js +732 -0
  58. package/dist/safe-bash/command-chunks/chunk-7OXNWLSL.js +35 -0
  59. package/dist/safe-bash/command-chunks/chunk-7PZASWL6.js +354 -0
  60. package/dist/safe-bash/command-chunks/{chunk-ZBR3UH4P.js → chunk-7QH3WAMQ.js} +2 -2
  61. package/dist/safe-bash/command-chunks/{chunk-CB3HTIDK.js → chunk-7SOE7XIS.js} +11 -11
  62. package/dist/safe-bash/command-chunks/chunk-7Y3ZQ6FE.js +56 -0
  63. package/dist/safe-bash/command-chunks/chunk-A2YEQYCC.js +289 -0
  64. package/dist/safe-bash/command-chunks/chunk-A3XE767Q.js +502 -0
  65. package/dist/safe-bash/command-chunks/{chunk-MWY75E3F.js → chunk-A6LCBGE6.js} +187 -187
  66. package/dist/safe-bash/command-chunks/{chunk-HFUL6E5I.js → chunk-A7CE4EIU.js} +33 -151
  67. package/dist/safe-bash/command-chunks/chunk-A7EMM3SB.js +297 -0
  68. package/dist/safe-bash/command-chunks/{chunk-G3YO3JIN.js → chunk-ABH5FMMA.js} +1 -1
  69. package/dist/safe-bash/command-chunks/chunk-AEJZEGW7.js +1376 -0
  70. package/dist/safe-bash/command-chunks/chunk-AELXRNM6.js +207 -0
  71. package/dist/safe-bash/command-chunks/chunk-AEZIPWRI.js +260 -0
  72. package/dist/safe-bash/command-chunks/{chunk-AHD3CGAY.js → chunk-AFPXADZG.js} +4 -4
  73. package/dist/safe-bash/command-chunks/chunk-AIOB34IX.js +201 -0
  74. package/dist/safe-bash/command-chunks/chunk-AJEYCC4X.js +262 -0
  75. package/dist/safe-bash/command-chunks/chunk-ALMHXDKZ.js +321 -0
  76. package/dist/safe-bash/command-chunks/chunk-AQ6RTM2M.js +309 -0
  77. package/dist/safe-bash/command-chunks/chunk-AQNFEGMZ.js +481 -0
  78. package/dist/safe-bash/command-chunks/{chunk-2AKKYY5G.js → chunk-ASZ4EMKE.js} +1 -1
  79. package/dist/safe-bash/command-chunks/chunk-AYJGINE5.js +144 -0
  80. package/dist/safe-bash/command-chunks/{chunk-MRFW2E6B.js → chunk-B4UWZCQR.js} +1 -1
  81. package/dist/safe-bash/command-chunks/chunk-BDYKJTBQ.js +43 -0
  82. package/dist/safe-bash/command-chunks/chunk-BERVTMQB.js +41 -0
  83. package/dist/safe-bash/command-chunks/chunk-BZOY2UMP.js +275 -0
  84. package/dist/safe-bash/command-chunks/{chunk-W47KIMSP.js → chunk-C2EYJT4S.js} +1 -1
  85. package/dist/safe-bash/command-chunks/chunk-CK5Q6RDE.js +342 -0
  86. package/dist/safe-bash/command-chunks/chunk-CKEODJVT.js +992 -0
  87. package/dist/safe-bash/command-chunks/{chunk-Z7UIOPHJ.js → chunk-DCMSPMMD.js} +1 -1
  88. package/dist/safe-bash/command-chunks/chunk-DE66JRWJ.js +352 -0
  89. package/dist/safe-bash/command-chunks/chunk-DKNNYPOI.js +409 -0
  90. package/dist/safe-bash/command-chunks/chunk-DV745GFU.js +294 -0
  91. package/dist/safe-bash/command-chunks/chunk-DXX2Z2QA.js +33 -0
  92. package/dist/safe-bash/command-chunks/chunk-E7AYF54A.js +473 -0
  93. package/dist/safe-bash/command-chunks/chunk-EDSFQJAU.js +159 -0
  94. package/dist/safe-bash/command-chunks/{chunk-UQ3KEUCF.js → chunk-ESD5ZD74.js} +7 -1
  95. package/dist/safe-bash/command-chunks/chunk-EUXUCRCI.js +1739 -0
  96. package/dist/safe-bash/command-chunks/chunk-F2ORFLCH.js +3669 -0
  97. package/dist/safe-bash/command-chunks/chunk-FANIWOBM.js +311 -0
  98. package/dist/safe-bash/command-chunks/chunk-FOO3AXFK.js +47 -0
  99. package/dist/safe-bash/command-chunks/chunk-FRZ5P5AB.js +131 -0
  100. package/dist/safe-bash/command-chunks/chunk-FZSQMMYV.js +276 -0
  101. package/dist/safe-bash/command-chunks/{chunk-P6NUIMMX.js → chunk-G5F2VSQ7.js} +1 -1
  102. package/dist/safe-bash/command-chunks/chunk-GGOZXIGH.js +299 -0
  103. package/dist/safe-bash/command-chunks/chunk-GIESJLR2.js +241 -0
  104. package/dist/safe-bash/command-chunks/chunk-GLPIFP7N.js +385 -0
  105. package/dist/safe-bash/command-chunks/chunk-GZ2N24A2.js +342 -0
  106. package/dist/safe-bash/command-chunks/chunk-H2NWPMNW.js +216 -0
  107. package/dist/safe-bash/command-chunks/chunk-HHLVI2CB.js +3949 -0
  108. package/dist/safe-bash/command-chunks/chunk-HJDE7ZNV.js +82 -0
  109. package/dist/safe-bash/command-chunks/chunk-HOAM3F5I.js +124 -0
  110. package/dist/safe-bash/command-chunks/chunk-HPKUFWHW.js +482 -0
  111. package/dist/safe-bash/command-chunks/chunk-HPMVMOD2.js +109 -0
  112. package/dist/safe-bash/command-chunks/chunk-HQAHDJPX.js +8 -0
  113. package/dist/safe-bash/command-chunks/chunk-HR2Y6YEP.js +12 -0
  114. package/dist/safe-bash/command-chunks/chunk-HUNXIAOL.js +62 -0
  115. package/dist/safe-bash/command-chunks/chunk-I4JWZOSP.js +244 -0
  116. package/dist/safe-bash/command-chunks/chunk-I6AMDG2T.js +85 -0
  117. package/dist/safe-bash/command-chunks/chunk-IB2Q5CL3.js +288 -0
  118. package/dist/safe-bash/command-chunks/chunk-IFNLDOJ4.js +316 -0
  119. package/dist/safe-bash/command-chunks/chunk-IKHBXETN.js +174 -0
  120. package/dist/safe-bash/command-chunks/chunk-IOSWG5JS.js +228 -0
  121. package/dist/safe-bash/command-chunks/chunk-IQFRPIXH.js +317 -0
  122. package/dist/safe-bash/command-chunks/chunk-IR6ZKAUH.js +582 -0
  123. package/dist/safe-bash/command-chunks/chunk-IW7PEB4I.js +297 -0
  124. package/dist/safe-bash/command-chunks/chunk-JGGRMERW.js +36 -0
  125. package/dist/safe-bash/command-chunks/chunk-JHAY3KYC.js +520 -0
  126. package/dist/safe-bash/command-chunks/{chunk-UO25D4WG.js → chunk-JITDS55R.js} +22 -22
  127. package/dist/safe-bash/command-chunks/chunk-JJK3CU7Z.js +6 -0
  128. package/dist/safe-bash/command-chunks/{chunk-XKZWUMH4.js → chunk-JN7GNI2C.js} +1 -1
  129. package/dist/safe-bash/command-chunks/chunk-JQ3EJKHF.js +160 -0
  130. package/dist/safe-bash/command-chunks/chunk-JQE256UO.js +292 -0
  131. package/dist/safe-bash/command-chunks/chunk-JQZ3BXWY.js +382 -0
  132. package/dist/safe-bash/command-chunks/{chunk-7DLR4HCC.js → chunk-JWSOFSGI.js} +22 -22
  133. package/dist/safe-bash/command-chunks/chunk-K3CDZMUN.js +168 -0
  134. package/dist/safe-bash/command-chunks/{chunk-SUYSZJI3.js → chunk-K5COUQAQ.js} +4 -4
  135. package/dist/safe-bash/command-chunks/chunk-K7HUXUN2.js +489 -0
  136. package/dist/safe-bash/command-chunks/chunk-KB3CY3QO.js +62 -0
  137. package/dist/safe-bash/command-chunks/chunk-KCBVOYAY.js +92 -0
  138. package/dist/safe-bash/command-chunks/chunk-KD25ICP4.js +366 -0
  139. package/dist/safe-bash/command-chunks/chunk-KDKQ5D55.js +180 -0
  140. package/dist/safe-bash/command-chunks/chunk-KNKDUEDW.js +521 -0
  141. package/dist/safe-bash/command-chunks/chunk-KR2PQ7GD.js +174 -0
  142. package/dist/safe-bash/command-chunks/chunk-KS6WUDPM.js +153 -0
  143. package/dist/safe-bash/command-chunks/{chunk-XFHUSZBM.js → chunk-KUGV3SSL.js} +5 -5
  144. package/dist/safe-bash/command-chunks/chunk-L2JAP5KO.js +249 -0
  145. package/dist/safe-bash/command-chunks/chunk-L2KEA6SN.js +271 -0
  146. package/dist/safe-bash/command-chunks/chunk-L3WY5ASN.js +526 -0
  147. package/dist/safe-bash/command-chunks/chunk-L4XEXXVQ.js +399 -0
  148. package/dist/safe-bash/command-chunks/chunk-LDTUZIJK.js +90 -0
  149. package/dist/safe-bash/command-chunks/chunk-LHDB4QO5.js +479 -0
  150. package/dist/safe-bash/command-chunks/chunk-LHL6RWGJ.js +548 -0
  151. package/dist/safe-bash/command-chunks/chunk-LHRXDH45.js +164 -0
  152. package/dist/safe-bash/command-chunks/chunk-LQOKYG3O.js +153 -0
  153. package/dist/safe-bash/command-chunks/chunk-LRDME6WV.js +12 -0
  154. package/dist/safe-bash/command-chunks/chunk-LWVDJB5S.js +305 -0
  155. package/dist/safe-bash/command-chunks/chunk-M57GLLK4.js +27 -0
  156. package/dist/safe-bash/command-chunks/chunk-MAHX3IW3.js +108 -0
  157. package/dist/safe-bash/command-chunks/{chunk-LQZSR6DT.js → chunk-MDV7W5AS.js} +2 -2
  158. package/dist/safe-bash/command-chunks/chunk-MG7AJD5E.js +168 -0
  159. package/dist/safe-bash/command-chunks/chunk-MHJ3DQUE.js +213 -0
  160. package/dist/safe-bash/command-chunks/chunk-MLGNBD7V.js +552 -0
  161. package/dist/safe-bash/command-chunks/chunk-MN2M33JK.js +237 -0
  162. package/dist/safe-bash/command-chunks/chunk-MOL3TRBT.js +32 -0
  163. package/dist/safe-bash/command-chunks/chunk-MQFXMBGD.js +75 -0
  164. package/dist/safe-bash/command-chunks/chunk-MQPWE22J.js +171 -0
  165. package/dist/safe-bash/command-chunks/chunk-MQU6Q75R.js +523 -0
  166. package/dist/safe-bash/command-chunks/chunk-MWAAMNAM.js +353 -0
  167. package/dist/safe-bash/command-chunks/chunk-MZ4BTMTI.js +240 -0
  168. package/dist/safe-bash/command-chunks/chunk-N4DY4FPA.js +679 -0
  169. package/dist/safe-bash/command-chunks/chunk-N74TJL6X.js +183 -0
  170. package/dist/safe-bash/command-chunks/chunk-NA5Q4V2H.js +304 -0
  171. package/dist/safe-bash/command-chunks/chunk-NSM366N6.js +22 -0
  172. package/dist/safe-bash/command-chunks/chunk-NY4ZPV3N.js +523 -0
  173. package/dist/safe-bash/command-chunks/chunk-NYBF2BVE.js +17 -0
  174. package/dist/safe-bash/command-chunks/chunk-OBK24KGM.js +24 -0
  175. package/dist/safe-bash/command-chunks/{chunk-GDAS4LY7.js → chunk-OEKLEUUW.js} +4 -4
  176. package/dist/safe-bash/command-chunks/chunk-OGWJD5QP.js +404 -0
  177. package/dist/safe-bash/command-chunks/chunk-OIPATOZW.js +154 -0
  178. package/dist/safe-bash/command-chunks/chunk-OP6J3OLL.js +243 -0
  179. package/dist/safe-bash/command-chunks/chunk-OTTMIB3C.js +266 -0
  180. package/dist/safe-bash/command-chunks/{chunk-OZHPB4KD.js → chunk-OU4VE5CR.js} +12 -12
  181. package/dist/safe-bash/command-chunks/chunk-P42REFYL.js +228 -0
  182. package/dist/safe-bash/command-chunks/{chunk-YJ3TFZB2.js → chunk-PQOAM5SC.js} +1 -1
  183. package/dist/safe-bash/command-chunks/chunk-PQOIOVF2.js +444 -0
  184. package/dist/safe-bash/command-chunks/chunk-PRQEVUNE.js +205 -0
  185. package/dist/safe-bash/command-chunks/{chunk-W5OR7COJ.js → chunk-PVLPWVRH.js} +21 -21
  186. package/dist/safe-bash/command-chunks/{chunk-BNG4ZMZ3.js → chunk-PXL4NBYP.js} +1 -78
  187. package/dist/safe-bash/command-chunks/chunk-Q6W5FRZG.js +41 -0
  188. package/dist/safe-bash/command-chunks/{chunk-KLCHCSIV.js → chunk-QGD64UHJ.js} +1 -1
  189. package/dist/safe-bash/command-chunks/chunk-QHS7PDG3.js +188 -0
  190. package/dist/safe-bash/command-chunks/chunk-QXCSASIE.js +151 -0
  191. package/dist/safe-bash/command-chunks/chunk-QYCBVKFT.js +255 -0
  192. package/dist/safe-bash/command-chunks/chunk-R4TYL2G6.js +1529 -0
  193. package/dist/safe-bash/command-chunks/chunk-RAXJVM4U.js +625 -0
  194. package/dist/safe-bash/command-chunks/chunk-RBFZYSZZ.js +207 -0
  195. package/dist/safe-bash/command-chunks/chunk-RJHVJZ4H.js +185 -0
  196. package/dist/safe-bash/command-chunks/chunk-RKPPUYZE.js +213 -0
  197. package/dist/safe-bash/command-chunks/chunk-RMJNV6Q7.js +23 -0
  198. package/dist/safe-bash/command-chunks/{chunk-MR2RLUPV.js → chunk-RQHQCJMV.js} +11 -9
  199. package/dist/safe-bash/command-chunks/chunk-RR6QQ25D.js +71 -0
  200. package/dist/safe-bash/command-chunks/{chunk-JW3KIZU6.js → chunk-RUXY7GN5.js} +1 -1
  201. package/dist/safe-bash/command-chunks/chunk-RZC7QHL6.js +112 -0
  202. package/dist/safe-bash/command-chunks/chunk-RZJRR4UJ.js +1677 -0
  203. package/dist/safe-bash/command-chunks/chunk-S4OBYRNI.js +639 -0
  204. package/dist/safe-bash/command-chunks/{chunk-DQNDEWCI.js → chunk-S65T5JJO.js} +12 -12
  205. package/dist/safe-bash/command-chunks/chunk-S6PPBBXX.js +77 -0
  206. package/dist/safe-bash/command-chunks/chunk-SCG4LK5U.js +265 -0
  207. package/dist/safe-bash/command-chunks/chunk-SDTC2BLK.js +143 -0
  208. package/dist/safe-bash/command-chunks/chunk-SEK43FRN.js +357 -0
  209. package/dist/safe-bash/command-chunks/chunk-SH45NZ2P.js +194 -0
  210. package/dist/safe-bash/command-chunks/chunk-SM733XRT.js +250 -0
  211. package/dist/safe-bash/command-chunks/chunk-SSRGI476.js +116 -0
  212. package/dist/safe-bash/command-chunks/chunk-SUUD352U.js +127 -0
  213. package/dist/safe-bash/command-chunks/{chunk-B5F2KQYA.js → chunk-SWUVHT7G.js} +1 -1
  214. package/dist/safe-bash/command-chunks/chunk-TBAH4XGI.js +38 -0
  215. package/dist/safe-bash/command-chunks/chunk-TBVWTZTR.js +469 -0
  216. package/dist/safe-bash/command-chunks/chunk-TGHQGJNR.js +144 -0
  217. package/dist/safe-bash/command-chunks/{chunk-Q6JLT2EY.js → chunk-TL3KDYEM.js} +8 -110
  218. package/dist/safe-bash/command-chunks/chunk-TVAEX4WQ.js +473 -0
  219. package/dist/safe-bash/command-chunks/chunk-TZ2J6LGM.js +163 -0
  220. package/dist/safe-bash/command-chunks/chunk-UICO7H6S.js +186 -0
  221. package/dist/safe-bash/command-chunks/chunk-UJTJFMIN.js +501 -0
  222. package/dist/safe-bash/command-chunks/chunk-UMWWCLBG.js +109 -0
  223. package/dist/safe-bash/command-chunks/chunk-UPXFSGQG.js +134 -0
  224. package/dist/safe-bash/command-chunks/chunk-UWUYSXYT.js +272 -0
  225. package/dist/safe-bash/command-chunks/{chunk-5FMXQUDY.js → chunk-UZOGSYJP.js} +1 -1
  226. package/dist/safe-bash/command-chunks/chunk-V3RGA5PS.js +125 -0
  227. package/dist/safe-bash/command-chunks/chunk-VEUQWV2V.js +287 -0
  228. package/dist/safe-bash/command-chunks/chunk-VGKYTZT5.js +161 -0
  229. package/dist/safe-bash/command-chunks/chunk-VQUEIEVP.js +410 -0
  230. package/dist/safe-bash/command-chunks/chunk-VU3YUC3U.js +169 -0
  231. package/dist/safe-bash/command-chunks/chunk-W32KW66B.js +27 -0
  232. package/dist/safe-bash/command-chunks/chunk-W543LSYH.js +899 -0
  233. package/dist/safe-bash/command-chunks/chunk-W5YFDYHO.js +387 -0
  234. package/dist/safe-bash/command-chunks/chunk-W6DV2CLS.js +267 -0
  235. package/dist/safe-bash/command-chunks/chunk-WAKYUXVQ.js +215 -0
  236. package/dist/safe-bash/command-chunks/chunk-WGOL3MM6.js +125 -0
  237. package/dist/safe-bash/command-chunks/{chunk-N2A7V3WY.js → chunk-WHNYT34N.js} +3 -3
  238. package/dist/safe-bash/command-chunks/chunk-WOZCIRJ5.js +169 -0
  239. package/dist/safe-bash/command-chunks/chunk-WVB6ONZS.js +232 -0
  240. package/dist/safe-bash/command-chunks/chunk-WVESNAND.js +25 -0
  241. package/dist/safe-bash/command-chunks/chunk-XDEA3TL5.js +322 -0
  242. package/dist/safe-bash/command-chunks/chunk-XFEUWSYG.js +357 -0
  243. package/dist/safe-bash/command-chunks/chunk-XFMJ4RMS.js +2849 -0
  244. package/dist/safe-bash/command-chunks/chunk-XH6DXJHX.js +196 -0
  245. package/dist/safe-bash/command-chunks/chunk-XNJ67APB.js +6 -0
  246. package/dist/safe-bash/command-chunks/chunk-XP6BHGZ6.js +227 -0
  247. package/dist/safe-bash/command-chunks/chunk-XXFHTGV2.js +142 -0
  248. package/dist/safe-bash/command-chunks/chunk-Y5GI5PVT.js +139 -0
  249. package/dist/safe-bash/command-chunks/chunk-Y6KHC3JB.js +177 -0
  250. package/dist/safe-bash/command-chunks/{chunk-2UWPMSME.js → chunk-Y72LPXST.js} +8 -8
  251. package/dist/safe-bash/command-chunks/chunk-YDRWQZNB.js +69 -0
  252. package/dist/safe-bash/command-chunks/{chunk-P4OJBL2B.js → chunk-YFZ6FPIC.js} +1 -1
  253. package/dist/safe-bash/command-chunks/chunk-YH4DC4RP.js +171 -0
  254. package/dist/safe-bash/command-chunks/chunk-YH7KKMMN.js +463 -0
  255. package/dist/safe-bash/command-chunks/{chunk-MN3BB4WW.js → chunk-YP3WWV5N.js} +4 -4
  256. package/dist/safe-bash/command-chunks/chunk-YPVBU7QF.js +2817 -0
  257. package/dist/safe-bash/command-chunks/chunk-YQYVEVUE.js +1621 -0
  258. package/dist/safe-bash/command-chunks/chunk-YRNBIU5U.js +175 -0
  259. package/dist/safe-bash/command-chunks/chunk-Z7ESJVFP.js +10 -0
  260. package/dist/safe-bash/command-chunks/chunk-ZTAFAHY3.js +653 -0
  261. package/dist/safe-bash/command-chunks/chunk-ZXKOMB24.js +85 -0
  262. package/dist/safe-bash/command-chunks/{clipboard-XCSQACOK-SHFXT53F.js → clipboard-6SDGQGC3-TVJ3CG7A.js} +4 -4
  263. package/dist/safe-bash/command-chunks/{command-engine-4TEGTXCQ.js → command-engine-KMLHVFMA.js} +356 -316
  264. package/dist/safe-bash/command-chunks/{engine-QDC5VCGO-LYAAFESF.js → engine-EOYR2WTY-KUFLFTDE.js} +2 -4
  265. package/dist/safe-bash/command-chunks/{gnumeric-OCFH63UT-YI7SG7TN.js → gnumeric-ABKSRBZJ-MPIIPXKP.js} +3 -3
  266. package/dist/safe-bash/command-chunks/inspection-command-ULEU7ZVV.js +7 -0
  267. package/dist/safe-bash/command-chunks/model-store-JUFU3RSW.js +54 -0
  268. package/dist/safe-bash/command-chunks/pdf-22JDKKAR-UDWNSWYB.js +338 -0
  269. package/dist/safe-bash/command-chunks/{pptx-XG3YSXWZ-XAG36NAB.js → pptx-YDKHIGCD-H7FU4VMJ.js} +2 -2
  270. package/dist/safe-bash/commands/bc/index.browser.js +2 -2
  271. package/dist/safe-bash/commands/diffpdf/index.d.ts +2 -0
  272. package/dist/safe-bash/commands/diffpdf/index.js +2 -0
  273. package/dist/safe-bash/commands/dot/index.d.ts +2 -0
  274. package/dist/safe-bash/commands/dot/index.js +2 -0
  275. package/dist/safe-bash/commands/llm/collections.browser.js +6 -0
  276. package/dist/safe-bash/commands/llm/collections.d.ts +2 -0
  277. package/dist/safe-bash/commands/llm/collections.js +2 -0
  278. package/dist/safe-bash/commands/pandoc/index.browser.js +1 -1
  279. package/dist/safe-bash/commands/rsvg-convert/index.d.ts +2 -0
  280. package/dist/safe-bash/commands/rsvg-convert/index.js +2 -0
  281. package/dist/safe-bash/commands/safejs/io.d.ts +1 -1
  282. package/dist/safe-bash/commands/safejs/io.js +1 -1
  283. package/dist/safe-bash/commands/safejs/options.d.ts +1 -1
  284. package/dist/safe-bash/commands/safejs/options.js +1 -1
  285. package/dist/safe-bash/commands/safejs/render.d.ts +1 -1
  286. package/dist/safe-bash/commands/safejs/render.js +1 -1
  287. package/dist/safe-bash/commands/safejs/runtime.d.ts +1 -1
  288. package/dist/safe-bash/commands/safejs/runtime.js +1 -1
  289. package/dist/safe-bash/commands/safejs/types.d.ts +1 -1
  290. package/dist/safe-bash/commands/safejs/types.js +1 -1
  291. package/dist/safe-bash/commands/wdiff/index.d.ts +2 -0
  292. package/dist/safe-bash/commands/wdiff/index.js +2 -0
  293. package/dist/safe-bash/core.d.ts +4 -0
  294. package/dist/safe-bash/core.js +4 -0
  295. package/dist/safe-bash/full-core.browser.js +59 -35
  296. package/dist/safe-bash/optional-host.browser.js +7 -7
  297. package/dist/safe-bash/plugins/index.browser.js +7 -7
  298. package/dist/safe-bash/registry-entry.browser.js +6 -6
  299. package/dist/safe-bash/search.browser.js +2 -2
  300. package/dist/safe-bash/shell-entry.browser.js +3 -3
  301. package/dist/safe-bash-checksum-engine/index.js +83 -40
  302. package/dist/safe-bash-checksum-engine/md5.d.ts +2 -0
  303. package/dist/safe-bash-checksum-engine/md5.js +7 -0
  304. package/dist/safe-bash-command-awk/awk-inspection.js +2 -2
  305. package/dist/safe-bash-command-awk/awk-runtime.js +2 -2
  306. package/dist/safe-bash-command-awk/awk.js +7 -7
  307. package/dist/safe-bash-command-awk/index.js +7 -7
  308. package/dist/safe-bash-command-chmod/command.js +1 -1
  309. package/dist/safe-bash-command-chmod/index.js +1 -1
  310. package/dist/safe-bash-command-csvkit/index.js +6 -6
  311. package/dist/safe-bash-command-diff/index.js +3 -3
  312. package/dist/safe-bash-command-diffpdf/LICENSE +21 -0
  313. package/dist/safe-bash-command-diffpdf/index.d.ts +12 -0
  314. package/dist/safe-bash-command-diffpdf/index.js +107 -0
  315. package/dist/safe-bash-command-docx/command.d.ts +36 -0
  316. package/dist/{safe-bash-docx-engine → safe-bash-command-docx}/discovery.d.ts +4 -4
  317. package/dist/safe-bash-command-docx/index.js +1 -1
  318. package/dist/{safe-bash-docx-engine → safe-bash-command-docx}/inspection-command.d.ts +6 -6
  319. package/dist/safe-bash-command-docx/sdk.d.ts +4 -0
  320. package/dist/safe-bash-command-docx/sdk.js +24 -0
  321. package/dist/safe-bash-command-dot/LICENSE +21 -0
  322. package/dist/safe-bash-command-dot/index.d.ts +14 -0
  323. package/dist/safe-bash-command-dot/index.js +1298 -0
  324. package/dist/safe-bash-command-du/arguments.d.ts +1 -1
  325. package/dist/safe-bash-command-du/arguments.js +1 -1
  326. package/dist/safe-bash-command-du/du.js +2 -2
  327. package/dist/safe-bash-command-du/index.js +2 -2
  328. package/dist/safe-bash-command-factor/command.js +2 -2
  329. package/dist/safe-bash-command-factor/index.js +2 -2
  330. package/dist/safe-bash-command-ffmpeg/index.js +16 -16
  331. package/dist/safe-bash-command-imagemagick/index.js +21 -53
  332. package/dist/safe-bash-command-llm/collections-embed.d.ts +23 -0
  333. package/dist/safe-bash-command-llm/collections.d.ts +38 -0
  334. package/dist/safe-bash-command-llm/collections.js +423 -0
  335. package/dist/safe-bash-command-llm/command.js +4 -2
  336. package/dist/safe-bash-command-llm/index.js +12 -8
  337. package/dist/safe-bash-command-llm/openai.js +4 -3
  338. package/dist/safe-bash-command-llm/providers/index.js +6 -4
  339. package/dist/safe-bash-command-llm/providers/openai.js +4 -3
  340. package/dist/safe-bash-command-node/commands/node/browser.js +9 -12
  341. package/dist/safe-bash-command-node/commands/node/buffer.js +2 -2
  342. package/dist/safe-bash-command-node/commands/node/default-runtime.js +9 -12
  343. package/dist/safe-bash-command-node/commands/node/filesystem.js +3 -3
  344. package/dist/safe-bash-command-node/commands/node/safejs.js +9 -12
  345. package/dist/safe-bash-command-node/commands/node/source-maps.js +2 -2
  346. package/dist/safe-bash-command-node/commands/node/timers.js +3 -3
  347. package/dist/safe-bash-command-node/commands/safejs/io.d.ts +1 -35
  348. package/dist/safe-bash-command-node/commands/safejs/io.js +3 -7
  349. package/dist/safe-bash-command-node/commands/safejs/options.d.ts +2 -22
  350. package/dist/safe-bash-command-node/commands/safejs/options.js +1 -1
  351. package/dist/safe-bash-command-node/commands/safejs/render.d.ts +1 -1
  352. package/dist/safe-bash-command-node/commands/safejs/render.js +3 -5
  353. package/dist/safe-bash-command-node/commands/safejs/runtime.d.ts +2 -25
  354. package/dist/safe-bash-command-node/commands/safejs/runtime.js +1 -7
  355. package/dist/safe-bash-command-node/commands/safejs/types.d.ts +2 -85
  356. package/dist/safe-bash-command-node/commands/safejs/types.js +1 -1
  357. package/dist/safe-bash-command-node/integrations/safejs/filesystem.d.ts +2 -5
  358. package/dist/safe-bash-command-node/integrations/safejs/filesystem.js +3 -3
  359. package/dist/safe-bash-command-node/integrations/safejs/shell.js +1 -1
  360. package/dist/safe-bash-command-node/integrations/safejs/values.d.ts +1 -7
  361. package/dist/safe-bash-command-node/integrations/safejs/values.js +1 -1
  362. package/dist/safe-bash-command-openssl/index.js +15452 -420
  363. package/dist/safe-bash-command-pandoc/command.js +1 -1
  364. package/dist/safe-bash-command-pandoc/index.js +1 -1
  365. package/dist/safe-bash-command-patch/index.js +5 -5
  366. package/dist/safe-bash-command-patch/patch.js +4 -4
  367. package/dist/safe-bash-command-playwright-cli/index.js +25 -25
  368. package/dist/safe-bash-command-playwright-cli/playwright/abilities.js +8 -8
  369. package/dist/safe-bash-command-playwright-cli/playwright/controller.js +16 -16
  370. package/dist/safe-bash-command-playwright-cli/playwright/index.js +25 -25
  371. package/dist/safe-bash-command-playwright-cli/playwright/standard-capabilities.js +4 -4
  372. package/dist/{safe-bash-pptx-engine → safe-bash-command-pptx}/command-engine.d.ts +5 -13
  373. package/dist/safe-bash-command-pptx/engine.d.ts +4 -0
  374. package/dist/safe-bash-command-pptx/engine.js +37 -0
  375. package/dist/safe-bash-command-pptx/index.js +1 -1
  376. package/dist/safe-bash-command-python/executor.js +15 -15
  377. package/dist/safe-bash-command-python/index.js +15 -15
  378. package/dist/safe-bash-command-python/jspi.js +4 -4
  379. package/dist/safe-bash-command-qrencode/index.js +1 -4
  380. package/dist/safe-bash-command-rsvg-convert/LICENSE +21 -0
  381. package/dist/safe-bash-command-rsvg-convert/index.d.ts +13 -0
  382. package/dist/safe-bash-command-rsvg-convert/index.js +84 -0
  383. package/dist/safe-bash-command-safejs/LICENSE +21 -0
  384. package/dist/safe-bash-command-safejs/filesystem.d.ts +5 -0
  385. package/dist/safe-bash-command-safejs/filesystem.js +7 -0
  386. package/dist/safe-bash-command-safejs/index.d.ts +4 -0
  387. package/dist/safe-bash-command-safejs/index.js +19 -0
  388. package/dist/safe-bash-command-safejs/io.d.ts +35 -0
  389. package/dist/safe-bash-command-safejs/io.js +12 -0
  390. package/dist/safe-bash-command-safejs/options.d.ts +22 -0
  391. package/dist/safe-bash-command-safejs/options.js +11 -0
  392. package/dist/safe-bash-command-safejs/render.d.ts +1 -0
  393. package/dist/safe-bash-command-safejs/render.js +9 -0
  394. package/dist/safe-bash-command-safejs/runtime.d.ts +25 -0
  395. package/dist/safe-bash-command-safejs/runtime.js +13 -0
  396. package/dist/safe-bash-command-safejs/types.d.ts +85 -0
  397. package/dist/safe-bash-command-safejs/types.js +7 -0
  398. package/dist/safe-bash-command-safejs/values.d.ts +7 -0
  399. package/dist/safe-bash-command-safejs/values.js +19 -0
  400. package/dist/safe-bash-command-sips/index.js +1 -14
  401. package/dist/safe-bash-command-ssconvert/index.js +413 -546
  402. package/dist/safe-bash-command-ssconvert/rendering/chart/axis.d.ts +1 -26
  403. package/dist/safe-bash-command-ssconvert/rendering/chart/error-bar.d.ts +1 -39
  404. package/dist/safe-bash-command-ssconvert/rendering/chart/layout.d.ts +1 -24
  405. package/dist/safe-bash-command-ssconvert/rendering/chart/line.d.ts +1 -23
  406. package/dist/safe-bash-command-ssconvert/rendering/chart/marker.d.ts +1 -35
  407. package/dist/safe-bash-command-ssconvert/rendering/chart/pie.d.ts +1 -32
  408. package/dist/safe-bash-command-ssconvert/rendering/images/index.d.ts +1 -26
  409. package/dist/safe-bash-command-ssconvert/rendering/print/header-footer.d.ts +1 -16
  410. package/dist/safe-bash-command-ssconvert/rendering/print/layout.d.ts +1 -65
  411. package/dist/safe-bash-command-ssconvert/rendering/print/pagination.d.ts +1 -34
  412. package/dist/safe-bash-command-tar/create.js +4 -4
  413. package/dist/safe-bash-command-tar/extract.js +4 -4
  414. package/dist/safe-bash-command-tar/index.js +16 -14
  415. package/dist/safe-bash-command-tar/modes.js +6 -6
  416. package/dist/safe-bash-command-tar/options.d.ts +3 -1
  417. package/dist/safe-bash-command-tar/options.js +1 -1
  418. package/dist/safe-bash-command-unzip/index.js +4 -4
  419. package/dist/safe-bash-command-wdiff/LICENSE +21 -0
  420. package/dist/safe-bash-command-wdiff/index.d.ts +12 -0
  421. package/dist/safe-bash-command-wdiff/index.js +123 -0
  422. package/dist/safe-bash-compression-engine/bounded-codec.js +2 -2
  423. package/dist/safe-bash-compression-engine/codec-loader.js +1 -1
  424. package/dist/safe-bash-compression-engine/files.js +5 -5
  425. package/dist/safe-bash-compression-engine/index.js +4 -4
  426. package/dist/safe-bash-compression-engine/operand.js +5 -5
  427. package/dist/safe-bash-compression-engine/stream.js +4 -4
  428. package/dist/safe-bash-compression-engine/zstd-decode.js +3 -3
  429. package/dist/safe-bash-contracts/escaping.js +2 -2
  430. package/dist/safe-bash-contracts/index.js +15 -15
  431. package/dist/safe-bash-docx-engine/admission.js +31 -0
  432. package/dist/safe-bash-docx-engine/ancillary-resources.js +38 -0
  433. package/dist/safe-bash-docx-engine/archive.js +24 -0
  434. package/dist/safe-bash-docx-engine/argument-json.js +25 -0
  435. package/dist/safe-bash-docx-engine/batch-operations.d.ts +7 -0
  436. package/dist/safe-bash-docx-engine/batch-operations.js +95 -0
  437. package/dist/safe-bash-docx-engine/batch-result-schema.d.ts +2 -0
  438. package/dist/safe-bash-docx-engine/batch-result-schema.js +145 -0
  439. package/dist/safe-bash-docx-engine/batch.js +106 -0
  440. package/dist/safe-bash-docx-engine/bookmarks.js +43 -0
  441. package/dist/safe-bash-docx-engine/budget.js +18 -0
  442. package/dist/safe-bash-docx-engine/charts.js +35 -0
  443. package/dist/safe-bash-docx-engine/command-option-rules.d.ts +1 -0
  444. package/dist/safe-bash-docx-engine/command-option-rules.js +24 -0
  445. package/dist/safe-bash-docx-engine/command-properties.d.ts +1 -0
  446. package/dist/safe-bash-docx-engine/command-properties.js +18 -0
  447. package/dist/safe-bash-docx-engine/command-selection.d.ts +1 -0
  448. package/dist/safe-bash-docx-engine/command-selection.js +15 -0
  449. package/dist/safe-bash-docx-engine/comments.js +53 -0
  450. package/dist/safe-bash-docx-engine/control-bindings.js +45 -0
  451. package/dist/safe-bash-docx-engine/control-repeat.js +46 -0
  452. package/dist/safe-bash-docx-engine/controls.js +52 -0
  453. package/dist/safe-bash-docx-engine/create.js +36 -0
  454. package/dist/safe-bash-docx-engine/diagrams.js +43 -0
  455. package/dist/safe-bash-docx-engine/diff.js +33 -0
  456. package/dist/safe-bash-docx-engine/discovery-result-schema.d.ts +72 -0
  457. package/dist/safe-bash-docx-engine/discovery-result-schema.js +36 -0
  458. package/dist/safe-bash-docx-engine/document-properties.js +43 -0
  459. package/dist/safe-bash-docx-engine/equations.js +53 -0
  460. package/dist/safe-bash-docx-engine/extract.js +40 -0
  461. package/dist/safe-bash-docx-engine/fields.js +48 -0
  462. package/dist/safe-bash-docx-engine/font-inventory.js +40 -0
  463. package/dist/safe-bash-docx-engine/font-resources.js +33 -0
  464. package/dist/safe-bash-docx-engine/image-batch-operations.d.ts +4 -0
  465. package/dist/safe-bash-docx-engine/image-batch-operations.js +35 -0
  466. package/dist/safe-bash-docx-engine/image-insertion.js +46 -0
  467. package/dist/safe-bash-docx-engine/image-layout.js +43 -0
  468. package/dist/safe-bash-docx-engine/image-replacement.js +48 -0
  469. package/dist/safe-bash-docx-engine/images.js +49 -0
  470. package/dist/safe-bash-docx-engine/index.d.ts +1 -3
  471. package/dist/safe-bash-docx-engine/index.js +369 -19350
  472. package/dist/safe-bash-docx-engine/inspection.js +49 -0
  473. package/dist/safe-bash-docx-engine/invocation.d.ts +50 -0
  474. package/dist/safe-bash-docx-engine/invocation.js +66 -0
  475. package/dist/safe-bash-docx-engine/io-errors.js +11 -0
  476. package/dist/safe-bash-docx-engine/io.js +29 -0
  477. package/dist/safe-bash-docx-engine/links.js +47 -0
  478. package/dist/safe-bash-docx-engine/lists.js +46 -0
  479. package/dist/safe-bash-docx-engine/location-token.js +27 -0
  480. package/dist/safe-bash-docx-engine/locations.js +39 -0
  481. package/dist/safe-bash-docx-engine/model-context.js +15 -0
  482. package/dist/safe-bash-docx-engine/model-errors.js +13 -0
  483. package/dist/safe-bash-docx-engine/notes.js +48 -0
  484. package/dist/safe-bash-docx-engine/objects.js +49 -0
  485. package/dist/safe-bash-docx-engine/operation-json-schema.js +21 -0
  486. package/dist/safe-bash-docx-engine/operation-schema.js +29 -0
  487. package/dist/safe-bash-docx-engine/pack-uri-batch-operations.d.ts +3 -0
  488. package/dist/safe-bash-docx-engine/pack-uri-batch-operations.js +15 -0
  489. package/dist/safe-bash-docx-engine/pack.js +38 -0
  490. package/dist/safe-bash-docx-engine/package-view-batch-operations.d.ts +4 -0
  491. package/dist/safe-bash-docx-engine/package-view-batch-operations.js +47 -0
  492. package/dist/safe-bash-docx-engine/package-xml.js +25 -0
  493. package/dist/safe-bash-docx-engine/pandoc-adapter.js +55 -6
  494. package/dist/safe-bash-docx-engine/paragraph-edit.js +52 -0
  495. package/dist/safe-bash-docx-engine/part-provider.js +18 -0
  496. package/dist/safe-bash-docx-engine/property-values.js +46 -0
  497. package/dist/safe-bash-docx-engine/publication.js +40 -0
  498. package/dist/safe-bash-docx-engine/removal.js +44 -0
  499. package/dist/safe-bash-docx-engine/revision-decisions.js +46 -0
  500. package/dist/safe-bash-docx-engine/revision-edit.js +43 -0
  501. package/dist/safe-bash-docx-engine/revisions.js +42 -0
  502. package/dist/safe-bash-docx-engine/run-format.js +43 -0
  503. package/dist/safe-bash-docx-engine/sanitize.js +59 -0
  504. package/dist/safe-bash-docx-engine/sections.js +47 -0
  505. package/dist/safe-bash-docx-engine/settings.js +36 -0
  506. package/dist/safe-bash-docx-engine/shape-edit.js +47 -0
  507. package/dist/safe-bash-docx-engine/signatures.js +42 -0
  508. package/dist/safe-bash-docx-engine/simple-selection.d.ts +1 -1
  509. package/dist/safe-bash-docx-engine/stories.js +48 -0
  510. package/dist/safe-bash-docx-engine/structure-model-batch-operations.d.ts +3 -0
  511. package/dist/safe-bash-docx-engine/structure-model-batch-operations.js +64 -0
  512. package/dist/safe-bash-docx-engine/style-model-batch-operations.js +57 -0
  513. package/dist/safe-bash-docx-engine/style-model-result-schema.d.ts +4 -0
  514. package/dist/safe-bash-docx-engine/style-model-result-schema.js +76 -0
  515. package/dist/safe-bash-docx-engine/styles.js +44 -0
  516. package/dist/safe-bash-docx-engine/table-edit.js +52 -0
  517. package/dist/safe-bash-docx-engine/table-read.js +38 -0
  518. package/dist/safe-bash-docx-engine/template.js +45 -0
  519. package/dist/safe-bash-docx-engine/text-replace.js +47 -0
  520. package/dist/safe-bash-docx-engine/text-resource-read.js +42 -0
  521. package/dist/safe-bash-docx-engine/text.js +36 -0
  522. package/dist/safe-bash-docx-engine/validation.js +30 -0
  523. package/dist/safe-bash-docx-engine/xml-parts.js +48 -0
  524. package/dist/safe-bash-markdown-engine/index.js +3 -3
  525. package/dist/safe-bash-network-engine/aggregate.js +3 -3
  526. package/dist/safe-bash-network-engine/args.js +3 -3
  527. package/dist/safe-bash-network-engine/body.js +4 -4
  528. package/dist/safe-bash-network-engine/decode.js +3 -3
  529. package/dist/safe-bash-network-engine/fetch-transport.js +3 -3
  530. package/dist/safe-bash-network-engine/index.js +3 -3
  531. package/dist/safe-bash-network-engine/output.js +3 -3
  532. package/dist/safe-bash-network-engine/platform-portable.js +3 -3
  533. package/dist/safe-bash-network-engine/shared.js +2 -2
  534. package/dist/safe-bash-network-engine/transfer.js +20 -20
  535. package/dist/safe-bash-pptx-engine/bytes.d.ts +1 -4
  536. package/dist/safe-bash-pptx-engine/bytes.js +2 -11
  537. package/dist/safe-bash-pptx-engine/index.d.ts +1 -103
  538. package/dist/safe-bash-pptx-engine/index.js +1 -662
  539. package/dist/safe-bash-presentation-engine/LICENSE +21 -0
  540. package/dist/safe-bash-presentation-engine/accessibility.js +43 -0
  541. package/dist/safe-bash-presentation-engine/animation-editing.js +29 -0
  542. package/dist/safe-bash-presentation-engine/animations.js +23 -0
  543. package/dist/safe-bash-presentation-engine/backgrounds.js +26 -0
  544. package/dist/safe-bash-presentation-engine/bytes.d.ts +4 -0
  545. package/dist/safe-bash-presentation-engine/bytes.js +13 -0
  546. package/dist/safe-bash-presentation-engine/chart-editing.js +60 -0
  547. package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/chart-enums.d.ts +2 -2
  548. package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/chart-object-operations.d.ts +1 -1
  549. package/dist/safe-bash-presentation-engine/chart-object-operations.js +35 -0
  550. package/dist/safe-bash-presentation-engine/charts.js +41 -0
  551. package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/color-enums.d.ts +5 -5
  552. package/dist/safe-bash-presentation-engine/command-placeholder.js +64 -0
  553. package/dist/safe-bash-presentation-engine/comments.js +32 -0
  554. package/dist/safe-bash-presentation-engine/connector-operations.js +50 -0
  555. package/dist/safe-bash-presentation-engine/connectors.js +49 -0
  556. package/dist/safe-bash-presentation-engine/content-types.js +9 -0
  557. package/dist/safe-bash-presentation-engine/contracts.js +0 -0
  558. package/dist/safe-bash-presentation-engine/creation.js +15 -0
  559. package/dist/safe-bash-presentation-engine/diff.js +40 -0
  560. package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/drawing-enums.d.ts +20 -20
  561. package/dist/safe-bash-presentation-engine/drawing-format.js +44 -0
  562. package/dist/safe-bash-presentation-engine/drawing-operations.js +41 -0
  563. package/dist/safe-bash-presentation-engine/drawing-schema.d.ts +1549 -0
  564. package/dist/safe-bash-presentation-engine/drawing-schema.js +33 -0
  565. package/dist/safe-bash-presentation-engine/equations.js +30 -0
  566. package/dist/safe-bash-presentation-engine/errors.js +23 -0
  567. package/dist/safe-bash-presentation-engine/fields.js +32 -0
  568. package/dist/safe-bash-presentation-engine/font-metrics.js +12 -0
  569. package/dist/safe-bash-presentation-engine/image-extraction.js +29 -0
  570. package/dist/safe-bash-presentation-engine/image-formatting.js +43 -0
  571. package/dist/safe-bash-presentation-engine/image-insertion.js +26 -0
  572. package/dist/safe-bash-presentation-engine/image-metadata.d.ts +9 -0
  573. package/dist/safe-bash-presentation-engine/image-metadata.js +9 -0
  574. package/dist/safe-bash-presentation-engine/image-replacement.js +30 -0
  575. package/dist/safe-bash-presentation-engine/image-value.js +15 -0
  576. package/dist/safe-bash-presentation-engine/images.js +30 -0
  577. package/dist/safe-bash-presentation-engine/index.d.ts +100 -0
  578. package/dist/safe-bash-presentation-engine/index.js +791 -0
  579. package/dist/safe-bash-presentation-engine/layouts.js +31 -0
  580. package/dist/safe-bash-presentation-engine/length.js +21 -0
  581. package/dist/safe-bash-presentation-engine/links.js +33 -0
  582. package/dist/safe-bash-presentation-engine/masters.js +54 -0
  583. package/dist/safe-bash-presentation-engine/media-editing.js +35 -0
  584. package/dist/safe-bash-presentation-engine/media-extraction.js +24 -0
  585. package/dist/safe-bash-presentation-engine/media.js +23 -0
  586. package/dist/safe-bash-presentation-engine/memberships.js +24 -0
  587. package/dist/safe-bash-presentation-engine/notes.js +27 -0
  588. package/dist/safe-bash-presentation-engine/ole-enum.js +10 -0
  589. package/dist/safe-bash-presentation-engine/ole-insertion.js +29 -0
  590. package/dist/safe-bash-presentation-engine/opaque-objects.js +21 -0
  591. package/dist/safe-bash-presentation-engine/package-reader.js +13 -0
  592. package/dist/safe-bash-presentation-engine/package-tools.js +25 -0
  593. package/dist/safe-bash-presentation-engine/package-uri.d.ts +13 -0
  594. package/dist/safe-bash-presentation-engine/package-uri.js +16 -0
  595. package/dist/safe-bash-presentation-engine/package-writer.js +13 -0
  596. package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/presentation-model.d.ts +1 -1
  597. package/dist/safe-bash-presentation-engine/presentation-model.js +63 -0
  598. package/dist/safe-bash-presentation-engine/presentation-settings.js +25 -0
  599. package/dist/safe-bash-presentation-engine/properties.js +37 -0
  600. package/dist/safe-bash-presentation-engine/publication.d.ts +10 -0
  601. package/dist/safe-bash-presentation-engine/publication.js +0 -0
  602. package/dist/safe-bash-presentation-engine/relationships.js +16 -0
  603. package/dist/safe-bash-presentation-engine/resource-limits.js +8 -0
  604. package/dist/safe-bash-presentation-engine/sanitize.js +24 -0
  605. package/dist/safe-bash-presentation-engine/selector-schema.js +7 -0
  606. package/dist/safe-bash-presentation-engine/selectors.js +26 -0
  607. package/dist/safe-bash-presentation-engine/shape-groups.js +47 -0
  608. package/dist/safe-bash-presentation-engine/shape-operations.js +48 -0
  609. package/dist/safe-bash-presentation-engine/shape-path-operations.js +44 -0
  610. package/dist/safe-bash-presentation-engine/shape-paths.js +31 -0
  611. package/dist/safe-bash-presentation-engine/shape-presets.js +11 -0
  612. package/dist/safe-bash-presentation-engine/shape-selection.js +43 -0
  613. package/dist/safe-bash-presentation-engine/shape-transforms.js +28 -0
  614. package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/shape-types.d.ts +1 -1
  615. package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/shapes.d.ts +1 -1
  616. package/dist/safe-bash-presentation-engine/shapes.js +66 -0
  617. package/dist/safe-bash-presentation-engine/slide-copy.js +24 -0
  618. package/dist/safe-bash-presentation-engine/slide-import.js +27 -0
  619. package/dist/safe-bash-presentation-engine/slide-merge-split.js +33 -0
  620. package/dist/safe-bash-presentation-engine/slide-model.js +74 -0
  621. package/dist/safe-bash-presentation-engine/slide-removal.js +25 -0
  622. package/dist/safe-bash-presentation-engine/slide-transfer-budget.js +17 -0
  623. package/dist/safe-bash-presentation-engine/slides.js +26 -0
  624. package/dist/safe-bash-presentation-engine/table-operations.js +51 -0
  625. package/dist/safe-bash-presentation-engine/table-spans.js +42 -0
  626. package/dist/safe-bash-presentation-engine/tables.js +45 -0
  627. package/dist/safe-bash-presentation-engine/tags.js +25 -0
  628. package/dist/safe-bash-presentation-engine/template-bindings.js +44 -0
  629. package/dist/safe-bash-presentation-engine/template-repeat.js +51 -0
  630. package/dist/safe-bash-presentation-engine/text-fitting.js +39 -0
  631. package/dist/safe-bash-presentation-engine/text-frames.js +52 -0
  632. package/dist/safe-bash-presentation-engine/text-paragraphs.js +58 -0
  633. package/dist/safe-bash-presentation-engine/text-reading.js +23 -0
  634. package/dist/safe-bash-presentation-engine/text-replacement.js +24 -0
  635. package/dist/safe-bash-presentation-engine/text-runs.js +45 -0
  636. package/dist/safe-bash-presentation-engine/themes.js +31 -0
  637. package/dist/safe-bash-presentation-engine/transitions.js +27 -0
  638. package/dist/safe-bash-presentation-engine/validation.js +14 -0
  639. package/dist/safe-bash-presentation-engine/xml-parts.js +25 -0
  640. package/dist/safe-bash-presentation-engine/xml-view.js +8 -0
  641. package/dist/safe-bash-presentation-engine/xml.js +8 -0
  642. package/dist/safe-bash-sqlite-engine/sqlite-edit-snapshot.d.ts +15 -0
  643. package/dist/safe-bash-sqlite-engine/sqlite-finalization.d.ts +7 -0
  644. package/dist/safe-bash-sqlite-engine/sqlite-pages.d.ts +18 -0
  645. package/dist/safe-bash-sqlite-engine/sqlite-record-read.d.ts +8 -0
  646. package/dist/safe-bash-sqlite-engine/sqlite-record-write.d.ts +20 -0
  647. package/dist/safe-bash-sqlite-engine/storage.d.ts +2 -0
  648. package/dist/safe-bash-sqlite-engine/storage.js +236 -55
  649. package/dist/safe-bash-svg-engine/LICENSE +21 -0
  650. package/dist/safe-bash-svg-engine/index.d.ts +8 -0
  651. package/dist/safe-bash-svg-engine/index.js +477 -0
  652. package/dist/safe-bash-zip-engine/index.js +3 -3
  653. package/dist/safe-bash-zip-engine/zip/repair.js +3 -3
  654. package/dist/safe-bash-zip-engine/zip/sfx.js +3 -3
  655. package/dist/safe-bash-zip-engine/zip-format.js +3 -3
  656. package/dist/safe-playwright-cloudflare/browser-provider.generated.js +55 -18
  657. package/dist/safe-playwright-cloudflare/browser-run-code-guest.generated.js +1 -1
  658. package/dist/spreadsheet-engine/datasource.js +4 -1
  659. package/dist/spreadsheet-engine/formulas/functions/math.js +3 -1
  660. package/dist/spreadsheet-engine/rendering/chart/axis.d.ts +26 -0
  661. package/dist/spreadsheet-engine/rendering/chart/axis.js +61 -0
  662. package/dist/spreadsheet-engine/rendering/chart/error-bar.d.ts +39 -0
  663. package/dist/spreadsheet-engine/rendering/chart/error-bar.js +59 -0
  664. package/dist/spreadsheet-engine/rendering/chart/layout.d.ts +24 -0
  665. package/dist/spreadsheet-engine/rendering/chart/layout.js +54 -0
  666. package/dist/spreadsheet-engine/rendering/chart/line.d.ts +23 -0
  667. package/dist/spreadsheet-engine/rendering/chart/line.js +56 -0
  668. package/dist/spreadsheet-engine/rendering/chart/marker.d.ts +35 -0
  669. package/dist/spreadsheet-engine/rendering/chart/marker.js +52 -0
  670. package/dist/spreadsheet-engine/rendering/chart/pie.d.ts +32 -0
  671. package/dist/spreadsheet-engine/rendering/chart/pie.js +47 -0
  672. package/dist/{safe-bash-command-ssconvert → spreadsheet-engine}/rendering/images/codecs.d.ts +0 -1
  673. package/dist/spreadsheet-engine/rendering/images/codecs.js +253 -0
  674. package/dist/spreadsheet-engine/rendering/images/index.d.ts +26 -0
  675. package/dist/spreadsheet-engine/rendering/images/index.js +144 -0
  676. package/dist/spreadsheet-engine/rendering/images/profile-raster.d.ts +4 -0
  677. package/dist/spreadsheet-engine/rendering/images/profile-raster.js +72 -0
  678. package/dist/spreadsheet-engine/rendering/images/scene.d.ts +3 -0
  679. package/dist/spreadsheet-engine/rendering/images/scene.js +34 -0
  680. package/dist/spreadsheet-engine/rendering/print/cell-style.d.ts +10 -0
  681. package/dist/spreadsheet-engine/rendering/print/cell-style.js +52 -0
  682. package/dist/spreadsheet-engine/rendering/print/font-normalization-data.d.ts +43 -0
  683. package/dist/spreadsheet-engine/rendering/print/font-normalization-data.js +1558 -0
  684. package/dist/spreadsheet-engine/rendering/print/font-normalization.d.ts +3 -0
  685. package/dist/spreadsheet-engine/rendering/print/font-normalization.js +113 -0
  686. package/dist/spreadsheet-engine/rendering/print/font-shaping.d.ts +18 -0
  687. package/dist/spreadsheet-engine/rendering/print/font-shaping.js +271 -0
  688. package/dist/spreadsheet-engine/rendering/print/harfbuzz/data.d.ts +1 -0
  689. package/dist/spreadsheet-engine/rendering/print/harfbuzz/data.js +2 -0
  690. package/dist/spreadsheet-engine/rendering/print/header-footer.d.ts +16 -0
  691. package/dist/spreadsheet-engine/rendering/print/header-footer.js +92 -0
  692. package/dist/spreadsheet-engine/rendering/print/layout.d.ts +65 -0
  693. package/dist/spreadsheet-engine/rendering/print/layout.js +75 -0
  694. package/dist/spreadsheet-engine/rendering/print/pagination.d.ts +34 -0
  695. package/dist/spreadsheet-engine/rendering/print/pagination.js +126 -0
  696. package/dist/spreadsheet-engine/rendering/print/settings.d.ts +42 -0
  697. package/dist/spreadsheet-engine/rendering/print/settings.js +159 -0
  698. package/dist/spreadsheet-format-xls/biff-metadata.js +3 -3
  699. package/dist/spreadsheet-format-xls/biff-write-metadata.d.ts +1 -1
  700. package/dist/spreadsheet-format-xls/biff-write-metadata.js +20 -3
  701. package/dist/spreadsheet-format-xls/biff-write.js +1 -1
  702. package/package.json +239 -12
  703. package/third-party/spreadsheet-engine/scripts/harfbuzz/README.md +39 -0
  704. package/third-party/spreadsheet-engine/scripts/harfbuzz/allocator.cc +18 -0
  705. package/third-party/spreadsheet-engine/scripts/harfbuzz/build.mjs +94 -0
  706. package/third-party/spreadsheet-engine/scripts/harfbuzz/completion.patch +98 -0
  707. package/third-party/spreadsheet-engine/scripts/harfbuzz/config-override.h +19 -0
  708. package/third-party/spreadsheet-engine/scripts/harfbuzz/exports.json +29 -0
  709. package/third-party/spreadsheet-engine/scripts/harfbuzz/sources.json +274 -0
  710. package/third-party/spreadsheet-engine/scripts/harfbuzz/verify.d.mts +10 -0
  711. package/third-party/spreadsheet-engine/scripts/harfbuzz/verify.mjs +96 -0
  712. package/third-party/spreadsheet-engine/scripts/harfbuzz/verify.test.mjs +60 -0
  713. package/third-party/spreadsheet-engine/src/rendering/images/NOTICE.md +22 -0
  714. package/third-party/spreadsheet-engine/src/rendering/print/NOTICE.md +30 -0
  715. package/third-party/spreadsheet-engine/src/rendering/print/font-normalization-NOTICE.md +64 -0
  716. package/third-party/spreadsheet-engine/src/rendering/print/font-normalization-data.ts +1558 -0
  717. package/third-party/spreadsheet-engine/src/rendering/print/font-normalization.ts +91 -0
  718. package/third-party/spreadsheet-engine/src/rendering/print/harfbuzz/EMSCRIPTEN-LICENSE.txt +102 -0
  719. package/third-party/spreadsheet-engine/src/rendering/print/harfbuzz/HARFBUZZ-LICENSE.txt +42 -0
  720. package/third-party/spreadsheet-engine/src/rendering/print/harfbuzz/LIBCXX-LICENSE.txt +311 -0
  721. package/third-party/spreadsheet-engine/src/rendering/print/harfbuzz/LIBCXXABI-LICENSE.txt +311 -0
  722. package/third-party/spreadsheet-engine/src/rendering/print/harfbuzz/MUSL-LICENSE.txt +193 -0
  723. package/third-party/spreadsheet-engine/src/rendering/print/harfbuzz/NOTICE.md +41 -0
  724. package/third-party/spreadsheet-engine/src/rendering/print/harfbuzz/data.ts +2 -0
  725. package/dist/safe-bash/command-chunks/chunk-C5TUE2FE.js +0 -169
  726. package/dist/safe-bash/command-chunks/chunk-CVKW2YIC.js +0 -13631
  727. package/dist/safe-bash/command-chunks/chunk-JBGGUHQY.js +0 -17617
  728. package/dist/safe-bash/command-chunks/chunk-S4R2JDPL.js +0 -35
  729. package/dist/safe-bash/command-chunks/chunk-TU5IFVCX.js +0 -33708
  730. package/dist/safe-bash/command-chunks/chunk-TUWGIF22.js +0 -328
  731. package/dist/safe-bash/command-chunks/data-2FJOPYXA-PDKMLCGR.js +0 -8
  732. package/dist/safe-bash/command-chunks/index.browser-2NLML6H4.js +0 -269
  733. package/dist/safe-bash/command-chunks/model-store-EEI3QS4G.js +0 -10
  734. package/dist/safe-bash/command-chunks/pdf-M2GFAR2A-FCJMJCAP.js +0 -683
  735. package/dist/safe-bash-command-ssconvert/rendering/images/formats.d.ts +0 -2
  736. package/dist/safe-bash-docx-engine/command.d.ts +0 -65
  737. package/dist/safe-bash/chunks/{chunk-4T4RQYRI.js → chunk-5HRGBHZH.js} +10 -10
  738. package/dist/safe-bash/chunks/{chunk-QUS6X4MS.js → chunk-EOQMDRTY.js} +0 -0
  739. package/dist/safe-bash/command-chunks/{chunk-2L3JKGUH.js → chunk-4LYZBDZF.js} +4 -4
  740. package/dist/safe-bash/command-chunks/{chunk-EMMSXKEJ.js → chunk-4Q4R3VZU.js} +0 -0
  741. package/dist/safe-bash/command-chunks/{chunk-5RLK2QSY.js → chunk-7JEIWA3A.js} +5 -5
  742. package/dist/safe-bash/command-chunks/{chunk-AV6N7DDA.js → chunk-DDYPQAXN.js} +3 -3
  743. package/dist/safe-bash/command-chunks/{chunk-OOB7YCFQ.js → chunk-FMJKCVSQ.js} +3 -3
  744. package/dist/safe-bash/command-chunks/{chunk-FUL2C4EX.js → chunk-HFKS6AET.js} +3 -3
  745. package/dist/safe-bash/command-chunks/{chunk-2M3WUEDX.js → chunk-J6K5Q53O.js} +10 -10
  746. package/dist/safe-bash/command-chunks/{chunk-ATWMLV75.js → chunk-RJXZYDSN.js} +7 -7
  747. package/dist/safe-bash/command-chunks/{chunk-JD3NSHFT.js → chunk-TVGIJ56E.js} +3 -3
  748. package/dist/safe-bash/command-chunks/{chunk-3I33KPQH.js → chunk-X2HVVMTW.js} +6 -6
  749. package/dist/safe-bash/command-chunks/{odf-UKSXPNOZ-NCL5P7YL.js → odf-UKSXPNOZ-BV2LCKTB.js} +0 -0
  750. package/dist/{safe-bash/command-chunks/chunk-3SVT5VB7.js → safe-bash-docx-engine/operation-types.js} +0 -0
  751. package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/accessibility.d.ts +0 -0
  752. package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/animation-editing.d.ts +0 -0
  753. package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/animations.d.ts +0 -0
  754. package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/backgrounds.d.ts +0 -0
  755. package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/chart-data-model.d.ts +0 -0
  756. package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/chart-editing.d.ts +0 -0
  757. package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/chart-font-operations.d.ts +0 -0
  758. package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/chart-model-axes.d.ts +0 -0
  759. package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/chart-model-core.d.ts +0 -0
  760. package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/chart-model-series.d.ts +0 -0
  761. package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/chart-model.d.ts +0 -0
  762. package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/chart-objects.d.ts +0 -0
  763. package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/chart-workbook.d.ts +0 -0
  764. package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/charts.d.ts +0 -0
  765. package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/command-placeholder.d.ts +0 -0
  766. package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/comments.d.ts +0 -0
  767. package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/connector-operations.d.ts +0 -0
  768. package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/connectors-model.d.ts +0 -0
  769. package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/connectors.d.ts +0 -0
  770. package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/content-types.d.ts +0 -0
  771. package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/contracts.d.ts +0 -0
  772. package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/creation.d.ts +0 -0
  773. package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/diagram-resources.d.ts +0 -0
  774. package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/diff.d.ts +0 -0
  775. package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/drawing-format.d.ts +0 -0
  776. package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/drawing-operations.d.ts +0 -0
  777. package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/equations.d.ts +0 -0
  778. package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/errors.d.ts +0 -0
  779. package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/fields.d.ts +0 -0
  780. package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/font-metrics.d.ts +0 -0
  781. package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/freeform-builder.d.ts +0 -0
  782. package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/group-model.d.ts +0 -0
  783. package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/image-extraction.d.ts +0 -0
  784. package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/image-formatting.d.ts +0 -0
  785. package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/image-insertion.d.ts +0 -0
  786. package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/image-replacement.d.ts +0 -0
  787. package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/image-value.d.ts +0 -0
  788. package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/images.d.ts +0 -0
  789. package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/inventory.d.ts +0 -0
  790. package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/language-enum.d.ts +0 -0
  791. package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/layouts.d.ts +0 -0
  792. package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/length.d.ts +0 -0
  793. package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/links-model.d.ts +4 -4
  794. /package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/links.d.ts +0 -0
  795. /package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/masters.d.ts +0 -0
  796. /package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/media-editing.d.ts +0 -0
  797. /package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/media-enum.d.ts +0 -0
  798. /package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/media-extraction.d.ts +0 -0
  799. /package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/media.d.ts +0 -0
  800. /package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/memberships.d.ts +0 -0
  801. /package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/modern-comments.d.ts +0 -0
  802. /package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/notes.d.ts +0 -0
  803. /package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/ole-enum.d.ts +0 -0
  804. /package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/ole-insertion.d.ts +0 -0
  805. /package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/opaque-objects.d.ts +0 -0
  806. /package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/package-reader.d.ts +0 -0
  807. /package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/package-tools.d.ts +0 -0
  808. /package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/package-view.d.ts +0 -0
  809. /package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/package-writer.d.ts +0 -0
  810. /package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/paragraph-alignment.d.ts +0 -0
  811. /package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/presentation-settings.d.ts +0 -0
  812. /package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/properties.d.ts +0 -0
  813. /package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/relationships.d.ts +0 -0
  814. /package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/resource-limits.d.ts +0 -0
  815. /package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/sanitize.d.ts +0 -0
  816. /package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/selector-schema.d.ts +0 -0
  817. /package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/selectors.d.ts +0 -0
  818. /package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/shape-adjustments.d.ts +0 -0
  819. /package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/shape-groups.d.ts +0 -0
  820. /package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/shape-operations.d.ts +0 -0
  821. /package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/shape-path-operations.d.ts +0 -0
  822. /package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/shape-paths.d.ts +0 -0
  823. /package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/shape-placeholder-types.d.ts +0 -0
  824. /package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/shape-presets.d.ts +0 -0
  825. /package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/shape-selection.d.ts +0 -0
  826. /package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/shape-transforms.d.ts +0 -0
  827. /package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/slide-copy.d.ts +0 -0
  828. /package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/slide-import.d.ts +0 -0
  829. /package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/slide-layout-model.d.ts +0 -0
  830. /package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/slide-merge-split.d.ts +0 -0
  831. /package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/slide-model.d.ts +0 -0
  832. /package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/slide-removal.d.ts +0 -0
  833. /package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/slide-transfer-budget.d.ts +0 -0
  834. /package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/slides.d.ts +0 -0
  835. /package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/table-operations.d.ts +0 -0
  836. /package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/table-spans.d.ts +0 -0
  837. /package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/tables-model.d.ts +0 -0
  838. /package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/tables.d.ts +0 -0
  839. /package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/tags.d.ts +0 -0
  840. /package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/template-bindings.d.ts +0 -0
  841. /package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/template-repeat.d.ts +0 -0
  842. /package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/text-fitting.d.ts +0 -0
  843. /package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/text-frame-enums.d.ts +0 -0
  844. /package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/text-frames.d.ts +0 -0
  845. /package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/text-paragraphs.d.ts +0 -0
  846. /package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/text-reading.d.ts +0 -0
  847. /package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/text-replacement.d.ts +0 -0
  848. /package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/text-run-color.d.ts +0 -0
  849. /package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/text-runs.d.ts +0 -0
  850. /package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/text-style-resolution.d.ts +0 -0
  851. /package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/themes.d.ts +0 -0
  852. /package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/transitions.d.ts +0 -0
  853. /package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/validation.d.ts +0 -0
  854. /package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/xml-parts.d.ts +0 -0
  855. /package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/xml-view.d.ts +0 -0
  856. /package/dist/{safe-bash-pptx-engine → safe-bash-presentation-engine}/xml.d.ts +0 -0
@@ -1,683 +0,0 @@
1
- import {
2
- f
3
- } from "./chunk-YXIB6JV5.js";
4
- import {
5
- D,
6
- Y,
7
- k
8
- } from "./chunk-C5TUE2FE.js";
9
- import {
10
- j,
11
- m,
12
- y
13
- } from "./chunk-S4R2JDPL.js";
14
- import {
15
- p
16
- } from "./chunk-4XWFUW5L.js";
17
- import {
18
- t
19
- } from "./chunk-Y4RGZJIG.js";
20
- import {
21
- a
22
- } from "./chunk-KDG3J4GN.js";
23
- import {
24
- e
25
- } from "./chunk-SB3DHPKZ.js";
26
- import "./chunk-WHWIZ2B7.js";
27
- import "./chunk-65DS4IOB.js";
28
-
29
- // packages/safe-bash-command-ssconvert/dist/chunks/pdf-M2GFAR2A.js
30
- import { PDFDocument as O0, PDFHexString as h0, PDFName as I0, PDFOperator as g0, PDFOperatorNames as y0, rgb as w0, pushGraphicsState as J, popGraphicsState as K, concatTransformationMatrix as _0, rectangle as N0, clip as M0, endPath as T0, drawObject as G0, beginText as E0, endText as D0, setFontAndSize as B0, setTextMatrix as W0, showText as U0, setFillingRgbColor as L0 } from "pdf-lib";
31
- import v0 from "@pdf-lib/fontkit";
32
- import { admitTrueTypeFont as H0, suppliedDefaultFont as z0, serializePdf as V0, decodePng as $0, PdfError as P0 } from "../../safe-bash-pdf-engine/index.js";
33
- var b0 = { GNM_HALIGN_GENERAL: "general", GNM_HALIGN_LEFT: "left", GNM_HALIGN_RIGHT: "right", GNM_HALIGN_CENTER: "center" };
34
- var S0 = { HAlign: Object.keys(b0), VAlign: "GNM_VALIGN_BOTTOM", WrapText: "0", ShrinkToFit: "0", Rotation: "0", Shade: ["0", "1"], Indent: "0", Locked: "1", Hidden: "0", Fore: ["0:0:0", "FFFF:0:0"], Back: ["FFFF:FFFF:FFFF", "FFFF:FFFF:0"], PatternColor: "0:0:0", Format: "General" };
35
- var R0 = { Unit: ["8", "10", "14"], Bold: ["0", "1"], Italic: "0", Underline: "0", StrikeThrough: "0", Script: "0" };
36
- function x0(w, v) {
37
- let x = () => {
38
- throw new e("unsupported-feature", "Unsupported ssconvert feature: PDF styled or merged cells");
39
- }, _ = (g) => (v(), (!g || typeof g != "object" || Array.isArray(g)) && x(), g), C = (g, I) => {
40
- (!Array.isArray(g.attributes) || g.attributes.length !== Object.keys(I).length) && x();
41
- let B = /* @__PURE__ */ Object.create(null);
42
- for (let b of g.attributes) {
43
- let s = _(b);
44
- (s.namespace !== "" || typeof s.name != "string" || typeof s.value != "string") && x();
45
- let u = s.name, n = s.value;
46
- v(u.length + n.length);
47
- let o = I[u];
48
- (!Object.hasOwn(I, u) || (typeof o == "string" ? o !== n : !o?.includes(n)) || Object.hasOwn(B, u)) && x(), B[u] = n;
49
- }
50
- return B;
51
- };
52
- v(), (Object.keys(w).length !== 1 || !Object.hasOwn(w, "gnumeric")) && x();
53
- let F = _(w.gnumeric);
54
- (F.name !== "Style" || F.namespace !== "http://www.gnumeric.org/v10.dtd" || typeof F.text != "string") && x(), v(F.text.length), (F.text.trim() !== "" || !Array.isArray(F.children) || F.children.length !== 1) && x();
55
- let O = C(F, S0), a2 = _(F.children[0]);
56
- (a2.name !== "Font" || a2.namespace !== "http://www.gnumeric.org/v10.dtd" || a2.text !== "Sans" || !Array.isArray(a2.children) || a2.children.length) && x();
57
- let l = C(a2, R0);
58
- return { alignment: b0[O.HAlign], bold: l.Bold === "1", size: Number(l.Unit), foreground: O.Fore === "FFFF:0:0" ? [1, 0, 0] : [0, 0, 0], ...O.Shade === "1" ? { background: O.Back === "FFFF:FFFF:0" ? [1, 1, 0] : [1, 1, 1] } : {} };
59
- }
60
- function u0(w, v) {
61
- let x = k(v), _ = (j2) => {
62
- throw new e("unsupported-feature", `Unsupported ssconvert feature: PDF print ${j2}`);
63
- }, C = (j2) => j2 !== null && typeof j2 == "object" && !Array.isArray(j2) ? j2 : void 0, F = (j2, E = 0) => {
64
- x(), E > 16 && _("settings depth");
65
- let t2 = C(j2);
66
- if (!t2 || t2.namespace !== "http://www.gnumeric.org/v10.dtd" || typeof t2.name != "string" || typeof t2.text != "string") return;
67
- x(t2.name.length + t2.text.length);
68
- let c = /* @__PURE__ */ Object.create(null);
69
- for (let m2 of Array.isArray(t2.attributes) ? t2.attributes : []) {
70
- x();
71
- let e2 = C(m2);
72
- e2?.namespace === "" && typeof e2.name == "string" && typeof e2.value == "string" && (x(e2.name.length + e2.value.length), c[e2.name] = e2.value);
73
- }
74
- let d = [];
75
- for (let m2 of Array.isArray(t2.children) ? t2.children : []) {
76
- let e2 = F(m2, E + 1);
77
- e2 && d.push(e2);
78
- }
79
- return { name: t2.name, text: t2.text, attributes: c, children: d };
80
- }, O = { top: 120, bottom: 120, left: 72, right: 72 }, a2, l = 72, g = 72, I, B = "portrait", b = { kind: "percentage", x: 100, y: 100 }, s = [], u = [], n = false, o = false, k2 = false, M = false, f2 = { Left: "", Middle: "&[TAB]", Right: "" }, P = { Left: "", Middle: "Page &[PAGE]", Right: "" };
81
- for (let j2 of w.unsupportedRecords ?? []) {
82
- if (x(), j2.kind !== "PrintInformation") continue;
83
- let E = F(j2.data);
84
- if (!E || E.name !== "PrintInformation") return _("settings representation");
85
- for (let t2 of E.children) {
86
- x();
87
- let c = t2.attributes, d = (m2, e2) => {
88
- let i = c[m2] === void 0 || c[m2].trim() === "" ? e2 : Number(c[m2]);
89
- return Number.isFinite(i) || _(`invalid ${t2.name}`), i;
90
- };
91
- if (t2.name === "Margins") for (let m2 of t2.children) {
92
- x();
93
- let e2 = Number(m2.attributes.Points);
94
- m2.attributes.Points === void 0 || !Number.isFinite(e2) || e2 < 0 || (Object.hasOwn(O, m2.name) ? O[m2.name] = e2 : m2.name === "header" ? l = e2 : m2.name === "footer" && (g = e2));
95
- }
96
- else if (t2.name === "first_page_number") {
97
- let m2 = d("value", 0);
98
- (!Number.isInteger(m2) || m2 < 0 || m2 > 4294967295) && _("invalid first page number"), a2 = m2;
99
- } else if (t2.name === "paper") I = t2.text;
100
- else if (t2.name === "orientation") B = t2.text === "landscape" ? "landscape" : "portrait";
101
- else if (t2.name === "Scale") if (c.type === "percentage") {
102
- let m2 = d("percentage", 100);
103
- b = { kind: "percentage", x: m2, y: m2 };
104
- } else b = { kind: "fit", columns: d("cols", 1), rows: d("rows", 1) };
105
- else if (t2.name === "hcenter") n = d("value", 0) === 1;
106
- else if (t2.name === "vcenter") o = d("value", 0) === 1;
107
- else if (t2.name === "order") k2 = t2.text === "r_then_d";
108
- else if (t2.name === "do_not_print") M = d("value", 0) !== 0;
109
- else if (t2.name === "Header" || t2.name === "Footer") {
110
- let m2 = t2.name === "Header" ? f2 : P;
111
- for (let e2 of ["Left", "Middle", "Right"]) c[e2] !== void 0 && (m2[e2] = c[e2]);
112
- } else if (["grid", "titles", "monochrome", "even_if_only_styles", "draft"].includes(t2.name)) d("value", 0) && _(t2.name);
113
- else if (t2.name === "repeat_top" || t2.name === "repeat_left") c.value && _(t2.name);
114
- else if (t2.name === "vPageBreaks" || t2.name === "hPageBreaks") {
115
- let m2 = [], e2 = -1;
116
- for (let i of t2.children) {
117
- if (x(), i.name !== "break" || i.attributes.pos === void 0) continue;
118
- let p2 = i.attributes.pos;
119
- x(p2.length);
120
- let D2 = 0;
121
- for (; D2 < p2.length && `
122
- \r\v\f`.includes(p2[D2]); ) D2++;
123
- if ((p2[D2] === "+" || p2[D2] === "-") && D2++, D2 === p2.length && p2.length || [...p2.slice(D2)].some((T) => T < "0" || T > "9")) continue;
124
- let y2 = Number(p2);
125
- if (!Number.isInteger(y2) || y2 < 0 || y2 > 2147483647) continue;
126
- let r = (i.attributes.type ?? "none").toLowerCase(), A = r === "manual" || r === "auto" || r === "data-slice" ? r : "none";
127
- A === "none" || y2 <= e2 || (e2 = y2, A !== "auto" && m2.push({ position: y2, type: A }));
128
- }
129
- t2.name === "hPageBreaks" ? s = m2 : u = m2;
130
- } else t2.name === "comments" ? c.placement && c.placement !== "GNM_PRINT_COMMENTS_IN_PLACE" && _("comments") : t2.name === "errors" ? c.PrintErrorsAs && c.PrintErrorsAs !== "GNM_PRINT_ERRORS_AS_DISPLAYED" && _("errors") : ["PrintUnit", "print_range", "print-to-uri"].includes(t2.name) || _(t2.name);
131
- }
132
- }
133
- return { firstPageNumber: a2, rowBreaks: s, columnBreaks: u, margins: O, headerPoints: l, footerPoints: g, header: f2, footer: P, paper: I, orientation: B, scale: b, centerHorizontally: n, centerVertically: o, acrossThenDown: k2, doNotPrint: M };
134
- }
135
- var e0 = [[65, 90, 2, 0], [97, 122, 2, 0], [170, 170, 2, 0], [186, 186, 2, 0], [192, 214, 2, 0], [216, 246, 2, 0], [248, 696, 2, 0], [736, 740, 2, 0], [768, 788, 5, 230], [789, 789, 5, 232], [790, 793, 5, 220], [794, 794, 5, 232], [795, 795, 5, 216], [796, 800, 5, 220], [801, 802, 5, 202], [803, 806, 5, 220], [807, 808, 5, 202], [809, 819, 5, 220], [820, 824, 5, 1], [825, 828, 5, 220], [829, 836, 5, 230], [837, 837, 5, 240], [838, 838, 5, 230], [839, 841, 5, 220], [842, 844, 5, 230], [845, 846, 5, 220], [847, 847, 5, 0], [848, 850, 5, 230], [851, 854, 5, 220], [855, 855, 5, 230], [856, 856, 5, 232], [857, 858, 5, 220], [859, 859, 5, 230], [860, 860, 5, 233], [861, 862, 5, 234], [863, 863, 5, 233], [864, 865, 5, 234], [866, 866, 5, 233], [867, 879, 5, 230], [880, 883, 2, 0], [885, 887, 2, 0], [890, 893, 2, 0], [895, 895, 2, 0], [900, 900, 2, 0], [902, 902, 2, 0], [904, 906, 2, 0], [908, 908, 2, 0], [910, 929, 2, 0], [931, 993, 2, 0], [1008, 1154, 2, 0], [1155, 1156, 7, 230], [1157, 1158, 5, 230], [1159, 1159, 7, 230], [1160, 1161, 7, 0], [1162, 1327, 2, 0], [1425, 1425, 1, 220], [1426, 1429, 1, 230], [1430, 1430, 1, 220], [1431, 1433, 1, 230], [1434, 1434, 1, 222], [1435, 1435, 1, 220], [1436, 1441, 1, 230], [1442, 1447, 1, 220], [1448, 1449, 1, 230], [1450, 1450, 1, 220], [1451, 1452, 1, 230], [1453, 1453, 1, 222], [1454, 1454, 1, 228], [1455, 1455, 1, 230], [1456, 1456, 1, 22], [1457, 1457, 1, 15], [1458, 1458, 1, 16], [1459, 1459, 1, 17], [1460, 1460, 1, 23], [1461, 1461, 1, 18], [1462, 1462, 1, 19], [1463, 1463, 1, 20], [1464, 1464, 1, 21], [1465, 1466, 1, 14], [1467, 1467, 1, 24], [1468, 1468, 1, 12], [1469, 1469, 1, 25], [1471, 1471, 1, 13], [1473, 1473, 1, 10], [1474, 1474, 1, 11], [1476, 1476, 1, 230], [1477, 1477, 1, 220], [1479, 1479, 1, 21], [1552, 1559, 1, 230], [1560, 1560, 1, 31], [1561, 1561, 1, 32], [1562, 1562, 1, 33], [1611, 1611, 5, 28], [1612, 1612, 5, 29], [1613, 1613, 5, 30], [1614, 1614, 5, 31], [1615, 1615, 5, 32], [1616, 1616, 5, 33], [1617, 1617, 5, 27], [1618, 1618, 5, 34], [1619, 1620, 5, 230], [1621, 1621, 5, 220], [1622, 1622, 1, 220], [1623, 1627, 1, 230], [1628, 1628, 1, 220], [1629, 1630, 1, 230], [1631, 1631, 1, 220], [1648, 1648, 5, 35], [1750, 1756, 1, 230], [1759, 1762, 1, 230], [1763, 1763, 1, 220], [1764, 1764, 1, 230], [1767, 1768, 1, 230], [1770, 1770, 1, 220], [1771, 1772, 1, 230], [1773, 1773, 1, 220], [1809, 1809, 1, 36], [1840, 1840, 1, 230], [1841, 1841, 1, 220], [1842, 1843, 1, 230], [1844, 1844, 1, 220], [1845, 1846, 1, 230], [1847, 1849, 1, 220], [1850, 1850, 1, 230], [1851, 1852, 1, 220], [1853, 1853, 1, 230], [1854, 1854, 1, 220], [1855, 1857, 1, 230], [1858, 1858, 1, 220], [1859, 1859, 1, 230], [1860, 1860, 1, 220], [1861, 1861, 1, 230], [1862, 1862, 1, 220], [1863, 1863, 1, 230], [1864, 1864, 1, 220], [1865, 1866, 1, 230], [1958, 1968, 1, 0], [2027, 2033, 1, 230], [2034, 2034, 1, 220], [2035, 2035, 1, 230], [2045, 2045, 1, 220], [2070, 2073, 1, 230], [2075, 2083, 1, 230], [2085, 2087, 1, 230], [2089, 2093, 1, 230], [2137, 2139, 1, 220], [2199, 2200, 1, 230], [2201, 2203, 1, 220], [2204, 2207, 1, 230], [2250, 2254, 1, 230], [2255, 2259, 1, 220], [2260, 2273, 1, 230], [2275, 2275, 1, 220], [2276, 2277, 1, 230], [2278, 2278, 1, 220], [2279, 2280, 1, 230], [2281, 2281, 1, 220], [2282, 2284, 1, 230], [2285, 2287, 1, 220], [2288, 2288, 1, 28], [2289, 2289, 1, 29], [2290, 2290, 1, 30], [2291, 2293, 1, 230], [2294, 2294, 1, 220], [2295, 2296, 1, 230], [2297, 2298, 1, 220], [2299, 2303, 1, 230], [2304, 2307, 1, 0], [2362, 2363, 1, 0], [2364, 2364, 1, 7], [2366, 2380, 1, 0], [2381, 2381, 1, 9], [2382, 2383, 1, 0], [2385, 2385, 5, 230], [2386, 2386, 5, 220], [2387, 2388, 5, 230], [2389, 2391, 1, 0], [2402, 2403, 1, 0], [2433, 2435, 1, 0], [2492, 2492, 1, 7], [2494, 2500, 1, 0], [2503, 2504, 1, 0], [2507, 2508, 1, 0], [2509, 2509, 1, 9], [2519, 2519, 1, 0], [2530, 2531, 1, 0], [2558, 2558, 1, 230], [2561, 2563, 1, 0], [2620, 2620, 1, 7], [2622, 2626, 1, 0], [2631, 2632, 1, 0], [2635, 2636, 1, 0], [2637, 2637, 1, 9], [2641, 2641, 1, 0], [2672, 2673, 1, 0], [2677, 2677, 1, 0], [2689, 2691, 1, 0], [2748, 2748, 1, 7], [2750, 2757, 1, 0], [2759, 2761, 1, 0], [2763, 2764, 1, 0], [2765, 2765, 1, 9], [2786, 2787, 1, 0], [2810, 2815, 1, 0], [2817, 2819, 1, 0], [2876, 2876, 1, 7], [2878, 2884, 1, 0], [2887, 2888, 1, 0], [2891, 2892, 1, 0], [2893, 2893, 1, 9], [2901, 2903, 1, 0], [2914, 2915, 1, 0], [2946, 2946, 1, 0], [3006, 3010, 1, 0], [3014, 3016, 1, 0], [3018, 3020, 1, 0], [3021, 3021, 1, 9], [3031, 3031, 1, 0], [3072, 3076, 1, 0], [3132, 3132, 1, 7], [3134, 3140, 1, 0], [3142, 3144, 1, 0], [3146, 3148, 1, 0], [3149, 3149, 1, 9], [3157, 3157, 1, 4], [3158, 3158, 1, 5], [3170, 3171, 1, 0], [3201, 3203, 1, 0], [3260, 3260, 1, 7], [3262, 3268, 1, 0], [3270, 3272, 1, 0], [3274, 3276, 1, 0], [3277, 3277, 1, 9], [3285, 3286, 1, 0], [3298, 3299, 1, 0], [3315, 3315, 1, 0], [3328, 3331, 1, 0], [3387, 3388, 1, 9], [3390, 3396, 1, 0], [3398, 3400, 1, 0], [3402, 3404, 1, 0], [3405, 3405, 1, 9], [3415, 3415, 1, 0], [3426, 3427, 1, 0], [3457, 3459, 1, 0], [3530, 3530, 1, 9], [3535, 3540, 1, 0], [3542, 3542, 1, 0], [3544, 3551, 1, 0], [3570, 3571, 1, 0], [3633, 3633, 1, 0], [3636, 3639, 1, 0], [3640, 3641, 1, 3], [3642, 3642, 1, 9], [3655, 3655, 1, 0], [3656, 3659, 1, 107], [3660, 3662, 1, 0], [3761, 3761, 1, 0], [3764, 3767, 1, 0], [3768, 3769, 1, 118], [3770, 3770, 1, 9], [3771, 3772, 1, 0], [3784, 3787, 1, 122], [3788, 3790, 1, 0], [3864, 3865, 1, 220], [3893, 3893, 1, 220], [3895, 3895, 1, 220], [3897, 3897, 1, 127], [3902, 3903, 1, 0], [3953, 3953, 1, 129], [3954, 3954, 1, 132], [3955, 3955, 1, 0], [3956, 3956, 1, 131], [3957, 3961, 1, 0], [3962, 3965, 1, 132], [3966, 3967, 1, 0], [3968, 3968, 1, 132], [3969, 3969, 1, 0], [3970, 3971, 1, 230], [3972, 3972, 1, 9], [3974, 3975, 1, 230], [3981, 3991, 1, 0], [3993, 4028, 1, 0], [4038, 4038, 1, 254], [4139, 4150, 1, 0], [4151, 4151, 1, 7], [4152, 4152, 1, 0], [4153, 4154, 1, 9], [4155, 4158, 1, 0], [4182, 4185, 1, 0], [4190, 4192, 1, 0], [4194, 4196, 1, 0], [4199, 4205, 1, 0], [4209, 4212, 1, 0], [4226, 4236, 1, 0], [4237, 4237, 1, 220], [4239, 4239, 1, 0], [4250, 4253, 1, 0], [4957, 4959, 1, 230], [5906, 5907, 1, 0], [5908, 5909, 1, 9], [5938, 5939, 1, 0], [5940, 5940, 1, 9], [5970, 5971, 1, 0], [6002, 6003, 1, 0], [6068, 6097, 1, 0], [6098, 6098, 1, 9], [6099, 6099, 1, 0], [6109, 6109, 1, 230], [6155, 6157, 1, 0], [6159, 6159, 1, 0], [6277, 6278, 1, 0], [6313, 6313, 1, 228], [6432, 6443, 1, 0], [6448, 6456, 1, 0], [6457, 6457, 1, 222], [6458, 6458, 1, 230], [6459, 6459, 1, 220], [6679, 6679, 1, 230], [6680, 6680, 1, 220], [6681, 6683, 1, 0], [6741, 6750, 1, 0], [6752, 6752, 1, 254], [6753, 6772, 1, 0], [6773, 6780, 1, 230], [6783, 6783, 1, 220], [6832, 6836, 5, 230], [6837, 6842, 5, 220], [6843, 6844, 5, 230], [6845, 6845, 5, 220], [6846, 6846, 5, 0], [6847, 6848, 5, 220], [6849, 6850, 5, 230], [6851, 6852, 5, 220], [6853, 6857, 5, 230], [6858, 6858, 5, 220], [6859, 6862, 5, 230], [6912, 6916, 1, 0], [6964, 6964, 1, 7], [6965, 6979, 1, 0], [6980, 6980, 1, 9], [7019, 7019, 1, 230], [7020, 7020, 1, 220], [7021, 7027, 1, 230], [7040, 7042, 1, 0], [7073, 7081, 1, 0], [7082, 7083, 1, 9], [7084, 7085, 1, 0], [7142, 7142, 1, 7], [7143, 7153, 1, 0], [7154, 7155, 1, 9], [7204, 7222, 1, 0], [7223, 7223, 1, 7], [7296, 7306, 2, 0], [7376, 7378, 5, 230], [7380, 7380, 5, 1], [7381, 7385, 5, 220], [7386, 7387, 5, 230], [7388, 7391, 5, 220], [7392, 7392, 5, 230], [7393, 7393, 5, 0], [7394, 7400, 5, 1], [7405, 7405, 5, 220], [7412, 7412, 5, 230], [7415, 7415, 5, 0], [7416, 7417, 5, 230], [7424, 7615, 2, 0], [7616, 7617, 5, 230], [7618, 7618, 5, 220], [7619, 7625, 5, 230], [7626, 7626, 5, 220], [7627, 7628, 5, 230], [7629, 7629, 5, 234], [7630, 7630, 5, 214], [7631, 7631, 5, 220], [7632, 7632, 5, 202], [7633, 7669, 5, 230], [7670, 7670, 5, 232], [7671, 7672, 5, 228], [7673, 7673, 5, 220], [7674, 7674, 5, 218], [7675, 7675, 5, 230], [7676, 7676, 5, 233], [7677, 7677, 5, 220], [7678, 7678, 5, 230], [7679, 7679, 5, 220], [7680, 7957, 2, 0], [7960, 7965, 2, 0], [7968, 8005, 2, 0], [8008, 8013, 2, 0], [8016, 8023, 2, 0], [8025, 8025, 2, 0], [8027, 8027, 2, 0], [8029, 8029, 2, 0], [8031, 8061, 2, 0], [8064, 8116, 2, 0], [8118, 8132, 2, 0], [8134, 8147, 2, 0], [8150, 8155, 2, 0], [8157, 8175, 2, 0], [8178, 8180, 2, 0], [8182, 8190, 2, 0], [8305, 8305, 2, 0], [8319, 8319, 2, 0], [8336, 8348, 2, 0], [8400, 8401, 5, 230], [8402, 8403, 5, 1], [8404, 8407, 5, 230], [8408, 8410, 5, 1], [8411, 8412, 5, 230], [8413, 8416, 5, 0], [8417, 8417, 5, 230], [8418, 8420, 5, 0], [8421, 8422, 5, 1], [8423, 8423, 5, 230], [8424, 8424, 5, 220], [8425, 8425, 5, 230], [8426, 8427, 5, 1], [8428, 8431, 5, 220], [8432, 8432, 5, 230], [8486, 8486, 2, 0], [8490, 8491, 2, 0], [8498, 8498, 2, 0], [8526, 8526, 2, 0], [8544, 8584, 2, 0], [11360, 11391, 2, 0], [11503, 11505, 1, 230], [11647, 11647, 1, 9], [11744, 11775, 7, 230], [12330, 12330, 5, 218], [12331, 12331, 5, 228], [12332, 12332, 5, 232], [12333, 12333, 5, 222], [12334, 12335, 1, 224], [12441, 12442, 5, 8], [42560, 42606, 2, 0], [42607, 42607, 7, 230], [42608, 42610, 7, 0], [42611, 42611, 2, 0], [42612, 42621, 7, 230], [42622, 42653, 2, 0], [42654, 42655, 7, 230], [42736, 42737, 1, 230], [42786, 42887, 2, 0], [42891, 42957, 2, 0], [42960, 42961, 2, 0], [42963, 42963, 2, 0], [42965, 42972, 2, 0], [42994, 43007, 2, 0], [43010, 43010, 1, 0], [43014, 43014, 1, 9], [43019, 43019, 1, 0], [43043, 43047, 1, 0], [43052, 43052, 1, 9], [43136, 43137, 1, 0], [43188, 43203, 1, 0], [43204, 43204, 1, 9], [43205, 43205, 1, 0], [43232, 43249, 1, 230], [43263, 43263, 1, 0], [43302, 43306, 1, 0], [43307, 43309, 1, 220], [43335, 43346, 1, 0], [43347, 43347, 1, 9], [43392, 43395, 1, 0], [43443, 43443, 1, 7], [43444, 43455, 1, 0], [43456, 43456, 1, 9], [43493, 43493, 1, 0], [43561, 43574, 1, 0], [43587, 43587, 1, 0], [43596, 43597, 1, 0], [43643, 43645, 1, 0], [43696, 43696, 1, 230], [43698, 43699, 1, 230], [43700, 43700, 1, 220], [43703, 43704, 1, 230], [43710, 43711, 1, 230], [43713, 43713, 1, 230], [43755, 43759, 1, 0], [43765, 43765, 1, 0], [43766, 43766, 1, 9], [43824, 43866, 2, 0], [43868, 43881, 2, 0], [44003, 44010, 1, 0], [44012, 44012, 1, 0], [44013, 44013, 1, 9], [64256, 64262, 2, 0], [64286, 64286, 1, 26], [65024, 65039, 5, 0], [65056, 65062, 5, 230], [65063, 65069, 5, 220], [65070, 65071, 7, 230], [65313, 65338, 2, 0], [65345, 65370, 2, 0], [65856, 65934, 2, 0], [65952, 65952, 2, 0], [66045, 66045, 5, 220], [66272, 66272, 5, 220], [66422, 66426, 1, 230], [67456, 67461, 2, 0], [67463, 67504, 2, 0], [67506, 67514, 2, 0], [68097, 68099, 1, 0], [68101, 68102, 1, 0], [68108, 68108, 1, 0], [68109, 68109, 1, 220], [68110, 68110, 1, 0], [68111, 68111, 1, 230], [68152, 68152, 1, 230], [68153, 68153, 1, 1], [68154, 68154, 1, 220], [68159, 68159, 1, 9], [68325, 68325, 1, 230], [68326, 68326, 1, 220], [68900, 68903, 1, 230], [68969, 68973, 1, 230], [69291, 69292, 1, 230], [69372, 69372, 1, 0], [69373, 69375, 1, 220], [69446, 69447, 1, 220], [69448, 69450, 1, 230], [69451, 69451, 1, 220], [69452, 69452, 1, 230], [69453, 69456, 1, 220], [69506, 69506, 1, 230], [69507, 69507, 1, 220], [69508, 69508, 1, 230], [69509, 69509, 1, 220], [69632, 69634, 1, 0], [69688, 69701, 1, 0], [69702, 69702, 1, 9], [69744, 69744, 1, 9], [69747, 69748, 1, 0], [69759, 69759, 1, 9], [69760, 69762, 1, 0], [69808, 69816, 1, 0], [69817, 69817, 1, 9], [69818, 69818, 1, 7], [69826, 69826, 1, 0], [69888, 69890, 1, 230], [69927, 69938, 1, 0], [69939, 69940, 1, 9], [69957, 69958, 1, 0], [70003, 70003, 1, 7], [70016, 70018, 1, 0], [70067, 70079, 1, 0], [70080, 70080, 1, 9], [70089, 70089, 1, 0], [70090, 70090, 1, 7], [70091, 70092, 1, 0], [70094, 70095, 1, 0], [70188, 70196, 1, 0], [70197, 70197, 1, 9], [70198, 70198, 1, 7], [70199, 70199, 1, 0], [70206, 70206, 1, 0], [70209, 70209, 1, 0], [70367, 70376, 1, 0], [70377, 70377, 1, 7], [70378, 70378, 1, 9], [70400, 70403, 1, 0], [70459, 70459, 5, 7], [70460, 70460, 1, 7], [70462, 70468, 1, 0], [70471, 70472, 1, 0], [70475, 70476, 1, 0], [70477, 70477, 1, 9], [70487, 70487, 1, 0], [70498, 70499, 1, 0], [70502, 70508, 1, 230], [70512, 70516, 1, 230], [70584, 70592, 1, 0], [70594, 70594, 1, 0], [70597, 70597, 1, 0], [70599, 70602, 1, 0], [70604, 70605, 1, 0], [70606, 70608, 1, 9], [70610, 70610, 1, 0], [70625, 70626, 1, 0], [70709, 70721, 1, 0], [70722, 70722, 1, 9], [70723, 70725, 1, 0], [70726, 70726, 1, 7], [70750, 70750, 1, 230], [70832, 70849, 1, 0], [70850, 70850, 1, 9], [70851, 70851, 1, 7], [71087, 71093, 1, 0], [71096, 71102, 1, 0], [71103, 71103, 1, 9], [71104, 71104, 1, 7], [71132, 71133, 1, 0], [71216, 71230, 1, 0], [71231, 71231, 1, 9], [71232, 71232, 1, 0], [71339, 71349, 1, 0], [71350, 71350, 1, 9], [71351, 71351, 1, 7], [71453, 71466, 1, 0], [71467, 71467, 1, 9], [71724, 71736, 1, 0], [71737, 71737, 1, 9], [71738, 71738, 1, 7], [71984, 71989, 1, 0], [71991, 71992, 1, 0], [71995, 71996, 1, 0], [71997, 71998, 1, 9], [72e3, 72e3, 1, 0], [72002, 72002, 1, 0], [72003, 72003, 1, 7], [72145, 72151, 1, 0], [72154, 72159, 1, 0], [72160, 72160, 1, 9], [72164, 72164, 1, 0], [72193, 72202, 1, 0], [72243, 72243, 1, 0], [72244, 72244, 1, 9], [72245, 72249, 1, 0], [72251, 72254, 1, 0], [72263, 72263, 1, 9], [72273, 72283, 1, 0], [72330, 72344, 1, 0], [72345, 72345, 1, 9], [72751, 72758, 1, 0], [72760, 72766, 1, 0], [72767, 72767, 1, 9], [72850, 72871, 1, 0], [72873, 72886, 1, 0], [73009, 73014, 1, 0], [73018, 73018, 1, 0], [73020, 73021, 1, 0], [73023, 73025, 1, 0], [73026, 73026, 1, 7], [73027, 73027, 1, 0], [73028, 73029, 1, 9], [73031, 73031, 1, 0], [73098, 73102, 1, 0], [73104, 73105, 1, 0], [73107, 73110, 1, 0], [73111, 73111, 1, 9], [73459, 73462, 1, 0], [73472, 73473, 1, 0], [73475, 73475, 1, 0], [73524, 73530, 1, 0], [73534, 73536, 1, 0], [73537, 73538, 1, 9], [73562, 73562, 1, 0], [78912, 78912, 1, 0], [78919, 78933, 1, 0], [90398, 90414, 1, 0], [90415, 90415, 1, 9], [92912, 92916, 1, 1], [92976, 92982, 1, 230], [94031, 94031, 1, 0], [94033, 94087, 1, 0], [94095, 94098, 1, 0], [94180, 94180, 1, 0], [94192, 94193, 1, 6], [113821, 113821, 1, 0], [113822, 113822, 1, 1], [118528, 118573, 5, 0], [118576, 118598, 5, 0], [119141, 119142, 5, 216], [119143, 119145, 5, 1], [119149, 119149, 5, 226], [119150, 119154, 5, 216], [119163, 119170, 5, 220], [119173, 119177, 5, 230], [119178, 119179, 5, 220], [119210, 119213, 5, 230], [119296, 119361, 2, 0], [119362, 119364, 7, 230], [119365, 119365, 2, 0], [121344, 121398, 1, 0], [121403, 121452, 1, 0], [121461, 121461, 1, 0], [121476, 121476, 1, 0], [121499, 121503, 1, 0], [121505, 121519, 1, 0], [122624, 122654, 2, 0], [122661, 122666, 2, 0], [122880, 122886, 1, 230], [122888, 122904, 1, 230], [122907, 122913, 1, 230], [122915, 122916, 1, 230], [122918, 122922, 1, 230], [122928, 122989, 2, 0], [123023, 123023, 7, 230], [123184, 123190, 1, 230], [123566, 123566, 1, 230], [123628, 123631, 1, 230], [124140, 124141, 1, 232], [124142, 124142, 1, 220], [124143, 124143, 1, 230], [124398, 124398, 1, 230], [124399, 124399, 1, 220], [125136, 125142, 1, 220], [125252, 125257, 1, 230], [125258, 125258, 1, 7], [917760, 917999, 5, 0]];
136
- var t0 = [[192, 65, 768, 1], [193, 65, 769, 1], [194, 65, 770, 1], [195, 65, 771, 1], [196, 65, 776, 1], [197, 65, 778, 1], [199, 67, 807, 1], [200, 69, 768, 1], [201, 69, 769, 1], [202, 69, 770, 1], [203, 69, 776, 1], [204, 73, 768, 1], [205, 73, 769, 1], [206, 73, 770, 1], [207, 73, 776, 1], [209, 78, 771, 1], [210, 79, 768, 1], [211, 79, 769, 1], [212, 79, 770, 1], [213, 79, 771, 1], [214, 79, 776, 1], [217, 85, 768, 1], [218, 85, 769, 1], [219, 85, 770, 1], [220, 85, 776, 1], [221, 89, 769, 1], [224, 97, 768, 1], [225, 97, 769, 1], [226, 97, 770, 1], [227, 97, 771, 1], [228, 97, 776, 1], [229, 97, 778, 1], [231, 99, 807, 1], [232, 101, 768, 1], [233, 101, 769, 1], [234, 101, 770, 1], [235, 101, 776, 1], [236, 105, 768, 1], [237, 105, 769, 1], [238, 105, 770, 1], [239, 105, 776, 1], [241, 110, 771, 1], [242, 111, 768, 1], [243, 111, 769, 1], [244, 111, 770, 1], [245, 111, 771, 1], [246, 111, 776, 1], [249, 117, 768, 1], [250, 117, 769, 1], [251, 117, 770, 1], [252, 117, 776, 1], [253, 121, 769, 1], [255, 121, 776, 1], [256, 65, 772, 1], [257, 97, 772, 1], [258, 65, 774, 1], [259, 97, 774, 1], [260, 65, 808, 1], [261, 97, 808, 1], [262, 67, 769, 1], [263, 99, 769, 1], [264, 67, 770, 1], [265, 99, 770, 1], [266, 67, 775, 1], [267, 99, 775, 1], [268, 67, 780, 1], [269, 99, 780, 1], [270, 68, 780, 1], [271, 100, 780, 1], [274, 69, 772, 1], [275, 101, 772, 1], [276, 69, 774, 1], [277, 101, 774, 1], [278, 69, 775, 1], [279, 101, 775, 1], [280, 69, 808, 1], [281, 101, 808, 1], [282, 69, 780, 1], [283, 101, 780, 1], [284, 71, 770, 1], [285, 103, 770, 1], [286, 71, 774, 1], [287, 103, 774, 1], [288, 71, 775, 1], [289, 103, 775, 1], [290, 71, 807, 1], [291, 103, 807, 1], [292, 72, 770, 1], [293, 104, 770, 1], [296, 73, 771, 1], [297, 105, 771, 1], [298, 73, 772, 1], [299, 105, 772, 1], [300, 73, 774, 1], [301, 105, 774, 1], [302, 73, 808, 1], [303, 105, 808, 1], [304, 73, 775, 1], [308, 74, 770, 1], [309, 106, 770, 1], [310, 75, 807, 1], [311, 107, 807, 1], [313, 76, 769, 1], [314, 108, 769, 1], [315, 76, 807, 1], [316, 108, 807, 1], [317, 76, 780, 1], [318, 108, 780, 1], [323, 78, 769, 1], [324, 110, 769, 1], [325, 78, 807, 1], [326, 110, 807, 1], [327, 78, 780, 1], [328, 110, 780, 1], [332, 79, 772, 1], [333, 111, 772, 1], [334, 79, 774, 1], [335, 111, 774, 1], [336, 79, 779, 1], [337, 111, 779, 1], [340, 82, 769, 1], [341, 114, 769, 1], [342, 82, 807, 1], [343, 114, 807, 1], [344, 82, 780, 1], [345, 114, 780, 1], [346, 83, 769, 1], [347, 115, 769, 1], [348, 83, 770, 1], [349, 115, 770, 1], [350, 83, 807, 1], [351, 115, 807, 1], [352, 83, 780, 1], [353, 115, 780, 1], [354, 84, 807, 1], [355, 116, 807, 1], [356, 84, 780, 1], [357, 116, 780, 1], [360, 85, 771, 1], [361, 117, 771, 1], [362, 85, 772, 1], [363, 117, 772, 1], [364, 85, 774, 1], [365, 117, 774, 1], [366, 85, 778, 1], [367, 117, 778, 1], [368, 85, 779, 1], [369, 117, 779, 1], [370, 85, 808, 1], [371, 117, 808, 1], [372, 87, 770, 1], [373, 119, 770, 1], [374, 89, 770, 1], [375, 121, 770, 1], [376, 89, 776, 1], [377, 90, 769, 1], [378, 122, 769, 1], [379, 90, 775, 1], [380, 122, 775, 1], [381, 90, 780, 1], [382, 122, 780, 1], [416, 79, 795, 1], [417, 111, 795, 1], [431, 85, 795, 1], [432, 117, 795, 1], [461, 65, 780, 1], [462, 97, 780, 1], [463, 73, 780, 1], [464, 105, 780, 1], [465, 79, 780, 1], [466, 111, 780, 1], [467, 85, 780, 1], [468, 117, 780, 1], [469, 220, 772, 1], [470, 252, 772, 1], [471, 220, 769, 1], [472, 252, 769, 1], [473, 220, 780, 1], [474, 252, 780, 1], [475, 220, 768, 1], [476, 252, 768, 1], [478, 196, 772, 1], [479, 228, 772, 1], [480, 550, 772, 1], [481, 551, 772, 1], [482, 198, 772, 1], [483, 230, 772, 1], [486, 71, 780, 1], [487, 103, 780, 1], [488, 75, 780, 1], [489, 107, 780, 1], [490, 79, 808, 1], [491, 111, 808, 1], [492, 490, 772, 1], [493, 491, 772, 1], [494, 439, 780, 1], [495, 658, 780, 1], [496, 106, 780, 1], [500, 71, 769, 1], [501, 103, 769, 1], [504, 78, 768, 1], [505, 110, 768, 1], [506, 197, 769, 1], [507, 229, 769, 1], [508, 198, 769, 1], [509, 230, 769, 1], [510, 216, 769, 1], [511, 248, 769, 1], [512, 65, 783, 1], [513, 97, 783, 1], [514, 65, 785, 1], [515, 97, 785, 1], [516, 69, 783, 1], [517, 101, 783, 1], [518, 69, 785, 1], [519, 101, 785, 1], [520, 73, 783, 1], [521, 105, 783, 1], [522, 73, 785, 1], [523, 105, 785, 1], [524, 79, 783, 1], [525, 111, 783, 1], [526, 79, 785, 1], [527, 111, 785, 1], [528, 82, 783, 1], [529, 114, 783, 1], [530, 82, 785, 1], [531, 114, 785, 1], [532, 85, 783, 1], [533, 117, 783, 1], [534, 85, 785, 1], [535, 117, 785, 1], [536, 83, 806, 1], [537, 115, 806, 1], [538, 84, 806, 1], [539, 116, 806, 1], [542, 72, 780, 1], [543, 104, 780, 1], [550, 65, 775, 1], [551, 97, 775, 1], [552, 69, 807, 1], [553, 101, 807, 1], [554, 214, 772, 1], [555, 246, 772, 1], [556, 213, 772, 1], [557, 245, 772, 1], [558, 79, 775, 1], [559, 111, 775, 1], [560, 558, 772, 1], [561, 559, 772, 1], [562, 89, 772, 1], [563, 121, 772, 1], [832, 768, 0, 0], [833, 769, 0, 0], [835, 787, 0, 0], [836, 776, 769, 0], [901, 168, 769, 1], [902, 913, 769, 1], [904, 917, 769, 1], [905, 919, 769, 1], [906, 921, 769, 1], [908, 927, 769, 1], [910, 933, 769, 1], [911, 937, 769, 1], [912, 970, 769, 1], [938, 921, 776, 1], [939, 933, 776, 1], [940, 945, 769, 1], [941, 949, 769, 1], [942, 951, 769, 1], [943, 953, 769, 1], [944, 971, 769, 1], [970, 953, 776, 1], [971, 965, 776, 1], [972, 959, 769, 1], [973, 965, 769, 1], [974, 969, 769, 1], [979, 978, 769, 1], [980, 978, 776, 1], [1024, 1045, 768, 1], [1025, 1045, 776, 1], [1027, 1043, 769, 1], [1031, 1030, 776, 1], [1036, 1050, 769, 1], [1037, 1048, 768, 1], [1038, 1059, 774, 1], [1049, 1048, 774, 1], [1081, 1080, 774, 1], [1104, 1077, 768, 1], [1105, 1077, 776, 1], [1107, 1075, 769, 1], [1111, 1110, 776, 1], [1116, 1082, 769, 1], [1117, 1080, 768, 1], [1118, 1091, 774, 1], [1142, 1140, 783, 1], [1143, 1141, 783, 1], [1217, 1046, 774, 1], [1218, 1078, 774, 1], [1232, 1040, 774, 1], [1233, 1072, 774, 1], [1234, 1040, 776, 1], [1235, 1072, 776, 1], [1238, 1045, 774, 1], [1239, 1077, 774, 1], [1242, 1240, 776, 1], [1243, 1241, 776, 1], [1244, 1046, 776, 1], [1245, 1078, 776, 1], [1246, 1047, 776, 1], [1247, 1079, 776, 1], [1250, 1048, 772, 1], [1251, 1080, 772, 1], [1252, 1048, 776, 1], [1253, 1080, 776, 1], [1254, 1054, 776, 1], [1255, 1086, 776, 1], [1258, 1256, 776, 1], [1259, 1257, 776, 1], [1260, 1069, 776, 1], [1261, 1101, 776, 1], [1262, 1059, 772, 1], [1263, 1091, 772, 1], [1264, 1059, 776, 1], [1265, 1091, 776, 1], [1266, 1059, 779, 1], [1267, 1091, 779, 1], [1268, 1063, 776, 1], [1269, 1095, 776, 1], [1272, 1067, 776, 1], [1273, 1099, 776, 1], [7680, 65, 805, 1], [7681, 97, 805, 1], [7682, 66, 775, 1], [7683, 98, 775, 1], [7684, 66, 803, 1], [7685, 98, 803, 1], [7686, 66, 817, 1], [7687, 98, 817, 1], [7688, 199, 769, 1], [7689, 231, 769, 1], [7690, 68, 775, 1], [7691, 100, 775, 1], [7692, 68, 803, 1], [7693, 100, 803, 1], [7694, 68, 817, 1], [7695, 100, 817, 1], [7696, 68, 807, 1], [7697, 100, 807, 1], [7698, 68, 813, 1], [7699, 100, 813, 1], [7700, 274, 768, 1], [7701, 275, 768, 1], [7702, 274, 769, 1], [7703, 275, 769, 1], [7704, 69, 813, 1], [7705, 101, 813, 1], [7706, 69, 816, 1], [7707, 101, 816, 1], [7708, 552, 774, 1], [7709, 553, 774, 1], [7710, 70, 775, 1], [7711, 102, 775, 1], [7712, 71, 772, 1], [7713, 103, 772, 1], [7714, 72, 775, 1], [7715, 104, 775, 1], [7716, 72, 803, 1], [7717, 104, 803, 1], [7718, 72, 776, 1], [7719, 104, 776, 1], [7720, 72, 807, 1], [7721, 104, 807, 1], [7722, 72, 814, 1], [7723, 104, 814, 1], [7724, 73, 816, 1], [7725, 105, 816, 1], [7726, 207, 769, 1], [7727, 239, 769, 1], [7728, 75, 769, 1], [7729, 107, 769, 1], [7730, 75, 803, 1], [7731, 107, 803, 1], [7732, 75, 817, 1], [7733, 107, 817, 1], [7734, 76, 803, 1], [7735, 108, 803, 1], [7736, 7734, 772, 1], [7737, 7735, 772, 1], [7738, 76, 817, 1], [7739, 108, 817, 1], [7740, 76, 813, 1], [7741, 108, 813, 1], [7742, 77, 769, 1], [7743, 109, 769, 1], [7744, 77, 775, 1], [7745, 109, 775, 1], [7746, 77, 803, 1], [7747, 109, 803, 1], [7748, 78, 775, 1], [7749, 110, 775, 1], [7750, 78, 803, 1], [7751, 110, 803, 1], [7752, 78, 817, 1], [7753, 110, 817, 1], [7754, 78, 813, 1], [7755, 110, 813, 1], [7756, 213, 769, 1], [7757, 245, 769, 1], [7758, 213, 776, 1], [7759, 245, 776, 1], [7760, 332, 768, 1], [7761, 333, 768, 1], [7762, 332, 769, 1], [7763, 333, 769, 1], [7764, 80, 769, 1], [7765, 112, 769, 1], [7766, 80, 775, 1], [7767, 112, 775, 1], [7768, 82, 775, 1], [7769, 114, 775, 1], [7770, 82, 803, 1], [7771, 114, 803, 1], [7772, 7770, 772, 1], [7773, 7771, 772, 1], [7774, 82, 817, 1], [7775, 114, 817, 1], [7776, 83, 775, 1], [7777, 115, 775, 1], [7778, 83, 803, 1], [7779, 115, 803, 1], [7780, 346, 775, 1], [7781, 347, 775, 1], [7782, 352, 775, 1], [7783, 353, 775, 1], [7784, 7778, 775, 1], [7785, 7779, 775, 1], [7786, 84, 775, 1], [7787, 116, 775, 1], [7788, 84, 803, 1], [7789, 116, 803, 1], [7790, 84, 817, 1], [7791, 116, 817, 1], [7792, 84, 813, 1], [7793, 116, 813, 1], [7794, 85, 804, 1], [7795, 117, 804, 1], [7796, 85, 816, 1], [7797, 117, 816, 1], [7798, 85, 813, 1], [7799, 117, 813, 1], [7800, 360, 769, 1], [7801, 361, 769, 1], [7802, 362, 776, 1], [7803, 363, 776, 1], [7804, 86, 771, 1], [7805, 118, 771, 1], [7806, 86, 803, 1], [7807, 118, 803, 1], [7808, 87, 768, 1], [7809, 119, 768, 1], [7810, 87, 769, 1], [7811, 119, 769, 1], [7812, 87, 776, 1], [7813, 119, 776, 1], [7814, 87, 775, 1], [7815, 119, 775, 1], [7816, 87, 803, 1], [7817, 119, 803, 1], [7818, 88, 775, 1], [7819, 120, 775, 1], [7820, 88, 776, 1], [7821, 120, 776, 1], [7822, 89, 775, 1], [7823, 121, 775, 1], [7824, 90, 770, 1], [7825, 122, 770, 1], [7826, 90, 803, 1], [7827, 122, 803, 1], [7828, 90, 817, 1], [7829, 122, 817, 1], [7830, 104, 817, 1], [7831, 116, 776, 1], [7832, 119, 778, 1], [7833, 121, 778, 1], [7835, 383, 775, 1], [7840, 65, 803, 1], [7841, 97, 803, 1], [7842, 65, 777, 1], [7843, 97, 777, 1], [7844, 194, 769, 1], [7845, 226, 769, 1], [7846, 194, 768, 1], [7847, 226, 768, 1], [7848, 194, 777, 1], [7849, 226, 777, 1], [7850, 194, 771, 1], [7851, 226, 771, 1], [7852, 7840, 770, 1], [7853, 7841, 770, 1], [7854, 258, 769, 1], [7855, 259, 769, 1], [7856, 258, 768, 1], [7857, 259, 768, 1], [7858, 258, 777, 1], [7859, 259, 777, 1], [7860, 258, 771, 1], [7861, 259, 771, 1], [7862, 7840, 774, 1], [7863, 7841, 774, 1], [7864, 69, 803, 1], [7865, 101, 803, 1], [7866, 69, 777, 1], [7867, 101, 777, 1], [7868, 69, 771, 1], [7869, 101, 771, 1], [7870, 202, 769, 1], [7871, 234, 769, 1], [7872, 202, 768, 1], [7873, 234, 768, 1], [7874, 202, 777, 1], [7875, 234, 777, 1], [7876, 202, 771, 1], [7877, 234, 771, 1], [7878, 7864, 770, 1], [7879, 7865, 770, 1], [7880, 73, 777, 1], [7881, 105, 777, 1], [7882, 73, 803, 1], [7883, 105, 803, 1], [7884, 79, 803, 1], [7885, 111, 803, 1], [7886, 79, 777, 1], [7887, 111, 777, 1], [7888, 212, 769, 1], [7889, 244, 769, 1], [7890, 212, 768, 1], [7891, 244, 768, 1], [7892, 212, 777, 1], [7893, 244, 777, 1], [7894, 212, 771, 1], [7895, 244, 771, 1], [7896, 7884, 770, 1], [7897, 7885, 770, 1], [7898, 416, 769, 1], [7899, 417, 769, 1], [7900, 416, 768, 1], [7901, 417, 768, 1], [7902, 416, 777, 1], [7903, 417, 777, 1], [7904, 416, 771, 1], [7905, 417, 771, 1], [7906, 416, 803, 1], [7907, 417, 803, 1], [7908, 85, 803, 1], [7909, 117, 803, 1], [7910, 85, 777, 1], [7911, 117, 777, 1], [7912, 431, 769, 1], [7913, 432, 769, 1], [7914, 431, 768, 1], [7915, 432, 768, 1], [7916, 431, 777, 1], [7917, 432, 777, 1], [7918, 431, 771, 1], [7919, 432, 771, 1], [7920, 431, 803, 1], [7921, 432, 803, 1], [7922, 89, 768, 1], [7923, 121, 768, 1], [7924, 89, 803, 1], [7925, 121, 803, 1], [7926, 89, 777, 1], [7927, 121, 777, 1], [7928, 89, 771, 1], [7929, 121, 771, 1], [7936, 945, 787, 1], [7937, 945, 788, 1], [7938, 7936, 768, 1], [7939, 7937, 768, 1], [7940, 7936, 769, 1], [7941, 7937, 769, 1], [7942, 7936, 834, 1], [7943, 7937, 834, 1], [7944, 913, 787, 1], [7945, 913, 788, 1], [7946, 7944, 768, 1], [7947, 7945, 768, 1], [7948, 7944, 769, 1], [7949, 7945, 769, 1], [7950, 7944, 834, 1], [7951, 7945, 834, 1], [7952, 949, 787, 1], [7953, 949, 788, 1], [7954, 7952, 768, 1], [7955, 7953, 768, 1], [7956, 7952, 769, 1], [7957, 7953, 769, 1], [7960, 917, 787, 1], [7961, 917, 788, 1], [7962, 7960, 768, 1], [7963, 7961, 768, 1], [7964, 7960, 769, 1], [7965, 7961, 769, 1], [7968, 951, 787, 1], [7969, 951, 788, 1], [7970, 7968, 768, 1], [7971, 7969, 768, 1], [7972, 7968, 769, 1], [7973, 7969, 769, 1], [7974, 7968, 834, 1], [7975, 7969, 834, 1], [7976, 919, 787, 1], [7977, 919, 788, 1], [7978, 7976, 768, 1], [7979, 7977, 768, 1], [7980, 7976, 769, 1], [7981, 7977, 769, 1], [7982, 7976, 834, 1], [7983, 7977, 834, 1], [7984, 953, 787, 1], [7985, 953, 788, 1], [7986, 7984, 768, 1], [7987, 7985, 768, 1], [7988, 7984, 769, 1], [7989, 7985, 769, 1], [7990, 7984, 834, 1], [7991, 7985, 834, 1], [7992, 921, 787, 1], [7993, 921, 788, 1], [7994, 7992, 768, 1], [7995, 7993, 768, 1], [7996, 7992, 769, 1], [7997, 7993, 769, 1], [7998, 7992, 834, 1], [7999, 7993, 834, 1], [8e3, 959, 787, 1], [8001, 959, 788, 1], [8002, 8e3, 768, 1], [8003, 8001, 768, 1], [8004, 8e3, 769, 1], [8005, 8001, 769, 1], [8008, 927, 787, 1], [8009, 927, 788, 1], [8010, 8008, 768, 1], [8011, 8009, 768, 1], [8012, 8008, 769, 1], [8013, 8009, 769, 1], [8016, 965, 787, 1], [8017, 965, 788, 1], [8018, 8016, 768, 1], [8019, 8017, 768, 1], [8020, 8016, 769, 1], [8021, 8017, 769, 1], [8022, 8016, 834, 1], [8023, 8017, 834, 1], [8025, 933, 788, 1], [8027, 8025, 768, 1], [8029, 8025, 769, 1], [8031, 8025, 834, 1], [8032, 969, 787, 1], [8033, 969, 788, 1], [8034, 8032, 768, 1], [8035, 8033, 768, 1], [8036, 8032, 769, 1], [8037, 8033, 769, 1], [8038, 8032, 834, 1], [8039, 8033, 834, 1], [8040, 937, 787, 1], [8041, 937, 788, 1], [8042, 8040, 768, 1], [8043, 8041, 768, 1], [8044, 8040, 769, 1], [8045, 8041, 769, 1], [8046, 8040, 834, 1], [8047, 8041, 834, 1], [8048, 945, 768, 1], [8049, 940, 0, 0], [8050, 949, 768, 1], [8051, 941, 0, 0], [8052, 951, 768, 1], [8053, 942, 0, 0], [8054, 953, 768, 1], [8055, 943, 0, 0], [8056, 959, 768, 1], [8057, 972, 0, 0], [8058, 965, 768, 1], [8059, 973, 0, 0], [8060, 969, 768, 1], [8061, 974, 0, 0], [8064, 7936, 837, 1], [8065, 7937, 837, 1], [8066, 7938, 837, 1], [8067, 7939, 837, 1], [8068, 7940, 837, 1], [8069, 7941, 837, 1], [8070, 7942, 837, 1], [8071, 7943, 837, 1], [8072, 7944, 837, 1], [8073, 7945, 837, 1], [8074, 7946, 837, 1], [8075, 7947, 837, 1], [8076, 7948, 837, 1], [8077, 7949, 837, 1], [8078, 7950, 837, 1], [8079, 7951, 837, 1], [8080, 7968, 837, 1], [8081, 7969, 837, 1], [8082, 7970, 837, 1], [8083, 7971, 837, 1], [8084, 7972, 837, 1], [8085, 7973, 837, 1], [8086, 7974, 837, 1], [8087, 7975, 837, 1], [8088, 7976, 837, 1], [8089, 7977, 837, 1], [8090, 7978, 837, 1], [8091, 7979, 837, 1], [8092, 7980, 837, 1], [8093, 7981, 837, 1], [8094, 7982, 837, 1], [8095, 7983, 837, 1], [8096, 8032, 837, 1], [8097, 8033, 837, 1], [8098, 8034, 837, 1], [8099, 8035, 837, 1], [8100, 8036, 837, 1], [8101, 8037, 837, 1], [8102, 8038, 837, 1], [8103, 8039, 837, 1], [8104, 8040, 837, 1], [8105, 8041, 837, 1], [8106, 8042, 837, 1], [8107, 8043, 837, 1], [8108, 8044, 837, 1], [8109, 8045, 837, 1], [8110, 8046, 837, 1], [8111, 8047, 837, 1], [8112, 945, 774, 1], [8113, 945, 772, 1], [8114, 8048, 837, 1], [8115, 945, 837, 1], [8116, 940, 837, 1], [8118, 945, 834, 1], [8119, 8118, 837, 1], [8120, 913, 774, 1], [8121, 913, 772, 1], [8122, 913, 768, 1], [8123, 902, 0, 0], [8124, 913, 837, 1], [8126, 953, 0, 0], [8129, 168, 834, 1], [8130, 8052, 837, 1], [8131, 951, 837, 1], [8132, 942, 837, 1], [8134, 951, 834, 1], [8135, 8134, 837, 1], [8136, 917, 768, 1], [8137, 904, 0, 0], [8138, 919, 768, 1], [8139, 905, 0, 0], [8140, 919, 837, 1], [8141, 8127, 768, 1], [8142, 8127, 769, 1], [8143, 8127, 834, 1], [8144, 953, 774, 1], [8145, 953, 772, 1], [8146, 970, 768, 1], [8147, 912, 0, 0], [8150, 953, 834, 1], [8151, 970, 834, 1], [8152, 921, 774, 1], [8153, 921, 772, 1], [8154, 921, 768, 1], [8155, 906, 0, 0], [8157, 8190, 768, 1], [8158, 8190, 769, 1], [8159, 8190, 834, 1], [8160, 965, 774, 1], [8161, 965, 772, 1], [8162, 971, 768, 1], [8163, 944, 0, 0], [8164, 961, 787, 1], [8165, 961, 788, 1], [8166, 965, 834, 1], [8167, 971, 834, 1], [8168, 933, 774, 1], [8169, 933, 772, 1], [8170, 933, 768, 1], [8171, 910, 0, 0], [8172, 929, 788, 1], [8173, 168, 768, 1], [8174, 901, 0, 0], [8175, 96, 0, 0], [8178, 8060, 837, 1], [8179, 969, 837, 1], [8180, 974, 837, 1], [8182, 969, 834, 1], [8183, 8182, 837, 1], [8184, 927, 768, 1], [8185, 908, 0, 0], [8186, 937, 768, 1], [8187, 911, 0, 0], [8188, 937, 837, 1], [8189, 180, 0, 0], [8486, 937, 0, 0], [8490, 75, 0, 0], [8491, 197, 0, 0]];
137
- var C0 = new Map(t0.map(([w, v, x]) => [w, [v, x]]));
138
- var j0 = new Map(t0.filter((w) => w[3] !== 0).map(([w, v, x]) => [`${v},${x}`, w]));
139
- function m0(w, v, x) {
140
- x(w.length);
141
- let _ = (O) => {
142
- let a2 = 0, l = e0.length - 1;
143
- for (; a2 <= l; ) {
144
- x();
145
- let g = a2 + l >>> 1, I = e0[g];
146
- if (O < I[0]) l = g - 1;
147
- else if (O > I[1]) a2 = g + 1;
148
- else return [I[2], I[3]];
149
- }
150
- return [0, 0];
151
- }, C = (O, a2) => {
152
- x();
153
- let l = C0.get(O);
154
- if (!l || l[1] !== 0 && !v.has(l[1])) return;
155
- let [g, I] = l;
156
- if (a2 && v.has(g)) return I === 0 ? [g] : [g, I];
157
- let B = C(g, a2);
158
- if (B) return I !== 0 && B.push(I), B;
159
- if (v.has(g)) return I === 0 ? [g] : [g, I];
160
- }, F = [];
161
- for (let O = 0; O < w.length; ) {
162
- x();
163
- let a2 = w.codePointAt(O), l = [a2], g = O + (a2 > 65535 ? 2 : 1), I = (_(a2)[0] & 2) !== 0, B = a2 >= 65024 && a2 <= 65039 || a2 >= 917760 && a2 <= 917999;
164
- for (; g < w.length; ) {
165
- x();
166
- let b = w.codePointAt(g), s = _(b)[0];
167
- if ((s & 1) === 0) break;
168
- I &&= (s & 4) !== 0, B ||= b >= 65024 && b <= 65039 || b >= 917760 && b <= 917999, l.push(b), g += b > 65535 ? 2 : 1;
169
- }
170
- if (!I) F.push(w.slice(O, g));
171
- else {
172
- let b = [];
173
- for (let n of l) {
174
- x();
175
- let o = B || l.length === 1 && v.has(n) ? [n] : C(n, l.length === 1) ?? [n];
176
- for (let k2 of o) {
177
- let [M, f2] = _(k2);
178
- b.push({ point: k2, mark: (M & 1) !== 0, ccc: f2 });
179
- }
180
- }
181
- for (let n = 0; n < b.length; n++) {
182
- if (x(), b[n].ccc === 0) continue;
183
- let o = n + 1;
184
- for (; o < b.length && b[o].ccc !== 0; ) x(), o++;
185
- if (o - n <= 32) {
186
- let k2 = b.slice(n, o).sort((M, f2) => (x(), M.ccc - f2.ccc));
187
- for (let M = 0; M < k2.length; M++) x(), b[n + M] = k2[M];
188
- }
189
- n = o - 1;
190
- }
191
- let s = [], u = 0;
192
- for (let n of b) {
193
- x();
194
- let o = n.mark && s[u] && (u === s.length - 1 || s[s.length - 1].ccc < n.ccc) ? j0.get(`${s[u].point},${n.point}`) : void 0;
195
- if (o !== void 0 && v.has(o)) {
196
- let [k2, M] = _(o);
197
- s[u] = { point: o, mark: (k2 & 1) !== 0, ccc: M };
198
- } else s.push(n), n.ccc === 0 && (u = s.length - 1);
199
- }
200
- for (let n of s) x(), F.push(String.fromCodePoint(n.point));
201
- }
202
- O = g;
203
- }
204
- return x(), F.join("");
205
- }
206
- var z = globalThis.WebAssembly;
207
- var Y2;
208
- var a0 = 0;
209
- function p0(w, v) {
210
- a0++;
211
- let x, _ = false, C = false, F = /* @__PURE__ */ new Map(), O = () => {
212
- if (!_) {
213
- for (let u of F.values()) if (u && x) try {
214
- typeof x.hb_font_destroy == "function" && x.hb_font_destroy(u.font), typeof x.free == "function" && x.free(u.data);
215
- } catch {
216
- }
217
- let b = x?.memory;
218
- if (typeof z?.Memory == "function" && b instanceof z.Memory) try {
219
- b.buffer.transfer?.(0);
220
- } catch {
221
- }
222
- _ = true, --a0 <= 0 && (a0 = 0, Y2 = void 0);
223
- let s = globalThis.gc;
224
- if (typeof s == "function") try {
225
- s();
226
- } catch {
227
- }
228
- }
229
- x = void 0, F.clear();
230
- };
231
- w.own(O);
232
- let a2 = () => {
233
- throw O(), new e("resource-limit", "ssconvert PDF font shaping could not complete");
234
- }, l = (b, ...s) => {
235
- let u = x?.[b];
236
- if (_ || typeof u != "function") return a2();
237
- try {
238
- return u(...s);
239
- } catch {
240
- return a2();
241
- }
242
- }, g = () => {
243
- let b = x?.memory;
244
- return _ || !z || !(b instanceof z.Memory) ? a2() : b;
245
- }, I = (b, s, u = 1) => {
246
- let n = g().buffer;
247
- return !Number.isSafeInteger(b) || b <= 0 || b % u || !Number.isSafeInteger(s) || s < 0 || b + s > n.byteLength ? a2() : new DataView(n, b, s);
248
- }, B = (b = 0) => {
249
- v(), l("ssconvert_hb_failure", b) !== 0 && a2();
250
- };
251
- return { dispose: O, async addFont(b, s) {
252
- if (v(b.length), (_ || b.length > w.limits.inputBytes) && a2(), C) {
253
- F.set(s, null);
254
- return;
255
- }
256
- if (!x) {
257
- let u;
258
- try {
259
- if (typeof z?.compile == "function") {
260
- let { harfbuzzBase64: k2 } = await import("./data-2FJOPYXA-PDKMLCGR.js");
261
- Y2 ??= (() => {
262
- let M = atob(k2), f2 = new Uint8Array(M.length);
263
- for (let P = 0; P < M.length; P++) f2[P] = M.charCodeAt(P);
264
- return z.compile(f2).finally(() => {
265
- if (typeof f2.buffer.transfer == "function") try {
266
- f2.buffer.transfer(0);
267
- } catch {
268
- }
269
- }).catch((P) => {
270
- throw Y2 = void 0, P;
271
- });
272
- })(), u = await Y2;
273
- }
274
- } catch (k2) {
275
- if (!z || !(k2 instanceof z.CompileError)) throw k2;
276
- }
277
- if (v(), _ && a2(), !u || !z) {
278
- C = true, F.set(s, null);
279
- return;
280
- }
281
- let n = () => a2(), o = await z.instantiate(u, { wasi_snapshot_preview1: { proc_exit: n }, env: { _emscripten_runtime_keepalive_clear: n, _abort_js: n, _setitimer_js: n, emscripten_resize_heap(k2) {
282
- let M = g();
283
- if (!Number.isSafeInteger(k2) || k2 < M.buffer.byteLength) return a2();
284
- try {
285
- return M.grow(Math.ceil((k2 - M.buffer.byteLength) / 65536)), 1;
286
- } catch {
287
- return a2();
288
- }
289
- } } });
290
- v(), _ && a2(), x = o.exports, l("__wasm_call_ctors"), B();
291
- }
292
- try {
293
- let u = l("malloc", b.length);
294
- new Uint8Array(I(u, b.length).buffer, u, b.length).set(b);
295
- let n = l("hb_blob_create", u, b.length, 1, 0, 0), o = l("hb_face_create", n, 0), k2 = l("hb_font_create", o);
296
- B(), (!n || !o || !k2 || l("hb_face_get_upem", o) !== s.unitsPerEm) && a2(), l("hb_font_set_scale", k2, s.unitsPerEm, s.unitsPerEm), l("hb_face_destroy", o), l("hb_blob_destroy", n), F.set(s, { font: k2, data: u });
297
- } catch (u) {
298
- throw O(), u;
299
- }
300
- }, shape(b, s) {
301
- v(s.length);
302
- let u = F.get(b);
303
- if (!F.has(b) || _ || s.length > w.limits.inputBytes / 2) return a2();
304
- let n = 0, o = 0;
305
- try {
306
- if (!u) {
307
- let h = b.layout(s);
308
- return h.glyphs.length > (w.limits.workbookWork ?? w.limits.inputBytes) && a2(), v(h.glyphs.length * 20), Object.create(h, { glyphs: { value: h.glyphs.map((N) => Object.create(N, { codePoints: { value: [...N.codePoints] } })) } });
309
- }
310
- n = l("hb_buffer_create"), o = l("malloc", Math.max(2, s.length * 2));
311
- let k2 = I(o, Math.max(2, s.length * 2), 2);
312
- for (let h = 0; h < s.length; h++) k2.setUint16(h * 2, s.charCodeAt(h), true);
313
- l("hb_buffer_add_utf16", n, o, s.length, 0, s.length), l("hb_buffer_set_cluster_level", n, 1), l("hb_buffer_guess_segment_properties", n), B(n);
314
- let M = l("hb_shape_full", u.font, n, 0, 0, 0);
315
- B(n), (!M || l("hb_buffer_get_content_type", n) !== 2) && a2();
316
- let f2 = l("hb_buffer_get_length", n);
317
- (!Number.isSafeInteger(f2) || f2 < 0 || f2 > (w.limits.workbookWork ?? w.limits.inputBytes)) && a2(), v(f2 * 20);
318
- let P = l("hb_buffer_get_glyph_infos", n, 0), j2 = l("hb_buffer_get_glyph_positions", n, 0), E = l("hb_buffer_get_direction", n), t2 = l("hb_buffer_get_script", n), c = l("hb_language_to_string", l("hb_buffer_get_language", n)), d = "";
319
- if (c) for (let h = 0; h < 256; h++) {
320
- let N = I(c + h, 1).getUint8(0);
321
- if (N === 0) break;
322
- d += String.fromCharCode(N), h === 255 && a2();
323
- }
324
- B(n);
325
- let m2 = f2 ? I(P, f2 * 20, 4) : void 0, e2 = f2 ? I(j2, f2 * 20, 4) : void 0, i = Array.from({ length: f2 }, (h, N) => ({ id: m2.getUint32(N * 20, true), cluster: m2.getUint32(N * 20 + 8, true), xAdvance: e2.getInt32(N * 20, true), yAdvance: e2.getInt32(N * 20 + 4, true), xOffset: e2.getInt32(N * 20 + 8, true), yOffset: e2.getInt32(N * 20 + 12, true) })), p2 = [...new Set(i.map((h) => h.cluster))].sort((h, N) => h - N), D2 = /* @__PURE__ */ new Map();
326
- for (let [h, N] of p2.entries()) (N >= s.length || N > 0 && s.charCodeAt(N) >= 56320 && s.charCodeAt(N) <= 57343) && a2(), D2.set(N, [...s.slice(N, p2[h + 1] ?? s.length)].map((L) => L.codePointAt(0)));
327
- let y2 = 0, r = 0, A = 1 / 0, T = 1 / 0, U = -1 / 0, R = -1 / 0, S = i.map((h) => {
328
- v(), h.id >= b.numGlyphs && a2();
329
- let N = Object.create(b.getGlyph(h.id), { codePoints: { value: D2.get(h.cluster) } }), L = N.bbox;
330
- return A = Math.min(A, y2 + h.xOffset + L.minX), T = Math.min(T, r + h.yOffset + L.minY), U = Math.max(U, y2 + h.xOffset + L.maxX), R = Math.max(R, r + h.yOffset + L.maxY), y2 += h.xAdvance, r += h.yAdvance, N;
331
- });
332
- return f2 || (A = T = U = R = 0), { glyphs: S, positions: i, advanceWidth: y2, advanceHeight: r, script: String.fromCharCode(t2 >>> 24, t2 >>> 16 & 255, t2 >>> 8 & 255, t2 & 255), direction: E === 4 ? "ltr" : E === 5 ? "rtl" : null, language: d || null, features: {}, bbox: { minX: A, minY: T, maxX: U, maxY: R, width: U - A, height: R - T } };
333
- } catch (k2) {
334
- throw O(), k2;
335
- } finally {
336
- _ || (n && l("hb_buffer_destroy", n), o && l("free", o));
337
- }
338
- } };
339
- }
340
- var V = 72 / 96;
341
- function n0(w) {
342
- let v = w.style;
343
- if (!v) return;
344
- let x = v.gnumeric;
345
- if (!(Object.keys(v).length === 1 && Object.hasOwn(v, "gnumeric") && x && typeof x == "object" && !Array.isArray(x) && x.name === "Style" && x.namespace === "http://www.gnumeric.org/v10.dtd" && typeof x.text == "string" && x.text.trim() === "" && Array.isArray(x.children) && x.children.length === 0 && Array.isArray(x.attributes) && x.attributes.every((_) => _ && typeof _ == "object" && _.namespace === "" && _.name === "Format" && typeof _.value == "string"))) {
346
- if (Object.keys(v).length === 2 && Object.hasOwn(v, "xlsx") && Object.hasOwn(v, "gnumeric") && x && typeof x == "object" && !Array.isArray(x) && Array.isArray(x.attributes)) {
347
- let C = x.attributes.some((F) => F && typeof F == "object" && F.name === "Format") ? x.attributes.map((F) => F && typeof F == "object" && F.name === "Format" ? { ...F, value: "General" } : F) : [...x.attributes, { name: "Format", namespace: "", value: "General" }];
348
- return { gnumeric: { ...x, attributes: C } };
349
- }
350
- return Object.keys(v).length === 1 && Object.hasOwn(v, "gnumeric") && x && typeof x == "object" && !Array.isArray(x) && Array.isArray(x.attributes) && x.attributes.some((C) => C && typeof C == "object" && C.name === "Format" && C.value !== "General") ? { gnumeric: { ...x, attributes: x.attributes.map((C) => C && typeof C == "object" && C.name === "Format" ? { ...C, value: "General" } : C) } } : v;
351
- }
352
- }
353
- var q = { iso_a4: [15120 / 25.4, 297 * 72 / 25.4], na_letter: [612, 792], na_legal: [612, 1008], iso_a3: [297 * 72 / 25.4, 420 * 72 / 25.4], iso_a5: [10656 / 25.4, 15120 / 25.4], iso_b5: [12672 / 25.4, 18e3 / 25.4], na_ledger: [1224, 792], na_executive: [522, 756] };
354
- function F0(w) {
355
- let x = { a4: "iso_a4", a3: "iso_a3", a5: "iso_a5", b5: "iso_b5", usletter: "na_letter", "us-letter": "na_letter", letter: "na_letter", uslegal: "na_legal" }[w.toLowerCase()];
356
- if (x) return x;
357
- if (w.toLowerCase().startsWith("executive")) return "na_executive";
358
- for (let _ of ["iso_a3", "iso_a4", "iso_a5", "iso_b5", "na_letter", "na_legal", "na_executive"]) if (w.startsWith(`${_}_`)) return _;
359
- return w;
360
- }
361
- function G(w) {
362
- throw new e("unsupported-feature", `Unsupported ssconvert feature: PDF ${w}`);
363
- }
364
- function k0(w, v, x) {
365
- let _, C = false, F, O, a2, l, g = [], I = [], B = 0;
366
- for (let s of v) for (let [u, n] of p(s)) {
367
- if (x.signal.throwIfAborted(), ++B > (x.limits.workbookWork ?? x.limits.inputBytes)) throw new e("resource-limit", "ssconvert PDF option work limit exceeded");
368
- if (u === "object") {
369
- let o = false;
370
- for (let k2 of w.sheets) for (let M of [...y(k2, x)].reverse()) if (M.name === n && (g.push({ sheet: k2, object: M }), o = true), ++B > (x.limits.workbookWork ?? x.limits.inputBytes)) throw new e("resource-limit", "ssconvert PDF option work limit exceeded");
371
- if (!o) throw new e("invalid-request", `ssconvert: There is no object with name '${n}'`);
372
- } else if (u === "paper") if (n === "fit") C = true;
373
- else {
374
- let o = n.toLowerCase(), k2 = o.endsWith("-landscape") ? "-landscape" : o.endsWith("_landscape") ? "_landscape" : o === "a4l" || o === "a3l" || o === "a5l" || o === "letterl" ? "l" : "", M = k2 ? n.slice(0, -k2.length) : n;
375
- k2 && !F && (F = "landscape");
376
- let f2 = F0(M);
377
- if (!Object.hasOwn(q, f2)) {
378
- if (n === "") throw new e("invalid-request", "ssconvert: Unknown paper size");
379
- G("unqualified named-paper warning profile");
380
- }
381
- _ = q[f2];
382
- }
383
- else if (u === "orientation") {
384
- let o = n.toLowerCase();
385
- if (o !== "portrait" && o !== "landscape" && o !== "reverse-portrait" && o !== "reverse-landscape") throw new e("invalid-request", `ssconvert: Invalid orientation "${n}" for format Gnumeric_pdf:pdf_assistant`);
386
- F = o;
387
- } else if (u === "fit-width" || u === "fit_width" || u === "fit-to-pages-wide") {
388
- let o = Number.parseInt(n, 10);
389
- if (!Number.isSafeInteger(o) || o < 0 || String(o) !== n.trim()) throw new e("invalid-request", `ssconvert: Invalid fit-width "${n}" for format Gnumeric_pdf:pdf_assistant`);
390
- O = o;
391
- } else if (u === "fit-height" || u === "fit_height" || u === "fit-to-pages-tall") {
392
- let o = Number.parseInt(n, 10);
393
- if (!Number.isSafeInteger(o) || o < 0 || String(o) !== n.trim()) throw new e("invalid-request", `ssconvert: Invalid fit-height "${n}" for format Gnumeric_pdf:pdf_assistant`);
394
- a2 = o;
395
- } else if (u === "scale") {
396
- let o = Number(n);
397
- if (!Number.isFinite(o) || o <= 0) throw new e("invalid-request", `ssconvert: Invalid scale "${n}" for format Gnumeric_pdf:pdf_assistant`);
398
- l = o;
399
- } else if (u === "sheet" || u === "active-sheet") {
400
- let o = u === "active-sheet" ? w.sheets.find((k2) => k2.id === w.activeSheet) ?? w.sheets[0] : w.sheets.find((k2) => f(k2.name) === f(n));
401
- if (!o) throw new e("invalid-request", `ssconvert: Unknown sheet "${n}"`);
402
- I.push(o.id);
403
- } else throw new e("invalid-request", `ssconvert: Invalid export option "${u}" for format Gnumeric_pdf:pdf_assistant`);
404
- }
405
- return { paper: _, fit: C, orientation: F, scale: O !== void 0 || a2 !== void 0 ? { kind: "fit", rows: a2 ?? 0, columns: O ?? 0 } : l !== void 0 ? { kind: "percentage", x: l, y: l } : void 0, objects: g, sheets: I };
406
- }
407
- async function wx(w, v, x) {
408
- return x && k0(x, w, v), w;
409
- }
410
- async function _x(w, v, x, _) {
411
- let C = k0(w, v, x), F = x.formatting ?? t(), O = 0, a2 = (g = 1) => {
412
- if (x.signal.throwIfAborted(), O += g, !Number.isSafeInteger(O) || O > (x.limits.workbookWork ?? x.limits.inputBytes + x.limits.cells * 32)) throw new e("resource-limit", "ssconvert PDF work limit exceeded");
413
- };
414
- a2();
415
- let l = p0(x, a2);
416
- try {
417
- let g = await O0.create({ updateMetadata: false });
418
- g.setProducer("ssconvert JavaScript PDF writer");
419
- let I = /* @__PURE__ */ new Map(), B = 0, b = async (f2, P, j2, E, t2 = 10, c = "left", d) => {
420
- if (a2(P.length), !P) return;
421
- let m2 = d?.style.bold ?? false, e2 = I.get(m2);
422
- if (!e2) {
423
- g.registerFontkit(v0);
424
- let R;
425
- if (x.fonts) {
426
- let S = await x.fonts.resolve(Object.freeze({ family: "Sans", bold: m2, italic: false, maxBytes: x.limits.inputBytes - B, signal: x.signal }));
427
- if (a2(), S === void 0 && G("supplied font unavailable"), S instanceof Uint8Array || G("supplied font bytes"), S.byteLength > x.limits.inputBytes - B) throw new e("resource-limit", "ssconvert PDF font bytes limit exceeded");
428
- B += S.byteLength, a2(S.byteLength), R = new Uint8Array(S), H0(R, (h) => G(`supplied font: ${h}`), a2);
429
- } else R = z0((S) => a2(S)).bytes;
430
- try {
431
- let S = v0.create(R);
432
- (!Number.isFinite(S.unitsPerEm) || S.unitsPerEm <= 0 || !Number.isFinite(S.ascent) || S.ascent <= 0 || !Number.isFinite(S.descent) || S.descent > 0) && G("supplied font metrics"), await l.addFont(R, S), g.registerFontkit({ create: () => S });
433
- let h = await g.embedFont(R, { subset: true });
434
- e2 = { font: h, metrics: S, bytes: R, shaped: true, supported: new Set(h.getCharacterSet()), ascentRatio: S.ascent / S.unitsPerEm, descentRatio: -S.descent / S.unitsPerEm }, I.set(m2, e2);
435
- } catch (S) {
436
- if (x.signal.throwIfAborted(), S instanceof e) throw S;
437
- G("supplied font parsing");
438
- }
439
- a2();
440
- }
441
- let { font: i, metrics: p2, supported: D2, ascentRatio: y2, descentRatio: r } = e2;
442
- d && (P.includes(`
443
- `) || P.includes("\r")) && G("default-style text layout");
444
- let A = d ? m0(P, D2, a2) : P;
445
- for (let R of A) D2.has(R.codePointAt(0)) || G("font coverage");
446
- let T = f2.getHeight() - E - t2, U = d ? 0 : i.widthOfTextAtSize(P, t2);
447
- if (d) {
448
- if (!e2.shaped) try {
449
- await l.addFont(e2.bytes, p2), e2.shaped = true;
450
- } catch (H) {
451
- if (x.signal.throwIfAborted(), H instanceof e) throw H;
452
- G("supplied font parsing");
453
- }
454
- let R = y2 * t2, S = R + r * t2, h = [], N = l.shape(p2, A);
455
- for (let H of N.positions) {
456
- a2();
457
- let X = H.xAdvance * d.style.size / p2.unitsPerEm;
458
- (!Number.isFinite(X) || X < 0 || !Number.isFinite(H.xOffset) || !Number.isFinite(H.yOffset) || H.yAdvance !== 0) && G("supplied font advances"), h.push({ x: U + Math.round(H.xOffset * d.style.size / p2.unitsPerEm) * V, y: -Math.round(-H.yOffset * d.style.size / p2.unitsPerEm) * V }), U += Math.round(X) * V;
459
- }
460
- (U > d.width - 5 || S > d.height - (1 - V)) && G("default-style text layout"), j2 += 2 + 0.5 + 3 * V + (c === "left" ? 0 : (d.width - 5) / (c === "center" ? 2 : 1)), T = f2.getHeight() - E - d.height + (1 - V) + S - R, j2 -= c === "left" ? 0 : U / (c === "center" ? 2 : 1);
461
- let L = p2.layout, $;
462
- try {
463
- p2.layout = () => N, $ = i.encodeText(A).asString();
464
- } finally {
465
- p2.layout = L;
466
- }
467
- $.length !== h.length * 4 && G("supplied font glyph mapping");
468
- let A0 = f2.node.newFontDictionary(i.name, i.ref);
469
- f2.pushOperators(J(), g0.of(y0.BeginMarkedContentSequence, [I0.of("Span"), g.context.obj({ ActualText: h0.fromText(P) }).toString()]), E0(), B0(A0, t2), L0(...d.style.foreground));
470
- for (let [H, X] of h.entries()) a2(), f2.pushOperators(W0(1, 0, 0, 1, j2 + X.x, T + X.y), U0(h0.of($.slice(H * 4, H * 4 + 4))));
471
- f2.pushOperators(D0(), g0.of(y0.EndMarkedContent), K());
472
- return;
473
- }
474
- f2.drawText(P, { x: j2 - (c === "left" ? 0 : U / (c === "center" ? 2 : 1)), y: T, size: t2, font: i });
475
- }, s = (f2) => {
476
- let P = f2.cells.some((e2) => e2.style !== void 0 && typeof e2.style == "object" && "xlsx" in e2.style), j2 = /\.(?:csv|tsv)$/i.test(f2.name) || /\.(?:csv|tsv)$/i.test(x.inputFilename ?? ""), E = (!f2.columns || f2.columns.length === 0) && f2.view?.defaultColumnWidth === void 0 && f2.cells.every((e2) => n0(e2) === void 0) && f2.cells.some((e2) => {
477
- let i = e2.displayedText ?? (e2.value.kind === "blank" ? "" : String(e2.value.value));
478
- return i.length >= 9 && !i.includes(`
479
- `);
480
- });
481
- if (!P && !j2 && !E) return f2.columns;
482
- let t2 = new Map((f2.columns ?? []).map((e2) => [e2.index, e2])), c = typeof f2.view?.defaultColumnWidth == "number" ? f2.view.defaultColumnWidth : 48, d = /* @__PURE__ */ new Map();
483
- for (let e2 of f2.cells) {
484
- let i = e2.displayedText ?? (e2.value.kind === "blank" ? "" : e2.value.kind === "boolean" ? e2.value.value ? "TRUE" : "FALSE" : String(e2.value.value));
485
- if (!i || i.includes(`
486
- `) || i.includes("\r")) continue;
487
- let p2 = Math.max(c, i.length * 6 + 14), D2 = d.get(e2.column) ?? c;
488
- p2 > D2 && d.set(e2.column, p2);
489
- }
490
- for (let [e2, i] of t2) {
491
- let p2 = d.get(e2) ?? c;
492
- d.set(e2, Math.max(p2, i.sizePoints ?? c));
493
- }
494
- let m2 = [...d.entries()].filter(([e2, i]) => i > c || t2.has(e2)).sort((e2, i) => e2[0] - i[0]).map(([e2, i]) => ({ ...t2.get(e2), index: e2, sizePoints: i }));
495
- return m2.length ? m2 : f2.columns;
496
- }, u = (f2) => {
497
- let P = (j2, E) => (t2) => {
498
- let c = t2 * E, d = E;
499
- for (let m2 of j2 ?? []) a2(), m2.index < t2 && (c += (m2.hidden ? 0 : m2.sizePoints ?? E) - E), m2.index === t2 && (d = m2.sizePoints ?? E);
500
- return { start: c, size: d };
501
- };
502
- return { column: P(s(f2), typeof f2.view?.defaultColumnWidth == "number" ? f2.view.defaultColumnWidth : 48), row: P(f2.rows, typeof f2.view?.defaultRowHeight == "number" ? f2.view.defaultRowHeight : 12.75) };
503
- }, n = async (f2, P, j2, E, t2, c) => {
504
- if (a2(), P.kind === "graph") {
505
- let d = j(P.graph);
506
- d && f2.drawRectangle({ x: j2, y: f2.getHeight() - E - c, width: t2, height: c, color: w0(...[1, 3, 5].map((m2) => Number.parseInt(d.slice(m2, m2 + 2), 16) / 255)) });
507
- } else if (P.kind === "image") {
508
- let d = P.payload.children.find((r) => r.name === "Content" && r.namespace === "");
509
- d || G("image payload");
510
- let m2 = d.text.split(" ").join("").split(`
511
- `).join("").split("\r").join("").split(" ").join("");
512
- a2(m2.length);
513
- let e2;
514
- try {
515
- let r = atob(m2);
516
- e2 = new Uint8Array(r.length);
517
- for (let A = 0; A < r.length; A++) e2[A] = r.charCodeAt(A);
518
- } catch {
519
- return G("image encoding");
520
- }
521
- a2();
522
- let i = new DataView(e2.buffer, e2.byteOffset, e2.byteLength), p2 = 0, D2 = 0, y2 = e2[0] === 137;
523
- if (y2) (e2.length < 33 || ![137, 80, 78, 71, 13, 10, 26, 10].every((r, A) => e2[A] === r) || i.getUint32(8) !== 13 || i.getUint32(12) !== 1229472850) && G("PNG header"), p2 = i.getUint32(16), D2 = i.getUint32(20);
524
- else if (e2[0] === 255 && e2[1] === 216) {
525
- let r = 2;
526
- for (; r + 4 <= e2.length; ) {
527
- a2(), e2[r] !== 255 && G("JPEG header");
528
- let A = e2[r + 1], T = i.getUint16(r + 2);
529
- if ((T < 2 || r + 2 + T > e2.length) && G("JPEG header"), [192, 193, 194].includes(A)) {
530
- T < 8 && G("JPEG dimensions"), D2 = i.getUint16(r + 5), p2 = i.getUint16(r + 7);
531
- break;
532
- }
533
- r += T + 2;
534
- }
535
- } else G("image format");
536
- if ((!p2 || !D2) && G("image dimensions"), a2(p2 * D2 * 16), y2) {
537
- let r;
538
- try {
539
- r = $0(e2, a2);
540
- } catch (R) {
541
- if (!(R instanceof P0)) throw R;
542
- if (R.code === "E_LIMIT") throw new e("resource-limit", "ssconvert PDF PNG decoding limit exceeded");
543
- return G("PNG decoding");
544
- }
545
- let A = r.alpha === void 0 ? void 0 : g.context.register(g.context.flateStream(r.alpha, { Type: "XObject", Subtype: "Image", Width: p2, Height: D2, BitsPerComponent: 8, ColorSpace: "DeviceGray" })), T = g.context.register(g.context.flateStream(r.rgb, { Type: "XObject", Subtype: "Image", Width: p2, Height: D2, BitsPerComponent: 8, ColorSpace: "DeviceRGB", SMask: A })), U = f2.node.newXObject("Image", T);
546
- f2.pushOperators(J(), _0(t2, 0, 0, c, j2, f2.getHeight() - E - c), G0(U), K());
547
- } else {
548
- let r = await g.embedJpg(e2);
549
- a2(), (r.width !== p2 || r.height !== D2) && G("image dimension mismatch"), f2.drawImage(r, { x: j2, y: f2.getHeight() - E - c, width: t2, height: c });
550
- }
551
- } else G(`object ${P.sourceType}`);
552
- }, o = C.objects[0], k2 = (f2, P) => (P.anchor.mode !== "2" && P.anchor.mode !== "absolute" && (f2.rows?.some((j2) => j2.hidden) || f2.columns?.some((j2) => j2.hidden)) && G("hidden-axis object placement"), m(P, u(f2), x));
553
- if (o) {
554
- let f2 = k2(o.sheet, o.object), P = C.fit && o.object.kind === "graph", j2 = P ? [Math.max(1, Math.abs(f2.width)), Math.max(1, Math.abs(f2.height))] : C.paper ?? q.iso_a4;
555
- a2();
556
- let E = g.addPage([j2[0], j2[1]]);
557
- await n(E, o.object, P ? 0 : 72, P ? 0 : 72, Math.abs(f2.width), Math.abs(f2.height));
558
- } else {
559
- let f2 = C.sheets.length ? C.sheets : _?.sheets, P = [], j2 = 0, E = 1;
560
- for (let t2 of w.sheets) {
561
- if (a2(), f2 && !f2.includes(t2.id) || t2.visibility && t2.visibility !== "visible") continue;
562
- let c = u0(t2, x);
563
- if (!f2 && c.doNotPrint) continue;
564
- (t2.merges?.length || t2.cells.some((r) => r.richText)) && G("styled or merged cells");
565
- for (let r of t2.cells) {
566
- let A = n0(r);
567
- A && (a2(), x.fonts || G("styled or merged cells"), x0(A, a2));
568
- }
569
- let d = c.paper === void 0 ? void 0 : q[F0(c.paper)];
570
- C.paper === void 0 && c.paper !== void 0 && d === void 0 && G("persisted paper size");
571
- let m2 = u(t2), e2 = C.paper ?? d ?? q.iso_a4, i = y(t2, x).map((r) => ({ object: r, rectangle: k2(t2, r) })), p2 = a(t2);
572
- for (let { rectangle: r } of i) {
573
- a2(), (r.width < 0 || r.height < 0 || r.x < 0 || r.y < 0) && G("mirrored or negative workbook object placement");
574
- let A = (R, S) => {
575
- let h = 0;
576
- for (; ; ) {
577
- a2();
578
- let N = m2[R](h);
579
- if (N.start + N.size >= S) return h;
580
- h++;
581
- }
582
- }, T = A("row", r.y + r.height), U = A("column", r.x + r.width);
583
- p2 = { startRow: 0, startColumn: 0, endRow: Math.max(p2.endRow, T), endColumn: Math.max(p2.endColumn, U) };
584
- }
585
- if (p2.endRow < p2.startRow || p2.endColumn < p2.startColumn) continue;
586
- let D2 = c.firstPageNumber ?? E, y2 = Y({ area: p2, startPage: D2, defaultRowPoints: typeof t2.view?.defaultRowHeight == "number" ? t2.view.defaultRowHeight : 12.75, defaultColumnPoints: typeof t2.view?.defaultColumnWidth == "number" ? t2.view.defaultColumnWidth : 48, ...t2.rows ? { rows: t2.rows } : {}, ...s(t2) ? { columns: s(t2) } : {}, paper: { widthPoints: e2[0], heightPoints: e2[1] }, margins: c.margins, rowBreaks: c.rowBreaks, columnBreaks: c.columnBreaks, orientation: C.orientation ?? c.orientation, scale: C.scale ?? c.scale, centerHorizontally: c.centerHorizontally, centerVertically: c.centerVertically, acrossThenDown: c.acrossThenDown }, x);
587
- if (a2(y2.pages.length), E = D2 + y2.pages.length, j2 += y2.pages.length, !Number.isSafeInteger(j2)) throw new e("resource-limit", "ssconvert PDF page count limit exceeded");
588
- P.push({ sheet: t2, print: c, positions: m2, objects: i, layout: y2 });
589
- }
590
- for (let { sheet: t2, print: c, positions: d, objects: m2, layout: e2 } of P) for (let i of e2.pages) {
591
- a2();
592
- let p2 = g.addPage([e2.widthPoints, e2.heightPoints]), D2 = { page: i.number, pages: j2, sheetName: t2.name, filename: x.inputFilename ?? "", path: "", title: "" };
593
- for (let [y2, r, A] of [[c.header, c.headerPoints, c.margins.top > c.headerPoints], [c.footer, e2.heightPoints - c.footerPoints - 10, c.margins.bottom > c.footerPoints]]) if (A) for (let [T, U, R] of [["Left", c.margins.left, "left"], ["Middle", (c.margins.left + e2.widthPoints - c.margins.right) / 2, "center"], ["Right", e2.widthPoints - c.margins.right, "right"]]) await b(p2, D(y2[T], D2, x), U, r, 10, R);
594
- p2.pushOperators(J(), _0(e2.scaleX, 0, 0, e2.scaleY, i.originX * (1 - e2.scaleX), (p2.getHeight() - i.originY) * (1 - e2.scaleY)));
595
- for (let y2 of t2.cells) {
596
- if (a2(), y2.row < i.area.startRow || y2.row > i.area.endRow || y2.column < i.area.startColumn || y2.column > i.area.endColumn || t2.rows?.some((L) => L.index === y2.row && L.hidden) || t2.columns?.some((L) => L.index === y2.column && L.hidden)) continue;
597
- let r = y2.style || x.formatting ? await F.format(y2.value, y2.format ?? "General", x, { unicodeMinus: y2.value.kind === "number" }) : y2.displayedText ?? (y2.value.kind === "blank" ? "" : y2.value.kind === "boolean" ? y2.value.value ? "TRUE" : "FALSE" : String(y2.value.value));
598
- a2();
599
- let A = i.originX + d.column(y2.column).start - d.column(i.area.startColumn).start, T = i.originY + d.row(y2.row).start - d.row(i.area.startRow).start, U = n0(y2), R = U ? x0(U, a2) : void 0, S = d.column(y2.column).size, h = d.row(y2.row).size;
600
- R?.background && p2.drawRectangle({ x: A + 2, y: p2.getHeight() - T - h - 0.2, width: S + 0.2, height: h + 0.2, color: w0(...R.background) });
601
- let N = R?.alignment === "general" ? y2.value.kind === "number" ? "right" : y2.value.kind === "boolean" || y2.value.kind === "error" ? "center" : "left" : R?.alignment ?? "left";
602
- await b(p2, r, A, T, R ? R.size * V : 10, N, R ? { width: S, height: h, style: R } : void 0);
603
- }
604
- for (let { object: y2, rectangle: r } of m2) {
605
- a2();
606
- let A = d.column(i.area.startColumn).start, T = d.row(i.area.startRow).start, U = d.column(i.area.endColumn), R = d.row(i.area.endRow), S = U.start + U.size, h = R.start + R.size;
607
- if (r.x >= S || r.y >= h || r.x + r.width <= A || r.y + r.height <= T) continue;
608
- (r.x < A || r.y < T || r.x + r.width > S || r.y + r.height > h) && (y2.anchor.mode === "2" || y2.anchor.mode === "absolute") && G("absolute workbook objects spanning pages");
609
- let L = i.originX + 2, $ = i.originY;
610
- p2.pushOperators(J(), N0(L, p2.getHeight() - $ - (h - T), S - A, h - T), M0(), T0());
611
- try {
612
- await n(p2, y2, L + 0.5 + r.x - A, $ + 0.5 + r.y - T, r.width, r.height);
613
- } finally {
614
- p2.pushOperators(K());
615
- }
616
- }
617
- p2.pushOperators(K());
618
- }
619
- }
620
- a2(), await g.flush(), a2();
621
- let M;
622
- try {
623
- M = await V0(g.context, { outputBytes: x.limits.outputBytes, objects: Math.min(1e6, x.limits.workbookWork ?? x.limits.inputBytes), work: a2, cooperate: async () => {
624
- a2(), await new Promise((f2) => setTimeout(f2, 0)), a2();
625
- } });
626
- } catch (f2) {
627
- if (f2 instanceof P0) {
628
- if (f2.code === "E_LIMIT") throw new e("resource-limit", "ssconvert PDF serialization limit exceeded");
629
- G("serialization capability");
630
- }
631
- throw f2;
632
- }
633
- if (a2(), M.length > x.limits.outputBytes) throw new e("resource-limit", "ssconvert output bytes limit exceeded");
634
- return M;
635
- } finally {
636
- l.dispose();
637
- }
638
- }
639
- export {
640
- wx as pdfExportOptions,
641
- _x as writePdf
642
- };
643
- /*!
644
- * UNICODE LICENSE V3
645
- *
646
- * COPYRIGHT AND PERMISSION NOTICE
647
- *
648
- * Copyright © 1991-2026 Unicode, Inc.
649
- *
650
- * NOTICE TO USER: Carefully read the following legal agreement. BY
651
- * DOWNLOADING, INSTALLING, COPYING OR OTHERWISE USING DATA FILES, AND/OR
652
- * SOFTWARE, YOU UNEQUIVOCALLY ACCEPT, AND AGREE TO BE BOUND BY, ALL OF THE
653
- * TERMS AND CONDITIONS OF THIS AGREEMENT. IF YOU DO NOT AGREE, DO NOT
654
- * DOWNLOAD, INSTALL, COPY, DISTRIBUTE OR USE THE DATA FILES OR SOFTWARE.
655
- *
656
- * Permission is hereby granted, free of charge, to any person obtaining a
657
- * copy of data files and any associated documentation (the "Data Files") or
658
- * software and any associated documentation (the "Software") to deal in the
659
- * Data Files or Software without restriction, including without limitation
660
- * the rights to use, copy, modify, merge, publish, distribute, and/or sell
661
- * copies of the Data Files or Software, and to permit persons to whom the
662
- * Data Files or Software are furnished to do so, provided that either (a)
663
- * this copyright and permission notice appear with all copies of the Data
664
- * Files or Software, or (b) this copyright and permission notice appear in
665
- * associated Documentation.
666
- *
667
- * THE DATA FILES AND SOFTWARE ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY
668
- * KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
669
- * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF
670
- * THIRD PARTY RIGHTS.
671
- *
672
- * IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS INCLUDED IN THIS NOTICE
673
- * BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT OR CONSEQUENTIAL DAMAGES,
674
- * OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
675
- * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
676
- * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THE DATA
677
- * FILES OR SOFTWARE.
678
- *
679
- * Except as contained in this notice, the name of a copyright holder shall
680
- * not be used in advertising or otherwise to promote the sale, use or other
681
- * dealings in these Data Files or Software without prior written
682
- * authorization of the copyright holder.
683
- */