@sheetxl/studio-vanilla 0.4.13 → 0.4.15

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 (313) hide show
  1. package/README.md +2 -2
  2. package/browser/cjs/0wJgZUT7DgId9Xtu.cjs +11 -0
  3. package/browser/cjs/3oobHi8j_DGW35rC.cjs +124 -0
  4. package/browser/cjs/6DwFSFOve5d5Kh4O.cjs +6 -0
  5. package/browser/cjs/ArJueN3Q9EFBG6tK.cjs +6 -0
  6. package/browser/cjs/BFZbsyTO3uhLJbLO.cjs +6 -0
  7. package/browser/cjs/BG0zKZBHarIk0gKB.cjs +145 -0
  8. package/browser/cjs/BH_qrKPpuqL9YxGP.cjs +15 -0
  9. package/browser/cjs/BJu8UGaYuFmjvmwl.cjs +6 -0
  10. package/browser/cjs/BKIvZi8Z5lHc2S32.cjs +7 -0
  11. package/browser/cjs/BSJTx60VBwf450vd.cjs +6 -0
  12. package/browser/cjs/BUWv6Ysw6pYG7w7W.cjs +7 -0
  13. package/browser/cjs/BVHaNjM0-FXL7gyh.cjs +6 -0
  14. package/browser/cjs/BcHEeTMPgurSZ2Kh.cjs +6 -0
  15. package/browser/cjs/BdnGDChdub9m1gbK.cjs +6 -0
  16. package/browser/cjs/Bf0HoYuEDFO9Gwdv.cjs +12 -0
  17. package/browser/cjs/BgHBftj6ugXjpyaF.cjs +6 -0
  18. package/browser/cjs/BgsgGbpzcl7wg2IO.cjs +6 -0
  19. package/browser/cjs/BsCdHkza2KUgNs3F.cjs +6 -0
  20. package/browser/cjs/BzRfETjQwEEJfpgZ.cjs +6 -0
  21. package/browser/cjs/BzhfyRZdk-oiyEa3.cjs +6 -0
  22. package/browser/cjs/C8BQmea-gRcTEaYH.cjs +6 -0
  23. package/browser/cjs/CA0OjW0AOuGEjxZ2.cjs +6 -0
  24. package/browser/cjs/CRe-vd2WZQabNDDS.cjs +6 -0
  25. package/browser/cjs/CRe8klqBNVDkSDEr.cjs +13 -0
  26. package/browser/cjs/CXn4J7ISlTV_SfvZ.cjs +6 -0
  27. package/browser/cjs/Ck8K0c7E5RT8WMbO.cjs +15 -0
  28. package/browser/cjs/ClXfvzbTzK5w-Tv9.cjs +6 -0
  29. package/browser/cjs/CnDLmICwEpdeYECg.cjs +32 -0
  30. package/browser/cjs/CqILFqDohV7CdFQ1.cjs +6 -0
  31. package/browser/cjs/CqugZolY4J8viegd.cjs +6 -0
  32. package/browser/cjs/CrnvoFSZfgmBlK86.cjs +42 -0
  33. package/browser/cjs/Ct0fgg-1dB-T7u7T.cjs +161 -0
  34. package/browser/cjs/CtLA5mrQxGamDt92.cjs +6 -0
  35. package/browser/cjs/D4582BA0aCqJ_PrJ.cjs +6 -0
  36. package/browser/cjs/D74hXHJrfnGhbNBg.cjs +6 -0
  37. package/browser/cjs/DAGEOiTL4sCagK3p.cjs +6 -0
  38. package/browser/cjs/DAxpZHSeQ9vUP1m6.cjs +14 -0
  39. package/browser/cjs/DDbNLc2mUv7Q6msK.cjs +11 -0
  40. package/browser/cjs/DWh6QtlFsPfZ3Asz.cjs +1501 -0
  41. package/browser/cjs/DY1iEDz8BWZpqFOo.cjs +16 -0
  42. package/browser/cjs/D_RVszeEK0DfF-EN.cjs +6 -0
  43. package/browser/cjs/Dg9yKaBrYK9w4cQO.cjs +19 -0
  44. package/browser/cjs/DgFtbCf8dkncAq_r.cjs +6 -0
  45. package/browser/cjs/DotFGD_QKvqoQlAL.cjs +6 -0
  46. package/browser/cjs/DrRRwzZUlGvA6cQT.cjs +6 -0
  47. package/browser/cjs/DtQ-sP4vg1IpzFkc.cjs +6 -0
  48. package/browser/cjs/EIY0bt22HqBjrvRt.cjs +6 -0
  49. package/browser/cjs/TAIJH4y6CbXhFnhx.cjs +364 -0
  50. package/browser/cjs/YTXgMiobveLIPF9T.cjs +6 -0
  51. package/browser/cjs/_OSzgfBNK1m22Jek.cjs +6 -0
  52. package/browser/cjs/fjQ9vPUSGRU1VSoH.cjs +6 -0
  53. package/browser/cjs/gI7uI_k_jVDAtJup.cjs +6 -0
  54. package/browser/cjs/index.cjs +3 -4
  55. package/browser/cjs/mW3Ya0GEjpmsa_YK.cjs +6 -0
  56. package/browser/cjs/qB-lxZgY2Iz9Bc6T.cjs +7 -0
  57. package/browser/cjs/sXSha5rBK3lo_tOD.cjs +6 -0
  58. package/browser/cjs/uryrVY1PPsKlOzso.cjs +6 -0
  59. package/browser/cjs/vce4VfmWFd9ClUSo.cjs +6 -0
  60. package/{cdn/assets/KDGtuIzSpkf1vsmH.js → browser/esm/5RdhqzgwkuR2ox0E.mjs} +1 -1
  61. package/{cdn/assets/B1Iys8a964LGNZKf.js → browser/esm/B9vAqNVLp_vCTrP_.mjs} +1 -1
  62. package/{cdn/assets/CsorxCiOoe7qX9j1.js → browser/esm/BFYBuTXa6xa5ZjBo.mjs} +1 -1
  63. package/{cdn/assets/B2RAJJJFkcaWUfUW.js → browser/esm/BNuTKa0cEC3F4rTF.mjs} +1 -1
  64. package/{cdn/assets/C4vStn7wNlvrxdsp.js → browser/esm/BPDWQKVFxO_3IqZX.mjs} +1 -1
  65. package/{cdn/assets/BMiA9p1uOrwnooVT.js → browser/esm/BUAQRxezxaeHUbwe.mjs} +1 -1
  66. package/{cdn/assets/CT0d1P-Aav62lUvV.js → browser/esm/BXhoPHXmFqGJhEOT.mjs} +1 -1
  67. package/browser/esm/B_JJ8lAbaPdlt8l4.mjs +29 -0
  68. package/{cdn/assets/F6zW9Vj410C4yRVG.js → browser/esm/B_YrH7VnXiUkYu8u.mjs} +167 -166
  69. package/browser/esm/Beqd_eZheAqcy9eR.mjs +49911 -0
  70. package/{cdn/assets/BL6TUDSeou6wPejW.js → browser/esm/Bh6dC8KTHWpKMi09.mjs} +1 -1
  71. package/browser/esm/BmkIbFYjQZnaZGzF.mjs +13208 -0
  72. package/{cdn/assets/CrLrvmlJhYpNpXqR.js → browser/esm/Bp2dkgUm5zsuNnPH.mjs} +1 -1
  73. package/{cdn/assets/DD3csu4pddGtMp3n.js → browser/esm/Bpujg7eS-yYzfXnQ.mjs} +537 -539
  74. package/{cdn/assets/D-5VYBO5_VEh6fEW.js → browser/esm/BqmualWSYd-czqNW.mjs} +1 -1
  75. package/{cdn/assets/5XdpCWQ6AcxZ6oY1.js → browser/esm/Bt1LjWrzTz3VQP5i.mjs} +1 -1
  76. package/{cdn/assets/CKA4s2hlzSnrdWSD.js → browser/esm/BwEUAuMX1MAp6TLB.mjs} +1 -1
  77. package/browser/esm/BxForeOFuQExxhBo.mjs +3755 -0
  78. package/{cdn/assets/BDE7FUo2oiivrvBL.js → browser/esm/C0KLnjyGhfqKP-3J.mjs} +16 -18
  79. package/{cdn/assets/C-Z8wvIy20kJ7R-k.js → browser/esm/C2DVh9PCXymQ6Bku.mjs} +1 -1
  80. package/{cdn/assets/DHydjLSnijEgtpyU.js → browser/esm/C5Vhk6RekNjP_kzl.mjs} +1 -1
  81. package/{cdn/assets/DXHirQMr483hJBil.js → browser/esm/CMgjnCC7huqsMZ7l.mjs} +12 -14
  82. package/{cdn/assets/BwpBFv8Ks2ka07ch.js → browser/esm/CQMGhCDKbq2op_BI.mjs} +1 -1
  83. package/browser/esm/CQoo-4sVCrOfP9iU.mjs +1365 -0
  84. package/browser/esm/CSSayGD6fTeehKt_.mjs +1575 -0
  85. package/browser/esm/CTEiaS8NJUMozWzX.mjs +6800 -0
  86. package/{cdn/assets/DXtbonLk2ESfF4Dh.js → browser/esm/CWSZwGuenxmHgLXd.mjs} +1 -1
  87. package/{cdn/assets/DvFNLgeMJ9LdQROu.js → browser/esm/Cb1Q2phpEESgs7mi.mjs} +26 -28
  88. package/browser/esm/CeDuz_yZT4XG-Pv8.mjs +47 -0
  89. package/browser/esm/CfMo1fAExeFOibAQ.mjs +39 -0
  90. package/{cdn/assets/f3_QXO8z0p-q4nJo.js → browser/esm/ClLJBQr4mG8VGyC3.mjs} +12 -12
  91. package/{cdn/assets/BUwNyHytF9St68tJ.js → browser/esm/CnwSRSKNfq2GyXas.mjs} +1 -1
  92. package/browser/esm/CqRDFmwJualsG-hJ.mjs +1346 -0
  93. package/{cdn/assets/BxblmHGC7YxZcuak.js → browser/esm/CslDdQ92RlF9XCcF.mjs} +1 -1
  94. package/{cdn/assets/BBJxLS-wB_nXRnI2.js → browser/esm/CvTxaj5stKRFGegY.mjs} +1 -1
  95. package/browser/esm/D14VyfRK6-WOMJJO.mjs +1665 -0
  96. package/browser/esm/D9ftd36uosOvK1Bz.mjs +44 -0
  97. package/browser/esm/DAM-CuXQIzcQS8y2.mjs +820 -0
  98. package/browser/esm/DQiTAq0r1q5Z_7H6.mjs +84 -0
  99. package/browser/esm/DRoKqCpNKKdYKqZ3.mjs +3937 -0
  100. package/browser/esm/DSBeC26EhsTkKu9_.mjs +1702 -0
  101. package/{cdn/assets/N3pWBoccPrTedAw-.js → browser/esm/DT0kcrmyi0GrASFM.mjs} +1 -1
  102. package/{cdn/assets/CuNqTH3P8mCglRiz.js → browser/esm/DVAgkqy1aZdEMIzM.mjs} +1 -1
  103. package/browser/esm/DVqoG8OFm93ndK8u.mjs +21 -0
  104. package/browser/esm/DdcqO--nszyX8nqj.mjs +20 -0
  105. package/{cdn/assets/9-cIcj6CRJx5HTn9.js → browser/esm/DmSh4h3LBSgZNzzF.mjs} +1 -1
  106. package/{cdn/assets/C3EFzvmp0DcC_HAx.js → browser/esm/Do7w66ZbyFAW-Kvo.mjs} +1 -1
  107. package/{cdn/assets/BciokME96sykArSM.js → browser/esm/DrVjmz0t2Y2eHDvu.mjs} +1 -1
  108. package/{cdn/assets/2mxiQm6dELsqQoX7.js → browser/esm/Dre4qd4kiDqAnEpH.mjs} +1370 -1412
  109. package/browser/esm/DxOr3qEZVibn2HK7.mjs +421 -0
  110. package/{cdn/assets/C5q0qaKi2eeDgoO8.js → browser/esm/IWZ_bebXCJeQz19V.mjs} +1 -1
  111. package/{cdn/assets/XysyS9rk9tFdbzZh.js → browser/esm/YEeWnRTVhFsSnEoO.mjs} +501 -510
  112. package/browser/esm/ZciEgxXQYsHyV2gO.mjs +633 -0
  113. package/{cdn/assets/DFHruAftzuzBZ71r.js → browser/esm/azuJCFiVoU4Ebb9P.mjs} +65 -68
  114. package/browser/esm/iXnpVI-bOFX7L6z-.mjs +2344 -0
  115. package/browser/esm/index.mjs +6 -2
  116. package/browser/esm/n6RMMH6ZZaYET-uv.mjs +48 -0
  117. package/browser/esm/u8MA5qQcSH-VSLrB.mjs +472 -0
  118. package/cdn/assets/5RdhqzgwkuR2ox0E.js +10 -0
  119. package/cdn/assets/B9vAqNVLp_vCTrP_.js +10 -0
  120. package/cdn/assets/BAARsakyOFrwNKVu.js +1466 -0
  121. package/cdn/assets/BCMTnGKJGZCOn8RP.js +84 -0
  122. package/cdn/assets/BFYBuTXa6xa5ZjBo.js +10 -0
  123. package/cdn/assets/BNuTKa0cEC3F4rTF.js +21 -0
  124. package/cdn/assets/BPDWQKVFxO_3IqZX.js +10 -0
  125. package/cdn/assets/BUAQRxezxaeHUbwe.js +10 -0
  126. package/cdn/assets/BXhoPHXmFqGJhEOT.js +10 -0
  127. package/cdn/assets/Bh6dC8KTHWpKMi09.js +10 -0
  128. package/cdn/assets/BmkIbFYjQZnaZGzF.js +13208 -0
  129. package/cdn/assets/Bp2dkgUm5zsuNnPH.js +10 -0
  130. package/cdn/assets/BqmualWSYd-czqNW.js +24 -0
  131. package/cdn/assets/BsNGXIjB2gB75oDq.js +46 -0
  132. package/cdn/assets/Bt1LjWrzTz3VQP5i.js +10 -0
  133. package/cdn/assets/BwEUAuMX1MAp6TLB.js +10 -0
  134. package/cdn/assets/{0j_nQmV1Bb0lJ6sB.js → ByGApkjEdqWJCmIL.js} +4 -4
  135. package/cdn/assets/C2DVh9PCXymQ6Bku.js +10 -0
  136. package/cdn/assets/C4PvQzHOWYFQIrTT.js +22 -0
  137. package/cdn/assets/{quOP5QFyTT9soNIl.js → C5Vhk6RekNjP_kzl.js} +3 -5
  138. package/cdn/assets/{Xwyp21e7L5fTeb_y.js → C82_3AL3p2OPqUES.js} +186 -184
  139. package/cdn/assets/C8ZVHIXuFCsMz4su.js +3756 -0
  140. package/cdn/assets/CP0YRrUyk_DwRGye.js +46 -0
  141. package/cdn/assets/CQMGhCDKbq2op_BI.js +10 -0
  142. package/cdn/assets/CQ_eXYB8jRiWFzL8.js +149 -0
  143. package/cdn/assets/CQoo-4sVCrOfP9iU.js +1365 -0
  144. package/cdn/assets/CVtFEjbMohoQQwVa.js +2346 -0
  145. package/cdn/assets/CWSZwGuenxmHgLXd.js +10 -0
  146. package/cdn/assets/{BgnlshX157Ob6RLs.js → ChzKnwtP8tCXlyQC.js} +5 -5
  147. package/cdn/assets/ClwsvKMIARY6eKe8.js +43 -0
  148. package/cdn/assets/CnwSRSKNfq2GyXas.js +10 -0
  149. package/cdn/assets/CqRDFmwJualsG-hJ.js +1346 -0
  150. package/cdn/assets/CsV6TK9KYwaT40Nd.js +2177 -0
  151. package/cdn/assets/CslDdQ92RlF9XCcF.js +10 -0
  152. package/cdn/assets/CvTxaj5stKRFGegY.js +10 -0
  153. package/cdn/assets/{C9eQW5GKgPRmKKgJ.js → CxPN10OK3cql47vK.js} +2 -2
  154. package/cdn/assets/D14VyfRK6-WOMJJO.js +1665 -0
  155. package/cdn/assets/D3wy0hvPKjYlTqDZ.js +390 -0
  156. package/cdn/assets/D4UoNdvz3kZD9Fg7.js +3937 -0
  157. package/cdn/assets/{Gz4u4ewyWfB-Pf-a.js → D8Eij5qtEH8tI7eL.js} +4 -5
  158. package/cdn/assets/DPpga_z_sz7WeoGk.js +49739 -0
  159. package/{browser/esm/CVeyOpbAhaBhDRye.mjs → cdn/assets/DT0kcrmyi0GrASFM.js} +7 -2
  160. package/cdn/assets/{DPQqTIMsRLhMxPIy.js → DTlKjG3w2RgTejVm.js} +2 -2
  161. package/cdn/assets/DVAgkqy1aZdEMIzM.js +10 -0
  162. package/cdn/assets/DmSh4h3LBSgZNzzF.js +10 -0
  163. package/cdn/assets/DmTmS8Vw_AvNiuzU.js +50 -0
  164. package/cdn/assets/Do7w66ZbyFAW-Kvo.js +10 -0
  165. package/cdn/assets/DoiUKE9bzdCohsIn.js +58 -0
  166. package/cdn/assets/{6JtXguBKwGj6dqfy.js → DrKm9mDEvFK0tW1J.js} +385 -387
  167. package/cdn/assets/DrVjmz0t2Y2eHDvu.js +10 -0
  168. package/cdn/assets/DxOr3qEZVibn2HK7.js +421 -0
  169. package/cdn/assets/IWZ_bebXCJeQz19V.js +10 -0
  170. package/cdn/assets/NPHYIK_SYI8TgWVt.js +23 -0
  171. package/cdn/assets/ZciEgxXQYsHyV2gO.js +633 -0
  172. package/cdn/assets/bGhAFgohHm88dsqJ.js +41 -0
  173. package/cdn/assets/clveP5QdWgiuzHNH.js +5582 -0
  174. package/cdn/assets/sMpbLhp97YEbNwUD.js +49 -0
  175. package/cdn/index.js +73 -73
  176. package/cdn/loader.js +1 -1
  177. package/package.json +3 -3
  178. package/types/index.d.ts +1 -0
  179. package/browser/cjs/-DkdmW3XP1ICRY25.cjs +0 -7
  180. package/browser/cjs/B-KQs1Bf48nEucW7.cjs +0 -7
  181. package/browser/cjs/B1xnY7pDnbnNzknG.cjs +0 -7
  182. package/browser/cjs/B6A5w_aWHkigBc6j.cjs +0 -7
  183. package/browser/cjs/B9jxuOg1CXcmbi9J.cjs +0 -110
  184. package/browser/cjs/BAYjkr4LmsWRLoPr.cjs +0 -7
  185. package/browser/cjs/BG2uV2RpxrfZyCuV.cjs +0 -7
  186. package/browser/cjs/BGCPG4Ip5ZijUQwi.cjs +0 -7
  187. package/browser/cjs/BHTlBOQH-tPGoKgo.cjs +0 -7
  188. package/browser/cjs/BLBNzBvRVl9VLynf.cjs +0 -7
  189. package/browser/cjs/BLh6E7ER8mrM6vc_.cjs +0 -7
  190. package/browser/cjs/BMaq_2S3IFrE5XeJ.cjs +0 -7
  191. package/browser/cjs/BO7Pbclmywy-QCSV.cjs +0 -13
  192. package/browser/cjs/BPlthbyKkqCDjgxO.cjs +0 -7
  193. package/browser/cjs/BUGo0mXtBfFOmQXV.cjs +0 -7
  194. package/browser/cjs/BdHdXCz_K1djQgI4.cjs +0 -7
  195. package/browser/cjs/BfNkb1jDZkJf3wRA.cjs +0 -7
  196. package/browser/cjs/BfdQd2UEOlOc5iF3.cjs +0 -7
  197. package/browser/cjs/Bi9KvObgq_kJ_pjC.cjs +0 -7
  198. package/browser/cjs/BjPpJjnABDd3_WOZ.cjs +0 -7
  199. package/browser/cjs/BsSNzyN8kOGCKzso.cjs +0 -7
  200. package/browser/cjs/BtCcoaKKb8ZDnliG.cjs +0 -7
  201. package/browser/cjs/BwHquG4sSd7OJjxz.cjs +0 -7
  202. package/browser/cjs/BywNBbTVRYbgRbNI.cjs +0 -7
  203. package/browser/cjs/C04Qr5P8uyQ6Vcml.cjs +0 -7
  204. package/browser/cjs/C42ZEPRmW9Wcd7tI.cjs +0 -7
  205. package/browser/cjs/CBpt1PBR1VfBegko.cjs +0 -7
  206. package/browser/cjs/CED8Az5C8GWF7pUT.cjs +0 -7
  207. package/browser/cjs/CbD4Wa5QLTdRCYcz.cjs +0 -7
  208. package/browser/cjs/CbILz9Skl6lWf6yR.cjs +0 -7
  209. package/browser/cjs/CoFQQqIzuvS9PM77.cjs +0 -7
  210. package/browser/cjs/CpDNo2Lhwr5ZHECs.cjs +0 -7
  211. package/browser/cjs/CsamfGfFsItvSgo_.cjs +0 -7
  212. package/browser/cjs/Cx3kn5gBsQ-1bORi.cjs +0 -7
  213. package/browser/cjs/CxLvGnG44-qNI36G.cjs +0 -7
  214. package/browser/cjs/D-xyWit7jxctQCpR.cjs +0 -7
  215. package/browser/cjs/D4XQsK7d7DRctaOO.cjs +0 -7
  216. package/browser/cjs/D9rVEA1BdB0JZwhE.cjs +0 -7
  217. package/browser/cjs/DES2NmIRVZg-HXgs.cjs +0 -7
  218. package/browser/cjs/DFxeLNhACFIHb0nv.cjs +0 -7
  219. package/browser/cjs/DIv1SrLYeyVwcaxE.cjs +0 -7
  220. package/browser/cjs/DJ6L43osbaMzEV5K.cjs +0 -7
  221. package/browser/cjs/DMjLN_HDktNzzUB8.cjs +0 -7
  222. package/browser/cjs/DVPfPZCFjmYu3xyn.cjs +0 -7
  223. package/browser/cjs/DhSlaiQXxEOVtZkA.cjs +0 -7
  224. package/browser/cjs/Dh_dFnagz7dMZlGh.cjs +0 -7
  225. package/browser/cjs/DpF6vgGka2d-RKkb.cjs +0 -10
  226. package/browser/cjs/DtY0Jzlwnr_YKnV4.cjs +0 -7
  227. package/browser/cjs/DwyyFI1Ix0uc0Qoz.cjs +0 -7
  228. package/browser/cjs/Dy5_viRzFls9rOzN.cjs +0 -7
  229. package/browser/cjs/GkINjQ8Te3GKi2mx.cjs +0 -7
  230. package/browser/cjs/aN3KCqswA1SdJIMq.cjs +0 -7
  231. package/browser/cjs/hLJbgylpETByV4wc.cjs +0 -7
  232. package/browser/cjs/qumqKlVHFx89iLeu.cjs +0 -7
  233. package/browser/cjs/rKZjTYQ0WpTriIv6.cjs +0 -7
  234. package/browser/cjs/xjKotAOVt3JH36U7.cjs +0 -7
  235. package/browser/cjs/ymbPxio09Fw7I2BW.cjs +0 -7
  236. package/browser/esm/2P5dQT7wZToOh-n9.mjs +0 -7
  237. package/browser/esm/4GgcUVhUmQmiv9Ha.mjs +0 -110
  238. package/browser/esm/7_x68v6PpvRDox_Z.mjs +0 -7
  239. package/browser/esm/9icgSuuzXq6mlgM8.mjs +0 -7
  240. package/browser/esm/B354iAatN9y9AIIP.mjs +0 -7
  241. package/browser/esm/B5EVyoxm3aSlAnxN.mjs +0 -7
  242. package/browser/esm/BD8rE7MUxuHXsdcf.mjs +0 -7
  243. package/browser/esm/BGFWI1a1PmU8_hCE.mjs +0 -7
  244. package/browser/esm/BI6JAQCQx1V0F2aC.mjs +0 -7
  245. package/browser/esm/BIYg30d_9HaluFFz.mjs +0 -7
  246. package/browser/esm/BKL-uyBp_OE47lXd.mjs +0 -7
  247. package/browser/esm/BMwJCtLAYUW8wExX.mjs +0 -13
  248. package/browser/esm/BNOfK-lGWF2S8vQE.mjs +0 -7
  249. package/browser/esm/Ba433v6lQUMtECiY.mjs +0 -7
  250. package/browser/esm/BbZWfDW2LUyjqUDy.mjs +0 -7
  251. package/browser/esm/C238uBmZN1XXqMUb.mjs +0 -7
  252. package/browser/esm/C34whwRkHO0lhq4-.mjs +0 -7
  253. package/browser/esm/C6FEpAqSZoW5Hgte.mjs +0 -7
  254. package/browser/esm/COlW5ULL29SUKN1Z.mjs +0 -7
  255. package/browser/esm/CRyxOj2xPj9qe9LK.mjs +0 -7
  256. package/browser/esm/CVyVvtlJuCTn4MDh.mjs +0 -7
  257. package/browser/esm/CapeIfjWq-_BHMlE.mjs +0 -7
  258. package/browser/esm/CcQqGNgK2CsgNtuD.mjs +0 -7
  259. package/browser/esm/CdZSxrk3k1Lx6G8W.mjs +0 -7
  260. package/browser/esm/CdchvB_wAbv_6Whw.mjs +0 -7
  261. package/browser/esm/Cf8eDl3Tu5NAWWwG.mjs +0 -7
  262. package/browser/esm/Cfq9tttQlsKvfaCr.mjs +0 -7
  263. package/browser/esm/ClR6uLJoM-xKVYEc.mjs +0 -7
  264. package/browser/esm/Cnl_e-EYkZ3CLbi2.mjs +0 -7
  265. package/browser/esm/CtRS2ZCPF7IH_mXe.mjs +0 -7
  266. package/browser/esm/CuV-bwi1vcXAqFUY.mjs +0 -7
  267. package/browser/esm/CwVE0qelO_xgf-l1.mjs +0 -7
  268. package/browser/esm/D1Dzlta8ZVy08ng6.mjs +0 -7
  269. package/browser/esm/D1TjRQiHLWhpl-dl.mjs +0 -7
  270. package/browser/esm/D8BJ-y3ulgO_ezrj.mjs +0 -10
  271. package/browser/esm/DTDXNEbHVnnZONNL.mjs +0 -7
  272. package/browser/esm/DTWfi8Dl-c2s5moT.mjs +0 -7
  273. package/browser/esm/DYVBXcu1r5KRLB-1.mjs +0 -7
  274. package/browser/esm/DZjWyWMvr2XHQrBg.mjs +0 -7
  275. package/browser/esm/DhHK4QmASvgAq9Xy.mjs +0 -7
  276. package/browser/esm/DoFV2S6Su86IN5Ul.mjs +0 -7
  277. package/browser/esm/Dq3ybkgattcCsF_4.mjs +0 -7
  278. package/browser/esm/DqWoZ4TjweoJWX3o.mjs +0 -7
  279. package/browser/esm/DtXxHirBm16ldE1l.mjs +0 -7
  280. package/browser/esm/DtuWZG6c_8vKRSdr.mjs +0 -7
  281. package/browser/esm/FBG8XXdIMd9PfUIo.mjs +0 -7
  282. package/browser/esm/Nh7JiwvF01PblHQ0.mjs +0 -7
  283. package/browser/esm/PVYiH9vBQM6rqXI4.mjs +0 -7
  284. package/browser/esm/U5-LDZQ0qkJ2Y-p8.mjs +0 -7
  285. package/browser/esm/XhQDWZu47oe6bwHh.mjs +0 -7
  286. package/browser/esm/_BjU6TtI-mQfFpfy.mjs +0 -7
  287. package/browser/esm/gOUfyCw957TzcbNB.mjs +0 -7
  288. package/browser/esm/lmkbfs9sNc7f0oe5.mjs +0 -7
  289. package/browser/esm/naa0kcRwxHEYGaQB.mjs +0 -7
  290. package/browser/esm/qxOkQutRxmAi1vRh.mjs +0 -7
  291. package/browser/esm/tMSro0g2GM5BBTIH.mjs +0 -7
  292. package/cdn/assets/0e9wDKSn4SFxSmP5.js +0 -27
  293. package/cdn/assets/8U2WVdbZHYCBnd9L.js +0 -23
  294. package/cdn/assets/B-kFRtzNNkf4_SiP.js +0 -1701
  295. package/cdn/assets/BAzGoI9gE2G3F3on.js +0 -637
  296. package/cdn/assets/BLqaorJ5Wl-1YOoy.js +0 -3875
  297. package/cdn/assets/BNh9nSR83reiVMKt.js +0 -90
  298. package/cdn/assets/BQON-ToGsIBPrPkM.js +0 -1371
  299. package/cdn/assets/BVYDmdUGWvMG5gNK.js +0 -241
  300. package/cdn/assets/B_2bXmyji3Dr7LRM.js +0 -50224
  301. package/cdn/assets/BlYoycYtR-sUp0iC.js +0 -27
  302. package/cdn/assets/Bsa9-Itkf_SdDBM9.js +0 -6481
  303. package/cdn/assets/CHTspRZD2v_dU_eV.js +0 -22
  304. package/cdn/assets/CMBDD1Mjde6UL5ep.js +0 -84
  305. package/cdn/assets/CR01MBraUPYPpwy4.js +0 -36
  306. package/cdn/assets/CV8UjJPDVplXjK1E.js +0 -49
  307. package/cdn/assets/CwdMjMPFdIs8SAV0.js +0 -1358
  308. package/cdn/assets/DUtu7r6CzW4dtW3E.js +0 -50
  309. package/cdn/assets/Dr5X-ng9wbwUWVr4.js +0 -41
  310. package/cdn/assets/Dvj7UEckqOBrgs9i.js +0 -3947
  311. package/cdn/assets/KtKlo5mM4kTTfFgi.js +0 -46
  312. package/cdn/assets/NTINjW8JjyZudT8s.js +0 -13449
  313. package/cdn/assets/R9RwlorPWfftoboH.js +0 -2373
@@ -0,0 +1,16 @@
1
+ "use strict";/**
2
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.4.15
3
+ *
4
+ * (C) 2025-present SheetXL Inc. & Michael T. Ford
5
+ * License: The license can be found at https://www.sheetxl.com/license.
6
+ */Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./TAIJH4y6CbXhFnhx.cjs");function me(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function re(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function ne(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?re(Object(r),!0).forEach(function(n){me(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):re(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function oe(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function ye(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ce(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function ie(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?ce(Object(r),!0).forEach(function(n){ye(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ce(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function D(e){return function t(){for(var r=this,n=arguments.length,o=new Array(n),c=0;c<n;c++)o[c]=arguments[c];return o.length>=e.length?e.apply(this,o):function(){for(var a=arguments.length,u=new Array(a),s=0;s<a;s++)u[s]=arguments[s];return t.apply(r,[].concat(o,u))}}}function U(e){return{}.toString.call(e).includes("Object")}function V(e){return typeof e=="function"}var P=D(function(e,t){throw new Error(e[t]||e.default)})({initialIsRequired:"initial state is required",initialType:"initial state should be an object",initialContent:"initial state shouldn't be an empty object",handlerType:"handler should be an object or a function",handlersType:"all handlers should be a functions",selectorType:"selector should be a function",changeType:"provided value of changes should be an object",changeField:'it seams you want to change a field in the state which is not specified in the "initial" state',default:"an unknown error accured in `state-local` package"}),ve=function(e,t){return U(t)||P("changeType"),Object.keys(t).some(function(r){return n=e,o=r,!Object.prototype.hasOwnProperty.call(n,o);var n,o})&&P("changeField"),t};function be(e,t){return V(t)?t(e.current):t}function Ee(e,t){return e.current=ie(ie({},e.current),t),t}function Oe(e,t,r){return V(t)?t(e.current):Object.keys(r).forEach(function(n){var o;return(o=t[n])===null||o===void 0?void 0:o.call(t,e.current[n])}),r}var K,le={configIsRequired:"the configuration object is required",configType:"the configuration object should be an object",default:"an unknown error accured in `@monaco-editor/loader` package",deprecation:`Deprecation warning!
7
+ You are using deprecated way of configuration.
8
+
9
+ Instead of using
10
+ monaco.config({ urls: { monacoBase: '...' } })
11
+ use
12
+ monaco.config({ paths: { vs: '...' } })
13
+
14
+ For more please check the link https://github.com/suren-atoyan/monaco-loader#config
15
+ `},ue=(K=function(e,t){throw new Error(e[t]||e.default)},function e(){for(var t=this,r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return n.length>=K.length?K.apply(this,n):function(){for(var c=arguments.length,a=new Array(c),u=0;u<c;u++)a[u]=arguments[u];return e.apply(t,[].concat(n,a))}})(le);function se(e,t){return Object.keys(t).forEach(function(r){t[r]instanceof Object&&e[r]&&Object.assign(t[r],se(e[r],t[r]))}),ne(ne({},e),t)}var we={type:"cancelation",msg:"operation is manually canceled"};function Q(e){var t=!1,r=new Promise(function(n,o){e.then(function(c){return t?o(we):n(c)}),e.catch(o)});return r.cancel=function(){return t=!0},r}var W,fe=function(e){if(Array.isArray(e))return e}(W=function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};(function(u){var s;u||P("initialIsRequired"),U(u)||P("initialType"),s=u,Object.keys(s).length||P("initialContent")})(e),function(u){V(u)||U(u)||P("handlerType"),U(u)&&Object.values(u).some(function(s){return!V(s)})&&P("handlersType")}(t);var r={current:e},n=D(Oe)(r,t),o=D(Ee)(r),c=D(ve)(e),a=D(be)(r);return[function(){var u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:function(s){return s};return function(s){V(s)||P("selectorType")}(u),u(r.current)},function(u){(function(){for(var s=arguments.length,g=new Array(s),O=0;O<s;O++)g[O]=arguments[O];return function(b){return g.reduceRight(function(x,M){return M(x)},b)}})(n,o,c,a)(u)}]}({config:{paths:{vs:"https://cdn.jsdelivr.net/npm/monaco-editor@0.52.2/min/vs"}},isInitialized:!1,resolve:null,reject:null,monaco:null}))||function(e){if(typeof Symbol<"u"&&Symbol.iterator in Object(e)){var t=[],r=!0,n=!1,o=void 0;try{for(var c,a=e[Symbol.iterator]();!(r=(c=a.next()).done)&&(t.push(c.value),t.length!==2);r=!0);}catch(u){n=!0,o=u}finally{try{r||a.return==null||a.return()}finally{if(n)throw o}}return t}}(W)||function(e){if(e){if(typeof e=="string")return oe(e,2);var t=Object.prototype.toString.call(e).slice(8,-1);return t==="Object"&&e.constructor&&(t=e.constructor.name),t==="Map"||t==="Set"?Array.from(e):t==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?oe(e,2):void 0}}(W)||function(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
16
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}(),z=fe[0],B=fe[1];function je(e){return document.body.appendChild(e)}function xe(e){var t,r,n=z(function(c){return{config:c.config,reject:c.reject}}),o=(t="".concat(n.config.paths.vs,"/loader.js"),r=document.createElement("script"),t&&(r.src=t),r);return o.onload=function(){return e()},o.onerror=n.reject,o}function Me(){var e=z(function(r){return{config:r.config,resolve:r.resolve,reject:r.reject}}),t=window.require;t.config(e.config),t(["vs/editor/editor.main"],function(r){de(r),e.resolve(r)},function(r){e.reject(r)})}function de(e){z().monaco||B({monaco:e})}var X=new Promise(function(e,t){return B({resolve:e,reject:t})}),L={config:function(e){var t=function(o){var c;return o||ue("configIsRequired"),c=o,{}.toString.call(c).includes("Object")||ue("configType"),o.urls?(console.warn(le.deprecation),{paths:{vs:o.urls.monacoBase}}):o}(e),r=t.monaco,n=function(o,c){if(o==null)return{};var a,u,s=function(O,b){if(O==null)return{};var x,M,S={},R=Object.keys(O);for(M=0;M<R.length;M++)x=R[M],b.indexOf(x)>=0||(S[x]=O[x]);return S}(o,c);if(Object.getOwnPropertySymbols){var g=Object.getOwnPropertySymbols(o);for(u=0;u<g.length;u++)a=g[u],c.indexOf(a)>=0||Object.prototype.propertyIsEnumerable.call(o,a)&&(s[a]=o[a])}return s}(t,["monaco"]);B(function(o){return{config:se(o.config,n),monaco:r}})},init:function(){var e=z(function(t){return{monaco:t.monaco,isInitialized:t.isInitialized,resolve:t.resolve}});if(!e.isInitialized){if(B({isInitialized:!0}),e.monaco)return e.resolve(e.monaco),Q(X);if(window.monaco&&window.monaco.editor)return de(window.monaco),e.resolve(window.monaco),Q(X);(function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return function(o){return r.reduceRight(function(c,a){return a(c)},o)}})(je,xe)(Me)}return Q(X)},__getMonacoInstance:function(){return z(function(e){return e.monaco})}},Pe={display:"flex",position:"relative",textAlign:"initial"},Se={width:"100%"},Re={display:"none"},ke={container:{display:"flex",height:"100%",width:"100%",justifyContent:"center",alignItems:"center"}},Te=function({children:e}){return i.yt.createElement("div",{style:ke.container},e)},pe=i.reactExports.memo(function({width:e,height:t,isEditorReady:r,loading:n,_ref:o,className:c,wrapperProps:a}){return i.yt.createElement("section",{style:{...Pe,width:e,height:t},...a},!r&&i.yt.createElement(Te,null,n),i.yt.createElement("div",{ref:o,style:{...Se,...!r&&Re},className:c}))}),Z=function(e){i.reactExports.useEffect(e,[])},w=function(e,t,r=!0){let n=i.reactExports.useRef(!0);i.reactExports.useEffect(n.current||!r?()=>{n.current=!1}:e,t)};function q(){}function T(e,t,r,n){return g=n,(s=e).editor.getModel(ae(s,g))||(c=t,a=r,u=n,(o=e).editor.createModel(c,a,u?ae(o,u):void 0));var o,c,a,u,s,g}function ae(e,t){return e.Uri.parse(t)}var Ie=i.reactExports.memo(function({original:e,modified:t,language:r,originalLanguage:n,modifiedLanguage:o,originalModelPath:c,modifiedModelPath:a,keepCurrentOriginalModel:u=!1,keepCurrentModifiedModel:s=!1,theme:g="light",loading:O="Loading...",options:b={},height:x="100%",width:M="100%",className:S,wrapperProps:R={},beforeMount:Y=q,onMount:$=q}){let[E,I]=i.reactExports.useState(!1),[C,m]=i.reactExports.useState(!0),y=i.reactExports.useRef(null),d=i.reactExports.useRef(null),A=i.reactExports.useRef(null),v=i.reactExports.useRef($),l=i.reactExports.useRef(Y),k=i.reactExports.useRef(!1);Z(()=>{let f=L.init();return f.then(p=>(d.current=p)&&m(!1)).catch(p=>p?.type!=="cancelation"&&console.error("Monaco initialization: error:",p)),()=>y.current?function(){let p=y.current?.getModel();u||p?.original?.dispose(),s||p?.modified?.dispose(),y.current?.dispose()}():f.cancel()}),w(()=>{if(y.current&&d.current){let f=y.current.getOriginalEditor(),p=T(d.current,e||"",n||r||"text",c||"");p!==f.getModel()&&f.setModel(p)}},[c],E),w(()=>{if(y.current&&d.current){let f=y.current.getModifiedEditor(),p=T(d.current,t||"",o||r||"text",a||"");p!==f.getModel()&&f.setModel(p)}},[a],E),w(()=>{let f=y.current.getModifiedEditor();f.getOption(d.current.editor.EditorOption.readOnly)?f.setValue(t||""):t!==f.getValue()&&(f.executeEdits("",[{range:f.getModel().getFullModelRange(),text:t||"",forceMoveMarkers:!0}]),f.pushUndoStop())},[t],E),w(()=>{y.current?.getModel()?.original.setValue(e||"")},[e],E),w(()=>{let{original:f,modified:p}=y.current.getModel();d.current.editor.setModelLanguage(f,n||r||"text"),d.current.editor.setModelLanguage(p,o||r||"text")},[r,n,o],E),w(()=>{d.current?.editor.setTheme(g)},[g],E),w(()=>{y.current?.updateOptions(b)},[b],E);let _=i.reactExports.useCallback(()=>{if(!d.current)return;l.current(d.current);let f=T(d.current,e||"",n||r||"text",c||""),p=T(d.current,t||"",o||r||"text",a||"");y.current?.setModel({original:f,modified:p})},[r,t,o,e,n,c,a]),N=i.reactExports.useCallback(()=>{!k.current&&A.current&&(y.current=d.current.editor.createDiffEditor(A.current,{automaticLayout:!0,...b}),_(),d.current?.editor.setTheme(g),I(!0),k.current=!0)},[b,g,_]);return i.reactExports.useEffect(()=>{E&&v.current(y.current,d.current)},[E]),i.reactExports.useEffect(()=>{!C&&!E&&N()},[C,E,N]),i.yt.createElement(pe,{width:M,height:x,isEditorReady:E,loading:O,_ref:A,className:S,wrapperProps:R})}),F=new Map,ge=i.reactExports.memo(function({defaultValue:e,defaultLanguage:t,defaultPath:r,value:n,language:o,path:c,theme:a="light",line:u,loading:s="Loading...",options:g={},overrideServices:O={},saveViewState:b=!0,keepCurrentModel:x=!1,width:M="100%",height:S="100%",className:R,wrapperProps:Y={},beforeMount:$=q,onMount:E=q,onChange:I,onValidate:C=q}){let[m,y]=i.reactExports.useState(!1),[d,A]=i.reactExports.useState(!0),v=i.reactExports.useRef(null),l=i.reactExports.useRef(null),k=i.reactExports.useRef(null),_=i.reactExports.useRef(E),N=i.reactExports.useRef($),f=i.reactExports.useRef(),p=i.reactExports.useRef(n),he=function(h){let j=i.reactExports.useRef();return i.reactExports.useEffect(()=>{j.current=h},[h]),j.current}(c),ee=i.reactExports.useRef(!1),G=i.reactExports.useRef(!1);Z(()=>{let h=L.init();return h.then(j=>(v.current=j)&&A(!1)).catch(j=>j?.type!=="cancelation"&&console.error("Monaco initialization: error:",j)),()=>l.current?(f.current?.dispose(),x?b&&F.set(c,l.current.saveViewState()):l.current.getModel()?.dispose(),void l.current.dispose()):h.cancel()}),w(()=>{let h=T(v.current,e||n||"",t||o||"",c||r||"");h!==l.current?.getModel()&&(b&&F.set(he,l.current?.saveViewState()),l.current?.setModel(h),b&&l.current?.restoreViewState(F.get(c)))},[c],m),w(()=>{l.current?.updateOptions(g)},[g],m),w(()=>{!l.current||n===void 0||(l.current.getOption(v.current.editor.EditorOption.readOnly)?l.current.setValue(n):n!==l.current.getValue()&&(G.current=!0,l.current.executeEdits("",[{range:l.current.getModel().getFullModelRange(),text:n,forceMoveMarkers:!0}]),l.current.pushUndoStop(),G.current=!1))},[n],m),w(()=>{let h=l.current?.getModel();h&&o&&v.current?.editor.setModelLanguage(h,o)},[o],m),w(()=>{u!==void 0&&l.current?.revealLine(u)},[u],m),w(()=>{v.current?.editor.setTheme(a)},[a],m);let te=i.reactExports.useCallback(()=>{if(k.current&&v.current&&!ee.current){N.current(v.current);let h=c||r,j=T(v.current,n||e||"",t||o||"",h||"");l.current=v.current?.editor.create(k.current,{model:j,automaticLayout:!0,...g},O),b&&l.current.restoreViewState(F.get(h)),v.current.editor.setTheme(a),u!==void 0&&l.current.revealLine(u),y(!0),ee.current=!0}},[e,t,r,n,o,c,g,O,b,a,u]);return i.reactExports.useEffect(()=>{m&&_.current(l.current,v.current)},[m]),i.reactExports.useEffect(()=>{!d&&!m&&te()},[d,m,te]),p.current=n,i.reactExports.useEffect(()=>{m&&I&&(f.current?.dispose(),f.current=l.current?.onDidChangeModelContent(h=>{G.current||I(l.current.getValue(),h)}))},[m,I]),i.reactExports.useEffect(()=>{if(m){let h=v.current.editor.onDidChangeMarkers(j=>{let H=l.current.getModel()?.uri;if(H&&j.find(J=>J.path===H.path)){let J=v.current.editor.getModelMarkers({resource:H});C?.(J)}});return()=>{h?.dispose()}}return()=>{}},[m,C]),i.yt.createElement(pe,{width:M,height:S,isEditorReady:m,loading:s,_ref:k,className:R,wrapperProps:Y})}),Ce=ge;exports.DiffEditor=Ie,exports.Editor=ge,exports.default=Ce,exports.loader=L,exports.useMonaco=function(){let[e,t]=i.reactExports.useState(L.__getMonacoInstance());return Z(()=>{let r;return e||(r=L.init(),r.then(n=>{t(n)})),()=>r?.cancel()}),e};
@@ -0,0 +1,6 @@
1
+ "use strict";/**
2
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.4.15
3
+ *
4
+ * (C) 2025-present SheetXL Inc. & Michael T. Ford
5
+ * License: The license can be found at https://www.sheetxl.com/license.
6
+ */Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});exports.default={ACOS:{s:"Returns the arccosine of a number, in radians in the range 0 to Pi. The arccosine is the angle whose cosine is Number",p:{number:{d:"is the cosine of the angle you want and must be from -1 to 1"}}},ACOSH:{s:"Returns the inverse hyperbolic cosine of a number",p:{number:{d:"is any real number equal to or greater than 1"}}},ACOT:{s:"Returns the arccotangent of a number, in radians in the range 0 to Pi.",p:{number:{d:"is the cotangent of the angle you want"}}},ACOTH:{s:"Returns the inverse hyperbolic cotangent of a number",p:{number:{d:"is the hyperbolic cotangent of the angle that you want"}}},ASIN:{s:"Returns the arcsine of a number in radians, in the range -Pi/2 to Pi/2",p:{number:{d:"is the sine of the angle you want and must be from -1 to 1"}}},ASINH:{s:"Returns the inverse hyperbolic sine of a number",p:{number:{d:"is any real number equal to or greater than 1"}}},ATAN:{s:"Returns the arctangent of a number in radians, in the range -Pi/2 to Pi/2",p:{number:{d:"is the tangent of the angle you want"}}},ATAN2:{s:"Returns the arctangent of the specified x- and y- coordinates, in radians between -Pi and Pi, excluding -Pi",p:{x:{d:"is the x-coordinate of the point"},y:{d:"is the y-coordinate of the point"}}},ATANH:{s:"Returns the inverse hyperbolic tangent of a number",p:{number:{d:"is any real number between -1 and 1 excluding -1 and 1"}}},COS:{s:"Returns the cosine of an angle",p:{number:{d:"is the angle in radians for which you want the cosine"}}},COSH:{s:"Returns the hyperbolic cosine of a number",p:{number:{d:"is any real number"}}},COT:{s:"Returns the cotangent of an angle",p:{number:{d:"is the angle in radians for which you want the cotangent"}}},COTH:{s:"Returns the hyperbolic cotangent of a number",p:{number:{d:"is the angle in radians for which you want the hyperbolic cotangent"}}},CSC:{s:"Returns the cosecant of an angle",p:{number:{d:"is the angle in radians for which you want the cosecant"}}},CSCH:{s:"Returns the hyperbolic cosecant of an angle",p:{number:{d:"is the angle in radians for which you want the hyperbolic cosecant"}}},SEC:{s:"Returns the secant of an angle",p:{number:{d:"is the angle in radians for which you want the secant"}}},SECH:{s:"Returns the hyperbolic secant of an angle",p:{number:{d:"is the angle in radians for which you want the hyperbolic secant"}}},SIN:{s:"Returns the sine of an angle",p:{number:{d:"is the angle in radians for which you want the sine. Degrees * PI()/180 = radians"}}},SINH:{s:"Returns the hyperbolic sine of a number",p:{number:{d:"is any real number"}}},TAN:{s:"Returns the tangent of an angle",p:{number:{d:"is the angle in radians for which you want the tangent. Degrees * PI()/180 = radians"}}},TANH:{s:"Returns the hyperbolic tangent of a number",p:{number:{d:"is any real number"}}}};
@@ -0,0 +1,19 @@
1
+ "use strict";/**
2
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.4.15
3
+ *
4
+ * (C) 2025-present SheetXL Inc. & Michael T. Ford
5
+ * License: The license can be found at https://www.sheetxl.com/license.
6
+ */Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const h=require("./TAIJH4y6CbXhFnhx.cjs"),Dt=h.reactExports.createContext(),Ft=h.reactExports.createContext();function Nt(o){return h.generateUtilityClass("MuiTableCell",o)}const Bt=h.generateUtilityClasses("MuiTableCell",["root","head","body","footer","sizeSmall","sizeMedium","paddingCheckbox","paddingNone","alignLeft","alignCenter","alignRight","alignJustify","stickyHeader"]),Ut=h.styled("td",{name:"MuiTableCell",slot:"Root",overridesResolver:(o,e)=>{const{ownerState:t}=o;return[e.root,e[t.variant],e[`size${h.capitalize(t.size)}`],t.padding!=="normal"&&e[`padding${h.capitalize(t.padding)}`],t.align!=="inherit"&&e[`align${h.capitalize(t.align)}`],t.stickyHeader&&e.stickyHeader]}})(h.memoTheme(({theme:o})=>({...o.typography.body2,display:"table-cell",verticalAlign:"inherit",borderBottom:o.vars?`1px solid ${o.vars.palette.TableCell.border}`:`1px solid
7
+ ${o.palette.mode==="light"?h.lighten(h.alpha(o.palette.divider,1),.88):h.darken(h.alpha(o.palette.divider,1),.68)}`,textAlign:"left",padding:16,variants:[{props:{variant:"head"},style:{color:(o.vars||o).palette.text.primary,lineHeight:o.typography.pxToRem(24),fontWeight:o.typography.fontWeightMedium}},{props:{variant:"body"},style:{color:(o.vars||o).palette.text.primary}},{props:{variant:"footer"},style:{color:(o.vars||o).palette.text.secondary,lineHeight:o.typography.pxToRem(21),fontSize:o.typography.pxToRem(12)}},{props:{size:"small"},style:{padding:"6px 16px",[`&.${Bt.paddingCheckbox}`]:{width:24,padding:"0 12px 0 16px","& > *":{padding:0}}}},{props:{padding:"checkbox"},style:{width:48,padding:"0 0 0 4px"}},{props:{padding:"none"},style:{padding:0}},{props:{align:"left"},style:{textAlign:"left"}},{props:{align:"center"},style:{textAlign:"center"}},{props:{align:"right"},style:{textAlign:"right",flexDirection:"row-reverse"}},{props:{align:"justify"},style:{textAlign:"justify"}},{props:({ownerState:e})=>e.stickyHeader,style:{position:"sticky",top:0,zIndex:2,backgroundColor:(o.vars||o).palette.background.default}}]}))),Ie=h.reactExports.forwardRef(function(o,e){const t=h.useDefaultProps({props:o,name:"MuiTableCell"}),{align:r="inherit",className:n,component:l,padding:i,scope:a,size:s,sortDirection:c,variant:d,...f}=t,p=h.reactExports.useContext(Dt),u=h.reactExports.useContext(Ft),_=u&&u.variant==="head";let g;g=l||(_?"th":"td");let S=a;g==="td"?S=void 0:!S&&_&&(S="col");const y=d||u&&u.variant,x={...t,align:r,component:g,padding:i||(p&&p.padding?p.padding:"normal"),size:s||(p&&p.size?p.size:"medium"),sortDirection:c,stickyHeader:y==="head"&&p&&p.stickyHeader,variant:y},v=(C=>{const{classes:b,variant:R,align:T,padding:I,size:O,stickyHeader:P}=C,z={root:["root",R,P&&"stickyHeader",T!=="inherit"&&`align${h.capitalize(T)}`,I!=="normal"&&`padding${h.capitalize(I)}`,`size${h.capitalize(O)}`]};return h.composeClasses(z,Nt,b)})(x);let w=null;return c&&(w=c==="asc"?"ascending":"descending"),h.jsxRuntimeExports.jsx(Ut,{as:g,ref:e,className:h.clsx(v.root,n),"aria-sort":w,scope:S,ownerState:x,...f})}),Vt=h.EE();function ue(o){return o!=="ownerState"&&o!=="theme"&&o!=="sx"&&o!=="as"}function U(o,e){return e&&o&&typeof o=="object"&&o.styles&&!o.styles.startsWith("@layer")&&(o.styles=`@layer ${e}{${String(o.styles)}}`),o}function qt(o){return o?(e,t)=>t[o]:null}function ae(o,e,t){const r=typeof e=="function"?e(o):e;if(Array.isArray(r))return r.flatMap(n=>ae(o,n,t));if(Array.isArray(r?.variants)){let n;if(r.isProcessed)n=t?U(r.style,t):r.style;else{const{variants:l,...i}=r;n=t?U(h.internal_serializeStyles(i),t):i}return at(o,r.variants,[n],t)}return r?.isProcessed?t?U(h.internal_serializeStyles(r.style),t):r.style:t?U(h.internal_serializeStyles(r),t):r}function at(o,e,t=[],r=void 0){let n;e:for(let l=0;l<e.length;l+=1){const i=e[l];if(typeof i.props=="function"){if(n??={...o,...o.ownerState,ownerState:o.ownerState},!i.props(n))continue}else for(const a in i.props)if(o[a]!==i.props[a]&&o.ownerState?.[a]!==i.props[a])continue e;typeof i.style=="function"?(n??={...o,...o.ownerState,ownerState:o.ownerState},t.push(r?U(h.internal_serializeStyles(i.style(n)),r):i.style(n))):t.push(r?U(h.internal_serializeStyles(i.style),r):i.style)}return t}function $t(o){return o&&o.charAt(0).toLowerCase()+o.slice(1)}const Kt=function(o={}){const{themeId:e,defaultTheme:t=Vt,rootShouldForwardProp:r=ue,slotShouldForwardProp:n=ue}=o;function l(i){var a,s,c;s=e,c=t,(a=i).theme=function(d){for(const f in d)return!1;return!0}(a.theme)?c:a.theme[s]||a.theme}return(i,a={})=>{h.internal_mutateStyles(i,b=>b.filter(R=>R!==h.Ws));const{name:s,slot:c,skipVariantsResolver:d,skipSx:f,overridesResolver:p=qt($t(c)),...u}=a,_=s&&s.startsWith("Mui")||c?"components":"custom",g=d!==void 0?d:c&&c!=="Root"&&c!=="root"||!1,S=f||!1;let y=ue;var x;c==="Root"||c==="root"?y=r:c?y=n:typeof(x=i)=="string"&&x.charCodeAt(0)>96&&(y=void 0);const v=h.styled$1(i,{shouldForwardProp:y,label:void 0,...u}),w=b=>{if(b.__emotion_real===b)return b;if(typeof b=="function")return function(R){return ae(R,b,R.theme.modularCssLayers?_:void 0)};if(h.di(b)){const R=function(T){const{variants:I,...O}=T,P={variants:I,style:h.internal_serializeStyles(O),isProcessed:!0};return P.style===O||I&&I.forEach(z=>{typeof z.style!="function"&&(z.style=h.internal_serializeStyles(z.style))}),P}(b);return function(T){return R.variants?ae(T,R,T.theme.modularCssLayers?_:void 0):T.theme.modularCssLayers?U(R.style,_):R.style}}return b},C=(...b)=>{const R=[],T=b.map(w),I=[];if(R.push(l),s&&p&&I.push(function(z){const E=z.theme,L=E.components?.[s]?.styleOverrides;if(!L)return null;const F={};for(const Te in L)F[Te]=ae(z,L[Te],z.theme.modularCssLayers?"theme":void 0);return p(z,F)}),s&&!g&&I.push(function(z){const E=z.theme,L=E?.components?.[s]?.variants;return L?at(z,L,[],z.theme.modularCssLayers?"theme":void 0):null}),S||I.push(h.Ws),Array.isArray(T[0])){const z=T.shift(),E=new Array(R.length).fill(""),L=new Array(I.length).fill("");let F;F=[...E,...z,...L],F.raw=[...E,...z.raw,...L],R.unshift(F)}const O=[...R,...T,...I],P=v(...O);return i.muiName&&(P.muiName=i.muiName),P};return v.withConfig&&(C.withConfig=v.withConfig),C}}({themeId:h.Zi,defaultTheme:h.VE,rootShouldForwardProp:o=>function(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}(o)&&o!=="classes"});function G(o,e){if(!(o instanceof e))throw new TypeError("Cannot call a class as a function")}function K(o){return(K=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(o)}function ct(o){var e=function(t){if(K(t)!="object"||!t)return t;var r=t[Symbol.toPrimitive];if(r!==void 0){var n=r.call(t,"string");if(K(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(o);return K(e)=="symbol"?e:e+""}function Pe(o,e){for(var t=0;t<e.length;t++){var r=e[t];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(o,ct(r.key),r)}}function A(o,e,t){return e&&Pe(o.prototype,e),t&&Pe(o,t),Object.defineProperty(o,"prototype",{writable:!1}),o}function j(o,e){if(e&&(K(e)=="object"||typeof e=="function"))return e;if(e!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(o)}function k(o){return(k=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(o)}function H(o,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");o.prototype=Object.create(e&&e.prototype,{constructor:{value:o,writable:!0,configurable:!0}}),Object.defineProperty(o,"prototype",{writable:!1}),e&&h.Zu(o,e)}function m(o,e,t){return(e=ct(e))in o?Object.defineProperty(o,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):o[e]=t,o}function dt(){var o=this.constructor.getDerivedStateFromProps(this.props,this.state);o!=null&&this.setState(o)}function ut(o){this.setState(function(e){return this.constructor.getDerivedStateFromProps(o,e)??null}.bind(this))}function ht(o,e){try{var t=this.props,r=this.state;this.props=o,this.state=e,this.__reactInternalSnapshotFlag=!0,this.__reactInternalSnapshot=this.getSnapshotBeforeUpdate(t,r)}finally{this.props=t,this.state=r}}function ie(o){var e=o.prototype;if(!e||!e.isReactComponent)throw new Error("Can only polyfill class components");if(typeof o.getDerivedStateFromProps!="function"&&typeof e.getSnapshotBeforeUpdate!="function")return o;var t=null,r=null,n=null;if(typeof e.componentWillMount=="function"?t="componentWillMount":typeof e.UNSAFE_componentWillMount=="function"&&(t="UNSAFE_componentWillMount"),typeof e.componentWillReceiveProps=="function"?r="componentWillReceiveProps":typeof e.UNSAFE_componentWillReceiveProps=="function"&&(r="UNSAFE_componentWillReceiveProps"),typeof e.componentWillUpdate=="function"?n="componentWillUpdate":typeof e.UNSAFE_componentWillUpdate=="function"&&(n="UNSAFE_componentWillUpdate"),t!==null||r!==null||n!==null){var l=o.displayName||o.name,i=typeof o.getDerivedStateFromProps=="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";throw Error(`Unsafe legacy lifecycles will not be called for components using new component APIs.
8
+
9
+ `+l+" uses "+i+" but also contains the following legacy lifecycles:"+(t!==null?`
10
+ `+t:"")+(r!==null?`
11
+ `+r:"")+(n!==null?`
12
+ `+n:"")+`
13
+
14
+ The above lifecycles should be removed. Learn more about this warning here:
15
+ https://fb.me/react-async-component-lifecycle-hooks`)}if(typeof o.getDerivedStateFromProps=="function"&&(e.componentWillMount=dt,e.componentWillReceiveProps=ut),typeof e.getSnapshotBeforeUpdate=="function"){if(typeof e.componentDidUpdate!="function")throw new Error("Cannot polyfill getSnapshotBeforeUpdate() for components that do not define componentDidUpdate() on the prototype");e.componentWillUpdate=ht;var a=e.componentDidUpdate;e.componentDidUpdate=function(s,c,d){var f=this.__reactInternalSnapshotFlag?this.__reactInternalSnapshot:d;a.call(this,s,c,f)}}return o}function Oe(o,e){var t=Object.keys(o);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(o);e&&(r=r.filter(function(n){return Object.getOwnPropertyDescriptor(o,n).enumerable})),t.push.apply(t,r)}return t}function ke(o){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?arguments[e]:{};e%2?Oe(Object(t),!0).forEach(function(r){m(o,r,t[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(o,Object.getOwnPropertyDescriptors(t)):Oe(Object(t)).forEach(function(r){Object.defineProperty(o,r,Object.getOwnPropertyDescriptor(t,r))})}return o}function ft(){try{var o=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(ft=function(){return!!o})()}dt.__suppressDeprecationWarning=!0,ut.__suppressDeprecationWarning=!0,ht.__suppressDeprecationWarning=!0;var Me=function(){function o(){var e,t,r,n;G(this,o);for(var l=arguments.length,i=new Array(l),a=0;a<l;a++)i[a]=arguments[a];return t=this,r=o,n=[].concat(i),r=k(r),m(e=j(t,ft()?Reflect.construct(r,n||[],k(t).constructor):r.apply(t,n)),"state",{scrollToColumn:0,scrollToRow:0,instanceProps:{prevScrollToColumn:0,prevScrollToRow:0}}),m(e,"_columnStartIndex",0),m(e,"_columnStopIndex",0),m(e,"_rowStartIndex",0),m(e,"_rowStopIndex",0),m(e,"_onKeyDown",function(s){var c=e.props,d=c.columnCount,f=c.disabled,p=c.mode,u=c.rowCount;if(!f){var _=e._getScrollState(),g=_.scrollToColumn,S=_.scrollToRow,y=e._getScrollState(),x=y.scrollToColumn,v=y.scrollToRow;switch(s.key){case"ArrowDown":v=Math.min(p==="cells"?v+1:e._rowStopIndex+1,u-1);break;case"ArrowLeft":x=Math.max(p==="cells"?x-1:e._columnStartIndex-1,0);break;case"ArrowRight":x=Math.min(p==="cells"?x+1:e._columnStopIndex+1,d-1);break;case"ArrowUp":v=Math.max(p==="cells"?v-1:e._rowStartIndex-1,0)}x===g&&v===S||(s.preventDefault(),e._updateScrollState({scrollToColumn:x,scrollToRow:v}))}}),m(e,"_onSectionRendered",function(s){var c=s.columnStartIndex,d=s.columnStopIndex,f=s.rowStartIndex,p=s.rowStopIndex;e._columnStartIndex=c,e._columnStopIndex=d,e._rowStartIndex=f,e._rowStopIndex=p}),e}return H(o,h.reactExports.PureComponent),A(o,[{key:"setScrollIndexes",value:function(e){var t=e.scrollToColumn,r=e.scrollToRow;this.setState({scrollToRow:r,scrollToColumn:t})}},{key:"render",value:function(){var e=this.props,t=e.className,r=e.children,n=this._getScrollState(),l=n.scrollToColumn,i=n.scrollToRow;return h.reactExports.createElement("div",{className:t,onKeyDown:this._onKeyDown},r({onSectionRendered:this._onSectionRendered,scrollToColumn:l,scrollToRow:i}))}},{key:"_getScrollState",value:function(){return this.props.isControlled?this.props:this.state}},{key:"_updateScrollState",value:function(e){var t=e.scrollToColumn,r=e.scrollToRow,n=this.props,l=n.isControlled,i=n.onScrollToChange;typeof i=="function"&&i({scrollToColumn:t,scrollToRow:r}),l||this.setState({scrollToColumn:t,scrollToRow:r})}}],[{key:"getDerivedStateFromProps",value:function(e,t){return e.isControlled?{}:e.scrollToColumn!==t.instanceProps.prevScrollToColumn||e.scrollToRow!==t.instanceProps.prevScrollToRow?ke(ke({},t),{},{scrollToColumn:e.scrollToColumn,scrollToRow:e.scrollToRow,instanceProps:{prevScrollToColumn:e.scrollToColumn,prevScrollToRow:e.scrollToRow}}):{}}}])}();function pt(o,e){var t,r,n=(t=e!==void 0?e:typeof window<"u"?window:typeof self<"u"?self:global).document!==void 0&&t.document.attachEvent;if(!n){var l=(r=t.requestAnimationFrame||t.mozRequestAnimationFrame||t.webkitRequestAnimationFrame||function(v){return t.setTimeout(v,20)},function(v){return r(v)}),i=function(){var v=t.cancelAnimationFrame||t.mozCancelAnimationFrame||t.webkitCancelAnimationFrame||t.clearTimeout;return function(w){return v(w)}}(),a=function(v){var w=v.__resizeTriggers__,C=w.firstElementChild,b=w.lastElementChild,R=C.firstElementChild;b.scrollLeft=b.scrollWidth,b.scrollTop=b.scrollHeight,R.style.width=C.offsetWidth+1+"px",R.style.height=C.offsetHeight+1+"px",C.scrollLeft=C.scrollWidth,C.scrollTop=C.scrollHeight},s=function(v){if(!(v.target.className&&typeof v.target.className.indexOf=="function"&&v.target.className.indexOf("contract-trigger")<0&&v.target.className.indexOf("expand-trigger")<0)){var w=this;a(this),this.__resizeRAF__&&i(this.__resizeRAF__),this.__resizeRAF__=l(function(){var C;((C=w).offsetWidth!=C.__resizeLast__.width||C.offsetHeight!=C.__resizeLast__.height)&&(w.__resizeLast__.width=w.offsetWidth,w.__resizeLast__.height=w.offsetHeight,w.__resizeListeners__.forEach(function(b){b.call(w,v)}))})}},c=!1,d="",f="animationstart",p="Webkit Moz O ms".split(" "),u="webkitAnimationStart animationstart oAnimationStart MSAnimationStart".split(" "),_=t.document.createElement("fakeelement");if(_.style.animationName!==void 0&&(c=!0),c===!1){for(var g=0;g<p.length;g++)if(_.style[p[g]+"AnimationName"]!==void 0){d="-"+p[g].toLowerCase()+"-",f=u[g],c=!0;break}}var S="resizeanim",y="@"+d+"keyframes "+S+" { from { opacity: 0; } to { opacity: 0; } } ",x=d+"animation: 1ms "+S+"; "}return{addResizeListener:function(v,w){if(n)v.attachEvent("onresize",w);else{if(!v.__resizeTriggers__){var C=v.ownerDocument,b=t.getComputedStyle(v);b&&b.position=="static"&&(v.style.position="relative"),function(I){if(!I.getElementById("detectElementResize")){var O=(y||"")+".resize-triggers { "+(x||"")+'visibility: hidden; opacity: 0; } .resize-triggers, .resize-triggers > div, .contract-trigger:before { content: " "; display: block; position: absolute; top: 0; left: 0; height: 100%; width: 100%; overflow: hidden; z-index: -1; } .resize-triggers > div { background: #eee; overflow: auto; } .contract-trigger:before { width: 200%; height: 200%; }',P=I.head||I.getElementsByTagName("head")[0],z=I.createElement("style");z.id="detectElementResize",z.type="text/css",o!=null&&z.setAttribute("nonce",o),z.styleSheet?z.styleSheet.cssText=O:z.appendChild(I.createTextNode(O)),P.appendChild(z)}}(C),v.__resizeLast__={},v.__resizeListeners__=[],(v.__resizeTriggers__=C.createElement("div")).className="resize-triggers";var R=C.createElement("div");R.className="expand-trigger",R.appendChild(C.createElement("div"));var T=C.createElement("div");T.className="contract-trigger",v.__resizeTriggers__.appendChild(R),v.__resizeTriggers__.appendChild(T),v.appendChild(v.__resizeTriggers__),a(v),v.addEventListener("scroll",s,!0),f&&(v.__resizeTriggers__.__animationListener__=function(I){I.animationName==S&&a(v)},v.__resizeTriggers__.addEventListener(f,v.__resizeTriggers__.__animationListener__))}v.__resizeListeners__.push(w)}},removeResizeListener:function(v,w){if(n)v.detachEvent("onresize",w);else if(v.__resizeListeners__.splice(v.__resizeListeners__.indexOf(w),1),!v.__resizeListeners__.length){v.removeEventListener("scroll",s,!0),v.__resizeTriggers__.__animationListener__&&(v.__resizeTriggers__.removeEventListener(f,v.__resizeTriggers__.__animationListener__),v.__resizeTriggers__.__animationListener__=null);try{v.__resizeTriggers__=!v.removeChild(v.__resizeTriggers__)}catch{}}}}}function Ee(o,e){var t=Object.keys(o);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(o);e&&(r=r.filter(function(n){return Object.getOwnPropertyDescriptor(o,n).enumerable})),t.push.apply(t,r)}return t}function Le(o){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?arguments[e]:{};e%2?Ee(Object(t),!0).forEach(function(r){m(o,r,t[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(o,Object.getOwnPropertyDescriptors(t)):Ee(Object(t)).forEach(function(r){Object.defineProperty(o,r,Object.getOwnPropertyDescriptor(t,r))})}return o}function mt(){try{var o=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(mt=function(){return!!o})()}m(Me,"defaultProps",{disabled:!1,isControlled:!1,mode:"edges",scrollToColumn:0,scrollToRow:0}),ie(Me);var gt=function(){function o(){var e,t,r,n;G(this,o);for(var l=arguments.length,i=new Array(l),a=0;a<l;a++)i[a]=arguments[a];return t=this,r=o,n=[].concat(i),r=k(r),m(e=j(t,mt()?Reflect.construct(r,n||[],k(t).constructor):r.apply(t,n)),"state",{height:e.props.defaultHeight||0,width:e.props.defaultWidth||0}),m(e,"_parentNode",void 0),m(e,"_autoSizer",void 0),m(e,"_window",void 0),m(e,"_detectElementResize",void 0),m(e,"_onResize",function(){var s=e.props,c=s.disableHeight,d=s.disableWidth,f=s.onResize;if(e._parentNode){var p=e._parentNode.offsetHeight||0,u=e._parentNode.offsetWidth||0,_=(e._window||window).getComputedStyle(e._parentNode)||{},g=parseInt(_.paddingLeft,10)||0,S=parseInt(_.paddingRight,10)||0,y=parseInt(_.paddingTop,10)||0,x=parseInt(_.paddingBottom,10)||0,v=p-y-x,w=u-g-S;(!c&&e.state.height!==v||!d&&e.state.width!==w)&&(e.setState({height:p-y-x,width:u-g-S}),f({height:p,width:u}))}}),m(e,"_setRef",function(s){e._autoSizer=s}),e}return H(o,h.reactExports.Component),A(o,[{key:"componentDidMount",value:function(){var e=this.props.nonce;this._autoSizer&&this._autoSizer.parentNode&&this._autoSizer.parentNode.ownerDocument&&this._autoSizer.parentNode.ownerDocument.defaultView&&this._autoSizer.parentNode instanceof this._autoSizer.parentNode.ownerDocument.defaultView.HTMLElement&&(this._parentNode=this._autoSizer.parentNode,this._window=this._autoSizer.parentNode.ownerDocument.defaultView,this._detectElementResize=pt(e,this._window),this._detectElementResize.addResizeListener(this._parentNode,this._onResize),this._onResize())}},{key:"componentWillUnmount",value:function(){this._detectElementResize&&this._parentNode&&this._detectElementResize.removeResizeListener(this._parentNode,this._onResize)}},{key:"render",value:function(){var e=this.props,t=e.children,r=e.className,n=e.disableHeight,l=e.disableWidth,i=e.style,a=this.state,s=a.height,c=a.width,d={overflow:"visible"},f={};return n||(d.height=0,f.height=s),l||(d.width=0,f.width=c),h.reactExports.createElement("div",{className:r,ref:this._setRef,style:Le(Le({},d),i)},t(f))}}])}();function vt(){try{var o=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(vt=function(){return!!o})()}m(gt,"defaultProps",{onResize:function(){},disableHeight:!1,disableWidth:!1,style:{}});var Xt=function(){function o(){var e,t,r,n;G(this,o);for(var l=arguments.length,i=new Array(l),a=0;a<l;a++)i[a]=arguments[a];return t=this,r=o,n=[].concat(i),r=k(r),m(e=j(t,vt()?Reflect.construct(r,n||[],k(t).constructor):r.apply(t,n)),"_child",h.reactExports.createRef()),m(e,"_measure",function(){var s=e.props,c=s.cache,d=s.columnIndex,f=d===void 0?0:d,p=s.parent,u=s.rowIndex,_=u===void 0?e.props.index||0:u,g=e._getCellMeasurements(),S=g.height,y=g.width;S===c.getHeight(_,f)&&y===c.getWidth(_,f)||(c.set(_,f,y,S),p&&typeof p.recomputeGridSize=="function"&&p.recomputeGridSize({columnIndex:f,rowIndex:_}))}),m(e,"_registerChild",function(s){!s||s instanceof Element||console.warn("CellMeasurer registerChild expects to be passed Element or null"),e._child.current=s,s&&e._maybeMeasureCell()}),e}return H(o,h.reactExports.PureComponent),A(o,[{key:"componentDidMount",value:function(){this._maybeMeasureCell()}},{key:"componentDidUpdate",value:function(){this._maybeMeasureCell()}},{key:"render",value:function(){var e=this,t=this.props.children,r=typeof t=="function"?t({measure:this._measure,registerChild:this._registerChild}):t;return r===null?r:h.reactExports.cloneElement(r,{ref:function(n){typeof r.ref=="function"?r.ref(n):r.ref&&(r.ref.current=n),e._child.current=n}})}},{key:"_getCellMeasurements",value:function(){var e=this.props.cache,t=this._child.current;if(t&&t.ownerDocument&&t.ownerDocument.defaultView&&t instanceof t.ownerDocument.defaultView.HTMLElement){var r=t.style.width,n=t.style.height;e.hasFixedWidth()||(t.style.width="auto"),e.hasFixedHeight()||(t.style.height="auto");var l=Math.ceil(t.offsetHeight),i=Math.ceil(t.offsetWidth);return r&&(t.style.width=r),n&&(t.style.height=n),{height:l,width:i}}return{height:0,width:0}}},{key:"_maybeMeasureCell",value:function(){var e=this.props,t=e.cache,r=e.columnIndex,n=r===void 0?0:r,l=e.parent,i=e.rowIndex,a=i===void 0?this.props.index||0:i;if(!t.has(a,n)){var s=this._getCellMeasurements(),c=s.height,d=s.width;t.set(a,n,d,c),l&&typeof l.invalidateCellSizeAfterRender=="function"&&l.invalidateCellSizeAfterRender({columnIndex:n,rowIndex:a})}}}])}();function X(){var o=!(arguments.length>0&&arguments[0]!==void 0)||arguments[0],e={};return function(t){var r=t.callback,n=t.indices,l=Object.keys(n),i=!o||l.every(function(s){var c=n[s];return Array.isArray(c)?c.length>0:c>=0}),a=l.length!==Object.keys(e).length||l.some(function(s){var c=e[s],d=n[s];return Array.isArray(d)?c.join(",")!==d.join(","):c!==d});e=n,i&&a&&r(n)}}m(Xt,"__internalCellMeasurerFlag",!1);const Yt=!(typeof window>"u"||!window.document||!window.document.createElement);var le;function ge(o){if((!le&&le!==0||o)&&Yt){var e=document.createElement("div");e.style.position="absolute",e.style.top="-9999px",e.style.width="50px",e.style.height="50px",e.style.overflow="scroll",document.body.appendChild(e),le=e.offsetWidth-e.clientWidth,document.body.removeChild(e)}return le}function Ge(o,e){var t=Object.keys(o);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(o);e&&(r=r.filter(function(n){return Object.getOwnPropertyDescriptor(o,n).enumerable})),t.push.apply(t,r)}return t}function Ae(o){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?arguments[e]:{};e%2?Ge(Object(t),!0).forEach(function(r){m(o,r,t[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(o,Object.getOwnPropertyDescriptors(t)):Ge(Object(t)).forEach(function(r){Object.defineProperty(o,r,Object.getOwnPropertyDescriptor(t,r))})}return o}function _t(){try{var o=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(_t=function(){return!!o})()}var Z="requested",ce=function(){function o(){var e,t,r,n;G(this,o);for(var l=arguments.length,i=new Array(l),a=0;a<l;a++)i[a]=arguments[a];return t=this,r=o,n=[].concat(i),r=k(r),m(e=j(t,_t()?Reflect.construct(r,n||[],k(t).constructor):r.apply(t,n)),"state",{isScrolling:!1,scrollLeft:0,scrollTop:0}),m(e,"_calculateSizeAndPositionDataOnNextUpdate",!1),m(e,"_onSectionRenderedMemoizer",X()),m(e,"_onScrollMemoizer",X(!1)),m(e,"_invokeOnSectionRenderedHelper",function(){var s=e.props,c=s.cellLayoutManager,d=s.onSectionRendered;e._onSectionRenderedMemoizer({callback:d,indices:{indices:c.getLastRenderedIndices()}})}),m(e,"_setScrollingContainerRef",function(s){e._scrollingContainer=s}),m(e,"_updateScrollPositionForScrollToCell",function(){var s=e.props,c=s.cellLayoutManager,d=s.height,f=s.scrollToAlignment,p=s.scrollToCell,u=s.width,_=e.state,g=_.scrollLeft,S=_.scrollTop;if(p>=0){var y=c.getScrollPositionForCell({align:f,cellIndex:p,height:d,scrollLeft:g,scrollTop:S,width:u});y.scrollLeft===g&&y.scrollTop===S||e._setScrollPosition(y)}}),m(e,"_onScroll",function(s){if(s.target===e._scrollingContainer){e._enablePointerEventsAfterDelay();var c=e.props,d=c.cellLayoutManager,f=c.height,p=c.isScrollingChange,u=c.width,_=e._scrollbarSize,g=d.getTotalSize(),S=g.height,y=g.width,x=Math.max(0,Math.min(y-u+_,s.target.scrollLeft)),v=Math.max(0,Math.min(S-f+_,s.target.scrollTop));if(e.state.scrollLeft!==x||e.state.scrollTop!==v){var w=s.cancelable?"observed":Z;e.state.isScrolling||p(!0),e.setState({isScrolling:!0,scrollLeft:x,scrollPositionChangeReason:w,scrollTop:v})}e._invokeOnScrollMemoizer({scrollLeft:x,scrollTop:v,totalWidth:y,totalHeight:S})}}),e._scrollbarSize=ge(),e._scrollbarSize===void 0?(e._scrollbarSizeMeasured=!1,e._scrollbarSize=0):e._scrollbarSizeMeasured=!0,e}return H(o,h.reactExports.PureComponent),A(o,[{key:"recomputeCellSizesAndPositions",value:function(){this._calculateSizeAndPositionDataOnNextUpdate=!0,this.forceUpdate()}},{key:"componentDidMount",value:function(){var e=this.props,t=e.cellLayoutManager,r=e.scrollLeft,n=e.scrollToCell,l=e.scrollTop;this._scrollbarSizeMeasured||(this._scrollbarSize=ge(),this._scrollbarSizeMeasured=!0,this.setState({})),n>=0?this._updateScrollPositionForScrollToCell():(r>=0||l>=0)&&this._setScrollPosition({scrollLeft:r,scrollTop:l}),this._invokeOnSectionRenderedHelper();var i=t.getTotalSize(),a=i.height,s=i.width;this._invokeOnScrollMemoizer({scrollLeft:r||0,scrollTop:l||0,totalHeight:a,totalWidth:s})}},{key:"componentDidUpdate",value:function(e,t){var r=this.props,n=r.height,l=r.scrollToAlignment,i=r.scrollToCell,a=r.width,s=this.state,c=s.scrollLeft,d=s.scrollPositionChangeReason,f=s.scrollTop;d===Z&&(c>=0&&c!==t.scrollLeft&&c!==this._scrollingContainer.scrollLeft&&(this._scrollingContainer.scrollLeft=c),f>=0&&f!==t.scrollTop&&f!==this._scrollingContainer.scrollTop&&(this._scrollingContainer.scrollTop=f)),n===e.height&&l===e.scrollToAlignment&&i===e.scrollToCell&&a===e.width||this._updateScrollPositionForScrollToCell(),this._invokeOnSectionRenderedHelper()}},{key:"componentWillUnmount",value:function(){this._disablePointerEventsTimeoutId&&clearTimeout(this._disablePointerEventsTimeoutId)}},{key:"render",value:function(){var e=this.props,t=e.autoHeight,r=e.cellCount,n=e.cellLayoutManager,l=e.className,i=e.height,a=e.horizontalOverscanSize,s=e.id,c=e.noContentRenderer,d=e.style,f=e.verticalOverscanSize,p=e.width,u=this.state,_=u.isScrolling,g=u.scrollLeft,S=u.scrollTop;(this._lastRenderedCellCount!==r||this._lastRenderedCellLayoutManager!==n||this._calculateSizeAndPositionDataOnNextUpdate)&&(this._lastRenderedCellCount=r,this._lastRenderedCellLayoutManager=n,this._calculateSizeAndPositionDataOnNextUpdate=!1,n.calculateSizeAndPositionData());var y=n.getTotalSize(),x=y.height,v=y.width,w=Math.max(0,g-a),C=Math.max(0,S-f),b=Math.min(v,g+p+a),R=Math.min(x,S+i+f),T=i>0&&p>0?n.cellRenderers({height:R-C,isScrolling:_,width:b-w,x:w,y:C}):[],I={boxSizing:"border-box",direction:"ltr",height:t?"auto":i,position:"relative",WebkitOverflowScrolling:"touch",width:p,willChange:"transform"},O=x>i?this._scrollbarSize:0,P=v>p?this._scrollbarSize:0;return I.overflowX=v+O<=p?"hidden":"auto",I.overflowY=x+P<=i?"hidden":"auto",h.reactExports.createElement("div",{ref:this._setScrollingContainerRef,"aria-label":this.props["aria-label"],className:h.cl("ReactVirtualized__Collection",l),id:s,onScroll:this._onScroll,role:"grid",style:Ae(Ae({},I),d),tabIndex:0},r>0&&h.reactExports.createElement("div",{className:"ReactVirtualized__Collection__innerScrollContainer",style:{height:x,maxHeight:x,maxWidth:v,overflow:"hidden",pointerEvents:_?"none":"",width:v}},T),r===0&&c())}},{key:"_enablePointerEventsAfterDelay",value:function(){var e=this;this._disablePointerEventsTimeoutId&&clearTimeout(this._disablePointerEventsTimeoutId),this._disablePointerEventsTimeoutId=setTimeout(function(){(0,e.props.isScrollingChange)(!1),e._disablePointerEventsTimeoutId=null,e.setState({isScrolling:!1})},150)}},{key:"_invokeOnScrollMemoizer",value:function(e){var t=this,r=e.scrollLeft,n=e.scrollTop,l=e.totalHeight,i=e.totalWidth;this._onScrollMemoizer({callback:function(a){var s=a.scrollLeft,c=a.scrollTop,d=t.props,f=d.height;(0,d.onScroll)({clientHeight:f,clientWidth:d.width,scrollHeight:l,scrollLeft:s,scrollTop:c,scrollWidth:i})},indices:{scrollLeft:r,scrollTop:n}})}},{key:"_setScrollPosition",value:function(e){var t=e.scrollLeft,r=e.scrollTop,n={scrollPositionChangeReason:Z};t>=0&&(n.scrollLeft=t),r>=0&&(n.scrollTop=r),(t>=0&&t!==this.state.scrollLeft||r>=0&&r!==this.state.scrollTop)&&this.setState(n)}}],[{key:"getDerivedStateFromProps",value:function(e,t){return e.cellCount!==0||t.scrollLeft===0&&t.scrollTop===0?e.scrollLeft!==t.scrollLeft||e.scrollTop!==t.scrollTop?{scrollLeft:e.scrollLeft!=null?e.scrollLeft:t.scrollLeft,scrollTop:e.scrollTop!=null?e.scrollTop:t.scrollTop,scrollPositionChangeReason:Z}:null:{scrollLeft:0,scrollTop:0,scrollPositionChangeReason:Z}}}])}();m(ce,"defaultProps",{"aria-label":"grid",horizontalOverscanSize:0,noContentRenderer:function(){return null},onScroll:function(){return null},onSectionRendered:function(){return null},scrollToAlignment:"auto",scrollToCell:-1,style:{},verticalOverscanSize:0}),ce.propTypes={},ie(ce);var Zt=A(function o(e){var t=e.height,r=e.width,n=e.x,l=e.y;G(this,o),this.height=t,this.width=r,this.x=n,this.y=l,this._indexMap={},this._indices=[]},[{key:"addCellIndex",value:function(o){var e=o.index;this._indexMap[e]||(this._indexMap[e]=!0,this._indices.push(e))}},{key:"getCellIndices",value:function(){return this._indices}},{key:"toString",value:function(){return"".concat(this.x,",").concat(this.y," ").concat(this.width,"x").concat(this.height)}}]),Jt=A(function o(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:100;G(this,o),this._sectionSize=e,this._cellMetadata=[],this._sections={}},[{key:"getCellIndices",value:function(o){var e=o.height,t=o.width,r=o.x,n=o.y,l={};return this.getSections({height:e,width:t,x:r,y:n}).forEach(function(i){return i.getCellIndices().forEach(function(a){l[a]=a})}),Object.keys(l).map(function(i){return l[i]})}},{key:"getCellMetadata",value:function(o){var e=o.index;return this._cellMetadata[e]}},{key:"getSections",value:function(o){for(var e=o.height,t=o.width,r=o.x,n=o.y,l=Math.floor(r/this._sectionSize),i=Math.floor((r+t-1)/this._sectionSize),a=Math.floor(n/this._sectionSize),s=Math.floor((n+e-1)/this._sectionSize),c=[],d=l;d<=i;d++)for(var f=a;f<=s;f++){var p="".concat(d,".").concat(f);this._sections[p]||(this._sections[p]=new Zt({height:this._sectionSize,width:this._sectionSize,x:d*this._sectionSize,y:f*this._sectionSize})),c.push(this._sections[p])}return c}},{key:"getTotalSectionCount",value:function(){return Object.keys(this._sections).length}},{key:"toString",value:function(){var o=this;return Object.keys(this._sections).map(function(e){return o._sections[e].toString()})}},{key:"registerCell",value:function(o){var e=o.cellMetadatum,t=o.index;this._cellMetadata[t]=e,this.getSections(e).forEach(function(r){return r.addCellIndex({index:t})})}}]);function je(o){var e=o.align,t=e===void 0?"auto":e,r=o.cellOffset,n=o.cellSize,l=o.containerSize,i=o.currentOffset,a=r,s=a-l+n;switch(t){case"start":return a;case"end":return s;case"center":return a-(l-n)/2;default:return Math.max(s,Math.min(a,i))}}function St(){try{var o=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(St=function(){return!!o})()}var He=function(){function o(e,t){var r,n,l,i;return G(this,o),n=this,i=[e,t],l=k(l=o),(r=j(n,St()?Reflect.construct(l,i||[],k(n).constructor):l.apply(n,i)))._cellMetadata=[],r._lastRenderedCellIndices=[],r._cellCache=[],r._isScrollingChange=r._isScrollingChange.bind(r),r._setCollectionViewRef=r._setCollectionViewRef.bind(r),r}return H(o,h.reactExports.PureComponent),A(o,[{key:"forceUpdate",value:function(){this._collectionView!==void 0&&this._collectionView.forceUpdate()}},{key:"recomputeCellSizesAndPositions",value:function(){this._cellCache=[],this._collectionView.recomputeCellSizesAndPositions()}},{key:"render",value:function(){var e=h.qu({},(function(t){if(t==null)throw new TypeError("Cannot destructure "+t)}(this.props),this.props));return h.reactExports.createElement(ce,h.qu({cellLayoutManager:this,isScrollingChange:this._isScrollingChange,ref:this._setCollectionViewRef},e))}},{key:"calculateSizeAndPositionData",value:function(){var e=this.props,t=function(r){for(var n=r.cellCount,l=r.cellSizeAndPositionGetter,i=[],a=new Jt(r.sectionSize),s=0,c=0,d=0;d<n;d++){var f=l({index:d});if(f.height==null||isNaN(f.height)||f.width==null||isNaN(f.width)||f.x==null||isNaN(f.x)||f.y==null||isNaN(f.y))throw Error("Invalid metadata returned for cell ".concat(d,`:
16
+ x:`).concat(f.x,", y:").concat(f.y,", width:").concat(f.width,", height:").concat(f.height));s=Math.max(s,f.y+f.height),c=Math.max(c,f.x+f.width),i[d]=f,a.registerCell({cellMetadatum:f,index:d})}return{cellMetadata:i,height:s,sectionManager:a,width:c}}({cellCount:e.cellCount,cellSizeAndPositionGetter:e.cellSizeAndPositionGetter,sectionSize:e.sectionSize});this._cellMetadata=t.cellMetadata,this._sectionManager=t.sectionManager,this._height=t.height,this._width=t.width}},{key:"getLastRenderedIndices",value:function(){return this._lastRenderedCellIndices}},{key:"getScrollPositionForCell",value:function(e){var t=e.align,r=e.cellIndex,n=e.height,l=e.scrollLeft,i=e.scrollTop,a=e.width,s=this.props.cellCount;if(r>=0&&r<s){var c=this._cellMetadata[r];l=je({align:t,cellOffset:c.x,cellSize:c.width,containerSize:a,currentOffset:l}),i=je({align:t,cellOffset:c.y,cellSize:c.height,containerSize:n,currentOffset:i})}return{scrollLeft:l,scrollTop:i}}},{key:"getTotalSize",value:function(){return{height:this._height,width:this._width}}},{key:"cellRenderers",value:function(e){var t=this,r=e.height,n=e.isScrolling,l=e.width,i=e.x,a=e.y,s=this.props,c=s.cellGroupRenderer,d=s.cellRenderer;return this._lastRenderedCellIndices=this._sectionManager.getCellIndices({height:r,width:l,x:i,y:a}),c({cellCache:this._cellCache,cellRenderer:d,cellSizeAndPositionGetter:function(f){var p=f.index;return t._sectionManager.getCellMetadata({index:p})},indices:this._lastRenderedCellIndices,isScrolling:n})}},{key:"_isScrollingChange",value:function(e){e||(this._cellCache=[])}},{key:"_setCollectionViewRef",value:function(e){this._collectionView=e}}])}();function yt(){try{var o=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(yt=function(){return!!o})()}function We(o){var e=o.cellCount,t=o.cellSize,r=o.computeMetadataCallback,n=o.computeMetadataCallbackProps,l=o.nextCellsCount,i=o.nextCellSize,a=o.nextScrollToIndex,s=o.scrollToIndex,c=o.updateScrollOffsetForScrollToIndex;e===l&&(typeof t!="number"&&typeof i!="number"||t===i)||(r(n),s>=0&&s===a&&c())}function Q(o,e){if(o==null)return{};var t,r,n=h.zg(o,e);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(o);for(r=0;r<l.length;r++)t=l[r],e.indexOf(t)===-1&&{}.propertyIsEnumerable.call(o,t)&&(n[t]=o[t])}return n}m(He,"defaultProps",{"aria-label":"grid",cellGroupRenderer:function(o){var e=o.cellCache,t=o.cellRenderer,r=o.cellSizeAndPositionGetter,n=o.indices,l=o.isScrolling;return n.map(function(i){var a=r({index:i}),s={index:i,isScrolling:l,key:i,style:{height:a.height,left:a.x,position:"absolute",top:a.y,width:a.width}};return l?(i in e||(e[i]=t(s)),e[i]):t(s)}).filter(function(i){return!!i})}}),He.propTypes={},function(){function o(e,t){var r,n,l,i;return G(this,o),n=this,i=[e,t],l=k(l=o),(r=j(n,yt()?Reflect.construct(l,i||[],k(n).constructor):l.apply(n,i)))._registerChild=r._registerChild.bind(r),r}return H(o,h.reactExports.PureComponent),A(o,[{key:"componentDidUpdate",value:function(e){var t=this.props,r=t.columnMaxWidth,n=t.columnMinWidth,l=t.columnCount,i=t.width;r===e.columnMaxWidth&&n===e.columnMinWidth&&l===e.columnCount&&i===e.width||this._registeredChild&&this._registeredChild.recomputeGridSize()}},{key:"render",value:function(){var e=this.props,t=e.children,r=e.columnMaxWidth,n=e.columnMinWidth,l=e.columnCount,i=e.width,a=n||1,s=r?Math.min(r,i):i,c=i/l;return c=Math.max(a,c),c=Math.min(s,c),c=Math.floor(c),t({adjustedWidth:Math.min(i,c*l),columnWidth:c,getColumnWidth:function(){return c},registerChild:this._registerChild})}},{key:"_registerChild",value:function(e){if(e&&typeof e.recomputeGridSize!="function")throw Error("Unexpected child type registered; only Grid/MultiGrid children are supported.");this._registeredChild=e,this._registeredChild&&this._registeredChild.recomputeGridSize()}}])}().propTypes={};var D,Qt=A(function o(e){var t=e.cellCount,r=e.cellSizeGetter,n=e.estimatedCellSize;G(this,o),m(this,"_cellSizeAndPositionData",{}),m(this,"_lastMeasuredIndex",-1),m(this,"_lastBatchedIndex",-1),m(this,"_cellCount",void 0),m(this,"_cellSizeGetter",void 0),m(this,"_estimatedCellSize",void 0),this._cellSizeGetter=r,this._cellCount=t,this._estimatedCellSize=n},[{key:"areOffsetsAdjusted",value:function(){return!1}},{key:"configure",value:function(o){var e=o.cellCount,t=o.estimatedCellSize,r=o.cellSizeGetter;this._cellCount=e,this._estimatedCellSize=t,this._cellSizeGetter=r}},{key:"getCellCount",value:function(){return this._cellCount}},{key:"getEstimatedCellSize",value:function(){return this._estimatedCellSize}},{key:"getLastMeasuredIndex",value:function(){return this._lastMeasuredIndex}},{key:"getOffsetAdjustment",value:function(){return 0}},{key:"getSizeAndPositionOfCell",value:function(o){if(o<0||o>=this._cellCount)throw Error("Requested index ".concat(o," is outside of range 0..").concat(this._cellCount));if(o>this._lastMeasuredIndex)for(var e=this.getSizeAndPositionOfLastMeasuredCell(),t=e.offset+e.size,r=this._lastMeasuredIndex+1;r<=o;r++){var n=this._cellSizeGetter({index:r});if(n===void 0||isNaN(n))throw Error("Invalid size returned for cell ".concat(r," of value ").concat(n));n===null?(this._cellSizeAndPositionData[r]={offset:t,size:0},this._lastBatchedIndex=o):(this._cellSizeAndPositionData[r]={offset:t,size:n},t+=n,this._lastMeasuredIndex=o)}return this._cellSizeAndPositionData[o]}},{key:"getSizeAndPositionOfLastMeasuredCell",value:function(){return this._lastMeasuredIndex>=0?this._cellSizeAndPositionData[this._lastMeasuredIndex]:{offset:0,size:0}}},{key:"getTotalSize",value:function(){var o=this.getSizeAndPositionOfLastMeasuredCell();return o.offset+o.size+(this._cellCount-this._lastMeasuredIndex-1)*this._estimatedCellSize}},{key:"getUpdatedOffsetForIndex",value:function(o){var e=o.align,t=e===void 0?"auto":e,r=o.containerSize,n=o.currentOffset,l=o.targetIndex;if(r<=0)return 0;var i,a=this.getSizeAndPositionOfCell(l),s=a.offset,c=s-r+a.size;switch(t){case"start":i=s;break;case"end":i=c;break;case"center":i=s-(r-a.size)/2;break;default:i=Math.max(c,Math.min(s,n))}var d=this.getTotalSize();return Math.max(0,Math.min(d-r,i))}},{key:"getVisibleCellRange",value:function(o){var e=o.containerSize,t=o.offset;if(this.getTotalSize()===0)return{};var r=t+e,n=this._findNearestCell(t),l=this.getSizeAndPositionOfCell(n);t=l.offset+l.size;for(var i=n;t<r&&i<this._cellCount-1;)i++,t+=this.getSizeAndPositionOfCell(i).size;return{start:n,stop:i}}},{key:"resetCell",value:function(o){this._lastMeasuredIndex=Math.min(this._lastMeasuredIndex,o-1)}},{key:"_binarySearch",value:function(o,e,t){for(;e<=o;){var r=e+Math.floor((o-e)/2),n=this.getSizeAndPositionOfCell(r).offset;if(n===t)return r;n<t?e=r+1:n>t&&(o=r-1)}return e>0?e-1:0}},{key:"_exponentialSearch",value:function(o,e){for(var t=1;o<this._cellCount&&this.getSizeAndPositionOfCell(o).offset<e;)o+=t,t*=2;return this._binarySearch(Math.min(o,this._cellCount-1),Math.floor(o/2),e)}},{key:"_findNearestCell",value:function(o){if(isNaN(o))throw Error("Invalid offset ".concat(o," specified"));o=Math.max(0,o);var e=this.getSizeAndPositionOfLastMeasuredCell(),t=Math.max(0,this._lastMeasuredIndex);return e.offset>=o?this._binarySearch(t,0,o):this._exponentialSearch(t,o)}}]),eo=["maxScrollSize"],De=A(function o(e){var t=e.maxScrollSize,r=t===void 0?typeof window<"u"&&window.chrome?16777100:15e5:t,n=Q(e,eo);G(this,o),m(this,"_cellSizeAndPositionManager",void 0),m(this,"_maxScrollSize",void 0),this._cellSizeAndPositionManager=new Qt(n),this._maxScrollSize=r},[{key:"areOffsetsAdjusted",value:function(){return this._cellSizeAndPositionManager.getTotalSize()>this._maxScrollSize}},{key:"configure",value:function(o){this._cellSizeAndPositionManager.configure(o)}},{key:"getCellCount",value:function(){return this._cellSizeAndPositionManager.getCellCount()}},{key:"getEstimatedCellSize",value:function(){return this._cellSizeAndPositionManager.getEstimatedCellSize()}},{key:"getLastMeasuredIndex",value:function(){return this._cellSizeAndPositionManager.getLastMeasuredIndex()}},{key:"getOffsetAdjustment",value:function(o){var e=o.containerSize,t=o.offset,r=this._cellSizeAndPositionManager.getTotalSize(),n=this.getTotalSize(),l=this._getOffsetPercentage({containerSize:e,offset:t,totalSize:n});return Math.round(l*(n-r))}},{key:"getSizeAndPositionOfCell",value:function(o){return this._cellSizeAndPositionManager.getSizeAndPositionOfCell(o)}},{key:"getSizeAndPositionOfLastMeasuredCell",value:function(){return this._cellSizeAndPositionManager.getSizeAndPositionOfLastMeasuredCell()}},{key:"getTotalSize",value:function(){return Math.min(this._maxScrollSize,this._cellSizeAndPositionManager.getTotalSize())}},{key:"getUpdatedOffsetForIndex",value:function(o){var e=o.align,t=e===void 0?"auto":e,r=o.containerSize,n=o.currentOffset,l=o.targetIndex;n=this._safeOffsetToOffset({containerSize:r,offset:n});var i=this._cellSizeAndPositionManager.getUpdatedOffsetForIndex({align:t,containerSize:r,currentOffset:n,targetIndex:l});return this._offsetToSafeOffset({containerSize:r,offset:i})}},{key:"getVisibleCellRange",value:function(o){var e=o.containerSize,t=o.offset;return t=this._safeOffsetToOffset({containerSize:e,offset:t}),this._cellSizeAndPositionManager.getVisibleCellRange({containerSize:e,offset:t})}},{key:"resetCell",value:function(o){this._cellSizeAndPositionManager.resetCell(o)}},{key:"_getOffsetPercentage",value:function(o){var e=o.containerSize,t=o.offset,r=o.totalSize;return r<=e?0:t/(r-e)}},{key:"_offsetToSafeOffset",value:function(o){var e=o.containerSize,t=o.offset,r=this._cellSizeAndPositionManager.getTotalSize(),n=this.getTotalSize();if(r===n)return t;var l=this._getOffsetPercentage({containerSize:e,offset:t,totalSize:r});return Math.round(l*(n-e))}},{key:"_safeOffsetToOffset",value:function(o){var e=o.containerSize,t=o.offset,r=this._cellSizeAndPositionManager.getTotalSize(),n=this.getTotalSize();if(r===n)return t;var l=this._getOffsetPercentage({containerSize:e,offset:t,totalSize:n});return Math.round(l*(r-e))}}]);function Fe(o){var e=o.cellSize,t=o.cellSizeAndPositionManager,r=o.previousCellsCount,n=o.previousCellSize,l=o.previousScrollToAlignment,i=o.previousScrollToIndex,a=o.previousSize,s=o.scrollOffset,c=o.scrollToAlignment,d=o.scrollToIndex,f=o.size,p=o.sizeJustIncreasedFromZero,u=o.updateScrollIndexCallback,_=t.getCellCount(),g=d>=0&&d<_;g&&(f!==a||p||!n||typeof e=="number"&&e!==n||c!==l||d!==i)?u(d):!g&&_>0&&(f<a||_<r)&&s>t.getTotalSize()-f&&u(_-1)}var to=(D=typeof window<"u"?window:typeof self<"u"?self:{}).requestAnimationFrame||D.webkitRequestAnimationFrame||D.mozRequestAnimationFrame||D.oRequestAnimationFrame||D.msRequestAnimationFrame||function(o){return D.setTimeout(o,1e3/60)},oo=D.cancelAnimationFrame||D.webkitCancelAnimationFrame||D.mozCancelAnimationFrame||D.oCancelAnimationFrame||D.msCancelAnimationFrame||function(o){D.clearTimeout(o)},Ne=to,ro=oo,Y=function(o){return ro(o.id)},Re=function(o,e){var t;Promise.resolve().then(function(){t=Date.now()});var r=function(){Date.now()-t>=e?o.call():n.id=Ne(r)},n={id:Ne(r)};return n};function Be(o,e){var t=Object.keys(o);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(o);e&&(r=r.filter(function(n){return Object.getOwnPropertyDescriptor(o,n).enumerable})),t.push.apply(t,r)}return t}function W(o){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?arguments[e]:{};e%2?Be(Object(t),!0).forEach(function(r){m(o,r,t[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(o,Object.getOwnPropertyDescriptors(t)):Be(Object(t)).forEach(function(r){Object.defineProperty(o,r,Object.getOwnPropertyDescriptor(t,r))})}return o}function xt(){try{var o=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(xt=function(){return!!o})()}var Ue="requested",B=function(){function o(e){var t,r,n,l;G(this,o),r=this,l=[e],n=k(n=o),m(t=j(r,xt()?Reflect.construct(n,l||[],k(r).constructor):n.apply(r,l)),"_onGridRenderedMemoizer",X()),m(t,"_onScrollMemoizer",X(!1)),m(t,"_deferredInvalidateColumnIndex",null),m(t,"_deferredInvalidateRowIndex",null),m(t,"_recomputeScrollLeftFlag",!1),m(t,"_recomputeScrollTopFlag",!1),m(t,"_horizontalScrollBarSize",0),m(t,"_verticalScrollBarSize",0),m(t,"_scrollbarPresenceChanged",!1),m(t,"_scrollingContainer",void 0),m(t,"_childrenToDisplay",void 0),m(t,"_columnStartIndex",void 0),m(t,"_columnStopIndex",void 0),m(t,"_rowStartIndex",void 0),m(t,"_rowStopIndex",void 0),m(t,"_renderedColumnStartIndex",0),m(t,"_renderedColumnStopIndex",0),m(t,"_renderedRowStartIndex",0),m(t,"_renderedRowStopIndex",0),m(t,"_initialScrollTop",void 0),m(t,"_initialScrollLeft",void 0),m(t,"_disablePointerEventsTimeoutId",void 0),m(t,"_styleCache",{}),m(t,"_cellCache",{}),m(t,"_debounceScrollEndedCallback",function(){t._disablePointerEventsTimeoutId=null,t.setState({isScrolling:!1,needToResetStyleCache:!1})}),m(t,"_invokeOnGridRenderedHelper",function(){var s=t.props.onSectionRendered;t._onGridRenderedMemoizer({callback:s,indices:{columnOverscanStartIndex:t._columnStartIndex,columnOverscanStopIndex:t._columnStopIndex,columnStartIndex:t._renderedColumnStartIndex,columnStopIndex:t._renderedColumnStopIndex,rowOverscanStartIndex:t._rowStartIndex,rowOverscanStopIndex:t._rowStopIndex,rowStartIndex:t._renderedRowStartIndex,rowStopIndex:t._renderedRowStopIndex}})}),m(t,"_setScrollingContainerRef",function(s){t._scrollingContainer=s,typeof t.props.elementRef=="function"?t.props.elementRef(s):K(t.props.elementRef)==="object"&&(t.props.elementRef.current=s)}),m(t,"_onScroll",function(s){s.target===t._scrollingContainer&&t.handleScrollEvent(s.target)});var i=new De({cellCount:e.columnCount,cellSizeGetter:function(s){return o._wrapSizeGetter(e.columnWidth)(s)},estimatedCellSize:o._getEstimatedColumnSize(e)}),a=new De({cellCount:e.rowCount,cellSizeGetter:function(s){return o._wrapSizeGetter(e.rowHeight)(s)},estimatedCellSize:o._getEstimatedRowSize(e)});return t.state={instanceProps:{columnSizeAndPositionManager:i,rowSizeAndPositionManager:a,prevColumnWidth:e.columnWidth,prevRowHeight:e.rowHeight,prevColumnCount:e.columnCount,prevRowCount:e.rowCount,prevIsScrolling:e.isScrolling===!0,prevScrollToColumn:e.scrollToColumn,prevScrollToRow:e.scrollToRow,scrollbarSize:0,scrollbarSizeMeasured:!1},isScrolling:!1,scrollDirectionHorizontal:1,scrollDirectionVertical:1,scrollLeft:0,scrollTop:0,scrollPositionChangeReason:null,needToResetStyleCache:!1},e.scrollToRow>0&&(t._initialScrollTop=t._getCalculatedScrollTop(e,t.state)),e.scrollToColumn>0&&(t._initialScrollLeft=t._getCalculatedScrollLeft(e,t.state)),t}return H(o,h.reactExports.PureComponent),A(o,[{key:"getOffsetForCell",value:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=e.alignment,r=t===void 0?this.props.scrollToAlignment:t,n=e.columnIndex,l=n===void 0?this.props.scrollToColumn:n,i=e.rowIndex,a=i===void 0?this.props.scrollToRow:i,s=W(W({},this.props),{},{scrollToAlignment:r,scrollToColumn:l,scrollToRow:a});return{scrollLeft:this._getCalculatedScrollLeft(s),scrollTop:this._getCalculatedScrollTop(s)}}},{key:"getTotalRowsHeight",value:function(){return this.state.instanceProps.rowSizeAndPositionManager.getTotalSize()}},{key:"getTotalColumnsWidth",value:function(){return this.state.instanceProps.columnSizeAndPositionManager.getTotalSize()}},{key:"handleScrollEvent",value:function(e){var t=e.scrollLeft,r=t===void 0?0:t,n=e.scrollTop,l=n===void 0?0:n;if(!(l<0)){this._debounceScrollEnded();var i=this.props,a=i.autoHeight,s=i.autoWidth,c=i.height,d=i.width,f=this.state.instanceProps,p=f.scrollbarSize,u=f.rowSizeAndPositionManager.getTotalSize(),_=f.columnSizeAndPositionManager.getTotalSize(),g=Math.min(Math.max(0,_-d+p),r),S=Math.min(Math.max(0,u-c+p),l);if(this.state.scrollLeft!==g||this.state.scrollTop!==S){var y={isScrolling:!0,scrollDirectionHorizontal:g!==this.state.scrollLeft?g>this.state.scrollLeft?1:-1:this.state.scrollDirectionHorizontal,scrollDirectionVertical:S!==this.state.scrollTop?S>this.state.scrollTop?1:-1:this.state.scrollDirectionVertical,scrollPositionChangeReason:"observed"};a||(y.scrollTop=S),s||(y.scrollLeft=g),y.needToResetStyleCache=!1,this.setState(y)}this._invokeOnScrollMemoizer({scrollLeft:g,scrollTop:S,totalColumnsWidth:_,totalRowsHeight:u})}}},{key:"invalidateCellSizeAfterRender",value:function(e){var t=e.columnIndex,r=e.rowIndex;this._deferredInvalidateColumnIndex=typeof this._deferredInvalidateColumnIndex=="number"?Math.min(this._deferredInvalidateColumnIndex,t):t,this._deferredInvalidateRowIndex=typeof this._deferredInvalidateRowIndex=="number"?Math.min(this._deferredInvalidateRowIndex,r):r}},{key:"measureAllCells",value:function(){var e=this.props,t=e.columnCount,r=e.rowCount,n=this.state.instanceProps;n.columnSizeAndPositionManager.getSizeAndPositionOfCell(t-1),n.rowSizeAndPositionManager.getSizeAndPositionOfCell(r-1)}},{key:"recomputeGridSize",value:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=e.columnIndex,r=t===void 0?0:t,n=e.rowIndex,l=n===void 0?0:n,i=this.props,a=i.scrollToColumn,s=i.scrollToRow,c=this.state.instanceProps;c.columnSizeAndPositionManager.resetCell(r),c.rowSizeAndPositionManager.resetCell(l),this._recomputeScrollLeftFlag=a>=0&&(this.state.scrollDirectionHorizontal===1?r<=a:r>=a),this._recomputeScrollTopFlag=s>=0&&(this.state.scrollDirectionVertical===1?l<=s:l>=s),this._styleCache={},this._cellCache={},this.forceUpdate()}},{key:"scrollToCell",value:function(e){var t=e.columnIndex,r=e.rowIndex,n=this.props.columnCount,l=this.props;n>1&&t!==void 0&&this._updateScrollLeftForScrollToColumn(W(W({},l),{},{scrollToColumn:t})),r!==void 0&&this._updateScrollTopForScrollToRow(W(W({},l),{},{scrollToRow:r}))}},{key:"componentDidMount",value:function(){var e=this.props,t=e.getScrollbarSize,r=e.height,n=e.scrollLeft,l=e.scrollToColumn,i=e.scrollTop,a=e.scrollToRow,s=e.width,c=this.state.instanceProps;if(this._initialScrollTop=0,this._initialScrollLeft=0,this._handleInvalidatedGridSize(),c.scrollbarSizeMeasured||this.setState(function(p){var u=W(W({},p),{},{needToResetStyleCache:!1});return u.instanceProps.scrollbarSize=t(),u.instanceProps.scrollbarSizeMeasured=!0,u}),typeof n=="number"&&n>=0||typeof i=="number"&&i>=0){var d=o._getScrollToPositionStateUpdate({prevState:this.state,scrollLeft:n,scrollTop:i});d&&(d.needToResetStyleCache=!1,this.setState(d))}this._scrollingContainer&&(this._scrollingContainer.scrollLeft!==this.state.scrollLeft&&(this._scrollingContainer.scrollLeft=this.state.scrollLeft),this._scrollingContainer.scrollTop!==this.state.scrollTop&&(this._scrollingContainer.scrollTop=this.state.scrollTop));var f=r>0&&s>0;l>=0&&f&&this._updateScrollLeftForScrollToColumn(),a>=0&&f&&this._updateScrollTopForScrollToRow(),this._invokeOnGridRenderedHelper(),this._invokeOnScrollMemoizer({scrollLeft:n||0,scrollTop:i||0,totalColumnsWidth:c.columnSizeAndPositionManager.getTotalSize(),totalRowsHeight:c.rowSizeAndPositionManager.getTotalSize()}),this._maybeCallOnScrollbarPresenceChange()}},{key:"componentDidUpdate",value:function(e,t){var r=this,n=this.props,l=n.autoHeight,i=n.autoWidth,a=n.columnCount,s=n.height,c=n.rowCount,d=n.scrollToAlignment,f=n.scrollToColumn,p=n.scrollToRow,u=n.width,_=this.state,g=_.scrollLeft,S=_.scrollPositionChangeReason,y=_.scrollTop,x=_.instanceProps;this._handleInvalidatedGridSize();var v=a>0&&e.columnCount===0||c>0&&e.rowCount===0;S===Ue&&(!i&&g>=0&&(g!==this._scrollingContainer.scrollLeft||v)&&(this._scrollingContainer.scrollLeft=g),!l&&y>=0&&(y!==this._scrollingContainer.scrollTop||v)&&(this._scrollingContainer.scrollTop=y));var w=(e.width===0||e.height===0)&&s>0&&u>0;if(this._recomputeScrollLeftFlag?(this._recomputeScrollLeftFlag=!1,this._updateScrollLeftForScrollToColumn(this.props)):Fe({cellSizeAndPositionManager:x.columnSizeAndPositionManager,previousCellsCount:e.columnCount,previousCellSize:e.columnWidth,previousScrollToAlignment:e.scrollToAlignment,previousScrollToIndex:e.scrollToColumn,previousSize:e.width,scrollOffset:g,scrollToAlignment:d,scrollToIndex:f,size:u,sizeJustIncreasedFromZero:w,updateScrollIndexCallback:function(){return r._updateScrollLeftForScrollToColumn(r.props)}}),this._recomputeScrollTopFlag?(this._recomputeScrollTopFlag=!1,this._updateScrollTopForScrollToRow(this.props)):Fe({cellSizeAndPositionManager:x.rowSizeAndPositionManager,previousCellsCount:e.rowCount,previousCellSize:e.rowHeight,previousScrollToAlignment:e.scrollToAlignment,previousScrollToIndex:e.scrollToRow,previousSize:e.height,scrollOffset:y,scrollToAlignment:d,scrollToIndex:p,size:s,sizeJustIncreasedFromZero:w,updateScrollIndexCallback:function(){return r._updateScrollTopForScrollToRow(r.props)}}),this._invokeOnGridRenderedHelper(),g!==t.scrollLeft||y!==t.scrollTop){var C=x.rowSizeAndPositionManager.getTotalSize(),b=x.columnSizeAndPositionManager.getTotalSize();this._invokeOnScrollMemoizer({scrollLeft:g,scrollTop:y,totalColumnsWidth:b,totalRowsHeight:C})}this._maybeCallOnScrollbarPresenceChange()}},{key:"componentWillUnmount",value:function(){this._disablePointerEventsTimeoutId&&Y(this._disablePointerEventsTimeoutId)}},{key:"render",value:function(){var e=this.props,t=e.autoContainerWidth,r=e.autoHeight,n=e.autoWidth,l=e.className,i=e.containerProps,a=e.containerRole,s=e.containerStyle,c=e.height,d=e.id,f=e.noContentRenderer,p=e.role,u=e.style,_=e.tabIndex,g=e.width,S=this.state,y=S.instanceProps,x=S.needToResetStyleCache,v=this._isScrolling(),w={boxSizing:"border-box",direction:"ltr",height:r?"auto":c,position:"relative",width:n?"auto":g,WebkitOverflowScrolling:"touch",willChange:"transform"};x&&(this._styleCache={}),this.state.isScrolling||this._resetStyleCache(),this._calculateChildrenToRender(this.props,this.state);var C=y.columnSizeAndPositionManager.getTotalSize(),b=y.rowSizeAndPositionManager.getTotalSize(),R=b>c?y.scrollbarSize:0,T=C>g?y.scrollbarSize:0;T===this._horizontalScrollBarSize&&R===this._verticalScrollBarSize||(this._horizontalScrollBarSize=T,this._verticalScrollBarSize=R,this._scrollbarPresenceChanged=!0),w.overflowX=C+R<=g?"hidden":"auto",w.overflowY=b+T<=c?"hidden":"auto";var I=this._childrenToDisplay,O=I.length===0&&c>0&&g>0;return h.reactExports.createElement("div",h.qu({ref:this._setScrollingContainerRef},i,{"aria-label":this.props["aria-label"],"aria-readonly":this.props["aria-readonly"],className:h.cl("ReactVirtualized__Grid",l),id:d,onScroll:this._onScroll,role:p,style:W(W({},w),u),tabIndex:_}),I.length>0&&h.reactExports.createElement("div",{className:"ReactVirtualized__Grid__innerScrollContainer",role:a,style:W({width:t?"auto":C,height:b,maxWidth:C,maxHeight:b,overflow:"hidden",pointerEvents:v?"none":"",position:"relative"},s)},I),O&&f())}},{key:"_calculateChildrenToRender",value:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.props,t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.state,r=e.cellRenderer,n=e.cellRangeRenderer,l=e.columnCount,i=e.deferredMeasurementCache,a=e.height,s=e.overscanColumnCount,c=e.overscanIndicesGetter,d=e.overscanRowCount,f=e.rowCount,p=e.width,u=e.isScrollingOptOut,_=t.scrollDirectionHorizontal,g=t.scrollDirectionVertical,S=t.instanceProps,y=this._initialScrollTop>0?this._initialScrollTop:t.scrollTop,x=this._initialScrollLeft>0?this._initialScrollLeft:t.scrollLeft,v=this._isScrolling(e,t);if(this._childrenToDisplay=[],a>0&&p>0){var w=S.columnSizeAndPositionManager.getVisibleCellRange({containerSize:p,offset:x}),C=S.rowSizeAndPositionManager.getVisibleCellRange({containerSize:a,offset:y}),b=S.columnSizeAndPositionManager.getOffsetAdjustment({containerSize:p,offset:x}),R=S.rowSizeAndPositionManager.getOffsetAdjustment({containerSize:a,offset:y});this._renderedColumnStartIndex=w.start,this._renderedColumnStopIndex=w.stop,this._renderedRowStartIndex=C.start,this._renderedRowStopIndex=C.stop;var T=c({direction:"horizontal",cellCount:l,overscanCellsCount:s,scrollDirection:_,startIndex:typeof w.start=="number"?w.start:0,stopIndex:typeof w.stop=="number"?w.stop:-1}),I=c({direction:"vertical",cellCount:f,overscanCellsCount:d,scrollDirection:g,startIndex:typeof C.start=="number"?C.start:0,stopIndex:typeof C.stop=="number"?C.stop:-1}),O=T.overscanStartIndex,P=T.overscanStopIndex,z=I.overscanStartIndex,E=I.overscanStopIndex;if(i){if(!i.hasFixedHeight()){for(var L=z;L<=E;L++)if(!i.has(L,0)){O=0,P=l-1;break}}if(!i.hasFixedWidth()){for(var F=O;F<=P;F++)if(!i.has(0,F)){z=0,E=f-1;break}}}this._childrenToDisplay=n({cellCache:this._cellCache,cellRenderer:r,columnSizeAndPositionManager:S.columnSizeAndPositionManager,columnStartIndex:O,columnStopIndex:P,deferredMeasurementCache:i,horizontalOffsetAdjustment:b,isScrolling:v,isScrollingOptOut:u,parent:this,rowSizeAndPositionManager:S.rowSizeAndPositionManager,rowStartIndex:z,rowStopIndex:E,scrollLeft:x,scrollTop:y,styleCache:this._styleCache,verticalOffsetAdjustment:R,visibleColumnIndices:w,visibleRowIndices:C}),this._columnStartIndex=O,this._columnStopIndex=P,this._rowStartIndex=z,this._rowStopIndex=E}}},{key:"_debounceScrollEnded",value:function(){var e=this.props.scrollingResetTimeInterval;this._disablePointerEventsTimeoutId&&Y(this._disablePointerEventsTimeoutId),this._disablePointerEventsTimeoutId=Re(this._debounceScrollEndedCallback,e)}},{key:"_handleInvalidatedGridSize",value:function(){if(typeof this._deferredInvalidateColumnIndex=="number"&&typeof this._deferredInvalidateRowIndex=="number"){var e=this._deferredInvalidateColumnIndex,t=this._deferredInvalidateRowIndex;this._deferredInvalidateColumnIndex=null,this._deferredInvalidateRowIndex=null,this.recomputeGridSize({columnIndex:e,rowIndex:t})}}},{key:"_invokeOnScrollMemoizer",value:function(e){var t=this,r=e.scrollLeft,n=e.scrollTop,l=e.totalColumnsWidth,i=e.totalRowsHeight;this._onScrollMemoizer({callback:function(a){var s=a.scrollLeft,c=a.scrollTop,d=t.props,f=d.height;(0,d.onScroll)({clientHeight:f,clientWidth:d.width,scrollHeight:i,scrollLeft:s,scrollTop:c,scrollWidth:l})},indices:{scrollLeft:r,scrollTop:n}})}},{key:"_isScrolling",value:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.props,t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.state;return Object.hasOwnProperty.call(e,"isScrolling")?!!e.isScrolling:!!t.isScrolling}},{key:"_maybeCallOnScrollbarPresenceChange",value:function(){if(this._scrollbarPresenceChanged){var e=this.props.onScrollbarPresenceChange;this._scrollbarPresenceChanged=!1,e({horizontal:this._horizontalScrollBarSize>0,size:this.state.instanceProps.scrollbarSize,vertical:this._verticalScrollBarSize>0})}}},{key:"scrollToPosition",value:function(e){var t=e.scrollLeft,r=e.scrollTop,n=o._getScrollToPositionStateUpdate({prevState:this.state,scrollLeft:t,scrollTop:r});n&&(n.needToResetStyleCache=!1,this.setState(n))}},{key:"_getCalculatedScrollLeft",value:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.props,t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.state;return o._getCalculatedScrollLeft(e,t)}},{key:"_updateScrollLeftForScrollToColumn",value:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.props,t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.state,r=o._getScrollLeftForScrollToColumnStateUpdate(e,t);r&&(r.needToResetStyleCache=!1,this.setState(r))}},{key:"_getCalculatedScrollTop",value:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.props,t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.state;return o._getCalculatedScrollTop(e,t)}},{key:"_resetStyleCache",value:function(){var e=this._styleCache,t=this._cellCache,r=this.props.isScrollingOptOut;this._cellCache={},this._styleCache={};for(var n=this._rowStartIndex;n<=this._rowStopIndex;n++)for(var l=this._columnStartIndex;l<=this._columnStopIndex;l++){var i="".concat(n,"-").concat(l);this._styleCache[i]=e[i],r&&(this._cellCache[i]=t[i])}}},{key:"_updateScrollTopForScrollToRow",value:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.props,t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.state,r=o._getScrollTopForScrollToRowStateUpdate(e,t);r&&(r.needToResetStyleCache=!1,this.setState(r))}}],[{key:"getDerivedStateFromProps",value:function(e,t){var r={};e.columnCount===0&&t.scrollLeft!==0||e.rowCount===0&&t.scrollTop!==0?(r.scrollLeft=0,r.scrollTop=0):(e.scrollLeft!==t.scrollLeft&&e.scrollToColumn<0||e.scrollTop!==t.scrollTop&&e.scrollToRow<0)&&Object.assign(r,o._getScrollToPositionStateUpdate({prevState:t,scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}));var n,l,i=t.instanceProps;return r.needToResetStyleCache=!1,e.columnWidth===i.prevColumnWidth&&e.rowHeight===i.prevRowHeight||(r.needToResetStyleCache=!0),i.columnSizeAndPositionManager.configure({cellCount:e.columnCount,estimatedCellSize:o._getEstimatedColumnSize(e),cellSizeGetter:o._wrapSizeGetter(e.columnWidth)}),i.rowSizeAndPositionManager.configure({cellCount:e.rowCount,estimatedCellSize:o._getEstimatedRowSize(e),cellSizeGetter:o._wrapSizeGetter(e.rowHeight)}),i.prevColumnCount!==0&&i.prevRowCount!==0||(i.prevColumnCount=0,i.prevRowCount=0),e.autoHeight&&e.isScrolling===!1&&i.prevIsScrolling===!0&&Object.assign(r,{isScrolling:!1}),We({cellCount:i.prevColumnCount,cellSize:typeof i.prevColumnWidth=="number"?i.prevColumnWidth:null,computeMetadataCallback:function(){return i.columnSizeAndPositionManager.resetCell(0)},computeMetadataCallbackProps:e,nextCellsCount:e.columnCount,nextCellSize:typeof e.columnWidth=="number"?e.columnWidth:null,nextScrollToIndex:e.scrollToColumn,scrollToIndex:i.prevScrollToColumn,updateScrollOffsetForScrollToIndex:function(){n=o._getScrollLeftForScrollToColumnStateUpdate(e,t)}}),We({cellCount:i.prevRowCount,cellSize:typeof i.prevRowHeight=="number"?i.prevRowHeight:null,computeMetadataCallback:function(){return i.rowSizeAndPositionManager.resetCell(0)},computeMetadataCallbackProps:e,nextCellsCount:e.rowCount,nextCellSize:typeof e.rowHeight=="number"?e.rowHeight:null,nextScrollToIndex:e.scrollToRow,scrollToIndex:i.prevScrollToRow,updateScrollOffsetForScrollToIndex:function(){l=o._getScrollTopForScrollToRowStateUpdate(e,t)}}),i.prevColumnCount=e.columnCount,i.prevColumnWidth=e.columnWidth,i.prevIsScrolling=e.isScrolling===!0,i.prevRowCount=e.rowCount,i.prevRowHeight=e.rowHeight,i.prevScrollToColumn=e.scrollToColumn,i.prevScrollToRow=e.scrollToRow,i.scrollbarSize=e.getScrollbarSize(),i.scrollbarSize===void 0?(i.scrollbarSizeMeasured=!1,i.scrollbarSize=0):i.scrollbarSizeMeasured=!0,r.instanceProps=i,W(W(W({},r),n),l)}},{key:"_getEstimatedColumnSize",value:function(e){return typeof e.columnWidth=="number"?e.columnWidth:e.estimatedColumnSize}},{key:"_getEstimatedRowSize",value:function(e){return typeof e.rowHeight=="number"?e.rowHeight:e.estimatedRowSize}},{key:"_getScrollToPositionStateUpdate",value:function(e){var t=e.prevState,r=e.scrollLeft,n=e.scrollTop,l={scrollPositionChangeReason:Ue};return typeof r=="number"&&r>=0&&(l.scrollDirectionHorizontal=r>t.scrollLeft?1:-1,l.scrollLeft=r),typeof n=="number"&&n>=0&&(l.scrollDirectionVertical=n>t.scrollTop?1:-1,l.scrollTop=n),typeof r=="number"&&r>=0&&r!==t.scrollLeft||typeof n=="number"&&n>=0&&n!==t.scrollTop?l:{}}},{key:"_wrapSizeGetter",value:function(e){return typeof e=="function"?e:function(){return e}}},{key:"_getCalculatedScrollLeft",value:function(e,t){var r=e.columnCount,n=e.height,l=e.scrollToAlignment,i=e.scrollToColumn,a=e.width,s=t.scrollLeft,c=t.instanceProps;if(r>0){var d=r-1,f=i<0?d:Math.min(d,i),p=c.rowSizeAndPositionManager.getTotalSize(),u=c.scrollbarSizeMeasured&&p>n?c.scrollbarSize:0;return c.columnSizeAndPositionManager.getUpdatedOffsetForIndex({align:l,containerSize:a-u,currentOffset:s,targetIndex:f})}return 0}},{key:"_getScrollLeftForScrollToColumnStateUpdate",value:function(e,t){var r=t.scrollLeft,n=o._getCalculatedScrollLeft(e,t);return typeof n=="number"&&n>=0&&r!==n?o._getScrollToPositionStateUpdate({prevState:t,scrollLeft:n,scrollTop:-1}):{}}},{key:"_getCalculatedScrollTop",value:function(e,t){var r=e.height,n=e.rowCount,l=e.scrollToAlignment,i=e.scrollToRow,a=e.width,s=t.scrollTop,c=t.instanceProps;if(n>0){var d=n-1,f=i<0?d:Math.min(d,i),p=c.columnSizeAndPositionManager.getTotalSize(),u=c.scrollbarSizeMeasured&&p>a?c.scrollbarSize:0;return c.rowSizeAndPositionManager.getUpdatedOffsetForIndex({align:l,containerSize:r-u,currentOffset:s,targetIndex:f})}return 0}},{key:"_getScrollTopForScrollToRowStateUpdate",value:function(e,t){var r=t.scrollTop,n=o._getCalculatedScrollTop(e,t);return typeof n=="number"&&n>=0&&r!==n?o._getScrollToPositionStateUpdate({prevState:t,scrollLeft:-1,scrollTop:n}):{}}}])}();function wt(o){var e=o.cellCount,t=o.overscanCellsCount,r=o.scrollDirection,n=o.startIndex,l=o.stopIndex;return t=Math.max(1,t),r===1?{overscanStartIndex:Math.max(0,n-1),overscanStopIndex:Math.min(e-1,l+t)}:{overscanStartIndex:Math.max(0,n-t),overscanStopIndex:Math.min(e-1,l+1)}}function ve(o,e){(e==null||e>o.length)&&(e=o.length);for(var t=0,r=Array(e);t<e;t++)r[t]=o[t];return r}function Ct(o,e){if(o){if(typeof o=="string")return ve(o,e);var t={}.toString.call(o).slice(8,-1);return t==="Object"&&o.constructor&&(t=o.constructor.name),t==="Map"||t==="Set"?Array.from(o):t==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?ve(o,e):void 0}}function Rt(){try{var o=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(Rt=function(){return!!o})()}m(B,"defaultProps",{"aria-label":"grid","aria-readonly":!0,autoContainerWidth:!1,autoHeight:!1,autoWidth:!1,cellRangeRenderer:function(o){for(var e=o.cellCache,t=o.cellRenderer,r=o.columnSizeAndPositionManager,n=o.columnStartIndex,l=o.columnStopIndex,i=o.deferredMeasurementCache,a=o.horizontalOffsetAdjustment,s=o.isScrolling,c=o.isScrollingOptOut,d=o.parent,f=o.rowSizeAndPositionManager,p=o.rowStartIndex,u=o.rowStopIndex,_=o.styleCache,g=o.verticalOffsetAdjustment,S=o.visibleColumnIndices,y=o.visibleRowIndices,x=[],v=r.areOffsetsAdjusted()||f.areOffsetsAdjusted(),w=!s&&!v,C=p;C<=u;C++)for(var b=f.getSizeAndPositionOfCell(C),R=n;R<=l;R++){var T=r.getSizeAndPositionOfCell(R),I=R>=S.start&&R<=S.stop&&C>=y.start&&C<=y.stop,O="".concat(C,"-").concat(R),P=void 0;w&&_[O]?P=_[O]:i&&!i.has(C,R)?P={height:"auto",left:0,position:"absolute",top:0,width:"auto"}:(P={height:b.size,left:T.offset+a,position:"absolute",top:b.offset+g,width:T.size},_[O]=P);var z={columnIndex:R,isScrolling:s,isVisible:I,key:O,parent:d,rowIndex:C,style:P},E=void 0;!c&&!s||a||g?E=t(z):(e[O]||(e[O]=t(z)),E=e[O]),E!=null&&E!==!1&&(E.props.role||(E=h.yt.cloneElement(E,{role:"gridcell"})),x.push(E))}return x},containerRole:"row",containerStyle:{},estimatedColumnSize:100,estimatedRowSize:30,getScrollbarSize:ge,noContentRenderer:function(){return null},onScroll:function(){},onScrollbarPresenceChange:function(){},onSectionRendered:function(){},overscanColumnCount:0,overscanIndicesGetter:function(o){var e=o.cellCount,t=o.overscanCellsCount,r=o.scrollDirection,n=o.startIndex,l=o.stopIndex;return r===1?{overscanStartIndex:Math.max(0,n),overscanStopIndex:Math.min(e-1,l+t)}:{overscanStartIndex:Math.max(0,n-t),overscanStopIndex:Math.min(e-1,l)}},overscanRowCount:10,role:"grid",scrollingResetTimeInterval:150,scrollToAlignment:"auto",scrollToColumn:-1,scrollToRow:-1,style:{},tabIndex:0,isScrollingOptOut:!1}),ie(B);var Ve=function(){function o(e,t){var r,n,l,i;return G(this,o),n=this,i=[e,t],l=k(l=o),(r=j(n,Rt()?Reflect.construct(l,i||[],k(n).constructor):l.apply(n,i)))._loadMoreRowsMemoizer=X(),r._onRowsRendered=r._onRowsRendered.bind(r),r._registerChild=r._registerChild.bind(r),r}return H(o,h.reactExports.PureComponent),A(o,[{key:"resetLoadMoreRowsCache",value:function(e){this._loadMoreRowsMemoizer=X(),e&&this._doStuff(this._lastRenderedStartIndex,this._lastRenderedStopIndex)}},{key:"render",value:function(){return(0,this.props.children)({onRowsRendered:this._onRowsRendered,registerChild:this._registerChild})}},{key:"_loadUnloadedRanges",value:function(e){var t=this,r=this.props.loadMoreRows;e.forEach(function(n){var l=r(n);l&&l.then(function(){var i;(i={lastRenderedStartIndex:t._lastRenderedStartIndex,lastRenderedStopIndex:t._lastRenderedStopIndex,startIndex:n.startIndex,stopIndex:n.stopIndex}).startIndex>i.lastRenderedStopIndex||i.stopIndex<i.lastRenderedStartIndex||t._registeredChild&&function(a){var s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,c=typeof a.recomputeGridSize=="function"?a.recomputeGridSize:a.recomputeRowHeights;c?c.call(a,s):a.forceUpdate()}(t._registeredChild,t._lastRenderedStartIndex)})})}},{key:"_onRowsRendered",value:function(e){var t=e.startIndex,r=e.stopIndex;this._lastRenderedStartIndex=t,this._lastRenderedStopIndex=r,this._doStuff(t,r)}},{key:"_doStuff",value:function(e,t){var r,n=this,l=this.props,i=l.isRowLoaded,a=l.minimumBatchSize,s=l.rowCount,c=l.threshold,d=function(p){for(var u=p.isRowLoaded,_=p.minimumBatchSize,g=p.rowCount,S=p.stopIndex,y=[],x=null,v=null,w=p.startIndex;w<=S;w++)u({index:w})?v!==null&&(y.push({startIndex:x,stopIndex:v}),x=v=null):(v=w,x===null&&(x=w));if(v!==null){for(var C=Math.min(Math.max(v,x+_-1),g-1),b=v+1;b<=C&&!u({index:b});b++)v=b;y.push({startIndex:x,stopIndex:v})}if(y.length)for(var R=y[0];R.stopIndex-R.startIndex+1<_&&R.startIndex>0;){var T=R.startIndex-1;if(u({index:T}))break;R.startIndex=T}return y}({isRowLoaded:i,minimumBatchSize:a,rowCount:s,startIndex:Math.max(0,e-c),stopIndex:Math.min(s-1,t+c)}),f=(r=[]).concat.apply(r,function(p){return function(u){if(Array.isArray(u))return ve(u)}(p)||function(u){if(typeof Symbol<"u"&&u[Symbol.iterator]!=null||u["@@iterator"]!=null)return Array.from(u)}(p)||Ct(p)||function(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
17
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}(d.map(function(p){return[p.startIndex,p.stopIndex]})));this._loadMoreRowsMemoizer({callback:function(){n._loadUnloadedRanges(d)},indices:{squashedUnloadedRanges:f}})}},{key:"_registerChild",value:function(e){this._registeredChild=e}}])}();function bt(){try{var o=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(bt=function(){return!!o})()}m(Ve,"defaultProps",{minimumBatchSize:10,rowCount:0,threshold:15}),Ve.propTypes={};var no=function(){function o(){var e,t,r,n;G(this,o);for(var l=arguments.length,i=new Array(l),a=0;a<l;a++)i[a]=arguments[a];return t=this,r=o,n=[].concat(i),r=k(r),m(e=j(t,bt()?Reflect.construct(r,n||[],k(t).constructor):r.apply(t,n)),"Grid",void 0),m(e,"_cellRenderer",function(s){var c=s.parent,d=s.rowIndex,f=s.style,p=s.isScrolling,u=s.isVisible,_=s.key,g=e.props.rowRenderer,S=Object.getOwnPropertyDescriptor(f,"width");return S&&S.writable&&(f.width="100%"),g({index:d,style:f,isScrolling:p,isVisible:u,key:_,parent:c})}),m(e,"_setRef",function(s){e.Grid=s}),m(e,"_onScroll",function(s){var c=s.clientHeight,d=s.scrollHeight,f=s.scrollTop;(0,e.props.onScroll)({clientHeight:c,scrollHeight:d,scrollTop:f})}),m(e,"_onSectionRendered",function(s){var c=s.rowOverscanStartIndex,d=s.rowOverscanStopIndex,f=s.rowStartIndex,p=s.rowStopIndex;(0,e.props.onRowsRendered)({overscanStartIndex:c,overscanStopIndex:d,startIndex:f,stopIndex:p})}),e}return H(o,h.reactExports.PureComponent),A(o,[{key:"forceUpdateGrid",value:function(){this.Grid&&this.Grid.forceUpdate()}},{key:"getOffsetForRow",value:function(e){var t=e.alignment,r=e.index;return this.Grid?this.Grid.getOffsetForCell({alignment:t,rowIndex:r,columnIndex:0}).scrollTop:0}},{key:"invalidateCellSizeAfterRender",value:function(e){var t=e.columnIndex,r=e.rowIndex;this.Grid&&this.Grid.invalidateCellSizeAfterRender({rowIndex:r,columnIndex:t})}},{key:"measureAllRows",value:function(){this.Grid&&this.Grid.measureAllCells()}},{key:"recomputeGridSize",value:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=e.columnIndex,r=t===void 0?0:t,n=e.rowIndex,l=n===void 0?0:n;this.Grid&&this.Grid.recomputeGridSize({rowIndex:l,columnIndex:r})}},{key:"recomputeRowHeights",value:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;this.Grid&&this.Grid.recomputeGridSize({rowIndex:e,columnIndex:0})}},{key:"scrollToPosition",value:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;this.Grid&&this.Grid.scrollToPosition({scrollTop:e})}},{key:"scrollToRow",value:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;this.Grid&&this.Grid.scrollToCell({columnIndex:0,rowIndex:e})}},{key:"render",value:function(){var e=this.props,t=e.className,r=e.noRowsRenderer,n=e.scrollToIndex,l=e.width,i=h.cl("ReactVirtualized__List",t);return h.reactExports.createElement(B,h.qu({},this.props,{autoContainerWidth:!0,cellRenderer:this._cellRenderer,className:i,columnWidth:l,columnCount:1,noContentRenderer:r,onScroll:this._onScroll,onSectionRendered:this._onSectionRendered,ref:this._setRef,scrollToRow:n}))}}])}();m(no,"defaultProps",{autoHeight:!1,estimatedRowSize:30,onScroll:function(){},noRowsRenderer:function(){return null},onRowsRendered:function(){},overscanIndicesGetter:wt,overscanRowCount:10,scrollToAlignment:"auto",scrollToIndex:-1,style:{}});const se=function(o,e,t,r,n){return typeof t=="function"?function(l,i,a,s,c){for(var d=a+1;i<=a;){var f=i+a>>>1;c(l[f],s)>=0?(d=f,a=f-1):i=f+1}return d}(o,r===void 0?0:0|r,n===void 0?o.length-1:0|n,e,t):function(l,i,a,s){for(var c=a+1;i<=a;){var d=i+a>>>1;l[d]>=s?(c=d,a=d-1):i=d+1}return c}(o,t===void 0?0:0|t,r===void 0?o.length-1:0|r,e)};function be(o,e,t,r,n){this.mid=o,this.left=e,this.right=t,this.leftPoints=r,this.rightPoints=n,this.count=(e?e.count:0)+(t?t.count:0)+r.length}var J=be.prototype;function he(o,e){o.mid=e.mid,o.left=e.left,o.right=e.right,o.leftPoints=e.leftPoints,o.rightPoints=e.rightPoints,o.count=e.count}function zt(o,e){var t=re(e);o.mid=t.mid,o.left=t.left,o.right=t.right,o.leftPoints=t.leftPoints,o.rightPoints=t.rightPoints,o.count=t.count}function qe(o,e){var t=o.intervals([]);t.push(e),zt(o,t)}function $e(o,e){var t=o.intervals([]),r=t.indexOf(e);return r<0?0:(t.splice(r,1),zt(o,t),1)}function Ke(o,e,t){for(var r=0;r<o.length&&o[r][0]<=e;++r){var n=t(o[r]);if(n)return n}}function Xe(o,e,t){for(var r=o.length-1;r>=0&&o[r][1]>=e;--r){var n=t(o[r]);if(n)return n}}function Ye(o,e){for(var t=0;t<o.length;++t){var r=e(o[t]);if(r)return r}}function io(o,e){return o-e}function _e(o,e){return o[0]-e[0]||o[1]-e[1]}function Se(o,e){return o[1]-e[1]||o[0]-e[0]}function re(o){if(o.length===0)return null;for(var e=[],t=0;t<o.length;++t)e.push(o[t][0],o[t][1]);e.sort(io);var r=e[e.length>>1],n=[],l=[],i=[];for(t=0;t<o.length;++t){var a=o[t];a[1]<r?n.push(a):r<a[0]?l.push(a):i.push(a)}var s=i,c=i.slice();return s.sort(_e),c.sort(Se),new be(r,re(n),re(l),s,c)}function Tt(o){this.root=o}J.intervals=function(o){return o.push.apply(o,this.leftPoints),this.left&&this.left.intervals(o),this.right&&this.right.intervals(o),o},J.insert=function(o){var e=this.count-this.leftPoints.length;if(this.count+=1,o[1]<this.mid)this.left?4*(this.left.count+1)>3*(e+1)?qe(this,o):this.left.insert(o):this.left=re([o]);else if(o[0]>this.mid)this.right?4*(this.right.count+1)>3*(e+1)?qe(this,o):this.right.insert(o):this.right=re([o]);else{var t=se(this.leftPoints,o,_e),r=se(this.rightPoints,o,Se);this.leftPoints.splice(t,0,o),this.rightPoints.splice(r,0,o)}},J.remove=function(o){var e=this.count-this.leftPoints;if(o[1]<this.mid)return this.left?4*(this.right?this.right.count:0)>3*(e-1)?$e(this,o):(l=this.left.remove(o))===2?(this.left=null,this.count-=1,1):(l===1&&(this.count-=1),l):0;if(o[0]>this.mid)return this.right?4*(this.left?this.left.count:0)>3*(e-1)?$e(this,o):(l=this.right.remove(o))===2?(this.right=null,this.count-=1,1):(l===1&&(this.count-=1),l):0;if(this.count===1)return this.leftPoints[0]===o?2:0;if(this.leftPoints.length===1&&this.leftPoints[0]===o){if(this.left&&this.right){for(var t=this,r=this.left;r.right;)t=r,r=r.right;if(t===this)r.right=this.right;else{var n=this.left,l=this.right;t.count-=r.count,t.right=r.left,r.left=n,r.right=l}he(this,r),this.count=(this.left?this.left.count:0)+(this.right?this.right.count:0)+this.leftPoints.length}else this.left?he(this,this.left):he(this,this.right);return 1}for(n=se(this.leftPoints,o,_e);n<this.leftPoints.length&&this.leftPoints[n][0]===o[0];++n)if(this.leftPoints[n]===o){for(this.count-=1,this.leftPoints.splice(n,1),l=se(this.rightPoints,o,Se);l<this.rightPoints.length&&this.rightPoints[l][1]===o[1];++l)if(this.rightPoints[l]===o)return this.rightPoints.splice(l,1),1}return 0},J.queryPoint=function(o,e){return o<this.mid?this.left&&(t=this.left.queryPoint(o,e))?t:Ke(this.leftPoints,o,e):o>this.mid?this.right&&(t=this.right.queryPoint(o,e))?t:Xe(this.rightPoints,o,e):Ye(this.leftPoints,e);var t},J.queryInterval=function(o,e,t){var r;return o<this.mid&&this.left&&(r=this.left.queryInterval(o,e,t))||e>this.mid&&this.right&&(r=this.right.queryInterval(o,e,t))?r:e<this.mid?Ke(this.leftPoints,e,t):o>this.mid?Xe(this.rightPoints,o,t):Ye(this.leftPoints,t)};var $=Tt.prototype;$.insert=function(o){this.root?this.root.insert(o):this.root=new be(o[0],null,null,[o],[o])},$.remove=function(o){if(this.root){var e=this.root.remove(o);return e===2&&(this.root=null),e!==0}return!1},$.queryPoint=function(o,e){if(this.root)return this.root.queryPoint(o,e)},$.queryInterval=function(o,e,t){if(o<=e&&this.root)return this.root.queryInterval(o,e,t)},Object.defineProperty($,"count",{get:function(){return this.root?this.root.count:0}}),Object.defineProperty($,"intervals",{get:function(){return this.root?this.root.intervals([]):[]}});var fe=A(function o(){G(this,o),m(this,"_columnSizeMap",{}),m(this,"_intervalTree",new Tt(null)),m(this,"_leftMap",{})},[{key:"estimateTotalHeight",value:function(o,e,t){var r=o-this.count;return this.tallestColumnSize+Math.ceil(r/e)*t}},{key:"range",value:function(o,e,t){var r=this;this._intervalTree.queryInterval(o,o+e,function(n){var l=function(s,c){return function(d){if(Array.isArray(d))return d}(s)||function(d,f){var p=d==null?null:typeof Symbol<"u"&&d[Symbol.iterator]||d["@@iterator"];if(p!=null){var u,_,g,S,y=[],x=!0,v=!1;try{if(g=(p=p.call(d)).next,f!==0)for(;!(x=(u=g.call(p)).done)&&(y.push(u.value),y.length!==f);x=!0);}catch(w){v=!0,_=w}finally{try{if(!x&&p.return!=null&&(S=p.return(),Object(S)!==S))return}finally{if(v)throw _}}return y}}(s,c)||Ct(s,c)||function(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
18
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}(n,3),i=l[0];l[1];var a=l[2];return t(a,r._leftMap[a],i)})}},{key:"setPosition",value:function(o,e,t,r){this._intervalTree.insert([t,t+r,o]),this._leftMap[o]=e;var n=this._columnSizeMap,l=n[e];n[e]=l===void 0?t+r:Math.max(l,t+r)}},{key:"count",get:function(){return this._intervalTree.count}},{key:"shortestColumnSize",get:function(){var o=this._columnSizeMap,e=0;for(var t in o){var r=o[t];e=e===0?r:Math.min(e,r)}return e}},{key:"tallestColumnSize",get:function(){var o=this._columnSizeMap,e=0;for(var t in o){var r=o[t];e=Math.max(e,r)}return e}}]);function Ze(o,e){var t=Object.keys(o);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(o);e&&(r=r.filter(function(n){return Object.getOwnPropertyDescriptor(o,n).enumerable})),t.push.apply(t,r)}return t}function lo(o){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?arguments[e]:{};e%2?Ze(Object(t),!0).forEach(function(r){m(o,r,t[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(o,Object.getOwnPropertyDescriptors(t)):Ze(Object(t)).forEach(function(r){Object.defineProperty(o,r,Object.getOwnPropertyDescriptor(t,r))})}return o}function It(){try{var o=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(It=function(){return!!o})()}var Je=function(){function o(){var e,t,r,n;G(this,o);for(var l=arguments.length,i=new Array(l),a=0;a<l;a++)i[a]=arguments[a];return t=this,r=o,n=[].concat(i),r=k(r),m(e=j(t,It()?Reflect.construct(r,n||[],k(t).constructor):r.apply(t,n)),"state",{isScrolling:!1,scrollTop:0}),m(e,"_debounceResetIsScrollingId",void 0),m(e,"_invalidateOnUpdateStartIndex",null),m(e,"_invalidateOnUpdateStopIndex",null),m(e,"_positionCache",new fe),m(e,"_startIndex",null),m(e,"_startIndexMemoized",null),m(e,"_stopIndex",null),m(e,"_stopIndexMemoized",null),m(e,"_debounceResetIsScrollingCallback",function(){e.setState({isScrolling:!1})}),m(e,"_setScrollingContainerRef",function(s){e._scrollingContainer=s}),m(e,"_onScroll",function(s){var c=e.props.height,d=s.currentTarget.scrollTop,f=Math.min(Math.max(0,e._getEstimatedTotalHeight()-c),d);d===f&&(e._debounceResetIsScrolling(),e.state.scrollTop!==f&&e.setState({isScrolling:!0,scrollTop:f}))}),e}return H(o,h.reactExports.PureComponent),A(o,[{key:"clearCellPositions",value:function(){this._positionCache=new fe,this.forceUpdate()}},{key:"invalidateCellSizeAfterRender",value:function(e){var t=e.rowIndex;this._invalidateOnUpdateStartIndex===null?(this._invalidateOnUpdateStartIndex=t,this._invalidateOnUpdateStopIndex=t):(this._invalidateOnUpdateStartIndex=Math.min(this._invalidateOnUpdateStartIndex,t),this._invalidateOnUpdateStopIndex=Math.max(this._invalidateOnUpdateStopIndex,t))}},{key:"recomputeCellPositions",value:function(){var e=this._positionCache.count-1;this._positionCache=new fe,this._populatePositionCache(0,e),this.forceUpdate()}},{key:"componentDidMount",value:function(){this._checkInvalidateOnUpdate(),this._invokeOnScrollCallback(),this._invokeOnCellsRenderedCallback()}},{key:"componentDidUpdate",value:function(e,t){this._checkInvalidateOnUpdate(),this._invokeOnScrollCallback(),this._invokeOnCellsRenderedCallback(),this.props.scrollTop!==e.scrollTop&&this._debounceResetIsScrolling()}},{key:"componentWillUnmount",value:function(){this._debounceResetIsScrollingId&&Y(this._debounceResetIsScrollingId)}},{key:"render",value:function(){var e,t=this,r=this.props,n=r.autoHeight,l=r.cellCount,i=r.cellMeasurerCache,a=r.cellRenderer,s=r.className,c=r.height,d=r.id,f=r.keyMapper,p=r.overscanByPixels,u=r.role,_=r.style,g=r.tabIndex,S=r.width,y=r.rowDirection,x=this.state,v=x.isScrolling,w=x.scrollTop,C=[],b=this._getEstimatedTotalHeight(),R=this._positionCache.shortestColumnSize,T=this._positionCache.count,I=0;if(this._positionCache.range(Math.max(0,w-p),c+2*p,function(z,E,L){e===void 0?(I=z,e=z):(I=Math.min(I,z),e=Math.max(e,z)),C.push(a({index:z,isScrolling:v,key:f(z),parent:t,style:m(m(m(m({height:i.getHeight(z)},y==="ltr"?"left":"right",E),"position","absolute"),"top",L),"width",i.getWidth(z))}))}),R<w+c+p&&T<l)for(var O=Math.min(l-T,Math.ceil((w+c+p-R)/i.defaultHeight*S/i.defaultWidth)),P=T;P<T+O;P++)e=P,C.push(a({index:P,isScrolling:v,key:f(P),parent:this,style:{width:i.getWidth(P)}}));return this._startIndex=I,this._stopIndex=e,h.reactExports.createElement("div",{ref:this._setScrollingContainerRef,"aria-label":this.props["aria-label"],className:h.cl("ReactVirtualized__Masonry",s),id:d,onScroll:this._onScroll,role:u,style:lo({boxSizing:"border-box",direction:"ltr",height:n?"auto":c,overflowX:"hidden",overflowY:b<c?"hidden":"auto",position:"relative",width:S,WebkitOverflowScrolling:"touch",willChange:"transform"},_),tabIndex:g},h.reactExports.createElement("div",{className:"ReactVirtualized__Masonry__innerScrollContainer",style:{width:"100%",height:b,maxWidth:"100%",maxHeight:b,overflow:"hidden",pointerEvents:v?"none":"",position:"relative"}},C))}},{key:"_checkInvalidateOnUpdate",value:function(){if(typeof this._invalidateOnUpdateStartIndex=="number"){var e=this._invalidateOnUpdateStartIndex,t=this._invalidateOnUpdateStopIndex;this._invalidateOnUpdateStartIndex=null,this._invalidateOnUpdateStopIndex=null,this._populatePositionCache(e,t),this.forceUpdate()}}},{key:"_debounceResetIsScrolling",value:function(){var e=this.props.scrollingResetTimeInterval;this._debounceResetIsScrollingId&&Y(this._debounceResetIsScrollingId),this._debounceResetIsScrollingId=Re(this._debounceResetIsScrollingCallback,e)}},{key:"_getEstimatedTotalHeight",value:function(){var e=this.props,t=e.cellCount,r=e.cellMeasurerCache,n=e.width,l=Math.max(1,Math.floor(n/r.defaultWidth));return this._positionCache.estimateTotalHeight(t,l,r.defaultHeight)}},{key:"_invokeOnScrollCallback",value:function(){var e=this.props,t=e.height,r=e.onScroll,n=this.state.scrollTop;this._onScrollMemoized!==n&&(r({clientHeight:t,scrollHeight:this._getEstimatedTotalHeight(),scrollTop:n}),this._onScrollMemoized=n)}},{key:"_invokeOnCellsRenderedCallback",value:function(){this._startIndexMemoized===this._startIndex&&this._stopIndexMemoized===this._stopIndex||((0,this.props.onCellsRendered)({startIndex:this._startIndex,stopIndex:this._stopIndex}),this._startIndexMemoized=this._startIndex,this._stopIndexMemoized=this._stopIndex)}},{key:"_populatePositionCache",value:function(e,t){for(var r=this.props,n=r.cellMeasurerCache,l=r.cellPositioner,i=e;i<=t;i++){var a=l(i),s=a.left,c=a.top;this._positionCache.setPosition(i,s,c,n.getHeight(i))}}}],[{key:"getDerivedStateFromProps",value:function(e,t){return e.scrollTop!==void 0&&t.scrollTop!==e.scrollTop?{isScrolling:!0,scrollTop:e.scrollTop}:null}}])}();function Qe(){}m(Je,"defaultProps",{autoHeight:!1,keyMapper:function(o){return o},onCellsRendered:Qe,onScroll:Qe,overscanByPixels:20,role:"grid",scrollingResetTimeInterval:150,style:{},tabIndex:0,rowDirection:"ltr"}),ie(Je);var pe=A(function o(){var e=this,t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};G(this,o),m(this,"_cellMeasurerCache",void 0),m(this,"_columnIndexOffset",void 0),m(this,"_rowIndexOffset",void 0),m(this,"columnWidth",function(s){var c=s.index;e._cellMeasurerCache.columnWidth({index:c+e._columnIndexOffset})}),m(this,"rowHeight",function(s){var c=s.index;e._cellMeasurerCache.rowHeight({index:c+e._rowIndexOffset})});var r=t.cellMeasurerCache,n=t.columnIndexOffset,l=n===void 0?0:n,i=t.rowIndexOffset,a=i===void 0?0:i;this._cellMeasurerCache=r,this._columnIndexOffset=l,this._rowIndexOffset=a},[{key:"clear",value:function(o,e){this._cellMeasurerCache.clear(o+this._rowIndexOffset,e+this._columnIndexOffset)}},{key:"clearAll",value:function(){this._cellMeasurerCache.clearAll()}},{key:"defaultHeight",get:function(){return this._cellMeasurerCache.defaultHeight}},{key:"defaultWidth",get:function(){return this._cellMeasurerCache.defaultWidth}},{key:"hasFixedHeight",value:function(){return this._cellMeasurerCache.hasFixedHeight()}},{key:"hasFixedWidth",value:function(){return this._cellMeasurerCache.hasFixedWidth()}},{key:"getHeight",value:function(o){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return this._cellMeasurerCache.getHeight(o+this._rowIndexOffset,e+this._columnIndexOffset)}},{key:"getWidth",value:function(o){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return this._cellMeasurerCache.getWidth(o+this._rowIndexOffset,e+this._columnIndexOffset)}},{key:"has",value:function(o){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return this._cellMeasurerCache.has(o+this._rowIndexOffset,e+this._columnIndexOffset)}},{key:"set",value:function(o,e,t,r){this._cellMeasurerCache.set(o+this._rowIndexOffset,e+this._columnIndexOffset,t,r)}}]),so=["rowIndex"],ao=["columnIndex","rowIndex"],co=["columnIndex"],uo=["onScroll","onSectionRendered","onScrollbarPresenceChange","scrollLeft","scrollToColumn","scrollTop","scrollToRow"];function et(o,e){var t=Object.keys(o);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(o);e&&(r=r.filter(function(n){return Object.getOwnPropertyDescriptor(o,n).enumerable})),t.push.apply(t,r)}return t}function M(o){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?arguments[e]:{};e%2?et(Object(t),!0).forEach(function(r){m(o,r,t[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(o,Object.getOwnPropertyDescriptors(t)):et(Object(t)).forEach(function(r){Object.defineProperty(o,r,Object.getOwnPropertyDescriptor(t,r))})}return o}function Pt(){try{var o=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(Pt=function(){return!!o})()}var me=function(){function o(e,t){var r,n,l,i;G(this,o),n=this,i=[e,t],l=k(l=o),m(r=j(n,Pt()?Reflect.construct(l,i||[],k(n).constructor):l.apply(n,i)),"state",{scrollLeft:0,scrollTop:0,scrollbarSize:0,showHorizontalScrollbar:!1,showVerticalScrollbar:!1}),m(r,"_deferredInvalidateColumnIndex",null),m(r,"_deferredInvalidateRowIndex",null),m(r,"_bottomLeftGridRef",function(d){r._bottomLeftGrid=d}),m(r,"_bottomRightGridRef",function(d){r._bottomRightGrid=d}),m(r,"_cellRendererBottomLeftGrid",function(d){var f=d.rowIndex,p=Q(d,so),u=r.props,_=u.cellRenderer,g=u.fixedRowCount;return f===u.rowCount-g?h.reactExports.createElement("div",{key:p.key,style:M(M({},p.style),{},{height:20})}):_(M(M({},p),{},{parent:r,rowIndex:f+g}))}),m(r,"_cellRendererBottomRightGrid",function(d){var f=d.columnIndex,p=d.rowIndex,u=Q(d,ao),_=r.props,g=_.cellRenderer,S=_.fixedColumnCount,y=_.fixedRowCount;return g(M(M({},u),{},{columnIndex:f+S,parent:r,rowIndex:p+y}))}),m(r,"_cellRendererTopRightGrid",function(d){var f=d.columnIndex,p=Q(d,co),u=r.props,_=u.cellRenderer,g=u.columnCount,S=u.fixedColumnCount;return f===g-S?h.reactExports.createElement("div",{key:p.key,style:M(M({},p.style),{},{width:20})}):_(M(M({},p),{},{columnIndex:f+S,parent:r}))}),m(r,"_columnWidthRightGrid",function(d){var f=d.index,p=r.props,u=p.columnCount,_=p.fixedColumnCount,g=p.columnWidth,S=r.state,y=S.scrollbarSize;return S.showHorizontalScrollbar&&f===u-_?y:typeof g=="function"?g({index:f+_}):g}),m(r,"_onScroll",function(d){var f=d.scrollLeft,p=d.scrollTop;r.setState({scrollLeft:f,scrollTop:p});var u=r.props.onScroll;u&&u(d)}),m(r,"_onScrollbarPresenceChange",function(d){var f=d.horizontal,p=d.size,u=d.vertical,_=r.state,g=_.showHorizontalScrollbar,S=_.showVerticalScrollbar;if(f!==g||u!==S){r.setState({scrollbarSize:p,showHorizontalScrollbar:f,showVerticalScrollbar:u});var y=r.props.onScrollbarPresenceChange;typeof y=="function"&&y({horizontal:f,size:p,vertical:u})}}),m(r,"_onScrollLeft",function(d){var f=d.scrollLeft;r._onScroll({scrollLeft:f,scrollTop:r.state.scrollTop})}),m(r,"_onScrollTop",function(d){var f=d.scrollTop;r._onScroll({scrollTop:f,scrollLeft:r.state.scrollLeft})}),m(r,"_rowHeightBottomGrid",function(d){var f=d.index,p=r.props,u=p.fixedRowCount,_=p.rowCount,g=p.rowHeight,S=r.state,y=S.scrollbarSize;return S.showVerticalScrollbar&&f===_-u?y:typeof g=="function"?g({index:f+u}):g}),m(r,"_topLeftGridRef",function(d){r._topLeftGrid=d}),m(r,"_topRightGridRef",function(d){r._topRightGrid=d});var a=e.deferredMeasurementCache,s=e.fixedColumnCount,c=e.fixedRowCount;return r._maybeCalculateCachedStyles(!0),a&&(r._deferredMeasurementCacheBottomLeftGrid=c>0?new pe({cellMeasurerCache:a,columnIndexOffset:0,rowIndexOffset:c}):a,r._deferredMeasurementCacheBottomRightGrid=s>0||c>0?new pe({cellMeasurerCache:a,columnIndexOffset:s,rowIndexOffset:c}):a,r._deferredMeasurementCacheTopRightGrid=s>0?new pe({cellMeasurerCache:a,columnIndexOffset:s,rowIndexOffset:0}):a),r}return H(o,h.reactExports.PureComponent),A(o,[{key:"forceUpdateGrids",value:function(){this._bottomLeftGrid&&this._bottomLeftGrid.forceUpdate(),this._bottomRightGrid&&this._bottomRightGrid.forceUpdate(),this._topLeftGrid&&this._topLeftGrid.forceUpdate(),this._topRightGrid&&this._topRightGrid.forceUpdate()}},{key:"invalidateCellSizeAfterRender",value:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=e.columnIndex,r=t===void 0?0:t,n=e.rowIndex,l=n===void 0?0:n;this._deferredInvalidateColumnIndex=typeof this._deferredInvalidateColumnIndex=="number"?Math.min(this._deferredInvalidateColumnIndex,r):r,this._deferredInvalidateRowIndex=typeof this._deferredInvalidateRowIndex=="number"?Math.min(this._deferredInvalidateRowIndex,l):l}},{key:"measureAllCells",value:function(){this._bottomLeftGrid&&this._bottomLeftGrid.measureAllCells(),this._bottomRightGrid&&this._bottomRightGrid.measureAllCells(),this._topLeftGrid&&this._topLeftGrid.measureAllCells(),this._topRightGrid&&this._topRightGrid.measureAllCells()}},{key:"recomputeGridSize",value:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=e.columnIndex,r=t===void 0?0:t,n=e.rowIndex,l=n===void 0?0:n,i=this.props,a=i.fixedColumnCount,s=i.fixedRowCount,c=Math.max(0,r-a),d=Math.max(0,l-s);this._bottomLeftGrid&&this._bottomLeftGrid.recomputeGridSize({columnIndex:r,rowIndex:d}),this._bottomRightGrid&&this._bottomRightGrid.recomputeGridSize({columnIndex:c,rowIndex:d}),this._topLeftGrid&&this._topLeftGrid.recomputeGridSize({columnIndex:r,rowIndex:l}),this._topRightGrid&&this._topRightGrid.recomputeGridSize({columnIndex:c,rowIndex:l}),this._leftGridWidth=null,this._topGridHeight=null,this._maybeCalculateCachedStyles(!0)}},{key:"componentDidMount",value:function(){var e=this.props,t=e.scrollLeft,r=e.scrollTop;if(t>0||r>0){var n={};t>0&&(n.scrollLeft=t),r>0&&(n.scrollTop=r),this.setState(n)}this._handleInvalidatedGridSize()}},{key:"componentDidUpdate",value:function(){this._handleInvalidatedGridSize()}},{key:"render",value:function(){var e=this.props,t=e.onScroll,r=e.onSectionRendered;e.onScrollbarPresenceChange,e.scrollLeft;var n=e.scrollToColumn;e.scrollTop;var l=e.scrollToRow,i=Q(e,uo);if(this._prepareForRender(),this.props.width===0||this.props.height===0)return null;var a=this.state,s=a.scrollLeft,c=a.scrollTop;return h.reactExports.createElement("div",{style:this._containerOuterStyle},h.reactExports.createElement("div",{style:this._containerTopStyle},this._renderTopLeftGrid(i),this._renderTopRightGrid(M(M({},i),{},{onScroll:t,scrollLeft:s}))),h.reactExports.createElement("div",{style:this._containerBottomStyle},this._renderBottomLeftGrid(M(M({},i),{},{onScroll:t,scrollTop:c})),this._renderBottomRightGrid(M(M({},i),{},{onScroll:t,onSectionRendered:r,scrollLeft:s,scrollToColumn:n,scrollToRow:l,scrollTop:c}))))}},{key:"_getBottomGridHeight",value:function(e){return e.height-this._getTopGridHeight(e)}},{key:"_getLeftGridWidth",value:function(e){var t=e.fixedColumnCount,r=e.columnWidth;if(this._leftGridWidth==null)if(typeof r=="function"){for(var n=0,l=0;l<t;l++)n+=r({index:l});this._leftGridWidth=n}else this._leftGridWidth=r*t;return this._leftGridWidth}},{key:"_getRightGridWidth",value:function(e){return e.width-this._getLeftGridWidth(e)}},{key:"_getTopGridHeight",value:function(e){var t=e.fixedRowCount,r=e.rowHeight;if(this._topGridHeight==null)if(typeof r=="function"){for(var n=0,l=0;l<t;l++)n+=r({index:l});this._topGridHeight=n}else this._topGridHeight=r*t;return this._topGridHeight}},{key:"_handleInvalidatedGridSize",value:function(){if(typeof this._deferredInvalidateColumnIndex=="number"){var e=this._deferredInvalidateColumnIndex,t=this._deferredInvalidateRowIndex;this._deferredInvalidateColumnIndex=null,this._deferredInvalidateRowIndex=null,this.recomputeGridSize({columnIndex:e,rowIndex:t}),this.forceUpdate()}}},{key:"_maybeCalculateCachedStyles",value:function(e){var t=this.props,r=t.columnWidth,n=t.enableFixedColumnScroll,l=t.enableFixedRowScroll,i=t.height,a=t.fixedColumnCount,s=t.fixedRowCount,c=t.rowHeight,d=t.style,f=t.styleBottomLeftGrid,p=t.styleBottomRightGrid,u=t.styleTopLeftGrid,_=t.styleTopRightGrid,g=t.width,S=e||i!==this._lastRenderedHeight||g!==this._lastRenderedWidth,y=e||r!==this._lastRenderedColumnWidth||a!==this._lastRenderedFixedColumnCount,x=e||s!==this._lastRenderedFixedRowCount||c!==this._lastRenderedRowHeight;(e||S||d!==this._lastRenderedStyle)&&(this._containerOuterStyle=M({height:i,overflow:"visible",width:g},d)),(e||S||x)&&(this._containerTopStyle={height:this._getTopGridHeight(this.props),position:"relative",width:g},this._containerBottomStyle={height:i-this._getTopGridHeight(this.props),overflow:"visible",position:"relative",width:g}),(e||f!==this._lastRenderedStyleBottomLeftGrid)&&(this._bottomLeftGridStyle=M({left:0,overflowX:"hidden",overflowY:n?"auto":"hidden",position:"absolute"},f)),(e||y||p!==this._lastRenderedStyleBottomRightGrid)&&(this._bottomRightGridStyle=M({left:this._getLeftGridWidth(this.props),position:"absolute"},p)),(e||u!==this._lastRenderedStyleTopLeftGrid)&&(this._topLeftGridStyle=M({left:0,overflowX:"hidden",overflowY:"hidden",position:"absolute",top:0},u)),(e||y||_!==this._lastRenderedStyleTopRightGrid)&&(this._topRightGridStyle=M({left:this._getLeftGridWidth(this.props),overflowX:l?"auto":"hidden",overflowY:"hidden",position:"absolute",top:0},_)),this._lastRenderedColumnWidth=r,this._lastRenderedFixedColumnCount=a,this._lastRenderedFixedRowCount=s,this._lastRenderedHeight=i,this._lastRenderedRowHeight=c,this._lastRenderedStyle=d,this._lastRenderedStyleBottomLeftGrid=f,this._lastRenderedStyleBottomRightGrid=p,this._lastRenderedStyleTopLeftGrid=u,this._lastRenderedStyleTopRightGrid=_,this._lastRenderedWidth=g}},{key:"_prepareForRender",value:function(){this._lastRenderedColumnWidth===this.props.columnWidth&&this._lastRenderedFixedColumnCount===this.props.fixedColumnCount||(this._leftGridWidth=null),this._lastRenderedFixedRowCount===this.props.fixedRowCount&&this._lastRenderedRowHeight===this.props.rowHeight||(this._topGridHeight=null),this._maybeCalculateCachedStyles(),this._lastRenderedColumnWidth=this.props.columnWidth,this._lastRenderedFixedColumnCount=this.props.fixedColumnCount,this._lastRenderedFixedRowCount=this.props.fixedRowCount,this._lastRenderedRowHeight=this.props.rowHeight}},{key:"_renderBottomLeftGrid",value:function(e){var t=e.enableFixedColumnScroll,r=e.fixedColumnCount,n=e.fixedRowCount,l=e.rowCount,i=e.hideBottomLeftGridScrollbar,a=this.state.showVerticalScrollbar;if(!r)return null;var s=a?1:0,c=this._getBottomGridHeight(e),d=this._getLeftGridWidth(e),f=this.state.showVerticalScrollbar?this.state.scrollbarSize:0,p=i?d+f:d,u=h.reactExports.createElement(B,h.qu({},e,{cellRenderer:this._cellRendererBottomLeftGrid,className:this.props.classNameBottomLeftGrid,columnCount:r,deferredMeasurementCache:this._deferredMeasurementCacheBottomLeftGrid,height:c,onScroll:t?this._onScrollTop:void 0,ref:this._bottomLeftGridRef,rowCount:Math.max(0,l-n)+s,rowHeight:this._rowHeightBottomGrid,style:this._bottomLeftGridStyle,tabIndex:null,width:p}));return i?h.reactExports.createElement("div",{className:"BottomLeftGrid_ScrollWrapper",style:M(M({},this._bottomLeftGridStyle),{},{height:c,width:d,overflowY:"hidden"})},u):u}},{key:"_renderBottomRightGrid",value:function(e){var t=e.columnCount,r=e.fixedColumnCount,n=e.fixedRowCount,l=e.rowCount,i=e.scrollToColumn,a=e.scrollToRow;return h.reactExports.createElement(B,h.qu({},e,{cellRenderer:this._cellRendererBottomRightGrid,className:this.props.classNameBottomRightGrid,columnCount:Math.max(0,t-r),columnWidth:this._columnWidthRightGrid,deferredMeasurementCache:this._deferredMeasurementCacheBottomRightGrid,height:this._getBottomGridHeight(e),onScroll:this._onScroll,onScrollbarPresenceChange:this._onScrollbarPresenceChange,ref:this._bottomRightGridRef,rowCount:Math.max(0,l-n),rowHeight:this._rowHeightBottomGrid,scrollToColumn:i-r,scrollToRow:a-n,style:this._bottomRightGridStyle,width:this._getRightGridWidth(e)}))}},{key:"_renderTopLeftGrid",value:function(e){var t=e.fixedColumnCount,r=e.fixedRowCount;return t&&r?h.reactExports.createElement(B,h.qu({},e,{className:this.props.classNameTopLeftGrid,columnCount:t,height:this._getTopGridHeight(e),ref:this._topLeftGridRef,rowCount:r,style:this._topLeftGridStyle,tabIndex:null,width:this._getLeftGridWidth(e)})):null}},{key:"_renderTopRightGrid",value:function(e){var t=e.columnCount,r=e.enableFixedRowScroll,n=e.fixedColumnCount,l=e.fixedRowCount,i=e.scrollLeft,a=e.hideTopRightGridScrollbar,s=this.state,c=s.showHorizontalScrollbar,d=s.scrollbarSize;if(!l)return null;var f=c?1:0,p=this._getTopGridHeight(e),u=this._getRightGridWidth(e),_=c?d:0,g=p,S=this._topRightGridStyle;a&&(g=p+_,S=M(M({},this._topRightGridStyle),{},{left:0}));var y=h.reactExports.createElement(B,h.qu({},e,{cellRenderer:this._cellRendererTopRightGrid,className:this.props.classNameTopRightGrid,columnCount:Math.max(0,t-n)+f,columnWidth:this._columnWidthRightGrid,deferredMeasurementCache:this._deferredMeasurementCacheTopRightGrid,height:g,onScroll:r?this._onScrollLeft:void 0,ref:this._topRightGridRef,rowCount:l,scrollLeft:i,style:S,tabIndex:null,width:u}));return a?h.reactExports.createElement("div",{className:"TopRightGrid_ScrollWrapper",style:M(M({},this._topRightGridStyle),{},{height:p,width:u,overflowX:"hidden"})},y):y}}],[{key:"getDerivedStateFromProps",value:function(e,t){return e.scrollLeft!==t.scrollLeft||e.scrollTop!==t.scrollTop?{scrollLeft:e.scrollLeft!=null&&e.scrollLeft>=0?e.scrollLeft:t.scrollLeft,scrollTop:e.scrollTop!=null&&e.scrollTop>=0?e.scrollTop:t.scrollTop}:null}}])}();function Ot(){try{var o=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(Ot=function(){return!!o})()}m(me,"defaultProps",{classNameBottomLeftGrid:"",classNameBottomRightGrid:"",classNameTopLeftGrid:"",classNameTopRightGrid:"",enableFixedColumnScroll:!1,enableFixedRowScroll:!1,fixedColumnCount:0,fixedRowCount:0,scrollToColumn:-1,scrollToRow:-1,style:{},styleBottomLeftGrid:{},styleBottomRightGrid:{},styleTopLeftGrid:{},styleTopRightGrid:{},hideTopRightGridScrollbar:!1,hideBottomLeftGridScrollbar:!1}),me.propTypes={},ie(me),function(){function o(e,t){var r,n,l,i;return G(this,o),n=this,i=[e,t],l=k(l=o),(r=j(n,Ot()?Reflect.construct(l,i||[],k(n).constructor):l.apply(n,i))).state={clientHeight:0,clientWidth:0,scrollHeight:0,scrollLeft:0,scrollTop:0,scrollWidth:0},r._onScroll=r._onScroll.bind(r),r}return H(o,h.reactExports.PureComponent),A(o,[{key:"render",value:function(){var e=this.props.children,t=this.state,r=t.clientHeight,n=t.clientWidth,l=t.scrollHeight,i=t.scrollLeft,a=t.scrollTop,s=t.scrollWidth;return e({clientHeight:r,clientWidth:n,onScroll:this._onScroll,scrollHeight:l,scrollLeft:i,scrollTop:a,scrollWidth:s})}},{key:"_onScroll",value:function(e){var t=e.clientHeight,r=e.clientWidth,n=e.scrollHeight,l=e.scrollLeft,i=e.scrollTop,a=e.scrollWidth;this.setState({clientHeight:t,clientWidth:r,scrollHeight:n,scrollLeft:l,scrollTop:i,scrollWidth:a})}}])}().propTypes={};var ne="ASC",ye="DESC";function kt(o){var e=o.sortDirection,t=h.cl("ReactVirtualized__Table__sortableHeaderIcon",{"ReactVirtualized__Table__sortableHeaderIcon--ASC":e===ne,"ReactVirtualized__Table__sortableHeaderIcon--DESC":e===ye});return h.reactExports.createElement("svg",{className:t,width:18,height:18,viewBox:"0 0 24 24"},e===ne?h.reactExports.createElement("path",{d:"M7 14l5-5 5 5z"}):h.reactExports.createElement("path",{d:"M7 10l5 5 5-5z"}),h.reactExports.createElement("path",{d:"M0 0h24v24H0z",fill:"none"}))}function Mt(){try{var o=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(Mt=function(){return!!o})()}kt.propTypes={};var de=function(){function o(){return G(this,o),e=this,r=arguments,t=k(t=o),j(e,Mt()?Reflect.construct(t,r||[],k(e).constructor):t.apply(e,r));var e,t,r}return H(o,h.reactExports.Component),A(o)}();function tt(o,e){var t=Object.keys(o);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(o);e&&(r=r.filter(function(n){return Object.getOwnPropertyDescriptor(o,n).enumerable})),t.push.apply(t,r)}return t}function N(o){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?arguments[e]:{};e%2?tt(Object(t),!0).forEach(function(r){m(o,r,t[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(o,Object.getOwnPropertyDescriptors(t)):tt(Object(t)).forEach(function(r){Object.defineProperty(o,r,Object.getOwnPropertyDescriptor(t,r))})}return o}function Et(){try{var o=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(Et=function(){return!!o})()}m(de,"defaultProps",{cellDataGetter:function(o){var e=o.dataKey,t=o.rowData;return typeof t.get=="function"?t.get(e):t[e]},cellRenderer:function(o){var e=o.cellData;return e==null?"":String(e)},defaultSortDirection:ne,flexGrow:0,flexShrink:1,headerRenderer:function(o){var e=o.dataKey,t=o.label,r=o.sortBy,n=o.sortDirection,l=r===e,i=[h.reactExports.createElement("span",{className:"ReactVirtualized__Table__headerTruncatedText",key:"label",title:typeof t=="string"?t:null},t)];return l&&i.push(h.reactExports.createElement(kt,{key:"SortIndicator",sortDirection:n})),i},style:{}}),de.propTypes={};var xe=function(){function o(e){var t,r,n,l;return G(this,o),r=this,l=[e],n=k(n=o),(t=j(r,Et()?Reflect.construct(n,l||[],k(r).constructor):n.apply(r,l))).state={scrollbarWidth:0},t._createColumn=t._createColumn.bind(t),t._createRow=t._createRow.bind(t),t._onScroll=t._onScroll.bind(t),t._onSectionRendered=t._onSectionRendered.bind(t),t._setRef=t._setRef.bind(t),t._setGridElementRef=t._setGridElementRef.bind(t),t}return H(o,h.reactExports.PureComponent),A(o,[{key:"forceUpdateGrid",value:function(){this.Grid&&this.Grid.forceUpdate()}},{key:"getOffsetForRow",value:function(e){var t=e.alignment,r=e.index;return this.Grid?this.Grid.getOffsetForCell({alignment:t,rowIndex:r}).scrollTop:0}},{key:"invalidateCellSizeAfterRender",value:function(e){var t=e.columnIndex,r=e.rowIndex;this.Grid&&this.Grid.invalidateCellSizeAfterRender({rowIndex:r,columnIndex:t})}},{key:"measureAllRows",value:function(){this.Grid&&this.Grid.measureAllCells()}},{key:"recomputeGridSize",value:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=e.columnIndex,r=t===void 0?0:t,n=e.rowIndex,l=n===void 0?0:n;this.Grid&&this.Grid.recomputeGridSize({rowIndex:l,columnIndex:r})}},{key:"recomputeRowHeights",value:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;this.Grid&&this.Grid.recomputeGridSize({rowIndex:e})}},{key:"scrollToPosition",value:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;this.Grid&&this.Grid.scrollToPosition({scrollTop:e})}},{key:"scrollToRow",value:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;this.Grid&&this.Grid.scrollToCell({columnIndex:0,rowIndex:e})}},{key:"getScrollbarWidth",value:function(){if(this.GridElement){var e=this.GridElement,t=e.clientWidth||0;return(e.offsetWidth||0)-t}return 0}},{key:"componentDidMount",value:function(){this._setScrollbarWidth()}},{key:"componentDidUpdate",value:function(){this._setScrollbarWidth()}},{key:"render",value:function(){var e=this,t=this.props,r=t.children,n=t.className,l=t.disableHeader,i=t.gridClassName,a=t.gridStyle,s=t.headerHeight,c=t.headerRowRenderer,d=t.height,f=t.id,p=t.noRowsRenderer,u=t.rowClassName,_=t.rowStyle,g=t.scrollToIndex,S=t.style,y=t.width,x=this.state.scrollbarWidth,v=l?d:d-s,w=typeof u=="function"?u({index:-1}):u,C=typeof _=="function"?_({index:-1}):_;return this._cachedColumnStyles=[],h.reactExports.Children.toArray(r).forEach(function(b,R){var T=e._getFlexStyleForColumn(b,b.props.style||de.defaultProps.style);e._cachedColumnStyles[R]=N({overflow:"hidden"},T)}),h.reactExports.createElement("div",{"aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"],"aria-colcount":h.reactExports.Children.toArray(r).length,"aria-rowcount":this.props.rowCount,className:h.cl("ReactVirtualized__Table",n),id:f,role:"grid",style:S},!l&&c({className:h.cl("ReactVirtualized__Table__headerRow",w),columns:this._getHeaderColumns(),style:N({height:s,overflow:"hidden",paddingRight:x,width:y},C)}),h.reactExports.createElement(B,h.qu({},this.props,{elementRef:this._setGridElementRef,"aria-readonly":null,autoContainerWidth:!0,className:h.cl("ReactVirtualized__Table__Grid",i),cellRenderer:this._createRow,columnWidth:y,columnCount:1,height:v,id:void 0,noContentRenderer:p,onScroll:this._onScroll,onSectionRendered:this._onSectionRendered,ref:this._setRef,role:"rowgroup",scrollbarWidth:x,scrollToRow:g,style:N(N({},a),{},{overflowX:"hidden"})})))}},{key:"_createColumn",value:function(e){var t=e.column,r=e.columnIndex,n=e.isScrolling,l=e.parent,i=e.rowData,a=e.rowIndex,s=this.props.onColumnClick,c=t.props,d=c.cellDataGetter,f=c.cellRenderer,p=c.className,u=c.columnData,_=c.dataKey,g=c.id,S=f({cellData:d({columnData:u,dataKey:_,rowData:i}),columnData:u,columnIndex:r,dataKey:_,isScrolling:n,parent:l,rowData:i,rowIndex:a}),y=this._cachedColumnStyles[r],x=typeof S=="string"?S:null;return h.reactExports.createElement("div",{"aria-colindex":r+1,"aria-describedby":g,className:h.cl("ReactVirtualized__Table__rowColumn",p),key:"Row"+a+"-Col"+r,onClick:function(v){s&&s({columnData:u,dataKey:_,event:v})},role:"gridcell",style:y,title:x},S)}},{key:"_createHeader",value:function(e){var t,r,n,l,i,a=e.column,s=e.index,c=this.props,d=c.headerClassName,f=c.headerStyle,p=c.onHeaderClick,u=c.sort,_=c.sortBy,g=c.sortDirection,S=a.props,y=S.columnData,x=S.dataKey,v=S.defaultSortDirection,w=S.disableSort,C=S.headerRenderer,b=S.id,R=S.label,T=!w&&u,I=h.cl("ReactVirtualized__Table__headerColumn",d,a.props.headerClassName,{ReactVirtualized__Table__sortableHeaderColumn:T}),O=this._getFlexStyleForColumn(a,N(N({},f),a.props.headerStyle)),P=C({columnData:y,dataKey:x,disableSort:w,label:R,sortBy:_,sortDirection:g});if(T||p){var z=_!==x?v:g===ye?ne:ye,E=function(L){T&&u({defaultSortDirection:v,event:L,sortBy:x,sortDirection:z}),p&&p({columnData:y,dataKey:x,event:L})};i=a.props["aria-label"]||R||x,l="none",n=0,t=E,r=function(L){L.key!=="Enter"&&L.key!==" "||E(L)}}return _===x&&(l=g===ne?"ascending":"descending"),h.reactExports.createElement("div",{"aria-label":i,"aria-sort":l,className:I,id:b,key:"Header-Col"+s,onClick:t,onKeyDown:r,role:"columnheader",style:O,tabIndex:n},P)}},{key:"_createRow",value:function(e){var t=this,r=e.rowIndex,n=e.isScrolling,l=e.key,i=e.parent,a=e.style,s=this.props,c=s.children,d=s.onRowClick,f=s.onRowDoubleClick,p=s.onRowRightClick,u=s.onRowMouseOver,_=s.onRowMouseOut,g=s.rowClassName,S=s.rowGetter,y=s.rowRenderer,x=s.rowStyle,v=this.state.scrollbarWidth,w=typeof g=="function"?g({index:r}):g,C=typeof x=="function"?x({index:r}):x,b=S({index:r}),R=h.reactExports.Children.toArray(c).map(function(O,P){return t._createColumn({column:O,columnIndex:P,isScrolling:n,parent:i,rowData:b,rowIndex:r,scrollbarWidth:v})}),T=h.cl("ReactVirtualized__Table__row",w),I=N(N({},a),{},{height:this._getRowHeight(r),overflow:"hidden",paddingRight:v},C);return y({className:T,columns:R,index:r,isScrolling:n,key:l,onRowClick:d,onRowDoubleClick:f,onRowRightClick:p,onRowMouseOver:u,onRowMouseOut:_,rowData:b,style:I})}},{key:"_getFlexStyleForColumn",value:function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r="".concat(e.props.flexGrow," ").concat(e.props.flexShrink," ").concat(e.props.width,"px"),n=N(N({},t),{},{flex:r,msFlex:r,WebkitFlex:r});return e.props.maxWidth&&(n.maxWidth=e.props.maxWidth),e.props.minWidth&&(n.minWidth=e.props.minWidth),n}},{key:"_getHeaderColumns",value:function(){var e=this,t=this.props,r=t.children;return(t.disableHeader?[]:h.reactExports.Children.toArray(r)).map(function(n,l){return e._createHeader({column:n,index:l})})}},{key:"_getRowHeight",value:function(e){var t=this.props.rowHeight;return typeof t=="function"?t({index:e}):t}},{key:"_onScroll",value:function(e){var t=e.clientHeight,r=e.scrollHeight,n=e.scrollTop;(0,this.props.onScroll)({clientHeight:t,scrollHeight:r,scrollTop:n})}},{key:"_onSectionRendered",value:function(e){var t=e.rowOverscanStartIndex,r=e.rowOverscanStopIndex,n=e.rowStartIndex,l=e.rowStopIndex;(0,this.props.onRowsRendered)({overscanStartIndex:t,overscanStopIndex:r,startIndex:n,stopIndex:l})}},{key:"_setRef",value:function(e){this.Grid=e}},{key:"_setGridElementRef",value:function(e){this.GridElement=e}},{key:"_setScrollbarWidth",value:function(){var e=this.getScrollbarWidth();this.setState({scrollbarWidth:e})}}])}();m(xe,"defaultProps",{disableHeader:!1,estimatedRowSize:30,headerHeight:0,headerStyle:{},noRowsRenderer:function(){return null},onRowsRendered:function(){return null},onScroll:function(){return null},overscanIndicesGetter:wt,overscanRowCount:10,rowRenderer:function(o){var e=o.className,t=o.columns,r=o.index,n=o.key,l=o.onRowClick,i=o.onRowDoubleClick,a=o.onRowMouseOut,s=o.onRowMouseOver,c=o.onRowRightClick,d=o.rowData,f=o.style,p={"aria-rowindex":r+1};return(l||i||a||s||c)&&(p["aria-label"]="row",p.tabIndex=0,l&&(p.onClick=function(u){return l({event:u,index:r,rowData:d})}),i&&(p.onDoubleClick=function(u){return i({event:u,index:r,rowData:d})}),a&&(p.onMouseOut=function(u){return a({event:u,index:r,rowData:d})}),s&&(p.onMouseOver=function(u){return s({event:u,index:r,rowData:d})}),c&&(p.onContextMenu=function(u){return c({event:u,index:r,rowData:d})})),h.reactExports.createElement("div",h.qu({},p,{className:e,key:n,role:"row",style:f}),t)},headerRowRenderer:function(o){var e=o.className,t=o.columns,r=o.style;return h.reactExports.createElement("div",{className:e,role:"row",style:r},t)},rowStyle:{},scrollToAlignment:"auto",scrollToIndex:-1,style:{}}),xe.propTypes={};var q=[],oe=null,V=null;function Lt(){V&&(V=null,document.body&&oe!=null&&(document.body.style.pointerEvents=oe),oe=null)}function ho(){Lt(),q.forEach(function(o){return o.__resetIsScrolling()})}function Gt(o){o.currentTarget===window&&oe==null&&document.body&&(oe=document.body.style.pointerEvents,document.body.style.pointerEvents="none"),function(){V&&Y(V);var e=0;q.forEach(function(t){e=Math.max(e,t.props.scrollingResetTimeInterval)}),V=Re(ho,e)}(),q.forEach(function(e){e.props.scrollElement===o.currentTarget&&e.__handleWindowScrollEvent()})}function ot(o,e){q.some(function(t){return t.props.scrollElement===e})||e.addEventListener("scroll",Gt),q.push(o)}function rt(o,e){(q=q.filter(function(t){return t!==o})).length||(e.removeEventListener("scroll",Gt),V&&(Y(V),Lt()))}var ze=function(o){return o===window},ee=function(o){return o.getBoundingClientRect()};function nt(o,e){if(o){if(ze(o)){var t=window,r=t.innerHeight,n=t.innerWidth;return{height:typeof r=="number"?r:0,width:typeof n=="number"?n:0}}return ee(o)}return{height:e.serverHeight,width:e.serverWidth}}function it(o){return ze(o)&&document.documentElement?{top:"scrollY"in window?window.scrollY:document.documentElement.scrollTop,left:"scrollX"in window?window.scrollX:document.documentElement.scrollLeft}:{top:o.scrollTop,left:o.scrollLeft}}function lt(o,e){var t=Object.keys(o);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(o);e&&(r=r.filter(function(n){return Object.getOwnPropertyDescriptor(o,n).enumerable})),t.push.apply(t,r)}return t}function st(o){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?arguments[e]:{};e%2?lt(Object(t),!0).forEach(function(r){m(o,r,t[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(o,Object.getOwnPropertyDescriptors(t)):lt(Object(t)).forEach(function(r){Object.defineProperty(o,r,Object.getOwnPropertyDescriptor(t,r))})}return o}function At(){try{var o=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(At=function(){return!!o})()}var jt=function(){return typeof window<"u"?window:void 0},fo=function(){function o(){var e,t,r,n;G(this,o);for(var l=arguments.length,i=new Array(l),a=0;a<l;a++)i[a]=arguments[a];return t=this,r=o,n=[].concat(i),r=k(r),m(e=j(t,At()?Reflect.construct(r,n||[],k(t).constructor):r.apply(t,n)),"_window",jt()),m(e,"_isMounted",!1),m(e,"_positionFromTop",0),m(e,"_positionFromLeft",0),m(e,"_detectElementResize",void 0),m(e,"_child",void 0),m(e,"_windowScrollerRef",h.reactExports.createRef()),m(e,"state",st(st({},nt(e.props.scrollElement,e.props)),{},{isScrolling:!1,scrollLeft:0,scrollTop:0})),m(e,"_registerChild",function(s){!s||s instanceof Element||console.warn("WindowScroller registerChild expects to be passed Element or null"),e._child=s,e.updatePosition()}),m(e,"_onChildScroll",function(s){var c=s.scrollTop;if(e.state.scrollTop!==c){var d=e.props.scrollElement;d&&(typeof d.scrollTo=="function"?d.scrollTo(0,c+e._positionFromTop):d.scrollTop=c+e._positionFromTop)}}),m(e,"_registerResizeListener",function(s){s===window?window.addEventListener("resize",e._onResize,!1):e._detectElementResize.addResizeListener(s,e._onResize)}),m(e,"_unregisterResizeListener",function(s){s===window?window.removeEventListener("resize",e._onResize,!1):s&&e._detectElementResize.removeResizeListener(s,e._onResize)}),m(e,"_onResize",function(){e.updatePosition()}),m(e,"__handleWindowScrollEvent",function(){if(e._isMounted){var s=e.props.onScroll,c=e.props.scrollElement;if(c){var d=it(c),f=Math.max(0,d.left-e._positionFromLeft),p=Math.max(0,d.top-e._positionFromTop);e.setState({isScrolling:!0,scrollLeft:f,scrollTop:p}),s({scrollLeft:f,scrollTop:p})}}}),m(e,"__resetIsScrolling",function(){e.setState({isScrolling:!1})}),e}return H(o,h.reactExports.PureComponent),A(o,[{key:"updatePosition",value:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.props.scrollElement,t=this.props.onResize,r=this.state,n=r.height,l=r.width,i=this._child||this._windowScrollerRef.current;if(i instanceof Element&&e){var a=function(c,d){if(ze(d)&&document.documentElement){var f=document.documentElement,p=ee(c),u=ee(f);return{top:p.top-u.top,left:p.left-u.left}}var _=it(d),g=ee(c),S=ee(d);return{top:g.top+_.top-S.top,left:g.left+_.left-S.left}}(i,e);this._positionFromTop=a.top,this._positionFromLeft=a.left}var s=nt(e,this.props);n===s.height&&l===s.width||(this.setState({height:s.height,width:s.width}),t({height:s.height,width:s.width})),this.props.updateScrollTopOnUpdatePosition===!0&&(this.__handleWindowScrollEvent(),this.__resetIsScrolling())}},{key:"componentDidMount",value:function(){var e=this.props.scrollElement;this._detectElementResize=pt(),this.updatePosition(e),e&&(ot(this,e),this._registerResizeListener(e)),this._isMounted=!0}},{key:"componentDidUpdate",value:function(e,t){var r=this.props.scrollElement,n=e.scrollElement;n!==r&&n!=null&&r!=null&&(this.updatePosition(r),rt(this,n),ot(this,r),this._unregisterResizeListener(n),this._registerResizeListener(r))}},{key:"componentWillUnmount",value:function(){var e=this.props.scrollElement;e&&(rt(this,e),this._unregisterResizeListener(e)),this._isMounted=!1}},{key:"render",value:function(){var e=this.props.children,t=this.state,r=t.isScrolling,n=t.scrollTop,l=t.scrollLeft,i=t.height,a=t.width;return h.reactExports.createElement("div",{ref:this._windowScrollerRef},e({onChildScroll:this._onChildScroll,registerChild:this._registerChild,height:i,isScrolling:r,scrollLeft:l,scrollTop:n,width:a}))}}])}();m(fo,"defaultProps",{onResize:function(){},onScroll:function(){},scrollingResetTimeInterval:150,scrollElement:jt(),serverHeight:0,serverWidth:0});const te="ReactVirtualizedDemo-flexContainer",Ht="ReactVirtualizedDemo-tableRow",Wt="ReactVirtualizedDemo-tableRowHover",we="ReactVirtualizedDemo-tableCell",Ce="ReactVirtualizedDemo-noClick";class po extends h.yt.PureComponent{constructor(){super(...arguments),this.getRowClassName=({index:e})=>{const{onRowClick:t}=this.props;return h.co(Ht,te,{[Wt]:e!==-1&&t!=null})},this.cellRenderer=({cellData:e,dataKey:t,columnIndex:r,width:n})=>{const{columns:l,rowHeight:i,onRowClick:a}=this.props;let s=e,c={height:i,paddingRight:"2px",paddingTop:"0px",paddingBottom:"0px",minWidth:`${n}px`,maxWidth:`${n}px`};return t==="shortcut"?s=h.om(e):t==="description"&&(c={...c,fontSize:".75rem",display:"block",paddingTop:"4px",whiteSpace:"pre-line"}),h.jsxRuntimeExports.jsx(Ie,{component:"div",className:h.co(we,te,{[Ce]:a==null}),variant:"body",style:c,align:r!=null&&l[r].numeric?"right":"left",children:s})},this.headerRenderer=({label:e,columnIndex:t,width:r})=>{const{headerHeight:n,columns:l}=this.props,i=l[t];return h.jsxRuntimeExports.jsx(Ie,{component:"div",className:h.co(we,te,Ce),variant:"head",sx:{width:r,height:n,backgroundColor:a=>a.palette.grey[300]},align:i.numeric?"right":"left",children:h.jsxRuntimeExports.jsx("span",{children:i.label})})}}static{this.defaultProps={headerHeight:40,rowHeight:48}}render(){const{columns:e,rowHeight:t,headerHeight:r,...n}=this.props;return h.jsxRuntimeExports.jsx(gt,{children:({height:l,width:i})=>h.jsxRuntimeExports.jsx(xe,{height:l,width:i,rowHeight:t,gridStyle:{direction:"inherit"},headerHeight:r,...n,rowClassName:this.getRowClassName,children:e.map(({dataKey:a,width:s,widthLess:c,...d},f)=>{const p=c?i-c:s;return h.jsxRuntimeExports.jsx(de,{style:{flex:`1 1 ${p}px`},headerRenderer:u=>this.headerRenderer({...u,width:p,columnIndex:f}),className:te,cellDataGetter:({rowData:u,columnData:_,dataKey:g})=>u[g],cellRenderer:u=>this.cellRenderer({...u,width:p,columnIndex:f}),dataKey:a,width:p,...d},a)})})})}}const mo=Kt(po)(({theme:o})=>({"& .ReactVirtualized__Table__headerRow":{...o.direction==="rtl"&&{paddingLeft:"0 !important"},...o.direction!=="rtl"&&{paddingRight:void 0}},"& .ReactVirtualized__Table__Grid":{outline:"none"},[`& .${te}`]:{display:"flex",alignItems:"center",boxSizing:"border-box"},[`& .${Ht}`]:{cursor:"pointer"},[`& .${Wt}`]:{"&:hover:not([disabled])":{backgroundColor:o.palette.grey[200]}},[`& .${we}`]:{flex:1},[`& .${Ce}`]:{cursor:"initial"}}));function go(o){const{commands:e,...t}=o,[r,n]=h.reactExports.useState(!1),[l,i]=h.reactExports.useState(""),a=h.reactExports.useMemo(()=>{let u=e.getAllCommands();r||(u=u.filter(S=>S.command.shortcut())),u.sort((S,y)=>S.command.label().localeCompare(y.command.label()));const _=[],g=S=>S.replace(/\n\n/g,`
19
+ `);for(let S=0;S<u.length;S++){const y=u[S].command,x=y.shortcut();if(Array.isArray(x)){const v=x;for(let w=0;w<v.length;w++)_.push({label:y.label(),description:g(y.description()),shortcut:v[w]})}else _.push({label:y.label(),description:g(y.description()),shortcut:y.shortcut()})}return _},[r,e]),[s,c]=h.reactExports.useState(null);h.reactExports.useEffect(()=>{Promise.resolve().then(()=>require("./BcHEeTMPgurSZ2Kh.cjs")).then(u=>{c(new u.default(a,{threshold:0,ignoreLocation:!0,keys:["label","description"]}))})},[a]);const[d,f]=h.reactExports.useState(a),p=l.length>0&&d.length===0;return h.reactExports.useEffect(()=>{s&&h.Yt.debounce(()=>{if(l.trim().length===0)return void f(a);const u=s.search(l.trim()),_=new Array(u.length);for(let g=0;g<u.length;g++)_[g]=u[g].item;f(_)},90)()},[s,l]),h.jsxRuntimeExports.jsxs(h.Box,{style:{height:440,width:"100%",display:"flex",flexDirection:"column"},...t,children:[h.jsxRuntimeExports.jsxs(h.Box,{sx:{display:"flex",alignItems:"center",justifyContent:"end",marginBottom:u=>u.spacing(2),color:u=>u.palette.text.secondary},children:[h.jsxRuntimeExports.jsx(h.TextField,{InputProps:{sx:{backgroundImage:`linear-gradient(${h.alpha("#fff",h.jn(5))}, ${h.alpha("#fff",h.jn(5))})`},inputProps:{className:"input",autoFocus:!0,spellCheck:!1,placeholder:"Type to search key bindings",autoComplete:"off",sx:{paddingTop:u=>u.spacing(1),paddingBottom:u=>u.spacing(1)}},endAdornment:h.jsxRuntimeExports.jsx(h.InputAdornment,{sx:{opacity:l.length>0?1:0,display:l.length>0?"flex":"none"},position:"end",children:h.jsxRuntimeExports.jsx(h.IconButton,{"aria-label":"clear search",onClick:()=>i(""),edge:"end",children:h.jsxRuntimeExports.jsx(h._o,{})})})},sx:{flex:"1 1 40%",marginRight:u=>u.spacing(1),"& .MuiOutlinedInput-notchedOutline":{borderColor:u=>p?`${u.palette.error.main} !important`:void 0},"& .MuiInputLabel-outlined":{color:u=>p?`${u.palette.error.main} !important`:void 0}},value:l,onChange:u=>{i(u.target.value)},onKeyDown:u=>{u.which===h.rn.Escape&&l.length>0&&(i(""),u.stopPropagation(),u.preventDefault())},onContextMenu:u=>{u.stopPropagation()}}),h.jsxRuntimeExports.jsx(h.FormControlLabel,{sx:{flex:"1 1 60%"},control:h.jsxRuntimeExports.jsx(h.Checkbox,{checked:r,onChange:()=>n(!r)}),label:"Show commands without key bindings",labelPlacement:"start"})]}),h.jsxRuntimeExports.jsx(h.Box,{sx:{flex:"1 1 100%",borderRadius:u=>`${u.shape.borderRadius}px`,border:u=>`solid ${u.palette.divider} 1px`,paddingRight:"1px",overflow:"hidden","* .MuiTableCell-head":{background:u=>u.palette.background.paper,backgroundImage:`linear-gradient(${h.alpha("#fff",h.jn(5))}, ${h.alpha("#fff",h.jn(5))})`}},children:h.jsxRuntimeExports.jsx(mo,{rowCount:d.length,rowGetter:u=>d[u.index],columns:[{width:180,label:"Command",dataKey:"label"},{width:260,label:"Key Binding",dataKey:"shortcut"},{width:240,label:"Description",dataKey:"description",widthLess:440}]})}),h.jsxRuntimeExports.jsx(h.Box,{sx:{display:"flex",flexShrink:"0",paddingLeft:u=>u.spacing(1),paddingTop:u=>u.spacing(1),paddingRight:u=>u.spacing(1),userSelect:"none",justifyContent:"flex-end"},children:h.jsxRuntimeExports.jsx(h.Typography,{noWrap:!0,component:"div",sx:{color:u=>p?u.palette.error.main:u.palette.text.secondary},children:`${d.length===0?"No":d.length} shortcut key${d.length===1?"":"s"}${l.length>0?" found":""}`})})]})}exports.default=o=>{const{title:e="Shortcut Keys",commands:t,sx:r,...n}=o;return h.jsxRuntimeExports.jsx(h.XC,{isModal:!0,onKeyDown:l=>{l.keyCode===h.rn.F1&&l.preventDefault()},sx:{width:"780px",...r},title:e,autoFocusSel:".input",...n,children:h.jsxRuntimeExports.jsx(h.DialogContent,{dividers:!0,children:h.jsxRuntimeExports.jsx(go,{commands:t,sx:{marginBottom:"8px"}})})})};
@@ -0,0 +1,6 @@
1
+ "use strict";/**
2
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.4.15
3
+ *
4
+ * (C) 2025-present SheetXL Inc. & Michael T. Ford
5
+ * License: The license can be found at https://www.sheetxl.com/license.
6
+ */Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});exports.default={ASC:{s:"Converts a string to full-width characters to half-width. Uses the double-byte character set (DBCS).",p:{text:{d:"is a text or a reference to a cell containing text"}},h:"DBCS"},ARRAYTOTEXT:{s:"Returns a text representation of an array",p:{array:{d:"the array to represent as text"},format:{d:"0 for relaxed format, 1 for strict format",v:0}}},CHAR:{s:"Returns the character specified by the code number from the character set for your computer",p:{number:{d:"is a number between 1 and 255 specifying which character you want"}}},CLEAN:{s:"Removes all nonprintable characters from text",p:{text:{d:"is the text you want to clean"}}},CODE:{s:"Returns the Unicode value of the first character in a text string",p:{text:{d:"is the text string whose Unicode value you want"}}},CONCAT:{s:"Concatenates a list or range of text strings",p:{text:{d:"text1,text2,... are 1 to 252 text strings or ranges to be joined"}}},CONCATENATE:{s:"Joins several text strings into one text string",p:{text:{d:"text1, text2,... are 1 to 252 text strings or ranges to be joined"}},c:"Compatibility"},DETECTLANGUAGE:{s:"Detects the language of a given text.",p:{text:{d:"is the text to detect the language of"}},h:"Unimplemented"},DBCS:{s:"Changes half-width characters to full-width characters. Uses the double-byte character set (DBCS).",p:{text:{d:"is a text or a reference to a cell containing text"}},h:"DBCS"},DOLLAR:{s:"Converts a number to text in currency format",p:{number:{d:"is the number to convert"},decimals:{d:"is the number of digits to the right of the decimal point",v:2}}},EXACT:{s:"Checks whether two text strings are exactly the same, and returns TRUE or FALSE. EXACT is case-sensitive",p:{text1:{d:"is the first text string"},text2:{d:"is the second text string"}}},FIND:{s:"Returns the starting position of one text string within another text string. FIND is case-sensitive",p:{findText:{d:"Returns the starting position of one text string within another text string. FIND is case-sensitive"},withinText:{d:"is the text you want to search"},startNum:{d:"specifies the character at which to start the search. The first character in Within_text is character number 1",v:1}}},FINDB:{s:"Finds the starting position of one text string with another text string. FINDB is case-sensitive. Use with double-byte characters.",p:{findText:{d:"is the text you want to find"},withinText:{d:"is the text you want to search"},startNum:{d:"is the position in within_text to start searching",v:1}},h:"DBCS"},FIXED:{s:"Rounds a number to the specified number of decimals and returns the result as text with or without commas",p:{number:{d:"is the number you want to round and convert to text"},decimals:{d:"is the number of digits to the right of the decimal point",v:2},noCommas:{d:"is a logical value: do not display commas in the returned text = TRUE; do display commas in the returned text = FALSE",v:!1}}},LEFT:{s:"Returns the specified number of characters from the start of a text string",p:{text:{d:"is the text string from which you want to extract characters"},numChars:{d:"specifies how many characters you want LEFT to extract",v:1}}},LEFTB:{s:"Returns the leftmost num_bytes characters from text. Uses double-byte characters.",p:{text:{d:"is the text string from which you want to extract characters"},numBytes:{d:"is the number of bytes to extract",v:1}},h:"DBCS"},LEN:{s:"Returns the number of characters in a text string",p:{text:{d:"is the text whose length you want to find. Spaces count as characters"}}},LENB:{s:"Returns the number of bytes in a text string. Uses double-byte characters.",p:{text:{d:"is the text string from which you want to extract characters"}}},LOWER:{s:"Converts all letters in a text string to lowercase",p:{text:{d:"is the text you want to convert to lowercase. Characters in Text that are not letters are not changed"}}},MID:{s:"Returns the characters from the middle of a text string, given a starting position and length",p:{text:{d:"is the text string from which you want to extract characters"},startNum:{d:"is the position of the first character you want to extract"},numChars:{d:"specifies how many characters to return from Text"}}},MIDB:{s:"Returns characters from the middle of a text string. Uses double-byte characters.",p:{text:{d:"is the text string from which you want to extract characters"},startNum:{d:"is the position of the first character you want to extract"},numBytes:{d:"is the number of bytes to extract"}},h:"DBCS"},NUMBERVALUE:{s:"Converts text to number in a locale-independent manner",p:{text:{d:"is the text string you want to convert"},decimalSeparator:{d:"is the character that separates the integer part from the decimal part of the number",v:"."},groupSeparator:{d:"is the character that separates groups of thousands",v:","}}},PERCENTOF:{s:"Returns the percentage of a subset of a given data set",p:{dataSubset:{d:"is the subset"},dataAll:{d:"is the data set"}},h:"Unimplemented"},PHONETIC:{s:"Returns the phonetic spelling of a text string",p:{reference:{d:"Text string or a reference to a single cell or a range of cells that contain a furigana text string"}},h:"Unimplemented"},PROPER:{s:"Converts the first letter of each word in a text string to uppercase",p:{text:{d:"is the text string you want to convert"}}},REGEXEXTRACT:{s:"Extracts substrings of 'text' based on the provided REGEX 'pattern'",p:{text:{d:"is the text string from which you want to extract characters"},pattern:{d:"The regular expression to be applied"},returnMode:{d:"Specify which matches to return",v:0},caseSensitivity:{d:"Whether the match is case sensitive",v:!1}},h:"Unimplemented"},REGEXREPLACE:{s:"Returns 'text', with 'replacement' in place of matches with 'pattern'",p:{text:{d:"is the text string from which you want to extract characters"},pattern:{d:"The regular expression to be applied"},replacement:{d:"The replacement string"},occurrence:{d:"The occurrence of the match to replace",v:0},caseSensitivity:{d:"Whether the match is case sensitive",v:!1}},h:"Unimplemented"},REGEXTEST:{s:"Checks whether the input matches the pattern, and returns TRUE or FALSE",p:{text:{d:"is the text string to be checked"},pattern:{d:"is the regular expression to be applied"},caseSensitivity:{d:"Whether the match is case sensitive",v:!1}},h:"Unimplemented"},REPLACE:{s:"Replaces part of a text string with a different text string",p:{oldText:{d:"is the text string to be changed"},startNum:{d:"is the position of the first character you want to replace"},numChars:{d:"is the number of characters to replace"},newText:{d:"is the text string that will replace old_text"}}},REPLACEB:{s:"Replaces part of a text string with a different text string using the number of bytes. Uses the double-byte character set (DBCS).",p:{oldText:{d:"is the text string to be changed"},startNum:{d:"is the position of the first character you want to replace"},numBytes:{d:"is the number of bytes to replace"},newText:{d:"is the text string that will replace old_text"}},h:"DBCS"},REPT:{s:"Repeats text a given number of times",p:{text:{d:"is the text you want to repeat"},numberTimes:{d:"is the number of times you want to repeat text"}}},RIGHT:{s:"Returns the specified number of characters from the end of a text string",p:{text:{d:"is the text string that contains the characters you want to extract"},numChars:{d:"specifies how many characters you want to extract",v:1}}},RIGHTB:{s:"Returns the rightmost num_bytes characters from text. Uses double-byte characters.",p:{text:{d:"is the text string from which you want to extract characters"},numBytes:{d:"is the number of bytes to extract",v:1}}},SEARCH:{s:"Returns the number of the character at which a specific character or text string is first found, reading left to right (not case-sensitive)",p:{findText:{d:"Returns the number of the character at which a specific character or text string is first found, reading left to right (not case-sensitive)"},withinText:{d:"is the text in which you want to search for Find_text"},startNum:{d:"is the character number in Within_text, counting from the left, at which you want to start searching",v:1}}},SEARCHB:{s:"Returns the number of the character at which a specific character or text string is first found, reading left to right (not case-sensitive). Uses the double-byte character set (DBCS).",p:{findText:{d:"Returns the number of the character at which a specific character or text string is first found, reading left to right (not case-sensitive)"},withinText:{d:"is the text in which you want to search for Find_text"},startBytes:{d:"is the character number in Within_text, counting from the left, at which you want to start searching",v:1}},h:"DBCS"},SUBSTITUTE:{s:"Replaces existing text with new text in a text string",p:{text:{d:"is the text or the reference to a cell containing text in which you want to substitute characters"},oldText:{d:"is the existing text you want to replace. If the case of Old_text does not match the case of text, SUBSTITUTE will not replace the text"},newText:{d:"is the text you want to replace Old_text with"},instanceNum:{d:"specifies which occurrence of Old_text you want to replace. If omitted, every instance of Old_text is replaced"}}},T:{s:"Checks whether a value is text, and returns the text if it is, or returns double quotes (empty text) if it is not",p:{value:{d:"is the value to test"}}},TEXT:{s:"Converts a value to text in a specific number format",p:{value:{d:"is a number, a formula that evaluates to a numeric value, or a reference to a cell containing a numeric value"},formatText:{d:"is a text string that defines the number format to use"}}},TEXTAFTER:{s:"Returns text that's after delimiting characters.",p:{text:{d:"The text you want to search for the delimiter."},delimiter:{d:"The character or string to use as a delimiter."},instanceNum:{d:"The desired occurrence of delimiter. The default is 1. A negative number searches from the end.",v:1},matchMode:{d:"Searches the text for a delimiter match. By default, a case-sensitive match is done.",v:0},matchEnd:{d:"Whether to match the delimiter against the end of text. By default, they're not matched.",v:0},ifNotFound:{d:"Returned if no match is found. By default, #N/A is returned.",v:"undefined"}}},TEXTJOIN:{s:"Concatenates a list or range of text strings using a delimiter",p:{delimiter:{d:"Character or string to insert between each text item"},ignoreEmpty:{d:"if TRUE(default), ignores empty cells"},text:{d:"text1,text2,... are 1 to 252 text strings or ranges to be joined"}}},TEXTSPLIT:{s:"Splits text into rows or columns using delimiters.",p:{text:{d:"The text to split"},colDelimiter:{d:"The column delimiter(s) - can be string or array of strings"},rowDelimiter:{d:"The row delimiter(s), null/undefined means no row splitting",v:null},ignoreEmpty:{d:"Whether to ignore empty values (defaults to `false`)",v:!1},matchMode:{d:"Whether to use case-sensitive (0) or case-insensitive (1) match (defaults to `0`)",v:0},padWith:{d:"Value to use for padding if matrix is uneven (defaults to `#N/A`)",v:"undefined"}}},TEXTBEFORE:{s:"Returns text that's before delimiting characters.",p:{text:{d:"The text you want to search for the delimiter."},delimiter:{d:"The character or string to use as a delimiter."},instanceNum:{d:"The desired occurrence of delimiter. The default is 1. A negative number searches from the end.",v:1},matchMode:{d:"Whether to use case-sensitive (0) or case-insensitive (1) match (defaults to `0`)",v:0},matchEnd:{d:"Whether to match the delimiter against the end of text. By default, they're not matched.",v:0},ifNotFound:{d:"Returned if no match is found. By default, #N/A is returned.",v:"undefined"}}},TRANSLATE:{s:"Translate a text string from one language to another using the Microsoft Translator service.",p:{text:{d:"The text to translate."},sourceLanguage:{d:"Specifiy the source language your text is currently in. Expressed as a two-letter language code."},targetLanguage:{d:"Specifiy the source language you want your text to be translated to. Expressed as a two-letter language code."}},h:"Unimplemented"},TRIM:{s:"Removes all spaces from text except for single spaces between words.",p:{text:{d:"The text from which you want to remove extra spaces."}}},UNICHAR:{s:"Returns the Unicode character referenced by the given numeric value",p:{number:{d:"is the Unicode number representing a character"}}},UNICODE:{s:"Returns the number (code point) corresponding to the first character of the text",p:{text:{d:"is the character that you want the Unicode value of"}}},UPPER:{s:"Converts a text string to all uppercase letters",p:{text:{d:"is the text you want converted to uppercase, a reference or a text string"}}},VALUE:{s:"Converts a text string that represents a number to a number",p:{text:{d:"is the text enclosed in quotation marks or a reference to a cell containing the text you want to convert"}}},VALUETOTEXT:{s:"Returns a text representation of a value",p:{value:{d:"the value to represent as text"},format:{d:"the format of the text",v:0}}}};
@@ -0,0 +1,6 @@
1
+ "use strict";/**
2
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.4.15
3
+ *
4
+ * (C) 2025-present SheetXL Inc. & Michael T. Ford
5
+ * License: The license can be found at https://www.sheetxl.com/license.
6
+ */Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./TAIJH4y6CbXhFnhx.cjs"),I=["Ok","Cancel"],j=e.reactExports.memo(y=>{const{initialHyperlink:a=null,initialDisplay:E=null,onUpdateHyperlink:c,context:s,onOption:d,onValidateOption:l,onDone:i,options:x=I,defaultOption:p=x?.[0],cancelOption:r="Cancel",sx:T,...k}=y,C=e.reactExports.useMemo(()=>(a??s?.()?.getHyperlink())!==null,[]),g=e.reactExports.useMemo(()=>{let t=null,o=null;a&&(typeof a=="string"?o=a:t=a);const f=t??s?.()?.getHyperlink();return{address:o??f?.getAddress()??"",textToDisplay:f?.getDisplayText()??""}},[a,s]),[n,b]=e.reactExports.useState(g.address),[u,F]=e.reactExports.useState(()=>{const t=s?.().toTextUnformatted()??E;return t===g.address?"":t}),[O,m]=e.reactExports.useState(!1),P=e.reactExports.useCallback(t=>{F(t.target.value)},[]),h=e.reactExports.useCallback(async(t,o)=>null,[]),D=e.he(async t=>{t!==r&&c?.(n===""?null:{address:n},u),d?.(t,t===r,t===p),i?.()},[n,u,c,i,d,p,r]),v=e.he(t=>{b(t.target.value),h(t.target.value,null)},[l]),H=e.he(async t=>{let o=await Promise.resolve(l?.(t));try{o!==!1&&(o=await h(n,t))}catch{}return o??!0},[l]);return e.jsxRuntimeExports.jsx(e.p7,{title:(C?"Edit":"Insert")+" Link",options:x,onDone:i,onOption:t=>D(t),onValidateOption:H,defaultOption:p,cancelOption:r,autoFocusSel:".autoFocus",sx:{width:"480px",...T},...k,children:e.jsxRuntimeExports.jsxs(e.Box,{sx:{paddingTop:t=>t.spacing(1),paddingBottom:t=>t.spacing(0),rowGap:t=>t.spacing(1),display:"flex",flexDirection:"column"},children:[e.jsxRuntimeExports.jsx(e.FormControl,{sx:{paddingTop:t=>t.spacing(1.5),minWidth:135,width:"100%"},size:"small",children:e.jsxRuntimeExports.jsx(e.TextField,{label:"Address",placeholder:"Enter a url or cell reference.",onFocus:t=>{O||t.target?.select(),m(!0)},sx:{"& .MuiFormHelperText-root":{marginTop:t=>t.spacing(.5)}},InputLabelProps:{shrink:!0},InputProps:{inputProps:{className:"autoFocus",spellCheck:!1,autoComplete:"off",sx:{paddingTop:t=>t.spacing(1.25),paddingBottom:t=>t.spacing(.75),backgroundImage:`linear-gradient(${e.alpha("#fff",e.jn(5))}, ${e.alpha("#fff",e.jn(5))})`}}},value:n,onChange:v,onContextMenu:t=>{t.stopPropagation()}})}),e.jsxRuntimeExports.jsx(e.FormControl,{sx:{paddingTop:t=>t.spacing(1.5),minWidth:135,width:"100%"},size:"small",children:e.jsxRuntimeExports.jsx(e.TextField,{label:"Display Text",placeholder:n?.startsWith("#")?n.substring(1):n,onFocus:()=>{m(!0)},sx:{"& .MuiFormHelperText-root":{marginTop:t=>t.spacing(.5)}},InputLabelProps:{shrink:!0},InputProps:{inputProps:{spellCheck:!1,autoComplete:"off",sx:{paddingTop:t=>t.spacing(1.25),paddingBottom:t=>t.spacing(.75),backgroundImage:`linear-gradient(${e.alpha("#fff",e.jn(5))}, ${e.alpha("#fff",e.jn(5))})`}}},value:u,onChange:P,onContextMenu:t=>{t.stopPropagation()}})})]})})});exports.HyperlinkDialog=j,exports.default=j;
@@ -0,0 +1,6 @@
1
+ "use strict";/**
2
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.4.15
3
+ *
4
+ * (C) 2025-present SheetXL Inc. & Michael T. Ford
5
+ * License: The license can be found at https://www.sheetxl.com/license.
6
+ */Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});exports.default={AVEDEV:{s:"Returns the average of the absolute deviations of data points from their mean. Arguments can be numbers or names, arrays, or references that contain numbers",p:{number:{d:"number1,number2,... are 1 to 255 arguments for which you want the average of the absolute deviations"}}},AVERAGE:{s:"Returns the average (arithmetic mean) of its arguments, which can be numbers or names, arrays, or references that contain numbers",p:{number:{d:"number1,number2,... are 1 to 255 numeric arguments for which you want the average"}}},AVERAGEA:{s:"Returns the average (arithmetic mean) of its arguments, evaluating text and FALSE in arguments as 0; TRUE evaluates as 1. Arguments can be numbers, names, arrays, or references",p:{value:{d:"value1,value2,... are 1 to 255 arguments for which you want the average"}}},AVERAGEIF:{s:"Finds average(arithmetic mean) for the cells specified by a given condition or criteria",p:{range:{d:"is the range of cells you want evaluated"},criteria:{d:"is the condition or criteria in the form of a number, expression, or text that defines which cells will be used to find the average"},averageRange:{d:"are the actual cells to be used to find the average. If omitted, the cells in range are used"}},h:"Unimplemented"},AVERAGEIFS:{s:"Finds average(arithmetic mean) for the cells specified by a given set of conditions or criteria",p:{averageRange:{d:"are the actual cells to be used to find the average."},criteriaRange:{d:"criteria_range1,criteria_range2,... is the range of cells you want evaluated for the particular condition"},criteria:{d:"criteria1,criteria2,... is the condition or criteria in the form of a number, expression, or text that defines which cells will be used to find the average"}},h:"Unimplemented"},COUNT:{s:"Counts the number of cells in a range that contain numbers",p:{number:{d:"value1,value2,... are 1 to 255 arguments that can contain or refer to a variety of different types of data, but only numbers are counted"}}},COUNTA:{s:"Counts the number of cells in a range that are not empty",p:{value:{d:"value1,value2,... are 1 to 255 arguments representing the values and cells you want to count. Values can be any type of information"}}},COUNTBLANK:{s:"Counts the number of empty cells in a specified range of cells",p:{range:{d:"is the range from which you want to count the empty cells"}},h:"Unimplemented"},COUNTIF:{s:"Counts the number of cells within a range that meet the given condition",p:{range:{d:"is the range of cells from which you want to count nonblank cells"},criteria:{d:"is the condition in the form of a number, expression, or text that defines which cells will be counted"}},h:"Unimplemented"},COUNTIFS:{s:"Counts the number of cells specified by a given set of conditions or criteria",p:{criteriaRange:{d:"criteria_range1,criteria_range2,... is the range of cells you want evaluated for the particular condition"},criteria:{d:"criteria1,criteria2,... is the condition in the form of a number, expression, or text that defines which cells will be counted"}},h:"Unimplemented"},LARGE:{s:"Returns the k-th largest value in a data set. For example, the fifth largest number.",p:{array:{d:"is the array or range of data for which you want to determine the k-th largest value."},k:{d:"is the position (from the largest) in the array or cell range of the value to return."}}},MAX:{s:"Returns the largest value in a set of values. Ignores logical values and text",p:{number:{d:"number1,number2,... are 1 to 255 numbers, empty cells, logical values, or text numbers for which you want the maximum"}}},MAXA:{s:"Returns the largest value in a set of values. Does not ignore logical values and text",p:{value:{d:"value1,value2,... are 1 to 255 numbers, empty cells, logical values, or text numbers for which you want the maximum"}}},MAXIFS:{s:"Returns the maximum value among cells specified by a given set of conditions or criteria",p:{maxRange:{d:"the cells in which to determine the maximum value"},criteriaRange:{d:"criteria_range1,criteria_range2,... is the range of cells you want to evaluate for the particular condition"},criteria:{d:"criteria1,criteria2,... is the condition or criteria in the form of a number, expression, or text that defines which cells will be included when determining the maximum value"}},h:"Unimplemented"},MEDIAN:{s:"Returns the median, or the number in the middle of the set of given numbers",p:{number:{d:"number1,number2,... are 1 to 255 numbers or names, arrays, or references that contain numbers for which you want the median"}}},MIN:{s:"Returns the smallest number in a set of values. Ignores logical values and text",p:{number:{d:"number1,number2,... are 1 to 255 numbers, empty cells, logical values, or text numbers for which you want the minimum"}}},MINA:{s:"Returns the smallest value in a set of values. Does not ignore logical values and text",p:{value:{d:"value1,value2,... are 1 to 255 numbers, empty cells, logical values, or text numbers for which you want the minimum"}}},MINIFS:{s:"Returns the minimum value among cells specified by a given set of conditions or criteria",p:{maxRange:{d:"is the range of cells to evaluate for the minimum value"},criteriaRange:{d:"is the range of cells to evaluate against the criteria"},criteria:{d:"is the criteria to evaluate against the criteria range"}},h:"Unimplemented"},PERMUT:{s:"Returns the number of permutations for a given number of objects that can be selected from the total objects",p:{number:{d:"is the total number of objects"},numberChoosen:{d:"is the number of objects in each permutation"}},h:"Unimplemented"},PERMUTATIONA:{s:"Returns the number of permutations for a given number of objects (with repetitions) that can be selected from the total objects",p:{number:{d:"is the total number of objects"},numberChoosen:{d:"is the number of objects in each permutation"}},h:"Unimplemented"},SMALL:{s:"Returns the k-th smallest value in a data set. For example, the fifth smallest number",p:{array:{d:"is an array or range of numerical data for which you want to determine the k-th smallest value"},k:{d:"is the position (from the smallest) in the array or range of the value to return"}}}};
@@ -0,0 +1,6 @@
1
+ "use strict";/**
2
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.4.15
3
+ *
4
+ * (C) 2025-present SheetXL Inc. & Michael T. Ford
5
+ * License: The license can be found at https://www.sheetxl.com/license.
6
+ */Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});exports.default={AND:{s:"Checks whether all arguments are TRUE, and returns TRUE if all arguments are TRUE",p:{logical:{d:"logical1,logical2,... are 1 to 255 conditions you want to test that can be either TRUE or FALSE and can be logical values, arrays, or references"}}},BYCOL:{s:"Applies a LAMBDA function to each column and returns an array of the results.",p:{array:{d:"is an array to be separated by column"},fn:{d:"is a LAMBDA that is called to scan the array. The LAMBDA takes two parameters, accumulator and value."}},h:"Unimplemented"},BYROW:{s:"Applies a LAMBDA function to each row and returns an array of the results.",p:{array:{d:"is an array to be separated by column"},fn:{d:"is a LAMBDA that is called to scan the array. The LAMBDA takes two parameters, accumulator and value."}},h:"Unimplemented"},FALSE:{s:"Returns the logical value FALSE",p:{}},IF:{s:"Checks whether a condition is met, and returns one value if TRUE, and another value if FALSE",p:{logicalTest:{d:"is any value or expression that can be evaluated to TRUE or FALSE"},valueIfTrue:{d:"is the value that is returned if Logical_test is TRUE. If omitted, TRUE is returned. You can nest up to seven IF functions"},valueIfFalse:{d:"is the value that is returned if Logical_test is FALSE. If omitted, FALSE is returned"}}},IFERROR:{s:"Returns value_if_error if expression is an error and the value of the expression itself otherwise",p:{value:{d:"is any value or expression or reference"},valueIfError:{d:"is any value or expression or reference"}}},IFNA:{s:"Returns the value you specify if the expression resolves to #N/A, otherwise returns the result of the expression",p:{value:{d:"is any value or expression or reference"},valueIfError:{d:"is any value or expression or reference"}}},IFS:{s:"Checks whether one or more conditions are met and returns a value corresponding to the first TRUE condition",p:{logicalTest:{d:"logical_test1,logical_test2,... is any value or expression that can be evaluated to TRUE or FALSE"},logicalTrue:{d:"value_if_true1,value_if_true2,... is the value returned if Logical_test is TRUE"},rest:{}}},LAMDA:{s:"Creates a function value with can be called within formulas.",p:{parameterOrCalculation:{d:"a parameter or a calculation that returns a value. If a parameter, it must be the last argument."}},h:"Unimplemented"},LET:{s:"Assigns calculation results to names. Useful for storing intermediate calculations and values by defining names inside a formula. These names only apply within the scope of the LET function.",p:{name:{d:"name1,name2,... the name, or a calculation which can make use of all names within the LET. Names must start with a letter, cannot be the output of a formula, or conflict with range syntax."},nameOrValue:{d:"name_value1,name_value2,... the value associated with the name."},calculationOrName:{},rest:{}},h:"Unimplemented"},MAKEARRAY:{s:"Returns a calculated array of a specified row and column size, by applying a LAMBDA function.",p:{rows:{d:"is the number of rows in the array. Must be greater than zero."},columns:{d:"is the number of columns in the array. Must be greater than zero."},fn:{d:"is a LAMBDA that is called to create the array. The LAMBDA takes two parameters, row index and column index."}},h:"Unimplemented"},MAP:{s:"Returns an array formed by 'mapping' each value in the array(s) to a new value by applying a lambda to create a new value.",p:{array:{d:"is an array to be mapped"},lamdaOrArray:{d:"lambda_or_array1,lambda_or_array2,... is a LAMBDA which must be the last argument and must have a parameter for each array passed, or another array to be mapped"}},h:"Unimplemented"},NOT:{s:"Changes FALSE to TRUE, or TRUE to FALSE",p:{logical:{d:"is a value or expression that can be evaluated to TRUE or FALSE"}}},OR:{s:"Checks whether any of the arguments are TRUE, and returns TRUE or FALSE. Returns FALSE only if all arguments are FALSE",p:{logical:{d:"logical1,logical2,... are 1 to 255 conditions that you want to test that can be either TRUE or FALSE"}}},REDUCE:{s:"Reduces an array to an accumulated value by applying a LAMBDA function to each value and returning the total value in the accumulator.",p:{initialValue:{d:"is the starting value for the accumulator"},array:{d:"is an array to be reduced"},fn:{d:"is a LAMBDA that is called to reduce the array. The LAMBDA takes two parameters, accumulator and value."}},h:"Unimplemented"},SCAN:{s:"Scans an array by applying a LAMBDA function to each value and returns an array that has each intermediate value",p:{initialValue:{d:"is the starting value for the accumulator"},array:{d:"is an array to be reduced"},fn:{d:"is a LAMBDA that is called to reduce the array. The LAMBDA takes two parameters, accumulator and value."}},h:"Unimplemented"},SWITCH:{s:"Evaluates an expression against a list of values and returns the result corresponding to the first matching value. If there is no match, an optional default value is returned",p:{expression:{},value:{d:"is an expression to be evaluated"},results:{d:"result1,result2,... is a result to be returned if the corresponding value matches expression"}},h:"Unimplemented"},TRUE:{s:"Returns the logical value TRUE",p:{}},XOR:{s:"Returns a logical 'Exclusive Or' of all arguments",p:{logical:{d:"logical1,logical2,... are 1 to 254 conditions you want to test that can be either TRUE or FALSE and can be logical values, arrays, or references"}}}};
@@ -0,0 +1,6 @@
1
+ "use strict";/**
2
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.4.15
3
+ *
4
+ * (C) 2025-present SheetXL Inc. & Michael T. Ford
5
+ * License: The license can be found at https://www.sheetxl.com/license.
6
+ */Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./TAIJH4y6CbXhFnhx.cjs"),l=({range:a,options:i,cell:c,onDone:r,...x})=>{const[n,o]=e.reactExports.useState(i??e.Yr.DefaultRangeOptions),d=e.he(t=>{let s=null;t==="Sort"&&(s={...i,options:n}),r?.(s)},[n,r,i]);return e.jsxRuntimeExports.jsx(e.p7,{title:"Sort",options:["Sort","Cancel"],onDone:d,...x,children:e.jsxRuntimeExports.jsxs(e.Box,{sx:{display:"flex",flexDirection:"column"},children:[e.jsxRuntimeExports.jsx(e.FormControlLabel,{control:e.jsxRuntimeExports.jsx(e.Checkbox,{checked:!n.reverse,onChange:()=>o(t=>({...t,reverse:!t.reverse}))}),label:"Is Ascending",labelPlacement:"end"}),e.jsxRuntimeExports.jsx(e.FormControlLabel,{control:e.jsxRuntimeExports.jsx(e.Checkbox,{checked:n.hasHeader,onChange:()=>o(t=>({...t,hasHeader:!t.hasHeader}))}),label:"Has Header",labelPlacement:"end"}),e.jsxRuntimeExports.jsx(e.FormControlLabel,{control:e.jsxRuntimeExports.jsx(e.Checkbox,{checked:n.collatorOptions?.sensitivity===e.Yr.CaseSensitiveOptions.sensitivity,onChange:()=>o(t=>({...t,collatorOptions:n.collatorOptions?.sensitivity===e.Yr.CaseSensitiveOptions.sensitivity?e.Yr.CaseInsensitiveOptions:e.Yr.CaseSensitiveOptions}))}),label:"Case Sensitive",labelPlacement:"end"}),e.jsxRuntimeExports.jsx(e.FormControlLabel,{control:e.jsxRuntimeExports.jsx(e.Checkbox,{checked:n.orientation===e.O.Orientation.Row,onChange:()=>o(t=>{const s=t.orientation===e.O.Orientation.Row?e.O.Orientation.Column:e.O.Orientation.Row;return{...a.getDefaultSortCriteria(s,c).options,includeHidden:t.includeHidden,reverse:t.reverse,orientation:s}})}),label:"Row Sort",labelPlacement:"end"}),e.jsxRuntimeExports.jsx(e.FormControlLabel,{control:e.jsxRuntimeExports.jsx(e.Checkbox,{checked:n.includeHidden,onChange:()=>o(t=>({...t,includeHidden:!t.includeHidden}))}),label:"Include Hidden",labelPlacement:"end"})]})})};exports.SortDialog=l,exports.default=l;