@hiai-gg/docsmint 0.7.4 → 0.7.6

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 (246) hide show
  1. package/README.md +2 -2
  2. package/dist/backend/index.js +130026 -129609
  3. package/dist/backend-account-runtime-cleanup.js +2 -0
  4. package/dist/backend-api-key-facade.js +2 -0
  5. package/dist/backend-pipeline-cancellation.js +2 -0
  6. package/dist/frontend/CategoryDialog-D_xFSWGh.js +630 -0
  7. package/dist/frontend/ConfirmDialog-Cfq3D2Di.js +221 -0
  8. package/dist/frontend/{CreateSnapshotDialog-CojnWChs.js → CreateSnapshotDialog-BHODxZWK.js} +53 -52
  9. package/dist/frontend/{DatePicker-7FAbIOGg.js → DatePicker-CZyCnQ1q.js} +62 -64
  10. package/dist/frontend/{DeleteDialog-BIlqRb1u.js → DeleteDialog-DaJOO6SB.js} +17 -17
  11. package/dist/frontend/FolderNode-C_91NlEO.js +307 -0
  12. package/dist/frontend/{FolderTreeSelector-BMB1MS9N.js → FolderTreeSelector-DqO-f0nt.js} +7 -7
  13. package/dist/frontend/HiAiEditor-DtUGbQg6.js +3160 -0
  14. package/dist/frontend/{HiaiDocsExtensionProvider-OSn96BBw.js → HiaiDocsExtensionProvider-Cc3yzW5I.js} +5 -3
  15. package/dist/frontend/{Icon-Db-o32_E.js → Icon-y7xxAIC6.js} +1 -1
  16. package/dist/frontend/{SettingsDialog-DatuxOVX.js → SettingsDialog-BlIZqk2-.js} +169 -158
  17. package/dist/frontend/ShareDialog-CmX-VoJ9.js +273 -0
  18. package/dist/frontend/Sidebar-BVGm5BRR.js +2147 -0
  19. package/dist/frontend/{TagCreateDialog-Ch21yuWV.js → TagCreateDialog-BlGz4O9Z.js} +45 -36
  20. package/dist/frontend/action_cancel-Cuxsznzz.js +5 -0
  21. package/dist/frontend/action_close-BJm_52wm.js +5 -0
  22. package/dist/frontend/action_create-CtBQrRuj.js +5 -0
  23. package/dist/frontend/action_delete-BXBIzvn0.js +5 -0
  24. package/dist/frontend/action_go_to-VmK5jmEk.js +5 -0
  25. package/dist/frontend/action_loading-BLCGJVA9.js +5 -0
  26. package/dist/frontend/action_save-BRN2Z_GP.js +5 -0
  27. package/dist/frontend/api/attachments.js +1 -1
  28. package/dist/frontend/api/categories.js +1 -1
  29. package/dist/frontend/api/folders.js +1 -1
  30. package/dist/frontend/api/settings.js +1 -1
  31. package/dist/frontend/api/share.js +1 -1
  32. package/dist/frontend/api/tags.js +1 -1
  33. package/dist/frontend/app-shell.js +8 -8
  34. package/dist/frontend/{attachments-B2aH3hXF.js → attachments-C225gTA7.js} +2 -2
  35. package/dist/frontend/{auth-client-CnDZwPfp.js → auth-client-DCMne8vd.js} +630 -615
  36. package/dist/frontend/{bundle-mjs-DllmqUxV.js → bundle-mjs-CZ3g1Uzr.js} +35 -42
  37. package/dist/frontend/{camera-CzCxBOpc.js → camera-BI-BtnIm.js} +2 -2
  38. package/dist/frontend/{categories-X7gK8azc.js → categories-Bjcc41We.js} +1 -1
  39. package/dist/frontend/categories_update_error-4aSI8PTr.js +5 -0
  40. package/dist/frontend/{check-BIi-Ghti.js → check-sdTlLwi9.js} +2 -2
  41. package/dist/frontend/{chevron-down-C2ft7XUV.js → chevron-down-DlBnIE7Y.js} +2 -2
  42. package/dist/frontend/{circle-check-BrqfiQH1.js → circle-check-hWC-HeKu.js} +2 -2
  43. package/dist/frontend/{clock-Dz86E4Kz.js → clock-C4FHq-9q.js} +2 -2
  44. package/dist/frontend/collaboration.js +208 -103
  45. package/dist/frontend/components/category-dialog.js +1 -1
  46. package/dist/frontend/components/create-snapshot-dialog.js +1 -1
  47. package/dist/frontend/components/delete-dialog.js +1 -1
  48. package/dist/frontend/components/editor/compact-editor.js +1 -1
  49. package/dist/frontend/components/editor/document-editor.js +1 -1
  50. package/dist/frontend/components/editor/document-title.js +3 -2
  51. package/dist/frontend/components/editor/docx-serializer.js +140 -125
  52. package/dist/frontend/components/editor/extensions.js +1 -1
  53. package/dist/frontend/components/editor/markdown-toggle.js +9 -9
  54. package/dist/frontend/components/editor/markdown.js +1 -1
  55. package/dist/frontend/components/folder-node.js +1 -1
  56. package/dist/frontend/components/folder-tree-selector.js +1 -1
  57. package/dist/frontend/components/save-as-dialog.js +34 -25
  58. package/dist/frontend/components/settings.js +1 -1
  59. package/dist/frontend/components/share-dialog.js +1 -1
  60. package/dist/frontend/components/sidebar.js +1 -1
  61. package/dist/frontend/components/tag-create-dialog.js +1 -1
  62. package/dist/frontend/components/version-history.js +181 -176
  63. package/dist/frontend/{confirm-dialog-8T6vsWL7.js → confirm-dialog-BFTxjLv-.js} +46 -37
  64. package/dist/frontend/{copy-CvCh4ZVt.js → copy-4H99lwAQ.js} +2 -2
  65. package/dist/frontend/dashboard.js +462 -456
  66. package/dist/frontend/{db-Bo1t_76T.js → db-CbFRFAm2.js} +40 -38
  67. package/dist/frontend/{dialog-CiSwD-_v.js → dialog-tHAH3-9M.js} +10 -10
  68. package/dist/frontend/dist-Cg1BpNS7.js +2262 -0
  69. package/dist/frontend/dndzone-BrakBHwm.js +1375 -0
  70. package/dist/frontend/doc_title_label-DS9jSIh2.js +5 -0
  71. package/dist/frontend/doc_title_placeholder-DBQpM1aH.js +5 -0
  72. package/dist/frontend/{document-drop-coordinator-C4xHMjwC.js → document-drop-coordinator-Da7HcXgv.js} +1 -1
  73. package/dist/frontend/document-drop-coordinator.js +1 -1
  74. package/dist/frontend/{dropdown-menu-Bi5Iipwf.js → dropdown-menu-AJYeFPHu.js} +145 -145
  75. package/dist/frontend/{editor-content-sanitizer-CC_A8aaI.js → editor-content-sanitizer-CWjqiz0T.js} +30 -30
  76. package/dist/frontend/{editorExtensions--HusV819.js → editorExtensions-B-mKiWqq.js} +5085 -6220
  77. package/dist/frontend/editor_markdown_placeholder-BIWDUF1E.js +5 -0
  78. package/dist/frontend/error_dismiss-Dx_JbRjs.js +5 -0
  79. package/dist/frontend/error_generic-CzNtmBT4.js +5 -0
  80. package/dist/frontend/extension.js +1 -1
  81. package/dist/frontend/{folder-Cx60MRpi.js → folder-BAX6qBYy.js} +3 -3
  82. package/dist/frontend/{folders-ONG03Dkv.js → folders-CC0UWkZH.js} +3 -3
  83. package/dist/frontend/folders_rename-BJo4Gipq.js +5 -0
  84. package/dist/frontend/i18n.js +1007 -6
  85. package/dist/frontend/{identity-Ynrglr5i.js → identity-O4lAuchv.js} +2 -2
  86. package/dist/frontend/{input-N9dNSOWF.js → input-CrlYAH2S.js} +2 -2
  87. package/dist/frontend/{label-CK72_fw8.js → label-B0syEfns.js} +2 -2
  88. package/dist/frontend/{markdown-H6QB53zu.js → markdown-CMij27Gg.js} +1 -1
  89. package/dist/frontend/offline/identity.js +1 -1
  90. package/dist/frontend/{floating-layer-anchor-BGIndLY-.js → popper-layer-force-mount-BAYjg6Pp.js} +2476 -2564
  91. package/dist/frontend/{rolldown-runtime-CWhphoD1.js → rolldown-runtime-DArdT4gl.js} +2 -2
  92. package/dist/frontend/{rotate-ccw-ta4NosZ0.js → rotate-ccw-DtZDfSK3.js} +2 -2
  93. package/dist/frontend/runtime-CwWSo6c9.js +128 -0
  94. package/dist/frontend/{schemas-DwtKylCJ.js → schemas-CdPhcuru.js} +6 -7
  95. package/dist/frontend/scroll_to_top_aria-CvkNF_Hu.js +5 -0
  96. package/dist/frontend/search.js +237 -265
  97. package/dist/frontend/search_title-DOC0cPlQ.js +5 -0
  98. package/dist/frontend/{select-value-BD1DToYs.js → select-value-D9VqY5n5.js} +575 -572
  99. package/dist/frontend/{settings-BR48ihB4.js → settings-DJW8JkdF.js} +1 -1
  100. package/dist/frontend/{share-D7JtkC85.js → share-D5yo0JOh.js} +2 -1
  101. package/dist/frontend/share_copied-DPxVzfWh.js +5 -0
  102. package/dist/frontend/share_toggle_password-DdxfIjj1.js +5 -0
  103. package/dist/frontend/shared-document.js +1 -1
  104. package/dist/frontend/sidebar_uncategorized-qJ2_Aonf.js +5 -0
  105. package/dist/frontend/sort_relevance-DwYX5MO9.js +5 -0
  106. package/dist/frontend/{tag-DhVFHMcV.js → tag-ChpMfbfa.js} +3 -3
  107. package/dist/frontend/{tags-BdCaMGfj.js → tags-CzPNUoFw.js} +1 -1
  108. package/dist/frontend/tags_load_error-BKjA1pI0.js +5 -0
  109. package/dist/frontend/tags_new-BiNAJ9Bx.js +5 -0
  110. package/dist/frontend/{textarea-pl_fDBre.js → textarea-l_gRXsrH.js} +2 -2
  111. package/dist/frontend/theme.js +1 -1
  112. package/dist/frontend/{theme.svelte-DG3RS7wv.js → theme.svelte-Bzitjfh9.js} +2 -2
  113. package/dist/frontend/theme_system-BBNUhYKh.js +5 -0
  114. package/dist/frontend/utils/dndzone.js +1 -1
  115. package/dist/frontend/utils-B4LKx7VS.js +7 -0
  116. package/dist/frontend/{utils-DrfHTcei.js → utils-BovMJHdA.js} +2 -2
  117. package/dist/frontend/utils.js +1 -1
  118. package/dist/frontend/version_create_snapshot-3bu-0qzH.js +5 -0
  119. package/dist/frontend/version_restored_from-dVRN3Zdk.js +5 -0
  120. package/dist/frontend/version_snapshot_label_placeholder-DrMikux0.js +5 -0
  121. package/dist/frontend/weekday_we-C5H_M-df.js +5 -0
  122. package/dist/frontend/{x-cfdlccjs.js → x-B2ifxSH7.js} +2 -2
  123. package/dist/frontend/{awareness-snQ3RD9f.js → yjs-VUcKqaKW.js} +835 -944
  124. package/dist/frontend-ssr/api/attachments.js +92 -1
  125. package/dist/frontend-ssr/api/categories.js +1 -1
  126. package/dist/frontend-ssr/api/documents.js +1 -1
  127. package/dist/frontend-ssr/api/folders.js +1 -1
  128. package/dist/frontend-ssr/api/settings.js +1 -1
  129. package/dist/frontend-ssr/api/share.js +30 -1
  130. package/dist/frontend-ssr/api/tags.js +1 -1
  131. package/dist/frontend-ssr/app-shell.js +25 -18
  132. package/dist/frontend-ssr/assets/{CategoryDialog-DsXe54EF.js → CategoryDialog-C41IBNWG.js} +26 -35
  133. package/dist/frontend-ssr/assets/ConfirmDialog-CWO0HBaS.js +424 -0
  134. package/dist/frontend-ssr/assets/{CreateSnapshotDialog-D3-PjXVr.js → CreateSnapshotDialog-CECCRK0d.js} +12 -18
  135. package/dist/frontend-ssr/assets/{DatePicker-C9suIA1S.js → DatePicker-TZVeMZ2S.js} +32 -20
  136. package/dist/frontend-ssr/assets/{DeleteDialog-DxtMrS1O.js → DeleteDialog-BVnmzR2e.js} +5 -7
  137. package/dist/frontend-ssr/assets/{FolderNode-ChD10Elp.js → FolderNode-CClgk8BL.js} +7 -7
  138. package/dist/frontend-ssr/assets/{FolderTreeSelector-Bxi8EqMm.js → FolderTreeSelector-DnrKCYtl.js} +17 -20
  139. package/dist/frontend-ssr/assets/{HiAiEditor-2X3Uyg1B.js → HiAiEditor-_-m7MJDd.js} +330 -254
  140. package/dist/frontend-ssr/assets/{Icon-QwirKi9Y.js → Icon-Clqe8D8X.js} +28 -16
  141. package/dist/frontend-ssr/assets/{SettingsDialog-DDy0hN8x.js → SettingsDialog-BdvHRAxF.js} +45 -49
  142. package/dist/frontend-ssr/assets/{ShareDialog-BwW_wF4G.js → ShareDialog-DHPbSHZg.js} +5 -6
  143. package/dist/frontend-ssr/assets/{Sidebar-Dy-5gXOf.js → Sidebar-B3Saqn0O.js} +90 -93
  144. package/dist/frontend-ssr/assets/{TagCreateDialog-BPzgOaX8.js → TagCreateDialog-CPg-nG0D.js} +14 -14
  145. package/dist/frontend-ssr/assets/action_cancel-OVgQDP5Q.js +22 -0
  146. package/dist/frontend-ssr/assets/action_close-DagDyMXk.js +22 -0
  147. package/dist/frontend-ssr/assets/action_create-hqJWjyqh.js +22 -0
  148. package/dist/frontend-ssr/assets/action_delete-B1-16jSo.js +22 -0
  149. package/dist/frontend-ssr/assets/action_go_to-DQScgw7P.js +22 -0
  150. package/dist/frontend-ssr/assets/action_save-Bx7vlLZI.js +22 -0
  151. package/dist/frontend-ssr/assets/{api-keys-DIbclwj5.js → api-keys-CHOrbU-Q.js} +1 -1
  152. package/dist/frontend-ssr/assets/{auth-client-CojKIzqy.js → auth-client-DzkZlSQ8.js} +295 -261
  153. package/dist/frontend-ssr/assets/{camera-D6s20LDi.js → camera-Dwwtgvfn.js} +10 -6
  154. package/dist/frontend-ssr/assets/{categories-av9xjeg5.js → categories-C_dxFoHi.js} +1 -1
  155. package/dist/frontend-ssr/assets/categories_update_error-DkKgsqdD.js +202 -0
  156. package/dist/frontend-ssr/assets/{chevron-down-CvqKATjM.js → chevron-down-C6BTPJFz.js} +10 -6
  157. package/dist/frontend-ssr/assets/{chevron-right-DKD7WXjz.js → chevron-right-CseGE1qd.js} +10 -6
  158. package/dist/frontend-ssr/assets/{circle-check-CPS9dKEo.js → circle-check-BRhWPZo1.js} +10 -6
  159. package/dist/frontend-ssr/assets/{client-DZMkDkDn.js → client-rfwQYYHY.js} +4 -2
  160. package/dist/frontend-ssr/assets/{clock-CzsE58TH.js → clock-DpP_Y7WP.js} +10 -6
  161. package/dist/frontend-ssr/assets/{confirm-dialog-wYC07DPx.js → confirm-dialog-DeOR0SnQ.js} +44 -31
  162. package/dist/frontend-ssr/assets/{copy-DkkCPkBL.js → copy-DRMKiRZ0.js} +10 -6
  163. package/dist/frontend-ssr/assets/{db-BhwJPEkn.js → db-CUkQe9AU.js} +1 -1
  164. package/dist/frontend-ssr/assets/{dialog-ClcuF7nD.js → dialog--tDgDGw9.js} +12 -15
  165. package/dist/frontend-ssr/assets/{dndzone-DMvTO_Jz.js → dndzone-WtNaDxoQ.js} +309 -77
  166. package/dist/frontend-ssr/assets/doc_title_label-Ev_ltlh3.js +22 -0
  167. package/dist/frontend-ssr/assets/doc_title_placeholder-DSHpUb7w.js +22 -0
  168. package/dist/frontend-ssr/assets/{documents-CZ-wQohy.js → documents-CEuA1V6N.js} +1 -1
  169. package/dist/frontend-ssr/assets/{dropdown-menu-BKMGVNLL.js → dropdown-menu-CdEpn_LT.js} +74 -75
  170. package/dist/frontend-ssr/assets/editor_markdown_placeholder-BpezdkOr.js +42 -0
  171. package/dist/frontend-ssr/assets/editor_toolbar_undo-CKJAOqv2.js +562 -0
  172. package/dist/frontend-ssr/assets/error_generic-DTK0kwxT.js +42 -0
  173. package/dist/frontend-ssr/assets/{folder-DYIE-XPP.js → folder-DszunwKc.js} +10 -6
  174. package/dist/frontend-ssr/assets/{folders-BX30gHv6.js → folders-BOXeb9hz.js} +3 -2
  175. package/dist/frontend-ssr/assets/folders_rename-DvciOb6K.js +122 -0
  176. package/dist/frontend-ssr/assets/{identity-DcMMBKWg.js → identity-veXobEfE.js} +2 -2
  177. package/dist/frontend-ssr/assets/{input-DcDR8L8M.js → input-BlAj7LzC.js} +2 -2
  178. package/dist/frontend-ssr/assets/{label-Cz0_svJx.js → label-BRToaMg9.js} +2 -2
  179. package/dist/frontend-ssr/assets/{loader-circle-CIEWGyfP.js → loader-circle-BpRVrMZg.js} +10 -6
  180. package/dist/frontend-ssr/assets/{floating-layer-anchor-BoiiIEiK.js → popper-layer-force-mount-Djnq7l7a.js} +3684 -3674
  181. package/dist/frontend-ssr/assets/{rotate-ccw-dJSqPyTd.js → rotate-ccw-1GOD_yt_.js} +10 -6
  182. package/dist/frontend-ssr/assets/runtime-O78RzRqx.js +559 -0
  183. package/dist/frontend-ssr/assets/scroll_to_top_aria-BN4ZfOnM.js +22 -0
  184. package/dist/frontend-ssr/assets/search_title-CKUsQDT0.js +22 -0
  185. package/dist/frontend-ssr/assets/search_toggle_filters-hS9rvQhC.js +282 -0
  186. package/dist/frontend-ssr/assets/{select-value-CaDktvDW.js → select-value-BCWSsoTd.js} +204 -218
  187. package/dist/frontend-ssr/assets/{settings-Mp8EuFSn.js → settings-DwAcLGM1.js} +2 -2
  188. package/dist/frontend-ssr/assets/share_copied-BxU9rjXG.js +602 -0
  189. package/dist/frontend-ssr/assets/share_toggle_password-C6OmroqR.js +202 -0
  190. package/dist/frontend-ssr/assets/sidebar_uncategorized-Dx-LTd5w.js +102 -0
  191. package/dist/frontend-ssr/assets/{tag-BmiVU_Ej.js → tag-DFh6nF9R.js} +19 -11
  192. package/dist/frontend-ssr/assets/{tag-store.svelte-BM1lUI_P.js → tag-store.svelte-QRysvGKe.js} +1 -1
  193. package/dist/frontend-ssr/assets/{tags-BQsI_6OW.js → tags-BBCoFYro.js} +1 -1
  194. package/dist/frontend-ssr/assets/tags_load_error-CPrc6Gzs.js +362 -0
  195. package/dist/frontend-ssr/assets/tags_new-VmMr9v2V.js +62 -0
  196. package/dist/frontend-ssr/assets/{textarea-BGrjPOgU.js → textarea-BuszTo9i.js} +2 -2
  197. package/dist/frontend-ssr/assets/{theme.svelte-CN3BUhJG.js → theme.svelte-shZrSxz8.js} +1 -1
  198. package/dist/frontend-ssr/assets/theme_system-BucaNntV.js +362 -0
  199. package/dist/frontend-ssr/assets/{utils-Cg_R05dR.js → utils-BK35BJKQ.js} +1 -1
  200. package/dist/frontend-ssr/assets/version_create_snapshot-COHzwjle.js +22 -0
  201. package/dist/frontend-ssr/assets/version_restored_from-CertjFDl.js +242 -0
  202. package/dist/frontend-ssr/assets/version_snapshot_label_placeholder-Cy_rMCij.js +222 -0
  203. package/dist/frontend-ssr/assets/weekday_we-DrI3U230.js +422 -0
  204. package/dist/frontend-ssr/components/category-dialog.js +1 -1
  205. package/dist/frontend-ssr/components/create-snapshot-dialog.js +1 -1
  206. package/dist/frontend-ssr/components/delete-dialog.js +1 -1
  207. package/dist/frontend-ssr/components/editor/compact-editor.js +1 -1
  208. package/dist/frontend-ssr/components/editor/document-editor.js +1 -1
  209. package/dist/frontend-ssr/components/editor/document-title.js +2 -1
  210. package/dist/frontend-ssr/components/editor/markdown-toggle.js +2 -2
  211. package/dist/frontend-ssr/components/folder-node.js +1 -1
  212. package/dist/frontend-ssr/components/folder-tree-selector.js +1 -1
  213. package/dist/frontend-ssr/components/save-as-dialog.js +12 -14
  214. package/dist/frontend-ssr/components/settings.js +1 -1
  215. package/dist/frontend-ssr/components/share-dialog.js +1 -1
  216. package/dist/frontend-ssr/components/sidebar.js +1 -1
  217. package/dist/frontend-ssr/components/tag-create-dialog.js +1 -1
  218. package/dist/frontend-ssr/components/version-history.js +47 -51
  219. package/dist/frontend-ssr/dashboard.js +243 -232
  220. package/dist/frontend-ssr/i18n.js +6698 -1
  221. package/dist/frontend-ssr/offline/identity.js +1 -1
  222. package/dist/frontend-ssr/search.js +28 -31
  223. package/dist/frontend-ssr/shared-document.js +1 -2
  224. package/dist/frontend-ssr/theme.js +1 -1
  225. package/dist/frontend-ssr/utils/dndzone.js +1 -1
  226. package/dist/lifecycle-runtime.js +4437 -2019
  227. package/dist/mcp-cli.js +1 -1
  228. package/dist/mcp-server.js +1 -1
  229. package/package.json +7 -7
  230. package/packages/cli/src/index.ts +1 -1
  231. package/packages/db/src/schema.ts +2 -0
  232. package/server.json +2 -2
  233. package/dist/frontend/CategoryDialog-bQKMpVFD.js +0 -631
  234. package/dist/frontend/ConfirmDialog-DF7kgkyq.js +0 -139
  235. package/dist/frontend/FolderNode-Cf443LBa.js +0 -298
  236. package/dist/frontend/HiAiEditor-CMZ-eL8s.js +0 -2992
  237. package/dist/frontend/ShareDialog-Bwz2y3Le.js +0 -281
  238. package/dist/frontend/Sidebar-C_t5RrOJ.js +0 -2101
  239. package/dist/frontend/dist-DQa_OHOa.js +0 -268
  240. package/dist/frontend/dndzone-BzsOINtP.js +0 -1199
  241. package/dist/frontend/messages-DTRe4U2V.js +0 -1093
  242. package/dist/frontend/utils-CMQRlxbx.js +0 -7
  243. package/dist/frontend-ssr/assets/ConfirmDialog-DrH653ua.js +0 -136
  244. package/dist/frontend-ssr/assets/attachments-BdkOp8ha.js +0 -93
  245. package/dist/frontend-ssr/assets/messages-B1TjVIH8.js +0 -11147
  246. package/dist/frontend-ssr/assets/share-qTqvd6Lu.js +0 -30
@@ -1,4 +1,4 @@
1
- import { r as e } from "../../rolldown-runtime-CWhphoD1.js";
1
+ import { r as e } from "../../rolldown-runtime-DArdT4gl.js";
2
2
  //#region ../node_modules/.bun/docx@9.7.1/node_modules/docx/dist/index.mjs
3
3
  var t = Object.create, n = Object.defineProperty, r = Object.getOwnPropertyDescriptor, i = Object.getOwnPropertyNames, a = Object.getPrototypeOf, o = Object.prototype.hasOwnProperty, s = (e, t) => () => (e && (t = e(e = 0)), t), c = (e, t) => () => (t || (e((t = { exports: {} }).exports, t), e = null), t.exports), l = (e, t, a, s) => {
4
4
  if (t && typeof t == "object" || typeof t == "function") for (var c = i(t), l = 0, u = c.length, d; l < u; l++) d = c[l], !o.call(e, d) && d !== a && n(e, d, {
@@ -310,14 +310,14 @@ var S = class extends g {
310
310
  else throw TypeError("The \"emitter\" argument must be of type EventEmitter. Received type " + typeof e);
311
311
  }
312
312
  })), E = /* @__PURE__ */ c(((e, t) => {
313
- typeof Object.create == "function" ? t.exports = function(e, t) {
313
+ t.exports = typeof Object.create == "function" ? function(e, t) {
314
314
  t && (e.super_ = t, e.prototype = Object.create(t.prototype, { constructor: {
315
315
  value: e,
316
316
  enumerable: !1,
317
317
  writable: !0,
318
318
  configurable: !0
319
319
  } }));
320
- } : t.exports = function(e, t) {
320
+ } : function(e, t) {
321
321
  if (t) {
322
322
  e.super_ = t;
323
323
  var n = function() {};
@@ -680,7 +680,7 @@ var R, z, B, V, H, U, W, G, ee, K, te = s((() => {
680
680
  return e === 0 ? "" : arguments.length === 0 ? A(this, 0, e) : b.apply(this, arguments);
681
681
  }, s.prototype.toLocaleString = s.prototype.toString, s.prototype.equals = function(e) {
682
682
  if (!s.isBuffer(e)) throw TypeError("Argument must be a Buffer");
683
- return this === e ? !0 : s.compare(this, e) === 0;
683
+ return this === e || s.compare(this, e) === 0;
684
684
  }, s.prototype.inspect = function() {
685
685
  var t = "", n = e.INSPECT_MAX_BYTES;
686
686
  return t = this.toString("hex", 0, n).replace(/(.{2})/g, "$1 ").trim(), this.length > n && (t += " ... "), "<Buffer " + t + ">";
@@ -702,8 +702,10 @@ var R, z, B, V, H, U, W, G, ee, K, te = s((() => {
702
702
  if (typeof n == "string" ? (r = n, n = 0) : n > 2147483647 ? n = 2147483647 : n < -2147483648 && (n = -2147483648), n = +n, ae(n) && (n = i ? 0 : e.length - 1), n < 0 && (n = e.length + n), n >= e.length) {
703
703
  if (i) return -1;
704
704
  n = e.length - 1;
705
- } else if (n < 0) if (i) n = 0;
706
- else return -1;
705
+ } else if (n < 0) {
706
+ if (i) n = 0;
707
+ else return -1;
708
+ }
707
709
  if (typeof t == "string" && (t = s.from(t, r)), s.isBuffer(t)) return t.length === 0 ? -1 : C(e, t, n, r, i);
708
710
  if (typeof t == "number") return t &= 255, typeof Uint8Array.prototype.indexOf == "function" ? i ? Uint8Array.prototype.indexOf.call(e, t, n) : Uint8Array.prototype.lastIndexOf.call(e, t, n) : C(e, [t], n, r, i);
709
711
  throw TypeError("val must be string, number or Buffer");
@@ -1028,7 +1030,8 @@ var R, z, B, V, H, U, W, G, ee, K, te = s((() => {
1028
1030
  if (n > 56319) {
1029
1031
  (t -= 3) > -1 && a.push(239, 191, 189);
1030
1032
  continue;
1031
- } else if (o + 1 === r) {
1033
+ }
1034
+ if (o + 1 === r) {
1032
1035
  (t -= 3) > -1 && a.push(239, 191, 189);
1033
1036
  continue;
1034
1037
  }
@@ -1222,9 +1225,9 @@ var R, z, B, V, H, U, W, G, ee, K, te = s((() => {
1222
1225
  if (!e || typeof e != "object" || !("code" in e) || e.code !== "ERR_PROTO_ACCESS") throw e;
1223
1226
  }
1224
1227
  var a = !!i && r && r(Object.prototype, "__proto__"), o = Object, s = o.getPrototypeOf;
1225
- t.exports = a && typeof a.get == "function" ? n([a.get]) : typeof s == "function" ? function(e) {
1228
+ t.exports = a && typeof a.get == "function" ? n([a.get]) : typeof s == "function" && function(e) {
1226
1229
  return s(e == null ? e : o(e));
1227
- } : !1;
1230
+ };
1228
1231
  })), Re = /* @__PURE__ */ c(((e, t) => {
1229
1232
  var n = Oe(), r = ke(), i = Le();
1230
1233
  t.exports = n ? function(e) {
@@ -1544,7 +1547,7 @@ var R, z, B, V, H, U, W, G, ee, K, te = s((() => {
1544
1547
  }
1545
1548
  }, c = function(e) {
1546
1549
  try {
1547
- return s(e) ? !1 : (n.call(e), !0);
1550
+ return !s(e) && (n.call(e), !0);
1548
1551
  } catch {
1549
1552
  return !1;
1550
1553
  }
@@ -1624,7 +1627,7 @@ var R, z, B, V, H, U, W, G, ee, K, te = s((() => {
1624
1627
  if (arguments.length > 4 && typeof arguments[4] != "boolean" && arguments[4] !== null) throw new i("`nonWritable`, if provided, must be a boolean or null");
1625
1628
  if (arguments.length > 5 && typeof arguments[5] != "boolean" && arguments[5] !== null) throw new i("`nonConfigurable`, if provided, must be a boolean or null");
1626
1629
  if (arguments.length > 6 && typeof arguments[6] != "boolean") throw new i("`loose`, if provided, must be a boolean");
1627
- var s = arguments.length > 3 ? arguments[3] : null, c = arguments.length > 4 ? arguments[4] : null, l = arguments.length > 5 ? arguments[5] : null, u = arguments.length > 6 ? arguments[6] : !1, d = !!a && a(e, t);
1630
+ var s = arguments.length > 3 ? arguments[3] : null, c = arguments.length > 4 ? arguments[4] : null, l = arguments.length > 5 ? arguments[5] : null, u = arguments.length > 6 && arguments[6], d = !!a && a(e, t);
1628
1631
  if (n) n(e, t, {
1629
1632
  configurable: l === null && d ? d.configurable : !l,
1630
1633
  enumerable: s === null && d ? d.enumerable : !s,
@@ -1704,7 +1707,7 @@ var R, z, B, V, H, U, W, G, ee, K, te = s((() => {
1704
1707
  if (!e || typeof e != "object") return !1;
1705
1708
  if (!l) {
1706
1709
  var t = f(c(e), 8, -1);
1707
- return p(d, t) > -1 ? t : t === "Object" ? g(e) : !1;
1710
+ return p(d, t) > -1 ? t : t === "Object" && g(e);
1708
1711
  }
1709
1712
  return o ? h(e) : null;
1710
1713
  };
@@ -1835,7 +1838,7 @@ var R, z, B, V, H, U, W, G, ee, K, te = s((() => {
1835
1838
  return c(e) === "[object SharedArrayBuffer]";
1836
1839
  }
1837
1840
  function H(e) {
1838
- return B === void 0 ? !1 : (V.working === void 0 && (V.working = V(new B())), V.working ? V(e) : e instanceof B);
1841
+ return B !== void 0 && (V.working === void 0 && (V.working = V(new B())), V.working ? V(e) : e instanceof B);
1839
1842
  }
1840
1843
  e.isSharedArrayBuffer = H;
1841
1844
  function U(e) {
@@ -1948,13 +1951,15 @@ var R, z, B, V, H, U, W, G, ee, K, te = s((() => {
1948
1951
  a = a.replace(/[|\\{}()[\]^$+?.]/g, "\\$&").replace(/\*/g, ".*").replace(/,/g, "$|^").toUpperCase(), i = RegExp("^" + a + "$", "i");
1949
1952
  }
1950
1953
  e.debuglog = function(t) {
1951
- if (t = t.toUpperCase(), !r[t]) if (i.test(t)) {
1952
- var n = K.pid;
1953
- r[t] = function() {
1954
- var r = e.format.apply(e, arguments);
1955
- console.error("%s %d: %s", t, n, r);
1956
- };
1957
- } else r[t] = function() {};
1954
+ if (t = t.toUpperCase(), !r[t]) {
1955
+ if (i.test(t)) {
1956
+ var n = K.pid;
1957
+ r[t] = function() {
1958
+ var r = e.format.apply(e, arguments);
1959
+ console.error("%s %d: %s", t, n, r);
1960
+ };
1961
+ } else r[t] = function() {};
1962
+ }
1958
1963
  return r[t];
1959
1964
  };
1960
1965
  function o(t, n) {
@@ -2313,7 +2318,7 @@ var R, z, B, V, H, U, W, G, ee, K, te = s((() => {
2313
2318
  value: function() {
2314
2319
  if (this.length !== 0) {
2315
2320
  var e = this.head.data;
2316
- return this.length === 1 ? this.head = this.tail = null : this.head = this.head.next, --this.length, e;
2321
+ return this.head = this.length === 1 ? this.tail = null : this.head.next, --this.length, e;
2317
2322
  }
2318
2323
  }
2319
2324
  },
@@ -2359,7 +2364,7 @@ var R, z, B, V, H, U, W, G, ee, K, te = s((() => {
2359
2364
  for (e -= r.length; t = t.next;) {
2360
2365
  var i = t.data, a = e > i.length ? i.length : e;
2361
2366
  if (a === i.length ? r += i : r += i.slice(0, e), e -= a, e === 0) {
2362
- a === i.length ? (++n, t.next ? this.head = t.next : this.head = this.tail = null) : (this.head = t, t.data = i.slice(a));
2367
+ a === i.length ? (++n, this.head = t.next ? t.next : this.tail = null) : (this.head = t, t.data = i.slice(a));
2363
2368
  break;
2364
2369
  }
2365
2370
  ++n;
@@ -2374,7 +2379,7 @@ var R, z, B, V, H, U, W, G, ee, K, te = s((() => {
2374
2379
  for (n.data.copy(t), e -= n.data.length; n = n.next;) {
2375
2380
  var i = n.data, a = e > i.length ? i.length : e;
2376
2381
  if (i.copy(t, t.length - e, 0, a), e -= a, e === 0) {
2377
- a === i.length ? (++r, n.next ? this.head = n.next : this.head = this.tail = null) : (this.head = n, n.data = i.slice(a));
2382
+ a === i.length ? (++r, this.head = n.next ? n.next : this.tail = null) : (this.head = n, n.data = i.slice(a));
2378
2383
  break;
2379
2384
  }
2380
2385
  ++r;
@@ -2447,7 +2452,8 @@ var R, z, B, V, H, U, W, G, ee, K, te = s((() => {
2447
2452
  return e = e.map(function(e) {
2448
2453
  return String(e);
2449
2454
  }), n > 2 ? `one of ${t} ${e.slice(0, n - 1).join(", ")}, or ` + e[n - 1] : n === 2 ? `one of ${t} ${e[0]} or ${e[1]}` : `of ${t} ${e[0]}`;
2450
- } else return `of ${t} ${String(e)}`;
2455
+ }
2456
+ return `of ${t} ${String(e)}`;
2451
2457
  }
2452
2458
  function o(e, t, n) {
2453
2459
  return e.substr(!n || n < 0 ? 0 : +n, t.length) === t;
@@ -2483,7 +2489,7 @@ var R, z, B, V, H, U, W, G, ee, K, te = s((() => {
2483
2489
  if (!(isFinite(o) && Math.floor(o) === o) || o < 0) throw new n(a ? i : "highWaterMark", o);
2484
2490
  return Math.floor(o);
2485
2491
  }
2486
- return e.objectMode ? 16 : 16 * 1024;
2492
+ return e.objectMode ? 16 : 16384;
2487
2493
  }
2488
2494
  t.exports = { getHighWaterMark: i };
2489
2495
  })), ct = /* @__PURE__ */ c(((e, t) => {
@@ -2507,7 +2513,7 @@ var R, z, B, V, H, U, W, G, ee, K, te = s((() => {
2507
2513
  return !1;
2508
2514
  }
2509
2515
  var t = D.localStorage[e];
2510
- return t == null ? !1 : String(t).toLowerCase() === "true";
2516
+ return t != null && String(t).toLowerCase() === "true";
2511
2517
  }
2512
2518
  })), lt = /* @__PURE__ */ c(((e, t) => {
2513
2519
  O(), te(), t.exports = T;
@@ -2548,7 +2554,7 @@ var R, z, B, V, H, U, W, G, ee, K, te = s((() => {
2548
2554
  })();
2549
2555
  var w;
2550
2556
  typeof Symbol == "function" && Symbol.hasInstance && typeof Function.prototype[Symbol.hasInstance] == "function" ? (w = Function.prototype[Symbol.hasInstance], Object.defineProperty(T, Symbol.hasInstance, { value: function(e) {
2551
- return w.call(this, e) ? !0 : this === T ? e && e._writableState instanceof C : !1;
2557
+ return w.call(this, e) ? !0 : this === T && e && e._writableState instanceof C;
2552
2558
  } })) : w = function(e) {
2553
2559
  return e instanceof this;
2554
2560
  };
@@ -2567,7 +2573,7 @@ var R, z, B, V, H, U, W, G, ee, K, te = s((() => {
2567
2573
  }
2568
2574
  function A(e, t, n, r) {
2569
2575
  var i;
2570
- return n === null ? i = new v() : typeof n != "string" && !t.objectMode && (i = new p("chunk", ["string", "Buffer"], n)), i ? (x(e, i), K.nextTick(r, i), !1) : !0;
2576
+ return n === null ? i = new v() : typeof n != "string" && !t.objectMode && (i = new p("chunk", ["string", "Buffer"], n)), !i || (x(e, i), K.nextTick(r, i), !1);
2571
2577
  }
2572
2578
  T.prototype.write = function(e, t, n) {
2573
2579
  var r = this._writableState, i = !1, a = !r.objectMode && l(e);
@@ -2712,7 +2718,7 @@ var R, z, B, V, H, U, W, G, ee, K, te = s((() => {
2712
2718
  Object.defineProperty(T.prototype, "destroyed", {
2713
2719
  enumerable: !1,
2714
2720
  get: function() {
2715
- return this._writableState === void 0 ? !1 : this._writableState.destroyed;
2721
+ return this._writableState !== void 0 && this._writableState.destroyed;
2716
2722
  },
2717
2723
  set: function(e) {
2718
2724
  this._writableState && (this._writableState.destroyed = e);
@@ -2766,7 +2772,7 @@ var R, z, B, V, H, U, W, G, ee, K, te = s((() => {
2766
2772
  return this._readableState === void 0 || this._writableState === void 0 ? !1 : this._readableState.destroyed && this._writableState.destroyed;
2767
2773
  },
2768
2774
  set: function(e) {
2769
- this._readableState === void 0 || this._writableState === void 0 || (this._readableState.destroyed = e, this._writableState.destroyed = e);
2775
+ this._readableState !== void 0 && this._writableState !== void 0 && (this._readableState.destroyed = e, this._writableState.destroyed = e);
2770
2776
  }
2771
2777
  });
2772
2778
  })), dt = /* @__PURE__ */ c(((e, t) => {
@@ -3133,7 +3139,7 @@ var R, z, B, V, H, U, W, G, ee, K, te = s((() => {
3133
3139
  Object.defineProperty(A.prototype, "destroyed", {
3134
3140
  enumerable: !1,
3135
3141
  get: function() {
3136
- return this._readableState === void 0 ? !1 : this._readableState.destroyed;
3142
+ return this._readableState !== void 0 && this._readableState.destroyed;
3137
3143
  },
3138
3144
  set: function(e) {
3139
3145
  this._readableState && (this._readableState.destroyed = e);
@@ -3153,11 +3159,12 @@ var R, z, B, V, H, U, W, G, ee, K, te = s((() => {
3153
3159
  else {
3154
3160
  var c;
3155
3161
  if (i || (c = N(o, t)), c) S(e, c);
3156
- else if (o.objectMode || t && t.length > 0) if (typeof t != "string" && !o.objectMode && Object.getPrototypeOf(t) !== a.prototype && (t = s(t)), r) o.endEmitted ? S(e, new v()) : M(e, o, t, !0);
3157
- else if (o.ended) S(e, new g());
3158
- else if (o.destroyed) return !1;
3159
- else o.reading = !1, o.decoder && !n ? (t = o.decoder.write(t), o.objectMode || t.length !== 0 ? M(e, o, t, !1) : B(e, o)) : M(e, o, t, !1);
3160
- else r || (o.reading = !1, B(e, o));
3162
+ else if (o.objectMode || t && t.length > 0) {
3163
+ if (typeof t != "string" && !o.objectMode && Object.getPrototypeOf(t) !== a.prototype && (t = s(t)), r) o.endEmitted ? S(e, new v()) : M(e, o, t, !0);
3164
+ else if (o.ended) S(e, new g());
3165
+ else if (o.destroyed) return !1;
3166
+ else o.reading = !1, o.decoder && !n ? (t = o.decoder.write(t), o.objectMode || t.length !== 0 ? M(e, o, t, !1) : B(e, o)) : M(e, o, t, !1);
3167
+ } else r || (o.reading = !1, B(e, o));
3161
3168
  }
3162
3169
  return !o.ended && (o.length < o.highWaterMark || o.length === 0);
3163
3170
  }
@@ -3236,9 +3243,7 @@ var R, z, B, V, H, U, W, G, ee, K, te = s((() => {
3236
3243
  case 1:
3237
3244
  i.pipes = [i.pipes, e];
3238
3245
  break;
3239
- default:
3240
- i.pipes.push(e);
3241
- break;
3246
+ default: i.pipes.push(e);
3242
3247
  }
3243
3248
  i.pipesCount += 1, u("pipe count=%d opts=%j", i.pipesCount, t);
3244
3249
  var a = (!t || t.end !== !1) && e !== K.stdout && e !== K.stderr ? s : g;
@@ -3556,7 +3561,7 @@ var R, z, B, V, H, U, W, G, ee, K, te = s((() => {
3556
3561
  (function(e) {
3557
3562
  e.parser = function(e, t) {
3558
3563
  return new n(e, t);
3559
- }, e.SAXParser = n, e.SAXStream = l, e.createStream = c, e.MAX_BUFFER_LENGTH = 64 * 1024;
3564
+ }, e.SAXParser = n, e.SAXStream = l, e.createStream = c, e.MAX_BUFFER_LENGTH = 65536;
3560
3565
  var t = [
3561
3566
  "comment",
3562
3567
  "sgmlDecl",
@@ -4062,11 +4067,13 @@ var R, z, B, V, H, U, W, G, ee, K, te = s((() => {
4062
4067
  }
4063
4068
  if (e.opt.xmlns) {
4064
4069
  var t = P(e.attribName, !0), n = t.prefix, r = t.local;
4065
- if (n === "xmlns") if (r === "xml" && e.attribValue !== f) M(e, "xml: prefix must be bound to " + f + "\nActual: " + e.attribValue);
4066
- else if (r === "xmlns" && e.attribValue !== p) M(e, "xmlns: prefix must be bound to " + p + "\nActual: " + e.attribValue);
4067
- else {
4068
- var i = e.tag, a = e.tags[e.tags.length - 1] || e;
4069
- i.ns === a.ns && (i.ns = Object.create(a.ns)), i.ns[r] = e.attribValue;
4070
+ if (n === "xmlns") {
4071
+ if (r === "xml" && e.attribValue !== f) M(e, "xml: prefix must be bound to " + f + "\nActual: " + e.attribValue);
4072
+ else if (r === "xmlns" && e.attribValue !== p) M(e, "xmlns: prefix must be bound to " + p + "\nActual: " + e.attribValue);
4073
+ else {
4074
+ var i = e.tag, a = e.tags[e.tags.length - 1] || e;
4075
+ i.ns === a.ns && (i.ns = Object.create(a.ns)), i.ns[r] = e.attribValue;
4076
+ }
4070
4077
  }
4071
4078
  e.attribList.push([e.attribName, e.attribValue]);
4072
4079
  } else e.tag.attributes[e.attribName] = e.attribValue, D(e, "onattribute", {
@@ -4098,7 +4105,7 @@ var R, z, B, V, H, U, W, G, ee, K, te = s((() => {
4098
4105
  }
4099
4106
  e.attribList.length = 0;
4100
4107
  }
4101
- e.tag.isSelfClosing = !!t, e.sawRoot = !0, e.tags.push(e.tag), D(e, "onopentag", e.tag), t || (!e.noscript && e.tagName.toLowerCase() === "script" ? e.state = w.SCRIPT : e.state = w.TEXT, e.tag = null, e.tagName = ""), e.attribName = e.attribValue = "", e.attribList.length = 0;
4108
+ e.tag.isSelfClosing = !!t, e.sawRoot = !0, e.tags.push(e.tag), D(e, "onopentag", e.tag), t || (e.state = !e.noscript && e.tagName.toLowerCase() === "script" ? w.SCRIPT : w.TEXT, e.tag = null, e.tagName = ""), e.attribName = e.attribValue = "", e.attribList.length = 0;
4102
4109
  }
4103
4110
  function L(e) {
4104
4111
  if (!e.tagName) {
@@ -4176,15 +4183,17 @@ var R, z, B, V, H, U, W, G, ee, K, te = s((() => {
4176
4183
  continue;
4177
4184
  case w.OPEN_WAKA:
4178
4185
  if (i === "!") t.state = w.SGML_DECL, t.sgmlDecl = "";
4179
- else if (!y(i)) if (S(h, i)) t.state = w.OPEN_TAG, t.tagName = i;
4180
- else if (i === "/") t.state = w.CLOSE_TAG, t.tagName = "";
4181
- else if (i === "?") t.state = w.PROC_INST, t.procInstName = t.procInstBody = "";
4182
- else {
4183
- if (M(t, "Unencoded <"), t.startTagPosition + 1 < t.position) {
4184
- var o = t.position - t.startTagPosition;
4185
- i = Array(o).join(" ") + i;
4186
+ else if (!y(i)) {
4187
+ if (S(h, i)) t.state = w.OPEN_TAG, t.tagName = i;
4188
+ else if (i === "/") t.state = w.CLOSE_TAG, t.tagName = "";
4189
+ else if (i === "?") t.state = w.PROC_INST, t.procInstName = t.procInstBody = "";
4190
+ else {
4191
+ if (M(t, "Unencoded <"), t.startTagPosition + 1 < t.position) {
4192
+ var o = t.position - t.startTagPosition;
4193
+ i = Array(o).join(" ") + i;
4194
+ }
4195
+ t.textNode += "<" + i, t.state = w.TEXT;
4186
4196
  }
4187
- t.textNode += "<" + i, t.state = w.TEXT;
4188
4197
  }
4189
4198
  continue;
4190
4199
  case w.SGML_DECL:
@@ -4280,10 +4289,8 @@ var R, z, B, V, H, U, W, G, ee, K, te = s((() => {
4280
4289
  continue;
4281
4290
  case w.CLOSE_TAG:
4282
4291
  if (t.tagName) i === ">" ? L(t) : S(g, i) ? t.tagName += i : t.script ? (t.script += "</" + t.tagName, t.tagName = "", t.state = w.SCRIPT) : (y(i) || M(t, "Invalid tagname in closing tag"), t.state = w.CLOSE_TAG_SAW_WHITE);
4283
- else {
4284
- if (y(i)) continue;
4285
- C(h, i) ? t.script ? (t.script += "</" + i, t.state = w.SCRIPT) : M(t, "Invalid tagname in closing tag.") : t.tagName = i;
4286
- }
4292
+ else if (y(i)) continue;
4293
+ else C(h, i) ? t.script ? (t.script += "</" + i, t.state = w.SCRIPT) : M(t, "Invalid tagname in closing tag.") : t.tagName = i;
4287
4294
  continue;
4288
4295
  case w.CLOSE_TAG_SAW_WHITE:
4289
4296
  if (y(i)) continue;
@@ -4300,9 +4307,7 @@ var R, z, B, V, H, U, W, G, ee, K, te = s((() => {
4300
4307
  case w.ATTRIB_VALUE_ENTITY_Q:
4301
4308
  s = w.ATTRIB_VALUE_QUOTED, c = "attribValue";
4302
4309
  break;
4303
- case w.ATTRIB_VALUE_ENTITY_U:
4304
- s = w.ATTRIB_VALUE_UNQUOTED, c = "attribValue";
4305
- break;
4310
+ case w.ATTRIB_VALUE_ENTITY_U: s = w.ATTRIB_VALUE_UNQUOTED, c = "attribValue";
4306
4311
  }
4307
4312
  i === ";" ? (t[c] += R(t), t.entity = "", t.state = s) : S(t.entity.length ? v : _, i) ? t.entity += i : (M(t, "Invalid character in entity name"), t[c] += "&" + t.entity + i, t.entity = "", t.state = s);
4308
4313
  continue;
@@ -4370,16 +4375,18 @@ var R, z, B, V, H, U, W, G, ee, K, te = s((() => {
4370
4375
  var t = Number(e);
4371
4376
  if (!isNaN(t)) return t;
4372
4377
  var n = e.toLowerCase();
4373
- return n === "true" ? !0 : n === "false" ? !1 : e;
4378
+ return n === "true" || n !== "false" && e;
4374
4379
  }
4375
4380
  function d(e, t) {
4376
4381
  var n;
4377
4382
  if (o.compact) {
4378
4383
  if (!c[o[e + "Key"]] && (a(o.alwaysArray) ? o.alwaysArray.indexOf(o[e + "Key"]) !== -1 : o.alwaysArray) && (c[o[e + "Key"]] = []), c[o[e + "Key"]] && !a(c[o[e + "Key"]]) && (c[o[e + "Key"]] = [c[o[e + "Key"]]]), e + "Fn" in o && typeof t == "string" && (t = o[e + "Fn"](t, c)), e === "instruction" && ("instructionFn" in o || "instructionNameFn" in o)) {
4379
- for (n in t) if (t.hasOwnProperty(n)) if ("instructionFn" in o) t[n] = o.instructionFn(t[n], n, c);
4380
- else {
4381
- var r = t[n];
4382
- delete t[n], t[o.instructionNameFn(n, r, c)] = r;
4384
+ for (n in t) if (t.hasOwnProperty(n)) {
4385
+ if ("instructionFn" in o) t[n] = o.instructionFn(t[n], n, c);
4386
+ else {
4387
+ var r = t[n];
4388
+ delete t[n], t[o.instructionNameFn(n, r, c)] = r;
4389
+ }
4383
4390
  }
4384
4391
  }
4385
4392
  a(c[o[e + "Key"]]) ? c[o[e + "Key"]].push(t) : c[o[e + "Key"]] = t;
@@ -5133,9 +5140,7 @@ var R, z, B, V, H, U, W, G, ee, K, te = s((() => {
5133
5140
  case Vn.CURRENT_SECTION:
5134
5141
  this.root.push(un()), this.root.push(new vn()), this.root.push(dn()), this.root.push(fn());
5135
5142
  break;
5136
- default:
5137
- this.root.push(new Bn(t));
5138
- break;
5143
+ default: this.root.push(new Bn(t));
5139
5144
  }
5140
5145
  continue;
5141
5146
  }
@@ -5203,7 +5208,10 @@ var R, z, B, V, H, U, W, G, ee, K, te = s((() => {
5203
5208
  function l(e, n, r, i) {
5204
5209
  var a = r - n;
5205
5210
  t(a % 4 == 0);
5206
- for (var o = Array(a / 4), s = 0, c = n; s < o.length; s++, c += 4) o[s] = (i === "big" ? e[c] << 24 | e[c + 1] << 16 | e[c + 2] << 8 | e[c + 3] : e[c + 3] << 24 | e[c + 2] << 16 | e[c + 1] << 8 | e[c]) >>> 0;
5211
+ for (var o = Array(a / 4), s = 0, c = n; s < o.length; s++, c += 4) {
5212
+ var l = i === "big" ? e[c] << 24 | e[c + 1] << 16 | e[c + 2] << 8 | e[c + 3] : e[c + 3] << 24 | e[c + 2] << 16 | e[c + 1] << 8 | e[c];
5213
+ o[s] = l >>> 0;
5214
+ }
5207
5215
  return o;
5208
5216
  }
5209
5217
  e.join32 = l;
@@ -5292,7 +5300,7 @@ var R, z, B, V, H, U, W, G, ee, K, te = s((() => {
5292
5300
  this.pending = null, this.pendingTotal = 0, this.blockSize = this.constructor.blockSize, this.outSize = this.constructor.outSize, this.hmacStrength = this.constructor.hmacStrength, this.padLength = this.constructor.padLength / 8, this.endian = "big", this._delta8 = this.blockSize / 8, this._delta32 = this.blockSize / 32;
5293
5301
  }
5294
5302
  e.BlockHash = r, r.prototype.update = function(e, n) {
5295
- if (e = t.toArray(e, n), this.pending ? this.pending = this.pending.concat(e) : this.pending = e, this.pendingTotal += e.length, this.pending.length >= this._delta8) {
5303
+ if (e = t.toArray(e, n), this.pending = this.pending ? this.pending.concat(e) : e, this.pendingTotal += e.length, this.pending.length >= this._delta8) {
5296
5304
  e = this.pending;
5297
5305
  var r = e.length % this._delta8;
5298
5306
  this.pending = e.slice(e.length - r, e.length), this.pending.length === 0 && (this.pending = null), e = t.join32(e, 0, e.length - r, this.endian);
@@ -11180,7 +11188,7 @@ var lo = (e) => new J({
11180
11188
  p.prototype.push = function(e, t) {
11181
11189
  var n, o, s = this.strm, u = this.options.chunkSize;
11182
11190
  if (this.ended) return !1;
11183
- o = t === ~~t ? t : !0 === t ? 4 : 0, typeof e == "string" ? s.input = a.string2buf(e) : c.call(e) === "[object ArrayBuffer]" ? s.input = new Uint8Array(e) : s.input = e, s.next_in = 0, s.avail_in = s.input.length;
11191
+ o = t === ~~t ? t : !0 === t ? 4 : 0, s.input = typeof e == "string" ? a.string2buf(e) : c.call(e) === "[object ArrayBuffer]" ? new Uint8Array(e) : e, s.next_in = 0, s.avail_in = s.input.length;
11184
11192
  do {
11185
11193
  if (s.avail_out === 0 && (s.output = new i.Buf8(u), s.next_out = 0, s.avail_out = u), (n = r.deflate(s, o)) !== 1 && n !== l) return this.onEnd(n), !(this.ended = !0);
11186
11194
  s.avail_out !== 0 && (s.avail_in !== 0 || o !== 4 && o !== 2) || (this.options.to === "string" ? this.onData(a.buf2binstring(i.shrinkBuf(s.output, s.next_out))) : this.onData(i.shrinkBuf(s.output, s.next_out)));
@@ -11189,7 +11197,7 @@ var lo = (e) => new J({
11189
11197
  }, p.prototype.onData = function(e) {
11190
11198
  this.chunks.push(e);
11191
11199
  }, p.prototype.onEnd = function(e) {
11192
- e === l && (this.options.to === "string" ? this.result = this.chunks.join("") : this.result = i.flattenChunks(this.chunks)), this.chunks = [], this.err = e, this.msg = this.strm.msg;
11200
+ e === l && (this.result = this.options.to === "string" ? this.chunks.join("") : i.flattenChunks(this.chunks)), this.chunks = [], this.err = e, this.msg = this.strm.msg;
11193
11201
  }, n.Deflate = p, n.deflate = m, n.deflateRaw = function(e, t) {
11194
11202
  return (t ||= {}).raw = !0, m(e, t);
11195
11203
  }, n.gzip = function(e, t) {
@@ -11225,7 +11233,7 @@ var lo = (e) => new J({
11225
11233
  d.prototype.push = function(e, t) {
11226
11234
  var n, s, c, l, d, f, p = this.strm, m = this.options.chunkSize, h = this.options.dictionary, g = !1;
11227
11235
  if (this.ended) return !1;
11228
- s = t === ~~t ? t : !0 === t ? o.Z_FINISH : o.Z_NO_FLUSH, typeof e == "string" ? p.input = a.binstring2buf(e) : u.call(e) === "[object ArrayBuffer]" ? p.input = new Uint8Array(e) : p.input = e, p.next_in = 0, p.avail_in = p.input.length;
11236
+ s = t === ~~t ? t : !0 === t ? o.Z_FINISH : o.Z_NO_FLUSH, p.input = typeof e == "string" ? a.binstring2buf(e) : u.call(e) === "[object ArrayBuffer]" ? new Uint8Array(e) : e, p.next_in = 0, p.avail_in = p.input.length;
11229
11237
  do {
11230
11238
  if (p.avail_out === 0 && (p.output = new i.Buf8(m), p.next_out = 0, p.avail_out = m), (n = r.inflate(p, o.Z_NO_FLUSH)) === o.Z_NEED_DICT && h && (f = typeof h == "string" ? a.string2buf(h) : u.call(h) === "[object ArrayBuffer]" ? new Uint8Array(h) : h, n = r.inflateSetDictionary(this.strm, f)), n === o.Z_BUF_ERROR && !0 === g && (n = o.Z_OK, g = !1), n !== o.Z_STREAM_END && n !== o.Z_OK) return this.onEnd(n), !(this.ended = !0);
11231
11239
  p.next_out && (p.avail_out !== 0 && n !== o.Z_STREAM_END && (p.avail_in !== 0 || s !== o.Z_FINISH && s !== o.Z_SYNC_FLUSH) || (this.options.to === "string" ? (c = a.utf8border(p.output, p.next_out), l = p.next_out - c, d = a.buf2string(p.output, c), p.next_out = l, p.avail_out = m - l, l && i.arraySet(p.output, p.output, c, l, 0), this.onData(d)) : this.onData(i.shrinkBuf(p.output, p.next_out)))), p.avail_in === 0 && p.avail_out === 0 && (g = !0);
@@ -11234,7 +11242,7 @@ var lo = (e) => new J({
11234
11242
  }, d.prototype.onData = function(e) {
11235
11243
  this.chunks.push(e);
11236
11244
  }, d.prototype.onEnd = function(e) {
11237
- e === o.Z_OK && (this.options.to === "string" ? this.result = this.chunks.join("") : this.result = i.flattenChunks(this.chunks)), this.chunks = [], this.err = e, this.msg = this.strm.msg;
11245
+ e === o.Z_OK && (this.result = this.options.to === "string" ? this.chunks.join("") : i.flattenChunks(this.chunks)), this.chunks = [], this.err = e, this.msg = this.strm.msg;
11238
11246
  }, n.Inflate = d, n.inflate = f, n.inflateRaw = function(e, t) {
11239
11247
  return (t ||= {}).raw = !0, f(e, t);
11240
11248
  }, n.ungzip = f;
@@ -11441,11 +11449,12 @@ while (l[++a] === l[++n] && l[++a] === l[++n] && l[++a] === l[++n] && l[++a] ===
11441
11449
  if (B(e), e.lookahead < T && t === l) return O;
11442
11450
  if (e.lookahead === 0) break;
11443
11451
  }
11444
- if (n = 0, e.lookahead >= C && (e.ins_h = (e.ins_h << e.hash_shift ^ e.window[e.strstart + C - 1]) & e.hash_mask, n = e.prev[e.strstart & e.w_mask] = e.head[e.ins_h], e.head[e.ins_h] = e.strstart), n !== 0 && e.strstart - n <= e.w_size - T && (e.match_length = z(e, n)), e.match_length >= C) if (r = a._tr_tally(e, e.strstart - e.match_start, e.match_length - C), e.lookahead -= e.match_length, e.match_length <= e.max_lazy_match && e.lookahead >= C) {
11445
- for (e.match_length--; e.strstart++, e.ins_h = (e.ins_h << e.hash_shift ^ e.window[e.strstart + C - 1]) & e.hash_mask, n = e.prev[e.strstart & e.w_mask] = e.head[e.ins_h], e.head[e.ins_h] = e.strstart, --e.match_length != 0;);
11446
- e.strstart++;
11447
- } else e.strstart += e.match_length, e.match_length = 0, e.ins_h = e.window[e.strstart], e.ins_h = (e.ins_h << e.hash_shift ^ e.window[e.strstart + 1]) & e.hash_mask;
11448
- else r = a._tr_tally(e, 0, e.window[e.strstart]), e.lookahead--, e.strstart++;
11452
+ if (n = 0, e.lookahead >= C && (e.ins_h = (e.ins_h << e.hash_shift ^ e.window[e.strstart + C - 1]) & e.hash_mask, n = e.prev[e.strstart & e.w_mask] = e.head[e.ins_h], e.head[e.ins_h] = e.strstart), n !== 0 && e.strstart - n <= e.w_size - T && (e.match_length = z(e, n)), e.match_length >= C) {
11453
+ if (r = a._tr_tally(e, e.strstart - e.match_start, e.match_length - C), e.lookahead -= e.match_length, e.match_length <= e.max_lazy_match && e.lookahead >= C) {
11454
+ for (e.match_length--; e.strstart++, e.ins_h = (e.ins_h << e.hash_shift ^ e.window[e.strstart + C - 1]) & e.hash_mask, n = e.prev[e.strstart & e.w_mask] = e.head[e.ins_h], e.head[e.ins_h] = e.strstart, --e.match_length != 0;);
11455
+ e.strstart++;
11456
+ } else e.strstart += e.match_length, e.match_length = 0, e.ins_h = e.window[e.strstart], e.ins_h = (e.ins_h << e.hash_shift ^ e.window[e.strstart + 1]) & e.hash_mask;
11457
+ } else r = a._tr_tally(e, 0, e.window[e.strstart]), e.lookahead--, e.strstart++;
11449
11458
  if (r && (I(e, !1), e.strm.avail_out === 0)) return O;
11450
11459
  }
11451
11460
  return e.insert = e.strstart < C - 1 ? e.strstart : C - 1, t === u ? (I(e, !0), e.strm.avail_out === 0 ? A : j) : e.last_lit && (I(e, !1), e.strm.avail_out === 0) ? O : k;
@@ -11520,37 +11529,45 @@ while (l[++a] === l[++n] && l[++a] === l[++n] && l[++a] === l[++n] && l[++a] ===
11520
11529
  var n, i, o, c;
11521
11530
  if (!e || !e.state || 5 < t || t < 0) return e ? M(e, f) : f;
11522
11531
  if (i = e.state, !e.output || !e.input && e.avail_in !== 0 || i.status === 666 && t !== u) return M(e, e.avail_out === 0 ? -5 : f);
11523
- if (i.strm = e, n = i.last_flush, i.last_flush = t, i.status === E) if (i.wrap === 2) e.adler = 0, L(i, 31), L(i, 139), L(i, 8), i.gzhead ? (L(i, +!!i.gzhead.text + (i.gzhead.hcrc ? 2 : 0) + (i.gzhead.extra ? 4 : 0) + (i.gzhead.name ? 8 : 0) + (i.gzhead.comment ? 16 : 0)), L(i, 255 & i.gzhead.time), L(i, i.gzhead.time >> 8 & 255), L(i, i.gzhead.time >> 16 & 255), L(i, i.gzhead.time >> 24 & 255), L(i, i.level === 9 ? 2 : 2 <= i.strategy || i.level < 2 ? 4 : 0), L(i, 255 & i.gzhead.os), i.gzhead.extra && i.gzhead.extra.length && (L(i, 255 & i.gzhead.extra.length), L(i, i.gzhead.extra.length >> 8 & 255)), i.gzhead.hcrc && (e.adler = s(e.adler, i.pending_buf, i.pending, 0)), i.gzindex = 0, i.status = 69) : (L(i, 0), L(i, 0), L(i, 0), L(i, 0), L(i, 0), L(i, i.level === 9 ? 2 : 2 <= i.strategy || i.level < 2 ? 4 : 0), L(i, 3), i.status = D);
11524
- else {
11525
- var p = g + (i.w_bits - 8 << 4) << 8;
11526
- p |= (2 <= i.strategy || i.level < 2 ? 0 : i.level < 6 ? 1 : i.level === 6 ? 2 : 3) << 6, i.strstart !== 0 && (p |= 32), p += 31 - p % 31, i.status = D, R(i, p), i.strstart !== 0 && (R(i, e.adler >>> 16), R(i, 65535 & e.adler)), e.adler = 1;
11532
+ if (i.strm = e, n = i.last_flush, i.last_flush = t, i.status === E) {
11533
+ if (i.wrap === 2) e.adler = 0, L(i, 31), L(i, 139), L(i, 8), i.gzhead ? (L(i, +!!i.gzhead.text + (i.gzhead.hcrc ? 2 : 0) + (i.gzhead.extra ? 4 : 0) + (i.gzhead.name ? 8 : 0) + (i.gzhead.comment ? 16 : 0)), L(i, 255 & i.gzhead.time), L(i, i.gzhead.time >> 8 & 255), L(i, i.gzhead.time >> 16 & 255), L(i, i.gzhead.time >> 24 & 255), L(i, i.level === 9 ? 2 : 2 <= i.strategy || i.level < 2 ? 4 : 0), L(i, 255 & i.gzhead.os), i.gzhead.extra && i.gzhead.extra.length && (L(i, 255 & i.gzhead.extra.length), L(i, i.gzhead.extra.length >> 8 & 255)), i.gzhead.hcrc && (e.adler = s(e.adler, i.pending_buf, i.pending, 0)), i.gzindex = 0, i.status = 69) : (L(i, 0), L(i, 0), L(i, 0), L(i, 0), L(i, 0), L(i, i.level === 9 ? 2 : 2 <= i.strategy || i.level < 2 ? 4 : 0), L(i, 3), i.status = D);
11534
+ else {
11535
+ var p = g + (i.w_bits - 8 << 4) << 8;
11536
+ p |= (2 <= i.strategy || i.level < 2 ? 0 : i.level < 6 ? 1 : i.level === 6 ? 2 : 3) << 6, i.strstart !== 0 && (p |= 32), p += 31 - p % 31, i.status = D, R(i, p), i.strstart !== 0 && (R(i, e.adler >>> 16), R(i, 65535 & e.adler)), e.adler = 1;
11537
+ }
11538
+ }
11539
+ if (i.status === 69) {
11540
+ if (i.gzhead.extra) {
11541
+ for (o = i.pending; i.gzindex < (65535 & i.gzhead.extra.length) && (i.pending !== i.pending_buf_size || (i.gzhead.hcrc && i.pending > o && (e.adler = s(e.adler, i.pending_buf, i.pending - o, o)), F(e), o = i.pending, i.pending !== i.pending_buf_size));) L(i, 255 & i.gzhead.extra[i.gzindex]), i.gzindex++;
11542
+ i.gzhead.hcrc && i.pending > o && (e.adler = s(e.adler, i.pending_buf, i.pending - o, o)), i.gzindex === i.gzhead.extra.length && (i.gzindex = 0, i.status = 73);
11543
+ } else i.status = 73;
11544
+ }
11545
+ if (i.status === 73) {
11546
+ if (i.gzhead.name) {
11547
+ o = i.pending;
11548
+ do {
11549
+ if (i.pending === i.pending_buf_size && (i.gzhead.hcrc && i.pending > o && (e.adler = s(e.adler, i.pending_buf, i.pending - o, o)), F(e), o = i.pending, i.pending === i.pending_buf_size)) {
11550
+ c = 1;
11551
+ break;
11552
+ }
11553
+ c = i.gzindex < i.gzhead.name.length ? 255 & i.gzhead.name.charCodeAt(i.gzindex++) : 0, L(i, c);
11554
+ } while (c !== 0);
11555
+ i.gzhead.hcrc && i.pending > o && (e.adler = s(e.adler, i.pending_buf, i.pending - o, o)), c === 0 && (i.gzindex = 0, i.status = 91);
11556
+ } else i.status = 91;
11557
+ }
11558
+ if (i.status === 91) {
11559
+ if (i.gzhead.comment) {
11560
+ o = i.pending;
11561
+ do {
11562
+ if (i.pending === i.pending_buf_size && (i.gzhead.hcrc && i.pending > o && (e.adler = s(e.adler, i.pending_buf, i.pending - o, o)), F(e), o = i.pending, i.pending === i.pending_buf_size)) {
11563
+ c = 1;
11564
+ break;
11565
+ }
11566
+ c = i.gzindex < i.gzhead.comment.length ? 255 & i.gzhead.comment.charCodeAt(i.gzindex++) : 0, L(i, c);
11567
+ } while (c !== 0);
11568
+ i.gzhead.hcrc && i.pending > o && (e.adler = s(e.adler, i.pending_buf, i.pending - o, o)), c === 0 && (i.status = 103);
11569
+ } else i.status = 103;
11527
11570
  }
11528
- if (i.status === 69) if (i.gzhead.extra) {
11529
- for (o = i.pending; i.gzindex < (65535 & i.gzhead.extra.length) && (i.pending !== i.pending_buf_size || (i.gzhead.hcrc && i.pending > o && (e.adler = s(e.adler, i.pending_buf, i.pending - o, o)), F(e), o = i.pending, i.pending !== i.pending_buf_size));) L(i, 255 & i.gzhead.extra[i.gzindex]), i.gzindex++;
11530
- i.gzhead.hcrc && i.pending > o && (e.adler = s(e.adler, i.pending_buf, i.pending - o, o)), i.gzindex === i.gzhead.extra.length && (i.gzindex = 0, i.status = 73);
11531
- } else i.status = 73;
11532
- if (i.status === 73) if (i.gzhead.name) {
11533
- o = i.pending;
11534
- do {
11535
- if (i.pending === i.pending_buf_size && (i.gzhead.hcrc && i.pending > o && (e.adler = s(e.adler, i.pending_buf, i.pending - o, o)), F(e), o = i.pending, i.pending === i.pending_buf_size)) {
11536
- c = 1;
11537
- break;
11538
- }
11539
- c = i.gzindex < i.gzhead.name.length ? 255 & i.gzhead.name.charCodeAt(i.gzindex++) : 0, L(i, c);
11540
- } while (c !== 0);
11541
- i.gzhead.hcrc && i.pending > o && (e.adler = s(e.adler, i.pending_buf, i.pending - o, o)), c === 0 && (i.gzindex = 0, i.status = 91);
11542
- } else i.status = 91;
11543
- if (i.status === 91) if (i.gzhead.comment) {
11544
- o = i.pending;
11545
- do {
11546
- if (i.pending === i.pending_buf_size && (i.gzhead.hcrc && i.pending > o && (e.adler = s(e.adler, i.pending_buf, i.pending - o, o)), F(e), o = i.pending, i.pending === i.pending_buf_size)) {
11547
- c = 1;
11548
- break;
11549
- }
11550
- c = i.gzindex < i.gzhead.comment.length ? 255 & i.gzhead.comment.charCodeAt(i.gzindex++) : 0, L(i, c);
11551
- } while (c !== 0);
11552
- i.gzhead.hcrc && i.pending > o && (e.adler = s(e.adler, i.pending_buf, i.pending - o, o)), c === 0 && (i.status = 103);
11553
- } else i.status = 103;
11554
11571
  if (i.status === 103 && (i.gzhead.hcrc ? (i.pending + 2 > i.pending_buf_size && F(e), i.pending + 2 <= i.pending_buf_size && (L(i, 255 & e.adler), L(i, e.adler >> 8 & 255), e.adler = 0, i.status = D)) : i.status = D), i.pending !== 0) {
11555
11572
  if (F(e), e.avail_out === 0) return i.last_flush = -1, d;
11556
11573
  } else if (e.avail_in === 0 && N(t) <= N(n) && t !== u) return M(e, -5);
@@ -12090,7 +12107,6 @@ while (r === s[++i] && r === s[++i] && r === s[++i] && r === s[++i] && r === s[+
12090
12107
  I = -3;
12091
12108
  break e;
12092
12109
  case 31: return -4;
12093
- case 32:
12094
12110
  default: return d;
12095
12111
  }
12096
12112
  return e.next_out = _, e.avail_out = y, e.next_in = g, e.avail_in = v, n.hold = b, n.bits = x, (n.wsize || C !== e.avail_out && n.mode < 30 && (n.mode < 27 || t !== 4)) && T(e, e.output, e.next_out, C - e.avail_out) ? (n.mode = 31, -4) : (S -= e.avail_in, C -= e.avail_out, e.total_in += S, e.total_out += C, n.total += C, n.wrap && C && (e.adler = n.check = n.flags ? a(n.check, m, C, e.next_out - C) : i(n.check, m, C, e.next_out - C)), e.data_type = n.bits + (n.last ? 64 : 0) + (n.mode === 12 ? 128 : 0) + (n.mode === 20 || n.mode === 15 ? 256 : 0), (S == 0 && C === 0 || t === 4) && I === u && (I = -5), I);
@@ -13252,7 +13268,8 @@ var rl = new Yc(), il = (e) => (0, Ot.xml2js)(e, {
13252
13268
  var i;
13253
13269
  let a = (((i = e.elements) == null || (i = i[0]) == null ? void 0 : i.text) ?? "").split(t), o = a.map((t) => x(x(x({}, e), ol(e)), {}, { elements: al(t) }));
13254
13270
  return a.length > 1 && (n = r), o;
13255
- } else return e;
13271
+ }
13272
+ return e;
13256
13273
  }).flat() ?? [];
13257
13274
  return {
13258
13275
  left: x(x({}, JSON.parse(JSON.stringify(e))), {}, { elements: r.slice(0, n + 1) }),
@@ -13274,15 +13291,12 @@ var rl = new Yc(), il = (e) => (0, Ot.xml2js)(e, {
13274
13291
  continue;
13275
13292
  }
13276
13293
  break;
13277
- case hl.MIDDLE:
13278
- if (a <= l) {
13279
- let r = t.substring(a - c + 1);
13280
- _l(e.elements[n.index].elements[s], r);
13281
- let i = e.elements[n.index].elements[s];
13282
- e.elements[n.index].elements[s] = ol(i), o = hl.END;
13283
- } else _l(e.elements[n.index].elements[s], "");
13284
- break;
13285
- default:
13294
+ case hl.MIDDLE: if (a <= l) {
13295
+ let r = t.substring(a - c + 1);
13296
+ _l(e.elements[n.index].elements[s], r);
13297
+ let i = e.elements[n.index].elements[s];
13298
+ e.elements[n.index].elements[s] = ol(i), o = hl.END;
13299
+ } else _l(e.elements[n.index].elements[s], "");
13286
13300
  }
13287
13301
  return e;
13288
13302
  }, _l = (e, t) => (e.elements = al(t), e), vl = (e) => {
@@ -13452,7 +13466,8 @@ var rl = new Yc(), il = (e) => (0, Ot.xml2js)(e, {
13452
13466
  link: t.options.link
13453
13467
  }
13454
13468
  }), n;
13455
- } else return t;
13469
+ }
13470
+ return t;
13456
13471
  }) }),
13457
13472
  patchText: n,
13458
13473
  context: t,
@@ -13544,7 +13559,7 @@ function Bl(e, t, n = !1) {
13544
13559
  if (Rl(e, t, 2)) return e.getUint16(t, n);
13545
13560
  }
13546
13561
  function Vl(e) {
13547
- if (e.length < 16 || !(e[4] === 102 && e[5] === 116 && e[6] === 121 && e[7] === 112)) return;
13562
+ if (e.length < 16 || e[4] !== 102 || e[5] !== 116 || e[6] !== 121 || e[7] !== 112) return;
13548
13563
  let t = zl(new DataView(e.buffer, e.byteOffset, e.byteLength), 0);
13549
13564
  if (t === void 0 || t < 16 || t > e.length) return;
13550
13565
  let n = [];
@@ -13613,7 +13628,7 @@ var Jl = (e) => e[0] === 137 && e[1] === 80 && e[2] === 78 && e[3] === 71 && e[4
13613
13628
  function Xl(e) {
13614
13629
  if (!Jl(e)) return;
13615
13630
  let t = new DataView(e.buffer), n = Yl(e), r = zl(t, n ? 32 : 16, !1), i = zl(t, n ? 36 : 20, !1);
13616
- if (!(r === void 0 || i === void 0)) return {
13631
+ if (r !== void 0 && i !== void 0) return {
13617
13632
  width: r,
13618
13633
  height: i,
13619
13634
  type: "png"
@@ -13645,7 +13660,7 @@ var tu = (e) => e[0] === 71 && e[1] === 73 && e[2] === 70 && e[3] === 56 && (e[4
13645
13660
  function nu(e) {
13646
13661
  if (!tu(e)) return;
13647
13662
  let t = new DataView(e.buffer), n = Bl(t, 6, !0), r = Bl(t, 8, !0);
13648
- if (!(n === void 0 || r === void 0)) return {
13663
+ if (n !== void 0 && r !== void 0) return {
13649
13664
  width: n,
13650
13665
  height: r,
13651
13666
  type: "gif"
@@ -1,2 +1,2 @@
1
- import { n as e, r as t, t as n } from "../../editorExtensions--HusV819.js";
1
+ import { n as e, r as t, t as n } from "../../editorExtensions-B-mKiWqq.js";
2
2
  export { n as TextAlignHeading, e as TextAlignParagraph, t as editorExtensions };