@poe-platform/safe-bash 0.1.810 → 0.1.811

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 (248) hide show
  1. package/dist/audio-ast/flac-source.d.ts +13 -0
  2. package/dist/audio-ast/index.d.ts +1 -0
  3. package/dist/audio-ast/index.js +248 -179
  4. package/dist/json-ast/backed-json-parser.d.ts +12 -1
  5. package/dist/json-ast/index.d.ts +1 -1
  6. package/dist/office-xml/index.d.ts +1 -0
  7. package/dist/office-xml/retained-xml-edits.d.ts +22 -0
  8. package/dist/pdf-ast/cos/qpdf-json-document.d.ts +2 -1
  9. package/dist/pdf-ast/index.js +151 -56
  10. package/dist/pdf-ast/retained-document.d.ts +2 -0
  11. package/dist/safe-bash/audio-ast.browser.js +2 -1
  12. package/dist/safe-bash/chunks/{chunk-65TFMAZU.js → chunk-BUYRKFW2.js} +8 -35
  13. package/dist/safe-bash/chunks/{chunk-ZA5FQ34E.js → chunk-TPG55BAQ.js} +0 -2
  14. package/dist/safe-bash/command-chunks/{biff-ORSHM4YX-QYPGRDAZ.js → biff-3EFLKBAH-NYWZOYQS.js} +2141 -2136
  15. package/dist/safe-bash/command-chunks/{chunk-HEHGHIE2.js → chunk-22MOB45U.js} +6 -6
  16. package/dist/safe-bash/command-chunks/{chunk-6DEWZMOL.js → chunk-2CORNDGF.js} +2 -2
  17. package/dist/safe-bash/command-chunks/{chunk-6UHGIWFX.js → chunk-2ZFLMWOX.js} +1 -1
  18. package/dist/safe-bash/command-chunks/{chunk-HONWGFDA.js → chunk-33YCKZZX.js} +6 -6
  19. package/dist/safe-bash/command-chunks/{chunk-AXWPJRY6.js → chunk-36XGIPOG.js} +1 -1
  20. package/dist/safe-bash/command-chunks/{chunk-32ADKP5E.js → chunk-456PHA3L.js} +1 -1
  21. package/dist/safe-bash/command-chunks/{chunk-UJXP3T6R.js → chunk-4CKFNXRN.js} +1 -1
  22. package/dist/safe-bash/command-chunks/{chunk-5L6GHFRW.js → chunk-554Z6IKP.js} +2 -2
  23. package/dist/safe-bash/command-chunks/{chunk-ORZRWT62.js → chunk-56NYSX65.js} +9 -9
  24. package/dist/safe-bash/command-chunks/{chunk-53JP3S6H.js → chunk-5HPU7D36.js} +4 -4
  25. package/dist/safe-bash/command-chunks/{chunk-YTFWPJ3F.js → chunk-5LI2DLNZ.js} +26 -26
  26. package/dist/safe-bash/command-chunks/{chunk-CHR2OD2U.js → chunk-5MB64DWR.js} +9 -9
  27. package/dist/safe-bash/command-chunks/{chunk-3ZWBBS6U.js → chunk-5OO2P27R.js} +340 -34
  28. package/dist/safe-bash/command-chunks/{chunk-IC5GJI7E.js → chunk-5Q22ZLNC.js} +6 -6
  29. package/dist/safe-bash/command-chunks/{chunk-YO3V5RLY.js → chunk-6CCQI6XZ.js} +12 -12
  30. package/dist/safe-bash/command-chunks/{chunk-EO2IVGV7.js → chunk-6M6TM5Z5.js} +3 -3
  31. package/dist/safe-bash/command-chunks/{chunk-Z54Z3KRN.js → chunk-6QBMND4A.js} +1 -1
  32. package/dist/safe-bash/command-chunks/{chunk-INX4JMQ6.js → chunk-6VPQ3CDZ.js} +5 -5
  33. package/dist/safe-bash/command-chunks/{chunk-D5AYP2UM.js → chunk-72C3TZ2U.js} +25 -15
  34. package/dist/safe-bash/command-chunks/{chunk-VGXVN3BX.js → chunk-7GKKMNL6.js} +8 -8
  35. package/dist/safe-bash/command-chunks/{chunk-TZJC67W3.js → chunk-7PVHO47B.js} +6 -6
  36. package/dist/safe-bash/command-chunks/{chunk-CM3C7AXJ.js → chunk-A2CLZMQZ.js} +1 -1
  37. package/dist/safe-bash/command-chunks/{chunk-ASR27KHW.js → chunk-A5FZBR7X.js} +4 -4
  38. package/dist/safe-bash/command-chunks/{chunk-DMDHE5KC.js → chunk-AHA6IWAJ.js} +6 -6
  39. package/dist/safe-bash/command-chunks/{chunk-PTZ55XXN.js → chunk-APEWTWCC.js} +6 -6
  40. package/dist/safe-bash/command-chunks/{chunk-YUVH6CE4.js → chunk-ATTWQVR2.js} +17 -17
  41. package/dist/safe-bash/command-chunks/{chunk-JON5DB3Z.js → chunk-B5LDP7AA.js} +2 -2
  42. package/dist/safe-bash/command-chunks/{chunk-CHJL6JMU.js → chunk-COKYZUBW.js} +1 -1
  43. package/dist/safe-bash/command-chunks/{chunk-KCTV4NVX.js → chunk-CRV2Q3PB.js} +1 -1
  44. package/dist/safe-bash/command-chunks/{chunk-V3WXPCKN.js → chunk-CV7M2QJU.js} +7 -7
  45. package/dist/safe-bash/command-chunks/{chunk-VPDSQPSN.js → chunk-DM2CPMB4.js} +2 -2
  46. package/dist/safe-bash/command-chunks/{chunk-3DTDMEOP.js → chunk-EAGIJ4VW.js} +1 -1
  47. package/dist/safe-bash/command-chunks/{chunk-JW6CMBF2.js → chunk-EHSM5ZQS.js} +8 -8
  48. package/dist/safe-bash/command-chunks/{chunk-WIOH7ZQN.js → chunk-ENT3IV2G.js} +12 -12
  49. package/dist/safe-bash/command-chunks/{chunk-5IE4LJGB.js → chunk-EUT24Y5Z.js} +8 -8
  50. package/dist/safe-bash/command-chunks/{chunk-COKZFXHG.js → chunk-FIIAYCWS.js} +2 -2
  51. package/dist/safe-bash/command-chunks/{chunk-MWVFP2HY.js → chunk-GEM47B2P.js} +7 -7
  52. package/dist/safe-bash/command-chunks/{chunk-EHL6B34L.js → chunk-HDJVJTCK.js} +9 -9
  53. package/dist/safe-bash/command-chunks/{chunk-JMM3MNAY.js → chunk-HKATEVAP.js} +6 -6
  54. package/dist/safe-bash/command-chunks/{chunk-VWY3EAVQ.js → chunk-HTVIYLVB.js} +4 -4
  55. package/dist/safe-bash/command-chunks/{chunk-Z4QJMDK3.js → chunk-IT7TAC3F.js} +16 -16
  56. package/dist/safe-bash/command-chunks/{chunk-EWS4KYJE.js → chunk-JFYWVQ4V.js} +8 -8
  57. package/dist/safe-bash/command-chunks/{chunk-ZCX63QWA.js → chunk-JOCFI7TG.js} +1 -1
  58. package/dist/safe-bash/command-chunks/{chunk-F5WTH4O4.js → chunk-JQVHUSDD.js} +5 -5
  59. package/dist/safe-bash/command-chunks/{chunk-O4VJEGL6.js → chunk-K5GB2YMN.js} +10 -10
  60. package/dist/safe-bash/command-chunks/{chunk-27C3NT5V.js → chunk-KB7DUBVL.js} +5 -5
  61. package/dist/safe-bash/command-chunks/{chunk-4DZ32PI7.js → chunk-KCOJA7EM.js} +7 -7
  62. package/dist/safe-bash/command-chunks/{chunk-CAXJ4RLF.js → chunk-KJ4XXZIL.js} +12 -12
  63. package/dist/safe-bash/command-chunks/{chunk-BYZUOF6X.js → chunk-KL3OIBKB.js} +3742 -3726
  64. package/dist/safe-bash/command-chunks/{chunk-U6QHTC5J.js → chunk-L5MCW6CM.js} +4 -4
  65. package/dist/safe-bash/command-chunks/{chunk-LVL3A7YE.js → chunk-LCZDBW55.js} +5 -5
  66. package/dist/safe-bash/command-chunks/{chunk-DJVRDUCA.js → chunk-LXLLA4PM.js} +17 -17
  67. package/dist/safe-bash/command-chunks/{chunk-K7AGAS3K.js → chunk-M7QE2MN7.js} +6 -6
  68. package/dist/safe-bash/command-chunks/{chunk-SWT6ILF2.js → chunk-MPUHH2KR.js} +3 -3
  69. package/dist/safe-bash/command-chunks/{chunk-DC3OJLRB.js → chunk-NQDIT667.js} +5 -5
  70. package/dist/safe-bash/command-chunks/{chunk-LWZVDDJA.js → chunk-NUGQQDGE.js} +5 -1
  71. package/dist/safe-bash/command-chunks/{chunk-MFLQZLFR.js → chunk-OA75SGN2.js} +7 -7
  72. package/dist/safe-bash/command-chunks/{chunk-5LATYOF7.js → chunk-OEJM666F.js} +5 -5
  73. package/dist/safe-bash/command-chunks/{chunk-AF25YYIO.js → chunk-PMAM4N33.js} +9 -9
  74. package/dist/safe-bash/command-chunks/{chunk-KMMAJ6H6.js → chunk-PNGDJA6M.js} +2 -2
  75. package/dist/safe-bash/command-chunks/{chunk-62BHPSKJ.js → chunk-Q6S57NOQ.js} +7 -7
  76. package/dist/safe-bash/command-chunks/{chunk-KJ3PEDI2.js → chunk-Q73EMLLZ.js} +146 -4
  77. package/dist/safe-bash/command-chunks/{chunk-FXKBM5KJ.js → chunk-QC5RMGSA.js} +3 -3
  78. package/dist/safe-bash/command-chunks/{chunk-UQ6UIZMM.js → chunk-QD7ZRDUN.js} +1 -1
  79. package/dist/safe-bash/command-chunks/{chunk-JHUYZZGV.js → chunk-QYMEASQ6.js} +4 -4
  80. package/dist/safe-bash/command-chunks/{chunk-3GY5VDIX.js → chunk-QZZ73J2O.js} +6 -6
  81. package/dist/safe-bash/command-chunks/{chunk-S2CYIGWH.js → chunk-R6EGGK5M.js} +7 -7
  82. package/dist/safe-bash/command-chunks/{chunk-7AVN3OBH.js → chunk-RHYJVTJO.js} +2 -2
  83. package/dist/safe-bash/command-chunks/{chunk-EWGDSO6U.js → chunk-RID6VYS3.js} +8 -8
  84. package/dist/safe-bash/command-chunks/{chunk-MMBRBANA.js → chunk-RNSKXOG3.js} +6 -6
  85. package/dist/safe-bash/command-chunks/{chunk-D3ZRZTY5.js → chunk-RQIQ75W5.js} +5 -5
  86. package/dist/safe-bash/command-chunks/{chunk-DWKQPLRT.js → chunk-RRL3Y562.js} +11 -11
  87. package/dist/safe-bash/command-chunks/{chunk-NXCMXD74.js → chunk-S6R3IB36.js} +1 -1
  88. package/dist/safe-bash/command-chunks/{chunk-XUPKFHAQ.js → chunk-SDTPO2VV.js} +7 -7
  89. package/dist/safe-bash/command-chunks/{chunk-PIAGKRFW.js → chunk-SPLOIABU.js} +3 -3
  90. package/dist/safe-bash/command-chunks/{chunk-WLTJDNSQ.js → chunk-TVH4JORU.js} +3 -3
  91. package/dist/safe-bash/command-chunks/{chunk-6XVMWFHD.js → chunk-TW73OXPR.js} +6 -6
  92. package/dist/safe-bash/command-chunks/{chunk-SFO43CID.js → chunk-UAXSE3XE.js} +5 -5
  93. package/dist/safe-bash/command-chunks/{chunk-K35BSUHO.js → chunk-UYWSIIUX.js} +7 -7
  94. package/dist/safe-bash/command-chunks/{chunk-DCD32BEY.js → chunk-VU3EQF7F.js} +91 -53
  95. package/dist/safe-bash/command-chunks/{chunk-2E2YEDVB.js → chunk-W5YSINXC.js} +6 -6
  96. package/dist/safe-bash/command-chunks/{chunk-EYNT4OEJ.js → chunk-WGG6G2KG.js} +7 -7
  97. package/dist/safe-bash/command-chunks/{chunk-DVQBZXMQ.js → chunk-WJCN2IXI.js} +2 -2
  98. package/dist/safe-bash/command-chunks/{chunk-XBZ4ZWGL.js → chunk-WVMHRNXZ.js} +3 -3
  99. package/dist/safe-bash/command-chunks/{chunk-7GXUCQI4.js → chunk-WXRYDALR.js} +4 -4
  100. package/dist/safe-bash/command-chunks/{chunk-S4IIOSRA.js → chunk-X7FA7ZD5.js} +8 -8
  101. package/dist/safe-bash/command-chunks/{chunk-SFCERNHU.js → chunk-XPD636C4.js} +3 -3
  102. package/dist/safe-bash/command-chunks/{chunk-HYDWQLJ3.js → chunk-XRVKWGVQ.js} +6 -6
  103. package/dist/safe-bash/command-chunks/{chunk-3UJWHRK4.js → chunk-XVP6V5K3.js} +6 -6
  104. package/dist/safe-bash/command-chunks/{chunk-KTI3BULE.js → chunk-XZ2FWFNV.js} +6 -6
  105. package/dist/safe-bash/command-chunks/{chunk-QK3CHRGL.js → chunk-Y4EYCZFT.js} +10 -10
  106. package/dist/safe-bash/command-chunks/{chunk-GTWVMFBK.js → chunk-YORJDX4V.js} +4 -4
  107. package/dist/safe-bash/command-chunks/{chunk-H6F5SN2N.js → chunk-YSMNXMAO.js} +4 -4
  108. package/dist/safe-bash/command-chunks/{chunk-ZEPDT6I5.js → chunk-YSY6R6AS.js} +21 -25
  109. package/dist/safe-bash/command-chunks/{chunk-SE5SJ4JT.js → chunk-Z2JW6M2D.js} +3 -3
  110. package/dist/safe-bash/command-chunks/{chunk-WC2OCF4H.js → chunk-ZHRGYR7B.js} +7 -7
  111. package/dist/safe-bash/command-chunks/{chunk-HQYFRQ5W.js → chunk-ZIIO6GRY.js} +7 -7
  112. package/dist/safe-bash/command-chunks/{chunk-NTRZMQZP.js → chunk-ZMHEGDU2.js} +2 -2
  113. package/dist/safe-bash/command-chunks/{chunk-EYBXHGA6.js → chunk-ZXR6LXV5.js} +2 -2
  114. package/dist/safe-bash/command-chunks/{engine-MEPOXIXT-WZMRHACG.js → engine-AXXFTGCL-QBQNBI6K.js} +1 -1
  115. package/dist/safe-bash/command-chunks/pdf-XHHFTOT4-UJJYOYJ2.js +573 -0
  116. package/dist/safe-bash/commands/diff-patch/index.js +0 -3
  117. package/dist/safe-bash/commands/diff3/index.js +0 -2
  118. package/dist/safe-bash/full-core.browser.js +2 -2
  119. package/dist/safe-bash/plugins/index.browser.js +2 -2
  120. package/dist/safe-bash/plugins/index.js +3 -1
  121. package/dist/safe-bash/plugins/portable-commands.d.ts +1 -1
  122. package/dist/safe-bash/plugins/portable-commands.js +5 -3
  123. package/dist/safe-bash/registry-entry.browser.js +1 -1
  124. package/dist/safe-bash-command-diff/index.js +0 -2
  125. package/dist/safe-bash-command-diff3/index.js +830 -56
  126. package/dist/safe-bash-command-ffmpeg/index.js +1 -1
  127. package/dist/safe-bash-command-ffprobe/index.js +2 -2
  128. package/dist/safe-bash-command-ffprobe/media.js +2 -2
  129. package/dist/safe-bash-command-html-to-markdown/index.js +75 -21
  130. package/dist/safe-bash-command-pandoc/command.js +3 -3
  131. package/dist/safe-bash-command-pandoc/execution.d.ts +2 -2
  132. package/dist/safe-bash-command-pandoc/index.d.ts +1 -1
  133. package/dist/safe-bash-command-pandoc/index.js +14 -14
  134. package/dist/safe-bash-command-pandoc/lua-filters.js +2 -2
  135. package/dist/safe-bash-command-pandoc/types.d.ts +17 -2
  136. package/dist/safe-bash-command-patch/index.js +1 -1
  137. package/dist/safe-bash-command-patch/patch.js +1 -1
  138. package/dist/safe-bash-command-pdftk/index.js +616 -265
  139. package/dist/safe-bash-command-qpdf/index.js +115 -9
  140. package/dist/safe-bash-command-soffice/index.js +1 -1
  141. package/dist/safe-bash-command-ssconvert/index.js +2 -2
  142. package/dist/safe-bash-command-xq/index.js +45 -29
  143. package/dist/safe-bash-presentation-engine/accessibility.js +30 -30
  144. package/dist/safe-bash-presentation-engine/animation-editing.js +15 -15
  145. package/dist/safe-bash-presentation-engine/animations.js +15 -15
  146. package/dist/safe-bash-presentation-engine/backgrounds.js +16 -16
  147. package/dist/safe-bash-presentation-engine/bytes.js +3 -3
  148. package/dist/safe-bash-presentation-engine/chart-editing.js +33 -33
  149. package/dist/safe-bash-presentation-engine/chart-object-operations.js +24 -24
  150. package/dist/safe-bash-presentation-engine/charts.js +30 -30
  151. package/dist/safe-bash-presentation-engine/command-placeholder.js +55 -55
  152. package/dist/safe-bash-presentation-engine/comments.js +16 -16
  153. package/dist/safe-bash-presentation-engine/connector-operations.js +31 -31
  154. package/dist/safe-bash-presentation-engine/connectors.js +28 -28
  155. package/dist/safe-bash-presentation-engine/content-types.js +4 -4
  156. package/dist/safe-bash-presentation-engine/creation.js +6 -6
  157. package/dist/safe-bash-presentation-engine/diff.js +31 -31
  158. package/dist/safe-bash-presentation-engine/drawing-format.js +19 -19
  159. package/dist/safe-bash-presentation-engine/drawing-operations.js +30 -30
  160. package/dist/safe-bash-presentation-engine/drawing-schema.js +20 -20
  161. package/dist/safe-bash-presentation-engine/equations.js +16 -16
  162. package/dist/safe-bash-presentation-engine/errors.js +2 -2
  163. package/dist/safe-bash-presentation-engine/fields.js +16 -16
  164. package/dist/safe-bash-presentation-engine/font-metrics.js +3 -3
  165. package/dist/safe-bash-presentation-engine/image-extraction.js +19 -19
  166. package/dist/safe-bash-presentation-engine/image-formatting.js +31 -31
  167. package/dist/safe-bash-presentation-engine/image-insertion.js +17 -17
  168. package/dist/safe-bash-presentation-engine/image-replacement.js +20 -20
  169. package/dist/safe-bash-presentation-engine/image-value.js +4 -4
  170. package/dist/safe-bash-presentation-engine/images.js +18 -18
  171. package/dist/safe-bash-presentation-engine/index.d.ts +1 -1
  172. package/dist/safe-bash-presentation-engine/index.js +95 -93
  173. package/dist/safe-bash-presentation-engine/layouts.js +15 -15
  174. package/dist/safe-bash-presentation-engine/length.js +3 -3
  175. package/dist/safe-bash-presentation-engine/links.js +15 -15
  176. package/dist/safe-bash-presentation-engine/masters.js +14 -14
  177. package/dist/safe-bash-presentation-engine/media-editing.js +23 -23
  178. package/dist/safe-bash-presentation-engine/media-extraction.js +16 -16
  179. package/dist/safe-bash-presentation-engine/media.js +15 -15
  180. package/dist/safe-bash-presentation-engine/memberships.js +14 -14
  181. package/dist/safe-bash-presentation-engine/notes.js +15 -15
  182. package/dist/safe-bash-presentation-engine/ole-enum.js +4 -4
  183. package/dist/safe-bash-presentation-engine/ole-insertion.js +19 -19
  184. package/dist/safe-bash-presentation-engine/opaque-objects.js +9 -9
  185. package/dist/safe-bash-presentation-engine/package-reader.js +5 -5
  186. package/dist/safe-bash-presentation-engine/package-tools.js +15 -15
  187. package/dist/safe-bash-presentation-engine/package-uri.js +3 -3
  188. package/dist/safe-bash-presentation-engine/package-writer.js +4 -4
  189. package/dist/safe-bash-presentation-engine/presentation-model.js +54 -54
  190. package/dist/safe-bash-presentation-engine/presentation-settings.js +13 -13
  191. package/dist/safe-bash-presentation-engine/properties.js +15 -15
  192. package/dist/safe-bash-presentation-engine/relationships.js +4 -4
  193. package/dist/safe-bash-presentation-engine/resource-limits.js +1 -1
  194. package/dist/safe-bash-presentation-engine/retained-inspection.js +12 -12
  195. package/dist/safe-bash-presentation-engine/retained-package.js +4 -4
  196. package/dist/safe-bash-presentation-engine/retained-slide-settings.d.ts +15 -0
  197. package/dist/safe-bash-presentation-engine/retained-text.js +17 -17
  198. package/dist/safe-bash-presentation-engine/sanitize.js +16 -16
  199. package/dist/safe-bash-presentation-engine/selectors.js +10 -10
  200. package/dist/safe-bash-presentation-engine/shape-groups.js +30 -30
  201. package/dist/safe-bash-presentation-engine/shape-operations.js +29 -29
  202. package/dist/safe-bash-presentation-engine/shape-path-operations.js +31 -31
  203. package/dist/safe-bash-presentation-engine/shape-paths.js +15 -15
  204. package/dist/safe-bash-presentation-engine/shape-presets.js +3 -3
  205. package/dist/safe-bash-presentation-engine/shape-selection.js +30 -30
  206. package/dist/safe-bash-presentation-engine/shape-transforms.js +17 -17
  207. package/dist/safe-bash-presentation-engine/shapes.js +26 -26
  208. package/dist/safe-bash-presentation-engine/slide-copy.js +16 -16
  209. package/dist/safe-bash-presentation-engine/slide-import.js +17 -17
  210. package/dist/safe-bash-presentation-engine/slide-merge-split.js +19 -19
  211. package/dist/safe-bash-presentation-engine/slide-model.js +42 -42
  212. package/dist/safe-bash-presentation-engine/slide-removal.js +17 -17
  213. package/dist/safe-bash-presentation-engine/slide-transfer-budget.js +9 -9
  214. package/dist/safe-bash-presentation-engine/slides.d.ts +2 -0
  215. package/dist/safe-bash-presentation-engine/slides.js +21 -16
  216. package/dist/safe-bash-presentation-engine/table-operations.js +32 -32
  217. package/dist/safe-bash-presentation-engine/table-spans.js +31 -31
  218. package/dist/safe-bash-presentation-engine/tables.js +30 -30
  219. package/dist/safe-bash-presentation-engine/tags.js +15 -15
  220. package/dist/safe-bash-presentation-engine/template-bindings.js +32 -32
  221. package/dist/safe-bash-presentation-engine/template-repeat.js +39 -39
  222. package/dist/safe-bash-presentation-engine/text-fitting.js +26 -26
  223. package/dist/safe-bash-presentation-engine/text-frames.js +26 -26
  224. package/dist/safe-bash-presentation-engine/text-paragraphs.js +26 -26
  225. package/dist/safe-bash-presentation-engine/text-reading.js +11 -11
  226. package/dist/safe-bash-presentation-engine/text-replacement.js +16 -16
  227. package/dist/safe-bash-presentation-engine/text-runs.js +19 -19
  228. package/dist/safe-bash-presentation-engine/themes.js +15 -15
  229. package/dist/safe-bash-presentation-engine/transitions.js +15 -15
  230. package/dist/safe-bash-presentation-engine/validation.js +9 -9
  231. package/dist/safe-bash-presentation-engine/xml-parts.js +15 -15
  232. package/dist/safe-bash-presentation-engine/xml-view.js +3 -3
  233. package/dist/safe-bash-presentation-engine/xml.js +3 -3
  234. package/dist/safe-bash-xml-engine/json.d.ts +1 -0
  235. package/dist/safe-bash-xml-engine/json.js +203 -0
  236. package/dist/safe-bash-xml-engine/stored-json.d.ts +5 -0
  237. package/dist/spreadsheet-engine/rendering/print/bidi-runs.d.ts +5 -0
  238. package/dist/spreadsheet-engine/rendering/print/bidi-runs.js +35 -0
  239. package/dist/spreadsheet-engine/rendering/print/control-bidi.d.ts +8 -0
  240. package/dist/spreadsheet-engine/rendering/print/control-bidi.js +80 -0
  241. package/dist/spreadsheet-format-xls/biff-encrypted-properties.d.ts +4 -4
  242. package/dist/spreadsheet-format-xls/biff-encrypted-properties.js +36 -23
  243. package/dist/spreadsheet-format-xls/biff-encryption.js +1 -1
  244. package/dist/spreadsheet-format-xls/biff-property-bytes.d.ts +4 -1
  245. package/dist/spreadsheet-format-xls/biff-property-bytes.js +1 -1
  246. package/dist/spreadsheet-format-xls/biff-range.js +1 -1
  247. package/package.json +5 -2
  248. package/dist/safe-bash/command-chunks/pdf-LOZAXXS6-ERI57IAV.js +0 -557
@@ -1,30 +1,30 @@
1
1
  import {
2
2
  readPackage
3
- } from "./chunk-SFCERNHU.js";
3
+ } from "./chunk-XPD636C4.js";
4
4
  import {
5
5
  readBinary
6
- } from "./chunk-KMMAJ6H6.js";
6
+ } from "./chunk-PNGDJA6M.js";
7
7
  import {
8
8
  equationOpaqueElements,
9
9
  interpretCompatibility
10
- } from "./chunk-6UHGIWFX.js";
10
+ } from "./chunk-2ZFLMWOX.js";
11
11
  import {
12
12
  parseXmlPart
13
- } from "./chunk-5L6GHFRW.js";
13
+ } from "./chunk-554Z6IKP.js";
14
14
  import {
15
15
  parseContentTypes
16
- } from "./chunk-DVQBZXMQ.js";
16
+ } from "./chunk-WJCN2IXI.js";
17
17
  import {
18
18
  readRelationshipGraph
19
- } from "./chunk-NTRZMQZP.js";
19
+ } from "./chunk-ZMHEGDU2.js";
20
20
  import {
21
21
  asciiKey,
22
22
  partName
23
- } from "./chunk-AXWPJRY6.js";
23
+ } from "./chunk-36XGIPOG.js";
24
24
  import {
25
25
  OfficeError,
26
26
  resolveOfficeResources
27
- } from "./chunk-KJ3PEDI2.js";
27
+ } from "./chunk-Q73EMLLZ.js";
28
28
 
29
29
  // packages/safe-bash-presentation-engine/src/selectors.ts
30
30
  import { sha256 as sha2562 } from "@noble/hashes/sha2.js";
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  readBinary
3
- } from "./chunk-KMMAJ6H6.js";
3
+ } from "./chunk-PNGDJA6M.js";
4
4
  import {
5
5
  asciiKey,
6
6
  partName
7
- } from "./chunk-AXWPJRY6.js";
7
+ } from "./chunk-36XGIPOG.js";
8
8
  import {
9
9
  OfficeError,
10
10
  resolveOfficeResources
11
- } from "./chunk-KJ3PEDI2.js";
11
+ } from "./chunk-Q73EMLLZ.js";
12
12
  import {
13
13
  createZipCodec
14
14
  } from "./chunk-IOEUZ4EA.js";
@@ -4,26 +4,26 @@ import {
4
4
  readConnector,
5
5
  removeDrawingObjects,
6
6
  validateConnectorUpdate
7
- } from "./chunk-HQYFRQ5W.js";
7
+ } from "./chunk-ZIIO6GRY.js";
8
8
  import {
9
9
  nodeFor,
10
10
  selected,
11
11
  validateSelection
12
- } from "./chunk-6XVMWFHD.js";
12
+ } from "./chunk-TW73OXPR.js";
13
13
  import {
14
14
  ShapeIdAllocator
15
- } from "./chunk-7GXUCQI4.js";
15
+ } from "./chunk-WXRYDALR.js";
16
16
  import {
17
17
  child,
18
18
  loadShared,
19
19
  required
20
- } from "./chunk-ORZRWT62.js";
20
+ } from "./chunk-56NYSX65.js";
21
21
  import {
22
22
  SelectionError
23
- } from "./chunk-S4IIOSRA.js";
23
+ } from "./chunk-X7FA7ZD5.js";
24
24
  import {
25
25
  OfficeError
26
- } from "./chunk-KJ3PEDI2.js";
26
+ } from "./chunk-Q73EMLLZ.js";
27
27
 
28
28
  // packages/safe-bash-presentation-engine/src/connector-operations.ts
29
29
  function optionsFor(options, action) {
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  readTextBodies,
3
3
  validateTextReadingOptions
4
- } from "./chunk-HONWGFDA.js";
4
+ } from "./chunk-33YCKZZX.js";
5
5
  import {
6
6
  loadShared
7
- } from "./chunk-ORZRWT62.js";
7
+ } from "./chunk-56NYSX65.js";
8
8
  import {
9
9
  SelectionError
10
- } from "./chunk-S4IIOSRA.js";
10
+ } from "./chunk-X7FA7ZD5.js";
11
11
  import {
12
12
  protectedEquationNodes
13
- } from "./chunk-6UHGIWFX.js";
13
+ } from "./chunk-2ZFLMWOX.js";
14
14
  import {
15
15
  parseXmlPart
16
- } from "./chunk-5L6GHFRW.js";
16
+ } from "./chunk-554Z6IKP.js";
17
17
  import {
18
18
  OfficeError
19
- } from "./chunk-KJ3PEDI2.js";
19
+ } from "./chunk-Q73EMLLZ.js";
20
20
 
21
21
  // packages/safe-bash-presentation-engine/src/text-replacement.ts
22
22
  function authored(value, maximum) {
@@ -1,25 +1,25 @@
1
1
  import {
2
2
  readTextBodies,
3
3
  validateTextReadingOptions
4
- } from "./chunk-HONWGFDA.js";
4
+ } from "./chunk-33YCKZZX.js";
5
5
  import {
6
6
  colorMerge,
7
7
  defineXmlEnum,
8
8
  readRunColor,
9
9
  validateRunColor
10
- } from "./chunk-53JP3S6H.js";
10
+ } from "./chunk-5HPU7D36.js";
11
11
  import {
12
12
  loadShared
13
- } from "./chunk-ORZRWT62.js";
13
+ } from "./chunk-56NYSX65.js";
14
14
  import {
15
15
  SelectionError
16
- } from "./chunk-S4IIOSRA.js";
16
+ } from "./chunk-X7FA7ZD5.js";
17
17
  import {
18
18
  protectedEquationNodes
19
- } from "./chunk-6UHGIWFX.js";
19
+ } from "./chunk-2ZFLMWOX.js";
20
20
  import {
21
21
  OfficeError
22
- } from "./chunk-KJ3PEDI2.js";
22
+ } from "./chunk-Q73EMLLZ.js";
23
23
 
24
24
  // packages/safe-bash-presentation-engine/src/text-runs.ts
25
25
  var UnderlineValue = /* @__PURE__ */ ((UnderlineValue2) => {
@@ -1,34 +1,34 @@
1
1
  import {
2
2
  escape
3
- } from "./chunk-ORZRWT62.js";
3
+ } from "./chunk-56NYSX65.js";
4
4
  import {
5
5
  writePackageArchive
6
- } from "./chunk-VPDSQPSN.js";
6
+ } from "./chunk-DM2CPMB4.js";
7
7
  import {
8
8
  buildSelectionIndex,
9
9
  readSelectionIndex
10
- } from "./chunk-S4IIOSRA.js";
10
+ } from "./chunk-X7FA7ZD5.js";
11
11
  import {
12
12
  readPackage
13
- } from "./chunk-SFCERNHU.js";
13
+ } from "./chunk-XPD636C4.js";
14
14
  import {
15
15
  readBinary
16
- } from "./chunk-KMMAJ6H6.js";
16
+ } from "./chunk-PNGDJA6M.js";
17
17
  import {
18
18
  parseXmlPart
19
- } from "./chunk-5L6GHFRW.js";
19
+ } from "./chunk-554Z6IKP.js";
20
20
  import {
21
21
  parseContentTypes
22
- } from "./chunk-DVQBZXMQ.js";
22
+ } from "./chunk-WJCN2IXI.js";
23
23
  import {
24
24
  readRelationshipGraph
25
- } from "./chunk-NTRZMQZP.js";
25
+ } from "./chunk-ZMHEGDU2.js";
26
26
  import {
27
27
  relativePartReference
28
- } from "./chunk-AXWPJRY6.js";
28
+ } from "./chunk-36XGIPOG.js";
29
29
  import {
30
30
  OfficeError
31
- } from "./chunk-KJ3PEDI2.js";
31
+ } from "./chunk-Q73EMLLZ.js";
32
32
 
33
33
  // packages/safe-bash-presentation-engine/src/links.ts
34
34
  var dialects = [
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  readTextBodies,
3
3
  validateTextReadingOptions
4
- } from "./chunk-HONWGFDA.js";
4
+ } from "./chunk-33YCKZZX.js";
5
5
  import {
6
6
  loadShared
7
- } from "./chunk-ORZRWT62.js";
7
+ } from "./chunk-56NYSX65.js";
8
8
  import {
9
9
  SelectionError
10
- } from "./chunk-S4IIOSRA.js";
10
+ } from "./chunk-X7FA7ZD5.js";
11
11
  import {
12
12
  OfficeError
13
- } from "./chunk-KJ3PEDI2.js";
13
+ } from "./chunk-Q73EMLLZ.js";
14
14
 
15
15
  // packages/safe-bash-presentation-engine/src/fields.ts
16
16
  import { SaxesParser } from "saxes";
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  readXmlCoordinate,
3
3
  readXmlInteger
4
- } from "./chunk-KCTV4NVX.js";
4
+ } from "./chunk-CRV2Q3PB.js";
5
5
  import {
6
6
  Length
7
- } from "./chunk-Z54Z3KRN.js";
7
+ } from "./chunk-6QBMND4A.js";
8
8
  import {
9
9
  attr,
10
10
  child
11
- } from "./chunk-ORZRWT62.js";
11
+ } from "./chunk-56NYSX65.js";
12
12
  import {
13
13
  OfficeError
14
- } from "./chunk-KJ3PEDI2.js";
14
+ } from "./chunk-Q73EMLLZ.js";
15
15
 
16
16
  // packages/safe-bash-presentation-engine/src/shape-transforms.ts
17
17
  function invalid() {
@@ -7,7 +7,7 @@ import {
7
7
  createMediaAstRegistry,
8
8
  encodeUtf8,
9
9
  parseStreamingManifest
10
- } from "./chunk-DCD32BEY.js";
10
+ } from "./chunk-VU3EQF7F.js";
11
11
 
12
12
  // packages/safe-bash-command-ffprobe/src/wav-tags.ts
13
13
  import { IntegerTable, PagedStorage } from "@poe-platform/safe-fs/storage";
@@ -506,7 +506,7 @@ async function openProbeStream(context, path) {
506
506
  if (!context.fs.readStream || capabilities.streamingRead === false || context.fs.capabilities.streamingRead === false) return void 0;
507
507
  return readFileStream(context.fs, path, { signal: context.signal, chunkSize: 16384 });
508
508
  }
509
- async function sniffWavStream(source, signal, account) {
509
+ async function sniffMediaStream(source, signal, account) {
510
510
  const iterator = source[Symbol.asyncIterator](), prefix = new Uint8Array(12);
511
511
  let size = 0, total = 0, ended = false;
512
512
  let remainder = new Uint8Array(0);
@@ -566,8 +566,7 @@ async function sniffWavStream(source, signal, account) {
566
566
  }
567
567
  }
568
568
  }
569
- const text = new TextDecoder().decode(prefix);
570
- return { wav: size === 12 && text.slice(0, 4) === "RIFF" && text.slice(8) === "WAVE", stream: replay() };
569
+ return { prefix: prefix.subarray(0, size), stream: replay() };
571
570
  }
572
571
  async function withStagedProbeSource(context, input, probe2, retain) {
573
572
  const storage = new PagedStorage3(context, 4);
@@ -1107,7 +1106,7 @@ function parseProbeArguments(args) {
1107
1106
  inputTarget
1108
1107
  };
1109
1108
  }
1110
- async function probeSourceMetadata(context, plugin, input, filename, budget, records, onAudio, retain, detect = false) {
1109
+ async function probeSourceMetadata(context, plugins, input, filename, budget, records, onAudio, retain, detect = false) {
1111
1110
  let sourceFailed = false;
1112
1111
  const source = { size: input.size, async read(offset, length) {
1113
1112
  try {
@@ -1119,17 +1118,13 @@ async function probeSourceMetadata(context, plugin, input, filename, budget, rec
1119
1118
  throw error;
1120
1119
  }
1121
1120
  } };
1122
- if (detect || onAudio) {
1123
- if (input.size < 12) {
1124
- return void 0;
1125
- }
1126
- const header = await source.read(0, 12);
1121
+ let plugin = plugins[0];
1122
+ if (detect) {
1123
+ const header = await source.read(0, Math.min(12, input.size));
1127
1124
  context.signal.throwIfAborted();
1128
- const text = new TextDecoder().decode(header);
1129
- if (text.slice(0, 4) !== "RIFF" || text.slice(8) !== "WAVE") {
1130
- return void 0;
1131
- }
1125
+ plugin = plugins.find((candidate) => candidate.detect(header, filename));
1132
1126
  }
1127
+ if (!plugin) return void 0;
1133
1128
  const result = await plugin.probeMetadata(source, { ...records, filename, signal: context.signal, budget, limits: budget.limits });
1134
1129
  if (onAudio) {
1135
1130
  const tags = new WavTags(source, context);
@@ -1150,8 +1145,8 @@ async function probeSourceMetadata(context, plugin, input, filename, budget, rec
1150
1145
  }
1151
1146
  return result;
1152
1147
  }
1153
- async function probeRetainedMetadata(context, plugin, path, filename, budget, records, onAudio, retain, detect = false) {
1154
- if (!plugin.canDemux || !plugin.probeMetadata || !context.fs.openReadFile) return void 0;
1148
+ async function probeRetainedMetadata(context, plugins, path, filename, budget, records, onAudio, retain, detect = false) {
1149
+ if (!plugins.length || !context.fs.openReadFile) return void 0;
1155
1150
  context.signal.throwIfAborted();
1156
1151
  const capabilities = await context.fs.capabilitiesFor?.(path, { signal: context.signal }) ?? context.fs.capabilities;
1157
1152
  context.signal.throwIfAborted();
@@ -1166,7 +1161,7 @@ async function probeRetainedMetadata(context, plugin, path, filename, budget, re
1166
1161
  if (!Number.isSafeInteger(stat.size) || stat.size < 0) throw new Error("Invalid media source size");
1167
1162
  context.inputBudget?.check(stat.size);
1168
1163
  budget.checkInputBytes(stat.size);
1169
- const result = await probeSourceMetadata(context, plugin, {
1164
+ const result = await probeSourceMetadata(context, plugins, {
1170
1165
  size: stat.size,
1171
1166
  read: (offset, length) => handle.read(offset, length, { signal: context.signal })
1172
1167
  }, filename, budget, records, onAudio, retain, detect);
@@ -1287,24 +1282,25 @@ function createFfprobeCommand(options = {}) {
1287
1282
  automaticAudio = false;
1288
1283
  }
1289
1284
  }
1290
- const automaticPlugin = !options.asts && !explicitFormat ? registry.findByFormatName("wav") : void 0;
1285
+ const automaticPlugins = !options.asts && !explicitFormat ? astPlugins.filter((plugin) => plugin.canDemux && plugin.probeMetadata && (!automaticAudio || plugin === registry.findByFormatName("wav"))) : [];
1291
1286
  const explicitPlugin = explicitFormat ? registry.findByFormatName(explicitFormat) : void 0;
1292
- const retainedPlugin = explicitPlugin ?? automaticPlugin;
1293
- let probeResult = retainedPlugin && !isStdin(inputTarget) ? await probeRetainedMetadata(context, retainedPlugin, resolvePath(context.cwd, inputTarget), inputTarget, budget, { showPackets, showFrames }, automaticAudio ? (audio, size, tags) => {
1287
+ const retainedPlugins = explicitPlugin ? explicitPlugin.canDemux && explicitPlugin.probeMetadata ? [explicitPlugin] : [] : automaticPlugins;
1288
+ let probeResult = retainedPlugins.length && !isStdin(inputTarget) ? await probeRetainedMetadata(context, retainedPlugins, resolvePath(context.cwd, inputTarget), inputTarget, budget, { showPackets, showFrames }, automaticAudio ? (audio, size, tags) => {
1294
1289
  audioInput = { audio, size, args };
1295
1290
  storedTags = tags;
1296
- } : void 0, retain, automaticPlugin !== void 0) : void 0;
1291
+ } : void 0, retain, !explicitPlugin) : void 0;
1297
1292
  if (!probeResult && explicitPlugin)
1298
1293
  probeResult = await probeStreamMetadata(context, explicitPlugin, inputTarget, budget, { showPackets, showFrames });
1299
1294
  let replay;
1300
- if (!probeResult && automaticPlugin?.probeMetadata) {
1295
+ if (!probeResult && automaticPlugins.length) {
1301
1296
  const source = await openProbeStream(context, isStdin(inputTarget) ? void 0 : resolvePath(context.cwd, inputTarget));
1302
1297
  if (source) {
1303
- const sniffed = await sniffWavStream(source, context.signal, (total) => {
1298
+ const sniffed = await sniffMediaStream(source, context.signal, (total) => {
1304
1299
  context.inputBudget?.check(total);
1305
1300
  budget.checkInputBytes(total);
1306
1301
  });
1307
- if (sniffed.wav) {
1302
+ const automaticPlugin = automaticPlugins.find((plugin) => plugin.detect(sniffed.prefix, inputTarget));
1303
+ if (automaticPlugin) {
1308
1304
  if (!automaticAudio && automaticPlugin.probeMetadataStream) {
1309
1305
  probeResult = await automaticPlugin.probeMetadataStream(sniffed.stream, {
1310
1306
  showPackets,
@@ -1316,7 +1312,7 @@ function createFfprobeCommand(options = {}) {
1316
1312
  });
1317
1313
  context.signal.throwIfAborted();
1318
1314
  } else {
1319
- probeResult = await withStagedProbeSource(context, sniffed.stream, (source2) => probeSourceMetadata(context, automaticPlugin, source2, inputTarget, budget, { showPackets, showFrames }, automaticAudio ? (audio, size, tags) => {
1315
+ probeResult = await withStagedProbeSource(context, sniffed.stream, (source2) => probeSourceMetadata(context, [automaticPlugin], source2, inputTarget, budget, { showPackets, showFrames }, automaticAudio ? (audio, size, tags) => {
1320
1316
  audioInput = { audio, size, args };
1321
1317
  storedTags = tags;
1322
1318
  } : void 0, retain), retain);
@@ -3,13 +3,13 @@ import {
3
3
  child,
4
4
  invalid,
5
5
  loadShared
6
- } from "./chunk-ORZRWT62.js";
6
+ } from "./chunk-56NYSX65.js";
7
7
  import {
8
8
  SelectionError
9
- } from "./chunk-S4IIOSRA.js";
9
+ } from "./chunk-X7FA7ZD5.js";
10
10
  import {
11
11
  OfficeError
12
- } from "./chunk-KJ3PEDI2.js";
12
+ } from "./chunk-Q73EMLLZ.js";
13
13
 
14
14
  // packages/safe-bash-presentation-engine/src/transitions.ts
15
15
  import { SaxesParser } from "saxes";
@@ -1,25 +1,25 @@
1
1
  import {
2
2
  Presentation
3
- } from "./chunk-YTFWPJ3F.js";
3
+ } from "./chunk-5LI2DLNZ.js";
4
4
  import {
5
5
  SlidePlaceholder
6
- } from "./chunk-YUVH6CE4.js";
6
+ } from "./chunk-ATTWQVR2.js";
7
7
  import {
8
8
  chartTypes,
9
9
  validateChartData
10
- } from "./chunk-DJVRDUCA.js";
10
+ } from "./chunk-LXLLA4PM.js";
11
11
  import {
12
12
  admitImage
13
- } from "./chunk-UQ6UIZMM.js";
13
+ } from "./chunk-QD7ZRDUN.js";
14
14
  import {
15
15
  readSelectionIndex
16
- } from "./chunk-S4IIOSRA.js";
16
+ } from "./chunk-X7FA7ZD5.js";
17
17
  import {
18
18
  readBinary
19
- } from "./chunk-KMMAJ6H6.js";
19
+ } from "./chunk-PNGDJA6M.js";
20
20
  import {
21
21
  ValueError
22
- } from "./chunk-NXCMXD74.js";
22
+ } from "./chunk-S6R3IB36.js";
23
23
 
24
24
  // packages/safe-bash-presentation-engine/src/command-placeholder.ts
25
25
  async function insertPlaceholder(input, options, context) {
@@ -1,26 +1,26 @@
1
1
  import {
2
2
  readShape
3
- } from "./chunk-Z4QJMDK3.js";
3
+ } from "./chunk-IT7TAC3F.js";
4
4
  import {
5
5
  projectShapePoint
6
- } from "./chunk-H6F5SN2N.js";
6
+ } from "./chunk-YSMNXMAO.js";
7
7
  import {
8
8
  Length
9
- } from "./chunk-Z54Z3KRN.js";
9
+ } from "./chunk-6QBMND4A.js";
10
10
  import {
11
11
  attr,
12
12
  child,
13
13
  required
14
- } from "./chunk-ORZRWT62.js";
14
+ } from "./chunk-56NYSX65.js";
15
15
  import {
16
16
  parseXmlPart
17
- } from "./chunk-5L6GHFRW.js";
17
+ } from "./chunk-554Z6IKP.js";
18
18
  import {
19
19
  ValueError
20
- } from "./chunk-NXCMXD74.js";
20
+ } from "./chunk-S6R3IB36.js";
21
21
  import {
22
22
  OfficeError
23
- } from "./chunk-KJ3PEDI2.js";
23
+ } from "./chunk-Q73EMLLZ.js";
24
24
 
25
25
  // packages/safe-bash-presentation-engine/src/connectors.ts
26
26
  var connectorValues = { STRAIGHT: 1, ELBOW: 2, CURVE: 3, MIXED: -2 };
@@ -4,11 +4,11 @@ import {
4
4
  partName,
5
5
  relativePartReference,
6
6
  resolvePartReference
7
- } from "./chunk-AXWPJRY6.js";
7
+ } from "./chunk-36XGIPOG.js";
8
8
  import {
9
9
  OfficeError,
10
10
  resolveOfficeResources
11
- } from "./chunk-KJ3PEDI2.js";
11
+ } from "./chunk-Q73EMLLZ.js";
12
12
 
13
13
  // packages/safe-bash-presentation-engine/src/relationship-owner.ts
14
14
  function relationshipOwner(name) {
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  asciiKey,
3
3
  partName
4
- } from "./chunk-AXWPJRY6.js";
4
+ } from "./chunk-36XGIPOG.js";
5
5
  import {
6
6
  OfficeError,
7
7
  resolveOfficeResources
8
- } from "./chunk-KJ3PEDI2.js";
8
+ } from "./chunk-Q73EMLLZ.js";
9
9
  import {
10
10
  ZipStorageFailure,
11
11
  createStoredZipEntries
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  Si,
3
3
  gi
4
- } from "./chunk-CHR2OD2U.js";
4
+ } from "./chunk-5MB64DWR.js";
5
5
  import "./chunk-Z7ESJVFP.js";
6
6
  import "./chunk-WHWIZ2B7.js";
7
7
  import "./chunk-65DS4IOB.js";