@outmarket-ai/react-sdk 0.1.0-alpha.9 → 0.2.0-beta.0

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 (388) hide show
  1. package/README.md +61 -1
  2. package/dist/index.d.ts +8 -2
  3. package/dist/index.js +1 -1
  4. package/dist/pdf.worker.min.mjs +2 -21
  5. package/dist/styles.css +1 -11
  6. package/package.json +11 -5
  7. package/dist/AddNoteDialog-DhseSUVW.js +0 -1
  8. package/dist/AlertDialog-Dx1Z4OrM.js +0 -1
  9. package/dist/ApproveWorkflowsList-Cx2xNqu9.js +0 -5
  10. package/dist/BORLetterEditor-CpXL7MT-.js +0 -119
  11. package/dist/BillDetailModal-Cj9d5gIA.js +0 -1
  12. package/dist/CoiIssueHolderModal-CE854JKK.js +0 -1
  13. package/dist/DeletePromptDialog-C3Shx90V.js +0 -1
  14. package/dist/EmailFormatSelectionDialog-Bo3-G8L0.js +0 -1
  15. package/dist/ExcelExportPreviewDialog-NvbX8KK1.js +0 -1
  16. package/dist/ExplainPanel-BQwsIk-9.js +0 -1
  17. package/dist/ExportDialog-CGnw6GPb.js +0 -30
  18. package/dist/ExportToAmsDialog-CuW-XMnY.js +0 -1
  19. package/dist/ExportToDriveDialog-oEm9wL-h.js +0 -1
  20. package/dist/FeedbackTool-la43Nk0I.js +0 -30
  21. package/dist/LayerDetailModal-B-gtAIMb.js +0 -1
  22. package/dist/LogoEditor-CiD5nrq_.js +0 -1
  23. package/dist/MarkdownExportPreviewDialog-CVlZsnV-.js +0 -5
  24. package/dist/NotificationDrawer-DkiU4k1-.js +0 -7
  25. package/dist/PhoneNumbersDisplay-BcKFVIhh.js +0 -1
  26. package/dist/PlanSelector-CbuGEmUO.js +0 -26
  27. package/dist/PlanSettingsModal-CYLAXbUO.js +0 -1
  28. package/dist/PlanWizardModal-D9GRljeC.js +0 -1
  29. package/dist/RenameAssetDialog-Rx-mnefu.js +0 -1
  30. package/dist/SaveBlockDialog-T9mHc5hu.js +0 -1
  31. package/dist/SaveOutlineDialog-Ce0eEWTR.js +0 -1
  32. package/dist/SavePromptDialog-D3lm7H51.js +0 -1
  33. package/dist/ShareResourceDialog-ACYRf6LZ.js +0 -1
  34. package/dist/TermsNoticeModal-AgvfPy5K.js +0 -1
  35. package/dist/TowerAlertModal-sRGrwqdf.js +0 -1
  36. package/dist/TowerSummaryModal-4Dk1iV4z.js +0 -1
  37. package/dist/VaultSettingsDialog-DddN5Jq6.js +0 -1
  38. package/dist/ViewNoteDialog-D0V651HA.js +0 -1
  39. package/dist/WhatsNewProvider-CcmOzaKL.js +0 -36
  40. package/dist/WidgetRawDataView-DUzIDMuO.js +0 -1
  41. package/dist/abap-V7zjtt5B.js +0 -1
  42. package/dist/abnf-Cs8-oUtO.js +0 -1
  43. package/dist/actionscript-T2YELVMS.js +0 -1
  44. package/dist/activityLog-Dh4AWnxR.js +0 -1
  45. package/dist/ada-DnnX8eVy.js +0 -1
  46. package/dist/agda-B11duiie.js +0 -1
  47. package/dist/al-CQYsuVVM.js +0 -1
  48. package/dist/antlr4-4B1Sc4kw.js +0 -1
  49. package/dist/apacheconf-CEWWS0Xl.js +0 -1
  50. package/dist/apex-Bw9Gtufo.js +0 -1
  51. package/dist/apl-GPUaXahd.js +0 -1
  52. package/dist/applescript-ClGuMaSV.js +0 -1
  53. package/dist/aql-B0NbAClI.js +0 -1
  54. package/dist/arduino-ClbHu-uo.js +0 -1
  55. package/dist/arff-DuOU54aX.js +0 -1
  56. package/dist/asciidoc-BhtWnAkY.js +0 -1
  57. package/dist/asm6502-DQTasU9k.js +0 -1
  58. package/dist/asmatmel-DTAwUCm0.js +0 -1
  59. package/dist/aspnet-By_Uv-R2.js +0 -1
  60. package/dist/autohotkey--_I21FCo.js +0 -1
  61. package/dist/autoit-CvH4ufrU.js +0 -1
  62. package/dist/avisynth-DFZaFA4R.js +0 -1
  63. package/dist/avro-idl-BSSj5FmU.js +0 -1
  64. package/dist/bash-Dq5JElW2.js +0 -1
  65. package/dist/bash-Jzmc6JlP.js +0 -1
  66. package/dist/basic-CC56mfFq.js +0 -1
  67. package/dist/basic-CJsDLcso.js +0 -1
  68. package/dist/batch-BYpJ9kPS.js +0 -1
  69. package/dist/bbcode-UXb4O2FT.js +0 -1
  70. package/dist/bell-B4nDPvYM.js +0 -7
  71. package/dist/bicep-ha95m6NM.js +0 -1
  72. package/dist/birb-BM8QRfSV.js +0 -1
  73. package/dist/bison-BaRrGKdN.js +0 -1
  74. package/dist/blockEditorContent-BL5d7zzw.js +0 -166
  75. package/dist/bnf-bWLwOaU4.js +0 -1
  76. package/dist/brainfuck-COJQXt-t.js +0 -1
  77. package/dist/brightscript-BsJBKxjD.js +0 -1
  78. package/dist/bro-Bp53uiUK.js +0 -1
  79. package/dist/bsl-tLrmQ80l.js +0 -1
  80. package/dist/c-C4WJRAOR.js +0 -1
  81. package/dist/c-DA5TVlGb.js +0 -1
  82. package/dist/calendar-CCDvKYJL.js +0 -7
  83. package/dist/cfscript-iUOvrdw6.js +0 -1
  84. package/dist/chaiscript-Bdsn6xqe.js +0 -1
  85. package/dist/cil-Bg4_FSZp.js +0 -1
  86. package/dist/clike-CStN-Ul5.js +0 -1
  87. package/dist/clike-fTAcdHbS.js +0 -1
  88. package/dist/clojure-CP23saqo.js +0 -1
  89. package/dist/cmake-CUC1Yn75.js +0 -1
  90. package/dist/cobol-DRCg5sRL.js +0 -1
  91. package/dist/coffeescript-c3ArqojV.js +0 -1
  92. package/dist/concurnas-BkGymU0R.js +0 -1
  93. package/dist/confetti.module-gccwWOTG.js +0 -2
  94. package/dist/contactsList-CSPk7SYS.js +0 -18
  95. package/dist/copyPreviewToClipboard-CrY57HL-.js +0 -170
  96. package/dist/coq-DfqiQwQs.js +0 -1
  97. package/dist/core-DnSu5wN6.js +0 -9
  98. package/dist/cpp-C2xoosyb.js +0 -1
  99. package/dist/cpp-DBmYs6pK.js +0 -1
  100. package/dist/crystal-_Ltdvkfv.js +0 -1
  101. package/dist/csharp-CzFXtKq-.js +0 -1
  102. package/dist/csharp-DhrYzyQg.js +0 -1
  103. package/dist/cshtml-CPggulxs.js +0 -1
  104. package/dist/csp-C5jhDYKS.js +0 -1
  105. package/dist/css-CHGm_5Ug.js +0 -1
  106. package/dist/css-Dr8mrUZQ.js +0 -1
  107. package/dist/css-extras-CR_At87f.js +0 -1
  108. package/dist/csv-BjMjkdsd.js +0 -1
  109. package/dist/cypher-Cz3MYOsR.js +0 -1
  110. package/dist/d-U3DXoBKs.js +0 -1
  111. package/dist/dart-nkmISAms.js +0 -1
  112. package/dist/dataweave-Bqffbm3l.js +0 -1
  113. package/dist/dax-BUmQo96b.js +0 -1
  114. package/dist/dhall-tqKETJ5N.js +0 -1
  115. package/dist/diff-BN3mhZNK.js +0 -3
  116. package/dist/django-XpzvhI3_.js +0 -1
  117. package/dist/dns-zone-file-BvWpwvpy.js +0 -1
  118. package/dist/docker-8-TsERHq.js +0 -1
  119. package/dist/dot-Bedmh4He.js +0 -1
  120. package/dist/ebnf-CQ1Owm1r.js +0 -1
  121. package/dist/editCarrierDialog-qiULFMcT.js +0 -1
  122. package/dist/editorconfig-D11MkCqN.js +0 -1
  123. package/dist/eiffel-5RW8i1s_.js +0 -1
  124. package/dist/ejs-CnXtml3v.js +0 -1
  125. package/dist/elixir-C65-GKuK.js +0 -1
  126. package/dist/elm-DzDSmMCu.js +0 -1
  127. package/dist/erb-v570YtNg.js +0 -1
  128. package/dist/erlang-COVM6kne.js +0 -1
  129. package/dist/etlua-CYTkdOD8.js +0 -1
  130. package/dist/excel-formula-CVF6JFUc.js +0 -1
  131. package/dist/exportFileGeneration-BryemPIm.js +0 -1
  132. package/dist/exportImageReadiness-BIPaS2Oz.js +0 -1
  133. package/dist/exportImageReadinessNotifier-CDPE8TMc.js +0 -1
  134. package/dist/exportPageHtml-BnFgCZsS.js +0 -5
  135. package/dist/exportPreviewToDocx-CNUCdnzi.js +0 -11
  136. package/dist/exportPreviewToPdf-CVhRJw77.js +0 -1
  137. package/dist/factor-BYWyb9mM.js +0 -1
  138. package/dist/false-PO5fTmEz.js +0 -1
  139. package/dist/firestore-security-rules-Dhmp_MBi.js +0 -1
  140. package/dist/flask-conical-DfeNzqKY.js +0 -7
  141. package/dist/flow-Jw0KAy-j.js +0 -1
  142. package/dist/fortran-DOu6I6CX.js +0 -1
  143. package/dist/fsharp-Bg82wKKC.js +0 -1
  144. package/dist/ftl-B4QashNa.js +0 -1
  145. package/dist/gap-B-C4phMB.js +0 -1
  146. package/dist/gcode-C7cgkMxN.js +0 -1
  147. package/dist/gdscript-BZGfyeaC.js +0 -1
  148. package/dist/gedcom-hWBLXHFN.js +0 -1
  149. package/dist/gherkin-C0cPQhL5.js +0 -1
  150. package/dist/git-CvbRDRuD.js +0 -1
  151. package/dist/glsl-Dio579_l.js +0 -1
  152. package/dist/gml-DMy1gp8J.js +0 -1
  153. package/dist/gn-CXmdkSGX.js +0 -1
  154. package/dist/go-BK7Ey8q8.js +0 -1
  155. package/dist/go-module-DGHMlQxT.js +0 -1
  156. package/dist/graphql-C3tOz3S9.js +0 -1
  157. package/dist/groovy-BWSmsMKq.js +0 -1
  158. package/dist/haml-D761Lwkw.js +0 -1
  159. package/dist/handlebars-CFzuNVeU.js +0 -1
  160. package/dist/haskell-D2HwqYTs.js +0 -1
  161. package/dist/haskell-fKcSYgFk.js +0 -1
  162. package/dist/haxe-BsTBOPWq.js +0 -1
  163. package/dist/hcl-CjEa7mhm.js +0 -1
  164. package/dist/highlighter-Bi2kuv8f.js +0 -7
  165. package/dist/hlsl-B3Bf2Jd1.js +0 -1
  166. package/dist/hoon-DdoFvX8i.js +0 -1
  167. package/dist/hpkp-BPcGR8EQ.js +0 -1
  168. package/dist/hsts-oLeDVYg4.js +0 -1
  169. package/dist/http-C65ao8FS.js +0 -1
  170. package/dist/ichigojam-NdH0fggR.js +0 -1
  171. package/dist/icon-CjpIDepR.js +0 -1
  172. package/dist/icu-message-format-A3pDj87f.js +0 -1
  173. package/dist/idris-CRHPBU_F.js +0 -1
  174. package/dist/iecst-DitcXByQ.js +0 -1
  175. package/dist/ignore-CmXNr-En.js +0 -1
  176. package/dist/image-plus-B3MMgEPL.js +0 -7
  177. package/dist/index-BYll8ylX.js +0 -2
  178. package/dist/index-BtR975tI.js +0 -1
  179. package/dist/index-CVaFIPrZ.js +0 -13
  180. package/dist/index-CkWdb2Ws.js +0 -1
  181. package/dist/index-Ct2s_UPb.js +0 -1
  182. package/dist/index-OBC-S4JF.js +0 -3
  183. package/dist/index-pjV8dzev.js +0 -1
  184. package/dist/index-s1LikHjO.js +0 -1
  185. package/dist/index.client-D86od2fV.js +0 -501
  186. package/dist/inform7-sEqx2-7g.js +0 -1
  187. package/dist/ini-DfvMWacy.js +0 -1
  188. package/dist/io-CfaIzWvO.js +0 -1
  189. package/dist/j-D_qDpCvj.js +0 -1
  190. package/dist/java-CZIvhO6U.js +0 -1
  191. package/dist/java-D5YF95hZ.js +0 -1
  192. package/dist/javadoc-4Rdti3Lf.js +0 -1
  193. package/dist/javadoclike-gz6ZNgII.js +0 -1
  194. package/dist/javadoclike-odLU89VS.js +0 -1
  195. package/dist/javascript-BHdRPnNL.js +0 -1
  196. package/dist/javascript-CEunhhi4.js +0 -1
  197. package/dist/javastacktrace-DTySuujE.js +0 -1
  198. package/dist/jexl-B-55AiTX.js +0 -1
  199. package/dist/jolie-Cerm6rPa.js +0 -1
  200. package/dist/jq-CxYM2bpe.js +0 -1
  201. package/dist/js-extras-B96Xzdzr.js +0 -1
  202. package/dist/js-templates-BJfSNsZD.js +0 -1
  203. package/dist/jsdoc-oC7vbq5i.js +0 -1
  204. package/dist/json-D4kK7Ph_.js +0 -1
  205. package/dist/json-DROiTAr2.js +0 -1
  206. package/dist/json5-DxXL3eT7.js +0 -1
  207. package/dist/jsonp-ar2fV8fZ.js +0 -1
  208. package/dist/jsstacktrace-BINMgU-E.js +0 -1
  209. package/dist/jsx-CqAdGZ8z.js +0 -1
  210. package/dist/jsx-DjXnni8N.js +0 -1
  211. package/dist/julia-DqnOG3a3.js +0 -1
  212. package/dist/keepalived-ByxR9AfG.js +0 -1
  213. package/dist/keyman-B0WzsmDf.js +0 -1
  214. package/dist/kotlin-cdNFHPRk.js +0 -1
  215. package/dist/kumir-dCYrmqEc.js +0 -1
  216. package/dist/kusto-BiAufrSD.js +0 -1
  217. package/dist/latex-Clo76c6g.js +0 -1
  218. package/dist/latte-BClgsIsm.js +0 -1
  219. package/dist/less-D0ZziKfg.js +0 -1
  220. package/dist/lilypond-D-j7r1t-.js +0 -1
  221. package/dist/link-2-off-B6MiQbkR.js +0 -7
  222. package/dist/liquid-B6DAEC2l.js +0 -1
  223. package/dist/lisp-CEcGfDXG.js +0 -1
  224. package/dist/livescript-Tz5wJNbl.js +0 -1
  225. package/dist/llvm-Dv3C4y-V.js +0 -1
  226. package/dist/lock-keyhole-p1wVc-9Y.js +0 -7
  227. package/dist/log-NVPAjhVz.js +0 -1
  228. package/dist/lolcode-De45ux4z.js +0 -1
  229. package/dist/lua-BeIBSVZf.js +0 -1
  230. package/dist/lua-CSN67GiU.js +0 -1
  231. package/dist/lucide-react-Dwxi-V4B.js +0 -7
  232. package/dist/luckyexcel.umd-JVs96sZB.js +0 -12
  233. package/dist/magma-CaUgW-If.js +0 -1
  234. package/dist/makefile-C_Q-8hQ9.js +0 -1
  235. package/dist/markdown-BSGp8L4I.js +0 -1
  236. package/dist/markup-C46YaeBf.js +0 -1
  237. package/dist/markup-D_Wa_fyo.js +0 -1
  238. package/dist/markup-templating-D-FRJF7C.js +0 -1
  239. package/dist/markup-templating-RD0xxf_6.js +0 -1
  240. package/dist/matlab-BaDneZBA.js +0 -1
  241. package/dist/maxscript-fnWefuCx.js +0 -1
  242. package/dist/mel-BfRfAwlY.js +0 -1
  243. package/dist/mermaid-BQn_FD9x.js +0 -1
  244. package/dist/mizar-DEGTGWko.js +0 -1
  245. package/dist/mongodb-BfLZtkrZ.js +0 -1
  246. package/dist/monkey-B64xijTv.js +0 -1
  247. package/dist/moonscript-DB17HjmC.js +0 -1
  248. package/dist/n1ql-hqkhi-L2.js +0 -1
  249. package/dist/n4js-BYUcZZDj.js +0 -1
  250. package/dist/nand2tetris-hdl-Deux5UAx.js +0 -1
  251. package/dist/naniscript-jeJO_Cwe.js +0 -1
  252. package/dist/nasm-DO__GDMC.js +0 -1
  253. package/dist/neon-k-XmqJK1.js +0 -1
  254. package/dist/nevod-CVbTPaTU.js +0 -1
  255. package/dist/nginx-Tr7fUd5Q.js +0 -1
  256. package/dist/nim-DoVTJHY6.js +0 -1
  257. package/dist/nix-D3dcpYSM.js +0 -1
  258. package/dist/nsis-Dg9SRrGb.js +0 -1
  259. package/dist/objectivec-DR-DvLAX.js +0 -1
  260. package/dist/ocaml-F3JoCAcv.js +0 -1
  261. package/dist/opencl-7oQl32PR.js +0 -1
  262. package/dist/openqasm-CKAaKI3L.js +0 -1
  263. package/dist/oz-BRgcnbzh.js +0 -1
  264. package/dist/paintbrush-CTOxtIk9.js +0 -7
  265. package/dist/parigp-bc7o-JYX.js +0 -1
  266. package/dist/parser-Dh9T84aa.js +0 -1
  267. package/dist/pascal-Mc9TrqVN.js +0 -1
  268. package/dist/pascaligo-Bu5Nfubu.js +0 -1
  269. package/dist/pcaxis-CeA8o0Aa.js +0 -1
  270. package/dist/pen-tool-BG-0jVP8.js +0 -7
  271. package/dist/peoplecode-DMMP6xme.js +0 -1
  272. package/dist/perl-pjwABpJK.js +0 -1
  273. package/dist/php-B9N6PoaM.js +0 -1
  274. package/dist/php-D0A5Cwxv.js +0 -1
  275. package/dist/php-extras-WT2OUkhI.js +0 -1
  276. package/dist/phpdoc-BXRRdQyT.js +0 -1
  277. package/dist/plsql-BhY3w0-9.js +0 -1
  278. package/dist/plyr-DCr4Ncz4.js +0 -2
  279. package/dist/powerquery-DF59uGya.js +0 -1
  280. package/dist/powershell-BNMQ_G2y.js +0 -1
  281. package/dist/processing-JexFWMaq.js +0 -1
  282. package/dist/prolog--bkGGaUb.js +0 -1
  283. package/dist/promql-BguTah4b.js +0 -1
  284. package/dist/properties-21I9dpC7.js +0 -1
  285. package/dist/protobuf-C0LuKyr-.js +0 -1
  286. package/dist/psl-_DpEFNrY.js +0 -1
  287. package/dist/pug-C-A1gqPF.js +0 -1
  288. package/dist/puppet-ChOfG5zw.js +0 -1
  289. package/dist/pure-Bix-aADQ.js +0 -1
  290. package/dist/purebasic-DOms9tc7.js +0 -1
  291. package/dist/purescript-L-AGCGHP.js +0 -1
  292. package/dist/python-ChreXwvT.js +0 -1
  293. package/dist/q-w16v1aiR.js +0 -1
  294. package/dist/qml-DiMezLXL.js +0 -1
  295. package/dist/qore-DR2g9gsH.js +0 -1
  296. package/dist/qsharp-C0P6--Sc.js +0 -1
  297. package/dist/quill-C2A8QePO.js +0 -49
  298. package/dist/r-HQDwuLXo.js +0 -1
  299. package/dist/racket-Gz0Tynq_.js +0 -1
  300. package/dist/react-sdk.css +0 -7
  301. package/dist/reason-DBZ2sbZf.js +0 -1
  302. package/dist/regex-lCxC2f-X.js +0 -1
  303. package/dist/rego-CK6sX92A.js +0 -1
  304. package/dist/renpy-DtMBoTkk.js +0 -1
  305. package/dist/rest-DT-jpd1T.js +0 -1
  306. package/dist/rip-BeCJeoFQ.js +0 -1
  307. package/dist/roboconf-DQznEGKV.js +0 -1
  308. package/dist/robotframework-DXfgQqPU.js +0 -1
  309. package/dist/ruby-3lCor9Ik.js +0 -1
  310. package/dist/ruby-DPvt_xbw.js +0 -1
  311. package/dist/runtime-Dn4RiA4k.js +0 -6691
  312. package/dist/rust-BMc_Yoiv.js +0 -1
  313. package/dist/sas-0PXWaOIL.js +0 -1
  314. package/dist/sass-eNYNq8W7.js +0 -1
  315. package/dist/scala-CyhPM_cs.js +0 -1
  316. package/dist/scheme-CdQ15Dry.js +0 -1
  317. package/dist/scheme-DkN0sF0_.js +0 -1
  318. package/dist/scss-Dy6G_PiM.js +0 -1
  319. package/dist/shell-session-1NCwql3m.js +0 -1
  320. package/dist/smali-j9qYXhoq.js +0 -1
  321. package/dist/smalltalk-D8MDc5CV.js +0 -1
  322. package/dist/smarty-Bc1ihKhR.js +0 -1
  323. package/dist/sml-C6hRyyWz.js +0 -1
  324. package/dist/solidity-BQQmiGFI.js +0 -1
  325. package/dist/solution-file-MWLYI-NZ.js +0 -1
  326. package/dist/soy-CXN6tOb4.js +0 -1
  327. package/dist/sparql-C-R8Gias.js +0 -1
  328. package/dist/splunk-spl-B_ygCXaC.js +0 -1
  329. package/dist/sqf-Zq41ozXt.js +0 -1
  330. package/dist/sql-BxmFV8oZ.js +0 -1
  331. package/dist/sql-aYT6xcy6.js +0 -1
  332. package/dist/squirrel-go-JCyyj.js +0 -1
  333. package/dist/stan-DgTU6nBX.js +0 -1
  334. package/dist/stylus-D8xMSxFz.js +0 -1
  335. package/dist/swift-DDKLVbtw.js +0 -1
  336. package/dist/systemd-CVI591rs.js +0 -2
  337. package/dist/t4-cs-D4CxVwOS.js +0 -1
  338. package/dist/t4-templating-BzJ2F4We.js +0 -1
  339. package/dist/t4-templating-DCXEabnB.js +0 -1
  340. package/dist/t4-vb-Bxs17kz4.js +0 -1
  341. package/dist/table-C4pYCXjv.js +0 -7
  342. package/dist/tableToMarkdown-CNmfuY27.js +0 -3
  343. package/dist/tap-qeDv6-X-.js +0 -1
  344. package/dist/tcl-B4LiNtEH.js +0 -1
  345. package/dist/templateSelectorDialog-DkOR3EVS.js +0 -2
  346. package/dist/textile-fSaG4-pZ.js +0 -1
  347. package/dist/toml-Dkmu12eX.js +0 -1
  348. package/dist/tremor-DdjJs31u.js +0 -1
  349. package/dist/tsx-Do1jr-aP.js +0 -1
  350. package/dist/tt2-BlqLFdd5.js +0 -1
  351. package/dist/turtle-BfhtjCXi.js +0 -1
  352. package/dist/turtle-UC3jR8N2.js +0 -1
  353. package/dist/twig-Dfr2sL0m.js +0 -1
  354. package/dist/typescript-fgz3QQiH.js +0 -1
  355. package/dist/typescript-y5LBWDhp.js +0 -1
  356. package/dist/typoscript-DqDEKl5c.js +0 -1
  357. package/dist/unrealscript-e9RCjvlz.js +0 -1
  358. package/dist/uorazor-CoHM_uv6.js +0 -1
  359. package/dist/uri-B4z44HxE.js +0 -1
  360. package/dist/usePromptLibraryMutations-DK7AzgzY.js +0 -1
  361. package/dist/useSupabaseBlobUrl-D9O3nyTh.js +0 -1
  362. package/dist/useTermsNotice-BJqwp7Hj.js +0 -1
  363. package/dist/user-plus-DXpUkE2I.js +0 -7
  364. package/dist/user-round-plus-DE6UUMZ6.js +0 -7
  365. package/dist/v-49Lixibt.js +0 -1
  366. package/dist/vala-BkpQ1izY.js +0 -1
  367. package/dist/vbnet-DUoEkDlO.js +0 -1
  368. package/dist/vbnet-LHlE90my.js +0 -1
  369. package/dist/velocity-c4kJdiwm.js +0 -1
  370. package/dist/verilog-CJyeWxAh.js +0 -1
  371. package/dist/vhdl-LArWr_il.js +0 -1
  372. package/dist/vim-Dv7JUrwn.js +0 -1
  373. package/dist/visual-basic-7MKQqLwe.js +0 -1
  374. package/dist/warpscript-_8Izrgfd.js +0 -1
  375. package/dist/wasm-znUgjSxD.js +0 -1
  376. package/dist/web-idl-jFkNLO1i.js +0 -1
  377. package/dist/wiki-CFXfbO63.js +0 -1
  378. package/dist/wolfram-Ch26p3vt.js +0 -1
  379. package/dist/wren-ChmtUIOJ.js +0 -1
  380. package/dist/xeora-C44TNzQZ.js +0 -1
  381. package/dist/xlsx-uaO0TYvF.js +0 -142
  382. package/dist/xml-doc-CbcCzx5D.js +0 -1
  383. package/dist/xojo-BgNHj7YG.js +0 -1
  384. package/dist/xquery-y_0Tk4Bz.js +0 -1
  385. package/dist/yaml-DbYRgcYc.js +0 -1
  386. package/dist/yaml-GRhlHhYd.js +0 -1
  387. package/dist/yang-BLo0KhOp.js +0 -1
  388. package/dist/zig-DLqaTzcX.js +0 -1
@@ -1,5 +0,0 @@
1
- import{assertCanvasImagesSettled as $}from"./exportImageReadiness-BIPaS2Oz.js";import{eM as B,dV as D,e1 as O,eN as w,eO as M,eP as U}from"./runtime-Dn4RiA4k.js";function k(t){return t&&t.length>0?new Set(t):null}async function _(t){return(await import("./runtime-Dn4RiA4k.js").then(e=>e.e)).default.stages.find(e=>{var n;const i=(n=e.container)==null?void 0:n.call(e);return i&&(t.contains(i)||i.contains(t))})??null}async function K(t,e=5e3){var n,i,o;const a=t.find("Image"),r=[],l=[];for(const s of a){const h=(n=s.image)==null?void 0:n.call(s);h&&(h.complete||(l.push(((i=s.id)==null?void 0:i.call(s))||((o=s.name)==null?void 0:o.call(s))||`image-${l.length+1}`),r.push(new Promise(p=>{const g=()=>{h.removeEventListener("load",g),h.removeEventListener("error",g),p()};h.addEventListener("load",g,{once:!0}),h.addEventListener("error",g,{once:!0})}))))}if(r.length===0)return;let c;const u=new Promise(s=>{c=setTimeout(()=>s(!0),e)}),f=Promise.all(r).then(()=>!1),d=await Promise.race([f,u]);if(c&&clearTimeout(c),d)throw new D(l.map(s=>({id:s})))}function C(t,e){typeof t.set=="function"?t.set("visible",e):t.visible=e}function I(t,e,n,i){for(const o of t){if(!o||typeof o!="object")continue;const a=o;if(typeof a.id=="string"&&e.has(a.id)){n.push({object:a,visible:a.visible}),i==null||i.add(a.id),C(a,!1);continue}const r=Array.isArray(a._objects)?a._objects:typeof a.getObjects=="function"?a.getObjects():[];r.length>0&&I(r,e,n,i)}}function Z(t){for(const e of t)C(e.object,e.visible)}function Q(t,e,n,i){const o=t.find(a=>{const r=typeof a.id=="function"?a.id():void 0;return typeof r=="string"&&r!==""&&e.has(r)});for(const a of o)n.push({node:a,visible:a.visible()}),i==null||i.add(a.id()),a.hide()}function V(t){for(const e of t)e.node.visible(e.visible)}function W(t,e,n,i){const o=k(i==null?void 0:i.hideObjectIds),a=t.__fabric;if(a&&typeof a.toCanvasElement=="function"){if(o&&typeof a.getObjects!="function")return null;const r=[];try{o&&typeof a.getObjects=="function"&&I(a.getObjects(),o,r,i==null?void 0:i.hiddenObjectIdSink);const l=a.toCanvasElement(e);if(l&&l.width>0&&l.height>0)return l}catch{}finally{Z(r)}}return null}const G=300;function J(t){var e;const n=Number.parseFloat(((e=t.style)==null?void 0:e.height)??"");return Number.isFinite(n)&&n>0?n:t.height}function X(t){const e=J(t);return e>0&&e<=G}function b(t,e=1,n=.98,i){var o;if(!t.width||!t.height)return null;$(t);const a=e>0?e:1,r=X(t),l=(((o=i==null?void 0:i.hideObjectIds)==null?void 0:o.length)??0)>0,c=a!==1||l?W(t,a,void 0,i):null;if(!c&&l)return null;const u=c||t,f=document.createElement("canvas");c?(f.width=c.width,f.height=c.height):(f.width=Math.round(t.width*a),f.height=Math.round(t.height*a));const d=f.getContext("2d");return d?(r||(d.fillStyle="#ffffff",d.fillRect(0,0,f.width,f.height)),d.imageSmoothingEnabled=!0,d.imageSmoothingQuality="high",d.drawImage(u,0,0,f.width,f.height),f.toDataURL(r?"image/png":"image/jpeg",n)||null):u.toDataURL(r?"image/png":"image/jpeg",n)||null}function A(t,e,n,i){return b(t,e,n,i)}function Y(t){return t.querySelector("canvas.lower-canvas")||t.querySelector("canvas")}function v(t){const e=t.split(",")[1]||"",n=atob(e),i=new Uint8Array(n.length);for(let o=0;o<n.length;o++)i[o]=n.charCodeAt(o);return i}async function P(t,e={}){const{pixelRatio:n=4,quality:i=.98,format:o="dataUrl",skipHiddenText:a=!1,hideObjectIds:r,hiddenObjectIdSink:l}=e,c=await _(t);if(!c){const h=Y(t);if(h){const p=A(h,n,i,{hideObjectIds:r,hiddenObjectIdSink:l});return p?o==="buffer"?v(p):p:null}return console.warn("[capturePreviewStage] No Konva stage or canvas found in element"),null}await B(),await K(c);const u=c.find("Text"),f=[],d=[];let s=null;try{const h=k(r);h&&Q(c,h,d,l),u.forEach((g,m)=>{f[m]=g.opacity(),!a&&g.opacity()===0&&g.opacity(g.getAttr("_dataOpacity")??1)}),u.forEach(g=>{if(g.opacity()>0){const m=g.fontSize();g.fontSize(m+.001),g.fontSize(m)}}),c.batchDraw();const p=c.toCanvas({pixelRatio:n});s=b(p,1,i)}finally{u.forEach((h,p)=>{f[p]!==void 0&&h.opacity(f[p])}),V(d),c.batchDraw()}return s?o==="buffer"?v(s):s:null}function x(t){const e=Number.parseFloat(t.dataset.expectedLeft??""),n=Number.parseFloat(t.dataset.expectedTop??"");Number.isFinite(e)&&(t.style.left=`${e}px`),Number.isFinite(n)&&(t.style.top=`${n}px`)}function tt(t){const e=t.querySelectorAll(".text-rich-display");if(e.length===0)return"";const n=[];return e.forEach(i=>{const o=i.cloneNode(!0);o.style.pointerEvents="auto",x(o),n.push(o.outerHTML)}),n.join("")}async function q(t,e={}){const{pixelRatio:n=4,quality:i=.98,format:o="dataUrl",skipHiddenText:a=!1,hideObjectIds:r,hiddenObjectIdSink:l}=e,c=t.parentElement;if(c){const f=await P(c,{pixelRatio:n,quality:i,format:o,skipHiddenText:a,hideObjectIds:r,hiddenObjectIdSink:l});if(f)return f}const u=A(t,n,i,{hideObjectIds:r,hiddenObjectIdSink:l});return u?o==="buffer"?v(u):u:null}const y=32,j=250,et=250,nt=5e3;function N(t){if(!(t.width>0)||!(t.height>0))return!1;const e=document.createElement("canvas");e.width=y,e.height=y;const n=e.getContext("2d",{willReadFrequently:!0});if(!n)return!1;try{n.drawImage(t,0,0,y,y);const{data:i}=n.getImageData(0,0,y,y);for(let o=0;o<i.length;o+=4)if(i[o+3]!==0&&(i[o]<j||i[o+1]<j||i[o+2]<j))return!1;return!0}catch{return!1}}const S=t=>Array.from(t.querySelectorAll("canvas:not(.upper-canvas)")),E=t=>S(t).some(e=>!N(e));async function R(t){const e=Date.now()+nt;for(;Date.now()<e;)if(await new Promise(n=>{setTimeout(n,et)}),E(t))return!0;return!1}function it(t){var e;const n=(e=t.getBoundingClientRect)==null?void 0:e.call(t);if(n&&n.width>0&&n.height>0)return{width:n.width,height:n.height};const i=typeof window<"u"&&window.devicePixelRatio>0?window.devicePixelRatio:1;return{width:t.width/i,height:t.height/i}}const T=[".page-actions-bar",".page-action-btn",".margin-indicators","[data-fabric-canvas-placeholder]"],ot="objId";async function at(t,e={}){if(t.querySelector(`[${O}="true"]`))throw new Error("buildFabricPageClone: page still has a canvas that has not rendered (lazy preview)");const n=await L(t,e);if(!e.expectNonBlankCanvas||n.sawNonBlankCanvas)return n.clone;if(await R(t)){const i=await L(t,e);if(i.sawNonBlankCanvas)return i.clone}throw new Error("buildFabricPageClone: page expected canvas content but every canvas baked blank")}async function L(t,e){var n;const{hideObjectIds:i,stripRichTextOverlays:o=!1,expectNonBlankCanvas:a=!1}=e,r=t.cloneNode(!0);T.forEach(d=>{r.querySelectorAll(d).forEach(s=>s.remove())});const l=new Set;if(o&&i&&i.length>0){const d=new Set(i);r.querySelectorAll(".text-rich-display").forEach(s=>{const h=s.dataset[ot];typeof h=="string"&&d.has(h)&&(l.add(h),s.remove())})}r.querySelectorAll(".text-rich-display").forEach(d=>x(d));const c=S(t),u=S(r);let f=!1;for(let d=0;d<u.length;d++){const s=c[d],h=u[d];if(!(!s||!h||s.width<=0||s.height<=0)){a&&!f&&!N(s)&&(f=!0),$(s);const p=await q(s,{pixelRatio:4,quality:.98,skipHiddenText:!0,hideObjectIds:i,hiddenObjectIdSink:l});if(!p||typeof p!="string")throw new Error(`buildFabricPageClone: canvas ${d+1} of ${u.length} produced no image`);const g=document.createElement("img");g.src=p;const{width:m,height:z}=it(s);g.style.width=s.style.width||`${m}px`,g.style.height=s.style.height||`${z}px`,g.style.display="block",g.style.margin="0",g.style.padding="0",g.style.border="0",g.style.imageRendering="-webkit-optimize-contrast",(n=h.parentElement)==null||n.replaceChild(g,h)}}if(r.querySelectorAll("canvas.upper-canvas").forEach(d=>d.remove()),o&&i&&i.length>0){const d=i.filter(s=>!l.has(s));if(d.length>0)throw new Error(`buildFabricPageClone: ${d.length} lifted object(s) were not removed from the clone (${d.join(", ")})`)}return{clone:r,sawNonBlankCanvas:f}}const rt=new Set(["arial","helvetica","times new roman","courier","courier new","verdana","georgia","comic sans ms","calibri","cambria","aptos","segoe ui","tahoma","trebuchet ms","calibri light","book antiqua","garamond","century gothic","palatino linotype"]),st=new Set(["serif","sans-serif","monospace","cursive","fantasy","system-ui","ui-serif","ui-sans-serif","ui-monospace","inherit","initial","unset"]),F=/^[A-Za-z0-9][A-Za-z0-9 ]{0,49}$/,ct=/font-family:\s*([^;"}<]+)/gi,lt=5e3,dt=12;function ut(t){const e=(t.split(",")[0]??"").replace(/['"]/g,"").trim();if(!e||!F.test(e))return"";const n=e.toLowerCase();return st.has(n)||rt.has(n)?"":e}function ft(t){const e=new Set;for(const n of t){if(!n)continue;const i=n.replace(/&quot;/g,"'");for(const o of i.matchAll(ct)){const a=o[1];if(!a)continue;const r=ut(a);r&&e.add(r)}}return Array.from(e).slice(0,dt)}async function ht(t){const e=new AbortController,n=setTimeout(()=>e.abort(),lt);try{const i=await fetch(t,{signal:e.signal});return i.ok?await i.text():null}catch{return null}finally{clearTimeout(n)}}async function gt(t){if(!F.test(t))return null;const e=t.replace(/ /g,"+"),n=["300;400;500;600;700","400;700","400"];for(const i of n){const o=await ht(`https://fonts.googleapis.com/css2?family=${e}:wght@${i}&display=swap`);if(o)return o}return null}async function pt(t,e=[]){const n=new Set(e.filter(Boolean).map(o=>o.toLowerCase())),i=t.filter(o=>!n.has(o.toLowerCase()));return i.length===0?"":(await Promise.all(i.map(o=>gt(o)))).filter(o=>!!o).join(`
2
- `)}const H="objId";function mt(t,e,n){if(!t)return t;const i=new Set(e),o=new DOMParser().parseFromString(t,"text/html").body;o.querySelectorAll(".text-rich-display").forEach(r=>{const l=r.dataset[H];typeof l=="string"&&i.has(l)&&(n.add(l),r.remove())});const a=[...o.querySelectorAll(".text-rich-display")].map(r=>r.dataset[H]).filter(r=>typeof r=="string"&&i.has(r));if(a.length>0)throw new Error(`stripLiftedOverlays: ${a.length} lifted overlay(s) survived the strip (${a.join(", ")})`);return o.innerHTML}async function yt(t,e,n,i,o={}){var a;if(t.querySelector(`[${O}="true"]`))throw new Error("buildKonvaPageHtml: page still has a canvas that has not rendered (lazy preview)");const r=(a=o.hideObjectIds)!=null&&a.length?o.hideObjectIds:void 0,l=new Set;o.expectNonBlankCanvas&&!E(t)&&await R(t);const c=await P(t,{pixelRatio:4,quality:.98,skipHiddenText:!0,...r?{hideObjectIds:r,hiddenObjectIdSink:l}:{}});if(!c||typeof c!="string")return null;if(o.expectNonBlankCanvas&&!E(t))throw new Error("buildKonvaPageHtml: page expected canvas content but every canvas baked blank");const u=tt(t),f=r?mt(u,r,l):u;if(r){const s=r.filter(h=>!l.has(h));if(s.length>0)throw new Error(`buildKonvaPageHtml: ${s.length} lifted object(s) were not removed from the page (${s.join(", ")})`)}const d=i===void 0?"Page":`Page ${i}`;return`<div style="width: ${e}px; height: ${n}px; margin: 0; padding: 0; overflow: hidden; position: relative;"><img src="${c}" style="width: ${e}px; height: ${n}px; display: block; image-rendering: -webkit-optimize-contrast; image-rendering: crisp-edges;" alt="${d}" />${f}</div>`}function wt(){try{return Array.from(document.styleSheets).map(t=>{try{return Array.from(t.cssRules).map(e=>e.cssText).join(`
3
- `)}catch{return""}}).join(`
4
- `)}catch(t){return console.warn("Could not extract all stylesheets:",t),""}}async function vt(t,e,n,i){let o=wt();try{const c=ft(i),u=await pt(c,[t]);u&&(o+=`
5
- ${u}`)}catch(c){console.warn("Could not build referenced-font CSS for export:",c)}const a={},r=n??M;a["--page-margin"]=`${w(r.left)}px`,a["--page-margin-top"]=`${w(r.top)}px`,a["--page-margin-bottom"]=`${w(r.bottom)}px`,a["--page-margin-left"]=`${w(r.left)}px`,a["--page-margin-right"]=`${w(r.right)}px`;const l=U(e,t);return Object.entries(l).forEach(([c,u])=>{c.startsWith("--")&&u!=null&&(a[c]=u)}),{styles:o,customProperties:a}}export{T as N,yt as a,at as b,q as c,vt as d,v as e,b as f,x as n};
@@ -1,11 +0,0 @@
1
- import{hy as Qr,hz as Ve,hA as bt,hB as to,hC as eo,hD as no,hE as ro,hF as we,hG as oo,hH as io,hI as $t,hJ as rt,hK as Lt,hL as ye,hM as ao,hN as Je,hO as ve,hP as lo,hQ as L,hR as _,hS as R,hT as Ke,hU as Ze,hV as Rt,hW as so,hX as co,hY as uo,hZ as Y,h_ as fo,h$ as ho,i0 as Pe,i1 as go,i2 as po,i3 as It,i4 as mo,i5 as Qe,i6 as xo,i7 as bo,dS as Tt,cK as wo,i8 as tn,i9 as yo,ia as Ee,ib as vo,ic as en,id as Po,ie as Eo,ig as To,ih as Ao,ii as nn,ij as So,ik as Co,il as No,im as Fo,b_ as rn,d4 as on,eM as Mo,dO as te,io as $o,ip as Io,iq as ko,dP as Te,eN as ee,eO as Ht,ir as ht,is as an,it as ln,iu as Oo,iv as Ae,iw as Lo,ix as Ro,iy as Ho,iz as sn,dN as Do}from"./runtime-Dn4RiA4k.js";import{e as Se,d as zo,b as cn,a as jo,f as un}from"./exportPageHtml-BnFgCZsS.js";import"react";import{awaitExportImagesReady as Bo}from"./exportImageReadiness-BIPaS2Oz.js";function Wo(t,e){const n=typeof t=="string"?t:new XMLSerializer().serializeToString(t),r=e.scale,o=Math.max(1,Math.round(e.width*r)),i=Math.max(1,Math.round(e.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 dn(t){return t.length>=4&&t[0]===137&&t[1]===80&&t[2]===78&&t[3]===71?"png":t.length>=3&&t[0]===255&&t[1]===216&&t[2]===255?"jpg":t.length>=4&&t[0]===71&&t[1]===73&&t[2]===70&&t[3]===56?"gif":t.length>=2&&t[0]===66&&t[1]===77?"bmp":t.length>=12&&t[0]===82&&t[1]===73&&t[2]===70&&t[3]===70&&t[8]===87&&t[9]===69&&t[10]===66&&t[11]===80?"webp":null}function _o(t){return new Promise((e,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),e({bytes:Se(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=t})}async function fn(t,e){if(t.length===0)throw new Error("bytesToDocxImage: empty image body");const n=dn(t);return n&&n!=="webp"?{bytes:t,type:n}:_o(e)}async function qo(t){const e=await fetch(t);if(!e.ok)throw new Error(`fetchImageForDocx: HTTP ${e.status}`);return fn(new Uint8Array(await e.arrayBuffer()),t)}const Uo="layoutslot",hn={sm:120,md:240,lg:360},Go=12240,Xo=15840,gn=120,pn=90,Dt={style:rt.NONE,size:0,color:"auto"},mn={top:Dt,bottom:Dt,left:Dt,right:Dt,insideHorizontal:Dt,insideVertical:Dt},Yo={top:bt.TOP,middle:bt.CENTER,bottom:bt.BOTTOM},Vo=new Set(["p","h1","h2","h3","h4"]),xn=(t,e)=>Array.from(t.children).filter(n=>n.tagName.toLowerCase()===e),Ce=()=>new L({text:"",spacing:{before:0,after:0,line:240,lineRule:_.AUTO}});function Jo(t){if(!/<(columns|layout)[\s>]/i.test(t))return{html:t,containers:[]};const e=new DOMParser().parseFromString(`<body>${t}</body>`,"text/html"),n=[];return e.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=e.createElement(Uo);a.setAttribute("data-layout-idx",String(i)),r.replaceWith(a)}),{html:e.body.innerHTML,containers:n}}function bn(t){const e=lo(t);return e===ao?void 0:e.slice(1).toUpperCase()}function ne(t){return t.containerWidthTwips&&t.containerWidthTwips>0?t.containerWidthTwips:(t.isLandscape?Xo:Go)-(t.leftMarginPx??40)*15-(t.rightMarginPx??40)*15}function Ko(t,e,n){const r=t&&oo.test(t)?io(t):null,o=r&&r.length===e?r:Array.from({length:e},()=>1);return wn(o,n)}function Zo(t,e){return wn(Array.from({length:t},()=>1),e)}function wn(t,e){const n=t.reduce((i,a)=>i+a,0),r=t.map(i=>Math.max(1,Math.floor(e*i/n))),o=r.reduce((i,a)=>i+a,0);return r[r.length-1]=r[r.length-1]+(e-o),r}function yn(t,e,n,r){return r(t,{...n,leftMarginPx:0,rightMarginPx:0,containerWidthTwips:e})}function Qo(t){return t.length===0?[Ce()]:t[t.length-1]instanceof $t?[...t,Ce()]:t}function vn({elements:t,fill:e,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 Je({children:Qo(t),width:{size:n,type:Lt.DXA},shading:e?{type:ve.CLEAR,color:"auto",fill:e}:void 0,borders:mn,margins:e?{top:pn,bottom:pn,left:Math.max(s,gn),right:Math.max(c,gn)}:{top:0,bottom:0,left:s,right:c},verticalAlign:r})}function Ne(t,e,n){return new $t({rows:t,layout:ye.FIXED,columnWidths:e,width:{size:e.reduce((r,o)=>r+o,0),type:Lt.DXA},indent:{size:(n.leftMarginPx??40)*15,type:Lt.DXA},borders:mn})}function ti(t,e){t[t.length-1]instanceof $t&&t.push(Ce()),t.push(e)}async function Pn(t,e,n){const r=ne(e),o=[];for(const i of t){const a=bn(i.el.getAttribute("bg"));if(!a){o.push(...await n(i.html,e));continue}const l=await yn(i.html,r,e,n),s=vn({elements:l,fill:a,widthTwips:r,valign:bt.TOP,gapTwips:0,index:0,count:1});ti(o,Ne([new we({children:[s]})],[r],e))}return o}async function En(t,e,n,r,o,i){const a=e.length,l=[];for(let s=0;s<a;s++){const c=t[s],u=c?await yn(c.html,e[s],o,i):[];l.push(vn({elements:u,fill:c?bn(c.el.getAttribute("bg")):void 0,widthTwips:e[s],valign:n,gapTwips:r,index:s,count:a}))}return new we({children:l})}async function ei(t,e,n){const r=xn(t,"column");if(r.length===0)return n(t.innerHTML,e);const o=r.map(l=>({el:l,html:l.innerHTML}));if(Qr(t.getAttribute("direction"))==="vertical")return Pn(o,e,n);const i=Ko(t.getAttribute("ratio"),o.length,ne(e)),a=await En(o,i,Yo[to(t.getAttribute("valign"))],hn[Ve(t.getAttribute("gap"))],e,n);return[Ne([a],i,e)]}function ni(t,e){const n=t.cloneNode(!0),r=n.ownerDocument,o=r.createElement("strong");o.textContent=`${e}. `;const i=Array.from(n.children).find(a=>Vo.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 ri(t,e,n){const r=xn(t,"cell");if(r.length===0)return n(t.innerHTML,e);const o=eo(t.getAttribute("variant")),i=no(ro(t.getAttribute("columns")),r.length,o),a=r.map((u,d)=>({el:u,html:o==="timeline"?ni(u,d+1):u.innerHTML}));if(i<=1)return Pn(a,e,n);const l=Zo(i,ne(e)),s=hn[Ve(t.getAttribute("gap"))],c=[];for(let u=0;u<a.length;u+=i)c.push(await En(a.slice(u,u+i),l,bt.TOP,s,e,n));return[Ne(c,l,e)]}async function oi(t,e,n){const r=new DOMParser().parseFromString(`<body>${t}</body>`,"text/html").body.firstElementChild;if(!r)return[];const o=r.tagName.toLowerCase();return o==="columns"?ei(r,e,n):o==="layout"?ri(r,e,n):n(r.innerHTML,e)}const ot="Arial",ii={"sans-serif":ot,"system-ui":ot,"ui-sans-serif":ot,"ui-rounded":ot,"-apple-system":ot,blinkmacsystemfont:ot,serif:"Times New Roman","ui-serif":"Times New Roman",monospace:"Courier New","ui-monospace":"Courier New",cursive:ot,fantasy:ot,math:ot,emoji:ot,fangsong:ot};function wt(t){if(!t)return ot;const e=(t.split(",")[0]??"").trim().replace(/^['"]|['"]$/g,"").trim();return e?ii[e.toLowerCase()]??e:ot}const yt=t=>new Ze({name:"w:fldChar",attributes:{type:{key:"w:fldCharType",value:t}}}),zt=t=>new Ze({name:"w:instrText",attributes:{space:{key:"xml:space",value:"preserve"}}}).addChildElement(t);function ai(t,e,n){const r=o=>new R({...n,children:[o]});return[r(yt("begin")),r(zt(`PAGEREF ${t} \\h`)),r(yt("separate")),new R({...n,text:e}),r(yt("end"))]}const li=t=>new R({...t,children:[Ke.CURRENT]}),si=t=>new R({...t,children:[Ke.TOTAL_PAGES]}),ci=t=>t.replace(/\\/g,"\\\\").replace(/"/g,'\\"'),Tn=' < 1 "" "',An=(t,e)=>[e(yt("begin")),e(zt(t)),e(yt("separate")),e(yt("end"))];function ui(t,e){const n=o=>new R({...e,children:[o]}),r="field"in t?[n(zt(Tn)),...An(t.field,n),n(zt('"'))]:[n(zt(`${Tn}${ci(t.literal)}"`))];return[n(yt("begin")),n(zt("IF ")),...An("PAGE",n),...r,n(yt("separate")),n(yt("end"))]}const di=t=>t==="export-preview"?xo:bo;function Sn(t){return t.contentWidthPx!==void 0?t.contentWidthPx:t.isLandscape?Tt.CONTENT_AREA_LANDSCAPE.width:Tt.CONTENT_AREA.width}const Cn=24,Fe=15,Z=t=>({before:t*Fe,after:t*Fe}),Nn={h1:Z(16),h2:Z(12),h3:Z(8),h4:Z(4),p:Z(4),list:Z(16),table:Z(16),hr:Z(16),img:Z(8),chart:Z(8),layout:Z(8)},fi={...Nn,h1:Z(20),h2:Z(14),p:Z(3),list:Z(12),table:Z(12)},Fn=t=>t==="export-preview"?fi:Nn,At=t=>Math.round(t*1.5),jt=(t,e,n)=>{const r=(n.previewContext==="export-preview"?co:uo)[e];return Math.round(t*(r??1.2)*Fe)},Bt=_.AT_LEAST,Vt=t=>{if(t==="center")return Y.CENTER;if(t==="right")return Y.RIGHT;if(t==="justify")return Y.JUSTIFIED},hi={left:Y.LEFT,center:Y.CENTER,right:Y.RIGHT,justify:Y.JUSTIFIED},gi=/data-node-text-align="(left|center|right|justify)"/i,pi=/(?:^|[;\s"'])text-align\s*:\s*(left|center|right|justify)/i,re=t=>{var e,n;if(!t)return;const r=((e=t.match(gi))==null?void 0:e[1])??((n=t.match(pi))==null?void 0:n[1]);return r?hi[r.toLowerCase()]:void 0},mi=/<(?:p|h[1-4])\b([^>]*)>/i,oe=t=>{var e;return(e=t.match(mi))==null?void 0:e[1]},Mn={top:bt.TOP,middle:bt.CENTER,bottom:bt.BOTTOM},xi=/data-node-vertical-align="(top|middle|bottom)"/i,bi=/(?:^|[;\s"'])vertical-align\s*:\s*(top|middle|bottom)/i,$n=t=>t==="top"||t==="middle"||t==="bottom",wi=(t,e)=>{var n,r,o;const i=(o=((n=t.match(xi))==null?void 0:n[1])??((r=t.match(bi))==null?void 0:r[1]))==null?void 0:o.toLowerCase();return $n(i)?Mn[i]:$n(e)?Mn[e]:bt.TOP},kt=(t,e)=>{var n;const r=di(t.previewContext)[e],o=(n=t.componentColors)==null?void 0:n.textStyles,i=o==null?void 0:o[e];return{...r,...i}},k=t=>so(t),yi={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 vi(t){const[,e,n]=(t==null?void 0:t.match(/^(\d*\.?\d+)\s*(px|pt)$/i))??[];if(!e||!n)return;const r=parseFloat(e);if(!(!Number.isFinite(r)||r<=0))return n.toLowerCase()==="pt"?Math.round(r*2):At(r)}function ie(t,e,n){var r,o;return(t==null?void 0:t.trim())||((o=(r=e.match(yi[n]))==null?void 0:r[1])==null?void 0:o.trim())||void 0}const Pi=new Set(["span","mark","b","strong","i","em","u","a","code"]),Ei=new Set(["none","lowercase","capitalize","full-width","full-size-kana","initial"]),In=/[\u{1F000}-\u{1FFFF}\u{2600}-\u{27BF}\u{2300}-\u{23FF}\u{2B00}-\u{2BFF}][\uFE0F\u20E3]?/gu,Me="Segoe UI Emoji";function Ti(t){const e=new RegExp(In.source,In.flags),n=[];let r=0,o;for(;(o=e.exec(t))!==null;)o.index>r&&n.push({text:t.slice(r,o.index),isEmoji:!1}),n.push({text:o[0],isEmoji:!0}),r=e.lastIndex;return r<t.length&&n.push({text:t.slice(r),isEmoji:!1}),n.length===0?[{text:t,isEmoji:!1}]:n}function $e(t,e,n=Cn,r){const o=[],i=wt(e.documentFont),a=new DOMParser().parseFromString(`<div>${t}</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=Ti(T);for(const y of A){if(!y.text)continue;const C=l;l=0,o.push(new R({break:C||void 0,text:y.text,bold:u.bold,italics:u.italic,underline:u.underline?{}:void 0,allCaps:u.allCaps,color:u.color,shading:u.shadingFill?{type:ve.CLEAR,color:"auto",fill:u.shadingFill}:void 0,font:y.isEmoji?{ascii:Me,hAnsi:Me,cs:Me}:{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 S=k(ie((d=p.style)==null?void 0:d.color,h,"color"));S&&(m.color=S);const M=vi(ie((f=p.style)==null?void 0:f.fontSize,h,"font-size"));M&&(m.sizeHalfPoints=M);const E=(x=ie((g=p.style)==null?void 0:g.textTransform,h,"text-transform"))==null?void 0:x.toLowerCase();if(E==="uppercase"?m.allCaps=!0:E&&Ei.has(E)&&(m.allCaps=void 0),Pi.has(b)){const T=k(ie((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:e.defaultTextColor}),l>1&&o.push(new R({break:l-1,font:{ascii:i,hAnsi:i},size:n})),o}function Ai(t,e,n){var r,o;const i=wt(e.documentFont),a=(e.leftMarginPx??40)*15,l=(e.rightMarginPx??40)*15,s=kt(e,"paragraph"),c=(o=(r=e.componentColors)==null?void 0:r.paragraph)!=null&&o.textColor?k(e.componentColors.paragraph.textColor):void 0,u=$e(t,{...e,defaultTextColor:c||e.defaultTextColor},At(s.fontSize),{bold:s.bold,italic:s.italic,underline:s.underline});return new L({children:u.length>0?u:[new R({text:"",font:i})],alignment:re(oe(t))??Vt(s.textAlign),spacing:{before:n.before,after:n.after,line:jt(s.fontSize,"paragraph",e),lineRule:Bt},indent:{left:a,right:l}})}const kn="\uE000";function Si(t){const e=new DOMParser().parseFromString(`<div>${t}</div>`,"text/html").querySelector("div");if(!e)return[""];e.querySelectorAll("br").forEach(r=>r.replaceWith(kn));const n=(e.textContent??"").replace(/[ \t\n\r\f]+/g," ").split(kn).map(r=>r.replace(/^ +| +$/g,"").replace(/\u00a0/g," "));return n.length>1&&n[n.length-1]===""&&n.pop(),n}function ae(t,e,n,r){var o,i;const a=wt(n.documentFont),l=(o=n.componentColors)==null?void 0:o.heading,s=(n.leftMarginPx??40)*15,c=(n.rightMarginPx??40)*15,u=kt(n,`h${e}`),d=(i=t.match(/\bid="(dest-[^"]+)"/i))==null?void 0:i[1],f=Si(t);let g;if(l){const h=l[`h${e}`];h&&(g=k(h))}const x=k(l==null?void 0:l[`h${e}Bg`]),P={1:Rt.HEADING_1,2:Rt.HEADING_2,3:Rt.HEADING_3,4:Rt.HEADING_4},p=f.map((h,m)=>new R({break:m>0?1:void 0,text:h,font:a,size:At(u.fontSize),bold:u.bold,italics:u.italic,color:g,underline:u.underline?{}:void 0,shading:x?{type:ve.CLEAR,color:"auto",fill:x}:void 0})),b=d?[new Qe({id:d,children:p})]:p;return new L({children:b,heading:P[e],keepNext:!0,alignment:re(oe(t))??Vt(u.textAlign),spacing:{before:r.before,after:r.after,line:jt(u.fontSize,`h${e}`,n),lineRule:Bt},indent:{left:s,right:c}})}function On(t){switch(t){case"a":return"lower-letter-numbering";case"i":return"lower-roman-numbering";default:return"default-numbering"}}function Ln(t){var e,n;const r=(e=t.match(/<ol\b[^>]*>/i))==null?void 0:e[0];return((n=r==null?void 0:r.match(/\stype=["']?([^"'\s>]+)/i))==null?void 0:n[1])??null}let Ci=0;const Rn=()=>Ci+=1;function Hn(t,e,n,r){var o;const i=wt(n.documentFont),a=(o=n.componentColors)==null?void 0:o.list,l=kt(n,"listText"),s=(n.leftMarginPx??40)*15,c=(n.rightMarginPx??40)*15,u=a!=null&&a.textColor?k(a.textColor):void 0,d=e?{reference:On(Ln(t)),level:0,instance:Rn()}:void 0,f=[],g=/<li[^>]*>(.*?)<\/li>/gi;let x;for(;(x=g.exec(t))!==null;)f.push(x[1]);return f.map((P,p)=>{const b=p===0,h=p===f.length-1,m=$e(P,{...n,defaultTextColor:u||n.defaultTextColor},At(l.fontSize),{bold:l.bold,italic:l.italic,underline:l.underline});return new L({children:m.length>0?m:[new R({text:"",font:i})],bullet:e?void 0:{level:0},numbering:d,alignment:Vt(l.textAlign),spacing:{before:b?r.before:0,after:h?r.after:90,line:jt(l.fontSize,"listText",n),lineRule:Bt},indent:{left:s+360,hanging:360,right:c}})})}function Ni(t){const e=t.match(/<(p|h[1-4])(?:\s[^>]*)?>[\s\S]*?<\/\1>/gi);if(!e||e.length<2)return[t];const n=r=>{var o;return((o=new DOMParser().parseFromString(r,"text/html").body.textContent)==null?void 0:o.trim())??""};return e.map(n).join("").replace(/\s+/g,"")!==n(t).replace(/\s+/g,"")?[t]:e}const Ie="data-cell-list",Dn=/<(ul|ol)\b[^>]*>((?:(?!<(?:ul|ol)\b)[\s\S])*?)<\/\1>/i;function Fi(t){let e=t;for(let n=e.match(Dn);n;n=e.match(Dn)){const r=n[0],o=(n[1]??"").toLowerCase(),i=n[2]??"",a=o==="ol"?Ln(r):null,l=o==="ol"?` ${Ie}-instance="${Rn()}"`+(a?` ${Ie}-type="${a}"`:""):"",s=i.replace(/<li\b[^>]*>\s*<p\b/gi,`<p ${Ie}="${o}"${l}`),c=n.index??0;e=e.slice(0,c)+s+e.slice(c+r.length)}return e}const Mi=t=>{var e,n,r,o;const i=(n=(e=t==null?void 0:t.match(/data-cell-list="(ul|ol)"/i))==null?void 0:e[1])==null?void 0:n.toLowerCase();if(i==="ul")return{kind:"ul"};if(i==="ol")return{kind:"ol",instance:Number(((r=t==null?void 0:t.match(/data-cell-list-instance="(\d+)"/i))==null?void 0:r[1])??0),type:((o=t==null?void 0:t.match(/data-cell-list-type="([^"]+)"/i))==null?void 0:o[1])??null}},$i=t=>{if(!t)return{};const e={left:360,hanging:360};return t.kind==="ul"?{bullet:{level:0},indent:e}:{numbering:{reference:On(t.type),level:0,instance:t.instance},indent:e}},zn=15,jn=t=>{var e;const n=wo((e=t.componentColors)==null?void 0:e.table),r=Math.round(n.y*zn),o=Math.round(n.x*zn);return{top:r,bottom:r,left:o,right:o}},Ii=t=>{const e=jn(t);return e.top+e.bottom},Bn=300,ki=100,Oi=15840,Li=12240;function Ri(t,e){var n;const r=parseInt(((n=t.match(/data-row-twips="(\d+)"/i))==null?void 0:n[1])??"",10);if(!Number.isFinite(r)||r<=0)return Bn;const o=e.isLandscape?Li:Oi,i=e.contentHeightPx&&e.contentHeightPx>0?Math.round(e.contentHeightPx*15):o;return r>i?Bn:Math.max(ki,r-Ii(e))}function Wn(t,e){var n,r;const o=(n=e.componentColors)==null?void 0:n.table,i=kt(e,"tableHeader").verticalAlign,a=jn(e),l=wt(e.documentFont),s=(e.leftMarginPx??40)*15,c=ne(e),u=t.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(t))!==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 S;for(;(S=m.exec(t))!==null;){const M=S[1]??"",E=S[2]??"",T=S.index,A=P.findIndex(z=>T>=z.start&&T<z.end),y=(h.get(A)??0)+1;h.set(A,y);const C=(((r=P[A])==null?void 0:r.tag)??"tbody")==="tbody"&&y%2===0,D=[],V=/<th[\s>]/i.test(E),st=/<td[\s>]/i.test(E),tt=V&&!st;let ut=0;const gt=/<(th|td)([^>]*)>([\s\S]*?)<\/\1>/gi;let vt;for(;(vt=gt.exec(E))!==null;){const z=vt[2]||"",v=vt[3]||"",N=(vt[1]||"").toLowerCase()==="th",O=N&&tt,$=N&&!tt,j=O?"tableHeader":$?"tableHeaderColumn":"tableCell",U=kt(e,j),et=$?U.verticalAlign??i:U.verticalAlign,K=(o==null?void 0:o.headerColumnText)||(o==null?void 0:o.headerText),pt=O?o!=null&&o.headerText?k(o.headerText):void 0:$?K?k(K):void 0:o!=null&&o.cellText?k(o.cellText):void 0,Ct=re(z),J=Ni(Fi(v)),it=J.map(B=>re(oe(B))),nt=J.map(B=>Mi(oe(B))),dt=J.map(B=>$e(B,{...e,defaultTextColor:pt},At(U.fontSize),{bold:U.bold,italic:U.italic,underline:U.underline})),at=z.match(/colspan="(\d+)"/i),Ot=at!=null&&at[1]?parseInt(at[1],10):void 0,Gt=z.match(/rowspan="(\d+)"/i),Xt=Gt!=null&&Gt[1]?parseInt(Gt[1],10):void 0,Pt=Ot&&Ot>1?Ot:1,Nt=Xt&&Xt>1?Xt:1;for(;(x[ut]??0)>0;)ut+=1;const ft=ut;if(Nt>1)for(let B=ft;B<ft+Pt;B+=1)x[B]=Nt;ut=ft+Pt;const Ft=z.match(/data-colwidth="(\d+)"/i),Yt=z.match(new RegExp("(?<!min-)width:\\s*(\\d+)px","i")),Qt=Ft!=null&&Ft[1]?parseInt(Ft[1],10):Yt!=null&&Yt[1]?parseInt(Yt[1],10):void 0,xe=Qt?Math.round(Qt*15):void 0,Mt=(d&&ft+Pt<=d.length?d.slice(ft,ft+Pt).reduce((B,lt)=>B+lt,0):void 0)??xe,be=dt.map((B,lt)=>new L({children:B.length>0?B:[new R({text:"",font:l})],...$i(nt[lt]),alignment:it[lt]??Ct??Vt(U.textAlign),spacing:{before:0,after:0,...e.previewContext==="export-preview"?{line:jt(U.fontSize,j,e),lineRule:Bt}:{line:240,lineRule:_.AUTO}}}));D.push(new Je({children:be,columnSpan:Pt>1?Pt:void 0,rowSpan:Nt>1?Nt:void 0,width:Mt?{size:Mt,type:Lt.DXA}:void 0,shading:(()=>{const B=z.match(/background-color:\s*([^;"]+)/i),lt=B!=null&&B[1]?k(B[1].trim()):void 0;if(lt)return{fill:lt};if(O&&o!=null&&o.headerBg)return{fill:k(o.headerBg)||"FFFFFF"};if($){const Et=(o==null?void 0:o.headerColumnBg)||(o==null?void 0:o.headerBg);if(Et)return{fill:k(Et)||"FFFFFF"}}return!N&&C&&o!=null&&o.alternateRowBg?{fill:k(o.alternateRowBg)||"FFFFFF"}:{fill:o!=null&&o.cellBg&&k(o.cellBg)||"FFFFFF"}})(),borders:o!=null&&o.border?{top:{style:rt.SINGLE,size:1,color:k(o.border)||"000000"},bottom:{style:rt.SINGLE,size:1,color:k(o.border)||"000000"},left:{style:rt.SINGLE,size:1,color:k(o.border)||"000000"},right:{style:rt.SINGLE,size:1,color:k(o.border)||"000000"}}:void 0,margins:{...a},verticalAlign:wi(z,et)}))}for(let z=0;z<x.length;z+=1)x[z]=Math.max(0,(x[z]??0)-1);D.length>0&&g.push(new we({children:D,cantSplit:!0,tableHeader:tt,height:{value:Ri(M,e),rule:mo.ATLEAST}}))}return new $t({rows:g,layout:f?ye.FIXED:ye.AUTOFIT,...f?{columnWidths:d}:{},width:{size:f?d.reduce((M,E)=>M+E,0):c,type:Lt.DXA},indent:{size:s,type:Lt.DXA},borders:o!=null&&o.border?{top:{style:rt.SINGLE,size:1,color:k(o.border)||"000000"},bottom:{style:rt.SINGLE,size:1,color:k(o.border)||"000000"},left:{style:rt.SINGLE,size:1,color:k(o.border)||"000000"},right:{style:rt.SINGLE,size:1,color:k(o.border)||"000000"},insideHorizontal:{style:rt.SINGLE,size:1,color:k(o.border)||"000000"},insideVertical:{style:rt.SINGLE,size:1,color:k(o.border)||"000000"}}:void 0})}function _n(t){let e=t;for(;/<[^>]+>/.test(e);)e=e.replace(/<[^>]+>/g,"");return e}function Hi(t,e){var n;const r=wt(e.documentFont),o=(e.leftMarginPx??40)*15,i=(e.rightMarginPx??40)*15,a=(n=t.match(/\bdata-dest="(dest-[^"]+)"/i))==null?void 0:n[1];let l="dotted";/border-bottom:.*solid/i.test(t)?l="line":/border-bottom:.*dotted/i.test(t)?l="dotted":/font-weight:\s*500/i.test(t)||/margin-bottom:\s*8px/i.test(t)?l="modern":/font-size:\s*0\.9em/i.test(t)||/font-size:\s*0\.85em/i.test(t)?l="compact":/\[\d+\]|\[\.\.\.\]/.test(t)&&(l="simple");const s=t.match(/margin-left:\s*(\d+)px/),c=s?parseInt(s[1],10):0,u=/<span([^>]*)>(.*?)<\/span>/gi,d=[];let f;for(;(f=u.exec(t))!==null;)d.push({attrs:f[1]||"",content:f[2]||""});if(d.length<1)return null;const g=_n(d[0].content.replace(/&nbsp;/g," ").replace(/&amp;/g,"&")).trim();let x="";for(let z=d.length-1;z>=1;z--){const v=_n(d[z].content).trim();if(/\d+/.test(v)||v==="..."){x=v.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=kt(e,"paragraph").fontSize,S=l==="compact"?m*.9:m,M=l==="compact"?m*.85:l==="modern"?m*.95:m,E=At(S),T=At(M),A=l==="simple"?"[":"",y=l==="simple"?"]":"",C=`${A}${x}${y}`,D=l==="dotted"?Pe.DOT:l==="line"?Pe.UNDERSCORE:Pe.NONE,V=l==="modern"?60:l==="compact"?30:60,st=l==="modern"?180:l==="compact"?30:120,tt={font:r,size:T,bold:b||void 0,color:h},ut=e.tocPagerefFields&&a&&/^\d+$/.test(x)?[...A?[new R({...tt,text:A})]:[],...ai(a,x,tt),...y?[new R({...tt,text:y})]:[]]:[new R({...tt,text:C})],gt=[new R({text:g,font:r,size:E,bold:void 0}),new R({children:[new fo],font:r,size:T}),...ut],vt=a?[new ho({anchor:a,children:gt})]:gt;return new L({children:vt,tabStops:[{type:go.RIGHT,position:p,leader:D}],spacing:{before:V,after:st,line:jt(Math.max(S,M),"paragraph",e),lineRule:Bt},indent:{left:P,right:i}})}function Di(t,e){const n=(t.leftMarginPx??40)*15,r=(t.rightMarginPx??40)*15;return new L({children:[new R({text:""})],border:{bottom:{style:rt.SINGLE,size:6,space:1,color:"E0E0E0"}},spacing:{before:e.before,after:e.after,line:240,lineRule:_.AUTO},indent:{left:n,right:r}})}const zi=320,ji=3;function Jt(t){if(!t||!/^\d+(\.\d+)?$/.test(t.trim()))return;const e=Number(t);return e>0?e:void 0}function ke(t,e,n){const r=wt(e.documentFont),o=(e.leftMarginPx??40)*15,i=(e.rightMarginPx??40)*15,a={style:rt.SINGLE,size:6,space:4,color:"E0E0E0"};return new L({children:[new R({text:t,font:r,size:Cn,italics:!0})],border:{top:a,bottom:a,left:a,right:a},alignment:Y.CENTER,spacing:{before:n.before,after:n.after,line:240,lineRule:_.AUTO},indent:{left:o,right:i}})}function Oe(t,e,n){return ke(`Chart: ${t} (see PDF export)`,e,n)}function Le(t,e,n){const r=t!=null&&t.trim()?`Image: ${t.trim()} (could not be embedded)`:"Image (could not be embedded)";return ke(r,e,n)}async function Bi(t,e,n){var r;const o=new DOMParser().parseFromString(`<body>${t}</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=Sn(e),c=Jt(a.getAttribute("width")),u=Jt(a.getAttribute("height")),d=Jt((r=(o.getAttribute("style")||"").match(/height:\s*([\d.]+)px/i))==null?void 0:r[1]),f=c??s,g=u??d??zi;try{const x=await Wo(a,{width:f,height:g,scale:ji}),P=Se(x);if(P.length>0)return[new L({children:[new It({type:"png",data:P,transformation:{width:f,height:g}})],alignment:Y.CENTER,spacing:{before:n.before,after:n.after,line:240,lineRule:_.AUTO}})]}catch(x){console.error(`Failed to rasterize chart "${i}" for DOCX:`,x)}return[Oe(i,e,n)]}const l=o.querySelector("table");return l?[Wn(l.outerHTML,e)]:[Oe(i,e,n)]}function Wi(t,e,n,r,o){let i=t,a=e;const l=!!n&&!!r;return!i&&!a&&l?(i=n,a=r):i&&!a?a=l?i*(r/n):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 _i(t){return t==="center"?Y.CENTER:t==="right"?Y.RIGHT:Y.LEFT}async function qi(t,e,n){const r=new DOMParser().parseFromString(`<body>${t}</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=Jt(r==null?void 0:r.getAttribute("width")),l=Jt(r==null?void 0:r.getAttribute("height")),s=_i(r==null?void 0:r.getAttribute("data-align"));if(!o)return Le(i,e,n);const c=Sn(e);try{const u=await po(o,void 0,"original")||o,d=u.startsWith("data:")?await fn(Se(u),u):await qo(u);if(d.bytes.length===0)return Le(i,e,n);const{width:f,height:g}=Wi(a,l,d.intrinsicWidth,d.intrinsicHeight,c);return new L({children:[new It({type:d.type,data:d.bytes,transformation:{width:f,height:g}})],alignment:s,spacing:{before:n.before,after:n.after,line:240,lineRule:_.AUTO}})}catch(u){return console.error("Failed to embed inline image for DOCX:",u),Le(i,e,n)}}const Ui=/^\s*<([a-z][a-z0-9]*)/i,qn=t=>{var e,n;return((n=(e=t.match(Ui))==null?void 0:e[1])==null?void 0:n.toLowerCase())??""};function Gi(t){switch(qn(t)){case"chartslot":return"chart";case"layoutslot":return"layout";case"h1":return/class="[^"]*section-title-from-h2/i.test(t)?"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 Re=t=>t!=="table";function Xi(t,e){const n=Fn(e.previewContext),r=t.map(s=>n[s]),o=e.containerWidthTwips===void 0,i=t.map((s,c)=>c===0&&!o?r[c].before:0),a=t.map((s,c)=>Re(s)?r[c].after:0),l=t.map(()=>0);for(let s=1;s<t.length;s++){const c=Math.max(r[s-1].after,r[s].before);l[s]=c,Re(t[s])?i[s]=Math.max(0,c-a[s-1]):Re(t[s-1])&&(a[s-1]=c)}return{spacing:t.map((s,c)=>({before:i[c],after:a[c]})),collapsedGap:l}}const Yi=2,Vi=20;function Ji(t){return new L({children:[new R({text:"",size:Yi})],spacing:{before:0,after:t,line:Vi,lineRule:_.EXACT}})}async function Un(t,e={},n=!1){var r,o;const i=[],a=/<div[^>]*data-toc-page="[^"]*"[^>]*>.*?<\/div>/gi,l=t.match(a)||[];if(l.length>0){const b=t.match(/<h1[^>]*>(.*?)<\/h1>/i);if(b){const h=wt(e.documentFont),m=(r=e.componentColors)==null?void 0:r.heading,S=(e.leftMarginPx??40)*15,M=(e.rightMarginPx??40)*15,E=kt(e,"h1");let T;if(m){const A=m.h1;A&&(T=k(A))}i.push(new L({children:[new R({text:((o=b[1])==null?void 0:o.replace(/<[^>]+>/g,"").trim())||"Table of Contents",font:h,size:At(E.fontSize),bold:E.bold,italics:E.italic,color:T,underline:E.underline?{}:void 0})],heading:Rt.HEADING_1,alignment:Vt(E.textAlign),spacing:{before:0,after:Fn(e.previewContext).h1.after,line:jt(E.fontSize,"h1",e),lineRule:Bt},indent:{left:S,right:M}}))}for(const h of l)try{const m=Hi(h,e);m&&i.push(m)}catch(m){console.error("Failed to parse TOC item:",m)}return i}t=t.replace(/<div[^>]*data-page-break="true"[^>]*>.*?<\/div>/gis,""),t=t.replace(/<div[^>]*class="page-break-marker"[^>]*>.*?<\/div>/gis,"");const{html:s,containers:c}=Jo(t);t=s;const u=[];if(/data-chart-type=/i.test(t)){const b=new DOMParser().parseFromString(`<body>${t}</body>`,"text/html");b.body.querySelectorAll("[data-chart-type]").forEach(h=>{const m=u.push(h.outerHTML)-1,S=b.createElement("chartslot");S.setAttribute("data-chart-idx",String(m)),h.replaceWith(S)}),t=b.body.innerHTML}t=t.replace(/<div[^>]*class="page-content[^"]*"[^>]*>/gi,""),t=t.replace(/<\/div>/gi,""),t=t.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=t.match(d)||[],g=f.map(Gi),{spacing:x,collapsedGap:P}=Xi(g,e);let p=0;for(let b=0;b<f.length;b++){const h=f[b],m=x[b],S=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(qn(h)){case"chartslot":{const y=h.match(/data-chart-idx="(\d+)"/i),C=y?u[Number(y[1])]:void 0;C?i.push(...await Bi(C,e,E)):i.push(Oe("chart",e,E));break}case"layoutslot":{const y=h.match(/data-layout-idx="(\d+)"/i),C=y?c[Number(y[1])]:void 0;C?i.push(...await oi(C,e,Un)):i.push(ke("Layout section (see PDF export)",e,E));break}case"h1":{const y=/class="[^"]*section-title-from-h2/i.test(h)?2:1;i.push(ae(h,y,e,E));break}case"h2":i.push(ae(h,2,e,E));break;case"h3":i.push(ae(h,3,e,E));break;case"h4":i.push(ae(h,4,e,E));break;case"ul":i.push(...Hn(h,!1,e,E));break;case"ol":i.push(...Hn(h,!0,e,E));break;case"table":i.push(Wn(h,e));break;case"hr":i.push(Di(e,E));break;case"img":i.push(await qi(h,e,E));break;default:i.push(Ai(h,e,E))}}catch(y){console.error("Failed to parse block:",h,y)}const T=i[S]instanceof $t,A=T&&i[S-1]instanceof $t;if(S>0&&T&&(A||M>0)&&i.splice(S,0,Ji(M)),i.length>S){const y=i[i.length-1]instanceof $t,C=g[b]!=="layout";p=y||!C?0:m.after}}return i.length===0&&i.push(new L({text:"",spacing:{before:0,after:0,line:240,lineRule:_.AUTO}})),i}const Ki=["MM/DD/YYYY","DD/MM/YYYY","DD MMM YYYY","MMM DD, YYYY","YYYY-MM-DD"];function Zi(t){return typeof t=="string"&&Ki.includes(t)}const He=987654321,le=987654322,De=/\{%[^%\n]*%\}/g;function Gn(t){const e=t.slice(2,-2).toLowerCase();return e==="page_number"?"page-number":e==="total_pages"?"total-pages":"text"}function Qi(t){return JSON.stringify([t.bold??!1,t.italics??!1,t.underline??!1,t.strike??!1,t.color??"",t.fontSizePx??0,t.fontFamily??""])}function Wt(t,e,n,r=!1){const o=t==="text"?{kind:t,text:e,...n}:{kind:t,...n};return r?{...o,hiddenAtPageZero:!0}:o}function ta(t,e){return Ee(t==="page-number"?"{%page_number%}":"{%total_pages%}",{pageNumber:0,variableValues:e.variableValues,currentDateText:e.currentDateText})===""}function ea(t,e,n){const r=[];let o="",i=null,a={};const l=()=>{i!==null&&o!==""&&r.push(Wt("text",o,a)),o="",i=null};for(const s of t){const c=e(s.rawIndex);if(s.kind!=="text"){l(),r.push(Wt(s.kind,"",c,ta(s.kind,n)));continue}if(s.text==="")continue;const u=Qi(c);u!==i&&(l(),i=u,a=c),o+=s.text}return l(),r}function se(t,e,n){const r={pageNumber:0,variableValues:n.variableValues,currentDateText:n.currentDateText},o=[];let i=0;for(const a of t.matchAll(De)){const l=a.index;for(let u=i;u<l;u++)o.push({kind:"text",text:t[u],rawIndex:u});const s=a[0],c=Gn(s);o.push({kind:c,text:c==="text"?Ee(s,r):"",rawIndex:l}),i=l+s.length}for(let a=i;a<t.length;a++)o.push({kind:"text",text:t[a],rawIndex:a});return ea(o,e,n)}function Xn(t){for(const e of t.matchAll(De))if(Gn(e[0])!=="text")return!0;return!1}function Yn(t,e){const n={pageNumber:e.pageNumber,totalPages:e.totalPages,variableValues:e.variableValues,currentDateText:e.currentDateText},r=new Array(t.length+1);let o="",i=0;const a=(l,s)=>{for(let c=l;c<s;c++)r[c]=o.length,o+=t[c]};for(const l of t.matchAll(De)){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+=Ee(c,n),i=s+c.length}return a(i,t.length),r[t.length]=o.length,{painted:o,paintedOffsets:r}}function Vn(t,e){const n=en(t,He,le),r=en(t,0,le)==="",o=[];for(const i of n.split(new RegExp(`(${He}|${le})`)))i!==""&&(i===String(He)?o.push(Wt("page-number","",e,r)):i===String(le)?o.push(Wt("total-pages","",e,r)):o.push(Wt("text",i,e,r)));return o}function Jn(t,e,n){const r=t==null?void 0:t.pageNumberFormat;if(!tn(r))return null;const o=yo(t,n.pageNumber,n.totalPages);return o===void 0?null:{runs:Vn(r,e),painted:o}}function na(t,e,n){const r=t,o=r==null?void 0:r.pageNumberFormat;if(tn(o))return Vn(o,e);const i=r==null?void 0:r.dateFormat;return Zi(i)?[Wt("text",vo(i,n),e)]:null}const Kn=new Set(["paragraph","heading","blockquote"]),ra=t=>(t.content??[]).some(e=>Kn.has(e.type??""));function Zn(t){const e=t;if(!e||typeof e!="object"||!Array.isArray(e.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:Kn.has(a.type??"")&&!ra(a)&&(o>0&&(n+=`
3
- `),o++);break}for(const s of a.content??[])i(s)};return i(e),r?n:null}const Kt=t=>t==="page",oa=["fontFamily","fontSize","fontWeight","fontStyle","underline","linethrough","fill"];function w(t){return typeof t=="number"&&Number.isFinite(t)}function ze(t){if(typeof t!="string")return;const e=t.trim(),n=/^#([0-9a-f]{3}|[0-9a-f]{6}|[0-9a-f]{8})$/i.exec(e);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(e);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 je(t){if(typeof t=="number")return t>=600;if(typeof t!="string")return!1;if(t.toLowerCase()==="bold"||t.toLowerCase()==="bolder")return!0;const e=Number.parseInt(t,10);return Number.isFinite(e)&&e>=600}function Qn(t,e){const n={};je(t.fontWeight)&&(n.bold=!0);const r=t.fontStyle;(r==="italic"||r==="oblique")&&(n.italics=!0),t.underline===!0&&(n.underline=!0),t.linethrough===!0&&(n.strike=!0);const o=ze(t.fill);return o&&(n.color=o),w(t.fontSize)&&t.fontSize>0&&(n.fontSizePx=t.fontSize*e),typeof t.fontFamily=="string"&&t.fontFamily.trim()!==""&&(n.fontFamily=t.fontFamily.replace(/['"]/g,"").trim()),n}function tr(t){const e={};if(!t)return e;for(const n of oa)t[n]!==void 0&&(e[n]=t[n]);return e}function Be(t,e,n){return t.map(r=>r.runs.reduce((o,i)=>Math.max(o,i.fontSizePx??e),e)*n)}const ia="000",aa=.75;let ce;function la(){if(ce===void 0)try{ce=document.createElement("canvas").getContext("2d")}catch{ce=null}return ce}function er(t,e,n){const r=la();if(!r)return null;try{const o=e.fontFamily??"sans-serif";r.font=`${e.italics?"italic ":""}${e.bold?"bold ":""}${n}px "${o}"`;const i=r.measureText(t).width;return w(i)?i:null}catch{return null}}function sa(t,e,n){const r=e.fontSizePx??n,o=t.length*r*aa,i=er(t,e,r);return i===null?o:Math.max(i,o)}const nr=t=>t.lines.some(e=>e.runs.some(n=>n.kind==="page-number"||n.kind==="total-pages"));function ca(t){const e=t.totalPages;return w(e)&&e>0?String(Math.trunc(e)):ia}function ua(t,e,n){if(!e||!nr(t))return t;const r=ca(n),o=t.lines.reduce((i,a,l)=>{var s;const c=((s=t.linePitchPx)==null?void 0:s[l])??t.lineHeightPx,u=a.runs.reduce((d,f)=>d+sa(f.kind==="text"?f.text??"":r,f,c),0);return Math.max(i,u)},0);return{...t,widthPx:o,align:"left"}}function ue(t){return t==="center"?"center":t==="right"?"right":"left"}function da(t){return t&&typeof t=="object"?t:null}function fa(t){const e=typeof t.rawText=="string"&&t.rawText!==""?t.rawText:null,n=typeof t.text=="string"?t.text:null;let r=e??n,o=da(e?t.rawStyles:t.styles);if(r===null)return null;if(t.richContent!=null&&!r.includes("{%")){const a=Zn(t.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 ha=t=>t.map((e,n)=>({text:e,sourceLineIndex:n,sourceCharOffset:0}));function rr(t){const e=t._textLines;return!Array.isArray(e)||typeof t.text!="string"?!1:e.length!==t.text.split(`
5
- `).length}function ga(t,e){const n=t.textLines;if(!Array.isArray(n)||n.length===0||typeof t.text!="string"||e.lines.join(`
6
- `)!==t.text||t.text.includes("{%")||!t._styleMap||typeof t._styleMap!="object")return null;const r=t._styleMap,o=[];for(const[i,a]of n.entries()){if(typeof a!="string")return null;const l=r[i];if(!l||!w(l.line)||!w(l.offset))return null;const s=e.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 or(t){return t.pageNumber===void 0?null:{variableValues:t.variableValues,currentDateText:t.currentDateText,pageNumber:t.pageNumber,totalPages:t.totalPages}}function We(t,e,n){const r=or(n);if(!r||r.pageNumber>0)return!1;const o=Jn(e,{},r);return o?o.painted==="":!t||!t.some(Xn)?!1:t.every(i=>Yn(i,r).painted==="")}function pa(t,e,n,r,o){if(t.objectType!=="text"||t.visible===!1||t.opacity!==1||t.shadow||typeof t.charSpacing=="number"&&t.charSpacing!==0||t.textBackgroundColor||(w(t.angle)?t.angle!==0:t.angle!=null))return!1;for(const i of e)if((w(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 t.text=="string"&&t.text.trim()===""?r:!(!o&&rr(t))}const ir=2,_e=t=>w(t)&&t>0?t:1;function ar(t,e,n){return!w(t)||!w(e)?null:t>0&&e>0?{widthPx:t,heightPx:e,tolerancePx:n}:null}function ma(t){var e,n,r;const o=(e=t.getWidth)==null?void 0:e.call(t),i=(n=t.getHeight)==null?void 0:n.call(t);if(!w(o)||!w(i))return null;const a=_e((r=t.getZoom)==null?void 0:r.call(t));return ar(o/a,i/a,ir+.5/a)}function xa(t){return ar(t.width()/_e(t.scaleX()),t.height()/_e(t.scaleY()),ir)}function ba(t,e,n){if(lr(t,e))return!0;const r=wa(t,n);return r!==null&&lr(r,e)}function lr(t,e){if(!e)return!1;const{leftPx:n,topPx:r,widthPx:o,heightPx:i}=t;if(!w(n)||!w(r)||!w(o)||!w(i))return!1;const a=e.tolerancePx;return n>=-a&&r>=-a&&n+o<=e.widthPx+a&&r+i<=e.heightPx+a}function wa(t,e){if(!e)return null;try{return e(t)}catch{return null}}function ya(t,e,n){return n==="center"?(t-e)/2:n==="right"?t-e:0}const sr=t=>typeof t=="string"&&t.startsWith("justify");function cr(t,e){if(e.length===0)return null;let n=Number.POSITIVE_INFINITY,r=Number.NEGATIVE_INFINITY;for(const o of e){if(!w(o))return null;const i=ya(t.widthPx,o,t.align);n=Math.min(n,i),r=Math.max(r,i+o)}return{leftPx:t.leftPx+n,topPx:t.topPx,widthPx:r-n,heightPx:t.heightPx}}function va(t){const{widthPx:e,heightPx:n,lineHeightPx:r}=t;return!w(e)||!w(n)||!w(r)?!1:e>0&&n>0&&r>0}const ur=.5;function Pa(t,e){const n=Math.min(t.leftPx+t.widthPx,e.leftPx+e.widthPx)-Math.max(t.leftPx,e.leftPx),r=Math.min(t.topPx+t.heightPx,e.topPx+e.heightPx)-Math.max(t.topPx,e.topPx);return n>ur&&r>ur}function dr(t,e){var n;const r=e.indexOf.get(t);if(r===void 0)return!1;const o=(n=e.steps[r])==null?void 0:n.rect;if(!o)return!1;for(let i=r+1;i<e.steps.length;i+=1){const a=e.steps[i];if(a.occludes&&(!a.rect||Pa(o,a.rect)))return!0}return!1}function fr(t){return Array.isArray(t._objects)?t._objects:typeof t.getObjects=="function"?t.getObjects():[]}const Ea=new Set(["text","itext","i-text","textbox"]);function Ta(t){return t.visible===!1||t.excludeFromExport===!0?!1:!w(t.opacity)||t.opacity>0}function Aa(t){return t.textBackgroundColor?!0:t.objectType==="text"?!1:!Ea.has(String(t.type??"").toLowerCase())}function Sa(t){var e;const n=(e=t.getBoundingRect)==null?void 0:e.call(t);return!n||!w(n.left)||!w(n.top)||!w(n.width)||!w(n.height)?null:{leftPx:n.left,topPx:n.top,widthPx:n.width,heightPx:n.height}}function Ca(t){const e=[],n=new Map,r=(o,i)=>{for(const a of o){if(!a||typeof a!="object")continue;const l=a,s=i&&Ta(l),c=fr(l);if(c.length>0){r(c,s);continue}n.set(l,e.length),e.push({occludes:s&&Aa(l),rect:Sa(l)})}};return r(t,!0),{steps:e,indexOf:n}}let _t=0;function Na(t){if(typeof t.id=="string"&&t.id!=="")return t.id;_t+=1;const e=`band-text-lift-${_t}`;return t.id=e,e}function qe(t,e,n,r,o,i,a,l){if(!ba(e,a,l)||r==="page"&&nr(e))return;const s=r==="page"?e:ua(e,o,i);va(s)&&(t.items.push(s),t.liftedObjectIds.push(n()))}function hr(t,e,n){let r=1;for(const o of[...e,t]){const i=o[n];w(i)&&i>0&&(r*=i)}return r}function Fa(t,e,n){if(!To(e))return t;const r=[];let o="";if(t.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 t;const i=Ao(o,e),a=t.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 Ma(t,e,n,r,o,i){var a;const l=(a=t.getBoundingRect)==null?void 0:a.call(t);if(!l||!w(l.left)||!w(l.top))return null;const s=hr(t,e,"scaleY"),c=tr(t),u=Qn(c,s),d=na(t,u,o),f=!d&&i&&rr(t),g=f?ga(t,n):null;if(f&&!g)return null;const x=d?null:g??ha(n.lines),P=d?[{runs:d}]:x.map(({text:m,sourceLineIndex:S,sourceCharOffset:M})=>({runs:se(m,E=>{var T,A;const y=(A=(T=n.styles)==null?void 0:T[S])==null?void 0:A[M+E];return y?Qn({...c,...tr(y)},s):u},r)}));if(P.every(m=>m.runs.length===0))return null;const p=x?x.map((m,S)=>S===0||m.sourceLineIndex!==x[S-1].sourceLineIndex):[!0],b=w(t.fontSize)&&t.fontSize>0?t.fontSize:0,h=w(t.lineHeight)&&t.lineHeight>0?t.lineHeight:1;return{leftPx:l.left,topPx:l.top,widthPx:l.width,heightPx:l.height,align:ue(t.textAlign),lineHeightPx:b*h*s,linePitchPx:Be(P,b*s,h),lines:Fa(P,t.textTransform,p)}}function $a(t){return String(t.type??"").toLowerCase()!=="textbox"}function Ia(t,e,n){if(sr(t.textAlign))return null;const r=t._textLines;if(!Array.isArray(r)||r.length===0||typeof t.getLineWidth!="function")return null;const o=[];for(let i=0;i<r.length;i+=1){const a=t.getLineWidth(i);if(!w(a))return null;o.push(a*n)}return cr(e,o)}function gr(t,e,n,r,o,i,a,l){for(const s of t){if(!s||typeof s!="object")continue;const c=s,u=fa(c),d=r==="band"&&We((u==null?void 0:u.lines)??null,c,n);if(u&&pa(c,e,u.lines,d,Kt(r))){if(dr(c,l))continue;const g=Ma(c,e,u,n,o,Kt(r));g&&qe(i,g,()=>Na(c),r,$a(c),n,a,x=>Ia(c,x,hr(c,e,"scaleX")));continue}const f=fr(c);f.length>0&&gr(f,[...e,c],n,r,o,i,a,l)}}const ka=t=>[...Array.isArray(t.children)?t.children:[],...Array.isArray(t.objects)?t.objects:[]];function Oa(t,e){const n=t==null?void 0:t.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===e)return o;r.push(...ka(o))}}return null}function La(t,e){const n=Oa(t,e.id);if(!n)return null;if(Po(n))return n;if(e.textIndex<0)return null;const r=[];return Eo([n],o=>r.push(o)),r[e.textIndex]??null}function pr(t,e){return!e||t.sourceCanvasJson==null?null:La(t.sourceCanvasJson,e)}function Ue(t){if(!t)return null;const e=typeof t.text=="string"?t.text:null,n=Zn(t.richContent)??e;return n===null?null:n.split(`
8
- `)}const de=t=>t.replace(/\s+/g," ").trim();function Ra(t){const{kind:e,text:n,hiddenAtPageZero:r,...o}=t;return o}function mr(t){var e;const n=[];for(const r of t.runs){const o=Ra(r);for(let i=0;i<(((e=r.text)==null?void 0:e.length)??0);i++)n.push(o)}return n}function xr(t,e,n,r){const o=or(n);if(!e||!o)return t;const i=t.lines.map(u=>u.runs.map(d=>d.text??"").join("")),a=u=>mr(t.lines[u]??{runs:[]})[0]??r,l=Jn(e,a(0),o);if(l)return t.lines.length!==1||de(l.painted)!==de(i[0])?t:{...t,lines:[{runs:l.runs}]};const s=Ue(e);if(s===null||!s.some(Xn)||s.length!==t.lines.length)return t;const c=s.map(u=>Yn(u,o));for(const[u,d]of i.entries())if(de(c[u].painted)!==de(d))return t;return{...t,lines:s.map((u,d)=>{const f=mr(t.lines[d]),g=c[d].paintedOffsets,x=a(d);return{runs:se(u,P=>f[g[P]??0]??x,n)}})}}function Ha(){var t;const e=(t=globalThis.Konva)==null?void 0:t.stages;return Array.isArray(e)?e:[]}function Da(t){return Ha().find(e=>{var n,r;return(r=(n=e.container)==null?void 0:n.call(e))==null?void 0:r.contains(t)})??null}function br(t,e){const n={},r=typeof t.fontStyle()=="string"?t.fontStyle():"";/italic|oblique/i.test(r)&&(n.italics=!0),je(r.replace(/italic|oblique|normal/gi,"").trim())&&(n.bold=!0);const o=typeof t.textDecoration()=="string"?t.textDecoration():"";o.includes("underline")&&(n.underline=!0),o.includes("line-through")&&(n.strike=!0);const i=ze(t.fill());i&&(n.color=i);const a=t.fontSize();w(a)&&a>0&&(n.fontSizePx=a*e);const l=Pr(t.fontFamily());return l&&(n.fontFamily=l),n}function za(t){for(let r=t.getParent();r;r=r.getParent()){const o=r.id();if(!(typeof o!="string"||o==="")){if(r.find("Text").length===1)return o;break}}const e=t.id();if(typeof e=="string"&&e!=="")return e;_t+=1;const n=`band-text-lift-${_t}`;return t.id(n),n}function ja(t,e,n){if(!t.isVisible()||t.getAbsoluteOpacity()!==1||t.hasShadow()||t.getAbsoluteRotation()!==0)return!1;const r=t.text();if(typeof r!="string")return!1;if(r.trim()==="")return e;const o=t.textArr;return!Array.isArray(o)||o.length===r.split(`
9
- `).length?!0:n&&!r.includes("{%")}function Ba(t,e){const n=t.text().split(`
10
- `);if(!e)return n;const r=t.textArr;return!Array.isArray(r)||r.length===n.length?n:r.map(o=>typeof(o==null?void 0:o.text)=="string"?o.text:"")}function wr(t,e){var n;const r=(n=t.attrs)==null?void 0:n[e];return r==null||r==="auto"}function yr(t){const e=t.getAbsoluteScale();return w(e==null?void 0:e.y)&&e.y>0?e.y:1}function Wa(t,e,n,r,o){const i=t.getClientRect({relativeTo:e,skipShadow:!0,skipStroke:!0});if(!i||!w(i.x)||!w(i.y))return null;const a=t.getAbsoluteScale(),l=w(a==null?void 0:a.x)&&a.x>0?a.x:1,s=yr(t),c=br(t,s),u=Ba(t,o),d=u.map(m=>({runs:se(m,()=>c,n)}));if(!r&&d.every(m=>m.runs.length===0))return null;const f=w(t.fontSize())?t.fontSize():0,g=f*(w(t.lineHeight())?t.lineHeight():1),x=u.length*g,P=w(t.padding())?t.padding():0,p=t.verticalAlign(),b=t.getHeight()-x-P*2,h=wr(t,"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:ue(t.align()),lineHeightPx:g*s,linePitchPx:Be(d,f*s,w(t.lineHeight())?t.lineHeight():1),lines:d}}function _a(t,e){if(sr(t.align()))return null;const n=t.textArr;if(!Array.isArray(n)||n.length===0)return null;const r=t.getAbsoluteScale(),o=w(r==null?void 0:r.x)&&r.x>0?r.x:1,i=[];for(const a of n){if(!w(a==null?void 0:a.width))return null;i.push(a.width*o)}return cr(e,i)}function qa(t){for(let n=t.getParent();n;n=n.getParent()){const r=n.id();if(!(typeof r!="string"||r===""))return{id:r,textIndex:n.find("Text").indexOf(t)}}const e=t.id();return typeof e=="string"&&e!==""?{id:e,textIndex:0}:null}function Ua(t){return!t.isVisible()||t.getClassName()==="Text"?!1:t.getAbsoluteOpacity()>0}function Ga(t,e){const n=t.getClientRect({relativeTo:e});return!n||!w(n.x)||!w(n.y)||!w(n.width)||!w(n.height)?null:{leftPx:n.x,topPx:n.y,widthPx:n.width,heightPx:n.height}}function Xa(t){const e=[],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,e.length),e.push({occludes:Ua(o),rect:Ga(o,t)})};return r(t),{steps:e,indexOf:n}}function vr(t,e,n,r,o,i,a){var l;if(t.getClassName()==="Text"){const c=t,u=r==="band"?pr(n,qa(c)):null,d=r==="band"&&We(Ue(u),u,n);if(!ja(c,d,Kt(r))||dr(c,a))return;const f=Wa(c,e,n,d,Kt(r));if(!f)return;const g=xr(f,u,n,br(c,yr(c)));if(g.lines.every(x=>x.runs.length===0))return;qe(o,g,()=>za(c),r,wr(c,"width"),n,i,x=>_a(c,x));return}const s=(l=t.getChildren)==null?void 0:l.call(t);if(s)for(const c of s)vr(c,e,n,r,o,i,a)}function fe(t){const e=/^(-?\d*\.?\d+)px$/.exec((t??"").trim());if(!e)return;const n=Number.parseFloat(e[1]);return Number.isFinite(n)?n:void 0}function Pr(t){var e;if(typeof t!="string")return;const n=(e=t.split(",")[0])==null?void 0:e.replace(/['"]/g,"").trim();return n!==void 0&&n!==""?n:void 0}const Ya="ul, ol, mark, img, table",Zt=new Set(["P","DIV","H1","H2","H3","H4","H5","H6","BLOCKQUOTE","LI"]),Ge=t=>Array.from(t.children).some(e=>Zt.has(e.tagName));function he(t,e){const n={...e};switch(t.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=t.style;r.fontWeight!==""&&(je(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=ze(r.color);i&&(n.color=i);const a=Pr(r.fontFamily);a&&(n.fontFamily=a);const l=fe(r.fontSize);return l!==void 0&&l>0&&(n.fontSizePx=l),n}function Er(t){const e=(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=he(i,o);for(const l of Array.from(i.childNodes)){const s=e(l,a);if(s)return s}return i.childNodes.length===0?a:null},n=he(t,{});for(const r of Array.from(t.childNodes)){const o=e(r,n);if(o)return o}return n}function Va(t,e){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||!Zt.has(f.tagName)||f.childNodes.length!==1)&&i();return}Zt.has(u.tagName)&&!Ge(u)&&(o>0&&i(),o+=1);const d=he(u,c);for(const f of Array.from(u.childNodes))l(f,d)};for(const s of Array.from(t.childNodes))l(s,e);return{lines:n,charStyles:r}}const Ja=(t,e)=>t.bold===e.bold&&t.italics===e.italics&&t.underline===e.underline&&t.strike===e.strike&&t.color===e.color&&t.fontSizePx===e.fontSizePx&&t.fontFamily===e.fontFamily;function Ka(t){let e=null;for(const n of t.charStyles)for(const r of n)if(e===null)e=r;else if(!Ja(e,r))return null;return e}const Za=1,Qa=t=>t.replace(/\s+/g," ");function tl(t){const e=[];let n=0;for(let r=1;r<t.length;r++)/\s/.test(t[r-1])&&!/\s/.test(t[r])&&(e.push(t.slice(n,r)),n=r);return e.push(t.slice(n)),e}function el(t,e,n,r){const o=s=>er(Qa(s),e,n),i=o(t);if(i===null||i<=r)return[t];const a=[];let l="";for(const s of tl(t)){const c=l+s,u=o(c.trimEnd());if(u===null)return[t];l.trim()!==""&&u>r?(a.push(l.trimEnd()),l=s):l=c}return a.push(l),a}function nl(t,e,n){if(Tr(e)||t.lines.some(l=>l.includes("{%")))return t;const r=Ka(t),o=r==null?void 0:r.fontSizePx;if(!r||!w(o)||o<=0)return t;const i=[],a=[];for(const l of t.lines)for(const s of el(l,r,o,n+Za))i.push(s),a.push(new Array(s.length).fill(r));return{lines:i,charStyles:a}}function rl(t){for(const e of Array.from(t.querySelectorAll("*")))if(Zt.has(e.tagName)&&!Ge(e)){if(e.style.textAlign!=="")return ue(e.style.textAlign);break}return ue(t.style.textAlign)}function ol(t,e,n,r){if(t.querySelector(Ya))return null;const o=t.style.opacity;if(o!==""&&Number.parseFloat(o)!==1)return null;const i=/rotate\(\s*(-?\d*\.?\d+)deg/.exec(t.style.transform??"");if(i&&Number.parseFloat(i[1])!==0)return null;const a=Number.parseFloat(t.dataset.expectedLeft??""),l=Number.parseFloat(t.dataset.expectedTop??""),s=fe(t.style.width)??fe(t.style.minWidth);if(!w(a)||!w(l)||s===void 0||s<=0)return null;const c=he(t,{}),u=c.fontSizePx??0,d=Number.parseFloat(t.style.lineHeight);if(u<=0||!w(d)||d<=0)return null;const f=Va(t,c),g=r?nl(f,t,s):f,x=g.lines.map((h,m)=>({runs:se(h,S=>{var M;return((M=g.charStyles[m])==null?void 0:M[S])??c},e)}));if(!n&&x.every(h=>h.runs.length===0))return null;const P=x.every(h=>h.runs.length===0)?Er(t).fontSizePx??u:u,p=Be(x,Math.max(u,P),d),b=p.reduce((h,m)=>h+m,0);return t.offsetHeight>b+2?null:{leftPx:a,topPx:l,widthPx:s,heightPx:b,align:rl(t),lineHeightPx:u*d,linePitchPx:p,lines:x}}function il(t,e){const n=t.getBoundingClientRect();if(!w(n==null?void 0:n.left)||!w(n.top))return null;const r=n.width>0&&t.offsetWidth>0?n.width/t.offsetWidth:1;if(!w(r)||r<=0)return null;const o=Array.from(t.querySelectorAll("*")).filter(c=>Zt.has(c.tagName)&&!Ge(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:[t]){const u=document.createRange();u.selectNodeContents(c);const d=u.getBoundingClientRect();if(!w(d==null?void 0:d.left)||!w(d.top)||!w(d.width)||!w(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!w(i)||!w(a)?null:{leftPx:e.leftPx+(i-n.left)/r,topPx:e.topPx+(a-n.top)/r,widthPx:(l-i)/r,heightPx:(s-a)/r}}const Tr=t=>fe(t.style.width)===void 0;function al(t){const e=t.dataset.objId;if(typeof e=="string"&&e!=="")return e;_t+=1;const n=`band-text-lift-${_t}`;return t.dataset.objId=n,n}function ll(t){return t.querySelector("canvas.lower-canvas")??t.querySelector("canvas")}function Ar(t,e,n,r){var o,i,a;try{const l=ll(t);if(!l)return null;const s=l.__fabric;if(s&&typeof s.getObjects=="function"){const u={items:[],liftedObjectIds:[]},d=ma(s);d||(o=r==null?void 0:r.onUnreadableBounds)==null||o.call(r);const f=s.getObjects();return gr(f,[],e,n,new Date,u,d,Ca(f)),u}const c=Da(l);if(c){const u={items:[],liftedObjectIds:[]},d=xa(c);d||(i=r==null?void 0:r.onUnreadableBounds)==null||i.call(r),vr(c,c,e,n,u,d,Xa(c));for(const f of Array.from(t.querySelectorAll(".text-rich-display"))){const g=f.dataset.objId,x=n==="band"&&g?pr(e,{id:g,textIndex:0}):null,P=n==="band"&&We(Ue(x),x,e),p=ol(f,e,P,Kt(n));if(!p)continue;const b=xr(p,x,e,Er(f));b.lines.every(h=>h.runs.length===0)||qe(u,b,()=>al(f),n,Tr(f),e,d,h=>il(f,h))}return u}return null}catch(l){return(a=r==null?void 0:r.onError)==null||a.call(r,l),null}}function sl(t,e,n){return Ar(t,e,"band",n)}function cl(t,e,n){return Ar(t,e,"page",n)}const ul=9525,dl=15,qt=t=>Math.round(t*ul),fl=t=>Math.round(t*dl),hl="http://schemas.openxmlformats.org/drawingml/2006/main",gl="http://schemas.microsoft.com/office/word/2010/wordprocessingShape",pl={left:Y.LEFT,center:Y.CENTER,right:Y.RIGHT},Sr=900,ml=251658240,xl=t=>({id:Sr+t,name:`Editable text ${Sr+t}`,relativeHeight:ml+t});function St(t){const e=nn.fromXmlString(t).root,[n,...r]=e;if(r.length>0||!(n instanceof nn))throw new Error(`expected exactly one root element, got ${e.length}, in: ${t}`);return n}function Cr(t,e,n){if(!Number.isFinite(t)||t<=0)throw new Error(`anchored text box ${e} is not a positive EMU extent (${t}) for "${n.name}": ${n.widthPx}x${n.heightPx}px at (${n.pageLeftPx}, ${n.pageTopPx})`);return t}function bl(t){const e=Cr(qt(t.widthPx),"cx",t),n=Cr(qt(t.heightPx),"cy",t),r=St(`<wps:wsp><wps:cNvSpPr txBox="1"/><wps:spPr><a:xfrm><a:off x="0" y="0"/><a:ext cx="${e}" 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=St("<w:txbxContent/>");for(const u of t.lines)o.push(new L({alignment:pl[t.align],spacing:{before:0,after:0,line:fl(u.linePitchPx),lineRule:_.EXACT},children:[...u.runs]}));const i=St("<wps:txbx/>");i.push(o),r.push(i),r.push(St('<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=St(`<a:graphicData uri="${gl}"/>`);a.push(r);const l=St(`<a:graphic xmlns:a="${hl}"/>`);l.push(a);const s=St(`<wp:anchor distT="0" distB="0" distL="0" distR="0" simplePos="0" relativeHeight="${t.relativeHeight}" behindDoc="0" locked="0" layoutInCell="1" allowOverlap="1"><wp:simplePos x="0" y="0"/><wp:positionH relativeFrom="page"><wp:posOffset>${qt(t.pageLeftPx)}</wp:posOffset></wp:positionH><wp:positionV relativeFrom="page"><wp:posOffset>${qt(t.pageTopPx)}</wp:posOffset></wp:positionV><wp:extent cx="${e}" cy="${n}"/><wp:effectExtent l="0" t="0" r="0" b="0"/><wp:wrapNone/><wp:docPr id="${t.id}" name="${t.name}"/><wp:cNvGraphicFramePr/></wp:anchor>`);s.push(l);const c=St("<w:drawing/>");return c.push(s),c}const wl=t=>new L({children:[new R({children:[bl(t)]})],spacing:{before:0,after:0,line:1,lineRule:_.EXACT}}),Nr=1.5,yl=.02,Fr=16,vl=.5/Nr;function Mr(t,e){let n=0;for(const r of t.lines)for(const o of r.runs){const i=(o.fontSizePx??Fr)*e;i>0&&(n=Math.max(n,vl/i))}return n}const Pl=t=>Math.round(t*Nr);function El(t,e,n){return t==="center"?e-n/2:t==="right"?e-n:e}const Tl=(t,e,n)=>({font:wt(t.fontFamily??e),size:Pl((t.fontSizePx??Fr)*n),color:t.color,bold:t.bold,italics:t.italics,strike:t.strike,underline:t.underline?{}:void 0}),$r=t=>t.totalPagesAsField||t.resolvedTotalPages===void 0;function Al(t,e){return t.kind==="page-number"?{field:"PAGE"}:t.kind==="total-pages"?$r(e)?{field:"NUMPAGES"}:{literal:e.resolvedTotalPages??""}:{literal:t.text??""}}function Sl(t,e,n,r){const o=Tl(t,e,r);return t.hiddenAtPageZero?[...ui(Al(t,n),o)]:t.kind==="page-number"?[li(o)]:t.kind==="total-pages"?[$r(n)?si(o):new R({...o,text:n.resolvedTotalPages??""})]:[new R({...o,text:t.text??""})]}function Ir(t,e,n,r){const o=t.widthPx*e.scale,i=o*(yl+(e.extraWidthPadRatio??0));return wl({...xl(e.itemIndex),pageLeftPx:El(t.align,e.pageLeftPx,i),pageTopPx:e.pageTopPx,widthPx:o+i,heightPx:t.heightPx*e.scale,align:t.align,lines:t.lines.map((a,l)=>{var s;return{linePitchPx:(((s=t.linePitchPx)==null?void 0:s[l])??t.lineHeightPx)*e.scale,runs:a.runs.flatMap(c=>Sl(c,n,r,e.scale))}})})}function kr(t){return new L({children:[new It({type:t.type,data:t.data,transformation:{width:t.widthPx,height:t.heightPx},floating:{horizontalPosition:{relative:No.PAGE,offset:qt(t.offsetXPx)},verticalPosition:{relative:Co.PAGE,offset:qt(t.offsetYPx)},behindDocument:!0,allowOverlap:!0,wrap:{type:So.NONE}}})],spacing:{before:0,after:0,line:1,lineRule:_.EXACT}})}const Cl=(t,e)=>e.bandKind==="header"?t.topPx:e.pageHeightPx-e.bandHeightPx+t.topPx,Nl=t=>t.bandKind==="header"?0:t.pageHeightPx-t.bandHeightPx,Fl=(t,e)=>new L({children:[new It({type:t.type,data:t.data,transformation:{width:e.pageWidthPx,height:e.bandHeightPx}})],spacing:{before:0,after:0,line:240,lineRule:_.AUTO}});function Ml(t,e,n,r,o){return t.items.length===0?[Fl(e,n)]:[kr({...e,widthPx:n.pageWidthPx,heightPx:n.bandHeightPx,offsetXPx:0,offsetYPx:Nl(n)}),...t.items.map((i,a)=>Ir(i,{pageLeftPx:i.leftPx,pageTopPx:Cl(i,n),scale:1,itemIndex:a,extraWidthPadRatio:Mr(i,1)},r,o))]}const $l={totalPagesAsField:!1},Il=t=>t.displayWidthPx/t.canvasWidthPx,kl=t=>t.displayHeightPx/t.canvasHeightPx;function Or(t,e,n){if(!Number.isFinite(t)||t<=0)throw new Error(`canvas page ${e} scale is not a positive number (${t}): ${JSON.stringify(n)}`);return t}const Ol=(t,e)=>new L({children:[new It({type:t.type,data:t.data,transformation:{width:e.displayWidthPx,height:e.displayHeightPx}})],spacing:{before:0,after:0,line:240,lineRule:_.AUTO},alignment:Y.CENTER});function Ll(t){for(const e of t.lines)for(const n of e.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 Rl(t,e,n,r,o=0){if(t.items.length===0)return[Ol(e,n)];t.items.forEach(Ll);const i=Or(Il(n),"horizontal",n),a=Or(kl(n),"vertical",n);return[kr({...e,widthPx:n.displayWidthPx,heightPx:n.displayHeightPx,offsetXPx:n.offsetXPx,offsetYPx:0}),...t.items.map((l,s)=>Ir(l,{pageLeftPx:l.leftPx*i+n.offsetXPx,pageTopPx:l.topPx*a,scale:i,itemIndex:o+s,extraWidthPadRatio:Mr(l,i)},r,$l))]}const Hl=8,Dl=40,Xe=4,zl=95,jl=4e8,Bl=t=>t.width*t.height*Xe*Xe,Wl={format:"jpeg",quality:zl},_l={format:"png",omitBackground:!0},ge=t=>`page:${t}`,Ut=(t,e)=>`${e}:${t}`,Lr=t=>t&&t.items.length>0?t.liftedObjectIds:void 0;async function ql(t){await Mo(),await Bo(t)}async function Ul(t,e,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<t.length;d++){const f=t[d],g=e[d],x=n[d];if(!f||!g||!x)continue;if(te(f)){try{const p=Lr(o==null?void 0:o.get(d)),b=$o(f),h=f.useFabric?(await cn(x,{...p?{hideObjectIds:p,stripRichTextOverlays:!0}:{},expectNonBlankCanvas:b})).outerHTML:await jo(x,g.width,g.height,d+1,{...p?{hideObjectIds:p}:{},expectNonBlankCanvas:b});h&&u(ge(d),h,{width:g.width,height:g.height},"page")}catch(p){s.set(ge(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=Ut(d,p.kind);try{const m=Lr(r==null?void 0:r.get(h)),S=await cn(b,m?{hideObjectIds:m,stripRichTextOverlays:!0}:{});u(h,S.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=ge(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 Gl(t){const{pages:e,geometry:n,documentFont:r,componentColors:o,documentMargins:i,bandExtractions:a,pageExtractions:l}=t,s=new Map;try{const c=e.map((T,A)=>document.getElementById(`page-${A+1}`));await ql(c);const{entries:u,keyToEntry:d,jobFailures:f}=await Ul(e,n,c,a,l);if(u.length===0)return{images:s,jobFailures:f};const{styles:g,customProperties:x}=await zo(r,o,i,u.map(T=>T.html)),P=new Array(u.length).fill(null);let p;const b=(T,A)=>{const y=[];let C=[],D=0;for(const V of T){const st=Bl(u[V].dimensions),tt=C.length>=A,ut=D+st>jl;C.length>0&&(tt||ut)&&(y.push(C),C=[],D=0),C.push(V),D+=st}return C.length>0&&y.push(C),y},h=async(T,A,y)=>{for(const C of b(T,y))try{const D=await Fo({pages:C.map(V=>u[V].html),styles:g,fontFamily:r||"system-ui, sans-serif",customProperties:x,dimensions:{width:Tt.US_LETTER.width,height:Tt.US_LETTER.height},pageDimensions:C.map(V=>u[V].dimensions),pixelRatio:Xe,...A});C.forEach((V,st)=>{P[V]=D[st]??null})}catch(D){p??(p=D instanceof Error?D.message:String(D)),console.error("DOCX server capture: page-image batch failed",D)}},m=T=>u.reduce((A,y,C)=>(y.kind===T&&A.push(C),A),[]),S=async T=>{const A=y=>T.filter(C=>u[C].kind===y);await h(A("page"),Wl,Hl),await h(A("band"),_l,Dl)},M=()=>u.reduce((T,A,y)=>(P[y]||T.push(y),T),[]);await S([...m("page"),...m("band")]);const E=M();if(E.length>0){const T=new Set(E),A=[];d.forEach((D,V)=>{T.has(D)&&A.push(V)}),await S(E);const y=M(),C=p??null;y.length===0&&(p=void 0),rn({error:new Error("DOCX export: server page capture retried"),extra:{context:"exportPreviewToDocx.serverCaptureRetry",retriedJobKeys:A,retriedEntryCount:E.length,recoveredCount:E.length-y.length,stillMissingCount:y.length,firstPassFailureReason:C}})}return d.forEach((T,A)=>{s.set(A,P[T]??null)}),{images:s,jobFailures:f,...p?{failureReason:p}:{}}}catch(c){if(on(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 Xl(t){if(t.length===0)return null;const e=t.reduce((o,i)=>Math.max(o,i.reduce((a,l)=>a+(l.colSpan||1),0)),0);if(e===0)return null;const n=t.find(o=>o.length===e&&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 Rr="img, table, canvas, svg, hr",Yl=t=>t.split(";").some(e=>{const n=e.indexOf(":");if(n===-1)return!1;const r=e.slice(0,n).trim().toLowerCase();return r!=="background"&&r!=="background-image"?!1:e.slice(n+1).toLowerCase().includes("url(")}),Vl=t=>[t,...Array.from(t.querySelectorAll("[style]"))].some(e=>Yl(e.getAttribute("style")??"")),Jl=t=>(t.textContent??"").trim()!==""||t.matches(Rr)||t.querySelector(Rr)?!1:!Vl(t);function Hr(t){let e=t.lastElementChild;for(;e&&Jl(e);)e.remove(),e=t.lastElementChild}function pe(t){return dn(t)==="jpg"?"jpg":"png"}class Ye extends Error{constructor(e){super(e),this.name="DocxServerCaptureError"}}const Dr=10,Kl=Tt.US_LETTER.width,Zl=Tt.US_LETTER.height,Ql=.15,ts=4,zr=t=>Do(t),jr=t=>{if(Ho(t)){const n=ht(t.canvasWidth/96),r=ht(t.canvasHeight/96);return t.canvasWidth>t.canvasHeight?{width:r,height:n,orientation:sn.LANDSCAPE}:{width:n,height:r,orientation:void 0}}const e=t.orientation==="landscape";return{width:ht(8.5),height:ht(11),orientation:e?sn.LANDSCAPE:void 0}},Br=(t,e)=>{const{width:n,height:r}=zr(t),o=t.orientation==="landscape";return{width:n,height:r,headerBand:o?e.landscapeHeader:e.header,footerBand:o?e.landscapeFooter:e.footer}};function Wr(t,e){const n=Array.from(t.querySelectorAll("table")),r=Array.from(e.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=Xl(l);s&&a.setAttribute("data-col-twips",s.join(","))})}function _r(t,e){const n=Array.from(t.querySelectorAll("tr")),r=Array.from(e.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 es="markdown-export-preview-container",ns=[{kind:"header",selector:".docx-export-header"},{kind:"footer",selector:".docx-export-footer"}],qr=t=>t.id==="cover-page"||t.id.startsWith("toc-page"),Ur=(t,e)=>!!t&&t.items.some(n=>n.lines.some(r=>r.runs.some(e))),Gr=(t,e)=>Ur(t,n=>n.kind===e),Xr=(t,e)=>t.items.length===0?!1:e>=1?!0:!Ur(t,n=>n.kind==="page-number"&&n.hiddenAtPageZero!==!0),Yr="canvas-blocking",rs=()=>{const t=new Map,e=n=>{const r=t.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 t.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=e(r);return i?`${l}|lifted|${s}|${JSON.stringify(i.items)}`:`${l}|raster|${s}`}};let Vr;const me=()=>Vr??(Vr=import("./index.client-D86od2fV.js")),os=(t,e,n)=>{me().then(({addBreadcrumb:r})=>r({category:"docx-export",level:"warning",message:"docx editable chrome fallback",data:{band:t,page:e,...n?{error:n}:{}}})).catch(()=>{})},is=(t,e)=>{me().then(({addBreadcrumb:n})=>n({category:"docx-export",level:"warning",message:"docx editable canvas text fallback",data:{page:t,...e?{error:e}:{}}})).catch(()=>{})},Jr=t=>{var e;if(!(t instanceof Error))return String(t);const n=(((e=t.stack)==null?void 0:e.split(`
11
- `)[1])??"").trim();return n?`${t.message} @ ${n}`:t.message},Kr=(t,e)=>{me().then(({addBreadcrumb:n})=>n({category:"docx-export",level:"warning",message:"docx text lift bounds unreadable",data:{surface:t,page:e}})).catch(()=>{})},Zr=(t,e,n)=>{me().then(({captureMessage:r})=>r(`docx text lift threw on ${t} (page ${e}): ${n}`,"warning")).catch(()=>{})},as=async t=>{var e,n,r;const{pages:o,documentFont:i,componentColors:a,documentName:l="Document",returnBlobOnly:s=!1,documentMargins:c,headerBandHeight:u=Tt.HEADER_FOOTER.height,footerBandHeight:d=Tt.HEADER_FOOTER.height,landscapeHeaderBandHeight:f=u,landscapeFooterBandHeight:g=d,cssContainerClass:x}=t,P=x===es?"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&&qr(v)).length,h=o.length-b,m=v=>{const N=o[v];return!N||qr(N)?0:v+1-b},S=h===o.length?{totalPagesAsField:!0}:{totalPagesAsField:!1,resolvedTotalPages:String(h)},M=((e=t.variableValues)==null?void 0:e.date)??Io(),E=(()=>{var v,N;const O=new Map,$={header:(v=t.headerKonvaData)==null?void 0:v.konvaJson,footer:(N=t.footerKonvaData)==null?void 0:N.konvaJson};for(let j=0;j<o.length;j++){const U=o[j];if(!U||te(U)||U.skipHeaderFooter)continue;const et=document.getElementById(`page-${j+1}`);if(!et)continue;const K=m(j),pt=ko(t.variableValues,K,h);delete pt.page_number,delete pt.total_pages;const Ct={variableValues:pt,currentDateText:M,pageNumber:K,totalPages:h};for(const J of ns){const it=et.querySelector(J.selector);if(!it)continue;let nt;const dt=sl(it,{...Ct,sourceCanvasJson:$[J.kind]},{onError:at=>{nt=at},onUnreadableBounds:()=>Kr(J.kind,j+1)});if(!dt){const at=nt===void 0?void 0:Jr(nt);os(J.kind,j+1,at),at!==void 0&&Zr(J.kind,j+1,at);continue}Xr(dt,K)&&O.set(Ut(j,J.kind),dt)}}return O})(),T=(()=>{const v=new Map,N={...t.variableValues??{}};for(let O=0;O<o.length;O++){const $=o[O];if(!$||!te($)||$.pdfPageImport)continue;const j=document.getElementById(`page-${O+1}`);if(!j)continue;let U;const et=cl(j,{variableValues:N,currentDateText:M},{onError:K=>{U=K},onUnreadableBounds:()=>Kr("page",O+1)});if(!et){const K=U===void 0?void 0:Jr(U);is(O+1,K),K!==void 0&&Zr("page",O+1,K);continue}Xr(et,m(O))&&v.set(O,et)}return v})(),A=await Gl({pages:o,geometry:o.map(v=>Br(v??{},p)),documentFont:i,componentColors:a,documentMargins:c,bandExtractions:E,pageExtractions:T}),y=[],C=v=>{const N=A.jobFailures.get(v);return N?`reconciliation/clone threw: ${N}`:A.failureReason?`batch failed: ${A.failureReason}`:A.images.has(v)?"server could not render":"no capture job was produced"},D=(v,N,O)=>{const $=A.images.get(v);return $&&$.length>0?$:(y.push(`page ${N+1} ${O} (${C(v)})`),null)},V=[];let st=!1,tt=0;const ut=rs(),gt={header:null,footer:null};for(let v=0;v<o.length;v++){const N=o[v];if(!N)continue;const O=v+1,$=document.getElementById(`page-${O}`);if(!$){console.warn(`DOCX export: page-${O} not found in DOM`),y.push(`page ${O} (page element not found in the DOM)`);continue}const j=te(N),U=N.orientation==="landscape",{width:et,height:K,headerBand:pt,footerBand:Ct}=Br(N,p),J=[];let it=null,nt=null,dt="";if(j){if($){const q=D(ge(v),v,"page");if(q&&q.length>0){const F=N.canvasWidth||Kl,G=N.canvasHeight||Zl,I=et,Q=K,mt=F/G,W=I/Q;let X,H;mt>W?(X=I,H=I/mt):(H=Q,X=Q*mt),N.destAnchor&&(H=Math.min(H,Q-ts),J.push(new L({heading:Rt.HEADING_1,children:[new Qe({id:N.destAnchor,children:[new R({text:N.destTitle||"",size:2,color:"FFFFFF"})]})],spacing:{before:0,after:0,line:1,lineRule:_.EXACT}})));const ct=pe(q),xt=T.get(v);xt?(J.push(...Rl(xt,{data:q,type:ct},{canvasWidthPx:F,canvasHeightPx:G,displayWidthPx:X,displayHeightPx:H,offsetXPx:(I-X)/2},i??"",tt)),tt+=xt.items.length):J.push(new L({children:[new It({type:ct,data:q,transformation:{width:X,height:H}})],spacing:{before:0,after:0,line:240,lineRule:_.AUTO},alignment:Y.CENTER}))}}}else{const q=$.querySelector(".preview-page-content");if(q){const F=q.cloneNode(!0);Wr(q,F),_r(q,F),F.querySelectorAll("[data-fabric-canvas-placeholder]").forEach(I=>I.remove()),Hr(F);const G=Array.from(F.querySelectorAll("canvas:not(.upper-canvas)"));for(const I of G){const Q=Array.from(q.querySelectorAll("canvas:not(.upper-canvas)")),mt=Array.from(F.querySelectorAll("canvas:not(.upper-canvas)")).indexOf(I),W=Q[mt];if(W&&W.width>0&&W.height>0)try{const X=un(W,4,.95);if(X){const H=document.createElement("img");H.src=X,H.style.width=W.style.width||`${W.width}px`,H.style.height=W.style.height||`${W.height}px`,H.style.display="block",(n=I.parentElement)==null||n.replaceChild(H,I)}}catch(X){if(Te(X))throw X}}dt=F.innerHTML}else{const F=$.cloneNode(!0);Wr($,F),_r($,F);const G=F.querySelector(".page-header"),I=F.querySelector(".page-footer");G&&G.remove(),I&&I.remove(),F.querySelectorAll("[data-fabric-canvas-placeholder]").forEach(W=>W.remove()),Hr(F);const Q=Array.from(F.querySelectorAll("canvas:not(.upper-canvas)")),mt=Array.from($.querySelectorAll("canvas:not(.upper-canvas)"));for(let W=0;W<Q.length;W++){const X=Q[W],H=mt[W];if(X&&H&&H.width>0&&H.height>0)try{const ct=un(H,4,.95);if(ct){const xt=document.createElement("img");xt.src=ct,xt.style.width=H.style.width||`${H.width}px`,xt.style.height=H.style.height||`${H.height}px`,xt.style.display="block",(r=X.parentElement)==null||r.replaceChild(xt,X)}}catch(ct){if(Te(ct))throw ct}}dt=F.innerHTML}if(!N.skipHeaderFooter){const F=$.querySelector(".docx-export-header"),G=$.querySelector(".docx-export-footer");F&&(it=D(Ut(v,"header"),v,"header")),G&&(nt=D(Ut(v,"footer"),v,"footer"))}if(dt){const F=ee((c==null?void 0:c.left)??Ht.left),G=ee((c==null?void 0:c.right)??Ht.right),I=await Un(dt,{componentColors:a,documentFont:i,leftMarginPx:F,rightMarginPx:G,isLandscape:U,contentWidthPx:et-F-G,contentHeightPx:K-(it&&it.length>0?pt:0)-(nt&&nt.length>0?Ct:0)-ee((c==null?void 0:c.top)??Ht.top)-ee((c==null?void 0:c.bottom)??Ht.bottom),previewContext:P,tocPagerefFields:!0},j);J.push(...I)}}const at=!!it&&it.length>0,Ot=!!nt&&nt.length>0,Gt=at?pe(it):"png",Xt=Ot?pe(nt):"png",Pt=at?pt/96:0,Nt=Ot?Ct/96:0,ft=E.get(Ut(v,"header")),Ft=E.get(Ut(v,"footer")),Yt=m(v)<1,Qt=ft!==void 0||Ft!==void 0,xe=Gr(ft,"page-number")||Gr(Ft,"page-number");let Mt=null;Yt?Qt&&(Mt=0):!st&&xe&&(Mt=m(v),st=!0);const be=(q,F,G,I,Q)=>!F||F.length===0?[new L({text:"",spacing:{before:0,after:0,line:240,lineRule:_.AUTO}})]:Q?Ml(Q,{data:F,type:G},{bandKind:q,pageWidthPx:et,pageHeightPx:K,bandHeightPx:I},i??"",S):[new L({children:[new It({type:G,data:F,transformation:{width:et,height:I}})],spacing:{before:0,after:0,line:240,lineRule:_.AUTO}})],B=j?{top:0,right:0,bottom:0,left:0,header:0,footer:0}:{top:ht(Pt+((c==null?void 0:c.top)??Ht.top)),right:ht(0),bottom:ht(Math.max(Nt,Nt+((c==null?void 0:c.bottom)??Ht.bottom)-Ql)),left:ht(0),header:0,footer:0},lt=jr(N),Et={properties:{page:{margin:B,size:{width:lt.width,height:lt.height,orientation:lt.orientation},...Mt!==null?{pageNumbers:{start:Mt}}:{}}},children:J.length>0?J:[new L({text:"",spacing:{before:0,after:0,line:240,lineRule:_.AUTO}})]};if(j){const q=()=>new L({text:"",spacing:{before:0,after:0,line:1,lineRule:_.EXACT}});Et.headers={default:new an({children:[q()]})},Et.footers={default:new ln({children:[q()]})},gt.header=Yr,gt.footer=Yr}else{const q=(I,Q,mt,W,X,H)=>{const ct=ut({bandKind:I,imageBuffer:Q,bandHeightPx:W,extraction:X,pageSize:lt});if(ct!==gt[I])return gt[I]=ct,H(be(I,Q,mt,W,X))},F=q("header",it,Gt,pt,ft,I=>({default:new an({children:I})}));F&&(Et.headers=F);const G=q("footer",nt,Xt,Ct,Ft,I=>({default:new ln({children:I})}));G&&(Et.footers=G)}V.push(Et)}if(y.length>0){const v=y.slice(0,Dr).join("; "),N=y.length-Dr,O=N>0?` (and ${N} more)`:"",$=`DOCX export failed: the server did not return ${y.length} page image(s) \u2014 ${v}${O}`;throw rn({error:new Error($),extra:{context:"exportPreviewToDocx.serverCaptureFailed",missCount:y.length,misses:y,batchFailureReason:A.failureReason??null}}),new Ye($)}const vt=new Oo({numbering:{config:[{reference:"default-numbering",format:Ae.DECIMAL},{reference:"lower-letter-numbering",format:Ae.LOWER_LETTER},{reference:"lower-roman-numbering",format:Ae.LOWER_ROMAN}].map(({reference:v,format:N})=>({reference:v,levels:[{level:0,format:N,text:"%1.",alignment:Y.START,style:{paragraph:{indent:{left:ht(.5),hanging:ht(.25)}}}}]}))},sections:V}),z=await Lo.toBlob(vt);if(s)return z;Ro.saveAs(z,`${l}.docx`)}catch(p){throw on(p)||(console.error("Export to DOCX failed:",p),p instanceof Ye||Te(p))?p:new Error("Failed to export document to DOCX")}};export{Ye as DocxServerCaptureError,jr as docxPageSize,as as exportPreviewToDocx,zr as pageFrameSize,pe as sniffDocxBandType};
@@ -1 +0,0 @@
1
- import{dN as j,dO as D,dP as S,b_ as Q,dQ as W,dR as z,dS as U,c1 as J,c2 as Y,d4 as G}from"./runtime-Dn4RiA4k.js";import{b as X,a as Z,N as ee,n as te,c as re,d as oe}from"./exportPageHtml-BnFgCZsS.js";import{awaitExportImagesReady as ae}from"./exportImageReadiness-BIPaS2Oz.js";const ne=t=>new Promise(i=>{if(t.complete){i();return}if(typeof t.addEventListener!="function"){i();return}const s=()=>i();t.addEventListener("load",s,{once:!0}),t.addEventListener("error",s,{once:!0})});async function se(t){return t.src.startsWith("data:")?t.src:(await ne(t),new Promise((i,s)=>{const a=document.createElement("canvas"),p=a.getContext("2d");if(!p){s(new Error("Could not get canvas context"));return}const l=new Image;l.crossOrigin="anonymous",l.onload=()=>{try{a.width=l.naturalWidth||t.naturalWidth||t.width||100,a.height=l.naturalHeight||t.naturalHeight||t.height||100,p.drawImage(l,0,0),i(a.toDataURL("image/png"))}catch(m){console.error("Error converting image to base64:",m),s(new Error("Failed to convert image to base64"))}},l.onerror=m=>{console.error("Error loading image:",m),s(new Error("Failed to load image"))},l.src=t.src}))}const ie=U.US_LETTER.width,ce=U.US_LETTER.height,$=(t,i)=>{const s=t.get(i);if(s===null)return 0;const a=Number.parseInt(s,10);return Number.isFinite(a)&&a>=0?a:0},I=t=>{const i=t.get("x-native-pages-fallback-kinds");if(!(t.get("x-native-pages-requested")!==null||t.get("x-native-pages-spliced")!==null||t.get("x-native-pages-fallback")!==null||i!==null))return null;const s=new Map;for(const p of(i??"").split(",")){const l=p.lastIndexOf(":");if(l<=0)continue;const m=p.slice(0,l).trim(),F=Number.parseInt(p.slice(l+1),10);!m||!Number.isFinite(F)||F<=0||s.set(m,(s.get(m)??0)+F)}let a=0;for(const p of s.values())a+=p;return{requested:$(t,"x-native-pages-requested"),spliced:$(t,"x-native-pages-spliced"),fallback:Math.max($(t,"x-native-pages-fallback"),a),fallbackKinds:Object.fromEntries(s)}},le=async t=>{const{pages:i,documentName:s,documentFont:a,componentColors:p,cssContainerClass:l,returnBlobOnly:m=!1,companyLogo:F,applyHeadingColors:de=!1,headerKonvaData:ue,footerKonvaData:pe,documentMargins:H,variableValues:me,onSpliceReport:k}=t;try{const d=i.map((r,o)=>document.getElementById(`page-${o+1}`));await ae(d);const c=new Array(i.length);await Promise.all(i.map(async(r,o)=>{const b=o+1,{width:C,height:O}=j(r),A=`<div style="width: ${C}px; height: ${O}px; background: white;"></div>`;if(!r){c[o]=A;return}const x=d[o];if(!x){c[o]=A;return}if(D(r)&&r.useFabric)try{const e=await X(x);c[o]=e.outerHTML}catch(e){if(S(e))throw e;console.error(`Failed to capture V2 canvas page ${b}:`,e),Q({error:e instanceof Error?e:new Error(String(e)),extra:{context:"exportPreviewToPdf.canvasPageCaptureFailed",pageNumber:b,reason:e instanceof Error?e.message:String(e)}}),c[o]=A}else if(D(r))try{c[o]=await Z(x,C,O,b)??A}catch(e){if(S(e))throw e;console.error(`Failed to capture canvas page ${b}:`,e),c[o]=A}else try{const e=x.cloneNode(!0);ee.forEach(n=>{e.querySelectorAll(n).forEach(g=>g.remove())}),e.querySelectorAll(".text-rich-display").forEach(n=>te(n));const P=Array.from(e.querySelectorAll("canvas:not(.upper-canvas)"));if(P.length>0){const n=Array.from(x.querySelectorAll("canvas:not(.upper-canvas)"));for(let g=0;g<P.length;g++){const E=P[g],u=n[g];if(u&&u.width>0&&u.height>0)try{const w=await re(u,{pixelRatio:4,quality:.98,skipHiddenText:!0});if(w&&typeof w=="string"){const h=document.createElement("img");h.src=w,h.style.width=`${u.style.width||u.width+"px"}`,h.style.height=`${u.style.height||u.height+"px"}`,h.style.display="block",h.style.margin="0",h.style.padding="0",h.style.border="0",h.style.imageRendering="-webkit-optimize-contrast";const q=E.parentElement;q&&q.replaceChild(h,E)}}catch(w){if(S(w))throw w;console.warn(`Failed to capture canvas ${g+1}:`,w)}}}const L=Array.from(e.querySelectorAll("img"));if(L.length>0){const n="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVQYV2NgAAIAAAUAAarVyFEAAAAASUVORK5CYII=",g=L.map(async E=>{try{const u=await se(E);return E.src=u,!0}catch(u){return console.warn("Failed to convert image to base64, using placeholder:",u),E.src=n,!1}});await Promise.all(g)}e.querySelectorAll("[data-section-id]").forEach(n=>{n.removeAttribute("data-section-id"),n.removeAttribute("onmouseover"),n.removeAttribute("onmouseout"),n.removeAttribute("onclick")}),e.querySelectorAll('[data-page-break="true"], .page-break-marker').forEach(n=>n.remove()),e.querySelectorAll("canvas.upper-canvas").forEach(n=>n.remove()),a&&(e.style.fontFamily=a);let R=e.outerHTML;if(l){const n=a?`font-family: ${a};`:"";R=`<div class="${l}" style="${n}">${R}</div>`}c[o]=R}catch(e){if(S(e))throw e;console.error(`Failed to process HTML page ${b}:`,e),c[o]=A}})),i.forEach((r,o)=>{r!=null&&r.destAnchor&&c[o]&&(c[o]=`${W(r.destAnchor,r.destTitle??"")}${c[o]}`)});const{styles:B,customProperties:V}=await oe(a,p,H,c),{pageDimensions:N,nativePageSources:T}=z(i),K=JSON.stringify({styles:B,fontFamily:a||"system-ui, sans-serif",customProperties:V,dimensions:{width:ie,height:ce},documentName:s||"document",...N?{pageDimensions:N}:{},...T?{nativePageSources:T}:{}}),y=[],M=K.slice(0,-1);y.push(M+',"pages":[');for(let r=0;r<c.length;r++)r>0&&y.push(","),y.push(JSON.stringify(c[r])),c[r]="";y.push("]}");const _=new Blob(y,{type:"application/json"});y.length=0;const f=await J(`${Y}/document_builder/export/pdf`,{method:"POST",body:_});if(!f.ok){const r=await f.text().catch(()=>"Unknown error");throw console.error("PDF export failed:",{status:f.status,statusText:f.statusText,error:r}),new Error(`Failed to generate PDF: Server returned ${f.status} ${f.statusText}`)}k==null||k(I(f.headers));const v=await f.blob();if(!v)throw new Error("Failed to generate PDF: No data received from server");if(!(v instanceof Blob))throw new Error(`Failed to generate PDF: Invalid response format (received ${typeof v})`);if(v.size===0)throw new Error("Failed to generate PDF: Received empty file");if(!m){const r=window.URL.createObjectURL(v),o=document.createElement("a");o.href=r,o.download=`${s||"document"}.pdf`,document.body.appendChild(o),o.click(),document.body.removeChild(o),window.URL.revokeObjectURL(r)}return v}catch(d){throw G(d)||(console.error("PDF export error:",d),((d==null?void 0:d.code)==="ERR_NETWORK"||(d==null?void 0:d.code)==="ECONNABORTED")&&console.error("Network/timeout error details:",{code:d.code,message:d.message,config:d.config})),d}};export{le as exportPreviewToPdf,I as parseSpliceReportHeaders};
@@ -1 +0,0 @@
1
- import{dy as b}from"./runtime-Dn4RiA4k.js";function h(r,a){for(var n=0;n<a.length;n++){const t=a[n];if(typeof t!="string"&&!Array.isArray(t)){for(const e in t)if(e!=="default"&&!(e in r)){const s=Object.getOwnPropertyDescriptor(t,e);s&&Object.defineProperty(r,e,s.get?s:{enumerable:!0,get:()=>t[e]})}}}return Object.freeze(Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}))}var o,d;function f(){if(d)return o;d=1,o=r,r.displayName="factor",r.aliases=[];function r(a){(function(n){var t={function:/\b(?:BUGS?|FIX(?:MES?)?|NOTES?|TODOS?|XX+|HACKS?|WARN(?:ING)?|\?{2,}|!{2,})\b/},e={number:/\\[^\s']|%\w/},s={comment:[{pattern:/(^|\s)(?:! .*|!$)/,lookbehind:!0,inside:t},{pattern:/(^|\s)\/\*\s[\s\S]*?\*\/(?=\s|$)/,lookbehind:!0,greedy:!0,inside:t},{pattern:/(^|\s)!\[(={0,6})\[\s[\s\S]*?\]\2\](?=\s|$)/,lookbehind:!0,greedy:!0,inside:t}],number:[{pattern:/(^|\s)[+-]?\d+(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)[+-]?0(?:b[01]+|o[0-7]+|d\d+|x[\dA-F]+)(?=\s|$)/i,lookbehind:!0},{pattern:/(^|\s)[+-]?\d+\/\d+\.?(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)\+?\d+\+\d+\/\d+(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)-\d+-\d+\/\d+(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)[+-]?(?:\d*\.\d+|\d+\.\d*|\d+)(?:e[+-]?\d+)?(?=\s|$)/i,lookbehind:!0},{pattern:/(^|\s)NAN:\s+[\da-fA-F]+(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)[+-]?0(?:b1\.[01]*|o1\.[0-7]*|d1\.\d*|x1\.[\dA-F]*)p\d+(?=\s|$)/i,lookbehind:!0}],regexp:{pattern:/(^|\s)R\/\s(?:\\\S|[^\\/])*\/(?:[idmsr]*|[idmsr]+-[idmsr]+)(?=\s|$)/,lookbehind:!0,alias:"number",inside:{variable:/\\\S/,keyword:/[+?*\[\]^$(){}.|]/,operator:{pattern:/(\/)[idmsr]+(?:-[idmsr]+)?/,lookbehind:!0}}},boolean:{pattern:/(^|\s)[tf](?=\s|$)/,lookbehind:!0},"custom-string":{pattern:/(^|\s)[A-Z0-9\-]+"\s(?:\\\S|[^"\\])*"/,lookbehind:!0,greedy:!0,alias:"string",inside:{number:/\\\S|%\w|\//}},"multiline-string":[{pattern:/(^|\s)STRING:\s+\S+(?:\n|\r\n).*(?:\n|\r\n)\s*;(?=\s|$)/,lookbehind:!0,greedy:!0,alias:"string",inside:{number:e.number,"semicolon-or-setlocal":{pattern:/([\r\n][ \t]*);(?=\s|$)/,lookbehind:!0,alias:"function"}}},{pattern:/(^|\s)HEREDOC:\s+\S+(?:\n|\r\n).*(?:\n|\r\n)\s*\S+(?=\s|$)/,lookbehind:!0,greedy:!0,alias:"string",inside:e},{pattern:/(^|\s)\[(={0,6})\[\s[\s\S]*?\]\2\](?=\s|$)/,lookbehind:!0,greedy:!0,alias:"string",inside:e}],"special-using":{pattern:/(^|\s)USING:(?:\s\S+)*(?=\s+;(?:\s|$))/,lookbehind:!0,alias:"function",inside:{string:{pattern:/(\s)[^:\s]+/,lookbehind:!0}}},"stack-effect-delimiter":[{pattern:/(^|\s)(?:call|eval|execute)?\((?=\s)/,lookbehind:!0,alias:"operator"},{pattern:/(\s)--(?=\s)/,lookbehind:!0,alias:"operator"},{pattern:/(\s)\)(?=\s|$)/,lookbehind:!0,alias:"operator"}],combinators:{pattern:null,lookbehind:!0,alias:"keyword"},"kernel-builtin":{pattern:null,lookbehind:!0,alias:"variable"},"sequences-builtin":{pattern:null,lookbehind:!0,alias:"variable"},"math-builtin":{pattern:null,lookbehind:!0,alias:"variable"},"constructor-word":{pattern:/(^|\s)<(?!=+>|-+>)\S+>(?=\s|$)/,lookbehind:!0,alias:"keyword"},"other-builtin-syntax":{pattern:null,lookbehind:!0,alias:"operator"},"conventionally-named-word":{pattern:/(^|\s)(?!")(?:(?:change|new|set|with)-\S+|\$\S+|>[^>\s]+|[^:>\s]+>|[^>\s]+>[^>\s]+|\+[^+\s]+\+|[^?\s]+\?|\?[^?\s]+|[^>\s]+>>|>>[^>\s]+|[^<\s]+<<|\([^()\s]+\)|[^!\s]+!|[^*\s]\S*\*|[^.\s]\S*\.)(?=\s|$)/,lookbehind:!0,alias:"keyword"},"colon-syntax":{pattern:/(^|\s)(?:[A-Z0-9\-]+#?)?:{1,2}\s+(?:;\S+|(?!;)\S+)(?=\s|$)/,lookbehind:!0,greedy:!0,alias:"function"},"semicolon-or-setlocal":{pattern:/(\s)(?:;|:>)(?=\s|$)/,lookbehind:!0,alias:"function"},"curly-brace-literal-delimiter":[{pattern:/(^|\s)[a-z]*\{(?=\s)/i,lookbehind:!0,alias:"operator"},{pattern:/(\s)\}(?=\s|$)/,lookbehind:!0,alias:"operator"}],"quotation-delimiter":[{pattern:/(^|\s)\[(?=\s)/,lookbehind:!0,alias:"operator"},{pattern:/(\s)\](?=\s|$)/,lookbehind:!0,alias:"operator"}],"normal-word":{pattern:/(^|\s)[^"\s]\S*(?=\s|$)/,lookbehind:!0},string:{pattern:/"(?:\\\S|[^"\\])*"/,greedy:!0,inside:e}},u=function(i){return(i+"").replace(/([.?*+\^$\[\]\\(){}|\-])/g,"\\$1")},l=function(i){return new RegExp("(^|\\s)(?:"+i.map(u).join("|")+")(?=\\s|$)")},p={"kernel-builtin":["or","2nipd","4drop","tuck","wrapper","nip","wrapper?","callstack>array","die","dupd","callstack","callstack?","3dup","hashcode","pick","4nip","build",">boolean","nipd","clone","5nip","eq?","?","=","swapd","2over","clear","2dup","get-retainstack","not","tuple?","dup","3nipd","call","-rotd","object","drop","assert=","assert?","-rot","execute","boa","get-callstack","curried?","3drop","pickd","overd","over","roll","3nip","swap","and","2nip","rotd","throw","(clone)","hashcode*","spin","reach","4dup","equal?","get-datastack","assert","2drop","<wrapper>","boolean?","identity-hashcode","identity-tuple?","null","composed?","new","5drop","rot","-roll","xor","identity-tuple","boolean"],"other-builtin-syntax":["=======","recursive","flushable",">>","<<<<<<","M\\","B","PRIVATE>","\\","======","final","inline","delimiter","deprecated","<PRIVATE",">>>>>>","<<<<<<<","parse-complex","malformed-complex","read-only",">>>>>>>","call-next-method","<<","foldable","$","$[","${"],"sequences-builtin":["member-eq?","mismatch","append","assert-sequence=","longer","repetition","clone-like","3sequence","assert-sequence?","last-index-from","reversed","index-from","cut*","pad-tail","join-as","remove-eq!","concat-as","but-last","snip","nths","nth","sequence","longest","slice?","<slice>","remove-nth","tail-slice","empty?","tail*","member?","virtual-sequence?","set-length","drop-prefix","iota","unclip","bounds-error?","unclip-last-slice","non-negative-integer-expected","non-negative-integer-expected?","midpoint@","longer?","?set-nth","?first","rest-slice","prepend-as","prepend","fourth","sift","subseq-start","new-sequence","?last","like","first4","1sequence","reverse","slice","virtual@","repetition?","set-last","index","4sequence","max-length","set-second","immutable-sequence","first2","first3","supremum","unclip-slice","suffix!","insert-nth","tail","3append","short","suffix","concat","flip","immutable?","reverse!","2sequence","sum","delete-all","indices","snip-slice","<iota>","check-slice","sequence?","head","append-as","halves","sequence=","collapse-slice","?second","slice-error?","product","bounds-check?","bounds-check","immutable","virtual-exemplar","harvest","remove","pad-head","last","set-fourth","cartesian-product","remove-eq","shorten","shorter","reversed?","shorter?","shortest","head-slice","pop*","tail-slice*","but-last-slice","iota?","append!","cut-slice","new-resizable","head-slice*","sequence-hashcode","pop","set-nth","?nth","second","join","immutable-sequence?","<reversed>","3append-as","virtual-sequence","subseq?","remove-nth!","length","last-index","lengthen","assert-sequence","copy","move","third","first","tail?","set-first","prefix","bounds-error","<repetition>","exchange","surround","cut","min-length","set-third","push-all","head?","subseq-start-from","delete-slice","rest","sum-lengths","head*","infimum","remove!","glue","slice-error","subseq","push","replace-slice","subseq-as","unclip-last"],"math-builtin":["number=","next-power-of-2","?1+","fp-special?","imaginary-part","float>bits","number?","fp-infinity?","bignum?","fp-snan?","denominator","gcd","*","+","fp-bitwise=","-","u>=","/",">=","bitand","power-of-2?","log2-expects-positive","neg?","<","log2",">","integer?","number","bits>double","2/","zero?","bits>float","float?","shift","ratio?","rect>","even?","ratio","fp-sign","bitnot",">fixnum","complex?","/i","integer>fixnum","/f","sgn",">bignum","next-float","u<","u>","mod","recip","rational",">float","2^","integer","fixnum?","neg","fixnum","sq","bignum",">rect","bit?","fp-qnan?","simple-gcd","complex","<fp-nan>","real",">fraction","double>bits","bitor","rem","fp-nan-payload","real-part","log2-expects-positive?","prev-float","align","unordered?","float","fp-nan?","abs","bitxor","integer>fixnum-strict","u<=","odd?","<=","/mod",">integer","real?","rational?","numerator"]};Object.keys(p).forEach(function(i){s[i].pattern=l(p[i])});var m=["2bi","while","2tri","bi*","4dip","both?","same?","tri@","curry","prepose","3bi","?if","tri*","2keep","3keep","curried","2keepd","when","2bi*","2tri*","4keep","bi@","keepdd","do","unless*","tri-curry","if*","loop","bi-curry*","when*","2bi@","2tri@","with","2with","either?","bi","until","3dip","3curry","tri-curry*","tri-curry@","bi-curry","keepd","compose","2dip","if","3tri","unless","tuple","keep","2curry","tri","most","while*","dip","composed","bi-curry@","find-last-from","trim-head-slice","map-as","each-from","none?","trim-tail","partition","if-empty","accumulate*","reject!","find-from","accumulate-as","collector-for-as","reject","map","map-sum","accumulate!","2each-from","follow","supremum-by","map!","unless-empty","collector","padding","reduce-index","replicate-as","infimum-by","trim-tail-slice","count","find-index","filter","accumulate*!","reject-as","map-integers","map-find","reduce","selector","interleave","2map","filter-as","binary-reduce","map-index-as","find","produce","filter!","replicate","cartesian-map","cartesian-each","find-index-from","map-find-last","3map-as","3map","find-last","selector-as","2map-as","2map-reduce","accumulate","each","each-index","accumulate*-as","when-empty","all?","collector-as","push-either","new-like","collector-for","2selector","push-if","2all?","map-reduce","3each","any?","trim-slice","2reduce","change-nth","produce-as","2each","trim","trim-head","cartesian-find","map-index","if-zero","each-integer","unless-zero","(find-integer)","when-zero","find-last-integer","(all-integers?)","times","(each-integer)","find-integer","all-integers?","unless-negative","if-positive","when-positive","when-negative","unless-positive","if-negative","case","2cleave","cond>quot","case>quot","3cleave","wrong-values","to-fixed-point","alist>quot","cond","cleave","call-effect","recursive-hashcode","spread","deep-spread>quot","2||","0||","n||","0&&","2&&","3||","1||","1&&","n&&","3&&","smart-unless*","keep-inputs","reduce-outputs","smart-when*","cleave>array","smart-with","smart-apply","smart-if","inputs/outputs","output>sequence-n","map-outputs","map-reduce-outputs","dropping","output>array","smart-map-reduce","smart-2map-reduce","output>array-n","nullary","input<sequence","append-outputs","drop-inputs","inputs","smart-2reduce","drop-outputs","smart-reduce","preserving","smart-when","outputs","append-outputs-as","smart-unless","smart-if*","sum-outputs","input<sequence-unsafe","output>sequence"];s.combinators.pattern=l(m),n.languages.factor=s})(a)}return o}var c=f();const g=b(c),k=h({__proto__:null,default:g},[c]);export{k as f};
@@ -1 +0,0 @@
1
- import{dy as c}from"./runtime-Dn4RiA4k.js";function f(e,n){for(var t=0;t<n.length;t++){const r=n[t];if(typeof r!="string"&&!Array.isArray(r)){for(const a in r)if(a!=="default"&&!(a in e)){const o=Object.getOwnPropertyDescriptor(r,a);o&&Object.defineProperty(e,a,o.get?o:{enumerable:!0,get:()=>r[a]})}}}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="$false",e.aliases=[];function e(n){(function(t){t.languages.false={comment:{pattern:/\{[^}]*\}/},string:{pattern:/"[^"]*"/,greedy:!0},"character-code":{pattern:/'(?:[^\r]|\r\n?)/,alias:"number"},"assembler-code":{pattern:/\d+`/,alias:"important"},number:/\d+/,operator:/[-!#$%&'*+,./:;=>?@\\^_`|~ßø]/,punctuation:/\[|\]/,variable:/[a-z]/,"non-standard":{pattern:/[()<BDO®]/,alias:"bold"}}})(n)}return i}var l=u();const p=c(l),d=f({__proto__:null,default:p},[l]);export{d as _};
@@ -1 +0,0 @@
1
- import{dy as l}from"./runtime-Dn4RiA4k.js";function c(e,t){for(var o=0;o<t.length;o++){const r=t[o];if(typeof r!="string"&&!Array.isArray(r)){for(const n in r)if(n!=="default"&&!(n in e)){const i=Object.getOwnPropertyDescriptor(r,n);i&&Object.defineProperty(e,n,i.get?i:{enumerable:!0,get:()=>r[n]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}var a,s;function f(){if(s)return a;s=1,a=e,e.displayName="firestoreSecurityRules",e.aliases=[];function e(t){t.languages["firestore-security-rules"]=t.languages.extend("clike",{comment:/\/\/.*/,keyword:/\b(?:allow|function|if|match|null|return|rules_version|service)\b/,operator:/&&|\|\||[<>!=]=?|[-+*/%]|\b(?:in|is)\b/}),delete t.languages["firestore-security-rules"]["class-name"],t.languages.insertBefore("firestore-security-rules","keyword",{path:{pattern:/(^|[\s(),])(?:\/(?:[\w\xA0-\uFFFF]+|\{[\w\xA0-\uFFFF]+(?:=\*\*)?\}|\$\([\w\xA0-\uFFFF.]+\)))+/,lookbehind:!0,greedy:!0,inside:{variable:{pattern:/\{[\w\xA0-\uFFFF]+(?:=\*\*)?\}|\$\([\w\xA0-\uFFFF.]+\)/,inside:{operator:/=/,keyword:/\*\*/,punctuation:/[.$(){}]/}},punctuation:/\//}},method:{pattern:/(\ballow\s+)[a-z]+(?:\s*,\s*[a-z]+)*(?=\s*[:;])/,lookbehind:!0,alias:"builtin",inside:{punctuation:/,/}}})}return a}var u=f();const d=l(u),F=c({__proto__:null,default:d},[u]);export{F as f};
@@ -1,7 +0,0 @@
1
- import{cx as c}from"./runtime-Dn4RiA4k.js";const a=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["circle",{cx:"12",cy:"10",r:"3",key:"ilqhr7"}],["path",{d:"M7 20.662V19a2 2 0 0 1 2-2h6a2 2 0 0 1 2 2v1.662",key:"154egf"}]],e=c("circle-user",a);const l=[["path",{d:"M14 2v6a2 2 0 0 0 .245.96l5.51 10.08A2 2 0 0 1 18 22H6a2 2 0 0 1-1.755-2.96l5.51-10.08A2 2 0 0 0 10 8V2",key:"18mbvz"}],["path",{d:"M6.453 15h11.094",key:"3shlmq"}],["path",{d:"M8.5 2h7",key:"csnxdl"}]],r=c("flask-conical",l);export{e as C,r as F};
2
- /**
3
- * @license lucide-react v0.539.0 - ISC
4
- *
5
- * This source code is licensed under the ISC license.
6
- * See the LICENSE file in the root directory of this source tree.
7
- */
@@ -1 +0,0 @@
1
- import{dy as i}from"./runtime-Dn4RiA4k.js";function f(a,r){for(var e=0;e<r.length;e++){const t=r[e];if(typeof t!="string"&&!Array.isArray(t)){for(const n in t)if(n!=="default"&&!(n in a)){const o=Object.getOwnPropertyDescriptor(t,n);o&&Object.defineProperty(a,n,o.get?o:{enumerable:!0,get:()=>t[n]})}}}return Object.freeze(Object.defineProperty(a,Symbol.toStringTag,{value:"Module"}))}var l,s;function g(){if(s)return l;s=1,l=a,a.displayName="flow",a.aliases=[];function a(r){(function(e){e.languages.flow=e.languages.extend("javascript",{}),e.languages.insertBefore("flow","keyword",{type:[{pattern:/\b(?:[Bb]oolean|Function|[Nn]umber|[Ss]tring|any|mixed|null|void)\b/,alias:"tag"}]}),e.languages.flow["function-variable"].pattern=/(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=\s*(?:function\b|(?:\([^()]*\)(?:\s*:\s*\w+)?|(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/i,delete e.languages.flow.parameter,e.languages.insertBefore("flow","operator",{"flow-punctuation":{pattern:/\{\||\|\}/,alias:"punctuation"}}),Array.isArray(e.languages.flow.keyword)||(e.languages.flow.keyword=[e.languages.flow.keyword]),e.languages.flow.keyword.unshift({pattern:/(^|[^$]\b)(?:Class|declare|opaque|type)\b(?!\$)/,lookbehind:!0},{pattern:/(^|[^$]\B)\$(?:Diff|Enum|Exact|Keys|ObjMap|PropertyType|Record|Shape|Subtype|Supertype|await)\b(?!\$)/,lookbehind:!0})})(r)}return l}var u=g();const p=i(u),y=f({__proto__:null,default:p},[u]);export{y as f};
@@ -1 +0,0 @@
1
- import{dy as O}from"./runtime-Dn4RiA4k.js";function I(E,t){for(var T=0;T<t.length;T++){const e=t[T];if(typeof e!="string"&&!Array.isArray(e)){for(const r in e)if(r!=="default"&&!(r in E)){const n=Object.getOwnPropertyDescriptor(e,r);n&&Object.defineProperty(E,r,n.get?n:{enumerable:!0,get:()=>e[r]})}}}return Object.freeze(Object.defineProperty(E,Symbol.toStringTag,{value:"Module"}))}var L,N;function R(){if(N)return L;N=1,L=E,E.displayName="fortran",E.aliases=[];function E(t){t.languages.fortran={"quoted-number":{pattern:/[BOZ](['"])[A-F0-9]+\1/i,alias:"number"},string:{pattern:/(?:\b\w+_)?(['"])(?:\1\1|&(?:\r\n?|\n)(?:[ \t]*!.*(?:\r\n?|\n)|(?![ \t]*!))|(?!\1).)*(?:\1|&)/,inside:{comment:{pattern:/(&(?:\r\n?|\n)\s*)!.*/,lookbehind:!0}}},comment:{pattern:/!.*/,greedy:!0},boolean:/\.(?:FALSE|TRUE)\.(?:_\w+)?/i,number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[ED][+-]?\d+)?(?:_\w+)?/i,keyword:[/\b(?:CHARACTER|COMPLEX|DOUBLE ?PRECISION|INTEGER|LOGICAL|REAL)\b/i,/\b(?:END ?)?(?:BLOCK ?DATA|DO|FILE|FORALL|FUNCTION|IF|INTERFACE|MODULE(?! PROCEDURE)|PROGRAM|SELECT|SUBROUTINE|TYPE|WHERE)\b/i,/\b(?:ALLOCATABLE|ALLOCATE|BACKSPACE|CALL|CASE|CLOSE|COMMON|CONTAINS|CONTINUE|CYCLE|DATA|DEALLOCATE|DIMENSION|DO|END|EQUIVALENCE|EXIT|EXTERNAL|FORMAT|GO ?TO|IMPLICIT(?: NONE)?|INQUIRE|INTENT|INTRINSIC|MODULE PROCEDURE|NAMELIST|NULLIFY|OPEN|OPTIONAL|PARAMETER|POINTER|PRINT|PRIVATE|PUBLIC|READ|RETURN|REWIND|SAVE|SELECT|STOP|TARGET|WHILE|WRITE)\b/i,/\b(?:ASSIGNMENT|DEFAULT|ELEMENTAL|ELSE|ELSEIF|ELSEWHERE|ENTRY|IN|INCLUDE|INOUT|KIND|NULL|ONLY|OPERATOR|OUT|PURE|RECURSIVE|RESULT|SEQUENCE|STAT|THEN|USE)\b/i],operator:[/\*\*|\/\/|=>|[=\/]=|[<>]=?|::|[+\-*=%]|\.[A-Z]+\./i,{pattern:/(^|(?!\().)\/(?!\))/,lookbehind:!0}],punctuation:/\(\/|\/\)|[(),;:&]/}}return L}var A=R();const o=O(A),i=I({__proto__:null,default:o},[A]);export{i as f};
@@ -1 +0,0 @@
1
- import{dy as d}from"./runtime-Dn4RiA4k.js";function c(t,e){for(var a=0;a<e.length;a++){const n=e[a];if(typeof n!="string"&&!Array.isArray(n)){for(const r in n)if(r!=="default"&&!(r in t)){const o=Object.getOwnPropertyDescriptor(n,r);o&&Object.defineProperty(t,r,o.get?o:{enumerable:!0,get:()=>n[r]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}var i,s;function p(){if(s)return i;s=1,i=t,t.displayName="fsharp",t.aliases=[];function t(e){e.languages.fsharp=e.languages.extend("clike",{comment:[{pattern:/(^|[^\\])\(\*(?!\))[\s\S]*?\*\)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(?:"""[\s\S]*?"""|@"(?:""|[^"])*"|"(?:\\[\s\S]|[^\\"])*")B?/,greedy:!0},"class-name":{pattern:/(\b(?:exception|inherit|interface|new|of|type)\s+|\w\s*:\s*|\s:\??>\s*)[.\w]+\b(?:\s*(?:->|\*)\s*[.\w]+\b)*(?!\s*[:.])/,lookbehind:!0,inside:{operator:/->|\*/,punctuation:/\./}},keyword:/\b(?:let|return|use|yield)(?:!\B|\b)|\b(?:abstract|and|as|asr|assert|atomic|base|begin|break|checked|class|component|const|constraint|constructor|continue|default|delegate|do|done|downcast|downto|eager|elif|else|end|event|exception|extern|external|false|finally|fixed|for|fun|function|functor|global|if|in|include|inherit|inline|interface|internal|land|lazy|lor|lsl|lsr|lxor|match|member|method|mixin|mod|module|mutable|namespace|new|not|null|object|of|open|or|override|parallel|private|process|protected|public|pure|rec|sealed|select|sig|static|struct|tailcall|then|to|trait|true|try|type|upcast|val|virtual|void|volatile|when|while|with)\b/,number:[/\b0x[\da-fA-F]+(?:LF|lf|un)?\b/,/\b0b[01]+(?:uy|y)?\b/,/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[fm]|e[+-]?\d+)?\b/i,/\b\d+(?:[IlLsy]|UL|u[lsy]?)?\b/],operator:/([<>~&^])\1\1|([*.:<>&])\2|<-|->|[!=:]=|<?\|{1,3}>?|\??(?:<=|>=|<>|[-+*/%=<>])\??|[!?^&]|~[+~-]|:>|:\?>?/}),e.languages.insertBefore("fsharp","keyword",{preprocessor:{pattern:/(^[\t ]*)#.*/m,lookbehind:!0,alias:"property",inside:{directive:{pattern:/(^#)\b(?:else|endif|if|light|line|nowarn)\b/,lookbehind:!0,alias:"keyword"}}}}),e.languages.insertBefore("fsharp","punctuation",{"computation-expression":{pattern:/\b[_a-z]\w*(?=\s*\{)/i,alias:"keyword"}}),e.languages.insertBefore("fsharp","string",{annotation:{pattern:/\[<.+?>\]/,greedy:!0,inside:{punctuation:/^\[<|>\]$/,"class-name":{pattern:/^\w+$|(^|;\s*)[A-Z]\w*(?=\()/,lookbehind:!0},"annotation-content":{pattern:/[\s\S]+/,inside:e.languages.fsharp}}},char:{pattern:/'(?:[^\\']|\\(?:.|\d{3}|x[a-fA-F\d]{2}|u[a-fA-F\d]{4}|U[a-fA-F\d]{8}))'B?/,greedy:!0}})}return i}var l=p();const u=d(l),f=c({__proto__:null,default:u},[l]);export{f};
@@ -1 +0,0 @@
1
- import{dy as f}from"./runtime-Dn4RiA4k.js";import{r as d}from"./markup-templating-RD0xxf_6.js";function g(a,n){for(var r=0;r<n.length;r++){const t=n[r];if(typeof t!="string"&&!Array.isArray(t)){for(const e in t)if(e!=="default"&&!(e in a)){const i=Object.getOwnPropertyDescriptor(t,e);i&&Object.defineProperty(a,e,i.get?i:{enumerable:!0,get:()=>t[e]})}}}return Object.freeze(Object.defineProperty(a,Symbol.toStringTag,{value:"Module"}))}var l,p;function b(){if(p)return l;p=1;var a=d();l=n,n.displayName="ftl",n.aliases=[];function n(r){r.register(a),(function(t){for(var e=/[^<()"']|\((?:<expr>)*\)|<(?!#--)|<#--(?:[^-]|-(?!->))*-->|"(?:[^\\"]|\\.)*"|'(?:[^\\']|\\.)*'/.source,i=0;i<2;i++)e=e.replace(/<expr>/g,function(){return e});e=e.replace(/<expr>/g,/[^\s\S]/.source);var o={comment:/<#--[\s\S]*?-->/,string:[{pattern:/\br("|')(?:(?!\1)[^\\]|\\.)*\1/,greedy:!0},{pattern:RegExp(/("|')(?:(?!\1|\$\{)[^\\]|\\.|\$\{(?:(?!\})(?:<expr>))*\})*\1/.source.replace(/<expr>/g,function(){return e})),greedy:!0,inside:{interpolation:{pattern:RegExp(/((?:^|[^\\])(?:\\\\)*)\$\{(?:(?!\})(?:<expr>))*\}/.source.replace(/<expr>/g,function(){return e})),lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:null}}}}],keyword:/\b(?:as)\b/,boolean:/\b(?:false|true)\b/,"builtin-function":{pattern:/((?:^|[^?])\?\s*)\w+/,lookbehind:!0,alias:"function"},function:/\b\w+(?=\s*\()/,number:/\b\d+(?:\.\d+)?\b/,operator:/\.\.[<*!]?|->|--|\+\+|&&|\|\||\?{1,2}|[-+*/%!=<>]=?|\b(?:gt|gte|lt|lte)\b/,punctuation:/[,;.:()[\]{}]/};o.string[1].inside.interpolation.inside.rest=o,t.languages.ftl={"ftl-comment":{pattern:/^<#--[\s\S]*/,alias:"comment"},"ftl-directive":{pattern:/^<[\s\S]+>$/,inside:{directive:{pattern:/(^<\/?)[#@][a-z]\w*/i,lookbehind:!0,alias:"keyword"},punctuation:/^<\/?|\/?>$/,content:{pattern:/\s*\S[\s\S]*/,alias:"ftl",inside:o}}},"ftl-interpolation":{pattern:/^\$\{[\s\S]*\}$/,inside:{punctuation:/^\$\{|\}$/,content:{pattern:/\s*\S[\s\S]*/,alias:"ftl",inside:o}}}},t.hooks.add("before-tokenize",function(s){var c=RegExp(/<#--[\s\S]*?-->|<\/?[#@][a-zA-Z](?:<expr>)*?>|\$\{(?:<expr>)*?\}/.source.replace(/<expr>/g,function(){return e}),"gi");t.languages["markup-templating"].buildPlaceholders(s,"ftl",c)}),t.hooks.add("after-tokenize",function(s){t.languages["markup-templating"].tokenizePlaceholders(s,"ftl")})})(r)}return l}var u=b();const m=f(u),x=g({__proto__:null,default:m},[u]);export{x as f};
@@ -1 +0,0 @@
1
- import{dy as u}from"./runtime-Dn4RiA4k.js";function s(n,e){for(var o=0;o<e.length;o++){const t=e[o];if(typeof t!="string"&&!Array.isArray(t)){for(const r in t)if(r!=="default"&&!(r in n)){const a=Object.getOwnPropertyDescriptor(t,r);a&&Object.defineProperty(n,r,a.get?a:{enumerable:!0,get:()=>t[r]})}}}return Object.freeze(Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}))}var i,l;function p(){if(l)return i;l=1,i=n,n.displayName="gap",n.aliases=[];function n(e){e.languages.gap={shell:{pattern:/^gap>[\s\S]*?(?=^gap>|$(?![\s\S]))/m,greedy:!0,inside:{gap:{pattern:/^(gap>).+(?:(?:\r(?:\n|(?!\n))|\n)>.*)*/,lookbehind:!0,inside:null},punctuation:/^gap>/}},comment:{pattern:/#.*/,greedy:!0},string:{pattern:/(^|[^\\'"])(?:'(?:[^\r\n\\']|\\.){1,10}'|"(?:[^\r\n\\"]|\\.)*"(?!")|"""[\s\S]*?""")/,lookbehind:!0,greedy:!0,inside:{continuation:{pattern:/([\r\n])>/,lookbehind:!0,alias:"punctuation"}}},keyword:/\b(?:Assert|Info|IsBound|QUIT|TryNextMethod|Unbind|and|atomic|break|continue|do|elif|else|end|fi|for|function|if|in|local|mod|not|od|or|quit|readonly|readwrite|rec|repeat|return|then|until|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:{pattern:/(^|[^\w.]|\.\.)(?:\d+(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+)?(?:_[a-z]?)?(?=$|[^\w.]|\.\.)/,lookbehind:!0},continuation:{pattern:/([\r\n])>/,lookbehind:!0,alias:"punctuation"},operator:/->|[-+*/^~=!]|<>|[<>]=?|:=|\.\./,punctuation:/[()[\]{},;.:]/},e.languages.gap.shell.inside.gap.inside=e.languages.gap}return i}var d=p();const g=u(d),c=s({__proto__:null,default:g},[d]);export{c as g};
@@ -1 +0,0 @@
1
- import{dy as s}from"./runtime-Dn4RiA4k.js";function d(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,c;function f(){if(c)return i;c=1,i=e,e.displayName="gcode",e.aliases=[];function e(n){n.languages.gcode={comment:/;.*|\B\(.*?\)\B/,string:{pattern:/"(?:""|[^"])*"/,greedy:!0},keyword:/\b[GM]\d+(?:\.\d+)?\b/,property:/\b[A-Z]/,checksum:{pattern:/(\*)\d+/,lookbehind:!0,alias:"number"},punctuation:/[:*]/}}return i}var u=f();const g=s(u),l=d({__proto__:null,default:g},[u]);export{l as g};
@@ -1 +0,0 @@
1
- import{dy as l}from"./runtime-Dn4RiA4k.js";function b(e,r){for(var a=0;a<r.length;a++){const t=r[a];if(typeof t!="string"&&!Array.isArray(t)){for(const n in t)if(n!=="default"&&!(n in e)){const s=Object.getOwnPropertyDescriptor(t,n);s&&Object.defineProperty(e,n,s.get?s:{enumerable:!0,get:()=>t[n]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}var o,i;function p(){if(i)return o;i=1,o=e,e.displayName="gdscript",e.aliases=[];function e(r){r.languages.gdscript={comment:/#.*/,string:{pattern:/@?(?:("|')(?:(?!\1)[^\n\\]|\\[\s\S])*\1(?!"|')|"""(?:[^\\]|\\[\s\S])*?""")/,greedy:!0},"class-name":{pattern:/(^(?:class|class_name|extends)[ \t]+|^export\([ \t]*|\bas[ \t]+|(?:\b(?:const|var)[ \t]|[,(])[ \t]*\w+[ \t]*:[ \t]*|->[ \t]*)[a-zA-Z_]\w*/m,lookbehind:!0},keyword:/\b(?:and|as|assert|break|breakpoint|class|class_name|const|continue|elif|else|enum|export|extends|for|func|if|in|is|master|mastersync|match|not|null|onready|or|pass|preload|puppet|puppetsync|remote|remotesync|return|self|setget|signal|static|tool|var|while|yield)\b/,function:/\b[a-z_]\w*(?=[ \t]*\()/i,variable:/\$\w+/,number:[/\b0b[01_]+\b|\b0x[\da-fA-F_]+\b|(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.[\d_]+)(?:e[+-]?[\d_]+)?\b/,/\b(?:INF|NAN|PI|TAU)\b/],constant:/\b[A-Z][A-Z_\d]*\b/,boolean:/\b(?:false|true)\b/,operator:/->|:=|&&|\|\||<<|>>|[-+*/%&|!<>=]=?|[~^]/,punctuation:/[.:,;()[\]{}]/}}return o}var c=p();const d=l(c),u=b({__proto__:null,default:d},[c]);export{u as g};
@@ -1 +0,0 @@
1
- import{dy as s}from"./runtime-Dn4RiA4k.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 i=Object.getOwnPropertyDescriptor(t,r);i&&Object.defineProperty(e,r,i.get?i:{enumerable:!0,get:()=>t[r]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}var o,l;function p(){if(l)return o;l=1,o=e,e.displayName="gedcom",e.aliases=[];function e(n){n.languages.gedcom={"line-value":{pattern:/(^[\t ]*\d+ +(?:@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@ +)?\w+ ).+/m,lookbehind:!0,inside:{pointer:{pattern:/^@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@$/,alias:"variable"}}},tag:{pattern:/(^[\t ]*\d+ +(?:@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@ +)?)\w+/m,lookbehind:!0,alias:"string"},level:{pattern:/(^[\t ]*)\d+/m,lookbehind:!0,alias:"number"},pointer:{pattern:/@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@/,alias:"variable"}}}return o}var f=p();const u=s(f),c=d({__proto__:null,default:u},[f]);export{c as g};
@@ -1 +0,0 @@
1
- import{dy as u}from"./runtime-Dn4RiA4k.js";function d(e,i){for(var n=0;n<i.length;n++){const a=i[n];if(typeof a!="string"&&!Array.isArray(a)){for(const t in a)if(t!=="default"&&!(t in e)){const o=Object.getOwnPropertyDescriptor(a,t);o&&Object.defineProperty(e,t,o.get?o:{enumerable:!0,get:()=>a[t]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}var r,s;function c(){if(s)return r;s=1,r=e,e.displayName="gherkin",e.aliases=[];function e(i){(function(n){var a=/(?:\r?\n|\r)[ \t]*\|.+\|(?:(?!\|).)*/.source;n.languages.gherkin={pystring:{pattern:/("""|''')[\s\S]+?\1/,alias:"string"},comment:{pattern:/(^[ \t]*)#.*/m,lookbehind:!0},tag:{pattern:/(^[ \t]*)@\S*/m,lookbehind:!0},feature:{pattern:/((?:^|\r?\n|\r)[ \t]*)(?:Ability|Ahoy matey!|Arwedd|Aspekt|Besigheid Behoefte|Business Need|Caracteristica|Característica|Egenskab|Egenskap|Eiginleiki|Feature|Fīča|Fitur|Fonctionnalité|Fonksyonalite|Funcionalidade|Funcionalitat|Functionalitate|Funcţionalitate|Funcționalitate|Functionaliteit|Fungsi|Funkcia|Funkcija|Funkcionalitāte|Funkcionalnost|Funkcja|Funksie|Funktionalität|Funktionalitéit|Funzionalità|Hwaet|Hwæt|Jellemző|Karakteristik|Lastnost|Mak|Mogucnost|laH|Mogućnost|Moznosti|Možnosti|OH HAI|Omadus|Ominaisuus|Osobina|Özellik|Potrzeba biznesowa|perbogh|poQbogh malja'|Požadavek|Požiadavka|Pretty much|Qap|Qu'meH 'ut|Savybė|Tính năng|Trajto|Vermoë|Vlastnosť|Właściwość|Značilnost|Δυνατότητα|Λειτουργία|Могућност|Мөмкинлек|Особина|Свойство|Үзенчәлеклелек|Функционал|Функционалност|Функция|Функціонал|תכונה|خاصية|خصوصیت|صلاحیت|کاروبار کی ضرورت|وِیژگی|रूप लेख|ਖਾਸੀਅਤ|ਨਕਸ਼ ਨੁਹਾਰ|ਮੁਹਾਂਦਰਾ|గుణము|ಹೆಚ್ಚಳ|ความต้องการทางธุรกิจ|ความสามารถ|โครงหลัก|기능|フィーチャ|功能|機能):(?:[^:\r\n]+(?:\r?\n|\r|$))*/,lookbehind:!0,inside:{important:{pattern:/(:)[^\r\n]+/,lookbehind:!0},keyword:/[^:\r\n]+:/}},scenario:{pattern:/(^[ \t]*)(?:Abstract Scenario|Abstrakt Scenario|Achtergrond|Aer|Ær|Agtergrond|All y'all|Antecedentes|Antecedents|Atburðarás|Atburðarásir|Awww, look mate|B4|Background|Baggrund|Bakgrund|Bakgrunn|Bakgrunnur|Beispiele|Beispiller|Bối cảnh|Cefndir|Cenario|Cenário|Cenario de Fundo|Cenário de Fundo|Cenarios|Cenários|Contesto|Context|Contexte|Contexto|Conto|Contoh|Contone|Dæmi|Dasar|Dead men tell no tales|Delineacao do Cenario|Delineação do Cenário|Dis is what went down|Dữ liệu|Dyagram Senaryo|Dyagram senaryo|Egzanp|Ejemplos|Eksempler|Ekzemploj|Enghreifftiau|Esbozo do escenario|Escenari|Escenario|Esempi|Esquema de l'escenari|Esquema del escenario|Esquema do Cenario|Esquema do Cenário|EXAMPLZ|Examples|Exempel|Exemple|Exemples|Exemplos|First off|Fono|Forgatókönyv|Forgatókönyv vázlat|Fundo|Geçmiş|Grundlage|Hannergrond|ghantoH|Háttér|Heave to|Istorik|Juhtumid|Keadaan|Khung kịch bản|Khung tình huống|Kịch bản|Koncept|Konsep skenario|Kontèks|Kontekst|Kontekstas|Konteksts|Kontext|Konturo de la scenaro|Latar Belakang|lut chovnatlh|lut|lutmey|Lýsing Atburðarásar|Lýsing Dæma|MISHUN SRSLY|MISHUN|Menggariskan Senario|mo'|Náčrt Scenára|Náčrt Scénáře|Náčrt Scenáru|Oris scenarija|Örnekler|Osnova|Osnova Scenára|Osnova scénáře|Osnutek|Ozadje|Paraugs|Pavyzdžiai|Példák|Piemēri|Plan du scénario|Plan du Scénario|Plan Senaryo|Plan senaryo|Plang vum Szenario|Pozadí|Pozadie|Pozadina|Príklady|Příklady|Primer|Primeri|Primjeri|Przykłady|Raamstsenaarium|Reckon it's like|Rerefons|Scenár|Scénář|Scenarie|Scenarij|Scenarijai|Scenarijaus šablonas|Scenariji|Scenārijs|Scenārijs pēc parauga|Scenarijus|Scenario|Scénario|Scenario Amlinellol|Scenario Outline|Scenario Template|Scenariomal|Scenariomall|Scenarios|Scenariu|Scenariusz|Scenaro|Schema dello scenario|Se ðe|Se the|Se þe|Senario|Senaryo Deskripsyon|Senaryo deskripsyon|Senaryo|Senaryo taslağı|Shiver me timbers|Situācija|Situai|Situasie Uiteensetting|Situasie|Skenario konsep|Skenario|Skica|Structura scenariu|Structură scenariu|Struktura scenarija|Stsenaarium|Swa hwaer swa|Swa|Swa hwær swa|Szablon scenariusza|Szenario|Szenariogrundriss|Tapaukset|Tapaus|Tapausaihio|Taust|Tausta|Template Keadaan|Template Senario|Template Situai|The thing of it is|Tình huống|Variantai|Voorbeelde|Voorbeelden|Wharrimean is|Yo-ho-ho|You'll wanna|Założenia|Παραδείγματα|Περιγραφή Σεναρίου|Σενάρια|Σενάριο|Υπόβαθρο|Кереш|Контекст|Концепт|Мисаллар|Мисоллар|Основа|Передумова|Позадина|Предистория|Предыстория|Приклади|Пример|Примери|Примеры|Рамка на сценарий|Скица|Структура сценарија|Структура сценария|Структура сценарію|Сценарий|Сценарий структураси|Сценарийның төзелеше|Сценарији|Сценарио|Сценарій|Тарих|Үрнәкләр|דוגמאות|רקע|תבנית תרחיש|תרחיש|الخلفية|الگوی سناریو|امثلة|پس منظر|زمینه|سناریو|سيناريو|سيناريو مخطط|مثالیں|منظر نامے کا خاکہ|منظرنامہ|نمونه ها|उदाहरण|परिदृश्य|परिदृश्य रूपरेखा|पृष्ठभूमि|ਉਦਾਹਰਨਾਂ|ਪਟਕਥਾ|ਪਟਕਥਾ ਢਾਂਚਾ|ਪਟਕਥਾ ਰੂਪ ਰੇਖਾ|ਪਿਛੋਕੜ|ఉదాహరణలు|కథనం|నేపథ్యం|సన్నివేశం|ಉದಾಹರಣೆಗಳು|ಕಥಾಸಾರಾಂಶ|ವಿವರಣೆ|ಹಿನ್ನೆಲೆ|โครงสร้างของเหตุการณ์|ชุดของตัวอย่าง|ชุดของเหตุการณ์|แนวคิด|สรุปเหตุการณ์|เหตุการณ์|배경|시나리오|시나리오 개요|예|サンプル|シナリオ|シナリオアウトライン|シナリオテンプレ|シナリオテンプレート|テンプレ|例|例子|剧本|剧本大纲|劇本|劇本大綱|场景|场景大纲|場景|場景大綱|背景):[^:\r\n]*/m,lookbehind:!0,inside:{important:{pattern:/(:)[^\r\n]*/,lookbehind:!0},keyword:/[^:\r\n]+:/}},"table-body":{pattern:RegExp("("+a+")(?:"+a+")+"),lookbehind:!0,inside:{outline:{pattern:/<[^>]+>/,alias:"variable"},td:{pattern:/\s*[^\s|][^|]*/,alias:"string"},punctuation:/\|/}},"table-head":{pattern:RegExp(a),inside:{th:{pattern:/\s*[^\s|][^|]*/,alias:"variable"},punctuation:/\|/}},atrule:{pattern:/(^[ \t]+)(?:'a|'ach|'ej|7|a|A také|A taktiež|A tiež|A zároveň|Aber|Ac|Adott|Akkor|Ak|Aleshores|Ale|Ali|Allora|Alors|Als|Ama|Amennyiben|Amikor|Ampak|an|AN|Ananging|And y'all|And|Angenommen|Anrhegedig a|An|Apabila|Atès|Atesa|Atunci|Avast!|Aye|A|awer|Bagi|Banjur|Bet|Biết|Blimey!|Buh|But at the end of the day I reckon|But y'all|But|BUT|Cal|Când|Cand|Cando|Ce|Cuando|Če|Ða ðe|Ða|Dadas|Dada|Dados|Dado|DaH ghu' bejlu'|dann|Dann|Dano|Dan|Dar|Dat fiind|Data|Date fiind|Date|Dati fiind|Dati|Daţi fiind|Dați fiind|DEN|Dato|De|Den youse gotta|Dengan|Diberi|Diyelim ki|Donada|Donat|Donitaĵo|Do|Dun|Duota|Ðurh|Eeldades|Ef|Eğer ki|Entao|Então|Entón|E|En|Entonces|Epi|És|Etant donnée|Etant donné|Et|Étant données|Étant donnée|Étant donné|Etant données|Etant donnés|Étant donnés|Fakat|Gangway!|Gdy|Gegeben seien|Gegeben sei|Gegeven|Gegewe|ghu' noblu'|Gitt|Given y'all|Given|Givet|Givun|Ha|Cho|I CAN HAZ|In|Ir|It's just unbelievable|I|Ja|Jeśli|Jeżeli|Kad|Kada|Kadar|Kai|Kaj|Když|Keď|Kemudian|Ketika|Khi|Kiedy|Ko|Kuid|Kui|Kun|Lan|latlh|Le sa a|Let go and haul|Le|Lè sa a|Lè|Logo|Lorsqu'<|Lorsque|mä|Maar|Mais|Mając|Ma|Majd|Maka|Manawa|Mas|Men|Menawa|Mutta|Nalika|Nalikaning|Nanging|Når|När|Nato|Nhưng|Niin|Njuk|O zaman|Och|Og|Oletetaan|Ond|Onda|Oraz|Pak|Pero|Però|Podano|Pokiaľ|Pokud|Potem|Potom|Privzeto|Pryd|Quan|Quand|Quando|qaSDI'|Så|Sed|Se|Siis|Sipoze ke|Sipoze Ke|Sipoze|Si|Şi|Și|Soit|Stel|Tada|Tad|Takrat|Tak|Tapi|Ter|Tetapi|Tha the|Tha|Then y'all|Then|Thì|Thurh|Toda|Too right|Un|Und|ugeholl|Và|vaj|Vendar|Ve|wann|Wanneer|WEN|Wenn|When y'all|When|Wtedy|Wun|Y'know|Yeah nah|Yna|Youse know like when|Youse know when youse got|Y|Za predpokladu|Za předpokladu|Zadan|Zadani|Zadano|Zadate|Zadato|Zakładając|Zaradi|Zatati|Þa þe|Þa|Þá|Þegar|Þurh|Αλλά|Δεδομένου|Και|Όταν|Τότε|А також|Агар|Але|Али|Аммо|А|Әгәр|Әйтик|Әмма|Бирок|Ва|Вә|Дадено|Дано|Допустим|Если|Задате|Задати|Задато|И|І|К тому же|Када|Кад|Когато|Когда|Коли|Ләкин|Лекин|Нәтиҗәдә|Нехай|Но|Онда|Припустимо, що|Припустимо|Пусть|Также|Та|Тогда|Тоді|То|Унда|Һәм|Якщо|אבל|אזי|אז|בהינתן|וגם|כאשר|آنگاه|اذاً|اگر|اما|اور|با فرض|بالفرض|بفرض|پھر|تب|ثم|جب|عندما|فرض کیا|لكن|لیکن|متى|هنگامی|و|अगर|और|कदा|किन्तु|चूंकि|जब|तथा|तदा|तब|परन्तु|पर|यदि|ਅਤੇ|ਜਦੋਂ|ਜਿਵੇਂ ਕਿ|ਜੇਕਰ|ਤਦ|ਪਰ|అప్పుడు|ఈ పరిస్థితిలో|కాని|చెప్పబడినది|మరియు|ಆದರೆ|ನಂತರ|ನೀಡಿದ|ಮತ್ತು|ಸ್ಥಿತಿಯನ್ನು|กำหนดให้|ดังนั้น|แต่|เมื่อ|และ|그러면<|그리고<|단<|만약<|만일<|먼저<|조건<|하지만<|かつ<|しかし<|ただし<|ならば<|もし<|並且<|但し<|但是<|假如<|假定<|假設<|假设<|前提<|同时<|同時<|并且<|当<|當<|而且<|那么<|那麼<)(?=[ \t])/m,lookbehind:!0},string:{pattern:/"(?:\\.|[^"\\\r\n])*"|'(?:\\.|[^'\\\r\n])*'/,inside:{outline:{pattern:/<[^>]+>/,alias:"variable"}}},outline:{pattern:/<[^>]+>/,alias:"variable"}}})(i)}return r}var l=c();const k=u(l),g=d({__proto__:null,default:k},[l]);export{g};
@@ -1 +0,0 @@
1
- import{dy as c}from"./runtime-Dn4RiA4k.js";function f(t,n){for(var o=0;o<n.length;o++){const e=n[o];if(typeof e!="string"&&!Array.isArray(e)){for(const r in e)if(r!=="default"&&!(r in t)){const i=Object.getOwnPropertyDescriptor(e,r);i&&Object.defineProperty(t,r,i.get?i:{enumerable:!0,get:()=>e[r]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}var a,m;function g(){if(m)return a;m=1,a=t,t.displayName="git",t.aliases=[];function t(n){n.languages.git={comment:/^#.*/m,deleted:/^[-–].*/m,inserted:/^\+.*/m,string:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,command:{pattern:/^.*\$ git .*$/m,inside:{parameter:/\s--?\w+/}},coord:/^@@.*@@$/m,"commit-sha1":/^commit \w{40}$/m}}return a}var s=g();const l=c(s),u=f({__proto__:null,default:l},[s]);export{u as g};
@@ -1 +0,0 @@
1
- import{dy as l}from"./runtime-Dn4RiA4k.js";import{r as c}from"./c-DA5TVlGb.js";function p(i,r){for(var e=0;e<r.length;e++){const t=r[e];if(typeof t!="string"&&!Array.isArray(t)){for(const a in t)if(a!=="default"&&!(a in i)){const o=Object.getOwnPropertyDescriptor(t,a);o&&Object.defineProperty(i,a,o.get?o:{enumerable:!0,get:()=>t[a]})}}}return Object.freeze(Object.defineProperty(i,Symbol.toStringTag,{value:"Module"}))}var n,u;function m(){if(u)return n;u=1;var i=c();n=r,r.displayName="glsl",r.aliases=[];function r(e){e.register(i),e.languages.glsl=e.languages.extend("c",{keyword:/\b(?:active|asm|atomic_uint|attribute|[ibdu]?vec[234]|bool|break|buffer|case|cast|centroid|class|coherent|common|const|continue|d?mat[234](?:x[234])?|default|discard|do|double|else|enum|extern|external|false|filter|fixed|flat|float|for|fvec[234]|goto|half|highp|hvec[234]|[iu]?sampler2DMS(?:Array)?|[iu]?sampler2DRect|[iu]?samplerBuffer|[iu]?samplerCube|[iu]?samplerCubeArray|[iu]?sampler[123]D|[iu]?sampler[12]DArray|[iu]?image2DMS(?:Array)?|[iu]?image2DRect|[iu]?imageBuffer|[iu]?imageCube|[iu]?imageCubeArray|[iu]?image[123]D|[iu]?image[12]DArray|if|in|inline|inout|input|int|interface|invariant|layout|long|lowp|mediump|namespace|noinline|noperspective|out|output|partition|patch|precise|precision|public|readonly|resource|restrict|return|sample|sampler[12]DArrayShadow|sampler[12]DShadow|sampler2DRectShadow|sampler3DRect|samplerCubeArrayShadow|samplerCubeShadow|shared|short|sizeof|smooth|static|struct|subroutine|superp|switch|template|this|true|typedef|uint|uniform|union|unsigned|using|varying|void|volatile|while|writeonly)\b/})}return n}var s=m();const f=l(s),d=p({__proto__:null,default:f},[s]);export{d as g};
@@ -1 +0,0 @@
1
- import{dy as _}from"./runtime-Dn4RiA4k.js";function d(e,o){for(var r=0;r<o.length;r++){const t=o[r];if(typeof t!="string"&&!Array.isArray(t)){for(const i in t)if(i!=="default"&&!(i in e)){const a=Object.getOwnPropertyDescriptor(t,i);a&&Object.defineProperty(e,i,a.get?a:{enumerable:!0,get:()=>t[i]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}var n,s;function c(){if(s)return n;s=1,n=e,e.displayName="gml",e.aliases=[];function e(o){o.languages.gamemakerlanguage=o.languages.gml=o.languages.extend("clike",{keyword:/\b(?:break|case|continue|default|do|else|enum|exit|for|globalvar|if|repeat|return|switch|until|var|while)\b/,number:/(?:\b0x[\da-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ulf]{0,4}/i,operator:/--|\+\+|[-+%/=]=?|!=|\*\*?=?|<[<=>]?|>[=>]?|&&?|\^\^?|\|\|?|~|\b(?:and|at|not|or|with|xor)\b/,constant:/\b(?:GM_build_date|GM_version|action_(?:continue|restart|reverse|stop)|all|gamespeed_(?:fps|microseconds)|global|local|noone|other|pi|pointer_(?:invalid|null)|self|timezone_(?:local|utc)|undefined|ev_(?:create|destroy|step|alarm|keyboard|mouse|collision|other|draw|draw_(?:begin|end|post|pre)|keypress|keyrelease|trigger|(?:left|middle|no|right)_button|(?:left|middle|right)_press|(?:left|middle|right)_release|mouse_(?:enter|leave|wheel_down|wheel_up)|global_(?:left|middle|right)_button|global_(?:left|middle|right)_press|global_(?:left|middle|right)_release|joystick(?:1|2)_(?:button1|button2|button3|button4|button5|button6|button7|button8|down|left|right|up)|outside|boundary|game_start|game_end|room_start|room_end|no_more_lives|animation_end|end_of_path|no_more_health|user\d|gui|gui_begin|gui_end|step_(?:begin|end|normal))|vk_(?:alt|anykey|backspace|control|delete|down|end|enter|escape|home|insert|left|nokey|pagedown|pageup|pause|printscreen|return|right|shift|space|tab|up|f\d|numpad\d|add|decimal|divide|lalt|lcontrol|lshift|multiply|ralt|rcontrol|rshift|subtract)|achievement_(?:filter_(?:all_players|favorites_only|friends_only)|friends_info|info|leaderboard_info|our_info|pic_loaded|show_(?:achievement|bank|friend_picker|leaderboard|profile|purchase_prompt|ui)|type_challenge|type_score_challenge)|asset_(?:font|object|path|room|script|shader|sound|sprite|tiles|timeline|unknown)|audio_(?:3d|falloff_(?:exponent_distance|exponent_distance_clamped|inverse_distance|inverse_distance_clamped|linear_distance|linear_distance_clamped|none)|mono|new_system|old_system|stereo)|bm_(?:add|complex|dest_alpha|dest_color|dest_colour|inv_dest_alpha|inv_dest_color|inv_dest_colour|inv_src_alpha|inv_src_color|inv_src_colour|max|normal|one|src_alpha|src_alpha_sat|src_color|src_colour|subtract|zero)|browser_(?:chrome|firefox|ie|ie_mobile|not_a_browser|opera|safari|safari_mobile|tizen|unknown|windows_store)|buffer_(?:bool|f16|f32|f64|fast|fixed|generalerror|grow|invalidtype|network|outofbounds|outofspace|s16|s32|s8|seek_end|seek_relative|seek_start|string|text|u16|u32|u64|u8|vbuffer|wrap)|c_(?:aqua|black|blue|dkgray|fuchsia|gray|green|lime|ltgray|maroon|navy|olive|orange|purple|red|silver|teal|white|yellow)|cmpfunc_(?:always|equal|greater|greaterequal|less|lessequal|never|notequal)|cr_(?:appstart|arrow|beam|cross|default|drag|handpoint|hourglass|none|size_all|size_nesw|size_ns|size_nwse|size_we|uparrow)|cull_(?:clockwise|counterclockwise|noculling)|device_(?:emulator|tablet)|device_ios_(?:ipad|ipad_retina|iphone|iphone5|iphone6|iphone6plus|iphone_retina|unknown)|display_(?:landscape|landscape_flipped|portrait|portrait_flipped)|dll_(?:cdecl|cdel|stdcall)|ds_type_(?:grid|list|map|priority|queue|stack)|ef_(?:cloud|ellipse|explosion|firework|flare|rain|ring|smoke|smokeup|snow|spark|star)|fa_(?:archive|bottom|center|directory|hidden|left|middle|readonly|right|sysfile|top|volumeid)|fb_login_(?:default|fallback_to_webview|forcing_safari|forcing_webview|no_fallback_to_webview|use_system_account)|iap_(?:available|canceled|ev_consume|ev_product|ev_purchase|ev_restore|ev_storeload|failed|purchased|refunded|status_available|status_loading|status_processing|status_restoring|status_unavailable|status_uninitialised|storeload_failed|storeload_ok|unavailable)|leaderboard_type_(?:number|time_mins_secs)|lighttype_(?:dir|point)|matrix_(?:projection|view|world)|mb_(?:any|left|middle|none|right)|network_(?:config_(?:connect_timeout|disable_reliable_udp|enable_reliable_udp|use_non_blocking_socket)|socket_(?:bluetooth|tcp|udp)|type_(?:connect|data|disconnect|non_blocking_connect))|of_challenge_(?:lose|tie|win)|os_(?:android|ios|linux|macosx|ps3|ps4|psvita|unknown|uwp|win32|win8native|windows|winphone|xboxone)|phy_debug_render_(?:aabb|collision_pairs|coms|core_shapes|joints|obb|shapes)|phy_joint_(?:anchor_1_x|anchor_1_y|anchor_2_x|anchor_2_y|angle|angle_limits|damping_ratio|frequency|length_1|length_2|lower_angle_limit|max_force|max_length|max_motor_force|max_motor_torque|max_torque|motor_force|motor_speed|motor_torque|reaction_force_x|reaction_force_y|reaction_torque|speed|translation|upper_angle_limit)|phy_particle_data_flag_(?:category|color|colour|position|typeflags|velocity)|phy_particle_flag_(?:colormixing|colourmixing|elastic|powder|spring|tensile|viscous|wall|water|zombie)|phy_particle_group_flag_(?:rigid|solid)|pr_(?:linelist|linestrip|pointlist|trianglefan|trianglelist|trianglestrip)|ps_(?:distr|shape)_(?:diamond|ellipse|gaussian|invgaussian|line|linear|rectangle)|pt_shape_(?:circle|cloud|disk|explosion|flare|line|pixel|ring|smoke|snow|spark|sphere|square|star)|ty_(?:real|string)|gp_(?:face\d|axislh|axislv|axisrh|axisrv|padd|padl|padr|padu|select|shoulderl|shoulderlb|shoulderr|shoulderrb|start|stickl|stickr)|lb_disp_(?:none|numeric|time_ms|time_sec)|lb_sort_(?:ascending|descending|none)|ov_(?:achievements|community|friends|gamegroup|players|settings)|ugc_(?:filetype_(?:community|microtrans)|list_(?:Favorited|Followed|Published|Subscribed|UsedOrPlayed|VotedDown|VotedOn|VotedUp|WillVoteLater)|match_(?:AllGuides|Artwork|Collections|ControllerBindings|IntegratedGuides|Items|Items_Mtx|Items_ReadyToUse|Screenshots|UsableInGame|Videos|WebGuides)|query_(?:AcceptedForGameRankedByAcceptanceDate|CreatedByFriendsRankedByPublicationDate|FavoritedByFriendsRankedByPublicationDate|NotYetRated)|query_RankedBy(?:NumTimesReported|PublicationDate|TextSearch|TotalVotesAsc|Trend|Vote|VotesUp)|result_success|sortorder_CreationOrder(?:Asc|Desc)|sortorder_(?:ForModeration|LastUpdatedDesc|SubscriptionDateDesc|TitleAsc|VoteScoreDesc)|visibility_(?:friends_only|private|public))|vertex_usage_(?:binormal|blendindices|blendweight|color|colour|depth|fog|normal|position|psize|sample|tangent|texcoord|textcoord)|vertex_type_(?:float\d|color|colour|ubyte4)|input_type|layerelementtype_(?:background|instance|oldtilemap|particlesystem|sprite|tile|tilemap|undefined)|se_(?:chorus|compressor|echo|equalizer|flanger|gargle|none|reverb)|text_type|tile_(?:flip|index_mask|mirror|rotate)|(?:obj|rm|scr|spr)\w+)\b/,variable:/\b(?:alarm|application_surface|async_load|background_(?:alpha|blend|color|colour|foreground|height|hspeed|htiled|index|showcolor|showcolour|visible|vspeed|vtiled|width|x|xscale|y|yscale)|bbox_(?:bottom|left|right|top)|browser_(?:height|width)|caption_(?:health|lives|score)|current_(?:day|hour|minute|month|second|time|weekday|year)|cursor_sprite|debug_mode|delta_time|direction|display_aa|error_(?:last|occurred)|event_(?:action|number|object|type)|fps|fps_real|friction|game_(?:display|project|save)_(?:id|name)|gamemaker_(?:pro|registered|version)|gravity|gravity_direction|(?:h|v)speed|health|iap_data|id|image_(?:alpha|angle|blend|depth|index|number|speed|xscale|yscale)|instance_(?:count|id)|keyboard_(?:key|lastchar|lastkey|string)|layer|lives|mask_index|mouse_(?:button|lastbutton|x|y)|object_index|os_(?:browser|device|type|version)|path_(?:endaction|index|orientation|position|positionprevious|scale|speed)|persistent|phy_(?:rotation|(?:col_normal|collision|com|linear_velocity|position|speed)_(?:x|y)|angular_(?:damping|velocity)|position_(?:x|y)previous|speed|linear_damping|bullet|fixed_rotation|active|mass|inertia|dynamic|kinematic|sleeping|collision_points)|pointer_(?:invalid|null)|room|room_(?:caption|first|height|last|persistent|speed|width)|score|secure_mode|show_(?:health|lives|score)|solid|speed|sprite_(?:height|index|width|xoffset|yoffset)|temp_directory|timeline_(?:index|loop|position|running|speed)|transition_(?:color|kind|steps)|undefined|view_(?:angle|current|enabled|(?:h|v)(?:border|speed)|(?:h|w|x|y)port|(?:h|w|x|y)view|object|surface_id|visible)|visible|webgl_enabled|working_directory|(?:x|y)(?:previous|start)|x|y|argument(?:_relitive|_count|\d)|argument|global|local|other|self)\b/})}return n}var l=c();const p=_(l),u=d({__proto__:null,default:p},[l]);export{u as g};
@@ -1 +0,0 @@
1
- import{dy as u}from"./runtime-Dn4RiA4k.js";function g(n,t){for(var i=0;i<t.length;i++){const e=t[i];if(typeof e!="string"&&!Array.isArray(e)){for(const r in e)if(r!=="default"&&!(r in n)){const o=Object.getOwnPropertyDescriptor(e,r);o&&Object.defineProperty(n,r,o.get?o:{enumerable:!0,get:()=>e[r]})}}}return Object.freeze(Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}))}var a,s;function p(){if(s)return a;s=1,a=n,n.displayName="gn",n.aliases=["gni"];function n(t){t.languages.gn={comment:{pattern:/#.*/,greedy:!0},"string-literal":{pattern:/(^|[^\\"])"(?:[^\r\n"\\]|\\.)*"/,lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:\{[\s\S]*?\}|[a-zA-Z_]\w*|0x[a-fA-F0-9]{2})/,lookbehind:!0,inside:{number:/^\$0x[\s\S]{2}$/,variable:/^\$\w+$/,"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:null}}},string:/[\s\S]+/}},keyword:/\b(?:else|if)\b/,boolean:/\b(?:false|true)\b/,"builtin-function":{pattern:/\b(?:assert|defined|foreach|import|pool|print|template|tool|toolchain)(?=\s*\()/i,alias:"keyword"},function:/\b[a-z_]\w*(?=\s*\()/i,constant:/\b(?:current_cpu|current_os|current_toolchain|default_toolchain|host_cpu|host_os|root_build_dir|root_gen_dir|root_out_dir|target_cpu|target_gen_dir|target_os|target_out_dir)\b/,number:/-?\b\d+\b/,operator:/[-+!=<>]=?|&&|\|\|/,punctuation:/[(){}[\],.]/},t.languages.gn["string-literal"].inside.interpolation.inside.expression.inside=t.languages.gn,t.languages.gni=t.languages.gn}return a}var l=p();const c=u(l),d=g({__proto__:null,default:c},[l]);export{d as g};
@@ -1 +0,0 @@
1
- import{dy as g}from"./runtime-Dn4RiA4k.js";function s(e,t){for(var o=0;o<t.length;o++){const r=t[o];if(typeof r!="string"&&!Array.isArray(r)){for(const n in r)if(n!=="default"&&!(n in e)){const a=Object.getOwnPropertyDescriptor(r,n);a&&Object.defineProperty(e,n,a.get?a:{enumerable:!0,get:()=>r[n]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}var i,l;function d(){if(l)return i;l=1,i=e,e.displayName="go",e.aliases=[];function e(t){t.languages.go=t.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"|`[^`]*`/,lookbehind:!0,greedy:!0},keyword:/\b(?:break|case|chan|const|continue|default|defer|else|fallthrough|for|func|go(?:to)?|if|import|interface|map|package|range|return|select|struct|switch|type|var)\b/,boolean:/\b(?:_|false|iota|nil|true)\b/,number:[/\b0(?:b[01_]+|o[0-7_]+)i?\b/i,/\b0x(?:[a-f\d_]+(?:\.[a-f\d_]*)?|\.[a-f\d_]+)(?:p[+-]?\d+(?:_\d+)*)?i?(?!\w)/i,/(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?[\d_]+)?i?(?!\w)/i],operator:/[*\/%^!=]=?|\+[=+]?|-[=-]?|\|[=|]?|&(?:=|&|\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\.\.\./,builtin:/\b(?:append|bool|byte|cap|close|complex|complex(?:64|128)|copy|delete|error|float(?:32|64)|u?int(?:8|16|32|64)?|imag|len|make|new|panic|print(?:ln)?|real|recover|rune|string|uintptr)\b/}),t.languages.insertBefore("go","string",{char:{pattern:/'(?:\\.|[^'\\\r\n]){0,10}'/,greedy:!0}}),delete t.languages.go["class-name"]}return i}var c=d();const u=g(c),f=s({__proto__:null,default:u},[c]);export{f as g};
@@ -1 +0,0 @@
1
- import{dy as d}from"./runtime-Dn4RiA4k.js";function s(e,r){for(var n=0;n<r.length;n++){const t=r[n];if(typeof t!="string"&&!Array.isArray(t)){for(const o in t)if(o!=="default"&&!(o in e)){const a=Object.getOwnPropertyDescriptor(t,o);a&&Object.defineProperty(e,o,a.get?a:{enumerable:!0,get:()=>t[o]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}var i,l;function g(){if(l)return i;l=1,i=e,e.displayName="goModule",e.aliases=[];function e(r){r.languages["go-mod"]=r.languages["go-module"]={comment:{pattern:/\/\/.*/,greedy:!0},version:{pattern:/(^|[\s()[\],])v\d+\.\d+\.\d+(?:[+-][-+.\w]*)?(?![^\s()[\],])/,lookbehind:!0,alias:"number"},"go-version":{pattern:/((?:^|\s)go\s+)\d+(?:\.\d+){1,2}/,lookbehind:!0,alias:"number"},keyword:{pattern:/^([ \t]*)(?:exclude|go|module|replace|require|retract)\b/m,lookbehind:!0},operator:/=>/,punctuation:/[()[\],]/}}return i}var u=g();const c=d(u),f=s({__proto__:null,default:c},[u]);export{f as g};
@@ -1 +0,0 @@
1
- import{dy as q}from"./runtime-Dn4RiA4k.js";function Z(i,s){for(var l=0;l<s.length;l++){const a=s[l];if(typeof a!="string"&&!Array.isArray(a)){for(const t in a)if(t!=="default"&&!(t in i)){const r=Object.getOwnPropertyDescriptor(a,t);r&&Object.defineProperty(i,t,r.get?r:{enumerable:!0,get:()=>a[t]})}}}return Object.freeze(Object.defineProperty(i,Symbol.toStringTag,{value:"Module"}))}var m,z;function $(){if(z)return m;z=1,m=i,i.displayName="graphql",i.aliases=[];function i(s){s.languages.graphql={comment:/#.*/,description:{pattern:/(?:"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*")(?=\s*[a-z_])/i,greedy:!0,alias:"string",inside:{"language-markdown":{pattern:/(^"(?:"")?)(?!\1)[\s\S]+(?=\1$)/,lookbehind:!0,inside:s.languages.markdown}}},string:{pattern:/"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*"/,greedy:!0},number:/(?:\B-|\b)\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,boolean:/\b(?:false|true)\b/,variable:/\$[a-z_]\w*/i,directive:{pattern:/@[a-z_]\w*/i,alias:"function"},"attr-name":{pattern:/\b[a-z_]\w*(?=\s*(?:\((?:[^()"]|"(?:\\.|[^\\"\r\n])*")*\))?:)/i,greedy:!0},"atom-input":{pattern:/\b[A-Z]\w*Input\b/,alias:"class-name"},scalar:/\b(?:Boolean|Float|ID|Int|String)\b/,constant:/\b[A-Z][A-Z_\d]*\b/,"class-name":{pattern:/(\b(?:enum|implements|interface|on|scalar|type|union)\s+|&\s*|:\s*|\[)[A-Z_]\w*/,lookbehind:!0},fragment:{pattern:/(\bfragment\s+|\.{3}\s*(?!on\b))[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-mutation":{pattern:/(\bmutation\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-query":{pattern:/(\bquery\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},keyword:/\b(?:directive|enum|extend|fragment|implements|input|interface|mutation|on|query|repeatable|scalar|schema|subscription|type|union)\b/,operator:/[!=|&]|\.{3}/,"property-query":/\w+(?=\s*\()/,object:/\w+(?=\s*\{)/,punctuation:/[!(){}\[\]:=,]/,property:/\w+/},s.hooks.add("after-tokenize",function(l){if(l.language!=="graphql")return;var a=l.tokens.filter(function(e){return typeof e!="string"&&e.type!=="comment"&&e.type!=="scalar"}),t=0;function r(e){return a[t+e]}function v(e,o){o=o||0;for(var n=0;n<e.length;n++){var u=r(n+o);if(!u||u.type!==e[n])return!1}return!0}function h(e,o){for(var n=1,u=t;u<a.length;u++){var _=a[u],g=_.content;if(_.type==="punctuation"&&typeof g=="string"){if(e.test(g))n++;else if(o.test(g)&&(n--,n===0))return u}}return-1}function p(e,o){var n=e.alias;n?Array.isArray(n)||(e.alias=n=[n]):e.alias=n=[],n.push(o)}for(;t<a.length;){var w=a[t++];if(w.type==="keyword"&&w.content==="mutation"){var f=[];if(v(["definition-mutation","punctuation"])&&r(1).content==="("){t+=2;var c=h(/^\($/,/^\)$/);if(c===-1)continue;for(;t<c;t++){var b=r(0);b.type==="variable"&&(p(b,"variable-input"),f.push(b.content))}t=c+1}if(v(["punctuation","property-query"])&&r(0).content==="{"&&(t++,p(r(0),"property-mutation"),f.length>0)){var k=h(/^\{$/,/^\}$/);if(k===-1)continue;for(var y=t;y<k;y++){var d=a[y];d.type==="variable"&&f.indexOf(d.content)>=0&&p(d,"variable-input")}}}}})}return m}var A=$();const j=q(A),O=Z({__proto__:null,default:j},[A]);export{O as g};
@@ -1 +0,0 @@
1
- import{dy as c}from"./runtime-Dn4RiA4k.js";function g(a,t){for(var e=0;e<t.length;e++){const n=t[e];if(typeof n!="string"&&!Array.isArray(n)){for(const r in n)if(r!=="default"&&!(r in a)){const o=Object.getOwnPropertyDescriptor(n,r);o&&Object.defineProperty(a,r,o.get?o:{enumerable:!0,get:()=>n[r]})}}}return Object.freeze(Object.defineProperty(a,Symbol.toStringTag,{value:"Module"}))}var i,s;function u(){if(s)return i;s=1,i=a,a.displayName="groovy",a.aliases=[];function a(t){t.languages.groovy=t.languages.extend("clike",{string:[{pattern:/("""|''')(?:[^\\]|\\[\s\S])*?\1|\$\/(?:[^/$]|\$(?:[/$]|(?![/$]))|\/(?!\$))*\/\$/,greedy:!0},{pattern:/(["'/])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0}],keyword:/\b(?:abstract|as|assert|boolean|break|byte|case|catch|char|class|const|continue|def|default|do|double|else|enum|extends|final|finally|float|for|goto|if|implements|import|in|instanceof|int|interface|long|native|new|package|private|protected|public|return|short|static|strictfp|super|switch|synchronized|this|throw|throws|trait|transient|try|void|volatile|while)\b/,number:/\b(?:0b[01_]+|0x[\da-f_]+(?:\.[\da-f_p\-]+)?|[\d_]+(?:\.[\d_]+)?(?:e[+-]?\d+)?)[glidf]?\b/i,operator:{pattern:/(^|[^.])(?:~|==?~?|\?[.:]?|\*(?:[.=]|\*=?)?|\.[@&]|\.\.<|\.\.(?!\.)|-[-=>]?|\+[+=]?|!=?|<(?:<=?|=>?)?|>(?:>>?=?|=)?|&[&=]?|\|[|=]?|\/=?|\^=?|%=?)/,lookbehind:!0},punctuation:/\.+|[{}[\];(),:$]/}),t.languages.insertBefore("groovy","string",{shebang:{pattern:/#!.+/,alias:"comment"}}),t.languages.insertBefore("groovy","punctuation",{"spock-block":/\b(?:and|cleanup|expect|given|setup|then|when|where):/}),t.languages.insertBefore("groovy","function",{annotation:{pattern:/(^|[^.])@\w+/,lookbehind:!0,alias:"punctuation"}}),t.hooks.add("wrap",function(e){if(e.language==="groovy"&&e.type==="string"){var n=e.content.value[0];if(n!="'"){var r=/([^\\])(?:\$(?:\{.*?\}|[\w.]+))/;n==="$"&&(r=/([^\$])(?:\$(?:\{.*?\}|[\w.]+))/),e.content.value=e.content.value.replace(/&lt;/g,"<").replace(/&amp;/g,"&"),e.content=t.highlight(e.content.value,{expression:{pattern:r,lookbehind:!0,inside:t.languages.groovy}}),e.classes.push(n==="/"?"regex":"gstring")}}})}return i}var l=u();const p=c(l),f=g({__proto__:null,default:p},[l]);export{f as g};
@@ -1 +0,0 @@
1
- import{dy as f}from"./runtime-Dn4RiA4k.js";import{r as b}from"./ruby-3lCor9Ik.js";function c(l,t){for(var a=0;a<t.length;a++){const e=t[a];if(typeof e!="string"&&!Array.isArray(e)){for(const n in e)if(n!=="default"&&!(n in l)){const i=Object.getOwnPropertyDescriptor(e,n);i&&Object.defineProperty(l,n,i.get?i:{enumerable:!0,get:()=>e[n]})}}}return Object.freeze(Object.defineProperty(l,Symbol.toStringTag,{value:"Module"}))}var s,g;function m(){if(g)return s;g=1;var l=b();s=t,t.displayName="haml",t.aliases=[];function t(a){a.register(l),(function(e){e.languages.haml={"multiline-comment":{pattern:/((?:^|\r?\n|\r)([\t ]*))(?:\/|-#).*(?:(?:\r?\n|\r)\2[\t ].+)*/,lookbehind:!0,alias:"comment"},"multiline-code":[{pattern:/((?:^|\r?\n|\r)([\t ]*)(?:[~-]|[&!]?=)).*,[\t ]*(?:(?:\r?\n|\r)\2[\t ].*,[\t ]*)*(?:(?:\r?\n|\r)\2[\t ].+)/,lookbehind:!0,inside:e.languages.ruby},{pattern:/((?:^|\r?\n|\r)([\t ]*)(?:[~-]|[&!]?=)).*\|[\t ]*(?:(?:\r?\n|\r)\2[\t ].*\|[\t ]*)*/,lookbehind:!0,inside:e.languages.ruby}],filter:{pattern:/((?:^|\r?\n|\r)([\t ]*)):[\w-]+(?:(?:\r?\n|\r)(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/,lookbehind:!0,inside:{"filter-name":{pattern:/^:[\w-]+/,alias:"symbol"}}},markup:{pattern:/((?:^|\r?\n|\r)[\t ]*)<.+/,lookbehind:!0,inside:e.languages.markup},doctype:{pattern:/((?:^|\r?\n|\r)[\t ]*)!!!(?: .+)?/,lookbehind:!0},tag:{pattern:/((?:^|\r?\n|\r)[\t ]*)[%.#][\w\-#.]*[\w\-](?:\([^)]+\)|\{(?:\{[^}]+\}|[^{}])+\}|\[[^\]]+\])*[\/<>]*/,lookbehind:!0,inside:{attributes:[{pattern:/(^|[^#])\{(?:\{[^}]+\}|[^{}])+\}/,lookbehind:!0,inside:e.languages.ruby},{pattern:/\([^)]+\)/,inside:{"attr-value":{pattern:/(=\s*)(?:"(?:\\.|[^\\"\r\n])*"|[^)\s]+)/,lookbehind:!0},"attr-name":/[\w:-]+(?=\s*!?=|\s*[,)])/,punctuation:/[=(),]/}},{pattern:/\[[^\]]+\]/,inside:e.languages.ruby}],punctuation:/[<>]/}},code:{pattern:/((?:^|\r?\n|\r)[\t ]*(?:[~-]|[&!]?=)).+/,lookbehind:!0,inside:e.languages.ruby},interpolation:{pattern:/#\{[^}]+\}/,inside:{delimiter:{pattern:/^#\{|\}$/,alias:"punctuation"},ruby:{pattern:/[\s\S]+/,inside:e.languages.ruby}}},punctuation:{pattern:/((?:^|\r?\n|\r)[\t ]*)[~=\-&!]+/,lookbehind:!0}};for(var n="((?:^|\\r?\\n|\\r)([\\t ]*)):{{filter_name}}(?:(?:\\r?\\n|\\r)(?:\\2[\\t ].+|\\s*?(?=\\r?\\n|\\r)))+",i=["css",{filter:"coffee",language:"coffeescript"},"erb","javascript","less","markdown","ruby","scss","textile"],u={},o=0,d=i.length;o<d;o++){var r=i[o];r=typeof r=="string"?{filter:r,language:r}:r,e.languages[r.language]&&(u["filter-"+r.filter]={pattern:RegExp(n.replace("{{filter_name}}",function(){return r.filter})),lookbehind:!0,inside:{"filter-name":{pattern:/^:[\w-]+/,alias:"symbol"},text:{pattern:/[\s\S]+/,alias:[r.language,"language-"+r.language],inside:e.languages[r.language]}}})}e.languages.insertBefore("haml","filter",u)})(a)}return s}var p=m();const y=f(p),h=c({__proto__:null,default:y},[p]);export{h};
@@ -1 +0,0 @@
1
- import{dy as u}from"./runtime-Dn4RiA4k.js";import{r as d}from"./markup-templating-RD0xxf_6.js";function b(t,r){for(var n=0;n<r.length;n++){const e=r[n];if(typeof e!="string"&&!Array.isArray(e)){for(const a in e)if(a!=="default"&&!(a in t)){const o=Object.getOwnPropertyDescriptor(e,a);o&&Object.defineProperty(t,a,o.get?o:{enumerable:!0,get:()=>e[a]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}var s,i;function c(){if(i)return s;i=1;var t=d();s=r,r.displayName="handlebars",r.aliases=["hbs"];function r(n){n.register(t),(function(e){e.languages.handlebars={comment:/\{\{![\s\S]*?\}\}/,delimiter:{pattern:/^\{\{\{?|\}\}\}?$/,alias:"punctuation"},string:/(["'])(?:\\.|(?!\1)[^\\\r\n])*\1/,number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee][+-]?\d+)?/,boolean:/\b(?:false|true)\b/,block:{pattern:/^(\s*(?:~\s*)?)[#\/]\S+?(?=\s*(?:~\s*)?$|\s)/,lookbehind:!0,alias:"keyword"},brackets:{pattern:/\[[^\]]+\]/,inside:{punctuation:/\[|\]/,variable:/[\s\S]+/}},punctuation:/[!"#%&':()*+,.\/;<=>@\[\\\]^`{|}~]/,variable:/[^!"#%&'()*+,\/;<=>@\[\\\]^`{|}~\s]+/},e.hooks.add("before-tokenize",function(a){var o=/\{\{\{[\s\S]+?\}\}\}|\{\{[\s\S]+?\}\}/g;e.languages["markup-templating"].buildPlaceholders(a,"handlebars",o)}),e.hooks.add("after-tokenize",function(a){e.languages["markup-templating"].tokenizePlaceholders(a,"handlebars")}),e.languages.hbs=e.languages.handlebars})(n)}return s}var l=c();const f=u(l),g=b({__proto__:null,default:f},[l]);export{g as h};
@@ -1 +0,0 @@
1
- import{dy as a}from"./runtime-Dn4RiA4k.js";import{r as c}from"./haskell-fKcSYgFk.js";function l(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 p=a(i),s=l({__proto__:null,default:p},[i]);export{s as h};
@@ -1 +0,0 @@
1
- var t,a;function n(){if(a)return t;a=1,t=e,e.displayName="haskell",e.aliases=["hs"];function e(i){i.languages.haskell={comment:{pattern:/(^|[^-!#$%*+=?&@|~.:<>^\\\/])(?:--(?:(?=.)[^-!#$%*+=?&@|~.:<>^\\\/].*|$)|\{-[\s\S]*?-\})/m,lookbehind:!0},char:{pattern:/'(?:[^\\']|\\(?:[abfnrtv\\"'&]|\^[A-Z@[\]^_]|ACK|BEL|BS|CAN|CR|DC1|DC2|DC3|DC4|DEL|DLE|EM|ENQ|EOT|ESC|ETB|ETX|FF|FS|GS|HT|LF|NAK|NUL|RS|SI|SO|SOH|SP|STX|SUB|SYN|US|VT|\d+|o[0-7]+|x[0-9a-fA-F]+))'/,alias:"string"},string:{pattern:/"(?:[^\\"]|\\(?:\S|\s+\\))*"/,greedy:!0},keyword:/\b(?:case|class|data|deriving|do|else|if|in|infixl|infixr|instance|let|module|newtype|of|primitive|then|type|where)\b/,"import-statement":{pattern:/(^[\t ]*)import\s+(?:qualified\s+)?(?:[A-Z][\w']*)(?:\.[A-Z][\w']*)*(?:\s+as\s+(?:[A-Z][\w']*)(?:\.[A-Z][\w']*)*)?(?:\s+hiding\b)?/m,lookbehind:!0,inside:{keyword:/\b(?:as|hiding|import|qualified)\b/,punctuation:/\./}},builtin:/\b(?:abs|acos|acosh|all|and|any|appendFile|approxRational|asTypeOf|asin|asinh|atan|atan2|atanh|basicIORun|break|catch|ceiling|chr|compare|concat|concatMap|const|cos|cosh|curry|cycle|decodeFloat|denominator|digitToInt|div|divMod|drop|dropWhile|either|elem|encodeFloat|enumFrom|enumFromThen|enumFromThenTo|enumFromTo|error|even|exp|exponent|fail|filter|flip|floatDigits|floatRadix|floatRange|floor|fmap|foldl|foldl1|foldr|foldr1|fromDouble|fromEnum|fromInt|fromInteger|fromIntegral|fromRational|fst|gcd|getChar|getContents|getLine|group|head|id|inRange|index|init|intToDigit|interact|ioError|isAlpha|isAlphaNum|isAscii|isControl|isDenormalized|isDigit|isHexDigit|isIEEE|isInfinite|isLower|isNaN|isNegativeZero|isOctDigit|isPrint|isSpace|isUpper|iterate|last|lcm|length|lex|lexDigits|lexLitChar|lines|log|logBase|lookup|map|mapM|mapM_|max|maxBound|maximum|maybe|min|minBound|minimum|mod|negate|not|notElem|null|numerator|odd|or|ord|otherwise|pack|pi|pred|primExitWith|print|product|properFraction|putChar|putStr|putStrLn|quot|quotRem|range|rangeSize|read|readDec|readFile|readFloat|readHex|readIO|readInt|readList|readLitChar|readLn|readOct|readParen|readSigned|reads|readsPrec|realToFrac|recip|rem|repeat|replicate|return|reverse|round|scaleFloat|scanl|scanl1|scanr|scanr1|seq|sequence|sequence_|show|showChar|showInt|showList|showLitChar|showParen|showSigned|showString|shows|showsPrec|significand|signum|sin|sinh|snd|sort|span|splitAt|sqrt|subtract|succ|sum|tail|take|takeWhile|tan|tanh|threadToIOResult|toEnum|toInt|toInteger|toLower|toRational|toUpper|truncate|uncurry|undefined|unlines|until|unwords|unzip|unzip3|userError|words|writeFile|zip|zip3|zipWith|zipWith3)\b/,number:/\b(?:\d+(?:\.\d+)?(?:e[+-]?\d+)?|0o[0-7]+|0x[0-9a-f]+)\b/i,operator:[{pattern:/`(?:[A-Z][\w']*\.)*[_a-z][\w']*`/,greedy:!0},{pattern:/(\s)\.(?=\s)/,lookbehind:!0},/[-!#$%*+=?&@|~:<>^\\\/][-!#$%*+=?&@|~.:<>^\\\/]*|\.[-!#$%*+=?&@|~.:<>^\\\/]+/],hvariable:{pattern:/\b(?:[A-Z][\w']*\.)*[_a-z][\w']*/,inside:{punctuation:/\./}},constant:{pattern:/\b(?:[A-Z][\w']*\.)*[A-Z][\w']*/,inside:{punctuation:/\./}},punctuation:/[{}[\];(),.:]/},i.languages.hs=i.languages.haskell}return t}export{n as r};
@@ -1 +0,0 @@
1
- import{dy as p}from"./runtime-Dn4RiA4k.js";function g(t,e){for(var n=0;n<e.length;n++){const a=e[n];if(typeof a!="string"&&!Array.isArray(a)){for(const r in a)if(r!=="default"&&!(r in t)){const i=Object.getOwnPropertyDescriptor(a,r);i&&Object.defineProperty(t,r,i.get?i:{enumerable:!0,get:()=>a[r]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}var s,o;function c(){if(o)return s;o=1,s=t,t.displayName="haxe",t.aliases=[];function t(e){e.languages.haxe=e.languages.extend("clike",{string:{pattern:/"(?:[^"\\]|\\[\s\S])*"/,greedy:!0},"class-name":[{pattern:/(\b(?:abstract|class|enum|extends|implements|interface|new|typedef)\s+)[A-Z_]\w*/,lookbehind:!0},/\b[A-Z]\w*/],keyword:/\bthis\b|\b(?:abstract|as|break|case|cast|catch|class|continue|default|do|dynamic|else|enum|extends|extern|final|for|from|function|if|implements|import|in|inline|interface|macro|new|null|operator|overload|override|package|private|public|return|static|super|switch|throw|to|try|typedef|untyped|using|var|while)(?!\.)\b/,function:{pattern:/\b[a-z_]\w*(?=\s*(?:<[^<>]*>\s*)?\()/i,greedy:!0},operator:/\.{3}|\+\+|--|&&|\|\||->|=>|(?:<<?|>{1,3}|[-+*/%!=&|^])=?|[?:~]/}),e.languages.insertBefore("haxe","string",{"string-interpolation":{pattern:/'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{interpolation:{pattern:/(^|[^\\])\$(?:\w+|\{[^{}]+\})/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{?|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:e.languages.haxe}}},string:/[\s\S]+/}}}),e.languages.insertBefore("haxe","class-name",{regex:{pattern:/~\/(?:[^\/\\\r\n]|\\.)+\/[a-z]*/,greedy:!0,inside:{"regex-flags":/\b[a-z]+$/,"regex-source":{pattern:/^(~\/)[\s\S]+(?=\/$)/,lookbehind:!0,alias:"language-regex",inside:e.languages.regex},"regex-delimiter":/^~\/|\/$/}}}),e.languages.insertBefore("haxe","keyword",{preprocessor:{pattern:/#(?:else|elseif|end|if)\b.*/,alias:"property"},metadata:{pattern:/@:?[\w.]+/,alias:"symbol"},reification:{pattern:/\$(?:\w+|(?=\{))/,alias:"important"}})}return s}var l=c();const u=p(l),d=g({__proto__:null,default:u},[l]);export{d as h};
@@ -1 +0,0 @@
1
- import{dy as l}from"./runtime-Dn4RiA4k.js";function p(e,a){for(var n=0;n<a.length;n++){const r=a[n];if(typeof r!="string"&&!Array.isArray(r)){for(const t in r)if(t!=="default"&&!(t in e)){const i=Object.getOwnPropertyDescriptor(r,t);i&&Object.defineProperty(e,t,i.get?i:{enumerable:!0,get:()=>r[t]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}var o,s;function u(){if(s)return o;s=1,o=e,e.displayName="hcl",e.aliases=[];function e(a){a.languages.hcl={comment:/(?:\/\/|#).*|\/\*[\s\S]*?(?:\*\/|$)/,heredoc:{pattern:/<<-?(\w+\b)[\s\S]*?^[ \t]*\1/m,greedy:!0,alias:"string"},keyword:[{pattern:/(?:data|resource)\s+(?:"(?:\\[\s\S]|[^\\"])*")(?=\s+"[\w-]+"\s+\{)/i,inside:{type:{pattern:/(resource|data|\s+)(?:"(?:\\[\s\S]|[^\\"])*")/i,lookbehind:!0,alias:"variable"}}},{pattern:/(?:backend|module|output|provider|provisioner|variable)\s+(?:[\w-]+|"(?:\\[\s\S]|[^\\"])*")\s+(?=\{)/i,inside:{type:{pattern:/(backend|module|output|provider|provisioner|variable)\s+(?:[\w-]+|"(?:\\[\s\S]|[^\\"])*")\s+/i,lookbehind:!0,alias:"variable"}}},/[\w-]+(?=\s+\{)/],property:[/[-\w\.]+(?=\s*=(?!=))/,/"(?:\\[\s\S]|[^\\"])+"(?=\s*[:=])/],string:{pattern:/"(?:[^\\$"]|\\[\s\S]|\$(?:(?=")|\$+(?!\$)|[^"${])|\$\{(?:[^{}"]|"(?:[^\\"]|\\[\s\S])*")*\})*"/,greedy:!0,inside:{interpolation:{pattern:/(^|[^$])\$\{(?:[^{}"]|"(?:[^\\"]|\\[\s\S])*")*\}/,lookbehind:!0,inside:{type:{pattern:/(\b(?:count|data|local|module|path|self|terraform|var)\b\.)[\w\*]+/i,lookbehind:!0,alias:"variable"},keyword:/\b(?:count|data|local|module|path|self|terraform|var)\b/i,function:/\w+(?=\()/,string:{pattern:/"(?:\\[\s\S]|[^\\"])*"/,greedy:!0},number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?(?:e[+-]?\d+)?/i,punctuation:/[!\$#%&'()*+,.\/;<=>@\[\\\]^`{|}~?:]/}}}},number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?(?:e[+-]?\d+)?/i,boolean:/\b(?:false|true)\b/i,punctuation:/[=\[\]{}]/}}return o}var d=u();const b=l(d),c=p({__proto__:null,default:b},[d]);export{c as h};
@@ -1,7 +0,0 @@
1
- import{cx as a}from"./runtime-Dn4RiA4k.js";const h=[["path",{d:"m9 11-6 6v3h9l3-3",key:"1a3l36"}],["path",{d:"m22 12-4.6 4.6a2 2 0 0 1-2.8 0l-5.2-5.2a2 2 0 0 1 0-2.8L14 4",key:"14a9rk"}]],t=a("highlighter",h);export{t as H};
2
- /**
3
- * @license lucide-react v0.539.0 - ISC
4
- *
5
- * This source code is licensed under the ISC license.
6
- * See the LICENSE file in the root directory of this source tree.
7
- */
@@ -1 +0,0 @@
1
- import{dy as l}from"./runtime-Dn4RiA4k.js";import{r as c}from"./c-DA5TVlGb.js";function f(r,t){for(var e=0;e<t.length;e++){const a=t[e];if(typeof a!="string"&&!Array.isArray(a)){for(const n in a)if(n!=="default"&&!(n in r)){const i=Object.getOwnPropertyDescriptor(a,n);i&&Object.defineProperty(r,n,i.get?i:{enumerable:!0,get:()=>a[n]})}}}return Object.freeze(Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}))}var o,u;function d(){if(u)return o;u=1;var r=c();o=t,t.displayName="hlsl",t.aliases=[];function t(e){e.register(r),e.languages.hlsl=e.languages.extend("c",{"class-name":[e.languages.c["class-name"],/\b(?:AppendStructuredBuffer|BlendState|Buffer|ByteAddressBuffer|CompileShader|ComputeShader|ConsumeStructuredBuffer|DepthStencilState|DepthStencilView|DomainShader|GeometryShader|Hullshader|InputPatch|LineStream|OutputPatch|PixelShader|PointStream|RWBuffer|RWByteAddressBuffer|RWStructuredBuffer|RWTexture(?:1D|1DArray|2D|2DArray|3D)|RasterizerState|RenderTargetView|SamplerComparisonState|SamplerState|StructuredBuffer|Texture(?:1D|1DArray|2D|2DArray|2DMS|2DMSArray|3D|Cube|CubeArray)|TriangleStream|VertexShader)\b/],keyword:[/\b(?:asm|asm_fragment|auto|break|case|catch|cbuffer|centroid|char|class|column_major|compile|compile_fragment|const|const_cast|continue|default|delete|discard|do|dynamic_cast|else|enum|explicit|export|extern|for|friend|fxgroup|goto|groupshared|if|in|inline|inout|interface|line|lineadj|linear|long|matrix|mutable|namespace|new|nointerpolation|noperspective|operator|out|packoffset|pass|pixelfragment|point|precise|private|protected|public|register|reinterpret_cast|return|row_major|sample|sampler|shared|short|signed|sizeof|snorm|stateblock|stateblock_state|static|static_cast|string|struct|switch|tbuffer|technique|technique10|technique11|template|texture|this|throw|triangle|triangleadj|try|typedef|typename|uniform|union|unorm|unsigned|using|vector|vertexfragment|virtual|void|volatile|while)\b/,/\b(?:bool|double|dword|float|half|int|min(?:10float|12int|16(?:float|int|uint))|uint)(?:[1-4](?:x[1-4])?)?\b/],number:/(?:(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[eE][+-]?\d+)?|\b0x[\da-fA-F]+)[fFhHlLuU]?\b/,boolean:/\b(?:false|true)\b/})}return o}var s=d();const p=l(s),m=f({__proto__:null,default:p},[s]);export{m as h};
@@ -1 +0,0 @@
1
- import{dy as f}from"./runtime-Dn4RiA4k.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 l(){if(s)return i;s=1,i=e,e.displayName="hoon",e.aliases=[];function e(n){n.languages.hoon={comment:{pattern:/::.*/,greedy:!0},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},constant:/%(?:\.[ny]|[\w-]+)/,"class-name":/@(?:[a-z0-9-]*[a-z0-9])?|\*/i,function:/(?:\+[-+] {2})?(?:[a-z](?:[a-z0-9-]*[a-z0-9])?)/,keyword:/\.[\^\+\*=\?]|![><:\.=\?!]|=[>|:,\.\-\^<+;/~\*\?]|\?[>|:\.\-\^<\+&~=@!]|\|[\$_%:\.\-\^~\*=@\?]|\+[|\$\+\*]|:[_\-\^\+~\*]|%[_:\.\-\^\+~\*=]|\^[|:\.\-\+&~\*=\?]|\$[|_%:<>\-\^&~@=\?]|;[:<\+;\/~\*=]|~[>|\$_%<\+\/&=\?!]|--|==/}}return i}var c=l();const y=f(c),g=u({__proto__:null,default:y},[c]);export{g as h};
@@ -1 +0,0 @@
1
- import{dy as u}from"./runtime-Dn4RiA4k.js";function c(r,n){for(var a=0;a<n.length;a++){const t=n[a];if(typeof t!="string"&&!Array.isArray(t)){for(const e in t)if(e!=="default"&&!(e in r)){const o=Object.getOwnPropertyDescriptor(t,e);o&&Object.defineProperty(r,e,o.get?o:{enumerable:!0,get:()=>t[e]})}}}return Object.freeze(Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}))}var i,p;function f(){if(p)return i;p=1,i=r,r.displayName="hpkp",r.aliases=[];function r(n){n.languages.hpkp={directive:{pattern:/\b(?:includeSubDomains|max-age|pin-sha256|preload|report-to|report-uri|strict)(?=[\s;=]|$)/i,alias:"property"},operator:/=/,punctuation:/;/}}return i}var s=f();const l=u(s),g=c({__proto__:null,default:l},[s]);export{g as h};