@sheetxl/studio-vanilla 0.7.7 → 0.7.9

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 (191) hide show
  1. package/browser/cjs/{DQPqvdF3RMR6ocN9.cjs → -jRNNdUXwoXaLfLk.cjs} +3 -3
  2. package/browser/cjs/{BneuIxiCQWMGZKpu.cjs → 28ueRdtTlxneL0gM.cjs} +2 -2
  3. package/browser/cjs/{B-DRcuaOZUOS5AMU.cjs → 2KLpsnKefVyEmZ2O.cjs} +1 -1
  4. package/browser/cjs/{Yf7jJGAVX09ZsdB5.cjs → 4602FFTU0gpad3xf.cjs} +1 -1
  5. package/browser/cjs/{y7Bomd49fYwjmegW.cjs → 4HQQsZp_Dtpou5d-.cjs} +1 -1
  6. package/browser/cjs/B17LiG4dyBmP6TrN.cjs +32 -0
  7. package/browser/cjs/{tru9ZJTmej20u6bS.cjs → B1b4yakNGFFm6RKb.cjs} +1 -1
  8. package/browser/cjs/{CVJNmAx7_1hAsGM-.cjs → B3zn4UACSeM23IZD.cjs} +1 -1
  9. package/browser/cjs/{DR1070UPEnh9vSgI.cjs → BH4rNjGU9wYFc-uC.cjs} +1 -1
  10. package/browser/cjs/{BBd3KPjI9z4IEpfd.cjs → BLkZ10BgGSKfXn8i.cjs} +2 -2
  11. package/browser/cjs/{dwwTAvxsASYxLV2-.cjs → BO3zSl1fYMj4HEPM.cjs} +1 -1
  12. package/browser/cjs/{CzUFi87fwOEv2c_X.cjs → BSNMVqk1t0UhVqdb.cjs} +1 -1
  13. package/browser/cjs/{tp3T4Y4k6rqq119C.cjs → BZ7A3G8yvWBEbPQg.cjs} +1 -1
  14. package/browser/cjs/{DkLx6pMV8ccL8z_3.cjs → BeKopOONXyBBKG_1.cjs} +2 -2
  15. package/browser/cjs/{TIGLxnYSTlonzaOE.cjs → Bi3eyLr3xw96w_Ec.cjs} +1 -1
  16. package/browser/cjs/{CDbUGxSLtIqQcFJA.cjs → BtXW0ExoOeHBxuRe.cjs} +2 -2
  17. package/browser/cjs/{CMH9g70xbNsRmba4.cjs → BuXXymW3NvKvPMkQ.cjs} +2 -2
  18. package/browser/cjs/{By_M12tC09G2LrpY.cjs → BzWBS9dKcCw5_3VL.cjs} +1 -1
  19. package/browser/cjs/{Bm3QhiCF0C1LZr4q.cjs → C-hbHl6SPjfJFws_.cjs} +1 -1
  20. package/browser/cjs/{CBX3gO9WQIHQl8He.cjs → C3Fhn8b2S1z6xZCM.cjs} +1 -1
  21. package/browser/cjs/{D2tXQhW7Dvnm5yAX.cjs → C7XUWFBNagw3WqkA.cjs} +3 -3
  22. package/browser/cjs/{BIZ9GLrC0LfBPG_l.cjs → CFajgGuqITaobO3F.cjs} +2 -2
  23. package/browser/cjs/{PbtPWuRp8TEGAKWd.cjs → Cae33-B3bPeB4Lry.cjs} +1 -1
  24. package/browser/cjs/Codn0RTBGbMdTfjS.cjs +11 -0
  25. package/browser/cjs/{BoYIRg5QNVKrlO1o.cjs → CpuJvPRM-ZfIbNLP.cjs} +1 -1
  26. package/browser/cjs/{EVU5UM5IoTkYikI3.cjs → CsXxIP9lLu9aFL3J.cjs} +1 -1
  27. package/browser/cjs/{1Dnt0ANTHdjxETSZ.cjs → CvShkDwGyhYRrNiN.cjs} +1 -1
  28. package/browser/cjs/{DYEwCN0j9-ut9msc.cjs → D55IuXpDG_yOqLOr.cjs} +1 -1
  29. package/browser/cjs/{B8TAKROBRJF-L83B.cjs → D8X6TP0dbfp_I68L.cjs} +2 -2
  30. package/browser/cjs/{DhPAcnVndNoNTyEG.cjs → DBIXaKPrKqoX5Ej0.cjs} +1 -1
  31. package/browser/cjs/DMkg41_NWFmCCTPS.cjs +6 -0
  32. package/browser/cjs/{D1NKZY8fEGk-xu0l.cjs → DRWk3O67719LopNw.cjs} +1 -1
  33. package/browser/cjs/{BSdEA609H-d2dczO.cjs → DWnnzbiYZqMYfOtO.cjs} +2 -2
  34. package/browser/cjs/{D0hBhQDMuGpldHoB.cjs → DXz9_M2oCUFeOvd6.cjs} +1 -1
  35. package/browser/cjs/{BKYGUco6ubqF6p08.cjs → DaQSG2NK8zorWz4p.cjs} +3 -3
  36. package/browser/cjs/{AFGPXXJy4XT9a4sl.cjs → Dd6hGYHS3cbMBbXA.cjs} +1 -1
  37. package/browser/cjs/{Du7lT1PTtIz-NYNf.cjs → DdQwp9nBpZcoIdAJ.cjs} +1 -1
  38. package/browser/cjs/{BF7e6idd5EAbSe-5.cjs → Ddyt1ktuWSMrEkIX.cjs} +2 -2
  39. package/browser/cjs/{D9q3XIB_Yfv-93Xd.cjs → DjKwZTEjS8bDI6vB.cjs} +2 -2
  40. package/browser/cjs/{BFibWMggm34JCRTQ.cjs → DmP5P4nD6s_T0R0_.cjs} +2 -2
  41. package/browser/cjs/{B7BbvcfK1qDzaFkU.cjs → DoIc8TRrn9BXtvZS.cjs} +2 -2
  42. package/browser/cjs/{CbuHVEgHJ-PN2nTC.cjs → DsvmywyXGwBNM-Zk.cjs} +1 -1
  43. package/browser/cjs/{Bt7_s2Gsv6kQuZ8n.cjs → DtcVgpdytT29BDrX.cjs} +1 -1
  44. package/browser/cjs/{DUGnz-6DG2d64bPN.cjs → DxEYABfvkvMQXjkd.cjs} +1 -1
  45. package/browser/cjs/{CRZbe0vrznX0gec4.cjs → Dy8reGDChpxfnCJ_.cjs} +2 -2
  46. package/browser/cjs/{CzmekfFZOipvm9p8.cjs → Dyfld4qTyM2o0k8p.cjs} +4 -4
  47. package/browser/cjs/{BLBDkH1kQ7yBroDQ.cjs → DzdNT91Z6wp2t1ln.cjs} +2 -2
  48. package/browser/cjs/GPgjyt_HTe2fOhPL.cjs +327 -0
  49. package/browser/cjs/{Va0pmZgEdlde9hBK.cjs → LmL4erfidoyTg6Rn.cjs} +4 -4
  50. package/browser/cjs/{CGbGQK87LoR7syZ2.cjs → VCKB7r9Cy9W_Y2eC.cjs} +3 -3
  51. package/browser/cjs/{CU9eF67hofMTnlvg.cjs → ax00EVAzg1-wEeli.cjs} +1 -1
  52. package/browser/cjs/{CVhKqGf9u7VY_SdR.cjs → fsmwv8vXa5GMorQG.cjs} +1 -1
  53. package/browser/cjs/{C4pHJGPOoYRTdbji.cjs → gGyygQPVOUdpU2hb.cjs} +1 -1
  54. package/browser/cjs/index.cjs +2 -2
  55. package/browser/cjs/{DDoFIZezJ5QxEijC.cjs → mphO2n0YWLCwl-y3.cjs} +5 -5
  56. package/browser/cjs/{C8FAAtGuznwvkc3K.cjs → v6JQur9NiLDO0Ktv.cjs} +1 -1
  57. package/browser/cjs/{BJRQKCTg7qCzDnCi.cjs → w5JxRpgiKOvh5tFM.cjs} +1 -1
  58. package/browser/cjs/{BpZPEUJROF3R8X8o.cjs → zbjyZT6o6ykMIKBr.cjs} +1 -1
  59. package/browser/esm/B1o6XtsajKzSB_Ee.mjs +11 -0
  60. package/browser/esm/{Cwm7vw41FBiyBap8.mjs → B2niIQY0fIjYfoM9.mjs} +1 -1
  61. package/{cdn/assets/CIgIp7emlh-h5Tkp.js → browser/esm/BC4z07NIqrag6LK1.mjs} +1 -1
  62. package/browser/esm/{k-WybkgL_HctOBZL.mjs → BJDgDeqzt7VmeRxD.mjs} +4 -4
  63. package/browser/esm/{BD8BczjPJG9W-Wwx.mjs → BOTc2W6k6GWqCVcp.mjs} +1 -1
  64. package/{cdn/assets/HKjRvq9Afdm8X4IO.js → browser/esm/BRQ5s5G8SIeFcq2K.mjs} +1 -1
  65. package/browser/esm/{pVwSjWKIVDRYwmKS.mjs → BRcmFAIQ2SPbJ-XM.mjs} +4 -4
  66. package/browser/esm/{Cljc33Z0WZxiQD48.mjs → BVZ3XoT7zKr_Qy4r.mjs} +3 -3
  67. package/{cdn/assets/kOyTOCy58irfQ9hf.js → browser/esm/BbFJbFt12fFxLxgW.mjs} +1 -1
  68. package/browser/esm/{Cyefe5RSNySP6tcT.mjs → BcoTAKeH3O9xhPgO.mjs} +2 -2
  69. package/browser/esm/{BRK9zryqPcYCdqaH.mjs → Bd8Yvpc8OayD21zg.mjs} +1 -1
  70. package/{cdn/assets/CWFbko7h7uYHcSb4.js → browser/esm/BitbWBCvLcgf5_k8.mjs} +1 -1
  71. package/browser/esm/{C5zdw4KK0DA7Xxpv.mjs → BlRskWTo6RyVPYhw.mjs} +3 -3
  72. package/browser/esm/{DdzZuvu4slMZd3sW.mjs → Bq2-_FvbBSnQ1mRA.mjs} +4 -4
  73. package/browser/esm/{w4rJuLfuST6h0X6K.mjs → BvxCl7fyU6J4RrDH.mjs} +2 -2
  74. package/browser/esm/{DTbZV7szPb-PidC9.mjs → C4ESbAWre7JpSMEG.mjs} +6 -6
  75. package/browser/esm/{C3WMLOorMvTnqgVk.mjs → CHKwHt2qLiyuOTYD.mjs} +12 -12
  76. package/browser/esm/{DViS2gssDOJR2t_d.mjs → CKPAoMVPiyx_7ozH.mjs} +1 -1
  77. package/{cdn/assets/DRwGtmg7N0TBtF7R.js → browser/esm/CO0-isMoTEJCBD3A.mjs} +1 -1
  78. package/browser/esm/{COLScMrSH92V1QBs.mjs → CPIVxYDjYBGrlKzN.mjs} +1 -1
  79. package/browser/esm/{IymOl6PCKM5cdD59.mjs → CRoUrsxPF-3VB2tH.mjs} +15696 -15498
  80. package/browser/esm/{-dzuo_Wj7VBnGDUj.mjs → CTls6jXHDizCTQqa.mjs} +1 -1
  81. package/browser/esm/{TRoNOaX9xm77vhNo.mjs → CTnPqIJ_buVJyq7v.mjs} +1 -1
  82. package/{cdn/assets/CLZ1oiAIiDhUh4ww.js → browser/esm/C_XaNFGBTyUBeyCT.mjs} +1 -1
  83. package/browser/esm/{pimj6QzQFEVJ2YR8.mjs → CbWw3rzixUR8EDhs.mjs} +2 -2
  84. package/browser/esm/{LmdWOZpWumKhbIeQ.mjs → CfnYVg2Fcignoanv.mjs} +1 -1
  85. package/{cdn/assets/B9WgUACq7BGa52o0.js → browser/esm/CjNqjvPAYIJ1Txzc.mjs} +1 -1
  86. package/browser/esm/{Bf7V3mrqMy2JcLj6.mjs → CjbmSAjgptXZOZub.mjs} +23 -23
  87. package/{cdn/assets/B3XKN3j6OGaC2PeU.js → browser/esm/Cnao9JBvOgVnFQZP.mjs} +2 -2
  88. package/browser/esm/{CX2j3a6eI-W-vHAV.mjs → Cnj0U7PbRaaA2bEF.mjs} +4 -4
  89. package/browser/esm/{Cgu3L7rWlUfKbFNC.mjs → CoZ8jQyUjenp9yNL.mjs} +2 -2
  90. package/browser/esm/{bfKo7TSL68OC9OZ8.mjs → CqqOAWyXxM1Y7xHg.mjs} +13 -13
  91. package/browser/esm/{DU3arW-SqDtRv3t4.mjs → CrW2aOCLgiCxGleL.mjs} +79 -79
  92. package/browser/esm/{Dv_qFZLVmZ4aVY0G.mjs → Crulydg0c0mpXHIv.mjs} +1 -1
  93. package/{cdn/assets/CSjCyt7aceQtuuQH.js → browser/esm/Cw7cbwion0vbFHQC.mjs} +1 -1
  94. package/{cdn/assets/hWAXOspM00OjNXxf.js → browser/esm/CyAL0Nk6PrxryVRw.mjs} +1 -1
  95. package/browser/esm/{F9Cwy_aefTGi6WoG.mjs → CyiZ9q3nsOxuzkPs.mjs} +1 -1
  96. package/browser/esm/{DDUE_Wib21ixQxd9.mjs → D31oMNVEevFiSSu3.mjs} +1 -1
  97. package/{cdn/assets/CAWVgaadqOqZLqMd.js → browser/esm/D9mNgZwIB18h1gd3.mjs} +1 -1
  98. package/browser/esm/{Ct4D5jD2LgwWNypV.mjs → DB6k1pDUo7QnUyag.mjs} +1 -1
  99. package/browser/esm/{DXJ2nb7A-gJDYaOg.mjs → DCGMWZ69nZwmiyhn.mjs} +1 -1
  100. package/browser/esm/{D0bkJedCy5YwEz99.mjs → DIPL9v_lUxBLj7uL.mjs} +1 -1
  101. package/browser/esm/{DOpGO4l1g7gO5ekA.mjs → DSAXrKks652VbNll.mjs} +77 -77
  102. package/browser/esm/{BV7PHP-zb2ezFZwN.mjs → DT2Nk1w2teUvSMOy.mjs} +1 -1
  103. package/{cdn/assets/CDd7H-0sNO3a6_HD.js → browser/esm/DaH--fxsswaRgEcF.mjs} +1 -1
  104. package/browser/esm/{qD_ZNq2dhIRKdKRj.mjs → DuOp_v2dInrQQz2J.mjs} +4 -4
  105. package/browser/esm/{BFkCRejnNGToEAbq.mjs → J1nGYMTPHDl0Dtk1.mjs} +2 -2
  106. package/{cdn/assets/C2B6ZZypFHHcBtgN.js → browser/esm/JjYKx_AWKoQp1iP5.mjs} +1 -1
  107. package/{cdn/assets/DSGhERiou-5Ibeko.js → browser/esm/PhwSfaFQy7vsmHQH.mjs} +1 -1
  108. package/{cdn/assets/CfIlb4oS-hEuUXmr.js → browser/esm/_GsOJmagfG9vJ3_O.mjs} +1 -1
  109. package/browser/esm/{CX8Vw2K-gX-Geldr.mjs → iQsD2LQQtFWVdA0k.mjs} +3 -3
  110. package/browser/esm/index.mjs +3 -3
  111. package/browser/esm/{DpdapIkgiOkLU_jc.mjs → kjrrmIaLKG4Y49Rj.mjs} +2 -2
  112. package/browser/esm/{jHLE9-xV-wivIQzI.mjs → lgPHHQHWLWGNnYGO.mjs} +1 -1
  113. package/browser/esm/{CIePuRxeXL-pCqr6.mjs → pRXKDt8_bIadmeiR.mjs} +1 -1
  114. package/browser/esm/{CMTee4KqDOZMxil0.mjs → rltHJRjXNQqhdulf.mjs} +7 -7
  115. package/browser/esm/{DC1hfAh_7PsrjS9S.mjs → vrPREn1FiY2DXcCj.mjs} +1 -1
  116. package/browser/esm/w4952094eLDa6Dfm.mjs +48 -0
  117. package/cdn/assets/{C6H7cXzfs7xQB4iW.js → AuxAIQlEjIRo3x4L.js} +4 -4
  118. package/cdn/assets/{BQQZnaZ5HH_q0teH.js → B-fEw_RqtU2JwlFR.js} +2 -2
  119. package/cdn/assets/{D3G0eWNgbOrHH0SS.js → B1eWg6aDktGH7WwS.js} +79 -79
  120. package/cdn/assets/{Dvnx0PSv_jiWsIKe.js → B2MR39qRXcxeC2TY.js} +7 -7
  121. package/cdn/assets/{Cwm7vw41FBiyBap8.js → B2niIQY0fIjYfoM9.js} +1 -1
  122. package/{browser/esm/CIgIp7emlh-h5Tkp.mjs → cdn/assets/BC4z07NIqrag6LK1.js} +1 -1
  123. package/cdn/assets/{BD8BczjPJG9W-Wwx.js → BOTc2W6k6GWqCVcp.js} +1 -1
  124. package/{browser/esm/HKjRvq9Afdm8X4IO.mjs → cdn/assets/BRQ5s5G8SIeFcq2K.js} +1 -1
  125. package/{browser/esm/kOyTOCy58irfQ9hf.mjs → cdn/assets/BbFJbFt12fFxLxgW.js} +1 -1
  126. package/cdn/assets/{BRK9zryqPcYCdqaH.js → Bd8Yvpc8OayD21zg.js} +1 -1
  127. package/{browser/esm/CWFbko7h7uYHcSb4.mjs → cdn/assets/BitbWBCvLcgf5_k8.js} +1 -1
  128. package/cdn/assets/BlASKis61iVryoIm.js +41 -0
  129. package/cdn/assets/{CpiCssHUOXBUIN_K.js → BlAVbL9PoGGN-eLF.js} +51 -51
  130. package/cdn/assets/{BozBaszO14QWRzV5.js → Budczm2E0D1oDtxb.js} +34 -34
  131. package/cdn/assets/{C9zuuQStgoOfugfQ.js → BxXfkgY3YQZkihsr.js} +2 -2
  132. package/cdn/assets/{z8mH2SruNZNb285Q.js → C5vXwUdGo1QPuz37.js} +2 -2
  133. package/cdn/assets/{HpghV8z9BTeDJHo1.js → CAaDybJknuY5Rk4X.js} +12 -12
  134. package/cdn/assets/{DViS2gssDOJR2t_d.js → CKPAoMVPiyx_7ozH.js} +1 -1
  135. package/{browser/esm/DRwGtmg7N0TBtF7R.mjs → cdn/assets/CO0-isMoTEJCBD3A.js} +1 -1
  136. package/cdn/assets/{CfodwjJ4We7P3FOq.js → CPpuNRDowyacHTZD.js} +1 -1
  137. package/cdn/assets/{DfxyIgqC_EStNQyw.js → CQX8wcJJrnAOBgqs.js} +8 -8
  138. package/cdn/assets/{CN-ih7whNYnQh8PD.js → CRpTXJTj6-teqdEk.js} +3 -3
  139. package/cdn/assets/{-dzuo_Wj7VBnGDUj.js → CTls6jXHDizCTQqa.js} +1 -1
  140. package/cdn/assets/{TRoNOaX9xm77vhNo.js → CTnPqIJ_buVJyq7v.js} +1 -1
  141. package/cdn/assets/{DRguekK_Q_Gd9dVv.js → CUji_8_tNWmnGxA-.js} +3 -3
  142. package/{browser/esm/CLZ1oiAIiDhUh4ww.mjs → cdn/assets/C_XaNFGBTyUBeyCT.js} +1 -1
  143. package/cdn/assets/{LmdWOZpWumKhbIeQ.js → CfnYVg2Fcignoanv.js} +1 -1
  144. package/{browser/esm/B9WgUACq7BGa52o0.mjs → cdn/assets/CjNqjvPAYIJ1Txzc.js} +1 -1
  145. package/cdn/assets/{BQWb7WJpQdUBKjqJ.js → CmJmZ1IbSjVFq_Hy.js} +4 -4
  146. package/cdn/assets/{DkqE2-qY8H9T98WT.js → CnWk1uC-0lCbD-Xj.js} +4 -4
  147. package/cdn/assets/{Ls9uzNrVr3yxkM2m.js → CqfbNUobbGU7YeN6.js} +4 -4
  148. package/cdn/assets/{Dv_qFZLVmZ4aVY0G.js → Crulydg0c0mpXHIv.js} +1 -1
  149. package/{browser/esm/CSjCyt7aceQtuuQH.mjs → cdn/assets/Cw7cbwion0vbFHQC.js} +1 -1
  150. package/{browser/esm/hWAXOspM00OjNXxf.mjs → cdn/assets/CyAL0Nk6PrxryVRw.js} +1 -1
  151. package/cdn/assets/{F9Cwy_aefTGi6WoG.js → CyiZ9q3nsOxuzkPs.js} +1 -1
  152. package/cdn/assets/{BCO9ENV5uM-3cC6k.js → CzlrfkoZCsC-jd7h.js} +16358 -16160
  153. package/cdn/assets/{DDUE_Wib21ixQxd9.js → D31oMNVEevFiSSu3.js} +1 -1
  154. package/cdn/assets/{BQ_uhzdW_ySk-rS3.js → D5cBSeQ7k8GlZgsV.js} +4 -4
  155. package/cdn/assets/{DBfMtT3sAy1ItCCQ.js → D6w3q0288dODJlma.js} +3 -3
  156. package/{browser/esm/CAWVgaadqOqZLqMd.mjs → cdn/assets/D9mNgZwIB18h1gd3.js} +1 -1
  157. package/cdn/assets/{Ct4D5jD2LgwWNypV.js → DB6k1pDUo7QnUyag.js} +1 -1
  158. package/cdn/assets/{DXJ2nb7A-gJDYaOg.js → DCGMWZ69nZwmiyhn.js} +1 -1
  159. package/cdn/assets/{D0bkJedCy5YwEz99.js → DIPL9v_lUxBLj7uL.js} +1 -1
  160. package/cdn/assets/{DsmpINqpSKnRqkx4.js → DNnTxeTzLFooA_UL.js} +2 -2
  161. package/cdn/assets/{0kt2tL10VoH7eLWk.js → DNpMIeruLey0l4fR.js} +2 -2
  162. package/{browser/esm/Cb2h80Rdfkc2yBwD.mjs → cdn/assets/DQVq0WtjtMUmA_iU.js} +2 -2
  163. package/cdn/assets/{BV7PHP-zb2ezFZwN.js → DT2Nk1w2teUvSMOy.js} +1 -1
  164. package/cdn/assets/{Bmaqrt1Afut_jxeE.js → DTiWq6c6dIhO7q3w.js} +2 -2
  165. package/cdn/assets/DU715r3dWSIxWSHJ.js +12 -0
  166. package/{browser/esm/CDd7H-0sNO3a6_HD.mjs → cdn/assets/DaH--fxsswaRgEcF.js} +1 -1
  167. package/cdn/assets/{kPIrz_4t6rv8Lnkv.js → Dih1QKQhKyzIsly7.js} +2 -2
  168. package/cdn/assets/{DNLAdV0FAEdHf40R.js → DyGoZdjTBNNXu9LZ.js} +17 -17
  169. package/{browser/esm/C2B6ZZypFHHcBtgN.mjs → cdn/assets/JjYKx_AWKoQp1iP5.js} +1 -1
  170. package/cdn/assets/{BEtGGlmsA5Vu0tOe.js → KqkDMLfvKbmvpsXV.js} +22 -22
  171. package/cdn/assets/{Bki_B5mRvivmATn8.js → NkjC32CMsHhn6YZJ.js} +28 -28
  172. package/cdn/assets/{B6n-XFROq-mJr6X4.js → Nrog426oRA7TG4QM.js} +5 -5
  173. package/{browser/esm/DSGhERiou-5Ibeko.mjs → cdn/assets/PhwSfaFQy7vsmHQH.js} +1 -1
  174. package/cdn/assets/{F0iq1NszMJTVwyJd.js → Ql3e_vvI0FI2W43h.js} +2 -2
  175. package/cdn/assets/{CugoceVTjknLDPZs.js → UdKHykZGCh2M-vBY.js} +7 -7
  176. package/{browser/esm/CfIlb4oS-hEuUXmr.mjs → cdn/assets/_GsOJmagfG9vJ3_O.js} +1 -1
  177. package/cdn/assets/{CYQrF5RfAVqg1i0t.js → dLGHt7fYI2QA8zVZ.js} +1 -1
  178. package/cdn/assets/{jHLE9-xV-wivIQzI.js → lgPHHQHWLWGNnYGO.js} +1 -1
  179. package/cdn/assets/{CIePuRxeXL-pCqr6.js → pRXKDt8_bIadmeiR.js} +1 -1
  180. package/cdn/assets/{DC1hfAh_7PsrjS9S.js → vrPREn1FiY2DXcCj.js} +1 -1
  181. package/cdn/index.js +2 -2
  182. package/cdn/loader.js +1 -1
  183. package/package.json +3 -3
  184. package/browser/cjs/BFZTyYmr0ydpu1Ri.cjs +0 -6
  185. package/browser/cjs/CDQWmVCT_C4kt4z4.cjs +0 -327
  186. package/browser/cjs/CbzvhHU6HeixD_I0.cjs +0 -11
  187. package/browser/cjs/ULlk5i1EUx5ksTqm.cjs +0 -32
  188. package/browser/esm/Bl8Mbds4_g4irYW4.mjs +0 -11
  189. package/browser/esm/JNG5rnbnm1mveXHl.mjs +0 -48
  190. package/cdn/assets/BrLkQrjXFwMtmii1.js +0 -41
  191. package/cdn/assets/C6vzdOHft3HZWuxy.js +0 -12
@@ -1,7 +1,7 @@
1
1
  "use strict";/**
2
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.7.7
2
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.7.9
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("./CDQWmVCT_C4kt4z4.cjs"),k=["Ok","Cancel"],g=e.reactExports.memo(h=>{const{initialComments:f=null,onUpdateComments:c,context:C,onOption:u,onValidateOption:i,onDone:r,options:m=k,defaultOption:p=m?.[0],cancelOption:l="Cancel",sx:O,...E}=h,x=e.reactExports.useMemo(()=>{const t=f??C?.()?.getComments();let n="";if(t&&t.content&&t.content.runs){const s=t.content.runs;for(let o=0;o<s.length;o++){const b=s[o];n+=b?.text}}return n},[]),[a,j]=e.reactExports.useState(x),[y,v]=e.reactExports.useState(!1),d=e.reactExports.useCallback(async(t,n)=>null,[]),D=e.D(async t=>{const n=a===""?[]:a.split(`
7
- `);if(t!==l){const s=[];for(let o=0;o<n.length;o++)s.push({text:n[o]});c?.({content:{runs:s}})}u?.(t,t===l,t===p),r?.()},[a,c,r,u,p,l]),F=e.D(t=>{j(t.target.value),d(t.target.value,null)},[i]),T=e.D(async t=>{let n=await Promise.resolve(i?.(t));try{n!==!1&&(n=await d(a,t))}catch{}return n??!0},[i,a]);return e.jsxRuntimeExports.jsx(e.Or,{title:(x?"Edit":"Insert")+" Comments",options:m,onDone:r,onOption:t=>D(t),onValidateOption:T,defaultOption:p,cancelOption:l,autoFocusSel:".autoFocus",sx:{width:"480px",...O},...E,children:e.jsxRuntimeExports.jsx(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.jsx(e.FormControl,{sx:{paddingTop:t=>t.spacing(1.5),minWidth:135,width:"100%"},size:"small",children:e.jsxRuntimeExports.jsx(e.TextField,{label:"Comments",placeholder:"Enter a comment.",onFocus:t=>{y||t.target?.select(),v(!0)},sx:{"& .MuiFormHelperText-root":{marginTop:t=>t.spacing(.5)}},slotProps:{inputLabel:{shrink:!0},htmlInput:{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:a,onChange:F,onContextMenu:t=>{t.stopPropagation()}})})})})});exports.CommentsDialog=g,exports.default=g;
6
+ */Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./GPgjyt_HTe2fOhPL.cjs"),k=["Ok","Cancel"],g=e.reactExports.memo(h=>{const{initialComments:f=null,onUpdateComments:c,context:C,onOption:u,onValidateOption:i,onDone:r,options:m=k,defaultOption:p=m?.[0],cancelOption:l="Cancel",sx:O,...E}=h,x=e.reactExports.useMemo(()=>{const t=f??C?.()?.getComments();let n="";if(t&&t.content&&t.content.runs){const s=t.content.runs;for(let o=0;o<s.length;o++){const b=s[o];n+=b?.text}}return n},[]),[a,j]=e.reactExports.useState(x),[y,v]=e.reactExports.useState(!1),d=e.reactExports.useCallback(async(t,n)=>null,[]),F=e.M(async t=>{const n=a===""?[]:a.split(`
7
+ `);if(t!==l){const s=[];for(let o=0;o<n.length;o++)s.push({text:n[o]});c?.({content:{runs:s}})}u?.(t,t===l,t===p),r?.()},[a,c,r,u,p,l]),M=e.M(t=>{j(t.target.value),d(t.target.value,null)},[i]),T=e.M(async t=>{let n=await Promise.resolve(i?.(t));try{n!==!1&&(n=await d(a,t))}catch{}return n??!0},[i,a]);return e.jsxRuntimeExports.jsx(e.Or,{title:(x?"Edit":"Insert")+" Comments",options:m,onDone:r,onOption:t=>F(t),onValidateOption:T,defaultOption:p,cancelOption:l,autoFocusSel:".autoFocus",sx:{width:"480px",...O},...E,children:e.jsxRuntimeExports.jsx(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.jsx(e.FormControl,{sx:{paddingTop:t=>t.spacing(1.5),minWidth:135,width:"100%"},size:"small",children:e.jsxRuntimeExports.jsx(e.TextField,{label:"Comments",placeholder:"Enter a comment.",onFocus:t=>{y||t.target?.select(),v(!0)},sx:{"& .MuiFormHelperText-root":{marginTop:t=>t.spacing(.5)}},slotProps:{inputLabel:{shrink:!0},htmlInput:{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:a,onChange:M,onContextMenu:t=>{t.stopPropagation()}})})})})});exports.CommentsDialog=g,exports.default=g;
@@ -1,6 +1,6 @@
1
1
  "use strict";/**
2
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.7.7
2
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.7.9
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("./CDQWmVCT_C4kt4z4.cjs"),P=["Ok","Cancel"],f=e.reactExports.memo(E=>{const{initialValue:b,context:x,onOption:m,onValidateOption:l,onInputOption:d,onDone:p,options:g=P,defaultOption:r=g?.[0],cancelOption:i="Cancel",sx:v,...C}=E,[o,y]=e.reactExports.useState(b),[O,T]=e.reactExports.useState(!1),u=e.reactExports.useCallback(async(t,a)=>!0,[]),c=e.D(async t=>{d?.(o,t),m?.(t,t===i,t===r),p?.()},[o,d,p,m,i,r]),k=e.D(async t=>{t.keyCode===e.go.Enter&&await u?.(o,null)!==!1&&c(r)},[o,c]),R=e.D(t=>{y(t.target.value),u?.(t.target.value,null)},[l]),S=e.D(async t=>{let a=await Promise.resolve(l?.(t));try{a!==!1&&(a=await Promise.resolve(u?.(o,t))??!0)}catch{}return a??!0},[l]),[h,j]=e.reactExports.useState(e.je.Styles.lookupStyle(o).formatType??e.je.Type.Custom);e.reactExports.useEffect(()=>{j(e.je.Styles.lookupStyle(o).formatType??e.je.Type.Custom)},[o]);const F=e.reactExports.useMemo(()=>{const t=e.je.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.je.Type.Custom)),s},[]),D=e.reactExports.useCallback(t=>{const a=t.target.value;j(a);const s=e.je.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.Or,{title:"Number Format",options:g,onDone:p,onOption:t=>c(t),onValidateOption:S,defaultOption:r,cancelOption:i,autoFocusSel:".autoFocus",sx:{width:"580px",...v},...C,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:D,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=>{O||t.target?.select(),T(!0)},sx:{"& .MuiFormHelperText-root":{marginTop:t=>t.spacing(.5)}},slotProps:{inputLabel:{shrink:!0},htmlInput:{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:R,onKeyDown:k,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=f,exports.default=f;
6
+ */Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./GPgjyt_HTe2fOhPL.cjs"),w=["Ok","Cancel"],j=e.reactExports.memo(E=>{const{initialValue:b,context:x,onOption:m,onValidateOption:l,onInputOption:d,onDone:p,options:g=w,defaultOption:r=g?.[0],cancelOption:i="Cancel",sx:v,...C}=E,[o,y]=e.reactExports.useState(b),[O,T]=e.reactExports.useState(!1),u=e.reactExports.useCallback(async(t,a)=>!0,[]),c=e.M(async t=>{d?.(o,t),m?.(t,t===i,t===r),p?.()},[o,d,p,m,i,r]),k=e.M(async t=>{t.keyCode===e.Eo.Enter&&await u?.(o,null)!==!1&&c(r)},[o,c]),D=e.M(t=>{y(t.target.value),u?.(t.target.value,null)},[l]),R=e.M(async t=>{let a=await Promise.resolve(l?.(t));try{a!==!1&&(a=await Promise.resolve(u?.(o,t))??!0)}catch{}return a??!0},[l]),[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 S=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)},[]),M=e.reactExports.useMemo(()=>{const t=x();return t.createTemporaryCell({value:t.getValue()??12345,style:{numberFormat:o}})},[h,o,x]);return e.jsxRuntimeExports.jsx(e.Or,{title:"Number Format",options:g,onDone:p,onOption:t=>c(t),onValidateOption:R,defaultOption:r,cancelOption:i,autoFocusSel:".autoFocus",sx:{width:"580px",...v},...C,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:S})]}),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=>{O||t.target?.select(),T(!0)},sx:{"& .MuiFormHelperText-root":{marginTop:t=>t.spacing(.5)}},slotProps:{inputLabel:{shrink:!0},htmlInput:{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:D,onKeyDown:k,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:M.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.7.7
2
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.7.9
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.7.7
2
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.7.9
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";var c=Object.create;var n=Object.defineProperty;var a=Object.getOwnPropertyDescriptor;var s=Object.getOwnPropertyNames;var u=Object.getPrototypeOf,y=Object.prototype.hasOwnProperty;var p=(e,r,t,l)=>{if(r&&typeof r=="object"||typeof r=="function")for(let i of s(r))!y.call(e,i)&&i!==t&&n(e,i,{get:()=>r[i],enumerable:!(l=a(r,i))||l.enumerable});return e};var g=(e,r,t)=>(t=e!=null?c(u(e)):{},p(r||!e||!e.__esModule?n(t,"default",{value:e,enumerable:!0}):t,e));/**
2
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.7.7
2
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.7.9
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.
@@ -0,0 +1,32 @@
1
+ "use strict";/**
2
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.7.9
3
+ *
4
+ * (C) 2025-present SheetXL Inc. & Michael T. Ford
5
+ * License: The license can be found at https://www.sheetxl.com/license.
6
+ */Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const b=require("./GPgjyt_HTe2fOhPL.cjs");let K=null,L=null;const le={compilerOptions:{target:"esnext"}},se=async()=>`
7
+ interface FirstTest {
8
+ isTrue?: boolean;
9
+ }
10
+ `,Y=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$1.Error],["Date","Date"],["JSON","JSON"]]),de=new Map([]),U="SheetXL";V(U,Y),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("./4HQQsZp_Dtpou5d-.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
+ /**
12
+ * Represents the completion of an asynchronous operation
13
+ */
14
+ interface Promise<T> {
15
+ /**
16
+ * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
17
+ * resolved value cannot be modified from the callback.
18
+ * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
19
+ * @returns A Promise for the completion of the callback.
20
+ */
21
+ finally(onfinally?: (() => void) | undefined | null): Promise<T>;
22
+ }
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$1.Number;else if(e.kind===n.SyntaxKind.StringKeyword)o.scalar=b.M$1.String;else if(e.kind===n.SyntaxKind.BooleanKeyword)o.scalar=b.M$1.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$1.Null}else if(e.kind===n.SyntaxKind.BigIntKeyword)o.scalar=b.M$1.Number;else if(e.kind===n.SyntaxKind.AnyKeyword)o.scalar=b.M$1.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=Y.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 $=N(t.type,s,r,!0);if($){if(r.parameters.length!==0){const E=e?.parent,u=E?.name?.getText();return void h(e,new Error(`'${r.name}' contexts must be the first parameter: '${u}'.`))}r.context=$;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(E){console.warn(`Couldn't extract default value for parameter '${s.name}'`,E)}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 $=0;$<s.length;$++){const g=s[$];let d=g?.tagName?.text;if(!d)continue;d=d.toLowerCase();let a=g.comment;const E=d==="hidden";if((typeof a=="string"||E)&&(typeof a=="string"&&(a=a.replace(/[\r\n]+/g,"\\n").trim()),E||!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,v=a,M=[];for(;(w=u.exec(a))!==null;){const[B,J,oe,Q]=w,ae=[oe.trim()];Q&&ae.push(Q.trim())}a=v,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 v=g.typeExpression.type;if(v.kind===n.SyntaxKind.UnionType){const M=[];w.enums=M,v.types.forEach(B=>{if(B.kind===n.SyntaxKind.LiteralType){const J=B.literal.text;J&&M.push(J)}})}}catch(v){console.warn("Error parsing JSDoc type expression:",v)}}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.te.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(K)return K;if(L){if(await L,!K)throw new Error("ESBuild initialization promise resolved, but instance is not available.");return K}let c,l;L=new Promise((t,s)=>{c=t,l=s});try{const{initialize:t}=await Promise.resolve().then(()=>require("./Bi3eyLr3xw96w_Ec.cjs"));return K=await t(),c(),K}catch(t){throw console.error("Failed to import or initialize esbuild:",t),L=null,l(t),t}})(),f="@sheetxl/primitives",m=`
25
+ export const FormulaContext = globalThis.${r}?.FormulaContext;
26
+ export const ScalarType = globalThis.${r}?.ScalarType;
27
+ export const Observable = globalThis.${r}?.Observable;
28
+ export const IRange = globalThis.${r}?.IRange;
29
+ export const FormulaError = globalThis.${r}?.FormulaError;
30
+ // Add more exports as needed
31
+ `,x={name:"sheetxl-esbuild-in-memory",setup(c){const l="sheetxl-"+new Date().getTime();c.onResolve({filter:new RegExp(`^(${y.replace("/","\\/")}|${f})$`)},t=>({path:t.path,namespace:l})),c.onResolve({filter:/.*/},t=>{if(t.namespace!==l)return console.warn(`esbuild: Treating import "${t.path}" as external.`),{path:t.path,external:!0}}),c.onLoad({filter:/.*/,namespace:l},t=>{let s;if(t.path===y)s=o;else{if(t.path!==f)return{errors:[{text:`Cannot load unknown path in ${l}: ${t.path}`}]};s=m}return{contents:s,loader:"ts"}})}},p=await i.build({entryPoints:[y],bundle:!0,write:!1,format:"esm",plugins:[x],sourcemap:"inline",tsconfigRaw:le,minify:!0,platform:"neutral"});if(p.outputFiles&&p.outputFiles.length>0)return p.outputFiles[0].text;throw p.errors&&p.errors.length>0?new Error(`esbuild bundling failed: ${p.errors.map(c=>c.text).join(`
32
+ `)}`):new Error("esbuild did not produce an output file.")}catch(i){throw console.error("esbuild bundling process failed:",i),i}})(0,C,A))}catch{console.warn("Error bundling script")}const G={functions:O,commitId:ie,source:S,name:"Script",language:"typescript",compiled:C};return j&&(G.autoRun=j),G};
@@ -1,5 +1,5 @@
1
1
  "use strict";/**
2
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.7.7
2
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.7.9
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.7.7
2
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.7.9
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.7.7
2
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.7.9
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.7.7
2
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.7.9
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("./CDQWmVCT_C4kt4z4.cjs"),l=({range:a,options:i,cell:c,onDone:r,...x})=>{const[n,t]=e.reactExports.useState(i??e.mo.DefaultRangeOptions),d=e.D(o=>{let s=null;o==="Sort"&&(s={...i,options:n}),r?.(s)},[n,r,i]);return e.jsxRuntimeExports.jsx(e.Or,{title:"Sort",options:["Sort","Cancel"],onDone:d,...x,children:e.jsxRuntimeExports.jsxs(e.Box,{sx:{display:"flex",flexDirection:"column"},children:[e.jsxRuntimeExports.jsx(e.FormControlLabel,{control:e.jsxRuntimeExports.jsx(e.Checkbox,{checked:!n.reverse,onChange:()=>t(o=>({...o,reverse:!o.reverse}))}),label:"Is Ascending",labelPlacement:"end"}),e.jsxRuntimeExports.jsx(e.FormControlLabel,{control:e.jsxRuntimeExports.jsx(e.Checkbox,{checked:n.hasHeader,onChange:()=>t(o=>({...o,hasHeader:!o.hasHeader}))}),label:"Has Header",labelPlacement:"end"}),e.jsxRuntimeExports.jsx(e.FormControlLabel,{control:e.jsxRuntimeExports.jsx(e.Checkbox,{checked:n.collatorOptions?.sensitivity===e.mo.CaseSensitiveOptions.sensitivity,onChange:()=>t(o=>({...o,collatorOptions:n.collatorOptions?.sensitivity===e.mo.CaseSensitiveOptions.sensitivity?e.mo.CaseInsensitiveOptions:e.mo.CaseSensitiveOptions}))}),label:"Case Sensitive",labelPlacement:"end"}),e.jsxRuntimeExports.jsx(e.FormControlLabel,{control:e.jsxRuntimeExports.jsx(e.Checkbox,{checked:n.orientation===e.w.Orientation.Row,onChange:()=>t(o=>{const s=o.orientation===e.w.Orientation.Row?e.w.Orientation.Column:e.w.Orientation.Row;return{...a.getDefaultSortCriteria(s,c).options,includeHidden:o.includeHidden,reverse:o.reverse,orientation:s}})}),label:"Row Sort",labelPlacement:"end"}),e.jsxRuntimeExports.jsx(e.FormControlLabel,{control:e.jsxRuntimeExports.jsx(e.Checkbox,{checked:n.includeHidden,onChange:()=>t(o=>({...o,includeHidden:!o.includeHidden}))}),label:"Include Hidden",labelPlacement:"end"})]})})};exports.SortDialog=l,exports.default=l;
6
+ */Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./GPgjyt_HTe2fOhPL.cjs"),l=({range:a,options:i,cell:c,onDone:r,...x})=>{const[n,o]=e.reactExports.useState(i??e.Ur.DefaultRangeOptions),d=e.M(t=>{let s=null;t==="Sort"&&(s={...i,options:n}),r?.(s)},[n,r,i]);return e.jsxRuntimeExports.jsx(e.Or,{title:"Sort",options:["Sort","Cancel"],onDone:d,...x,children:e.jsxRuntimeExports.jsxs(e.Box,{sx:{display:"flex",flexDirection:"column"},children:[e.jsxRuntimeExports.jsx(e.FormControlLabel,{control:e.jsxRuntimeExports.jsx(e.Checkbox,{checked:!n.reverse,onChange:()=>o(t=>({...t,reverse:!t.reverse}))}),label:"Is Ascending",labelPlacement:"end"}),e.jsxRuntimeExports.jsx(e.FormControlLabel,{control:e.jsxRuntimeExports.jsx(e.Checkbox,{checked:n.hasHeader,onChange:()=>o(t=>({...t,hasHeader:!t.hasHeader}))}),label:"Has Header",labelPlacement:"end"}),e.jsxRuntimeExports.jsx(e.FormControlLabel,{control:e.jsxRuntimeExports.jsx(e.Checkbox,{checked:n.collatorOptions?.sensitivity===e.Ur.CaseSensitiveOptions.sensitivity,onChange:()=>o(t=>({...t,collatorOptions:n.collatorOptions?.sensitivity===e.Ur.CaseSensitiveOptions.sensitivity?e.Ur.CaseInsensitiveOptions:e.Ur.CaseSensitiveOptions}))}),label:"Case Sensitive",labelPlacement:"end"}),e.jsxRuntimeExports.jsx(e.FormControlLabel,{control:e.jsxRuntimeExports.jsx(e.Checkbox,{checked:n.orientation===e.w.Orientation.Row,onChange:()=>o(t=>{const s=t.orientation===e.w.Orientation.Row?e.w.Orientation.Column:e.w.Orientation.Row;return{...a.getDefaultSortCriteria(s,c).options,includeHidden:t.includeHidden,reverse:t.reverse,orientation:s}})}),label:"Row Sort",labelPlacement:"end"}),e.jsxRuntimeExports.jsx(e.FormControlLabel,{control:e.jsxRuntimeExports.jsx(e.Checkbox,{checked:n.includeHidden,onChange:()=>o(t=>({...t,includeHidden:!t.includeHidden}))}),label:"Include Hidden",labelPlacement:"end"})]})})};exports.SortDialog=l,exports.default=l;
@@ -1,5 +1,5 @@
1
1
  "use strict";/**
2
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.7.7
2
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.7.9
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.7.7
2
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.7.9
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.7.7
2
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.7.9
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.7.7
2
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.7.9
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"});exports.TypeScriptCompiler=class{constructor(r={}){this.workerWrapper=null}async getWorkerWrapper(){if(this.workerWrapper)return this.workerWrapper;const{createCompilerWorker:r}=await Promise.resolve().then(()=>require("./Va0pmZgEdlde9hBK.cjs"));return this.workerWrapper=await r(),this.workerWrapper}async compileModule(r){try{return(await this.getWorkerWrapper()).execute(r)}catch(e){throw console.error("Failed to compile using worker:",e),e}}terminate(){this.workerWrapper?.terminate(),this.workerWrapper=null}};
6
+ */Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});exports.TypeScriptCompiler=class{constructor(r={}){this.workerWrapper=null}async getWorkerWrapper(){if(this.workerWrapper)return this.workerWrapper;const{createCompilerWorker:r}=await Promise.resolve().then(()=>require("./LmL4erfidoyTg6Rn.cjs"));return this.workerWrapper=await r(),this.workerWrapper}async compileModule(r){try{return(await this.getWorkerWrapper()).execute(r)}catch(e){throw console.error("Failed to compile using worker:",e),e}}terminate(){this.workerWrapper?.terminate(),this.workerWrapper=null}};
@@ -1,5 +1,5 @@
1
1
  "use strict";/**
2
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.7.7
2
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.7.9
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.7.7
2
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.7.9
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("./CDQWmVCT_C4kt4z4.cjs"),w=["Ok","Cancel"],y=e.reactExports.memo(E=>{const{initialHyperlink:o=null,initialDisplay:T=null,onUpdateHyperlink:u,context:s,onOption:d,onValidateOption:r,onDone:i,options:x=w,defaultOption:p=x?.[0],cancelOption:l="Cancel",sx:k,...O}=E,C=e.reactExports.useMemo(()=>(o??s?.()?.getHyperlink())!==null,[]),g=e.reactExports.useMemo(()=>{let t=null,n=null;o&&(typeof o=="string"?n=o:t=o);const f=t??s?.()?.getHyperlink();return{address:n??f?.getAddress()??"",textToDisplay:f?.getDisplayText()??""}},[o,s]),[a,j]=e.reactExports.useState(g.address),[c,b]=e.reactExports.useState(()=>{const t=s?.().toTextUnformatted()??T;return t===g.address?"":t}),[v,m]=e.reactExports.useState(!1),D=e.reactExports.useCallback(t=>{b(t.target.value)},[]),h=e.reactExports.useCallback(async(t,n)=>null,[]),F=e.D(async t=>{t!==l&&u?.(a===""?null:{address:a},c),d?.(t,t===l,t===p),i?.()},[a,c,u,i,d,p,l]),H=e.D(t=>{j(t.target.value),h(t.target.value,null)},[r]),M=e.D(async t=>{let n=await Promise.resolve(r?.(t));try{n!==!1&&(n=await h(a,t))}catch{}return n??!0},[r]);return e.jsxRuntimeExports.jsx(e.Or,{title:(C?"Edit":"Insert")+" Link",options:x,onDone:i,onOption:t=>F(t),onValidateOption:M,defaultOption:p,cancelOption:l,autoFocusSel:".autoFocus",sx:{width:"480px",...k},...O,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.jsx(e.FormControl,{sx:{paddingTop:t=>t.spacing(1.5),minWidth:135,width:"100%"},size:"small",children:e.jsxRuntimeExports.jsx(e.TextField,{label:"Address",placeholder:"Enter a url or cell reference.",onFocus:t=>{v||t.target?.select(),m(!0)},sx:{"& .MuiFormHelperText-root":{marginTop:t=>t.spacing(.5)}},slotProps:{inputLabel:{shrink:!0},htmlInput:{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:a,onChange:H,onContextMenu:t=>{t.stopPropagation()}})}),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:"Display Text",placeholder:a?.startsWith("#")?a.substring(1):a,onFocus:()=>{m(!0)},sx:{"& .MuiFormHelperText-root":{marginTop:t=>t.spacing(.5)}},slotProps:{inputLabel:{shrink:!0},htmlInput:{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:c,onChange:D,onContextMenu:t=>{t.stopPropagation()}})})]})})});exports.HyperlinkDialog=y,exports.default=y;
6
+ */Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./GPgjyt_HTe2fOhPL.cjs"),w=["Ok","Cancel"],y=e.reactExports.memo(E=>{const{initialHyperlink:o=null,initialDisplay:T=null,onUpdateHyperlink:u,context:s,onOption:d,onValidateOption:r,onDone:i,options:x=w,defaultOption:p=x?.[0],cancelOption:l="Cancel",sx:k,...O}=E,C=e.reactExports.useMemo(()=>(o??s?.()?.getHyperlink())!==null,[]),g=e.reactExports.useMemo(()=>{let t=null,n=null;o&&(typeof o=="string"?n=o:t=o);const f=t??s?.()?.getHyperlink();return{address:n??f?.getAddress()??"",textToDisplay:f?.getDisplayText()??""}},[o,s]),[a,j]=e.reactExports.useState(g.address),[c,b]=e.reactExports.useState(()=>{const t=s?.().toTextUnformatted()??T;return t===g.address?"":t}),[v,m]=e.reactExports.useState(!1),F=e.reactExports.useCallback(t=>{b(t.target.value)},[]),h=e.reactExports.useCallback(async(t,n)=>null,[]),M=e.M(async t=>{t!==l&&u?.(a===""?null:{address:a},c),d?.(t,t===l,t===p),i?.()},[a,c,u,i,d,p,l]),D=e.M(t=>{j(t.target.value),h(t.target.value,null)},[r]),H=e.M(async t=>{let n=await Promise.resolve(r?.(t));try{n!==!1&&(n=await h(a,t))}catch{}return n??!0},[r]);return e.jsxRuntimeExports.jsx(e.Or,{title:(C?"Edit":"Insert")+" Link",options:x,onDone:i,onOption:t=>M(t),onValidateOption:H,defaultOption:p,cancelOption:l,autoFocusSel:".autoFocus",sx:{width:"480px",...k},...O,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.jsx(e.FormControl,{sx:{paddingTop:t=>t.spacing(1.5),minWidth:135,width:"100%"},size:"small",children:e.jsxRuntimeExports.jsx(e.TextField,{label:"Address",placeholder:"Enter a url or cell reference.",onFocus:t=>{v||t.target?.select(),m(!0)},sx:{"& .MuiFormHelperText-root":{marginTop:t=>t.spacing(.5)}},slotProps:{inputLabel:{shrink:!0},htmlInput:{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:a,onChange:D,onContextMenu:t=>{t.stopPropagation()}})}),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:"Display Text",placeholder:a?.startsWith("#")?a.substring(1):a,onFocus:()=>{m(!0)},sx:{"& .MuiFormHelperText-root":{marginTop:t=>t.spacing(.5)}},slotProps:{inputLabel:{shrink:!0},htmlInput:{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:c,onChange:F,onContextMenu:t=>{t.stopPropagation()}})})]})})});exports.HyperlinkDialog=y,exports.default=y;
@@ -1,6 +1,6 @@
1
1
  "use strict";/**
2
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.7.7
2
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.7.9
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("./CDQWmVCT_C4kt4z4.cjs"),B=["Input"],M=e.reactExports.memo(e.reactExports.forwardRef((h,f)=>{const{initialValue:O="",onOption:y,onValidateOption:r,onInputOption:s,onValidateInputOption:i,onDone:p,inputProps:l,inputLabel:E,inputType:j,inputPlaceHolder:T,options:u=B,autoFocusSel:v=".autoFocus",cancelOption:c,defaultOption:d=u?.[0],...w}=h,[D,F]=e.reactExports.useState(!1),[o,S]=e.reactExports.useState(O),[b,C]=e.reactExports.useState(""),[I,P]=e.reactExports.useState(!0),n=e.D(async(t,a)=>{if(!i)return!0;const g=await i?.(t,a);C(g?.message??"");const m=g?.valid??!0;return P(m),m},[i]),x=e.D(async t=>{s?.(o,t)},[o,s,p,y,c,d]),R=e.D(async t=>{t.keyCode===e.go.Enter&&await n?.(o,null)},[o,x]),k=e.D(t=>{S(t.target.value),n?.(t.target.value,null)},[r]),V=e.D(async t=>{let a=await n(o,t);try{a!==!1&&(a=await n(o,t))}catch{}return a??!0},[o,r]);return e.jsxRuntimeExports.jsx(e.Or,{options:u,onDone:p,onOption:(t,a)=>{a||x(t)},onValidateOption:V,cancelOption:c,defaultOption:d,autoFocusSel:v,ref:f,...w,children:e.jsxRuntimeExports.jsx(e.Box,{sx:{paddingTop:t=>t.spacing(1),paddingBottom:t=>t.spacing(0)},children:e.jsxRuntimeExports.jsx(e.FormControl,{sx:{paddingTop:t=>t.spacing(1.5),minWidth:135,width:"100%"},size:"small",children:e.jsxRuntimeExports.jsx(e.TextField,{onFocus:t=>{D||t.target?.select(),F(!0)},type:j,label:E,helperText:b||" ",sx:{width:"100%","& .MuiFormHelperText-root":{marginTop:t=>t.spacing(.5),color:I?void 0:"error.main"}},slotProps:{inputLabel:{shrink:!0},htmlInput:{placeholder:T,spellCheck:!1,autoComplete:"off",...l,className:e.Oe("autoFocus",l?.className),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:R,onContextMenu:t=>{t.stopPropagation()}})})})})}));exports.default=M;
6
+ */Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./GPgjyt_HTe2fOhPL.cjs"),B=["Input"],D=e.reactExports.memo(e.reactExports.forwardRef((h,f)=>{const{initialValue:O="",onOption:y,onValidateOption:r,onInputOption:s,onValidateInputOption:i,onDone:p,inputProps:l,inputLabel:E,inputType:j,inputPlaceHolder:T,options:u=B,autoFocusSel:v=".autoFocus",cancelOption:c,defaultOption:d=u?.[0],...w}=h,[F,M]=e.reactExports.useState(!1),[o,S]=e.reactExports.useState(O),[b,C]=e.reactExports.useState(""),[I,P]=e.reactExports.useState(!0),n=e.M(async(t,a)=>{if(!i)return!0;const g=await i?.(t,a);C(g?.message??"");const m=g?.valid??!0;return P(m),m},[i]),x=e.M(async t=>{s?.(o,t)},[o,s,p,y,c,d]),R=e.M(async t=>{t.keyCode===e.Eo.Enter&&await n?.(o,null)},[o,x]),k=e.M(t=>{S(t.target.value),n?.(t.target.value,null)},[r]),V=e.M(async t=>{let a=await n(o,t);try{a!==!1&&(a=await n(o,t))}catch{}return a??!0},[o,r]);return e.jsxRuntimeExports.jsx(e.Or,{options:u,onDone:p,onOption:(t,a)=>{a||x(t)},onValidateOption:V,cancelOption:c,defaultOption:d,autoFocusSel:v,ref:f,...w,children:e.jsxRuntimeExports.jsx(e.Box,{sx:{paddingTop:t=>t.spacing(1),paddingBottom:t=>t.spacing(0)},children:e.jsxRuntimeExports.jsx(e.FormControl,{sx:{paddingTop:t=>t.spacing(1.5),minWidth:135,width:"100%"},size:"small",children:e.jsxRuntimeExports.jsx(e.TextField,{onFocus:t=>{F||t.target?.select(),M(!0)},type:j,label:E,helperText:b||" ",sx:{width:"100%","& .MuiFormHelperText-root":{marginTop:t=>t.spacing(.5),color:I?void 0:"error.main"}},slotProps:{inputLabel:{shrink:!0},htmlInput:{placeholder:T,spellCheck:!1,autoComplete:"off",...l,className:e.Oe("autoFocus",l?.className),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:R,onContextMenu:t=>{t.stopPropagation()}})})})})}));exports.default=D;
@@ -1,5 +1,5 @@
1
1
  "use strict";/**
2
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.7.7
2
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.7.9
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.7.7
2
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.7.9
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.7.7
2
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.7.9
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,9 +1,9 @@
1
1
  "use strict";/**
2
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.7.7
2
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.7.9
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("./CDQWmVCT_C4kt4z4.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(`
6
+ */Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const yt=require("./GPgjyt_HTe2fOhPL.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
@@ -12,4 +12,4 @@
12
12
  `&&(i=`
13
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(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.em(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.bg(gt)},[gt]);exports.p=kt;
@@ -1,9 +1,9 @@
1
1
  "use strict";/**
2
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.7.7
2
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.7.9
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 c=require("./CDQWmVCT_C4kt4z4.cjs");function me(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function re(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function ne(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?re(Object(r),!0).forEach(function(n){me(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):re(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function oe(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function ye(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ce(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function ie(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?ce(Object(r),!0).forEach(function(n){ye(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ce(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function D(e){return function t(){for(var r=this,n=arguments.length,o=new Array(n),i=0;i<n;i++)o[i]=arguments[i];return o.length>=e.length?e.apply(this,o):function(){for(var u=arguments.length,a=new Array(u),p=0;p<u;p++)a[p]=arguments[p];return t.apply(r,[].concat(o,a))}}}function U(e){return{}.toString.call(e).includes("Object")}function q(e){return typeof e=="function"}var P=D(function(e,t){throw new Error(e[t]||e.default)})({initialIsRequired:"initial state is required",initialType:"initial state should be an object",initialContent:"initial state shouldn't be an empty object",handlerType:"handler should be an object or a function",handlersType:"all handlers should be a functions",selectorType:"selector should be a function",changeType:"provided value of changes should be an object",changeField:'it seams you want to change a field in the state which is not specified in the "initial" state',default:"an unknown error accured in `state-local` package"}),ve=function(e,t){return U(t)||P("changeType"),Object.keys(t).some(function(r){return n=e,o=r,!Object.prototype.hasOwnProperty.call(n,o);var n,o})&&P("changeField"),t},be=function(e){q(e)||P("selectorType")},Ee=function(e){q(e)||U(e)||P("handlerType"),U(e)&&Object.values(e).some(function(t){return!q(t)})&&P("handlersType")},Oe=function(e){var t;e||P("initialIsRequired"),U(e)||P("initialType"),t=e,Object.keys(t).length||P("initialContent")};function we(e,t){return q(t)?t(e.current):t}function je(e,t){return e.current=ie(ie({},e.current),t),t}function xe(e,t,r){return q(t)?t(e.current):Object.keys(r).forEach(function(n){var o;return(o=t[n])===null||o===void 0?void 0:o.call(t,e.current[n])}),r}var K,Me=function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};Oe(e),Ee(t);var r={current:e},n=D(xe)(r,t),o=D(je)(r),i=D(ve)(e),u=D(we)(r);return[function(){var a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:function(p){return p};return be(a),a(r.current)},function(a){(function(){for(var p=arguments.length,g=new Array(p),O=0;O<p;O++)g[O]=arguments[O];return function(b){return g.reduceRight(function(x,M){return M(x)},b)}})(n,o,i,u)(a)}]},le={configIsRequired:"the configuration object is required",configType:"the configuration object should be an object",default:"an unknown error accured in `@monaco-editor/loader` package",deprecation:`Deprecation warning!
6
+ */Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("./GPgjyt_HTe2fOhPL.cjs");function me(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function re(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function ne(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?re(Object(r),!0).forEach(function(n){me(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):re(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function oe(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function ye(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ce(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function ie(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?ce(Object(r),!0).forEach(function(n){ye(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ce(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function D(e){return function t(){for(var r=this,n=arguments.length,o=new Array(n),i=0;i<n;i++)o[i]=arguments[i];return o.length>=e.length?e.apply(this,o):function(){for(var u=arguments.length,a=new Array(u),p=0;p<u;p++)a[p]=arguments[p];return t.apply(r,[].concat(o,a))}}}function U(e){return{}.toString.call(e).includes("Object")}function q(e){return typeof e=="function"}var P=D(function(e,t){throw new Error(e[t]||e.default)})({initialIsRequired:"initial state is required",initialType:"initial state should be an object",initialContent:"initial state shouldn't be an empty object",handlerType:"handler should be an object or a function",handlersType:"all handlers should be a functions",selectorType:"selector should be a function",changeType:"provided value of changes should be an object",changeField:'it seams you want to change a field in the state which is not specified in the "initial" state',default:"an unknown error accured in `state-local` package"}),ve=function(e,t){return U(t)||P("changeType"),Object.keys(t).some(function(r){return n=e,o=r,!Object.prototype.hasOwnProperty.call(n,o);var n,o})&&P("changeField"),t},be=function(e){q(e)||P("selectorType")},Ee=function(e){q(e)||U(e)||P("handlerType"),U(e)&&Object.values(e).some(function(t){return!q(t)})&&P("handlersType")},Oe=function(e){var t;e||P("initialIsRequired"),U(e)||P("initialType"),t=e,Object.keys(t).length||P("initialContent")};function we(e,t){return q(t)?t(e.current):t}function je(e,t){return e.current=ie(ie({},e.current),t),t}function xe(e,t,r){return q(t)?t(e.current):Object.keys(r).forEach(function(n){var o;return(o=t[n])===null||o===void 0?void 0:o.call(t,e.current[n])}),r}var K,Me=function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};Oe(e),Ee(t);var r={current:e},n=D(xe)(r,t),o=D(je)(r),i=D(ve)(e),u=D(we)(r);return[function(){var a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:function(p){return p};return be(a),a(r.current)},function(a){(function(){for(var p=arguments.length,g=new Array(p),O=0;O<p;O++)g[O]=arguments[O];return function(b){return g.reduceRight(function(x,M){return M(x)},b)}})(n,o,i,u)(a)}]},le={configIsRequired:"the configuration object is required",configType:"the configuration object should be an object",default:"an unknown error accured in `@monaco-editor/loader` package",deprecation:`Deprecation warning!
7
7
  You are using deprecated way of configuration.
8
8
 
9
9
  Instead of using
@@ -1,5 +1,5 @@
1
1
  "use strict";/**
2
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.7.7
2
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.7.9
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.
@@ -0,0 +1,11 @@
1
+ "use strict";/**
2
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.7.9
3
+ *
4
+ * (C) 2025-present SheetXL Inc. & Michael T. Ford
5
+ * License: The license can be found at https://www.sheetxl.com/license.
6
+ */Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const d=require("./GPgjyt_HTe2fOhPL.cjs"),rs=":A-Z_a-zÀ-ÖØ-öø-˿Ͱ-ͽͿ-῿‌‍⁰-↏Ⰰ-⿯、-퟿豈-﷏ﷰ-�𐀀-󯿿",ks=new RegExp(`^[${rs}][-${rs}.0-9·̀-ͯ‿-⁀]*$`,"u");function us(i){return i>=65&&i<=90||i>=97&&i<=122||i===58||i===95||i===8204||i===8205||i>=192&&i<=214||i>=216&&i<=246||i>=248&&i<=767||i>=880&&i<=893||i>=895&&i<=8191||i>=8304&&i<=8591||i>=11264&&i<=12271||i>=12289&&i<=55295||i>=63744&&i<=64975||i>=65008&&i<=65533||i>=65536&&i<=983039}const ns="A-Z_a-zÀ-ÖØ-öø-˿Ͱ-ͽͿ-῿‌-‍⁰-↏Ⰰ-⿯、-퟿豈-﷏ﷰ-�𐀀-󯿿",As=new RegExp(`^[${ns}][-${ns}.0-9·̀-ͯ‿-⁀]*$`,"u");function ds(i){return i>=65&&i<=90||i===95||i>=97&&i<=122||i>=192&&i<=214||i>=216&&i<=246||i>=248&&i<=767||i>=880&&i<=893||i>=895&&i<=8191||i>=8204&&i<=8205||i>=8304&&i<=8591||i>=11264&&i<=12271||i>=12289&&i<=55295||i>=63744&&i<=64975||i>=65008&&i<=65533||i>=65536&&i<=983039}const G=function(i){return i===32||i===10||i===13||i===9},Ds=function(i){return i>=32&&i<=55295||i===10||i===13||i===9||i>=57344&&i<=65533||i>=65536&&i<=1114111},ne=us,as=function(i){return us(i)||i>=48&&i<=57||i===45||i===46||i===183||i>=768&&i<=879||i>=8255&&i<=8256},ps=[32,10,13,9],Ps=ks,Es=function(i){return i>=1&&i<=55295||i>=57344&&i<=65533||i>=65536&&i<=1114111},Os=ds,Is=function(i){return ds(i)||i===45||i===46||i>=48&&i<=57||i===183||i>=768&&i<=879||i>=8255&&i<=8256},Vs=As,me="http://www.w3.org/XML/1998/namespace",Qt="http://www.w3.org/2000/xmlns/",Ls={__proto__:null,xml:me,xmlns:Qt},Ns={__proto__:null,amp:"&",gt:">",lt:"<",quot:'"',apos:"'"},P=-1,ct=-2,q=13,Ht=33,nt=10,vt=60,Zt=61,j=62,F=63,Gt=93,fe=i=>i===34||i===39,gs=[34,39],Rs=[...gs,91,j],$s=[...gs,vt,Gt],Ms=[Zt,F,...ps],Hs=[...ps,j,38,vt];function Ee(i,t,s){switch(t){case"xml":s!==me&&i.fail(`xml prefix must be bound to ${me}.`);break;case"xmlns":s!==Qt&&i.fail(`xmlns prefix must be bound to ${Qt}.`)}switch(s){case Qt:i.fail(t===""?`the default namespace may not be set to ${s}.`:`may not assign a prefix (even "xmlns") to the URI ${Qt}.`);break;case me:switch(t){case"xml":break;case"":i.fail(`the default namespace may not be set to ${s}.`);break;default:i.fail("may not assign the xml namespace to another prefix.")}}}const js=i=>Vs.test(i),Xs=i=>Ps.test(i),ls={xmldecl:"xmldeclHandler",text:"textHandler",processinginstruction:"piHandler",doctype:"doctypeHandler",comment:"commentHandler",opentagstart:"openTagStartHandler",attribute:"attributeHandler",opentag:"openTagHandler",closetag:"closeTagHandler",cdata:"cdataHandler",error:"errorHandler",end:"endHandler",ready:"readyHandler"};class Fs{constructor(t){this.i=0,this.prevI=0,this.opt=t??{},this.fragmentOpt=!!this.opt.fragment;const s=this.xmlnsOpt=!!this.opt.xmlns;if(this.trackPosition=this.opt.position!==!1,this.fileName=this.opt.fileName,s){this.nameStartCheck=Os,this.nameCheck=Is,this.isName=js,this.processAttribs=this.processAttribsNS,this.pushAttrib=this.pushAttribNS,this.ns={__proto__:null,...Ls};const o=this.opt.additionalNamespaces;o!=null&&((function(n,a){for(const h of Object.keys(a))Ee(n,h,a[h])})(this,o),Object.assign(this.ns,o))}else this.nameStartCheck=ne,this.nameCheck=as,this.isName=Xs,this.processAttribs=this.processAttribsPlain,this.pushAttrib=this.pushAttribPlain;this.stateTable=[this.sBegin,this.sBeginWhitespace,this.sDoctype,this.sDoctypeQuote,this.sDTD,this.sDTDQuoted,this.sDTDOpenWaka,this.sDTDOpenWakaBang,this.sDTDComment,this.sDTDCommentEnding,this.sDTDCommentEnded,this.sDTDPI,this.sDTDPIEnding,this.sText,this.sEntity,this.sOpenWaka,this.sOpenWakaBang,this.sComment,this.sCommentEnding,this.sCommentEnded,this.sCData,this.sCDataEnding,this.sCDataEnding2,this.sPIFirstChar,this.sPIRest,this.sPIBody,this.sPIEnding,this.sXMLDeclNameStart,this.sXMLDeclName,this.sXMLDeclEq,this.sXMLDeclValueStart,this.sXMLDeclValue,this.sXMLDeclSeparator,this.sXMLDeclEnding,this.sOpenTag,this.sOpenTagSlash,this.sAttrib,this.sAttribName,this.sAttribNameSawWhite,this.sAttribValue,this.sAttribValueQuoted,this.sAttribValueClosed,this.sAttribValueUnquoted,this.sCloseTag,this.sCloseTagSawWhite],this._init()}get closed(){return this._closed}_init(){this.openWakaBang="",this.text="",this.name="",this.piTarget="",this.entity="",this.q=null,this.tags=[],this.tag=null,this.topNS=null,this.chunk="",this.chunkPosition=0,this.i=0,this.prevI=0,this.carriedFromPrevious=void 0,this.forbiddenState=0,this.attribList=[];const{fragmentOpt:t}=this;this.state=t?q:0,this.reportedTextBeforeRoot=this.reportedTextAfterRoot=this.closedRoot=this.sawRoot=t,this.xmlDeclPossible=!t,this.xmlDeclExpects=["version"],this.entityReturnState=void 0;let{defaultXMLVersion:s}=this.opt;if(s===void 0){if(this.opt.forceXMLVersion===!0)throw new Error("forceXMLVersion set but defaultXMLVersion is not set");s="1.0"}this.setXMLVersion(s),this.positionAtNewLine=0,this.doctype=!1,this._closed=!1,this.xmlDecl={version:void 0,encoding:void 0,standalone:void 0},this.line=1,this.column=0,this.ENTITIES=Object.create(Ns),this.readyHandler?.()}get position(){return this.chunkPosition+this.i}get columnIndex(){return this.position-this.positionAtNewLine}on(t,s){this[ls[t]]=s}off(t){this[ls[t]]=void 0}makeError(t){let s=this.fileName??"";return this.trackPosition&&(s.length>0&&(s+=":"),s+=`${this.line}:${this.column}`),s.length>0&&(s+=": "),new Error(s+t)}fail(t){const s=this.makeError(t),o=this.errorHandler;if(o===void 0)throw s;return o(s),this}write(t){if(this.closed)return this.fail("cannot write after close; assign an onready handler.");let s=!1;t===null?(s=!0,t=""):typeof t=="object"&&(t=t.toString()),this.carriedFromPrevious!==void 0&&(t=`${this.carriedFromPrevious}${t}`,this.carriedFromPrevious=void 0);let o=t.length;const n=t.charCodeAt(o-1);!s&&(n===13||n>=55296&&n<=56319)&&(this.carriedFromPrevious=t[o-1],o--,t=t.slice(0,o));const{stateTable:a}=this;for(this.chunk=t,this.i=0;this.i<o;)a[this.state].call(this);return this.chunkPosition+=o,s?this.end():this}close(){return this.write(null)}getCode10(){const t=this.chunk,s=this.i;if(this.prevI=s,this.i++,s>=t.length)return P;const o=t.charCodeAt(s);if(this.column++,o<55296){if(o>=32||o===9)return o;switch(o){case nt:return this.line++,this.column=0,this.positionAtNewLine=this.position,nt;case 13:return t.charCodeAt(s+1)===nt&&(this.i=s+2),this.line++,this.column=0,this.positionAtNewLine=this.position,ct;default:return this.fail("disallowed character."),o}}if(o>56319)return o>=57344&&o<=65533||this.fail("disallowed character."),o;const n=65536+1024*(o-55296)+(t.charCodeAt(s+1)-56320);return this.i=s+2,n>1114111&&this.fail("disallowed character."),n}getCode11(){const{chunk:t,i:s}=this;if(this.prevI=s,this.i=s+1,s>=t.length)return P;const o=t.charCodeAt(s);if(this.column++,o<55296){if(o>31&&o<127||o>159&&o!==8232||o===9)return o;switch(o){case nt:return this.line++,this.column=0,this.positionAtNewLine=this.position,nt;case 13:{const a=t.charCodeAt(s+1);a!==nt&&a!==133||(this.i=s+2)}case 133:case 8232:return this.line++,this.column=0,this.positionAtNewLine=this.position,ct;default:return this.fail("disallowed character."),o}}if(o>56319)return o>=57344&&o<=65533||this.fail("disallowed character."),o;const n=65536+1024*(o-55296)+(t.charCodeAt(s+1)-56320);return this.i=s+2,n>1114111&&this.fail("disallowed character."),n}getCodeNorm(){const t=this.getCode();return t===ct?nt:t}unget(){this.i=this.prevI,this.column--}captureTo(t){let{i:s}=this;const{chunk:o}=this;for(;;){const n=this.getCode(),a=n===ct,h=a?nt:n;if(h===P||t.includes(h))return this.text+=o.slice(s,this.prevI),h;a&&(this.text+=`${o.slice(s,this.prevI)}
7
+ `,s=this.i)}}captureToChar(t){let{i:s}=this;const{chunk:o}=this;for(;;){let n=this.getCode();switch(n){case ct:this.text+=`${o.slice(s,this.prevI)}
8
+ `,s=this.i,n=nt;break;case P:return this.text+=o.slice(s),!1}if(n===t)return this.text+=o.slice(s,this.prevI),!0}}captureNameChars(){const{chunk:t,i:s}=this;for(;;){const o=this.getCode();if(o===P)return this.name+=t.slice(s),P;if(!as(o))return this.name+=t.slice(s,this.prevI),o===ct?nt:o}}skipSpaces(){for(;;){const t=this.getCodeNorm();if(t===P||!G(t))return t}}setXMLVersion(t){this.currentXMLVersion=t,t==="1.0"?(this.isChar=Ds,this.getCode=this.getCode10):(this.isChar=Es,this.getCode=this.getCode11)}sBegin(){this.chunk.charCodeAt(0)===65279&&(this.i++,this.column++),this.state=1}sBeginWhitespace(){const t=this.i,s=this.skipSpaces();switch(this.prevI!==t&&(this.xmlDeclPossible=!1),s){case vt:if(this.state=15,this.text.length!==0)throw new Error("no-empty text at start");break;case P:break;default:this.unget(),this.state=q,this.xmlDeclPossible=!1}}sDoctype(){const t=this.captureTo(Rs);switch(t){case j:this.doctypeHandler?.(this.text),this.text="",this.state=q,this.doctype=!0;break;case P:break;default:this.text+=String.fromCodePoint(t),t===91?this.state=4:fe(t)&&(this.state=3,this.q=t)}}sDoctypeQuote(){const t=this.q;this.captureToChar(t)&&(this.text+=String.fromCodePoint(t),this.q=null,this.state=2)}sDTD(){const t=this.captureTo($s);t!==P&&(this.text+=String.fromCodePoint(t),t===Gt?this.state=2:t===vt?this.state=6:fe(t)&&(this.state=5,this.q=t))}sDTDQuoted(){const t=this.q;this.captureToChar(t)&&(this.text+=String.fromCodePoint(t),this.state=4,this.q=null)}sDTDOpenWaka(){const t=this.getCodeNorm();switch(this.text+=String.fromCodePoint(t),t){case 33:this.state=7,this.openWakaBang="";break;case F:this.state=11;break;default:this.state=4}}sDTDOpenWakaBang(){const t=String.fromCodePoint(this.getCodeNorm()),s=this.openWakaBang+=t;this.text+=t,s!=="-"&&(this.state=s==="--"?8:4,this.openWakaBang="")}sDTDComment(){this.captureToChar(45)&&(this.text+="-",this.state=9)}sDTDCommentEnding(){const t=this.getCodeNorm();this.text+=String.fromCodePoint(t),this.state=t===45?10:8}sDTDCommentEnded(){const t=this.getCodeNorm();this.text+=String.fromCodePoint(t),t===j?this.state=4:(this.fail("malformed comment."),this.state=8)}sDTDPI(){this.captureToChar(F)&&(this.text+="?",this.state=12)}sDTDPIEnding(){const t=this.getCodeNorm();this.text+=String.fromCodePoint(t),t===j&&(this.state=4)}sText(){this.tags.length!==0?this.handleTextInRoot():this.handleTextOutsideRoot()}sEntity(){let{i:t}=this;const{chunk:s}=this;t:for(;;)switch(this.getCode()){case ct:this.entity+=`${s.slice(t,this.prevI)}
9
+ `,t=this.i;break;case 59:{const{entityReturnState:o}=this,n=this.entity+s.slice(t,this.prevI);let a;this.state=o,n===""?(this.fail("empty entity name."),a="&;"):(a=this.parseEntity(n),this.entity=""),o===q&&this.textHandler===void 0||(this.text+=a);break t}case P:this.entity+=s.slice(t);break t}}sOpenWaka(){const t=this.getCode();if(ne(t))this.state=34,this.unget(),this.xmlDeclPossible=!1;else switch(t){case 47:this.state=43,this.xmlDeclPossible=!1;break;case 33:this.state=16,this.openWakaBang="",this.xmlDeclPossible=!1;break;case F:this.state=23;break;default:this.fail("disallowed character in tag name"),this.state=q,this.xmlDeclPossible=!1}}sOpenWakaBang(){switch(this.openWakaBang+=String.fromCodePoint(this.getCodeNorm()),this.openWakaBang){case"[CDATA[":this.sawRoot||this.reportedTextBeforeRoot||(this.fail("text data outside of root node."),this.reportedTextBeforeRoot=!0),this.closedRoot&&!this.reportedTextAfterRoot&&(this.fail("text data outside of root node."),this.reportedTextAfterRoot=!0),this.state=20,this.openWakaBang="";break;case"--":this.state=17,this.openWakaBang="";break;case"DOCTYPE":this.state=2,(this.doctype||this.sawRoot)&&this.fail("inappropriately located doctype declaration."),this.openWakaBang="";break;default:this.openWakaBang.length>=7&&this.fail("incorrect syntax.")}}sComment(){this.captureToChar(45)&&(this.state=18)}sCommentEnding(){const t=this.getCodeNorm();t===45?(this.state=19,this.commentHandler?.(this.text),this.text=""):(this.text+=`-${String.fromCodePoint(t)}`,this.state=17)}sCommentEnded(){const t=this.getCodeNorm();t!==j?(this.fail("malformed comment."),this.text+=`--${String.fromCodePoint(t)}`,this.state=17):this.state=q}sCData(){this.captureToChar(Gt)&&(this.state=21)}sCDataEnding(){const t=this.getCodeNorm();t===Gt?this.state=22:(this.text+=`]${String.fromCodePoint(t)}`,this.state=20)}sCDataEnding2(){const t=this.getCodeNorm();switch(t){case j:this.cdataHandler?.(this.text),this.text="",this.state=q;break;case Gt:this.text+="]";break;default:this.text+=`]]${String.fromCodePoint(t)}`,this.state=20}}sPIFirstChar(){const t=this.getCodeNorm();this.nameStartCheck(t)?(this.piTarget+=String.fromCodePoint(t),this.state=24):t===F||G(t)?(this.fail("processing instruction without a target."),this.state=t===F?26:25):(this.fail("disallowed character in processing instruction name."),this.piTarget+=String.fromCodePoint(t),this.state=24)}sPIRest(){const{chunk:t,i:s}=this;for(;;){const o=this.getCodeNorm();if(o===P)return void(this.piTarget+=t.slice(s));if(!this.nameCheck(o)){this.piTarget+=t.slice(s,this.prevI);const n=o===F;n||G(o)?this.piTarget==="xml"?(this.xmlDeclPossible||this.fail("an XML declaration must be at the start of the document."),this.state=n?Ht:27):this.state=n?26:25:(this.fail("disallowed character in processing instruction name."),this.piTarget+=String.fromCodePoint(o));break}}}sPIBody(){if(this.text.length===0){const t=this.getCodeNorm();t===F?this.state=26:G(t)||(this.text=String.fromCodePoint(t))}else this.captureToChar(F)&&(this.state=26)}sPIEnding(){const t=this.getCodeNorm();if(t===j){const{piTarget:s}=this;s.toLowerCase()==="xml"&&this.fail("the XML declaration must appear at the start of the document."),this.piHandler?.({target:s,body:this.text}),this.piTarget=this.text="",this.state=q}else t===F?this.text+="?":(this.text+=`?${String.fromCodePoint(t)}`,this.state=25);this.xmlDeclPossible=!1}sXMLDeclNameStart(){const t=this.skipSpaces();t!==F?t!==P&&(this.state=28,this.name=String.fromCodePoint(t)):this.state=Ht}sXMLDeclName(){const t=this.captureTo(Ms);if(t===F)return this.state=Ht,this.name+=this.text,this.text="",void this.fail("XML declaration is incomplete.");if(G(t)||t===Zt){if(this.name+=this.text,this.text="",!this.xmlDeclExpects.includes(this.name))switch(this.name.length){case 0:this.fail("did not expect any more name/value pairs.");break;case 1:this.fail(`expected the name ${this.xmlDeclExpects[0]}.`);break;default:this.fail(`expected one of ${this.xmlDeclExpects.join(", ")}`)}this.state=t===Zt?30:29}}sXMLDeclEq(){const t=this.getCodeNorm();if(t===F)return this.state=Ht,void this.fail("XML declaration is incomplete.");G(t)||(t!==Zt&&this.fail("value required."),this.state=30)}sXMLDeclValueStart(){const t=this.getCodeNorm();if(t===F)return this.state=Ht,void this.fail("XML declaration is incomplete.");G(t)||(fe(t)?this.q=t:(this.fail("value must be quoted."),this.q=32),this.state=31)}sXMLDeclValue(){const t=this.captureTo([this.q,F]);if(t===F)return this.state=Ht,this.text="",void this.fail("XML declaration is incomplete.");if(t===P)return;const s=this.text;switch(this.text="",this.name){case"version":{this.xmlDeclExpects=["encoding","standalone"];const o=s;this.xmlDecl.version=o,/^1\.[0-9]+$/.test(o)?this.opt.forceXMLVersion||this.setXMLVersion(o):this.fail("version number must match /^1\\.[0-9]+$/.");break}case"encoding":/^[A-Za-z][A-Za-z0-9._-]*$/.test(s)||this.fail("encoding value must match /^[A-Za-z0-9][A-Za-z0-9._-]*$/."),this.xmlDeclExpects=["standalone"],this.xmlDecl.encoding=s;break;case"standalone":s!=="yes"&&s!=="no"&&this.fail('standalone value must match "yes" or "no".'),this.xmlDeclExpects=[],this.xmlDecl.standalone=s}this.name="",this.state=32}sXMLDeclSeparator(){const t=this.getCodeNorm();t!==F?(G(t)||(this.fail("whitespace required."),this.unget()),this.state=27):this.state=Ht}sXMLDeclEnding(){this.getCodeNorm()===j?(this.piTarget!=="xml"?this.fail("processing instructions are not allowed before root."):this.name!=="version"&&this.xmlDeclExpects.includes("version")&&this.fail("XML declaration must contain a version."),this.xmldeclHandler?.(this.xmlDecl),this.name="",this.piTarget=this.text="",this.state=q):this.fail("The character ? is disallowed anywhere in XML declarations."),this.xmlDeclPossible=!1}sOpenTag(){const t=this.captureNameChars();if(t===P)return;const s=this.tag={name:this.name,attributes:Object.create(null)};switch(this.name="",this.xmlnsOpt&&(this.topNS=s.ns=Object.create(null)),this.openTagStartHandler?.(s),this.sawRoot=!0,!this.fragmentOpt&&this.closedRoot&&this.fail("documents may contain only one root."),t){case j:this.openTag();break;case 47:this.state=35;break;default:G(t)||this.fail("disallowed character in tag name."),this.state=36}}sOpenTagSlash(){this.getCode()===j?this.openSelfClosingTag():(this.fail("forward-slash in opening tag not followed by >."),this.state=36)}sAttrib(){const t=this.skipSpaces();t!==P&&(ne(t)?(this.unget(),this.state=37):t===j?this.openTag():t===47?this.state=35:this.fail("disallowed character in attribute name."))}sAttribName(){const t=this.captureNameChars();t===Zt?this.state=39:G(t)?this.state=38:t===j?(this.fail("attribute without value."),this.pushAttrib(this.name,this.name),this.name=this.text="",this.openTag()):t!==P&&this.fail("disallowed character in attribute name.")}sAttribNameSawWhite(){const t=this.skipSpaces();switch(t){case P:return;case Zt:this.state=39;break;default:this.fail("attribute without value."),this.text="",this.name="",t===j?this.openTag():ne(t)?(this.unget(),this.state=37):(this.fail("disallowed character in attribute name."),this.state=36)}}sAttribValue(){const t=this.getCodeNorm();fe(t)?(this.q=t,this.state=40):G(t)||(this.fail("unquoted attribute value."),this.state=42,this.unget())}sAttribValueQuoted(){const{q:t,chunk:s}=this;let{i:o}=this;for(;;)switch(this.getCode()){case t:return this.pushAttrib(this.name,this.text+s.slice(o,this.prevI)),this.name=this.text="",this.q=null,void(this.state=41);case 38:return this.text+=s.slice(o,this.prevI),this.state=14,void(this.entityReturnState=40);case nt:case ct:case 9:this.text+=`${s.slice(o,this.prevI)} `,o=this.i;break;case vt:return this.text+=s.slice(o,this.prevI),void this.fail("disallowed character.");case P:return void(this.text+=s.slice(o))}}sAttribValueClosed(){const t=this.getCodeNorm();G(t)?this.state=36:t===j?this.openTag():t===47?this.state=35:ne(t)?(this.fail("no whitespace between attributes."),this.unget(),this.state=37):this.fail("disallowed character in attribute name.")}sAttribValueUnquoted(){const t=this.captureTo(Hs);switch(t){case 38:this.state=14,this.entityReturnState=42;break;case vt:this.fail("disallowed character.");break;case P:break;default:this.text.includes("]]>")&&this.fail('the string "]]>" is disallowed in char data.'),this.pushAttrib(this.name,this.text),this.name=this.text="",t===j?this.openTag():this.state=36}}sCloseTag(){const t=this.captureNameChars();t===j?this.closeTag():G(t)?this.state=44:t!==P&&this.fail("disallowed character in closing tag.")}sCloseTagSawWhite(){switch(this.skipSpaces()){case j:this.closeTag();break;case P:break;default:this.fail("disallowed character in closing tag.")}}handleTextInRoot(){let{i:t,forbiddenState:s}=this;const{chunk:o,textHandler:n}=this;t:for(;;)switch(this.getCode()){case vt:if(this.state=15,n!==void 0){const{text:a}=this,h=o.slice(t,this.prevI);a.length!==0?(n(a+h),this.text=""):h.length!==0&&n(h)}s=0;break t;case 38:this.state=14,this.entityReturnState=q,n!==void 0&&(this.text+=o.slice(t,this.prevI)),s=0;break t;case Gt:switch(s){case 0:s=1;break;case 1:s=2;break;case 2:break;default:throw new Error("impossible state")}break;case j:s===2&&this.fail('the string "]]>" is disallowed in char data.'),s=0;break;case ct:n!==void 0&&(this.text+=`${o.slice(t,this.prevI)}
10
+ `),t=this.i,s=0;break;case P:n!==void 0&&(this.text+=o.slice(t));break t;default:s=0}this.forbiddenState=s}handleTextOutsideRoot(){let{i:t}=this;const{chunk:s,textHandler:o}=this;let n=!1;t:for(;;){const a=this.getCode();switch(a){case vt:if(this.state=15,o!==void 0){const{text:h}=this,f=s.slice(t,this.prevI);h.length!==0?(o(h+f),this.text=""):f.length!==0&&o(f)}break t;case 38:this.state=14,this.entityReturnState=q,o!==void 0&&(this.text+=s.slice(t,this.prevI)),n=!0;break t;case ct:o!==void 0&&(this.text+=`${s.slice(t,this.prevI)}
11
+ `),t=this.i;break;case P:o!==void 0&&(this.text+=s.slice(t));break t;default:G(a)||(n=!0)}}n&&(this.sawRoot||this.reportedTextBeforeRoot||(this.fail("text data outside of root node."),this.reportedTextBeforeRoot=!0),this.closedRoot&&!this.reportedTextAfterRoot&&(this.fail("text data outside of root node."),this.reportedTextAfterRoot=!0))}pushAttribNS(t,s){const{prefix:o,local:n}=this.qname(t),a={name:t,prefix:o,local:n,value:s};if(this.attribList.push(a),this.attributeHandler?.(a),o==="xmlns"){const h=s.trim();this.currentXMLVersion==="1.0"&&h===""&&this.fail("invalid attempt to undefine prefix in XML 1.0"),this.topNS[n]=h,Ee(this,n,h)}else if(t==="xmlns"){const h=s.trim();this.topNS[""]=h,Ee(this,"",h)}}pushAttribPlain(t,s){const o={name:t,value:s};this.attribList.push(o),this.attributeHandler?.(o)}end(){this.sawRoot||this.fail("document must contain a root element.");const{tags:t}=this;for(;t.length>0;){const o=t.pop();this.fail(`unclosed tag: ${o.name}`)}this.state!==0&&this.state!==q&&this.fail("unexpected end.");const{text:s}=this;return s.length!==0&&(this.textHandler?.(s),this.text=""),this._closed=!0,this.endHandler?.(),this._init(),this}resolve(t){let s=this.topNS[t];if(s!==void 0)return s;const{tags:o}=this;for(let n=o.length-1;n>=0;n--)if(s=o[n].ns[t],s!==void 0)return s;return s=this.ns[t],s!==void 0?s:this.opt.resolvePrefix?.(t)}qname(t){const s=t.indexOf(":");if(s===-1)return{prefix:"",local:t};const o=t.slice(s+1),n=t.slice(0,s);return(n===""||o===""||o.includes(":"))&&this.fail(`malformed name: ${t}.`),{prefix:n,local:o}}processAttribsNS(){const{attribList:t}=this,s=this.tag;{const{prefix:a,local:h}=this.qname(s.name);s.prefix=a,s.local=h;const f=s.uri=this.resolve(a)??"";a!==""&&(a==="xmlns"&&this.fail('tags may not have "xmlns" as prefix.'),f===""&&(this.fail(`unbound namespace prefix: ${JSON.stringify(a)}.`),s.uri=a))}if(t.length===0)return;const{attributes:o}=s,n=new Set;for(const a of t){const{name:h,prefix:f,local:D}=a;let x,S;f===""?(x=h==="xmlns"?Qt:"",S=h):(x=this.resolve(f),x===void 0&&(this.fail(`unbound namespace prefix: ${JSON.stringify(f)}.`),x=f),S=`{${x}}${D}`),n.has(S)&&this.fail(`duplicate attribute: ${S}.`),n.add(S),a.uri=x,o[h]=a}this.attribList=[]}processAttribsPlain(){const{attribList:t}=this,s=this.tag.attributes;for(const{name:o,value:n}of t)s[o]!==void 0&&this.fail(`duplicate attribute: ${o}.`),s[o]=n;this.attribList=[]}openTag(){this.processAttribs();const{tags:t}=this,s=this.tag;s.isSelfClosing=!1,this.openTagHandler?.(s),t.push(s),this.state=q,this.name=""}openSelfClosingTag(){this.processAttribs();const{tags:t}=this,s=this.tag;s.isSelfClosing=!0,this.openTagHandler?.(s),this.closeTagHandler?.(s),(this.tag=t[t.length-1]??null)===null&&(this.closedRoot=!0),this.state=q,this.name=""}closeTag(){const{tags:t,name:s}=this;if(this.state=q,this.name="",s==="")return this.fail("weird empty close tag."),void(this.text+="</>");const o=this.closeTagHandler;let n=t.length;for(;n-- >0;){const a=this.tag=t.pop();if(this.topNS=a.ns,o?.(a),a.name===s)break;this.fail("unexpected close tag.")}n===0?this.closedRoot=!0:n<0&&(this.fail(`unmatched closing tag: ${s}.`),this.text+=`</${s}>`)}parseEntity(t){if(t[0]!=="#"){const o=this.ENTITIES[t];return o!==void 0?o:(this.fail(this.isName(t)?"undefined entity.":"disallowed character in entity name."),`&${t};`)}let s=NaN;return t[1]==="x"&&/^#x[0-9a-f]+$/i.test(t)?s=parseInt(t.slice(2),16):/^#[0-9]+$/.test(t)&&(s=parseInt(t.slice(1),10)),this.isChar(s)?String.fromCodePoint(s):(this.fail("malformed character entity."),`&${t};`)}}var Oe,mt;(mt=Oe||(Oe={})).Events={XmlDecl:"xmldecl",Text:"text",ProcessingInstruction:"processinginstruction",Doctype:"doctype",Comment:"comment",OpenTagStart:"opentagstart",Attribute:"attribute",OpenTag:"opentag",CloseTag:"closetag",CDdata:"cdata",Error:"error",End:"end",Ready:"ready"},mt.parseStream=async(i,t,s)=>{const o=new Fs({position:!1,...s});let n;if(t.onOpenTagStart&&o.on(mt.Events.OpenTagStart,t.onOpenTagStart),t.onOpenTag&&o.on(mt.Events.OpenTag,t.onOpenTag),t.onCloseTag&&o.on(mt.Events.CloseTag,t.onCloseTag),t.onAttribute&&o.on(mt.Events.Attribute,t.onAttribute),t.onText&&o.on(mt.Events.Text,t.onText),t.onError&&o.on(mt.Events.Error,t.onError),t.onEnd){t.onEnd;const a=()=>{n=t.onEnd()};o.on(mt.Events.End,a)}for(;;){const{value:a,done:h}=await i.read();if(h)break;o.write(a)}return o.close(),n};const v=i=>i===!0||i==="1"||i==="on"||i==="true"||i!==!1&&i!=="0"&&i!=="off"&&i!=="false"&&null,A=i=>{const t=parseInt(i);return isNaN(t)?null:t},ht=i=>{const t=parseFloat(i);return isNaN(t)?null:t},k=null;class Bs{constructor(){this._registeredVisitors=new Map}registerVisitor(t){this._registeredVisitors.set(t.from,t)}createEventHandler(t,s,o){const n=this._registeredVisitors,a=[];let h=null,f=null,D=null,x=null;const S=[],E={key:null,source:t};let b=null,R=!1;const _=(m,c)=>{let y=D.attributes[m];if(c){if(Array.isArray(c)){for(let O=0;O<c.length;O++)if(y==null||(y=c[O](y),y==null))return}else if(y==null||(y=c(y),y==null))return}return y},T={getSource:()=>b.source,setSource:m=>{b.source=m},setKey:m=>{b.key=m},getFrom:()=>D,getAttribute:(m,c)=>_(m,c)??null,hasAttribute:m=>T.getAttribute(m)!==null,getParent:()=>S[S.length-2].source,getPath:()=>{const m=[];for(let c=0;c<a.length;c++)m.push(a[c].local);return m.join("\\")},parseAttribute:_,copyToObject:(m,c,y,O)=>{const z=_(O??c,y);z!==void 0&&(m[c]=z)},copyTo:(m,c,y)=>{const O=_(y??m,c);O!==void 0&&(b.source[m]=O)},warn:m=>{o?o?.(m):console.warn(m)}};return{onOpenTag:m=>{let c=m.name;const y=c.indexOf(":");y!==-1&&(c=c.slice(y+1));const O=n.get(c);if(h={local:c,visitor:O,tag:m,destination:null},R)return a.push(h),f=c,void(D=m);x=h?.visitor??null,O&&(b=a.length===0?E:x?.to!==null?{key:null,source:{}}:null,h.destination=b,b&&S.push(b)),a.push(h),f=c,D=m,R=x?.to===null,x?.openTag?.(T)},onCloseTag:m=>{let c=m.name;const y=c.indexOf(":");if(y!==-1&&(c=c.slice(y+1)),c!==f)throw new Error(`mismatch open/close tag: '${c}'/'${f}'`);R||x?.closeTag?.(T);const O=a.pop()??null;h=a[a.length-1]??null;const z=O?.destination;if(z){S.pop(),b=S[S.length-1]??E;const ut=O.visitor;ut&&ut.to&&z.source!==void 0&&(Array.isArray(ut.to)?b.source.push?b.source.push(z.source):o?.(`Unable to parse array for ${ut.from} at ${T.getPath()}`):z.key?b.source[z.key]=z.source:typeof ut.to=="string"&&(b.source[ut.to]=z.source))}f=h?.local??null,D=h?.tag??null,x=h?.visitor??null,R=!h?.destination},onText:m=>{x?.text?.(m,T)},onEnd:s}}}const cs=(i,t,s,o=null)=>{if(!i)return null;let n=i;n.startsWith("/")&&(n=n.substring(1));let a=o?.parsedRefs?.get(i);if(a!==void 0)return a;const h=t(n);if(!h)return null;let f=h.content;try{s&&(f=s(f))}catch(D){console.warn(D)}return o?.parsedRefs?.set(i,f),f},Ie=(i,t,s,o,n=null)=>{if(!i)return null;let a=i;a.startsWith("/")&&(a=a.substring(1));let h=n?.parsedRefs?.get(i);if(h!==void 0)return h;const f=t(a);if(!f)return null;const D=f.content;try{const x=new TextDecoder().decode(D),S=s.parseFromString(x,"text/xml"),E=o.convert(S,i,n);return n?.parsedRefs?.set(i,E),E}catch(x){console.warn(x)}return null},Ut=(i,t,s,o,n=null)=>{const a=new Map;let h=t.Directory[i];const f=h?h.length:0;for(let D=0;D<f;D++){const x=h[D];if(!x)continue;let S=x;S.startsWith("/")&&(S=S.substring(1));const E=Ie(S,b=>t.files[b],s,o,n);a.set(S,E)}return a},Ws=["lt1","dk1","lt2","dk2","accent1","accent2","accent3","accent4","accent5","accent6","hlink","folHlink"],Ve=(i,t="dk1")=>{let s;const o=i("auto");o===void 0||o!=="1"&&o!=="true"||(s=t);const n=i("indexed");n&&(s=`index${n}`);const a=i("rgb");a&&(s=a.toLowerCase(),a.length!==8||a.startsWith("FF")||(s="FF"+a.substring(2,a.length)));const h=i("theme");h&&(s=Ws[h]);let f=i("tint");if(f&&(s+=` ${d.T.AdjustmentType.ETint} ${parseFloat(f)}`),s)return s},fs=i=>i&&i.replace(/^\{([\s\S]+)\}$/,"$1"),ms=i=>i==="true"||i==="1";class jt{static{this.Collapsed=1}static{this.CustomFormat=2}static{this.CustomHeight=4}static{this.Hidden=8}static{this.Ht=16}static{this.OutlineLevel=32}static{this.Ph=64}static{this.R=128}static{this.S=256}static{this.Spans=512}static{this.ThickBot=1024}static{this.ThickTop=2048}}const qs=(i,t,s)=>{if(i[0].value[0]===i[1].value[0])return t},hs={colStart:0,colEnd:0,rowStart:0,rowEnd:0},_s=Object.freeze(Object.defineProperty({__proto__:null,fromBufferXLSX:async(i,t)=>{const{password:s,createWorkbookOptions:o={},...n}=t??{},a=[],h=t?.progress,f=h?.onStart?.(t?.name??"Parsing XLSX");await Promise.resolve(f);const D=h?.onProgress;let x=0;const S=Promise.resolve().then(()=>require("./DRWk3O67719LopNw.cjs")),E=Promise.resolve().then(()=>require("./DmP5P4nD6s_T0R0_.cjs"));let b=null;try{b=new DOMParser}catch{}let R=null;b||(R=Promise.resolve().then(()=>require("./Cae33-B3bPeB4Lry.cjs")).then(c=>c.i));let _=null,T=null,m=null;try{const c=await Promise.all([S,E,R]);_=c[0],T=c[1],m=c[2]}catch(c){throw new Error("Unable to load XLSX parser.",{cause:c})}try{const c=_.read(i,{type:"array",sheets:[],cellStyles:!1,bookFiles:!0});if(!c.Directory)throw new d.vt("Unable to parse as an Excel document. Try to save as '.xlsx' and try again.");c.Directory.richstructure=["/xl/richData/rdrichvaluestructure.xml"],c.Directory.richdata=["/xl/richData/rdrichvalue.xml"];const y=new T.FromOOXMLConverter,O=b??new m.DOMParser,z=o?.resources??new d.bm,ut=z.beginPersist(),Le={},Ne=new Set,Te=new Map;Te.set("richTypes",[]);const Re=new Map,$e=[],ae=w=>c.files[w],ye=(w,B)=>{const Q=w.lastIndexOf("/"),et=w.substring(0,Q+1)+"_rels/"+w.substring(Q+1,w.length)+".rels";let dt=B.get(et);return dt||(dt=((L,ve,Se,Ce,Xt=null)=>{if(!L)return null;const st=Ie(L,ve,Se,Ce,Xt);if(!st)return null;const it=new Map,yt=Object.keys(st),Ft=yt.length;for(let bt=0;bt<Ft;bt++){const Bt=yt[bt],Ct=st[Bt];it.set(Bt,Ct)}return it})(et,ae,O,y,Tt),B.set(et,dt)),dt},le=(w,B,Q,et=Re)=>{let dt=ye(B,et).get(w),L=dt?.target;if(!L)return null;if(dt.targetMode==="External")return dt.target;const ve=B.lastIndexOf("/"),Se=B.substring(0,ve+1);L.startsWith("/")||(L=Se+L),L=(st=>{const it=st.split(/\/+/);return it.reduce((yt,Ft,bt)=>(Ft==="."?yt.splice(bt,1):Ft===".."&&yt.splice(bt-1,2),yt),it).join("/")})(L);const Ce=y?.getVisitorParamsState().get("dxfs");let Xt=et.get(L);if(!Xt)if(dt.type==="http://schemas.openxmlformats.org/officeDocument/2006/relationships/worksheet"){const st={};Xt=st;const it=async()=>{const yt=(($,X,Jt,U,J,Z,Kt,kt)=>{const u=new Bs,K=new d.Wt.TransposedBuilder;let H=null;u.registerVisitor({from:"autoFilter",to:"filter",openTag:e=>{e.copyTo("ref",k)}}),u.registerVisitor({from:"conditionalFormatting",to:{},openTag:e=>{const r=e.getParent();r.conditionals||(r.conditionals=[]),r.conditionals.push(e.getSource());const l=e.getAttribute("sqref");l&&(e.getSource().ref=l.split(" ").join(",")),e.copyTo("pivot",v)},closeTag:e=>{const r=e.getSource();if(r.rule){const l=Object.keys(r.rule);for(let p=0;p<l.length;p++){const I=l[p];I!=="rule"&&(r[I]=r.rule[I])}}delete r.rule}}),u.registerVisitor({from:"cfRule",to:"rule",openTag:e=>{const r=e.getParent();e.copyToObject(r,"type",k),e.copyToObject(r,"priority",A),e.copyToObject(r,"stopIfTrue",v);const l=e.getAttribute("dxfId",A);if(l!==null){let p=U?.get(l);p||(Z?.(`Unable to load conditional color. Invalid dxfI: '${l}' at '${e.getPath()}'.`),p={}),r.style=p}e.copyToObject(r,"aboveAverage",v),e.copyToObject(r,"equalAverage",v),e.copyToObject(r,"stdDev",A),e.copyToObject(r,"bottom",v),e.copyToObject(r,"percent",v),e.copyToObject(r,"rank",A),e.copyToObject(r,"operator",k),e.copyToObject(r,"text",k),e.copyToObject(r,"timePeriod",k)}}),u.registerVisitor({from:"colorScale",to:"colorScale"}),u.registerVisitor({from:"dataBar",to:"dataBar",openTag:e=>{e.copyTo("maxLength",A),e.copyTo("minLength",A),e.copyTo("showValue",v)}}),u.registerVisitor({from:"iconSet",to:"iconSet",openTag:e=>{e.copyTo("iconSet",k),e.copyTo("reverse",v),e.copyTo("showValue",v)}}),u.registerVisitor({from:"formula",to:null,text:(e,r)=>{const l=r.getParent();let p=l.formulas;p||(p=[],l.formulas=p),p.push(e)}}),u.registerVisitor({from:"cfvo",to:{},openTag:e=>{const r=e.getParent();r.conditions||(r.conditions=[]),r.conditions.push(e.getSource()),e.copyTo("type",k),e.copyTo("value",ht,"val"),e.copyTo("gte",v)}}),u.registerVisitor({from:"color",to:{},openTag:e=>{const r=e.getParent();r.colors||(r.colors=[]);const l=Ve(p=>e.getAttribute(p));r.colors.push(l)}}),u.registerVisitor({from:"filterColumn",to:"filterColumn",openTag:e=>{const r=e.getParent();r.fields||(r.fields=[]),r.fields.push(e.getSource()),e.copyTo("offset",A,"colId"),e.copyTo("hiddenButton",v),e.copyTo("showButton",v)}}),u.registerVisitor({from:"colorFilter",to:"colorFilter",openTag:e=>{const r=e.getParent();r.criteria||(r.criteria=[]),r.criteria.push(e.getSource()),e.getSource().type=d.td.Type.Color,e.copyTo("cellColor",v),e.copyTo("styleId",A,"dxfId")}}),u.registerVisitor({from:"dynamicFilter",to:"dynamicFilter",openTag:e=>{const r=e.getParent();r.criteria||(r.criteria=[]),r.criteria.push(e.getSource()),e.getSource().type=d.td.Type.Dynamic,e.copyTo("dynamicType",k,"type"),e.copyTo("val",ht),e.copyTo("maxVal",ht,"maxVal")}}),u.registerVisitor({from:"iconFilter",to:"iconFilter",openTag:e=>{const r=e.getParent();r.criteria||(r.criteria=[]),r.criteria.push(e.getSource()),e.getSource().type=d.td.Type.Icon,e.copyTo("iconId",A),e.copyTo("iconSet",k)}}),u.registerVisitor({from:"top10",to:"top10",openTag:e=>{const r=e.getParent();r.criteria||(r.criteria=[]),r.criteria.push(e.getSource()),e.getSource().type=d.td.Type.Top10,e.copyTo("filterVal",ht),e.copyTo("percent",v),e.copyTo("top",v),e.copyTo("val",ht)}}),u.registerVisitor({from:"filters",to:"filters",openTag:e=>{const r=e.getParent();r.criteria||(r.criteria=[]),r.criteria.push(e.getSource()),e.getSource().type=d.td.Type.Items,e.copyTo("blank",v),e.copyTo("calendarType",k)}}),u.registerVisitor({from:"dateGroupItem",to:"dateGroupItem",openTag:e=>{const r=e.getParent();r.dateGroups||(r.dateGroups=[]),r.dateGroups.push(e.getSource()),e.copyTo("group",k,"dateTimeGrouping"),e.copyTo("day",A),e.copyTo("hour",A),e.copyTo("minute",A),e.copyTo("month",A),e.copyTo("second",A),e.copyTo("year",A)}}),u.registerVisitor({from:"filter",to:"filter",openTag:e=>{const r=e.getParent();r.items||(r.items=[]),r.items.push(e.getAttribute("val",ht))}}),u.registerVisitor({from:"customFilters",to:"customFilters",openTag:e=>{const r=e.getParent();r.criteria||(r.criteria=[]),r.criteria.push(e.getSource()),e.getSource().type=d.td.Type.Custom,e.copyTo("and",v)}}),u.registerVisitor({from:"customFilter",to:"customFilter",openTag:e=>{const r=e.getParent();r.filters||(r.filters=[]),r.filters.push(e.getSource()),e.copyTo("operator",k),e.copyTo("value",ht,"val")}}),u.registerVisitor({from:"sortState",to:"sort",openTag:e=>{e.copyTo("ref",k)}}),u.registerVisitor({from:"sortCondition",to:"sortCondition",openTag:e=>{const r=e.getParent();r.fields||(r.fields=[]);const l=e.getSource();r.fields.push(l),e.copyTo("sortOn",k,"sortBy"),e.copyTo("dxfId",k,"sortBy"),e.copyTo("iconSet",k),e.copyTo("customList",k);const p=e.getAttribute("ref");if(p){const I=d.Zr.fastStringToRange(p,hs).colStart,Y=d.Zr.fastStringToRange(r.ref,hs),Wt=Y.colStart;l.offset=Y?I-Wt:I}l.reverse=e.getAttribute("descending",v)??!1}}),u.registerVisitor({from:"AlternateContent",to:null});const de=e=>{H=e.getSource(),e.copyTo("topLeft",k,"topLeftCell");const r=ms(e.getAttribute("defaultGridColor")),l=e.getAttribute("colorId");l===null||r||(e.getSource().gridLineColor="index"+parseFloat(l)),e.copyTo("showZeros",v),e.copyTo("showFormulas",v),e.copyTo("zoomScale",A),e.copyTo("showRowHeaders",v,"showRowColHeaders"),e.copyTo("showColumnHeaders",v,"showRowColHeaders"),e.copyTo("showRowGridlines",v,"showGridLines"),e.copyTo("showColumnGridlines",v,"showGridLines")};u.registerVisitor({from:"sheetView",to:"view",openTag:e=>{de(e)},closeTag:()=>{H=null}}),u.registerVisitor({from:"customSheetViews",to:"customSheetViews",openTag:e=>{e.setSource([])}}),u.registerVisitor({from:"customSheetView",to:[],openTag:e=>{de(e)},closeTag:()=>{H=null}}),u.registerVisitor({from:"selection",to:"selection",openTag:e=>{if(!H)return;e.copyTo("cell",k,"activeCell"),e.copyTo("rangeIndex",A,"activeCellId");const r=e.getAttribute("activeCell"),l=e.getAttribute("sqref");l&&l!==r&&(e.getSource().ranges=l.split(" "))}}),u.registerVisitor({from:"pane",to:"pane",openTag:e=>{if(H&&e.getAttribute("state")==="frozen"){const r={};H.freezePanes=r,e.copyToObject(r,"topLeft",k,"topLeftCell");const l=H.topLeft?d.Zr.fastStringToCell(H.topLeft):{colIndex:0,rowIndex:0},p={colIndex:0,rowIndex:0};e.copyToObject(p,"colIndex",A,"xSplit"),e.copyToObject(p,"rowIndex",A,"ySplit");const I={colIndex:l.colIndex+p.colIndex,rowIndex:l.rowIndex+p.rowIndex};r.coords=d.Zr.cellToString(I)}}}),u.registerVisitor({from:"tabColor",to:null,openTag:e=>{const r=Ve(l=>e.getAttribute(l));r&&($.tabColor=r)}}),u.registerVisitor({from:"pageSetUpPr",to:"pageSetUpPr",openTag:e=>{}}),u.registerVisitor({from:"outlinePr",to:"outlinePr",openTag:e=>{}}),u.registerVisitor({from:"pageMargins",to:"pageMargins",openTag:e=>{}}),u.registerVisitor({from:"pageSetup",to:"pageSetup",openTag:e=>{}}),u.registerVisitor({from:"printOptions",to:"printOptions",openTag:e=>{}}),u.registerVisitor({from:"mergeCells",to:"merges",openTag:e=>{e.setSource([])}}),u.registerVisitor({from:"mergeCell",to:[],openTag:e=>{const r=e.getAttribute("ref");e.setSource(r)}}),u.registerVisitor({from:"hyperlinks",to:"hyperlinks",openTag:e=>{e.setSource([])}}),u.registerVisitor({from:"hyperlink",to:[],openTag:e=>{const r=e.getAttribute("r:id"),l=e.getAttribute("ref");if(!l)return void console.warn("No ref found for hyperlink");e.setKey(l);let p=r?X(r):"";if(typeof p!="string")return void console.warn("Invalid address ",p);const I=e.getAttribute("location");p.endsWith("\\")&&(p=p.substring(0,p.length-1));const Y=e.getAttribute("location");if(Y&&(I&&I!==Y&&console.warn("display and location are different",I,Y),p+="#"+Y),!p)return void console.warn("No address found for hyperlink. r:id",r);let Wt;const xt=e.getAttribute("tooltip");Wt=xt?{address:p,tooltip:xt}:p,e.setSource({r:l,v:Wt})}}),u.registerVisitor({from:"drawing",to:"movables",openTag:e=>{const r=e.getAttribute("r:id");if(!r)return;const l=X(r);l?e.setSource(l.movables):console.warn("no drawing found for rId",r)}}),u.registerVisitor({from:"tableParts",to:"tables",openTag:e=>{e.setSource([])}}),u.registerVisitor({from:"tablePart",to:[],openTag:e=>{const r=e.getAttribute("r:id");if(!r)return;const l=X(r);l?e.setSource(l):console.warn("no table found for rId",r)}}),u.registerVisitor({from:"worksheet",to:"worksheet",openTag:e=>{}}),u.registerVisitor({from:"sheetProtection",to:"protection",openTag:e=>{let r=!1;if(e.hasAttribute("sheet")&&v(e.getAttribute("sheet"))&&(r=!0),!r)return void e.setSource(void 0);const l=I=>I===!0||I==="1"||I==="on"||I==="true"||I===!1||I==="0"||I==="off"||I==="false"||null;e.copyTo("autoFilter",l),e.copyTo("deleteColumns",l),e.copyTo("formatCells",l),e.copyTo("formatColumns",l),e.copyTo("formatRows",l),e.copyTo("insertColumns",l),e.copyTo("insertHyperlinks",l),e.copyTo("insertRows",l),e.copyTo("objects",l),e.copyTo("pivotTables",l),e.copyTo("scenarios",l),e.copyTo("selectUnlockedCells",l),e.copyTo("selectUnlockedCells",l),e.copyTo("sort",l);const p={};e.copyToObject(p,"hash",k,"hashValue"),e.copyToObject(p,"algorithm",k,"algorithmName"),e.copyToObject(p,"salt",k,"saltValue"),e.copyToObject(p,"spinCount",A),Object.keys(p).length>0&&(e.getSource().password=p)}}),u.registerVisitor({from:"protectedRanges",to:"protectedRanges",openTag:e=>{e.setSource({})}}),u.registerVisitor({from:"protectedRange",to:{},openTag:e=>{const r=e.getAttribute("sqref");e.setKey(r),e.copyTo("name"),e.copyTo("securityDescriptor");const l={};e.copyToObject(l,"hash",k,"hashValue"),e.copyToObject(l,"algorithm",k,"algorithmName"),e.copyToObject(l,"salt",k,"saltValue"),e.copyToObject(l,"spinCount",A),Object.keys(l).length>0&&(e.getSource().password=l)}}),u.registerVisitor({from:"sheetFormatPr",to:"sheetFormatPr",openTag:e=>{e.copyToObject($,"defaultColSize",ht,"defaultColWidth"),e.copyToObject($,"outlineLevelCol",A,"outlineLevelCol");const r=e.getAttribute("customHeight");r!=="1"&&r!=="true"||e.copyToObject($,"defaultRowSize",ht,"defaultRowHeight"),e.copyToObject($,"outlineLevelRow",A,"outlineLevelRow")}}),u.registerVisitor({from:"cols",to:"cols",openTag:e=>{e.setSource([])}}),u.registerVisitor({from:"col",to:[],openTag:e=>{e.copyTo("min",r=>parseInt(r)-1),e.copyTo("max",r=>parseInt(r)-1),e.copyTo("sz",ht,"width"),e.copyTo("cs",v,"customWidth"),e.copyTo("h",v,"hidden"),e.copyTo("l",A,"outlineLevel"),e.copyTo("s",A,"style")}}),u.registerVisitor({from:"oleObjects",to:null,openTag:e=>{e.warn("'OLE Objects' are not supported.")}});let Yt=null;const Ss={onOpenTag:e=>{Yt===null&&(Yt="")},onText:e=>{Yt+=e},onEnd:()=>{const e=Jt(Yt);return Yt=null,e},onError:e=>{}};return((e,r,l,p,I,Y,Wt)=>{let xt=!1,pe=!1,qt=[],_t=!1,At=null,te=null,ge=null,at=null,We=null,qe=null;const Cs=Wt?.get("richData")??[],_e=d.Zr.normalizeA1ToR1C1,ze=d.Ht.createConflatingRanges(),Ue=new Map,ke=[];let ee=null;const Ze=d.Ht.createConflatingRanges();let se,Dt=!1,W=-1,tt=-1,pt=null,ie=null;const Ae=[];let De=null,Ge=-2,gt=0,zt="",Pt="",Et="",Ot="",It="",Vt="",Lt="",Qe="",Je="",Ke="",Ye="",ts="",es="",ss="",ft=!0,Nt=null,Pe=0;return{...l,onEnd:()=>{Ae.length>0&&(r.rows=Ae);let g=ze.done(qs);const C=g.length;if(C>0){const M=new Array(C);for(let V=0;V<C;V++){const lt=g[V],Rt=d.Zr.rangeToString(lt),$t=lt.value[1],oe=d.Zr.resolveRelativeToA1($t,lt.rowStart,lt.colStart);M[V]=[Rt,oe]}r.formulas=M}const ot=Ze.done(!0),N=ot.length;if(N>0){const M=new Array(N);for(let V=0;V<N;V++){const lt=ot[V],Rt=d.Zr.rangeToString(lt);M[V]=Rt}r.volatile=M}if(ke.length>0&&(r.dynamicArray=[...ke]),qt.length>0){qt.sort(d.Ht.createRangeComparator(d.w.Orientation.Column));const M=[];let V=null,lt=-1,Rt=-1,$t=-1,oe=-1,wt=null;const is=qt.length;is>0&&(V=qt[0],lt=V.colStart,Rt=V.colEnd,$t=V.rowEnd,oe=V.value,M.push(V));for(let Mt=1;Mt<is;Mt++)wt=qt[Mt],oe!==wt.value||lt!==wt.colStart||Rt!==wt.colEnd||$t+1!==wt.rowEnd?(M.push(wt),V=wt,lt=V.colStart,Rt=V.colEnd,$t=V.rowEnd,oe=V.value):($t=wt.rowEnd,V.rowEnd=$t);let os=[];for(let Mt=0;Mt<M.length;Mt++){const re=M[Mt];os.push({r:{colStart:re.colStart,colEnd:re.colEnd,rowStart:re.rowStart,rowEnd:re.rowEnd},v:re.value})}r.directStyles=os}const rt=e.build();if(rt){const M=rt.tuples;r.data=M}l?.onEnd?.()},onOpenTag:g=>{let C=g.name;const ot=C.indexOf(":");if(ot!==-1&&(C=C.slice(ot+1)),Pe++,Pe%196608==0&&I(Pe),se){const N=g.attributes;switch(C){case"v":pe=!0;break;case"f":switch(N.t??null){case null:case"normal":_t=!0;break;case"shared":const rt=N.si;te=N.ref,At=rt;break;case"array":_t=!0,te=N.ref,ee=[te,!1];break;case"datatable":_t=!0,te=N.ref,_t=!0}N.ca!==void 0&&Ze.append(W,tt);break;case"is":return void(Dt=!0)}return void(Dt&&Y?.onOpenTag(g))}if(xt){if(C==="c"){se=g;const N=g.attributes.r;tt=d.Zr.fastStringToCol(N);const rt=g.attributes.t;rt===void 0?ie=null:(ie=rt,ie==="str"&&(Dt=!0));let M=g.attributes.s;M!==void 0&&(M=parseInt(M),Nt&&Nt.value===M&&Nt.colEnd+1===tt?Nt.colEnd=tt:(Nt={colStart:tt,rowStart:W,colEnd:tt,rowEnd:W,value:M},qt.push(Nt)))}}else{if(C==="row"){xt=!0;const N=g.attributes.r;if(W=parseInt(N)-1,gt=0,Pt=g.attributes.customHeight,Pt!==void 0&&(gt|=jt.CustomHeight),Pt!==Je&&(ft=!0,Je=Pt),zt=g.attributes.ht,zt!==void 0&&(gt|=jt.Ht),zt!==Qe&&(ft=!0,Qe=zt),Et=g.attributes.hidden,Et!==void 0&&(gt|=jt.Hidden),Et!==Ke&&(ft=!0,Ke=Et),It=g.attributes.s,It!==void 0&&(gt|=jt.S),It!==ts&&(ft=!0,ts=It),Ot=g.attributes.customFormat,Ot!==void 0&&(gt|=jt.CustomFormat),Ot!==Ye&&(ft=!0,Ye=Ot),Vt=g.attributes.outlineLevel,Vt!==void 0&&(gt|=jt.OutlineLevel),Vt!==es&&(ft=!0,es=Vt),Lt=g.attributes.collapsed,Lt!==void 0&&(gt|=jt.Collapsed),Lt!==ss&&(ft=!0,ss=Lt),gt!==0)if(Ge+1!==W||ft){const rt=Pt!==void 0&&(Pt==="1"||Pt==="true"),M=Ot!==void 0&&(Ot==="1"||Ot==="true");De={min:W,max:W,sz:rt&&zt!==void 0?parseFloat(zt):-1,csz:rt,h:Et!==void 0&&(Et==="1"||Et==="true"),s:rt&&It!==void 0&&It!=="0"?parseInt(It):0,cs:M,l:Vt===void 0||Vt==="0"?0:parseInt(Vt),cl:Lt!==void 0&&(Lt==="1"||Lt==="true")},Ae.push(De)}else De.max=W;return Ge=W,void(ft=!1)}l?.onOpenTag(g)}},onCloseTag:g=>{if(se){let C=g.name;const ot=C.indexOf(":");if(ot!==-1&&(C=C.slice(ot+1)),Dt)if(C==="is"||C==="v"){const N=Y?.onEnd();N!==null&&e.addValue(W,tt,""+N)}else Y?.onCloseTag?.(g);return pe&&(pe=!1),void(C==="c"&&(se=null,Dt=!1))}if(xt)return xt=!1,void(Nt=null);l?.onCloseTag(g)},onText:g=>{if(g=g.trim(),pe){switch(pt=null,ie){case null:case"n":pt=parseFloat(g);break;case"b":pt=g==="1"||g==="true";break;case"s":pt=g;break;case"e":if(g==="#VALUE!"){const ot=se.attributes.vm;if(ot!==void 0){const N=Cs[parseInt(ot)-1];if(N&&N.isFormulaError){pt={t:d.M$1.Error,v:N.getCode()};break}}}const C=d.n.getBuiltInByLabel(g);C?pt={t:d.M$1.Error,v:C.getCode()}:(pt=g,p?.(`Unknown formula error '${g}' in cell ${d.Zr.cellToString({colIndex:tt,rowIndex:W})}`));break;case"str":case"inlineStr":Dt=!0}pt!==null&&e.addValue(W,tt,pt)}if(ee&&(ie==="e"&&(ee[1]=!0),ke.push(ee),ee=null),At)if(We===At)at=qe;else{if(at=Ue.get(At),!at){const C=[];ge=_e(g,W,tt,C),at=[ge,C,g],Ue.set(At,at)}We=At,qe=at}if(_t){const C=[];ge=_e(g,W,tt,C),at=[ge,C,g]}if(at)return ze.append(W,tt,at),at=null,_t=!1,At=null,void(te=null);Dt?Y?.onText(g):xt||l?.onText(g)}}})(K,$,u.createEventHandler($,()=>{},Z),Z,e=>{x+=e,D?.(x)},Ss,kt)})(st,($,X=!1)=>le($,L,X)??null,ys,Ce,0,($,X)=>{X=X?`${X} (${L})`:L,a.push([$,X])},0,Te),Ft=cs(L,ae),bt=await(async($,X=8388608)=>{await(async()=>{if(typeof ReadableStream>"u")if(typeof window>"u"){const{ReadableStream:Z}=await Promise.resolve().then(()=>require("./BSNMVqk1t0UhVqdb.cjs"));globalThis.ReadableStream=Z}else console.warn("Browser does not support ReadableStream; consider loading a polyfill.")})();const Jt=new TextDecoder("utf-8");let U=0;const J=$ instanceof Uint8Array?$:new Uint8Array($);return new ReadableStream({pull(Z){if(U>=J.byteLength)return void Z.close();const Kt=J.subarray(U,Math.min(U+X,J.byteLength)),kt=Jt.decode(Kt,{stream:U+X<J.byteLength});Z.enqueue(kt),U+=Kt.length}}).getReader()})(Ft);try{await Oe.parseStream(bt,yt,{xmlns:!1})}catch($){throw console.warn(`Error parsing sheet: '${L}'`,$),new Error(`Error parsing sheet: '${L}'`,{cause:$})}const Bt=ye(L,et);let Ct,Be=new Map;if(Bt){const $="http://schemas.microsoft.com/office/2017/10/relationships/threadedComment";let X;Bt.forEach((U,J)=>{U.type===$&&(Ct=le(J,L,!1,et)?.comments,Ct&&Ct.forEach(Z=>{Be.set(Z.id,Z)}))});const Jt="http://schemas.openxmlformats.org/officeDocument/2006/relationships/comments";if(Bt.forEach((U,J)=>{U.type===Jt&&(X=le(J,L,!1,et))}),X||Ct){const U=Ct??[],J=X?.comments;if(J){const Z=X?.authors,Kt=J.length;for(let kt=0;kt<Kt;kt++){const u=J[kt];if(!u)continue;let K=Z&&u.authorId!==void 0?Z[u.authorId]:u.authorId;if(K&&K.startsWith("tc=")&&(K=fs(K.substring(3)),Be.has(K)))continue;let H=null;K&&(H=he.get(K)),H||(H=je.get(K)),H||(H={id:d.te.uuidV4(),displayName:K},je.set(H.displayName,H),he.set(H.id,H)),K=H?.id??null;const de={id:d.te.uuidV4(),personId:K,ref:u.ref,done:!1,asNote:!0,content:u.content};U.push(de)}}st.comments=U}}};$e.push(it())}else Xt=Q?cs(L,ae,st=>{const it=z.add({buffer:st});return it.addReference(Le),Ne.add(it),ut.toResourceId(it)},Tt):Ie(L,ae,O,y,Tt);return Xt},Tt={paramMap:Te,getRefs:ye,getRef:le,parsedRefs:Re,addPerson:w=>null},ce=[];let be=0;c.Strings&&(be=parseInt(c.Strings.Unique??c.Strings.length??0));const Ts=c.Strings??[];for(let w=0;w<be;w++)ce.push(Ts[w]?.t??"");const Me=new Map;let He=be;const ys=w=>{const B=Me.get(w);if(B!==void 0)return B;const Q=He;return Me.set(w,He++),ce.push(w),Q},he=(Ut("richstructure",c,O,y,Tt),Ut("richdata",c,O,y,Tt),new Map),je=new Map,Xe=Ut("people",c,O,y);let St=null;if(Xe.size>0&&(St=Xe.entries().next()?.value?.[1]?.persons,St)){const w=St.length;for(let B=0;B<w;B++){const Q=St[B];he.set(Q.id,Q),he.set(Q.displayName,Q)}}const xe=Ut("themes",c,O,y,Tt);let Fe=null;if(xe&&xe.entries){let w=xe.entries().next();w?.value?.[1]&&(Fe=w.value[1])}const bs=new d.Il(Fe);let ue=Ut("styles",c,O,y,Tt).entries().next()?.value[1];ue&&(ue=JSON.parse(d.oe(ue)));const xs=Ut("workbooks",c,O,y,Tt);await Promise.all($e);const we={...xs.entries().next().value[1],styles:ue,theme:bs.toJSON()};ce.length>0&&(we.strings=ce),St&&St.length>0&&(we.people=St);const ws={...o,resources:z,json:we},vs=new d.hy(ws);if(Ne.forEach(w=>{w.deleteReference(Le)}),ut.endPersist(),a.length){const w=h?.onWarning;if(w)for(const B of a){const[Q,et]=B;w(Q,et)}}return h?.onComplete?.(x),vs}catch(c){let y="Unable to parse XLSX.";throw c instanceof d.ae&&(y="Unable to open XLSX. There are too many rows or columns."),new Error(y,{cause:c})}},toBufferXLSX:async(i,t)=>{const s=await Promise.resolve().then(()=>require("./DRWk3O67719LopNw.cjs")),o=await i.toJSON(!0),n=s.utils.book_new();for(let a=0;a<o.sheets.length;a++){const h=o.sheets[a],f=s.utils.json_to_sheet([{}]);s.utils.book_append_sheet(n,f,h.name);const D=h.sheet,x=i.getSheetAt(a),S=x.getUsedRange();if(S?(f["!ref"]=S.getA1(),S.forEach((E,b)=>{const R={t:"z"},_=b.getCell().getStyle();if(!_.isNormal()){let T=_.getNumberFormat();T!==d.De.Type.General&&(T===d.De.Type.ShortDate?T="m/d/yyyy":T===d.De.Type.MediumDate?T="d-mmm-yy":T===d.De.Type.LongDate?T="[$-x-sysdate]dddd, mmmm dd, yyyy":T===d.De.Type.ShortTime?T="h:mm":T===d.De.Type.MediumTime?T="h:mm AM/PM":T===d.De.Type.LongTime&&(T="h:mm:ss AM/PM"),R.z=T)}if(E!==null)switch(b.getType()){case d.M$1.Number:R.t="n",R.v=E;break;case d.M$1.String:R.t="s",R.v=E;break;case d.M$1.Boolean:R.t="b",R.v=E;break;case d.M$1.Error:R.t="e",R.v=E.toString();case d.M$1.RichData:}f[b.getA1()]=R})):f["!ref"]="A1:A1",D.merges?.length>0){const E=[];f["!merges"]=E;for(let b=0;b<D.merges.length;b++)E.push(s.utils.decode_range(D.merges[b]))}if(D.cols?.length>0){const E=[];f["!cols"]=E;const b=D.cols,R={width:D.defaultColSize??x.getColumnWidthAsFontUnit(x.getColumnHeaders().getDefaultSize())};for(let _=0;_<b.length;_++){const T=b[_];for(let c=E.length;c<=T.min-1;c++)E.push(R);const m={};T.sz!==void 0&&(m.width=T.sz),T.h!==void 0&&(m.hidden=T.h),T.l!==void 0&&(m.level=T.l);for(let c=T.min;c<=T.max;c++)E.push(m)}}}return s.write(n,{type:"array",bookType:"xlsx"}),s.write(n,{type:"array",bookType:"xlsx"})}},Symbol.toStringTag,{value:"Module"}));exports.a=i=>parseFloat(i)/1e3,exports.b=ms,exports.c=i=>i?d.te.roundAccurately(parseFloat(i)/9525,1):null,exports.d=Ve,exports.i=_s,exports.p=i=>parseFloat(i)/6e4,exports.r=fs,exports.t=i=>i?d.te.roundAccurately(parseFloat(i)/12700,4):null;
@@ -1,5 +1,5 @@
1
1
  "use strict";/**
2
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.7.7
2
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.7.9
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.7.7
2
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.7.9
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.