@sheetxl/mcp 0.8.0-beta.22 → 0.8.0-beta.24

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 (215) hide show
  1. package/assets/{BHsqPfJZrdKTbPLP.js → 2YT_wstXIH6UIigi.js} +1 -1
  2. package/assets/{DtvJg63vbDd6B7sD.js → 3VycPrqi6qgLOgGY.js} +6 -6
  3. package/assets/{DoScYrfTJOHXe-Ko.js → 6CBUVbF01Bedq0e2.js} +66 -66
  4. package/assets/{D-MsUF59BhikcNZt.js → 76dPHG5RYA7MUV_g.js} +3 -3
  5. package/assets/{DgVCjvTw9Df1DV1x.js → 7IzItpr7MkdnaAwh.js} +167 -167
  6. package/assets/{DevKDvFONeJ9euEq.js → 7vPlH3_rhJxmmBvG.js} +1 -1
  7. package/assets/{BV49J63s68Mj6lgF.js → 9GnbVPKozgrJpeLW.js} +1 -1
  8. package/assets/{VSbzBtGH0cA8VBsM.js → B-5mBXpY9i6-eCrZ.js} +39 -39
  9. package/assets/{4zyHb1mmcFfqwpjO.js → B-t1q2NS61c2B8E4.js} +1 -1
  10. package/assets/{BSdRn3B8QeJFflY6.js → B16G2473LTkZP6Mq.js} +157 -137
  11. package/assets/{DrLUi6vduqDLmQjl.js → B4uS01J0mrSJSftQ.js} +89 -89
  12. package/assets/{BzFIkeB_lheiTR7z.js → B6caaQsfOpFEgYQ4.js} +1 -1
  13. package/assets/{b-xk3WtCPBkC4E-Z.js → B7lATTNffVTrDsKE.js} +2 -2
  14. package/assets/{hhpAcu3tINDLk7Ov.js → B8bEJ65vQRqsfBlS.js} +5 -5
  15. package/assets/{ryaMyh_8KvmXVSJd.js → BAVltO4Xf7lC0Xr6.js} +1 -1
  16. package/assets/{3N6hsbh2WLceyO6T.js → BH7ctzMzOYVTGxzA.js} +1 -1
  17. package/assets/{HVwvDMZh0ZGR-hRT.js → BJqo8c5bFKjnq69G.js} +11 -11
  18. package/assets/{DEOkcuqKBFyRnY18.js → BJwiwzwx4Bl5L4Vq.js} +1 -1
  19. package/assets/{CT99WREgkKGpcDTO.js → BPNLZ07Bu_B8Yhf1.js} +1 -1
  20. package/assets/{CSKjFDYwiwn5XNnH.js → BWLavTnANLUerdS0.js} +2 -2
  21. package/assets/{Dvsld01DkmiNLjfP.js → BXWGS09xFG81nnIT.js} +1 -1
  22. package/assets/{C4-0s3Udk3v4ytSn.js → BaYk1vO2hP2S3_1w.js} +2 -2
  23. package/assets/{CHqnRMWNpLKcAWWn.js → BifwlrCmEVtjh_1U.js} +1 -1
  24. package/assets/{CYCqMEoWsry6_hrc.js → BjyXkr-CzV8mVx0t.js} +1 -1
  25. package/assets/{Ds5pLAwSN4lSbao6.js → BkHeIMSE7-LehRCs.js} +1 -1
  26. package/assets/{CwNKcoA7na7Ess3a.js → BkekCZ17YTtd07_C.js} +2 -2
  27. package/assets/{0jPw8-AyT6VbPuGO.js → BnNB_ejvNaLu6B3o.js} +1 -1
  28. package/assets/{BPZWfwUvFCLQInXN.js → BrJd9jVVv9SQzZol.js} +400 -400
  29. package/assets/{BRVEVVhj-8ZPrNyQ.js → BrYc6PLonux_gI6b.js} +223 -223
  30. package/assets/{Cu4VAHfmjXWfTMPu.js → BxwB3iTNSE1TgHkb.js} +1 -1
  31. package/assets/{DgYcOz0M0pmZf9x_.js → By1QPrSxtnRiJu0R.js} +2 -2
  32. package/assets/{B5VTjL9m0R-Icfaz.js → ByYJTTTUuu67hDF-.js} +4 -4
  33. package/assets/{CXk5vwFfosghrTKo.js → C-nA4SXN5hWHaxV6.js} +535 -535
  34. package/assets/{BnGNMsqG5CzUzmX7.js → C0uu0vLKQh0S508B.js} +23 -23
  35. package/assets/{BDq4iVyBh5lwX8pE.js → C6PNMev7cs5JLgwy.js} +1 -1
  36. package/assets/{C1PTfp7kVu3DqqZh.js → C9iFJ52KwQTePQ81.js} +8944 -8935
  37. package/assets/{xDx1vaNa2aCMs4_e.js → CCF6CwJ6cbeLRl23.js} +1 -1
  38. package/assets/{CAgQJrDxGEfoa7jn.js → CEk658HeLJk2cAjM.js} +3 -3
  39. package/assets/{Bf7Irm8Ua4s1T4xH.js → CFNtPYPfDPH-3BXK.js} +1 -1
  40. package/assets/{CHG9Q0uLAZdLXYVz.js → CFT_tDogP98gTbh7.js} +101 -101
  41. package/assets/{ze6Q8BiEw9RClBzZ.js → CFWwwr74qRKOBrg9.js} +1 -1
  42. package/assets/{Bi65BKwwiZYYZprq.js → CIY_RiLu1_FmRLAA.js} +1 -1
  43. package/assets/{D9ja7F9irHf9Iovx.js → CIw6ZC3K9x-ccacl.js} +1 -1
  44. package/assets/{1dUPpOVZSeeylKHv.js → CJ2hV-9ipqOEkLSG.js} +1 -1
  45. package/assets/{vazKaFOkHRriv7tX.js → CKD460cQOgwF6uSV.js} +1 -1
  46. package/assets/{zJoBN2CJdxEV7vdh.js → CM-q_J5aF6YXmjeu.js} +3 -3
  47. package/assets/{9AosCdy_xtdhLjN1.js → CR1aLf7CWEfPTO9a.js} +1 -1
  48. package/assets/{E9mta1q4VtVUusy5.js → CSXmTA6w6Pnbtqvb.js} +1 -1
  49. package/assets/{BI5L_Ysr8s0TQxdg.js → CT4czEKWIj1GeQN8.js} +1 -1
  50. package/assets/{D8dNiNpu9_L0NjGP.js → CUYQlZz5zWsUdmRy.js} +1 -1
  51. package/assets/{CGB4xgirbgEIN3tg.js → CbJWbjmv4bz4ppIZ.js} +356 -354
  52. package/assets/{Bx592y6pyOwTS2x7.js → Cf0zmfQYfJ7zM0Ya.js} +1 -1
  53. package/assets/{8csqJ8aGOdnKlrLl.js → Ch9w7xFxVMrvGuC_.js} +1 -1
  54. package/assets/{GGcMgq3ScY7Tv0PE.js → CmkgQ5-IG0BSCM3R.js} +3 -3
  55. package/assets/{BkqENH8xJ3_NQnD5.js → CmwNIrRssYuLN2fn.js} +422 -422
  56. package/assets/{sYakw2x8dcnpUlsX.js → CnI4Nli8vtWdFKvf.js} +3 -3
  57. package/assets/{DRd8gdwcr3EqtGkb.js → CnKX5SPVE2iuSK42.js} +1 -1
  58. package/assets/{BvKzhnweVF6GhjXh.js → CpvJUGg9ckuCIpIS.js} +1 -1
  59. package/assets/{DFQLoYLUO4TgDZPK.js → Cxzowsi6ASdZtzeI.js} +1 -1
  60. package/assets/{tIoHMgrZeRHWyxos.js → CzRvg04_TIbwBH5C.js} +3 -3
  61. package/assets/{BygXDW3XTdtR38aA.js → D-vo2bQyAmStQmD9.js} +1 -1
  62. package/assets/{DxNK3HVEzFdUou54.js → D6d1DKL15m52ZCuC.js} +1 -1
  63. package/assets/{Z5tQQ6IW5YBjblWX.js → D8k9de_hen-KqBWe.js} +1 -1
  64. package/assets/{91BKH9obG4IfBzhy.js → DE7G34oYbvrfXbJ7.js} +383 -378
  65. package/assets/{BrfsWImwRtf54LUU.js → DFVQIZ2zZyAphhCF.js} +1 -1
  66. package/assets/{D1tShC5iBlUoT2V2.js → DGI_8HyNF0eAv0P5.js} +1 -1
  67. package/assets/{C1yAmXrOu3iHV2cu.js → DGOgx3-IyO8bjF_t.js} +83 -83
  68. package/assets/{BXean6K6oDUxkzyd.js → DIgPlkEabQdKNUQn.js} +1 -1
  69. package/assets/{DmVQgN-N_HhYvakk.js → DJGYlGr2Zj7SkYqc.js} +1 -1
  70. package/assets/{DzGpZ2CQ1St9BF0y.js → DJfpKncnYnrr28G0.js} +1 -1
  71. package/assets/{CHnaSM8aMnQ2_VWW.js → DL8pez0eKo8arYPj.js} +3 -3
  72. package/assets/{tPa3RpqYRqCCCYf1.js → DM-yGHahbfA_uarn.js} +1 -1
  73. package/assets/{DHHYGjNwlLvja3dS.js → DMDTS0LH9Ke9t-3z.js} +1 -1
  74. package/assets/{D89TE5n8VKre9Gmp.js → DNSWaXblwhTtI3w7.js} +1 -1
  75. package/assets/{UgDy0WNXuV1sEnFW.js → DOSWSyKkK4eSi4PD.js} +2 -2
  76. package/assets/{CHpBOpoM9bCvQyn0.js → DPLTGglaPovTg9e5.js} +1 -1
  77. package/assets/{CpYgsvYMxV5SbRp3.js → DPYFRLJbHGlrcrJq.js} +2 -2
  78. package/assets/{DLbzfP7OOWhafkTq.js → DRq6lQLndj73WT35.js} +1 -1
  79. package/assets/{BUGEQS5WdiLcI_0X.js → DRzZ4bEyLRGVOLzV.js} +1 -1
  80. package/assets/{BUIjRIGTum7VuRFk.js → DUbIxDAzW1dzrtdI.js} +1 -1
  81. package/assets/{OfjHqYH31KqC5gVM.js → DXCTHw-ZutNIuo_2.js} +1 -1
  82. package/assets/{OtMeAlbq6tyW5Hnc.js → D_tdoUtUe7cApQJn.js} +4 -4
  83. package/assets/{DawLBAaNAAmo_P3Y.js → DaF9L7No8h8a-cqb.js} +2 -2
  84. package/assets/{DdDKDqtpIkzd-mXi.js → DaHD9SY75O8wDy3p.js} +2 -2
  85. package/assets/{CXqqaFgNeUVRGvEb.js → Daaro0HbHkKXkBP-.js} +2 -2
  86. package/assets/{BiC09_YKQPmlUklQ.js → DczQhB3mRSUw6GCf.js} +1 -1
  87. package/assets/Dfv_T_PQVL0O3lu5.js +14 -0
  88. package/assets/{B6pXiayrnDoDbQt1.js → Dhy6iU_09lrQnOAV.js} +47 -47
  89. package/assets/{Dbh-XVDw294AVLtl.js → Dk9zYXO3VoBhTdex.js} +1 -1
  90. package/assets/{DQIQR1t3IkC9wshP.js → DkQ4kxEKhKYQgfjK.js} +1 -1
  91. package/assets/{CSGN4rAf7CYnBDEa.js → Dlqk7XqKnAZ8Pcj3.js} +83 -83
  92. package/assets/{BaaVzb7xXROiWUhT.js → DqSBb1HmgeU7eg_i.js} +84 -84
  93. package/assets/{BgwCdHyXKQYFAl1M.js → Ds4TB1hn56-RK6_f.js} +1 -1
  94. package/assets/{VWEaItb0XvCoRiCT.js → DtVSjxL6N_7WyM8Z.js} +1 -1
  95. package/assets/{C9wlvcFyjQA59G-_.js → DuEtCJEnG_GnJzTX.js} +1 -1
  96. package/assets/{DdnALoxd3b8TLNla.js → DwNcvKM47ZHfvQM6.js} +1 -1
  97. package/assets/{CdtVv8YQ8PTmS4dz.js → DyiH3LlinD-38bG7.js} +1 -1
  98. package/assets/{hAVtdK6u2tlLI2cB.js → Jy-_0a72nn5Iv1NK.js} +1 -1
  99. package/assets/{Bzp3UtK_6fqEVlV8.js → KMzONx2Ps841nJHj.js} +8 -8
  100. package/assets/{CV729JV1mNyYCmrq.js → LM2rVDHdB0jVUFcT.js} +1 -1
  101. package/assets/{do_DTptu6c_xHJoZ.js → MosMza0-rXD8uHX_.js} +2 -2
  102. package/assets/{COVhUB0EotytQDHg.js → NAWWzA_hk4wYtsPP.js} +2 -2
  103. package/assets/{CufFcGwo5x95LSb7.js → P6V3JAiRpC3BWceC.js} +1 -1
  104. package/assets/{1U3DwsqHnOBwiGWn.js → TZnuVwhVjkOBax9F.js} +2 -2
  105. package/assets/{nSzQt54CIADky_tF.js → TdDTOcC1TYhk6UuR.js} +1 -1
  106. package/assets/{CGxhgXj5qKj_Ubcp.js → Xccc6oxtlSvJUDsC.js} +1 -1
  107. package/assets/{DAqaOCEQLmZRjcdR.js → a2e_g9YI3J-lUD7-.js} +1 -1
  108. package/assets/{D-N87jCOShDKTFDh.js → b8yACuWy67eIj_j2.js} +1 -1
  109. package/assets/{BlxrCp7d-SeM-2DW.js → bv3fZLUPzd14I58C.js} +631 -621
  110. package/assets/{CKhbbbjQ-_auMp3n.js → doqBmhonQlHp-1Ud.js} +1 -1
  111. package/assets/{BZxJKqVEO7B23XwE.js → fEfisM0E2fUYKIyU.js} +5 -5
  112. package/assets/{v5XZSqLd9ZV3kqcA.js → flby0g5gyZ9P2Wu2.js} +1 -1
  113. package/assets/{coTH4ab6CTEzw87b.js → g2Nu44uuSJFMzxEV.js} +2 -2
  114. package/assets/{Cahhn5OLNqRYy-n8.js → mZt9BTEejCJZ4YK4.js} +1 -1
  115. package/assets/{BnK6HEqT4rf1RoOG.js → qc7rA-Z3a4rkVQPx.js} +217 -217
  116. package/assets/{DsBXjYAgTUXAAWZZ.js → sJVPCrgeh0U6LbAK.js} +1 -1
  117. package/assets/{wWgI0JPoe_Wv0ceW.js → suLYEZBtGUhSYeB7.js} +1 -1
  118. package/assets/{WSiEiaP-NUEr9UaB.js → tWO-mE87mAuj1qih.js} +2 -2
  119. package/assets/{DdXp_iPwTOHAOvlL.js → xD41vsQY6h60lCqz.js} +1168 -1170
  120. package/assets/{C7zManFR1LEJXiwb.js → yz2PTfYm_8EGJPM5.js} +1 -1
  121. package/index.js +117 -117
  122. package/lib.js +1 -1
  123. package/licenses/dependencies.txt +12 -12
  124. package/package.json +4 -4
  125. package/screenshot-page/assets/{CFl15-2FAF9f3V7L.js → 0UZBKpOOsp7P-DkP.js} +2 -2
  126. package/screenshot-page/assets/{DfT1DMR1b5kiyYiV.js → B-0-chiwq4MIUQy9.js} +1 -1
  127. package/screenshot-page/assets/B7pXfEVkcbaMBMhc.js +1 -0
  128. package/screenshot-page/assets/BDRMUi2BsnBqytIq.js +2 -0
  129. package/screenshot-page/assets/BEjJHVSbtlsNtoq7.js +3 -0
  130. package/screenshot-page/assets/{BnZX0sxceYpvtg3I.js → BIuMiduMHSsTGacU.js} +2 -2
  131. package/screenshot-page/assets/BKwDvElKinpn1IK0.js +1 -0
  132. package/screenshot-page/assets/BPMQ22uISGOm3ymr.js +1 -0
  133. package/screenshot-page/assets/{adhmz3N2Kgq5eW66.js → BTJ1NNUzHotNDiDe.js} +2 -2
  134. package/screenshot-page/assets/BbT5KRhoeAKLzy54.js +2 -0
  135. package/screenshot-page/assets/{Dwv5Z_c2XS-hm-5y.js → BcZPWw18bdj_ZvA9.js} +1 -1
  136. package/screenshot-page/assets/{BEwl-ucV9Jfr0RoC.js → Bdb0azxGoCh6NBDk.js} +1 -1
  137. package/screenshot-page/assets/{CcOIj8c4N9KaWnD7.js → Bfq6-treWd_rRiWl.js} +1 -1
  138. package/screenshot-page/assets/{BGh5K-hHzy8mSVDr.js → Bg9UyX4yrB2mSdJt.js} +12 -12
  139. package/screenshot-page/assets/Bxq4FCQhyPbVhhaR.js +2 -0
  140. package/screenshot-page/assets/{zFbb8ESzwR_bE7IQ.js → CBP4y6KFPu24xhDT.js} +1 -1
  141. package/screenshot-page/assets/CI3Z1f4amZ9G2rPD.js +5 -0
  142. package/screenshot-page/assets/{COpZTXe_J1mSpeYD.js → CNB6WmYfGVZjlCKV.js} +1 -1
  143. package/screenshot-page/assets/{CXGgKVbVXjWzE0p6.js → CQ-33-es3XJ56pR4.js} +1 -1
  144. package/screenshot-page/assets/CSFFMEKyxEFaykqL.js +1 -0
  145. package/screenshot-page/assets/CXeJV1BW2CVemhPE.js +1 -0
  146. package/screenshot-page/assets/{Cmv8bpHaTWZ7Lmbt.js → C_YKEkTsGB_5gFNg.js} +2 -2
  147. package/screenshot-page/assets/CkxmJxdtjBIxYoMq.js +1 -0
  148. package/screenshot-page/assets/CtiTwHzd_ZSzd3W2.js +1 -0
  149. package/screenshot-page/assets/CwCu_r0BW41uLt3P.js +2 -0
  150. package/screenshot-page/assets/{DdusmeEPaU7CWT6e.js → Cx9eq2x1gIXGki3Q.js} +1 -1
  151. package/screenshot-page/assets/D43IayseD2Cy8OZo.js +4 -0
  152. package/screenshot-page/assets/{BftXEPOuf5Uwxpud.js → D6Ciix7JAZtdKqmj.js} +1 -1
  153. package/screenshot-page/assets/D6EXAYU-ZH8hjx_7.js +2 -0
  154. package/screenshot-page/assets/D7Yt7xmUlA6-Lq0Q.js +48 -0
  155. package/screenshot-page/assets/D8KyhLvfyjLZW92H.js +39 -0
  156. package/screenshot-page/assets/DACSL7FA_J91Z_H7.js +2 -0
  157. package/screenshot-page/assets/DBxAatsD6aWk7Zb6.js +586 -0
  158. package/screenshot-page/assets/DGkaCFHx4PsOJkFu.js +1 -0
  159. package/screenshot-page/assets/DM6hr-bvWV50-Oex.js +2 -0
  160. package/screenshot-page/assets/DOVt9zHz7FQ2KUQM.js +1 -0
  161. package/screenshot-page/assets/DR-og7vslxlOZd8j.js +1 -0
  162. package/screenshot-page/assets/DSTlKGmqncM7XHeW.js +1 -0
  163. package/screenshot-page/assets/Dh14XQinAphjZOKC.js +1 -0
  164. package/screenshot-page/assets/Dkf51CnZh2zPEGMd.js +1 -0
  165. package/screenshot-page/assets/{nM1r2xslndIMKlI2.js → DmDFKv_3APEWI-IY.js} +2 -2
  166. package/screenshot-page/assets/Dt8JxbBBr2TeDflQ.js +1 -0
  167. package/screenshot-page/assets/Dxi-bXNjS-CpC5Qr.js +1 -0
  168. package/screenshot-page/assets/{Bm9-R9keVK5Sx-8o.js → DynKB5GH-vfFMJEy.js} +1 -1
  169. package/screenshot-page/assets/{CZq2dMHs2MHHyyBl.js → FcTM4SB17cEX1M3X.js} +1 -1
  170. package/screenshot-page/assets/{B668_VaGrdcWRbkC.js → FqdZRM336KMEcsbU.js} +1 -1
  171. package/screenshot-page/assets/Oay0yGsGYgJDzy8r.js +1 -0
  172. package/screenshot-page/assets/Pt9ne0xkE2icD3Ih.js +1 -0
  173. package/screenshot-page/assets/QZg76Jflu3Q808W3.js +1 -0
  174. package/screenshot-page/assets/{BRemww1df2HKLd_k.js → WTrYzPnMQhYDILMR.js} +1 -1
  175. package/screenshot-page/assets/{CXUO3vYip3JPSJ7A.js → YH1wNXzhQbkuWxeS.js} +1 -1
  176. package/screenshot-page/assets/{CQ9C0-FcDZxrgC3T.js → a3fvt1Klg1uGE7p6.js} +7 -7
  177. package/screenshot-page/assets/{D8-mayyvvVE1a4JB.js → clrFU8i-0wNkmbs7.js} +1 -1
  178. package/screenshot-page/assets/{-cpi3yOZYn6GsYN4.js → gU2zeJaXoNh7QI_e.js} +2 -2
  179. package/screenshot-page/assets/r2HZG9_SMzF3__ID.js +13 -0
  180. package/screenshot-page/index.html +16 -16
  181. package/types/scripting-api.json +5747 -5744
  182. package/types/scripting.d.ts +27 -3
  183. package/assets/r-pk3RNq_HjMQFqr.js +0 -14
  184. package/screenshot-page/assets/0buGanYjZDNd9qAK.js +0 -39
  185. package/screenshot-page/assets/B2oadmu_j6WfNbZ1.js +0 -1
  186. package/screenshot-page/assets/BGWgIYge30MP6Xhz.js +0 -48
  187. package/screenshot-page/assets/BIQ7KK-buzeddVA9.js +0 -1
  188. package/screenshot-page/assets/BPRDGSNh0kvXRFUY.js +0 -1
  189. package/screenshot-page/assets/Bv2MgCMkg3EIQ6iE.js +0 -13
  190. package/screenshot-page/assets/BvaiwYJ5zZ0d5NRP.js +0 -1
  191. package/screenshot-page/assets/CAlTfQ_Gh-dURmUc.js +0 -1
  192. package/screenshot-page/assets/CCFxspvs5VzbYCfl.js +0 -1
  193. package/screenshot-page/assets/CCqTTfzZokVHIzs2.js +0 -1
  194. package/screenshot-page/assets/CPs_ARK8JCyz-yZg.js +0 -1
  195. package/screenshot-page/assets/CUeMb48Ucrm5dK5u.js +0 -1
  196. package/screenshot-page/assets/CjrHeIdacavAT_Ud.js +0 -3
  197. package/screenshot-page/assets/CqccUqSMYlwlf2ZU.js +0 -2
  198. package/screenshot-page/assets/CvmImq-Kbg9srxNr.js +0 -4
  199. package/screenshot-page/assets/D-3wYBqe4SWdE6bx.js +0 -2
  200. package/screenshot-page/assets/D-FWnGDbZ9BRDzPR.js +0 -1
  201. package/screenshot-page/assets/D717DArr-KKL0U6R.js +0 -1
  202. package/screenshot-page/assets/DM27mE98BNk1T18I.js +0 -1
  203. package/screenshot-page/assets/DN-T1DyRMKvxEJSK.js +0 -1
  204. package/screenshot-page/assets/DRdL1GN4SP7P8lSP.js +0 -2
  205. package/screenshot-page/assets/DcnhaY93LQd7kVdH.js +0 -2
  206. package/screenshot-page/assets/DigI6jhjHePzLgg1.js +0 -1
  207. package/screenshot-page/assets/DrDLCC0R2IV5VJd7.js +0 -1
  208. package/screenshot-page/assets/DuYb_otrRZZDq6-f.js +0 -2
  209. package/screenshot-page/assets/Dx0pUf3G4Oa3dGOk.js +0 -1
  210. package/screenshot-page/assets/JcgNMFaj_uqHSFxr.js +0 -1
  211. package/screenshot-page/assets/U_8_wApwfA7KmIG3.js +0 -586
  212. package/screenshot-page/assets/WZprjN2sb7HlraOb.js +0 -2
  213. package/screenshot-page/assets/qjoaeEBxfKWCHmqK.js +0 -2
  214. package/screenshot-page/assets/zALFdtoGJBN6m2Bn.js +0 -1
  215. package/screenshot-page/assets/zd1Z2E1NjFp2EWC7.js +0 -5
@@ -1,11 +1,11 @@
1
1
  /**
2
- * @license @sheetxl/mcp - MCP server exposing SheetXL spreadsheet operations as tools and resources. - v0.8.0-beta.22
2
+ * @license @sheetxl/mcp - MCP server exposing SheetXL spreadsheet operations as tools and resources. - v0.8.0-beta.24
3
3
  *
4
4
  * (C) 2026-present SheetXL Inc. & Michael T. Ford
5
5
  * License: SheetXL EULA — https://www.sheetxl.com/eula
6
6
  */
7
- import { u as e } from "./BUGEQS5WdiLcI_0X.js";
8
- import { Ar as t, Ba as n, Ca as i, Ei as r, H as s, Hi as o, Hn as a, Kt as c, Mi as h, Na as l, Nn as u, Oa as d, Si as p, Tn as f, Xt as m, Za as E, _n as T, ea as g, mn as O, or as A, ri as R, sa as I, t as _, ui as N, uo as L, vi as S, vr as C, vt as y, w as k, zt as v } from "./C1PTfp7kVu3DqqZh.js";
7
+ import { u as e } from "./DRzZ4bEyLRGVOLzV.js";
8
+ import { At as t, Cn as n, Cr as i, Ea as r, Ha as s, Hi as o, Ht as a, Jt as c, Kr as h, Qa as l, Rt as u, T as d, Xn as p, Yi as f, _r as m, ba as E, dr as T, gt as g, ji as O, lt as A, m as R, ma as I, nr as _, pi as N, s as L, t as S, ta as C, tt as y, ui as k, vi as v } from "./C9iFJ52KwQTePQ81.js";
9
9
  function x(e) {
10
10
  console && console.error && console.error(`Error: ${e}`);
11
11
  }
@@ -213,7 +213,7 @@ function q(e) {
213
213
  if (e instanceof H) return "CONSUME";
214
214
  throw Error("non exhaustive match");
215
215
  }
216
- var Z = class {
216
+ var Q = class {
217
217
  walk(e, t = []) {
218
218
  e.definition.forEach((n, i) => {
219
219
  const r = e.definition.slice(i + 1);
@@ -246,7 +246,7 @@ var Z = class {
246
246
  this.walk(e, i);
247
247
  }
248
248
  walkAtLeastOneSep(e, t, n) {
249
- const i = Q(e, t, n);
249
+ const i = Z(e, t, n);
250
250
  this.walk(e, i);
251
251
  }
252
252
  walkMany(e, t, n) {
@@ -254,7 +254,7 @@ var Z = class {
254
254
  this.walk(e, i);
255
255
  }
256
256
  walkManySep(e, t, n) {
257
- const i = Q(e, t, n);
257
+ const i = Z(e, t, n);
258
258
  this.walk(e, i);
259
259
  }
260
260
  walkOr(e, t, n) {
@@ -265,7 +265,7 @@ var Z = class {
265
265
  });
266
266
  }
267
267
  };
268
- function Q(e, t, n) {
268
+ function Z(e, t, n) {
269
269
  return [new B({ definition: [new H({ terminalType: e.separator })].concat(e.definition) })].concat(t, n);
270
270
  }
271
271
  function J(e) {
@@ -288,7 +288,7 @@ function J(e) {
288
288
  }(e);
289
289
  throw Error("non exhaustive match");
290
290
  }
291
- var ee = "_~IN~_", te = class extends Z {
291
+ var ee = "_~IN~_", te = class extends Q {
292
292
  constructor(e) {
293
293
  super(), this.topProd = e, this.follows = {};
294
294
  }
@@ -1277,7 +1277,7 @@ function ve(e, t) {
1277
1277
  return {
1278
1278
  errors: t.map((e) => ({
1279
1279
  message: "Token Type: ->" + e.name + "<- missing static 'PATTERN' property",
1280
- type: Qe.MISSING_PATTERN,
1280
+ type: Ze.MISSING_PATTERN,
1281
1281
  tokenTypes: [e]
1282
1282
  })),
1283
1283
  valid: e.filter((e) => !t.includes(e))
@@ -1292,7 +1292,7 @@ function ve(e, t) {
1292
1292
  return {
1293
1293
  errors: t.map((e) => ({
1294
1294
  message: "Token Type: ->" + e.name + "<- static 'PATTERN' can only be a RegExp, a Function matching the {CustomPatternMatcherFunc} type or an Object matching the {ICustomPattern} interface.",
1295
- type: Qe.INVALID_PATTERN,
1295
+ type: Ze.INVALID_PATTERN,
1296
1296
  tokenTypes: [e]
1297
1297
  })),
1298
1298
  valid: e.filter((e) => !t.includes(e))
@@ -1320,7 +1320,7 @@ function ve(e, t) {
1320
1320
  }
1321
1321
  }).map((e) => ({
1322
1322
  message: "Unexpected RegExp Anchor Error:\n Token Type: ->" + e.name + "<- static 'PATTERN' cannot contain end of input anchor '$'\n See chevrotain.io/docs/guide/resolving_lexer_errors.html#ANCHORS for details.",
1323
- type: Qe.EOI_ANCHOR_FOUND,
1323
+ type: Ze.EOI_ANCHOR_FOUND,
1324
1324
  tokenTypes: [e]
1325
1325
  }));
1326
1326
  }(n)), t = t.concat(function(e) {
@@ -1342,7 +1342,7 @@ function ve(e, t) {
1342
1342
  }
1343
1343
  }).map((e) => ({
1344
1344
  message: "Unexpected RegExp Anchor Error:\n Token Type: ->" + e.name + "<- static 'PATTERN' cannot contain start of input anchor '^'\n See https://chevrotain.io/docs/guide/resolving_lexer_errors.html#ANCHORS for details.",
1345
- type: Qe.SOI_ANCHOR_FOUND,
1345
+ type: Ze.SOI_ANCHOR_FOUND,
1346
1346
  tokenTypes: [e]
1347
1347
  }));
1348
1348
  }(n)), t = t.concat(function(e) {
@@ -1351,7 +1351,7 @@ function ve(e, t) {
1351
1351
  return t instanceof RegExp && (t.multiline || t.global);
1352
1352
  }).map((e) => ({
1353
1353
  message: "Token Type: ->" + e.name + "<- static 'PATTERN' may NOT contain global('g') or multiline('m')",
1354
- type: Qe.UNSUPPORTED_FLAGS_FOUND,
1354
+ type: Ze.UNSUPPORTED_FLAGS_FOUND,
1355
1355
  tokenTypes: [e]
1356
1356
  }));
1357
1357
  }(n)), t = t.concat(function(e) {
@@ -1361,14 +1361,14 @@ function ve(e, t) {
1361
1361
  const t = e.map((e) => e.name);
1362
1362
  return {
1363
1363
  message: `The same RegExp pattern ->${e[0].PATTERN}<-has been used in all of the following Token Types: ${t.join(", ")} <-`,
1364
- type: Qe.DUPLICATE_PATTERNS_FOUND,
1364
+ type: Ze.DUPLICATE_PATTERNS_FOUND,
1365
1365
  tokenTypes: e
1366
1366
  };
1367
1367
  });
1368
1368
  }(n)), t = t.concat(function(e) {
1369
1369
  return e.filter((e) => e.PATTERN.test("")).map((e) => ({
1370
1370
  message: "Token Type: ->" + e.name + "<- static 'PATTERN' must not match an empty string",
1371
- type: Qe.EMPTY_MATCH_PATTERN,
1371
+ type: Ze.EMPTY_MATCH_PATTERN,
1372
1372
  tokenTypes: [e]
1373
1373
  }));
1374
1374
  }(n)), t;
@@ -1379,13 +1379,13 @@ function ve(e, t) {
1379
1379
  return t !== tt.SKIPPED && t !== tt.NA && !("string" == typeof t);
1380
1380
  }).map((e) => ({
1381
1381
  message: "Token Type: ->" + e.name + "<- static 'GROUP' can only be Lexer.SKIPPED/Lexer.NA/A String",
1382
- type: Qe.INVALID_GROUP_TYPE_FOUND,
1382
+ type: Ze.INVALID_GROUP_TYPE_FOUND,
1383
1383
  tokenTypes: [e]
1384
1384
  }));
1385
1385
  }(s)), n = n.concat(function(e, t) {
1386
1386
  return e.filter((e) => void 0 !== e.PUSH_MODE && !t.includes(e.PUSH_MODE)).map((e) => ({
1387
1387
  message: `Token Type: ->${e.name}<- static 'PUSH_MODE' value cannot refer to a Lexer Mode ->${e.PUSH_MODE}<-which does not exist`,
1388
- type: Qe.PUSH_MODE_DOES_NOT_EXIST,
1388
+ type: Ze.PUSH_MODE_DOES_NOT_EXIST,
1389
1389
  tokenTypes: [e]
1390
1390
  }));
1391
1391
  }(s, t)), n = n.concat(function(e) {
@@ -1432,7 +1432,7 @@ function ve(e, t) {
1432
1432
  const n = `Token: ->${s.name}<- can never be matched.\nBecause it appears AFTER the Token Type ->${e.name}<-in the lexer's definition.\nSee https://chevrotain.io/docs/guide/resolving_lexer_errors.html#UNREACHABLE`;
1433
1433
  t.push({
1434
1434
  message: n,
1435
- type: Qe.UNREACHABLE_PATTERN,
1435
+ type: Ze.UNREACHABLE_PATTERN,
1436
1436
  tokenTypes: [e, s]
1437
1437
  });
1438
1438
  }
@@ -1476,19 +1476,19 @@ function Fe(e, t) {
1476
1476
  Se(t, e.PATTERN);
1477
1477
  } catch (e) {
1478
1478
  return {
1479
- issue: Qe.IDENTIFY_TERMINATOR,
1479
+ issue: Ze.IDENTIFY_TERMINATOR,
1480
1480
  errMsg: e.message
1481
1481
  };
1482
1482
  }
1483
1483
  return !1;
1484
1484
  }
1485
1485
  if ("string" == typeof e.PATTERN) return !1;
1486
- if (be(e)) return { issue: Qe.CUSTOM_LINE_BREAK };
1486
+ if (be(e)) return { issue: Ze.CUSTOM_LINE_BREAK };
1487
1487
  throw Error("non exhaustive match");
1488
1488
  }
1489
1489
  function De(e, t) {
1490
- if (t.issue === Qe.IDENTIFY_TERMINATOR) return `Warning: unable to identify line terminator usage in pattern.\n\tThe problem is in the <${e.name}> Token Type\n\t Root cause: ${t.errMsg}.\n\tFor details See: https://chevrotain.io/docs/guide/resolving_lexer_errors.html#IDENTIFY_TERMINATOR`;
1491
- if (t.issue === Qe.CUSTOM_LINE_BREAK) return `Warning: A Custom Token Pattern should specify the <line_breaks> option.\n\tThe problem is in the <${e.name}> Token Type\n\tFor details See: https://chevrotain.io/docs/guide/resolving_lexer_errors.html#CUSTOM_LINE_BREAK`;
1490
+ if (t.issue === Ze.IDENTIFY_TERMINATOR) return `Warning: unable to identify line terminator usage in pattern.\n\tThe problem is in the <${e.name}> Token Type\n\t Root cause: ${t.errMsg}.\n\tFor details See: https://chevrotain.io/docs/guide/resolving_lexer_errors.html#IDENTIFY_TERMINATOR`;
1491
+ if (t.issue === Ze.CUSTOM_LINE_BREAK) return `Warning: A Custom Token Pattern should specify the <line_breaks> option.\n\tThe problem is in the <${e.name}> Token Type\n\tFor details See: https://chevrotain.io/docs/guide/resolving_lexer_errors.html#CUSTOM_LINE_BREAK`;
1492
1492
  throw Error("non exhaustive match");
1493
1493
  }
1494
1494
  function Be(e) {
@@ -1554,16 +1554,16 @@ function Xe(e) {
1554
1554
  function qe(e) {
1555
1555
  return Object.hasOwn(null != e ? e : {}, "CATEGORIES");
1556
1556
  }
1557
- function Ze(e) {
1557
+ function Qe(e) {
1558
1558
  return Object.hasOwn(null != e ? e : {}, "tokenTypeIdx");
1559
1559
  }
1560
- var Qe, Je = {
1560
+ var Ze, Je = {
1561
1561
  buildUnableToPopLexerModeMessage: (e) => `Unable to pop Lexer Mode after encountering Token ->${e.image}<- The Mode Stack is empty`,
1562
1562
  buildUnexpectedCharactersMessage: (e, t, n, i, r, s) => `unexpected character: ->${e.charAt(t)}<- at offset: ${t}, skipped ${n} characters.`
1563
1563
  };
1564
1564
  (function(e) {
1565
1565
  e[e.MISSING_PATTERN = 0] = "MISSING_PATTERN", e[e.INVALID_PATTERN = 1] = "INVALID_PATTERN", e[e.EOI_ANCHOR_FOUND = 2] = "EOI_ANCHOR_FOUND", e[e.UNSUPPORTED_FLAGS_FOUND = 3] = "UNSUPPORTED_FLAGS_FOUND", e[e.DUPLICATE_PATTERNS_FOUND = 4] = "DUPLICATE_PATTERNS_FOUND", e[e.INVALID_GROUP_TYPE_FOUND = 5] = "INVALID_GROUP_TYPE_FOUND", e[e.PUSH_MODE_DOES_NOT_EXIST = 6] = "PUSH_MODE_DOES_NOT_EXIST", e[e.MULTI_MODE_LEXER_WITHOUT_DEFAULT_MODE = 7] = "MULTI_MODE_LEXER_WITHOUT_DEFAULT_MODE", e[e.MULTI_MODE_LEXER_WITHOUT_MODES_PROPERTY = 8] = "MULTI_MODE_LEXER_WITHOUT_MODES_PROPERTY", e[e.MULTI_MODE_LEXER_DEFAULT_MODE_VALUE_DOES_NOT_EXIST = 9] = "MULTI_MODE_LEXER_DEFAULT_MODE_VALUE_DOES_NOT_EXIST", e[e.LEXER_DEFINITION_CANNOT_CONTAIN_UNDEFINED = 10] = "LEXER_DEFINITION_CANNOT_CONTAIN_UNDEFINED", e[e.SOI_ANCHOR_FOUND = 11] = "SOI_ANCHOR_FOUND", e[e.EMPTY_MATCH_PATTERN = 12] = "EMPTY_MATCH_PATTERN", e[e.NO_LINE_BREAKS_FLAGS = 13] = "NO_LINE_BREAKS_FLAGS", e[e.UNREACHABLE_PATTERN = 14] = "UNREACHABLE_PATTERN", e[e.IDENTIFY_TERMINATOR = 15] = "IDENTIFY_TERMINATOR", e[e.CUSTOM_LINE_BREAK = 16] = "CUSTOM_LINE_BREAK", e[e.MULTI_MODE_LEXER_LONGER_ALT_NOT_IN_CURRENT_MODE = 17] = "MULTI_MODE_LEXER_LONGER_ALT_NOT_IN_CURRENT_MODE";
1566
- })(Qe || (Qe = {}));
1566
+ })(Ze || (Ze = {}));
1567
1567
  var et = {
1568
1568
  deferDefinitionErrorsHandling: !1,
1569
1569
  positionTracking: "full",
@@ -1606,23 +1606,23 @@ var tt = class {
1606
1606
  const t = [];
1607
1607
  return Object.hasOwn(e, "defaultMode") || t.push({
1608
1608
  message: "A MultiMode Lexer cannot be initialized without a <defaultMode> property in its definition\n",
1609
- type: Qe.MULTI_MODE_LEXER_WITHOUT_DEFAULT_MODE
1609
+ type: Ze.MULTI_MODE_LEXER_WITHOUT_DEFAULT_MODE
1610
1610
  }), Object.hasOwn(e, "modes") || t.push({
1611
1611
  message: "A MultiMode Lexer cannot be initialized without a <modes> property in its definition\n",
1612
- type: Qe.MULTI_MODE_LEXER_WITHOUT_MODES_PROPERTY
1612
+ type: Ze.MULTI_MODE_LEXER_WITHOUT_MODES_PROPERTY
1613
1613
  }), Object.hasOwn(e, "modes") && Object.hasOwn(e, "defaultMode") && !Object.hasOwn(e.modes, e.defaultMode) && t.push({
1614
1614
  message: `A MultiMode Lexer cannot be initialized with a ${ye}: <${e.defaultMode}>which does not exist\n`,
1615
- type: Qe.MULTI_MODE_LEXER_DEFAULT_MODE_VALUE_DOES_NOT_EXIST
1615
+ type: Ze.MULTI_MODE_LEXER_DEFAULT_MODE_VALUE_DOES_NOT_EXIST
1616
1616
  }), Object.hasOwn(e, "modes") && Object.keys(e.modes).forEach((n) => {
1617
1617
  const i = e.modes[n];
1618
1618
  i.forEach((e, r) => {
1619
1619
  void 0 === e ? t.push({
1620
1620
  message: `A Lexer cannot be initialized using an undefined Token Type. Mode:<${n}> at index: <${r}>\n`,
1621
- type: Qe.LEXER_DEFINITION_CANNOT_CONTAIN_UNDEFINED
1621
+ type: Ze.LEXER_DEFINITION_CANNOT_CONTAIN_UNDEFINED
1622
1622
  }) : Object.hasOwn(e, "LONGER_ALT") && (Array.isArray(e.LONGER_ALT) ? e.LONGER_ALT : [e.LONGER_ALT]).forEach((r) => {
1623
1623
  void 0 === r || i.includes(r) || t.push({
1624
1624
  message: `A MultiMode Lexer cannot be initialized with a longer_alt <${r.name}> on token <${e.name}> outside of mode <${n}>\n`,
1625
- type: Qe.MULTI_MODE_LEXER_LONGER_ALT_NOT_IN_CURRENT_MODE
1625
+ type: Ze.MULTI_MODE_LEXER_LONGER_ALT_NOT_IN_CURRENT_MODE
1626
1626
  });
1627
1627
  });
1628
1628
  });
@@ -1645,7 +1645,7 @@ var tt = class {
1645
1645
  } else Object.hasOwn(e, "LINE_BREAKS") ? !0 === e.LINE_BREAKS && (r = !0) : Se(o, e.PATTERN) && (r = !0);
1646
1646
  }), t && !r && i.push({
1647
1647
  message: "Warning: No LINE_BREAKS Found.\n This Lexer has been defined to track line and column information,\n But none of the Token Types can be identified as matching a line terminator.\n See https://chevrotain.io/docs/guide/resolving_lexer_errors.html#LINE_BREAKS \n for details.",
1648
- type: Qe.NO_LINE_BREAKS_FLAGS
1648
+ type: Ze.NO_LINE_BREAKS_FLAGS
1649
1649
  }), i;
1650
1650
  }(n, this.trackStartLines, this.config.lineTerminatorCharacters));
1651
1651
  })), n.modes = n.modes ? n.modes : {}, Object.entries(n.modes).forEach(([e, t]) => {
@@ -2002,7 +2002,7 @@ var Ot, At = class extends z {
2002
2002
  });
2003
2003
  }
2004
2004
  }
2005
- }, Rt = class extends Z {
2005
+ }, Rt = class extends Q {
2006
2006
  constructor(e, t) {
2007
2007
  super(), this.topProd = e, this.path = t, this.possibleTokTypes = [], this.nextProductionName = "", this.nextProductionOccurrence = 0, this.found = !1, this.isAtEndOfPath = !1;
2008
2008
  }
@@ -2032,7 +2032,7 @@ var Ot, At = class extends z {
2032
2032
  this.possibleTokTypes = J(i), this.found = !0;
2033
2033
  }
2034
2034
  }
2035
- }, _t = class extends Z {
2035
+ }, _t = class extends Q {
2036
2036
  constructor(e, t) {
2037
2037
  super(), this.topRule = e, this.occurrence = t, this.result = {
2038
2038
  token: void 0,
@@ -2191,7 +2191,7 @@ function Pt(e, t, n) {
2191
2191
  (function(e) {
2192
2192
  e[e.OPTION = 0] = "OPTION", e[e.REPETITION = 1] = "REPETITION", e[e.REPETITION_MANDATORY = 2] = "REPETITION_MANDATORY", e[e.REPETITION_MANDATORY_WITH_SEPARATOR = 3] = "REPETITION_MANDATORY_WITH_SEPARATOR", e[e.REPETITION_WITH_SEPARATOR = 4] = "REPETITION_WITH_SEPARATOR", e[e.ALTERNATION = 5] = "ALTERNATION";
2193
2193
  })(Ot || (Ot = {}));
2194
- var Mt = class extends Z {
2194
+ var Mt = class extends Q {
2195
2195
  constructor(e, t, n) {
2196
2196
  super(), this.topProd = e, this.targetOccurrence = t, this.targetProdType = n;
2197
2197
  }
@@ -2636,7 +2636,7 @@ function qt(e, t) {
2636
2636
  alternative: r + 1
2637
2637
  }] : []));
2638
2638
  }
2639
- function Zt(e, t, n) {
2639
+ function Qt(e, t, n) {
2640
2640
  const i = new Xt();
2641
2641
  e.accept(i);
2642
2642
  let r = i.alternations;
@@ -2703,7 +2703,7 @@ function Zt(e, t, n) {
2703
2703
  return a.concat(c);
2704
2704
  });
2705
2705
  }
2706
- var Qt = class extends z {
2706
+ var Zt = class extends z {
2707
2707
  constructor() {
2708
2708
  super(...arguments), this.allProductions = [];
2709
2709
  }
@@ -2801,13 +2801,13 @@ var mn = 1024, En = 1280, Tn = 1536, gn = class {
2801
2801
  return e.flatMap((e) => qt(e, gt));
2802
2802
  }
2803
2803
  validateAmbiguousAlternationAlternatives(e, t) {
2804
- return e.flatMap((e) => Zt(e, t, gt));
2804
+ return e.flatMap((e) => Qt(e, t, gt));
2805
2805
  }
2806
2806
  validateSomeNonEmptyLookaheadPath(e, t) {
2807
2807
  return function(e, t, n) {
2808
2808
  const i = [];
2809
2809
  return e.forEach((e) => {
2810
- const r = new Qt();
2810
+ const r = new Zt();
2811
2811
  e.accept(r), r.allProductions.forEach((r) => {
2812
2812
  const s = vt(r), o = r.maxLookahead || t;
2813
2813
  if (0 === $t(r.idx, e, s, o)[0].flat().length) {
@@ -3398,7 +3398,7 @@ $n.DEFER_DEFINITION_ERRORS_HANDLING = !1, Bn = $n, [
3398
3398
  if ("number" == typeof e[0].startOffset) throw Error("The Parser constructor no longer accepts a token vector as the first argument.\n See: https://chevrotain.io/docs/changes/BREAKING_CHANGES.html#_4-0-0\n For Further details.");
3399
3399
  }
3400
3400
  if (Array.isArray(e)) this.tokensMap = e.reduce((e, t) => (e[t.name] = t, e), {});
3401
- else if (Object.hasOwn(e, "modes") && Object.values(e.modes).flat().every(Ze)) {
3401
+ else if (Object.hasOwn(e, "modes") && Object.values(e.modes).flat().every(Qe)) {
3402
3402
  const t = Object.values(e.modes).flat(), n = [...new Set(t)];
3403
3403
  this.tokensMap = n.reduce((e, t) => (e[t.name] = t, e), {});
3404
3404
  } else {
@@ -4187,22 +4187,22 @@ var jn = class extends $n {
4187
4187
  }
4188
4188
  }, Gn = class t {
4189
4189
  static shared(e) {
4190
- const n = e?.locale ?? O, i = e?.maxColumn ?? Vn, r = e?.maxRow ?? Yn;
4191
- let s = Hn.get(n);
4192
- s || (s = /* @__PURE__ */ new Map(), Hn.set(n, s));
4193
- const o = `${i}:${r}`;
4194
- let a = s.get(o);
4195
- return a || (a = new t({
4190
+ const n = e?.locale ?? s, i = e?.maxColumn ?? Vn, r = e?.maxRow ?? Yn;
4191
+ let o = Hn.get(n);
4192
+ o || (o = /* @__PURE__ */ new Map(), Hn.set(n, o));
4193
+ const a = `${i}:${r}`;
4194
+ let c = o.get(a);
4195
+ return c || (c = new t({
4196
4196
  locale: n,
4197
4197
  maxColumn: i,
4198
4198
  maxRow: r
4199
- }), s.set(o, a)), a;
4199
+ }), o.set(a, c)), c;
4200
4200
  }
4201
4201
  constructor(e) {
4202
- const t = e?.maxColumn ?? Vn, n = e?.maxRow ?? Yn, i = e?.locale ?? O;
4202
+ const t = e?.maxColumn ?? Vn, n = e?.maxRow ?? Yn, i = e?.locale ?? s;
4203
4203
  this._locale = i, this._maxColumn = t, this._maxRow = n;
4204
- const { separatorFunction: r, separatorColumn: s, separatorRow: o, separatorDecimal: c } = i.separators;
4205
- if (s === o) throw new Error(`FormulaLexer: separatorColumn and separatorRow must differ (both '${s}')`);
4204
+ const { separatorFunction: r, separatorColumn: o, separatorRow: a, separatorDecimal: c } = i.separators;
4205
+ if (o === a) throw new Error(`FormulaLexer: separatorColumn and separatorRow must differ (both '${o}')`);
4206
4206
  const h = pt({
4207
4207
  name: "WhiteSpace",
4208
4208
  pattern: /[ \n\v\f\r\u00a0\u1680\u2000-\u200a\u2028\u2029\u202f\u205f\u3000\ufeff]+/,
@@ -4215,12 +4215,12 @@ var jn = class extends $n {
4215
4215
  pattern: /[a-zA-Z_\u007F-\uFFFF]+[a-zA-Z0-9_.\u007F-\uFFFF]*(?=\()/
4216
4216
  }), d = pt({
4217
4217
  name: "TableReference",
4218
- pattern: { exec: a },
4218
+ pattern: { exec: _ },
4219
4219
  line_breaks: !1,
4220
4220
  start_chars_hint: Wn
4221
4221
  }), p = pt({
4222
4222
  name: "BracketedString",
4223
- pattern: { exec: L },
4223
+ pattern: { exec: v },
4224
4224
  line_breaks: !1,
4225
4225
  start_chars_hint: [91],
4226
4226
  longer_alt: [d, l]
@@ -4250,17 +4250,17 @@ var jn = class extends $n {
4250
4250
  }), g = pt({
4251
4251
  name: "SingleQuotedString",
4252
4252
  pattern: /'(''|[^'])*'/
4253
- }), A = pt({
4253
+ }), O = pt({
4254
4254
  name: "SheetQuoted",
4255
4255
  pattern: /'(?:''|[^'])*?'!/
4256
- }), R = pt({
4256
+ }), A = pt({
4257
4257
  name: "Sheet",
4258
4258
  pattern: /[A-Za-z_.\d\u007F-\uFFFF]*!/
4259
- }), I = /[a-zA-Z_\\\u007F-\uFFFF][a-zA-Z0-9_.?\\\u007F-\uFFFF]*:?/y, _ = pt({
4259
+ }), R = /[a-zA-Z_\\\u007F-\uFFFF][a-zA-Z0-9_.?\\\u007F-\uFFFF]*:?/y, I = pt({
4260
4260
  name: "NamedToken",
4261
4261
  pattern: { exec: (e, t) => {
4262
- I.lastIndex = t;
4263
- const n = I.exec(e);
4262
+ R.lastIndex = t;
4263
+ const n = R.exec(e);
4264
4264
  if (!n) return null;
4265
4265
  let i = n[0];
4266
4266
  const r = i.indexOf(".:");
@@ -4273,20 +4273,20 @@ var jn = class extends $n {
4273
4273
  pattern: { exec: qn(t, n) },
4274
4274
  line_breaks: !1,
4275
4275
  start_chars_hint: [36, ...Kn],
4276
- longer_alt: _
4277
- }), S = pt({
4276
+ longer_alt: I
4277
+ }), L = pt({
4278
4278
  name: "Column",
4279
4279
  pattern: { exec: Xn(t) },
4280
4280
  line_breaks: !1,
4281
4281
  start_chars_hint: [36, ...Kn],
4282
- longer_alt: _
4283
- }), C = pt({
4282
+ longer_alt: I
4283
+ }), S = pt({
4284
4284
  name: "AbsRow",
4285
4285
  pattern: /[$][0-9]+/
4286
- }), y = "." === c ? "\\." : c, k = pt({
4286
+ }), C = "." === c ? "\\." : c, y = pt({
4287
4287
  name: "NumberToken",
4288
- pattern: new RegExp(`[0-9]+${y}(?!:)[0-9]*([eE][+-]?[0-9]+|\\*\\*[+-]?[0-9]+)?|${y}[0-9]+([eE][+-]?[0-9]+|\\*\\*[+-]?[0-9]+)?|[0-9]+[eE][+-]?[0-9]+`)
4289
- }), v = pt({
4288
+ pattern: new RegExp(`[0-9]+${C}(?!:)[0-9]*([eE][+-]?[0-9]+|\\*\\*[+-]?[0-9]+)?|${C}[0-9]+([eE][+-]?[0-9]+|\\*\\*[+-]?[0-9]+)?|[0-9]+[eE][+-]?[0-9]+`)
4289
+ }), k = pt({
4290
4290
  name: "ScientificDigit",
4291
4291
  pattern: /[0-9]+\*\*[+-]?[0-9]+/
4292
4292
  }), x = pt({
@@ -4302,13 +4302,13 @@ var jn = class extends $n {
4302
4302
  pattern: new RegExp(P.join("|"), "i")
4303
4303
  }), b = pt({
4304
4304
  name: "ArgSeparator",
4305
- pattern: Zn(r)
4305
+ pattern: Qn(r)
4306
4306
  }), U = pt({
4307
4307
  name: "ColSeparator",
4308
- pattern: Zn(s)
4308
+ pattern: Qn(o)
4309
4309
  }), w = pt({
4310
4310
  name: "RowSeparator",
4311
- pattern: Zn(o)
4311
+ pattern: Qn(a)
4312
4312
  }), F = pt({
4313
4313
  name: "RangeOp",
4314
4314
  pattern: /:/
@@ -4351,10 +4351,10 @@ var jn = class extends $n {
4351
4351
  }), q = pt({
4352
4352
  name: "ImplicitIntersectOp",
4353
4353
  pattern: /@/
4354
- }), Z = pt({
4354
+ }), Q = pt({
4355
4355
  name: "ConcatOp",
4356
4356
  pattern: /&/
4357
- }), Q = pt({
4357
+ }), Z = pt({
4358
4358
  name: "ExOp",
4359
4359
  pattern: /\^/
4360
4360
  }), J = pt({
@@ -4376,16 +4376,16 @@ var jn = class extends $n {
4376
4376
  }), re = [
4377
4377
  h,
4378
4378
  l,
4379
- A,
4379
+ O,
4380
4380
  g,
4381
- R,
4381
+ A,
4382
4382
  u,
4383
4383
  d,
4384
4384
  p,
4385
4385
  E,
4386
4386
  T,
4387
4387
  b,
4388
- ...s !== r ? [U] : [],
4388
+ ...o !== r ? [U] : [],
4389
4389
  w,
4390
4390
  D,
4391
4391
  B,
@@ -4393,14 +4393,14 @@ var jn = class extends $n {
4393
4393
  F,
4394
4394
  N,
4395
4395
  M,
4396
+ L,
4396
4397
  S,
4397
- C,
4398
+ y,
4398
4399
  k,
4399
- v,
4400
4400
  x,
4401
4401
  ee,
4402
4402
  q,
4403
- _,
4403
+ I,
4404
4404
  j,
4405
4405
  G,
4406
4406
  K,
@@ -4410,8 +4410,8 @@ var jn = class extends $n {
4410
4410
  Y,
4411
4411
  z,
4412
4412
  X,
4413
- Z,
4414
4413
  Q,
4414
+ Z,
4415
4415
  J,
4416
4416
  pt({
4417
4417
  name: "NeqOp",
@@ -4433,7 +4433,7 @@ var jn = class extends $n {
4433
4433
  const se = {};
4434
4434
  re.forEach((e) => {
4435
4435
  se[e.name] = e;
4436
- }), s === r && (se.ColSeparator = b), this._vocabulary = se;
4436
+ }), o === r && (se.ColSeparator = b), this._vocabulary = se;
4437
4437
  }
4438
4438
  tokenize(t, n = !0) {
4439
4439
  const i = this._lexer.tokenize(t);
@@ -4529,13 +4529,13 @@ function qn(e, t) {
4529
4529
  return a < 1 || a > t ? null : [n.substring(i, r)];
4530
4530
  };
4531
4531
  }
4532
- function Zn(e) {
4532
+ function Qn(e) {
4533
4533
  return new RegExp(e.replace(/[.*+?^${}()|[\]\\]/g, "\\$&"));
4534
4534
  }
4535
- var Qn = class {
4536
- constructor(e = O) {
4535
+ var Zn = class {
4536
+ constructor(e = s) {
4537
4537
  const t = function(e) {
4538
- const t = [...m];
4538
+ const t = [...y];
4539
4539
  if (e) for (const n of Object.values(e)) {
4540
4540
  const e = n?.trim();
4541
4541
  e && !t.some((t) => t.toLowerCase() === e.toLowerCase()) && t.push(e);
@@ -4570,10 +4570,10 @@ var Qn = class {
4570
4570
  })
4571
4571
  ];
4572
4572
  this._lexer = new tt(r, { ensureOptimizations: !0 });
4573
- const s = {};
4573
+ const o = {};
4574
4574
  r.forEach((e) => {
4575
- s[e.name] = e;
4576
- }), this._vocabulary = s;
4575
+ o[e.name] = e;
4576
+ }), this._vocabulary = o;
4577
4577
  }
4578
4578
  getVocabulary() {
4579
4579
  return this._vocabulary;
@@ -4582,53 +4582,53 @@ var Qn = class {
4582
4582
  return this._lexer.tokenize(e);
4583
4583
  }
4584
4584
  }, Jn = class extends jn {
4585
- constructor(e = O) {
4586
- const t = new Qn(e), n = t.getVocabulary();
4585
+ constructor(e = s) {
4586
+ const t = new Zn(e), n = t.getVocabulary();
4587
4587
  super(n, {
4588
4588
  nodeLocationTracking: "none",
4589
4589
  maxLookahead: 2,
4590
4590
  skipValidations: !0,
4591
4591
  recoveryEnabled: !1
4592
4592
  }), this._lexer = t;
4593
- const { TableSpecifier: i, BracketedColumn: s, BareSpecifier: o, ColumnSep: a, ListSep: c } = n, h = this;
4594
- h.RULE("ruleContent", () => {
4595
- const e = [], t = h.SUBRULE(h.ruleItem);
4596
- return h.ACTION(() => {
4593
+ const { TableSpecifier: i, BracketedColumn: r, BareSpecifier: o, ColumnSep: a, ListSep: h } = n, l = this;
4594
+ l.RULE("ruleContent", () => {
4595
+ const e = [], t = l.SUBRULE(l.ruleItem);
4596
+ return l.ACTION(() => {
4597
4597
  t && e.push(t);
4598
- }), h.MANY(() => {
4599
- h.CONSUME(c), h.OPTION(() => {
4600
- const t = h.SUBRULE2(h.ruleItem);
4601
- h.ACTION(() => {
4598
+ }), l.MANY(() => {
4599
+ l.CONSUME(h), l.OPTION(() => {
4600
+ const t = l.SUBRULE2(l.ruleItem);
4601
+ l.ACTION(() => {
4602
4602
  t && e.push(t);
4603
4603
  });
4604
4604
  });
4605
4605
  }), e;
4606
- }), h.RULE("ruleItem", () => h.OR([{ ALT: () => h.SUBRULE(h.ruleSpecifier) }, { ALT: () => h.SUBRULE(h.ruleColumnOrRange) }])), h.RULE("ruleSpecifier", () => h.OR([{ ALT: () => {
4607
- const t = h.CONSUME(i);
4608
- return h.ACTION(() => {
4609
- const n = y(t.image, e);
4606
+ }), l.RULE("ruleItem", () => l.OR([{ ALT: () => l.SUBRULE(l.ruleSpecifier) }, { ALT: () => l.SUBRULE(l.ruleColumnOrRange) }])), l.RULE("ruleSpecifier", () => l.OR([{ ALT: () => {
4607
+ const t = l.CONSUME(i);
4608
+ return l.ACTION(() => {
4609
+ const n = c(t.image, e);
4610
4610
  return n.image = t.image, n;
4611
4611
  });
4612
4612
  } }, { ALT: () => {
4613
- const t = h.CONSUME(o);
4614
- return h.ACTION(() => {
4615
- const n = y(t.image, e);
4613
+ const t = l.CONSUME(o);
4614
+ return l.ACTION(() => {
4615
+ const n = c(t.image, e);
4616
4616
  return n.image = t.image, n;
4617
4617
  });
4618
- } }])), h.RULE("ruleColumnOrRange", () => {
4619
- const e = h.CONSUME(s);
4618
+ } }])), l.RULE("ruleColumnOrRange", () => {
4619
+ const e = l.CONSUME(r);
4620
4620
  let t, n;
4621
- return h.OPTION(() => {
4622
- t = h.CONSUME(a), n = h.CONSUME2(s);
4623
- }), h.ACTION(() => {
4624
- const i = r(e.image);
4621
+ return l.OPTION(() => {
4622
+ t = l.CONSUME(a), n = l.CONSUME2(r);
4623
+ }), l.ACTION(() => {
4624
+ const i = p(e.image);
4625
4625
  if (i.image = e.image, !n) return i;
4626
- const s = r(n.image);
4627
- s.image = n.image;
4628
- const o = A(":", i, s, !0);
4629
- return o.image = t?.image ?? ":", o;
4626
+ const r = p(n.image);
4627
+ r.image = n.image;
4628
+ const s = S(":", i, r, !0);
4629
+ return s.image = t?.image ?? ":", s;
4630
4630
  });
4631
- }), h.performSelfAnalysis();
4631
+ }), l.performSelfAnalysis();
4632
4632
  }
4633
4633
  _parseInner(e) {
4634
4634
  const t = this._lexer.tokenize(e);
@@ -4642,23 +4642,23 @@ var Qn = class {
4642
4642
  if ("@" === n) {
4643
4643
  const e = t.slice(1).trim();
4644
4644
  if (!e) {
4645
- const e = C("@", null, !0);
4645
+ const e = r("@", null, !0);
4646
4646
  return e.image = "@", [e];
4647
4647
  }
4648
4648
  if ("[" === e.charAt(0)) {
4649
4649
  const t = this._parseInner(e);
4650
4650
  if (1 === t.length && "infix" === t[0].type) {
4651
- const e = C("@", t[0], !0);
4651
+ const e = r("@", t[0], !0);
4652
4652
  return e.image = "@", [e];
4653
4653
  }
4654
4654
  }
4655
- const n = r(e);
4655
+ const n = p(e);
4656
4656
  n.image = e;
4657
- const i = C("@", n, !0);
4657
+ const i = r("@", n, !0);
4658
4658
  return i.image = "@", [i];
4659
4659
  }
4660
4660
  if ("[" !== n && "#" !== n) {
4661
- const t = r(e);
4661
+ const t = p(e);
4662
4662
  return t.image = e, [t];
4663
4663
  }
4664
4664
  return this._parseInner(t);
@@ -4666,7 +4666,7 @@ var Qn = class {
4666
4666
  parse(e, t, n) {
4667
4667
  this.reset();
4668
4668
  const i = () => ({
4669
- root: u("", []),
4669
+ root: g("", []),
4670
4670
  errors: []
4671
4671
  });
4672
4672
  if (!n) return i();
@@ -4679,7 +4679,7 @@ var Qn = class {
4679
4679
  if (-1 === s) return i();
4680
4680
  const o = n.slice(0, s), a = n.slice(s + 1, -1), c = this._parseContent(a);
4681
4681
  return {
4682
- root: u(o, c),
4682
+ root: g(o, c),
4683
4683
  errors: this.errors.length > 0 ? [...this.errors] : []
4684
4684
  };
4685
4685
  }
@@ -4694,7 +4694,7 @@ var Qn = class {
4694
4694
  ":."
4695
4695
  ]), ni = (e) => {
4696
4696
  if (!e) return null;
4697
- if (e.type === T.Cell) {
4697
+ if (e.type === R.Cell) {
4698
4698
  const t = e.value;
4699
4699
  return t.rowIndex === Number.MIN_SAFE_INTEGER ? "col" : t.colIndex === Number.MIN_SAFE_INTEGER ? "row" : null;
4700
4700
  }
@@ -4725,8 +4725,8 @@ var ai = {
4725
4725
  }
4726
4726
  }, ci = class extends jn {
4727
4727
  constructor(e) {
4728
- const r = e?.lexer ?? Gn.shared(e?.lexerOptions), a = r.getVocabulary();
4729
- super(a, {
4728
+ const s = e?.lexer ?? Gn.shared(e?.lexerOptions), c = s.getVocabulary();
4729
+ super(c, {
4730
4730
  skipValidations: !0,
4731
4731
  recoveryEnabled: !0,
4732
4732
  ...e,
@@ -4752,23 +4752,23 @@ var ai = {
4752
4752
  ])), f = {
4753
4753
  value: p,
4754
4754
  index: this.getLexerPosition(),
4755
- isRange: E.includes(p)
4756
- }, m = this.SUBRULE2(this._rulePostfixOp);
4755
+ isRange: m.includes(p)
4756
+ }, E = this.SUBRULE2(this._rulePostfixOp);
4757
4757
  d.push({
4758
4758
  op: f,
4759
- node: m
4759
+ node: E
4760
4760
  });
4761
4761
  }), this.ACTION(() => {
4762
4762
  let e = d.length - 1;
4763
- const t = N.length;
4763
+ const t = C.length;
4764
4764
  for (let n = 0; e > 0 && n < t; n++) {
4765
- const t = N[n];
4765
+ const t = C[n];
4766
4766
  let i = 1;
4767
4767
  for (; i < d.length;) {
4768
4768
  const n = d[i].op;
4769
4769
  if (t.includes(n.value)) {
4770
4770
  const t = d[i - 1].node, r = d[i].node;
4771
- let s = A(n.value, t, r, n.isRange);
4771
+ let s = S(n.value, t, r, n.isRange);
4772
4772
  s = this._tag(s, n.index), d[i - 1].node = s, d.splice(i, 1), e--;
4773
4773
  } else i++;
4774
4774
  }
@@ -4789,8 +4789,8 @@ var ai = {
4789
4789
  }), this.ACTION(() => {
4790
4790
  const e = n.length;
4791
4791
  if (0 !== e) for (let i = 0; i < e; i++) {
4792
- const e = n[i], r = e[0], s = e[1], o = E.includes(r);
4793
- t = _(r, t, o), t = this._tag(t, s);
4792
+ const e = n[i], r = e[0], s = e[1], o = m.includes(r);
4793
+ t = T(r, t, o), t = this._tag(t, s);
4794
4794
  }
4795
4795
  }), t;
4796
4796
  }), this._rulePrefixOp = this.RULE("rulePrefixOp", () => {
@@ -4805,14 +4805,14 @@ var ai = {
4805
4805
  i.push([r, this.getLexerPosition()]);
4806
4806
  });
4807
4807
  });
4808
- let r = this.SUBRULE(this._ruleRangeOp);
4808
+ let s = this.SUBRULE(this._ruleRangeOp);
4809
4809
  return this.ACTION(() => {
4810
4810
  const e = i.length;
4811
4811
  if (0 !== e) for (let t = e - 1; t >= 0; t--) {
4812
- const e = i[t], n = e[0], s = e[1], o = E.includes(n);
4813
- r = C(n, r, o), r = this._tag(r, s);
4812
+ const e = i[t], n = e[0], o = e[1], a = m.includes(n);
4813
+ s = r(n, s, a), s = this._tag(s, o);
4814
4814
  }
4815
- }), r;
4815
+ }), s;
4816
4816
  }), this._ruleRangeOp = this.RULE("ruleRangeOp", () => {
4817
4817
  const { RangeOp: e, RangeTrimFullOp: t, RangeTrimLeadingOp: n, RangeTrimTrailingOp: i, ArrayAnchorOp: r } = this._vocab, s = [];
4818
4818
  return s.push({ node: this.SUBRULE(this._ruleCallOp) }), this.MANY2(() => {
@@ -4838,22 +4838,22 @@ var ai = {
4838
4838
  const t = s[e], n = s[e + 1];
4839
4839
  if (":" !== t.op?.value || ":" !== n.op?.value) continue;
4840
4840
  const i = ni(t.node);
4841
- i && ni(n.node) === i && ni(s[e - 1].node) !== i && (t.node = this._tag(A(":", t.node, n.node, !0), n.op.index), s.splice(e + 1, 1));
4841
+ i && ni(n.node) === i && ni(s[e - 1].node) !== i && (t.node = this._tag(S(":", t.node, n.node, !0), n.op.index), s.splice(e + 1, 1));
4842
4842
  }
4843
4843
  for (let e = 1; e < s.length; e++) {
4844
4844
  const t = s[e];
4845
4845
  if (void 0 !== t.anchor) {
4846
- s[0].node = this._tag(_("#", s[0].node, !0), t.anchor);
4846
+ s[0].node = this._tag(T("#", s[0].node, !0), t.anchor);
4847
4847
  continue;
4848
4848
  }
4849
4849
  const n = t.op;
4850
- let i = A(n.value, s[0].node, t.node, !0);
4850
+ let i = S(n.value, s[0].node, t.node, !0);
4851
4851
  i = this._tag(i, n.index), s[0].node = i;
4852
4852
  }
4853
4853
  }), s[0].node;
4854
4854
  }), this._ruleCallOp = this.RULE("ruleCallOp", () => {
4855
- const { OpenParen: e, CloseParen: t } = this._vocab;
4856
- let n = this.SUBRULE(this._ruleFormula);
4855
+ const { OpenParen: e, CloseParen: n } = this._vocab;
4856
+ let i = this.SUBRULE(this._ruleFormula);
4857
4857
  return this.MANY({
4858
4858
  GATE: () => {
4859
4859
  const t = this.LA(0), n = this.LA(1);
@@ -4861,12 +4861,12 @@ var ai = {
4861
4861
  },
4862
4862
  DEF: () => {
4863
4863
  this.CONSUME(e);
4864
- const i = this.getLexerPosition(), r = this.SUBRULE(this._ruleFunctionArguments), s = n, o = this.ACTION(() => this._tag(f(s, r), i)), a = this.OPTION(() => this.CONSUME(t));
4864
+ const r = this.getLexerPosition(), s = this.SUBRULE(this._ruleFunctionArguments), o = i, a = this.ACTION(() => this._tag(t(o, s), r)), c = this.OPTION(() => this.CONSUME(n));
4865
4865
  this.ACTION(() => {
4866
- a || this._reportError(o, "Missing closing parenthesis ')'", i), this._tagClose(o, this.getLexerPosition()), n = o;
4866
+ c || this._reportError(a, "Missing closing parenthesis ')'", r), this._tagClose(a, this.getLexerPosition()), i = a;
4867
4867
  });
4868
4868
  }
4869
- }), n;
4869
+ }), i;
4870
4870
  }), this._ruleIntersectOp = this.RULE("ruleIntersectOp", () => {
4871
4871
  const e = [this.SUBRULE(this._ruleInfixOp)];
4872
4872
  return this.MANY(() => {
@@ -4883,7 +4883,7 @@ var ai = {
4883
4883
  for (; e.length > 1;) {
4884
4884
  let t = e.length - 1;
4885
4885
  for (let n = 0; n < t; n++) {
4886
- const i = e[n], r = e[n + 1], s = A(" ", i, r, !0), o = this._tokenMap.get(i);
4886
+ const i = e[n], r = e[n + 1], s = S(" ", i, r, !0), o = this._tokenMap.get(i);
4887
4887
  o && delete o.tokenIndexClose;
4888
4888
  const a = this._tokenMap.get(r), c = a?.tokenIndex;
4889
4889
  if (void 0 !== c) {
@@ -4913,99 +4913,99 @@ var ai = {
4913
4913
  }), t;
4914
4914
  }), this._ruleParen = this.RULE("ruleParen", () => {
4915
4915
  const { OpenParen: e, CloseParen: t } = this._vocab;
4916
- return this._processParen(T.Paren, e, t);
4916
+ return this._processParen(R.Paren, e, t);
4917
4917
  }), this._ruleLiteralArray = this.RULE("ruleLiteralArray", () => {
4918
- const { OpenCurlyParen: e, CloseCurlyParen: t, ColSeparator: n, RowSeparator: r } = this._vocab;
4919
- let s = d();
4918
+ const { OpenCurlyParen: e, CloseCurlyParen: t, ColSeparator: n, RowSeparator: i } = this._vocab;
4919
+ let r = N();
4920
4920
  this.CONSUME(e);
4921
- const o = this.getLexerPosition();
4922
- let a = this.ACTION(() => this._tag(i(s), o));
4923
- const c = this.SUBRULE(this._ruleLiteralForArray);
4921
+ const s = this.getLexerPosition();
4922
+ let o = this.ACTION(() => this._tag(E(r), s));
4923
+ const a = this.SUBRULE(this._ruleLiteralForArray);
4924
4924
  this.ACTION(() => {
4925
- s.value.push(c);
4925
+ r.value.push(a);
4926
4926
  }), this.MANY(() => {
4927
4927
  let e = !1;
4928
4928
  this.OR([{ ALT: () => {
4929
4929
  this.CONSUME(n), e = !0;
4930
- } }, { ALT: () => this.CONSUME(r) }]);
4930
+ } }, { ALT: () => this.CONSUME(i) }]);
4931
4931
  const t = this.SUBRULE2(this._ruleLiteralForArray);
4932
4932
  this.ACTION(() => {
4933
- e || (s = d(), a.value.push(s)), s.value.push(t);
4933
+ e || (r = N(), o.value.push(r)), r.value.push(t);
4934
4934
  });
4935
4935
  });
4936
- const h = this.OPTION(() => this.CONSUME(t));
4937
- return a = this.ACTION(() => (h || this._reportError(a, "Missing closing parenthesis '}'", o), this._tagClose(a, this.getLexerPosition()))), a;
4936
+ const c = this.OPTION(() => this.CONSUME(t));
4937
+ return o = this.ACTION(() => (c || this._reportError(o, "Missing closing parenthesis '}'", s), this._tagClose(o, this.getLexerPosition()))), o;
4938
4938
  }), this._ruleLiteralForArray = this.RULE("ruleLiteralForArray", () => {
4939
- const { StringToken: e, BooleanToken: n, LiteralError: i, RefError: r } = this._vocab;
4939
+ const { StringToken: e, BooleanToken: t, LiteralError: n, RefError: r } = this._vocab;
4940
4940
  return this.OR([
4941
4941
  { ALT: () => {
4942
- const e = this.OPTION(() => this.SUBRULE(this._rulePlusMinusOp)), t = this.SUBRULE(this._ruleNumber), n = this.ACTION(() => this._tag(g(t.image, this._locale), this.getLexerPosition()));
4943
- return this.ACTION(() => e ? l(e.image, n) : n);
4942
+ const e = this.OPTION(() => this.SUBRULE(this._rulePlusMinusOp)), t = this.SUBRULE(this._ruleNumber), n = this.ACTION(() => this._tag(f(t.image, this._locale), this.getLexerPosition()));
4943
+ return this.ACTION(() => e ? h(e.image, n) : n);
4944
4944
  } },
4945
4945
  { ALT: () => {
4946
4946
  const t = this.CONSUME(e);
4947
4947
  return this.ACTION(() => this._tag(I(t.image), this.getLexerPosition()));
4948
4948
  } },
4949
4949
  { ALT: () => {
4950
- const e = this.CONSUME(n);
4951
- return this.ACTION(() => this._tag(p(e.image, this._locale), this.getLexerPosition()));
4950
+ const e = this.CONSUME(t);
4951
+ return this.ACTION(() => this._tag(O(e.image, this._locale), this.getLexerPosition()));
4952
4952
  } },
4953
4953
  { ALT: () => {
4954
- const e = this.CONSUME(i);
4955
- return this.ACTION(() => this._tag(o(e.image, this._locale), this.getLexerPosition()));
4954
+ const e = this.CONSUME(n);
4955
+ return this.ACTION(() => this._tag(i(e.image, this._locale), this.getLexerPosition()));
4956
4956
  } },
4957
4957
  { ALT: () => {
4958
4958
  const e = this.CONSUME(r);
4959
- return this.ACTION(() => this._tag(t(e.image, this._locale), this.getLexerPosition()));
4959
+ return this.ACTION(() => this._tag(L(e.image, this._locale), this.getLexerPosition()));
4960
4960
  } }
4961
4961
  ]);
4962
4962
  }), this._ruleLiteral = this.RULE("ruleLiteral", () => {
4963
- const { StringToken: e, BooleanToken: n, LiteralError: i, RefError: r } = this._vocab;
4963
+ const { StringToken: e, BooleanToken: t, LiteralError: n, RefError: r } = this._vocab;
4964
4964
  return this.OR([
4965
4965
  { ALT: () => {
4966
4966
  const e = this.SUBRULE(this._ruleNumber);
4967
- return this.ACTION(() => this._tag(g(e.image, this._locale), this.getLexerPosition()));
4967
+ return this.ACTION(() => this._tag(f(e.image, this._locale), this.getLexerPosition()));
4968
4968
  } },
4969
4969
  { ALT: () => {
4970
4970
  const t = this.CONSUME(e);
4971
4971
  return this.ACTION(() => this._tag(I(t.image), this.getLexerPosition()));
4972
4972
  } },
4973
4973
  { ALT: () => {
4974
- const e = this.CONSUME(n);
4975
- return this.ACTION(() => this._tag(p(e.image, this._locale), this.getLexerPosition()));
4974
+ const e = this.CONSUME(t);
4975
+ return this.ACTION(() => this._tag(O(e.image, this._locale), this.getLexerPosition()));
4976
4976
  } },
4977
4977
  { ALT: () => {
4978
- const e = this.CONSUME(i);
4979
- return this.ACTION(() => this._tag(o(e.image, this._locale), this.getLexerPosition()));
4978
+ const e = this.CONSUME(n);
4979
+ return this.ACTION(() => this._tag(i(e.image, this._locale), this.getLexerPosition()));
4980
4980
  } },
4981
4981
  { ALT: () => {
4982
4982
  const e = this.CONSUME(r);
4983
- return this.ACTION(() => this._tag(t(e.image, this._locale), this.getLexerPosition()));
4983
+ return this.ACTION(() => this._tag(L(e.image, this._locale), this.getLexerPosition()));
4984
4984
  } }
4985
4985
  ]);
4986
4986
  }), this._ruleFunction = this.RULE("ruleFunction", () => {
4987
- const { FunctionToken: e, OpenParen: t, CloseParen: n } = this._vocab, i = this.CONSUME(e).image, r = this.getLexerPosition();
4987
+ const { FunctionToken: e, OpenParen: t, CloseParen: i } = this._vocab, r = this.CONSUME(e).image, s = this.getLexerPosition();
4988
4988
  this.CONSUME(t);
4989
- const s = this.SUBRULE(this._ruleFunctionArguments);
4990
- let o = this.ACTION(() => this._tag(v(i, s), r));
4991
- const a = this.OPTION(() => this.CONSUME(n));
4992
- return o = this.ACTION(() => (a || this._reportError(o, "Missing closing parenthesis ')'", r), this._tagClose(o, this.getLexerPosition()))), o;
4989
+ const o = this.SUBRULE(this._ruleFunctionArguments);
4990
+ let a = this.ACTION(() => this._tag(n(r, o), s));
4991
+ const c = this.OPTION(() => this.CONSUME(i));
4992
+ return a = this.ACTION(() => (c || this._reportError(a, "Missing closing parenthesis ')'", s), this._tagClose(a, this.getLexerPosition()))), a;
4993
4993
  }), this._ruleFunctionArguments = this.RULE("ruleFunctionArguments", () => {
4994
- const { ArgSeparator: e, CloseParen: t } = this._vocab, i = [];
4994
+ const { ArgSeparator: e, CloseParen: t } = this._vocab, n = [];
4995
4995
  return this.OPTION({
4996
4996
  GATE: () => this.LA(1).tokenType !== t,
4997
4997
  DEF: () => {
4998
4998
  let t;
4999
4999
  this.OPTION2(() => {
5000
5000
  t = this.SUBRULE(this._ruleIntersectOp);
5001
- }), t = this.ACTION(() => t ?? this._tagClose(n(), this.getLexerPosition())), i.push(t), this.MANY(() => {
5001
+ }), t = this.ACTION(() => t ?? this._tagClose(k(), this.getLexerPosition())), n.push(t), this.MANY(() => {
5002
5002
  let t;
5003
5003
  this.CONSUME(e), this.OPTION3(() => {
5004
5004
  t = this.SUBRULE2(this._ruleIntersectOp);
5005
- }), t = this.ACTION(() => t ?? this._tagClose(n(), this.getLexerPosition())), i.push(t);
5005
+ }), t = this.ACTION(() => t ?? this._tagClose(k(), this.getLexerPosition())), n.push(t);
5006
5006
  });
5007
5007
  }
5008
- }), i;
5008
+ }), n;
5009
5009
  }), this._ruleBracketedString = this.RULE("ruleBracketedString", () => {
5010
5010
  const { BracketedString: e } = this._vocab, t = this.CONSUME(e), n = this.getLexerPosition();
5011
5011
  return this.ACTION(() => {
@@ -5021,60 +5021,60 @@ var ai = {
5021
5021
  return this._tag(e.root, n);
5022
5022
  });
5023
5023
  }), this._ruleReference = this.RULE("ruleReference", () => {
5024
- const { Sheet: e, SheetQuoted: n, DivOp: i, MulOp: r, PlusOp: o, MinOp: a, ArgSeparator: l, Cell: u, NamedToken: d, SingleQuotedString: p, Column: f, AbsRow: m, DigitToken: E, RefError: g } = this._vocab;
5025
- let O, A;
5024
+ const { Sheet: e, SheetQuoted: t, DivOp: n, MulOp: i, PlusOp: r, MinOp: s, ArgSeparator: c, Cell: h, NamedToken: d, SingleQuotedString: p, Column: f, AbsRow: m, DigitToken: E, RefError: T } = this._vocab;
5025
+ let g, O;
5026
5026
  this.OPTION2({
5027
5027
  GATE: () => {
5028
- for (let t = 1; t < 6; t++) {
5029
- const s = this.LA(t);
5030
- if (s.tokenType === e || s.tokenType === n) return !0;
5031
- if ("" === s.image || ")" === s.image || s.tokenType === i || s.tokenType === r || s.tokenType === o || s.tokenType === a || s.tokenType === l) break;
5028
+ for (let o = 1; o < 6; o++) {
5029
+ const a = this.LA(o);
5030
+ if (a.tokenType === e || a.tokenType === t) return !0;
5031
+ if ("" === a.image || ")" === a.image || a.tokenType === n || a.tokenType === i || a.tokenType === r || a.tokenType === s || a.tokenType === c) break;
5032
5032
  }
5033
5033
  return !1;
5034
5034
  },
5035
5035
  DEF: () => {
5036
- A = this.getLexerPosition() + 1, O = this.SUBRULE(this._rulePrefixSheetName);
5036
+ O = this.getLexerPosition() + 1, g = this.SUBRULE(this._rulePrefixSheetName);
5037
5037
  }
5038
5038
  });
5039
- let I = this.OR([
5039
+ let A = this.OR([
5040
5040
  { ALT: () => {
5041
- const e = this.CONSUME(u), t = this.getLexerPosition();
5042
- return this.ACTION(() => this._tag(h(e.image, this.rowIndex, this.colIndex), t));
5041
+ const e = this.CONSUME(h), t = this.getLexerPosition();
5042
+ return this.ACTION(() => this._tag(l(e.image, this.rowIndex, this.colIndex), t));
5043
5043
  } },
5044
5044
  { ALT: () => {
5045
5045
  const e = this.OR2([{ ALT: () => this.CONSUME(d) }, { ALT: () => this.CONSUME(p) }]);
5046
- return this.ACTION(() => this._tag(R(e.image), this.getLexerPosition()));
5046
+ return this.ACTION(() => this._tag(o(e.image), this.getLexerPosition()));
5047
5047
  } },
5048
5048
  { ALT: () => this.SUBRULE(this._ruleBracketedString) },
5049
5049
  { ALT: () => this.SUBRULE(this._ruleFunction) },
5050
5050
  { ALT: () => {
5051
5051
  const e = this.CONSUME(f);
5052
- return this.ACTION(() => this._tag(s(e.image, this.colIndex), this.getLexerPosition()));
5052
+ return this.ACTION(() => this._tag(a(e.image, this.colIndex), this.getLexerPosition()));
5053
5053
  } },
5054
5054
  { ALT: () => {
5055
5055
  const e = this.CONSUME(m);
5056
- return this.ACTION(() => this._tag(c(e.image, this.rowIndex), this.getLexerPosition()));
5056
+ return this.ACTION(() => this._tag(u(e.image, this.rowIndex), this.getLexerPosition()));
5057
5057
  } },
5058
5058
  { ALT: () => {
5059
5059
  const e = this.CONSUME(E);
5060
- return this.ACTION(() => this._tag(c(e.image, this.rowIndex), this.getLexerPosition()));
5060
+ return this.ACTION(() => this._tag(u(e.image, this.rowIndex), this.getLexerPosition()));
5061
5061
  } },
5062
5062
  { ALT: () => {
5063
- const e = this.CONSUME(g);
5064
- return this.ACTION(() => this._tag(t(e.image, this._locale), this.getLexerPosition()));
5063
+ const e = this.CONSUME(T);
5064
+ return this.ACTION(() => this._tag(L(e.image, this._locale), this.getLexerPosition()));
5065
5065
  } }
5066
5066
  ]);
5067
5067
  return this.ACTION(() => {
5068
- if (O && I) {
5069
- if ("" === O.name) return void this._reportError(I, `'${O.image}' is not a valid sheet reference — a '!' needs a sheet name before it`);
5070
- let e = I;
5071
- if (I.type === T.Postfix && I.inputs?.[0] && (e = I.inputs[0]), e.type === T.Cell || e.type === T.Named || e.type === T.Row || e.type === T.TableColumn || e.type === T.Error) {
5072
- e.value.scope = O.name, e.value.scopeImage = O.image;
5068
+ if (g && A) {
5069
+ if ("" === g.name) return void this._reportError(A, `'${g.image}' is not a valid sheet reference — a '!' needs a sheet name before it`);
5070
+ let e = A;
5071
+ if (A.type === R.Postfix && A.inputs?.[0] && (e = A.inputs[0]), e.type === R.Cell || e.type === R.Named || e.type === R.Row || e.type === R.TableColumn || e.type === R.Error) {
5072
+ e.value.scope = g.name, e.value.scopeImage = g.image;
5073
5073
  const t = this._tokenMap.get(e);
5074
- t && void 0 !== A && (t.tokenIndex = A);
5074
+ t && void 0 !== O && (t.tokenIndex = O);
5075
5075
  }
5076
5076
  }
5077
- }), I;
5077
+ }), A;
5078
5078
  }), this._rulePrefixSheetName = this.RULE("rulePrefixSheetName", () => {
5079
5079
  const { SheetQuoted: e, BracketedString: t, NamedToken: n, Column: i, RangeOp: r, Sheet: s } = this._vocab;
5080
5080
  return this.OR([{ ALT: () => {
@@ -5114,12 +5114,12 @@ var ai = {
5114
5114
  return this.MANY(() => {
5115
5115
  this.CONSUME(e), n.push(this.SUBRULE2(this._ruleIntersectOp));
5116
5116
  }), this.ACTION(() => 0 === n.length ? t : {
5117
- type: T.List,
5117
+ type: R.List,
5118
5118
  value: ",",
5119
5119
  inputs: [t, ...n],
5120
5120
  isReference: !0
5121
5121
  });
5122
- }), this._lexer = r, this._locale = r.getLocale(), this._vocab = a, this._srParser = e?.srParser ?? new Jn(this._locale), this.performSelfAnalysis();
5122
+ }), this._lexer = s, this._locale = s.getLocale(), this._vocab = c, this._srParser = e?.srParser ?? new Jn(this._locale), this.performSelfAnalysis();
5123
5123
  }
5124
5124
  getLexer() {
5125
5125
  return this._lexer;
@@ -5129,28 +5129,28 @@ var ai = {
5129
5129
  let s;
5130
5130
  if (!r) return {
5131
5131
  root: {
5132
- type: T.Unparsed,
5132
+ type: R.Unparsed,
5133
5133
  value: i
5134
5134
  },
5135
5135
  errors: []
5136
5136
  };
5137
- const o = r.tokens;
5138
- if (0 === o.length) throw new e.Parse(ri);
5139
- return this.input = o, this._inputText = i, this._inputTextLength = i.length, this.rowIndex = t, this.colIndex = n, this._astErrors = [], this._tokenMap = /* @__PURE__ */ new Map(), this.reset(), s = this._ruleRoot(), s && this._bindAllWhitespace(s), s = S(s, (e, n) => {
5140
- const i = e.type, r = n?.isReference ? n.value : void 0, s = "string" == typeof r && ei.has(r), o = "string" == typeof r && ti.has(r), a = s ? n.inputs : void 0, h = a ? a[0] === e ? a[1] : a[0] : void 0, l = this._lexer.getMaxRow();
5141
- if (s && i !== T.Cell && Number.isInteger(e.value)) {
5142
- const n = c(e.image, t);
5143
- return k(n, e), "row" !== ni(h) ? this._reportError(n, `'${e.image}' is not a valid reference — a whole row can only pair with another row (as in ${e.image}:${e.image})`) : ii(e.image, l) || this._reportError(n, `'${e.image}' is not a valid row — rows run from 1 to ${l}`), n;
5137
+ const a = r.tokens;
5138
+ if (0 === a.length) throw new e.Parse(ri);
5139
+ return this.input = a, this._inputText = i, this._inputTextLength = i.length, this.rowIndex = t, this.colIndex = n, this._astErrors = [], this._tokenMap = /* @__PURE__ */ new Map(), this.reset(), s = this._ruleRoot(), s && this._bindAllWhitespace(s), s = d(s, (e, n) => {
5140
+ const i = e.type, r = n?.isReference ? n.value : void 0, s = "string" == typeof r && ei.has(r), a = "string" == typeof r && ti.has(r), c = s ? n.inputs : void 0, h = c ? c[0] === e ? c[1] : c[0] : void 0, l = this._lexer.getMaxRow();
5141
+ if (s && i !== R.Cell && Number.isInteger(e.value)) {
5142
+ const n = u(e.image, t);
5143
+ return A(n, e), "row" !== ni(h) ? this._reportError(n, `'${e.image}' is not a valid reference — a whole row can only pair with another row (as in ${e.image}:${e.image})`) : ii(e.image, l) || this._reportError(n, `'${e.image}' is not a valid row — rows run from 1 to ${l}`), n;
5144
5144
  }
5145
- if (o && i === T.Named) return this._reportError(e, `'${e.image ?? e.value?.nameId}' is a name — '${r}' needs a cell or range on both sides`), e;
5146
- if (i === T.Cell) {
5145
+ if (a && i === R.Named) return this._reportError(e, `'${e.image ?? e.value?.nameId}' is a name — '${r}' needs a cell or range on both sides`), e;
5146
+ if (i === R.Cell) {
5147
5147
  const t = e.value, n = t.colIndex === Number.MIN_SAFE_INTEGER, i = t.rowIndex === Number.MIN_SAFE_INTEGER;
5148
5148
  if ((n || i) && ni(h) === (n ? "row" : "col")) return n && !ii(e.image, l) && this._reportError(e, `'${e.image}' is not a valid row — rows run from 1 to ${l}`), e;
5149
5149
  if (n || i || t.colIndex >= 16384) {
5150
- const s = R(e.image);
5151
- k(s, e);
5152
- const a = t.scope;
5153
- return a && (s.value.scope = a, s.value.scopeImage = t.scopeImage), n ? this._reportError(s, `'${e.image}' is not a valid reference — a row needs a column (use ${e.image}:${e.image} for the whole row)`) : i && e.image.includes("$") ? this._reportError(s, `'${e.image}' is not a valid reference — a whole column can only pair with another column (as in ${e.image}:${e.image})`) : o && this._reportError(s, `'${e.image}' is a name — '${r}' needs a cell or range on both sides`), s;
5150
+ const s = o(e.image);
5151
+ A(s, e);
5152
+ const c = t.scope;
5153
+ return c && (s.value.scope = c, s.value.scopeImage = t.scopeImage), n ? this._reportError(s, `'${e.image}' is not a valid reference — a row needs a column (use ${e.image}:${e.image} for the whole row)`) : i && e.image.includes("$") ? this._reportError(s, `'${e.image}' is not a valid reference — a whole column can only pair with another column (as in ${e.image}:${e.image})`) : a && this._reportError(s, `'${e.image}' is a name — '${r}' needs a cell or range on both sides`), s;
5154
5154
  }
5155
5155
  }
5156
5156
  return e;
@@ -5211,7 +5211,7 @@ var ai = {
5211
5211
  _bindAllWhitespace(e) {
5212
5212
  if (e) {
5213
5213
  if (this._bindNodeWhitespace(e), e.inputs) for (const t of e.inputs) t && this._bindAllWhitespace(t);
5214
- if (e.type === T.Array && Array.isArray(e.value)) {
5214
+ if (e.type === R.Array && Array.isArray(e.value)) {
5215
5215
  for (const t of e.value) if (t && Array.isArray(t.value)) for (const e of t.value) e && this._bindAllWhitespace(e);
5216
5216
  }
5217
5217
  }