@abtnode/blocklet-services 1.16.23-beta-c9c4e08e → 1.16.23-beta-ed83c878

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 (259) hide show
  1. package/dist/assets/{Add-0a5Bdqhh.js → Add-vTyteaJS.js} +1 -1
  2. package/dist/assets/{Avatar-saexB4KL.js → Avatar--wC9mrh2.js} +1 -1
  3. package/dist/assets/Box-w0hFB2y0.js +1 -0
  4. package/dist/assets/Box-wX7WNHof.js +1 -0
  5. package/dist/assets/{Button-AJi8qZ6-.js → Button-ykwLiZ2J.js} +1 -1
  6. package/dist/assets/{ButtonBase-9ceABoYu.js → ButtonBase-2j16Oank.js} +5 -5
  7. package/dist/assets/{ButtonBase-0pgu0-ph.js → ButtonBase-gKUGc3Zq.js} +3 -3
  8. package/dist/assets/{CardContent-bbwDoZDs.js → CardContent-S7jGYoZi.js} +1 -1
  9. package/dist/assets/{CheckCircle-BDZRhSkP.js → CheckCircle-MSun7-U0.js} +1 -1
  10. package/dist/assets/{ChevronLeft-M0afXKmQ.js → ChevronLeft-OJEtYKJw.js} +1 -1
  11. package/dist/assets/{ChevronRight-RsAvNbwV.js → ChevronRight-Az5bXFdS.js} +1 -1
  12. package/dist/assets/{Chip-lI13RVXr.js → Chip-2zwjZf99.js} +1 -1
  13. package/dist/assets/{CircularProgress-kMtOxiWg.js → CircularProgress-oRghdnB7.js} +1 -1
  14. package/dist/assets/{Close-zM8cubHu.js → Close-UpPcWosj.js} +1 -1
  15. package/dist/assets/{Collapse-FIr8nqIc.js → Collapse-9G0XJCS4.js} +1 -1
  16. package/dist/assets/{DeleteOutline-EHVgqvq4.js → DeleteOutline-oDxVTiXQ.js} +1 -1
  17. package/dist/assets/{Done-jdYlqoaE.js → Done-lDz0AHuP.js} +1 -1
  18. package/dist/assets/{Download-f08g7jN3.js → Download-DZZUg84i.js} +1 -1
  19. package/dist/assets/{Edit-koRkIVnL.js → Edit-xGXK3CYT.js} +1 -1
  20. package/dist/assets/{EditIcon--DhsX3gA.js → EditIcon-vSawnu2L.js} +1 -1
  21. package/dist/assets/{ExpandMore-llY3IWdb.js → ExpandMore-HZFmUR-a.js} +1 -1
  22. package/dist/assets/{ExpandMore-1SjTg2X5.js → ExpandMore-sVVVrdQE.js} +1 -1
  23. package/dist/assets/{FilterList-i66TyoIR.js → FilterList-cxHEtz0G.js} +4 -4
  24. package/dist/assets/FormControlLabel-rf6UEluy.js +1 -0
  25. package/dist/assets/{Google-rn5zJeSt.js → Google-VMrSS3LU.js} +1 -1
  26. package/dist/assets/Grid-hq_HvwNl.js +1 -0
  27. package/dist/assets/{Grid-Vr6qJbOC.js → Grid-wusqObpv.js} +1 -1
  28. package/dist/assets/{Hidden-GPvyksuf.js → Hidden-GZpNG8Fn.js} +1 -1
  29. package/dist/assets/{IconButton-voWUDqTe.js → IconButton-SWdwxRXE.js} +1 -1
  30. package/dist/assets/{IconButton-_3vtt-nm.js → IconButton-pbUOyNxq.js} +3 -3
  31. package/dist/assets/{InfoOutlined-Nx_BxmxM.js → InfoOutlined-fmfPbKBr.js} +1 -1
  32. package/dist/assets/{InputAdornment-Z0M4lARx.js → InputAdornment-J9SNlDlG.js} +1 -1
  33. package/dist/assets/InputAdornment-cytNeut4.js +1 -0
  34. package/dist/assets/{InputLabel-ht6pCtWn.js → InputLabel-5ZGbi6bW.js} +1 -1
  35. package/dist/assets/{Launch-ocWAtGIZ.js → Launch-wH2P5XtF.js} +1 -1
  36. package/dist/assets/{Link-Djztkjpf.js → Link-dqV63oGM.js} +1 -1
  37. package/dist/assets/{Link-MbvE8LVS.js → Link-hD326Lst.js} +1 -1
  38. package/dist/assets/{ListItem-CQpqM3So.js → ListItem-zpF9vl3-.js} +1 -1
  39. package/dist/assets/{ListItemText-KvPqm6Jl.js → ListItemText-AE7V4fm6.js} +1 -1
  40. package/dist/assets/{LockIcon-g-NIbeeL.js → LockIcon-RX4ACPLP.js} +1 -1
  41. package/dist/assets/{Loop-1F5yP5Sf.js → Loop-J3Oc551N.js} +1 -1
  42. package/dist/assets/{Menu-EYAj-L5o.js → Menu-R2sJfNVQ.js} +1 -1
  43. package/dist/assets/{OpenInNew-KoZ6NVve.js → OpenInNew-ey9Zce1G.js} +1 -1
  44. package/dist/assets/{Pagination-RIzFNd3d.js → Pagination-_AyYmu3K.js} +1 -1
  45. package/dist/assets/{Paper-KR2zG2e1.js → Paper-xnFdFhSU.js} +1 -1
  46. package/dist/assets/{RevokeIcon-k7gup88V.js → RevokeIcon-hUSUDMyp.js} +1 -1
  47. package/dist/assets/{Search-DKuqYO71.js → Search-I_yS6r69.js} +2 -2
  48. package/dist/assets/{Search-jxH6gV3G.js → Search-iJmoubNh.js} +1 -1
  49. package/dist/assets/{Select-j4dphzS1.js → Select-M73NW8co.js} +2 -2
  50. package/dist/assets/{ServerLogo-jSiVEGfc.js → ServerLogo-DO0zCcXJ.js} +1 -1
  51. package/dist/assets/{Skeleton-4Bzp9rD2.js → Skeleton-si3pCQpt.js} +4 -4
  52. package/dist/assets/{Stepper-6z_En7Ez.js → Stepper-JspwoyL9.js} +1 -1
  53. package/dist/assets/{TextField-TIIUFfIa.js → TextField-LQ_MEBEr.js} +1 -1
  54. package/dist/assets/TextField-t2Fc5ZKP.js +2 -0
  55. package/dist/assets/{Toolbar-mUgc5lSm.js → Toolbar-yNKPFPYf.js} +1 -1
  56. package/dist/assets/{Tooltip-pHdHXs1x.js → Tooltip-POCM6iwG.js} +1 -1
  57. package/dist/assets/{Typography-at7Lfh5t.js → Typography-KrY_5iS6.js} +1 -1
  58. package/dist/assets/{access-control-pPSUaB5V.js → access-control-QBAuY9yE.js} +1 -1
  59. package/dist/assets/{actions-_M8QNJCv.js → actions-O61MEW97.js} +1 -1
  60. package/dist/assets/{add-component-core-vFFv0oMu.js → add-component-core-NQjGVKRe.js} +59 -59
  61. package/dist/assets/add-resource-MJ63NHNw.js +1 -0
  62. package/dist/assets/{addon-mZLwCS5i.js → addon-TQ0rCH75.js} +1 -1
  63. package/dist/assets/{analytics-X1Aa9edO.js → analytics-8oJDRxnh.js} +8 -8
  64. package/dist/assets/api-OOifZ58k.js +1 -0
  65. package/dist/assets/ar-5b7W7J1I.js +1 -0
  66. package/dist/assets/ar-fU0b0oFB.js +1 -0
  67. package/dist/assets/{audit-logs-fB_fjc8-.js → audit-logs-DUiSrbgt.js} +1 -1
  68. package/dist/assets/{button-aYcZyw38.js → button-uIqGychf.js} +1 -1
  69. package/dist/assets/{click-to-copy-wV-Xrdm0.js → click-to-copy-Stqj3s2e.js} +1 -1
  70. package/dist/assets/{complete-4wYoB0m7.js → complete-FTJGD-1N.js} +4 -4
  71. package/dist/assets/{component-UEuO0cie.js → component-EZRyGvJZ.js} +1 -1
  72. package/dist/assets/{config-9gtFu_z9.js → config-1heXK7PJ.js} +1 -1
  73. package/dist/assets/{config-6dxfhAj_.js → config-VPh3sxvn.js} +2 -2
  74. package/dist/assets/{config-navigation-GQKikGmQ.js → config-navigation-fn_fGXvZ.js} +7 -7
  75. package/dist/assets/{config-space-QevjRYTe.js → config-space-un0A86az.js} +1 -1
  76. package/dist/assets/{confirm-7bSGI57a.js → confirm-NdF0-vLf.js} +2 -2
  77. package/dist/assets/{connect-rrK1U4-M.js → connect-bUr2fIui.js} +1 -1
  78. package/dist/assets/connect-eXeZUYKc.js +1 -0
  79. package/dist/assets/{connect-to-EhqsMD-x.js → connect-to-jN6NfPLE.js} +2 -2
  80. package/dist/assets/{content-layout-Hr0Rhkxd.js → content-layout-xv7efLhO.js} +1 -1
  81. package/dist/assets/{createStack-uP5Lw019.js → createStack-X06a2NYY.js} +1 -1
  82. package/dist/assets/createSvgIcon-V91OChAf.js +1 -0
  83. package/dist/assets/createSvgIcon-WGsmTjmI.js +1 -0
  84. package/dist/assets/{dashboard-QmSVk38R.js → dashboard--flHRbxA.js} +3 -3
  85. package/dist/assets/de-3MHUlmsh.js +1 -0
  86. package/dist/assets/de-bkZ7Bss5.js +1 -0
  87. package/dist/assets/{did-address-0CJZ1hTv.js → did-address-MOXaSOmL.js} +1 -1
  88. package/dist/assets/{domain-FRsEJtjg.js → domain-GsJNX7Pl.js} +1 -1
  89. package/dist/assets/{domain-list-sWtOJHZE.js → domain-list-U7SAJAPI.js} +2 -2
  90. package/dist/assets/es-NmBadyPK.js +1 -0
  91. package/dist/assets/es-mvEE3F2H.js +1 -0
  92. package/dist/assets/exchange-passport-__egRbif.js +1 -0
  93. package/dist/assets/{fallback-bTiy993_.js → fallback-JR1UKYrN.js} +1 -1
  94. package/dist/assets/fr-CntcXM0r.js +1 -0
  95. package/dist/assets/fr-ymY_66Ch.js +1 -0
  96. package/dist/assets/{fuel-aLCEGQBm.js → fuel-B07m2J73.js} +1 -1
  97. package/dist/assets/fullpage-WwvQZMup.js +1 -0
  98. package/dist/assets/hi-e5pX09vq.js +1 -0
  99. package/dist/assets/hi-w3gIWsQe.js +1 -0
  100. package/dist/assets/home-0llsKSBK.js +1 -0
  101. package/dist/assets/id-re8udxfE.js +1 -0
  102. package/dist/assets/id-vkLqLDDQ.js +1 -0
  103. package/dist/assets/{iframe-tSgJlkja.js → iframe-QRp9-qFU.js} +1 -1
  104. package/dist/assets/{index-GeEeMTnx.js → index-0Pkf3xUv.js} +1 -1
  105. package/dist/assets/{index-5eI60Acc.js → index-1Jk_G-9Y.js} +1 -1
  106. package/dist/assets/{index-HSkSeOXF.js → index-5q2qBS2A.js} +1 -1
  107. package/dist/assets/{index-vFPaiaOa.js → index-7Vx2WCKR.js} +1 -1
  108. package/dist/assets/{index-XfYQRkib.js → index-AaoUHVVG.js} +4 -4
  109. package/dist/assets/{index-nlMx0Pkv.js → index-IwH7C-Ko.js} +1 -1
  110. package/dist/assets/{index-pGbT4yfj.js → index-JA9h4YXr.js} +4 -4
  111. package/dist/assets/{index-ktOfCEiQ.js → index-LTzQUJ4f.js} +1 -1
  112. package/dist/assets/{index-0x54J6vw.js → index-LpR2xL_I.js} +9 -9
  113. package/dist/assets/{index-f95kNfHS.js → index-MQ5sCiv0.js} +1 -1
  114. package/dist/assets/{index-BbNutsxB.js → index-OP9njHuS.js} +1 -1
  115. package/dist/assets/{index-fUO5Depg.js → index-R9oRnky0.js} +1 -1
  116. package/dist/assets/{index-Gxq7K81Z.js → index-S9D-ycna.js} +7 -7
  117. package/dist/assets/{index-YT5xL2Uw.js → index-SAJDoXAy.js} +3 -3
  118. package/dist/assets/index-aw1T-I5M.js +57 -0
  119. package/dist/assets/{index-t3_35jAF.js → index-dEUBD3Ek.js} +1 -1
  120. package/dist/assets/{index-3HM6kgF3.js → index-eB9Ifmty.js} +1 -1
  121. package/dist/assets/{index-h8HAvCIo.js → index-fJ0BL_e2.js} +1 -1
  122. package/dist/assets/{index-lnMv_-tz.js → index-iPbuZCut.js} +1 -1
  123. package/dist/assets/index-jWqA6yOs.js +1 -0
  124. package/dist/assets/{index-28ZeZ4Px.js → index-jXu4Dpk_.js} +1 -1
  125. package/dist/assets/{index-VLyXJrSM.js → index-mxv-cWe1.js} +4 -4
  126. package/dist/assets/{index-3Gq88ATv.js → index-nec3CBP4.js} +1 -1
  127. package/dist/assets/index-nugxBGaB.js +1 -0
  128. package/dist/assets/{index-IIfvsd64.js → index-qJop2tcw.js} +1 -1
  129. package/dist/assets/{index-DpfNlt5t.js → index-rKkwz9HV.js} +1 -1
  130. package/dist/assets/{index-uDkwKD_m.js → index-rLUXQvhq.js} +5 -5
  131. package/dist/assets/{index-cbNOXa5L.js → index-uucW8lyA.js} +123 -123
  132. package/dist/assets/{index-HQiCzdfo.js → index-wM_dFbiP.js} +7 -7
  133. package/dist/assets/index-xF6Zrp48.js +16 -0
  134. package/dist/assets/index-xvy96ScB.js +225 -0
  135. package/dist/assets/{index.es-WqdbzMMA.js → index.es-z1twp67m.js} +2 -2
  136. package/dist/assets/{index.esm-8eXF7vW3.js → index.esm-aWTu2T01.js} +1 -1
  137. package/dist/assets/{invitation-5BTphIRX.js → invitation-XLGa-pmm.js} +4 -4
  138. package/dist/assets/{invite-xA1RX6Ru.js → invite-cKqEzS2M.js} +2 -2
  139. package/dist/assets/issue-passport-ILQvH9s3.js +1 -0
  140. package/dist/assets/ja-f2LD8ttO.js +1 -0
  141. package/dist/assets/ja-f824NFje.js +1 -0
  142. package/dist/assets/{jss-plugin-props-sort.esm-6oUKcv-U.js → jss-plugin-props-sort.esm-UoBHPEWO.js} +1 -1
  143. package/dist/assets/ko-LEYmvplQ.js +1 -0
  144. package/dist/assets/ko-gkTpZ3A9.js +1 -0
  145. package/dist/assets/{launch-result-message-eMHkuPAd.js → launch-result-message-9HKjtLws.js} +1 -1
  146. package/dist/assets/{layout-qefLTTXj.js → layout-L6_gNEgb.js} +2 -2
  147. package/dist/assets/{list-header-eObNTorD.js → list-header-0W-lcNEo.js} +1 -1
  148. package/dist/assets/{listItemButtonClasses-EzjM5W1B.js → listItemButtonClasses-NYOJixt3.js} +1 -1
  149. package/dist/assets/localization-kcWeWxhs.js +1 -0
  150. package/dist/assets/{log-svrVwIOb.js → log-pZr6zM4h.js} +1 -1
  151. package/dist/assets/login-P2wJbw6C.js +1 -0
  152. package/dist/assets/logo-uploader-uogalgrW.js +127 -0
  153. package/dist/assets/{lost-passport-iXAhJYo-.js → lost-passport-mo-weWhq.js} +4 -4
  154. package/dist/assets/{lottie-F5gFbpyt.js → lottie-skotHrQT.js} +1 -1
  155. package/dist/assets/{notifications-ZYuBeXGk.js → notifications-PPAwwS3Q.js} +2 -2
  156. package/dist/assets/overview-OOHYj1Q3.js +12 -0
  157. package/dist/assets/{page-header-ZTfGVY_H.js → page-header-zijGZ0Cx.js} +1 -1
  158. package/dist/assets/{permission-4PC8xSJN.js → permission-6mOSjcdS.js} +2 -2
  159. package/dist/assets/{preferences-RH1LPh09.js → preferences-N_0iYWAP.js} +1 -1
  160. package/dist/assets/pt-W2XRyyDs.js +1 -0
  161. package/dist/assets/pt-e-2Cjr7S.js +1 -0
  162. package/dist/assets/publish-resource-GJWeIB7T.js +1 -0
  163. package/dist/assets/react-1-wuzDEA.js +60 -0
  164. package/dist/assets/ru-8smaJi1e.js +1 -0
  165. package/dist/assets/ru-ku_uUlqq.js +1 -0
  166. package/dist/assets/{selector-TddQn3jx.js → selector-ckYcvYGI.js} +3 -3
  167. package/dist/assets/session-dO7Ct3kg.js +1 -0
  168. package/dist/assets/setup-ZPQqv7iq.js +19 -0
  169. package/dist/assets/{slicedToArray-ZZKDh6nd.js → slicedToArray-3_3ts97I.js} +1 -1
  170. package/dist/assets/{spaces-ijCgqPhL.js → spaces-2TPvVFS1.js} +1 -1
  171. package/dist/assets/{start-ztPGxEP2.js → start-0rD0U6t7.js} +1 -1
  172. package/dist/assets/{step-actions-MiYGXTbU.js → step-actions-iRZymf2P.js} +1 -1
  173. package/dist/assets/{studio-uDblvb8y.js → studio-W4Vc_AGz.js} +1 -1
  174. package/dist/assets/{styled--KG4RxYC.js → styled-xYo1pInp.js} +1 -1
  175. package/dist/assets/{switch-control-8Ix6THlq.js → switch-control--QORsX6_.js} +1 -1
  176. package/dist/assets/th-5M91NUw8.js +1 -0
  177. package/dist/assets/th-fNXiYapm.js +1 -0
  178. package/dist/assets/{toUpper-lNfRZxn4.js → toUpper-q-l4gWRl.js} +1 -1
  179. package/dist/assets/transfer-PhNYj9ZK.js +16 -0
  180. package/dist/assets/{uniqBy-dQ8eGfYo.js → uniqBy-l9QHyf00.js} +1 -1
  181. package/dist/assets/{unsubscribe-0wpDTabl.js → unsubscribe-FUenmxnt.js} +1 -1
  182. package/dist/assets/{use-blocklet-info-for-connect-did-spaces-TrClapIR.js → use-blocklet-info-for-connect-did-spaces-V6x21iaX.js} +1 -1
  183. package/dist/assets/useAsync-sivFle8p.js +1 -0
  184. package/dist/assets/{useLocalStorage-FwOTd6r2.js → useLocalStorage-BhVXzkpi.js} +1 -1
  185. package/dist/assets/{useMediaQuery-ll0_8kAu.js → useMediaQuery-vIbaAqXb.js} +1 -1
  186. package/dist/assets/{useSetState-ruMvgmdH.js → useSetState-8jGDsuv3.js} +1 -1
  187. package/dist/assets/{useSlotProps-Bsg5wrI9.js → useSlotProps-1tP3JLmt.js} +1 -1
  188. package/dist/assets/useTheme-E3mdEt0J.js +1 -0
  189. package/dist/assets/user-center-W3YE5xaW.js +1 -0
  190. package/dist/assets/{util-_BeTKW_Y.js → util-HUv70eWD.js} +1 -1
  191. package/dist/assets/vi-1_KVwbnF.js +1 -0
  192. package/dist/assets/vi-Tept6pT9.js +1 -0
  193. package/dist/assets/wrap-locale-wqIa2Ntp.js +7 -0
  194. package/dist/assets/zh-9Ew1Msy7.js +2 -0
  195. package/dist/assets/zh-ks4Av33q.js +1 -0
  196. package/dist/assets/zh-tw-2x2b7soG.js +1 -0
  197. package/dist/assets/zh-tw-7SS7GgTG.js +1 -0
  198. package/dist/index.html +1 -1
  199. package/dist/service-worker.js +1 -1
  200. package/package.json +22 -22
  201. package/dist/assets/Box-4YGfDU-g.js +0 -1
  202. package/dist/assets/Box-Hidy-XzL.js +0 -1
  203. package/dist/assets/Grid-Kxa_RgMY.js +0 -1
  204. package/dist/assets/InputAdornment-Y2e0EkJL.js +0 -1
  205. package/dist/assets/TextField-MqhQ7k_u.js +0 -2
  206. package/dist/assets/add-resource-F6M9SxXb.js +0 -1
  207. package/dist/assets/api--aPGZZak.js +0 -1
  208. package/dist/assets/ar-FEjglg2J.js +0 -1
  209. package/dist/assets/ar-qJxEQk2i.js +0 -1
  210. package/dist/assets/connect-mbk2hX85.js +0 -1
  211. package/dist/assets/createSvgIcon-WPRtXjzD.js +0 -1
  212. package/dist/assets/createSvgIcon-yyT8bUWt.js +0 -1
  213. package/dist/assets/de-9V_CR82y.js +0 -1
  214. package/dist/assets/de-PPNq49Xs.js +0 -1
  215. package/dist/assets/es-kcgmNAlT.js +0 -1
  216. package/dist/assets/es-pnTbYAU2.js +0 -1
  217. package/dist/assets/exchange-passport-3HXvKt39.js +0 -1
  218. package/dist/assets/fr-06raD1Qg.js +0 -1
  219. package/dist/assets/fr-Ku3_CzvC.js +0 -1
  220. package/dist/assets/fullpage-sluJlU9w.js +0 -1
  221. package/dist/assets/hi-6kkdO5XN.js +0 -1
  222. package/dist/assets/hi-vEpn9Y5Z.js +0 -1
  223. package/dist/assets/home-YUABDbdq.js +0 -1
  224. package/dist/assets/id-2GESH-uu.js +0 -1
  225. package/dist/assets/id-7xn0MdTQ.js +0 -1
  226. package/dist/assets/index-FYC2Mdgd.js +0 -16
  227. package/dist/assets/index-cnER8eGh.js +0 -1
  228. package/dist/assets/index-m2g0wxvf.js +0 -1
  229. package/dist/assets/index-u-GE3BTp.js +0 -201
  230. package/dist/assets/issue-passport-bpGms9YB.js +0 -1
  231. package/dist/assets/ja-Ac8-8m5g.js +0 -1
  232. package/dist/assets/ja-rxiVq0az.js +0 -1
  233. package/dist/assets/ko-0709wgow.js +0 -1
  234. package/dist/assets/ko-9IkaYJuU.js +0 -1
  235. package/dist/assets/localization-9wrHBYfW.js +0 -1
  236. package/dist/assets/login-e66zu5Wk.js +0 -1
  237. package/dist/assets/logo-uploader-Xjm2hVjF.js +0 -127
  238. package/dist/assets/overview-TPx-R0_S.js +0 -12
  239. package/dist/assets/pt-JFa3Exi_.js +0 -1
  240. package/dist/assets/pt-iuVDLBxe.js +0 -1
  241. package/dist/assets/publish-resource-rPm6dg0_.js +0 -1
  242. package/dist/assets/react-oacgJH2V.js +0 -84
  243. package/dist/assets/ru-88VFESIG.js +0 -1
  244. package/dist/assets/ru-oj6dCDLl.js +0 -1
  245. package/dist/assets/session-917r6dEa.js +0 -1
  246. package/dist/assets/setup-V1H5uS4e.js +0 -19
  247. package/dist/assets/th-TessnpJ8.js +0 -1
  248. package/dist/assets/th-i4-UeAUM.js +0 -1
  249. package/dist/assets/transfer-A_b1gi7p.js +0 -16
  250. package/dist/assets/useAsync-VmxO4pF4.js +0 -1
  251. package/dist/assets/useTheme-QQ9ZlGSI.js +0 -1
  252. package/dist/assets/user-center-Aclo8pyD.js +0 -57
  253. package/dist/assets/vi-DcFBBBZV.js +0 -1
  254. package/dist/assets/vi-xUX-5YmH.js +0 -1
  255. package/dist/assets/wrap-locale-IxZ-GSRz.js +0 -7
  256. package/dist/assets/zh-1UXuP731.js +0 -1
  257. package/dist/assets/zh-MG2dbypE.js +0 -2
  258. package/dist/assets/zh-tw-DvbMWpOs.js +0 -1
  259. package/dist/assets/zh-tw-n5azqZ8p.js +0 -1
@@ -1,4 +1,4 @@
1
- var Be=Object.defineProperty;var ze=(t,e,n)=>e in t?Be(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n;var tt=(t,e,n)=>(ze(t,typeof e!="symbol"?e+"":e,n),n);import{g as Pt,a as Tt,O as lt,bX as ae,bY as He,_ as P,d as O,r as I,R as Lt,f as st,bZ as B,aF as le,V as ue,j as h,h as z,i as jt,b_ as Ve,b$ as zt,P as d,Z as De,q as Ge,bt as Ue,bu as Ht,c0 as Qe,c1 as Ze,c2 as We,bq as Je,Y as k,c3 as Ye,X as Xe,c4 as Ke,Q as tn,c5 as en,a5 as nn,c6 as on,bE as de,l as fe,aC as sn,a4 as rn,a6 as cn}from"./index-cbNOXa5L.js";import{D as an}from"./index-HQiCzdfo.js";import{L as ln}from"./selector-TddQn3jx.js";function un(t){return Tt("MuiListItem",t)}const dn=Pt("MuiListItem",["root","container","focusVisible","dense","alignItemsFlexStart","disabled","divider","gutters","padding","button","secondaryAction","selected"]),F=dn;function fn(t){return Tt("MuiListItemButton",t)}const pn=Pt("MuiListItemButton",["root","focusVisible","dense","alignItemsFlexStart","disabled","divider","gutters","selected"]),q=pn,hn=["alignItems","autoFocus","component","children","dense","disableGutters","divider","focusVisibleClassName","selected","className"],gn=(t,e)=>{const{ownerState:n}=t;return[e.root,n.dense&&e.dense,n.alignItems==="flex-start"&&e.alignItemsFlexStart,n.divider&&e.divider,!n.disableGutters&&e.gutters]},mn=t=>{const{alignItems:e,classes:n,dense:s,disabled:o,disableGutters:r,divider:i,selected:a}=t,l=jt({root:["root",s&&"dense",!r&&"gutters",i&&"divider",o&&"disabled",e==="flex-start"&&"alignItemsFlexStart",a&&"selected"]},fn,n);return P({},n,l)},bn=lt(ae,{shouldForwardProp:t=>He(t)||t==="classes",name:"MuiListItemButton",slot:"Root",overridesResolver:gn})(({theme:t,ownerState:e})=>P({display:"flex",flexGrow:1,justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",minWidth:0,boxSizing:"border-box",textAlign:"left",paddingTop:8,paddingBottom:8,transition:t.transitions.create("background-color",{duration:t.transitions.duration.shortest}),"&:hover":{textDecoration:"none",backgroundColor:(t.vars||t).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${q.selected}`]:{backgroundColor:t.vars?`rgba(${t.vars.palette.primary.mainChannel} / ${t.vars.palette.action.selectedOpacity})`:O(t.palette.primary.main,t.palette.action.selectedOpacity),[`&.${q.focusVisible}`]:{backgroundColor:t.vars?`rgba(${t.vars.palette.primary.mainChannel} / calc(${t.vars.palette.action.selectedOpacity} + ${t.vars.palette.action.focusOpacity}))`:O(t.palette.primary.main,t.palette.action.selectedOpacity+t.palette.action.focusOpacity)}},[`&.${q.selected}:hover`]:{backgroundColor:t.vars?`rgba(${t.vars.palette.primary.mainChannel} / calc(${t.vars.palette.action.selectedOpacity} + ${t.vars.palette.action.hoverOpacity}))`:O(t.palette.primary.main,t.palette.action.selectedOpacity+t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:t.vars?`rgba(${t.vars.palette.primary.mainChannel} / ${t.vars.palette.action.selectedOpacity})`:O(t.palette.primary.main,t.palette.action.selectedOpacity)}},[`&.${q.focusVisible}`]:{backgroundColor:(t.vars||t).palette.action.focus},[`&.${q.disabled}`]:{opacity:(t.vars||t).palette.action.disabledOpacity}},e.divider&&{borderBottom:`1px solid ${(t.vars||t).palette.divider}`,backgroundClip:"padding-box"},e.alignItems==="flex-start"&&{alignItems:"flex-start"},!e.disableGutters&&{paddingLeft:16,paddingRight:16},e.dense&&{paddingTop:4,paddingBottom:4})),yn=I.forwardRef(function(e,n){const s=Lt({props:e,name:"MuiListItemButton"}),{alignItems:o="center",autoFocus:r=!1,component:i="div",children:a,dense:c=!1,disableGutters:l=!1,divider:u=!1,focusVisibleClassName:f,selected:p=!1,className:m}=s,b=st(s,hn),x=I.useContext(B),C=I.useMemo(()=>({dense:c||x.dense||!1,alignItems:o,disableGutters:l}),[o,x.dense,c,l]),T=I.useRef(null);le(()=>{r&&T.current&&T.current.focus()},[r]);const v=P({},s,{alignItems:o,dense:C.dense,disableGutters:l,divider:u,selected:p}),y=mn(v),R=ue(T,n);return h.jsx(B.Provider,{value:C,children:h.jsx(bn,P({ref:R,href:b.href||b.to,component:(b.href||b.to)&&i==="div"?"button":i,focusVisibleClassName:z(y.focusVisible,f),ownerState:v,className:z(y.root,m)},b,{classes:y,children:a}))})}),xn=yn;function vn(t){return Tt("MuiListItemSecondaryAction",t)}Pt("MuiListItemSecondaryAction",["root","disableGutters"]);const In=["className"],Cn=t=>{const{disableGutters:e,classes:n}=t;return jt({root:["root",e&&"disableGutters"]},vn,n)},wn=lt("div",{name:"MuiListItemSecondaryAction",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,n.disableGutters&&e.disableGutters]}})(({ownerState:t})=>P({position:"absolute",right:16,top:"50%",transform:"translateY(-50%)"},t.disableGutters&&{right:0})),pe=I.forwardRef(function(e,n){const s=Lt({props:e,name:"MuiListItemSecondaryAction"}),{className:o}=s,r=st(s,In),i=I.useContext(B),a=P({},s,{disableGutters:i.disableGutters}),c=Cn(a);return h.jsx(wn,P({className:z(c.root,o),ownerState:a,ref:n},r))});pe.muiName="ListItemSecondaryAction";const Sn=pe,An=["className"],Pn=["alignItems","autoFocus","button","children","className","component","components","componentsProps","ContainerComponent","ContainerProps","dense","disabled","disableGutters","disablePadding","divider","focusVisibleClassName","secondaryAction","selected","slotProps","slots"],Tn=(t,e)=>{const{ownerState:n}=t;return[e.root,n.dense&&e.dense,n.alignItems==="flex-start"&&e.alignItemsFlexStart,n.divider&&e.divider,!n.disableGutters&&e.gutters,!n.disablePadding&&e.padding,n.button&&e.button,n.hasSecondaryAction&&e.secondaryAction]},Ln=t=>{const{alignItems:e,button:n,classes:s,dense:o,disabled:r,disableGutters:i,disablePadding:a,divider:c,hasSecondaryAction:l,selected:u}=t;return jt({root:["root",o&&"dense",!i&&"gutters",!a&&"padding",c&&"divider",r&&"disabled",n&&"button",e==="flex-start"&&"alignItemsFlexStart",l&&"secondaryAction",u&&"selected"],container:["container"]},un,s)},jn=lt("div",{name:"MuiListItem",slot:"Root",overridesResolver:Tn})(({theme:t,ownerState:e})=>P({display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",width:"100%",boxSizing:"border-box",textAlign:"left"},!e.disablePadding&&P({paddingTop:8,paddingBottom:8},e.dense&&{paddingTop:4,paddingBottom:4},!e.disableGutters&&{paddingLeft:16,paddingRight:16},!!e.secondaryAction&&{paddingRight:48}),!!e.secondaryAction&&{[`& > .${q.root}`]:{paddingRight:48}},{[`&.${F.focusVisible}`]:{backgroundColor:(t.vars||t).palette.action.focus},[`&.${F.selected}`]:{backgroundColor:t.vars?`rgba(${t.vars.palette.primary.mainChannel} / ${t.vars.palette.action.selectedOpacity})`:O(t.palette.primary.main,t.palette.action.selectedOpacity),[`&.${F.focusVisible}`]:{backgroundColor:t.vars?`rgba(${t.vars.palette.primary.mainChannel} / calc(${t.vars.palette.action.selectedOpacity} + ${t.vars.palette.action.focusOpacity}))`:O(t.palette.primary.main,t.palette.action.selectedOpacity+t.palette.action.focusOpacity)}},[`&.${F.disabled}`]:{opacity:(t.vars||t).palette.action.disabledOpacity}},e.alignItems==="flex-start"&&{alignItems:"flex-start"},e.divider&&{borderBottom:`1px solid ${(t.vars||t).palette.divider}`,backgroundClip:"padding-box"},e.button&&{transition:t.transitions.create("background-color",{duration:t.transitions.duration.shortest}),"&:hover":{textDecoration:"none",backgroundColor:(t.vars||t).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${F.selected}:hover`]:{backgroundColor:t.vars?`rgba(${t.vars.palette.primary.mainChannel} / calc(${t.vars.palette.action.selectedOpacity} + ${t.vars.palette.action.hoverOpacity}))`:O(t.palette.primary.main,t.palette.action.selectedOpacity+t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:t.vars?`rgba(${t.vars.palette.primary.mainChannel} / ${t.vars.palette.action.selectedOpacity})`:O(t.palette.primary.main,t.palette.action.selectedOpacity)}}},e.hasSecondaryAction&&{paddingRight:48})),kn=lt("li",{name:"MuiListItem",slot:"Container",overridesResolver:(t,e)=>e.container})({position:"relative"}),Rn=I.forwardRef(function(e,n){const s=Lt({props:e,name:"MuiListItem"}),{alignItems:o="center",autoFocus:r=!1,button:i=!1,children:a,className:c,component:l,components:u={},componentsProps:f={},ContainerComponent:p="li",ContainerProps:{className:m}={},dense:b=!1,disabled:x=!1,disableGutters:C=!1,disablePadding:T=!1,divider:v=!1,focusVisibleClassName:y,secondaryAction:R,selected:w=!1,slotProps:g={},slots:S={}}=s,L=st(s.ContainerProps,An),A=st(s,Pn),j=I.useContext(B),ft=I.useMemo(()=>({dense:b||j.dense||!1,alignItems:o,disableGutters:C}),[o,j.dense,b,C]),pt=I.useRef(null);le(()=>{r&&pt.current&&pt.current.focus()},[r]);const E=I.Children.toArray(a),Ft=E.length&&Ve(E[E.length-1],["ListItemSecondaryAction"]),X=P({},s,{alignItems:o,autoFocus:r,button:i,dense:ft.dense,disabled:x,disableGutters:C,disablePadding:T,divider:v,hasSecondaryAction:Ft,selected:w}),qt=Ln(X),Bt=ue(pt,n),K=S.root||u.Root||jn,H=g.root||f.root||{},N=P({className:z(qt.root,H.className,c),disabled:x},A);let _=l||"li";return i&&(N.component=l||"div",N.focusVisibleClassName=z(F.focusVisible,y),_=ae),Ft?(_=!N.component&&!l?"div":_,p==="li"&&(_==="li"?_="div":N.component==="li"&&(N.component="div")),h.jsx(B.Provider,{value:ft,children:h.jsxs(kn,P({as:p,className:z(qt.container,m),ref:Bt,ownerState:X},L,{children:[h.jsx(K,P({},H,!zt(K)&&{as:_,ownerState:P({},X,H.ownerState)},N,{children:E})),E.pop()]}))})):h.jsx(B.Provider,{value:ft,children:h.jsxs(K,P({},H,{as:_,ref:Bt},!zt(K)&&{ownerState:P({},X,H.ownerState)},N,{children:[E,R&&h.jsx(Sn,{children:R})]}))})}),On=Rn;/**
1
+ var Be=Object.defineProperty;var ze=(t,e,n)=>e in t?Be(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n;var tt=(t,e,n)=>(ze(t,typeof e!="symbol"?e+"":e,n),n);import{g as Pt,a as Tt,Q as lt,cG as ae,cL as He,_ as P,d as M,r as I,U as Lt,f as st,cM as B,aG as le,W as ue,j as h,h as z,i as jt,cg as Ve,cN as zt,P as d,$ as De,t as Ge,bu as Ue,bv as Ht,cs as Qe,cn as We,cO as Ze,br as Je,Z as k,cP as Ye,Y as Xe,cQ as Ke,R as tn,cR as en,a6 as nn,cS as on,bK as de,l as fe,aD as sn,a5 as rn,a7 as cn}from"./index-uucW8lyA.js";import{D as an}from"./index-wM_dFbiP.js";import{L as ln}from"./selector-ckYcvYGI.js";function un(t){return Tt("MuiListItem",t)}const dn=Pt("MuiListItem",["root","container","focusVisible","dense","alignItemsFlexStart","disabled","divider","gutters","padding","button","secondaryAction","selected"]),F=dn;function fn(t){return Tt("MuiListItemButton",t)}const pn=Pt("MuiListItemButton",["root","focusVisible","dense","alignItemsFlexStart","disabled","divider","gutters","selected"]),q=pn,hn=["alignItems","autoFocus","component","children","dense","disableGutters","divider","focusVisibleClassName","selected","className"],gn=(t,e)=>{const{ownerState:n}=t;return[e.root,n.dense&&e.dense,n.alignItems==="flex-start"&&e.alignItemsFlexStart,n.divider&&e.divider,!n.disableGutters&&e.gutters]},mn=t=>{const{alignItems:e,classes:n,dense:s,disabled:o,disableGutters:r,divider:i,selected:a}=t,l=jt({root:["root",s&&"dense",!r&&"gutters",i&&"divider",o&&"disabled",e==="flex-start"&&"alignItemsFlexStart",a&&"selected"]},fn,n);return P({},n,l)},bn=lt(ae,{shouldForwardProp:t=>He(t)||t==="classes",name:"MuiListItemButton",slot:"Root",overridesResolver:gn})(({theme:t,ownerState:e})=>P({display:"flex",flexGrow:1,justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",minWidth:0,boxSizing:"border-box",textAlign:"left",paddingTop:8,paddingBottom:8,transition:t.transitions.create("background-color",{duration:t.transitions.duration.shortest}),"&:hover":{textDecoration:"none",backgroundColor:(t.vars||t).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${q.selected}`]:{backgroundColor:t.vars?`rgba(${t.vars.palette.primary.mainChannel} / ${t.vars.palette.action.selectedOpacity})`:M(t.palette.primary.main,t.palette.action.selectedOpacity),[`&.${q.focusVisible}`]:{backgroundColor:t.vars?`rgba(${t.vars.palette.primary.mainChannel} / calc(${t.vars.palette.action.selectedOpacity} + ${t.vars.palette.action.focusOpacity}))`:M(t.palette.primary.main,t.palette.action.selectedOpacity+t.palette.action.focusOpacity)}},[`&.${q.selected}:hover`]:{backgroundColor:t.vars?`rgba(${t.vars.palette.primary.mainChannel} / calc(${t.vars.palette.action.selectedOpacity} + ${t.vars.palette.action.hoverOpacity}))`:M(t.palette.primary.main,t.palette.action.selectedOpacity+t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:t.vars?`rgba(${t.vars.palette.primary.mainChannel} / ${t.vars.palette.action.selectedOpacity})`:M(t.palette.primary.main,t.palette.action.selectedOpacity)}},[`&.${q.focusVisible}`]:{backgroundColor:(t.vars||t).palette.action.focus},[`&.${q.disabled}`]:{opacity:(t.vars||t).palette.action.disabledOpacity}},e.divider&&{borderBottom:`1px solid ${(t.vars||t).palette.divider}`,backgroundClip:"padding-box"},e.alignItems==="flex-start"&&{alignItems:"flex-start"},!e.disableGutters&&{paddingLeft:16,paddingRight:16},e.dense&&{paddingTop:4,paddingBottom:4})),yn=I.forwardRef(function(e,n){const s=Lt({props:e,name:"MuiListItemButton"}),{alignItems:o="center",autoFocus:r=!1,component:i="div",children:a,dense:c=!1,disableGutters:l=!1,divider:u=!1,focusVisibleClassName:f,selected:p=!1,className:m}=s,b=st(s,hn),x=I.useContext(B),w=I.useMemo(()=>({dense:c||x.dense||!1,alignItems:o,disableGutters:l}),[o,x.dense,c,l]),T=I.useRef(null);le(()=>{r&&T.current&&T.current.focus()},[r]);const v=P({},s,{alignItems:o,dense:w.dense,disableGutters:l,divider:u,selected:p}),y=mn(v),R=ue(T,n);return h.jsx(B.Provider,{value:w,children:h.jsx(bn,P({ref:R,href:b.href||b.to,component:(b.href||b.to)&&i==="div"?"button":i,focusVisibleClassName:z(y.focusVisible,f),ownerState:v,className:z(y.root,m)},b,{classes:y,children:a}))})}),xn=yn;function vn(t){return Tt("MuiListItemSecondaryAction",t)}Pt("MuiListItemSecondaryAction",["root","disableGutters"]);const In=["className"],wn=t=>{const{disableGutters:e,classes:n}=t;return jt({root:["root",e&&"disableGutters"]},vn,n)},Cn=lt("div",{name:"MuiListItemSecondaryAction",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,n.disableGutters&&e.disableGutters]}})(({ownerState:t})=>P({position:"absolute",right:16,top:"50%",transform:"translateY(-50%)"},t.disableGutters&&{right:0})),pe=I.forwardRef(function(e,n){const s=Lt({props:e,name:"MuiListItemSecondaryAction"}),{className:o}=s,r=st(s,In),i=I.useContext(B),a=P({},s,{disableGutters:i.disableGutters}),c=wn(a);return h.jsx(Cn,P({className:z(c.root,o),ownerState:a,ref:n},r))});pe.muiName="ListItemSecondaryAction";const Sn=pe,An=["className"],Pn=["alignItems","autoFocus","button","children","className","component","components","componentsProps","ContainerComponent","ContainerProps","dense","disabled","disableGutters","disablePadding","divider","focusVisibleClassName","secondaryAction","selected","slotProps","slots"],Tn=(t,e)=>{const{ownerState:n}=t;return[e.root,n.dense&&e.dense,n.alignItems==="flex-start"&&e.alignItemsFlexStart,n.divider&&e.divider,!n.disableGutters&&e.gutters,!n.disablePadding&&e.padding,n.button&&e.button,n.hasSecondaryAction&&e.secondaryAction]},Ln=t=>{const{alignItems:e,button:n,classes:s,dense:o,disabled:r,disableGutters:i,disablePadding:a,divider:c,hasSecondaryAction:l,selected:u}=t;return jt({root:["root",o&&"dense",!i&&"gutters",!a&&"padding",c&&"divider",r&&"disabled",n&&"button",e==="flex-start"&&"alignItemsFlexStart",l&&"secondaryAction",u&&"selected"],container:["container"]},un,s)},jn=lt("div",{name:"MuiListItem",slot:"Root",overridesResolver:Tn})(({theme:t,ownerState:e})=>P({display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",width:"100%",boxSizing:"border-box",textAlign:"left"},!e.disablePadding&&P({paddingTop:8,paddingBottom:8},e.dense&&{paddingTop:4,paddingBottom:4},!e.disableGutters&&{paddingLeft:16,paddingRight:16},!!e.secondaryAction&&{paddingRight:48}),!!e.secondaryAction&&{[`& > .${q.root}`]:{paddingRight:48}},{[`&.${F.focusVisible}`]:{backgroundColor:(t.vars||t).palette.action.focus},[`&.${F.selected}`]:{backgroundColor:t.vars?`rgba(${t.vars.palette.primary.mainChannel} / ${t.vars.palette.action.selectedOpacity})`:M(t.palette.primary.main,t.palette.action.selectedOpacity),[`&.${F.focusVisible}`]:{backgroundColor:t.vars?`rgba(${t.vars.palette.primary.mainChannel} / calc(${t.vars.palette.action.selectedOpacity} + ${t.vars.palette.action.focusOpacity}))`:M(t.palette.primary.main,t.palette.action.selectedOpacity+t.palette.action.focusOpacity)}},[`&.${F.disabled}`]:{opacity:(t.vars||t).palette.action.disabledOpacity}},e.alignItems==="flex-start"&&{alignItems:"flex-start"},e.divider&&{borderBottom:`1px solid ${(t.vars||t).palette.divider}`,backgroundClip:"padding-box"},e.button&&{transition:t.transitions.create("background-color",{duration:t.transitions.duration.shortest}),"&:hover":{textDecoration:"none",backgroundColor:(t.vars||t).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${F.selected}:hover`]:{backgroundColor:t.vars?`rgba(${t.vars.palette.primary.mainChannel} / calc(${t.vars.palette.action.selectedOpacity} + ${t.vars.palette.action.hoverOpacity}))`:M(t.palette.primary.main,t.palette.action.selectedOpacity+t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:t.vars?`rgba(${t.vars.palette.primary.mainChannel} / ${t.vars.palette.action.selectedOpacity})`:M(t.palette.primary.main,t.palette.action.selectedOpacity)}}},e.hasSecondaryAction&&{paddingRight:48})),kn=lt("li",{name:"MuiListItem",slot:"Container",overridesResolver:(t,e)=>e.container})({position:"relative"}),Rn=I.forwardRef(function(e,n){const s=Lt({props:e,name:"MuiListItem"}),{alignItems:o="center",autoFocus:r=!1,button:i=!1,children:a,className:c,component:l,components:u={},componentsProps:f={},ContainerComponent:p="li",ContainerProps:{className:m}={},dense:b=!1,disabled:x=!1,disableGutters:w=!1,disablePadding:T=!1,divider:v=!1,focusVisibleClassName:y,secondaryAction:R,selected:C=!1,slotProps:g={},slots:S={}}=s,L=st(s.ContainerProps,An),A=st(s,Pn),j=I.useContext(B),ft=I.useMemo(()=>({dense:b||j.dense||!1,alignItems:o,disableGutters:w}),[o,j.dense,b,w]),pt=I.useRef(null);le(()=>{r&&pt.current&&pt.current.focus()},[r]);const E=I.Children.toArray(a),Ft=E.length&&Ve(E[E.length-1],["ListItemSecondaryAction"]),X=P({},s,{alignItems:o,autoFocus:r,button:i,dense:ft.dense,disabled:x,disableGutters:w,disablePadding:T,divider:v,hasSecondaryAction:Ft,selected:C}),qt=Ln(X),Bt=ue(pt,n),K=S.root||u.Root||jn,H=g.root||f.root||{},N=P({className:z(qt.root,H.className,c),disabled:x},A);let _=l||"li";return i&&(N.component=l||"div",N.focusVisibleClassName=z(F.focusVisible,y),_=ae),Ft?(_=!N.component&&!l?"div":_,p==="li"&&(_==="li"?_="div":N.component==="li"&&(N.component="div")),h.jsx(B.Provider,{value:ft,children:h.jsxs(kn,P({as:p,className:z(qt.container,m),ref:Bt,ownerState:X},L,{children:[h.jsx(K,P({},H,!zt(K)&&{as:_,ownerState:P({},X,H.ownerState)},N,{children:E})),E.pop()]}))})):h.jsx(B.Provider,{value:ft,children:h.jsxs(K,P({},H,{as:_,ref:Bt},!zt(K)&&{ownerState:P({},X,H.ownerState)},N,{children:[E,R&&h.jsx(Sn,{children:R})]}))})}),Mn=Rn;/**
2
2
  * (c) Iconify
3
3
  *
4
4
  * For the full copyright and license information, please view the license.txt
@@ -8,10 +8,10 @@ var Be=Object.defineProperty;var ze=(t,e,n)=>e in t?Be(t,e,{enumerable:!0,config
8
8
  *
9
9
  * @license MIT
10
10
  * @version 1.0.8
11
- */const he=Object.freeze({left:0,top:0,width:16,height:16}),rt=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),W=Object.freeze({...he,...rt}),yt=Object.freeze({...W,body:"",hidden:!1}),Mn=Object.freeze({width:null,height:null}),ge=Object.freeze({...Mn,...rt});function Nn(t,e=0){const n=t.replace(/^-?[0-9.]*/,"");function s(o){for(;o<0;)o+=4;return o%4}if(n===""){const o=parseInt(t);return isNaN(o)?0:s(o)}else if(n!==t){let o=0;switch(n){case"%":o=25;break;case"deg":o=90}if(o){let r=parseFloat(t.slice(0,t.length-n.length));return isNaN(r)?0:(r=r/o,r%1===0?s(r):0)}}return e}const _n=/[\s,]+/;function $n(t,e){e.split(_n).forEach(n=>{switch(n.trim()){case"horizontal":t.hFlip=!0;break;case"vertical":t.vFlip=!0;break}})}const me={...ge,preserveAspectRatio:""};function Vt(t){const e={...me},n=(s,o)=>t.getAttribute(s)||o;return e.width=n("width",null),e.height=n("height",null),e.rotate=Nn(n("rotate","")),$n(e,n("flip","")),e.preserveAspectRatio=n("preserveAspectRatio",n("preserveaspectratio","")),e}function En(t,e){for(const n in me)if(t[n]!==e[n])return!0;return!1}const D=/^[a-z0-9]+(-[a-z0-9]+)*$/,J=(t,e,n,s="")=>{const o=t.split(":");if(t.slice(0,1)==="@"){if(o.length<2||o.length>3)return null;s=o.shift().slice(1)}if(o.length>3||!o.length)return null;if(o.length>1){const a=o.pop(),c=o.pop(),l={provider:o.length>0?o[0]:s,prefix:c,name:a};return e&&!nt(l)?null:l}const r=o[0],i=r.split("-");if(i.length>1){const a={provider:s,prefix:i.shift(),name:i.join("-")};return e&&!nt(a)?null:a}if(n&&s===""){const a={provider:s,prefix:"",name:r};return e&&!nt(a,n)?null:a}return null},nt=(t,e)=>t?!!((t.provider===""||t.provider.match(D))&&(e&&t.prefix===""||t.prefix.match(D))&&t.name.match(D)):!1;function Fn(t,e){const n={};!t.hFlip!=!e.hFlip&&(n.hFlip=!0),!t.vFlip!=!e.vFlip&&(n.vFlip=!0);const s=((t.rotate||0)+(e.rotate||0))%4;return s&&(n.rotate=s),n}function Dt(t,e){const n=Fn(t,e);for(const s in yt)s in rt?s in t&&!(s in n)&&(n[s]=rt[s]):s in e?n[s]=e[s]:s in t&&(n[s]=t[s]);return n}function qn(t,e){const n=t.icons,s=t.aliases||Object.create(null),o=Object.create(null);function r(i){if(n[i])return o[i]=[];if(!(i in o)){o[i]=null;const a=s[i]&&s[i].parent,c=a&&r(a);c&&(o[i]=[a].concat(c))}return o[i]}return(e||Object.keys(n).concat(Object.keys(s))).forEach(r),o}function Bn(t,e,n){const s=t.icons,o=t.aliases||Object.create(null);let r={};function i(a){r=Dt(s[a]||o[a],r)}return i(e),n.forEach(i),Dt(t,r)}function be(t,e){const n=[];if(typeof t!="object"||typeof t.icons!="object")return n;t.not_found instanceof Array&&t.not_found.forEach(o=>{e(o,null),n.push(o)});const s=qn(t);for(const o in s){const r=s[o];r&&(e(o,Bn(t,o,r)),n.push(o))}return n}const zn={provider:"",aliases:{},not_found:{},...he};function ht(t,e){for(const n in e)if(n in t&&typeof t[n]!=typeof e[n])return!1;return!0}function ye(t){if(typeof t!="object"||t===null)return null;const e=t;if(typeof e.prefix!="string"||!t.icons||typeof t.icons!="object"||!ht(t,zn))return null;const n=e.icons;for(const o in n){const r=n[o];if(!o.match(D)||typeof r.body!="string"||!ht(r,yt))return null}const s=e.aliases||Object.create(null);for(const o in s){const r=s[o],i=r.parent;if(!o.match(D)||typeof i!="string"||!n[i]&&!s[i]||!ht(r,yt))return null}return e}const it=Object.create(null);function Hn(t,e){return{provider:t,prefix:e,icons:Object.create(null),missing:new Set}}function M(t,e){const n=it[t]||(it[t]=Object.create(null));return n[e]||(n[e]=Hn(t,e))}function kt(t,e){return ye(e)?be(e,(n,s)=>{s?t.icons[n]=s:t.missing.add(n)}):[]}function Vn(t,e,n){try{if(typeof n.body=="string")return t.icons[e]={...n},!0}catch{}return!1}function Dn(t,e){let n=[];return(typeof t=="string"?[t]:Object.keys(it)).forEach(o=>{(typeof o=="string"&&typeof e=="string"?[e]:Object.keys(it[o]||{})).forEach(i=>{const a=M(o,i);n=n.concat(Object.keys(a.icons).map(c=>(o!==""?"@"+o+":":"")+i+":"+c))})}),n}let U=!1;function xe(t){return typeof t=="boolean"&&(U=t),U}function Q(t){const e=typeof t=="string"?J(t,!0,U):t;if(e){const n=M(e.provider,e.prefix),s=e.name;return n.icons[s]||(n.missing.has(s)?null:void 0)}}function ve(t,e){const n=J(t,!0,U);if(!n)return!1;const s=M(n.provider,n.prefix);return Vn(s,n.name,e)}function Gt(t,e){if(typeof t!="object")return!1;if(typeof e!="string"&&(e=t.provider||""),U&&!e&&!t.prefix){let o=!1;return ye(t)&&(t.prefix="",be(t,(r,i)=>{i&&ve(r,i)&&(o=!0)})),o}const n=t.prefix;if(!nt({provider:e,prefix:n,name:"a"}))return!1;const s=M(e,n);return!!kt(s,t)}function Gn(t){return!!Q(t)}function Un(t){const e=Q(t);return e?{...W,...e}:null}function Qn(t){const e={loaded:[],missing:[],pending:[]},n=Object.create(null);t.sort((o,r)=>o.provider!==r.provider?o.provider.localeCompare(r.provider):o.prefix!==r.prefix?o.prefix.localeCompare(r.prefix):o.name.localeCompare(r.name));let s={provider:"",prefix:"",name:""};return t.forEach(o=>{if(s.name===o.name&&s.prefix===o.prefix&&s.provider===o.provider)return;s=o;const r=o.provider,i=o.prefix,a=o.name,c=n[r]||(n[r]=Object.create(null)),l=c[i]||(c[i]=M(r,i));let u;a in l.icons?u=e.loaded:i===""||l.missing.has(a)?u=e.missing:u=e.pending;const f={provider:r,prefix:i,name:a};u.push(f)}),e}function Ie(t,e){t.forEach(n=>{const s=n.loaderCallbacks;s&&(n.loaderCallbacks=s.filter(o=>o.id!==e))})}function Zn(t){t.pendingCallbacksFlag||(t.pendingCallbacksFlag=!0,setTimeout(()=>{t.pendingCallbacksFlag=!1;const e=t.loaderCallbacks?t.loaderCallbacks.slice(0):[];if(!e.length)return;let n=!1;const s=t.provider,o=t.prefix;e.forEach(r=>{const i=r.icons,a=i.pending.length;i.pending=i.pending.filter(c=>{if(c.prefix!==o)return!0;const l=c.name;if(t.icons[l])i.loaded.push({provider:s,prefix:o,name:l});else if(t.missing.has(l))i.missing.push({provider:s,prefix:o,name:l});else return n=!0,!0;return!1}),i.pending.length!==a&&(n||Ie([t],r.id),r.callback(i.loaded.slice(0),i.missing.slice(0),i.pending.slice(0),r.abort))})}))}let Wn=0;function Jn(t,e,n){const s=Wn++,o=Ie.bind(null,n,s);if(!e.pending.length)return o;const r={id:s,icons:e,callback:t,abort:o};return n.forEach(i=>{(i.loaderCallbacks||(i.loaderCallbacks=[])).push(r)}),o}const xt=Object.create(null);function Ut(t,e){xt[t]=e}function vt(t){return xt[t]||xt[""]}function Yn(t,e=!0,n=!1){const s=[];return t.forEach(o=>{const r=typeof o=="string"?J(o,e,n):o;r&&s.push(r)}),s}var Xn={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function Kn(t,e,n,s){const o=t.resources.length,r=t.random?Math.floor(Math.random()*o):t.index;let i;if(t.random){let g=t.resources.slice(0);for(i=[];g.length>1;){const S=Math.floor(Math.random()*g.length);i.push(g[S]),g=g.slice(0,S).concat(g.slice(S+1))}i=i.concat(g)}else i=t.resources.slice(r).concat(t.resources.slice(0,r));const a=Date.now();let c="pending",l=0,u,f=null,p=[],m=[];typeof s=="function"&&m.push(s);function b(){f&&(clearTimeout(f),f=null)}function x(){c==="pending"&&(c="aborted"),b(),p.forEach(g=>{g.status==="pending"&&(g.status="aborted")}),p=[]}function C(g,S){S&&(m=[]),typeof g=="function"&&m.push(g)}function T(){return{startTime:a,payload:e,status:c,queriesSent:l,queriesPending:p.length,subscribe:C,abort:x}}function v(){c="failed",m.forEach(g=>{g(void 0,u)})}function y(){p.forEach(g=>{g.status==="pending"&&(g.status="aborted")}),p=[]}function R(g,S,L){const A=S!=="success";switch(p=p.filter(j=>j!==g),c){case"pending":break;case"failed":if(A||!t.dataAfterTimeout)return;break;default:return}if(S==="abort"){u=L,v();return}if(A){u=L,p.length||(i.length?w():v());return}if(b(),y(),!t.random){const j=t.resources.indexOf(g.resource);j!==-1&&j!==t.index&&(t.index=j)}c="completed",m.forEach(j=>{j(L)})}function w(){if(c!=="pending")return;b();const g=i.shift();if(g===void 0){if(p.length){f=setTimeout(()=>{b(),c==="pending"&&(y(),v())},t.timeout);return}v();return}const S={status:"pending",resource:g,callback:(L,A)=>{R(S,L,A)}};p.push(S),l++,f=setTimeout(w,t.rotate),n(g,e,S.callback)}return setTimeout(w),T}function Ce(t){const e={...Xn,...t};let n=[];function s(){n=n.filter(a=>a().status==="pending")}function o(a,c,l){const u=Kn(e,a,c,(f,p)=>{s(),l&&l(f,p)});return n.push(u),u}function r(a){return n.find(c=>a(c))||null}return{query:o,find:r,setIndex:a=>{e.index=a},getIndex:()=>e.index,cleanup:s}}function Rt(t){let e;if(typeof t.resources=="string")e=[t.resources];else if(e=t.resources,!(e instanceof Array)||!e.length)return null;return{resources:e,path:t.path||"/",maxURL:t.maxURL||500,rotate:t.rotate||750,timeout:t.timeout||5e3,random:t.random===!0,index:t.index||0,dataAfterTimeout:t.dataAfterTimeout!==!1}}const ut=Object.create(null),V=["https://api.simplesvg.com","https://api.unisvg.com"],ot=[];for(;V.length>0;)V.length===1||Math.random()>.5?ot.push(V.shift()):ot.push(V.pop());ut[""]=Rt({resources:["https://api.iconify.design"].concat(ot)});function Qt(t,e){const n=Rt(e);return n===null?!1:(ut[t]=n,!0)}function dt(t){return ut[t]}function to(){return Object.keys(ut)}function Zt(){}const gt=Object.create(null);function eo(t){if(!gt[t]){const e=dt(t);if(!e)return;const n=Ce(e),s={config:e,redundancy:n};gt[t]=s}return gt[t]}function we(t,e,n){let s,o;if(typeof t=="string"){const r=vt(t);if(!r)return n(void 0,424),Zt;o=r.send;const i=eo(t);i&&(s=i.redundancy)}else{const r=Rt(t);if(r){s=Ce(r);const i=t.resources?t.resources[0]:"",a=vt(i);a&&(o=a.send)}}return!s||!o?(n(void 0,424),Zt):s.query(e,o,n)().abort}const Wt="iconify2",Z="iconify",Se=Z+"-count",Jt=Z+"-version",Ae=36e5,no=168;function It(t,e){try{return t.getItem(e)}catch{}}function Ot(t,e,n){try{return t.setItem(e,n),!0}catch{}}function Yt(t,e){try{t.removeItem(e)}catch{}}function Ct(t,e){return Ot(t,Se,e.toString())}function wt(t){return parseInt(It(t,Se))||0}const $={local:!0,session:!0},Pe={local:new Set,session:new Set};let Mt=!1;function oo(t){Mt=t}let et=typeof window>"u"?{}:window;function Te(t){const e=t+"Storage";try{if(et&&et[e]&&typeof et[e].length=="number")return et[e]}catch{}$[t]=!1}function Le(t,e){const n=Te(t);if(!n)return;const s=It(n,Jt);if(s!==Wt){if(s){const a=wt(n);for(let c=0;c<a;c++)Yt(n,Z+c.toString())}Ot(n,Jt,Wt),Ct(n,0);return}const o=Math.floor(Date.now()/Ae)-no,r=a=>{const c=Z+a.toString(),l=It(n,c);if(typeof l=="string"){try{const u=JSON.parse(l);if(typeof u=="object"&&typeof u.cached=="number"&&u.cached>o&&typeof u.provider=="string"&&typeof u.data=="object"&&typeof u.data.prefix=="string"&&e(u,a))return!0}catch{}Yt(n,c)}};let i=wt(n);for(let a=i-1;a>=0;a--)r(a)||(a===i-1?(i--,Ct(n,i)):Pe[t].add(a))}function je(){if(!Mt){oo(!0);for(const t in $)Le(t,e=>{const n=e.data,s=e.provider,o=n.prefix,r=M(s,o);if(!kt(r,n).length)return!1;const i=n.lastModified||-1;return r.lastModifiedCached=r.lastModifiedCached?Math.min(r.lastModifiedCached,i):i,!0})}}function so(t,e){const n=t.lastModifiedCached;if(n&&n>=e)return n===e;if(t.lastModifiedCached=e,n)for(const s in $)Le(s,o=>{const r=o.data;return o.provider!==t.provider||r.prefix!==t.prefix||r.lastModified===e});return!0}function ro(t,e){Mt||je();function n(s){let o;if(!$[s]||!(o=Te(s)))return;const r=Pe[s];let i;if(r.size)r.delete(i=Array.from(r).shift());else if(i=wt(o),!Ct(o,i+1))return;const a={cached:Math.floor(Date.now()/Ae),provider:t.provider,data:e};return Ot(o,Z+i.toString(),JSON.stringify(a))}e.lastModified&&!so(t,e.lastModified)||Object.keys(e.icons).length&&(e.not_found&&(e=Object.assign({},e),delete e.not_found),n("local")||n("session"))}function Xt(){}function io(t){t.iconsLoaderFlag||(t.iconsLoaderFlag=!0,setTimeout(()=>{t.iconsLoaderFlag=!1,Zn(t)}))}function co(t,e){t.iconsToLoad?t.iconsToLoad=t.iconsToLoad.concat(e).sort():t.iconsToLoad=e,t.iconsQueueFlag||(t.iconsQueueFlag=!0,setTimeout(()=>{t.iconsQueueFlag=!1;const{provider:n,prefix:s}=t,o=t.iconsToLoad;delete t.iconsToLoad;let r;if(!o||!(r=vt(n)))return;r.prepare(n,s,o).forEach(a=>{we(n,a,c=>{if(typeof c!="object")a.icons.forEach(l=>{t.missing.add(l)});else try{const l=kt(t,c);if(!l.length)return;const u=t.pendingIcons;u&&l.forEach(f=>{u.delete(f)}),ro(t,c)}catch(l){console.error(l)}io(t)})})}))}const Nt=(t,e)=>{const n=Yn(t,!0,xe()),s=Qn(n);if(!s.pending.length){let c=!0;return e&&setTimeout(()=>{c&&e(s.loaded,s.missing,s.pending,Xt)}),()=>{c=!1}}const o=Object.create(null),r=[];let i,a;return s.pending.forEach(c=>{const{provider:l,prefix:u}=c;if(u===a&&l===i)return;i=l,a=u,r.push(M(l,u));const f=o[l]||(o[l]=Object.create(null));f[u]||(f[u]=[])}),s.pending.forEach(c=>{const{provider:l,prefix:u,name:f}=c,p=M(l,u),m=p.pendingIcons||(p.pendingIcons=new Set);m.has(f)||(m.add(f),o[l][u].push(f))}),r.forEach(c=>{const{provider:l,prefix:u}=c;o[l][u].length&&co(c,o[l][u])}),e?Jn(e,s,r):Xt},ao=t=>new Promise((e,n)=>{const s=typeof t=="string"?J(t,!0):t;if(!s){n(t);return}Nt([s||t],o=>{if(o.length&&s){const r=Q(s);if(r){e({...W,...r});return}}n(t)})});function lo(t){try{const e=typeof t=="string"?JSON.parse(t):t;if(typeof e.body=="string")return{...e}}catch{}}function uo(t,e){const n=typeof t=="string"?J(t,!0,!0):null;if(!n){const r=lo(t);return{value:t,data:r}}const s=Q(n);if(s!==void 0||!n.prefix)return{value:t,name:n,data:s};const o=Nt([n],()=>e(t,n,Q(n)));return{value:t,name:n,loading:o}}function mt(t){return t.hasAttribute("inline")}let ke=!1;try{ke=navigator.vendor.indexOf("Apple")===0}catch{}function fo(t,e){switch(e){case"svg":case"bg":case"mask":return e}return e!=="style"&&(ke||t.indexOf("<a")===-1)?"svg":t.indexOf("currentColor")===-1?"bg":"mask"}const po=/(-?[0-9.]*[0-9]+[0-9.]*)/g,ho=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function St(t,e,n){if(e===1)return t;if(n=n||100,typeof t=="number")return Math.ceil(t*e*n)/n;if(typeof t!="string")return t;const s=t.split(po);if(s===null||!s.length)return t;const o=[];let r=s.shift(),i=ho.test(r);for(;;){if(i){const a=parseFloat(r);isNaN(a)?o.push(r):o.push(Math.ceil(a*e*n)/n)}else o.push(r);if(r=s.shift(),r===void 0)return o.join("");i=!i}}const go=t=>t==="unset"||t==="undefined"||t==="none";function Re(t,e){const n={...W,...t},s={...ge,...e},o={left:n.left,top:n.top,width:n.width,height:n.height};let r=n.body;[n,s].forEach(b=>{const x=[],C=b.hFlip,T=b.vFlip;let v=b.rotate;C?T?v+=2:(x.push("translate("+(o.width+o.left).toString()+" "+(0-o.top).toString()+")"),x.push("scale(-1 1)"),o.top=o.left=0):T&&(x.push("translate("+(0-o.left).toString()+" "+(o.height+o.top).toString()+")"),x.push("scale(1 -1)"),o.top=o.left=0);let y;switch(v<0&&(v-=Math.floor(v/4)*4),v=v%4,v){case 1:y=o.height/2+o.top,x.unshift("rotate(90 "+y.toString()+" "+y.toString()+")");break;case 2:x.unshift("rotate(180 "+(o.width/2+o.left).toString()+" "+(o.height/2+o.top).toString()+")");break;case 3:y=o.width/2+o.left,x.unshift("rotate(-90 "+y.toString()+" "+y.toString()+")");break}v%2===1&&(o.left!==o.top&&(y=o.left,o.left=o.top,o.top=y),o.width!==o.height&&(y=o.width,o.width=o.height,o.height=y)),x.length&&(r='<g transform="'+x.join(" ")+'">'+r+"</g>")});const i=s.width,a=s.height,c=o.width,l=o.height;let u,f;i===null?(f=a===null?"1em":a==="auto"?l:a,u=St(f,c/l)):(u=i==="auto"?c:i,f=a===null?St(u,l/c):a==="auto"?l:a);const p={},m=(b,x)=>{go(x)||(p[b]=x.toString())};return m("width",u),m("height",f),p.viewBox=o.left.toString()+" "+o.top.toString()+" "+c.toString()+" "+l.toString(),{attributes:p,body:r}}const mo=()=>{let t;try{if(t=fetch,typeof t=="function")return t}catch{}};let ct=mo();function bo(t){ct=t}function yo(){return ct}function xo(t,e){const n=dt(t);if(!n)return 0;let s;if(!n.maxURL)s=0;else{let o=0;n.resources.forEach(i=>{o=Math.max(o,i.length)});const r=e+".json?icons=";s=n.maxURL-o-n.path.length-r.length}return s}function vo(t){return t===404}const Io=(t,e,n)=>{const s=[],o=xo(t,e),r="icons";let i={type:r,provider:t,prefix:e,icons:[]},a=0;return n.forEach((c,l)=>{a+=c.length+1,a>=o&&l>0&&(s.push(i),i={type:r,provider:t,prefix:e,icons:[]},a=c.length),i.icons.push(c)}),s.push(i),s};function Co(t){if(typeof t=="string"){const e=dt(t);if(e)return e.path}return"/"}const wo=(t,e,n)=>{if(!ct){n("abort",424);return}let s=Co(e.provider);switch(e.type){case"icons":{const r=e.prefix,a=e.icons.join(","),c=new URLSearchParams({icons:a});s+=r+".json?"+c.toString();break}case"custom":{const r=e.uri;s+=r.slice(0,1)==="/"?r.slice(1):r;break}default:n("abort",400);return}let o=503;ct(t+s).then(r=>{const i=r.status;if(i!==200){setTimeout(()=>{n(vo(i)?"abort":"next",i)});return}return o=501,r.json()}).then(r=>{if(typeof r!="object"||r===null){setTimeout(()=>{r===404?n("abort",r):n("next",o)});return}setTimeout(()=>{n("success",r)})}).catch(()=>{n("next",o)})},So={prepare:Io,send:wo};function Kt(t,e){switch(t){case"local":case"session":$[t]=e;break;case"all":for(const n in $)$[n]=e;break}}const bt="data-style";let Oe="";function Ao(t){Oe=t}function te(t,e){let n=Array.from(t.childNodes).find(s=>s.hasAttribute&&s.hasAttribute(bt));n||(n=document.createElement("style"),n.setAttribute(bt,bt),t.appendChild(n)),n.textContent=":host{display:inline-block;vertical-align:"+(e?"-0.125em":"0")+"}span,svg{display:block}"+Oe}function Me(){Ut("",So),xe(!0);let t;try{t=window}catch{}if(t){if(je(),t.IconifyPreload!==void 0){const n=t.IconifyPreload,s="Invalid IconifyPreload syntax.";typeof n=="object"&&n!==null&&(n instanceof Array?n:[n]).forEach(o=>{try{(typeof o!="object"||o===null||o instanceof Array||typeof o.icons!="object"||typeof o.prefix!="string"||!Gt(o))&&console.error(s)}catch{console.error(s)}})}if(t.IconifyProviders!==void 0){const n=t.IconifyProviders;if(typeof n=="object"&&n!==null)for(const s in n){const o="IconifyProviders["+s+"] is invalid.";try{const r=n[s];if(typeof r!="object"||!r||r.resources===void 0)continue;Qt(s,r)||console.error(o)}catch{console.error(o)}}}}return{enableCache:n=>Kt(n,!0),disableCache:n=>Kt(n,!1),iconExists:Gn,getIcon:Un,listIcons:Dn,addIcon:ve,addCollection:Gt,calculateSize:St,buildIcon:Re,loadIcons:Nt,loadIcon:ao,addAPIProvider:Qt,appendCustomStyle:Ao,_api:{getAPIConfig:dt,setAPIModule:Ut,sendAPIQuery:we,setFetch:bo,getFetch:yo,listAPIProviders:to}}}function Ne(t,e){let n=t.indexOf("xlink:")===-1?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(const s in e)n+=" "+s+'="'+e[s]+'"';return'<svg xmlns="http://www.w3.org/2000/svg"'+n+">"+t+"</svg>"}function Po(t){return t.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}function To(t){return"data:image/svg+xml,"+Po(t)}function Lo(t){return'url("'+To(t)+'")'}const At={"background-color":"currentColor"},_e={"background-color":"transparent"},ee={image:"var(--svg)",repeat:"no-repeat",size:"100% 100%"},ne={"-webkit-mask":At,mask:At,background:_e};for(const t in ne){const e=ne[t];for(const n in ee)e[t+"-"+n]=ee[n]}function oe(t){return t?t+(t.match(/^[-0-9.]+$/)?"px":""):"inherit"}function jo(t,e,n){const s=document.createElement("span");let o=t.body;o.indexOf("<a")!==-1&&(o+="<!-- "+Date.now()+" -->");const r=t.attributes,i=Ne(o,{...r,width:e.width+"",height:e.height+""}),a=Lo(i),c=s.style,l={"--svg":a,width:oe(r.width),height:oe(r.height),...n?At:_e};for(const u in l)c.setProperty(u,l[u]);return s}let G;function ko(){try{G=window.trustedTypes.createPolicy("iconify",{createHTML:t=>t})}catch{G=null}}function Ro(t){return G===void 0&&ko(),G?G.createHTML(t):t}function Oo(t){const e=document.createElement("span"),n=t.attributes;let s="";n.width||(s="width: inherit;"),n.height||(s+="height: inherit;"),s&&(n.style=s);const o=Ne(t.body,n);return e.innerHTML=Ro(o),e.firstChild}function se(t,e){const n=e.icon.data,s=e.customisations,o=Re(n,s);s.preserveAspectRatio&&(o.attributes.preserveAspectRatio=s.preserveAspectRatio);const r=e.renderedMode;let i;switch(r){case"svg":i=Oo(o);break;default:i=jo(o,{...W,...n},r==="mask")}const a=Array.from(t.childNodes).find(c=>{const l=c.tagName&&c.tagName.toUpperCase();return l==="SPAN"||l==="SVG"});a?i.tagName==="SPAN"&&a.tagName===i.tagName?a.setAttribute("style",i.getAttribute("style")):t.replaceChild(i,a):t.appendChild(i)}function re(t,e,n){const s=n&&(n.rendered?n:n.lastRender);return{rendered:!1,inline:e,icon:t,lastRender:s}}function Mo(t="iconify-icon"){let e,n;try{e=window.customElements,n=window.HTMLElement}catch{return}if(!e||!n)return;const s=e.get(t);if(s)return s;const o=["icon","mode","inline","width","height","rotate","flip"],r=class extends n{constructor(){super();tt(this,"_shadowRoot");tt(this,"_state");tt(this,"_checkQueued",!1);const c=this._shadowRoot=this.attachShadow({mode:"open"}),l=mt(this);te(c,l),this._state=re({value:""},l),this._queueCheck()}static get observedAttributes(){return o.slice(0)}attributeChangedCallback(c){if(c==="inline"){const l=mt(this),u=this._state;l!==u.inline&&(u.inline=l,te(this._shadowRoot,l))}else this._queueCheck()}get icon(){const c=this.getAttribute("icon");if(c&&c.slice(0,1)==="{")try{return JSON.parse(c)}catch{}return c}set icon(c){typeof c=="object"&&(c=JSON.stringify(c)),this.setAttribute("icon",c)}get inline(){return mt(this)}set inline(c){c?this.setAttribute("inline","true"):this.removeAttribute("inline")}restartAnimation(){const c=this._state;if(c.rendered){const l=this._shadowRoot;if(c.renderedMode==="svg")try{l.lastChild.setCurrentTime(0);return}catch{}se(l,c)}}get status(){const c=this._state;return c.rendered?"rendered":c.icon.data===null?"failed":"loading"}_queueCheck(){this._checkQueued||(this._checkQueued=!0,setTimeout(()=>{this._check()}))}_check(){if(!this._checkQueued)return;this._checkQueued=!1;const c=this._state,l=this.getAttribute("icon");if(l!==c.icon.value){this._iconChanged(l);return}if(!c.rendered)return;const u=this.getAttribute("mode"),f=Vt(this);(c.attrMode!==u||En(c.customisations,f))&&this._renderIcon(c.icon,f,u)}_iconChanged(c){const l=uo(c,(u,f,p)=>{const m=this._state;if(m.rendered||this.getAttribute("icon")!==u)return;const b={value:u,name:f,data:p};b.data?this._gotIconData(b):m.icon=b});l.data?this._gotIconData(l):this._state=re(l,this._state.inline,this._state)}_gotIconData(c){this._checkQueued=!1,this._renderIcon(c,Vt(this),this.getAttribute("mode"))}_renderIcon(c,l,u){const f=fo(c.data.body,u),p=this._state.inline;se(this._shadowRoot,this._state={rendered:!0,icon:c,inline:p,customisations:l,attrMode:u,renderedMode:f})}};o.forEach(a=>{a in r.prototype||Object.defineProperty(r.prototype,a,{get:function(){return this.getAttribute(a)},set:function(c){c!==null?this.setAttribute(a,c):this.removeAttribute(a)}})});const i=Me();for(const a in i)r[a]=r.prototype[a]=i[a];return e.define(t,r),r}Mo()||Me();const No=d.shape({appLogo:d.node,appName:d.string,theme:d.shape({background:d.string}),enableConnect:d.bool,enableLocale:d.bool,navigation:d.arrayOf(d.shape({title:d.oneOfType([d.string,d.object]),link:d.oneOfType([d.string,d.object]),icon:d.string,items:d.arrayOf(d.shape({title:d.oneOfType([d.string,d.object]),link:d.oneOfType([d.string,d.object])}))}))}),$e=d.shape({showText:d.bool,showRole:d.bool,switchDid:d.bool,switchProfile:d.bool,switchPassport:d.bool,disableLogout:d.bool,onLogin:d.func,onLogout:d.func,onSwitchDid:d.func,onSwitchProfile:d.func,onSwitchPassport:d.func,menu:d.array,menuRender:d.func,dark:d.bool,size:d.number}),Y=(t,e,n="children")=>t.map(s=>Array.isArray(s[n])?e({...s,[n]:Y(s[n],e,n)}):e(s)),_o=(t,e="children")=>{const n=[];return Y(t,s=>n.push(s),e),n},_t=(t,e,n="children")=>t.map(s=>({...s})).filter(s=>{const o=s[n];if(Array.isArray(o)){const i=_t(o,e,n);s[n]=i!=null&&i.length?i:void 0}const r={filteredChildren:s[n],isLeaf:!(o!=null&&o.length)};return e(s,r)}),$o=t=>/^https?:\/\//.test(t),Yo=t=>/^[\w-]+:[\w-]+$/.test(t),Eo=t=>{if(!t||!(t!=null&&t.startsWith("/")))return!1;const e=o=>o.endsWith("/")?o:`${o}/`,n=e(window.location.pathname),s=e(new URL(t,window.location.origin).pathname);return n.startsWith(s)},Fo=(t=[])=>{const e=t.map((s,o)=>({path:s,index:o})).filter(s=>Eo(s.path));return e!=null&&e.length?e.slice(1).reduce((s,o)=>s.path.length>=o.path.length?s:o,e[0]).index:-1};var ie,ce;const at=((ie=window==null?void 0:window.blocklet)==null?void 0:ie.groupPrefix)||((ce=window==null?void 0:window.blocklet)==null?void 0:ce.prefix)||"/",qo=t=>{const e={...t},n=t==null?void 0:t.background;return typeof n=="string"?e.background={header:n,footer:n,default:n}:n&&typeof n=="object"&&(e.background={header:n.header||n.default,footer:n.footer||n.default,default:n.default}),e},Ee=(t,e="en")=>{if(!(t!=null&&t.length))return t;const n=(o,r)=>typeof o=="string"?o:typeof o=="object"?o[r]||(o==null?void 0:o.en)||(o==null?void 0:o.zh):o,s=(o,r)=>{if(typeof o=="string"){if($o(o)){const a=new URL(o);return a.searchParams.set("locale",r),a.href}const i=new URL(o,window.location.origin);return i.searchParams.set("locale",r),i.pathname+i.search}return typeof o=="object"?o[r]||(o==null?void 0:o.en)||(o==null?void 0:o.zh):o};return Y(t,o=>{var r;return{...o,title:n(o.title,e),link:(r=o.items)!=null&&r.length?o.link:s(o.link,e),_rawLink:o.link}},"items")},Bo=t=>Y(t,e=>e.role?{...e,role:Array.isArray(e.role)?e.role:[e.role]}:e,"items"),zo=t=>{if(!(t!=null&&t.length))return null;const e=Bo(t),n={header:[],footer:[],social:[],bottom:[],dashboard:[],sessionManager:[],userCenter:[]};return e.forEach(s=>{var o;s.section?Array.isArray(s.section)?s.section.forEach(r=>{var i;(i=n[r])==null||i.push(s)}):typeof s.section=="string"&&((o=n[s.section])==null||o.push(s)):n.header.push(s)}),n},Ho=t=>{if(!t)return null;const e={...t};return e.theme=qo(e.theme),e.navigation=zo(Vo(e.navigation)),e},Vo=(t=[])=>_t(t,(e,n)=>{var s;return!!e.link||((s=n.filteredChildren)==null?void 0:s.length)},"items"),Fe=(t,e)=>_t(t,(n,s)=>{var r;const o=!n.role||e&&n.role.includes(e);return s.isLeaf?o:o&&((r=s.filteredChildren)==null?void 0:r.length)},"items"),Do={top:-960,width:960,height:960,body:'<path fill="currentColor" d="M510-600v-210q0-12.75 8.625-21.375T540-840h270q12.75 0 21.375 8.625T840-810v210q0 12.75-8.625 21.375T810-570H540q-12.75 0-21.375-8.625T510-600M120-480v-330q0-12.75 8.625-21.375T150-840h270q12.75 0 21.375 8.625T450-810v330q0 12.75-8.625 21.375T420-450H150q-12.75 0-21.375-8.625T120-480m390 330v-330q0-12.75 8.625-21.375T540-510h270q12.75 0 21.375 8.625T840-480v330q0 12.75-8.625 21.375T810-120H540q-12.75 0-21.375-8.625T510-150m-390 0v-210q0-12.75 8.625-21.375T150-390h270q12.75 0 21.375 8.625T450-360v210q0 12.75-8.625 21.375T420-120H150q-12.75 0-21.375-8.625T120-150m60-360h210v-270H180zm390 330h210v-270H570zm0-450h210v-150H570zM180-180h210v-150H180zm210-150"/>'},Go={width:24,height:24,body:'<path fill="currentColor" d="M15.95 12.3L11.7 8.05q-.15-.15-.212-.325t-.063-.375q0-.2.063-.375t.212-.325l4.25-4.25q.15-.15.325-.212t.375-.063q.2 0 .375.063t.325.212l4.25 4.25q.15.15.213.325t.062.375q0 .2-.063.375t-.212.325l-4.25 4.25q-.15.15-.325.213t-.375.062q-.2 0-.375-.062t-.325-.213ZM3 10V4q0-.425.288-.713T4 3h6q.425 0 .713.288T11 4v6q0 .425-.288.713T10 11H4q-.425 0-.713-.288T3 10Zm10 10v-6q0-.425.288-.713T14 13h6q.425 0 .713.288T21 14v6q0 .425-.288.713T20 21h-6q-.425 0-.713-.288T13 20ZM3 20v-6q0-.425.288-.713T4 13h6q.425 0 .713.288T11 14v6q0 .425-.288.713T10 21H4q-.425 0-.713-.288T3 20ZM5 9h4V5H5v4Zm11.675 1.2L19.5 7.375L16.675 4.55L13.85 7.375l2.825 2.825ZM15 19h4v-4h-4v4ZM5 19h4v-4H5v4ZM9 9Zm4.85-1.625ZM9 15Zm6 0Z"/>'};function $t({session:t,locale:e,size:n}){const s=(window==null?void 0:window.blocklet)||{},o=(s.navigation||[]).filter(c=>c.section==="sessionManager"&&!["/sessionManager"].includes(c.id)).filter(c=>{var l;return!!((c==null?void 0:c.role)||[]).includes(((l=t==null?void 0:t.user)==null?void 0:l.role)||"guest")}).map(c=>{const l=((s==null?void 0:s.componentMountPoints)||[]).find(u=>c.component===u.name);return{...c,component:l}}),r=I.useRef(null),i=De({open:!1}),a=Ge((c=!i.open)=>{i.open=c});return o.length===0||!(t!=null&&t.user)?null:h.jsxs(h.Fragment,{children:[h.jsx(Ue,{size:"medium",ref:r,onClick:()=>a(),children:h.jsx(Ht,{icon:Do,fontSize:n,style:{transform:"scale(1.08)"}})}),h.jsx(Qe,{open:i.open,onClose:()=>a(!1),anchorEl:r.current,transition:!0,placement:"bottom-end",sx:{zIndex:1600},children:({TransitionProps:c})=>h.jsx(Ze,{onClickAway:l=>{l.preventDefault(),l.stopPropagation(),a(!1)},children:h.jsx(We,{...c,timeout:350,children:h.jsxs(Je,{variant:"outlined",sx:{borderRadius:3,width:350,maxWidth:"90vw",borderColor:k.lineStep,p:2,border:"0 !important",boxShadow:`0px 8px 16px 0px ${k.gray6}, 0px 0px 0px 1px ${k.gray6}`},children:[h.jsx(Ye,{sx:{display:"grid",gridTemplateColumns:"repeat(auto-fill, 100px)",gridAutoRows:"minmax(100px, max-content)",justifyContent:"space-between",maxHeight:350,overflowY:"auto",p:0},children:o.map(l=>{var u,f;return h.jsx(On,{disablePadding:!0,children:h.jsxs(xn,{href:l.link,sx:{p:1,display:"flex",flexDirection:"column",alignItems:"center",gap:1,width:"100%",height:"100%",borderRadius:2,"&:hover":{backgroundColor:k.surfacePrimarySubtitle}},children:[(u=l==null?void 0:l.component)!=null&&u.did?h.jsx(Xe,{component:"img",src:`${Ke}/blocklet/logo-bundle/${l.component.did}`,sx:{borderRadius:2,width:50,height:50,objectFit:"contain"}}):h.jsx(Ht,{fontSize:50,icon:l.icon||Go,color:k.textSubtitle}),h.jsx(tn,{sx:{fontSize:"12px",color:k.textBase,textAlign:"center",lineHeight:"normal"},children:((f=l.title)==null?void 0:f.zh)||l.title})]})},l.id)})}),h.jsx(en,{session:t,children:h.jsx(nn,{variant:"outlined",fullWidth:!0,href:on,sx:{mt:1,borderRadius:2,color:k.textBase,borderColor:k.lineBorderStrong,"&:hover":{color:k.primaryBase,borderColor:k.primaryBase}},children:e==="zh"?"管理":"Manage"})})]})})})})]})}$t.propTypes={session:d.object.isRequired,locale:d.string,size:d.number};$t.defaultProps={locale:"en",size:24};function Et({formattedBlocklet:t,addons:e,sessionManagerProps:n}){var p,m,b,x;const s=I.useContext(de),{locale:o}=fe()||{},{enableConnect:r=!0,enableLocale:i=!0}=t,a=!!((p=s==null?void 0:s.session)!=null&&p.user);let c=Ee((m=t==null?void 0:t.navigation)==null?void 0:m.sessionManager,o)||[];c=Fe(c,(x=(b=s==null?void 0:s.session)==null?void 0:b.user)==null?void 0:x.role);const u=(()=>{if(e&&typeof e!="function")return Array.isArray(e)?e:[e];let C=[];if(i&&o&&C.push(h.jsx(ln,{showText:!1},"locale-selector")),r&&s){const T=[];a&&(c?c.slice(0,5):[]).forEach(y=>{T.push({label:y.title,icon:y.icon?h.jsx("iconify-icon",{icon:y.icon,height:24,style:{marginRight:8}}):null,component:"a",href:y.link,key:y.link})}),C.push(h.jsx($t,{session:s.session,locale:o},"session-blocklet")),C.push(h.jsx(sn,{session:s.session,locale:o,menu:T,showRole:!0,...n},"session-user"))}return typeof e=="function"&&(C=e(C)||[]),C})();return I.createElement(h.Fragment,null,...Array.isArray(u)?u:[u])}Et.propTypes={formattedBlocklet:d.object.isRequired,addons:d.oneOfType([d.func,d.node]),sessionManagerProps:$e};Et.defaultProps={addons:null,sessionManagerProps:{showRole:!0}};const Uo=()=>{const t=rn();I.useEffect(()=>{t.wallet&&cn(()=>import("./index-ktOfCEiQ.js").then(e=>e.i),__vite__mapDeps([0,1,2])).then(e=>{e.call||(e=e.default),e.call("arcHideTopBar","{}")}).catch(e=>{console.error("load dsbridge error",e)})},[t])};function qe({meta:t,fallbackUrl:e,invalidPathFallback:n,headerAddons:s,sessionManagerProps:o,links:r,...i}){var R;Uo();const a=I.useContext(de),c=(R=a==null?void 0:a.session)==null?void 0:R.user,l=c==null?void 0:c.role,{locale:u}=fe()||{},f=I.useMemo(()=>{const w=Object.assign({},window.blocklet,t);try{return Ho(w)}catch(g){return console.error("Failed to format blocklet info",g,w),w}},[t]),{localizedNav:p,flattened:m,matchedIndex:b}=I.useMemo(()=>{var L;let w=Ee((L=f==null?void 0:f.navigation)==null?void 0:L.dashboard,u)||[];w=Fe(w,l),w=Y(w,A=>({title:A.title,url:A.link,icon:A.icon?h.jsx("iconify-icon",{height:"100%",width:"100%",icon:A.icon}):null,external:!0,children:A.items}),"items");const g=_o(w).filter(A=>!!A.url),S=Fo(g.map(A=>A.url));return S!==-1&&(g[S].active=!0),{localizedNav:w,flattened:g,matchedIndex:S}},[f,u,l]),x=typeof r=="function"?r(p):[...p,...r];if(I.useLayoutEffect(()=>{c&&!(m!=null&&m.length)&&e&&(window.location.href=e)},[e]),I.useLayoutEffect(()=>{var w;c&&(m!=null&&m.length)&&b===-1&&(n?n():window.location.href=((w=m[0])==null?void 0:w.url)||at)},[n,m,b]),!f.appName)return null;const{appLogo:C,appLogoRect:T,appName:v}=f,y=h.jsx(Et,{formattedBlocklet:f,addons:s,sessionManagerProps:o});return h.jsx(an,{title:v,fullWidth:!0,sidebarWidth:128,legacy:!1,links:x,...i,headerProps:{homeLink:at,logo:h.jsx("img",{src:T||C,alt:"logo"}),addons:y,...i.headerProps}})}qe.propTypes={meta:No,fallbackUrl:d.string,invalidPathFallback:d.func,headerAddons:d.oneOfType([d.func,d.node]),sessionManagerProps:$e,links:d.oneOfType([d.array,d.func])};qe.defaultProps={meta:{},fallbackUrl:at,invalidPathFallback:null,headerAddons:void 0,sessionManagerProps:{showRole:!0,onLogout:()=>{window.location.href=at}},links:[]};export{qe as D,Et as H,Yo as a,No as b,_o as c,Fo as d,Ho as f,Ee as g,$o as i,Y as m,at as p,$e as s,Uo as u};
11
+ */const he=Object.freeze({left:0,top:0,width:16,height:16}),rt=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),Z=Object.freeze({...he,...rt}),yt=Object.freeze({...Z,body:"",hidden:!1}),On=Object.freeze({width:null,height:null}),ge=Object.freeze({...On,...rt});function Nn(t,e=0){const n=t.replace(/^-?[0-9.]*/,"");function s(o){for(;o<0;)o+=4;return o%4}if(n===""){const o=parseInt(t);return isNaN(o)?0:s(o)}else if(n!==t){let o=0;switch(n){case"%":o=25;break;case"deg":o=90}if(o){let r=parseFloat(t.slice(0,t.length-n.length));return isNaN(r)?0:(r=r/o,r%1===0?s(r):0)}}return e}const _n=/[\s,]+/;function $n(t,e){e.split(_n).forEach(n=>{switch(n.trim()){case"horizontal":t.hFlip=!0;break;case"vertical":t.vFlip=!0;break}})}const me={...ge,preserveAspectRatio:""};function Vt(t){const e={...me},n=(s,o)=>t.getAttribute(s)||o;return e.width=n("width",null),e.height=n("height",null),e.rotate=Nn(n("rotate","")),$n(e,n("flip","")),e.preserveAspectRatio=n("preserveAspectRatio",n("preserveaspectratio","")),e}function En(t,e){for(const n in me)if(t[n]!==e[n])return!0;return!1}const D=/^[a-z0-9]+(-[a-z0-9]+)*$/,J=(t,e,n,s="")=>{const o=t.split(":");if(t.slice(0,1)==="@"){if(o.length<2||o.length>3)return null;s=o.shift().slice(1)}if(o.length>3||!o.length)return null;if(o.length>1){const a=o.pop(),c=o.pop(),l={provider:o.length>0?o[0]:s,prefix:c,name:a};return e&&!nt(l)?null:l}const r=o[0],i=r.split("-");if(i.length>1){const a={provider:s,prefix:i.shift(),name:i.join("-")};return e&&!nt(a)?null:a}if(n&&s===""){const a={provider:s,prefix:"",name:r};return e&&!nt(a,n)?null:a}return null},nt=(t,e)=>t?!!((t.provider===""||t.provider.match(D))&&(e&&t.prefix===""||t.prefix.match(D))&&t.name.match(D)):!1;function Fn(t,e){const n={};!t.hFlip!=!e.hFlip&&(n.hFlip=!0),!t.vFlip!=!e.vFlip&&(n.vFlip=!0);const s=((t.rotate||0)+(e.rotate||0))%4;return s&&(n.rotate=s),n}function Dt(t,e){const n=Fn(t,e);for(const s in yt)s in rt?s in t&&!(s in n)&&(n[s]=rt[s]):s in e?n[s]=e[s]:s in t&&(n[s]=t[s]);return n}function qn(t,e){const n=t.icons,s=t.aliases||Object.create(null),o=Object.create(null);function r(i){if(n[i])return o[i]=[];if(!(i in o)){o[i]=null;const a=s[i]&&s[i].parent,c=a&&r(a);c&&(o[i]=[a].concat(c))}return o[i]}return(e||Object.keys(n).concat(Object.keys(s))).forEach(r),o}function Bn(t,e,n){const s=t.icons,o=t.aliases||Object.create(null);let r={};function i(a){r=Dt(s[a]||o[a],r)}return i(e),n.forEach(i),Dt(t,r)}function be(t,e){const n=[];if(typeof t!="object"||typeof t.icons!="object")return n;t.not_found instanceof Array&&t.not_found.forEach(o=>{e(o,null),n.push(o)});const s=qn(t);for(const o in s){const r=s[o];r&&(e(o,Bn(t,o,r)),n.push(o))}return n}const zn={provider:"",aliases:{},not_found:{},...he};function ht(t,e){for(const n in e)if(n in t&&typeof t[n]!=typeof e[n])return!1;return!0}function ye(t){if(typeof t!="object"||t===null)return null;const e=t;if(typeof e.prefix!="string"||!t.icons||typeof t.icons!="object"||!ht(t,zn))return null;const n=e.icons;for(const o in n){const r=n[o];if(!o.match(D)||typeof r.body!="string"||!ht(r,yt))return null}const s=e.aliases||Object.create(null);for(const o in s){const r=s[o],i=r.parent;if(!o.match(D)||typeof i!="string"||!n[i]&&!s[i]||!ht(r,yt))return null}return e}const it=Object.create(null);function Hn(t,e){return{provider:t,prefix:e,icons:Object.create(null),missing:new Set}}function O(t,e){const n=it[t]||(it[t]=Object.create(null));return n[e]||(n[e]=Hn(t,e))}function kt(t,e){return ye(e)?be(e,(n,s)=>{s?t.icons[n]=s:t.missing.add(n)}):[]}function Vn(t,e,n){try{if(typeof n.body=="string")return t.icons[e]={...n},!0}catch{}return!1}function Dn(t,e){let n=[];return(typeof t=="string"?[t]:Object.keys(it)).forEach(o=>{(typeof o=="string"&&typeof e=="string"?[e]:Object.keys(it[o]||{})).forEach(i=>{const a=O(o,i);n=n.concat(Object.keys(a.icons).map(c=>(o!==""?"@"+o+":":"")+i+":"+c))})}),n}let U=!1;function xe(t){return typeof t=="boolean"&&(U=t),U}function Q(t){const e=typeof t=="string"?J(t,!0,U):t;if(e){const n=O(e.provider,e.prefix),s=e.name;return n.icons[s]||(n.missing.has(s)?null:void 0)}}function ve(t,e){const n=J(t,!0,U);if(!n)return!1;const s=O(n.provider,n.prefix);return Vn(s,n.name,e)}function Gt(t,e){if(typeof t!="object")return!1;if(typeof e!="string"&&(e=t.provider||""),U&&!e&&!t.prefix){let o=!1;return ye(t)&&(t.prefix="",be(t,(r,i)=>{i&&ve(r,i)&&(o=!0)})),o}const n=t.prefix;if(!nt({provider:e,prefix:n,name:"a"}))return!1;const s=O(e,n);return!!kt(s,t)}function Gn(t){return!!Q(t)}function Un(t){const e=Q(t);return e?{...Z,...e}:null}function Qn(t){const e={loaded:[],missing:[],pending:[]},n=Object.create(null);t.sort((o,r)=>o.provider!==r.provider?o.provider.localeCompare(r.provider):o.prefix!==r.prefix?o.prefix.localeCompare(r.prefix):o.name.localeCompare(r.name));let s={provider:"",prefix:"",name:""};return t.forEach(o=>{if(s.name===o.name&&s.prefix===o.prefix&&s.provider===o.provider)return;s=o;const r=o.provider,i=o.prefix,a=o.name,c=n[r]||(n[r]=Object.create(null)),l=c[i]||(c[i]=O(r,i));let u;a in l.icons?u=e.loaded:i===""||l.missing.has(a)?u=e.missing:u=e.pending;const f={provider:r,prefix:i,name:a};u.push(f)}),e}function Ie(t,e){t.forEach(n=>{const s=n.loaderCallbacks;s&&(n.loaderCallbacks=s.filter(o=>o.id!==e))})}function Wn(t){t.pendingCallbacksFlag||(t.pendingCallbacksFlag=!0,setTimeout(()=>{t.pendingCallbacksFlag=!1;const e=t.loaderCallbacks?t.loaderCallbacks.slice(0):[];if(!e.length)return;let n=!1;const s=t.provider,o=t.prefix;e.forEach(r=>{const i=r.icons,a=i.pending.length;i.pending=i.pending.filter(c=>{if(c.prefix!==o)return!0;const l=c.name;if(t.icons[l])i.loaded.push({provider:s,prefix:o,name:l});else if(t.missing.has(l))i.missing.push({provider:s,prefix:o,name:l});else return n=!0,!0;return!1}),i.pending.length!==a&&(n||Ie([t],r.id),r.callback(i.loaded.slice(0),i.missing.slice(0),i.pending.slice(0),r.abort))})}))}let Zn=0;function Jn(t,e,n){const s=Zn++,o=Ie.bind(null,n,s);if(!e.pending.length)return o;const r={id:s,icons:e,callback:t,abort:o};return n.forEach(i=>{(i.loaderCallbacks||(i.loaderCallbacks=[])).push(r)}),o}const xt=Object.create(null);function Ut(t,e){xt[t]=e}function vt(t){return xt[t]||xt[""]}function Yn(t,e=!0,n=!1){const s=[];return t.forEach(o=>{const r=typeof o=="string"?J(o,e,n):o;r&&s.push(r)}),s}var Xn={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function Kn(t,e,n,s){const o=t.resources.length,r=t.random?Math.floor(Math.random()*o):t.index;let i;if(t.random){let g=t.resources.slice(0);for(i=[];g.length>1;){const S=Math.floor(Math.random()*g.length);i.push(g[S]),g=g.slice(0,S).concat(g.slice(S+1))}i=i.concat(g)}else i=t.resources.slice(r).concat(t.resources.slice(0,r));const a=Date.now();let c="pending",l=0,u,f=null,p=[],m=[];typeof s=="function"&&m.push(s);function b(){f&&(clearTimeout(f),f=null)}function x(){c==="pending"&&(c="aborted"),b(),p.forEach(g=>{g.status==="pending"&&(g.status="aborted")}),p=[]}function w(g,S){S&&(m=[]),typeof g=="function"&&m.push(g)}function T(){return{startTime:a,payload:e,status:c,queriesSent:l,queriesPending:p.length,subscribe:w,abort:x}}function v(){c="failed",m.forEach(g=>{g(void 0,u)})}function y(){p.forEach(g=>{g.status==="pending"&&(g.status="aborted")}),p=[]}function R(g,S,L){const A=S!=="success";switch(p=p.filter(j=>j!==g),c){case"pending":break;case"failed":if(A||!t.dataAfterTimeout)return;break;default:return}if(S==="abort"){u=L,v();return}if(A){u=L,p.length||(i.length?C():v());return}if(b(),y(),!t.random){const j=t.resources.indexOf(g.resource);j!==-1&&j!==t.index&&(t.index=j)}c="completed",m.forEach(j=>{j(L)})}function C(){if(c!=="pending")return;b();const g=i.shift();if(g===void 0){if(p.length){f=setTimeout(()=>{b(),c==="pending"&&(y(),v())},t.timeout);return}v();return}const S={status:"pending",resource:g,callback:(L,A)=>{R(S,L,A)}};p.push(S),l++,f=setTimeout(C,t.rotate),n(g,e,S.callback)}return setTimeout(C),T}function we(t){const e={...Xn,...t};let n=[];function s(){n=n.filter(a=>a().status==="pending")}function o(a,c,l){const u=Kn(e,a,c,(f,p)=>{s(),l&&l(f,p)});return n.push(u),u}function r(a){return n.find(c=>a(c))||null}return{query:o,find:r,setIndex:a=>{e.index=a},getIndex:()=>e.index,cleanup:s}}function Rt(t){let e;if(typeof t.resources=="string")e=[t.resources];else if(e=t.resources,!(e instanceof Array)||!e.length)return null;return{resources:e,path:t.path||"/",maxURL:t.maxURL||500,rotate:t.rotate||750,timeout:t.timeout||5e3,random:t.random===!0,index:t.index||0,dataAfterTimeout:t.dataAfterTimeout!==!1}}const ut=Object.create(null),V=["https://api.simplesvg.com","https://api.unisvg.com"],ot=[];for(;V.length>0;)V.length===1||Math.random()>.5?ot.push(V.shift()):ot.push(V.pop());ut[""]=Rt({resources:["https://api.iconify.design"].concat(ot)});function Qt(t,e){const n=Rt(e);return n===null?!1:(ut[t]=n,!0)}function dt(t){return ut[t]}function to(){return Object.keys(ut)}function Wt(){}const gt=Object.create(null);function eo(t){if(!gt[t]){const e=dt(t);if(!e)return;const n=we(e),s={config:e,redundancy:n};gt[t]=s}return gt[t]}function Ce(t,e,n){let s,o;if(typeof t=="string"){const r=vt(t);if(!r)return n(void 0,424),Wt;o=r.send;const i=eo(t);i&&(s=i.redundancy)}else{const r=Rt(t);if(r){s=we(r);const i=t.resources?t.resources[0]:"",a=vt(i);a&&(o=a.send)}}return!s||!o?(n(void 0,424),Wt):s.query(e,o,n)().abort}const Zt="iconify2",W="iconify",Se=W+"-count",Jt=W+"-version",Ae=36e5,no=168;function It(t,e){try{return t.getItem(e)}catch{}}function Mt(t,e,n){try{return t.setItem(e,n),!0}catch{}}function Yt(t,e){try{t.removeItem(e)}catch{}}function wt(t,e){return Mt(t,Se,e.toString())}function Ct(t){return parseInt(It(t,Se))||0}const $={local:!0,session:!0},Pe={local:new Set,session:new Set};let Ot=!1;function oo(t){Ot=t}let et=typeof window>"u"?{}:window;function Te(t){const e=t+"Storage";try{if(et&&et[e]&&typeof et[e].length=="number")return et[e]}catch{}$[t]=!1}function Le(t,e){const n=Te(t);if(!n)return;const s=It(n,Jt);if(s!==Zt){if(s){const a=Ct(n);for(let c=0;c<a;c++)Yt(n,W+c.toString())}Mt(n,Jt,Zt),wt(n,0);return}const o=Math.floor(Date.now()/Ae)-no,r=a=>{const c=W+a.toString(),l=It(n,c);if(typeof l=="string"){try{const u=JSON.parse(l);if(typeof u=="object"&&typeof u.cached=="number"&&u.cached>o&&typeof u.provider=="string"&&typeof u.data=="object"&&typeof u.data.prefix=="string"&&e(u,a))return!0}catch{}Yt(n,c)}};let i=Ct(n);for(let a=i-1;a>=0;a--)r(a)||(a===i-1?(i--,wt(n,i)):Pe[t].add(a))}function je(){if(!Ot){oo(!0);for(const t in $)Le(t,e=>{const n=e.data,s=e.provider,o=n.prefix,r=O(s,o);if(!kt(r,n).length)return!1;const i=n.lastModified||-1;return r.lastModifiedCached=r.lastModifiedCached?Math.min(r.lastModifiedCached,i):i,!0})}}function so(t,e){const n=t.lastModifiedCached;if(n&&n>=e)return n===e;if(t.lastModifiedCached=e,n)for(const s in $)Le(s,o=>{const r=o.data;return o.provider!==t.provider||r.prefix!==t.prefix||r.lastModified===e});return!0}function ro(t,e){Ot||je();function n(s){let o;if(!$[s]||!(o=Te(s)))return;const r=Pe[s];let i;if(r.size)r.delete(i=Array.from(r).shift());else if(i=Ct(o),!wt(o,i+1))return;const a={cached:Math.floor(Date.now()/Ae),provider:t.provider,data:e};return Mt(o,W+i.toString(),JSON.stringify(a))}e.lastModified&&!so(t,e.lastModified)||Object.keys(e.icons).length&&(e.not_found&&(e=Object.assign({},e),delete e.not_found),n("local")||n("session"))}function Xt(){}function io(t){t.iconsLoaderFlag||(t.iconsLoaderFlag=!0,setTimeout(()=>{t.iconsLoaderFlag=!1,Wn(t)}))}function co(t,e){t.iconsToLoad?t.iconsToLoad=t.iconsToLoad.concat(e).sort():t.iconsToLoad=e,t.iconsQueueFlag||(t.iconsQueueFlag=!0,setTimeout(()=>{t.iconsQueueFlag=!1;const{provider:n,prefix:s}=t,o=t.iconsToLoad;delete t.iconsToLoad;let r;if(!o||!(r=vt(n)))return;r.prepare(n,s,o).forEach(a=>{Ce(n,a,c=>{if(typeof c!="object")a.icons.forEach(l=>{t.missing.add(l)});else try{const l=kt(t,c);if(!l.length)return;const u=t.pendingIcons;u&&l.forEach(f=>{u.delete(f)}),ro(t,c)}catch(l){console.error(l)}io(t)})})}))}const Nt=(t,e)=>{const n=Yn(t,!0,xe()),s=Qn(n);if(!s.pending.length){let c=!0;return e&&setTimeout(()=>{c&&e(s.loaded,s.missing,s.pending,Xt)}),()=>{c=!1}}const o=Object.create(null),r=[];let i,a;return s.pending.forEach(c=>{const{provider:l,prefix:u}=c;if(u===a&&l===i)return;i=l,a=u,r.push(O(l,u));const f=o[l]||(o[l]=Object.create(null));f[u]||(f[u]=[])}),s.pending.forEach(c=>{const{provider:l,prefix:u,name:f}=c,p=O(l,u),m=p.pendingIcons||(p.pendingIcons=new Set);m.has(f)||(m.add(f),o[l][u].push(f))}),r.forEach(c=>{const{provider:l,prefix:u}=c;o[l][u].length&&co(c,o[l][u])}),e?Jn(e,s,r):Xt},ao=t=>new Promise((e,n)=>{const s=typeof t=="string"?J(t,!0):t;if(!s){n(t);return}Nt([s||t],o=>{if(o.length&&s){const r=Q(s);if(r){e({...Z,...r});return}}n(t)})});function lo(t){try{const e=typeof t=="string"?JSON.parse(t):t;if(typeof e.body=="string")return{...e}}catch{}}function uo(t,e){const n=typeof t=="string"?J(t,!0,!0):null;if(!n){const r=lo(t);return{value:t,data:r}}const s=Q(n);if(s!==void 0||!n.prefix)return{value:t,name:n,data:s};const o=Nt([n],()=>e(t,n,Q(n)));return{value:t,name:n,loading:o}}function mt(t){return t.hasAttribute("inline")}let ke=!1;try{ke=navigator.vendor.indexOf("Apple")===0}catch{}function fo(t,e){switch(e){case"svg":case"bg":case"mask":return e}return e!=="style"&&(ke||t.indexOf("<a")===-1)?"svg":t.indexOf("currentColor")===-1?"bg":"mask"}const po=/(-?[0-9.]*[0-9]+[0-9.]*)/g,ho=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function St(t,e,n){if(e===1)return t;if(n=n||100,typeof t=="number")return Math.ceil(t*e*n)/n;if(typeof t!="string")return t;const s=t.split(po);if(s===null||!s.length)return t;const o=[];let r=s.shift(),i=ho.test(r);for(;;){if(i){const a=parseFloat(r);isNaN(a)?o.push(r):o.push(Math.ceil(a*e*n)/n)}else o.push(r);if(r=s.shift(),r===void 0)return o.join("");i=!i}}const go=t=>t==="unset"||t==="undefined"||t==="none";function Re(t,e){const n={...Z,...t},s={...ge,...e},o={left:n.left,top:n.top,width:n.width,height:n.height};let r=n.body;[n,s].forEach(b=>{const x=[],w=b.hFlip,T=b.vFlip;let v=b.rotate;w?T?v+=2:(x.push("translate("+(o.width+o.left).toString()+" "+(0-o.top).toString()+")"),x.push("scale(-1 1)"),o.top=o.left=0):T&&(x.push("translate("+(0-o.left).toString()+" "+(o.height+o.top).toString()+")"),x.push("scale(1 -1)"),o.top=o.left=0);let y;switch(v<0&&(v-=Math.floor(v/4)*4),v=v%4,v){case 1:y=o.height/2+o.top,x.unshift("rotate(90 "+y.toString()+" "+y.toString()+")");break;case 2:x.unshift("rotate(180 "+(o.width/2+o.left).toString()+" "+(o.height/2+o.top).toString()+")");break;case 3:y=o.width/2+o.left,x.unshift("rotate(-90 "+y.toString()+" "+y.toString()+")");break}v%2===1&&(o.left!==o.top&&(y=o.left,o.left=o.top,o.top=y),o.width!==o.height&&(y=o.width,o.width=o.height,o.height=y)),x.length&&(r='<g transform="'+x.join(" ")+'">'+r+"</g>")});const i=s.width,a=s.height,c=o.width,l=o.height;let u,f;i===null?(f=a===null?"1em":a==="auto"?l:a,u=St(f,c/l)):(u=i==="auto"?c:i,f=a===null?St(u,l/c):a==="auto"?l:a);const p={},m=(b,x)=>{go(x)||(p[b]=x.toString())};return m("width",u),m("height",f),p.viewBox=o.left.toString()+" "+o.top.toString()+" "+c.toString()+" "+l.toString(),{attributes:p,body:r}}const mo=()=>{let t;try{if(t=fetch,typeof t=="function")return t}catch{}};let ct=mo();function bo(t){ct=t}function yo(){return ct}function xo(t,e){const n=dt(t);if(!n)return 0;let s;if(!n.maxURL)s=0;else{let o=0;n.resources.forEach(i=>{o=Math.max(o,i.length)});const r=e+".json?icons=";s=n.maxURL-o-n.path.length-r.length}return s}function vo(t){return t===404}const Io=(t,e,n)=>{const s=[],o=xo(t,e),r="icons";let i={type:r,provider:t,prefix:e,icons:[]},a=0;return n.forEach((c,l)=>{a+=c.length+1,a>=o&&l>0&&(s.push(i),i={type:r,provider:t,prefix:e,icons:[]},a=c.length),i.icons.push(c)}),s.push(i),s};function wo(t){if(typeof t=="string"){const e=dt(t);if(e)return e.path}return"/"}const Co=(t,e,n)=>{if(!ct){n("abort",424);return}let s=wo(e.provider);switch(e.type){case"icons":{const r=e.prefix,a=e.icons.join(","),c=new URLSearchParams({icons:a});s+=r+".json?"+c.toString();break}case"custom":{const r=e.uri;s+=r.slice(0,1)==="/"?r.slice(1):r;break}default:n("abort",400);return}let o=503;ct(t+s).then(r=>{const i=r.status;if(i!==200){setTimeout(()=>{n(vo(i)?"abort":"next",i)});return}return o=501,r.json()}).then(r=>{if(typeof r!="object"||r===null){setTimeout(()=>{r===404?n("abort",r):n("next",o)});return}setTimeout(()=>{n("success",r)})}).catch(()=>{n("next",o)})},So={prepare:Io,send:Co};function Kt(t,e){switch(t){case"local":case"session":$[t]=e;break;case"all":for(const n in $)$[n]=e;break}}const bt="data-style";let Me="";function Ao(t){Me=t}function te(t,e){let n=Array.from(t.childNodes).find(s=>s.hasAttribute&&s.hasAttribute(bt));n||(n=document.createElement("style"),n.setAttribute(bt,bt),t.appendChild(n)),n.textContent=":host{display:inline-block;vertical-align:"+(e?"-0.125em":"0")+"}span,svg{display:block}"+Me}function Oe(){Ut("",So),xe(!0);let t;try{t=window}catch{}if(t){if(je(),t.IconifyPreload!==void 0){const n=t.IconifyPreload,s="Invalid IconifyPreload syntax.";typeof n=="object"&&n!==null&&(n instanceof Array?n:[n]).forEach(o=>{try{(typeof o!="object"||o===null||o instanceof Array||typeof o.icons!="object"||typeof o.prefix!="string"||!Gt(o))&&console.error(s)}catch{console.error(s)}})}if(t.IconifyProviders!==void 0){const n=t.IconifyProviders;if(typeof n=="object"&&n!==null)for(const s in n){const o="IconifyProviders["+s+"] is invalid.";try{const r=n[s];if(typeof r!="object"||!r||r.resources===void 0)continue;Qt(s,r)||console.error(o)}catch{console.error(o)}}}}return{enableCache:n=>Kt(n,!0),disableCache:n=>Kt(n,!1),iconExists:Gn,getIcon:Un,listIcons:Dn,addIcon:ve,addCollection:Gt,calculateSize:St,buildIcon:Re,loadIcons:Nt,loadIcon:ao,addAPIProvider:Qt,appendCustomStyle:Ao,_api:{getAPIConfig:dt,setAPIModule:Ut,sendAPIQuery:Ce,setFetch:bo,getFetch:yo,listAPIProviders:to}}}function Ne(t,e){let n=t.indexOf("xlink:")===-1?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(const s in e)n+=" "+s+'="'+e[s]+'"';return'<svg xmlns="http://www.w3.org/2000/svg"'+n+">"+t+"</svg>"}function Po(t){return t.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}function To(t){return"data:image/svg+xml,"+Po(t)}function Lo(t){return'url("'+To(t)+'")'}const At={"background-color":"currentColor"},_e={"background-color":"transparent"},ee={image:"var(--svg)",repeat:"no-repeat",size:"100% 100%"},ne={"-webkit-mask":At,mask:At,background:_e};for(const t in ne){const e=ne[t];for(const n in ee)e[t+"-"+n]=ee[n]}function oe(t){return t?t+(t.match(/^[-0-9.]+$/)?"px":""):"inherit"}function jo(t,e,n){const s=document.createElement("span");let o=t.body;o.indexOf("<a")!==-1&&(o+="<!-- "+Date.now()+" -->");const r=t.attributes,i=Ne(o,{...r,width:e.width+"",height:e.height+""}),a=Lo(i),c=s.style,l={"--svg":a,width:oe(r.width),height:oe(r.height),...n?At:_e};for(const u in l)c.setProperty(u,l[u]);return s}let G;function ko(){try{G=window.trustedTypes.createPolicy("iconify",{createHTML:t=>t})}catch{G=null}}function Ro(t){return G===void 0&&ko(),G?G.createHTML(t):t}function Mo(t){const e=document.createElement("span"),n=t.attributes;let s="";n.width||(s="width: inherit;"),n.height||(s+="height: inherit;"),s&&(n.style=s);const o=Ne(t.body,n);return e.innerHTML=Ro(o),e.firstChild}function se(t,e){const n=e.icon.data,s=e.customisations,o=Re(n,s);s.preserveAspectRatio&&(o.attributes.preserveAspectRatio=s.preserveAspectRatio);const r=e.renderedMode;let i;switch(r){case"svg":i=Mo(o);break;default:i=jo(o,{...Z,...n},r==="mask")}const a=Array.from(t.childNodes).find(c=>{const l=c.tagName&&c.tagName.toUpperCase();return l==="SPAN"||l==="SVG"});a?i.tagName==="SPAN"&&a.tagName===i.tagName?a.setAttribute("style",i.getAttribute("style")):t.replaceChild(i,a):t.appendChild(i)}function re(t,e,n){const s=n&&(n.rendered?n:n.lastRender);return{rendered:!1,inline:e,icon:t,lastRender:s}}function Oo(t="iconify-icon"){let e,n;try{e=window.customElements,n=window.HTMLElement}catch{return}if(!e||!n)return;const s=e.get(t);if(s)return s;const o=["icon","mode","inline","width","height","rotate","flip"],r=class extends n{constructor(){super();tt(this,"_shadowRoot");tt(this,"_state");tt(this,"_checkQueued",!1);const c=this._shadowRoot=this.attachShadow({mode:"open"}),l=mt(this);te(c,l),this._state=re({value:""},l),this._queueCheck()}static get observedAttributes(){return o.slice(0)}attributeChangedCallback(c){if(c==="inline"){const l=mt(this),u=this._state;l!==u.inline&&(u.inline=l,te(this._shadowRoot,l))}else this._queueCheck()}get icon(){const c=this.getAttribute("icon");if(c&&c.slice(0,1)==="{")try{return JSON.parse(c)}catch{}return c}set icon(c){typeof c=="object"&&(c=JSON.stringify(c)),this.setAttribute("icon",c)}get inline(){return mt(this)}set inline(c){c?this.setAttribute("inline","true"):this.removeAttribute("inline")}restartAnimation(){const c=this._state;if(c.rendered){const l=this._shadowRoot;if(c.renderedMode==="svg")try{l.lastChild.setCurrentTime(0);return}catch{}se(l,c)}}get status(){const c=this._state;return c.rendered?"rendered":c.icon.data===null?"failed":"loading"}_queueCheck(){this._checkQueued||(this._checkQueued=!0,setTimeout(()=>{this._check()}))}_check(){if(!this._checkQueued)return;this._checkQueued=!1;const c=this._state,l=this.getAttribute("icon");if(l!==c.icon.value){this._iconChanged(l);return}if(!c.rendered)return;const u=this.getAttribute("mode"),f=Vt(this);(c.attrMode!==u||En(c.customisations,f))&&this._renderIcon(c.icon,f,u)}_iconChanged(c){const l=uo(c,(u,f,p)=>{const m=this._state;if(m.rendered||this.getAttribute("icon")!==u)return;const b={value:u,name:f,data:p};b.data?this._gotIconData(b):m.icon=b});l.data?this._gotIconData(l):this._state=re(l,this._state.inline,this._state)}_gotIconData(c){this._checkQueued=!1,this._renderIcon(c,Vt(this),this.getAttribute("mode"))}_renderIcon(c,l,u){const f=fo(c.data.body,u),p=this._state.inline;se(this._shadowRoot,this._state={rendered:!0,icon:c,inline:p,customisations:l,attrMode:u,renderedMode:f})}};o.forEach(a=>{a in r.prototype||Object.defineProperty(r.prototype,a,{get:function(){return this.getAttribute(a)},set:function(c){c!==null?this.setAttribute(a,c):this.removeAttribute(a)}})});const i=Oe();for(const a in i)r[a]=r.prototype[a]=i[a];return e.define(t,r),r}Oo()||Oe();const No=d.shape({appLogo:d.node,appName:d.string,theme:d.shape({background:d.string}),enableConnect:d.bool,enableLocale:d.bool,navigation:d.arrayOf(d.shape({title:d.oneOfType([d.string,d.object]),link:d.oneOfType([d.string,d.object]),icon:d.string,items:d.arrayOf(d.shape({title:d.oneOfType([d.string,d.object]),link:d.oneOfType([d.string,d.object])}))}))}),$e=d.shape({showText:d.bool,showRole:d.bool,switchDid:d.bool,switchProfile:d.bool,switchPassport:d.bool,disableLogout:d.bool,onLogin:d.func,onLogout:d.func,onSwitchDid:d.func,onSwitchProfile:d.func,onSwitchPassport:d.func,menu:d.array,menuRender:d.func,dark:d.bool,size:d.number}),Y=(t,e,n="children")=>t.map(s=>Array.isArray(s[n])?e({...s,[n]:Y(s[n],e,n)}):e(s)),_o=(t,e="children")=>{const n=[];return Y(t,s=>n.push(s),e),n},_t=(t,e,n="children")=>t.map(s=>({...s})).filter(s=>{const o=s[n];if(Array.isArray(o)){const i=_t(o,e,n);s[n]=i!=null&&i.length?i:void 0}const r={filteredChildren:s[n],isLeaf:!(o!=null&&o.length)};return e(s,r)}),$o=t=>/^https?:\/\//.test(t),Yo=t=>/^[\w-]+:[\w-]+$/.test(t),Eo=t=>{if(!t||!(t!=null&&t.startsWith("/")))return!1;const e=o=>o.endsWith("/")?o:`${o}/`,n=e(window.location.pathname),s=e(new URL(t,window.location.origin).pathname);return n.startsWith(s)},Fo=(t=[])=>{const e=t.map((s,o)=>({path:s,index:o})).filter(s=>Eo(s.path));return e!=null&&e.length?e.slice(1).reduce((s,o)=>s.path.length>=o.path.length?s:o,e[0]).index:-1};var ie,ce;const at=((ie=window==null?void 0:window.blocklet)==null?void 0:ie.groupPrefix)||((ce=window==null?void 0:window.blocklet)==null?void 0:ce.prefix)||"/",qo=t=>{const e={...t},n=t==null?void 0:t.background;return typeof n=="string"?e.background={header:n,footer:n,default:n}:n&&typeof n=="object"&&(e.background={header:n.header||n.default,footer:n.footer||n.default,default:n.default}),e},Ee=(t,e="en")=>{if(!(t!=null&&t.length))return t;const n=(o,r)=>typeof o=="string"?o:typeof o=="object"?o[r]||(o==null?void 0:o.en)||(o==null?void 0:o.zh):o,s=(o,r)=>{if(typeof o=="string"){if($o(o)){const a=new URL(o);return a.searchParams.set("locale",r),a.href}const i=new URL(o,window.location.origin);return i.searchParams.set("locale",r),i.pathname+i.search}return typeof o=="object"?o[r]||(o==null?void 0:o.en)||(o==null?void 0:o.zh):o};return Y(t,o=>{var r;return{...o,title:n(o.title,e),link:(r=o.items)!=null&&r.length?o.link:s(o.link,e),_rawLink:o.link}},"items")},Bo=t=>Y(t,e=>e.role?{...e,role:Array.isArray(e.role)?e.role:[e.role]}:e,"items"),zo=t=>{if(!(t!=null&&t.length))return null;const e=Bo(t),n={header:[],footer:[],social:[],bottom:[],dashboard:[],sessionManager:[],userCenter:[]};return e.forEach(s=>{var o;s.section?Array.isArray(s.section)?s.section.forEach(r=>{var i;(i=n[r])==null||i.push(s)}):typeof s.section=="string"&&((o=n[s.section])==null||o.push(s)):n.header.push(s)}),n},Ho=t=>{if(!t)return null;const e={...t};return e.theme=qo(e.theme),e.navigation=zo(Vo(e.navigation)),e},Vo=(t=[])=>_t(t,(e,n)=>{var s;return!!e.link||((s=n.filteredChildren)==null?void 0:s.length)},"items"),Fe=(t,e)=>_t(t,(n,s)=>{var r;const o=!n.role||e&&n.role.includes(e);return s.isLeaf?o:o&&((r=s.filteredChildren)==null?void 0:r.length)},"items"),Do={top:-960,width:960,height:960,body:'<path fill="currentColor" d="M510-600v-210q0-12.75 8.625-21.375T540-840h270q12.75 0 21.375 8.625T840-810v210q0 12.75-8.625 21.375T810-570H540q-12.75 0-21.375-8.625T510-600M120-480v-330q0-12.75 8.625-21.375T150-840h270q12.75 0 21.375 8.625T450-810v330q0 12.75-8.625 21.375T420-450H150q-12.75 0-21.375-8.625T120-480m390 330v-330q0-12.75 8.625-21.375T540-510h270q12.75 0 21.375 8.625T840-480v330q0 12.75-8.625 21.375T810-120H540q-12.75 0-21.375-8.625T510-150m-390 0v-210q0-12.75 8.625-21.375T150-390h270q12.75 0 21.375 8.625T450-360v210q0 12.75-8.625 21.375T420-120H150q-12.75 0-21.375-8.625T120-150m60-360h210v-270H180zm390 330h210v-270H570zm0-450h210v-150H570zM180-180h210v-150H180zm210-150"/>'},Go={width:24,height:24,body:'<path fill="currentColor" d="M15.95 12.3L11.7 8.05q-.15-.15-.212-.325t-.063-.375q0-.2.063-.375t.212-.325l4.25-4.25q.15-.15.325-.212t.375-.063q.2 0 .375.063t.325.212l4.25 4.25q.15.15.213.325t.062.375q0 .2-.063.375t-.212.325l-4.25 4.25q-.15.15-.325.213t-.375.062q-.2 0-.375-.062t-.325-.213ZM3 10V4q0-.425.288-.713T4 3h6q.425 0 .713.288T11 4v6q0 .425-.288.713T10 11H4q-.425 0-.713-.288T3 10Zm10 10v-6q0-.425.288-.713T14 13h6q.425 0 .713.288T21 14v6q0 .425-.288.713T20 21h-6q-.425 0-.713-.288T13 20ZM3 20v-6q0-.425.288-.713T4 13h6q.425 0 .713.288T11 14v6q0 .425-.288.713T10 21H4q-.425 0-.713-.288T3 20ZM5 9h4V5H5v4Zm11.675 1.2L19.5 7.375L16.675 4.55L13.85 7.375l2.825 2.825ZM15 19h4v-4h-4v4ZM5 19h4v-4H5v4ZM9 9Zm4.85-1.625ZM9 15Zm6 0Z"/>'};function $t({session:t,locale:e,size:n}){const s=(window==null?void 0:window.blocklet)||{},o=(s.navigation||[]).filter(c=>c.section==="sessionManager"&&!["/sessionManager"].includes(c.id)).filter(c=>{var l;return!!((c==null?void 0:c.role)||[]).includes(((l=t==null?void 0:t.user)==null?void 0:l.role)||"guest")}).map(c=>{const l=((s==null?void 0:s.componentMountPoints)||[]).find(u=>c.component===u.name);return{...c,component:l}}),r=I.useRef(null),i=De({open:!1}),a=Ge((c=!i.open)=>{i.open=c});return o.length===0||!(t!=null&&t.user)?null:h.jsxs(h.Fragment,{children:[h.jsx(Ue,{size:"medium",ref:r,onClick:()=>a(),children:h.jsx(Ht,{icon:Do,fontSize:n,style:{transform:"scale(1.08)"}})}),h.jsx(Qe,{open:i.open,onClose:()=>a(!1),anchorEl:r.current,transition:!0,placement:"bottom-end",sx:{zIndex:1600},children:({TransitionProps:c})=>h.jsx(We,{onClickAway:l=>{l.preventDefault(),l.stopPropagation(),a(!1)},children:h.jsx(Ze,{...c,timeout:350,children:h.jsxs(Je,{variant:"outlined",sx:{borderRadius:3,width:350,maxWidth:"90vw",borderColor:k.lineStep,p:2,border:"0 !important",boxShadow:`0px 8px 16px 0px ${k.gray6}, 0px 0px 0px 1px ${k.gray6}`},children:[h.jsx(Ye,{sx:{display:"grid",gridTemplateColumns:"repeat(auto-fill, 100px)",gridAutoRows:"minmax(100px, max-content)",justifyContent:"space-between",maxHeight:350,overflowY:"auto",p:0},children:o.map(l=>{var u,f;return h.jsx(Mn,{disablePadding:!0,children:h.jsxs(xn,{href:l.link,sx:{p:1,display:"flex",flexDirection:"column",alignItems:"center",gap:1,width:"100%",height:"100%",borderRadius:2,"&:hover":{backgroundColor:k.surfacePrimarySubtitle}},children:[(u=l==null?void 0:l.component)!=null&&u.did?h.jsx(Xe,{component:"img",src:`${Ke}/blocklet/logo-bundle/${l.component.did}`,sx:{borderRadius:2,width:50,height:50,objectFit:"contain"}}):h.jsx(Ht,{fontSize:50,icon:l.icon||Go,color:k.textSubtitle}),h.jsx(tn,{sx:{fontSize:"12px",color:k.textBase,textAlign:"center",lineHeight:"normal"},children:((f=l.title)==null?void 0:f.zh)||l.title})]})},l.id)})}),h.jsx(en,{session:t,children:h.jsx(nn,{variant:"outlined",fullWidth:!0,href:on,sx:{mt:1,borderRadius:2,color:k.textBase,borderColor:k.lineBorderStrong,"&:hover":{color:k.primaryBase,borderColor:k.primaryBase}},children:e==="zh"?"管理":"Manage"})})]})})})})]})}$t.propTypes={session:d.object.isRequired,locale:d.string,size:d.number};$t.defaultProps={locale:"en",size:24};function Et({formattedBlocklet:t,addons:e,sessionManagerProps:n}){var p,m,b,x;const s=I.useContext(de),{locale:o}=fe()||{},{enableConnect:r=!0,enableLocale:i=!0}=t,a=!!((p=s==null?void 0:s.session)!=null&&p.user);let c=Ee((m=t==null?void 0:t.navigation)==null?void 0:m.sessionManager,o)||[];c=Fe(c,(x=(b=s==null?void 0:s.session)==null?void 0:b.user)==null?void 0:x.role);const u=(()=>{if(e&&typeof e!="function")return Array.isArray(e)?e:[e];let w=[];if(i&&o&&w.push(h.jsx(ln,{showText:!1},"locale-selector")),r&&s){const T=[];a&&(c?c.slice(0,5):[]).forEach(y=>{T.push({label:y.title,icon:y.icon?h.jsx("iconify-icon",{icon:y.icon,height:24,style:{marginRight:8}}):null,component:"a",href:y.link,key:y.link})}),w.push(h.jsx($t,{session:s.session,locale:o},"session-blocklet")),w.push(h.jsx(sn,{session:s.session,locale:o,menu:T,showRole:!0,...n},"session-user"))}return typeof e=="function"&&(w=e(w)||[]),w})();return I.createElement(h.Fragment,null,...Array.isArray(u)?u:[u])}Et.propTypes={formattedBlocklet:d.object.isRequired,addons:d.oneOfType([d.func,d.node]),sessionManagerProps:$e};Et.defaultProps={addons:null,sessionManagerProps:{showRole:!0}};const Uo=()=>{const t=rn();I.useEffect(()=>{t.wallet&&cn(()=>import("./index-LTzQUJ4f.js").then(e=>e.i),__vite__mapDeps([0,1,2])).then(e=>{e.call||(e=e.default),e.call("arcHideTopBar","{}")}).catch(e=>{console.error("load dsbridge error",e)})},[t])};function qe({meta:t,fallbackUrl:e,invalidPathFallback:n,headerAddons:s,sessionManagerProps:o,links:r,...i}){var R;Uo();const a=I.useContext(de),c=(R=a==null?void 0:a.session)==null?void 0:R.user,l=c==null?void 0:c.role,{locale:u}=fe()||{},f=I.useMemo(()=>{const C=Object.assign({},window.blocklet,t);try{return Ho(C)}catch(g){return console.error("Failed to format blocklet info",g,C),C}},[t]),{localizedNav:p,flattened:m,matchedIndex:b}=I.useMemo(()=>{var L;let C=Ee((L=f==null?void 0:f.navigation)==null?void 0:L.dashboard,u)||[];C=Fe(C,l),C=Y(C,A=>({title:A.title,url:A.link,icon:A.icon?h.jsx("iconify-icon",{height:"100%",width:"100%",icon:A.icon}):null,external:!0,children:A.items}),"items");const g=_o(C).filter(A=>!!A.url),S=Fo(g.map(A=>A.url));return S!==-1&&(g[S].active=!0),{localizedNav:C,flattened:g,matchedIndex:S}},[f,u,l]),x=typeof r=="function"?r(p):[...p,...r];if(I.useLayoutEffect(()=>{c&&!(m!=null&&m.length)&&e&&(window.location.href=e)},[e]),I.useLayoutEffect(()=>{var C;c&&(m!=null&&m.length)&&b===-1&&(n?n():window.location.href=((C=m[0])==null?void 0:C.url)||at)},[n,m,b]),!f.appName)return null;const{appLogo:w,appLogoRect:T,appName:v}=f,y=h.jsx(Et,{formattedBlocklet:f,addons:s,sessionManagerProps:o});return h.jsx(an,{title:v,fullWidth:!0,sidebarWidth:128,legacy:!1,links:x,...i,headerProps:{homeLink:at,logo:h.jsx("img",{src:T||w,alt:"logo"}),addons:y,...i.headerProps}})}qe.propTypes={meta:No,fallbackUrl:d.string,invalidPathFallback:d.func,headerAddons:d.oneOfType([d.func,d.node]),sessionManagerProps:$e,links:d.oneOfType([d.array,d.func])};qe.defaultProps={meta:{},fallbackUrl:at,invalidPathFallback:null,headerAddons:void 0,sessionManagerProps:{showRole:!0,onLogout:()=>{window.location.href=at}},links:[]};export{qe as D,Et as H,Yo as a,No as b,_o as c,Fo as d,Ho as f,Ee as g,$o as i,Y as m,at as p,$e as s,Uo as u};
12
12
  function __vite__mapDeps(indexes) {
13
13
  if (!__vite__mapDeps.viteFileDeps) {
14
- __vite__mapDeps.viteFileDeps = ["assets/index-ktOfCEiQ.js","assets/index-cbNOXa5L.js","assets/index-TCTrVMXW.css"]
14
+ __vite__mapDeps.viteFileDeps = ["assets/index-LTzQUJ4f.js","assets/index-uucW8lyA.js","assets/index-TCTrVMXW.css"]
15
15
  }
16
16
  return indexes.map((i) => __vite__mapDeps.viteFileDeps[i])
17
17
  }