@sheetxl/studio-vanilla 0.6.4 → 0.6.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (187) hide show
  1. package/browser/cjs/{Cj9W_jhqDIPmnNVg.cjs → 3khn6THwfFkU5jiH.cjs} +2 -2
  2. package/browser/cjs/{D99VNs0h_sNM4tHW.cjs → B1YRBQSzaSCXrDlD.cjs} +2 -2
  3. package/browser/cjs/{D_QnESiw7nv6tGHG.cjs → B3PJcVj-IGm2RK7S.cjs} +5 -5
  4. package/browser/cjs/{CwZVDaG3pju6lkZZ.cjs → BH0JlnXxs_y9xAfD.cjs} +5 -5
  5. package/browser/cjs/{YqW8e8iyC4JhXCYy.cjs → BIOXqmoH-9ZdUMHO.cjs} +1 -1
  6. package/browser/cjs/{CdUaCVhkCrUCE4AF.cjs → BQqQus7GNCcRanky.cjs} +1 -1
  7. package/browser/cjs/{Ds19g7QNWVVe8zC0.cjs → BVefqxsvansu52pf.cjs} +6 -6
  8. package/browser/cjs/{DUNp0OgSEAcLy8RH.cjs → BWzl7ZXSHwavO1h4.cjs} +2 -2
  9. package/browser/cjs/{Bw8qrVtTuYGZh_JY.cjs → BYe6FaSGXohfwifR.cjs} +1 -1
  10. package/browser/cjs/{BArIqDY-zX_9JbKq.cjs → BbqDvLB4XRAq8PjK.cjs} +1 -1
  11. package/browser/cjs/{CBwxQg7vslrWv8Sx.cjs → BgBZia5f0ckQO3tv.cjs} +1 -1
  12. package/browser/cjs/{DBeABQkyatwuyaIE.cjs → BnVqC38vXnNaYwta.cjs} +1 -1
  13. package/browser/cjs/{Bky6IJxf41vfmiEa.cjs → BndRovkKEbGeFsIH.cjs} +1 -1
  14. package/browser/cjs/{B7KYkBc1E43v5Rdg.cjs → BsohAXSW9Zd3K4Gg.cjs} +2 -2
  15. package/browser/cjs/{BIhrhSruETxGwVLA.cjs → BzFcYUyBS3xk7vSt.cjs} +1 -1
  16. package/browser/cjs/{D_zRqEWysQlmoIWH.cjs → C9mIuhpLiGvTMK3B.cjs} +1 -1
  17. package/browser/cjs/{IsuXLvdkF0LqeBCp.cjs → CEuy5mrMYYaKilHh.cjs} +1 -1
  18. package/browser/cjs/{CR-I7zSNwzikpa4B.cjs → CFep85kcTTZiLq1s.cjs} +1 -1
  19. package/browser/cjs/{BfblRAi6Yag4M8F6.cjs → CJRGbGQR903TfsX2.cjs} +1 -1
  20. package/browser/cjs/{Q1rohJQ99VrVZM4N.cjs → CT96vwef1frE_xO5.cjs} +2 -2
  21. package/browser/cjs/{CJICnBJhKSztz3ix.cjs → CWqY5qD9F8ejqlhn.cjs} +1 -1
  22. package/browser/cjs/{CP1jrGRLh9liezjk.cjs → C_nqx5jy0WdS5eUt.cjs} +1 -1
  23. package/browser/cjs/{C7n822sRX3n9j6Le.cjs → Cbnj0TlUbiPA_cBl.cjs} +2 -2
  24. package/browser/cjs/{CXua8PIdCswzKop0.cjs → CjaswnmozG1Wnkph.cjs} +2 -2
  25. package/browser/cjs/{DPnJYg1u8GDODOhi.cjs → Ck162yhI8a8AzP2Y.cjs} +1 -1
  26. package/browser/cjs/{CChKea_o24Bc9rA5.cjs → CuyqWl8TtYPE7cas.cjs} +2 -2
  27. package/browser/cjs/{BU4LrknRmXm16lnY.cjs → D-yGu0GKJTlWjCxV.cjs} +1 -1
  28. package/browser/cjs/{CNW_UcPXbiZ0Ym0m.cjs → D9EkzEeAA8NvFlem.cjs} +1 -1
  29. package/browser/cjs/{Ht_g2b253DmJoXJA.cjs → DBLgeCJrYVDDlTYO.cjs} +1 -1
  30. package/browser/cjs/{D-ufMElgFHqLdu1H.cjs → DEYDql7M3QlI-qyY.cjs} +1 -1
  31. package/browser/cjs/DEd-uOI_8EwTswrZ.cjs +6 -0
  32. package/browser/cjs/{UErXc6FC0wOLS7NJ.cjs → DRa2LS1ZYygPeKIb.cjs} +1 -1
  33. package/browser/cjs/{D5JhBYTBEMISf4z5.cjs → DactbGy-IDnFmHL7.cjs} +1 -1
  34. package/browser/cjs/{DtHIRS5GQnpEFP8g.cjs → DapbHy2lgBdWLWXl.cjs} +1 -1
  35. package/browser/cjs/{BRYC-StrOkR8owHv.cjs → DeRclvX0tjcH-5d2.cjs} +1 -1
  36. package/browser/cjs/Deuzq2vrUnAdRwxw.cjs +330 -0
  37. package/browser/cjs/{PEKHr2twsqpjIg8X.cjs → DhZX40l9OVd1jfAd.cjs} +2 -2
  38. package/browser/cjs/{Y7a0RdulN-E8Qprw.cjs → Dn2j4hs3RfBXCOAB.cjs} +2 -2
  39. package/browser/cjs/{CbpO5o4OoHU-okS7.cjs → DsfbagZuh7gCZyZ8.cjs} +2 -2
  40. package/browser/cjs/{Bs9gl3q4ZVkgMLqI.cjs → Dx_G16YNQRCCsesH.cjs} +1 -1
  41. package/browser/cjs/{S68eUxzRdlHWF61N.cjs → Dz-80wbKR9gluvY0.cjs} +4 -4
  42. package/browser/cjs/{B1GnvUw9NPQZ7F9M.cjs → DzjzjVrsJAiGWj9X.cjs} +2 -2
  43. package/browser/cjs/{gwbEDTCqfM9dg1_-.cjs → LVJHt4cXqQ6d6uQv.cjs} +1 -1
  44. package/browser/cjs/{DV3_29DxoQNNFy53.cjs → NOXwAG1U2GSI3--B.cjs} +2 -2
  45. package/browser/cjs/{D8Py2h3aPLASFMA3.cjs → OVBBMnz7U1N8Auls.cjs} +5 -5
  46. package/browser/cjs/{O8LSNGCAj2xaaPi5.cjs → PJxjbBQ6T_x_8d3R.cjs} +1 -1
  47. package/browser/cjs/Rs4SPldcFaR25pkN.cjs +6 -0
  48. package/browser/cjs/Uy4-KgVmrHLJmZPY.cjs +12 -0
  49. package/browser/cjs/{vP1Us8Eze-aP3xYg.cjs → VMrvwITLckOb9OZJ.cjs} +1 -1
  50. package/browser/cjs/{B_SQGFlHO6XiQp1E.cjs → ZZZZKdW69P9OmQK5.cjs} +1 -1
  51. package/browser/cjs/{CGQZTLUEKfgcOCgb.cjs → e4hIpC2H8SZs_FaH.cjs} +1 -1
  52. package/browser/cjs/{B9HYx_gx43hgY1TU.cjs → fzltUv7k3g_41akR.cjs} +1 -1
  53. package/browser/cjs/index.cjs +2 -2
  54. package/browser/cjs/{BMxS0znlpc2XdxLu.cjs → k4_Gtj0ee7QZfher.cjs} +1 -1
  55. package/browser/cjs/{PTCzG15fjiV6_9ss.cjs → o9UvxolVM8N5j5LT.cjs} +1 -1
  56. package/browser/cjs/{BioOzYtqszFPDx9j.cjs → oZeX-CFYY8CzIcSm.cjs} +3 -3
  57. package/browser/cjs/{JPWqggSzT92WyA_Y.cjs → x7GV7VCCkhxBkRVr.cjs} +2 -2
  58. package/browser/cjs/{CstKou1fPRKuDMfM.cjs → z9Nd8o1UXeSTjADs.cjs} +460 -454
  59. package/browser/esm/{tPxwcj9fyQig_g0z.mjs → BCS2lE8-uzpKYINn.mjs} +7 -7
  60. package/browser/esm/{CQXRXzWvzMTZ6ih6.mjs → BFDqHUU6NBrQYJ-F.mjs} +2 -2
  61. package/{cdn/assets/DLtEwo1ab2jvn_b5.js → browser/esm/BGrkjy07_4jYJwBH.mjs} +1 -1
  62. package/{cdn/assets/Dbj5xbwgmxpqP18Z.js → browser/esm/BL9NSV4ILX2820PR.mjs} +1 -1
  63. package/browser/esm/{BL2mtJ0CU9BBKSMK.mjs → BMNrxDrMdnAXIAiO.mjs} +3 -3
  64. package/browser/esm/{bzoFaTPsOkNM6b-q.mjs → BNzwQyGLGh1tjzhn.mjs} +1 -1
  65. package/{cdn/assets/tzAtsVRq8fh0AQOk.js → browser/esm/BSsqSjmoZaq9VjJ_.mjs} +1 -1
  66. package/browser/esm/{CSdizHzDATInUMSF.mjs → BXKAAavlpQcvnarE.mjs} +2 -2
  67. package/browser/esm/{CKMUGnpdnieN0Llt.mjs → BtJtQbcCcJQwi2Ye.mjs} +6 -6
  68. package/browser/esm/{BxZlmGzsXD9gGqd6.mjs → BxD3MYvWDk4f5t_w.mjs} +2 -2
  69. package/browser/esm/{DLXwAWOG11Wpjwso.mjs → C30vxb2B-wCWYHyT.mjs} +13 -13
  70. package/{cdn/assets/CfQXO9QgDXEI1Sgo.js → browser/esm/C50gVw8rEDbiul-B.mjs} +1 -1
  71. package/browser/esm/{BzFTpD9Nf1CPa692.mjs → CAT2zqzqokcdysLX.mjs} +2 -2
  72. package/browser/esm/{BowC0DrjwBuQSDlH.mjs → CBnB_qT-UB_ZNgr9.mjs} +1 -1
  73. package/{cdn/assets/D2F21iwfhk7brFDZ.js → browser/esm/CJN-uFq_MoeA5VM-.mjs} +1 -1
  74. package/browser/esm/{CRzi1OuRotBW8Sll.mjs → CJim-5oZhpIg7Vf4.mjs} +1 -1
  75. package/browser/esm/{Bbn-RMGRp0MSam42.mjs → CN5ju_1W5NIt_JCQ.mjs} +4 -4
  76. package/{cdn/assets/CeETeACz1-fsjGTw.js → browser/esm/COCcNVFiLmqqNfVi.mjs} +1 -1
  77. package/browser/esm/{BXzspda8JhpEr0RI.mjs → CWPiSqGk_qGiuLTG.mjs} +1 -1
  78. package/browser/esm/{CuM6FFUSNEAltDdu.mjs → CXhxt8m9WX6gvLG1.mjs} +2 -2
  79. package/browser/esm/{xrgAvPTh_e_PtpDG.mjs → CYgmtE8McBoj3TaY.mjs} +2 -2
  80. package/browser/esm/{BFY7Fnq3J4ZSMp9P.mjs → C_6cfOrpNv_R0fzp.mjs} +2 -2
  81. package/browser/esm/{BM0APYFIQHTGxxYF.mjs → CdZXTJk-jNtcVXha.mjs} +1 -1
  82. package/browser/esm/{CYD3BV5ECn-CKwrj.mjs → Ceq0QgfNVk9io8W8.mjs} +3 -3
  83. package/{cdn/assets/BZdSP0VhStasEeUx.js → browser/esm/Ciwk37oa-xAQO86p.mjs} +1 -1
  84. package/browser/esm/{DQLbhwTDnMxQTVoS.mjs → CiyMv2h97cqIcynz.mjs} +3 -3
  85. package/browser/esm/{DOxIG-2DrW6KCImE.mjs → CjkleAGl3FPE0lTt.mjs} +2 -2
  86. package/browser/esm/{CwDeBfn2HcOixvHE.mjs → CkCqmIbs1HHqbf34.mjs} +1 -1
  87. package/browser/esm/{CpmPS0XDa1YDIcn5.mjs → CqSQOGGwktiMRz1z.mjs} +2 -2
  88. package/{cdn/assets/BGRzYPSFkaGgdzEZ.js → browser/esm/CrpsPARYIAfu5oHf.mjs} +1 -1
  89. package/{cdn/assets/j4IyoNYp8IF40Q8T.js → browser/esm/D2g6xWYtxhSSbeIg.mjs} +1 -1
  90. package/browser/esm/{Bhb0IiwE6MSaSY2a.mjs → D4HHHmz1LQD5ETIe.mjs} +2 -2
  91. package/{cdn/assets/DCdAMMa8IzWWY7fl.js → browser/esm/D8i0nz8-BvYAe8oj.mjs} +1 -1
  92. package/browser/esm/{C2nXFLNCmWklNPkc.mjs → DBLTAEDLOALSC-7a.mjs} +2 -2
  93. package/browser/esm/{DfLXWoU9oZQH2Itt.mjs → DGLvDjF4Ltazle05.mjs} +1 -1
  94. package/browser/esm/{CeJkxDeIBYskjWSB.mjs → DRXQI_U2zF18xL3R.mjs} +2 -2
  95. package/browser/esm/{DKcOzCTQofX6cY_B.mjs → DSze70JHdAh2o4p9.mjs} +2 -2
  96. package/{cdn/assets/Cd5FvhDd8yddH07t.js → browser/esm/DbcUVpIOErroPO4b.mjs} +1 -1
  97. package/{cdn/assets/DfQHVmm1Aiz4b6GJ.js → browser/esm/DeQHUGB9ottxRmbH.mjs} +1 -1
  98. package/{cdn/assets/k2OxnBkaD4yvARfd.js → browser/esm/DhKU9Oa9vYS0eExH.mjs} +1 -1
  99. package/browser/esm/{BSBfTVDfriNqNy6s.mjs → Dh_Pj2pa2DKQx8aH.mjs} +1 -1
  100. package/browser/esm/{YZ-VgG7-5D3t3lre.mjs → DhfT1I2puhMG8qyB.mjs} +3 -3
  101. package/browser/esm/{Dx0zoo9U_hFs7YxA.mjs → DimykeZaWz3Rxvru.mjs} +1 -1
  102. package/{cdn/assets/Dm24M4tfHrPDHOCg.js → browser/esm/DjMBFC3zWPemXx3O.mjs} +16598 -16308
  103. package/browser/esm/{AT-fq7GzXwHXLNrl.mjs → DmZ4vbOEMyG1LvTc.mjs} +1 -1
  104. package/{cdn/assets/CNQTifWAw4UZqu4J.js → browser/esm/DngFb_8sfEsFaHaQ.mjs} +1 -1
  105. package/browser/esm/{B6M04wH6vpX8Tswo.mjs → DoOlH6JiH7WXd0Qg.mjs} +1 -1
  106. package/{cdn/assets/CQaO6ZEvkHw2gfXL.js → browser/esm/DrQxuqUa-GmFG82t.mjs} +1 -1
  107. package/{cdn/assets/BycubXhphudONHRz.js → browser/esm/DvN21qGioKQrYwy6.mjs} +1 -1
  108. package/{cdn/assets/euIZeWiUlDt0TCHt.js → browser/esm/EWdHaNI3cfEdN2qZ.mjs} +1 -1
  109. package/browser/esm/{vzeva821r4KgCSk7.mjs → JxKR3nJXui56hTBx.mjs} +1 -1
  110. package/browser/esm/{-EBvrHk3aKUkxxyP.mjs → MMr5Kq6qb0K9sPfX.mjs} +14 -14
  111. package/browser/esm/{BRcP3bZej4lt-fwi.mjs → MqGfbbA-UIKBZ5Tg.mjs} +1 -1
  112. package/{cdn/assets/cEp9L01nLekgiF9x.js → browser/esm/TbcqA8k5V12hx--M.mjs} +1 -1
  113. package/browser/esm/{Mdeli4Ux2pIhMTna.mjs → VUyduI-iwcib6hbK.mjs} +4 -4
  114. package/browser/esm/{B0Q5DMVzQVBrRH5u.mjs → eiBFvjjW2dDKZjOF.mjs} +460 -454
  115. package/browser/esm/{B7xKwPc3dShIy-nn.mjs → hdg94KDLbrr748yN.mjs} +1 -1
  116. package/browser/esm/index.mjs +2 -2
  117. package/cdn/assets/{CpPCaR9szrHTsQwm.js → B2NFKI-3rXb76mvP.js} +2 -2
  118. package/cdn/assets/{BLM_iAjwRwVBN8bb.js → B7YLlVtTf8SyjRxl.js} +4 -4
  119. package/cdn/assets/{B9aoOkmZ0D_YtsXK.js → B9rnABCK7K6EEcUc.js} +2 -2
  120. package/cdn/assets/{TguQ-N0Ymfvy3Jui.js → BDCRKnCTXynByvqI.js} +2 -2
  121. package/{browser/esm/DLtEwo1ab2jvn_b5.mjs → cdn/assets/BGrkjy07_4jYJwBH.js} +1 -1
  122. package/cdn/assets/{XcJJ_a5IJ1YgOul_.js → BIRDVeAokEioxEMg.js} +4 -4
  123. package/{browser/esm/Dbj5xbwgmxpqP18Z.mjs → cdn/assets/BL9NSV4ILX2820PR.js} +1 -1
  124. package/cdn/assets/{BjUnH-Jak3KkxyMS.js → BLlBmq17Ns85SGIy.js} +3 -3
  125. package/cdn/assets/{BjZFsdRm_rFuN4hm.js → BNJIXyHxPjWIalrP.js} +1 -1
  126. package/cdn/assets/{bzoFaTPsOkNM6b-q.js → BNzwQyGLGh1tjzhn.js} +1 -1
  127. package/{browser/esm/tzAtsVRq8fh0AQOk.mjs → cdn/assets/BSsqSjmoZaq9VjJ_.js} +1 -1
  128. package/cdn/assets/{5sjE_f0eCRmKl1YH.js → Bc88uy0uKB2E8nZF.js} +4 -4
  129. package/cdn/assets/{DsfC0KVaFX14vAIv.js → BcwnerrAZQ4U26yF.js} +19 -19
  130. package/cdn/assets/{Dp_LPFvPc1MIziNH.js → BfgS5gIABj2bHJof.js} +5 -5
  131. package/cdn/assets/{NNVwV-Jgrf4zhOot.js → BitXsx5qKVZKyUTJ.js} +3 -3
  132. package/cdn/assets/{C5HcNwtQCCCRFFOF.js → Boy7yvaVLE0PsPuH.js} +2 -2
  133. package/{browser/esm/EFJ5klSL3OL5aq6z.mjs → cdn/assets/BtXaxs1sazydxVbz.js} +16037 -16093
  134. package/cdn/assets/{sIFC0Mpxbo4p3KuX.js → C-SXSAOGAHA0bZUW.js} +30 -30
  135. package/{browser/esm/CfQXO9QgDXEI1Sgo.mjs → cdn/assets/C50gVw8rEDbiul-B.js} +1 -1
  136. package/cdn/assets/{BowC0DrjwBuQSDlH.js → CBnB_qT-UB_ZNgr9.js} +1 -1
  137. package/{browser/esm/D2F21iwfhk7brFDZ.mjs → cdn/assets/CJN-uFq_MoeA5VM-.js} +1 -1
  138. package/cdn/assets/{CRzi1OuRotBW8Sll.js → CJim-5oZhpIg7Vf4.js} +1 -1
  139. package/cdn/assets/{CkuMHJ2UQRlXqJRP.js → CKLIeTejFu3Chzc0.js} +2 -2
  140. package/{browser/esm/CeETeACz1-fsjGTw.mjs → cdn/assets/COCcNVFiLmqqNfVi.js} +1 -1
  141. package/cdn/assets/{C1XMRiAzO92X4UST.js → CONhxNzXu71azh3U.js} +1 -1
  142. package/cdn/assets/{BXzspda8JhpEr0RI.js → CWPiSqGk_qGiuLTG.js} +1 -1
  143. package/cdn/assets/{BM0APYFIQHTGxxYF.js → CdZXTJk-jNtcVXha.js} +1 -1
  144. package/{browser/esm/BZdSP0VhStasEeUx.mjs → cdn/assets/Ciwk37oa-xAQO86p.js} +1 -1
  145. package/cdn/assets/{CwDeBfn2HcOixvHE.js → CkCqmIbs1HHqbf34.js} +1 -1
  146. package/cdn/assets/{DdDAkCzLnDiQdL3A.js → CpzbAOY6S-fCGokT.js} +3 -3
  147. package/cdn/assets/{DJU28FT-fFQgl9TT.js → Cr3aHpBRlCcE0133.js} +460 -454
  148. package/cdn/assets/{De3jlByxtk3rWL2a.js → CrjpZUy5OEHTDbj6.js} +2 -2
  149. package/{browser/esm/BGRzYPSFkaGgdzEZ.mjs → cdn/assets/CrpsPARYIAfu5oHf.js} +1 -1
  150. package/{browser/esm/j4IyoNYp8IF40Q8T.mjs → cdn/assets/D2g6xWYtxhSSbeIg.js} +1 -1
  151. package/{browser/esm/DCdAMMa8IzWWY7fl.mjs → cdn/assets/D8i0nz8-BvYAe8oj.js} +1 -1
  152. package/cdn/assets/{BEE98W-H6L1rZRv8.js → DALlODXPDn6BGsXV.js} +23 -23
  153. package/cdn/assets/{ESo6qTbjf45cfiLm.js → DAqZessyZO7y1dzE.js} +2 -2
  154. package/cdn/assets/{C7b6b0C-si4zxAkA.js → DBySRnkeKApkqWoJ.js} +4 -4
  155. package/cdn/assets/{q-BPyETPY3lfSoRm.js → DCy4YIoci_md9gam.js} +15 -15
  156. package/cdn/assets/{DfLXWoU9oZQH2Itt.js → DGLvDjF4Ltazle05.js} +1 -1
  157. package/cdn/assets/{DrkxURYJO1rFt6Di.js → DMh4HTxSNspJWLf6.js} +13 -13
  158. package/cdn/assets/{C_yNh_M_1Virv7s5.js → DOL53NVAyIA3BCpu.js} +3 -3
  159. package/cdn/assets/{Dj6M_idmpQIbVYSA.js → DX-j8vaA1R6x38jO.js} +49 -49
  160. package/cdn/assets/{C-B2_rbodxKYJ8_E.js → DYF0w_-PnC9qTlpv.js} +6 -6
  161. package/{browser/esm/Cd5FvhDd8yddH07t.mjs → cdn/assets/DbcUVpIOErroPO4b.js} +1 -1
  162. package/{browser/esm/DfQHVmm1Aiz4b6GJ.mjs → cdn/assets/DeQHUGB9ottxRmbH.js} +1 -1
  163. package/{browser/esm/k2OxnBkaD4yvARfd.mjs → cdn/assets/DhKU9Oa9vYS0eExH.js} +1 -1
  164. package/cdn/assets/{BSBfTVDfriNqNy6s.js → Dh_Pj2pa2DKQx8aH.js} +1 -1
  165. package/cdn/assets/{Dx0zoo9U_hFs7YxA.js → DimykeZaWz3Rxvru.js} +1 -1
  166. package/cdn/assets/{AT-fq7GzXwHXLNrl.js → DmZ4vbOEMyG1LvTc.js} +1 -1
  167. package/{browser/esm/CNQTifWAw4UZqu4J.mjs → cdn/assets/DngFb_8sfEsFaHaQ.js} +1 -1
  168. package/cdn/assets/{B6M04wH6vpX8Tswo.js → DoOlH6JiH7WXd0Qg.js} +1 -1
  169. package/{browser/esm/CQaO6ZEvkHw2gfXL.mjs → cdn/assets/DrQxuqUa-GmFG82t.js} +1 -1
  170. package/{browser/esm/BycubXhphudONHRz.mjs → cdn/assets/DvN21qGioKQrYwy6.js} +1 -1
  171. package/{browser/esm/euIZeWiUlDt0TCHt.mjs → cdn/assets/EWdHaNI3cfEdN2qZ.js} +1 -1
  172. package/cdn/assets/{BRcP3bZej4lt-fwi.js → MqGfbbA-UIKBZ5Tg.js} +1 -1
  173. package/cdn/assets/{BU2py2W3_ANviutQ.js → RgTun6OehOIz_L1Y.js} +118 -118
  174. package/{browser/esm/cEp9L01nLekgiF9x.mjs → cdn/assets/TbcqA8k5V12hx--M.js} +1 -1
  175. package/cdn/assets/{C6EwtLb_X8xO56xy.js → YDKdfPwqd5jfl-N0.js} +2 -2
  176. package/cdn/assets/{UXesOLOvLQd8UezZ.js → YyvEF1qZsZDaA58n.js} +9 -9
  177. package/cdn/assets/{BWqF1U19j_5ZT4e-.js → fMhtLphCYHJcJ0rQ.js} +4 -4
  178. package/cdn/assets/{B7xKwPc3dShIy-nn.js → hdg94KDLbrr748yN.js} +1 -1
  179. package/cdn/assets/{BPAxVisl1gIuavoO.js → usddELzSbbsMIYFT.js} +14 -14
  180. package/cdn/assets/{2HU0zg8YzSAR3SHM.js → vcOEiIk1OYCnaDRj.js} +4 -4
  181. package/cdn/index.js +2 -2
  182. package/cdn/loader.js +1 -1
  183. package/package.json +3 -3
  184. package/browser/cjs/BVN5e1a2ZA0exR3w.cjs +0 -6
  185. package/browser/cjs/Bd-US8M4eZh5SC26.cjs +0 -330
  186. package/browser/cjs/CNg6obQK0hrWbXte.cjs +0 -6
  187. package/browser/cjs/OmF2qL-WWE9cjtm6.cjs +0 -12
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.6.4
2
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.6.5
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.
@@ -47,7 +47,7 @@ class u {
47
47
  }
48
48
  }
49
49
  const s = `/**
50
- * @license @sheetxl/primitives - Primitives - Base types for SheetXL functions. - v0.6.4
50
+ * @license @sheetxl/primitives - Primitives - Base types for SheetXL functions. - v0.6.5
51
51
  *
52
52
  * (C) 2025-present SheetXL Inc. & Michael T. Ford
53
53
  * License: The license can be found at https://www.sheetxl.com/license.
@@ -83,7 +83,7 @@ var Re, ae, d;
83
83
  }
84
84
  }
85
85
  e.Known = t;
86
- class r extends t {
86
+ class n extends t {
87
87
  constructor(c, m) {
88
88
  super(e.Code.Parse, e.Label.Parse, c, m);
89
89
  }
@@ -95,8 +95,8 @@ var Re, ae, d;
95
95
  return { line: c?.line ?? 1, column: c?.column ?? 1, offset: c?.offset ?? 0, length: c?.length ?? 0 };
96
96
  }
97
97
  }
98
- e.Parse = r;
99
- class n extends t {
98
+ e.Parse = n;
99
+ class r extends t {
100
100
  constructor(c, m) {
101
101
  super(e.Code.Null, e.Label.Null, c, m);
102
102
  }
@@ -104,7 +104,7 @@ var Re, ae, d;
104
104
  this.code = e.Code.Null;
105
105
  }
106
106
  }
107
- e.Null = n;
107
+ e.Null = r;
108
108
  class o extends t {
109
109
  constructor(c, m) {
110
110
  super(e.Code.Div0, e.Label.Div0, c, m);
@@ -252,56 +252,56 @@ var Re, ae, d;
252
252
  })(d || (d = {}));
253
253
  const _ = {};
254
254
  _[d.Code.Parse] = d.Parse, _[d.Code.Null] = d.Null, _[d.Code.Div0] = d.Div0, _[d.Code.Value] = d.Value, _[d.Code.Ref] = d.Ref, _[d.Code.Name] = d.Name, _[d.Code.Num] = d.Num, _[d.Code.NA] = d.NA, _[d.Code.GettingData] = d.GettingData, _[d.Code.Spill] = d.Spill, _[d.Code.Connect] = d.Connect, _[d.Code.Blocked] = d.Blocked, _[d.Code.Unknown] = d.Unknown, _[d.Code.Field] = d.Field, _[d.Code.Calc] = d.Calc, _[d.Code.Busy] = d.Busy, _[d.Code.Python] = d.Python, _[d.Code.Timeout] = d.Timeout;
255
- const et = /* @__PURE__ */ new Map(), Te = /* @__PURE__ */ new Map(), tt = /* @__PURE__ */ new Map(), rt = /* @__PURE__ */ new Map(), ke = Object.keys(_);
255
+ const nt = /* @__PURE__ */ new Map(), Te = /* @__PURE__ */ new Map(), rt = /* @__PURE__ */ new Map(), ot = /* @__PURE__ */ new Map(), ke = Object.keys(_);
256
256
  for (let e = 0; e < ke.length; e++) {
257
- const t = ke[e], r = _[t];
258
- tt.set(d.Label[t], r), rt.set(d.Code[t], r);
259
- const n = new r();
260
- et.set(n.getLabel(), n), Te.set(n.getCode(), n);
257
+ const t = ke[e], n = _[t];
258
+ rt.set(d.Label[t], n), ot.set(d.Code[t], n);
259
+ const r = new n();
260
+ nt.set(r.getLabel(), r), Te.set(r.getCode(), r);
261
261
  }
262
- const Et = Te.get(d.Code.Unknown);
262
+ const xt = Te.get(d.Code.Unknown);
263
263
  var v;
264
- (v = d || (d = {})).BuiltIn = { Parse: new v.Parse(), Null: new v.Null(), Div0: new v.Div0(), Value: new v.Value(), Ref: new v.Ref(), Name: new v.Name(), Num: new v.Num(), NA: new v.NA(), GettingData: new v.GettingData(), Spill: new v.Spill(), Connect: new v.Connect(), Blocked: new v.Blocked(), Unknown: new v.Unknown(), Field: new v.Field(), Calc: new v.Calc(), Busy: new v.Busy(), Python: new v.Python(), Timeout: new v.Timeout() }, v.getBuiltInByLabel = (e) => et.get(e), v.newTypedError = (e, t, r) => {
265
- let n;
266
- return n = typeof e == "string" ? tt.get(e) : rt.get(e), n || (n = v.Unknown), new n(t, r);
267
- }, v.getBuiltInById = (e) => Te.get(e) || Et;
264
+ (v = d || (d = {})).BuiltIn = { Parse: new v.Parse(), Null: new v.Null(), Div0: new v.Div0(), Value: new v.Value(), Ref: new v.Ref(), Name: new v.Name(), Num: new v.Num(), NA: new v.NA(), GettingData: new v.GettingData(), Spill: new v.Spill(), Connect: new v.Connect(), Blocked: new v.Blocked(), Unknown: new v.Unknown(), Field: new v.Field(), Calc: new v.Calc(), Busy: new v.Busy(), Python: new v.Python(), Timeout: new v.Timeout() }, v.getBuiltInByLabel = (e) => nt.get(e), v.newTypedError = (e, t, n) => {
265
+ let r;
266
+ return r = typeof e == "string" ? rt.get(e) : ot.get(e), r || (r = v.Unknown), new r(t, n);
267
+ }, v.getBuiltInById = (e) => Te.get(e) || xt;
268
268
  /**
269
- * @license @sheetxl/utils - Utils - Utilities used by most SheetXL components. - v0.6.4
269
+ * @license @sheetxl/utils - Utils - Utilities used by most SheetXL components. - v0.6.5
270
270
  *
271
271
  * (C) 2025-present SheetXL Inc. & Michael T. Ford
272
272
  * License: The license can be found at https://www.sheetxl.com/license.
273
273
  */
274
- const S = { html: "text/html", plain: "text/plain", png: "image/png" }, St = Object.freeze({ left: 0, top: 0 }), xt = Object.freeze({ left: 0, top: 0, bottom: 0, right: 0 }), Ct = Object.freeze({ x: 0, y: 0, width: 0, height: 0 });
275
- Object.freeze(Object.defineProperty({ __proto__: null, EmptyBounds: Ct, EmptyRect: xt, EmptyTopLeft: St }, Symbol.toStringTag, { value: "Module" }));
276
- const j = { Column: "column", Row: "row" }, vt = Object.freeze({ colIndex: 0, rowIndex: 0 }), Tt = Object.freeze({ colStart: 0, rowStart: 0, colEnd: 0, rowEnd: 0 }), nt = (e, t) => e.colStart === t.colStart ? e.rowStart - t.rowStart : e.colStart - t.colStart, ot = (e, t) => e.rowStart === t.rowStart ? e.colStart - t.colStart : e.rowStart - t.rowStart, _t = (e, t) => e.rowEnd === t.rowEnd ? t.colEnd - e.colEnd : t.rowEnd - e.rowEnd, Ot = (e, t) => e.colEnd === t.colEnd ? t.rowEnd - e.rowEnd : t.colEnd - e.colEnd, Le = (e, t) => e.colIndex === t.colIndex ? e.rowIndex - t.rowIndex : e.colIndex - t.colIndex, Ae = (e, t) => e.rowIndex === t.rowIndex ? e.colIndex - t.colIndex : e.rowIndex - t.rowIndex, it = (e = j.Row, t = !1) => t ? e !== j.Column ? _t : Ot : e !== j.Column ? ot : nt, Me = (e, t) => e === t || !(!e || !t) && e.rowIndex === t.rowIndex && e.colIndex === t.colIndex, Se = (e, t) => e === t || !(!e || !t) && e.rowStart === t.rowStart && e.rowEnd === t.rowEnd && e.colStart === t.colStart && e.colEnd === t.colEnd, xe = (e, t) => !(!e || !t) && !(e.colStart > t.colEnd || t.colStart > e.colEnd) && !(e.rowStart > t.rowEnd || t.rowStart > e.rowEnd), je = (e, t) => {
274
+ const S = { html: "text/html", plain: "text/plain", png: "image/png" }, Ct = Object.freeze({ left: 0, top: 0 }), vt = Object.freeze({ left: 0, top: 0, bottom: 0, right: 0 }), Tt = Object.freeze({ x: 0, y: 0, width: 0, height: 0 });
275
+ Object.freeze(Object.defineProperty({ __proto__: null, EmptyBounds: Tt, EmptyRect: vt, EmptyTopLeft: Ct }, Symbol.toStringTag, { value: "Module" }));
276
+ const j = { Column: "column", Row: "row" }, _t = Object.freeze({ colIndex: 0, rowIndex: 0 }), Ot = Object.freeze({ colStart: 0, rowStart: 0, colEnd: 0, rowEnd: 0 }), it = (e, t) => e.colStart === t.colStart ? e.rowStart - t.rowStart : e.colStart - t.colStart, at = (e, t) => e.rowStart === t.rowStart ? e.colStart - t.colStart : e.rowStart - t.rowStart, It = (e, t) => e.rowEnd === t.rowEnd ? t.colEnd - e.colEnd : t.rowEnd - e.rowEnd, Nt = (e, t) => e.colEnd === t.colEnd ? t.rowEnd - e.rowEnd : t.colEnd - e.colEnd, Le = (e, t) => e.colIndex === t.colIndex ? e.rowIndex - t.rowIndex : e.colIndex - t.colIndex, Ae = (e, t) => e.rowIndex === t.rowIndex ? e.colIndex - t.colIndex : e.rowIndex - t.rowIndex, Me = (e, t) => e.rowIndex === t.rowIndex ? t.colIndex - e.colIndex : t.rowIndex - e.rowIndex, je = (e, t) => e.colIndex === t.colIndex ? t.rowIndex - e.rowIndex : t.colIndex - e.colIndex, lt = (e = j.Row, t = !1) => t ? e !== j.Column ? It : Nt : e !== j.Column ? at : it, Pe = (e, t) => e === t || !(!e || !t) && e.rowIndex === t.rowIndex && e.colIndex === t.colIndex, Se = (e, t) => e === t || !(!e || !t) && e.rowStart === t.rowStart && e.rowEnd === t.rowEnd && e.colStart === t.colStart && e.colEnd === t.colEnd, xe = (e, t) => !(!e || !t) && !(e.colStart > t.colEnd || t.colStart > e.colEnd) && !(e.rowStart > t.rowEnd || t.rowStart > e.rowEnd), Fe = (e, t) => {
277
277
  if (e === t) return !0;
278
278
  if (!e || !t || e.length !== t.length) return !1;
279
- for (let r = 0; r < e.length; r++) if (!Se(e[r], t[r])) return !1;
279
+ for (let n = 0; n < e.length; n++) if (!Se(e[n], t[n])) return !1;
280
280
  return !0;
281
- }, he = (e, t, r) => {
281
+ }, he = (e, t, n) => {
282
282
  if (!e && !t) return null;
283
- if (!e) return r ? t : { ...t };
284
- if (!t) return r ? e : { ...e };
285
- const n = Math.min(e.colStart, t.colStart), o = Math.min(e.rowStart, t.rowStart), i = Math.max(e.colEnd, t.colEnd), a = Math.max(e.rowEnd, t.rowEnd);
286
- let l = r;
287
- return l ? (l.colStart = n, l.rowStart = o, l.colEnd = i, l.rowEnd = a) : l = { colStart: n, rowStart: o, colEnd: i, rowEnd: a }, l;
288
- }, Pe = (e, t) => {
283
+ if (!e) return n ? t : { ...t };
284
+ if (!t) return n ? e : { ...e };
285
+ const r = Math.min(e.colStart, t.colStart), o = Math.min(e.rowStart, t.rowStart), i = Math.max(e.colEnd, t.colEnd), a = Math.max(e.rowEnd, t.rowEnd);
286
+ let l = n;
287
+ return l ? (l.colStart = r, l.rowStart = o, l.colEnd = i, l.rowEnd = a) : l = { colStart: r, rowStart: o, colEnd: i, rowEnd: a }, l;
288
+ }, De = (e, t) => {
289
289
  if (!t || t.length === 0) return e;
290
- const r = { ...e };
291
- for (let n = 0; n < t.length; n++) {
292
- const o = t[n];
293
- xe(r, o) && (r.rowStart = Math.min(r.rowStart, o.rowStart), r.colStart = Math.min(r.colStart, o.colStart), r.rowEnd = Math.max(r.rowEnd, o.rowEnd), r.colEnd = Math.max(r.colEnd, o.colEnd));
290
+ const n = { ...e };
291
+ for (let r = 0; r < t.length; r++) {
292
+ const o = t[r];
293
+ xe(n, o) && (n.rowStart = Math.min(n.rowStart, o.rowStart), n.colStart = Math.min(n.colStart, o.colStart), n.rowEnd = Math.max(n.rowEnd, o.rowEnd), n.colEnd = Math.max(n.colEnd, o.colEnd));
294
294
  }
295
- return r;
296
- }, It = [null, null], Nt = (e, t, r) => {
295
+ return n;
296
+ }, Rt = [null, null], kt = (e, t, n) => {
297
297
  if (e[0].value === e[1].value) return t;
298
298
  };
299
- function Fe(e, t = 2, r, n = j.Row, o) {
299
+ function Ue(e, t = 2, n, r = j.Row, o) {
300
300
  let i = [...e];
301
301
  if (t <= 0 || e.length <= 1) return i;
302
- let a = n === j.Column, l = 0, u = !1;
302
+ let a = r === j.Column, l = 0, u = !1;
303
303
  do {
304
- const f = i.sort(it(a ? j.Row : j.Column));
304
+ const f = i.sort(lt(a ? j.Row : j.Column));
305
305
  i = [], i.push(f[0]);
306
306
  const h = f.length;
307
307
  let g = 0, p = f[0], y = p.colStart, T = p.rowStart, A = p.colEnd, D = p.rowEnd;
@@ -310,9 +310,9 @@ function Fe(e, t = 2, r, n = j.Row, o) {
310
310
  let J = !1;
311
311
  if (J = a ? p && T === I.rowStart && D === I.rowEnd && A + 1 === I.colStart : p && y === I.colStart && A === I.colEnd && D + 1 === I.rowStart, J) {
312
312
  let E = { colStart: y, rowStart: T, colEnd: a ? I.colEnd : A, rowEnd: a ? D : I.rowEnd };
313
- if (p.value !== void 0 && (E.value = p.value), r) {
313
+ if (p.value !== void 0 && (E.value = p.value), n) {
314
314
  const c = o ?? [null, null];
315
- c[0] = p, c[1] = I, E = r(c, E, n);
315
+ c[0] = p, c[1] = I, E = n(c, E, r);
316
316
  }
317
317
  if (E) {
318
318
  i[g] = E, u = !0, p = E, y = p.colStart, T = p.rowStart, A = p.colEnd, D = p.rowEnd;
@@ -325,13 +325,13 @@ function Fe(e, t = 2, r, n = j.Row, o) {
325
325
  } while (l < t && u && i.length > 1);
326
326
  return i;
327
327
  }
328
- Object.freeze(Object.defineProperty({ __proto__: null, EmptyCell: vt, EmptyRange: Tt, cellToRange: (e, t) => {
328
+ Object.freeze(Object.defineProperty({ __proto__: null, EmptyCell: _t, EmptyRange: Ot, cellToRange: (e, t) => {
329
329
  if (!e) return null;
330
- let r = t;
331
- return r || (r = { ...e }, delete r.colIndex, delete r.rowIndex), r.colStart = e.colIndex ?? 0, r.rowStart = e.rowIndex ?? 0, r.colEnd = e.colIndex ?? 0, r.rowEnd = e.rowIndex ?? 0, r;
332
- }, columnFirstCellComparator: Le, columnFirstRangeComparator: nt, createCellComparator: (e = j.Row, t = !1) => t ? e !== j.Column ? (r, n) => r.rowIndex === n.rowIndex ? n.colIndex - r.colIndex : n.rowIndex - r.rowIndex : (r, n) => r.colIndex === n.colIndex ? n.rowIndex - r.rowIndex : n.colIndex - r.colIndex : e !== j.Column ? Ae : Le, createConflatingRanges: (e, t = !1) => {
333
- const r = [];
334
- let n, o, i = Number.MIN_SAFE_INTEGER, a = Number.MIN_SAFE_INTEGER;
330
+ let n = t;
331
+ return n || (n = { ...e }, delete n.colIndex, delete n.rowIndex), n.colStart = e.colIndex ?? 0, n.rowStart = e.rowIndex ?? 0, n.colEnd = e.colIndex ?? 0, n.rowEnd = e.rowIndex ?? 0, n;
332
+ }, columnFirstCellComparator: Le, columnFirstRangeComparator: it, createCellComparator: (e = j.Row, t = !1) => t ? e !== j.Column ? Me : je : e !== j.Column ? Ae : Le, createConflatingRanges: (e, t = !1) => {
333
+ const n = [];
334
+ let r, o, i = Number.MIN_SAFE_INTEGER, a = Number.MIN_SAFE_INTEGER;
335
335
  return { append: (l, u, f) => {
336
336
  let h = !0;
337
337
  const g = f !== void 0;
@@ -339,393 +339,399 @@ Object.freeze(Object.defineProperty({ __proto__: null, EmptyCell: vt, EmptyRange
339
339
  const T = e ? e(o, f, t) : o === f ? f : void 0;
340
340
  T === void 0 ? h = !1 : f = T;
341
341
  }
342
- if (h && u === a + 1 && l === i) return t ? n.rowEnd = u : n.colEnd = u, a = u, void (o = f);
343
- n && r.push(n);
342
+ if (h && u === a + 1 && l === i) return t ? r.rowEnd = u : r.colEnd = u, a = u, void (o = f);
343
+ r && n.push(r);
344
344
  const p = t ? l : u, y = t ? u : l;
345
- n = { colStart: p, rowStart: y, colEnd: p, rowEnd: y }, g && (n.value = f), i = l, a = u, o = f;
346
- }, done: (l) => (n && (r.push(n), n = null), l ? Fe(r, 3, l === !0 ? Nt : l, t ? j.Column : j.Row, It) : r) };
347
- }, createRangeComparator: it, defaultRange: (e, t, r) => e ? r ? (r.colStart = e.colStart ?? t.colStart, r.rowStart = e.rowStart ?? t.rowStart, r.colEnd = e.colEnd ?? t.colEnd, r.rowEnd = e.rowEnd ?? t.rowEnd, r) : { colStart: e.colStart ?? t.colStart, rowStart: e.rowStart ?? t.rowStart, colEnd: e.colEnd ?? t.colEnd, rowEnd: e.rowEnd ?? t.rowEnd } : t, extendRangeToIntersectingRanges: Pe, extendRangeToUnionRanges: (e, t) => {
345
+ r = { colStart: p, rowStart: y, colEnd: p, rowEnd: y }, g && (r.value = f), i = l, a = u, o = f;
346
+ }, done: (l) => (r && (n.push(r), r = null), l ? Ue(n, 3, l === !0 ? kt : l, t ? j.Column : j.Row, Rt) : n) };
347
+ }, createRangeComparator: lt, defaultRange: (e, t, n) => e ? n ? (n.colStart = e.colStart ?? t.colStart, n.rowStart = e.rowStart ?? t.rowStart, n.colEnd = e.colEnd ?? t.colEnd, n.rowEnd = e.rowEnd ?? t.rowEnd, n) : { colStart: e.colStart ?? t.colStart, rowStart: e.rowStart ?? t.rowStart, colEnd: e.colEnd ?? t.colEnd, rowEnd: e.rowEnd ?? t.rowEnd } : t, extendRangeToIntersectingRanges: De, extendRangeToUnionRanges: (e, t) => {
348
348
  if (!t || t.length === 0) return e;
349
- let r = e, n = null;
350
- for (; !Se(r, n); ) n = r, r = Pe(n, t);
351
- return r;
349
+ let n = e, r = null;
350
+ for (; !Se(n, r); ) r = n, n = De(r, t);
351
+ return n;
352
352
  }, indexOfCoords: (e, t) => {
353
- const r = { colStart: e.colIndex, rowStart: e.rowIndex, colEnd: e.colIndex, rowEnd: e.rowIndex };
354
- for (let n = t.length - 1; n >= 0; n--) if (xe(r, t[n])) return n;
353
+ const n = { colStart: e.colIndex, rowStart: e.rowIndex, colEnd: e.colIndex, rowEnd: e.rowIndex };
354
+ for (let r = t.length - 1; r >= 0; r--) if (xe(n, t[r])) return r;
355
355
  return -1;
356
- }, intersectRanges: (e, t, r) => {
357
- if (!e) return r ? t : { ...t };
358
- if (!t) return r ? e : { ...e };
356
+ }, intersectRanges: (e, t, n) => {
357
+ if (!e) return n ? t : { ...t };
358
+ if (!t) return n ? e : { ...e };
359
359
  if (!e && !t || e.rowStart > t.rowEnd || e.rowEnd < t.rowStart || e.colStart > t.colEnd || e.colEnd < t.colStart) return null;
360
- const n = Math.max(e.colStart, t.colStart), o = Math.max(e.rowStart, t.rowStart), i = Math.min(e.colEnd, t.colEnd), a = Math.min(e.rowEnd, t.rowEnd);
361
- let l = r;
362
- return l ? (l.colStart = n, l.rowStart = o, l.colEnd = i, l.rowEnd = a) : l = { colStart: n, rowStart: o, colEnd: i, rowEnd: a }, l;
363
- }, isCellWithinRange: (e, t) => !(!e || !t) && !(e.rowIndex < t.rowStart || e.rowIndex > t.rowEnd) && !(e.colIndex < t.colStart || e.colIndex > t.colEnd), isEqualCells: Me, isEqualRanges: Se, isEqualRangesArrays: je, isEqualSelectionCoords: (e, t) => e === t || !(!e || !t) && e.rangeIndex === t.rangeIndex && !!Me(e.cell, t.cell) && je(e.ranges, t.ranges), isRangeWithinRange: (e, t) => !(e.rowStart < t.rowStart || e.rowEnd > t.rowEnd) && !(e.colStart < t.colStart || e.colEnd > t.colEnd), isRangesIntersect: xe, isSingleCell: (e) => !!e && e.rowEnd === e.rowStart && e.colStart === e.colEnd, isValidRange: (e) => !!e && !(typeof e.colStart != "number" || e.colStart < 0) && !(typeof e.colEnd != "number" || e.colEnd < e.colStart) && !(typeof e.rowStart != "number" || e.rowStart < 0) && !(typeof e.rowEnd != "number" || e.rowEnd < e.rowStart), mergeRangedValues: Fe, rowFirstCellComparator: Ae, rowFirstRangeComparator: ot, sanitizeRange: (e) => e ? { colStart: e.colIndex ?? e.colStart ?? 0, rowStart: e.rowIndex ?? e.rowStart ?? 0, colEnd: e.colIndex ?? e.colEnd ?? 0, rowEnd: e.rowIndex ?? e.rowEnd ?? 0 } : null, translateRange: (e, t = -e.rowStart, r = -e.colStart, n) => n ? (n.colStart = e.colStart + r, n.rowStart = e.rowStart + t, n.colEnd = e.colEnd + r, n.rowEnd = e.rowEnd + t, n) : { colStart: e.colStart + r, rowStart: e.rowStart + t, colEnd: e.colEnd + r, rowEnd: e.rowEnd + t }, unionRanges: he, unionRangesArrays: (e, t, r) => {
360
+ const r = Math.max(e.colStart, t.colStart), o = Math.max(e.rowStart, t.rowStart), i = Math.min(e.colEnd, t.colEnd), a = Math.min(e.rowEnd, t.rowEnd);
361
+ let l = n;
362
+ return l ? (l.colStart = r, l.rowStart = o, l.colEnd = i, l.rowEnd = a) : l = { colStart: r, rowStart: o, colEnd: i, rowEnd: a }, l;
363
+ }, isCellWithinRange: (e, t) => {
364
+ if (!e || !t) return !1;
365
+ const n = e.rowIndex;
366
+ if (n < t.rowStart || n > t.rowEnd) return !1;
367
+ const r = e.colIndex;
368
+ return !(r < t.colStart || r > t.colEnd);
369
+ }, isEqualCells: Pe, isEqualRanges: Se, isEqualRangesArrays: Fe, isEqualSelectionCoords: (e, t) => e === t || !(!e || !t) && e.rangeIndex === t.rangeIndex && !!Pe(e.cell, t.cell) && Fe(e.ranges, t.ranges), isRangeWithinRange: (e, t) => !(e.rowStart < t.rowStart || e.rowEnd > t.rowEnd) && !(e.colStart < t.colStart || e.colEnd > t.colEnd), isRangesIntersect: xe, isSingleCell: (e) => !!e && e.rowEnd === e.rowStart && e.colStart === e.colEnd, isValidRange: (e) => !!e && !(typeof e.colStart != "number" || e.colStart < 0) && !(typeof e.colEnd != "number" || e.colEnd < e.colStart) && !(typeof e.rowStart != "number" || e.rowStart < 0) && !(typeof e.rowEnd != "number" || e.rowEnd < e.rowStart), mergeRangedValues: Ue, reverseColumnFirstCellComparator: je, reverseRowFirstCellComparator: Me, rowFirstCellComparator: Ae, rowFirstRangeComparator: at, sanitizeRange: (e) => e ? { colStart: e.colIndex ?? e.colStart ?? 0, rowStart: e.rowIndex ?? e.rowStart ?? 0, colEnd: e.colIndex ?? e.colEnd ?? 0, rowEnd: e.rowIndex ?? e.rowEnd ?? 0 } : null, translateRange: (e, t = -e.rowStart, n = -e.colStart, r) => r ? (r.colStart = e.colStart + n, r.rowStart = e.rowStart + t, r.colEnd = e.colEnd + n, r.rowEnd = e.rowEnd + t, r) : { colStart: e.colStart + n, rowStart: e.rowStart + t, colEnd: e.colEnd + n, rowEnd: e.rowEnd + t }, unionRanges: he, unionRangesArrays: (e, t, n) => {
364
370
  if (!e || e.length === 0) return null;
365
371
  if (e.length === 1 && !t) return e[0];
366
- let n = e[0];
367
- for (let o = 1; o < e.length; o++) n = he(n, e[o], r);
368
- return t && (n = he(n, t, r)), n;
372
+ let r = e[0];
373
+ for (let o = 1; o < e.length; o++) r = he(r, e[o], n);
374
+ return t && (r = he(r, t, n)), r;
369
375
  } }, Symbol.toStringTag, { value: "Module" }));
370
- function Rt(e) {
376
+ function Lt(e) {
371
377
  const t = Object.prototype.toString.call(e);
372
- return t === "[object RegExp]" || t === "[object Date]" || function(r) {
373
- return r.$$typeof === kt;
378
+ return t === "[object RegExp]" || t === "[object Date]" || function(n) {
379
+ return n.$$typeof === At;
374
380
  }(e);
375
381
  }
376
- const kt = typeof Symbol == "function" && Symbol.for ? Symbol.for("react.element") : 60103;
377
- function Lt(e) {
382
+ const At = typeof Symbol == "function" && Symbol.for ? Symbol.for("react.element") : 60103;
383
+ function Mt(e) {
378
384
  return /* @__PURE__ */ function(t) {
379
385
  return !!t && typeof t == "object";
380
- }(e) && !Rt(e);
386
+ }(e) && !Lt(e);
381
387
  }
382
- function ne(e, t) {
383
- return t.clone !== !1 && t.isMergeableObject(e) ? Y((r = e, Array.isArray(r) ? [] : {}), e, t) : e;
384
- var r;
388
+ function re(e, t) {
389
+ return t.clone !== !1 && t.isMergeableObject(e) ? Y((n = e, Array.isArray(n) ? [] : {}), e, t) : e;
390
+ var n;
385
391
  }
386
- function At(e, t, r) {
387
- return e.concat(t).map(function(n) {
388
- return ne(n, r);
392
+ function jt(e, t, n) {
393
+ return e.concat(t).map(function(r) {
394
+ return re(r, n);
389
395
  });
390
396
  }
391
- function De(e) {
397
+ function Be(e) {
392
398
  return Object.keys(e).concat(function(t) {
393
- return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(t).filter(function(r) {
394
- return Object.propertyIsEnumerable.call(t, r);
399
+ return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(t).filter(function(n) {
400
+ return Object.propertyIsEnumerable.call(t, n);
395
401
  }) : [];
396
402
  }(e));
397
403
  }
398
- function Ue(e, t) {
404
+ function $e(e, t) {
399
405
  try {
400
406
  return t in e;
401
407
  } catch {
402
408
  return !1;
403
409
  }
404
410
  }
405
- function Mt(e, t, r) {
406
- const n = {};
407
- return r.isMergeableObject(e) && De(e).forEach(function(o) {
408
- n[o] = ne(e[o], r);
409
- }), De(t).forEach(function(o) {
411
+ function Pt(e, t, n) {
412
+ const r = {};
413
+ return n.isMergeableObject(e) && Be(e).forEach(function(o) {
414
+ r[o] = re(e[o], n);
415
+ }), Be(t).forEach(function(o) {
410
416
  (function(i, a) {
411
- return Ue(i, a) && !(Object.hasOwnProperty.call(i, a) && Object.propertyIsEnumerable.call(i, a));
412
- })(e, o) || (Ue(e, o) && r.isMergeableObject(t[o]) ? n[o] = function(i, a) {
417
+ return $e(i, a) && !(Object.hasOwnProperty.call(i, a) && Object.propertyIsEnumerable.call(i, a));
418
+ })(e, o) || ($e(e, o) && n.isMergeableObject(t[o]) ? r[o] = function(i, a) {
413
419
  if (!a.customMerge) return Y;
414
420
  const l = a.customMerge(i);
415
421
  return typeof l == "function" ? l : Y;
416
- }(o, r)(e[o], t[o], r) : n[o] = ne(t[o], r));
417
- }), n;
422
+ }(o, n)(e[o], t[o], n) : r[o] = re(t[o], n));
423
+ }), r;
418
424
  }
419
- function Y(e, t, r) {
420
- (r = r || {}).arrayMerge = r.arrayMerge || At, r.isMergeableObject = r.isMergeableObject || Lt, r.cloneUnlessOtherwiseSpecified = ne;
421
- const n = Array.isArray(t);
422
- return n === Array.isArray(e) ? n ? r.arrayMerge(e, t, r) : Mt(e, t, r) : ne(t, r);
425
+ function Y(e, t, n) {
426
+ (n = n || {}).arrayMerge = n.arrayMerge || jt, n.isMergeableObject = n.isMergeableObject || Mt, n.cloneUnlessOtherwiseSpecified = re;
427
+ const r = Array.isArray(t);
428
+ return r === Array.isArray(e) ? r ? n.arrayMerge(e, t, n) : Pt(e, t, n) : re(t, n);
423
429
  }
424
430
  Y.all = function(e, t) {
425
431
  if (!Array.isArray(e)) throw new Error("first argument should be an array");
426
- return e.reduce(function(r, n) {
427
- return Y(r, n, t);
432
+ return e.reduce(function(n, r) {
433
+ return Y(n, r, t);
428
434
  }, {});
429
435
  };
430
- const jt = Object.freeze([]), Pt = Object.freeze({}), Be = (e) => e, de = () => "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g, function(e) {
436
+ const Ft = Object.freeze([]), Dt = Object.freeze({}), ze = (e) => e, de = () => "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g, function(e) {
431
437
  let t = 16 * Math.random() | 0;
432
438
  return (e === "x" ? t : 3 & t | 8).toString(16);
433
- }), Ft = (e) => 1 * e, at = (e, t) => e === t || !(!Array.isArray(e) || !Array.isArray(t) || e.length !== t.length) && e.every((r, n) => r === t[n]), re = (e) => typeof e == "object" && !Array.isArray(e) && e !== null, lt = (e) => typeof e != "object" || Array.isArray(e) || e === null ? e : (Object.keys(e).forEach(function(t) {
434
- e[t] && typeof e[t] == "object" ? lt(e[t]) : e[t] !== null && e[t] !== void 0 || delete e[t], typeof e[t] == "object" && Object.keys(e[t]).length === 0 && delete e[t];
435
- }), Object.keys(e).length === 0 ? null : e), Dt = (e, t) => !(e !== t && !at(e, t)) || !!e.isEqual?.(t), st = (e, t, r = Dt) => {
439
+ }), Ut = (e) => 1 * e, st = (e, t) => e === t || !(!Array.isArray(e) || !Array.isArray(t) || e.length !== t.length) && e.every((n, r) => n === t[r]), ne = (e) => typeof e == "object" && !Array.isArray(e) && e !== null, ct = (e) => typeof e != "object" || Array.isArray(e) || e === null ? e : (Object.keys(e).forEach(function(t) {
440
+ e[t] && typeof e[t] == "object" ? ct(e[t]) : e[t] !== null && e[t] !== void 0 || delete e[t], typeof e[t] == "object" && Object.keys(e[t]).length === 0 && delete e[t];
441
+ }), Object.keys(e).length === 0 ? null : e), Bt = (e, t) => !(e !== t && !st(e, t)) || !!e.isEqual?.(t), ut = (e, t, n = Bt) => {
436
442
  if (e == null || e === t) return null;
437
- if (!e || typeof e != "object" || Array.isArray(e) || e.isImmutable?.()) return r(e, t) ? null : e;
438
- const n = Object.keys(e);
439
- if (n.length === 0) return null;
443
+ if (!e || typeof e != "object" || Array.isArray(e) || e.isImmutable?.()) return n(e, t) ? null : e;
444
+ const r = Object.keys(e);
445
+ if (r.length === 0) return null;
440
446
  let o = !1;
441
- for (let i = 0; i < n.length; i++) {
442
- const a = n[i];
443
- st(e[a], t?.[a], r) === null && (o = !0, delete e[a]);
447
+ for (let i = 0; i < r.length; i++) {
448
+ const a = r[i];
449
+ ut(e[a], t?.[a], n) === null && (o = !0, delete e[a]);
444
450
  }
445
451
  return o && Object.keys(e).length === 0 ? null : void 0;
446
- }, $e = typeof performance == "object" && typeof performance.now == "function" ? () => performance.now() : () => Date.now(), ze = (e) => e == null, Ke = (e, t) => !(t.left > e.right || t.right < e.left || t.top > e.bottom || t.bottom < e.top), Ve = !(typeof window > "u" || !window.document || !window.document.createElement), k = { Windows: "windows", MacOS: "macos", IOS: "ios", Linux: "linux", Android: "android", Safari: "safari", Firefox: "firefox", Node: "node", Unknown: "unknown" }, oe = () => {
447
- if (ct()) return k.Node;
452
+ }, Ke = typeof performance == "object" && typeof performance.now == "function" ? () => performance.now() : () => Date.now(), Ve = (e) => e == null, qe = (e, t) => !(t.left > e.right || t.right < e.left || t.top > e.bottom || t.bottom < e.top), Ge = !(typeof window > "u" || !window.document || !window.document.createElement), k = { Windows: "windows", MacOS: "macos", IOS: "ios", Linux: "linux", Android: "android", Safari: "safari", Firefox: "firefox", Node: "node", Unknown: "unknown" }, oe = () => {
453
+ if (dt()) return k.Node;
448
454
  const e = globalThis.navigator !== void 0 && globalThis.navigator.userAgent ? globalThis.navigator.userAgent.toLowerCase() : "";
449
455
  return e ? /(win32|win64|windows|wince)/i.test(e) ? k.Windows : /(macintosh|macintel|macppc|mac68k|macos)/i.test(e) ? k.MacOS : /(iphone|ipad|ipod)/i.test(e) ? k.IOS : /android/.test(e) ? k.Android : /linux/.test(e) ? k.Linux : /^((?!chrome|android|).)*safari/i.test(e) ? k.Safari : /^((?!chrome|android|Seamonkey).)*firefox/i.test(e) ? k.Firefox : k.Unknown : k.Unknown;
450
456
  };
451
- function ct() {
457
+ function dt() {
452
458
  return typeof process < "u" && process.release?.name === "node" || (typeof process < "u" && process.browser, !1);
453
459
  }
454
- const qe = (e, t = !1) => (document.hasFocus() || t) && (e === document.activeElement || e?.contains(document.activeElement)), Ut = Object.freeze(Object.defineProperty({ __proto__: null, EmptyArray: jt, EmptyObject: Pt, OSType: k, arrayMove: function(e, t, r) {
455
- const n = e.slice();
456
- return n.splice(r < 0 ? n.length + r : r, 0, n.splice(t, 1)[0]), n;
460
+ const We = (e, t = !1) => (document.hasFocus() || t) && (e === document.activeElement || e?.contains(document.activeElement)), $t = Object.freeze(Object.defineProperty({ __proto__: null, EmptyArray: Ft, EmptyObject: Dt, OSType: k, arrayMove: function(e, t, n) {
461
+ const r = e.slice();
462
+ return r.splice(n < 0 ? r.length + n : n, 0, r.splice(t, 1)[0]), r;
457
463
  }, asNumber: (e) => {
458
- const t = Ft(e);
464
+ const t = Ut(e);
459
465
  return Number.isFinite(t) ? t : 0;
460
466
  }, camelToPrettyCase: (e) => e.length === 1 ? e.toUpperCase() : e.replace(/([A-Z])/g, " $1").replace(/^./, function(t) {
461
467
  return t.toUpperCase();
462
- }).trim(), canUseDOM: Ve, cancelTimeout: (e) => {
468
+ }).trim(), canUseDOM: Ge, cancelTimeout: (e) => {
463
469
  cancelAnimationFrame(e.id);
464
- }, castToString: (e) => e == null || e === void 0 ? "" : typeof e != "string" ? "" + e : e, cloneObject: (e) => ze(e) ? e : JSON.parse(JSON.stringify(e)), consoleWithNoSource: (...e) => new Promise((t) => {
470
+ }, castToString: (e) => e == null || e === void 0 ? "" : typeof e != "string" ? "" + e : e, cloneObject: (e) => Ve(e) ? e : JSON.parse(JSON.stringify(e)), consoleWithNoSource: (...e) => new Promise((t) => {
465
471
  setTimeout(() => {
466
472
  Function("console.log.apply(console, arguments)").apply(null, e), t();
467
473
  });
468
- }), debounce: function(e, t = 300, r = !1) {
469
- let n, o, i, a, l = 0;
474
+ }), debounce: function(e, t = 300, n = !1) {
475
+ let r, o, i, a, l = 0;
470
476
  function u() {
471
477
  let h = Date.now() - l;
472
- h < t && h >= 0 ? n = setTimeout(u, t - h) : (n = null, r || (a = e.apply(i, o), i = o = null));
478
+ h < t && h >= 0 ? r = setTimeout(u, t - h) : (r = null, n || (a = e.apply(i, o), i = o = null));
473
479
  }
474
480
  t == null && (t = 100);
475
481
  const f = function() {
476
482
  i = globalThis, o = arguments, l = Date.now();
477
- var h = r && !n;
478
- return n || (n = setTimeout(u, t)), h && (a = e.apply(i, o), i = o = null), a;
483
+ var h = n && !r;
484
+ return r || (r = setTimeout(u, t)), h && (a = e.apply(i, o), i = o = null), a;
479
485
  };
480
486
  return f.clear = function() {
481
- n && (clearTimeout(n), n = null);
487
+ r && (clearTimeout(r), r = null);
482
488
  }, f.flush = function() {
483
- n && (a = e.apply(i, o), i = o = null, clearTimeout(n), n = null);
489
+ r && (a = e.apply(i, o), i = o = null, clearTimeout(r), r = null);
484
490
  }, f;
485
- }, deepEqual: function e(t, r) {
486
- if (t === r) return !0;
487
- if (t && r && typeof t == "object" && typeof r == "object") {
488
- if (t.constructor !== r.constructor) return !1;
489
- let n, o, i;
491
+ }, deepEqual: function e(t, n) {
492
+ if (t === n) return !0;
493
+ if (t && n && typeof t == "object" && typeof n == "object") {
494
+ if (t.constructor !== n.constructor) return !1;
495
+ let r, o, i;
490
496
  if (Array.isArray(t)) {
491
- if (n = t.length, n != r.length) return !1;
492
- for (o = n; o-- !== 0; ) if (!e(t[o], r[o])) return !1;
497
+ if (r = t.length, r != n.length) return !1;
498
+ for (o = r; o-- !== 0; ) if (!e(t[o], n[o])) return !1;
493
499
  return !0;
494
500
  }
495
- if (t instanceof Map && r instanceof Map) {
496
- if (t.size !== r.size) return !1;
497
- for (o of t.entries()) if (!r.has(o[0])) return !1;
498
- for (o of t.entries()) if (!e(o[1], r.get(o[0]))) return !1;
501
+ if (t instanceof Map && n instanceof Map) {
502
+ if (t.size !== n.size) return !1;
503
+ for (o of t.entries()) if (!n.has(o[0])) return !1;
504
+ for (o of t.entries()) if (!e(o[1], n.get(o[0]))) return !1;
499
505
  return !0;
500
506
  }
501
- if (t instanceof Set && r instanceof Set) {
502
- if (t.size !== r.size) return !1;
503
- for (o of t.entries()) if (!r.has(o[0])) return !1;
507
+ if (t instanceof Set && n instanceof Set) {
508
+ if (t.size !== n.size) return !1;
509
+ for (o of t.entries()) if (!n.has(o[0])) return !1;
504
510
  return !0;
505
511
  }
506
- if (ArrayBuffer.isView(t) && ArrayBuffer.isView(r)) {
507
- if (n = t.length, n != r.length) return !1;
508
- for (o = n; o-- !== 0; ) if (t[o] !== r[o]) return !1;
512
+ if (ArrayBuffer.isView(t) && ArrayBuffer.isView(n)) {
513
+ if (r = t.length, r != n.length) return !1;
514
+ for (o = r; o-- !== 0; ) if (t[o] !== n[o]) return !1;
509
515
  return !0;
510
516
  }
511
- if (t.constructor === RegExp) return t.source === r.source && t.flags === r.flags;
512
- if (t.valueOf !== Object.prototype.valueOf) return t.valueOf() === r.valueOf();
513
- if (t.toString !== Object.prototype.toString) return t.toString() === r.toString();
514
- if (i = Object.keys(t), n = i.length, n !== Object.keys(r).length) return !1;
515
- for (o = n; o-- !== 0; ) if (!Object.prototype.hasOwnProperty.call(r, i[o])) return !1;
516
- for (o = n; o-- !== 0; ) {
517
+ if (t.constructor === RegExp) return t.source === n.source && t.flags === n.flags;
518
+ if (t.valueOf !== Object.prototype.valueOf) return t.valueOf() === n.valueOf();
519
+ if (t.toString !== Object.prototype.toString) return t.toString() === n.toString();
520
+ if (i = Object.keys(t), r = i.length, r !== Object.keys(n).length) return !1;
521
+ for (o = r; o-- !== 0; ) if (!Object.prototype.hasOwnProperty.call(n, i[o])) return !1;
522
+ for (o = r; o-- !== 0; ) {
517
523
  let a = i[o];
518
- if ((a !== "_owner" || !t.$$typeof) && !e(t[a], r[a])) return !1;
524
+ if ((a !== "_owner" || !t.$$typeof) && !e(t[a], n[a])) return !1;
519
525
  }
520
526
  return !0;
521
527
  }
522
- return t != t && r != r;
528
+ return t != t && n != n;
523
529
  }, deepFreeze: function e(t) {
524
- return Object.freeze(t), Object.keys(t).forEach((r) => {
525
- typeof t[r] != "object" || t[r] === null || Object.isFrozen(t[r]) || e(t[r]);
530
+ return Object.freeze(t), Object.keys(t).forEach((n) => {
531
+ typeof t[n] != "object" || t[n] === null || Object.isFrozen(t[n]) || e(t[n]);
526
532
  }), t;
527
533
  }, deepMerge: Y, diffValues: (e, t) => {
528
- const r = {}, n = Object.keys(t), o = n.length;
534
+ const n = {}, r = Object.keys(t), o = r.length;
529
535
  for (let i = 0; i < o; i++) {
530
- const a = n[i];
531
- e[a] !== t[a] && (e[a] === void 0 ? r[a] = t[a] : r[a] = e[a]);
532
- }
533
- return Object.keys(r).length === 0 ? null : r;
534
- }, findEqualOrGreater: function(e, t, r = Be) {
535
- let n = 0, o = e.length - 1;
536
- for (; n <= o; ) {
537
- let i = Math.floor((n + o) / 2), a = r(e[i]);
536
+ const a = r[i];
537
+ e[a] !== t[a] && (e[a] === void 0 ? n[a] = t[a] : n[a] = e[a]);
538
+ }
539
+ return Object.keys(n).length === 0 ? null : n;
540
+ }, findEqualOrGreater: function(e, t, n = ze) {
541
+ let r = 0, o = e.length - 1;
542
+ for (; r <= o; ) {
543
+ let i = Math.floor((r + o) / 2), a = n(e[i]);
538
544
  if (a === t) return i;
539
- a < t ? n = i + 1 : o = i - 1;
545
+ a < t ? r = i + 1 : o = i - 1;
540
546
  }
541
- return n;
542
- }, findEqualOrLesser: function(e, t, r = Be) {
543
- let n = e.length - 1, o = 0;
544
- for (; n >= o; ) {
545
- let i = Math.floor((n + o) / 2), a = r(e[i]);
547
+ return r;
548
+ }, findEqualOrLesser: function(e, t, n = ze) {
549
+ let r = e.length - 1, o = 0;
550
+ for (; r >= o; ) {
551
+ let i = Math.floor((r + o) / 2), a = n(e[i]);
546
552
  if (a === t) return i;
547
- a > t ? n = i - 1 : o = i + 1;
553
+ a > t ? r = i - 1 : o = i + 1;
548
554
  }
549
- return n;
550
- }, findNextStep: (e, t = !0, r = 15, n = 10, o = 400) => {
551
- const i = Math.max(e - n, 0) + (t ? 1 : -1);
552
- return Math.min(o, Math[t ? "ceil" : "floor"](i / r) * r + n);
555
+ return r;
556
+ }, findNextStep: (e, t = !0, n = 15, r = 10, o = 400) => {
557
+ const i = Math.max(e - r, 0) + (t ? 1 : -1);
558
+ return Math.min(o, Math[t ? "ceil" : "floor"](i / n) * n + r);
553
559
  }, getDPI: () => {
554
560
  let e = 1;
555
561
  return typeof window == "object" && (e = window.devicePixelRatio || 1), e;
556
562
  }, getFromPath: (e, t) => {
557
- const r = t.split(".");
558
- let n = e;
559
- for (let o = 0; o < r.length; o++) {
560
- const i = r[o];
561
- if (!n) return null;
562
- let a = n[i];
563
- if (typeof a == "function" && (a = a.bind(n)()), !a || !re(a)) return a;
564
- n = a;
565
- }
566
- return n ?? null;
567
- }, getOS: oe, hasFocus: qe, isDefined: (e) => e != null, isEmpty: (e) => e == null || e === "", isEqualArrays: at, isEqualBounds: (e, t) => e === t || !(e && !t || t && !e) && e.x === t.x && e.y === t.y && e.width === t.width && e.height === t.height, isEqualObjectKeys: (e, t) => {
563
+ const n = t.split(".");
564
+ let r = e;
565
+ for (let o = 0; o < n.length; o++) {
566
+ const i = n[o];
567
+ if (!r) return null;
568
+ let a = r[i];
569
+ if (typeof a == "function" && (a = a.bind(r)()), !a || !ne(a)) return a;
570
+ r = a;
571
+ }
572
+ return r ?? null;
573
+ }, getOS: oe, hasFocus: We, isDefined: (e) => e != null, isEmpty: (e) => e == null || e === "", isEqualArrays: st, isEqualBounds: (e, t) => e === t || !(e && !t || t && !e) && e.x === t.x && e.y === t.y && e.width === t.width && e.height === t.height, isEqualObjectKeys: (e, t) => {
568
574
  if (e === t) return !0;
569
575
  if (e && !t || t && !e) return !1;
570
- const r = Object.keys(e);
571
- if (r.length !== Object.keys(t).length) return !1;
572
- for (let n = 0; n < r.length; n++) if (e[r[n]] !== t[r[n]]) return !1;
576
+ const n = Object.keys(e);
577
+ if (n.length !== Object.keys(t).length) return !1;
578
+ for (let r = 0; r < n.length; r++) if (e[n[r]] !== t[n[r]]) return !1;
573
579
  return !0;
574
- }, isNode: ct, isNullOrUndefined: ze, isNumeric: (e) => {
580
+ }, isNode: dt, isNullOrUndefined: Ve, isNumeric: (e) => {
575
581
  const t = 1 * e;
576
582
  return Number.isFinite(t) && typeof t == "number";
577
- }, isObject: re, isPromiseLike: (e) => !!e && typeof e.then == "function", isRectInsideRect: (e, t) => e.top >= t.top && e.bottom <= t.bottom && e.left >= t.left && e.right <= t.right, isRectIntersect: Ke, mergeContentful: (...e) => {
583
+ }, isObject: ne, isPromiseLike: (e) => !!e && typeof e.then == "function", isRectInsideRect: (e, t) => e.top >= t.top && e.bottom <= t.bottom && e.left >= t.left && e.right <= t.right, isRectIntersect: qe, mergeContentful: (...e) => {
578
584
  const t = e.length;
579
- if (t > 0 && e[t - 1] !== void 0 && !re(e[t - 1])) return e[t - 1];
580
- let r = e[0] || {};
581
- for (let n = 1; n < t; n++) r = Y(r, e[n] || {}, { arrayMerge: (o, i) => [...i] });
582
- return r;
585
+ if (t > 0 && e[t - 1] !== void 0 && !ne(e[t - 1])) return e[t - 1];
586
+ let n = e[0] || {};
587
+ for (let r = 1; r < t; r++) n = Y(n, e[r] || {}, { arrayMerge: (o, i) => [...i] });
588
+ return n;
583
589
  }, nextTick: (e) => {
584
590
  typeof window < "u" && typeof window.requestAnimationFrame == "function" ? window.requestAnimationFrame(() => {
585
591
  e();
586
592
  }) : (typeof setImmediate == "function" ? setImmediate : setTimeout)(() => {
587
593
  e();
588
594
  });
589
- }, openFileDialog: (e = "*.*") => new Promise((t, r) => {
590
- if (!Ve) return void r("Unable to open dialog with no dom.");
591
- const n = document.createElement("input");
592
- n.type = "file", n.accept = e;
595
+ }, openFileDialog: (e = "*.*") => new Promise((t, n) => {
596
+ if (!Ge) return void n("Unable to open dialog with no dom.");
597
+ const r = document.createElement("input");
598
+ r.type = "file", r.accept = e;
593
599
  let o = null, i = !1;
594
600
  globalThis.addEventListener?.("focus", () => {
595
601
  setTimeout(() => {
596
602
  o || i || (i = !0, t(null));
597
603
  }, 1e3);
598
- }, { once: !0, passive: !0 }), n.onchange = () => {
599
- if (o = n.files[0], o) {
604
+ }, { once: !0, passive: !0 }), r.onchange = () => {
605
+ if (o = r.files[0], o) {
600
606
  if (i) return void console.warn("File open detected after faux cancel.", o);
601
607
  t(o);
602
608
  }
603
- }, n.autofocus = !0, n.click();
609
+ }, r.autofocus = !0, r.click();
604
610
  }), rafThrottle: (e) => {
605
- let t, r = !1, n = function() {
606
- r = !1, e(t);
611
+ let t, n = !1, r = function() {
612
+ n = !1, e(t);
607
613
  };
608
614
  return function(o) {
609
- t = o, t && t.persist && t.persist(), r || (r = !0, requestAnimationFrame(n));
615
+ t = o, t && t.persist && t.persist(), n || (n = !0, requestAnimationFrame(r));
610
616
  };
611
- }, removeEmptyProperties: lt, removeEqualValues: st, removeListenerAll: (e) => {
617
+ }, removeEmptyProperties: ct, removeEqualValues: ut, removeListenerAll: (e) => {
612
618
  if (!e) return [];
613
619
  for (let t = 0; t < e.length; t++) e[t] && e[t]();
614
620
  return [];
615
621
  }, requestTimeout: (e, t) => {
616
- const r = $e(), n = { id: requestAnimationFrame(function o() {
617
- $e() - r >= t ? e.call(null) : n.id = requestAnimationFrame(o);
622
+ const n = Ke(), r = { id: requestAnimationFrame(function o() {
623
+ Ke() - n >= t ? e.call(null) : r.id = requestAnimationFrame(o);
618
624
  }) };
619
- return n;
625
+ return r;
620
626
  }, roundAccurately: (e, t = 0) => {
621
627
  if (e == null || !isFinite(e)) return null;
622
- const r = 10 ** t;
623
- return Number(Math.round(e * r) / r);
624
- }, setToPath: (e, t, r) => {
625
- const n = t.split(".");
628
+ const n = 10 ** t;
629
+ return Number(Math.round(e * n) / n);
630
+ }, setToPath: (e, t, n) => {
631
+ const r = t.split(".");
626
632
  let o = e;
627
633
  if (!o) throw new Error("Can not set path to a null path.");
628
- for (let i = 0; o && i < n.length - 1; i++) {
629
- const a = n[i];
634
+ for (let i = 0; o && i < r.length - 1; i++) {
635
+ const a = r[i];
630
636
  let l = o[a];
631
- if (l == null && (l = {}, o[a] = l), !re(l)) throw new Error("Can not set path to a non object path.");
637
+ if (l == null && (l = {}, o[a] = l), !ne(l)) throw new Error("Can not set path to a non object path.");
632
638
  o = l;
633
639
  }
634
- if (typeof r != "number" && typeof r != "boolean" && typeof r != "string" && !re(r)) throw new Error(\`Can not set path to \${r} that is not a a supported primitive.\`);
635
- return o[n[n.length - 1]] = r, e;
640
+ if (typeof n != "number" && typeof n != "boolean" && typeof n != "string" && !ne(n)) throw new Error(\`Can not set path to \${n} that is not a a supported primitive.\`);
641
+ return o[r[r.length - 1]] = n, e;
636
642
  }, splitNumber: (e) => {
637
643
  let t = Math.abs(e);
638
644
  if (isNaN(t) || !isFinite(e)) return null;
639
- let r = 0 | t, n = t - r, o = 0, i = 0, a = 1;
640
- if (n > 5e-8) for (; i < 8 && Math.abs(o / a - n) > 5e-8; ) i++, a *= 10, o = Math.round(n * a);
641
- return { ip: Math.trunc(e), fp: o, ipLength: Math.ceil(Math.log10(r + 1)), fpLength: i };
642
- }, subtractRect: (e, t, r = !1) => {
645
+ let n = 0 | t, r = t - n, o = 0, i = 0, a = 1;
646
+ if (r > 5e-8) for (; i < 8 && Math.abs(o / a - r) > 5e-8; ) i++, a *= 10, o = Math.round(r * a);
647
+ return { ip: Math.trunc(e), fp: o, ipLength: Math.ceil(Math.log10(n + 1)), fpLength: i };
648
+ }, subtractRect: (e, t, n = !1) => {
643
649
  if (!t) return [e];
644
- if (!Ke(e, t)) return [];
645
- const n = [];
650
+ if (!qe(e, t)) return [];
651
+ const r = [];
646
652
  let o = e;
647
653
  const i = () => {
648
- t.top > o.top && t.top < o.bottom && (n.push({ ...o, bottom: t.top }), o = { ...o, top: t.top });
654
+ t.top > o.top && t.top < o.bottom && (r.push({ ...o, bottom: t.top }), o = { ...o, top: t.top });
649
655
  }, a = () => {
650
- t.bottom > o.top && t.bottom < o.bottom && (n.push({ ...o, top: t.bottom }), o = { ...o, bottom: t.bottom });
656
+ t.bottom > o.top && t.bottom < o.bottom && (r.push({ ...o, top: t.bottom }), o = { ...o, bottom: t.bottom });
651
657
  }, l = () => {
652
- t.right > o.left && t.right < o.right && (n.push({ ...o, left: t.right }), o = { ...o, right: t.right });
658
+ t.right > o.left && t.right < o.right && (r.push({ ...o, left: t.right }), o = { ...o, right: t.right });
653
659
  }, u = () => {
654
- t.left > o.left && t.left < o.right && (n.push({ ...o, right: t.left }), o = { ...o, left: t.left });
660
+ t.left > o.left && t.left < o.right && (r.push({ ...o, right: t.left }), o = { ...o, left: t.left });
655
661
  };
656
- return r ? (u(), l(), i(), a()) : (i(), a(), l(), u()), n;
662
+ return n ? (u(), l(), i(), a()) : (i(), a(), l(), u()), r;
657
663
  }, textToKey: (e) => e.replace(/[^a-zA-Z0-9]/g, "").toLowerCase(), throttle: function(e, t) {
658
- let r = null;
659
- return (...n) => {
664
+ let n = null;
665
+ return (...r) => {
660
666
  const o = Date.now();
661
- (!r || o - r >= t) && (r = o, e(...n));
667
+ (!n || o - n >= t) && (n = o, e(...r));
662
668
  };
663
669
  }, toSafeJSON: function e(t) {
664
670
  if (t === null || typeof t != "object") return t;
665
671
  if (typeof t.toJSON == "function") return t.toJSON();
666
- if (Array.isArray(t)) return t.map((n) => e(n));
672
+ if (Array.isArray(t)) return t.map((r) => e(r));
667
673
  if (typeof t.toString == "function" && t.toString !== Object.prototype.toString) return t.toString();
668
- const r = {};
669
- for (const n in t) t.hasOwnProperty(n) && (r[n] = e(t[n]));
670
- return r;
674
+ const n = {};
675
+ for (const r in t) t.hasOwnProperty(r) && (n[r] = e(t[r]));
676
+ return n;
671
677
  }, transpose: (e) => {
672
678
  if (!e) return e;
673
- const t = e.length, r = e[0].length, n = [];
674
- for (let o = 0; o < r; o++) n[o] = Array(t);
675
- for (let o = 0; o < t; o++) for (let i = 0; i < r; i++) n[i][o] = e[o][i];
676
- return n;
679
+ const t = e.length, n = e[0].length, r = [];
680
+ for (let o = 0; o < n; o++) r[o] = Array(t);
681
+ for (let o = 0; o < t; o++) for (let i = 0; i < n; i++) r[i][o] = e[o][i];
682
+ return r;
677
683
  }, uuidV4: de, validEnumValue: (e, t) => {
678
684
  if (!Object.values(e).includes(t)) throw new Error(\`Invalid type: \${t ?? "null"}. Must be one of: \${Object.values(t).join(", ")}.\`);
679
- }, whenFocus: async (e, t = !1) => new Promise((r) => {
680
- qe(e, t) ? r(!0) : e.addEventListener("focusin", () => {
681
- r(!0);
685
+ }, whenFocus: async (e, t = !1) => new Promise((n) => {
686
+ We(e, t) ? n(!0) : e.addEventListener("focusin", () => {
687
+ n(!0);
682
688
  }, { once: !0 }), e.focus();
683
689
  }) }, Symbol.toStringTag, { value: "Module" }));
684
690
  Object.freeze(Object.defineProperty({ __proto__: null, MESSAGE_ERROR_INVALID_ARG: (e) => \`Invalid argument: '\${e}'.\` }, Symbol.toStringTag, { value: "Module" }));
685
- const ut = (e) => {
686
- const t = new Uint8Array(e), r = t.byteLength;
687
- let n = "";
688
- for (let o = 0; o < r; o++) n += String.fromCharCode(t[o]);
689
- if (typeof window < "u" && typeof globalThis.btoa == "function") return globalThis.btoa(n);
690
- if (typeof Buffer < "u") return Buffer.from(n, "binary").toString("base64");
691
+ const ft = (e) => {
692
+ const t = new Uint8Array(e), n = t.byteLength;
693
+ let r = "";
694
+ for (let o = 0; o < n; o++) r += String.fromCharCode(t[o]);
695
+ if (typeof window < "u" && typeof globalThis.btoa == "function") return globalThis.btoa(r);
696
+ if (typeof Buffer < "u") return Buffer.from(r, "binary").toString("base64");
691
697
  throw new Error("Unsupported environment");
692
- }, Ce = (e) => new Promise((t, r) => {
698
+ }, Ce = (e) => new Promise((t, n) => {
693
699
  if (e) if (typeof FileReader < "u") {
694
- const n = new FileReader();
695
- n.onload = () => {
696
- t(n.result);
697
- }, n.onerror = () => {
698
- r(n.error);
699
- }, n.readAsText(e);
700
+ const r = new FileReader();
701
+ r.onload = () => {
702
+ t(r.result);
703
+ }, r.onerror = () => {
704
+ n(r.error);
705
+ }, r.readAsText(e);
700
706
  } else if (typeof Buffer < "u") {
701
- const n = (o) => Buffer.from(o).toString("utf-8");
707
+ const r = (o) => Buffer.from(o).toString("utf-8");
702
708
  e.arrayBuffer().then((o) => {
703
- t(n(o));
709
+ t(r(o));
704
710
  }).catch((o) => {
705
- r(o);
711
+ n(o);
706
712
  });
707
- } else r(new Error("Unsupported environment"));
713
+ } else n(new Error("Unsupported environment"));
708
714
  else t("");
709
715
  });
710
- Object.freeze(Object.defineProperty({ __proto__: null, DEFAULT_MIME_TYPE: "*/*", arrayBufferToBase64: ut, base64ToArrayBuffer: (e) => {
711
- const t = typeof window < "u" && typeof globalThis.atob == "function" ? globalThis.atob(e) : Buffer.from(e, "base64").toString("binary"), r = t.length, n = new Uint8Array(r);
712
- for (let o = 0; o < r; o++) n[o] = t.charCodeAt(o);
713
- return n.buffer;
716
+ Object.freeze(Object.defineProperty({ __proto__: null, DEFAULT_MIME_TYPE: "*/*", arrayBufferToBase64: ft, base64ToArrayBuffer: (e) => {
717
+ const t = typeof window < "u" && typeof globalThis.atob == "function" ? globalThis.atob(e) : Buffer.from(e, "base64").toString("binary"), n = t.length, r = new Uint8Array(n);
718
+ for (let o = 0; o < n; o++) r[o] = t.charCodeAt(o);
719
+ return r.buffer;
714
720
  }, blobToString: Ce }, Symbol.toStringTag, { value: "Module" }));
715
- const dt = "data:image/png;base64,", ft = "Unable to resolve image.", Ge = (e) => new Promise(async (t, r) => {
716
- let n = null;
721
+ const pt = "data:image/png;base64,", mt = "Unable to resolve image.", Ye = (e) => new Promise(async (t, n) => {
722
+ let r = null;
717
723
  try {
718
- n = new Image(), n.src = e, n.addEventListener("load", function() {
719
- t({ width: n.naturalWidth, height: n.naturalHeight });
720
- }, { once: !0 }), n.addEventListener("error", function() {
721
- URL.revokeObjectURL(e), r("Invalid Image");
722
- }, { once: !0 }), await n.decode("sync");
724
+ r = new Image(), r.src = e, r.addEventListener("load", function() {
725
+ t({ width: r.naturalWidth, height: r.naturalHeight });
726
+ }, { once: !0 }), r.addEventListener("error", function() {
727
+ URL.revokeObjectURL(e), n("Invalid Image");
728
+ }, { once: !0 }), await r.decode("sync");
723
729
  } catch {
724
- n?.src && URL.revokeObjectURL(n.src);
730
+ r?.src && URL.revokeObjectURL(r.src);
725
731
  }
726
- n || r(ft);
732
+ r || n(mt);
727
733
  }), we = "image/svg+xml";
728
- Object.freeze(Object.defineProperty({ __proto__: null, DATA_URL_PNG_PREFIX: dt, getImageDataUrl: (e, t = 1) => new Promise(async (r, n) => {
734
+ Object.freeze(Object.defineProperty({ __proto__: null, DATA_URL_PNG_PREFIX: pt, getImageDataUrl: (e, t = 1) => new Promise(async (n, r) => {
729
735
  let o = null;
730
736
  try {
731
737
  o = new Image(), o.src = e, o.addEventListener("load", function() {
@@ -733,42 +739,42 @@ Object.freeze(Object.defineProperty({ __proto__: null, DATA_URL_PNG_PREFIX: dt,
733
739
  const i = document.createElement("canvas");
734
740
  i.width = o.naturalWidth, i.height = o.naturalHeight, i.getContext("2d").drawImage(o, 0, 0);
735
741
  const a = i.toDataURL("image/png", t);
736
- r({ elemImg: o, dataUrl: a });
742
+ n({ elemImg: o, dataUrl: a });
737
743
  } catch (i) {
738
- URL.revokeObjectURL(e), n(i);
744
+ URL.revokeObjectURL(e), r(i);
739
745
  }
740
746
  }, { once: !0 }), o.addEventListener("error", function() {
741
- URL.revokeObjectURL(e), n("Invalid Image");
747
+ URL.revokeObjectURL(e), r("Invalid Image");
742
748
  }, { once: !0 }), await o.decode("sync");
743
749
  } catch {
744
750
  o?.src && URL.revokeObjectURL(o.src);
745
751
  }
746
- o || n(ft);
752
+ o || r(mt);
747
753
  }), loadImageDetails: async (e, t = null) => {
748
- let r = null;
749
- const n = async () => {
754
+ let n = null;
755
+ const r = async () => {
750
756
  try {
751
- const i = t ?? "image/*", a = URL.createObjectURL(new Blob([e], { type: i })), l = await Ge(a);
752
- r = { mimeType: i, naturalDimensions: l, asUrl: a };
757
+ const i = t ?? "image/*", a = URL.createObjectURL(new Blob([e], { type: i })), l = await Ye(a);
758
+ n = { mimeType: i, naturalDimensions: l, asUrl: a };
753
759
  } catch {
754
760
  }
755
761
  }, o = async () => {
756
762
  try {
757
- const i = new TextDecoder().decode(e), a = URL.createObjectURL(new Blob([i], { type: we })), l = await Ge(a);
758
- r = { mimeType: t ?? we, naturalDimensions: l, asUrl: a, asSVGText: i };
763
+ const i = new TextDecoder().decode(e), a = URL.createObjectURL(new Blob([i], { type: we })), l = await Ye(a);
764
+ n = { mimeType: t ?? we, naturalDimensions: l, asUrl: a, asSVGText: i };
759
765
  } catch {
760
766
  }
761
767
  };
762
- if (t === we ? await o() : t.startsWith("image/") ? await n() : (await n(), r || await o()), !r) throw new Error("Failed to load image");
763
- return r;
768
+ if (t === we ? await o() : t.startsWith("image/") ? await r() : (await r(), n || await o()), !n) throw new Error("Failed to load image");
769
+ return n;
764
770
  } }, Symbol.toStringTag, { value: "Module" }));
765
- var We, Ye;
766
- (Ye = We || (We = {})).resolveTypedUpdates = (e, t, r, n) => {
771
+ var Je, He;
772
+ (He = Je || (Je = {})).resolveTypedUpdates = (e, t, n, r) => {
767
773
  if (e === null) return e;
768
- if (e === void 0) return n;
774
+ if (e === void 0) return r;
769
775
  let o = e;
770
776
  if (t?.shorthand) {
771
- const u = t?.shorthand(e, r);
777
+ const u = t?.shorthand(e, n);
772
778
  u !== void 0 && (o = u);
773
779
  }
774
780
  if (o !== null && t?.getSubType) {
@@ -777,37 +783,37 @@ var We, Ye;
777
783
  }
778
784
  const i = t?.properties, a = t?.arrayType ?? !1;
779
785
  let l = o;
780
- if (t && t.merge && l && n) l = t.merge(l, n, r);
786
+ if (t && t.merge && l && r) l = t.merge(l, r, n);
781
787
  else if (!a && i) {
782
- const u = Object.keys({ ...o, ...n });
788
+ const u = Object.keys({ ...o, ...r });
783
789
  l = null;
784
790
  for (let f = 0; f < u.length; f++) {
785
791
  const h = u[f];
786
792
  let g, p = o[h];
787
793
  if (p !== void 0) {
788
794
  const y = i[h];
789
- g = y ? (0, Ye.resolveTypedUpdates)(p, y, r, n?.[h]) : p;
790
- } else g = n?.[h];
795
+ g = y ? (0, He.resolveTypedUpdates)(p, y, n, r?.[h]) : p;
796
+ } else g = r?.[h];
791
797
  g != null && (l = l ?? {}, l[h] = g);
792
798
  }
793
799
  }
794
800
  return l;
795
801
  };
796
- const Je = \`The Safari browser does not support advanced copy and paste.
802
+ const Xe = \`The Safari browser does not support advanced copy and paste.
797
803
  Copy and paste will be limited to within the browser tab.
798
804
 
799
805
  Please use Chrome or Edge if external copy and paste is required.\`, ye = \`You do not have permissions to access the clipboard.
800
- All copy and paste operations will be limited to the browser tab.\`, pt = { Safari: \`The Safari browser does not support advanced copy and paste.
806
+ All copy and paste operations will be limited to the browser tab.\`, ht = { Safari: \`The Safari browser does not support advanced copy and paste.
801
807
  Copy and paste will be limited to within the browser tab.
802
808
 
803
- Please use Chrome or Edge if external copy and paste is required.\`, Perms: ye, PermsWrite: oe() === k.Safari ? Je : ye, PermsRead: oe() === k.Safari ? Je : ye }, ge = async () => new Promise((e) => {
809
+ Please use Chrome or Edge if external copy and paste is required.\`, Perms: ye, PermsWrite: oe() === k.Safari ? Xe : ye, PermsRead: oe() === k.Safari ? Xe : ye }, ge = async () => new Promise((e) => {
804
810
  document.hasFocus() ? e() : globalThis.addEventListener?.("focus", () => {
805
811
  e();
806
812
  }, { once: !0 }), document.activeElement.focus?.();
807
- }), be = async (e, t, r) => {
808
- if (oe() === k.Safari) return await r(new Error(pt.Safari));
813
+ }), be = async (e, t, n) => {
814
+ if (oe() === k.Safari) return await n(new Error(ht.Safari));
809
815
  try {
810
- const n = async (a) => {
816
+ const r = async (a) => {
811
817
  try {
812
818
  return await a();
813
819
  } catch (l) {
@@ -816,33 +822,33 @@ Please use Chrome or Edge if external copy and paste is required.\`, Perms: ye,
816
822
  }
817
823
  }, o = await globalThis?.navigator?.permissions?.query({ name: e, allowWithoutGesture: !0, allowWithoutSanitization: !0 });
818
824
  let i = !1;
819
- if (o.state === "prompt" && (i = await n(t)), i || o.state !== "granted" || (i = await t()), !i) return await r(new Error(o.state));
820
- } catch (n) {
821
- return n.message === "No valid data on clipboard" || n.name === "DataError" ? void 0 : await r(n);
825
+ if (o.state === "prompt" && (i = await r(t)), i || o.state !== "granted" || (i = await t()), !i) return await n(new Error(o.state));
826
+ } catch (r) {
827
+ return r.message === "No valid data on clipboard" || r.name === "DataError" ? void 0 : await n(r);
822
828
  }
823
- }, mt = async (e) => {
829
+ }, wt = async (e) => {
824
830
  try {
825
831
  return await e.read({ unsanitized: [S.html] });
826
832
  } catch {
827
833
  }
828
834
  return await e.read();
829
- }, Bt = async (e, t) => {
835
+ }, zt = async (e, t) => {
830
836
  if (!e) return null;
831
- const r = await mt(e);
832
- let n = !1;
833
- for (let o = 0; !n && r && o < r.length; o++) if (n = r[o].types.includes(t), n)
834
- return await r[o].getType(t);
835
- return n ? void 0 : null;
837
+ const n = await wt(e);
838
+ let r = !1;
839
+ for (let o = 0; !r && n && o < n.length; o++) if (r = n[o].types.includes(t), r)
840
+ return await n[o].getType(t);
841
+ return r ? void 0 : null;
836
842
  };
837
843
  if (!globalThis.ClipboardItem) {
838
- const e = (r, n) => new Blob([n], { type: r });
844
+ const e = (n, r) => new Blob([r], { type: n });
839
845
  class t {
840
- constructor(n, o) {
841
- this._items = {}, this._types = Object.keys(n);
842
- const i = {}, a = Object.keys(n);
846
+ constructor(r, o) {
847
+ this._items = {}, this._types = Object.keys(r);
848
+ const i = {}, a = Object.keys(r);
843
849
  for (let l = 0; l < a.length; l++) {
844
850
  const u = a[l];
845
- let f = n[u];
851
+ let f = r[u];
846
852
  i[u] = typeof f == "string" ? e(u, f) : f;
847
853
  }
848
854
  this._items = i, this._presentationStyle = o?.presentationStyle ?? "unspecified";
@@ -850,62 +856,62 @@ if (!globalThis.ClipboardItem) {
850
856
  get types() {
851
857
  return this._types;
852
858
  }
853
- getType(n) {
854
- return Promise.resolve(this._items[n]);
859
+ getType(r) {
860
+ return Promise.resolve(this._items[r]);
855
861
  }
856
- supports(n) {
862
+ supports(r) {
857
863
  return !0;
858
864
  }
859
865
  }
860
866
  globalThis.ClipboardItem = t;
861
867
  }
862
- const ve = async (e, t = S.html) => new Promise(async (r, n) => {
868
+ const ve = async (e, t = S.html) => new Promise(async (n, r) => {
863
869
  try {
864
- const o = await Bt(e, t);
870
+ const o = await zt(e, t);
865
871
  if (o) {
866
872
  const i = new FileReader();
867
873
  i.onload = () => {
868
- r(i.result);
874
+ n(i.result);
869
875
  }, i.onerror = () => {
870
- r("");
876
+ n("");
871
877
  }, i.readAsText(o);
872
- } else r("");
878
+ } else n("");
873
879
  } catch (o) {
874
- n(o);
880
+ r(o);
875
881
  }
876
- }), He = async (e, t = S.html) => {
877
- const r = await ve(e, t);
878
- if (!r) return null;
879
- let n = null;
882
+ }), Ze = async (e, t = S.html) => {
883
+ const n = await ve(e, t);
884
+ if (!n) return null;
885
+ let r = null;
880
886
  try {
881
- n = new DOMParser().parseFromString(r, S.html);
887
+ r = new DOMParser().parseFromString(n, S.html);
882
888
  } catch {
883
889
  console.warn("Can't parse html from clipboard.");
884
890
  }
885
- return n;
886
- }, $t = async (e) => {
891
+ return r;
892
+ }, Kt = async (e) => {
887
893
  e && await e.writeText("");
888
- }, ie = "clipboard-uuid", Q = "web text/uuid", Xe = (e) => \`<div style="display:none" \${ie}="\${e}"/>\`, zt = (e, t) => {
889
- let r = null;
894
+ }, ie = "clipboard-uuid", Q = "web text/uuid", Qe = (e) => \`<div style="display:none" \${ie}="\${e}"/>\`, Vt = (e, t) => {
895
+ let n = null;
890
896
  try {
891
- const n = new DOMParser().parseFromString(t, S.html);
892
- n.body.firstElementChild.setAttribute(ie, e), r = n.getElementsByTagName("body")[0].innerHTML;
893
- } catch (n) {
894
- console.warn("Can't embed uuid.", n);
897
+ const r = new DOMParser().parseFromString(t, S.html);
898
+ r.body.firstElementChild.setAttribute(ie, e), n = r.getElementsByTagName("body")[0].innerHTML;
899
+ } catch (r) {
900
+ console.warn("Can't embed uuid.", r);
895
901
  }
896
- return r;
897
- }, Ze = (e, t) => {
902
+ return n;
903
+ }, et = (e, t) => {
898
904
  if (!t || !e) return !1;
899
905
  try {
900
- const r = t.querySelectorAll(\`[\${ie}="\${e}"]\`);
901
- if (r && r.length === 1) return !0;
906
+ const n = t.querySelectorAll(\`[\${ie}="\${e}"]\`);
907
+ if (n && n.length === 1) return !0;
902
908
  if (t.querySelector("parsererror")) throw new Error("We are unable to parse node");
903
909
  return !1;
904
910
  } catch {
905
911
  return !1;
906
912
  }
907
913
  };
908
- class Qe {
914
+ class tt {
909
915
  constructor(t) {
910
916
  if (t?.nativeClipboard === void 0 || t?.nativeClipboard === !0) try {
911
917
  this._nativeClipboard = globalThis?.navigator.clipboard;
@@ -920,8 +926,8 @@ class Qe {
920
926
  await ge();
921
927
  const t = await ve(this._nativeClipboard, Q);
922
928
  if (!this._state || t && t === this._state.uuid) return !0;
923
- const r = await He(this._nativeClipboard, S.html);
924
- return !this._state || (Ze(this._state.uuid, r) || this.clear(), !0);
929
+ const n = await Ze(this._nativeClipboard, S.html);
930
+ return !this._state || (et(this._state.uuid, n) || this.clear(), !0);
925
931
  }, async (t) => {
926
932
  t?.message === "denied" || t.message?.includes("Document is not focused") || oe() === k.Safari || console.warn("Unable to detect clipboard changes: ", t);
927
933
  });
@@ -932,7 +938,7 @@ class Qe {
932
938
  t._checkForChanges();
933
939
  }, this._onBlur = () => {
934
940
  globalThis.addEventListener?.("focus", t._onFocus, { once: !0 });
935
- }, globalThis.addEventListener?.("blur", this._onBlur), this._nativeClipboard.addEventListener("clipboardchange", (r) => {
941
+ }, globalThis.addEventListener?.("blur", this._onBlur), this._nativeClipboard.addEventListener("clipboardchange", (n) => {
936
942
  t._checkForChanges();
937
943
  }));
938
944
  }
@@ -941,13 +947,13 @@ class Qe {
941
947
  const t = this;
942
948
  return await be("clipboard-read", async () => {
943
949
  if (await ge(), this._state?.uuid) {
944
- const r = await ve(this._nativeClipboard, Q);
945
- if (r && r === t._state.uuid) return !0;
946
- const n = await He(this._nativeClipboard, S.html);
947
- if (Ze(t._state?.uuid, n)) return !0;
950
+ const n = await ve(this._nativeClipboard, Q);
951
+ if (n && n === t._state.uuid) return !0;
952
+ const r = await Ze(this._nativeClipboard, S.html);
953
+ if (et(t._state?.uuid, r)) return !0;
948
954
  }
949
- return t._state = { items: await mt(this._nativeClipboard), uuid: null, ref: null }, this.dispatchEvent(new Event("clipboardread")), !0;
950
- }, async (r) => {
955
+ return t._state = { items: await wt(this._nativeClipboard), uuid: null, ref: null }, this.dispatchEvent(new Event("clipboardread")), !0;
956
+ }, async (n) => {
951
957
  this.dispatchEvent(new Event("clipboarderrorread"));
952
958
  }), this._state?.items ?? [];
953
959
  }
@@ -956,19 +962,19 @@ class Qe {
956
962
  }
957
963
  async _write(t) {
958
964
  if (!this._nativeClipboard) return this._state = t, this.dispatchEvent(new Event("clipboardwrite")), this.dispatchEvent(new Event("clipboardchange")), null;
959
- const r = this, n = [], o = t.uuid;
965
+ const n = this, r = [], o = t.uuid;
960
966
  let i = t.items ?? [];
961
967
  const a = () => {
962
- r._state = { uuid: o, ref: t.ref, items: n }, r.dispatchEvent(new Event("clipboardwrite")), r.dispatchEvent(new Event("clipboardchange"));
968
+ n._state = { uuid: o, ref: t.ref, items: r }, n.dispatchEvent(new Event("clipboardwrite")), n.dispatchEvent(new Event("clipboardchange"));
963
969
  };
964
970
  await be("clipboard-write", async () => {
965
- await ge(), o && i.length === 0 && (i.push(new ClipboardItem({ [Q]: new Blob([o], { type: Q }) })), i.push(new ClipboardItem({ [S.html]: new Blob([Xe(o)], { type: S.html }) })));
971
+ await ge(), o && i.length === 0 && (i.push(new ClipboardItem({ [Q]: new Blob([o], { type: Q }) })), i.push(new ClipboardItem({ [S.html]: new Blob([Qe(o)], { type: S.html }) })));
966
972
  for (let l = 0; l < Math.min(1, i.length); l++) {
967
973
  const u = i[l];
968
974
  let f = u.types.indexOf(S.html), h = null;
969
975
  if (f !== -1) {
970
976
  const y = await u.getType(S.html);
971
- h = await Ce(y), h && (h = zt(o, h));
977
+ h = await Ce(y), h && (h = Vt(o, h));
972
978
  }
973
979
  if (!h && u.types.includes(S.plain)) {
974
980
  const y = await u.getType(S.plain);
@@ -978,19 +984,19 @@ class Qe {
978
984
  }
979
985
  }
980
986
  if (!h && u.types.includes(S.png)) {
981
- const y = await u.getType(S.png), T = ut(await y.arrayBuffer());
982
- h = \`<div \${ie}="\${o}"><img src="\${dt + T}"/></div>\`;
987
+ const y = await u.getType(S.png), T = ft(await y.arrayBuffer());
988
+ h = \`<div \${ie}="\${o}"><img src="\${pt + T}"/></div>\`;
983
989
  }
984
- !h && o && (h = Xe(o));
990
+ !h && o && (h = Qe(o));
985
991
  const g = new Blob([h ?? ""], { type: S.html }), p = {};
986
992
  for (let y = 0; y < u.types.length; y++) {
987
993
  const T = u.types[y];
988
994
  p[T] = y === f ? g : u.getType(T);
989
995
  }
990
- h && f === -1 && (p[S.html] = g), o && (p[Q] = new Blob([o], { type: Q })), n.push(new ClipboardItem(p));
996
+ h && f === -1 && (p[S.html] = g), o && (p[Q] = new Blob([o], { type: Q })), r.push(new ClipboardItem(p));
991
997
  }
992
998
  try {
993
- n && n.length !== 0 ? await this._nativeClipboard.write(n) : await $t(this._nativeClipboard);
999
+ r && r.length !== 0 ? await this._nativeClipboard.write(r) : await Kt(this._nativeClipboard);
994
1000
  } catch (l) {
995
1001
  l.message?.includes("Document is not focused") || console.warn("Unable to write to native clipboard: ", l);
996
1002
  }
@@ -1001,28 +1007,28 @@ class Qe {
1001
1007
  }
1002
1008
  async writeReference(t) {
1003
1009
  if (!t) return void this.clear();
1004
- let r = null;
1005
- const n = {};
1010
+ let n = null;
1011
+ const r = {};
1006
1012
  try {
1007
1013
  const i = await t.toText?.() ?? null;
1008
- i && (n[S.plain] = new Blob([i ?? ""], { type: S.plain }));
1014
+ i && (r[S.plain] = new Blob([i ?? ""], { type: S.plain }));
1009
1015
  } catch (i) {
1010
- r = i;
1016
+ n = i;
1011
1017
  }
1012
1018
  try {
1013
1019
  const i = await t.toHtml?.() ?? null;
1014
- i && (n[S.html] = new Blob([i], { type: S.html }));
1020
+ i && (r[S.html] = new Blob([i], { type: S.html }));
1015
1021
  } catch (i) {
1016
- r = i, console.warn("export to html", i);
1022
+ n = i, console.warn("export to html", i);
1017
1023
  }
1018
1024
  try {
1019
1025
  const i = await t.toImage?.() ?? null;
1020
- i && (n[S.png] = i);
1026
+ i && (r[S.png] = i);
1021
1027
  } catch (i) {
1022
- r = i, console.warn("export to png", i);
1028
+ n = i, console.warn("export to png", i);
1023
1029
  }
1024
- const o = this._write({ uuid: de(), ref: t, items: Object.keys(n).length > 0 ? [new ClipboardItem(n)] : null });
1025
- if (r) throw r;
1030
+ const o = this._write({ uuid: de(), ref: t, items: Object.keys(r).length > 0 ? [new ClipboardItem(r)] : null });
1031
+ if (n) throw n;
1026
1032
  return o;
1027
1033
  }
1028
1034
  clear(t = !1) {
@@ -1032,32 +1038,32 @@ class Qe {
1032
1038
  return await this.read(), this._state?.ref ?? null;
1033
1039
  }
1034
1040
  readText() {
1035
- return new Promise(async (t, r) => {
1036
- const n = await this.read();
1041
+ return new Promise(async (t, n) => {
1042
+ const r = await this.read();
1037
1043
  let o = null;
1038
- for (let a = 0; !o && n && a < n.length; a++) n[a].types.includes(S.plain) && (o = await n[a].getType(S.plain));
1044
+ for (let a = 0; !o && r && a < r.length; a++) r[a].types.includes(S.plain) && (o = await r[a].getType(S.plain));
1039
1045
  if (!o) return void t("");
1040
1046
  const i = new FileReader();
1041
1047
  i.onload = () => {
1042
1048
  t(i.result);
1043
1049
  }, i.readAsText(o), i.onerror = (a) => {
1044
- r(a);
1050
+ n(a);
1045
1051
  };
1046
1052
  });
1047
1053
  }
1048
1054
  async writeText(t) {
1049
- const r = [new ClipboardItem({ [S.plain]: new Blob([t], { type: S.plain }) })];
1050
- return this._write({ uuid: de(), items: r, ref: null });
1055
+ const n = [new ClipboardItem({ [S.plain]: new Blob([t], { type: S.plain }) })];
1056
+ return this._write({ uuid: de(), items: n, ref: null });
1051
1057
  }
1052
- addEventListener(t, r, n = {}) {
1053
- const o = n?.capture ? this._listenersCapture : this._listeners;
1058
+ addEventListener(t, n, r = {}) {
1059
+ const o = r?.capture ? this._listenersCapture : this._listeners;
1054
1060
  let i = o.get(t);
1055
- i || (i = /* @__PURE__ */ new Map(), o.set(t, i)), i.set(r, typeof n == "boolean" ? {} : n);
1061
+ i || (i = /* @__PURE__ */ new Map(), o.set(t, i)), i.set(n, typeof r == "boolean" ? {} : r);
1056
1062
  }
1057
1063
  dispatchEvent(t) {
1058
1064
  if (!t) return;
1059
- const r = (n) => {
1060
- const o = n.get(t.type);
1065
+ const n = (r) => {
1066
+ const o = r.get(t.type);
1061
1067
  o && o.forEach((i, a) => {
1062
1068
  try {
1063
1069
  typeof a == "function" ? a(t) : a.handleEvent && a.handleEvent(t), i.once && o.delete(a);
@@ -1066,21 +1072,21 @@ class Qe {
1066
1072
  }
1067
1073
  });
1068
1074
  };
1069
- return r(this._listenersCapture), r(this._listeners), !0;
1075
+ return n(this._listenersCapture), n(this._listeners), !0;
1070
1076
  }
1071
- removeEventListener(t, r, n) {
1072
- const o = n?.capture ? this._listenersCapture : this._listeners, i = o.get(t);
1073
- i && (i.delete(r), i.size === 0 && o.delete(t));
1077
+ removeEventListener(t, n, r) {
1078
+ const o = r?.capture ? this._listenersCapture : this._listeners, i = o.get(t);
1079
+ i && (i.delete(n), i.size === 0 && o.delete(t));
1074
1080
  }
1075
1081
  close() {
1076
1082
  globalThis.removeEventListener?.("focus", this._onFocus), globalThis.removeEventListener?.("blur", this._onBlur);
1077
1083
  }
1078
1084
  }
1079
1085
  var Ee;
1080
- (Ee = Qe || (Qe = {})).ErrorMessages = pt, Ee.Global = new Ee();
1081
- const Kt = "__SHEETXL";
1086
+ (Ee = tt || (tt = {})).ErrorMessages = ht, Ee.Global = new Ee();
1087
+ const qt = "__SHEETXL";
1082
1088
  let ee = null, le = null;
1083
- async function Vt() {
1089
+ async function Gt() {
1084
1090
  if (ee)
1085
1091
  return ee;
1086
1092
  if (le) {
@@ -1089,39 +1095,39 @@ async function Vt() {
1089
1095
  return ee;
1090
1096
  }
1091
1097
  let e, t;
1092
- le = new Promise((r, n) => {
1093
- e = r, t = n;
1098
+ le = new Promise((n, r) => {
1099
+ e = n, t = r;
1094
1100
  });
1095
1101
  try {
1096
- const { initialize: r } = await Promise.resolve().then(function() {
1097
- return rr;
1102
+ const { initialize: n } = await Promise.resolve().then(function() {
1103
+ return on;
1098
1104
  });
1099
- return ee = await r(), e(), ee;
1100
- } catch (r) {
1101
- throw console.error("Failed to import or initialize esbuild:", r), le = null, t(r), r;
1105
+ return ee = await n(), e(), ee;
1106
+ } catch (n) {
1107
+ throw console.error("Failed to import or initialize esbuild:", n), le = null, t(n), n;
1102
1108
  }
1103
1109
  }
1104
- const qt = {
1110
+ const Wt = {
1105
1111
  // ESBuild.TsconfigRaw =
1106
1112
  compilerOptions: {
1107
1113
  target: "esnext"
1108
1114
  }
1109
1115
  };
1110
- async function Gt(e, t, r = "/script.js", n = Kt) {
1116
+ async function Yt(e, t, n = "/script.js", r = qt) {
1111
1117
  try {
1112
- const o = await Vt(), i = "@sheetxl/primitives", a = \`
1113
- export const FormulaContext = globalThis.\${n}?.FormulaContext;
1114
- export const ScalarType = globalThis.\${n}?.ScalarType;
1115
- export const Observable = globalThis.\${n}?.Observable;
1116
- export const IRange = globalThis.\${n}?.IRange;
1117
- export const FormulaError = globalThis.\${n}?.FormulaError;
1118
+ const o = await Gt(), i = "@sheetxl/primitives", a = \`
1119
+ export const FormulaContext = globalThis.\${r}?.FormulaContext;
1120
+ export const ScalarType = globalThis.\${r}?.ScalarType;
1121
+ export const Observable = globalThis.\${r}?.Observable;
1122
+ export const IRange = globalThis.\${r}?.IRange;
1123
+ export const FormulaError = globalThis.\${r}?.FormulaError;
1118
1124
  // Add more exports as needed
1119
1125
  \`, l = {
1120
1126
  // ESBuild.Plugin = {
1121
1127
  name: "sheetxl-esbuild-in-memory",
1122
1128
  setup(f) {
1123
1129
  const h = "sheetxl-" + (/* @__PURE__ */ new Date()).getTime();
1124
- f.onResolve({ filter: new RegExp(\`^(\${r.replace("/", "\\\\/")}|\${i})$\`) }, (g) => ({
1130
+ f.onResolve({ filter: new RegExp(\`^(\${n.replace("/", "\\\\/")}|\${i})$\`) }, (g) => ({
1125
1131
  path: g.path,
1126
1132
  namespace: h
1127
1133
  })), f.onResolve({ filter: /.*/ }, (g) => {
@@ -1129,7 +1135,7 @@ async function Gt(e, t, r = "/script.js", n = Kt) {
1129
1135
  return console.warn(\`esbuild: Treating import "\${g.path}" as external.\`), { path: g.path, external: !0 };
1130
1136
  }), f.onLoad({ filter: /.*/, namespace: h }, (g) => {
1131
1137
  let p;
1132
- if (g.path === r)
1138
+ if (g.path === n)
1133
1139
  p = t;
1134
1140
  else if (g.path === i)
1135
1141
  p = a;
@@ -1145,7 +1151,7 @@ async function Gt(e, t, r = "/script.js", n = Kt) {
1145
1151
  });
1146
1152
  }
1147
1153
  }, u = await o.build({
1148
- entryPoints: [r],
1154
+ entryPoints: [n],
1149
1155
  // Use the virtual entry point
1150
1156
  bundle: !0,
1151
1157
  // IMPORTANT: Enable bundling
@@ -1157,7 +1163,7 @@ async function Gt(e, t, r = "/script.js", n = Kt) {
1157
1163
  // TODO - later change to external and prepend when executing from ui
1158
1164
  sourcemap: "inline",
1159
1165
  // Generate separate source map string
1160
- tsconfigRaw: qt,
1166
+ tsconfigRaw: Wt,
1161
1167
  // Pass the mapped options
1162
1168
  minify: !0,
1163
1169
  // sourcemap: 'external', // Generate separate source map string
@@ -1175,7 +1181,7 @@ async function Gt(e, t, r = "/script.js", n = Kt) {
1175
1181
  throw console.error("esbuild bundling process failed:", o), o;
1176
1182
  }
1177
1183
  }
1178
- const Wt = \`
1184
+ const Jt = \`
1179
1185
  /**
1180
1186
  * Represents the completion of an asynchronous operation
1181
1187
  */
@@ -1188,36 +1194,36 @@ interface Promise<T> {
1188
1194
  */
1189
1195
  finally(onfinally?: (() => void) | undefined | null): Promise<T>;
1190
1196
  }
1191
- \`, Yt = \`
1197
+ \`, Ht = \`
1192
1198
  interface FirstTest {
1193
1199
  isTrue?: boolean;
1194
1200
  }
1195
- \`, Jt = async () => Yt, ht = /* @__PURE__ */ new Map([
1201
+ \`, Xt = async () => Ht, yt = /* @__PURE__ */ new Map([
1196
1202
  ["IReferenceRange", "r"],
1197
1203
  ["IRange", "l"]
1198
- ]), wt = /* @__PURE__ */ new Map([
1204
+ ]), gt = /* @__PURE__ */ new Map([
1199
1205
  ["IWorkbook", "workbook"],
1200
1206
  ["ISheet", "sheet"],
1201
1207
  ["ICellRanges", "ranges"],
1202
1208
  ["ICellRange", "range"],
1203
1209
  ["IFormulaContext", "context"]
1204
1210
  ]), _e = (e, t) => {
1205
- Array.from(t.keys()).forEach((n) => {
1206
- const o = t.get(n);
1207
- t.set(\`\${e}.\${n}\`, o);
1211
+ Array.from(t.keys()).forEach((r) => {
1212
+ const o = t.get(r);
1213
+ t.set(\`\${e}.\${r}\`, o);
1208
1214
  });
1209
- }, Ht = /* @__PURE__ */ new Map([
1215
+ }, Zt = /* @__PURE__ */ new Map([
1210
1216
  ["Scalar", "*"],
1211
1217
  ["FormulaError.Known", W.Error],
1212
1218
  ["Date", "Date"],
1213
1219
  ["JSON", "JSON"]
1214
- ]), Xt = /* @__PURE__ */ new Map([
1220
+ ]), Qt = /* @__PURE__ */ new Map([
1215
1221
  // Repeating
1216
1222
  ]), Oe = "SheetXL";
1217
- _e(Oe, ht);
1218
- _e(Oe, wt);
1219
- _e(Oe, Xt);
1220
- const Zt = /* @__PURE__ */ new Map([
1223
+ _e(Oe, yt);
1224
+ _e(Oe, gt);
1225
+ _e(Oe, Qt);
1226
+ const en = /* @__PURE__ */ new Map([
1221
1227
  ["Promise", () => ({ async: !0 })],
1222
1228
  // ['PromiseLike', (): Partial<IFunction.ReturnTypeJSON> => {
1223
1229
  // return { async: true };
@@ -1225,12 +1231,12 @@ const Zt = /* @__PURE__ */ new Map([
1225
1231
  ["Observable", () => ({ stream: !0 })]
1226
1232
  ]);
1227
1233
  let se = null;
1228
- async function Qt() {
1234
+ async function tn() {
1229
1235
  if (se)
1230
1236
  return se;
1231
1237
  try {
1232
1238
  return await (await Promise.resolve().then(function() {
1233
- return or;
1239
+ return ln;
1234
1240
  })).initialize();
1235
1241
  } catch (e) {
1236
1242
  throw se = null, e;
@@ -1238,14 +1244,14 @@ async function Qt() {
1238
1244
  se = null;
1239
1245
  }
1240
1246
  }
1241
- async function er(e) {
1247
+ async function nn(e) {
1242
1248
  const t = e?.source ?? null;
1243
1249
  if (!t) return null;
1244
- const r = (e.disableBundle || e.declarationsOnly) ?? !1, n = [
1245
- Jt(),
1250
+ const n = (e.disableBundle || e.declarationsOnly) ?? !1, r = [
1251
+ Xt(),
1246
1252
  //import('typescript'), // when bundled, but node check causes issues. We could bundle replace isNode but felt hacky
1247
- Qt()
1248
- ], o = await Promise.all(n), i = o[0], a = o[1];
1253
+ tn()
1254
+ ], o = await Promise.all(r), i = o[0], a = o[1];
1249
1255
  let l = "", u = null;
1250
1256
  const f = [], h = {
1251
1257
  allowJs: !0,
@@ -1265,7 +1271,7 @@ async function er(e) {
1265
1271
  // lib: ['webworker', 'es2020', 'esnext.asynciterable'], // Use the webworker lib instead of dom
1266
1272
  }, g = "script", p = \`\${g}.ts\`, y = "lib.d.ts", T = "global.d.ts", A = {
1267
1273
  [p]: t,
1268
- [y]: Wt,
1274
+ [y]: Jt,
1269
1275
  [T]: i
1270
1276
  }, D = {
1271
1277
  getSourceFile: (s, w, L, P) => a.createSourceFile(s, A[s], a.ScriptTarget.Latest, !0),
@@ -1313,16 +1319,16 @@ async function er(e) {
1313
1319
  w.arrayDepth = (w.arrayDepth ?? 0) + 1, c(M, w, L, P);
1314
1320
  } else if (s.kind !== a.SyntaxKind.TupleType) {
1315
1321
  if (s.kind === a.SyntaxKind.TypeReference) {
1316
- const M = s.typeName?.getText?.() ?? null, K = ht.get(M);
1322
+ const M = s.typeName?.getText?.() ?? null, K = yt.get(M);
1317
1323
  let V = !1;
1318
1324
  K && (w.range = K, V = !0);
1319
- const q = Ht.get(M);
1325
+ const q = Zt.get(M);
1320
1326
  if (q && (w.scalar = q), q !== void 0 && (V = !0), P) {
1321
- const R = wt.get(M);
1327
+ const R = gt.get(M);
1322
1328
  if (R)
1323
1329
  return R;
1324
1330
  } else {
1325
- const R = Zt.get(M);
1331
+ const R = en.get(M);
1326
1332
  if (R) {
1327
1333
  const b = { ...w, ...R() };
1328
1334
  let N = 0;
@@ -1411,8 +1417,8 @@ async function er(e) {
1411
1417
  const O = /\\{@link(code|plain)?\\s+([^}|]+)(?:\\s*\\|\\s*([^}]+))?\\}/g;
1412
1418
  let F, Z = x, te = [];
1413
1419
  for (; (F = O.exec(x)) !== null; ) {
1414
- const [pe, me, gt, Ne] = F, bt = [gt.trim()];
1415
- Ne && bt.push(Ne.trim());
1420
+ const [pe, me, Et, Ne] = F, St = [Et.trim()];
1421
+ Ne && St.push(Ne.trim());
1416
1422
  }
1417
1423
  x = Z, te.length > 0 && C === "see" && (L.links || (L.links = []), L.links.push(...te));
1418
1424
  }
@@ -1467,15 +1473,15 @@ async function er(e) {
1467
1473
  throw console.warn(B), new Error("There were compilation errors.", { cause: B });
1468
1474
  if (f.length === 0)
1469
1475
  throw new Error("No exported functions.");
1470
- const yt = \`\${Ut.uuidV4()}-script\`;
1476
+ const bt = \`\${$t.uuidV4()}-script\`;
1471
1477
  try {
1472
- !r && B.length === 0 && (l = await Gt(a, l, g));
1478
+ !n && B.length === 0 && (l = await Yt(a, l, g));
1473
1479
  } catch {
1474
1480
  console.warn("Error bundling script");
1475
1481
  }
1476
1482
  const Ie = {
1477
1483
  functions: f,
1478
- commitId: yt,
1484
+ commitId: bt,
1479
1485
  source: t,
1480
1486
  name: "Script",
1481
1487
  language: "typescript",
@@ -1485,30 +1491,30 @@ async function er(e) {
1485
1491
  return u && (Ie.autoRun = u), Ie;
1486
1492
  }
1487
1493
  self.addEventListener("message", async (e) => {
1488
- const { id: t, params: r } = e.data;
1494
+ const { id: t, params: n } = e.data;
1489
1495
  try {
1490
- const n = await er(r);
1491
- self.postMessage({ id: t, result: n, error: null });
1492
- } catch (n) {
1496
+ const r = await nn(n);
1497
+ self.postMessage({ id: t, result: r, error: null });
1498
+ } catch (r) {
1493
1499
  self.postMessage({
1494
1500
  id: t,
1495
1501
  result: null,
1496
1502
  error: {
1497
- message: n.message,
1498
- stack: n.stack,
1499
- cause: n.cause
1503
+ message: r.message,
1504
+ stack: r.stack,
1505
+ cause: r.cause
1500
1506
  }
1501
1507
  });
1502
1508
  }
1503
1509
  });
1504
1510
  let ce = null;
1505
- async function tr() {
1511
+ async function rn() {
1506
1512
  return ce || (ce = new Promise(async (e, t) => {
1507
1513
  try {
1508
- const r = "0.20.2", n = \`https://esm.sh/esbuild-wasm@\${r}\`, o = \`https://esm.sh/esbuild-wasm@\${r}/esbuild.wasm\`, a = (await import(
1514
+ const n = "0.20.2", r = \`https://esm.sh/esbuild-wasm@\${n}\`, o = \`https://esm.sh/esbuild-wasm@\${n}/esbuild.wasm\`, a = (await import(
1509
1515
  /* webpackIgnore: true */
1510
1516
  /* @vite-ignore */
1511
- n
1517
+ r
1512
1518
  )).default;
1513
1519
  await a.initialize({
1514
1520
  wasmURL: o,
@@ -1516,30 +1522,30 @@ async function tr() {
1516
1522
  worker: !1
1517
1523
  // Keep processing on the current thread
1518
1524
  }), e(a);
1519
- } catch (r) {
1520
- console.error("Error initializing esbuild:", r), t(r);
1525
+ } catch (n) {
1526
+ console.error("Error initializing esbuild:", n), t(n);
1521
1527
  }
1522
1528
  }), ce);
1523
1529
  }
1524
- var rr = /* @__PURE__ */ Object.freeze({
1530
+ var on = /* @__PURE__ */ Object.freeze({
1525
1531
  __proto__: null,
1526
- initialize: tr
1532
+ initialize: rn
1527
1533
  });
1528
1534
  let ue = null;
1529
- async function nr() {
1535
+ async function an() {
1530
1536
  return ue || (ue = new Promise(async (e, t) => {
1531
- let r = null;
1537
+ let n = null;
1532
1538
  try {
1533
- r = await import("https://esm.sh/typescript@5.7.2");
1534
- } catch (n) {
1535
- console.error("Error initializing Browser TypeScript module:", n);
1539
+ n = await import("https://esm.sh/typescript@5.7.2");
1540
+ } catch (r) {
1541
+ console.error("Error initializing Browser TypeScript module:", r);
1536
1542
  }
1537
- r || console.log("use script fallback"), e(r);
1543
+ n || console.log("use script fallback"), e(n);
1538
1544
  }), ue);
1539
1545
  }
1540
- var or = /* @__PURE__ */ Object.freeze({
1546
+ var ln = /* @__PURE__ */ Object.freeze({
1541
1547
  __proto__: null,
1542
- initialize: nr
1548
+ initialize: an
1543
1549
  });
1544
1550
  `, a = typeof self < "u" && self.Blob && new Blob(["URL.revokeObjectURL(import.meta.url);", s], { type: "text/javascript;charset=utf-8" });
1545
1551
  function d(e) {
@@ -1567,7 +1573,7 @@ async function p() {
1567
1573
  return await l();
1568
1574
  }
1569
1575
  const l = async () => {
1570
- const { compileModule: e } = await import("./Mdeli4Ux2pIhMTna.mjs"), n = new u((t) => e(t));
1576
+ const { compileModule: e } = await import("./VUyduI-iwcib6hbK.mjs"), n = new u((t) => e(t));
1571
1577
  return await n.start(), n;
1572
1578
  };
1573
1579
  export {