zigbee2mqtt-windfront 2.9.2 → 2.9.3

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 (270) hide show
  1. package/dist/assets/{About-YeVoL9gu.js → About-TlqF3GuF.js} +1 -1
  2. package/dist/assets/About-TlqF3GuF.js.br +0 -0
  3. package/dist/assets/{ActivityPage-D-X5wXpX.js → ActivityPage-rX73rdxT.js} +1 -1
  4. package/dist/assets/ActivityPage-rX73rdxT.js.br +0 -0
  5. package/dist/assets/{Bind-DWycy1qP.js → Bind-BDIbZwWR.js} +1 -1
  6. package/dist/assets/Bind-BDIbZwWR.js.br +0 -0
  7. package/dist/assets/{BindRow-CFlSbYVl.js → BindRow-WkWMDs3x.js} +1 -1
  8. package/dist/assets/BindRow-WkWMDs3x.js.br +0 -0
  9. package/dist/assets/{BindingsPage-osojavyH.js → BindingsPage-CfcKVo3i.js} +1 -1
  10. package/dist/assets/BindingsPage-CfcKVo3i.js.br +0 -0
  11. package/dist/assets/Bridge-Bv5BtA5L.js +1 -0
  12. package/dist/assets/Bridge-Bv5BtA5L.js.br +0 -0
  13. package/dist/assets/{CheckboxField-C_Qtx-pp.js → CheckboxField-BYu20qY2.js} +1 -1
  14. package/dist/assets/CheckboxField-BYu20qY2.js.br +0 -0
  15. package/dist/assets/{ClusterSinglePicker-DpCdk6e3.js → ClusterSinglePicker-BFzMrjEI.js} +1 -1
  16. package/dist/assets/ClusterSinglePicker-BFzMrjEI.js.br +0 -0
  17. package/dist/assets/{Clusters-BB1Eb-RY.js → Clusters-DwehMl3f.js} +1 -1
  18. package/dist/assets/Clusters-DwehMl3f.js.br +0 -0
  19. package/dist/assets/{ContributePage-Ck90wppJ.js → ContributePage-qg1CEYKO.js} +1 -1
  20. package/dist/assets/ContributePage-qg1CEYKO.js.br +0 -0
  21. package/dist/assets/{Dashboard-DYYL2KxJ.js → Dashboard-CGkL3jh-.js} +1 -1
  22. package/dist/assets/Dashboard-CGkL3jh-.js.br +0 -0
  23. package/dist/assets/{DashboardFeatureWrapper-BN_abfxH.js → DashboardFeatureWrapper-Da-7H6mJ.js} +1 -1
  24. package/dist/assets/DashboardFeatureWrapper-Da-7H6mJ.js.br +0 -0
  25. package/dist/assets/{DebouncedInput-CTO5Z9WE.js → DebouncedInput-BMm2g2gA.js} +1 -1
  26. package/dist/assets/DebouncedInput-BMm2g2gA.js.br +0 -0
  27. package/dist/assets/{DevConsole-sFi1v7-Q.js → DevConsole-BEZqX9YY.js} +1 -1
  28. package/dist/assets/DevConsole-BEZqX9YY.js.br +0 -0
  29. package/dist/assets/{DevConsole-CS5V7Tn5.js → DevConsole-DGpWznsw.js} +1 -1
  30. package/dist/assets/DevConsole-DGpWznsw.js.br +0 -0
  31. package/dist/assets/{DeviceCard-CBLZt32P.js → DeviceCard-DhI3XHiT.js} +1 -1
  32. package/dist/assets/DeviceCard-DhI3XHiT.js.br +0 -0
  33. package/dist/assets/{DeviceImage-CmmMipdr.js → DeviceImage-Vk9TacUL.js} +1 -1
  34. package/dist/assets/DeviceImage-Vk9TacUL.js.br +0 -0
  35. package/dist/assets/{DeviceInfo-OD6gm_Yj.js → DeviceInfo-BwRBFkpj.js} +1 -1
  36. package/dist/assets/DeviceInfo-BwRBFkpj.js.br +0 -0
  37. package/dist/assets/{DevicePage-DUKNBm6k.js → DevicePage-CIRdgoD4.js} +2 -2
  38. package/dist/assets/DevicePage-CIRdgoD4.js.br +0 -0
  39. package/dist/assets/{DevicePicker-BoDg6RDG.js → DevicePicker-DAEKDWgf.js} +1 -1
  40. package/dist/assets/DevicePicker-DAEKDWgf.js.br +0 -0
  41. package/dist/assets/{DeviceSettings-BUV_iDCx.js → DeviceSettings-BpqMi9xE.js} +1 -1
  42. package/dist/assets/DeviceSettings-BpqMi9xE.js.br +0 -0
  43. package/dist/assets/{DeviceSpecificSettings-DEaTZaHW.js → DeviceSpecificSettings-D0e5Nc-F.js} +1 -1
  44. package/dist/assets/DeviceSpecificSettings-D0e5Nc-F.js.br +0 -0
  45. package/dist/assets/{Devices-DyeohhFY.js → Devices-B8yDqnvz.js} +1 -1
  46. package/dist/assets/Devices-B8yDqnvz.js.br +0 -0
  47. package/dist/assets/{DevicesPage-Cyrer4oV.js → DevicesPage-Dm7pgGxZ.js} +1 -1
  48. package/dist/assets/DevicesPage-Dm7pgGxZ.js.br +0 -0
  49. package/dist/assets/{DisplayValue-no6ClLSH.js → DisplayValue-SWg0guj0.js} +1 -1
  50. package/dist/assets/DisplayValue-SWg0guj0.js.br +0 -0
  51. package/dist/assets/{Duration-_uYoh7tk.js → Duration--BbAQnLR.js} +1 -1
  52. package/dist/assets/Duration--BbAQnLR.js.br +0 -0
  53. package/dist/assets/{EndpointPicker-BBdFdL_6.js → EndpointPicker-CYCCMY-Z.js} +1 -1
  54. package/dist/assets/EndpointPicker-CYCCMY-Z.js.br +0 -0
  55. package/dist/assets/{Exposes-352OBUoE.js → Exposes-CXfEiCNB.js} +1 -1
  56. package/dist/assets/Exposes-CXfEiCNB.js.br +0 -0
  57. package/dist/assets/{Exposes-BKHYZ_uT.js → Exposes-In5a4UAM.js} +1 -1
  58. package/dist/assets/Exposes-In5a4UAM.js.br +0 -0
  59. package/dist/assets/{FeatureWrapper-bG-1UrkM.js → FeatureWrapper-Cxxv_sRE.js} +1 -1
  60. package/dist/assets/FeatureWrapper-Cxxv_sRE.js.br +0 -0
  61. package/dist/assets/{FrontendSettingsPage-M56EGRlu.js → FrontendSettingsPage-CXD3UMe9.js} +1 -1
  62. package/dist/assets/FrontendSettingsPage-CXD3UMe9.js.br +0 -0
  63. package/dist/assets/{GroupPage-DghqMHLa.js → GroupPage-B_o7xJJu.js} +2 -2
  64. package/dist/assets/GroupPage-B_o7xJJu.js.br +0 -0
  65. package/dist/assets/{GroupSettings-BviT-v08.js → GroupSettings-DRfDlHZU.js} +1 -1
  66. package/dist/assets/GroupSettings-DRfDlHZU.js.br +0 -0
  67. package/dist/assets/{Groups-D79MZrAq.js → Groups-hVPF7mtV.js} +1 -1
  68. package/dist/assets/Groups-hVPF7mtV.js.br +0 -0
  69. package/dist/assets/{GroupsPage-C4nJh1BH.js → GroupsPage-DQ0vxv3R.js} +1 -1
  70. package/dist/assets/GroupsPage-DQ0vxv3R.js.br +0 -0
  71. package/dist/assets/{Health-De_pdOGQ.js → Health-GHsVF1Ld.js} +1 -1
  72. package/dist/assets/Health-GHsVF1Ld.js.br +0 -0
  73. package/dist/assets/{HomePage-BByN8Myl.js → HomePage-D7zvhbJX.js} +1 -1
  74. package/dist/assets/HomePage-D7zvhbJX.js.br +0 -0
  75. package/dist/assets/{IndeterminateCheckbox-BxTDVPe-.js → IndeterminateCheckbox-B0dn2MbK.js} +1 -1
  76. package/dist/assets/IndeterminateCheckbox-B0dn2MbK.js.br +2 -0
  77. package/dist/assets/InfoAlert-GQgTMP5x.js +1 -0
  78. package/dist/assets/InfoAlert-GQgTMP5x.js.br +0 -0
  79. package/dist/assets/{InputField-fj8dQezf.js → InputField-ikhV5k9q.js} +1 -1
  80. package/dist/assets/InputField-ikhV5k9q.js.br +0 -0
  81. package/dist/assets/{Json-BLX7Iwfr.js → Json-B8eekdXV.js} +1 -1
  82. package/dist/assets/Json-B8eekdXV.js.br +0 -0
  83. package/dist/assets/{LastSeen-_mzTICXk.js → LastSeen-C6UtkUtr.js} +1 -1
  84. package/dist/assets/LastSeen-C6UtkUtr.js.br +0 -0
  85. package/dist/assets/{LogsPage-CIqIhwXo.js → LogsPage-Ca2laV9S.js} +1 -1
  86. package/dist/assets/LogsPage-Ca2laV9S.js.br +0 -0
  87. package/dist/assets/Lqi-BGvDaG4P.js +1 -0
  88. package/dist/assets/Lqi-BGvDaG4P.js.br +0 -0
  89. package/dist/assets/{NetworkPage-vo-dYEvx.js → NetworkPage-RAL-bKrl.js} +2 -2
  90. package/dist/assets/NetworkPage-RAL-bKrl.js.br +0 -0
  91. package/dist/assets/{NumberField-CerCcLdV.js → NumberField-Dz_wXIHM.js} +1 -1
  92. package/dist/assets/NumberField-Dz_wXIHM.js.br +0 -0
  93. package/dist/assets/{OtaControlGroup-CoW_wL2h.js → OtaControlGroup-DVXF2tOG.js} +1 -1
  94. package/dist/assets/OtaControlGroup-DVXF2tOG.js.br +0 -0
  95. package/dist/assets/{OtaPage-BJpUdM6D.js → OtaPage-BRYFA__-.js} +1 -1
  96. package/dist/assets/OtaPage-BRYFA__-.js.br +0 -0
  97. package/dist/assets/{PowerSource-BtLGM0pk.js → PowerSource-Bdiu20e7.js} +1 -1
  98. package/dist/assets/PowerSource-Bdiu20e7.js.br +0 -0
  99. package/dist/assets/{RawNetworkData-BShnx4za.js → RawNetworkData-Dl-2MazQ.js} +1 -1
  100. package/dist/assets/RawNetworkData-Dl-2MazQ.js.br +0 -0
  101. package/dist/assets/{RawNetworkMap-B_FJvcyo.js → RawNetworkMap-CGCoxbV_.js} +1 -1
  102. package/dist/assets/RawNetworkMap-CGCoxbV_.js.br +0 -0
  103. package/dist/assets/{RecallRemove-CQ0P_0fE.js → RecallRemove-DREEd2iQ.js} +1 -1
  104. package/dist/assets/RecallRemove-DREEd2iQ.js.br +0 -0
  105. package/dist/assets/{RemoveDeviceModal-BZeBVqD-.js → RemoveDeviceModal-BDF1FwkE.js} +1 -1
  106. package/dist/assets/RemoveDeviceModal-BDF1FwkE.js.br +0 -0
  107. package/dist/assets/{Reporting-KkRqhXGh.js → Reporting-Dttg7mmh.js} +1 -1
  108. package/dist/assets/Reporting-Dttg7mmh.js.br +0 -0
  109. package/dist/assets/{ReportingPage-BNl8ARRm.js → ReportingPage-DiIIcn2Q.js} +1 -1
  110. package/dist/assets/ReportingPage-DiIIcn2Q.js.br +0 -0
  111. package/dist/assets/{ReportingRow-DIICINVc.js → ReportingRow-B6ztVlRP.js} +1 -1
  112. package/dist/assets/ReportingRow-B6ztVlRP.js.br +0 -0
  113. package/dist/assets/{Scene-BqZA3J8r.js → Scene-DFeSCFXd.js} +1 -1
  114. package/dist/assets/Scene-DFeSCFXd.js.br +0 -0
  115. package/dist/assets/{SelectField-Hd9BNgRL.js → SelectField-ChkxzLb2.js} +1 -1
  116. package/dist/assets/SelectField-ChkxzLb2.js.br +0 -0
  117. package/dist/assets/{Settings-CSstgjAO.js → Settings-H0B21TB1.js} +1 -1
  118. package/dist/assets/Settings-H0B21TB1.js.br +0 -0
  119. package/dist/assets/{SettingsList-BQqM8nKX.js → SettingsList-BEDIGVmm.js} +1 -1
  120. package/dist/assets/SettingsList-BEDIGVmm.js.br +0 -0
  121. package/dist/assets/{SettingsPage-BmwWn0oZ.js → SettingsPage-C25KbYaE.js} +2 -2
  122. package/dist/assets/SettingsPage-C25KbYaE.js.br +0 -0
  123. package/dist/assets/State-DF5LIA50.js +1 -0
  124. package/dist/assets/State-DF5LIA50.js.br +0 -0
  125. package/dist/assets/Table-BRR638L6.js +1 -0
  126. package/dist/assets/Table-BRR638L6.js.br +0 -0
  127. package/dist/assets/{TextareaField-DlAGnMTm.js → TextareaField-D7Tgbtla.js} +1 -1
  128. package/dist/assets/TextareaField-D7Tgbtla.js.br +0 -0
  129. package/dist/assets/{TimeAgo-CM34pQ71.js → TimeAgo-DBAhRn8V.js} +1 -1
  130. package/dist/assets/TimeAgo-DBAhRn8V.js.br +0 -0
  131. package/dist/assets/{Tools-CBopjYcS.js → Tools-CeutqsKa.js} +1 -1
  132. package/dist/assets/Tools-CeutqsKa.js.br +0 -0
  133. package/dist/assets/{TouchlinkPage-CyivdVuT.js → TouchlinkPage-CtW89okC.js} +1 -1
  134. package/dist/assets/TouchlinkPage-CtW89okC.js.br +0 -0
  135. package/dist/assets/{VendorLink-BZlqzmcf.js → VendorLink-Dc9puayp.js} +1 -1
  136. package/dist/assets/VendorLink-Dc9puayp.js.br +0 -0
  137. package/dist/assets/{_createCompounder-Jh3GrmJ6.js → _createCompounder-CQgEyaxr.js} +1 -1
  138. package/dist/assets/_createCompounder-CQgEyaxr.js.br +0 -0
  139. package/dist/assets/floating-ui.dom-DbzrgdRQ.js +1 -0
  140. package/dist/assets/floating-ui.dom-DbzrgdRQ.js.br +0 -0
  141. package/dist/assets/floating-ui.react-CXXdsME_.js +1 -0
  142. package/dist/assets/floating-ui.react-CXXdsME_.js.br +0 -0
  143. package/dist/assets/{index-DTLwKrFY.js → index-BtLGoNwX.js} +4 -4
  144. package/dist/assets/index-BtLGoNwX.js.br +0 -0
  145. package/dist/assets/{index-C7JlGbDK.js → index-CJiQGpsz.js} +1 -1
  146. package/dist/assets/index-CJiQGpsz.js.br +0 -0
  147. package/dist/assets/{index-yG0-fBDW.js → index-DaJ2Nn9F.js} +1 -1
  148. package/dist/assets/index-DaJ2Nn9F.js.br +0 -0
  149. package/dist/assets/{isObjectLike-BK6keKbA.js → isObjectLike-Df1CHLAH.js} +1 -1
  150. package/dist/assets/isObjectLike-Df1CHLAH.js.br +0 -0
  151. package/dist/assets/{jszip.min-BvT-znq2.js → jszip.min-DeDUMwns.js} +1 -1
  152. package/dist/assets/jszip.min-DeDUMwns.js.br +0 -0
  153. package/dist/assets/{merge-DPABEDer.js → merge-CWZIW8ac.js} +1 -1
  154. package/dist/assets/merge-CWZIW8ac.js.br +0 -0
  155. package/dist/assets/oui-Cs4i_TTu.js +1 -0
  156. package/dist/assets/oui-Cs4i_TTu.js.br +0 -0
  157. package/dist/assets/{react-select.esm-Bdw18Log.js → react-select.esm-BCwf9M9B.js} +1 -1
  158. package/dist/assets/react-select.esm-BCwf9M9B.js.br +0 -0
  159. package/dist/assets/snakeCase-DwD-G6zi.js +1 -0
  160. package/dist/assets/snakeCase-DwD-G6zi.js.br +0 -0
  161. package/dist/assets/{startCase-Cc7wIt65.js → startCase-Qq38hBYL.js} +1 -1
  162. package/dist/assets/startCase-Qq38hBYL.js.br +0 -0
  163. package/dist/assets/useColumnCount-ApqeNg9D.js +1 -0
  164. package/dist/assets/useColumnCount-ApqeNg9D.js.br +0 -0
  165. package/dist/assets/{useSearch-CCSOkAhE.js → useSearch-B3KF7gUg.js} +1 -1
  166. package/dist/assets/useSearch-B3KF7gUg.js.br +0 -0
  167. package/dist/assets/{useTable-B9gY8JA0.js → useTable-STlqCddu.js} +1 -1
  168. package/dist/assets/useTable-STlqCddu.js.br +0 -0
  169. package/dist/index.html +1 -1
  170. package/dist/index.html.br +0 -0
  171. package/dist/onboarding/assets/{index-CsqCXLDa.js → index-D_7hoAR4.js} +1 -1
  172. package/dist/onboarding/assets/index-D_7hoAR4.js.br +0 -0
  173. package/dist/onboarding/index.html +1 -1
  174. package/dist/onboarding/index.html.br +0 -0
  175. package/package.json +12 -12
  176. package/dist/assets/About-YeVoL9gu.js.br +0 -0
  177. package/dist/assets/ActivityPage-D-X5wXpX.js.br +0 -0
  178. package/dist/assets/Bind-DWycy1qP.js.br +0 -0
  179. package/dist/assets/BindRow-CFlSbYVl.js.br +0 -0
  180. package/dist/assets/BindingsPage-osojavyH.js.br +0 -0
  181. package/dist/assets/Bridge-DiSoRMi2.js +0 -1
  182. package/dist/assets/Bridge-DiSoRMi2.js.br +0 -0
  183. package/dist/assets/CheckboxField-C_Qtx-pp.js.br +0 -0
  184. package/dist/assets/ClusterSinglePicker-DpCdk6e3.js.br +0 -0
  185. package/dist/assets/Clusters-BB1Eb-RY.js.br +0 -0
  186. package/dist/assets/ContributePage-Ck90wppJ.js.br +0 -0
  187. package/dist/assets/Dashboard-DYYL2KxJ.js.br +0 -0
  188. package/dist/assets/DashboardFeatureWrapper-BN_abfxH.js.br +0 -0
  189. package/dist/assets/DebouncedInput-CTO5Z9WE.js.br +0 -0
  190. package/dist/assets/DevConsole-CS5V7Tn5.js.br +0 -0
  191. package/dist/assets/DevConsole-sFi1v7-Q.js.br +0 -0
  192. package/dist/assets/DeviceCard-CBLZt32P.js.br +0 -0
  193. package/dist/assets/DeviceImage-CmmMipdr.js.br +0 -0
  194. package/dist/assets/DeviceInfo-OD6gm_Yj.js.br +0 -0
  195. package/dist/assets/DevicePage-DUKNBm6k.js.br +0 -0
  196. package/dist/assets/DevicePicker-BoDg6RDG.js.br +0 -0
  197. package/dist/assets/DeviceSettings-BUV_iDCx.js.br +0 -0
  198. package/dist/assets/DeviceSpecificSettings-DEaTZaHW.js.br +0 -0
  199. package/dist/assets/Devices-DyeohhFY.js.br +0 -0
  200. package/dist/assets/DevicesPage-Cyrer4oV.js.br +0 -0
  201. package/dist/assets/DisplayValue-no6ClLSH.js.br +0 -0
  202. package/dist/assets/Duration-_uYoh7tk.js.br +0 -0
  203. package/dist/assets/EndpointPicker-BBdFdL_6.js.br +0 -0
  204. package/dist/assets/Exposes-352OBUoE.js.br +0 -0
  205. package/dist/assets/Exposes-BKHYZ_uT.js.br +0 -0
  206. package/dist/assets/FeatureWrapper-bG-1UrkM.js.br +0 -0
  207. package/dist/assets/FrontendSettingsPage-M56EGRlu.js.br +0 -0
  208. package/dist/assets/GroupPage-DghqMHLa.js.br +0 -0
  209. package/dist/assets/GroupSettings-BviT-v08.js.br +0 -3
  210. package/dist/assets/Groups-D79MZrAq.js.br +0 -0
  211. package/dist/assets/GroupsPage-C4nJh1BH.js.br +0 -0
  212. package/dist/assets/Health-De_pdOGQ.js.br +0 -0
  213. package/dist/assets/HomePage-BByN8Myl.js.br +0 -0
  214. package/dist/assets/IndeterminateCheckbox-BxTDVPe-.js.br +0 -2
  215. package/dist/assets/InfoAlert-BXO5hx7w.js +0 -1
  216. package/dist/assets/InfoAlert-BXO5hx7w.js.br +0 -0
  217. package/dist/assets/InputField-fj8dQezf.js.br +0 -0
  218. package/dist/assets/Json-BLX7Iwfr.js.br +0 -0
  219. package/dist/assets/LastSeen-_mzTICXk.js.br +0 -0
  220. package/dist/assets/LogsPage-CIqIhwXo.js.br +0 -0
  221. package/dist/assets/Lqi-DSJPyS9r.js +0 -1
  222. package/dist/assets/Lqi-DSJPyS9r.js.br +0 -0
  223. package/dist/assets/NetworkPage-vo-dYEvx.js.br +0 -0
  224. package/dist/assets/NumberField-CerCcLdV.js.br +0 -0
  225. package/dist/assets/OtaControlGroup-CoW_wL2h.js.br +0 -0
  226. package/dist/assets/OtaPage-BJpUdM6D.js.br +0 -0
  227. package/dist/assets/PowerSource-BtLGM0pk.js.br +0 -0
  228. package/dist/assets/RawNetworkData-BShnx4za.js.br +0 -0
  229. package/dist/assets/RawNetworkMap-B_FJvcyo.js.br +0 -0
  230. package/dist/assets/RecallRemove-CQ0P_0fE.js.br +0 -0
  231. package/dist/assets/RemoveDeviceModal-BZeBVqD-.js.br +0 -0
  232. package/dist/assets/Reporting-KkRqhXGh.js.br +0 -0
  233. package/dist/assets/ReportingPage-BNl8ARRm.js.br +0 -0
  234. package/dist/assets/ReportingRow-DIICINVc.js.br +0 -0
  235. package/dist/assets/Scene-BqZA3J8r.js.br +0 -0
  236. package/dist/assets/SelectField-Hd9BNgRL.js.br +0 -0
  237. package/dist/assets/Settings-CSstgjAO.js.br +0 -0
  238. package/dist/assets/SettingsList-BQqM8nKX.js.br +0 -0
  239. package/dist/assets/SettingsPage-BmwWn0oZ.js.br +0 -0
  240. package/dist/assets/State-CSDG6En0.js +0 -1
  241. package/dist/assets/State-CSDG6En0.js.br +0 -0
  242. package/dist/assets/Table-DKmoVF1a.js +0 -1
  243. package/dist/assets/Table-DKmoVF1a.js.br +0 -0
  244. package/dist/assets/TextareaField-DlAGnMTm.js.br +0 -0
  245. package/dist/assets/TimeAgo-CM34pQ71.js.br +0 -0
  246. package/dist/assets/Tools-CBopjYcS.js.br +0 -0
  247. package/dist/assets/TouchlinkPage-CyivdVuT.js.br +0 -0
  248. package/dist/assets/VendorLink-BZlqzmcf.js.br +0 -0
  249. package/dist/assets/_createCompounder-Jh3GrmJ6.js.br +0 -0
  250. package/dist/assets/floating-ui.dom-BSrWR8Gl.js +0 -1
  251. package/dist/assets/floating-ui.dom-BSrWR8Gl.js.br +0 -0
  252. package/dist/assets/floating-ui.react-ey6TW0xJ.js +0 -1
  253. package/dist/assets/floating-ui.react-ey6TW0xJ.js.br +0 -0
  254. package/dist/assets/index-C7JlGbDK.js.br +0 -0
  255. package/dist/assets/index-DTLwKrFY.js.br +0 -0
  256. package/dist/assets/index-yG0-fBDW.js.br +0 -0
  257. package/dist/assets/isObjectLike-BK6keKbA.js.br +0 -0
  258. package/dist/assets/jszip.min-BvT-znq2.js.br +0 -0
  259. package/dist/assets/merge-DPABEDer.js.br +0 -0
  260. package/dist/assets/oui-CsmPme7p.js +0 -1
  261. package/dist/assets/oui-CsmPme7p.js.br +0 -0
  262. package/dist/assets/react-select.esm-Bdw18Log.js.br +0 -0
  263. package/dist/assets/snakeCase-48ho8VHI.js +0 -1
  264. package/dist/assets/snakeCase-48ho8VHI.js.br +0 -0
  265. package/dist/assets/startCase-Cc7wIt65.js.br +0 -0
  266. package/dist/assets/useColumnCount-CYuZnsu5.js +0 -1
  267. package/dist/assets/useColumnCount-CYuZnsu5.js.br +0 -0
  268. package/dist/assets/useSearch-CCSOkAhE.js.br +0 -0
  269. package/dist/assets/useTable-B9gY8JA0.js.br +0 -0
  270. package/dist/onboarding/assets/index-CsqCXLDa.js.br +0 -0
Binary file
Binary file
Binary file
@@ -1 +0,0 @@
1
- import{a,D as r,j as i}from"./index-DTLwKrFY.js";import{J as p}from"./Json-BLX7Iwfr.js";import"./envs-CRUy-_iG.js";function S({sourceIdx:t,friendlyName:e}){const o=a(r(s=>s.deviceStates[t][e]));return i.jsx(p,{obj:o??{}})}export{S as default};
Binary file
@@ -1 +0,0 @@
1
- import{bc as k,j as O,r as ht,dc as en,u as tn}from"./index-DTLwKrFY.js";import{f as To}from"./useTable-B9gY8JA0.js";const It=0,Pe=1,$e=2,wo=4;function Qt(e){return()=>e}function on(e){e()}function pt(e,t){return o=>e(t(o))}function eo(e,t){return()=>e(t)}function nn(e,t){return o=>e(t,o)}function Mt(e){return e!==void 0}function rn(...e){return()=>{e.map(on)}}function lt(){}function Tt(e,t){return t(e),e}function ln(e,t){return t(e)}function Q(...e){return e}function K(e,t){return e(Pe,t)}function L(e,t){e(It,t)}function Wt(e){e($e)}function ne(e){return e(wo)}function B(e,t){return K(e,nn(t,It))}function Re(e,t){const o=e(Pe,n=>{o(),t(n)});return o}function to(e){let t,o;return n=>r=>{t=r,o&&clearTimeout(o),o=setTimeout(()=>{n(t)},e)}}function So(e,t){return e===t}function J(e=So){let t;return o=>n=>{e(t,n)||(t=n,o(n))}}function W(e){return t=>o=>{e(o)&&t(o)}}function y(e){return t=>pt(t,e)}function Be(e){return t=>()=>{t(e)}}function p(e,...t){const o=sn(...t);return((n,r)=>{switch(n){case $e:Wt(e);return;case Pe:return K(e,o(r))}})}function ke(e,t){return o=>n=>{o(t=e(t,n))}}function Ne(e){return t=>o=>{e>0?e--:t(o)}}function je(e){let t=null,o;return n=>r=>{t=r,!o&&(o=setTimeout(()=>{o=void 0,n(t)},e))}}function A(...e){const t=new Array(e.length);let o=0,n=null;const r=Math.pow(2,e.length)-1;return e.forEach((i,l)=>{const s=Math.pow(2,l);K(i,u=>{const d=o;o=o|s,t[l]=u,d!==r&&o===r&&n&&(n(),n=null)})}),i=>l=>{const s=()=>{i([l].concat(t))};o===r?s():n=s}}function sn(...e){return t=>e.reduceRight(ln,t)}function cn(e){let t,o;const n=()=>t?.();return function(r,i){switch(r){case Pe:return i?o===i?void 0:(n(),o=i,t=K(e,i),t):(n(),lt);case $e:n(),o=null;return}}}function w(e){let t=e;const o=N();return((n,r)=>{switch(n){case It:t=r;break;case Pe:{r(t);break}case wo:return t}return o(n,r)})}function he(e,t){return Tt(w(t),o=>B(e,o))}function N(){const e=[];return((t,o)=>{switch(t){case It:e.slice().forEach(n=>{n(o)});return;case $e:e.splice(0,e.length);return;case Pe:return e.push(o),()=>{const n=e.indexOf(o);n>-1&&e.splice(n,1)}}})}function Te(e){return Tt(N(),t=>B(e,t))}function _(e,t=[],{singleton:o}={singleton:!0}){return{constructor:e,dependencies:t,id:un(),singleton:o}}const un=()=>Symbol();function an(e){const t=new Map,o=({constructor:n,dependencies:r,id:i,singleton:l})=>{if(l&&t.has(i))return t.get(i);const s=n(r.map(u=>o(u)));return l&&t.set(i,s),s};return o(e)}function le(...e){const t=N(),o=new Array(e.length);let n=0;const r=Math.pow(2,e.length)-1;return e.forEach((i,l)=>{const s=Math.pow(2,l);K(i,u=>{o[l]=u,n=n|s,n===r&&L(t,o)})}),function(i,l){switch(i){case $e:{Wt(t);return}case Pe:return n===r&&l(o),K(t,l)}}}function M(e,t=So){return p(e,J(t))}function Et(...e){return function(t,o){switch(t){case $e:return;case Pe:return rn(...e.map(n=>K(n,o)))}}}var we=(e=>(e[e.DEBUG=0]="DEBUG",e[e.INFO=1]="INFO",e[e.WARN=2]="WARN",e[e.ERROR=3]="ERROR",e))(we||{});const dn={0:"debug",3:"error",1:"log",2:"warn"},fn=()=>typeof globalThis>"u"?window:globalThis,Le=_(()=>{const e=w(3);return{log:w((t,o,n=1)=>{var r;const i=(r=fn().VIRTUOSO_LOG_LEVEL)!=null?r:ne(e);n>=i&&console[dn[n]]("%creact-virtuoso: %c%s %o","color: #0253b3; font-weight: bold","color: initial",t,o)}),logLevel:e}},[],{singleton:!0});function Ge(e,t,o){return Pt(e,t,o).callbackRef}function Pt(e,t,o){const n=k.useRef(null);let r=l=>{};const i=k.useMemo(()=>typeof ResizeObserver<"u"?new ResizeObserver(l=>{const s=()=>{const u=l[0].target;u.offsetParent!==null&&e(u)};o?s():requestAnimationFrame(s)}):null,[e,o]);return r=l=>{l&&t?(i?.observe(l),n.current=l):(n.current&&i?.unobserve(n.current),n.current=null)},{callbackRef:r,ref:n}}function hn(e,t,o,n,r,i,l,s,u){const d=k.useCallback(h=>{const I=mn(h.children,t,"offsetHeight",r);let g=h.parentElement;for(;!g.dataset.virtuosoScroller;)g=g.parentElement;const v=g.lastElementChild.dataset.viewportType==="window";let b;v&&(b=g.ownerDocument.defaultView);const T=l?l.scrollTop:v?b.scrollY||b.document.documentElement.scrollTop:g.scrollTop,m=l?l.scrollHeight:v?b.document.documentElement.scrollHeight:g.scrollHeight,a=l?l.offsetHeight:v?b.innerHeight:g.offsetHeight;n({scrollHeight:m,scrollTop:Math.max(T,0),viewportHeight:a}),I!==null&&e(I)},[e,t,r,i,l,n,s]);return Pt(d,o,u)}function mn(e,t,o,n){const r=e.length;if(r===0)return null;const i=[];for(let l=0;l<r;l++){const s=e.item(l);if(s.dataset.index===void 0)continue;const u=parseInt(s.dataset.index),d=parseFloat(s.dataset.knownSize),h=t(s,o);if(h===0&&n("Zero-sized element, this should not happen",{child:s},we.ERROR),h===d)continue;const I=i[i.length-1];i.length===0||I.size!==h||I.endIndex!==u-1?i.push({endIndex:u,size:h,startIndex:u}):i[i.length-1].endIndex++}return i}function Co(e,t,o){const n=k.useRef(null),r=k.useCallback(u=>{if(!(u!=null&&u.offsetParent))return;const d=u.getBoundingClientRect(),h=d.width;let I,g;if(t){const v=t.getBoundingClientRect(),b=d.top-v.top;g=v.height-Math.max(0,b),I=b+t.scrollTop}else{const v=l.current.ownerDocument.defaultView;g=v.innerHeight-Math.max(0,d.top),I=d.top+v.scrollY}n.current={offsetTop:I,visibleHeight:g,visibleWidth:h},e(n.current)},[e,t]),{callbackRef:i,ref:l}=Pt(r,!0,o),s=k.useCallback(()=>{r(l.current)},[r,l]);return k.useEffect(()=>{var u;if(t){t.addEventListener("scroll",s);const d=new ResizeObserver(()=>{requestAnimationFrame(s)});return d.observe(t),()=>{t.removeEventListener("scroll",s),d.unobserve(t)}}else{const d=(u=l.current)==null?void 0:u.ownerDocument.defaultView;return d?.addEventListener("scroll",s),d?.addEventListener("resize",s),()=>{d?.removeEventListener("scroll",s),d?.removeEventListener("resize",s)}}},[s,t,l]),i}const me=_(()=>{const e=N(),t=N(),o=w(0),n=N(),r=w(0),i=N(),l=N(),s=w(0),u=w(0),d=w(0),h=w(0),I=N(),g=N(),v=w(!1),b=w(!1),T=w(!1);return B(p(e,y(({scrollTop:m})=>m)),t),B(p(e,y(({scrollHeight:m})=>m)),l),B(t,r),{deviation:o,fixedFooterHeight:d,fixedHeaderHeight:u,footerHeight:h,headerHeight:s,horizontalDirection:b,scrollBy:g,scrollContainerState:e,scrollHeight:l,scrollingInProgress:v,scrollTo:I,scrollTop:t,skipAnimationFrameInResizeObserver:T,smoothScrollTargetReached:n,statefulScrollTop:r,viewportHeight:i}},[],{singleton:!0}),Qe={lvl:0};function bo(e,t){const o=e.length;if(o===0)return[];let{index:n,value:r}=t(e[0]);const i=[];for(let l=1;l<o;l++){const{index:s,value:u}=t(e[l]);i.push({end:s-1,start:n,value:r}),n=s,r=u}return i.push({end:1/0,start:n,value:r}),i}function Z(e){return e===Qe}function et(e,t){if(!Z(e))return t===e.k?e.v:t<e.k?et(e.l,t):et(e.r,t)}function He(e,t,o="k"){if(Z(e))return[-1/0,void 0];if(Number(e[o])===t)return[e.k,e.v];if(Number(e[o])<t){const n=He(e.r,t,o);return n[0]===-1/0?[e.k,e.v]:n}return He(e.l,t,o)}function Ie(e,t,o){return Z(e)?yo(t,o,1):t===e.k?ce(e,{k:t,v:o}):t<e.k?oo(ce(e,{l:Ie(e.l,t,o)})):oo(ce(e,{r:Ie(e.r,t,o)}))}function qe(){return Qe}function Ze(e,t,o){if(Z(e))return[];const n=He(e,t)[0];return gn(kt(e,n,o))}function Bt(e,t){if(Z(e))return Qe;const{k:o,l:n,r}=e;if(t===o){if(Z(n))return r;if(Z(r))return n;{const[i,l]=Ro(n);return mt(ce(e,{k:i,l:zo(n),v:l}))}}else return t<o?mt(ce(e,{l:Bt(n,t)})):mt(ce(e,{r:Bt(r,t)}))}function Ve(e){return Z(e)?[]:[...Ve(e.l),{k:e.k,v:e.v},...Ve(e.r)]}function kt(e,t,o){if(Z(e))return[];const{k:n,l:r,r:i,v:l}=e;let s=[];return n>t&&(s=s.concat(kt(r,t,o))),n>=t&&n<=o&&s.push({k:n,v:l}),n<=o&&(s=s.concat(kt(i,t,o))),s}function mt(e){const{l:t,lvl:o,r:n}=e;if(n.lvl>=o-1&&t.lvl>=o-1)return e;if(o>n.lvl+1){if(bt(t))return Ho(ce(e,{lvl:o-1}));if(!Z(t)&&!Z(t.r))return ce(t.r,{l:ce(t,{r:t.r.l}),lvl:o,r:ce(e,{l:t.r.r,lvl:o-1})});throw new Error("Unexpected empty nodes")}else{if(bt(e))return Ot(ce(e,{lvl:o-1}));if(!Z(n)&&!Z(n.l)){const r=n.l,i=bt(r)?n.lvl-1:n.lvl;return ce(r,{l:ce(e,{lvl:o-1,r:r.l}),lvl:r.lvl+1,r:Ot(ce(n,{l:r.r,lvl:i}))})}else throw new Error("Unexpected empty nodes")}}function ce(e,t){return yo(t.k!==void 0?t.k:e.k,t.v!==void 0?t.v:e.v,t.lvl!==void 0?t.lvl:e.lvl,t.l!==void 0?t.l:e.l,t.r!==void 0?t.r:e.r)}function zo(e){return Z(e.r)?e.l:mt(ce(e,{r:zo(e.r)}))}function bt(e){return Z(e)||e.lvl>e.r.lvl}function Ro(e){return Z(e.r)?[e.k,e.v]:Ro(e.r)}function yo(e,t,o,n=Qe,r=Qe){return{k:e,l:n,lvl:o,r,v:t}}function oo(e){return Ot(Ho(e))}function Ho(e){const{l:t}=e;return!Z(t)&&t.lvl===e.lvl?ce(t,{r:ce(e,{l:t.r})}):e}function Ot(e){const{lvl:t,r:o}=e;return!Z(o)&&!Z(o.r)&&o.lvl===t&&o.r.lvl===t?ce(o,{l:ce(e,{r:o.l}),lvl:t+1}):e}function gn(e){return bo(e,({k:t,v:o})=>({index:t,value:o}))}function Eo(e,t){return!!(e&&e.startIndex===t.startIndex&&e.endIndex===t.endIndex)}function tt(e,t){return!!(e&&e[0]===t[0]&&e[1]===t[1])}const Lt=_(()=>({recalcInProgress:w(!1)}),[],{singleton:!0});function Bo(e,t,o){return e[xt(e,t,o)]}function xt(e,t,o,n=0){let r=e.length-1;for(;n<=r;){const i=Math.floor((n+r)/2),l=e[i],s=o(l,t);if(s===0)return i;if(s===-1){if(r-n<2)return i-1;r=i-1}else{if(r===n)return i;n=i+1}}throw new Error(`Failed binary finding record in array - ${e.join(",")}, searched for ${t}`)}function pn(e,t,o,n){const r=xt(e,t,n),i=xt(e,o,n,r);return e.slice(r,i+1)}function We(e,t){return Math.round(e.getBoundingClientRect()[t])}function wt(e){return!Z(e.groupOffsetTree)}function At({index:e},t){return t===e?0:t<e?-1:1}function xn(){return{groupIndices:[],groupOffsetTree:qe(),lastIndex:0,lastOffset:0,lastSize:0,offsetTree:[],sizeTree:qe()}}function vn(e,t){let o=Z(e)?0:1/0;for(const n of t){const{endIndex:r,size:i,startIndex:l}=n;if(o=Math.min(o,l),Z(e)){e=Ie(e,0,i);continue}const s=Ze(e,l-1,r+1);if(s.some(zn(n)))continue;let u=!1,d=!1;for(const{end:h,start:I,value:g}of s)u?(r>=I||i===g)&&(e=Bt(e,I)):(d=g!==i,u=!0),h>r&&r>=I&&g!==i&&(e=Ie(e,r+1,g));d&&(e=Ie(e,l,i))}return[e,o]}function In(e){return typeof e.groupIndex<"u"}function Tn({offset:e},t){return t===e?0:t<e?-1:1}function ot(e,t,o){if(t.length===0)return 0;const{index:n,offset:r,size:i}=Bo(t,e,At),l=e-n,s=i*l+(l-1)*o+r;return s>0?s+o:s}function ko(e,t){if(!wt(t))return e;let o=0;for(;t.groupIndices[o]<=e+o;)o++;return e+o}function Oo(e,t,o){if(In(e))return t.groupIndices[e.groupIndex]+1;{const n=e.index==="LAST"?o:e.index;let r=ko(n,t);return r=Math.max(0,r,Math.min(o,r)),r}}function wn(e,t,o,n=0){return n>0&&(t=Math.max(t,Bo(e,n,At).offset)),bo(pn(e,t,o,Tn),bn)}function Sn(e,[t,o,n,r]){t.length>0&&n("received item sizes",t,we.DEBUG);const i=e.sizeTree;let l=i,s=0;if(o.length>0&&Z(i)&&t.length===2){const g=t[0].size,v=t[1].size;l=o.reduce((b,T)=>Ie(Ie(b,T,g),T+1,v),l)}else[l,s]=vn(l,t);if(l===i)return e;const{lastIndex:u,lastOffset:d,lastSize:h,offsetTree:I}=jt(e.offsetTree,s,l,r);return{groupIndices:o,groupOffsetTree:o.reduce((g,v)=>Ie(g,v,ot(v,I,r)),qe()),lastIndex:u,lastOffset:d,lastSize:h,offsetTree:I,sizeTree:l}}function Cn(e){return Ve(e).map(({k:t,v:o},n,r)=>{const i=r[n+1];return{endIndex:i?i.k-1:1/0,size:o,startIndex:t}})}function no(e,t){let o=0,n=0;for(;o<e;)o+=t[n+1]-t[n]-1,n++;return n-(o===e?0:1)}function jt(e,t,o,n){let r=e,i=0,l=0,s=0,u=0;if(t!==0){u=xt(r,t-1,At),s=r[u].offset;const d=He(o,t-1);i=d[0],l=d[1],r.length&&r[u].size===He(o,t)[1]&&(u-=1),r=r.slice(0,u+1)}else r=[];for(const{start:d,value:h}of Ze(o,t,1/0)){const I=d-i,g=I*l+s+I*n;r.push({index:d,offset:g,size:h}),i=d,s=g,l=h}return{lastIndex:i,lastOffset:s,lastSize:l,offsetTree:r}}function bn(e){return{index:e.index,value:e}}function zn(e){const{endIndex:t,size:o,startIndex:n}=e;return r=>r.start===n&&(r.end===t||r.end===1/0)&&r.value===o}const Rn={offsetHeight:"height",offsetWidth:"width"},Oe=_(([{log:e},{recalcInProgress:t}])=>{const o=N(),n=N(),r=he(n,0),i=N(),l=N(),s=w(0),u=w([]),d=w(void 0),h=w(void 0),I=w(void 0),g=w(void 0),v=w((c,x)=>We(c,Rn[x])),b=w(void 0),T=w(0),m=xn(),a=he(p(o,A(u,e,T),ke(Sn,m),J()),m),f=he(p(u,J(),ke((c,x)=>({current:x,prev:c.current}),{current:[],prev:[]}),y(({prev:c})=>c)),[]);B(p(u,W(c=>c.length>0),A(a,T),y(([c,x,C])=>{const z=c.reduce((j,D,V)=>Ie(j,D,ot(D,x.offsetTree,C)||V),qe());return{...x,groupIndices:c,groupOffsetTree:z}})),a),B(p(n,A(a),W(([c,{lastIndex:x}])=>c<x),y(([c,{lastIndex:x,lastSize:C}])=>[{endIndex:x,size:C,startIndex:c}])),o),B(d,h);const S=he(p(d,y(c=>c===void 0)),!0);B(p(h,W(c=>c!==void 0&&Z(ne(a).sizeTree)),y(c=>{const x=ne(I),C=ne(u).length>0;return x?C?[{endIndex:0,size:x,startIndex:0},{endIndex:1,size:c,startIndex:1}]:[]:[{endIndex:0,size:c,startIndex:0}]})),o),B(p(g,W(c=>c!==void 0&&c.length>0&&Z(ne(a).sizeTree)),y(c=>{const x=[];let C=c[0],z=0;for(let j=1;j<c.length;j++){const D=c[j];D!==C&&(x.push({endIndex:j-1,size:C,startIndex:z}),C=D,z=j)}return x.push({endIndex:c.length-1,size:C,startIndex:z}),x})),o),B(p(u,A(I,h),W(([,c,x])=>c!==void 0&&x!==void 0),y(([c,x,C])=>{const z=[];for(let j=0;j<c.length;j++){const D=c[j],V=c[j+1];z.push({startIndex:D,endIndex:D,size:x}),V!==void 0&&z.push({startIndex:D+1,endIndex:V-1,size:C})}return z})),o);const E=Te(p(o,A(a),ke(({sizes:c},[x,C])=>({changed:C!==c,sizes:C}),{changed:!1,sizes:m}),y(c=>c.changed)));K(p(s,ke((c,x)=>({diff:c.prev-x,prev:x}),{diff:0,prev:0}),y(c=>c.diff)),c=>{const{groupIndices:x}=ne(a);if(c>0)L(t,!0),L(i,c+no(c,x));else if(c<0){const C=ne(f);C.length>0&&(c-=no(-c,C)),L(l,c)}}),K(p(s,A(e)),([c,x])=>{c<0&&x("`firstItemIndex` prop should not be set to less than zero. If you don't know the total count, just use a very high value",{firstItemIndex:s},we.ERROR)});const H=Te(i);B(p(i,A(a),y(([c,x])=>{const C=x.groupIndices.length>0,z=[],j=x.lastSize;if(C){const D=et(x.sizeTree,0);let V=0,$=0;for(;V<c;){const ee=x.groupIndices[$],Y=x.groupIndices.length===$+1?1/0:x.groupIndices[$+1]-ee-1;z.push({endIndex:ee,size:D,startIndex:ee}),z.push({endIndex:ee+1+Y-1,size:j,startIndex:ee+1}),$++,V+=Y+1}const G=Ve(x.sizeTree);return V!==c&&G.shift(),G.reduce((ee,{k:Y,v:ge})=>{let pe=ee.ranges;return ee.prevSize!==0&&(pe=[...ee.ranges,{endIndex:Y+c-1,size:ee.prevSize,startIndex:ee.prevIndex}]),{prevIndex:Y+c,prevSize:ge,ranges:pe}},{prevIndex:c,prevSize:0,ranges:z}).ranges}return Ve(x.sizeTree).reduce((D,{k:V,v:$})=>({prevIndex:V+c,prevSize:$,ranges:[...D.ranges,{endIndex:V+c-1,size:D.prevSize,startIndex:D.prevIndex}]}),{prevIndex:0,prevSize:j,ranges:[]}).ranges})),o);const F=Te(p(l,A(a,T),y(([c,{offsetTree:x},C])=>{const z=-c;return ot(z,x,C)})));return B(p(l,A(a,T),y(([c,x,C])=>{if(x.groupIndices.length>0){if(Z(x.sizeTree))return x;let z=qe();const j=ne(f);let D=0,V=0,$=0;for(;D<-c;){$=j[V];const G=j[V+1]-$-1;V++,D+=G+1}if(z=Ve(x.sizeTree).reduce((G,{k:ee,v:Y})=>Ie(G,Math.max(0,ee+c),Y),z),D!==-c){const G=et(x.sizeTree,$);z=Ie(z,0,G);const ee=He(x.sizeTree,-c+1)[1];z=Ie(z,1,ee)}return{...x,sizeTree:z,...jt(x.offsetTree,0,z,C)}}else{const z=Ve(x.sizeTree).reduce((j,{k:D,v:V})=>Ie(j,Math.max(0,D+c),V),qe());return{...x,sizeTree:z,...jt(x.offsetTree,0,z,C)}}})),a),{beforeUnshiftWith:H,data:b,defaultItemSize:h,firstItemIndex:s,fixedItemSize:d,fixedGroupSize:I,gap:T,groupIndices:u,heightEstimates:g,itemSize:v,listRefresh:E,shiftWith:l,shiftWithOffset:F,sizeRanges:o,sizes:a,statefulTotalCount:r,totalCount:n,trackItemSizes:S,unshiftWith:i}},Q(Le,Lt),{singleton:!0});function yn(e){return e.reduce((t,o)=>(t.groupIndices.push(t.totalCount),t.totalCount+=o+1,t),{groupIndices:[],totalCount:0})}const jo=_(([{groupIndices:e,sizes:t,totalCount:o},{headerHeight:n,scrollTop:r}])=>{const i=N(),l=N(),s=Te(p(i,y(yn)));return B(p(s,y(u=>u.totalCount)),o),B(p(s,y(u=>u.groupIndices)),e),B(p(le(r,t,n),W(([u,d])=>wt(d)),y(([u,d,h])=>He(d.groupOffsetTree,Math.max(u-h,0),"v")[0]),J(),y(u=>[u])),l),{groupCounts:i,topItemsIndexes:l}},Q(Oe,me)),Ae=_(([{log:e}])=>{const t=w(!1),o=Te(p(t,W(n=>n),J()));return K(t,n=>{n&&ne(e)("props updated",{},we.DEBUG)}),{didMount:o,propsReady:t}},Q(Le),{singleton:!0}),Hn=typeof document<"u"&&"scrollBehavior"in document.documentElement.style;function Fo(e){const t=typeof e=="number"?{index:e}:e;return t.align||(t.align="start"),(!t.behavior||!Hn)&&(t.behavior="auto"),t.offset||(t.offset=0),t}const st=_(([{gap:e,listRefresh:t,sizes:o,totalCount:n},{fixedFooterHeight:r,fixedHeaderHeight:i,footerHeight:l,headerHeight:s,scrollingInProgress:u,scrollTo:d,smoothScrollTargetReached:h,viewportHeight:I},{log:g}])=>{const v=N(),b=N(),T=w(0);let m=null,a=null,f=null;function S(){m&&(m(),m=null),f&&(f(),f=null),a&&(clearTimeout(a),a=null),L(u,!1)}return B(p(v,A(o,I,n,T,s,l,g),A(e,i,r),y(([[E,H,F,c,x,C,z,j],D,V,$])=>{const G=Fo(E),{align:ee,behavior:Y,offset:ge}=G,pe=c-1,xe=Oo(G,H,pe);let ve=ot(xe,H.offsetTree,D)+C;ee==="end"?(ve+=V+He(H.sizeTree,xe)[1]-F+$,xe===pe&&(ve+=z)):ee==="center"?ve+=(V+He(H.sizeTree,xe)[1]-F+$)/2:ve-=x,ge&&(ve+=ge);const Ee=ze=>{S(),ze?(j("retrying to scroll to",{location:E},we.DEBUG),L(v,E)):(L(b,!0),j("list did not change, scroll successful",{},we.DEBUG))};if(S(),Y==="smooth"){let ze=!1;f=K(t,Fe=>{ze=ze||Fe}),m=Re(h,()=>{Ee(ze)})}else m=Re(p(t,En(150)),Ee);return a=setTimeout(()=>{S()},1200),L(u,!0),j("scrolling from index to",{behavior:Y,index:xe,top:ve},we.DEBUG),{behavior:Y,top:ve}})),d),{scrollTargetReached:b,scrollToIndex:v,topListHeight:T}},Q(Oe,me,Le),{singleton:!0});function En(e){return t=>{const o=setTimeout(()=>{t(!1)},e);return n=>{n&&(t(!0),clearTimeout(o))}}}function Dt(e,t){e==0?t():requestAnimationFrame(()=>{Dt(e-1,t)})}function Vt(e,t){const o=t-1;return typeof e=="number"?e:e.index==="LAST"?o:e.index}const ct=_(([{defaultItemSize:e,listRefresh:t,sizes:o},{scrollTop:n},{scrollTargetReached:r,scrollToIndex:i},{didMount:l}])=>{const s=w(!0),u=w(0),d=w(!0);return B(p(l,A(u),W(([h,I])=>!!I),Be(!1)),s),B(p(l,A(u),W(([h,I])=>!!I),Be(!1)),d),K(p(le(t,l),A(s,o,e,d),W(([[,h],I,{sizeTree:g},v,b])=>h&&(!Z(g)||Mt(v))&&!I&&!b),A(u)),([,h])=>{Re(r,()=>{L(d,!0)}),Dt(4,()=>{Re(n,()=>{L(s,!0)}),L(i,h)})}),{initialItemFinalLocationReached:d,initialTopMostItemIndex:u,scrolledToInitialItem:s}},Q(Oe,me,st,Ae),{singleton:!0});function Mo(e,t){return Math.abs(e-t)<1.01}const nt="up",Xe="down",Bn="none",kn={atBottom:!1,notAtBottomBecause:"NOT_SHOWING_LAST_ITEM",state:{offsetBottom:0,scrollHeight:0,scrollTop:0,viewportHeight:0}},On=0,ut=_(([{footerHeight:e,headerHeight:t,scrollBy:o,scrollContainerState:n,scrollTop:r,viewportHeight:i}])=>{const l=w(!1),s=w(!0),u=N(),d=N(),h=w(4),I=w(On),g=he(p(Et(p(M(r),Ne(1),Be(!0)),p(M(r),Ne(1),Be(!1),to(100))),J()),!1),v=he(p(Et(p(o,Be(!0)),p(o,Be(!1),to(200))),J()),!1);B(p(le(M(r),M(I)),y(([f,S])=>f<=S),J()),s),B(p(s,je(50)),d);const b=Te(p(le(n,M(i),M(t),M(e),M(h)),ke((f,[{scrollHeight:S,scrollTop:E},H,F,c,x])=>{const C=E+H-S>-x,z={scrollHeight:S,scrollTop:E,viewportHeight:H};if(C){let D,V;return E>f.state.scrollTop?(D="SCROLLED_DOWN",V=f.state.scrollTop-E):(D="SIZE_DECREASED",V=f.state.scrollTop-E||f.scrollTopDelta),{atBottom:!0,atBottomBecause:D,scrollTopDelta:V,state:z}}let j;return z.scrollHeight>f.state.scrollHeight?j="SIZE_INCREASED":H<f.state.viewportHeight?j="VIEWPORT_HEIGHT_DECREASING":E<f.state.scrollTop?j="SCROLLING_UPWARDS":j="NOT_FULLY_SCROLLED_TO_LAST_ITEM_BOTTOM",{atBottom:!1,notAtBottomBecause:j,state:z}},kn),J((f,S)=>f&&f.atBottom===S.atBottom))),T=he(p(n,ke((f,{scrollHeight:S,scrollTop:E,viewportHeight:H})=>{if(Mo(f.scrollHeight,S))return{changed:!1,jump:0,scrollHeight:S,scrollTop:E};{const F=S-(E+H)<1;return f.scrollTop!==E&&F?{changed:!0,jump:f.scrollTop-E,scrollHeight:S,scrollTop:E}:{changed:!0,jump:0,scrollHeight:S,scrollTop:E}}},{changed:!1,jump:0,scrollHeight:0,scrollTop:0}),W(f=>f.changed),y(f=>f.jump)),0);B(p(b,y(f=>f.atBottom)),l),B(p(l,je(50)),u);const m=w(Xe);B(p(n,y(({scrollTop:f})=>f),J(),ke((f,S)=>ne(v)?{direction:f.direction,prevScrollTop:S}:{direction:S<f.prevScrollTop?nt:Xe,prevScrollTop:S},{direction:Xe,prevScrollTop:0}),y(f=>f.direction)),m),B(p(n,je(50),Be(Bn)),m);const a=w(0);return B(p(g,W(f=>!f),Be(0)),a),B(p(r,je(100),A(g),W(([f,S])=>S),ke(([f,S],[E])=>[S,E],[0,0]),y(([f,S])=>S-f)),a),{atBottomState:b,atBottomStateChange:u,atBottomThreshold:h,atTopStateChange:d,atTopThreshold:I,isAtBottom:l,isAtTop:s,isScrolling:g,lastJumpDueToItemResize:T,scrollDirection:m,scrollVelocity:a}},Q(me)),rt="top",it="bottom",ro="none";function io(e,t,o){return typeof e=="number"?o===nt&&t===rt||o===Xe&&t===it?e:0:o===nt?t===rt?e.main:e.reverse:t===it?e.main:e.reverse}function lo(e,t){var o;return typeof e=="number"?e:(o=e[t])!=null?o:0}const Nt=_(([{deviation:e,fixedHeaderHeight:t,headerHeight:o,scrollTop:n,viewportHeight:r}])=>{const i=N(),l=w(0),s=w(0),u=w(0),d=he(p(le(M(n),M(r),M(o),M(i,tt),M(u),M(l),M(t),M(e),M(s)),y(([h,I,g,[v,b],T,m,a,f,S])=>{const E=h-f,H=m+a,F=Math.max(g-E,0);let c=ro;const x=lo(S,rt),C=lo(S,it);return v-=f,v+=g+a,b+=g+a,b-=f,v>h+H-x&&(c=nt),b<h-F+I+C&&(c=Xe),c!==ro?[Math.max(E-g-io(T,rt,c)-x,0),E-F-a+I+io(T,it,c)+C]:null}),W(h=>h!=null),J(tt)),[0,0]);return{increaseViewportBy:s,listBoundary:i,overscan:u,topListHeight:l,visibleRange:d}},Q(me),{singleton:!0});function jn(e,t,o){if(wt(t)){const n=ko(e,t);return[{index:He(t.groupOffsetTree,n)[0],offset:0,size:0},{data:o?.[0],index:n,offset:0,size:0}]}return[{data:o?.[0],index:e,offset:0,size:0}]}const zt={bottom:0,firstItemIndex:0,items:[],offsetBottom:0,offsetTop:0,top:0,topItems:[],topListHeight:0,totalCount:0};function gt(e,t,o,n,r,i){const{lastIndex:l,lastOffset:s,lastSize:u}=r;let d=0,h=0;if(e.length>0){d=e[0].offset;const T=e[e.length-1];h=T.offset+T.size}const I=o-l,g=s+I*u+(I-1)*n,v=d,b=g-h;return{bottom:h,firstItemIndex:i,items:so(e,r,i),offsetBottom:b,offsetTop:d,top:v,topItems:so(t,r,i),topListHeight:t.reduce((T,m)=>m.size+T,0),totalCount:o}}function Wo(e,t,o,n,r,i){let l=0;if(o.groupIndices.length>0)for(const h of o.groupIndices){if(h-l>=e)break;l++}const s=e+l,u=Vt(t,s),d=Array.from({length:s}).map((h,I)=>({data:i[I+u],index:I+u,offset:0,size:0}));return gt(d,[],s,r,o,n)}function so(e,t,o){if(e.length===0)return[];if(!wt(t))return e.map(d=>({...d,index:d.index+o,originalIndex:d.index}));const n=e[0].index,r=e[e.length-1].index,i=[],l=Ze(t.groupOffsetTree,n,r);let s,u=0;for(const d of e){(!s||s.end<d.index)&&(s=l.shift(),u=t.groupIndices.indexOf(s.start));let h;d.index===s.start?h={index:u,type:"group"}:h={groupIndex:u,index:d.index-(u+1)+o},i.push({...h,data:d.data,offset:d.offset,originalIndex:d.index,size:d.size})}return i}function co(e,t){var o;return e===void 0?0:typeof e=="number"?e:(o=e[t])!=null?o:0}const _e=_(([{data:e,firstItemIndex:t,gap:o,sizes:n,totalCount:r},i,{listBoundary:l,topListHeight:s,visibleRange:u},{initialTopMostItemIndex:d,scrolledToInitialItem:h},{topListHeight:I},g,{didMount:v},{recalcInProgress:b}])=>{const T=w([]),m=w(0),a=N(),f=w(0);B(i.topItemsIndexes,T);const S=he(p(le(v,b,M(u,tt),M(r),M(n),M(d),h,M(T),M(t),M(o),M(f),e),W(([c,x,,C,,,,,,,,z])=>{const j=z&&z.length!==C;return c&&!x&&!j}),y(([,,[c,x],C,z,j,D,V,$,G,ee,Y])=>{var ge,pe,xe,ve;const Ee=z,{offsetTree:ze,sizeTree:Fe}=Ee,Ye=ne(m);if(C===0)return{...zt,totalCount:C};if(c===0&&x===0)return Ye===0?{...zt,totalCount:C}:Wo(Ye,j,z,$,G,Y||[]);if(Z(Fe))return Ye>0?null:gt(jn(Vt(j,C),Ee,Y),[],C,G,Ee,$);const Ue=[];if(V.length>0){const se=V[0],re=V[V.length-1];let ue=0;for(const ie of Ze(Fe,se,re)){const q=ie.value,X=Math.max(ie.start,se),Ce=Math.min(ie.end,re);for(let de=X;de<=Ce;de++)Ue.push({data:Y?.[de],index:de,offset:ue,size:q}),ue+=q}}if(!D)return gt([],Ue,C,G,Ee,$);const Me=V.length>0?V[V.length-1]+1:0,R=wn(ze,c,x,Me);if(R.length===0)return null;const U=C-1,te=Tt([],se=>{for(const re of R){const ue=re.value;let ie=ue.offset,q=re.start;const X=ue.size;if(ue.offset<c){q+=Math.floor((c-ue.offset+G)/(X+G));const de=q-re.start;ie+=de*X+de*G}q<Me&&(ie+=(Me-q)*X,q=Me);const Ce=Math.min(re.end,U);for(let de=q;de<=Ce&&!(ie>=x);de++)se.push({data:Y?.[de],index:de,offset:ie,size:X}),ie+=X+G}}),ae=co(ee,rt),Se=co(ee,it);if(te.length>0&&(ae>0||Se>0)){const se=te[0],re=te[te.length-1];if(ae>0&&se.index>Me){const ue=Math.min(ae,se.index-Me),ie=[];let q=se.offset;for(let X=se.index-1;X>=se.index-ue;X--){const Ce=(pe=(ge=Ze(Fe,X,X)[0])==null?void 0:ge.value)!=null?pe:se.size;q-=Ce+G,ie.unshift({data:Y?.[X],index:X,offset:q,size:Ce})}te.unshift(...ie)}if(Se>0&&re.index<U){const ue=Math.min(Se,U-re.index);let ie=re.offset+re.size+G;for(let q=re.index+1;q<=re.index+ue;q++){const X=(ve=(xe=Ze(Fe,q,q)[0])==null?void 0:xe.value)!=null?ve:re.size;te.push({data:Y?.[q],index:q,offset:ie,size:X}),ie+=X+G}}}return gt(te,Ue,C,G,Ee,$)}),W(c=>c!==null),J()),zt);B(p(e,W(Mt),y(c=>c?.length)),r),B(p(S,y(c=>c.topListHeight)),I),B(I,s),B(p(S,y(c=>[c.top,c.bottom])),l),B(p(S,y(c=>c.items)),a);const E=Te(p(S,W(({items:c})=>c.length>0),A(r,e),W(([{items:c},x])=>c[c.length-1].originalIndex===x-1),y(([,c,x])=>[c-1,x]),J(tt),y(([c])=>c))),H=Te(p(S,je(200),W(({items:c,topItems:x})=>c.length>0&&c[0].originalIndex===x.length),y(({items:c})=>c[0].index),J())),F=Te(p(S,W(({items:c})=>c.length>0),y(({items:c})=>{let x=0,C=c.length-1;for(;c[x].type==="group"&&x<C;)x++;for(;c[C].type==="group"&&C>x;)C--;return{endIndex:c[C].index,startIndex:c[x].index}}),J(Eo)));return{endReached:E,initialItemCount:m,itemsRendered:a,listState:S,minOverscanItemCount:f,rangeChanged:F,startReached:H,topItemsIndexes:T,...g}},Q(Oe,jo,Nt,ct,st,ut,Ae,Lt),{singleton:!0}),Po=_(([{fixedFooterHeight:e,fixedHeaderHeight:t,footerHeight:o,headerHeight:n},{listState:r}])=>{const i=N(),l=he(p(le(o,e,n,t,r),y(([s,u,d,h,I])=>s+u+d+h+I.offsetBottom+I.bottom)),0);return B(M(l),i),{totalListHeight:l,totalListHeightChanged:i}},Q(me,_e),{singleton:!0}),Fn=_(([{viewportHeight:e},{totalListHeight:t}])=>{const o=w(!1),n=he(p(le(o,e,t),W(([r])=>r),y(([,r,i])=>Math.max(0,r-i)),je(0),J()),0);return{alignToBottom:o,paddingTopAddition:n}},Q(me,Po),{singleton:!0}),Lo=_(()=>({context:w(null)})),Mn=({itemBottom:e,itemTop:t,locationParams:{align:o,behavior:n,...r},viewportBottom:i,viewportTop:l})=>t<l?{...r,align:o??"start",behavior:n}:e>i?{...r,align:o??"end",behavior:n}:null,Ao=_(([{gap:e,sizes:t,totalCount:o},{fixedFooterHeight:n,fixedHeaderHeight:r,headerHeight:i,scrollingInProgress:l,scrollTop:s,viewportHeight:u},{scrollToIndex:d}])=>{const h=N();return B(p(h,A(t,u,o,i,r,n,s),A(e),y(([[I,g,v,b,T,m,a,f],S])=>{const{align:E,behavior:H,calculateViewLocation:F=Mn,done:c,...x}=I,C=Oo(I,g,b-1),z=ot(C,g.offsetTree,S)+T+m,j=z+He(g.sizeTree,C)[1],D=f+m,V=f+v-a,$=F({itemBottom:j,itemTop:z,locationParams:{align:E,behavior:H,...x},viewportBottom:V,viewportTop:D});return $?c&&Re(p(l,W(G=>!G),Ne(ne(l)?1:2)),c):c?.(),$}),W(I=>I!==null)),d),{scrollIntoView:h}},Q(Oe,me,st,_e,Le),{singleton:!0});function uo(e){return e?e==="smooth"?"smooth":"auto":!1}const Wn=(e,t)=>typeof e=="function"?uo(e(t)):t&&uo(e),Pn=_(([{listRefresh:e,totalCount:t,fixedItemSize:o,data:n},{atBottomState:r,isAtBottom:i},{scrollToIndex:l},{scrolledToInitialItem:s},{didMount:u,propsReady:d},{log:h},{scrollingInProgress:I},{context:g},{scrollIntoView:v}])=>{const b=w(!1),T=N();let m=null;function a(H){L(l,{align:"end",behavior:H,index:"LAST"})}K(p(le(p(M(t),Ne(1)),u),A(M(b),i,s,I),y(([[H,F],c,x,C,z])=>{let j=F&&C,D="auto";return j&&(D=Wn(c,x||z),j=j&&!!D),{followOutputBehavior:D,shouldFollow:j,totalCount:H}}),W(({shouldFollow:H})=>H)),({followOutputBehavior:H,totalCount:F})=>{m&&(m(),m=null),ne(o)?requestAnimationFrame(()=>{ne(h)("following output to ",{totalCount:F},we.DEBUG),a(H)}):m=Re(e,()=>{ne(h)("following output to ",{totalCount:F},we.DEBUG),a(H),m=null})});function f(H){const F=Re(r,c=>{H&&!c.atBottom&&c.notAtBottomBecause==="SIZE_INCREASED"&&!m&&(ne(h)("scrolling to bottom due to increased size",{},we.DEBUG),a("auto"))});setTimeout(F,100)}K(p(le(M(b),t,d),W(([H,,F])=>H&&F),ke(({value:H},[,F])=>({refreshed:H===F,value:F}),{refreshed:!1,value:0}),W(({refreshed:H})=>H),A(b,t)),([,H])=>{ne(s)&&f(H!==!1)}),K(T,()=>{f(ne(b)!==!1)}),K(le(M(b),r),([H,F])=>{H&&!F.atBottom&&F.notAtBottomBecause==="VIEWPORT_HEIGHT_DECREASING"&&a("auto")});const S=w(null),E=N();return B(Et(p(M(n),y(H=>{var F;return(F=H?.length)!=null?F:0})),p(M(t))),E),K(p(le(p(E,Ne(1)),u),A(M(S),s,I,g),y(([[H,F],c,x,C,z])=>F&&x&&c?.({context:z,totalCount:H,scrollingInProgress:C})),W(H=>!!H),je(0)),H=>{m&&(m(),m=null),ne(o)?requestAnimationFrame(()=>{ne(h)("scrolling into view",{}),L(v,H)}):m=Re(e,()=>{ne(h)("scrolling into view",{}),L(v,H),m=null})}),{autoscrollToBottom:T,followOutput:b,scrollIntoViewOnChange:S}},Q(Oe,ut,st,ct,Ae,Le,me,Lo,Ao)),Ln=_(([{data:e,firstItemIndex:t,gap:o,sizes:n},{initialTopMostItemIndex:r},{initialItemCount:i,listState:l},{didMount:s}])=>(B(p(s,A(i),W(([,u])=>u!==0),A(r,n,t,o,e),y(([[,u],d,h,I,g,v=[]])=>Wo(u,d,h,I,g,v))),l),{}),Q(Oe,ct,_e,Ae),{singleton:!0}),An=_(([{didMount:e},{scrollTo:t},{listState:o}])=>{const n=w(0);return K(p(e,A(n),W(([,r])=>r!==0),y(([,r])=>({top:r}))),r=>{Re(p(o,Ne(1),W(i=>i.items.length>1)),()=>{requestAnimationFrame(()=>{L(t,r)})})}),{initialScrollTop:n}},Q(Ae,me,_e),{singleton:!0}),Do=_(([{scrollVelocity:e}])=>{const t=w(!1),o=N(),n=w(!1);return B(p(e,A(n,t,o),W(([r,i])=>!!i),y(([r,i,l,s])=>{const{enter:u,exit:d}=i;if(l){if(d(r,s))return!1}else if(u(r,s))return!0;return l}),J()),t),K(p(le(t,e,o),A(n)),([[r,i,l],s])=>{r&&s&&s.change&&s.change(i,l)}),{isSeeking:t,scrollSeekConfiguration:n,scrollSeekRangeChanged:o,scrollVelocity:e}},Q(ut),{singleton:!0}),Gt=_(([{scrollContainerState:e,scrollTo:t}])=>{const o=N(),n=N(),r=N(),i=w(!1),l=w(void 0);return B(p(le(o,n),y(([{scrollHeight:s,scrollTop:u,viewportHeight:d},{offsetTop:h}])=>({scrollHeight:s,scrollTop:Math.max(0,u-h),viewportHeight:d}))),e),B(p(t,A(n),y(([s,{offsetTop:u}])=>({...s,top:s.top+u}))),r),{customScrollParent:l,useWindowScroll:i,windowScrollContainerState:o,windowScrollTo:r,windowViewportRect:n}},Q(me)),Dn=_(([{sizeRanges:e,sizes:t},{headerHeight:o,scrollTop:n},{initialTopMostItemIndex:r},{didMount:i},{useWindowScroll:l,windowScrollContainerState:s,windowViewportRect:u}])=>{const d=N(),h=w(void 0),I=w(null),g=w(null);return B(s,I),B(u,g),K(p(d,A(t,n,l,I,g,o)),([v,b,T,m,a,f,S])=>{const E=Cn(b.sizeTree);m&&a!==null&&f!==null&&(T=a.scrollTop-f.offsetTop),T-=S,v({ranges:E,scrollTop:T})}),B(p(h,W(Mt),y(Vn)),r),B(p(i,A(h),W(([,v])=>v!==void 0),J(),y(([,v])=>v.ranges)),e),{getState:d,restoreStateFrom:h}},Q(Oe,me,ct,Ae,Gt));function Vn(e){return{align:"start",index:0,offset:e.scrollTop}}const Nn=_(([{topItemsIndexes:e}])=>{const t=w(0);return B(p(t,W(o=>o>=0),y(o=>Array.from({length:o}).map((n,r)=>r))),e),{topItemCount:t}},Q(_e));function Vo(e){let t=!1,o;return(()=>(t||(t=!0,o=e()),o))}const Gn=Vo(()=>/iP(ad|od|hone)/i.test(navigator.userAgent)&&/WebKit/i.test(navigator.userAgent)),_n=_(([{deviation:e,scrollBy:t,scrollingInProgress:o,scrollTop:n},{isAtBottom:r,isScrolling:i,lastJumpDueToItemResize:l,scrollDirection:s},{listState:u},{beforeUnshiftWith:d,gap:h,shiftWithOffset:I,sizes:g},{log:v},{recalcInProgress:b}])=>{const T=Te(p(u,A(l),ke(([,a,f,S],[{bottom:E,items:H,offsetBottom:F,totalCount:c},x])=>{const C=E+F;let z=0;return f===c&&a.length>0&&H.length>0&&(H[0].originalIndex===0&&a[0].originalIndex===0||(z=C-S,z!==0&&(z+=x))),[z,H,c,C]},[0,[],0,0]),W(([a])=>a!==0),A(n,s,o,r,v,b),W(([,a,f,S,,,E])=>!E&&!S&&a!==0&&f===nt),y(([[a],,,,,f])=>(f("Upward scrolling compensation",{amount:a},we.DEBUG),a))));function m(a){a>0?(L(t,{behavior:"auto",top:-a}),L(e,0)):(L(e,0),L(t,{behavior:"auto",top:-a}))}return K(p(T,A(e,i)),([a,f,S])=>{S&&Gn()?L(e,f-a):m(-a)}),K(p(le(he(i,!1),e,b),W(([a,f,S])=>!a&&!S&&f!==0),y(([a,f])=>f),je(1)),m),B(p(I,y(a=>({top:-a}))),t),K(p(d,A(g,h),y(([a,{groupIndices:f,lastSize:S,sizeTree:E},H])=>{function F(c){return c*(S+H)}if(f.length===0)return F(a);{let c=0;const x=et(E,0);let C=0,z=0;for(;C<a;){C++,c+=x;let j=f.length===z+1?1/0:f[z+1]-f[z]-1;C+j>a&&(c-=x,j=a-C+1),C+=j,c+=F(j),z++}return c}})),a=>{L(e,a),requestAnimationFrame(()=>{L(t,{top:a}),requestAnimationFrame(()=>{L(e,0),L(b,!1)})})}),{deviation:e}},Q(me,ut,_e,Oe,Le,Lt)),Un=_(([e,t,o,n,r,i,l,s,u,d,h])=>({...e,...t,...o,...n,...r,...i,...l,...s,...u,...d,...h}),Q(Nt,Ln,Ae,Do,Po,An,Fn,Gt,Ao,Le,Lo)),No=_(([{data:e,defaultItemSize:t,firstItemIndex:o,fixedItemSize:n,fixedGroupSize:r,gap:i,groupIndices:l,heightEstimates:s,itemSize:u,sizeRanges:d,sizes:h,statefulTotalCount:I,totalCount:g,trackItemSizes:v},{initialItemFinalLocationReached:b,initialTopMostItemIndex:T,scrolledToInitialItem:m},a,f,S,E,{scrollToIndex:H},F,{topItemCount:c},{groupCounts:x},C])=>{const{listState:z,minOverscanItemCount:j,topItemsIndexes:D,rangeChanged:V,...$}=E;return B(V,C.scrollSeekRangeChanged),B(p(C.windowViewportRect,y(G=>G.visibleHeight)),a.viewportHeight),{data:e,defaultItemHeight:t,firstItemIndex:o,fixedItemHeight:n,fixedGroupHeight:r,gap:i,groupCounts:x,heightEstimates:s,initialItemFinalLocationReached:b,initialTopMostItemIndex:T,scrolledToInitialItem:m,sizeRanges:d,topItemCount:c,topItemsIndexes:D,totalCount:g,...S,groupIndices:l,itemSize:u,listState:z,minOverscanItemCount:j,scrollToIndex:H,statefulTotalCount:I,trackItemSizes:v,rangeChanged:V,...$,...C,...a,sizes:h,...f}},Q(Oe,ct,me,Dn,Pn,_e,st,_n,Nn,jo,Un));function Kn(e,t){const o={},n={};let r=0;const i=e.length;for(;r<i;)n[e[r]]=1,r+=1;for(const l in t)Object.hasOwn(n,l)||(o[l]=t[l]);return o}const dt=typeof document<"u"?k.useLayoutEffect:k.useEffect;function Go(e,t,o){const n=Object.keys(t.required||{}),r=Object.keys(t.optional||{}),i=Object.keys(t.methods||{}),l=Object.keys(t.events||{}),s=k.createContext({});function u(m,a){m.propsReady&&L(m.propsReady,!1);for(const f of n){const S=m[t.required[f]];L(S,a[f])}for(const f of r)if(f in a){const S=m[t.optional[f]];L(S,a[f])}m.propsReady&&L(m.propsReady,!0)}function d(m){return i.reduce((a,f)=>(a[f]=S=>{const E=m[t.methods[f]];L(E,S)},a),{})}function h(m){return l.reduce((a,f)=>(a[f]=cn(m[t.events[f]]),a),{})}const I=k.forwardRef((m,a)=>{const{children:f,...S}=m,[E]=k.useState(()=>Tt(an(e),c=>{u(c,S)})),[H]=k.useState(eo(h,E));dt(()=>{for(const c of l)c in S&&K(H[c],S[c]);return()=>{Object.values(H).map(Wt)}},[S,H,E]),dt(()=>{u(E,S)}),k.useImperativeHandle(a,Qt(d(E)));const F=o;return O.jsx(s.Provider,{value:E,children:o?O.jsx(F,{...Kn([...n,...r,...l],S),children:f}):f})}),g=m=>{const a=k.useContext(s);return k.useCallback(f=>{L(a[m],f)},[a,m])},v=m=>{const a=k.useContext(s)[m],f=k.useCallback(S=>K(a,S),[a]);return k.useSyncExternalStore(f,()=>ne(a),()=>ne(a))},b=m=>{const a=k.useContext(s)[m],[f,S]=k.useState(eo(ne,a));return dt(()=>K(a,E=>{E!==f&&S(Qt(E))}),[a,f]),f},T=k.version.startsWith("18")?v:b;return{Component:I,useEmitter:(m,a)=>{const f=k.useContext(s)[m];dt(()=>K(f,a),[a,f])},useEmitterValue:T,usePublisher:g}}const _o=k.createContext(void 0),Uo=k.createContext(void 0),Ko=typeof document<"u"?k.useLayoutEffect:k.useEffect;function Rt(e){return"self"in e}function qn(e){return"body"in e}function qo(e,t,o,n=lt,r,i){const l=k.useRef(null),s=k.useRef(null),u=k.useRef(null),d=k.useCallback(g=>{let v,b,T;const m=g.target;if(qn(m)||Rt(m)){const f=Rt(m)?m:m.defaultView;T=i?f.scrollX:f.scrollY,v=i?f.document.documentElement.scrollWidth:f.document.documentElement.scrollHeight,b=i?f.innerWidth:f.innerHeight}else T=i?m.scrollLeft:m.scrollTop,v=i?m.scrollWidth:m.scrollHeight,b=i?m.offsetWidth:m.offsetHeight;const a=()=>{e({scrollHeight:v,scrollTop:Math.max(T,0),viewportHeight:b})};g.suppressFlushSync?a():en.flushSync(a),s.current!==null&&(T===s.current||T<=0||T===v-b)&&(s.current=null,t(!0),u.current&&(clearTimeout(u.current),u.current=null))},[e,t,i]);k.useEffect(()=>{const g=r||l.current;return n(r||l.current),d({suppressFlushSync:!0,target:g}),g.addEventListener("scroll",d,{passive:!0}),()=>{n(null),g.removeEventListener("scroll",d)}},[l,d,o,n,r]);function h(g){const v=l.current;if(!v||(i?"offsetWidth"in v&&v.offsetWidth===0:"offsetHeight"in v&&v.offsetHeight===0))return;const b=g.behavior==="smooth";let T,m,a;Rt(v)?(m=Math.max(We(v.document.documentElement,i?"width":"height"),i?v.document.documentElement.scrollWidth:v.document.documentElement.scrollHeight),T=i?v.innerWidth:v.innerHeight,a=i?window.scrollX:window.scrollY):(m=v[i?"scrollWidth":"scrollHeight"],T=We(v,i?"width":"height"),a=v[i?"scrollLeft":"scrollTop"]);const f=m-T;if(g.top=Math.ceil(Math.max(Math.min(f,g.top),0)),Mo(T,m)||g.top===a){e({scrollHeight:m,scrollTop:a,viewportHeight:T}),b&&t(!0);return}b?(s.current=g.top,u.current&&clearTimeout(u.current),u.current=setTimeout(()=>{u.current=null,s.current=null,t(!0)},1e3)):s.current=null,i&&(g={behavior:g.behavior,left:g.top}),v.scrollTo(g)}function I(g){i&&(g={behavior:g.behavior,left:g.top}),l.current.scrollBy(g)}return{scrollByCallback:I,scrollerRef:l,scrollToCallback:h}}const yt="-webkit-sticky",ao="sticky",_t=Vo(()=>{if(typeof document>"u")return ao;const e=document.createElement("div");return e.style.position=yt,e.style.position===yt?yt:ao});function Ut(e){return e}const Zn=_(()=>{const e=w(s=>`Item ${s}`),t=w(s=>`Group ${s}`),o=w({}),n=w(Ut),r=w("div"),i=w(lt),l=(s,u=null)=>he(p(o,y(d=>d[s]),J()),u);return{components:o,computeItemKey:n,EmptyPlaceholder:l("EmptyPlaceholder"),FooterComponent:l("Footer"),GroupComponent:l("Group","div"),groupContent:t,HeaderComponent:l("Header"),HeaderFooterTag:r,ItemComponent:l("Item","div"),itemContent:e,ListComponent:l("List","div"),ScrollerComponent:l("Scroller","div"),scrollerRef:i,ScrollSeekPlaceholder:l("ScrollSeekPlaceholder"),TopItemListComponent:l("TopItemList")}});Q(No,Zn);_t();const $n={height:"100%",outline:"none",overflowY:"auto",position:"relative",WebkitOverflowScrolling:"touch"},Yn={outline:"none",overflowX:"auto",position:"relative"},St=e=>({height:"100%",position:"absolute",top:0,width:"100%"});_t();function fe(e,t){if(typeof e!="string")return{context:t}}function Xn(e,t){return{item:typeof e=="string"?void 0:t}}function Zo({useEmitter:e,useEmitterValue:t,usePublisher:o}){return k.memo(function({children:n,style:r,context:i,...l}){const s=o("scrollContainerState"),u=t("ScrollerComponent"),d=o("smoothScrollTargetReached"),h=t("scrollerRef"),I=t("horizontalDirection")||!1,{scrollByCallback:g,scrollerRef:v,scrollToCallback:b}=qo(s,d,u,h,void 0,I);return e("scrollTo",b),e("scrollBy",g),O.jsx(u,{"data-testid":"virtuoso-scroller","data-virtuoso-scroller":!0,ref:v,style:{...I?Yn:$n,...r},tabIndex:0,...l,...fe(u,i),children:n})})}function $o({useEmitter:e,useEmitterValue:t,usePublisher:o}){return k.memo(function({children:n,style:r,context:i,...l}){const s=o("windowScrollContainerState"),u=t("ScrollerComponent"),d=o("smoothScrollTargetReached"),h=t("totalListHeight"),I=t("deviation"),g=t("customScrollParent"),v=k.useRef(null),b=t("scrollerRef"),{scrollByCallback:T,scrollerRef:m,scrollToCallback:a}=qo(s,d,u,b,g);return Ko(()=>{var f;return m.current=g||((f=v.current)==null?void 0:f.ownerDocument.defaultView),()=>{m.current=null}},[m,g]),e("windowScrollTo",a),e("scrollBy",T),O.jsx(u,{ref:v,"data-virtuoso-scroller":!0,style:{position:"relative",...r,...h!==0?{height:h+I}:{}},...l,...fe(u,i),children:n})})}const Jn=_(()=>{const e=w(d=>O.jsxs("td",{children:["Item $",d]})),t=w(null),o=w(d=>O.jsxs("td",{colSpan:1e3,children:["Group ",d]})),n=w(null),r=w(null),i=w({}),l=w(Ut),s=w(lt),u=(d,h=null)=>he(p(i,y(I=>I[d]),J()),h);return{components:i,computeItemKey:l,context:t,EmptyPlaceholder:u("EmptyPlaceholder"),FillerRow:u("FillerRow"),fixedFooterContent:r,fixedHeaderContent:n,itemContent:e,groupContent:o,ScrollerComponent:u("Scroller","div"),scrollerRef:s,ScrollSeekPlaceholder:u("ScrollSeekPlaceholder"),TableBodyComponent:u("TableBody","tbody"),TableComponent:u("Table","table"),TableFooterComponent:u("TableFoot","tfoot"),TableHeadComponent:u("TableHead","thead"),TableRowComponent:u("TableRow","tr"),GroupComponent:u("Group","tr")}}),Qn=_(([e,t])=>({...e,...t}),Q(No,Jn)),er=({height:e})=>O.jsx("tr",{children:O.jsx("td",{style:{height:e}})}),tr=({height:e})=>O.jsx("tr",{children:O.jsx("td",{style:{border:0,height:e,padding:0}})}),or={overflowAnchor:"none"},fo={position:_t(),zIndex:2,overflowAnchor:"none"},ho=k.memo(function({showTopList:e=!1}){const t=P("listState"),o=P("computeItemKey"),n=P("firstItemIndex"),r=P("context"),i=P("isSeeking"),l=P("fixedHeaderHeight"),s=P("groupIndices").length>0,u=P("itemContent"),d=P("groupContent"),h=P("ScrollSeekPlaceholder")||er,I=P("GroupComponent"),g=P("TableRowComponent"),v=(e?t.topItems:[]).reduce((T,m,a)=>(a===0?T.push(m.size):T.push(T[a-1]+m.size),T),[]),b=(e?t.topItems:t.items).map(T=>{const m=T.originalIndex,a=o(m+n,T.data,r),f=e?m===0?0:v[m-1]:0;return i?ht.createElement(h,{...fe(h,r),height:T.size,index:T.index,key:a,type:T.type||"item"}):T.type==="group"?ht.createElement(I,{...fe(I,r),"data-index":m,"data-item-index":T.index,"data-known-size":T.size,key:a,style:{...fo,top:l}},d(T.index,r)):ht.createElement(g,{...fe(g,r),...Xn(g,T.data),"data-index":m,"data-item-index":T.index,"data-known-size":T.size,"data-item-group-index":T.groupIndex,key:a,style:e?{...fo,top:l+f}:or},s?u(T.index,T.groupIndex,T.data,r):u(T.index,T.data,r))});return O.jsx(O.Fragment,{children:b})}),nr=k.memo(function(){const e=P("listState"),t=P("topItemsIndexes").length>0,o=ye("sizeRanges"),n=P("useWindowScroll"),r=P("customScrollParent"),i=ye("windowScrollContainerState"),l=ye("scrollContainerState"),s=r||n?i:l,u=P("trackItemSizes"),d=P("itemSize"),h=P("log"),{callbackRef:I,ref:g}=hn(o,d,u,s,h,void 0,r,!1,P("skipAnimationFrameInResizeObserver")),[v,b]=k.useState(0);Kt("deviation",z=>{v!==z&&(g.current.style.marginTop=`${z}px`,b(z))});const T=P("EmptyPlaceholder"),m=P("FillerRow")||tr,a=P("TableBodyComponent"),f=P("paddingTopAddition"),S=P("statefulTotalCount"),E=P("context");if(S===0&&T)return O.jsx(T,{...fe(T,E)});const H=(t?e.topItems:[]).reduce((z,j)=>z+j.size,0),F=e.offsetTop+f+v-H,c=e.offsetBottom,x=F>0?O.jsx(m,{context:E,height:F},"padding-top"):null,C=c>0?O.jsx(m,{context:E,height:c},"padding-bottom"):null;return O.jsxs(a,{"data-testid":"virtuoso-item-list",ref:I,...fe(a,E),children:[x,t&&O.jsx(ho,{showTopList:!0}),O.jsx(ho,{}),C]})}),rr=({children:e})=>{const t=k.useContext(_o),o=ye("viewportHeight"),n=ye("fixedItemHeight"),r=Ge(k.useMemo(()=>pt(o,i=>We(i,"height")),[o]),!0,P("skipAnimationFrameInResizeObserver"));return k.useEffect(()=>{t&&(o(t.viewportHeight),n(t.itemHeight))},[t,o,n]),O.jsx("div",{"data-viewport-type":"element",ref:r,style:St(),children:e})},ir=({children:e})=>{const t=k.useContext(_o),o=ye("windowViewportRect"),n=ye("fixedItemHeight"),r=P("customScrollParent"),i=Co(o,r,P("skipAnimationFrameInResizeObserver"));return k.useEffect(()=>{t&&(n(t.itemHeight),o({offsetTop:0,visibleHeight:t.viewportHeight,visibleWidth:100}))},[t,o,n]),O.jsx("div",{"data-viewport-type":"window",ref:i,style:St(),children:e})},lr=k.memo(function(e){const t=P("useWindowScroll"),o=P("customScrollParent"),n=ye("fixedHeaderHeight"),r=ye("fixedFooterHeight"),i=P("fixedHeaderContent"),l=P("fixedFooterContent"),s=P("context"),u=Ge(k.useMemo(()=>pt(n,a=>We(a,"height")),[n]),!0,P("skipAnimationFrameInResizeObserver")),d=Ge(k.useMemo(()=>pt(r,a=>We(a,"height")),[r]),!0,P("skipAnimationFrameInResizeObserver")),h=o||t?ur:cr,I=o||t?ir:rr,g=P("TableComponent"),v=P("TableHeadComponent"),b=P("TableFooterComponent"),T=i?O.jsx(v,{ref:u,style:{position:"sticky",top:0,zIndex:2},...fe(v,s),children:i()},"TableHead"):null,m=l?O.jsx(b,{ref:d,style:{bottom:0,position:"sticky",zIndex:1},...fe(b,s),children:l()},"TableFoot"):null;return O.jsx(h,{...e,...fe(h,s),children:O.jsx(I,{children:O.jsxs(g,{style:{borderSpacing:0,overflowAnchor:"none"},...fe(g,s),children:[T,O.jsx(nr,{},"TableBody"),m]})})})}),{Component:sr,useEmitter:Kt,useEmitterValue:P,usePublisher:ye}=Go(Qn,{required:{},optional:{restoreStateFrom:"restoreStateFrom",context:"context",followOutput:"followOutput",firstItemIndex:"firstItemIndex",itemContent:"itemContent",groupContent:"groupContent",fixedHeaderContent:"fixedHeaderContent",fixedFooterContent:"fixedFooterContent",overscan:"overscan",increaseViewportBy:"increaseViewportBy",minOverscanItemCount:"minOverscanItemCount",totalCount:"totalCount",topItemCount:"topItemCount",initialTopMostItemIndex:"initialTopMostItemIndex",components:"components",groupCounts:"groupCounts",atBottomThreshold:"atBottomThreshold",atTopThreshold:"atTopThreshold",computeItemKey:"computeItemKey",defaultItemHeight:"defaultItemHeight",fixedGroupHeight:"fixedGroupHeight",fixedItemHeight:"fixedItemHeight",itemSize:"itemSize",scrollSeekConfiguration:"scrollSeekConfiguration",data:"data",initialItemCount:"initialItemCount",initialScrollTop:"initialScrollTop",alignToBottom:"alignToBottom",useWindowScroll:"useWindowScroll",customScrollParent:"customScrollParent",scrollerRef:"scrollerRef",logLevel:"logLevel"},methods:{scrollToIndex:"scrollToIndex",scrollIntoView:"scrollIntoView",scrollTo:"scrollTo",scrollBy:"scrollBy",getState:"getState"},events:{isScrolling:"isScrolling",endReached:"endReached",startReached:"startReached",rangeChanged:"rangeChanged",atBottomStateChange:"atBottomStateChange",atTopStateChange:"atTopStateChange",totalListHeightChanged:"totalListHeightChanged",itemsRendered:"itemsRendered",groupIndices:"groupIndices"}},lr),cr=Zo({useEmitter:Kt,useEmitterValue:P,usePublisher:ye}),ur=$o({useEmitter:Kt,useEmitterValue:P,usePublisher:ye}),ar=sr,mo={bottom:0,itemHeight:0,items:[],itemWidth:0,offsetBottom:0,offsetTop:0,top:0},dr={bottom:0,itemHeight:0,items:[{index:0}],itemWidth:0,offsetBottom:0,offsetTop:0,top:0},{ceil:go,floor:vt,max:Je,min:Ht,round:po}=Math;function xo(e,t,o){return Array.from({length:t-e+1}).map((n,r)=>({data:o===null?null:o[r+e],index:r+e}))}function fr(e){return{...dr,items:e}}function ft(e,t){return e&&e.width===t.width&&e.height===t.height}function hr(e,t){return e&&e.column===t.column&&e.row===t.row}const mr=_(([{increaseViewportBy:e,listBoundary:t,overscan:o,visibleRange:n},{footerHeight:r,headerHeight:i,scrollBy:l,scrollContainerState:s,scrollTo:u,scrollTop:d,smoothScrollTargetReached:h,viewportHeight:I},g,v,{didMount:b,propsReady:T},{customScrollParent:m,useWindowScroll:a,windowScrollContainerState:f,windowScrollTo:S,windowViewportRect:E},H])=>{const F=w(0),c=w(0),x=w(mo),C=w({height:0,width:0}),z=w({height:0,width:0}),j=N(),D=N(),V=w(0),$=w(null),G=w({column:0,row:0}),ee=N(),Y=N(),ge=w(!1),pe=w(0),xe=w(!0),ve=w(!1),Ee=w(!1);K(p(b,A(pe),W(([R,U])=>!!U)),()=>{L(xe,!1)}),K(p(le(b,xe,z,C,pe,ve),W(([R,U,te,ae,,Se])=>R&&!U&&te.height!==0&&ae.height!==0&&!Se)),([,,,,R])=>{L(ve,!0),Dt(1,()=>{L(j,R)}),Re(p(d),()=>{L(t,[0,0]),L(xe,!0)})}),B(p(Y,W(R=>R!=null&&R.scrollTop>0),Be(0)),c),K(p(b,A(Y),W(([,R])=>R!=null)),([,R])=>{R&&(L(C,R.viewport),L(z,R.item),L(G,R.gap),R.scrollTop>0&&(L(ge,!0),Re(p(d,Ne(1)),U=>{L(ge,!1)}),L(u,{top:R.scrollTop})))}),B(p(C,y(({height:R})=>R)),I),B(p(le(M(C,ft),M(z,ft),M(G,(R,U)=>R&&R.column===U.column&&R.row===U.row),M(d)),y(([R,U,te,ae])=>({gap:te,item:U,scrollTop:ae,viewport:R}))),ee),B(p(le(M(F),n,M(G,hr),M(z,ft),M(C,ft),M($),M(c),M(ge),M(xe),M(pe)),W(([,,,,,,,R])=>!R),y(([R,[U,te],ae,Se,se,re,ue,,ie,q])=>{const{column:X,row:Ce}=ae,{height:de,width:Ct}=Se,{width:qt}=se;if(ue===0&&(R===0||qt===0))return mo;if(Ct===0){const Jt=Vt(q,R),Qo=Jt+Math.max(ue-1,0);return fr(xo(Jt,Qo,re))}const at=Yo(qt,Ct,X);let Ke,De;ie?U===0&&te===0&&ue>0?(Ke=0,De=ue-1):(Ke=at*vt((U+Ce)/(de+Ce)),De=at*go((te+Ce)/(de+Ce))-1,De=Ht(R-1,Je(De,at-1)),Ke=Ht(De,Je(0,Ke))):(Ke=0,De=-1);const Zt=xo(Ke,De,re),{bottom:$t,top:Yt}=vo(se,ae,Se,Zt),Xt=go(R/at),Jo=Xt*de+(Xt-1)*Ce-$t;return{bottom:$t,itemHeight:de,items:Zt,itemWidth:Ct,offsetBottom:Jo,offsetTop:Yt,top:Yt}})),x),B(p($,W(R=>R!==null),y(R=>R.length)),F),B(p(le(C,z,x,G),W(([R,U,{items:te}])=>te.length>0&&U.height!==0&&R.height!==0),y(([R,U,{items:te},ae])=>{const{bottom:Se,top:se}=vo(R,ae,U,te);return[se,Se]}),J(tt)),t);const ze=w(!1);B(p(d,A(ze),y(([R,U])=>U||R!==0)),ze);const Fe=Te(p(le(x,F),W(([{items:R}])=>R.length>0),A(ze),W(([[R,U],te])=>{const ae=R.items[R.items.length-1].index===U-1;return(te||R.bottom>0&&R.itemHeight>0&&R.offsetBottom===0&&R.items.length===U)&&ae}),y(([[,R]])=>R-1),J())),Ye=Te(p(M(x),W(({items:R})=>R.length>0&&R[0].index===0),Be(0),J())),Ue=Te(p(M(x),A(ge),W(([{items:R},U])=>R.length>0&&!U),y(([{items:R}])=>({endIndex:R[R.length-1].index,startIndex:R[0].index})),J(Eo),je(0)));B(Ue,v.scrollSeekRangeChanged),B(p(j,A(C,z,F,G),y(([R,U,te,ae,Se])=>{const se=Fo(R),{align:re,behavior:ue,offset:ie}=se;let q=se.index;q==="LAST"&&(q=ae-1),q=Je(0,q,Ht(ae-1,q));let X=Ft(U,Se,te,q);return re==="end"?X=po(X-U.height+te.height):re==="center"&&(X=po(X-U.height/2+te.height/2)),ie&&(X+=ie),{behavior:ue,top:X}})),u);const Me=he(p(x,y(R=>R.offsetBottom+R.bottom)),0);return B(p(E,y(R=>({height:R.visibleHeight,width:R.visibleWidth}))),C),{customScrollParent:m,data:$,deviation:V,footerHeight:r,gap:G,headerHeight:i,increaseViewportBy:e,initialItemCount:c,itemDimensions:z,overscan:o,restoreStateFrom:Y,scrollBy:l,scrollContainerState:s,scrollHeight:D,scrollTo:u,scrollToIndex:j,scrollTop:d,smoothScrollTargetReached:h,totalCount:F,useWindowScroll:a,viewportDimensions:C,windowScrollContainerState:f,windowScrollTo:S,windowViewportRect:E,...v,gridState:x,horizontalDirection:Ee,initialTopMostItemIndex:pe,totalListHeight:Me,...g,endReached:Fe,propsReady:T,rangeChanged:Ue,startReached:Ye,stateChanged:ee,stateRestoreInProgress:ge,...H}},Q(Nt,me,ut,Do,Ae,Gt,Le));function Yo(e,t,o){return Je(1,vt((e+o)/(vt(t)+o)))}function vo(e,t,o,n){const{height:r}=o;if(r===void 0||n.length===0)return{bottom:0,top:0};const i=Ft(e,t,o,n[0].index);return{bottom:Ft(e,t,o,n[n.length-1].index)+r,top:i}}function Ft(e,t,o,n){const r=Yo(e.width,o.width,t.column),i=vt(n/r),l=i*o.height+Je(0,i-1)*t.row;return l>0?l+t.row:l}const gr=_(()=>{const e=w(I=>`Item ${I}`),t=w({}),o=w(null),n=w("virtuoso-grid-item"),r=w("virtuoso-grid-list"),i=w(Ut),l=w("div"),s=w(lt),u=(I,g=null)=>he(p(t,y(v=>v[I]),J()),g),d=w(!1),h=w(!1);return B(M(h),d),{components:t,computeItemKey:i,context:o,FooterComponent:u("Footer"),HeaderComponent:u("Header"),headerFooterTag:l,itemClassName:n,ItemComponent:u("Item","div"),itemContent:e,listClassName:r,ListComponent:u("List","div"),readyStateChanged:d,reportReadyState:h,ScrollerComponent:u("Scroller","div"),scrollerRef:s,ScrollSeekPlaceholder:u("ScrollSeekPlaceholder","div")}}),pr=_(([e,t])=>({...e,...t}),Q(mr,gr)),xr=k.memo(function(){const e=oe("gridState"),t=oe("listClassName"),o=oe("itemClassName"),n=oe("itemContent"),r=oe("computeItemKey"),i=oe("isSeeking"),l=be("scrollHeight"),s=oe("ItemComponent"),u=oe("ListComponent"),d=oe("ScrollSeekPlaceholder"),h=oe("context"),I=be("itemDimensions"),g=be("gap"),v=oe("log"),b=oe("stateRestoreInProgress"),T=be("reportReadyState"),m=Ge(k.useMemo(()=>a=>{const f=a.parentElement.parentElement.scrollHeight;l(f);const S=a.firstChild;if(S){const{height:E,width:H}=S.getBoundingClientRect();I({height:E,width:H})}g({column:Io("column-gap",getComputedStyle(a).columnGap,v),row:Io("row-gap",getComputedStyle(a).rowGap,v)})},[l,I,g,v]),!0,!1);return Ko(()=>{e.itemHeight>0&&e.itemWidth>0&&T(!0)},[e]),b?null:O.jsx(u,{className:t,ref:m,...fe(u,h),"data-testid":"virtuoso-item-list",style:{paddingBottom:e.offsetBottom,paddingTop:e.offsetTop},children:e.items.map(a=>{const f=r(a.index,a.data,h);return i?O.jsx(d,{...fe(d,h),height:e.itemHeight,index:a.index,width:e.itemWidth},f):ht.createElement(s,{...fe(s,h),className:o,"data-index":a.index,key:f},n(a.index,a.data,h))})})}),vr=k.memo(function(){const e=oe("HeaderComponent"),t=be("headerHeight"),o=oe("headerFooterTag"),n=Ge(k.useMemo(()=>i=>{t(We(i,"height"))},[t]),!0,!1),r=oe("context");return e?O.jsx(o,{ref:n,children:O.jsx(e,{...fe(e,r)})}):null}),Ir=k.memo(function(){const e=oe("FooterComponent"),t=be("footerHeight"),o=oe("headerFooterTag"),n=Ge(k.useMemo(()=>i=>{t(We(i,"height"))},[t]),!0,!1),r=oe("context");return e?O.jsx(o,{ref:n,children:O.jsx(e,{...fe(e,r)})}):null}),Tr=({children:e})=>{const t=k.useContext(Uo),o=be("itemDimensions"),n=be("viewportDimensions"),r=Ge(k.useMemo(()=>i=>{n(i.getBoundingClientRect())},[n]),!0,!1);return k.useEffect(()=>{t&&(n({height:t.viewportHeight,width:t.viewportWidth}),o({height:t.itemHeight,width:t.itemWidth}))},[t,n,o]),O.jsx("div",{ref:r,style:St(),children:e})},wr=({children:e})=>{const t=k.useContext(Uo),o=be("windowViewportRect"),n=be("itemDimensions"),r=oe("customScrollParent"),i=Co(o,r,!1);return k.useEffect(()=>{t&&(n({height:t.itemHeight,width:t.itemWidth}),o({offsetTop:0,visibleHeight:t.viewportHeight,visibleWidth:t.viewportWidth}))},[t,o,n]),O.jsx("div",{ref:i,style:St(),children:e})},Sr=k.memo(function({...e}){const t=oe("useWindowScroll"),o=oe("customScrollParent"),n=o||t?br:Cr,r=o||t?wr:Tr,i=oe("context");return O.jsx(n,{...e,...fe(n,i),children:O.jsxs(r,{children:[O.jsx(vr,{}),O.jsx(xr,{}),O.jsx(Ir,{})]})})}),{useEmitter:Xo,useEmitterValue:oe,usePublisher:be}=Go(pr,{optional:{context:"context",totalCount:"totalCount",overscan:"overscan",itemContent:"itemContent",components:"components",computeItemKey:"computeItemKey",data:"data",initialItemCount:"initialItemCount",scrollSeekConfiguration:"scrollSeekConfiguration",headerFooterTag:"headerFooterTag",listClassName:"listClassName",itemClassName:"itemClassName",useWindowScroll:"useWindowScroll",customScrollParent:"customScrollParent",scrollerRef:"scrollerRef",logLevel:"logLevel",restoreStateFrom:"restoreStateFrom",initialTopMostItemIndex:"initialTopMostItemIndex",increaseViewportBy:"increaseViewportBy"},methods:{scrollTo:"scrollTo",scrollBy:"scrollBy",scrollToIndex:"scrollToIndex"},events:{isScrolling:"isScrolling",endReached:"endReached",startReached:"startReached",rangeChanged:"rangeChanged",atBottomStateChange:"atBottomStateChange",atTopStateChange:"atTopStateChange",stateChanged:"stateChanged",readyStateChanged:"readyStateChanged"}},Sr),Cr=Zo({useEmitter:Xo,useEmitterValue:oe,usePublisher:be}),br=$o({useEmitter:Xo,useEmitterValue:oe,usePublisher:be});function Io(e,t,o){return t!=="normal"&&!(t!=null&&t.endsWith("px"))&&o(`${e} was not resolved to pixel value correctly`,t,we.WARN),t==="normal"?0:parseInt(t??"0",10)}function zr({table:e}){const{t}=tn("common");return O.jsxs("div",{className:"flex flex-row flex-wrap gap-2 text-xs px-2",children:[O.jsxs("span",{className:"label",children:[t(o=>o.columns),": "]}),e.getAllLeafColumns().map(o=>o.id==="select"?null:O.jsxs("label",{className:"label",children:[O.jsx("input",{checked:o.getIsVisible(),disabled:!o.getCanHide(),onChange:o.getToggleVisibilityHandler(),type:"checkbox",className:"checkbox checkbox-xs"}),typeof o.columnDef.header=="string"&&o.columnDef.header?o.columnDef.header:t(n=>n[o.id])]},o.id))]})}const Rr={Table:({style:e,context:t,...o})=>O.jsx("div",{className:"overflow-x-auto overflow-y-hidden",children:O.jsx("table",{...o,className:"table table-sm mb-5 min-w-full",style:{...e,tableLayout:"fixed"}})}),TableHead:({context:e,children:t,style:o,...n})=>O.jsx("thead",{...n,children:t}),TableRow:({item:e,context:t,...o})=>O.jsx("tr",{...o,children:e.getVisibleCells().map(n=>O.jsx("td",{children:To(n.column.columnDef.cell,n.getContext())},n.id))})};function Er({id:e,table:t}){return O.jsxs(O.Fragment,{children:[O.jsx(zr,{table:t}),O.jsx(ar,{useWindowScroll:!0,id:e,className:"mt-1.5",data:t.getRowModel().rows,components:Rr,defaultItemHeight:73,increaseViewportBy:{top:100,bottom:100},fixedHeaderContent:()=>t.getHeaderGroups().map(o=>O.jsx("tr",{className:"bg-base-200",children:o.headers.map(n=>{const r=n.column.getIsSorted(),i=r==="asc"?" ↑":r==="desc"?" ↓":null;return O.jsx("th",{colSpan:n.colSpan,style:{width:n.getSize()},children:n.isPlaceholder?null:O.jsx(O.Fragment,{children:O.jsxs("div",{className:n.column.getCanSort()?"cursor-pointer select-none whitespace-normal":"whitespace-normal",onClick:n.column.getToggleSortingHandler(),children:[To(n.column.columnDef.header,n.getContext()),i]})})},n.id)})},o.id))})]})}export{Er as T};
Binary file
Binary file
Binary file
@@ -1 +0,0 @@
1
- function J(){return typeof window<"u"}function H(t){return Ot(t)?(t.nodeName||"").toLowerCase():"#document"}function S(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function P(t){var e;return(e=(Ot(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function Ot(t){return J()?t instanceof Node||t instanceof S(t).Node:!1}function C(t){return J()?t instanceof Element||t instanceof S(t).Element:!1}function L(t){return J()?t instanceof HTMLElement||t instanceof S(t).HTMLElement:!1}function gt(t){return!J()||typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof S(t).ShadowRoot}const Ft=new Set(["inline","contents"]);function X(t){const{overflow:e,overflowX:n,overflowY:o,display:i}=T(t);return/auto|scroll|overlay|hidden|clip/.test(e+o+n)&&!Ft.has(i)}const Mt=new Set(["table","td","th"]);function Bt(t){return Mt.has(H(t))}const Wt=[":popover-open",":modal"];function Q(t){return Wt.some(e=>{try{return t.matches(e)}catch{return!1}})}const Nt=["transform","translate","scale","rotate","perspective"],Vt=["transform","translate","scale","rotate","perspective","filter"],$t=["paint","layout","strict","content"];function lt(t){const e=at(),n=C(t)?T(t):t;return Nt.some(o=>n[o]?n[o]!=="none":!1)||(n.containerType?n.containerType!=="normal":!1)||!e&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!e&&(n.filter?n.filter!=="none":!1)||Vt.some(o=>(n.willChange||"").includes(o))||$t.some(o=>(n.contain||"").includes(o))}function kt(t){let e=M(t);for(;L(e)&&!k(e);){if(lt(e))return e;if(Q(e))return null;e=M(e)}return null}function at(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const _t=new Set(["html","body","#document"]);function k(t){return _t.has(H(t))}function T(t){return S(t).getComputedStyle(t)}function Z(t){return C(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function M(t){if(H(t)==="html")return t;const e=t.assignedSlot||t.parentNode||gt(t)&&t.host||P(t);return gt(e)?e.host:e}function Rt(t){const e=M(t);return k(e)?t.ownerDocument?t.ownerDocument.body:t.body:L(e)&&X(e)?e:Rt(e)}function j(t,e,n){var o;e===void 0&&(e=[]),n===void 0&&(n=!0);const i=Rt(t),r=i===((o=t.ownerDocument)==null?void 0:o.body),s=S(i);if(r){const c=rt(s);return e.concat(s,s.visualViewport||[],X(i)?i:[],c&&n?j(c):[])}return e.concat(i,j(i,[],n))}function rt(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}const Ht=["top","right","bottom","left"],ht=["start","end"],pt=Ht.reduce((t,e)=>t.concat(e,e+"-"+ht[0],e+"-"+ht[1]),[]),_=Math.min,W=Math.max,K=Math.round,U=Math.floor,E=t=>({x:t,y:t}),zt={left:"right",right:"left",bottom:"top",top:"bottom"},It={start:"end",end:"start"};function ct(t,e,n){return W(t,_(e,n))}function Y(t,e){return typeof t=="function"?t(e):t}function z(t){return t.split("-")[0]}function D(t){return t.split("-")[1]}function At(t){return t==="x"?"y":"x"}function ft(t){return t==="y"?"height":"width"}const jt=new Set(["top","bottom"]);function tt(t){return jt.has(z(t))?"y":"x"}function ut(t){return At(tt(t))}function Xt(t,e,n){n===void 0&&(n=!1);const o=D(t),i=ut(t),r=ft(i);let s=i==="x"?o===(n?"end":"start")?"right":"left":o==="start"?"bottom":"top";return e.reference[r]>e.floating[r]&&(s=wt(s)),[s,wt(s)]}function Yt(t){return t.replace(/start|end/g,e=>It[e])}function wt(t){return t.replace(/left|right|bottom|top/g,e=>zt[e])}function qt(t){return{top:0,right:0,bottom:0,left:0,...t}}function St(t){return typeof t!="number"?qt(t):{top:t,right:t,bottom:t,left:t}}function G(t){const{x:e,y:n,width:o,height:i}=t;return{width:o,height:i,top:n,left:e,right:e+o,bottom:n+i,x:e,y:n}}function xt(t,e,n){let{reference:o,floating:i}=t;const r=tt(e),s=ut(e),c=ft(s),l=z(e),a=r==="y",d=o.x+o.width/2-i.width/2,u=o.y+o.height/2-i.height/2,m=o[c]/2-i[c]/2;let f;switch(l){case"top":f={x:d,y:o.y-i.height};break;case"bottom":f={x:d,y:o.y+o.height};break;case"right":f={x:o.x+o.width,y:u};break;case"left":f={x:o.x-i.width,y:u};break;default:f={x:o.x,y:o.y}}switch(D(e)){case"start":f[s]-=m*(n&&a?-1:1);break;case"end":f[s]+=m*(n&&a?-1:1);break}return f}async function Ut(t,e){var n;e===void 0&&(e={});const{x:o,y:i,platform:r,rects:s,elements:c,strategy:l}=t,{boundary:a="clippingAncestors",rootBoundary:d="viewport",elementContext:u="floating",altBoundary:m=!1,padding:f=0}=Y(e,t),g=St(f),w=c[m?u==="floating"?"reference":"floating":u],h=G(await r.getClippingRect({element:(n=await(r.isElement==null?void 0:r.isElement(w)))==null||n?w:w.contextElement||await(r.getDocumentElement==null?void 0:r.getDocumentElement(c.floating)),boundary:a,rootBoundary:d,strategy:l})),x=u==="floating"?{x:o,y:i,width:s.floating.width,height:s.floating.height}:s.reference,y=await(r.getOffsetParent==null?void 0:r.getOffsetParent(c.floating)),v=await(r.isElement==null?void 0:r.isElement(y))?await(r.getScale==null?void 0:r.getScale(y))||{x:1,y:1}:{x:1,y:1},O=G(r.convertOffsetParentRelativeRectToViewportRelativeRect?await r.convertOffsetParentRelativeRectToViewportRelativeRect({elements:c,rect:x,offsetParent:y,strategy:l}):x);return{top:(h.top-O.top+g.top)/v.y,bottom:(O.bottom-h.bottom+g.bottom)/v.y,left:(h.left-O.left+g.left)/v.x,right:(O.right-h.right+g.right)/v.x}}const Kt=async(t,e,n)=>{const{placement:o="bottom",strategy:i="absolute",middleware:r=[],platform:s}=n,c=r.filter(Boolean),l=await(s.isRTL==null?void 0:s.isRTL(e));let a=await s.getElementRects({reference:t,floating:e,strategy:i}),{x:d,y:u}=xt(a,o,l),m=o,f={},g=0;for(let w=0;w<c.length;w++){var p;const{name:h,fn:x}=c[w],{x:y,y:v,data:O,reset:b}=await x({x:d,y:u,initialPlacement:o,placement:m,strategy:i,middlewareData:f,rects:a,platform:{...s,detectOverflow:(p=s.detectOverflow)!=null?p:Ut},elements:{reference:t,floating:e}});d=y??d,u=v??u,f={...f,[h]:{...f[h],...O}},b&&g<=50&&(g++,typeof b=="object"&&(b.placement&&(m=b.placement),b.rects&&(a=b.rects===!0?await s.getElementRects({reference:t,floating:e,strategy:i}):b.rects),{x:d,y:u}=xt(a,m,l)),w=-1)}return{x:d,y:u,placement:m,strategy:i,middlewareData:f}},Gt=t=>({name:"arrow",options:t,async fn(e){const{x:n,y:o,placement:i,rects:r,platform:s,elements:c,middlewareData:l}=e,{element:a,padding:d=0}=Y(t,e)||{};if(a==null)return{};const u=St(d),m={x:n,y:o},f=ut(i),g=ft(f),p=await s.getDimensions(a),w=f==="y",h=w?"top":"left",x=w?"bottom":"right",y=w?"clientHeight":"clientWidth",v=r.reference[g]+r.reference[f]-m[f]-r.floating[g],O=m[f]-r.reference[f],b=await(s.getOffsetParent==null?void 0:s.getOffsetParent(a));let R=b?b[y]:0;(!R||!await(s.isElement==null?void 0:s.isElement(b)))&&(R=c.floating[y]||r.floating[g]);const mt=v/2-O/2,I=R/2-p[g]/2-1,A=_(u[h],I),F=_(u[x],I),V=A,q=R-p[g]-F,B=R/2-p[g]/2+mt,nt=ct(V,B,q),ot=!l.arrow&&D(i)!=null&&B!==nt&&r.reference[g]/2-(B<V?A:F)-p[g]/2<0,it=ot?B<V?B-V:B-q:0;return{[f]:m[f]+it,data:{[f]:nt,centerOffset:B-nt-it,...ot&&{alignmentOffset:it}},reset:ot}}});function Jt(t,e,n){return(t?[...n.filter(i=>D(i)===t),...n.filter(i=>D(i)!==t)]:n.filter(i=>z(i)===i)).filter(i=>t?D(i)===t||(e?Yt(i)!==i:!1):!0)}const Qt=function(t){return t===void 0&&(t={}),{name:"autoPlacement",options:t,async fn(e){var n,o,i;const{rects:r,middlewareData:s,placement:c,platform:l,elements:a}=e,{crossAxis:d=!1,alignment:u,allowedPlacements:m=pt,autoAlignment:f=!0,...g}=Y(t,e),p=u!==void 0||m===pt?Jt(u||null,f,m):m,w=await l.detectOverflow(e,g),h=((n=s.autoPlacement)==null?void 0:n.index)||0,x=p[h];if(x==null)return{};const y=Xt(x,r,await(l.isRTL==null?void 0:l.isRTL(a.floating)));if(c!==x)return{reset:{placement:p[0]}};const v=[w[z(x)],w[y[0]],w[y[1]]],O=[...((o=s.autoPlacement)==null?void 0:o.overflows)||[],{placement:x,overflows:v}],b=p[h+1];if(b)return{data:{index:h+1,overflows:O},reset:{placement:b}};const R=O.map(A=>{const F=D(A.placement);return[A.placement,F&&d?A.overflows.slice(0,2).reduce((V,q)=>V+q,0):A.overflows[0],A.overflows]}).sort((A,F)=>A[1]-F[1]),I=((i=R.filter(A=>A[2].slice(0,D(A[0])?2:3).every(F=>F<=0))[0])==null?void 0:i[0])||R[0][0];return I!==c?{data:{index:h+1,overflows:O},reset:{placement:I}}:{}}}},Zt=new Set(["left","top"]);async function te(t,e){const{placement:n,platform:o,elements:i}=t,r=await(o.isRTL==null?void 0:o.isRTL(i.floating)),s=z(n),c=D(n),l=tt(n)==="y",a=Zt.has(s)?-1:1,d=r&&l?-1:1,u=Y(e,t);let{mainAxis:m,crossAxis:f,alignmentAxis:g}=typeof u=="number"?{mainAxis:u,crossAxis:0,alignmentAxis:null}:{mainAxis:u.mainAxis||0,crossAxis:u.crossAxis||0,alignmentAxis:u.alignmentAxis};return c&&typeof g=="number"&&(f=c==="end"?g*-1:g),l?{x:f*d,y:m*a}:{x:m*a,y:f*d}}const ee=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(e){var n,o;const{x:i,y:r,placement:s,middlewareData:c}=e,l=await te(e,t);return s===((n=c.offset)==null?void 0:n.placement)&&(o=c.arrow)!=null&&o.alignmentOffset?{}:{x:i+l.x,y:r+l.y,data:{...l,placement:s}}}}},ne=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){const{x:n,y:o,placement:i,platform:r}=e,{mainAxis:s=!0,crossAxis:c=!1,limiter:l={fn:h=>{let{x,y}=h;return{x,y}}},...a}=Y(t,e),d={x:n,y:o},u=await r.detectOverflow(e,a),m=tt(z(i)),f=At(m);let g=d[f],p=d[m];if(s){const h=f==="y"?"top":"left",x=f==="y"?"bottom":"right",y=g+u[h],v=g-u[x];g=ct(y,g,v)}if(c){const h=m==="y"?"top":"left",x=m==="y"?"bottom":"right",y=p+u[h],v=p-u[x];p=ct(y,p,v)}const w=l.fn({...e,[f]:g,[m]:p});return{...w,data:{x:w.x-n,y:w.y-o,enabled:{[f]:s,[m]:c}}}}}};function Ct(t){const e=T(t);let n=parseFloat(e.width)||0,o=parseFloat(e.height)||0;const i=L(t),r=i?t.offsetWidth:n,s=i?t.offsetHeight:o,c=K(n)!==r||K(o)!==s;return c&&(n=r,o=s),{width:n,height:o,$:c}}function dt(t){return C(t)?t:t.contextElement}function $(t){const e=dt(t);if(!L(e))return E(1);const n=e.getBoundingClientRect(),{width:o,height:i,$:r}=Ct(e);let s=(r?K(n.width):n.width)/o,c=(r?K(n.height):n.height)/i;return(!s||!Number.isFinite(s))&&(s=1),(!c||!Number.isFinite(c))&&(c=1),{x:s,y:c}}const oe=E(0);function Tt(t){const e=S(t);return!at()||!e.visualViewport?oe:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function ie(t,e,n){return e===void 0&&(e=!1),!n||e&&n!==S(t)?!1:e}function N(t,e,n,o){e===void 0&&(e=!1),n===void 0&&(n=!1);const i=t.getBoundingClientRect(),r=dt(t);let s=E(1);e&&(o?C(o)&&(s=$(o)):s=$(t));const c=ie(r,n,o)?Tt(r):E(0);let l=(i.left+c.x)/s.x,a=(i.top+c.y)/s.y,d=i.width/s.x,u=i.height/s.y;if(r){const m=S(r),f=o&&C(o)?S(o):o;let g=m,p=rt(g);for(;p&&o&&f!==g;){const w=$(p),h=p.getBoundingClientRect(),x=T(p),y=h.left+(p.clientLeft+parseFloat(x.paddingLeft))*w.x,v=h.top+(p.clientTop+parseFloat(x.paddingTop))*w.y;l*=w.x,a*=w.y,d*=w.x,u*=w.y,l+=y,a+=v,g=S(p),p=rt(g)}}return G({width:d,height:u,x:l,y:a})}function et(t,e){const n=Z(t).scrollLeft;return e?e.left+n:N(P(t)).left+n}function Et(t,e){const n=t.getBoundingClientRect(),o=n.left+e.scrollLeft-et(t,n),i=n.top+e.scrollTop;return{x:o,y:i}}function se(t){let{elements:e,rect:n,offsetParent:o,strategy:i}=t;const r=i==="fixed",s=P(o),c=e?Q(e.floating):!1;if(o===s||c&&r)return n;let l={scrollLeft:0,scrollTop:0},a=E(1);const d=E(0),u=L(o);if((u||!u&&!r)&&((H(o)!=="body"||X(s))&&(l=Z(o)),L(o))){const f=N(o);a=$(o),d.x=f.x+o.clientLeft,d.y=f.y+o.clientTop}const m=s&&!u&&!r?Et(s,l):E(0);return{width:n.width*a.x,height:n.height*a.y,x:n.x*a.x-l.scrollLeft*a.x+d.x+m.x,y:n.y*a.y-l.scrollTop*a.y+d.y+m.y}}function re(t){return Array.from(t.getClientRects())}function ce(t){const e=P(t),n=Z(t),o=t.ownerDocument.body,i=W(e.scrollWidth,e.clientWidth,o.scrollWidth,o.clientWidth),r=W(e.scrollHeight,e.clientHeight,o.scrollHeight,o.clientHeight);let s=-n.scrollLeft+et(t);const c=-n.scrollTop;return T(o).direction==="rtl"&&(s+=W(e.clientWidth,o.clientWidth)-i),{width:i,height:r,x:s,y:c}}const yt=25;function le(t,e){const n=S(t),o=P(t),i=n.visualViewport;let r=o.clientWidth,s=o.clientHeight,c=0,l=0;if(i){r=i.width,s=i.height;const d=at();(!d||d&&e==="fixed")&&(c=i.offsetLeft,l=i.offsetTop)}const a=et(o);if(a<=0){const d=o.ownerDocument,u=d.body,m=getComputedStyle(u),f=d.compatMode==="CSS1Compat"&&parseFloat(m.marginLeft)+parseFloat(m.marginRight)||0,g=Math.abs(o.clientWidth-u.clientWidth-f);g<=yt&&(r-=g)}else a<=yt&&(r+=a);return{width:r,height:s,x:c,y:l}}const ae=new Set(["absolute","fixed"]);function fe(t,e){const n=N(t,!0,e==="fixed"),o=n.top+t.clientTop,i=n.left+t.clientLeft,r=L(t)?$(t):E(1),s=t.clientWidth*r.x,c=t.clientHeight*r.y,l=i*r.x,a=o*r.y;return{width:s,height:c,x:l,y:a}}function vt(t,e,n){let o;if(e==="viewport")o=le(t,n);else if(e==="document")o=ce(P(t));else if(C(e))o=fe(e,n);else{const i=Tt(t);o={x:e.x-i.x,y:e.y-i.y,width:e.width,height:e.height}}return G(o)}function Lt(t,e){const n=M(t);return n===e||!C(n)||k(n)?!1:T(n).position==="fixed"||Lt(n,e)}function ue(t,e){const n=e.get(t);if(n)return n;let o=j(t,[],!1).filter(c=>C(c)&&H(c)!=="body"),i=null;const r=T(t).position==="fixed";let s=r?M(t):t;for(;C(s)&&!k(s);){const c=T(s),l=lt(s);!l&&c.position==="fixed"&&(i=null),(r?!l&&!i:!l&&c.position==="static"&&!!i&&ae.has(i.position)||X(s)&&!l&&Lt(t,s))?o=o.filter(d=>d!==s):i=c,s=M(s)}return e.set(t,o),o}function de(t){let{element:e,boundary:n,rootBoundary:o,strategy:i}=t;const s=[...n==="clippingAncestors"?Q(e)?[]:ue(e,this._c):[].concat(n),o],c=s[0],l=s.reduce((a,d)=>{const u=vt(e,d,i);return a.top=W(u.top,a.top),a.right=_(u.right,a.right),a.bottom=_(u.bottom,a.bottom),a.left=W(u.left,a.left),a},vt(e,c,i));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}}function me(t){const{width:e,height:n}=Ct(t);return{width:e,height:n}}function ge(t,e,n){const o=L(e),i=P(e),r=n==="fixed",s=N(t,!0,r,e);let c={scrollLeft:0,scrollTop:0};const l=E(0);function a(){l.x=et(i)}if(o||!o&&!r)if((H(e)!=="body"||X(i))&&(c=Z(e)),o){const f=N(e,!0,r,e);l.x=f.x+e.clientLeft,l.y=f.y+e.clientTop}else i&&a();r&&!o&&i&&a();const d=i&&!o&&!r?Et(i,c):E(0),u=s.left+c.scrollLeft-l.x-d.x,m=s.top+c.scrollTop-l.y-d.y;return{x:u,y:m,width:s.width,height:s.height}}function st(t){return T(t).position==="static"}function bt(t,e){if(!L(t)||T(t).position==="fixed")return null;if(e)return e(t);let n=t.offsetParent;return P(t)===n&&(n=n.ownerDocument.body),n}function Pt(t,e){const n=S(t);if(Q(t))return n;if(!L(t)){let i=M(t);for(;i&&!k(i);){if(C(i)&&!st(i))return i;i=M(i)}return n}let o=bt(t,e);for(;o&&Bt(o)&&st(o);)o=bt(o,e);return o&&k(o)&&st(o)&&!lt(o)?n:o||kt(t)||n}const he=async function(t){const e=this.getOffsetParent||Pt,n=this.getDimensions,o=await n(t.floating);return{reference:ge(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}};function pe(t){return T(t).direction==="rtl"}const we={convertOffsetParentRelativeRectToViewportRelativeRect:se,getDocumentElement:P,getClippingRect:de,getOffsetParent:Pt,getElementRects:he,getClientRects:re,getDimensions:me,getScale:$,isElement:C,isRTL:pe};function Dt(t,e){return t.x===e.x&&t.y===e.y&&t.width===e.width&&t.height===e.height}function xe(t,e){let n=null,o;const i=P(t);function r(){var c;clearTimeout(o),(c=n)==null||c.disconnect(),n=null}function s(c,l){c===void 0&&(c=!1),l===void 0&&(l=1),r();const a=t.getBoundingClientRect(),{left:d,top:u,width:m,height:f}=a;if(c||e(),!m||!f)return;const g=U(u),p=U(i.clientWidth-(d+m)),w=U(i.clientHeight-(u+f)),h=U(d),y={rootMargin:-g+"px "+-p+"px "+-w+"px "+-h+"px",threshold:W(0,_(1,l))||1};let v=!0;function O(b){const R=b[0].intersectionRatio;if(R!==l){if(!v)return s();R?s(!1,R):o=setTimeout(()=>{s(!1,1e-7)},1e3)}R===1&&!Dt(a,t.getBoundingClientRect())&&s(),v=!1}try{n=new IntersectionObserver(O,{...y,root:i.ownerDocument})}catch{n=new IntersectionObserver(O,y)}n.observe(t)}return s(!0),r}function ye(t,e,n,o){o===void 0&&(o={});const{ancestorScroll:i=!0,ancestorResize:r=!0,elementResize:s=typeof ResizeObserver=="function",layoutShift:c=typeof IntersectionObserver=="function",animationFrame:l=!1}=o,a=dt(t),d=i||r?[...a?j(a):[],...j(e)]:[];d.forEach(h=>{i&&h.addEventListener("scroll",n,{passive:!0}),r&&h.addEventListener("resize",n)});const u=a&&c?xe(a,n):null;let m=-1,f=null;s&&(f=new ResizeObserver(h=>{let[x]=h;x&&x.target===a&&f&&(f.unobserve(e),cancelAnimationFrame(m),m=requestAnimationFrame(()=>{var y;(y=f)==null||y.observe(e)})),n()}),a&&!l&&f.observe(a),f.observe(e));let g,p=l?N(t):null;l&&w();function w(){const h=N(t);p&&!Dt(p,h)&&n(),p=h,g=requestAnimationFrame(w)}return n(),()=>{var h;d.forEach(x=>{i&&x.removeEventListener("scroll",n),r&&x.removeEventListener("resize",n)}),u?.(),(h=f)==null||h.disconnect(),f=null,l&&cancelAnimationFrame(g)}}const ve=ee,be=Qt,Oe=ne,Re=Gt,Ae=(t,e,n)=>{const o=new Map,i={platform:we,...n},r={...i.platform,_c:o};return Kt(t,e,{...i,platform:r})};export{ye as a,gt as b,Ae as c,be as d,Re as e,C as f,j as g,T as h,L as i,at as j,k,M as l,Ot as m,ve as o,Oe as s};
@@ -1 +0,0 @@
1
- import{r as c,ab as Me,ac as Oe,j as B}from"./index-DTLwKrFY.js";import{i as ee,b as Je,c as et,o as tt,d as nt,s as rt,e as ge,f as $,g as ne,h as Ae,j as ot,k as re,l as it,m as st}from"./floating-ui.dom-BSrWR8Gl.js";var at=["input:not([inert]):not([inert] *)","select:not([inert]):not([inert] *)","textarea:not([inert]):not([inert] *)","a[href]:not([inert]):not([inert] *)","button:not([inert]):not([inert] *)","[tabindex]:not(slot):not([inert]):not([inert] *)","audio[controls]:not([inert]):not([inert] *)","video[controls]:not([inert]):not([inert] *)",'[contenteditable]:not([contenteditable="false"]):not([inert]):not([inert] *)',"details>summary:first-of-type:not([inert]):not([inert] *)","details:not([inert]):not([inert] *)"],ce=at.join(","),De=typeof Element>"u",H=De?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,Q=!De&&Element.prototype.getRootNode?function(t){var e;return t==null||(e=t.getRootNode)===null||e===void 0?void 0:e.call(t)}:function(t){return t?.ownerDocument},z=function(e,n){var r;n===void 0&&(n=!0);var o=e==null||(r=e.getAttribute)===null||r===void 0?void 0:r.call(e,"inert"),i=o===""||o==="true",s=i||n&&e&&(typeof e.closest=="function"?e.closest("[inert]"):z(e.parentNode));return s},ct=function(e){var n,r=e==null||(n=e.getAttribute)===null||n===void 0?void 0:n.call(e,"contenteditable");return r===""||r==="true"},ut=function(e,n,r){if(z(e))return[];var o=Array.prototype.slice.apply(e.querySelectorAll(ce));return n&&H.call(e,ce)&&o.unshift(e),o=o.filter(r),o},ue=function(e,n,r){for(var o=[],i=Array.from(e);i.length;){var s=i.shift();if(!z(s,!1))if(s.tagName==="SLOT"){var a=s.assignedElements(),u=a.length?a:s.children,l=ue(u,!0,r);r.flatten?o.push.apply(o,l):o.push({scopeParent:s,candidates:l})}else{var d=H.call(s,ce);d&&r.filter(s)&&(n||!e.includes(s))&&o.push(s);var g=s.shadowRoot||typeof r.getShadowRoot=="function"&&r.getShadowRoot(s),p=!z(g,!1)&&(!r.shadowRootFilter||r.shadowRootFilter(s));if(g&&p){var m=ue(g===!0?s.children:g.children,!0,r);r.flatten?o.push.apply(o,m):o.push({scopeParent:s,candidates:m})}else i.unshift.apply(i,s.children)}}return o},Ne=function(e){return!isNaN(parseInt(e.getAttribute("tabindex"),10))},Fe=function(e){if(!e)throw new Error("No node provided");return e.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName)||ct(e))&&!Ne(e)?0:e.tabIndex},lt=function(e,n){var r=Fe(e);return r<0&&n&&!Ne(e)?0:r},ft=function(e,n){return e.tabIndex===n.tabIndex?e.documentOrder-n.documentOrder:e.tabIndex-n.tabIndex},Le=function(e){return e.tagName==="INPUT"},dt=function(e){return Le(e)&&e.type==="hidden"},vt=function(e){var n=e.tagName==="DETAILS"&&Array.prototype.slice.apply(e.children).some(function(r){return r.tagName==="SUMMARY"});return n},gt=function(e,n){for(var r=0;r<e.length;r++)if(e[r].checked&&e[r].form===n)return e[r]},pt=function(e){if(!e.name)return!0;var n=e.form||Q(e),r=function(a){return n.querySelectorAll('input[type="radio"][name="'+a+'"]')},o;if(typeof window<"u"&&typeof window.CSS<"u"&&typeof window.CSS.escape=="function")o=r(window.CSS.escape(e.name));else try{o=r(e.name)}catch(s){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",s.message),!1}var i=gt(o,e.form);return!i||i===e},mt=function(e){return Le(e)&&e.type==="radio"},bt=function(e){return mt(e)&&!pt(e)},ht=function(e){var n,r=e&&Q(e),o=(n=r)===null||n===void 0?void 0:n.host,i=!1;if(r&&r!==e){var s,a,u;for(i=!!((s=o)!==null&&s!==void 0&&(a=s.ownerDocument)!==null&&a!==void 0&&a.contains(o)||e!=null&&(u=e.ownerDocument)!==null&&u!==void 0&&u.contains(e));!i&&o;){var l,d,g;r=Q(o),o=(l=r)===null||l===void 0?void 0:l.host,i=!!((d=o)!==null&&d!==void 0&&(g=d.ownerDocument)!==null&&g!==void 0&&g.contains(o))}}return i},pe=function(e){var n=e.getBoundingClientRect(),r=n.width,o=n.height;return r===0&&o===0},Rt=function(e,n){var r=n.displayCheck,o=n.getShadowRoot;if(r==="full-native"&&"checkVisibility"in e){var i=e.checkVisibility({checkOpacity:!1,opacityProperty:!1,contentVisibilityAuto:!0,visibilityProperty:!0,checkVisibilityCSS:!0});return!i}if(getComputedStyle(e).visibility==="hidden")return!0;var s=H.call(e,"details>summary:first-of-type"),a=s?e.parentElement:e;if(H.call(a,"details:not([open]) *"))return!0;if(!r||r==="full"||r==="full-native"||r==="legacy-full"){if(typeof o=="function"){for(var u=e;e;){var l=e.parentElement,d=Q(e);if(l&&!l.shadowRoot&&o(l)===!0)return pe(e);e.assignedSlot?e=e.assignedSlot:!l&&d!==e.ownerDocument?e=d.host:e=l}e=u}if(ht(e))return!e.getClientRects().length;if(r!=="legacy-full")return!0}else if(r==="non-zero-area")return pe(e);return!1},yt=function(e){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(e.tagName))for(var n=e.parentElement;n;){if(n.tagName==="FIELDSET"&&n.disabled){for(var r=0;r<n.children.length;r++){var o=n.children.item(r);if(o.tagName==="LEGEND")return H.call(n,"fieldset[disabled] *")?!0:!o.contains(e)}return!0}n=n.parentElement}return!1},Et=function(e,n){return!(n.disabled||dt(n)||Rt(n,e)||vt(n)||yt(n))},me=function(e,n){return!(bt(n)||Fe(n)<0||!Et(e,n))},xt=function(e){var n=parseInt(e.getAttribute("tabindex"),10);return!!(isNaN(n)||n>=0)},_e=function(e){var n=[],r=[];return e.forEach(function(o,i){var s=!!o.scopeParent,a=s?o.scopeParent:o,u=lt(a,s),l=s?_e(o.candidates):a;u===0?s?n.push.apply(n,l):n.push(a):r.push({documentOrder:i,tabIndex:u,item:o,isScope:s,content:l})}),r.sort(ft).reduce(function(o,i){return i.isScope?o.push.apply(o,i.content):o.push(i.content),o},[]).concat(n)},$e=function(e,n){n=n||{};var r;return n.getShadowRoot?r=ue([e],n.includeContainer,{filter:me.bind(null,n),flatten:!1,getShadowRoot:n.getShadowRoot,shadowRootFilter:xt}):r=ut(e,n.includeContainer,me.bind(null,n)),_e(r)};function wt(){return/apple/i.test(navigator.vendor)}const be="data-floating-ui-focusable",St="input:not([type='hidden']):not([disabled]),[contenteditable]:not([contenteditable='false']),textarea:not([disabled])";function Ct(t){let e=t.activeElement;for(;((n=e)==null||(n=n.shadowRoot)==null?void 0:n.activeElement)!=null;){var n;e=e.shadowRoot.activeElement}return e}function le(t,e){if(!t||!e)return!1;const n=e.getRootNode==null?void 0:e.getRootNode();if(t.contains(e))return!0;if(n&&Je(n)){let r=e;for(;r;){if(t===r)return!0;r=r.parentNode||r.host}}return!1}function q(t){return"composedPath"in t?t.composedPath()[0]:t.target}function oe(t,e){if(e==null)return!1;if("composedPath"in t)return t.composedPath().includes(e);const n=t;return n.target!=null&&e.contains(n.target)}function Tt(t){return t.matches("html,body")}function X(t){return t?.ownerDocument||document}function It(t){return ee(t)&&t.matches(St)}function Pt(t){return t?t.hasAttribute(be)?t:t.querySelector("["+be+"]")||t:null}function G(t,e,n){return n===void 0&&(n=!0),t.filter(o=>{var i;return o.parentId===e&&(!n||((i=o.context)==null?void 0:i.open))}).flatMap(o=>[o,...G(t,o.id,n)])}function kt(t){return"nativeEvent"in t}function he(t,e){return["mouse","pen"].includes(t)}var Mt=typeof document<"u",Ot=function(){},V=Mt?c.useLayoutEffect:Ot;const At={...Me},Dt=At.useInsertionEffect,Nt=Dt||(t=>t());function U(t){const e=c.useRef(()=>{});return Nt(()=>{e.current=t}),c.useCallback(function(){for(var n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return e.current==null?void 0:e.current(...r)},[])}const Be=()=>({getShadowRoot:!0,displayCheck:typeof ResizeObserver=="function"&&ResizeObserver.toString().includes("[native code]")?"full":"none"});function Ke(t,e){const n=$e(t,Be()),r=n.length;if(r===0)return;const o=Ct(X(t)),i=n.indexOf(o),s=i===-1?e===1?0:r-1:i+e;return n[s]}function Ft(t){return Ke(X(t).body,1)||t}function Lt(t){return Ke(X(t).body,-1)||t}function ie(t,e){const n=e||t.currentTarget,r=t.relatedTarget;return!r||!le(n,r)}function _t(t){$e(t,Be()).forEach(n=>{n.dataset.tabindex=n.getAttribute("tabindex")||"",n.setAttribute("tabindex","-1")})}function Re(t){t.querySelectorAll("[data-tabindex]").forEach(n=>{const r=n.dataset.tabindex;delete n.dataset.tabindex,r?n.setAttribute("tabindex",r):n.removeAttribute("tabindex")})}var $t=typeof document<"u",Bt=function(){},Z=$t?c.useLayoutEffect:Bt;function J(t,e){if(t===e)return!0;if(typeof t!=typeof e)return!1;if(typeof t=="function"&&t.toString()===e.toString())return!0;let n,r,o;if(t&&e&&typeof t=="object"){if(Array.isArray(t)){if(n=t.length,n!==e.length)return!1;for(r=n;r--!==0;)if(!J(t[r],e[r]))return!1;return!0}if(o=Object.keys(t),n=o.length,n!==Object.keys(e).length)return!1;for(r=n;r--!==0;)if(!{}.hasOwnProperty.call(e,o[r]))return!1;for(r=n;r--!==0;){const i=o[r];if(!(i==="_owner"&&t.$$typeof)&&!J(t[i],e[i]))return!1}return!0}return t!==t&&e!==e}function je(t){return typeof window>"u"?1:(t.ownerDocument.defaultView||window).devicePixelRatio||1}function ye(t,e){const n=je(t);return Math.round(e*n)/n}function se(t){const e=c.useRef(t);return Z(()=>{e.current=t}),e}function Kt(t){t===void 0&&(t={});const{placement:e="bottom",strategy:n="absolute",middleware:r=[],platform:o,elements:{reference:i,floating:s}={},transform:a=!0,whileElementsMounted:u,open:l}=t,[d,g]=c.useState({x:0,y:0,strategy:n,placement:e,middlewareData:{},isPositioned:!1}),[p,m]=c.useState(r);J(p,r)||m(r);const[E,f]=c.useState(null),[h,x]=c.useState(null),R=c.useCallback(v=>{v!==A.current&&(A.current=v,f(v))},[]),y=c.useCallback(v=>{v!==O.current&&(O.current=v,x(v))},[]),w=i||E,P=s||h,A=c.useRef(null),O=c.useRef(null),T=c.useRef(d),j=u!=null,F=se(u),_=se(o),D=se(l),L=c.useCallback(()=>{if(!A.current||!O.current)return;const v={placement:e,strategy:n,middleware:p};_.current&&(v.platform=_.current),et(A.current,O.current,v).then(C=>{const I={...C,isPositioned:D.current!==!1};b.current&&!J(T.current,I)&&(T.current=I,Oe.flushSync(()=>{g(I)}))})},[p,e,n,_,D]);Z(()=>{l===!1&&T.current.isPositioned&&(T.current.isPositioned=!1,g(v=>({...v,isPositioned:!1})))},[l]);const b=c.useRef(!1);Z(()=>(b.current=!0,()=>{b.current=!1}),[]),Z(()=>{if(w&&(A.current=w),P&&(O.current=P),w&&P){if(F.current)return F.current(w,P,L);L()}},[w,P,L,F,j]);const k=c.useMemo(()=>({reference:A,floating:O,setReference:R,setFloating:y}),[R,y]),S=c.useMemo(()=>({reference:w,floating:P}),[w,P]),M=c.useMemo(()=>{const v={position:n,left:0,top:0};if(!S.floating)return v;const C=ye(S.floating,d.x),I=ye(S.floating,d.y);return a?{...v,transform:"translate("+C+"px, "+I+"px)",...je(S.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:C,top:I}},[n,a,S.floating,d.x,d.y]);return c.useMemo(()=>({...d,update:L,refs:k,elements:S,floatingStyles:M}),[d,L,k,S,M])}const jt=t=>{function e(n){return{}.hasOwnProperty.call(n,"current")}return{name:"arrow",options:t,fn(n){const{element:r,padding:o}=typeof t=="function"?t(n):t;return r&&e(r)?r.current!=null?ge({element:r.current,padding:o}).fn(n):{}:r?ge({element:r,padding:o}).fn(n):{}}}},cn=(t,e)=>({...tt(t),options:[t,e]}),un=(t,e)=>({...rt(t),options:[t,e]}),ln=(t,e)=>({...nt(t),options:[t,e]}),fn=(t,e)=>({...jt(t),options:[t,e]}),Wt="data-floating-ui-focusable",Ee="active",xe="selected",Vt={...Me};let we=!1,Ut=0;const Se=()=>"floating-ui-"+Math.random().toString(36).slice(2,6)+Ut++;function Yt(){const[t,e]=c.useState(()=>we?Se():void 0);return V(()=>{t==null&&e(Se())},[]),c.useEffect(()=>{we=!0},[]),t}const qt=Vt.useId,te=qt||Yt,dn=c.forwardRef(function(e,n){const{context:{placement:r,elements:{floating:o},middlewareData:{arrow:i,shift:s}},width:a=14,height:u=7,tipRadius:l=0,strokeWidth:d=0,staticOffset:g,stroke:p,d:m,style:{transform:E,...f}={},...h}=e,x=te(),[R,y]=c.useState(!1);if(V(()=>{if(!o)return;Ae(o).direction==="rtl"&&y(!0)},[o]),!o)return null;const[w,P]=r.split("-"),A=w==="top"||w==="bottom";let O=g;(A&&s!=null&&s.x||!A&&s!=null&&s.y)&&(O=null);const T=d*2,j=T/2,F=a/2*(l/-8+1),_=u/2*l/4,D=!!m,L=O&&P==="end"?"bottom":"top";let b=O&&P==="end"?"right":"left";O&&R&&(b=P==="end"?"left":"right");const k=i?.x!=null?O||i.x:"",S=i?.y!=null?O||i.y:"",M=m||"M0,0"+(" H"+a)+(" L"+(a-F)+","+(u-_))+(" Q"+a/2+","+u+" "+F+","+(u-_))+" Z",v={top:D?"rotate(180deg)":"",left:D?"rotate(90deg)":"rotate(-90deg)",bottom:D?"":"rotate(180deg)",right:D?"rotate(-90deg)":"rotate(90deg)"}[w];return B.jsxs("svg",{...h,"aria-hidden":!0,ref:n,width:D?a:a+T,height:a,viewBox:"0 0 "+a+" "+(u>a?u:a),style:{position:"absolute",pointerEvents:"none",[b]:k,[L]:S,[w]:A||D?"100%":"calc(100% - "+T/2+"px)",transform:[v,E].filter(C=>!!C).join(" "),...f},children:[T>0&&B.jsx("path",{clipPath:"url(#"+x+")",fill:"none",stroke:p,strokeWidth:T+(m?0:1),d:M}),B.jsx("path",{stroke:T&&!m?h.fill:"none",d:M}),B.jsx("clipPath",{id:x,children:B.jsx("rect",{x:-j,y:j*(D?-1:1),width:a+T,height:a})})]})});function Ht(){const t=new Map;return{emit(e,n){var r;(r=t.get(e))==null||r.forEach(o=>o(n))},on(e,n){t.has(e)||t.set(e,new Set),t.get(e).add(n)},off(e,n){var r;(r=t.get(e))==null||r.delete(n)}}}const Xt=c.createContext(null),Gt=c.createContext(null),We=()=>{var t;return((t=c.useContext(Xt))==null?void 0:t.id)||null},Ve=()=>c.useContext(Gt);function fe(t){return"data-floating-ui-"+t}const Zt={border:0,clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"fixed",whiteSpace:"nowrap",width:"1px",top:0,left:0},Ce=c.forwardRef(function(e,n){const[r,o]=c.useState();V(()=>{wt()&&o("button")},[]);const i={ref:n,tabIndex:0,role:r,"aria-hidden":r?void 0:!0,[fe("focus-guard")]:"",style:Zt};return B.jsx("span",{...e,...i})}),Qt={clipPath:"inset(50%)",position:"fixed",top:0,left:0},Ue=c.createContext(null),Te=fe("portal");function zt(t){t===void 0&&(t={});const{id:e,root:n}=t,r=te(),o=Jt(),[i,s]=c.useState(null),a=c.useRef(null);return V(()=>()=>{i?.remove(),queueMicrotask(()=>{a.current=null})},[i]),V(()=>{if(!r||a.current)return;const u=e?document.getElementById(e):null;if(!u)return;const l=document.createElement("div");l.id=r,l.setAttribute(Te,""),u.appendChild(l),a.current=l,s(l)},[e,r]),V(()=>{if(n===null||!r||a.current)return;let u=n||o?.portalNode;u&&!st(u)&&(u=u.current),u=u||document.body;let l=null;e&&(l=document.createElement("div"),l.id=e,u.appendChild(l));const d=document.createElement("div");d.id=r,d.setAttribute(Te,""),u=l||u,u.appendChild(d),a.current=d,s(d)},[e,n,r,o]),i}function vn(t){const{children:e,id:n,root:r,preserveTabOrder:o=!0}=t,i=zt({id:n,root:r}),[s,a]=c.useState(null),u=c.useRef(null),l=c.useRef(null),d=c.useRef(null),g=c.useRef(null),p=s?.modal,m=s?.open,E=!!s&&!s.modal&&s.open&&o&&!!(r||i);return c.useEffect(()=>{if(!i||!o||p)return;function f(h){i&&ie(h)&&(h.type==="focusin"?Re:_t)(i)}return i.addEventListener("focusin",f,!0),i.addEventListener("focusout",f,!0),()=>{i.removeEventListener("focusin",f,!0),i.removeEventListener("focusout",f,!0)}},[i,o,p]),c.useEffect(()=>{i&&(m||Re(i))},[m,i]),B.jsxs(Ue.Provider,{value:c.useMemo(()=>({preserveTabOrder:o,beforeOutsideRef:u,afterOutsideRef:l,beforeInsideRef:d,afterInsideRef:g,portalNode:i,setFocusManagerState:a}),[o,i]),children:[E&&i&&B.jsx(Ce,{"data-type":"outside",ref:u,onFocus:f=>{if(ie(f,i)){var h;(h=d.current)==null||h.focus()}else{const x=s?s.domReference:null,R=Lt(x);R?.focus()}}}),E&&i&&B.jsx("span",{"aria-owns":i.id,style:Qt}),i&&Oe.createPortal(e,i),E&&i&&B.jsx(Ce,{"data-type":"outside",ref:l,onFocus:f=>{if(ie(f,i)){var h;(h=g.current)==null||h.focus()}else{const x=s?s.domReference:null,R=Ft(x);R?.focus(),s?.closeOnFocusOut&&s?.onOpenChange(!1,f.nativeEvent,"focus-out")}}})]})}const Jt=()=>c.useContext(Ue);function Ie(t){return ee(t.target)&&t.target.tagName==="BUTTON"}function en(t){return ee(t.target)&&t.target.tagName==="A"}function Pe(t){return It(t)}function gn(t,e){e===void 0&&(e={});const{open:n,onOpenChange:r,dataRef:o,elements:{domReference:i}}=t,{enabled:s=!0,event:a="click",toggle:u=!0,ignoreMouse:l=!1,keyboardHandlers:d=!0,stickIfOpen:g=!0}=e,p=c.useRef(),m=c.useRef(!1),E=c.useMemo(()=>({onPointerDown(f){p.current=f.pointerType},onMouseDown(f){const h=p.current;f.button===0&&a!=="click"&&(he(h)&&l||(n&&u&&(!(o.current.openEvent&&g)||o.current.openEvent.type==="mousedown")?r(!1,f.nativeEvent,"click"):(f.preventDefault(),r(!0,f.nativeEvent,"click"))))},onClick(f){const h=p.current;if(a==="mousedown"&&p.current){p.current=void 0;return}he(h)&&l||(n&&u&&(!(o.current.openEvent&&g)||o.current.openEvent.type==="click")?r(!1,f.nativeEvent,"click"):r(!0,f.nativeEvent,"click"))},onKeyDown(f){p.current=void 0,!(f.defaultPrevented||!d||Ie(f))&&(f.key===" "&&!Pe(i)&&(f.preventDefault(),m.current=!0),!en(f)&&f.key==="Enter"&&r(!(n&&u),f.nativeEvent,"click"))},onKeyUp(f){f.defaultPrevented||!d||Ie(f)||Pe(i)||f.key===" "&&m.current&&(m.current=!1,r(!(n&&u),f.nativeEvent,"click"))}}),[o,i,a,l,d,r,n,g,u]);return c.useMemo(()=>s?{reference:E}:{},[s,E])}const tn={pointerdown:"onPointerDown",mousedown:"onMouseDown",click:"onClick"},nn={pointerdown:"onPointerDownCapture",mousedown:"onMouseDownCapture",click:"onClickCapture"},ke=t=>{var e,n;return{escapeKey:typeof t=="boolean"?t:(e=t?.escapeKey)!=null?e:!1,outsidePress:typeof t=="boolean"?t:(n=t?.outsidePress)!=null?n:!0}};function pn(t,e){e===void 0&&(e={});const{open:n,onOpenChange:r,elements:o,dataRef:i}=t,{enabled:s=!0,escapeKey:a=!0,outsidePress:u=!0,outsidePressEvent:l="pointerdown",referencePress:d=!1,referencePressEvent:g="pointerdown",ancestorScroll:p=!1,bubbles:m,capture:E}=e,f=Ve(),h=U(typeof u=="function"?u:()=>!1),x=typeof u=="function"?h:u,R=c.useRef(!1),{escapeKey:y,outsidePress:w}=ke(m),{escapeKey:P,outsidePress:A}=ke(E),O=c.useRef(!1),T=U(b=>{var k;if(!n||!s||!a||b.key!=="Escape"||O.current)return;const S=(k=i.current.floatingContext)==null?void 0:k.nodeId,M=f?G(f.nodesRef.current,S):[];if(!y&&(b.stopPropagation(),M.length>0)){let v=!0;if(M.forEach(C=>{var I;if((I=C.context)!=null&&I.open&&!C.context.dataRef.current.__escapeKeyBubbles){v=!1;return}}),!v)return}r(!1,kt(b)?b.nativeEvent:b,"escape-key")}),j=U(b=>{var k;const S=()=>{var M;T(b),(M=q(b))==null||M.removeEventListener("keydown",S)};(k=q(b))==null||k.addEventListener("keydown",S)}),F=U(b=>{var k;const S=i.current.insideReactTree;i.current.insideReactTree=!1;const M=R.current;if(R.current=!1,l==="click"&&M||S||typeof x=="function"&&!x(b))return;const v=q(b),C="["+fe("inert")+"]",I=X(o.floating).querySelectorAll(C);let W=$(v)?v:null;for(;W&&!re(W);){const N=it(W);if(re(N)||!$(N))break;W=N}if(I.length&&$(v)&&!Tt(v)&&!le(v,o.floating)&&Array.from(I).every(N=>!le(W,N)))return;if(ee(v)&&L){const N=re(v),K=Ae(v),Y=/auto|scroll/,qe=N||Y.test(K.overflowX),He=N||Y.test(K.overflowY),Xe=qe&&v.clientWidth>0&&v.scrollWidth>v.clientWidth,Ge=He&&v.clientHeight>0&&v.scrollHeight>v.clientHeight,Ze=K.direction==="rtl",Qe=Ge&&(Ze?b.offsetX<=v.offsetWidth-v.clientWidth:b.offsetX>v.clientWidth),ze=Xe&&b.offsetY>v.clientHeight;if(Qe||ze)return}const de=(k=i.current.floatingContext)==null?void 0:k.nodeId,Ye=f&&G(f.nodesRef.current,de).some(N=>{var K;return oe(b,(K=N.context)==null?void 0:K.elements.floating)});if(oe(b,o.floating)||oe(b,o.domReference)||Ye)return;const ve=f?G(f.nodesRef.current,de):[];if(ve.length>0){let N=!0;if(ve.forEach(K=>{var Y;if((Y=K.context)!=null&&Y.open&&!K.context.dataRef.current.__outsidePressBubbles){N=!1;return}}),!N)return}r(!1,b,"outside-press")}),_=U(b=>{var k;const S=()=>{var M;F(b),(M=q(b))==null||M.removeEventListener(l,S)};(k=q(b))==null||k.addEventListener(l,S)});c.useEffect(()=>{if(!n||!s)return;i.current.__escapeKeyBubbles=y,i.current.__outsidePressBubbles=w;let b=-1;function k(I){r(!1,I,"ancestor-scroll")}function S(){window.clearTimeout(b),O.current=!0}function M(){b=window.setTimeout(()=>{O.current=!1},ot()?5:0)}const v=X(o.floating);a&&(v.addEventListener("keydown",P?j:T,P),v.addEventListener("compositionstart",S),v.addEventListener("compositionend",M)),x&&v.addEventListener(l,A?_:F,A);let C=[];return p&&($(o.domReference)&&(C=ne(o.domReference)),$(o.floating)&&(C=C.concat(ne(o.floating))),!$(o.reference)&&o.reference&&o.reference.contextElement&&(C=C.concat(ne(o.reference.contextElement)))),C=C.filter(I=>{var W;return I!==((W=v.defaultView)==null?void 0:W.visualViewport)}),C.forEach(I=>{I.addEventListener("scroll",k,{passive:!0})}),()=>{a&&(v.removeEventListener("keydown",P?j:T,P),v.removeEventListener("compositionstart",S),v.removeEventListener("compositionend",M)),x&&v.removeEventListener(l,A?_:F,A),C.forEach(I=>{I.removeEventListener("scroll",k)}),window.clearTimeout(b)}},[i,o,a,x,l,n,r,p,s,y,w,T,P,j,F,A,_]),c.useEffect(()=>{i.current.insideReactTree=!1},[i,x,l]);const D=c.useMemo(()=>({onKeyDown:T,...d&&{[tn[g]]:b=>{r(!1,b.nativeEvent,"reference-press")},...g!=="click"&&{onClick(b){r(!1,b.nativeEvent,"reference-press")}}}}),[T,r,d,g]),L=c.useMemo(()=>({onKeyDown:T,onMouseDown(){R.current=!0},onMouseUp(){R.current=!0},[nn[l]]:()=>{i.current.insideReactTree=!0}}),[T,l,i]);return c.useMemo(()=>s?{reference:D,floating:L}:{},[s,D,L])}function rn(t){const{open:e=!1,onOpenChange:n,elements:r}=t,o=te(),i=c.useRef({}),[s]=c.useState(()=>Ht()),a=We()!=null,[u,l]=c.useState(r.reference),d=U((m,E,f)=>{i.current.openEvent=m?E:void 0,s.emit("openchange",{open:m,event:E,reason:f,nested:a}),n?.(m,E,f)}),g=c.useMemo(()=>({setPositionReference:l}),[]),p=c.useMemo(()=>({reference:u||r.reference||null,floating:r.floating||null,domReference:r.reference}),[u,r.reference,r.floating]);return c.useMemo(()=>({dataRef:i,open:e,onOpenChange:d,elements:p,events:s,floatingId:o,refs:g}),[e,d,p,s,o,g])}function mn(t){t===void 0&&(t={});const{nodeId:e}=t,n=rn({...t,elements:{reference:null,floating:null,...t.elements}}),r=t.rootContext||n,o=r.elements,[i,s]=c.useState(null),[a,u]=c.useState(null),d=o?.domReference||i,g=c.useRef(null),p=Ve();V(()=>{d&&(g.current=d)},[d]);const m=Kt({...t,elements:{...o,...a&&{reference:a}}}),E=c.useCallback(y=>{const w=$(y)?{getBoundingClientRect:()=>y.getBoundingClientRect(),getClientRects:()=>y.getClientRects(),contextElement:y}:y;u(w),m.refs.setReference(w)},[m.refs]),f=c.useCallback(y=>{($(y)||y===null)&&(g.current=y,s(y)),($(m.refs.reference.current)||m.refs.reference.current===null||y!==null&&!$(y))&&m.refs.setReference(y)},[m.refs]),h=c.useMemo(()=>({...m.refs,setReference:f,setPositionReference:E,domReference:g}),[m.refs,f,E]),x=c.useMemo(()=>({...m.elements,domReference:d}),[m.elements,d]),R=c.useMemo(()=>({...m,...r,refs:h,elements:x,nodeId:e}),[m,h,x,e,r]);return V(()=>{r.dataRef.current.floatingContext=R;const y=p?.nodesRef.current.find(w=>w.id===e);y&&(y.context=R)}),c.useMemo(()=>({...m,context:R,refs:h,elements:x}),[m,h,x,R])}function ae(t,e,n){const r=new Map,o=n==="item";let i=t;if(o&&t){const{[Ee]:s,[xe]:a,...u}=t;i=u}return{...n==="floating"&&{tabIndex:-1,[Wt]:""},...i,...e.map(s=>{const a=s?s[n]:null;return typeof a=="function"?t?a(t):null:a}).concat(t).reduce((s,a)=>(a&&Object.entries(a).forEach(u=>{let[l,d]=u;if(!(o&&[Ee,xe].includes(l)))if(l.indexOf("on")===0){if(r.has(l)||r.set(l,[]),typeof d=="function"){var g;(g=r.get(l))==null||g.push(d),s[l]=function(){for(var p,m=arguments.length,E=new Array(m),f=0;f<m;f++)E[f]=arguments[f];return(p=r.get(l))==null?void 0:p.map(h=>h(...E)).find(h=>h!==void 0)}}}else s[l]=d}),s),{})}}function bn(t){t===void 0&&(t=[]);const e=t.map(a=>a?.reference),n=t.map(a=>a?.floating),r=t.map(a=>a?.item),o=c.useCallback(a=>ae(a,t,"reference"),e),i=c.useCallback(a=>ae(a,t,"floating"),n),s=c.useCallback(a=>ae(a,t,"item"),r);return c.useMemo(()=>({getReferenceProps:o,getFloatingProps:i,getItemProps:s}),[o,i,s])}const on=new Map([["select","listbox"],["combobox","listbox"],["label",!1]]);function hn(t,e){var n,r;e===void 0&&(e={});const{open:o,elements:i,floatingId:s}=t,{enabled:a=!0,role:u="dialog"}=e,l=te(),d=((n=i.domReference)==null?void 0:n.id)||l,g=c.useMemo(()=>{var R;return((R=Pt(i.floating))==null?void 0:R.id)||s},[i.floating,s]),p=(r=on.get(u))!=null?r:u,E=We()!=null,f=c.useMemo(()=>p==="tooltip"||u==="label"?{["aria-"+(u==="label"?"labelledby":"describedby")]:o?g:void 0}:{"aria-expanded":o?"true":"false","aria-haspopup":p==="alertdialog"?"dialog":p,"aria-controls":o?g:void 0,...p==="listbox"&&{role:"combobox"},...p==="menu"&&{id:d},...p==="menu"&&E&&{role:"menuitem"},...u==="select"&&{"aria-autocomplete":"none"},...u==="combobox"&&{"aria-autocomplete":"list"}},[p,g,E,o,d,u]),h=c.useMemo(()=>{const R={id:g,...p&&{role:p}};return p==="tooltip"||u==="label"?R:{...R,...p==="menu"&&{"aria-labelledby":d}}},[p,g,d,u]),x=c.useCallback(R=>{let{active:y,selected:w}=R;const P={role:"option",...y&&{id:g+"-fui-option"}};switch(u){case"select":case"combobox":return{...P,"aria-selected":w}}return{}},[g,u]);return c.useMemo(()=>a?{reference:f,floating:h,item:x}:{},[a,f,h,x])}export{vn as F,ln as a,fn as b,hn as c,pn as d,bn as e,dn as f,gn as g,cn as o,un as s,mn as u};
Binary file
Binary file
Binary file
Binary file
@@ -1 +0,0 @@
1
- import{Y as l,a2 as L,u as T,r as d,j as s,a3 as M,B as m,F as b,a4 as S,ad as E,a5 as p,b0 as g,G as C,X as y,b1 as h}from"./index-DTLwKrFY.js";import{R as N}from"./RemoveDeviceModal-BZeBVqD-.js";import{C as j}from"./CheckboxField-C_Qtx-pp.js";import{I as P}from"./InputField-fj8dQezf.js";const D=l.create(({sourceIdx:o,homeassistantEnabled:a,name:c,renameDevice:u})=>{const r=L(),{t:i}=T(["zigbee","common"]),[t,x]=d.useState(!1),[I,f]=d.useState(c);return d.useEffect(()=>{f(c)},[c]),d.useEffect(()=>{const e=n=>{n.key==="Escape"&&(n.preventDefault(),r.remove())};return window.addEventListener("keydown",e),()=>window.removeEventListener("keydown",e)},[r]),s.jsx(M,{isOpen:r.visible,title:`${i(e=>e.rename_device)} ${c}`,footer:s.jsxs(s.Fragment,{children:[s.jsx(m,{className:"btn btn-neutral",onClick:r.remove,children:i(e=>e.cancel,{ns:"common"})}),s.jsx(m,{className:"btn btn-primary ms-1",onClick:async()=>{r.remove(),await u(o,c,I,t)},children:i(e=>e.rename_device)})]}),children:s.jsxs("div",{className:"flex flex-col gap-2",children:[s.jsx(P,{name:"friendly_name",label:i(e=>e.friendly_name,{ns:"common"}),onChange:e=>f(e.target.value),value:I,type:"text"}),a&&s.jsx(j,{label:i(e=>e.update_Home_assistant_entity_id),name:"update_Home_assistant_entity_id",onChange:e=>x(e.target.checked),checked:t})]})})}),X=d.memo(({sourceIdx:o,name:a,homeassistantEnabled:c,style:u,renameDevice:r})=>{const{t:i}=T("zigbee");return s.jsx(m,{className:`btn ${u}`,onClick:async()=>await l.show(D,{sourceIdx:o,name:a,renameDevice:r,homeassistantEnabled:c}),title:i(t=>t.rename_device),children:s.jsx(b,{icon:S})})});function k({sourceIdx:o,device:a,otaState:c,homeassistantEnabled:u,renameDevice:r,configureDevice:i,interviewDevice:t,removeDevice:x,btnClassName:I=""}){const{t:f}=T(["zigbee","common"]),e=a.interview_state===E.InProgress||a.interview_state===E.Pending||c==="updating";return s.jsxs("div",{className:"join join-horizontal",children:[s.jsx(X,{sourceIdx:o,name:a.friendly_name,renameDevice:r,homeassistantEnabled:u,style:`btn-outline btn-primary join-item btn-square ${I}`}),s.jsx(p,{className:`btn btn-outline btn-warning join-item btn-square ${I}`,onClick:i,item:[o,a.ieee_address],title:f(n=>n.reconfigure),modalDescription:f(n=>n.dialog_confirmation_prompt,{ns:"common"}),modalCancelLabel:f(n=>n.cancel,{ns:"common"}),disabled:e,children:s.jsx(b,{icon:g})}),s.jsx(p,{className:`btn btn-outline btn-info join-item btn-square ${I}`,onClick:t,item:[o,a.ieee_address],title:f(n=>n.interview),modalDescription:f(n=>n.dialog_confirmation_prompt,{ns:"common"}),modalCancelLabel:f(n=>n.cancel,{ns:"common"}),disabled:e,children:s.jsx(b,{icon:C})}),s.jsx(m,{onClick:async()=>await l.show(N,{sourceIdx:o,device:a,removeDevice:x}),className:`btn btn-outline btn-error join-item btn-square ${I}`,title:f(n=>n.remove_device),children:s.jsx(b,{icon:y})})]})}const _=d.memo(o=>{const{t:a}=T("availability"),{availability:c,availabilityFeatureEnabled:u,availabilityEnabledForDevice:r,disabled:i}=o;return i?s.jsx("span",{children:a(t=>t.disabled)}):r??u?s.jsx("span",{className:c==="online"?"text-success":"text-error",children:a(t=>t[c])}):s.jsx("a",{className:"link link-hover",target:"_blank",rel:"noopener noreferrer",href:h,children:a(t=>t.disabled)})}),G=new Map([["00037a","Taiyo Yuden Co., Ltd."],["000425","Atmel Corporation"],["0004a3","Microchip Technology Inc."],["000781","Itron Inc."],["000b57","Silicon Laboratories"],["000d6f","Ember Corporation"],["000e6d","Murata Manufacturing Co., Ltd."],["001237","Texas Instruments"],["00124b","Texas Instruments"],["0012d1","Texas Instruments"],["0012d2","Texas Instruments"],["0012f3","u-blox AG"],["0013e0","Murata Manufacturing Co., Ltd."],["00158d","Jennic Ltd"],["0016a2","CentraLite Systems, Inc."],["001783","Texas Instruments"],["001788","Philips Lighting BV"],["0017e3","Texas Instruments"],["0017e4","Texas Instruments"],["0017e5","Texas Instruments"],["0017e6","Texas Instruments"],["0017e7","Texas Instruments"],["0017e8","Texas Instruments"],["0017e9","Texas Instruments"],["0017ea","Texas Instruments"],["0017eb","Texas Instruments"],["0017ec","Texas Instruments"],["00182f","Texas Instruments"],["001830","Texas Instruments"],["001831","Texas Instruments"],["001832","Texas Instruments"],["001833","Texas Instruments"],["001834","Texas Instruments"],["001ab6","Texas Instruments"],["001ec0","Microchip Technology Inc."],["00212e","dresden-elektronik"],["0021ba","Texas Instruments"],["0021e8","Murata Manufacturing Co., Ltd."],["0021ed","Telegesis"],["002258","Taiyo Yuden Co., Ltd."],["0022a5","Texas Instruments"],["0023d4","Texas Instruments"],["0024ba","Texas Instruments"],["0026e8","Murata Manufacturing Co., Ltd."],["00337a","Tuya Smart Inc."],["0035ff","Texas Instruments"],["00376d","Murata Manufacturing Co., Ltd."],["003c84","Silicon Laboratories"],["004b12","Espressif Inc."],["006037","NXP Semiconductors"],["006057","Murata Manufacturing Co., Ltd."],["007007","Espressif Inc."],["0081f9","Texas Instruments"],["009d6b","Murata Manufacturing Co., Ltd."],["00aafd","Texas Instruments"],["00aefa","Murata Manufacturing Co., Ltd."],["00be44","Silicon Laboratories"],["040d84","Silicon Laboratories"],["042322","Texas Instruments"],["0425e8","Texas Instruments"],["044665","Murata Manufacturing Co., Ltd."],["044707","Texas Instruments"],["0479b7","Texas Instruments"],["048308","Espressif Inc."],["048727","Silicon Laboratories"],["049162","Microchip Technology Inc."],["04a316","Texas Instruments"],["04b247","Espressif Inc."],["04c461","Murata Manufacturing Co., Ltd."],["04cd15","Silicon Laboratories"],["04e3e5","Silicon Laboratories"],["04e451","Texas Instruments"],["04ee03","Texas Instruments"],["080028","Texas Instruments"],["0804b4","Texas Instruments"],["083a8d","Espressif Inc."],["083af2","Espressif Inc."],["086bd7","Silicon Laboratories"],["08736f","EM Microelectronic"],["089272","Espressif Inc."],["08a6f7","Espressif Inc."],["08b61f","Espressif Inc."],["08b95f","Silicon Laboratories"],["08ce94","EM Microelectronic"],["08d1f9","Espressif Inc."],["08d593","Texas Instruments"],["08ddeb","Silicon Laboratories"],["08f9e0","Espressif Inc."],["08fd52","Silicon Laboratories"],["0c0adf","Texas Instruments"],["0c1c57","Texas Instruments"],["0c2a6f","Silicon Laboratories"],["0c4314","Silicon Laboratories"],["0c4bee","Texas Instruments"],["0c4ea0","Espressif Inc."],["0c61cf","Texas Instruments"],["0c802f","Murata Manufacturing Co., Ltd."],["0c8b95","Espressif Inc."],["0cae5f","Silicon Laboratories"],["0cae7d","Texas Instruments"],["0cb2b7","Texas Instruments"],["0cb815","Espressif Inc."],["0cdc7e","Espressif Inc."],["0cec80","Texas Instruments"],["0ceff6","Silicon Laboratories"],["0cf3ee","EM Microelectronic"],["10003b","Espressif Inc."],["10061c","Espressif Inc."],["10082c","Texas Instruments"],["1020ba","Espressif Inc."],["102eaf","Texas Instruments"],["10322c","Murata Manufacturing Co., Ltd."],["1051db","Espressif Inc."],["10521c","Espressif Inc."],["105a17","Tuya Smart Inc."],["1091a8","Espressif Inc."],["1097bd","Espressif Inc."],["1098c3","Murata Manufacturing Co., Ltd."],["109d9c","EM Microelectronic"],["10a5d0","Murata Manufacturing Co., Ltd."],["10b41d","Espressif Inc."],["10bda3","Espressif Inc."],["10cabf","Texas Instruments"],["10cb33","NXP Semiconductors Taiwan Ltd."],["10cea9","Texas Instruments"],["10d561","Tuya Smart Inc."],["10edc8","NXP Semiconductors Taiwan Ltd."],["140808","Espressif Inc."],["142b2f","Espressif Inc."],["142d41","Silicon Laboratories"],["14335c","Espressif Inc."],["1442fc","Texas Instruments"],["144ff0","NXP Semiconductors Taiwan Ltd."],["146393","Espressif Inc."],["147dc5","Murata Manufacturing Co., Ltd."],["147f0f","Texas Instruments"],["149cef","Texas Instruments"],["14b457","Silicon Laboratories"],["14c19f","Espressif Inc."],["1804ed","Texas Instruments"],["180df9","Silicon Laboratories"],["182c65","Texas Instruments"],["183219","EM Microelectronic"],["184516","Texas Instruments"],["1848ca","Murata Manufacturing Co., Ltd."],["1862e4","Texas Instruments"],["18690a","Silicon Laboratories"],["1869d8","Tuya Smart Inc."],["187a3e","Silicon Laboratories"],["188b0e","Espressif Inc."],["1893d7","Texas Instruments"],["18b905","Hong Kong Bouffalo Lab Limited"],["18c23c","Lumi United Technology Co., Ltd"],["18de50","Tuya Smart Inc."],["18fe34","Espressif Inc."],["1c0460","NXP Semiconductors Taiwan Ltd."],["1c34f1","Silicon Laboratories"],["1c4593","Texas Instruments"],["1c6349","Texas Instruments"],["1c6920","Espressif Inc."],["1c7022","Murata Manufacturing Co., Ltd."],["1c784b","Bouffalo Lab (Nanjing) Co., Ltd."],["1c8f57","Espressif Inc."],["1c90ff","Tuya Smart Inc."],["1c994c","Murata Manufacturing Co., Ltd."],["1c9dc2","Espressif Inc."],["1cba8c","Texas Instruments"],["1cc089","Silicon Laboratories"],["1cc3ab","Espressif Inc."],["1cdbd4","Espressif Inc."],["1cdf52","Texas Instruments"],["1ce2cc","Texas Instruments"],["2002af","Murata Manufacturing Co., Ltd."],["200b16","Texas Instruments"],["2043a8","Espressif Inc."],["206ef1","Espressif Inc."],["208bd1","NXP Semiconductor (Tianjin) LTD."],["209148","Texas Instruments"],["209ba9","Espressif Inc."],["20a716","Silicon Laboratories"],["20ba36","u-blox AG"],["20c38f","Texas Instruments"],["20cd39","Texas Instruments"],["20d778","Texas Instruments"],["20e7c8","Espressif Inc."],["20f1b2","Tuya Smart Inc."],["20f83b","Nabu Casa, Inc."],["240ac4","Espressif Inc."],["244cab","Espressif Inc."],["24587c","Espressif Inc."],["2462ab","Espressif Inc."],["246f28","Espressif Inc."],["247189","Texas Instruments"],["247625","Texas Instruments"],["247d4d","Texas Instruments"],["248602","Bouffalo Lab (Nanjing) Co., Ltd."],["249494","Hong Kong Bouffalo Lab Limited"],["249f89","Texas Instruments"],["24a160","Espressif Inc."],["24b2de","Espressif Inc."],["24cd8d","Murata Manufacturing Co., Ltd."],["24d660","Silicon Laboratories"],["24d7eb","Espressif Inc."],["24dcc3","Espressif Inc."],["24ec4a","Espressif Inc."],["24fd5b","SmartThings, Inc."],["2805a5","Espressif Inc."],["28372f","Espressif Inc."],["283c90","Texas Instruments"],["28562f","Espressif Inc."],["286847","Silicon Laboratories"],["287681","Silicon Laboratories"],["288485","Espressif Inc."],["289e1e","Texas Instruments"],["28b5e8","Texas Instruments"],["28bbed","Bouffalo Lab (Nanjing) Co., Ltd."],["28dba7","Silicon Laboratories"],["28ec9a","Texas Instruments"],["2c1165","Silicon Laboratories"],["2c3ae8","Espressif Inc."],["2c4cc6","Murata Manufacturing Co., Ltd."],["2c6b7d","Texas Instruments"],["2ca774","Texas Instruments"],["2cab33","Texas Instruments"],["2cbcbb","Espressif Inc."],["2cd1c6","Murata Manufacturing Co., Ltd."],["2cd3ad","Texas Instruments"],["2cdcc1","EM Microelectronic"],["2cf432","Espressif Inc."],["2cfe8b","Microchip Technologies Inc"],["3030d0","Texas Instruments"],["3030f9","Espressif Inc."],["304511","Texas Instruments"],["30487d","Tuya Smart Inc."],["3076f5","Espressif Inc."],["308398","Espressif Inc."],["30aea4","Espressif Inc."],["30af7e","Texas Instruments"],["30c6f7","Espressif Inc."],["30c922","Espressif Inc."],["30e283","Texas Instruments"],["30eda0","Espressif Inc."],["30fb10","Silicon Laboratories"],["3403de","Texas Instruments"],["3408e1","Texas Instruments"],["34105d","Texas Instruments"],["3410f4","Silicon Laboratories"],["3414b5","Texas Instruments"],["341513","Texas Instruments"],["3425b4","Silicon Laboratories"],["342af1","Texas Instruments"],["343c30","NXP Semiconductor (Tianjin) LTD."],["345b98","EM Microelectronic"],["345f45","Espressif Inc."],["3468b5","Texas Instruments"],["3484e4","Texas Instruments"],["348518","Espressif Inc."],["34865d","Espressif Inc."],["348d13","Silicon Laboratories"],["3490ea","Murata Manufacturing Co., Ltd."],["349454","Espressif Inc."],["34987a","Espressif Inc."],["34ab95","Espressif Inc."],["34b1f7","Texas Instruments"],["34b472","Espressif Inc."],["34b7da","Espressif Inc."],["34c459","Texas Instruments"],["34cdb0","Espressif Inc."],["34e1d7","NXP Semiconductors Taiwan Ltd."],["34ecb6","Phyplus Microelectronics Limited"],["380b3c","Texas Instruments"],["38182b","Espressif Inc."],["381f8d","Tuya Smart Inc."],["382228","Telink Micro LLC"],["382ce5","Tuya Smart Inc."],["38398f","Silicon Laboratories"],["3844be","Espressif Inc."],["385b44","Silicon Laboratories"],["385cfb","Silicon Laboratories"],["3881d7","Texas Instruments"],["38a5c9","Tuya Smart Inc."],["38ab41","Texas Instruments"],["38b9af","NXP Semiconductors Taiwan Ltd."],["38d269","Texas Instruments"],["38e2c4","Texas Instruments"],["3c0b59","Tuya Smart Inc."],["3c0f02","Espressif Inc."],["3c2db7","Texas Instruments"],["3c2ef5","Silicon Laboratories"],["3c6105","Espressif Inc."],["3c71bf","Espressif Inc."],["3c7db1","Texas Instruments"],["3c8427","Espressif Inc."],["3c8a1f","Espressif Inc."],["3ca308","Texas Instruments"],["3cdc75","Espressif Inc."],["3ce002","Texas Instruments"],["3ce064","Texas Instruments"],["3ce4b0","Texas Instruments"],["3ce90e","Espressif Inc."],["400326","NXP Semiconductor (Tianjin) LTD."],["4006a0","Texas Instruments"],["4022d8","Espressif Inc."],["402e71","Texas Instruments"],["403059","Silicon Laboratories"],["403802","Silicon Laboratories"],["404cca","Espressif Inc."],["405fc2","Texas Instruments"],["406918","EM Microelectronic"],["407912","Texas Instruments"],["408432","Microchip Technology Inc."],["409151","Espressif Inc."],["40984e","Texas Instruments"],["40b7fc","Phyplus Microelectronics Limited"],["40bd32","Texas Instruments"],["40eebe","NXP Semiconductor (Tianjin) LTD."],["40f308","Murata Manufacturing Co., Ltd."],["40f3b0","Texas Instruments"],["40f520","Espressif Inc."],["441793","Espressif Inc."],["441bf6","Espressif Inc."],["441d64","Espressif Inc."],["4438f3","EM Microelectronic"],["443e8a","Texas Instruments"],["446b1f","Texas Instruments"],["448346","Texas Instruments"],["4488be","Texas Instruments"],["449160","Murata Manufacturing Co., Ltd."],["449fda","Silicon Laboratories"],["44a7cf","Murata Manufacturing Co., Ltd."],["44b7d0","Microchip Technology Inc."],["44c15c","Texas Instruments"],["44d465","NXP Semiconductors Taiwan Ltd."],["44d5c1","EM Microelectronic"],["44e2f8","Silicon Laboratories"],["44ead8","Texas Instruments"],["44ee14","Texas Instruments"],["4827e2","Espressif Inc."],["4831b7","Espressif Inc."],["483fda","Espressif Inc."],["485519","Espressif Inc."],["48701e","Texas Instruments"],["487706","NXP Semiconductor (Tianjin) LTD."],["48836f","EM Microelectronic"],["48849d","Texas Instruments"],["489d31","Espressif Inc."],["48a3bd","Texas Instruments"],["48a493","TAIYO YUDEN CO.,LTD"],["48ca43","Espressif Inc."],["48e729","Espressif Inc."],["48eb62","Murata Manufacturing Co., Ltd."],["48f6ee","Espressif Inc."],["4c11ae","Espressif Inc."],["4c2498","Texas Instruments"],["4c3fd3","Texas Instruments"],["4c5bb3","Silicon Laboratories"],["4c7525","Espressif Inc."],["4c8237","Telink Micro LLC"],["4c97a1","Silicon Laboratories"],["4ca919","Tuya Smart Inc."],["4cc382","Espressif Inc."],["4cd4b1","NXP Semiconductor (Tianjin) LTD."],["4cda38","Texas Instruments"],["4cebd6","Espressif Inc."],["500291","Espressif Inc."],["5026ef","Murata Manufacturing Co., Ltd."],["50325f","Silicon Laboratories"],["50338b","Texas Instruments"],["5051a9","Texas Instruments"],["505663","Texas Instruments"],["506583","Texas Instruments"],["507224","Texas Instruments"],["50787d","Espressif Inc."],["508a06","Tuya Smart Inc."],["508bb9","Tuya Smart Inc."],["508cb1","Texas Instruments"],["509893","Texas Instruments"],["50c1f0","NXP Semiconductor (Tianjin) LTD."],["50f14a","Texas Instruments"],["50f222","EM Microelectronic"],["540f57","Silicon Laboratories"],["5410ec","Microchip Technology Inc."],["543204","Espressif Inc."],["5443b2","Espressif Inc."],["544538","Texas Instruments"],["544a16","Texas Instruments"],["545aa6","Espressif Inc."],["5464de","u-blox AG"],["546c0e","Texas Instruments"],["547af4","Bouffalo Lab (Nanjing) Co., Ltd."],["547dcd","Texas Instruments"],["54dce9","Silicon Laboratories"],["54ef44","Lumi United Technology Co., Ltd"],["54f82a","u-blox AG"],["54feeb","Texas Instruments"],["58263a","Silicon Laboratories"],["582abd","Espressif Inc."],["582b0a","Texas Instruments"],["58350f","EM Microelectronic"],["583bc2","Silicon Laboratories"],["587a62","Texas Instruments"],["588c81","Espressif Inc."],["588ccf","Silicon Laboratories"],["588e81","Silicon Laboratories"],["5893d8","Texas Instruments"],["58a15f","Texas Instruments"],["58bf25","Espressif Inc."],["58c356","EM Microelectronic"],["58cf79","Espressif Inc."],["58d15a","Texas Instruments"],["58d50a","Murata Manufacturing Co., Ltd."],["58e6c5","Espressif Inc."],["5c013b","Espressif Inc."],["5c0272","Silicon Laboratories"],["5c313e","Texas Instruments"],["5c33b1","EM Microelectronic"],["5c3aa2","Silicon Laboratories"],["5c53b4","EM Microelectronic"],["5c6152","NXP Semiconductor (Tianjin) LTD."],["5c6b32","Texas Instruments"],["5cb260","EM Microelectronic"],["5cc7c1","Silicon Laboratories"],["5ccf7f","Espressif Inc."],["5cdad4","Murata Manufacturing Co., Ltd."],["5cf821","Texas Instruments"],["5cf8a1","Murata Manufacturing Co., Ltd."],["600194","Espressif Inc."],["60045c","NXP Semiconductor (Tianjin) LTD."],["6009c3","u-blox AG"],["6021c0","Murata Manufacturing Co., Ltd."],["602602","Texas Instruments"],["602b58","EM Microelectronic"],["603ffb","Telink Micro LLC"],["6055f9","Espressif Inc."],["606405","Texas Instruments"],["607771","Texas Instruments"],["6083da","Silicon Laboratories"],["608a10","Microchip Technology Inc."],["609866","Texas Instruments"],["60a423","Silicon Laboratories"],["60b647","Silicon Laboratories"],["60b6e1","Texas Instruments"],["60b763","Silicon Laboratories"],["60d877","Phyplus Technology (Shanghai) Co., Ltd"],["60e85b","Texas Instruments"],["60efab","Silicon Laboratories"],["60f189","Murata Manufacturing Co., Ltd."],["64028f","Silicon Laboratories"],["641c10","Texas Instruments"],["6433db","Texas Instruments"],["64694e","Texas Instruments"],["647060","Texas Instruments"],["647bd4","Texas Instruments"],["648cbb","Texas Instruments"],["649b8f","Texas Instruments"],["649c8e","Texas Instruments"],["64b708","Espressif Inc."],["64cfd9","Texas Instruments"],["64e833","Espressif Inc."],["64f54e","EM Microelectronic"],["680947","Espressif Inc."],["680ae2","Silicon Laboratories"],["6823b0","Texas Instruments"],["6825dd","Espressif Inc."],["682719","Microchip Technology Inc."],["684406","Texas Instruments"],["684724","EM Microelectronic"],["684749","Texas Instruments"],["685377","Bouffalo Lab (Nanjing) Co., Ltd."],["68539d","EM Microelectronic"],["68572d","Tuya Smart Inc."],["685e1c","Texas Instruments"],["685edf","NXP Semiconductors Taiwan Ltd."],["686725","Espressif Inc."],["689e19","Texas Instruments"],["68b6b3","Espressif Inc."],["68c63a","Espressif Inc."],["68c90b","Texas Instruments"],["68d976","EM Microelectronic"],["68e74a","Texas Instruments"],["68ec8a","IKEA of Sweden AB"],["68fe71","Espressif Inc."],["6c1aea","Texas Instruments"],["6c1deb","u-blox AG"],["6c302a","Texas Instruments"],["6c5cb1","Silicon Laboratories"],["6c79b8","Texas Instruments"],["6ca042","Silicon Laboratories"],["6cb2fd","Texas Instruments"],["6cb456","Espressif Inc."],["6cc374","Texas Instruments"],["6cc840","Espressif Inc."],["6ce4a4","Silicon Laboratories"],["6ceceb","Texas Instruments"],["6cfd22","Silicon Laboratories"],["70039f","Espressif Inc."],["70041d","Espressif Inc."],["704bca","Espressif Inc."],["705464","Silicon Laboratories"],["707414","Murata Manufacturing Co., Ltd."],["7086c1","Texas Instruments"],["7087a7","Murata Manufacturing Co., Ltd."],["708976","Tuya Smart Inc."],["70ac08","Silicon Laboratories"],["70af09","Espressif Inc."],["70b8f6","Espressif Inc."],["70b950","Texas Instruments"],["70c59c","Silicon Laboratories"],["70d07e","Silicon Laboratories"],["70e56e","Texas Instruments"],["70ff76","Texas Instruments"],["7402e1","Texas Instruments"],["742981","Texas Instruments"],["7446b3","Texas Instruments"],["744dbd","Espressif Inc."],["746a84","Texas Instruments"],["747a90","Murata Manufacturing Co., Ltd."],["7488a8","Bouffalo Lab (Nanjing) Co., Ltd."],["74a58c","Texas Instruments"],["74b839","Texas Instruments"],["74c90f","Microchip Technologies Inc"],["74d285","Texas Instruments"],["74d5c6","Microchip Technologies Inc"],["74d6ea","Texas Instruments"],["74daea","Texas Instruments"],["74dc13","Telink Micro LLC"],["74e182","Texas Instruments"],["780473","Texas Instruments"],["781c3c","Espressif Inc."],["781c9d","Silicon Laboratories"],["782184","Espressif Inc."],["78421c","Espressif Inc."],["784b87","Murata Manufacturing Co., Ltd."],["785f28","EM Microelectronic"],["787871","Texas Instruments"],["78a504","Texas Instruments"],["78c5e5","Texas Instruments"],["78cd55","Texas Instruments"],["78db2f","Texas Instruments"],["78dee4","Texas Instruments"],["78e36d","Espressif Inc."],["78ee4c","Espressif Inc."],["78f505","Murata Manufacturing Co., Ltd."],["7c010a","Texas Instruments"],["7c1779","EM Microelectronic"],["7c2c67","Espressif Inc."],["7c31fa","Silicon Laboratories"],["7c3866","Texas Instruments"],["7c3e82","Bouffalo Lab (Nanjing) Co., Ltd."],["7c669d","Texas Instruments"],["7c72e7","Texas Instruments"],["7c7398","Espressif Inc."],["7c87ce","Espressif Inc."],["7c8ee4","Texas Instruments"],["7c9ebd","Espressif Inc."],["7cb8da","Murata Manufacturing Co., Ltd."],["7cb94c","Bouffalo Lab (Nanjing) Co., Ltd."],["7cc6b6","Silicon Laboratories"],["7cdfa1","Espressif Inc."],["7ce269","Texas Instruments"],["7cec79","Texas Instruments"],["7cf666","Tuya Smart Inc."],["801f12","Microchip Technology Inc."],["8030dc","Texas Instruments"],["803428","Microchip Technology Inc."],["804b50","Silicon Laboratories"],["804c5d","NXP Semiconductor (Tianjin) LTD."],["80646f","Espressif Inc."],["80647c","Tuya Smart Inc."],["806559","EM Microelectronic"],["806599","Espressif Inc."],["806a34","Bouffalo Lab (Nanjing) Co., Ltd."],["806fb0","Texas Instruments"],["807d3a","Espressif Inc."],["80999b","Murata Manufacturing Co., Ltd."],["80a197","u-blox AG"],["80acc8","Phyplus Microelectronics Limited"],["80b54e","Espressif Inc."],["80c41b","Texas Instruments"],["80f1b2","Espressif Inc."],["80f3da","Espressif Inc."],["80f5b5","Texas Instruments"],["840d8e","Espressif Inc."],["841fe8","Espressif Inc."],["842712","Silicon Laboratories"],["842e14","Silicon Laboratories"],["847127","Silicon Laboratories"],["847293","Texas Instruments"],["847e40","Texas Instruments"],["849690","Murata Manufacturing Co., Ltd."],["84b4db","Silicon Laboratories"],["84ba20","Silicon Laboratories"],["84bb26","Texas Instruments"],["84c692","Texas Instruments"],["84cb85","EM Microelectronic"],["84cca8","Espressif Inc."],["84dd20","Texas Instruments"],["84e342","Tuya Smart Inc."],["84e585","EM Microelectronic"],["84eb18","Texas Instruments"],["84f1f7","NXP Semiconductor (Tianjin) LTD."],["84f3eb","Espressif Inc."],["84f703","Espressif Inc."],["84fce6","Espressif Inc."],["84fd27","Silicon Laboratories"],["8801f9","Texas Instruments"],["880ce0","Texas Instruments"],["880f62","Silicon Laboratories"],["8813bf","Espressif Inc."],["881a14","Silicon Laboratories"],["88308a","Murata Manufacturing Co., Ltd."],["883314","Texas Instruments"],["883f4a","Texas Instruments"],["884aea","Texas Instruments"],["88546b","Texas Instruments"],["8856a6","Espressif Inc."],["885721","Espressif Inc."],["888c1b","EM Microelectronic"],["88ba74","Silicon Laboratories"],["88c255","Texas Instruments"],["88cfcd","Texas Instruments"],["88f155","Espressif Inc."],["8c0879","Texas Instruments"],["8c4500","Murata Manufacturing Co., Ltd."],["8c4b14","Espressif Inc."],["8c4f00","Espressif Inc."],["8c6120","EM Microelectronic"],["8c65a3","Silicon Laboratories"],["8c6fb9","Silicon Laboratories"],["8c7112","Microchip Technologies Inc"],["8c73da","Silicon Laboratories"],["8c8b48","Silicon Laboratories"],["8c8b83","Texas Instruments"],["8c8c29","Espressif Inc."],["8c94df","Espressif Inc."],["8caab5","Espressif Inc."],["8cbfea","Espressif Inc."],["8ccd55","EM Microelectronic"],["8cce4e","Espressif Inc."],["8cd066","Texas Instruments"],["8cd54a","TAIYO YUDEN CO.,LTD"],["8cd67f","EM Microelectronic"],["8cf681","Silicon Laboratories"],["8cfd49","Espressif Inc."],["9006f2","Texas Instruments"],["901506","Espressif Inc."],["901a4f","EM Microelectronic"],["901f09","Silicon Laboratories"],["9035ea","Silicon Laboratories"],["90380c","Espressif Inc."],["90395e","Silicon Laboratories"],["904846","Texas Instruments"],["9059af","Texas Instruments"],["90649b","Espressif Inc."],["906560","EM Microelectronic"],["907065","Texas Instruments"],["907069","Espressif Inc."],["907bc6","Texas Instruments"],["9097d5","Espressif Inc."],["909a77","Texas Instruments"],["90a7bf","EM Microelectronic"],["90ab96","Silicon Laboratories"],["90b686","Murata Manufacturing Co., Ltd."],["90ceb8","Texas Instruments"],["90d7eb","Texas Instruments"],["90e202","Texas Instruments"],["90e5b1","Espressif Inc."],["90f861","u-blox AG"],["90fd9f","Silicon Laboratories"],["940bfa","EM Microelectronic"],["940e2a","NXP Semiconductors Taiwan Ltd."],["943469","Silicon Laboratories"],["943cc6","Espressif Inc."],["945044","Texas Instruments"],["9451dc","Espressif Inc."],["9454c5","Espressif Inc."],["946c04","EM Microelectronic"],["948854","Texas Instruments"],["94a081","Silicon Laboratories"],["94a990","Espressif Inc."],["94a9a8","Texas Instruments"],["94b216","Silicon Laboratories"],["94b555","Espressif Inc."],["94b97e","Espressif Inc."],["94deb8","Silicon Laboratories"],["94e36d","Texas Instruments"],["94e686","Espressif Inc."],["94ec32","Silicon Laboratories"],["98038a","Texas Instruments"],["98072d","Texas Instruments"],["980c33","Silicon Laboratories"],["983268","Silicon Laboratories"],["983dae","Espressif Inc."],["985945","Texas Instruments"],["985dad","Texas Instruments"],["987596","EM Microelectronic"],["987bf3","Texas Instruments"],["9884e3","Texas Instruments"],["9888e0","Espressif Inc."],["988924","Texas Instruments"],["98a316","Espressif Inc."],["98cdac","Espressif Inc."],["98e7d5","NXP Semiconductor (Tianjin) LTD."],["98f07b","Texas Instruments"],["98f170","Murata Manufacturing Co., Ltd."],["98f487","Texas Instruments"],["98f4ab","Espressif Inc."],["9c139e","Espressif Inc."],["9c1d58","Texas Instruments"],["9c2410","Bouffalo Lab (Nanjing) Co., Ltd."],["9c50d1","Murata Manufacturing Co., Ltd."],["9c956e","Microchip Technology Inc."],["9c9c1f","Espressif Inc."],["9c9e6e","Espressif Inc."],["9ccc01","Espressif Inc."],["9cdfb3","NXP Semiconductor (Tianjin) LTD."],["a020a6","Espressif Inc."],["a06c65","Texas Instruments"],["a0764e","Espressif Inc."],["a07e16","EM Microelectronic"],["a085e3","Espressif Inc."],["a09208","Tuya Smart Inc."],["a0a3b3","Espressif Inc."],["a0b765","Espressif Inc."],["a0c9a0","Murata Manufacturing Co., Ltd."],["a0cc2b","Murata Manufacturing Co., Ltd."],["a0cdf3","Murata Manufacturing Co., Ltd."],["a0d91a","Texas Instruments"],["a0dd6c","Espressif Inc."],["a0e6f8","Texas Instruments"],["a0f262","Espressif Inc."],["a0f6fd","Texas Instruments"],["a405fd","Bouffalo Lab (Nanjing) Co., Ltd."],["a406e9","Texas Instruments"],["a408ea","Murata Manufacturing Co., Ltd."],["a434f1","Texas Instruments"],["a459bf","Silicon Laboratories"],["a45c25","Texas Instruments"],["a46d33","Phyplus Technology (Shanghai) Co., Ltd"],["a46dd4","Silicon Laboratories"],["a47b9d","Espressif Inc."],["a47e36","EM Microelectronic"],["a49e69","Silicon Laboratories"],["a4b0f5","Texas Instruments"],["a4c138","Telink Semiconductor (Taipei) Co. Ltd."],["a4c34e","Texas Instruments"],["a4cb8f","Espressif Inc."],["a4cf12","Espressif Inc."],["a4d578","Texas Instruments"],["a4da32","Texas Instruments"],["a4e57c","Espressif Inc."],["a4f00f","Espressif Inc."],["a8032a","Espressif Inc."],["a81087","Texas Instruments"],["a81710","Bouffalo Lab (Nanjing) Co., Ltd."],["a81b6a","Texas Instruments"],["a842e3","Espressif Inc."],["a84674","Espressif Inc."],["a848fa","Espressif Inc."],["a861ec","Texas Instruments"],["a863f2","Texas Instruments"],["a88055","Tuya Smart Inc."],["a8e2c1","Texas Instruments"],["a8e77d","Texas Instruments"],["a8f8c9","NXP Semiconductor (Tianjin) LTD."],["ac0bfb","Espressif Inc."],["ac1518","Espressif Inc."],["ac1f0f","Texas Instruments"],["ac276e","Espressif Inc."],["ac3b96","NXP Semiconductor (Tianjin) LTD."],["ac3fa4","TAIYO YUDEN CO.,LTD"],["ac4d16","Texas Instruments"],["ac5c80","Telink Micro LLC"],["ac67b2","Espressif Inc."],["ac9a22","NXP Semiconductors"],["aca704","Espressif Inc."],["acd074","Espressif Inc."],["acd829","Bouffalo Lab (Nanjing) Co., Ltd."],["acebe6","Espressif Inc."],["acf932","NXP Semiconductor (Tianjin) LTD."],["acfce3","EM Microelectronic"],["b010a0","Texas Instruments"],["b05246","NXP Semiconductor (Tianjin) LTD."],["b0653a","Murata Manufacturing Co., Ltd."],["b072bf","Murata Manufacturing Co., Ltd."],["b07e11","Texas Instruments"],["b08184","Espressif Inc."],["b09122","Texas Instruments"],["b09501","EM Microelectronic"],["b0a604","Espressif Inc."],["b0a732","Espressif Inc."],["b0b113","Texas Instruments"],["b0b21c","Espressif Inc."],["b0b448","Texas Instruments"],["b0c7de","Silicon Laboratories"],["b0cbd8","Espressif Inc."],["b0d278","Texas Instruments"],["b0d5cc","Texas Instruments"],["b0e8e8","Silicon Laboratories"],["b0fa91","EM Microelectronic"],["b40ecf","Bouffalo Lab (Nanjing) Co., Ltd."],["b4107b","Texas Instruments"],["b42330","Itron Inc"],["b43522","Silicon Laboratories"],["b43a31","Silicon Laboratories"],["b43a45","Espressif Inc."],["b43d6b","NXP Semiconductor (Tianjin) LTD."],["b452a9","Texas Instruments"],["b48931","Silicon Laboratories"],["b48a0a","Espressif Inc."],["b4994c","Texas Instruments"],["b4ac9d","Texas Instruments"],["b4bc7c","Texas Instruments"],["b4bfe9","Espressif Inc."],["b4c2e0","Bouffalo Lab (Nanjing) Co., Ltd."],["b4e3f9","Silicon Laboratories"],["b4e62d","Espressif Inc."],["b4e842","Hong Kong Bouffalo Lab Limited"],["b4eed4","Texas Instruments"],["b8060d","Tuya Smart Inc."],["b83df6","Texas Instruments"],["b83dfb","Bouffalo Lab (Nanjing) Co., Ltd."],["b848aa","EM Microelectronic"],["b8804f","Texas Instruments"],["b894d9","Texas Instruments"],["b8d61a","Espressif Inc."],["b8d7af","Murata Manufacturing Co., Ltd."],["b8f009","Espressif Inc."],["b8f44f","u-blox AG"],["b8f862","Espressif Inc."],["b8fffe","Texas Instruments"],["bc026e","Silicon Laboratories"],["bc0da5","Texas Instruments"],["bc33ac","Silicon Laboratories"],["bc351e","Tuya Smart Inc."],["bc6a29","Texas Instruments"],["bc6e6d","EM Microelectronic"],["bc8d7e","Silicon Laboratories"],["bc9d37","Telink Micro LLC"],["bcb4fd","NXP Semiconductor (Tianjin) LTD."],["bcddc2","Espressif Inc."],["bcf212","Telink Micro LLC"],["bcff4d","Espressif Inc."],["c02ced","Silicon Laboratories"],["c049bd","EM Microelectronic"],["c049ef","Espressif Inc."],["c04a0e","Texas Instruments"],["c04e30","Espressif Inc."],["c05d89","Espressif Inc."],["c06380","Texas Instruments"],["c09b9e","Silicon Laboratories"],["c0a3c7","Telink Micro LLC"],["c0cdd6","Espressif Inc."],["c0d063","EM Microelectronic"],["c0d60a","Texas Instruments"],["c0e422","Texas Instruments"],["c0f853","Tuya Smart Inc."],["c4224e","Telink Micro LLC"],["c42996","Signify B.V."],["c44f33","Espressif Inc."],["c45746","Texas Instruments"],["c45bbe","Espressif Inc."],["c464e3","Texas Instruments"],["c47da8","NXP Semiconductor (Tianjin) LTD."],["c482e1","Tuya Smart Inc."],["c4ac59","Murata Manufacturing Co., Ltd."],["c4be84","Texas Instruments"],["c4d36a","Texas Instruments"],["c4d7fd","Bouffalo Lab (Nanjing) Co., Ltd."],["c4d8c8","Silicon Laboratories"],["c4d8d5","Espressif Inc."],["c4dd57","Espressif Inc."],["c4dee2","Espressif Inc."],["c4edba","Texas Instruments"],["c4f312","Texas Instruments"],["c82b96","Espressif Inc."],["c82e18","Espressif Inc."],["c83e99","Texas Instruments"],["c890a8","Bouffalo Lab (Nanjing) Co., Ltd."],["c8a030","Texas Instruments"],["c8c83f","Texas Instruments"],["c8c9a3","Espressif Inc."],["c8df84","Texas Instruments"],["c8e713","Bouffalo Lab (Nanjing) Co., Ltd."],["c8f09e","Espressif Inc."],["c8f225","EM Microelectronic"],["c8fd19","Texas Instruments"],["cc037b","Texas Instruments"],["cc22df","EM Microelectronic"],["cc3331","Texas Instruments"],["cc36bb","Silicon Laboratories"],["cc45a5","Texas Instruments"],["cc50e3","Espressif Inc."],["cc78ab","Texas Instruments"],["cc7b5c","Espressif Inc."],["cc86ec","Silicon Laboratories"],["cc8cbf","Tuya Smart Inc."],["cc8ce3","Texas Instruments"],["cc8da2","Espressif Inc."],["ccb54c","Texas Instruments"],["ccba97","Espressif Inc."],["ccc079","Murata Manufacturing Co., Ltd."],["cccccc","Silicon Laboratories"],["ccdab5","Texas Instruments"],["ccdba7","Espressif Inc."],["ccf957","u-blox AG"],["d003eb","Texas Instruments"],["d00790","Texas Instruments"],["d00b27","Murata Manufacturing Co., Ltd."],["d01769","Murata Manufacturing Co., Ltd."],["d02eab","Texas Instruments"],["d035e5","EM Microelectronic"],["d03761","Texas Instruments"],["d03972","Texas Instruments"],["d040ef","Murata Manufacturing Co., Ltd."],["d05fb8","Texas Instruments"],["d08cb5","Texas Instruments"],["d0a9d3","EM Microelectronic"],["d0ab4a","Telink Micro LLC"],["d0b5c2","Texas Instruments"],["d0cf13","Espressif Inc."],["d0e44a","Murata Manufacturing Co., Ltd."],["d0ef76","Espressif Inc."],["d0ff50","Texas Instruments"],["d4060f","Texas Instruments"],["d419f6","NXP Semiconductor (Tianjin) LTD."],["d43639","Texas Instruments"],["d44867","Silicon Laboratories"],["d44b5e","TAIYO YUDEN CO., LTD."],["d44da4","Murata Manufacturing Co., Ltd."],["d45383","Murata Manufacturing Co., Ltd."],["d48afc","Espressif Inc."],["d48c49","Espressif Inc."],["d494a1","Texas Instruments"],["d4a651","Tuya Smart Inc."],["d4ca6e","u-blox AG"],["d4d4da","Espressif Inc."],["d4e95e","Texas Instruments"],["d4e9f4","Espressif Inc."],["d4f513","Texas Instruments"],["d4f98d","Espressif Inc."],["d4fe28","Silicon Laboratories"],["d81068","Murata Manufacturing Co., Ltd."],["d8132a","Espressif Inc."],["d81d13","Texas Instruments"],["d81f12","Tuya Smart Inc."],["d83bda","Espressif Inc."],["d8478f","Microchip Technology Inc."],["d852fa","Texas Instruments"],["d8543a","Texas Instruments"],["d8714d","Texas Instruments"],["d878f0","Silicon Laboratories"],["d87a3b","Silicon Laboratories"],["d88039","Microchip Technology Inc."],["d885ac","Espressif Inc."],["d8952f","Texas Instruments"],["d8a01d","Espressif Inc."],["d8a98b","Texas Instruments"],["d8b673","Texas Instruments"],["d8bc38","Espressif Inc."],["d8bfc0","Espressif Inc."],["d8c46a","Murata Manufacturing Co., Ltd."],["d8c80c","Tuya Smart Inc."],["d8d668","Tuya Smart Inc."],["d8ddfd","Texas Instruments"],["d8f15b","Espressif Inc."],["d8f760","EM Microelectronic"],["d8fc92","Tuya Smart Inc."],["dc0675","Espressif Inc."],["dc1ed5","Espressif Inc."],["dc4f22","Espressif Inc."],["dc5475","Espressif Inc."],["dc8e95","Silicon Laboratories"],["dc9b95","Phyplus Technology (Shanghai) Co., Ltd"],["dcb4d9","Espressif Inc."],["dcbe04","Texas Instruments"],["dccd66","NXP Semiconductor (Tianjin) LTD."],["dcda0c","Espressif Inc."],["dcdee3","Texas Instruments"],["dcefca","Murata Manufacturing Co., Ltd."],["dcf31c","Texas Instruments"],["dcfe23","Murata Manufacturing Co., Ltd."],["e0189f","EM Microelectronic"],["e0315d","EM Microelectronic"],["e05124","NXP Semiconductors"],["e05a1b","Espressif Inc."],["e06234","Texas Instruments"],["e068ee","Phyplus Microelectronics Limited"],["e07291","Silicon Laboratories"],["e072a1","Espressif Inc."],["e0798d","Silicon Laboratories"],["e07dea","Texas Instruments"],["e08cfe","Espressif Inc."],["e0928f","Texas Instruments"],["e09806","Espressif Inc."],["e0c79d","Texas Instruments"],["e0d7ba","Texas Instruments"],["e0def2","Texas Instruments"],["e0e2e6","Espressif Inc."],["e0e5cf","Texas Instruments"],["e0fff1","Texas Instruments"],["e406bf","Silicon Laboratories"],["e415f6","Texas Instruments"],["e4521e","Texas Instruments"],["e456ac","Silicon Laboratories"],["e45d39","Texas Instruments"],["e46447","EM Microelectronic"],["e465b8","Espressif Inc."],["e498bb","Phyplus Microelectronics Limited"],["e4aee4","Tuya Smart Inc."],["e4b063","Espressif Inc."],["e4b323","Espressif Inc."],["e4e112","Texas Instruments"],["e4fa5b","Texas Instruments"],["e80690","Espressif Inc."],["e831cd","Espressif Inc."],["e83dc1","Espressif Inc."],["e84f25","Murata Manufacturing Co., Ltd."],["e868e7","Espressif Inc."],["e86bea","Espressif Inc."],["e89f6d","Espressif Inc."],["e8b527","Phyplus Technology (Shanghai) Co., Ltd"],["e8ca50","Bouffalo Lab (Nanjing) Co., Ltd."],["e8db84","Espressif Inc."],["e8e07e","Silicon Laboratories"],["e8e8b7","Murata Manufacturing Co., Ltd."],["e8eb11","Texas Instruments"],["e8eb1b","Microchip Technology Inc."],["e8f60a","Espressif Inc."],["ec09c9","Texas Instruments"],["ec1127","Texas Instruments"],["ec1bbd","Silicon Laboratories"],["ec1bfa","EM Microelectronic"],["ec24b8","Texas Instruments"],["ec3baf","EM Microelectronic"],["ec5c84","Murata Manufacturing Co., Ltd."],["ec6260","Espressif Inc."],["ec64c9","Espressif Inc."],["ec94cb","Espressif Inc."],["ec9a34","Texas Instruments"],["ecb0d2","EM Microelectronic"],["ecb5fa","Philips Lighting BV"],["ecbfd0","Texas Instruments"],["ecc9ff","Espressif Inc."],["ecda3b","Espressif Inc."],["ece334","Espressif Inc."],["ecf64c","Silicon Laboratories"],["ecfabc","Espressif Inc."],["f008d1","Espressif Inc."],["f010a5","Texas Instruments"],["f0161d","Espressif Inc."],["f024f9","Espressif Inc."],["f02765","Murata Manufacturing Co., Ltd."],["f03e05","Murata Manufacturing Co., Ltd."],["f044d3","Silicon Laboratories"],["f045da","Texas Instruments"],["f05ecd","Texas Instruments"],["f06d93","EM Microelectronic"],["f074bf","Silicon Laboratories"],["f082c0","Silicon Laboratories"],["f0866f","EM Microelectronic"],["f09e9e","Espressif Inc."],["f0b5d1","Texas Instruments"],["f0c77f","Texas Instruments"],["f0d1b8","LEDVANCE"],["f0f5bd","Espressif Inc."],["f0f8f2","Texas Instruments"],["f0fd45","Silicon Laboratories"],["f4063c","Texas Instruments"],["f412fa","Espressif Inc."],["f42dc9","Espressif Inc."],["f44250","Bouffalo Lab (Nanjing) Co., Ltd."],["f45eab","Texas Instruments"],["f46077","Texas Instruments"],["f4635a","NXP Semiconductor (Tianjin) LTD."],["f4650b","Espressif Inc."],["f46ed6","EM Microelectronic"],["f4844c","Texas Instruments"],["f4b3b1","Silicon Laboratories"],["f4b85e","Texas Instruments"],["f4b898","Texas Instruments"],["f4ce36","Nordic Semiconductor ASA"],["f4cfa2","Espressif Inc."],["f4e11e","Texas Instruments"],["f4fbf5","EM Microelectronic"],["f4fc32","Texas Instruments"],["f80584","EM Microelectronic"],["f8172d","Tuya Smart Inc."],["f82e0c","Texas Instruments"],["f83002","Texas Instruments"],["f83331","Texas Instruments"],["f8369b","Texas Instruments"],["f84477","Silicon Laboratories"],["f85548","Texas Instruments"],["f85b1b","Espressif Inc."],["f88a5e","Texas Instruments"],["f8916f","Texas Instruments"],["f8b3b7","Espressif Inc."],["f8fb90","Texas Instruments"],["fc012c","Espressif Inc."],["fc0f4b","Texas Instruments"],["fc0fe7","Microchip Technology Inc."],["fc13f0","Bouffalo Lab (Nanjing) Co., Ltd."],["fc268c","Signify B.V."],["fc3cd7","Tuya Smart Inc."],["fc45c3","Texas Instruments"],["fc4d6a","Silicon Laboratories"],["fc671f","Tuya Smart Inc."],["fc6947","Texas Instruments"],["fc84a7","Murata Manufacturing Co., Ltd."],["fc8fa4","NXP Semiconductors Taiwan Ltd."],["fc963e","EM Microelectronic"],["fca89b","Texas Instruments"],["fcb467","Espressif Inc."],["fcc23d","Atmel Corporation"],["fcc2de","Murata Manufacturing Co., Ltd."],["fccf9f","EM Microelectronic"],["fcdbb3","Murata Manufacturing Co., Ltd."],["fcdec5","Texas Instruments"],["fce8c0","Espressif Inc."],["fcf5c4","Espressif Inc."]]);export{_ as A,k as D,G as O,X as a};
Binary file
@@ -1 +0,0 @@
1
- import{aQ as u}from"./index-DTLwKrFY.js";import{r as C}from"./_createCompounder-Jh3GrmJ6.js";var e,r;function i(){if(r)return e;r=1;var a=C(),s=a(function(o,n,t){return o+(t?"_":"")+n.toLowerCase()});return e=s,e}var m=i();const k=u(m);export{k as s};
@@ -1 +0,0 @@
1
- import{r as d,ab as Ze,j as N}from"./index-DTLwKrFY.js";var et=Object.defineProperty,tt=(t,e,n)=>e in t?et(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,T=(t,e,n)=>tt(t,typeof e!="symbol"?e+"":e,n);class ye{constructor(e=new Map){this.map=e}clone(){return new ye(new Map(this.map))}decrement(e,n){let r=this.map.get(e);r!==void 0&&(r-=1,this.map.set(e,r),r===0&&n())}increment(e){const n=this.map.get(e)??0;this.map.set(e,n+1)}}class te{constructor(){T(this,"map",new Map)}delete(e){return this.map.delete(e)}get(e){return this.map.get(e)}getOrCreate(e){let n=this.map.get(e);return n===void 0&&(n=new Set,this.map.set(e,n)),n}use(e,n){const r=this.get(e);r!==void 0&&n(r)}}function z(t,e){return e(t),t}function Te(){}const ke="cell",nt="signal";function Oe(t,e){return t===e}const fe=new Map;let G;class rt{constructor(e={}){T(this,"definitionRegistry",new Set),T(this,"distinctNodes",new Map),T(this,"executionMaps",new Map),T(this,"graph",new te),T(this,"pipeMap",new Map),T(this,"singletonSubscriptions",new Map),T(this,"state",new Map),T(this,"subscriptions",new te);for(const n of Object.getOwnPropertySymbols(e))this.state.set(n,e[n])}cellInstance(e,n=!0,r=Symbol()){return this.state.has(r)||this.state.set(r,e),n!==!1&&!this.distinctNodes.has(r)&&this.distinctNodes.set(r,n===!0?Oe:n),r}changeWith(e,n,r){this.connect({map:s=>(i,o)=>{s(r(o,i))},pulls:[e],sink:e,sources:[n]})}combine(...e){return z(this.signalInstance(),n=>{this.connect({map:r=>(...s)=>{r(s)},sink:n,sources:e})})}combineCells(...e){return z(this.cellInstance(e.map(n=>this.getValue(n)),!0),n=>{this.connect({map:r=>(...s)=>{r(s)},sink:n,sources:e})})}connect({map:e,pulls:n=[],sink:r,sources:s}){const i={map:e,pulls:new Set(n),sink:this.register(r),sources:new Set(s)};for(const o of[...s,...n])this.register(o),this.graph.getOrCreate(o).add(i);this.executionMaps.clear()}getValue(e){return this.register(e),this.state.get(e)}getValues(e){return e.map(n=>this.getValue(n))}inContext(e){const n=G;G=this;const r=e();return G=n,r}link(e,n){this.connect({map:r=>s=>{r(s)},sink:n,sources:[e]})}pipe(e,...n){return this.combineOperators(...n)(e)}pub(e,n){this.pubIn({[e]:n})}pubIn(e){var n;const r=Reflect.ownKeys(e).map(p=>this.pipeMap.get(p)??p),s=Reflect.ownKeys(e).reduce((p,f)=>{const v=f,C=e[v],a=this.pipeMap.get(v)??v;return p[a]=C,p},{}),i=this.getExecutionMap(r),o=i.refCount.clone(),u=i.participatingNodes.slice(),l=new Map(this.state),c=p=>{this.graph.use(p,f=>{for(const{sink:v,sources:C}of f)C.has(p)&&o.decrement(v,()=>{u.splice(u.indexOf(v),1),c(v)})})};for(;;){const p=u.shift();if(p===void 0)break;const f=p;let v=!1;const C=a=>{const h=this.distinctNodes.get(f);if(h!=null&&h(l.get(f),a)){v=!1;return}v=!0,l.set(f,a),this.state.has(f)&&this.state.set(f,a)};if(Object.hasOwn(s,f)?C(s[f]):i.projections.use(f,a=>{for(const h of a){const m=[...Array.from(h.sources),...Array.from(h.pulls)].map(M=>l.get(M));h.map(C)(...m)}}),v){const a=l.get(f);this.inContext(()=>{this.subscriptions.use(f,h=>{for(const m of h)m(a)})}),(n=this.singletonSubscriptions.get(f))==null||n(a)}else c(f)}}register(e){const n=fe.get(e);if(n===void 0)return e;if(!this.definitionRegistry.has(e)){if(this.definitionRegistry.add(e),n.type===ke)return z(this.cellInstance(n.initial,n.distinct,e),o=>{this.inContext(()=>{n.init(this,o)})});if(n.type===nt)return z(this.signalInstance(n.distinct,e),o=>{this.inContext(()=>{n.init(this,o)})});const r=this.signalInstance(n.distinct),s=this.cellInstance(n.initial,!0),i=this.cellInstance(n.initial,n.distinct,e);return this.link(s,i),this.pipeMap.set(i,r),this.inContext(()=>{n.init(this,r,s)}),i}return e}resetSingletonSubs(){this.singletonSubscriptions.clear()}signalInstance(e=!0,n=Symbol()){return e!==!1&&this.distinctNodes.set(n,e===!0?Oe:e),n}singletonSub(e,n){return this.register(e),n===void 0?this.singletonSubscriptions.delete(e):this.singletonSubscriptions.set(e,n),()=>this.singletonSubscriptions.delete(e)}sub(e,n){this.register(e);const r=this.subscriptions.getOrCreate(e);return r.add(n),()=>r.delete(n)}subMultiple(e,n){const r=this.signalInstance();return this.connect({map:s=>(...i)=>{s(i)},sink:r,sources:e}),this.sub(r,n)}transformer(...e){return n=>z(this.signalInstance(),r=>(this.link(this.pipe(r,...e),n),r))}calculateExecutionMap(e){const n=[],r=new Set,s=new te,i=new ye,o=new te,u=(l,c=0)=>{i.increment(l),!r.has(l)&&(this.register(l),s.use(l,p=>{c=Math.max(...Array.from(p).map(f=>n.indexOf(f)))+1}),this.graph.use(l,p=>{for(const f of p)f.sources.has(l)?(o.getOrCreate(f.sink).add(f),u(f.sink,c)):s.getOrCreate(f.sink).add(l)}),r.add(l),n.splice(c,0,l))};return e.forEach(u),{participatingNodes:n,pendingPulls:s,projections:o,refCount:i}}combineOperators(...e){return n=>{for(const r of e)n=r(n,this);return n}}getExecutionMap(e){let n=e;if(e.length===1){n=e[0];const s=this.executionMaps.get(n);if(s!==void 0)return s}else for(const[s,i]of this.executionMaps.entries())if(Array.isArray(s)&&s.length===e.length&&s.every(o=>e.includes(o)))return i;const r=this.calculateExecutionMap(e);return this.executionMaps.set(n,r),r}}function I(t,e=Te,n=!0){return z(Symbol(),r=>{fe.set(r,{distinct:n,init:e,initial:t,type:ke})})}function O(t,e,n=!0){return z(Symbol(),r=>{fe.set(r,{distinct:n,init:(s,i)=>{s.link(e(s,i),i)},initial:t,type:ke})})}function Ve(t=Te,e=!1){return z(Symbol(),n=>{fe.set(n,{distinct:e,init:t,type:"signal"})})}function _(){if(!G)throw new Error("This function must be called within a realm instance");return G}const Ce=(t,e)=>{_().link(t,e)},st=(...t)=>{_().pub(...t)},it=(...t)=>_().sub(...t),E=(...t)=>_().pipe(...t),ze=(...t)=>{_().changeWith(...t)},Me=(...t)=>_().combine(...t),je=d.createContext(null),ot=typeof document<"u"?d.useLayoutEffect:d.useEffect;function he(){const t=d.useContext(je);if(t===null)throw new Error("useRealm must be used within a RealmContextProvider");return t}function ut(t){const e=he();e.register(t);const n=d.useCallback(r=>e.sub(t,r),[e,t]);return d.useSyncExternalStore(n,()=>e.getValue(t),()=>e.getValue(t))}function lt(t){const e=he();e.register(t);const[n,r]=d.useState(()=>e.getValue(t));return ot(()=>{const s=e.sub(t,()=>{r(()=>e.getValue(t))});return()=>{s()}},[e,t]),n}const Ae="useSyncExternalStore"in Ze?ut:lt;function ct(...t){const e=he(),n=d.useMemo(()=>e.combineCells(...t),[e,...t]);return Ae(n)}function S(t){return((e,n)=>{const r=n.signalInstance();return n.connect({map:s=>i=>{s(t(i))},sink:r,sources:[e]}),r})}function Ee(...t){return((e,n)=>{const r=n.signalInstance();return n.connect({map:s=>(...i)=>{s(i)},pulls:t,sink:r,sources:[e]}),r})}function $e(t){return(e,n)=>{const r=n.signalInstance();return n.connect({map:s=>i=>{t(i)&&s(i)},sink:r,sources:[e]}),r}}function He(t,e){return(n,r)=>{const s=r.signalInstance();return r.connect({map:i=>o=>{i(e=t(e,o))},sink:s,sources:[n]}),s}}const Be=({index:t})=>N.jsxs("div",{children:["Item ",t]}),Pe=I(Be),U=I(0),ve=I(null),ie=I(null,()=>{Ce(E(ie,$e(t=>t!==null),S(t=>t.length)),U)}),re=I(0),xe=I(0),at=I(0),ne=I(0),oe=I(0),q=I(!1),ft=O(0,()=>E(Me(xe,q,oe),S(([t,e,n])=>e?t-Math.max(n,0):t))),J={lvl:0};function Fe(t,e,n,r=J,s=J){return{k:t,l:r,lvl:n,r:s,v:e}}function g(t){return t===J}function ue(){return J}function be(t,e){if(g(t))return J;const{k:n,l:r,r:s}=t;if(e===n){if(g(r))return s;if(g(s))return r;const[i,o]=Le(r);return se(x(t,{k:i,l:We(r),v:o}))}return e<n?se(x(t,{l:be(r,e)})):se(x(t,{r:be(s,e)}))}function Q(t,e,n="k"){if(g(t))return[Number.NEGATIVE_INFINITY,void 0];if(t[n]===e)return[t.k,t.v];if(t[n]<e){const r=Q(t.r,e,n);return r[0]===Number.NEGATIVE_INFINITY?[t.k,t.v]:r}return Q(t.l,e,n)}function P(t,e,n){return g(t)?Fe(e,n,1):e===t.k?x(t,{k:e,v:n}):e<t.k?Re(x(t,{l:P(t.l,e,n)})):Re(x(t,{r:P(t.r,e,n)}))}function we(t,e,n){if(g(t))return[];const{k:r,l:s,r:i,v:o}=t;let u=[];return r>e&&(u=u.concat(we(s,e,n))),r>=e&&r<=n&&u.push({k:r,v:o}),r<=n&&(u=u.concat(we(i,e,n))),u}function Le(t){return g(t.r)?[t.k,t.v]:Le(t.r)}function We(t){return g(t.r)?t.l:se(x(t,{r:We(t.r)}))}function x(t,e){return Fe(e.k??t.k,e.v??t.v,e.lvl??t.lvl,e.l??t.l,e.r??t.r)}function ge(t){return g(t)||t.lvl>t.r.lvl}function Re(t){return Ie(De(t))}function se(t){const{l:e,lvl:n,r}=t;if(r.lvl>=n-1&&e.lvl>=n-1)return t;if(n>r.lvl+1){if(ge(e))return De(x(t,{lvl:n-1}));if(!g(e)&&!g(e.r))return x(e.r,{l:x(e,{r:e.r.l}),lvl:n,r:x(t,{l:e.r.r,lvl:n-1})});throw new Error("Unexpected empty nodes")}if(ge(t))return Ie(x(t,{lvl:n-1}));if(!g(r)&&!g(r.l)){const s=r.l,i=ge(s)?r.lvl-1:r.lvl;return x(s,{l:x(t,{lvl:n-1,r:s.l}),lvl:s.lvl+1,r:Ie(x(r,{l:s.r,lvl:i}))})}throw new Error("Unexpected empty nodes")}function Ye(t,e,n){if(g(t))return[];const r=Q(t,e)[0];return ht(we(t,r,n))}function _e(t,e){const n=t.length;if(n===0)return[];let{index:r,value:s}=e(t[0]);const i=[];for(let o=1;o<n;o++){const{index:u,value:l}=e(t[o]);i.push({end:u-1,start:r,value:s}),r=u,s=l}return i.push({end:Number.POSITIVE_INFINITY,start:r,value:s}),i}function ht(t){return _e(t,({k:e,v:n})=>({index:e,value:n}))}function Ie(t){const{lvl:e,r:n}=t;return!g(n)&&!g(n.r)&&n.lvl===e&&n.r.lvl===e?x(n,{l:x(t,{r:n.l}),lvl:e+1}):t}function De(t){const{l:e}=t;return!g(e)&&e.lvl===t.lvl?x(e,{r:x(t,{l:e.r})}):t}function dt(t){const{endIndex:e,size:n,startIndex:r}=t;return s=>s.start===r&&(s.end===e||s.end===Number.POSITIVE_INFINITY)&&s.value===n}function Ge(t,e){let n=g(t)?0:Number.POSITIVE_INFINITY;for(const r of e){const{endIndex:s,size:i,startIndex:o}=r;if(n=Math.min(n,o),g(t)){t=P(t,0,i);continue}const u=Ye(t,o-1,s+1);if(u.some(dt(r)))continue;let l=!1,c=!1;for(const{end:p,start:f,value:v}of u)l?(s>=f||i===v)&&(t=be(t,f)):(c=v!==i,l=!0),p>s&&s>=f&&v!==i&&(t=P(t,s+1,v));c&&(t=P(t,o,i))}return[t,n]}function le(t,e,n,r=0){let s=t.length-1;for(;r<=s;){const i=Math.floor((r+s)/2),o=t[i],u=n(o,e);if(u===0)return i;if(u===-1){if(s-r<2)return i-1;s=i-1}else{if(s===r)return i;r=i+1}}throw new Error(`Failed binary finding record in array - ${t.join(",")}, searched for ${e}`)}function pt(t,e,n){return t[le(t,e,n)]}function mt(t,e,n,r){const s=le(t,e,r),i=le(t,n,r,s);return t.slice(s,i+1)}function Ke({index:t},e){return e===t?0:e<t?-1:1}function gt({offset:t},e){return e===t?0:e<t?-1:1}function vt(t){return{index:t.index,value:t}}function xt(t,e,n,r=0){return r>0&&(e=Math.max(e,pt(t,r,Ke).offset)),e=Math.max(0,e),_e(mt(t,e,n,gt),vt)}function bt(t,[e,n]){let r=0,s=0,i=0,o=0;if(n!==0){o=le(t,n-1,Ke),i=t[o].offset;const u=Q(e,n-1);if(u[1]===void 0)throw new Error("Invariant violation");r=u[0],s=u[1],t.length&&t[o].height===Q(e,n)[1]&&(o-=1),t=t.slice(0,o+1)}else t=[];for(const{start:u,value:l}of Ye(e,n,Number.POSITIVE_INFINITY)){const c=(u-r)*s+i;t.push({height:l,index:u,offset:c}),r=u,i=c,s=l}return[t,s,i,r]}function wt(t,[e,n]){if(n.length>0&&g(t)&&e.length===2){const r=e[0].size,s=e[1].size;return[n.reduce((i,o)=>P(P(i,o,r),o+1,s),ue()),0]}return Ge(t,e)}const Ue=Ve(),qe=Ve(),de=I([],()=>{ze(de,qe,(t,e)=>{const n=t.slice();for(const[r,s]of Object.entries(e))n[Number.parseInt(r,10)]=s;for(let r=0;r<n.length;r++)if(n[r]===void 0)return t;return n})}),F=I(0),Se=I(0),ce=I([],()=>{Ce(E(F,Ee(de),S(([t,e])=>{const n=Array.from({length:t},()=>[ue(),0]);if(e.length>0){const r=Array.from({length:t},()=>0),s=Array.from({length:t},()=>0);for(let i=0;i<e.length;i++){const o=e[i],u=r.indexOf(Math.min(...r)),l=s[u];s[u]++,r[u]+=o,n[u]=Ge(n[u][0],[{endIndex:l,size:o,startIndex:l}])}}return n.map(([r])=>[r,0])})),ce),ze(ce,Ue,(t,e)=>{const n=t.map(([s])=>s),r=[];for(let s=0;s<e.length;s++){const i=n[s]??ue();if(e[s].length===0){r.push([i,0]);continue}r.push(wt(i,[e[s],[]]))}return r})}),Je=O([],()=>E(ce,S(t=>t.map(([e])=>e)))),It=O([],t=>t.pipe(ce,S(e=>e.map(([,n])=>n)))),pe=O([],()=>E(Je,Ee(It),He((t,[e,n])=>{const r=[];for(let s=0;s<e.length;s++){const i=t[s]??[[]];r.push(bt(i[0],[e[s],n[s]]))}return r},[]))),yt=O([],()=>E(pe,S(t=>t.map(([e])=>e)))),kt=O([],()=>E(pe,S(t=>t.map(([,e])=>e)))),Ct=O([],()=>E(pe,S(t=>t.map(([,,e])=>e)))),Mt=O([],t=>t.pipe(pe,S(e=>e.map(([,,,n])=>n)))),K=O([],()=>E(F,Ee(U,Se,de),S(([t,e,n,r])=>{if(r.length>0){const i=Array.from({length:t},()=>0),o=Array.from({length:t},()=>[]);for(let u=0;u<r.length;u++){const l=r[u],c=i.indexOf(Math.min(...i));o[c].push(u),i[c]+=l}return o}const s=n===0?Math.min(t,e):n;return Array.from({length:t},(i,o)=>{const u=[];for(let l=o;l<s;l+=t)u.push(l);return u})}))),Et=O([],()=>E(Me(F,U,Mt,Ct,kt,K),S(([t,e,n,r,s,i])=>{const o=i.reduce((l,c)=>l+c.length,0),u=Math.ceil((e-o)/t);return Array.from({length:t},(l,c)=>{const p=i[c].length+u-n[c];return r[c]+p*s[c]})}))),ae=I({columns:[],data:[],indexesInColumns:[],totalCount:-1},t=>{Ce(E(Me(F,re,ft,Je,yt,U,Et,ie,K,Se,oe,q),He((e,[n,r,s,i,o,u,l,c,p,f,v,C])=>{if(u===0)return e;const a=C?v+r:0,h=Math.min(Math.max(r-a,0),Math.max(...l)-s),m=h+s,M=f===0?Math.min(n,u):f;return{columns:Array.from({length:n},(X,y)=>{const b=e.columns[y],j=i[y]??ue(),R=o[y]??[],k=l[y]??0,A=p[y]??[];if(g(j)||A.length===0){const H=[];let B=0;for(let V=y;V<M;V+=n)H.push({columnIndex:y,data:c?.[V],height:0,index:V,indexInColumn:B++,offset:0});return{index:y,items:H,listBottom:0,listTop:0,offsetTree:R,totalHeight:0,viewportBottom:m}}if(b?.offsetTree===R&&e.totalCount===u&&e.data===c&&e.indexesInColumns===p&&h>=b.listTop&&m<=b.listBottom)return b;const Z=[],L=A.length-1,W=0,me=xt(R,h,m,W);let w=0,D=0,$=!1;for(const H of me){const{value:{height:B,offset:V}}=H;let Y=H.start;w=V,V<h&&(Y+=Math.floor((h-V)/B),w+=(Y-H.start)*B),Y<W&&(w+=(W-Y)*B,Y=W);const Qe=Math.min(H.end,L);for(let ee=Y;ee<=Qe&&!(w>=m);ee++){const Ne=A[ee],Xe={columnIndex:y,data:c?.[Ne],height:B,index:Ne,indexInColumn:ee,offset:w};$||($=!0,D=w),Z.push(Xe),w+=B}}return{index:y,items:Z,listBottom:w,listTop:D,offsetTree:R,totalHeight:k,viewportBottom:m}}),data:c,indexesInColumns:p,totalCount:u}},{columns:[],data:[],indexesInColumns:[],totalCount:-1})),ae),it(E(ae,$e(e=>e.columns.some(n=>n.listBottom<n.viewportBottom))),e=>{const n=e.columns.slice().sort((o,u)=>o.listBottom-u.listBottom)[0],r=t.getValue(K),s=r.flat(),i=s.length?Math.max(...s)+1:0;i>=t.getValue(U)||st(K,r.map((o,u)=>u===n.index?[...o,i]:o))})}),St=d.forwardRef(({columnCount:t,context:e,data:n,initialItemCount:r=0,ItemContent:s=Be,useWindowScroll:i=!1,...o},u)=>{const l=d.useMemo(()=>{const c=new rt;return c.register(K),c.register(ae),c.register(de),c.pubIn({[F]:t,[ve]:e,[ie]:n.slice(),[Se]:r,[Pe]:s,[q]:i}),c},[]);return d.useImperativeHandle(u,()=>({}),[]),d.useEffect(()=>{l.pubIn({[F]:t,[ve]:e,[ie]:n.slice()})}),N.jsx(je.Provider,{value:l,children:N.jsx(Ot,{...o})})});St.displayName="VirtuosoMasonry";const Nt={observe:()=>{},unobserve:()=>{}},Ot=({style:t,...e})=>{const n=he(),[r]=d.useState(()=>{if(typeof ResizeObserver>"u"){if(typeof window<"u")throw new Error("ResizeObserver not found. Please ensure that you have a polyfill installed.");return Nt}return new ResizeObserver(a=>{const h=a.length,m=n.getValue(F),M=n.getValue(q),X=Array.from({length:m},()=>[]),y={};let b={};for(let j=0;j<h;j++){const R=a[j],k=R.target;if(k===o.current){const $=k.ownerDocument.defaultView;b={...b,[ne]:M?$.document.documentElement.scrollHeight:k.scrollHeight,[re]:M?$.scrollY:k.scrollTop,[xe]:M?$.innerHeight:R.contentRect.height,[at]:M?$.innerWidth:k.clientWidth,...M?{}:{[oe]:R.contentRect.top,[ne]:k.scrollHeight}};continue}if(k.dataset.role==="column"){o.current&&(b={...b,[ne]:o.current.scrollHeight});continue}if(k.dataset.index===void 0)continue;const A=Number.parseInt(k.dataset.index),Z=Number.parseFloat(k.dataset.knownSize??""),L=R.contentRect.height,W=Number.parseInt(k.dataset.columnIndex??"0"),me=Number.parseInt(k.dataset.absoluteIndex??"0");if(y[me]=L,L===Z)continue;const w=X[W],D=w[w.length-1];w.length===0||D.size!==L||D.endIndex!==A-1?w.push({endIndex:A,size:L,startIndex:A}):w[w.length-1].endIndex++}X.some(j=>j.length>0)&&(b={...b,[Ue]:X}),Object.keys(y).length>0&&(b={...b,[qe]:y}),n.pubIn(b)})}),s=d.useCallback(a=>{r.observe(a)},[r]),i=d.useCallback(a=>{r.unobserve(a)},[r]),o=d.useRef(null),u=d.useRef([]),l=d.useCallback(a=>h=>{if(h)u.current[a]=h,r.observe(h,{box:"border-box"});else{const m=u.current[a];m!=null&&(r.unobserve(m),u.current[a]=null)}},[r]),c=d.useCallback(()=>{const a=o.current;a!==null&&n.pub(re,a.scrollTop)},[n]),p=d.useCallback(a=>{a?(o.current=a,a.addEventListener("scroll",c),r.observe(a,{box:"border-box"})):o.current&&(o.current.removeEventListener("scroll",c),r.unobserve(o.current),o.current=null)},[r,c]),[f,v,C]=ct(ae,Pe,q);return d.useEffect(()=>{var a;if(C){const h=(a=o.current)==null?void 0:a.ownerDocument.defaultView,m=()=>{var M;n.pubIn({[oe]:((M=o.current)==null?void 0:M.getBoundingClientRect().top)??0,[ne]:h.document.documentElement.scrollHeight,[re]:h.scrollY,[xe]:h.innerHeight})};return h.addEventListener("scroll",m),m(),()=>{h.removeEventListener("scroll",m)}}},[C,n]),N.jsx(N.Fragment,{children:N.jsx("div",{...e,"data-testid":"virtuoso-scroller",ref:p,style:{...C?{boxSizing:"border-box",display:"flex",flexDirection:"row"}:{boxSizing:"border-box",display:"flex",flexDirection:"row",overflowY:"scroll"},...t},children:f.columns.map((a,h)=>N.jsx("div",{"data-testid":"virtuoso-list",ref:l(h),style:{boxSizing:"content-box",flexGrow:1,height:a.totalHeight,overflowAnchor:"none",position:"relative"},children:a.items.map(m=>N.jsx(Rt,{item:m,ItemContent:v,mount:s,unmount:i},m.index))},`column-${h}`))})})},Rt=({item:t,ItemContent:e,mount:n,unmount:r})=>{const s=Ae(ve),i=d.useRef(null),o=d.useCallback(u=>{u?(i.current=u,n(u)):i.current&&(r(i.current),i.current=null)},[n,r]);return N.jsx("div",{"data-absolute-index":t.index,"data-column-index":t.columnIndex,"data-index":t.indexInColumn,"data-known-size":t.height,ref:o,style:{boxSizing:"border-box",overflowAnchor:"none",position:"absolute",top:t.offset,width:"100%"},children:N.jsx(e,{context:s,data:t.data,index:t.index})})};function Vt(){const[t,e]=d.useState(window.innerWidth);return d.useEffect(()=>{const r=()=>{e(window.innerWidth)};return window.addEventListener("resize",r),()=>window.removeEventListener("resize",r)},[]),d.useMemo(()=>t<640?1:t<1024?2:t<1280?3:t<2048?4:t<2304?5:6,[t])}export{St as p,Vt as u};
Binary file