@sheetxl/studio-vanilla 0.7.3 → 0.7.4

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 (193) hide show
  1. package/browser/cjs/{Nwjr-_1igB0QWOhx.cjs → 8ORcPDrnyLtyRBC5.cjs} +4 -4
  2. package/browser/cjs/{DAyEcbqQzttM-vxn.cjs → 8gwQqoquag37n7A4.cjs} +1 -1
  3. package/browser/cjs/{DEaS8TV80AORUrfm.cjs → 9YNUOzk1ChRHaQ0A.cjs} +1 -1
  4. package/browser/cjs/{NJRjP5fZf063qa_j.cjs → A4yAgzK3Yi1hFoyF.cjs} +1 -1
  5. package/browser/cjs/{B-_6rKIitR2q93fJ.cjs → B0Z0aRvslQ-luY7V.cjs} +2 -2
  6. package/browser/cjs/{DyC8iBrVH7LDDW1x.cjs → B13vFaAy_2-LVET-.cjs} +1 -1
  7. package/browser/cjs/{D1uSjhWmlU5THG1P.cjs → B2LQcZ92fWIJv2Gz.cjs} +1 -1
  8. package/browser/cjs/{DZlQ0ZdlhDYCKZ84.cjs → B3C8eQFrLaL-fvH-.cjs} +14 -14
  9. package/browser/cjs/{Bjbh4_Dk82VFJYks.cjs → B47DWuTo-MqQ3jZz.cjs} +1 -1
  10. package/browser/cjs/{Dm7olX2nDFTkXnZY.cjs → B4foheVEUqSBFEkt.cjs} +1 -1
  11. package/browser/cjs/{Bq5B84cvyZ8OYIz6.cjs → B7MW5qdFHlXONQ6l.cjs} +2 -2
  12. package/browser/cjs/{4XQsjfv-mpA7WJDa.cjs → BNPrWaUmde-C-8Vx.cjs} +1 -1
  13. package/browser/cjs/{D5iZt0R5B2wmTq9v.cjs → BeOgEB1ihIJx02Af.cjs} +1 -1
  14. package/browser/cjs/{Bmgx1KG2dHqvK0IP.cjs → BgSDdeTv_xCIgBGD.cjs} +3 -3
  15. package/browser/cjs/{BfrxFnXlulEOhhE1.cjs → BlswEA5cHtxUqfLX.cjs} +2 -2
  16. package/browser/cjs/{BI7D58lbU_QCK6AB.cjs → BprNr_E9PJXMBdn3.cjs} +1 -1
  17. package/browser/cjs/{B-G7myiBLkxxlzK2.cjs → BrKvmHqdJp6qNOFB.cjs} +1 -1
  18. package/browser/cjs/{BAVZCS-6TMywf-LE.cjs → ByA09xUI5G9YbxMz.cjs} +1 -1
  19. package/browser/cjs/{zVLCowqud_vITJlX.cjs → Bzqv14cPgkvKImRH.cjs} +1 -1
  20. package/browser/cjs/{CEMcAl53gqW4Tbar.cjs → C23bIG7E2r_Q0RAj.cjs} +3 -3
  21. package/browser/cjs/{8VX5F9-vSSGbO0aC.cjs → C7GKCVS4tFPkLsu7.cjs} +1 -1
  22. package/browser/cjs/{B4VQUY77kxW2ClsV.cjs → CAiDHxx6Gd0WmW60.cjs} +2 -2
  23. package/browser/cjs/{CpE3PTQkikAxhg4g.cjs → CBNecyEra54crLep.cjs} +2 -2
  24. package/browser/cjs/{CuEvMFFfmw4EzVAL.cjs → CTT_jzhLio55PSMa.cjs} +4 -4
  25. package/browser/cjs/{BmsbIZ939yQctHD6.cjs → CWOIza8vwfNX5KIr.cjs} +1 -1
  26. package/browser/cjs/{B1ArA8FKm4WVUvvM.cjs → Cd4lc7sbp3kKfIbA.cjs} +2 -2
  27. package/browser/cjs/Cfr9LxunC2fgJtM2.cjs +11 -0
  28. package/browser/cjs/{CDrgv3rpGPZh6d8e.cjs → ChIk2dRWK_RpFnZl.cjs} +3 -3
  29. package/browser/cjs/{CgmHXy-q0GruZI8X.cjs → CwsdwMi5Xs8b4Yhg.cjs} +1 -1
  30. package/browser/cjs/{amq-khP9nkyBI5Ro.cjs → D0ApB39VH979ZUCx.cjs} +1 -1
  31. package/browser/cjs/{QqzkV3azD4vIOKZ2.cjs → D3tIyPRHWxjXZjiu.cjs} +383 -383
  32. package/browser/cjs/{CZzooq_Dbdirg1so.cjs → D4llH4xbqGzmuVYe.cjs} +1 -1
  33. package/browser/cjs/{DPObIispo-BnNIS5.cjs → D6Gix9vU3zy6x0wx.cjs} +1 -1
  34. package/browser/cjs/{dAi3dUCADByWtU8J.cjs → D6RF346wXtLKkoJ-.cjs} +2 -2
  35. package/browser/cjs/{18KMc3DO6-QUK7EW.cjs → D6pv0GOQycMcOyhu.cjs} +1 -1
  36. package/browser/cjs/{MsEdoC-pzcFE0w_y.cjs → D80cB8tOFfQNF4oS.cjs} +2 -2
  37. package/browser/cjs/{Cv9z6TDkk54-RU6s.cjs → DAJLF0E4eUH-LX9t.cjs} +3 -3
  38. package/browser/cjs/{B6yCSqd62uTktnlY.cjs → DEzEcMfZx0I-QgJj.cjs} +1 -1
  39. package/browser/cjs/{Bx-t9hS0Ea8fS6cW.cjs → DFAQXO44wRvSlwCZ.cjs} +1 -1
  40. package/browser/cjs/DH59epfNQumKG6UO.cjs +6 -0
  41. package/browser/cjs/{Cz4bptupZrLkAnaS.cjs → DHdO6HcI4UB6Ks3h.cjs} +2 -2
  42. package/browser/cjs/{d0WPP_ytsh2QgluQ.cjs → DQrZ7_9M-BH9Zqhw.cjs} +2 -2
  43. package/browser/cjs/{CQms0ElWRvuMBvoH.cjs → DVATnEUJxTQMsLOO.cjs} +1 -1
  44. package/browser/cjs/{CyD7EdiqHml5T8Bq.cjs → De082R33Q24Czdd2.cjs} +2 -2
  45. package/browser/cjs/{BmbSOb6Ep0lvFpsE.cjs → Dg0Zl23k4ZwHK5Nt.cjs} +2 -2
  46. package/browser/cjs/{C0pqv1DbTg7j8n4t.cjs → DnirKDgaxys3R_a-.cjs} +1 -1
  47. package/browser/cjs/{C7soJWPu8fdQMDKh.cjs → DsWfniauN1Pu2Go3.cjs} +1 -1
  48. package/browser/cjs/JZZCpLEpsC2LCYHH.cjs +6 -0
  49. package/browser/cjs/{niUlo6nAYiwYIUyT.cjs → KuiK9SKQWvWBM3--.cjs} +1 -1
  50. package/browser/cjs/MD9O1VNhhdH5RoiA.cjs +330 -0
  51. package/browser/cjs/{xLprIpqHB-fTZxw6.cjs → Xzq847s6zAFUFWcq.cjs} +1 -1
  52. package/browser/cjs/{03L3sV1YAHRQUBjZ.cjs → dGtOlClU3aLzqX9G.cjs} +1 -1
  53. package/browser/cjs/index.cjs +2 -2
  54. package/browser/cjs/{BdIduBeLUGoOxDXC.cjs → ipGL9YCfyze4LbQj.cjs} +1 -1
  55. package/browser/cjs/oGzYb3Ra2l_2M4Fe.cjs +6 -0
  56. package/browser/cjs/{C6KT_ePmyek9jS3d.cjs → pI4yZSOoBjkftfKX.cjs} +1 -1
  57. package/browser/cjs/{Bk3dq9oyFJiJSGj_.cjs → q1y9tq62y47f7mxy.cjs} +1 -1
  58. package/browser/cjs/{D2oVp3EL6dX5ODnP.cjs → v9zKXidk5AvKGkz7.cjs} +1 -1
  59. package/browser/esm/{S-GjtOL5Bh3e-02h.mjs → 0egw9xufQUK5XQZ5.mjs} +1 -1
  60. package/{cdn/assets/qFrSZCDTH0G0JDfb.js → browser/esm/6dkX2k_H0PA_iz5X.mjs} +1 -1
  61. package/browser/esm/{Cf1M02sA8FLOwBzb.mjs → B3ECMs0QjPnXbJEw.mjs} +2 -2
  62. package/browser/esm/{BSF_fNyha8v2ysLL.mjs → B4U-HbDDW978wKeB.mjs} +3 -3
  63. package/{cdn/assets/BWvc1g3YiKSoqwev.js → browser/esm/B7wG8K-M9ldv3InT.mjs} +1 -1
  64. package/browser/esm/{CeMYqSz1VADp7RTo.mjs → B9wr_AwSb0JtPoMv.mjs} +1 -1
  65. package/{cdn/assets/dZylOjR-39eER4GB.js → browser/esm/BDSX8FAyHcAmsE-T.mjs} +1 -1
  66. package/browser/esm/{DO1U62H4O-dAJtf-.mjs → BTM0pYbZvfLqBj6Z.mjs} +2 -2
  67. package/browser/esm/{8f7G-rpq07c7sz0F.mjs → BVvwFIl1xvigNZTj.mjs} +1 -1
  68. package/{cdn/assets/mmv3YCV5K_S7Hjhe.js → browser/esm/BfH0870g7ogWyWTa.mjs} +1 -1
  69. package/{cdn/assets/nrVyS158rTnaAJVN.js → browser/esm/Bgcy7JI6AzSoovcw.mjs} +1 -1
  70. package/browser/esm/{0KR8f89vI_5Mwz7H.mjs → Bioh6T6jynIt2aBf.mjs} +5 -5
  71. package/{cdn/assets/BqAxzWcqJIGCb2d0.js → browser/esm/BkjhtLKdZkaleH6j.mjs} +1 -1
  72. package/browser/esm/{Bk0CMPODIHZODYkA.mjs → BrGzSkrQVV-CCVui.mjs} +1 -1
  73. package/browser/esm/{BdewC0t_gRjGI3Z9.mjs → BsryTthQuZrS1w0h.mjs} +3 -3
  74. package/browser/esm/{Da0goN3E6ovlx2Wk.mjs → BzCCXyLxR1Tx_PQ6.mjs} +3 -3
  75. package/browser/esm/{Dl3TiAoINXoApeKj.mjs → BzXLeceeaODxxlsN.mjs} +3 -3
  76. package/browser/esm/{CVu2epp9fhfex9NL.mjs → C1TJTYVoSUvCsI72.mjs} +2 -2
  77. package/{cdn/assets/D9hTqQqAW8QTc_8Q.js → browser/esm/C2sR98LOxBBkEECx.mjs} +1 -1
  78. package/browser/esm/{Dl7R3IFy9Y9o-Q0I.mjs → C3ZYwFCm4zV0PV7L.mjs} +1 -1
  79. package/{cdn/assets/Cek4YwPIyHWB2iVA.js → browser/esm/C4aAJQZlcVwK7Bv7.mjs} +1 -1
  80. package/browser/esm/{DX1rk0tNl-vYmcUE.mjs → C4dAWyoYzg5AFxSE.mjs} +2 -2
  81. package/browser/esm/{4LRM8_32XzCaSk1F.mjs → CFey64nL6K_JDHyo.mjs} +1 -1
  82. package/browser/esm/{Cpv_VJfcd0lQgsd2.mjs → CHOlVNulci003tpR.mjs} +4 -4
  83. package/browser/esm/{BSAZm7wqqfWEKCaf.mjs → CKOpVcqPaB2s4dTb.mjs} +1 -1
  84. package/browser/esm/{p476r_-Ouf3iaYIc.mjs → CR9jsRCQsHJO01J4.mjs} +15 -13
  85. package/browser/esm/{Crb7e3xskPF7eKP8.mjs → CSU3ycILp620z_i8.mjs} +2 -2
  86. package/browser/esm/CUq15BKQ0G25o03H.mjs +48 -0
  87. package/browser/esm/{8hyzunyf0O949-vz.mjs → Cb1GBW9E5GfRvhuS.mjs} +1 -1
  88. package/browser/esm/{auopa7YjuIcIlNMM.mjs → CbiCECqtZzDk6jeR.mjs} +2 -2
  89. package/browser/esm/{C1fL3M_1H6G3yS0L.mjs → Ce3pCanMx2TnvT0I.mjs} +16 -16
  90. package/browser/esm/{BOZs5TX4xwgrA2El.mjs → CfEvt84zrQGwFpt2.mjs} +1 -1
  91. package/browser/esm/{DiRWHRkwW9s9_GMc.mjs → ChrPZQnuQU-qVVa1.mjs} +34 -34
  92. package/browser/esm/{1FgykQ6oxhSQKBfW.mjs → CqxLzaP5z64d6Lx4.mjs} +1 -1
  93. package/{cdn/assets/Ckxn_MQ55THahZo3.js → browser/esm/CrqJMWWEjzFZ-_Pk.mjs} +1 -1
  94. package/{cdn/assets/C8t8iVNsz03fWG_i.js → browser/esm/CzgyRT7Dh3AVKcWl.mjs} +1 -1
  95. package/{cdn/assets/CmWuCsBWpv3hu5-B.js → browser/esm/DKrP22W3r6dc2ll8.mjs} +1 -1
  96. package/browser/esm/{fMUqs_3dU5oxSO7E.mjs → DRVrzDz7nVU_faHO.mjs} +383 -383
  97. package/{cdn/assets/0rJdjIu1JyUD78Iy.js → browser/esm/DYqsn4bTq8tt9z2d.mjs} +1 -1
  98. package/{cdn/assets/BdHTQaH6E3G3q0l9.js → browser/esm/DhT-2pf586yDvyqZ.mjs} +1 -1
  99. package/browser/esm/{DV62I0HQ_gAwiRbM.mjs → DjtYK-s8g6tP0TRw.mjs} +2 -2
  100. package/browser/esm/{B6GSLs_Ze16csEUM.mjs → DswWgS_zGnCjt804.mjs} +2 -2
  101. package/browser/esm/{BhjQAaTAZveEoHho.mjs → DvaoVWL-VdS7k_i3.mjs} +2 -2
  102. package/{cdn/assets/CBXt6vcEnDTzUhED.js → browser/esm/J_m4I2bQAeYSJPWS.mjs} +1 -1
  103. package/browser/esm/{B8W3PE6OA1hg00t1.mjs → JgQgURqWEwvTv_wi.mjs} +1 -1
  104. package/{cdn/assets/CvODiQFnL48SxLgJ.js → browser/esm/NohZsi_dnB1kc2oI.mjs} +1 -1
  105. package/browser/esm/{B67UzC_dxChimHYC.mjs → P5B5SOdOUaZr99nj.mjs} +2 -2
  106. package/browser/esm/{DqZVoNtqMI1C_e95.mjs → UQSXr-cpRWqp8Ktj.mjs} +2 -2
  107. package/{cdn/assets/CXwgvim5T1bDmyck.js → browser/esm/VzlXiTXfqwuLrkgg.mjs} +1 -1
  108. package/{cdn/assets/dx2PfVq4BgLwSo2m.js → browser/esm/YFMiozbFWZjo74Td.mjs} +1 -1
  109. package/browser/esm/{DSA5mYpR0vs_wuhO.mjs → Z1fSZhtHNjC6OoN6.mjs} +14944 -14857
  110. package/{cdn/assets/DEi-WYrO6icYcm8Z.js → browser/esm/_N4vH5kWapbfarDc.mjs} +1 -1
  111. package/browser/esm/ee5ZMqTpvvsprimB.mjs +1480 -0
  112. package/browser/esm/index.mjs +2 -2
  113. package/{cdn/assets/Cf5-RzokSUlqC84X.js → browser/esm/ji2x5yzvwhn2JiFp.mjs} +1 -1
  114. package/{cdn/assets/DCXFA__PEU2U1kRH.js → browser/esm/m7fz1VY0WrHhVE1u.mjs} +1 -1
  115. package/browser/esm/{BzL1AxfchzmIOM9M.mjs → uYFnTWRHS-M71aW3.mjs} +48 -48
  116. package/{cdn/assets/Dp5spPNYziuCpAjI.js → browser/esm/wrn_BUWuBI2ou-lE.mjs} +1 -1
  117. package/cdn/assets/{S-GjtOL5Bh3e-02h.js → 0egw9xufQUK5XQZ5.js} +1 -1
  118. package/{browser/esm/qFrSZCDTH0G0JDfb.mjs → cdn/assets/6dkX2k_H0PA_iz5X.js} +1 -1
  119. package/cdn/assets/{DKEuuOaurg6zrgED.js → B4MTgKmMZcXoDlYG.js} +2 -2
  120. package/{browser/esm/BWvc1g3YiKSoqwev.mjs → cdn/assets/B7wG8K-M9ldv3InT.js} +1 -1
  121. package/cdn/assets/{CeMYqSz1VADp7RTo.js → B9wr_AwSb0JtPoMv.js} +1 -1
  122. package/{browser/esm/dZylOjR-39eER4GB.mjs → cdn/assets/BDSX8FAyHcAmsE-T.js} +1 -1
  123. package/cdn/assets/{BrrCq2E9icHFWhxl.js → BFfLoUaapPcM_eb0.js} +13 -13
  124. package/cdn/assets/{GDbQpYg73jLjx2Zo.js → BHyn4CasWPQ92Eud.js} +32 -32
  125. package/cdn/assets/{8f7G-rpq07c7sz0F.js → BVvwFIl1xvigNZTj.js} +1 -1
  126. package/cdn/assets/{DCj2ksitjH0nflTl.js → BZ1FXLdV7kLoj8S2.js} +4 -4
  127. package/cdn/assets/{BlYrwcbZLI9o3GEx.js → BZpRwfavZD9rO_v8.js} +383 -383
  128. package/cdn/assets/{BnESyazjG2frLdU9.js → BeENppGCoF_AwA6g.js} +2 -2
  129. package/{browser/esm/mmv3YCV5K_S7Hjhe.mjs → cdn/assets/BfH0870g7ogWyWTa.js} +1 -1
  130. package/{browser/esm/nrVyS158rTnaAJVN.mjs → cdn/assets/Bgcy7JI6AzSoovcw.js} +1 -1
  131. package/{browser/esm/BqAxzWcqJIGCb2d0.mjs → cdn/assets/BkjhtLKdZkaleH6j.js} +1 -1
  132. package/cdn/assets/{CCroVkP2kxsAGCP0.js → Bp1BVz04Xy4W95PB.js} +7 -7
  133. package/cdn/assets/{KTdgK91s2uZQsbSi.js → BqbxC6sS2OoaM51Y.js} +2 -2
  134. package/cdn/assets/{Bk0CMPODIHZODYkA.js → BrGzSkrQVV-CCVui.js} +1 -1
  135. package/cdn/assets/{CxhoAHkORrJNv5rM.js → Bv7E-FgORAWOkyiV.js} +2 -2
  136. package/{browser/esm/D9hTqQqAW8QTc_8Q.mjs → cdn/assets/C2sR98LOxBBkEECx.js} +1 -1
  137. package/cdn/assets/{Dl7R3IFy9Y9o-Q0I.js → C3ZYwFCm4zV0PV7L.js} +1 -1
  138. package/{browser/esm/Cek4YwPIyHWB2iVA.mjs → cdn/assets/C4aAJQZlcVwK7Bv7.js} +1 -1
  139. package/cdn/assets/{4LRM8_32XzCaSk1F.js → CFey64nL6K_JDHyo.js} +1 -1
  140. package/cdn/assets/{BSAZm7wqqfWEKCaf.js → CKOpVcqPaB2s4dTb.js} +1 -1
  141. package/cdn/assets/{CUII-6d9j6HdVfok.js → CR-xAI2miMYh-gdy.js} +8 -8
  142. package/cdn/assets/CaHwS8usPT5gIFuY.js +41 -0
  143. package/cdn/assets/{8hyzunyf0O949-vz.js → Cb1GBW9E5GfRvhuS.js} +1 -1
  144. package/cdn/assets/{RlH7yLXkgv89-8Sy.js → CdoIc8OarIB8C5y3.js} +15 -15
  145. package/cdn/assets/{BOZs5TX4xwgrA2El.js → CfEvt84zrQGwFpt2.js} +1 -1
  146. package/{browser/esm/Ckxn_MQ55THahZo3.mjs → cdn/assets/CrqJMWWEjzFZ-_Pk.js} +1 -1
  147. package/cdn/assets/{Ds6hPhvZLAxQ0d5x.js → CvTBNZMoY5-DwtAb.js} +2 -2
  148. package/cdn/assets/CxFPsh5ojrvYoLqP.js +1480 -0
  149. package/{browser/esm/C8t8iVNsz03fWG_i.mjs → cdn/assets/CzgyRT7Dh3AVKcWl.js} +1 -1
  150. package/cdn/assets/{FqgG-BZHvOc2-ty2.js → D4aEzWRsHbRiDZQf.js} +14870 -14783
  151. package/cdn/assets/{C7qb2ZMtZYg_njDy.js → D6gMyvRPXwYEpaiW.js} +1 -1
  152. package/cdn/assets/{CaV3Cwu2U8o9Iobr.js → DAMni_kLlITX8qAW.js} +50 -50
  153. package/cdn/assets/{Bl-o1sKfmGvXl2C5.js → DK5o4bmDWZoxlyie.js} +3 -3
  154. package/{browser/esm/CmWuCsBWpv3hu5-B.mjs → cdn/assets/DKrP22W3r6dc2ll8.js} +1 -1
  155. package/cdn/assets/{CZf8ZnFjvZzbt6UD.js → DMOM_dk7px3Id2fD.js} +18 -16
  156. package/cdn/assets/{BnN9FFFUGToz96QP.js → DTHfoEyAv88YJtid.js} +2 -2
  157. package/cdn/assets/{xJ9KhWlLoNSP6-Hi.js → DWxb-keKnWDZ32ov.js} +2 -2
  158. package/{browser/esm/0rJdjIu1JyUD78Iy.mjs → cdn/assets/DYqsn4bTq8tt9z2d.js} +1 -1
  159. package/cdn/assets/{peax0VuRgyHFCQ_G.js → DZSQDf-SlYIAnwqI.js} +2 -2
  160. package/{browser/esm/BdHTQaH6E3G3q0l9.mjs → cdn/assets/DhT-2pf586yDvyqZ.js} +1 -1
  161. package/cdn/assets/{B-jfq2V5rCha0_Ee.js → DuVOZ5CVHDzuF-Wf.js} +5 -5
  162. package/cdn/assets/{DUJxr3mhCk0FDKII.js → IQp8evg14s1_pMGI.js} +3 -3
  163. package/{browser/esm/CBXt6vcEnDTzUhED.mjs → cdn/assets/J_m4I2bQAeYSJPWS.js} +1 -1
  164. package/cdn/assets/{B8W3PE6OA1hg00t1.js → JgQgURqWEwvTv_wi.js} +1 -1
  165. package/cdn/assets/{CYngTHj-adXcslLB.js → McZLFG7PefCrtXxD.js} +1 -1
  166. package/{browser/esm/CvODiQFnL48SxLgJ.mjs → cdn/assets/NohZsi_dnB1kc2oI.js} +1 -1
  167. package/cdn/assets/{C9PhjUfQhQP3mArV.js → TAuxEP6K9MOe8hvY.js} +3 -3
  168. package/cdn/assets/{D8-dJ4NPxgd13jjm.js → UGRaW68kY1lQin4c.js} +3 -3
  169. package/{browser/esm/CXwgvim5T1bDmyck.mjs → cdn/assets/VzlXiTXfqwuLrkgg.js} +1 -1
  170. package/{browser/esm/dx2PfVq4BgLwSo2m.mjs → cdn/assets/YFMiozbFWZjo74Td.js} +1 -1
  171. package/{browser/esm/DEi-WYrO6icYcm8Z.mjs → cdn/assets/_N4vH5kWapbfarDc.js} +1 -1
  172. package/cdn/assets/{BB7n0e6CxSvP7yHL.js → ddSl0Ga-rXVB9Yci.js} +10 -10
  173. package/cdn/assets/gRJ4OcAtWEBEGLJD.js +48 -0
  174. package/cdn/assets/{D6sNNtokp4mLQiw3.js → jeiAiNavXwDjx5bH.js} +19 -19
  175. package/{browser/esm/Cf5-RzokSUlqC84X.mjs → cdn/assets/ji2x5yzvwhn2JiFp.js} +1 -1
  176. package/{browser/esm/DCXFA__PEU2U1kRH.mjs → cdn/assets/m7fz1VY0WrHhVE1u.js} +1 -1
  177. package/cdn/assets/{Bopms-FCBYVpep58.js → mgzh0Oj545G9VFmY.js} +10 -10
  178. package/cdn/assets/{DuA0s3_rkCGnQ8YD.js → pv07rmyN2zy5KZrb.js} +2 -2
  179. package/cdn/assets/{DSQ_jXS2RYh7Mf48.js → tbqH71TvrNeRjwAy.js} +3 -3
  180. package/{browser/esm/Dp5spPNYziuCpAjI.mjs → cdn/assets/wrn_BUWuBI2ou-lE.js} +1 -1
  181. package/cdn/index.js +2 -2
  182. package/cdn/loader.js +1 -1
  183. package/package.json +3 -3
  184. package/browser/cjs/BtfwmEQ4p3yNqTRo.cjs +0 -11
  185. package/browser/cjs/CiYF8QjkKxQATXHv.cjs +0 -330
  186. package/browser/cjs/DCRD-C6Y3JpDBHzZ.cjs +0 -6
  187. package/browser/cjs/DfERjr0YTkM7nvqm.cjs +0 -6
  188. package/browser/cjs/DvyZxJDmtkZgGsNc.cjs +0 -6
  189. package/browser/esm/B_C8F4pEXETUmxZI.mjs +0 -46
  190. package/browser/esm/D9rQ4kBN9rUGEI2x.mjs +0 -1467
  191. package/cdn/assets/DOMjjxYgJmqxOutl.js +0 -1467
  192. package/cdn/assets/DUhtUNYvPgRNUg0w.js +0 -46
  193. package/cdn/assets/tuPLfw-QNAp0BwcX.js +0 -41
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.7.3
2
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.7.4
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.7.3
50
+ * @license @sheetxl/primitives - Primitives - Base types for SheetXL functions. - v0.7.4
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 n extends t {
86
+ class r extends t {
87
87
  constructor(c, h) {
88
88
  super(e.Code.Parse, e.Label.Parse, c, h);
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 = n;
99
- class r extends t {
98
+ e.Parse = r;
99
+ class n extends t {
100
100
  constructor(c, h) {
101
101
  super(e.Code.Null, e.Label.Null, c, h);
102
102
  }
@@ -104,7 +104,7 @@ var Re, ae, d;
104
104
  this.code = e.Code.Null;
105
105
  }
106
106
  }
107
- e.Null = r;
107
+ e.Null = n;
108
108
  class o extends t {
109
109
  constructor(c, h) {
110
110
  super(e.Code.Div0, e.Label.Div0, c, h);
@@ -252,21 +252,21 @@ 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 nt = /* @__PURE__ */ new Map(), Te = /* @__PURE__ */ new Map(), rt = /* @__PURE__ */ new Map(), ot = /* @__PURE__ */ new Map(), ke = Object.keys(_);
255
+ const rt = /* @__PURE__ */ new Map(), Te = /* @__PURE__ */ new Map(), nt = /* @__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], 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);
257
+ const t = ke[e], r = _[t];
258
+ nt.set(d.Label[t], r), ot.set(d.Code[t], r);
259
+ const n = new r();
260
+ rt.set(n.getLabel(), n), Te.set(n.getCode(), n);
261
261
  }
262
262
  const xt = Te.get(d.Code.Unknown);
263
263
  var T;
264
- (T = d || (d = {})).BuiltIn = { Parse: new T.Parse(), Null: new T.Null(), Div0: new T.Div0(), Value: new T.Value(), Ref: new T.Ref(), Name: new T.Name(), Num: new T.Num(), NA: new T.NA(), GettingData: new T.GettingData(), Spill: new T.Spill(), Connect: new T.Connect(), Blocked: new T.Blocked(), Unknown: new T.Unknown(), Field: new T.Field(), Calc: new T.Calc(), Busy: new T.Busy(), Python: new T.Python(), Timeout: new T.Timeout() }, T.getBuiltInByLabel = (e) => nt.get(e), T.newTypedError = (e, t, n) => {
265
- let r;
266
- return r = typeof e == "string" ? rt.get(e) : ot.get(e), r || (r = T.Unknown), new r(t, n);
264
+ (T = d || (d = {})).BuiltIn = { Parse: new T.Parse(), Null: new T.Null(), Div0: new T.Div0(), Value: new T.Value(), Ref: new T.Ref(), Name: new T.Name(), Num: new T.Num(), NA: new T.NA(), GettingData: new T.GettingData(), Spill: new T.Spill(), Connect: new T.Connect(), Blocked: new T.Blocked(), Unknown: new T.Unknown(), Field: new T.Field(), Calc: new T.Calc(), Busy: new T.Busy(), Python: new T.Python(), Timeout: new T.Timeout() }, T.getBuiltInByLabel = (e) => rt.get(e), T.newTypedError = (e, t, r) => {
265
+ let n;
266
+ return n = typeof e == "string" ? nt.get(e) : ot.get(e), n || (n = T.Unknown), new n(t, r);
267
267
  }, T.getBuiltInById = (e) => Te.get(e) || xt;
268
268
  /**
269
- * @license @sheetxl/utils - Utils - Utilities used by most SheetXL components. - v0.7.3
269
+ * @license @sheetxl/utils - Utils - Utilities used by most SheetXL components. - v0.7.4
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.
@@ -276,30 +276,30 @@ Object.freeze(Object.defineProperty({ __proto__: null, EmptyBounds: Tt, EmptyRec
276
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 n = 0; n < e.length; n++) if (!Se(e[n], t[n])) return !1;
279
+ for (let r = 0; r < e.length; r++) if (!Se(e[r], t[r])) return !1;
280
280
  return !0;
281
- }, me = (e, t, n) => {
281
+ }, me = (e, t, r) => {
282
282
  if (!e && !t) return null;
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;
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
288
  }, De = (e, t) => {
289
289
  if (!t || t.length === 0) return e;
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));
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));
294
294
  }
295
- return n;
296
- }, Rt = [null, null], kt = (e, t, n) => {
295
+ return r;
296
+ }, Rt = [null, null], kt = (e, t, r) => {
297
297
  if (e[0].value === e[1].value) return t;
298
298
  };
299
- function Ue(e, t = 2, n, r = j.Row, o) {
299
+ function Ue(e, t = 2, r, n = j.Row, o) {
300
300
  let i = [...e];
301
301
  if (t <= 0 || e.length <= 1) return i;
302
- let a = r === j.Column, l = 0, u = !1;
302
+ let a = n === j.Column, l = 0, u = !1;
303
303
  do {
304
304
  const p = i.sort(lt(a ? j.Row : j.Column));
305
305
  i = [], i.push(p[0]);
@@ -310,9 +310,9 @@ function Ue(e, t = 2, n, r = j.Row, o) {
310
310
  let J = !1;
311
311
  if (J = a ? f && x === I.rowStart && D === I.rowEnd && A + 1 === I.colStart : f && y === I.colStart && A === I.colEnd && D + 1 === I.rowStart, J) {
312
312
  let E = { colStart: y, rowStart: x, colEnd: a ? I.colEnd : A, rowEnd: a ? D : I.rowEnd };
313
- if (f.value !== void 0 && (E.value = f.value), n) {
313
+ if (f.value !== void 0 && (E.value = f.value), r) {
314
314
  const c = o ?? [null, null];
315
- c[0] = f, c[1] = I, E = n(c, E, r);
315
+ c[0] = f, c[1] = I, E = r(c, E, n);
316
316
  }
317
317
  if (E) {
318
318
  i[g] = E, u = !0, f = E, y = f.colStart, x = f.rowStart, A = f.colEnd, D = f.rowEnd;
@@ -327,11 +327,11 @@ function Ue(e, t = 2, n, r = j.Row, o) {
327
327
  }
328
328
  Object.freeze(Object.defineProperty({ __proto__: null, EmptyCell: _t, EmptyRange: Ot, cellToRange: (e, t) => {
329
329
  if (!e) return null;
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;
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
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;
333
+ const r = [];
334
+ let n, o, i = Number.MIN_SAFE_INTEGER, a = Number.MIN_SAFE_INTEGER;
335
335
  return { append: (l, u, p) => {
336
336
  let w = !0;
337
337
  const g = p !== void 0;
@@ -339,44 +339,44 @@ Object.freeze(Object.defineProperty({ __proto__: null, EmptyCell: _t, EmptyRange
339
339
  const x = e ? e(o, p, t) : o === p ? p : void 0;
340
340
  x === void 0 ? w = !1 : p = x;
341
341
  }
342
- if (w && u === a + 1 && l === i) return t ? r.rowEnd = u : r.colEnd = u, a = u, void (o = p);
343
- r && n.push(r);
342
+ if (w && u === a + 1 && l === i) return t ? n.rowEnd = u : n.colEnd = u, a = u, void (o = p);
343
+ n && r.push(n);
344
344
  const f = t ? l : u, y = t ? u : l;
345
- r = { colStart: f, rowStart: y, colEnd: f, rowEnd: y }, g && (r.value = p), i = l, a = u, o = p;
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) => {
345
+ n = { colStart: f, rowStart: y, colEnd: f, rowEnd: y }, g && (n.value = p), i = l, a = u, o = p;
346
+ }, done: (l) => (n && (r.push(n), n = null), l ? Ue(r, 3, l === !0 ? kt : l, t ? j.Column : j.Row, Rt) : r) };
347
+ }, createRangeComparator: lt, 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: De, extendRangeToUnionRanges: (e, t) => {
348
348
  if (!t || t.length === 0) return e;
349
- let n = e, r = null;
350
- for (; !Se(n, r); ) r = n, n = De(r, t);
351
- return n;
349
+ let r = e, n = null;
350
+ for (; !Se(r, n); ) n = r, r = De(n, t);
351
+ return r;
352
352
  }, indexOfCoords: (e, t) => {
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;
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;
355
355
  return -1;
356
- }, intersectRanges: (e, t, n) => {
357
- if (!e) return n ? t : { ...t };
358
- if (!t) return n ? e : { ...e };
356
+ }, intersectRanges: (e, t, r) => {
357
+ if (!e) return r ? t : { ...t };
358
+ if (!t) return r ? 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 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;
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
363
  }, isCellWithinRange: (e, t) => {
364
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: me, unionRangesArrays: (e, t, n) => {
365
+ const r = e.rowIndex;
366
+ if (r < t.rowStart || r > t.rowEnd) return !1;
367
+ const n = e.colIndex;
368
+ return !(n < t.colStart || n > 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, 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: me, unionRangesArrays: (e, t, r) => {
370
370
  if (!e || e.length === 0) return null;
371
371
  if (e.length === 1 && !t) return e[0];
372
- let r = e[0];
373
- for (let o = 1; o < e.length; o++) r = me(r, e[o], n);
374
- return t && (r = me(r, t, n)), r;
372
+ let n = e[0];
373
+ for (let o = 1; o < e.length; o++) n = me(n, e[o], r);
374
+ return t && (n = me(n, t, r)), n;
375
375
  } }, Symbol.toStringTag, { value: "Module" }));
376
376
  function Lt(e) {
377
377
  const t = Object.prototype.toString.call(e);
378
- return t === "[object RegExp]" || t === "[object Date]" || (function(n) {
379
- return n.$$typeof === At;
378
+ return t === "[object RegExp]" || t === "[object Date]" || (function(r) {
379
+ return r.$$typeof === At;
380
380
  })(e);
381
381
  }
382
382
  const At = typeof Symbol == "function" && Symbol.for ? Symbol.for("react.element") : 60103;
@@ -385,19 +385,19 @@ function Mt(e) {
385
385
  return !!t && typeof t == "object";
386
386
  })(e) && !Lt(e);
387
387
  }
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;
388
+ function ne(e, t) {
389
+ return t.clone !== !1 && t.isMergeableObject(e) ? Y((r = e, Array.isArray(r) ? [] : {}), e, t) : e;
390
+ var r;
391
391
  }
392
- function jt(e, t, n) {
393
- return e.concat(t).map(function(r) {
394
- return re(r, n);
392
+ function jt(e, t, r) {
393
+ return e.concat(t).map(function(n) {
394
+ return ne(n, r);
395
395
  });
396
396
  }
397
397
  function Be(e) {
398
398
  return Object.keys(e).concat((function(t) {
399
- return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(t).filter(function(n) {
400
- return Object.propertyIsEnumerable.call(t, n);
399
+ return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(t).filter(function(r) {
400
+ return Object.propertyIsEnumerable.call(t, r);
401
401
  }) : [];
402
402
  })(e));
403
403
  }
@@ -408,45 +408,45 @@ function $e(e, t) {
408
408
  return !1;
409
409
  }
410
410
  }
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);
411
+ function Pt(e, t, r) {
412
+ const n = {};
413
+ return r.isMergeableObject(e) && Be(e).forEach(function(o) {
414
+ n[o] = ne(e[o], r);
415
415
  }), Be(t).forEach(function(o) {
416
416
  (function(i, a) {
417
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) {
418
+ })(e, o) || ($e(e, o) && r.isMergeableObject(t[o]) ? n[o] = (function(i, a) {
419
419
  if (!a.customMerge) return Y;
420
420
  const l = a.customMerge(i);
421
421
  return typeof l == "function" ? l : Y;
422
- })(o, n)(e[o], t[o], n) : r[o] = re(t[o], n));
423
- }), r;
422
+ })(o, r)(e[o], t[o], r) : n[o] = ne(t[o], r));
423
+ }), n;
424
424
  }
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);
425
+ function Y(e, t, r) {
426
+ (r = r || {}).arrayMerge = r.arrayMerge || jt, r.isMergeableObject = r.isMergeableObject || Mt, r.cloneUnlessOtherwiseSpecified = ne;
427
+ const n = Array.isArray(t);
428
+ return n === Array.isArray(e) ? n ? r.arrayMerge(e, t, r) : Pt(e, t, r) : ne(t, r);
429
429
  }
430
430
  Y.all = function(e, t) {
431
431
  if (!Array.isArray(e)) throw new Error("first argument should be an array");
432
- return e.reduce(function(n, r) {
433
- return Y(n, r, t);
432
+ return e.reduce(function(r, n) {
433
+ return Y(r, n, t);
434
434
  }, {});
435
435
  };
436
436
  const Ft = Object.freeze([]), Dt = Object.freeze({}), ze = (e) => e, de = () => "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g, function(e) {
437
437
  let t = 16 * Math.random() | 0;
438
438
  return (e === "x" ? t : 3 & t | 8).toString(16);
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) {
439
+ }), Ut = (e) => 1 * e, st = (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, ct = (e) => typeof e != "object" || Array.isArray(e) || e === null ? e : (Object.keys(e).forEach(function(t) {
440
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) => {
441
+ }), Object.keys(e).length === 0 ? null : e), Bt = (e, t) => !(e !== t && !st(e, t)) || !!e.isEqual?.(t), ut = (e, t, r = Bt) => {
442
442
  if (e == null || e === t) 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;
443
+ if (!e || typeof e != "object" || Array.isArray(e) || e.isImmutable?.()) return r(e, t) ? null : e;
444
+ const n = Object.keys(e);
445
+ if (n.length === 0) return null;
446
446
  let o = !1;
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]);
447
+ for (let i = 0; i < n.length; i++) {
448
+ const a = n[i];
449
+ ut(e[a], t?.[a], r) === null && (o = !0, delete e[a]);
450
450
  }
451
451
  return o && Object.keys(e).length === 0 ? null : void 0;
452
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 = () => {
@@ -457,9 +457,9 @@ const Ft = Object.freeze([]), Dt = Object.freeze({}), ze = (e) => e, de = () =>
457
457
  function dt() {
458
458
  return typeof process < "u" && process.release?.name === "node" || (typeof process < "u" && process.browser, !1);
459
459
  }
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;
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, r) {
461
+ const n = e.slice();
462
+ return n.splice(r < 0 ? n.length + r : r, 0, n.splice(t, 1)[0]), n;
463
463
  }, asNumber: (e) => {
464
464
  const t = Ut(e);
465
465
  return Number.isFinite(t) ? t : 0;
@@ -471,267 +471,267 @@ const We = (e, t = !1) => (document.hasFocus() || t) && (e === document.activeEl
471
471
  setTimeout(() => {
472
472
  Function("console.log.apply(console, arguments)").apply(null, e), t();
473
473
  });
474
- }), debounce: function(e, t = 300, n = !1) {
475
- let r, o, i, a, l = 0;
474
+ }), debounce: function(e, t = 300, r = !1) {
475
+ let n, o, i, a, l = 0;
476
476
  function u() {
477
477
  let w = Date.now() - l;
478
- w < t && w >= 0 ? r = setTimeout(u, t - w) : (r = null, n || (a = e.apply(i, o), i = o = null));
478
+ w < t && w >= 0 ? n = setTimeout(u, t - w) : (n = null, r || (a = e.apply(i, o), i = o = null));
479
479
  }
480
480
  t == null && (t = 100);
481
481
  const p = function() {
482
482
  i = globalThis, o = arguments, l = Date.now();
483
- var w = n && !r;
484
- return r || (r = setTimeout(u, t)), w && (a = e.apply(i, o), i = o = null), a;
483
+ var w = r && !n;
484
+ return n || (n = setTimeout(u, t)), w && (a = e.apply(i, o), i = o = null), a;
485
485
  };
486
486
  return p.clear = function() {
487
- r && (clearTimeout(r), r = null);
487
+ n && (clearTimeout(n), n = null);
488
488
  }, p.flush = function() {
489
- r && (a = e.apply(i, o), i = o = null, clearTimeout(r), r = null);
489
+ n && (a = e.apply(i, o), i = o = null, clearTimeout(n), n = null);
490
490
  }, p;
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;
491
+ }, deepEqual: function e(t, r) {
492
+ if (t === r) return !0;
493
+ if (t && r && typeof t == "object" && typeof r == "object") {
494
+ if (t.constructor !== r.constructor) return !1;
495
+ let n, o, i;
496
496
  if (Array.isArray(t)) {
497
- if (r = t.length, r != n.length) return !1;
498
- for (o = r; o-- !== 0; ) if (!e(t[o], n[o])) return !1;
497
+ if (n = t.length, n != r.length) return !1;
498
+ for (o = n; o-- !== 0; ) if (!e(t[o], r[o])) return !1;
499
499
  return !0;
500
500
  }
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;
501
+ if (t instanceof Map && r instanceof Map) {
502
+ if (t.size !== r.size) return !1;
503
+ for (o of t.entries()) if (!r.has(o[0])) return !1;
504
+ for (o of t.entries()) if (!e(o[1], r.get(o[0]))) return !1;
505
505
  return !0;
506
506
  }
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;
507
+ if (t instanceof Set && r instanceof Set) {
508
+ if (t.size !== r.size) return !1;
509
+ for (o of t.entries()) if (!r.has(o[0])) return !1;
510
510
  return !0;
511
511
  }
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;
512
+ if (ArrayBuffer.isView(t) && ArrayBuffer.isView(r)) {
513
+ if (n = t.length, n != r.length) return !1;
514
+ for (o = n; o-- !== 0; ) if (t[o] !== r[o]) return !1;
515
515
  return !0;
516
516
  }
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
+ if (t.constructor === RegExp) return t.source === r.source && t.flags === r.flags;
518
+ if (t.valueOf !== Object.prototype.valueOf) return t.valueOf() === r.valueOf();
519
+ if (t.toString !== Object.prototype.toString) return t.toString() === r.toString();
520
+ if (i = Object.keys(t), n = i.length, n !== Object.keys(r).length) return !1;
521
+ for (o = n; o-- !== 0; ) if (!Object.prototype.hasOwnProperty.call(r, i[o])) return !1;
522
+ for (o = n; o-- !== 0; ) {
523
523
  let a = i[o];
524
- if ((a !== "_owner" || !t.$$typeof) && !e(t[a], n[a])) return !1;
524
+ if ((a !== "_owner" || !t.$$typeof) && !e(t[a], r[a])) return !1;
525
525
  }
526
526
  return !0;
527
527
  }
528
- return t != t && n != n;
528
+ return t != t && r != r;
529
529
  }, deepFreeze: function e(t) {
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]);
530
+ return Object.freeze(t), Object.keys(t).forEach((r) => {
531
+ typeof t[r] != "object" || t[r] === null || Object.isFrozen(t[r]) || e(t[r]);
532
532
  }), t;
533
533
  }, deepMerge: Y, diffValues: (e, t) => {
534
- const n = {}, r = Object.keys(t), o = r.length;
534
+ const r = {}, n = Object.keys(t), o = n.length;
535
535
  for (let i = 0; i < o; 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]);
536
+ const a = n[i];
537
+ e[a] !== t[a] && (e[a] === void 0 ? r[a] = t[a] : r[a] = e[a]);
538
+ }
539
+ return Object.keys(r).length === 0 ? null : r;
540
+ }, findEqualOrGreater: function(e, t, r = ze) {
541
+ let n = 0, o = e.length - 1;
542
+ for (; n <= o; ) {
543
+ let i = Math.floor((n + o) / 2), a = r(e[i]);
544
544
  if (a === t) return i;
545
- a < t ? r = i + 1 : o = i - 1;
545
+ a < t ? n = i + 1 : o = i - 1;
546
546
  }
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]);
547
+ return n;
548
+ }, findEqualOrLesser: function(e, t, r = ze) {
549
+ let n = e.length - 1, o = 0;
550
+ for (; n >= o; ) {
551
+ let i = Math.floor((n + o) / 2), a = r(e[i]);
552
552
  if (a === t) return i;
553
- a > t ? r = i - 1 : o = i + 1;
553
+ a > t ? n = i - 1 : o = i + 1;
554
554
  }
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);
555
+ return n;
556
+ }, findNextStep: (e, t = !0, r = 15, n = 10, o = 400) => {
557
+ const i = Math.max(e - n, 0) + (t ? 1 : -1);
558
+ return Math.min(o, Math[t ? "ceil" : "floor"](i / r) * r + n);
559
559
  }, getDPI: () => {
560
560
  let e = 1;
561
561
  return typeof window == "object" && (e = window.devicePixelRatio || 1), e;
562
562
  }, getFromPath: (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;
563
+ const r = t.split(".");
564
+ let n = e;
565
+ for (let o = 0; o < r.length; o++) {
566
+ const i = r[o];
567
+ if (!n) return null;
568
+ let a = n[i];
569
+ if (typeof a == "function" && (a = a.bind(n)()), !a || !re(a)) return a;
570
+ n = a;
571
+ }
572
+ return n ?? null;
573
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) => {
574
574
  if (e === t) return !0;
575
575
  if (e && !t || t && !e) 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;
576
+ const r = Object.keys(e);
577
+ if (r.length !== Object.keys(t).length) return !1;
578
+ for (let n = 0; n < r.length; n++) if (e[r[n]] !== t[r[n]]) return !1;
579
579
  return !0;
580
580
  }, isNode: dt, isNullOrUndefined: Ve, isNumeric: (e) => {
581
581
  const t = 1 * e;
582
582
  return Number.isFinite(t) && typeof t == "number";
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) => {
583
+ }, 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: qe, mergeContentful: (...e) => {
584
584
  const t = e.length;
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;
585
+ if (t > 0 && e[t - 1] !== void 0 && !re(e[t - 1])) return e[t - 1];
586
+ let r = e[0] || {};
587
+ for (let n = 1; n < t; n++) r = Y(r, e[n] || {}, { arrayMerge: (o, i) => [...i] });
588
+ return r;
589
589
  }, nextTick: (e) => {
590
590
  typeof window < "u" && typeof window.requestAnimationFrame == "function" ? window.requestAnimationFrame(() => {
591
591
  e();
592
592
  }) : (typeof setImmediate == "function" ? setImmediate : setTimeout)(() => {
593
593
  e();
594
594
  });
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;
595
+ }, openFileDialog: (e = "*.*") => new Promise((t, r) => {
596
+ if (!Ge) return void r("Unable to open dialog with no dom.");
597
+ const n = document.createElement("input");
598
+ n.type = "file", n.accept = e;
599
599
  let o = null, i = !1;
600
600
  globalThis.addEventListener?.("focus", () => {
601
601
  setTimeout(() => {
602
602
  o || i || (i = !0, t(null));
603
603
  }, 1e3);
604
- }, { once: !0, passive: !0 }), r.onchange = () => {
605
- if (o = r.files[0], o) {
604
+ }, { once: !0, passive: !0 }), n.onchange = () => {
605
+ if (o = n.files[0], o) {
606
606
  if (i) return void console.warn("File open detected after faux cancel.", o);
607
607
  t(o);
608
608
  }
609
- }, r.autofocus = !0, r.click();
609
+ }, n.autofocus = !0, n.click();
610
610
  }), rafThrottle: (e) => {
611
- let t, n = !1, r = function() {
612
- n = !1, e(t);
611
+ let t, r = !1, n = function() {
612
+ r = !1, e(t);
613
613
  };
614
614
  return function(o) {
615
- t = o, t && t.persist && t.persist(), n || (n = !0, requestAnimationFrame(r));
615
+ t = o, t && t.persist && t.persist(), r || (r = !0, requestAnimationFrame(n));
616
616
  };
617
617
  }, removeEmptyProperties: ct, removeEqualValues: ut, removeListenerAll: (e) => {
618
618
  if (!e) return [];
619
619
  for (let t = 0; t < e.length; t++) e[t] && e[t]();
620
620
  return [];
621
621
  }, requestTimeout: (e, t) => {
622
- const n = Ke(), r = { id: requestAnimationFrame(function o() {
623
- Ke() - n >= t ? e.call(null) : r.id = requestAnimationFrame(o);
622
+ const r = Ke(), n = { id: requestAnimationFrame(function o() {
623
+ Ke() - r >= t ? e.call(null) : n.id = requestAnimationFrame(o);
624
624
  }) };
625
- return r;
625
+ return n;
626
626
  }, roundAccurately: (e, t = 0) => {
627
627
  if (e == null || !isFinite(e)) return null;
628
- const n = 10 ** t;
629
- return Number(Math.round(e * n) / n);
630
- }, setToPath: (e, t, n) => {
631
- const r = t.split(".");
628
+ const r = 10 ** t;
629
+ return Number(Math.round(e * r) / r);
630
+ }, setToPath: (e, t, r) => {
631
+ const n = t.split(".");
632
632
  let o = e;
633
633
  if (!o) throw new Error("Can not set path to a null path.");
634
- for (let i = 0; o && i < r.length - 1; i++) {
635
- const a = r[i];
634
+ for (let i = 0; o && i < n.length - 1; i++) {
635
+ const a = n[i];
636
636
  let l = o[a];
637
- if (l == null && (l = {}, o[a] = l), !ne(l)) throw new Error("Can not set path to a non object path.");
637
+ if (l == null && (l = {}, o[a] = l), !re(l)) throw new Error("Can not set path to a non object path.");
638
638
  o = l;
639
639
  }
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;
640
+ 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.\`);
641
+ return o[n[n.length - 1]] = r, e;
642
642
  }, splitNumber: (e) => {
643
643
  let t = Math.abs(e);
644
644
  if (isNaN(t) || !isFinite(e)) return null;
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) => {
645
+ let r = 0 | t, n = t - r, o = 0, i = 0, a = 1;
646
+ if (n > 5e-8) for (; i < 8 && Math.abs(o / a - n) > 5e-8; ) i++, a *= 10, o = Math.round(n * a);
647
+ return { ip: Math.trunc(e), fp: o, ipLength: Math.ceil(Math.log10(r + 1)), fpLength: i };
648
+ }, subtractRect: (e, t, r = !1) => {
649
649
  if (!t) return [e];
650
650
  if (!qe(e, t)) return [];
651
- const r = [];
651
+ const n = [];
652
652
  let o = e;
653
653
  const i = () => {
654
- t.top > o.top && t.top < o.bottom && (r.push({ ...o, bottom: t.top }), o = { ...o, top: t.top });
654
+ t.top > o.top && t.top < o.bottom && (n.push({ ...o, bottom: t.top }), o = { ...o, top: t.top });
655
655
  }, a = () => {
656
- t.bottom > o.top && t.bottom < o.bottom && (r.push({ ...o, top: t.bottom }), o = { ...o, bottom: t.bottom });
656
+ t.bottom > o.top && t.bottom < o.bottom && (n.push({ ...o, top: t.bottom }), o = { ...o, bottom: t.bottom });
657
657
  }, l = () => {
658
- t.right > o.left && t.right < o.right && (r.push({ ...o, left: t.right }), o = { ...o, right: t.right });
658
+ t.right > o.left && t.right < o.right && (n.push({ ...o, left: t.right }), o = { ...o, right: t.right });
659
659
  }, u = () => {
660
- t.left > o.left && t.left < o.right && (r.push({ ...o, right: t.left }), o = { ...o, left: t.left });
660
+ t.left > o.left && t.left < o.right && (n.push({ ...o, right: t.left }), o = { ...o, left: t.left });
661
661
  };
662
- return n ? (u(), l(), i(), a()) : (i(), a(), l(), u()), r;
662
+ return r ? (u(), l(), i(), a()) : (i(), a(), l(), u()), n;
663
663
  }, textToKey: (e) => e.replace(/[^a-zA-Z0-9]/g, "").toLowerCase(), throttle: function(e, t) {
664
- let n = null;
665
- return (...r) => {
664
+ let r = null;
665
+ return (...n) => {
666
666
  const o = Date.now();
667
- (!n || o - n >= t) && (n = o, e(...r));
667
+ (!r || o - r >= t) && (r = o, e(...n));
668
668
  };
669
669
  }, toSafeJSON: function e(t) {
670
670
  if (t === null || typeof t != "object") return t;
671
671
  if (typeof t.toJSON == "function") return t.toJSON();
672
- if (Array.isArray(t)) return t.map((r) => e(r));
672
+ if (Array.isArray(t)) return t.map((n) => e(n));
673
673
  if (typeof t.toString == "function" && t.toString !== Object.prototype.toString) return t.toString();
674
- const n = {};
675
- for (const r in t) t.hasOwnProperty(r) && (n[r] = e(t[r]));
676
- return n;
674
+ const r = {};
675
+ for (const n in t) t.hasOwnProperty(n) && (r[n] = e(t[n]));
676
+ return r;
677
677
  }, transpose: (e) => {
678
678
  if (!e) return e;
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;
679
+ const t = e.length, r = e[0].length, n = [];
680
+ for (let o = 0; o < r; o++) n[o] = Array(t);
681
+ for (let o = 0; o < t; o++) for (let i = 0; i < r; i++) n[i][o] = e[o][i];
682
+ return n;
683
683
  }, uuidV4: de, validEnumValue: (e, t) => {
684
684
  if (!Object.values(e).includes(t)) throw new Error(\`Invalid type: \${t ?? "null"}. Must be one of: \${Object.values(t).join(", ")}.\`);
685
- }, whenFocus: async (e, t = !1) => new Promise((n) => {
686
- We(e, t) ? n(!0) : e.addEventListener("focusin", () => {
687
- n(!0);
685
+ }, whenFocus: async (e, t = !1) => new Promise((r) => {
686
+ We(e, t) ? r(!0) : e.addEventListener("focusin", () => {
687
+ r(!0);
688
688
  }, { once: !0 }), e.focus();
689
689
  }) }, Symbol.toStringTag, { value: "Module" }));
690
690
  Object.freeze(Object.defineProperty({ __proto__: null, MESSAGE_ERROR_INVALID_ARG: (e) => \`Invalid argument: '\${e}'.\` }, Symbol.toStringTag, { value: "Module" }));
691
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");
692
+ const t = new Uint8Array(e), r = t.byteLength;
693
+ let n = "";
694
+ for (let o = 0; o < r; o++) n += String.fromCharCode(t[o]);
695
+ if (typeof window < "u" && typeof globalThis.btoa == "function") return globalThis.btoa(n);
696
+ if (typeof Buffer < "u") return Buffer.from(n, "binary").toString("base64");
697
697
  throw new Error("Unsupported environment");
698
- }, Ce = (e) => new Promise((t, n) => {
698
+ }, Ce = (e) => new Promise((t, r) => {
699
699
  if (e) if (typeof FileReader < "u") {
700
- const r = new FileReader();
701
- r.onload = () => {
702
- t(r.result);
703
- }, r.onerror = () => {
704
- n(r.error);
705
- }, r.readAsText(e);
700
+ const n = new FileReader();
701
+ n.onload = () => {
702
+ t(n.result);
703
+ }, n.onerror = () => {
704
+ r(n.error);
705
+ }, n.readAsText(e);
706
706
  } else if (typeof Buffer < "u") {
707
- const r = (o) => Buffer.from(o).toString("utf-8");
707
+ const n = (o) => Buffer.from(o).toString("utf-8");
708
708
  e.arrayBuffer().then((o) => {
709
- t(r(o));
709
+ t(n(o));
710
710
  }).catch((o) => {
711
- n(o);
711
+ r(o);
712
712
  });
713
- } else n(new Error("Unsupported environment"));
713
+ } else r(new Error("Unsupported environment"));
714
714
  else t("");
715
715
  });
716
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;
717
+ 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);
718
+ for (let o = 0; o < r; o++) n[o] = t.charCodeAt(o);
719
+ return n.buffer;
720
720
  }, blobToString: Ce }, Symbol.toStringTag, { value: "Module" }));
721
- const pt = "data:image/png;base64,", ht = "Unable to resolve image.", Ye = (e) => new Promise(async (t, n) => {
722
- let r = null;
721
+ const pt = "data:image/png;base64,", ht = "Unable to resolve image.", Ye = (e) => new Promise(async (t, r) => {
722
+ let n = null;
723
723
  try {
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");
724
+ n = new Image(), n.src = e, n.addEventListener("load", function() {
725
+ t({ width: n.naturalWidth, height: n.naturalHeight });
726
+ }, { once: !0 }), n.addEventListener("error", function() {
727
+ URL.revokeObjectURL(e), r("Invalid Image");
728
+ }, { once: !0 }), await n.decode("sync");
729
729
  } catch {
730
- r?.src && URL.revokeObjectURL(r.src);
730
+ n?.src && URL.revokeObjectURL(n.src);
731
731
  }
732
- r || n(ht);
732
+ n || r(ht);
733
733
  }), we = "image/svg+xml";
734
- Object.freeze(Object.defineProperty({ __proto__: null, DATA_URL_PNG_PREFIX: pt, getImageDataUrl: (e, t = 1) => new Promise(async (n, r) => {
734
+ Object.freeze(Object.defineProperty({ __proto__: null, DATA_URL_PNG_PREFIX: pt, getImageDataUrl: (e, t = 1) => new Promise(async (r, n) => {
735
735
  let o = null;
736
736
  try {
737
737
  o = new Image(), o.src = e, o.addEventListener("load", function() {
@@ -739,42 +739,42 @@ Object.freeze(Object.defineProperty({ __proto__: null, DATA_URL_PNG_PREFIX: pt,
739
739
  const i = document.createElement("canvas");
740
740
  i.width = o.naturalWidth, i.height = o.naturalHeight, i.getContext("2d").drawImage(o, 0, 0);
741
741
  const a = i.toDataURL("image/png", t);
742
- n({ elemImg: o, dataUrl: a });
742
+ r({ elemImg: o, dataUrl: a });
743
743
  } catch (i) {
744
- URL.revokeObjectURL(e), r(i);
744
+ URL.revokeObjectURL(e), n(i);
745
745
  }
746
746
  }, { once: !0 }), o.addEventListener("error", function() {
747
- URL.revokeObjectURL(e), r("Invalid Image");
747
+ URL.revokeObjectURL(e), n("Invalid Image");
748
748
  }, { once: !0 }), await o.decode("sync");
749
749
  } catch {
750
750
  o?.src && URL.revokeObjectURL(o.src);
751
751
  }
752
- o || r(ht);
752
+ o || n(ht);
753
753
  }), loadImageDetails: async (e, t = null) => {
754
- let n = null;
755
- const r = async () => {
754
+ let r = null;
755
+ const n = async () => {
756
756
  try {
757
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 };
758
+ r = { mimeType: i, naturalDimensions: l, asUrl: a };
759
759
  } catch {
760
760
  }
761
761
  }, o = async () => {
762
762
  try {
763
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 };
764
+ r = { mimeType: t ?? we, naturalDimensions: l, asUrl: a, asSVGText: i };
765
765
  } catch {
766
766
  }
767
767
  };
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;
768
+ if (t === we ? await o() : t.startsWith("image/") ? await n() : (await n(), r || await o()), !r) throw new Error("Failed to load image");
769
+ return r;
770
770
  } }, Symbol.toStringTag, { value: "Module" }));
771
771
  var Je, He;
772
- (He = Je || (Je = {})).resolveTypedUpdates = (e, t, n, r) => {
772
+ (He = Je || (Je = {})).resolveTypedUpdates = (e, t, r, n) => {
773
773
  if (e === null) return e;
774
- if (e === void 0) return r;
774
+ if (e === void 0) return n;
775
775
  let o = e;
776
776
  if (t?.shorthand) {
777
- const u = t?.shorthand(e, n);
777
+ const u = t?.shorthand(e, r);
778
778
  u !== void 0 && (o = u);
779
779
  }
780
780
  if (o !== null && t?.getSubType) {
@@ -783,9 +783,9 @@ var Je, He;
783
783
  }
784
784
  const i = t?.properties, a = t?.arrayType ?? !1;
785
785
  let l = o;
786
- if (t && t.merge && l && r) l = t.merge(l, r, n);
786
+ if (t && t.merge && l && n) l = t.merge(l, n, r);
787
787
  else if (!a && i) {
788
- const u = Object.keys({ ...o, ...r });
788
+ const u = Object.keys({ ...o, ...n });
789
789
  l = null;
790
790
  const p = u.length;
791
791
  for (let w = 0; w < p; w++) {
@@ -793,8 +793,8 @@ var Je, He;
793
793
  let f, y = o[g];
794
794
  if (y !== void 0) {
795
795
  const x = i[g];
796
- f = x ? (0, He.resolveTypedUpdates)(y, x, n, r?.[g]) : y;
797
- } else f = r?.[g];
796
+ f = x ? (0, He.resolveTypedUpdates)(y, x, r, n?.[g]) : y;
797
+ } else f = n?.[g];
798
798
  f != null && (l = l ?? {}, l[g] = f);
799
799
  }
800
800
  }
@@ -811,10 +811,10 @@ Please use Chrome or Edge if external copy and paste is required.\`, Perms: ye,
811
811
  document.hasFocus() ? e() : globalThis.addEventListener?.("focus", () => {
812
812
  e();
813
813
  }, { once: !0 }), document.activeElement.focus?.();
814
- }), be = async (e, t, n) => {
815
- if (oe() === k.Safari) return await n(new Error(mt.Safari));
814
+ }), be = async (e, t, r) => {
815
+ if (oe() === k.Safari) return await r(new Error(mt.Safari));
816
816
  try {
817
- const r = async (a) => {
817
+ const n = async (a) => {
818
818
  try {
819
819
  return await a();
820
820
  } catch (l) {
@@ -823,9 +823,9 @@ Please use Chrome or Edge if external copy and paste is required.\`, Perms: ye,
823
823
  }
824
824
  }, o = await globalThis?.navigator?.permissions?.query({ name: e, allowWithoutGesture: !0, allowWithoutSanitization: !0 });
825
825
  let i = !1;
826
- if (o.state === "prompt" && (i = await r(t)), i || o.state !== "granted" || (i = await t()), !i) return await n(new Error(o.state));
827
- } catch (r) {
828
- return r.message === "No valid data on clipboard" || r.name === "DataError" ? void 0 : await n(r);
826
+ if (o.state === "prompt" && (i = await n(t)), i || o.state !== "granted" || (i = await t()), !i) return await r(new Error(o.state));
827
+ } catch (n) {
828
+ return n.message === "No valid data on clipboard" || n.name === "DataError" ? void 0 : await r(n);
829
829
  }
830
830
  }, wt = async (e) => {
831
831
  try {
@@ -835,21 +835,21 @@ Please use Chrome or Edge if external copy and paste is required.\`, Perms: ye,
835
835
  return await e.read();
836
836
  }, zt = async (e, t) => {
837
837
  if (!e) return null;
838
- const n = await wt(e);
839
- let r = !1;
840
- for (let o = 0; !r && n && o < n.length; o++) if (r = n[o].types.includes(t), r)
841
- return await n[o].getType(t);
842
- return r ? void 0 : null;
838
+ const r = await wt(e);
839
+ let n = !1;
840
+ for (let o = 0; !n && r && o < r.length; o++) if (n = r[o].types.includes(t), n)
841
+ return await r[o].getType(t);
842
+ return n ? void 0 : null;
843
843
  };
844
844
  if (!globalThis.ClipboardItem) {
845
- const e = (n, r) => new Blob([r], { type: n });
845
+ const e = (r, n) => new Blob([n], { type: r });
846
846
  class t {
847
- constructor(r, o) {
848
- this._items = {}, this._types = Object.keys(r);
849
- const i = {}, a = Object.keys(r);
847
+ constructor(n, o) {
848
+ this._items = {}, this._types = Object.keys(n);
849
+ const i = {}, a = Object.keys(n);
850
850
  for (let l = 0; l < a.length; l++) {
851
851
  const u = a[l];
852
- let p = r[u];
852
+ let p = n[u];
853
853
  i[u] = typeof p == "string" ? e(u, p) : p;
854
854
  }
855
855
  this._items = i, this._presentationStyle = o?.presentationStyle ?? "unspecified";
@@ -857,55 +857,55 @@ if (!globalThis.ClipboardItem) {
857
857
  get types() {
858
858
  return this._types;
859
859
  }
860
- getType(r) {
861
- return Promise.resolve(this._items[r]);
860
+ getType(n) {
861
+ return Promise.resolve(this._items[n]);
862
862
  }
863
- supports(r) {
863
+ supports(n) {
864
864
  return !0;
865
865
  }
866
866
  }
867
867
  globalThis.ClipboardItem = t;
868
868
  }
869
- const ve = async (e, t = S.html) => new Promise(async (n, r) => {
869
+ const ve = async (e, t = S.html) => new Promise(async (r, n) => {
870
870
  try {
871
871
  const o = await zt(e, t);
872
872
  if (o) {
873
873
  const i = new FileReader();
874
874
  i.onload = () => {
875
- n(i.result);
875
+ r(i.result);
876
876
  }, i.onerror = () => {
877
- n("");
877
+ r("");
878
878
  }, i.readAsText(o);
879
- } else n("");
879
+ } else r("");
880
880
  } catch (o) {
881
- r(o);
881
+ n(o);
882
882
  }
883
883
  }), Ze = async (e, t = S.html) => {
884
- const n = await ve(e, t);
885
- if (!n) return null;
886
- let r = null;
884
+ const r = await ve(e, t);
885
+ if (!r) return null;
886
+ let n = null;
887
887
  try {
888
- r = new DOMParser().parseFromString(n, S.html);
888
+ n = new DOMParser().parseFromString(r, S.html);
889
889
  } catch {
890
890
  console.warn("Can't parse html from clipboard.");
891
891
  }
892
- return r;
892
+ return n;
893
893
  }, Kt = async (e) => {
894
894
  e && await e.writeText("");
895
895
  }, ie = "clipboard-uuid", Q = "web text/uuid", Qe = (e) => \`<div style="display:none" \${ie}="\${e}"/>\`, Vt = (e, t) => {
896
- let n = null;
896
+ let r = null;
897
897
  try {
898
- const r = new DOMParser().parseFromString(t, S.html);
899
- r.body.firstElementChild.setAttribute(ie, e), n = r.getElementsByTagName("body")[0].innerHTML;
900
- } catch (r) {
901
- console.warn("Can't embed uuid.", r);
898
+ const n = new DOMParser().parseFromString(t, S.html);
899
+ n.body.firstElementChild.setAttribute(ie, e), r = n.getElementsByTagName("body")[0].innerHTML;
900
+ } catch (n) {
901
+ console.warn("Can't embed uuid.", n);
902
902
  }
903
- return n;
903
+ return r;
904
904
  }, et = (e, t) => {
905
905
  if (!t || !e) return !1;
906
906
  try {
907
- const n = t.querySelectorAll(\`[\${ie}="\${e}"]\`);
908
- if (n && n.length === 1) return !0;
907
+ const r = t.querySelectorAll(\`[\${ie}="\${e}"]\`);
908
+ if (r && r.length === 1) return !0;
909
909
  if (t.querySelector("parsererror")) throw new Error("We are unable to parse node");
910
910
  return !1;
911
911
  } catch {
@@ -927,8 +927,8 @@ class tt {
927
927
  await ge();
928
928
  const t = await ve(this._nativeClipboard, Q);
929
929
  if (!this._state || t && t === this._state.uuid) return !0;
930
- const n = await Ze(this._nativeClipboard, S.html);
931
- return !this._state || (et(this._state.uuid, n) || this.clear(), !0);
930
+ const r = await Ze(this._nativeClipboard, S.html);
931
+ return !this._state || (et(this._state.uuid, r) || this.clear(), !0);
932
932
  }, async (t) => {
933
933
  t?.message === "denied" || t.message?.includes("Document is not focused") || oe() === k.Safari || console.warn("Unable to detect clipboard changes: ", t);
934
934
  });
@@ -939,7 +939,7 @@ class tt {
939
939
  t._checkForChanges();
940
940
  }, this._onBlur = () => {
941
941
  globalThis.addEventListener?.("focus", t._onFocus, { once: !0 });
942
- }, globalThis.addEventListener?.("blur", this._onBlur), this._nativeClipboard.addEventListener("clipboardchange", (n) => {
942
+ }, globalThis.addEventListener?.("blur", this._onBlur), this._nativeClipboard.addEventListener("clipboardchange", (r) => {
943
943
  t._checkForChanges();
944
944
  }));
945
945
  }
@@ -948,13 +948,13 @@ class tt {
948
948
  const t = this;
949
949
  return await be("clipboard-read", async () => {
950
950
  if (await ge(), this._state?.uuid) {
951
- const n = await ve(this._nativeClipboard, Q);
952
- if (n && n === t._state.uuid) return !0;
953
- const r = await Ze(this._nativeClipboard, S.html);
954
- if (et(t._state?.uuid, r)) return !0;
951
+ const r = await ve(this._nativeClipboard, Q);
952
+ if (r && r === t._state.uuid) return !0;
953
+ const n = await Ze(this._nativeClipboard, S.html);
954
+ if (et(t._state?.uuid, n)) return !0;
955
955
  }
956
956
  return t._state = { items: await wt(this._nativeClipboard), uuid: null, ref: null }, this.dispatchEvent(new Event("clipboardread")), !0;
957
- }, async (n) => {
957
+ }, async (r) => {
958
958
  this.dispatchEvent(new Event("clipboarderrorread"));
959
959
  }), this._state?.items ?? [];
960
960
  }
@@ -963,10 +963,10 @@ class tt {
963
963
  }
964
964
  async _write(t) {
965
965
  if (!this._nativeClipboard) return this._state = t, this.dispatchEvent(new Event("clipboardwrite")), this.dispatchEvent(new Event("clipboardchange")), null;
966
- const n = this, r = [], o = t.uuid;
966
+ const r = this, n = [], o = t.uuid;
967
967
  let i = t.items ?? [];
968
968
  const a = () => {
969
- n._state = { uuid: o, ref: t.ref, items: r }, n.dispatchEvent(new Event("clipboardwrite")), n.dispatchEvent(new Event("clipboardchange"));
969
+ r._state = { uuid: o, ref: t.ref, items: n }, r.dispatchEvent(new Event("clipboardwrite")), r.dispatchEvent(new Event("clipboardchange"));
970
970
  };
971
971
  await be("clipboard-write", async () => {
972
972
  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 }) })));
@@ -994,10 +994,10 @@ class tt {
994
994
  const x = u.types[y];
995
995
  f[x] = y === p ? g : u.getType(x);
996
996
  }
997
- w && p === -1 && (f[S.html] = g), o && (f[Q] = new Blob([o], { type: Q })), r.push(new ClipboardItem(f));
997
+ w && p === -1 && (f[S.html] = g), o && (f[Q] = new Blob([o], { type: Q })), n.push(new ClipboardItem(f));
998
998
  }
999
999
  try {
1000
- r && r.length !== 0 ? await this._nativeClipboard.write(r) : await Kt(this._nativeClipboard);
1000
+ n && n.length !== 0 ? await this._nativeClipboard.write(n) : await Kt(this._nativeClipboard);
1001
1001
  } catch (l) {
1002
1002
  l.message?.includes("Document is not focused") || console.warn("Unable to write to native clipboard: ", l);
1003
1003
  }
@@ -1008,28 +1008,28 @@ class tt {
1008
1008
  }
1009
1009
  async writeReference(t) {
1010
1010
  if (!t) return void this.clear();
1011
- let n = null;
1012
- const r = {};
1011
+ let r = null;
1012
+ const n = {};
1013
1013
  try {
1014
1014
  const i = await t.toText?.() ?? null;
1015
- i && (r[S.plain] = new Blob([i ?? ""], { type: S.plain }));
1015
+ i && (n[S.plain] = new Blob([i ?? ""], { type: S.plain }));
1016
1016
  } catch (i) {
1017
- n = i;
1017
+ r = i;
1018
1018
  }
1019
1019
  try {
1020
1020
  const i = await t.toHtml?.() ?? null;
1021
- i && (r[S.html] = new Blob([i], { type: S.html }));
1021
+ i && (n[S.html] = new Blob([i], { type: S.html }));
1022
1022
  } catch (i) {
1023
- n = i, console.warn("export to html", i);
1023
+ r = i, console.warn("export to html", i);
1024
1024
  }
1025
1025
  try {
1026
1026
  const i = await t.toImage?.() ?? null;
1027
- i && (r[S.png] = i);
1027
+ i && (n[S.png] = i);
1028
1028
  } catch (i) {
1029
- n = i, console.warn("export to png", i);
1029
+ r = i, console.warn("export to png", i);
1030
1030
  }
1031
- const o = this._write({ uuid: de(), ref: t, items: Object.keys(r).length > 0 ? [new ClipboardItem(r)] : null });
1032
- if (n) throw n;
1031
+ const o = this._write({ uuid: de(), ref: t, items: Object.keys(n).length > 0 ? [new ClipboardItem(n)] : null });
1032
+ if (r) throw r;
1033
1033
  return o;
1034
1034
  }
1035
1035
  clear(t = !1) {
@@ -1039,32 +1039,32 @@ class tt {
1039
1039
  return await this.read(), this._state?.ref ?? null;
1040
1040
  }
1041
1041
  readText() {
1042
- return new Promise(async (t, n) => {
1043
- const r = await this.read();
1042
+ return new Promise(async (t, r) => {
1043
+ const n = await this.read();
1044
1044
  let o = null;
1045
- for (let a = 0; !o && r && a < r.length; a++) r[a].types.includes(S.plain) && (o = await r[a].getType(S.plain));
1045
+ for (let a = 0; !o && n && a < n.length; a++) n[a].types.includes(S.plain) && (o = await n[a].getType(S.plain));
1046
1046
  if (!o) return void t("");
1047
1047
  const i = new FileReader();
1048
1048
  i.onload = () => {
1049
1049
  t(i.result);
1050
1050
  }, i.readAsText(o), i.onerror = (a) => {
1051
- n(a);
1051
+ r(a);
1052
1052
  };
1053
1053
  });
1054
1054
  }
1055
1055
  async writeText(t) {
1056
- const n = [new ClipboardItem({ [S.plain]: new Blob([t], { type: S.plain }) })];
1057
- return this._write({ uuid: de(), items: n, ref: null });
1056
+ const r = [new ClipboardItem({ [S.plain]: new Blob([t], { type: S.plain }) })];
1057
+ return this._write({ uuid: de(), items: r, ref: null });
1058
1058
  }
1059
- addEventListener(t, n, r = {}) {
1060
- const o = r?.capture ? this._listenersCapture : this._listeners;
1059
+ addEventListener(t, r, n = {}) {
1060
+ const o = n?.capture ? this._listenersCapture : this._listeners;
1061
1061
  let i = o.get(t);
1062
- i || (i = /* @__PURE__ */ new Map(), o.set(t, i)), i.set(n, typeof r == "boolean" ? {} : r);
1062
+ i || (i = /* @__PURE__ */ new Map(), o.set(t, i)), i.set(r, typeof n == "boolean" ? {} : n);
1063
1063
  }
1064
1064
  dispatchEvent(t) {
1065
1065
  if (!t) return;
1066
- const n = (r) => {
1067
- const o = r.get(t.type);
1066
+ const r = (n) => {
1067
+ const o = n.get(t.type);
1068
1068
  o && o.forEach((i, a) => {
1069
1069
  try {
1070
1070
  typeof a == "function" ? a(t) : a.handleEvent && a.handleEvent(t), i.once && o.delete(a);
@@ -1073,11 +1073,11 @@ class tt {
1073
1073
  }
1074
1074
  });
1075
1075
  };
1076
- return n(this._listenersCapture), n(this._listeners), !0;
1076
+ return r(this._listenersCapture), r(this._listeners), !0;
1077
1077
  }
1078
- removeEventListener(t, n, r) {
1079
- const o = r?.capture ? this._listenersCapture : this._listeners, i = o.get(t);
1080
- i && (i.delete(n), i.size === 0 && o.delete(t));
1078
+ removeEventListener(t, r, n) {
1079
+ const o = n?.capture ? this._listenersCapture : this._listeners, i = o.get(t);
1080
+ i && (i.delete(r), i.size === 0 && o.delete(t));
1081
1081
  }
1082
1082
  close() {
1083
1083
  globalThis.removeEventListener?.("focus", this._onFocus), globalThis.removeEventListener?.("blur", this._onBlur);
@@ -1096,16 +1096,16 @@ async function Gt() {
1096
1096
  return ee;
1097
1097
  }
1098
1098
  let e, t;
1099
- le = new Promise((n, r) => {
1100
- e = n, t = r;
1099
+ le = new Promise((r, n) => {
1100
+ e = r, t = n;
1101
1101
  });
1102
1102
  try {
1103
- const { initialize: n } = await Promise.resolve().then(function() {
1104
- return on;
1103
+ const { initialize: r } = await Promise.resolve().then(function() {
1104
+ return or;
1105
1105
  });
1106
- return ee = await n(), e(), ee;
1107
- } catch (n) {
1108
- throw console.error("Failed to import or initialize esbuild:", n), le = null, t(n), n;
1106
+ return ee = await r(), e(), ee;
1107
+ } catch (r) {
1108
+ throw console.error("Failed to import or initialize esbuild:", r), le = null, t(r), r;
1109
1109
  }
1110
1110
  }
1111
1111
  const Wt = {
@@ -1114,21 +1114,21 @@ const Wt = {
1114
1114
  target: "esnext"
1115
1115
  }
1116
1116
  };
1117
- async function Yt(e, t, n = "/script.js", r = qt) {
1117
+ async function Yt(e, t, r = "/script.js", n = qt) {
1118
1118
  try {
1119
1119
  const o = await Gt(), i = "@sheetxl/primitives", a = \`
1120
- export const FormulaContext = globalThis.\${r}?.FormulaContext;
1121
- export const ScalarType = globalThis.\${r}?.ScalarType;
1122
- export const Observable = globalThis.\${r}?.Observable;
1123
- export const IRange = globalThis.\${r}?.IRange;
1124
- export const FormulaError = globalThis.\${r}?.FormulaError;
1120
+ export const FormulaContext = globalThis.\${n}?.FormulaContext;
1121
+ export const ScalarType = globalThis.\${n}?.ScalarType;
1122
+ export const Observable = globalThis.\${n}?.Observable;
1123
+ export const IRange = globalThis.\${n}?.IRange;
1124
+ export const FormulaError = globalThis.\${n}?.FormulaError;
1125
1125
  // Add more exports as needed
1126
1126
  \`, l = {
1127
1127
  // ESBuild.Plugin = {
1128
1128
  name: "sheetxl-esbuild-in-memory",
1129
1129
  setup(p) {
1130
1130
  const w = "sheetxl-" + (/* @__PURE__ */ new Date()).getTime();
1131
- p.onResolve({ filter: new RegExp(\`^(\${n.replace("/", "\\\\/")}|\${i})$\`) }, (g) => ({
1131
+ p.onResolve({ filter: new RegExp(\`^(\${r.replace("/", "\\\\/")}|\${i})$\`) }, (g) => ({
1132
1132
  path: g.path,
1133
1133
  namespace: w
1134
1134
  })), p.onResolve({ filter: /.*/ }, (g) => {
@@ -1136,7 +1136,7 @@ async function Yt(e, t, n = "/script.js", r = qt) {
1136
1136
  return console.warn(\`esbuild: Treating import "\${g.path}" as external.\`), { path: g.path, external: !0 };
1137
1137
  }), p.onLoad({ filter: /.*/, namespace: w }, (g) => {
1138
1138
  let f;
1139
- if (g.path === n)
1139
+ if (g.path === r)
1140
1140
  f = t;
1141
1141
  else if (g.path === i)
1142
1142
  f = a;
@@ -1152,7 +1152,7 @@ async function Yt(e, t, n = "/script.js", r = qt) {
1152
1152
  });
1153
1153
  }
1154
1154
  }, u = await o.build({
1155
- entryPoints: [n],
1155
+ entryPoints: [r],
1156
1156
  // Use the virtual entry point
1157
1157
  bundle: !0,
1158
1158
  // IMPORTANT: Enable bundling
@@ -1209,9 +1209,9 @@ interface Promise<T> {
1209
1209
  ["ICellRange", "range"],
1210
1210
  ["IFormulaContext", "context"]
1211
1211
  ]), _e = (e, t) => {
1212
- Array.from(t.keys()).forEach((r) => {
1213
- const o = t.get(r);
1214
- t.set(\`\${e}.\${r}\`, o);
1212
+ Array.from(t.keys()).forEach((n) => {
1213
+ const o = t.get(n);
1214
+ t.set(\`\${e}.\${n}\`, o);
1215
1215
  });
1216
1216
  }, Zt = /* @__PURE__ */ new Map([
1217
1217
  ["Scalar", "*"],
@@ -1224,7 +1224,7 @@ interface Promise<T> {
1224
1224
  _e(Oe, yt);
1225
1225
  _e(Oe, gt);
1226
1226
  _e(Oe, Qt);
1227
- const en = /* @__PURE__ */ new Map([
1227
+ const er = /* @__PURE__ */ new Map([
1228
1228
  ["Promise", () => ({ async: !0 })],
1229
1229
  // ['PromiseLike', (): Partial<IFunction.ReturnTypeJSON> => {
1230
1230
  // return { async: true };
@@ -1232,12 +1232,12 @@ const en = /* @__PURE__ */ new Map([
1232
1232
  ["Observable", () => ({ stream: !0 })]
1233
1233
  ]);
1234
1234
  let se = null;
1235
- async function tn() {
1235
+ async function tr() {
1236
1236
  if (se)
1237
1237
  return se;
1238
1238
  try {
1239
1239
  return await (await Promise.resolve().then(function() {
1240
- return ln;
1240
+ return ar;
1241
1241
  })).initialize();
1242
1242
  } catch (e) {
1243
1243
  throw se = null, e;
@@ -1245,14 +1245,14 @@ async function tn() {
1245
1245
  se = null;
1246
1246
  }
1247
1247
  }
1248
- async function nn(e) {
1248
+ async function rr(e) {
1249
1249
  const t = e?.source ?? null;
1250
1250
  if (!t) return null;
1251
- const n = (e.disableBundle || e.declarationsOnly) ?? !1, r = [
1251
+ const r = (e.disableBundle || e.declarationsOnly) ?? !1, n = [
1252
1252
  Xt(),
1253
1253
  //import('typescript'), // when bundled, but node check causes issues. We could bundle replace isNode but felt hacky
1254
- tn()
1255
- ], o = await Promise.all(r), i = o[0], a = o[1];
1254
+ tr()
1255
+ ], o = await Promise.all(n), i = o[0], a = o[1];
1256
1256
  let l = "", u = null;
1257
1257
  const p = [], w = {
1258
1258
  allowJs: !0,
@@ -1329,7 +1329,7 @@ async function nn(e) {
1329
1329
  if (R)
1330
1330
  return R;
1331
1331
  } else {
1332
- const R = en.get(M);
1332
+ const R = er.get(M);
1333
1333
  if (R) {
1334
1334
  const b = { ...m, ...R() };
1335
1335
  let N = 0;
@@ -1476,7 +1476,7 @@ async function nn(e) {
1476
1476
  throw new Error("No exported functions.");
1477
1477
  const bt = \`\${$t.uuidV4()}-script\`;
1478
1478
  try {
1479
- !n && B.length === 0 && (l = await Yt(a, l, g));
1479
+ !r && B.length === 0 && (l = await Yt(a, l, g));
1480
1480
  } catch {
1481
1481
  console.warn("Error bundling script");
1482
1482
  }
@@ -1492,30 +1492,30 @@ async function nn(e) {
1492
1492
  return u && (Ie.autoRun = u), Ie;
1493
1493
  }
1494
1494
  self.addEventListener("message", async (e) => {
1495
- const { id: t, params: n } = e.data;
1495
+ const { id: t, params: r } = e.data;
1496
1496
  try {
1497
- const r = await nn(n);
1498
- self.postMessage({ id: t, result: r, error: null });
1499
- } catch (r) {
1497
+ const n = await rr(r);
1498
+ self.postMessage({ id: t, result: n, error: null });
1499
+ } catch (n) {
1500
1500
  self.postMessage({
1501
1501
  id: t,
1502
1502
  result: null,
1503
1503
  error: {
1504
- message: r.message,
1505
- stack: r.stack,
1506
- cause: r.cause
1504
+ message: n.message,
1505
+ stack: n.stack,
1506
+ cause: n.cause
1507
1507
  }
1508
1508
  });
1509
1509
  }
1510
1510
  });
1511
1511
  let ce = null;
1512
- async function rn() {
1512
+ async function nr() {
1513
1513
  return ce || (ce = new Promise(async (e, t) => {
1514
1514
  try {
1515
- const n = "0.20.2", r = \`https://esm.sh/esbuild-wasm@\${n}\`, o = \`https://esm.sh/esbuild-wasm@\${n}/esbuild.wasm\`, a = (await import(
1515
+ const r = "0.20.2", n = \`https://esm.sh/esbuild-wasm@\${r}\`, o = \`https://esm.sh/esbuild-wasm@\${r}/esbuild.wasm\`, a = (await import(
1516
1516
  /* webpackIgnore: true */
1517
1517
  /* @vite-ignore */
1518
- r
1518
+ n
1519
1519
  )).default;
1520
1520
  await a.initialize({
1521
1521
  wasmURL: o,
@@ -1523,30 +1523,30 @@ async function rn() {
1523
1523
  worker: !1
1524
1524
  // Keep processing on the current thread
1525
1525
  }), e(a);
1526
- } catch (n) {
1527
- console.error("Error initializing esbuild:", n), t(n);
1526
+ } catch (r) {
1527
+ console.error("Error initializing esbuild:", r), t(r);
1528
1528
  }
1529
1529
  }), ce);
1530
1530
  }
1531
- var on = /* @__PURE__ */ Object.freeze({
1531
+ var or = /* @__PURE__ */ Object.freeze({
1532
1532
  __proto__: null,
1533
- initialize: rn
1533
+ initialize: nr
1534
1534
  });
1535
1535
  let ue = null;
1536
- async function an() {
1536
+ async function ir() {
1537
1537
  return ue || (ue = new Promise(async (e, t) => {
1538
- let n = null;
1538
+ let r = null;
1539
1539
  try {
1540
- n = await import("https://esm.sh/typescript@5.7.2");
1541
- } catch (r) {
1542
- console.error("Error initializing Browser TypeScript module:", r);
1540
+ r = await import("https://esm.sh/typescript@5.7.2");
1541
+ } catch (n) {
1542
+ console.error("Error initializing Browser TypeScript module:", n);
1543
1543
  }
1544
- n || console.log("use script fallback"), e(n);
1544
+ r || console.log("use script fallback"), e(r);
1545
1545
  }), ue);
1546
1546
  }
1547
- var ln = /* @__PURE__ */ Object.freeze({
1547
+ var ar = /* @__PURE__ */ Object.freeze({
1548
1548
  __proto__: null,
1549
- initialize: an
1549
+ initialize: ir
1550
1550
  });
1551
1551
  `, a = typeof self < "u" && self.Blob && new Blob(["URL.revokeObjectURL(import.meta.url);", s], { type: "text/javascript;charset=utf-8" });
1552
1552
  function d(e) {
@@ -1574,7 +1574,7 @@ async function p() {
1574
1574
  return await l();
1575
1575
  }
1576
1576
  const l = async () => {
1577
- const { compileModule: e } = await import("./Cpv_VJfcd0lQgsd2.mjs"), n = new u((t) => e(t));
1577
+ const { compileModule: e } = await import("./CHOlVNulci003tpR.mjs"), n = new u((t) => e(t));
1578
1578
  return await n.start(), n;
1579
1579
  };
1580
1580
  export {