@outmarket-ai/react-sdk 0.1.0-alpha.36 → 0.1.0-alpha.37

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 (356) hide show
  1. package/dist/{AddNoteDialog-Cpi1nfwT.js → AddNoteDialog-Yge3IB1P.js} +1 -1
  2. package/dist/{AlertDialog-_t-evdam.js → AlertDialog-DJZSkNpg.js} +1 -1
  3. package/dist/{ApproveWorkflowsList-BmYZqp9s.js → ApproveWorkflowsList-CWH0NN8N.js} +1 -1
  4. package/dist/{BORLetterEditor-BZDBvV69.js → BORLetterEditor-1rUoHq5R.js} +1 -1
  5. package/dist/{BillDetailModal-B9yFiJTi.js → BillDetailModal-Xw_hhT8b.js} +1 -1
  6. package/dist/{CoiIssueHolderModal-CzSDU14A.js → CoiIssueHolderModal-fQUcFLoh.js} +1 -1
  7. package/dist/{DeletePromptDialog-Dzsl84zg.js → DeletePromptDialog-56PY2_Jl.js} +1 -1
  8. package/dist/{EmailFormatSelectionDialog-a6wInMbw.js → EmailFormatSelectionDialog-DnQG_6jn.js} +1 -1
  9. package/dist/{ExcelExportPreviewDialog-BavPa1AV.js → ExcelExportPreviewDialog-CGlfNt1H.js} +1 -1
  10. package/dist/{ExplainPanel-DQHRbHze.js → ExplainPanel-CGE04xa3.js} +1 -1
  11. package/dist/{ExportDialog-B_xEStjm.js → ExportDialog-D_iXexam.js} +1 -1
  12. package/dist/{ExportToAmsDialog--_rUT0ky.js → ExportToAmsDialog-Cq8DeJm9.js} +1 -1
  13. package/dist/{ExportToDriveDialog--KGO6oHg.js → ExportToDriveDialog-DdXXdD1O.js} +1 -1
  14. package/dist/{FeedbackTool-C1u8INbG.js → FeedbackTool-BkqROb9w.js} +1 -1
  15. package/dist/{LayerDetailModal-CpMvOQy3.js → LayerDetailModal-CnOt0XDk.js} +1 -1
  16. package/dist/{LogoEditor-Bq6jF9Ib.js → LogoEditor-BpiMgfHM.js} +1 -1
  17. package/dist/{MarkdownExportPreviewDialog-OxivowqQ.js → MarkdownExportPreviewDialog-HVMv0Xpe.js} +1 -1
  18. package/dist/{NotificationDrawer-CMT3ICuy.js → NotificationDrawer-lEXwDeTJ.js} +1 -1
  19. package/dist/{PhoneNumbersDisplay-BuqW5ohD.js → PhoneNumbersDisplay-DT_0SadL.js} +1 -1
  20. package/dist/{PlanSelector-8i1S3uNY.js → PlanSelector-BeRIZrQw.js} +1 -1
  21. package/dist/{PlanSettingsModal-DcDAPx6W.js → PlanSettingsModal-HcuqqWHQ.js} +1 -1
  22. package/dist/{PlanWizardModal-aEFulQHO.js → PlanWizardModal-D-Eiops9.js} +1 -1
  23. package/dist/{RenameAssetDialog-BoOhjh5z.js → RenameAssetDialog-CCw0Hazz.js} +1 -1
  24. package/dist/{SaveBlockDialog-BM81p_97.js → SaveBlockDialog-BGoexB3m.js} +1 -1
  25. package/dist/{SaveOutlineDialog-Be6DzbOL.js → SaveOutlineDialog-Dkgc5ETS.js} +1 -1
  26. package/dist/{SavePromptDialog-r0lmgAS0.js → SavePromptDialog-CKQPDlh5.js} +1 -1
  27. package/dist/{ShareResourceDialog-DSUOAqDU.js → ShareResourceDialog-CuHJ487E.js} +1 -1
  28. package/dist/{TermsNoticeModal-C_Kg50vV.js → TermsNoticeModal-BsaIzfO-.js} +1 -1
  29. package/dist/{TowerAlertModal-DMDKlIat.js → TowerAlertModal-D_z7--D_.js} +1 -1
  30. package/dist/{TowerSummaryModal-a_l4Aym6.js → TowerSummaryModal-DSC1Pm1Y.js} +1 -1
  31. package/dist/{VaultSettingsDialog-B0GHZrxc.js → VaultSettingsDialog-Deynp-iQ.js} +1 -1
  32. package/dist/{ViewNoteDialog-C3aj5iIR.js → ViewNoteDialog-DUH1NRD3.js} +1 -1
  33. package/dist/{WhatsNewProvider-BriMwYKH.js → WhatsNewProvider-CcxLnw1k.js} +1 -1
  34. package/dist/{WidgetRawDataView-BRl2UmhF.js → WidgetRawDataView-BSumRkDH.js} +1 -1
  35. package/dist/{abap-D24AqS3I.js → abap-CgaBvtsa.js} +1 -1
  36. package/dist/{abnf-iCVfVLyA.js → abnf-P_WbR2sm.js} +1 -1
  37. package/dist/{actionscript-Zxb50RoG.js → actionscript-DLGJnRv3.js} +1 -1
  38. package/dist/{activityLog-CJDeBNhQ.js → activityLog-BZlv-Eve.js} +1 -1
  39. package/dist/{ada-Bqgs7QSd.js → ada-DuWfifjJ.js} +1 -1
  40. package/dist/{agda-BywGEnku.js → agda-CtfJoxS4.js} +1 -1
  41. package/dist/{al-BltDFxUF.js → al-B0lTwEiv.js} +1 -1
  42. package/dist/{antlr4-D7rj6N3C.js → antlr4-retFXi1E.js} +1 -1
  43. package/dist/{apacheconf-DloZ1Qre.js → apacheconf-Q_DriHMo.js} +1 -1
  44. package/dist/{apex-CaOyI3ry.js → apex-BL0DoEXd.js} +1 -1
  45. package/dist/{apl-BUg81PJG.js → apl-CGlhmeNp.js} +1 -1
  46. package/dist/{applescript-BrCxNDW3.js → applescript-DHg6XZam.js} +1 -1
  47. package/dist/{aql-BlRWJ7nt.js → aql-Cvf4IoYj.js} +1 -1
  48. package/dist/{arduino-num0XMBY.js → arduino-C1jIv4Hb.js} +1 -1
  49. package/dist/{arff-DWp2gz5V.js → arff-DSBKjv6P.js} +1 -1
  50. package/dist/{asciidoc-B74XLNRS.js → asciidoc-ByL_VbaN.js} +1 -1
  51. package/dist/{asm6502-DJ9xPLh7.js → asm6502-CvIXa_zj.js} +1 -1
  52. package/dist/{asmatmel-B1JRUJxe.js → asmatmel-BHjw6gOv.js} +1 -1
  53. package/dist/{aspnet-BM7s5Uva.js → aspnet-BvCkcUJ_.js} +1 -1
  54. package/dist/{autohotkey-CKFdtcF-.js → autohotkey-Cqck_wiv.js} +1 -1
  55. package/dist/{autoit-CNYKEym4.js → autoit-CVDd08hL.js} +1 -1
  56. package/dist/{avisynth-vusQHINy.js → avisynth-D97xYESW.js} +1 -1
  57. package/dist/{avro-idl-CaNF-lM-.js → avro-idl-BhBMl4Td.js} +1 -1
  58. package/dist/{bash-Bwcu9Bqt.js → bash-Dij0omZ0.js} +1 -1
  59. package/dist/{basic-Dq5kyGFj.js → basic-CTiNpNF1.js} +1 -1
  60. package/dist/{batch-C7CUM3Xz.js → batch-Djh-RD3-.js} +1 -1
  61. package/dist/{bbcode-DK5SVeOe.js → bbcode-87ZwUZdM.js} +1 -1
  62. package/dist/{bell-B5ZaarrC.js → bell-DdFiq7CV.js} +1 -1
  63. package/dist/{bicep-BXzh26cb.js → bicep-D8Uqs4ET.js} +1 -1
  64. package/dist/{birb-DFVxf9hr.js → birb-DO7bQ36t.js} +1 -1
  65. package/dist/{bison-CnRkH_JU.js → bison-B6xTjpNX.js} +1 -1
  66. package/dist/{blockEditorContent-cOt9C7eo.js → blockEditorContent-D1nEGgBO.js} +1 -1
  67. package/dist/{bnf-Du-ruhla.js → bnf-CXbb4GYO.js} +1 -1
  68. package/dist/{brainfuck-D37zTsBi.js → brainfuck-CTMWKM2q.js} +1 -1
  69. package/dist/{brightscript-DPP5EZMM.js → brightscript-CJ6W_EFd.js} +1 -1
  70. package/dist/{bro-BqXtQVr6.js → bro-3Ila_jrE.js} +1 -1
  71. package/dist/{bsl-BO8tacCG.js → bsl-BivOEl7-.js} +1 -1
  72. package/dist/{c-CFw5x5JZ.js → c-no5Fqvbl.js} +1 -1
  73. package/dist/{calendar-02PmdDke.js → calendar-PkxljIHv.js} +1 -1
  74. package/dist/{cfscript-De0_Y_kU.js → cfscript-tQn6BcLB.js} +1 -1
  75. package/dist/{chaiscript-CcC77JLd.js → chaiscript-Cb1G5I19.js} +1 -1
  76. package/dist/{cil-B5bz3YpF.js → cil-CuWYSotE.js} +1 -1
  77. package/dist/{clike-C1MxZFxV.js → clike-DCJJeiEP.js} +1 -1
  78. package/dist/{clojure-DhYfZmw7.js → clojure-CqGl9-N5.js} +1 -1
  79. package/dist/{cmake-D9vHfYuy.js → cmake-Km90jb37.js} +1 -1
  80. package/dist/{cobol-Dph8NxdA.js → cobol-Dc0dZzud.js} +1 -1
  81. package/dist/{coffeescript-agU8Kqj6.js → coffeescript-ByaASjre.js} +1 -1
  82. package/dist/{concurnas-Bwa2joZx.js → concurnas-GWhWOHTN.js} +1 -1
  83. package/dist/{contactsList-CK-Ub-Zx.js → contactsList-DMCAIG8t.js} +2 -2
  84. package/dist/{copyPreviewToClipboard-BPlno-5B.js → copyPreviewToClipboard-DfH1XzWw.js} +1 -1
  85. package/dist/{coq-CxDBlBi4.js → coq-CPYEa0aA.js} +1 -1
  86. package/dist/{core-XlbUAbYZ.js → core-w5W5R6Lc.js} +1 -1
  87. package/dist/{cpp-CKft7yX8.js → cpp-D5YZy6VH.js} +1 -1
  88. package/dist/{crystal-DkBxfyXk.js → crystal-3V4Me6so.js} +1 -1
  89. package/dist/{csharp-BPIRME4P.js → csharp-DIFgzTzp.js} +1 -1
  90. package/dist/{cshtml-CKAqsV3X.js → cshtml-BF5zEJbs.js} +1 -1
  91. package/dist/{csp-Du4bBN0_.js → csp-Cwapz65r.js} +1 -1
  92. package/dist/{css-BcUE3ZsM.js → css-B1fr86V5.js} +1 -1
  93. package/dist/{css-extras-BJ09KgQB.js → css-extras-B_QkdkZJ.js} +1 -1
  94. package/dist/{csv-Cou5edEj.js → csv-BpbiXzFC.js} +1 -1
  95. package/dist/{cypher-9LhbbKDj.js → cypher-CVIX_mQV.js} +1 -1
  96. package/dist/{d-ClSUOmLS.js → d-C9LXL0K-.js} +1 -1
  97. package/dist/{dart-BnsA4_ty.js → dart-BaWHQWIC.js} +1 -1
  98. package/dist/{dataweave-YmEHlKVZ.js → dataweave-Cyo7UWes.js} +1 -1
  99. package/dist/{dax-D5nAQ5F6.js → dax--44bFImn.js} +1 -1
  100. package/dist/{dhall-B3fZAOLl.js → dhall-DlBD-jUi.js} +1 -1
  101. package/dist/{diff-DLy29QDY.js → diff-Cc1gbVK2.js} +1 -1
  102. package/dist/{django-CrSbldUR.js → django-BP1t2Anl.js} +1 -1
  103. package/dist/{dns-zone-file-CtFEMuOX.js → dns-zone-file-BNtQQwkO.js} +1 -1
  104. package/dist/{docker-B-E0ToE-.js → docker-BFpq8PpO.js} +1 -1
  105. package/dist/{dot-CdBzbaSA.js → dot-ClzjriEI.js} +1 -1
  106. package/dist/{ebnf-D1D5vg60.js → ebnf-BjCeM8gg.js} +1 -1
  107. package/dist/{editCarrierDialog-BF_MEtYF.js → editCarrierDialog-CzeVNuKB.js} +1 -1
  108. package/dist/{editorconfig-D2y6Iwoy.js → editorconfig-Bo_cwY3M.js} +1 -1
  109. package/dist/{eiffel-XBJjC78c.js → eiffel-CvdCA5zv.js} +1 -1
  110. package/dist/{ejs-DF3ugwOn.js → ejs-C-L5am1K.js} +1 -1
  111. package/dist/{elixir-CdwBAcuv.js → elixir-Bu5e_dW3.js} +1 -1
  112. package/dist/{elm-D7ZkFDlk.js → elm-Dt-eIUOp.js} +1 -1
  113. package/dist/{erb-BslOBpn_.js → erb-C0l1xcxA.js} +1 -1
  114. package/dist/{erlang-B_jSlLLf.js → erlang-BxH-HyMJ.js} +1 -1
  115. package/dist/{etlua-CXi8GSJJ.js → etlua-WL-3b72Y.js} +1 -1
  116. package/dist/{excel-formula-BbKyyTaz.js → excel-formula-CGbMO7GW.js} +1 -1
  117. package/dist/{exportFileGeneration-DA7UASLk.js → exportFileGeneration-BuM2qOOZ.js} +1 -1
  118. package/dist/{exportImageReadiness-4Wl1xDju.js → exportImageReadiness-BChyHtH7.js} +1 -1
  119. package/dist/{exportImageReadinessNotifier-BO0VZxL3.js → exportImageReadinessNotifier-BQIBLjLi.js} +1 -1
  120. package/dist/{exportPageHtml-C-czqc38.js → exportPageHtml-CUEih2kT.js} +1 -1
  121. package/dist/exportPreviewToDocx-DmdhNLIi.js +11 -0
  122. package/dist/{exportPreviewToPdf-KlnmktUm.js → exportPreviewToPdf-BgnxneO5.js} +1 -1
  123. package/dist/{factor-D-yZIMs3.js → factor-CbVbxd_Z.js} +1 -1
  124. package/dist/{false-DOb9i3ji.js → false-B68BiBzb.js} +1 -1
  125. package/dist/{firestore-security-rules-B2-2sNY6.js → firestore-security-rules-CfaqG0NQ.js} +1 -1
  126. package/dist/{flask-conical-DDSHQ1yn.js → flask-conical-CWt2mGb-.js} +1 -1
  127. package/dist/{flow-CCHXMgtY.js → flow-GDToJGgg.js} +1 -1
  128. package/dist/{fortran-CqSIZGAu.js → fortran-BFb8M70_.js} +1 -1
  129. package/dist/{fsharp-Cm2XetEE.js → fsharp-Cz3IJvzA.js} +1 -1
  130. package/dist/{ftl-WEyin_KL.js → ftl-C7r0jwdy.js} +1 -1
  131. package/dist/{gap-JMJYFnGS.js → gap-nZHCiz6d.js} +1 -1
  132. package/dist/{gcode-CSVBE99A.js → gcode-BG-gd8Y_.js} +1 -1
  133. package/dist/{gdscript-CHE7TOim.js → gdscript-CJsDphHR.js} +1 -1
  134. package/dist/{gedcom-CWJP9AfG.js → gedcom-XpZDMSQa.js} +1 -1
  135. package/dist/{gherkin-CMonWSJG.js → gherkin-4o12jBh0.js} +1 -1
  136. package/dist/{git-B3U45h9J.js → git-DqUzBp5y.js} +1 -1
  137. package/dist/{glsl-Cw0-bHjJ.js → glsl-zoWRZd14.js} +1 -1
  138. package/dist/{gml-Py3ZFki8.js → gml-DvZWRVGG.js} +1 -1
  139. package/dist/{gn-Bm6KSHsv.js → gn-DviKGHoX.js} +1 -1
  140. package/dist/{go-CRESNpIM.js → go-Cjl3WpBc.js} +1 -1
  141. package/dist/{go-module-DlJCF8nt.js → go-module-seJpKDgV.js} +1 -1
  142. package/dist/{graphql-Cd64pOlI.js → graphql-CpAIvjIa.js} +1 -1
  143. package/dist/{groovy-CwPa9gky.js → groovy-AH2LbWfD.js} +1 -1
  144. package/dist/{haml-Dy-B4CV8.js → haml-CQfvgHRO.js} +1 -1
  145. package/dist/{handlebars-BGMdDUmk.js → handlebars-B9l3Wpz_.js} +1 -1
  146. package/dist/{haskell-Bhp-FYFX.js → haskell-OkYtDV3S.js} +1 -1
  147. package/dist/{haxe-D_99z3rU.js → haxe-CAAXktF5.js} +1 -1
  148. package/dist/{hcl-BCAspB6T.js → hcl-DqDc8hUc.js} +1 -1
  149. package/dist/{highlighter-441tq1jK.js → highlighter-uQf0zbY_.js} +1 -1
  150. package/dist/{hlsl-B_pdIiMk.js → hlsl-oyThU7ft.js} +1 -1
  151. package/dist/{hoon-07ovtuiU.js → hoon-CRrl-26u.js} +1 -1
  152. package/dist/{hpkp-W4BuprmQ.js → hpkp-BflFnPYZ.js} +1 -1
  153. package/dist/{hsts-DX-mHqTJ.js → hsts-B66Je8O6.js} +1 -1
  154. package/dist/{http-BSev006D.js → http-t1sdUjh3.js} +1 -1
  155. package/dist/{ichigojam-DEk_NDyG.js → ichigojam-Bt9z0Hca.js} +1 -1
  156. package/dist/{icon-B2HAqUBb.js → icon-BPBTXowp.js} +1 -1
  157. package/dist/{icu-message-format-B2JxwObX.js → icu-message-format-DSeU6TcY.js} +1 -1
  158. package/dist/{idris-CD2ULo-B.js → idris-FrPZR4S3.js} +1 -1
  159. package/dist/{iecst-CTZWm0B7.js → iecst-CzDmz-8l.js} +1 -1
  160. package/dist/{ignore-8xTZfnaS.js → ignore-DBQMP_9p.js} +1 -1
  161. package/dist/{image-plus-Cxd1cv2I.js → image-plus-DUzVnWlE.js} +1 -1
  162. package/dist/index-2Y8RyUUb.js +1 -0
  163. package/dist/{index-R3_hNUp4.js → index-84cYZci4.js} +1 -1
  164. package/dist/{index-BWo2BOVk.js → index-8nVM9x6B.js} +1 -1
  165. package/dist/{index-6kUcFkJW.js → index-BkFMiqmU.js} +1 -1
  166. package/dist/{index-YLVniasz.js → index-C1kBWd99.js} +1 -1
  167. package/dist/{index-C_WHCLsg.js → index-DSWFIHbs.js} +1 -1
  168. package/dist/{index-DrGP2qXK.js → index-e7HUrljT.js} +1 -1
  169. package/dist/{index.client-BZTm8pIw.js → index.client-GQRx0OMi.js} +1 -1
  170. package/dist/index.js +1 -1
  171. package/dist/{inform7-DueUu6rk.js → inform7-C6SiIj7W.js} +1 -1
  172. package/dist/{ini-CoDI_qlY.js → ini-Fr9btpcc.js} +1 -1
  173. package/dist/{io-fN8n-AP3.js → io-Bob9mDaD.js} +1 -1
  174. package/dist/{j-Dzgq0Buv.js → j-B8dEhV_3.js} +1 -1
  175. package/dist/{java-jqu-OOA_.js → java-BRhuUgBQ.js} +1 -1
  176. package/dist/{javadoc-BuGGe5ry.js → javadoc-DOtq9hu9.js} +1 -1
  177. package/dist/{javadoclike-DwTlhFDH.js → javadoclike-DdvcIp5c.js} +1 -1
  178. package/dist/{javascript-C3W8zrcF.js → javascript-DjCtgtHd.js} +1 -1
  179. package/dist/{javastacktrace-CWg-Pa3I.js → javastacktrace-CRnD6qjT.js} +1 -1
  180. package/dist/{jexl-Bja4nDpf.js → jexl-D2hNAUPD.js} +1 -1
  181. package/dist/{jolie-DY3cCr_F.js → jolie-BmJdWAqP.js} +1 -1
  182. package/dist/{jq-vNnhuOTn.js → jq-CB5fve13.js} +1 -1
  183. package/dist/{js-extras-DP7VhKsg.js → js-extras-BcsagNBl.js} +1 -1
  184. package/dist/{js-templates-D8mthNgM.js → js-templates-Cs-UwghW.js} +1 -1
  185. package/dist/{jsdoc-DO5-FB8p.js → jsdoc-DCFwomVu.js} +1 -1
  186. package/dist/{json-C_a_Br3c.js → json-BWwP_c9r.js} +1 -1
  187. package/dist/{json5-Dec96vpd.js → json5-D4AkXLfp.js} +1 -1
  188. package/dist/{jsonp-By5Gxzzn.js → jsonp-BVJ57hNd.js} +1 -1
  189. package/dist/{jsstacktrace-CgA1Llt8.js → jsstacktrace-DF1BG-6t.js} +1 -1
  190. package/dist/{jsx-C7LWr5Sh.js → jsx-p2U-maPb.js} +1 -1
  191. package/dist/{julia-DYcw0cnQ.js → julia-eQkeC69T.js} +1 -1
  192. package/dist/{keepalived-f7FSwY1z.js → keepalived-CUG7G0mi.js} +1 -1
  193. package/dist/{keyman-Dnl8Nym1.js → keyman-C6vmqb2_.js} +1 -1
  194. package/dist/{kotlin-KeQ0Z08j.js → kotlin-D3scGj4w.js} +1 -1
  195. package/dist/{kumir-BOwHYDAq.js → kumir-Br-WkaJ4.js} +1 -1
  196. package/dist/{kusto-BKwn9HVH.js → kusto-DnN0RUdO.js} +1 -1
  197. package/dist/{latex-Cpvy-fni.js → latex-BLdkNxqO.js} +1 -1
  198. package/dist/{latte-DLkvN2Fo.js → latte-CW4G1zTA.js} +1 -1
  199. package/dist/{less-DucSAs6Z.js → less-m_ARghRW.js} +1 -1
  200. package/dist/{lilypond-baEut3Yc.js → lilypond-DH8H77lm.js} +1 -1
  201. package/dist/{link-2-off-CRRdCIWH.js → link-2-off-BHPhQ9Fe.js} +1 -1
  202. package/dist/{liquid-Dd_2KKW1.js → liquid-Blr_8-qk.js} +1 -1
  203. package/dist/{lisp-AbOq_6XD.js → lisp-BqsiTR2E.js} +1 -1
  204. package/dist/{livescript-CYPuBnBo.js → livescript-Cay_5G59.js} +1 -1
  205. package/dist/{llvm-g_Mdy3-l.js → llvm-DBd2wh_h.js} +1 -1
  206. package/dist/{lock-keyhole-B7cNJP1K.js → lock-keyhole-DwB0jZb9.js} +1 -1
  207. package/dist/{log-Bxuef6Y9.js → log-C8w6K6wl.js} +1 -1
  208. package/dist/{lolcode-B_U88kLR.js → lolcode-iGOFDZ_X.js} +1 -1
  209. package/dist/{lua-BR-YKvEK.js → lua-D-jcgxc2.js} +1 -1
  210. package/dist/{lucide-react-BfKVTZBH.js → lucide-react-DsSIoNqg.js} +1 -1
  211. package/dist/{luckyexcel.umd-T33gDMcN.js → luckyexcel.umd-BG7RRWQ5.js} +1 -1
  212. package/dist/{magma-CHGsJ6zT.js → magma-DLRE9-xS.js} +1 -1
  213. package/dist/{makefile-CweqTgeS.js → makefile-DsrO7LlY.js} +1 -1
  214. package/dist/{markdown-C6Tm-KI8.js → markdown-B12EBN01.js} +1 -1
  215. package/dist/{markup-BBHJPzJ7.js → markup-LrzcDNW8.js} +1 -1
  216. package/dist/{markup-templating-B5Z2Tp0_.js → markup-templating-nC_itgyL.js} +1 -1
  217. package/dist/{matlab-VG8lyYFX.js → matlab-DhcXQFba.js} +1 -1
  218. package/dist/{maxscript-gh8_fxpu.js → maxscript-Co5q3OgH.js} +1 -1
  219. package/dist/{mel-BOnmF1j6.js → mel-vmbnSIgQ.js} +1 -1
  220. package/dist/{mermaid-CWHODlvN.js → mermaid-EwbUHH4M.js} +1 -1
  221. package/dist/{mizar-BwnEAj97.js → mizar-CZwkP8jy.js} +1 -1
  222. package/dist/{mongodb-DBkJe0GZ.js → mongodb-Ch4SGrq-.js} +1 -1
  223. package/dist/{monkey-DnqwFLVO.js → monkey-C2J3hVzP.js} +1 -1
  224. package/dist/{moonscript-DDtzqF4a.js → moonscript-C-2xibE0.js} +1 -1
  225. package/dist/{n1ql-BizhBCmD.js → n1ql-BCBNajHv.js} +1 -1
  226. package/dist/{n4js-CUe7hC9p.js → n4js-DClkyRxs.js} +1 -1
  227. package/dist/{nand2tetris-hdl-DaYgBa5Y.js → nand2tetris-hdl-BTp87epa.js} +1 -1
  228. package/dist/{naniscript-DuPm9JSf.js → naniscript-NuCtVWm7.js} +1 -1
  229. package/dist/{nasm-BVOeqDGV.js → nasm-BZ6SYlkU.js} +1 -1
  230. package/dist/{neon-CjemA2Bi.js → neon-BYsn9jCF.js} +1 -1
  231. package/dist/{nevod-CF3pgy8F.js → nevod-zX25Ysu2.js} +1 -1
  232. package/dist/{nginx-CDt8ECeL.js → nginx-C2D0GaUm.js} +1 -1
  233. package/dist/{nim-h7nlTJBY.js → nim-DDmqYoBT.js} +1 -1
  234. package/dist/{nix-BMZuRgvT.js → nix-_jr8pJ0L.js} +1 -1
  235. package/dist/{nsis-C39cLmRH.js → nsis-D4lk0dWC.js} +1 -1
  236. package/dist/{objectivec-BasNhCfW.js → objectivec-Bd86oCR5.js} +1 -1
  237. package/dist/{ocaml-Bz0i_9U5.js → ocaml-05E82WIs.js} +1 -1
  238. package/dist/{opencl-B8b1nrqo.js → opencl-D-lnL4Ka.js} +1 -1
  239. package/dist/{openqasm-gA_A6qTU.js → openqasm-tW7dB7Ok.js} +1 -1
  240. package/dist/{oz-DZZpkMxi.js → oz-CpVsHe1y.js} +1 -1
  241. package/dist/{paintbrush-CIJANl9X.js → paintbrush-eIDj_RdR.js} +1 -1
  242. package/dist/{parigp-BPpbFJD0.js → parigp-BFdKZdJh.js} +1 -1
  243. package/dist/{parser-iLqczBqj.js → parser-DylJx2dB.js} +1 -1
  244. package/dist/{pascal-B_PpK-ey.js → pascal-DO_yNDsU.js} +1 -1
  245. package/dist/{pascaligo-Cc316Ttp.js → pascaligo-Cy8JmO2T.js} +1 -1
  246. package/dist/{pcaxis-B4MVInmN.js → pcaxis-Cn7ts8I6.js} +1 -1
  247. package/dist/{pen-tool-BZ7oBmmm.js → pen-tool-jnH1CIVs.js} +1 -1
  248. package/dist/{peoplecode-D4Z7F_r1.js → peoplecode-D14_7kks.js} +1 -1
  249. package/dist/{perl-BmSnj-ms.js → perl-CQbEbnsW.js} +1 -1
  250. package/dist/{php-CZ7qz_-j.js → php-Dv63Fhqp.js} +1 -1
  251. package/dist/{php-extras-D4XDXj0-.js → php-extras-E60iRxnG.js} +1 -1
  252. package/dist/{phpdoc-Cy2E2X92.js → phpdoc-DG78xdiU.js} +1 -1
  253. package/dist/{plsql-Cho2eUl5.js → plsql-DDIobotk.js} +1 -1
  254. package/dist/{plyr-i92w2Po_.js → plyr-Qgwtxz_a.js} +1 -1
  255. package/dist/{powerquery-Bx-rg-KZ.js → powerquery-Bo0ST1Q7.js} +1 -1
  256. package/dist/{powershell-Cw9A2ApR.js → powershell-CCaOVj_7.js} +1 -1
  257. package/dist/{processing-B5mBZDw1.js → processing-C6rjr_GE.js} +1 -1
  258. package/dist/{prolog-C1NuTUpu.js → prolog-D8kZVdIf.js} +1 -1
  259. package/dist/{promql-60fY9Aso.js → promql-C2vFBCxB.js} +1 -1
  260. package/dist/{properties-BXbdOpHi.js → properties-sH59kCni.js} +1 -1
  261. package/dist/{protobuf-CC5qtSJR.js → protobuf-fkPop9A-.js} +1 -1
  262. package/dist/{psl-DX0tPo7w.js → psl-B7wWmAdS.js} +1 -1
  263. package/dist/{pug-4-ocmX35.js → pug-BX0N9FDq.js} +1 -1
  264. package/dist/{puppet-BT1z7kcN.js → puppet-DEEVYPS9.js} +1 -1
  265. package/dist/{pure-D0OiKGj6.js → pure-BrWbl_0Y.js} +1 -1
  266. package/dist/{purebasic-BWaSafG1.js → purebasic-CjrSCmL1.js} +1 -1
  267. package/dist/{purescript-CRYiIpnF.js → purescript-BKiZSJaC.js} +1 -1
  268. package/dist/{python-DZBAdGLL.js → python-BjeQqNGg.js} +1 -1
  269. package/dist/{q-D5IjA1Ol.js → q-kUDLAlA-.js} +1 -1
  270. package/dist/{qml-DB2Z7DpA.js → qml-BdyXeaJv.js} +1 -1
  271. package/dist/{qore-CLAh8KDF.js → qore-C0JGwZ1t.js} +1 -1
  272. package/dist/{qsharp-Vl3HQ8Qq.js → qsharp-J2ckxbb8.js} +1 -1
  273. package/dist/{quill-D6tZgwKV.js → quill-DAPYjegM.js} +1 -1
  274. package/dist/{r-t_LsUost.js → r-MrM3knKt.js} +1 -1
  275. package/dist/{racket-BDrpf7nM.js → racket-DmULNk03.js} +1 -1
  276. package/dist/{reason-D_cZoCzn.js → reason-YBJB8xVH.js} +1 -1
  277. package/dist/{regex-Ca5wx86p.js → regex-Bco5sMcd.js} +1 -1
  278. package/dist/{rego-C-7c5YvT.js → rego-Y_l5nrxl.js} +1 -1
  279. package/dist/{renpy-DGDc5wN5.js → renpy-ByRZc0ri.js} +1 -1
  280. package/dist/{rest-BPNhntCy.js → rest-ejEoytjA.js} +1 -1
  281. package/dist/{rip-OSGh86kz.js → rip-DhWnrC0k.js} +1 -1
  282. package/dist/{roboconf-Dgh5mDfF.js → roboconf-BPwLWxtN.js} +1 -1
  283. package/dist/{robotframework-C5oRcK0f.js → robotframework-DIz_rqvo.js} +1 -1
  284. package/dist/{ruby-B_sT9GDm.js → ruby-DgYlOhdN.js} +1 -1
  285. package/dist/{runtime-CmCxTPcG.js → runtime-Ci9GR285.js} +73 -73
  286. package/dist/{rust--xL3MCB-.js → rust-wLe-ezDd.js} +1 -1
  287. package/dist/{sas-aammKV-k.js → sas-DeOyIN8s.js} +1 -1
  288. package/dist/{sass-CHqAEQwn.js → sass-DqCyjbBh.js} +1 -1
  289. package/dist/{scala-DucSWkkP.js → scala-obYmEMLB.js} +1 -1
  290. package/dist/{scheme-iWJJ-nH7.js → scheme-BCSePnXj.js} +1 -1
  291. package/dist/{scss-B7pyOktR.js → scss-CLAQe07V.js} +1 -1
  292. package/dist/{shell-session-CaqRxvUF.js → shell-session-FeVZkDVF.js} +1 -1
  293. package/dist/{smali-2G5Vuu3V.js → smali-Cu0SA_Ws.js} +1 -1
  294. package/dist/{smalltalk-BazKDF6i.js → smalltalk-D4fnCBcP.js} +1 -1
  295. package/dist/{smarty-RSEi9pUM.js → smarty-79tfgjHe.js} +1 -1
  296. package/dist/{sml-CsJwG_fK.js → sml-DD3frLiP.js} +1 -1
  297. package/dist/{solidity-Bb59Ybi4.js → solidity-DIlzHC81.js} +1 -1
  298. package/dist/{solution-file-C0rt2MvJ.js → solution-file-ZL6hMlAv.js} +1 -1
  299. package/dist/{soy-DwQYJn0W.js → soy-Dd2pbPUV.js} +1 -1
  300. package/dist/{sparql-BLfNsnWA.js → sparql-D8alTLZm.js} +1 -1
  301. package/dist/{splunk-spl-Byhm5va6.js → splunk-spl-Ctxd9pfy.js} +1 -1
  302. package/dist/{sqf-DlW26CQZ.js → sqf-C_IOLqrG.js} +1 -1
  303. package/dist/{sql-DwtGS7_-.js → sql-DSHakvQ8.js} +1 -1
  304. package/dist/{squirrel-B-h9OoVn.js → squirrel-6yMYW4SQ.js} +1 -1
  305. package/dist/{stan-C7Us-xct.js → stan-CWKCsUlm.js} +1 -1
  306. package/dist/{stylus-HiFoP3lR.js → stylus-AaWGXwny.js} +1 -1
  307. package/dist/{swift-C6O0K3cr.js → swift-_OcTTkBW.js} +1 -1
  308. package/dist/{systemd-WKo8IJb_.js → systemd-oSqsWqJu.js} +1 -1
  309. package/dist/{t4-cs-9B75PUaO.js → t4-cs-ClTDsC7e.js} +1 -1
  310. package/dist/{t4-templating-3AaQt0Rg.js → t4-templating-B5xkISD3.js} +1 -1
  311. package/dist/{t4-vb-_1wshNmA.js → t4-vb-1-8jAItU.js} +1 -1
  312. package/dist/{table-IRLCsgqL.js → table-CQq2gtQo.js} +1 -1
  313. package/dist/{tap-Bcc-gHEd.js → tap-Bz-JuHqW.js} +1 -1
  314. package/dist/{tcl-BJ0FZNNi.js → tcl-D4CgysPw.js} +1 -1
  315. package/dist/{templateSelectorDialog-BRjELyqr.js → templateSelectorDialog-DJJfHonc.js} +2 -2
  316. package/dist/{textile-DZqhamv_.js → textile-CRt4MOq_.js} +1 -1
  317. package/dist/{toml-DmFxN3l0.js → toml-_nBQCS98.js} +1 -1
  318. package/dist/{tremor-DNmdkIBv.js → tremor-ChZrLM1N.js} +1 -1
  319. package/dist/{tsx-CariDELU.js → tsx-8ra1xGPq.js} +1 -1
  320. package/dist/{tt2-C_kmHBBP.js → tt2-B5LWQbnM.js} +1 -1
  321. package/dist/{turtle-txGLM34c.js → turtle-LpZRmWuv.js} +1 -1
  322. package/dist/{twig-DEmk9H21.js → twig-CoIbzwlB.js} +1 -1
  323. package/dist/{typescript-DhCgI4JK.js → typescript-CE3abAdV.js} +1 -1
  324. package/dist/{typoscript-DnBC3QxX.js → typoscript--qQ14awL.js} +1 -1
  325. package/dist/{unrealscript-Dci4Rzp_.js → unrealscript-Ds2zCaUU.js} +1 -1
  326. package/dist/{uorazor-CLCs2cHr.js → uorazor-BNtXpYIS.js} +1 -1
  327. package/dist/{uri-d6gVm8_M.js → uri-BdvOBqT_.js} +1 -1
  328. package/dist/{usePromptLibraryMutations-Dx5EuhNe.js → usePromptLibraryMutations-5UkGPHSr.js} +1 -1
  329. package/dist/{useSupabaseBlobUrl-CZEHC8pz.js → useSupabaseBlobUrl-CzvfbetS.js} +1 -1
  330. package/dist/{useTermsNotice-od1AmOy2.js → useTermsNotice-Ci0pdx6X.js} +1 -1
  331. package/dist/{user-plus-DVsnHI-R.js → user-plus-DZ2htt41.js} +1 -1
  332. package/dist/{user-round-plus-C2gqc2hE.js → user-round-plus-DucQhHUw.js} +1 -1
  333. package/dist/{v-C5dc3G6U.js → v-BWoiS-LT.js} +1 -1
  334. package/dist/{vala-DaL4_Q-N.js → vala-CqHhqRIp.js} +1 -1
  335. package/dist/{vbnet-D0nNv7JA.js → vbnet-CIINH4_H.js} +1 -1
  336. package/dist/{velocity-CfvW_puR.js → velocity-DamV719W.js} +1 -1
  337. package/dist/{verilog-CdexlNsQ.js → verilog-D3-q39p6.js} +1 -1
  338. package/dist/{vhdl-DySAauQR.js → vhdl-DADT_sb4.js} +1 -1
  339. package/dist/{vim-BS2kEc2C.js → vim-CpnSv6BY.js} +1 -1
  340. package/dist/{visual-basic-CEpLNNJl.js → visual-basic-BvbVpzfn.js} +1 -1
  341. package/dist/{warpscript-ByJ4S8Av.js → warpscript-Cb7wms7m.js} +1 -1
  342. package/dist/{wasm-CUJWh_iS.js → wasm-Co43wBb3.js} +1 -1
  343. package/dist/{web-idl-D8cyxiGY.js → web-idl-CBZR4wvg.js} +1 -1
  344. package/dist/{wiki-BlZ3iWQV.js → wiki-9cChrwrT.js} +1 -1
  345. package/dist/{wolfram-dL66kdZb.js → wolfram-DfMWuNtc.js} +1 -1
  346. package/dist/{wren-Dhbo6G_f.js → wren-C_HPexL-.js} +1 -1
  347. package/dist/{xeora-ANxX-fz4.js → xeora-DIY6JfnM.js} +1 -1
  348. package/dist/{xml-doc-iGF_UzWF.js → xml-doc-BJv4o8mL.js} +1 -1
  349. package/dist/{xojo-1doHCbEE.js → xojo-fl7bKKLX.js} +1 -1
  350. package/dist/{xquery-DyQqKWCI.js → xquery-BdGO7X0x.js} +1 -1
  351. package/dist/{yaml-D2bLfk93.js → yaml-BK2f_eRC.js} +1 -1
  352. package/dist/{yang-B_5hkDxG.js → yang-BRIPwcT0.js} +1 -1
  353. package/dist/{zig-B0MwwVjC.js → zig-YHQJV1Jx.js} +1 -1
  354. package/package.json +2 -2
  355. package/dist/exportPreviewToDocx-DUGQxvzp.js +0 -11
  356. package/dist/index-DcbNiowT.js +0 -1
@@ -1 +1 @@
1
- import{dA as f}from"./runtime-CmCxTPcG.js";function c(e,n){for(var a=0;a<n.length;a++){const r=n[a];if(typeof r!="string"&&!Array.isArray(r)){for(const t in r)if(t!=="default"&&!(t in e)){const o=Object.getOwnPropertyDescriptor(r,t);o&&Object.defineProperty(e,t,o.get?o:{enumerable:!0,get:()=>r[t]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}var i,s;function u(){if(s)return i;s=1,i=e,e.displayName="warpscript",e.aliases=[];function e(n){n.languages.warpscript={comment:/#.*|\/\/.*|\/\*[\s\S]*?\*\//,string:{pattern:/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'|<'(?:[^\\']|'(?!>)|\\.)*'>/,greedy:!0},variable:/\$\S+/,macro:{pattern:/@\S+/,alias:"property"},keyword:/\b(?:BREAK|CHECKMACRO|CONTINUE|CUDF|DEFINED|DEFINEDMACRO|EVAL|FAIL|FOR|FOREACH|FORSTEP|IFT|IFTE|MSGFAIL|NRETURN|RETHROW|RETURN|SWITCH|TRY|UDF|UNTIL|WHILE)\b/,number:/[+-]?\b(?:NaN|Infinity|\d+(?:\.\d*)?(?:[Ee][+-]?\d+)?|0x[\da-fA-F]+|0b[01]+)\b/,boolean:/\b(?:F|T|false|true)\b/,punctuation:/<%|%>|[{}[\]()]/,operator:/==|&&?|\|\|?|\*\*?|>>>?|<<|[<>!~]=?|[-/%^]|\+!?|\b(?:AND|NOT|OR)\b/}}return i}var b=u();const l=f(b),p=c({__proto__:null,default:l},[b]);export{p as w};
1
+ import{dA as f}from"./runtime-Ci9GR285.js";function c(e,n){for(var a=0;a<n.length;a++){const r=n[a];if(typeof r!="string"&&!Array.isArray(r)){for(const t in r)if(t!=="default"&&!(t in e)){const o=Object.getOwnPropertyDescriptor(r,t);o&&Object.defineProperty(e,t,o.get?o:{enumerable:!0,get:()=>r[t]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}var i,s;function u(){if(s)return i;s=1,i=e,e.displayName="warpscript",e.aliases=[];function e(n){n.languages.warpscript={comment:/#.*|\/\/.*|\/\*[\s\S]*?\*\//,string:{pattern:/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'|<'(?:[^\\']|'(?!>)|\\.)*'>/,greedy:!0},variable:/\$\S+/,macro:{pattern:/@\S+/,alias:"property"},keyword:/\b(?:BREAK|CHECKMACRO|CONTINUE|CUDF|DEFINED|DEFINEDMACRO|EVAL|FAIL|FOR|FOREACH|FORSTEP|IFT|IFTE|MSGFAIL|NRETURN|RETHROW|RETURN|SWITCH|TRY|UDF|UNTIL|WHILE)\b/,number:/[+-]?\b(?:NaN|Infinity|\d+(?:\.\d*)?(?:[Ee][+-]?\d+)?|0x[\da-fA-F]+|0b[01]+)\b/,boolean:/\b(?:F|T|false|true)\b/,punctuation:/<%|%>|[{}[\]()]/,operator:/==|&&?|\|\|?|\*\*?|>>>?|<<|[<>!~]=?|[-/%^]|\+!?|\b(?:AND|NOT|OR)\b/}}return i}var b=u();const l=f(b),p=c({__proto__:null,default:l},[b]);export{p as w};
@@ -1 +1 @@
1
- import{dA as u}from"./runtime-CmCxTPcG.js";function d(e,n){for(var a=0;a<n.length;a++){const t=n[a];if(typeof t!="string"&&!Array.isArray(t)){for(const r in t)if(r!=="default"&&!(r in e)){const o=Object.getOwnPropertyDescriptor(t,r);o&&Object.defineProperty(e,r,o.get?o:{enumerable:!0,get:()=>t[r]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}var l,s;function f(){if(s)return l;s=1,l=e,e.displayName="wasm",e.aliases=[];function e(n){n.languages.wasm={comment:[/\(;[\s\S]*?;\)/,{pattern:/;;.*/,greedy:!0}],string:{pattern:/"(?:\\[\s\S]|[^"\\])*"/,greedy:!0},keyword:[{pattern:/\b(?:align|offset)=/,inside:{operator:/=/}},{pattern:/\b(?:(?:f32|f64|i32|i64)(?:\.(?:abs|add|and|ceil|clz|const|convert_[su]\/i(?:32|64)|copysign|ctz|demote\/f64|div(?:_[su])?|eqz?|extend_[su]\/i32|floor|ge(?:_[su])?|gt(?:_[su])?|le(?:_[su])?|load(?:(?:8|16|32)_[su])?|lt(?:_[su])?|max|min|mul|neg?|nearest|or|popcnt|promote\/f32|reinterpret\/[fi](?:32|64)|rem_[su]|rot[lr]|shl|shr_[su]|sqrt|store(?:8|16|32)?|sub|trunc(?:_[su]\/f(?:32|64))?|wrap\/i64|xor))?|memory\.(?:grow|size))\b/,inside:{punctuation:/\./}},/\b(?:anyfunc|block|br(?:_if|_table)?|call(?:_indirect)?|data|drop|elem|else|end|export|func|get_(?:global|local)|global|if|import|local|loop|memory|module|mut|nop|offset|param|result|return|select|set_(?:global|local)|start|table|tee_local|then|type|unreachable)\b/],variable:/\$[\w!#$%&'*+\-./:<=>?@\\^`|~]+/,number:/[+-]?\b(?:\d(?:_?\d)*(?:\.\d(?:_?\d)*)?(?:[eE][+-]?\d(?:_?\d)*)?|0x[\da-fA-F](?:_?[\da-fA-F])*(?:\.[\da-fA-F](?:_?[\da-fA-D])*)?(?:[pP][+-]?\d(?:_?\d)*)?)\b|\binf\b|\bnan(?::0x[\da-fA-F](?:_?[\da-fA-D])*)?\b/,punctuation:/[()]/}}return l}var i=f();const c=u(i),p=d({__proto__:null,default:c},[i]);export{p as w};
1
+ import{dA as u}from"./runtime-Ci9GR285.js";function d(e,n){for(var a=0;a<n.length;a++){const t=n[a];if(typeof t!="string"&&!Array.isArray(t)){for(const r in t)if(r!=="default"&&!(r in e)){const o=Object.getOwnPropertyDescriptor(t,r);o&&Object.defineProperty(e,r,o.get?o:{enumerable:!0,get:()=>t[r]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}var l,s;function f(){if(s)return l;s=1,l=e,e.displayName="wasm",e.aliases=[];function e(n){n.languages.wasm={comment:[/\(;[\s\S]*?;\)/,{pattern:/;;.*/,greedy:!0}],string:{pattern:/"(?:\\[\s\S]|[^"\\])*"/,greedy:!0},keyword:[{pattern:/\b(?:align|offset)=/,inside:{operator:/=/}},{pattern:/\b(?:(?:f32|f64|i32|i64)(?:\.(?:abs|add|and|ceil|clz|const|convert_[su]\/i(?:32|64)|copysign|ctz|demote\/f64|div(?:_[su])?|eqz?|extend_[su]\/i32|floor|ge(?:_[su])?|gt(?:_[su])?|le(?:_[su])?|load(?:(?:8|16|32)_[su])?|lt(?:_[su])?|max|min|mul|neg?|nearest|or|popcnt|promote\/f32|reinterpret\/[fi](?:32|64)|rem_[su]|rot[lr]|shl|shr_[su]|sqrt|store(?:8|16|32)?|sub|trunc(?:_[su]\/f(?:32|64))?|wrap\/i64|xor))?|memory\.(?:grow|size))\b/,inside:{punctuation:/\./}},/\b(?:anyfunc|block|br(?:_if|_table)?|call(?:_indirect)?|data|drop|elem|else|end|export|func|get_(?:global|local)|global|if|import|local|loop|memory|module|mut|nop|offset|param|result|return|select|set_(?:global|local)|start|table|tee_local|then|type|unreachable)\b/],variable:/\$[\w!#$%&'*+\-./:<=>?@\\^`|~]+/,number:/[+-]?\b(?:\d(?:_?\d)*(?:\.\d(?:_?\d)*)?(?:[eE][+-]?\d(?:_?\d)*)?|0x[\da-fA-F](?:_?[\da-fA-F])*(?:\.[\da-fA-F](?:_?[\da-fA-D])*)?(?:[pP][+-]?\d(?:_?\d)*)?)\b|\binf\b|\bnan(?::0x[\da-fA-F](?:_?[\da-fA-D])*)?\b/,punctuation:/[()]/}}return l}var i=f();const c=u(i),p=d({__proto__:null,default:c},[i]);export{p as w};
@@ -1 +1 @@
1
- import{dA as b}from"./runtime-CmCxTPcG.js";function u(i,a){for(var n=0;n<a.length;n++){const e=a[n];if(typeof e!="string"&&!Array.isArray(e)){for(const r in e)if(r!=="default"&&!(r in i)){const t=Object.getOwnPropertyDescriptor(e,r);t&&Object.defineProperty(i,r,t.get?t:{enumerable:!0,get:()=>e[r]})}}}return Object.freeze(Object.defineProperty(i,Symbol.toStringTag,{value:"Module"}))}var s,l;function d(){if(l)return s;l=1,s=i,i.displayName="webIdl",i.aliases=[];function i(a){(function(n){var e=/(?:\B-|\b_|\b)[A-Za-z][\w-]*(?![\w-])/.source,r="(?:"+/\b(?:unsigned\s+)?long\s+long(?![\w-])/.source+"|"+/\b(?:unrestricted|unsigned)\s+[a-z]+(?![\w-])/.source+"|"+/(?!(?:unrestricted|unsigned)\b)/.source+e+/(?:\s*<(?:[^<>]|<[^<>]*>)*>)?/.source+")"+/(?:\s*\?)?/.source,t={};n.languages["web-idl"]={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},string:{pattern:/"[^"]*"/,greedy:!0},namespace:{pattern:RegExp(/(\bnamespace\s+)/.source+e),lookbehind:!0},"class-name":[{pattern:/(^|[^\w-])(?:iterable|maplike|setlike)\s*<(?:[^<>]|<[^<>]*>)*>/,lookbehind:!0,inside:t},{pattern:RegExp(/(\b(?:attribute|const|deleter|getter|optional|setter)\s+)/.source+r),lookbehind:!0,inside:t},{pattern:RegExp("("+/\bcallback\s+/.source+e+/\s*=\s*/.source+")"+r),lookbehind:!0,inside:t},{pattern:RegExp(/(\btypedef\b\s*)/.source+r),lookbehind:!0,inside:t},{pattern:RegExp(/(\b(?:callback|dictionary|enum|interface(?:\s+mixin)?)\s+)(?!(?:interface|mixin)\b)/.source+e),lookbehind:!0},{pattern:RegExp(/(:\s*)/.source+e),lookbehind:!0},RegExp(e+/(?=\s+(?:implements|includes)\b)/.source),{pattern:RegExp(/(\b(?:implements|includes)\s+)/.source+e),lookbehind:!0},{pattern:RegExp(r+"(?="+/\s*(?:\.{3}\s*)?/.source+e+/\s*[(),;=]/.source+")"),inside:t}],builtin:/\b(?:ArrayBuffer|BigInt64Array|BigUint64Array|ByteString|DOMString|DataView|Float32Array|Float64Array|FrozenArray|Int16Array|Int32Array|Int8Array|ObservableArray|Promise|USVString|Uint16Array|Uint32Array|Uint8Array|Uint8ClampedArray)\b/,keyword:[/\b(?:async|attribute|callback|const|constructor|deleter|dictionary|enum|getter|implements|includes|inherit|interface|mixin|namespace|null|optional|or|partial|readonly|required|setter|static|stringifier|typedef|unrestricted)\b/,/\b(?:any|bigint|boolean|byte|double|float|iterable|long|maplike|object|octet|record|sequence|setlike|short|symbol|undefined|unsigned|void)\b/],boolean:/\b(?:false|true)\b/,number:{pattern:/(^|[^\w-])-?(?:0x[0-9a-f]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|NaN|Infinity)(?![\w-])/i,lookbehind:!0},operator:/\.{3}|[=:?<>-]/,punctuation:/[(){}[\].,;]/};for(var o in n.languages["web-idl"])o!=="class-name"&&(t[o]=n.languages["web-idl"][o]);n.languages.webidl=n.languages["web-idl"]})(a)}return s}var c=d();const p=b(c),g=u({__proto__:null,default:p},[c]);export{g as w};
1
+ import{dA as b}from"./runtime-Ci9GR285.js";function u(i,a){for(var n=0;n<a.length;n++){const e=a[n];if(typeof e!="string"&&!Array.isArray(e)){for(const r in e)if(r!=="default"&&!(r in i)){const t=Object.getOwnPropertyDescriptor(e,r);t&&Object.defineProperty(i,r,t.get?t:{enumerable:!0,get:()=>e[r]})}}}return Object.freeze(Object.defineProperty(i,Symbol.toStringTag,{value:"Module"}))}var s,l;function d(){if(l)return s;l=1,s=i,i.displayName="webIdl",i.aliases=[];function i(a){(function(n){var e=/(?:\B-|\b_|\b)[A-Za-z][\w-]*(?![\w-])/.source,r="(?:"+/\b(?:unsigned\s+)?long\s+long(?![\w-])/.source+"|"+/\b(?:unrestricted|unsigned)\s+[a-z]+(?![\w-])/.source+"|"+/(?!(?:unrestricted|unsigned)\b)/.source+e+/(?:\s*<(?:[^<>]|<[^<>]*>)*>)?/.source+")"+/(?:\s*\?)?/.source,t={};n.languages["web-idl"]={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},string:{pattern:/"[^"]*"/,greedy:!0},namespace:{pattern:RegExp(/(\bnamespace\s+)/.source+e),lookbehind:!0},"class-name":[{pattern:/(^|[^\w-])(?:iterable|maplike|setlike)\s*<(?:[^<>]|<[^<>]*>)*>/,lookbehind:!0,inside:t},{pattern:RegExp(/(\b(?:attribute|const|deleter|getter|optional|setter)\s+)/.source+r),lookbehind:!0,inside:t},{pattern:RegExp("("+/\bcallback\s+/.source+e+/\s*=\s*/.source+")"+r),lookbehind:!0,inside:t},{pattern:RegExp(/(\btypedef\b\s*)/.source+r),lookbehind:!0,inside:t},{pattern:RegExp(/(\b(?:callback|dictionary|enum|interface(?:\s+mixin)?)\s+)(?!(?:interface|mixin)\b)/.source+e),lookbehind:!0},{pattern:RegExp(/(:\s*)/.source+e),lookbehind:!0},RegExp(e+/(?=\s+(?:implements|includes)\b)/.source),{pattern:RegExp(/(\b(?:implements|includes)\s+)/.source+e),lookbehind:!0},{pattern:RegExp(r+"(?="+/\s*(?:\.{3}\s*)?/.source+e+/\s*[(),;=]/.source+")"),inside:t}],builtin:/\b(?:ArrayBuffer|BigInt64Array|BigUint64Array|ByteString|DOMString|DataView|Float32Array|Float64Array|FrozenArray|Int16Array|Int32Array|Int8Array|ObservableArray|Promise|USVString|Uint16Array|Uint32Array|Uint8Array|Uint8ClampedArray)\b/,keyword:[/\b(?:async|attribute|callback|const|constructor|deleter|dictionary|enum|getter|implements|includes|inherit|interface|mixin|namespace|null|optional|or|partial|readonly|required|setter|static|stringifier|typedef|unrestricted)\b/,/\b(?:any|bigint|boolean|byte|double|float|iterable|long|maplike|object|octet|record|sequence|setlike|short|symbol|undefined|unsigned|void)\b/],boolean:/\b(?:false|true)\b/,number:{pattern:/(^|[^\w-])-?(?:0x[0-9a-f]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|NaN|Infinity)(?![\w-])/i,lookbehind:!0},operator:/\.{3}|[=:?<>-]/,punctuation:/[(){}[\].,;]/};for(var o in n.languages["web-idl"])o!=="class-name"&&(t[o]=n.languages["web-idl"][o]);n.languages.webidl=n.languages["web-idl"]})(a)}return s}var c=d();const p=b(c),g=u({__proto__:null,default:p},[c]);export{g as w};
@@ -1 +1 @@
1
- import{dA as u}from"./runtime-CmCxTPcG.js";function p(e,t){for(var a=0;a<t.length;a++){const i=t[a];if(typeof i!="string"&&!Array.isArray(i)){for(const n in i)if(n!=="default"&&!(n in e)){const r=Object.getOwnPropertyDescriptor(i,n);r&&Object.defineProperty(e,n,r.get?r:{enumerable:!0,get:()=>i[n]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}var o,s;function d(){if(s)return o;s=1,o=e,e.displayName="wiki",e.aliases=[];function e(t){t.languages.wiki=t.languages.extend("markup",{"block-comment":{pattern:/(^|[^\\])\/\*[\s\S]*?\*\//,lookbehind:!0,alias:"comment"},heading:{pattern:/^(=+)[^=\r\n].*?\1/m,inside:{punctuation:/^=+|=+$/,important:/.+/}},emphasis:{pattern:/('{2,5}).+?\1/,inside:{"bold-italic":{pattern:/(''''').+?(?=\1)/,lookbehind:!0,alias:["bold","italic"]},bold:{pattern:/(''')[^'](?:.*?[^'])?(?=\1)/,lookbehind:!0},italic:{pattern:/('')[^'](?:.*?[^'])?(?=\1)/,lookbehind:!0},punctuation:/^''+|''+$/}},hr:{pattern:/^-{4,}/m,alias:"punctuation"},url:[/ISBN +(?:97[89][ -]?)?(?:\d[ -]?){9}[\dx]\b|(?:PMID|RFC) +\d+/i,/\[\[.+?\]\]|\[.+?\]/],variable:[/__[A-Z]+__/,/\{{3}.+?\}{3}/,/\{\{.+?\}\}/],symbol:[/^#redirect/im,/~{3,5}/],"table-tag":{pattern:/((?:^|[|!])[|!])[^|\r\n]+\|(?!\|)/m,lookbehind:!0,inside:{"table-bar":{pattern:/\|$/,alias:"punctuation"},rest:t.languages.markup.tag.inside}},punctuation:/^(?:\{\||\|\}|\|-|[*#:;!|])|\|\||!!/m}),t.languages.insertBefore("wiki","tag",{nowiki:{pattern:/<(nowiki|pre|source)\b[^>]*>[\s\S]*?<\/\1>/i,inside:{tag:{pattern:/<(?:nowiki|pre|source)\b[^>]*>|<\/(?:nowiki|pre|source)>/i,inside:t.languages.markup.tag.inside}}}})}return o}var l=d();const c=u(l),b=p({__proto__:null,default:c},[l]);export{b as w};
1
+ import{dA as u}from"./runtime-Ci9GR285.js";function p(e,t){for(var a=0;a<t.length;a++){const i=t[a];if(typeof i!="string"&&!Array.isArray(i)){for(const n in i)if(n!=="default"&&!(n in e)){const r=Object.getOwnPropertyDescriptor(i,n);r&&Object.defineProperty(e,n,r.get?r:{enumerable:!0,get:()=>i[n]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}var o,s;function d(){if(s)return o;s=1,o=e,e.displayName="wiki",e.aliases=[];function e(t){t.languages.wiki=t.languages.extend("markup",{"block-comment":{pattern:/(^|[^\\])\/\*[\s\S]*?\*\//,lookbehind:!0,alias:"comment"},heading:{pattern:/^(=+)[^=\r\n].*?\1/m,inside:{punctuation:/^=+|=+$/,important:/.+/}},emphasis:{pattern:/('{2,5}).+?\1/,inside:{"bold-italic":{pattern:/(''''').+?(?=\1)/,lookbehind:!0,alias:["bold","italic"]},bold:{pattern:/(''')[^'](?:.*?[^'])?(?=\1)/,lookbehind:!0},italic:{pattern:/('')[^'](?:.*?[^'])?(?=\1)/,lookbehind:!0},punctuation:/^''+|''+$/}},hr:{pattern:/^-{4,}/m,alias:"punctuation"},url:[/ISBN +(?:97[89][ -]?)?(?:\d[ -]?){9}[\dx]\b|(?:PMID|RFC) +\d+/i,/\[\[.+?\]\]|\[.+?\]/],variable:[/__[A-Z]+__/,/\{{3}.+?\}{3}/,/\{\{.+?\}\}/],symbol:[/^#redirect/im,/~{3,5}/],"table-tag":{pattern:/((?:^|[|!])[|!])[^|\r\n]+\|(?!\|)/m,lookbehind:!0,inside:{"table-bar":{pattern:/\|$/,alias:"punctuation"},rest:t.languages.markup.tag.inside}},punctuation:/^(?:\{\||\|\}|\|-|[*#:;!|])|\|\||!!/m}),t.languages.insertBefore("wiki","tag",{nowiki:{pattern:/<(nowiki|pre|source)\b[^>]*>[\s\S]*?<\/\1>/i,inside:{tag:{pattern:/<(?:nowiki|pre|source)\b[^>]*>|<\/(?:nowiki|pre|source)>/i,inside:t.languages.markup.tag.inside}}}})}return o}var l=d();const c=u(l),b=p({__proto__:null,default:c},[l]);export{b as w};
@@ -1 +1 @@
1
- import{dA as u}from"./runtime-CmCxTPcG.js";function b(e,a){for(var n=0;n<a.length;n++){const t=a[n];if(typeof t!="string"&&!Array.isArray(t)){for(const r in t)if(r!=="default"&&!(r in e)){const l=Object.getOwnPropertyDescriptor(t,r);l&&Object.defineProperty(e,r,l.get?l:{enumerable:!0,get:()=>t[r]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}var o,i;function g(){if(i)return o;i=1,o=e,e.displayName="wolfram",e.aliases=["mathematica","wl","nb"];function e(a){a.languages.wolfram={comment:/\(\*(?:\(\*(?:[^*]|\*(?!\)))*\*\)|(?!\(\*)[\s\S])*?\*\)/,string:{pattern:/"(?:\\.|[^"\\\r\n])*"/,greedy:!0},keyword:/\b(?:Abs|AbsArg|Accuracy|Block|Do|For|Function|If|Manipulate|Module|Nest|NestList|None|Return|Switch|Table|Which|While)\b/,context:{pattern:/\b\w+`+\w*/,alias:"class-name"},blank:{pattern:/\b\w+_\b/,alias:"regex"},"global-variable":{pattern:/\$\w+/,alias:"variable"},boolean:/\b(?:False|True)\b/,number:/(?:\b(?=\d)|\B(?=\.))(?:0[bo])?(?:(?:\d|0x[\da-f])[\da-f]*(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?j?\b/i,operator:/\/\.|;|=\.|\^=|\^:=|:=|<<|>>|<\||\|>|:>|\|->|->|<-|@@@|@@|@|\/@|=!=|===|==|=|\+|-|\^|\[\/-+%=\]=?|!=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/},a.languages.mathematica=a.languages.wolfram,a.languages.wl=a.languages.wolfram,a.languages.nb=a.languages.wolfram}return o}var s=g();const c=u(s),f=b({__proto__:null,default:c},[s]);export{f as w};
1
+ import{dA as u}from"./runtime-Ci9GR285.js";function b(e,a){for(var n=0;n<a.length;n++){const t=a[n];if(typeof t!="string"&&!Array.isArray(t)){for(const r in t)if(r!=="default"&&!(r in e)){const l=Object.getOwnPropertyDescriptor(t,r);l&&Object.defineProperty(e,r,l.get?l:{enumerable:!0,get:()=>t[r]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}var o,i;function g(){if(i)return o;i=1,o=e,e.displayName="wolfram",e.aliases=["mathematica","wl","nb"];function e(a){a.languages.wolfram={comment:/\(\*(?:\(\*(?:[^*]|\*(?!\)))*\*\)|(?!\(\*)[\s\S])*?\*\)/,string:{pattern:/"(?:\\.|[^"\\\r\n])*"/,greedy:!0},keyword:/\b(?:Abs|AbsArg|Accuracy|Block|Do|For|Function|If|Manipulate|Module|Nest|NestList|None|Return|Switch|Table|Which|While)\b/,context:{pattern:/\b\w+`+\w*/,alias:"class-name"},blank:{pattern:/\b\w+_\b/,alias:"regex"},"global-variable":{pattern:/\$\w+/,alias:"variable"},boolean:/\b(?:False|True)\b/,number:/(?:\b(?=\d)|\B(?=\.))(?:0[bo])?(?:(?:\d|0x[\da-f])[\da-f]*(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?j?\b/i,operator:/\/\.|;|=\.|\^=|\^:=|:=|<<|>>|<\||\|>|:>|\|->|->|<-|@@@|@@|@|\/@|=!=|===|==|=|\+|-|\^|\[\/-+%=\]=?|!=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/},a.languages.mathematica=a.languages.wolfram,a.languages.wl=a.languages.wolfram,a.languages.nb=a.languages.wolfram}return o}var s=g();const c=u(s),f=b({__proto__:null,default:c},[s]);export{f as w};
@@ -1 +1 @@
1
- import{dA as u}from"./runtime-CmCxTPcG.js";function b(e,t){for(var a=0;a<t.length;a++){const n=t[a];if(typeof n!="string"&&!Array.isArray(n)){for(const r in n)if(r!=="default"&&!(r in e)){const i=Object.getOwnPropertyDescriptor(n,r);i&&Object.defineProperty(e,r,i.get?i:{enumerable:!0,get:()=>n[r]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}var o,s;function d(){if(s)return o;s=1,o=e,e.displayName="wren",e.aliases=[];function e(t){t.languages.wren={comment:[{pattern:/\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|\/\*(?:[^*/]|\*(?!\/)|\/(?!\*))*\*\/)*\*\/)*\*\//,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],"triple-quoted-string":{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string"},"string-literal":null,hashbang:{pattern:/^#!\/.+/,greedy:!0,alias:"comment"},attribute:{pattern:/#!?[ \t\u3000]*\w+/,alias:"keyword"},"class-name":[{pattern:/(\bclass\s+)\w+/,lookbehind:!0},/\b[A-Z][a-z\d_]*\b/],constant:/\b[A-Z][A-Z\d_]*\b/,null:{pattern:/\bnull\b/,alias:"keyword"},keyword:/\b(?:as|break|class|construct|continue|else|for|foreign|if|import|in|is|return|static|super|this|var|while)\b/,boolean:/\b(?:false|true)\b/,number:/\b(?:0x[\da-f]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/i,function:/\b[a-z_]\w*(?=\s*[({])/i,operator:/<<|>>|[=!<>]=?|&&|\|\||[-+*/%~^&|?:]|\.{2,3}/,punctuation:/[\[\](){}.,;]/},t.languages.wren["string-literal"]={pattern:/(^|[^\\"])"(?:[^\\"%]|\\[\s\S]|%(?!\()|%\((?:[^()]|\((?:[^()]|\([^)]*\))*\))*\))*"/,lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)%\((?:[^()]|\((?:[^()]|\([^)]*\))*\))*\)/,lookbehind:!0,inside:{expression:{pattern:/^(%\()[\s\S]+(?=\)$)/,lookbehind:!0,inside:t.languages.wren},"interpolation-punctuation":{pattern:/^%\(|\)$/,alias:"punctuation"}}},string:/[\s\S]+/}}}return o}var l=d();const p=u(l),c=b({__proto__:null,default:p},[l]);export{c as w};
1
+ import{dA as u}from"./runtime-Ci9GR285.js";function b(e,t){for(var a=0;a<t.length;a++){const n=t[a];if(typeof n!="string"&&!Array.isArray(n)){for(const r in n)if(r!=="default"&&!(r in e)){const i=Object.getOwnPropertyDescriptor(n,r);i&&Object.defineProperty(e,r,i.get?i:{enumerable:!0,get:()=>n[r]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}var o,s;function d(){if(s)return o;s=1,o=e,e.displayName="wren",e.aliases=[];function e(t){t.languages.wren={comment:[{pattern:/\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|\/\*(?:[^*/]|\*(?!\/)|\/(?!\*))*\*\/)*\*\/)*\*\//,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],"triple-quoted-string":{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string"},"string-literal":null,hashbang:{pattern:/^#!\/.+/,greedy:!0,alias:"comment"},attribute:{pattern:/#!?[ \t\u3000]*\w+/,alias:"keyword"},"class-name":[{pattern:/(\bclass\s+)\w+/,lookbehind:!0},/\b[A-Z][a-z\d_]*\b/],constant:/\b[A-Z][A-Z\d_]*\b/,null:{pattern:/\bnull\b/,alias:"keyword"},keyword:/\b(?:as|break|class|construct|continue|else|for|foreign|if|import|in|is|return|static|super|this|var|while)\b/,boolean:/\b(?:false|true)\b/,number:/\b(?:0x[\da-f]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/i,function:/\b[a-z_]\w*(?=\s*[({])/i,operator:/<<|>>|[=!<>]=?|&&|\|\||[-+*/%~^&|?:]|\.{2,3}/,punctuation:/[\[\](){}.,;]/},t.languages.wren["string-literal"]={pattern:/(^|[^\\"])"(?:[^\\"%]|\\[\s\S]|%(?!\()|%\((?:[^()]|\((?:[^()]|\([^)]*\))*\))*\))*"/,lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)%\((?:[^()]|\((?:[^()]|\([^)]*\))*\))*\)/,lookbehind:!0,inside:{expression:{pattern:/^(%\()[\s\S]+(?=\)$)/,lookbehind:!0,inside:t.languages.wren},"interpolation-punctuation":{pattern:/^%\(|\)$/,alias:"punctuation"}}},string:/[\s\S]+/}}}return o}var l=d();const p=u(l),c=b({__proto__:null,default:p},[l]);export{c as w};
@@ -1 +1 @@
1
- import{dA as c}from"./runtime-CmCxTPcG.js";function s(n,i){for(var t=0;t<i.length;t++){const e=i[t];if(typeof e!="string"&&!Array.isArray(e)){for(const a in e)if(a!=="default"&&!(a in n)){const r=Object.getOwnPropertyDescriptor(e,a);r&&Object.defineProperty(n,a,r.get?r:{enumerable:!0,get:()=>e[a]})}}}return Object.freeze(Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}))}var o,u;function l(){if(u)return o;u=1,o=n,n.displayName="xeora",n.aliases=["xeoracube"];function n(i){(function(t){t.languages.xeora=t.languages.extend("markup",{constant:{pattern:/\$(?:DomainContents|PageRenderDuration)\$/,inside:{punctuation:{pattern:/\$/}}},variable:{pattern:/\$@?(?:#+|[-+*~=^])?[\w.]+\$/,inside:{punctuation:{pattern:/[$.]/},operator:{pattern:/#+|[-+*~=^@]/}}},"function-inline":{pattern:/\$F:[-\w.]+\?[-\w.]+(?:,(?:(?:@[-#]*\w+\.[\w+.]\.*)*\|)*(?:(?:[\w+]|[-#*.~^]+[\w+]|=\S)(?:[^$=]|=+[^=])*=*|(?:@[-#]*\w+\.[\w+.]\.*)+(?:(?:[\w+]|[-#*~^][-#*.~^]*[\w+]|=\S)(?:[^$=]|=+[^=])*=*)?)?)?\$/,inside:{variable:{pattern:/(?:[,|])@?(?:#+|[-+*~=^])?[\w.]+/,inside:{punctuation:{pattern:/[,.|]/},operator:{pattern:/#+|[-+*~=^@]/}}},punctuation:{pattern:/\$\w:|[$:?.,|]/}},alias:"function"},"function-block":{pattern:/\$XF:\{[-\w.]+\?[-\w.]+(?:,(?:(?:@[-#]*\w+\.[\w+.]\.*)*\|)*(?:(?:[\w+]|[-#*.~^]+[\w+]|=\S)(?:[^$=]|=+[^=])*=*|(?:@[-#]*\w+\.[\w+.]\.*)+(?:(?:[\w+]|[-#*~^][-#*.~^]*[\w+]|=\S)(?:[^$=]|=+[^=])*=*)?)?)?\}:XF\$/,inside:{punctuation:{pattern:/[$:{}?.,|]/}},alias:"function"},"directive-inline":{pattern:/\$\w(?:#\d+\+?)?(?:\[[-\w.]+\])?:[-\/\w.]+\$/,inside:{punctuation:{pattern:/\$(?:\w:|C(?:\[|#\d))?|[:{[\]]/,inside:{tag:{pattern:/#\d/}}}},alias:"function"},"directive-block-open":{pattern:/\$\w+:\{|\$\w(?:#\d+\+?)?(?:\[[-\w.]+\])?:[-\w.]+:\{(?:![A-Z]+)?/,inside:{punctuation:{pattern:/\$(?:\w:|C(?:\[|#\d))?|[:{[\]]/,inside:{tag:{pattern:/#\d/}}},attribute:{pattern:/![A-Z]+$/,inside:{punctuation:{pattern:/!/}},alias:"keyword"}},alias:"function"},"directive-block-separator":{pattern:/\}:[-\w.]+:\{/,inside:{punctuation:{pattern:/[:{}]/}},alias:"function"},"directive-block-close":{pattern:/\}:[-\w.]+\$/,inside:{punctuation:{pattern:/[:{}$]/}},alias:"function"}}),t.languages.insertBefore("inside","punctuation",{variable:t.languages.xeora["function-inline"].inside.variable},t.languages.xeora["function-block"]),t.languages.xeoracube=t.languages.xeora})(i)}return o}var p=l();const w=c(p),d=s({__proto__:null,default:w},[p]);export{d as x};
1
+ import{dA as c}from"./runtime-Ci9GR285.js";function s(n,i){for(var t=0;t<i.length;t++){const e=i[t];if(typeof e!="string"&&!Array.isArray(e)){for(const a in e)if(a!=="default"&&!(a in n)){const r=Object.getOwnPropertyDescriptor(e,a);r&&Object.defineProperty(n,a,r.get?r:{enumerable:!0,get:()=>e[a]})}}}return Object.freeze(Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}))}var o,u;function l(){if(u)return o;u=1,o=n,n.displayName="xeora",n.aliases=["xeoracube"];function n(i){(function(t){t.languages.xeora=t.languages.extend("markup",{constant:{pattern:/\$(?:DomainContents|PageRenderDuration)\$/,inside:{punctuation:{pattern:/\$/}}},variable:{pattern:/\$@?(?:#+|[-+*~=^])?[\w.]+\$/,inside:{punctuation:{pattern:/[$.]/},operator:{pattern:/#+|[-+*~=^@]/}}},"function-inline":{pattern:/\$F:[-\w.]+\?[-\w.]+(?:,(?:(?:@[-#]*\w+\.[\w+.]\.*)*\|)*(?:(?:[\w+]|[-#*.~^]+[\w+]|=\S)(?:[^$=]|=+[^=])*=*|(?:@[-#]*\w+\.[\w+.]\.*)+(?:(?:[\w+]|[-#*~^][-#*.~^]*[\w+]|=\S)(?:[^$=]|=+[^=])*=*)?)?)?\$/,inside:{variable:{pattern:/(?:[,|])@?(?:#+|[-+*~=^])?[\w.]+/,inside:{punctuation:{pattern:/[,.|]/},operator:{pattern:/#+|[-+*~=^@]/}}},punctuation:{pattern:/\$\w:|[$:?.,|]/}},alias:"function"},"function-block":{pattern:/\$XF:\{[-\w.]+\?[-\w.]+(?:,(?:(?:@[-#]*\w+\.[\w+.]\.*)*\|)*(?:(?:[\w+]|[-#*.~^]+[\w+]|=\S)(?:[^$=]|=+[^=])*=*|(?:@[-#]*\w+\.[\w+.]\.*)+(?:(?:[\w+]|[-#*~^][-#*.~^]*[\w+]|=\S)(?:[^$=]|=+[^=])*=*)?)?)?\}:XF\$/,inside:{punctuation:{pattern:/[$:{}?.,|]/}},alias:"function"},"directive-inline":{pattern:/\$\w(?:#\d+\+?)?(?:\[[-\w.]+\])?:[-\/\w.]+\$/,inside:{punctuation:{pattern:/\$(?:\w:|C(?:\[|#\d))?|[:{[\]]/,inside:{tag:{pattern:/#\d/}}}},alias:"function"},"directive-block-open":{pattern:/\$\w+:\{|\$\w(?:#\d+\+?)?(?:\[[-\w.]+\])?:[-\w.]+:\{(?:![A-Z]+)?/,inside:{punctuation:{pattern:/\$(?:\w:|C(?:\[|#\d))?|[:{[\]]/,inside:{tag:{pattern:/#\d/}}},attribute:{pattern:/![A-Z]+$/,inside:{punctuation:{pattern:/!/}},alias:"keyword"}},alias:"function"},"directive-block-separator":{pattern:/\}:[-\w.]+:\{/,inside:{punctuation:{pattern:/[:{}]/}},alias:"function"},"directive-block-close":{pattern:/\}:[-\w.]+\$/,inside:{punctuation:{pattern:/[:{}$]/}},alias:"function"}}),t.languages.insertBefore("inside","punctuation",{variable:t.languages.xeora["function-inline"].inside.variable},t.languages.xeora["function-block"]),t.languages.xeoracube=t.languages.xeora})(i)}return o}var p=l();const w=c(p),d=s({__proto__:null,default:w},[p]);export{d as x};
@@ -1 +1 @@
1
- import{dA as u}from"./runtime-CmCxTPcG.js";function m(r,i){for(var n=0;n<i.length;n++){const e=i[n];if(typeof e!="string"&&!Array.isArray(e)){for(const t in e)if(t!=="default"&&!(t in r)){const a=Object.getOwnPropertyDescriptor(e,t);a&&Object.defineProperty(r,t,a.get?a:{enumerable:!0,get:()=>e[t]})}}}return Object.freeze(Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}))}var o,f;function p(){if(f)return o;f=1,o=r,r.displayName="xmlDoc",r.aliases=[];function r(i){(function(n){function e(c,l){n.languages[c]&&n.languages.insertBefore(c,"comment",{"doc-comment":l})}var t=n.languages.markup.tag,a={pattern:/\/\/\/.*/,greedy:!0,alias:"comment",inside:{tag:t}},g={pattern:/'''.*/,greedy:!0,alias:"comment",inside:{tag:t}};e("csharp",a),e("fsharp",a),e("vbnet",g)})(i)}return o}var s=p();const d=u(s),y=m({__proto__:null,default:d},[s]);export{y as x};
1
+ import{dA as u}from"./runtime-Ci9GR285.js";function m(r,i){for(var n=0;n<i.length;n++){const e=i[n];if(typeof e!="string"&&!Array.isArray(e)){for(const t in e)if(t!=="default"&&!(t in r)){const a=Object.getOwnPropertyDescriptor(e,t);a&&Object.defineProperty(r,t,a.get?a:{enumerable:!0,get:()=>e[t]})}}}return Object.freeze(Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}))}var o,f;function p(){if(f)return o;f=1,o=r,r.displayName="xmlDoc",r.aliases=[];function r(i){(function(n){function e(c,l){n.languages[c]&&n.languages.insertBefore(c,"comment",{"doc-comment":l})}var t=n.languages.markup.tag,a={pattern:/\/\/\/.*/,greedy:!0,alias:"comment",inside:{tag:t}},g={pattern:/'''.*/,greedy:!0,alias:"comment",inside:{tag:t}};e("csharp",a),e("fsharp",a),e("vbnet",g)})(i)}return o}var s=p();const d=u(s),y=m({__proto__:null,default:d},[s]);export{y as x};
@@ -1 +1 @@
1
- import{dA as s}from"./runtime-CmCxTPcG.js";function u(e,n){for(var o=0;o<n.length;o++){const t=n[o];if(typeof t!="string"&&!Array.isArray(t)){for(const r in t)if(r!=="default"&&!(r in e)){const a=Object.getOwnPropertyDescriptor(t,r);a&&Object.defineProperty(e,r,a.get?a:{enumerable:!0,get:()=>t[r]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}var i,l;function f(){if(l)return i;l=1,i=e,e.displayName="xojo",e.aliases=[];function e(n){n.languages.xojo={comment:{pattern:/(?:'|\/\/|Rem\b).+/i,greedy:!0},string:{pattern:/"(?:""|[^"])*"/,greedy:!0},number:[/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,/&[bchou][a-z\d]+/i],directive:{pattern:/#(?:Else|ElseIf|Endif|If|Pragma)\b/i,alias:"property"},keyword:/\b(?:AddHandler|App|Array|As(?:signs)?|Auto|Boolean|Break|By(?:Ref|Val)|Byte|Call|Case|Catch|CFStringRef|CGFloat|Class|Color|Const|Continue|CString|Currency|CurrentMethodName|Declare|Delegate|Dim|Do(?:uble|wnTo)?|Each|Else(?:If)?|End|Enumeration|Event|Exception|Exit|Extends|False|Finally|For|Function|Get|GetTypeInfo|Global|GOTO|If|Implements|In|Inherits|Int(?:8|16|32|64|eger|erface)?|Lib|Loop|Me|Module|Next|Nil|Object|Optional|OSType|ParamArray|Private|Property|Protected|PString|Ptr|Raise(?:Event)?|ReDim|RemoveHandler|Return|Select(?:or)?|Self|Set|Shared|Short|Single|Soft|Static|Step|String|Sub|Super|Text|Then|To|True|Try|Ubound|UInt(?:8|16|32|64|eger)?|Until|Using|Var(?:iant)?|Wend|While|WindowPtr|WString)\b/i,operator:/<[=>]?|>=?|[+\-*\/\\^=]|\b(?:AddressOf|And|Ctype|IsA?|Mod|New|Not|Or|WeakAddressOf|Xor)\b/i,punctuation:/[.,;:()]/}}return i}var d=f();const p=s(d),c=u({__proto__:null,default:p},[d]);export{c as x};
1
+ import{dA as s}from"./runtime-Ci9GR285.js";function u(e,n){for(var o=0;o<n.length;o++){const t=n[o];if(typeof t!="string"&&!Array.isArray(t)){for(const r in t)if(r!=="default"&&!(r in e)){const a=Object.getOwnPropertyDescriptor(t,r);a&&Object.defineProperty(e,r,a.get?a:{enumerable:!0,get:()=>t[r]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}var i,l;function f(){if(l)return i;l=1,i=e,e.displayName="xojo",e.aliases=[];function e(n){n.languages.xojo={comment:{pattern:/(?:'|\/\/|Rem\b).+/i,greedy:!0},string:{pattern:/"(?:""|[^"])*"/,greedy:!0},number:[/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,/&[bchou][a-z\d]+/i],directive:{pattern:/#(?:Else|ElseIf|Endif|If|Pragma)\b/i,alias:"property"},keyword:/\b(?:AddHandler|App|Array|As(?:signs)?|Auto|Boolean|Break|By(?:Ref|Val)|Byte|Call|Case|Catch|CFStringRef|CGFloat|Class|Color|Const|Continue|CString|Currency|CurrentMethodName|Declare|Delegate|Dim|Do(?:uble|wnTo)?|Each|Else(?:If)?|End|Enumeration|Event|Exception|Exit|Extends|False|Finally|For|Function|Get|GetTypeInfo|Global|GOTO|If|Implements|In|Inherits|Int(?:8|16|32|64|eger|erface)?|Lib|Loop|Me|Module|Next|Nil|Object|Optional|OSType|ParamArray|Private|Property|Protected|PString|Ptr|Raise(?:Event)?|ReDim|RemoveHandler|Return|Select(?:or)?|Self|Set|Shared|Short|Single|Soft|Static|Step|String|Sub|Super|Text|Then|To|True|Try|Ubound|UInt(?:8|16|32|64|eger)?|Until|Using|Var(?:iant)?|Wend|While|WindowPtr|WString)\b/i,operator:/<[=>]?|>=?|[+\-*\/\\^=]|\b(?:AddressOf|And|Ctype|IsA?|Mod|New|Not|Or|WeakAddressOf|Xor)\b/i,punctuation:/[.,;:()]/}}return i}var d=f();const p=s(d),c=u({__proto__:null,default:p},[d]);export{c as x};
@@ -1 +1 @@
1
- import{dA as y}from"./runtime-CmCxTPcG.js";function m(s,g){for(var o=0;o<g.length;o++){const i=g[o];if(typeof i!="string"&&!Array.isArray(i)){for(const r in i)if(r!=="default"&&!(r in s)){const e=Object.getOwnPropertyDescriptor(i,r);e&&Object.defineProperty(s,r,e.get?e:{enumerable:!0,get:()=>i[r]})}}}return Object.freeze(Object.defineProperty(s,Symbol.toStringTag,{value:"Module"}))}var c,u;function f(){if(u)return c;u=1,c=s,s.displayName="xquery",s.aliases=[];function s(g){(function(o){o.languages.xquery=o.languages.extend("markup",{"xquery-comment":{pattern:/\(:[\s\S]*?:\)/,greedy:!0,alias:"comment"},string:{pattern:/(["'])(?:\1\1|(?!\1)[\s\S])*\1/,greedy:!0},extension:{pattern:/\(#.+?#\)/,alias:"symbol"},variable:/\$[-\w:]+/,axis:{pattern:/(^|[^-])(?:ancestor(?:-or-self)?|attribute|child|descendant(?:-or-self)?|following(?:-sibling)?|parent|preceding(?:-sibling)?|self)(?=::)/,lookbehind:!0,alias:"operator"},"keyword-operator":{pattern:/(^|[^:-])\b(?:and|castable as|div|eq|except|ge|gt|idiv|instance of|intersect|is|le|lt|mod|ne|or|union)\b(?=$|[^:-])/,lookbehind:!0,alias:"operator"},keyword:{pattern:/(^|[^:-])\b(?:as|ascending|at|base-uri|boundary-space|case|cast as|collation|construction|copy-namespaces|declare|default|descending|else|empty (?:greatest|least)|encoding|every|external|for|function|if|import|in|inherit|lax|let|map|module|namespace|no-inherit|no-preserve|option|order(?: by|ed|ing)?|preserve|return|satisfies|schema|some|stable|strict|strip|then|to|treat as|typeswitch|unordered|validate|variable|version|where|xquery)\b(?=$|[^:-])/,lookbehind:!0},function:/[\w-]+(?::[\w-]+)*(?=\s*\()/,"xquery-element":{pattern:/(element\s+)[\w-]+(?::[\w-]+)*/,lookbehind:!0,alias:"tag"},"xquery-attribute":{pattern:/(attribute\s+)[\w-]+(?::[\w-]+)*/,lookbehind:!0,alias:"attr-name"},builtin:{pattern:/(^|[^:-])\b(?:attribute|comment|document|element|processing-instruction|text|xs:(?:ENTITIES|ENTITY|ID|IDREFS?|NCName|NMTOKENS?|NOTATION|Name|QName|anyAtomicType|anyType|anyURI|base64Binary|boolean|byte|date|dateTime|dayTimeDuration|decimal|double|duration|float|gDay|gMonth|gMonthDay|gYear|gYearMonth|hexBinary|int|integer|language|long|negativeInteger|nonNegativeInteger|nonPositiveInteger|normalizedString|positiveInteger|short|string|time|token|unsigned(?:Byte|Int|Long|Short)|untyped(?:Atomic)?|yearMonthDuration))\b(?=$|[^:-])/,lookbehind:!0},number:/\b\d+(?:\.\d+)?(?:E[+-]?\d+)?/,operator:[/[+*=?|@]|\.\.?|:=|!=|<[=<]?|>[=>]?/,{pattern:/(\s)-(?=\s)/,lookbehind:!0}],punctuation:/[[\](){},;:/]/}),o.languages.xquery.tag.pattern=/<\/?(?!\d)[^\s>\/=$<%]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\[\s\S]|\{(?!\{)(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])+\}|(?!\1)[^\\])*\1|[^\s'">=]+))?)*\s*\/?>/,o.languages.xquery.tag.inside["attr-value"].pattern=/=(?:("|')(?:\\[\s\S]|\{(?!\{)(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])+\}|(?!\1)[^\\])*\1|[^\s'">=]+)/,o.languages.xquery.tag.inside["attr-value"].inside.punctuation=/^="|"$/,o.languages.xquery.tag.inside["attr-value"].inside.expression={pattern:/\{(?!\{)(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])+\}/,inside:o.languages.xquery,alias:"language-xquery"};var i=function(e){return typeof e=="string"?e:typeof e.content=="string"?e.content:e.content.map(i).join("")},r=function(e){for(var a=[],t=0;t<e.length;t++){var n=e[t],p=!1;if(typeof n!="string"&&(n.type==="tag"&&n.content[0]&&n.content[0].type==="tag"?n.content[0].content[0].content==="</"?a.length>0&&a[a.length-1].tagName===i(n.content[0].content[1])&&a.pop():n.content[n.content.length-1].content==="/>"||a.push({tagName:i(n.content[0].content[1]),openedBraces:0}):a.length>0&&n.type==="punctuation"&&n.content==="{"&&(!e[t+1]||e[t+1].type!=="punctuation"||e[t+1].content!=="{")&&(!e[t-1]||e[t-1].type!=="plain-text"||e[t-1].content!=="{")?a[a.length-1].openedBraces++:a.length>0&&a[a.length-1].openedBraces>0&&n.type==="punctuation"&&n.content==="}"?a[a.length-1].openedBraces--:n.type!=="comment"&&(p=!0)),(p||typeof n=="string")&&a.length>0&&a[a.length-1].openedBraces===0){var l=i(n);t<e.length-1&&(typeof e[t+1]=="string"||e[t+1].type==="plain-text")&&(l+=i(e[t+1]),e.splice(t+1,1)),t>0&&(typeof e[t-1]=="string"||e[t-1].type==="plain-text")&&(l=i(e[t-1])+l,e.splice(t-1,1),t--),/^\s+$/.test(l)?e[t]=l:e[t]=new o.Token("plain-text",l,null,l)}n.content&&typeof n.content!="string"&&r(n.content)}};o.hooks.add("after-tokenize",function(e){e.language==="xquery"&&r(e.tokens)})})(g)}return c}var d=f();const b=y(d),h=m({__proto__:null,default:b},[d]);export{h as x};
1
+ import{dA as y}from"./runtime-Ci9GR285.js";function m(s,g){for(var o=0;o<g.length;o++){const i=g[o];if(typeof i!="string"&&!Array.isArray(i)){for(const r in i)if(r!=="default"&&!(r in s)){const e=Object.getOwnPropertyDescriptor(i,r);e&&Object.defineProperty(s,r,e.get?e:{enumerable:!0,get:()=>i[r]})}}}return Object.freeze(Object.defineProperty(s,Symbol.toStringTag,{value:"Module"}))}var c,u;function f(){if(u)return c;u=1,c=s,s.displayName="xquery",s.aliases=[];function s(g){(function(o){o.languages.xquery=o.languages.extend("markup",{"xquery-comment":{pattern:/\(:[\s\S]*?:\)/,greedy:!0,alias:"comment"},string:{pattern:/(["'])(?:\1\1|(?!\1)[\s\S])*\1/,greedy:!0},extension:{pattern:/\(#.+?#\)/,alias:"symbol"},variable:/\$[-\w:]+/,axis:{pattern:/(^|[^-])(?:ancestor(?:-or-self)?|attribute|child|descendant(?:-or-self)?|following(?:-sibling)?|parent|preceding(?:-sibling)?|self)(?=::)/,lookbehind:!0,alias:"operator"},"keyword-operator":{pattern:/(^|[^:-])\b(?:and|castable as|div|eq|except|ge|gt|idiv|instance of|intersect|is|le|lt|mod|ne|or|union)\b(?=$|[^:-])/,lookbehind:!0,alias:"operator"},keyword:{pattern:/(^|[^:-])\b(?:as|ascending|at|base-uri|boundary-space|case|cast as|collation|construction|copy-namespaces|declare|default|descending|else|empty (?:greatest|least)|encoding|every|external|for|function|if|import|in|inherit|lax|let|map|module|namespace|no-inherit|no-preserve|option|order(?: by|ed|ing)?|preserve|return|satisfies|schema|some|stable|strict|strip|then|to|treat as|typeswitch|unordered|validate|variable|version|where|xquery)\b(?=$|[^:-])/,lookbehind:!0},function:/[\w-]+(?::[\w-]+)*(?=\s*\()/,"xquery-element":{pattern:/(element\s+)[\w-]+(?::[\w-]+)*/,lookbehind:!0,alias:"tag"},"xquery-attribute":{pattern:/(attribute\s+)[\w-]+(?::[\w-]+)*/,lookbehind:!0,alias:"attr-name"},builtin:{pattern:/(^|[^:-])\b(?:attribute|comment|document|element|processing-instruction|text|xs:(?:ENTITIES|ENTITY|ID|IDREFS?|NCName|NMTOKENS?|NOTATION|Name|QName|anyAtomicType|anyType|anyURI|base64Binary|boolean|byte|date|dateTime|dayTimeDuration|decimal|double|duration|float|gDay|gMonth|gMonthDay|gYear|gYearMonth|hexBinary|int|integer|language|long|negativeInteger|nonNegativeInteger|nonPositiveInteger|normalizedString|positiveInteger|short|string|time|token|unsigned(?:Byte|Int|Long|Short)|untyped(?:Atomic)?|yearMonthDuration))\b(?=$|[^:-])/,lookbehind:!0},number:/\b\d+(?:\.\d+)?(?:E[+-]?\d+)?/,operator:[/[+*=?|@]|\.\.?|:=|!=|<[=<]?|>[=>]?/,{pattern:/(\s)-(?=\s)/,lookbehind:!0}],punctuation:/[[\](){},;:/]/}),o.languages.xquery.tag.pattern=/<\/?(?!\d)[^\s>\/=$<%]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\[\s\S]|\{(?!\{)(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])+\}|(?!\1)[^\\])*\1|[^\s'">=]+))?)*\s*\/?>/,o.languages.xquery.tag.inside["attr-value"].pattern=/=(?:("|')(?:\\[\s\S]|\{(?!\{)(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])+\}|(?!\1)[^\\])*\1|[^\s'">=]+)/,o.languages.xquery.tag.inside["attr-value"].inside.punctuation=/^="|"$/,o.languages.xquery.tag.inside["attr-value"].inside.expression={pattern:/\{(?!\{)(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])+\}/,inside:o.languages.xquery,alias:"language-xquery"};var i=function(e){return typeof e=="string"?e:typeof e.content=="string"?e.content:e.content.map(i).join("")},r=function(e){for(var a=[],t=0;t<e.length;t++){var n=e[t],p=!1;if(typeof n!="string"&&(n.type==="tag"&&n.content[0]&&n.content[0].type==="tag"?n.content[0].content[0].content==="</"?a.length>0&&a[a.length-1].tagName===i(n.content[0].content[1])&&a.pop():n.content[n.content.length-1].content==="/>"||a.push({tagName:i(n.content[0].content[1]),openedBraces:0}):a.length>0&&n.type==="punctuation"&&n.content==="{"&&(!e[t+1]||e[t+1].type!=="punctuation"||e[t+1].content!=="{")&&(!e[t-1]||e[t-1].type!=="plain-text"||e[t-1].content!=="{")?a[a.length-1].openedBraces++:a.length>0&&a[a.length-1].openedBraces>0&&n.type==="punctuation"&&n.content==="}"?a[a.length-1].openedBraces--:n.type!=="comment"&&(p=!0)),(p||typeof n=="string")&&a.length>0&&a[a.length-1].openedBraces===0){var l=i(n);t<e.length-1&&(typeof e[t+1]=="string"||e[t+1].type==="plain-text")&&(l+=i(e[t+1]),e.splice(t+1,1)),t>0&&(typeof e[t-1]=="string"||e[t-1].type==="plain-text")&&(l=i(e[t-1])+l,e.splice(t-1,1),t--),/^\s+$/.test(l)?e[t]=l:e[t]=new o.Token("plain-text",l,null,l)}n.content&&typeof n.content!="string"&&r(n.content)}};o.hooks.add("after-tokenize",function(e){e.language==="xquery"&&r(e.tokens)})})(g)}return c}var d=f();const b=y(d),h=m({__proto__:null,default:b},[d]);export{h as x};
@@ -1 +1 @@
1
- import{dA as a}from"./runtime-CmCxTPcG.js";import{r as c}from"./yaml-GRhlHhYd.js";function s(t,f){for(var o=0;o<f.length;o++){const e=f[o];if(typeof e!="string"&&!Array.isArray(e)){for(const r in e)if(r!=="default"&&!(r in t)){const n=Object.getOwnPropertyDescriptor(e,r);n&&Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:()=>e[r]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}var i=c();const l=a(i),p=s({__proto__:null,default:l},[i]);export{p as y};
1
+ import{dA as a}from"./runtime-Ci9GR285.js";import{r as c}from"./yaml-GRhlHhYd.js";function s(t,f){for(var o=0;o<f.length;o++){const e=f[o];if(typeof e!="string"&&!Array.isArray(e)){for(const r in e)if(r!=="default"&&!(r in t)){const n=Object.getOwnPropertyDescriptor(e,r);n&&Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:()=>e[r]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}var i=c();const l=a(i),p=s({__proto__:null,default:l},[i]);export{p as y};
@@ -1 +1 @@
1
- import{dA as l}from"./runtime-CmCxTPcG.js";function u(e,n){for(var o=0;o<n.length;o++){const t=n[o];if(typeof t!="string"&&!Array.isArray(t)){for(const r in t)if(r!=="default"&&!(r in e)){const a=Object.getOwnPropertyDescriptor(t,r);a&&Object.defineProperty(e,r,a.get?a:{enumerable:!0,get:()=>t[r]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}var i,s;function p(){if(s)return i;s=1,i=e,e.displayName="yang",e.aliases=[];function e(n){n.languages.yang={comment:/\/\*[\s\S]*?\*\/|\/\/.*/,string:{pattern:/"(?:[^\\"]|\\.)*"|'[^']*'/,greedy:!0},keyword:{pattern:/(^|[{};\r\n][ \t]*)[a-z_][\w.-]*/i,lookbehind:!0},namespace:{pattern:/(\s)[a-z_][\w.-]*(?=:)/i,lookbehind:!0},boolean:/\b(?:false|true)\b/,operator:/\+/,punctuation:/[{};:]/}}return i}var f=p();const c=l(f),g=u({__proto__:null,default:c},[f]);export{g as y};
1
+ import{dA as l}from"./runtime-Ci9GR285.js";function u(e,n){for(var o=0;o<n.length;o++){const t=n[o];if(typeof t!="string"&&!Array.isArray(t)){for(const r in t)if(r!=="default"&&!(r in e)){const a=Object.getOwnPropertyDescriptor(t,r);a&&Object.defineProperty(e,r,a.get?a:{enumerable:!0,get:()=>t[r]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}var i,s;function p(){if(s)return i;s=1,i=e,e.displayName="yang",e.aliases=[];function e(n){n.languages.yang={comment:/\/\*[\s\S]*?\*\/|\/\/.*/,string:{pattern:/"(?:[^\\"]|\\.)*"|'[^']*'/,greedy:!0},keyword:{pattern:/(^|[{};\r\n][ \t]*)[a-z_][\w.-]*/i,lookbehind:!0},namespace:{pattern:/(\s)[a-z_][\w.-]*(?=:)/i,lookbehind:!0},boolean:/\b(?:false|true)\b/,operator:/\+/,punctuation:/[{};:]/}}return i}var f=p();const c=l(f),g=u({__proto__:null,default:c},[f]);export{g as y};
@@ -1 +1 @@
1
- import{dA as f}from"./runtime-CmCxTPcG.js";function g(r,a){for(var o=0;o<a.length;o++){const e=a[o];if(typeof e!="string"&&!Array.isArray(e)){for(const n in e)if(n!=="default"&&!(n in r)){const t=Object.getOwnPropertyDescriptor(e,n);t&&Object.defineProperty(r,n,t.get?t:{enumerable:!0,get:()=>e[n]})}}}return Object.freeze(Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}))}var l,u;function m(){if(u)return l;u=1,l=r,r.displayName="zig",r.aliases=[];function r(a){(function(o){function e(s){return function(){return s}}var n=/\b(?:align|allowzero|and|anyframe|anytype|asm|async|await|break|cancel|catch|comptime|const|continue|defer|else|enum|errdefer|error|export|extern|fn|for|if|inline|linksection|nakedcc|noalias|nosuspend|null|or|orelse|packed|promise|pub|resume|return|stdcallcc|struct|suspend|switch|test|threadlocal|try|undefined|union|unreachable|usingnamespace|var|volatile|while)\b/,t="\\b(?!"+n.source+")(?!\\d)\\w+\\b",i=/align\s*\((?:[^()]|\([^()]*\))*\)/.source,b=/(?:\?|\bpromise->|(?:\[[^[\]]*\]|\*(?!\*)|\*\*)(?:\s*<ALIGN>|\s*const\b|\s*volatile\b|\s*allowzero\b)*)/.source.replace(/<ALIGN>/g,e(i)),p=/(?:\bpromise\b|(?:\berror\.)?<ID>(?:\.<ID>)*(?!\s+<ID>))/.source.replace(/<ID>/g,e(t)),c="(?!\\s)(?:!?\\s*(?:"+b+"\\s*)*"+p+")+";o.languages.zig={comment:[{pattern:/\/\/[/!].*/,alias:"doc-comment"},/\/{2}.*/],string:[{pattern:/(^|[^\\@])c?"(?:[^"\\\r\n]|\\.)*"/,lookbehind:!0,greedy:!0},{pattern:/([\r\n])([ \t]+c?\\{2}).*(?:(?:\r\n?|\n)\2.*)*/,lookbehind:!0,greedy:!0}],char:{pattern:/(^|[^\\])'(?:[^'\\\r\n]|[\uD800-\uDFFF]{2}|\\(?:.|x[a-fA-F\d]{2}|u\{[a-fA-F\d]{1,6}\}))'/,lookbehind:!0,greedy:!0},builtin:/\B@(?!\d)\w+(?=\s*\()/,label:{pattern:/(\b(?:break|continue)\s*:\s*)\w+\b|\b(?!\d)\w+\b(?=\s*:\s*(?:\{|while\b))/,lookbehind:!0},"class-name":[/\b(?!\d)\w+(?=\s*=\s*(?:(?:extern|packed)\s+)?(?:enum|struct|union)\s*[({])/,{pattern:RegExp(/(:\s*)<TYPE>(?=\s*(?:<ALIGN>\s*)?[=;,)])|<TYPE>(?=\s*(?:<ALIGN>\s*)?\{)/.source.replace(/<TYPE>/g,e(c)).replace(/<ALIGN>/g,e(i))),lookbehind:!0,inside:null},{pattern:RegExp(/(\)\s*)<TYPE>(?=\s*(?:<ALIGN>\s*)?;)/.source.replace(/<TYPE>/g,e(c)).replace(/<ALIGN>/g,e(i))),lookbehind:!0,inside:null}],"builtin-type":{pattern:/\b(?:anyerror|bool|c_u?(?:int|long|longlong|short)|c_longdouble|c_void|comptime_(?:float|int)|f(?:16|32|64|128)|[iu](?:8|16|32|64|128|size)|noreturn|type|void)\b/,alias:"keyword"},keyword:n,function:/\b(?!\d)\w+(?=\s*\()/,number:/\b(?:0b[01]+|0o[0-7]+|0x[a-fA-F\d]+(?:\.[a-fA-F\d]*)?(?:[pP][+-]?[a-fA-F\d]+)?|\d+(?:\.\d*)?(?:[eE][+-]?\d+)?)\b/,boolean:/\b(?:false|true)\b/,operator:/\.[*?]|\.{2,3}|[-=]>|\*\*|\+\+|\|\||(?:<<|>>|[-+*]%|[-+*/%^&|<>!=])=?|[?~]/,punctuation:/[.:,;(){}[\]]/},o.languages.zig["class-name"].forEach(function(s){s.inside===null&&(s.inside=o.languages.zig)})})(a)}return l}var d=m();const y=f(d),h=g({__proto__:null,default:y},[d]);export{h as z};
1
+ import{dA as f}from"./runtime-Ci9GR285.js";function g(r,a){for(var o=0;o<a.length;o++){const e=a[o];if(typeof e!="string"&&!Array.isArray(e)){for(const n in e)if(n!=="default"&&!(n in r)){const t=Object.getOwnPropertyDescriptor(e,n);t&&Object.defineProperty(r,n,t.get?t:{enumerable:!0,get:()=>e[n]})}}}return Object.freeze(Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}))}var l,u;function m(){if(u)return l;u=1,l=r,r.displayName="zig",r.aliases=[];function r(a){(function(o){function e(s){return function(){return s}}var n=/\b(?:align|allowzero|and|anyframe|anytype|asm|async|await|break|cancel|catch|comptime|const|continue|defer|else|enum|errdefer|error|export|extern|fn|for|if|inline|linksection|nakedcc|noalias|nosuspend|null|or|orelse|packed|promise|pub|resume|return|stdcallcc|struct|suspend|switch|test|threadlocal|try|undefined|union|unreachable|usingnamespace|var|volatile|while)\b/,t="\\b(?!"+n.source+")(?!\\d)\\w+\\b",i=/align\s*\((?:[^()]|\([^()]*\))*\)/.source,b=/(?:\?|\bpromise->|(?:\[[^[\]]*\]|\*(?!\*)|\*\*)(?:\s*<ALIGN>|\s*const\b|\s*volatile\b|\s*allowzero\b)*)/.source.replace(/<ALIGN>/g,e(i)),p=/(?:\bpromise\b|(?:\berror\.)?<ID>(?:\.<ID>)*(?!\s+<ID>))/.source.replace(/<ID>/g,e(t)),c="(?!\\s)(?:!?\\s*(?:"+b+"\\s*)*"+p+")+";o.languages.zig={comment:[{pattern:/\/\/[/!].*/,alias:"doc-comment"},/\/{2}.*/],string:[{pattern:/(^|[^\\@])c?"(?:[^"\\\r\n]|\\.)*"/,lookbehind:!0,greedy:!0},{pattern:/([\r\n])([ \t]+c?\\{2}).*(?:(?:\r\n?|\n)\2.*)*/,lookbehind:!0,greedy:!0}],char:{pattern:/(^|[^\\])'(?:[^'\\\r\n]|[\uD800-\uDFFF]{2}|\\(?:.|x[a-fA-F\d]{2}|u\{[a-fA-F\d]{1,6}\}))'/,lookbehind:!0,greedy:!0},builtin:/\B@(?!\d)\w+(?=\s*\()/,label:{pattern:/(\b(?:break|continue)\s*:\s*)\w+\b|\b(?!\d)\w+\b(?=\s*:\s*(?:\{|while\b))/,lookbehind:!0},"class-name":[/\b(?!\d)\w+(?=\s*=\s*(?:(?:extern|packed)\s+)?(?:enum|struct|union)\s*[({])/,{pattern:RegExp(/(:\s*)<TYPE>(?=\s*(?:<ALIGN>\s*)?[=;,)])|<TYPE>(?=\s*(?:<ALIGN>\s*)?\{)/.source.replace(/<TYPE>/g,e(c)).replace(/<ALIGN>/g,e(i))),lookbehind:!0,inside:null},{pattern:RegExp(/(\)\s*)<TYPE>(?=\s*(?:<ALIGN>\s*)?;)/.source.replace(/<TYPE>/g,e(c)).replace(/<ALIGN>/g,e(i))),lookbehind:!0,inside:null}],"builtin-type":{pattern:/\b(?:anyerror|bool|c_u?(?:int|long|longlong|short)|c_longdouble|c_void|comptime_(?:float|int)|f(?:16|32|64|128)|[iu](?:8|16|32|64|128|size)|noreturn|type|void)\b/,alias:"keyword"},keyword:n,function:/\b(?!\d)\w+(?=\s*\()/,number:/\b(?:0b[01]+|0o[0-7]+|0x[a-fA-F\d]+(?:\.[a-fA-F\d]*)?(?:[pP][+-]?[a-fA-F\d]+)?|\d+(?:\.\d*)?(?:[eE][+-]?\d+)?)\b/,boolean:/\b(?:false|true)\b/,operator:/\.[*?]|\.{2,3}|[-=]>|\*\*|\+\+|\|\||(?:<<|>>|[-+*]%|[-+*/%^&|<>!=])=?|[?~]/,punctuation:/[.:,;(){}[\]]/},o.languages.zig["class-name"].forEach(function(s){s.inside===null&&(s.inside=o.languages.zig)})})(a)}return l}var d=m();const y=f(d),h=g({__proto__:null,default:y},[d]);export{h as z};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@outmarket-ai/react-sdk",
3
- "version": "0.1.0-alpha.36",
3
+ "version": "0.1.0-alpha.37",
4
4
  "description": "Embed the real Outmarket workflow surface (catalog + single workflow) in any React app.",
5
5
  "private": false,
6
6
  "type": "module",
@@ -55,5 +55,5 @@
55
55
  "url": "git+https://github.com/Outmarket-AI/outmarket-monorepo.git",
56
56
  "directory": "apps/product-frontend/packages/outmarket-react-sdk"
57
57
  },
58
- "gitHead": "61bc1a61f4248fdcc2399b9138f562b96daa047f"
58
+ "gitHead": "76d33aaa0472ffafaa6c487e907de3d2fa1350e7"
59
59
  }
@@ -1,11 +0,0 @@
1
- import{hT as po,hU as rn,hV as we,hW as mo,hX as xo,hY as bo,hZ as yo,h_ as Et,h$ as wo,i0 as vo,i1 as Me,i2 as oe,i3 as He,i4 as Tt,i5 as Po,i6 as on,i7 as At,i8 as Eo,i9 as R,ia as q,ib as H,ic as an,id as ln,ie as De,ig as To,ih as Ao,ii as So,ij as X,ik as Co,il as No,im as St,io as Fo,ip as Mo,iq as $e,ir as $o,is as sn,it as Io,iu as Oo,dU as Se,cM as ko,iv as cn,iw as Lo,ix as Ct,iy as Ro,iz as un,iA as Ho,iB as Do,iC as zo,iD as Bo,iE as dn,iF as jo,iG as Wo,iH as Uo,iI as _o,c0 as fn,d6 as hn,eO as qo,dQ as it,iJ as Go,iK as Xo,iL as Vo,dR as Nt,eP as at,eQ as ze,iM as pe,iN as gn,iO as pn,iP as Yo,iQ as Ft,iR as Ko,iS as Jo,iT as Zo,iU as mn,dP as Qo}from"./runtime-CmCxTPcG.js";import{e as Mt,d as ei,b as xn,a as ti,f as bn}from"./exportPageHtml-C-czqc38.js";import"react";import{awaitExportImagesReady as ni}from"./exportImageReadiness-4Wl1xDju.js";function ri(e,t){const n=typeof e=="string"?e:new XMLSerializer().serializeToString(e),r=t.scale,o=Math.max(1,Math.round(t.width*r)),i=Math.max(1,Math.round(t.height*r)),a=new Blob([n],{type:"image/svg+xml;charset=utf-8"}),l=URL.createObjectURL(a);return new Promise((s,c)=>{const u=new Image,d=()=>URL.revokeObjectURL(l);u.onload=()=>{try{const f=document.createElement("canvas");f.width=o,f.height=i;const g=f.getContext("2d");if(!g){c(new Error("svgToPngDataUrl: 2D canvas context unavailable"));return}g.fillStyle="#ffffff",g.fillRect(0,0,o,i),g.imageSmoothingEnabled=!0,g.imageSmoothingQuality="high",g.drawImage(u,0,0,o,i),s(f.toDataURL("image/png"))}catch(f){c(f instanceof Error?f:new Error(String(f)))}finally{d()}},u.onerror=()=>{d(),c(new Error("svgToPngDataUrl: failed to load serialized SVG"))},u.src=l})}function yn(e){return e.length>=4&&e[0]===137&&e[1]===80&&e[2]===78&&e[3]===71?"png":e.length>=3&&e[0]===255&&e[1]===216&&e[2]===255?"jpg":e.length>=4&&e[0]===71&&e[1]===73&&e[2]===70&&e[3]===56?"gif":e.length>=2&&e[0]===66&&e[1]===77?"bmp":e.length>=12&&e[0]===82&&e[1]===73&&e[2]===70&&e[3]===70&&e[8]===87&&e[9]===69&&e[10]===66&&e[11]===80?"webp":null}const Ze=(e,t)=>e>0&&t>0?{width:e,height:t}:null,oi=[196,200,204],ii=218,ai=e=>e>=192&&e<=207&&!oi.includes(e);function li(e){let t=2;for(;t+9<=e.byteLength;){if(e.getUint8(t)!==255)return null;const n=e.getUint8(t+1);if(n===255)t+=1;else{if(ai(n))return Ze(e.getUint16(t+7),e.getUint16(t+5));if(n===ii)return null;t+=2+e.getUint16(t+2)}}return null}const si=12,ci=40;function ui(e){if(e.byteLength<22)return null;const t=e.getUint32(14,!0);return t===si?Ze(e.getUint16(18,!0),e.getUint16(20,!0)):t<ci||e.byteLength<26?null:Ze(e.getInt32(18,!0),Math.abs(e.getInt32(22,!0)))}function di(e,t){const n=new DataView(e.buffer,e.byteOffset,e.byteLength);return t==="png"?e.length>=24?Ze(n.getUint32(16),n.getUint32(20)):null:t==="gif"?e.length>=10?Ze(n.getUint16(6,!0),n.getUint16(8,!0)):null:t==="bmp"?ui(n):li(n)}function fi(e){return new Promise((t,n)=>{const r=new Image;r.crossOrigin="anonymous",r.onload=()=>{try{const o=r.naturalWidth||r.width,i=r.naturalHeight||r.height,a=document.createElement("canvas");a.width=Math.max(1,o),a.height=Math.max(1,i);const l=a.getContext("2d");if(!l){n(new Error("rasterizeToPngImage: 2D canvas context unavailable"));return}l.fillStyle="#ffffff",l.fillRect(0,0,a.width,a.height),l.imageSmoothingEnabled=!0,l.imageSmoothingQuality="high",l.drawImage(r,0,0,a.width,a.height),t({bytes:Mt(a.toDataURL("image/png")),type:"png",intrinsicWidth:o||void 0,intrinsicHeight:i||void 0})}catch(o){n(o instanceof Error?o:new Error(String(o)))}},r.onerror=()=>n(new Error("rasterizeToPngImage: failed to load image")),r.src=e})}async function wn(e,t){if(e.length===0)throw new Error("bytesToDocxImage: empty image body");const n=yn(e);if(n&&n!=="webp"){const r=di(e,n);return r?{bytes:e,type:n,intrinsicWidth:r.width,intrinsicHeight:r.height}:{bytes:e,type:n}}return fi(t)}async function hi(e){const t=await fetch(e);if(!t.ok)throw new Error(`fetchImageForDocx: HTTP ${t.status}`);return wn(new Uint8Array(await t.arrayBuffer()),e)}const gi="layoutslot",vn={sm:120,md:240,lg:360},pi=12240,mi=15840,Pn=120,En=90,Be={style:oe.NONE,size:0,color:"auto"},Tn={top:Be,bottom:Be,left:Be,right:Be,insideHorizontal:Be,insideVertical:Be},xi={top:we.TOP,middle:we.CENTER,bottom:we.BOTTOM},bi=new Set(["p","h1","h2","h3","h4"]),An=(e,t)=>Array.from(e.children).filter(n=>n.tagName.toLowerCase()===t),$t=()=>new R({text:"",spacing:{before:0,after:0,line:240,lineRule:q.AUTO}});function yi(e){if(!/<(columns|layout)[\s>]/i.test(e))return{html:e,containers:[]};const t=new DOMParser().parseFromString(`<body>${e}</body>`,"text/html"),n=[];return t.body.querySelectorAll("columns, layout").forEach(r=>{var o;if((o=r.parentElement)!=null&&o.closest("columns, layout"))return;const i=n.push(r.outerHTML)-1,a=t.createElement(gi);a.setAttribute("data-layout-idx",String(i)),r.replaceWith(a)}),{html:t.body.innerHTML,containers:n}}function Sn(e){const t=Eo(e);return t===Po?void 0:t.slice(1).toUpperCase()}function lt(e){return e.containerWidthTwips&&e.containerWidthTwips>0?e.containerWidthTwips:(e.isLandscape?mi:pi)-(e.leftMarginPx??40)*15-(e.rightMarginPx??40)*15}function wi(e,t,n){const r=e&&wo.test(e)?vo(e):null,o=r&&r.length===t?r:Array.from({length:t},()=>1);return Cn(o,n)}function vi(e,t){return Cn(Array.from({length:e},()=>1),t)}function Cn(e,t){const n=e.reduce((i,a)=>i+a,0),r=e.map(i=>Math.max(1,Math.floor(t*i/n))),o=r.reduce((i,a)=>i+a,0);return r[r.length-1]=r[r.length-1]+(t-o),r}function Nn(e,t,n,r){return r(e,{...n,leftMarginPx:0,rightMarginPx:0,containerWidthTwips:t})}function Pi(e){return e.length===0?[$t()]:e[e.length-1]instanceof Me?[...e,$t()]:e}function Fn({elements:e,fill:t,widthTwips:n,valign:r,gapTwips:o,index:i,count:a}){const l=Math.round(o/2),s=i===0?0:l,c=i===a-1?0:l;return new on({children:Pi(e),width:{size:n,type:He.DXA},shading:t?{type:At.CLEAR,color:"auto",fill:t}:void 0,borders:Tn,margins:t?{top:En,bottom:En,left:Math.max(s,Pn),right:Math.max(c,Pn)}:{top:0,bottom:0,left:s,right:c},verticalAlign:r})}function It(e,t,n){return new Me({rows:e,layout:Tt.FIXED,columnWidths:t,width:{size:t.reduce((r,o)=>r+o,0),type:He.DXA},indent:{size:(n.leftMarginPx??40)*15,type:He.DXA},borders:Tn})}function Ei(e,t){e[e.length-1]instanceof Me&&e.push($t()),e.push(t)}async function Mn(e,t,n){const r=lt(t),o=[];for(const i of e){const a=Sn(i.el.getAttribute("bg"));if(!a){o.push(...await n(i.html,t));continue}const l=await Nn(i.html,r,t,n),s=Fn({elements:l,fill:a,widthTwips:r,valign:we.TOP,gapTwips:0,index:0,count:1});Ei(o,It([new Et({children:[s]})],[r],t))}return o}async function $n(e,t,n,r,o,i){const a=t.length,l=[];for(let s=0;s<a;s++){const c=e[s],u=c?await Nn(c.html,t[s],o,i):[];l.push(Fn({elements:u,fill:c?Sn(c.el.getAttribute("bg")):void 0,widthTwips:t[s],valign:n,gapTwips:r,index:s,count:a}))}return new Et({children:l})}async function Ti(e,t,n){const r=An(e,"column");if(r.length===0)return n(e.innerHTML,t);const o=r.map(l=>({el:l,html:l.innerHTML}));if(po(e.getAttribute("direction"))==="vertical")return Mn(o,t,n);const i=wi(e.getAttribute("ratio"),o.length,lt(t)),a=await $n(o,i,xi[mo(e.getAttribute("valign"))],vn[rn(e.getAttribute("gap"))],t,n);return[It([a],i,t)]}function Ai(e,t){const n=e.cloneNode(!0),r=n.ownerDocument,o=r.createElement("strong");o.textContent=`${t}. `;const i=Array.from(n.children).find(a=>bi.has(a.tagName.toLowerCase()));if(i)i.prepend(o);else{const a=r.createElement("p");a.appendChild(o),n.prepend(a)}return n.innerHTML}async function Si(e,t,n){const r=An(e,"cell");if(r.length===0)return n(e.innerHTML,t);const o=xo(e.getAttribute("variant")),i=bo(yo(e.getAttribute("columns")),r.length,o),a=r.map((u,d)=>({el:u,html:o==="timeline"?Ai(u,d+1):u.innerHTML}));if(i<=1)return Mn(a,t,n);const l=vi(i,lt(t)),s=vn[rn(e.getAttribute("gap"))],c=[];for(let u=0;u<a.length;u+=i)c.push(await $n(a.slice(u,u+i),l,we.TOP,s,t,n));return[It(c,l,t)]}async function Ci(e,t,n){const r=new DOMParser().parseFromString(`<body>${e}</body>`,"text/html").body.firstElementChild;if(!r)return[];const o=r.tagName.toLowerCase();return o==="columns"?Ti(r,t,n):o==="layout"?Si(r,t,n):n(r.innerHTML,t)}const ie="Arial",Ni={"sans-serif":ie,"system-ui":ie,"ui-sans-serif":ie,"ui-rounded":ie,"-apple-system":ie,blinkmacsystemfont:ie,serif:"Times New Roman","ui-serif":"Times New Roman",monospace:"Courier New","ui-monospace":"Courier New",cursive:ie,fantasy:ie,math:ie,emoji:ie,fangsong:ie};function ve(e){if(!e)return ie;const t=(e.split(",")[0]??"").trim().replace(/^['"]|['"]$/g,"").trim();return t?Ni[t.toLowerCase()]??t:ie}const Pe=e=>new ln({name:"w:fldChar",attributes:{type:{key:"w:fldCharType",value:e}}}),je=e=>new ln({name:"w:instrText",attributes:{space:{key:"xml:space",value:"preserve"}}}).addChildElement(e);function Fi(e,t,n){const r=o=>new H({...n,children:[o]});return[r(Pe("begin")),r(je(`PAGEREF ${e} \\h`)),r(Pe("separate")),new H({...n,text:t}),r(Pe("end"))]}const Mi=e=>new H({...e,children:[an.CURRENT]}),$i=e=>new H({...e,children:[an.TOTAL_PAGES]}),Ii=e=>e.replace(/\\/g,"\\\\").replace(/"/g,'\\"'),In=' < 1 "" "',On=(e,t)=>[t(Pe("begin")),t(je(e)),t(Pe("separate")),t(Pe("end"))];function Oi(e,t){const n=o=>new H({...t,children:[o]}),r="field"in e?[n(je(In)),...On(e.field,n),n(je('"'))]:[n(je(`${In}${Ii(e.literal)}"`))];return[n(Pe("begin")),n(je("IF ")),...On("PAGE",n),...r,n(Pe("separate")),n(Pe("end"))]}const ki=e=>e==="export-preview"?Io:Oo;function kn(e){return e.contentWidthPx!==void 0?e.contentWidthPx:e.isLandscape?Se.CONTENT_AREA_LANDSCAPE.width:Se.CONTENT_AREA.width}const Ln=24,Ot=15,Q=e=>({before:e*Ot,after:e*Ot}),Rn={h1:Q(16),h2:Q(12),h3:Q(8),h4:Q(4),p:Q(4),list:Q(16),table:Q(16),hr:Q(16),img:Q(8),chart:Q(8),layout:Q(8)},Li={...Rn,h1:Q(20),h2:Q(14),p:Q(12),list:Q(12),table:Q(12)},Hn=e=>e==="export-preview"?Li:Rn,Ce=e=>Math.round(e*1.5),We=(e,t,n)=>{const r=(n.previewContext==="export-preview"?Ao:So)[t];return Math.round(e*(r??1.2)*Ot)},Ue=q.AT_LEAST,Qe=e=>{if(e==="center")return X.CENTER;if(e==="right")return X.RIGHT;if(e==="justify")return X.JUSTIFIED},Ri={left:X.LEFT,center:X.CENTER,right:X.RIGHT,justify:X.JUSTIFIED},Hi=/data-node-text-align="(left|center|right|justify)"/i,Di=/(?:^|[;\s"'])text-align\s*:\s*(left|center|right|justify)/i,st=e=>{var t,n;if(!e)return;const r=((t=e.match(Hi))==null?void 0:t[1])??((n=e.match(Di))==null?void 0:n[1]);return r?Ri[r.toLowerCase()]:void 0},zi=/<(?:p|h[1-4])\b([^>]*)>/i,ct=e=>{var t;return(t=e.match(zi))==null?void 0:t[1]},Dn={top:we.TOP,middle:we.CENTER,bottom:we.BOTTOM},Bi=/data-node-vertical-align="(top|middle|bottom)"/i,ji=/(?:^|[;\s"'])vertical-align\s*:\s*(top|middle|bottom)/i,zn=e=>e==="top"||e==="middle"||e==="bottom",Wi=(e,t)=>{var n,r,o;const i=(o=((n=e.match(Bi))==null?void 0:n[1])??((r=e.match(ji))==null?void 0:r[1]))==null?void 0:o.toLowerCase();return zn(i)?Dn[i]:zn(t)?Dn[t]:we.TOP},Ie=(e,t)=>{var n;const r=ki(e.previewContext)[t],o=(n=e.componentColors)==null?void 0:n.textStyles,i=o==null?void 0:o[t];return{...r,...i}},L=e=>To(e),Ui={color:/(?:^|;)\s*color\s*:\s*([^;"]+)/i,"background-color":/(?:^|;)\s*background-color\s*:\s*([^;"]+)/i,"text-transform":/(?:^|;)\s*text-transform\s*:\s*([^;"]+)/i,"font-size":/(?:^|;)\s*font-size\s*:\s*([^;"]+)/i};function _i(e){const[,t,n]=(e==null?void 0:e.match(/^(\d*\.?\d+)\s*(px|pt)$/i))??[];if(!t||!n)return;const r=parseFloat(t);if(!(!Number.isFinite(r)||r<=0))return n.toLowerCase()==="pt"?Math.round(r*2):Ce(r)}function ut(e,t,n){var r,o;return(e==null?void 0:e.trim())||((o=(r=t.match(Ui[n]))==null?void 0:r[1])==null?void 0:o.trim())||void 0}const qi=new Set(["span","mark","b","strong","i","em","u","a","code"]),Gi=new Set(["none","lowercase","capitalize","full-width","full-size-kana","initial"]),Bn=/[\u{1F000}-\u{1FFFF}\u{2600}-\u{27BF}\u{2300}-\u{23FF}\u{2B00}-\u{2BFF}][\uFE0F\u20E3]?/gu,kt="Segoe UI Emoji";function Xi(e){const t=new RegExp(Bn.source,Bn.flags),n=[];let r=0,o;for(;(o=t.exec(e))!==null;)o.index>r&&n.push({text:e.slice(r,o.index),isEmoji:!1}),n.push({text:o[0],isEmoji:!0}),r=t.lastIndex;return r<e.length&&n.push({text:e.slice(r),isEmoji:!1}),n.length===0?[{text:e,isEmoji:!1}]:n}function Lt(e,t,n=Ln,r){const o=[],i=ve(t.documentFont),a=new DOMParser().parseFromString(`<div>${e}</div>`,"text/html").querySelector("div");if(!a)return o;let l=0;function s(c,u){var d,f,g,x,P;if(c.nodeType===Node.TEXT_NODE){const T=c.textContent||"";if(!T)return;const A=Xi(T);for(const w of A){if(!w.text)continue;const N=l;l=0,o.push(new H({break:N||void 0,text:w.text,bold:u.bold,italics:u.italic,underline:u.underline?{}:void 0,allCaps:u.allCaps,color:u.color,shading:u.shadingFill?{type:At.CLEAR,color:"auto",fill:u.shadingFill}:void 0,font:w.isEmoji?{ascii:kt,hAnsi:kt,cs:kt}:{ascii:i,hAnsi:i},size:u.sizeHalfPoints??n}))}return}if(c.nodeType!==Node.ELEMENT_NODE)return;const p=c,b=p.tagName.toLowerCase();if(b==="br"){l+=1;return}const h=p.getAttribute("style")||"",m={...u};(b==="b"||b==="strong")&&(m.bold=!0),(b==="i"||b==="em")&&(m.italic=!0),b==="u"&&(m.underline=!0);const C=L(ut((d=p.style)==null?void 0:d.color,h,"color"));C&&(m.color=C);const M=_i(ut((f=p.style)==null?void 0:f.fontSize,h,"font-size"));M&&(m.sizeHalfPoints=M);const E=(x=ut((g=p.style)==null?void 0:g.textTransform,h,"text-transform"))==null?void 0:x.toLowerCase();if(E==="uppercase"?m.allCaps=!0:E&&Gi.has(E)&&(m.allCaps=void 0),qi.has(b)){const T=L(ut((P=p.style)==null?void 0:P.backgroundColor,h,"background-color"));T&&(m.shadingFill=T)}for(const T of Array.from(c.childNodes))s(T,m)}return s(a,{bold:(r==null?void 0:r.bold)??!1,italic:(r==null?void 0:r.italic)??!1,underline:(r==null?void 0:r.underline)??!1,color:t.defaultTextColor}),l>1&&o.push(new H({break:l-1,font:{ascii:i,hAnsi:i},size:n})),o}function Vi(e,t,n){var r,o;const i=ve(t.documentFont),a=(t.leftMarginPx??40)*15,l=(t.rightMarginPx??40)*15,s=Ie(t,"paragraph"),c=(o=(r=t.componentColors)==null?void 0:r.paragraph)!=null&&o.textColor?L(t.componentColors.paragraph.textColor):void 0,u=Lt(e,{...t,defaultTextColor:c||t.defaultTextColor},Ce(s.fontSize),{bold:s.bold,italic:s.italic,underline:s.underline});return new R({children:u.length>0?u:[new H({text:"",font:i})],alignment:st(ct(e))??Qe(s.textAlign),spacing:{before:n.before,after:n.after,line:We(s.fontSize,"paragraph",t),lineRule:Ue},indent:{left:a,right:l}})}const jn="\uE000";function Yi(e){const t=new DOMParser().parseFromString(`<div>${e}</div>`,"text/html").querySelector("div");if(!t)return[""];t.querySelectorAll("br").forEach(r=>r.replaceWith(jn));const n=(t.textContent??"").replace(/[ \t\n\r\f]+/g," ").split(jn).map(r=>r.replace(/^ +| +$/g,"").replace(/\u00a0/g," "));return n.length>1&&n[n.length-1]===""&&n.pop(),n}function dt(e,t,n,r){var o,i;const a=ve(n.documentFont),l=(o=n.componentColors)==null?void 0:o.heading,s=(n.leftMarginPx??40)*15,c=(n.rightMarginPx??40)*15,u=Ie(n,`h${t}`),d=(i=e.match(/\bid="(dest-[^"]+)"/i))==null?void 0:i[1],f=Yi(e);let g;if(l){const h=l[`h${t}`];h&&(g=L(h))}const x=L(l==null?void 0:l[`h${t}Bg`]),P={1:De.HEADING_1,2:De.HEADING_2,3:De.HEADING_3,4:De.HEADING_4},p=f.map((h,m)=>new H({break:m>0?1:void 0,text:h,font:a,size:Ce(u.fontSize),bold:u.bold,italics:u.italic,color:g,underline:u.underline?{}:void 0,shading:x?{type:At.CLEAR,color:"auto",fill:x}:void 0})),b=d?[new sn({id:d,children:p})]:p;return new R({children:b,heading:P[t],keepNext:!0,alignment:st(ct(e))??Qe(u.textAlign),spacing:{before:r.before,after:r.after,line:We(u.fontSize,`h${t}`,n),lineRule:Ue},indent:{left:s,right:c}})}function Wn(e){switch(e){case"a":return"lower-letter-numbering";case"i":return"lower-roman-numbering";default:return"default-numbering"}}function Un(e){var t,n;const r=(t=e.match(/<ol\b[^>]*>/i))==null?void 0:t[0];return((n=r==null?void 0:r.match(/\stype=["']?([^"'\s>]+)/i))==null?void 0:n[1])??null}let Ki=0;const _n=()=>Ki+=1;function qn(e,t,n,r){var o;const i=ve(n.documentFont),a=(o=n.componentColors)==null?void 0:o.list,l=Ie(n,"listText"),s=(n.leftMarginPx??40)*15,c=(n.rightMarginPx??40)*15,u=a!=null&&a.textColor?L(a.textColor):void 0,d=t?{reference:Wn(Un(e)),level:0,instance:_n()}:void 0,f=[],g=/<li[^>]*>(.*?)<\/li>/gi;let x;for(;(x=g.exec(e))!==null;)f.push(x[1]);return f.map((P,p)=>{const b=p===0,h=p===f.length-1,m=Lt(P,{...n,defaultTextColor:u||n.defaultTextColor},Ce(l.fontSize),{bold:l.bold,italic:l.italic,underline:l.underline});return new R({children:m.length>0?m:[new H({text:"",font:i})],bullet:t?void 0:{level:0},numbering:d,alignment:Qe(l.textAlign),spacing:{before:b?r.before:0,after:h?r.after:90,line:We(l.fontSize,"listText",n),lineRule:Ue},indent:{left:s+360,hanging:360,right:c}})})}function Ji(e){const t=e.match(/<(p|h[1-4])(?:\s[^>]*)?>[\s\S]*?<\/\1>/gi);if(!t||t.length<2)return[e];const n=r=>{var o;return((o=new DOMParser().parseFromString(r,"text/html").body.textContent)==null?void 0:o.trim())??""};return t.map(n).join("").replace(/\s+/g,"")!==n(e).replace(/\s+/g,"")?[e]:t}const Rt="data-cell-list",Gn=/<(ul|ol)\b[^>]*>((?:(?!<(?:ul|ol)\b)[\s\S])*?)<\/\1>/i;function Zi(e){let t=e;for(let n=t.match(Gn);n;n=t.match(Gn)){const r=n[0],o=(n[1]??"").toLowerCase(),i=n[2]??"",a=o==="ol"?Un(r):null,l=o==="ol"?` ${Rt}-instance="${_n()}"`+(a?` ${Rt}-type="${a}"`:""):"",s=i.replace(/<li\b[^>]*>\s*<p\b/gi,`<p ${Rt}="${o}"${l}`),c=n.index??0;t=t.slice(0,c)+s+t.slice(c+r.length)}return t}const Qi=e=>{var t,n,r,o;const i=(n=(t=e==null?void 0:e.match(/data-cell-list="(ul|ol)"/i))==null?void 0:t[1])==null?void 0:n.toLowerCase();if(i==="ul")return{kind:"ul"};if(i==="ol")return{kind:"ol",instance:Number(((r=e==null?void 0:e.match(/data-cell-list-instance="(\d+)"/i))==null?void 0:r[1])??0),type:((o=e==null?void 0:e.match(/data-cell-list-type="([^"]+)"/i))==null?void 0:o[1])??null}},ea=e=>{if(!e)return{};const t={left:360,hanging:360};return e.kind==="ul"?{bullet:{level:0},indent:t}:{numbering:{reference:Wn(e.type),level:0,instance:e.instance},indent:t}},Xn=15,Vn=e=>{var t;const n=ko((t=e.componentColors)==null?void 0:t.table),r=Math.round(n.y*Xn),o=Math.round(n.x*Xn);return{top:r,bottom:r,left:o,right:o}},ta=e=>{const t=Vn(e);return t.top+t.bottom},Yn=300,na=100,ra=15840,oa=12240;function ia(e,t){var n;const r=parseInt(((n=e.match(/data-row-twips="(\d+)"/i))==null?void 0:n[1])??"",10);if(!Number.isFinite(r)||r<=0)return Yn;const o=t.isLandscape?oa:ra,i=t.contentHeightPx&&t.contentHeightPx>0?Math.round(t.contentHeightPx*15):o;return r>i?Yn:Math.max(na,r-ta(t))}function Kn(e,t){var n,r;const o=(n=t.componentColors)==null?void 0:n.table,i=Ie(t,"tableHeader").verticalAlign,a=Vn(t),l=ve(t.documentFont),s=(t.leftMarginPx??40)*15,c=lt(t),u=e.match(/data-col-twips="([\d,]+)"/i),d=u!=null&&u[1]?u[1].split(",").map(M=>parseInt(M,10)).filter(M=>M>0):void 0,f=!!d&&d.length>0,g=[],x=[],P=[],p=/<(thead|tbody|tfoot)[^>]*>(?:[\s\S]*?)<\/\1>/gi;let b;for(;(b=p.exec(e))!==null;)P.push({tag:(b[1]??"").toLowerCase(),start:b.index,end:b.index+b[0].length});const h=new Map,m=/<tr([^>]*)>([\s\S]*?)<\/tr>/gi;let C;for(;(C=m.exec(e))!==null;){const M=C[1]??"",E=C[2]??"",T=C.index,A=P.findIndex(I=>T>=I.start&&T<I.end),w=(h.get(A)??0)+1;h.set(A,w);const N=(((r=P[A])==null?void 0:r.tag)??"tbody")==="tbody"&&w%2===0,j=[],V=/<th[\s>]/i.test(E),se=/<td[\s>]/i.test(E),ne=V&&!se;let ae=0;const ce=/<(th|td)([^>]*)>([\s\S]*?)<\/\1>/gi;let Ee;for(;(Ee=ce.exec(E))!==null;){const I=Ee[2]||"",Te=Ee[3]||"",Ve=(Ee[1]||"").toLowerCase()==="th",Oe=Ve&&ne,v=Ve&&!ne,F=Oe?"tableHeader":v?"tableHeaderColumn":"tableCell",$=Ie(t,F),k=v?$.verticalAlign??i:$.verticalAlign,U=(o==null?void 0:o.headerColumnText)||(o==null?void 0:o.headerText),ue=Oe?o!=null&&o.headerText?L(o.headerText):void 0:v?U?L(U):void 0:o!=null&&o.cellText?L(o.cellText):void 0,re=st(I),Y=Ji(Zi(Te)),ge=Y.map(D=>st(ct(D))),Ae=Y.map(D=>Qi(ct(D))),ee=Y.map(D=>Lt(D,{...t,defaultTextColor:ue},Ce($.fontSize),{bold:$.bold,italic:$.italic,underline:$.underline})),te=I.match(/colspan="(\d+)"/i),Z=te!=null&&te[1]?parseInt(te[1],10):void 0,le=I.match(/rowspan="(\d+)"/i),K=le!=null&&le[1]?parseInt(le[1],10):void 0,de=Z&&Z>1?Z:1,fe=K&&K>1?K:1;for(;(x[ae]??0)>0;)ae+=1;const me=ae;if(fe>1)for(let D=me;D<me+de;D+=1)x[D]=fe;ae=me+de;const ke=I.match(/data-colwidth="(\d+)"/i),Ye=I.match(new RegExp("(?<!min-)width:\\s*(\\d+)px","i")),rt=ke!=null&&ke[1]?parseInt(ke[1],10):Ye!=null&&Ye[1]?parseInt(Ye[1],10):void 0,Pt=rt?Math.round(rt*15):void 0,Ke=(d&&me+de<=d.length?d.slice(me,me+de).reduce((D,xe)=>D+xe,0):void 0)??Pt,Le=ee.map((D,xe)=>new R({children:D.length>0?D:[new H({text:"",font:l})],...ea(Ae[xe]),alignment:ge[xe]??re??Qe($.textAlign),spacing:{before:0,after:0,...t.previewContext==="export-preview"?{line:We($.fontSize,F,t),lineRule:Ue}:{line:240,lineRule:q.AUTO}}}));j.push(new on({children:Le,columnSpan:de>1?de:void 0,rowSpan:fe>1?fe:void 0,width:Ke?{size:Ke,type:He.DXA}:void 0,shading:(()=>{const D=I.match(/background-color:\s*([^;"]+)/i),xe=D!=null&&D[1]?L(D[1].trim()):void 0;if(xe)return{fill:xe};if(Oe&&o!=null&&o.headerBg)return{fill:L(o.headerBg)||"FFFFFF"};if(v){const ot=(o==null?void 0:o.headerColumnBg)||(o==null?void 0:o.headerBg);if(ot)return{fill:L(ot)||"FFFFFF"}}return!Ve&&N&&o!=null&&o.alternateRowBg?{fill:L(o.alternateRowBg)||"FFFFFF"}:{fill:o!=null&&o.cellBg&&L(o.cellBg)||"FFFFFF"}})(),borders:o!=null&&o.border?{top:{style:oe.SINGLE,size:1,color:L(o.border)||"000000"},bottom:{style:oe.SINGLE,size:1,color:L(o.border)||"000000"},left:{style:oe.SINGLE,size:1,color:L(o.border)||"000000"},right:{style:oe.SINGLE,size:1,color:L(o.border)||"000000"}}:void 0,margins:{...a},verticalAlign:Wi(I,k)}))}for(let I=0;I<x.length;I+=1)x[I]=Math.max(0,(x[I]??0)-1);j.length>0&&g.push(new Et({children:j,cantSplit:!0,tableHeader:ne,height:{value:ia(M,t),rule:$o.ATLEAST}}))}return new Me({rows:g,layout:f?Tt.FIXED:Tt.AUTOFIT,...f?{columnWidths:d}:{},width:{size:f?d.reduce((M,E)=>M+E,0):c,type:He.DXA},indent:{size:s,type:He.DXA},borders:o!=null&&o.border?{top:{style:oe.SINGLE,size:1,color:L(o.border)||"000000"},bottom:{style:oe.SINGLE,size:1,color:L(o.border)||"000000"},left:{style:oe.SINGLE,size:1,color:L(o.border)||"000000"},right:{style:oe.SINGLE,size:1,color:L(o.border)||"000000"},insideHorizontal:{style:oe.SINGLE,size:1,color:L(o.border)||"000000"},insideVertical:{style:oe.SINGLE,size:1,color:L(o.border)||"000000"}}:void 0})}function Jn(e){let t=e;for(;/<[^>]+>/.test(t);)t=t.replace(/<[^>]+>/g,"");return t}function aa(e,t){var n;const r=ve(t.documentFont),o=(t.leftMarginPx??40)*15,i=(t.rightMarginPx??40)*15,a=(n=e.match(/\bdata-dest="(dest-[^"]+)"/i))==null?void 0:n[1];let l="dotted";/border-bottom:.*solid/i.test(e)?l="line":/border-bottom:.*dotted/i.test(e)?l="dotted":/font-weight:\s*500/i.test(e)||/margin-bottom:\s*8px/i.test(e)?l="modern":/font-size:\s*0\.9em/i.test(e)||/font-size:\s*0\.85em/i.test(e)?l="compact":/\[\d+\]|\[\.\.\.\]/.test(e)&&(l="simple");const s=e.match(/margin-left:\s*(\d+)px/),c=s?parseInt(s[1],10):0,u=/<span([^>]*)>(.*?)<\/span>/gi,d=[];let f;for(;(f=u.exec(e))!==null;)d.push({attrs:f[1]||"",content:f[2]||""});if(d.length<1)return null;const g=Jn(d[0].content.replace(/&nbsp;/g," ").replace(/&amp;/g,"&")).trim();let x="";for(let I=d.length-1;I>=1;I--){const Te=Jn(d[I].content).trim();if(/\d+/.test(Te)||Te==="..."){x=Te.replace(/^\[|\]$/g,"");break}}const P=o+Math.round(c/24)*300,p=12240-i,b=l==="line"||l==="modern",h=l==="compact"?"888888":void 0,m=Ie(t,"paragraph").fontSize,C=l==="compact"?m*.9:m,M=l==="compact"?m*.85:l==="modern"?m*.95:m,E=Ce(C),T=Ce(M),A=l==="simple"?"[":"",w=l==="simple"?"]":"",N=`${A}${x}${w}`,j=l==="dotted"?St.DOT:l==="line"?St.UNDERSCORE:St.NONE,V=l==="modern"?60:l==="compact"?30:60,se=l==="modern"?180:l==="compact"?30:120,ne={font:r,size:T,bold:b||void 0,color:h},ae=t.tocPagerefFields&&a&&/^\d+$/.test(x)?[...A?[new H({...ne,text:A})]:[],...Fi(a,x,ne),...w?[new H({...ne,text:w})]:[]]:[new H({...ne,text:N})],ce=[new H({text:g,font:r,size:E,bold:void 0}),new H({children:[new Co],font:r,size:T}),...ae],Ee=a?[new No({anchor:a,children:ce})]:ce;return new R({children:Ee,tabStops:[{type:Fo.RIGHT,position:p,leader:j}],spacing:{before:V,after:se,line:We(Math.max(C,M),"paragraph",t),lineRule:Ue},indent:{left:P,right:i}})}function la(e,t){const n=(e.leftMarginPx??40)*15,r=(e.rightMarginPx??40)*15;return new R({children:[new H({text:""})],border:{bottom:{style:oe.SINGLE,size:6,space:1,color:"E0E0E0"}},spacing:{before:t.before,after:t.after,line:240,lineRule:q.AUTO},indent:{left:n,right:r}})}const sa=320,ca=3;function et(e){if(!e||!/^\d+(\.\d+)?$/.test(e.trim()))return;const t=Number(e);return t>0?t:void 0}function Ht(e,t,n){const r=ve(t.documentFont),o=(t.leftMarginPx??40)*15,i=(t.rightMarginPx??40)*15,a={style:oe.SINGLE,size:6,space:4,color:"E0E0E0"};return new R({children:[new H({text:e,font:r,size:Ln,italics:!0})],border:{top:a,bottom:a,left:a,right:a},alignment:X.CENTER,spacing:{before:n.before,after:n.after,line:240,lineRule:q.AUTO},indent:{left:o,right:i}})}function Dt(e,t,n){return Ht(`Chart: ${e} (see PDF export)`,t,n)}function zt(e,t,n){const r=e!=null&&e.trim()?`Image: ${e.trim()} (could not be embedded)`:"Image (could not be embedded)";return Ht(r,t,n)}async function ua(e,t,n){var r;const o=new DOMParser().parseFromString(`<body>${e}</body>`,"text/html").body.querySelector("[data-chart-type]");if(!o)return[];const i=o.getAttribute("data-chart-type")||"chart",a=o.querySelector("svg");if(a){const s=kn(t),c=et(a.getAttribute("width")),u=et(a.getAttribute("height")),d=et((r=(o.getAttribute("style")||"").match(/height:\s*([\d.]+)px/i))==null?void 0:r[1]),f=c??s,g=u??d??sa;try{const x=await ri(a,{width:f,height:g,scale:ca}),P=Mt(x);if(P.length>0)return[new R({children:[new $e({type:"png",data:P,transformation:{width:f,height:g}})],alignment:X.CENTER,spacing:{before:n.before,after:n.after,line:240,lineRule:q.AUTO}})]}catch(x){console.error(`Failed to rasterize chart "${i}" for DOCX:`,x)}return[Dt(i,t,n)]}const l=o.querySelector("table");return l?[Kn(l.outerHTML,t)]:[Dt(i,t,n)]}function da(e,t,n,r,o){let i=e,a=t;const l=!!n&&!!r;return!i&&!a&&l?(i=n,a=r):i&&l?a=i*(r/n):i&&!a?a=i*(2/3):!i&&a&&(i=l?a*(n/r):a*(3/2)),i||(i=o),a||(a=Math.round(i*(2/3))),i>o&&(a=Math.round(a*(o/i)),i=o),{width:Math.round(i),height:Math.round(a)}}function fa(e){return e==="center"?X.CENTER:e==="right"?X.RIGHT:X.LEFT}async function ha(e,t,n){const r=new DOMParser().parseFromString(`<body>${e}</body>`,"text/html").body.querySelector("img"),o=(r==null?void 0:r.getAttribute("src"))||"",i=(r==null?void 0:r.getAttribute("alt"))||void 0,a=et(r==null?void 0:r.getAttribute("width")),l=et(r==null?void 0:r.getAttribute("height")),s=fa(r==null?void 0:r.getAttribute("data-align"));if(!o)return zt(i,t,n);const c=kn(t);try{const u=await Mo(o,void 0,"original")||o,d=u.startsWith("data:")?await wn(Mt(u),u):await hi(u);if(d.bytes.length===0)return zt(i,t,n);const{width:f,height:g}=da(a,l,d.intrinsicWidth,d.intrinsicHeight,c);return new R({children:[new $e({type:d.type,data:d.bytes,transformation:{width:f,height:g}})],alignment:s,spacing:{before:n.before,after:n.after,line:240,lineRule:q.AUTO}})}catch(u){return console.error("Failed to embed inline image for DOCX:",u),zt(i,t,n)}}const ga=/^\s*<([a-z][a-z0-9]*)/i,Zn=e=>{var t,n;return((n=(t=e.match(ga))==null?void 0:t[1])==null?void 0:n.toLowerCase())??""};function pa(e){switch(Zn(e)){case"chartslot":return"chart";case"layoutslot":return"layout";case"h1":return/class="[^"]*section-title-from-h2/i.test(e)?"h2":"h1";case"h2":return"h2";case"h3":return"h3";case"h4":return"h4";case"ul":case"ol":return"list";case"table":return"table";case"hr":return"hr";case"img":return"img";default:return"p"}}const Bt=e=>e!=="table";function ma(e,t){const n=Hn(t.previewContext),r=e.map(s=>n[s]),o=t.containerWidthTwips===void 0,i=e.map((s,c)=>c===0&&!o?r[c].before:0),a=e.map((s,c)=>Bt(s)?r[c].after:0),l=e.map(()=>0);for(let s=1;s<e.length;s++){const c=Math.max(r[s-1].after,r[s].before);l[s]=c,Bt(e[s])?i[s]=Math.max(0,c-a[s-1]):Bt(e[s-1])&&(a[s-1]=c)}return{spacing:e.map((s,c)=>({before:i[c],after:a[c]})),collapsedGap:l}}const xa=2,ba=20;function ya(e){return new R({children:[new H({text:"",size:xa})],spacing:{before:0,after:e,line:ba,lineRule:q.EXACT}})}async function Qn(e,t={},n=!1){var r,o;const i=[],a=/<div[^>]*data-toc-page="[^"]*"[^>]*>.*?<\/div>/gi,l=e.match(a)||[];if(l.length>0){const b=e.match(/<h1[^>]*>(.*?)<\/h1>/i);if(b){const h=ve(t.documentFont),m=(r=t.componentColors)==null?void 0:r.heading,C=(t.leftMarginPx??40)*15,M=(t.rightMarginPx??40)*15,E=Ie(t,"h1");let T;if(m){const A=m.h1;A&&(T=L(A))}i.push(new R({children:[new H({text:((o=b[1])==null?void 0:o.replace(/<[^>]+>/g,"").trim())||"Table of Contents",font:h,size:Ce(E.fontSize),bold:E.bold,italics:E.italic,color:T,underline:E.underline?{}:void 0})],heading:De.HEADING_1,alignment:Qe(E.textAlign),spacing:{before:0,after:Hn(t.previewContext).h1.after,line:We(E.fontSize,"h1",t),lineRule:Ue},indent:{left:C,right:M}}))}for(const h of l)try{const m=aa(h,t);m&&i.push(m)}catch(m){console.error("Failed to parse TOC item:",m)}return i}e=e.replace(/<div[^>]*data-page-break="true"[^>]*>.*?<\/div>/gis,""),e=e.replace(/<div[^>]*class="page-break-marker"[^>]*>.*?<\/div>/gis,"");const{html:s,containers:c}=yi(e);e=s;const u=[];if(/data-chart-type=/i.test(e)){const b=new DOMParser().parseFromString(`<body>${e}</body>`,"text/html");b.body.querySelectorAll("[data-chart-type]").forEach(h=>{const m=u.push(h.outerHTML)-1,C=b.createElement("chartslot");C.setAttribute("data-chart-idx",String(m)),h.replaceWith(C)}),e=b.body.innerHTML}e=e.replace(/<div[^>]*class="page-content[^"]*"[^>]*>/gi,""),e=e.replace(/<\/div>/gi,""),e=e.replace(/<p[^>]*>\s*(<img[^>]*>)\s*<\/p>/gi,"$1");const d=/(<h[1-4][^>]*>[\s\S]*?<\/h[1-4]>|<p[^>]*>[\s\S]*?<\/p>|<ul[^>]*>[\s\S]*?<\/ul>|<ol[^>]*>[\s\S]*?<\/ol>|<table[^>]*>[\s\S]*?<\/table>|<hr[^>]*>|<img[^>]*>|<chartslot[^>]*><\/chartslot>|<layoutslot[^>]*><\/layoutslot>)/gi,f=e.match(d)||[],g=f.map(pa),{spacing:x,collapsedGap:P}=ma(g,t);let p=0;for(let b=0;b<f.length;b++){const h=f[b],m=x[b],C=i.length,M=b===0?0:Math.max(0,P[b]-p),E=b===0||g[b]==="table"?m:{before:M,after:m.after};try{switch(Zn(h)){case"chartslot":{const w=h.match(/data-chart-idx="(\d+)"/i),N=w?u[Number(w[1])]:void 0;N?i.push(...await ua(N,t,E)):i.push(Dt("chart",t,E));break}case"layoutslot":{const w=h.match(/data-layout-idx="(\d+)"/i),N=w?c[Number(w[1])]:void 0;N?i.push(...await Ci(N,t,Qn)):i.push(Ht("Layout section (see PDF export)",t,E));break}case"h1":{const w=/class="[^"]*section-title-from-h2/i.test(h)?2:1;i.push(dt(h,w,t,E));break}case"h2":i.push(dt(h,2,t,E));break;case"h3":i.push(dt(h,3,t,E));break;case"h4":i.push(dt(h,4,t,E));break;case"ul":i.push(...qn(h,!1,t,E));break;case"ol":i.push(...qn(h,!0,t,E));break;case"table":i.push(Kn(h,t));break;case"hr":i.push(la(t,E));break;case"img":i.push(await ha(h,t,E));break;default:i.push(Vi(h,t,E))}}catch(w){console.error("Failed to parse block:",h,w)}const T=i[C]instanceof Me,A=T&&i[C-1]instanceof Me;if(C>0&&T&&(A||M>0)&&i.splice(C,0,ya(M)),i.length>C){const w=i[i.length-1]instanceof Me,N=g[b]!=="layout";p=w||!N?0:m.after}}return i.length===0&&i.push(new R({text:"",spacing:{before:0,after:0,line:240,lineRule:q.AUTO}})),i}const wa=["MM/DD/YYYY","DD/MM/YYYY","DD MMM YYYY","MMM DD, YYYY","YYYY-MM-DD"];function va(e){return typeof e=="string"&&wa.includes(e)}const jt=987654321,ft=987654322,Wt=/\{%[^%\n]*%\}/g;function er(e){const t=e.slice(2,-2).toLowerCase();return t==="page_number"?"page-number":t==="total_pages"?"total-pages":"text"}function Pa(e){return JSON.stringify([e.bold??!1,e.italics??!1,e.underline??!1,e.strike??!1,e.color??"",e.fontSizePx??0,e.fontFamily??""])}function _e(e,t,n,r=!1){const o=e==="text"?{kind:e,text:t,...n}:{kind:e,...n};return r?{...o,hiddenAtPageZero:!0}:o}function Ea(e,t){return Ct(e==="page-number"?"{%page_number%}":"{%total_pages%}",{pageNumber:0,variableValues:t.variableValues,currentDateText:t.currentDateText})===""}function Ta(e,t,n){const r=[];let o="",i=null,a={};const l=()=>{i!==null&&o!==""&&r.push(_e("text",o,a)),o="",i=null};for(const s of e){const c=t(s.rawIndex);if(s.kind!=="text"){l(),r.push(_e(s.kind,"",c,Ea(s.kind,n)));continue}if(s.text==="")continue;const u=Pa(c);u!==i&&(l(),i=u,a=c),o+=s.text}return l(),r}function ht(e,t,n){const r={pageNumber:0,variableValues:n.variableValues,currentDateText:n.currentDateText},o=[];let i=0;for(const a of e.matchAll(Wt)){const l=a.index;for(let u=i;u<l;u++)o.push({kind:"text",text:e[u],rawIndex:u});const s=a[0],c=er(s);o.push({kind:c,text:c==="text"?Ct(s,r):"",rawIndex:l}),i=l+s.length}for(let a=i;a<e.length;a++)o.push({kind:"text",text:e[a],rawIndex:a});return Ta(o,t,n)}function tr(e){for(const t of e.matchAll(Wt))if(er(t[0])!=="text")return!0;return!1}function nr(e,t){const n={pageNumber:t.pageNumber,totalPages:t.totalPages,variableValues:t.variableValues,currentDateText:t.currentDateText},r=new Array(e.length+1);let o="",i=0;const a=(l,s)=>{for(let c=l;c<s;c++)r[c]=o.length,o+=e[c]};for(const l of e.matchAll(Wt)){const s=l.index;a(i,s);const c=l[0];for(let u=s;u<s+c.length;u++)r[u]=o.length;o+=Ct(c,n),i=s+c.length}return a(i,e.length),r[e.length]=o.length,{painted:o,paintedOffsets:r}}function rr(e,t){const n=un(e,jt,ft),r=un(e,0,ft)==="",o=[];for(const i of n.split(new RegExp(`(${jt}|${ft})`)))i!==""&&(i===String(jt)?o.push(_e("page-number","",t,r)):i===String(ft)?o.push(_e("total-pages","",t,r)):o.push(_e("text",i,t,r)));return o}function or(e,t,n){const r=e==null?void 0:e.pageNumberFormat;if(!cn(r))return null;const o=Lo(e,n.pageNumber,n.totalPages);return o===void 0?null:{runs:rr(r,t),painted:o}}function Aa(e,t,n){const r=e,o=r==null?void 0:r.pageNumberFormat;if(cn(o))return rr(o,t);const i=r==null?void 0:r.dateFormat;return va(i)?[_e("text",Ro(i,n),t)]:null}const ir=new Set(["paragraph","heading","blockquote"]),Sa=e=>(e.content??[]).some(t=>ir.has(t.type??""));function ar(e){const t=e;if(!t||typeof t!="object"||!Array.isArray(t.content))return null;let n="",r=!1,o=0;const i=a=>{var l;switch(a.type){case"text":n+=a.text??"";return;case"variable":{const s=(l=a.attrs)==null?void 0:l.name;if(typeof s!="string"||s==="")return;r=!0,n+=`{%${s}%}`;return}case"hardBreak":n+=`
2
- `;return;default:ir.has(a.type??"")&&!Sa(a)&&(o>0&&(n+=`
3
- `),o++);break}for(const s of a.content??[])i(s)};return i(t),r?n:null}const tt=e=>e==="page",Ca=["fontFamily","fontSize","fontWeight","fontStyle","underline","linethrough","fill"];function y(e){return typeof e=="number"&&Number.isFinite(e)}function Ut(e){if(typeof e!="string")return;const t=e.trim(),n=/^#([0-9a-f]{3}|[0-9a-f]{6}|[0-9a-f]{8})$/i.exec(t);if(n){const i=n[1];return i.length===3?`#${i.split("").map(a=>a+a).join("")}`.toLowerCase():`#${i.slice(0,6)}`.toLowerCase()}const r=/^rgba?\(\s*([\d.]+)[\s,]+([\d.]+)[\s,]+([\d.]+)/i.exec(t);if(!r)return;const o=i=>{const a=Math.max(0,Math.min(255,Math.round(Number.parseFloat(i))));return Number.isFinite(a)?a.toString(16).padStart(2,"0"):"00"};return`#${o(r[1])}${o(r[2])}${o(r[3])}`}function _t(e){if(typeof e=="number")return e>=600;if(typeof e!="string")return!1;if(e.toLowerCase()==="bold"||e.toLowerCase()==="bolder")return!0;const t=Number.parseInt(e,10);return Number.isFinite(t)&&t>=600}function lr(e,t){const n={};_t(e.fontWeight)&&(n.bold=!0);const r=e.fontStyle;(r==="italic"||r==="oblique")&&(n.italics=!0),e.underline===!0&&(n.underline=!0),e.linethrough===!0&&(n.strike=!0);const o=Ut(e.fill);return o&&(n.color=o),y(e.fontSize)&&e.fontSize>0&&(n.fontSizePx=e.fontSize*t),typeof e.fontFamily=="string"&&e.fontFamily.trim()!==""&&(n.fontFamily=e.fontFamily.replace(/['"]/g,"").trim()),n}function sr(e){const t={};if(!e)return t;for(const n of Ca)e[n]!==void 0&&(t[n]=e[n]);return t}function qt(e,t,n){return e.map(r=>r.runs.reduce((o,i)=>Math.max(o,i.fontSizePx??t),t)*n)}const Na="000",Fa=.75;let gt;function Ma(){if(gt===void 0)try{gt=document.createElement("canvas").getContext("2d")}catch{gt=null}return gt}function cr(e,t,n){const r=Ma();if(!r)return null;try{const o=t.fontFamily??"sans-serif";r.font=`${t.italics?"italic ":""}${t.bold?"bold ":""}${n}px "${o}"`;const i=r.measureText(e).width;return y(i)?i:null}catch{return null}}function $a(e,t,n){const r=t.fontSizePx??n,o=e.length*r*Fa,i=cr(e,t,r);return i===null?o:Math.max(i,o)}const ur=e=>e.lines.some(t=>t.runs.some(n=>n.kind==="page-number"||n.kind==="total-pages"));function Ia(e){const t=e.totalPages;return y(t)&&t>0?String(Math.trunc(t)):Na}function Oa(e,t,n){if(!t||!ur(e))return e;const r=Ia(n),o=e.lines.reduce((i,a,l)=>{var s;const c=((s=e.linePitchPx)==null?void 0:s[l])??e.lineHeightPx,u=a.runs.reduce((d,f)=>d+$a(f.kind==="text"?f.text??"":r,f,c),0);return Math.max(i,u)},0);return{...e,widthPx:o,align:"left"}}function pt(e){return e==="center"?"center":e==="right"?"right":"left"}function ka(e){return e&&typeof e=="object"?e:null}function La(e){const t=typeof e.rawText=="string"&&e.rawText!==""?e.rawText:null,n=typeof e.text=="string"?e.text:null;let r=t??n,o=ka(t?e.rawStyles:e.styles);if(r===null)return null;if(e.richContent!=null&&!r.includes("{%")){const a=ar(e.richContent);a!==null&&(r=a,o=null)}const i=r.split(`
4
- `);if(o)for(const[a,l]of Object.entries(o)){const s=Number(a),c=i[s];if(c===void 0||!l||typeof l!="object")return{lines:i,styles:null};for(const u of Object.keys(l))if(Number(u)>=c.length)return{lines:i,styles:null}}return{lines:i,styles:o}}const Ra=e=>e.map((t,n)=>({text:t,sourceLineIndex:n,sourceCharOffset:0}));function dr(e){const t=e._textLines;return!Array.isArray(t)||typeof e.text!="string"?!1:t.length!==e.text.split(`
5
- `).length}function Ha(e,t){const n=e.textLines;if(!Array.isArray(n)||n.length===0||typeof e.text!="string"||t.lines.join(`
6
- `)!==e.text||e.text.includes("{%")||!e._styleMap||typeof e._styleMap!="object")return null;const r=e._styleMap,o=[];for(const[i,a]of n.entries()){if(typeof a!="string")return null;const l=r[i];if(!l||!y(l.line)||!y(l.offset))return null;const s=t.lines[l.line];if(s===void 0||s.slice(l.offset,l.offset+a.length)!==a)return null;o.push({text:a,sourceLineIndex:l.line,sourceCharOffset:l.offset})}return o}function fr(e){return e.pageNumber===void 0?null:{variableValues:e.variableValues,currentDateText:e.currentDateText,pageNumber:e.pageNumber,totalPages:e.totalPages}}function Gt(e,t,n){const r=fr(n);if(!r||r.pageNumber>0)return!1;const o=or(t,{},r);return o?o.painted==="":!e||!e.some(tr)?!1:e.every(i=>nr(i,r).painted==="")}function Da(e,t,n,r,o){if(e.objectType!=="text"||e.visible===!1||e.opacity!==1||e.shadow||typeof e.charSpacing=="number"&&e.charSpacing!==0||e.textBackgroundColor||(y(e.angle)?e.angle!==0:e.angle!=null))return!1;for(const i of t)if((y(i.angle)?i.angle!==0:i.angle!=null)||i.visible===!1||i.opacity!==1||i.shadow)return!1;return n.every(i=>i.trim()==="")||typeof e.text=="string"&&e.text.trim()===""?r:!(!o&&dr(e))}const hr=2,Xt=e=>y(e)&&e>0?e:1;function gr(e,t,n){return!y(e)||!y(t)?null:e>0&&t>0?{widthPx:e,heightPx:t,tolerancePx:n}:null}function za(e){var t,n,r;const o=(t=e.getWidth)==null?void 0:t.call(e),i=(n=e.getHeight)==null?void 0:n.call(e);if(!y(o)||!y(i))return null;const a=Xt((r=e.getZoom)==null?void 0:r.call(e));return gr(o/a,i/a,hr+.5/a)}function Ba(e){return gr(e.width()/Xt(e.scaleX()),e.height()/Xt(e.scaleY()),hr)}function ja(e,t,n){if(pr(e,t))return!0;const r=Wa(e,n);return r!==null&&pr(r,t)}function pr(e,t){if(!t)return!1;const{leftPx:n,topPx:r,widthPx:o,heightPx:i}=e;if(!y(n)||!y(r)||!y(o)||!y(i))return!1;const a=t.tolerancePx;return n>=-a&&r>=-a&&n+o<=t.widthPx+a&&r+i<=t.heightPx+a}function Wa(e,t){if(!t)return null;try{return t(e)}catch{return null}}function Ua(e,t,n){return n==="center"?(e-t)/2:n==="right"?e-t:0}const mr=e=>typeof e=="string"&&e.startsWith("justify");function xr(e,t){if(t.length===0)return null;let n=Number.POSITIVE_INFINITY,r=Number.NEGATIVE_INFINITY;for(const o of t){if(!y(o))return null;const i=Ua(e.widthPx,o,e.align);n=Math.min(n,i),r=Math.max(r,i+o)}return{leftPx:e.leftPx+n,topPx:e.topPx,widthPx:r-n,heightPx:e.heightPx}}function _a(e){const{widthPx:t,heightPx:n,lineHeightPx:r}=e;return!y(t)||!y(n)||!y(r)?!1:t>0&&n>0&&r>0}const br=.5;function qa(e,t){const n=Math.min(e.leftPx+e.widthPx,t.leftPx+t.widthPx)-Math.max(e.leftPx,t.leftPx),r=Math.min(e.topPx+e.heightPx,t.topPx+t.heightPx)-Math.max(e.topPx,t.topPx);return n>br&&r>br}function yr(e,t){var n;const r=t.indexOf.get(e);if(r===void 0)return!1;const o=(n=t.steps[r])==null?void 0:n.rect;if(!o)return!1;for(let i=r+1;i<t.steps.length;i+=1){const a=t.steps[i];if(a.occludes&&(!a.rect||qa(o,a.rect)))return!0}return!1}function wr(e){return Array.isArray(e._objects)?e._objects:typeof e.getObjects=="function"?e.getObjects():[]}const Ga=new Set(["text","itext","i-text","textbox"]);function Xa(e){return e.visible===!1||e.excludeFromExport===!0?!1:!y(e.opacity)||e.opacity>0}function Va(e){return e.textBackgroundColor?!0:e.objectType==="text"?!1:!Ga.has(String(e.type??"").toLowerCase())}function Ya(e){var t;const n=(t=e.getBoundingRect)==null?void 0:t.call(e);return!n||!y(n.left)||!y(n.top)||!y(n.width)||!y(n.height)?null:{leftPx:n.left,topPx:n.top,widthPx:n.width,heightPx:n.height}}function Ka(e){const t=[],n=new Map,r=(o,i)=>{for(const a of o){if(!a||typeof a!="object")continue;const l=a,s=i&&Xa(l),c=wr(l);if(c.length>0){r(c,s);continue}n.set(l,t.length),t.push({occludes:s&&Va(l),rect:Ya(l)})}};return r(e,!0),{steps:t,indexOf:n}}let qe=0;function Ja(e){if(typeof e.id=="string"&&e.id!=="")return e.id;qe+=1;const t=`band-text-lift-${qe}`;return e.id=t,t}function Vt(e,t,n,r,o,i,a,l){if(!ja(t,a,l)||r==="page"&&ur(t))return;const s=r==="page"?t:Oa(t,o,i);_a(s)&&(e.items.push(s),e.liftedObjectIds.push(n()))}function vr(e,t,n){let r=1;for(const o of[...t,e]){const i=o[n];y(i)&&i>0&&(r*=i)}return r}function Za(e,t,n){if(!zo(t))return e;const r=[];let o="";if(e.forEach((l,s)=>{s>0&&(o+=n[s]?`
7
- `:" "),l.runs.forEach((c,u)=>{c.kind!=="text"||typeof c.text!="string"||(r.push({line:s,run:u,start:o.length,length:c.text.length}),o+=c.text)})}),r.length===0)return e;const i=Bo(o,t),a=e.map(l=>({...l,runs:l.runs.map(s=>({...s}))}));for(const l of r)a[l.line].runs[l.run].text=i.slice(l.start,l.start+l.length);return a}function Qa(e,t,n,r,o,i){var a;const l=(a=e.getBoundingRect)==null?void 0:a.call(e);if(!l||!y(l.left)||!y(l.top))return null;const s=vr(e,t,"scaleY"),c=sr(e),u=lr(c,s),d=Aa(e,u,o),f=!d&&i&&dr(e),g=f?Ha(e,n):null;if(f&&!g)return null;const x=d?null:g??Ra(n.lines),P=d?[{runs:d}]:x.map(({text:m,sourceLineIndex:C,sourceCharOffset:M})=>({runs:ht(m,E=>{var T,A;const w=(A=(T=n.styles)==null?void 0:T[C])==null?void 0:A[M+E];return w?lr({...c,...sr(w)},s):u},r)}));if(P.every(m=>m.runs.length===0))return null;const p=x?x.map((m,C)=>C===0||m.sourceLineIndex!==x[C-1].sourceLineIndex):[!0],b=y(e.fontSize)&&e.fontSize>0?e.fontSize:0,h=y(e.lineHeight)&&e.lineHeight>0?e.lineHeight:1;return{leftPx:l.left,topPx:l.top,widthPx:l.width,heightPx:l.height,align:pt(e.textAlign),lineHeightPx:b*h*s,linePitchPx:qt(P,b*s,h),lines:Za(P,e.textTransform,p)}}function el(e){return String(e.type??"").toLowerCase()!=="textbox"}function tl(e,t,n){if(mr(e.textAlign))return null;const r=e._textLines;if(!Array.isArray(r)||r.length===0||typeof e.getLineWidth!="function")return null;const o=[];for(let i=0;i<r.length;i+=1){const a=e.getLineWidth(i);if(!y(a))return null;o.push(a*n)}return xr(t,o)}function Pr(e,t,n,r,o,i,a,l){for(const s of e){if(!s||typeof s!="object")continue;const c=s,u=La(c),d=r==="band"&&Gt((u==null?void 0:u.lines)??null,c,n);if(u&&Da(c,t,u.lines,d,tt(r))){if(yr(c,l))continue;const g=Qa(c,t,u,n,o,tt(r));g&&Vt(i,g,()=>Ja(c),r,el(c),n,a,x=>tl(c,x,vr(c,t,"scaleX")));continue}const f=wr(c);f.length>0&&Pr(f,[...t,c],n,r,o,i,a,l)}}const nl=e=>[...Array.isArray(e.children)?e.children:[],...Array.isArray(e.objects)?e.objects:[]];function rl(e,t){const n=e==null?void 0:e.objects;if(!Array.isArray(n))return null;const r=[...n];for(;r.length>0;){const o=r.shift();if(!(!o||typeof o!="object")){if(o.id===t)return o;r.push(...nl(o))}}return null}function ol(e,t){const n=rl(e,t.id);if(!n)return null;if(Ho(n))return n;if(t.textIndex<0)return null;const r=[];return Do([n],o=>r.push(o)),r[t.textIndex]??null}function Er(e,t){return!t||e.sourceCanvasJson==null?null:ol(e.sourceCanvasJson,t)}function Yt(e){if(!e)return null;const t=typeof e.text=="string"?e.text:null,n=ar(e.richContent)??t;return n===null?null:n.split(`
8
- `)}const mt=e=>e.replace(/\s+/g," ").trim();function il(e){const{kind:t,text:n,hiddenAtPageZero:r,...o}=e;return o}function Tr(e){var t;const n=[];for(const r of e.runs){const o=il(r);for(let i=0;i<(((t=r.text)==null?void 0:t.length)??0);i++)n.push(o)}return n}function Ar(e,t,n,r){const o=fr(n);if(!t||!o)return e;const i=e.lines.map(u=>u.runs.map(d=>d.text??"").join("")),a=u=>Tr(e.lines[u]??{runs:[]})[0]??r,l=or(t,a(0),o);if(l)return e.lines.length!==1||mt(l.painted)!==mt(i[0])?e:{...e,lines:[{runs:l.runs}]};const s=Yt(t);if(s===null||!s.some(tr)||s.length!==e.lines.length)return e;const c=s.map(u=>nr(u,o));for(const[u,d]of i.entries())if(mt(c[u].painted)!==mt(d))return e;return{...e,lines:s.map((u,d)=>{const f=Tr(e.lines[d]),g=c[d].paintedOffsets,x=a(d);return{runs:ht(u,P=>f[g[P]??0]??x,n)}})}}function al(){var e;const t=(e=globalThis.Konva)==null?void 0:e.stages;return Array.isArray(t)?t:[]}function ll(e){return al().find(t=>{var n,r;return(r=(n=t.container)==null?void 0:n.call(t))==null?void 0:r.contains(e)})??null}function Sr(e,t){const n={},r=typeof e.fontStyle()=="string"?e.fontStyle():"";/italic|oblique/i.test(r)&&(n.italics=!0),_t(r.replace(/italic|oblique|normal/gi,"").trim())&&(n.bold=!0);const o=typeof e.textDecoration()=="string"?e.textDecoration():"";o.includes("underline")&&(n.underline=!0),o.includes("line-through")&&(n.strike=!0);const i=Ut(e.fill());i&&(n.color=i);const a=e.fontSize();y(a)&&a>0&&(n.fontSizePx=a*t);const l=Mr(e.fontFamily());return l&&(n.fontFamily=l),n}function sl(e){for(let r=e.getParent();r;r=r.getParent()){const o=r.id();if(!(typeof o!="string"||o==="")){if(r.find("Text").length===1)return o;break}}const t=e.id();if(typeof t=="string"&&t!=="")return t;qe+=1;const n=`band-text-lift-${qe}`;return e.id(n),n}function cl(e,t,n){if(!e.isVisible()||e.getAbsoluteOpacity()!==1||e.hasShadow()||e.getAbsoluteRotation()!==0)return!1;const r=e.text();if(typeof r!="string")return!1;if(r.trim()==="")return t;const o=e.textArr;return!Array.isArray(o)||o.length===r.split(`
9
- `).length?!0:n&&!r.includes("{%")}function ul(e,t){const n=e.text().split(`
10
- `);if(!t)return n;const r=e.textArr;return!Array.isArray(r)||r.length===n.length?n:r.map(o=>typeof(o==null?void 0:o.text)=="string"?o.text:"")}function Cr(e,t){var n;const r=(n=e.attrs)==null?void 0:n[t];return r==null||r==="auto"}function Nr(e){const t=e.getAbsoluteScale();return y(t==null?void 0:t.y)&&t.y>0?t.y:1}function dl(e,t,n,r,o){const i=e.getClientRect({relativeTo:t,skipShadow:!0,skipStroke:!0});if(!i||!y(i.x)||!y(i.y))return null;const a=e.getAbsoluteScale(),l=y(a==null?void 0:a.x)&&a.x>0?a.x:1,s=Nr(e),c=Sr(e,s),u=ul(e,o),d=u.map(m=>({runs:ht(m,()=>c,n)}));if(!r&&d.every(m=>m.runs.length===0))return null;const f=y(e.fontSize())?e.fontSize():0,g=f*(y(e.lineHeight())?e.lineHeight():1),x=u.length*g,P=y(e.padding())?e.padding():0,p=e.verticalAlign(),b=e.getHeight()-x-P*2,h=Cr(e,"height")?0:p==="middle"?b/2:p==="bottom"?b:0;return{leftPx:i.x+P*l,topPx:i.y+(P+h)*s,widthPx:i.width-P*2*l,heightPx:x*s,align:pt(e.align()),lineHeightPx:g*s,linePitchPx:qt(d,f*s,y(e.lineHeight())?e.lineHeight():1),lines:d}}function fl(e,t){if(mr(e.align()))return null;const n=e.textArr;if(!Array.isArray(n)||n.length===0)return null;const r=e.getAbsoluteScale(),o=y(r==null?void 0:r.x)&&r.x>0?r.x:1,i=[];for(const a of n){if(!y(a==null?void 0:a.width))return null;i.push(a.width*o)}return xr(t,i)}function hl(e){for(let n=e.getParent();n;n=n.getParent()){const r=n.id();if(!(typeof r!="string"||r===""))return{id:r,textIndex:n.find("Text").indexOf(e)}}const t=e.id();return typeof t=="string"&&t!==""?{id:t,textIndex:0}:null}function gl(e){return!e.isVisible()||e.getClassName()==="Text"?!1:e.getAbsoluteOpacity()>0}function pl(e,t){const n=e.getClientRect({relativeTo:t});return!n||!y(n.x)||!y(n.y)||!y(n.width)||!y(n.height)?null:{leftPx:n.x,topPx:n.y,widthPx:n.width,heightPx:n.height}}function ml(e){const t=[],n=new Map,r=o=>{var i;const a=(i=o.getChildren)==null?void 0:i.call(o);if(a){for(const l of a)r(l);return}n.set(o,t.length),t.push({occludes:gl(o),rect:pl(o,e)})};return r(e),{steps:t,indexOf:n}}function Fr(e,t,n,r,o,i,a){var l;if(e.getClassName()==="Text"){const c=e,u=r==="band"?Er(n,hl(c)):null,d=r==="band"&&Gt(Yt(u),u,n);if(!cl(c,d,tt(r))||yr(c,a))return;const f=dl(c,t,n,d,tt(r));if(!f)return;const g=Ar(f,u,n,Sr(c,Nr(c)));if(g.lines.every(x=>x.runs.length===0))return;Vt(o,g,()=>sl(c),r,Cr(c,"width"),n,i,x=>fl(c,x));return}const s=(l=e.getChildren)==null?void 0:l.call(e);if(s)for(const c of s)Fr(c,t,n,r,o,i,a)}function xt(e){const t=/^(-?\d*\.?\d+)px$/.exec((e??"").trim());if(!t)return;const n=Number.parseFloat(t[1]);return Number.isFinite(n)?n:void 0}function Mr(e){var t;if(typeof e!="string")return;const n=(t=e.split(",")[0])==null?void 0:t.replace(/['"]/g,"").trim();return n!==void 0&&n!==""?n:void 0}const xl="ul, ol, mark, img, table",nt=new Set(["P","DIV","H1","H2","H3","H4","H5","H6","BLOCKQUOTE","LI"]),Kt=e=>Array.from(e.children).some(t=>nt.has(t.tagName));function bt(e,t){const n={...t};switch(e.tagName){case"STRONG":case"B":n.bold=!0;break;case"EM":case"I":n.italics=!0;break;case"U":n.underline=!0;break;case"S":case"STRIKE":case"DEL":n.strike=!0;break}const r=e.style;r.fontWeight!==""&&(_t(r.fontWeight)?n.bold=!0:delete n.bold),(r.fontStyle==="italic"||r.fontStyle==="oblique")&&(n.italics=!0);const o=`${r.textDecoration} ${r.textDecorationLine}`;o.includes("underline")&&(n.underline=!0),o.includes("line-through")&&(n.strike=!0);const i=Ut(r.color);i&&(n.color=i);const a=Mr(r.fontFamily);a&&(n.fontFamily=a);const l=xt(r.fontSize);return l!==void 0&&l>0&&(n.fontSizePx=l),n}function $r(e){const t=(r,o)=>{if(r.nodeType===Node.TEXT_NODE)return o;if(r.nodeType!==Node.ELEMENT_NODE)return null;const i=r;if(i.tagName==="BR")return null;const a=bt(i,o);for(const l of Array.from(i.childNodes)){const s=t(l,a);if(s)return s}return i.childNodes.length===0?a:null},n=bt(e,{});for(const r of Array.from(e.childNodes)){const o=t(r,n);if(o)return o}return n}function bl(e,t){const n=[""],r=[[]];let o=0;const i=()=>{n.push(""),r.push([])},a=(s,c)=>{const u=n.length-1;n[u]+=s;for(let d=0;d<s.length;d++)r[u].push(c)},l=(s,c)=>{if(s.nodeType===Node.TEXT_NODE){a(s.textContent??"",c);return}if(s.nodeType!==Node.ELEMENT_NODE)return;const u=s;if(u.tagName==="BR"){const f=u.parentElement;(!f||!nt.has(f.tagName)||f.childNodes.length!==1)&&i();return}nt.has(u.tagName)&&!Kt(u)&&(o>0&&i(),o+=1);const d=bt(u,c);for(const f of Array.from(u.childNodes))l(f,d)};for(const s of Array.from(e.childNodes))l(s,t);return{lines:n,charStyles:r}}const yl=(e,t)=>e.bold===t.bold&&e.italics===t.italics&&e.underline===t.underline&&e.strike===t.strike&&e.color===t.color&&e.fontSizePx===t.fontSizePx&&e.fontFamily===t.fontFamily;function wl(e){let t=null;for(const n of e.charStyles)for(const r of n)if(t===null)t=r;else if(!yl(t,r))return null;return t}const vl=1,Pl=e=>e.replace(/\s+/g," ");function El(e){const t=[];let n=0;for(let r=1;r<e.length;r++)/\s/.test(e[r-1])&&!/\s/.test(e[r])&&(t.push(e.slice(n,r)),n=r);return t.push(e.slice(n)),t}function Tl(e,t,n,r){const o=s=>cr(Pl(s),t,n),i=o(e);if(i===null||i<=r)return[e];const a=[];let l="";for(const s of El(e)){const c=l+s,u=o(c.trimEnd());if(u===null)return[e];l.trim()!==""&&u>r?(a.push(l.trimEnd()),l=s):l=c}return a.push(l),a}function Al(e,t,n){if(Ir(t)||e.lines.some(l=>l.includes("{%")))return e;const r=wl(e),o=r==null?void 0:r.fontSizePx;if(!r||!y(o)||o<=0)return e;const i=[],a=[];for(const l of e.lines)for(const s of Tl(l,r,o,n+vl))i.push(s),a.push(new Array(s.length).fill(r));return{lines:i,charStyles:a}}function Sl(e){for(const t of Array.from(e.querySelectorAll("*")))if(nt.has(t.tagName)&&!Kt(t)){if(t.style.textAlign!=="")return pt(t.style.textAlign);break}return pt(e.style.textAlign)}function Cl(e,t,n,r){if(e.querySelector(xl))return null;const o=e.style.opacity;if(o!==""&&Number.parseFloat(o)!==1)return null;const i=/rotate\(\s*(-?\d*\.?\d+)deg/.exec(e.style.transform??"");if(i&&Number.parseFloat(i[1])!==0)return null;const a=Number.parseFloat(e.dataset.expectedLeft??""),l=Number.parseFloat(e.dataset.expectedTop??""),s=xt(e.style.width)??xt(e.style.minWidth);if(!y(a)||!y(l)||s===void 0||s<=0)return null;const c=bt(e,{}),u=c.fontSizePx??0,d=Number.parseFloat(e.style.lineHeight);if(u<=0||!y(d)||d<=0)return null;const f=bl(e,c),g=r?Al(f,e,s):f,x=g.lines.map((h,m)=>({runs:ht(h,C=>{var M;return((M=g.charStyles[m])==null?void 0:M[C])??c},t)}));if(!n&&x.every(h=>h.runs.length===0))return null;const P=x.every(h=>h.runs.length===0)?$r(e).fontSizePx??u:u,p=qt(x,Math.max(u,P),d),b=p.reduce((h,m)=>h+m,0);return e.offsetHeight>b+2?null:{leftPx:a,topPx:l,widthPx:s,heightPx:b,align:Sl(e),lineHeightPx:u*d,linePitchPx:p,lines:x}}function Nl(e,t){const n=e.getBoundingClientRect();if(!y(n==null?void 0:n.left)||!y(n.top))return null;const r=n.width>0&&e.offsetWidth>0?n.width/e.offsetWidth:1;if(!y(r)||r<=0)return null;const o=Array.from(e.querySelectorAll("*")).filter(c=>nt.has(c.tagName)&&!Kt(c));let i=Number.POSITIVE_INFINITY,a=Number.POSITIVE_INFINITY,l=Number.NEGATIVE_INFINITY,s=Number.NEGATIVE_INFINITY;for(const c of o.length>0?o:[e]){const u=document.createRange();u.selectNodeContents(c);const d=u.getBoundingClientRect();if(!y(d==null?void 0:d.left)||!y(d.top)||!y(d.width)||!y(d.height))return null;i=Math.min(i,d.left),a=Math.min(a,d.top),l=Math.max(l,d.left+d.width),s=Math.max(s,d.top+d.height)}return!y(i)||!y(a)?null:{leftPx:t.leftPx+(i-n.left)/r,topPx:t.topPx+(a-n.top)/r,widthPx:(l-i)/r,heightPx:(s-a)/r}}const Ir=e=>xt(e.style.width)===void 0;function Fl(e){const t=e.dataset.objId;if(typeof t=="string"&&t!=="")return t;qe+=1;const n=`band-text-lift-${qe}`;return e.dataset.objId=n,n}function Ml(e){return e.querySelector("canvas.lower-canvas")??e.querySelector("canvas")}function Or(e,t,n,r){var o,i,a;try{const l=Ml(e);if(!l)return null;const s=l.__fabric;if(s&&typeof s.getObjects=="function"){const u={items:[],liftedObjectIds:[]},d=za(s);d||(o=r==null?void 0:r.onUnreadableBounds)==null||o.call(r);const f=s.getObjects();return Pr(f,[],t,n,new Date,u,d,Ka(f)),u}const c=ll(l);if(c){const u={items:[],liftedObjectIds:[]},d=Ba(c);d||(i=r==null?void 0:r.onUnreadableBounds)==null||i.call(r),Fr(c,c,t,n,u,d,ml(c));for(const f of Array.from(e.querySelectorAll(".text-rich-display"))){const g=f.dataset.objId,x=n==="band"&&g?Er(t,{id:g,textIndex:0}):null,P=n==="band"&&Gt(Yt(x),x,t),p=Cl(f,t,P,tt(n));if(!p)continue;const b=Ar(p,x,t,$r(f));b.lines.every(h=>h.runs.length===0)||Vt(u,b,()=>Fl(f),n,Ir(f),t,d,h=>Nl(f,h))}return u}return null}catch(l){return(a=r==null?void 0:r.onError)==null||a.call(r,l),null}}function $l(e,t,n){return Or(e,t,"band",n)}function Il(e,t,n){return Or(e,t,"page",n)}const Ol=9525,kl=15,Ge=e=>Math.round(e*Ol),Ll=e=>Math.round(e*kl),Rl="http://schemas.openxmlformats.org/drawingml/2006/main",Hl="http://schemas.microsoft.com/office/word/2010/wordprocessingShape",Dl={left:X.LEFT,center:X.CENTER,right:X.RIGHT},kr=900,zl=251658240,Bl=e=>({id:kr+e,name:`Editable text ${kr+e}`,relativeHeight:zl+e});function Ne(e){const t=dn.fromXmlString(e).root,[n,...r]=t;if(r.length>0||!(n instanceof dn))throw new Error(`expected exactly one root element, got ${t.length}, in: ${e}`);return n}function Lr(e,t,n){if(!Number.isFinite(e)||e<=0)throw new Error(`anchored text box ${t} is not a positive EMU extent (${e}) for "${n.name}": ${n.widthPx}x${n.heightPx}px at (${n.pageLeftPx}, ${n.pageTopPx})`);return e}function jl(e){const t=Lr(Ge(e.widthPx),"cx",e),n=Lr(Ge(e.heightPx),"cy",e),r=Ne(`<wps:wsp><wps:cNvSpPr txBox="1"/><wps:spPr><a:xfrm><a:off x="0" y="0"/><a:ext cx="${t}" cy="${n}"/></a:xfrm><a:prstGeom prst="rect"><a:avLst/></a:prstGeom><a:noFill/><a:ln><a:noFill/></a:ln></wps:spPr></wps:wsp>`),o=Ne("<w:txbxContent/>");for(const u of e.lines)o.push(new R({alignment:Dl[e.align],spacing:{before:0,after:0,line:Ll(u.linePitchPx),lineRule:q.EXACT},children:[...u.runs]}));const i=Ne("<wps:txbx/>");i.push(o),r.push(i),r.push(Ne('<wps:bodyPr rot="0" spcFirstLastPara="0" vertOverflow="overflow" horzOverflow="overflow" vert="horz" wrap="square" lIns="0" tIns="0" rIns="0" bIns="0" numCol="1" spcCol="0" rtlCol="0" fromWordArt="0" anchor="t" anchorCtr="0" forceAA="0" compatLnSpc="1"><a:prstTxWarp prst="textNoShape"><a:avLst/></a:prstTxWarp><a:spAutoFit/></wps:bodyPr>'));const a=Ne(`<a:graphicData uri="${Hl}"/>`);a.push(r);const l=Ne(`<a:graphic xmlns:a="${Rl}"/>`);l.push(a);const s=Ne(`<wp:anchor distT="0" distB="0" distL="0" distR="0" simplePos="0" relativeHeight="${e.relativeHeight}" behindDoc="0" locked="0" layoutInCell="1" allowOverlap="1"><wp:simplePos x="0" y="0"/><wp:positionH relativeFrom="page"><wp:posOffset>${Ge(e.pageLeftPx)}</wp:posOffset></wp:positionH><wp:positionV relativeFrom="page"><wp:posOffset>${Ge(e.pageTopPx)}</wp:posOffset></wp:positionV><wp:extent cx="${t}" cy="${n}"/><wp:effectExtent l="0" t="0" r="0" b="0"/><wp:wrapNone/><wp:docPr id="${e.id}" name="${e.name}"/><wp:cNvGraphicFramePr/></wp:anchor>`);s.push(l);const c=Ne("<w:drawing/>");return c.push(s),c}const Wl=e=>new R({children:[new H({children:[jl(e)]})],spacing:{before:0,after:0,line:1,lineRule:q.EXACT}}),Rr=1.5,Ul=.02,Hr=16,_l=.5/Rr;function Dr(e,t){let n=0;for(const r of e.lines)for(const o of r.runs){const i=(o.fontSizePx??Hr)*t;i>0&&(n=Math.max(n,_l/i))}return n}const ql=e=>Math.round(e*Rr);function Gl(e,t,n){return e==="center"?t-n/2:e==="right"?t-n:t}const Xl=(e,t,n)=>({font:ve(e.fontFamily??t),size:ql((e.fontSizePx??Hr)*n),color:e.color,bold:e.bold,italics:e.italics,strike:e.strike,underline:e.underline?{}:void 0}),zr=e=>e.totalPagesAsField||e.resolvedTotalPages===void 0;function Vl(e,t){return e.kind==="page-number"?{field:"PAGE"}:e.kind==="total-pages"?zr(t)?{field:"NUMPAGES"}:{literal:t.resolvedTotalPages??""}:{literal:e.text??""}}function Yl(e,t,n,r){const o=Xl(e,t,r);return e.hiddenAtPageZero?[...Oi(Vl(e,n),o)]:e.kind==="page-number"?[Mi(o)]:e.kind==="total-pages"?[zr(n)?$i(o):new H({...o,text:n.resolvedTotalPages??""})]:[new H({...o,text:e.text??""})]}function Br(e,t,n,r){const o=e.widthPx*t.scale,i=o*(Ul+(t.extraWidthPadRatio??0));return Wl({...Bl(t.itemIndex),pageLeftPx:Gl(e.align,t.pageLeftPx,i),pageTopPx:t.pageTopPx,widthPx:o+i,heightPx:e.heightPx*t.scale,align:e.align,lines:e.lines.map((a,l)=>{var s;return{linePitchPx:(((s=e.linePitchPx)==null?void 0:s[l])??e.lineHeightPx)*t.scale,runs:a.runs.flatMap(c=>Yl(c,n,r,t.scale))}})})}function jr(e){return new R({children:[new $e({type:e.type,data:e.data,transformation:{width:e.widthPx,height:e.heightPx},floating:{horizontalPosition:{relative:Uo.PAGE,offset:Ge(e.offsetXPx)},verticalPosition:{relative:Wo.PAGE,offset:Ge(e.offsetYPx)},behindDocument:!0,allowOverlap:!0,wrap:{type:jo.NONE}}})],spacing:{before:0,after:0,line:1,lineRule:q.EXACT}})}const Kl=(e,t)=>t.bandKind==="header"?e.topPx:t.pageHeightPx-t.bandHeightPx+e.topPx,Jl=e=>e.bandKind==="header"?0:e.pageHeightPx-e.bandHeightPx,Zl=(e,t)=>new R({children:[new $e({type:e.type,data:e.data,transformation:{width:t.pageWidthPx,height:t.bandHeightPx}})],spacing:{before:0,after:0,line:240,lineRule:q.AUTO}});function Ql(e,t,n,r,o){return e.items.length===0?[Zl(t,n)]:[jr({...t,widthPx:n.pageWidthPx,heightPx:n.bandHeightPx,offsetXPx:0,offsetYPx:Jl(n)}),...e.items.map((i,a)=>Br(i,{pageLeftPx:i.leftPx,pageTopPx:Kl(i,n),scale:1,itemIndex:a,extraWidthPadRatio:Dr(i,1)},r,o))]}const es={totalPagesAsField:!1},ts=e=>e.displayWidthPx/e.canvasWidthPx,ns=e=>e.displayHeightPx/e.canvasHeightPx;function Wr(e,t,n){if(!Number.isFinite(e)||e<=0)throw new Error(`canvas page ${t} scale is not a positive number (${e}): ${JSON.stringify(n)}`);return e}const rs=(e,t)=>new R({children:[new $e({type:e.type,data:e.data,transformation:{width:t.displayWidthPx,height:t.displayHeightPx}})],spacing:{before:0,after:0,line:240,lineRule:q.AUTO},alignment:X.CENTER});function os(e){for(const t of e.lines)for(const n of t.runs){if(n.kind!=="text")throw new Error(`page extraction produced field run kind: ${n.kind}`);if(n.hiddenAtPageZero)throw new Error("page extraction produced a page-zero conditional run")}}function is(e,t,n,r,o=0){if(e.items.length===0)return[rs(t,n)];e.items.forEach(os);const i=Wr(ts(n),"horizontal",n),a=Wr(ns(n),"vertical",n);return[jr({...t,widthPx:n.displayWidthPx,heightPx:n.displayHeightPx,offsetXPx:n.offsetXPx,offsetYPx:0}),...e.items.map((l,s)=>Br(l,{pageLeftPx:l.leftPx*i+n.offsetXPx,pageTopPx:l.topPx*a,scale:i,itemIndex:o+s,extraWidthPadRatio:Dr(l,i)},r,es))]}const as="data-table-continuation",ls="data-cloned-header-row",ss="data-paragraph-continuation",cs="data-list-continuation",us=["UL","OL"],ds='[data-page-break="true"]',fs=e=>/display:\s*none/.test(e.getAttribute("style")??""),Ur=e=>Array.from(e.children).filter(t=>!fs(t)),Jt=(e,t,n,r)=>e.tagName===n&&t.tagName===n&&e.getAttribute(r)==="true",hs=(e,t)=>{const n=e.querySelector(":scope > tbody")??e;t.querySelectorAll(":scope > tbody > tr, :scope > tr").forEach(r=>{r.getAttribute(ls)!=="true"&&n.appendChild(r)})},_r=e=>e.querySelector(ds)!==null;function gs(e,t){const n=Ur(e),r=n[n.length-1],o=Ur(t)[0];if(r&&o){if(Jt(o,r,"TABLE",as))hs(r,o),o.remove();else if(Jt(o,r,"P",ss))r.textContent=`${r.textContent??""} ${o.textContent??""}`.trim(),o.remove();else if(us.some(i=>Jt(o,r,i,cs))){for(;o.firstChild;)r.appendChild(o.firstChild);o.remove()}}for(;t.firstChild;)e.appendChild(t.firstChild)}const ps=8,ms=40,Zt=4,xs=95,bs=4e8,ys=e=>e.width*e.height*Zt*Zt,ws={format:"jpeg",quality:xs},vs={format:"png",omitBackground:!0},yt=e=>`page:${e}`,Xe=(e,t)=>`${t}:${e}`,qr=e=>e&&e.items.length>0?e.liftedObjectIds:void 0;async function Ps(e){await qo(),await ni(e)}async function Es(e,t,n,r,o){const i=[],a=new Map,l=new Map,s=new Map,c=d=>d instanceof Error?d.message:String(d),u=(d,f,g,x)=>{const P=`${x}|${g.width}x${g.height}|${f}`;let p=l.get(P);p===void 0&&(p=i.length,i.push({html:f,dimensions:g,kind:x}),l.set(P,p)),a.set(d,p)};for(let d=0;d<e.length;d++){const f=e[d],g=t[d],x=n[d];if(!f||!g||!x)continue;if(it(f)){try{const p=qr(o==null?void 0:o.get(d)),b=Go(f),h=f.useFabric?(await xn(x,{...p?{hideObjectIds:p,stripRichTextOverlays:!0}:{},expectNonBlankCanvas:b})).outerHTML:await ti(x,g.width,g.height,d+1,{...p?{hideObjectIds:p}:{},expectNonBlankCanvas:b});h&&u(yt(d),h,{width:g.width,height:g.height},"page")}catch(p){s.set(yt(d),c(p)),console.warn(`DOCX server capture: could not build HTML for page ${d+1}`,p)}continue}if(f.skipHeaderFooter)continue;const P=[{kind:"header",selector:".docx-export-header",height:g.headerBand},{kind:"footer",selector:".docx-export-footer",height:g.footerBand}];for(const p of P){const b=x.querySelector(p.selector);if(!b)continue;const h=Xe(d,p.kind);try{const m=qr(r==null?void 0:r.get(h)),C=await xn(b,m?{hideObjectIds:m,stripRichTextOverlays:!0}:{});u(h,C.outerHTML,{width:g.width,height:p.height},"band")}catch(m){s.set(h,c(m)),console.warn(`DOCX server capture: could not build ${p.kind} HTML for page ${d+1}`,m)}}}if(r)for(const d of r.keys())a.has(d)||console.warn(`DOCX server capture: band extraction "${d}" has no capture job \u2014 its band will not be lifted`);if(o)for(const d of o.keys()){const f=yt(d);if(!a.has(f)){const g=s.get(f)??"no HTML was produced for it";console.warn(`DOCX server capture: page extraction for page ${d+1} has no capture job (${g}) \u2014 that page has no server image either, so the export will fail with a named capture miss`)}}return{entries:i,keyToEntry:a,jobFailures:s}}async function Ts(e){const{pages:t,geometry:n,documentFont:r,componentColors:o,documentMargins:i,bandExtractions:a,pageExtractions:l}=e,s=new Map;try{const c=t.map((T,A)=>document.getElementById(`page-${A+1}`));await Ps(c);const{entries:u,keyToEntry:d,jobFailures:f}=await Es(t,n,c,a,l);if(u.length===0)return{images:s,jobFailures:f};const{styles:g,customProperties:x}=await ei(r,o,i,u.map(T=>T.html)),P=new Array(u.length).fill(null);let p;const b=(T,A)=>{const w=[];let N=[],j=0;for(const V of T){const se=ys(u[V].dimensions),ne=N.length>=A,ae=j+se>bs;N.length>0&&(ne||ae)&&(w.push(N),N=[],j=0),N.push(V),j+=se}return N.length>0&&w.push(N),w},h=async(T,A,w)=>{for(const N of b(T,w))try{const j=await _o({pages:N.map(V=>u[V].html),styles:g,fontFamily:r||"system-ui, sans-serif",customProperties:x,dimensions:{width:Se.US_LETTER.width,height:Se.US_LETTER.height},pageDimensions:N.map(V=>u[V].dimensions),pixelRatio:Zt,...A});N.forEach((V,se)=>{P[V]=j[se]??null})}catch(j){p??(p=j instanceof Error?j.message:String(j)),console.error("DOCX server capture: page-image batch failed",j)}},m=T=>u.reduce((A,w,N)=>(w.kind===T&&A.push(N),A),[]),C=async T=>{const A=w=>T.filter(N=>u[N].kind===w);await h(A("page"),ws,ps),await h(A("band"),vs,ms)},M=()=>u.reduce((T,A,w)=>(P[w]||T.push(w),T),[]);await C([...m("page"),...m("band")]);const E=M();if(E.length>0){const T=new Set(E),A=[];d.forEach((j,V)=>{T.has(j)&&A.push(V)}),await C(E);const w=M(),N=p??null;w.length===0&&(p=void 0),fn({error:new Error("DOCX export: server page capture retried"),extra:{context:"exportPreviewToDocx.serverCaptureRetry",retriedJobKeys:A,retriedEntryCount:E.length,recoveredCount:E.length-w.length,stillMissingCount:w.length,firstPassFailureReason:N}})}return d.forEach((T,A)=>{s.set(A,P[T]??null)}),{images:s,jobFailures:f,...p?{failureReason:p}:{}}}catch(c){if(hn(c))throw c;return console.error("DOCX server capture: pre-pass failed",c),{images:s,jobFailures:new Map,failureReason:c instanceof Error?c.message:String(c)}}}function As(e){if(e.length===0)return null;const t=e.reduce((o,i)=>Math.max(o,i.reduce((a,l)=>a+(l.colSpan||1),0)),0);if(t===0)return null;const n=e.find(o=>o.length===t&&o.every(i=>(i.colSpan||1)===1));if(!n)return null;const r=n.map(o=>o.widthPx);return r.some(o=>!o||o<=0)?null:r.map(o=>Math.round(o*15))}const Gr="img, table, canvas, svg, hr",Ss=e=>e.split(";").some(t=>{const n=t.indexOf(":");if(n===-1)return!1;const r=t.slice(0,n).trim().toLowerCase();return r!=="background"&&r!=="background-image"?!1:t.slice(n+1).toLowerCase().includes("url(")}),Cs=e=>[e,...Array.from(e.querySelectorAll("[style]"))].some(t=>Ss(t.getAttribute("style")??"")),Ns=e=>(e.textContent??"").trim()!==""||e.matches(Gr)||e.querySelector(Gr)?!1:!Cs(e);function Xr(e){let t=e.lastElementChild;for(;t&&Ns(t);)t.remove(),t=e.lastElementChild}function wt(e){return yn(e)==="jpg"?"jpg":"png"}class Qt extends Error{constructor(t){super(t),this.name="DocxServerCaptureError"}}const Vr=10,Fs=Se.US_LETTER.width,Ms=Se.US_LETTER.height,$s=.15,Is=4,Yr=e=>Qo(e),Kr=e=>{if(Zo(e)){const n=pe(e.canvasWidth/96),r=pe(e.canvasHeight/96);return e.canvasWidth>e.canvasHeight?{width:r,height:n,orientation:mn.LANDSCAPE}:{width:n,height:r,orientation:void 0}}const t=e.orientation==="landscape";return{width:pe(8.5),height:pe(11),orientation:t?mn.LANDSCAPE:void 0}},Jr=(e,t)=>{const{width:n,height:r}=Yr(e),o=e.orientation==="landscape";return{width:n,height:r,headerBand:o?t.landscapeHeader:t.header,footerBand:o?t.landscapeFooter:t.footer}};function Zr(e,t){const n=Array.from(e.querySelectorAll("table")),r=Array.from(t.querySelectorAll("table"));n.forEach((o,i)=>{const a=r[i];if(!a)return;const l=Array.from(o.querySelectorAll("tr")).map(c=>Array.from(c.children).map(u=>({colSpan:u.colSpan||1,widthPx:u.offsetWidth}))),s=As(l);s&&a.setAttribute("data-col-twips",s.join(","))})}function Qr(e,t){const n=Array.from(e.querySelectorAll("tr")),r=Array.from(t.querySelectorAll("tr"));n.forEach((o,i)=>{const a=r[i];if(!a)return;const l=o.offsetHeight;l>0&&a.setAttribute("data-row-twips",String(Math.round(l*15)))})}const eo="markdown-export-preview-container",Os=[{kind:"header",selector:".docx-export-header"},{kind:"footer",selector:".docx-export-footer"}],to=e=>e.id==="cover-page"||e.id.startsWith("toc-page"),no=(e,t)=>!!e&&e.items.some(n=>n.lines.some(r=>r.runs.some(t))),ro=(e,t)=>no(e,n=>n.kind===t),oo=(e,t)=>e.items.length===0?!1:t>=1?!0:!no(e,n=>n.kind==="page-number"&&n.hiddenAtPageZero!==!0),io="canvas-blocking",ks=()=>{const e=new Map,t=n=>{const r=e.get(n);if(r!==void 0)return r;let o=2166136261;for(let a=0;a<n.length;a++)o^=n[a],o=Math.imul(o,16777619);const i=`${n.length}.${(o>>>0).toString(36)}`;return e.set(n,i),i};return({bandKind:n,imageBuffer:r,bandHeightPx:o,extraction:i,pageSize:a})=>{const l=`${n}|${a.width}x${a.height}|${String(a.orientation)}|${o}`;if(!r||r.length===0)return`${l}|empty`;const s=t(r);return i?`${l}|lifted|${s}|${JSON.stringify(i.items)}`:`${l}|raster|${s}`}};let ao;const vt=()=>ao??(ao=import("./index.client-BZTm8pIw.js")),Ls=(e,t,n)=>{vt().then(({addBreadcrumb:r})=>r({category:"docx-export",level:"warning",message:"docx editable chrome fallback",data:{band:e,page:t,...n?{error:n}:{}}})).catch(()=>{})},Rs=(e,t)=>{vt().then(({addBreadcrumb:n})=>n({category:"docx-export",level:"warning",message:"docx editable canvas text fallback",data:{page:e,...t?{error:t}:{}}})).catch(()=>{})},lo=e=>{var t;if(!(e instanceof Error))return String(e);const n=(((t=e.stack)==null?void 0:t.split(`
11
- `)[1])??"").trim();return n?`${e.message} @ ${n}`:e.message},so=(e,t)=>{vt().then(({addBreadcrumb:n})=>n({category:"docx-export",level:"warning",message:"docx text lift bounds unreadable",data:{surface:e,page:t}})).catch(()=>{})},co=(e,t,n)=>{vt().then(({captureMessage:r})=>r(`docx text lift threw on ${e} (page ${t}): ${n}`,"warning")).catch(()=>{})},Hs=async e=>{var t,n,r;const{pages:o,documentFont:i,componentColors:a,documentName:l="Document",returnBlobOnly:s=!1,documentMargins:c,headerBandHeight:u=Se.HEADER_FOOTER.height,footerBandHeight:d=Se.HEADER_FOOTER.height,landscapeHeaderBandHeight:f=u,landscapeFooterBandHeight:g=d,cssContainerClass:x}=e,P=x===eo?"export-preview":"document-builder";if(!o||o.length===0)throw new Error("No pages to export");try{const p={header:u,footer:d,landscapeHeader:f,landscapeFooter:g},b=o.filter(v=>v&&to(v)).length,h=o.length-b,m=v=>{const F=o[v];return!F||to(F)?0:v+1-b},C=h===o.length?{totalPagesAsField:!0}:{totalPagesAsField:!1,resolvedTotalPages:String(h)},M=((t=e.variableValues)==null?void 0:t.date)??Xo(),E=(()=>{var v,F;const $=new Map,k={header:(v=e.headerKonvaData)==null?void 0:v.konvaJson,footer:(F=e.footerKonvaData)==null?void 0:F.konvaJson};for(let U=0;U<o.length;U++){const ue=o[U];if(!ue||it(ue)||ue.skipHeaderFooter)continue;const re=document.getElementById(`page-${U+1}`);if(!re)continue;const Y=m(U),ge=Vo(e.variableValues,Y,h);delete ge.page_number,delete ge.total_pages;const Ae={variableValues:ge,currentDateText:M,pageNumber:Y,totalPages:h};for(const ee of Os){const te=re.querySelector(ee.selector);if(!te)continue;let Z;const le=$l(te,{...Ae,sourceCanvasJson:k[ee.kind]},{onError:K=>{Z=K},onUnreadableBounds:()=>so(ee.kind,U+1)});if(!le){const K=Z===void 0?void 0:lo(Z);Ls(ee.kind,U+1,K),K!==void 0&&co(ee.kind,U+1,K);continue}oo(le,Y)&&$.set(Xe(U,ee.kind),le)}}return $})(),T=(()=>{const v=new Map,F={...e.variableValues??{}};for(let $=0;$<o.length;$++){const k=o[$];if(!k||!it(k)||k.pdfPageImport)continue;const U=document.getElementById(`page-${$+1}`);if(!U)continue;let ue;const re=Il(U,{variableValues:F,currentDateText:M},{onError:Y=>{ue=Y},onUnreadableBounds:()=>so("page",$+1)});if(!re){const Y=ue===void 0?void 0:lo(ue);Rs($+1,Y),Y!==void 0&&co("page",$+1,Y);continue}oo(re,m($))&&v.set($,re)}return v})(),A=await Ts({pages:o,geometry:o.map(v=>Jr(v??{},p)),documentFont:i,componentColors:a,documentMargins:c,bandExtractions:E,pageExtractions:T}),w=[],N=v=>{const F=A.jobFailures.get(v);return F?`reconciliation/clone threw: ${F}`:A.failureReason?`batch failed: ${A.failureReason}`:A.images.has(v)?"server could not render":"no capture job was produced"},j=(v,F,$)=>{const k=A.images.get(v);return k&&k.length>0?k:(w.push(`page ${F+1} ${$} (${N(v)})`),null)},V=[];let se=!1,ne=0;const ae=ks(),ce={header:null,footer:null},Ee=x===eo;let I=null;const Te=async()=>{const v=I;I=null,await(v==null?void 0:v.close())};for(let v=0;v<o.length;v++){const F=o[v];if(!F)continue;const $=v+1,k=document.getElementById(`page-${$}`);if(!k){console.warn(`DOCX export: page-${$} not found in DOM`),w.push(`page ${$} (page element not found in the DOM)`);continue}const U=it(F),ue=F.orientation==="landscape",{width:re,height:Y,headerBand:ge,footerBand:Ae}=Jr(F,p),ee=[];let te=null,Z=null,le="",K=null,de=!1,fe=null;if(U){if(k){const z=j(yt(v),v,"page");if(z&&z.length>0){const S=F.canvasWidth||Fs,W=F.canvasHeight||Ms,O=re,J=Y,be=S/W,_=O/J;let G,B;be>_?(G=O,B=O/be):(B=J,G=J*be),F.destAnchor&&(B=Math.min(B,J-Is),ee.push(new R({heading:De.HEADING_1,children:[new sn({id:F.destAnchor,children:[new H({text:F.destTitle||"",size:2,color:"FFFFFF"})]})],spacing:{before:0,after:0,line:1,lineRule:q.EXACT}})));const he=wt(z),ye=T.get(v);ye?(ee.push(...is(ye,{data:z,type:he},{canvasWidthPx:S,canvasHeightPx:W,displayWidthPx:G,displayHeightPx:B,offsetXPx:(O-G)/2},i??"",ne)),ne+=ye.items.length):ee.push(new R({children:[new $e({type:he,data:z,transformation:{width:G,height:B}})],spacing:{before:0,after:0,line:240,lineRule:q.AUTO},alignment:X.CENTER}))}}}else{const z=k.querySelector(".preview-page-content");if(z){const S=z.cloneNode(!0);Zr(z,S),Qr(z,S),S.querySelectorAll("[data-fabric-canvas-placeholder]").forEach(O=>O.remove()),Xr(S);const W=Array.from(S.querySelectorAll("canvas:not(.upper-canvas)"));for(const O of W){const J=Array.from(z.querySelectorAll("canvas:not(.upper-canvas)")),be=Array.from(S.querySelectorAll("canvas:not(.upper-canvas)")).indexOf(O),_=J[be];if(_&&_.width>0&&_.height>0)try{const G=bn(_,4,.95);if(G){const B=document.createElement("img");B.src=G,B.style.width=_.style.width||`${_.width}px`,B.style.height=_.style.height||`${_.height}px`,B.style.display="block",(n=O.parentElement)==null||n.replaceChild(B,O)}}catch(G){if(Nt(G))throw G}}le=S.innerHTML,K=S,de=_r(z)}else{const S=k.cloneNode(!0);Zr(k,S),Qr(k,S);const W=S.querySelector(".page-header"),O=S.querySelector(".page-footer");W&&W.remove(),O&&O.remove(),S.querySelectorAll("[data-fabric-canvas-placeholder]").forEach(_=>_.remove()),Xr(S);const J=Array.from(S.querySelectorAll("canvas:not(.upper-canvas)")),be=Array.from(k.querySelectorAll("canvas:not(.upper-canvas)"));for(let _=0;_<J.length;_++){const G=J[_],B=be[_];if(G&&B&&B.width>0&&B.height>0)try{const he=bn(B,4,.95);if(he){const ye=document.createElement("img");ye.src=he,ye.style.width=B.style.width||`${B.width}px`,ye.style.height=B.style.height||`${B.height}px`,ye.style.display="block",(r=G.parentElement)==null||r.replaceChild(ye,G)}}catch(he){if(Nt(he))throw he}}le=S.innerHTML,K=S,de=_r(k)}if(!F.skipHeaderFooter){const S=k.querySelector(".docx-export-header"),W=k.querySelector(".docx-export-footer");S&&(te=j(Xe(v,"header"),v,"header")),W&&(Z=j(Xe(v,"footer"),v,"footer"))}if(le){const S=at((c==null?void 0:c.left)??ze.left),W=at((c==null?void 0:c.right)??ze.right),O={componentColors:a,documentFont:i,leftMarginPx:S,rightMarginPx:W,isLandscape:ue,contentWidthPx:re-S-W,contentHeightPx:Y-(te&&te.length>0?ge:0)-(Z&&Z.length>0?Ae:0)-at((c==null?void 0:c.top)??ze.top)-at((c==null?void 0:c.bottom)??ze.bottom),previewContext:P,tocPagerefFields:!0};fe=J=>Qn(J,O,U)}}const me=!!te&&te.length>0,ke=!!Z&&Z.length>0,Ye=me?wt(te):"png",rt=ke?wt(Z):"png",Pt=me?ge/96:0,Ke=ke?Ae/96:0,Le=E.get(Xe(v,"header")),D=E.get(Xe(v,"footer")),xe=m(v)<1,ot=Le!==void 0||D!==void 0,uo=ro(Le,"page-number")||ro(D,"page-number");let Je=null;xe?ot&&(Je=0):!se&&uo&&(Je=m(v),se=!0);const fo=(z,S,W,O,J)=>!S||S.length===0?[new R({text:"",spacing:{before:0,after:0,line:240,lineRule:q.AUTO}})]:J?Ql(J,{data:S,type:W},{bandKind:z,pageWidthPx:re,pageHeightPx:Y,bandHeightPx:O},i??"",C):[new R({children:[new $e({type:W,data:S,transformation:{width:re,height:O}})],spacing:{before:0,after:0,line:240,lineRule:q.AUTO}})],en=U?{top:0,right:0,bottom:0,left:0,header:0,footer:0}:{top:pe(Pt+((c==null?void 0:c.top)??ze.top)),right:pe(0),bottom:pe(Math.max(Ke,Ke+((c==null?void 0:c.bottom)??ze.bottom)-$s)),left:pe(0),header:0,footer:0},Fe=Kr(F),tn=JSON.stringify({margins:en,pageSize:Fe}),ho=ae({bandKind:"header",imageBuffer:te,bandHeightPx:ge,extraction:Le,pageSize:Fe}),go=ae({bandKind:"footer",imageBuffer:Z,bandHeightPx:Ae,extraction:D,pageSize:Fe});if(I&&K&&F.continuesFlow===!0&&!I.endsWithPageBreak&&I.layoutKey===tn&&Je===null&&ho===ce.header&&go===ce.footer){gs(I.root,K),I.endsWithPageBreak=de;continue}await Te();const nn=Ee&&K!==null&&fe!==null;fe&&!nn&&ee.push(...await fe(le));const Re={properties:{page:{margin:en,size:{width:Fe.width,height:Fe.height,orientation:Fe.orientation},...Je!==null?{pageNumbers:{start:Je}}:{}}},children:ee.length>0?ee:[new R({text:"",spacing:{before:0,after:0,line:240,lineRule:q.AUTO}})]};if(U){const z=()=>new R({text:"",spacing:{before:0,after:0,line:1,lineRule:q.EXACT}});Re.headers={default:new gn({children:[z()]})},Re.footers={default:new pn({children:[z()]})},ce.header=io,ce.footer=io}else{const z=(O,J,be,_,G,B)=>{const he=ae({bandKind:O,imageBuffer:J,bandHeightPx:_,extraction:G,pageSize:Fe});if(he!==ce[O])return ce[O]=he,B(fo(O,J,be,_,G))},S=z("header",te,Ye,ge,Le,O=>({default:new gn({children:O})}));S&&(Re.headers=S);const W=z("footer",Z,rt,Ae,D,O=>({default:new pn({children:O})}));W&&(Re.footers=W)}if(V.push(Re),nn&&K&&fe){const z=K,S=fe;I={root:z,layoutKey:tn,endsWithPageBreak:de,close:async()=>{const W=await S(z.innerHTML);W.length>0&&(Re.children=W)}}}}if(await Te(),w.length>0){const v=w.slice(0,Vr).join("; "),F=w.length-Vr,$=F>0?` (and ${F} more)`:"",k=`DOCX export failed: the server did not return ${w.length} page image(s) \u2014 ${v}${$}`;throw fn({error:new Error(k),extra:{context:"exportPreviewToDocx.serverCaptureFailed",missCount:w.length,misses:w,batchFailureReason:A.failureReason??null}}),new Qt(k)}const Ve=new Yo({numbering:{config:[{reference:"default-numbering",format:Ft.DECIMAL},{reference:"lower-letter-numbering",format:Ft.LOWER_LETTER},{reference:"lower-roman-numbering",format:Ft.LOWER_ROMAN}].map(({reference:v,format:F})=>({reference:v,levels:[{level:0,format:F,text:"%1.",alignment:X.START,style:{paragraph:{indent:{left:pe(.5),hanging:pe(.25)}}}}]}))},sections:V}),Oe=await Ko.toBlob(Ve);if(s)return Oe;Jo.saveAs(Oe,`${l}.docx`)}catch(p){throw hn(p)||(console.error("Export to DOCX failed:",p),p instanceof Qt||Nt(p))?p:new Error("Failed to export document to DOCX")}};export{Qt as DocxServerCaptureError,Kr as docxPageSize,Hs as exportPreviewToDocx,Yr as pageFrameSize,wt as sniffDocxBandType};
@@ -1 +0,0 @@
1
- import{by as o}from"./runtime-CmCxTPcG.js";import{bz as r,bA as a,bB as s}from"./runtime-CmCxTPcG.js";export{r as AcordFormConversationView,a as AcordFormDownloadButton,s as AcordFormExportButton,o as AcordFormPdfViewer};