@poe-platform/safe-bash 0.1.814 → 0.1.816

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 (602) hide show
  1. package/dist/image-ast/index.js +1 -1
  2. package/dist/mp4-ast/codecs.d.ts +3 -0
  3. package/dist/mp4-ast/esds-source.d.ts +7 -0
  4. package/dist/mp4-ast/index.d.ts +6 -1
  5. package/dist/mp4-ast/mp4-codec-metadata.d.ts +48 -0
  6. package/dist/mp4-ast/mp4-codec-source.d.ts +8 -0
  7. package/dist/mp4-ast/mp4-fragment-source.d.ts +35 -0
  8. package/dist/mp4-ast/mp4-packets-source.d.ts +11 -0
  9. package/dist/mp4-ast/mp4-sample-source.d.ts +5 -2
  10. package/dist/mp4-ast/types.d.ts +11 -0
  11. package/dist/pdf-ast/ast.d.ts +6 -0
  12. package/dist/pdf-ast/content/evaluator.d.ts +4 -1
  13. package/dist/pdf-ast/content/stored-dictionary.d.ts +15 -1
  14. package/dist/pdf-ast/content/stored-record.d.ts +6 -0
  15. package/dist/pdf-ast/cos/object-reader.d.ts +3 -2
  16. package/dist/pdf-ast/cos/retained-writer.d.ts +1 -0
  17. package/dist/pdf-ast/cos/value-parser.d.ts +5 -0
  18. package/dist/pdf-ast/edit/forms.d.ts +1 -0
  19. package/dist/pdf-ast/edit/retained-form-data.d.ts +9 -0
  20. package/dist/pdf-ast/edit/retained-graph.d.ts +1 -0
  21. package/dist/pdf-ast/edit/retained-page-copy.d.ts +10 -0
  22. package/dist/pdf-ast/extract/images.d.ts +2 -1
  23. package/dist/pdf-ast/fonts/resolve.d.ts +1 -0
  24. package/dist/pdf-ast/index.d.ts +3 -0
  25. package/dist/pdf-ast/index.js +1563 -373
  26. package/dist/pdf-ast/render/raster.d.ts +14 -0
  27. package/dist/pdf-ast/render/svg-image-stream.d.ts +6 -0
  28. package/dist/pdf-ast/render/svg-path-stream.d.ts +15 -0
  29. package/dist/pdf-ast/retained-document.d.ts +1 -1
  30. package/dist/safe-bash/chunks/{chunk-I6ECNJMR.js → chunk-AXGI5JVL.js} +1 -1
  31. package/dist/safe-bash/chunks/{chunk-TPG55BAQ.js → chunk-FQRI5AS5.js} +1 -1
  32. package/dist/safe-bash/chunks/{chunk-TWWGAW4M.js → chunk-HD6DWOAC.js} +1 -1
  33. package/dist/safe-bash/chunks/{chunk-5JCZEXEM.js → chunk-SXSEF5E2.js} +12 -7
  34. package/dist/safe-bash/command-chunks/biff-UBP2BZLK-JPODPKS3.js +5448 -0
  35. package/dist/safe-bash/command-chunks/{chunk-S7HIOT7Z.js → chunk-26JE5JEB.js} +4 -4
  36. package/dist/safe-bash/command-chunks/{chunk-AG2SNMP5.js → chunk-2ALHVXEM.js} +2 -2
  37. package/dist/safe-bash/command-chunks/{chunk-4YLACJHE.js → chunk-2IMIKROX.js} +6 -6
  38. package/dist/safe-bash/command-chunks/{chunk-MYZ46FQL.js → chunk-2QZUAZTH.js} +1 -1
  39. package/dist/safe-bash/command-chunks/{chunk-YAD7EV4N.js → chunk-2TWXRJPB.js} +11 -11
  40. package/dist/safe-bash/command-chunks/{chunk-NYFYTL5G.js → chunk-345YBIHP.js} +27 -27
  41. package/dist/safe-bash/command-chunks/{chunk-3MG5EAMX.js → chunk-35DU6I2M.js} +5 -5
  42. package/dist/safe-bash/command-chunks/{chunk-FSVJ67G5.js → chunk-3DWFXESW.js} +2 -2
  43. package/dist/safe-bash/command-chunks/{chunk-TKCUGMRZ.js → chunk-3K5CVXUV.js} +18 -18
  44. package/dist/safe-bash/command-chunks/{chunk-6LPSKLLD.js → chunk-3MUFXGA2.js} +3 -3
  45. package/dist/safe-bash/command-chunks/{chunk-AVGXFWEB.js → chunk-3PM46VWH.js} +191 -70
  46. package/dist/safe-bash/command-chunks/{chunk-6QYSF7I2.js → chunk-3ZWFE4CK.js} +7 -7
  47. package/dist/safe-bash/command-chunks/{chunk-LAPOMHGY.js → chunk-45DKGZYO.js} +857 -424
  48. package/dist/safe-bash/command-chunks/{chunk-SW37YCBW.js → chunk-4772DJKS.js} +54 -36
  49. package/dist/safe-bash/command-chunks/{chunk-FOONI6BD.js → chunk-4ABR3KGK.js} +7 -7
  50. package/dist/safe-bash/command-chunks/{chunk-7KZ5LWV2.js → chunk-4IDV763L.js} +1 -1
  51. package/dist/safe-bash/command-chunks/{chunk-FGGHYUWR.js → chunk-4QEJPP3K.js} +102 -7
  52. package/dist/safe-bash/command-chunks/{chunk-RV5AGXOV.js → chunk-4X2MPZXW.js} +2 -2
  53. package/dist/safe-bash/command-chunks/{chunk-LNTEV56A.js → chunk-4YFTJS5U.js} +2 -2
  54. package/dist/safe-bash/command-chunks/{chunk-6XES7Z4G.js → chunk-57PK2QFX.js} +12 -12
  55. package/dist/safe-bash/command-chunks/{chunk-42MEXZBJ.js → chunk-5GDF5FAS.js} +1 -1
  56. package/dist/safe-bash/command-chunks/{chunk-BS3ZEQGT.js → chunk-5KZMR6AJ.js} +18 -16
  57. package/dist/safe-bash/command-chunks/{chunk-ZU2KJMXO.js → chunk-5MNQTHED.js} +10 -10
  58. package/dist/safe-bash/command-chunks/{chunk-W25EIKDJ.js → chunk-5NC2IQMQ.js} +1 -1
  59. package/dist/safe-bash/command-chunks/{chunk-KY4LCHUF.js → chunk-5O45KGW5.js} +1 -1
  60. package/dist/safe-bash/command-chunks/{chunk-GYM5ICK4.js → chunk-5V7WIQ2D.js} +7 -7
  61. package/dist/safe-bash/command-chunks/{chunk-3JM7E42I.js → chunk-5XUWGUGN.js} +114 -35
  62. package/dist/safe-bash/command-chunks/{chunk-SUTHGUD3.js → chunk-5YL453ZF.js} +34 -34
  63. package/dist/safe-bash/command-chunks/{chunk-IHXZMAMY.js → chunk-62RG3GHF.js} +6 -6
  64. package/dist/safe-bash/command-chunks/{chunk-P2LT6TGR.js → chunk-6EZWG56T.js} +9 -9
  65. package/dist/safe-bash/command-chunks/{chunk-CCMAHM3I.js → chunk-6JGICYHP.js} +2 -2
  66. package/dist/safe-bash/command-chunks/{chunk-AWPI4DZR.js → chunk-6KJDTKE4.js} +3 -3
  67. package/dist/safe-bash/command-chunks/{chunk-FUQMEUAT.js → chunk-6M3JTPKE.js} +8 -8
  68. package/dist/safe-bash/command-chunks/{chunk-H33D4R26.js → chunk-6RLWPB44.js} +4 -4
  69. package/dist/safe-bash/command-chunks/{chunk-3GRMU7TM.js → chunk-6W4RMBFH.js} +6 -6
  70. package/dist/safe-bash/command-chunks/{chunk-RIVKF77R.js → chunk-6YF2QADH.js} +6 -6
  71. package/dist/safe-bash/command-chunks/{chunk-LEO4VRIN.js → chunk-77ROD2TR.js} +5 -5
  72. package/dist/safe-bash/command-chunks/{chunk-XNGM3W5R.js → chunk-7B2MHKIW.js} +1 -1
  73. package/dist/safe-bash/command-chunks/{chunk-RFMHNTTF.js → chunk-7OCTMVYJ.js} +1 -1
  74. package/dist/safe-bash/command-chunks/{chunk-DBLQUZGN.js → chunk-7PYDVQPB.js} +2 -2
  75. package/dist/safe-bash/command-chunks/{chunk-AM5LANIE.js → chunk-A2L3U7DW.js} +7 -7
  76. package/dist/safe-bash/command-chunks/{chunk-UYGQEQIP.js → chunk-A4P37F3P.js} +5 -5
  77. package/dist/safe-bash/command-chunks/{chunk-ADHFF2IM.js → chunk-A5SPMSKD.js} +9 -9
  78. package/dist/safe-bash/command-chunks/{chunk-ENEIE44W.js → chunk-A6OTPNNI.js} +3 -3
  79. package/dist/safe-bash/command-chunks/chunk-AF2IO57Q.js +733 -0
  80. package/dist/safe-bash/command-chunks/{chunk-AFPXADZG.js → chunk-AHD3CGAY.js} +4 -4
  81. package/dist/safe-bash/command-chunks/{chunk-VT7UBPAE.js → chunk-ALD53QFL.js} +89 -30
  82. package/dist/safe-bash/command-chunks/{chunk-4B2ZUGLT.js → chunk-ARE267HR.js} +5 -5
  83. package/dist/safe-bash/command-chunks/{chunk-OTF2AJ5M.js → chunk-AYQPJQJR.js} +6 -6
  84. package/dist/safe-bash/command-chunks/{chunk-2VVJRVYM.js → chunk-B6XTAKKQ.js} +1 -1
  85. package/dist/safe-bash/command-chunks/{chunk-GCHB7VNX.js → chunk-BIJW6QWB.js} +17 -17
  86. package/dist/safe-bash/command-chunks/{chunk-OVEPYULA.js → chunk-BKK4MS3V.js} +1 -1
  87. package/dist/safe-bash/command-chunks/{chunk-3EB2FSAN.js → chunk-BOVDUJ3A.js} +7 -7
  88. package/dist/safe-bash/command-chunks/{chunk-SEPUP6TZ.js → chunk-BSTABZIK.js} +1 -1
  89. package/dist/safe-bash/command-chunks/{chunk-ATHHWPSE.js → chunk-BZRWZ6GO.js} +1 -1
  90. package/dist/safe-bash/command-chunks/{chunk-5BIQWWLB.js → chunk-CFMJXJS5.js} +1 -1
  91. package/dist/safe-bash/command-chunks/{chunk-BZMNC7Q5.js → chunk-CGJ7GMHO.js} +7 -7
  92. package/dist/safe-bash/command-chunks/{chunk-RGDOYWOD.js → chunk-CHZE6FNT.js} +2 -2
  93. package/dist/safe-bash/command-chunks/{chunk-V7E3PZOK.js → chunk-CKA7ZROU.js} +7 -7
  94. package/dist/safe-bash/command-chunks/{chunk-MEM2ZPMI.js → chunk-CKIXC7AO.js} +3 -3
  95. package/dist/safe-bash/command-chunks/{chunk-Y54L4P4J.js → chunk-CORUUCS2.js} +5 -5
  96. package/dist/safe-bash/command-chunks/{chunk-FF7UGJWS.js → chunk-DBZCTL7C.js} +150 -35
  97. package/dist/safe-bash/command-chunks/{chunk-6ZGCKUAM.js → chunk-DIRK47GT.js} +1 -1
  98. package/dist/safe-bash/command-chunks/{chunk-WYZG3DRR.js → chunk-DM5WURQL.js} +2 -2
  99. package/dist/safe-bash/command-chunks/{chunk-EBHOZIBS.js → chunk-DOVWHVHI.js} +6 -6
  100. package/dist/safe-bash/command-chunks/{chunk-GQGMQMIM.js → chunk-DXOXUKQB.js} +248 -6
  101. package/dist/safe-bash/command-chunks/{chunk-JR3Q6QNL.js → chunk-DZOKH5BL.js} +7 -7
  102. package/dist/safe-bash/command-chunks/{chunk-K4XNUJVJ.js → chunk-E22EAYJN.js} +197 -171
  103. package/dist/safe-bash/command-chunks/{chunk-3EASXF5D.js → chunk-E4TF5W6O.js} +2 -2
  104. package/dist/safe-bash/command-chunks/{chunk-MLOYUXUV.js → chunk-EJ4UP7DA.js} +31 -9
  105. package/dist/safe-bash/command-chunks/{chunk-USGZN2KE.js → chunk-ENMJHB2C.js} +5 -5
  106. package/dist/safe-bash/command-chunks/{chunk-ZSQZHFWS.js → chunk-ERWIJYCS.js} +7 -7
  107. package/dist/safe-bash/command-chunks/{chunk-S2QNBAN6.js → chunk-ET6LMDEX.js} +12 -12
  108. package/dist/safe-bash/command-chunks/{chunk-6XGDWFNQ.js → chunk-EWC56JNI.js} +5 -5
  109. package/dist/safe-bash/command-chunks/{chunk-EQWFKNHJ.js → chunk-EZDWPTYB.js} +19 -19
  110. package/dist/safe-bash/command-chunks/{chunk-CQBACD2V.js → chunk-F2NF6FHV.js} +2 -2
  111. package/dist/safe-bash/command-chunks/{chunk-NFII726L.js → chunk-FAU2KL6I.js} +2 -2
  112. package/dist/safe-bash/command-chunks/{chunk-4EHY6J2Z.js → chunk-FB2WPI3M.js} +5 -5
  113. package/dist/safe-bash/command-chunks/{chunk-2PKBXGXD.js → chunk-FEBTT5NH.js} +5 -5
  114. package/dist/safe-bash/command-chunks/chunk-FGARVKAX.js +704 -0
  115. package/dist/safe-bash/command-chunks/{chunk-N4MUBJCT.js → chunk-FGHSE3RZ.js} +1 -1
  116. package/dist/safe-bash/command-chunks/{chunk-WBKB7HBZ.js → chunk-FHQOFEQK.js} +8 -8
  117. package/dist/safe-bash/command-chunks/{chunk-3ZRCL756.js → chunk-FJLSYX5P.js} +7 -7
  118. package/dist/safe-bash/command-chunks/{chunk-PMWW7KSB.js → chunk-FJSD43VF.js} +1 -1
  119. package/dist/safe-bash/command-chunks/{chunk-XKAUKLF7.js → chunk-FLSXHLJG.js} +9 -9
  120. package/dist/safe-bash/command-chunks/{chunk-3EW7GYHM.js → chunk-FR63MJSO.js} +7 -7
  121. package/dist/safe-bash/command-chunks/{chunk-NRFTYZ2R.js → chunk-FUYZUETI.js} +6 -6
  122. package/dist/safe-bash/command-chunks/{chunk-JUHOL5KB.js → chunk-G3FK5VVG.js} +1 -1
  123. package/dist/safe-bash/command-chunks/{chunk-4UPKVQWH.js → chunk-G3LUT475.js} +6 -6
  124. package/dist/safe-bash/command-chunks/{chunk-Q7UZTMF4.js → chunk-GAROGIVU.js} +1 -1
  125. package/dist/safe-bash/command-chunks/{chunk-4RRYWHED.js → chunk-GMBUOYTN.js} +4 -4
  126. package/dist/safe-bash/command-chunks/{chunk-FYYFV6PW.js → chunk-GR4ONCQ5.js} +6 -6
  127. package/dist/safe-bash/command-chunks/{chunk-XTEIT5CI.js → chunk-GTOMW4VV.js} +1 -1
  128. package/dist/safe-bash/command-chunks/{chunk-OVQP6KH5.js → chunk-H56BSMFQ.js} +6 -6
  129. package/dist/safe-bash/command-chunks/{chunk-RQYPFLZJ.js → chunk-HOJ7WDTS.js} +6 -6
  130. package/dist/safe-bash/command-chunks/{chunk-BLIFGBIO.js → chunk-HOKPYTHQ.js} +2 -2
  131. package/dist/safe-bash/command-chunks/chunk-HQEYSSZV.js +152 -0
  132. package/dist/safe-bash/command-chunks/{chunk-NEMUPUUB.js → chunk-ICJH6A73.js} +7 -7
  133. package/dist/safe-bash/command-chunks/{chunk-CSE4VQKG.js → chunk-IJE65P52.js} +3 -3
  134. package/dist/safe-bash/command-chunks/{chunk-MKOIPOXX.js → chunk-IOXMGD2H.js} +3 -3
  135. package/dist/safe-bash/command-chunks/{chunk-LDW3RF7Y.js → chunk-ISFGPCED.js} +12 -12
  136. package/dist/safe-bash/command-chunks/{chunk-S43QRKDC.js → chunk-IVKAFEPO.js} +7 -7
  137. package/dist/safe-bash/command-chunks/{chunk-A347DLRB.js → chunk-IWVANZWH.js} +3 -3
  138. package/dist/safe-bash/command-chunks/{chunk-ZXELXF2H.js → chunk-IZ3SD5S2.js} +4 -4
  139. package/dist/safe-bash/command-chunks/{chunk-HGIMFVI2.js → chunk-J6FNSVHT.js} +5 -5
  140. package/dist/safe-bash/command-chunks/{chunk-GLAF45M7.js → chunk-JA36YOZI.js} +1 -1
  141. package/dist/safe-bash/command-chunks/{chunk-WHNYT34N.js → chunk-K2R7H3KO.js} +1 -1
  142. package/dist/safe-bash/command-chunks/{chunk-2ETEJOYX.js → chunk-K7VDCBXW.js} +21 -21
  143. package/dist/safe-bash/command-chunks/{chunk-CK2WFJZN.js → chunk-KASXIRKD.js} +12 -14
  144. package/dist/safe-bash/command-chunks/{chunk-CKEMZUE3.js → chunk-KDBU5Q2N.js} +6 -6
  145. package/dist/safe-bash/command-chunks/{chunk-6VBDJC6V.js → chunk-KDDXLHN7.js} +6 -6
  146. package/dist/safe-bash/command-chunks/chunk-KHUT7BB5.js +65 -0
  147. package/dist/safe-bash/command-chunks/{chunk-NEVQWOU6.js → chunk-KLAC2MIZ.js} +10 -10
  148. package/dist/safe-bash/command-chunks/{chunk-QGD64UHJ.js → chunk-KLCHCSIV.js} +1 -1
  149. package/dist/safe-bash/command-chunks/{chunk-CXME4YHU.js → chunk-KM2SMMXZ.js} +59 -201
  150. package/dist/safe-bash/command-chunks/{chunk-RHU44OMN.js → chunk-KXM3HTAF.js} +1 -1
  151. package/dist/safe-bash/command-chunks/{chunk-AVOGFREX.js → chunk-KYIGYYEY.js} +3 -3
  152. package/dist/safe-bash/command-chunks/{chunk-5OM3UIK3.js → chunk-L2VLASZ4.js} +3 -3
  153. package/dist/safe-bash/command-chunks/{chunk-Z7QOSXQC.js → chunk-LECGQSQW.js} +7 -7
  154. package/dist/safe-bash/command-chunks/{chunk-RXQ2G2YK.js → chunk-LFSWLJPR.js} +9 -9
  155. package/dist/safe-bash/command-chunks/{chunk-OSYY6E23.js → chunk-LJ3UYESS.js} +1 -1
  156. package/dist/safe-bash/command-chunks/{chunk-MVLVIMJ6.js → chunk-LMLBQSAM.js} +6 -6
  157. package/dist/safe-bash/command-chunks/{chunk-MGMTRGKM.js → chunk-LNAZ3E4Q.js} +4 -4
  158. package/dist/safe-bash/command-chunks/{chunk-WJ2ERUCQ.js → chunk-LNKZVU5V.js} +1 -1
  159. package/dist/safe-bash/command-chunks/{chunk-WWHMI4S3.js → chunk-LQDANF2B.js} +8 -8
  160. package/dist/safe-bash/command-chunks/{chunk-CIRDVCAZ.js → chunk-LQX7RAF7.js} +7 -7
  161. package/dist/safe-bash/command-chunks/{chunk-SWAKALDJ.js → chunk-LT2YCGC5.js} +10 -10
  162. package/dist/safe-bash/command-chunks/{chunk-Y7AXMCFV.js → chunk-LZY46GYY.js} +8 -8
  163. package/dist/safe-bash/command-chunks/{chunk-VT2PHQ63.js → chunk-MDFNUNK5.js} +15 -15
  164. package/dist/safe-bash/command-chunks/{chunk-YP3WWV5N.js → chunk-MN3BB4WW.js} +4 -4
  165. package/dist/safe-bash/command-chunks/{chunk-WTVJLHMG.js → chunk-MOUCMZZP.js} +1 -1
  166. package/dist/safe-bash/command-chunks/{chunk-IB5QP4LF.js → chunk-MQE77MEQ.js} +3 -3
  167. package/dist/safe-bash/command-chunks/{chunk-FSYMSWJU.js → chunk-MUTARE5I.js} +6 -6
  168. package/dist/safe-bash/command-chunks/{chunk-F762XDNG.js → chunk-MZYQKH26.js} +3 -3
  169. package/dist/safe-bash/command-chunks/{chunk-N6G3345Q.js → chunk-N32AP43V.js} +7 -7
  170. package/dist/safe-bash/command-chunks/{chunk-XU6S3XUZ.js → chunk-N35IJXBK.js} +9 -9
  171. package/dist/safe-bash/command-chunks/{chunk-EVYKV3QI.js → chunk-N3ZH4YYH.js} +3 -3
  172. package/dist/safe-bash/command-chunks/{chunk-VUWXLH3E.js → chunk-N4HWOLGZ.js} +2 -2
  173. package/dist/safe-bash/command-chunks/{chunk-G3TAX3CV.js → chunk-N5J3IZZK.js} +8124 -7200
  174. package/dist/safe-bash/command-chunks/{chunk-W3ZSWK76.js → chunk-NCNHJRIY.js} +8 -8
  175. package/dist/safe-bash/command-chunks/{chunk-FXCSPPYE.js → chunk-NDALIHKK.js} +20 -20
  176. package/dist/safe-bash/command-chunks/{chunk-BS5JEUEW.js → chunk-NKK76B4V.js} +8 -8
  177. package/dist/safe-bash/command-chunks/{chunk-4EZJV4FZ.js → chunk-NLCUQD7Y.js} +1 -1
  178. package/dist/safe-bash/command-chunks/{chunk-RHDERFMR.js → chunk-O2HNOQQG.js} +5 -5
  179. package/dist/safe-bash/command-chunks/{chunk-G2COZLXX.js → chunk-OBIXFO25.js} +10 -10
  180. package/dist/safe-bash/command-chunks/{chunk-47IAU25U.js → chunk-OCV5ZU35.js} +3 -3
  181. package/dist/safe-bash/command-chunks/{chunk-3YEQI5B7.js → chunk-OFDJJRAD.js} +9 -9
  182. package/dist/safe-bash/command-chunks/{chunk-VDTFVRYX.js → chunk-OFONWWEZ.js} +2 -2
  183. package/dist/safe-bash/command-chunks/{chunk-F4YFTO2K.js → chunk-OHEZQ4QA.js} +9 -9
  184. package/dist/safe-bash/command-chunks/{chunk-JW6WVNTM.js → chunk-OIHQXURE.js} +1 -1
  185. package/dist/safe-bash/command-chunks/{chunk-ZTMZO4IT.js → chunk-ONQP4FNV.js} +1 -1
  186. package/dist/safe-bash/command-chunks/{chunk-K2WOMJOQ.js → chunk-OVUY46QF.js} +1 -1
  187. package/dist/safe-bash/command-chunks/{chunk-DGBQ7QDE.js → chunk-OWCBX5M2.js} +1 -1
  188. package/dist/safe-bash/command-chunks/{chunk-LKGTH2Q7.js → chunk-P462JTNT.js} +5 -5
  189. package/dist/safe-bash/command-chunks/{chunk-5LFGXN3D.js → chunk-P4OWVKMD.js} +6 -6
  190. package/dist/safe-bash/command-chunks/{chunk-46AMTJPE.js → chunk-POGVOCOB.js} +8 -8
  191. package/dist/safe-bash/command-chunks/{chunk-PLMF35XK.js → chunk-PPN53PX3.js} +4 -4
  192. package/dist/safe-bash/command-chunks/{chunk-V5XC43BX.js → chunk-PRO7JOIH.js} +8 -8
  193. package/dist/safe-bash/command-chunks/{chunk-UJERQEJB.js → chunk-PU5DMQGG.js} +1 -1
  194. package/dist/safe-bash/command-chunks/{chunk-IWHNRYER.js → chunk-Q65GWGQR.js} +3 -3
  195. package/dist/safe-bash/command-chunks/{chunk-BLGGAHQW.js → chunk-QCIAX6HZ.js} +1 -1
  196. package/dist/safe-bash/command-chunks/{chunk-ET5SFGRH.js → chunk-QDV2NIFR.js} +1 -1
  197. package/dist/safe-bash/command-chunks/{chunk-Y42KSX63.js → chunk-QMBMZSJF.js} +6 -6
  198. package/dist/safe-bash/command-chunks/{chunk-KUOCGGEU.js → chunk-QNETPOMH.js} +6 -5
  199. package/dist/safe-bash/command-chunks/{chunk-QB72X7FF.js → chunk-QNX5LZBK.js} +7 -7
  200. package/dist/safe-bash/command-chunks/{chunk-LZ2JFMKT.js → chunk-QOKFSYD5.js} +9 -9
  201. package/dist/safe-bash/command-chunks/{chunk-7DOLY7IV.js → chunk-R7LF4XQV.js} +2 -2
  202. package/dist/safe-bash/command-chunks/{chunk-PIVH35EQ.js → chunk-RINR7XPR.js} +37 -10
  203. package/dist/safe-bash/command-chunks/{chunk-MPXMRTMY.js → chunk-ROQ3VNVX.js} +8 -8
  204. package/dist/safe-bash/command-chunks/{chunk-6WNVGCXD.js → chunk-RRAQII52.js} +5 -5
  205. package/dist/safe-bash/command-chunks/{chunk-2BNGPR6Z.js → chunk-RTHYAGKI.js} +2 -2
  206. package/dist/safe-bash/command-chunks/chunk-RTKDZBJS.js +816 -0
  207. package/dist/safe-bash/command-chunks/{chunk-JVKE7YZN.js → chunk-RVWIEXR7.js} +4 -4
  208. package/dist/safe-bash/command-chunks/{chunk-XM5QJCPD.js → chunk-S5ER73EA.js} +8 -8
  209. package/dist/safe-bash/command-chunks/{chunk-YRPXBGRX.js → chunk-SBXS4S6Y.js} +3 -3
  210. package/dist/safe-bash/command-chunks/{chunk-HI6ZYH3W.js → chunk-SHLT5R64.js} +9 -9
  211. package/dist/safe-bash/command-chunks/{chunk-Q5PWYPQV.js → chunk-SICTBSLW.js} +7 -7
  212. package/dist/safe-bash/command-chunks/{chunk-AXXZNB7U.js → chunk-SL4LD25A.js} +9 -9
  213. package/dist/safe-bash/command-chunks/{chunk-JGKSWDGP.js → chunk-SNA2LVBX.js} +1 -1
  214. package/dist/safe-bash/command-chunks/{chunk-TXPDKEGY.js → chunk-SWIF6BBY.js} +8 -8
  215. package/dist/safe-bash/command-chunks/{chunk-PS5GDFIP.js → chunk-T2FRXSQT.js} +2 -2
  216. package/dist/safe-bash/command-chunks/{chunk-HELAVGZH.js → chunk-T4SEQU66.js} +3 -3
  217. package/dist/safe-bash/command-chunks/{chunk-3SPLP2DB.js → chunk-T5OQ53XS.js} +1 -1
  218. package/dist/safe-bash/command-chunks/{chunk-KBAQHE5Y.js → chunk-TG2RVQLP.js} +2 -2
  219. package/dist/safe-bash/command-chunks/{chunk-CZ5K2YPU.js → chunk-TXU7MMHN.js} +24 -24
  220. package/dist/safe-bash/command-chunks/{chunk-TYPS5MOU.js → chunk-TXWDR2P4.js} +1 -1
  221. package/dist/safe-bash/command-chunks/{chunk-ETXPMVR6.js → chunk-TY7JXEWI.js} +11 -11
  222. package/dist/safe-bash/command-chunks/{chunk-X6OHFKBL.js → chunk-U42WHQRH.js} +8 -8
  223. package/dist/safe-bash/command-chunks/{chunk-Z2WNYEPD.js → chunk-UFLMOU3B.js} +4 -4
  224. package/dist/safe-bash/command-chunks/{chunk-2BLTUQNK.js → chunk-UJYXSLM6.js} +2 -2
  225. package/dist/safe-bash/command-chunks/{chunk-Q7TVCBU2.js → chunk-UKAGRRLZ.js} +1 -1
  226. package/dist/safe-bash/command-chunks/{chunk-4GQKCUS5.js → chunk-UPWLHHZ2.js} +13 -13
  227. package/dist/safe-bash/command-chunks/{chunk-5L4YGRQU.js → chunk-URQSUMMJ.js} +4 -4
  228. package/dist/safe-bash/command-chunks/{chunk-KPHLESD4.js → chunk-UT5X6QRU.js} +5 -5
  229. package/dist/safe-bash/command-chunks/{chunk-T5S4SJGO.js → chunk-V6JPIZUW.js} +7 -7
  230. package/dist/safe-bash/command-chunks/{chunk-MKK6FM5H.js → chunk-VMZIAFVJ.js} +11 -11
  231. package/dist/safe-bash/command-chunks/{chunk-HK6MSB7Z.js → chunk-VNNNVT4C.js} +5 -5
  232. package/dist/safe-bash/command-chunks/{chunk-ROL5AEX6.js → chunk-VVV45NLY.js} +1 -1
  233. package/dist/safe-bash/command-chunks/chunk-VVWHFNHD.js +502 -0
  234. package/dist/safe-bash/command-chunks/{chunk-KCLJGRU7.js → chunk-VZTVR3JI.js} +12 -12
  235. package/dist/safe-bash/command-chunks/{chunk-PLR5IULU.js → chunk-WDVPHDBH.js} +5 -5
  236. package/dist/safe-bash/command-chunks/{chunk-MNK3DDH6.js → chunk-WH624PKJ.js} +2 -2
  237. package/dist/safe-bash/command-chunks/{chunk-TJLXSENN.js → chunk-WHZ6XK7Y.js} +1 -1
  238. package/dist/safe-bash/command-chunks/{chunk-DN6MSXY7.js → chunk-WIW3KDBS.js} +2 -2
  239. package/dist/safe-bash/command-chunks/{chunk-GXMPXMDP.js → chunk-WMBELKPP.js} +11 -11
  240. package/dist/safe-bash/command-chunks/{chunk-NHNZYWPW.js → chunk-WMV5224N.js} +3 -3
  241. package/dist/safe-bash/command-chunks/{chunk-RTNI47C5.js → chunk-WOL3LBXE.js} +4 -4
  242. package/dist/safe-bash/command-chunks/{chunk-7SOE7XIS.js → chunk-WVD5WZXD.js} +5 -5
  243. package/dist/safe-bash/command-chunks/{chunk-XMTR7QGL.js → chunk-X42MJT2J.js} +4 -4
  244. package/dist/safe-bash/command-chunks/{chunk-XUJAQA3S.js → chunk-XBWD6SI3.js} +33 -33
  245. package/dist/safe-bash/command-chunks/{chunk-ZQM37BGE.js → chunk-XFIDOCYH.js} +2 -2
  246. package/dist/safe-bash/command-chunks/{chunk-IBYMPAUW.js → chunk-XPQUUFQD.js} +2 -2
  247. package/dist/safe-bash/command-chunks/{chunk-NQINS4XY.js → chunk-XVEI4HZL.js} +1 -1
  248. package/dist/safe-bash/command-chunks/{chunk-KSBNZTAZ.js → chunk-YKODRSGT.js} +6 -6
  249. package/dist/safe-bash/command-chunks/{chunk-WZRFS5OY.js → chunk-YXR4JE4U.js} +4 -4
  250. package/dist/safe-bash/command-chunks/{chunk-DCMSPMMD.js → chunk-Z7UIOPHJ.js} +1 -1
  251. package/dist/safe-bash/command-chunks/{chunk-AY3KQ4EN.js → chunk-ZAYTFXUX.js} +7 -7
  252. package/dist/safe-bash/command-chunks/{chunk-DZH54L3F.js → chunk-ZM7HMBAJ.js} +10 -10
  253. package/dist/safe-bash/command-chunks/{chunk-NFGCBQN3.js → chunk-ZNCPIZCN.js} +2 -2
  254. package/dist/safe-bash/command-chunks/{chunk-HKGNBH7Z.js → chunk-ZRHKXN6W.js} +4 -4
  255. package/dist/safe-bash/command-chunks/{chunk-A45UG4KT.js → chunk-ZZERSKAR.js} +5 -5
  256. package/dist/safe-bash/command-chunks/{clipboard-BBDK33GP-QZ4ERNQX.js → clipboard-BBDK33GP-VB22F7GI.js} +2 -2
  257. package/dist/safe-bash/command-chunks/{command-engine-7V6PZR7G.js → command-engine-GHE6QUHU.js} +63 -23
  258. package/dist/safe-bash/command-chunks/{engine-UYJENSWK-VSCGKSQV.js → engine-RG6HQCCB-FXYZS264.js} +1 -1
  259. package/dist/safe-bash/command-chunks/{gnumeric-UJPXWBVR-7VOHQAPM.js → gnumeric-UJPXWBVR-YPXTNEDZ.js} +2 -2
  260. package/dist/safe-bash/command-chunks/model-store-I7YAWL5V.js +54 -0
  261. package/dist/safe-bash/command-chunks/{xlsx-RE54MFCS-DI3F765V.js → xlsx-RE54MFCS-IQ6OXXKK.js} +1 -1
  262. package/dist/safe-bash/commands/bc/index.browser.js +1 -1
  263. package/dist/safe-bash/full-core.browser.js +4 -4
  264. package/dist/safe-bash/plugins/index.browser.js +3 -3
  265. package/dist/safe-bash/registry-entry.browser.js +2 -2
  266. package/dist/safe-bash/search.browser.js +1 -1
  267. package/dist/safe-bash/shell/runtime.d.ts +1 -0
  268. package/dist/safe-bash/shell/runtime.js +12 -3
  269. package/dist/safe-bash/shell/sync-extra-evaluators.js +7 -4
  270. package/dist/safe-bash/shell-entry.browser.js +2 -2
  271. package/dist/safe-bash-command-awk/awk-runtime.js +3 -3
  272. package/dist/safe-bash-command-awk/awk.js +4 -4
  273. package/dist/safe-bash-command-awk/index.js +4 -4
  274. package/dist/safe-bash-command-cp/index.js +3 -3
  275. package/dist/safe-bash-command-csvkit/index.js +1 -1
  276. package/dist/safe-bash-command-diff/diff.js +2 -2
  277. package/dist/safe-bash-command-diff/index.js +3 -3
  278. package/dist/safe-bash-command-diff/sync.js +2 -2
  279. package/dist/safe-bash-command-factor/command.js +2 -2
  280. package/dist/safe-bash-command-factor/index.js +2 -2
  281. package/dist/safe-bash-command-ffmpeg/index.js +1 -1
  282. package/dist/safe-bash-command-ffprobe/index.js +2 -2
  283. package/dist/safe-bash-command-ffprobe/media.d.ts +12 -2
  284. package/dist/safe-bash-command-ffprobe/media.js +4 -2
  285. package/dist/safe-bash-command-getopt/command.js +2 -2
  286. package/dist/safe-bash-command-getopt/index.js +2 -2
  287. package/dist/safe-bash-command-html-to-markdown/index.js +51 -813
  288. package/dist/safe-bash-command-html-to-markdown/stored-destination.d.ts +8 -0
  289. package/dist/safe-bash-command-html-to-markdown/stored-destination.js +10 -0
  290. package/dist/safe-bash-command-html-to-markdown/stored-text.d.ts +4 -1
  291. package/dist/safe-bash-command-html-to-markdown/stored-text.js +1 -1
  292. package/dist/safe-bash-command-htmlq/index.js +1280 -419
  293. package/dist/safe-bash-command-iconv/command.js +2 -2
  294. package/dist/safe-bash-command-iconv/index.js +2 -2
  295. package/dist/safe-bash-command-llm/index.js +2 -2
  296. package/dist/safe-bash-command-llm/openai.js +2 -2
  297. package/dist/safe-bash-command-llm/providers/index.js +2 -2
  298. package/dist/safe-bash-command-llm/providers/openai.js +2 -2
  299. package/dist/safe-bash-command-node/commands/node/browser.js +4 -4
  300. package/dist/safe-bash-command-node/commands/node/default-runtime.js +4 -4
  301. package/dist/safe-bash-command-node/commands/node/safejs.js +4 -4
  302. package/dist/safe-bash-command-pandoc/command.js +10 -9
  303. package/dist/safe-bash-command-pandoc/index.js +60 -59
  304. package/dist/safe-bash-command-patch/index.js +8 -7
  305. package/dist/safe-bash-command-patch/patch-formats.d.ts +6 -5
  306. package/dist/safe-bash-command-patch/patch-formats.js +3 -2
  307. package/dist/safe-bash-command-patch/patch-gnu-paths.d.ts +7 -7
  308. package/dist/safe-bash-command-patch/patch-gnu-reject.d.ts +1 -1
  309. package/dist/safe-bash-command-patch/patch-gnu-reject.js +3 -2
  310. package/dist/safe-bash-command-patch/patch-publication.js +3 -2
  311. package/dist/safe-bash-command-patch/patch-text.d.ts +13 -0
  312. package/dist/safe-bash-command-patch/patch.js +7 -6
  313. package/dist/safe-bash-command-patch/stored-patch.d.ts +32 -6
  314. package/dist/safe-bash-command-patch/stored-target.d.ts +2 -1
  315. package/dist/safe-bash-command-patch/unified.d.ts +22 -8
  316. package/dist/safe-bash-command-patch/unified.js +2 -1
  317. package/dist/safe-bash-command-pdftk/index.js +45 -122
  318. package/dist/safe-bash-command-pdftoppm/index.js +131 -27
  319. package/dist/safe-bash-command-playwright-cli/index.js +12 -12
  320. package/dist/safe-bash-command-playwright-cli/playwright/abilities.js +1 -1
  321. package/dist/safe-bash-command-playwright-cli/playwright/capability-events.js +1 -1
  322. package/dist/safe-bash-command-playwright-cli/playwright/capability-result.js +1 -1
  323. package/dist/safe-bash-command-playwright-cli/playwright/controller.js +7 -7
  324. package/dist/safe-bash-command-playwright-cli/playwright/download-capabilities.js +1 -1
  325. package/dist/safe-bash-command-playwright-cli/playwright/drop-capability.js +1 -1
  326. package/dist/safe-bash-command-playwright-cli/playwright/index.js +12 -12
  327. package/dist/safe-bash-command-playwright-cli/playwright/modal-capabilities.js +1 -1
  328. package/dist/safe-bash-command-playwright-cli/playwright/native-evaluation.js +1 -1
  329. package/dist/safe-bash-command-playwright-cli/playwright/native-json-snapshot.js +1 -1
  330. package/dist/safe-bash-command-playwright-cli/playwright/native-snapshot.js +1 -1
  331. package/dist/safe-bash-command-playwright-cli/playwright/open-options.js +2 -2
  332. package/dist/safe-bash-command-playwright-cli/playwright/profile.js +3 -3
  333. package/dist/safe-bash-command-playwright-cli/playwright/recording-capabilities.js +1 -1
  334. package/dist/safe-bash-command-playwright-cli/playwright/route-capabilities.js +1 -1
  335. package/dist/safe-bash-command-playwright-cli/playwright/snapshot.js +3 -3
  336. package/dist/safe-bash-command-playwright-cli/playwright/standard-capabilities.js +1 -1
  337. package/dist/safe-bash-command-playwright-cli/playwright/storage-capabilities.js +1 -1
  338. package/dist/safe-bash-command-playwright-cli/playwright/tracing-capabilities.js +1 -1
  339. package/dist/safe-bash-command-playwright-cli/playwright/webmcp-capabilities.js +1 -1
  340. package/dist/safe-bash-command-pptx/engine.js +1 -1
  341. package/dist/safe-bash-command-python/executor.js +11 -11
  342. package/dist/safe-bash-command-python/index.js +11 -11
  343. package/dist/safe-bash-command-python/jspi.js +2 -2
  344. package/dist/safe-bash-command-rg/index.js +3 -3
  345. package/dist/safe-bash-command-rg/rg-command.js +3 -3
  346. package/dist/safe-bash-command-safejs/index.js +4 -4
  347. package/dist/safe-bash-command-safejs/io.js +3 -3
  348. package/dist/safe-bash-command-safejs/render.js +2 -2
  349. package/dist/safe-bash-command-safejs/runtime.js +4 -4
  350. package/dist/safe-bash-command-soffice/index.js +5 -4
  351. package/dist/safe-bash-command-sort/index.js +3 -3
  352. package/dist/safe-bash-command-ssconvert/index.js +13 -13
  353. package/dist/safe-bash-command-tar/create.js +3 -3
  354. package/dist/safe-bash-command-tar/extract.js +3 -3
  355. package/dist/safe-bash-command-tar/index.js +7 -7
  356. package/dist/safe-bash-command-tar/modes.js +5 -5
  357. package/dist/safe-bash-command-unzip/index.js +2 -2
  358. package/dist/safe-bash-command-unzip/unzip.js +2 -2
  359. package/dist/safe-bash-command-xmllint/index.js +1 -1
  360. package/dist/safe-bash-command-xz/index.js +5 -5
  361. package/dist/safe-bash-compression-engine/files.js +5 -5
  362. package/dist/safe-bash-compression-engine/index.js +3 -3
  363. package/dist/safe-bash-compression-engine/operand.js +6 -6
  364. package/dist/safe-bash-compression-engine/stream.js +3 -3
  365. package/dist/safe-bash-compression-engine/zstd-decode.js +2 -2
  366. package/dist/safe-bash-contracts/escaping.js +3 -3
  367. package/dist/safe-bash-contracts/filesystem-output.js +3 -3
  368. package/dist/safe-bash-contracts/index.js +10 -10
  369. package/dist/safe-bash-docx-engine/ancillary-resources.js +9 -9
  370. package/dist/safe-bash-docx-engine/batch-operations.js +66 -66
  371. package/dist/safe-bash-docx-engine/batch-result-schema.js +78 -78
  372. package/dist/safe-bash-docx-engine/batch.js +77 -77
  373. package/dist/safe-bash-docx-engine/bookmarks.js +17 -17
  374. package/dist/safe-bash-docx-engine/charts.js +10 -10
  375. package/dist/safe-bash-docx-engine/command-option-rules.js +5 -5
  376. package/dist/safe-bash-docx-engine/command-properties.js +3 -3
  377. package/dist/safe-bash-docx-engine/comments.js +25 -25
  378. package/dist/safe-bash-docx-engine/control-bindings.js +20 -20
  379. package/dist/safe-bash-docx-engine/control-repeat.js +20 -20
  380. package/dist/safe-bash-docx-engine/controls.js +18 -18
  381. package/dist/safe-bash-docx-engine/create.js +10 -10
  382. package/dist/safe-bash-docx-engine/diagrams.js +10 -10
  383. package/dist/safe-bash-docx-engine/diff.js +12 -12
  384. package/dist/safe-bash-docx-engine/document-properties.js +15 -15
  385. package/dist/safe-bash-docx-engine/equations.js +16 -16
  386. package/dist/safe-bash-docx-engine/extract.js +13 -13
  387. package/dist/safe-bash-docx-engine/fields.js +22 -22
  388. package/dist/safe-bash-docx-engine/font-inventory.js +17 -17
  389. package/dist/safe-bash-docx-engine/font-resources.js +5 -5
  390. package/dist/safe-bash-docx-engine/image-batch-operations.js +13 -13
  391. package/dist/safe-bash-docx-engine/image-insertion.js +20 -20
  392. package/dist/safe-bash-docx-engine/image-layout.js +18 -18
  393. package/dist/safe-bash-docx-engine/image-replacement.js +21 -21
  394. package/dist/safe-bash-docx-engine/images.js +18 -18
  395. package/dist/safe-bash-docx-engine/index.js +113 -113
  396. package/dist/safe-bash-docx-engine/inspection.js +19 -19
  397. package/dist/safe-bash-docx-engine/invocation.js +8 -8
  398. package/dist/safe-bash-docx-engine/io.js +8 -8
  399. package/dist/safe-bash-docx-engine/links.js +20 -20
  400. package/dist/safe-bash-docx-engine/lists.js +19 -19
  401. package/dist/safe-bash-docx-engine/locations.js +14 -14
  402. package/dist/safe-bash-docx-engine/notes.js +21 -21
  403. package/dist/safe-bash-docx-engine/objects.js +18 -18
  404. package/dist/safe-bash-docx-engine/operation-json-schema.js +3 -3
  405. package/dist/safe-bash-docx-engine/operation-schema.js +2 -2
  406. package/dist/safe-bash-docx-engine/pack.js +13 -13
  407. package/dist/safe-bash-docx-engine/package-view-batch-operations.js +21 -21
  408. package/dist/safe-bash-docx-engine/pandoc-adapter.js +28 -28
  409. package/dist/safe-bash-docx-engine/paragraph-edit.js +24 -24
  410. package/dist/safe-bash-docx-engine/part-provider.js +3 -3
  411. package/dist/safe-bash-docx-engine/property-values.js +3 -3
  412. package/dist/safe-bash-docx-engine/publication.js +8 -8
  413. package/dist/safe-bash-docx-engine/removal.js +20 -20
  414. package/dist/safe-bash-docx-engine/revision-decisions.js +21 -21
  415. package/dist/safe-bash-docx-engine/revision-edit.js +19 -19
  416. package/dist/safe-bash-docx-engine/revisions.js +17 -17
  417. package/dist/safe-bash-docx-engine/run-format.js +19 -19
  418. package/dist/safe-bash-docx-engine/sanitize.js +33 -33
  419. package/dist/safe-bash-docx-engine/sections.js +18 -18
  420. package/dist/safe-bash-docx-engine/settings.js +10 -10
  421. package/dist/safe-bash-docx-engine/shape-edit.js +20 -20
  422. package/dist/safe-bash-docx-engine/signatures.js +14 -14
  423. package/dist/safe-bash-docx-engine/stories.js +21 -21
  424. package/dist/safe-bash-docx-engine/structure-model-batch-operations.js +37 -37
  425. package/dist/safe-bash-docx-engine/style-model-batch-operations.js +26 -26
  426. package/dist/safe-bash-docx-engine/style-model-result-schema.js +43 -43
  427. package/dist/safe-bash-docx-engine/styles.js +17 -17
  428. package/dist/safe-bash-docx-engine/table-edit.js +26 -26
  429. package/dist/safe-bash-docx-engine/table-read.js +15 -15
  430. package/dist/safe-bash-docx-engine/template.js +21 -21
  431. package/dist/safe-bash-docx-engine/text-replace.js +19 -19
  432. package/dist/safe-bash-docx-engine/text-resource-read.js +15 -15
  433. package/dist/safe-bash-docx-engine/text.js +15 -15
  434. package/dist/safe-bash-docx-engine/validation.js +6 -6
  435. package/dist/safe-bash-docx-engine/xml-parts.js +21 -21
  436. package/dist/safe-bash-line-ending-engine/command.js +4 -4
  437. package/dist/safe-bash-line-ending-engine/index.js +7 -7
  438. package/dist/safe-bash-markdown-engine/commonmark-blocks.js +3 -3
  439. package/dist/safe-bash-markdown-engine/commonmark-inlines.js +3 -3
  440. package/dist/safe-bash-markdown-engine/gfm-syntax.js +2 -2
  441. package/dist/safe-bash-markdown-engine/index.js +4 -4
  442. package/dist/safe-bash-network-engine/aggregate.js +3 -3
  443. package/dist/safe-bash-network-engine/args.js +3 -3
  444. package/dist/safe-bash-network-engine/body.js +4 -4
  445. package/dist/safe-bash-network-engine/decode.js +3 -3
  446. package/dist/safe-bash-network-engine/fetch-transport.js +3 -3
  447. package/dist/safe-bash-network-engine/index.js +3 -3
  448. package/dist/safe-bash-network-engine/output.js +3 -3
  449. package/dist/safe-bash-network-engine/platform-portable.js +3 -3
  450. package/dist/safe-bash-network-engine/shared.js +2 -2
  451. package/dist/safe-bash-network-engine/transfer.js +9 -9
  452. package/dist/safe-bash-presentation-engine/accessibility.js +31 -30
  453. package/dist/safe-bash-presentation-engine/animation-editing.js +16 -15
  454. package/dist/safe-bash-presentation-engine/animations.js +16 -15
  455. package/dist/safe-bash-presentation-engine/backgrounds.js +17 -16
  456. package/dist/safe-bash-presentation-engine/bytes.js +4 -3
  457. package/dist/safe-bash-presentation-engine/chart-editing.js +34 -33
  458. package/dist/safe-bash-presentation-engine/chart-object-operations.js +25 -24
  459. package/dist/safe-bash-presentation-engine/charts.js +31 -30
  460. package/dist/safe-bash-presentation-engine/command-placeholder.js +60 -58
  461. package/dist/safe-bash-presentation-engine/comments.js +17 -16
  462. package/dist/safe-bash-presentation-engine/connector-operations.js +32 -31
  463. package/dist/safe-bash-presentation-engine/connectors.js +29 -28
  464. package/dist/safe-bash-presentation-engine/content-types.js +5 -4
  465. package/dist/safe-bash-presentation-engine/creation.js +7 -6
  466. package/dist/safe-bash-presentation-engine/diff.d.ts +1 -0
  467. package/dist/safe-bash-presentation-engine/diff.js +44 -33
  468. package/dist/safe-bash-presentation-engine/drawing-format.js +20 -19
  469. package/dist/safe-bash-presentation-engine/drawing-operations.js +31 -30
  470. package/dist/safe-bash-presentation-engine/drawing-schema.js +21 -20
  471. package/dist/safe-bash-presentation-engine/equations.js +17 -16
  472. package/dist/safe-bash-presentation-engine/errors.js +3 -2
  473. package/dist/safe-bash-presentation-engine/fields.js +17 -16
  474. package/dist/safe-bash-presentation-engine/font-metrics.js +4 -3
  475. package/dist/safe-bash-presentation-engine/image-extraction.js +20 -19
  476. package/dist/safe-bash-presentation-engine/image-formatting.js +32 -31
  477. package/dist/safe-bash-presentation-engine/image-insertion.js +18 -17
  478. package/dist/safe-bash-presentation-engine/image-replacement.js +21 -20
  479. package/dist/safe-bash-presentation-engine/image-value.js +5 -4
  480. package/dist/safe-bash-presentation-engine/images.js +19 -18
  481. package/dist/safe-bash-presentation-engine/index.js +135 -132
  482. package/dist/safe-bash-presentation-engine/layouts.js +16 -15
  483. package/dist/safe-bash-presentation-engine/length.js +4 -3
  484. package/dist/safe-bash-presentation-engine/links.js +16 -15
  485. package/dist/safe-bash-presentation-engine/masters.js +15 -14
  486. package/dist/safe-bash-presentation-engine/media-editing.js +24 -23
  487. package/dist/safe-bash-presentation-engine/media-extraction.js +17 -16
  488. package/dist/safe-bash-presentation-engine/media.js +16 -15
  489. package/dist/safe-bash-presentation-engine/memberships.js +15 -14
  490. package/dist/safe-bash-presentation-engine/notes.d.ts +1 -0
  491. package/dist/safe-bash-presentation-engine/notes.js +22 -15
  492. package/dist/safe-bash-presentation-engine/ole-enum.js +5 -4
  493. package/dist/safe-bash-presentation-engine/ole-insertion.js +20 -19
  494. package/dist/safe-bash-presentation-engine/opaque-objects.js +10 -9
  495. package/dist/safe-bash-presentation-engine/package-reader.js +6 -5
  496. package/dist/safe-bash-presentation-engine/package-tools.js +19 -18
  497. package/dist/safe-bash-presentation-engine/package-uri.js +4 -3
  498. package/dist/safe-bash-presentation-engine/package-writer.js +5 -4
  499. package/dist/safe-bash-presentation-engine/presentation-model.js +59 -57
  500. package/dist/safe-bash-presentation-engine/presentation-settings.js +14 -13
  501. package/dist/safe-bash-presentation-engine/properties.d.ts +2 -1
  502. package/dist/safe-bash-presentation-engine/properties.js +25 -15
  503. package/dist/safe-bash-presentation-engine/relationships.js +5 -4
  504. package/dist/safe-bash-presentation-engine/resource-limits.js +2 -1
  505. package/dist/safe-bash-presentation-engine/retained-diff.d.ts +56 -0
  506. package/dist/safe-bash-presentation-engine/retained-inspection.js +14 -13
  507. package/dist/safe-bash-presentation-engine/retained-notes.d.ts +27 -0
  508. package/dist/safe-bash-presentation-engine/retained-package.js +6 -5
  509. package/dist/safe-bash-presentation-engine/retained-properties.d.ts +26 -0
  510. package/dist/safe-bash-presentation-engine/retained-text.js +33 -517
  511. package/dist/safe-bash-presentation-engine/sanitize.js +20 -16
  512. package/dist/safe-bash-presentation-engine/selectors.js +11 -10
  513. package/dist/safe-bash-presentation-engine/shape-groups.js +31 -30
  514. package/dist/safe-bash-presentation-engine/shape-operations.js +30 -29
  515. package/dist/safe-bash-presentation-engine/shape-path-operations.js +32 -31
  516. package/dist/safe-bash-presentation-engine/shape-paths.js +16 -15
  517. package/dist/safe-bash-presentation-engine/shape-presets.js +4 -3
  518. package/dist/safe-bash-presentation-engine/shape-selection.js +31 -30
  519. package/dist/safe-bash-presentation-engine/shape-transforms.js +18 -17
  520. package/dist/safe-bash-presentation-engine/shapes.js +27 -26
  521. package/dist/safe-bash-presentation-engine/slide-copy.js +17 -16
  522. package/dist/safe-bash-presentation-engine/slide-import.js +18 -17
  523. package/dist/safe-bash-presentation-engine/slide-merge-split.js +20 -19
  524. package/dist/safe-bash-presentation-engine/slide-model.js +43 -42
  525. package/dist/safe-bash-presentation-engine/slide-removal.js +18 -17
  526. package/dist/safe-bash-presentation-engine/slide-transfer-budget.js +10 -9
  527. package/dist/safe-bash-presentation-engine/slides.js +19 -18
  528. package/dist/safe-bash-presentation-engine/table-operations.js +33 -32
  529. package/dist/safe-bash-presentation-engine/table-spans.js +32 -31
  530. package/dist/safe-bash-presentation-engine/tables.js +31 -30
  531. package/dist/safe-bash-presentation-engine/tags.js +16 -15
  532. package/dist/safe-bash-presentation-engine/template-bindings.js +33 -32
  533. package/dist/safe-bash-presentation-engine/template-repeat.js +40 -39
  534. package/dist/safe-bash-presentation-engine/text-fitting.js +27 -26
  535. package/dist/safe-bash-presentation-engine/text-frames.js +27 -26
  536. package/dist/safe-bash-presentation-engine/text-paragraphs.js +27 -26
  537. package/dist/safe-bash-presentation-engine/text-reading.js +12 -11
  538. package/dist/safe-bash-presentation-engine/text-replacement.js +17 -16
  539. package/dist/safe-bash-presentation-engine/text-runs.js +20 -19
  540. package/dist/safe-bash-presentation-engine/themes.js +16 -15
  541. package/dist/safe-bash-presentation-engine/transitions.js +16 -15
  542. package/dist/safe-bash-presentation-engine/validation.js +10 -9
  543. package/dist/safe-bash-presentation-engine/xml-parts.js +19 -18
  544. package/dist/safe-bash-presentation-engine/xml-view.js +4 -3
  545. package/dist/safe-bash-presentation-engine/xml.js +4 -3
  546. package/dist/safe-bash-query-engine/index.js +3 -3
  547. package/dist/safe-bash-query-engine/interpreter.js +2 -2
  548. package/dist/safe-bash-query-engine/query-core.js +3 -3
  549. package/dist/safe-bash-regex-engine/ere/matcher.js +3 -3
  550. package/dist/safe-bash-xml-engine/document.js +3 -3
  551. package/dist/safe-bash-xml-engine/evaluate.js +1 -1
  552. package/dist/safe-bash-xml-engine/index.js +4 -4
  553. package/dist/safe-bash-xml-engine/json.js +14 -10
  554. package/dist/safe-bash-xml-engine/query.js +2 -2
  555. package/dist/safe-bash-xml-engine/stored-document.d.ts +4 -0
  556. package/dist/safe-bash-xml-engine/stored-document.js +1 -1
  557. package/dist/safe-bash-xml-engine/stored-evaluate.js +3 -3
  558. package/dist/safe-bash-zip-engine/index.js +2 -2
  559. package/dist/safe-bash-zip-engine/zip/repair.js +2 -2
  560. package/dist/safe-bash-zip-engine/zip/sfx.js +2 -2
  561. package/dist/safe-bash-zip-engine/zip-format.js +2 -2
  562. package/dist/spreadsheet-format-xls/biff-properties-merge.js +88 -73
  563. package/dist/spreadsheet-format-xls/biff-properties.js +3 -3
  564. package/dist/spreadsheet-format-xls/biff-property-transcode.d.ts +6 -1
  565. package/dist/spreadsheet-format-xls/biff-property-transcode.js +15 -4
  566. package/dist/spreadsheet-format-xls/biff-property-values.d.ts +36 -0
  567. package/dist/spreadsheet-format-xls/biff-property-values.js +227 -0
  568. package/dist/xlsx-ast/comment-geometry.d.ts +12 -0
  569. package/dist/xlsx-ast/comment-geometry.js +71 -0
  570. package/dist/xlsx-ast/xlsx-metadata.d.ts +1 -1
  571. package/dist/xlsx-ast/xlsx-metadata.js +27 -2
  572. package/dist/xlsx-ast/xlsx-write-metadata.js +9 -1
  573. package/dist/xlsx-ast/xlsx.js +9 -4
  574. package/package.json +6 -3
  575. package/dist/safe-bash/command-chunks/biff-KRHJ63K3-VQPJCVIL.js +0 -5309
  576. package/dist/safe-bash/command-chunks/chunk-DBNJEXHK.js +0 -387
  577. package/dist/safe-bash/command-chunks/chunk-EV5G535P.js +0 -240
  578. package/dist/safe-bash/command-chunks/model-store-UB5DWMAP.js +0 -54
  579. package/dist/safe-bash/command-chunks/{chunk-NGSO645G.js → chunk-3ZVK2OAY.js} +6 -6
  580. package/dist/safe-bash/command-chunks/{chunk-W2FKFEVY.js → chunk-4YSBUQPV.js} +3 -3
  581. package/dist/safe-bash/command-chunks/{chunk-UJSLBBQ7.js → chunk-5MFRN3CB.js} +4 -4
  582. package/dist/safe-bash/command-chunks/{chunk-AW4Q3GZW.js → chunk-5QXRIZSS.js} +3 -3
  583. package/dist/safe-bash/command-chunks/{chunk-KUGV3SSL.js → chunk-CZXYWGVO.js} +3 -3
  584. package/dist/safe-bash/command-chunks/{chunk-JWORWL72.js → chunk-DX7KU6YU.js} +3 -3
  585. package/dist/safe-bash/command-chunks/{chunk-Z37OM247.js → chunk-E3BL7W5C.js} +3 -3
  586. package/dist/safe-bash/command-chunks/{chunk-RIKNMBLZ.js → chunk-FEKECRJP.js} +3 -3
  587. package/dist/safe-bash/command-chunks/{chunk-D3HW7R2N.js → chunk-FTZFCMVI.js} +9 -9
  588. package/dist/safe-bash/command-chunks/{chunk-KRRG4MGH.js → chunk-GEDO5V32.js} +3 -3
  589. package/dist/safe-bash/command-chunks/{chunk-NBRXQUK7.js → chunk-M3OXQXCU.js} +3 -3
  590. package/dist/safe-bash/command-chunks/{chunk-JRSZ5IGD.js → chunk-OAM2SUUI.js} +6 -6
  591. package/dist/safe-bash/command-chunks/{chunk-HFKS6AET.js → chunk-OCOJMKDP.js} +4 -4
  592. package/dist/safe-bash/command-chunks/{chunk-FMJKCVSQ.js → chunk-OOB7YCFQ.js} +3 -3
  593. package/dist/safe-bash/command-chunks/{chunk-GGH376XQ.js → chunk-OU4VE5CR.js} +6 -6
  594. package/dist/safe-bash/command-chunks/{chunk-DYERIXPU.js → chunk-QGTQJCKW.js} +3 -3
  595. package/dist/safe-bash/command-chunks/{chunk-ZSQCROFE.js → chunk-RXXNLH7A.js} +3 -3
  596. package/dist/safe-bash/command-chunks/{chunk-TI52LKLL.js → chunk-UVM6QG2H.js} +3 -3
  597. package/dist/safe-bash/command-chunks/{chunk-BJXADHRT.js → chunk-WKU65Z3Q.js} +6 -6
  598. package/dist/safe-bash/command-chunks/{chunk-KGKF5NM2.js → chunk-WOXLPDO6.js} +3 -3
  599. package/dist/safe-bash/command-chunks/{chunk-Y5ADXWBQ.js → chunk-WXW665TV.js} +4 -4
  600. package/dist/safe-bash/command-chunks/{chunk-FWCUEZ3K.js → chunk-WYBCSJFG.js} +3 -3
  601. package/dist/safe-bash/command-chunks/{chunk-BXU5Y7I5.js → chunk-XI2LETBJ.js} +3 -3
  602. package/dist/safe-bash/command-chunks/{chunk-LNLACEAN.js → chunk-Y3ZRIZL7.js} +3 -3
@@ -1,41 +1,41 @@
1
1
  import {
2
2
  remapCopiedXml
3
- } from "./chunk-F762XDNG.js";
3
+ } from "./chunk-MZYQKH26.js";
4
4
  import {
5
5
  prepareCommentImport
6
- } from "./chunk-6LPSKLLD.js";
6
+ } from "./chunk-3MUFXGA2.js";
7
7
  import {
8
8
  writePackageArchive
9
- } from "./chunk-KBAQHE5Y.js";
9
+ } from "./chunk-TG2RVQLP.js";
10
10
  import {
11
11
  diagramContentTypes,
12
12
  diagramRelationshipKinds
13
- } from "./chunk-W3ZSWK76.js";
13
+ } from "./chunk-NCNHJRIY.js";
14
14
  import {
15
15
  readPackage
16
- } from "./chunk-IWHNRYER.js";
16
+ } from "./chunk-Q65GWGQR.js";
17
17
  import {
18
18
  readBinary
19
- } from "./chunk-NFII726L.js";
19
+ } from "./chunk-FAU2KL6I.js";
20
20
  import {
21
21
  validatePresentation
22
- } from "./chunk-3GRMU7TM.js";
22
+ } from "./chunk-6W4RMBFH.js";
23
23
  import {
24
24
  parseXmlPart
25
- } from "./chunk-DBLQUZGN.js";
25
+ } from "./chunk-7PYDVQPB.js";
26
26
  import {
27
27
  parseContentTypes
28
- } from "./chunk-ZQM37BGE.js";
28
+ } from "./chunk-XFIDOCYH.js";
29
29
  import {
30
30
  readRelationshipGraph
31
- } from "./chunk-LNTEV56A.js";
31
+ } from "./chunk-4YFTJS5U.js";
32
32
  import {
33
33
  asciiKey,
34
34
  relativePartReference
35
- } from "./chunk-WTVJLHMG.js";
35
+ } from "./chunk-MOUCMZZP.js";
36
36
  import {
37
37
  OfficeError
38
- } from "./chunk-CXME4YHU.js";
38
+ } from "./chunk-KM2SMMXZ.js";
39
39
 
40
40
  // packages/safe-bash-presentation-engine/src/slide-import.ts
41
41
  import { SaxesParser } from "saxes";
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  assertSettingsXmlReplacement
3
- } from "./chunk-JVKE7YZN.js";
3
+ } from "./chunk-RVWIEXR7.js";
4
4
  import {
5
5
  assertEquationXmlReplacement
6
- } from "./chunk-IHXZMAMY.js";
6
+ } from "./chunk-62RG3GHF.js";
7
7
  import {
8
8
  assertDiagramGraphReplacement,
9
9
  assertDiagramXmlReplacement
10
- } from "./chunk-HELAVGZH.js";
10
+ } from "./chunk-T4SEQU66.js";
11
11
  import {
12
12
  readDocumentBindingOwnership
13
- } from "./chunk-3SPLP2DB.js";
13
+ } from "./chunk-T5OQ53XS.js";
14
14
  import {
15
15
  UnsupportedEmbeddedFontMutationError,
16
16
  embeddedFontState
17
- } from "./chunk-JW6WVNTM.js";
17
+ } from "./chunk-OIHQXURE.js";
18
18
  import {
19
19
  assertDocumentEditable,
20
20
  publishDocumentArchive
21
- } from "./chunk-EVYKV3QI.js";
21
+ } from "./chunk-N3ZH4YYH.js";
22
22
  import {
23
23
  DocumentPackage,
24
24
  readDocumentArchive
@@ -27,7 +27,7 @@ import {
27
27
  UnsupportedEditError,
28
28
  displayXml,
29
29
  opaqueXmlContent
30
- } from "./chunk-Y7AXMCFV.js";
30
+ } from "./chunk-LZY46GYY.js";
31
31
  import {
32
32
  documentDialects
33
33
  } from "./chunk-WLANDWNW.js";
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  paragraphTextRun,
3
3
  replaceParagraphContent
4
- } from "./chunk-BLIFGBIO.js";
4
+ } from "./chunk-HOKPYTHQ.js";
5
5
  import {
6
6
  cellCoordinates,
7
7
  tableGridCount
8
- } from "./chunk-47IAU25U.js";
8
+ } from "./chunk-OCV5ZU35.js";
9
9
  import {
10
10
  DocumentXmlEditor,
11
11
  UnsupportedEditError,
12
12
  activeXmlChildren,
13
13
  paragraphTextHistory,
14
14
  runElementOpen
15
- } from "./chunk-Y7AXMCFV.js";
15
+ } from "./chunk-LZY46GYY.js";
16
16
  import {
17
17
  SelectionError
18
18
  } from "./chunk-AW2RHM4G.js";
@@ -4,20 +4,20 @@ import {
4
4
  } from "./chunk-DMAOMHJQ.js";
5
5
  import {
6
6
  DocumentIo
7
- } from "./chunk-ZTMZO4IT.js";
7
+ } from "./chunk-ONQP4FNV.js";
8
8
  import {
9
9
  characterizeRasterHeader
10
- } from "./chunk-GLAF45M7.js";
10
+ } from "./chunk-JA36YOZI.js";
11
11
  import {
12
12
  UnsupportedEditError
13
- } from "./chunk-Y7AXMCFV.js";
13
+ } from "./chunk-LZY46GYY.js";
14
14
  import {
15
15
  Emu,
16
16
  Inches,
17
17
  isLength,
18
18
  plainLength,
19
19
  snapshotSequence
20
- } from "./chunk-RIKNMBLZ.js";
20
+ } from "./chunk-FEKECRJP.js";
21
21
  import {
22
22
  asciiKey
23
23
  } from "./chunk-DIXKEQ76.js";
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  addDocumentStylesPart,
3
3
  styleAllocationIds
4
- } from "./chunk-42MEXZBJ.js";
4
+ } from "./chunk-5GDF5FAS.js";
5
5
  import {
6
6
  assertDocumentEditable,
7
7
  publishDocumentArchive
8
- } from "./chunk-EVYKV3QI.js";
8
+ } from "./chunk-N3ZH4YYH.js";
9
9
  import {
10
10
  writeDocumentArchive
11
- } from "./chunk-JGKSWDGP.js";
11
+ } from "./chunk-SNA2LVBX.js";
12
12
  import {
13
13
  admittedXml,
14
14
  readDocumentArchive
@@ -22,13 +22,13 @@ import {
22
22
  renderContent,
23
23
  renderTheme,
24
24
  xmlValue
25
- } from "./chunk-Y7AXMCFV.js";
25
+ } from "./chunk-LZY46GYY.js";
26
26
  import {
27
27
  documentDialects
28
28
  } from "./chunk-WLANDWNW.js";
29
29
  import {
30
30
  validateDocxValue
31
- } from "./chunk-RIKNMBLZ.js";
31
+ } from "./chunk-FEKECRJP.js";
32
32
  import {
33
33
  closedRecord
34
34
  } from "./chunk-AW2RHM4G.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  UnsupportedEditError
3
- } from "./chunk-Y7AXMCFV.js";
3
+ } from "./chunk-LZY46GYY.js";
4
4
  import {
5
5
  InputTypeError,
6
6
  ResourceLimitError,
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  renderOutput
3
- } from "./chunk-KUGV3SSL.js";
3
+ } from "./chunk-CZXYWGVO.js";
4
4
  import {
5
5
  SafeJsCommandLimitError
6
6
  } from "./chunk-ABH5FMMA.js";
@@ -2,7 +2,7 @@ import {
2
2
  g
3
3
  } from "./chunk-Z7ESJVFP.js";
4
4
 
5
- // packages/safe-bash-command-ssconvert/dist/chunks/chunk-QRFCUCAC.js
5
+ // packages/safe-bash-command-ssconvert/dist/chunks/chunk-UISVSGWX.js
6
6
  import { createEngine as vt } from "../../spreadsheet-engine/index.js";
7
7
  import { SsconvertError as O } from "../../spreadsheet-engine/contracts.js";
8
8
  import { decodeTextSource as ot } from "../../spreadsheet-engine/encoding/decode-source.js";
@@ -35,21 +35,21 @@ var te = { id: "Gnumeric_applix", services: [{ id: "applix", direction: "read",
35
35
  var re = { id: "Gnumeric_dif", services: [{ id: "dif", direction: "read", read: async (e, t) => (await import("./dif-BXKPQOCO-4KB3RC6G.js")).readDif(e, t), description: "Data Interchange Format (*.dif)", extensions: ["dif"], probePriority: 1 }, { id: "dif", direction: "write", write: async (e, t, i) => (await import("./dif-BXKPQOCO-4KB3RC6G.js")).writeDif(e, t, i), description: "Data Interchange Format (*.dif)", extensions: ["dif"], formatLevel: "manual_remember", saveScope: "sheet", selectionSource: "view" }], source: "plugins/dif/plugin.xml.in" };
36
36
  var Qe = ["xor", "rc4", ...[false, true].flatMap((e) => [40, 48, 56, 64, 72, 80, 88, 96, 104, 112, 120, 128].map((t) => `rc4-cryptoapi-${t}${e ? "-properties" : ""}`))];
37
37
  var ie = ["xor"];
38
- var W = { id: "Gnumeric_Excel", source: "plugins/excel/plugin.xml.in", services: [{ id: "excel", direction: "read", readWorkbookSource: async (...e) => (await import("./biff-KRHJ63K3-VQPJCVIL.js")).readBiffWorkbookSource(...e), readSource: async (...e) => (await import("./biff-KRHJ63K3-VQPJCVIL.js")).readBiff(...e), probeSource: async (...e) => (await import("./biff-KRHJ63K3-VQPJCVIL.js")).probeBiff(...e), read: async (...e) => (await import("./biff-KRHJ63K3-VQPJCVIL.js")).readBiff(...e), probeContent: async (...e) => (await import("./biff-KRHJ63K3-VQPJCVIL.js")).probeBiff(...e), description: "MS Excel\u2122 (*.xls)", extensions: ["xls", "xlw", "xlt"], mimeTypes: ["application/vnd.ms-excel", "application/excel", "application/msexcel", "application/x-excel", "application/x-ms-excel", "application/x-msexcel", "application/x-xls", "application/xls", "application/x-dos_ms_excel", "zz-application/zz-winassoc-xls"], probePriority: 100, contentProbe: true }, { id: "excel_biff8", write: async (...e) => (await import("./biff-KRHJ63K3-VQPJCVIL.js")).createBiffWriter(8)(...e), writeStream: async function* (...e) {
39
- yield* (await import("./biff-KRHJ63K3-VQPJCVIL.js")).createBiffStreamWriter(8)(...e);
40
- }, labelRanges: true, exportOptionRules: { encryption: { kind: "enum", values: Qe } }, direction: "write", description: "MS Excel\u2122 97/2000/XP", extensions: ["xls"], mimeTypes: ["application/vnd.ms-excel"], formatLevel: "auto", defaultSaverPriority: 1 }, { id: "excel_biff7", write: async (...e) => (await import("./biff-KRHJ63K3-VQPJCVIL.js")).createBiffWriter(7)(...e), writeStream: async function* (...e) {
41
- yield* (await import("./biff-KRHJ63K3-VQPJCVIL.js")).createBiffStreamWriter(7)(...e);
42
- }, labelRanges: true, exportOptionRules: { encryption: { kind: "enum", values: ie } }, direction: "write", description: "MS Excel\u2122 5.0/95", extensions: ["xls"], mimeTypes: ["application/vnd.ms-excel"], formatLevel: "auto" }, { id: "excel_dsf", write: async (...e) => (await import("./biff-KRHJ63K3-VQPJCVIL.js")).createBiffWriter("dsf")(...e), writeStream: async function* (...e) {
43
- yield* (await import("./biff-KRHJ63K3-VQPJCVIL.js")).createBiffStreamWriter("dsf")(...e);
44
- }, labelRanges: true, exportOptionRules: { encryption: { kind: "enum", values: ie } }, direction: "write", description: "MS Excel\u2122 97/2000/XP & 5.0/95", extensions: ["xls"], mimeTypes: ["application/vnd.ms-excel"], formatLevel: "auto" }, { id: "excel_enc", direction: "read", read: async (...e) => (await import("./biff-KRHJ63K3-VQPJCVIL.js")).readBiff(...e), description: "MS Excel\u2122 (*.xls) requiring encoding specification", extensions: [], probePriority: 200, encodingDependent: true }] };
45
- var oe = { id: "Gnumeric_Excel", source: "plugins/excel/plugin.xml.in", services: [{ id: "xlsx", direction: "read", probeContent: async (e, t) => (await import("./xlsx-RE54MFCS-DI3F765V.js")).probeXlsx(e, t), probeSource: async (e, t) => (await import("./xlsx-RE54MFCS-DI3F765V.js")).probeXlsx(e, t), readWorkbookSource: async (e, t) => (await import("./xlsx-RE54MFCS-DI3F765V.js")).readXlsx(e, t, true), readSource: async (e, t) => (await import("./xlsx-RE54MFCS-DI3F765V.js")).readXlsx(e, t), read: async (e, t) => (await import("./xlsx-RE54MFCS-DI3F765V.js")).readXlsx(e, t), description: "ECMA 376 / Office Open XML [MS Excel\u2122 2007/2010] (*.xlsx)", extensions: ["xlsx", "xltx", "xlsb", "xlsm", "xltm"], mimeTypes: ["application/vnd.openxmlformats-officedocument.spreadsheetml.sheet", "application/vnd.openxmlformats-officedocument.spreadsheetml.template"], probePriority: 100, contentProbe: true }, { id: "xlsx", direction: "write", sourceAxes: true, write: async (e, t, i) => (await import("./xlsx-RE54MFCS-DI3F765V.js")).createXlsxWriter("2006")(e, t, i), writeStream: async function* (e, t, i) {
46
- yield* (await import("./xlsx-RE54MFCS-DI3F765V.js")).createXlsxStreamWriter("2006")(e, t, i);
38
+ var W = { id: "Gnumeric_Excel", source: "plugins/excel/plugin.xml.in", services: [{ id: "excel", direction: "read", readWorkbookSource: async (...e) => (await import("./biff-UBP2BZLK-JPODPKS3.js")).readBiffWorkbookSource(...e), readSource: async (...e) => (await import("./biff-UBP2BZLK-JPODPKS3.js")).readBiff(...e), probeSource: async (...e) => (await import("./biff-UBP2BZLK-JPODPKS3.js")).probeBiff(...e), read: async (...e) => (await import("./biff-UBP2BZLK-JPODPKS3.js")).readBiff(...e), probeContent: async (...e) => (await import("./biff-UBP2BZLK-JPODPKS3.js")).probeBiff(...e), description: "MS Excel\u2122 (*.xls)", extensions: ["xls", "xlw", "xlt"], mimeTypes: ["application/vnd.ms-excel", "application/excel", "application/msexcel", "application/x-excel", "application/x-ms-excel", "application/x-msexcel", "application/x-xls", "application/xls", "application/x-dos_ms_excel", "zz-application/zz-winassoc-xls"], probePriority: 100, contentProbe: true }, { id: "excel_biff8", write: async (...e) => (await import("./biff-UBP2BZLK-JPODPKS3.js")).createBiffWriter(8)(...e), writeStream: async function* (...e) {
39
+ yield* (await import("./biff-UBP2BZLK-JPODPKS3.js")).createBiffStreamWriter(8)(...e);
40
+ }, labelRanges: true, exportOptionRules: { encryption: { kind: "enum", values: Qe } }, direction: "write", description: "MS Excel\u2122 97/2000/XP", extensions: ["xls"], mimeTypes: ["application/vnd.ms-excel"], formatLevel: "auto", defaultSaverPriority: 1 }, { id: "excel_biff7", write: async (...e) => (await import("./biff-UBP2BZLK-JPODPKS3.js")).createBiffWriter(7)(...e), writeStream: async function* (...e) {
41
+ yield* (await import("./biff-UBP2BZLK-JPODPKS3.js")).createBiffStreamWriter(7)(...e);
42
+ }, labelRanges: true, exportOptionRules: { encryption: { kind: "enum", values: ie } }, direction: "write", description: "MS Excel\u2122 5.0/95", extensions: ["xls"], mimeTypes: ["application/vnd.ms-excel"], formatLevel: "auto" }, { id: "excel_dsf", write: async (...e) => (await import("./biff-UBP2BZLK-JPODPKS3.js")).createBiffWriter("dsf")(...e), writeStream: async function* (...e) {
43
+ yield* (await import("./biff-UBP2BZLK-JPODPKS3.js")).createBiffStreamWriter("dsf")(...e);
44
+ }, labelRanges: true, exportOptionRules: { encryption: { kind: "enum", values: ie } }, direction: "write", description: "MS Excel\u2122 97/2000/XP & 5.0/95", extensions: ["xls"], mimeTypes: ["application/vnd.ms-excel"], formatLevel: "auto" }, { id: "excel_enc", direction: "read", read: async (...e) => (await import("./biff-UBP2BZLK-JPODPKS3.js")).readBiff(...e), description: "MS Excel\u2122 (*.xls) requiring encoding specification", extensions: [], probePriority: 200, encodingDependent: true }] };
45
+ var oe = { id: "Gnumeric_Excel", source: "plugins/excel/plugin.xml.in", services: [{ id: "xlsx", direction: "read", probeContent: async (e, t) => (await import("./xlsx-RE54MFCS-IQ6OXXKK.js")).probeXlsx(e, t), probeSource: async (e, t) => (await import("./xlsx-RE54MFCS-IQ6OXXKK.js")).probeXlsx(e, t), readWorkbookSource: async (e, t) => (await import("./xlsx-RE54MFCS-IQ6OXXKK.js")).readXlsx(e, t, true), readSource: async (e, t) => (await import("./xlsx-RE54MFCS-IQ6OXXKK.js")).readXlsx(e, t), read: async (e, t) => (await import("./xlsx-RE54MFCS-IQ6OXXKK.js")).readXlsx(e, t), description: "ECMA 376 / Office Open XML [MS Excel\u2122 2007/2010] (*.xlsx)", extensions: ["xlsx", "xltx", "xlsb", "xlsm", "xltm"], mimeTypes: ["application/vnd.openxmlformats-officedocument.spreadsheetml.sheet", "application/vnd.openxmlformats-officedocument.spreadsheetml.template"], probePriority: 100, contentProbe: true }, { id: "xlsx", direction: "write", sourceAxes: true, write: async (e, t, i) => (await import("./xlsx-RE54MFCS-IQ6OXXKK.js")).createXlsxWriter("2006")(e, t, i), writeStream: async function* (e, t, i) {
46
+ yield* (await import("./xlsx-RE54MFCS-IQ6OXXKK.js")).createXlsxStreamWriter("2006")(e, t, i);
47
47
  }, writeWorkbookSource: async function* (e, t, i) {
48
- yield* (await import("./xlsx-RE54MFCS-DI3F765V.js")).createXlsxStreamWriter("2006")(e, t, i);
49
- }, description: "ECMA 376 1st edition (2006); [MS Excel\u2122 2007]", extensions: ["xlsx"], mimeTypes: ["application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"], formatLevel: "auto" }, { id: "xlsx2", direction: "write", sourceAxes: true, write: async (e, t, i) => (await import("./xlsx-RE54MFCS-DI3F765V.js")).createXlsxWriter("2008")(e, t, i), writeStream: async function* (e, t, i) {
50
- yield* (await import("./xlsx-RE54MFCS-DI3F765V.js")).createXlsxStreamWriter("2008")(e, t, i);
48
+ yield* (await import("./xlsx-RE54MFCS-IQ6OXXKK.js")).createXlsxStreamWriter("2006")(e, t, i);
49
+ }, description: "ECMA 376 1st edition (2006); [MS Excel\u2122 2007]", extensions: ["xlsx"], mimeTypes: ["application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"], formatLevel: "auto" }, { id: "xlsx2", direction: "write", sourceAxes: true, write: async (e, t, i) => (await import("./xlsx-RE54MFCS-IQ6OXXKK.js")).createXlsxWriter("2008")(e, t, i), writeStream: async function* (e, t, i) {
50
+ yield* (await import("./xlsx-RE54MFCS-IQ6OXXKK.js")).createXlsxStreamWriter("2008")(e, t, i);
51
51
  }, writeWorkbookSource: async function* (e, t, i) {
52
- yield* (await import("./xlsx-RE54MFCS-DI3F765V.js")).createXlsxStreamWriter("2008")(e, t, i);
52
+ yield* (await import("./xlsx-RE54MFCS-IQ6OXXKK.js")).createXlsxStreamWriter("2008")(e, t, i);
53
53
  }, description: "ISO/IEC 29500:2008 & ECMA 376 2nd edition (2008); [MS Excel\u2122 2010]", extensions: ["xlsx"], mimeTypes: ["application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"], formatLevel: "auto" }] };
54
54
  var D = { id: "Gnumeric_Excel", source: "plugins/excel/plugin.xml.in", services: [{ id: "excel_xml", direction: "read", read: async (e, t) => (await import("./spreadsheetml-FUAFHANW-NHCLA747.js")).readSpreadsheetML(e, t), probeContent: async (...e) => (await import("./spreadsheetml-FUAFHANW-NHCLA747.js")).probeSpreadsheetML(...e), description: "MS Excel\u2122 2003 SpreadsheetML", extensions: ["xml"], probePriority: 1, contentProbe: true }] };
55
55
  var ne = { ...W, services: [...W.services.slice(0, -1), ...D.services, ...oe.services, W.services.at(-1)] };
@@ -687,14 +687,14 @@ var De = (...e) => Re(Y(...e));
687
687
  var K = { id: "Gnumeric_stf", source: "src/stf.c", services: [{ id: "stf_csvtab", direction: "read", description: "Comma or tab separated values (CSV/TSV)", extensions: ["csv", "tsv", "txt"], mimeTypes: ["application/tab-separated-values", "text/comma-separated-values", "text/csv", "text/x-csv", "text/spreadsheet", "text/tab-separated-values"], probePriority: 0, contentProbe: true, encodingDependent: true, probeName: H, probeContent: I, probeSource: Ee, read: Pe, readSource: We, readWorkbookSource: Le }, { id: "stf_assistant", direction: "read", description: "Text import (configurable)", extensions: [], mimeTypes: ["text/plain", "text/csv", "text/x-csv", "text/comma-separated-values", "text/tab-separated-values"], probePriority: 0, encodingDependent: true, interactiveOnly: true, read: Fe }, { id: "stf_assistant", direction: "write", sourceAxes: true, description: "Text (configurable)", extensions: ["txt"], byteStrings: "utf8-text", sheetSelection: true, honorsExportRange: true, write: Ne, writeStream: Z, writeWorkbookSource: qe, exportOptionRules: { eol: { kind: "enum", values: ["unix", "mac", "windows"], asciiCaseInsensitive: true, error: "eol must be one of unix, mac, and windows" }, charset: { kind: "string" }, locale: { kind: "string" }, quote: { kind: "string" }, separator: { kind: "string" }, format: { kind: "enum", values: ["automatic", "raw", "preserve", "GNM_STF_FORMAT_AUTO", "GNM_STF_FORMAT_RAW", "GNM_STF_FORMAT_PRESERVE"] }, "transliterate-mode": { kind: "enum", values: ["transliterate", "escape", "GNM_STF_TRANSLITERATE_MODE_TRANS", "GNM_STF_TRANSLITERATE_MODE_ESCAPE"] }, "quoting-mode": { kind: "enum", values: ["never", "auto", "always", "GSF_OUTPUT_CSV_QUOTING_MODE_NEVER", "GSF_OUTPUT_CSV_QUOTING_MODE_AUTO", "GSF_OUTPUT_CSV_QUOTING_MODE_ALWAYS"] }, "quoting-on-whitespace": { kind: "boolean" } }, source: "src/stf-export.c:774" }, { id: "stf_csv", direction: "write", sourceAxes: true, description: "Comma separated values (CSV)", extensions: ["csv"], byteStrings: "utf8-text", formatLevel: "manual_remember", saveScope: "sheet", sheetSelection: true, honorsExportRange: true, write: De, writeStream: Y, writeWorkbookSource: Ue }] };
688
688
  var je = { id: "Gnumeric_sylk", services: [{ id: "sylk", direction: "read", probeContent: async (e, t) => (await import("./sylk-25D7TL2Y-RU6ANKGT.js")).probeSylk(e, t), read: async (e, t) => (await import("./sylk-25D7TL2Y-RU6ANKGT.js")).readSylk(e, t), description: "MultiPlan (SYLK)", extensions: ["slk", "sylk"], mimeTypes: ["application/x-sylk"], probePriority: 1, contentProbe: true }, { id: "sylk", direction: "write", write: async (e, t, i) => (await import("./sylk-25D7TL2Y-RU6ANKGT.js")).writeSylk(e, t, i), description: "MultiPlan (SYLK)", extensions: ["slk"], mimeTypes: ["application/x-sylk"], formatLevel: "auto", saveScope: "sheet", selectionSource: "view" }], source: "plugins/sylk/plugin.xml.in" };
689
689
  var J = { id: "Gnumeric_xbase", services: [{ id: "xbase", direction: "read", read: async (e, t) => (await import("./xbase-SNLCY6IW-DY6FAR6V.js")).readXbase(e, t), description: "Xbase (*.dbf) file format", extensions: ["dbf"], mimeTypes: ["application/dbase", "application/dbf", "application/x-dbase", "application/x-dbf", "application/x-xbase", "zz-application/zz-winassoc-dbf"], probePriority: 100 }], source: "plugins/xbase/plugin.xml.in" };
690
- var ze = { id: "Gnumeric_XmlIO", source: "src/xml-sax-write.c", services: [{ id: "sax", direction: "read", description: "Gnumeric XML (*.gnumeric)", extensions: ["gnumeric", "xml"], filenameSuffixes: ["xml.gz"], mimeTypes: ["application/x-gnumeric"], contentProbe: true, source: "src/xml-sax-read.c:3901", probeSource: async (...e) => (await import("./gnumeric-UJPXWBVR-7VOHQAPM.js")).probeGnumeric(...e), readWorkbookSource: async (e, t) => (await import("./gnumeric-UJPXWBVR-7VOHQAPM.js")).readGnumericWorkbookSource(e, t), readSource: async (e, t) => (await import("./gnumeric-UJPXWBVR-7VOHQAPM.js")).readGnumeric(e, t), probeContent: async (...e) => (await import("./gnumeric-UJPXWBVR-7VOHQAPM.js")).probeGnumeric(...e), read: async (e, t) => (await import("./gnumeric-UJPXWBVR-7VOHQAPM.js")).readGnumeric(e, t) }, { id: "sax", direction: "write", sourceAxes: true, description: "Gnumeric XML (*.gnumeric)", extensions: ["gnumeric"], mimeTypes: ["application/x-gnumeric"], byteStrings: "formula-only", formatLevel: "auto", defaultSaverPriority: 50, write: async (e, t, i) => (await import("./gnumeric-UJPXWBVR-7VOHQAPM.js")).writeCompressedGnumeric(e, t, i), writeStream: async function* (e, t, i) {
691
- yield* (await import("./gnumeric-UJPXWBVR-7VOHQAPM.js")).writeCompressedGnumericStream(e, t, i);
690
+ var ze = { id: "Gnumeric_XmlIO", source: "src/xml-sax-write.c", services: [{ id: "sax", direction: "read", description: "Gnumeric XML (*.gnumeric)", extensions: ["gnumeric", "xml"], filenameSuffixes: ["xml.gz"], mimeTypes: ["application/x-gnumeric"], contentProbe: true, source: "src/xml-sax-read.c:3901", probeSource: async (...e) => (await import("./gnumeric-UJPXWBVR-YPXTNEDZ.js")).probeGnumeric(...e), readWorkbookSource: async (e, t) => (await import("./gnumeric-UJPXWBVR-YPXTNEDZ.js")).readGnumericWorkbookSource(e, t), readSource: async (e, t) => (await import("./gnumeric-UJPXWBVR-YPXTNEDZ.js")).readGnumeric(e, t), probeContent: async (...e) => (await import("./gnumeric-UJPXWBVR-YPXTNEDZ.js")).probeGnumeric(...e), read: async (e, t) => (await import("./gnumeric-UJPXWBVR-YPXTNEDZ.js")).readGnumeric(e, t) }, { id: "sax", direction: "write", sourceAxes: true, description: "Gnumeric XML (*.gnumeric)", extensions: ["gnumeric"], mimeTypes: ["application/x-gnumeric"], byteStrings: "formula-only", formatLevel: "auto", defaultSaverPriority: 50, write: async (e, t, i) => (await import("./gnumeric-UJPXWBVR-YPXTNEDZ.js")).writeCompressedGnumeric(e, t, i), writeStream: async function* (e, t, i) {
691
+ yield* (await import("./gnumeric-UJPXWBVR-YPXTNEDZ.js")).writeCompressedGnumericStream(e, t, i);
692
692
  }, writeWorkbookSource: async function* (e, t, i) {
693
- yield* (await import("./gnumeric-UJPXWBVR-7VOHQAPM.js")).writeCompressedGnumericStream(e, t, i);
694
- } }, { id: "sax:0", direction: "write", sourceAxes: true, description: "Gnumeric XML uncompressed (*.xml)", extensions: ["xml"], mimeTypes: ["application/xml"], byteStrings: "formula-only", formatLevel: "auto", write: async (e, t, i) => (await import("./gnumeric-UJPXWBVR-7VOHQAPM.js")).writeGnumeric(e, t, i), writeStream: async function* (e, t, i) {
695
- yield* (await import("./gnumeric-UJPXWBVR-7VOHQAPM.js")).writeGnumericStream(e, t, i);
693
+ yield* (await import("./gnumeric-UJPXWBVR-YPXTNEDZ.js")).writeCompressedGnumericStream(e, t, i);
694
+ } }, { id: "sax:0", direction: "write", sourceAxes: true, description: "Gnumeric XML uncompressed (*.xml)", extensions: ["xml"], mimeTypes: ["application/xml"], byteStrings: "formula-only", formatLevel: "auto", write: async (e, t, i) => (await import("./gnumeric-UJPXWBVR-YPXTNEDZ.js")).writeGnumeric(e, t, i), writeStream: async function* (e, t, i) {
695
+ yield* (await import("./gnumeric-UJPXWBVR-YPXTNEDZ.js")).writeGnumericStream(e, t, i);
696
696
  }, writeWorkbookSource: async function* (e, t, i) {
697
- yield* (await import("./gnumeric-UJPXWBVR-7VOHQAPM.js")).writeGnumericStream(e, t, i);
697
+ yield* (await import("./gnumeric-UJPXWBVR-YPXTNEDZ.js")).writeGnumericStream(e, t, i);
698
698
  } }] };
699
699
  var M = [te, re, ne, se, ae, ce, le, de, me, ue, j, fe, xe, we, ye, he, ge, K, je, J, ze];
700
700
  var gt = Object.freeze(Be([], M).coverage().map(({ installed: e, ...t }) => Object.freeze(t)));
@@ -710,7 +710,7 @@ function gi(e = {}) {
710
710
  let { suppliedDefaultFont: o } = await import("../../safe-bash-pdf-engine/index.js");
711
711
  return o().bytes;
712
712
  } }, rendering: e.rendering ?? g(), clipboard: e.clipboard ?? { async serialize(o, c, l, p) {
713
- let { serializeClipboard: u } = await import("./clipboard-BBDK33GP-QZ4ERNQX.js");
713
+ let { serializeClipboard: u } = await import("./clipboard-BBDK33GP-VB22F7GI.js");
714
714
  return u(o, c, l, p, (n) => r.select("write", n));
715
715
  } } });
716
716
  }
@@ -1,25 +1,23 @@
1
+ import {
2
+ patchTextBytes
3
+ } from "./chunk-KHUT7BB5.js";
4
+
1
5
  // packages/safe-bash-command-patch/src/stored-target.ts
2
6
  import { PagedStorage, PagedStorageCache } from "@poe-platform/safe-fs/storage";
3
7
  import { IndexedDocument, closeDocumentResources } from "../../safe-bash-diff-engine/document.js";
4
8
  import { ToolError, host } from "../../safe-bash-diff-engine/shared.js";
5
9
  async function* targetBytes(line) {
6
- if (typeof line !== "string") {
7
- if ("storage" in line) {
8
- for (let offset = line.start; offset < line.end; offset += 16384)
9
- yield await line.storage.read(offset, Math.min(16384, line.end - offset));
10
- return;
11
- }
12
- const range = await line.document.line(line.index);
13
- yield* line.document.range(range.start, range.end);
10
+ if (typeof line === "string" || "bytes" in line) {
11
+ yield* patchTextBytes(line);
14
12
  return;
15
13
  }
16
- for (let start = 0; start < line.length; ) {
17
- let end = Math.min(start + 4096, line.length);
18
- const last = line.charCodeAt(end - 1);
19
- if (end < line.length && last >= 55296 && last <= 56319) end--;
20
- yield new TextEncoder().encode(line.slice(start, end));
21
- start = end;
14
+ if ("storage" in line) {
15
+ for (let offset = line.start; offset < line.end; offset += 16384)
16
+ yield await line.storage.read(offset, Math.min(16384, line.end - offset));
17
+ return;
22
18
  }
19
+ const range = await line.document.line(line.index);
20
+ yield* line.document.range(range.start, range.end);
23
21
  }
24
22
  async function* normalized(line, whitespace) {
25
23
  if (!whitespace) {
@@ -1,27 +1,27 @@
1
1
  import {
2
2
  readTextSegments
3
- } from "./chunk-ENEIE44W.js";
3
+ } from "./chunk-A6OTPNNI.js";
4
4
  import {
5
5
  DocumentArchiveEditor
6
- } from "./chunk-VUWXLH3E.js";
6
+ } from "./chunk-N4HWOLGZ.js";
7
7
  import {
8
8
  LocationIndex,
9
9
  addressKey,
10
10
  documentScopes,
11
11
  pathContains
12
- } from "./chunk-47IAU25U.js";
12
+ } from "./chunk-OCV5ZU35.js";
13
13
  import {
14
14
  validateDocxInvocation
15
- } from "./chunk-DZH54L3F.js";
15
+ } from "./chunk-ZM7HMBAJ.js";
16
16
  import {
17
17
  readDocumentArchive
18
18
  } from "./chunk-5BUL25DF.js";
19
19
  import {
20
20
  UnsupportedEditError
21
- } from "./chunk-Y7AXMCFV.js";
21
+ } from "./chunk-LZY46GYY.js";
22
22
  import {
23
23
  docxOperationSchemas
24
- } from "./chunk-RIKNMBLZ.js";
24
+ } from "./chunk-FEKECRJP.js";
25
25
  import {
26
26
  SelectionError,
27
27
  closedRecord,
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  readTextBodies,
3
3
  validateTextReadingOptions
4
- } from "./chunk-KSBNZTAZ.js";
4
+ } from "./chunk-YKODRSGT.js";
5
5
  import {
6
6
  loadShared
7
- } from "./chunk-ADHFF2IM.js";
7
+ } from "./chunk-A5SPMSKD.js";
8
8
  import {
9
9
  SelectionError
10
- } from "./chunk-W3ZSWK76.js";
10
+ } from "./chunk-NCNHJRIY.js";
11
11
  import {
12
12
  protectedEquationNodes
13
- } from "./chunk-XTEIT5CI.js";
13
+ } from "./chunk-GTOMW4VV.js";
14
14
  import {
15
15
  parseXmlPart
16
- } from "./chunk-DBLQUZGN.js";
16
+ } from "./chunk-7PYDVQPB.js";
17
17
  import {
18
18
  OfficeError
19
- } from "./chunk-CXME4YHU.js";
19
+ } from "./chunk-KM2SMMXZ.js";
20
20
 
21
21
  // packages/safe-bash-presentation-engine/src/text-replacement.ts
22
22
  function authored(value, maximum) {
@@ -0,0 +1,65 @@
1
+ // packages/safe-bash-command-patch/src/patch-text.ts
2
+ import { byteLength } from "../../safe-bash-io-engine/byte-encoding.js";
3
+ function textSize(text) {
4
+ return typeof text === "string" ? byteLength(text) : text.size;
5
+ }
6
+ function terminated(text) {
7
+ return typeof text === "string" ? text.endsWith("\n") : text.terminated;
8
+ }
9
+ async function* patchTextBytes(text) {
10
+ if (typeof text !== "string") {
11
+ yield* text.bytes;
12
+ return;
13
+ }
14
+ for (let start = 0; start < text.length; ) {
15
+ let end = Math.min(start + 4096, text.length);
16
+ const last = text.charCodeAt(end - 1);
17
+ if (end < text.length && last >= 55296 && last <= 56319) end--;
18
+ yield new TextEncoder().encode(text.slice(start, end));
19
+ start = end;
20
+ }
21
+ }
22
+ async function materializeText(text) {
23
+ if (typeof text === "string") return text;
24
+ const decoder = new TextDecoder("utf-8", { fatal: true, ignoreBOM: true });
25
+ let result = "";
26
+ for await (const bytes of text.bytes) result += decoder.decode(bytes, { stream: true });
27
+ return result + decoder.decode();
28
+ }
29
+ async function equalPatchText(left, right, budget) {
30
+ if (typeof left === "string" && typeof right === "string") return budget.equal(left, right);
31
+ if (textSize(left) !== textSize(right)) return false;
32
+ const a = patchTextBytes(left)[Symbol.asyncIterator](), b = patchTextBytes(right)[Symbol.asyncIterator]();
33
+ try {
34
+ let x = await a.next(), y = await b.next(), i = 0, j = 0;
35
+ while (!x.done && !y.done) {
36
+ const count = Math.min(x.value.length - i, y.value.length - j);
37
+ budget.step(count);
38
+ for (let at = 0; at < count; at++) if (x.value[i + at] !== y.value[j + at]) return false;
39
+ i += count;
40
+ j += count;
41
+ if (i === x.value.length) {
42
+ x = await a.next();
43
+ i = 0;
44
+ }
45
+ if (j === y.value.length) {
46
+ y = await b.next();
47
+ j = 0;
48
+ }
49
+ const pause = budget.checkpoint();
50
+ if (pause) await pause;
51
+ }
52
+ return !!x.done && !!y.done;
53
+ } finally {
54
+ await a.return?.();
55
+ await b.return?.();
56
+ }
57
+ }
58
+
59
+ export {
60
+ textSize,
61
+ terminated,
62
+ patchTextBytes,
63
+ materializeText,
64
+ equalPatchText
65
+ };
@@ -2,39 +2,39 @@ import {
2
2
  nodeFor,
3
3
  selected,
4
4
  validateSelection
5
- } from "./chunk-MVLVIMJ6.js";
5
+ } from "./chunk-LMLBQSAM.js";
6
6
  import {
7
7
  readShape
8
- } from "./chunk-TKCUGMRZ.js";
8
+ } from "./chunk-3K5CVXUV.js";
9
9
  import {
10
10
  applyDrawingUpdate,
11
11
  readDrawingFormat,
12
12
  validateDrawingUpdate
13
- } from "./chunk-PLMF35XK.js";
13
+ } from "./chunk-PPN53PX3.js";
14
14
  import {
15
15
  readShapeGeometry
16
- } from "./chunk-RTNI47C5.js";
16
+ } from "./chunk-WOL3LBXE.js";
17
17
  import {
18
18
  escape,
19
19
  loadShared,
20
20
  nextRel,
21
21
  relPart
22
- } from "./chunk-ADHFF2IM.js";
22
+ } from "./chunk-A5SPMSKD.js";
23
23
  import {
24
24
  SelectionError
25
- } from "./chunk-W3ZSWK76.js";
25
+ } from "./chunk-NCNHJRIY.js";
26
26
  import {
27
27
  readBinary
28
- } from "./chunk-NFII726L.js";
28
+ } from "./chunk-FAU2KL6I.js";
29
29
  import {
30
30
  parseXmlPart
31
- } from "./chunk-DBLQUZGN.js";
31
+ } from "./chunk-7PYDVQPB.js";
32
32
  import {
33
33
  relativePartReference
34
- } from "./chunk-WTVJLHMG.js";
34
+ } from "./chunk-MOUCMZZP.js";
35
35
  import {
36
36
  OfficeError
37
- } from "./chunk-CXME4YHU.js";
37
+ } from "./chunk-KM2SMMXZ.js";
38
38
  import {
39
39
  crc32
40
40
  } from "./chunk-IOEUZ4EA.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  withSignal
3
- } from "./chunk-FMJKCVSQ.js";
3
+ } from "./chunk-OOB7YCFQ.js";
4
4
  import {
5
5
  CurlError
6
6
  } from "./chunk-QYXWTNUN.js";