@marimo-team/islands 0.16.5 → 0.17.1

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 (681) hide show
  1. package/dist/{fullscreen-D1yTiBlu.js → Combination-De9yoNY5.js} +855 -795
  2. package/dist/{ConnectedDataExplorerComponent-D96i9G-X.js → ConnectedDataExplorerComponent-DuvpJOKp.js} +102 -123
  3. package/dist/{ImageComparisonComponent-D4Tv9QzJ.js → ImageComparisonComponent--etUl2pp.js} +2 -2
  4. package/dist/{_baseIsEqual-oN7pRNcM.js → _baseIsEqual-BFlyFUxC.js} +20 -20
  5. package/dist/{_basePickBy-CYvzhRjy.js → _basePickBy-gCCvtjgp.js} +3 -3
  6. package/dist/{_baseProperty-DGUdIBuu.js → _baseProperty-BuqBC0Ie.js} +5 -5
  7. package/dist/{_baseUniq-B5gfSl8S.js → _baseUniq-CKN9mEDq.js} +5 -5
  8. package/dist/any-language-editor-Du2Q_6IK.js +156 -0
  9. package/dist/apl-CUm2DGqh.js +4 -0
  10. package/dist/{arc-B1iVbHTB.js → arc-C_O2hc-b.js} +2 -2
  11. package/dist/architecture-O4VJ6CD3-PFw3eFBY.js +21 -0
  12. package/dist/{architectureDiagram-W76B3OCA-DkEhipkW.js → architectureDiagram-W76B3OCA-CrK99pJi.js} +41 -40
  13. package/dist/asciiarmor-lqJ78U01.js +4 -0
  14. package/dist/asn1-CjwpSTlW.js +4 -0
  15. package/dist/assets/__vite-browser-external-DHoMWs4M.js +1 -0
  16. package/dist/assets/worker-B6tH8gPO.js +54 -0
  17. package/dist/{blockDiagram-QIGZ2CNN-DZOqLMYa.js → blockDiagram-QIGZ2CNN-BJOEyO6w.js} +101 -111
  18. package/dist/brainfuck-ClvDI1dq.js +4 -0
  19. package/dist/{button-CEcjneWG.js → button-ADXOb_gX.js} +37 -40
  20. package/dist/{c4Diagram-FPNF74CW-DVaR7c9q.js → c4Diagram-FPNF74CW-7Pz_X9wF.js} +31 -54
  21. package/dist/{channel-Uh0KpgGW.js → channel-X-wRUxX6.js} +1 -1
  22. package/dist/{check-BK9zDfQk.js → check-COlaG7Ss.js} +1 -1
  23. package/dist/{chunk-3AY6CYHV-Dk2R2-S1.js → chunk-3AY6CYHV-BQH2fFpA.js} +37 -37
  24. package/dist/{chunk-4BX2VUAB-CqO6zUIz.js → chunk-4BX2VUAB-D-QtDCKM.js} +1 -1
  25. package/dist/{chunk-4KMFLZZN-CloTfTwP.js → chunk-4KMFLZZN-BirZvvJS.js} +220 -329
  26. package/dist/{chunk-55IACEB6-I0rmqTua.js → chunk-55IACEB6-DjtPYZKs.js} +1 -1
  27. package/dist/{chunk-6OXUPJBA-BuROSTmo.js → chunk-6OXUPJBA-CTnnqlzw.js} +7 -7
  28. package/dist/{chunk-7GE3RBXV-B1-tsIPP.js → chunk-7GE3RBXV-CT47hCrL.js} +1 -1
  29. package/dist/{chunk-ABZYJK2D-CLlso8tj.js → chunk-ABZYJK2D-B6ZsU6SR.js} +484 -1043
  30. package/dist/{chunk-BN7GFLIU-Db2-FjLn.js → chunk-BN7GFLIU-DYWEsrG4.js} +1 -1
  31. package/dist/{chunk-CVBHYZKI-BONeiloK.js → chunk-CVBHYZKI-BuzDGXz0.js} +3 -3
  32. package/dist/{chunk-CXMOBAN2-U9GJSP1d.js → chunk-CXMOBAN2-Bas2S5w1.js} +46 -54
  33. package/dist/chunk-EXTU4WIE-DXwNSukz.js +10 -0
  34. package/dist/{chunk-FMBD7UC4-DyV3BR_I.js → chunk-FMBD7UC4-CYKEpuPr.js} +1 -1
  35. package/dist/{chunk-JA3XYJ7Z-C9A1076P.js → chunk-JA3XYJ7Z-DcxfkcDC.js} +21 -25
  36. package/dist/{chunk-JEIROHC2-BGnFkSVq.js → chunk-JEIROHC2-C01ZIcIG.js} +1 -1
  37. package/dist/{chunk-K7UQS3LO-033LOsjK.js → chunk-K7UQS3LO-CmbT97MV.js} +7 -7
  38. package/dist/{chunk-KMC2YHZD-DT4Sq4Ld.js → chunk-KMC2YHZD-D64m-1E1.js} +1 -1
  39. package/dist/{chunk-QN33PNHL-gs44MZla.js → chunk-QN33PNHL-DjB0j8Dr.js} +2 -2
  40. package/dist/{chunk-QYVHNE3D-B8BO1AnT.js → chunk-QYVHNE3D-VA4W4oxG.js} +3 -4
  41. package/dist/{chunk-QZHKN3VN-CeN_GkU6.js → chunk-QZHKN3VN-KT0fl3Em.js} +1 -1
  42. package/dist/chunk-S3R3BYOJ-C5zmcMvn.js +380 -0
  43. package/dist/{chunk-T44TD3VJ-BwzD6YE0.js → chunk-T44TD3VJ-BMOgu-Hk.js} +1 -1
  44. package/dist/{chunk-TVAH2DTR-Bi6jpQJQ.js → chunk-TVAH2DTR-eKm8SKnH.js} +7 -8
  45. package/dist/{chunk-TZMSLE5B-D8klz2H_.js → chunk-TZMSLE5B-CQxFRiI2.js} +5 -6
  46. package/dist/{chunk-WFRQ32O7-CzSwSlN0.js → chunk-WFRQ32O7-Dg51o277.js} +1 -1
  47. package/dist/{chunk-WFWHJNB7-DN_cavM6.js → chunk-WFWHJNB7-DVLO98ge.js} +1 -1
  48. package/dist/{chunk-XRWGC2XP-Bb5eGNM2.js → chunk-XRWGC2XP-UNFKdWQh.js} +1 -1
  49. package/dist/{chunk-ZPAFE4SF-S5UYNb0V.js → chunk-ZPAFE4SF-DbCSwfLK.js} +22 -22
  50. package/dist/classDiagram-KNZD7YFC-HUFFxNdk.js +40 -0
  51. package/dist/classDiagram-v2-RKCZMP56-Dw7Acmuf.js +40 -0
  52. package/dist/{click-outside-container-DE4e7p1p.js → click-outside-container-2BH589Bq.js} +9 -14
  53. package/dist/{clike-Cg_DBrJ0.js → clike-Bc2PZzZQ.js} +1 -1
  54. package/dist/{clike-CxAz4p9E.js → clike-CytFO-kN.js} +1 -1
  55. package/dist/clojure-8GefCgPe.js +4 -0
  56. package/dist/{clone-Dk4FkKH0.js → clone-CCgVUJ6x.js} +1 -1
  57. package/dist/cmake-yAhT9H0F.js +4 -0
  58. package/dist/cobol-BmltueOY.js +4 -0
  59. package/dist/coffeescript-C7KEQBcH.js +4 -0
  60. package/dist/commonlisp-CNbiJRU-.js +4 -0
  61. package/dist/{constants-Cjd_3kwd.js → constants-BaCMVd12.js} +3 -3
  62. package/dist/{copy-C5RFg7ok.js → copy-GNcK40wy.js} +6 -2
  63. package/dist/{cose-bilkent-S5V4N54A-B3iOTGu5.js → cose-bilkent-S5V4N54A-BnvuJG6Y.js} +20 -20
  64. package/dist/crystal-OdjZZ8bc.js +4 -0
  65. package/dist/css-DhTxMmL_.js +5 -0
  66. package/dist/cypher-CgN8E3YI.js +4 -0
  67. package/dist/{cytoscape.esm-DTDV0Nbj.js → cytoscape.esm-BFEMljQI.js} +586 -661
  68. package/dist/d-g41sJcBC.js +4 -0
  69. package/dist/{dagre-5GWH7T2D-KM4Z11yT.js → dagre-5GWH7T2D-rn7tZYaQ.js} +41 -45
  70. package/dist/{dagre-B0u1urxE.js → dagre-Bghq6VKO.js} +58 -77
  71. package/dist/data-grid-overlay-editor-B4_Caieu.js +133 -0
  72. package/dist/{diagram-N5W7TBWH-CtO7az4G.js → diagram-N5W7TBWH-lbF94o-g.js} +46 -61
  73. package/dist/diagram-QEK2KX5R-CKBhSzsO.js +246 -0
  74. package/dist/{diagram-S2PKOQOG-CiXElLNQ.js → diagram-S2PKOQOG-161_1f53.js} +35 -34
  75. package/dist/diff-ViRYYhhg.js +4 -0
  76. package/dist/{dist-C3WYsf4K.js → dist-28HYzERB.js} +4 -10
  77. package/dist/{dist-CChOkSUg.js → dist-4dtbqf8A.js} +3 -3
  78. package/dist/{dist-CUnh_3Ii.js → dist-71jYYbWP.js} +2 -2
  79. package/dist/{dist-elblfNXO.js → dist-B8Pbw5ln.js} +2 -2
  80. package/dist/{dist-DPF5TTUg.js → dist-BAqp4Vtl.js} +126 -115
  81. package/dist/{dist-BEvIw5Nh.js → dist-BBhmkni2.js} +1 -1
  82. package/dist/{dist-C7ASiFxI.js → dist-BNRdMfJH.js} +273 -263
  83. package/dist/dist-BSyYM1Gi.js +15 -0
  84. package/dist/{dist-DzOpMdwb.js → dist-BYHiiJB-.js} +4 -4
  85. package/dist/{dist-DKFaZRVk.js → dist-B_wjJqqS.js} +2 -2
  86. package/dist/{dist-CutXTm8t.js → dist-BaPjLM6s.js} +1 -1
  87. package/dist/dist-BfJO8Bm9.js +12 -0
  88. package/dist/{dist-CGIZPq3J.js → dist-BqdQPWpQ.js} +2 -2
  89. package/dist/{dist--I6Htnlv.js → dist-C2IEc8og.js} +5 -5
  90. package/dist/{dist-CLvpViod.js → dist-C9-uHBqC.js} +2 -3
  91. package/dist/{dist-DBhzmFyH.js → dist-CJb8EiFO.js} +3 -3
  92. package/dist/dist-CLuF3AtO.js +6 -0
  93. package/dist/{dist-Dzk1C8l5.js → dist-CNAkUyxv.js} +11 -14
  94. package/dist/{dist-DNnYAdRE.js → dist-CNvMOZu9.js} +2 -2
  95. package/dist/{dist-CxD5E6Sh.js → dist-CPNnKuPh.js} +24 -22
  96. package/dist/{dist-C3QUag__.js → dist-CTIyD_KU.js} +3 -3
  97. package/dist/dist-CU04U4NL.js +10 -0
  98. package/dist/{dist-CZfRM7pE.js → dist-CWh5ZwcC.js} +2 -2
  99. package/dist/{dist-DW9er3Zq.js → dist-CWqB4bg8.js} +44 -23
  100. package/dist/{dist-CbRkrKrP.js → dist-CtOeHDJp.js} +5 -5
  101. package/dist/{dist-DL_ci7Yc.js → dist-Cw0F6l-7.js} +1 -1
  102. package/dist/{dist-BZBitvuL.js → dist-CwZcC4om.js} +1 -1
  103. package/dist/dist-DNUT6b47.js +6 -0
  104. package/dist/{dist-BBlFk9ki.js → dist-Da046MhT.js} +1 -1
  105. package/dist/{dist-Cib4sGDA.js → dist-DaTVdKJa.js} +2 -2
  106. package/dist/dist-DbAb2sY7.js +6 -0
  107. package/dist/dist-DiDFQ2Rk.js +6 -0
  108. package/dist/{dist-BQmQQqFH.js → dist-DlK420ke.js} +1 -1
  109. package/dist/{dist-o7fhJC7U.js → dist-Drf3cyIW.js} +3 -3
  110. package/dist/{dist-CdE2C2In.js → dist-DxESp2-T.js} +15 -20
  111. package/dist/{dist-JCAky9ND.js → dist-DzJem5xc.js} +17 -22
  112. package/dist/{dist-C5zMs_n5.js → dist-O0zVziwn.js} +3 -3
  113. package/dist/dist-SNAyAOJ-.js +6 -0
  114. package/dist/{dist-Bar1QnNM.js → dist-_4cudra1.js} +3 -3
  115. package/dist/dist-cbW5xJNV.js +6 -0
  116. package/dist/dist-h8eGLSbK.js +10 -0
  117. package/dist/{dist-BqgkUnEN.js → dist-xLN9qCAp.js} +3 -3
  118. package/dist/{dockerfile-Dum_1b-5.js → dockerfile-Cmlcqk35.js} +1 -1
  119. package/dist/dtd-RplB6hDg.js +4 -0
  120. package/dist/dylan-BX8KJufP.js +4 -0
  121. package/dist/ecl-CWtLaNMH.js +4 -0
  122. package/dist/eiffel-C-mlZPMn.js +4 -0
  123. package/dist/elm-CWp06vcb.js +4 -0
  124. package/dist/{erDiagram-AWTI2OKA-ZTIl9iQO.js → erDiagram-AWTI2OKA-BU7Qig7n.js} +32 -31
  125. package/dist/erlang-pfp22AZM.js +4 -0
  126. package/dist/error-banner-BAWlXn49.js +1012 -0
  127. package/dist/{esm-d0g2RsOH.js → esm-AtKNNGYO.js} +7 -9
  128. package/dist/esm-B2pocBPL.js +26 -0
  129. package/dist/{esm-DxFkg7a6.js → esm-Oo8OvZ6m.js} +1529 -1493
  130. package/dist/{esm-1_Mp6VD2.js → esm-YVnxJqkD.js} +340 -411
  131. package/dist/{factor-CdgiDGiu.js → factor-BZnBK3CG.js} +1 -1
  132. package/dist/factor-CEn53jua.js +5 -0
  133. package/dist/{flowDiagram-PVAE7QVJ-DsbofOzu.js → flowDiagram-PVAE7QVJ-JKJebWeY.js} +41 -40
  134. package/dist/{formats-ChrNdVdJ.js → formats-DOEuF6TR.js} +15 -19
  135. package/dist/forth-CL8vu_y8.js +4 -0
  136. package/dist/fortran-DsmXkYtE.js +4 -0
  137. package/dist/{ganttDiagram-OWAHRB6G-FnCH1Yj3.js → ganttDiagram-OWAHRB6G-BvWRfg05.js} +17 -16
  138. package/dist/gas-mYt9Rtlx.js +4 -0
  139. package/dist/gherkin-DHNCKBNj.js +4 -0
  140. package/dist/gitGraph-ZV4HHKMB-Cpd6k0O8.js +21 -0
  141. package/dist/{gitGraphDiagram-NY62KEGX-B0wvMNqU.js → gitGraphDiagram-NY62KEGX-VEJJBf5L.js} +38 -40
  142. package/dist/{glide-data-editor-D_kEsT07.js → glide-data-editor-Bne10icG.js} +1703 -1771
  143. package/dist/{graphlib-BGmr7CYF.js → graphlib-DRS8CrjA.js} +5 -5
  144. package/dist/groovy-DzRtOS5a.js +4 -0
  145. package/dist/haskell-Bl9iT_Mp.js +4 -0
  146. package/dist/haxe-DqA0ED6k.js +5 -0
  147. package/dist/{hotkeys-yFrUwyJK.js → hotkeys-DVxFjl2s.js} +16 -7
  148. package/dist/idl-WU2hil4i.js +4 -0
  149. package/dist/info-63CPKGFF-CG-xzUJo.js +21 -0
  150. package/dist/infoDiagram-STP46IZ2-zoRBGoup.js +45 -0
  151. package/dist/invariant-D3JoRb4I.js +6 -0
  152. package/dist/{isArrayLikeObject-DiDsNamC.js → isArrayLikeObject-DU5MCuQM.js} +3 -5
  153. package/dist/{isEmpty-BBG-u1GM.js → isEmpty-Do_v2sls.js} +2 -2
  154. package/dist/{isSymbol-BxF-_8BA.js → isSymbol-CtkA8Y0a.js} +1 -1
  155. package/dist/{javascript-Dfq1qI35.js → javascript-DGukg1sB.js} +2 -2
  156. package/dist/javascript-QY2BGJeV.js +5 -0
  157. package/dist/jinja2-Czleq7Sk.js +4 -0
  158. package/dist/{journeyDiagram-BIP6EPQ6-B3PotfAW.js → journeyDiagram-BIP6EPQ6-CsgEQgxh.js} +28 -28
  159. package/dist/julia-Dru3Qi0y.js +4 -0
  160. package/dist/{kanban-definition-6OIFK2YF-BTrQZ3LN.js → kanban-definition-6OIFK2YF-Bi8Ete2P.js} +42 -41
  161. package/dist/{katex-dN__NFdn.js → katex-C-g3rKKt.js} +1 -1
  162. package/dist/{katex-BE4xflfm.js → katex-DgfMWJY9.js} +149 -173
  163. package/dist/{label-BinTsX-u.js → label-BiVIU_wb.js} +252 -253
  164. package/dist/{line-C6-zz71o.js → line-B7-GoF1m.js} +3 -3
  165. package/dist/{linear-DyTdUIqX.js → linear-DeGGALuc.js} +4 -4
  166. package/dist/livescript-Dxqi_HLT.js +4 -0
  167. package/dist/{loader-Dijti3y4.js → loader-BBqwtZWj.js} +19 -26
  168. package/dist/lua-ByH1cUQZ.js +4 -0
  169. package/dist/main.js +17025 -17039
  170. package/dist/{marked.esm-3RjvXPoO.js → marked.esm-DkVwEwtO.js} +5 -5
  171. package/dist/mathematica-CWJIFuES.js +4 -0
  172. package/dist/mbox-qhPIGaUI.js +4 -0
  173. package/dist/{memoize-Dq87l1O_.js → memoize-D7eDkf3R.js} +1 -1
  174. package/dist/{merge-BPDCIm8P.js → merge-C_6cGM6o.js} +1 -1
  175. package/dist/{mermaid-MWiyXDcI.js → mermaid-BmtvsZ2m.js} +323 -339
  176. package/dist/{mermaid-parser.core-CSFx6MQ7.js → mermaid-parser.core-geyG_6o0.js} +8 -8
  177. package/dist/{mhchem-DZ68WS0G.js → mhchem-OhAaJ0fA.js} +1 -1
  178. package/dist/{min-BzhKOmZo.js → min-Dwa_NbP6.js} +7 -7
  179. package/dist/{mindmap-definition-Q6HEUPPD-9hhnrO1k.js → mindmap-definition-Q6HEUPPD-B-wmX1oG.js} +29 -28
  180. package/dist/mirc-yYcXhXBY.js +4 -0
  181. package/dist/mllike-BfT_Nl9x.js +6 -0
  182. package/dist/modelica-lVDtz1Rm.js +4 -0
  183. package/dist/mscgen-DvwdD1QJ.js +6 -0
  184. package/dist/mumps-BiY3GwKd.js +4 -0
  185. package/dist/{node-sql-parser-13oju30e.js → node-sql-parser-CoPWN4hn.js} +14343 -14351
  186. package/dist/{now-DVBcRCoE.js → now-DumxsrcX.js} +1 -1
  187. package/dist/{nsis-BW6_XagK.js → nsis-D4bLR_Y1.js} +1 -1
  188. package/dist/nsis-Dk18Sq_4.js +5 -0
  189. package/dist/ntriples-Cj-8VqKF.js +4 -0
  190. package/dist/{number-overlay-editor-D1YdiOrm.js → number-overlay-editor-D6r-48ka.js} +18 -24
  191. package/dist/octave-BgFAaYjU.js +4 -0
  192. package/dist/once-3OSMKEsL.js +74 -0
  193. package/dist/{ordinal-BXk5xAj2.js → ordinal-DpEbSVPc.js} +1 -1
  194. package/dist/oz-IsEG1I1m.js +4 -0
  195. package/dist/packet-HUATNLJX-Cafuo3IG.js +21 -0
  196. package/dist/pascal-BVf7FtIE.js +4 -0
  197. package/dist/perl-BM0-y4mZ.js +4 -0
  198. package/dist/pie-WTHONI2E-BE0pHBwB.js +21 -0
  199. package/dist/{pieDiagram-ADFJNKIX-CSBC0ZgF.js → pieDiagram-ADFJNKIX-C3GvPNUL.js} +40 -39
  200. package/dist/pig-CLBjzQmc.js +4 -0
  201. package/dist/powershell-B_qvE33J.js +4 -0
  202. package/dist/powershell-Dr7WZMDU.js +236 -0
  203. package/dist/{precisionRound-DbP73hkf.js → precisionRound-7YYJq2rW.js} +1 -1
  204. package/dist/properties-CUTpsH2y.js +4 -0
  205. package/dist/protobuf-DqCP8a-0.js +4 -0
  206. package/dist/pug-BvexKkw4.js +5 -0
  207. package/dist/{pug-Bmups_z0.js → pug-Dv3gE36O.js} +1 -1
  208. package/dist/puppet-CoIi0R3f.js +4 -0
  209. package/dist/purify.es-CrfFzTyi.js +536 -0
  210. package/dist/python-C-11-YMh.js +5 -0
  211. package/dist/{q-BzWcnVri.js → q-BzRpKgfd.js} +3 -2
  212. package/dist/q-CCVgEip7.js +4 -0
  213. package/dist/{quadrantDiagram-LMRXKWRM-h7nHf8xG.js → quadrantDiagram-LMRXKWRM-DPXwGNVa.js} +11 -10
  214. package/dist/r-CIdR0Sfs.js +4 -0
  215. package/dist/radar-NJJJXTRR-0adgjw0u.js +21 -0
  216. package/dist/{range-CgK0-PEw.js → range-CIbLpsrs.js} +3 -3
  217. package/dist/{react-plotly-BZakcxdv.js → react-plotly-DYyvxcRD.js} +4365 -4706
  218. package/dist/{requirementDiagram-4UW4RH46-BGEurQYq.js → requirementDiagram-4UW4RH46-Cs3Hqnm0.js} +24 -23
  219. package/dist/rpm-Dwvm039g.js +5 -0
  220. package/dist/ruby-DpTnO5gb.js +4 -0
  221. package/dist/{sankeyDiagram-GR3RE2ED-CxeJ_jfl.js → sankeyDiagram-GR3RE2ED-Be1d_Xf7.js} +7 -6
  222. package/dist/sas-CK9boxgv.js +4 -0
  223. package/dist/scheme-Y1aYL-Qq.js +4 -0
  224. package/dist/{sequenceDiagram-C3RYC4MD-CbFxwyr_.js → sequenceDiagram-C3RYC4MD-lbtovKTa.js} +24 -33
  225. package/dist/shell-D3eXGsHd.js +4 -0
  226. package/dist/sieve-BdwSFdWJ.js +4 -0
  227. package/dist/{simple-mode-Cgyya8F-.js → simple-mode-BMmwP_vI.js} +1 -1
  228. package/dist/{slides-component-BEyG25AH.js → slides-component-BoeQU7-s.js} +1012 -1033
  229. package/dist/smalltalk-BTYJquCm.js +4 -0
  230. package/dist/sparql-CYF0g4Cc.js +4 -0
  231. package/dist/{src-BNNJRxz3.js → src-BTqT1mA1.js} +6 -6
  232. package/dist/{stateDiagram-KXAO66HF-A61bMf29.js → stateDiagram-KXAO66HF-BmbR-Rol.js} +48 -49
  233. package/dist/stateDiagram-v2-UMBNRL4Z-DdJ7qVWc.js +39 -0
  234. package/dist/{step-IHYrujTc.js → step-2RJrMSSG.js} +1 -1
  235. package/dist/stex-CyWhoWHt.js +5 -0
  236. package/dist/style.css +1 -1
  237. package/dist/stylus-BBiKaI2h.js +4 -0
  238. package/dist/swift-COb15qFR.js +4 -0
  239. package/dist/tcl-Jik1LXu9.js +4 -0
  240. package/dist/textile-BFHPD3wr.js +4 -0
  241. package/dist/{time-D3tzCqJ6.js → time-BB30r1tK.js} +4 -4
  242. package/dist/{timeline-definition-XQNQX7LJ-BwdsB7CR.js → timeline-definition-XQNQX7LJ-1mv5caPW.js} +17 -17
  243. package/dist/{timer-D3Zlu9ow.js → timer-CcUhugb0.js} +2 -2
  244. package/dist/{toNumber-efKT08hh.js → toNumber-D3Ystr3y.js} +2 -2
  245. package/dist/{toString-BvCd3yJc.js → toString-CbuxCRDG.js} +2 -2
  246. package/dist/{toml-CIUkU1CP.js → toml-BqNUJWRI.js} +6 -2
  247. package/dist/toml-Brp9fBXs.js +4 -0
  248. package/dist/treemap-75Q7IDZK-CyBT8_Wh.js +21 -0
  249. package/dist/troff-CcZRW4vg.js +4 -0
  250. package/dist/ttcn-Bz_6ifRd.js +4 -0
  251. package/dist/ttcn-cfg-v-yi2rKc.js +4 -0
  252. package/dist/turtle-CDOsZYhB.js +4 -0
  253. package/dist/{types-1X1uZB4y.js → types-BPohCsA7.js} +198 -278
  254. package/dist/{useAsyncData-C4IqQK0g.js → useAsyncData-DHBqeb9a.js} +3 -2
  255. package/dist/{useDateFormatter-BCsBqetx.js → useDateFormatter-BkbjKw83.js} +9 -9
  256. package/dist/useIframeCapabilities-BEvvwlwt.js +46 -0
  257. package/dist/{useTheme-C2pgJzDH.js → useTheme-CnMbo-iq.js} +32 -29
  258. package/dist/vb-CL7fRwRw.js +4 -0
  259. package/dist/vbscript-CR2xfxpw.js +4 -0
  260. package/dist/{vega-component-Cv4J8CHz.js → vega-component-BfFcXZxw.js} +40 -39
  261. package/dist/{vega-loader.browser.module-Bi3ttvdj.js → vega-loader.browser.module-CFMtdrNw.js} +4 -5
  262. package/dist/velocity-CfuZoxPt.js +4 -0
  263. package/dist/verilog-CySTkzw_.js +4 -0
  264. package/dist/vhdl-Dvcd8KHW.js +4 -0
  265. package/dist/webidl-tbJt7sKk.js +4 -0
  266. package/dist/xquery-DJQVztyc.js +4 -0
  267. package/dist/{xychartDiagram-6GGTOJPD-BJRRi5HC.js → xychartDiagram-6GGTOJPD-njc-naaw.js} +24 -24
  268. package/dist/yacas-BbgBReEH.js +4 -0
  269. package/dist/z80-DPyb8VGz.js +4 -0
  270. package/dist/{zod-UPQf9SGn.js → zod-mAEs2ITo.js} +71 -81
  271. package/package.json +21 -17
  272. package/src/__mocks__/requests.ts +2 -0
  273. package/src/components/app-config/ai-config.tsx +1 -3
  274. package/src/components/app-config/common.tsx +14 -0
  275. package/src/components/app-config/data-form.tsx +282 -0
  276. package/src/components/app-config/user-config-form.tsx +36 -219
  277. package/src/components/chat/acp/__tests__/state.test.ts +75 -2
  278. package/src/components/chat/acp/agent-panel.tsx +143 -89
  279. package/src/components/chat/acp/blocks.tsx +77 -34
  280. package/src/components/chat/acp/state.ts +5 -1
  281. package/src/components/chat/acp/thread.tsx +12 -1
  282. package/src/components/chat/chat-panel.tsx +38 -5
  283. package/src/components/chat/chat-utils.ts +16 -5
  284. package/src/components/chat/markdown-renderer.css +1 -0
  285. package/src/components/chat/tool-call-accordion.tsx +7 -1
  286. package/src/components/data-table/__tests__/header-items.test.tsx +117 -0
  287. package/src/components/data-table/charts/__tests__/storage.test.ts +12 -6
  288. package/src/components/data-table/charts/charts.tsx +8 -2
  289. package/src/components/data-table/charts/storage.ts +1 -1
  290. package/src/components/data-table/column-header.tsx +4 -2
  291. package/src/components/data-table/column-wrapping/feature.ts +2 -0
  292. package/src/components/data-table/columns.tsx +12 -3
  293. package/src/components/data-table/data-table.tsx +7 -2
  294. package/src/components/data-table/header-items.tsx +63 -10
  295. package/src/components/data-table/renderers.tsx +3 -2
  296. package/src/components/dependency-graph/custom-node.tsx +11 -11
  297. package/src/components/dependency-graph/elements.ts +9 -4
  298. package/src/components/dependency-graph/panels.tsx +6 -4
  299. package/src/components/editor/Output.tsx +34 -25
  300. package/src/components/editor/actions/useCellActionButton.tsx +20 -4
  301. package/src/components/editor/ai/add-cell-with-ai.tsx +17 -3
  302. package/src/components/editor/ai/ai-completion-editor.tsx +203 -26
  303. package/src/components/editor/ai/completion-handlers.tsx +126 -23
  304. package/src/components/editor/cell/StagedAICell.tsx +81 -12
  305. package/src/components/editor/cell/code/cell-editor.tsx +6 -2
  306. package/src/components/editor/cell/useRunCells.ts +62 -30
  307. package/src/components/editor/chrome/panels/cache-panel.tsx +216 -0
  308. package/src/components/editor/chrome/panels/empty-state.tsx +3 -1
  309. package/src/components/editor/chrome/panels/packages-panel.tsx +1 -1
  310. package/src/components/editor/chrome/state.ts +1 -1
  311. package/src/components/editor/chrome/types.ts +66 -22
  312. package/src/components/editor/chrome/wrapper/app-chrome.tsx +4 -0
  313. package/src/components/editor/chrome/wrapper/minimap.tsx +2 -0
  314. package/src/components/editor/chrome/wrapper/pending-ai-cells.tsx +108 -0
  315. package/src/components/editor/chrome/wrapper/sidebar.tsx +1 -1
  316. package/src/components/editor/code/readonly-diff.tsx +49 -0
  317. package/src/components/editor/columns/storage.ts +1 -1
  318. package/src/components/editor/errors/auto-fix.tsx +138 -32
  319. package/src/components/editor/errors/fix-mode.ts +20 -0
  320. package/src/components/editor/inputs/Inputs.styles.ts +1 -1
  321. package/src/components/editor/navigation/__tests__/clipboard.test.ts +0 -5
  322. package/src/components/editor/navigation/clipboard.ts +2 -1
  323. package/src/components/editor/notebook-cell.tsx +20 -7
  324. package/src/components/editor/output/CalloutOutput.tsx +1 -1
  325. package/src/components/editor/output/ConsoleOutput.tsx +27 -33
  326. package/src/components/editor/output/HtmlOutput.tsx +3 -2
  327. package/src/components/editor/output/JsonOutput.tsx +15 -1
  328. package/src/components/editor/output/MarimoTracebackOutput.tsx +69 -52
  329. package/src/components/editor/output/__tests__/HtmlOutput.test.tsx +134 -0
  330. package/src/components/editor/output/__tests__/json-output.test.ts +43 -0
  331. package/src/components/editor/output/__tests__/traceback.test.tsx +8 -1
  332. package/src/components/editor/output/useWrapText.ts +6 -1
  333. package/src/components/editor/package-alert.tsx +37 -32
  334. package/src/components/editor/renderers/vertical-layout/vertical-layout-wrapper.tsx +5 -2
  335. package/src/components/forms/__tests__/form-utils.test.ts +4 -2
  336. package/src/components/home/state.ts +3 -2
  337. package/src/components/icons/copy-icon.tsx +11 -5
  338. package/src/components/scratchpad/scratchpad-history.ts +6 -1
  339. package/src/components/shortcuts/renderShortcut.tsx +3 -1
  340. package/src/components/slides/slides-component.tsx +25 -21
  341. package/src/components/ui/button.tsx +2 -0
  342. package/src/components/ui/confirmation-button.tsx +85 -0
  343. package/src/components/ui/context-menu.tsx +14 -4
  344. package/src/components/ui/dropdown-menu.tsx +14 -4
  345. package/src/components/ui/fullscreen.tsx +115 -1
  346. package/src/components/ui/popover.tsx +11 -3
  347. package/src/components/ui/range-slider.tsx +1 -1
  348. package/src/components/ui/select.tsx +7 -3
  349. package/src/components/ui/slider.tsx +1 -1
  350. package/src/components/ui/switch.tsx +2 -0
  351. package/src/components/ui/tooltip.tsx +10 -3
  352. package/src/core/ai/__tests__/staged-cells.test.ts +189 -64
  353. package/src/core/ai/config.ts +6 -2
  354. package/src/core/ai/context/providers/__tests__/__snapshots__/cell-output.test.ts.snap +17 -0
  355. package/src/core/ai/context/providers/__tests__/cell-output.test.ts +194 -10
  356. package/src/core/ai/context/providers/__tests__/datasource.test.ts +9 -1
  357. package/src/core/ai/context/providers/cell-output.ts +170 -112
  358. package/src/core/ai/context/providers/datasource.ts +25 -1
  359. package/src/core/ai/context/providers/tables.ts +2 -2
  360. package/src/core/ai/staged-cells.ts +32 -16
  361. package/src/core/ai/state.ts +8 -4
  362. package/src/core/ai/tools/__tests__/edit-notebook-tool.test.ts +556 -0
  363. package/src/core/ai/tools/__tests__/registry.test.ts +41 -8
  364. package/src/core/ai/tools/__tests__/run-cells-tool.test.ts +450 -0
  365. package/src/core/ai/tools/__tests__/utils.test.ts +87 -0
  366. package/src/core/ai/tools/base.ts +109 -6
  367. package/src/core/ai/tools/edit-notebook-tool.ts +239 -0
  368. package/src/core/ai/tools/registry.ts +48 -15
  369. package/src/core/ai/tools/run-cells-tool.ts +233 -0
  370. package/src/core/ai/tools/sample-tool.ts +53 -15
  371. package/src/core/ai/tools/utils.ts +23 -0
  372. package/src/core/cache/requests.ts +5 -0
  373. package/src/core/cells/__tests__/cells.test.ts +19 -1
  374. package/src/core/cells/__tests__/session.test.ts +20 -3
  375. package/src/core/cells/cells.ts +13 -8
  376. package/src/core/cells/session.ts +1 -1
  377. package/src/core/codemirror/__tests__/__snapshots__/setup.test.ts.snap +2 -0
  378. package/src/core/codemirror/__tests__/replace-editor-content.test.ts +336 -0
  379. package/src/core/codemirror/ai/resources.ts +13 -2
  380. package/src/core/codemirror/copilot/state.ts +4 -2
  381. package/src/core/codemirror/find-replace/navigate.ts +2 -2
  382. package/src/core/codemirror/format.ts +2 -9
  383. package/src/core/codemirror/language/__tests__/extension.test.ts +10 -2
  384. package/src/core/codemirror/language/__tests__/sql.test.ts +24 -6
  385. package/src/core/codemirror/language/languages/markdown.ts +16 -153
  386. package/src/core/codemirror/language/languages/python.ts +13 -10
  387. package/src/core/codemirror/language/languages/sql/sql-mode.ts +6 -1
  388. package/src/core/codemirror/language/languages/sql/sql.ts +43 -306
  389. package/src/core/codemirror/language/panel/markdown.tsx +2 -1
  390. package/src/core/codemirror/language/panel/panel.tsx +2 -7
  391. package/src/core/codemirror/language/utils.ts +3 -8
  392. package/src/core/codemirror/lsp/__tests__/notebook-lsp.test.ts +21 -14
  393. package/src/core/codemirror/lsp/federated-lsp.ts +20 -9
  394. package/src/core/codemirror/lsp/notebook-lsp.ts +35 -29
  395. package/src/core/codemirror/lsp/transports.ts +7 -13
  396. package/src/core/codemirror/lsp/types.ts +0 -13
  397. package/src/core/codemirror/replace-editor-content.ts +87 -0
  398. package/src/core/config/__tests__/config-schema.test.ts +3 -0
  399. package/src/core/config/config-schema.ts +12 -1
  400. package/src/core/config/feature-flag.tsx +2 -4
  401. package/src/core/errors/__tests__/errors.test.ts +1 -0
  402. package/src/core/errors/errors.ts +20 -6
  403. package/src/core/hotkeys/hotkeys.ts +12 -0
  404. package/src/core/islands/bridge.ts +2 -0
  405. package/src/core/islands/main.ts +4 -0
  406. package/src/core/kernel/messages.ts +1 -0
  407. package/src/core/lsp/__tests__/transport.test.ts +233 -0
  408. package/src/core/lsp/transport.ts +139 -0
  409. package/src/core/network/requests-network.ts +14 -0
  410. package/src/core/network/requests-static.ts +2 -0
  411. package/src/core/network/requests-toasting.ts +2 -0
  412. package/src/core/network/types.ts +5 -0
  413. package/src/core/rtc/state.ts +6 -1
  414. package/src/core/saving/save-component.tsx +43 -36
  415. package/src/core/vscode/is-in-vscode.ts +9 -0
  416. package/src/core/wasm/bridge.ts +2 -0
  417. package/src/core/wasm/store.ts +1 -1
  418. package/src/core/websocket/useMarimoWebSocket.tsx +8 -0
  419. package/src/css/app/Cell.css +31 -0
  420. package/src/css/app/codemirror-completions.css +1 -1
  421. package/src/css/globals.css +5 -0
  422. package/src/custom.d.ts +2 -0
  423. package/src/hooks/useIframeCapabilities.ts +14 -0
  424. package/src/hooks/useLocalStorage.ts +1 -1
  425. package/src/plugins/core/RenderHTML.tsx +65 -5
  426. package/src/plugins/core/__test__/RenderHTML.test.ts +25 -23
  427. package/src/plugins/core/__test__/renderHTML-sanitization.test.tsx +131 -0
  428. package/src/plugins/core/__test__/sanitize.test.ts +465 -0
  429. package/src/plugins/core/registerReactComponent.tsx +19 -2
  430. package/src/plugins/core/sanitize.ts +76 -0
  431. package/src/plugins/impl/DataTablePlugin.tsx +20 -19
  432. package/src/plugins/impl/FileBrowserPlugin.tsx +1 -3
  433. package/src/plugins/impl/FileUploadPlugin.tsx +1 -3
  434. package/src/plugins/impl/__tests__/DateTimePickerPlugin.test.tsx +40 -1
  435. package/src/plugins/impl/__tests__/DropdownPlugin.test.tsx +6 -0
  436. package/src/plugins/impl/__tests__/MultiSelectPlugin.test.ts +8 -1
  437. package/src/plugins/impl/__tests__/NumberPlugin.test.tsx +3 -0
  438. package/src/plugins/impl/chat/ChatPlugin.tsx +1 -1
  439. package/src/plugins/impl/chat/chat-ui.tsx +17 -2
  440. package/src/plugins/impl/chat/types.ts +1 -1
  441. package/src/plugins/impl/data-frames/DataFramePlugin.tsx +7 -2
  442. package/src/plugins/impl/plotly/__tests__/parse-from-template.test.ts +17 -0
  443. package/src/plugins/impl/plotly/parse-from-template.ts +2 -1
  444. package/src/utils/__tests__/arrays.test.ts +42 -0
  445. package/src/utils/__tests__/capabilities.test.ts +453 -0
  446. package/src/utils/__tests__/formatting.test.ts +107 -0
  447. package/src/utils/__tests__/json-parser.test.ts +13 -0
  448. package/src/utils/__tests__/local-storage.test.ts +1 -1
  449. package/src/utils/__tests__/storage.test.ts +21 -21
  450. package/src/utils/arrays.ts +25 -0
  451. package/src/utils/capabilities.ts +114 -0
  452. package/src/utils/copy.ts +6 -0
  453. package/src/utils/formatting.ts +51 -0
  454. package/src/utils/json/json-parser.ts +28 -3
  455. package/src/utils/numbers.ts +2 -2
  456. package/src/utils/{storage.ts → storage/jotai.ts} +16 -4
  457. package/src/utils/storage/storage.ts +57 -0
  458. package/src/utils/{localStorage.ts → storage/typed.ts} +22 -12
  459. package/dist/any-language-editor-CVFQlioK.js +0 -156
  460. package/dist/apl-ChlaBfxB.js +0 -4
  461. package/dist/architecture-O4VJ6CD3-BVeaxUcM.js +0 -21
  462. package/dist/asciiarmor-CcJmm3l_.js +0 -4
  463. package/dist/asn1-ThRYxoBE.js +0 -4
  464. package/dist/assets/__vite-browser-external-Dv_SHu1h.js +0 -1
  465. package/dist/assets/worker-DVOR9oZG.js +0 -54
  466. package/dist/brainfuck-CEM0JgDn.js +0 -4
  467. package/dist/chunk-EXTU4WIE-DECT9AAK.js +0 -14
  468. package/dist/chunk-S3R3BYOJ-DMQ1yeyq.js +0 -386
  469. package/dist/classDiagram-KNZD7YFC-BG53O6Jt.js +0 -39
  470. package/dist/classDiagram-v2-RKCZMP56-BmKILsGU.js +0 -39
  471. package/dist/clojure-B7RHyE9t.js +0 -4
  472. package/dist/cmake-TeTMP4I5.js +0 -4
  473. package/dist/cobol-DI-mxUER.js +0 -4
  474. package/dist/coffeescript-DHUFLqWp.js +0 -4
  475. package/dist/commonlisp-SLiUrh1m.js +0 -4
  476. package/dist/crystal-B4fY1ZfJ.js +0 -4
  477. package/dist/css-Bdoq3TzK.js +0 -5
  478. package/dist/cypher-CBU182fp.js +0 -4
  479. package/dist/d-D8myDZeH.js +0 -4
  480. package/dist/data-grid-overlay-editor-qNmJk2x0.js +0 -135
  481. package/dist/diagram-QEK2KX5R-fu8Noi3H.js +0 -245
  482. package/dist/diff-DJF_UB7H.js +0 -4
  483. package/dist/dist-52-_pKoy.js +0 -6
  484. package/dist/dist-6DOMStFn.js +0 -6
  485. package/dist/dist-B334aW7p.js +0 -10
  486. package/dist/dist-BOI9lUz-.js +0 -12
  487. package/dist/dist-C06uhBzF.js +0 -6
  488. package/dist/dist-CGkpguCB.js +0 -6
  489. package/dist/dist-CrApzUED.js +0 -6
  490. package/dist/dist-Dp2GLdCl.js +0 -14
  491. package/dist/dist-WHFsbMDr.js +0 -6
  492. package/dist/dist-hyKcTPG9.js +0 -10
  493. package/dist/dtd-DY8q65lC.js +0 -4
  494. package/dist/dylan-CBLcjWCi.js +0 -4
  495. package/dist/ecl-BSXPNfOw.js +0 -4
  496. package/dist/eiffel-BJf0PQX-.js +0 -4
  497. package/dist/elm-DWQwPCZS.js +0 -4
  498. package/dist/erlang-BWBaGZ5e.js +0 -4
  499. package/dist/error-banner-OQIGTqFR.js +0 -1012
  500. package/dist/esm-BO9n_s6u.js +0 -26
  501. package/dist/factor-DT1-MBPl.js +0 -5
  502. package/dist/forth-D9GDt3FB.js +0 -4
  503. package/dist/fortran-DHkRhDWw.js +0 -4
  504. package/dist/gas-7lQEOM0H.js +0 -4
  505. package/dist/gherkin-BLLyroYi.js +0 -4
  506. package/dist/gitGraph-ZV4HHKMB-z2v_cInC.js +0 -21
  507. package/dist/groovy-C-wabwj0.js +0 -4
  508. package/dist/haskell-DaxVQ_d1.js +0 -4
  509. package/dist/haxe-C2yLoC7h.js +0 -5
  510. package/dist/idl-DQBP8i7k.js +0 -4
  511. package/dist/info-63CPKGFF-GS4w6pCB.js +0 -21
  512. package/dist/infoDiagram-STP46IZ2-DE9YYPFg.js +0 -44
  513. package/dist/javascript-DRwFV9r5.js +0 -5
  514. package/dist/jinja2-CNoIpVmN.js +0 -4
  515. package/dist/julia-DXDf-GhP.js +0 -4
  516. package/dist/livescript-S2uhJQx7.js +0 -4
  517. package/dist/lua-Bvgs0y2G.js +0 -4
  518. package/dist/mathematica-D2zqfwIg.js +0 -4
  519. package/dist/mbox-SBcPaDuZ.js +0 -4
  520. package/dist/mirc-hkQc7sVF.js +0 -4
  521. package/dist/mllike-DRWPBlr9.js +0 -6
  522. package/dist/modelica-CO2ROGlP.js +0 -4
  523. package/dist/mscgen-BpX61bO6.js +0 -6
  524. package/dist/mumps-BCnFeIn6.js +0 -4
  525. package/dist/nsis-BaTOxlD1.js +0 -5
  526. package/dist/ntriples-zEo5BWjr.js +0 -4
  527. package/dist/octave-BE0RnCM9.js +0 -4
  528. package/dist/oz-C4_2Ttul.js +0 -4
  529. package/dist/packet-HUATNLJX-CjHqJIqk.js +0 -21
  530. package/dist/pascal-Q3jJucpw.js +0 -4
  531. package/dist/perl-DkXZIWHF.js +0 -4
  532. package/dist/pie-WTHONI2E-D67gLWtR.js +0 -21
  533. package/dist/pig-DCgEHdsu.js +0 -4
  534. package/dist/powershell-3rK_nRRJ.js +0 -236
  535. package/dist/powershell-Eo2-7MoM.js +0 -4
  536. package/dist/properties-C0IOX8WR.js +0 -4
  537. package/dist/protobuf--lGQUSRO.js +0 -4
  538. package/dist/pug-Cf8AQHMJ.js +0 -5
  539. package/dist/puppet-D7Z3dTJn.js +0 -4
  540. package/dist/python-FHIx_i8Y.js +0 -5
  541. package/dist/q-B7UA1feM.js +0 -4
  542. package/dist/r-Cc9R2A7N.js +0 -4
  543. package/dist/radar-NJJJXTRR-C-AZP_Te.js +0 -21
  544. package/dist/rpm-vhJNlrQ6.js +0 -5
  545. package/dist/ruby-CVluPY0M.js +0 -4
  546. package/dist/sas-A8DL8oy3.js +0 -4
  547. package/dist/scheme-6xHHcSXC.js +0 -4
  548. package/dist/shell-DHN-e5rf.js +0 -4
  549. package/dist/sieve-BuQwLY02.js +0 -4
  550. package/dist/smalltalk-BA4HPg2H.js +0 -4
  551. package/dist/sparql-Bf4yCuy3.js +0 -4
  552. package/dist/stateDiagram-v2-UMBNRL4Z-C_0FUzzk.js +0 -38
  553. package/dist/stex-D-I1cYeE.js +0 -5
  554. package/dist/stylus-BMeped2l.js +0 -4
  555. package/dist/swift-lwEdlZoC.js +0 -4
  556. package/dist/tcl-B03ipeqv.js +0 -4
  557. package/dist/textile-Cy55fYGC.js +0 -4
  558. package/dist/toml-BLgrVtfu.js +0 -4
  559. package/dist/treemap-75Q7IDZK-DTvwfpWt.js +0 -21
  560. package/dist/troff-g6EjN2O2.js +0 -4
  561. package/dist/ttcn-Dzvba8jK.js +0 -4
  562. package/dist/ttcn-cfg-CadG0p1K.js +0 -4
  563. package/dist/turtle-DkXAMWo9.js +0 -4
  564. package/dist/vb-C5dCiel8.js +0 -4
  565. package/dist/vbscript-I4bDEQln.js +0 -4
  566. package/dist/velocity-mt0fDwFH.js +0 -4
  567. package/dist/verilog-Dxq3KJkc.js +0 -4
  568. package/dist/vhdl-Km0QUlV-.js +0 -4
  569. package/dist/webidl-B3lJ2MRL.js +0 -4
  570. package/dist/xquery-CcIxNPEe.js +0 -4
  571. package/dist/yacas-oMa-f-tN.js +0 -4
  572. package/dist/z80-D03Nvn6l.js +0 -4
  573. package/src/core/codemirror/language/__tests__/ast.test.ts +0 -124
  574. package/src/core/codemirror/language/utils/ast.ts +0 -84
  575. package/src/core/codemirror/language/utils/quotes.ts +0 -18
  576. /package/dist/{_arrayReduce-CVwxyrBP.js → _arrayReduce-Cd9xQjbl.js} +0 -0
  577. /package/dist/{_baseSlice-OgpvpOOJ.js → _baseSlice-CE9WsQZm.js} +0 -0
  578. /package/dist/{_hasUnicode-BgIggCqE.js → _hasUnicode-DkEebvtD.js} +0 -0
  579. /package/dist/{apl-DZqo8Elt.js → apl-aGhy11IM.js} +0 -0
  580. /package/dist/{array-aAxy08hN.js → array-DYSXIreg.js} +0 -0
  581. /package/dist/{asciiarmor-DTzHAIeX.js → asciiarmor-DJKJ3Gkn.js} +0 -0
  582. /package/dist/{asn1-DrAXKsZH.js → asn1-C6f5IeNs.js} +0 -0
  583. /package/dist/{asterisk-oF4U3h48.js → asterisk-DB1poX9_.js} +0 -0
  584. /package/dist/{brainfuck-BYgLey30.js → brainfuck-Ch9vjun0.js} +0 -0
  585. /package/dist/{chunk-57QY23SG-0TxCfmy_.js → chunk-57QY23SG-BpXU7ph4.js} +0 -0
  586. /package/dist/{clojure-Bs2M3OUY.js → clojure-B_lpr3zt.js} +0 -0
  587. /package/dist/{cmake-DpI8vxJN.js → cmake-DaocNF4I.js} +0 -0
  588. /package/dist/{cobol-BQyrWo72.js → cobol-suTPtt7c.js} +0 -0
  589. /package/dist/{coffeescript-9ke9UHmw.js → coffeescript-CPLIvtqJ.js} +0 -0
  590. /package/dist/{colors-Cr_mZ2aH.js → colors-BXlG8Lmz.js} +0 -0
  591. /package/dist/{common-keywords-BzgeAvH1.js → common-keywords-Bhll7O3b.js} +0 -0
  592. /package/dist/{commonlisp-DghUdrUH.js → commonlisp-BqM3qFK7.js} +0 -0
  593. /package/dist/{crystal-DEf_SInh.js → crystal-AsSFu4ke.js} +0 -0
  594. /package/dist/{css-BzTU9lNO.js → css-Df7Sdeyh.js} +0 -0
  595. /package/dist/{cypher-a2v0c11S.js → cypher-CaVKL6Gu.js} +0 -0
  596. /package/dist/{d-SAswny-M.js → d-DCGWK7NQ.js} +0 -0
  597. /package/dist/{defaultLocale-BAgEOGks.js → defaultLocale-CYgZlqDF.js} +0 -0
  598. /package/dist/{defaultLocale-471SYAPk.js → defaultLocale-Cto8YOmX.js} +0 -0
  599. /package/dist/{diff-OJ-xLXcG.js → diff-CsxOM4Tr.js} +0 -0
  600. /package/dist/{dist-CK8Gj3GX.js → dist-C76MUPD3.js} +0 -0
  601. /package/dist/{dtd-BsUf-rer.js → dtd-Dwr0Jmks.js} +0 -0
  602. /package/dist/{duckdb-keywords-B0NOra5o.js → duckdb-keywords-7wAWf848.js} +0 -0
  603. /package/dist/{dylan-C0ZYngjn.js → dylan-A7-ZBSey.js} +0 -0
  604. /package/dist/{ebnf-DF1xx0b_.js → ebnf-9_SaGDUz.js} +0 -0
  605. /package/dist/{ecl-Bsuvoouq.js → ecl-BzJVIQDc.js} +0 -0
  606. /package/dist/{eiffel-DgfSpLi-.js → eiffel-CO9eC_Op.js} +0 -0
  607. /package/dist/{elm-GNxDj-5E.js → elm-CVAWj8SB.js} +0 -0
  608. /package/dist/{emotion-is-prop-valid.esm-BHMWayAG.js → emotion-is-prop-valid.esm-C3Yi5GQt.js} +0 -0
  609. /package/dist/{erlang-Ds3uY1kL.js → erlang-DWbZP546.js} +0 -0
  610. /package/dist/{fcl-CqBgSioc.js → fcl-CM9t2iay.js} +0 -0
  611. /package/dist/{forth-JCaLysGk.js → forth-BTYqUuu3.js} +0 -0
  612. /package/dist/{fortran-Dc2AoKAl.js → fortran-DgAjHcCq.js} +0 -0
  613. /package/dist/{gas-Q4Uz82YW.js → gas-BjDSWPZd.js} +0 -0
  614. /package/dist/{gherkin-Dpxe49sQ.js → gherkin-ClRqqpKv.js} +0 -0
  615. /package/dist/{groovy-D8mTRCu6.js → groovy-BzNjnc8x.js} +0 -0
  616. /package/dist/{haskell-2_8cC4wY.js → haskell-DLdk34Jq.js} +0 -0
  617. /package/dist/{haxe-Bl9zkZlz.js → haxe-l6gaY_IS.js} +0 -0
  618. /package/dist/{http-DKCqY6yS.js → http-6Qg7z_h2.js} +0 -0
  619. /package/dist/{idl-Dn-HNfGW.js → idl-hlWT4D26.js} +0 -0
  620. /package/dist/{init-D6eDd7H0.js → init-tZ42Torz.js} +0 -0
  621. /package/dist/{jinja2-JjFiAGKk.js → jinja2-DI5k_Er3.js} +0 -0
  622. /package/dist/{julia-R5wne8eu.js → julia-BvDZDiIT.js} +0 -0
  623. /package/dist/{livescript-DSwokrYj.js → livescript-2YMQfkfI.js} +0 -0
  624. /package/dist/{lua-CgXfrp2-.js → lua-DIUrQRfA.js} +0 -0
  625. /package/dist/{main-Czi9-LVy.js → main-BMTpe7M0.js} +0 -0
  626. /package/dist/{math-C7wLpe9K.js → math-qsHyz2Eo.js} +0 -0
  627. /package/dist/{mathematica-BVli92MR.js → mathematica-Dqmg_BwL.js} +0 -0
  628. /package/dist/{mbox-CMFlocdS.js → mbox-Cng-P-F1.js} +0 -0
  629. /package/dist/{mirc-BkW04Zpc.js → mirc-CNDqOVhQ.js} +0 -0
  630. /package/dist/{mllike-DEjvHvNV.js → mllike-C1n2UDyX.js} +0 -0
  631. /package/dist/{modelica-CxDn-oje.js → modelica-QqQC2pFj.js} +0 -0
  632. /package/dist/{mscgen-D78wmE-w.js → mscgen-C3fl8uhp.js} +0 -0
  633. /package/dist/{mumps-Bi0IvPOV.js → mumps-BeCUbMej.js} +0 -0
  634. /package/dist/{nginx-DErPZFhX.js → nginx-ejv7DsBz.js} +0 -0
  635. /package/dist/{ntriples-Btyp6wRL.js → ntriples-CUgUpcma.js} +0 -0
  636. /package/dist/{octave-CZA6-2F8.js → octave-BD652tGl.js} +0 -0
  637. /package/dist/{oz-Bm6LSNfE.js → oz-DrRsFa0K.js} +0 -0
  638. /package/dist/{pascal-B4J6a9BH.js → pascal-hpcx9sVn.js} +0 -0
  639. /package/dist/{path-VDkDgx1I.js → path-Bbv2tLY1.js} +0 -0
  640. /package/dist/{perl-CzVqxS08.js → perl-DW8XHeFc.js} +0 -0
  641. /package/dist/{pig-Clh03cnn.js → pig-Cv7Nxbfo.js} +0 -0
  642. /package/dist/{prop-types-0wNc-99T.js → prop-types-Bd16OEUP.js} +0 -0
  643. /package/dist/{properties-D7ch1Wyb.js → properties-D-qJDXAM.js} +0 -0
  644. /package/dist/{protobuf-DrkdrMPK.js → protobuf-B48QZbd3.js} +0 -0
  645. /package/dist/{puppet-BtZG8zdO.js → puppet-15JDyiY2.js} +0 -0
  646. /package/dist/{python-B6FKOVIv.js → python-DWkQA94h.js} +0 -0
  647. /package/dist/{r-Dnvo5-96.js → r-dcNRe_Q8.js} +0 -0
  648. /package/dist/{range-PcytnUSJ.js → range-CQvYp_qE.js} +0 -0
  649. /package/dist/{rpm-B1DrgfnX.js → rpm-Djl3Dsf1.js} +0 -0
  650. /package/dist/{ruby-CelfUg17.js → ruby-Dd2CZTip.js} +0 -0
  651. /package/dist/{sas-DfSQFMWG.js → sas-DYF5_Iqu.js} +0 -0
  652. /package/dist/{scheme-BplhaWuO.js → scheme-YtWcji1H.js} +0 -0
  653. /package/dist/{shell-DqU5OS2c.js → shell-C3uC3Y0Z.js} +0 -0
  654. /package/dist/{sieve-BE4_IyGa.js → sieve-DHB17sQG.js} +0 -0
  655. /package/dist/{smalltalk-B_WPL8Nx.js → smalltalk-Y5v1Np3H.js} +0 -0
  656. /package/dist/{solr-DlJFg7H5.js → solr-DvRJLlRD.js} +0 -0
  657. /package/dist/{sparql-7XIlcOgW.js → sparql-BEt3GJwM.js} +0 -0
  658. /package/dist/{spreadsheet-BdZSVwVp.js → spreadsheet-Dp4B9_rc.js} +0 -0
  659. /package/dist/{sql-CCrq7lfJ.js → sql-DBsUs8nQ.js} +0 -0
  660. /package/dist/{stex-BiFc8QAu.js → stex-C6-x52ei.js} +0 -0
  661. /package/dist/{stylus-DlSH9xpH.js → stylus-DroA8via.js} +0 -0
  662. /package/dist/{swift-e3tMTZgJ.js → swift-DR0x1ESK.js} +0 -0
  663. /package/dist/{tcl-DfZMC20G.js → tcl-BeuTFc_c.js} +0 -0
  664. /package/dist/{textile-DaSeca5U.js → textile-C0ikhHN3.js} +0 -0
  665. /package/dist/{tiddlywiki-dfoiz8pS.js → tiddlywiki-C_2Nvsgu.js} +0 -0
  666. /package/dist/{tiki-yJbQzhma.js → tiki-CKQlhmQQ.js} +0 -0
  667. /package/dist/{treemap-BpgMKHv-.js → treemap-BYLUKIzA.js} +0 -0
  668. /package/dist/{troff-FN_FrCXR.js → troff-DkK0f2ZH.js} +0 -0
  669. /package/dist/{tslib.es6-DofFyd9S.js → tslib.es6-3ZL768sZ.js} +0 -0
  670. /package/dist/{ttcn-7_i4HlyB.js → ttcn-Bf8vrg-_.js} +0 -0
  671. /package/dist/{ttcn-cfg-B46AlBUV.js → ttcn-cfg-DjCKzd95.js} +0 -0
  672. /package/dist/{turtle-QQfeFveR.js → turtle-SSc84S9m.js} +0 -0
  673. /package/dist/{vb-DToPVnLa.js → vb-CQ6DC3cL.js} +0 -0
  674. /package/dist/{vbscript-CtsNaTz4.js → vbscript-Dw0gFssg.js} +0 -0
  675. /package/dist/{velocity-CAoNe6ns.js → velocity-BvJQyBmj.js} +0 -0
  676. /package/dist/{verilog-DrDOMiJq.js → verilog-CKGAvQjj.js} +0 -0
  677. /package/dist/{vhdl-DnO0OEPh.js → vhdl-B40_x6fM.js} +0 -0
  678. /package/dist/{webidl-Or6d1ZfA.js → webidl-Bi9hczCv.js} +0 -0
  679. /package/dist/{xquery-CEp_Mcpr.js → xquery-DwWUXvP3.js} +0 -0
  680. /package/dist/{yacas-DgnYrSlp.js → yacas-ClUs0mmH.js} +0 -0
  681. /package/dist/{z80-DlG_kyeB.js → z80-DPC4UGzR.js} +0 -0
@@ -15722,16 +15722,10 @@ var wideLatinLetterData = [
15722
15722
  if (n === "mathord") return makeSymbol(a, "Math-Italic", r2, t2, o.concat(["mathnormal"]));
15723
15723
  if (n === "textord") {
15724
15724
  var g = symbols[r2][a] && symbols[r2][a].font;
15725
- if (g === "ams") {
15726
- var _ = retrieveTextFontName("amsrm", t2.fontWeight, t2.fontShape);
15727
- return makeSymbol(a, _, r2, t2, o.concat("amsrm", t2.fontWeight, t2.fontShape));
15728
- } else if (g === "main" || !g) {
15729
- var v = retrieveTextFontName("textrm", t2.fontWeight, t2.fontShape);
15730
- return makeSymbol(a, v, r2, t2, o.concat(t2.fontWeight, t2.fontShape));
15731
- } else {
15732
- var y = retrieveTextFontName(g, t2.fontWeight, t2.fontShape);
15733
- return makeSymbol(a, y, r2, t2, o.concat(y, t2.fontWeight, t2.fontShape));
15734
- }
15725
+ if (g === "ams") return makeSymbol(a, retrieveTextFontName("amsrm", t2.fontWeight, t2.fontShape), r2, t2, o.concat("amsrm", t2.fontWeight, t2.fontShape));
15726
+ if (g === "main" || !g) return makeSymbol(a, retrieveTextFontName("textrm", t2.fontWeight, t2.fontShape), r2, t2, o.concat(t2.fontWeight, t2.fontShape));
15727
+ var _ = retrieveTextFontName(g, t2.fontWeight, t2.fontShape);
15728
+ return makeSymbol(a, _, r2, t2, o.concat(_, t2.fontWeight, t2.fontShape));
15735
15729
  } else throw Error("unexpected type: " + n + " in makeOrd");
15736
15730
  }, canCombine = (e7, t2) => {
15737
15731
  if (createClass(e7.classes) !== createClass(t2.classes) || e7.skew !== t2.skew || e7.maxFontSize !== t2.maxFontSize) return false;
@@ -15825,13 +15819,11 @@ var wideLatinLetterData = [
15825
15819
  b.style.height = makeEm(f);
15826
15820
  var x;
15827
15821
  if (d < 0) {
15828
- var C = makeSpan$2([], []), w = makeSpan$2(["vlist"], [C]);
15829
- w.style.height = makeEm(-d);
15830
- var E = makeSpan$2(["vlist-s"], [new SymbolNode("\u200B")]);
15831
- x = [makeSpan$2(["vlist-r"], [b, E]), makeSpan$2(["vlist-r"], [w])];
15822
+ var C = makeSpan$2(["vlist"], [makeSpan$2([], [])]);
15823
+ C.style.height = makeEm(-d), x = [makeSpan$2(["vlist-r"], [b, makeSpan$2(["vlist-s"], [new SymbolNode("\u200B")])]), makeSpan$2(["vlist-r"], [C])];
15832
15824
  } else x = [makeSpan$2(["vlist-r"], [b])];
15833
- var O = makeSpan$2(["vlist-t"], x);
15834
- return x.length === 2 && O.classes.push("vlist-t2"), O.height = f, O.depth = -d, O;
15825
+ var w = makeSpan$2(["vlist-t"], x);
15826
+ return x.length === 2 && w.classes.push("vlist-t2"), w.height = f, w.depth = -d, w;
15835
15827
  }, makeGlue = (e7, t2) => {
15836
15828
  var n = makeSpan$2(["mspace"], [], t2), r2 = calculateSize(e7, t2);
15837
15829
  return n.style.marginRight = makeEm(r2), n;
@@ -15944,14 +15936,14 @@ var wideLatinLetterData = [
15944
15936
  makeOrd,
15945
15937
  makeGlue,
15946
15938
  staticSvg: function(e7, t2) {
15947
- var [n, r2, a] = svgData[e7], o = new PathNode(n), s = new SvgNode([o], {
15939
+ var [n, r2, a] = svgData[e7], o = makeSvgSpan(["overlay"], [new SvgNode([new PathNode(n)], {
15948
15940
  width: makeEm(r2),
15949
15941
  height: makeEm(a),
15950
15942
  style: "width:" + makeEm(r2),
15951
15943
  viewBox: "0 0 " + 1e3 * r2 + " " + 1e3 * a,
15952
15944
  preserveAspectRatio: "xMinYMin"
15953
- }), c = makeSvgSpan(["overlay"], [s], t2);
15954
- return c.height = a, c.style.height = makeEm(a), c.style.width = makeEm(r2), c;
15945
+ })], t2);
15946
+ return o.height = a, o.style.height = makeEm(a), o.style.width = makeEm(r2), o;
15955
15947
  },
15956
15948
  svgData,
15957
15949
  tryCombineChars
@@ -16353,8 +16345,8 @@ var optionsFromSettings = function(e7) {
16353
16345
  }
16354
16346
  return displayWrap(a, n);
16355
16347
  }, buildHTMLTree = function(e7, t2, n) {
16356
- var r2 = optionsFromSettings(n), a = buildHTML(e7, r2), o = buildCommon.makeSpan(["katex"], [a]);
16357
- return displayWrap(o, n);
16348
+ var r2 = buildHTML(e7, optionsFromSettings(n));
16349
+ return displayWrap(buildCommon.makeSpan(["katex"], [r2]), n);
16358
16350
  }, stretchyCodePoint = {
16359
16351
  widehat: "^",
16360
16352
  widecheck: "\u02C7",
@@ -16725,51 +16717,51 @@ var optionsFromSettings = function(e7) {
16725
16717
  0.34
16726
16718
  ][l], s = "tilde" + l);
16727
16719
  }
16728
- var u = new PathNode(s), d = new SvgNode([u], {
16720
+ var u = new SvgNode([new PathNode(s)], {
16729
16721
  width: "100%",
16730
16722
  height: makeEm(c),
16731
16723
  viewBox: "0 0 " + n2 + " " + o2,
16732
16724
  preserveAspectRatio: "none"
16733
16725
  });
16734
16726
  return {
16735
- span: buildCommon.makeSvgSpan([], [d], t2),
16727
+ span: buildCommon.makeSvgSpan([], [u], t2),
16736
16728
  minWidth: 0,
16737
16729
  height: c
16738
16730
  };
16739
16731
  } else {
16740
- var f = [], p = katexImagesData[r3], [h, g, _] = p, v = _ / 1e3, y = h.length, b, x;
16741
- if (y === 1) {
16742
- var C = p[3];
16743
- b = ["hide-tail"], x = [C];
16744
- } else if (y === 2) b = ["halfarrow-left", "halfarrow-right"], x = ["xMinYMin", "xMaxYMin"];
16745
- else if (y === 3) b = [
16732
+ var d = [], f = katexImagesData[r3], [p, h, g] = f, _ = g / 1e3, v = p.length, y, b;
16733
+ if (v === 1) {
16734
+ var x = f[3];
16735
+ y = ["hide-tail"], b = [x];
16736
+ } else if (v === 2) y = ["halfarrow-left", "halfarrow-right"], b = ["xMinYMin", "xMaxYMin"];
16737
+ else if (v === 3) y = [
16746
16738
  "brace-left",
16747
16739
  "brace-center",
16748
16740
  "brace-right"
16749
- ], x = [
16741
+ ], b = [
16750
16742
  "xMinYMin",
16751
16743
  "xMidYMin",
16752
16744
  "xMaxYMin"
16753
16745
  ];
16754
- else throw Error("Correct katexImagesData or update code here to support\n " + y + " children.");
16755
- for (var w = 0; w < y; w++) {
16756
- var E = new PathNode(h[w]), O = new SvgNode([E], {
16746
+ else throw Error("Correct katexImagesData or update code here to support\n " + v + " children.");
16747
+ for (var C = 0; C < v; C++) {
16748
+ var w = new SvgNode([new PathNode(p[C])], {
16757
16749
  width: "400em",
16758
- height: makeEm(v),
16759
- viewBox: "0 0 " + n2 + " " + _,
16760
- preserveAspectRatio: x[w] + " slice"
16761
- }), k = buildCommon.makeSvgSpan([b[w]], [O], t2);
16762
- if (y === 1) return {
16763
- span: k,
16764
- minWidth: g,
16765
- height: v
16750
+ height: makeEm(_),
16751
+ viewBox: "0 0 " + n2 + " " + g,
16752
+ preserveAspectRatio: b[C] + " slice"
16753
+ }), E = buildCommon.makeSvgSpan([y[C]], [w], t2);
16754
+ if (v === 1) return {
16755
+ span: E,
16756
+ minWidth: h,
16757
+ height: _
16766
16758
  };
16767
- k.style.height = makeEm(v), f.push(k);
16759
+ E.style.height = makeEm(_), d.push(E);
16768
16760
  }
16769
16761
  return {
16770
- span: buildCommon.makeSpan(["stretchy"], f, t2),
16771
- minWidth: g,
16772
- height: v
16762
+ span: buildCommon.makeSpan(["stretchy"], d, t2),
16763
+ minWidth: h,
16764
+ height: _
16773
16765
  };
16774
16766
  }
16775
16767
  }
@@ -16793,19 +16785,16 @@ var htmlBuilder$a = (e7, t2) => {
16793
16785
  var n, r2, a;
16794
16786
  e7 && e7.type === "supsub" ? (r2 = assertNodeType(e7.base, "accent"), n = r2.base, e7.base = n, a = assertSpan(buildGroup$1(e7, t2)), e7.base = r2) : (r2 = assertNodeType(e7, "accent"), n = r2.base);
16795
16787
  var o = buildGroup$1(n, t2.havingCrampedStyle()), s = r2.isShifty && utils.isCharacterBox(n), c = 0;
16796
- if (s) {
16797
- var l = utils.getBaseElem(n), u = buildGroup$1(l, t2.havingCrampedStyle());
16798
- c = assertSymbolDomNode(u).skew;
16799
- }
16800
- var d = r2.label === "\\c", f = d ? o.height + o.depth : Math.min(o.height, t2.fontMetrics().xHeight), p;
16801
- if (r2.isStretchy) p = stretchy.svgSpan(r2, t2), p = buildCommon.makeVList({
16788
+ s && (c = assertSymbolDomNode(buildGroup$1(utils.getBaseElem(n), t2.havingCrampedStyle())).skew);
16789
+ var l = r2.label === "\\c", u = l ? o.height + o.depth : Math.min(o.height, t2.fontMetrics().xHeight), d;
16790
+ if (r2.isStretchy) d = stretchy.svgSpan(r2, t2), d = buildCommon.makeVList({
16802
16791
  positionType: "firstBaseline",
16803
16792
  children: [{
16804
16793
  type: "elem",
16805
16794
  elem: o
16806
16795
  }, {
16807
16796
  type: "elem",
16808
- elem: p,
16797
+ elem: d,
16809
16798
  wrapperClasses: ["svg-align"],
16810
16799
  wrapperStyle: c > 0 ? {
16811
16800
  width: "calc(100% - " + makeEm(2 * c) + ")",
@@ -16814,15 +16803,15 @@ var htmlBuilder$a = (e7, t2) => {
16814
16803
  }]
16815
16804
  }, t2);
16816
16805
  else {
16817
- var h, g;
16818
- r2.label === "\\vec" ? (h = buildCommon.staticSvg("vec", t2), g = buildCommon.svgData.vec[1]) : (h = buildCommon.makeOrd({
16806
+ var f, p;
16807
+ r2.label === "\\vec" ? (f = buildCommon.staticSvg("vec", t2), p = buildCommon.svgData.vec[1]) : (f = buildCommon.makeOrd({
16819
16808
  mode: r2.mode,
16820
16809
  text: r2.label
16821
- }, t2, "textord"), h = assertSymbolDomNode(h), h.italic = 0, g = h.width, d && (f += h.depth)), p = buildCommon.makeSpan(["accent-body"], [h]);
16822
- var _ = r2.label === "\\textcircled";
16823
- _ && (p.classes.push("accent-full"), f = o.height);
16824
- var v = c;
16825
- _ || (v -= g / 2), p.style.left = makeEm(v), r2.label === "\\textcircled" && (p.style.top = ".2em"), p = buildCommon.makeVList({
16810
+ }, t2, "textord"), f = assertSymbolDomNode(f), f.italic = 0, p = f.width, l && (u += f.depth)), d = buildCommon.makeSpan(["accent-body"], [f]);
16811
+ var h = r2.label === "\\textcircled";
16812
+ h && (d.classes.push("accent-full"), u = o.height);
16813
+ var g = c;
16814
+ h || (g -= p / 2), d.style.left = makeEm(g), r2.label === "\\textcircled" && (d.style.top = ".2em"), d = buildCommon.makeVList({
16826
16815
  positionType: "firstBaseline",
16827
16816
  children: [
16828
16817
  {
@@ -16831,17 +16820,17 @@ var htmlBuilder$a = (e7, t2) => {
16831
16820
  },
16832
16821
  {
16833
16822
  type: "kern",
16834
- size: -f
16823
+ size: -u
16835
16824
  },
16836
16825
  {
16837
16826
  type: "elem",
16838
- elem: p
16827
+ elem: d
16839
16828
  }
16840
16829
  ]
16841
16830
  }, t2);
16842
16831
  }
16843
- var y = buildCommon.makeSpan(["mord", "accent"], [p], t2);
16844
- return a ? (a.children[0] = y, a.height = Math.max(y.height, a.height), a.classes[0] = "mord", a) : y;
16832
+ var _ = buildCommon.makeSpan(["mord", "accent"], [d], t2);
16833
+ return a ? (a.children[0] = _, a.height = Math.max(_.height, a.height), a.classes[0] = "mord", a) : _;
16845
16834
  }, mathmlBuilder$9 = (e7, t2) => {
16846
16835
  var n = e7.isStretchy ? stretchy.mathMLnode(e7.label) : new mathMLTree.MathNode("mo", [makeText(e7.label, e7.mode)]), r2 = new mathMLTree.MathNode("mover", [buildGroup(e7.base, t2), n]);
16847
16836
  return r2.setAttribute("accent", "true"), r2;
@@ -17235,16 +17224,16 @@ function cdArrow(e7, t2, n) {
17235
17224
  text: r2,
17236
17225
  mode: "math",
17237
17226
  family: "rel"
17238
- }, s = n.callFunction("\\Big", [o], []), c = n.callFunction("\\\\cdright", [t2[1]], []), l = {
17227
+ }, s = {
17239
17228
  type: "ordgroup",
17240
17229
  mode: "math",
17241
17230
  body: [
17242
17231
  a,
17243
- s,
17244
- c
17232
+ n.callFunction("\\Big", [o], []),
17233
+ n.callFunction("\\\\cdright", [t2[1]], [])
17245
17234
  ]
17246
17235
  };
17247
- return n.callFunction("\\\\cdparent", [l], []);
17236
+ return n.callFunction("\\\\cdparent", [s], []);
17248
17237
  case "\\\\cdlongequal":
17249
17238
  return n.callFunction("\\\\cdlongequal", [], []);
17250
17239
  case "\\Vert":
@@ -17307,21 +17296,19 @@ function parseCD(e7) {
17307
17296
  }
17308
17297
  s % 2 == 0 ? a.push(l) : a.shift(), a = [], o.push(a);
17309
17298
  }
17310
- e7.gullet.endGroup(), e7.gullet.endGroup();
17311
- var _ = Array(o[0].length).fill({
17312
- type: "align",
17313
- align: "c",
17314
- pregap: 0.25,
17315
- postgap: 0.25
17316
- });
17317
- return {
17299
+ return e7.gullet.endGroup(), e7.gullet.endGroup(), {
17318
17300
  type: "array",
17319
17301
  mode: "math",
17320
17302
  body: o,
17321
17303
  arraystretch: 1,
17322
17304
  addJot: true,
17323
17305
  rowGaps: [null],
17324
- cols: _,
17306
+ cols: Array(o[0].length).fill({
17307
+ type: "align",
17308
+ align: "c",
17309
+ pregap: 0.25,
17310
+ postgap: 0.25
17311
+ }),
17325
17312
  colSeparationType: "CD",
17326
17313
  hLinesBeforeRow: Array(o.length + 1).fill([])
17327
17314
  };
@@ -17550,9 +17537,7 @@ defineFunction({
17550
17537
  },
17551
17538
  handler(e7) {
17552
17539
  var { parser: t2, funcName: n } = e7, r2 = checkControlSequence(t2.gullet.popToken());
17553
- t2.gullet.consumeSpaces();
17554
- var a = getRHS(t2);
17555
- return letCommand(t2, r2, a, n === "\\\\globallet"), {
17540
+ return t2.gullet.consumeSpaces(), letCommand(t2, r2, getRHS(t2), n === "\\\\globallet"), {
17556
17541
  type: "internal",
17557
17542
  mode: t2.mode
17558
17543
  };
@@ -17574,9 +17559,9 @@ defineFunction({
17574
17559
  }
17575
17560
  });
17576
17561
  var getMetrics = function(e7, t2, n) {
17577
- var r2 = symbols.math[e7] && symbols.math[e7].replace, a = getCharacterMetrics(r2 || e7, t2, n);
17578
- if (!a) throw Error("Unsupported symbol " + e7 + " and font size " + t2 + ".");
17579
- return a;
17562
+ var r2 = getCharacterMetrics(symbols.math[e7] && symbols.math[e7].replace || e7, t2, n);
17563
+ if (!r2) throw Error("Unsupported symbol " + e7 + " and font size " + t2 + ".");
17564
+ return r2;
17580
17565
  }, styleWrap = function(e7, t2, n, r2) {
17581
17566
  var a = n.havingBaseStyle(t2), o = buildCommon.makeSpan(r2.concat(a.sizingClasses(n)), [e7], n), s = a.sizeMultiplier / n.sizeMultiplier;
17582
17567
  return o.height *= s, o.depth *= s, o.maxFontSize = a.sizeMultiplier, o;
@@ -17584,8 +17569,8 @@ var getMetrics = function(e7, t2, n) {
17584
17569
  var r2 = t2.havingBaseStyle(n), a = (1 - t2.sizeMultiplier / r2.sizeMultiplier) * t2.fontMetrics().axisHeight;
17585
17570
  e7.classes.push("delimcenter"), e7.style.top = makeEm(a), e7.height -= a, e7.depth += a;
17586
17571
  }, makeSmallDelim = function(e7, t2, n, r2, a, o) {
17587
- var s = buildCommon.makeSymbol(e7, "Main-Regular", a, r2), c = styleWrap(s, t2, r2, o);
17588
- return n && centerSpan(c, r2, t2), c;
17572
+ var s = styleWrap(buildCommon.makeSymbol(e7, "Main-Regular", a, r2), t2, r2, o);
17573
+ return n && centerSpan(s, r2, t2), s;
17589
17574
  }, mathrmSize = function(e7, t2, n, r2) {
17590
17575
  return buildCommon.makeSymbol(e7, "Size" + t2 + "-Regular", n, r2);
17591
17576
  }, makeLargeDelim = function(e7, t2, n, r2, a, o) {
@@ -17598,16 +17583,16 @@ var getMetrics = function(e7, t2, n) {
17598
17583
  elem: buildCommon.makeSpan(["delimsizinginner", r2], [buildCommon.makeSpan([], [buildCommon.makeSymbol(e7, t2, n)])])
17599
17584
  };
17600
17585
  }, makeInner = function(e7, t2, n) {
17601
- var r2 = fontMetricsData["Size4-Regular"][e7.charCodeAt(0)] ? fontMetricsData["Size4-Regular"][e7.charCodeAt(0)][4] : fontMetricsData["Size1-Regular"][e7.charCodeAt(0)][4], a = new PathNode("inner", innerPath(e7, Math.round(1e3 * t2))), o = new SvgNode([a], {
17586
+ var r2 = fontMetricsData["Size4-Regular"][e7.charCodeAt(0)] ? fontMetricsData["Size4-Regular"][e7.charCodeAt(0)][4] : fontMetricsData["Size1-Regular"][e7.charCodeAt(0)][4], a = new SvgNode([new PathNode("inner", innerPath(e7, Math.round(1e3 * t2)))], {
17602
17587
  width: makeEm(r2),
17603
17588
  height: makeEm(t2),
17604
17589
  style: "width:" + makeEm(r2),
17605
17590
  viewBox: "0 0 " + 1e3 * r2 + " " + Math.round(1e3 * t2),
17606
17591
  preserveAspectRatio: "xMinYMin"
17607
- }), s = buildCommon.makeSvgSpan([], [o], n);
17608
- return s.height = t2, s.style.height = makeEm(t2), s.style.width = makeEm(r2), {
17592
+ }), o = buildCommon.makeSvgSpan([], [a], n);
17593
+ return o.height = t2, o.style.height = makeEm(t2), o.style.width = makeEm(r2), {
17609
17594
  type: "elem",
17610
- elem: s
17595
+ elem: o
17611
17596
  };
17612
17597
  }, lapInEms = 8e-3, lap = {
17613
17598
  type: "kern",
@@ -17632,43 +17617,43 @@ var getMetrics = function(e7, t2, n) {
17632
17617
  var w = getMetrics(c, p, a);
17633
17618
  x = w.height + w.depth, C = 2;
17634
17619
  }
17635
- var E = g + b + x, O = Math.max(0, Math.ceil((t2 - E) / (C * v))), k = E + O * C * v, A = r2.fontMetrics().axisHeight;
17636
- n && (A *= r2.sizeMultiplier);
17637
- var j = k / 2 - A, M = [];
17620
+ var E = g + b + x, O = E + Math.max(0, Math.ceil((t2 - E) / (C * v))) * C * v, k = r2.fontMetrics().axisHeight;
17621
+ n && (k *= r2.sizeMultiplier);
17622
+ var A = O / 2 - k, j = [];
17638
17623
  if (d.length > 0) {
17639
- var N = k - g - b, P = Math.round(k * 1e3), F = tallDelim(d, Math.round(N * 1e3)), I = new PathNode(d, F), L = (f / 1e3).toFixed(3) + "em", R = (P / 1e3).toFixed(3) + "em", z = new SvgNode([I], {
17640
- width: L,
17641
- height: R,
17642
- viewBox: "0 0 " + f + " " + P
17643
- }), B = buildCommon.makeSvgSpan([], [z], r2);
17644
- B.height = P / 1e3, B.style.width = L, B.style.height = R, M.push({
17624
+ var M = O - g - b, N = Math.round(O * 1e3), P = tallDelim(d, Math.round(M * 1e3)), F = new PathNode(d, P), I = (f / 1e3).toFixed(3) + "em", L = (N / 1e3).toFixed(3) + "em", R = new SvgNode([F], {
17625
+ width: I,
17626
+ height: L,
17627
+ viewBox: "0 0 " + f + " " + N
17628
+ }), z = buildCommon.makeSvgSpan([], [R], r2);
17629
+ z.height = N / 1e3, z.style.width = I, z.style.height = L, j.push({
17645
17630
  type: "elem",
17646
- elem: B
17631
+ elem: z
17647
17632
  });
17648
17633
  } else {
17649
- if (M.push(makeGlyphSpan(u, p, a)), M.push(lap), c === null) {
17650
- var V = k - g - b + 2 * lapInEms;
17651
- M.push(makeInner(l, V, r2));
17634
+ if (j.push(makeGlyphSpan(u, p, a)), j.push(lap), c === null) {
17635
+ var B = O - g - b + 2 * lapInEms;
17636
+ j.push(makeInner(l, B, r2));
17652
17637
  } else {
17653
- var H = (k - g - b - x) / 2 + 2 * lapInEms;
17654
- M.push(makeInner(l, H, r2)), M.push(lap), M.push(makeGlyphSpan(c, p, a)), M.push(lap), M.push(makeInner(l, H, r2));
17638
+ var V = (O - g - b - x) / 2 + 2 * lapInEms;
17639
+ j.push(makeInner(l, V, r2)), j.push(lap), j.push(makeGlyphSpan(c, p, a)), j.push(lap), j.push(makeInner(l, V, r2));
17655
17640
  }
17656
- M.push(lap), M.push(makeGlyphSpan(s, p, a));
17641
+ j.push(lap), j.push(makeGlyphSpan(s, p, a));
17657
17642
  }
17658
- var U = r2.havingBaseStyle(Style$1.TEXT), W = buildCommon.makeVList({
17643
+ var H = r2.havingBaseStyle(Style$1.TEXT), U = buildCommon.makeVList({
17659
17644
  positionType: "bottom",
17660
- positionData: j,
17661
- children: M
17662
- }, U);
17663
- return styleWrap(buildCommon.makeSpan(["delimsizing", "mult"], [W], U), Style$1.TEXT, r2, o);
17645
+ positionData: A,
17646
+ children: j
17647
+ }, H);
17648
+ return styleWrap(buildCommon.makeSpan(["delimsizing", "mult"], [U], H), Style$1.TEXT, r2, o);
17664
17649
  }, vbPad = 80, emPad = 0.08, sqrtSvg = function(e7, t2, n, r2, a) {
17665
- var o = sqrtPath(e7, r2, n), s = new PathNode(e7, o), c = new SvgNode([s], {
17650
+ var o = new SvgNode([new PathNode(e7, sqrtPath(e7, r2, n))], {
17666
17651
  width: "400em",
17667
17652
  height: makeEm(t2),
17668
17653
  viewBox: "0 0 400000 " + n,
17669
17654
  preserveAspectRatio: "xMinYMin slice"
17670
17655
  });
17671
- return buildCommon.makeSvgSpan(["hide-tail"], [c], a);
17656
+ return buildCommon.makeSvgSpan(["hide-tail"], [o], a);
17672
17657
  }, makeSqrtImage = function(e7, t2) {
17673
17658
  var n = t2.havingBaseSizing(), r2 = traverseSequence("\\surd", e7 * n.sizeMultiplier, stackLargeDelimiterSequence, n), a = n.sizeMultiplier, o = Math.max(0, t2.minRuleThickness - t2.fontMetrics().sqrtRuleThickness), s, c = 0, l = 0, u = 0, d;
17674
17659
  return r2.type === "small" ? (u = 1e3 + 1e3 * o + vbPad, e7 < 1 ? a = 1 : e7 < 1.4 && (a = 0.7), c = (1 + o + emPad) / a, l = (1 + o) / a, s = sqrtSvg("sqrtMain", c, u, o, t2), s.style.minWidth = "0.853em", d = 0.833 / a) : r2.type === "large" ? (u = (1e3 + vbPad) * sizeToMaxHeight[r2.size], l = (sizeToMaxHeight[r2.size] + o) / a, c = (sizeToMaxHeight[r2.size] + o + emPad) / a, s = sqrtSvg("sqrtSize" + r2.size, c, u, o, t2), s.style.minWidth = "1.02em", d = 1 / a) : (c = e7 + o + emPad, l = e7 + o, u = Math.floor(1e3 * e7 + o) + vbPad, s = sqrtSvg("sqrtTall", c, u, o, t2), s.style.minWidth = "0.742em", d = 1.056), s.height = l, s.style.height = makeEm(c), {
@@ -17838,8 +17823,8 @@ var getMetrics = function(e7, t2, n) {
17838
17823
  sizeToMaxHeight,
17839
17824
  customSizedDelim: makeCustomSizedDelim,
17840
17825
  leftRightDelim: function(e7, t2, n, r2, a, o) {
17841
- var s = r2.fontMetrics().axisHeight * r2.sizeMultiplier, c = 901, l = 5 / r2.fontMetrics().ptPerEm, u = Math.max(t2 - s, n + s), d = Math.max(u / 500 * c, 2 * u - l);
17842
- return makeCustomSizedDelim(e7, d, true, r2, a, o);
17826
+ var s = r2.fontMetrics().axisHeight * r2.sizeMultiplier, c = 901, l = 5 / r2.fontMetrics().ptPerEm, u = Math.max(t2 - s, n + s);
17827
+ return makeCustomSizedDelim(e7, Math.max(u / 500 * c, 2 * u - l), true, r2, a, o);
17843
17828
  }
17844
17829
  }, delimiterSizes = {
17845
17830
  "\\bigl": {
@@ -18070,20 +18055,20 @@ var htmlBuilder$7 = (e7, t2) => {
18070
18055
  a /= d.sizeMultiplier;
18071
18056
  var f = n.height + n.depth + l + u;
18072
18057
  n.style.paddingLeft = makeEm(f / 2 + l);
18073
- var p = Math.floor(1e3 * f * a), h = phasePath(p), g = new SvgNode([new PathNode("phase", h)], {
18058
+ var p = Math.floor(1e3 * f * a), h = new SvgNode([new PathNode("phase", phasePath(p))], {
18074
18059
  width: "400em",
18075
18060
  height: makeEm(p / 1e3),
18076
18061
  viewBox: "0 0 400000 " + p,
18077
18062
  preserveAspectRatio: "xMinYMin slice"
18078
18063
  });
18079
- o = buildCommon.makeSvgSpan(["hide-tail"], [g], t2), o.style.height = makeEm(f), s = n.depth + l + u;
18064
+ o = buildCommon.makeSvgSpan(["hide-tail"], [h], t2), o.style.height = makeEm(f), s = n.depth + l + u;
18080
18065
  } else {
18081
18066
  /cancel/.test(r2) ? c || n.classes.push("cancel-pad") : r2 === "angl" ? n.classes.push("anglpad") : n.classes.push("boxpad");
18082
- var _ = 0, v = 0, y = 0;
18083
- /box/.test(r2) ? (y = Math.max(t2.fontMetrics().fboxrule, t2.minRuleThickness), _ = t2.fontMetrics().fboxsep + (r2 === "colorbox" ? 0 : y), v = _) : r2 === "angl" ? (y = Math.max(t2.fontMetrics().defaultRuleThickness, t2.minRuleThickness), _ = 4 * y, v = Math.max(0, 0.25 - n.depth)) : (_ = c ? 0.2 : 0, v = _), o = stretchy.encloseSpan(n, r2, _, v, t2), /fbox|boxed|fcolorbox/.test(r2) ? (o.style.borderStyle = "solid", o.style.borderWidth = makeEm(y)) : r2 === "angl" && y !== 0.049 && (o.style.borderTopWidth = makeEm(y), o.style.borderRightWidth = makeEm(y)), s = n.depth + v, e7.backgroundColor && (o.style.backgroundColor = e7.backgroundColor, e7.borderColor && (o.style.borderColor = e7.borderColor));
18067
+ var g = 0, _ = 0, v = 0;
18068
+ /box/.test(r2) ? (v = Math.max(t2.fontMetrics().fboxrule, t2.minRuleThickness), g = t2.fontMetrics().fboxsep + (r2 === "colorbox" ? 0 : v), _ = g) : r2 === "angl" ? (v = Math.max(t2.fontMetrics().defaultRuleThickness, t2.minRuleThickness), g = 4 * v, _ = Math.max(0, 0.25 - n.depth)) : (g = c ? 0.2 : 0, _ = g), o = stretchy.encloseSpan(n, r2, g, _, t2), /fbox|boxed|fcolorbox/.test(r2) ? (o.style.borderStyle = "solid", o.style.borderWidth = makeEm(v)) : r2 === "angl" && v !== 0.049 && (o.style.borderTopWidth = makeEm(v), o.style.borderRightWidth = makeEm(v)), s = n.depth + _, e7.backgroundColor && (o.style.backgroundColor = e7.backgroundColor, e7.borderColor && (o.style.borderColor = e7.borderColor));
18084
18069
  }
18085
- var b;
18086
- if (e7.backgroundColor) b = buildCommon.makeVList({
18070
+ var y;
18071
+ if (e7.backgroundColor) y = buildCommon.makeVList({
18087
18072
  positionType: "individualShift",
18088
18073
  children: [{
18089
18074
  type: "elem",
@@ -18096,8 +18081,8 @@ var htmlBuilder$7 = (e7, t2) => {
18096
18081
  }]
18097
18082
  }, t2);
18098
18083
  else {
18099
- var x = /cancel|phase/.test(r2) ? ["svg-align"] : [];
18100
- b = buildCommon.makeVList({
18084
+ var b = /cancel|phase/.test(r2) ? ["svg-align"] : [];
18085
+ y = buildCommon.makeVList({
18101
18086
  positionType: "individualShift",
18102
18087
  children: [{
18103
18088
  type: "elem",
@@ -18107,11 +18092,11 @@ var htmlBuilder$7 = (e7, t2) => {
18107
18092
  type: "elem",
18108
18093
  elem: o,
18109
18094
  shift: s,
18110
- wrapperClasses: x
18095
+ wrapperClasses: b
18111
18096
  }]
18112
18097
  }, t2);
18113
18098
  }
18114
- return /cancel/.test(r2) && (b.height = n.height, b.depth = n.depth), /cancel/.test(r2) && !c ? buildCommon.makeSpan(["mord", "cancel-lap"], [b], t2) : buildCommon.makeSpan(["mord"], [b], t2);
18099
+ return /cancel/.test(r2) && (y.height = n.height, y.depth = n.depth), /cancel/.test(r2) && !c ? buildCommon.makeSpan(["mord", "cancel-lap"], [y], t2) : buildCommon.makeSpan(["mord"], [y], t2);
18115
18100
  }, mathmlBuilder$6 = (e7, t2) => {
18116
18101
  var n = 0, r2 = new mathMLTree.MathNode(e7.label.indexOf("colorbox") > -1 ? "mpadded" : "menclose", [buildGroup(e7.body, t2)]);
18117
18102
  switch (e7.label) {
@@ -18372,54 +18357,54 @@ var htmlBuilder$6 = function(e7, t2) {
18372
18357
  for (a = 0, I = 0; a < c || I < N.length; ++a, ++I) {
18373
18358
  for (var H = N[I] || {}, U = true; H.type === "separator"; ) {
18374
18359
  if (U || (F = buildCommon.makeSpan(["arraycolsep"], []), F.style.width = makeEm(t2.fontMetrics().doubleRuleSep), P.push(F)), H.separator === "|" || H.separator === ":") {
18375
- var W = H.separator === "|" ? "solid" : "dashed", G = buildCommon.makeSpan(["vertical-separator"], [], t2);
18376
- G.style.height = makeEm(b), G.style.borderRightWidth = makeEm(d), G.style.borderRightStyle = W, G.style.margin = "0 " + makeEm(-d / 2);
18377
- var K = b - M;
18378
- K && (G.style.verticalAlign = makeEm(-K)), P.push(G);
18360
+ var oa = H.separator === "|" ? "solid" : "dashed", W = buildCommon.makeSpan(["vertical-separator"], [], t2);
18361
+ W.style.height = makeEm(b), W.style.borderRightWidth = makeEm(d), W.style.borderRightStyle = oa, W.style.margin = "0 " + makeEm(-d / 2);
18362
+ var G = b - M;
18363
+ G && (W.style.verticalAlign = makeEm(-G)), P.push(W);
18379
18364
  } else throw new ParseError("Invalid separator type: " + H.separator);
18380
18365
  I++, H = N[I] || {}, U = false;
18381
18366
  }
18382
18367
  if (!(a >= c)) {
18383
- var q = void 0;
18384
- (a > 0 || e7.hskipBeforeAndAfter) && (q = utils.deflt(H.pregap, p), q !== 0 && (F = buildCommon.makeSpan(["arraycolsep"], []), F.style.width = makeEm(q), P.push(F)));
18385
- var J = [];
18368
+ var K = void 0;
18369
+ (a > 0 || e7.hskipBeforeAndAfter) && (K = utils.deflt(H.pregap, p), K !== 0 && (F = buildCommon.makeSpan(["arraycolsep"], []), F.style.width = makeEm(K), P.push(F)));
18370
+ var q = [];
18386
18371
  for (r2 = 0; r2 < o; ++r2) {
18387
- var Y = l[r2], X = Y[a];
18388
- if (X) {
18389
- var oa = Y.pos - M;
18390
- X.depth = Y.depth, X.height = Y.height, J.push({
18372
+ var J = l[r2], Y = J[a];
18373
+ if (Y) {
18374
+ var sa = J.pos - M;
18375
+ Y.depth = J.depth, Y.height = J.height, q.push({
18391
18376
  type: "elem",
18392
- elem: X,
18393
- shift: oa
18377
+ elem: Y,
18378
+ shift: sa
18394
18379
  });
18395
18380
  }
18396
18381
  }
18397
- J = buildCommon.makeVList({
18382
+ q = buildCommon.makeVList({
18398
18383
  positionType: "individualShift",
18399
- children: J
18400
- }, t2), J = buildCommon.makeSpan(["col-align-" + (H.align || "c")], [J]), P.push(J), (a < c - 1 || e7.hskipBeforeAndAfter) && (q = utils.deflt(H.postgap, p), q !== 0 && (F = buildCommon.makeSpan(["arraycolsep"], []), F.style.width = makeEm(q), P.push(F)));
18384
+ children: q
18385
+ }, t2), q = buildCommon.makeSpan(["col-align-" + (H.align || "c")], [q]), P.push(q), (a < c - 1 || e7.hskipBeforeAndAfter) && (K = utils.deflt(H.postgap, p), K !== 0 && (F = buildCommon.makeSpan(["arraycolsep"], []), F.style.width = makeEm(K), P.push(F)));
18401
18386
  }
18402
18387
  }
18403
18388
  if (l = buildCommon.makeSpan(["mtable"], P), u.length > 0) {
18404
- for (var sa = buildCommon.makeLineSpan("hline", t2, d), ca = buildCommon.makeLineSpan("hdashline", t2, d), Z = [{
18389
+ for (var ca = buildCommon.makeLineSpan("hline", t2, d), la = buildCommon.makeLineSpan("hdashline", t2, d), X = [{
18405
18390
  type: "elem",
18406
18391
  elem: l,
18407
18392
  shift: 0
18408
18393
  }]; u.length > 0; ) {
18409
- var Q = u.pop(), la = Q.pos - M;
18410
- Q.isDashed ? Z.push({
18394
+ var Z = u.pop(), Q = Z.pos - M;
18395
+ Z.isDashed ? X.push({
18411
18396
  type: "elem",
18412
- elem: ca,
18413
- shift: la
18414
- }) : Z.push({
18397
+ elem: la,
18398
+ shift: Q
18399
+ }) : X.push({
18415
18400
  type: "elem",
18416
- elem: sa,
18417
- shift: la
18401
+ elem: ca,
18402
+ shift: Q
18418
18403
  });
18419
18404
  }
18420
18405
  l = buildCommon.makeVList({
18421
18406
  positionType: "individualShift",
18422
- children: Z
18407
+ children: X
18423
18408
  }, t2);
18424
18409
  }
18425
18410
  if (L.length === 0) return buildCommon.makeSpan(["mord"], [l], t2);
@@ -18478,14 +18463,11 @@ var htmlBuilder$6 = function(e7, t2) {
18478
18463
  }
18479
18464
  var m = !l;
18480
18465
  s.body.forEach(function(e8) {
18481
- for (var t3 = 1; t3 < e8.length; t3 += 2) {
18482
- var r3 = assertNodeType(e8[t3], "styling");
18483
- assertNodeType(r3.body[0], "ordgroup").body.unshift(u);
18484
- }
18466
+ for (var t3 = 1; t3 < e8.length; t3 += 2) assertNodeType(assertNodeType(e8[t3], "styling").body[0], "ordgroup").body.unshift(u);
18485
18467
  if (m) l < e8.length && (l = e8.length);
18486
18468
  else {
18487
- var a2 = e8.length / 2;
18488
- if (c < a2) throw new ParseError("Too many math in a row: " + ("expected " + c + ", but got " + a2), e8[0]);
18469
+ var r3 = e8.length / 2;
18470
+ if (c < r3) throw new ParseError("Too many math in a row: " + ("expected " + c + ", but got " + r3), e8[0]);
18489
18471
  }
18490
18472
  });
18491
18473
  for (var h = 0; h < l; ++h) {
@@ -18851,11 +18833,11 @@ defineFunction({
18851
18833
  allowedInText: true
18852
18834
  },
18853
18835
  handler: (e7, t2) => {
18854
- var { parser: n, funcName: r2, breakOnTokenText: a } = e7, { mode: o } = n, s = n.parseExpression(true, a), c = "math" + r2.slice(1);
18836
+ var { parser: n, funcName: r2, breakOnTokenText: a } = e7, { mode: o } = n, s = n.parseExpression(true, a);
18855
18837
  return {
18856
18838
  type: "font",
18857
18839
  mode: o,
18858
- font: c,
18840
+ font: "math" + r2.slice(1),
18859
18841
  body: {
18860
18842
  type: "ordgroup",
18861
18843
  mode: n.mode,
@@ -19668,13 +19650,10 @@ defineFunction({
19668
19650
  };
19669
19651
  },
19670
19652
  htmlBuilder: (e7, t2) => {
19671
- var n = chooseMathStyle(e7, t2), r2 = buildExpression$1(n, t2, false);
19672
- return buildCommon.makeFragment(r2);
19653
+ var n = buildExpression$1(chooseMathStyle(e7, t2), t2, false);
19654
+ return buildCommon.makeFragment(n);
19673
19655
  },
19674
- mathmlBuilder: (e7, t2) => {
19675
- var n = chooseMathStyle(e7, t2);
19676
- return buildExpressionRow(n, t2);
19677
- }
19656
+ mathmlBuilder: (e7, t2) => buildExpressionRow(chooseMathStyle(e7, t2), t2)
19678
19657
  });
19679
19658
  var assembleSupSub = (e7, t2, n, r2, a, o, s) => {
19680
19659
  e7 = buildCommon.makeSpan([], [e7]);
@@ -19974,18 +19953,18 @@ var htmlBuilder$1 = (e7, t2) => {
19974
19953
  e7.type === "supsub" ? (n = e7.sup, r2 = e7.sub, o = assertNodeType(e7.base, "operatorname"), a = true) : o = assertNodeType(e7, "operatorname");
19975
19954
  var s;
19976
19955
  if (o.body.length > 0) {
19977
- for (var c = o.body.map((e8) => {
19956
+ for (var c = buildExpression$1(o.body.map((e8) => {
19978
19957
  var t3 = e8.text;
19979
19958
  return typeof t3 == "string" ? {
19980
19959
  type: "textord",
19981
19960
  mode: e8.mode,
19982
19961
  text: t3
19983
19962
  } : e8;
19984
- }), l = buildExpression$1(c, t2.withFont("mathrm"), true), u = 0; u < l.length; u++) {
19985
- var d = l[u];
19986
- d instanceof SymbolNode && (d.text = d.text.replace(/\u2212/, "-").replace(/\u2217/, "*"));
19963
+ }), t2.withFont("mathrm"), true), l = 0; l < c.length; l++) {
19964
+ var u = c[l];
19965
+ u instanceof SymbolNode && (u.text = u.text.replace(/\u2212/, "-").replace(/\u2217/, "*"));
19987
19966
  }
19988
- s = buildCommon.makeSpan(["mop"], l, t2);
19967
+ s = buildCommon.makeSpan(["mop"], c, t2);
19989
19968
  } else s = buildCommon.makeSpan(["mop"], [], t2);
19990
19969
  return a ? assembleSupSub(s, n, r2, t2, t2.style, 0, 0) : s;
19991
19970
  };
@@ -22122,8 +22101,7 @@ typeof document < "u" && document.compatMode !== "CSS1Compat" && (typeof console
22122
22101
  var renderToString = function(e7, t2) {
22123
22102
  return renderToDomTree(e7, t2).toMarkup();
22124
22103
  }, generateParseTree = function(e7, t2) {
22125
- var n = new Settings(t2);
22126
- return parseTree(e7, n);
22104
+ return parseTree(e7, new Settings(t2));
22127
22105
  }, renderError = function(e7, t2, r2) {
22128
22106
  if (r2.throwOnError || !(e7 instanceof ParseError)) throw e7;
22129
22107
  var a = buildCommon.makeSpan(["katex-error"], [new SymbolNode(t2)]);
@@ -22131,16 +22109,14 @@ var renderToString = function(e7, t2) {
22131
22109
  }, renderToDomTree = function(e7, t2) {
22132
22110
  var n = new Settings(t2);
22133
22111
  try {
22134
- var r2 = parseTree(e7, n);
22135
- return buildTree(r2, e7, n);
22112
+ return buildTree(parseTree(e7, n), e7, n);
22136
22113
  } catch (t3) {
22137
22114
  return renderError(t3, e7, n);
22138
22115
  }
22139
22116
  }, renderToHTMLTree = function(e7, t2) {
22140
22117
  var n = new Settings(t2);
22141
22118
  try {
22142
- var r2 = parseTree(e7, n);
22143
- return buildHTMLTree(r2, e7, n);
22119
+ return buildHTMLTree(parseTree(e7, n), e7, n);
22144
22120
  } catch (t3) {
22145
22121
  return renderError(t3, e7, n);
22146
22122
  }