@sheetxl/studio-vanilla 0.5.1 → 0.6.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 (187) hide show
  1. package/README.md +34 -57
  2. package/browser/cjs/{CwQfym_96MXR9OLy.cjs → 0aFRWBbBllAUQB5P.cjs} +1 -1
  3. package/browser/cjs/{DWsxyYa4mEWANxQc.cjs → 4xHYm0-xXt50ONqS.cjs} +4 -4
  4. package/browser/cjs/{DmgNvMLQXvQcxq1p.cjs → 8jvTOVyjwB2DRfK1.cjs} +1 -1
  5. package/browser/cjs/{gYH09gta23jOsaje.cjs → AxfBrJmq5etm1FAR.cjs} +1 -1
  6. package/browser/cjs/{DzG79WXVl2LXIuWZ.cjs → B-vFrHy7qdkqMXkv.cjs} +1 -1
  7. package/browser/cjs/{Sup8PX3PS57TkI6V.cjs → BAv8Ja9jDaMp-FXU.cjs} +1 -1
  8. package/browser/cjs/{DvMs0RgylQcOGxo0.cjs → BEEo7oO80pNJaQai.cjs} +1 -1
  9. package/browser/cjs/{DWmXH4vEJaHu_J43.cjs → BIiqagdd_jLSKGlv.cjs} +2 -2
  10. package/browser/cjs/{BmixnfJY-Qdv0-vb.cjs → BL9-jk7w7CkR3r_A.cjs} +1 -1
  11. package/browser/cjs/{D3IWZEahAgaUWvha.cjs → BNOM5WCmizKnNiQW.cjs} +2 -2
  12. package/browser/cjs/{BjTNmmCnOvBUdiDv.cjs → BPBw9VARlrJ8kykt.cjs} +1 -1
  13. package/browser/cjs/{DBLdpG9-iGu4QY6E.cjs → BW7a7VimsEHC5dcr.cjs} +4 -4
  14. package/browser/cjs/{DPIjtUi5aQ4ukRIE.cjs → BZ8fP068-ORT7OHd.cjs} +1 -1
  15. package/browser/cjs/{Cxx1AgOSDpuJx7kX.cjs → BfdPUqwLCD8AA9tx.cjs} +1 -1
  16. package/browser/cjs/{CQT8VGZ70QydoPyX.cjs → BiZN2tWNAeIBi08L.cjs} +5 -5
  17. package/browser/cjs/{Dbv-L8d50VFkQXv3.cjs → Blx1LxF6nmoQQjaT.cjs} +1 -1
  18. package/browser/cjs/{Dz0TY19Ws28XwiPt.cjs → BqCTU4mTzIZqmCxL.cjs} +2 -2
  19. package/browser/cjs/{Bp6L-F7UNS-L6N03.cjs → Bsd1ncXDFGRJm_u2.cjs} +2 -2
  20. package/browser/cjs/{DSxzu2PfTqAXFK7u.cjs → C-_OAjka30yXauDs.cjs} +2 -2
  21. package/browser/cjs/C-mBQI-IxtNj58JJ.cjs +330 -0
  22. package/browser/cjs/{BQyjl-fBSVpx5oCT.cjs → C0Il03aKzkmFcQb6.cjs} +1 -1
  23. package/browser/cjs/{CdYqMzk5cMIE_Doy.cjs → CXBWR775VYUvZ0bE.cjs} +1 -1
  24. package/browser/cjs/{D8o4nvExhX_QGle4.cjs → C_EGddByZb6bWbNK.cjs} +1 -1
  25. package/browser/cjs/{9nujqkxYSI9ZC752.cjs → CaHGCmy0RotwaWfN.cjs} +1 -1
  26. package/browser/cjs/{D77ocr4cahSYERpG.cjs → CkrAQjDjtUpQIDFa.cjs} +2 -2
  27. package/browser/cjs/{BswNvZNzfy-xnhzz.cjs → CsA9RBw4wemFPhxN.cjs} +1 -1
  28. package/browser/cjs/{DBe9KI_Kxj0YTvMp.cjs → CxJs7bdXdaqa92Ry.cjs} +1 -1
  29. package/browser/cjs/{CRXFlr87NPJQyxUF.cjs → CxNJeDkfyA41yynG.cjs} +1 -1
  30. package/browser/cjs/{DfMDnmbowrTm8wAQ.cjs → D1EtFoAs6gBahmCY.cjs} +1 -1
  31. package/browser/cjs/{sFDhI1tJ4eXlkejB.cjs → D49ne81tHLb_h7RW.cjs} +4 -4
  32. package/browser/cjs/{CtwgEd3i19q5yZJp.cjs → D59ffVoo537nmoQ1.cjs} +3 -3
  33. package/browser/cjs/{s7ysGwMSg897LJKF.cjs → D5hOmYtc7j3hI5b4.cjs} +1 -1
  34. package/browser/cjs/{CFQ2dYAH0BbJmrls.cjs → DLn9XggqrRNhdMs3.cjs} +2 -2
  35. package/browser/cjs/{CXs4S4JhLFZVgvTR.cjs → DWegBfV2tFzpGOxy.cjs} +3 -3
  36. package/browser/cjs/{DlJQcGerUQB6jtq9.cjs → Da5vifksJATKpZHe.cjs} +1 -1
  37. package/browser/cjs/{BvpkPfBcSDJWY8dE.cjs → Dd6VPlEM9F33ssfv.cjs} +2 -2
  38. package/browser/cjs/{yVBWKdlLudyzwfeW.cjs → DfFbySitu9wYFLQx.cjs} +1 -1
  39. package/browser/cjs/Dgnki9b5GMOtWgpf.cjs +6 -0
  40. package/browser/cjs/{B7MEStBCGjzSOfyD.cjs → DlQG8ooNNFD_TEAP.cjs} +2 -2
  41. package/browser/cjs/{D4my6sTVajf6SI0E.cjs → DlwPBKtmfw0ouyN0.cjs} +1 -1
  42. package/browser/cjs/{BbCJIneMSx4cf-ur.cjs → DpXFeErf9XtDIw8-.cjs} +1 -1
  43. package/browser/cjs/{B_E21L-ayzOp5qGa.cjs → DqvtKS54QcfnU3bD.cjs} +2 -2
  44. package/browser/cjs/{CSxnmIlj-ZSdiqWs.cjs → DzZQ4TTG8_ETf_K9.cjs} +2 -2
  45. package/browser/cjs/{BK02DjlaEYaTTka8.cjs → N7RhY85_zJb_KO-1.cjs} +1 -1
  46. package/browser/cjs/{CrI7eSD8XXiUCkPF.cjs → NGy4pEnZVgOFZcza.cjs} +1 -1
  47. package/browser/cjs/{OettkXQE2AbA_CDP.cjs → X_Nm5LSYfN3T7Aua.cjs} +1 -1
  48. package/browser/cjs/{Cj9vxBt4_rKsQNb0.cjs → cboyzMPjhsqHU5ET.cjs} +1 -1
  49. package/browser/cjs/{C8xLSqAZLBX2dJ4N.cjs → hrgMaKOUL-DphUAr.cjs} +4 -4
  50. package/browser/cjs/index.cjs +2 -2
  51. package/browser/cjs/{BcfxxMxYhAmNKCi3.cjs → jeP8Vo5ncbVvjezi.cjs} +4 -4
  52. package/browser/cjs/jtIS9ffAVOeCv5h_.cjs +6 -0
  53. package/browser/cjs/{B-PgSPL2j6zjri6c.cjs → mK-8UZtTNiMlQmoX.cjs} +2 -2
  54. package/browser/cjs/{D1-0RbtY4BXgzZY-.cjs → mWoxlXRa5Zxhqym4.cjs} +1 -1
  55. package/browser/cjs/{emGp26D9pBqQifHC.cjs → pts9tccFK8XuXdJ9.cjs} +1 -1
  56. package/browser/cjs/{U-UUeruaasnyL2cE.cjs → rqLQku0kMQfQrtT3.cjs} +2 -2
  57. package/browser/cjs/{BRn8LkQ4nKiHvOXz.cjs → wXwohQl3hKG_dNIz.cjs} +1 -1
  58. package/browser/cjs/{CtJheUJbLcXjQUm3.cjs → x4Ac_2bLPJHOuqbp.cjs} +2 -2
  59. package/browser/cjs/{C9jH-6oidDYMUYG6.cjs → xChdsLaca-5hsKoL.cjs} +1 -1
  60. package/{cdn/assets/o8ISzPTCYx_zEzDp.js → browser/esm/-pWR6DQiMpZNc54J.mjs} +1 -1
  61. package/browser/esm/{jnmCbk7hZxv17d_V.mjs → 21Khus-PHw4hGXdk.mjs} +1 -1
  62. package/{cdn/assets/BXI18yI3qqOlnxNq.js → browser/esm/58MJQgUgLUAEIuRE.mjs} +1 -1
  63. package/browser/esm/{DjC9t2nEwmPpl7WS.mjs → B3XIzMCv0GlpHg-f.mjs} +1 -1
  64. package/{cdn/assets/BPsefDR0mPf5xvCO.js → browser/esm/BAPIvXgN9n-gSIRy.mjs} +1 -1
  65. package/browser/esm/{CtnOw8c6WutmVo4I.mjs → BGcTCUxZXTOmaR2m.mjs} +1 -1
  66. package/{cdn/assets/DriS0WgSxs_p_c_I.js → browser/esm/BHX93YcSa1paocrA.mjs} +1 -1
  67. package/browser/esm/{B1jX3dJN0xg4OAen.mjs → BNru2RI5G4HwWC2T.mjs} +2 -2
  68. package/{cdn/assets/COv8vuaYs_htqziD.js → browser/esm/BT1qBhA371XKeXMo.mjs} +1 -1
  69. package/browser/esm/{BcTK3tcbPZ2IGt-X.mjs → BTfj732JlVdu3LHC.mjs} +1 -1
  70. package/{cdn/assets/Bpp0yOz56huirghZ.js → browser/esm/BbT8_6x_ekHK9gUi.mjs} +1 -1
  71. package/{cdn/assets/B-LKjeisA9lKu3u3.js → browser/esm/Bimq8rzFyfGV62CS.mjs} +1 -1
  72. package/browser/esm/{Bm2Aw1SUya5OXV4a.mjs → Bjj7Zwk5fGpRukWB.mjs} +1 -1
  73. package/browser/esm/{ju2xb5hRci_-szDY.mjs → BlDpOjKFiuelcfIp.mjs} +4 -4
  74. package/browser/esm/{0VpVo6CQYMcz_rbP.mjs → BoFy0nc-_4oW06VJ.mjs} +1 -1
  75. package/browser/esm/{Clei3-jMgZKIe0CE.mjs → BuvjjcawrCzbF6eQ.mjs} +1 -1
  76. package/browser/esm/{Y4nqyDtRcO8b4sVz.mjs → Bv6u61mOIenkNShq.mjs} +25 -25
  77. package/{cdn/assets/Dm6VW-HzBzkKwcnE.js → browser/esm/C9BvgAVf1Vr5EIcq.mjs} +1 -1
  78. package/browser/esm/{BFu0JkHyxwv4JRrP.mjs → CEh5hWpsvUdjLMsv.mjs} +2 -2
  79. package/browser/esm/{AGeyhzAoOP3Q5g4x.mjs → CEihKP0Bg7AEh0oI.mjs} +1 -1
  80. package/browser/esm/{DQBTcrsV_oNRryeC.mjs → CGI6v0onE94-TQQg.mjs} +2 -2
  81. package/browser/esm/{OxQlWm5qyGb6JYye.mjs → CI1Tkvek5jhK6W11.mjs} +3 -3
  82. package/browser/esm/{85NBLOptD8mgcw6l.mjs → CN7Tw3BozY-liejA.mjs} +1 -1
  83. package/{cdn/assets/DlDI3IucdebIZp8I.js → browser/esm/CSxxMVN_yhsGMCar.mjs} +1 -1
  84. package/{cdn/assets/ckTkfOwh_7TIQoI0.js → browser/esm/CTTDhR_5iyHCEo7l.mjs} +1 -1
  85. package/browser/esm/{CvXzw2Lpr8wS9ZVg.mjs → CWF52_DNZhWO0K-A.mjs} +2 -2
  86. package/{cdn/assets/CqLP3lzPLb4sglH4.js → browser/esm/CXCoHKx7ySQ93Z8s.mjs} +3 -3
  87. package/{cdn/assets/BkvpQTMeIIK3PCYY.js → browser/esm/CcCBkwhKUi-by3JL.mjs} +1 -1
  88. package/browser/esm/{D5ZdMGzF8-ZfDfKQ.mjs → CdQOOjBghwPeweDK.mjs} +4 -4
  89. package/browser/esm/{DXpByTfBAcSlNQ1C.mjs → CeFwbtHqVWCpbUHA.mjs} +22 -22
  90. package/browser/esm/{Cq1zEAhyhkBIp8Ax.mjs → Ch_eKwpwsxKVr4_R.mjs} +2 -2
  91. package/browser/esm/{Dmvy9OlGZJIm4jkL.mjs → CjB62TbeObwy3Tub.mjs} +1 -1
  92. package/browser/esm/{ClHBG3R8IiFguFAt.mjs → Clh89bVEza5DqJzm.mjs} +2 -2
  93. package/browser/esm/{Dc4teqz-R7x3iEb3.mjs → Cq7B6Eaav6yLbUBQ.mjs} +2 -2
  94. package/browser/esm/{ByznljJVFJeVPwWx.mjs → CsyNjIi7dAqQ3Wfb.mjs} +2 -2
  95. package/browser/esm/{IH4pKmgZQrB1Zu0L.mjs → Cveo6xnePwhODsIH.mjs} +10 -10
  96. package/browser/esm/{CdDk8fKkDRWivCBm.mjs → D6HwTeXzTsswFSUc.mjs} +3 -3
  97. package/browser/esm/{yxVi9--jBfcQ0JHh.mjs → DBDbFozJ-0LLnIbt.mjs} +9730 -9741
  98. package/browser/esm/{D-cQ1_HANeEmTVak.mjs → DOCeiV2d5yJ0Zn3n.mjs} +1 -1
  99. package/browser/esm/{DAPpJbwAZQhDZqaM.mjs → DRxkZVgx_hOrJQ7A.mjs} +4 -4
  100. package/browser/esm/{hf76A0cAH97o_Rev.mjs → DVPKjEj7sATfHv4V.mjs} +1 -1
  101. package/{cdn/assets/FgngFsAWn9GFi4za.js → browser/esm/DfthNpEr27Odnhz1.mjs} +1 -1
  102. package/browser/esm/{YMBNcaMLJOB9vYZ5.mjs → DhhNGtTDMJVV7bDJ.mjs} +6 -6
  103. package/{cdn/assets/CDRkgOxkDGKlIXeW.js → browser/esm/DlXUHigXoTI7dS3k.mjs} +1 -1
  104. package/{cdn/assets/BiMdfyDtnt2rYw-r.js → browser/esm/Dm0w4z_M15oww6l9.mjs} +1 -1
  105. package/browser/esm/{C3UjDQh1BUXcPgG_.mjs → Duj1tPxjFNbzXKwU.mjs} +2 -2
  106. package/{cdn/assets/3xXjUns8-1hKqD8-.js → browser/esm/DyTwA2p7RgzbdcfG.mjs} +1 -1
  107. package/{cdn/assets/TKzzaA0mzIgbwYNm.js → browser/esm/Dzd4I4XzZPf6k_dX.mjs} +1 -1
  108. package/browser/esm/{D19Bkm5jJZngaU2r.mjs → DzhWVthmNA09yohW.mjs} +2 -2
  109. package/browser/esm/{DFmGnyy1RMeIAxZc.mjs → HEGICcrecmDXwnR1.mjs} +2 -2
  110. package/{cdn/assets/D-ZTinSL4HYqEo_N.js → browser/esm/MAU8CbJCOuoJ-ee_.mjs} +1 -1
  111. package/{cdn/assets/CuQfrNq9PxAaYCFs.js → browser/esm/dzl0Vy--FM9H2tJ6.mjs} +1 -1
  112. package/browser/esm/index.mjs +2 -2
  113. package/browser/esm/{C7N3fqbgilVDX1EO.mjs → irmKPJUfQGRVumqh.mjs} +7 -7
  114. package/{cdn/assets/Dj-1ksuM43vA_8BP.js → browser/esm/jzmkj2H-HEAy9ZCe.mjs} +1 -1
  115. package/browser/esm/{ClUwUv-y_4iTiZeW.mjs → no7fxLxEFCd1ccvF.mjs} +2 -2
  116. package/browser/esm/{B0dOwGowibI4mMD5.mjs → ok0M1omVbPv-O3HD.mjs} +2 -2
  117. package/{cdn/assets/Dlydw2QbG-f-sLCH.js → browser/esm/yblGsmGjTnzYjSGH.mjs} +1 -1
  118. package/{browser/esm/o8ISzPTCYx_zEzDp.mjs → cdn/assets/-pWR6DQiMpZNc54J.js} +1 -1
  119. package/cdn/assets/{jnmCbk7hZxv17d_V.js → 21Khus-PHw4hGXdk.js} +1 -1
  120. package/{browser/esm/BXI18yI3qqOlnxNq.mjs → cdn/assets/58MJQgUgLUAEIuRE.js} +1 -1
  121. package/cdn/assets/{DL0xZucNaC25JD_B.js → 7W-2a8PMpyp--pwc.js} +2 -2
  122. package/cdn/assets/{3AU1vXTH3P3UhXU7.js → 8veFmzcAvyIVHiQg.js} +15 -15
  123. package/cdn/assets/{1xm8jyYgpkpWO8k5.js → AF8XGV3ckevAUSb8.js} +4 -4
  124. package/cdn/assets/{DjC9t2nEwmPpl7WS.js → B3XIzMCv0GlpHg-f.js} +1 -1
  125. package/cdn/assets/{Cr0Slu84CNaejRm5.js → B7QlkmnJ8EUeHOc_.js} +4 -4
  126. package/{browser/esm/BPsefDR0mPf5xvCO.mjs → cdn/assets/BAPIvXgN9n-gSIRy.js} +1 -1
  127. package/cdn/assets/{D6j_Ep7Ii-CsiXJb.js → BDH1iJyvKnLv5zGt.js} +13 -13
  128. package/cdn/assets/{CtnOw8c6WutmVo4I.js → BGcTCUxZXTOmaR2m.js} +1 -1
  129. package/{browser/esm/DriS0WgSxs_p_c_I.mjs → cdn/assets/BHX93YcSa1paocrA.js} +1 -1
  130. package/cdn/assets/{B2aUAymykYdZH6ea.js → BHgLVz74Jz0U4KfG.js} +6 -6
  131. package/{browser/esm/COv8vuaYs_htqziD.mjs → cdn/assets/BT1qBhA371XKeXMo.js} +1 -1
  132. package/cdn/assets/{BcTK3tcbPZ2IGt-X.js → BTfj732JlVdu3LHC.js} +1 -1
  133. package/cdn/assets/{Ck6vzJvkZ31US1wY.js → BV97-Y3s65LWAKO4.js} +9 -9
  134. package/{browser/esm/Bpp0yOz56huirghZ.mjs → cdn/assets/BbT8_6x_ekHK9gUi.js} +1 -1
  135. package/{browser/esm/D-SS0LY7DTyyq29t.mjs → cdn/assets/Be9rWnpaLSYUav9q.js} +5 -5
  136. package/{browser/esm/B-LKjeisA9lKu3u3.mjs → cdn/assets/Bimq8rzFyfGV62CS.js} +1 -1
  137. package/cdn/assets/{Bm2Aw1SUya5OXV4a.js → Bjj7Zwk5fGpRukWB.js} +1 -1
  138. package/cdn/assets/{0VpVo6CQYMcz_rbP.js → BoFy0nc-_4oW06VJ.js} +1 -1
  139. package/cdn/assets/{Bm3Sdq1xTgtChb-Q.js → BuGuZPy0SizAwUGI.js} +11 -11
  140. package/cdn/assets/{Clei3-jMgZKIe0CE.js → BuvjjcawrCzbF6eQ.js} +1 -1
  141. package/{browser/esm/Dm6VW-HzBzkKwcnE.mjs → cdn/assets/C9BvgAVf1Vr5EIcq.js} +1 -1
  142. package/cdn/assets/{BLoE30vNz4FFxozL.js → CGGgI0Ry2x7ZGsNM.js} +2 -2
  143. package/cdn/assets/{Do8GH_esmPz_tntb.js → CIwZPWFON2YscTf6.js} +9 -9
  144. package/cdn/assets/{Bou3BFRfxUTNq4vR.js → CKSo2c3YE0Vsafz8.js} +2 -2
  145. package/cdn/assets/{85NBLOptD8mgcw6l.js → CN7Tw3BozY-liejA.js} +1 -1
  146. package/{browser/esm/DlDI3IucdebIZp8I.mjs → cdn/assets/CSxxMVN_yhsGMCar.js} +1 -1
  147. package/{browser/esm/ckTkfOwh_7TIQoI0.mjs → cdn/assets/CTTDhR_5iyHCEo7l.js} +1 -1
  148. package/cdn/assets/{DGVqaqtgqT7-iLsS.js → CV9EUKZ3M-IOrf_W.js} +18 -18
  149. package/{browser/esm/BkvpQTMeIIK3PCYY.mjs → cdn/assets/CcCBkwhKUi-by3JL.js} +1 -1
  150. package/cdn/assets/{BiBRi7uHZMh8fxz5.js → CfqB8az5q6bbwHTK.js} +2 -2
  151. package/cdn/assets/{GjM3sOILAXHEzXUB.js → ChlqSwQ3sAbHZJXb.js} +1 -1
  152. package/cdn/assets/{Dmvy9OlGZJIm4jkL.js → CjB62TbeObwy3Tub.js} +1 -1
  153. package/cdn/assets/{BxtOFiIvbYJt-M5y.js → CpLFMPm2fSqUIGYm.js} +2 -2
  154. package/cdn/assets/{ECxVYs1c6UFhjnpA.js → CuCJaZMxVLfurBDx.js} +6 -6
  155. package/cdn/assets/{EPH-TGvYL0PD4nB8.js → D0N2aIBhPsjqLTMz.js} +16 -16
  156. package/cdn/assets/{D-cQ1_HANeEmTVak.js → DOCeiV2d5yJ0Zn3n.js} +1 -1
  157. package/cdn/assets/{hf76A0cAH97o_Rev.js → DVPKjEj7sATfHv4V.js} +1 -1
  158. package/cdn/assets/{6c1oZ4Zev8my_1Sr.js → DWmwrxt0Uw28Z5TP.js} +50 -50
  159. package/cdn/assets/{BoYY0EcB08017R9U.js → Db9JB7dEUPXGduKj.js} +2 -2
  160. package/cdn/assets/{-N2Wazi61B1TXYBK.js → DegFYxsEOeXxNmcf.js} +11 -11
  161. package/{browser/esm/FgngFsAWn9GFi4za.mjs → cdn/assets/DfthNpEr27Odnhz1.js} +1 -1
  162. package/cdn/assets/{CxIVxoZ16dEh6AVl.js → DkLe77pMmKQSRHur.js} +13 -13
  163. package/cdn/assets/{BDXndx4Yuhj_E8sP.js → DlNqG4p1hiXQHz5Y.js} +4 -4
  164. package/{browser/esm/CDRkgOxkDGKlIXeW.mjs → cdn/assets/DlXUHigXoTI7dS3k.js} +1 -1
  165. package/cdn/assets/{UayQBIW7tKZEuc8P.js → DlbFzmZXyyJMQHm-.js} +3 -3
  166. package/{browser/esm/BiMdfyDtnt2rYw-r.mjs → cdn/assets/Dm0w4z_M15oww6l9.js} +1 -1
  167. package/cdn/assets/{CsVGGUkaHfpL1HLm.js → DsxC1LQJZRPEIuw5.js} +20 -20
  168. package/cdn/assets/{CkFQYE-fhBYA_QiP.js → DvUXtWSxf_bCTxRB.js} +2 -2
  169. package/{browser/esm/3xXjUns8-1hKqD8-.mjs → cdn/assets/DyTwA2p7RgzbdcfG.js} +1 -1
  170. package/{browser/esm/TKzzaA0mzIgbwYNm.mjs → cdn/assets/Dzd4I4XzZPf6k_dX.js} +1 -1
  171. package/cdn/assets/{BbHbVER_6LWLDZ63.js → Kes48O1hTYWQwyE2.js} +3 -3
  172. package/{browser/esm/D-ZTinSL4HYqEo_N.mjs → cdn/assets/MAU8CbJCOuoJ-ee_.js} +1 -1
  173. package/cdn/assets/{B-4KZMrx7t8BQe_h.js → SdlAfFLTytZ7fZZq.js} +4 -4
  174. package/cdn/assets/{Dr-rVo6o44pqTYDU.js → V1O60EawETQshd2H.js} +1 -1
  175. package/{browser/esm/CuQfrNq9PxAaYCFs.mjs → cdn/assets/dzl0Vy--FM9H2tJ6.js} +1 -1
  176. package/{browser/esm/Dj-1ksuM43vA_8BP.mjs → cdn/assets/jzmkj2H-HEAy9ZCe.js} +1 -1
  177. package/cdn/assets/{_0rBrQes8xS_780J.js → mraqHs0e9wFs_oBm.js} +2 -2
  178. package/cdn/assets/{DijLxUufgRdT5tye.js → n0jyb_XH210EfHFG.js} +3 -3
  179. package/cdn/assets/{BPAkRmO-F8hAn3Zu.js → ohBNeb6_LarwqqIs.js} +9696 -9707
  180. package/{browser/esm/Dlydw2QbG-f-sLCH.mjs → cdn/assets/yblGsmGjTnzYjSGH.js} +1 -1
  181. package/cdn/assets/{ZKt-xWFAsB8fM65l.js → zunu_SvwrgNpNv_i.js} +3 -3
  182. package/cdn/index.js +2 -2
  183. package/cdn/loader.js +1 -1
  184. package/package.json +3 -3
  185. package/browser/cjs/C45wa3JLoHKrKgx9.cjs +0 -6
  186. package/browser/cjs/CgZJr_HNgqQcu-4B.cjs +0 -330
  187. package/browser/cjs/aIICSjNBKiOkNiwu.cjs +0 -6
package/README.md CHANGED
@@ -5,60 +5,35 @@
5
5
  ![npm](https://img.shields.io/npm/v/@sheetxl/studio-vanilla)
6
6
  ![license](https://img.shields.io/npm/l/@sheetxl/studio-vanilla)
7
7
 
8
- > The simplest way to embed the full SheetXL spreadsheet UI into any web page.
8
+ > Embed the full SheetXL spreadsheet UI into any web page with zero dependencies.
9
9
 
10
- This package bundles [`@sheetxl/sdk`](https://www.npmjs.com/package/@sheetxl/sdk) and
11
- [`@sheetxl/studio-mui`](https://www.npmjs.com/package/@sheetxl/studio-mui) into a simple api for vanilla js.
10
+ This makes it easy to use the full SheetXL spreadsheet UI in any web project, regardless of framework.
12
11
 
13
- ---
14
-
15
- ## 🚀 Live ESM Development Server
16
-
17
- This package includes a **live development server** that acts like a CDN for rapid testing and development. This is perfect for:
18
-
19
- - Testing the library during development without building
20
- - Simulating CDN usage locally
21
- - Hot module replacement for instant feedback
22
- - Live ESM imports for modern development
23
-
24
- ### Quick Start (Development Server)
25
-
26
- 1. **Start the dev server:**
27
-
28
- ```bash
29
- cd packages/studio-vanilla
30
- pnpm dev
31
- ```
12
+ Studio Vanilla can be integrated in a few ways.
32
13
 
33
- 2. **Open the dev interface:**
34
-
35
- Open [https://cdn.jsdelivr.net/npm/@sheetxl/studio-vanilla/cdn/index.js](https://cdn.jsdelivr.net/npm/@sheetxl/studio-vanilla/cdn/index.js) in your browser
14
+ ---
36
15
 
37
- 3. **Use as CDN in your projects:**
16
+ ## 1. Using a Bundler
38
17
 
39
- ```html
40
- <script type="module">
41
- import { SheetXL } from 'https://cdn.jsdelivr.net/npm/@sheetxl/studio-vanilla/cdn/index.js';
18
+ Using a bundler will provide the most configuration options when including in your application build.
42
19
 
43
- // Your code here
44
- await SheetXL.attachStudio('#sheetxl');
45
- </script>
46
- ```
20
+ ```bash
21
+ # Using pnpm
22
+ pnpm install @sheetxl/studio-vanilla
23
+ ```
47
24
 
48
- ### Development Features
25
+ After installation, you can import and use the SheetXL.attachStudio method.
49
26
 
50
- - ✅ **Hot Module Replacement**: Changes reflect instantly
51
- - ✅ **Source Maps**: Full debugging support
52
- - ✅ **ESM Imports**: Modern import syntax
53
- - ✅ **Live Demo**: Interactive testing interface
54
- - ✅ **CORS Headers**: Ready for cross-origin requests
55
- - ✅ **TypeScript**: Direct `.ts` imports supported
27
+ ```javascript
28
+ import { SheetXL } from '@sheetxl/studio-vanilla';
56
29
 
57
- ---
30
+ // The attach method will render the spreadsheet into the specified DOM element.
31
+ SheetXL.attachStudio("#sheetxl");
32
+ ```
58
33
 
59
- ## 1. Quickest Start (CDN)
34
+ ## 2. Quickest Start (CDN)
60
35
 
61
- For instant, no-build-step integration, add the following HTML snippet to your page. This is the primary use case for this package.
36
+ For instant, no-build-step integration, add the following HTML snippet to your page.
62
37
 
63
38
  ```html
64
39
  <!DOCTYPE html>
@@ -75,23 +50,25 @@ For instant, no-build-step integration, add the following HTML snippet to your p
75
50
  </html>
76
51
  ```
77
52
 
78
- ## 2. Usage with a Bundler (via NPM)
53
+ ---
79
54
 
80
- You can also install this package via NPM if you prefer to include it in your application build.
55
+ ## API
81
56
 
82
- ```bash
83
- # Using npm
84
- npm install @sheetxl/studio-vanilla
57
+ - `SheetXL.attachStudio(selectorOrElement: string | HTMLElement, options?: object): void`
58
+ Renders the spreadsheet UI into the target element.
85
59
 
86
- # Using yarn
87
- yarn add @sheetxl/studio-vanilla
88
- ```
60
+ > **Note:** React and MUI are bundled internally.
89
61
 
90
- After installation, you can import and use the SheetXL.attach method.
62
+ ## 🔗 Learn More
91
63
 
92
- ```javascript
93
- import { SheetXL } from '@sheetxl/studio-vanilla';
64
+ Whether you're ready to build, need help, or just want to see more examples, here's where to go next.
94
65
 
95
- // The attach method will render the spreadsheet into the specified DOM element.
96
- SheetXL.attachStudio("#sheetxl");
97
- ```
66
+ * 📘 **[Developer Docs](https://www.sheetxl.com/docs)** - Guides and tutorials.
67
+ * 🔌 **[API Reference](https://api.sheetxl.com)** - Detailed documentation for all packages.
68
+ * 🌐 **[Live Demo Gallery](https://www.sheetxl.com/demos)** - A showcase of interactive examples.
69
+ * ✨ **[Storybook](https://storybook.sheetxl.com)** - Explore and test individual UI components.
70
+ * 💬 **[Join our Discord Community](https://discord.gg/NTKdwUgK9p)** - Get help and connect with the team.
71
+ * ⭐ **[Star us on GitHub](https://github.com/sheetxl)** - If you find SheetXL useful, we'd appreciate a star!
72
+ * 🌐 **[Website](https://www.sheetxl.com)** - Our Website.
73
+
74
+ ---
@@ -1,5 +1,5 @@
1
1
  "use strict";/**
2
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.5.1
2
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.6.1
3
3
  *
4
4
  * (C) 2025-present SheetXL Inc. & Michael T. Ford
5
5
  * License: The license can be found at https://www.sheetxl.com/license.
@@ -1,13 +1,13 @@
1
1
  "use strict";/**
2
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.5.1
2
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.6.1
3
3
  *
4
4
  * (C) 2025-present SheetXL Inc. & Michael T. Ford
5
5
  * License: The license can be found at https://www.sheetxl.com/license.
6
- */Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const b=require("./CgZJr_HNgqQcu-4B.cjs");let $=null,L=null;const le={compilerOptions:{target:"esnext"}},se=async()=>`
6
+ */Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const b=require("./C-mBQI-IxtNj58JJ.cjs");let $=null,L=null;const le={compilerOptions:{target:"esnext"}},se=async()=>`
7
7
  interface FirstTest {
8
8
  isTrue?: boolean;
9
9
  }
10
- `,Q=new Map([["IReferenceRange","r"],["IRange","l"]]),Z=new Map([["IWorkbook","workbook"],["ISheet","sheet"],["ICellRanges","ranges"],["ICellRange","range"],["IFormulaContext","context"]]),V=(T,S)=>{Array.from(S.keys()).forEach(z=>{const P=S.get(z);S.set(`${T}.${z}`,P)})},ce=new Map([["Scalar","*"],["FormulaError.Known",b.M.Error],["Date","Date"],["JSON","JSON"]]),de=new Map([]),U="SheetXL";V(U,Q),V(U,Z),V(U,de);const ue=new Map([["Promise",()=>({async:!0})],["Observable",()=>({stream:!0})]]);let R=null;async function pe(){if(R)return R;try{return await(await Promise.resolve().then(()=>require("./BswNvZNzfy-xnhzz.cjs"))).initialize()}catch(T){throw R=null,T}finally{R=null}}exports.compileModule=async function(T){const S=T?.source??null;if(!S)return null;const z=(T.disableBundle||T.declarationsOnly)??!1,P=[se(),pe()],X=await Promise.all(P),ee=X[0],n=X[1];let C="",j=null;const O=[],te={allowJs:!0,declaration:!1,sourceMap:!1,inlineSourceMap:!1,inlineSources:!1,isolatedModules:!0,preserveConstEnums:!1,module:99,noResolve:!0,emitDeclarationOnly:!1,target:n.ScriptTarget.ES2020},A="script",I=`${A}.ts`,_="lib.d.ts",H="global.d.ts",F={[I]:S,[_]:`
10
+ `,Q=new Map([["IReferenceRange","r"],["IRange","l"]]),Z=new Map([["IWorkbook","workbook"],["ISheet","sheet"],["ICellRanges","ranges"],["ICellRange","range"],["IFormulaContext","context"]]),V=(T,S)=>{Array.from(S.keys()).forEach(z=>{const P=S.get(z);S.set(`${T}.${z}`,P)})},ce=new Map([["Scalar","*"],["FormulaError.Known",b.M.Error],["Date","Date"],["JSON","JSON"]]),de=new Map([]),U="SheetXL";V(U,Q),V(U,Z),V(U,de);const ue=new Map([["Promise",()=>({async:!0})],["Observable",()=>({stream:!0})]]);let R=null;async function pe(){if(R)return R;try{return await(await Promise.resolve().then(()=>require("./CsA9RBw4wemFPhxN.cjs"))).initialize()}catch(T){throw R=null,T}finally{R=null}}exports.compileModule=async function(T){const S=T?.source??null;if(!S)return null;const z=(T.disableBundle||T.declarationsOnly)??!1,P=[se(),pe()],X=await Promise.all(P),ee=X[0],n=X[1];let C="",j=null;const O=[],te={allowJs:!0,declaration:!1,sourceMap:!1,inlineSourceMap:!1,inlineSources:!1,isolatedModules:!0,preserveConstEnums:!1,module:99,noResolve:!0,emitDeclarationOnly:!1,target:n.ScriptTarget.ES2020},A="script",I=`${A}.ts`,_="lib.d.ts",H="global.d.ts",F={[I]:S,[_]:`
11
11
  /**
12
12
  * Represents the completion of an asynchronous operation
13
13
  */
@@ -21,7 +21,7 @@ interface Promise<T> {
21
21
  finally(onfinally?: (() => void) | undefined | null): Promise<T>;
22
22
  }
23
23
  `,[H]:ee},ne={getSourceFile:(e,o,y,r)=>n.createSourceFile(e,F[e],n.ScriptTarget.Latest,!0),fileExists:e=>F[e]!==void 0,readFile:e=>F[e],writeFile:(e,o)=>{F[e]=o},getCurrentDirectory:()=>"./",getCanonicalFileName:e=>e,useCaseSensitiveFileNames:()=>!0,getDefaultLibFileName:e=>_,getNewLine:()=>`
24
- `},q=n.createProgram([I,H],te,ne),D=q.getTypeChecker(),re=q.getSourceFile(I),W=q.emit();W.diagnostics.length>0&&console.warn(W.diagnostics),C=F[`${A}.js`];const N=(e,o,y,r)=>{if(e){if(e.kind===n.SyntaxKind.NumberKeyword)o.scalar=b.M.Number;else if(e.kind===n.SyntaxKind.StringKeyword)o.scalar=b.M.String;else if(e.kind===n.SyntaxKind.BooleanKeyword)o.scalar=b.M.Boolean;else if(e.kind===n.SyntaxKind.UndefinedKeyword||e.kind===n.SyntaxKind.NullKeyword||e.kind===n.SyntaxKind.VoidKeyword){if(r)return void h(e,new Error(`'undefined' is not a valid type for input: '${e?.parent?.name?.escapedText}'.`));o.scalar=b.M.Null}else if(e.kind===n.SyntaxKind.BigIntKeyword)o.scalar=b.M.Number;else if(e.kind===n.SyntaxKind.AnyKeyword)o.scalar=b.M.Null;else if(e.kind===n.SyntaxKind.ArrayType){const i=e.elementType;if(!i)return void h(e,new Error(`'Array' must be typed: '${e?.parent?.name?.escapedText}'.`));o.arrayDepth=(o.arrayDepth??0)+1,N(i,o,y,r)}else if(e.kind!==n.SyntaxKind.TupleType&&e.kind===n.SyntaxKind.TypeReference){const i=e.typeName?.getText?.()??null,f=Q.get(i);let m=!1;f&&(o.range=f,m=!0);const x=ce.get(i);if(x&&(o.scalar=x),x!==void 0&&(m=!0),r){const c=Z.get(i);if(c)return c}else{const c=ue.get(i);if(c){const l={...o,...c()};let t=0;if(l.async&&t++,l.stream&&t++,t>1)return void h(e,new Error(`'${i}' cannot have multiple modifiers: '${e?.parent?.name?.escapedText}'.`));o=l,m=!0}}if(!m)return void h("node",new Error(`'${i}' is not a valid type: '${e?.parent?.name?.escapedText}'.`));const p=e.typeArguments;if(p){if(p.length!==1)return void h(e,new Error(`'${i}' must be typed with exactly 1 type: '${e?.parent?.name?.escapedText}'.`));N(p[0],o,y,r)}}}else h(e,new Error(`Type is not defined for '${o?.name??"return"}'.`))},k=[],h=(e,o)=>{k.push(o)};if(n.forEachChild(re,e=>{if(y=e,(n.getCombinedModifierFlags(y)&n.ModifierFlags.Export)!==0&&n.isFunctionDeclaration(e)){const r={},i={parameters:{}},f=e?.name?.getText();try{r.name=f;const m=D.getSymbolAtLocation(e.name).getDocumentationComment(D);if(m&&m.length>0&&m[0].text){let l=m[0].text;l=l.replace(/[\r\n]+/g,"\\n").trim(),i.summary=l}const x={};N(e.type,x,r,!1),r.returnType=x;const p={};o=e,(n.getCombinedModifierFlags(o)&n.ModifierFlags.Default)!==0&&(p.default=!0,j=f),Object.keys(p).length>0&&(r.behavior=p),r.parameters=[];const c=new Map;for(let l=0;l<e.parameters.length;l++){const t=e.parameters[l],s={};s.name=t.name?.getText();const E=N(t.type,s,r,!0);if(E){if(r.parameters.length!==0){const v=e?.parent,u=v?.name?.getText();return void h(e,new Error(`'${r.name}' contexts must be the first parameter: '${u}'.`))}r.context=E;continue}let g;if((t.initializer!==void 0&&t.initializer!==null||t.questionToken!==void 0&&t.questionToken!==null)&&(s.optional=!0,t.initializer))try{g=t.initializer.kind===n.SyntaxKind.StringLiteral?t.initializer.text:t.initializer.kind===n.SyntaxKind.NumericLiteral?parseFloat(t.initializer.text):t.initializer.kind===n.SyntaxKind.TrueKeyword||t.initializer.kind===n.SyntaxKind.FalseKeyword?t.initializer.kind===n.SyntaxKind.TrueKeyword:t.initializer.kind===n.SyntaxKind.NullKeyword?null:t.initializer.kind===n.SyntaxKind.ObjectLiteralExpression||t.initializer.kind===n.SyntaxKind.ArrayLiteralExpression?t.initializer.getText():t.initializer.getText?.()}catch(v){console.warn(`Couldn't extract default value for parameter '${s.name}'`,v)}t.dotDotDotToken&&(s.rest=!0),r.parameters.push(s);const d={description:""};i.parameters[s.name]=d;const a=D.getSymbolAtLocation(t.name).getDocumentationComment(D);a&&a.length>0&&a[0].text&&(d.description=a[0].text),g!==void 0&&(d.defaultValue=g),c.set(s.name,s)}if(e.jsDoc&&e.jsDoc.length>0){const l=e.jsDoc;for(let t=0;t<l.length;t++){const s=l[t]?.tags;if(s)for(let E=0;E<s.length;E++){const g=s[E];let d=g?.tagName?.text;if(!d)continue;d=d.toLowerCase();let a=g.comment;const v=d==="hidden";if((typeof a=="string"||v)&&(typeof a=="string"&&(a=a.replace(/[\r\n]+/g,"\\n").trim()),v||!a||(a=a.split(/\\n/)[0],a&&a.length!==0))){if(a&&typeof a=="string"){const u=/\{@link(code|plain)?\s+([^}|]+)(?:\s*\|\s*([^}]+))?\}/g;let w,K=a,M=[];for(;(w=u.exec(a))!==null;){const[B,J,oe,G]=w,ae=[oe.trim()];G&&ae.push(G.trim())}a=K,M.length>0&&d==="see"&&(i.links||(i.links=[]),i.links.push(...M))}if(d==="name"){const u=a;u!==f&&(i.name=u)}else if(d!=="description"){if(d==="summary"){const u=a;u&&(i.summary=u)}else if(d==="param"){const u=g.name?.text,w=c.get(u);if(!w){k.push(new Error(`Parameter '${u}' not found in function '${f}'.`));continue}if(g.typeExpression&&g.typeExpression.type)try{const K=g.typeExpression.type;if(K.kind===n.SyntaxKind.UnionType){const M=[];w.enums=M,K.types.forEach(B=>{if(B.kind===n.SyntaxKind.LiteralType){const J=B.literal.text;J&&M.push(J)}})}}catch(K){console.warn("Error parsing JSDoc type expression:",K)}}else if(d==="returns"||d==="return")r.returnType.description=a;else if(d==="category")i.category=a;else if(d==="hidden"){let u=!0;const w=a?.toLowerCase();w==="false"?u=!1:w!=="true"&&(u=a),u!==!1&&(i.hidden=u??!0)}}}}}}Object.keys(r.returnType).length===0&&delete r.returnType,O.push([r,i])}catch(m){h(e,new Error(`'${f}': ${m.message}`))}}var o,y}),k.length>0)throw console.warn(k),new Error("There were compilation errors.",{cause:k});if(O.length===0)throw new Error("No exported functions.");const ie=`${b.Yt.uuidV4()}-script`;try{z||k.length!==0||(C=await async function(e,o,y="/script.js",r="__SHEETXL"){try{const i=await async function(){if($)return $;if(L){if(await L,!$)throw new Error("ESBuild initialization promise resolved, but instance is not available.");return $}let c,l;L=new Promise((t,s)=>{c=t,l=s});try{const{initialize:t}=await Promise.resolve().then(()=>require("./CdYqMzk5cMIE_Doy.cjs"));return $=await t(),c(),$}catch(t){throw console.error("Failed to import or initialize esbuild:",t),L=null,l(t),t}}(),f="@sheetxl/primitives",m=`
24
+ `},q=n.createProgram([I,H],te,ne),D=q.getTypeChecker(),re=q.getSourceFile(I),W=q.emit();W.diagnostics.length>0&&console.warn(W.diagnostics),C=F[`${A}.js`];const N=(e,o,y,r)=>{if(e){if(e.kind===n.SyntaxKind.NumberKeyword)o.scalar=b.M.Number;else if(e.kind===n.SyntaxKind.StringKeyword)o.scalar=b.M.String;else if(e.kind===n.SyntaxKind.BooleanKeyword)o.scalar=b.M.Boolean;else if(e.kind===n.SyntaxKind.UndefinedKeyword||e.kind===n.SyntaxKind.NullKeyword||e.kind===n.SyntaxKind.VoidKeyword){if(r)return void h(e,new Error(`'undefined' is not a valid type for input: '${e?.parent?.name?.escapedText}'.`));o.scalar=b.M.Null}else if(e.kind===n.SyntaxKind.BigIntKeyword)o.scalar=b.M.Number;else if(e.kind===n.SyntaxKind.AnyKeyword)o.scalar=b.M.Null;else if(e.kind===n.SyntaxKind.ArrayType){const i=e.elementType;if(!i)return void h(e,new Error(`'Array' must be typed: '${e?.parent?.name?.escapedText}'.`));o.arrayDepth=(o.arrayDepth??0)+1,N(i,o,y,r)}else if(e.kind!==n.SyntaxKind.TupleType&&e.kind===n.SyntaxKind.TypeReference){const i=e.typeName?.getText?.()??null,f=Q.get(i);let m=!1;f&&(o.range=f,m=!0);const x=ce.get(i);if(x&&(o.scalar=x),x!==void 0&&(m=!0),r){const c=Z.get(i);if(c)return c}else{const c=ue.get(i);if(c){const l={...o,...c()};let t=0;if(l.async&&t++,l.stream&&t++,t>1)return void h(e,new Error(`'${i}' cannot have multiple modifiers: '${e?.parent?.name?.escapedText}'.`));o=l,m=!0}}if(!m)return void h("node",new Error(`'${i}' is not a valid type: '${e?.parent?.name?.escapedText}'.`));const p=e.typeArguments;if(p){if(p.length!==1)return void h(e,new Error(`'${i}' must be typed with exactly 1 type: '${e?.parent?.name?.escapedText}'.`));N(p[0],o,y,r)}}}else h(e,new Error(`Type is not defined for '${o?.name??"return"}'.`))},k=[],h=(e,o)=>{k.push(o)};if(n.forEachChild(re,e=>{if(y=e,(n.getCombinedModifierFlags(y)&n.ModifierFlags.Export)!==0&&n.isFunctionDeclaration(e)){const r={},i={parameters:{}},f=e?.name?.getText();try{r.name=f;const m=D.getSymbolAtLocation(e.name).getDocumentationComment(D);if(m&&m.length>0&&m[0].text){let l=m[0].text;l=l.replace(/[\r\n]+/g,"\\n").trim(),i.summary=l}const x={};N(e.type,x,r,!1),r.returnType=x;const p={};o=e,(n.getCombinedModifierFlags(o)&n.ModifierFlags.Default)!==0&&(p.default=!0,j=f),Object.keys(p).length>0&&(r.behavior=p),r.parameters=[];const c=new Map;for(let l=0;l<e.parameters.length;l++){const t=e.parameters[l],s={};s.name=t.name?.getText();const E=N(t.type,s,r,!0);if(E){if(r.parameters.length!==0){const v=e?.parent,u=v?.name?.getText();return void h(e,new Error(`'${r.name}' contexts must be the first parameter: '${u}'.`))}r.context=E;continue}let g;if((t.initializer!==void 0&&t.initializer!==null||t.questionToken!==void 0&&t.questionToken!==null)&&(s.optional=!0,t.initializer))try{g=t.initializer.kind===n.SyntaxKind.StringLiteral?t.initializer.text:t.initializer.kind===n.SyntaxKind.NumericLiteral?parseFloat(t.initializer.text):t.initializer.kind===n.SyntaxKind.TrueKeyword||t.initializer.kind===n.SyntaxKind.FalseKeyword?t.initializer.kind===n.SyntaxKind.TrueKeyword:t.initializer.kind===n.SyntaxKind.NullKeyword?null:t.initializer.kind===n.SyntaxKind.ObjectLiteralExpression||t.initializer.kind===n.SyntaxKind.ArrayLiteralExpression?t.initializer.getText():t.initializer.getText?.()}catch(v){console.warn(`Couldn't extract default value for parameter '${s.name}'`,v)}t.dotDotDotToken&&(s.rest=!0),r.parameters.push(s);const d={description:""};i.parameters[s.name]=d;const a=D.getSymbolAtLocation(t.name).getDocumentationComment(D);a&&a.length>0&&a[0].text&&(d.description=a[0].text),g!==void 0&&(d.defaultValue=g),c.set(s.name,s)}if(e.jsDoc&&e.jsDoc.length>0){const l=e.jsDoc;for(let t=0;t<l.length;t++){const s=l[t]?.tags;if(s)for(let E=0;E<s.length;E++){const g=s[E];let d=g?.tagName?.text;if(!d)continue;d=d.toLowerCase();let a=g.comment;const v=d==="hidden";if((typeof a=="string"||v)&&(typeof a=="string"&&(a=a.replace(/[\r\n]+/g,"\\n").trim()),v||!a||(a=a.split(/\\n/)[0],a&&a.length!==0))){if(a&&typeof a=="string"){const u=/\{@link(code|plain)?\s+([^}|]+)(?:\s*\|\s*([^}]+))?\}/g;let w,K=a,M=[];for(;(w=u.exec(a))!==null;){const[B,J,oe,G]=w,ae=[oe.trim()];G&&ae.push(G.trim())}a=K,M.length>0&&d==="see"&&(i.links||(i.links=[]),i.links.push(...M))}if(d==="name"){const u=a;u!==f&&(i.name=u)}else if(d!=="description"){if(d==="summary"){const u=a;u&&(i.summary=u)}else if(d==="param"){const u=g.name?.text,w=c.get(u);if(!w){k.push(new Error(`Parameter '${u}' not found in function '${f}'.`));continue}if(g.typeExpression&&g.typeExpression.type)try{const K=g.typeExpression.type;if(K.kind===n.SyntaxKind.UnionType){const M=[];w.enums=M,K.types.forEach(B=>{if(B.kind===n.SyntaxKind.LiteralType){const J=B.literal.text;J&&M.push(J)}})}}catch(K){console.warn("Error parsing JSDoc type expression:",K)}}else if(d==="returns"||d==="return")r.returnType.description=a;else if(d==="category")i.category=a;else if(d==="hidden"){let u=!0;const w=a?.toLowerCase();w==="false"?u=!1:w!=="true"&&(u=a),u!==!1&&(i.hidden=u??!0)}}}}}}Object.keys(r.returnType).length===0&&delete r.returnType,O.push([r,i])}catch(m){h(e,new Error(`'${f}': ${m.message}`))}}var o,y}),k.length>0)throw console.warn(k),new Error("There were compilation errors.",{cause:k});if(O.length===0)throw new Error("No exported functions.");const ie=`${b.Yt.uuidV4()}-script`;try{z||k.length!==0||(C=await async function(e,o,y="/script.js",r="__SHEETXL"){try{const i=await async function(){if($)return $;if(L){if(await L,!$)throw new Error("ESBuild initialization promise resolved, but instance is not available.");return $}let c,l;L=new Promise((t,s)=>{c=t,l=s});try{const{initialize:t}=await Promise.resolve().then(()=>require("./CXBWR775VYUvZ0bE.cjs"));return $=await t(),c(),$}catch(t){throw console.error("Failed to import or initialize esbuild:",t),L=null,l(t),t}}(),f="@sheetxl/primitives",m=`
25
25
  export const FormulaContext = globalThis.${r}?.FormulaContext;
26
26
  export const ScalarType = globalThis.${r}?.ScalarType;
27
27
  export const Observable = globalThis.${r}?.Observable;
@@ -1,5 +1,5 @@
1
1
  "use strict";/**
2
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.5.1
2
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.6.1
3
3
  *
4
4
  * (C) 2025-present SheetXL Inc. & Michael T. Ford
5
5
  * License: The license can be found at https://www.sheetxl.com/license.
@@ -1,5 +1,5 @@
1
1
  "use strict";/**
2
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.5.1
2
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.6.1
3
3
  *
4
4
  * (C) 2025-present SheetXL Inc. & Michael T. Ford
5
5
  * License: The license can be found at https://www.sheetxl.com/license.
@@ -1,5 +1,5 @@
1
1
  "use strict";/**
2
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.5.1
2
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.6.1
3
3
  *
4
4
  * (C) 2025-present SheetXL Inc. & Michael T. Ford
5
5
  * License: The license can be found at https://www.sheetxl.com/license.
@@ -1,5 +1,5 @@
1
1
  "use strict";/**
2
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.5.1
2
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.6.1
3
3
  *
4
4
  * (C) 2025-present SheetXL Inc. & Michael T. Ford
5
5
  * License: The license can be found at https://www.sheetxl.com/license.
@@ -1,5 +1,5 @@
1
1
  "use strict";/**
2
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.5.1
2
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.6.1
3
3
  *
4
4
  * (C) 2025-present SheetXL Inc. & Michael T. Ford
5
5
  * License: The license can be found at https://www.sheetxl.com/license.
@@ -1,6 +1,6 @@
1
1
  "use strict";/**
2
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.5.1
2
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.6.1
3
3
  *
4
4
  * (C) 2025-present SheetXL Inc. & Michael T. Ford
5
5
  * License: The license can be found at https://www.sheetxl.com/license.
6
- */Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CgZJr_HNgqQcu-4B.cjs"),w=["Ok","Cancel"],j=e.reactExports.memo(E=>{const{initialValue:T,context:x,onOption:m,onValidateOption:p,onInputOption:d,onDone:l,options:g=w,defaultOption:r=g?.[0],cancelOption:i="Cancel",sx:b,...v}=E,[o,y]=e.reactExports.useState(T),[C,O]=e.reactExports.useState(!1),u=e.reactExports.useCallback(async(t,a)=>!0,[]),c=e.T(async t=>{d?.(o,t),m?.(t,t===i,t===r),l?.()},[o,d,l,m,i,r]),S=e.T(async t=>{t.keyCode===e.eo.Enter&&await u?.(o,null)!==!1&&c(r)},[o,c]),k=e.T(t=>{y(t.target.value),u?.(t.target.value,null)},[p]),D=e.T(async t=>{let a=await Promise.resolve(p?.(t));try{a!==!1&&(a=await Promise.resolve(u?.(o,t))??!0)}catch{}return a??!0},[p]),[h,f]=e.reactExports.useState(e.De.Styles.lookupStyle(o).formatType??e.De.Type.Custom);e.reactExports.useEffect(()=>{f(e.De.Styles.lookupStyle(o).formatType??e.De.Type.Custom)},[o]);const R=e.reactExports.useMemo(()=>{const t=e.De.Styles.lookupPrimary(),a=n=>e.jsxRuntimeExports.jsx(e.MenuItem,{value:n,children:n},n),s=Object.keys(t).map(n=>a(t[n].formatType));return s.push(a(e.De.Type.Custom)),s},[]),F=e.reactExports.useCallback(t=>{const a=t.target.value;f(a);const s=e.De.Styles.lookupDefault(a);s&&y(s)},[]),P=e.reactExports.useMemo(()=>{const t=x();return t.createTemporaryCell({value:t.getValue()??12345,style:{numberFormat:o}})},[h,o,x]);return e.jsxRuntimeExports.jsx(e.S3,{title:"Number Format",options:g,onDone:l,onOption:t=>c(t),onValidateOption:D,defaultOption:r,cancelOption:i,autoFocusSel:".autoFocus",sx:{width:"580px",...b},...v,children:e.jsxRuntimeExports.jsxs(e.Box,{sx:{paddingTop:t=>t.spacing(1),paddingBottom:t=>t.spacing(0),rowGap:t=>t.spacing(1),display:"flex",flexDirection:"column"},children:[e.jsxRuntimeExports.jsxs(e.FormControl,{sx:{minWidth:135},size:"small",children:[e.jsxRuntimeExports.jsx(e.InputLabel,{children:"Category"}),e.jsxRuntimeExports.jsx(e.Select,{value:h,label:"Category",onChange:F,sx:{backgroundImage:`linear-gradient(${e.alpha("#fff",e.getOverlayAlpha(5))}, ${e.alpha("#fff",e.getOverlayAlpha(5))})`},children:R})]}),e.jsxRuntimeExports.jsx(e.FormControl,{sx:{paddingTop:t=>t.spacing(1.5),minWidth:135,width:"100%"},size:"small",children:e.jsxRuntimeExports.jsx(e.TextField,{label:"Code",onFocus:t=>{C||t.target?.select(),O(!0)},sx:{"& .MuiFormHelperText-root":{marginTop:t=>t.spacing(.5)}},InputLabelProps:{shrink:!0},InputProps:{inputProps:{className:"autoFocus",spellCheck:!1,autoComplete:"off",sx:{paddingTop:t=>t.spacing(1.25),paddingBottom:t=>t.spacing(.75),backgroundImage:`linear-gradient(${e.alpha("#fff",e.getOverlayAlpha(5))}, ${e.alpha("#fff",e.getOverlayAlpha(5))})`}}},value:o,onChange:k,onKeyDown:S,onContextMenu:t=>{t.stopPropagation()}})}),e.jsxRuntimeExports.jsxs(e.Box,{children:[e.jsxRuntimeExports.jsx(e.Typography,{variant:"caption",component:"div",sx:{paddingLeft:t=>t.spacing(2)},children:"Preview"}),e.jsxRuntimeExports.jsx(e.Typography,{variant:"body2",component:"div",sx:{borderRadius:t=>`${t.shape.borderRadius}px`,padding:t=>t.spacing(1),border:t=>`1px solid ${t.palette.grey[400]}`},children:P.getNumberFormat().displayText||"(empty)"})]})]})})});exports.NumberFormatDialog=j,exports.default=j;
6
+ */Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./C-mBQI-IxtNj58JJ.cjs"),I=["Ok","Cancel"],j=e.reactExports.memo(E=>{const{initialValue:T,context:x,onOption:m,onValidateOption:p,onInputOption:d,onDone:l,options:g=I,defaultOption:r=g?.[0],cancelOption:i="Cancel",sx:R,...b}=E,[o,y]=e.reactExports.useState(T),[v,C]=e.reactExports.useState(!1),u=e.reactExports.useCallback(async(t,a)=>!0,[]),c=e.T(async t=>{d?.(o,t),m?.(t,t===i,t===r),l?.()},[o,d,l,m,i,r]),O=e.T(async t=>{t.keyCode===e.eo.Enter&&await u?.(o,null)!==!1&&c(r)},[o,c]),S=e.T(t=>{y(t.target.value),u?.(t.target.value,null)},[p]),k=e.T(async t=>{let a=await Promise.resolve(p?.(t));try{a!==!1&&(a=await Promise.resolve(u?.(o,t))??!0)}catch{}return a??!0},[p]),[h,f]=e.reactExports.useState(e.Rt.Styles.lookupStyle(o).formatType??e.Rt.Type.Custom);e.reactExports.useEffect(()=>{f(e.Rt.Styles.lookupStyle(o).formatType??e.Rt.Type.Custom)},[o]);const F=e.reactExports.useMemo(()=>{const t=e.Rt.Styles.lookupPrimary(),a=n=>e.jsxRuntimeExports.jsx(e.MenuItem,{value:n,children:n},n),s=Object.keys(t).map(n=>a(t[n].formatType));return s.push(a(e.Rt.Type.Custom)),s},[]),P=e.reactExports.useCallback(t=>{const a=t.target.value;f(a);const s=e.Rt.Styles.lookupDefault(a);s&&y(s)},[]),w=e.reactExports.useMemo(()=>{const t=x();return t.createTemporaryCell({value:t.getValue()??12345,style:{numberFormat:o}})},[h,o,x]);return e.jsxRuntimeExports.jsx(e.S3,{title:"Number Format",options:g,onDone:l,onOption:t=>c(t),onValidateOption:k,defaultOption:r,cancelOption:i,autoFocusSel:".autoFocus",sx:{width:"580px",...R},...b,children:e.jsxRuntimeExports.jsxs(e.Box,{sx:{paddingTop:t=>t.spacing(1),paddingBottom:t=>t.spacing(0),rowGap:t=>t.spacing(1),display:"flex",flexDirection:"column"},children:[e.jsxRuntimeExports.jsxs(e.FormControl,{sx:{minWidth:135},size:"small",children:[e.jsxRuntimeExports.jsx(e.InputLabel,{children:"Category"}),e.jsxRuntimeExports.jsx(e.Select,{value:h,label:"Category",onChange:P,sx:{backgroundImage:`linear-gradient(${e.alpha("#fff",e.getOverlayAlpha(5))}, ${e.alpha("#fff",e.getOverlayAlpha(5))})`},children:F})]}),e.jsxRuntimeExports.jsx(e.FormControl,{sx:{paddingTop:t=>t.spacing(1.5),minWidth:135,width:"100%"},size:"small",children:e.jsxRuntimeExports.jsx(e.TextField,{label:"Code",onFocus:t=>{v||t.target?.select(),C(!0)},sx:{"& .MuiFormHelperText-root":{marginTop:t=>t.spacing(.5)}},InputLabelProps:{shrink:!0},InputProps:{inputProps:{className:"autoFocus",spellCheck:!1,autoComplete:"off",sx:{paddingTop:t=>t.spacing(1.25),paddingBottom:t=>t.spacing(.75),backgroundImage:`linear-gradient(${e.alpha("#fff",e.getOverlayAlpha(5))}, ${e.alpha("#fff",e.getOverlayAlpha(5))})`}}},value:o,onChange:S,onKeyDown:O,onContextMenu:t=>{t.stopPropagation()}})}),e.jsxRuntimeExports.jsxs(e.Box,{children:[e.jsxRuntimeExports.jsx(e.Typography,{variant:"caption",component:"div",sx:{paddingLeft:t=>t.spacing(2)},children:"Preview"}),e.jsxRuntimeExports.jsx(e.Typography,{variant:"body2",component:"div",sx:{borderRadius:t=>`${t.shape.borderRadius}px`,padding:t=>t.spacing(1),border:t=>`1px solid ${t.palette.grey[400]}`},children:w.getNumberFormat().displayText||"(empty)"})]})]})})});exports.NumberFormatDialog=j,exports.default=j;
@@ -1,5 +1,5 @@
1
1
  "use strict";/**
2
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.5.1
2
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.6.1
3
3
  *
4
4
  * (C) 2025-present SheetXL Inc. & Michael T. Ford
5
5
  * License: The license can be found at https://www.sheetxl.com/license.
@@ -1,6 +1,6 @@
1
1
  "use strict";/**
2
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.5.1
2
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.6.1
3
3
  *
4
4
  * (C) 2025-present SheetXL Inc. & Michael T. Ford
5
5
  * License: The license can be found at https://www.sheetxl.com/license.
6
- */Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CgZJr_HNgqQcu-4B.cjs"),w=["Ok","Cancel"],N=t.reactExports.memo(E=>{const{value:a=null,context:s,onOption:u,onValidateOption:D,onDone:c,onUpdate:d,options:x=w,defaultOption:m=x?.[0],cancelOption:g="Cancel",sx:R,...O}=E,T=t.reactExports.useMemo(()=>s?.getNames().findValidName("Range1"),[]),i=t.reactExports.useMemo(()=>{if(!a)return!0},[]),[n,j]=t.reactExports.useState({displayText:a?.getName()??T,errorText:null}),[o,V]=t.reactExports.useState({displayValue:a?.getRanges()??s?.selection()??null,errorText:null}),[f,y]=t.reactExports.useState(!1),C=t.reactExports.useCallback(async e=>!n.errorText&&!o.errorText,[s]),h=t.T((e,l,p)=>{if(!l){let r=null;i?r=s?.getNames().addReference(n?.displayText,o?.displayValue,!1):(a.getType()==="reference"&&a.doBatch(()=>{a.setName(n?.displayText),a.setReference(o?.displayValue)},`Edit Named '${n?.displayText}'`),r=a),r&&(r.select(),d(r,i))}u?.(e,l,p),c?.()},[s,n,o,c,u,m,g,d]),v=t.T(e=>{let l=null;try{s?.getNames().validateName(e)}catch(p){l=p.message}j({displayText:e,errorText:l})},[]),S=t.T(e=>{a&&a.getName().toLowerCase()===e.toLowerCase()||s?.getNames().validateName(e)},[s,a]),b=t.reactExports.useCallback(e=>{V({displayValue:e??null,errorText:null})},[]);return t.jsxRuntimeExports.jsx(t.S3,{title:(i?"Define":"Edit")+" Range",options:x,onOption:h,onValidateOption:C,defaultOption:m,cancelOption:g,autoFocusSel:".autoFocus",sx:{width:"460px",...R},...O,children:t.jsxRuntimeExports.jsxs(t.Box,{sx:{paddingTop:e=>e.spacing(1),paddingBottom:e=>e.spacing(0),rowGap:e=>e.spacing(1),range:"flex",flexDirection:"column"},children:[t.jsxRuntimeExports.jsx(t.zp,{formName:"name",defaultInput:T,value:n.displayText,onChangeInput:v,onValidate:S,onFocus:e=>{f||e.target?.select(),y(!0)}}),t.jsxRuntimeExports.jsx(t.Wp,{formName:"range",value:o.displayValue,onChangeInput:b,resolvedAddress:s.getNames().getRanges.bind(s.getNames()),onFocus:e=>{f||e.target?.select(),y(!0)}})]})})});exports.NamedReferenceDialog=N,exports.default=N;
6
+ */Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./C-mBQI-IxtNj58JJ.cjs"),w=["Ok","Cancel"],N=t.reactExports.memo(E=>{const{value:a=null,context:s,onOption:u,onValidateOption:D,onDone:c,onUpdate:d,options:x=w,defaultOption:m=x?.[0],cancelOption:g="Cancel",sx:R,...O}=E,T=t.reactExports.useMemo(()=>s?.getNames().findValidName("Range1"),[]),i=t.reactExports.useMemo(()=>{if(!a)return!0},[]),[n,j]=t.reactExports.useState({displayText:a?.getName()??T,errorText:null}),[o,V]=t.reactExports.useState({displayValue:a?.getRanges()??s?.selection()??null,errorText:null}),[f,y]=t.reactExports.useState(!1),C=t.reactExports.useCallback(async e=>!n.errorText&&!o.errorText,[s]),h=t.T((e,l,p)=>{if(!l){let r=null;i?r=s?.getNames().addReference(n?.displayText,o?.displayValue,!1):(a.getType()==="reference"&&a.doBatch(()=>{a.setName(n?.displayText),a.setReference(o?.displayValue)},`Edit Named '${n?.displayText}'`),r=a),r&&(r.select(),d(r,i))}u?.(e,l,p),c?.()},[s,n,o,c,u,m,g,d]),v=t.T(e=>{let l=null;try{s?.getNames().validateName(e)}catch(p){l=p.message}j({displayText:e,errorText:l})},[]),S=t.T(e=>{a&&a.getName().toLowerCase()===e.toLowerCase()||s?.getNames().validateName(e)},[s,a]),b=t.reactExports.useCallback(e=>{V({displayValue:e??null,errorText:null})},[]);return t.jsxRuntimeExports.jsx(t.S3,{title:(i?"Define":"Edit")+" Range",options:x,onOption:h,onValidateOption:C,defaultOption:m,cancelOption:g,autoFocusSel:".autoFocus",sx:{width:"460px",...R},...O,children:t.jsxRuntimeExports.jsxs(t.Box,{sx:{paddingTop:e=>e.spacing(1),paddingBottom:e=>e.spacing(0),rowGap:e=>e.spacing(1),range:"flex",flexDirection:"column"},children:[t.jsxRuntimeExports.jsx(t.zp,{formName:"name",defaultInput:T,value:n.displayText,onChangeInput:v,onValidate:S,onFocus:e=>{f||e.target?.select(),y(!0)}}),t.jsxRuntimeExports.jsx(t.Wp,{formName:"range",value:o.displayValue,onChangeInput:b,resolvedAddress:s.getNames().getRanges.bind(s.getNames()),onFocus:e=>{f||e.target?.select(),y(!0)}})]})})});exports.NamedReferenceDialog=N,exports.default=N;
@@ -1,5 +1,5 @@
1
1
  "use strict";/**
2
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.5.1
2
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.6.1
3
3
  *
4
4
  * (C) 2025-present SheetXL Inc. & Michael T. Ford
5
5
  * License: The license can be found at https://www.sheetxl.com/license.
@@ -1,15 +1,15 @@
1
1
  "use strict";/**
2
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.5.1
2
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.6.1
3
3
  *
4
4
  * (C) 2025-present SheetXL Inc. & Michael T. Ford
5
5
  * License: The license can be found at https://www.sheetxl.com/license.
6
- */Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const yt=require("./CgZJr_HNgqQcu-4B.cjs");var ct,pt={exports:{}},gt=(ct||(ct=1,pt.exports=function G(){var Q,k=typeof self<"u"?self:typeof window<"u"?window:k!==void 0?k:{},P=!k.document&&!!k.postMessage,B=k.IS_PAPA_WORKER||!1,J={},mt=0,a={};function K(t){this._handle=null,this._finished=!1,this._completed=!1,this._halted=!1,this._input=null,this._baseIndex=0,this._partialLine="",this._rowCount=0,this._start=0,this._nextChunk=null,this.isFirstChunk=!0,this._completeResults={data:[],errors:[],meta:{}},function(e){var i=at(e);i.chunkSize=parseInt(i.chunkSize),e.step||e.chunk||(i.chunkSize=null),this._handle=new ht(i),(this._handle.streamer=this)._config=i}.call(this,t),this.parseChunk=function(e,i){var n=parseInt(this._config.skipFirstNLines)||0;if(this.isFirstChunk&&0<n){let l=this._config.newline;l||(r=this._config.quoteChar||'"',l=this._handle.guessLineEndings(e,r)),e=[...e.split(l).slice(n)].join(l)}this.isFirstChunk&&_(this._config.beforeFirstChunk)&&(r=this._config.beforeFirstChunk(e))!==void 0&&(e=r),this.isFirstChunk=!1,this._halted=!1,n=this._partialLine+e;var r=(this._partialLine="",this._handle.parse(n,this._baseIndex,!this._finished));if(!this._handle.paused()&&!this._handle.aborted()){if(e=r.meta.cursor,this._finished||(this._partialLine=n.substring(e-this._baseIndex),this._baseIndex=e),r&&r.data&&(this._rowCount+=r.data.length),n=this._finished||this._config.preview&&this._rowCount>=this._config.preview,B)k.postMessage({results:r,workerId:a.WORKER_ID,finished:n});else if(_(this._config.chunk)&&!i){if(this._config.chunk(r,this._handle),this._handle.paused()||this._handle.aborted())return void(this._halted=!0);this._completeResults=r=void 0}return this._config.step||this._config.chunk||(this._completeResults.data=this._completeResults.data.concat(r.data),this._completeResults.errors=this._completeResults.errors.concat(r.errors),this._completeResults.meta=r.meta),this._completed||!n||!_(this._config.complete)||r&&r.meta.aborted||(this._config.complete(this._completeResults,this._input),this._completed=!0),n||r&&r.meta.paused||this._nextChunk(),r}this._halted=!0},this._sendError=function(e){_(this._config.error)?this._config.error(e):B&&this._config.error&&k.postMessage({workerId:a.WORKER_ID,error:e,finished:!1})}}function it(t){var e;(t=t||{}).chunkSize||(t.chunkSize=a.RemoteChunkSize),K.call(this,t),this._nextChunk=P?function(){this._readChunk(),this._chunkLoaded()}:function(){this._readChunk()},this.stream=function(i){this._input=i,this._nextChunk()},this._readChunk=function(){if(this._finished)this._chunkLoaded();else{if(e=new XMLHttpRequest,this._config.withCredentials&&(e.withCredentials=this._config.withCredentials),P||(e.onload=$(this._chunkLoaded,this),e.onerror=$(this._chunkError,this)),e.open(this._config.downloadRequestBody?"POST":"GET",this._input,!P),this._config.downloadRequestHeaders){var i,n=this._config.downloadRequestHeaders;for(i in n)e.setRequestHeader(i,n[i])}var r;this._config.chunkSize&&(r=this._start+this._config.chunkSize-1,e.setRequestHeader("Range","bytes="+this._start+"-"+r));try{e.send(this._config.downloadRequestBody)}catch(l){this._chunkError(l.message)}P&&e.status===0&&this._chunkError()}},this._chunkLoaded=function(){var i;e.readyState===4&&(e.status<200||400<=e.status?this._chunkError():(this._start+=this._config.chunkSize||e.responseText.length,this._finished=!this._config.chunkSize||this._start>=((i=(i=e).getResponseHeader("Content-Range"))!==null?parseInt(i.substring(i.lastIndexOf("/")+1)):-1),this.parseChunk(e.responseText)))},this._chunkError=function(i){i=e.statusText||i,this._sendError(new Error(i))}}function rt(t){(t=t||{}).chunkSize||(t.chunkSize=a.LocalChunkSize),K.call(this,t);var e,i,n=typeof FileReader<"u";this.stream=function(r){this._input=r,i=r.slice||r.webkitSlice||r.mozSlice,n?((e=new FileReader).onload=$(this._chunkLoaded,this),e.onerror=$(this._chunkError,this)):e=new FileReaderSync,this._nextChunk()},this._nextChunk=function(){this._finished||this._config.preview&&!(this._rowCount<this._config.preview)||this._readChunk()},this._readChunk=function(){var r=this._input,l=(this._config.chunkSize&&(l=Math.min(this._start+this._config.chunkSize,this._input.size),r=i.call(r,this._start,l)),e.readAsText(r,this._config.encoding));n||this._chunkLoaded({target:{result:l}})},this._chunkLoaded=function(r){this._start+=this._config.chunkSize,this._finished=!this._config.chunkSize||this._start>=this._input.size,this.parseChunk(r.target.result)},this._chunkError=function(){this._sendError(e.error)}}function X(t){var e;K.call(this,t=t||{}),this.stream=function(i){return e=i,this._nextChunk()},this._nextChunk=function(){var i,n;if(!this._finished)return i=this._config.chunkSize,e=i?(n=e.substring(0,i),e.substring(i)):(n=e,""),this._finished=!e,this.parseChunk(n)}}function nt(t){K.call(this,t=t||{});var e=[],i=!0,n=!1;this.pause=function(){K.prototype.pause.apply(this,arguments),this._input.pause()},this.resume=function(){K.prototype.resume.apply(this,arguments),this._input.resume()},this.stream=function(r){this._input=r,this._input.on("data",this._streamData),this._input.on("end",this._streamEnd),this._input.on("error",this._streamError)},this._checkIsFinished=function(){n&&e.length===1&&(this._finished=!0)},this._nextChunk=function(){this._checkIsFinished(),e.length?this.parseChunk(e.shift()):i=!0},this._streamData=$(function(r){try{e.push(typeof r=="string"?r:r.toString(this._config.encoding)),i&&(i=!1,this._checkIsFinished(),this.parseChunk(e.shift()))}catch(l){this._streamError(l)}},this),this._streamError=$(function(r){this._streamCleanUp(),this._sendError(r)},this),this._streamEnd=$(function(){this._streamCleanUp(),n=!0,this._streamData("")},this),this._streamCleanUp=$(function(){this._input.removeListener("data",this._streamData),this._input.removeListener("end",this._streamEnd),this._input.removeListener("error",this._streamError)},this)}function ht(t){var e,i,n,r,l=Math.pow(2,53),v=-l,M=/^\s*-?(\d+\.?|\.\d+|\d+\.\d+)([eE][-+]?\d+)?\s*$/,w=/^((\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z)))$/,m=this,T=0,o=0,j=!1,u=!1,p=[],s={data:[],errors:[],meta:{}};function C(h){return t.skipEmptyLines==="greedy"?h.join("").trim()==="":h.length===1&&h[0].length===0}function R(){if(s&&n&&(z("Delimiter","UndetectableDelimiter","Unable to auto-detect delimiting character; defaulted to '"+a.DefaultDelimiter+"'"),n=!1),t.skipEmptyLines&&(s.data=s.data.filter(function(f){return!C(f)})),L()){let f=function(O,A){_(t.transformHeader)&&(O=t.transformHeader(O,A)),p.push(O)};if(s)if(Array.isArray(s.data[0])){for(var h=0;L()&&h<s.data.length;h++)s.data[h].forEach(f);s.data.splice(0,1)}else s.data.forEach(f)}function c(f,O){for(var A=t.header?{}:[],b=0;b<f.length;b++){var y=b,g=f[b];g=((U,d)=>{return S=U,t.dynamicTypingFunction&&t.dynamicTyping[S]===void 0&&(t.dynamicTyping[S]=t.dynamicTypingFunction(S)),(t.dynamicTyping[S]||t.dynamicTyping)===!0?d==="true"||d==="TRUE"||d!=="false"&&d!=="FALSE"&&((I=>{if(M.test(I)&&(I=parseFloat(I),v<I&&I<l))return 1})(d)?parseFloat(d):w.test(d)?new Date(d):d===""?null:d):d;var S})(y=t.header?b>=p.length?"__parsed_extra":p[b]:y,g=t.transform?t.transform(g,y):g),y==="__parsed_extra"?(A[y]=A[y]||[],A[y].push(g)):A[y]=g}return t.header&&(b>p.length?z("FieldMismatch","TooManyFields","Too many fields: expected "+p.length+" fields but parsed "+b,o+O):b<p.length&&z("FieldMismatch","TooFewFields","Too few fields: expected "+p.length+" fields but parsed "+b,o+O)),A}var E;s&&(t.header||t.dynamicTyping||t.transform)&&(E=1,!s.data.length||Array.isArray(s.data[0])?(s.data=s.data.map(c),E=s.data.length):s.data=c(s.data,0),t.header&&s.meta&&(s.meta.fields=p),o+=E)}function L(){return t.header&&p.length===0}function z(h,c,E,f){h={type:h,code:c,message:E},f!==void 0&&(h.row=f),s.errors.push(h)}_(t.step)&&(r=t.step,t.step=function(h){s=h,L()?R():(R(),s.data.length!==0&&(T+=h.data.length,t.preview&&T>t.preview?i.abort():(s.data=s.data[0],r(s,m))))}),this.parse=function(h,c,E){var f=t.quoteChar||'"';return t.newline||(t.newline=this.guessLineEndings(h,f)),n=!1,t.delimiter?_(t.delimiter)&&(t.delimiter=t.delimiter(h),s.meta.delimiter=t.delimiter):((f=((O,A,b,y,g)=>{var U,d,S,I;g=g||[","," ","|",";",a.RECORD_SEP,a.UNIT_SEP];for(var Y=0;Y<g.length;Y++){for(var W,tt=g[Y],F=0,D=0,x=0,q=(S=void 0,new st({comments:y,delimiter:tt,newline:A,preview:10}).parse(O)),H=0;H<q.data.length;H++)b&&C(q.data[H])?x++:(D+=W=q.data[H].length,S===void 0?S=W:0<W&&(F+=Math.abs(W-S),S=W));0<q.data.length&&(D/=q.data.length-x),(d===void 0||F<=d)&&(I===void 0||I<D)&&1.99<D&&(d=F,U=tt,I=D)}return{successful:!!(t.delimiter=U),bestDelimiter:U}})(h,t.newline,t.skipEmptyLines,t.comments,t.delimitersToGuess)).successful?t.delimiter=f.bestDelimiter:(n=!0,t.delimiter=a.DefaultDelimiter),s.meta.delimiter=t.delimiter),f=at(t),t.preview&&t.header&&f.preview++,e=h,i=new st(f),s=i.parse(e,c,E),R(),j?{meta:{paused:!0}}:s||{meta:{paused:!1}}},this.paused=function(){return j},this.pause=function(){j=!0,i.abort(),e=_(t.chunk)?"":e.substring(i.getCharIndex())},this.resume=function(){m.streamer._halted?(j=!1,m.streamer.parseChunk(e,!0)):setTimeout(m.resume,3)},this.aborted=function(){return u},this.abort=function(){u=!0,i.abort(),s.meta.aborted=!0,_(t.complete)&&t.complete(s),e=""},this.guessLineEndings=function(h,c){h=h.substring(0,1048576),c=new RegExp(V(c)+"([^]*?)"+V(c),"gm");var E=(h=h.replace(c,"")).split("\r");if(h=1<(c=h.split(`
6
+ */Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const yt=require("./C-mBQI-IxtNj58JJ.cjs");var ct,pt={exports:{}},gt=(ct||(ct=1,pt.exports=function Y(){var Q,k=typeof self<"u"?self:typeof window<"u"?window:k!==void 0?k:{},P=!k.document&&!!k.postMessage,B=k.IS_PAPA_WORKER||!1,J={},mt=0,a={};function K(t){this._handle=null,this._finished=!1,this._completed=!1,this._halted=!1,this._input=null,this._baseIndex=0,this._partialLine="",this._rowCount=0,this._start=0,this._nextChunk=null,this.isFirstChunk=!0,this._completeResults={data:[],errors:[],meta:{}},function(e){var i=at(e);i.chunkSize=parseInt(i.chunkSize),e.step||e.chunk||(i.chunkSize=null),this._handle=new ht(i),(this._handle.streamer=this)._config=i}.call(this,t),this.parseChunk=function(e,i){var n=parseInt(this._config.skipFirstNLines)||0;if(this.isFirstChunk&&0<n){let l=this._config.newline;l||(r=this._config.quoteChar||'"',l=this._handle.guessLineEndings(e,r)),e=[...e.split(l).slice(n)].join(l)}this.isFirstChunk&&_(this._config.beforeFirstChunk)&&(r=this._config.beforeFirstChunk(e))!==void 0&&(e=r),this.isFirstChunk=!1,this._halted=!1,n=this._partialLine+e;var r=(this._partialLine="",this._handle.parse(n,this._baseIndex,!this._finished));if(!this._handle.paused()&&!this._handle.aborted()){if(e=r.meta.cursor,this._finished||(this._partialLine=n.substring(e-this._baseIndex),this._baseIndex=e),r&&r.data&&(this._rowCount+=r.data.length),n=this._finished||this._config.preview&&this._rowCount>=this._config.preview,B)k.postMessage({results:r,workerId:a.WORKER_ID,finished:n});else if(_(this._config.chunk)&&!i){if(this._config.chunk(r,this._handle),this._handle.paused()||this._handle.aborted())return void(this._halted=!0);this._completeResults=r=void 0}return this._config.step||this._config.chunk||(this._completeResults.data=this._completeResults.data.concat(r.data),this._completeResults.errors=this._completeResults.errors.concat(r.errors),this._completeResults.meta=r.meta),this._completed||!n||!_(this._config.complete)||r&&r.meta.aborted||(this._config.complete(this._completeResults,this._input),this._completed=!0),n||r&&r.meta.paused||this._nextChunk(),r}this._halted=!0},this._sendError=function(e){_(this._config.error)?this._config.error(e):B&&this._config.error&&k.postMessage({workerId:a.WORKER_ID,error:e,finished:!1})}}function it(t){var e;(t=t||{}).chunkSize||(t.chunkSize=a.RemoteChunkSize),K.call(this,t),this._nextChunk=P?function(){this._readChunk(),this._chunkLoaded()}:function(){this._readChunk()},this.stream=function(i){this._input=i,this._nextChunk()},this._readChunk=function(){if(this._finished)this._chunkLoaded();else{if(e=new XMLHttpRequest,this._config.withCredentials&&(e.withCredentials=this._config.withCredentials),P||(e.onload=$(this._chunkLoaded,this),e.onerror=$(this._chunkError,this)),e.open(this._config.downloadRequestBody?"POST":"GET",this._input,!P),this._config.downloadRequestHeaders){var i,n=this._config.downloadRequestHeaders;for(i in n)e.setRequestHeader(i,n[i])}var r;this._config.chunkSize&&(r=this._start+this._config.chunkSize-1,e.setRequestHeader("Range","bytes="+this._start+"-"+r));try{e.send(this._config.downloadRequestBody)}catch(l){this._chunkError(l.message)}P&&e.status===0&&this._chunkError()}},this._chunkLoaded=function(){var i;e.readyState===4&&(e.status<200||400<=e.status?this._chunkError():(this._start+=this._config.chunkSize||e.responseText.length,this._finished=!this._config.chunkSize||this._start>=((i=(i=e).getResponseHeader("Content-Range"))!==null?parseInt(i.substring(i.lastIndexOf("/")+1)):-1),this.parseChunk(e.responseText)))},this._chunkError=function(i){i=e.statusText||i,this._sendError(new Error(i))}}function rt(t){(t=t||{}).chunkSize||(t.chunkSize=a.LocalChunkSize),K.call(this,t);var e,i,n=typeof FileReader<"u";this.stream=function(r){this._input=r,i=r.slice||r.webkitSlice||r.mozSlice,n?((e=new FileReader).onload=$(this._chunkLoaded,this),e.onerror=$(this._chunkError,this)):e=new FileReaderSync,this._nextChunk()},this._nextChunk=function(){this._finished||this._config.preview&&!(this._rowCount<this._config.preview)||this._readChunk()},this._readChunk=function(){var r=this._input,l=(this._config.chunkSize&&(l=Math.min(this._start+this._config.chunkSize,this._input.size),r=i.call(r,this._start,l)),e.readAsText(r,this._config.encoding));n||this._chunkLoaded({target:{result:l}})},this._chunkLoaded=function(r){this._start+=this._config.chunkSize,this._finished=!this._config.chunkSize||this._start>=this._input.size,this.parseChunk(r.target.result)},this._chunkError=function(){this._sendError(e.error)}}function X(t){var e;K.call(this,t=t||{}),this.stream=function(i){return e=i,this._nextChunk()},this._nextChunk=function(){var i,n;if(!this._finished)return i=this._config.chunkSize,e=i?(n=e.substring(0,i),e.substring(i)):(n=e,""),this._finished=!e,this.parseChunk(n)}}function nt(t){K.call(this,t=t||{});var e=[],i=!0,n=!1;this.pause=function(){K.prototype.pause.apply(this,arguments),this._input.pause()},this.resume=function(){K.prototype.resume.apply(this,arguments),this._input.resume()},this.stream=function(r){this._input=r,this._input.on("data",this._streamData),this._input.on("end",this._streamEnd),this._input.on("error",this._streamError)},this._checkIsFinished=function(){n&&e.length===1&&(this._finished=!0)},this._nextChunk=function(){this._checkIsFinished(),e.length?this.parseChunk(e.shift()):i=!0},this._streamData=$(function(r){try{e.push(typeof r=="string"?r:r.toString(this._config.encoding)),i&&(i=!1,this._checkIsFinished(),this.parseChunk(e.shift()))}catch(l){this._streamError(l)}},this),this._streamError=$(function(r){this._streamCleanUp(),this._sendError(r)},this),this._streamEnd=$(function(){this._streamCleanUp(),n=!0,this._streamData("")},this),this._streamCleanUp=$(function(){this._input.removeListener("data",this._streamData),this._input.removeListener("end",this._streamEnd),this._input.removeListener("error",this._streamError)},this)}function ht(t){var e,i,n,r,l=Math.pow(2,53),v=-l,M=/^\s*-?(\d+\.?|\.\d+|\d+\.\d+)([eE][-+]?\d+)?\s*$/,w=/^((\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z)))$/,m=this,T=0,o=0,j=!1,u=!1,p=[],s={data:[],errors:[],meta:{}};function C(h){return t.skipEmptyLines==="greedy"?h.join("").trim()==="":h.length===1&&h[0].length===0}function R(){if(s&&n&&(z("Delimiter","UndetectableDelimiter","Unable to auto-detect delimiting character; defaulted to '"+a.DefaultDelimiter+"'"),n=!1),t.skipEmptyLines&&(s.data=s.data.filter(function(f){return!C(f)})),L()){let f=function(O,A){_(t.transformHeader)&&(O=t.transformHeader(O,A)),p.push(O)};if(s)if(Array.isArray(s.data[0])){for(var h=0;L()&&h<s.data.length;h++)s.data[h].forEach(f);s.data.splice(0,1)}else s.data.forEach(f)}function c(f,O){for(var A=t.header?{}:[],b=0;b<f.length;b++){var y=b,g=f[b];g=((U,d)=>{return S=U,t.dynamicTypingFunction&&t.dynamicTyping[S]===void 0&&(t.dynamicTyping[S]=t.dynamicTypingFunction(S)),(t.dynamicTyping[S]||t.dynamicTyping)===!0?d==="true"||d==="TRUE"||d!=="false"&&d!=="FALSE"&&((I=>{if(M.test(I)&&(I=parseFloat(I),v<I&&I<l))return 1})(d)?parseFloat(d):w.test(d)?new Date(d):d===""?null:d):d;var S})(y=t.header?b>=p.length?"__parsed_extra":p[b]:y,g=t.transform?t.transform(g,y):g),y==="__parsed_extra"?(A[y]=A[y]||[],A[y].push(g)):A[y]=g}return t.header&&(b>p.length?z("FieldMismatch","TooManyFields","Too many fields: expected "+p.length+" fields but parsed "+b,o+O):b<p.length&&z("FieldMismatch","TooFewFields","Too few fields: expected "+p.length+" fields but parsed "+b,o+O)),A}var E;s&&(t.header||t.dynamicTyping||t.transform)&&(E=1,!s.data.length||Array.isArray(s.data[0])?(s.data=s.data.map(c),E=s.data.length):s.data=c(s.data,0),t.header&&s.meta&&(s.meta.fields=p),o+=E)}function L(){return t.header&&p.length===0}function z(h,c,E,f){h={type:h,code:c,message:E},f!==void 0&&(h.row=f),s.errors.push(h)}_(t.step)&&(r=t.step,t.step=function(h){s=h,L()?R():(R(),s.data.length!==0&&(T+=h.data.length,t.preview&&T>t.preview?i.abort():(s.data=s.data[0],r(s,m))))}),this.parse=function(h,c,E){var f=t.quoteChar||'"';return t.newline||(t.newline=this.guessLineEndings(h,f)),n=!1,t.delimiter?_(t.delimiter)&&(t.delimiter=t.delimiter(h),s.meta.delimiter=t.delimiter):((f=((O,A,b,y,g)=>{var U,d,S,I;g=g||[","," ","|",";",a.RECORD_SEP,a.UNIT_SEP];for(var Z=0;Z<g.length;Z++){for(var W,tt=g[Z],F=0,D=0,x=0,q=(S=void 0,new st({comments:y,delimiter:tt,newline:A,preview:10}).parse(O)),H=0;H<q.data.length;H++)b&&C(q.data[H])?x++:(D+=W=q.data[H].length,S===void 0?S=W:0<W&&(F+=Math.abs(W-S),S=W));0<q.data.length&&(D/=q.data.length-x),(d===void 0||F<=d)&&(I===void 0||I<D)&&1.99<D&&(d=F,U=tt,I=D)}return{successful:!!(t.delimiter=U),bestDelimiter:U}})(h,t.newline,t.skipEmptyLines,t.comments,t.delimitersToGuess)).successful?t.delimiter=f.bestDelimiter:(n=!0,t.delimiter=a.DefaultDelimiter),s.meta.delimiter=t.delimiter),f=at(t),t.preview&&t.header&&f.preview++,e=h,i=new st(f),s=i.parse(e,c,E),R(),j?{meta:{paused:!0}}:s||{meta:{paused:!1}}},this.paused=function(){return j},this.pause=function(){j=!0,i.abort(),e=_(t.chunk)?"":e.substring(i.getCharIndex())},this.resume=function(){m.streamer._halted?(j=!1,m.streamer.parseChunk(e,!0)):setTimeout(m.resume,3)},this.aborted=function(){return u},this.abort=function(){u=!0,i.abort(),s.meta.aborted=!0,_(t.complete)&&t.complete(s),e=""},this.guessLineEndings=function(h,c){h=h.substring(0,1048576),c=new RegExp(V(c)+"([^]*?)"+V(c),"gm");var E=(h=h.replace(c,"")).split("\r");if(h=1<(c=h.split(`
7
7
  `)).length&&c[0].length<E[0].length,E.length===1||h)return`
8
8
  `;for(var f=0,O=0;O<E.length;O++)E[O][0]===`
9
9
  `&&f++;return f>=E.length/2?`\r
10
10
  `:"\r"}}function V(t){return t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function st(t){var e=(t=t||{}).delimiter,i=t.newline,n=t.comments,r=t.step,l=t.preview,v=t.fastMode,M=null,w=!1,m=t.quoteChar==null?'"':t.quoteChar,T=m;if(t.escapeChar!==void 0&&(T=t.escapeChar),(typeof e!="string"||-1<a.BAD_DELIMITERS.indexOf(e))&&(e=","),n===e)throw new Error("Comment character same as delimiter");n===!0?n="#":(typeof n!="string"||-1<a.BAD_DELIMITERS.indexOf(n))&&(n=!1),i!==`
11
11
  `&&i!=="\r"&&i!==`\r
12
12
  `&&(i=`
13
- `);var o=0,j=!1;this.parse=function(u,p,s){if(typeof u!="string")throw new Error("Input must be a string");var C=u.length,R=e.length,L=i.length,z=n.length,h=_(r),c=[],E=[],f=[],O=o=0;if(!u)return F();if(v||v!==!1&&u.indexOf(m)===-1){for(var A=u.split(i),b=0;b<A.length;b++){if(f=A[b],o+=f.length,b!==A.length-1)o+=i.length;else if(s)return F();if(!n||f.substring(0,z)!==n){if(h){if(c=[],I(f.split(e)),D(),j)return F()}else I(f.split(e));if(l&&l<=b)return c=c.slice(0,l),F(!0)}}return F()}for(var y=u.indexOf(e,o),g=u.indexOf(i,o),U=new RegExp(V(T)+V(m),"g"),d=u.indexOf(m,o);;)if(u[o]===m)for(d=o,o++;;){if((d=u.indexOf(m,d+1))===-1)return s||E.push({type:"Quotes",code:"MissingQuotes",message:"Quoted field unterminated",row:c.length,index:o}),W();if(d===C-1)return W(u.substring(o,d).replace(U,m));if(m===T&&u[d+1]===T)d++;else if(m===T||d===0||u[d-1]!==T){y!==-1&&y<d+1&&(y=u.indexOf(e,d+1));var S=Y((g=g!==-1&&g<d+1?u.indexOf(i,d+1):g)===-1?y:Math.min(y,g));if(u.substr(d+1+S,R)===e){f.push(u.substring(o,d).replace(U,m)),u[o=d+1+S+R]!==m&&(d=u.indexOf(m,o)),y=u.indexOf(e,o),g=u.indexOf(i,o);break}if(S=Y(g),u.substring(d+1+S,d+1+S+L)===i){if(f.push(u.substring(o,d).replace(U,m)),tt(d+1+S+L),y=u.indexOf(e,o),d=u.indexOf(m,o),h&&(D(),j))return F();if(l&&c.length>=l)return F(!0);break}E.push({type:"Quotes",code:"InvalidQuotes",message:"Trailing quote on quoted field is malformed",row:c.length,index:o}),d++}}else if(n&&f.length===0&&u.substring(o,o+z)===n){if(g===-1)return F();o=g+L,g=u.indexOf(i,o),y=u.indexOf(e,o)}else if(y!==-1&&(y<g||g===-1))f.push(u.substring(o,y)),o=y+R,y=u.indexOf(e,o);else{if(g===-1)break;if(f.push(u.substring(o,g)),tt(g+L),h&&(D(),j))return F();if(l&&c.length>=l)return F(!0)}return W();function I(x){c.push(x),O=o}function Y(x){return x!==-1&&(x=u.substring(d+1,x))&&x.trim()===""?x.length:0}function W(x){return s||(x===void 0&&(x=u.substring(o)),f.push(x),o=C,I(f),h&&D()),F()}function tt(x){o=x,I(f),f=[],g=u.indexOf(i,o)}function F(x){if(t.header&&!p&&c.length&&!w){var q=c[0],H=Object.create(null),ot=new Set(q);let ft=!1;for(let Z=0;Z<q.length;Z++){let N=q[Z];if(H[N=_(t.transformHeader)?t.transformHeader(N,Z):N]){let et,lt=H[N];for(;et=N+"_"+lt,lt++,ot.has(et););ot.add(et),q[Z]=et,H[N]++,ft=!0,(M=M===null?{}:M)[et]=N}else H[N]=1,q[Z]=N;ot.add(N)}ft&&console.warn("Duplicate headers found and renamed."),w=!0}return{data:c,errors:E,meta:{delimiter:e,linebreak:i,aborted:j,truncated:!!x,cursor:O+(p||0),renamedHeaders:M}}}function D(){r(F()),c=[],E=[]}},this.abort=function(){j=!0},this.getCharIndex=function(){return o}}function _t(t){var e=t.data,i=J[e.workerId],n=!1;if(e.error)i.userError(e.error,e.file);else if(e.results&&e.results.data){var r={abort:function(){n=!0,ut(e.workerId,{data:[],errors:[],meta:{aborted:!0}})},pause:dt,resume:dt};if(_(i.userStep)){for(var l=0;l<e.results.data.length&&(i.userStep({data:e.results.data[l],errors:e.results.errors,meta:e.results.meta},r),!n);l++);delete e.results}else _(i.userChunk)&&(i.userChunk(e.results,r,e.file),delete e.results)}e.finished&&!n&&ut(e.workerId,e.results)}function ut(t,e){var i=J[t];_(i.userComplete)&&i.userComplete(e),i.terminate(),delete J[t]}function dt(){throw new Error("Not implemented.")}function at(t){if(typeof t!="object"||t===null)return t;var e,i=Array.isArray(t)?[]:{};for(e in t)i[e]=at(t[e]);return i}function $(t,e){return function(){t.apply(e,arguments)}}function _(t){return typeof t=="function"}return a.parse=function(t,e){var i,n=(e=e||{}).dynamicTyping||!1;if(_(n)&&(e.dynamicTypingFunction=n,n={}),e.dynamicTyping=n,e.transform=!!_(e.transform)&&e.transform,!e.worker||!a.WORKERS_SUPPORTED)return n=null,a.NODE_STREAM_INPUT,typeof t=="string"?(t=(i=t).charCodeAt(0)!==65279?i:i.slice(1),n=new(e.download?it:X)(e)):t.readable===!0&&_(t.read)&&_(t.on)?n=new nt(e):(k.File&&t instanceof File||t instanceof Object)&&(n=new rt(e)),n.stream(t);(n=(()=>{var r,l,v;return!!a.WORKERS_SUPPORTED&&(l=k.URL||k.webkitURL||null,v=G.toString(),r=a.BLOB_URL||(a.BLOB_URL=l.createObjectURL(new Blob(["var global = (function() { if (typeof self !== 'undefined') { return self; } if (typeof window !== 'undefined') { return window; } if (typeof global !== 'undefined') { return global; } return {}; })(); global.IS_PAPA_WORKER=true; ","(",v,")();"],{type:"text/javascript"}))),(r=new k.Worker(r)).onmessage=_t,r.id=mt++,J[r.id]=r)})()).userStep=e.step,n.userChunk=e.chunk,n.userComplete=e.complete,n.userError=e.error,e.step=_(e.step),e.chunk=_(e.chunk),e.complete=_(e.complete),e.error=_(e.error),delete e.worker,n.postMessage({input:t,config:e,workerId:n.id})},a.unparse=function(t,e){var i=!1,n=!0,r=",",l=`\r
13
+ `);var o=0,j=!1;this.parse=function(u,p,s){if(typeof u!="string")throw new Error("Input must be a string");var C=u.length,R=e.length,L=i.length,z=n.length,h=_(r),c=[],E=[],f=[],O=o=0;if(!u)return F();if(v||v!==!1&&u.indexOf(m)===-1){for(var A=u.split(i),b=0;b<A.length;b++){if(f=A[b],o+=f.length,b!==A.length-1)o+=i.length;else if(s)return F();if(!n||f.substring(0,z)!==n){if(h){if(c=[],I(f.split(e)),D(),j)return F()}else I(f.split(e));if(l&&l<=b)return c=c.slice(0,l),F(!0)}}return F()}for(var y=u.indexOf(e,o),g=u.indexOf(i,o),U=new RegExp(V(T)+V(m),"g"),d=u.indexOf(m,o);;)if(u[o]===m)for(d=o,o++;;){if((d=u.indexOf(m,d+1))===-1)return s||E.push({type:"Quotes",code:"MissingQuotes",message:"Quoted field unterminated",row:c.length,index:o}),W();if(d===C-1)return W(u.substring(o,d).replace(U,m));if(m===T&&u[d+1]===T)d++;else if(m===T||d===0||u[d-1]!==T){y!==-1&&y<d+1&&(y=u.indexOf(e,d+1));var S=Z((g=g!==-1&&g<d+1?u.indexOf(i,d+1):g)===-1?y:Math.min(y,g));if(u.substr(d+1+S,R)===e){f.push(u.substring(o,d).replace(U,m)),u[o=d+1+S+R]!==m&&(d=u.indexOf(m,o)),y=u.indexOf(e,o),g=u.indexOf(i,o);break}if(S=Z(g),u.substring(d+1+S,d+1+S+L)===i){if(f.push(u.substring(o,d).replace(U,m)),tt(d+1+S+L),y=u.indexOf(e,o),d=u.indexOf(m,o),h&&(D(),j))return F();if(l&&c.length>=l)return F(!0);break}E.push({type:"Quotes",code:"InvalidQuotes",message:"Trailing quote on quoted field is malformed",row:c.length,index:o}),d++}}else if(n&&f.length===0&&u.substring(o,o+z)===n){if(g===-1)return F();o=g+L,g=u.indexOf(i,o),y=u.indexOf(e,o)}else if(y!==-1&&(y<g||g===-1))f.push(u.substring(o,y)),o=y+R,y=u.indexOf(e,o);else{if(g===-1)break;if(f.push(u.substring(o,g)),tt(g+L),h&&(D(),j))return F();if(l&&c.length>=l)return F(!0)}return W();function I(x){c.push(x),O=o}function Z(x){return x!==-1&&(x=u.substring(d+1,x))&&x.trim()===""?x.length:0}function W(x){return s||(x===void 0&&(x=u.substring(o)),f.push(x),o=C,I(f),h&&D()),F()}function tt(x){o=x,I(f),f=[],g=u.indexOf(i,o)}function F(x){if(t.header&&!p&&c.length&&!w){var q=c[0],H=Object.create(null),ot=new Set(q);let ft=!1;for(let G=0;G<q.length;G++){let N=q[G];if(H[N=_(t.transformHeader)?t.transformHeader(N,G):N]){let et,lt=H[N];for(;et=N+"_"+lt,lt++,ot.has(et););ot.add(et),q[G]=et,H[N]++,ft=!0,(M=M===null?{}:M)[et]=N}else H[N]=1,q[G]=N;ot.add(N)}ft&&console.warn("Duplicate headers found and renamed."),w=!0}return{data:c,errors:E,meta:{delimiter:e,linebreak:i,aborted:j,truncated:!!x,cursor:O+(p||0),renamedHeaders:M}}}function D(){r(F()),c=[],E=[]}},this.abort=function(){j=!0},this.getCharIndex=function(){return o}}function _t(t){var e=t.data,i=J[e.workerId],n=!1;if(e.error)i.userError(e.error,e.file);else if(e.results&&e.results.data){var r={abort:function(){n=!0,ut(e.workerId,{data:[],errors:[],meta:{aborted:!0}})},pause:dt,resume:dt};if(_(i.userStep)){for(var l=0;l<e.results.data.length&&(i.userStep({data:e.results.data[l],errors:e.results.errors,meta:e.results.meta},r),!n);l++);delete e.results}else _(i.userChunk)&&(i.userChunk(e.results,r,e.file),delete e.results)}e.finished&&!n&&ut(e.workerId,e.results)}function ut(t,e){var i=J[t];_(i.userComplete)&&i.userComplete(e),i.terminate(),delete J[t]}function dt(){throw new Error("Not implemented.")}function at(t){if(typeof t!="object"||t===null)return t;var e,i=Array.isArray(t)?[]:{};for(e in t)i[e]=at(t[e]);return i}function $(t,e){return function(){t.apply(e,arguments)}}function _(t){return typeof t=="function"}return a.parse=function(t,e){var i,n=(e=e||{}).dynamicTyping||!1;if(_(n)&&(e.dynamicTypingFunction=n,n={}),e.dynamicTyping=n,e.transform=!!_(e.transform)&&e.transform,!e.worker||!a.WORKERS_SUPPORTED)return n=null,a.NODE_STREAM_INPUT,typeof t=="string"?(t=(i=t).charCodeAt(0)!==65279?i:i.slice(1),n=new(e.download?it:X)(e)):t.readable===!0&&_(t.read)&&_(t.on)?n=new nt(e):(k.File&&t instanceof File||t instanceof Object)&&(n=new rt(e)),n.stream(t);(n=(()=>{var r,l,v;return!!a.WORKERS_SUPPORTED&&(l=k.URL||k.webkitURL||null,v=Y.toString(),r=a.BLOB_URL||(a.BLOB_URL=l.createObjectURL(new Blob(["var global = (function() { if (typeof self !== 'undefined') { return self; } if (typeof window !== 'undefined') { return window; } if (typeof global !== 'undefined') { return global; } return {}; })(); global.IS_PAPA_WORKER=true; ","(",v,")();"],{type:"text/javascript"}))),(r=new k.Worker(r)).onmessage=_t,r.id=mt++,J[r.id]=r)})()).userStep=e.step,n.userChunk=e.chunk,n.userComplete=e.complete,n.userError=e.error,e.step=_(e.step),e.chunk=_(e.chunk),e.complete=_(e.complete),e.error=_(e.error),delete e.worker,n.postMessage({input:t,config:e,workerId:n.id})},a.unparse=function(t,e){var i=!1,n=!0,r=",",l=`\r
14
14
  `,v='"',M=v+v,w=!1,m=null,T=!1,o=((()=>{if(typeof e=="object"){if(typeof e.delimiter!="string"||a.BAD_DELIMITERS.filter(function(p){return e.delimiter.indexOf(p)!==-1}).length||(r=e.delimiter),typeof e.quotes!="boolean"&&typeof e.quotes!="function"&&!Array.isArray(e.quotes)||(i=e.quotes),typeof e.skipEmptyLines!="boolean"&&typeof e.skipEmptyLines!="string"||(w=e.skipEmptyLines),typeof e.newline=="string"&&(l=e.newline),typeof e.quoteChar=="string"&&(v=e.quoteChar),typeof e.header=="boolean"&&(n=e.header),Array.isArray(e.columns)){if(e.columns.length===0)throw new Error("Option columns is empty");m=e.columns}e.escapeChar!==void 0&&(M=e.escapeChar+v),e.escapeFormulae instanceof RegExp?T=e.escapeFormulae:typeof e.escapeFormulae=="boolean"&&e.escapeFormulae&&(T=/^[=+\-@\t\r].*$/)}})(),new RegExp(V(v),"g"));if(typeof t=="string"&&(t=JSON.parse(t)),Array.isArray(t)){if(!t.length||Array.isArray(t[0]))return j(null,t,w);if(typeof t[0]=="object")return j(m||Object.keys(t[0]),t,w)}else if(typeof t=="object")return typeof t.data=="string"&&(t.data=JSON.parse(t.data)),Array.isArray(t.data)&&(t.fields||(t.fields=t.meta&&t.meta.fields||m),t.fields||(t.fields=Array.isArray(t.data[0])?t.fields:typeof t.data[0]=="object"?Object.keys(t.data[0]):[]),Array.isArray(t.data[0])||typeof t.data[0]=="object"||(t.data=[t.data])),j(t.fields||[],t.data||[],w);throw new Error("Unable to serialize unrecognized input");function j(p,s,C){var R="",L=(typeof p=="string"&&(p=JSON.parse(p)),typeof s=="string"&&(s=JSON.parse(s)),Array.isArray(p)&&0<p.length),z=!Array.isArray(s[0]);if(L&&n){for(var h=0;h<p.length;h++)0<h&&(R+=r),R+=u(p[h],h);0<s.length&&(R+=l)}for(var c=0;c<s.length;c++){var E=(L?p:s[c]).length,f=!1,O=L?Object.keys(s[c]).length===0:s[c].length===0;if(C&&!L&&(f=C==="greedy"?s[c].join("").trim()==="":s[c].length===1&&s[c][0].length===0),C==="greedy"&&L){for(var A=[],b=0;b<E;b++){var y=z?p[b]:b;A.push(s[c][y])}f=A.join("").trim()===""}if(!f){for(var g=0;g<E;g++){0<g&&!O&&(R+=r);var U=L&&z?p[g]:g;R+=u(s[c][U],g)}c<s.length-1&&(!C||0<E&&!O)&&(R+=l)}}return R}function u(p,s){var C,R;return p==null?"":p.constructor===Date?JSON.stringify(p).slice(1,25):(R=!1,T&&typeof p=="string"&&T.test(p)&&(p="'"+p,R=!0),C=p.toString().replace(o,M),(R=R||i===!0||typeof i=="function"&&i(p,s)||Array.isArray(i)&&i[s]||((L,z)=>{for(var h=0;h<z.length;h++)if(-1<L.indexOf(z[h]))return!0;return!1})(C,a.BAD_DELIMITERS)||-1<C.indexOf(r)||C.charAt(0)===" "||C.charAt(C.length-1)===" ")?v+C+v:C)}},a.RECORD_SEP="",a.UNIT_SEP="",a.BYTE_ORDER_MARK="\uFEFF",a.BAD_DELIMITERS=["\r",`
15
- `,'"',a.BYTE_ORDER_MARK],a.WORKERS_SUPPORTED=!P&&!!k.Worker,a.NODE_STREAM_INPUT=1,a.LocalChunkSize=10485760,a.RemoteChunkSize=5242880,a.DefaultDelimiter=",",a.Parser=st,a.ParserHandle=ht,a.NetworkStreamer=it,a.FileStreamer=rt,a.StringStreamer=X,a.ReadableStreamStreamer=nt,k.jQuery&&((Q=k.jQuery).fn.parse=function(t){var e=t.config||{},i=[];return this.each(function(l){if(Q(this).prop("tagName").toUpperCase()!=="INPUT"||Q(this).attr("type").toLowerCase()!=="file"||!k.FileReader||!this.files||this.files.length===0)return!0;for(var v=0;v<this.files.length;v++)i.push({file:this.files[v],inputElem:this,instanceConfig:Q.extend({},e)})}),n(),this;function n(){if(i.length===0)_(t.complete)&&t.complete();else{var l,v,M,w=i[0];if(_(t.before)){var m=t.before(w.file,w.inputElem);if(typeof m=="object"){if(m.action==="abort")return l=w.file,v=w.inputElem,M=m.reason,void(_(t.error)&&t.error({name:"AbortError"},l,v,M));if(m.action==="skip")return void r();typeof m.config=="object"&&(w.instanceConfig=Q.extend(w.instanceConfig,m.config))}else if(m==="skip")return void r()}var T=w.instanceConfig.complete;w.instanceConfig.complete=function(o){_(T)&&T(o,w.file,w.inputElem),r()},a.parse(w.file,w.instanceConfig)}}function r(){i.splice(0,1),n()}}),B&&(k.onmessage=function(t){t=t.data,a.WORKER_ID===void 0&&t&&(a.WORKER_ID=t.workerId),typeof t.input=="string"?k.postMessage({workerId:a.WORKER_ID,results:a.parse(t.input,t.config),finished:!0}):(k.File&&t.input instanceof File||t.input instanceof Object)&&(t=a.parse(t.input,t.config))&&k.postMessage({workerId:a.WORKER_ID,results:t,finished:!0})}),(it.prototype=Object.create(K.prototype)).constructor=it,(rt.prototype=Object.create(K.prototype)).constructor=rt,(X.prototype=Object.create(X.prototype)).constructor=X,(nt.prototype=Object.create(K.prototype)).constructor=nt,a}()),pt.exports);const kt=function(G,Q){for(var k=0;k<Q.length;k++){const P=Q[k];if(typeof P!="string"&&!Array.isArray(P)){for(const B in P)if(B!=="default"&&!(B in G)){const J=Object.getOwnPropertyDescriptor(P,B);J&&Object.defineProperty(G,B,J.get?J:{enumerable:!0,get:()=>P[B]})}}}return Object.freeze(Object.defineProperty(G,Symbol.toStringTag,{value:"Module"}))}({__proto__:null,default:yt.Yg(gt)},[gt]);exports.p=kt;
15
+ `,'"',a.BYTE_ORDER_MARK],a.WORKERS_SUPPORTED=!P&&!!k.Worker,a.NODE_STREAM_INPUT=1,a.LocalChunkSize=10485760,a.RemoteChunkSize=5242880,a.DefaultDelimiter=",",a.Parser=st,a.ParserHandle=ht,a.NetworkStreamer=it,a.FileStreamer=rt,a.StringStreamer=X,a.ReadableStreamStreamer=nt,k.jQuery&&((Q=k.jQuery).fn.parse=function(t){var e=t.config||{},i=[];return this.each(function(l){if(Q(this).prop("tagName").toUpperCase()!=="INPUT"||Q(this).attr("type").toLowerCase()!=="file"||!k.FileReader||!this.files||this.files.length===0)return!0;for(var v=0;v<this.files.length;v++)i.push({file:this.files[v],inputElem:this,instanceConfig:Q.extend({},e)})}),n(),this;function n(){if(i.length===0)_(t.complete)&&t.complete();else{var l,v,M,w=i[0];if(_(t.before)){var m=t.before(w.file,w.inputElem);if(typeof m=="object"){if(m.action==="abort")return l=w.file,v=w.inputElem,M=m.reason,void(_(t.error)&&t.error({name:"AbortError"},l,v,M));if(m.action==="skip")return void r();typeof m.config=="object"&&(w.instanceConfig=Q.extend(w.instanceConfig,m.config))}else if(m==="skip")return void r()}var T=w.instanceConfig.complete;w.instanceConfig.complete=function(o){_(T)&&T(o,w.file,w.inputElem),r()},a.parse(w.file,w.instanceConfig)}}function r(){i.splice(0,1),n()}}),B&&(k.onmessage=function(t){t=t.data,a.WORKER_ID===void 0&&t&&(a.WORKER_ID=t.workerId),typeof t.input=="string"?k.postMessage({workerId:a.WORKER_ID,results:a.parse(t.input,t.config),finished:!0}):(k.File&&t.input instanceof File||t.input instanceof Object)&&(t=a.parse(t.input,t.config))&&k.postMessage({workerId:a.WORKER_ID,results:t,finished:!0})}),(it.prototype=Object.create(K.prototype)).constructor=it,(rt.prototype=Object.create(K.prototype)).constructor=rt,(X.prototype=Object.create(X.prototype)).constructor=X,(nt.prototype=Object.create(K.prototype)).constructor=nt,a}()),pt.exports);const kt=function(Y,Q){for(var k=0;k<Q.length;k++){const P=Q[k];if(typeof P!="string"&&!Array.isArray(P)){for(const B in P)if(B!=="default"&&!(B in Y)){const J=Object.getOwnPropertyDescriptor(P,B);J&&Object.defineProperty(Y,B,J.get?J:{enumerable:!0,get:()=>P[B]})}}}return Object.freeze(Object.defineProperty(Y,Symbol.toStringTag,{value:"Module"}))}({__proto__:null,default:yt.yg(gt)},[gt]);exports.p=kt;
@@ -1,5 +1,5 @@
1
1
  "use strict";/**
2
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.5.1
2
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.6.1
3
3
  *
4
4
  * (C) 2025-present SheetXL Inc. & Michael T. Ford
5
5
  * License: The license can be found at https://www.sheetxl.com/license.
@@ -1,5 +1,5 @@
1
1
  "use strict";/**
2
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.5.1
2
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.6.1
3
3
  *
4
4
  * (C) 2025-present SheetXL Inc. & Michael T. Ford
5
5
  * License: The license can be found at https://www.sheetxl.com/license.