@sheetxl/studio-vanilla 0.8.0-beta.1 → 0.8.0-beta.10

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 (539) hide show
  1. package/browser/esm/-LoBx7J6imeqaxCq.mjs +236 -0
  2. package/browser/esm/8-jmVNNbOHuXFdVQ.mjs +392 -0
  3. package/browser/esm/{CJPemkFUzhcAD_qR.mjs → B00ixdmb8-O5ijEp.mjs} +1 -1
  4. package/{cdn/assets/Bv_96nwOEMHN9Sa0.js → browser/esm/B0Wjc3lwtjKMwnvn.mjs} +27 -29
  5. package/browser/esm/B3Ii8x6RquHW1jMc.mjs +299 -0
  6. package/{cdn/assets/C_Io1QC4CeLGRBrz.js → browser/esm/B7iV5qzlmJlM2nQv.mjs} +179 -202
  7. package/{cdn/assets/D_t53-8k73CNpV-p2.js → browser/esm/BAH_cWcQEIBKWnl6.mjs} +94 -74
  8. package/browser/esm/BAdRecWK1maKGOZd.mjs +142 -0
  9. package/browser/esm/BBjgqNlHm-ssbSAG.mjs +47 -0
  10. package/browser/esm/BCWTI3jdTPG37r8W.mjs +46 -0
  11. package/browser/esm/{Dnx3_xXfRlD6ECfZ2.mjs → BMlPFJ1glExv-70Z.mjs} +5 -5
  12. package/browser/esm/{DBL3Qp5jyPrFg7KI2.mjs → BN2d5U1nw7pRtOrn.mjs} +1 -1
  13. package/browser/esm/BNIInlJQbJjH8B6G.mjs +84250 -0
  14. package/browser/esm/BPrHgyAsm2Htx15h.mjs +67 -0
  15. package/browser/esm/BRfat1fV3oGLwvin.mjs +76 -0
  16. package/browser/esm/{8V-VceXEjpADM8qK2.mjs → BSCja5yvevmKZPBB.mjs} +1 -1
  17. package/browser/esm/BThOwSja2ra4xejQ.mjs +6306 -0
  18. package/browser/esm/BVJUL2HhoedhbwVy.mjs +77 -0
  19. package/browser/esm/{CfvrjQGuf7vXiQCB.mjs → BWo1N4YbK_zGU0nu.mjs} +1 -1
  20. package/browser/esm/B_HB4y7AA88Z775Z.mjs +91 -0
  21. package/browser/esm/BaEZmurTZnX_yfKD.mjs +1082 -0
  22. package/browser/esm/BeMLfv6hWo15VCIL.mjs +239 -0
  23. package/{cdn/assets/C1ZePT2B182vSnxW.js → browser/esm/BhkeuRcx8RlLCQ5E.mjs} +1 -1
  24. package/browser/esm/Bi5-feQLtwpV6Ai8.mjs +57 -0
  25. package/browser/esm/BlPn_DXaEXOPxMxC.mjs +540 -0
  26. package/browser/esm/{B4iT_CduJeJunwBc.mjs → BsUrrzAgfyAdcCJW.mjs} +28 -13
  27. package/browser/esm/{47Yv4X226-93If7L.mjs → BtGmrIqU9W1L8zfZ.mjs} +1 -1
  28. package/browser/esm/BtdRr6IbtO6Gypsk.mjs +27 -0
  29. package/browser/esm/BwOxnbR61WFJwy0A.mjs +607 -0
  30. package/browser/esm/BxhKgo_rPQ2d12HT.mjs +35 -0
  31. package/browser/esm/By3a43qwWICwXRmw.mjs +8035 -0
  32. package/browser/esm/{BqTFwWLbXXJ0Fu-X2.mjs → ByUcqyCNfqi5Mm7w.mjs} +2 -2
  33. package/browser/esm/{Blc1T4zLkp8bRC_n2.mjs → ByqhqEMBLrnkaPKE.mjs} +28 -27
  34. package/{cdn/assets/8f9hCbpXTTYEgG31.js → browser/esm/C-0viTjg1dT2F-sk.mjs} +2 -2
  35. package/{cdn/assets/BMRav2VAqEzDSp3r.js → browser/esm/C3r_9RqlWrEmlXZ1.mjs} +37 -3
  36. package/browser/esm/C4VT6lNbpaDXCpBb.mjs +8820 -0
  37. package/browser/esm/{Be4QC65cR8N84rTn.mjs → C5EKgE9Owsc_juw-.mjs} +1 -1
  38. package/browser/esm/{1guzFZp1LHz_FwfL.mjs → C9NyIoUahFiyRCxP.mjs} +2 -2
  39. package/{cdn/assets/BykiUmcpDgSRNQI1.js → browser/esm/CBdNC7BOfc5TewHU.mjs} +1 -1
  40. package/browser/esm/CCd192S7yVpc6iOe.mjs +118 -0
  41. package/browser/esm/{BLcn1kGRsjURZSzk.mjs → CDsuiN--qdALFyql.mjs} +179 -202
  42. package/{cdn/assets/BDkVAo0CDCTE04ZJ.js → browser/esm/CFvKDDbrL3wpXnQH.mjs} +1 -1
  43. package/browser/esm/{CH0of3GZTzHviuQV.mjs → CHMqT9DzYKTxPfP6.mjs} +2 -2
  44. package/browser/esm/{CEN8dYSpN2oew8HH.mjs → CMxbiQ5J79M3n1tk.mjs} +604 -405
  45. package/browser/esm/{vcRSnmAqjwKglEkY.mjs → CQOyeq_-pg3CM-uA.mjs} +6 -7
  46. package/browser/esm/CQuv-nk5jtXUfu7C.mjs +7 -0
  47. package/browser/esm/CRAzVh3CaAa16avf.mjs +521 -0
  48. package/{cdn/assets/hFSDx-LnUOObv-6h.js → browser/esm/CSEMxasVyGCekxKf.mjs} +6 -7
  49. package/browser/esm/CTI-mCJbJzitJZwj.mjs +25 -0
  50. package/{cdn/assets/CdMv3f8Gyxh8q2RR.js → browser/esm/CTdFZ_I-41Vr6Dy4.mjs} +1 -1
  51. package/browser/esm/CVcCUfSRsiZ1-6hs.mjs +119 -0
  52. package/browser/esm/CVxlfyE-gnJM8hOz.mjs +177 -0
  53. package/browser/esm/CWJzHmEgahdOfNjH.mjs +527 -0
  54. package/browser/esm/CWoPWWRwMgkGPFFP.mjs +7393 -0
  55. package/browser/esm/CZOJogyZqMfUxcXj.mjs +1141 -0
  56. package/{cdn/assets/DLEdaT0MmrOxMa2h2.js → browser/esm/CaS8_J5HfBRk5_Nw.mjs} +94 -94
  57. package/browser/esm/CdeXXPCp5cCYvGyD.mjs +14 -0
  58. package/browser/esm/{BVRzmIk5PujkT_Ap.mjs → CfltjY8hY-RPwwpd.mjs} +582 -551
  59. package/browser/esm/Chr_TXM-48IsK8Va.mjs +155 -0
  60. package/browser/esm/{DTaVECXVrgvC48BE.mjs → ClJvUf8aR8vNC_3Z.mjs} +6 -6
  61. package/browser/esm/Clx8vvGDOTWK_M2l.mjs +484 -0
  62. package/browser/esm/CnWNviK4qlX2GVl6.mjs +73 -0
  63. package/browser/esm/{CQM87ZBN7Yzn4Yxr.mjs → Cpza4AeltEVHASij.mjs} +3 -3
  64. package/browser/esm/{BceIETi6JJRW6Ss62.mjs → CqoHxlGpZ3yzPj5V.mjs} +22 -21
  65. package/{cdn/assets/iXWgTu3qpYZHcx1J.js → browser/esm/CtZPEkaldpJpoGtW.mjs} +2197 -2013
  66. package/browser/esm/CvWGtHslTdesJik-.mjs +69 -0
  67. package/browser/esm/Cw-4uoMuq_m7ziA3.mjs +36 -0
  68. package/browser/esm/CxCipDFamYSOctBo.mjs +299 -0
  69. package/browser/esm/Cy00y9b9j17Txyv1.mjs +466 -0
  70. package/browser/esm/D-55MlIn7Wo_hdjI.mjs +905 -0
  71. package/browser/esm/D-9f1NKcpuYSgond.mjs +412 -0
  72. package/browser/esm/D-KZpU6HMaP4VUva.mjs +357 -0
  73. package/browser/esm/D0r2MPlWLnStWJNW.mjs +622 -0
  74. package/browser/esm/{9_bymSfTn_rR_v6W.mjs → D2aQPiGg0ZoMYzuf.mjs} +22 -21
  75. package/{cdn/assets/DKeLjEJPO9nT3bpr.js → browser/esm/D2coM-dNrlLpnUu5.mjs} +1000 -1010
  76. package/browser/esm/D7CGuQcwpkiuesEI.mjs +229 -0
  77. package/browser/esm/{RW23HF8taEtW8q9D.mjs → D7DWH3-5fBNx8jtc.mjs} +182 -132
  78. package/browser/esm/D7kkzIFPqKBK94kO.mjs +17952 -0
  79. package/browser/esm/D88StfSjZJi5E8Xb.mjs +5153 -0
  80. package/browser/esm/D8exjrado9TJrBp-.mjs +1946 -0
  81. package/browser/esm/DAE3Kv0Vs0VuBecT.mjs +32 -0
  82. package/browser/esm/DAprxR00V9qvNLL2.mjs +6607 -0
  83. package/browser/esm/DEvZj68igS7Q8SZE.mjs +763 -0
  84. package/browser/esm/DG3BfxRsbjey-B7E.mjs +441 -0
  85. package/browser/esm/DGCOPbZbEmt0x9z0.mjs +155 -0
  86. package/browser/esm/DGcvio2uhlrsE3ZY.mjs +236 -0
  87. package/browser/esm/DGuynZFJ9tqziqQs.mjs +92 -0
  88. package/browser/esm/DJqj66SnUcx0QmSN.mjs +15 -0
  89. package/browser/esm/DLhK_oSGg71ry6-m.mjs +86 -0
  90. package/{cdn/assets/D9-wpGVbTS9rRpxx.js → browser/esm/DLqc11Pf8vaE4Q5B.mjs} +2 -2
  91. package/browser/esm/DNCqTF9EbT-U1TdV.mjs +20 -0
  92. package/browser/esm/{R5bs6kCQSZmsCXz-.mjs → DNaPo7BQu6hr1fWq.mjs} +1 -1
  93. package/browser/esm/{BCkXtOM3yKocv7L-2.mjs → DQEjvIGMgEkiaP6J.mjs} +1 -1
  94. package/{cdn/assets/CAPgMrAKg07EREFD2.js → browser/esm/DQIRFXG4MveFkK3I.mjs} +1 -1
  95. package/browser/esm/{DrUEYcXg6N2D2s1Z2.mjs → DRm1R4uVOkaMfXNI.mjs} +51 -11
  96. package/browser/esm/DSf-Db1h8rlW2A6n.mjs +122 -0
  97. package/browser/esm/DSviq1TNoiIAGW7W.mjs +32 -0
  98. package/{cdn/assets/UYgwKnPX3US3Cj2k2.js → browser/esm/DTn9oYyiIYgyijAk.mjs} +110 -83
  99. package/{cdn/assets/Clfp7SznkOrJoQvL.js → browser/esm/DVpi1vC8ixXvUQG_.mjs} +3 -3
  100. package/browser/esm/{BOl4FzJRD7MplCU72.mjs → DWgp4t9N9u0eWthH.mjs} +1 -1
  101. package/{cdn/assets/B5ZqqASTcBEV5L9K.js → browser/esm/DXo8mR6t5HGsmTcu.mjs} +1 -1
  102. package/browser/esm/DZRmBfjn2TgOTu5e.mjs +3604 -0
  103. package/browser/esm/{DVZ_UnchuMRveDG32.mjs → D_7BWdsu8yejhUxy.mjs} +184 -11
  104. package/browser/esm/D_thhK0vSez8Yfle.mjs +798 -0
  105. package/browser/esm/DaMKWQQTgIF08cT7.mjs +105 -0
  106. package/browser/esm/Db6Tvr45TS9J5Qsb.mjs +259 -0
  107. package/{cdn/assets/EwzqnZl1lTr56hH-.js → browser/esm/Dc2ZwgbIEgYWwAsF.mjs} +1 -1
  108. package/{cdn/assets/DQ4o4dG7gWbL1X8F.js → browser/esm/DeUXRggj8Oz9ru_i.mjs} +2 -2
  109. package/{cdn/assets/DRc_Wi5c7WdKHTVN.js → browser/esm/DfESVLC8CAi8m8A7.mjs} +6 -6
  110. package/browser/esm/{D3G3tI3DVCUF3Gdk.mjs → DjdkGy-EI1kSo226.mjs} +7 -5
  111. package/browser/esm/DjtXfgbmXjUAoG0y.mjs +58 -0
  112. package/browser/esm/DlOVZD0OiAjouS6-.mjs +3563 -0
  113. package/browser/esm/Dme0qpRinBnhzp53.mjs +519 -0
  114. package/browser/esm/DnyZmrwPxShyeUjm.mjs +849 -0
  115. package/browser/esm/DoS1sE431fEhdOQb.mjs +216 -0
  116. package/browser/esm/DqBj-9o7UdXu4qhb.mjs +33 -0
  117. package/browser/esm/{DZbR5R1fNikjgqYb.mjs → DrI_S0A9TQvriTua.mjs} +1 -1
  118. package/browser/esm/Dv2z0548SZRGTN3l.mjs +149 -0
  119. package/browser/esm/{D6SKy2BtcWkhfiA02.mjs → Dv8aQFTTaQBJKDDk.mjs} +2 -5
  120. package/browser/esm/DvWCBuY0jAL-RmJV.mjs +3363 -0
  121. package/browser/esm/Dwxz0s23ra1tRtsH.mjs +7 -0
  122. package/browser/esm/{Cbw0JeJURvQyxIoa.mjs → DxcRLd7wmBGDgJsA.mjs} +1 -1
  123. package/{cdn/assets/DOsbSsKsexrBoeXa2.js → browser/esm/DxwprgjYhcmfDbXH.mjs} +24 -24
  124. package/browser/esm/{Dc0BDcQUGy_WIVFa.mjs → Dy44qJVkwNseMG-3.mjs} +1 -1
  125. package/browser/esm/DyeY6XwMQ_XNUHiW.mjs +89 -0
  126. package/browser/esm/{BD7RxHQgrqy_4tb5.mjs → ErIXJFPDFXwGEL8V.mjs} +2 -2
  127. package/{cdn/assets/COA_SZY2x8q6t4BD.js → browser/esm/FO1Jezau486fH4kN.mjs} +7 -6
  128. package/browser/esm/FjNOhkR7-JAIaRP6.mjs +19 -0
  129. package/browser/esm/H-JnJQMcZQbpvjdb.mjs +2706 -0
  130. package/browser/esm/J9i3r1fU0H10b2hX.mjs +1001 -0
  131. package/browser/esm/LAbUYeLiPG8z9cmA.mjs +277 -0
  132. package/browser/esm/M7RYrx20B_Yl_euJ.mjs +400 -0
  133. package/browser/esm/{Gy0CHZTvn4hY-rkx2.mjs → PtGiIWFBYP-ujLmf.mjs} +1 -1
  134. package/browser/esm/RLU85PsAYtKPUf6N.mjs +71 -0
  135. package/browser/esm/{qG5zdZZAe6mQIJo32.mjs → RfHd1JATBlcsfLPv.mjs} +5 -5
  136. package/{cdn/assets/CtXoSHbCUKMY-tSJ2.js → browser/esm/SNze-adFJwKuGSQW.mjs} +48 -2
  137. package/browser/esm/UTZcodQydbuMfCOS.mjs +171 -0
  138. package/browser/esm/{BHmYoIIbNW3GdcqV2.mjs → VwGokBaawZfZiV2X.mjs} +1 -1
  139. package/browser/esm/WMYR09ZOR8JbZEnx.mjs +4748 -0
  140. package/browser/esm/{DW72HwfnJtQxzoGa.mjs → ZbGPiRN9j0629JJQ.mjs} +2 -2
  141. package/browser/esm/{CR3jgkduTLczbMjH2.mjs → ZxsFYopF0_WWqw4Q.mjs} +1 -1
  142. package/browser/esm/_MPToH4oMe4rhTdZ.mjs +63 -0
  143. package/{cdn/assets/BHBJtVTiQByD_y9j2.js → browser/esm/_t0Mx-mUFVtmVNkU.mjs} +2 -2
  144. package/browser/esm/{B0HA_dHcr0kKfudQ.mjs → _zRV52yhE4gPf3XI.mjs} +213 -190
  145. package/browser/esm/aUREGNA8H7p4BpMK.mjs +33 -0
  146. package/browser/esm/cwuYkcKwsKkPe3gG.mjs +598 -0
  147. package/browser/esm/{NekeSGoazNCraGNC2.mjs → djM9mJznx8GzVq51.mjs} +16 -15
  148. package/browser/esm/{DuPdSe-EXFTx9dsc2.mjs → f1OJemsiZnbwnds-.mjs} +16 -15
  149. package/{cdn/assets/DQ-0yyFAwoWtxmhV2.js → browser/esm/i0P63Wd0RRlgJotb.mjs} +1 -1
  150. package/browser/esm/{B4vYIE3kSPTxCgpf2.mjs → iC69oOND5T8khIWf.mjs} +18 -17
  151. package/browser/esm/index.mjs +644 -48
  152. package/browser/esm/{7rixDGGrR72lXkMV.mjs → kVBPUUnVyZfb8pf3.mjs} +52 -52
  153. package/{cdn/assets/BCZjYGV8AqIZghBH.js → browser/esm/lqknEt3DTma5Juxs.mjs} +69 -4
  154. package/browser/esm/mZ92wNrHVpYdli1U.mjs +182 -0
  155. package/browser/esm/{DtXC6uPF2LLktqFE.mjs → pKc_RPdZPLAgvNDh.mjs} +2 -2
  156. package/browser/esm/{BPv6Pw1hW-sV5Fya.mjs → pc49xtHdprXZLW2X.mjs} +1 -1
  157. package/browser/esm/px-aQ8dMjiWag_pV.mjs +167 -0
  158. package/browser/esm/qYca4mdySLkACfo1.mjs +37 -0
  159. package/browser/esm/r2Az2Yc4_qj2-sn0.mjs +398 -0
  160. package/browser/esm/{DXWmgQSeh0_HDxZj.mjs → rY-dC3WB558TIbum.mjs} +4 -4
  161. package/browser/esm/rkTVQiYG3wd8oPom.mjs +2452 -0
  162. package/browser/esm/sDVzjXC1mS5rucF5.mjs +2447 -0
  163. package/browser/esm/sxxbiJiCMOW2Eivd.mjs +24952 -0
  164. package/{cdn/assets/CopfZ7Y1Zn_PDNXK.js → browser/esm/vGKTE7yjY8y-XnsW.mjs} +16 -11
  165. package/browser/esm/{CG5v2hAwGR5Ptufn.mjs → x6GcENwqoUVbd60j.mjs} +1 -1
  166. package/{cdn/assets/CGqvy5LwQ4z9J2oD.js → browser/esm/ycmpAs4kQfeh78Pa.mjs} +1 -1
  167. package/browser/esm/ztqpWR65YYMZ3EPk.mjs +811 -0
  168. package/cdn/assets/0vqRTRN0wEzWao1c.js +522 -0
  169. package/cdn/assets/514mXPTuNvdNgw35.js +412 -0
  170. package/{browser/esm/DVQNQmjI2PKkwiOw2.mjs → cdn/assets/7Sg0ht_ZCMJkPurt.js} +89 -87
  171. package/cdn/assets/{mtrwY1hjJeYlmzC-.js → 7i4WSxDsu2ApJJ2_.js} +6 -6
  172. package/cdn/assets/AjMG7Fb9r4Fk7Hsf.js +78 -0
  173. package/cdn/assets/{CJPemkFUzhcAD_qR.js → B00ixdmb8-O5ijEp.js} +1 -1
  174. package/{browser/esm/Bv_96nwOEMHN9Sa02.mjs → cdn/assets/B0Wjc3lwtjKMwnvn.js} +27 -29
  175. package/cdn/assets/B27vTQlxbHhSQJx8.js +24953 -0
  176. package/cdn/assets/B3NWCYKXucbHhOix.js +93 -0
  177. package/{browser/esm/D_t53-8k73CNpV-p.mjs → cdn/assets/BAH_cWcQEIBKWnl6.js} +94 -74
  178. package/cdn/assets/BAdRecWK1maKGOZd.js +142 -0
  179. package/cdn/assets/BB4MW8sSYEXjPvvf.js +64 -0
  180. package/cdn/assets/BBjgqNlHm-ssbSAG.js +47 -0
  181. package/cdn/assets/BI6afPOpgNYkzIWv.js +6609 -0
  182. package/cdn/assets/{CF8m5SqeMaRkGIYM.js → BIsbcP5RXRU2XPfx.js} +2 -2
  183. package/cdn/assets/{Dnx3_xXfRlD6ECfZ.js → BMlPFJ1glExv-70Z.js} +5 -5
  184. package/cdn/assets/{DBL3Qp5jyPrFg7KI.js → BN2d5U1nw7pRtOrn.js} +1 -1
  185. package/cdn/assets/BNsqqoZY7a4N1wWC.js +905 -0
  186. package/cdn/assets/BPrHgyAsm2Htx15h.js +67 -0
  187. package/cdn/assets/{8V-VceXEjpADM8qK.js → BSCja5yvevmKZPBB.js} +1 -1
  188. package/cdn/assets/{CfvrjQGuf7vXiQCB2.js → BWo1N4YbK_zGU0nu.js} +1 -1
  189. package/cdn/assets/B_3Musz0q2MSZ5H-.js +799 -0
  190. package/cdn/assets/Ba8taVvLslFcKS72.js +119 -0
  191. package/cdn/assets/{CBuvbUg67ah_3BOZ.js → BeQ95CzwR65il0CK.js} +2 -2
  192. package/cdn/assets/BelX6bvQPsGuo-x3.js +7 -0
  193. package/cdn/assets/{C8mUyjJ26jsHGl_D.js → Bgbi7BFR3rN5qj51.js} +22 -21
  194. package/cdn/assets/BgyY4zVPZSXljoCZ.js +14 -0
  195. package/{browser/esm/C1ZePT2B182vSnxW2.mjs → cdn/assets/BhkeuRcx8RlLCQ5E.js} +1 -1
  196. package/cdn/assets/BlIZ30huelIxNo6S.js +91 -0
  197. package/cdn/assets/BlPn_DXaEXOPxMxC.js +540 -0
  198. package/cdn/assets/BoFx07POTorOb5g-.js +7393 -0
  199. package/cdn/assets/{-2S675KWulPRlVNb2.js → BpZ7P0CO148rR4zW.js} +23 -22
  200. package/cdn/assets/BsTFy_iJXJYmaO3Z.js +763 -0
  201. package/cdn/assets/{j8nXVEYbO2kPuEYQ.js → Bsn-tUx172sEG2kR.js} +59 -47
  202. package/cdn/assets/{47Yv4X226-93If7L2.js → BtGmrIqU9W1L8zfZ.js} +1 -1
  203. package/cdn/assets/BuYS_ZjSlcvWZ1JC.js +8035 -0
  204. package/cdn/assets/BvlfKrfrDhE9Jw4d.js +598 -0
  205. package/cdn/assets/BwOxnbR61WFJwy0A.js +607 -0
  206. package/cdn/assets/BxqXOiOyI_XiOmvN.js +156 -0
  207. package/cdn/assets/{BqTFwWLbXXJ0Fu-X.js → ByUcqyCNfqi5Mm7w.js} +2 -2
  208. package/{browser/esm/CsufM5aF6VTLKDWM.mjs → cdn/assets/BzbP4jaN13wC9aSi.js} +58 -55
  209. package/{browser/esm/8f9hCbpXTTYEgG312.mjs → cdn/assets/C-0viTjg1dT2F-sk.js} +2 -2
  210. package/cdn/assets/C0CeCYdLWLjySEFe.js +123 -0
  211. package/cdn/assets/{B55nrhIK6gAAu4ZA.js → C32co-XulWTkEKrW.js} +2 -2
  212. package/{browser/esm/BMRav2VAqEzDSp3r2.mjs → cdn/assets/C3r_9RqlWrEmlXZ1.js} +37 -3
  213. package/cdn/assets/{Be4QC65cR8N84rTn2.js → C5EKgE9Owsc_juw-.js} +1 -1
  214. package/cdn/assets/C6INLvBy8kdzFpsX.js +2447 -0
  215. package/cdn/assets/C7fu6LrSMBlHqwUy.js +46 -0
  216. package/{browser/esm/DMX-ZlC_ljcf7oUN.mjs → cdn/assets/C9NyIoUahFiyRCxP.js} +2 -2
  217. package/{browser/esm/BykiUmcpDgSRNQI12.mjs → cdn/assets/CBdNC7BOfc5TewHU.js} +1 -1
  218. package/cdn/assets/{DZDynaLqNeVaDoiH2.js → CCvBdPu7W2ZF6A9J.js} +3 -3
  219. package/cdn/assets/{Chq4BwbjH0sbIkJN2.js → CDAYVaQYywqaxg4O.js} +28 -13
  220. package/cdn/assets/CEYyp6Qrr_IopxpL.js +22597 -0
  221. package/cdn/assets/CFBgmXap8kmumhoz.js +622 -0
  222. package/{browser/esm/BDkVAo0CDCTE04ZJ2.mjs → cdn/assets/CFvKDDbrL3wpXnQH.js} +1 -1
  223. package/cdn/assets/{1guzFZp1LHz_FwfL2.js → CHMqT9DzYKTxPfP6.js} +2 -2
  224. package/cdn/assets/CILUMtSddGz7WXEv.js +240 -0
  225. package/cdn/assets/{DnzDlqizzNkbhJP7.js → CIyaijfp6itgRpFM.js} +95 -87
  226. package/cdn/assets/{DW7JlG-SQEdLYNar2.js → CL6Tgu_rUO6G-fyq.js} +183 -10
  227. package/cdn/assets/CMVTwWHsRgyfSEDM.js +300 -0
  228. package/cdn/assets/{CEN8dYSpN2oew8HH2.js → CMxbiQ5J79M3n1tk.js} +604 -405
  229. package/cdn/assets/COMOqucXq7X1vi0P.js +230 -0
  230. package/cdn/assets/{vcRSnmAqjwKglEkY2.js → CQOyeq_-pg3CM-uA.js} +6 -7
  231. package/cdn/assets/{c6VvwMHfXubjjtyj.js → CRXSrbGNABtzf532.js} +141 -126
  232. package/{browser/esm/hFSDx-LnUOObv-6h2.mjs → cdn/assets/CSEMxasVyGCekxKf.js} +6 -7
  233. package/cdn/assets/CSIZpJClc66_20kP.js +849 -0
  234. package/cdn/assets/CTI-mCJbJzitJZwj.js +25 -0
  235. package/{browser/esm/CdMv3f8Gyxh8q2RR2.mjs → cdn/assets/CTdFZ_I-41Vr6Dy4.js} +1 -1
  236. package/cdn/assets/CTvPIYWTcjwlJeEA.js +237 -0
  237. package/cdn/assets/CU5cKipVT1X8Xz7F.js +156 -0
  238. package/cdn/assets/CVcCUfSRsiZ1-6hs.js +119 -0
  239. package/cdn/assets/CWJzHmEgahdOfNjH.js +527 -0
  240. package/cdn/assets/CZOJogyZqMfUxcXj.js +1141 -0
  241. package/{browser/esm/D4VqLbEWag8lTWzC2.mjs → cdn/assets/CakrxSS_RXtKmcUX.js} +123 -94
  242. package/{browser/esm/Bl6bX86tSq8hfyb2.mjs → cdn/assets/CbTN0q6XnYGJqyEp.js} +2215 -2027
  243. package/cdn/assets/{gspQcUnmlRIwG609.js → Cfg4Dtndwurxv9LM.js} +8 -8
  244. package/cdn/assets/{BhDLR-jtbOOG-tl12.js → ChAKLV5zrGAHAof2.js} +28 -27
  245. package/cdn/assets/{CpnA5TZRkPDt4HnM2.js → CsrTRThObSryov1b.js} +182 -132
  246. package/cdn/assets/Cv5PLuhEmh5IDHjb.js +75 -0
  247. package/cdn/assets/Cw-4uoMuq_m7ziA3.js +36 -0
  248. package/cdn/assets/Cw7AJWd0S2sjRmr6.js +6309 -0
  249. package/cdn/assets/CwqRA5h1u92Cyit-.js +7 -0
  250. package/cdn/assets/Cy00y9b9j17Txyv1.js +466 -0
  251. package/cdn/assets/{CT3G9YRPVfKtHWwf2.js → D-bNmX0QsA8SuT0m.js} +32 -31
  252. package/{browser/esm/Dg5wjQp0fArKXlM3.mjs → cdn/assets/D-yz3V2UC54rwctD.js} +16 -11
  253. package/cdn/assets/D32D_biNXRCZ24vG.js +87 -0
  254. package/cdn/assets/D8DghdqjOtBzO2Wx.js +35 -0
  255. package/cdn/assets/DAE3Kv0Vs0VuBecT.js +32 -0
  256. package/cdn/assets/DCnWyVXikb_8Dat3.js +61 -0
  257. package/cdn/assets/DHH_uKVzQ_kRYO2N.js +57 -0
  258. package/cdn/assets/DHugYwX4_ZyqGn-C.js +1947 -0
  259. package/cdn/assets/DJqj66SnUcx0QmSN.js +15 -0
  260. package/cdn/assets/{R5bs6kCQSZmsCXz-2.js → DNaPo7BQu6hr1fWq.js} +1 -1
  261. package/cdn/assets/DOHh3pUXxMM09UY5.js +3604 -0
  262. package/cdn/assets/DONxZZT2Iwu7psS5.js +27 -0
  263. package/cdn/assets/{BCkXtOM3yKocv7L-.js → DQEjvIGMgEkiaP6J.js} +1 -1
  264. package/{browser/esm/CAPgMrAKg07EREFD.mjs → cdn/assets/DQIRFXG4MveFkK3I.js} +1 -1
  265. package/cdn/assets/DQjxp9lDP9DzP8ah.js +357 -0
  266. package/cdn/assets/{DrUEYcXg6N2D2s1Z.js → DRm1R4uVOkaMfXNI.js} +51 -11
  267. package/cdn/assets/DSXJHEORGmMQX_Mb.js +8391 -0
  268. package/cdn/assets/DSviq1TNoiIAGW7W.js +32 -0
  269. package/{browser/esm/Clfp7SznkOrJoQvL.mjs → cdn/assets/DVpi1vC8ixXvUQG_.js} +3 -3
  270. package/cdn/assets/{BOl4FzJRD7MplCU7.js → DWgp4t9N9u0eWthH.js} +1 -1
  271. package/{browser/esm/B5ZqqASTcBEV5L9K2.mjs → cdn/assets/DXo8mR6t5HGsmTcu.js} +1 -1
  272. package/cdn/assets/DYvBgX17ZerZSHEJ.js +300 -0
  273. package/cdn/assets/DZRm4H75lnEtOG8e.js +260 -0
  274. package/cdn/assets/D_pMOq6FdH4RSBLc.js +3364 -0
  275. package/{browser/esm/EwzqnZl1lTr56hH-2.mjs → cdn/assets/Dc2ZwgbIEgYWwAsF.js} +1 -1
  276. package/cdn/assets/DckmFyHxGX4Y1gOq.js +70 -0
  277. package/{browser/esm/oYdWyqsKo9ejAdVm.mjs → cdn/assets/De2z8LdHaWRFiR5T.js} +179 -202
  278. package/{browser/esm/DQ4o4dG7gWbL1X8F2.mjs → cdn/assets/DeUXRggj8Oz9ru_i.js} +2 -2
  279. package/{browser/esm/DRc_Wi5c7WdKHTVN2.mjs → cdn/assets/DfESVLC8CAi8m8A7.js} +6 -6
  280. package/cdn/assets/DicTo_3G-KZyWDiE.js +1084 -0
  281. package/cdn/assets/{D3G3tI3DVCUF3Gdk2.js → DjdkGy-EI1kSo226.js} +7 -5
  282. package/cdn/assets/DjtXfgbmXjUAoG0y.js +58 -0
  283. package/cdn/assets/DlpgIJxNq2V4gdDq.js +74 -0
  284. package/cdn/assets/{DaBczM5xU9ev5_or.js → Dp-GJXOMz_b8qAxD.js} +2 -2
  285. package/cdn/assets/DqBj-9o7UdXu4qhb.js +33 -0
  286. package/cdn/assets/{DZbR5R1fNikjgqYb.js → DrI_S0A9TQvriTua.js} +1 -1
  287. package/cdn/assets/DuAbY54w5gJpQgss.js +84250 -0
  288. package/cdn/assets/{D6SKy2BtcWkhfiA0.js → Dv8aQFTTaQBJKDDk.js} +2 -5
  289. package/cdn/assets/DviEoeWW0EvDg1hr.js +149 -0
  290. package/cdn/assets/{Cbw0JeJURvQyxIoa.js → DxcRLd7wmBGDgJsA.js} +1 -1
  291. package/cdn/assets/DxisV9_27l_WU-nk.js +21 -0
  292. package/cdn/assets/{Dc0BDcQUGy_WIVFa.js → Dy44qJVkwNseMG-3.js} +1 -1
  293. package/cdn/assets/ENtt4kmaU9mJfVEp.js +236 -0
  294. package/{browser/esm/COA_SZY2x8q6t4BD.mjs → cdn/assets/FO1Jezau486fH4kN.js} +7 -6
  295. package/cdn/assets/FjNOhkR7-JAIaRP6.js +19 -0
  296. package/cdn/assets/{DbEGszSW_J_k96KJ.js → G5z0uVlyF6CLw_PA.js} +179 -202
  297. package/cdn/assets/H-JnJQMcZQbpvjdb.js +2706 -0
  298. package/cdn/assets/J3hutJxqQiHENpIe.js +392 -0
  299. package/cdn/assets/J9i3r1fU0H10b2hX.js +1001 -0
  300. package/cdn/assets/{Gy0CHZTvn4hY-rkx.js → PtGiIWFBYP-ujLmf.js} +1 -1
  301. package/cdn/assets/PzWqv-oXxEuzKdaT.js +484 -0
  302. package/cdn/assets/QJ4AkDD269D1MzmI.js +89 -0
  303. package/cdn/assets/{qG5zdZZAe6mQIJo3.js → RfHd1JATBlcsfLPv.js} +5 -5
  304. package/{browser/esm/CtXoSHbCUKMY-tSJ.mjs → cdn/assets/SNze-adFJwKuGSQW.js} +48 -2
  305. package/cdn/assets/UTZcodQydbuMfCOS.js +171 -0
  306. package/{browser/esm/DzDwSOBdJh_lx_NM.mjs → cdn/assets/VCiu_neIjCTg2NUa.js} +998 -1006
  307. package/cdn/assets/{BHmYoIIbNW3GdcqV.js → VwGokBaawZfZiV2X.js} +1 -1
  308. package/cdn/assets/W1d6GQyySAHrtjEu.js +3563 -0
  309. package/cdn/assets/ZSYS1J3uR7UQuHwZ.js +217 -0
  310. package/cdn/assets/{CR3jgkduTLczbMjH.js → ZxsFYopF0_WWqw4Q.js} +1 -1
  311. package/{browser/esm/BHBJtVTiQByD_y9j.mjs → cdn/assets/_t0Mx-mUFVtmVNkU.js} +2 -2
  312. package/cdn/assets/aHTKr1ijZ6bRi3Zg.js +33 -0
  313. package/cdn/assets/anQDUZhHMDPi1eha.js +812 -0
  314. package/cdn/assets/{tVOVNvOs6ro8FXqa2.js → dn69mDhY7Xcc91kF.js} +20 -19
  315. package/cdn/assets/fm3mUdTDo-STB36M.js +4749 -0
  316. package/cdn/assets/gpQ4FdJMbIScKnS_.js +400 -0
  317. package/cdn/assets/{EjOJX5m8OEL-IjPB.js → hg8WYI0Yy4WPPPoP.js} +28 -27
  318. package/{browser/esm/DQ-0yyFAwoWtxmhV2.mjs → cdn/assets/i0P63Wd0RRlgJotb.js} +1 -1
  319. package/cdn/assets/lWY3TbG2NDscy9He.js +72 -0
  320. package/{browser/esm/BCZjYGV8AqIZghBH.mjs → cdn/assets/lqknEt3DTma5Juxs.js} +69 -4
  321. package/cdn/assets/mK8HcIZyXkOTvL6E.js +2453 -0
  322. package/cdn/assets/{BPv6Pw1hW-sV5Fya.js → pc49xtHdprXZLW2X.js} +1 -1
  323. package/cdn/assets/px-aQ8dMjiWag_pV.js +167 -0
  324. package/cdn/assets/qYca4mdySLkACfo1.js +37 -0
  325. package/{browser/esm/BqwvP0318zI2izeL2.mjs → cdn/assets/w5IQWbJETgHhqMsY.js} +33 -31
  326. package/cdn/assets/wM7DzeOpoEGBVDBe.js +441 -0
  327. package/cdn/assets/{CG5v2hAwGR5Ptufn2.js → x6GcENwqoUVbd60j.js} +1 -1
  328. package/cdn/assets/xlXDq-qoj7eOE6_T.js +5153 -0
  329. package/{browser/esm/CGqvy5LwQ4z9J2oD2.mjs → cdn/assets/ycmpAs4kQfeh78Pa.js} +1 -1
  330. package/cdn/index.js +2 -2
  331. package/package.json +13 -14
  332. package/browser/cjs/1XrWGMP3GmsQOMIX2.cjs +0 -1
  333. package/browser/cjs/2zXD3NPfuQT2KSZq.cjs +0 -7
  334. package/browser/cjs/49_x589Na12sizKK.cjs +0 -1
  335. package/browser/cjs/4nReftSsKWmnRdtf2.cjs +0 -1
  336. package/browser/cjs/507hQYooKKjnRzsZ2.cjs +0 -1
  337. package/browser/cjs/B19QM3SGmPKKwD_o.cjs +0 -1
  338. package/browser/cjs/B4JJfKSI4ppwU8552.cjs +0 -1
  339. package/browser/cjs/B5YBx0GqLor3i0O1.cjs +0 -1
  340. package/browser/cjs/B7_pDFYCVzt-3hUs.cjs +0 -1
  341. package/browser/cjs/B9EI7wviSkHS9ZkH.cjs +0 -1
  342. package/browser/cjs/BAxVLKkxFgI6cXnR.cjs +0 -1
  343. package/browser/cjs/BC2gCQkR1iykfAuC.cjs +0 -1
  344. package/browser/cjs/BEJFcqVMDMKOvs11.cjs +0 -1
  345. package/browser/cjs/BEVqcFGFU6Ri9y8T.cjs +0 -5
  346. package/browser/cjs/BEzaum_kgG4yAOx0.cjs +0 -1
  347. package/browser/cjs/BF-38Z7Z0FZOPl192.cjs +0 -1
  348. package/browser/cjs/BIQZDBQfv3Qm5iC8.cjs +0 -4
  349. package/browser/cjs/BK0SCfN_VZYqBxoQ2.cjs +0 -1
  350. package/browser/cjs/BSCgCfORdZz1Ii5S.cjs +0 -2
  351. package/browser/cjs/BWDfauDHqB6U_2ka2.cjs +0 -1
  352. package/browser/cjs/BZr-IqNS1skh1hr6.cjs +0 -21
  353. package/browser/cjs/B_WV3e3yexp3dKaz.cjs +0 -9
  354. package/browser/cjs/BfzzZ9IR27ZPzj-8.cjs +0 -3
  355. package/browser/cjs/Bgke3PtMSF2Iaen4.cjs +0 -1
  356. package/browser/cjs/BnccBYHCCq9TGFx4.cjs +0 -8
  357. package/browser/cjs/Btc0Nzu40VYOpzLX.cjs +0 -1
  358. package/browser/cjs/BvG8N7G_8CXIAlT-.cjs +0 -1
  359. package/browser/cjs/BwLx9ix5Sq7suAYP2.cjs +0 -1
  360. package/browser/cjs/BziOCn_XEGT4ynN5.cjs +0 -1
  361. package/browser/cjs/C-HOJozu5NgCil1q.cjs +0 -1
  362. package/browser/cjs/C-bW8lKUTFFUVap4.cjs +0 -1
  363. package/browser/cjs/C2oTW2DjZypuqq7x.cjs +0 -1
  364. package/browser/cjs/C2uDl8VIJqh58YF_.cjs +0 -1
  365. package/browser/cjs/C5rQELB0TUeXY6VM.cjs +0 -1
  366. package/browser/cjs/C6yxQPAEgcGWAhYR.cjs +0 -33
  367. package/browser/cjs/C9C-pr-T_ThweQX92.cjs +0 -1
  368. package/browser/cjs/CHFOXPbNUaeZbrXn.cjs +0 -1
  369. package/browser/cjs/CHMgm0vAbEBS1mVW.cjs +0 -1
  370. package/browser/cjs/CJYewYJ5Z3iojl7J.cjs +0 -1
  371. package/browser/cjs/CPcBvw4ZPwHVTUZF.cjs +0 -1
  372. package/browser/cjs/CPgCih_KEqnUZ9Rv.cjs +0 -3
  373. package/browser/cjs/CRx1WvmgBjT8WVyB2.cjs +0 -1
  374. package/browser/cjs/CSNCOmYEOR-iTJ7K.cjs +0 -5
  375. package/browser/cjs/CV4KQsHluMqo1I2Q.cjs +0 -1
  376. package/browser/cjs/CW-b31_-r-_raT8Y2.cjs +0 -1
  377. package/browser/cjs/CXlzsh_WHCOsErJ12.cjs +0 -1
  378. package/browser/cjs/C_7w8EJZpHw8ueuq.cjs +0 -1
  379. package/browser/cjs/C_IEgjM-hSJCv6Gm.cjs +0 -1
  380. package/browser/cjs/CbLXP9WY38wTcGn5.cjs +0 -10
  381. package/browser/cjs/CcneNtiqtKppCa-p.cjs +0 -57
  382. package/browser/cjs/CeF0DZ-k4DB8M47I.cjs +0 -1
  383. package/browser/cjs/Ci8Uu7_b4lwwRLAD2.cjs +0 -1
  384. package/browser/cjs/Clu7XiAsCB48GDXN2.cjs +0 -1
  385. package/browser/cjs/Cm21F18ga8TluA9h.cjs +0 -1
  386. package/browser/cjs/CnZfa45XxA-9Jhmp.cjs +0 -1
  387. package/browser/cjs/CojEXZgX08waZOoq.cjs +0 -1
  388. package/browser/cjs/CpJJh4UnFl1_qFui.cjs +0 -1
  389. package/browser/cjs/CrDTTLE9EvaGDSD4.cjs +0 -88
  390. package/browser/cjs/CrZlUtdX1h2RUnCP.cjs +0 -1
  391. package/browser/cjs/Cty5pi0fwToP1GWe.cjs +0 -7
  392. package/browser/cjs/CvV18ZJgssoHMkdf2.cjs +0 -2
  393. package/browser/cjs/Cy-4IMt-AbR-ifP3.cjs +0 -126
  394. package/browser/cjs/CyGzzWYDy-IniKCq2.cjs +0 -7
  395. package/browser/cjs/CzgwTfy2072Dmt5u.cjs +0 -1
  396. package/browser/cjs/D19RglhKiroWfpQn2.cjs +0 -1
  397. package/browser/cjs/D8-KovdJ0LjxqCe2.cjs +0 -1
  398. package/browser/cjs/DCIlWcGDrp-5PDoA.cjs +0 -1
  399. package/browser/cjs/DDnGLOLTqLFsdUDS2.cjs +0 -1
  400. package/browser/cjs/DEOu_cHJ1FfTA9R_2.cjs +0 -1
  401. package/browser/cjs/DFHxNnJ-lHtv0hIq.cjs +0 -1
  402. package/browser/cjs/DG-AY_xO8RKHtEBE.cjs +0 -2
  403. package/browser/cjs/DG2kqsWRUtVugjay2.cjs +0 -1
  404. package/browser/cjs/DH3WXPfGHwWJW0nH.cjs +0 -1
  405. package/browser/cjs/DIbdDzNf_3S2RYZN.cjs +0 -1
  406. package/browser/cjs/DLYEQZzAGuSAmJsp.cjs +0 -6
  407. package/browser/cjs/DM7-R_ltoLbA9jde2.cjs +0 -1
  408. package/browser/cjs/DNCC-QNp2I7saV-I.cjs +0 -1
  409. package/browser/cjs/DNKyaSruDogoBd2H2.cjs +0 -1
  410. package/browser/cjs/DNy-UU3NKNqQQngF.cjs +0 -1
  411. package/browser/cjs/DPjEO7dwhCFd8DHR2.cjs +0 -2
  412. package/browser/cjs/DYqvGm5rx1DB53p7.cjs +0 -1
  413. package/browser/cjs/DZSvmqU8nRas1uz62.cjs +0 -1
  414. package/browser/cjs/DfMJOaJ0GcUiSn4Q.cjs +0 -1
  415. package/browser/cjs/DiZDRPIgbO3sQ8Vb.cjs +0 -1
  416. package/browser/cjs/DsFZgtSQpC75d1M02.cjs +0 -1
  417. package/browser/cjs/DsIHLUKUrSrYhFHl.cjs +0 -1
  418. package/browser/cjs/Du4jBiFxRIF1OjD4.cjs +0 -1
  419. package/browser/cjs/DvSvfeo9V0Abfd3q2.cjs +0 -1
  420. package/browser/cjs/Dx79LP1-YCQg8B87.cjs +0 -1
  421. package/browser/cjs/DxQkFYAFNZubVdn22.cjs +0 -1
  422. package/browser/cjs/E-IqDztfMb_xdszH.cjs +0 -1
  423. package/browser/cjs/EeOVMRq7TuptFKTc2.cjs +0 -1
  424. package/browser/cjs/ElcoSB--cCpS6i7R2.cjs +0 -1
  425. package/browser/cjs/JfM6P_qoQQTWakZf.cjs +0 -1
  426. package/browser/cjs/KNCocKN9uPR0tvUS.cjs +0 -1
  427. package/browser/cjs/Kr8f1inOTt-MICaP2.cjs +0 -1
  428. package/browser/cjs/Kvn916ebqGc4t6hv2.cjs +0 -1
  429. package/browser/cjs/NcNz8RfT5V889CMT.cjs +0 -10
  430. package/browser/cjs/PM3PrEWG3WHKxaDx.cjs +0 -1
  431. package/browser/cjs/YG320hBA20Dl3HoU2.cjs +0 -1
  432. package/browser/cjs/Ytzw6iUYx5f19wfK.cjs +0 -9
  433. package/browser/cjs/_H5j4dU7HOBYTawU.cjs +0 -1
  434. package/browser/cjs/a0Z-SXs_N71CtqYb2.cjs +0 -1
  435. package/browser/cjs/aONv0Ys3C8xmnaR82.cjs +0 -1
  436. package/browser/cjs/aYuNpndpwcZG5eik2.cjs +0 -20
  437. package/browser/cjs/bGMaev70Zd_NXqLM2.cjs +0 -1
  438. package/browser/cjs/bIaGoYEDSBCrAaB6.cjs +0 -1
  439. package/browser/cjs/bM25C5avKgBAJVfk2.cjs +0 -1
  440. package/browser/cjs/fqTQ_p3ehzUvc1tF2.cjs +0 -1
  441. package/browser/cjs/h3dw1jAp2J5Pu4p32.cjs +0 -1
  442. package/browser/cjs/hzUo76TXMOBqsI3U2.cjs +0 -1
  443. package/browser/cjs/i2VboqjlOcozI9MQ.cjs +0 -12
  444. package/browser/cjs/index.cjs +0 -79
  445. package/browser/cjs/jev6VGWTdgEgm4Yk2.cjs +0 -1
  446. package/browser/cjs/lEQC21-Sk4lwHy2r2.cjs +0 -1
  447. package/browser/cjs/ppSJKdLn646BZOzg.cjs +0 -1
  448. package/browser/cjs/xBcvszV6x7ys-m532.cjs +0 -1
  449. package/browser/cjs/xQ6-wbTw5UzZUM1Y.cjs +0 -1
  450. package/browser/cjs/z_rZE1OHFPpdGBh42.cjs +0 -1
  451. package/browser/esm/-vgNEEXiEad4bltZ.mjs +0 -28782
  452. package/browser/esm/3y_bCend8tkaewDG2.mjs +0 -106
  453. package/browser/esm/At60x9FEPePwPP_J.mjs +0 -51151
  454. package/browser/esm/B1NoGosH2YQh01g7.mjs +0 -105
  455. package/browser/esm/B4h6iO7hQ9lCR7kj.mjs +0 -11273
  456. package/browser/esm/BBtOlJMVlsWorNJH.mjs +0 -824
  457. package/browser/esm/BQDXkeSabbxB5DUB2.mjs +0 -47
  458. package/browser/esm/BUCKq_2lHPd1ndvw.mjs +0 -149
  459. package/browser/esm/BVjXdv_wkL1x_8ZJ2.mjs +0 -1149
  460. package/browser/esm/BX4f6i2WMBMKFVCq.mjs +0 -99
  461. package/browser/esm/BZsx0QHg1RZlM9ZN.mjs +0 -15
  462. package/browser/esm/BhxX7CZWSOlV2Dsz.mjs +0 -224
  463. package/browser/esm/BhzLZRz2N8RxjQ_U.mjs +0 -34
  464. package/browser/esm/BjTf3XA9Swj0ngpH.mjs +0 -7813
  465. package/browser/esm/BkSb_vyWe-AhyEDa.mjs +0 -4423
  466. package/browser/esm/Bp9qFBIcpIGXvMgo.mjs +0 -134
  467. package/browser/esm/C0rS1uBqfsj-gPR8.mjs +0 -152
  468. package/browser/esm/C6CK_4GD9IpxKglV2.mjs +0 -6713
  469. package/browser/esm/CGGJWgWSPZ0aP_C3.mjs +0 -87
  470. package/browser/esm/CGyydD3tRb0ik50l2.mjs +0 -20
  471. package/browser/esm/CPUlpDM6aAzZzCat2.mjs +0 -471
  472. package/browser/esm/CU1d8OvDv5TU6fSd.mjs +0 -2211
  473. package/browser/esm/CY1zykikO58_ADk8.mjs +0 -3188
  474. package/browser/esm/CZWIS7FuqNjbheSw.mjs +0 -235
  475. package/browser/esm/Cb-FUOYcyRSkHG6u2.mjs +0 -238
  476. package/browser/esm/Cc5IufffX4N-8QpE.mjs +0 -6104
  477. package/browser/esm/Cd8HXAJlflkkTXxc.mjs +0 -53
  478. package/browser/esm/CfuhUkrvOq11d9FR.mjs +0 -44
  479. package/browser/esm/Ckl3FLCOeqw7yhkP2.mjs +0 -82
  480. package/browser/esm/CpjX81WsWJbXMUoT.mjs +0 -3655
  481. package/browser/esm/D9-wpGVbTS9rRpxx.mjs +0 -24
  482. package/browser/esm/DDOO4tcrO4OfMUDe.mjs +0 -25
  483. package/browser/esm/DDUYQ8FPeh1TJU24.mjs +0 -538
  484. package/browser/esm/DFdU1DsC1lXOrejZ.mjs +0 -8260
  485. package/browser/esm/DMLwXmjo28k_iNEU.mjs +0 -4740
  486. package/browser/esm/DVJd6McdAG5udItH.mjs +0 -27
  487. package/browser/esm/D_zNx76HGunFi7xJ.mjs +0 -509
  488. package/browser/esm/DfRGH6mEtIVDWEYN2.mjs +0 -304
  489. package/browser/esm/DnuaqN0xfgqzl8qG.mjs +0 -2687
  490. package/browser/esm/fJ1McMt7xzRA_lUX.mjs +0 -383
  491. package/browser/esm/nguMxPB9LKexKBRX.mjs +0 -219
  492. package/browser/esm/qzhFT2j-mpQEQnKs.mjs +0 -16386
  493. package/cdn/assets/2CuCH0wi9XPgVzE42.js +0 -44
  494. package/cdn/assets/2UHIeioUPXrwtZy-2.js +0 -83
  495. package/cdn/assets/BAhvL7M7ZcgZ8eDc2.js +0 -48
  496. package/cdn/assets/BJEpPEyFWtLzMIq-2.js +0 -3655
  497. package/cdn/assets/BKEzd89UphJ8q1pp2.js +0 -2211
  498. package/cdn/assets/BM7OqAUEUk-up7_82.js +0 -134
  499. package/cdn/assets/BNuoKAzs4zkxSocG2.js +0 -44
  500. package/cdn/assets/BNybEGR813e3aNIv.js +0 -8263
  501. package/cdn/assets/BU6uQhQhpaLElTT82.js +0 -225
  502. package/cdn/assets/BVgTMDEoPgsWFmku.js +0 -510
  503. package/cdn/assets/BVjXdv_wkL1x_8ZJ2.js +0 -1149
  504. package/cdn/assets/BWlMK76Aj2d4ygsH.js +0 -538
  505. package/cdn/assets/BZsx0QHg1RZlM9ZN2.js +0 -15
  506. package/cdn/assets/BixsQGDDf3Iv_PtW2.js +0 -4740
  507. package/cdn/assets/Bl6C6xWT8E6b7OwJ2.js +0 -239
  508. package/cdn/assets/BzUU8y1IFjREzgog2.js +0 -107
  509. package/cdn/assets/CGyydD3tRb0ik50l.js +0 -20
  510. package/cdn/assets/CH0of3GZTzHviuQV.js +0 -24
  511. package/cdn/assets/CH0of3GZTzHviuQV2.js +0 -24
  512. package/cdn/assets/CHttngK66Ido5dWW.js +0 -106
  513. package/cdn/assets/Ce5A_D4YBgi_s2KF.js +0 -176
  514. package/cdn/assets/CpYlf4dXa_V2v-iS2.js +0 -3188
  515. package/cdn/assets/Crkvq5j5KIa6eTLI2.js +0 -51151
  516. package/cdn/assets/Cv-KXN9kl0UeMezQ.js +0 -824
  517. package/cdn/assets/CvtkpvGzCHhNuwTm.js +0 -16386
  518. package/cdn/assets/D-fJXasEYyfRUcj2.js +0 -6104
  519. package/cdn/assets/D1MA2ed2cLMt7hV9.js +0 -236
  520. package/cdn/assets/D9gETGi23d14kT7u2.js +0 -99
  521. package/cdn/assets/D9joTG0Z2zdWHAEa2.js +0 -4423
  522. package/cdn/assets/DC9obE_EVmxtvXCf.js +0 -11275
  523. package/cdn/assets/DCnA2-zB7W_QB-tD2.js +0 -2199
  524. package/cdn/assets/DDNivpFWzQ3AIJia.js +0 -2687
  525. package/cdn/assets/DDOO4tcrO4OfMUDe.js +0 -25
  526. package/cdn/assets/DEUY_zuVwmptMX4l.js +0 -150
  527. package/cdn/assets/DIQf1pX-j-dWQu_e.js +0 -472
  528. package/cdn/assets/DJwQ9abZkyFO9Doy.js +0 -7404
  529. package/cdn/assets/DTCtbG90ip7Z7LaG.js +0 -220
  530. package/cdn/assets/DVS_5oDniuAFH3vT2.js +0 -6715
  531. package/cdn/assets/D_HeH7AJqWoxehn52.js +0 -53
  532. package/cdn/assets/DfRGH6mEtIVDWEYN.js +0 -304
  533. package/cdn/assets/DvItgGbf8IOWPyxd.js +0 -28784
  534. package/cdn/assets/DvlpP6sUZ9Qzl9s22.js +0 -616
  535. package/cdn/assets/WLUhtyUNK5QJ7Pff.js +0 -34
  536. package/cdn/assets/c7aIqKLOO4pvUsV12.js +0 -220
  537. package/cdn/assets/mtI43hWjdp4E3Z_-.js +0 -152
  538. package/cdn/assets/nmR_PgTW7GrlbHHZ.js +0 -27
  539. package/cdn/assets/vTCuFafvRlSaT9wy.js +0 -87
@@ -0,0 +1,3364 @@
1
+ /**
2
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.8.0-beta.10
3
+ *
4
+ * (C) 2026-present SheetXL Inc. & Michael T. Ford
5
+ * License: The license can be found at https://www.sheetxl.com/license.
6
+ */
7
+ import { t as e } from "./CIyaijfp6itgRpFM.js";
8
+ import { t } from "./BeQ95CzwR65il0CK.js";
9
+ import { M as n, P as r, w as i } from "./CMxbiQ5J79M3n1tk.js";
10
+ import { r as a } from "./hg8WYI0Yy4WPPPoP.js";
11
+ import { A as o, D as s, H as c, I as l, P as u, St as d, V as f, W as p, X as m, ft as h, j as g, l as _, m as v, mt as y, n as b, pt as x, r as S, tt as C, v as w } from "./Cw7AJWd0S2sjRmr6.js";
12
+ import { _ as T, d as E, g as D, l as O, n as k, t as A, v as j } from "./mK8HcIZyXkOTvL6E.js";
13
+ import { $ as M, B as N, Et as P, F, L as I, N as L, P as R, T as z, Tt as ee, a as te, at as B, bt as ne, c as re, ct as V, d as H, f as ie, gt as U, h as W, i as G, j as K, lt as q, m as J, n as ae, ot as oe, s as se, st as ce, tt as Y, u as le, ut as ue } from "./CbTN0q6XnYGJqyEp.js";
14
+ import { _ as de, p as fe } from "./VCiu_neIjCTg2NUa.js";
15
+ import { n as pe } from "./DHH_uKVzQ_kRYO2N.js";
16
+ import { t as me } from "./C32co-XulWTkEKrW.js";
17
+ import { Ft as he } from "./B27vTQlxbHhSQJx8.js";
18
+ import { r as ge } from "./DCnWyVXikb_8Dat3.js";
19
+ var X = ge(e(), 1), Z = t();
20
+ function _e(e) {
21
+ return T("MuiListItemButton", e);
22
+ }
23
+ var ve = D("MuiListItemButton", [
24
+ "root",
25
+ "focusVisible",
26
+ "dense",
27
+ "alignItemsFlexStart",
28
+ "disabled",
29
+ "divider",
30
+ "gutters",
31
+ "selected"
32
+ ]);
33
+ function ye(e) {
34
+ return T("MuiLinearProgress", e);
35
+ }
36
+ D("MuiLinearProgress", [
37
+ "root",
38
+ "colorPrimary",
39
+ "colorSecondary",
40
+ "determinate",
41
+ "indeterminate",
42
+ "buffer",
43
+ "query",
44
+ "dashed",
45
+ "bar",
46
+ "bar1",
47
+ "bar2"
48
+ ]);
49
+ var be = {}, xe = P`
50
+ 0% {
51
+ left: -35%;
52
+ right: 100%;
53
+ }
54
+
55
+ 60% {
56
+ left: 100%;
57
+ right: -90%;
58
+ }
59
+
60
+ 100% {
61
+ left: 100%;
62
+ right: -90%;
63
+ }
64
+ `, Se = typeof xe == "string" ? null : ee`
65
+ animation: ${xe} 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite;
66
+ `, Ce = P`
67
+ 0% {
68
+ left: -200%;
69
+ right: 100%;
70
+ }
71
+
72
+ 60% {
73
+ left: 107%;
74
+ right: -8%;
75
+ }
76
+
77
+ 100% {
78
+ left: 107%;
79
+ right: -8%;
80
+ }
81
+ `, we = typeof Ce == "string" ? null : ee`
82
+ animation: ${Ce} 2.1s cubic-bezier(0.165, 0.84, 0.44, 1) 1.15s infinite;
83
+ `, Te = P`
84
+ 0% {
85
+ opacity: 1;
86
+ background-position: 0 -23px;
87
+ }
88
+
89
+ 60% {
90
+ opacity: 0;
91
+ background-position: 0 -23px;
92
+ }
93
+
94
+ 100% {
95
+ opacity: 1;
96
+ background-position: -200px -23px;
97
+ }
98
+ `, Ee = typeof Te == "string" ? null : ee`
99
+ animation: ${Te} 3s infinite linear;
100
+ `, De = (e, t) => e.vars ? e.vars.palette.LinearProgress[`${t}Bg`] : e.palette.mode === "light" ? e.lighten(e.palette[t].main, .62) : e.darken(e.palette[t].main, .5), Oe = q("span", {
101
+ name: "MuiLinearProgress",
102
+ slot: "Root",
103
+ overridesResolver: (e, t) => {
104
+ let { ownerState: n } = e;
105
+ return [
106
+ t.root,
107
+ t[`color${oe(n.color)}`],
108
+ t[n.variant]
109
+ ];
110
+ }
111
+ })(V(({ theme: e }) => ({
112
+ position: "relative",
113
+ overflow: "hidden",
114
+ display: "block",
115
+ height: 4,
116
+ zIndex: 0,
117
+ "@media print": { colorAdjust: "exact" },
118
+ variants: [
119
+ ...Object.entries(e.palette).filter(R()).map(([t]) => ({
120
+ props: { color: t },
121
+ style: { backgroundColor: De(e, t) }
122
+ })),
123
+ {
124
+ props: ({ ownerState: e }) => e.color === "inherit" && e.variant !== "buffer",
125
+ style: { "&::before": {
126
+ content: "\"\"",
127
+ position: "absolute",
128
+ left: 0,
129
+ top: 0,
130
+ right: 0,
131
+ bottom: 0,
132
+ backgroundColor: "currentColor",
133
+ opacity: .3
134
+ } }
135
+ },
136
+ {
137
+ props: { variant: "buffer" },
138
+ style: { backgroundColor: "transparent" }
139
+ },
140
+ {
141
+ props: { variant: "query" },
142
+ style: { transform: "rotate(180deg)" }
143
+ }
144
+ ]
145
+ }))), ke = q("span", {
146
+ name: "MuiLinearProgress",
147
+ slot: "Dashed"
148
+ })(V(({ theme: e }) => ({
149
+ position: "absolute",
150
+ marginTop: 0,
151
+ height: "100%",
152
+ width: "100%",
153
+ backgroundSize: "10px 10px",
154
+ backgroundPosition: "0 -23px",
155
+ variants: [{
156
+ props: { color: "inherit" },
157
+ style: {
158
+ opacity: .3,
159
+ backgroundImage: "radial-gradient(currentColor 0%, currentColor 16%, transparent 42%)"
160
+ }
161
+ }, ...Object.entries(e.palette).filter(R()).map(([t]) => {
162
+ let n = De(e, t);
163
+ return {
164
+ props: { color: t },
165
+ style: { backgroundImage: `radial-gradient(${n} 0%, ${n} 16%, transparent 42%)` }
166
+ };
167
+ })]
168
+ })), Ee || { animation: `${Te} 3s infinite linear` }, V(({ theme: e }) => M(e, { animation: "none" }) || be)), Ae = q("span", {
169
+ name: "MuiLinearProgress",
170
+ slot: "Bar1",
171
+ overridesResolver: (e, t) => [t.bar, t.bar1]
172
+ })(V(({ theme: e }) => {
173
+ let t = M(e, {
174
+ animation: "none",
175
+ left: "30%",
176
+ right: "auto",
177
+ width: "40%"
178
+ });
179
+ return {
180
+ width: "100%",
181
+ position: "absolute",
182
+ left: 0,
183
+ bottom: 0,
184
+ top: 0,
185
+ ...Y(e, "transform", {
186
+ duration: "0.2s",
187
+ easing: "linear"
188
+ }),
189
+ transformOrigin: "left",
190
+ variants: [
191
+ {
192
+ props: { color: "inherit" },
193
+ style: { backgroundColor: "currentColor" }
194
+ },
195
+ ...Object.entries(e.palette).filter(R()).map(([t]) => ({
196
+ props: { color: t },
197
+ style: { backgroundColor: (e.vars || e).palette[t].main }
198
+ })),
199
+ {
200
+ props: { variant: "determinate" },
201
+ style: { ...Y(e, "transform", {
202
+ duration: ".4s",
203
+ easing: "linear"
204
+ }) }
205
+ },
206
+ {
207
+ props: { variant: "buffer" },
208
+ style: {
209
+ zIndex: 1,
210
+ ...Y(e, "transform", {
211
+ duration: ".4s",
212
+ easing: "linear"
213
+ })
214
+ }
215
+ },
216
+ {
217
+ props: ({ ownerState: e }) => e.variant === "indeterminate" || e.variant === "query",
218
+ style: { width: "auto" }
219
+ },
220
+ {
221
+ props: ({ ownerState: e }) => e.variant === "indeterminate" || e.variant === "query",
222
+ style: Se || { animation: `${xe} 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite` }
223
+ },
224
+ ...t ? [{
225
+ props: ({ ownerState: e }) => e.variant === "indeterminate" || e.variant === "query",
226
+ style: t
227
+ }] : []
228
+ ]
229
+ };
230
+ })), je = q("span", {
231
+ name: "MuiLinearProgress",
232
+ slot: "Bar2",
233
+ overridesResolver: (e, t) => [t.bar, t.bar2]
234
+ })(V(({ theme: e }) => {
235
+ let t = M(e, {
236
+ animation: "none",
237
+ display: "none"
238
+ });
239
+ return {
240
+ width: "100%",
241
+ position: "absolute",
242
+ left: 0,
243
+ bottom: 0,
244
+ top: 0,
245
+ ...Y(e, "transform", {
246
+ duration: "0.2s",
247
+ easing: "linear"
248
+ }),
249
+ transformOrigin: "left",
250
+ variants: [
251
+ ...Object.entries(e.palette).filter(R()).map(([t]) => ({
252
+ props: { color: t },
253
+ style: { "--LinearProgressBar2-barColor": (e.vars || e).palette[t].main }
254
+ })),
255
+ {
256
+ props: ({ ownerState: e }) => e.variant !== "buffer" && e.color !== "inherit",
257
+ style: { backgroundColor: "var(--LinearProgressBar2-barColor, currentColor)" }
258
+ },
259
+ {
260
+ props: ({ ownerState: e }) => e.variant !== "buffer" && e.color === "inherit",
261
+ style: { backgroundColor: "currentColor" }
262
+ },
263
+ {
264
+ props: { color: "inherit" },
265
+ style: { opacity: .3 }
266
+ },
267
+ ...Object.entries(e.palette).filter(R()).map(([t]) => ({
268
+ props: {
269
+ color: t,
270
+ variant: "buffer"
271
+ },
272
+ style: {
273
+ backgroundColor: De(e, t),
274
+ ...Y(e, "transform", {
275
+ duration: ".4s",
276
+ easing: "linear"
277
+ })
278
+ }
279
+ })),
280
+ {
281
+ props: ({ ownerState: e }) => e.variant === "indeterminate" || e.variant === "query",
282
+ style: { width: "auto" }
283
+ },
284
+ {
285
+ props: ({ ownerState: e }) => e.variant === "indeterminate" || e.variant === "query",
286
+ style: we || { animation: `${Ce} 2.1s cubic-bezier(0.165, 0.84, 0.44, 1) 1.15s infinite` }
287
+ },
288
+ ...t ? [{
289
+ props: ({ ownerState: e }) => e.variant === "indeterminate" || e.variant === "query",
290
+ style: t
291
+ }] : []
292
+ ]
293
+ };
294
+ })), Me = X.forwardRef(function(e, t) {
295
+ let n = ce({
296
+ props: e,
297
+ name: "MuiLinearProgress"
298
+ }), { className: r, color: i = "primary", max: a, min: o, value: s, valueBuffer: c, variant: l = "indeterminate", ...u } = n, d = {
299
+ ...n,
300
+ color: i,
301
+ variant: l
302
+ }, f = o ?? 0, p = a ?? 100, m = ((e) => {
303
+ let { classes: t, variant: n, color: r } = e, i = {
304
+ root: [
305
+ "root",
306
+ `color${oe(r)}`,
307
+ n
308
+ ],
309
+ dashed: ["dashed"],
310
+ bar1: ["bar", "bar1"],
311
+ bar2: [
312
+ "bar",
313
+ "bar2",
314
+ n === "buffer" && `color${oe(r)}`
315
+ ]
316
+ };
317
+ return U(i, ye, t);
318
+ })(d), h = ne(), g = {}, _ = {
319
+ bar1: {},
320
+ bar2: {}
321
+ };
322
+ if ((l === "determinate" || l === "buffer") && s !== void 0) {
323
+ let e = p - f, t = (s - f) / e * 100 - 100;
324
+ h && (t = -t), _.bar1.transform = e > 0 ? `translateX(${t}%)` : "translateX(-100%)", g["aria-valuenow"] = s, g["aria-valuemin"] = f, g["aria-valuemax"] = p;
325
+ }
326
+ if (l === "buffer" && c !== void 0) {
327
+ let e = p - f, t = (c - f) / e * 100 - 100;
328
+ h && (t = -t), _.bar2.transform = e > 0 ? `translateX(${t}%)` : "translateX(-100%)";
329
+ }
330
+ return (0, Z.jsxs)(Oe, {
331
+ className: j(m.root, r),
332
+ ownerState: d,
333
+ role: "progressbar",
334
+ ...g,
335
+ ref: t,
336
+ ...u,
337
+ children: [
338
+ l === "buffer" ? (0, Z.jsx)(ke, {
339
+ className: m.dashed,
340
+ ownerState: d
341
+ }) : null,
342
+ (0, Z.jsx)(Ae, {
343
+ className: m.bar1,
344
+ ownerState: d,
345
+ style: _.bar1
346
+ }),
347
+ l === "determinate" ? null : (0, Z.jsx)(je, {
348
+ className: m.bar2,
349
+ ownerState: d,
350
+ style: _.bar2
351
+ })
352
+ ]
353
+ });
354
+ }), Ne = q(F, {
355
+ shouldForwardProp: (e) => ue(e) || e === "classes",
356
+ name: "MuiListItemButton",
357
+ slot: "Root",
358
+ overridesResolver: (e, t) => {
359
+ let { ownerState: n } = e;
360
+ return [
361
+ t.root,
362
+ n.dense && t.dense,
363
+ n.alignItems === "flex-start" && t.alignItemsFlexStart,
364
+ n.divider && t.divider,
365
+ !n.disableGutters && t.gutters
366
+ ];
367
+ }
368
+ })(V(({ theme: e }) => ({
369
+ display: "flex",
370
+ flexGrow: 1,
371
+ justifyContent: "flex-start",
372
+ alignItems: "center",
373
+ position: "relative",
374
+ textDecoration: "none",
375
+ minWidth: 0,
376
+ boxSizing: "border-box",
377
+ textAlign: "left",
378
+ paddingTop: 8,
379
+ paddingBottom: 8,
380
+ ...Y(e, "background-color", { duration: e.transitions.duration.shortest }),
381
+ "&:hover": {
382
+ textDecoration: "none",
383
+ backgroundColor: (e.vars || e).palette.action.hover,
384
+ "@media (hover: none)": { backgroundColor: "transparent" }
385
+ },
386
+ [`&.${ve.selected}`]: {
387
+ backgroundColor: e.alpha((e.vars || e).palette.primary.main, (e.vars || e).palette.action.selectedOpacity),
388
+ ...!e.focusVisible && { [`&.${ve.focusVisible}`]: { backgroundColor: e.alpha((e.vars || e).palette.primary.main, `${(e.vars || e).palette.action.selectedOpacity} + ${(e.vars || e).palette.action.focusOpacity}`) } }
389
+ },
390
+ [`&.${ve.selected}:hover`]: {
391
+ backgroundColor: e.alpha((e.vars || e).palette.primary.main, `${(e.vars || e).palette.action.selectedOpacity} + ${(e.vars || e).palette.action.hoverOpacity}`),
392
+ "@media (hover: none)": { backgroundColor: e.alpha((e.vars || e).palette.primary.main, (e.vars || e).palette.action.selectedOpacity) }
393
+ },
394
+ ...e.focusVisible ? O(1) : { [`&.${ve.focusVisible}`]: { backgroundColor: (e.vars || e).palette.action.focus } },
395
+ [`&.${ve.disabled}`]: { opacity: (e.vars || e).palette.action.disabledOpacity },
396
+ variants: [
397
+ {
398
+ props: ({ ownerState: e }) => e.divider,
399
+ style: {
400
+ borderBottom: `1px solid ${(e.vars || e).palette.divider}`,
401
+ backgroundClip: "padding-box"
402
+ }
403
+ },
404
+ {
405
+ props: { alignItems: "flex-start" },
406
+ style: { alignItems: "flex-start" }
407
+ },
408
+ {
409
+ props: ({ ownerState: e }) => !e.disableGutters,
410
+ style: {
411
+ paddingLeft: 16,
412
+ paddingRight: 16
413
+ }
414
+ },
415
+ {
416
+ props: ({ ownerState: e }) => e.dense,
417
+ style: {
418
+ paddingTop: 4,
419
+ paddingBottom: 4
420
+ }
421
+ }
422
+ ]
423
+ }))), Pe = X.forwardRef(function(e, t) {
424
+ let n = ce({
425
+ props: e,
426
+ name: "MuiListItemButton"
427
+ }), { alignItems: r = "center", autoFocus: i = !1, component: a = "div", children: o, dense: s = !1, disableGutters: c = !1, divider: l = !1, focusVisibleClassName: u, selected: d = !1, className: f, ...p } = n, m = X.useContext(fe), h = X.useMemo(() => ({
428
+ dense: s || m.dense || !1,
429
+ alignItems: r,
430
+ disableGutters: c
431
+ }), [
432
+ r,
433
+ m.dense,
434
+ s,
435
+ c
436
+ ]), g = X.useRef(null);
437
+ pe(() => {
438
+ i && g.current && g.current.focus();
439
+ }, [i]);
440
+ let _ = {
441
+ ...n,
442
+ alignItems: r,
443
+ dense: h.dense,
444
+ disableGutters: c,
445
+ divider: l,
446
+ selected: d
447
+ }, v = ((e) => {
448
+ let { alignItems: t, classes: n, dense: r, disabled: i, disableGutters: a, divider: o, selected: s } = e, c = U({ root: [
449
+ "root",
450
+ r && "dense",
451
+ !a && "gutters",
452
+ o && "divider",
453
+ i && "disabled",
454
+ t === "flex-start" && "alignItemsFlexStart",
455
+ s && "selected"
456
+ ] }, _e, n);
457
+ return {
458
+ ...n,
459
+ ...c
460
+ };
461
+ })(_), { root: y, ...b } = v, x = B(g, t);
462
+ return (0, Z.jsx)(fe.Provider, {
463
+ value: h,
464
+ children: (0, Z.jsx)(Ne, {
465
+ ref: x,
466
+ href: p.href || p.to,
467
+ component: (p.href || p.to) && a === "div" ? "button" : a,
468
+ internalNativeButton: !1,
469
+ focusVisibleClassName: j(v.focusVisible, u),
470
+ ownerState: _,
471
+ className: j(v.root, f),
472
+ ...p,
473
+ classes: b,
474
+ children: o
475
+ })
476
+ });
477
+ }), Fe = q("div", {
478
+ name: "MuiListItemIcon",
479
+ slot: "Root",
480
+ overridesResolver: (e, t) => {
481
+ let { ownerState: n } = e;
482
+ return [t.root, n.alignItems === "flex-start" && t.alignItemsFlexStart];
483
+ }
484
+ })(V(({ theme: e }) => ({
485
+ minWidth: e.spacing(4.5),
486
+ color: (e.vars || e).palette.action.active,
487
+ flexShrink: 0,
488
+ display: "inline-flex",
489
+ variants: [{
490
+ props: { alignItems: "flex-start" },
491
+ style: { marginTop: 8 }
492
+ }]
493
+ }))), Ie = X.forwardRef(function(e, t) {
494
+ let n = ce({
495
+ props: e,
496
+ name: "MuiListItemIcon"
497
+ }), { className: r, ...i } = n, a = X.useContext(fe), o = {
498
+ ...n,
499
+ alignItems: a.alignItems
500
+ }, s = ((e) => {
501
+ let { alignItems: t, classes: n } = e;
502
+ return U({ root: ["root", t === "flex-start" && "alignItemsFlexStart"] }, me, n);
503
+ })(o);
504
+ return (0, Z.jsx)(Fe, {
505
+ className: j(s.root, r),
506
+ ownerState: o,
507
+ ref: t,
508
+ ...i
509
+ });
510
+ });
511
+ function Le(e) {
512
+ return T("MuiToolbar", e);
513
+ }
514
+ D("MuiToolbar", [
515
+ "root",
516
+ "gutters",
517
+ "regular",
518
+ "dense"
519
+ ]);
520
+ var Re = q("div", {
521
+ name: "MuiToolbar",
522
+ slot: "Root",
523
+ overridesResolver: (e, t) => {
524
+ let { ownerState: n } = e;
525
+ return [
526
+ t.root,
527
+ !n.disableGutters && t.gutters,
528
+ t[n.variant]
529
+ ];
530
+ }
531
+ })(V(({ theme: e }) => ({
532
+ position: "relative",
533
+ display: "flex",
534
+ alignItems: "center",
535
+ variants: [
536
+ {
537
+ props: ({ ownerState: e }) => !e.disableGutters,
538
+ style: {
539
+ paddingLeft: e.spacing(2),
540
+ paddingRight: e.spacing(2),
541
+ [e.breakpoints.up("sm")]: {
542
+ paddingLeft: e.spacing(3),
543
+ paddingRight: e.spacing(3)
544
+ }
545
+ }
546
+ },
547
+ {
548
+ props: { variant: "dense" },
549
+ style: { minHeight: 48 }
550
+ },
551
+ {
552
+ props: { variant: "regular" },
553
+ style: e.mixins.toolbar
554
+ }
555
+ ]
556
+ }))), ze = X.forwardRef(function(e, t) {
557
+ let n = ce({
558
+ props: e,
559
+ name: "MuiToolbar"
560
+ }), { className: r, component: i = "div", disableGutters: a = !1, variant: o = "regular", ...s } = n, c = {
561
+ ...n,
562
+ component: i,
563
+ disableGutters: a,
564
+ variant: o
565
+ }, l = ((e) => {
566
+ let { classes: t, disableGutters: n, variant: r } = e;
567
+ return U({ root: [
568
+ "root",
569
+ !n && "gutters",
570
+ r
571
+ ] }, Le, t);
572
+ })(c);
573
+ return (0, Z.jsx)(Re, {
574
+ as: i,
575
+ className: j(l.root, r),
576
+ ref: t,
577
+ ownerState: c,
578
+ ...s
579
+ });
580
+ });
581
+ (function() {
582
+ try {
583
+ if (typeof document < "u") {
584
+ var e = document.createElement("style");
585
+ e.appendChild(document.createTextNode("._traverse-ellipsis_14l1h_1{display:inline-block;position:relative}._traverse-ellipsis_14l1h_1 div{border-radius:50%;position:absolute}._traverse-ellipsis_14l1h_1 div:first-child{animation:.6s infinite _traverse-ellipsis1_14l1h_1;left:0}._traverse-ellipsis_14l1h_1 div:nth-child(2){animation:.6s infinite _traverse-ellipsis2_14l1h_1;left:0}._traverse-ellipsis_14l1h_1 div:nth-child(3){animation:.6s infinite _traverse-ellipsis2_14l1h_1;left:24px}._traverse-ellipsis_14l1h_1 div:nth-child(4){animation:.6s infinite _traverse-ellipsis3_14l1h_1;left:48px}@keyframes _traverse-ellipsis1_14l1h_1{0%{transform:scale(0)}to{transform:scale(1)}}@keyframes _traverse-ellipsis3_14l1h_1{0%{transform:scale(1)}to{transform:scale(0)}}@keyframes _traverse-ellipsis2_14l1h_1{0%{transform:translate(0)}to{transform:translate(24px)}}/*$vite$:1*/")), document.head.appendChild(e);
586
+ }
587
+ } catch (e) {
588
+ console.error("vite-plugin-css-injected-by-js", e);
589
+ }
590
+ })();
591
+ var Be = {
592
+ whiteSpace: "nowrap",
593
+ textTransform: "none",
594
+ lineHeight: 1,
595
+ fontSize: (e) => e.typography.subtitle2.fontSize,
596
+ paddingLeft: (e) => e.spacing(.25),
597
+ paddingRight: (e) => e.spacing(.25)
598
+ };
599
+ function Ve(e, t) {
600
+ let n = t != null && !1 !== t && t !== "" ? (0, Z.jsx)(K, {
601
+ component: "div",
602
+ sx: Be,
603
+ children: t
604
+ }) : null;
605
+ return e && n ? (0, Z.jsxs)(A, {
606
+ sx: {
607
+ display: "flex",
608
+ alignItems: "center"
609
+ },
610
+ children: [e, n]
611
+ }) : e ?? n ?? void 0;
612
+ }
613
+ var He = ({ isHorizontal: e, isBefore: t }) => {
614
+ let n = C();
615
+ return (0, Z.jsx)(Z.Fragment, t ? { children: n(e ? "scroll.edgeLeft" : "scroll.edgeTop") } : { children: n(e ? "scroll.edgeRight" : "scroll.edgeBottom") });
616
+ }, Ue = (e) => {
617
+ let t = {
618
+ style: { cursor: "pointer" },
619
+ ...e
620
+ }, n = x(t);
621
+ if (e.isBefore !== void 0 && !e.disabled) {
622
+ let t = e.orientation === g.Horizontal;
623
+ n = (0, Z.jsx)(te, {
624
+ title: (0, Z.jsx)(He, {
625
+ isHorizontal: t,
626
+ isBefore: e.isBefore
627
+ }),
628
+ enterDelay: 800,
629
+ enterNextDelay: 1600,
630
+ children: e.disabled ? (0, Z.jsx)("div", {
631
+ style: { display: "flex" },
632
+ children: n
633
+ }) : n
634
+ });
635
+ }
636
+ return n;
637
+ }, We = (e, t, n, r) => {
638
+ let { style: i, ...a } = e, o = (0, Z.jsx)(L, {
639
+ component: "div",
640
+ ...a,
641
+ style: {
642
+ ...i,
643
+ padding: "0px"
644
+ },
645
+ sx: { padding: "0" },
646
+ color: e.disabled ? void 0 : "primary",
647
+ "aria-label": n,
648
+ size: "small",
649
+ children: t
650
+ });
651
+ return (0, Z.jsx)(te, {
652
+ title: e.disabled ? n : r,
653
+ enterDelay: 800,
654
+ enterNextDelay: 1600,
655
+ children: e.disabled ? (0, Z.jsx)("div", {
656
+ style: { display: "flex" },
657
+ children: o
658
+ }) : o
659
+ });
660
+ }, Ge = (e) => We(e, g.Horizontal ? (0, Z.jsx)(a, {
661
+ iconKey: "ArrowLeft",
662
+ size: "small"
663
+ }) : (0, Z.jsx)(a, {
664
+ iconKey: "ArrowUpward",
665
+ size: "small"
666
+ }), "Scroll " + (e.orientation === g.Horizontal ? "Left" : "Up"), `Scroll ${e.orientation === g.Horizontal ? "left" : "up"}, 'Ctrl+Click' to scroll to the beginning`), Ke = (e) => We(e, g.Horizontal ? (0, Z.jsx)(a, {
667
+ iconKey: "ArrowRight",
668
+ size: "small"
669
+ }) : (0, Z.jsx)(a, {
670
+ iconKey: "ArrowDownward",
671
+ size: "small"
672
+ }), "Scroll " + (e.orientation === g.Horizontal ? "Right" : "Down"), `Scroll ${e.orientation === g.Horizontal ? "right" : "down"}, 'Ctrl+Click' to scroll to the end`), qe = (0, X.memo)((0, X.forwardRef)((e, t) => {
673
+ let { orientation: n = "vertical", sx: r, ...i } = e, a = n === "vertical";
674
+ return (0, Z.jsx)(he, {
675
+ ref: t,
676
+ sx: {
677
+ marginLeft: a ? "2px" : void 0,
678
+ marginRight: a ? "2px" : void 0,
679
+ backgroundColor: "transparent !important",
680
+ minHeight: a ? "1em" : void 0,
681
+ minWidth: a ? void 0 : "1em",
682
+ borderColor: (e) => e.palette.divider,
683
+ ...r
684
+ },
685
+ orientation: n,
686
+ variant: "middle",
687
+ flexItem: !0,
688
+ ...i
689
+ });
690
+ })), Je = ((0, X.memo)((e) => {
691
+ let { sx: t, speed: n = 2, size: r = 70, ...i } = e;
692
+ return (0, Z.jsx)(A, {
693
+ sx: {
694
+ width: `${r}px`,
695
+ height: `${r}px`,
696
+ zIndex: 1,
697
+ "& .primary": {
698
+ stroke: (e) => e.palette.grey[600],
699
+ fill: "none"
700
+ },
701
+ ...t
702
+ },
703
+ ...i,
704
+ children: (0, Z.jsxs)("svg", {
705
+ x: "0px",
706
+ y: "0px",
707
+ viewBox: "0 0 100 100",
708
+ children: [
709
+ (0, Z.jsx)("circle", {
710
+ className: "primary",
711
+ strokeWidth: "4",
712
+ cx: "50",
713
+ cy: "50",
714
+ r: "48"
715
+ }),
716
+ (0, Z.jsx)("line", {
717
+ className: "primary",
718
+ strokeLinecap: "round",
719
+ strokeWidth: "4",
720
+ x1: "50",
721
+ y1: "50",
722
+ x2: "85",
723
+ y2: "50.5",
724
+ children: (0, Z.jsx)("animateTransform", {
725
+ attributeName: "transform",
726
+ dur: `${n}s`,
727
+ type: "rotate",
728
+ from: "0 50 50",
729
+ to: "360 50 50",
730
+ repeatCount: "indefinite"
731
+ })
732
+ }),
733
+ (0, Z.jsx)("line", {
734
+ className: "primary",
735
+ strokeLinecap: "round",
736
+ strokeWidth: "4",
737
+ x1: "50",
738
+ y1: "50",
739
+ x2: "49.5",
740
+ y2: "74",
741
+ children: (0, Z.jsx)("animateTransform", {
742
+ attributeName: "transform",
743
+ dur: 7.5 * n + "s",
744
+ type: "rotate",
745
+ from: "0 50 50",
746
+ to: "360 50 50",
747
+ repeatCount: "indefinite"
748
+ })
749
+ })
750
+ ]
751
+ })
752
+ });
753
+ }), (0, X.memo)((e) => {
754
+ let { sx: t, speed: n = 1.5, size: r = 70, ...i } = e;
755
+ return (0, Z.jsx)(A, {
756
+ sx: {
757
+ width: `${r}px`,
758
+ height: `${r}px`,
759
+ zIndex: 1,
760
+ "& .primary": { fill: (e) => e.palette.grey[600] },
761
+ "& .secondary": {
762
+ stroke: (e) => e.palette.grey[600],
763
+ fill: "none",
764
+ opacity: .5
765
+ },
766
+ ...t
767
+ },
768
+ ...i,
769
+ children: (0, Z.jsxs)("svg", {
770
+ x: "0px",
771
+ y: "0px",
772
+ viewBox: "0 0 100 100",
773
+ children: [(0, Z.jsx)("circle", {
774
+ className: "secondary",
775
+ strokeWidth: "4",
776
+ cx: "50",
777
+ cy: "50",
778
+ r: "21"
779
+ }), (0, Z.jsx)("path", {
780
+ className: "primary",
781
+ d: "M73,50c0-12.7-10.3-23-23-23S27,37.3,27,50 M30.9,50c0-10.5,8.5-19.1,19.1-19.1S69.1,39.5,69.1,50",
782
+ children: (0, Z.jsx)("animateTransform", {
783
+ attributeName: "transform",
784
+ type: "rotate",
785
+ dur: 1 * n + "s",
786
+ from: "0 50 50",
787
+ to: "360 50 50",
788
+ repeatCount: "indefinite"
789
+ })
790
+ })]
791
+ })
792
+ });
793
+ })), Ye = ((0, X.memo)((e) => {
794
+ let { sx: t, speed: n = 1, size: r = 70, ...i } = e;
795
+ return (0, Z.jsx)(A, {
796
+ sx: {
797
+ width: `${r}px`,
798
+ height: `${r}px`,
799
+ zIndex: 1,
800
+ ...t
801
+ },
802
+ ...i,
803
+ children: (0, Z.jsxs)("svg", {
804
+ x: "0px",
805
+ y: "0px",
806
+ viewBox: "0 0 100 100",
807
+ children: [
808
+ (0, Z.jsx)("circle", {
809
+ className: "primary",
810
+ cx: "6",
811
+ cy: "50",
812
+ r: "6",
813
+ children: (0, Z.jsx)("animate", {
814
+ attributeName: "opacity",
815
+ dur: `${n}s`,
816
+ values: "0;1;0",
817
+ repeatCount: "indefinite",
818
+ begin: "0.1"
819
+ })
820
+ }),
821
+ (0, Z.jsx)("circle", {
822
+ className: "primary",
823
+ cx: "26",
824
+ cy: "50",
825
+ r: "6",
826
+ children: (0, Z.jsx)("animate", {
827
+ attributeName: "opacity",
828
+ dur: `${n}s`,
829
+ values: "0;1;0",
830
+ repeatCount: "indefinite",
831
+ begin: "0.2"
832
+ })
833
+ }),
834
+ (0, Z.jsx)("circle", {
835
+ className: "primary",
836
+ cx: "46",
837
+ cy: "50",
838
+ r: "6",
839
+ children: (0, Z.jsx)("animate", {
840
+ attributeName: "opacity",
841
+ dur: `${n}s`,
842
+ values: "0;1;0",
843
+ repeatCount: "indefinite",
844
+ begin: "0.3"
845
+ })
846
+ })
847
+ ]
848
+ })
849
+ });
850
+ }), (0, X.memo)((e) => {
851
+ let { sx: t, speed: n = 1, size: r = 70, ...i } = e;
852
+ return (0, Z.jsx)(A, {
853
+ sx: {
854
+ width: `${r}px`,
855
+ height: `${r}px`,
856
+ zIndex: 1,
857
+ "& .primary": {
858
+ fill: (e) => e.palette.grey[600],
859
+ stroke: "none"
860
+ },
861
+ ...t
862
+ },
863
+ ...i,
864
+ children: (0, Z.jsxs)("svg", {
865
+ x: "0px",
866
+ y: "0px",
867
+ viewBox: "0 0 100 100",
868
+ children: [
869
+ (0, Z.jsx)("circle", {
870
+ className: "primary",
871
+ cx: "6",
872
+ cy: "50",
873
+ r: "6",
874
+ children: (0, Z.jsx)("animateTransform", {
875
+ attributeName: "transform",
876
+ dur: `${n}s`,
877
+ type: "translate",
878
+ values: "0 15 ; 0 -15; 0 15",
879
+ repeatCount: "indefinite",
880
+ begin: "0.1"
881
+ })
882
+ }),
883
+ (0, Z.jsx)("circle", {
884
+ className: "primary",
885
+ cx: "30",
886
+ cy: "50",
887
+ r: "6",
888
+ children: (0, Z.jsx)("animateTransform", {
889
+ attributeName: "transform",
890
+ dur: `${n}s`,
891
+ type: "translate",
892
+ values: "0 10 ; 0 -10; 0 10",
893
+ repeatCount: "indefinite",
894
+ begin: "0.2"
895
+ })
896
+ }),
897
+ (0, Z.jsx)("circle", {
898
+ className: "primary",
899
+ cx: "54",
900
+ cy: "50",
901
+ r: "6",
902
+ children: (0, Z.jsx)("animateTransform", {
903
+ attributeName: "transform",
904
+ dur: `${n}s`,
905
+ type: "translate",
906
+ values: "0 5 ; 0 -5; 0 5",
907
+ repeatCount: "indefinite",
908
+ begin: "0.3"
909
+ })
910
+ })
911
+ ]
912
+ })
913
+ });
914
+ }), (0, X.memo)((e) => {
915
+ let { sx: t, speed: n = 2, size: r = 70, ...i } = e;
916
+ return (0, Z.jsx)(A, {
917
+ sx: {
918
+ width: `${r}px`,
919
+ height: `${r}px`,
920
+ zIndex: 1,
921
+ "& .primary": {
922
+ stroke: (e) => e.palette.grey[600],
923
+ opacity: .5,
924
+ fill: "none"
925
+ },
926
+ "& .secondary": {
927
+ fillOpacity: (e) => e.palette.grey[600],
928
+ opacity: .8,
929
+ stroke: (e) => e.palette.background.paper
930
+ },
931
+ ...t
932
+ },
933
+ ...i,
934
+ children: (0, Z.jsxs)("svg", {
935
+ x: "0px",
936
+ y: "0px",
937
+ viewBox: "0 0 100 100",
938
+ children: [(0, Z.jsx)("circle", {
939
+ className: "primary",
940
+ strokeWidth: "4",
941
+ cx: "50",
942
+ cy: "50",
943
+ r: "44"
944
+ }), (0, Z.jsx)("circle", {
945
+ className: "secondary",
946
+ strokeWidth: "3",
947
+ cx: "8",
948
+ cy: "54",
949
+ r: "6",
950
+ children: (0, Z.jsx)("animateTransform", {
951
+ attributeName: "transform",
952
+ dur: `${n}s`,
953
+ type: "rotate",
954
+ from: "0 50 48",
955
+ to: "360 50 52",
956
+ repeatCount: "indefinite"
957
+ })
958
+ })]
959
+ })
960
+ });
961
+ }), (0, X.memo)((e) => {
962
+ let { sx: t, speed: n = 1, size: r = 13, width: i = 64, height: a = 17, ...o } = e;
963
+ return (0, Z.jsxs)(A, {
964
+ sx: {
965
+ width: `${i}px`,
966
+ height: `${a}px`,
967
+ "& .primary": {
968
+ backgroundColor: (e) => e.palette.grey[600],
969
+ top: (a - r) / 2 + "px",
970
+ width: () => `${r}px`,
971
+ height: () => `${r}px`
972
+ },
973
+ ...t
974
+ },
975
+ className: J("_traverse-ellipsis_14l1h_1", "animated-icon"),
976
+ ...o,
977
+ children: [
978
+ (0, Z.jsx)("div", { className: "primary" }),
979
+ (0, Z.jsx)("div", { className: "primary" }),
980
+ (0, Z.jsx)("div", { className: "primary" }),
981
+ (0, Z.jsx)("div", { className: "primary" })
982
+ ]
983
+ });
984
+ })), Xe = (0, Z.jsx)(Je, {}), Ze = (e, t) => {
985
+ if (!e) return null;
986
+ if (t !== void 0) {
987
+ let n = e.querySelector("[data-sxl-loading-label]");
988
+ n && (n.textContent = t);
989
+ }
990
+ if (e.classList.contains("animating")) return null;
991
+ e.classList.remove("animating-idle"), e.offsetHeight, e.classList.add("animating");
992
+ let n = typeof e.getAnimations == "function" ? e.getAnimations() : null;
993
+ return n?.length === 0 ? null : new Promise((e) => {
994
+ let t = setTimeout(e, 250), r = () => {
995
+ clearTimeout(t), e();
996
+ };
997
+ n ? Promise.all(n.map((e) => e.ready)).then(r, r) : requestAnimationFrame(() => requestAnimationFrame(r));
998
+ });
999
+ }, Qe = (e) => {
1000
+ e && e.classList.contains("animating") && (e.classList.add("animating-idle"), e.classList.remove("animating"));
1001
+ }, $e = (0, X.memo)((0, X.forwardRef)((e, t) => {
1002
+ let { sx: n, style: r, onMount: i, onUnmount: a, transitionDelay: o = "1200ms", panel: s = !1, autoStart: c = !0, transparentBackground: l = !0, icon: u = Xe, label: d, progress: f = null, ...p } = e, h = (0, X.useMemo)(() => typeof d == "string" || !c && d == null ? (0, Z.jsx)(K, {
1003
+ "data-sxl-loading-label": "",
1004
+ variant: "caption",
1005
+ component: "div",
1006
+ sx: {
1007
+ fontSize: "0.875rem",
1008
+ lineHeight: 1.43,
1009
+ letterSpacing: "0.01071em"
1010
+ },
1011
+ children: typeof d == "string" ? d : ""
1012
+ }) : d, [d, c]), g = (0, X.useMemo)(() => {
1013
+ if (typeof f != "number") return u;
1014
+ let e = Math.max(0, Math.min(100, Math.round(100 * f)));
1015
+ return (0, Z.jsx)(A, {
1016
+ sx: {
1017
+ display: "flex",
1018
+ alignItems: "center",
1019
+ width: "180px"
1020
+ },
1021
+ children: (0, Z.jsx)(Me, {
1022
+ variant: "determinate",
1023
+ value: e,
1024
+ color: "inherit",
1025
+ sx: {
1026
+ width: "100%",
1027
+ borderRadius: "2px",
1028
+ "@keyframes sxlProgressPulse": {
1029
+ "0%, 100%": { opacity: 1 },
1030
+ "50%": { opacity: .25 }
1031
+ },
1032
+ "& .MuiLinearProgress-bar": {
1033
+ transition: "transform 0.5s linear",
1034
+ ...e >= 100 && {
1035
+ willChange: "opacity",
1036
+ animation: "sxlProgressPulse 1s ease-in-out infinite"
1037
+ }
1038
+ }
1039
+ }
1040
+ })
1041
+ });
1042
+ }, [f, u]), _ = (0, X.useRef)(null), v = ae([_, t]), y = (0, X.useMemo)(() => {
1043
+ let e = (0, Z.jsxs)(A, {
1044
+ sx: {
1045
+ display: "flex",
1046
+ flexDirection: "column",
1047
+ alignItems: "center",
1048
+ rowGap: "8px"
1049
+ },
1050
+ children: [h, g]
1051
+ });
1052
+ return !0 === s && (e = (0, Z.jsx)(N, {
1053
+ elevation: 0,
1054
+ sx: {
1055
+ display: "flex",
1056
+ flexDirection: "column",
1057
+ justifyContent: "center",
1058
+ alignItems: "center",
1059
+ alignSelf: "center",
1060
+ marginBottom: "5%",
1061
+ backgroundColor: (e) => e.palette.info.light,
1062
+ color: (e) => e.palette.info.contrastText,
1063
+ paddingLeft: (e) => e.spacing(2),
1064
+ paddingRight: (e) => e.spacing(2),
1065
+ paddingTop: (e) => e.spacing(2),
1066
+ paddingBottom: (e) => e.spacing(1),
1067
+ rowGap: (e) => e.spacing(1),
1068
+ borderRadius: (e) => `${e.shape.borderRadius}px`,
1069
+ boxShadow: (e) => e.shadows[2],
1070
+ "& .primary": {
1071
+ background: (e) => `${E(e.palette.info.contrastText, .9)} !important`,
1072
+ boxShadow: (e) => `0 0 0 1px ${e.palette.mode === "dark" ? e.palette.text.secondary : e.palette.divider}`,
1073
+ boxSizing: "content-box",
1074
+ border: "solid transparent"
1075
+ },
1076
+ zIndex: 1
1077
+ },
1078
+ children: e
1079
+ })), (0, Z.jsx)(A, {
1080
+ ...p,
1081
+ ref: v,
1082
+ className: "animatable",
1083
+ sx: {
1084
+ cursor: "wait",
1085
+ boxSizing: "border-box",
1086
+ alignItems: "center",
1087
+ justifyContent: "center",
1088
+ display: "flex",
1089
+ flexDirection: "column",
1090
+ willChange: "opacity",
1091
+ "&:not(.animating) *": { animationPlayState: "paused" },
1092
+ opacity: l ? .001 : 1,
1093
+ transitionProperty: "opacity",
1094
+ transitionDelay: o,
1095
+ transitionDuration: "320ms",
1096
+ transitionTimingFunction: "ease-in",
1097
+ overflow: "hidden",
1098
+ outline: "none",
1099
+ width: "100%",
1100
+ height: "100%",
1101
+ minWidth: 0,
1102
+ minHeight: 0,
1103
+ zIndex: 99999,
1104
+ "&.animating": { opacity: 1 },
1105
+ "&.animating-idle": { transition: "none" },
1106
+ "&.animating-exit": {
1107
+ opacity: 0,
1108
+ transition: "opacity 210ms"
1109
+ },
1110
+ ...n,
1111
+ ...r
1112
+ },
1113
+ children: (0, Z.jsxs)(A, {
1114
+ className: "center",
1115
+ sx: {
1116
+ display: "flex",
1117
+ flex: "1 1 100%",
1118
+ height: "100%",
1119
+ width: "100%",
1120
+ alignItems: "center",
1121
+ justifyContent: "center",
1122
+ boxSizing: "border-box",
1123
+ position: "relative"
1124
+ },
1125
+ children: [(0, Z.jsx)(A, {
1126
+ className: "backdrop",
1127
+ sx: {
1128
+ opacity: (e) => l ? 1.5 * e.palette.action.disabledOpacity : void 0,
1129
+ background: (e) => l ? void 0 : e.palette.background.paper,
1130
+ backdropFilter: "blur(4px)",
1131
+ borderRadius: (e) => `${e.shape.borderRadius}px`,
1132
+ zIndex: -1,
1133
+ position: "absolute",
1134
+ width: "100%",
1135
+ height: "100%",
1136
+ boxSizing: "border-box"
1137
+ }
1138
+ }), e]
1139
+ })
1140
+ });
1141
+ }, [
1142
+ n,
1143
+ s,
1144
+ h,
1145
+ g,
1146
+ v
1147
+ ]), b = (0, X.useRef)(!1);
1148
+ return m(() => {
1149
+ if (!1 === c) return;
1150
+ let e = _.current;
1151
+ e && !b.current && (b.current = !0, e.classList.contains("animatable") && !e.classList.contains("animating") && (e.offsetHeight, e.classList.add("animating")), i?.());
1152
+ }, [_.current, c]), (0, X.useEffect)(() => () => {
1153
+ b.current && (_.current?.classList.remove("animating"), b.current = !1, a?.());
1154
+ }, []), y;
1155
+ }));
1156
+ $e.displayName = "AnimatedLoadingPanel";
1157
+ var et = /^\s*at\s+(?:(async|new|await)\s+)?(.+?)\s+\((.+?):(\d+):(\d+)\)$/, tt = /^\s*at\s+(?:(async|new|await)\s+)?(.+?):(\d+):(\d+)\s*$/, nt = (e) => {
1158
+ if (!e) return "";
1159
+ try {
1160
+ e = new URL(e).pathname;
1161
+ } catch {}
1162
+ return (e = e.replace(/^\/+/, "")).replace(/^@?fs[\\/]/, "");
1163
+ }, rt = (0, X.memo)(({ error: e, maxLines: t = 2 ** 53 - 1, hideLineNumbers: r = !1 }) => {
1164
+ let i = C(), [o, s] = (0, X.useState)(null);
1165
+ if (!e?.stack) return null;
1166
+ let c = n.collectErrorChain(e).reverse(), l = [];
1167
+ c.forEach(({ error: e }, t) => {
1168
+ let n = (e.stack || "").split("\n").filter(Boolean).map((e) => {
1169
+ let t = e.match(et);
1170
+ if (t) {
1171
+ let [, e = "", n, r, i, a] = t;
1172
+ return {
1173
+ line: `at ${e ? e + " " : ""}${n}`,
1174
+ location: `${nt(r).split(/[\\/]/).pop()}:${i}:${a}`
1175
+ };
1176
+ }
1177
+ if (t = e.match(tt), t) {
1178
+ let [, e = "", n, r, i] = t, a = nt(n), o = `${a.split(/[\\/]/).pop()}:${r}:${i}`;
1179
+ return {
1180
+ line: `at ${e ? e + " " : ""}${o}`,
1181
+ location: a === o ? void 0 : `${a}:${r}:${i}`
1182
+ };
1183
+ }
1184
+ return { line: e.trim() };
1185
+ });
1186
+ n.length && (l.push({
1187
+ line: t ? `Caused by: ${n[0].line}` : n[0].line,
1188
+ isBoundary: !0
1189
+ }), l.push(...n.slice(1)));
1190
+ });
1191
+ let u = t ? l.slice(0, t) : l, d = t && l.length > t;
1192
+ return (0, Z.jsxs)(A, {
1193
+ sx: {
1194
+ width: "100%",
1195
+ mt: 1
1196
+ },
1197
+ children: [(0, Z.jsxs)(A, {
1198
+ sx: {
1199
+ display: "flex",
1200
+ alignItems: "center",
1201
+ gap: 1,
1202
+ borderRadius: 1,
1203
+ px: 1,
1204
+ py: .5
1205
+ },
1206
+ children: [
1207
+ (0, Z.jsx)(K, {
1208
+ variant: "caption",
1209
+ component: "div",
1210
+ sx: {
1211
+ fontSize: "0.75rem",
1212
+ opacity: .8
1213
+ },
1214
+ children: c.length > 1 ? i("stackTrace.headingFrames", { count: c.length }) : i("stackTrace.heading")
1215
+ }),
1216
+ (0, Z.jsx)(A, { sx: { flex: 1 } }),
1217
+ o && (0, Z.jsx)(K, {
1218
+ variant: "caption",
1219
+ component: "div",
1220
+ sx: {
1221
+ fontSize: "0.625rem",
1222
+ opacity: .8
1223
+ },
1224
+ children: o
1225
+ }),
1226
+ (0, Z.jsx)(L, {
1227
+ size: "small",
1228
+ onClick: async () => {
1229
+ try {
1230
+ let e = 0, t = l.map((t) => {
1231
+ if (t.isBoundary) return e = 0, t.line;
1232
+ e++;
1233
+ let n = t.location && t.line !== t.location ? `${t.line} (${t.location})` : t.line;
1234
+ return e >= 1 && (n = ` ${n}`), n;
1235
+ }).join("\n");
1236
+ await navigator.clipboard.writeText(t), s("Copied!"), setTimeout(() => s(null), 2e3);
1237
+ } catch (e) {
1238
+ s("Can't copy!"), console.warn("Failed to copy stack trace:", e);
1239
+ }
1240
+ },
1241
+ sx: {
1242
+ color: "inherit",
1243
+ opacity: .7,
1244
+ "&:hover": { opacity: 1 }
1245
+ },
1246
+ title: i("stackTrace.copy"),
1247
+ children: (0, Z.jsx)(a, {
1248
+ iconKey: "ContentCopy",
1249
+ style: { fontSize: "0.875rem" }
1250
+ })
1251
+ }),
1252
+ (0, Z.jsx)(L, {
1253
+ size: "small",
1254
+ onClick: () => {
1255
+ s("Logged!"), setTimeout(() => s(null), 2e3), console.warn(e);
1256
+ },
1257
+ sx: {
1258
+ color: "inherit",
1259
+ opacity: .7,
1260
+ "&:hover": { opacity: 1 }
1261
+ },
1262
+ title: i("stackTrace.log"),
1263
+ children: (0, Z.jsx)(a, {
1264
+ iconKey: "BugReport",
1265
+ style: { fontSize: "0.875rem" }
1266
+ })
1267
+ })
1268
+ ]
1269
+ }), (0, Z.jsxs)(A, {
1270
+ sx: {
1271
+ mt: 1,
1272
+ backgroundColor: "rgba(0, 0, 0, 0.2)",
1273
+ borderRadius: 1,
1274
+ p: 1,
1275
+ maxHeight: "300px",
1276
+ overflow: "auto",
1277
+ fontFamily: "monospace",
1278
+ fontSize: "0.75rem",
1279
+ lineHeight: 1.4
1280
+ },
1281
+ children: [u.map((e, t) => e.isBoundary ? (0, Z.jsx)(A, {
1282
+ sx: {
1283
+ py: 1,
1284
+ mt: +(t > 0),
1285
+ mb: .5,
1286
+ borderTop: t > 0 ? "1px solid rgba(255, 255, 255, 0.1)" : "none"
1287
+ },
1288
+ children: (0, Z.jsx)(K, {
1289
+ variant: "caption",
1290
+ component: "div",
1291
+ sx: {
1292
+ fontSize: "0.75rem",
1293
+ fontWeight: "bold",
1294
+ color: (t) => e.isBoundary ? t.palette.text.primary : t.palette.text.secondary,
1295
+ display: "block"
1296
+ },
1297
+ children: e.line
1298
+ })
1299
+ }, `error-${t}`) : (0, Z.jsxs)(A, {
1300
+ sx: {
1301
+ display: "flex",
1302
+ alignItems: "flex-start",
1303
+ gap: 1,
1304
+ py: .25,
1305
+ pl: 1,
1306
+ "&:hover": { backgroundColor: "rgba(255, 255, 255, 0.05)" }
1307
+ },
1308
+ children: [!r && (0, Z.jsx)(K, {
1309
+ variant: "caption",
1310
+ component: "div",
1311
+ sx: {
1312
+ fontSize: "0.625rem",
1313
+ opacity: .5,
1314
+ minWidth: "20px",
1315
+ textAlign: "right",
1316
+ userSelect: "none"
1317
+ },
1318
+ children: t + 1
1319
+ }), (0, Z.jsxs)(A, {
1320
+ sx: {
1321
+ flex: 1,
1322
+ overflow: "hidden"
1323
+ },
1324
+ children: [(0, Z.jsx)(K, {
1325
+ variant: "caption",
1326
+ component: "div",
1327
+ sx: {
1328
+ fontSize: "0.75rem",
1329
+ whiteSpace: "nowrap",
1330
+ overflow: "hidden",
1331
+ textOverflow: "ellipsis",
1332
+ color: "inherit"
1333
+ },
1334
+ children: e.line
1335
+ }), e.location && e.line !== e.location && (0, Z.jsx)(K, {
1336
+ variant: "caption",
1337
+ component: "div",
1338
+ sx: {
1339
+ fontSize: "0.625rem",
1340
+ opacity: .6,
1341
+ fontStyle: "italic"
1342
+ },
1343
+ children: e.location
1344
+ })]
1345
+ })]
1346
+ }, `stack-${t}`)), d && (0, Z.jsx)(K, {
1347
+ variant: "caption",
1348
+ component: "div",
1349
+ sx: {
1350
+ fontSize: "0.625rem",
1351
+ opacity: .6,
1352
+ fontStyle: "italic",
1353
+ textAlign: "center",
1354
+ display: "block",
1355
+ mt: 1
1356
+ },
1357
+ children: i("stackTrace.moreFrames", { count: l.length - t })
1358
+ })]
1359
+ })]
1360
+ });
1361
+ });
1362
+ rt.displayName = "StackTrace";
1363
+ var it = (0, X.memo)((0, X.forwardRef)((e, t) => {
1364
+ let { sx: n, icon: r = (0, Z.jsx)(a, {
1365
+ iconKey: "Error",
1366
+ style: { fontSize: 48 }
1367
+ }), error: i, hideStackTrace: o = !1, stackTraceExpanded: s = !1, fullscreen: c = !1, ...l } = e, u = C(), d = (0, X.useMemo)(() => at(i, o, s, c, u), [
1368
+ i,
1369
+ o,
1370
+ s,
1371
+ c,
1372
+ u
1373
+ ]);
1374
+ return (0, X.useMemo)(() => (0, Z.jsx)(A, {
1375
+ ref: t,
1376
+ sx: {
1377
+ boxSizing: "border-box",
1378
+ alignItems: "center",
1379
+ justifyContent: "center",
1380
+ display: "flex",
1381
+ flexDirection: "row",
1382
+ overflow: "hidden",
1383
+ width: "100%",
1384
+ height: "100%",
1385
+ ...n
1386
+ },
1387
+ ...l,
1388
+ children: (0, Z.jsxs)(A, {
1389
+ sx: {
1390
+ display: "flex",
1391
+ flex: "1 1 100%",
1392
+ height: "100%",
1393
+ alignItems: "center",
1394
+ justifyContent: "center",
1395
+ boxSizing: "border-box",
1396
+ position: "relative"
1397
+ },
1398
+ children: [(0, Z.jsx)(A, {
1399
+ className: "backdrop",
1400
+ sx: {
1401
+ backdropFilter: "blur(4px)",
1402
+ borderRadius: (e) => `${e.shape.borderRadius}px`,
1403
+ zIndex: -1,
1404
+ position: "absolute",
1405
+ width: "100%",
1406
+ height: "100%",
1407
+ boxSizing: "border-box"
1408
+ }
1409
+ }), (0, Z.jsx)(N, {
1410
+ elevation: 0,
1411
+ sx: {
1412
+ display: "flex",
1413
+ flexDirection: "column",
1414
+ justifyContent: "center",
1415
+ alignItems: "center",
1416
+ rowGap: "8px",
1417
+ alignSelf: "center",
1418
+ marginBottom: "5%",
1419
+ backgroundColor: (e) => e.palette.background.paper,
1420
+ color: (e) => e.palette.text.primary,
1421
+ border: (e) => `1px solid ${e.palette.divider}`,
1422
+ padding: (e) => e.spacing(3),
1423
+ borderRadius: (e) => `${e.shape.borderRadius}px`,
1424
+ boxShadow: (e) => e.shadows[3],
1425
+ zIndex: 1
1426
+ },
1427
+ children: (0, Z.jsx)(A, {
1428
+ sx: {
1429
+ display: "flex",
1430
+ flexDirection: "column",
1431
+ alignItems: "center",
1432
+ gap: (e) => e.spacing(2),
1433
+ width: "100%",
1434
+ maxWidth: c ? void 0 : "600px"
1435
+ },
1436
+ children: (0, Z.jsxs)(A, {
1437
+ sx: {
1438
+ display: "flex",
1439
+ flexDirection: "row",
1440
+ alignItems: "flex-start",
1441
+ gap: (e) => e.spacing(2)
1442
+ },
1443
+ children: [(0, Z.jsx)(A, {
1444
+ sx: {
1445
+ display: "flex",
1446
+ color: (e) => e.palette.error.main
1447
+ },
1448
+ children: typeof r == "string" ? (0, Z.jsx)(a, {
1449
+ iconKey: r,
1450
+ style: { fontSize: 48 }
1451
+ }) : r
1452
+ }), d]
1453
+ })
1454
+ })
1455
+ })]
1456
+ })
1457
+ }), [
1458
+ n,
1459
+ r,
1460
+ d
1461
+ ]);
1462
+ }));
1463
+ it.displayName = "StackTraceErrorPanel";
1464
+ var at = (e, t = !1, n = !1, r = !1, i = (e) => e) => {
1465
+ if ((0, X.isValidElement)(e)) return e;
1466
+ if (e instanceof Error) return (0, Z.jsxs)(A, {
1467
+ sx: {
1468
+ display: "flex",
1469
+ flexDirection: "column",
1470
+ minWidth: r ? "70vw" : "300px",
1471
+ maxWidth: r ? void 0 : "500px",
1472
+ width: "100%"
1473
+ },
1474
+ children: [
1475
+ (0, Z.jsx)(K, {
1476
+ variant: "caption",
1477
+ component: "div",
1478
+ sx: {
1479
+ fontSize: "0.875rem",
1480
+ lineHeight: 1.43,
1481
+ mb: 1
1482
+ },
1483
+ children: e.message
1484
+ }),
1485
+ e.cause ? (0, Z.jsx)(K, {
1486
+ variant: "caption",
1487
+ component: "div",
1488
+ sx: {
1489
+ fontSize: "0.875rem",
1490
+ lineHeight: 1.43,
1491
+ letterSpacing: "0.01071em",
1492
+ mb: 1,
1493
+ opacity: .8
1494
+ },
1495
+ children: i("stackTrace.causedBy", { cause: e.cause instanceof Error ? e.cause.message : String(e.cause) })
1496
+ }) : null,
1497
+ !t && (0, Z.jsx)(rt, {
1498
+ error: e,
1499
+ hideLineNumbers: !0
1500
+ })
1501
+ ]
1502
+ });
1503
+ let a = e === "string" ? e : `Unknown Error: ${String(e)}`;
1504
+ return (0, Z.jsx)(K, {
1505
+ variant: "caption",
1506
+ component: "div",
1507
+ sx: {
1508
+ fontSize: "0.875rem",
1509
+ lineHeight: 1.43,
1510
+ letterSpacing: "0.01071em"
1511
+ },
1512
+ children: a
1513
+ });
1514
+ }, ot = (0, X.memo)((e) => {
1515
+ let { error: t, ...n } = e, r = b(), i = C(), a = t instanceof Error ? t.message : String(t);
1516
+ return (0, Z.jsx)(it, {
1517
+ hideStackTrace: !0,
1518
+ error: (0, Z.jsxs)(A, {
1519
+ sx: {
1520
+ display: "flex",
1521
+ flexDirection: "column",
1522
+ alignItems: "flex-start",
1523
+ gap: 1
1524
+ },
1525
+ children: [(0, Z.jsx)(K, {
1526
+ variant: "body2",
1527
+ component: "div",
1528
+ children: a
1529
+ }), r ? (0, Z.jsx)(z, {
1530
+ variant: "outlined",
1531
+ size: "small",
1532
+ onClick: r,
1533
+ children: i("lazyLoad.retry")
1534
+ }) : null]
1535
+ }),
1536
+ ...n
1537
+ });
1538
+ });
1539
+ ot.displayName = "LazyLoadErrorPanel";
1540
+ var st = {
1541
+ Toolbar: "toolbar",
1542
+ Menuitem: "menuitem"
1543
+ }, ct = (e) => {
1544
+ let { closeFloat: t, closeFloatAll: n, floatReference: r, popupContainer: i, children: a, className: o, sx: s, ...c } = e;
1545
+ return (0, Z.jsx)(A, {
1546
+ className: J("menu", o),
1547
+ sx: {
1548
+ display: "flex",
1549
+ flexDirection: "column",
1550
+ paddingTop: (e) => `${e.shape.borderRadius}px`,
1551
+ paddingBottom: (e) => `${e.shape.borderRadius}px`,
1552
+ ...s
1553
+ },
1554
+ ...c,
1555
+ children: a
1556
+ });
1557
+ }, lt = (e, t, n) => {
1558
+ let r = "";
1559
+ return n && (r = (r ? r + " " : "") + "rotate(180deg)"), (0, Z.jsx)(ie, {
1560
+ style: {
1561
+ marginLeft: e ? void 0 : t ? "-0.25rem" : "-3px",
1562
+ marginRight: e ? void 0 : t ? "-0.25rem" : "-6px",
1563
+ transform: r
1564
+ },
1565
+ color: "inherit"
1566
+ });
1567
+ }, ut = (0, X.memo)((0, X.forwardRef)((e, t) => {
1568
+ let { open: n, anchorEl: r, anchorPosition: i, label: a, floatReference: o, createPopupPanel: s = ct, propsPopper: c, onMount: l, onClosing: d, onClose: f, onOpening: p, onOpen: m, children: h, sx: g, ..._ } = e, y = v(d ?? (() => {}), [d]), b = v(f ?? (() => {}), [f]), x = v(p ?? (() => {}), [p]), S = v(m ?? (() => {}), [m]), [C, w] = (0, X.useState)(), T = (0, X.useRef)(null), E = v((e, t) => {
1569
+ w(e), l?.(T.current, t);
1570
+ }, [l]), D = (0, X.useMemo)(() => {
1571
+ let e = {
1572
+ popupContainer: C,
1573
+ floatReference: o,
1574
+ children: h,
1575
+ ..._
1576
+ }, t = s(e);
1577
+ return (0, Z.jsx)(N, {
1578
+ elevation: 8,
1579
+ ref: T,
1580
+ sx: {
1581
+ display: "flex",
1582
+ overflowX: "hidden",
1583
+ overflowY: "auto",
1584
+ outline: "none",
1585
+ backgroundColor: "var(--sxl-color-elevated, var(--sxl-color-base-100, #fff))",
1586
+ border: "1px solid var(--sxl-color-elevated-border, transparent)",
1587
+ "&.MuiPaper-root": (e) => le(e)
1588
+ },
1589
+ tabIndex: 0,
1590
+ children: t
1591
+ });
1592
+ }, [
1593
+ s,
1594
+ h,
1595
+ C,
1596
+ o
1597
+ ]);
1598
+ return (0, Z.jsx)(u, {
1599
+ ref: t,
1600
+ anchorEl: r,
1601
+ anchorPosition: i,
1602
+ label: a,
1603
+ open: n,
1604
+ onMount: E,
1605
+ onOpening: x,
1606
+ onOpen: S,
1607
+ onClosing: y,
1608
+ onClose: b,
1609
+ ...c,
1610
+ children: D
1611
+ });
1612
+ }));
1613
+ ut.displayName = "ExhibitFloatPanel";
1614
+ var dt = (e) => (0, Z.jsx)(ut, { ...e }), ft = (e) => (0, Z.jsx)(d, {
1615
+ renderFloatPanel: dt,
1616
+ createPopupPanel: ct,
1617
+ ...e
1618
+ }), pt = (0, X.memo)((0, X.forwardRef)((e, t) => {
1619
+ let { nestedChildren: n, variant: r, disabled: i, createPopupPanel: a, ...o } = e, s = {
1620
+ disabled: i,
1621
+ createPopupPanel: v((e) => {
1622
+ if (!n || n.length === 0) return (0, Z.jsx)(Z.Fragment, {});
1623
+ let { popupContainer: r, floatReference: i, ref: a, ...o } = e, s = [];
1624
+ for (let e = 0; e < n.length; e++) {
1625
+ let t = n[e];
1626
+ t && s.push((0, Z.jsx)(pt, {
1627
+ ...o,
1628
+ ...t
1629
+ }, e));
1630
+ }
1631
+ return (0, Z.jsxs)(A, {
1632
+ ref: t,
1633
+ sx: {
1634
+ display: "flex",
1635
+ flexDirection: "column",
1636
+ paddingTop: "4px",
1637
+ paddingBottom: "4px"
1638
+ },
1639
+ children: [
1640
+ "Children here",
1641
+ s,
1642
+ (0, Z.jsx)(St, { children: "Close other children" })
1643
+ ]
1644
+ });
1645
+ }, [n]),
1646
+ ...o
1647
+ };
1648
+ return (0, Z.jsx)(r === st.Toolbar ? wt : Dt, { ...s });
1649
+ })), mt = { placement: "right-start" }, ht = (0, X.memo)((0, X.forwardRef)((e, t) => {
1650
+ let { children: n, sx: r, parentFloat: i, createPopupPanel: a, propsPopper: o = mt, label: c, ...l } = e;
1651
+ if (!(0, X.isValidElement)(n)) throw Error("Must supply a child component to enable a context menu.");
1652
+ let u = n, d = (0, X.useMemo)(() => ({
1653
+ ...u?.props,
1654
+ ...l,
1655
+ onContextMenu: (e) => {
1656
+ u?.props?.onContextMenu?.(e), e.isDefaultPrevented() || (l?.onContextMenu?.(e), e.isDefaultPrevented() || (m(e), e.preventDefault()));
1657
+ }
1658
+ }), [l, u?.props]), f = v(a ?? (() => {}), [a]), [p, m] = (0, X.useState)(null), { reference: h, component: g } = s({
1659
+ label: c ?? "contextMenu",
1660
+ propsPopper: o,
1661
+ parentFloat: i,
1662
+ anchor: { getBoundingClientRect: () => new DOMRect(p?.clientX || 0, p?.clientY || 0) },
1663
+ onClose: () => m(null),
1664
+ createPopupPanel: f
1665
+ });
1666
+ return (0, X.useEffect)(() => {
1667
+ p ? h.open(0) : h.close(0);
1668
+ }, [p]), (0, Z.jsxs)(Z.Fragment, { children: [(0, X.cloneElement)(n, d), g] });
1669
+ })), gt = (0, Z.jsx)(a, {}), _t = (0, Z.jsx)(a, { iconKey: "Check" }), vt = (0, X.memo)((0, X.forwardRef)((e, t) => {
1670
+ let { dense: n = !0, outlined: i = !1, disableHover: a = !1, selected: o, icon: s, propsTooltip: c, children: l, primary: u, sx: d, disabled: f, className: p, onFocus: m, onBlur: h, ...g } = e, [_, v] = (0, X.useState)(!1), y = {
1671
+ marginRight: "0px",
1672
+ padding: n ? "2px" : "7px",
1673
+ borderRadius: (e) => `${e.shape.borderRadius}px`,
1674
+ color: (e) => u ? void 0 : e.palette.text.icon ?? e.palette.action.active,
1675
+ border: (e) => `solid ${i ? e.palette.divider : "transparent"} 1px`,
1676
+ "& .MuiTouchRipple-child": { borderRadius: (e) => `${e.shape.borderRadius}px !important` },
1677
+ "&.Mui-selected": {
1678
+ backgroundColor: (e) => E(e.palette.text.primary, e.palette.action.selectedOpacity),
1679
+ border: (e) => `solid ${i ? e.palette.text?.primary : e.palette.divider} 1px`
1680
+ },
1681
+ "&.Mui-disabled": { border: (e) => `solid ${i ? e.palette.divider : "transparent"} 1px` },
1682
+ "&.Mui-disabled > .icon path": {
1683
+ filter: "grayscale(65%)",
1684
+ opacity: ".8"
1685
+ },
1686
+ "&.Mui-focusVisible": {
1687
+ outline: "solid transparent 1px",
1688
+ border: "1px solid transparent"
1689
+ },
1690
+ ...d
1691
+ }, b = {
1692
+ "&:hover:not(.Mui-disabled, [disabled])": {
1693
+ color: (e) => e.palette.text.primary,
1694
+ border: (e) => `solid ${i ? e.palette.text?.primary : e.palette.divider} 1px`,
1695
+ "&.Mui-selected": { backgroundColor: (e) => E(e.palette.text.primary, e.palette.action.selectedOpacity + e.palette.action.hoverOpacity) },
1696
+ "> .outline-hover": { outline: (e) => `solid ${i ? e.palette.text?.primary : e.palette.divider} 1px` },
1697
+ backgroundColor: (e) => E(e.palette.action.active, e.palette.action.hoverOpacity),
1698
+ "@media (hover: none)": { backgroundColor: "transparent" }
1699
+ },
1700
+ "&.Mui-focusVisible": {
1701
+ outline: (e) => `solid ${e.palette.primary.main} 1px`,
1702
+ border: (e) => `1px solid ${e.palette?.primary?.main}`,
1703
+ zIndex: 1
1704
+ }
1705
+ }, x = y;
1706
+ a || (x = r.mergeContentful(y, b));
1707
+ let S = (0, X.useMemo)(() => {
1708
+ let e = typeof s == "function" ? s() : s;
1709
+ return e === null ? e : e || (o === void 0 ? gt : _t);
1710
+ }, [s, o]), C = (0, Z.jsxs)(L, {
1711
+ component: "div",
1712
+ ref: t,
1713
+ className: J({
1714
+ "Mui-focusVisible": _,
1715
+ "Mui-selected": o,
1716
+ "Mui-disabled": f
1717
+ }, p),
1718
+ onFocus: (e) => {
1719
+ v(!0), m?.(e);
1720
+ },
1721
+ onBlur: (e) => {
1722
+ v(!1), h?.(e);
1723
+ },
1724
+ size: "small",
1725
+ TouchRippleProps: { center: !1 },
1726
+ sx: x,
1727
+ edge: "end",
1728
+ ...g,
1729
+ disabled: f || !1,
1730
+ children: [S, l]
1731
+ });
1732
+ if (c) {
1733
+ if (c.simple && c.label && !c.disabled) {
1734
+ let { label: e, description: t, maxWidth: n, shortcut: r, useModifierSymbols: i, componentDisabled: a, simple: o, chips: s, ref: l, ...u } = c;
1735
+ C = (0, Z.jsx)(te, {
1736
+ disableInteractive: !0,
1737
+ title: e ?? "",
1738
+ ...u,
1739
+ children: (0, Z.jsx)(A, {
1740
+ sx: { display: "flex" },
1741
+ children: C
1742
+ })
1743
+ });
1744
+ } else C = (0, Z.jsx)(G, {
1745
+ children: C,
1746
+ ...c
1747
+ });
1748
+ }
1749
+ return C;
1750
+ })), yt = (0, Z.jsx)(a, {}), bt = {
1751
+ marginLeft: "4px",
1752
+ marginRight: "4px",
1753
+ paddingLeft: "6px",
1754
+ paddingRight: "18px"
1755
+ }, xt = (e) => e.icon, St = (0, X.memo)((0, X.forwardRef)((e, t) => {
1756
+ let { icon: n = yt, renderIcon: r = xt, className: i, onFocus: a, selected: o, onBlur: s, onMouseOver: l, onMouseOut: u, onMouseEnter: d, disabled: f, children: p, sx: m, propsTooltip: h, chips: g, primary: _, ...v } = e, y = c(), [b, x] = (0, X.useState)(!1), [S, C] = (0, X.useState)(!1), w = (0, X.useMemo)(() => {
1757
+ let e = r?.({
1758
+ icon: n,
1759
+ disabled: f,
1760
+ selected: o
1761
+ });
1762
+ return e ? (0, Z.jsx)(Ie, {
1763
+ className: J({
1764
+ "Mui-focusVisible": b,
1765
+ "Mui-hovered": S
1766
+ }),
1767
+ sx: {
1768
+ "& .MuiSvgIcon-root": { color: (e) => _ ? void 0 : e.palette.text.icon ?? e.palette.action.active },
1769
+ "&.Mui-hovered:not(.Mui-disabled, [disabled])": { "& .MuiSvgIcon-root": { color: (e) => e.palette.text.primary } }
1770
+ },
1771
+ children: e
1772
+ }) : null;
1773
+ }, [
1774
+ r,
1775
+ f,
1776
+ n,
1777
+ b,
1778
+ S,
1779
+ _,
1780
+ o
1781
+ ]), T = (0, Z.jsxs)(Pe, {
1782
+ ref: t,
1783
+ role: "menuitem",
1784
+ disabled: f,
1785
+ onMouseOver: (e) => {
1786
+ l?.(e), e.isDefaultPrevented() || C(!0);
1787
+ },
1788
+ onMouseOut: (e) => {
1789
+ u?.(e), e.isDefaultPrevented() || C(!1);
1790
+ },
1791
+ onMouseEnter: (e) => {
1792
+ d?.(e), e.isDefaultPrevented() || y?.closeChild();
1793
+ },
1794
+ TouchRippleProps: { center: !1 },
1795
+ className: J({
1796
+ "Mui-focusVisible": b,
1797
+ "Mui-hovered": S
1798
+ }, i),
1799
+ onFocus: (e) => {
1800
+ a?.(e), x(!0);
1801
+ },
1802
+ onBlur: (e) => {
1803
+ s?.(e), x(!1);
1804
+ },
1805
+ sx: {
1806
+ flex: "1 1 100%",
1807
+ whiteSpace: "nowrap",
1808
+ fontFamily: (e) => e.typography.fontFamily,
1809
+ fontWeight: 400,
1810
+ lineHeight: 1.5,
1811
+ paddingTop: "2px",
1812
+ paddingBottom: "2px",
1813
+ ...bt,
1814
+ borderRadius: "4px",
1815
+ fontSize: "0.875em",
1816
+ "@media (pointer: coarse)": { fontSize: "1em" },
1817
+ "&.Mui-disabled > .icon path": { filter: "grayscale(65%)" },
1818
+ "&.Mui-selected": { color: (e) => e.palette.text.primary },
1819
+ color: (e) => e.palette.text.secondary,
1820
+ "&.Mui-hovered:not(.Mui-disabled, [disabled])": { color: (e) => e.palette.text.primary },
1821
+ ...m
1822
+ },
1823
+ ...v,
1824
+ children: [
1825
+ w,
1826
+ p,
1827
+ g ? (0, Z.jsx)(re, { chips: g }) : null
1828
+ ]
1829
+ });
1830
+ return h && (T = (0, Z.jsx)(G, {
1831
+ children: T,
1832
+ placement: "right-start",
1833
+ ...h
1834
+ })), T;
1835
+ })), Ct = (0, X.memo)((0, X.forwardRef)((e, t) => {
1836
+ let { children: n, sx: r, primary: i = !1, variant: a = "subtitle1", ...o } = e;
1837
+ return (0, Z.jsx)(Z.Fragment, { children: (0, Z.jsx)(K, {
1838
+ ref: t,
1839
+ variant: a,
1840
+ component: "div",
1841
+ sx: {
1842
+ userSelect: "none",
1843
+ fontWeight: "500",
1844
+ paddingLeft: "8px",
1845
+ paddingTop: a === "subtitle1" ? "2px" : void 0,
1846
+ paddingBottom: a === "subtitle1" ? "2px" : void 0,
1847
+ color: (e) => i ? void 0 : e.palette.text.secondary,
1848
+ ...r
1849
+ },
1850
+ ...o,
1851
+ children: n
1852
+ }) });
1853
+ })), wt = (0, X.memo)((0, X.forwardRef)((e, t) => {
1854
+ let { dense: n = !0, outlined: i = !1, label: a, showLabel: o = !1, selected: c = !1, onQuickClick: l, parentFloat: u, createPopupPanel: d, propsPopup: f, onPopupOpen: p, onPopupClose: m, propsQuickButton: h, renderQuickButton: g, tooltip: _ = "", createTooltip: b, icon: x, disabled: S, propsButton: C = r.EmptyObject, disableHover: w, ripple: T, primary: D, children: O, sx: j, className: M, ...N } = e, P = k(), F = (0, X.useMemo)(() => {
1855
+ let e = (e, t, n, r = n) => {
1856
+ let a = typeof i == "boolean" ? null : i[e];
1857
+ return typeof a == "function" ? a(t) : a || (i ? n : r);
1858
+ };
1859
+ return {
1860
+ outline: {
1861
+ color: (t) => e("color", t, t.palette.divider, "transparent"),
1862
+ hoverColor: (t) => e("hoverColor", t, t.palette.text?.primary, t.palette.divider),
1863
+ focusColor: (t) => e("focusColor", t, t.palette?.primary?.main)
1864
+ },
1865
+ active: P.palette.mode === "dark" ? P.palette.text.secondary : P.palette.text.primary,
1866
+ text: P.palette.text.icon ?? P.palette.action.active
1867
+ };
1868
+ }, [i, P]), [I, R] = (0, X.useState)(!1), [z, ee] = (0, X.useState)(!1), [B, ne] = (0, X.useState)(!1), re = (0, X.useRef)(null), V = (0, X.useRef)(null), H = s({
1869
+ anchor: re.current,
1870
+ label: a,
1871
+ createPopupPanel: d,
1872
+ parentFloat: u,
1873
+ propsPopper: f?.propsPopper,
1874
+ onClose: () => {
1875
+ R(!1), m?.();
1876
+ },
1877
+ onOpen: () => {
1878
+ R(!0), p?.();
1879
+ }
1880
+ }), ie = v((e) => {
1881
+ l?.(e), H.reference.close(0);
1882
+ }, [l, H]), U = v(() => {
1883
+ I ? H.reference.close(0) : H.reference.open(0);
1884
+ }, [
1885
+ I,
1886
+ H,
1887
+ u,
1888
+ a
1889
+ ]), W = (0, X.useMemo)(() => {
1890
+ let e = {
1891
+ "&.bordered": {
1892
+ borderWidth: "1px",
1893
+ borderRadius: "0px",
1894
+ borderTopStyle: "solid",
1895
+ borderBottomStyle: "solid",
1896
+ borderColor: (e) => F.outline.color(e),
1897
+ "&.Mui-focusVisible": { border: (e) => `1px solid ${F.outline.focusColor(e)} !important` },
1898
+ "&:hover:not(.Mui-disabled, [disabled])": {
1899
+ borderColor: () => w ? "transparent" : void 0,
1900
+ backgroundColor: () => w ? "transparent" : void 0
1901
+ },
1902
+ "&.Mui-hovered:not(.Mui-disabled, [disabled])": { borderColor: (e) => F.outline.hoverColor(e) },
1903
+ "&.Mui-selected:not(.Mui-disabled, [disabled])": { borderColor: (e) => F.outline.hoverColor(e) },
1904
+ "&.left": {
1905
+ borderTopLeftRadius: (e) => `${e.shape.borderRadius}px`,
1906
+ borderBottomLeftRadius: (e) => `${e.shape.borderRadius}px`,
1907
+ borderLeftStyle: "solid"
1908
+ },
1909
+ "&.hard-right": {
1910
+ borderRightStyle: "solid",
1911
+ borderRightWidth: "1px",
1912
+ borderRightColor: (e) => F.outline.color(e)
1913
+ },
1914
+ "&.right": {
1915
+ borderTopRightRadius: (e) => `${e.shape.borderRadius}px`,
1916
+ borderBottomRightRadius: (e) => `${e.shape.borderRadius}px`,
1917
+ borderRightStyle: "solid"
1918
+ },
1919
+ "&.divider": { borderLeftWidth: "0px !important" }
1920
+ },
1921
+ "& .MuiTouchRipple-child": { borderRadius: (e) => `${e.shape.borderRadius}px !important` }
1922
+ }, t = { "&.Mui-selected": {
1923
+ backgroundColor: (e) => E(e.palette.primary.main, e.palette.action.selectedOpacity),
1924
+ "&:hover:not(.Mui-disabled)": {
1925
+ backgroundColor: (e) => E(e.palette.primary.main, e.palette.action.selectedOpacity + e.palette.action.hoverOpacity),
1926
+ "@media (hover: none)": { backgroundColor: (e) => E(e.palette.primary.main, e.palette.action.selectedOpacity) }
1927
+ }
1928
+ } }, i = {
1929
+ maxHeight: "100%",
1930
+ "&.Mui-selected": {
1931
+ backgroundColor: (e) => E(e.palette.text.icon ?? e.palette.action.active, e.palette.action.selectedOpacity),
1932
+ "&:hover:not(.Mui-disabled)": {
1933
+ backgroundColor: (e) => E(e.palette.text.icon ?? e.palette.action.active, e.palette.action.selectedOpacity + e.palette.action.hoverOpacity),
1934
+ "@media (hover: none)": { backgroundColor: (e) => E(e.palette.text.icon ?? e.palette.action.active, e.palette.action.selectedOpacity) }
1935
+ }
1936
+ },
1937
+ "&:hover:not(.Mui-disabled, [disabled])": {
1938
+ color: (e) => e.palette.text.primary,
1939
+ ...w ? null : {
1940
+ backgroundColor: (e) => E(e.palette.action.active, e.palette.action.hoverOpacity),
1941
+ "@media (hover: none)": { backgroundColor: "transparent" }
1942
+ }
1943
+ },
1944
+ backgroundColor: () => w ? "transparent" : void 0,
1945
+ color: (e) => e.palette.text.icon,
1946
+ "&.Mui-disabled > .icon path": {
1947
+ filter: "grayscale(65%)",
1948
+ opacity: ".8"
1949
+ },
1950
+ padding: () => n ? "2px 3px" : "7px",
1951
+ marginRight: "0"
1952
+ }, a = r.mergeContentful(i, e), o = r.mergeContentful(a, t), s = r.mergeContentful(i, e);
1953
+ return {
1954
+ quickButtonStyling: a,
1955
+ openQuickButtonStyling: o,
1956
+ compoundStyling: s,
1957
+ openCompoundStyling: r.mergeContentful(s, t)
1958
+ };
1959
+ }, [F, w]), G = v((e) => {
1960
+ let { children: t, ref: n, ...r } = e;
1961
+ return (0, Z.jsx)(te, {
1962
+ ref: n,
1963
+ ...r,
1964
+ disableInteractive: !0,
1965
+ children: t
1966
+ });
1967
+ }, []), K = l || g, q = K && (h?.tooltip || h?.createTooltip), ae = (e) => {
1968
+ let { tooltip: t, createTooltip: n, sx: r, ...i } = e, a = (0, Z.jsx)(L, {
1969
+ sx: { ...r },
1970
+ component: "div",
1971
+ ...i
1972
+ });
1973
+ return q && (a = (n ?? G)({
1974
+ title: I ? "" : t ?? _,
1975
+ children: (0, Z.jsx)("div", { children: a })
1976
+ }, I)), a;
1977
+ }, oe = { onKeyDown: (e) => {
1978
+ e.keyCode === y.Space ? U() : e.keyCode === y.F4 || e.keyCode === y.Down ? H.reference.open(0) : e.keyCode === y.Up && H.reference.close(0);
1979
+ } }, se = (0, Z.jsx)(Z.Fragment, {}), ce = (0, X.useMemo)(() => Ve((typeof x == "function" ? x() : x) ?? (K ? Tt : null), o ? a : null), [
1980
+ x,
1981
+ a,
1982
+ o,
1983
+ K
1984
+ ]);
1985
+ if (K) {
1986
+ let e = I ? W.openQuickButtonStyling : W.quickButtonStyling, t = (g || ae)({
1987
+ tabIndex: -1,
1988
+ disabled: S,
1989
+ size: "small",
1990
+ edge: "end",
1991
+ onMouseEnter: () => {
1992
+ H.reference.parent?.closeChild();
1993
+ },
1994
+ onMouseDown: (e) => {
1995
+ e.button === 0 && (e.preventDefault(), ie(e));
1996
+ },
1997
+ disableRipple: !!T,
1998
+ children: (0, Z.jsxs)(Z.Fragment, { children: [ce, T] }),
1999
+ ...h,
2000
+ className: J({
2001
+ "Mui-focusVisible": z || I,
2002
+ "Mui-selected": c,
2003
+ "Mui-hovered": B || I,
2004
+ "Mui-disabled": S,
2005
+ bordered: !0,
2006
+ left: !0,
2007
+ "hard-right": !0
2008
+ }, h?.className),
2009
+ sx: {
2010
+ ...W.quickButtonStyling,
2011
+ height: "100%",
2012
+ ...h?.sx
2013
+ }
2014
+ }), r = lt(!0, n, I);
2015
+ q && (r = (b ?? G)({
2016
+ title: I ? "" : _,
2017
+ children: r
2018
+ }, I)), se = (0, Z.jsxs)(Z.Fragment, { children: [t, (0, Z.jsx)(L, {
2019
+ ref: V,
2020
+ component: "div",
2021
+ className: J({
2022
+ "Mui-selected": I,
2023
+ "Mui-hovered": B || I,
2024
+ "Mui-disabled": S,
2025
+ "Mui-focusVisible": z || I,
2026
+ bordered: !0,
2027
+ right: !0,
2028
+ divider: !0
2029
+ }),
2030
+ sx: {
2031
+ paddingLeft: (n ? 0 : 2) + "px",
2032
+ paddingRight: (n ? 0 : 2) + "px",
2033
+ width: () => "calc(var(--icon-size, 1.25em) * 0.8)",
2034
+ ...W.quickButtonStyling,
2035
+ ...e
2036
+ },
2037
+ TouchRippleProps: { center: !1 },
2038
+ tabIndex: -1,
2039
+ disabled: S,
2040
+ size: "small",
2041
+ edge: "end",
2042
+ onMouseDown: (e) => {
2043
+ e.button === 0 && (e.preventDefault(), U());
2044
+ },
2045
+ children: r
2046
+ })] });
2047
+ } else {
2048
+ let e = I ? W.openCompoundStyling : W.compoundStyling;
2049
+ se = (0, Z.jsx)(vt, {
2050
+ ref: V,
2051
+ tabIndex: -1,
2052
+ disabled: S,
2053
+ size: "small",
2054
+ icon: ce,
2055
+ className: J({
2056
+ "Mui-selected": I || c,
2057
+ "Mui-hovered": B,
2058
+ "Mui-disabled": S,
2059
+ "Mui-focusVisible": z || I,
2060
+ bordered: !0,
2061
+ left: !0,
2062
+ right: !0
2063
+ }),
2064
+ sx: {
2065
+ flex: "1 1 auto",
2066
+ ...W.quickButtonStyling,
2067
+ ...e
2068
+ },
2069
+ onMouseDown: (e) => {
2070
+ e.button === 0 && (e.preventDefault(), U());
2071
+ },
2072
+ children: lt(!1, n, I)
2073
+ });
2074
+ }
2075
+ let { className: Y, sx: le, ...ue } = C, de = (0, Z.jsx)(A, {
2076
+ onFocus: () => ee(!0),
2077
+ onBlur: () => ee(!1),
2078
+ onMouseOver: () => ne(!0),
2079
+ onMouseOut: () => ne(!1),
2080
+ ...oe,
2081
+ "aria-label": "split button",
2082
+ ref: re,
2083
+ tabIndex: S ? void 0 : 0,
2084
+ className: J(Y, "split-button-root", {
2085
+ "Mui-focusVisible": z || I,
2086
+ "Mui-selected": I || c,
2087
+ "Mui-hovered": B,
2088
+ "Mui-disabled": S
2089
+ }),
2090
+ sx: {
2091
+ display: "flex",
2092
+ flex: "1 1 100%",
2093
+ alignItems: "stretch",
2094
+ width: "fit-content",
2095
+ "&:not(.Mui-disabled)": { cursor: "pointer" },
2096
+ marginLeft: i ? "1px" : "0px",
2097
+ marginRight: i ? "1px" : "0px",
2098
+ borderRadius: (e) => `${e.shape.borderRadius}px`,
2099
+ "&.Mui-focusVisible": {
2100
+ outline: (e) => `solid ${e.palette.primary.main} 1px`,
2101
+ zIndex: 2
2102
+ },
2103
+ ...le
2104
+ },
2105
+ ...ue,
2106
+ children: se
2107
+ });
2108
+ return q || (de = (b ?? G)({
2109
+ title: I ? "" : _,
2110
+ children: de
2111
+ }, I)), (0, Z.jsxs)(A, {
2112
+ className: J(M, "popupIconButton"),
2113
+ ref: t,
2114
+ ...N,
2115
+ sx: {
2116
+ zIndex: z || I ? 2 : void 0,
2117
+ display: "flex",
2118
+ alignItems: "center",
2119
+ ...j
2120
+ },
2121
+ children: [de, H.component]
2122
+ });
2123
+ }));
2124
+ wt.displayName = "ExhibitPopupIconButton";
2125
+ var Tt = (0, Z.jsx)(a, { iconKey: "Check" }), Et = {}, Dt = (0, X.memo)((0, X.forwardRef)((e, t) => {
2126
+ let { selected: n = !1, label: r, showLabel: i, onQuickClick: a, parentFloat: o, createPopupPanel: c, propsPopup: l = Et, onPopupOpen: u, onPopupClose: d, propsQuickButton: f, renderQuickButton: p, tooltip: m = "", createTooltip: h, icon: g, disabled: _, ripple: y, primary: b, children: x, sx: S, ...C } = e, [w, T] = (0, X.useState)(!1), [E, D] = (0, X.useState)(!1), [O, k] = (0, X.useState)(!1), [j, M] = (0, X.useState)(!1), N = (0, X.useRef)(null), P = (0, X.useRef)(null), F = (0, X.useMemo)(() => {
2127
+ if (!l) return;
2128
+ let { propsPopper: e } = l;
2129
+ return {
2130
+ placement: "right-start",
2131
+ offsets: [-4, -2],
2132
+ ...e
2133
+ };
2134
+ }, [l]), I = s({
2135
+ anchor: N.current,
2136
+ label: r,
2137
+ createPopupPanel: c,
2138
+ parentFloat: o,
2139
+ propsPopper: F,
2140
+ onClose: () => {
2141
+ T(!1), d?.();
2142
+ },
2143
+ onOpen: () => {
2144
+ T(!0), u?.();
2145
+ }
2146
+ }), L = v((e) => {
2147
+ e.button === 0 && (a?.(e), I.reference.close(0));
2148
+ }, [a]), R = (0, Z.jsx)(se, {}), z = { "&.Mui-selected": {
2149
+ color: (e) => e.palette.text.primary,
2150
+ "& svg * ": { color: (e) => e.palette.text.primary }
2151
+ } }, ee = (0, X.useCallback)((e) => {
2152
+ let { children: t, ref: n, ...r } = e;
2153
+ return (0, Z.jsx)(te, {
2154
+ ref: n,
2155
+ ...r,
2156
+ disableInteractive: !0,
2157
+ children: t
2158
+ });
2159
+ }, []), B = a || p, ne = (e) => {
2160
+ let { tooltip: t, createTooltip: n, ...i } = e;
2161
+ return (0, Z.jsxs)(St, {
2162
+ icon: g,
2163
+ disableRipple: !!y,
2164
+ className: J({ "Mui-hovered": O }),
2165
+ sx: {
2166
+ flex: "1 1 100%",
2167
+ ...z
2168
+ },
2169
+ ...i,
2170
+ children: [r, y]
2171
+ });
2172
+ }, re = {
2173
+ onFocus: () => {
2174
+ D(!0);
2175
+ },
2176
+ onBlur: () => D(!1),
2177
+ onMouseOver: () => {
2178
+ k(!0);
2179
+ },
2180
+ onMouseLeave: () => {
2181
+ k(!1);
2182
+ },
2183
+ onMouseEnter: (e) => {
2184
+ e.preventDefault(), I.reference.open();
2185
+ },
2186
+ onMouseDown: (e) => {
2187
+ e.button === 0 && e.preventDefault();
2188
+ }
2189
+ }, V = (0, Z.jsx)(Z.Fragment, {});
2190
+ if (B) {
2191
+ let e = (p || ne)({
2192
+ tabIndex: -1,
2193
+ disabled: _,
2194
+ onMouseEnter: () => {
2195
+ I.reference.parent?.closeChild();
2196
+ },
2197
+ onMouseDown: (e) => {
2198
+ e.button === 0 && (e.preventDefault(), L(e));
2199
+ },
2200
+ className: J("quick-left", {}, f?.className),
2201
+ ...f
2202
+ });
2203
+ V = (0, Z.jsxs)(Z.Fragment, { children: [
2204
+ e,
2205
+ (0, Z.jsx)(he, {
2206
+ sx: {
2207
+ ml: "0px",
2208
+ mr: "0px"
2209
+ },
2210
+ orientation: "vertical",
2211
+ variant: "middle",
2212
+ flexItem: !0
2213
+ }),
2214
+ (0, Z.jsx)(Pe, {
2215
+ ref: P,
2216
+ className: J({
2217
+ "Mui-selected": w,
2218
+ "Mui-hovered": O
2219
+ }),
2220
+ sx: {
2221
+ borderTopLeftRadius: "0px",
2222
+ borderBottomLeftRadius: "0px",
2223
+ borderTopRightRadius: "4px",
2224
+ borderBottomRightRadius: "4px",
2225
+ padding: "0",
2226
+ paddingTop: "2px",
2227
+ paddingBottom: "2px",
2228
+ marginLeft: "0px",
2229
+ marginRight: "6px",
2230
+ color: (e) => b ? void 0 : e.palette.text.secondary,
2231
+ "&.Mui-hovered:not(.Mui-disabled, [disabled])": { color: (e) => e.palette.text.primary },
2232
+ ...z
2233
+ },
2234
+ tabIndex: -1,
2235
+ disabled: _,
2236
+ ...re,
2237
+ children: (0, Z.jsx)(A, {
2238
+ className: "expand-icon",
2239
+ sx: {
2240
+ flex: "none",
2241
+ display: "flex",
2242
+ border: "1px solid transparent",
2243
+ paddingTop: "1px",
2244
+ paddingBottom: "1px",
2245
+ color: (e) => b ? void 0 : e.palette.text.icon ?? e.palette.action.active
2246
+ },
2247
+ onMouseOver: (e) => {
2248
+ e.preventDefault(), M(!0);
2249
+ },
2250
+ onMouseLeave: () => {
2251
+ M(!1);
2252
+ },
2253
+ onClick: (e) => {
2254
+ e.preventDefault(), w ? I.reference.close() : I.reference.open();
2255
+ },
2256
+ children: R
2257
+ })
2258
+ })
2259
+ ] });
2260
+ } else V = (0, Z.jsxs)(St, {
2261
+ ref: P,
2262
+ tabIndex: -1,
2263
+ disabled: _,
2264
+ icon: g,
2265
+ className: J({
2266
+ "Mui-selected": w || n,
2267
+ "Mui-hovered": O
2268
+ }),
2269
+ sx: {
2270
+ flex: "1 1 100%",
2271
+ paddingRight: "0px",
2272
+ ...z
2273
+ },
2274
+ onClick: (e) => {
2275
+ e.preventDefault(), w ? I.reference.close() : I.reference.open();
2276
+ },
2277
+ ...re,
2278
+ children: [(0, Z.jsx)("div", {
2279
+ style: { flex: "1 1 100%" },
2280
+ children: r
2281
+ }), (0, Z.jsx)(A, {
2282
+ className: "expand-icon",
2283
+ sx: {
2284
+ flex: "none",
2285
+ display: "flex",
2286
+ color: (e) => b ? void 0 : e.palette.text.icon ?? e.palette.action.active
2287
+ },
2288
+ children: R
2289
+ })]
2290
+ });
2291
+ let H = (0, Z.jsx)(A, {
2292
+ "aria-label": "split button",
2293
+ ref: N,
2294
+ tabIndex: _ ? void 0 : 0,
2295
+ className: J({
2296
+ "Mui-disabled": _,
2297
+ "Mui-selected": w,
2298
+ "Mui-focusVisible": E || w,
2299
+ "Mui-hovered": O
2300
+ }),
2301
+ sx: {
2302
+ display: "flex",
2303
+ flex: "1 1 100%",
2304
+ alignItems: "center",
2305
+ width: "fit-content",
2306
+ "& .quick-left": {
2307
+ borderTopRightRadius: "0px",
2308
+ borderBottomRightRadius: "0px",
2309
+ marginRight: "-1px"
2310
+ },
2311
+ "&.Mui-disabled > .icon path": { filter: "grayscale(65%)" },
2312
+ ...S
2313
+ },
2314
+ ...C,
2315
+ children: V
2316
+ });
2317
+ return B && !j && (f?.tooltip || f?.createTooltip) && (H = (f?.createTooltip ?? ee)({
2318
+ title: w ? "" : H ?? f?.tooltip,
2319
+ children: H
2320
+ }, w)), (0, Z.jsxs)(A, {
2321
+ ref: t,
2322
+ sx: {
2323
+ zIndex: E || w ? 2 : void 0,
2324
+ display: "flex",
2325
+ " .tooltip-wrapper": {
2326
+ display: "flex",
2327
+ flex: "1 1 100%"
2328
+ }
2329
+ },
2330
+ children: [H, I.component]
2331
+ });
2332
+ })), Ot = (0, X.memo)((0, X.forwardRef)((e, t) => {
2333
+ let { onSelectToggle: n, selected: r = !1, label: i, shortcut: a, tabIndex: o = 0, preventFocus: s = !1, ...c } = e;
2334
+ return (0, Z.jsx)(G, {
2335
+ label: i,
2336
+ shortcut: a,
2337
+ children: (0, Z.jsx)(vt, {
2338
+ ref: t,
2339
+ outlined: !1,
2340
+ tabIndex: o,
2341
+ selected: r,
2342
+ onMouseDown: (e) => {
2343
+ s && e.preventDefault();
2344
+ },
2345
+ onClick: () => {
2346
+ n?.(!r);
2347
+ },
2348
+ ...c
2349
+ })
2350
+ });
2351
+ })), kt = (0, Z.jsx)(a, {}), At = (0, Z.jsx)(a, { iconKey: "Check" }), jt = (0, X.memo)((0, X.forwardRef)((e, t) => {
2352
+ let { children: n, selected: r = !0, outlined: i = !0, sx: a, ...o } = e, s = (0, X.useMemo)(() => ({
2353
+ display: "flex",
2354
+ border: (e) => r ? `solid ${i ? e.palette.divider : "transparent"} 1px` : "solid transparent 1px",
2355
+ borderRadius: (e) => `${e.shape.borderRadius}px`,
2356
+ backgroundColor: (e) => {
2357
+ if (r) return E(e.palette.text.icon ?? e.palette.action.active, e.palette.action.selectedOpacity);
2358
+ },
2359
+ ...a
2360
+ }), [a]), c = n;
2361
+ return c === null && (c = kt), c ||= At, (0, Z.jsx)(A, {
2362
+ ref: t,
2363
+ sx: s,
2364
+ ...o,
2365
+ children: c
2366
+ });
2367
+ }));
2368
+ H();
2369
+ var Q, Mt = {
2370
+ inline: null,
2371
+ popup: []
2372
+ }, Nt = (0, X.memo)((0, X.forwardRef)((e, t) => {
2373
+ let { children: n, sx: r, ...i } = e, o = C(), s = _(t, () => ({}), []), [l, u] = w(), d = (0, X.useRef)(null), f = (0, X.useRef)(null), [p, m] = (0, X.useReducer)((e) => e + 1, 0), [h, g] = (0, X.useState)(null), [v, y] = (0, X.useState)(null), b = v?.popup ?? null, x = (0, X.useRef)(0), [S, T] = (0, X.useState)(!1), E = (0, X.useRef)(!1), D = c(), O = (0, X.useRef)(D);
2374
+ O.current = D;
2375
+ let k = (0, X.useCallback)(() => {
2376
+ O.current?.closeChild(0);
2377
+ }, []), j = (0, X.useCallback)(() => {
2378
+ E.current = !0, T(!0);
2379
+ }, []), M = (0, X.useCallback)(() => {
2380
+ E.current = !1, T(!1);
2381
+ }, []), N = (0, X.useRef)(null), P = (0, X.useRef)(/* @__PURE__ */ new Map()), F = (0, X.useCallback)(() => {
2382
+ P.current.clear(), y(null), m();
2383
+ }, []);
2384
+ (0, X.useLayoutEffect)(() => {
2385
+ f.current = { refs: [] };
2386
+ let e = [], t = X.Children.toArray(n), r = 0;
2387
+ t.forEach((n, i) => {
2388
+ e.push((0, Z.jsx)(A, {
2389
+ sx: {
2390
+ display: "flex",
2391
+ flex: "0 0 auto"
2392
+ },
2393
+ ref: (e) => {
2394
+ r++, r === t.length && m();
2395
+ let n = { current: null };
2396
+ n.current = e, f.current.refs[i] = n;
2397
+ },
2398
+ children: n
2399
+ }, i));
2400
+ }), g(e);
2401
+ }, [n, u]), (0, X.useLayoutEffect)(() => {
2402
+ if (!h) return;
2403
+ let e = f.current?.refs ?? [], t = e.length;
2404
+ if (!s.current || t === 0) return void y(null);
2405
+ let n = s.current?.getBoundingClientRect(), r = [], i = [], a = () => {
2406
+ let n = N.current;
2407
+ n ? n.disconnect() : n = N.current = new ResizeObserver((e) => {
2408
+ for (let t = 0; t < e.length; t++) {
2409
+ let n = e[t].target;
2410
+ if (!n.isConnected) continue;
2411
+ let r = P.current.get(n);
2412
+ if (r !== void 0 && Math.abs(n.getBoundingClientRect().width - r) > .5) return void F();
2413
+ }
2414
+ }), P.current.clear();
2415
+ for (let r = 0; r < t; r++) {
2416
+ let t = e[r]?.current;
2417
+ t && (P.current.set(t, t.getBoundingClientRect().width), n.observe(t));
2418
+ }
2419
+ }, o = 0, c = !1;
2420
+ for (let r = 0; !c && r < t; r++) {
2421
+ let t = e[r];
2422
+ if (!t) continue;
2423
+ if (!t.current) {
2424
+ c = !0;
2425
+ continue;
2426
+ }
2427
+ let i = t.current.getBoundingClientRect();
2428
+ o += i?.width, o > n.width && (c = !0);
2429
+ }
2430
+ if (!c) return a(), E.current && k(), void y(Mt);
2431
+ let l = d.current?.getBoundingClientRect();
2432
+ l?.width && (x.current = l.width);
2433
+ let u = n.width - x.current;
2434
+ o = 0;
2435
+ for (let n = 0; n < t; n++) {
2436
+ let t = e[n], a = !1;
2437
+ if (t.current) {
2438
+ let e = t.current.getBoundingClientRect();
2439
+ o += e?.width, o <= u && (a = !0);
2440
+ }
2441
+ a ? r.push(h[n]) : i.push(h[n]);
2442
+ }
2443
+ a(), y({
2444
+ inline: r,
2445
+ popup: i
2446
+ });
2447
+ }, [
2448
+ n,
2449
+ h,
2450
+ u,
2451
+ p
2452
+ ]), (0, X.useLayoutEffect)(() => () => {
2453
+ N.current?.disconnect(), N.current = null;
2454
+ }, []);
2455
+ let I = (0, X.useCallback)((e) => {
2456
+ let t = [], n = b?.length ?? 0;
2457
+ for (let e = 0; e < n; e++) {
2458
+ let n = X.Children.toArray(b[e])[0];
2459
+ X.Children.toArray(n.props.children?.props?.children ?? n.props.children).forEach((n, r) => {
2460
+ let i = n, a = {
2461
+ ...i.props,
2462
+ key: `overflow-${e}-${r}${i.key ?? ""}`
2463
+ }, o = (0, X.cloneElement)(i, a);
2464
+ t.push(o);
2465
+ });
2466
+ }
2467
+ return ct({
2468
+ ...e,
2469
+ children: (0, Z.jsx)(A, {
2470
+ className: "overflow-palette-popup-panel",
2471
+ sx: {
2472
+ display: "flex",
2473
+ flexDirection: "row",
2474
+ flexWrap: "wrap",
2475
+ rowGap: (e) => e.spacing(.25),
2476
+ paddingTop: (e) => e.spacing(.5),
2477
+ paddingBottom: (e) => e.spacing(.5),
2478
+ paddingLeft: (e) => e.spacing(1),
2479
+ paddingRight: (e) => e.spacing(1),
2480
+ overflow: "hidden"
2481
+ },
2482
+ children: t
2483
+ })
2484
+ });
2485
+ }, [b]), L = ae([
2486
+ s,
2487
+ l,
2488
+ t
2489
+ ]);
2490
+ return (0, Z.jsxs)(A, {
2491
+ className: "overflow-palette",
2492
+ sx: {
2493
+ display: "flex",
2494
+ flexDirection: "row",
2495
+ flexWrap: "nowrap",
2496
+ flex: "1 1 100%",
2497
+ width: "100%",
2498
+ maxWidth: "100%",
2499
+ minWidth: 0,
2500
+ overflow: "hidden",
2501
+ ...r
2502
+ },
2503
+ ref: L,
2504
+ ...i,
2505
+ children: [(0, Z.jsx)(A, {
2506
+ sx: {
2507
+ flexDirection: "row",
2508
+ display: "flex",
2509
+ flexWrap: "nowrap",
2510
+ maxWidth: "100%",
2511
+ flex: "1 1 100%",
2512
+ minWidth: 0,
2513
+ overflow: "hidden",
2514
+ alignItems: "center"
2515
+ },
2516
+ children: v?.inline ?? h
2517
+ }), (0, Z.jsx)(A, {
2518
+ className: "overflow-palette-popup-button",
2519
+ sx: {
2520
+ display: S || b === null || b.length !== 0 ? "flex" : "none",
2521
+ flex: "0 0 auto",
2522
+ alignItems: "center"
2523
+ },
2524
+ children: (0, Z.jsx)(wt, {
2525
+ createPopupPanel: I,
2526
+ ref: d,
2527
+ onPopupOpen: j,
2528
+ onPopupClose: M,
2529
+ createTooltip: ({ children: e }, t) => (0, Z.jsx)(G, {
2530
+ label: o("overflow.more"),
2531
+ description: o("overflow.moreDescription"),
2532
+ disabled: t,
2533
+ children: e
2534
+ }),
2535
+ icon: (0, Z.jsx)(a, { iconKey: "MoreHorizontal" })
2536
+ })
2537
+ })]
2538
+ });
2539
+ }));
2540
+ function $() {
2541
+ return $ = Object.assign ? Object.assign.bind() : function(e) {
2542
+ for (var t = 1; t < arguments.length; t++) {
2543
+ var n = arguments[t];
2544
+ for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);
2545
+ }
2546
+ return e;
2547
+ }, $.apply(null, arguments);
2548
+ }
2549
+ function Pt(e, t) {
2550
+ if (e == null) return {};
2551
+ var n = {};
2552
+ for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
2553
+ if (t.indexOf(r) !== -1) continue;
2554
+ n[r] = e[r];
2555
+ }
2556
+ return n;
2557
+ }
2558
+ var Ft, It = {
2559
+ state: {},
2560
+ updateModal: function() {},
2561
+ hideModal: function() {},
2562
+ destroyModal: function() {},
2563
+ destroyModalsByRootId: function() {},
2564
+ showModal: function() {
2565
+ return {
2566
+ id: "id",
2567
+ hide: function() {},
2568
+ destroy: function() {},
2569
+ update: function() {}
2570
+ };
2571
+ }
2572
+ }, Lt = (0, X.createContext)(void 0);
2573
+ (Ft = Q ||= {}).SHOW = "SHOW", Ft.HIDE = "HIDE", Ft.UPDATE = "UPDATE", Ft.DESTROY = "DESTROY", Ft.DESTROY_BY_ROOT_ID = "DESTROY_BY_ROOT_ID", Ft.UNKNOWN = "UNKNOWN";
2574
+ var Rt = {};
2575
+ function zt(e, t) {
2576
+ switch (t.type) {
2577
+ case Q.SHOW:
2578
+ var n, r = t.payload, i = r.id, a = r.component, o = r.props, s = r.options;
2579
+ return $({}, e, ((n = {})[i] = {
2580
+ component: a,
2581
+ props: $({}, o, { open: !0 }),
2582
+ options: s
2583
+ }, n));
2584
+ case Q.HIDE:
2585
+ var c, l = t.payload.id;
2586
+ return e[l] ? $({}, e, ((c = {})[l] = $({}, e[l], { props: $({}, e[l].props, { open: !1 }) }), c)) : e;
2587
+ case Q.UPDATE:
2588
+ var u, d = t.payload, f = d.id, p = d.props;
2589
+ return e[f] ? $({}, e, ((u = {})[f] = $({}, e[f], { props: $({}, e[f].props, p) }), u)) : e;
2590
+ case Q.DESTROY:
2591
+ var m = t.payload.id, h = $({}, e);
2592
+ return delete h[m], h;
2593
+ case Q.DESTROY_BY_ROOT_ID:
2594
+ var g = t.payload.rootId;
2595
+ return Object.keys(e).filter(function(e) {
2596
+ return e.split(".")[0] !== g;
2597
+ }).reduce(function(t, n) {
2598
+ var r;
2599
+ return $({}, t, ((r = {})[n] = e[n], r));
2600
+ }, {});
2601
+ default: throw Error("Unexpected action");
2602
+ }
2603
+ }
2604
+ var Bt = "[ERROR]: Modal ID is missing", Vt = function(e) {
2605
+ e === void 0 && (e = 8);
2606
+ for (var t = [], n = 0; n < e; n++) t[n] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".charAt(Math.floor(62 * Math.random()));
2607
+ return t.join("");
2608
+ }, Ht = ["open"];
2609
+ function Ut(e) {
2610
+ var t = e.children, n = e.legacy, r = n !== void 0 && n, i = e.suspense, a = i === void 0 || i, o = e.fallback, s = o === void 0 ? null : o, c = X.useReducer(zt, Rt), l = c[0], u = c[1], d = X.useCallback(function(e, t) {
2611
+ var n = Pt(t, Ht);
2612
+ e ? u({
2613
+ type: Q.UPDATE,
2614
+ payload: {
2615
+ id: e,
2616
+ props: n
2617
+ }
2618
+ }) : console.error(Bt);
2619
+ }, [u]), f = X.useCallback(function(e) {
2620
+ e ? u({
2621
+ type: Q.HIDE,
2622
+ payload: { id: e }
2623
+ }) : console.error(Bt);
2624
+ }, [u]), p = X.useCallback(function(e) {
2625
+ e ? u({
2626
+ type: Q.DESTROY,
2627
+ payload: { id: e }
2628
+ }) : console.error(Bt);
2629
+ }, [u]), m = X.useCallback(function(e) {
2630
+ e ? u({
2631
+ type: Q.DESTROY_BY_ROOT_ID,
2632
+ payload: { rootId: e }
2633
+ }) : console.error("[ERROR]: Modal root ID is missing");
2634
+ }, [u]), h = X.useCallback(function(e, t, n) {
2635
+ var r = Vt(8);
2636
+ return n && n.rootId && (r = n.rootId + "." + r), u({
2637
+ type: Q.SHOW,
2638
+ payload: {
2639
+ id: r,
2640
+ component: e,
2641
+ props: t,
2642
+ options: n
2643
+ }
2644
+ }), {
2645
+ id: r,
2646
+ hide: function() {
2647
+ return f(r);
2648
+ },
2649
+ destroy: function() {
2650
+ return p(r);
2651
+ },
2652
+ update: function(e) {
2653
+ return d(r, e);
2654
+ }
2655
+ };
2656
+ }, [
2657
+ u,
2658
+ f,
2659
+ p,
2660
+ d
2661
+ ]), g = a ? X.Suspense : X.Fragment;
2662
+ return X.createElement(Lt.Provider, { value: {
2663
+ state: l,
2664
+ updateModal: d,
2665
+ hideModal: f,
2666
+ destroyModal: p,
2667
+ showModal: h,
2668
+ destroyModalsByRootId: m
2669
+ } }, t, X.createElement(g, Object.assign({}, a && { fallback: s }), Object.keys(l).map(function(e) {
2670
+ var t, n = l[e], i = n.component, a = n.props, o = n.options, s = function() {
2671
+ var t, n;
2672
+ a != null && a.onExited && a.onExited.apply(a, arguments), a != null && (t = a.TransitionProps) != null && t.onExited && (n = a.TransitionProps).onExited.apply(n, arguments), p(e);
2673
+ };
2674
+ return t = r ? { onExited: s } : { TransitionProps: $({}, a?.TransitionProps, { onExited: s }) }, X.createElement(i, Object.assign({}, a, {
2675
+ key: e,
2676
+ onClose: function() {
2677
+ o && o.hideOnClose && f(e), o && o.destroyOnClose && o.hideOnClose && p(e), a && a.onClose && a.onClose.apply(a, arguments);
2678
+ }
2679
+ }, o && !o.destroyOnClose && t));
2680
+ })));
2681
+ }
2682
+ var Wt = { enforceProvider: !1 }, Gt = ["showModal", "destroyModalsByRootId"], Kt = { disableAutoDestroy: !1 };
2683
+ function qt(e) {
2684
+ e === void 0 && (e = Kt);
2685
+ var t = $({}, Kt, e).disableAutoDestroy, n = function() {
2686
+ var e = (0, X.useContext)(Lt);
2687
+ if (Wt.enforceProvider && e === void 0) throw Error("useModalContext must be used within a ModalProvider");
2688
+ return e || It;
2689
+ }(), r = n.showModal, i = n.destroyModalsByRootId, a = Pt(n, Gt), o = (0, X.useRef)(Vt(6));
2690
+ return (0, X.useEffect)(function() {
2691
+ return function() {
2692
+ !t && i && i(o.current);
2693
+ };
2694
+ }, [t, i]), $({
2695
+ showModal: (0, X.useCallback)(function(e, t, n) {
2696
+ return r(e, t, $({
2697
+ rootId: o.current,
2698
+ hideOnClose: !0
2699
+ }, n));
2700
+ }, [r]),
2701
+ destroyModalsByRootId: i
2702
+ }, a);
2703
+ }
2704
+ var Jt = (0, X.createContext)(void 0), Yt = ({ error: e }) => {
2705
+ let t = (0, X.useContext)(Jt);
2706
+ return (0, X.useEffect)(() => {
2707
+ t?.(e);
2708
+ }, [e]), null;
2709
+ };
2710
+ function Xt(e) {
2711
+ let t = f(e, { renderError: (e) => (0, Z.jsx)(Yt, { error: e }) });
2712
+ return (e) => {
2713
+ let { onLoadError: n, ...r } = e;
2714
+ return (0, Z.jsx)(Jt.Provider, {
2715
+ value: n,
2716
+ children: (0, Z.jsx)(X.Suspense, {
2717
+ fallback: null,
2718
+ children: (0, Z.jsx)(t, { ...r })
2719
+ })
2720
+ });
2721
+ };
2722
+ }
2723
+ function Zt(e) {
2724
+ let [t, n] = (0, X.useState)(() => /* @__PURE__ */ new Map()), r = (0, X.useRef)(null);
2725
+ r.current === null && (r.current = /* @__PURE__ */ new Map());
2726
+ let { showModal: i, updateModal: a, destroyModal: o, hideModal: s } = qt({ disableAutoDestroy: !0 });
2727
+ return (c, l, u, d) => new Promise((f, p) => {
2728
+ let m = !1;
2729
+ u?.disableAutoDestroy !== void 0 && (m = u.disableAutoDestroy, delete (u = { ...u }).disableAutoDestroy);
2730
+ let h = !1;
2731
+ if (u?.prewarm !== void 0 && (h = u.prewarm, delete (u = { ...u }).prewarm, h && (m = !0)), h && t.get(c)) return void f(t.get(c).element);
2732
+ let g = {
2733
+ ...e,
2734
+ ...u,
2735
+ ...d,
2736
+ onHide: () => {
2737
+ if (d?.onHide?.(), m) return;
2738
+ let e = t.get(c);
2739
+ n((e) => (e.delete(c), e)), e?.id && s(e.id);
2740
+ },
2741
+ onDone: (e) => {
2742
+ if (d?.onDone?.(e), m) return;
2743
+ let r = t.get(c);
2744
+ n((e) => (e.delete(c), e)), r?.id && o(r.id);
2745
+ },
2746
+ onShown: (e) => {
2747
+ n((t) => {
2748
+ let n = t.get(c);
2749
+ return n && t.set(c, {
2750
+ ...n,
2751
+ element: e ?? n.element
2752
+ }), t;
2753
+ }), f(e);
2754
+ },
2755
+ onLoadError: (e) => {
2756
+ let r = t.get(c);
2757
+ n((e) => (e.delete(c), e)), r?.id && o(r.id), p(e);
2758
+ },
2759
+ disableAutoDestroy: m,
2760
+ revealToken: 0,
2761
+ startHidden: h,
2762
+ open: !0
2763
+ }, _ = t.get(c);
2764
+ if (_) {
2765
+ let e = (_.revealToken ?? 0) + 1;
2766
+ a(_.id, {
2767
+ ...g,
2768
+ revealToken: e
2769
+ }), n((t) => {
2770
+ let n = t.get(c);
2771
+ return n && t.set(c, {
2772
+ ...n,
2773
+ revealToken: e
2774
+ }), t;
2775
+ }), f(_.element);
2776
+ return;
2777
+ }
2778
+ if (!l) return void p(`Invalid function for window '${c}'`);
2779
+ let v = r.current.get(c);
2780
+ v || (v = Xt(l), r.current.set(c, v));
2781
+ let y = i(v, g, { destroyOnClose: !m });
2782
+ n((e) => (e.set(c, {
2783
+ id: y.id,
2784
+ element: null,
2785
+ revealToken: 0
2786
+ }), e)), h && f(null);
2787
+ });
2788
+ }
2789
+ var Qt = (e) => {
2790
+ let { showModal: t } = qt();
2791
+ return (n) => new Promise((r) => {
2792
+ let i = t(W, {
2793
+ ...e,
2794
+ ...n,
2795
+ onOption(e, t, i) {
2796
+ n?.onOption?.(e, t, i), r(e);
2797
+ },
2798
+ onDone: () => {
2799
+ n?.onDone?.(), i.hide();
2800
+ }
2801
+ });
2802
+ });
2803
+ }, $t = Xt(i("utils-mui:inputDialog", () => import("./dn69mDhY7Xcc91kF.js")).load), en = (e) => {
2804
+ let { showModal: t } = qt();
2805
+ return (n) => {
2806
+ let { defaultOption: r = n.options?.[0], cancelOption: i = "Cancel", ...a } = n;
2807
+ return new Promise((n, o) => {
2808
+ let s = t($t, {
2809
+ ...e,
2810
+ defaultOption: r,
2811
+ cancelOption: i,
2812
+ ...a,
2813
+ onOption(e, t, r) {
2814
+ a?.onOption?.(e, t, r), n({
2815
+ input: "",
2816
+ option: e
2817
+ });
2818
+ },
2819
+ onInput(e, t) {
2820
+ a?.onInput?.(e, t), n({
2821
+ input: e,
2822
+ option: t
2823
+ });
2824
+ },
2825
+ onDone: () => {
2826
+ a?.onDone?.(), s.hide();
2827
+ },
2828
+ onLoadError: (e) => {
2829
+ s.destroy(), o(e);
2830
+ }
2831
+ });
2832
+ });
2833
+ };
2834
+ }, tn = (0, X.memo)((0, X.forwardRef)((e, t) => {
2835
+ let { commandKey: n, command: r, disabled: i, shortcut: a, children: o, ...s } = e, [c] = h(n ?? []), l = r ?? c, u = l?.getShortcut();
2836
+ return (0, Z.jsx)(G, {
2837
+ ref: t,
2838
+ label: i === void 0 ? "" : l?.getLabel(),
2839
+ shortcut: a === void 0 ? Array.isArray(u) ? u[0] : u : a,
2840
+ description: l?.getDescription(),
2841
+ disabled: i,
2842
+ componentDisabled: l?.disabled(),
2843
+ ...s,
2844
+ children: (0, Z.jsx)("div", {
2845
+ style: {
2846
+ display: "flex",
2847
+ flex: "1 1 0%"
2848
+ },
2849
+ children: o
2850
+ })
2851
+ });
2852
+ })), nn = I;
2853
+ function rn() {
2854
+ let e = (0, X.useRef)(null);
2855
+ return {
2856
+ ripple: (0, X.useMemo)(() => (0, Z.jsx)(nn, {
2857
+ ref: e,
2858
+ center: !1
2859
+ }), []),
2860
+ trigger: (0, X.useCallback)(() => {
2861
+ e.current?.start(void 0, { center: !0 }), setTimeout(() => e.current?.stop(), 180);
2862
+ }, [])
2863
+ };
2864
+ }
2865
+ var an = (0, Z.jsx)(a, {}), on = (0, X.memo)((0, X.forwardRef)((e, t) => {
2866
+ let n, { commandKey: r, command: i, groupKey: o, icon: s, label: c, showLabel: l = !1, disabled: u, variant: d = p.Toolbar, shortcut: f, commandState: m, propsTooltip: g, ..._ } = e, { ripple: v, trigger: b } = rn(), x = (0, X.useMemo)(() => ({ onExecute() {
2867
+ b();
2868
+ } }), [b]), [S] = h(r ?? [], x), C = i ?? S, w = (0, X.useCallback)((e) => {
2869
+ e.button === 0 && e.preventDefault();
2870
+ }, []), T = (0, X.useCallback)(async (e) => {
2871
+ e.button === 0 && C && await C.execute(m);
2872
+ }, [C, m]), E = (0, X.useCallback)((e) => {
2873
+ e.keyCode !== y.Enter && e.keyCode !== y.Space || C?.execute(m);
2874
+ }, [C, m]), D = u ?? (!C || C.disabled()), O = C?.getState(), k = (0, X.useMemo)(() => {
2875
+ if (s === null) return an;
2876
+ let e;
2877
+ return e = typeof s == "function" ? C ? s(C) : void 0 : s, e ||= C?.getIcon(o), e ? (typeof e == "string" && (e = (0, Z.jsx)(a, { iconKey: e })), e) : d === p.Toolbar || O ? void 0 : an;
2878
+ }, [
2879
+ C,
2880
+ o,
2881
+ s,
2882
+ O,
2883
+ d
2884
+ ]), A = {
2885
+ tabIndex: 0,
2886
+ ref: t,
2887
+ selected: !!O,
2888
+ icon: d === p.Toolbar ? l ? Ve(k, c ?? C?.getLabel(o)) : k : (0, Z.jsx)(jt, {
2889
+ selected: O ?? !1,
2890
+ children: k
2891
+ }),
2892
+ disableRipple: !0,
2893
+ disabled: D,
2894
+ onMouseDown: w,
2895
+ onMouseUp: T,
2896
+ onKeyDown: E
2897
+ };
2898
+ return n = d === p.Menuitem ? (0, Z.jsxs)(St, {
2899
+ ..._,
2900
+ ...A,
2901
+ children: [c ?? C?.getLabel(o), v]
2902
+ }) : (0, Z.jsx)(vt, {
2903
+ ..._,
2904
+ ...A,
2905
+ children: v
2906
+ }), (c || C?.getLabel()) && (D && (n = (0, Z.jsx)("div", { children: n })), n = (0, Z.jsx)(tn, {
2907
+ commandKey: r,
2908
+ command: i,
2909
+ disabled: D,
2910
+ placement: d === p.Toolbar ? "bottom-start" : "right-start",
2911
+ shortcut: f,
2912
+ ...g,
2913
+ children: n
2914
+ })), n;
2915
+ }));
2916
+ on.displayName = "CommandButton";
2917
+ var sn = (0, Z.jsx)(a, {}), cn = (0, X.memo)((0, X.forwardRef)((e, t) => {
2918
+ let { commandKey: n, groupKey: r, icon: i, commandState: o, label: s, variant: c = p.Toolbar, disabled: l, parseInput: u, inputProps: d, inputRef: f, ...m } = e, { ripple: g, trigger: _ } = rn(), b = (0, X.useMemo)(() => ({ onExecute() {
2919
+ _();
2920
+ } }), [_]), x = h(n ?? [], b)[0], S = () => x?.getState()?.toString() || "", [C, w] = (0, X.useState)(""), T = (0, X.useRef)(S()), E = v(() => {
2921
+ let e = C;
2922
+ if (u) try {
2923
+ e = u(C);
2924
+ } catch {
2925
+ w(S());
2926
+ return;
2927
+ }
2928
+ T.current === C ? w(S()) : (T.current = C, x?.execute(e));
2929
+ }, [
2930
+ S,
2931
+ x,
2932
+ C,
2933
+ u
2934
+ ]);
2935
+ (0, X.useEffect)(() => {
2936
+ w(S());
2937
+ }, [x?.getState()]);
2938
+ let D, O = (0, X.useMemo)(() => {
2939
+ if (i === null) return sn;
2940
+ let e;
2941
+ return e = typeof i == "function" ? x ? i(x) : void 0 : i, e ||= x?.getIcon(), e ? (typeof e == "string" && (e = (0, Z.jsx)(a, { iconKey: e })), e) : c === p.Toolbar || x?.getState() ? void 0 : sn;
2942
+ }, [x?.getIcon(), i]), k = (0, X.useMemo)(() => s === void 0 ? x?.getLabel(r) : typeof s == "function" ? s() : s, [s, x?.getLabel(r)]), A = l ?? (!x || x.disabled()), j = (0, X.useMemo)(() => (0, Z.jsx)(L, {
2943
+ ...m,
2944
+ sx: {
2945
+ paddingTop: "0px",
2946
+ paddingBottom: "0px"
2947
+ },
2948
+ component: "div",
2949
+ disableRipple: !0,
2950
+ onClick: (e) => e.stopPropagation(),
2951
+ onMouseDown: (e) => {
2952
+ e.button === 0 && e.stopPropagation();
2953
+ },
2954
+ onMouseUp: (e) => {
2955
+ e.button === 0 && e.stopPropagation();
2956
+ },
2957
+ children: (0, Z.jsx)(de, {
2958
+ disabled: A,
2959
+ inputRef: f,
2960
+ inputProps: {
2961
+ tabIndex: 0,
2962
+ name: `input-${x?.getKey()}`,
2963
+ autoComplete: "off",
2964
+ ...d
2965
+ },
2966
+ sx: {
2967
+ paddingTop: "0px",
2968
+ paddingBottom: "0px",
2969
+ paddingLeft: "0px",
2970
+ paddingRight: "0px",
2971
+ fontSize: (e) => `${Math.round(e.typography.fontSize)}px`,
2972
+ width: (e) => "3.2em",
2973
+ input: {
2974
+ padding: "0 0",
2975
+ textAlign: "center",
2976
+ MozAppearance: "textfield"
2977
+ },
2978
+ "input::-webkit-inner-spin-button": {
2979
+ WebkitAppearance: "none",
2980
+ margin: "0"
2981
+ },
2982
+ minHeight: "24px"
2983
+ },
2984
+ value: C,
2985
+ onFocus: (e) => {
2986
+ e.target?.select();
2987
+ },
2988
+ onKeyDown: (e) => {
2989
+ if (e.which === y.Enter) S() !== C && (e.stopPropagation(), e.preventDefault(), E());
2990
+ else if (e.which === y.Escape) S() !== C && (w(S()), setTimeout(() => {
2991
+ e.target?.select();
2992
+ }, 0), e.stopPropagation(), e.preventDefault());
2993
+ else {
2994
+ if (e.key.match("[-]") || e.key.match("[0-9.]") && (C + e.key).length > 4) return e.stopPropagation(), void e.preventDefault();
2995
+ if (e.which === y.Space) return void e.preventDefault();
2996
+ }
2997
+ },
2998
+ onBlur: () => {
2999
+ E();
3000
+ },
3001
+ onChange: (e) => {
3002
+ if (e.target.value.length > 4) return e.stopPropagation(), void e.preventDefault();
3003
+ w(e.target.value);
3004
+ }
3005
+ })
3006
+ }), [
3007
+ C,
3008
+ A,
3009
+ d,
3010
+ f
3011
+ ]), M = {
3012
+ tabIndex: 0,
3013
+ ref: t,
3014
+ icon: O,
3015
+ disableRipple: !0,
3016
+ disabled: l || !x || x.disabled(),
3017
+ onMouseDown: (e) => {
3018
+ e.button === 0 && e.preventDefault();
3019
+ },
3020
+ onMouseUp: (e) => {
3021
+ e.button !== 0 || e.isPropagationStopped() || e.isDefaultPrevented() || e.isDefaultPrevented() || (e.preventDefault(), E());
3022
+ },
3023
+ onKeyDown: (e) => {
3024
+ e.keyCode !== y.Enter && e.keyCode !== y.Tab || E();
3025
+ }
3026
+ };
3027
+ return D = c === p.Menuitem ? (0, Z.jsxs)(St, {
3028
+ ...m,
3029
+ ...M,
3030
+ children: [
3031
+ k,
3032
+ j,
3033
+ g
3034
+ ]
3035
+ }) : (0, Z.jsx)(vt, {
3036
+ ...m,
3037
+ ...M,
3038
+ children: g
3039
+ }), x?.getLabel() && ((x.disabled() || l) && (D = (0, Z.jsx)("div", { children: D })), D = (0, Z.jsx)(tn, {
3040
+ commandKey: n,
3041
+ placement: c === p.Toolbar ? "bottom-start" : "right-start",
3042
+ children: D
3043
+ })), D;
3044
+ })), ln = (0, X.memo)((0, X.forwardRef)((e, t) => {
3045
+ let { variant: n = p.Toolbar, quickCommand: r, onQuickClick: i, commandState: o, disabled: s, label: c, icon: l, createPopupPanel: u, tooltip: d, selected: f, groupKey: m, ...g } = e, { ripple: _, trigger: y } = rn(), b = (0, X.useMemo)(() => ({ onExecute() {
3046
+ y();
3047
+ } }), [y]), [x] = h(r ?? [], b), { label: S, icon: C } = (0, X.useMemo)(() => {
3048
+ let e = null;
3049
+ c && (e = typeof c == "function" ? x ? c(x) : null : c), e ||= x?.getLabel?.(m);
3050
+ let t = l;
3051
+ return t ||= x?.getIcon?.(m), typeof t == "string" ? t = (0, Z.jsx)(a, { iconKey: t }) : typeof t == "function" && (t = x ? t(x) : void 0), {
3052
+ label: e,
3053
+ icon: t
3054
+ };
3055
+ }, [
3056
+ x,
3057
+ c,
3058
+ l
3059
+ ]), w = {
3060
+ disabled: s || !(x || !r),
3061
+ ripple: _,
3062
+ onQuickClick: i,
3063
+ tooltip: d,
3064
+ label: S,
3065
+ icon: C
3066
+ };
3067
+ (S || d) && (w.createTooltip = ({ children: e }, t) => (0, Z.jsx)(G, {
3068
+ label: S,
3069
+ description: d,
3070
+ disabled: t,
3071
+ children: e
3072
+ }));
3073
+ let T = v((e) => u?.(e), [u]), E = v((e) => x?.execute(o), [x]);
3074
+ return x ? (w.propsQuickButton = {}, w.propsQuickButton.createTooltip = ({ children: e, placement: t }, i) => (0, Z.jsx)(tn, {
3075
+ commandKey: r,
3076
+ placement: t ?? n === p.Toolbar ? "bottom-start" : "right-start",
3077
+ disabled: i,
3078
+ children: e
3079
+ }), w.disabled = w.disabled ?? x?.disabled(), i || (w.onQuickClick = E)) : r && (w.onQuickClick = () => {}), w.selected = f ?? x?.getState(), w.createPopupPanel = T, n === p.Toolbar ? (0, Z.jsx)(wt, {
3080
+ ...g,
3081
+ ...w,
3082
+ ref: t
3083
+ }) : (0, Z.jsx)(Dt, {
3084
+ ...g,
3085
+ ...w,
3086
+ ref: t
3087
+ });
3088
+ }));
3089
+ function un(e, t = {}) {
3090
+ let { variant: n, dividerOrientation: r = "vertical", groupKey: i, commandState: a, propsCommandButton: o, propsCommandPopup: s, registry: c } = t, l = { ...o };
3091
+ n !== void 0 && (l.variant = n);
3092
+ let u = { ...s };
3093
+ n !== void 0 && (u.variant = n);
3094
+ let d = (e, t, n) => {
3095
+ let r = {
3096
+ ...l,
3097
+ groupKey: i,
3098
+ commandKey: e,
3099
+ commandState: t === void 0 ? a : t,
3100
+ label: n?.getLabel?.(i),
3101
+ icon: n?.getIcon?.(i),
3102
+ showLabel: n?.showLabel
3103
+ };
3104
+ return (n?.render ? n.render(r, i) : (0, Z.jsx)(on, { ...r })) ?? null;
3105
+ }, f = (e) => {
3106
+ let t = typeof e == "string" ? e : e.key, n = typeof e == "string" ? void 0 : e;
3107
+ if (!t) return ((e) => Array.isArray(e.members) ? e.render ? e.render({ ...u }, void 0) ?? null : (0, Z.jsx)(dn, {
3108
+ ...u,
3109
+ members: e.members,
3110
+ icon: e.getIcon?.(),
3111
+ label: e.getLabel?.(),
3112
+ tooltip: e.getDescription?.()
3113
+ }) : (e.render ? e.render({ ...u }, i) : null) ?? null)(e);
3114
+ let r = c?.get(t) ?? null;
3115
+ return r ? ((e, t, n) => {
3116
+ if (Array.isArray(e.members)) return e.render ? e.render({ ...u }, t) ?? null : (0, Z.jsx)(dn, {
3117
+ ...u,
3118
+ groupKey: t,
3119
+ icon: n?.getIcon?.(t),
3120
+ label: n?.getLabel?.(t),
3121
+ showLabel: n?.showLabel
3122
+ });
3123
+ if (e.render) return e.render({ ...u }, i) ?? null;
3124
+ let r = n ? {
3125
+ ...e,
3126
+ ...n
3127
+ } : e;
3128
+ return d(e.defaultKey ?? t, r.state, r);
3129
+ })(r, t, n) : d(t, n?.state, n);
3130
+ }, p = [], m = 0, h = !1, g = !1, _ = e ?? [];
3131
+ for (let e = 0; e < _.length; e++) {
3132
+ let t = _[e];
3133
+ if (!t || t === "-") {
3134
+ g && (h = !0);
3135
+ continue;
3136
+ }
3137
+ let n = f(t);
3138
+ n && (h &&= (p.push((0, Z.jsx)(qe, { orientation: r }, "member-" + m++)), !1), p.push((0, X.cloneElement)(n, { key: "member-" + m++ })), g = !0);
3139
+ }
3140
+ return p;
3141
+ }
3142
+ ln.displayName = "CommandPopupButton";
3143
+ var dn = (0, X.memo)((0, X.forwardRef)((e, t) => {
3144
+ let { groupKey: n, members: r, registry: i, quickCommand: a, icon: o, label: s, showLabel: c, tooltip: u, commandState: d, disabled: f, ...m } = e, g = l(), _ = i ?? g, v = !r && n ? _.get(n) : null, y = v && Array.isArray(v.members) ? v : null, b = (0, X.useMemo)(() => r ?? (n ? _.resolveMembers(n) : null) ?? null, [
3145
+ r,
3146
+ n,
3147
+ _
3148
+ ]), x = n, S = a ?? y?.defaultKey, C = o ?? y?.getIcon?.(x), w = s ?? y?.getLabel?.(x), T = c ?? y?.showLabel, E = u ?? y?.getDescription?.(x), D = (0, X.useMemo)(() => {
3149
+ let e = [], t = b ?? [];
3150
+ for (let n = 0; n < t.length; n++) {
3151
+ let r = t[n];
3152
+ r && r !== "-" && (typeof r == "string" ? e.push(r) : r.key && e.push(r.key));
3153
+ }
3154
+ return e;
3155
+ }, [b]), O = h(S ? [S, ...D] : D), k = (0, X.useMemo)(() => {
3156
+ for (let e = 0; e < O.length; e++) {
3157
+ let t = O[e];
3158
+ if (t && !t.disabled()) return !1;
3159
+ }
3160
+ return !0;
3161
+ }, [O]), A = (0, X.useCallback)((e) => {
3162
+ let t = {};
3163
+ f !== void 0 && (t.disabled = f);
3164
+ let n = un(b, {
3165
+ variant: p.Menuitem,
3166
+ dividerOrientation: "horizontal",
3167
+ groupKey: x,
3168
+ commandState: d,
3169
+ propsCommandButton: t,
3170
+ propsCommandPopup: t,
3171
+ registry: _
3172
+ });
3173
+ return ct({
3174
+ ...e,
3175
+ children: n
3176
+ });
3177
+ }, [
3178
+ b,
3179
+ _,
3180
+ x,
3181
+ d,
3182
+ f
3183
+ ]);
3184
+ return b ? (0, Z.jsx)(ln, {
3185
+ ref: t,
3186
+ quickCommand: S,
3187
+ icon: C,
3188
+ label: w,
3189
+ showLabel: T,
3190
+ tooltip: E,
3191
+ commandState: d,
3192
+ disabled: f ?? k,
3193
+ createPopupPanel: A,
3194
+ ...m
3195
+ }) : null;
3196
+ }));
3197
+ dn.displayName = "CommandGroup";
3198
+ var fn = (0, Z.jsx)(a, { iconKey: "Check" }), pn = (e) => {
3199
+ let { commandKey: t, label: n, groupKey: r, icon: i, sx: o, ...s } = e, [c] = h(t ?? []), l = (0, X.useMemo)(() => {
3200
+ if (i !== void 0) return i;
3201
+ let e = c?.getIcon(r);
3202
+ return e ? (typeof e == "string" && (e = (0, Z.jsx)(a, { iconKey: e })), e) : fn;
3203
+ }, [
3204
+ i,
3205
+ r,
3206
+ c
3207
+ ]);
3208
+ return (0, Z.jsxs)(A, {
3209
+ sx: {
3210
+ display: "flex",
3211
+ flexDirection: "row",
3212
+ textTransform: "none",
3213
+ alignItems: "center",
3214
+ fontSize: (e) => e.typography.subtitle2.fontSize,
3215
+ ...o
3216
+ },
3217
+ ...s,
3218
+ children: [l, (0, Z.jsx)(K, {
3219
+ component: "div",
3220
+ sx: {
3221
+ whiteSpace: "nowrap",
3222
+ lineHeight: "1",
3223
+ paddingLeft: (e) => e.spacing(.25),
3224
+ paddingRight: (e) => e.spacing(.25),
3225
+ fontSize: "inherit"
3226
+ },
3227
+ children: n ?? c?.getLabel(r)
3228
+ })]
3229
+ });
3230
+ }, mn = (0, X.memo)((0, X.forwardRef)((e, t) => {
3231
+ let { sx: n, propsCommandButton: r, parentFloat: i, groupKey: a, members: c, registry: u, renderToolbarPalette: d, children: f, ...p } = e, m = l(), h = u ?? m, g = (0, X.useMemo)(() => c ?? (a ? h.resolveMembers(a) : null) ?? null, [
3232
+ c,
3233
+ a,
3234
+ h,
3235
+ h.getVersion()
3236
+ ]), b = _(t, () => ({}), []), [x, C] = (0, X.useState)(null), { reference: w } = s({
3237
+ label: "toolbar",
3238
+ anchor: b.current,
3239
+ parentFloat: i,
3240
+ createPopupPanel: null
3241
+ }), T = v(() => {
3242
+ let e = x;
3243
+ e && requestAnimationFrame(() => {
3244
+ b.current?.contains(document.activeElement) && e.focus();
3245
+ });
3246
+ }, [x]), E = (0, X.useMemo)(() => ({
3247
+ dense: !0,
3248
+ outlined: !1
3249
+ }), []), D = (0, X.useMemo)(() => ({ ...r || {} }), [r]), O = (0, X.useMemo)(() => ({
3250
+ ...E,
3251
+ ...D
3252
+ }), [E, D]), k = (0, X.useMemo)(() => ({ ...D }), [O, r]), A = 0;
3253
+ E.dense || (A += 2), E.outlined && A++;
3254
+ let j = 2;
3255
+ E.dense || (j = 4);
3256
+ let M = (0, X.useMemo)(() => {
3257
+ let e = {
3258
+ propsCommandButton: O,
3259
+ propsCommandPopup: {
3260
+ ...k,
3261
+ ...r
3262
+ }
3263
+ };
3264
+ return d ? d(e) : g ? (0, Z.jsx)(Nt, { children: un(g, {
3265
+ dividerOrientation: "vertical",
3266
+ groupKey: a,
3267
+ propsCommandButton: e.propsCommandButton,
3268
+ propsCommandPopup: e.propsCommandPopup,
3269
+ registry: h
3270
+ }) }) : null;
3271
+ }, [
3272
+ O,
3273
+ k,
3274
+ r,
3275
+ d,
3276
+ g,
3277
+ a,
3278
+ h
3279
+ ]);
3280
+ return (0, Z.jsx)(ze, {
3281
+ variant: "dense",
3282
+ sx: {
3283
+ minHeight: "unset",
3284
+ height: "unset",
3285
+ paddingTop: `${j}px`,
3286
+ paddingBottom: `${j}px`,
3287
+ paddingLeft: "6px !important",
3288
+ paddingRight: "6px !important",
3289
+ flex: "1 1 0%",
3290
+ alignItems: "center",
3291
+ userSelect: "none",
3292
+ flexGrow: 1,
3293
+ display: "flex",
3294
+ overflow: "hidden",
3295
+ ...n
3296
+ },
3297
+ ref: b,
3298
+ onFocus: (e) => {
3299
+ e.relatedTarget && !x && C(e.relatedTarget);
3300
+ },
3301
+ onBlur: (e) => {
3302
+ x && !b?.current?.contains(e.relatedTarget) && C(null);
3303
+ },
3304
+ onKeyDown: (e) => {
3305
+ x && e.which === y.Escape && x.focus();
3306
+ },
3307
+ ...p,
3308
+ children: (0, Z.jsx)("div", {
3309
+ ref: b,
3310
+ style: {
3311
+ flex: "1 1 100%",
3312
+ display: "flex",
3313
+ flexWrap: "wrap",
3314
+ rowGap: `${j}px`,
3315
+ columnGap: `${A}px`,
3316
+ alignItems: "center",
3317
+ maxWidth: "100%"
3318
+ },
3319
+ children: (0, Z.jsx)(S, {
3320
+ value: w,
3321
+ children: (0, Z.jsx)(o, {
3322
+ value: T,
3323
+ children: M
3324
+ })
3325
+ })
3326
+ })
3327
+ });
3328
+ }));
3329
+ mn.displayName = "CommandToolbar";
3330
+ var hn = (0, X.memo)((0, X.forwardRef)((e, t) => {
3331
+ let { groupKey: n, members: r, registry: i, projectAs: a = "quick", defaultIcon: o, ...s } = e, c = l(), u = i ?? c, d = (0, X.useMemo)(() => r ?? (n ? u.resolveMembers(n) : null) ?? null, [
3332
+ r,
3333
+ n,
3334
+ u
3335
+ ]), f = (0, X.useMemo)(() => {
3336
+ let e = [], t = d ?? [];
3337
+ for (let n = 0; n < t.length; n++) {
3338
+ let r = t[n];
3339
+ r && r !== "-" && (typeof r == "string" ? e.push(r) : r.key && e.push(r.key));
3340
+ }
3341
+ return e;
3342
+ }, [d]), p = h(f), m = null, g = null;
3343
+ for (let e = 0; !m && e < p.length; e++) {
3344
+ let t = p[e];
3345
+ t && !t.disabled() && t.getState() && (m = f[e], g = t.getIcon());
3346
+ }
3347
+ let _ = a === "icon" ? {
3348
+ icon: g ?? o,
3349
+ quickCommand: void 0
3350
+ } : {
3351
+ quickCommand: m ?? f[0],
3352
+ icon: void 0
3353
+ };
3354
+ return (0, Z.jsx)(dn, {
3355
+ ref: t,
3356
+ groupKey: n,
3357
+ members: r,
3358
+ registry: u,
3359
+ ...s,
3360
+ ..._
3361
+ });
3362
+ }));
3363
+ hn.displayName = "ToggleGroupButton";
3364
+ export { St as A, Ie as B, qe as C, dn as D, Ct as E, un as F, Dt as I, Be as L, tn as M, ft as N, mn as O, hn as P, Ot as R, wt as S, vt as T, Pe as V, ot as _, Ue as a, bt as b, rt as c, st as d, Ye as f, Qt as g, Qe as h, Ze as i, it as j, ht as k, en as l, Zt as m, cn as n, $e as o, jt as p, Ke as r, Xt as s, ct as t, Ut as u, on as v, Ge as w, ln as x, pn as y, qt as z };