@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
@@ -1,7 +0,0 @@
1
- /**
2
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.4.13
3
- *
4
- * (C) 2025-present SheetXL Inc. & Michael T. Ford
5
- * License: The license can be found at https://www.sheetxl.com/license.
6
- */
7
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./B9jxuOg1CXcmbi9J.cjs"),e=t.Mb(t.Uw());function r(t){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r(t)}var n=/^\s+/,o=/\s+$/;function i(t,e){if(e=e||{},(t=t||"")instanceof i)return t;if(!(this instanceof i))return new i(t,e);var a=function(t){var e,i,a,u={r:0,g:0,b:0},s=1,c=null,f=null,l=null,h=!1,p=!1;return"string"==typeof t&&(t=function(t){t=t.replace(n,"").replace(o,"").toLowerCase();var e,r=!1;if(w[t])t=w[t],r=!0;else if("transparent"==t)return{r:0,g:0,b:0,a:0,format:"name"};return(e=L.rgb.exec(t))?{r:e[1],g:e[2],b:e[3]}:(e=L.rgba.exec(t))?{r:e[1],g:e[2],b:e[3],a:e[4]}:(e=L.hsl.exec(t))?{h:e[1],s:e[2],l:e[3]}:(e=L.hsla.exec(t))?{h:e[1],s:e[2],l:e[3],a:e[4]}:(e=L.hsv.exec(t))?{h:e[1],s:e[2],v:e[3]}:(e=L.hsva.exec(t))?{h:e[1],s:e[2],v:e[3],a:e[4]}:(e=L.hex8.exec(t))?{r:S(e[1]),g:S(e[2]),b:S(e[3]),a:R(e[4]),format:r?"name":"hex8"}:(e=L.hex6.exec(t))?{r:S(e[1]),g:S(e[2]),b:S(e[3]),format:r?"name":"hex"}:(e=L.hex4.exec(t))?{r:S(e[1]+""+e[1]),g:S(e[2]+""+e[2]),b:S(e[3]+""+e[3]),a:R(e[4]+""+e[4]),format:r?"name":"hex8"}:!!(e=L.hex3.exec(t))&&{r:S(e[1]+""+e[1]),g:S(e[2]+""+e[2]),b:S(e[3]+""+e[3]),format:r?"name":"hex"}}(t)),"object"==r(t)&&(U(t.r)&&U(t.g)&&U(t.b)?(e=t.r,i=t.g,a=t.b,u={r:255*M(e,255),g:255*M(i,255),b:255*M(a,255)},h=!0,p="%"===String(t.r).substr(-1)?"prgb":"rgb"):U(t.h)&&U(t.s)&&U(t.v)?(c=A(t.s),f=A(t.v),u=function(t,e,r){t=6*M(t,360),e=M(e,100),r=M(r,100);var n=Math.floor(t),o=t-n,i=r*(1-e),a=r*(1-o*e),u=r*(1-(1-o)*e),s=n%6;return{r:255*[r,a,i,i,u,r][s],g:255*[u,r,r,a,i,i][s],b:255*[i,i,u,r,r,a][s]}}(t.h,c,f),h=!0,p="hsv"):U(t.h)&&U(t.s)&&U(t.l)&&(c=A(t.s),l=A(t.l),u=function(t,e,r){var n,o,i;function a(t,e,r){return r<0&&(r+=1),r>1&&(r-=1),r<1/6?t+6*(e-t)*r:r<.5?e:r<2/3?t+(e-t)*(2/3-r)*6:t}if(t=M(t,360),e=M(e,100),r=M(r,100),0===e)n=o=i=r;else{var u=r<.5?r*(1+e):r+e-r*e,s=2*r-u;n=a(s,u,t+1/3),o=a(s,u,t),i=a(s,u,t-1/3)}return{r:255*n,g:255*o,b:255*i}}(t.h,c,l),h=!0,p="hsl"),t.hasOwnProperty("a")&&(s=t.a)),s=O(s),{ok:h,format:t.format||p,r:Math.min(255,Math.max(u.r,0)),g:Math.min(255,Math.max(u.g,0)),b:Math.min(255,Math.max(u.b,0)),a:s}}(t);this._originalInput=t,this._r=a.r,this._g=a.g,this._b=a.b,this._a=a.a,this._roundA=Math.round(100*this._a)/100,this._format=e.format||a.format,this._gradientType=e.gradientType,this._r<1&&(this._r=Math.round(this._r)),this._g<1&&(this._g=Math.round(this._g)),this._b<1&&(this._b=Math.round(this._b)),this._ok=a.ok}function a(t,e,r){t=M(t,255),e=M(e,255),r=M(r,255);var n,o,i=Math.max(t,e,r),a=Math.min(t,e,r),u=(i+a)/2;if(i==a)n=o=0;else{var s=i-a;switch(o=u>.5?s/(2-i-a):s/(i+a),i){case t:n=(e-r)/s+(e<r?6:0);break;case e:n=(r-t)/s+2;break;case r:n=(t-e)/s+4}n/=6}return{h:n,s:o,l:u}}function u(t,e,r){t=M(t,255),e=M(e,255),r=M(r,255);var n,o,i=Math.max(t,e,r),a=Math.min(t,e,r),u=i,s=i-a;if(o=0===i?0:s/i,i==a)n=0;else{switch(i){case t:n=(e-r)/s+(e<r?6:0);break;case e:n=(r-t)/s+2;break;case r:n=(t-e)/s+4}n/=6}return{h:n,s:o,v:u}}function s(t,e,r,n){var o=[k(Math.round(t).toString(16)),k(Math.round(e).toString(16)),k(Math.round(r).toString(16))];return n&&o[0].charAt(0)==o[0].charAt(1)&&o[1].charAt(0)==o[1].charAt(1)&&o[2].charAt(0)==o[2].charAt(1)?o[0].charAt(0)+o[1].charAt(0)+o[2].charAt(0):o.join("")}function c(t,e,r,n){return[k(C(n)),k(Math.round(t).toString(16)),k(Math.round(e).toString(16)),k(Math.round(r).toString(16))].join("")}function f(t,e){e=0===e?0:e||10;var r=i(t).toHsl();return r.s-=e/100,r.s=E(r.s),i(r)}function l(t,e){e=0===e?0:e||10;var r=i(t).toHsl();return r.s+=e/100,r.s=E(r.s),i(r)}function h(t){return i(t).desaturate(100)}function p(t,e){e=0===e?0:e||10;var r=i(t).toHsl();return r.l+=e/100,r.l=E(r.l),i(r)}function d(t,e){e=0===e?0:e||10;var r=i(t).toRgb();return r.r=Math.max(0,Math.min(255,r.r-Math.round(-e/100*255))),r.g=Math.max(0,Math.min(255,r.g-Math.round(-e/100*255))),r.b=Math.max(0,Math.min(255,r.b-Math.round(-e/100*255))),i(r)}function b(t,e){e=0===e?0:e||10;var r=i(t).toHsl();return r.l-=e/100,r.l=E(r.l),i(r)}function v(t,e){var r=i(t).toHsl(),n=(r.h+e)%360;return r.h=n<0?360+n:n,i(r)}function g(t){var e=i(t).toHsl();return e.h=(e.h+180)%360,i(e)}function y(t,e){if(isNaN(e)||e<=0)throw new Error("Argument to polyad must be a positive number");for(var r=i(t).toHsl(),n=[i(t)],o=360/e,a=1;a<e;a++)n.push(i({h:(r.h+a*o)%360,s:r.s,l:r.l}));return n}function m(t){var e=i(t).toHsl(),r=e.h;return[i(t),i({h:(r+72)%360,s:e.s,l:e.l}),i({h:(r+216)%360,s:e.s,l:e.l})]}function x(t,e,r){e=e||6,r=r||30;var n=i(t).toHsl(),o=360/r,a=[i(t)];for(n.h=(n.h-(o*e>>1)+720)%360;--e;)n.h=(n.h+o)%360,a.push(i(n));return a}function _(t,e){e=e||6;for(var r=i(t).toHsv(),n=r.h,o=r.s,a=r.v,u=[],s=1/e;e--;)u.push(i({h:n,s:o,v:a})),a=(a+s)%1;return u}i.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var t=this.toRgb();return(299*t.r+587*t.g+114*t.b)/1e3},getLuminance:function(){var t,e,r,n=this.toRgb();return t=n.r/255,e=n.g/255,r=n.b/255,.2126*(t<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4))+.7152*(e<=.03928?e/12.92:Math.pow((e+.055)/1.055,2.4))+.0722*(r<=.03928?r/12.92:Math.pow((r+.055)/1.055,2.4))},setAlpha:function(t){return this._a=O(t),this._roundA=Math.round(100*this._a)/100,this},toHsv:function(){var t=u(this._r,this._g,this._b);return{h:360*t.h,s:t.s,v:t.v,a:this._a}},toHsvString:function(){var t=u(this._r,this._g,this._b),e=Math.round(360*t.h),r=Math.round(100*t.s),n=Math.round(100*t.v);return 1==this._a?"hsv("+e+", "+r+"%, "+n+"%)":"hsva("+e+", "+r+"%, "+n+"%, "+this._roundA+")"},toHsl:function(){var t=a(this._r,this._g,this._b);return{h:360*t.h,s:t.s,l:t.l,a:this._a}},toHslString:function(){var t=a(this._r,this._g,this._b),e=Math.round(360*t.h),r=Math.round(100*t.s),n=Math.round(100*t.l);return 1==this._a?"hsl("+e+", "+r+"%, "+n+"%)":"hsla("+e+", "+r+"%, "+n+"%, "+this._roundA+")"},toHex:function(t){return s(this._r,this._g,this._b,t)},toHexString:function(t){return"#"+this.toHex(t)},toHex8:function(t){return function(t,e,r,n,o){var i=[k(Math.round(t).toString(16)),k(Math.round(e).toString(16)),k(Math.round(r).toString(16)),k(C(n))];return o&&i[0].charAt(0)==i[0].charAt(1)&&i[1].charAt(0)==i[1].charAt(1)&&i[2].charAt(0)==i[2].charAt(1)&&i[3].charAt(0)==i[3].charAt(1)?i[0].charAt(0)+i[1].charAt(0)+i[2].charAt(0)+i[3].charAt(0):i.join("")}(this._r,this._g,this._b,this._a,t)},toHex8String:function(t){return"#"+this.toHex8(t)},toRgb:function(){return{r:Math.round(this._r),g:Math.round(this._g),b:Math.round(this._b),a:this._a}},toRgbString:function(){return 1==this._a?"rgb("+Math.round(this._r)+", "+Math.round(this._g)+", "+Math.round(this._b)+")":"rgba("+Math.round(this._r)+", "+Math.round(this._g)+", "+Math.round(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:Math.round(100*M(this._r,255))+"%",g:Math.round(100*M(this._g,255))+"%",b:Math.round(100*M(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return 1==this._a?"rgb("+Math.round(100*M(this._r,255))+"%, "+Math.round(100*M(this._g,255))+"%, "+Math.round(100*M(this._b,255))+"%)":"rgba("+Math.round(100*M(this._r,255))+"%, "+Math.round(100*M(this._g,255))+"%, "+Math.round(100*M(this._b,255))+"%, "+this._roundA+")"},toName:function(){return 0===this._a?"transparent":!(this._a<1)&&(j[s(this._r,this._g,this._b,!0)]||!1)},toFilter:function(t){var e="#"+c(this._r,this._g,this._b,this._a),r=e,n=this._gradientType?"GradientType = 1, ":"";if(t){var o=i(t);r="#"+c(o._r,o._g,o._b,o._a)}return"progid:DXImageTransform.Microsoft.gradient("+n+"startColorstr="+e+",endColorstr="+r+")"},toString:function(t){var e=!!t;t=t||this._format;var r=!1,n=this._a<1&&this._a>=0;return e||!n||"hex"!==t&&"hex6"!==t&&"hex3"!==t&&"hex4"!==t&&"hex8"!==t&&"name"!==t?("rgb"===t&&(r=this.toRgbString()),"prgb"===t&&(r=this.toPercentageRgbString()),"hex"!==t&&"hex6"!==t||(r=this.toHexString()),"hex3"===t&&(r=this.toHexString(!0)),"hex4"===t&&(r=this.toHex8String(!0)),"hex8"===t&&(r=this.toHex8String()),"name"===t&&(r=this.toName()),"hsl"===t&&(r=this.toHslString()),"hsv"===t&&(r=this.toHsvString()),r||this.toHexString()):"name"===t&&0===this._a?this.toName():this.toRgbString()},clone:function(){return i(this.toString())},_applyModification:function(t,e){var r=t.apply(null,[this].concat([].slice.call(e)));return this._r=r._r,this._g=r._g,this._b=r._b,this.setAlpha(r._a),this},lighten:function(){return this._applyModification(p,arguments)},brighten:function(){return this._applyModification(d,arguments)},darken:function(){return this._applyModification(b,arguments)},desaturate:function(){return this._applyModification(f,arguments)},saturate:function(){return this._applyModification(l,arguments)},greyscale:function(){return this._applyModification(h,arguments)},spin:function(){return this._applyModification(v,arguments)},_applyCombination:function(t,e){return t.apply(null,[this].concat([].slice.call(e)))},analogous:function(){return this._applyCombination(x,arguments)},complement:function(){return this._applyCombination(g,arguments)},monochromatic:function(){return this._applyCombination(_,arguments)},splitcomplement:function(){return this._applyCombination(m,arguments)},triad:function(){return this._applyCombination(y,[3])},tetrad:function(){return this._applyCombination(y,[4])}},i.fromRatio=function(t,e){if("object"==r(t)){var n={};for(var o in t)t.hasOwnProperty(o)&&(n[o]="a"===o?t[o]:A(t[o]));t=n}return i(t,e)},i.equals=function(t,e){return!(!t||!e)&&i(t).toRgbString()==i(e).toRgbString()},i.random=function(){return i.fromRatio({r:Math.random(),g:Math.random(),b:Math.random()})},i.mix=function(t,e,r){r=0===r?0:r||50;var n=i(t).toRgb(),o=i(e).toRgb(),a=r/100;return i({r:(o.r-n.r)*a+n.r,g:(o.g-n.g)*a+n.g,b:(o.b-n.b)*a+n.b,a:(o.a-n.a)*a+n.a})},i.readability=function(t,e){var r=i(t),n=i(e);return(Math.max(r.getLuminance(),n.getLuminance())+.05)/(Math.min(r.getLuminance(),n.getLuminance())+.05)},i.isReadable=function(t,e,r){var n,o,a=i.readability(t,e);switch(o=!1,(n=function(t){var e,r;return"AA"!==(e=((t=t||{level:"AA",size:"small"}).level||"AA").toUpperCase())&&"AAA"!==e&&(e="AA"),"small"!==(r=(t.size||"small").toLowerCase())&&"large"!==r&&(r="small"),{level:e,size:r}}(r)).level+n.size){case"AAsmall":case"AAAlarge":o=a>=4.5;break;case"AAlarge":o=a>=3;break;case"AAAsmall":o=a>=7}return o},i.mostReadable=function(t,e,r){var n,o,a,u,s=null,c=0;o=(r=r||{}).includeFallbackColors,a=r.level,u=r.size;for(var f=0;f<e.length;f++)(n=i.readability(t,e[f]))>c&&(c=n,s=i(e[f]));return i.isReadable(t,s,{level:a,size:u})||!o?s:(r.includeFallbackColors=!1,i.mostReadable(t,["#fff","#000"],r))};var w=i.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},j=i.hexNames=function(t){var e={};for(var r in t)t.hasOwnProperty(r)&&(e[t[r]]=r);return e}(w);function O(t){return t=parseFloat(t),(isNaN(t)||t<0||t>1)&&(t=1),t}function M(t,e){(function(t){return"string"==typeof t&&-1!=t.indexOf(".")&&1===parseFloat(t)})(t)&&(t="100%");var r=function(t){return"string"==typeof t&&-1!=t.indexOf("%")}(t);return t=Math.min(e,Math.max(0,parseFloat(t))),r&&(t=parseInt(t*e,10)/100),Math.abs(t-e)<1e-6?1:t%e/parseFloat(e)}function E(t){return Math.min(1,Math.max(0,t))}function S(t){return parseInt(t,16)}function k(t){return 1==t.length?"0"+t:""+t}function A(t){return t<=1&&(t=100*t+"%"),t}function C(t){return Math.round(255*parseFloat(t)).toString(16)}function R(t){return S(t)/255}var z,P,T,L=(P="[\\s|\\(]+("+(z="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)")+")[,|\\s]+("+z+")[,|\\s]+("+z+")\\s*\\)?",T="[\\s|\\(]+("+z+")[,|\\s]+("+z+")[,|\\s]+("+z+")[,|\\s]+("+z+")\\s*\\)?",{CSS_UNIT:new RegExp(z),rgb:new RegExp("rgb"+P),rgba:new RegExp("rgba"+T),hsl:new RegExp("hsl"+P),hsla:new RegExp("hsla"+T),hsv:new RegExp("hsv"+P),hsva:new RegExp("hsva"+T),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/});function U(t){return!!L.CSS_UNIT.exec(t)}var F,D,B,H,W,$,N,I,V,X,Y,q,K,G,J,Q,Z,tt,et,rt,nt,ot,it,at,ut,st,ct,ft,lt={},ht={};function pt(){if(D)return F;D=1;var e="object"==typeof t.Tb&&t.Tb&&t.Tb.Object===Object&&t.Tb;return F=e}function dt(){if(H)return B;H=1;var t=pt(),e="object"==typeof self&&self&&self.Object===Object&&self,r=t||e||Function("return this")();return B=r}function bt(){if($)return W;$=1;var t=dt().Symbol;return W=t}function vt(){if(q)return Y;q=1;var t=bt(),e=function(){if(I)return N;I=1;var t=bt(),e=Object.prototype,r=e.hasOwnProperty,n=e.toString,o=t?t.toStringTag:void 0;return N=function(t){var e=r.call(t,o),i=t[o];try{t[o]=void 0;var a=!0}catch(t){}var u=n.call(t);return a&&(e?t[o]=i:delete t[o]),u}}(),r=function(){if(X)return V;X=1;var t=Object.prototype.toString;return V=function(e){return t.call(e)}}(),n=t?t.toStringTag:void 0;return Y=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":n&&n in Object(t)?e(t):r(t)}}function gt(){if(G)return K;G=1;var t=Array.isArray;return K=t}function yt(){return Q?J:(Q=1,J=function(t){return null!=t&&"object"==typeof t})}function mt(){if(ft)return ct;ft=1;var t=function(){if(st)return ut;st=1;var t=vt(),e=yt();return ut=function(r){return e(r)&&"[object Arguments]"==t(r)}}(),e=yt(),r=Object.prototype,n=r.hasOwnProperty,o=r.propertyIsEnumerable,i=t(function(){return arguments}())?t:function(t){return e(t)&&n.call(t,"callee")&&!o.call(t,"callee")};return ct=i}var xt,_t,wt,jt,Ot,Mt,Et,St,kt,At,Ct,Rt={exports:{}};function zt(){return wt||(wt=1,t=Rt,e=Rt.exports,r=dt(),n=_t?xt:(_t=1,xt=function(){return!1}),o=e&&!e.nodeType&&e,i=o&&t&&!t.nodeType&&t,a=i&&i.exports===o?r.Buffer:void 0,u=(a?a.isBuffer:void 0)||n,t.exports=u),Rt.exports;var t,e,r,n,o,i,a,u}function Pt(){if(Ot)return jt;Ot=1;var t=/^(?:0|[1-9]\d*)$/;return jt=function(e,r){var n=typeof e;return!!(r=null==r?9007199254740991:r)&&("number"==n||"symbol"!=n&&t.test(e))&&e>-1&&e%1==0&&e<r}}function Tt(){return Et?Mt:(Et=1,Mt=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991})}function Lt(){return Ct?At:(Ct=1,At=function(t){return function(e){return t(e)}})}var Ut,Ft,Dt,Bt,Ht,Wt,$t,Nt,It,Vt,Xt,Yt,qt,Kt,Gt,Jt,Qt,Zt,te,ee,re,ne,oe,ie,ae,ue,se,ce,fe,le,he,pe,de,be,ve,ge,ye,me,xe,_e,we,je,Oe,Me,Ee,Se,ke,Ae,Ce,Re,ze,Pe,Te,Le,Ue,Fe,De,Be,He,We,$e,Ne,Ie,Ve,Xe,Ye,qe,Ke,Ge,Je,Qe,Ze,tr,er,rr,nr,or,ir,ar,ur,sr,cr,fr,lr,hr,pr,dr,br,vr,gr,yr,mr,xr,_r,wr,jr,Or,Mr,Er,Sr,kr,Ar,Cr,Rr,zr,Pr,Tr,Lr,Ur,Fr,Dr,Br,Hr,Wr,$r,Nr,Ir,Vr,Xr,Yr,qr,Kr,Gr,Jr,Qr,Zr,tn,en,rn,nn,on,an,un,sn,cn,fn,ln,hn,pn,dn,bn,vn,gn,yn,mn,xn,_n,wn,jn,On,Mn,En,Sn,kn,An,Cn,Rn,zn,Pn,Tn,Ln,Un,Fn,Dn,Bn,Hn,Wn,$n,Nn,In,Vn,Xn,Yn,qn,Kn,Gn,Jn,Qn,Zn,to,eo,ro,no,oo,io,ao,uo,so,co,fo,lo,ho,po,bo,vo,go,yo,mo,xo,_o,wo,jo,Oo,Mo,Eo,So,ko,Ao,Co,Ro,zo,Po,To={exports:{}};function Lo(){return Ut||(Ut=1,t=To,e=To.exports,r=pt(),n=e&&!e.nodeType&&e,o=n&&t&&!t.nodeType&&t,i=o&&o.exports===n&&r.process,a=function(){try{return o&&o.require&&o.require("util").types||i&&i.binding&&i.binding("util")}catch(t){}}(),t.exports=a),To.exports;var t,e,r,n,o,i,a}function Uo(){if(Dt)return Ft;Dt=1;var t=function(){if(kt)return St;kt=1;var t=vt(),e=Tt(),r=yt(),n={};return n["[object Float32Array]"]=n["[object Float64Array]"]=n["[object Int8Array]"]=n["[object Int16Array]"]=n["[object Int32Array]"]=n["[object Uint8Array]"]=n["[object Uint8ClampedArray]"]=n["[object Uint16Array]"]=n["[object Uint32Array]"]=!0,n["[object Arguments]"]=n["[object Array]"]=n["[object ArrayBuffer]"]=n["[object Boolean]"]=n["[object DataView]"]=n["[object Date]"]=n["[object Error]"]=n["[object Function]"]=n["[object Map]"]=n["[object Number]"]=n["[object Object]"]=n["[object RegExp]"]=n["[object Set]"]=n["[object String]"]=n["[object WeakMap]"]=!1,St=function(o){return r(o)&&e(o.length)&&!!n[t(o)]}}(),e=Lt(),r=Lo(),n=r&&r.isTypedArray,o=n?e(n):t;return Ft=o}function Fo(){if(Ht)return Bt;Ht=1;var t=at?it:(at=1,it=function(t,e){for(var r=-1,n=Array(t);++r<t;)n[r]=e(r);return n}),e=mt(),r=gt(),n=zt(),o=Pt(),i=Uo(),a=Object.prototype.hasOwnProperty;return Bt=function(u,s){var c=r(u),f=!c&&e(u),l=!c&&!f&&n(u),h=!c&&!f&&!l&&i(u),p=c||f||l||h,d=p?t(u.length,String):[],b=d.length;for(var v in u)!s&&!a.call(u,v)||p&&("length"==v||l&&("offset"==v||"parent"==v)||h&&("buffer"==v||"byteLength"==v||"byteOffset"==v)||o(v,b))||d.push(v);return d}}function Do(){if($t)return Wt;$t=1;var t=Object.prototype;return Wt=function(e){var r=e&&e.constructor;return e===("function"==typeof r&&r.prototype||t)}}function Bo(){return It?Nt:(It=1,Nt=function(t,e){return function(r){return t(e(r))}})}function Ho(){return Gt?Kt:(Gt=1,Kt=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)})}function Wo(){if(Qt)return Jt;Qt=1;var t=vt(),e=Ho();return Jt=function(r){if(!e(r))return!1;var n=t(r);return"[object Function]"==n||"[object GeneratorFunction]"==n||"[object AsyncFunction]"==n||"[object Proxy]"==n}}function $o(){if(te)return Zt;te=1;var t=Wo(),e=Tt();return Zt=function(r){return null!=r&&e(r.length)&&!t(r)}}function No(){if(re)return ee;re=1;var t=Fo(),e=function(){if(qt)return Yt;qt=1;var t=Do(),e=function(){if(Xt)return Vt;Xt=1;var t=Bo()(Object.keys,Object);return Vt=t}(),r=Object.prototype.hasOwnProperty;return Yt=function(n){if(!t(n))return e(n);var o=[];for(var i in Object(n))r.call(n,i)&&"constructor"!=i&&o.push(i);return o}}(),r=$o();return ee=function(n){return r(n)?t(n):e(n)}}function Io(){if(oe)return ne;oe=1;var t=function(){if(ot)return nt;ot=1;var t=(rt?et:(rt=1,et=function(t){return function(e,r,n){for(var o=-1,i=Object(e),a=n(e),u=a.length;u--;){var s=a[t?u:++o];if(!1===r(i[s],s,i))break}return e}}))();return nt=t}(),e=No();return ne=function(r,n){return r&&t(r,n,e)}}function Vo(){return ae?ie:(ae=1,ie=function(t){return t})}function Xo(){if(fe)return ce;fe=1;var t=Io(),e=function(){if(se)return ue;se=1;var t=Vo();return ue=function(e){return"function"==typeof e?e:t}}();return ce=function(r,n){return r&&t(r,e(n))}}function Yo(){if(he)return le;he=1;var t=Bo()(Object.getPrototypeOf,Object);return le=t}function qo(){return ve?be:(ve=1,be=function(t,e){for(var r=-1,n=null==t?0:t.length,o=Array(n);++r<n;)o[r]=e(t[r],r,t);return o})}function Ko(){return xe?me:(xe=1,me=function(t,e){return t===e||t!=t&&e!=e})}function Go(){if(we)return _e;we=1;var t=Ko();return _e=function(e,r){for(var n=e.length;n--;)if(t(e[n][0],r))return n;return-1}}function Jo(){if(ze)return Re;ze=1;var t=ye?ge:(ye=1,ge=function(){this.__data__=[],this.size=0}),e=function(){if(Oe)return je;Oe=1;var t=Go(),e=Array.prototype.splice;return je=function(r){var n=this.__data__,o=t(n,r);return!(o<0||(o==n.length-1?n.pop():e.call(n,o,1),--this.size,0))}}(),r=function(){if(Ee)return Me;Ee=1;var t=Go();return Me=function(e){var r=this.__data__,n=t(r,e);return n<0?void 0:r[n][1]}}(),n=function(){if(ke)return Se;ke=1;var t=Go();return Se=function(e){return t(this.__data__,e)>-1}}(),o=function(){if(Ce)return Ae;Ce=1;var t=Go();return Ae=function(e,r){var n=this.__data__,o=t(n,e);return o<0?(++this.size,n.push([e,r])):n[o][1]=r,this}}();function i(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}return i.prototype.clear=t,i.prototype.delete=e,i.prototype.get=r,i.prototype.has=n,i.prototype.set=o,Re=i}function Qo(){if(Xe)return Ve;Xe=1;var t=Function.prototype.toString;return Ve=function(e){if(null!=e){try{return t.call(e)}catch(t){}try{return e+""}catch(t){}}return""}}function Zo(){if(Qe)return Je;Qe=1;var t=function(){if(qe)return Ye;qe=1;var t=Wo(),e=function(){if(Ie)return Ne;Ie=1;var t,e=function(){if($e)return We;$e=1;var t=dt()["__core-js_shared__"];return We=t}(),r=(t=/[^.]+$/.exec(e&&e.keys&&e.keys.IE_PROTO||""))?"Symbol(src)_1."+t:"";return Ne=function(t){return!!r&&r in t}}(),r=Ho(),n=Qo(),o=/^\[object .+?Constructor\]$/,i=Function.prototype,a=Object.prototype,u=i.toString,s=a.hasOwnProperty,c=RegExp("^"+u.call(s).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");return Ye=function(i){return!(!r(i)||e(i))&&(t(i)?c:o).test(n(i))}}(),e=Ge?Ke:(Ge=1,Ke=function(t,e){return null==t?void 0:t[e]});return Je=function(r,n){var o=e(r,n);return t(o)?o:void 0}}function ti(){if(tr)return Ze;tr=1;var t=Zo()(dt(),"Map");return Ze=t}function ei(){if(rr)return er;rr=1;var t=Zo()(Object,"create");return er=t}function ri(){if(xr)return mr;xr=1;var t=yr?gr:(yr=1,gr=function(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t});return mr=function(e,r){var n=e.__data__;return t(r)?n["string"==typeof r?"string":"hash"]:n.map}}function ni(){if(Cr)return Ar;Cr=1;var t=function(){if(vr)return br;vr=1;var t=function(){if(dr)return pr;dr=1;var t=function(){if(or)return nr;or=1;var t=ei();return nr=function(){this.__data__=t?t(null):{},this.size=0}}(),e=ar?ir:(ar=1,ir=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}),r=function(){if(sr)return ur;sr=1;var t=ei(),e=Object.prototype.hasOwnProperty;return ur=function(r){var n=this.__data__;if(t){var o=n[r];return"__lodash_hash_undefined__"===o?void 0:o}return e.call(n,r)?n[r]:void 0}}(),n=function(){if(fr)return cr;fr=1;var t=ei(),e=Object.prototype.hasOwnProperty;return cr=function(r){var n=this.__data__;return t?void 0!==n[r]:e.call(n,r)}}(),o=function(){if(hr)return lr;hr=1;var t=ei();return lr=function(e,r){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=t&&void 0===r?"__lodash_hash_undefined__":r,this}}();function i(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}return i.prototype.clear=t,i.prototype.delete=e,i.prototype.get=r,i.prototype.has=n,i.prototype.set=o,pr=i}(),e=Jo(),r=ti();return br=function(){this.size=0,this.__data__={hash:new t,map:new(r||e),string:new t}}}(),e=function(){if(wr)return _r;wr=1;var t=ri();return _r=function(e){var r=t(this,e).delete(e);return this.size-=r?1:0,r}}(),r=function(){if(Or)return jr;Or=1;var t=ri();return jr=function(e){return t(this,e).get(e)}}(),n=function(){if(Er)return Mr;Er=1;var t=ri();return Mr=function(e){return t(this,e).has(e)}}(),o=function(){if(kr)return Sr;kr=1;var t=ri();return Sr=function(e,r){var n=t(this,e),o=n.size;return n.set(e,r),this.size+=n.size==o?0:1,this}}();function i(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}return i.prototype.clear=t,i.prototype.delete=e,i.prototype.get=r,i.prototype.has=n,i.prototype.set=o,Ar=i}function oi(){if(Tr)return Pr;Tr=1;var t=Jo(),e=function(){if(Te)return Pe;Te=1;var t=Jo();return Pe=function(){this.__data__=new t,this.size=0}}(),r=Ue?Le:(Ue=1,Le=function(t){var e=this.__data__,r=e.delete(t);return this.size=e.size,r}),n=De?Fe:(De=1,Fe=function(t){return this.__data__.get(t)}),o=He?Be:(He=1,Be=function(t){return this.__data__.has(t)}),i=function(){if(zr)return Rr;zr=1;var t=Jo(),e=ti(),r=ni();return Rr=function(n,o){var i=this.__data__;if(i instanceof t){var a=i.__data__;if(!e||a.length<199)return a.push([n,o]),this.size=++i.size,this;i=this.__data__=new r(a)}return i.set(n,o),this.size=i.size,this}}();function a(e){var r=this.__data__=new t(e);this.size=r.size}return a.prototype.clear=e,a.prototype.delete=r,a.prototype.get=n,a.prototype.has=o,a.prototype.set=i,Pr=a}function ii(){if(Xr)return Vr;Xr=1;var t=function(){if(Hr)return Br;Hr=1;var t=ni(),e=Ur?Lr:(Ur=1,Lr=function(t){return this.__data__.set(t,"__lodash_hash_undefined__"),this}),r=Dr?Fr:(Dr=1,Fr=function(t){return this.__data__.has(t)});function n(e){var r=-1,n=null==e?0:e.length;for(this.__data__=new t;++r<n;)this.add(e[r])}return n.prototype.add=n.prototype.push=e,n.prototype.has=r,Br=n}(),e=$r?Wr:($r=1,Wr=function(t,e){for(var r=-1,n=null==t?0:t.length;++r<n;)if(e(t[r],r,t))return!0;return!1}),r=Ir?Nr:(Ir=1,Nr=function(t,e){return t.has(e)});return Vr=function(n,o,i,a,u,s){var c=1&i,f=n.length,l=o.length;if(f!=l&&!(c&&l>f))return!1;var h=s.get(n),p=s.get(o);if(h&&p)return h==o&&p==n;var d=-1,b=!0,v=2&i?new t:void 0;for(s.set(n,o),s.set(o,n);++d<f;){var g=n[d],y=o[d];if(a)var m=c?a(y,g,d,o,n,s):a(g,y,d,n,o,s);if(void 0!==m){if(m)continue;b=!1;break}if(v){if(!e(o,function(t,e){if(!r(v,e)&&(g===t||u(g,t,i,a,s)))return v.push(e)})){b=!1;break}}else if(g!==y&&!u(g,y,i,a,s)){b=!1;break}}return s.delete(n),s.delete(o),b}}function ai(){if(qr)return Yr;qr=1;var t=dt().Uint8Array;return Yr=t}function ui(){return rn?en:(rn=1,en=function(t,e){for(var r=-1,n=e.length,o=t.length;++r<n;)t[o+r]=e[r];return t})}function si(){if(on)return nn;on=1;var t=ui(),e=gt();return nn=function(r,n,o){var i=n(r);return e(r)?i:t(i,o(r))}}function ci(){return cn?sn:(cn=1,sn=function(){return[]})}function fi(){if(ln)return fn;ln=1;var t=un?an:(un=1,an=function(t,e){for(var r=-1,n=null==t?0:t.length,o=0,i=[];++r<n;){var a=t[r];e(a,r,t)&&(i[o++]=a)}return i}),e=ci(),r=Object.prototype.propertyIsEnumerable,n=Object.getOwnPropertySymbols;return fn=n?function(e){return null==e?[]:(e=Object(e),t(n(e),function(t){return r.call(e,t)}))}:e}function li(){if(pn)return hn;pn=1;var t=si(),e=fi(),r=No();return hn=function(n){return t(n,r,e)}}function hi(){if(Mn)return On;Mn=1;var t=function(){if(gn)return vn;gn=1;var t=Zo()(dt(),"DataView");return vn=t}(),e=ti(),r=function(){if(mn)return yn;mn=1;var t=Zo()(dt(),"Promise");return yn=t}(),n=function(){if(_n)return xn;_n=1;var t=Zo()(dt(),"Set");return xn=t}(),o=function(){if(jn)return wn;jn=1;var t=Zo()(dt(),"WeakMap");return wn=t}(),i=vt(),a=Qo(),u="[object Map]",s="[object Promise]",c="[object Set]",f="[object WeakMap]",l="[object DataView]",h=a(t),p=a(e),d=a(r),b=a(n),v=a(o),g=i;return(t&&g(new t(new ArrayBuffer(1)))!=l||e&&g(new e)!=u||r&&g(r.resolve())!=s||n&&g(new n)!=c||o&&g(new o)!=f)&&(g=function(t){var e=i(t),r="[object Object]"==e?t.constructor:void 0,n=r?a(r):"";if(n)switch(n){case h:return l;case p:return u;case d:return s;case b:return c;case v:return f}return e}),On=g}function pi(){if(Sn)return En;Sn=1;var t=oi(),e=ii(),r=function(){if(tn)return Zr;tn=1;var t=bt(),e=ai(),r=Ko(),n=ii(),o=Gr?Kr:(Gr=1,Kr=function(t){var e=-1,r=Array(t.size);return t.forEach(function(t,n){r[++e]=[n,t]}),r}),i=Qr?Jr:(Qr=1,Jr=function(t){var e=-1,r=Array(t.size);return t.forEach(function(t){r[++e]=t}),r}),a=t?t.prototype:void 0,u=a?a.valueOf:void 0;return Zr=function(t,a,s,c,f,l,h){switch(s){case"[object DataView]":if(t.byteLength!=a.byteLength||t.byteOffset!=a.byteOffset)return!1;t=t.buffer,a=a.buffer;case"[object ArrayBuffer]":return!(t.byteLength!=a.byteLength||!l(new e(t),new e(a)));case"[object Boolean]":case"[object Date]":case"[object Number]":return r(+t,+a);case"[object Error]":return t.name==a.name&&t.message==a.message;case"[object RegExp]":case"[object String]":return t==a+"";case"[object Map]":var p=o;case"[object Set]":var d=1&c;if(p||(p=i),t.size!=a.size&&!d)return!1;var b=h.get(t);if(b)return b==a;c|=2,h.set(t,a);var v=n(p(t),p(a),c,f,l,h);return h.delete(t),v;case"[object Symbol]":if(u)return u.call(t)==u.call(a)}return!1}}(),n=function(){if(bn)return dn;bn=1;var t=li(),e=Object.prototype.hasOwnProperty;return dn=function(r,n,o,i,a,u){var s=1&o,c=t(r),f=c.length;if(f!=t(n).length&&!s)return!1;for(var l=f;l--;){var h=c[l];if(!(s?h in n:e.call(n,h)))return!1}var p=u.get(r),d=u.get(n);if(p&&d)return p==n&&d==r;var b=!0;u.set(r,n),u.set(n,r);for(var v=s;++l<f;){var g=r[h=c[l]],y=n[h];if(i)var m=s?i(y,g,h,n,r,u):i(g,y,h,r,n,u);if(!(void 0===m?g===y||a(g,y,o,i,u):m)){b=!1;break}v||(v="constructor"==h)}if(b&&!v){var x=r.constructor,_=n.constructor;x==_||!("constructor"in r)||!("constructor"in n)||"function"==typeof x&&x instanceof x&&"function"==typeof _&&_ instanceof _||(b=!1)}return u.delete(r),u.delete(n),b}}(),o=hi(),i=gt(),a=zt(),u=Uo(),s="[object Arguments]",c="[object Array]",f="[object Object]",l=Object.prototype.hasOwnProperty;return En=function(h,p,d,b,v,g){var y=i(h),m=i(p),x=y?c:o(h),_=m?c:o(p),w=(x=x==s?f:x)==f,j=(_=_==s?f:_)==f,O=x==_;if(O&&a(h)){if(!a(p))return!1;y=!0,w=!1}if(O&&!w)return g||(g=new t),y||u(h)?e(h,p,d,b,v,g):r(h,p,x,d,b,v,g);if(!(1&d)){var M=w&&l.call(h,"__wrapped__"),E=j&&l.call(p,"__wrapped__");if(M||E){var S=M?h.value():h,k=E?p.value():p;return g||(g=new t),v(S,k,d,b,g)}}return!!O&&(g||(g=new t),n(h,p,d,b,v,g))}}function di(){if(An)return kn;An=1;var t=pi(),e=yt();return kn=function r(n,o,i,a,u){return n===o||(null==n||null==o||!e(n)&&!e(o)?n!=n&&o!=o:t(n,o,i,a,r,u))}}function bi(){if(Pn)return zn;Pn=1;var t=Ho();return zn=function(e){return e==e&&!t(e)}}function vi(){return Fn?Un:(Fn=1,Un=function(t,e){return function(r){return null!=r&&r[t]===e&&(void 0!==e||t in Object(r))}})}function gi(){if(Wn)return Hn;Wn=1;var t=vt(),e=yt();return Hn=function(r){return"symbol"==typeof r||e(r)&&"[object Symbol]"==t(r)}}function yi(){if(Nn)return $n;Nn=1;var t=gt(),e=gi(),r=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,n=/^\w*$/;return $n=function(o,i){if(t(o))return!1;var a=typeof o;return!("number"!=a&&"symbol"!=a&&"boolean"!=a&&null!=o&&!e(o))||n.test(o)||!r.test(o)||null!=i&&o in Object(i)}}function mi(){if(eo)return to;eo=1;var t=gt(),e=yi(),r=function(){if(Kn)return qn;Kn=1;var t=function(){if(Yn)return Xn;Yn=1;var t=function(){if(Vn)return In;Vn=1;var t=ni();function e(r,n){if("function"!=typeof r||null!=n&&"function"!=typeof n)throw new TypeError("Expected a function");var o=function(){var t=arguments,e=n?n.apply(this,t):t[0],i=o.cache;if(i.has(e))return i.get(e);var a=r.apply(this,t);return o.cache=i.set(e,a)||i,a};return o.cache=new(e.Cache||t),o}return e.Cache=t,In=e}();return Xn=function(e){var r=t(e,function(t){return 500===n.size&&n.clear(),t}),n=r.cache;return r}}(),e=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,r=/\\(\\)?/g,n=t(function(t){var n=[];return 46===t.charCodeAt(0)&&n.push(""),t.replace(e,function(t,e,o,i){n.push(o?i.replace(r,"$1"):e||t)}),n});return qn=n}(),n=function(){if(Zn)return Qn;Zn=1;var t=function(){if(Jn)return Gn;Jn=1;var t=bt(),e=qo(),r=gt(),n=gi(),o=t?t.prototype:void 0,i=o?o.toString:void 0;return Gn=function t(o){if("string"==typeof o)return o;if(r(o))return e(o,t)+"";if(n(o))return i?i.call(o):"";var a=o+"";return"0"==a&&1/o==-1/0?"-0":a},Gn}();return Qn=function(e){return null==e?"":t(e)}}();return to=function(o,i){return t(o)?o:e(o,i)?[o]:r(n(o))}}function xi(){if(no)return ro;no=1;var t=gi();return ro=function(e){if("string"==typeof e||t(e))return e;var r=e+"";return"0"==r&&1/e==-1/0?"-0":r}}function _i(){if(io)return oo;io=1;var t=mi(),e=xi();return oo=function(r,n){for(var o=0,i=(n=t(n,r)).length;null!=r&&o<i;)r=r[e(n[o++])];return o&&o==i?r:void 0}}function wi(){if(vo)return bo;vo=1;var t=di(),e=function(){if(uo)return ao;uo=1;var t=_i();return ao=function(e,r,n){var o=null==e?void 0:t(e,r);return void 0===o?n:o}}(),r=function(){if(po)return ho;po=1;var t=co?so:(co=1,so=function(t,e){return null!=t&&e in Object(t)}),e=function(){if(lo)return fo;lo=1;var t=mi(),e=mt(),r=gt(),n=Pt(),o=Tt(),i=xi();return fo=function(a,u,s){for(var c=-1,f=(u=t(u,a)).length,l=!1;++c<f;){var h=i(u[c]);if(!(l=null!=a&&s(a,h)))break;a=a[h]}return l||++c!=f?l:!!(f=null==a?0:a.length)&&o(f)&&n(h,f)&&(r(a)||e(a))}}();return ho=function(r,n){return null!=r&&e(r,n,t)}}(),n=yi(),o=bi(),i=vi(),a=xi();return bo=function(u,s){return n(u)&&o(s)?i(a(u),s):function(n){var o=e(n,u);return void 0===o&&o===s?r(n,u):t(s,o,3)}}}function ji(){if(zo)return Ro;zo=1;var t=qo(),e=function(){if(Oo)return jo;Oo=1;var t=function(){if(Bn)return Dn;Bn=1;var t=function(){if(Rn)return Cn;Rn=1;var t=oi(),e=di();return Cn=function(r,n,o,i){var a=o.length,u=a,s=!i;if(null==r)return!u;for(r=Object(r);a--;){var c=o[a];if(s&&c[2]?c[1]!==r[c[0]]:!(c[0]in r))return!1}for(;++a<u;){var f=(c=o[a])[0],l=r[f],h=c[1];if(s&&c[2]){if(void 0===l&&!(f in r))return!1}else{var p=new t;if(i)var d=i(l,h,f,r,n,p);if(!(void 0===d?e(h,l,3,i,p):d))return!1}}return!0}}(),e=function(){if(Ln)return Tn;Ln=1;var t=bi(),e=No();return Tn=function(r){for(var n=e(r),o=n.length;o--;){var i=n[o],a=r[i];n[o]=[i,a,t(a)]}return n}}(),r=vi();return Dn=function(n){var o=e(n);return 1==o.length&&o[0][2]?r(o[0][0],o[0][1]):function(e){return e===n||t(e,n,o)}}}(),e=wi(),r=Vo(),n=gt(),o=function(){if(wo)return _o;wo=1;var t=yo?go:(yo=1,go=function(t){return function(e){return null==e?void 0:e[t]}}),e=function(){if(xo)return mo;xo=1;var t=_i();return mo=function(e){return function(r){return t(r,e)}}}(),r=yi(),n=xi();return _o=function(o){return r(o)?t(n(o)):e(o)}}();return jo=function(i){return"function"==typeof i?i:null==i?r:"object"==typeof i?n(i)?e(i[0],i[1]):t(i):o(i)}}(),r=function(){if(Co)return Ao;Co=1;var t=function(){if(ko)return So;ko=1;var t=Io(),e=function(){if(Eo)return Mo;Eo=1;var t=$o();return Mo=function(e,r){return function(n,o){if(null==n)return n;if(!t(n))return e(n,o);for(var i=n.length,a=r?i:-1,u=Object(n);(r?a--:++a<i)&&!1!==o(u[a],a,u););return n}}}()(t);return So=e}(),e=$o();return Ao=function(r,n){var o=-1,i=e(r)?Array(r.length):[];return t(r,function(t,e,r){i[++o]=n(t,e,r)}),i}}(),n=gt();return Ro=function(o,i){return(n(o)?t:r)(o,e(i,3))}}var Oi,Mi,Ei,Si,ki,Ai,Ci,Ri,zi,Pi,Ti,Li,Ui,Fi,Di,Bi,Hi,Wi,$i,Ni,Ii={};function Vi(){if(Ai)return ki;Ai=1;var t=function(){if(Si)return Ei;Si=1;var t=Zo(),e=function(){try{var e=t(Object,"defineProperty");return e({},"",{}),e}catch(t){}}();return Ei=e}();return ki=function(e,r,n){"__proto__"==r&&t?t(e,r,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[r]=n}}function Xi(){if(Ri)return Ci;Ri=1;var t=Vi(),e=Ko(),r=Object.prototype.hasOwnProperty;return Ci=function(n,o,i){var a=n[o];r.call(n,o)&&e(a,i)&&(void 0!==i||o in n)||t(n,o,i)}}function Yi(){if(Pi)return zi;Pi=1;var t=Xi(),e=Vi();return zi=function(r,n,o,i){var a=!o;o||(o={});for(var u=-1,s=n.length;++u<s;){var c=n[u],f=i?i(o[c],r[c],c,o,r):void 0;void 0===f&&(f=r[c]),a?e(o,c,f):t(o,c,f)}return o}}function qi(){if(Wi)return Hi;Wi=1;var t=Fo(),e=function(){if(Bi)return Di;Bi=1;var t=Ho(),e=Do(),r=Fi?Ui:(Fi=1,Ui=function(t){var e=[];if(null!=t)for(var r in Object(t))e.push(r);return e}),n=Object.prototype.hasOwnProperty;return Di=function(o){if(!t(o))return r(o);var i=e(o),a=[];for(var u in o)("constructor"!=u||!i&&n.call(o,u))&&a.push(u);return a}}(),r=$o();return Hi=function(n){return r(n)?t(n,!0):e(n)}}var Ki,Gi,Ji,Qi,Zi,ta,ea,ra,na,oa,ia,aa,ua,sa,ca,fa,la,ha,pa,da,ba,va,ga,ya,ma,xa,_a,wa,ja,Oa,Ma,Ea,Sa,ka,Aa,Ca,Ra,za,Pa,Ta,La,Ua,Fa={exports:{}};function Da(){if(ea)return ta;ea=1;var t=ui(),e=Yo(),r=fi(),n=ci(),o=Object.getOwnPropertySymbols;return ta=o?function(n){for(var o=[];n;)t(o,r(n)),n=e(n);return o}:n}function Ba(){if(ca)return sa;ca=1;var t=ai();return sa=function(e){var r=new e.constructor(e.byteLength);return new t(r).set(new t(e)),r}}function Ha(){if(Pa)return za;Pa=1;var t=oi(),e=Mi?Oi:(Mi=1,Oi=function(t,e){for(var r=-1,n=null==t?0:t.length;++r<n&&!1!==e(t[r],r,t););return t}),r=Xi(),n=function(){if(Li)return Ti;Li=1;var t=Yi(),e=No();return Ti=function(r,n){return r&&t(n,e(n),r)}}(),o=function(){if(Ni)return $i;Ni=1;var t=Yi(),e=qi();return $i=function(r,n){return r&&t(n,e(n),r)}}(),i=(Ki||(Ki=1,function(t,e){var r=dt(),n=e&&!e.nodeType&&e,o=n&&t&&!t.nodeType&&t,i=o&&o.exports===n?r.Buffer:void 0,a=i?i.allocUnsafe:void 0;t.exports=function(t,e){if(e)return t.slice();var r=t.length,n=a?a(r):new t.constructor(r);return t.copy(n),n}}(Fa,Fa.exports)),Fa.exports),a=Ji?Gi:(Ji=1,Gi=function(t,e){var r=-1,n=t.length;for(e||(e=Array(n));++r<n;)e[r]=t[r];return e}),u=function(){if(Zi)return Qi;Zi=1;var t=Yi(),e=fi();return Qi=function(r,n){return t(r,e(r),n)}}(),s=function(){if(na)return ra;na=1;var t=Yi(),e=Da();return ra=function(r,n){return t(r,e(r),n)}}(),c=li(),f=function(){if(ia)return oa;ia=1;var t=si(),e=Da(),r=qi();return oa=function(n){return t(n,r,e)}}(),l=hi(),h=function(){if(ua)return aa;ua=1;var t=Object.prototype.hasOwnProperty;return aa=function(e){var r=e.length,n=new e.constructor(r);return r&&"string"==typeof e[0]&&t.call(e,"index")&&(n.index=e.index,n.input=e.input),n}}(),p=function(){if(ma)return ya;ma=1;var t=Ba(),e=function(){if(la)return fa;la=1;var t=Ba();return fa=function(e,r){var n=r?t(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}}(),r=function(){if(pa)return ha;pa=1;var t=/\w*$/;return ha=function(e){var r=new e.constructor(e.source,t.exec(e));return r.lastIndex=e.lastIndex,r}}(),n=function(){if(ba)return da;ba=1;var t=bt(),e=t?t.prototype:void 0,r=e?e.valueOf:void 0;return da=function(t){return r?Object(r.call(t)):{}}}(),o=function(){if(ga)return va;ga=1;var t=Ba();return va=function(e,r){var n=r?t(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}}();return ya=function(i,a,u){var s=i.constructor;switch(a){case"[object ArrayBuffer]":return t(i);case"[object Boolean]":case"[object Date]":return new s(+i);case"[object DataView]":return e(i,u);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return o(i,u);case"[object Map]":case"[object Set]":return new s;case"[object Number]":case"[object String]":return new s(i);case"[object RegExp]":return r(i);case"[object Symbol]":return n(i)}}}(),d=function(){if(ja)return wa;ja=1;var t=function(){if(_a)return xa;_a=1;var t=Ho(),e=Object.create,r=function(){function r(){}return function(n){if(!t(n))return{};if(e)return e(n);r.prototype=n;var o=new r;return r.prototype=void 0,o}}();return xa=r}(),e=Yo(),r=Do();return wa=function(n){return"function"!=typeof n.constructor||r(n)?{}:t(e(n))}}(),b=gt(),v=zt(),g=function(){if(Sa)return Ea;Sa=1;var t=function(){if(Ma)return Oa;Ma=1;var t=hi(),e=yt();return Oa=function(r){return e(r)&&"[object Map]"==t(r)}}(),e=Lt(),r=Lo(),n=r&&r.isMap,o=n?e(n):t;return Ea=o}(),y=Ho(),m=function(){if(Ra)return Ca;Ra=1;var t=function(){if(Aa)return ka;Aa=1;var t=hi(),e=yt();return ka=function(r){return e(r)&&"[object Set]"==t(r)}}(),e=Lt(),r=Lo(),n=r&&r.isSet,o=n?e(n):t;return Ca=o}(),x=No(),_=qi(),w="[object Arguments]",j="[object Function]",O="[object Object]",M={};return M[w]=M["[object Array]"]=M["[object ArrayBuffer]"]=M["[object DataView]"]=M["[object Boolean]"]=M["[object Date]"]=M["[object Float32Array]"]=M["[object Float64Array]"]=M["[object Int8Array]"]=M["[object Int16Array]"]=M["[object Int32Array]"]=M["[object Map]"]=M["[object Number]"]=M[O]=M["[object RegExp]"]=M["[object Set]"]=M["[object String]"]=M["[object Symbol]"]=M["[object Uint8Array]"]=M["[object Uint8ClampedArray]"]=M["[object Uint16Array]"]=M["[object Uint32Array]"]=!0,M["[object Error]"]=M[j]=M["[object WeakMap]"]=!1,za=function E(S,k,A,C,R,z){var P,T=1&k,L=2&k,U=4&k;if(A&&(P=R?A(S,C,R,z):A(S)),void 0!==P)return P;if(!y(S))return S;var F=b(S);if(F){if(P=h(S),!T)return a(S,P)}else{var D=l(S),B=D==j||"[object GeneratorFunction]"==D;if(v(S))return i(S,T);if(D==O||D==w||B&&!R){if(P=L||B?{}:d(S),!T)return L?s(S,o(P,S)):u(S,n(P,S))}else{if(!M[D])return R?S:{};P=p(S,D,T)}}z||(z=new t);var H=z.get(S);if(H)return H;z.set(S,P),m(S)?S.forEach(function(t){P.add(E(t,k,A,t,S,z))}):g(S)&&S.forEach(function(t,e){P.set(e,E(t,k,A,e,S,z))});var W=F?void 0:(U?L?f:c:L?_:x)(S);return e(W||S,function(t,e){W&&(t=S[e=t]),r(P,e,E(t,k,A,e,S,z))}),P},za}var Wa,$a,Na={},Ia={};var Va,Xa={};var Ya,qa,Ka={},Ga=function(){if(qa)return lt;qa=1,Object.defineProperty(lt,"__esModule",{value:!0}),lt.ReactCSS=lt.loop=lt.handleActive=lt.handleHover=lt.hover=void 0;var e=s(function(){if(Po)return ht;Po=1,Object.defineProperty(ht,"__esModule",{value:!0}),ht.flattenNames=void 0;var t=function(){if(tt)return Z;tt=1;var t=vt(),e=gt(),r=yt();return Z=function(n){return"string"==typeof n||!e(n)&&r(n)&&"[object String]"==t(n)}}(),e=a(t),r=a(Xo()),n=function(){if(de)return pe;de=1;var t=vt(),e=Yo(),r=yt(),n=Function.prototype,o=Object.prototype,i=n.toString,a=o.hasOwnProperty,u=i.call(Object);return pe=function(n){if(!r(n)||"[object Object]"!=t(n))return!1;var o=e(n);if(null===o)return!0;var s=a.call(o,"constructor")&&o.constructor;return"function"==typeof s&&s instanceof s&&i.call(s)==u}}(),o=a(n),i=a(ji());function a(t){return t&&t.__esModule?t:{default:t}}var u=ht.flattenNames=function t(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],a=[];return(0,i.default)(n,function(n){Array.isArray(n)?t(n).map(function(t){return a.push(t)}):(0,o.default)(n)?(0,r.default)(n,function(t,e){!0===t&&a.push(e),a.push(e+"-"+t)}):(0,e.default)(n)&&a.push(n)}),a};return ht.default=u,ht}()),r=s(function(){if(Ua)return Ii;Ua=1,Object.defineProperty(Ii,"__esModule",{value:!0}),Ii.mergeClasses=void 0;var t=n(Xo()),e=n(function(){if(La)return Ta;La=1;var t=Ha();return Ta=function(e){return t(e,5)}}()),r=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t};function n(t){return t&&t.__esModule?t:{default:t}}var o=Ii.mergeClasses=function(n){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],i=n.default&&(0,e.default)(n.default)||{};return o.map(function(e){var o=n[e];return o&&(0,t.default)(o,function(t,e){i[e]||(i[e]={}),i[e]=r({},i[e],o[e])}),e}),i};return Ii.default=o,Ii}()),n=function(){if(Wa)return Na;Wa=1,Object.defineProperty(Na,"__esModule",{value:!0}),Na.autoprefix=void 0;var t,e=(t=Xo())&&t.__esModule?t:{default:t},r=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},n={borderRadius:function(t){return{msBorderRadius:t,MozBorderRadius:t,OBorderRadius:t,WebkitBorderRadius:t,borderRadius:t}},boxShadow:function(t){return{msBoxShadow:t,MozBoxShadow:t,OBoxShadow:t,WebkitBoxShadow:t,boxShadow:t}},userSelect:function(t){return{WebkitTouchCallout:t,KhtmlUserSelect:t,MozUserSelect:t,msUserSelect:t,WebkitUserSelect:t,userSelect:t}},flex:function(t){return{WebkitBoxFlex:t,MozBoxFlex:t,WebkitFlex:t,msFlex:t,flex:t}},flexBasis:function(t){return{WebkitFlexBasis:t,flexBasis:t}},justifyContent:function(t){return{WebkitJustifyContent:t,justifyContent:t}},transition:function(t){return{msTransition:t,MozTransition:t,OTransition:t,WebkitTransition:t,transition:t}},transform:function(t){return{msTransform:t,MozTransform:t,OTransform:t,WebkitTransform:t,transform:t}},absolute:function(t){var e=t&&t.split(" ");return{position:"absolute",top:e&&e[0],right:e&&e[1],bottom:e&&e[2],left:e&&e[3]}},extend:function(t,e){return e[t]||{extend:t}}},o=Na.autoprefix=function(t){var o={};return(0,e.default)(t,function(t,i){var a={};(0,e.default)(t,function(t,e){var o=n[e];o?a=r({},a,o(t)):a[e]=t}),o[i]=a}),o};return Na.default=o,Na}(),o=s(n),i=s(function(){if($a)return Ia;$a=1,Object.defineProperty(Ia,"__esModule",{value:!0}),Ia.hover=void 0;var e,r=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},n=(e=t.z)&&e.__esModule?e:{default:e};function o(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}var i=Ia.hover=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"span";return function(i){function a(){var i,u,s;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,a);for(var c=arguments.length,f=Array(c),l=0;l<c;l++)f[l]=arguments[l];return u=s=o(this,(i=a.__proto__||Object.getPrototypeOf(a)).call.apply(i,[this].concat(f))),s.state={hover:!1},s.handleMouseOver=function(){return s.setState({hover:!0})},s.handleMouseOut=function(){return s.setState({hover:!1})},s.render=function(){return n.default.createElement(e,{onMouseOver:s.handleMouseOver,onMouseOut:s.handleMouseOut},n.default.createElement(t,r({},s.props,s.state)))},o(s,u)}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(a,i),a}(n.default.Component)};return Ia.default=i,Ia}()),a=s(function(){if(Va)return Xa;Va=1,Object.defineProperty(Xa,"__esModule",{value:!0}),Xa.active=void 0;var e,r=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},n=(e=t.z)&&e.__esModule?e:{default:e};function o(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}var i=Xa.active=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"span";return function(i){function a(){var i,u,s;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,a);for(var c=arguments.length,f=Array(c),l=0;l<c;l++)f[l]=arguments[l];return u=s=o(this,(i=a.__proto__||Object.getPrototypeOf(a)).call.apply(i,[this].concat(f))),s.state={active:!1},s.handleMouseDown=function(){return s.setState({active:!0})},s.handleMouseUp=function(){return s.setState({active:!1})},s.render=function(){return n.default.createElement(e,{onMouseDown:s.handleMouseDown,onMouseUp:s.handleMouseUp},n.default.createElement(t,r({},s.props,s.state)))},o(s,u)}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(a,i),a}(n.default.Component)};return Xa.default=i,Xa}()),u=s((Ya||(Ya=1,Object.defineProperty(Ka,"__esModule",{value:!0}),Ka.default=function(t,e){var r={},n=function(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];r[t]=e};return 0===t&&n("first-child"),t===e-1&&n("last-child"),(0===t||t%2==0)&&n("even"),1===Math.abs(t%2)&&n("odd"),n("nth-child",t),r}),Ka));function s(t){return t&&t.__esModule?t:{default:t}}lt.hover=i.default,lt.handleHover=i.default,lt.handleActive=a.default,lt.loop=u.default;var c=lt.ReactCSS=function(t){for(var n=arguments.length,i=Array(n>1?n-1:0),a=1;a<n;a++)i[a-1]=arguments[a];var u=(0,e.default)(i),s=(0,r.default)(t,u);return(0,o.default)(s)};return lt.default=c,lt}();const Ja=t.Mb(Ga);var Qa={},Za=function(t,e,r,n){var o=t+"-"+e+"-"+r+(n?"-server":"");if(Qa[o])return Qa[o];var i=function(t,e,r,n){if("undefined"==typeof document&&!n)return null;var o=n?new n:document.createElement("canvas");o.width=2*r,o.height=2*r;var i=o.getContext("2d");return i?(i.fillStyle=t,i.fillRect(0,0,o.width,o.height),i.fillStyle=e,i.fillRect(0,0,r,r),i.translate(r,r),i.fillRect(0,0,r,r),o.toDataURL()):null}(t,e,r,n);return Qa[o]=i,i},tu=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},eu=function(e){var r=e.white,n=e.grey,o=e.size,i=e.renderers,a=e.borderRadius,u=e.boxShadow,s=e.children,c=Ja({default:{grid:{borderRadius:a,boxShadow:u,absolute:"0px 0px 0px 0px",background:"url("+Za(r,n,o,i.canvas)+") center left"}}});return t.reactExports.isValidElement(s)?t.z.cloneElement(s,tu({},s.props,{style:tu({},s.props.style,c.grid)})):t.z.createElement("div",{style:c.grid})};eu.defaultProps={size:8,white:"transparent",grey:"rgba(0,0,0,.08)",renderers:{}};var ru=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},nu=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}();function ou(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}var iu=function(){function e(){var t,r,n;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);for(var o=arguments.length,i=Array(o),a=0;a<o;a++)i[a]=arguments[a];return r=n=ou(this,(t=e.__proto__||Object.getPrototypeOf(e)).call.apply(t,[this].concat(i))),n.handleChange=function(t){var e=function(t,e,r,n,o){var i=o.clientWidth,a=o.clientHeight,u="number"==typeof t.pageX?t.pageX:t.touches[0].pageX,s="number"==typeof t.pageY?t.pageY:t.touches[0].pageY,c=u-(o.getBoundingClientRect().left+window.pageXOffset),f=s-(o.getBoundingClientRect().top+window.pageYOffset);if("vertical"===r){var l;if(l=f<0?0:f>a?1:Math.round(100*f/a)/100,e.a!==l)return{h:e.h,s:e.s,l:e.l,a:l,source:"rgb"}}else{var h;if(n!==(h=c<0?0:c>i?1:Math.round(100*c/i)/100))return{h:e.h,s:e.s,l:e.l,a:h,source:"rgb"}}return null}(t,n.props.hsl,n.props.direction,n.props.a,n.container);e&&"function"==typeof n.props.onChange&&n.props.onChange(e,t)},n.handleMouseDown=function(t){n.handleChange(t),window.addEventListener("mousemove",n.handleChange),window.addEventListener("mouseup",n.handleMouseUp)},n.handleMouseUp=function(){n.unbindEventListeners()},n.unbindEventListeners=function(){window.removeEventListener("mousemove",n.handleChange),window.removeEventListener("mouseup",n.handleMouseUp)},ou(n,r)}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t.reactExports.PureComponent||t.reactExports.Component),nu(e,[{key:"componentWillUnmount",value:function(){this.unbindEventListeners()}},{key:"render",value:function(){var e=this,r=this.props.rgb,n=Ja({default:{alpha:{absolute:"0px 0px 0px 0px",borderRadius:this.props.radius},checkboard:{absolute:"0px 0px 0px 0px",overflow:"hidden",borderRadius:this.props.radius},gradient:{absolute:"0px 0px 0px 0px",background:"linear-gradient(to right, rgba("+r.r+","+r.g+","+r.b+", 0) 0%,\n rgba("+r.r+","+r.g+","+r.b+", 1) 100%)",boxShadow:this.props.shadow,borderRadius:this.props.radius},container:{position:"relative",height:"100%",margin:"0 3px"},pointer:{position:"absolute",left:100*r.a+"%"},slider:{width:"4px",borderRadius:"1px",height:"8px",boxShadow:"0 0 2px rgba(0, 0, 0, .6)",background:"#fff",marginTop:"1px",transform:"translateX(-2px)"}},vertical:{gradient:{background:"linear-gradient(to bottom, rgba("+r.r+","+r.g+","+r.b+", 0) 0%,\n rgba("+r.r+","+r.g+","+r.b+", 1) 100%)"},pointer:{left:0,top:100*r.a+"%"}},overwrite:ru({},this.props.style)},{vertical:"vertical"===this.props.direction,overwrite:!0});return t.z.createElement("div",{style:n.alpha},t.z.createElement("div",{style:n.checkboard},t.z.createElement(eu,{renderers:this.props.renderers})),t.z.createElement("div",{style:n.gradient}),t.z.createElement("div",{style:n.container,ref:function(t){return e.container=t},onMouseDown:this.handleMouseDown,onTouchMove:this.handleChange,onTouchStart:this.handleChange},t.z.createElement("div",{style:n.pointer},this.props.pointer?t.z.createElement(this.props.pointer,this.props):t.z.createElement("div",{style:n.slider}))))}}]),e}(),au=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}(),uu=[38,40],su=1,cu=function(){function e(t){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var r=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this));return r.handleBlur=function(){r.state.blurValue&&r.setState({value:r.state.blurValue,blurValue:null})},r.handleChange=function(t){r.setUpdatedValue(t.target.value,t)},r.handleKeyDown=function(t){var e,n=function(t){return Number(String(t).replace(/%/g,""))}(t.target.value);if(!isNaN(n)&&(e=t.keyCode,uu.indexOf(e)>-1)){var o=r.getArrowOffset(),i=38===t.keyCode?n+o:n-o;r.setUpdatedValue(i,t)}},r.handleDrag=function(t){if(r.props.dragLabel){var e=Math.round(r.props.value+t.movementX);e>=0&&e<=r.props.dragMax&&r.props.onChange&&r.props.onChange(r.getValueObjectWithLabel(e),t)}},r.handleMouseDown=function(t){r.props.dragLabel&&(t.preventDefault(),r.handleDrag(t),window.addEventListener("mousemove",r.handleDrag),window.addEventListener("mouseup",r.handleMouseUp))},r.handleMouseUp=function(){r.unbindEventListeners()},r.unbindEventListeners=function(){window.removeEventListener("mousemove",r.handleDrag),window.removeEventListener("mouseup",r.handleMouseUp)},r.state={value:String(t.value).toUpperCase(),blurValue:String(t.value).toUpperCase()},r.inputId="rc-editable-input-"+su++,r}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t.reactExports.PureComponent||t.reactExports.Component),au(e,[{key:"componentDidUpdate",value:function(t,e){this.props.value===this.state.value||t.value===this.props.value&&e.value===this.state.value||(this.input===document.activeElement?this.setState({blurValue:String(this.props.value).toUpperCase()}):this.setState({value:String(this.props.value).toUpperCase(),blurValue:!this.state.blurValue&&String(this.props.value).toUpperCase()}))}},{key:"componentWillUnmount",value:function(){this.unbindEventListeners()}},{key:"getValueObjectWithLabel",value:function(t){return function(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}({},this.props.label,t)}},{key:"getArrowOffset",value:function(){return this.props.arrowOffset||1}},{key:"setUpdatedValue",value:function(t,e){var r=this.props.label?this.getValueObjectWithLabel(t):t;this.props.onChange&&this.props.onChange(r,e),this.setState({value:t})}},{key:"render",value:function(){var e=this,r=Ja({default:{wrap:{position:"relative"}},"user-override":{wrap:this.props.style&&this.props.style.wrap?this.props.style.wrap:{},input:this.props.style&&this.props.style.input?this.props.style.input:{},label:this.props.style&&this.props.style.label?this.props.style.label:{}},"dragLabel-true":{label:{cursor:"ew-resize"}}},{"user-override":!0},this.props);return t.z.createElement("div",{style:r.wrap},t.z.createElement("input",{id:this.inputId,style:r.input,ref:function(t){return e.input=t},value:this.state.value,onKeyDown:this.handleKeyDown,onChange:this.handleChange,onBlur:this.handleBlur,placeholder:this.props.placeholder,spellCheck:"false"}),this.props.label&&!this.props.hideLabel?t.z.createElement("label",{htmlFor:this.inputId,style:r.label,onMouseDown:this.handleMouseDown},this.props.label):null)}}]),e}(),fu=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}();function lu(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}var hu=function(){function e(){var t,r,n;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);for(var o=arguments.length,i=Array(o),a=0;a<o;a++)i[a]=arguments[a];return r=n=lu(this,(t=e.__proto__||Object.getPrototypeOf(e)).call.apply(t,[this].concat(i))),n.handleChange=function(t){var e=function(t,e,r,n){var o=n.clientWidth,i=n.clientHeight,a="number"==typeof t.pageX?t.pageX:t.touches[0].pageX,u="number"==typeof t.pageY?t.pageY:t.touches[0].pageY,s=a-(n.getBoundingClientRect().left+window.pageXOffset),c=u-(n.getBoundingClientRect().top+window.pageYOffset);if("vertical"===e){var f;if(f=c<0?359:c>i?0:360*(-100*c/i+100)/100,r.h!==f)return{h:f,s:r.s,l:r.l,a:r.a,source:"hsl"}}else{var l;if(l=s<0?0:s>o?359:100*s/o*360/100,r.h!==l)return{h:l,s:r.s,l:r.l,a:r.a,source:"hsl"}}return null}(t,n.props.direction,n.props.hsl,n.container);e&&"function"==typeof n.props.onChange&&n.props.onChange(e,t)},n.handleMouseDown=function(t){n.handleChange(t),window.addEventListener("mousemove",n.handleChange),window.addEventListener("mouseup",n.handleMouseUp)},n.handleMouseUp=function(){n.unbindEventListeners()},lu(n,r)}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t.reactExports.PureComponent||t.reactExports.Component),fu(e,[{key:"componentWillUnmount",value:function(){this.unbindEventListeners()}},{key:"unbindEventListeners",value:function(){window.removeEventListener("mousemove",this.handleChange),window.removeEventListener("mouseup",this.handleMouseUp)}},{key:"render",value:function(){var e=this,r=this.props.direction,n=void 0===r?"horizontal":r,o=Ja({default:{hue:{absolute:"0px 0px 0px 0px",borderRadius:this.props.radius,boxShadow:this.props.shadow},container:{padding:"0 2px",position:"relative",height:"100%",borderRadius:this.props.radius},pointer:{position:"absolute",left:100*this.props.hsl.h/360+"%"},slider:{marginTop:"1px",width:"4px",borderRadius:"1px",height:"8px",boxShadow:"0 0 2px rgba(0, 0, 0, .6)",background:"#fff",transform:"translateX(-2px)"}},vertical:{pointer:{left:"0px",top:-100*this.props.hsl.h/360+100+"%"}}},{vertical:"vertical"===n});return t.z.createElement("div",{style:o.hue},t.z.createElement("div",{className:"hue-"+n,style:o.container,ref:function(t){return e.container=t},onMouseDown:this.handleMouseDown,onTouchMove:this.handleChange,onTouchStart:this.handleChange},t.z.createElement("style",null,"\n .hue-horizontal {\n background: linear-gradient(to right, #f00 0%, #ff0 17%, #0f0\n 33%, #0ff 50%, #00f 67%, #f0f 83%, #f00 100%);\n background: -webkit-linear-gradient(to right, #f00 0%, #ff0\n 17%, #0f0 33%, #0ff 50%, #00f 67%, #f0f 83%, #f00 100%);\n }\n\n .hue-vertical {\n background: linear-gradient(to top, #f00 0%, #ff0 17%, #0f0 33%,\n #0ff 50%, #00f 67%, #f0f 83%, #f00 100%);\n background: -webkit-linear-gradient(to top, #f00 0%, #ff0 17%,\n #0f0 33%, #0ff 50%, #00f 67%, #f0f 83%, #f00 100%);\n }\n "),t.z.createElement("div",{style:o.pointer},this.props.pointer?t.z.createElement(this.props.pointer,this.props):t.z.createElement("div",{style:o.slider}))))}}]),e}(),pu="object"==typeof global&&global&&global.Object===Object&&global,du="object"==typeof self&&self&&self.Object===Object&&self,bu=pu||du||Function("return this")(),vu=bu.Symbol,gu=Object.prototype,yu=gu.hasOwnProperty,mu=gu.toString,xu=vu?vu.toStringTag:void 0,_u=Object.prototype.toString,wu=vu?vu.toStringTag:void 0;function ju(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}e.string,e.oneOf([0,1,2,3,4,5]),e.number,e.object;var Ou=function(){return bu.Date.now()},Mu=/\s/,Eu=/^\s+/;var Su=/^[-+]0x[0-9a-f]+$/i,ku=/^0b[01]+$/i,Au=/^0o[0-7]+$/i,Cu=parseInt;function Ru(t){if("number"==typeof t)return t;if(function(t){return"symbol"==typeof t||function(t){return null!=t&&"object"==typeof t}(t)&&"[object Symbol]"==function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":wu&&wu in Object(t)?function(t){var e=yu.call(t,xu),r=t[xu];try{t[xu]=void 0;var n=!0}catch(t){}var o=mu.call(t);return n&&(e?t[xu]=r:delete t[xu]),o}(t):function(t){return _u.call(t)}(t)}(t)}(t))return NaN;if(ju(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=ju(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=function(t){return t?t.slice(0,function(t){for(var e=t.length;e--&&Mu.test(t.charAt(e)););return e}(t)+1).replace(Eu,""):t}(t);var r=ku.test(t);return r||Au.test(t)?Cu(t.slice(2),r?2:8):Su.test(t)?NaN:+t}var zu=Math.max,Pu=Math.min;var Tu=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}();!function(){function e(t){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var r=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return r.handleChange=function(t){"function"==typeof r.props.onChange&&r.throttle(r.props.onChange,function(t,e,r){var n=r.getBoundingClientRect(),o=n.width,i=n.height,a="number"==typeof t.pageX?t.pageX:t.touches[0].pageX,u="number"==typeof t.pageY?t.pageY:t.touches[0].pageY,s=a-(r.getBoundingClientRect().left+window.pageXOffset),c=u-(r.getBoundingClientRect().top+window.pageYOffset);s<0?s=0:s>o&&(s=o),c<0?c=0:c>i&&(c=i);var f=s/o,l=1-c/i;return{h:e.h,s:f,v:l,a:e.a,source:"hsv"}}(t,r.props.hsl,r.container),t)},r.handleMouseDown=function(t){r.handleChange(t);var e=r.getContainerRenderWindow();e.addEventListener("mousemove",r.handleChange),e.addEventListener("mouseup",r.handleMouseUp)},r.handleMouseUp=function(){r.unbindEventListeners()},r.throttle=function(t,e,r){var n=!0,o=!0;return ju(r)&&(n="leading"in r?!!r.leading:n,o="trailing"in r?!!r.trailing:o),function(t,e,r){var n,o,i,a,u,s,c=0,f=!1,l=!1,h=!0;if("function"!=typeof t)throw new TypeError("Expected a function");function p(e){var r=n,i=o;return n=o=void 0,c=e,a=t.apply(i,r)}function d(t){var r=t-s;return void 0===s||r>=e||r<0||l&&t-c>=i}function b(){var t=Ou();if(d(t))return v(t);u=setTimeout(b,function(t){var r=e-(t-s);return l?Pu(r,i-(t-c)):r}(t))}function v(t){return u=void 0,h&&n?p(t):(n=o=void 0,a)}function g(){var t=Ou(),r=d(t);if(n=arguments,o=this,s=t,r){if(void 0===u)return function(t){return c=t,u=setTimeout(b,e),f?p(t):a}(s);if(l)return clearTimeout(u),u=setTimeout(b,e),p(s)}return void 0===u&&(u=setTimeout(b,e)),a}return e=Ru(e)||0,ju(r)&&(f=!!r.leading,i=(l="maxWait"in r)?zu(Ru(r.maxWait)||0,e):i,h="trailing"in r?!!r.trailing:h),g.cancel=function(){void 0!==u&&clearTimeout(u),c=0,n=s=o=u=void 0},g.flush=function(){return void 0===u?a:v(Ou())},g}(t,50,{leading:n,maxWait:50,trailing:o})}(function(t,e,r){t(e,r)}),r}(function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)})(e,t.reactExports.PureComponent||t.reactExports.Component),Tu(e,[{key:"componentWillUnmount",value:function(){this.throttle.cancel(),this.unbindEventListeners()}},{key:"getContainerRenderWindow",value:function(){for(var t=this.container,e=window;!e.document.contains(t)&&e.parent!==e;)e=e.parent;return e}},{key:"unbindEventListeners",value:function(){var t=this.getContainerRenderWindow();t.removeEventListener("mousemove",this.handleChange),t.removeEventListener("mouseup",this.handleMouseUp)}},{key:"render",value:function(){var e=this,r=this.props.style||{},n=r.color,o=r.white,i=r.black,a=r.pointer,u=r.circle,s=Ja({default:{color:{absolute:"0px 0px 0px 0px",background:"hsl("+this.props.hsl.h+",100%, 50%)",borderRadius:this.props.radius},white:{absolute:"0px 0px 0px 0px",borderRadius:this.props.radius},black:{absolute:"0px 0px 0px 0px",boxShadow:this.props.shadow,borderRadius:this.props.radius},pointer:{position:"absolute",top:-100*this.props.hsv.v+100+"%",left:100*this.props.hsv.s+"%",cursor:"default"},circle:{width:"4px",height:"4px",boxShadow:"0 0 0 1.5px #fff, inset 0 0 1px 1px rgba(0,0,0,.3),\n 0 0 1px 2px rgba(0,0,0,.4)",borderRadius:"50%",cursor:"hand",transform:"translate(-2px, -2px)"}},custom:{color:n,white:o,black:i,pointer:a,circle:u}},{custom:!!this.props.style});return t.z.createElement("div",{style:s.color,ref:function(t){return e.container=t},onMouseDown:this.handleMouseDown,onTouchMove:this.handleChange,onTouchStart:this.handleChange},t.z.createElement("style",null,"\n .saturation-white {\n background: -webkit-linear-gradient(to right, #fff, rgba(255,255,255,0));\n background: linear-gradient(to right, #fff, rgba(255,255,255,0));\n }\n .saturation-black {\n background: -webkit-linear-gradient(to top, #000, rgba(0,0,0,0));\n background: linear-gradient(to top, #000, rgba(0,0,0,0));\n }\n "),t.z.createElement("div",{style:s.white,className:"saturation-white"},t.z.createElement("div",{style:s.black,className:"saturation-black"}),t.z.createElement("div",{style:s.pointer},this.props.pointer?t.z.createElement(this.props.pointer,this.props):t.z.createElement("div",{style:s.circle}))))}}])}();var Lu=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},Uu=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}();function Fu(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}var Du=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t};!function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"span";!function(){function n(){var t,e,r;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,n);for(var o=arguments.length,i=Array(o),a=0;a<o;a++)i[a]=arguments[a];return e=r=Fu(this,(t=n.__proto__||Object.getPrototypeOf(n)).call.apply(t,[this].concat(i))),r.state={focus:!1},r.handleFocus=function(){return r.setState({focus:!0})},r.handleBlur=function(){return r.setState({focus:!1})},Fu(r,e)}(function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)})(n,t.z.Component),Uu(n,[{key:"render",value:function(){return t.z.createElement(r,{onFocus:this.handleFocus,onBlur:this.handleBlur},t.z.createElement(e,Lu({},this.props,this.state)))}}])}()}(function(e){var r=e.color,n=e.style,o=e.onClick,i=void 0===o?function(){}:o,a=e.onHover,u=e.title,s=void 0===u?r:u,c=e.children,f=e.focus,l=e.focusStyle,h="transparent"===r,p=Ja({default:{swatch:Du({background:r,height:"100%",width:"100%",cursor:"pointer",position:"relative",outline:"none"},n,f?void 0===l?{}:l:{})}}),d={};return a&&(d.onMouseOver=function(t){return a(r,t)}),t.z.createElement("div",Du({style:p.swatch,onClick:function(t){return i(r,t)},title:s,tabIndex:0,onKeyDown:function(t){return 13===t.keyCode&&i(r,t)}},d),c,h&&t.z.createElement(eu,{borderRadius:p.swatch.borderRadius,boxShadow:"inset 0 0 0 1px rgba(0,0,0,0.1)"}))});var Bu=function(e){var r=e.onChange,n=e.rgb,o=e.hsl,a=e.hex,u=e.disableAlpha,s=Ja({default:{fields:{display:"flex",paddingTop:"4px"},single:{flex:"1",paddingLeft:"6px"},alpha:{flex:"1",paddingLeft:"6px"},double:{flex:"2"},input:{width:"80%",padding:"4px 10% 3px",border:"none",boxShadow:"inset 0 0 0 1px #ccc",fontSize:"11px"},label:{display:"block",textAlign:"center",fontSize:"11px",color:"#222",paddingTop:"3px",paddingBottom:"4px",textTransform:"capitalize"}},disableAlpha:{alpha:{display:"none"}}},{disableAlpha:u}),c=function(t,e){t.hex?function(t){if("transparent"===t)return!0;var e="#"===String(t).charAt(0)?1:0;return t.length!==4+e&&t.length<7+e&&i(t).isValid()}(t.hex)&&r({hex:t.hex,source:"hex"},e):t.r||t.g||t.b?r({r:t.r||n.r,g:t.g||n.g,b:t.b||n.b,a:n.a,source:"rgb"},e):t.a&&(t.a<0?t.a=0:t.a>100&&(t.a=100),t.a/=100,r({h:o.h,s:o.s,l:o.l,a:t.a,source:"rgb"},e))};return t.z.createElement("div",{style:s.fields,className:"flexbox-fix"},t.z.createElement("div",{style:s.double},t.z.createElement(cu,{style:{input:s.input,label:s.label},label:"hex",value:a.replace("#",""),onChange:c})),t.z.createElement("div",{style:s.single},t.z.createElement(cu,{style:{input:s.input,label:s.label},label:"r",value:n.r,onChange:c,dragLabel:"true",dragMax:"255"})),t.z.createElement("div",{style:s.single},t.z.createElement(cu,{style:{input:s.input,label:s.label},label:"g",value:n.g,onChange:c,dragLabel:"true",dragMax:"255"})),t.z.createElement("div",{style:s.single},t.z.createElement(cu,{style:{input:s.input,label:s.label},label:"b",value:n.b,onChange:c,dragLabel:"true",dragMax:"255"})),t.z.createElement("div",{style:s.alpha},t.z.createElement(cu,{style:{input:s.input,label:s.label},label:"a",value:Math.round(100*n.a),onChange:c,dragLabel:"true",dragMax:"100"})))};class Hu extends(t.reactExports.PureComponent||t.reactExports.Component){constructor(t){super(t),this.handleChange=t=>{"function"==typeof this.props.onChange&&this.throttle(this.props.onChange,((t,e,r)=>{var n=r.getBoundingClientRect(),o=n.width,i=n.height,a="number"==typeof t.pageX?t.pageX:t.touches[0].pageX,u="number"==typeof t.pageY?t.pageY:t.touches[0].pageY,s=a-(r.getBoundingClientRect().left+window.pageXOffset),c=u-(r.getBoundingClientRect().top+window.pageYOffset);s<0?s=0:s>o&&(s=o),c<0?c=0:c>i&&(c=i);var f=s/o,l=1-c/i;return{h:e.h,s:f,v:l,a:e.a,source:"hsv"}})(t,this.props.hsl,this.container),t),t.preventDefault()},this.handleMouseDown=t=>{this.handleChange(t);const e=this.getContainerRenderWindow();e.addEventListener("mousemove",this.handleChange),e.addEventListener("mouseup",this.handleMouseUp)},this.handleMouseUp=t=>{t.preventDefault(),this.unbindEventListeners()},this.throttle=function(t,e,r){let n,o,i,a;var u=0;r||(r={});let s=function(){u=!1===r.leading?0:Date.now(),n=null,a=t.apply(o,i),n||(o=i=null)},c=function(){var e=Date.now();u||!1!==r.leading||(u=e);var c=50-(e-u);return o=this,i=arguments,c<=0||c>50?(n&&(clearTimeout(n),n=null),u=e,a=t.apply(o,i),n||(o=i=null)):n||!1===r.trailing||(n=setTimeout(s,c)),a};return c.cancel=function(){clearTimeout(n),u=0,n=o=i=null},c}((t,e,r)=>{t(e,r)})}componentWillUnmount(){this.throttle.cancel(),this.unbindEventListeners()}getContainerRenderWindow(){const{container:t}=this;let e=window;for(;!e.document.contains(t)&&e.parent!==e;)e=e.parent;return e}unbindEventListeners(){const t=this.getContainerRenderWindow();t.removeEventListener("mousemove",this.handleChange),t.removeEventListener("mouseup",this.handleMouseUp)}render(){const{color:e,white:r,black:n,pointer:o,circle:i}=this.props||{},a={position:"absolute",top:"0px",left:"0px",right:"0px",bottom:"0px"},u={color:{...a,backgroundColor:`hsl(${this.props.hsl?.h},100%, 50%)`,borderRadius:this.props.style?.borderRadius},white:{...a,borderRadius:this.props.style?.borderRadius},black:{...a,boxShadow:this.props.style?.boxShadow,borderRadius:this.props.style?.borderRadius},pointer:{...a,top:-100*this.props.hsv?.v+100+"%",left:100*this.props.hsv?.s+"%",cursor:"default"},circle:{width:"4px",height:"4px",boxShadow:"0 0 0 1.5px #fff, inset 0 0 1px 1px rgba(0,0,0,.3),\n 0 0 1px 2px rgba(0,0,0,.4)",borderRadius:"50%",cursor:"hand",transform:"translate(-2px, -2px)"}};return t.jsxRuntimeExports.jsxs("div",{style:u.color,ref:t=>this.container=t,onMouseDown:this.handleMouseDown,onTouchMove:this.handleChange,onTouchStart:this.handleChange,children:[t.jsxRuntimeExports.jsx("style",{children:"\n .saturation-white {\n background: -webkit-linear-gradient(to right, #fff, rgba(255,255,255,0));\n background: linear-gradient(to right, #fff, rgba(255,255,255,0));\n }\n .saturation-black {\n background: -webkit-linear-gradient(to top, #000, rgba(0,0,0,0));\n background: linear-gradient(to top, #000, rgba(0,0,0,0));\n }\n "}),t.jsxRuntimeExports.jsxs("div",{style:u.white,className:"saturation-white",children:[t.jsxRuntimeExports.jsx("div",{style:u.black,className:"saturation-black"}),t.jsxRuntimeExports.jsx("div",{style:u.pointer,children:this.props.pointer?t.jsxRuntimeExports.jsx(this.props.pointer,{...this.props}):t.jsxRuntimeExports.jsx("div",{style:u.circle})})]})]})}}const Wu=(t,e=null)=>{const r=t.hex?i(t.hex):i(t||"transparent"),n=r.toHsl(),o=r.toHsv(),a=r.toRgb(),u=r.toHex();return 0===n.s&&(n.h=e??0,o.h=e??0),{hsl:n,hex:"#"+u,rgb:a,hsv:o,source:t.source}},$u=t.reactExports.memo(e=>{const{selectedColor:r,onColorChange:n,renderers:o,disableAlpha:i=!1,style:a=t.Jo.EmptyCssProperties,...u}=e,s=t.Tx(),[c,f]=t.reactExports.useState(()=>Wu(r)),[l,h]=t.reactExports.useState(c.hsl.h??0),p=t.reactExports.useCallback(t=>{let e=Wu(t,l);return h(e.hsl.h??0),f(e),e},[l]),d=t.reactExports.useCallback(t=>{const e=p(t),r=`rgba(${e.rgb.r},${e.rgb.g},${e.rgb.b},${i?1:e.rgb.a})`;n?.(r)},[n,p,i]);t.reactExports.useLayoutEffect(()=>{p(r)},[r,p]);const b=t.jsxRuntimeExports.jsx("div",{style:{position:"relative",minHeight:"10px",maxHeight:"10px",width:"100%"},children:t.jsxRuntimeExports.jsx(iu,{style:{radius:"2px",shadow:"inset 0 0 0 1px rgba(0,0,0,.15), inset 0 0 4px rgba(0,0,0,.25)"},rgb:c.rgb,hsl:c.hsl,renderers:o,onChange:d})});return t.jsxRuntimeExports.jsxs("div",{style:{display:"flex",flexDirection:"column",...a},...u,children:[t.jsxRuntimeExports.jsx("div",{style:{width:"100%",flex:"1 1 100%",position:"relative",overflow:"hidden"},children:t.jsxRuntimeExports.jsx(Hu,{style:{borderRadius:"3px",boxShadow:"inset 0 0 0 1px rgba(0,0,0,.15), inset 0 0 4px rgba(0,0,0,.25)"},hsl:c.hsl,hsv:c.hsv,onChange:d})}),t.jsxRuntimeExports.jsxs("div",{style:{marginTop:"4px",display:"flex",gap:"4px"},children:[t.jsxRuntimeExports.jsxs("div",{style:{flex:"1",display:"flex",flexDirection:i?"row":"column",justifyContent:"space-between",alignItems:"center"},children:[t.jsxRuntimeExports.jsx("div",{style:{position:"relative",minHeight:"10px",maxHeight:"10px",width:"100%"},children:t.jsxRuntimeExports.jsx(hu,{style:{radius:"2px",shadow:"inset 0 0 0 1px rgba(0,0,0,.15), inset 0 0 4px rgba(0,0,0,.25)"},hsl:c.hsl,onChange:d})}),i?null:b]}),t.jsxRuntimeExports.jsxs("div",{style:{minWidth:"24px",maxWidth:"24px",minHeight:"24px",maxHeight:"24px",position:"relative",borderRadius:"1px",overflow:"hidden"},children:[t.jsxRuntimeExports.jsx(t.cO,{grey:s.palette.text.icon??s.palette.action.active}),t.jsxRuntimeExports.jsx("div",{style:{position:"absolute",height:"100%",width:"100%",background:`rgba(${c.rgb.r},${c.rgb.g},${c.rgb.b},${i?1:c.rgb.a})`,boxShadow:"inset 0 0 0 1px rgba(0,0,0,.15), inset 0 0 4px rgba(0,0,0,.25)"}})]})]}),t.jsxRuntimeExports.jsx(t.Box,{sx:{marginBottom:"4px","& label":{fontFamily:t=>`${t.typography.fontFamily} !important`,color:t=>`${t.palette.text.secondary} !important`},"& *":{fontFamily:t=>`${t.typography.fontFamily} !important`,userSelect:"none"},"& input":{paddingLeft:t=>`${t.spacing(.5)} !important`,paddingRight:t=>`${t.spacing(.5)} !important`,outline:"none",boxSizing:"border-box",width:"100% !important",textAlign:"center"}},children:t.jsxRuntimeExports.jsx(Bu,{rgb:c.rgb,hsl:c.hsl,hex:c.hex,disableAlpha:i,onChange:d})})]})});exports.CustomColorPanel=$u,exports.default=$u,exports.toState=Wu;
@@ -1,7 +0,0 @@
1
- /**
2
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.4.13
3
- *
4
- * (C) 2025-present SheetXL Inc. & Michael T. Ford
5
- * License: The license can be found at https://www.sheetxl.com/license.
6
- */
7
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./B9jxuOg1CXcmbi9J.cjs");var t,i={exports:{}},r=(t||(t=1,i.exports=function e(){var t,i="undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==i?i:{},r=!i.document&&!!i.postMessage,n=i.IS_PAPA_WORKER||!1,s={},a=0,o={};function h(e){this._handle=null,this._finished=!1,this._completed=!1,this._halted=!1,this._input=null,this._baseIndex=0,this._partialLine="",this._rowCount=0,this._start=0,this._nextChunk=null,this.isFirstChunk=!0,this._completeResults={data:[],errors:[],meta:{}},function(e){var t=k(e);t.chunkSize=parseInt(t.chunkSize),e.step||e.chunk||(t.chunkSize=null),this._handle=new c(t),(this._handle.streamer=this)._config=t}.call(this,e),this.parseChunk=function(e,t){var r=parseInt(this._config.skipFirstNLines)||0;if(this.isFirstChunk&&0<r){let t=this._config.newline;t||(s=this._config.quoteChar||'"',t=this._handle.guessLineEndings(e,s)),e=[...e.split(t).slice(r)].join(t)}this.isFirstChunk&&v(this._config.beforeFirstChunk)&&void 0!==(s=this._config.beforeFirstChunk(e))&&(e=s),this.isFirstChunk=!1,this._halted=!1,r=this._partialLine+e;var s=(this._partialLine="",this._handle.parse(r,this._baseIndex,!this._finished));if(!this._handle.paused()&&!this._handle.aborted()){if(e=s.meta.cursor,this._finished||(this._partialLine=r.substring(e-this._baseIndex),this._baseIndex=e),s&&s.data&&(this._rowCount+=s.data.length),r=this._finished||this._config.preview&&this._rowCount>=this._config.preview,n)i.postMessage({results:s,workerId:o.WORKER_ID,finished:r});else if(v(this._config.chunk)&&!t){if(this._config.chunk(s,this._handle),this._handle.paused()||this._handle.aborted())return void(this._halted=!0);this._completeResults=s=void 0}return this._config.step||this._config.chunk||(this._completeResults.data=this._completeResults.data.concat(s.data),this._completeResults.errors=this._completeResults.errors.concat(s.errors),this._completeResults.meta=s.meta),this._completed||!r||!v(this._config.complete)||s&&s.meta.aborted||(this._config.complete(this._completeResults,this._input),this._completed=!0),r||s&&s.meta.paused||this._nextChunk(),s}this._halted=!0},this._sendError=function(e){v(this._config.error)?this._config.error(e):n&&this._config.error&&i.postMessage({workerId:o.WORKER_ID,error:e,finished:!1})}}function u(e){var t;(e=e||{}).chunkSize||(e.chunkSize=o.RemoteChunkSize),h.call(this,e),this._nextChunk=r?function(){this._readChunk(),this._chunkLoaded()}:function(){this._readChunk()},this.stream=function(e){this._input=e,this._nextChunk()},this._readChunk=function(){if(this._finished)this._chunkLoaded();else{if(t=new XMLHttpRequest,this._config.withCredentials&&(t.withCredentials=this._config.withCredentials),r||(t.onload=b(this._chunkLoaded,this),t.onerror=b(this._chunkError,this)),t.open(this._config.downloadRequestBody?"POST":"GET",this._input,!r),this._config.downloadRequestHeaders){var e,i=this._config.downloadRequestHeaders;for(e in i)t.setRequestHeader(e,i[e])}var n;this._config.chunkSize&&(n=this._start+this._config.chunkSize-1,t.setRequestHeader("Range","bytes="+this._start+"-"+n));try{t.send(this._config.downloadRequestBody)}catch(e){this._chunkError(e.message)}r&&0===t.status&&this._chunkError()}},this._chunkLoaded=function(){4===t.readyState&&(t.status<200||400<=t.status?this._chunkError():(this._start+=this._config.chunkSize||t.responseText.length,this._finished=!this._config.chunkSize||this._start>=(e=>null!==(e=e.getResponseHeader("Content-Range"))?parseInt(e.substring(e.lastIndexOf("/")+1)):-1)(t),this.parseChunk(t.responseText)))},this._chunkError=function(e){e=t.statusText||e,this._sendError(new Error(e))}}function d(e){(e=e||{}).chunkSize||(e.chunkSize=o.LocalChunkSize),h.call(this,e);var t,i,r="undefined"!=typeof FileReader;this.stream=function(e){this._input=e,i=e.slice||e.webkitSlice||e.mozSlice,r?((t=new FileReader).onload=b(this._chunkLoaded,this),t.onerror=b(this._chunkError,this)):t=new FileReaderSync,this._nextChunk()},this._nextChunk=function(){this._finished||this._config.preview&&!(this._rowCount<this._config.preview)||this._readChunk()},this._readChunk=function(){var e=this._input,n=(this._config.chunkSize&&(n=Math.min(this._start+this._config.chunkSize,this._input.size),e=i.call(e,this._start,n)),t.readAsText(e,this._config.encoding));r||this._chunkLoaded({target:{result:n}})},this._chunkLoaded=function(e){this._start+=this._config.chunkSize,this._finished=!this._config.chunkSize||this._start>=this._input.size,this.parseChunk(e.target.result)},this._chunkError=function(){this._sendError(t.error)}}function f(e){var t;h.call(this,e=e||{}),this.stream=function(e){return t=e,this._nextChunk()},this._nextChunk=function(){var e,i;if(!this._finished)return e=this._config.chunkSize,t=e?(i=t.substring(0,e),t.substring(e)):(i=t,""),this._finished=!t,this.parseChunk(i)}}function l(e){h.call(this,e=e||{});var t=[],i=!0,r=!1;this.pause=function(){h.prototype.pause.apply(this,arguments),this._input.pause()},this.resume=function(){h.prototype.resume.apply(this,arguments),this._input.resume()},this.stream=function(e){this._input=e,this._input.on("data",this._streamData),this._input.on("end",this._streamEnd),this._input.on("error",this._streamError)},this._checkIsFinished=function(){r&&1===t.length&&(this._finished=!0)},this._nextChunk=function(){this._checkIsFinished(),t.length?this.parseChunk(t.shift()):i=!0},this._streamData=b(function(e){try{t.push("string"==typeof e?e:e.toString(this._config.encoding)),i&&(i=!1,this._checkIsFinished(),this.parseChunk(t.shift()))}catch(e){this._streamError(e)}},this),this._streamError=b(function(e){this._streamCleanUp(),this._sendError(e)},this),this._streamEnd=b(function(){this._streamCleanUp(),r=!0,this._streamData("")},this),this._streamCleanUp=b(function(){this._input.removeListener("data",this._streamData),this._input.removeListener("end",this._streamEnd),this._input.removeListener("error",this._streamError)},this)}function c(e){var t,i,r,n,s=Math.pow(2,53),a=-s,h=/^\s*-?(\d+\.?|\.\d+|\d+\.\d+)([eE][-+]?\d+)?\s*$/,u=/^((\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z)))$/,d=this,f=0,l=0,c=!1,_=!1,m=[],y={data:[],errors:[],meta:{}};function b(t){return"greedy"===e.skipEmptyLines?""===t.join("").trim():1===t.length&&0===t[0].length}function w(){if(y&&r&&(R("Delimiter","UndetectableDelimiter","Unable to auto-detect delimiting character; defaulted to '"+o.DefaultDelimiter+"'"),r=!1),e.skipEmptyLines&&(y.data=y.data.filter(function(e){return!b(e)})),E()){if(y)if(Array.isArray(y.data[0])){for(var t=0;E()&&t<y.data.length;t++)y.data[t].forEach(d);y.data.splice(0,1)}else y.data.forEach(d);function d(t,i){v(e.transformHeader)&&(t=e.transformHeader(t,i)),m.push(t)}}function i(t,i){for(var r=e.header?{}:[],n=0;n<t.length;n++){var o=n,d=t[n];d=((t,i)=>(t=>(e.dynamicTypingFunction&&void 0===e.dynamicTyping[t]&&(e.dynamicTyping[t]=e.dynamicTypingFunction(t)),!0===(e.dynamicTyping[t]||e.dynamicTyping)))(t)?"true"===i||"TRUE"===i||"false"!==i&&"FALSE"!==i&&((e=>{if(h.test(e)&&(e=parseFloat(e),a<e&&e<s))return 1})(i)?parseFloat(i):u.test(i)?new Date(i):""===i?null:i):i)(o=e.header?n>=m.length?"__parsed_extra":m[n]:o,d=e.transform?e.transform(d,o):d),"__parsed_extra"===o?(r[o]=r[o]||[],r[o].push(d)):r[o]=d}return e.header&&(n>m.length?R("FieldMismatch","TooManyFields","Too many fields: expected "+m.length+" fields but parsed "+n,l+i):n<m.length&&R("FieldMismatch","TooFewFields","Too few fields: expected "+m.length+" fields but parsed "+n,l+i)),r}var n;y&&(e.header||e.dynamicTyping||e.transform)&&(n=1,!y.data.length||Array.isArray(y.data[0])?(y.data=y.data.map(i),n=y.data.length):y.data=i(y.data,0),e.header&&y.meta&&(y.meta.fields=m),l+=n)}function E(){return e.header&&0===m.length}function R(e,t,i,r){e={type:e,code:t,message:i},void 0!==r&&(e.row=r),y.errors.push(e)}v(e.step)&&(n=e.step,e.step=function(t){y=t,E()?w():(w(),0!==y.data.length&&(f+=t.data.length,e.preview&&f>e.preview?i.abort():(y.data=y.data[0],n(y,d))))}),this.parse=function(n,s,a){var h=e.quoteChar||'"';return e.newline||(e.newline=this.guessLineEndings(n,h)),r=!1,e.delimiter?v(e.delimiter)&&(e.delimiter=e.delimiter(n),y.meta.delimiter=e.delimiter):((h=((t,i,r,n,s)=>{var a,h,u,d;s=s||[",","\t","|",";",o.RECORD_SEP,o.UNIT_SEP];for(var f=0;f<s.length;f++){for(var l,c=s[f],p=0,_=0,m=0,y=(u=void 0,new g({comments:n,delimiter:c,newline:i,preview:10}).parse(t)),k=0;k<y.data.length;k++)r&&b(y.data[k])?m++:(_+=l=y.data[k].length,void 0===u?u=l:0<l&&(p+=Math.abs(l-u),u=l));0<y.data.length&&(_/=y.data.length-m),(void 0===h||p<=h)&&(void 0===d||d<_)&&1.99<_&&(h=p,a=c,d=_)}return{successful:!!(e.delimiter=a),bestDelimiter:a}})(n,e.newline,e.skipEmptyLines,e.comments,e.delimitersToGuess)).successful?e.delimiter=h.bestDelimiter:(r=!0,e.delimiter=o.DefaultDelimiter),y.meta.delimiter=e.delimiter),h=k(e),e.preview&&e.header&&h.preview++,t=n,i=new g(h),y=i.parse(t,s,a),w(),c?{meta:{paused:!0}}:y||{meta:{paused:!1}}},this.paused=function(){return c},this.pause=function(){c=!0,i.abort(),t=v(e.chunk)?"":t.substring(i.getCharIndex())},this.resume=function(){d.streamer._halted?(c=!1,d.streamer.parseChunk(t,!0)):setTimeout(d.resume,3)},this.aborted=function(){return _},this.abort=function(){_=!0,i.abort(),y.meta.aborted=!0,v(e.complete)&&e.complete(y),t=""},this.guessLineEndings=function(e,t){e=e.substring(0,1048576),t=new RegExp(p(t)+"([^]*?)"+p(t),"gm");var i=(e=e.replace(t,"")).split("\r");if(e=1<(t=e.split("\n")).length&&t[0].length<i[0].length,1===i.length||e)return"\n";for(var r=0,n=0;n<i.length;n++)"\n"===i[n][0]&&r++;return r>=i.length/2?"\r\n":"\r"}}function p(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function g(e){var t=(e=e||{}).delimiter,i=e.newline,r=e.comments,n=e.step,s=e.preview,a=e.fastMode,h=null,u=!1,d=null==e.quoteChar?'"':e.quoteChar,f=d;if(void 0!==e.escapeChar&&(f=e.escapeChar),("string"!=typeof t||-1<o.BAD_DELIMITERS.indexOf(t))&&(t=","),r===t)throw new Error("Comment character same as delimiter");!0===r?r="#":("string"!=typeof r||-1<o.BAD_DELIMITERS.indexOf(r))&&(r=!1),"\n"!==i&&"\r"!==i&&"\r\n"!==i&&(i="\n");var l=0,c=!1;this.parse=function(o,g,_){if("string"!=typeof o)throw new Error("Input must be a string");var m=o.length,y=t.length,k=i.length,b=r.length,w=v(n),E=[],R=[],C=[],S=l=0;if(!o)return P();if(a||!1!==a&&-1===o.indexOf(d)){for(var O=o.split(i),x=0;x<O.length;x++){if(C=O[x],l+=C.length,x!==O.length-1)l+=i.length;else if(_)return P();if(!r||C.substring(0,b)!==r){if(w){if(E=[],F(C.split(t)),U(),c)return P()}else F(C.split(t));if(s&&s<=x)return E=E.slice(0,s),P(!0)}}return P()}for(var A=o.indexOf(t,l),I=o.indexOf(i,l),T=new RegExp(p(f)+p(d),"g"),D=o.indexOf(d,l);;)if(o[l]===d)for(D=l,l++;;){if(-1===(D=o.indexOf(d,D+1)))return _||R.push({type:"Quotes",code:"MissingQuotes",message:"Quoted field unterminated",row:E.length,index:l}),M();if(D===m-1)return M(o.substring(l,D).replace(T,d));if(d===f&&o[D+1]===f)D++;else if(d===f||0===D||o[D-1]!==f){-1!==A&&A<D+1&&(A=o.indexOf(t,D+1));var L=j(-1===(I=-1!==I&&I<D+1?o.indexOf(i,D+1):I)?A:Math.min(A,I));if(o.substr(D+1+L,y)===t){C.push(o.substring(l,D).replace(T,d)),o[l=D+1+L+y]!==d&&(D=o.indexOf(d,l)),A=o.indexOf(t,l),I=o.indexOf(i,l);break}if(L=j(I),o.substring(D+1+L,D+1+L+k)===i){if(C.push(o.substring(l,D).replace(T,d)),z(D+1+L+k),A=o.indexOf(t,l),D=o.indexOf(d,l),w&&(U(),c))return P();if(s&&E.length>=s)return P(!0);break}R.push({type:"Quotes",code:"InvalidQuotes",message:"Trailing quote on quoted field is malformed",row:E.length,index:l}),D++}}else if(r&&0===C.length&&o.substring(l,l+b)===r){if(-1===I)return P();l=I+k,I=o.indexOf(i,l),A=o.indexOf(t,l)}else if(-1!==A&&(A<I||-1===I))C.push(o.substring(l,A)),l=A+y,A=o.indexOf(t,l);else{if(-1===I)break;if(C.push(o.substring(l,I)),z(I+k),w&&(U(),c))return P();if(s&&E.length>=s)return P(!0)}return M();function F(e){E.push(e),S=l}function j(e){return-1!==e&&(e=o.substring(D+1,e))&&""===e.trim()?e.length:0}function M(e){return _||(void 0===e&&(e=o.substring(l)),C.push(e),l=m,F(C),w&&U()),P()}function z(e){l=e,F(C),C=[],I=o.indexOf(i,l)}function P(r){if(e.header&&!g&&E.length&&!u){var n=E[0],s=Object.create(null),a=new Set(n);let t=!1;for(let i=0;i<n.length;i++){let r=n[i];if(s[r=v(e.transformHeader)?e.transformHeader(r,i):r]){let e,o=s[r];for(;e=r+"_"+o,o++,a.has(e););a.add(e),n[i]=e,s[r]++,t=!0,(h=null===h?{}:h)[e]=r}else s[r]=1,n[i]=r;a.add(r)}t&&console.warn("Duplicate headers found and renamed."),u=!0}return{data:E,errors:R,meta:{delimiter:t,linebreak:i,aborted:c,truncated:!!r,cursor:S+(g||0),renamedHeaders:h}}}function U(){n(P()),E=[],R=[]}},this.abort=function(){c=!0},this.getCharIndex=function(){return l}}function _(e){var t=e.data,i=s[t.workerId],r=!1;if(t.error)i.userError(t.error,t.file);else if(t.results&&t.results.data){var n={abort:function(){r=!0,m(t.workerId,{data:[],errors:[],meta:{aborted:!0}})},pause:y,resume:y};if(v(i.userStep)){for(var a=0;a<t.results.data.length&&(i.userStep({data:t.results.data[a],errors:t.results.errors,meta:t.results.meta},n),!r);a++);delete t.results}else v(i.userChunk)&&(i.userChunk(t.results,n,t.file),delete t.results)}t.finished&&!r&&m(t.workerId,t.results)}function m(e,t){var i=s[e];v(i.userComplete)&&i.userComplete(t),i.terminate(),delete s[e]}function y(){throw new Error("Not implemented.")}function k(e){if("object"!=typeof e||null===e)return e;var t,i=Array.isArray(e)?[]:{};for(t in e)i[t]=k(e[t]);return i}function b(e,t){return function(){e.apply(t,arguments)}}function v(e){return"function"==typeof e}return o.parse=function(t,r){var n=(r=r||{}).dynamicTyping||!1;if(v(n)&&(r.dynamicTypingFunction=n,n={}),r.dynamicTyping=n,r.transform=!!v(r.transform)&&r.transform,!r.worker||!o.WORKERS_SUPPORTED)return n=null,o.NODE_STREAM_INPUT,"string"==typeof t?(t=(e=>65279!==e.charCodeAt(0)?e:e.slice(1))(t),n=new(r.download?u:f)(r)):!0===t.readable&&v(t.read)&&v(t.on)?n=new l(r):(i.File&&t instanceof File||t instanceof Object)&&(n=new d(r)),n.stream(t);(n=(()=>{var t;return!!o.WORKERS_SUPPORTED&&(t=(()=>{var t=i.URL||i.webkitURL||null,r=e.toString();return o.BLOB_URL||(o.BLOB_URL=t.createObjectURL(new Blob(["var global = (function() { if (typeof self !== 'undefined') { return self; } if (typeof window !== 'undefined') { return window; } if (typeof global !== 'undefined') { return global; } return {}; })(); global.IS_PAPA_WORKER=true; ","(",r,")();"],{type:"text/javascript"})))})(),(t=new i.Worker(t)).onmessage=_,t.id=a++,s[t.id]=t)})()).userStep=r.step,n.userChunk=r.chunk,n.userComplete=r.complete,n.userError=r.error,r.step=v(r.step),r.chunk=v(r.chunk),r.complete=v(r.complete),r.error=v(r.error),delete r.worker,n.postMessage({input:t,config:r,workerId:n.id})},o.unparse=function(e,t){var i=!1,r=!0,n=",",s="\r\n",a='"',h=a+a,u=!1,d=null,f=!1,l=((()=>{if("object"==typeof t){if("string"!=typeof t.delimiter||o.BAD_DELIMITERS.filter(function(e){return-1!==t.delimiter.indexOf(e)}).length||(n=t.delimiter),"boolean"!=typeof t.quotes&&"function"!=typeof t.quotes&&!Array.isArray(t.quotes)||(i=t.quotes),"boolean"!=typeof t.skipEmptyLines&&"string"!=typeof t.skipEmptyLines||(u=t.skipEmptyLines),"string"==typeof t.newline&&(s=t.newline),"string"==typeof t.quoteChar&&(a=t.quoteChar),"boolean"==typeof t.header&&(r=t.header),Array.isArray(t.columns)){if(0===t.columns.length)throw new Error("Option columns is empty");d=t.columns}void 0!==t.escapeChar&&(h=t.escapeChar+a),t.escapeFormulae instanceof RegExp?f=t.escapeFormulae:"boolean"==typeof t.escapeFormulae&&t.escapeFormulae&&(f=/^[=+\-@\t\r].*$/)}})(),new RegExp(p(a),"g"));if("string"==typeof e&&(e=JSON.parse(e)),Array.isArray(e)){if(!e.length||Array.isArray(e[0]))return c(null,e,u);if("object"==typeof e[0])return c(d||Object.keys(e[0]),e,u)}else if("object"==typeof e)return"string"==typeof e.data&&(e.data=JSON.parse(e.data)),Array.isArray(e.data)&&(e.fields||(e.fields=e.meta&&e.meta.fields||d),e.fields||(e.fields=Array.isArray(e.data[0])?e.fields:"object"==typeof e.data[0]?Object.keys(e.data[0]):[]),Array.isArray(e.data[0])||"object"==typeof e.data[0]||(e.data=[e.data])),c(e.fields||[],e.data||[],u);throw new Error("Unable to serialize unrecognized input");function c(e,t,i){var a="",o=("string"==typeof e&&(e=JSON.parse(e)),"string"==typeof t&&(t=JSON.parse(t)),Array.isArray(e)&&0<e.length),h=!Array.isArray(t[0]);if(o&&r){for(var u=0;u<e.length;u++)0<u&&(a+=n),a+=g(e[u],u);0<t.length&&(a+=s)}for(var d=0;d<t.length;d++){var f=(o?e:t[d]).length,l=!1,c=o?0===Object.keys(t[d]).length:0===t[d].length;if(i&&!o&&(l="greedy"===i?""===t[d].join("").trim():1===t[d].length&&0===t[d][0].length),"greedy"===i&&o){for(var p=[],_=0;_<f;_++){var m=h?e[_]:_;p.push(t[d][m])}l=""===p.join("").trim()}if(!l){for(var y=0;y<f;y++){0<y&&!c&&(a+=n);var k=o&&h?e[y]:y;a+=g(t[d][k],y)}d<t.length-1&&(!i||0<f&&!c)&&(a+=s)}}return a}function g(e,t){var r,s;return null==e?"":e.constructor===Date?JSON.stringify(e).slice(1,25):(s=!1,f&&"string"==typeof e&&f.test(e)&&(e="'"+e,s=!0),r=e.toString().replace(l,h),(s=s||!0===i||"function"==typeof i&&i(e,t)||Array.isArray(i)&&i[t]||((e,t)=>{for(var i=0;i<t.length;i++)if(-1<e.indexOf(t[i]))return!0;return!1})(r,o.BAD_DELIMITERS)||-1<r.indexOf(n)||" "===r.charAt(0)||" "===r.charAt(r.length-1))?a+r+a:r)}},o.RECORD_SEP=String.fromCharCode(30),o.UNIT_SEP=String.fromCharCode(31),o.BYTE_ORDER_MARK="\ufeff",o.BAD_DELIMITERS=["\r","\n",'"',o.BYTE_ORDER_MARK],o.WORKERS_SUPPORTED=!r&&!!i.Worker,o.NODE_STREAM_INPUT=1,o.LocalChunkSize=10485760,o.RemoteChunkSize=5242880,o.DefaultDelimiter=",",o.Parser=g,o.ParserHandle=c,o.NetworkStreamer=u,o.FileStreamer=d,o.StringStreamer=f,o.ReadableStreamStreamer=l,i.jQuery&&((t=i.jQuery).fn.parse=function(e){var r=e.config||{},n=[];return this.each(function(e){if("INPUT"!==t(this).prop("tagName").toUpperCase()||"file"!==t(this).attr("type").toLowerCase()||!i.FileReader||!this.files||0===this.files.length)return!0;for(var s=0;s<this.files.length;s++)n.push({file:this.files[s],inputElem:this,instanceConfig:t.extend({},r)})}),s(),this;function s(){if(0===n.length)v(e.complete)&&e.complete();else{var i,r,s,h=n[0];if(v(e.before)){var u=e.before(h.file,h.inputElem);if("object"==typeof u){if("abort"===u.action)return i=h.file,r=h.inputElem,s=u.reason,void(v(e.error)&&e.error({name:"AbortError"},i,r,s));if("skip"===u.action)return void a();"object"==typeof u.config&&(h.instanceConfig=t.extend(h.instanceConfig,u.config))}else if("skip"===u)return void a()}var d=h.instanceConfig.complete;h.instanceConfig.complete=function(e){v(d)&&d(e,h.file,h.inputElem),a()},o.parse(h.file,h.instanceConfig)}}function a(){n.splice(0,1),s()}}),n&&(i.onmessage=function(e){e=e.data,void 0===o.WORKER_ID&&e&&(o.WORKER_ID=e.workerId),"string"==typeof e.input?i.postMessage({workerId:o.WORKER_ID,results:o.parse(e.input,e.config),finished:!0}):(i.File&&e.input instanceof File||e.input instanceof Object)&&(e=o.parse(e.input,e.config))&&i.postMessage({workerId:o.WORKER_ID,results:e,finished:!0})}),(u.prototype=Object.create(h.prototype)).constructor=u,(d.prototype=Object.create(h.prototype)).constructor=d,(f.prototype=Object.create(f.prototype)).constructor=f,(l.prototype=Object.create(h.prototype)).constructor=l,o}()),i.exports);const n=function(e,t){for(var i=0;i<t.length;i++){const r=t[i];if("string"!=typeof r&&!Array.isArray(r))for(const t in r)if("default"!==t&&!(t in e)){const i=Object.getOwnPropertyDescriptor(r,t);i&&Object.defineProperty(e,t,i.get?i:{enumerable:!0,get:()=>r[t]})}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}({__proto__:null,default:e.Fi(r)},[r]);exports.p=n;
@@ -1,7 +0,0 @@
1
- /**
2
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.4.13
3
- *
4
- * (C) 2025-present SheetXL Inc. & Michael T. Ford
5
- * License: The license can be found at https://www.sheetxl.com/license.
6
- */
7
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./B9jxuOg1CXcmbi9J.cjs"),e=["Ok","Cancel"],o=t.reactExports.memo(o=>{const{initialHyperlink:n=null,initialDisplay:a=null,onUpdateHyperlink:s,context:r,onOption:l,onValidateOption:i,onDone:p,options:c=e,defaultOption:u=c?.[0],cancelOption:x="Cancel",sx:d,...g}=o,m=t.reactExports.useMemo(()=>null!==(n??r?.()?.getHyperlink()),[]),h=t.reactExports.useMemo(()=>{let t=null,e=null;n&&("string"==typeof n?e=n:t=n);const o=t??r?.()?.getHyperlink();return{address:e??o?.getAddress()??"",textToDisplay:o?.getDisplayText()??""}},[n,r]),[f,y]=t.reactExports.useState(h.address),[E,T]=t.reactExports.useState(()=>{const t=r?.().toTextUnformatted()??a;return t===h.address?"":t}),[k,j]=t.reactExports.useState(!1),C=t.reactExports.useCallback(t=>{T(t.target.value)},[]),b=t.reactExports.useCallback(async(t,e)=>null,[]),F=t.go(async t=>{const e=""===f?null:{address:f};t!==x&&s?.(e,E),l?.(t,t===x,t===u),p?.()},[f,E,s,p,l,u,x]),O=t.go(t=>{y(t.target.value),b(t.target.value,null)},[i]),P=t.go(async t=>{let e=await Promise.resolve(i?.(t));try{!1!==e&&(e=await b(f,t))}catch(t){}return e??!0},[i]);return t.jsxRuntimeExports.jsx(t.sb,{title:(m?"Edit":"Insert")+" Link",options:c,onDone:p,onOption:t=>F(t),onValidateOption:P,defaultOption:u,cancelOption:x,autoFocusSel:".autoFocus",sx:{width:"480px",...d},...g,children:t.jsxRuntimeExports.jsxs(t.Box,{sx:{paddingTop:t=>t.spacing(1),paddingBottom:t=>t.spacing(0),rowGap:t=>t.spacing(1),display:"flex",flexDirection:"column"},children:[t.jsxRuntimeExports.jsx(t.FormControl,{sx:{paddingTop:t=>t.spacing(1.5),minWidth:135,width:"100%"},size:"small",children:t.jsxRuntimeExports.jsx(t.TextField,{label:"Address",placeholder:"Enter a url or cell reference.",onFocus:t=>{k||t.target?.select(),j(!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(${t.alpha("#fff",t.hx(5))}, ${t.alpha("#fff",t.hx(5))})`}}},value:f,onChange:O,onContextMenu:t=>{t.stopPropagation()}})}),t.jsxRuntimeExports.jsx(t.FormControl,{sx:{paddingTop:t=>t.spacing(1.5),minWidth:135,width:"100%"},size:"small",children:t.jsxRuntimeExports.jsx(t.TextField,{label:"Display Text",placeholder:f?.startsWith("#")?f.substring(1):f,onFocus:()=>{j(!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(${t.alpha("#fff",t.hx(5))}, ${t.alpha("#fff",t.hx(5))})`}}},value:E,onChange:C,onContextMenu:t=>{t.stopPropagation()}})})]})})});exports.HyperlinkDialog=o,exports.default=o;
@@ -1,7 +0,0 @@
1
- /**
2
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.4.13
3
- *
4
- * (C) 2025-present SheetXL Inc. & Michael T. Ford
5
- * License: The license can be found at https://www.sheetxl.com/license.
6
- */
7
- "use strict";function t(t){return Array.isArray?Array.isArray(t):"[object Array]"===c(t)}function e(t){return"string"==typeof t}function n(t){return"number"==typeof t}function s(t){return!0===t||!1===t||function(t){return i(t)&&null!==t}(t)&&"[object Boolean]"==c(t)}function i(t){return"object"==typeof t}function r(t){return null!=t}function u(t){return!t.trim().length}function c(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":Object.prototype.toString.call(t)}Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=Object.prototype.hasOwnProperty;class h{constructor(t){this._keys=[],this._keyMap={};let e=0;t.forEach(t=>{let n=a(t);this._keys.push(n),this._keyMap[n.id]=n,e+=n.weight}),this._keys.forEach(t=>{t.weight/=e})}get(t){return this._keyMap[t]}keys(){return this._keys}toJSON(){return JSON.stringify(this._keys)}}function a(n){let s=null,i=null,r=null,u=1,c=null;if(e(n)||t(n))r=n,s=l(n),i=d(n);else{if(!o.call(n,"name"))throw new Error("Missing name property in key");const t=n.name;if(r=t,o.call(n,"weight")&&(u=n.weight,u<=0))throw new Error((t=>`Property 'weight' in key '${t}' must be a positive integer`)(t));s=l(t),i=d(t),c=n.getFn}return{path:s,id:i,weight:u,src:r,getFn:c}}function l(e){return t(e)?e:e.split(".")}function d(e){return t(e)?e.join("."):e}var g={isCaseSensitive:!1,ignoreDiacritics:!1,includeScore:!1,keys:[],shouldSort:!0,sortFn:(t,e)=>t.score===e.score?t.idx<e.idx?-1:1:t.score<e.score?-1:1,includeMatches:!1,findAllMatches:!1,minMatchCharLength:1,location:0,threshold:.6,distance:100,useExtendedSearch:!1,getFn:function(i,u){let c=[],o=!1;const h=(i,u,a)=>{if(r(i))if(u[a]){const l=i[u[a]];if(!r(l))return;if(a===u.length-1&&(e(l)||n(l)||s(l)))c.push(function(t){return null==t?"":function(t){if("string"==typeof t)return t;let e=t+"";return"0"==e&&1/t==-1/0?"-0":e}(t)}(l));else if(t(l)){o=!0;for(let t=0,e=l.length;t<e;t+=1)h(l[t],u,a+1)}else u.length&&h(l,u,a+1)}else c.push(i)};return h(i,e(u)?u.split("."):u,0),o?c:c[0]},ignoreLocation:!1,ignoreFieldNorm:!1,fieldNormWeight:1};const f=/[^ ]+/g;class A{constructor({getFn:t=g.getFn,fieldNormWeight:e=g.fieldNormWeight}={}){this.norm=function(t=1,e=3){const n=new Map,s=Math.pow(10,e);return{get(e){const i=e.match(f).length;if(n.has(i))return n.get(i);const r=1/Math.pow(i,.5*t),u=parseFloat(Math.round(r*s)/s);return n.set(i,u),u},clear(){n.clear()}}}(e,3),this.getFn=t,this.isCreated=!1,this.setIndexRecords()}setSources(t=[]){this.docs=t}setIndexRecords(t=[]){this.records=t}setKeys(t=[]){this.keys=t,this._keysMap={},t.forEach((t,e)=>{this._keysMap[t.id]=e})}create(){!this.isCreated&&this.docs.length&&(this.isCreated=!0,e(this.docs[0])?this.docs.forEach((t,e)=>{this._addString(t,e)}):this.docs.forEach((t,e)=>{this._addObject(t,e)}),this.norm.clear())}add(t){const n=this.size();e(t)?this._addString(t,n):this._addObject(t,n)}removeAt(t){this.records.splice(t,1);for(let e=t,n=this.size();e<n;e+=1)this.records[e].i-=1}getValueForItemAtKeyId(t,e){return t[this._keysMap[e]]}size(){return this.records.length}_addString(t,e){if(!r(t)||u(t))return;let n={v:t,i:e,n:this.norm.get(t)};this.records.push(n)}_addObject(n,s){let i={i:s,$:{}};this.keys.forEach((s,c)=>{let o=s.getFn?s.getFn(n):this.getFn(n,s.path);if(r(o))if(t(o)){let n=[];const s=[{nestedArrIndex:-1,value:o}];for(;s.length;){const{nestedArrIndex:i,value:c}=s.pop();if(r(c))if(e(c)&&!u(c)){let t={v:c,i:i,n:this.norm.get(c)};n.push(t)}else t(c)&&c.forEach((t,e)=>{s.push({nestedArrIndex:e,value:t})})}i.$[c]=n}else if(e(o)&&!u(o)){let t={v:o,n:this.norm.get(o)};i.$[c]=t}}),this.records.push(i)}toJSON(){return{keys:this.keys,records:this.records}}}function p(t,e,{getFn:n=g.getFn,fieldNormWeight:s=g.fieldNormWeight}={}){const i=new A({getFn:n,fieldNormWeight:s});return i.setKeys(t.map(a)),i.setSources(e),i.create(),i}function C(t,{errors:e=0,currentLocation:n=0,expectedLocation:s=0,distance:i=g.distance,ignoreLocation:r=g.ignoreLocation}={}){const u=e/t.length;if(r)return u;const c=Math.abs(s-n);return i?u+c/i:c?1:u}const m=32;function M(t,e,n,{location:s=g.location,distance:i=g.distance,threshold:r=g.threshold,findAllMatches:u=g.findAllMatches,minMatchCharLength:c=g.minMatchCharLength,includeMatches:o=g.includeMatches,ignoreLocation:h=g.ignoreLocation}={}){if(e.length>m)throw new Error("Pattern length exceeds max of 32.");const a=e.length,l=t.length,d=Math.max(0,Math.min(s,l));let f=r,A=d;const p=c>1||o,M=p?Array(l):[];let F;for(;(F=t.indexOf(e,A))>-1;){let t=C(e,{currentLocation:F,expectedLocation:d,distance:i,ignoreLocation:h});if(f=Math.min(t,f),A=F+a,p){let t=0;for(;t<a;)M[F+t]=1,t+=1}}A=-1;let E=[],y=1,D=a+l;const x=1<<a-1;for(let s=0;s<a;s+=1){let r=0,c=D;for(;r<c;)C(e,{errors:s,currentLocation:d+c,expectedLocation:d,distance:i,ignoreLocation:h})<=f?r=c:D=c,c=Math.floor((D-r)/2+r);D=c;let o=Math.max(1,d-c+1),g=u?l:Math.min(d+c,l)+a,m=Array(g+2);m[g+1]=(1<<s)-1;for(let r=g;r>=o;r-=1){let u=r-1,c=n[t.charAt(u)];if(p&&(M[u]=+!!c),m[r]=(m[r+1]<<1|1)&c,s&&(m[r]|=(E[r+1]|E[r])<<1|1|E[r+1]),m[r]&x&&(y=C(e,{errors:s,currentLocation:u,expectedLocation:d,distance:i,ignoreLocation:h}),y<=f)){if(f=y,A=u,A<=d)break;o=Math.max(1,2*d-A)}}if(C(e,{errors:s+1,currentLocation:d,expectedLocation:d,distance:i,ignoreLocation:h})>f)break;E=m}const B={isMatch:A>=0,score:Math.max(.001,y)};if(p){const t=function(t=[],e=g.minMatchCharLength){let n=[],s=-1,i=-1,r=0;for(let u=t.length;r<u;r+=1){let u=t[r];u&&-1===s?s=r:u||-1===s||(i=r-1,i-s+1>=e&&n.push([s,i]),s=-1)}return t[r-1]&&r-s>=e&&n.push([s,r-1]),n}(M,c);t.length?o&&(B.indices=t):B.isMatch=!1}return B}function F(t){let e={};for(let n=0,s=t.length;n<s;n+=1){const i=t.charAt(n);e[i]=(e[i]||0)|1<<s-n-1}return e}const E=String.prototype.normalize?t=>t.normalize("NFD").replace(/[\u0300-\u036F\u0483-\u0489\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u065F\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u0711\u0730-\u074A\u07A6-\u07B0\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u08D3-\u08E1\u08E3-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u09FE\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A70\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0AFA-\u0AFF\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B62\u0B63\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0C00-\u0C04\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0D00-\u0D03\u0D3B\u0D3C\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D82\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0EB1\u0EB4-\u0EB9\u0EBB\u0EBC\u0EC8-\u0ECD\u0F18\u0F19\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F\u109A-\u109D\u135D-\u135F\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u180B-\u180D\u1885\u1886\u18A9\u1920-\u192B\u1930-\u193B\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F\u1AB0-\u1ABE\u1B00-\u1B04\u1B34-\u1B44\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BE6-\u1BF3\u1C24-\u1C37\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF2-\u1CF4\u1CF7-\u1CF9\u1DC0-\u1DF9\u1DFB-\u1DFF\u20D0-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\uA66F-\uA672\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA880\uA881\uA8B4-\uA8C5\uA8E0-\uA8F1\uA8FF\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9E5\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F]/g,""):t=>t;class y{constructor(t,{location:e=g.location,threshold:n=g.threshold,distance:s=g.distance,includeMatches:i=g.includeMatches,findAllMatches:r=g.findAllMatches,minMatchCharLength:u=g.minMatchCharLength,isCaseSensitive:c=g.isCaseSensitive,ignoreDiacritics:o=g.ignoreDiacritics,ignoreLocation:h=g.ignoreLocation}={}){if(this.options={location:e,threshold:n,distance:s,includeMatches:i,findAllMatches:r,minMatchCharLength:u,isCaseSensitive:c,ignoreDiacritics:o,ignoreLocation:h},t=c?t:t.toLowerCase(),t=o?E(t):t,this.pattern=t,this.chunks=[],!this.pattern.length)return;const a=(t,e)=>{this.chunks.push({pattern:t,alphabet:F(t),startIndex:e})},l=this.pattern.length;if(l>m){let t=0;const e=l%m,n=l-e;for(;t<n;)a(this.pattern.substr(t,m),t),t+=m;if(e){const t=l-m;a(this.pattern.substr(t),t)}}else a(this.pattern,0)}searchIn(t){const{isCaseSensitive:e,ignoreDiacritics:n,includeMatches:s}=this.options;if(t=e?t:t.toLowerCase(),t=n?E(t):t,this.pattern===t){let e={isMatch:!0,score:0};return s&&(e.indices=[[0,t.length-1]]),e}const{location:i,distance:r,threshold:u,findAllMatches:c,minMatchCharLength:o,ignoreLocation:h}=this.options;let a=[],l=0,d=!1;this.chunks.forEach(({pattern:e,alphabet:n,startIndex:g})=>{const{isMatch:f,score:A,indices:p}=M(t,e,n,{location:i+g,distance:r,threshold:u,findAllMatches:c,minMatchCharLength:o,includeMatches:s,ignoreLocation:h});f&&(d=!0),l+=A,f&&p&&(a=[...a,...p])});let g={isMatch:d,score:d?l/this.chunks.length:1};return d&&s&&(g.indices=a),g}}class D{constructor(t){this.pattern=t}static isMultiMatch(t){return x(t,this.multiRegex)}static isSingleMatch(t){return x(t,this.singleRegex)}search(){}}function x(t,e){const n=t.match(e);return n?n[1]:null}class B extends D{constructor(t,{location:e=g.location,threshold:n=g.threshold,distance:s=g.distance,includeMatches:i=g.includeMatches,findAllMatches:r=g.findAllMatches,minMatchCharLength:u=g.minMatchCharLength,isCaseSensitive:c=g.isCaseSensitive,ignoreDiacritics:o=g.ignoreDiacritics,ignoreLocation:h=g.ignoreLocation}={}){super(t),this._bitapSearch=new y(t,{location:e,threshold:n,distance:s,includeMatches:i,findAllMatches:r,minMatchCharLength:u,isCaseSensitive:c,ignoreDiacritics:o,ignoreLocation:h})}static get type(){return"fuzzy"}static get multiRegex(){return/^"(.*)"$/}static get singleRegex(){return/^(.*)$/}search(t){return this._bitapSearch.searchIn(t)}}class L extends D{constructor(t){super(t)}static get type(){return"include"}static get multiRegex(){return/^'"(.*)"$/}static get singleRegex(){return/^'(.*)$/}search(t){let e,n=0;const s=[],i=this.pattern.length;for(;(e=t.indexOf(this.pattern,n))>-1;)n=e+i,s.push([e,n-1]);const r=!!s.length;return{isMatch:r,score:r?0:1,indices:s}}}const k=[class extends D{constructor(t){super(t)}static get type(){return"exact"}static get multiRegex(){return/^="(.*)"$/}static get singleRegex(){return/^=(.*)$/}search(t){const e=t===this.pattern;return{isMatch:e,score:e?0:1,indices:[0,this.pattern.length-1]}}},L,class extends D{constructor(t){super(t)}static get type(){return"prefix-exact"}static get multiRegex(){return/^\^"(.*)"$/}static get singleRegex(){return/^\^(.*)$/}search(t){const e=t.startsWith(this.pattern);return{isMatch:e,score:e?0:1,indices:[0,this.pattern.length-1]}}},class extends D{constructor(t){super(t)}static get type(){return"inverse-prefix-exact"}static get multiRegex(){return/^!\^"(.*)"$/}static get singleRegex(){return/^!\^(.*)$/}search(t){const e=!t.startsWith(this.pattern);return{isMatch:e,score:e?0:1,indices:[0,t.length-1]}}},class extends D{constructor(t){super(t)}static get type(){return"inverse-suffix-exact"}static get multiRegex(){return/^!"(.*)"\$$/}static get singleRegex(){return/^!(.*)\$$/}search(t){const e=!t.endsWith(this.pattern);return{isMatch:e,score:e?0:1,indices:[0,t.length-1]}}},class extends D{constructor(t){super(t)}static get type(){return"suffix-exact"}static get multiRegex(){return/^"(.*)"\$$/}static get singleRegex(){return/^(.*)\$$/}search(t){const e=t.endsWith(this.pattern);return{isMatch:e,score:e?0:1,indices:[t.length-this.pattern.length,t.length-1]}}},class extends D{constructor(t){super(t)}static get type(){return"inverse-exact"}static get multiRegex(){return/^!"(.*)"$/}static get singleRegex(){return/^!(.*)$/}search(t){const e=-1===t.indexOf(this.pattern);return{isMatch:e,score:e?0:1,indices:[0,t.length-1]}}},B],_=k.length,v=/ +(?=(?:[^\"]*\"[^\"]*\")*[^\"]*$)/,S=new Set([B.type,L.type]);const I=[];function w(t,e){for(let n=0,s=I.length;n<s;n+=1){let s=I[n];if(s.condition(t,e))return new s(t,e)}return new y(t,e)}const $="$and",b="$path",N=t=>!(!t[$]&&!t.$or),R=t=>({[$]:Object.keys(t).map(e=>({[e]:t[e]}))});function O(n,s,{auto:r=!0}={}){const u=n=>{let c=Object.keys(n);const o=(t=>!!t[b])(n);if(!o&&c.length>1&&!N(n))return u(R(n));if((e=>!t(e)&&i(e)&&!N(e))(n)){const t=o?n[b]:c[0],i=o?n.$val:n[t];if(!e(i))throw new Error((t=>`Invalid value for key ${t}`)(t));const u={keyId:d(t),pattern:i};return r&&(u.searcher=w(i,s)),u}let h={children:[],operator:c[0]};return c.forEach(e=>{const s=n[e];t(s)&&s.forEach(t=>{h.children.push(u(t))})}),h};return N(n)||(n=R(n)),u(n)}function j(t,e){const n=t.matches;e.matches=[],r(n)&&n.forEach(t=>{if(!r(t.indices)||!t.indices.length)return;const{indices:n,value:s}=t;let i={indices:n,value:s};t.key&&(i.key=t.key.src),t.idx>-1&&(i.refIndex=t.idx),e.matches.push(i)})}function W(t,e){e.score=t.score}class z{constructor(t,e={},n){this.options={...g,...e},this.options.useExtendedSearch,this._keyStore=new h(this.options.keys),this.setCollection(t,n)}setCollection(t,e){if(this._docs=t,e&&!(e instanceof A))throw new Error("Incorrect 'index' type");this._myIndex=e||p(this.options.keys,this._docs,{getFn:this.options.getFn,fieldNormWeight:this.options.fieldNormWeight})}add(t){r(t)&&(this._docs.push(t),this._myIndex.add(t))}remove(t=()=>!1){const e=[];for(let n=0,s=this._docs.length;n<s;n+=1){const i=this._docs[n];t(i,n)&&(this.removeAt(n),n-=1,s-=1,e.push(i))}return e}removeAt(t){this._docs.splice(t,1),this._myIndex.removeAt(t)}getIndex(){return this._myIndex}search(t,{limit:s=-1}={}){const{includeMatches:i,includeScore:r,shouldSort:u,sortFn:c,ignoreFieldNorm:o}=this.options;let h=e(t)?e(this._docs[0])?this._searchStringList(t):this._searchObjectList(t):this._searchLogical(t);return function(t,{ignoreFieldNorm:e=g.ignoreFieldNorm}){t.forEach(t=>{let n=1;t.matches.forEach(({key:t,norm:s,score:i})=>{const r=t?t.weight:null;n*=Math.pow(0===i&&r?Number.EPSILON:i,(r||1)*(e?1:s))}),t.score=n})}(h,{ignoreFieldNorm:o}),u&&h.sort(c),n(s)&&s>-1&&(h=h.slice(0,s)),function(t,e,{includeMatches:n=g.includeMatches,includeScore:s=g.includeScore}={}){const i=[];return n&&i.push(j),s&&i.push(W),t.map(t=>{const{idx:n}=t,s={item:e[n],refIndex:n};return i.length&&i.forEach(e=>{e(t,s)}),s})}(h,this._docs,{includeMatches:i,includeScore:r})}_searchStringList(t){const e=w(t,this.options),{records:n}=this._myIndex,s=[];return n.forEach(({v:t,i:n,n:i})=>{if(!r(t))return;const{isMatch:u,score:c,indices:o}=e.searchIn(t);u&&s.push({item:t,idx:n,matches:[{score:c,value:t,norm:i,indices:o}]})}),s}_searchLogical(t){const e=O(t,this.options),n=(t,e,s)=>{if(!t.children){const{keyId:n,searcher:i}=t,r=this._findMatches({key:this._keyStore.get(n),value:this._myIndex.getValueForItemAtKeyId(e,n),searcher:i});return r&&r.length?[{idx:s,item:e,matches:r}]:[]}const i=[];for(let r=0,u=t.children.length;r<u;r+=1){const u=t.children[r],c=n(u,e,s);if(c.length)i.push(...c);else if(t.operator===$)return[]}return i},s=this._myIndex.records,i={},u=[];return s.forEach(({$:t,i:s})=>{if(r(t)){let r=n(e,t,s);r.length&&(i[s]||(i[s]={idx:s,item:t,matches:[]},u.push(i[s])),r.forEach(({matches:t})=>{i[s].matches.push(...t)}))}}),u}_searchObjectList(t){const e=w(t,this.options),{keys:n,records:s}=this._myIndex,i=[];return s.forEach(({$:t,i:s})=>{if(!r(t))return;let u=[];n.forEach((n,s)=>{u.push(...this._findMatches({key:n,value:t[s],searcher:e}))}),u.length&&i.push({idx:s,item:t,matches:u})}),i}_findMatches({key:e,value:n,searcher:s}){if(!r(n))return[];let i=[];if(t(n))n.forEach(({v:t,i:n,n:u})=>{if(!r(t))return;const{isMatch:c,score:o,indices:h}=s.searchIn(t);c&&i.push({score:o,key:e,value:t,idx:n,norm:u,indices:h})});else{const{v:t,n:r}=n,{isMatch:u,score:c,indices:o}=s.searchIn(t);u&&i.push({score:c,key:e,value:t,norm:r,indices:o})}return i}}z.version="7.1.0",z.createIndex=p,z.parseIndex=function(t,{getFn:e=g.getFn,fieldNormWeight:n=g.fieldNormWeight}={}){const{keys:s,records:i}=t,r=new A({getFn:e,fieldNormWeight:n});return r.setKeys(s),r.setIndexRecords(i),r},z.config=g,z.parseQuery=O,function(...t){I.push(...t)}(class{constructor(t,{isCaseSensitive:e=g.isCaseSensitive,ignoreDiacritics:n=g.ignoreDiacritics,includeMatches:s=g.includeMatches,minMatchCharLength:i=g.minMatchCharLength,ignoreLocation:r=g.ignoreLocation,findAllMatches:u=g.findAllMatches,location:c=g.location,threshold:o=g.threshold,distance:h=g.distance}={}){this.query=null,this.options={isCaseSensitive:e,ignoreDiacritics:n,includeMatches:s,minMatchCharLength:i,findAllMatches:u,ignoreLocation:r,location:c,threshold:o,distance:h},t=e?t:t.toLowerCase(),t=n?E(t):t,this.pattern=t,this.query=function(t,e={}){return t.split("|").map(t=>{let n=t.trim().split(v).filter(t=>t&&!!t.trim()),s=[];for(let t=0,i=n.length;t<i;t+=1){const i=n[t];let r=!1,u=-1;for(;!r&&++u<_;){const t=k[u];let n=t.isMultiMatch(i);n&&(s.push(new t(n,e)),r=!0)}if(!r)for(u=-1;++u<_;){const t=k[u];let n=t.isSingleMatch(i);if(n){s.push(new t(n,e));break}}}return s})}(this.pattern,this.options)}static condition(t,e){return e.useExtendedSearch}searchIn(t){const e=this.query;if(!e)return{isMatch:!1,score:1};const{includeMatches:n,isCaseSensitive:s,ignoreDiacritics:i}=this.options;t=s?t:t.toLowerCase(),t=i?E(t):t;let r=0,u=[],c=0;for(let s=0,i=e.length;s<i;s+=1){const i=e[s];u.length=0,r=0;for(let e=0,s=i.length;e<s;e+=1){const s=i[e],{isMatch:o,indices:h,score:a}=s.search(t);if(!o){c=0,r=0,u.length=0;break}if(r+=1,c+=a,n){const t=s.constructor.type;S.has(t)?u=[...u,...h]:u.push(h)}}if(r){let t={isMatch:!0,score:c/r};return n&&(t.indices=u),t}}return{isMatch:!1,score:1}}}),exports.default=z;
@@ -1,7 +0,0 @@
1
- /**
2
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.4.13
3
- *
4
- * (C) 2025-present SheetXL Inc. & Michael T. Ford
5
- * License: The license can be found at https://www.sheetxl.com/license.
6
- */
7
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});exports.default={ABS:{s:"Returns the absolute value of a number, a number without its sign",p:{number:{d:"is the real number for which you want the absolute value"}}},AGGREGATE:{s:"Returns information about the cell.",p:{functionNum:{d:"Is the number 1 to 19 that specifies the summary function for the aggregate."},options:{d:"Is the number 0 to 78 that specified the values to ignore for the aggregate."},array:{d:"Is the array or range of numerical data on which to calculate the aggregate."},K:{d:"indicates the position of the array; it is k-th largest, k-th smallest, k-th percentile, or k-th quartile."}},h:"Unimplemented"},ARABIC:{s:"Converts a Roman numeral to Arabic",p:{text:{d:"is the Roman numeral you want to convert"}}},BASE:{s:"Converts a number into a text representation with the given radix (base)",p:{number:{d:"is the number that you want to convert"},radix:{d:"is the base Radix that you want to convert the number into"},minLength:{d:"is the minimum length of the returned string",v:0}}},CEILING:{s:"Rounds a number up, to the nearest multiple of significance",p:{number:{d:"is the value you want to round"},significance:{d:"is the multiple to which you want to round",v:"undefined"}},c:"Compatible"},"CEILING.MATH":{s:"Rounds a number up, to the nearest integer or to the nearest multiple of significance",p:{number:{d:"is the real number you want to round"},significance:{d:"when given and nonzero this function will round away from zero",v:"undefined"},mode:{v:0}}},"CEILING.PRECISE":{s:"Rounds a number up to the nearest integer or to the nearest multiple of significance",p:{number:{d:"is the real number you want to round"},significance:{d:"is the multiple to which you want to round",v:1}},c:"Compatible"},COMBIN:{s:"Returns the number of combinations for a given number of items",p:{number:{d:"is the total number of items"},numberChosen:{d:"is the number of items in each combination"}}},COMBINA:{s:"Returns the number of combinations with repetitions for a given number of items",p:{number:{d:"is the total number of items"},numberChosen:{d:"is the number of items in each combination"}}},DECIMAL:{s:"Converts a text representation of a number in a given base into a decimal number",p:{number:{d:"is the number that you want to convert"},radix:{d:"is the base Radix of the number you are converting"}}},DEGREES:{s:"Converts radians to degrees",p:{angle:{d:"is the angle in radians that you want to convert"}}},EVEN:{s:"Rounds a positive number up and negative number down to the nearest even integer",p:{number:{d:"is the value to round"}}},EXP:{s:"Returns e raised to the power of a given number",p:{number:{d:"is the exponent applied to the base e. The constant e equals 2.71828182845904, the base of the natural logarithm"}}},FACT:{s:"Returns the factorial of a number, equal to 1*2*3*...* Number",p:{number:{d:"is the nonnegative number you want the factorial of"}}},FACTDOUBLE:{s:"Returns the double factorial of a number",p:{number:{d:"is the value for which to return the double factorial"}}},FLOOR:{s:"Rounds a number down to the nearest multiple of significance",p:{number:{d:"is the real number you want to round"},significance:{d:"is the multiple to which you want to round. Number and Significance must either both be positive or both be negative",v:"undefined"}},c:"Compatible"},"FLOOR.MATH":{s:"Rounds a number down, to the nearest integer or to the nearest multiple of significance",p:{number:{d:"is the real number you want to round"},significance:{d:"is the multiple to which you want to round",v:"undefined"},mode:{d:"when given and nonzero this function will round towards zero",v:0}}},"FLOOR.PRECISE":{s:"Rounds a number down to the nearest integer or to the nearest multiple of significance",p:{number:{d:"is the real number you want to round"},significance:{d:"is the multiple to which you want to round",v:1}}},GCD:{s:"Returns the greatest common divisor",p:{number:{d:"number1,number2,... are 1 to 255 values"}}},INT:{s:"Rounds a number down to the nearest integer",p:{number:{d:"is the real number you want to round down to an integer"}}},"ISO.CEILING":{s:"Rounds a number up to the nearest integer",p:{number:{d:"is the real number you want to round up to an integer"},significance:{d:"is the multiple to which you want to round number",v:"undefined"}},c:"Compatible"},LCM:{s:"Returns the least common multiple",p:{number:{d:"number1,number2,... are 1 to 255 values for which you want the least common multiple"}}},LN:{s:"Returns the natural logarithm of a number",p:{number:{d:"is the positive real number for which you want the natural logarithm"}}},LOG:{s:"Returns the logarithm of a number to the base you specify",p:{number:{d:"is the positive real number for which you want the logarithm"},base:{d:"is the base of the logarithm",v:10}}},LOG10:{s:"Returns the base-10 logarithm of a number",p:{number:{d:"is the positive real number for which you want the base-10 logarithm"}}},MDETERM:{s:"Returns the matrix determinant of an array",p:{array:{d:"is a numeric array with an equal number of rows and columns, either a cell range or an array constant"}}},MINVERSE:{s:"Returns the inverse matrix for the matrix stored in an array",p:{array:{d:"is a numeric array with an equal number of rows and columns, either a cell range or an array constant"}}},MMULT:{s:"Returns the matrix product of two arrays, an array with the same number of rows as array1 and columns as array2",p:{array1:{d:"is the first array of numbers to multiply and must have the same number of columns as Array2 has rows"},array2:{d:"is the second array of numbers to multiply and must have the same number of columns as Array1 has rows"}}},MOD:{s:"Returns the remainder after a number is divided by a divisor",p:{number:{d:"is the number for which you want to find the remainder after the division is performed"},divisor:{d:"is the number by which you want to divide Number"}}},MROUND:{s:"Returns a number rounded to the desired multiple",p:{number:{d:"is the value to round"},multiple:{d:"is the multiple to which you want to round number"}}},MULTINOMIAL:{s:"Returns the multinomial of a set of numbers",p:{number:{d:"number1,number2,... are 1 to 255 values for which you want the multinomial"}}},MUNIT:{s:"Returns the unit matrix for the specified dimension",p:{dimension:{d:"is an integer specifying the dimension of the unit matrix that you want to return"}}},ODD:{s:"Rounds a positive number up and negative number down to the nearest odd integer",p:{number:{d:"is the value to round"}}},PI:{s:"Returns the value of Pi, 3.14159265358979, accurate to 15 digits",p:{}},POWER:{s:"Returns the result of a number raised to a power",p:{number:{d:"is the base number, any real number"},power:{d:"is the exponent, to which the base number is raised"}}},PRODUCT:{s:"Multiplies all the numbers given as arguments",p:{number:{d:"number1,number2,... are 1 to 255 numbers, logical values, or text representations of numbers that you want to multiply"}}},QUOTIENT:{s:"Returns the integer portion of a division",p:{numerator:{d:"is the dividend"},denominator:{d:"is the divisor"}}},RADIANS:{s:"Converts degrees to radians",p:{angle:{d:"is an angle in degrees that you want to convert"}}},RAND:{s:"Returns a random number greater than or equal to 0 and less than 1, evenly distributed (changes on recalculation)",p:{}},RANDARRAY:{s:"Returns an array of random numbers",p:{rows:{d:"the number of rows in the returned array",v:1},columns:{d:"the number of columns in the returned array",v:1},min:{d:"the minimum number you would like returned",v:0},max:{d:"the maximum number you would like returned",v:1},integer:{d:"return an integer or a decimal value. TRUE for an integer, FALSE for a decimal number",v:!1}}},RANDBETWEEN:{s:"Returns a random number between the numbers you specify",p:{bottom:{d:"is the smallest integer RANDBETWEEN will return"},top:{d:"is the largest integer RANDBETWEEN will return"}}},ROMAN:{s:"Converts an Arabic numeral to Roman, as text",p:{number:{d:"is the Arabic numeral you want to convert"},form:{d:"is the number specifying the type of Roman numeral you want.",v:0}}},ROUND:{s:"Rounds a number to a specified number of digits",p:{number:{d:"is the number you want to round"},numDigits:{d:"is the number of digits to which you want to round. Negative rounds to the left of the decimal point to the nearest integer"}}},ROUNDDOWN:{s:"Rounds a number down, toward zero",p:{number:{d:"is any real number that you want rounded down"},numDigits:{d:"is the number of digits to which you want to round. Negative rounds to the left of the decimal point to the nearest integer"}}},ROUNDUP:{s:"Rounds a number up, away from zero",p:{number:{d:"is any real number that you want rounded up"},numDigits:{d:"is the number of digits to which you want to round. Negative rounds to the left of the decimal point to the nearest integer"}}},SEQUENCE:{s:"Returns a sequence of numbers",p:{rows:{d:"the number of rows to return"},columns:{d:"the number of columns to return",v:1},start:{d:"the first number in the sequence",v:1},step:{d:"the amount to increment each subsequent value in the sequence",v:1}}},SERIESSUM:{s:"Returns the sum of a power series based on the formula",p:{x:{d:"is the input value to the power series"},n:{d:"is the initial power to which you want to raise x"},m:{d:"is the step by which to increase n for each term in the series"},coefficients:{d:"is a set of coefficients by which each successive power of x is multiplied"}}},SIGN:{s:"Returns the sign of a number: 1 if the number is positive, zero if the number is zero, or -1 if the number is negative",p:{number:{d:"is any real number"}}},SQRT:{s:"Returns the square root of a number",p:{number:{d:"is the number for which you want the square root"}}},SQRTPI:{s:"Returns the square root of (number * Pi)",p:{number:{d:"is the number by which p is multiplied"}}},SUBTOTAL:{s:"Returns a subtotal in a list or database",p:{functionNum:{d:"is the number 1 to 11 that specifies the summary function for the subtotal."},ref:{d:"ref1,ref2,... are 1 to 254 ranges or references for which you want the subtotal"}},h:"Unimplemented"},SUM:{s:"Adds all the numbers in a range of cells",p:{number:{d:"number1,number2,... are 1 to 255 numbers to sum. Logical values and text are ignored in cells, included if typed as arguments"}}},SUMIF:{s:"Adds 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 added"},sumRange:{d:"are the actual cells to sum. If omitted, the cells in range are used"}},h:"Unimplemented"},SUMIFS:{s:"Adds the cells specified by a given set of conditions or criteria",p:{sumRange:{d:"are the actual cells to sum."},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 added"}},h:"Unimplemented"},SUMPRODUCT:{s:"Returns the sum of the products of corresponding ranges or arrays",p:{array1:{d:"array1,array2,... are 2 to 255 arrays for which you want to multiply and then add components. All arrays must have the same dimensions"},rest:{}}},SUMSQ:{s:"Returns the sum of the squares of the arguments. The arguments can be numbers, arrays, names, or references to cells that contain numbers",p:{number:{d:"number1,number2,... are 1 to 255 numbers, arrays, names, or references to arrays for which you want the sum of the squares"}}},SUMX2MY2:{s:"Sums the differences between the squares of two corresponding ranges or arrays",p:{arrayX:{d:"is the first range or array of numbers and can be a number or name, array, or reference that contains numbers"},arrayY:{d:"is the second range or array of numbers and can be a number or name, array, or reference that contains numbers"}}},SUMX2PY2:{s:"Returns the sum total of the sums of squares of numbers in two corresponding ranges or arrays",p:{arrayX:{d:"is the first range or array of numbers and can be a number or name, array, or reference that contains numbers"},arrayY:{d:"is the second range or array of numbers and can be a number or name, array, or reference that contains numbers"}}},SUMXMY2:{s:"Sums the squares of the differences in two corresponding ranges or arrays",p:{arrayX:{d:"is the first range or array of numbers and can be a number or name, array, or reference that contains numbers"},arrayY:{d:"is the second range or array of numbers and can be a number or name, array, or reference that contains numbers"}}},TRUNC:{s:"Truncates a number to an integer by removing the decimal, or fractional, part of the number",p:{number:{d:"is the number you want to truncate"},numDigits:{d:"is a number specifying the precision of the truncation",v:0}}}};
@@ -1,7 +0,0 @@
1
- /**
2
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.4.13
3
- *
4
- * (C) 2025-present SheetXL Inc. & Michael T. Ford
5
- * License: The license can be found at https://www.sheetxl.com/license.
6
- */
7
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./B9jxuOg1CXcmbi9J.cjs"),e=["Input"],o=t.reactExports.memo(t.reactExports.forwardRef((o,n)=>{const{initialValue:a="",onOption:s,onValidateOption:i,onInputOption:p,onValidateInputOption:r,onDone:l,inputProps:u,inputLabel:c,inputType:d,inputPlaceHolder:x,options:g=e,autoFocusSel:m=".autoFocus",cancelOption:f,defaultOption:h=g?.[0],...y}=o,[E,O]=t.reactExports.useState(!1),[j,T]=t.reactExports.useState(a),[w,F]=t.reactExports.useState(""),[S,b]=t.reactExports.useState(!0),P=t.td(async(t,e)=>{if(!r)return!0;const o=await(r?.(t,e));F(o?.message??"");const n=o?.valid??!0;return b(n),n},[r]),v=t.td(async t=>{p?.(j,t)},[j,p,l,s,f,h]),C=t.td(async e=>{e.keyCode===t.qc.Enter&&await(P?.(j,null))},[j,v]),I=t.td(t=>{T(t.target.value),P?.(t.target.value,null)},[i]),R=t.td(async t=>{let e=await P(j,t);try{!1!==e&&(e=await P(j,t))}catch(t){}return e??!0},[j,i]);return t.jsxRuntimeExports.jsx(t.sb,{options:g,onDone:l,onOption:(t,e)=>{e||v(t)},onValidateOption:R,cancelOption:f,defaultOption:h,autoFocusSel:m,ref:n,...y,children:t.jsxRuntimeExports.jsx(t.Box,{sx:{paddingTop:t=>t.spacing(1),paddingBottom:t=>t.spacing(0)},children:t.jsxRuntimeExports.jsx(t.FormControl,{sx:{paddingTop:t=>t.spacing(1.5),minWidth:135,width:"100%"},size:"small",children:t.jsxRuntimeExports.jsx(t.TextField,{onFocus:t=>{E||t.target?.select(),O(!0)},type:d,label:c,helperText:w||" ",sx:{width:"100%","& .MuiFormHelperText-root":{marginTop:t=>t.spacing(.5),color:S?void 0:"error.main"}},InputLabelProps:{shrink:!0},InputProps:{inputProps:{placeholder:x,spellCheck:!1,autoComplete:"off",...u,className:t.si("autoFocus",u?.className),sx:{paddingTop:t=>t.spacing(1.25),paddingBottom:t=>t.spacing(.75),backgroundImage:`linear-gradient(${t.alpha("#fff",t.Ks(5))}, ${t.alpha("#fff",t.Ks(5))})`}}},value:j,onChange:I,onKeyDown:C,onContextMenu:t=>{t.stopPropagation()}})})})})}));exports.default=o;
@@ -1,7 +0,0 @@
1
- /**
2
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.4.13
3
- *
4
- * (C) 2025-present SheetXL Inc. & Michael T. Ford
5
- * License: The license can be found at https://www.sheetxl.com/license.
6
- */
7
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var e,t,r={},n={},o={},i={},a={};function s(){if(t)return a;t=1;var e=a&&a.__awaiter||function(e,t,r,n){return new(r||(r=Promise))(function(o,i){function a(e){try{c(n.next(e))}catch(e){i(e)}}function s(e){try{c(n.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(a,s)}c((n=n.apply(e,t||[])).next())})},r=a&&a.__generator||function(e,t){var r,n,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(r)throw new TypeError("Generator is already executing.");for(;a;)try{if(r=1,n&&(o=2&i[0]?n.return:i[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,i[1])).done)return o;switch(n=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,n=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!((o=(o=a.trys).length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],n=0}finally{r=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}};Object.defineProperty(a,"__esModule",{value:!0}),a.JsDelivrSourceResolver=void 0;var n=function(){function t(){}return t.prototype.resolvePackageJson=function(t,n,o){return e(this,void 0,void 0,function(){return r(this,function(e){switch(e.label){case 0:return[4,this.resolveFile("https://cdn.jsdelivr.net/npm/".concat(t).concat(n?"@".concat(n):"").concat(o?"/".concat(o):"","/package.json"))];case 1:return[2,e.sent()]}})})},t.prototype.resolveSourceFile=function(t,n,o){return e(this,void 0,void 0,function(){return r(this,function(e){switch(e.label){case 0:return[4,this.resolveFile("https://cdn.jsdelivr.net/npm/".concat(t).concat(n?"@".concat(n):"","/").concat(o))];case 1:return[2,e.sent()]}})})},t.prototype.resolveFile=function(t){return e(this,void 0,void 0,function(){var e;return r(this,function(r){switch(r.label){case 0:return[4,fetch(t,{method:"GET"})];case 1:return(e=r.sent()).ok?[4,e.text()]:[3,3];case 2:return[2,r.sent()];case 3:if(404===e.status)return[2,""];throw Error("Error other than 404 while fetching from Unpkg at ".concat(t));case 4:return[2]}})})},t}();return a.JsDelivrSourceResolver=n,a}var c,u,l,p={},h={};function f(){if(u)return c;function e(e){if("string"!=typeof e)throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}function t(e,t){for(var r,n="",o=0,i=-1,a=0,s=0;s<=e.length;++s){if(s<e.length)r=e.charCodeAt(s);else{if(47===r)break;r=47}if(47===r){if(i===s-1||1===a);else if(i!==s-1&&2===a){if(n.length<2||2!==o||46!==n.charCodeAt(n.length-1)||46!==n.charCodeAt(n.length-2))if(n.length>2){var c=n.lastIndexOf("/");if(c!==n.length-1){-1===c?(n="",o=0):o=(n=n.slice(0,c)).length-1-n.lastIndexOf("/"),i=s,a=0;continue}}else if(2===n.length||1===n.length){n="",o=0,i=s,a=0;continue}t&&(n.length>0?n+="/..":n="..",o=2)}else n.length>0?n+="/"+e.slice(i+1,s):n=e.slice(i+1,s),o=s-i-1;i=s,a=0}else 46===r&&-1!==a?++a:a=-1}return n}u=1;var r={resolve:function(){for(var r,n="",o=!1,i=arguments.length-1;i>=-1&&!o;i--){var a;i>=0?a=arguments[i]:(void 0===r&&(r=process.cwd()),a=r),e(a),0!==a.length&&(n=a+"/"+n,o=47===a.charCodeAt(0))}return n=t(n,!o),o?n.length>0?"/"+n:"/":n.length>0?n:"."},normalize:function(r){if(e(r),0===r.length)return".";var n=47===r.charCodeAt(0),o=47===r.charCodeAt(r.length-1);return 0!==(r=t(r,!n)).length||n||(r="."),r.length>0&&o&&(r+="/"),n?"/"+r:r},isAbsolute:function(t){return e(t),t.length>0&&47===t.charCodeAt(0)},join:function(){if(0===arguments.length)return".";for(var t,n=0;n<arguments.length;++n){var o=arguments[n];e(o),o.length>0&&(void 0===t?t=o:t+="/"+o)}return void 0===t?".":r.normalize(t)},relative:function(t,n){if(e(t),e(n),t===n)return"";if((t=r.resolve(t))===(n=r.resolve(n)))return"";for(var o=1;o<t.length&&47===t.charCodeAt(o);++o);for(var i=t.length,a=i-o,s=1;s<n.length&&47===n.charCodeAt(s);++s);for(var c=n.length-s,u=a<c?a:c,l=-1,p=0;p<=u;++p){if(p===u){if(c>u){if(47===n.charCodeAt(s+p))return n.slice(s+p+1);if(0===p)return n.slice(s+p)}else a>u&&(47===t.charCodeAt(o+p)?l=p:0===p&&(l=0));break}var h=t.charCodeAt(o+p);if(h!==n.charCodeAt(s+p))break;47===h&&(l=p)}var f="";for(p=o+l+1;p<=i;++p)p!==i&&47!==t.charCodeAt(p)||(0===f.length?f+="..":f+="/..");return f.length>0?f+n.slice(s+l):(s+=l,47===n.charCodeAt(s)&&++s,n.slice(s))},_makeLong:function(e){return e},dirname:function(t){if(e(t),0===t.length)return".";for(var r=t.charCodeAt(0),n=47===r,o=-1,i=!0,a=t.length-1;a>=1;--a)if(47===(r=t.charCodeAt(a))){if(!i){o=a;break}}else i=!1;return-1===o?n?"/":".":n&&1===o?"//":t.slice(0,o)},basename:function(t,r){if(void 0!==r&&"string"!=typeof r)throw new TypeError('"ext" argument must be a string');e(t);var n,o=0,i=-1,a=!0;if(void 0!==r&&r.length>0&&r.length<=t.length){if(r.length===t.length&&r===t)return"";var s=r.length-1,c=-1;for(n=t.length-1;n>=0;--n){var u=t.charCodeAt(n);if(47===u){if(!a){o=n+1;break}}else-1===c&&(a=!1,c=n+1),s>=0&&(u===r.charCodeAt(s)?-1===--s&&(i=n):(s=-1,i=c))}return o===i?i=c:-1===i&&(i=t.length),t.slice(o,i)}for(n=t.length-1;n>=0;--n)if(47===t.charCodeAt(n)){if(!a){o=n+1;break}}else-1===i&&(a=!1,i=n+1);return-1===i?"":t.slice(o,i)},extname:function(t){e(t);for(var r=-1,n=0,o=-1,i=!0,a=0,s=t.length-1;s>=0;--s){var c=t.charCodeAt(s);if(47!==c)-1===o&&(i=!1,o=s+1),46===c?-1===r?r=s:1!==a&&(a=1):-1!==r&&(a=-1);else if(!i){n=s+1;break}}return-1===r||-1===o||0===a||1===a&&r===o-1&&r===n+1?"":t.slice(r,o)},format:function(e){if(null===e||"object"!=typeof e)throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof e);return function(e,t){var r=t.dir||t.root,n=t.base||(t.name||"")+(t.ext||"");return r?r===t.root?r+n:r+"/"+n:n}(0,e)},parse:function(t){e(t);var r={root:"",dir:"",base:"",ext:"",name:""};if(0===t.length)return r;var n,o=t.charCodeAt(0),i=47===o;i?(r.root="/",n=1):n=0;for(var a=-1,s=0,c=-1,u=!0,l=t.length-1,p=0;l>=n;--l)if(47!==(o=t.charCodeAt(l)))-1===c&&(u=!1,c=l+1),46===o?-1===a?a=l:1!==p&&(p=1):-1!==a&&(p=-1);else if(!u){s=l+1;break}return-1===a||-1===c||0===p||1===p&&a===c-1&&a===s+1?-1!==c&&(r.base=r.name=0===s&&i?t.slice(1,c):t.slice(s,c)):(0===s&&i?(r.name=t.slice(1,a),r.base=t.slice(1,c)):(r.name=t.slice(s,a),r.base=t.slice(s,c)),r.ext=t.slice(a,c)),s>0?r.dir=t.slice(0,s-1):i&&(r.dir="/"),r},sep:"/",delimiter:":",win32:null,posix:null};return r.posix=r,c=r}var d,v={};function y(){if(d)return v;d=1;var e=v&&v.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(v,"__esModule",{value:!0}),v.importResourcePathToString=void 0;var t=e(f());return v.importResourcePathToString=function(e){var r;switch(e.kind){case"package":return t.default.join(e.packageName,null!==(r=e.importPath)&&void 0!==r?r:"","package.json");case"relative":return t.default.join(e.sourcePath,e.importPath);case"relative-in-package":return t.default.join(e.packageName,e.sourcePath,e.importPath)}},v}var g,m={};function b(){return g||(g=1,Object.defineProperty(m,"__esModule",{value:!0}),m.invokeUpdate=void 0,m.invokeUpdate=function(e,t){var r,n="".concat(e.type,": ");switch(e.type){case"CodeChanged":case"ResolveNewImports":n+="";break;case"LookedUpTypeFile":n+='"'.concat(e.path,'" was ').concat(e.success?"sucessfully":"not sucessfully"," looked up");break;case"AttemptedLookUpFile":n+='"'.concat(e.path,'" was ').concat(e.success?"sucessfully":"not sucessfully"," attempted to looked up");break;case"LookedUpPackage":n+='package.json for package "'.concat(e.package,'" was ').concat(e.success?"sucessfully":"not sucessfully"," looked up").concat(e.definitelyTyped?" (found in definitely typed repo)":"");break;case"LoadedFromCache":n+='"'.concat(e.importPath,'" was loaded from cache');break;case"StoredToCache":n+='"'.concat(e.importPath,'" was stored to cache')}n.endsWith(": ")&&(n=n.slice(void 0,-2)),null===(r=t.onUpdate)||void 0===r||r.call(t,e,n)}),m}var k,w,_,P,O={};function j(){if(k)return O;k=1,Object.defineProperty(O,"__esModule",{value:!0}),O.RecursionDepth=void 0;var e=function(){function e(e,t,r){void 0===t&&(t=0),void 0===r&&(r=0),this.options=e,this.fileRecursionDepth=t,this.packageRecursionDepth=r}return e.prototype.nextPackage=function(){return new e(this.options,this.fileRecursionDepth,this.packageRecursionDepth+1)},e.prototype.nextFile=function(){return new e(this.options,this.fileRecursionDepth+1,this.packageRecursionDepth)},e.prototype.same=function(){return new e(this.options,this.fileRecursionDepth,this.packageRecursionDepth)},e.prototype.shouldStop=function(){return this.options.fileRecursionDepth>0&&this.fileRecursionDepth>=this.options.fileRecursionDepth||this.options.packageRecursionDepth>0&&this.packageRecursionDepth>=this.options.packageRecursionDepth},e}();return O.RecursionDepth=e,O}function R(){if(w)return p;w=1;var e=p&&p.__assign||function(){return e=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},e.apply(this,arguments)},t=p&&p.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var o=Object.getOwnPropertyDescriptor(t,r);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,o)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),r=p&&p.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),n=p&&p.__importStar||function(e){if(e&&e.__esModule)return e;var n={};if(null!=e)for(var o in e)"default"!==o&&Object.prototype.hasOwnProperty.call(e,o)&&t(n,e,o);return r(n,e),n},o=p&&p.__awaiter||function(e,t,r,n){return new(r||(r=Promise))(function(o,i){function a(e){try{c(n.next(e))}catch(e){i(e)}}function s(e){try{c(n.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(a,s)}c((n=n.apply(e,t||[])).next())})},i=p&&p.__generator||function(e,t){var r,n,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(r)throw new TypeError("Generator is already executing.");for(;a;)try{if(r=1,n&&(o=2&i[0]?n.return:i[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,i[1])).done)return o;switch(n=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,n=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!((o=(o=a.trys).length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],n=0}finally{r=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}},a=p&&p.__values||function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},s=p&&p.__read||function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,i=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=i.next()).done;)a.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return a};Object.defineProperty(p,"__esModule",{value:!0}),p.ImportResolver=void 0;var c=function(){if(l)return h;l=1;var e=h&&h.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var o=Object.getOwnPropertyDescriptor(t,r);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,o)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),t=h&&h.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),r=h&&h.__importStar||function(r){if(r&&r.__esModule)return r;var n={};if(null!=r)for(var o in r)"default"!==o&&Object.prototype.hasOwnProperty.call(r,o)&&e(n,r,o);return t(n,r),n},n=h&&h.__read||function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,i=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=i.next()).done;)a.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return a},o=h&&h.__spreadArray||function(e,t,r){if(r||2===arguments.length)for(var n,o=0,i=t.length;o<i;o++)!n&&o in t||(n||(n=Array.prototype.slice.call(t,0,o)),n[o]=t[o]);return e.concat(n||Array.prototype.slice.call(t))};Object.defineProperty(h,"__esModule",{value:!0}),h.DependencyParser=void 0;var i=r(f()),a=function(){function e(){this.REGEX_CLEAN=/[\n|\r]/g,this.REGEX_DETECT_IMPORT=/(?:(?:(?:import)|(?:export))(?:.)*?from\s+["']([^"']+)["'])|(?:((?:require|import))(?:\s+)?\(["']([^"']+)["']\))|(?:\/+\s+<reference\s+path=["']([^"']+)["']\s+\/>)/g,this.REGEX_NODE_MODULE=/^node:([\w\W\/]+)$/}return e.prototype.parseDependencies=function(e,t){var r=this;return o([],n(e.matchAll(this.REGEX_DETECT_IMPORT)),!1).map(function(e){var t,r;return null!==(r=null!==(t=e[1])&&void 0!==t?t:e[2])&&void 0!==r?r:e[3]}).filter(function(e){return!!e}).map(function(e){return r.resolvePath(e,t)})},e.prototype.resolvePath=function(e,t){var r=e.match(this.REGEX_NODE_MODULE);if(r)return{kind:"relative-in-package",packageName:"@types/node",importPath:"".concat(r[1],".d.ts"),sourcePath:""};if("string"==typeof t){if(e.startsWith("."))return{kind:"relative",importPath:e,sourcePath:t};if(e.startsWith("@")){var n=e.split("/");return{kind:"package",packageName:"".concat(n[0],"/").concat(n[1]),importPath:n.slice(2).join("/")}}return{kind:"package",packageName:(n=e.split("/"))[0],importPath:n.slice(1).join("/")}}switch(t.kind){case"package":throw Error("TODO?");case"relative":throw Error("TODO2?");case"relative-in-package":return e.startsWith(".")?{kind:"relative-in-package",packageName:t.packageName,sourcePath:i.join(t.sourcePath,t.importPath),importPath:e}:e.startsWith("@")?(n=e.split("/"),{kind:"package",packageName:"".concat(n[0],"/").concat(n[1]),importPath:n.slice(2).join("/")}):{kind:"package",packageName:(n=e.split("/"))[0],importPath:n.slice(1).join("/")}}},e}();return h.DependencyParser=a,h}(),u=y(),d=n(f()),v=b(),g=j(),m=function(){function t(e){var t,r;if(this.options=e,this.loadedFiles=[],this.dependencyParser=new c.DependencyParser,this.cache=e.sourceCache,this.sourceResolver=e.sourceResolver,this.newImportsResolved=!1,this.monaco=e.monaco,e.preloadPackages&&e.versions){this.versions=e.versions;try{for(var n=a(Object.entries(e.versions)),o=n.next();!o.done;o=n.next()){var i=s(o.value,2),u=i[0];i[1],this.resolveImport({kind:"package",packageName:u,importPath:""},new g.RecursionDepth(this.options)).catch(function(e){console.error(e)})}}catch(e){t={error:e}}finally{try{o&&!o.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}}}return t.prototype.wereNewImportsResolved=function(){return this.newImportsResolved},t.prototype.resetNewImportsResolved=function(){this.newImportsResolved=!1},t.prototype.resolveImportsInFile=function(e,t,r){var n,s,c;return o(this,void 0,void 0,function(){var o,u,l,p,h,f,d,v;return i(this,function(i){switch(i.label){case 0:if(r.shouldStop())return[2];o=this.dependencyParser.parseDependencies(e,t),i.label=1;case 1:i.trys.push([1,8,9,10]),u=a(o),l=u.next(),i.label=2;case 2:if(l.done)return[3,7];p=l.value,i.label=3;case 3:return i.trys.push([3,5,,6]),[4,this.resolveImport(p,r)];case 4:return i.sent(),[3,6];case 5:return h=i.sent(),this.options.onError?null===(s=(n=this.options).onError)||void 0===s||s.call(n,null!==(c=h.message)&&void 0!==c?c:h):console.error(h),[3,6];case 6:return l=u.next(),[3,2];case 7:return[3,10];case 8:return f=i.sent(),d={error:f},[3,10];case 9:try{l&&!l.done&&(v=u.return)&&v.call(u)}finally{if(d)throw d.error}return[7];case 10:return[2]}})})},t.prototype.resolveImport=function(e,t){return o(this,void 0,void 0,function(){var r,n;return i(this,function(o){switch(o.label){case 0:if(r=this.hashImportResourcePath(e),this.loadedFiles.includes(r))return[2];switch(this.loadedFiles.push(r),e.kind){case"package":return[3,1];case"relative":return[3,5];case"relative-in-package":return[3,6]}return[3,8];case 1:return[4,this.resolveImportFromPackageRoot(e)];case 2:return(n=o.sent())?[4,this.resolveImportInPackage(n,t.nextPackage().nextFile())]:[3,4];case 3:case 7:return[2,o.sent()];case 4:return[3,8];case 5:throw Error("Not implemented yet");case 6:return[4,this.resolveImportInPackage(e,t.nextFile())];case 8:return[2]}})})},t.prototype.resolveImportInPackage=function(e,t){return o(this,void 0,void 0,function(){var r,n,o;return i(this,function(i){switch(i.label){case 0:return[4,this.loadSourceFileContents(e)];case 1:return(r=i.sent())?(n=r.source,o=r.at,this.createModel(n,this.monaco.Uri.parse(this.options.fileRootPath+d.join("node_modules/".concat(e.packageName),o))),[4,this.resolveImportsInFile(n,{kind:"relative-in-package",packageName:e.packageName,sourcePath:d.dirname(o),importPath:""},t)]):[3,3];case 2:i.sent(),i.label=3;case 3:return[2]}})})},t.prototype.resolveImportFromPackageRoot=function(e){var t,r,n,a,s,c,u,l,p;return o(this,void 0,void 0,function(){var o,h,f,y,g,m,b,k,w;return i(this,function(i){switch(i.label){case 0:return o={type:"LookedUpPackage",package:e.packageName,definitelyTyped:!1,success:!1},!this.options.onlySpecifiedPackages||(null===(t=this.versions)||void 0===t?void 0:t[e.packageName])||(null===(r=this.versions)||void 0===r?void 0:r["@types/"+e.packageName])?(h=null!==(a=null===(n=e.importPath)||void 0===n?void 0:n.length)&&void 0!==a&&a,f=h?"/".concat(e.importPath):"",[4,this.resolvePackageJson(e.packageName,null===(s=this.versions)||void 0===s?void 0:s[e.packageName],h?e.importPath:void 0)]):((0,v.invokeUpdate)(o,this.options),[2]);case 1:return(y=i.sent())||!h?[3,3]:[4,this.resolvePackageJson(e.packageName,null===(c=this.versions)||void 0===c?void 0:c[e.packageName])];case 2:y=i.sent(),f="",i.label=3;case 3:return y?(g=JSON.parse(y)).typings||g.types?(w=g.typings||g.types,this.createModel(y,this.monaco.Uri.parse("".concat(this.options.fileRootPath,"node_modules/").concat(e.packageName).concat(f,"/package.json"))),(0,v.invokeUpdate)({type:"LookedUpPackage",package:e.packageName,definitelyTyped:!1,success:!0},this.options),this.setVersion(e.packageName,g.version),[2,{kind:"relative-in-package",packageName:e.packageName,sourcePath:"",importPath:d.join(null!==(u=e.importPath)&&void 0!==u?u:"",w.startsWith("./")?w.slice(2):w)}]):[3,4]:[3,7];case 4:return m="@types/".concat(e.packageName.startsWith("@")?e.packageName.slice(1).replace(/\//,"__"):e.packageName),[4,this.resolvePackageJson(m,null===(l=this.versions)||void 0===l?void 0:l[m])];case 5:if(b=i.sent()){if((k=JSON.parse(b)).typings||k.types)return w=k.typings||k.types,this.createModel(b,this.monaco.Uri.parse("".concat(this.options.fileRootPath,"node_modules/").concat(m,"/package.json"))),(0,v.invokeUpdate)({type:"LookedUpPackage",package:m,definitelyTyped:!0,success:!0},this.options),this.setVersion(m,k.version),[2,{kind:"relative-in-package",packageName:m,sourcePath:"",importPath:d.join(null!==(p=e.importPath)&&void 0!==p?p:"",w.startsWith("./")?w.slice(2):w)}];(0,v.invokeUpdate)(o,this.options)}else(0,v.invokeUpdate)(o,this.options);i.label=6;case 6:return[3,8];case 7:(0,v.invokeUpdate)(o,this.options),i.label=8;case 8:return[2]}})})},t.prototype.loadSourceFileContents=function(e){return o(this,void 0,void 0,function(){var t,r,n,o,s,c,u,l,p,h,f,y,g,m,b,k;return i(this,function(i){switch(i.label){case 0:return t=d.join(e.packageName,e.sourcePath,e.importPath),r={type:"LookedUpTypeFile",path:t,definitelyTyped:!1,success:!1},n=e.packageName,o=this.getVersion(e.packageName),(s=[".d.ts","/index.d.ts",".ts",".tsx","/index.ts","/index.tsx"]).map(function(t){return e.importPath.endsWith(t)}).reduce(function(e,t){return e||t},!1)?[4,this.resolveSourceFile(n,o,d.join(e.sourcePath,e.importPath))]:[3,2];case 1:return(m=i.sent())?[2,{source:m,at:d.join(e.sourcePath,e.importPath)}]:[3,9];case 2:i.trys.push([2,7,8,9]),c=a(s),u=c.next(),i.label=3;case 3:return u.done?[3,6]:(l=u.value,p=d.join(e.sourcePath,e.importPath),g=(".d.ts"===l&&p.endsWith(".js")?p.slice(0,-3):p)+l,[4,this.resolveSourceFile(n,o,g)]);case 4:if(m=i.sent(),(0,v.invokeUpdate)({type:"AttemptedLookUpFile",path:d.join(n,g),success:!!m},this.options),m)return(0,v.invokeUpdate)({type:"LookedUpTypeFile",path:d.join(n,g),success:!0},this.options),[2,{source:m,at:g}];i.label=5;case 5:return u=c.next(),[3,3];case 6:return[3,9];case 7:return h=i.sent(),b={error:h},[3,9];case 8:try{u&&!u.done&&(k=c.return)&&k.call(c)}finally{if(b)throw b.error}return[7];case 9:return[4,this.resolvePackageJson(n,o,d.join(e.sourcePath,e.importPath))];case 10:return(f=i.sent())&&(y=JSON.parse(f).types)?(g=d.join(e.sourcePath,e.importPath,y),[4,this.resolveSourceFile(n,o,g)]):[3,12];case 11:if(m=i.sent())return(0,v.invokeUpdate)({type:"LookedUpTypeFile",path:d.join(n,g),success:!0},this.options),[2,{source:m,at:g}];i.label=12;case 12:return(0,v.invokeUpdate)(r,this.options),[2,null]}})})},t.prototype.getVersion=function(e){var t;return null===(t=this.versions)||void 0===t?void 0:t[e]},t.prototype.setVersions=function(e){var t,r;this.versions=e,null===(r=(t=this.options).onUpdateVersions)||void 0===r||r.call(t,e)},t.prototype.setVersion=function(t,r){var n;this.setVersions(e(e({},this.versions),((n={})[t]=r,n)))},t.prototype.createModel=function(e,t){t=t.with({path:t.path.replace("@types/","")}),this.monaco.editor.getModel(t)||(this.monaco.editor.createModel(e,"typescript",t),this.newImportsResolved=!0)},t.prototype.hashImportResourcePath=function(e){return(0,u.importResourcePathToString)(e)},t.prototype.resolvePackageJson=function(e,t,r){return o(this,void 0,void 0,function(){var n,o,a,s;return i(this,function(i){switch(i.label){case 0:return n=d.join(e+(t?"@".concat(t):""),null!=r?r:"","package.json"),o=!1,a=void 0,this.cache.isFileAvailable?[4,this.cache.isFileAvailable(n)]:[3,2];case 1:return o=i.sent(),[3,4];case 2:return[4,this.cache.getFile(n)];case 3:a=i.sent(),o=void 0!==a,i.label=4;case 4:return o?null==a?[3,5]:(s=a,[3,7]):[3,8];case 5:return[4,this.cache.getFile(n)];case 6:s=i.sent(),i.label=7;case 7:return[2,s];case 8:return[4,this.sourceResolver.resolvePackageJson(e,t,r)];case 9:return(a=i.sent())&&this.cache.storeFile(n,a),[2,a]}})})},t.prototype.resolveSourceFile=function(e,t,r){return o(this,void 0,void 0,function(){var n,o,a,s;return i(this,function(i){switch(i.label){case 0:return n=d.join(e+(t?"@".concat(t):""),r),o=!1,a=void 0,this.cache.isFileAvailable?[4,this.cache.isFileAvailable(n)]:[3,2];case 1:return o=i.sent(),[3,4];case 2:return[4,this.cache.getFile(n)];case 3:a=i.sent(),o=void 0!==a,i.label=4;case 4:return o?((0,v.invokeUpdate)({type:"LoadedFromCache",importPath:n},this.options),null==a?[3,5]:(s=a,[3,7])):[3,8];case 5:return[4,this.cache.getFile(n)];case 6:s=i.sent(),i.label=7;case 7:return[2,s];case 8:return[4,this.sourceResolver.resolveSourceFile(e,t,r)];case 9:return(a=i.sent())&&((0,v.invokeUpdate)({type:"StoredToCache",importPath:n},this.options),this.cache.storeFile(n,a)),[2,a]}})})},t}();return p.ImportResolver=m,p}function C(){if(_)return o;_=1;var t=o&&o.__assign||function(){return t=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},t.apply(this,arguments)},r=o&&o.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var o=Object.getOwnPropertyDescriptor(t,r);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,o)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),n=o&&o.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),a=o&&o.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var o in e)"default"!==o&&Object.prototype.hasOwnProperty.call(e,o)&&r(t,e,o);return n(t,e),t},c=o&&o.__awaiter||function(e,t,r,n){return new(r||(r=Promise))(function(o,i){function a(e){try{c(n.next(e))}catch(e){i(e)}}function s(e){try{c(n.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(a,s)}c((n=n.apply(e,t||[])).next())})},u=o&&o.__generator||function(e,t){var r,n,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(r)throw new TypeError("Generator is already executing.");for(;a;)try{if(r=1,n&&(o=2&i[0]?n.return:i[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,i[1])).done)return o;switch(n=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,n=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!((o=(o=a.trys).length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],n=0}finally{r=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}},l=o&&o.__values||function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(o,"__esModule",{value:!0}),o.AutoTypingsCore=void 0;var p=function(){if(e)return i;e=1,Object.defineProperty(i,"__esModule",{value:!0}),i.DummySourceCache=void 0;var t=function(){function e(){}return e.prototype.getFile=function(e){return Promise.resolve(void 0)},e.prototype.isFileAvailable=function(e){return Promise.resolve(!1)},e.prototype.storeFile=function(e,t){return Promise.resolve(void 0)},e.prototype.clear=function(){return Promise.resolve(void 0)},e}();return i.DummySourceCache=t,i}(),h=s(),d=R(),v=a(f()),y=b(),g=j(),m=function(){function e(e,r){var n=this;this.editor=e,this.options=r,this.disposables=[],this.importResolver=new d.ImportResolver(r);var o=e.onDidChangeModelContent(function(e){n.debouncedResolveContents()});this.disposables.push(o),this.resolveContents(),r.dontAdaptEditorOptions||r.monaco.languages.typescript.typescriptDefaults.setCompilerOptions(t(t({},r.monaco.languages.typescript.typescriptDefaults.getCompilerOptions()),{moduleResolution:r.monaco.languages.typescript.ModuleResolutionKind.NodeJs,allowSyntheticDefaultImports:!0,rootDir:r.fileRootPath}))}return e.create=function(r,n){var o,i;return c(this,void 0,void 0,function(){var a;return u(this,function(s){if((null==n?void 0:n.shareCache)&&n.sourceCache&&!e.sharedCache&&(e.sharedCache=n.sourceCache),!(a=null==n?void 0:n.monaco))throw new Error("monacoInstance not found, you can specify the monaco instance via options.monaco");return[2,new e(r,t(t({fileRootPath:"inmemory://model/",onlySpecifiedPackages:!1,preloadPackages:!1,shareCache:!1,dontAdaptEditorOptions:!1,dontRefreshModelValueAfterResolvement:!1,sourceCache:null!==(o=e.sharedCache)&&void 0!==o?o:new p.DummySourceCache,sourceResolver:null!==(i=null==n?void 0:n.sourceResolver)&&void 0!==i?i:new h.JsDelivrSourceResolver,debounceDuration:4e3,fileRecursionDepth:10,packageRecursionDepth:3},n),{monaco:a}))]})})},e.prototype.dispose=function(){var e,t;try{for(var r=l(this.disposables),n=r.next();!n.done;n=r.next())n.value.dispose()}catch(t){e={error:t}}finally{try{n&&!n.done&&(t=r.return)&&t.call(r)}finally{if(e)throw e.error}}},e.prototype.setVersions=function(e){this.importResolver.setVersions(e),this.options.versions=e},e.prototype.clearCache=function(){return c(this,void 0,void 0,function(){return u(this,function(e){switch(e.label){case 0:return[4,this.options.sourceCache.clear()];case 1:return e.sent(),[2]}})})},e.prototype.debouncedResolveContents=function(){var e=this;this.isResolving||((0,y.invokeUpdate)({type:"CodeChanged"},this.options),this.options.debounceDuration<=0?this.resolveContents():(void 0!==this.debounceTimer&&clearTimeout(this.debounceTimer),this.debounceTimer=setTimeout(function(){return c(e,void 0,void 0,function(){return u(this,function(e){switch(e.label){case 0:return[4,this.resolveContents()];case 1:return e.sent(),this.debounceTimer=void 0,[2]}})})},this.options.debounceDuration)))},e.prototype.resolveContents=function(){var e;return c(this,void 0,void 0,function(){var t,r,n,o;return u(this,function(i){switch(i.label){case 0:if(this.isResolving=!0,(0,y.invokeUpdate)({type:"ResolveNewImports"},this.options),!(t=this.editor.getModel()))throw Error("No model");r=t.getLinesContent(),i.label=1;case 1:return i.trys.push([1,3,,4]),[4,this.importResolver.resolveImportsInFile(r.join("\n"),v.dirname(t.uri.toString()),new g.RecursionDepth(this.options))];case 2:return i.sent(),[3,4];case 3:if(n=i.sent(),!this.options.onError)throw n;return this.options.onError(null!==(e=n.message)&&void 0!==e?e:n),[3,4];case 4:return this.importResolver.wereNewImportsResolved()&&(this.options.dontRefreshModelValueAfterResolvement||(o=this.editor.getPosition(),t.setValue(t.getValue()),o&&this.editor.setPosition(o)),this.importResolver.resetNewImportsResolved()),this.isResolving=!1,[2]}})})},e}();return o.AutoTypingsCore=m,o}var S,x,A,D,E,T,F,N,I,M={},U={},L={},G={},J={},V={};const W=function(e,t){for(var r=0;r<t.length;r++){const n=t[r];if("string"!=typeof n&&!Array.isArray(n))for(const t in n)if("default"!==t&&!(t in e)){const r=Object.getOwnPropertyDescriptor(n,t);r&&Object.defineProperty(e,t,r.get?r:{enumerable:!0,get:()=>n[t]})}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}({__proto__:null},[I?N:(I=1,N=function(){return F||(F=1,e=r,t=r&&r.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var o=Object.getOwnPropertyDescriptor(t,r);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,o)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=r&&r.__exportStar||function(e,r){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(r,n)||t(r,e,n)},Object.defineProperty(e,"__esModule",{value:!0}),o(function(){if(P)return n;P=1;var e,t=n&&n.__extends||(e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},e(t,r)},function(t,r){if("function"!=typeof r&&null!==r)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)});Object.defineProperty(n,"__esModule",{value:!0}),n.AutoTypings=void 0;var r=function(e){function r(t,r){return e.call(this,t,r)||this}return t(r,e),r}(C().AutoTypingsCore);return n.AutoTypings=r,n}(),e),o(y(),e),o(function(){if(S)return M;S=1;var e=M&&M.__awaiter||function(e,t,r,n){return new(r||(r=Promise))(function(o,i){function a(e){try{c(n.next(e))}catch(e){i(e)}}function s(e){try{c(n.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(a,s)}c((n=n.apply(e,t||[])).next())})},t=M&&M.__generator||function(e,t){var r,n,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(r)throw new TypeError("Generator is already executing.");for(;a;)try{if(r=1,n&&(o=2&i[0]?n.return:i[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,i[1])).done)return o;switch(n=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,n=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!((o=(o=a.trys).length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],n=0}finally{r=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}},r=M&&M.__values||function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(M,"__esModule",{value:!0}),M.LocalStorageCache=void 0;var n=function(){function n(){this.localCache={}}return n.prototype.getFile=function(r){var o;return e(this,void 0,void 0,function(){return t(this,function(e){try{return[2,null!==(o=localStorage.getItem(n.LOCALSTORAGE_PREFIX+r))&&void 0!==o?o:void 0]}catch(e){return[2,this.localCache[r]]}return[2]})})},n.prototype.storeFile=function(r,o){return e(this,void 0,void 0,function(){return t(this,function(e){this.localCache[r]=o;try{localStorage.setItem(n.LOCALSTORAGE_PREFIX+r,o)}catch(e){}return[2]})})},n.prototype.clear=function(){return e(this,void 0,void 0,function(){var e,o,i,a,s,c,u;return t(this,function(t){for(this.localCache={},e=[],o=0;o<localStorage.length;o++)(null==(s=localStorage.key(o))?void 0:s.startsWith(n.LOCALSTORAGE_PREFIX))&&e.push(s);try{for(i=r(e),a=i.next();!a.done;a=i.next())s=a.value,localStorage.removeItem(s)}catch(e){c={error:e}}finally{try{a&&!a.done&&(u=i.return)&&u.call(i)}finally{if(c)throw c.error}}return[2]})})},n.LOCALSTORAGE_PREFIX="__autotyper_cache_",n}();return M.LocalStorageCache=n,M}(),e),o((x||(x=1,Object.defineProperty(U,"__esModule",{value:!0})),U),e),o((A||(A=1,Object.defineProperty(L,"__esModule",{value:!0})),L),e),o((D||(D=1,Object.defineProperty(G,"__esModule",{value:!0})),G),e),o((E||(E=1,Object.defineProperty(J,"__esModule",{value:!0})),J),e),o(function(){if(T)return V;T=1;var e=V&&V.__awaiter||function(e,t,r,n){return new(r||(r=Promise))(function(o,i){function a(e){try{c(n.next(e))}catch(e){i(e)}}function s(e){try{c(n.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(a,s)}c((n=n.apply(e,t||[])).next())})},t=V&&V.__generator||function(e,t){var r,n,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(r)throw new TypeError("Generator is already executing.");for(;a;)try{if(r=1,n&&(o=2&i[0]?n.return:i[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,i[1])).done)return o;switch(n=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,n=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!((o=(o=a.trys).length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],n=0}finally{r=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}};Object.defineProperty(V,"__esModule",{value:!0}),V.UnpkgSourceResolver=void 0;var r=function(){function r(){}return r.prototype.resolvePackageJson=function(r,n,o){return e(this,void 0,void 0,function(){return t(this,function(e){switch(e.label){case 0:return[4,this.resolveFile("https://unpkg.com/".concat(r).concat(n?"@".concat(n):"").concat(o?"/".concat(o):"","/package.json"))];case 1:return[2,e.sent()]}})})},r.prototype.resolveSourceFile=function(r,n,o){return e(this,void 0,void 0,function(){return t(this,function(e){switch(e.label){case 0:return[4,this.resolveFile("https://unpkg.com/".concat(r).concat(n?"@".concat(n):"","/").concat(o))];case 1:return[2,e.sent()]}})})},r.prototype.resolveFile=function(r){return e(this,void 0,void 0,function(){var e;return t(this,function(t){switch(t.label){case 0:return[4,fetch(r,{method:"GET"})];case 1:return(e=t.sent()).ok?[4,e.text()]:[3,3];case 2:return[2,t.sent()];case 3:if(404===e.status)return[2,""];throw Error("Error other than 404 while fetching from Unpkg at ".concat(r));case 4:return[2]}})})},r}();return V.UnpkgSourceResolver=r,V}(),e),o(s(),e)),r;var e,t,o}())]);exports.c=W;
@@ -1,7 +0,0 @@
1
- /**
2
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.4.13
3
- *
4
- * (C) 2025-present SheetXL Inc. & Michael T. Ford
5
- * License: The license can be found at https://www.sheetxl.com/license.
6
- */
7
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});exports.default={BESSELI:{s:"Returns the modified Bessel function In(x)",p:{x:{d:"is the value at which to evaluate the function"},n:{d:"is the order of the Bessel function"}}},BESSELJ:{s:"Returns the Bessel function Jn(x)",p:{x:{d:"is the value at which to evaluate the function"},n:{d:"is the order of the Bessel function"}}},BESSELK:{s:"Returns the modified Bessel function Kn(x)",p:{x:{d:"is the value at which to evaluate the function"},n:{d:"is the order of the function"}}},BESSELY:{s:"Returns the Bessel function Yn(x)",p:{x:{d:"is the value at which to evaluate the function"},n:{d:"is the order of the function"}}}};