@abtnode/webapp 1.16.43-beta-20250422-042711-c40bec75 → 1.16.43-beta-20250424-125523-08a65a5c

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 (239) hide show
  1. package/blocklet.js +1 -1
  2. package/blocklet.yml +1 -1
  3. package/dist/assets/{AdapterDayjs-Dd50umeM.js → AdapterDayjs-Bg7uGgbF.js} +7 -7
  4. package/dist/assets/{Add-CaztVzCy.js → Add-lby-WMVZ.js} +1 -1
  5. package/dist/assets/{ArrowDropDown-DVC5NCF_.js → ArrowDropDown-DroHSHv1.js} +1 -1
  6. package/dist/assets/{Autocomplete-BvgGgwn-.js → Autocomplete-D4Jvroxg.js} +1 -1
  7. package/dist/assets/{Breadcrumbs--d8mi7-f.js → Breadcrumbs-Degq7-cg.js} +1 -1
  8. package/dist/assets/{ButtonGroup-BwBRy_Vd.js → ButtonGroup-KbsqQYLp.js} +1 -1
  9. package/dist/assets/{CSSTransition-B2MHWQVG.js → CSSTransition-umLMVbSI.js} +1 -1
  10. package/dist/assets/{CallMerge-BKOZFJsL.js → CallMerge-D43L7gfn.js} +1 -1
  11. package/dist/assets/CardContent-BBNXKDLH.js +1 -0
  12. package/dist/assets/{ChevronLeft-BLMagiOR.js → ChevronLeft-CF_uwgT0.js} +1 -1
  13. package/dist/assets/{ChevronRight-CmLzNb37.js → ChevronRight-DbKKEEsR.js} +1 -1
  14. package/dist/assets/{Clear-DnKBhMMz.js → Clear-BYnHnNAI.js} +1 -1
  15. package/dist/assets/{Close-z9azgP87.js → Close-Dpq37qiZ.js} +1 -1
  16. package/dist/assets/{Community-CfAYk0rg.js → Community-D4w5taWL.js} +1 -1
  17. package/dist/assets/{Delete-lfXEd_sD.js → Delete-Ce85Ql3S.js} +1 -1
  18. package/dist/assets/Delete-ClxQ0y3-.js +1 -0
  19. package/dist/assets/{DeleteOutline-CpHx956r.js → DeleteOutline-C6TmcfH4.js} +1 -1
  20. package/dist/assets/{Done-B07f5HKr.js → Done-BjBoPP5g.js} +1 -1
  21. package/dist/assets/{Edit-DeW-Raa6.js → Edit-xi4J_eau.js} +1 -1
  22. package/dist/assets/{ErrorOutline-BamXOGix.js → ErrorOutline-CCSWIjK_.js} +1 -1
  23. package/dist/assets/{HelpOutline-PjbpgGnS.js → HelpOutline-D375iS8p.js} +1 -1
  24. package/dist/assets/{Holiday-os2if6d3.js → Holiday-CzE5h49l.js} +1 -1
  25. package/dist/assets/{Launch-VrwX5mL6.js → Launch-DePFcprE.js} +1 -1
  26. package/dist/assets/{Link-9GZNaOgm.js → Link-LyPYKPlx.js} +1 -1
  27. package/dist/assets/{ListItemButton-UrtScDNv.js → ListItemButton-CU1frsx_.js} +1 -1
  28. package/dist/assets/{ListSubheader-CXoRyaHI.js → ListSubheader-xl2l5mXh.js} +1 -1
  29. package/dist/assets/{LoadingButton-D_BY4Jqp.js → LoadingButton-CBSsH98L.js} +1 -1
  30. package/dist/assets/{LockIcon-BNPULy1Y.js → LockIcon-B45Spn4w.js} +1 -1
  31. package/dist/assets/{Meeting-DYJ-razI.js → Meeting-D5njBYzA.js} +1 -1
  32. package/dist/assets/{MoreHoriz-BGho5EZt.js → MoreHoriz-BBPO3lYM.js} +1 -1
  33. package/dist/assets/{MoreVert-Dsx1svGJ.js → MoreVert-CJEwAyrO.js} +1 -1
  34. package/dist/assets/{OffSick-DkD5M8d5.js → OffSick-DAPZSrTR.js} +1 -1
  35. package/dist/assets/{Public-DsP_rIVN.js → Public-DU9Zwfvz.js} +1 -1
  36. package/dist/assets/{Refresh-CY_XOdj5.js → Refresh-C8sRW4ey.js} +1 -1
  37. package/dist/assets/{SchemaReference.es-CHFc7aCW.js → SchemaReference.es-BmPkbXqa.js} +1 -1
  38. package/dist/assets/{Search-Cy1sS0Ys.js → Search-DNO2mA1t.js} +1 -1
  39. package/dist/assets/{Slider-DliZyLUu.js → Slider-D2j2o6C_.js} +1 -1
  40. package/dist/assets/{Stepper-D00G8whg.js → Stepper-ByBBXwpK.js} +1 -1
  41. package/dist/assets/{TableSearch-B7Ia4hYX.js → TableSearch-DEtaWkFM.js} +1 -1
  42. package/dist/assets/{ToggleButtonGroup-Dx7Cqen3.js → ToggleButtonGroup-ieIV-WGx.js} +1 -1
  43. package/dist/assets/{Verified-DEPnoVi2.js → Verified-QVVCTHQV.js} +1 -1
  44. package/dist/assets/{VerifiedUser-CtMfrkOq.js → VerifiedUser-DSfNrNs3.js} +1 -1
  45. package/dist/assets/{ViewColumn-1pLOayu5.js → ViewColumn-dIIJ-TaZ.js} +1 -1
  46. package/dist/assets/{ViewList-BAJgFctd.js → ViewList-BMlV2vpC.js} +1 -1
  47. package/dist/assets/{WorkingRemotely-CFsc5wBG.js → WorkingRemotely-CcpgKCrX.js} +1 -1
  48. package/dist/assets/{_createAggregator-BZiDTQ-1.js → _createAggregator-CTEoaHk3.js} +1 -1
  49. package/dist/assets/{actions-rKZA5Yl3.js → actions-DWXi51xP.js} +1 -1
  50. package/dist/assets/{actions-COYCVGfV.js → actions-D_w-E3e-.js} +2 -2
  51. package/dist/assets/{agreement-CvnU-wvl.js → agreement-CDVwTK7I.js} +4 -4
  52. package/dist/assets/api-DkiXYVLM.js +1 -0
  53. package/dist/assets/{appearance-BKSHEoHy.js → appearance-BNbra9Q0.js} +1 -1
  54. package/dist/assets/ar-BNaEJSr3.js +7 -0
  55. package/dist/assets/{audit-logs-C5PuRwaG.js → audit-logs-Bi1ieUq6.js} +2 -2
  56. package/dist/assets/blocklet-DidLj2Zo.js +1 -0
  57. package/dist/assets/{brace-fold.es-zOkKbJNK.js → brace-fold.es-hD6ePSd7.js} +1 -1
  58. package/dist/assets/{chain-nejdRVrr.js → chain-B1DYbRT2.js} +1 -1
  59. package/dist/assets/click-to-copy-D9mVJ-RV.js +1 -0
  60. package/dist/assets/cloneDeep-25ofqs0f.js +1 -0
  61. package/dist/assets/{closebrackets.es-D1eT-FTM.js → closebrackets.es-B0J2lA3U.js} +1 -1
  62. package/dist/assets/{codemirror.es-0rTHjVK9.js → codemirror.es-BaDyFG9Y.js} +1 -1
  63. package/dist/assets/{comment.es-BzTQxNrB.js → comment.es-DPh31JMD.js} +1 -1
  64. package/dist/assets/{config-navigation-DP1VP0AV.js → config-navigation-Czs5GZbX.js} +17 -17
  65. package/dist/assets/{connect-to-CLKjNArl.js → connect-to-P_JZVAGf.js} +1 -1
  66. package/dist/assets/de-BsZVQmUM.js +7 -0
  67. package/dist/assets/delete-confirm-CPbaWrD8.js +1 -0
  68. package/dist/assets/{detail-SkSHXUY6.js → detail-BkfZ-vLq.js} +3 -3
  69. package/dist/assets/{dialog.es-DTCttvK1.js → dialog.es-Cy5fQBet.js} +1 -1
  70. package/dist/assets/domains-BLRqSu-m.js +24 -0
  71. package/dist/assets/{download-hxkTe46m.js → download-gAaJAdD7.js} +1 -1
  72. package/dist/assets/emotion-react.browser.esm-BuYEJ5bP.js +1 -0
  73. package/dist/assets/es-ntlJbt-a.js +7 -0
  74. package/dist/assets/{foldgutter.es-D09BRatH.js → foldgutter.es-DpwInfY6.js} +1 -1
  75. package/dist/assets/fr-Bv4B0MVB.js +7 -0
  76. package/dist/assets/{get-safe-url-6iqduUH5.js → get-safe-url-CofQV3ai.js} +1 -1
  77. package/dist/assets/{get-safe-url-CVvG2J9I.js → get-safe-url-DzAjUQl5.js} +1 -1
  78. package/dist/assets/getValidReactChildren-BNMVx0A0.js +1 -0
  79. package/dist/assets/hi-DIf_hqVB.js +5 -0
  80. package/dist/assets/{hint.es-CElKEoBL.js → hint.es-zNpcbGGk.js} +1 -1
  81. package/dist/assets/{hint.es2-cm-ZWwEJ.js → hint.es2-5htyBXtO.js} +1 -1
  82. package/dist/assets/id-DZBgOnwF.js +7 -0
  83. package/dist/assets/{iframe-BtkIGcLr.js → iframe-DaFIiCmw.js} +1 -1
  84. package/dist/assets/{index-CrLu05HL.js → index-7G8x7Vl0.js} +24 -24
  85. package/dist/assets/{index-B8tVxEg2.js → index-B38OHLL1.js} +1 -1
  86. package/dist/assets/{index-BaNhzXWK.js → index-B5aj8g64.js} +25 -25
  87. package/dist/assets/{index-C1Ig2ZHh.js → index-B7k9dkSz.js} +1 -1
  88. package/dist/assets/{index-DFqgZ5xa.js → index-BH5HIFbb.js} +1 -1
  89. package/dist/assets/{index-Ca2ykS6T.js → index-BIAPYyhR.js} +1 -1
  90. package/dist/assets/{index-H4oRzuHX.js → index-BJV-jbRZ.js} +1 -1
  91. package/dist/assets/index-BcXeJXCR.js +1 -0
  92. package/dist/assets/{index-DU1prNlR.js → index-Bd8opEvI.js} +1 -1
  93. package/dist/assets/{index-iKNyCq23.js → index-BdtBG9co.js} +1 -1
  94. package/dist/assets/{index-C7M3KjDN.js → index-Bqki_NGY.js} +1 -1
  95. package/dist/assets/{index-BdcAx4jd.js → index-Bzt7VEv3.js} +1 -1
  96. package/dist/assets/{index-D5tFxfO4.js → index-C1TWTzPh.js} +3 -3
  97. package/dist/assets/index-C6d26-qR.js +1 -0
  98. package/dist/assets/{index-CwQRP9vW.js → index-CIOf_B3T.js} +1 -1
  99. package/dist/assets/{index-CkuW1m1M.js → index-CQ7uV-a-.js} +1 -1
  100. package/dist/assets/{index-dpcQFGC9.js → index-CTEKj5go.js} +1 -1
  101. package/dist/assets/{index-dPMBaXU5.js → index-CfWjDiL_.js} +1 -1
  102. package/dist/assets/{index-Db1NmfnY.js → index-CiCEonKE.js} +11 -11
  103. package/dist/assets/{index-D1AcZBxv.js → index-CkIbYyM0.js} +1 -1
  104. package/dist/assets/{index-CrdafeIA.js → index-Ct8zi4pq.js} +4 -4
  105. package/dist/assets/{index-B_8fIevk.js → index-CxfmUaF-.js} +1 -1
  106. package/dist/assets/index-Cy5Qtbob.js +1 -0
  107. package/dist/assets/{index-CmON_Ucm.js → index-D-8F2hnL.js} +3 -3
  108. package/dist/assets/{index-B-gpi2ba.js → index-D3aHzIo4.js} +1 -1
  109. package/dist/assets/{index-D5iXLg7U.js → index-D652L7CC.js} +1 -1
  110. package/dist/assets/{index-CH0ZtB03.js → index-DB-T1OVT.js} +1 -1
  111. package/dist/assets/{index-DacxPQzS.js → index-DEtsePs-.js} +9 -9
  112. package/dist/assets/{index-BG2kH0vO.js → index-DIt3-b0L.js} +1 -1
  113. package/dist/assets/index-DJipOB3r.js +327 -0
  114. package/dist/assets/{index-BYMuyFwb.js → index-DPbGXgqB.js} +2 -2
  115. package/dist/assets/{index-bYp_tt8z.js → index-DUWb27J9.js} +1 -1
  116. package/dist/assets/{index-Chf7gMD-.js → index-DX_pC0Y6.js} +5 -5
  117. package/dist/assets/{index-DMyuQ6gX.js → index-Di0aMImb.js} +1 -1
  118. package/dist/assets/{index-CdIzwolo.js → index-Dj8CUjVy.js} +1 -1
  119. package/dist/assets/{index-DwcH9Py2.js → index-DllLiKC-.js} +1 -1
  120. package/dist/assets/{index-BI57n5-1.js → index-Dmw-rWCR.js} +1 -1
  121. package/dist/assets/index-E6lSv66O.js +20 -0
  122. package/dist/assets/{index-PKxcb70p.js → index-QaZ1YHGi.js} +4 -4
  123. package/dist/assets/{index-BjeDI2iY.js → index-RxScS04A.js} +1 -1
  124. package/dist/assets/index-W1T8OGsQ.js +102 -0
  125. package/dist/assets/{index-BEKPz42W.js → index-ftNYfJO-.js} +2 -2
  126. package/dist/assets/{index-BCoMTShJ.js → index-kCV42hBz.js} +3 -3
  127. package/dist/assets/{index-BkTRcS0m.js → index-mzqVbRK8.js} +5 -5
  128. package/dist/assets/{index-DacB9LlP.js → index-peWL8owC.js} +1 -1
  129. package/dist/assets/{index-CoenHBJL.js → index-rRNsJfpm.js} +1 -1
  130. package/dist/assets/{index-C9UfyIb3.js → index-rZNPURo0.js} +1 -1
  131. package/dist/assets/index-uPaywPQ8.js +11 -0
  132. package/dist/assets/{index.esm-BiF80IE7.js → index.esm-C4Qz2Lyg.js} +1 -1
  133. package/dist/assets/{info-addon.es-LTLqCI-0.js → info-addon.es-BXYvd0W0.js} +1 -1
  134. package/dist/assets/{info.es-DGuZ8x_j.js → info.es-BqgAgM-L.js} +1 -1
  135. package/dist/assets/{install-from-url-CctlVaYm.js → install-from-url-xwgejqoQ.js} +1 -1
  136. package/dist/assets/{invitation-B5T1tiZS.js → invitation-DTsCoqpv.js} +5 -5
  137. package/dist/assets/is-path-prefix-equal-CH05cZsF.js +1 -0
  138. package/dist/assets/{item-C_feFNJE.js → item-CmVxSSOE.js} +5 -5
  139. package/dist/assets/ja-8jRYJGVw.js +7 -0
  140. package/dist/assets/{javascript.es-DXQm_49v.js → javascript.es-grXxHaUZ.js} +1 -1
  141. package/dist/assets/{jump-to-line.es-COQrSkxS.js → jump-to-line.es-B6hVDRl6.js} +1 -1
  142. package/dist/assets/{jump.es-Bt36pao4.js → jump.es-B_PWFf9O.js} +1 -1
  143. package/dist/assets/ko-C4pbuwv8.js +7 -0
  144. package/dist/assets/{lint.es-D7cZDq3q.js → lint.es-9mA5K-XH.js} +1 -1
  145. package/dist/assets/{lint.es2-DjlpYEUm.js → lint.es2-B8BrvpI1.js} +1 -1
  146. package/dist/assets/{lint.es3-DZfzAxs3.js → lint.es3-fLYIED-e.js} +1 -1
  147. package/dist/assets/{list-header-D6gN8uAe.js → list-header-DRRNzO0m.js} +1 -1
  148. package/dist/assets/{log-D0D7SXBT.js → log-CsCaVz2A.js} +1 -1
  149. package/dist/assets/{lottie-react.esm-Cq33pfIC.js → lottie-react.esm-BKXV9kCi.js} +1 -1
  150. package/dist/assets/{matchbrackets.es-3bFu-rM7.js → matchbrackets.es-CzWnE91z.js} +1 -1
  151. package/dist/assets/{memory-C4f-u36N.js → memory-gHhFfsR0.js} +1 -1
  152. package/dist/assets/{mode.es-fSwJIwcv.js → mode.es-C15J0aR6.js} +1 -1
  153. package/dist/assets/{mode.es2-DE0KN96r.js → mode.es2-DomABVUn.js} +1 -1
  154. package/dist/assets/{mode.es3-7lr44IEM.js → mode.es3-UeuTaWNm.js} +1 -1
  155. package/dist/assets/omit-CV0Lh9D4.js +1 -0
  156. package/dist/assets/{onlineParser.es-CgJfI2uz.js → onlineParser.es-BbMfA3YO.js} +1 -1
  157. package/dist/assets/{overview-BFj7mF3I.js → overview-Bu69g0aI.js} +2 -2
  158. package/dist/assets/{permission-CWRNDCfb.js → permission-KtOkmZK5.js} +1 -1
  159. package/dist/assets/{preference-Bu7eUUWY.js → preference-DioTxcDx.js} +4 -4
  160. package/dist/assets/pt-CMeQ7KWn.js +5 -0
  161. package/dist/assets/{raf-schd.esm-CHbi2ex4.js → raf-schd.esm-DqWgvWp8.js} +1 -1
  162. package/dist/assets/refType-M_fnNR8Y.js +1 -0
  163. package/dist/assets/{resource-dialog-Bkqsb65A.js → resource-dialog-CybAqKK7.js} +4 -4
  164. package/dist/assets/ru-8cWKcW3b.js +5 -0
  165. package/dist/assets/{runtime-BTj0lhIQ.js → runtime-C2qLnxoL.js} +1 -1
  166. package/dist/assets/{schema-v7IiGTwK.js → schema-B-wPSL-T.js} +1 -1
  167. package/dist/assets/{search.es-Dq3fEJn9.js → search.es-D-x2fK1z.js} +1 -1
  168. package/dist/assets/{searchcursor.es-4j5vi65s.js → searchcursor.es-DQ3R3tL0.js} +1 -1
  169. package/dist/assets/{service-lHsrm0NQ.js → service-1KS_Mvhf.js} +1 -1
  170. package/dist/assets/session-CDrB7OKD.js +1 -0
  171. package/dist/assets/shorten-label-3ndfcRTb.js +1 -0
  172. package/dist/assets/{show-hint.es-Ojy6T5sj.js → show-hint.es-kWFkQmfD.js} +1 -1
  173. package/dist/assets/{simple-select-F8H5fDWg.js → simple-select-CCb06xBs.js} +1 -1
  174. package/dist/assets/{spaces-BTXS6Yjp.js → spaces-Dlk0tiHl.js} +1 -1
  175. package/dist/assets/{status-IJGTdR69.js → status-D__Gu7bb.js} +1 -1
  176. package/dist/assets/{status-l9WKVdEe.js → status-qfhBp9Zz.js} +1 -1
  177. package/dist/assets/{sublime.es-B-15UZDa.js → sublime.es-D65uN2k1.js} +1 -1
  178. package/dist/assets/{switch-control-DonG73Yn.js → switch-control-Cpqmpl-t.js} +1 -1
  179. package/dist/assets/{table-icons-BHel_001.js → table-icons-Wfa_TiY1.js} +1 -1
  180. package/dist/assets/{team-B791iWfh.js → team-DLnveWtv.js} +1 -1
  181. package/dist/assets/th-DYYGBboI.js +5 -0
  182. package/dist/assets/{toLower-Na2C3nc2.js → toLower-Cc2jzGm2.js} +1 -1
  183. package/dist/assets/toUpper-B0N7bX3J.js +1 -0
  184. package/dist/assets/{traffic-C0ojZNhU.js → traffic-C9SC7OdE.js} +1 -1
  185. package/dist/assets/{url-evaluation-gByE9zMg.js → url-evaluation-C6gQAust.js} +1 -1
  186. package/dist/assets/{url-join-D1f7RCcb.js → url-join-BhaAJPg6.js} +1 -1
  187. package/dist/assets/{use-mobile-ccyNEJKq.js → use-mobile-BAkfxlsb.js} +1 -1
  188. package/dist/assets/{use-mobile-ate4xZwv.js → use-mobile-uaCblfH4.js} +1 -1
  189. package/dist/assets/{useAsync-VXf0m9o5.js → useAsync-UCL8EFNX.js} +1 -1
  190. package/dist/assets/{useLocalStorage-CM3CvKLy.js → useLocalStorage-CX0bausV.js} +1 -1
  191. package/dist/assets/{useThemeProps-BC8tRkwB.js → useThemeProps-ekXTUVYd.js} +1 -1
  192. package/dist/assets/{util-7WcGgtM2.js → util-CdmIFTbh.js} +1 -1
  193. package/dist/assets/vi-CfH0km8q.js +5 -0
  194. package/dist/assets/{wait-container-YMrkmjdy.js → wait-container-BqRh3coF.js} +3 -3
  195. package/dist/assets/withStyles-DQ3lkjuW.js +1 -0
  196. package/dist/assets/wrap-locale-DSOYhBxy.js +1 -0
  197. package/dist/assets/{zh-CY9wasmC.js → zh-DZlGQAU9.js} +1 -1
  198. package/dist/assets/zh-tw-Be5lgYGX.js +7 -0
  199. package/dist/index.html +1 -1
  200. package/dist/service-worker.js +1 -1
  201. package/package.json +1 -1
  202. package/dist/assets/CardContent-BtOX0LtZ.js +0 -1
  203. package/dist/assets/Delete-WcGTUKKB.js +0 -1
  204. package/dist/assets/api-DLD170qt.js +0 -1
  205. package/dist/assets/ar-DRtGxecv.js +0 -7
  206. package/dist/assets/blocklet-DJBGGeZX.js +0 -1
  207. package/dist/assets/click-to-copy-DMnzmGmb.js +0 -1
  208. package/dist/assets/cloneDeep-B9FR8YvV.js +0 -1
  209. package/dist/assets/de-BZDWXY3K.js +0 -7
  210. package/dist/assets/delete-confirm-BtLdya8P.js +0 -1
  211. package/dist/assets/domains-Ocd33WxK.js +0 -25
  212. package/dist/assets/emotion-react.browser.esm-BhrBe_SA.js +0 -1
  213. package/dist/assets/es-kQ6jQG-H.js +0 -7
  214. package/dist/assets/fr-Bf3jz4q5.js +0 -7
  215. package/dist/assets/getValidReactChildren-Cpt3JIPG.js +0 -1
  216. package/dist/assets/hi-DPdbGXyy.js +0 -5
  217. package/dist/assets/id-BqmT-cL5.js +0 -7
  218. package/dist/assets/index-BbQ_Eva9.js +0 -1
  219. package/dist/assets/index-CsRDH5PZ.js +0 -11
  220. package/dist/assets/index-DErkdWGS.js +0 -1
  221. package/dist/assets/index-Dk_ddRep.js +0 -20
  222. package/dist/assets/index-JQOci2IN.js +0 -1
  223. package/dist/assets/index-Smdhabbz.js +0 -102
  224. package/dist/assets/index-U3LqL5BU.js +0 -327
  225. package/dist/assets/is-path-prefix-equal-evPnCa54.js +0 -1
  226. package/dist/assets/ja-CyUU4_H1.js +0 -7
  227. package/dist/assets/ko-DWTxutv1.js +0 -7
  228. package/dist/assets/omit-CRVyfsPe.js +0 -1
  229. package/dist/assets/pt-BcsDG9H6.js +0 -5
  230. package/dist/assets/refType-DslaJ1jV.js +0 -1
  231. package/dist/assets/ru-BwH1q1F1.js +0 -5
  232. package/dist/assets/session-ZhuGZWu8.js +0 -1
  233. package/dist/assets/shorten-label-DOksnAtq.js +0 -1
  234. package/dist/assets/th-CNztcQMJ.js +0 -5
  235. package/dist/assets/toUpper-CxCsEo5T.js +0 -1
  236. package/dist/assets/vi-Bpl5HEj4.js +0 -5
  237. package/dist/assets/withStyles-oCXyS3DL.js +0 -1
  238. package/dist/assets/wrap-locale-C4NCfxhS.js +0 -1
  239. package/dist/assets/zh-tw-D6qZTlL3.js +0 -7
@@ -1,4 +1,4 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./index-D5iXLg7U.js","./index-BojVbZw0.js","./index-CwQRP9vW.js","./click-to-copy-DMnzmGmb.js","./withStyles-oCXyS3DL.js","./index-BG2kH0vO.js","./useLocalStorage-CM3CvKLy.js","./index-C1Ig2ZHh.js","./useThemeProps-BC8tRkwB.js","./emotion-react.browser.esm-BhrBe_SA.js","./ViewColumn-1pLOayu5.js","./Search-Cy1sS0Ys.js","./Clear-DnKBhMMz.js","./Delete-lfXEd_sD.js","./index-bYp_tt8z.js","./MoreVert-Dsx1svGJ.js","./TableSearch-B7Ia4hYX.js","./status-IJGTdR69.js","./url-evaluation-gByE9zMg.js","./actions-COYCVGfV.js","./get-safe-url-CVvG2J9I.js","./ButtonGroup-BwBRy_Vd.js","./getValidReactChildren-Cpt3JIPG.js","./permission-CWRNDCfb.js","./session-ZhuGZWu8.js","./install-from-url-CctlVaYm.js","./schema-v7IiGTwK.js","./index-D1AcZBxv.js","./cloneDeep-B9FR8YvV.js","./Autocomplete-BvgGgwn-.js","./ListSubheader-CXoRyaHI.js","./ListItemButton-UrtScDNv.js","./Stepper-D00G8whg.js","./Launch-VrwX5mL6.js","./Add-CaztVzCy.js","./index-Ca2ykS6T.js","./index-dpcQFGC9.js","./toLower-Na2C3nc2.js","./index-B-gpi2ba.js","./url-join-D1f7RCcb.js","./Close-z9azgP87.js","./wait-container-YMrkmjdy.js","./get-safe-url-6iqduUH5.js","./DeleteOutline-CpHx956r.js","./spaces-BTXS6Yjp.js","./api-DLD170qt.js","./index-Dk_ddRep.js","./item-C_feFNJE.js","./index-DacB9LlP.js","./ChevronLeft-BLMagiOR.js","./ChevronRight-CmLzNb37.js","./blocklet-DJBGGeZX.js","./Verified-DEPnoVi2.js","./VerifiedUser-CtMfrkOq.js","./Done-B07f5HKr.js","./delete-confirm-BtLdya8P.js","./shorten-label-DOksnAtq.js","./item-D-IRi6XF.css","./ArrowDropDown-DVC5NCF_.js","./Breadcrumbs--d8mi7-f.js","./index-U3LqL5BU.js","./index-C7M3KjDN.js","./index.esm-BiF80IE7.js","./switch-control-DonG73Yn.js","./index-H4oRzuHX.js","./Link-9GZNaOgm.js","./logo-BKA11TRi.js","./Refresh-CY_XOdj5.js","./Public-DsP_rIVN.js","./is-path-prefix-equal-evPnCa54.js","./Edit-DeW-Raa6.js","./CallMerge-BKOZFJsL.js","./CardContent-BtOX0LtZ.js","./Slider-DliZyLUu.js","./index-DErkdWGS.js","./download-hxkTe46m.js","./download-D33dFtt_.css","./index-Smdhabbz.js","./audit-logs-C5PuRwaG.js","./index-CoenHBJL.js","./index-C0Iiqot3.css","./team-B791iWfh.js","./index-CrLu05HL.js","./ViewList-BAJgFctd.js","./resource-dialog-Bkqsb65A.js","./use-mobile-ate4xZwv.js","./index-CdIzwolo.js","./index-DwcH9Py2.js","./index-D5tFxfO4.js","./index-BJHGOv7L.js","./HelpOutline-PjbpgGnS.js","./AdapterDayjs-Dd50umeM.js","./CSSTransition-B2MHWQVG.js","./refType-DslaJ1jV.js","./ErrorOutline-BamXOGix.js","./actions-rKZA5Yl3.js","./MoreHoriz-BGho5EZt.js","./index-DacxPQzS.js","./LockIcon-BNPULy1Y.js","./chain-nejdRVrr.js","./list-header-D6gN8uAe.js","./ToggleButtonGroup-Dx7Cqen3.js","./useAsync-VXf0m9o5.js","./detail-SkSHXUY6.js","./index-BbQ_Eva9.js","./invitation-B5T1tiZS.js","./index-DU1prNlR.js","./wrap-locale-C4NCfxhS.js","./index-BCoMTShJ.js","./index-BI57n5-1.js","./index-CrdafeIA.js","./agreement-CvnU-wvl.js","./index-C9UfyIb3.js","./index-CsRDH5PZ.js","./index-BkTRcS0m.js","./index-C7igR7se.css","./index-dPMBaXU5.js","./traffic-C0ojZNhU.js","./iframe-BtkIGcLr.js","./index-DMyuQ6gX.js","./memory-C4f-u36N.js","./index-BdcAx4jd.js","./index-BjeDI2iY.js"])))=>i.map(i=>d[i]);
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./index-D652L7CC.js","./index-BojVbZw0.js","./index-CIOf_B3T.js","./click-to-copy-D9mVJ-RV.js","./withStyles-DQ3lkjuW.js","./index-DIt3-b0L.js","./useLocalStorage-CX0bausV.js","./index-B7k9dkSz.js","./useThemeProps-ekXTUVYd.js","./emotion-react.browser.esm-BuYEJ5bP.js","./ViewColumn-dIIJ-TaZ.js","./Search-DNO2mA1t.js","./Clear-BYnHnNAI.js","./Delete-Ce85Ql3S.js","./index-DUWb27J9.js","./MoreVert-CJEwAyrO.js","./TableSearch-DEtaWkFM.js","./status-D__Gu7bb.js","./url-evaluation-C6gQAust.js","./actions-D_w-E3e-.js","./get-safe-url-CofQV3ai.js","./ButtonGroup-KbsqQYLp.js","./getValidReactChildren-BNMVx0A0.js","./permission-KtOkmZK5.js","./session-CDrB7OKD.js","./install-from-url-xwgejqoQ.js","./schema-B-wPSL-T.js","./index-CkIbYyM0.js","./cloneDeep-25ofqs0f.js","./Autocomplete-D4Jvroxg.js","./ListSubheader-xl2l5mXh.js","./ListItemButton-CU1frsx_.js","./Stepper-ByBBXwpK.js","./Launch-DePFcprE.js","./Add-lby-WMVZ.js","./index-BIAPYyhR.js","./index-CTEKj5go.js","./toLower-Cc2jzGm2.js","./index-D3aHzIo4.js","./url-join-BhaAJPg6.js","./Close-Dpq37qiZ.js","./wait-container-BqRh3coF.js","./get-safe-url-DzAjUQl5.js","./DeleteOutline-C6TmcfH4.js","./spaces-Dlk0tiHl.js","./api-DkiXYVLM.js","./index-E6lSv66O.js","./item-CmVxSSOE.js","./index-peWL8owC.js","./ChevronLeft-CF_uwgT0.js","./ChevronRight-DbKKEEsR.js","./blocklet-DidLj2Zo.js","./Verified-QVVCTHQV.js","./VerifiedUser-DSfNrNs3.js","./Done-BjBoPP5g.js","./delete-confirm-CPbaWrD8.js","./item-D-IRi6XF.css","./ArrowDropDown-DroHSHv1.js","./Breadcrumbs-Degq7-cg.js","./index-DJipOB3r.js","./index-Bqki_NGY.js","./index.esm-C4Qz2Lyg.js","./switch-control-Cpqmpl-t.js","./index-BJV-jbRZ.js","./Link-LyPYKPlx.js","./logo-BKA11TRi.js","./Refresh-C8sRW4ey.js","./LoadingButton-CBSsH98L.js","./Public-DU9Zwfvz.js","./is-path-prefix-equal-CH05cZsF.js","./Edit-xi4J_eau.js","./CallMerge-D43L7gfn.js","./CardContent-BBNXKDLH.js","./Slider-D2j2o6C_.js","./index-Cy5Qtbob.js","./download-gAaJAdD7.js","./download-D33dFtt_.css","./index-W1T8OGsQ.js","./audit-logs-Bi1ieUq6.js","./index-rRNsJfpm.js","./index-C0Iiqot3.css","./shorten-label-3ndfcRTb.js","./team-DLnveWtv.js","./index-7G8x7Vl0.js","./ViewList-BMlV2vpC.js","./resource-dialog-CybAqKK7.js","./use-mobile-uaCblfH4.js","./index-Dj8CUjVy.js","./index-DllLiKC-.js","./index-C1TWTzPh.js","./index-BJHGOv7L.js","./HelpOutline-D375iS8p.js","./AdapterDayjs-Bg7uGgbF.js","./CSSTransition-umLMVbSI.js","./refType-M_fnNR8Y.js","./ErrorOutline-CCSWIjK_.js","./actions-DWXi51xP.js","./MoreHoriz-BBPO3lYM.js","./index-DEtsePs-.js","./LockIcon-B45Spn4w.js","./chain-B1DYbRT2.js","./list-header-DRRNzO0m.js","./ToggleButtonGroup-ieIV-WGx.js","./useAsync-UCL8EFNX.js","./detail-BkfZ-vLq.js","./index-BcXeJXCR.js","./invitation-DTsCoqpv.js","./index-Bd8opEvI.js","./wrap-locale-DSOYhBxy.js","./index-kCV42hBz.js","./index-Dmw-rWCR.js","./index-Ct8zi4pq.js","./agreement-CDVwTK7I.js","./index-rZNPURo0.js","./index-uPaywPQ8.js","./index-mzqVbRK8.js","./index-C7igR7se.css","./index-CfWjDiL_.js","./traffic-C9SC7OdE.js","./iframe-DaFIiCmw.js","./index-Di0aMImb.js","./memory-gHhFfsR0.js","./index-Bzt7VEv3.js","./index-RxScS04A.js"])))=>i.map(i=>d[i]);
2
2
  var yo=Object.defineProperty;var uo=a=>{throw TypeError(a)};var vo=(a,j,_e)=>j in a?yo(a,j,{enumerable:!0,configurable:!0,writable:!0,value:_e}):a[j]=_e;var eo=(a,j,_e)=>vo(a,typeof j!="symbol"?j+"":j,_e),no=(a,j,_e)=>j.has(a)||uo("Cannot "+_e);var Sr=(a,j,_e)=>(no(a,j,"read from private field"),_e?_e.call(a):j.get(a)),Xr=(a,j,_e)=>j.has(a)?uo("Cannot add the same private member more than once"):j instanceof WeakSet?j.add(a):j.set(a,_e),Kr=(a,j,_e,et)=>(no(a,j,"write to private field"),et?et.call(a,_e):j.set(a,_e),_e),Mr=(a,j,_e)=>(no(a,j,"access private method"),_e);var ro=(a,j,_e,et)=>({set _(tt){Kr(a,j,tt,_e)},get _(){return Sr(a,j,et)}});function _mergeNamespaces(a,j){for(var _e=0;_e<j.length;_e++){const et=j[_e];if(typeof et!="string"&&!Array.isArray(et)){for(const tt in et)if(tt!=="default"&&!(tt in a)){const nt=Object.getOwnPropertyDescriptor(et,tt);nt&&Object.defineProperty(a,tt,nt.get?nt:{enumerable:!0,get:()=>et[tt]})}}}return Object.freeze(Object.defineProperty(a,Symbol.toStringTag,{value:"Module"}))}(function(){const j=document.createElement("link").relList;if(j&&j.supports&&j.supports("modulepreload"))return;for(const tt of document.querySelectorAll('link[rel="modulepreload"]'))et(tt);new MutationObserver(tt=>{for(const nt of tt)if(nt.type==="childList")for(const rt of nt.addedNodes)rt.tagName==="LINK"&&rt.rel==="modulepreload"&&et(rt)}).observe(document,{childList:!0,subtree:!0});function _e(tt){const nt={};return tt.integrity&&(nt.integrity=tt.integrity),tt.referrerPolicy&&(nt.referrerPolicy=tt.referrerPolicy),tt.crossOrigin==="use-credentials"?nt.credentials="include":tt.crossOrigin==="anonymous"?nt.credentials="omit":nt.credentials="same-origin",nt}function et(tt){if(tt.ep)return;tt.ep=!0;const nt=_e(tt);fetch(tt.href,nt)}})();var commonjsGlobal=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function getDefaultExportFromCjs$1(a){return a&&a.__esModule&&Object.prototype.hasOwnProperty.call(a,"default")?a.default:a}function getAugmentedNamespace(a){if(a.__esModule)return a;var j=a.default;if(typeof j=="function"){var _e=function et(){return this instanceof et?Reflect.construct(j,arguments,this.constructor):j.apply(this,arguments)};_e.prototype=j.prototype}else _e={};return Object.defineProperty(_e,"__esModule",{value:!0}),Object.keys(a).forEach(function(et){var tt=Object.getOwnPropertyDescriptor(a,et);Object.defineProperty(_e,et,tt.get?tt:{enumerable:!0,get:function(){return a[et]}})}),_e}var jsxRuntime={exports:{}},reactJsxRuntime_production_min={},react={exports:{}},react_production_min={};/**
3
3
  * @license React
4
4
  * react.production.min.js
@@ -406,7 +406,7 @@ ${j.join(`
406
406
  `}return tt=`-----BEGIN CERTIFICATE-----
407
407
  ${tt}-----END CERTIFICATE-----
408
408
  `,tt}return convertCertBufferToPEM}var convertCOSEtoPKCS={},hasRequiredConvertCOSEtoPKCS;function requireConvertCOSEtoPKCS(){if(hasRequiredConvertCOSEtoPKCS)return convertCOSEtoPKCS;hasRequiredConvertCOSEtoPKCS=1,Object.defineProperty(convertCOSEtoPKCS,"__esModule",{value:!0}),convertCOSEtoPKCS.convertCOSEtoPKCS=_e;const a=requireIso(),j=cose;function _e(et){const tt=a.isoCBOR.decodeFirst(et),nt=Uint8Array.from([4]),rt=tt.get(j.COSEKEYS.x),it=tt.get(j.COSEKEYS.y);if(!rt)throw new Error("COSE public key was missing x");return it?a.isoUint8Array.concat([nt,rt,it]):a.isoUint8Array.concat([nt,rt])}return convertCOSEtoPKCS}var decodeAttestationObject={},hasRequiredDecodeAttestationObject;function requireDecodeAttestationObject(){return hasRequiredDecodeAttestationObject||(hasRequiredDecodeAttestationObject=1,function(a){Object.defineProperty(a,"__esModule",{value:!0}),a._decodeAttestationObjectInternals=void 0,a.decodeAttestationObject=_e;const j=requireIso();function _e(et){return a._decodeAttestationObjectInternals.stubThis(j.isoCBOR.decodeFirst(et))}a._decodeAttestationObjectInternals={stubThis:et=>et}}(decodeAttestationObject)),decodeAttestationObject}var decodeClientDataJSON={},hasRequiredDecodeClientDataJSON;function requireDecodeClientDataJSON(){return hasRequiredDecodeClientDataJSON||(hasRequiredDecodeClientDataJSON=1,function(a){Object.defineProperty(a,"__esModule",{value:!0}),a._decodeClientDataJSONInternals=void 0,a.decodeClientDataJSON=_e;const j=requireIso();function _e(et){const tt=j.isoBase64URL.toUTF8String(et),nt=JSON.parse(tt);return a._decodeClientDataJSONInternals.stubThis(nt)}a._decodeClientDataJSONInternals={stubThis:et=>et}}(decodeClientDataJSON)),decodeClientDataJSON}var decodeCredentialPublicKey={},hasRequiredDecodeCredentialPublicKey;function requireDecodeCredentialPublicKey(){return hasRequiredDecodeCredentialPublicKey||(hasRequiredDecodeCredentialPublicKey=1,function(a){Object.defineProperty(a,"__esModule",{value:!0}),a._decodeCredentialPublicKeyInternals=void 0,a.decodeCredentialPublicKey=_e;const j=requireIso();function _e(et){return a._decodeCredentialPublicKeyInternals.stubThis(j.isoCBOR.decodeFirst(et))}a._decodeCredentialPublicKeyInternals={stubThis:et=>et}}(decodeCredentialPublicKey)),decodeCredentialPublicKey}var generateChallenge={},hasRequiredGenerateChallenge;function requireGenerateChallenge(){return hasRequiredGenerateChallenge||(hasRequiredGenerateChallenge=1,function(a){Object.defineProperty(a,"__esModule",{value:!0}),a._generateChallengeInternals=void 0,a.generateChallenge=_e;const j=requireIso();async function _e(){const et=new Uint8Array(32);return await j.isoCrypto.getRandomValues(et),a._generateChallengeInternals.stubThis(et)}a._generateChallengeInternals={stubThis:et=>et}}(generateChallenge)),generateChallenge}var generateUserID={},hasRequiredGenerateUserID;function requireGenerateUserID(){return hasRequiredGenerateUserID||(hasRequiredGenerateUserID=1,function(a){Object.defineProperty(a,"__esModule",{value:!0}),a._generateUserIDInternals=void 0,a.generateUserID=_e;const j=requireIso();async function _e(){const et=new Uint8Array(32);return await j.isoCrypto.getRandomValues(et),a._generateUserIDInternals.stubThis(et)}a._generateUserIDInternals={stubThis:et=>et}}(generateUserID)),generateUserID}var getCertificateInfo$1={};const require$$1$3=getAugmentedNamespace(es2015$2);Object.defineProperty(getCertificateInfo$1,"__esModule",{value:!0});getCertificateInfo$1.getCertificateInfo=getCertificateInfo;const asn1_schema_1$1=require$$0$4,asn1_x509_1$1=require$$1$3,issuerSubjectIDKey={"2.5.4.6":"C","2.5.4.10":"O","2.5.4.11":"OU","2.5.4.3":"CN"};function getCertificateInfo(a){const j=asn1_schema_1$1.AsnParser.parse(a,asn1_x509_1$1.Certificate),_e=j.tbsCertificate,et={combined:""};_e.issuer.forEach(([rt])=>{const it=issuerSubjectIDKey[rt.type];it&&(et[it]=rt.value.toString())}),et.combined=issuerSubjectToString(et);const tt={combined:""};_e.subject.forEach(([rt])=>{const it=issuerSubjectIDKey[rt.type];it&&(tt[it]=rt.value.toString())}),tt.combined=issuerSubjectToString(tt);let nt=!1;if(_e.extensions)for(const rt of _e.extensions)rt.extnID===asn1_x509_1$1.id_ce_basicConstraints&&(nt=asn1_schema_1$1.AsnParser.parse(rt.extnValue,asn1_x509_1$1.BasicConstraints).cA);return{issuer:et,subject:tt,version:_e.version,basicConstraintsCA:nt,notBefore:_e.validity.notBefore.getTime(),notAfter:_e.validity.notAfter.getTime(),parsedCertificate:j}}function issuerSubjectToString(a){const j=[];return a.C&&j.push(a.C),a.O&&j.push(a.O),a.OU&&j.push(a.OU),a.CN&&j.push(a.CN),j.join(" : ")}var isCertRevoked={},fetch$3={},browserPonyfill={exports:{}};(function(a,j){var _e=typeof globalThis<"u"&&globalThis||typeof self<"u"&&self||typeof commonjsGlobal<"u"&&commonjsGlobal,et=function(){function nt(){this.fetch=!1,this.DOMException=_e.DOMException}return nt.prototype=_e,new nt}();(function(nt){(function(rt){var it=typeof nt<"u"&&nt||typeof self<"u"&&self||typeof commonjsGlobal<"u"&&commonjsGlobal||{},ot={searchParams:"URLSearchParams"in it,iterable:"Symbol"in it&&"iterator"in Symbol,blob:"FileReader"in it&&"Blob"in it&&function(){try{return new Blob,!0}catch{return!1}}(),formData:"FormData"in it,arrayBuffer:"ArrayBuffer"in it};function ut(ht){return ht&&DataView.prototype.isPrototypeOf(ht)}if(ot.arrayBuffer)var st=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],ct=ArrayBuffer.isView||function(ht){return ht&&st.indexOf(Object.prototype.toString.call(ht))>-1};function ft(ht){if(typeof ht!="string"&&(ht=String(ht)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(ht)||ht==="")throw new TypeError('Invalid character in header field name: "'+ht+'"');return ht.toLowerCase()}function pt(ht){return typeof ht!="string"&&(ht=String(ht)),ht}function yt(ht){var Et={next:function(){var St=ht.shift();return{done:St===void 0,value:St}}};return ot.iterable&&(Et[Symbol.iterator]=function(){return Et}),Et}function mt(ht){this.map={},ht instanceof mt?ht.forEach(function(Et,St){this.append(St,Et)},this):Array.isArray(ht)?ht.forEach(function(Et){if(Et.length!=2)throw new TypeError("Headers constructor: expected name/value pair to be length 2, found"+Et.length);this.append(Et[0],Et[1])},this):ht&&Object.getOwnPropertyNames(ht).forEach(function(Et){this.append(Et,ht[Et])},this)}mt.prototype.append=function(ht,Et){ht=ft(ht),Et=pt(Et);var St=this.map[ht];this.map[ht]=St?St+", "+Et:Et},mt.prototype.delete=function(ht){delete this.map[ft(ht)]},mt.prototype.get=function(ht){return ht=ft(ht),this.has(ht)?this.map[ht]:null},mt.prototype.has=function(ht){return this.map.hasOwnProperty(ft(ht))},mt.prototype.set=function(ht,Et){this.map[ft(ht)]=pt(Et)},mt.prototype.forEach=function(ht,Et){for(var St in this.map)this.map.hasOwnProperty(St)&&ht.call(Et,this.map[St],St,this)},mt.prototype.keys=function(){var ht=[];return this.forEach(function(Et,St){ht.push(St)}),yt(ht)},mt.prototype.values=function(){var ht=[];return this.forEach(function(Et){ht.push(Et)}),yt(ht)},mt.prototype.entries=function(){var ht=[];return this.forEach(function(Et,St){ht.push([St,Et])}),yt(ht)},ot.iterable&&(mt.prototype[Symbol.iterator]=mt.prototype.entries);function bt(ht){if(!ht._noBody){if(ht.bodyUsed)return Promise.reject(new TypeError("Already read"));ht.bodyUsed=!0}}function xt(ht){return new Promise(function(Et,St){ht.onload=function(){Et(ht.result)},ht.onerror=function(){St(ht.error)}})}function $t(ht){var Et=new FileReader,St=xt(Et);return Et.readAsArrayBuffer(ht),St}function kt(ht){var Et=new FileReader,St=xt(Et),Rt=/charset=([A-Za-z0-9_-]+)/.exec(ht.type),wt=Rt?Rt[1]:"utf-8";return Et.readAsText(ht,wt),St}function Pt(ht){for(var Et=new Uint8Array(ht),St=new Array(Et.length),Rt=0;Rt<Et.length;Rt++)St[Rt]=String.fromCharCode(Et[Rt]);return St.join("")}function Nt(ht){if(ht.slice)return ht.slice(0);var Et=new Uint8Array(ht.byteLength);return Et.set(new Uint8Array(ht)),Et.buffer}function Ot(){return this.bodyUsed=!1,this._initBody=function(ht){this.bodyUsed=this.bodyUsed,this._bodyInit=ht,ht?typeof ht=="string"?this._bodyText=ht:ot.blob&&Blob.prototype.isPrototypeOf(ht)?this._bodyBlob=ht:ot.formData&&FormData.prototype.isPrototypeOf(ht)?this._bodyFormData=ht:ot.searchParams&&URLSearchParams.prototype.isPrototypeOf(ht)?this._bodyText=ht.toString():ot.arrayBuffer&&ot.blob&&ut(ht)?(this._bodyArrayBuffer=Nt(ht.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):ot.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(ht)||ct(ht))?this._bodyArrayBuffer=Nt(ht):this._bodyText=ht=Object.prototype.toString.call(ht):(this._noBody=!0,this._bodyText=""),this.headers.get("content-type")||(typeof ht=="string"?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):ot.searchParams&&URLSearchParams.prototype.isPrototypeOf(ht)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},ot.blob&&(this.blob=function(){var ht=bt(this);if(ht)return ht;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))}),this.arrayBuffer=function(){if(this._bodyArrayBuffer){var ht=bt(this);return ht||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer))}else{if(ot.blob)return this.blob().then($t);throw new Error("could not read as ArrayBuffer")}},this.text=function(){var ht=bt(this);if(ht)return ht;if(this._bodyBlob)return kt(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(Pt(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},ot.formData&&(this.formData=function(){return this.text().then(on)}),this.json=function(){return this.text().then(JSON.parse)},this}var Ft=["CONNECT","DELETE","GET","HEAD","OPTIONS","PATCH","POST","PUT","TRACE"];function Vt(ht){var Et=ht.toUpperCase();return Ft.indexOf(Et)>-1?Et:ht}function Zt(ht,Et){if(!(this instanceof Zt))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');Et=Et||{};var St=Et.body;if(ht instanceof Zt){if(ht.bodyUsed)throw new TypeError("Already read");this.url=ht.url,this.credentials=ht.credentials,Et.headers||(this.headers=new mt(ht.headers)),this.method=ht.method,this.mode=ht.mode,this.signal=ht.signal,!St&&ht._bodyInit!=null&&(St=ht._bodyInit,ht.bodyUsed=!0)}else this.url=String(ht);if(this.credentials=Et.credentials||this.credentials||"same-origin",(Et.headers||!this.headers)&&(this.headers=new mt(Et.headers)),this.method=Vt(Et.method||this.method||"GET"),this.mode=Et.mode||this.mode||null,this.signal=Et.signal||this.signal||function(){if("AbortController"in it){var Ct=new AbortController;return Ct.signal}}(),this.referrer=null,(this.method==="GET"||this.method==="HEAD")&&St)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(St),(this.method==="GET"||this.method==="HEAD")&&(Et.cache==="no-store"||Et.cache==="no-cache")){var Rt=/([?&])_=[^&]*/;if(Rt.test(this.url))this.url=this.url.replace(Rt,"$1_="+new Date().getTime());else{var wt=/\?/;this.url+=(wt.test(this.url)?"&":"?")+"_="+new Date().getTime()}}}Zt.prototype.clone=function(){return new Zt(this,{body:this._bodyInit})};function on(ht){var Et=new FormData;return ht.trim().split("&").forEach(function(St){if(St){var Rt=St.split("="),wt=Rt.shift().replace(/\+/g," "),Ct=Rt.join("=").replace(/\+/g," ");Et.append(decodeURIComponent(wt),decodeURIComponent(Ct))}}),Et}function Ht(ht){var Et=new mt,St=ht.replace(/\r?\n[\t ]+/g," ");return St.split("\r").map(function(Rt){return Rt.indexOf(`
409
- `)===0?Rt.substr(1,Rt.length):Rt}).forEach(function(Rt){var wt=Rt.split(":"),Ct=wt.shift().trim();if(Ct){var At=wt.join(":").trim();try{Et.append(Ct,At)}catch(vt){console.warn("Response "+vt.message)}}}),Et}Ot.call(Zt.prototype);function It(ht,Et){if(!(this instanceof It))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');if(Et||(Et={}),this.type="default",this.status=Et.status===void 0?200:Et.status,this.status<200||this.status>599)throw new RangeError("Failed to construct 'Response': The status provided (0) is outside the range [200, 599].");this.ok=this.status>=200&&this.status<300,this.statusText=Et.statusText===void 0?"":""+Et.statusText,this.headers=new mt(Et.headers),this.url=Et.url||"",this._initBody(ht)}Ot.call(It.prototype),It.prototype.clone=function(){return new It(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new mt(this.headers),url:this.url})},It.error=function(){var ht=new It(null,{status:200,statusText:""});return ht.ok=!1,ht.status=0,ht.type="error",ht};var Tt=[301,302,303,307,308];It.redirect=function(ht,Et){if(Tt.indexOf(Et)===-1)throw new RangeError("Invalid status code");return new It(null,{status:Et,headers:{location:ht}})},rt.DOMException=it.DOMException;try{new rt.DOMException}catch{rt.DOMException=function(Et,St){this.message=Et,this.name=St;var Rt=Error(Et);this.stack=Rt.stack},rt.DOMException.prototype=Object.create(Error.prototype),rt.DOMException.prototype.constructor=rt.DOMException}function dt(ht,Et){return new Promise(function(St,Rt){var wt=new Zt(ht,Et);if(wt.signal&&wt.signal.aborted)return Rt(new rt.DOMException("Aborted","AbortError"));var Ct=new XMLHttpRequest;function At(){Ct.abort()}Ct.onload=function(){var Yt={statusText:Ct.statusText,headers:Ht(Ct.getAllResponseHeaders()||"")};wt.url.indexOf("file://")===0&&(Ct.status<200||Ct.status>599)?Yt.status=200:Yt.status=Ct.status,Yt.url="responseURL"in Ct?Ct.responseURL:Yt.headers.get("X-Request-URL");var jt="response"in Ct?Ct.response:Ct.responseText;setTimeout(function(){St(new It(jt,Yt))},0)},Ct.onerror=function(){setTimeout(function(){Rt(new TypeError("Network request failed"))},0)},Ct.ontimeout=function(){setTimeout(function(){Rt(new TypeError("Network request timed out"))},0)},Ct.onabort=function(){setTimeout(function(){Rt(new rt.DOMException("Aborted","AbortError"))},0)};function vt(Yt){try{return Yt===""&&it.location.href?it.location.href:Yt}catch{return Yt}}if(Ct.open(wt.method,vt(wt.url),!0),wt.credentials==="include"?Ct.withCredentials=!0:wt.credentials==="omit"&&(Ct.withCredentials=!1),"responseType"in Ct&&(ot.blob?Ct.responseType="blob":ot.arrayBuffer&&(Ct.responseType="arraybuffer")),Et&&typeof Et.headers=="object"&&!(Et.headers instanceof mt||it.Headers&&Et.headers instanceof it.Headers)){var Lt=[];Object.getOwnPropertyNames(Et.headers).forEach(function(Yt){Lt.push(ft(Yt)),Ct.setRequestHeader(Yt,pt(Et.headers[Yt]))}),wt.headers.forEach(function(Yt,jt){Lt.indexOf(jt)===-1&&Ct.setRequestHeader(jt,Yt)})}else wt.headers.forEach(function(Yt,jt){Ct.setRequestHeader(jt,Yt)});wt.signal&&(wt.signal.addEventListener("abort",At),Ct.onreadystatechange=function(){Ct.readyState===4&&wt.signal.removeEventListener("abort",At)}),Ct.send(typeof wt._bodyInit>"u"?null:wt._bodyInit)})}return dt.polyfill=!0,it.fetch||(it.fetch=dt,it.Headers=mt,it.Request=Zt,it.Response=It),rt.Headers=mt,rt.Request=Zt,rt.Response=It,rt.fetch=dt,rt})({})})(et),et.fetch.ponyfill=!0,delete et.fetch.polyfill;var tt=_e.fetch?_e:et;j=tt.fetch,j.default=tt.fetch,j.fetch=tt.fetch,j.Headers=tt.Headers,j.Request=tt.Request,j.Response=tt.Response,a.exports=j})(browserPonyfill,browserPonyfill.exports);var browserPonyfillExports=browserPonyfill.exports;(function(a){Object.defineProperty(a,"__esModule",{value:!0}),a._fetchInternals=void 0,a.fetch=_e;const j=browserPonyfillExports;function _e(et){return a._fetchInternals.stubThis(et)}a._fetchInternals={stubThis:et=>(0,j.fetch)(et)}})(fetch$3);var hasRequiredIsCertRevoked;function requireIsCertRevoked(){if(hasRequiredIsCertRevoked)return isCertRevoked;hasRequiredIsCertRevoked=1,Object.defineProperty(isCertRevoked,"__esModule",{value:!0}),isCertRevoked.isCertRevoked=nt;const a=require$$0$4,j=require$$1$3,_e=requireIso(),et=fetch$3,tt={};async function nt(rt){var $t,kt;const{extensions:it}=rt.tbsCertificate;if(!it)return!1;let ot,ut,st;it.forEach(Pt=>{Pt.extnID===j.id_ce_authorityKeyIdentifier?ot=a.AsnParser.parse(Pt.extnValue,j.AuthorityKeyIdentifier):Pt.extnID===j.id_ce_subjectKeyIdentifier?ut=a.AsnParser.parse(Pt.extnValue,j.SubjectKeyIdentifier):Pt.extnID===j.id_ce_cRLDistributionPoints&&(st=a.AsnParser.parse(Pt.extnValue,j.CRLDistributionPoints))});let ct;ot&&ot.keyIdentifier?ct=_e.isoUint8Array.toHex(new Uint8Array(ot.keyIdentifier.buffer)):ut&&(ct=_e.isoUint8Array.toHex(new Uint8Array(ut.buffer)));const ft=_e.isoUint8Array.toHex(new Uint8Array(rt.tbsCertificate.serialNumber));if(ct){const Pt=tt[ct];if(Pt){const Nt=new Date;if(!Pt.nextUpdate||Pt.nextUpdate>Nt)return Pt.revokedCerts.indexOf(ft)>=0}}const pt=(kt=($t=st==null?void 0:st[0].distributionPoint)==null?void 0:$t.fullName)==null?void 0:kt[0].uniformResourceIdentifier;if(!pt)return!1;let yt;try{yt=await(await(0,et.fetch)(pt)).arrayBuffer()}catch{return!1}let mt;try{mt=a.AsnParser.parse(yt,j.CertificateList)}catch{return!1}const bt={revokedCerts:[],nextUpdate:void 0};mt.tbsCertList.nextUpdate&&(bt.nextUpdate=mt.tbsCertList.nextUpdate.getTime());const xt=mt.tbsCertList.revokedCertificates;if(xt){for(const Pt of xt){const Nt=_e.isoUint8Array.toHex(new Uint8Array(Pt.userCertificate));bt.revokedCerts.push(Nt)}return ct&&(tt[ct]=bt),bt.revokedCerts.indexOf(ft)>=0}return!1}return isCertRevoked}var parseAuthenticatorData={},decodeAuthenticatorExtensions={},hasRequiredDecodeAuthenticatorExtensions;function requireDecodeAuthenticatorExtensions(){if(hasRequiredDecodeAuthenticatorExtensions)return decodeAuthenticatorExtensions;hasRequiredDecodeAuthenticatorExtensions=1,Object.defineProperty(decodeAuthenticatorExtensions,"__esModule",{value:!0}),decodeAuthenticatorExtensions.decodeAuthenticatorExtensions=j;const a=requireIso();function j(et){let tt;try{tt=a.isoCBOR.decodeFirst(et)}catch(nt){const rt=nt;throw new Error(`Error decoding authenticator extensions: ${rt.message}`)}return _e(tt)}function _e(et){const tt={};for(const[nt,rt]of et)rt instanceof Map?tt[nt]=_e(rt):tt[nt]=rt;return tt}return decodeAuthenticatorExtensions}var hasRequiredParseAuthenticatorData;function requireParseAuthenticatorData(){return hasRequiredParseAuthenticatorData||(hasRequiredParseAuthenticatorData=1,function(a){Object.defineProperty(a,"__esModule",{value:!0}),a._parseAuthenticatorDataInternals=void 0,a.parseAuthenticatorData=et;const j=requireDecodeAuthenticatorExtensions(),_e=requireIso();function et(tt){if(tt.byteLength<37)throw new Error(`Authenticator data was ${tt.byteLength} bytes, expected at least 37 bytes`);let nt=0;const rt=_e.isoUint8Array.toDataView(tt),it=tt.slice(nt,nt+=32),ot=tt.slice(nt,nt+=1),ut=ot[0],st={up:!!(ut&1),uv:!!(ut&4),be:!!(ut&8),bs:!!(ut&16),at:!!(ut&64),ed:!!(ut&128),flagsInt:ut},ct=tt.slice(nt,nt+4),ft=rt.getUint32(nt,!1);nt+=4;let pt,yt,mt;if(st.at){pt=tt.slice(nt,nt+=16);const $t=rt.getUint16(nt);nt+=2,yt=tt.slice(nt,nt+=$t);const kt=_e.isoUint8Array.fromHex("a301634f4b500327206745643235353139"),Pt=tt.slice(nt,nt+kt.byteLength);let Nt=!1;_e.isoUint8Array.areEqual(kt,Pt)&&(Nt=!0,tt[nt]=164);const Ot=_e.isoCBOR.decodeFirst(tt.slice(nt)),Ft=Uint8Array.from(_e.isoCBOR.encode(Ot));Nt&&(tt[nt]=163),mt=Ft,nt+=Ft.byteLength}let bt,xt;if(st.ed){const $t=_e.isoCBOR.decodeFirst(tt.slice(nt));xt=Uint8Array.from(_e.isoCBOR.encode($t)),bt=(0,j.decodeAuthenticatorExtensions)(xt),nt+=xt.byteLength}if(tt.byteLength>nt)throw new Error("Leftover bytes detected while parsing authenticator data");return a._parseAuthenticatorDataInternals.stubThis({rpIdHash:it,flagsBuf:ot,flags:st,counter:ft,counterBuf:ct,aaguid:pt,credentialID:yt,credentialPublicKey:mt,extensionsData:bt,extensionsDataBuffer:xt})}a._parseAuthenticatorDataInternals={stubThis:tt=>tt}}(parseAuthenticatorData)),parseAuthenticatorData}var toHash={},hasRequiredToHash;function requireToHash(){if(hasRequiredToHash)return toHash;hasRequiredToHash=1,Object.defineProperty(toHash,"__esModule",{value:!0}),toHash.toHash=j;const a=requireIso();function j(_e,et=-7){return typeof _e=="string"&&(_e=a.isoUint8Array.fromUTF8String(_e)),a.isoCrypto.digest(_e,et)}return toHash}var validateCertificatePath={},verifySignature={},convertX509PublicKeyToCOSE$1={};const id_pkcs_1="1.2.840.113549.1.1",id_rsaEncryption=`${id_pkcs_1}.1`,id_RSAES_OAEP=`${id_pkcs_1}.7`,id_pSpecified=`${id_pkcs_1}.9`,id_RSASSA_PSS=`${id_pkcs_1}.10`,id_md2WithRSAEncryption=`${id_pkcs_1}.2`,id_md5WithRSAEncryption=`${id_pkcs_1}.4`,id_sha1WithRSAEncryption=`${id_pkcs_1}.5`,id_sha224WithRSAEncryption=`${id_pkcs_1}.14`,id_ssha224WithRSAEncryption=id_sha224WithRSAEncryption,id_sha256WithRSAEncryption=`${id_pkcs_1}.11`,id_sha384WithRSAEncryption=`${id_pkcs_1}.12`,id_sha512WithRSAEncryption=`${id_pkcs_1}.13`,id_sha512_224WithRSAEncryption=`${id_pkcs_1}.15`,id_sha512_256WithRSAEncryption=`${id_pkcs_1}.16`,id_sha1="1.3.14.3.2.26",id_sha224="2.16.840.1.101.3.4.2.4",id_sha256="2.16.840.1.101.3.4.2.1",id_sha384="2.16.840.1.101.3.4.2.2",id_sha512="2.16.840.1.101.3.4.2.3",id_sha512_224="2.16.840.1.101.3.4.2.5",id_sha512_256="2.16.840.1.101.3.4.2.6",id_md2="1.2.840.113549.2.2",id_md5="1.2.840.113549.2.5",id_mgf1=`${id_pkcs_1}.8`;function create$4(a){return new AlgorithmIdentifier({algorithm:a,parameters:null})}const md2=create$4(id_md2),md4=create$4(id_md5),sha1=create$4(id_sha1),sha224=create$4(id_sha224),sha256=create$4(id_sha256),sha384=create$4(id_sha384),sha512=create$4(id_sha512),sha512_224=create$4(id_sha512_224),sha512_256=create$4(id_sha512_256),mgf1SHA1=new AlgorithmIdentifier({algorithm:id_mgf1,parameters:AsnConvert.serialize(sha1)}),pSpecifiedEmpty=new AlgorithmIdentifier({algorithm:id_pSpecified,parameters:AsnConvert.serialize(AsnOctetStringConverter.toASN(new Uint8Array([218,57,163,238,94,107,75,13,50,85,191,239,149,96,24,144,175,216,7,9]).buffer))}),rsaEncryption=create$4(id_rsaEncryption),md2WithRSAEncryption=create$4(id_md2WithRSAEncryption),md5WithRSAEncryption=create$4(id_md5WithRSAEncryption),sha1WithRSAEncryption=create$4(id_sha1WithRSAEncryption),sha224WithRSAEncryption=create$4(id_sha512_224WithRSAEncryption),sha256WithRSAEncryption=create$4(id_sha512_256WithRSAEncryption),sha384WithRSAEncryption=create$4(id_sha384WithRSAEncryption),sha512WithRSAEncryption=create$4(id_sha512WithRSAEncryption),sha512_224WithRSAEncryption=create$4(id_sha512_224WithRSAEncryption),sha512_256WithRSAEncryption=create$4(id_sha512_256WithRSAEncryption);class RsaEsOaepParams{constructor(j={}){this.hashAlgorithm=new AlgorithmIdentifier(sha1),this.maskGenAlgorithm=new AlgorithmIdentifier({algorithm:id_mgf1,parameters:AsnConvert.serialize(sha1)}),this.pSourceAlgorithm=new AlgorithmIdentifier(pSpecifiedEmpty),Object.assign(this,j)}}__decorate([AsnProp({type:AlgorithmIdentifier,context:0,defaultValue:sha1})],RsaEsOaepParams.prototype,"hashAlgorithm",void 0);__decorate([AsnProp({type:AlgorithmIdentifier,context:1,defaultValue:mgf1SHA1})],RsaEsOaepParams.prototype,"maskGenAlgorithm",void 0);__decorate([AsnProp({type:AlgorithmIdentifier,context:2,defaultValue:pSpecifiedEmpty})],RsaEsOaepParams.prototype,"pSourceAlgorithm",void 0);const RSAES_OAEP=new AlgorithmIdentifier({algorithm:id_RSAES_OAEP,parameters:AsnConvert.serialize(new RsaEsOaepParams)});class RsaSaPssParams{constructor(j={}){this.hashAlgorithm=new AlgorithmIdentifier(sha1),this.maskGenAlgorithm=new AlgorithmIdentifier({algorithm:id_mgf1,parameters:AsnConvert.serialize(sha1)}),this.saltLength=20,this.trailerField=1,Object.assign(this,j)}}__decorate([AsnProp({type:AlgorithmIdentifier,context:0,defaultValue:sha1})],RsaSaPssParams.prototype,"hashAlgorithm",void 0);__decorate([AsnProp({type:AlgorithmIdentifier,context:1,defaultValue:mgf1SHA1})],RsaSaPssParams.prototype,"maskGenAlgorithm",void 0);__decorate([AsnProp({type:AsnPropTypes.Integer,context:2,defaultValue:20})],RsaSaPssParams.prototype,"saltLength",void 0);__decorate([AsnProp({type:AsnPropTypes.Integer,context:3,defaultValue:1})],RsaSaPssParams.prototype,"trailerField",void 0);const RSASSA_PSS=new AlgorithmIdentifier({algorithm:id_RSASSA_PSS,parameters:AsnConvert.serialize(new RsaSaPssParams)});class DigestInfo{constructor(j={}){this.digestAlgorithm=new AlgorithmIdentifier,this.digest=new OctetString,Object.assign(this,j)}}__decorate([AsnProp({type:AlgorithmIdentifier})],DigestInfo.prototype,"digestAlgorithm",void 0);__decorate([AsnProp({type:OctetString})],DigestInfo.prototype,"digest",void 0);var OtherPrimeInfos_1;class OtherPrimeInfo{constructor(j={}){this.prime=new ArrayBuffer(0),this.exponent=new ArrayBuffer(0),this.coefficient=new ArrayBuffer(0),Object.assign(this,j)}}__decorate([AsnProp({type:AsnPropTypes.Integer,converter:AsnIntegerArrayBufferConverter})],OtherPrimeInfo.prototype,"prime",void 0);__decorate([AsnProp({type:AsnPropTypes.Integer,converter:AsnIntegerArrayBufferConverter})],OtherPrimeInfo.prototype,"exponent",void 0);__decorate([AsnProp({type:AsnPropTypes.Integer,converter:AsnIntegerArrayBufferConverter})],OtherPrimeInfo.prototype,"coefficient",void 0);let OtherPrimeInfos=OtherPrimeInfos_1=class extends AsnArray{constructor(j){super(j),Object.setPrototypeOf(this,OtherPrimeInfos_1.prototype)}};OtherPrimeInfos=OtherPrimeInfos_1=__decorate([AsnType({type:AsnTypeTypes.Sequence,itemType:OtherPrimeInfo})],OtherPrimeInfos);class RSAPrivateKey{constructor(j={}){this.version=0,this.modulus=new ArrayBuffer(0),this.publicExponent=new ArrayBuffer(0),this.privateExponent=new ArrayBuffer(0),this.prime1=new ArrayBuffer(0),this.prime2=new ArrayBuffer(0),this.exponent1=new ArrayBuffer(0),this.exponent2=new ArrayBuffer(0),this.coefficient=new ArrayBuffer(0),Object.assign(this,j)}}__decorate([AsnProp({type:AsnPropTypes.Integer})],RSAPrivateKey.prototype,"version",void 0);__decorate([AsnProp({type:AsnPropTypes.Integer,converter:AsnIntegerArrayBufferConverter})],RSAPrivateKey.prototype,"modulus",void 0);__decorate([AsnProp({type:AsnPropTypes.Integer,converter:AsnIntegerArrayBufferConverter})],RSAPrivateKey.prototype,"publicExponent",void 0);__decorate([AsnProp({type:AsnPropTypes.Integer,converter:AsnIntegerArrayBufferConverter})],RSAPrivateKey.prototype,"privateExponent",void 0);__decorate([AsnProp({type:AsnPropTypes.Integer,converter:AsnIntegerArrayBufferConverter})],RSAPrivateKey.prototype,"prime1",void 0);__decorate([AsnProp({type:AsnPropTypes.Integer,converter:AsnIntegerArrayBufferConverter})],RSAPrivateKey.prototype,"prime2",void 0);__decorate([AsnProp({type:AsnPropTypes.Integer,converter:AsnIntegerArrayBufferConverter})],RSAPrivateKey.prototype,"exponent1",void 0);__decorate([AsnProp({type:AsnPropTypes.Integer,converter:AsnIntegerArrayBufferConverter})],RSAPrivateKey.prototype,"exponent2",void 0);__decorate([AsnProp({type:AsnPropTypes.Integer,converter:AsnIntegerArrayBufferConverter})],RSAPrivateKey.prototype,"coefficient",void 0);__decorate([AsnProp({type:OtherPrimeInfos,optional:!0})],RSAPrivateKey.prototype,"otherPrimeInfos",void 0);class RSAPublicKey{constructor(j={}){this.modulus=new ArrayBuffer(0),this.publicExponent=new ArrayBuffer(0),Object.assign(this,j)}}__decorate([AsnProp({type:AsnPropTypes.Integer,converter:AsnIntegerArrayBufferConverter})],RSAPublicKey.prototype,"modulus",void 0);__decorate([AsnProp({type:AsnPropTypes.Integer,converter:AsnIntegerArrayBufferConverter})],RSAPublicKey.prototype,"publicExponent",void 0);const es2015=Object.freeze(Object.defineProperty({__proto__:null,DigestInfo,OtherPrimeInfo,get OtherPrimeInfos(){return OtherPrimeInfos},RSAES_OAEP,RSAPrivateKey,RSAPublicKey,RSASSA_PSS,RsaEsOaepParams,RsaSaPssParams,id_RSAES_OAEP,id_RSASSA_PSS,id_md2,id_md2WithRSAEncryption,id_md5,id_md5WithRSAEncryption,id_mgf1,id_pSpecified,id_pkcs_1,id_rsaEncryption,id_sha1,id_sha1WithRSAEncryption,id_sha224,id_sha224WithRSAEncryption,id_sha256,id_sha256WithRSAEncryption,id_sha384,id_sha384WithRSAEncryption,id_sha512,id_sha512WithRSAEncryption,id_sha512_224,id_sha512_224WithRSAEncryption,id_sha512_256,id_sha512_256WithRSAEncryption,id_ssha224WithRSAEncryption,md2,md2WithRSAEncryption,md4,md5WithRSAEncryption,mgf1SHA1,pSpecifiedEmpty,rsaEncryption,sha1,sha1WithRSAEncryption,sha224,sha224WithRSAEncryption,sha256,sha256WithRSAEncryption,sha384,sha384WithRSAEncryption,sha512,sha512WithRSAEncryption,sha512_224,sha512_224WithRSAEncryption,sha512_256,sha512_256WithRSAEncryption},Symbol.toStringTag,{value:"Module"})),require$$4$1=getAugmentedNamespace(es2015);var mapX509SignatureAlgToCOSEAlg$1={};Object.defineProperty(mapX509SignatureAlgToCOSEAlg$1,"__esModule",{value:!0});mapX509SignatureAlgToCOSEAlg$1.mapX509SignatureAlgToCOSEAlg=mapX509SignatureAlgToCOSEAlg;const cose_js_1$1=cose;function mapX509SignatureAlgToCOSEAlg(a){let j;if(a==="1.2.840.10045.4.3.2")j=cose_js_1$1.COSEALG.ES256;else if(a==="1.2.840.10045.4.3.3")j=cose_js_1$1.COSEALG.ES384;else if(a==="1.2.840.10045.4.3.4")j=cose_js_1$1.COSEALG.ES512;else if(a==="1.2.840.113549.1.1.11")j=cose_js_1$1.COSEALG.RS256;else if(a==="1.2.840.113549.1.1.12")j=cose_js_1$1.COSEALG.RS384;else if(a==="1.2.840.113549.1.1.13")j=cose_js_1$1.COSEALG.RS512;else if(a==="1.2.840.113549.1.1.5")j=cose_js_1$1.COSEALG.RS1;else throw new Error(`Unable to map X.509 signature algorithm ${a} to a COSE algorithm`);return j}Object.defineProperty(convertX509PublicKeyToCOSE$1,"__esModule",{value:!0});convertX509PublicKeyToCOSE$1.convertX509PublicKeyToCOSE=convertX509PublicKeyToCOSE;const asn1_schema_1=require$$0$4,asn1_x509_1=require$$1$3,asn1_ecc_1=require$$2$1,cose_js_1=cose,asn1_rsa_1=require$$4$1,mapX509SignatureAlgToCOSEAlg_js_1=mapX509SignatureAlgToCOSEAlg$1;function convertX509PublicKeyToCOSE(a){let j=new Map;const _e=asn1_schema_1.AsnParser.parse(a,asn1_x509_1.Certificate),{tbsCertificate:et}=_e,{subjectPublicKeyInfo:tt,signature:nt}=et,rt=nt.algorithm,it=tt.algorithm.algorithm;if(it===asn1_ecc_1.id_ecPublicKey){if(!tt.algorithm.parameters)throw new Error("Certificate public key was missing parameters (EC2)");const ot=asn1_schema_1.AsnParser.parse(new Uint8Array(tt.algorithm.parameters),asn1_ecc_1.ECParameters);let ut=-999;const{namedCurve:st}=ot;if(st===asn1_ecc_1.id_secp256r1)ut=cose_js_1.COSECRV.P256;else if(st===asn1_ecc_1.id_secp384r1)ut=cose_js_1.COSECRV.P384;else throw new Error(`Certificate public key contained unexpected namedCurve ${st} (EC2)`);const ct=new Uint8Array(tt.subjectPublicKey);let ft,pt;if(ct[0]===4){let mt=1;const bt=(ct.length-1)/2;ft=ct.slice(mt,mt+=bt),pt=ct.slice(mt)}else throw new Error('TODO: Figure out how to handle public keys in "compressed form"');const yt=new Map;yt.set(cose_js_1.COSEKEYS.kty,cose_js_1.COSEKTY.EC2),yt.set(cose_js_1.COSEKEYS.alg,(0,mapX509SignatureAlgToCOSEAlg_js_1.mapX509SignatureAlgToCOSEAlg)(rt)),yt.set(cose_js_1.COSEKEYS.crv,ut),yt.set(cose_js_1.COSEKEYS.x,ft),yt.set(cose_js_1.COSEKEYS.y,pt),j=yt}else if(it==="1.2.840.113549.1.1.1"){const ot=asn1_schema_1.AsnParser.parse(tt.subjectPublicKey,asn1_rsa_1.RSAPublicKey),ut=new Map;ut.set(cose_js_1.COSEKEYS.kty,cose_js_1.COSEKTY.RSA),ut.set(cose_js_1.COSEKEYS.alg,(0,mapX509SignatureAlgToCOSEAlg_js_1.mapX509SignatureAlgToCOSEAlg)(rt)),ut.set(cose_js_1.COSEKEYS.n,new Uint8Array(ot.modulus)),ut.set(cose_js_1.COSEKEYS.e,new Uint8Array(ot.publicExponent)),j=ut}else throw new Error(`Certificate public key contained unexpected algorithm ID ${it}`);return j}var hasRequiredVerifySignature;function requireVerifySignature(){return hasRequiredVerifySignature||(hasRequiredVerifySignature=1,function(a){Object.defineProperty(a,"__esModule",{value:!0}),a._verifySignatureInternals=void 0,a.verifySignature=tt;const j=requireIso(),_e=requireDecodeCredentialPublicKey(),et=convertX509PublicKeyToCOSE$1;function tt(nt){const{signature:rt,data:it,credentialPublicKey:ot,x509Certificate:ut,hashAlgorithm:st}=nt;if(!ut&&!ot)throw new Error('Must declare either "leafCert" or "credentialPublicKey"');if(ut&&ot)throw new Error('Must not declare both "leafCert" and "credentialPublicKey"');let ct=new Map;return ot?ct=(0,_e.decodeCredentialPublicKey)(ot):ut&&(ct=(0,et.convertX509PublicKeyToCOSE)(ut)),a._verifySignatureInternals.stubThis(j.isoCrypto.verify({cosePublicKey:ct,signature:rt,data:it,shaHashOverride:st}))}a._verifySignatureInternals={stubThis:nt=>nt}}(verifySignature)),verifySignature}var convertPEMToBytes={},hasRequiredConvertPEMToBytes;function requireConvertPEMToBytes(){if(hasRequiredConvertPEMToBytes)return convertPEMToBytes;hasRequiredConvertPEMToBytes=1,Object.defineProperty(convertPEMToBytes,"__esModule",{value:!0}),convertPEMToBytes.convertPEMToBytes=j;const a=requireIso();function j(_e){const et=_e.replace("-----BEGIN CERTIFICATE-----","").replace("-----END CERTIFICATE-----","").replace(/[\n ]/g,"");return a.isoBase64URL.toBuffer(et,"base64")}return convertPEMToBytes}var hasRequiredValidateCertificatePath;function requireValidateCertificatePath(){if(hasRequiredValidateCertificatePath)return validateCertificatePath;hasRequiredValidateCertificatePath=1,Object.defineProperty(validateCertificatePath,"__esModule",{value:!0}),validateCertificatePath.validateCertificatePath=rt;const a=require$$0$4,j=requireIsCertRevoked(),_e=requireVerifySignature(),et=mapX509SignatureAlgToCOSEAlg$1,tt=getCertificateInfo$1,nt=requireConvertPEMToBytes();async function rt(yt,mt=[]){if(mt.length===0)return!0;let bt=!1,xt;for(const $t of mt)try{const kt=yt.concat([$t]);await it(kt),bt=!1,xt=void 0;break}catch(kt){if(kt instanceof ct)bt=!0;else if(kt instanceof pt)xt=kt.message;else throw kt}if(bt)throw new ct;if(xt)throw new pt(xt);return!0}async function it(yt){if(new Set(yt).size!==yt.length)throw new Error("Invalid certificate path: found duplicate certificates");for(const mt of yt){const bt=(0,tt.getCertificateInfo)((0,nt.convertPEMToBytes)(mt));await ot(bt.parsedCertificate),ut(bt,mt)}for(let mt=0;mt<yt.length-1;mt+=1){const bt=yt[mt],xt=yt[mt+1],$t=(0,tt.getCertificateInfo)((0,nt.convertPEMToBytes)(bt)),kt=(0,tt.getCertificateInfo)((0,nt.convertPEMToBytes)(xt));if($t.issuer.combined!==kt.subject.combined)throw new ct;const Pt=kt.issuer.combined===kt.subject.combined;await st($t.parsedCertificate,xt),Pt&&await st(kt.parsedCertificate,xt)}return!0}async function ot(yt){if(await(0,j.isCertRevoked)(yt))throw new Error("Found revoked certificate in certificate path")}function ut(yt,mt){const{notBefore:bt,notAfter:xt}=yt,$t=new Date(Date.now());if(bt>$t||xt<$t)throw new pt(`Certificate is not yet valid or expired: ${mt}`)}async function st(yt,mt){const bt=a.AsnSerializer.serialize(yt.tbsCertificate),xt=yt.signatureValue,$t=(0,et.mapX509SignatureAlgToCOSEAlg)(yt.signatureAlgorithm.algorithm),kt=(0,nt.convertPEMToBytes)(mt);if(!await(0,_e.verifySignature)({data:new Uint8Array(bt),signature:new Uint8Array(xt),x509Certificate:kt,hashAlgorithm:$t}))throw new ft}class ct extends Error{constructor(){super("Subject issuer did not match issuer subject"),this.name="InvalidSubjectAndIssuer"}}class ft extends Error{constructor(){super("Subject signature was invalid for issuer"),this.name="InvalidSubjectSignatureForIssuer"}}class pt extends Error{constructor(mt){super(mt),this.name="CertificateNotYetValidOrExpired"}}return validateCertificatePath}var hasRequiredHelpers;function requireHelpers(){return hasRequiredHelpers||(hasRequiredHelpers=1,function(a){var j=commonjsGlobal&&commonjsGlobal.__createBinding||(Object.create?function(nt,rt,it,ot){ot===void 0&&(ot=it);var ut=Object.getOwnPropertyDescriptor(rt,it);(!ut||("get"in ut?!rt.__esModule:ut.writable||ut.configurable))&&(ut={enumerable:!0,get:function(){return rt[it]}}),Object.defineProperty(nt,ot,ut)}:function(nt,rt,it,ot){ot===void 0&&(ot=it),nt[ot]=rt[it]}),_e=commonjsGlobal&&commonjsGlobal.__setModuleDefault||(Object.create?function(nt,rt){Object.defineProperty(nt,"default",{enumerable:!0,value:rt})}:function(nt,rt){nt.default=rt}),et=commonjsGlobal&&commonjsGlobal.__exportStar||function(nt,rt){for(var it in nt)it!=="default"&&!Object.prototype.hasOwnProperty.call(rt,it)&&j(rt,nt,it)},tt=commonjsGlobal&&commonjsGlobal.__importStar||function(nt){if(nt&&nt.__esModule)return nt;var rt={};if(nt!=null)for(var it in nt)it!=="default"&&Object.prototype.hasOwnProperty.call(nt,it)&&j(rt,nt,it);return _e(rt,nt),rt};Object.defineProperty(a,"__esModule",{value:!0}),a.cose=void 0,et(requireConvertAAGUIDToString(),a),et(requireConvertCertBufferToPEM(),a),et(requireConvertCOSEtoPKCS(),a),et(requireDecodeAttestationObject(),a),et(requireDecodeClientDataJSON(),a),et(requireDecodeCredentialPublicKey(),a),et(requireGenerateChallenge(),a),et(requireGenerateUserID(),a),et(getCertificateInfo$1,a),et(requireIsCertRevoked(),a),et(requireParseAuthenticatorData(),a),et(requireToHash(),a),et(requireValidateCertificatePath(),a),et(requireVerifySignature(),a),et(requireIso(),a),a.cose=tt(cose)}(helpers)),helpers}var __importDefault$4=commonjsGlobal&&commonjsGlobal.__importDefault||function(a){return a&&a.__esModule?a:{default:a}};Object.defineProperty(passkey,"__esModule",{value:!0});passkey.PasskeySigner=void 0;const util_1$3=lib$5,helpers_1=requireHelpers(),signer_1=__importDefault$4(signer);class PasskeySigner extends signer_1.default{constructor(){super()}genKeyPair(j="hex",_e){throw new Error("Not supported")}getPublicKey(j,_e="hex"){throw new Error("Not supported")}sign(j,_e,et="hex"){throw new Error("Not supported")}async verify(j,_e,et,tt){const nt=JSON.parse(tt);if(!nt.authenticatorData||!nt.clientDataJSON)throw new Error("extra.authenticatorData or extra.clientDataJSON is required for passkey signature verification");const rt=(0,util_1$3.toBuffer)((0,util_1$3.fromBase64)(nt.authenticatorData)),it=await(0,helpers_1.toHash)(helpers_1.isoBase64URL.toBuffer(nt.clientDataJSON));if((0,helpers_1.decodeClientDataJSON)(nt.clientDataJSON).challenge!==(0,util_1$3.toBase64)(j))throw new Error("challenge mismatch for passkey signature");return(0,helpers_1.verifySignature)({signature:helpers_1.isoBase64URL.toBuffer(typeof _e=="string"?_e:(0,util_1$3.toBase64)(_e)),data:helpers_1.isoUint8Array.concat([rt,it]),credentialPublicKey:et})}}passkey.PasskeySigner=PasskeySigner;passkey.default=new PasskeySigner;(function(a){var j=commonjsGlobal&&commonjsGlobal.__importDefault||function(mt){return mt&&mt.__esModule?mt:{default:mt}};Object.defineProperty(a,"__esModule",{value:!0}),a.toTxHash=a.Hashers=a.Signers=a.types=a.Hasher=a.Signer=void 0,a.getSigner=ct,a.getHasher=ft,a.getRandomBytes=pt;const _e=j(browserExports$1),et=encode$5,tt=j(keccak$1),nt=j(sha2),rt=j(sha3),it=j(ed25519$1),ot=j(ethereum),ut=j(secp256k1$1),st=j(passkey);a.Signer={Ed25519:it.default,Secp256k1:ut.default,Ethereum:ot.default,Passkey:st.default},a.Hasher={SHA2:nt.default,SHA3:rt.default,Keccak:tt.default},a.types={KeyType:{ED25519:0,SECP256K1:1,ETHEREUM:2,PASSKEY:3},HashType:{KECCAK:0,SHA3:1,KECCAK_384:2,SHA3_384:3,KECCAK_512:4,SHA3_512:5,SHA2:6},RoleType:{ROLE_ACCOUNT:0,ROLE_NODE:1,ROLE_DEVICE:2,ROLE_APPLICATION:3,ROLE_SMART_CONTRACT:4,ROLE_BOT:5,ROLE_ASSET:6,ROLE_STAKE:7,ROLE_VALIDATOR:8,ROLE_GROUP:9,ROLE_TX:10,ROLE_TETHER:11,ROLE_SWAP:12,ROLE_DELEGATION:13,ROLE_VC:14,ROLE_BLOCKLET:15,ROLE_STORE:16,ROLE_TOKEN:17,ROLE_FACTORY:18,ROLE_ROLLUP:19,ROLE_STORAGE:20,ROLE_PROFILE:21,ROLE_PASSKEY:22,ROLE_ANY:63},EncodingType:{BASE16:0,BASE58:1}};function ct(mt){if(typeof a.Signers[mt]>"u")throw new Error(`Unsupported signer type: ${mt}`);return a.Signers[mt]}function ft(mt){if(typeof a.Hashers[mt]>"u")throw new Error(`Unsupported hash type: ${mt}`);return a.Hashers[mt]}function pt(mt=32,bt="hex"){return(0,et.encode)((0,_e.default)(mt),bt)}a.Signers=Object.freeze({[a.types.KeyType.ED25519]:a.Signer.Ed25519,[a.types.KeyType.SECP256K1]:a.Signer.Secp256k1,[a.types.KeyType.ETHEREUM]:a.Signer.Ethereum,[a.types.KeyType.PASSKEY]:a.Signer.Passkey}),a.Hashers=Object.freeze({[a.types.HashType.KECCAK]:a.Hasher.Keccak.hash256,[a.types.HashType.KECCAK_384]:a.Hasher.Keccak.hash384,[a.types.HashType.KECCAK_512]:a.Hasher.Keccak.hash512,[a.types.HashType.SHA3]:a.Hasher.SHA3.hash256,[a.types.HashType.SHA3_384]:a.Hasher.SHA3.hash384,[a.types.HashType.SHA3_512]:a.Hasher.SHA3.hash512,[a.types.HashType.SHA2]:a.Hasher.SHA2.hash256});const yt=mt=>a.Hasher.SHA2.hash256(mt,1,"hex").replace(/^0x/,"").toUpperCase();a.toTxHash=yt})(lib$4);var lib$3={},type={};function isEqual(a,j){return baseIsEqual(a,j)}const isEqual$1=Object.freeze(Object.defineProperty({__proto__:null,default:isEqual},Symbol.toStringTag,{value:"Module"})),require$$1$2=getAugmentedNamespace(isEqual$1);function basePick(a,j){return basePickBy(a,j,function(_e,et){return hasIn(a,et)})}var pick=flatRest(function(a,j){return a==null?{}:basePick(a,j)});const pick$1=Object.freeze(Object.defineProperty({__proto__:null,default:pick},Symbol.toStringTag,{value:"Module"})),require$$2=getAugmentedNamespace(pick$1);var util$3={},__importDefault$3=commonjsGlobal&&commonjsGlobal.__importDefault||function(a){return a&&a.__esModule?a:{default:a}};Object.defineProperty(util$3,"__esModule",{value:!0});util$3.toStrictHex=util$3.toBytes=util$3.toBits=util$3.DID_PREFIX=void 0;const padStart_1=__importDefault$3(require$$0$5),util_1$2=lib$5,DID_PREFIX="did:abt:";util$3.DID_PREFIX=DID_PREFIX;const toBytes=a=>{try{if((0,util_1$2.isHexStrict)(a))return Buffer$4.from((0,util_1$2.stripHexPrefix)(a),"hex");let j=(0,util_1$2.fromBase58)(a.replace(DID_PREFIX,""));for(;j.length<26;)j=Buffer$4.concat([Buffer$4.from([0]),j]);return j}catch(j){throw new Error(`Cannot convert DID string to byte array: ${j.message}`)}};util$3.toBytes=toBytes;const toBits=(a,j)=>(0,padStart_1.default)((0,util_1$2.toBN)(a).toString(2),j,"0");util$3.toBits=toBits;const toStrictHex=(a,j)=>{const _e=a.replace(/^0x/i,"");return typeof j=="number"&&j%2===0?(0,padStart_1.default)(a,j,"0"):_e.length%2===0?_e:`0${_e}`};util$3.toStrictHex=toStrictHex;var __importDefault$2=commonjsGlobal&&commonjsGlobal.__importDefault||function(a){return a&&a.__esModule?a:{default:a}};Object.defineProperty(type,"__esModule",{value:!0});type.toChecksumAddress=type.isEthereumDid=type.isEthereumType=type.toTypeInfoStr=type.toTypeInfo=type.fromTypeInfo=type.DID_TYPE_PASSKEY=type.DID_TYPE_ETHEREUM=type.DID_TYPE_ARCBLOCK=void 0;type.DidType=DidType;const util_1$1=lib$5,upperFirst_1=__importDefault$2(require$$1$4),isEqual_1=__importDefault$2(require$$1$2),pick_1=__importDefault$2(require$$2),mcrypto_1$1=lib$4,util_2=util$3,mapping={pk:"key",address:"encoding"},DID_TYPE_ARCBLOCK={role:mcrypto_1$1.types.RoleType.ROLE_ACCOUNT,pk:mcrypto_1$1.types.KeyType.ED25519,hash:mcrypto_1$1.types.HashType.SHA3,address:mcrypto_1$1.types.EncodingType.BASE58};type.DID_TYPE_ARCBLOCK=DID_TYPE_ARCBLOCK;const DID_TYPE_PASSKEY={role:mcrypto_1$1.types.RoleType.ROLE_PASSKEY,pk:mcrypto_1$1.types.KeyType.PASSKEY,hash:mcrypto_1$1.types.HashType.SHA2,address:mcrypto_1$1.types.EncodingType.BASE58};type.DID_TYPE_PASSKEY=DID_TYPE_PASSKEY;const DID_TYPE_ETHEREUM={role:mcrypto_1$1.types.RoleType.ROLE_ACCOUNT,pk:mcrypto_1$1.types.KeyType.ETHEREUM,hash:mcrypto_1$1.types.HashType.KECCAK,address:mcrypto_1$1.types.EncodingType.BASE16};type.DID_TYPE_ETHEREUM=DID_TYPE_ETHEREUM;const isEthereumType=a=>{const j=["pk","hash","address"];return(0,isEqual_1.default)((0,pick_1.default)(a,j),(0,pick_1.default)(DID_TYPE_ETHEREUM,j))};type.isEthereumType=isEthereumType;const isEthereumDid=a=>{const j=(0,util_1$1.toAddress)(a);return/^(0x)?[0-9a-f]{40}$/i.test(j)?/^(0x|0X)?[0-9a-f]{40}$/.test(j)||/^(0x|0X)?[0-9A-F]{40}$/.test(j)?!0:checkAddressChecksum(j):!1};type.isEthereumDid=isEthereumDid;const checkAddressChecksum=a=>{const j=a.replace(/^0x/i,""),_e=mcrypto_1$1.Hasher.Keccak.hash256(j.toLowerCase()).replace(/^0x/i,"");for(let et=0;et<40;et++)if(parseInt(_e[et],16)>7&&j[et].toUpperCase()!==j[et]||parseInt(_e[et],16)<=7&&j[et].toLowerCase()!==j[et])return!1;return!0},toChecksumAddress=a=>{if(typeof a>"u")return"";if(!/^(0x)?[0-9a-f]{40}$/i.test(a))throw new Error(`Given address "${a}" is not a valid Ethereum address.`);const j=a.toLowerCase().replace(/^0x/i,""),_e=mcrypto_1$1.Hasher.Keccak.hash256(j).replace(/^0x/i,"");let et="0x";for(let tt=0;tt<j.length;tt++)parseInt(_e[tt],16)>7?et+=j[tt].toUpperCase():et+=j[tt];return et};type.toChecksumAddress=toChecksumAddress;function DidType(a={}){let j={};["default","arcblock"].includes(a)?j=DID_TYPE_ARCBLOCK:["eth","ethereum"].includes(a)?j=DID_TYPE_ETHEREUM:["passkey"].includes(a)?j=DID_TYPE_PASSKEY:j={...DID_TYPE_ARCBLOCK,...a};const{role:_e,pk:et,hash:tt,address:nt}=j;Object.keys(j).forEach(it=>{const ot=(0,upperFirst_1.default)(`${mapping[it]||it}Type`);if(Object.values(mcrypto_1$1.types[ot]).includes(j[it])===!1)throw new Error(`Unsupported ${it} type: ${j[it]}`)});const rt={role:_e,pk:et,hash:tt,address:nt};return isEthereumType(rt)===!1&&[mcrypto_1$1.types.RoleType.ROLE_NODE,mcrypto_1$1.types.RoleType.ROLE_VALIDATOR,mcrypto_1$1.types.RoleType.ROLE_TETHER,mcrypto_1$1.types.RoleType.ROLE_SWAP].includes(rt.role)&&(rt.hash=mcrypto_1$1.types.HashType.SHA2),rt}DidType.toJSON=a=>Object.keys(a).reduce((j,_e)=>{const et=(0,upperFirst_1.default)(`${mapping[_e]||_e}Type`),tt=Object.keys(mcrypto_1$1.types[et]),nt=Object.values(mcrypto_1$1.types[et]);return j[_e]=tt[nt.indexOf(a[_e])],j},{});DidType.fromJSON=a=>Object.keys(a).reduce((j,_e)=>{const et=(0,upperFirst_1.default)(`${mapping[_e]||_e}Type`),tt=Object.keys(mcrypto_1$1.types[et]),nt=Object.values(mcrypto_1$1.types[et]);return j[_e]=nt[tt.indexOf(a[_e])],j},{});const fromTypeInfo=a=>{const j=DidType(a),_e=(0,util_2.toBits)(j.role,6),et=(0,util_2.toBits)(j.pk,5),tt=(0,util_2.toBits)(j.hash,5),nt=`${_e}${et}${tt}`,rt=(0,util_1$1.stripHexPrefix)((0,util_1$1.numberToHex)(parseInt(nt,2)));return(0,util_2.toStrictHex)(rt,4)};type.fromTypeInfo=fromTypeInfo;const toTypeInfo$1=a=>{let j={};try{if(isEthereumDid(a))j=DID_TYPE_ETHEREUM;else{const et=(0,util_2.toBytes)(a).slice(0,2),tt=(0,util_2.toStrictHex)(Buffer$4.from(et).toString("hex")),nt=(0,util_2.toBits)(new util_1$1.BN(tt,16),16),rt=nt.slice(0,6),it=nt.slice(6,11),ot=nt.slice(11,16);j={role:parseInt(rt,2),pk:parseInt(it,2),hash:parseInt(ot,2),address:(0,util_1$1.isHex)((0,util_1$1.toAddress)(a))?mcrypto_1$1.types.EncodingType.BASE16:mcrypto_1$1.types.EncodingType.BASE58}}return Object.keys(j).forEach(_e=>{Object.values(mcrypto_1$1.types[`${(0,upperFirst_1.default)(mapping[_e]||_e)}Type`]).includes(j[_e])===!1&&delete j[_e]}),j}catch{return j}};type.toTypeInfo=toTypeInfo$1;const toTypeInfoStr=a=>{const j=toTypeInfo$1(a);return Object.keys(j).reduce((_e,et)=>{const tt=mcrypto_1$1.types[`${(0,upperFirst_1.default)(mapping[et]||et)}Type`];return _e[et]=Object.keys(tt).find(nt=>tt[nt]===j[et]),_e},{})};type.toTypeInfoStr=toTypeInfoStr;(function(a){Object.defineProperty(a,"__esModule",{value:!0}),a.DID_TYPE_PASSKEY=a.DID_TYPE_ETHEREUM=a.DID_TYPE_ARCBLOCK=a.DID_PREFIX=a.DidType=a.fromTypeInfo=a.toTypeInfoStr=a.toTypeInfo=a.isEthereumType=a.isEthereumDid=a.isValid=a.isFromPublicKey=a.toDid=a.toAddress=a.fromHash=a.fromPublicKeyHash=a.fromPublicKey=a.fromSecretKey=a.toStrictHex=a.types=void 0;const j=lib$4;Object.defineProperty(a,"types",{enumerable:!0,get:function(){return j.types}});const _e=lib$5;Object.defineProperty(a,"toAddress",{enumerable:!0,get:function(){return _e.toAddress}}),Object.defineProperty(a,"toDid",{enumerable:!0,get:function(){return _e.toDid}});const et=type;Object.defineProperty(a,"DidType",{enumerable:!0,get:function(){return et.DidType}}),Object.defineProperty(a,"DID_TYPE_ARCBLOCK",{enumerable:!0,get:function(){return et.DID_TYPE_ARCBLOCK}}),Object.defineProperty(a,"DID_TYPE_ETHEREUM",{enumerable:!0,get:function(){return et.DID_TYPE_ETHEREUM}}),Object.defineProperty(a,"DID_TYPE_PASSKEY",{enumerable:!0,get:function(){return et.DID_TYPE_PASSKEY}}),Object.defineProperty(a,"fromTypeInfo",{enumerable:!0,get:function(){return et.fromTypeInfo}}),Object.defineProperty(a,"isEthereumDid",{enumerable:!0,get:function(){return et.isEthereumDid}}),Object.defineProperty(a,"isEthereumType",{enumerable:!0,get:function(){return et.isEthereumType}}),Object.defineProperty(a,"toTypeInfo",{enumerable:!0,get:function(){return et.toTypeInfo}}),Object.defineProperty(a,"toTypeInfoStr",{enumerable:!0,get:function(){return et.toTypeInfoStr}});const tt=util$3;Object.defineProperty(a,"DID_PREFIX",{enumerable:!0,get:function(){return tt.DID_PREFIX}}),Object.defineProperty(a,"toStrictHex",{enumerable:!0,get:function(){return tt.toStrictHex}});const nt=(ct,ft)=>{const pt=(0,et.DidType)(ft),yt=(0,j.getSigner)(pt.pk).getPublicKey(ct);return rt(yt.indexOf("0x")===0?yt:`0x${yt}`,pt)};a.fromSecretKey=nt;const rt=(ct,ft)=>{const pt=(0,et.DidType)(ft),mt=(0,j.getHasher)(pt.hash)(ct,1);return it(mt,pt)};a.fromPublicKey=rt;const it=(ct,ft)=>{const pt=(0,et.DidType)(ft),yt=(0,_e.stripHexPrefix)(ct).slice(0,40),mt=(0,j.getHasher)(pt.hash),bt=(0,et.fromTypeInfo)(pt),xt=(0,_e.stripHexPrefix)(mt(`0x${bt}${yt}`,1)).slice(0,8),$t=`0x${bt}${yt}${xt}`;return(0,et.isEthereumType)(pt)?(0,et.toChecksumAddress)(`0x${ct.slice(-40)}`):pt.address===j.types.EncodingType.BASE58?(0,_e.toBase58)($t):$t};a.fromPublicKeyHash=it;const ot=(ct,ft=j.types.RoleType.ROLE_ACCOUNT)=>{const pt=Object.keys(j.types.RoleType),yt=Object.values(j.types.RoleType);if(yt.indexOf(ft)===-1)throw new Error(`Unsupported role type ${ft} when gen ddi from hash`);const mt=(0,et.DidType)({role:j.types.RoleType[pt[yt.indexOf(ft)]]});return it(ct,mt)};a.fromHash=ot;const ut=(ct,ft)=>{if(st(ct)===!1)return!1;const pt=(0,et.toTypeInfo)(ct),yt=rt(ft,pt),mt=ct.replace(tt.DID_PREFIX,"");return yt===mt};a.isFromPublicKey=ut;const st=ct=>{if(!ct)return!1;const ft=(0,_e.toAddress)(String(ct)),{hash:pt}=(0,et.toTypeInfo)(ft);if(typeof pt>"u")return!1;if((0,et.isEthereumDid)(ft))return!0;const yt=(0,j.getHasher)(pt),mt=(0,tt.toBytes)(ft),bt=(0,tt.toStrictHex)(Buffer$4.from(mt.slice(0,22)).toString("hex")),xt=(0,tt.toStrictHex)(Buffer$4.from(mt.slice(22,26)).toString("hex")),$t=(0,_e.stripHexPrefix)(yt(`0x${bt}`,1)).slice(0,8);return xt===$t};a.isValid=st})(lib$3);Object.defineProperty(lib$6,"__esModule",{value:!0});lib$6.WalletType=void 0;lib$6.Wallet=Wallet;lib$6.fromSecretKey=fromSecretKey;var fromPublicKey_1=lib$6.fromPublicKey=fromPublicKey;lib$6.fromAddress=fromAddress;lib$6.fromRandom=fromRandom;lib$6.fromJSON=fromJSON;lib$6.isValid=isValid;const util_1=lib$5,mcrypto_1=lib$4,did_1=lib$3;lib$6.WalletType=did_1.DidType;function Wallet(a,j="default"){const _e=(0,did_1.DidType)(j),et=(0,mcrypto_1.getSigner)(_e.pk),tt=(0,mcrypto_1.getHasher)(_e.hash);return{type:_e,secretKey:a.sk,publicKey:a.pk,address:a.pk?(0,did_1.fromPublicKey)(a.pk,_e):a.address,hash(nt,rt=1,it="hex"){return tt(nt,rt,it)},sign(nt,rt=!0,it="hex"){if(!a.sk)throw new Error("Cannot sign data without a secretKey");if(rt){const ot=tt(nt,1);return et.sign(ot,a.sk,it)}return et.sign(nt,a.sk,it)},async verify(nt,rt,it=!0,ot){if(!a.pk)throw new Error("Cannot verify data without a publicKey");const ut=it?tt(nt,1):nt;return et.verify(ut,rt,a.pk,ot)},ethHash(nt){if(typeof et.ethHash!="function")throw new Error("ethHash is not supported by signer");return et.ethHash(nt)},ethSign(nt,rt=!0){if(!a.sk)throw new Error("Cannot sign data without a secretKey");if(typeof et.ethHash!="function")throw new Error("ethSign is not supported by signer");return rt?et.ethSign(et.ethHash(nt),(0,util_1.toHex)(a.sk)):et.ethSign(nt,(0,util_1.toHex)(a.sk))},ethVerify(nt,rt,it=!0){if(typeof et.ethHash!="function")throw new Error("ethVerify is not supported by signer");const ot=it?et.ethHash(nt):nt;return et.ethRecover(ot,rt)===this.address},toAddress(){return a.pk?(0,did_1.fromPublicKey)(a.pk,_e):a.address},toJSON(){return{type:did_1.DidType.toJSON(_e),sk:(0,util_1.toHex)(a.sk),pk:(0,util_1.toHex)(a.pk),address:this.address}}}}function fromSecretKey(a,j="default"){const _e=(0,did_1.DidType)(j),et={sk:a,pk:(0,mcrypto_1.getSigner)(_e.pk).getPublicKey(a)};return Wallet(et,_e)}function fromPublicKey(a,j="default"){return Wallet({pk:a},(0,did_1.DidType)(j))}function fromAddress(a){return Wallet({address:(0,did_1.toAddress)(a)},(0,did_1.toTypeInfo)(a))}function fromRandom(a="default"){const j=(0,did_1.DidType)(a),et=(0,mcrypto_1.getSigner)(j.pk).genKeyPair();return Wallet({sk:et.secretKey,pk:et.publicKey},j)}function fromJSON(a){const j=did_1.DidType.fromJSON(a.type);return Wallet(a,j)}function isValid(a,j=!0){return!(!a||typeof a!="object"||typeof a.verify!="function"||typeof a.toAddress!="function"||typeof a.toJSON!="function"||!a.type||!a.publicKey||j&&(!a.secretKey||typeof a.sign!="function"))}var isUrl_1=isUrl,protocolAndDomainRE=/^(?:\w+:)?\/\/(\S+)$/,localhostDomainRE=/^localhost[\:?\d]*(?:[^\:?\d]\S*)?$/,nonLocalhostDomainRE=/^[^\s\.]+\.\S{2,}$/;function isUrl(a){if(typeof a!="string")return!1;var j=a.match(protocolAndDomainRE);if(!j)return!1;var _e=j[1];return _e?!!(localhostDomainRE.test(_e)||nonLocalhostDomainRE.test(_e)):!1}const isUrl$1=getDefaultExportFromCjs$1(isUrl_1);var __defProp$4=Object.defineProperty,__defNormalProp$4=(a,j,_e)=>j in a?__defProp$4(a,j,{enumerable:!0,configurable:!0,writable:!0,value:_e}):a[j]=_e,__publicField$4=(a,j,_e)=>(__defNormalProp$4(a,j+"",_e),_e);class AuthService{constructor({api:j}){__publicField$4(this,"api"),this.api=j}async getUserPublicInfo({did:j}){const{data:_e}=await this.api.get("/api/user",{params:{did:j}});return _e}async getUserPrivacyConfig({did:j}){const{data:_e}=await this.api.get("/api/user/privacy/config",{params:{did:j}});return _e}async saveUserPrivacyConfig(j){const{data:_e}=await this.api.post("/api/user/privacy/config",j);return _e}async getUserNotificationConfig(){const{data:j}=await this.api.get("/api/user/notification/config");return j}async saveUserNotificationConfig(j){const{data:_e}=await this.api.post("/api/user/notification/config",j);return _e}async testNotificationWebhook(j){const{data:_e}=await this.api.put("/api/user/notification/webhook",j);return _e}async getProfileUrl({did:j,locale:_e}){const et=`${constant$3.WELLKNOWN_SERVICE_PATH_PREFIX}/user`;return withQuery$1(et,{did:j,locale:_e})}async getProfile(){const{data:j}=await this.api.get("/api/user/profile");return j}async refreshProfile(){await this.api.put("/api/user/refreshProfile")}async saveProfile({locale:j,inviter:_e,metadata:et,address:tt}){const{data:nt}=await this.api.put("/api/user/profile",{locale:j,inviter:_e,metadata:et,address:tt});return nt}async updateDidSpace({spaceGateway:j}){await this.api.put("/api/user/updateDidSpace",{spaceGateway:j})}async logout({visitorId:j,status:_e,includeFederated:et}){const{data:tt}=await this.api.post("/api/user/logout",{visitorId:j,status:_e,includeFederated:et});return tt}async destroyMyself(){const{data:j}=await this.api.delete("/api/user");return j}}class TokenService{getSessionToken(j){return api$2.get(constant$3.SESSION_TOKEN_STORAGE_KEY)?api$2.get(constant$3.SESSION_TOKEN_STORAGE_KEY):j.sessionTokenKey?window.localStorage.getItem(j.sessionTokenKey):""}setSessionToken(j){api$2.set(constant$3.SESSION_TOKEN_STORAGE_KEY,j)}removeSessionToken(){api$2.remove(constant$3.SESSION_TOKEN_STORAGE_KEY)}getRefreshToken(){return localStorage.getItem(constant$3.REFRESH_TOKEN_STORAGE_KEY)}setRefreshToken(j){localStorage.setItem(constant$3.REFRESH_TOKEN_STORAGE_KEY,j)}removeRefreshToken(){localStorage.removeItem(constant$3.REFRESH_TOKEN_STORAGE_KEY)}}const blockletCache=new QuickLRU({maxSize:30,maxAge:60*1e3});class BlockletService{getBlocklet(j,_e=!1){if(!j){if(typeof window>"u"||typeof document>"u")throw new Error("Cannot get blocklet in server side without baseUrl");return window.blocklet}if(!_e&&blockletCache.has(j))return blockletCache.get(j);const et=withQuery$1(joinURL$2(j,"__blocklet__.js"),{type:"json",t:Date.now()});return new Promise(async tt=>{const rt=await(await fetch(et)).json();blockletCache.set(j,rt),tt(rt)})}loadBlocklet(){return new Promise((j,_e)=>{if(typeof window>"u"||typeof document>"u"){_e();return}const et=document.createElement("script");let tt="/";window.blocklet&&window.blocklet.prefix&&(tt=window.blocklet.prefix),et.src=withQuery$1(joinURL$2(tt,"__blocklet__.js"),{t:Date.now()}),et.onload=()=>{j()},et.onerror=()=>{_e()},document.head.append(et)})}getPrefix(j){var _e;return j?(j==null?void 0:j.prefix)||"/":typeof window>"u"||typeof document>"u"?null:((_e=window.blocklet)==null?void 0:_e.prefix)||"/"}}var __defProp$3=Object.defineProperty,__defNormalProp$3=(a,j,_e)=>j in a?__defProp$3(a,j,{enumerable:!0,configurable:!0,writable:!0,value:_e}):a[j]=_e,__publicField$3=(a,j,_e)=>(__defNormalProp$3(a,typeof j!="symbol"?j+"":j,_e),_e);class UserSessionService{constructor({api:j,blocklet:_e}){__publicField$3(this,"api"),__publicField$3(this,"blocklet"),this.api=j,this.blocklet=_e||new BlockletService}getBaseUrl(j){return j?joinURL$2(j,constant$3.WELLKNOWN_SERVICE_PATH_PREFIX):void 0}async getUserSessions({did:j,appUrl:_e}){const et=this.getBaseUrl(_e),tt=await this.blocklet.getBlocklet(),{data:nt}=await this.api.get("/api/user-session",{baseURL:et,params:{userDid:j,appPid:tt.appPid}});return nt}async getMyLoginSessions({appUrl:j}={},_e={page:1,pageSize:10}){const et=this.getBaseUrl(j),{data:tt}=await this.api.get("/api/user-session/myself",{baseURL:et,params:_e});return tt}async loginByUserSession({id:j,appPid:_e,userDid:et,passportId:tt,appUrl:nt}){const rt=this.getBaseUrl(nt),{data:it}=await this.api.post("/api/user-session/login",{id:j,appPid:_e,userDid:et,passportId:tt},{baseURL:rt});return it}}var __defProp$2$1=Object.defineProperty,__defNormalProp$2=(a,j,_e)=>j in a?__defProp$2$1(a,j,{enumerable:!0,configurable:!0,writable:!0,value:_e}):a[j]=_e,__publicField$2=(a,j,_e)=>(__defNormalProp$2(a,j+"",_e),_e);class ComponentService{constructor({blocklet:j=window.blocklet}={}){__publicField$2(this,"blocklet"),this.blocklet=j}getComponent(j){var tt;return(((tt=this.blocklet)==null?void 0:tt.componentMountPoints)||[]).find(nt=>[nt.title,nt.name,nt.did].includes(j))}getComponentMountPoint(j){const _e=this.getComponent(j);return(_e==null?void 0:_e.mountPoint)||""}getUrl(j,..._e){var nt;const et=this.getComponentMountPoint(j),tt=((nt=this.blocklet)==null?void 0:nt.appUrl)||"";return joinURL$2(tt,et,..._e)}}var __defProp$1$1=Object.defineProperty,__defNormalProp$1=(a,j,_e)=>j in a?__defProp$1$1(a,j,{enumerable:!0,configurable:!0,writable:!0,value:_e}):a[j]=_e,__publicField$1=(a,j,_e)=>(__defNormalProp$1(a,typeof j!="symbol"?j+"":j,_e),_e);class FederatedService{constructor({api:j,blocklet:_e}){__publicField$1(this,"api"),__publicField$1(this,"blocklet"),__publicField$1(this,"blockletDataCache",{}),this.api=j,this.blocklet=_e||new BlockletService}async getTrustedDomains(){const{data:j}=await this.api.get("/api/federated/getTrustedDomains");return j}getMaster(j=this.blocklet.getBlocklet()){var et;const _e=(et=j==null?void 0:j.settings)==null?void 0:et.federated;return _e==null?void 0:_e.master}getConfig(j=this.blocklet.getBlocklet()){var et;const _e=(et=j==null?void 0:j.settings)==null?void 0:et.federated;return _e==null?void 0:_e.config}getFederatedEnabled(j=this.blocklet.getBlocklet()){const _e=this.getConfig(j);return(_e==null?void 0:_e.status)==="approved"}getSourceAppPid(j=this.blocklet.getBlocklet()){const _e=this.getMaster(j);return _e==null?void 0:_e.appPid}getFederatedApp(j=this.blocklet.getBlocklet()){const _e=this.getMaster(j);return isEmpty$1(_e)?null:{appId:_e.appId,appName:_e.appName,appDescription:_e.appDescription,appLogo:_e.appLogo,appPid:_e.appPid,appUrl:_e.appUrl,version:_e.version,sourceAppPid:_e.appPid,provider:"wallet"}}getCurrentApp(j=this.blocklet.getBlocklet()){if(j)return{appId:j.appId,appName:j.appName,appDescription:j.appDescription,appLogo:j.appLogo,appPid:j.appPid,appUrl:j.appUrl,version:j.version,sourceAppPid:null,provider:"wallet"};if(window.env){const _e=window.env;return{appId:_e.appId,appName:_e.appName,appDescription:_e.appDescription,appUrl:_e.baseUrl,sourceAppPid:null,provider:"wallet",type:"server"}}return null}getApps(j=this.blocklet.getBlocklet()){const _e=[],et=this.getFederatedApp(j),tt=this.getCurrentApp(j),nt=this.getFederatedEnabled(j);return tt&&_e.push(tt),et&&(et==null?void 0:et.appId)!==(tt==null?void 0:tt.appId)&&nt&&_e.push(et),_e.reverse()}async getBlockletData(j,_e=!1){if(!_e&&this.blockletDataCache[j])return this.blockletDataCache[j];try{const et=new URL("__blocklet__.js",j);et.searchParams.set("type","json");const nt=await(await fetch(et.href)).json();return this.blockletDataCache[j]=nt,nt}catch(et){return console.error(`Failed to get blocklet data: ${j}`,et),null}}}const version$3="1.16.42",sleep$2=(a=0)=>new Promise(j=>{setTimeout(()=>{j()},a)}),getBearerToken=a=>`Bearer ${encodeURIComponent(a)}`,visitorIdKey="__visitor_id",getVisitorId=()=>localStorage.getItem(visitorIdKey),verifyResponse=(a,j)=>{if(isObject$b(a.data)&&a.status>=200&&a.status<300&&window.blocklet&&window.blocklet.appId&&window.blocklet.appPk){if(!a.data.$signature)throw j(),new Error("Invalid response");const{appId:_e,appPk:et}=window.blocklet;if(fromPublicKey_1(et,lib$3.toTypeInfo(_e)).verify(Dt(omit$1(a.data,["$signature"])),a.data.$signature)===!1)throw j(),new Error("Invalid response")}return a};function getCSRFToken(){return api$2.get("x-csrf-token")}async function sleepForLoading(a,j=300){a.metaData.endTime=+new Date;const{startTime:_e,endTime:et}=a.metaData,tt=et-_e;tt<j&&await sleep$2(j-tt),delete a.metaData}const createAxios$1=(a,j)=>{const _e={...a==null?void 0:a.headers,"x-blocklet-js-sdk-version":version$3},et=new ComponentService,tt=axios$4.create({...a,headers:_e});return j!=null&&j.lazy&&(tt.interceptors.request.use(nt=>(nt.metaData={startTime:+new Date},nt),nt=>Promise.reject(nt)),tt.interceptors.response.use(async nt=>(nt.config&&await sleepForLoading(nt.config,j==null?void 0:j.lazyTime),nt),async nt=>(nt.response&&await sleepForLoading(nt.response.config,j==null?void 0:j.lazyTime),Promise.reject(nt)))),tt.interceptors.request.use(nt=>{var ot,ut;const rt=(j==null?void 0:j.componentDid)??((ut=(ot=window.blocklet)==null?void 0:ot.componentId)==null?void 0:ut.split("/").pop());nt.baseURL=nt.baseURL||et.getComponentMountPoint(rt),nt.timeout=nt.timeout||20*1e3,nt.headers["x-csrf-token"]=getCSRFToken();const it=getVisitorId();return[void 0,null].includes(it)||(nt.headers["x-blocklet-visitor-id"]=it),nt},nt=>Promise.reject(nt)),tt};async function renewRefreshToken$1(a){if(!a)throw new Error("Refresh token not found");const j=createAxios$1({baseURL:constant$3.WELLKNOWN_SERVICE_PATH_PREFIX,timeout:10*1e3,secure:!0,headers:{authorization:getBearerToken(a)}}),{data:_e}=await j.post("/api/did/refreshSession");return _e}function createRequest$1({getSessionToken:a,setSessionToken:j,removeSessionToken:_e,getRefreshToken:et,setRefreshToken:tt,removeRefreshToken:nt,onRefreshTokenError:rt,onRefreshTokenSuccess:it},ot,ut){let st=null;const ct=createAxios$1({timeout:30*1e3,...ot},ut);return ct.interceptors.request.use(async ft=>{if(!api$2.get(constant$3.SESSION_TOKEN_STORAGE_KEY)){const pt=a(ft);pt&&(ft.headers.authorization=getBearerToken(pt))}return st&&await st,ft},ft=>Promise.reject(ft)),ct.interceptors.response.use(ft=>{var pt;return(pt=ft.config)!=null&&pt.secure?verifyResponse(ft,()=>{_e(),nt()}):ft},async ft=>{var yt;const pt=ft.config;if(pt&&(pt.headers=pt!=null&&pt.headers?{...pt.headers}:{},((yt=ft==null?void 0:ft.response)==null?void 0:yt.status)===401&&!pt._retry)){pt._retry=!0;try{st||(st=renewRefreshToken$1(et()));const mt=await st;return j(mt.nextToken),tt(mt.nextRefreshToken),typeof it=="function"&&it(mt),ct(pt)}catch(mt){return _e(),nt(),typeof rt=="function"&&rt(mt),Promise.reject(ft)}finally{st=null}}return Promise.reject(ft)}),ct}var __defProp$5=Object.defineProperty,__defNormalProp$5=(a,j,_e)=>j in a?__defProp$5(a,j,{enumerable:!0,configurable:!0,writable:!0,value:_e}):a[j]=_e,__publicField=(a,j,_e)=>(__defNormalProp$5(a,typeof j!="symbol"?j+"":j,_e),_e);class BlockletSDK{constructor(){__publicField(this,"api"),__publicField(this,"user"),__publicField(this,"userSession"),__publicField(this,"token"),__publicField(this,"blocklet"),__publicField(this,"federated");const j=new TokenService,_e=createRequest$1({getSessionToken:j.getSessionToken,setSessionToken:j.setSessionToken,removeSessionToken:j.removeSessionToken,getRefreshToken:j.getRefreshToken,setRefreshToken:j.setRefreshToken,removeRefreshToken:j.removeRefreshToken,onRefreshTokenError:()=>{console.error("Failed to refresh token")},onRefreshTokenSuccess:()=>{}},{baseURL:constant$3.WELLKNOWN_SERVICE_PATH_PREFIX}),et=new BlockletService;this.user=new AuthService({api:_e}),this.federated=new FederatedService({api:_e,blocklet:et}),this.userSession=new UserSessionService({api:_e,blocklet:et}),this.token=j,this.blocklet=et,this.api=_e}}function createAxios$2(a={},j={}){const _e=new TokenService;return createRequest$1({getSessionToken:_e.getSessionToken,setSessionToken:_e.setSessionToken,removeSessionToken:_e.removeSessionToken,getRefreshToken:_e.getRefreshToken,setRefreshToken:_e.setRefreshToken,removeRefreshToken:_e.removeRefreshToken,onRefreshTokenError:()=>{console.error("Failed to refresh token")},onRefreshTokenSuccess:()=>{}},a,j)}const getBlockletSDK=(()=>{let a;return()=>(a||(a=new BlockletSDK),a)})();class CustomError extends Error{}function getSafeUrl(a,{throwOnError:j=!0,returnRaw:_e=!1,allowProtocols:et=["https:","http:"],allowDomains:tt=void 0}={}){var nt;tt===void 0&&(tt=((nt=window.blocklet)==null?void 0:nt.domainAliases)||[],tt.push(window.location.href));try{let rt;a.startsWith("/")?rt=window.location.origin:a.startsWith("./")&&(rt=window.location.href);const it=new URL(a,rt),ot=tt&&tt.map(ut=>{try{return new URL(ut).hostname}catch{return new URL(`https://${ut}`).hostname}});if(et!==null&&!et.includes(it.protocol)){if(console.error(`Invalid protocol: ${it.protocol}`),j)throw new CustomError(`Invalid protocol: ${it.protocol}`);return null}if(ot!==null&&!ot.includes(it.hostname)){if(console.error(`Invalid host: ${it.hostname}`),j)throw new CustomError(`Invalid host: ${it.hostname}`);return null}return _e?a:it.href}catch(rt){if(rt instanceof CustomError){if(j)throw rt;return null}if(console.error(`Failed to convert url: ${a}`),j)throw new Error(`Failed to convert url: ${a}`);return null}}var browser$6={exports:{}},ms$1,hasRequiredMs;function requireMs(){if(hasRequiredMs)return ms$1;hasRequiredMs=1;var a=1e3,j=a*60,_e=j*60,et=_e*24,tt=et*7,nt=et*365.25;ms$1=function(st,ct){ct=ct||{};var ft=typeof st;if(ft==="string"&&st.length>0)return rt(st);if(ft==="number"&&isFinite(st))return ct.long?ot(st):it(st);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(st))};function rt(st){if(st=String(st),!(st.length>100)){var ct=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(st);if(ct){var ft=parseFloat(ct[1]),pt=(ct[2]||"ms").toLowerCase();switch(pt){case"years":case"year":case"yrs":case"yr":case"y":return ft*nt;case"weeks":case"week":case"w":return ft*tt;case"days":case"day":case"d":return ft*et;case"hours":case"hour":case"hrs":case"hr":case"h":return ft*_e;case"minutes":case"minute":case"mins":case"min":case"m":return ft*j;case"seconds":case"second":case"secs":case"sec":case"s":return ft*a;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return ft;default:return}}}}function it(st){var ct=Math.abs(st);return ct>=et?Math.round(st/et)+"d":ct>=_e?Math.round(st/_e)+"h":ct>=j?Math.round(st/j)+"m":ct>=a?Math.round(st/a)+"s":st+"ms"}function ot(st){var ct=Math.abs(st);return ct>=et?ut(st,ct,et,"day"):ct>=_e?ut(st,ct,_e,"hour"):ct>=j?ut(st,ct,j,"minute"):ct>=a?ut(st,ct,a,"second"):st+" ms"}function ut(st,ct,ft,pt){var yt=ct>=ft*1.5;return Math.round(st/ft)+" "+pt+(yt?"s":"")}return ms$1}function setup(a){_e.debug=_e,_e.default=_e,_e.coerce=ot,_e.disable=rt,_e.enable=tt,_e.enabled=it,_e.humanize=requireMs(),_e.destroy=ut,Object.keys(a).forEach(st=>{_e[st]=a[st]}),_e.names=[],_e.skips=[],_e.formatters={};function j(st){let ct=0;for(let ft=0;ft<st.length;ft++)ct=(ct<<5)-ct+st.charCodeAt(ft),ct|=0;return _e.colors[Math.abs(ct)%_e.colors.length]}_e.selectColor=j;function _e(st){let ct,ft=null,pt,yt;function mt(...bt){if(!mt.enabled)return;const xt=mt,$t=Number(new Date),kt=$t-(ct||$t);xt.diff=kt,xt.prev=ct,xt.curr=$t,ct=$t,bt[0]=_e.coerce(bt[0]),typeof bt[0]!="string"&&bt.unshift("%O");let Pt=0;bt[0]=bt[0].replace(/%([a-zA-Z%])/g,(Ot,Ft)=>{if(Ot==="%%")return"%";Pt++;const Vt=_e.formatters[Ft];if(typeof Vt=="function"){const Zt=bt[Pt];Ot=Vt.call(xt,Zt),bt.splice(Pt,1),Pt--}return Ot}),_e.formatArgs.call(xt,bt),(xt.log||_e.log).apply(xt,bt)}return mt.namespace=st,mt.useColors=_e.useColors(),mt.color=_e.selectColor(st),mt.extend=et,mt.destroy=_e.destroy,Object.defineProperty(mt,"enabled",{enumerable:!0,configurable:!1,get:()=>ft!==null?ft:(pt!==_e.namespaces&&(pt=_e.namespaces,yt=_e.enabled(st)),yt),set:bt=>{ft=bt}}),typeof _e.init=="function"&&_e.init(mt),mt}function et(st,ct){const ft=_e(this.namespace+(typeof ct>"u"?":":ct)+st);return ft.log=this.log,ft}function tt(st){_e.save(st),_e.namespaces=st,_e.names=[],_e.skips=[];const ct=(typeof st=="string"?st:"").trim().replace(" ",",").split(",").filter(Boolean);for(const ft of ct)ft[0]==="-"?_e.skips.push(ft.slice(1)):_e.names.push(ft)}function nt(st,ct){let ft=0,pt=0,yt=-1,mt=0;for(;ft<st.length;)if(pt<ct.length&&(ct[pt]===st[ft]||ct[pt]==="*"))ct[pt]==="*"?(yt=pt,mt=ft,pt++):(ft++,pt++);else if(yt!==-1)pt=yt+1,mt++,ft=mt;else return!1;for(;pt<ct.length&&ct[pt]==="*";)pt++;return pt===ct.length}function rt(){const st=[..._e.names,..._e.skips.map(ct=>"-"+ct)].join(",");return _e.enable(""),st}function it(st){for(const ct of _e.skips)if(nt(st,ct))return!1;for(const ct of _e.names)if(nt(st,ct))return!0;return!1}function ot(st){return st instanceof Error?st.stack||st.message:st}function ut(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")}return _e.enable(_e.load()),_e}var common=setup;(function(a,j){var _e={};j.formatArgs=tt,j.save=nt,j.load=rt,j.useColors=et,j.storage=it(),j.destroy=(()=>{let ut=!1;return()=>{ut||(ut=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),j.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"];function et(){if(typeof window<"u"&&window.process&&(window.process.type==="renderer"||window.process.__nwjs))return!0;if(typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;let ut;return typeof document<"u"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window<"u"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator<"u"&&navigator.userAgent&&(ut=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(ut[1],10)>=31||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}function tt(ut){if(ut[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+ut[0]+(this.useColors?"%c ":" ")+"+"+a.exports.humanize(this.diff),!this.useColors)return;const st="color: "+this.color;ut.splice(1,0,st,"color: inherit");let ct=0,ft=0;ut[0].replace(/%[a-zA-Z%]/g,pt=>{pt!=="%%"&&(ct++,pt==="%c"&&(ft=ct))}),ut.splice(ft,0,st)}j.log=console.debug||console.log||(()=>{});function nt(ut){try{ut?j.storage.setItem("debug",ut):j.storage.removeItem("debug")}catch{}}function rt(){let ut;try{ut=j.storage.getItem("debug")}catch{}return!ut&&typeof process$1$1<"u"&&"env"in process$1$1&&(ut=_e.DEBUG),ut}function it(){try{return localStorage}catch{}}a.exports=common(j);const{formatters:ot}=a.exports;ot.j=function(ut){try{return JSON.stringify(ut)}catch(st){return"[UnexpectedJSONParseError]: "+st.message}}})(browser$6,browser$6.exports);var browserExports=browser$6.exports;const Debug=getDefaultExportFromCjs$1(browserExports),createDebug=Debug,createLogger$1=a=>new Proxy(window.console,{get(j,_e){return(...et)=>{try{return["log","debug","info","warn","error"].includes(_e)?j[_e](a,...et):j[_e]instanceof Function?j[_e](...et):j[_e]}catch(tt){console.error(`Logger error in ${a}:`,tt);return}}}}),name="@arcblock/did-connect",version$2="2.13.9",description="Client side library to work with DID Connect by ArcBlock.",keywords=["react","arcblock","component"],author="wangshijun<wangshijun2010@gmail.com>",homepage="https://github.com/ArcBlock/ux#readme",license="Apache-2.0",main="lib/index.js",module$1="lib/index.js",repository={type:"git",url:"git+https://github.com/ArcBlock/ux.git"},scripts={lint:"eslint src tests --ext js --ext jsx","lint:fix":"npm run lint -- --fix",build:"babel --config-file ./babel.config.es.js src --out-dir lib --copy-files --no-copy-ignored",autoexports:"node tools/auto-exports.js",watch:"babel --config-file ./babel.config.es.js src --out-dir lib -w --copy-files --no-copy-ignored",precommit:"CI=1 npm run lint",prepush:"CI=1 npm run lint",prepublish:"npm run build",test:"node tools/jest.js",coverage:"npm run test -- --coverage"},bugs={url:"https://github.com/ArcBlock/ux/issues"},dependencies={"@arcblock/bridge":"^2.13.9","@arcblock/did":"^1.20.1","@arcblock/icons":"^2.13.9","@arcblock/react-hooks":"^2.13.9","@arcblock/ws":"^1.20.1","@fontsource/lexend":"^5.1.1","@iconify-icons/logos":"^1.2.36","@iconify-icons/material-symbols":"^1.2.58","@iconify/react":"^5.2.0","@simplewebauthn/browser":"^13.0.0",ahooks:"^3.7.10",axios:"^1.7.5","base64-url":"^2.3.3",buffer:"^6.0.3","color-convert":"^3.0.1","core-js":"^3.25.5",eventemitter3:"^5.0.1",flat:"^5.0.2","js-cookie":"^2.2.1","jwt-decode":"^3.1.2",lodash:"^4.17.21","mdi-material-ui":"^7.5.0","p-queue":"^6.6.2","p-wait-for":"^5.0.2","path-to-regexp":"^1.8.0",semver:"^7.6.3",tweetnacl:"^1.0.3","tweetnacl-sealedbox-js":"^1.2.0",ufo:"^1.5.3"},peerDependencies={"@arcblock/ux":"^2.11.48","@blocklet/js-sdk":"^1.16.41","@emotion/react":"^11.10.4","@emotion/styled":"^11.10.4","@mui/material":"^5.15.0",react:"^18.2.0","react-dom":"^18.2.0"},publishConfig={access:"public"},devDependencies={"@babel/cli":"^7.19.3","@babel/core":"^7.19.3","@babel/preset-env":"^7.19.3","@babel/preset-react":"^7.18.6","eslint-plugin-react-hooks":"^4.6.0",glob:"^10.3.3",jest:"^29.7.0"},gitHead="a5aa684d78543947c92666fd6d461fade2a46097",pkg={name,version:version$2,description,keywords,author,homepage,license,main,module:module$1,repository,scripts,bugs,dependencies,peerDependencies,publishConfig,devDependencies,gitHead},DEFAULT_TIMEOUT$1=5*60,DEFAULT_WINDOW_TIMEOUT=30*60,BLOCKLET_SERVICE_PATH_PREFIX="/.well-known/service",SESSION_TOKEN_STORAGE_KEY="login_token",REFRESH_TOKEN_STORAGE_KEY="refresh_token",RELAY_SOCKET_PREFIX="/.well-known/service",API_DID_PREFIX="/api/did",DID_CONNECT_URL_PARAMS_NAME="__did-connect__",BUSY_STATUS=["scanned","succeed","error","busy"],EXT_DOWNLOAD_URL={chrome:"https://chromewebstore.google.com/detail/did-wallet/ibjflpbmadchofnbpppegdbnifdgincp",edge:"https://microsoftedge.microsoft.com/addons/detail/did-wallet/hjgoblidjnnnamdkinbichnfbmghmafd"},SMALL_WIDTH=420,MEDIUM_WIDTH=576,CHECK_STATUS_INTERVAL=2*1e3,VERIFY_CODE_LENGTH$1=6;class NotOpenError extends Error{constructor(){super("Failed to open popup")}}const providerName="wallet_url",getWebWalletUrl$1=()=>{var a,j;return window.localStorage.getItem(providerName)||((a=window.env)==null?void 0:a.webWalletUrl)||((j=window.blocklet)==null?void 0:j.webWalletUrl)||"https://web.abtwallet.io/"},checkSameProtocol=a=>{const{protocol:j}=window.location;let _e="";try{_e=new URL(a).protocol}catch{_e=""}return j===_e},{version:version$1}=pkg,debug$4=createDebug("did-connect"),logger$2=createLogger$1("did-connect");function unescape$1(a){return(a+"===".slice((a.length+3)%4)).replace(/-/g,"+").replace(/_/g,"/")}function escape$2(a){return a.replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,"")}const decodeConnectUrl=a=>window.atob(unescape$1(a)),parseTokenFromConnectUrl=a=>{const j=new URL(a),_e=decodeURIComponent(j.searchParams.get("url"));return new URL(_e).searchParams.get("_t_")},getAppId$1=(a,j)=>{var et,tt,nt;let _e=j==null?void 0:j.publisher;if(!_e){if(a!=null&&a.agentDid)return a.agentDid;_e=a==null?void 0:a.publisher}return _e?_e.replace("did:abt:",""):((et=globalThis.blocklet)==null?void 0:et.appPid)||((tt=globalThis.blocklet)==null?void 0:tt.appId)||((nt=globalThis.env)==null?void 0:nt.appId)||""},getConnectedInfo=a=>{var _e;const j={connected_did:a.did||"",connected_pk:a.pk||"",connected_app:getAppId$1(a.appInfo,a.memberAppInfo)};return(_e=a==null?void 0:a.connectedWallet)!=null&&_e.os&&(j.connected_wallet_os=a.connectedWallet.os),j},updateConnectedInfo=(a,j=!1)=>{if(!a)return;j||(a=getConnectedInfo(a));const _e=getCookieOptions({expireInDays:7,returnDomain:!1});!isNil(a.connected_did)&&!isNil(a.connected_pk)&&lib$3.isValid(a.connected_did)&&lib$3.isFromPublicKey(a.connected_did,a.connected_pk)&&(Cookies.set("connected_did",a.connected_did,_e),Cookies.set("connected_pk",a.connected_pk,_e)),!isNil(a.connected_app)&&lib$3.isValid(a.connected_app)&&Cookies.set("connected_app",a.connected_app,_e),a.connected_wallet_os&&Cookies.set("connected_wallet_os",a.connected_wallet_os,_e)},encodeKey=a=>escape$2(Buffer$1$1.from(a).toString("base64")),decodeKey=a=>Uint8Array.from(Buffer$1$1.from(unescape$1(a),"base64")),decrypt$1=(a,j,_e)=>{const et=SealedBox.open(Uint8Array.from(Buffer$1$1.from(a,"base64")),decodeKey(j),decodeKey(_e));return JSON.parse(Buffer$1$1.from(et).toString("utf8"))},encrypt=(a,j)=>Buffer$1$1.from(SealedBox.seal(Uint8Array.from(Buffer$1$1.from(a)),decodeKey(j))).toString("base64"),parseNextWorkflow=(a,j="_t_")=>{const _e=new URL(a),et={baseUrl:_e.origin,prefix:_e.pathname.replace(/\/auth$/,""),token:_e.searchParams.get(j)||""};if(!et.baseUrl)throw new Error("Invalid next workflow: origin empty");if(!et.token)throw new Error("Invalid next workflow: token not found");return et},getApiErrorMessage=(a,j)=>{var tt,nt;let _e=a.message;const{response:et}=a;return et&&(_e=((tt=et.data)==null?void 0:tt.error)||((nt=et.data)==null?void 0:nt.message)||et.data||j,_e=typeof _e=="object"?j:_e),_e},createAxios=(a={},{lazy:j=!1,lazyTime:_e=300}={})=>{const et={...a.headers,"x-did-connect-version":version$1},tt=createAxios$2({...a,headers:et},{lazy:j,lazyTime:_e});return tt.interceptors.request.use(nt=>{const rt=getVisitorId$1();return rt&&(nt.headers["x-blocklet-visitor-id"]=rt),nt}),tt},sleep$1=(a=0)=>new Promise(j=>{setTimeout(()=>{j()},a)});function getBrowserLang(){if(typeof window>"u")return null;const a=window.navigator.languages&&window.navigator.languages[0]||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage||window.navigator.systemLanguage||null;return{"zh-CN":"zh","zh-TW":"zh",zh:"zh",en:"en"}[a]||"en"}function formatCacheTtl(a,j){return[void 0,null,""].includes(a)?j:a/86400}async function decodeUrlParams(){const a=window.location.href;try{const j=new URL(a),_e=j.searchParams.get(DID_CONNECT_URL_PARAMS_NAME);if(_e){j.searchParams.delete(DID_CONNECT_URL_PARAMS_NAME);const et=JSON.parse(Buffer$1$1.from(_e,"base64").toString("utf-8"));if(isString$1(et.forceConnected)&&isUndefined$1(et.sourceAppPid)){const nt=await new BlockletSDK().user.getUserPublicInfo({did:et.forceConnected});isUndefined$1(nt==null?void 0:nt.sourceAppPid)||(et.sourceAppPid=nt.sourceAppPid)}return{params:et,url:j.href}}}catch{console.warn("Failed to decode did-connect url params")}return{params:null,url:a}}const openPopup=(a,{width:j=680,height:_e=720,name:et="did-connect:popup",offsetX:tt=0,offsetY:nt=0}={})=>{const rt=getSafeUrl(a,{allowDomains:null}),it=window.screenX+(window.innerWidth-j)/2+tt,ot=window.screenY+(window.innerHeight-_e)/2+nt,ut=[`left=${it}`,`top=${ot}`,`width=${j}`,`height=${_e}`,"resizable=no","scrollbars=yes","status=yes","popup=yes"],st=window.open("",et,ut.join(","));if(st===null)throw new NotOpenError;return st.location.href=withQuery$1(rt,{opener:window.location.origin}),st},runPopup=a=>new Promise((j,_e)=>{let et,tt;const nt=({data:rt})=>{if(rt&&rt.type==="authorization_response"){if(rt!=null&&rt.error){console.error(rt.error);return}setTimeout(()=>{var it;(it=a.popup)==null||it.close(),clearTimeout(tt),clearInterval(et),window.removeEventListener("message",nt,!1),j(rt)},a.closeTimeout||0)}};tt=setTimeout(()=>{clearInterval(et),_e(new Error("Timeout")),window.removeEventListener("message",nt,!1)},(a.timeoutInSeconds||DEFAULT_WINDOW_TIMEOUT)*1e3),et=setInterval(()=>{var rt;(rt=a.popup)!=null&&rt.closed&&(clearInterval(et),clearTimeout(tt),window.removeEventListener("message",nt,!1),_e(new Error("Popup closed")))},1e3),window.addEventListener("message",nt)});function hexToRgba(a,j=1){const[_e,et,tt]=convert.hex.rgb(a);return`rgba(${_e}, ${et}, ${tt}, ${j})`}const BackdropWrap=reactExports.memo(reactExports.forwardRef((a,j)=>reactExports.createElement(Backdrop,{ref:j,style:{backgroundColor:"rgba(0, 0, 0, 0.6)",backdropFilter:"blur(3px)",touchAction:"none"},...a,key:"background"})));function withContainer(a){function j({popup:_e=!1,open:et=!1,hideCloseButton:tt=!1,...nt}){var Rt,wt;const[rt,it]=reactExports.useState("#fff"),ot=reactExports.useRef(null),ut=useBrowser(),st=useMediaQuery("(max-width:640px)");let ct="page";_e&&(ct="dialog",st&&ut.mobile.any&&(ct="drawer"));const{theme:ft}=useTheme$2(),pt=et,yt=((wt=(Rt=ft==null?void 0:ft.transitions)==null?void 0:Rt.duration)==null?void 0:wt.leavingScreen)||500,mt=useDebounce(pt,{wait:yt}),bt=useMemoizedFn(()=>{const Ct=new URLSearchParams(window.location.search);Ct.get("magicToken")&&Ct.delete("magicToken"),window.history.replaceState({},"",`${window.location.pathname}?${Ct.toString()}`)}),xt=(Ct,At)=>{["backdropClick","escapeKeyDown"].includes(At)||(bt(),nt==null||nt.onClose())},$t=mt||pt,kt=tt?Drawer:SwipeableDrawer,Pt=convert.hex.hsl(rt),[Nt,Ot,Ft]=Pt,Vt=[0,30,60,30,0,30,60,30],Zt=Math.max(...Vt),on=Math.min(...Vt);let Ht=!1;(Ft*(100+Zt)/100>100||Ft*(100+on)/100<0)&&(Ht=!0);const Tt=`linear-gradient(45deg, ${Vt.map(Ct=>{let At=Ft*(100+Ct)/100,vt=.6;return Ht?vt=.5*(100+Ct)/100:At=Ft*(100+Ct)/100,`hsla(${Nt}, ${Ot}%, ${At}%, ${vt})`}).join(", ")})`,ht=`linear-gradient(45deg, ${Vt.map(Ct=>{let At=Ft*(100+Ct)/100,vt=.2;return Ht?vt=.3*(100+Ct)/100:At=Ft*(100+Ct)/100,`hsla(${Nt}, ${Ot}%, ${At}%, ${vt})`}).join(", ")})`,Et={overflow:"visible","&::before, &::after":{content:'""',position:"absolute",top:"-3px",right:"-3px",bottom:"-3px",left:"-3px",background:Tt,backgroundSize:"300% 300%",backgroundRepeat:"no-repeat",animation:"glowRotate 10s linear infinite",borderRadius:"14px !important",zIndex:0},"&::after":{background:ht,filter:"blur(15px)"},"@keyframes glowRotate":{"0%":{backgroundPosition:"0 0"},"50%":{backgroundPosition:"100% 0"},"100%":{backgroundPosition:"0 0"}}},St=useMemoizedFn(()=>{bt(),nt==null||nt.onClose()});return ct==="page"?jsxRuntimeExports.jsx(Box,{className:"did-connect__container-page",sx:mergeSx(Et,{borderRadius:2,position:"relative",zIndex:1}),children:jsxRuntimeExports.jsx(Box,{sx:{border:`1px solid ${hexToRgba(rt,.1)}`,m:"-1px",position:"relative",borderRadius:"12px",zIndex:2,overflow:"hidden"},children:jsxRuntimeExports.jsx(a,{...nt,onClose:St,setColor:it,hideCloseButton:!0,mode:ct})})}):ct==="drawer"?jsxRuntimeExports.jsxs(kt,{className:"did-connect__container-drawer",disableSwipeToOpen:!0,open:pt,anchor:"bottom",drawerDragger:ot.current,onClose:xt,slots:{backdrop:BackdropWrap},PaperProps:{sx:{borderRadius:3,borderBottomLeftRadius:0,borderBottomRightRadius:0,p:"2px",animation:"glowBreathe 7s linear infinite",".did-connect__root":{backgroundColor:"transparent"},overflow:"hidden","@keyframes glowBreathe":{"0%, 100%":{boxShadow:`
409
+ `)===0?Rt.substr(1,Rt.length):Rt}).forEach(function(Rt){var wt=Rt.split(":"),Ct=wt.shift().trim();if(Ct){var At=wt.join(":").trim();try{Et.append(Ct,At)}catch(vt){console.warn("Response "+vt.message)}}}),Et}Ot.call(Zt.prototype);function It(ht,Et){if(!(this instanceof It))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');if(Et||(Et={}),this.type="default",this.status=Et.status===void 0?200:Et.status,this.status<200||this.status>599)throw new RangeError("Failed to construct 'Response': The status provided (0) is outside the range [200, 599].");this.ok=this.status>=200&&this.status<300,this.statusText=Et.statusText===void 0?"":""+Et.statusText,this.headers=new mt(Et.headers),this.url=Et.url||"",this._initBody(ht)}Ot.call(It.prototype),It.prototype.clone=function(){return new It(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new mt(this.headers),url:this.url})},It.error=function(){var ht=new It(null,{status:200,statusText:""});return ht.ok=!1,ht.status=0,ht.type="error",ht};var Tt=[301,302,303,307,308];It.redirect=function(ht,Et){if(Tt.indexOf(Et)===-1)throw new RangeError("Invalid status code");return new It(null,{status:Et,headers:{location:ht}})},rt.DOMException=it.DOMException;try{new rt.DOMException}catch{rt.DOMException=function(Et,St){this.message=Et,this.name=St;var Rt=Error(Et);this.stack=Rt.stack},rt.DOMException.prototype=Object.create(Error.prototype),rt.DOMException.prototype.constructor=rt.DOMException}function dt(ht,Et){return new Promise(function(St,Rt){var wt=new Zt(ht,Et);if(wt.signal&&wt.signal.aborted)return Rt(new rt.DOMException("Aborted","AbortError"));var Ct=new XMLHttpRequest;function At(){Ct.abort()}Ct.onload=function(){var Yt={statusText:Ct.statusText,headers:Ht(Ct.getAllResponseHeaders()||"")};wt.url.indexOf("file://")===0&&(Ct.status<200||Ct.status>599)?Yt.status=200:Yt.status=Ct.status,Yt.url="responseURL"in Ct?Ct.responseURL:Yt.headers.get("X-Request-URL");var jt="response"in Ct?Ct.response:Ct.responseText;setTimeout(function(){St(new It(jt,Yt))},0)},Ct.onerror=function(){setTimeout(function(){Rt(new TypeError("Network request failed"))},0)},Ct.ontimeout=function(){setTimeout(function(){Rt(new TypeError("Network request timed out"))},0)},Ct.onabort=function(){setTimeout(function(){Rt(new rt.DOMException("Aborted","AbortError"))},0)};function vt(Yt){try{return Yt===""&&it.location.href?it.location.href:Yt}catch{return Yt}}if(Ct.open(wt.method,vt(wt.url),!0),wt.credentials==="include"?Ct.withCredentials=!0:wt.credentials==="omit"&&(Ct.withCredentials=!1),"responseType"in Ct&&(ot.blob?Ct.responseType="blob":ot.arrayBuffer&&(Ct.responseType="arraybuffer")),Et&&typeof Et.headers=="object"&&!(Et.headers instanceof mt||it.Headers&&Et.headers instanceof it.Headers)){var Lt=[];Object.getOwnPropertyNames(Et.headers).forEach(function(Yt){Lt.push(ft(Yt)),Ct.setRequestHeader(Yt,pt(Et.headers[Yt]))}),wt.headers.forEach(function(Yt,jt){Lt.indexOf(jt)===-1&&Ct.setRequestHeader(jt,Yt)})}else wt.headers.forEach(function(Yt,jt){Ct.setRequestHeader(jt,Yt)});wt.signal&&(wt.signal.addEventListener("abort",At),Ct.onreadystatechange=function(){Ct.readyState===4&&wt.signal.removeEventListener("abort",At)}),Ct.send(typeof wt._bodyInit>"u"?null:wt._bodyInit)})}return dt.polyfill=!0,it.fetch||(it.fetch=dt,it.Headers=mt,it.Request=Zt,it.Response=It),rt.Headers=mt,rt.Request=Zt,rt.Response=It,rt.fetch=dt,rt})({})})(et),et.fetch.ponyfill=!0,delete et.fetch.polyfill;var tt=_e.fetch?_e:et;j=tt.fetch,j.default=tt.fetch,j.fetch=tt.fetch,j.Headers=tt.Headers,j.Request=tt.Request,j.Response=tt.Response,a.exports=j})(browserPonyfill,browserPonyfill.exports);var browserPonyfillExports=browserPonyfill.exports;(function(a){Object.defineProperty(a,"__esModule",{value:!0}),a._fetchInternals=void 0,a.fetch=_e;const j=browserPonyfillExports;function _e(et){return a._fetchInternals.stubThis(et)}a._fetchInternals={stubThis:et=>(0,j.fetch)(et)}})(fetch$3);var hasRequiredIsCertRevoked;function requireIsCertRevoked(){if(hasRequiredIsCertRevoked)return isCertRevoked;hasRequiredIsCertRevoked=1,Object.defineProperty(isCertRevoked,"__esModule",{value:!0}),isCertRevoked.isCertRevoked=nt;const a=require$$0$4,j=require$$1$3,_e=requireIso(),et=fetch$3,tt={};async function nt(rt){var $t,kt;const{extensions:it}=rt.tbsCertificate;if(!it)return!1;let ot,ut,st;it.forEach(Pt=>{Pt.extnID===j.id_ce_authorityKeyIdentifier?ot=a.AsnParser.parse(Pt.extnValue,j.AuthorityKeyIdentifier):Pt.extnID===j.id_ce_subjectKeyIdentifier?ut=a.AsnParser.parse(Pt.extnValue,j.SubjectKeyIdentifier):Pt.extnID===j.id_ce_cRLDistributionPoints&&(st=a.AsnParser.parse(Pt.extnValue,j.CRLDistributionPoints))});let ct;ot&&ot.keyIdentifier?ct=_e.isoUint8Array.toHex(new Uint8Array(ot.keyIdentifier.buffer)):ut&&(ct=_e.isoUint8Array.toHex(new Uint8Array(ut.buffer)));const ft=_e.isoUint8Array.toHex(new Uint8Array(rt.tbsCertificate.serialNumber));if(ct){const Pt=tt[ct];if(Pt){const Nt=new Date;if(!Pt.nextUpdate||Pt.nextUpdate>Nt)return Pt.revokedCerts.indexOf(ft)>=0}}const pt=(kt=($t=st==null?void 0:st[0].distributionPoint)==null?void 0:$t.fullName)==null?void 0:kt[0].uniformResourceIdentifier;if(!pt)return!1;let yt;try{yt=await(await(0,et.fetch)(pt)).arrayBuffer()}catch{return!1}let mt;try{mt=a.AsnParser.parse(yt,j.CertificateList)}catch{return!1}const bt={revokedCerts:[],nextUpdate:void 0};mt.tbsCertList.nextUpdate&&(bt.nextUpdate=mt.tbsCertList.nextUpdate.getTime());const xt=mt.tbsCertList.revokedCertificates;if(xt){for(const Pt of xt){const Nt=_e.isoUint8Array.toHex(new Uint8Array(Pt.userCertificate));bt.revokedCerts.push(Nt)}return ct&&(tt[ct]=bt),bt.revokedCerts.indexOf(ft)>=0}return!1}return isCertRevoked}var parseAuthenticatorData={},decodeAuthenticatorExtensions={},hasRequiredDecodeAuthenticatorExtensions;function requireDecodeAuthenticatorExtensions(){if(hasRequiredDecodeAuthenticatorExtensions)return decodeAuthenticatorExtensions;hasRequiredDecodeAuthenticatorExtensions=1,Object.defineProperty(decodeAuthenticatorExtensions,"__esModule",{value:!0}),decodeAuthenticatorExtensions.decodeAuthenticatorExtensions=j;const a=requireIso();function j(et){let tt;try{tt=a.isoCBOR.decodeFirst(et)}catch(nt){const rt=nt;throw new Error(`Error decoding authenticator extensions: ${rt.message}`)}return _e(tt)}function _e(et){const tt={};for(const[nt,rt]of et)rt instanceof Map?tt[nt]=_e(rt):tt[nt]=rt;return tt}return decodeAuthenticatorExtensions}var hasRequiredParseAuthenticatorData;function requireParseAuthenticatorData(){return hasRequiredParseAuthenticatorData||(hasRequiredParseAuthenticatorData=1,function(a){Object.defineProperty(a,"__esModule",{value:!0}),a._parseAuthenticatorDataInternals=void 0,a.parseAuthenticatorData=et;const j=requireDecodeAuthenticatorExtensions(),_e=requireIso();function et(tt){if(tt.byteLength<37)throw new Error(`Authenticator data was ${tt.byteLength} bytes, expected at least 37 bytes`);let nt=0;const rt=_e.isoUint8Array.toDataView(tt),it=tt.slice(nt,nt+=32),ot=tt.slice(nt,nt+=1),ut=ot[0],st={up:!!(ut&1),uv:!!(ut&4),be:!!(ut&8),bs:!!(ut&16),at:!!(ut&64),ed:!!(ut&128),flagsInt:ut},ct=tt.slice(nt,nt+4),ft=rt.getUint32(nt,!1);nt+=4;let pt,yt,mt;if(st.at){pt=tt.slice(nt,nt+=16);const $t=rt.getUint16(nt);nt+=2,yt=tt.slice(nt,nt+=$t);const kt=_e.isoUint8Array.fromHex("a301634f4b500327206745643235353139"),Pt=tt.slice(nt,nt+kt.byteLength);let Nt=!1;_e.isoUint8Array.areEqual(kt,Pt)&&(Nt=!0,tt[nt]=164);const Ot=_e.isoCBOR.decodeFirst(tt.slice(nt)),Ft=Uint8Array.from(_e.isoCBOR.encode(Ot));Nt&&(tt[nt]=163),mt=Ft,nt+=Ft.byteLength}let bt,xt;if(st.ed){const $t=_e.isoCBOR.decodeFirst(tt.slice(nt));xt=Uint8Array.from(_e.isoCBOR.encode($t)),bt=(0,j.decodeAuthenticatorExtensions)(xt),nt+=xt.byteLength}if(tt.byteLength>nt)throw new Error("Leftover bytes detected while parsing authenticator data");return a._parseAuthenticatorDataInternals.stubThis({rpIdHash:it,flagsBuf:ot,flags:st,counter:ft,counterBuf:ct,aaguid:pt,credentialID:yt,credentialPublicKey:mt,extensionsData:bt,extensionsDataBuffer:xt})}a._parseAuthenticatorDataInternals={stubThis:tt=>tt}}(parseAuthenticatorData)),parseAuthenticatorData}var toHash={},hasRequiredToHash;function requireToHash(){if(hasRequiredToHash)return toHash;hasRequiredToHash=1,Object.defineProperty(toHash,"__esModule",{value:!0}),toHash.toHash=j;const a=requireIso();function j(_e,et=-7){return typeof _e=="string"&&(_e=a.isoUint8Array.fromUTF8String(_e)),a.isoCrypto.digest(_e,et)}return toHash}var validateCertificatePath={},verifySignature={},convertX509PublicKeyToCOSE$1={};const id_pkcs_1="1.2.840.113549.1.1",id_rsaEncryption=`${id_pkcs_1}.1`,id_RSAES_OAEP=`${id_pkcs_1}.7`,id_pSpecified=`${id_pkcs_1}.9`,id_RSASSA_PSS=`${id_pkcs_1}.10`,id_md2WithRSAEncryption=`${id_pkcs_1}.2`,id_md5WithRSAEncryption=`${id_pkcs_1}.4`,id_sha1WithRSAEncryption=`${id_pkcs_1}.5`,id_sha224WithRSAEncryption=`${id_pkcs_1}.14`,id_ssha224WithRSAEncryption=id_sha224WithRSAEncryption,id_sha256WithRSAEncryption=`${id_pkcs_1}.11`,id_sha384WithRSAEncryption=`${id_pkcs_1}.12`,id_sha512WithRSAEncryption=`${id_pkcs_1}.13`,id_sha512_224WithRSAEncryption=`${id_pkcs_1}.15`,id_sha512_256WithRSAEncryption=`${id_pkcs_1}.16`,id_sha1="1.3.14.3.2.26",id_sha224="2.16.840.1.101.3.4.2.4",id_sha256="2.16.840.1.101.3.4.2.1",id_sha384="2.16.840.1.101.3.4.2.2",id_sha512="2.16.840.1.101.3.4.2.3",id_sha512_224="2.16.840.1.101.3.4.2.5",id_sha512_256="2.16.840.1.101.3.4.2.6",id_md2="1.2.840.113549.2.2",id_md5="1.2.840.113549.2.5",id_mgf1=`${id_pkcs_1}.8`;function create$4(a){return new AlgorithmIdentifier({algorithm:a,parameters:null})}const md2=create$4(id_md2),md4=create$4(id_md5),sha1=create$4(id_sha1),sha224=create$4(id_sha224),sha256=create$4(id_sha256),sha384=create$4(id_sha384),sha512=create$4(id_sha512),sha512_224=create$4(id_sha512_224),sha512_256=create$4(id_sha512_256),mgf1SHA1=new AlgorithmIdentifier({algorithm:id_mgf1,parameters:AsnConvert.serialize(sha1)}),pSpecifiedEmpty=new AlgorithmIdentifier({algorithm:id_pSpecified,parameters:AsnConvert.serialize(AsnOctetStringConverter.toASN(new Uint8Array([218,57,163,238,94,107,75,13,50,85,191,239,149,96,24,144,175,216,7,9]).buffer))}),rsaEncryption=create$4(id_rsaEncryption),md2WithRSAEncryption=create$4(id_md2WithRSAEncryption),md5WithRSAEncryption=create$4(id_md5WithRSAEncryption),sha1WithRSAEncryption=create$4(id_sha1WithRSAEncryption),sha224WithRSAEncryption=create$4(id_sha512_224WithRSAEncryption),sha256WithRSAEncryption=create$4(id_sha512_256WithRSAEncryption),sha384WithRSAEncryption=create$4(id_sha384WithRSAEncryption),sha512WithRSAEncryption=create$4(id_sha512WithRSAEncryption),sha512_224WithRSAEncryption=create$4(id_sha512_224WithRSAEncryption),sha512_256WithRSAEncryption=create$4(id_sha512_256WithRSAEncryption);class RsaEsOaepParams{constructor(j={}){this.hashAlgorithm=new AlgorithmIdentifier(sha1),this.maskGenAlgorithm=new AlgorithmIdentifier({algorithm:id_mgf1,parameters:AsnConvert.serialize(sha1)}),this.pSourceAlgorithm=new AlgorithmIdentifier(pSpecifiedEmpty),Object.assign(this,j)}}__decorate([AsnProp({type:AlgorithmIdentifier,context:0,defaultValue:sha1})],RsaEsOaepParams.prototype,"hashAlgorithm",void 0);__decorate([AsnProp({type:AlgorithmIdentifier,context:1,defaultValue:mgf1SHA1})],RsaEsOaepParams.prototype,"maskGenAlgorithm",void 0);__decorate([AsnProp({type:AlgorithmIdentifier,context:2,defaultValue:pSpecifiedEmpty})],RsaEsOaepParams.prototype,"pSourceAlgorithm",void 0);const RSAES_OAEP=new AlgorithmIdentifier({algorithm:id_RSAES_OAEP,parameters:AsnConvert.serialize(new RsaEsOaepParams)});class RsaSaPssParams{constructor(j={}){this.hashAlgorithm=new AlgorithmIdentifier(sha1),this.maskGenAlgorithm=new AlgorithmIdentifier({algorithm:id_mgf1,parameters:AsnConvert.serialize(sha1)}),this.saltLength=20,this.trailerField=1,Object.assign(this,j)}}__decorate([AsnProp({type:AlgorithmIdentifier,context:0,defaultValue:sha1})],RsaSaPssParams.prototype,"hashAlgorithm",void 0);__decorate([AsnProp({type:AlgorithmIdentifier,context:1,defaultValue:mgf1SHA1})],RsaSaPssParams.prototype,"maskGenAlgorithm",void 0);__decorate([AsnProp({type:AsnPropTypes.Integer,context:2,defaultValue:20})],RsaSaPssParams.prototype,"saltLength",void 0);__decorate([AsnProp({type:AsnPropTypes.Integer,context:3,defaultValue:1})],RsaSaPssParams.prototype,"trailerField",void 0);const RSASSA_PSS=new AlgorithmIdentifier({algorithm:id_RSASSA_PSS,parameters:AsnConvert.serialize(new RsaSaPssParams)});class DigestInfo{constructor(j={}){this.digestAlgorithm=new AlgorithmIdentifier,this.digest=new OctetString,Object.assign(this,j)}}__decorate([AsnProp({type:AlgorithmIdentifier})],DigestInfo.prototype,"digestAlgorithm",void 0);__decorate([AsnProp({type:OctetString})],DigestInfo.prototype,"digest",void 0);var OtherPrimeInfos_1;class OtherPrimeInfo{constructor(j={}){this.prime=new ArrayBuffer(0),this.exponent=new ArrayBuffer(0),this.coefficient=new ArrayBuffer(0),Object.assign(this,j)}}__decorate([AsnProp({type:AsnPropTypes.Integer,converter:AsnIntegerArrayBufferConverter})],OtherPrimeInfo.prototype,"prime",void 0);__decorate([AsnProp({type:AsnPropTypes.Integer,converter:AsnIntegerArrayBufferConverter})],OtherPrimeInfo.prototype,"exponent",void 0);__decorate([AsnProp({type:AsnPropTypes.Integer,converter:AsnIntegerArrayBufferConverter})],OtherPrimeInfo.prototype,"coefficient",void 0);let OtherPrimeInfos=OtherPrimeInfos_1=class extends AsnArray{constructor(j){super(j),Object.setPrototypeOf(this,OtherPrimeInfos_1.prototype)}};OtherPrimeInfos=OtherPrimeInfos_1=__decorate([AsnType({type:AsnTypeTypes.Sequence,itemType:OtherPrimeInfo})],OtherPrimeInfos);class RSAPrivateKey{constructor(j={}){this.version=0,this.modulus=new ArrayBuffer(0),this.publicExponent=new ArrayBuffer(0),this.privateExponent=new ArrayBuffer(0),this.prime1=new ArrayBuffer(0),this.prime2=new ArrayBuffer(0),this.exponent1=new ArrayBuffer(0),this.exponent2=new ArrayBuffer(0),this.coefficient=new ArrayBuffer(0),Object.assign(this,j)}}__decorate([AsnProp({type:AsnPropTypes.Integer})],RSAPrivateKey.prototype,"version",void 0);__decorate([AsnProp({type:AsnPropTypes.Integer,converter:AsnIntegerArrayBufferConverter})],RSAPrivateKey.prototype,"modulus",void 0);__decorate([AsnProp({type:AsnPropTypes.Integer,converter:AsnIntegerArrayBufferConverter})],RSAPrivateKey.prototype,"publicExponent",void 0);__decorate([AsnProp({type:AsnPropTypes.Integer,converter:AsnIntegerArrayBufferConverter})],RSAPrivateKey.prototype,"privateExponent",void 0);__decorate([AsnProp({type:AsnPropTypes.Integer,converter:AsnIntegerArrayBufferConverter})],RSAPrivateKey.prototype,"prime1",void 0);__decorate([AsnProp({type:AsnPropTypes.Integer,converter:AsnIntegerArrayBufferConverter})],RSAPrivateKey.prototype,"prime2",void 0);__decorate([AsnProp({type:AsnPropTypes.Integer,converter:AsnIntegerArrayBufferConverter})],RSAPrivateKey.prototype,"exponent1",void 0);__decorate([AsnProp({type:AsnPropTypes.Integer,converter:AsnIntegerArrayBufferConverter})],RSAPrivateKey.prototype,"exponent2",void 0);__decorate([AsnProp({type:AsnPropTypes.Integer,converter:AsnIntegerArrayBufferConverter})],RSAPrivateKey.prototype,"coefficient",void 0);__decorate([AsnProp({type:OtherPrimeInfos,optional:!0})],RSAPrivateKey.prototype,"otherPrimeInfos",void 0);class RSAPublicKey{constructor(j={}){this.modulus=new ArrayBuffer(0),this.publicExponent=new ArrayBuffer(0),Object.assign(this,j)}}__decorate([AsnProp({type:AsnPropTypes.Integer,converter:AsnIntegerArrayBufferConverter})],RSAPublicKey.prototype,"modulus",void 0);__decorate([AsnProp({type:AsnPropTypes.Integer,converter:AsnIntegerArrayBufferConverter})],RSAPublicKey.prototype,"publicExponent",void 0);const es2015=Object.freeze(Object.defineProperty({__proto__:null,DigestInfo,OtherPrimeInfo,get OtherPrimeInfos(){return OtherPrimeInfos},RSAES_OAEP,RSAPrivateKey,RSAPublicKey,RSASSA_PSS,RsaEsOaepParams,RsaSaPssParams,id_RSAES_OAEP,id_RSASSA_PSS,id_md2,id_md2WithRSAEncryption,id_md5,id_md5WithRSAEncryption,id_mgf1,id_pSpecified,id_pkcs_1,id_rsaEncryption,id_sha1,id_sha1WithRSAEncryption,id_sha224,id_sha224WithRSAEncryption,id_sha256,id_sha256WithRSAEncryption,id_sha384,id_sha384WithRSAEncryption,id_sha512,id_sha512WithRSAEncryption,id_sha512_224,id_sha512_224WithRSAEncryption,id_sha512_256,id_sha512_256WithRSAEncryption,id_ssha224WithRSAEncryption,md2,md2WithRSAEncryption,md4,md5WithRSAEncryption,mgf1SHA1,pSpecifiedEmpty,rsaEncryption,sha1,sha1WithRSAEncryption,sha224,sha224WithRSAEncryption,sha256,sha256WithRSAEncryption,sha384,sha384WithRSAEncryption,sha512,sha512WithRSAEncryption,sha512_224,sha512_224WithRSAEncryption,sha512_256,sha512_256WithRSAEncryption},Symbol.toStringTag,{value:"Module"})),require$$4$1=getAugmentedNamespace(es2015);var mapX509SignatureAlgToCOSEAlg$1={};Object.defineProperty(mapX509SignatureAlgToCOSEAlg$1,"__esModule",{value:!0});mapX509SignatureAlgToCOSEAlg$1.mapX509SignatureAlgToCOSEAlg=mapX509SignatureAlgToCOSEAlg;const cose_js_1$1=cose;function mapX509SignatureAlgToCOSEAlg(a){let j;if(a==="1.2.840.10045.4.3.2")j=cose_js_1$1.COSEALG.ES256;else if(a==="1.2.840.10045.4.3.3")j=cose_js_1$1.COSEALG.ES384;else if(a==="1.2.840.10045.4.3.4")j=cose_js_1$1.COSEALG.ES512;else if(a==="1.2.840.113549.1.1.11")j=cose_js_1$1.COSEALG.RS256;else if(a==="1.2.840.113549.1.1.12")j=cose_js_1$1.COSEALG.RS384;else if(a==="1.2.840.113549.1.1.13")j=cose_js_1$1.COSEALG.RS512;else if(a==="1.2.840.113549.1.1.5")j=cose_js_1$1.COSEALG.RS1;else throw new Error(`Unable to map X.509 signature algorithm ${a} to a COSE algorithm`);return j}Object.defineProperty(convertX509PublicKeyToCOSE$1,"__esModule",{value:!0});convertX509PublicKeyToCOSE$1.convertX509PublicKeyToCOSE=convertX509PublicKeyToCOSE;const asn1_schema_1=require$$0$4,asn1_x509_1=require$$1$3,asn1_ecc_1=require$$2$1,cose_js_1=cose,asn1_rsa_1=require$$4$1,mapX509SignatureAlgToCOSEAlg_js_1=mapX509SignatureAlgToCOSEAlg$1;function convertX509PublicKeyToCOSE(a){let j=new Map;const _e=asn1_schema_1.AsnParser.parse(a,asn1_x509_1.Certificate),{tbsCertificate:et}=_e,{subjectPublicKeyInfo:tt,signature:nt}=et,rt=nt.algorithm,it=tt.algorithm.algorithm;if(it===asn1_ecc_1.id_ecPublicKey){if(!tt.algorithm.parameters)throw new Error("Certificate public key was missing parameters (EC2)");const ot=asn1_schema_1.AsnParser.parse(new Uint8Array(tt.algorithm.parameters),asn1_ecc_1.ECParameters);let ut=-999;const{namedCurve:st}=ot;if(st===asn1_ecc_1.id_secp256r1)ut=cose_js_1.COSECRV.P256;else if(st===asn1_ecc_1.id_secp384r1)ut=cose_js_1.COSECRV.P384;else throw new Error(`Certificate public key contained unexpected namedCurve ${st} (EC2)`);const ct=new Uint8Array(tt.subjectPublicKey);let ft,pt;if(ct[0]===4){let mt=1;const bt=(ct.length-1)/2;ft=ct.slice(mt,mt+=bt),pt=ct.slice(mt)}else throw new Error('TODO: Figure out how to handle public keys in "compressed form"');const yt=new Map;yt.set(cose_js_1.COSEKEYS.kty,cose_js_1.COSEKTY.EC2),yt.set(cose_js_1.COSEKEYS.alg,(0,mapX509SignatureAlgToCOSEAlg_js_1.mapX509SignatureAlgToCOSEAlg)(rt)),yt.set(cose_js_1.COSEKEYS.crv,ut),yt.set(cose_js_1.COSEKEYS.x,ft),yt.set(cose_js_1.COSEKEYS.y,pt),j=yt}else if(it==="1.2.840.113549.1.1.1"){const ot=asn1_schema_1.AsnParser.parse(tt.subjectPublicKey,asn1_rsa_1.RSAPublicKey),ut=new Map;ut.set(cose_js_1.COSEKEYS.kty,cose_js_1.COSEKTY.RSA),ut.set(cose_js_1.COSEKEYS.alg,(0,mapX509SignatureAlgToCOSEAlg_js_1.mapX509SignatureAlgToCOSEAlg)(rt)),ut.set(cose_js_1.COSEKEYS.n,new Uint8Array(ot.modulus)),ut.set(cose_js_1.COSEKEYS.e,new Uint8Array(ot.publicExponent)),j=ut}else throw new Error(`Certificate public key contained unexpected algorithm ID ${it}`);return j}var hasRequiredVerifySignature;function requireVerifySignature(){return hasRequiredVerifySignature||(hasRequiredVerifySignature=1,function(a){Object.defineProperty(a,"__esModule",{value:!0}),a._verifySignatureInternals=void 0,a.verifySignature=tt;const j=requireIso(),_e=requireDecodeCredentialPublicKey(),et=convertX509PublicKeyToCOSE$1;function tt(nt){const{signature:rt,data:it,credentialPublicKey:ot,x509Certificate:ut,hashAlgorithm:st}=nt;if(!ut&&!ot)throw new Error('Must declare either "leafCert" or "credentialPublicKey"');if(ut&&ot)throw new Error('Must not declare both "leafCert" and "credentialPublicKey"');let ct=new Map;return ot?ct=(0,_e.decodeCredentialPublicKey)(ot):ut&&(ct=(0,et.convertX509PublicKeyToCOSE)(ut)),a._verifySignatureInternals.stubThis(j.isoCrypto.verify({cosePublicKey:ct,signature:rt,data:it,shaHashOverride:st}))}a._verifySignatureInternals={stubThis:nt=>nt}}(verifySignature)),verifySignature}var convertPEMToBytes={},hasRequiredConvertPEMToBytes;function requireConvertPEMToBytes(){if(hasRequiredConvertPEMToBytes)return convertPEMToBytes;hasRequiredConvertPEMToBytes=1,Object.defineProperty(convertPEMToBytes,"__esModule",{value:!0}),convertPEMToBytes.convertPEMToBytes=j;const a=requireIso();function j(_e){const et=_e.replace("-----BEGIN CERTIFICATE-----","").replace("-----END CERTIFICATE-----","").replace(/[\n ]/g,"");return a.isoBase64URL.toBuffer(et,"base64")}return convertPEMToBytes}var hasRequiredValidateCertificatePath;function requireValidateCertificatePath(){if(hasRequiredValidateCertificatePath)return validateCertificatePath;hasRequiredValidateCertificatePath=1,Object.defineProperty(validateCertificatePath,"__esModule",{value:!0}),validateCertificatePath.validateCertificatePath=rt;const a=require$$0$4,j=requireIsCertRevoked(),_e=requireVerifySignature(),et=mapX509SignatureAlgToCOSEAlg$1,tt=getCertificateInfo$1,nt=requireConvertPEMToBytes();async function rt(yt,mt=[]){if(mt.length===0)return!0;let bt=!1,xt;for(const $t of mt)try{const kt=yt.concat([$t]);await it(kt),bt=!1,xt=void 0;break}catch(kt){if(kt instanceof ct)bt=!0;else if(kt instanceof pt)xt=kt.message;else throw kt}if(bt)throw new ct;if(xt)throw new pt(xt);return!0}async function it(yt){if(new Set(yt).size!==yt.length)throw new Error("Invalid certificate path: found duplicate certificates");for(const mt of yt){const bt=(0,tt.getCertificateInfo)((0,nt.convertPEMToBytes)(mt));await ot(bt.parsedCertificate),ut(bt,mt)}for(let mt=0;mt<yt.length-1;mt+=1){const bt=yt[mt],xt=yt[mt+1],$t=(0,tt.getCertificateInfo)((0,nt.convertPEMToBytes)(bt)),kt=(0,tt.getCertificateInfo)((0,nt.convertPEMToBytes)(xt));if($t.issuer.combined!==kt.subject.combined)throw new ct;const Pt=kt.issuer.combined===kt.subject.combined;await st($t.parsedCertificate,xt),Pt&&await st(kt.parsedCertificate,xt)}return!0}async function ot(yt){if(await(0,j.isCertRevoked)(yt))throw new Error("Found revoked certificate in certificate path")}function ut(yt,mt){const{notBefore:bt,notAfter:xt}=yt,$t=new Date(Date.now());if(bt>$t||xt<$t)throw new pt(`Certificate is not yet valid or expired: ${mt}`)}async function st(yt,mt){const bt=a.AsnSerializer.serialize(yt.tbsCertificate),xt=yt.signatureValue,$t=(0,et.mapX509SignatureAlgToCOSEAlg)(yt.signatureAlgorithm.algorithm),kt=(0,nt.convertPEMToBytes)(mt);if(!await(0,_e.verifySignature)({data:new Uint8Array(bt),signature:new Uint8Array(xt),x509Certificate:kt,hashAlgorithm:$t}))throw new ft}class ct extends Error{constructor(){super("Subject issuer did not match issuer subject"),this.name="InvalidSubjectAndIssuer"}}class ft extends Error{constructor(){super("Subject signature was invalid for issuer"),this.name="InvalidSubjectSignatureForIssuer"}}class pt extends Error{constructor(mt){super(mt),this.name="CertificateNotYetValidOrExpired"}}return validateCertificatePath}var hasRequiredHelpers;function requireHelpers(){return hasRequiredHelpers||(hasRequiredHelpers=1,function(a){var j=commonjsGlobal&&commonjsGlobal.__createBinding||(Object.create?function(nt,rt,it,ot){ot===void 0&&(ot=it);var ut=Object.getOwnPropertyDescriptor(rt,it);(!ut||("get"in ut?!rt.__esModule:ut.writable||ut.configurable))&&(ut={enumerable:!0,get:function(){return rt[it]}}),Object.defineProperty(nt,ot,ut)}:function(nt,rt,it,ot){ot===void 0&&(ot=it),nt[ot]=rt[it]}),_e=commonjsGlobal&&commonjsGlobal.__setModuleDefault||(Object.create?function(nt,rt){Object.defineProperty(nt,"default",{enumerable:!0,value:rt})}:function(nt,rt){nt.default=rt}),et=commonjsGlobal&&commonjsGlobal.__exportStar||function(nt,rt){for(var it in nt)it!=="default"&&!Object.prototype.hasOwnProperty.call(rt,it)&&j(rt,nt,it)},tt=commonjsGlobal&&commonjsGlobal.__importStar||function(nt){if(nt&&nt.__esModule)return nt;var rt={};if(nt!=null)for(var it in nt)it!=="default"&&Object.prototype.hasOwnProperty.call(nt,it)&&j(rt,nt,it);return _e(rt,nt),rt};Object.defineProperty(a,"__esModule",{value:!0}),a.cose=void 0,et(requireConvertAAGUIDToString(),a),et(requireConvertCertBufferToPEM(),a),et(requireConvertCOSEtoPKCS(),a),et(requireDecodeAttestationObject(),a),et(requireDecodeClientDataJSON(),a),et(requireDecodeCredentialPublicKey(),a),et(requireGenerateChallenge(),a),et(requireGenerateUserID(),a),et(getCertificateInfo$1,a),et(requireIsCertRevoked(),a),et(requireParseAuthenticatorData(),a),et(requireToHash(),a),et(requireValidateCertificatePath(),a),et(requireVerifySignature(),a),et(requireIso(),a),a.cose=tt(cose)}(helpers)),helpers}var __importDefault$4=commonjsGlobal&&commonjsGlobal.__importDefault||function(a){return a&&a.__esModule?a:{default:a}};Object.defineProperty(passkey,"__esModule",{value:!0});passkey.PasskeySigner=void 0;const util_1$3=lib$5,helpers_1=requireHelpers(),signer_1=__importDefault$4(signer);class PasskeySigner extends signer_1.default{constructor(){super()}genKeyPair(j="hex",_e){throw new Error("Not supported")}getPublicKey(j,_e="hex"){throw new Error("Not supported")}sign(j,_e,et="hex"){throw new Error("Not supported")}async verify(j,_e,et,tt){const nt=JSON.parse(tt);if(!nt.authenticatorData||!nt.clientDataJSON)throw new Error("extra.authenticatorData or extra.clientDataJSON is required for passkey signature verification");const rt=(0,util_1$3.toBuffer)((0,util_1$3.fromBase64)(nt.authenticatorData)),it=await(0,helpers_1.toHash)(helpers_1.isoBase64URL.toBuffer(nt.clientDataJSON));if((0,helpers_1.decodeClientDataJSON)(nt.clientDataJSON).challenge!==(0,util_1$3.toBase64)(j))throw new Error("challenge mismatch for passkey signature");return(0,helpers_1.verifySignature)({signature:helpers_1.isoBase64URL.toBuffer(typeof _e=="string"?_e:(0,util_1$3.toBase64)(_e)),data:helpers_1.isoUint8Array.concat([rt,it]),credentialPublicKey:et})}}passkey.PasskeySigner=PasskeySigner;passkey.default=new PasskeySigner;(function(a){var j=commonjsGlobal&&commonjsGlobal.__importDefault||function(mt){return mt&&mt.__esModule?mt:{default:mt}};Object.defineProperty(a,"__esModule",{value:!0}),a.toTxHash=a.Hashers=a.Signers=a.types=a.Hasher=a.Signer=void 0,a.getSigner=ct,a.getHasher=ft,a.getRandomBytes=pt;const _e=j(browserExports$1),et=encode$5,tt=j(keccak$1),nt=j(sha2),rt=j(sha3),it=j(ed25519$1),ot=j(ethereum),ut=j(secp256k1$1),st=j(passkey);a.Signer={Ed25519:it.default,Secp256k1:ut.default,Ethereum:ot.default,Passkey:st.default},a.Hasher={SHA2:nt.default,SHA3:rt.default,Keccak:tt.default},a.types={KeyType:{ED25519:0,SECP256K1:1,ETHEREUM:2,PASSKEY:3},HashType:{KECCAK:0,SHA3:1,KECCAK_384:2,SHA3_384:3,KECCAK_512:4,SHA3_512:5,SHA2:6},RoleType:{ROLE_ACCOUNT:0,ROLE_NODE:1,ROLE_DEVICE:2,ROLE_APPLICATION:3,ROLE_SMART_CONTRACT:4,ROLE_BOT:5,ROLE_ASSET:6,ROLE_STAKE:7,ROLE_VALIDATOR:8,ROLE_GROUP:9,ROLE_TX:10,ROLE_TETHER:11,ROLE_SWAP:12,ROLE_DELEGATION:13,ROLE_VC:14,ROLE_BLOCKLET:15,ROLE_STORE:16,ROLE_TOKEN:17,ROLE_FACTORY:18,ROLE_ROLLUP:19,ROLE_STORAGE:20,ROLE_PROFILE:21,ROLE_PASSKEY:22,ROLE_ANY:63},EncodingType:{BASE16:0,BASE58:1}};function ct(mt){if(typeof a.Signers[mt]>"u")throw new Error(`Unsupported signer type: ${mt}`);return a.Signers[mt]}function ft(mt){if(typeof a.Hashers[mt]>"u")throw new Error(`Unsupported hash type: ${mt}`);return a.Hashers[mt]}function pt(mt=32,bt="hex"){return(0,et.encode)((0,_e.default)(mt),bt)}a.Signers=Object.freeze({[a.types.KeyType.ED25519]:a.Signer.Ed25519,[a.types.KeyType.SECP256K1]:a.Signer.Secp256k1,[a.types.KeyType.ETHEREUM]:a.Signer.Ethereum,[a.types.KeyType.PASSKEY]:a.Signer.Passkey}),a.Hashers=Object.freeze({[a.types.HashType.KECCAK]:a.Hasher.Keccak.hash256,[a.types.HashType.KECCAK_384]:a.Hasher.Keccak.hash384,[a.types.HashType.KECCAK_512]:a.Hasher.Keccak.hash512,[a.types.HashType.SHA3]:a.Hasher.SHA3.hash256,[a.types.HashType.SHA3_384]:a.Hasher.SHA3.hash384,[a.types.HashType.SHA3_512]:a.Hasher.SHA3.hash512,[a.types.HashType.SHA2]:a.Hasher.SHA2.hash256});const yt=mt=>a.Hasher.SHA2.hash256(mt,1,"hex").replace(/^0x/,"").toUpperCase();a.toTxHash=yt})(lib$4);var lib$3={},type={};function isEqual(a,j){return baseIsEqual(a,j)}const isEqual$1=Object.freeze(Object.defineProperty({__proto__:null,default:isEqual},Symbol.toStringTag,{value:"Module"})),require$$1$2=getAugmentedNamespace(isEqual$1);function basePick(a,j){return basePickBy(a,j,function(_e,et){return hasIn(a,et)})}var pick=flatRest(function(a,j){return a==null?{}:basePick(a,j)});const pick$1=Object.freeze(Object.defineProperty({__proto__:null,default:pick},Symbol.toStringTag,{value:"Module"})),require$$2=getAugmentedNamespace(pick$1);var util$3={},__importDefault$3=commonjsGlobal&&commonjsGlobal.__importDefault||function(a){return a&&a.__esModule?a:{default:a}};Object.defineProperty(util$3,"__esModule",{value:!0});util$3.toStrictHex=util$3.toBytes=util$3.toBits=util$3.DID_PREFIX=void 0;const padStart_1=__importDefault$3(require$$0$5),util_1$2=lib$5,DID_PREFIX="did:abt:";util$3.DID_PREFIX=DID_PREFIX;const toBytes=a=>{try{if((0,util_1$2.isHexStrict)(a))return Buffer$4.from((0,util_1$2.stripHexPrefix)(a),"hex");let j=(0,util_1$2.fromBase58)(a.replace(DID_PREFIX,""));for(;j.length<26;)j=Buffer$4.concat([Buffer$4.from([0]),j]);return j}catch(j){throw new Error(`Cannot convert DID string to byte array: ${j.message}`)}};util$3.toBytes=toBytes;const toBits=(a,j)=>(0,padStart_1.default)((0,util_1$2.toBN)(a).toString(2),j,"0");util$3.toBits=toBits;const toStrictHex=(a,j)=>{const _e=a.replace(/^0x/i,"");return typeof j=="number"&&j%2===0?(0,padStart_1.default)(a,j,"0"):_e.length%2===0?_e:`0${_e}`};util$3.toStrictHex=toStrictHex;var __importDefault$2=commonjsGlobal&&commonjsGlobal.__importDefault||function(a){return a&&a.__esModule?a:{default:a}};Object.defineProperty(type,"__esModule",{value:!0});type.toChecksumAddress=type.isEthereumDid=type.isEthereumType=type.toTypeInfoStr=type.toTypeInfo=type.fromTypeInfo=type.DID_TYPE_PASSKEY=type.DID_TYPE_ETHEREUM=type.DID_TYPE_ARCBLOCK=void 0;type.DidType=DidType;const util_1$1=lib$5,upperFirst_1=__importDefault$2(require$$1$4),isEqual_1=__importDefault$2(require$$1$2),pick_1=__importDefault$2(require$$2),mcrypto_1$1=lib$4,util_2=util$3,mapping={pk:"key",address:"encoding"},DID_TYPE_ARCBLOCK={role:mcrypto_1$1.types.RoleType.ROLE_ACCOUNT,pk:mcrypto_1$1.types.KeyType.ED25519,hash:mcrypto_1$1.types.HashType.SHA3,address:mcrypto_1$1.types.EncodingType.BASE58};type.DID_TYPE_ARCBLOCK=DID_TYPE_ARCBLOCK;const DID_TYPE_PASSKEY={role:mcrypto_1$1.types.RoleType.ROLE_PASSKEY,pk:mcrypto_1$1.types.KeyType.PASSKEY,hash:mcrypto_1$1.types.HashType.SHA2,address:mcrypto_1$1.types.EncodingType.BASE58};type.DID_TYPE_PASSKEY=DID_TYPE_PASSKEY;const DID_TYPE_ETHEREUM={role:mcrypto_1$1.types.RoleType.ROLE_ACCOUNT,pk:mcrypto_1$1.types.KeyType.ETHEREUM,hash:mcrypto_1$1.types.HashType.KECCAK,address:mcrypto_1$1.types.EncodingType.BASE16};type.DID_TYPE_ETHEREUM=DID_TYPE_ETHEREUM;const isEthereumType=a=>{const j=["pk","hash","address"];return(0,isEqual_1.default)((0,pick_1.default)(a,j),(0,pick_1.default)(DID_TYPE_ETHEREUM,j))};type.isEthereumType=isEthereumType;const isEthereumDid=a=>{const j=(0,util_1$1.toAddress)(a);return/^(0x)?[0-9a-f]{40}$/i.test(j)?/^(0x|0X)?[0-9a-f]{40}$/.test(j)||/^(0x|0X)?[0-9A-F]{40}$/.test(j)?!0:checkAddressChecksum(j):!1};type.isEthereumDid=isEthereumDid;const checkAddressChecksum=a=>{const j=a.replace(/^0x/i,""),_e=mcrypto_1$1.Hasher.Keccak.hash256(j.toLowerCase()).replace(/^0x/i,"");for(let et=0;et<40;et++)if(parseInt(_e[et],16)>7&&j[et].toUpperCase()!==j[et]||parseInt(_e[et],16)<=7&&j[et].toLowerCase()!==j[et])return!1;return!0},toChecksumAddress=a=>{if(typeof a>"u")return"";if(!/^(0x)?[0-9a-f]{40}$/i.test(a))throw new Error(`Given address "${a}" is not a valid Ethereum address.`);const j=a.toLowerCase().replace(/^0x/i,""),_e=mcrypto_1$1.Hasher.Keccak.hash256(j).replace(/^0x/i,"");let et="0x";for(let tt=0;tt<j.length;tt++)parseInt(_e[tt],16)>7?et+=j[tt].toUpperCase():et+=j[tt];return et};type.toChecksumAddress=toChecksumAddress;function DidType(a={}){let j={};["default","arcblock"].includes(a)?j=DID_TYPE_ARCBLOCK:["eth","ethereum"].includes(a)?j=DID_TYPE_ETHEREUM:["passkey"].includes(a)?j=DID_TYPE_PASSKEY:j={...DID_TYPE_ARCBLOCK,...a};const{role:_e,pk:et,hash:tt,address:nt}=j;Object.keys(j).forEach(it=>{const ot=(0,upperFirst_1.default)(`${mapping[it]||it}Type`);if(Object.values(mcrypto_1$1.types[ot]).includes(j[it])===!1)throw new Error(`Unsupported ${it} type: ${j[it]}`)});const rt={role:_e,pk:et,hash:tt,address:nt};return isEthereumType(rt)===!1&&[mcrypto_1$1.types.RoleType.ROLE_NODE,mcrypto_1$1.types.RoleType.ROLE_VALIDATOR,mcrypto_1$1.types.RoleType.ROLE_TETHER,mcrypto_1$1.types.RoleType.ROLE_SWAP].includes(rt.role)&&(rt.hash=mcrypto_1$1.types.HashType.SHA2),rt}DidType.toJSON=a=>Object.keys(a).reduce((j,_e)=>{const et=(0,upperFirst_1.default)(`${mapping[_e]||_e}Type`),tt=Object.keys(mcrypto_1$1.types[et]),nt=Object.values(mcrypto_1$1.types[et]);return j[_e]=tt[nt.indexOf(a[_e])],j},{});DidType.fromJSON=a=>Object.keys(a).reduce((j,_e)=>{const et=(0,upperFirst_1.default)(`${mapping[_e]||_e}Type`),tt=Object.keys(mcrypto_1$1.types[et]),nt=Object.values(mcrypto_1$1.types[et]);return j[_e]=nt[tt.indexOf(a[_e])],j},{});const fromTypeInfo=a=>{const j=DidType(a),_e=(0,util_2.toBits)(j.role,6),et=(0,util_2.toBits)(j.pk,5),tt=(0,util_2.toBits)(j.hash,5),nt=`${_e}${et}${tt}`,rt=(0,util_1$1.stripHexPrefix)((0,util_1$1.numberToHex)(parseInt(nt,2)));return(0,util_2.toStrictHex)(rt,4)};type.fromTypeInfo=fromTypeInfo;const toTypeInfo$1=a=>{let j={};try{if(isEthereumDid(a))j=DID_TYPE_ETHEREUM;else{const et=(0,util_2.toBytes)(a).slice(0,2),tt=(0,util_2.toStrictHex)(Buffer$4.from(et).toString("hex")),nt=(0,util_2.toBits)(new util_1$1.BN(tt,16),16),rt=nt.slice(0,6),it=nt.slice(6,11),ot=nt.slice(11,16);j={role:parseInt(rt,2),pk:parseInt(it,2),hash:parseInt(ot,2),address:(0,util_1$1.isHex)((0,util_1$1.toAddress)(a))?mcrypto_1$1.types.EncodingType.BASE16:mcrypto_1$1.types.EncodingType.BASE58}}return Object.keys(j).forEach(_e=>{Object.values(mcrypto_1$1.types[`${(0,upperFirst_1.default)(mapping[_e]||_e)}Type`]).includes(j[_e])===!1&&delete j[_e]}),j}catch{return j}};type.toTypeInfo=toTypeInfo$1;const toTypeInfoStr=a=>{const j=toTypeInfo$1(a);return Object.keys(j).reduce((_e,et)=>{const tt=mcrypto_1$1.types[`${(0,upperFirst_1.default)(mapping[et]||et)}Type`];return _e[et]=Object.keys(tt).find(nt=>tt[nt]===j[et]),_e},{})};type.toTypeInfoStr=toTypeInfoStr;(function(a){Object.defineProperty(a,"__esModule",{value:!0}),a.DID_TYPE_PASSKEY=a.DID_TYPE_ETHEREUM=a.DID_TYPE_ARCBLOCK=a.DID_PREFIX=a.DidType=a.fromTypeInfo=a.toTypeInfoStr=a.toTypeInfo=a.isEthereumType=a.isEthereumDid=a.isValid=a.isFromPublicKey=a.toDid=a.toAddress=a.fromHash=a.fromPublicKeyHash=a.fromPublicKey=a.fromSecretKey=a.toStrictHex=a.types=void 0;const j=lib$4;Object.defineProperty(a,"types",{enumerable:!0,get:function(){return j.types}});const _e=lib$5;Object.defineProperty(a,"toAddress",{enumerable:!0,get:function(){return _e.toAddress}}),Object.defineProperty(a,"toDid",{enumerable:!0,get:function(){return _e.toDid}});const et=type;Object.defineProperty(a,"DidType",{enumerable:!0,get:function(){return et.DidType}}),Object.defineProperty(a,"DID_TYPE_ARCBLOCK",{enumerable:!0,get:function(){return et.DID_TYPE_ARCBLOCK}}),Object.defineProperty(a,"DID_TYPE_ETHEREUM",{enumerable:!0,get:function(){return et.DID_TYPE_ETHEREUM}}),Object.defineProperty(a,"DID_TYPE_PASSKEY",{enumerable:!0,get:function(){return et.DID_TYPE_PASSKEY}}),Object.defineProperty(a,"fromTypeInfo",{enumerable:!0,get:function(){return et.fromTypeInfo}}),Object.defineProperty(a,"isEthereumDid",{enumerable:!0,get:function(){return et.isEthereumDid}}),Object.defineProperty(a,"isEthereumType",{enumerable:!0,get:function(){return et.isEthereumType}}),Object.defineProperty(a,"toTypeInfo",{enumerable:!0,get:function(){return et.toTypeInfo}}),Object.defineProperty(a,"toTypeInfoStr",{enumerable:!0,get:function(){return et.toTypeInfoStr}});const tt=util$3;Object.defineProperty(a,"DID_PREFIX",{enumerable:!0,get:function(){return tt.DID_PREFIX}}),Object.defineProperty(a,"toStrictHex",{enumerable:!0,get:function(){return tt.toStrictHex}});const nt=(ct,ft)=>{const pt=(0,et.DidType)(ft),yt=(0,j.getSigner)(pt.pk).getPublicKey(ct);return rt(yt.indexOf("0x")===0?yt:`0x${yt}`,pt)};a.fromSecretKey=nt;const rt=(ct,ft)=>{const pt=(0,et.DidType)(ft),mt=(0,j.getHasher)(pt.hash)(ct,1);return it(mt,pt)};a.fromPublicKey=rt;const it=(ct,ft)=>{const pt=(0,et.DidType)(ft),yt=(0,_e.stripHexPrefix)(ct).slice(0,40),mt=(0,j.getHasher)(pt.hash),bt=(0,et.fromTypeInfo)(pt),xt=(0,_e.stripHexPrefix)(mt(`0x${bt}${yt}`,1)).slice(0,8),$t=`0x${bt}${yt}${xt}`;return(0,et.isEthereumType)(pt)?(0,et.toChecksumAddress)(`0x${ct.slice(-40)}`):pt.address===j.types.EncodingType.BASE58?(0,_e.toBase58)($t):$t};a.fromPublicKeyHash=it;const ot=(ct,ft=j.types.RoleType.ROLE_ACCOUNT)=>{const pt=Object.keys(j.types.RoleType),yt=Object.values(j.types.RoleType);if(yt.indexOf(ft)===-1)throw new Error(`Unsupported role type ${ft} when gen ddi from hash`);const mt=(0,et.DidType)({role:j.types.RoleType[pt[yt.indexOf(ft)]]});return it(ct,mt)};a.fromHash=ot;const ut=(ct,ft)=>{if(st(ct)===!1)return!1;const pt=(0,et.toTypeInfo)(ct),yt=rt(ft,pt),mt=ct.replace(tt.DID_PREFIX,"");return yt===mt};a.isFromPublicKey=ut;const st=ct=>{if(!ct)return!1;const ft=(0,_e.toAddress)(String(ct)),{hash:pt}=(0,et.toTypeInfo)(ft);if(typeof pt>"u")return!1;if((0,et.isEthereumDid)(ft))return!0;const yt=(0,j.getHasher)(pt),mt=(0,tt.toBytes)(ft),bt=(0,tt.toStrictHex)(Buffer$4.from(mt.slice(0,22)).toString("hex")),xt=(0,tt.toStrictHex)(Buffer$4.from(mt.slice(22,26)).toString("hex")),$t=(0,_e.stripHexPrefix)(yt(`0x${bt}`,1)).slice(0,8);return xt===$t};a.isValid=st})(lib$3);Object.defineProperty(lib$6,"__esModule",{value:!0});lib$6.WalletType=void 0;lib$6.Wallet=Wallet;lib$6.fromSecretKey=fromSecretKey;var fromPublicKey_1=lib$6.fromPublicKey=fromPublicKey;lib$6.fromAddress=fromAddress;lib$6.fromRandom=fromRandom;lib$6.fromJSON=fromJSON;lib$6.isValid=isValid;const util_1=lib$5,mcrypto_1=lib$4,did_1=lib$3;lib$6.WalletType=did_1.DidType;function Wallet(a,j="default"){const _e=(0,did_1.DidType)(j),et=(0,mcrypto_1.getSigner)(_e.pk),tt=(0,mcrypto_1.getHasher)(_e.hash);return{type:_e,secretKey:a.sk,publicKey:a.pk,address:a.pk?(0,did_1.fromPublicKey)(a.pk,_e):a.address,hash(nt,rt=1,it="hex"){return tt(nt,rt,it)},sign(nt,rt=!0,it="hex"){if(!a.sk)throw new Error("Cannot sign data without a secretKey");if(rt){const ot=tt(nt,1);return et.sign(ot,a.sk,it)}return et.sign(nt,a.sk,it)},async verify(nt,rt,it=!0,ot){if(!a.pk)throw new Error("Cannot verify data without a publicKey");const ut=it?tt(nt,1):nt;return et.verify(ut,rt,a.pk,ot)},ethHash(nt){if(typeof et.ethHash!="function")throw new Error("ethHash is not supported by signer");return et.ethHash(nt)},ethSign(nt,rt=!0){if(!a.sk)throw new Error("Cannot sign data without a secretKey");if(typeof et.ethHash!="function")throw new Error("ethSign is not supported by signer");return rt?et.ethSign(et.ethHash(nt),(0,util_1.toHex)(a.sk)):et.ethSign(nt,(0,util_1.toHex)(a.sk))},ethVerify(nt,rt,it=!0){if(typeof et.ethHash!="function")throw new Error("ethVerify is not supported by signer");const ot=it?et.ethHash(nt):nt;return et.ethRecover(ot,rt)===this.address},toAddress(){return a.pk?(0,did_1.fromPublicKey)(a.pk,_e):a.address},toJSON(){return{type:did_1.DidType.toJSON(_e),sk:(0,util_1.toHex)(a.sk),pk:(0,util_1.toHex)(a.pk),address:this.address}}}}function fromSecretKey(a,j="default"){const _e=(0,did_1.DidType)(j),et={sk:a,pk:(0,mcrypto_1.getSigner)(_e.pk).getPublicKey(a)};return Wallet(et,_e)}function fromPublicKey(a,j="default"){return Wallet({pk:a},(0,did_1.DidType)(j))}function fromAddress(a){return Wallet({address:(0,did_1.toAddress)(a)},(0,did_1.toTypeInfo)(a))}function fromRandom(a="default"){const j=(0,did_1.DidType)(a),et=(0,mcrypto_1.getSigner)(j.pk).genKeyPair();return Wallet({sk:et.secretKey,pk:et.publicKey},j)}function fromJSON(a){const j=did_1.DidType.fromJSON(a.type);return Wallet(a,j)}function isValid(a,j=!0){return!(!a||typeof a!="object"||typeof a.verify!="function"||typeof a.toAddress!="function"||typeof a.toJSON!="function"||!a.type||!a.publicKey||j&&(!a.secretKey||typeof a.sign!="function"))}var isUrl_1=isUrl,protocolAndDomainRE=/^(?:\w+:)?\/\/(\S+)$/,localhostDomainRE=/^localhost[\:?\d]*(?:[^\:?\d]\S*)?$/,nonLocalhostDomainRE=/^[^\s\.]+\.\S{2,}$/;function isUrl(a){if(typeof a!="string")return!1;var j=a.match(protocolAndDomainRE);if(!j)return!1;var _e=j[1];return _e?!!(localhostDomainRE.test(_e)||nonLocalhostDomainRE.test(_e)):!1}const isUrl$1=getDefaultExportFromCjs$1(isUrl_1);var __defProp$4=Object.defineProperty,__defNormalProp$4=(a,j,_e)=>j in a?__defProp$4(a,j,{enumerable:!0,configurable:!0,writable:!0,value:_e}):a[j]=_e,__publicField$4=(a,j,_e)=>(__defNormalProp$4(a,j+"",_e),_e);class AuthService{constructor({api:j}){__publicField$4(this,"api"),this.api=j}async getUserPublicInfo({did:j}){const{data:_e}=await this.api.get("/api/user",{params:{did:j}});return _e}async getUserPrivacyConfig({did:j}){const{data:_e}=await this.api.get("/api/user/privacy/config",{params:{did:j}});return _e}async saveUserPrivacyConfig(j){const{data:_e}=await this.api.post("/api/user/privacy/config",j);return _e}async getUserNotificationConfig(){const{data:j}=await this.api.get("/api/user/notification/config");return j}async saveUserNotificationConfig(j){const{data:_e}=await this.api.post("/api/user/notification/config",j);return _e}async testNotificationWebhook(j){const{data:_e}=await this.api.put("/api/user/notification/webhook",j);return _e}async getProfileUrl({did:j,locale:_e}){const et=`${constant$3.WELLKNOWN_SERVICE_PATH_PREFIX}/user`;return withQuery$1(et,{did:j,locale:_e})}async getProfile(){const{data:j}=await this.api.get("/api/user/profile");return j}async refreshProfile(){await this.api.put("/api/user/refreshProfile")}async saveProfile({locale:j,inviter:_e,metadata:et,address:tt}){const{data:nt}=await this.api.put("/api/user/profile",{locale:j,inviter:_e,metadata:et,address:tt});return nt}async updateDidSpace({spaceGateway:j}){await this.api.put("/api/user/updateDidSpace",{spaceGateway:j})}async logout({visitorId:j,status:_e,includeFederated:et}){const{data:tt}=await this.api.post("/api/user/logout",{visitorId:j,status:_e,includeFederated:et});return tt}async destroyMyself(){const{data:j}=await this.api.delete("/api/user");return j}}class TokenService{getSessionToken(j){return api$2.get(constant$3.SESSION_TOKEN_STORAGE_KEY)?api$2.get(constant$3.SESSION_TOKEN_STORAGE_KEY):j.sessionTokenKey?window.localStorage.getItem(j.sessionTokenKey):""}setSessionToken(j){api$2.set(constant$3.SESSION_TOKEN_STORAGE_KEY,j)}removeSessionToken(){api$2.remove(constant$3.SESSION_TOKEN_STORAGE_KEY)}getRefreshToken(){return localStorage.getItem(constant$3.REFRESH_TOKEN_STORAGE_KEY)}setRefreshToken(j){localStorage.setItem(constant$3.REFRESH_TOKEN_STORAGE_KEY,j)}removeRefreshToken(){localStorage.removeItem(constant$3.REFRESH_TOKEN_STORAGE_KEY)}}const blockletCache=new QuickLRU({maxSize:30,maxAge:60*1e3});class BlockletService{getBlocklet(j,_e=!1){if(!j){if(typeof window>"u"||typeof document>"u")throw new Error("Cannot get blocklet in server side without baseUrl");return window.blocklet}if(!_e&&blockletCache.has(j))return blockletCache.get(j);const et=withQuery$1(joinURL$2(j,"__blocklet__.js"),{type:"json",t:Date.now()});return new Promise(async tt=>{const rt=await(await fetch(et)).json();blockletCache.set(j,rt),tt(rt)})}loadBlocklet(){return new Promise((j,_e)=>{if(typeof window>"u"||typeof document>"u"){_e();return}const et=document.createElement("script");let tt="/";window.blocklet&&window.blocklet.prefix&&(tt=window.blocklet.prefix),et.src=withQuery$1(joinURL$2(tt,"__blocklet__.js"),{t:Date.now()}),et.onload=()=>{j()},et.onerror=()=>{_e()},document.head.append(et)})}getPrefix(j){var _e;return j?(j==null?void 0:j.prefix)||"/":typeof window>"u"||typeof document>"u"?null:((_e=window.blocklet)==null?void 0:_e.prefix)||"/"}}var __defProp$3=Object.defineProperty,__defNormalProp$3=(a,j,_e)=>j in a?__defProp$3(a,j,{enumerable:!0,configurable:!0,writable:!0,value:_e}):a[j]=_e,__publicField$3=(a,j,_e)=>(__defNormalProp$3(a,typeof j!="symbol"?j+"":j,_e),_e);class UserSessionService{constructor({api:j,blocklet:_e}){__publicField$3(this,"api"),__publicField$3(this,"blocklet"),this.api=j,this.blocklet=_e||new BlockletService}getBaseUrl(j){return j?joinURL$2(j,constant$3.WELLKNOWN_SERVICE_PATH_PREFIX):void 0}async getUserSessions({did:j,appUrl:_e}){const et=this.getBaseUrl(_e),tt=await this.blocklet.getBlocklet(),{data:nt}=await this.api.get("/api/user-session",{baseURL:et,params:{userDid:j,appPid:tt.appPid}});return nt}async getMyLoginSessions({appUrl:j}={},_e={page:1,pageSize:10}){const et=this.getBaseUrl(j),{data:tt}=await this.api.get("/api/user-session/myself",{baseURL:et,params:_e});return tt}async loginByUserSession({id:j,appPid:_e,userDid:et,passportId:tt,appUrl:nt}){const rt=this.getBaseUrl(nt),{data:it}=await this.api.post("/api/user-session/login",{id:j,appPid:_e,userDid:et,passportId:tt},{baseURL:rt});return it}}var __defProp$2$1=Object.defineProperty,__defNormalProp$2=(a,j,_e)=>j in a?__defProp$2$1(a,j,{enumerable:!0,configurable:!0,writable:!0,value:_e}):a[j]=_e,__publicField$2=(a,j,_e)=>(__defNormalProp$2(a,j+"",_e),_e);class ComponentService{constructor({blocklet:j=window.blocklet}={}){__publicField$2(this,"blocklet"),this.blocklet=j}getComponent(j){var tt;return(((tt=this.blocklet)==null?void 0:tt.componentMountPoints)||[]).find(nt=>[nt.title,nt.name,nt.did].includes(j))}getComponentMountPoint(j){const _e=this.getComponent(j);return(_e==null?void 0:_e.mountPoint)||""}getUrl(j,..._e){var nt;const et=this.getComponentMountPoint(j),tt=((nt=this.blocklet)==null?void 0:nt.appUrl)||"";return joinURL$2(tt,et,..._e)}}var __defProp$1$1=Object.defineProperty,__defNormalProp$1=(a,j,_e)=>j in a?__defProp$1$1(a,j,{enumerable:!0,configurable:!0,writable:!0,value:_e}):a[j]=_e,__publicField$1=(a,j,_e)=>(__defNormalProp$1(a,typeof j!="symbol"?j+"":j,_e),_e);class FederatedService{constructor({api:j,blocklet:_e}){__publicField$1(this,"api"),__publicField$1(this,"blocklet"),__publicField$1(this,"blockletDataCache",{}),this.api=j,this.blocklet=_e||new BlockletService}async getTrustedDomains(){const{data:j}=await this.api.get("/api/federated/getTrustedDomains");return j}getMaster(j=this.blocklet.getBlocklet()){var et;const _e=(et=j==null?void 0:j.settings)==null?void 0:et.federated;return _e==null?void 0:_e.master}getConfig(j=this.blocklet.getBlocklet()){var et;const _e=(et=j==null?void 0:j.settings)==null?void 0:et.federated;return _e==null?void 0:_e.config}getFederatedEnabled(j=this.blocklet.getBlocklet()){const _e=this.getConfig(j);return(_e==null?void 0:_e.status)==="approved"}getSourceAppPid(j=this.blocklet.getBlocklet()){const _e=this.getMaster(j);return _e==null?void 0:_e.appPid}getFederatedApp(j=this.blocklet.getBlocklet()){const _e=this.getMaster(j);return isEmpty$1(_e)?null:{appId:_e.appId,appName:_e.appName,appDescription:_e.appDescription,appLogo:_e.appLogo,appPid:_e.appPid,appUrl:_e.appUrl,version:_e.version,sourceAppPid:_e.appPid,provider:"wallet"}}getCurrentApp(j=this.blocklet.getBlocklet()){if(j)return{appId:j.appId,appName:j.appName,appDescription:j.appDescription,appLogo:j.appLogo,appPid:j.appPid,appUrl:j.appUrl,version:j.version,sourceAppPid:null,provider:"wallet"};if(window.env){const _e=window.env;return{appId:_e.appId,appName:_e.appName,appDescription:_e.appDescription,appUrl:_e.baseUrl,sourceAppPid:null,provider:"wallet",type:"server"}}return null}getApps(j=this.blocklet.getBlocklet()){const _e=[],et=this.getFederatedApp(j),tt=this.getCurrentApp(j),nt=this.getFederatedEnabled(j);return tt&&_e.push(tt),et&&(et==null?void 0:et.appId)!==(tt==null?void 0:tt.appId)&&nt&&_e.push(et),_e.reverse()}async getBlockletData(j,_e=!1){if(!_e&&this.blockletDataCache[j])return this.blockletDataCache[j];try{const et=new URL("__blocklet__.js",j);et.searchParams.set("type","json");const nt=await(await fetch(et.href)).json();return this.blockletDataCache[j]=nt,nt}catch(et){return console.error(`Failed to get blocklet data: ${j}`,et),null}}}const version$3="1.16.42",sleep$2=(a=0)=>new Promise(j=>{setTimeout(()=>{j()},a)}),getBearerToken=a=>`Bearer ${encodeURIComponent(a)}`,visitorIdKey="__visitor_id",getVisitorId=()=>localStorage.getItem(visitorIdKey),verifyResponse=(a,j)=>{if(isObject$b(a.data)&&a.status>=200&&a.status<300&&window.blocklet&&window.blocklet.appId&&window.blocklet.appPk){if(!a.data.$signature)throw j(),new Error("Invalid response");const{appId:_e,appPk:et}=window.blocklet;if(fromPublicKey_1(et,lib$3.toTypeInfo(_e)).verify(Dt(omit$1(a.data,["$signature"])),a.data.$signature)===!1)throw j(),new Error("Invalid response")}return a};function getCSRFToken(){return api$2.get("x-csrf-token")}async function sleepForLoading(a,j=300){a.metaData.endTime=+new Date;const{startTime:_e,endTime:et}=a.metaData,tt=et-_e;tt<j&&await sleep$2(j-tt),delete a.metaData}const createAxios$1=(a,j)=>{const _e={...a==null?void 0:a.headers,"x-blocklet-js-sdk-version":version$3},et=new ComponentService,tt=axios$4.create({...a,headers:_e});return j!=null&&j.lazy&&(tt.interceptors.request.use(nt=>(nt.metaData={startTime:+new Date},nt),nt=>Promise.reject(nt)),tt.interceptors.response.use(async nt=>(nt.config&&await sleepForLoading(nt.config,j==null?void 0:j.lazyTime),nt),async nt=>(nt.response&&await sleepForLoading(nt.response.config,j==null?void 0:j.lazyTime),Promise.reject(nt)))),tt.interceptors.request.use(nt=>{var ot,ut;const rt=(j==null?void 0:j.componentDid)??((ut=(ot=window.blocklet)==null?void 0:ot.componentId)==null?void 0:ut.split("/").pop());nt.baseURL=nt.baseURL||et.getComponentMountPoint(rt),nt.timeout=nt.timeout||20*1e3,nt.headers["x-csrf-token"]=getCSRFToken();const it=getVisitorId();return[void 0,null].includes(it)||(nt.headers["x-blocklet-visitor-id"]=it),nt},nt=>Promise.reject(nt)),tt};async function renewRefreshToken$1(a){if(!a)throw new Error("Refresh token not found");const j=createAxios$1({baseURL:constant$3.WELLKNOWN_SERVICE_PATH_PREFIX,timeout:10*1e3,secure:!0,headers:{authorization:getBearerToken(a)}}),{data:_e}=await j.post("/api/did/refreshSession");return _e}function createRequest$1({getSessionToken:a,setSessionToken:j,removeSessionToken:_e,getRefreshToken:et,setRefreshToken:tt,removeRefreshToken:nt,onRefreshTokenError:rt,onRefreshTokenSuccess:it},ot,ut){let st=null;const ct=createAxios$1({timeout:30*1e3,...ot},ut);return ct.interceptors.request.use(async ft=>{if(!api$2.get(constant$3.SESSION_TOKEN_STORAGE_KEY)){const pt=a(ft);pt&&(ft.headers.authorization=getBearerToken(pt))}return st&&await st,ft},ft=>Promise.reject(ft)),ct.interceptors.response.use(ft=>{var pt;return(pt=ft.config)!=null&&pt.secure?verifyResponse(ft,()=>{_e(),nt()}):ft},async ft=>{var yt;const pt=ft.config;if(pt&&(pt.headers=pt!=null&&pt.headers?{...pt.headers}:{},((yt=ft==null?void 0:ft.response)==null?void 0:yt.status)===401&&!pt._retry)){pt._retry=!0;try{st||(st=renewRefreshToken$1(et()));const mt=await st;return j(mt.nextToken),tt(mt.nextRefreshToken),typeof it=="function"&&it(mt),ct(pt)}catch(mt){return _e(),nt(),typeof rt=="function"&&rt(mt),Promise.reject(ft)}finally{st=null}}return Promise.reject(ft)}),ct}var __defProp$5=Object.defineProperty,__defNormalProp$5=(a,j,_e)=>j in a?__defProp$5(a,j,{enumerable:!0,configurable:!0,writable:!0,value:_e}):a[j]=_e,__publicField=(a,j,_e)=>(__defNormalProp$5(a,typeof j!="symbol"?j+"":j,_e),_e);class BlockletSDK{constructor(){__publicField(this,"api"),__publicField(this,"user"),__publicField(this,"userSession"),__publicField(this,"token"),__publicField(this,"blocklet"),__publicField(this,"federated");const j=new TokenService,_e=createRequest$1({getSessionToken:j.getSessionToken,setSessionToken:j.setSessionToken,removeSessionToken:j.removeSessionToken,getRefreshToken:j.getRefreshToken,setRefreshToken:j.setRefreshToken,removeRefreshToken:j.removeRefreshToken,onRefreshTokenError:()=>{console.error("Failed to refresh token")},onRefreshTokenSuccess:()=>{}},{baseURL:constant$3.WELLKNOWN_SERVICE_PATH_PREFIX}),et=new BlockletService;this.user=new AuthService({api:_e}),this.federated=new FederatedService({api:_e,blocklet:et}),this.userSession=new UserSessionService({api:_e,blocklet:et}),this.token=j,this.blocklet=et,this.api=_e}}function createAxios$2(a={},j={}){const _e=new TokenService;return createRequest$1({getSessionToken:_e.getSessionToken,setSessionToken:_e.setSessionToken,removeSessionToken:_e.removeSessionToken,getRefreshToken:_e.getRefreshToken,setRefreshToken:_e.setRefreshToken,removeRefreshToken:_e.removeRefreshToken,onRefreshTokenError:()=>{console.error("Failed to refresh token")},onRefreshTokenSuccess:()=>{}},a,j)}const getBlockletSDK=(()=>{let a;return()=>(a||(a=new BlockletSDK),a)})();class CustomError extends Error{}function getSafeUrl(a,{throwOnError:j=!0,returnRaw:_e=!1,allowProtocols:et=["https:","http:"],allowDomains:tt=void 0}={}){var nt;tt===void 0&&(tt=((nt=window.blocklet)==null?void 0:nt.domainAliases)||[],tt.push(window.location.href));try{let rt;a.startsWith("/")?rt=window.location.origin:a.startsWith("./")&&(rt=window.location.href);const it=new URL(a,rt),ot=tt&&tt.map(ut=>{try{return new URL(ut).hostname}catch{return new URL(`https://${ut}`).hostname}});if(et!==null&&!et.includes(it.protocol)){if(console.error(`Invalid protocol: ${it.protocol}`),j)throw new CustomError(`Invalid protocol: ${it.protocol}`);return null}if(ot!==null&&!ot.includes(it.hostname)){if(console.error(`Invalid host: ${it.hostname}`),j)throw new CustomError(`Invalid host: ${it.hostname}`);return null}return _e?a:it.href}catch(rt){if(rt instanceof CustomError){if(j)throw rt;return null}if(console.error(`Failed to convert url: ${a}`),j)throw new Error(`Failed to convert url: ${a}`);return null}}var browser$6={exports:{}},ms$1,hasRequiredMs;function requireMs(){if(hasRequiredMs)return ms$1;hasRequiredMs=1;var a=1e3,j=a*60,_e=j*60,et=_e*24,tt=et*7,nt=et*365.25;ms$1=function(st,ct){ct=ct||{};var ft=typeof st;if(ft==="string"&&st.length>0)return rt(st);if(ft==="number"&&isFinite(st))return ct.long?ot(st):it(st);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(st))};function rt(st){if(st=String(st),!(st.length>100)){var ct=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(st);if(ct){var ft=parseFloat(ct[1]),pt=(ct[2]||"ms").toLowerCase();switch(pt){case"years":case"year":case"yrs":case"yr":case"y":return ft*nt;case"weeks":case"week":case"w":return ft*tt;case"days":case"day":case"d":return ft*et;case"hours":case"hour":case"hrs":case"hr":case"h":return ft*_e;case"minutes":case"minute":case"mins":case"min":case"m":return ft*j;case"seconds":case"second":case"secs":case"sec":case"s":return ft*a;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return ft;default:return}}}}function it(st){var ct=Math.abs(st);return ct>=et?Math.round(st/et)+"d":ct>=_e?Math.round(st/_e)+"h":ct>=j?Math.round(st/j)+"m":ct>=a?Math.round(st/a)+"s":st+"ms"}function ot(st){var ct=Math.abs(st);return ct>=et?ut(st,ct,et,"day"):ct>=_e?ut(st,ct,_e,"hour"):ct>=j?ut(st,ct,j,"minute"):ct>=a?ut(st,ct,a,"second"):st+" ms"}function ut(st,ct,ft,pt){var yt=ct>=ft*1.5;return Math.round(st/ft)+" "+pt+(yt?"s":"")}return ms$1}function setup(a){_e.debug=_e,_e.default=_e,_e.coerce=ot,_e.disable=rt,_e.enable=tt,_e.enabled=it,_e.humanize=requireMs(),_e.destroy=ut,Object.keys(a).forEach(st=>{_e[st]=a[st]}),_e.names=[],_e.skips=[],_e.formatters={};function j(st){let ct=0;for(let ft=0;ft<st.length;ft++)ct=(ct<<5)-ct+st.charCodeAt(ft),ct|=0;return _e.colors[Math.abs(ct)%_e.colors.length]}_e.selectColor=j;function _e(st){let ct,ft=null,pt,yt;function mt(...bt){if(!mt.enabled)return;const xt=mt,$t=Number(new Date),kt=$t-(ct||$t);xt.diff=kt,xt.prev=ct,xt.curr=$t,ct=$t,bt[0]=_e.coerce(bt[0]),typeof bt[0]!="string"&&bt.unshift("%O");let Pt=0;bt[0]=bt[0].replace(/%([a-zA-Z%])/g,(Ot,Ft)=>{if(Ot==="%%")return"%";Pt++;const Vt=_e.formatters[Ft];if(typeof Vt=="function"){const Zt=bt[Pt];Ot=Vt.call(xt,Zt),bt.splice(Pt,1),Pt--}return Ot}),_e.formatArgs.call(xt,bt),(xt.log||_e.log).apply(xt,bt)}return mt.namespace=st,mt.useColors=_e.useColors(),mt.color=_e.selectColor(st),mt.extend=et,mt.destroy=_e.destroy,Object.defineProperty(mt,"enabled",{enumerable:!0,configurable:!1,get:()=>ft!==null?ft:(pt!==_e.namespaces&&(pt=_e.namespaces,yt=_e.enabled(st)),yt),set:bt=>{ft=bt}}),typeof _e.init=="function"&&_e.init(mt),mt}function et(st,ct){const ft=_e(this.namespace+(typeof ct>"u"?":":ct)+st);return ft.log=this.log,ft}function tt(st){_e.save(st),_e.namespaces=st,_e.names=[],_e.skips=[];const ct=(typeof st=="string"?st:"").trim().replace(" ",",").split(",").filter(Boolean);for(const ft of ct)ft[0]==="-"?_e.skips.push(ft.slice(1)):_e.names.push(ft)}function nt(st,ct){let ft=0,pt=0,yt=-1,mt=0;for(;ft<st.length;)if(pt<ct.length&&(ct[pt]===st[ft]||ct[pt]==="*"))ct[pt]==="*"?(yt=pt,mt=ft,pt++):(ft++,pt++);else if(yt!==-1)pt=yt+1,mt++,ft=mt;else return!1;for(;pt<ct.length&&ct[pt]==="*";)pt++;return pt===ct.length}function rt(){const st=[..._e.names,..._e.skips.map(ct=>"-"+ct)].join(",");return _e.enable(""),st}function it(st){for(const ct of _e.skips)if(nt(st,ct))return!1;for(const ct of _e.names)if(nt(st,ct))return!0;return!1}function ot(st){return st instanceof Error?st.stack||st.message:st}function ut(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")}return _e.enable(_e.load()),_e}var common=setup;(function(a,j){var _e={};j.formatArgs=tt,j.save=nt,j.load=rt,j.useColors=et,j.storage=it(),j.destroy=(()=>{let ut=!1;return()=>{ut||(ut=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),j.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"];function et(){if(typeof window<"u"&&window.process&&(window.process.type==="renderer"||window.process.__nwjs))return!0;if(typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;let ut;return typeof document<"u"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window<"u"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator<"u"&&navigator.userAgent&&(ut=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(ut[1],10)>=31||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}function tt(ut){if(ut[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+ut[0]+(this.useColors?"%c ":" ")+"+"+a.exports.humanize(this.diff),!this.useColors)return;const st="color: "+this.color;ut.splice(1,0,st,"color: inherit");let ct=0,ft=0;ut[0].replace(/%[a-zA-Z%]/g,pt=>{pt!=="%%"&&(ct++,pt==="%c"&&(ft=ct))}),ut.splice(ft,0,st)}j.log=console.debug||console.log||(()=>{});function nt(ut){try{ut?j.storage.setItem("debug",ut):j.storage.removeItem("debug")}catch{}}function rt(){let ut;try{ut=j.storage.getItem("debug")}catch{}return!ut&&typeof process$1$1<"u"&&"env"in process$1$1&&(ut=_e.DEBUG),ut}function it(){try{return localStorage}catch{}}a.exports=common(j);const{formatters:ot}=a.exports;ot.j=function(ut){try{return JSON.stringify(ut)}catch(st){return"[UnexpectedJSONParseError]: "+st.message}}})(browser$6,browser$6.exports);var browserExports=browser$6.exports;const Debug=getDefaultExportFromCjs$1(browserExports),createDebug=Debug,createLogger$1=a=>new Proxy(window.console,{get(j,_e){return(...et)=>{try{return["log","debug","info","warn","error"].includes(_e)?j[_e](a,...et):j[_e]instanceof Function?j[_e](...et):j[_e]}catch(tt){console.error(`Logger error in ${a}:`,tt);return}}}}),name="@arcblock/did-connect",version$2="2.13.11",description="Client side library to work with DID Connect by ArcBlock.",keywords=["react","arcblock","component"],author="wangshijun<wangshijun2010@gmail.com>",homepage="https://github.com/ArcBlock/ux#readme",license="Apache-2.0",main="lib/index.js",module$1="lib/index.js",repository={type:"git",url:"git+https://github.com/ArcBlock/ux.git"},scripts={lint:"eslint src tests --ext js --ext jsx","lint:fix":"npm run lint -- --fix",build:"babel --config-file ./babel.config.es.js src --out-dir lib --copy-files --no-copy-ignored",autoexports:"node tools/auto-exports.js",watch:"babel --config-file ./babel.config.es.js src --out-dir lib -w --copy-files --no-copy-ignored",precommit:"CI=1 npm run lint",prepush:"CI=1 npm run lint",prepublish:"npm run build",test:"node tools/jest.js",coverage:"npm run test -- --coverage"},bugs={url:"https://github.com/ArcBlock/ux/issues"},dependencies={"@arcblock/bridge":"^2.13.11","@arcblock/did":"^1.20.1","@arcblock/icons":"^2.13.11","@arcblock/react-hooks":"^2.13.11","@arcblock/ws":"^1.20.1","@fontsource/lexend":"^5.1.1","@iconify-icons/logos":"^1.2.36","@iconify-icons/material-symbols":"^1.2.58","@iconify/react":"^5.2.0","@simplewebauthn/browser":"^13.0.0",ahooks:"^3.7.10",axios:"^1.7.5","base64-url":"^2.3.3",buffer:"^6.0.3","color-convert":"^3.0.1","core-js":"^3.25.5",eventemitter3:"^5.0.1",flat:"^5.0.2","js-cookie":"^2.2.1","jwt-decode":"^3.1.2",lodash:"^4.17.21","mdi-material-ui":"^7.5.0","p-queue":"^6.6.2","p-wait-for":"^5.0.2","path-to-regexp":"^1.8.0",semver:"^7.6.3",tweetnacl:"^1.0.3","tweetnacl-sealedbox-js":"^1.2.0",ufo:"^1.5.3"},peerDependencies={"@arcblock/ux":"^2.11.48","@blocklet/js-sdk":"^1.16.41","@emotion/react":"^11.10.4","@emotion/styled":"^11.10.4","@mui/material":"^5.15.0",react:"^18.2.0","react-dom":"^18.2.0"},publishConfig={access:"public"},devDependencies={"@babel/cli":"^7.19.3","@babel/core":"^7.19.3","@babel/preset-env":"^7.19.3","@babel/preset-react":"^7.18.6","eslint-plugin-react-hooks":"^4.6.0",glob:"^10.3.3",jest:"^29.7.0"},gitHead="32dc7f93255afb229ce70bc9a9777b378ae19c91",pkg={name,version:version$2,description,keywords,author,homepage,license,main,module:module$1,repository,scripts,bugs,dependencies,peerDependencies,publishConfig,devDependencies,gitHead},DEFAULT_TIMEOUT$1=5*60,DEFAULT_WINDOW_TIMEOUT=30*60,BLOCKLET_SERVICE_PATH_PREFIX="/.well-known/service",SESSION_TOKEN_STORAGE_KEY="login_token",REFRESH_TOKEN_STORAGE_KEY="refresh_token",RELAY_SOCKET_PREFIX="/.well-known/service",API_DID_PREFIX="/api/did",DID_CONNECT_URL_PARAMS_NAME="__did-connect__",BUSY_STATUS=["scanned","succeed","error","busy"],EXT_DOWNLOAD_URL={chrome:"https://chromewebstore.google.com/detail/did-wallet/ibjflpbmadchofnbpppegdbnifdgincp",edge:"https://microsoftedge.microsoft.com/addons/detail/did-wallet/hjgoblidjnnnamdkinbichnfbmghmafd"},SMALL_WIDTH=420,MEDIUM_WIDTH=576,CHECK_STATUS_INTERVAL=2*1e3,VERIFY_CODE_LENGTH$1=6;class NotOpenError extends Error{constructor(){super("Failed to open popup")}}const providerName="wallet_url",getWebWalletUrl$1=()=>{var a,j;return window.localStorage.getItem(providerName)||((a=window.env)==null?void 0:a.webWalletUrl)||((j=window.blocklet)==null?void 0:j.webWalletUrl)||"https://web.abtwallet.io/"},checkSameProtocol=a=>{const{protocol:j}=window.location;let _e="";try{_e=new URL(a).protocol}catch{_e=""}return j===_e},{version:version$1}=pkg,debug$4=createDebug("did-connect"),logger$2=createLogger$1("did-connect");function unescape$1(a){return(a+"===".slice((a.length+3)%4)).replace(/-/g,"+").replace(/_/g,"/")}function escape$2(a){return a.replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,"")}const decodeConnectUrl=a=>window.atob(unescape$1(a)),parseTokenFromConnectUrl=a=>{const j=new URL(a),_e=decodeURIComponent(j.searchParams.get("url"));return new URL(_e).searchParams.get("_t_")},getAppId$1=(a,j)=>{var et,tt,nt;let _e=j==null?void 0:j.publisher;if(!_e){if(a!=null&&a.agentDid)return a.agentDid;_e=a==null?void 0:a.publisher}return _e?_e.replace("did:abt:",""):((et=globalThis.blocklet)==null?void 0:et.appPid)||((tt=globalThis.blocklet)==null?void 0:tt.appId)||((nt=globalThis.env)==null?void 0:nt.appId)||""},getConnectedInfo=a=>{var _e;const j={connected_did:a.did||"",connected_pk:a.pk||"",connected_app:getAppId$1(a.appInfo,a.memberAppInfo)};return(_e=a==null?void 0:a.connectedWallet)!=null&&_e.os&&(j.connected_wallet_os=a.connectedWallet.os),j},updateConnectedInfo=(a,j=!1)=>{if(!a)return;j||(a=getConnectedInfo(a));const _e=getCookieOptions({expireInDays:7,returnDomain:!1});!isNil(a.connected_did)&&!isNil(a.connected_pk)&&lib$3.isValid(a.connected_did)&&lib$3.isFromPublicKey(a.connected_did,a.connected_pk)&&(Cookies.set("connected_did",a.connected_did,_e),Cookies.set("connected_pk",a.connected_pk,_e)),!isNil(a.connected_app)&&lib$3.isValid(a.connected_app)&&Cookies.set("connected_app",a.connected_app,_e),a.connected_wallet_os&&Cookies.set("connected_wallet_os",a.connected_wallet_os,_e)},encodeKey=a=>escape$2(Buffer$1$1.from(a).toString("base64")),decodeKey=a=>Uint8Array.from(Buffer$1$1.from(unescape$1(a),"base64")),decrypt$1=(a,j,_e)=>{const et=SealedBox.open(Uint8Array.from(Buffer$1$1.from(a,"base64")),decodeKey(j),decodeKey(_e));return JSON.parse(Buffer$1$1.from(et).toString("utf8"))},encrypt=(a,j)=>Buffer$1$1.from(SealedBox.seal(Uint8Array.from(Buffer$1$1.from(a)),decodeKey(j))).toString("base64"),parseNextWorkflow=(a,j="_t_")=>{const _e=new URL(a),et={baseUrl:_e.origin,prefix:_e.pathname.replace(/\/auth$/,""),token:_e.searchParams.get(j)||""};if(!et.baseUrl)throw new Error("Invalid next workflow: origin empty");if(!et.token)throw new Error("Invalid next workflow: token not found");return et},getApiErrorMessage=(a,j)=>{var tt,nt;let _e=a.message;const{response:et}=a;return et&&(_e=((tt=et.data)==null?void 0:tt.error)||((nt=et.data)==null?void 0:nt.message)||et.data||j,_e=typeof _e=="object"?j:_e),_e},getWebAuthnErrorMessage=(a,j,_e)=>{if(!a)return a;if(!a.name)return getApiErrorMessage(a,j);switch(a.name){case"NotAllowedError":return _e?_e("webauthn.error.canceled"):"Authentication was canceled";case"SecurityError":return _e?_e("webauthn.error.security"):"A security error occurred during authentication";case"NotSupportedError":return _e?_e("webauthn.error.notSupported"):"This browser does not support passkey authentication";case"AbortError":return _e?_e("webauthn.error.aborted"):"Authentication was aborted";default:return console.warn("Unhandled WebAuthn error type:",a.name),getApiErrorMessage(a,j)}},createAxios=(a={},{lazy:j=!1,lazyTime:_e=300}={})=>{const et={...a.headers,"x-did-connect-version":version$1},tt=createAxios$2({...a,headers:et},{lazy:j,lazyTime:_e});return tt.interceptors.request.use(nt=>{const rt=getVisitorId$1();return rt&&(nt.headers["x-blocklet-visitor-id"]=rt),nt}),tt},sleep$1=(a=0)=>new Promise(j=>{setTimeout(()=>{j()},a)});function getBrowserLang(){if(typeof window>"u")return null;const a=window.navigator.languages&&window.navigator.languages[0]||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage||window.navigator.systemLanguage||null;return{"zh-CN":"zh","zh-TW":"zh",zh:"zh",en:"en"}[a]||"en"}function formatCacheTtl(a,j){return[void 0,null,""].includes(a)?j:a/86400}async function decodeUrlParams(){const a=window.location.href;try{const j=new URL(a),_e=j.searchParams.get(DID_CONNECT_URL_PARAMS_NAME);if(_e){j.searchParams.delete(DID_CONNECT_URL_PARAMS_NAME);const et=JSON.parse(Buffer$1$1.from(_e,"base64").toString("utf-8"));if(isString$1(et.forceConnected)&&isUndefined$1(et.sourceAppPid)){const nt=await new BlockletSDK().user.getUserPublicInfo({did:et.forceConnected});isUndefined$1(nt==null?void 0:nt.sourceAppPid)||(et.sourceAppPid=nt.sourceAppPid)}return{params:et,url:j.href}}}catch{console.warn("Failed to decode did-connect url params")}return{params:null,url:a}}const openPopup=(a,{width:j=680,height:_e=720,name:et="did-connect:popup",offsetX:tt=0,offsetY:nt=0}={})=>{const rt=getSafeUrl(a,{allowDomains:null}),it=window.screenX+(window.innerWidth-j)/2+tt,ot=window.screenY+(window.innerHeight-_e)/2+nt,ut=[`left=${it}`,`top=${ot}`,`width=${j}`,`height=${_e}`,"resizable=no","scrollbars=yes","status=yes","popup=yes"],st=window.open("",et,ut.join(","));if(st===null)throw new NotOpenError;return st.location.href=withQuery$1(rt,{opener:window.location.origin}),st},runPopup=a=>new Promise((j,_e)=>{let et,tt;const nt=({data:rt})=>{if(rt&&rt.type==="authorization_response"){if(rt!=null&&rt.error){console.error(rt.error);return}setTimeout(()=>{var it;(it=a.popup)==null||it.close(),clearTimeout(tt),clearInterval(et),window.removeEventListener("message",nt,!1),j(rt)},a.closeTimeout||0)}};tt=setTimeout(()=>{clearInterval(et),_e(new Error("Timeout")),window.removeEventListener("message",nt,!1)},(a.timeoutInSeconds||DEFAULT_WINDOW_TIMEOUT)*1e3),et=setInterval(()=>{var rt;(rt=a.popup)!=null&&rt.closed&&(clearInterval(et),clearTimeout(tt),window.removeEventListener("message",nt,!1),_e(new Error("Popup closed")))},1e3),window.addEventListener("message",nt)});function hexToRgba(a,j=1){const[_e,et,tt]=convert.hex.rgb(a);return`rgba(${_e}, ${et}, ${tt}, ${j})`}const BackdropWrap=reactExports.memo(reactExports.forwardRef((a,j)=>reactExports.createElement(Backdrop,{ref:j,style:{backgroundColor:"rgba(0, 0, 0, 0.6)",backdropFilter:"blur(3px)",touchAction:"none"},...a,key:"background"})));function withContainer(a){function j({popup:_e=!1,open:et=!1,hideCloseButton:tt=!1,...nt}){var Rt,wt;const[rt,it]=reactExports.useState("#fff"),ot=reactExports.useRef(null),ut=useBrowser(),st=useMediaQuery("(max-width:640px)");let ct="page";_e&&(ct="dialog",st&&ut.mobile.any&&(ct="drawer"));const{theme:ft}=useTheme$2(),pt=et,yt=((wt=(Rt=ft==null?void 0:ft.transitions)==null?void 0:Rt.duration)==null?void 0:wt.leavingScreen)||500,mt=useDebounce(pt,{wait:yt}),bt=useMemoizedFn(()=>{const Ct=new URLSearchParams(window.location.search);Ct.get("magicToken")&&Ct.delete("magicToken"),window.history.replaceState({},"",`${window.location.pathname}?${Ct.toString()}`)}),xt=(Ct,At)=>{["backdropClick","escapeKeyDown"].includes(At)||(bt(),nt==null||nt.onClose())},$t=mt||pt,kt=tt?Drawer:SwipeableDrawer,Pt=convert.hex.hsl(rt),[Nt,Ot,Ft]=Pt,Vt=[0,30,60,30,0,30,60,30],Zt=Math.max(...Vt),on=Math.min(...Vt);let Ht=!1;(Ft*(100+Zt)/100>100||Ft*(100+on)/100<0)&&(Ht=!0);const Tt=`linear-gradient(45deg, ${Vt.map(Ct=>{let At=Ft*(100+Ct)/100,vt=.6;return Ht?vt=.5*(100+Ct)/100:At=Ft*(100+Ct)/100,`hsla(${Nt}, ${Ot}%, ${At}%, ${vt})`}).join(", ")})`,ht=`linear-gradient(45deg, ${Vt.map(Ct=>{let At=Ft*(100+Ct)/100,vt=.2;return Ht?vt=.3*(100+Ct)/100:At=Ft*(100+Ct)/100,`hsla(${Nt}, ${Ot}%, ${At}%, ${vt})`}).join(", ")})`,Et={overflow:"visible","&::before, &::after":{content:'""',position:"absolute",top:"-3px",right:"-3px",bottom:"-3px",left:"-3px",background:Tt,backgroundSize:"300% 300%",backgroundRepeat:"no-repeat",animation:"glowRotate 10s linear infinite",borderRadius:"14px !important",zIndex:0},"&::after":{background:ht,filter:"blur(15px)"},"@keyframes glowRotate":{"0%":{backgroundPosition:"0 0"},"50%":{backgroundPosition:"100% 0"},"100%":{backgroundPosition:"0 0"}}},St=useMemoizedFn(()=>{bt(),nt==null||nt.onClose()});return ct==="page"?jsxRuntimeExports.jsx(Box,{className:"did-connect__container-page",sx:mergeSx(Et,{borderRadius:2,position:"relative",zIndex:1}),children:jsxRuntimeExports.jsx(Box,{sx:{border:`1px solid ${hexToRgba(rt,.1)}`,m:"-1px",position:"relative",borderRadius:"12px",zIndex:2,overflow:"hidden"},children:jsxRuntimeExports.jsx(a,{...nt,onClose:St,setColor:it,hideCloseButton:!0,mode:ct})})}):ct==="drawer"?jsxRuntimeExports.jsxs(kt,{className:"did-connect__container-drawer",disableSwipeToOpen:!0,open:pt,anchor:"bottom",drawerDragger:ot.current,onClose:xt,slots:{backdrop:BackdropWrap},PaperProps:{sx:{borderRadius:3,borderBottomLeftRadius:0,borderBottomRightRadius:0,p:"2px",animation:"glowBreathe 7s linear infinite",".did-connect__root":{backgroundColor:"transparent"},overflow:"hidden","@keyframes glowBreathe":{"0%, 100%":{boxShadow:`
410
410
  inset 0 0 7px ${hexToRgba(rt,.3)},
411
411
  inset 0 0 12px ${hexToRgba(rt,.3)}`},"50%":{boxShadow:`
412
412
  inset 0 0 18px ${hexToRgba(rt,.7)},
@@ -1269,7 +1269,7 @@ ${tt}-----END CERTIFICATE-----
1269
1269
  </filter>
1270
1270
  </defs>
1271
1271
  </g>`}return""};a.getTagSvg=kt;const Pt=(Ot=8)=>[...Array(Ot)].map(()=>Math.random().toString(36)[2]).join("");a.nanoid=Pt;const Nt=Ot=>{const Ft=Ot.id||(0,a.nanoid)(8),Vt=Ot.width||rt,Zt=Ot.height||it,on=Ot.color||tt.DEFAULT_COLORS[Ot.variant]||tt.DEFAULT_COLORS["app-passport"],Ht=(0,a.getLayoutSvg)(Ot.variant,Ft,on),It=(0,a.getHeaderSvg)(Ot.variant,Ft,Ot.header),Tt=(0,a.getIssuerSvg)(Ot.issuer,Ft,Ot.variant),dt=(0,a.getExtraSvg)(Ot.extra,Ft,Ot.variant),ht=(0,a.getBadgesSvg)(Ot.verifiable,Ot.chain,Ft),Et=Ot.variant!=="app-kyc"?(0,a.getDidSvg)(Ot.did,Ft):"",St=(0,a.getTagSvg)(Ot.tag,Ot.tagVariant,Ft);return Ht([It,Tt,dt,ht,Et,St].filter(Boolean).join(""),Vt,Zt)};a.getSvg=Nt})(lib$1);const getPassportColor$1=(a,j)=>{let _e;return a==="default"?_e=lib$1.DEFAULT_COLORS["app-passport"]:a==="auto"?_e=lib$1.getNftBGColorFromDid(j):_e=lib$1.getNftBGColor(a),_e},createPassportSvg$4=({issuer:a="",title:j="",issuerDid:_e="",issuerAvatarUrl:et="",ownerDid:tt="",ownerAvatarUrl:nt="",preferredColor:rt="default",revoked:it=!1,isDataUrl:ot=!1,width:ut="100%",height:st="100%"})=>{const ct=getPassportColor$1(rt,_e),ft=lib$1.getSvg({width:ut,height:st,tag:it?"revoked":"",tagVariant:it?"error":"info",color:ct,did:tt,variant:"app-passport",verifiable:!0,issuer:{name:a,icon:et},header:{name:j,icon:nt},extra:{key:"Exp",value:"2123-01-01"}});return ot?`data:image/svg+xml;utf8,${encodeURIComponent(ft)}`:ft},SvgGuest=a=>reactExports.createElement("svg",{width:420,height:475,viewBox:"0 0 420 475",fill:"none",xmlns:"http://www.w3.org/2000/svg",...a},reactExports.createElement("rect",{x:1,y:1,width:418,height:473,rx:19,fill:"#FBFBFB"}),reactExports.createElement("g",{clipPath:"url(#clip0_8323_86657)"},reactExports.createElement("rect",{opacity:.7,y:100,width:420,height:168,fill:"#DDDDDD"})),reactExports.createElement("circle",{cx:210,cy:248,r:60,fill:"#C4C5CA"}),reactExports.createElement("path",{d:"M181 284L188.2 276.8L195.4 284L202.6 273.2L209.8 284L217 273.2L224.2 284L231.4 276.8L238.6 284V240.8C238.6 224.893 225.707 212 209.8 212C193.893 212 181 224.893 181 240.8V284Z",fill:"#C4C5CA",stroke:"white",strokeWidth:5,strokeLinejoin:"round"}),reactExports.createElement("path",{d:"M200.797 240.812H204.397H200.797ZM222.397 240.812H225.997H222.397Z",fill:"#C4C5CA"}),reactExports.createElement("path",{d:"M200.797 240.812H204.397M222.397 240.812H225.997",stroke:"white",strokeWidth:5,strokeLinecap:"round",strokeLinejoin:"round"}),reactExports.createElement("path",{opacity:.7,d:"M24 29H213V69H24V29Z",fill:"#C4C5CA"}),reactExports.createElement("rect",{opacity:.42,x:313,y:24,width:83,height:14,fill:"#C4C5CA"}),reactExports.createElement("rect",{opacity:.7,x:291,y:50,width:105,height:26,fill:"#C4C5CA"}),reactExports.createElement("path",{d:"M177.388 388.4C175.655 388.4 174.068 388.187 172.628 387.76C171.215 387.333 169.948 386.707 168.828 385.88C167.735 385.053 166.748 384.053 165.868 382.88L169.628 378.6C170.935 380.413 172.228 381.653 173.508 382.32C174.815 382.96 176.228 383.28 177.748 383.28C178.575 383.28 179.308 383.173 179.948 382.96C180.615 382.72 181.135 382.387 181.508 381.96C181.881 381.533 182.068 381.027 182.068 380.44C182.068 380.013 181.975 379.627 181.788 379.28C181.601 378.907 181.335 378.587 180.988 378.32C180.641 378.027 180.228 377.773 179.748 377.56C179.268 377.32 178.735 377.12 178.148 376.96C177.561 376.773 176.921 376.627 176.228 376.52C174.735 376.173 173.428 375.76 172.308 375.28C171.188 374.773 170.255 374.16 169.508 373.44C168.761 372.693 168.201 371.853 167.828 370.92C167.481 369.987 167.308 368.933 167.308 367.76C167.308 366.56 167.575 365.453 168.108 364.44C168.641 363.4 169.375 362.507 170.308 361.76C171.268 361.013 172.361 360.44 173.588 360.04C174.841 359.64 176.161 359.44 177.548 359.44C179.255 359.44 180.748 359.64 182.028 360.04C183.308 360.413 184.415 360.96 185.348 361.68C186.308 362.4 187.108 363.28 187.748 364.32L183.948 368C183.388 367.253 182.775 366.627 182.108 366.12C181.468 365.613 180.761 365.24 179.988 365C179.241 364.733 178.468 364.6 177.668 364.6C176.788 364.6 176.028 364.72 175.388 364.96C174.748 365.173 174.241 365.493 173.868 365.92C173.521 366.347 173.348 366.867 173.348 367.48C173.348 367.96 173.468 368.387 173.708 368.76C173.948 369.133 174.295 369.467 174.748 369.76C175.201 370.027 175.748 370.267 176.388 370.48C177.028 370.693 177.735 370.88 178.508 371.04C179.975 371.333 181.295 371.72 182.468 372.2C183.641 372.68 184.641 373.267 185.468 373.96C186.321 374.627 186.975 375.427 187.428 376.36C187.881 377.267 188.108 378.293 188.108 379.44C188.108 381.333 187.655 382.947 186.748 384.28C185.841 385.613 184.588 386.64 182.988 387.36C181.388 388.053 179.521 388.4 177.388 388.4ZM194.782 388V361.48H200.462V388H194.782ZM190.822 371.92V366.84H204.782V371.92H190.822ZM216.209 388.4C214.449 388.4 212.863 387.92 211.449 386.96C210.036 386 208.916 384.693 208.089 383.04C207.263 381.387 206.849 379.493 206.849 377.36C206.849 375.227 207.263 373.347 208.089 371.72C208.943 370.067 210.089 368.773 211.529 367.84C212.969 366.88 214.609 366.4 216.449 366.4C217.489 366.4 218.436 366.56 219.289 366.88C220.169 367.173 220.929 367.587 221.569 368.12C222.236 368.653 222.796 369.267 223.249 369.96C223.703 370.653 224.023 371.4 224.209 372.2L223.009 372V366.84H228.649V388H222.929V382.92L224.209 382.8C223.996 383.547 223.649 384.253 223.169 384.92C222.689 385.587 222.089 386.187 221.369 386.72C220.676 387.227 219.889 387.64 219.009 387.96C218.129 388.253 217.196 388.4 216.209 388.4ZM217.769 383.48C218.836 383.48 219.769 383.227 220.569 382.72C221.369 382.213 221.983 381.507 222.409 380.6C222.863 379.667 223.089 378.587 223.089 377.36C223.089 376.16 222.863 375.107 222.409 374.2C221.983 373.293 221.369 372.587 220.569 372.08C219.769 371.547 218.836 371.28 217.769 371.28C216.729 371.28 215.809 371.547 215.009 372.08C214.236 372.587 213.623 373.293 213.169 374.2C212.716 375.107 212.489 376.16 212.489 377.36C212.489 378.587 212.716 379.667 213.169 380.6C213.623 381.507 214.236 382.213 215.009 382.72C215.809 383.227 216.729 383.48 217.769 383.48ZM236.835 397.2L241.475 386.32L241.555 389.6L231.235 366.84H237.675L242.835 379.04C243.048 379.493 243.248 380.027 243.435 380.64C243.648 381.227 243.822 381.8 243.955 382.36L242.995 382.76C243.155 382.307 243.342 381.787 243.555 381.2C243.768 380.613 243.982 379.987 244.195 379.32L248.635 366.84H255.115L246.235 388L242.595 397.2H236.835ZM92.8005 438L103.76 410H109.12L120.04 438H113.88L108.24 422.92C108.08 422.493 107.88 421.947 107.64 421.28C107.427 420.613 107.2 419.907 106.96 419.16C106.72 418.413 106.494 417.707 106.28 417.04C106.067 416.347 105.907 415.773 105.8 415.32L106.88 415.28C106.72 415.893 106.534 416.533 106.32 417.2C106.134 417.84 105.934 418.507 105.72 419.2C105.507 419.867 105.28 420.52 105.04 421.16C104.8 421.8 104.574 422.427 104.36 423.04L98.7205 438H92.8005ZM97.8805 432.12L99.8405 427.28H112.68L114.68 432.12H97.8805ZM123.172 438V416.84H128.612L128.772 421.16L127.652 421.64C127.945 420.68 128.465 419.813 129.212 419.04C129.985 418.24 130.905 417.6 131.972 417.12C133.039 416.64 134.159 416.4 135.332 416.4C136.932 416.4 138.265 416.72 139.332 417.36C140.425 418 141.239 418.973 141.772 420.28C142.332 421.56 142.612 423.147 142.612 425.04V438H136.932V425.48C136.932 424.52 136.799 423.72 136.532 423.08C136.265 422.44 135.852 421.973 135.292 421.68C134.759 421.36 134.092 421.227 133.292 421.28C132.652 421.28 132.052 421.387 131.492 421.6C130.959 421.787 130.492 422.067 130.092 422.44C129.719 422.813 129.412 423.24 129.172 423.72C128.959 424.2 128.852 424.72 128.852 425.28V438H126.052C125.439 438 124.892 438 124.412 438C123.932 438 123.519 438 123.172 438ZM157.895 438.4C155.735 438.4 153.802 437.933 152.095 437C150.415 436.04 149.082 434.733 148.095 433.08C147.135 431.427 146.655 429.533 146.655 427.4C146.655 425.267 147.135 423.387 148.095 421.76C149.082 420.107 150.415 418.8 152.095 417.84C153.802 416.88 155.735 416.4 157.895 416.4C160.028 416.4 161.935 416.88 163.615 417.84C165.322 418.8 166.655 420.107 167.615 421.76C168.575 423.387 169.055 425.267 169.055 427.4C169.055 429.533 168.575 431.427 167.615 433.08C166.655 434.733 165.322 436.04 163.615 437C161.935 437.933 160.028 438.4 157.895 438.4ZM157.895 433.44C158.935 433.44 159.868 433.187 160.695 432.68C161.522 432.147 162.162 431.427 162.615 430.52C163.095 429.587 163.335 428.547 163.335 427.4C163.335 426.227 163.095 425.187 162.615 424.28C162.162 423.347 161.522 422.627 160.695 422.12C159.868 421.587 158.935 421.32 157.895 421.32C156.828 421.32 155.882 421.587 155.055 422.12C154.228 422.653 153.575 423.373 153.095 424.28C152.615 425.187 152.388 426.227 152.415 427.4C152.388 428.547 152.615 429.587 153.095 430.52C153.575 431.427 154.228 432.147 155.055 432.68C155.882 433.187 156.828 433.44 157.895 433.44ZM173.328 438V416.84H178.768L178.928 421.16L177.808 421.64C178.102 420.68 178.622 419.813 179.368 419.04C180.142 418.24 181.062 417.6 182.128 417.12C183.195 416.64 184.315 416.4 185.488 416.4C187.088 416.4 188.422 416.72 189.488 417.36C190.582 418 191.395 418.973 191.928 420.28C192.488 421.56 192.768 423.147 192.768 425.04V438H187.088V425.48C187.088 424.52 186.955 423.72 186.688 423.08C186.422 422.44 186.008 421.973 185.448 421.68C184.915 421.36 184.248 421.227 183.448 421.28C182.808 421.28 182.208 421.387 181.648 421.6C181.115 421.787 180.648 422.067 180.248 422.44C179.875 422.813 179.568 423.24 179.328 423.72C179.115 424.2 179.008 424.72 179.008 425.28V438H176.208C175.595 438 175.048 438 174.568 438C174.088 438 173.675 438 173.328 438ZM200.976 447.2L205.616 436.32L205.696 439.6L195.376 416.84H201.816L206.976 429.04C207.189 429.493 207.389 430.027 207.576 430.64C207.789 431.227 207.962 431.8 208.096 432.36L207.136 432.76C207.296 432.307 207.482 431.787 207.696 431.2C207.909 430.613 208.122 429.987 208.336 429.32L212.776 416.84H219.256L210.376 438L206.736 447.2H200.976ZM222.273 438V416.84H227.753L227.873 420.88L227.033 421.04C227.326 420.347 227.713 419.72 228.193 419.16C228.673 418.6 229.233 418.12 229.873 417.72C230.539 417.32 231.233 417.013 231.953 416.8C232.673 416.56 233.393 416.44 234.113 416.44C235.206 416.44 236.193 416.613 237.073 416.96C237.953 417.307 238.699 417.853 239.313 418.6C239.926 419.32 240.406 420.28 240.753 421.48L239.873 421.4L240.153 420.76C240.499 420.12 240.939 419.547 241.473 419.04C242.006 418.507 242.606 418.053 243.273 417.68C243.939 417.28 244.633 416.973 245.353 416.76C246.073 416.547 246.779 416.44 247.473 416.44C249.126 416.44 250.499 416.773 251.593 417.44C252.686 418.08 253.499 419.053 254.033 420.36C254.593 421.667 254.873 423.267 254.873 425.16V438H249.193V425.56C249.193 424.6 249.059 423.813 248.793 423.2C248.526 422.587 248.139 422.133 247.633 421.84C247.126 421.52 246.473 421.36 245.673 421.36C245.059 421.36 244.486 421.467 243.953 421.68C243.446 421.867 242.993 422.147 242.593 422.52C242.219 422.867 241.926 423.28 241.713 423.76C241.499 424.24 241.393 424.773 241.393 425.36V438H235.713V425.52C235.713 424.64 235.566 423.893 235.273 423.28C235.006 422.64 234.619 422.16 234.113 421.84C233.606 421.52 232.979 421.36 232.233 421.36C231.619 421.36 231.046 421.467 230.513 421.68C230.006 421.867 229.566 422.147 229.193 422.52C228.819 422.867 228.513 423.28 228.273 423.76C228.059 424.24 227.953 424.76 227.953 425.32V438H222.273ZM270.121 438.4C267.961 438.4 266.028 437.933 264.321 437C262.641 436.04 261.308 434.733 260.321 433.08C259.361 431.427 258.881 429.533 258.881 427.4C258.881 425.267 259.361 423.387 260.321 421.76C261.308 420.107 262.641 418.8 264.321 417.84C266.028 416.88 267.961 416.4 270.121 416.4C272.255 416.4 274.161 416.88 275.841 417.84C277.548 418.8 278.881 420.107 279.841 421.76C280.801 423.387 281.281 425.267 281.281 427.4C281.281 429.533 280.801 431.427 279.841 433.08C278.881 434.733 277.548 436.04 275.841 437C274.161 437.933 272.255 438.4 270.121 438.4ZM270.121 433.44C271.161 433.44 272.095 433.187 272.921 432.68C273.748 432.147 274.388 431.427 274.841 430.52C275.321 429.587 275.561 428.547 275.561 427.4C275.561 426.227 275.321 425.187 274.841 424.28C274.388 423.347 273.748 422.627 272.921 422.12C272.095 421.587 271.161 421.32 270.121 421.32C269.055 421.32 268.108 421.587 267.281 422.12C266.455 422.653 265.801 423.373 265.321 424.28C264.841 425.187 264.615 426.227 264.641 427.4C264.615 428.547 264.841 429.587 265.321 430.52C265.801 431.427 266.455 432.147 267.281 432.68C268.108 433.187 269.055 433.44 270.121 433.44ZM292.835 438.4C291.288 438.4 289.955 438.067 288.835 437.4C287.742 436.707 286.888 435.733 286.275 434.48C285.688 433.2 285.395 431.667 285.395 429.88V416.84H291.075V428.96C291.075 429.92 291.235 430.76 291.555 431.48C291.875 432.173 292.328 432.707 292.915 433.08C293.502 433.453 294.222 433.64 295.075 433.64C295.688 433.64 296.262 433.547 296.795 433.36C297.328 433.147 297.782 432.853 298.155 432.48C298.528 432.107 298.822 431.667 299.035 431.16C299.248 430.653 299.355 430.107 299.355 429.52V416.84H305.035V438H299.635L299.435 433.64L300.475 433.16C300.155 434.147 299.622 435.04 298.875 435.84C298.128 436.64 297.235 437.267 296.195 437.72C295.155 438.173 294.035 438.4 292.835 438.4ZM317.87 438.4C315.897 438.4 314.137 438.08 312.59 437.44C311.07 436.773 309.843 435.867 308.91 434.72L312.43 431.68C313.257 432.56 314.177 433.2 315.19 433.6C316.203 433.973 317.217 434.16 318.23 434.16C318.63 434.16 318.99 434.12 319.31 434.04C319.657 433.933 319.95 433.8 320.19 433.64C320.43 433.453 320.603 433.24 320.71 433C320.843 432.733 320.91 432.453 320.91 432.16C320.91 431.573 320.67 431.107 320.19 430.76C319.923 430.627 319.51 430.467 318.95 430.28C318.39 430.067 317.67 429.84 316.79 429.6C315.43 429.253 314.27 428.853 313.31 428.4C312.377 427.92 311.63 427.387 311.07 426.8C310.59 426.24 310.217 425.64 309.95 425C309.71 424.333 309.59 423.6 309.59 422.8C309.59 421.84 309.803 420.973 310.23 420.2C310.657 419.4 311.243 418.72 311.99 418.16C312.763 417.6 313.643 417.173 314.63 416.88C315.617 416.56 316.657 416.4 317.75 416.4C318.843 416.4 319.91 416.533 320.95 416.8C321.99 417.067 322.95 417.453 323.83 417.96C324.737 418.44 325.523 419.013 326.19 419.68L323.15 423.04C322.67 422.587 322.123 422.173 321.51 421.8C320.923 421.427 320.31 421.133 319.67 420.92C319.03 420.707 318.457 420.6 317.95 420.6C317.497 420.6 317.083 420.64 316.71 420.72C316.363 420.8 316.07 420.92 315.83 421.08C315.59 421.24 315.403 421.453 315.27 421.72C315.163 421.96 315.11 422.227 315.11 422.52C315.11 422.813 315.177 423.093 315.31 423.36C315.47 423.627 315.683 423.853 315.95 424.04C316.243 424.2 316.67 424.387 317.23 424.6C317.817 424.813 318.603 425.053 319.59 425.32C320.87 425.667 321.95 426.053 322.83 426.48C323.737 426.907 324.457 427.4 324.99 427.96C325.443 428.44 325.777 428.987 325.99 429.6C326.203 430.213 326.31 430.893 326.31 431.64C326.31 432.947 325.937 434.12 325.19 435.16C324.47 436.173 323.47 436.973 322.19 437.56C320.91 438.12 319.47 438.4 317.87 438.4Z",fill:"#25292F"}),reactExports.createElement("rect",{x:1,y:1,width:418,height:558,rx:19,stroke:"#DDDDDD",strokeWidth:2}),reactExports.createElement("defs",null,reactExports.createElement("clipPath",{id:"clip0_8323_86657"},reactExports.createElement("rect",{width:420,height:168,fill:"white",transform:"translate(0 100)"})))),parseResponse=a=>a?typeof a=="string"?{sessionToken:a}:pick(a,["sessionToken","refreshToken","visitorId","destroySessionId"]):{},translations$b={zh:{switchPassport:"切换通行证",switchPassportFailed:"切换通行证失败",switchPassportSucceed:"切换通行证成功",selectedPassport:"请选择一个通行证",switch:"切换",cancel:"取消",currentRole:"当前角色:",passport:"通行证",getPassportFailed:"获取通行证失败"},en:{switchPassport:"Switch passport",switchPassportFailed:"Switch passport failed",switchPassportSucceed:"Switch passport succeed",selectedPassport:"Select a passport to switch",switch:"Switch",cancel:"Cancel",currentRole:"Current role: ",passport:"Passport",getPassportFailed:"Get passports failed"}};function PassportSwitcher({api:a,locale:j,switchState:_e,onSwitchPassport:et}){var it,ot;const tt=useMemoizedFn((ut,st={})=>translate(translations$b,ut,j,"en",st)),nt=useCreation(()=>_e.passports.filter(ut=>{var st;return ut.role!==((st=_e.currentUser)==null?void 0:st.role)}),[_e.passports,(it=_e.currentUser)==null?void 0:it.role]),rt=async()=>{try{const{data:ut}=await a.post("/switch",{passportId:_e.selectedPassport}),{sessionToken:st,refreshToken:ct}=parseResponse(ut);et({sessionToken:st,refreshToken:ct}),Toast$1.success(tt("switchPassportSucceed"))}catch(ut){Toast$1.error(ut.message||tt("switchPassportFailed"))}};return jsxRuntimeExports.jsxs(Confirm,{open:_e.open,title:tt("switchPassport"),onConfirm:rt,onCancel:_e.reset,confirmButton:{text:tt("switch"),props:{variant:"contained",color:"primary"}},cancelButton:{text:tt("cancel"),props:{color:"inherit"}},PaperProps:{style:{width:600}},children:[jsxRuntimeExports.jsxs(Box,{mb:2,children:[tt("currentRole"),(ot=_e.currentUser)==null?void 0:ot.role]}),jsxRuntimeExports.jsx(CardSelector,{width:160,height:240,cardSpace:24,list:[()=>jsxRuntimeExports.jsx(SvgGuest,{}),...nt.map(ut=>ut.display?{src:ut.display,name:ut.title}:()=>jsxRuntimeExports.jsx(Box,{sx:{width:"100%"},dangerouslySetInnerHTML:{__html:createPassportSvg$4(ut)}},ut.id))],onSelect:ut=>{_e.selectedPassport=ut>0?nt[ut-1].id:void 0},defaultIndex:0})]})}const OAuthContext=reactExports.createContext({}),{Provider:Provider$7,Consumer:OAuthConsumer}=OAuthContext,prefix$4=`${BLOCKLET_SERVICE_PATH_PREFIX$1}/api/oauth`,translations$a={zh:{bindOAuth:"绑定第三方登录",bind:"绑定",noneOAuth:"未配置第三方登录方式",bindOAuthSucceed:"绑定 {provider} 成功",unbindOAuthSucceed:"解绑 {provider} 成功",loginOAuthFailed:"登录 {provider} 失败",bindOAuthFailed:"绑定 {provider} 失败",unbindOAuthFailed:"绑定 {provider} 失败",loginRequired:"授权请求被拒绝",cancelAuth:"取消授权",noPassports:"没有可更换的通行证"},en:{bindOAuth:"Bind third party login",bind:"Bind ",noneOAuth:"Third party login is not configured",bindOAuthSucceed:"Bind {provider} succeed",unbindOAuthSucceed:"Unbind {provider} succeed",loginOAuthFailed:"Login {provider} failed",bindOAuthFailed:"Bind {provider} failed",unbindOAuthFailed:"Unbind {provider} failed",loginRequired:"You have declined the authentication request",cancelAuth:"Cancel authentication",noPassports:"No passports to switch"}};function OAuthProvider({children:a,locale:j,onBindOAuth:_e,onUnbindOAuth:et,onSwitchPassport:tt}){const nt=useReactive({baseUrl:"/",bindFnSession:void 0,bindAuthLoading:!1,unbindAuthLoading:!1}),rt=useReactive({open:!1,currentUser:null,passports:[],selectedPassport:void 0,reset(){rt.open=!1,rt.currentUser=null,rt.passports=[],rt.selectedPassport=void 0}}),it=useReactive({user:null,checking:!1,loading:!1,error:"",status:"",reset({status:Ot=""}={}){it.loading=!!Ot,it.checking=!1,it.error="",it.status=Ot}}),ot=useMemoizedFn((Ot,Ft={})=>translate(translations$a,Ot,j,"en",Ft)),ut=useCreation(()=>createAxios({baseURL:joinURL$2(nt.baseUrl,prefix$4)}),[nt.baseUrl,prefix$4]),st=useLatest(ut),ct=useMemoizedFn(async()=>{if(nt.baseUrl==="/")return window.blocklet;try{if(new URL(nt.baseUrl).host===window.location.host)return window.blocklet}catch{}return await getBlockletData(nt.baseUrl)}),ft=useMemoizedFn(async({sourceAppPid:Ot}={})=>{var on,Ht;const Ft=await ct(),Vt=getFederatedEnabled(Ft),Zt=getMaster(Ft);if(Vt&&(Zt!=null&&Zt.appPid)&&Ot===(Zt==null?void 0:Zt.appPid)){const It=await getBlockletData(Zt.appUrl);return((on=It==null?void 0:It.settings)==null?void 0:on.oauth)||{}}return((Ht=Ft==null?void 0:Ft.settings)==null?void 0:Ht.oauth)||{}}),pt=useMemoizedFn(async({sourceAppPid:Ot}={})=>{const Ft=await ft({sourceAppPid:Ot});return Object.entries(Ft).map(([Zt,on])=>({...on,provider:Zt})).filter(Zt=>Zt.enabled).sort((Zt,on)=>(Zt==null?void 0:Zt.order)!==void 0&&(on==null?void 0:on.order)!==void 0?Zt.order-on.order:(Zt==null?void 0:Zt.order)!==void 0?-1:1)}),yt=useMemoizedFn(async({provider:Ot}={})=>{var Vt;const Ft=openPopup(joinURL$2(nt.baseUrl,BLOCKLET_SERVICE_PATH_PREFIX$1,"/oauth/login",Ot),{name:"oauth-login:popup",offsetX:650,height:700,width:500});try{const Zt=await runPopup({popup:Ft,closeTimeout:0});return Zt!=null&&Zt.response?(Vt=Zt.response)==null?void 0:Vt.code:null}catch(Zt){throw(Zt==null?void 0:Zt.message)==="Popup closed"?new Error(ot("cancelAuth")):Zt}}),mt=async({session:Ot,oauthItem:Ft}={})=>{var Vt,Zt;nt.bindFnSession=Ot,nt.bindAuthLoading=!0;try{const on=await yt(Ft),Ht=(Zt=(Vt=nt.bindFnSession)==null?void 0:Vt.user)==null?void 0:Zt.sourceAppPid;await st.current.post("/bind",{locale:j,provider:Ft.provider,code:on,sourceAppPid:Ht}),Toast$1.success(ot("bindOAuthSucceed",{provider:LOGIN_PROVIDER_NAME[Ft.provider]})),_e(Ft)}catch(on){Toast$1.error(getApiErrorMessage(on,ot("bindOAuthFailed",{provider:LOGIN_PROVIDER_NAME[Ft.provider]})))}finally{nt.bindAuthLoading=!1}},bt=async({session:Ot,connectedAccount:Ft})=>{var Vt;nt.unbindAuthLoading=!0;try{const Zt=(Vt=Ot==null?void 0:Ot.user)==null?void 0:Vt.sourceAppPid;await st.current.post("/unbind",{locale:j,connectedAccount:omit$1(Ft,["showProvider"]),sourceAppPid:Zt}),Toast$1.success(ot("unbindOAuthSucceed",{provider:LOGIN_PROVIDER_NAME[Ft.showProvider||Ft.provider]})),et(Ft)}catch(Zt){Toast$1.error(getApiErrorMessage(Zt,ot("unbindOAuthFailed",{provider:LOGIN_PROVIDER_NAME[Ft.showProvider||Ft.provider]})))}finally{nt.unbindAuthLoading=!1}},xt=async(Ot={})=>{try{const{data:Ft}=await st.current.get("/passports");Ft.length?(rt.open=!0,rt.currentUser=Ot,rt.passports=Ft||[]):Toast$1.error(ot("noPassports"))}catch(Ft){Toast$1.error(Ft.message||ot("getPassportFailed"))}},$t=useMemoizedFn((...Ot)=>{rt.reset(),tt(...Ot)}),kt=Ot=>{nt.baseUrl=Ot||"/"},Pt=useMemoizedFn(async({provider:Ot}={},{action:Ft="login",...Vt}={})=>{var Ht,It,Tt;const Zt=nt.baseUrl;if((Vt==null?void 0:Vt.sourceAppPid)===((Ht=window.blocklet)==null?void 0:Ht.appPid))nt.baseUrl=((It=window.blocklet)==null?void 0:It.appUrl)||"/";else if(Vt!=null&&Vt.sourceAppPid){const dt=await ct(),ht=getFederatedEnabled(dt),Et=getMaster(dt);ht&&(Et!=null&&Et.appPid)&&(Vt==null?void 0:Vt.sourceAppPid)===(Et==null?void 0:Et.appPid)&&(nt.baseUrl=Et.appUrl)}const on=(Tt=window==null?void 0:window.blocklet)==null?void 0:Tt.componentId;try{const dt=await yt({provider:Ot});if(nt.baseUrl=Zt,await sleep$1(100),dt){const ht={...Vt,action:Ft,locale:j,code:dt,provider:Ot,componentId:on};isUndefined$1(ht.inviter)&&window.localStorage.getItem("inviter")&&(ht.inviter=window.localStorage.getItem("inviter"));const Et=["connect-to-did-space","connect-to-did-domain"].includes(ht.action)?"login":ht.action,{data:St}=await st.current.post("/login",{...ht,action:Et}),Rt=parseResponse(St);Rt.provider=Ot;const wt=window.blocklet.componentMountPoints.some(Ct=>Ct.did===DID_SPACES_DID);if(["login"].includes(ht.action)&&wt&&await new Space({token:Rt.sessionToken}).createForOAuthAccount(),["connect-to-did-space"].includes(ht.action)&&wt){const Ct=await new Space({token:Rt.sessionToken}).authorizeAppForOAuthAccount({extraParams:Vt});Rt.spaceGateway=Ct.spaceGateway}return Rt}return nt.baseUrl=Zt,null}catch(dt){const ht=getApiErrorMessage(dt,ot("loginOAuthFailed",{provider:LOGIN_PROVIDER_NAME[Ot]}));throw nt.baseUrl=Zt,new Error(ht)}}),Nt=useMemoizedFn(()=>{});return jsxRuntimeExports.jsxs(Provider$7,{value:{locale:j,getOAuthConfigs:ft,getOAuthConfigList:pt,bindOAuth:mt,unbindOAuth:bt,loginOAuth:Pt,logoutOAuth:Nt,switchOAuthPassport:xt,baseUrl:nt.baseUrl,setBaseUrl:kt,oauthState:it,unbindAuthLoading:nt.unbindAuthLoading,bindAuthLoading:nt.bindAuthLoading,t:ot},children:[a,jsxRuntimeExports.jsx(PassportSwitcher,{api:st,locale:j,switchState:rt,onSwitchPassport:$t})]})}function useOAuth(){const a=reactExports.useContext(OAuthContext);return omit$1(a,["locale","getToken"])}OAuthProvider.propTypes={children:PropTypes.node.isRequired,locale:PropTypes.string,onBindOAuth:PropTypes.func,onUnbindOAuth:PropTypes.func,onSwitchPassport:PropTypes.func};OAuthProvider.defaultProps={locale:"en",onBindOAuth:noop$5,onUnbindOAuth:noop$5,onSwitchPassport:noop$5};function baseFindIndex(a,j,_e,et){for(var tt=a.length,nt=_e+-1;++nt<tt;)if(j(a[nt],nt,a))return nt;return-1}function baseIsNaN(a){return a!==a}function strictIndexOf(a,j,_e){for(var et=_e-1,tt=a.length;++et<tt;)if(a[et]===j)return et;return-1}function baseIndexOf(a,j,_e){return j===j?strictIndexOf(a,j,_e):baseFindIndex(a,baseIsNaN,_e)}function charsEndIndex(a,j){for(var _e=a.length;_e--&&baseIndexOf(j,a[_e],0)>-1;);return _e}function charsStartIndex(a,j){for(var _e=-1,et=a.length;++_e<et&&baseIndexOf(j,a[_e],0)>-1;);return _e}function trim(a,j,_e){if(a=toString$d(a),a&&(_e||j===void 0))return baseTrim(a);if(!a||!(j=baseToString$2(j)))return a;var et=stringToArray(a),tt=stringToArray(j),nt=charsStartIndex(et,tt),rt=charsEndIndex(et,tt)+1;return castSlice(et,nt,rt).join("")}const trim$1=Object.freeze(Object.defineProperty({__proto__:null,default:trim},Symbol.toStringTag,{value:"Module"})),data$D={width:24,height:24,body:'<path fill="currentColor" d="M5 20q-.825 0-1.413-.588T3 18v-.8q0-.85.438-1.563T4.6 14.55q1.55-.775 3.15-1.163T11 13q.5 0 1 .038t1 .112q-.1 1.45.525 2.738T15.35 18v2H5Zm6-8q-1.65 0-2.825-1.175T7 8q0-1.65 1.175-2.825T11 4q1.65 0 2.825 1.175T15 8q0 1.65-1.175 2.825T11 12Zm7.5 2q.425 0 .713-.288T19.5 13q0-.425-.288-.713T18.5 12q-.425 0-.713.288T17.5 13q0 .425.288.713T18.5 14Zm.15 8.65l-1-1q-.05-.05-.15-.35v-4.45q-1.1-.325-1.8-1.238T15 13.5q0-1.45 1.025-2.475T18.5 10q1.45 0 2.475 1.025T22 13.5q0 1.125-.638 2t-1.612 1.25l.9.9q.15.15.15.35t-.15.35l-.8.8q-.15.15-.15.35t.15.35l.8.8q.15.15.15.35t-.15.35l-1.3 1.3q-.15.15-.35.15t-.35-.15Z"/>'},data$C={width:24,height:24,body:'<path fill="currentColor" d="M18 11h-2q-.425 0-.713-.288T15 10q0-.425.288-.713T16 9h2V7q0-.425.288-.713T19 6q.425 0 .713.288T20 7v2h2q.425 0 .713.288T23 10q0 .425-.288.713T22 11h-2v2q0 .425-.288.713T19 14q-.425 0-.713-.288T18 13v-2Zm-9 1q-1.65 0-2.825-1.175T5 8q0-1.65 1.175-2.825T9 4q1.65 0 2.825 1.175T13 8q0 1.65-1.175 2.825T9 12Zm-8 6v-.8q0-.85.438-1.563T2.6 14.55q1.55-.775 3.15-1.163T9 13q1.65 0 3.25.388t3.15 1.162q.725.375 1.163 1.088T17 17.2v.8q0 .825-.588 1.413T15 20H3q-.825 0-1.413-.588T1 18Z"/>'};function bufferToBase64URLString(a){const j=new Uint8Array(a);let _e="";for(const tt of j)_e+=String.fromCharCode(tt);return btoa(_e).replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,"")}function base64URLStringToBuffer(a){const j=a.replace(/-/g,"+").replace(/_/g,"/"),_e=(4-j.length%4)%4,et=j.padEnd(j.length+_e,"="),tt=atob(et),nt=new ArrayBuffer(tt.length),rt=new Uint8Array(nt);for(let it=0;it<tt.length;it++)rt[it]=tt.charCodeAt(it);return nt}function browserSupportsWebAuthn(){return _browserSupportsWebAuthnInternals.stubThis((globalThis==null?void 0:globalThis.PublicKeyCredential)!==void 0&&typeof globalThis.PublicKeyCredential=="function")}const _browserSupportsWebAuthnInternals={stubThis:a=>a};function toPublicKeyCredentialDescriptor(a){const{id:j}=a;return{...a,id:base64URLStringToBuffer(j),transports:a.transports}}function isValidDomain(a){return a==="localhost"||/^([a-z0-9]+(-[a-z0-9]+)*\.)+[a-z]{2,}$/i.test(a)}class WebAuthnError extends Error{constructor({message:j,code:_e,cause:et,name:tt}){super(j,{cause:et}),Object.defineProperty(this,"code",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.name=tt??et.name,this.code=_e}}function identifyRegistrationError({error:a,options:j}){var et,tt,nt;const{publicKey:_e}=j;if(!_e)throw Error("options was missing required publicKey property");if(a.name==="AbortError"){if(j.signal instanceof AbortSignal)return new WebAuthnError({message:"Registration ceremony was sent an abort signal",code:"ERROR_CEREMONY_ABORTED",cause:a})}else if(a.name==="ConstraintError"){if(((et=_e.authenticatorSelection)==null?void 0:et.requireResidentKey)===!0)return new WebAuthnError({message:"Discoverable credentials were required but no available authenticator supported it",code:"ERROR_AUTHENTICATOR_MISSING_DISCOVERABLE_CREDENTIAL_SUPPORT",cause:a});if(j.mediation==="conditional"&&((tt=_e.authenticatorSelection)==null?void 0:tt.userVerification)==="required")return new WebAuthnError({message:"User verification was required during automatic registration but it could not be performed",code:"ERROR_AUTO_REGISTER_USER_VERIFICATION_FAILURE",cause:a});if(((nt=_e.authenticatorSelection)==null?void 0:nt.userVerification)==="required")return new WebAuthnError({message:"User verification was required but no available authenticator supported it",code:"ERROR_AUTHENTICATOR_MISSING_USER_VERIFICATION_SUPPORT",cause:a})}else{if(a.name==="InvalidStateError")return new WebAuthnError({message:"The authenticator was previously registered",code:"ERROR_AUTHENTICATOR_PREVIOUSLY_REGISTERED",cause:a});if(a.name==="NotAllowedError")return new WebAuthnError({message:a.message,code:"ERROR_PASSTHROUGH_SEE_CAUSE_PROPERTY",cause:a});if(a.name==="NotSupportedError")return _e.pubKeyCredParams.filter(it=>it.type==="public-key").length===0?new WebAuthnError({message:'No entry in pubKeyCredParams was of type "public-key"',code:"ERROR_MALFORMED_PUBKEYCREDPARAMS",cause:a}):new WebAuthnError({message:"No available authenticator supported any of the specified pubKeyCredParams algorithms",code:"ERROR_AUTHENTICATOR_NO_SUPPORTED_PUBKEYCREDPARAMS_ALG",cause:a});if(a.name==="SecurityError"){const rt=globalThis.location.hostname;if(isValidDomain(rt)){if(_e.rp.id!==rt)return new WebAuthnError({message:`The RP ID "${_e.rp.id}" is invalid for this domain`,code:"ERROR_INVALID_RP_ID",cause:a})}else return new WebAuthnError({message:`${globalThis.location.hostname} is an invalid domain`,code:"ERROR_INVALID_DOMAIN",cause:a})}else if(a.name==="TypeError"){if(_e.user.id.byteLength<1||_e.user.id.byteLength>64)return new WebAuthnError({message:"User ID was not between 1 and 64 characters",code:"ERROR_INVALID_USER_ID_LENGTH",cause:a})}else if(a.name==="UnknownError")return new WebAuthnError({message:"The authenticator was unable to process the specified options, or could not create a new credential",code:"ERROR_AUTHENTICATOR_GENERAL_ERROR",cause:a})}return a}class BaseWebAuthnAbortService{constructor(){Object.defineProperty(this,"controller",{enumerable:!0,configurable:!0,writable:!0,value:void 0})}createNewAbortSignal(){if(this.controller){const _e=new Error("Cancelling existing WebAuthn API call for new one");_e.name="AbortError",this.controller.abort(_e)}const j=new AbortController;return this.controller=j,j.signal}cancelCeremony(){if(this.controller){const j=new Error("Manually cancelling existing WebAuthn API call");j.name="AbortError",this.controller.abort(j),this.controller=void 0}}}const WebAuthnAbortService=new BaseWebAuthnAbortService,attachments=["cross-platform","platform"];function toAuthenticatorAttachment(a){if(a&&!(attachments.indexOf(a)<0))return a}async function startRegistration(a){var yt;!a.optionsJSON&&a.challenge&&(console.warn("startRegistration() was not called correctly. It will try to continue with the provided options, but this call should be refactored to use the expected call structure instead. See https://simplewebauthn.dev/docs/packages/browser#typeerror-cannot-read-properties-of-undefined-reading-challenge for more information."),a={optionsJSON:a});const{optionsJSON:j,useAutoRegister:_e=!1}=a;if(!browserSupportsWebAuthn())throw new Error("WebAuthn is not supported in this browser");const et={...j,challenge:base64URLStringToBuffer(j.challenge),user:{...j.user,id:base64URLStringToBuffer(j.user.id)},excludeCredentials:(yt=j.excludeCredentials)==null?void 0:yt.map(toPublicKeyCredentialDescriptor)},tt={};_e&&(tt.mediation="conditional"),tt.publicKey=et,tt.signal=WebAuthnAbortService.createNewAbortSignal();let nt;try{nt=await navigator.credentials.create(tt)}catch(mt){throw identifyRegistrationError({error:mt,options:tt})}if(!nt)throw new Error("Registration was not completed");const{id:rt,rawId:it,response:ot,type:ut}=nt;let st;typeof ot.getTransports=="function"&&(st=ot.getTransports());let ct;if(typeof ot.getPublicKeyAlgorithm=="function")try{ct=ot.getPublicKeyAlgorithm()}catch(mt){warnOnBrokenImplementation("getPublicKeyAlgorithm()",mt)}let ft;if(typeof ot.getPublicKey=="function")try{const mt=ot.getPublicKey();mt!==null&&(ft=bufferToBase64URLString(mt))}catch(mt){warnOnBrokenImplementation("getPublicKey()",mt)}let pt;if(typeof ot.getAuthenticatorData=="function")try{pt=bufferToBase64URLString(ot.getAuthenticatorData())}catch(mt){warnOnBrokenImplementation("getAuthenticatorData()",mt)}return{id:rt,rawId:bufferToBase64URLString(it),response:{attestationObject:bufferToBase64URLString(ot.attestationObject),clientDataJSON:bufferToBase64URLString(ot.clientDataJSON),transports:st,publicKeyAlgorithm:ct,publicKey:ft,authenticatorData:pt},type:ut,clientExtensionResults:nt.getClientExtensionResults(),authenticatorAttachment:toAuthenticatorAttachment(nt.authenticatorAttachment)}}function warnOnBrokenImplementation(a,j){console.warn(`The browser extension that intercepted this WebAuthn API call incorrectly implemented ${a}. You should report this error to them.
1272
- `,j)}function browserSupportsWebAuthnAutofill(){if(!browserSupportsWebAuthn())return _browserSupportsWebAuthnAutofillInternals.stubThis(new Promise(j=>j(!1)));const a=globalThis.PublicKeyCredential;return(a==null?void 0:a.isConditionalMediationAvailable)===void 0?_browserSupportsWebAuthnAutofillInternals.stubThis(new Promise(j=>j(!1))):_browserSupportsWebAuthnAutofillInternals.stubThis(a.isConditionalMediationAvailable())}const _browserSupportsWebAuthnAutofillInternals={stubThis:a=>a};function identifyAuthenticationError({error:a,options:j}){const{publicKey:_e}=j;if(!_e)throw Error("options was missing required publicKey property");if(a.name==="AbortError"){if(j.signal instanceof AbortSignal)return new WebAuthnError({message:"Authentication ceremony was sent an abort signal",code:"ERROR_CEREMONY_ABORTED",cause:a})}else{if(a.name==="NotAllowedError")return new WebAuthnError({message:a.message,code:"ERROR_PASSTHROUGH_SEE_CAUSE_PROPERTY",cause:a});if(a.name==="SecurityError"){const et=globalThis.location.hostname;if(isValidDomain(et)){if(_e.rpId!==et)return new WebAuthnError({message:`The RP ID "${_e.rpId}" is invalid for this domain`,code:"ERROR_INVALID_RP_ID",cause:a})}else return new WebAuthnError({message:`${globalThis.location.hostname} is an invalid domain`,code:"ERROR_INVALID_DOMAIN",cause:a})}else if(a.name==="UnknownError")return new WebAuthnError({message:"The authenticator was unable to process the specified options, or could not create a new assertion signature",code:"ERROR_AUTHENTICATOR_GENERAL_ERROR",cause:a})}return a}async function startAuthentication(a){var pt,yt;!a.optionsJSON&&a.challenge&&(console.warn("startAuthentication() was not called correctly. It will try to continue with the provided options, but this call should be refactored to use the expected call structure instead. See https://simplewebauthn.dev/docs/packages/browser#typeerror-cannot-read-properties-of-undefined-reading-challenge for more information."),a={optionsJSON:a});const{optionsJSON:j,useBrowserAutofill:_e=!1,verifyBrowserAutofillInput:et=!0}=a;if(!browserSupportsWebAuthn())throw new Error("WebAuthn is not supported in this browser");let tt;((pt=j.allowCredentials)==null?void 0:pt.length)!==0&&(tt=(yt=j.allowCredentials)==null?void 0:yt.map(toPublicKeyCredentialDescriptor));const nt={...j,challenge:base64URLStringToBuffer(j.challenge),allowCredentials:tt},rt={};if(_e){if(!await browserSupportsWebAuthnAutofill())throw Error("Browser does not support WebAuthn autofill");if(document.querySelectorAll("input[autocomplete$='webauthn']").length<1&&et)throw Error('No <input> with "webauthn" as the only or last value in its `autocomplete` attribute was detected');rt.mediation="conditional",nt.allowCredentials=[]}rt.publicKey=nt,rt.signal=WebAuthnAbortService.createNewAbortSignal();let it;try{it=await navigator.credentials.get(rt)}catch(mt){throw identifyAuthenticationError({error:mt,options:rt})}if(!it)throw new Error("Authentication was not completed");const{id:ot,rawId:ut,response:st,type:ct}=it;let ft;return st.userHandle&&(ft=bufferToBase64URLString(st.userHandle)),{id:ot,rawId:bufferToBase64URLString(ut),response:{authenticatorData:bufferToBase64URLString(st.authenticatorData),clientDataJSON:bufferToBase64URLString(st.clientDataJSON),signature:bufferToBase64URLString(st.signature),userHandle:ft},type:ct,clientExtensionResults:it.getClientExtensionResults(),authenticatorAttachment:toAuthenticatorAttachment(it.authenticatorAttachment)}}const PasskeyContext=reactExports.createContext({}),{Provider:Provider$6,Consumer:PasskeyConsumer}=PasskeyContext,translations$9={zh:{cancel:"取消",usePasskey:"使用 Passkey",createPasskey:"新建 Passkey",creatingPasskey:"创建 Passkey...",connectPasskey:"绑定 Passkey",nonePasskey:"未配置 Passkey 方式",connectPasskeySucceed:"Passkey 绑定成功",disconnectPasskeySucceed:"Passkey 解绑成功",verifyPasskeyFailed:"Passkey 验证失败",connectPasskeyFailed:"Passkey 绑定失败",disconnectPasskeyFailed:"Passkey 解绑失败",createPasskeyDesc1:"Passkey 是一种密码替代品,使用指纹、面部识别、设备密码或 PIN 验证您的身份。",createPasskeyDesc2:"Passkey 可以用于登录,作为您的 DID Wallet 和 OAuth 凭证的简单且安全的替代方案。",emailPlaceholder:"请输入邮箱以作为备用",verifyButton:"验证邮箱",sendCodeButton:"获取验证码",codeSentMessage:"我们已向 {email} 发送验证码,验证码将在 30 分钟内有效,请检查您的邮箱或垃圾邮件文件夹。",codeSentSuccess:"验证码发送成功",noPassports:"没有可更换的通行证",cancelAuth:"取消授权"},en:{cancel:"Cancel",usePasskey:"Use Existing Passkey",createPasskey:"Create New Passkey",creatingPasskey:"Creating Passkey...",connectPasskey:"Connect Passkey",nonePasskey:"Passkey is not configured",connectPasskeySucceed:"Passkey add succeed",disconnectPasskeySucceed:"Passkey remove succeed",verifyPasskeyFailed:"Passkey verify failed",connectPasskeyFailed:"Passkey add failed",disconnectPasskeyFailed:"Passkey remove failed",createPasskeyDesc1:"Passkeys are a password replacement that validates your identity using touch, facial recognition, a device password, or a PIN.",createPasskeyDesc2:"Passkeys can be used for sign-in as a simple and secure alternative to your DID Wallet and OAuth credentials.",emailPlaceholder:"Enter your email address",verifyButton:"Verify Email",sendCodeButton:"Get Verify Code",codeSentMessage:"We just sent a verification code to {email}, the code will be valid for 30 minutes, please check your inbox or spam folder.",codeSentSuccess:"Verification code sent successfully",noPassports:"No passports to switch",cancelAuth:"Cancel authentication"}};function PasskeyProvider({children:a,locale:j,onAddPasskey:_e,onRemovePasskey:et,onSwitchPassport:tt}){var Ft,Vt,Zt,on,Ht;const nt=`${((Ft=window.env)==null?void 0:Ft.apiPrefix)||BLOCKLET_SERVICE_PATH_PREFIX$1}/api/passkey`,rt=useReactive({baseUrl:"/",session:void 0,connecting:!1,disconnecting:!1,targetAppPid:void 0}),it=useReactive({open:!1,currentUser:null,passports:[],selectedPassport:void 0,reset(){it.open=!1,it.currentUser=null,it.passports=[],it.selectedPassport=void 0}}),ot=useReactive({user:null,loading:!1,creating:!1,verifying:!1,creatingStatus:"",verifyingStatus:"",error:"",email:"",code:"",verified:!((on=(Zt=(Vt=window==null?void 0:window.blocklet)==null?void 0:Vt.settings)==null?void 0:Zt.kyc)!=null&&on.email),sent:!1,openDialog:!1,get status(){return this.creating||this.verifying?"scanned":this.creatingStatus==="succeed"||this.verifyingStatus==="succeed"?"succeed":this.creatingStatus==="error"||this.verifyingStatus==="error"?"error":""},reset(){ot.creating=!1,ot.verifying=!1,ot.creatingStatus="",ot.verifyingStatus="",ot.error=""}}),ut=useMemoizedFn((It,Tt={})=>translate(translations$9,It,j,"en",Tt)),st=useCreation(()=>createAxios({baseURL:joinURL$2(rt.baseUrl,nt),sessionTokenKey:"__sst"}),[rt.baseUrl,nt]),ct=useMemoizedFn(async()=>{if(rt.baseUrl==="/")return window.blocklet;try{if(new URL(rt.baseUrl).host===window.location.host)return window.blocklet}catch{}return await getBlockletData(rt.baseUrl)}),ft=(Ht=window==null?void 0:window.blocklet)==null?void 0:Ht.componentId,pt=It=>{rt.baseUrl=It||"/"},yt=It=>{rt.targetAppPid=It},mt=useMemoizedFn(async It=>{const{data:Tt}=await st.get("/register",{params:It});console.warn("passkey.create.options",Tt);const dt=await startRegistration({optionsJSON:Tt,useAutoRegister:!1});console.warn("passkey.create.response",dt);const{data:ht}=await st.post("/register",dt,{params:{challenge:Tt.challenge}});if(console.warn("passkey.create.result",ht),!ht.verified)throw new Error(ut("createPasskeyFailed"));return ht}),bt=useMemoizedFn(async It=>{const{data:Tt}=await st.get("/auth",{params:It});console.warn("passkey.auth.options",Tt);const dt=await startAuthentication({optionsJSON:Tt});console.warn("passkey.auth.response",dt);const{data:ht}=await st.post("/auth",dt,{params:{challenge:Tt.challenge,targetAppPid:rt.targetAppPid}});if(console.warn("passkey.auth.result",ht),!ht.verified)throw new Error(ut("verifyPasskeyFailed"));return ht}),xt=async It=>{rt.connecting=!0;try{const Tt=await mt({...It,locale:j,componentId:ft});return Toast$1.success(ut("connectPasskeySucceed")),_e(Tt),Tt}catch(Tt){logger$2.error("Failed to connect passkey",Tt),Toast$1.error(getApiErrorMessage(Tt,ut("connectPasskeyFailed")))}finally{rt.connecting=!1}},$t=async({session:It,connectedAccount:Tt})=>{var dt;rt.session=It,rt.disconnecting=!0;try{const ht=await bt({action:"disconnect",locale:j,componentId:ft,sourceAppPid:(dt=It==null?void 0:It.user)==null?void 0:dt.sourceAppPid,credentialId:Tt.id});Toast$1.success(ut("disconnectPasskeySucceed")),et(ht)}catch(ht){logger$2.error("Failed to disconnect passkey",ht),Toast$1.error(getApiErrorMessage(ht,ut("disconnectPasskeyFailed")))}finally{rt.disconnecting=!1}},kt=async(It={})=>{try{const{data:Tt}=await st.get("/passports");Tt.length?(it.open=!0,it.currentUser=It,it.passports=Tt||[]):Toast$1.error(ut("noPassports"))}catch(Tt){Toast$1.error(Tt.message||ut("getPassportFailed"))}},Pt=useMemoizedFn((...It)=>{it.reset(),tt(...It)}),Nt=useMemoizedFn(async({action:It="login",...Tt}={})=>{var ht,Et,St;const dt=rt.baseUrl;if((Tt==null?void 0:Tt.sourceAppPid)===((ht=window.blocklet)==null?void 0:ht.appPid))rt.baseUrl=((Et=window.blocklet)==null?void 0:Et.appUrl)||"/";else if(Tt!=null&&Tt.sourceAppPid){const Rt=await ct(),wt=getFederatedEnabled(Rt),Ct=getMaster(Rt);wt&&(Ct!=null&&Ct.appPid)&&(Tt==null?void 0:Tt.sourceAppPid)===(Ct==null?void 0:Ct.appPid)&&(rt.baseUrl=Ct.appUrl)}try{const Rt={...Tt,action:It,locale:j,componentId:ft};isUndefined$1(Rt.inviter)&&window.localStorage.getItem("inviter")&&(Rt.inviter=window.localStorage.getItem("inviter"));const wt=parseResponse(await bt(Rt));if(wt.provider="passkey",Array.isArray((St=window.blocklet)==null?void 0:St.componentMountPoints)){const Ct=window.blocklet.componentMountPoints.some(At=>At.did===DID_SPACES_DID);if(["login"].includes(Rt.action)&&Ct&&await new Space({token:wt.sessionToken}).createForOAuthAccount(),["connect-to-did-space"].includes(Rt.action)&&Ct){const At=await new Space({token:wt.sessionToken}).authorizeAppForOAuthAccount({extraParams:Tt});wt.spaceGateway=At.spaceGateway}}return wt}catch(Rt){const wt=getApiErrorMessage(Rt,ut("verifyPasskeyFailed"));throw rt.baseUrl=dt,new Error(wt)}}),Ot=useMemoizedFn(()=>{});return jsxRuntimeExports.jsxs(Provider$6,{value:{api:st,locale:j,connectPasskey:xt,disconnectPasskey:$t,createPasskey:mt,verifyPasskey:bt,loginPasskey:Nt,logoutPasskey:Ot,switchPassport:kt,baseUrl:rt.baseUrl,setBaseUrl:pt,setTargetAppPid:yt,passkeyState:ot,disconnecting:rt.disconnecting,connecting:rt.connecting,t:ut},children:[a,jsxRuntimeExports.jsx(PassportSwitcher,{api:st,locale:j,switchState:it,onSwitchPassport:Pt})]})}function usePasskey(){return reactExports.useContext(PasskeyContext)}PasskeyProvider.propTypes={children:PropTypes.node.isRequired,locale:PropTypes.string,onAddPasskey:PropTypes.func,onRemovePasskey:PropTypes.func,onSwitchPassport:PropTypes.func};PasskeyProvider.defaultProps={locale:"en",onAddPasskey:noop$5,onRemovePasskey:noop$5,onSwitchPassport:noop$5};const noop=(...a)=>{};let minBrowserFontSize=-1;function detectMinimumFontSize(){const a=document.createElement("div");Object.assign(a.style,{fontSize:"1px",visibility:"hidden",position:"absolute"}),a.textContent="Test",document.body.appendChild(a);const j=parseFloat(getComputedStyle(a).fontSize);return document.body.removeChild(a),j}function Typography({children:a=null,minFontSize:j=12,fontSize:_e,sx:et,onShrink:tt=noop,...nt}){const rt=reactExports.useRef(null),it=reactExports.useRef(null),ot=useReactive({fontSize:_e,loading:!0}),ut=useSize(rt.current),st=useSize(it.current);return reactExports.useEffect(()=>{if(ot.loading)if(_e==="auto"){if(ut&&!ot.initialSize){const ft=getComputedStyle(rt.current).fontSize;ot.initialSize=Number(ft.replace("px","")),ot.fontSize=ot.initialSize}minBrowserFontSize<0&&(minBrowserFontSize=detectMinimumFontSize()),ot.fontSize<=minBrowserFontSize?(ot.loading=!1,tt==null||tt({fontSize:ot.fontSize,initialSize:ot.initialSize})):st&&ut&&(st.width<ut.width&&ot.fontSize>j?ot.fontSize--:(ot.loading=!1,tt==null||tt({fontSize:ot.fontSize,initialSize:ot.initialSize})))}else ot.loading=!1},[_e,ut==null?void 0:ut.width,st==null?void 0:st.width]),useCreation(()=>_e==="auto"?ot.loading:!1,[_e,ot.loading])?jsxRuntimeExports.jsxs(Box,{ref:it,flex:1,children:[jsxRuntimeExports.jsx(Typography$1,{...nt,sx:et,noWrap:!0,children:jsxRuntimeExports.jsx(Skeleton,{variant:"text",sx:{fontSize:"1rem"}})}),jsxRuntimeExports.jsx(Typography$1,{ref:rt,...nt,sx:{...et,...ot.fontSize?{fontSize:`${ot.fontSize}px !important`}:{},position:"fixed",top:-1e3,left:-1e3},noWrap:!0,children:a})]}):jsxRuntimeExports.jsx(Typography$1,{...nt,sx:{...et,...ot.fontSize?{fontSize:`${ot.fontSize}px !important`}:{}},children:a})}const VERIFY_CODE_LENGTH=6,PasskeyDialog=reactExports.forwardRef(({extraParams:a,createMode:j,action:_e,onSuccess:et,onError:tt},nt)=>{const{api:rt,locale:it,t:ot,loginPasskey:ut,logoutPasskey:st,passkeyState:ct,connectPasskey:ft}=usePasskey(),pt=j==="register",yt=useMemoizedFn(()=>{ct.openDialog=!0,ct.error="",ct.creatingStatus="",ct.verifyingStatus=""}),mt=useMemoizedFn(()=>{ct.openDialog=!1,ct.error="",ct.creatingStatus="",ct.verifyingStatus=""}),bt=useMemoizedFn(async Pt=>{var Nt;Pt.preventDefault(),ct.loading=!0;try{await rt.post(`../kyc/email/send?locale=${it}`,{email:ct.email}),ct.sent=!0,Toast$1.success(ot("codeSentSuccess"))}catch(Ot){Toast$1.error(Ot.message),(Nt=document.getElementById("email-input"))==null||Nt.focus()}finally{ct.loading=!1}}),xt=useMemoizedFn(async(Pt="")=>{try{ct.verifying=!0,ct.error="",Pt||(ct.verifyingStatus="");const Nt=await ut({...a,action:_e,credentialId:Pt}),Ot=getCookieOptions({expireInDays:7});Cookies.remove("connected_did",Ot),Cookies.remove("connected_pk",Ot),Cookies.remove("connected_wallet_os",Ot),ct.verifying=!1,Nt!=null&&Nt.sessionToken&&(ct.verifyingStatus="succeed",et({...Nt,encrypted:!1},Ft=>Ft))}catch(Nt){logger.error("Failed to verify passkey",Nt);const Ot=getApiErrorMessage(Nt,ot("verifyPasskeyFailed"));ct.verifying=!1,ct.error=Ot,ct.verifyingStatus="error",await st(),tt(new Error(Ot))}}),$t=useMemoizedFn(async()=>{ct.creating=!0,ct.error="",ct.creatingStatus="";try{const Pt=await ft({...a,action:_e,purpose:pt?"register":"connect",email:pt?base64$1.encode(ct.email):""});if(!Pt){ct.error=ot("cancelAuth"),ct.creatingStatus="error",ct.creating=!1,ct.verifying=!1,ct.verifyingStatus="";return}ct.creating=!1,ct.openDialog=!1,ct.creatingStatus="succeed",j==="connect"?et({...Pt,encrypted:!1},Nt=>Nt):Pt!=null&&Pt.credentialId&&xt(Pt.credentialId)}catch(Pt){logger.error("Failed to create passkey",Pt),ct.creating=!1,ct.error=getApiErrorMessage(Pt,ot("createPasskeyFailed")),ct.creatingStatus="error"}}),kt=useMemoizedFn(async Pt=>{var Nt;Pt&&Pt.preventDefault(),ct.loading=!0;try{await rt.post(`../kyc/email/verify?locale=${it}`,{code:ct.code}),ct.verified=!0,$t()}catch(Ot){Toast$1.error(Ot.message),ct.verified=!1,(Nt=document.getElementById(`code-input-${trim(ct.code).length-1}`))==null||Nt.focus()}finally{ct.loading=!1}});return reactExports.useImperativeHandle(nt,()=>({open:yt,close:mt,handleVerifyCode:kt}),[yt,mt,kt]),jsxRuntimeExports.jsxs(StyledDialog$1,{open:ct.openDialog,onClose:mt,fullWidth:!0,maxWidth:"sm",fullScreen:window.innerWidth<600,children:[jsxRuntimeExports.jsxs(StyledDialogTitle,{children:[jsxRuntimeExports.jsx(KeyIcon,{children:jsxRuntimeExports.jsx(Icon,{icon:data$D,fontSize:24,color:"initial"})}),ot("createPasskey")]}),jsxRuntimeExports.jsxs(StyledDialogContent,{children:[jsxRuntimeExports.jsx(Typography,{variant:"body1",children:ot("createPasskeyDesc1")}),jsxRuntimeExports.jsx(Typography,{variant:"body1",children:ot("createPasskeyDesc2")}),ct.error&&jsxRuntimeExports.jsx(Alert,{severity:"error",children:ct.error}),pt&&jsxRuntimeExports.jsxs(Form,{children:[!ct.sent&&jsxRuntimeExports.jsx(TextField,{type:"email",id:"email-input",size:"medium",placeholder:ot("emailPlaceholder"),sx:{width:"100%"},value:ct.email,onChange:Pt=>{ct.email=Pt.target.value},disabled:ct.loading,required:!0}),ct.sent&&!ct.verified&&jsxRuntimeExports.jsxs(Stack,{direction:"column",justifyContent:"center",alignItems:"center",sx:{mb:2},children:[jsxRuntimeExports.jsx(Typography,{variant:"body2",children:ot("codeSentMessage",{email:ct.email})}),jsxRuntimeExports.jsx(Box,{sx:{width:"100%",display:"flex",justifyContent:"space-between",gap:2,mt:0},children:Array(VERIFY_CODE_LENGTH).fill("").map((Pt,Nt)=>jsxRuntimeExports.jsx(TextField,{value:trim(ct.code[Nt])||"",type:"number",margin:"none",inputProps:{maxLength:1,style:{textAlign:"center",fontSize:"1.5rem"},autoComplete:"off"},onChange:Ot=>{var Vt;const Ft=ct.code.split("");Ft[Nt]=Ot.target.value,ct.code=Ft.join(""),Ot.target.value&&Nt<5&&((Vt=document.getElementById(`code-input-${Nt+1}`))==null||Vt.focus())},onKeyDown:Ot=>{var Ft;Ot.key==="Backspace"&&!trim(ct.code[Nt])&&Nt>0&&((Ft=document.getElementById(`code-input-${Nt-1}`))==null||Ft.focus())},disabled:ct.loading,required:!0,id:`code-input-${Nt}`,autoComplete:"off"},`code-input-${Nt}`))})]})]})]}),jsxRuntimeExports.jsxs(StyledDialogActions,{children:[jsxRuntimeExports.jsx(Button,{onClick:mt,sx:{color:"#656d76"},children:ot("cancel")}),pt&&jsxRuntimeExports.jsxs(Button,{variant:"contained",onClick:ct.verified?$t:ct.sent?kt:bt,disabled:ct.verifying||ct.creating||!ct.email||ct.sent&&trim(ct.code).length!==VERIFY_CODE_LENGTH,children:[(ct.loading||ct.creating)&&jsxRuntimeExports.jsx(CircularProgress,{size:24}),ct.verified?ot("createPasskey"):ct.sent?ot("verifyButton"):ot("sendCodeButton")]}),!pt&&jsxRuntimeExports.jsx(Button,{variant:"contained",color:"primary",onClick:$t,disabled:ct.loading||pt&&(!ct.email||!ct.verified),startIcon:ct.loading&&jsxRuntimeExports.jsx(CircularProgress,{size:16,color:"inherit"}),children:ct.loading?ot("creatingPasskey"):ot("createPasskey")})]})]})});PasskeyDialog.propTypes={extraParams:PropTypes.object,createMode:PropTypes.string,action:PropTypes.string,onSuccess:PropTypes.func,onError:PropTypes.func};const StyledDialog$1=newStyled(Dialog$1)`
1272
+ `,j)}function browserSupportsWebAuthnAutofill(){if(!browserSupportsWebAuthn())return _browserSupportsWebAuthnAutofillInternals.stubThis(new Promise(j=>j(!1)));const a=globalThis.PublicKeyCredential;return(a==null?void 0:a.isConditionalMediationAvailable)===void 0?_browserSupportsWebAuthnAutofillInternals.stubThis(new Promise(j=>j(!1))):_browserSupportsWebAuthnAutofillInternals.stubThis(a.isConditionalMediationAvailable())}const _browserSupportsWebAuthnAutofillInternals={stubThis:a=>a};function identifyAuthenticationError({error:a,options:j}){const{publicKey:_e}=j;if(!_e)throw Error("options was missing required publicKey property");if(a.name==="AbortError"){if(j.signal instanceof AbortSignal)return new WebAuthnError({message:"Authentication ceremony was sent an abort signal",code:"ERROR_CEREMONY_ABORTED",cause:a})}else{if(a.name==="NotAllowedError")return new WebAuthnError({message:a.message,code:"ERROR_PASSTHROUGH_SEE_CAUSE_PROPERTY",cause:a});if(a.name==="SecurityError"){const et=globalThis.location.hostname;if(isValidDomain(et)){if(_e.rpId!==et)return new WebAuthnError({message:`The RP ID "${_e.rpId}" is invalid for this domain`,code:"ERROR_INVALID_RP_ID",cause:a})}else return new WebAuthnError({message:`${globalThis.location.hostname} is an invalid domain`,code:"ERROR_INVALID_DOMAIN",cause:a})}else if(a.name==="UnknownError")return new WebAuthnError({message:"The authenticator was unable to process the specified options, or could not create a new assertion signature",code:"ERROR_AUTHENTICATOR_GENERAL_ERROR",cause:a})}return a}async function startAuthentication(a){var pt,yt;!a.optionsJSON&&a.challenge&&(console.warn("startAuthentication() was not called correctly. It will try to continue with the provided options, but this call should be refactored to use the expected call structure instead. See https://simplewebauthn.dev/docs/packages/browser#typeerror-cannot-read-properties-of-undefined-reading-challenge for more information."),a={optionsJSON:a});const{optionsJSON:j,useBrowserAutofill:_e=!1,verifyBrowserAutofillInput:et=!0}=a;if(!browserSupportsWebAuthn())throw new Error("WebAuthn is not supported in this browser");let tt;((pt=j.allowCredentials)==null?void 0:pt.length)!==0&&(tt=(yt=j.allowCredentials)==null?void 0:yt.map(toPublicKeyCredentialDescriptor));const nt={...j,challenge:base64URLStringToBuffer(j.challenge),allowCredentials:tt},rt={};if(_e){if(!await browserSupportsWebAuthnAutofill())throw Error("Browser does not support WebAuthn autofill");if(document.querySelectorAll("input[autocomplete$='webauthn']").length<1&&et)throw Error('No <input> with "webauthn" as the only or last value in its `autocomplete` attribute was detected');rt.mediation="conditional",nt.allowCredentials=[]}rt.publicKey=nt,rt.signal=WebAuthnAbortService.createNewAbortSignal();let it;try{it=await navigator.credentials.get(rt)}catch(mt){throw identifyAuthenticationError({error:mt,options:rt})}if(!it)throw new Error("Authentication was not completed");const{id:ot,rawId:ut,response:st,type:ct}=it;let ft;return st.userHandle&&(ft=bufferToBase64URLString(st.userHandle)),{id:ot,rawId:bufferToBase64URLString(ut),response:{authenticatorData:bufferToBase64URLString(st.authenticatorData),clientDataJSON:bufferToBase64URLString(st.clientDataJSON),signature:bufferToBase64URLString(st.signature),userHandle:ft},type:ct,clientExtensionResults:it.getClientExtensionResults(),authenticatorAttachment:toAuthenticatorAttachment(it.authenticatorAttachment)}}const PasskeyContext=reactExports.createContext({}),{Provider:Provider$6,Consumer:PasskeyConsumer}=PasskeyContext,translations$9={zh:{cancel:"取消",usePasskey:"使用 Passkey",createPasskey:"新建 Passkey",creatingPasskey:"创建 Passkey...",connectPasskey:"绑定 Passkey",nonePasskey:"未配置 Passkey 方式",connectPasskeySucceed:"Passkey 绑定成功",disconnectPasskeySucceed:"Passkey 解绑成功",verifyPasskeyFailed:"Passkey 验证失败",connectPasskeyFailed:"Passkey 绑定失败",disconnectPasskeyFailed:"Passkey 解绑失败",createPasskeyDesc1:"Passkey 是一种密码替代品,使用指纹、面部识别、设备密码或 PIN 验证您的身份。",createPasskeyDesc2:"Passkey 可以用于登录,作为您的 DID Wallet 和 OAuth 凭证的简单且安全的替代方案。",emailPlaceholder:"请输入邮箱以作为备用",verifyButton:"验证邮箱",sendCodeButton:"获取验证码",codeSentMessage:"我们已向 {email} 发送验证码,验证码将在 30 分钟内有效,请检查您的邮箱或垃圾邮件文件夹。",codeSentSuccess:"验证码发送成功",noPassports:"没有可更换的通行证",cancelAuth:"取消授权",webauthn:{error:{canceled:"身份验证已被取消",security:"身份验证过程中出现安全错误",notSupported:"当前浏览器不支持 Passkey 身份验证",aborted:"身份验证已被中止"}}},en:{cancel:"Cancel",usePasskey:"Use Existing Passkey",createPasskey:"Create New Passkey",creatingPasskey:"Creating Passkey...",connectPasskey:"Connect Passkey",nonePasskey:"Passkey is not configured",connectPasskeySucceed:"Passkey add succeed",disconnectPasskeySucceed:"Passkey remove succeed",verifyPasskeyFailed:"Passkey verify failed",connectPasskeyFailed:"Passkey add failed",disconnectPasskeyFailed:"Passkey remove failed",createPasskeyDesc1:"Passkeys are a password replacement that validates your identity using touch, facial recognition, a device password, or a PIN.",createPasskeyDesc2:"Passkeys can be used for sign-in as a simple and secure alternative to your DID Wallet and OAuth credentials.",emailPlaceholder:"Enter your email address",verifyButton:"Verify Email",sendCodeButton:"Get Verify Code",codeSentMessage:"We just sent a verification code to {email}, the code will be valid for 30 minutes, please check your inbox or spam folder.",codeSentSuccess:"Verification code sent successfully",noPassports:"No passports to switch",cancelAuth:"Cancel authentication",webauthn:{error:{canceled:"Authentication was canceled",security:"A security error occurred during authentication",notSupported:"This browser does not support passkey authentication",aborted:"Authentication was aborted"}}}};function PasskeyProvider({children:a,locale:j,onAddPasskey:_e,onRemovePasskey:et,onSwitchPassport:tt}){var Ft,Vt,Zt,on,Ht;const nt=`${((Ft=window.env)==null?void 0:Ft.apiPrefix)||BLOCKLET_SERVICE_PATH_PREFIX$1}/api/passkey`,rt=useReactive({baseUrl:"/",session:void 0,connecting:!1,disconnecting:!1,targetAppPid:void 0}),it=useReactive({open:!1,currentUser:null,passports:[],selectedPassport:void 0,reset(){it.open=!1,it.currentUser=null,it.passports=[],it.selectedPassport=void 0}}),ot=useReactive({user:null,loading:!1,creating:!1,verifying:!1,creatingStatus:"",verifyingStatus:"",error:"",email:"",code:"",verified:!((on=(Zt=(Vt=window==null?void 0:window.blocklet)==null?void 0:Vt.settings)==null?void 0:Zt.kyc)!=null&&on.email),sent:!1,openDialog:!1,get status(){return this.creating||this.verifying?"scanned":this.creatingStatus==="succeed"||this.verifyingStatus==="succeed"?"succeed":this.creatingStatus==="error"||this.verifyingStatus==="error"?"error":""},reset(){ot.creating=!1,ot.verifying=!1,ot.creatingStatus="",ot.verifyingStatus="",ot.error=""}}),ut=useMemoizedFn((It,Tt={})=>translate(translations$9,It,j,"en",Tt)),st=useCreation(()=>createAxios({baseURL:joinURL$2(rt.baseUrl,nt),sessionTokenKey:"__sst"}),[rt.baseUrl,nt]),ct=useMemoizedFn(async()=>{if(rt.baseUrl==="/")return window.blocklet;try{if(new URL(rt.baseUrl).host===window.location.host)return window.blocklet}catch{}return await getBlockletData(rt.baseUrl)}),ft=(Ht=window==null?void 0:window.blocklet)==null?void 0:Ht.componentId,pt=It=>{rt.baseUrl=It||"/"},yt=It=>{rt.targetAppPid=It},mt=useMemoizedFn(async It=>{const{data:Tt}=await st.get("/register",{params:It});console.warn("passkey.create.options",Tt);try{const dt=await startRegistration({optionsJSON:Tt,useAutoRegister:!1});console.warn("passkey.create.response",dt);const{data:ht}=await st.post("/register",dt,{params:{challenge:Tt.challenge}});if(console.warn("passkey.create.result",ht),!ht.verified)throw new Error(ut("createPasskeyFailed"));return ht}catch(dt){throw dt.name?new Error(getWebAuthnErrorMessage(dt,ut("createPasskeyFailed"),ut)):dt}}),bt=useMemoizedFn(async It=>{const{data:Tt}=await st.get("/auth",{params:It});console.warn("passkey.auth.options",Tt);try{const dt=await startAuthentication({optionsJSON:Tt});console.warn("passkey.auth.response",dt);const{data:ht}=await st.post("/auth",dt,{params:{challenge:Tt.challenge,targetAppPid:rt.targetAppPid}});if(console.warn("passkey.auth.result",ht),!ht.verified)throw new Error(ut("verifyPasskeyFailed"));return ht}catch(dt){throw dt.name?new Error(getWebAuthnErrorMessage(dt,ut("verifyPasskeyFailed"),ut)):dt}}),xt=async It=>{rt.connecting=!0;try{const Tt=await mt({...It,locale:j,componentId:ft});return Toast$1.success(ut("connectPasskeySucceed")),_e(Tt),Tt}catch(Tt){logger$2.error("Failed to connect passkey",Tt),Toast$1.error(getApiErrorMessage(Tt,ut("connectPasskeyFailed")))}finally{rt.connecting=!1}},$t=async({session:It,connectedAccount:Tt})=>{var dt;rt.session=It,rt.disconnecting=!0;try{const ht=await bt({action:"disconnect",locale:j,componentId:ft,sourceAppPid:(dt=It==null?void 0:It.user)==null?void 0:dt.sourceAppPid,credentialId:Tt.id});Toast$1.success(ut("disconnectPasskeySucceed")),et(ht)}catch(ht){logger$2.error("Failed to disconnect passkey",ht),Toast$1.error(getApiErrorMessage(ht,ut("disconnectPasskeyFailed")))}finally{rt.disconnecting=!1}},kt=async(It={})=>{try{const{data:Tt}=await st.get("/passports");Tt.length?(it.open=!0,it.currentUser=It,it.passports=Tt||[]):Toast$1.error(ut("noPassports"))}catch(Tt){Toast$1.error(Tt.message||ut("getPassportFailed"))}},Pt=useMemoizedFn((...It)=>{it.reset(),tt(...It)}),Nt=useMemoizedFn(async({action:It="login",...Tt}={})=>{var ht,Et,St;const dt=rt.baseUrl;if((Tt==null?void 0:Tt.sourceAppPid)===((ht=window.blocklet)==null?void 0:ht.appPid))rt.baseUrl=((Et=window.blocklet)==null?void 0:Et.appUrl)||"/";else if(Tt!=null&&Tt.sourceAppPid){const Rt=await ct(),wt=getFederatedEnabled(Rt),Ct=getMaster(Rt);wt&&(Ct!=null&&Ct.appPid)&&(Tt==null?void 0:Tt.sourceAppPid)===(Ct==null?void 0:Ct.appPid)&&(rt.baseUrl=Ct.appUrl)}try{const Rt={...Tt,action:It,locale:j,componentId:ft};isUndefined$1(Rt.inviter)&&window.localStorage.getItem("inviter")&&(Rt.inviter=window.localStorage.getItem("inviter"));const wt=parseResponse(await bt(Rt));if(wt.provider="passkey",Array.isArray((St=window.blocklet)==null?void 0:St.componentMountPoints)){const Ct=window.blocklet.componentMountPoints.some(At=>At.did===DID_SPACES_DID);if(["login"].includes(Rt.action)&&Ct&&await new Space({token:wt.sessionToken}).createForOAuthAccount(),["connect-to-did-space"].includes(Rt.action)&&Ct){const At=await new Space({token:wt.sessionToken}).authorizeAppForOAuthAccount({extraParams:Tt});wt.spaceGateway=At.spaceGateway}}return wt}catch(Rt){const wt=getWebAuthnErrorMessage(Rt,ut("verifyPasskeyFailed"),ut);throw rt.baseUrl=dt,new Error(wt)}}),Ot=useMemoizedFn(()=>{});return jsxRuntimeExports.jsxs(Provider$6,{value:{api:st,locale:j,connectPasskey:xt,disconnectPasskey:$t,createPasskey:mt,verifyPasskey:bt,loginPasskey:Nt,logoutPasskey:Ot,switchPassport:kt,baseUrl:rt.baseUrl,setBaseUrl:pt,setTargetAppPid:yt,passkeyState:ot,disconnecting:rt.disconnecting,connecting:rt.connecting,t:ut},children:[a,jsxRuntimeExports.jsx(PassportSwitcher,{api:st,locale:j,switchState:it,onSwitchPassport:Pt})]})}function usePasskey(){return reactExports.useContext(PasskeyContext)}PasskeyProvider.propTypes={children:PropTypes.node.isRequired,locale:PropTypes.string,onAddPasskey:PropTypes.func,onRemovePasskey:PropTypes.func,onSwitchPassport:PropTypes.func};PasskeyProvider.defaultProps={locale:"en",onAddPasskey:noop$5,onRemovePasskey:noop$5,onSwitchPassport:noop$5};const noop=(...a)=>{};let minBrowserFontSize=-1;function detectMinimumFontSize(){const a=document.createElement("div");Object.assign(a.style,{fontSize:"1px",visibility:"hidden",position:"absolute"}),a.textContent="Test",document.body.appendChild(a);const j=parseFloat(getComputedStyle(a).fontSize);return document.body.removeChild(a),j}function Typography({children:a=null,minFontSize:j=12,fontSize:_e,sx:et,onShrink:tt=noop,...nt}){const rt=reactExports.useRef(null),it=reactExports.useRef(null),ot=useReactive({fontSize:_e,loading:!0}),ut=useSize(rt.current),st=useSize(it.current);return reactExports.useEffect(()=>{if(ot.loading)if(_e==="auto"){if(ut&&!ot.initialSize){const ft=getComputedStyle(rt.current).fontSize;ot.initialSize=Number(ft.replace("px","")),ot.fontSize=ot.initialSize}minBrowserFontSize<0&&(minBrowserFontSize=detectMinimumFontSize()),ot.fontSize<=minBrowserFontSize?(ot.loading=!1,tt==null||tt({fontSize:ot.fontSize,initialSize:ot.initialSize})):st&&ut&&(st.width<ut.width&&ot.fontSize>j?ot.fontSize--:(ot.loading=!1,tt==null||tt({fontSize:ot.fontSize,initialSize:ot.initialSize})))}else ot.loading=!1},[_e,ut==null?void 0:ut.width,st==null?void 0:st.width]),useCreation(()=>_e==="auto"?ot.loading:!1,[_e,ot.loading])?jsxRuntimeExports.jsxs(Box,{ref:it,flex:1,children:[jsxRuntimeExports.jsx(Typography$1,{...nt,sx:et,noWrap:!0,children:jsxRuntimeExports.jsx(Skeleton,{variant:"text",sx:{fontSize:"1rem"}})}),jsxRuntimeExports.jsx(Typography$1,{ref:rt,...nt,sx:{...et,...ot.fontSize?{fontSize:`${ot.fontSize}px !important`}:{},position:"fixed",top:-1e3,left:-1e3},noWrap:!0,children:a})]}):jsxRuntimeExports.jsx(Typography$1,{...nt,sx:{...et,...ot.fontSize?{fontSize:`${ot.fontSize}px !important`}:{}},children:a})}const VERIFY_CODE_LENGTH=6,PasskeyDialog=reactExports.forwardRef(({extraParams:a,createMode:j,action:_e,onSuccess:et,onError:tt},nt)=>{const{api:rt,locale:it,t:ot,loginPasskey:ut,logoutPasskey:st,passkeyState:ct,connectPasskey:ft}=usePasskey(),pt=j==="register",yt=useMemoizedFn(()=>{ct.openDialog=!0,ct.error="",ct.creatingStatus="",ct.verifyingStatus=""}),mt=useMemoizedFn(()=>{ct.openDialog=!1,ct.error="",ct.creatingStatus="",ct.verifyingStatus=""}),bt=useMemoizedFn(async Pt=>{var Nt;Pt.preventDefault(),ct.loading=!0;try{await rt.post(`../kyc/email/send?locale=${it}`,{email:ct.email}),ct.sent=!0,Toast$1.success(ot("codeSentSuccess"))}catch(Ot){Toast$1.error(Ot.message),(Nt=document.getElementById("email-input"))==null||Nt.focus()}finally{ct.loading=!1}}),xt=useMemoizedFn(async(Pt="")=>{try{ct.verifying=!0,ct.error="",Pt||(ct.verifyingStatus="");const Nt=await ut({...a,action:_e,credentialId:Pt}),Ot=getCookieOptions({expireInDays:7});Cookies.remove("connected_did",Ot),Cookies.remove("connected_pk",Ot),Cookies.remove("connected_wallet_os",Ot),ct.verifying=!1,Nt!=null&&Nt.sessionToken&&(ct.verifyingStatus="succeed",et({...Nt,encrypted:!1},Ft=>Ft))}catch(Nt){logger.error("Failed to verify passkey",Nt);const Ot=getWebAuthnErrorMessage(Nt,ot("verifyPasskeyFailed"));ct.verifying=!1,ct.error=Ot,ct.verifyingStatus="error",await st(),tt(new Error(Ot))}}),$t=useMemoizedFn(async()=>{ct.creating=!0,ct.error="",ct.creatingStatus="";try{const Pt=await ft({...a,action:_e,purpose:pt?"register":"connect",email:pt?base64$1.encode(ct.email):""});if(!Pt){ct.error=ot("cancelAuth"),ct.creatingStatus="error",ct.creating=!1,ct.verifying=!1,ct.verifyingStatus="";return}ct.creating=!1,ct.openDialog=!1,ct.creatingStatus="succeed",j==="connect"?et({...Pt,encrypted:!1},Nt=>Nt):Pt!=null&&Pt.credentialId&&xt(Pt.credentialId)}catch(Pt){logger.error("Failed to create passkey",Pt),ct.creating=!1,ct.error=getWebAuthnErrorMessage(Pt,ot("createPasskeyFailed")),ct.creatingStatus="error"}}),kt=useMemoizedFn(async Pt=>{var Nt;Pt&&Pt.preventDefault(),ct.loading=!0;try{await rt.post(`../kyc/email/verify?locale=${it}`,{code:ct.code}),ct.verified=!0,$t()}catch(Ot){Toast$1.error(Ot.message),ct.verified=!1,(Nt=document.getElementById(`code-input-${trim(ct.code).length-1}`))==null||Nt.focus()}finally{ct.loading=!1}});return reactExports.useImperativeHandle(nt,()=>({open:yt,close:mt,handleVerifyCode:kt}),[yt,mt,kt]),jsxRuntimeExports.jsxs(StyledDialog$1,{open:ct.openDialog,onClose:mt,fullWidth:!0,maxWidth:"sm",fullScreen:window.innerWidth<600,children:[jsxRuntimeExports.jsxs(StyledDialogTitle,{children:[jsxRuntimeExports.jsx(KeyIcon,{children:jsxRuntimeExports.jsx(Icon,{icon:data$D,fontSize:24,color:"initial"})}),ot("createPasskey")]}),jsxRuntimeExports.jsxs(StyledDialogContent,{children:[jsxRuntimeExports.jsx(Typography,{variant:"body1",children:ot("createPasskeyDesc1")}),jsxRuntimeExports.jsx(Typography,{variant:"body1",children:ot("createPasskeyDesc2")}),ct.error&&jsxRuntimeExports.jsx(Alert,{severity:"error",children:ct.error}),pt&&jsxRuntimeExports.jsxs(Form,{children:[!ct.sent&&jsxRuntimeExports.jsx(TextField,{type:"email",id:"email-input",size:"medium",placeholder:ot("emailPlaceholder"),sx:{width:"100%"},value:ct.email,onChange:Pt=>{ct.email=Pt.target.value},disabled:ct.loading,required:!0}),ct.sent&&!ct.verified&&jsxRuntimeExports.jsxs(Stack,{direction:"column",justifyContent:"center",alignItems:"center",sx:{mb:2},children:[jsxRuntimeExports.jsx(Typography,{variant:"body2",children:ot("codeSentMessage",{email:ct.email})}),jsxRuntimeExports.jsx(Box,{sx:{width:"100%",display:"flex",justifyContent:"space-between",gap:2,mt:0},children:Array(VERIFY_CODE_LENGTH).fill("").map((Pt,Nt)=>jsxRuntimeExports.jsx(TextField,{value:trim(ct.code[Nt])||"",type:"number",margin:"none",inputProps:{maxLength:1,style:{textAlign:"center",fontSize:"1.5rem"},autoComplete:"off"},onChange:Ot=>{var Vt;const Ft=ct.code.split("");Ft[Nt]=Ot.target.value,ct.code=Ft.join(""),Ot.target.value&&Nt<5&&((Vt=document.getElementById(`code-input-${Nt+1}`))==null||Vt.focus())},onKeyDown:Ot=>{var Ft;Ot.key==="Backspace"&&!trim(ct.code[Nt])&&Nt>0&&((Ft=document.getElementById(`code-input-${Nt-1}`))==null||Ft.focus())},disabled:ct.loading,required:!0,id:`code-input-${Nt}`,autoComplete:"off"},`code-input-${Nt}`))})]})]})]}),jsxRuntimeExports.jsxs(StyledDialogActions,{children:[jsxRuntimeExports.jsx(Button,{onClick:mt,sx:{color:"#656d76"},children:ot("cancel")}),pt&&jsxRuntimeExports.jsxs(Button,{variant:"contained",onClick:ct.verified?$t:ct.sent?kt:bt,disabled:ct.verifying||ct.creating||!ct.email||ct.sent&&trim(ct.code).length!==VERIFY_CODE_LENGTH,children:[(ct.loading||ct.creating)&&jsxRuntimeExports.jsx(CircularProgress,{size:16,sx:{mr:1}}),ct.verified?ot("createPasskey"):ct.sent?ot("verifyButton"):ot("sendCodeButton")]}),!pt&&jsxRuntimeExports.jsx(Button,{variant:"contained",color:"primary",onClick:$t,disabled:ct.loading||ct.creating||pt&&(!ct.email||!ct.verified),startIcon:(ct.loading||ct.creating)&&jsxRuntimeExports.jsx(CircularProgress,{size:16,sx:{mr:1},color:"inherit"}),children:ct.loading||ct.creating?ot("creatingPasskey"):ot("createPasskey")})]})]})});PasskeyDialog.propTypes={extraParams:PropTypes.object,createMode:PropTypes.string,action:PropTypes.string,onSuccess:PropTypes.func,onError:PropTypes.func};const StyledDialog$1=newStyled(Dialog$1)`
1273
1273
  .MuiDialog-paper {
1274
1274
  border-radius: 12px;
1275
1275
  max-width: 440px;
@@ -1333,7 +1333,7 @@ ${tt}-----END CERTIFICATE-----
1333
1333
  div.Mui-focused input {
1334
1334
  caret-color: ${a=>a.theme.palette.primary.main};
1335
1335
  }
1336
- `;function PasskeyAction({action:a,onClick:j,title:_e,state:et,dense:tt,icon:nt,...rt}){return jsxRuntimeExports.jsx(LoginMethodItem,{...rt,icon:et[a]?jsxRuntimeExports.jsx(CircularProgress,{size:"1em",sx:{color:"inherit","& svg":{transform:"scale(0.75)"}}}):nt,iconScale:1,title:_e,onClick:j,sx:mergeSx(tt?{p:1,backgroundColor:"transparent"}:{},rt==null?void 0:rt.sx)})}PasskeyAction.propTypes={action:PropTypes.string.isRequired,onClick:PropTypes.func.isRequired,title:PropTypes.string.isRequired,state:PropTypes.object.isRequired,dense:PropTypes.bool,icon:PropTypes.any};const PasskeyActions=reactExports.forwardRef(({action:a,behavior:j="none",onSuccess:_e,onError:et=noop$5,extraParams:tt={},createButtonText:nt="",createMode:rt="register",dense:it=!1,slotProps:ot={},sx:ut={},mode:st="normal",onClick:ct=noop$5},ft)=>{const pt=reactExports.useRef(""),yt=reactExports.useRef(null),{t:mt,loginPasskey:bt,logoutPasskey:xt,passkeyState:$t}=usePasskey(),kt=useMemoizedFn(async(Ot="")=>{try{$t.verifying=!0,$t.error="",Ot||($t.verifyingStatus="");const Ft=await bt({...tt,action:a,credentialId:Ot}),Vt=getCookieOptions({expireInDays:7});Cookies.remove("connected_did",Vt),Cookies.remove("connected_pk",Vt),Cookies.remove("connected_wallet_os",Vt),$t.verifying=!1,Ft!=null&&Ft.sessionToken&&(await _e({...Ft,encrypted:!1},Zt=>Zt),$t.verifyingStatus="succeed")}catch(Ft){logger$2.error("Failed to verify passkey",Ft);const Vt=getApiErrorMessage(Ft,mt("verifyPasskeyFailed"));$t.verifying=!1,$t.error=Vt,$t.verifyingStatus="error",await xt(),et(new Error(Vt))}}),Pt=useMemoizedFn(Ot=>{if(!$t.sent)return;Ot.preventDefault();const Ft=trim(Ot.clipboardData.getData("text/plain").slice(0,VERIFY_CODE_LENGTH));if(!/^\d+$/.test(Ft))return;$t.code=Ft.padEnd(VERIFY_CODE_LENGTH," ");const Vt=document.getElementById(`code-input-${Ft.length}`);Vt&&Vt.focus()});reactExports.useEffect(()=>(document.addEventListener("paste",Pt),()=>{document.removeEventListener("paste",Pt)}),[Pt]);const Nt=useMemoizedFn(()=>{pt.current==="verifying"?kt():pt.current==="creating"&&yt.current.open()});return reactExports.useImperativeHandle(ft,()=>({click:Nt})),j==="none"?null:jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:[["both","only-existing"].includes(j)?jsxRuntimeExports.jsx(PasskeyAction,{action:"verifying",state:$t,title:mt("usePasskey"),onClick:()=>{pt.current="verifying",Nt(),ct()},dense:it,slotProps:ot,sx:ut,mode:st,icon:jsxRuntimeExports.jsx(Icon,{icon:data$D,fontSize:"1em",color:"initial"})}):null,["both","only-new"].includes(j)?jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:[jsxRuntimeExports.jsx(PasskeyAction,{action:"creating",state:$t,title:nt||mt("createPasskey"),onClick:()=>{pt.current="creating",Nt(),ct()},dense:it,slotProps:ot,sx:ut,mode:st,icon:jsxRuntimeExports.jsx(Icon,{icon:data$C,fontSize:"1em",color:"initial"})}),jsxRuntimeExports.jsx(PasskeyDialog,{ref:yt,action:a,createMode:rt,extraParams:tt,onSuccess:_e,onError:et})]}):null]})});PasskeyActions.propTypes={action:PropTypes.string.isRequired,onSuccess:PropTypes.func.isRequired,onError:PropTypes.func.isRequired,behavior:PropTypes.oneOf(["none","both","only-existing","only-new"]),createButtonText:PropTypes.string,createMode:PropTypes.string,extraParams:PropTypes.object,dense:PropTypes.bool,slotProps:PropTypes.object,sx:PropTypes.oneOfType([PropTypes.object,PropTypes.array]),mode:PropTypes.oneOf(["simple","normal"]),onClick:PropTypes.func};const PasskeyLoginItem=reactExports.forwardRef(({onSuccess:a,tokenState:j,behavior:_e="none",...et},tt)=>{const{extraParams:nt}=useStateContext(),rt=reactExports.useRef(null),it=useMemoizedFn(ot=>a({...ot,encrypted:!1},ut=>ut,{sourceAppPid:nt==null?void 0:nt.sourceAppPid,connected_app:getAppId$1(j.appInfo,j.memberAppInfo)}));return reactExports.useImperativeHandle(tt,()=>({connect:rt.current.click})),_e==="none"?null:jsxRuntimeExports.jsx(PasskeyActions,{...et,ref:rt,action:j.action,behavior:_e,onSuccess:it,extraParams:nt})});PasskeyLoginItem.propTypes={onSuccess:PropTypes.func.isRequired,tokenState:PropTypes.object.isRequired,behavior:PropTypes.oneOf(["none","both","only-existing","only-new"])};const data$B={width:24,height:24,body:'<path fill="currentColor" d="M4 20q-.825 0-1.413-.588T2 18V6q0-.825.588-1.413T4 4h16q.825 0 1.413.588T22 6v12q0 .825-.588 1.413T20 20H4ZM20 8l-7.475 4.675q-.125.075-.263.113t-.262.037q-.125 0-.263-.037t-.262-.113L4 8v10h16V8Zm-8 3l8-5H4l8 5ZM4 8v.25v-1.475v.025V6v.8v-.012V8.25V8v10V8Z"/>'};function EmailListItem({...a}){const{setSelectedPlugin:j,getPlugin:_e,connectState:et}=useStateContext(),tt=useMemoizedFn(()=>{const nt=_e(LOGIN_PROVIDER$1.EMAIL);nt.state.reset(),nt.state.status="creating",et.chooseMethod=LOGIN_PROVIDER$1.EMAIL,j(nt)});return jsxRuntimeExports.jsx(LoginMethodItem,{...a,title:LOGIN_PROVIDER_NAME[LOGIN_PROVIDER$1.EMAIL],icon:data$B,onClick:tt})}EmailListItem.propTypes={onClick:PropTypes.func};function LoadingMask({size:a=64,padding:j,borderWidth:_e,borderRadius:et,duration:tt,children:nt}){const rt=a,it=et??rt/8,ot=_e??rt/32,ut=j??rt*.25-ot,st=tt??2.5;return jsxRuntimeExports.jsxs(Box,{sx:{display:"inline-flex",justifyContent:"center",alignItems:"center",width:rt,height:rt,position:"relative"},children:[jsxRuntimeExports.jsx(Box,{sx:{pointerEvents:"none",position:"absolute",top:0,left:0,right:0,bottom:0,display:"flex",justifyContent:"center",alignItems:"center",width:rt,height:rt,overflow:"hidden",borderRadius:`${it}px`,backgroundColor:colors$2.strokeBorderBase,"&::before,&::after":{content:'""',position:"absolute",top:0,bottom:0,left:0,right:0,pointerEvents:"none"},"&::after":{left:ot,right:ot,top:ot,bottom:ot,backgroundColor:"white",borderRadius:`${it-ot}px`},"&::before":{background:`conic-gradient(from 45deg, ${colors$2.foregroundsFgInteractiveTransparent} 0%, ${colors$2.foregroundsFgInteractiveTransparent} 50%, ${colors$2.foregroundsFgInteractive} 90%, ${colors$2.foregroundsFgInteractive} 100%)`,transform:"scale(100)",animation:`rotate ${st}s linear infinite`,"@keyframes rotate":{"0%":{transform:"scale(100) rotate(0deg)"},"100%":{transform:"scale(100) rotate(360deg)"}}}}}),jsxRuntimeExports.jsx(Box,{sx:{position:"relative",display:"flex",justifyContent:"center",alignItems:"center",width:rt-ut-ot,height:rt-ut-ot},children:nt})]})}const data$A={width:256,height:315,body:'<path d="M213.803 167.03c.442 47.58 41.74 63.413 42.197 63.615c-.35 1.116-6.599 22.563-21.757 44.716c-13.104 19.153-26.705 38.235-48.13 38.63c-21.05.388-27.82-12.483-51.888-12.483c-24.061 0-31.582 12.088-51.51 12.871c-20.68.783-36.428-20.71-49.64-39.793c-27-39.033-47.633-110.3-19.928-158.406c13.763-23.89 38.36-39.017 65.056-39.405c20.307-.387 39.475 13.662 51.889 13.662c12.406 0 35.699-16.895 60.186-14.414c10.25.427 39.026 4.14 57.503 31.186c-1.49.923-34.335 20.044-33.978 59.822M174.24 50.199c10.98-13.29 18.369-31.79 16.353-50.199c-15.826.636-34.962 10.546-46.314 23.828c-10.173 11.763-19.082 30.589-16.678 48.633c17.64 1.365 35.66-8.964 46.64-22.262"/>'},data$z={width:256,height:250,body:'<path fill="#161614" d="M128.001 0C57.317 0 0 57.307 0 128.001c0 56.554 36.676 104.535 87.535 121.46c6.397 1.185 8.746-2.777 8.746-6.158c0-3.052-.12-13.135-.174-23.83c-35.61 7.742-43.124-15.103-43.124-15.103c-5.823-14.795-14.213-18.73-14.213-18.73c-11.613-7.944.876-7.78.876-7.78c12.853.902 19.621 13.19 19.621 13.19c11.417 19.568 29.945 13.911 37.249 10.64c1.149-8.272 4.466-13.92 8.127-17.116c-28.431-3.236-58.318-14.212-58.318-63.258c0-13.975 5-25.394 13.188-34.358c-1.329-3.224-5.71-16.242 1.24-33.874c0 0 10.749-3.44 35.21 13.121c10.21-2.836 21.16-4.258 32.038-4.307c10.878.049 21.837 1.47 32.066 4.307c24.431-16.56 35.165-13.12 35.165-13.12c6.967 17.63 2.584 30.65 1.255 33.873c8.207 8.964 13.173 20.383 13.173 34.358c0 49.163-29.944 59.988-58.447 63.157c4.591 3.972 8.682 11.762 8.682 23.704c0 17.126-.148 30.91-.148 35.126c0 3.407 2.304 7.398 8.792 6.14C219.37 232.5 256 184.537 256 128.002C256 57.307 198.691 0 128.001 0Zm-80.06 182.34c-.282.636-1.283.827-2.194.39c-.929-.417-1.45-1.284-1.15-1.922c.276-.655 1.279-.838 2.205-.399c.93.418 1.46 1.293 1.139 1.931Zm6.296 5.618c-.61.566-1.804.303-2.614-.591c-.837-.892-.994-2.086-.375-2.66c.63-.566 1.787-.301 2.626.591c.838.903 1 2.088.363 2.66Zm4.32 7.188c-.785.545-2.067.034-2.86-1.104c-.784-1.138-.784-2.503.017-3.05c.795-.547 2.058-.055 2.861 1.075c.782 1.157.782 2.522-.019 3.08Zm7.304 8.325c-.701.774-2.196.566-3.29-.49c-1.119-1.032-1.43-2.496-.726-3.27c.71-.776 2.213-.558 3.315.49c1.11 1.03 1.45 2.505.701 3.27Zm9.442 2.81c-.31 1.003-1.75 1.459-3.199 1.033c-1.448-.439-2.395-1.613-2.103-2.626c.301-1.01 1.747-1.484 3.207-1.028c1.446.436 2.396 1.602 2.095 2.622Zm10.744 1.193c.036 1.055-1.193 1.93-2.715 1.95c-1.53.034-2.769-.82-2.786-1.86c0-1.065 1.202-1.932 2.733-1.958c1.522-.03 2.768.818 2.768 1.868Zm10.555-.405c.182 1.03-.875 2.088-2.387 2.37c-1.485.271-2.861-.365-3.05-1.386c-.184-1.056.893-2.114 2.376-2.387c1.514-.263 2.868.356 3.061 1.403Z"/>'},data$y={width:256,height:262,body:'<path fill="#4285F4" d="M255.878 133.451c0-10.734-.871-18.567-2.756-26.69H130.55v48.448h71.947c-1.45 12.04-9.283 30.172-26.69 42.356l-.244 1.622l38.755 30.023l2.685.268c24.659-22.774 38.875-56.282 38.875-96.027"/><path fill="#34A853" d="M130.55 261.1c35.248 0 64.839-11.605 86.453-31.622l-41.196-31.913c-11.024 7.688-25.82 13.055-45.257 13.055c-34.523 0-63.824-22.773-74.269-54.25l-1.531.13l-40.298 31.187l-.527 1.465C35.393 231.798 79.49 261.1 130.55 261.1"/><path fill="#FBBC05" d="M56.281 156.37c-2.756-8.123-4.351-16.827-4.351-25.82c0-8.994 1.595-17.697 4.206-25.82l-.073-1.73L15.26 71.312l-1.335.635C5.077 89.644 0 109.517 0 130.55s5.077 40.905 13.925 58.602l42.356-32.782"/><path fill="#EB4335" d="M130.55 50.479c24.514 0 41.05 10.589 50.479 19.438l36.844-35.974C195.245 12.91 165.798 0 130.55 0C79.49 0 35.393 29.301 13.925 71.947l42.211 32.783c10.59-31.477 39.891-54.251 74.414-54.251"/>'},data$x={width:256,height:285,body:'<path d="M220.412 0h-92.415l28.562 89.006h92.416l-74.77 53.077l28.57 89.511c48.128-35.06 63.854-88.12 46.208-142.588L220.413 0ZM7.018 89.006h92.416L127.997 0H35.589L7.019 89.006c-17.655 54.468-1.92 107.529 46.207 142.588l28.563-89.51l-74.77-53.078Zm46.208 142.588l74.77 52.97l74.77-52.97l-74.77-53.847l-74.77 53.847Z"/>'};function ProviderIcon({provider:a,...j}){if(["wallet","wallet-web"].includes(a))return jsxRuntimeExports.jsx(DIDWalletLogo,{width:"100%",height:"100%"});const _e={[LOGIN_PROVIDER$1.AUTH0]:data$x,[LOGIN_PROVIDER$1.EMAIL]:data$B,[LOGIN_PROVIDER$1.APPLE]:data$A,[LOGIN_PROVIDER$1.GITHUB]:data$z,[LOGIN_PROVIDER$1.GOOGLE]:data$y,[LOGIN_PROVIDER$1.PASSKEY]:data$D};return _e[a]?jsxRuntimeExports.jsx(Box,{component:Icon,icon:_e[a],width:"100%",height:"100%",color:"initial",...j}):null}ProviderIcon.propTypes={provider:PropTypes.oneOf([...Object.values(LOGIN_PROVIDER$1),"wallet-web"])};function ActionButton({...a}){return jsxRuntimeExports.jsx(Button,{variant:"outlined",color:"inherit",...a,sx:mergeSx({borderRadius:2,borderColor:colors$2.strokeBorderBase,fontWeight:500,fontSize:12,py:.5},a.sx)})}function BackButton({onClick:a}){const{locale:j}=useStateContext(),_e=translations$c[j]||translations$c.en;return jsxRuntimeExports.jsx(ActionButton,{onClick:a,children:_e.back})}BackButton.propTypes={onClick:PropTypes.func.isRequired};function EmailPlaceholder({fallback:a,state:j,forceUpdate:_e,onSuccess:et,t:tt}){const{setSelectedPlugin:nt,locale:rt,connectState:it,action:ot,extraParams:ut}=useStateContext(),st=useMemoizedFn((Pt,Nt={})=>tt(Pt,Nt,rt)),ct=useCreation(()=>createAxios({baseURL:joinURL$2(j.baseUrl,BLOCKLET_SERVICE_PATH_PREFIX,"/api/user")}),[j.baseUrl]),ft=useReactive({email:"",code:"",codeId:"",defaultVerifyMode:"magicLink",verifyMode:"magicLink",loadingSendCode:!1,loadingVerifyCode:!1}),pt=useMemoizedFn(()=>{ft.email="",ft.code="",ft.codeId="",ft.verifyMode=ft.defaultVerifyMode,ft.loadingSendCode=!1,ft.loadingVerifyCode=!1}),yt=useMemoizedFn(async()=>{var Pt;if(!(!ft.email||!ft.email.trim()))try{ft.loadingSendCode=!0;let Nt=!1;["login"].includes(ot)&&(it.sourceAppPid||(Nt=!0));const{data:Ot}=await ct.post(withQuery$1("/email/sendCode",{locale:rt}),{email:ft.email,sourceAppPid:it.sourceAppPid,useMagicLink:Nt});ft.verifyMode=ft.defaultVerifyMode,ft.codeId=Ot.id,j.status="sending"}catch(Nt){const Ot=((Pt=Nt==null?void 0:Nt.response)==null?void 0:Pt.data)||(Nt==null?void 0:Nt.message);j.status="error",j.error=Ot}finally{ft.loadingSendCode=!1,_e()}}),mt=useMemoizedFn(async()=>{var Pt;if(ft.code.length===VERIFY_CODE_LENGTH$1)try{ft.loadingVerifyCode=!0;const{data:Nt}=await ct.post(withQuery$1("/email/login",{locale:rt}),{...ut,action:ot,code:ft.code,sourceAppPid:it.sourceAppPid});debug$4("Email login succeed (use code)",{loginResult:Nt}),await et({...Nt,encrypted:!1},Ot=>Ot),j.status="succeed"}catch(Nt){const Ot=((Pt=Nt==null?void 0:Nt.response)==null?void 0:Pt.data)||(Nt==null?void 0:Nt.message);j.status="error",j.error=Ot,debug$4("Email login failed (use code)",{error:Nt})}finally{ft.loadingVerifyCode=!1,_e()}}),bt=useMemoizedFn(async()=>{var Pt;j.status="verifying";try{const{data:Nt}=await ct.post(withQuery$1("/email/login",{locale:rt}),{...ut,action:ot,magicToken:j.magicToken});debug$4("Email login succeed (use magic link)",{loginResult:Nt}),await et({...Nt,encrypted:!1},Ot=>Ot),j.status="succeed"}catch(Nt){const Ot=((Pt=Nt==null?void 0:Nt.response)==null?void 0:Pt.data)||(Nt==null?void 0:Nt.message);j.status="error",j.error=Ot,debug$4("Email login failed (use magic link)",{error:Nt})}_e()}),xt=useMemoizedFn(async()=>{try{const{data:Pt}=await ct.get("/email/status",{params:{codeId:ft.codeId}});Pt.verified&&(j.status="succeed",pt(),await et({encrypted:!1},Nt=>Nt))}catch(Pt){console.error("check status error",Pt)}_e()}),$t=j.status==="sending"&&!ft.loadingVerifyCode&&ft.codeId;useInterval$3(xt,$t?CHECK_STATUS_INTERVAL:void 0),useMount(()=>{pt(),(it.sourceAppPid||!["login"].includes(ot))&&(ft.defaultVerifyMode="code"),j.magicToken&&bt()});let kt=null;if(j.status==="creating")kt=jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:[jsxRuntimeExports.jsx(Typography$1,{variant:"body2",sx:{textAlign:"center",color:colors$1.text.secondary},children:st("emailPlaceholder")}),jsxRuntimeExports.jsx(TextField,{name:"email",fullWidth:!0,type:"email",variant:"outlined",label:st("email"),placeholder:st("emailPlaceholder"),size:"small",value:ft.email,onChange:Pt=>{ft.email=Pt.target.value},inputProps:{sx:{boxSizing:"content-box !important"}},sx:{maxWidth:320,"& .MuiOutlinedInput-root":{borderRadius:2}}}),jsxRuntimeExports.jsxs(Box,{sx:{display:"flex",gap:1},children:[jsxRuntimeExports.jsx(BackButton,{onClick:()=>{j.reset(),nt()}}),jsxRuntimeExports.jsxs(ActionButton,{sx:{color:colors$1.primary.main,borderColor:colors$1.primary.light},disabled:ft.loadingSendCode,onClick:()=>{yt(ft.email)},children:[ft.loadingSendCode?jsxRuntimeExports.jsx(CircularProgress,{color:"inherit",size:14,sx:{mr:1}}):null,st("sendCode")]})]})]});else if(j.status==="sending")kt=jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:[jsxRuntimeExports.jsxs(Box,{sx:{display:"flex",flexDirection:"column",alignItems:"center"},children:[jsxRuntimeExports.jsx(Typography$1,{variant:"body2",sx:{textAlign:"center",color:colors$1.text.secondary},children:ft.verifyMode==="magicLink"?st("verifyEmail"):st("codePlaceholder")}),ft.verifyMode==="magicLink"?jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:[jsxRuntimeExports.jsx(Link$2,{underline:"none",variant:"caption",component:"button",sx:{mb:2},onClick:()=>{ft.verifyMode="code",_e()},children:st("useCode")}),jsxRuntimeExports.jsx(BackButton,{onClick:()=>{j.status="creating",_e()}})]}):null]}),ft.verifyMode==="code"&&jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:[jsxRuntimeExports.jsx(Box,{sx:{width:"100%",maxWidth:360,display:"flex",justifyContent:"space-between",gap:1.5},children:[...Array(VERIFY_CODE_LENGTH$1)].map((Pt,Nt)=>jsxRuntimeExports.jsx(TextField,{id:`code-input-${Nt}`,value:trim(ft.code[Nt])||"",type:"number",inputProps:{maxLength:1,sx:{textAlign:"center",fontSize:"1.5rem","&::-webkit-inner-spin-button, &::-webkit-outer-spin-button":{WebkitAppearance:"none",margin:0}},autoComplete:"off",pattern:"[0-9]",inputMode:"numeric"},onChange:Ot=>{var Vt;const Ft=ft.code.split("");Ft[Nt]=Ot.target.value,ft.code=Ft.join(""),Ot.target.value&&Nt<5&&((Vt=document.getElementById(`code-input-${Nt+1}`))==null||Vt.focus())},onKeyDown:Ot=>{var Ft;Ot.key==="Backspace"&&!trim(ft.code[Nt])&&Nt>0&&((Ft=document.getElementById(`code-input-${Nt-1}`))==null||Ft.focus())},required:!0,autoComplete:"off"},`code-input-${Nt}`))}),jsxRuntimeExports.jsxs(Box,{sx:{display:"flex",gap:1},children:[jsxRuntimeExports.jsx(BackButton,{onClick:()=>{ft.code="",j.status="creating",_e()}}),jsxRuntimeExports.jsxs(ActionButton,{sx:{color:colors$1.primary.main,borderColor:colors$1.primary.light},disabled:ft.loadingVerifyCode,onClick:()=>{mt()},children:[ft.loadingVerifyCode?jsxRuntimeExports.jsx(CircularProgress,{color:"inherit",size:14,sx:{mr:1}}):null,st("confirm")]})]})]})]});else return a;return jsxRuntimeExports.jsxs(Box,{sx:{display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",gap:2,pb:1},children:[jsxRuntimeExports.jsx(LoadingMask,{size:52,borderRadius:12,children:jsxRuntimeExports.jsx(ProviderIcon,{provider:"email"})}),kt]})}EmailPlaceholder.propTypes={fallback:PropTypes.any,state:PropTypes.object,forceUpdate:PropTypes.func,onSuccess:PropTypes.func,t:PropTypes.func};function useEmailPlugin({baseUrl:a}){const j=useReactive({baseUrl:a,status:"idle",get computedStatus(){return this.status==="idle"?"creating":this.status==="creating"||this.status==="sending"||this.status==="verifying"?"scanned":this.status},error:"",magicToken:"",reset(){this.status="idle",this.error="",this.magicToken=""}}),_e=LOGIN_PROVIDER$1.EMAIL,et="Email",tt=data$B,nt={zh:{email:"邮箱地址",emailPlaceholder:"请输入邮箱地址",sendCode:"发送验证码",confirm:"确认",verifyEmail:"登录链接已发送至邮箱,请登录邮箱查看",useCode:"使用验证码",codePlaceholder:"请输入验证码"},en:{email:"Email",emailPlaceholder:"Enter your email address",sendCode:"Send Verification Code",confirm:"Confirm",verifyEmail:"Login link sent! Please check your email.",useCode:"Use Verification Code",codePlaceholder:"Enter your verification code"}},rt=useMemoizedFn((it,ot={},ut="en")=>translate(nt,it,ut,"en",ot));return{name:_e,title:et,icon:tt,renderListItem(it){return jsxRuntimeExports.jsx(EmailListItem,{...it,state:j,name:_e,title:et,icon:tt,t:rt})},renderPlaceholder(it){return jsxRuntimeExports.jsx(EmailPlaceholder,{...it,state:j,name:_e,title:et,icon:tt,t:rt})},order:100,state:j}}function ConnectChooseList({onSuccess:a=noop$5,onError:j=noop$5,size:_e="small",tokenState:et,webWalletUrl:tt=getWebWalletUrl$1(),tokenKey:nt,passkeyBehavior:rt="none",onRest:it=noop$5,showMobileLogin:ot=!0,showOAuthLogin:ut=!0,showPasskeyLogin:st=!0,showWebLogin:ct=!0,showEmailLogin:ft=!0,oauthProviderList:pt=[],slotProps:yt,disableSwitchApp:mt=!1,forceUpdate:bt=noop$5,magicToken:xt,baseUrl:$t="/"}){var vt;const kt=reactExports.useRef(null),Pt=reactExports.useRef(null),Nt=reactExports.useRef(null),{loginOAuth:Ot,logoutOAuth:Ft,t:Vt,oauthState:Zt}=useOAuth(),{passkeyState:on}=usePasskey(),{extraParams:Ht,locale:It,connectState:Tt,plugins:dt,setPlugins:ht,setSelectedPlugin:Et,getPlugin:St}=useStateContext(),Rt=useMemoizedFn(async Lt=>{et.reset(),Zt.reset({status:"scanned"}),on.reset(),Tt.chooseMethod=Lt.provider;const Yt=Ht==null?void 0:Ht.sourceAppPid;try{Zt.loading=!0,Zt.status="scanned";const jt=await Ot(Lt,{action:et.action,...Ht}),Gt=getCookieOptions({returnDomain:!1});Cookies.remove("connected_did",Gt),Cookies.remove("connected_pk",Gt),Cookies.remove("connected_wallet_os",Gt),jt!=null&&jt.sessionToken&&(await a({...jt,encrypted:!1},Wt=>Wt,{sourceAppPid:Yt,connected_app:getAppId$1(et.appInfo,et.memberAppInfo)}),Zt.loading=!1,Zt.status="succeed")}catch(jt){logger$2.error(`Failed login OAuth: ${Lt.provider}`,jt);const Gt=getApiErrorMessage(jt,Vt("loginOAuthFailed"));Zt.loading=!1,Zt.error=Gt,Zt.status="error",await Ft({provider:Lt.provider}),j(new Error(Gt))}}),wt=useMemoizedFn(async()=>{et.reset(),await it(),et.status="created",Tt.chooseMethod="wallet"}),Ct=useEmailPlugin({baseUrl:$t}),At=useMemoizedFn(()=>{if(xt&&ft&&dt.some(Lt=>Lt.name===LOGIN_PROVIDER$1.EMAIL)){const Lt=St(LOGIN_PROVIDER$1.EMAIL);Lt.state.status==="idle"&&(Lt.state.reset(),Lt.state.magicToken=xt,Tt.chooseMethod=LOGIN_PROVIDER$1.EMAIL,Et(Lt),bt())}});return reactExports.useEffect(()=>{const Lt=[];ft&&Lt.push(Ct),ht(Lt),Tt.retryConnect=wt,setTimeout(()=>{At()},100)},[ft]),jsxRuntimeExports.jsx(Box,{className:"did-connect__choose",sx:mergeSx({flex:1},(vt=yt==null?void 0:yt.root)==null?void 0:vt.sx),children:jsxRuntimeExports.jsx(Box,{sx:{display:"flex",flexDirection:"column",gap:2},children:jsxRuntimeExports.jsxs(Box,{sx:[{display:"flex",flexDirection:"column",gap:1.5}],children:[ot&&_e!=="small"&&jsxRuntimeExports.jsx(MobileLoginItem,{ref:kt,tokenState:et,sx:[_e==="small"?{p:1}:{p:2}],locale:It,tokenKey:nt,disableSwitchApp:mt,onClick:async()=>{var Yt;et.reset(),await it(),et.status="created",Tt.chooseMethod="wallet";const Lt=(Yt=kt.current)==null?void 0:Yt.connect;Tt.retryConnect=()=>{Lt(wt)}}}),ct&&jsxRuntimeExports.jsx(WebLoginItem,{ref:Pt,tokenState:et,webWalletUrl:tt,sx:[_e==="small"?{p:1}:{p:2}],disableSwitchApp:mt,onClick:()=>{et.status="scanned",Tt.chooseMethod="wallet-web";const Lt=Pt.current.connect;Tt.retryConnect=async()=>{await it(),et.error="",et.status="scanned",Lt()}}}),ut||st||ft?jsxRuntimeExports.jsxs(Box,{sx:[{display:"flex",flexDirection:"column",gap:1.5}],children:[dt.map(Lt=>Lt.renderListItem({key:Lt.name,sx:[_e==="small"?{p:1}:{p:2}],forceUpdate:bt})),ut?pt.map(Lt=>jsxRuntimeExports.jsx(LoginMethodItem,{title:LOGIN_PROVIDER_NAME[Lt.provider],icon:jsxRuntimeExports.jsx(ProviderIcon,{provider:Lt.provider,sx:{transform:"scale(0.95)",width:24,height:24}}),onClick:()=>{Rt(Lt),Tt.retryConnect=()=>{Rt(Lt)}},sx:[_e==="small"?{p:1}:{p:2}]},Lt.provider)):null,st?jsxRuntimeExports.jsx(PasskeyLoginItem,{ref:Nt,onSuccess:a,onError:j,tokenState:et,behavior:rt,sx:[_e==="small"?{p:1}:{p:2}],onClick:()=>{const Lt=Nt.current.connect;Tt.chooseMethod="passkey",Tt.retryConnect=()=>{on.verifying=!0,Tt.chooseMethod="passkey",Lt()}},slotProps:{icon:{sx:{fontSize:24,"& svg":{fontSize:24,width:"1em",height:"1em"}}}}}):null]}):null]})})})}ConnectChooseList.propTypes={onSuccess:PropTypes.func,onError:PropTypes.func,size:PropTypes.oneOf(["small","normal","large"]),tokenState:PropTypes.object,webWalletUrl:PropTypes.string,tokenKey:PropTypes.string,passkeyBehavior:PropTypes.oneOf(["none","both","only-existing","only-new"]),onRest:PropTypes.func,showMobileLogin:PropTypes.bool,showOAuthLogin:PropTypes.bool,showPasskeyLogin:PropTypes.bool,showWebLogin:PropTypes.bool,showEmailLogin:PropTypes.bool,oauthProviderList:PropTypes.array,slotProps:PropTypes.object,disableSwitchApp:PropTypes.bool,forceUpdate:PropTypes.func,magicToken:PropTypes.string,baseUrl:PropTypes.string};function AutoHeight({children:a,initHeight:j,slotProps:_e}){var it;const[et,tt]=reactExports.useState(j),nt=reactExports.useRef(null),rt=useSize(nt);return reactExports.useEffect(()=>{rt!=null&&rt.height&&tt(rt.height)},[rt==null?void 0:rt.height]),jsxRuntimeExports.jsx(Box,{..._e==null?void 0:_e.root,sx:{height:et,overflow:"hidden",transition:"height 0.2s ease-in-out",...(it=_e==null?void 0:_e.root)==null?void 0:it.sx},children:jsxRuntimeExports.jsx(Box,{..._e==null?void 0:_e.container,ref:nt,children:a})})}AutoHeight.propTypes={initHeight:PropTypes.number,children:PropTypes.node.isRequired,slotProps:PropTypes.object};AutoHeight.defaultProps={initHeight:0,slotProps:{}};var CLONE_DEEP_FLAG=1,CLONE_SYMBOLS_FLAG=4;function cloneDeep(a){return baseClone(a,CLONE_DEEP_FLAG|CLONE_SYMBOLS_FLAG)}const cloneDeep$1=Object.freeze(Object.defineProperty({__proto__:null,default:cloneDeep},Symbol.toStringTag,{value:"Module"}));var eventemitter3$1={exports:{}};(function(a){var j=Object.prototype.hasOwnProperty,_e="~";function et(){}Object.create&&(et.prototype=Object.create(null),new et().__proto__||(_e=!1));function tt(ot,ut,st){this.fn=ot,this.context=ut,this.once=st||!1}function nt(ot,ut,st,ct,ft){if(typeof st!="function")throw new TypeError("The listener must be a function");var pt=new tt(st,ct||ot,ft),yt=_e?_e+ut:ut;return ot._events[yt]?ot._events[yt].fn?ot._events[yt]=[ot._events[yt],pt]:ot._events[yt].push(pt):(ot._events[yt]=pt,ot._eventsCount++),ot}function rt(ot,ut){--ot._eventsCount===0?ot._events=new et:delete ot._events[ut]}function it(){this._events=new et,this._eventsCount=0}it.prototype.eventNames=function(){var ut=[],st,ct;if(this._eventsCount===0)return ut;for(ct in st=this._events)j.call(st,ct)&&ut.push(_e?ct.slice(1):ct);return Object.getOwnPropertySymbols?ut.concat(Object.getOwnPropertySymbols(st)):ut},it.prototype.listeners=function(ut){var st=_e?_e+ut:ut,ct=this._events[st];if(!ct)return[];if(ct.fn)return[ct.fn];for(var ft=0,pt=ct.length,yt=new Array(pt);ft<pt;ft++)yt[ft]=ct[ft].fn;return yt},it.prototype.listenerCount=function(ut){var st=_e?_e+ut:ut,ct=this._events[st];return ct?ct.fn?1:ct.length:0},it.prototype.emit=function(ut,st,ct,ft,pt,yt){var mt=_e?_e+ut:ut;if(!this._events[mt])return!1;var bt=this._events[mt],xt=arguments.length,$t,kt;if(bt.fn){switch(bt.once&&this.removeListener(ut,bt.fn,void 0,!0),xt){case 1:return bt.fn.call(bt.context),!0;case 2:return bt.fn.call(bt.context,st),!0;case 3:return bt.fn.call(bt.context,st,ct),!0;case 4:return bt.fn.call(bt.context,st,ct,ft),!0;case 5:return bt.fn.call(bt.context,st,ct,ft,pt),!0;case 6:return bt.fn.call(bt.context,st,ct,ft,pt,yt),!0}for(kt=1,$t=new Array(xt-1);kt<xt;kt++)$t[kt-1]=arguments[kt];bt.fn.apply(bt.context,$t)}else{var Pt=bt.length,Nt;for(kt=0;kt<Pt;kt++)switch(bt[kt].once&&this.removeListener(ut,bt[kt].fn,void 0,!0),xt){case 1:bt[kt].fn.call(bt[kt].context);break;case 2:bt[kt].fn.call(bt[kt].context,st);break;case 3:bt[kt].fn.call(bt[kt].context,st,ct);break;case 4:bt[kt].fn.call(bt[kt].context,st,ct,ft);break;default:if(!$t)for(Nt=1,$t=new Array(xt-1);Nt<xt;Nt++)$t[Nt-1]=arguments[Nt];bt[kt].fn.apply(bt[kt].context,$t)}}return!0},it.prototype.on=function(ut,st,ct){return nt(this,ut,st,ct,!1)},it.prototype.once=function(ut,st,ct){return nt(this,ut,st,ct,!0)},it.prototype.removeListener=function(ut,st,ct,ft){var pt=_e?_e+ut:ut;if(!this._events[pt])return this;if(!st)return rt(this,pt),this;var yt=this._events[pt];if(yt.fn)yt.fn===st&&(!ft||yt.once)&&(!ct||yt.context===ct)&&rt(this,pt);else{for(var mt=0,bt=[],xt=yt.length;mt<xt;mt++)(yt[mt].fn!==st||ft&&!yt[mt].once||ct&&yt[mt].context!==ct)&&bt.push(yt[mt]);bt.length?this._events[pt]=bt.length===1?bt[0]:bt:rt(this,pt)}return this},it.prototype.removeAllListeners=function(ut){var st;return ut?(st=_e?_e+ut:ut,this._events[st]&&rt(this,st)):(this._events=new et,this._eventsCount=0),this},it.prototype.off=it.prototype.removeListener,it.prototype.addListener=it.prototype.on,it.prefixed=_e,it.EventEmitter=it,a.exports=it})(eventemitter3$1);var eventemitter3Exports$1=eventemitter3$1.exports,__defProp$2=Object.defineProperty,__getOwnPropDesc$1=Object.getOwnPropertyDescriptor,__getOwnPropNames$1=Object.getOwnPropertyNames,__hasOwnProp$2=Object.prototype.hasOwnProperty,__export$1=(a,j)=>{for(var _e in j)__defProp$2(a,_e,{get:j[_e],enumerable:!0})},__copyProps$1=(a,j,_e,et)=>{if(j&&typeof j=="object"||typeof j=="function")for(let tt of __getOwnPropNames$1(j))!__hasOwnProp$2.call(a,tt)&&tt!==_e&&__defProp$2(a,tt,{get:()=>j[tt],enumerable:!(et=__getOwnPropDesc$1(j,tt))||et.enumerable});return a},__toCommonJS$1=a=>__copyProps$1(__defProp$2({},"__esModule",{value:!0}),a),phoenix_exports={};__export$1(phoenix_exports,{Channel:()=>Channel,LongPoll:()=>LongPoll,Presence:()=>Presence,Serializer:()=>serializer_default,Socket:()=>Socket$1});var phoenix_cjs=__toCommonJS$1(phoenix_exports),closure=a=>typeof a=="function"?a:function(){return a},globalSelf=typeof self<"u"?self:null,phxWindow=typeof window<"u"?window:null,global$1=globalSelf||phxWindow||global$1,DEFAULT_VSN="2.0.0",SOCKET_STATES={connecting:0,open:1,closing:2,closed:3},DEFAULT_TIMEOUT=1e4,WS_CLOSE_NORMAL=1e3,CHANNEL_STATES={closed:"closed",errored:"errored",joined:"joined",joining:"joining",leaving:"leaving"},CHANNEL_EVENTS={close:"phx_close",error:"phx_error",join:"phx_join",reply:"phx_reply",leave:"phx_leave"},TRANSPORTS={longpoll:"longpoll",websocket:"websocket"},XHR_STATES={complete:4},Push=class{constructor(a,j,_e,et){this.channel=a,this.event=j,this.payload=_e||function(){return{}},this.receivedResp=null,this.timeout=et,this.timeoutTimer=null,this.recHooks=[],this.sent=!1}resend(a){this.timeout=a,this.reset(),this.send()}send(){this.hasReceived("timeout")||(this.startTimeout(),this.sent=!0,this.channel.socket.push({topic:this.channel.topic,event:this.event,payload:this.payload(),ref:this.ref,join_ref:this.channel.joinRef()}))}receive(a,j){return this.hasReceived(a)&&j(this.receivedResp.response),this.recHooks.push({status:a,callback:j}),this}reset(){this.cancelRefEvent(),this.ref=null,this.refEvent=null,this.receivedResp=null,this.sent=!1}matchReceive({status:a,response:j,_ref:_e}){this.recHooks.filter(et=>et.status===a).forEach(et=>et.callback(j))}cancelRefEvent(){this.refEvent&&this.channel.off(this.refEvent)}cancelTimeout(){clearTimeout(this.timeoutTimer),this.timeoutTimer=null}startTimeout(){this.timeoutTimer&&this.cancelTimeout(),this.ref=this.channel.socket.makeRef(),this.refEvent=this.channel.replyEventName(this.ref),this.channel.on(this.refEvent,a=>{this.cancelRefEvent(),this.cancelTimeout(),this.receivedResp=a,this.matchReceive(a)}),this.timeoutTimer=setTimeout(()=>{this.trigger("timeout",{})},this.timeout)}hasReceived(a){return this.receivedResp&&this.receivedResp.status===a}trigger(a,j){this.channel.trigger(this.refEvent,{status:a,response:j})}},Timer=class{constructor(a,j){this.callback=a,this.timerCalc=j,this.timer=null,this.tries=0}reset(){this.tries=0,clearTimeout(this.timer)}scheduleTimeout(){clearTimeout(this.timer),this.timer=setTimeout(()=>{this.tries=this.tries+1,this.callback()},this.timerCalc(this.tries+1))}},Channel=class{constructor(a,j,_e){this.state=CHANNEL_STATES.closed,this.topic=a,this.params=closure(j||{}),this.socket=_e,this.bindings=[],this.bindingRef=0,this.timeout=this.socket.timeout,this.joinedOnce=!1,this.joinPush=new Push(this,CHANNEL_EVENTS.join,this.params,this.timeout),this.pushBuffer=[],this.stateChangeRefs=[],this.rejoinTimer=new Timer(()=>{this.socket.isConnected()&&this.rejoin()},this.socket.rejoinAfterMs),this.stateChangeRefs.push(this.socket.onError(()=>this.rejoinTimer.reset())),this.stateChangeRefs.push(this.socket.onOpen(()=>{this.rejoinTimer.reset(),this.isErrored()&&this.rejoin()})),this.joinPush.receive("ok",()=>{this.state=CHANNEL_STATES.joined,this.rejoinTimer.reset(),this.pushBuffer.forEach(et=>et.send()),this.pushBuffer=[]}),this.joinPush.receive("error",()=>{this.state=CHANNEL_STATES.errored,this.socket.isConnected()&&this.rejoinTimer.scheduleTimeout()}),this.onClose(()=>{this.rejoinTimer.reset(),this.socket.hasLogger()&&this.socket.log("channel",`close ${this.topic} ${this.joinRef()}`),this.state=CHANNEL_STATES.closed,this.socket.remove(this)}),this.onError(et=>{this.socket.hasLogger()&&this.socket.log("channel",`error ${this.topic}`,et),this.isJoining()&&this.joinPush.reset(),this.state=CHANNEL_STATES.errored,this.socket.isConnected()&&this.rejoinTimer.scheduleTimeout()}),this.joinPush.receive("timeout",()=>{this.socket.hasLogger()&&this.socket.log("channel",`timeout ${this.topic} (${this.joinRef()})`,this.joinPush.timeout),new Push(this,CHANNEL_EVENTS.leave,closure({}),this.timeout).send(),this.state=CHANNEL_STATES.errored,this.joinPush.reset(),this.socket.isConnected()&&this.rejoinTimer.scheduleTimeout()}),this.on(CHANNEL_EVENTS.reply,(et,tt)=>{this.trigger(this.replyEventName(tt),et)})}join(a=this.timeout){if(this.joinedOnce)throw new Error("tried to join multiple times. 'join' can only be called a single time per channel instance");return this.timeout=a,this.joinedOnce=!0,this.rejoin(),this.joinPush}onClose(a){this.on(CHANNEL_EVENTS.close,a)}onError(a){return this.on(CHANNEL_EVENTS.error,j=>a(j))}on(a,j){let _e=this.bindingRef++;return this.bindings.push({event:a,ref:_e,callback:j}),_e}off(a,j){this.bindings=this.bindings.filter(_e=>!(_e.event===a&&(typeof j>"u"||j===_e.ref)))}canPush(){return this.socket.isConnected()&&this.isJoined()}push(a,j,_e=this.timeout){if(j=j||{},!this.joinedOnce)throw new Error(`tried to push '${a}' to '${this.topic}' before joining. Use channel.join() before pushing events`);let et=new Push(this,a,function(){return j},_e);return this.canPush()?et.send():(et.startTimeout(),this.pushBuffer.push(et)),et}leave(a=this.timeout){this.rejoinTimer.reset(),this.joinPush.cancelTimeout(),this.state=CHANNEL_STATES.leaving;let j=()=>{this.socket.hasLogger()&&this.socket.log("channel",`leave ${this.topic}`),this.trigger(CHANNEL_EVENTS.close,"leave")},_e=new Push(this,CHANNEL_EVENTS.leave,closure({}),a);return _e.receive("ok",()=>j()).receive("timeout",()=>j()),_e.send(),this.canPush()||_e.trigger("ok",{}),_e}onMessage(a,j,_e){return j}isMember(a,j,_e,et){return this.topic!==a?!1:et&&et!==this.joinRef()?(this.socket.hasLogger()&&this.socket.log("channel","dropping outdated message",{topic:a,event:j,payload:_e,joinRef:et}),!1):!0}joinRef(){return this.joinPush.ref}rejoin(a=this.timeout){this.isLeaving()||(this.socket.leaveOpenTopic(this.topic),this.state=CHANNEL_STATES.joining,this.joinPush.resend(a))}trigger(a,j,_e,et){let tt=this.onMessage(a,j,_e,et);if(j&&!tt)throw new Error("channel onMessage callbacks must return the payload, modified or unmodified");let nt=this.bindings.filter(rt=>rt.event===a);for(let rt=0;rt<nt.length;rt++)nt[rt].callback(tt,_e,et||this.joinRef())}replyEventName(a){return`chan_reply_${a}`}isClosed(){return this.state===CHANNEL_STATES.closed}isErrored(){return this.state===CHANNEL_STATES.errored}isJoined(){return this.state===CHANNEL_STATES.joined}isJoining(){return this.state===CHANNEL_STATES.joining}isLeaving(){return this.state===CHANNEL_STATES.leaving}},Ajax=class{static request(a,j,_e,et,tt,nt,rt){if(global$1.XDomainRequest){let it=new global$1.XDomainRequest;return this.xdomainRequest(it,a,j,et,tt,nt,rt)}else{let it=new global$1.XMLHttpRequest;return this.xhrRequest(it,a,j,_e,et,tt,nt,rt)}}static xdomainRequest(a,j,_e,et,tt,nt,rt){return a.timeout=tt,a.open(j,_e),a.onload=()=>{let it=this.parseJSON(a.responseText);rt&&rt(it)},nt&&(a.ontimeout=nt),a.onprogress=()=>{},a.send(et),a}static xhrRequest(a,j,_e,et,tt,nt,rt,it){return a.open(j,_e,!0),a.timeout=nt,a.setRequestHeader("Content-Type",et),a.onerror=()=>it&&it(null),a.onreadystatechange=()=>{if(a.readyState===XHR_STATES.complete&&it){let ot=this.parseJSON(a.responseText);it(ot)}},rt&&(a.ontimeout=rt),a.send(tt),a}static parseJSON(a){if(!a||a==="")return null;try{return JSON.parse(a)}catch{return console&&console.log("failed to parse JSON response",a),null}}static serialize(a,j){let _e=[];for(var et in a){if(!Object.prototype.hasOwnProperty.call(a,et))continue;let tt=j?`${j}[${et}]`:et,nt=a[et];typeof nt=="object"?_e.push(this.serialize(nt,tt)):_e.push(encodeURIComponent(tt)+"="+encodeURIComponent(nt))}return _e.join("&")}static appendParams(a,j){if(Object.keys(j).length===0)return a;let _e=a.match(/\?/)?"&":"?";return`${a}${_e}${this.serialize(j)}`}},LongPoll=class{constructor(a){this.endPoint=null,this.token=null,this.skipHeartbeat=!0,this.reqs=new Set,this.awaitingBatchAck=!1,this.currentBatch=null,this.currentBatchTimer=null,this.batchBuffer=[],this.onopen=function(){},this.onerror=function(){},this.onmessage=function(){},this.onclose=function(){},this.pollEndpoint=this.normalizeEndpoint(a),this.readyState=SOCKET_STATES.connecting,this.poll()}normalizeEndpoint(a){return a.replace("ws://","http://").replace("wss://","https://").replace(new RegExp("(.*)/"+TRANSPORTS.websocket),"$1/"+TRANSPORTS.longpoll)}endpointURL(){return Ajax.appendParams(this.pollEndpoint,{token:this.token})}closeAndRetry(a,j,_e){this.close(a,j,_e),this.readyState=SOCKET_STATES.connecting}ontimeout(){this.onerror("timeout"),this.closeAndRetry(1005,"timeout",!1)}isActive(){return this.readyState===SOCKET_STATES.open||this.readyState===SOCKET_STATES.connecting}poll(){this.ajax("GET","application/json",null,()=>this.ontimeout(),a=>{if(a){var{status:j,token:_e,messages:et}=a;this.token=_e}else j=0;switch(j){case 200:et.forEach(tt=>{setTimeout(()=>this.onmessage({data:tt}),0)}),this.poll();break;case 204:this.poll();break;case 410:this.readyState=SOCKET_STATES.open,this.onopen({}),this.poll();break;case 403:this.onerror(403),this.close(1008,"forbidden",!1);break;case 0:case 500:this.onerror(500),this.closeAndRetry(1011,"internal server error",500);break;default:throw new Error(`unhandled poll status ${j}`)}})}send(a){this.currentBatch?this.currentBatch.push(a):this.awaitingBatchAck?this.batchBuffer.push(a):(this.currentBatch=[a],this.currentBatchTimer=setTimeout(()=>{this.batchSend(this.currentBatch),this.currentBatch=null},0))}batchSend(a){this.awaitingBatchAck=!0,this.ajax("POST","application/x-ndjson",a.join(`
1336
+ `;function PasskeyAction({action:a,onClick:j,title:_e,state:et,dense:tt,icon:nt,...rt}){return jsxRuntimeExports.jsx(LoginMethodItem,{...rt,icon:et[a]?jsxRuntimeExports.jsx(CircularProgress,{size:"1em",sx:{color:"inherit","& svg":{transform:"scale(0.75)"}}}):nt,iconScale:1,title:_e,onClick:j,sx:mergeSx(tt?{p:1,backgroundColor:"transparent"}:{},rt==null?void 0:rt.sx)})}PasskeyAction.propTypes={action:PropTypes.string.isRequired,onClick:PropTypes.func.isRequired,title:PropTypes.string.isRequired,state:PropTypes.object.isRequired,dense:PropTypes.bool,icon:PropTypes.any};const PasskeyActions=reactExports.forwardRef(({action:a,behavior:j="none",onSuccess:_e,onError:et=noop$5,extraParams:tt={},createButtonText:nt="",createMode:rt="register",dense:it=!1,slotProps:ot={},sx:ut={},mode:st="normal",onClick:ct=noop$5},ft)=>{const pt=reactExports.useRef(""),yt=reactExports.useRef(null),{t:mt,loginPasskey:bt,logoutPasskey:xt,passkeyState:$t}=usePasskey(),kt=useMemoizedFn(async(Ot="")=>{try{$t.verifying=!0,$t.error="",Ot||($t.verifyingStatus="");const Ft=await bt({...tt,action:a,credentialId:Ot}),Vt=getCookieOptions({expireInDays:7});Cookies.remove("connected_did",Vt),Cookies.remove("connected_pk",Vt),Cookies.remove("connected_wallet_os",Vt),$t.verifying=!1,Ft!=null&&Ft.sessionToken&&(await _e({...Ft,encrypted:!1},Zt=>Zt),$t.verifyingStatus="succeed")}catch(Ft){logger$2.error("Failed to verify passkey",Ft);const Vt=getWebAuthnErrorMessage(Ft,mt("verifyPasskeyFailed"),mt);$t.verifying=!1,$t.error=Vt,$t.verifyingStatus="error",await xt(),et(new Error(Vt))}}),Pt=useMemoizedFn(Ot=>{if(!$t.sent)return;Ot.preventDefault();const Ft=trim(Ot.clipboardData.getData("text/plain").slice(0,VERIFY_CODE_LENGTH));if(!/^\d+$/.test(Ft))return;$t.code=Ft.padEnd(VERIFY_CODE_LENGTH," ");const Vt=document.getElementById(`code-input-${Ft.length}`);Vt&&Vt.focus()});reactExports.useEffect(()=>(document.addEventListener("paste",Pt),()=>{document.removeEventListener("paste",Pt)}),[Pt]);const Nt=useMemoizedFn(()=>{pt.current==="verifying"?kt():pt.current==="creating"&&yt.current.open()});return reactExports.useImperativeHandle(ft,()=>({click:Nt})),j==="none"?null:jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:[["both","only-existing"].includes(j)?jsxRuntimeExports.jsx(PasskeyAction,{action:"verifying",state:$t,title:mt("usePasskey"),onClick:()=>{pt.current="verifying",Nt(),ct()},dense:it,slotProps:ot,sx:ut,mode:st,icon:jsxRuntimeExports.jsx(Icon,{icon:data$D,fontSize:"1em",color:"initial"})}):null,["both","only-new"].includes(j)?jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:[jsxRuntimeExports.jsx(PasskeyAction,{action:"creating",state:$t,title:nt||mt("createPasskey"),onClick:()=>{pt.current="creating",Nt(),ct()},dense:it,slotProps:ot,sx:ut,mode:st,icon:jsxRuntimeExports.jsx(Icon,{icon:data$C,fontSize:"1em",color:"initial"})}),jsxRuntimeExports.jsx(PasskeyDialog,{ref:yt,action:a,createMode:rt,extraParams:tt,onSuccess:_e,onError:et})]}):null]})});PasskeyActions.propTypes={action:PropTypes.string.isRequired,onSuccess:PropTypes.func.isRequired,onError:PropTypes.func.isRequired,behavior:PropTypes.oneOf(["none","both","only-existing","only-new"]),createButtonText:PropTypes.string,createMode:PropTypes.string,extraParams:PropTypes.object,dense:PropTypes.bool,slotProps:PropTypes.object,sx:PropTypes.oneOfType([PropTypes.object,PropTypes.array]),mode:PropTypes.oneOf(["simple","normal"]),onClick:PropTypes.func};const PasskeyLoginItem=reactExports.forwardRef(({onSuccess:a,tokenState:j,behavior:_e="none",...et},tt)=>{const{extraParams:nt}=useStateContext(),rt=reactExports.useRef(null),it=useMemoizedFn(ot=>a({...ot,encrypted:!1},ut=>ut,{sourceAppPid:nt==null?void 0:nt.sourceAppPid,connected_app:getAppId$1(j.appInfo,j.memberAppInfo)}));return reactExports.useImperativeHandle(tt,()=>({connect:rt.current.click})),_e==="none"?null:jsxRuntimeExports.jsx(PasskeyActions,{...et,ref:rt,action:j.action,behavior:_e,onSuccess:it,extraParams:nt})});PasskeyLoginItem.propTypes={onSuccess:PropTypes.func.isRequired,tokenState:PropTypes.object.isRequired,behavior:PropTypes.oneOf(["none","both","only-existing","only-new"])};const data$B={width:24,height:24,body:'<path fill="currentColor" d="M4 20q-.825 0-1.413-.588T2 18V6q0-.825.588-1.413T4 4h16q.825 0 1.413.588T22 6v12q0 .825-.588 1.413T20 20H4ZM20 8l-7.475 4.675q-.125.075-.263.113t-.262.037q-.125 0-.263-.037t-.262-.113L4 8v10h16V8Zm-8 3l8-5H4l8 5ZM4 8v.25v-1.475v.025V6v.8v-.012V8.25V8v10V8Z"/>'};function EmailListItem({...a}){const{setSelectedPlugin:j,getPlugin:_e,connectState:et}=useStateContext(),tt=useMemoizedFn(()=>{const nt=_e(LOGIN_PROVIDER$1.EMAIL);nt.state.reset(),nt.state.status="creating",et.chooseMethod=LOGIN_PROVIDER$1.EMAIL,j(nt)});return jsxRuntimeExports.jsx(LoginMethodItem,{...a,title:LOGIN_PROVIDER_NAME[LOGIN_PROVIDER$1.EMAIL],icon:data$B,onClick:tt})}EmailListItem.propTypes={onClick:PropTypes.func};function LoadingMask({size:a=64,padding:j,borderWidth:_e,borderRadius:et,duration:tt,children:nt}){const rt=a,it=et??rt/8,ot=_e??rt/32,ut=j??rt*.25-ot,st=tt??2.5;return jsxRuntimeExports.jsxs(Box,{sx:{display:"inline-flex",justifyContent:"center",alignItems:"center",width:rt,height:rt,position:"relative"},children:[jsxRuntimeExports.jsx(Box,{sx:{pointerEvents:"none",position:"absolute",top:0,left:0,right:0,bottom:0,display:"flex",justifyContent:"center",alignItems:"center",width:rt,height:rt,overflow:"hidden",borderRadius:`${it}px`,backgroundColor:colors$2.strokeBorderBase,"&::before,&::after":{content:'""',position:"absolute",top:0,bottom:0,left:0,right:0,pointerEvents:"none"},"&::after":{left:ot,right:ot,top:ot,bottom:ot,backgroundColor:"white",borderRadius:`${it-ot}px`},"&::before":{background:`conic-gradient(from 45deg, ${colors$2.foregroundsFgInteractiveTransparent} 0%, ${colors$2.foregroundsFgInteractiveTransparent} 50%, ${colors$2.foregroundsFgInteractive} 90%, ${colors$2.foregroundsFgInteractive} 100%)`,transform:"scale(100)",animation:`rotate ${st}s linear infinite`,"@keyframes rotate":{"0%":{transform:"scale(100) rotate(0deg)"},"100%":{transform:"scale(100) rotate(360deg)"}}}}}),jsxRuntimeExports.jsx(Box,{sx:{position:"relative",display:"flex",justifyContent:"center",alignItems:"center",width:rt-ut-ot,height:rt-ut-ot},children:nt})]})}const data$A={width:256,height:315,body:'<path d="M213.803 167.03c.442 47.58 41.74 63.413 42.197 63.615c-.35 1.116-6.599 22.563-21.757 44.716c-13.104 19.153-26.705 38.235-48.13 38.63c-21.05.388-27.82-12.483-51.888-12.483c-24.061 0-31.582 12.088-51.51 12.871c-20.68.783-36.428-20.71-49.64-39.793c-27-39.033-47.633-110.3-19.928-158.406c13.763-23.89 38.36-39.017 65.056-39.405c20.307-.387 39.475 13.662 51.889 13.662c12.406 0 35.699-16.895 60.186-14.414c10.25.427 39.026 4.14 57.503 31.186c-1.49.923-34.335 20.044-33.978 59.822M174.24 50.199c10.98-13.29 18.369-31.79 16.353-50.199c-15.826.636-34.962 10.546-46.314 23.828c-10.173 11.763-19.082 30.589-16.678 48.633c17.64 1.365 35.66-8.964 46.64-22.262"/>'},data$z={width:256,height:250,body:'<path fill="#161614" d="M128.001 0C57.317 0 0 57.307 0 128.001c0 56.554 36.676 104.535 87.535 121.46c6.397 1.185 8.746-2.777 8.746-6.158c0-3.052-.12-13.135-.174-23.83c-35.61 7.742-43.124-15.103-43.124-15.103c-5.823-14.795-14.213-18.73-14.213-18.73c-11.613-7.944.876-7.78.876-7.78c12.853.902 19.621 13.19 19.621 13.19c11.417 19.568 29.945 13.911 37.249 10.64c1.149-8.272 4.466-13.92 8.127-17.116c-28.431-3.236-58.318-14.212-58.318-63.258c0-13.975 5-25.394 13.188-34.358c-1.329-3.224-5.71-16.242 1.24-33.874c0 0 10.749-3.44 35.21 13.121c10.21-2.836 21.16-4.258 32.038-4.307c10.878.049 21.837 1.47 32.066 4.307c24.431-16.56 35.165-13.12 35.165-13.12c6.967 17.63 2.584 30.65 1.255 33.873c8.207 8.964 13.173 20.383 13.173 34.358c0 49.163-29.944 59.988-58.447 63.157c4.591 3.972 8.682 11.762 8.682 23.704c0 17.126-.148 30.91-.148 35.126c0 3.407 2.304 7.398 8.792 6.14C219.37 232.5 256 184.537 256 128.002C256 57.307 198.691 0 128.001 0Zm-80.06 182.34c-.282.636-1.283.827-2.194.39c-.929-.417-1.45-1.284-1.15-1.922c.276-.655 1.279-.838 2.205-.399c.93.418 1.46 1.293 1.139 1.931Zm6.296 5.618c-.61.566-1.804.303-2.614-.591c-.837-.892-.994-2.086-.375-2.66c.63-.566 1.787-.301 2.626.591c.838.903 1 2.088.363 2.66Zm4.32 7.188c-.785.545-2.067.034-2.86-1.104c-.784-1.138-.784-2.503.017-3.05c.795-.547 2.058-.055 2.861 1.075c.782 1.157.782 2.522-.019 3.08Zm7.304 8.325c-.701.774-2.196.566-3.29-.49c-1.119-1.032-1.43-2.496-.726-3.27c.71-.776 2.213-.558 3.315.49c1.11 1.03 1.45 2.505.701 3.27Zm9.442 2.81c-.31 1.003-1.75 1.459-3.199 1.033c-1.448-.439-2.395-1.613-2.103-2.626c.301-1.01 1.747-1.484 3.207-1.028c1.446.436 2.396 1.602 2.095 2.622Zm10.744 1.193c.036 1.055-1.193 1.93-2.715 1.95c-1.53.034-2.769-.82-2.786-1.86c0-1.065 1.202-1.932 2.733-1.958c1.522-.03 2.768.818 2.768 1.868Zm10.555-.405c.182 1.03-.875 2.088-2.387 2.37c-1.485.271-2.861-.365-3.05-1.386c-.184-1.056.893-2.114 2.376-2.387c1.514-.263 2.868.356 3.061 1.403Z"/>'},data$y={width:256,height:262,body:'<path fill="#4285F4" d="M255.878 133.451c0-10.734-.871-18.567-2.756-26.69H130.55v48.448h71.947c-1.45 12.04-9.283 30.172-26.69 42.356l-.244 1.622l38.755 30.023l2.685.268c24.659-22.774 38.875-56.282 38.875-96.027"/><path fill="#34A853" d="M130.55 261.1c35.248 0 64.839-11.605 86.453-31.622l-41.196-31.913c-11.024 7.688-25.82 13.055-45.257 13.055c-34.523 0-63.824-22.773-74.269-54.25l-1.531.13l-40.298 31.187l-.527 1.465C35.393 231.798 79.49 261.1 130.55 261.1"/><path fill="#FBBC05" d="M56.281 156.37c-2.756-8.123-4.351-16.827-4.351-25.82c0-8.994 1.595-17.697 4.206-25.82l-.073-1.73L15.26 71.312l-1.335.635C5.077 89.644 0 109.517 0 130.55s5.077 40.905 13.925 58.602l42.356-32.782"/><path fill="#EB4335" d="M130.55 50.479c24.514 0 41.05 10.589 50.479 19.438l36.844-35.974C195.245 12.91 165.798 0 130.55 0C79.49 0 35.393 29.301 13.925 71.947l42.211 32.783c10.59-31.477 39.891-54.251 74.414-54.251"/>'},data$x={width:256,height:285,body:'<path d="M220.412 0h-92.415l28.562 89.006h92.416l-74.77 53.077l28.57 89.511c48.128-35.06 63.854-88.12 46.208-142.588L220.413 0ZM7.018 89.006h92.416L127.997 0H35.589L7.019 89.006c-17.655 54.468-1.92 107.529 46.207 142.588l28.563-89.51l-74.77-53.078Zm46.208 142.588l74.77 52.97l74.77-52.97l-74.77-53.847l-74.77 53.847Z"/>'};function ProviderIcon({provider:a,...j}){if(["wallet","wallet-web"].includes(a))return jsxRuntimeExports.jsx(DIDWalletLogo,{width:"100%",height:"100%"});const _e={[LOGIN_PROVIDER$1.AUTH0]:data$x,[LOGIN_PROVIDER$1.EMAIL]:data$B,[LOGIN_PROVIDER$1.APPLE]:data$A,[LOGIN_PROVIDER$1.GITHUB]:data$z,[LOGIN_PROVIDER$1.GOOGLE]:data$y,[LOGIN_PROVIDER$1.PASSKEY]:data$D};return _e[a]?jsxRuntimeExports.jsx(Box,{component:Icon,icon:_e[a],width:"100%",height:"100%",color:"initial",...j}):null}ProviderIcon.propTypes={provider:PropTypes.oneOf([...Object.values(LOGIN_PROVIDER$1),"wallet-web"])};function ActionButton({...a}){return jsxRuntimeExports.jsx(Button,{variant:"outlined",color:"inherit",...a,sx:mergeSx({borderRadius:2,borderColor:colors$2.strokeBorderBase,fontWeight:500,fontSize:12,py:.5},a.sx)})}function BackButton({onClick:a}){const{locale:j}=useStateContext(),_e=translations$c[j]||translations$c.en;return jsxRuntimeExports.jsx(ActionButton,{onClick:a,children:_e.back})}BackButton.propTypes={onClick:PropTypes.func.isRequired};function EmailPlaceholder({fallback:a,state:j,forceUpdate:_e,onSuccess:et,t:tt}){const{setSelectedPlugin:nt,locale:rt,connectState:it,action:ot,extraParams:ut}=useStateContext(),st=useMemoizedFn((Pt,Nt={})=>tt(Pt,Nt,rt)),ct=useCreation(()=>createAxios({baseURL:joinURL$2(j.baseUrl,BLOCKLET_SERVICE_PATH_PREFIX,"/api/user")}),[j.baseUrl]),ft=useReactive({email:"",code:"",codeId:"",defaultVerifyMode:"magicLink",verifyMode:"magicLink",loadingSendCode:!1,loadingVerifyCode:!1}),pt=useMemoizedFn(()=>{ft.email="",ft.code="",ft.codeId="",ft.verifyMode=ft.defaultVerifyMode,ft.loadingSendCode=!1,ft.loadingVerifyCode=!1}),yt=useMemoizedFn(async()=>{var Pt;if(!(!ft.email||!ft.email.trim()))try{ft.loadingSendCode=!0;let Nt=!1;["login"].includes(ot)&&(it.sourceAppPid||(Nt=!0));const{data:Ot}=await ct.post(withQuery$1("/email/sendCode",{locale:rt}),{email:ft.email,sourceAppPid:it.sourceAppPid,useMagicLink:Nt});ft.verifyMode=ft.defaultVerifyMode,ft.codeId=Ot.id,j.status="sending"}catch(Nt){const Ot=((Pt=Nt==null?void 0:Nt.response)==null?void 0:Pt.data)||(Nt==null?void 0:Nt.message);j.status="error",j.error=Ot}finally{ft.loadingSendCode=!1,_e()}}),mt=useMemoizedFn(async()=>{var Pt;if(ft.code.length===VERIFY_CODE_LENGTH$1)try{ft.loadingVerifyCode=!0;const{data:Nt}=await ct.post(withQuery$1("/email/login",{locale:rt}),{...ut,action:ot,code:ft.code,sourceAppPid:it.sourceAppPid});debug$4("Email login succeed (use code)",{loginResult:Nt}),await et({...Nt,encrypted:!1},Ot=>Ot),j.status="succeed"}catch(Nt){const Ot=((Pt=Nt==null?void 0:Nt.response)==null?void 0:Pt.data)||(Nt==null?void 0:Nt.message);j.status="error",j.error=Ot,debug$4("Email login failed (use code)",{error:Nt})}finally{ft.loadingVerifyCode=!1,_e()}}),bt=useMemoizedFn(async()=>{var Pt;j.status="verifying";try{const{data:Nt}=await ct.post(withQuery$1("/email/login",{locale:rt}),{...ut,action:ot,magicToken:j.magicToken});debug$4("Email login succeed (use magic link)",{loginResult:Nt}),await et({...Nt,encrypted:!1},Ot=>Ot),j.status="succeed"}catch(Nt){const Ot=((Pt=Nt==null?void 0:Nt.response)==null?void 0:Pt.data)||(Nt==null?void 0:Nt.message);j.status="error",j.error=Ot,debug$4("Email login failed (use magic link)",{error:Nt})}_e()}),xt=useMemoizedFn(async()=>{try{const{data:Pt}=await ct.get("/email/status",{params:{codeId:ft.codeId}});Pt.verified&&(j.status="succeed",pt(),await et({encrypted:!1},Nt=>Nt))}catch(Pt){console.error("check status error",Pt)}_e()}),$t=j.status==="sending"&&!ft.loadingVerifyCode&&ft.codeId;useInterval$3(xt,$t?CHECK_STATUS_INTERVAL:void 0),useMount(()=>{pt(),(it.sourceAppPid||!["login"].includes(ot))&&(ft.defaultVerifyMode="code"),j.magicToken&&bt()});let kt=null;if(j.status==="creating")kt=jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:[jsxRuntimeExports.jsx(Typography$1,{variant:"body2",sx:{textAlign:"center",color:colors$1.text.secondary},children:st("emailPlaceholder")}),jsxRuntimeExports.jsx(TextField,{name:"email",fullWidth:!0,type:"email",variant:"outlined",label:st("email"),placeholder:st("emailPlaceholder"),size:"small",value:ft.email,onChange:Pt=>{ft.email=Pt.target.value},inputProps:{sx:{boxSizing:"content-box !important"}},sx:{maxWidth:320,"& .MuiOutlinedInput-root":{borderRadius:2}}}),jsxRuntimeExports.jsxs(Box,{sx:{display:"flex",gap:1},children:[jsxRuntimeExports.jsx(BackButton,{onClick:()=>{j.reset(),nt()}}),jsxRuntimeExports.jsxs(ActionButton,{sx:{color:colors$1.primary.main,borderColor:colors$1.primary.light},disabled:ft.loadingSendCode,onClick:()=>{yt(ft.email)},children:[ft.loadingSendCode?jsxRuntimeExports.jsx(CircularProgress,{color:"inherit",size:14,sx:{mr:1}}):null,st("sendCode")]})]})]});else if(j.status==="sending")kt=jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:[jsxRuntimeExports.jsxs(Box,{sx:{display:"flex",flexDirection:"column",alignItems:"center"},children:[jsxRuntimeExports.jsx(Typography$1,{variant:"body2",sx:{textAlign:"center",color:colors$1.text.secondary},children:ft.verifyMode==="magicLink"?st("verifyEmail"):st("codePlaceholder")}),ft.verifyMode==="magicLink"?jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:[jsxRuntimeExports.jsx(Link$2,{underline:"none",variant:"caption",component:"button",sx:{mb:2},onClick:()=>{ft.verifyMode="code",_e()},children:st("useCode")}),jsxRuntimeExports.jsx(BackButton,{onClick:()=>{j.status="creating",_e()}})]}):null]}),ft.verifyMode==="code"&&jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:[jsxRuntimeExports.jsx(Box,{sx:{width:"100%",maxWidth:360,display:"flex",justifyContent:"space-between",gap:1.5},children:[...Array(VERIFY_CODE_LENGTH$1)].map((Pt,Nt)=>jsxRuntimeExports.jsx(TextField,{id:`code-input-${Nt}`,value:trim(ft.code[Nt])||"",type:"number",inputProps:{maxLength:1,sx:{textAlign:"center",fontSize:"1.5rem","&::-webkit-inner-spin-button, &::-webkit-outer-spin-button":{WebkitAppearance:"none",margin:0}},autoComplete:"off",pattern:"[0-9]",inputMode:"numeric"},onChange:Ot=>{var Vt;const Ft=ft.code.split("");Ft[Nt]=Ot.target.value,ft.code=Ft.join(""),Ot.target.value&&Nt<5&&((Vt=document.getElementById(`code-input-${Nt+1}`))==null||Vt.focus())},onKeyDown:Ot=>{var Ft;Ot.key==="Backspace"&&!trim(ft.code[Nt])&&Nt>0&&((Ft=document.getElementById(`code-input-${Nt-1}`))==null||Ft.focus())},required:!0,autoComplete:"off"},`code-input-${Nt}`))}),jsxRuntimeExports.jsxs(Box,{sx:{display:"flex",gap:1},children:[jsxRuntimeExports.jsx(BackButton,{onClick:()=>{ft.code="",j.status="creating",_e()}}),jsxRuntimeExports.jsxs(ActionButton,{sx:{color:colors$1.primary.main,borderColor:colors$1.primary.light},disabled:ft.loadingVerifyCode,onClick:()=>{mt()},children:[ft.loadingVerifyCode?jsxRuntimeExports.jsx(CircularProgress,{color:"inherit",size:14,sx:{mr:1}}):null,st("confirm")]})]})]})]});else return a;return jsxRuntimeExports.jsxs(Box,{sx:{display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",gap:2,pb:1},children:[jsxRuntimeExports.jsx(LoadingMask,{size:52,borderRadius:12,children:jsxRuntimeExports.jsx(ProviderIcon,{provider:"email"})}),kt]})}EmailPlaceholder.propTypes={fallback:PropTypes.any,state:PropTypes.object,forceUpdate:PropTypes.func,onSuccess:PropTypes.func,t:PropTypes.func};function useEmailPlugin({baseUrl:a}){const j=useReactive({baseUrl:a,status:"idle",get computedStatus(){return this.status==="idle"?"creating":this.status==="creating"||this.status==="sending"||this.status==="verifying"?"scanned":this.status},error:"",magicToken:"",reset(){this.status="idle",this.error="",this.magicToken=""}}),_e=LOGIN_PROVIDER$1.EMAIL,et="Email",tt=data$B,nt={zh:{email:"邮箱地址",emailPlaceholder:"请输入邮箱地址",sendCode:"发送验证码",confirm:"确认",verifyEmail:"登录链接已发送至邮箱,请登录邮箱查看",useCode:"使用验证码",codePlaceholder:"请输入验证码"},en:{email:"Email",emailPlaceholder:"Enter your email address",sendCode:"Send Verification Code",confirm:"Confirm",verifyEmail:"Login link sent! Please check your email.",useCode:"Use Verification Code",codePlaceholder:"Enter your verification code"}},rt=useMemoizedFn((it,ot={},ut="en")=>translate(nt,it,ut,"en",ot));return{name:_e,title:et,icon:tt,renderListItem(it){return jsxRuntimeExports.jsx(EmailListItem,{...it,state:j,name:_e,title:et,icon:tt,t:rt})},renderPlaceholder(it){return jsxRuntimeExports.jsx(EmailPlaceholder,{...it,state:j,name:_e,title:et,icon:tt,t:rt})},order:100,state:j}}function ConnectChooseList({onSuccess:a=noop$5,onError:j=noop$5,size:_e="small",tokenState:et,webWalletUrl:tt=getWebWalletUrl$1(),tokenKey:nt,passkeyBehavior:rt="none",onRest:it=noop$5,showMobileLogin:ot=!0,showOAuthLogin:ut=!0,showPasskeyLogin:st=!0,showWebLogin:ct=!0,showEmailLogin:ft=!0,oauthProviderList:pt=[],slotProps:yt,disableSwitchApp:mt=!1,forceUpdate:bt=noop$5,magicToken:xt,baseUrl:$t="/"}){var vt;const kt=reactExports.useRef(null),Pt=reactExports.useRef(null),Nt=reactExports.useRef(null),{loginOAuth:Ot,logoutOAuth:Ft,t:Vt,oauthState:Zt}=useOAuth(),{passkeyState:on}=usePasskey(),{extraParams:Ht,locale:It,connectState:Tt,plugins:dt,setPlugins:ht,setSelectedPlugin:Et,getPlugin:St}=useStateContext(),Rt=useMemoizedFn(async Lt=>{et.reset(),Zt.reset({status:"scanned"}),on.reset(),Tt.chooseMethod=Lt.provider;const Yt=Ht==null?void 0:Ht.sourceAppPid;try{Zt.loading=!0,Zt.status="scanned";const jt=await Ot(Lt,{action:et.action,...Ht}),Gt=getCookieOptions({returnDomain:!1});Cookies.remove("connected_did",Gt),Cookies.remove("connected_pk",Gt),Cookies.remove("connected_wallet_os",Gt),jt!=null&&jt.sessionToken&&(await a({...jt,encrypted:!1},Wt=>Wt,{sourceAppPid:Yt,connected_app:getAppId$1(et.appInfo,et.memberAppInfo)}),Zt.loading=!1,Zt.status="succeed")}catch(jt){logger$2.error(`Failed login OAuth: ${Lt.provider}`,jt);const Gt=getApiErrorMessage(jt,Vt("loginOAuthFailed"));Zt.loading=!1,Zt.error=Gt,Zt.status="error",await Ft({provider:Lt.provider}),j(new Error(Gt))}}),wt=useMemoizedFn(async()=>{et.reset(),await it(),et.status="created",Tt.chooseMethod="wallet"}),Ct=useEmailPlugin({baseUrl:$t}),At=useMemoizedFn(()=>{if(xt&&ft&&dt.some(Lt=>Lt.name===LOGIN_PROVIDER$1.EMAIL)){const Lt=St(LOGIN_PROVIDER$1.EMAIL);Lt.state.status==="idle"&&(Lt.state.reset(),Lt.state.magicToken=xt,Tt.chooseMethod=LOGIN_PROVIDER$1.EMAIL,Et(Lt),bt())}});return reactExports.useEffect(()=>{const Lt=[];ft&&Lt.push(Ct),ht(Lt),Tt.retryConnect=wt,setTimeout(()=>{At()},100)},[ft]),jsxRuntimeExports.jsx(Box,{className:"did-connect__choose",sx:mergeSx({flex:1},(vt=yt==null?void 0:yt.root)==null?void 0:vt.sx),children:jsxRuntimeExports.jsx(Box,{sx:{display:"flex",flexDirection:"column",gap:2},children:jsxRuntimeExports.jsxs(Box,{sx:[{display:"flex",flexDirection:"column",gap:1.5}],children:[ot&&_e!=="small"&&jsxRuntimeExports.jsx(MobileLoginItem,{ref:kt,tokenState:et,sx:[_e==="small"?{p:1}:{p:2}],locale:It,tokenKey:nt,disableSwitchApp:mt,onClick:async()=>{var Yt;et.reset(),await it(),et.status="created",Tt.chooseMethod="wallet";const Lt=(Yt=kt.current)==null?void 0:Yt.connect;Tt.retryConnect=()=>{Lt(wt)}}}),ct&&jsxRuntimeExports.jsx(WebLoginItem,{ref:Pt,tokenState:et,webWalletUrl:tt,sx:[_e==="small"?{p:1}:{p:2}],disableSwitchApp:mt,onClick:()=>{et.status="scanned",Tt.chooseMethod="wallet-web";const Lt=Pt.current.connect;Tt.retryConnect=async()=>{await it(),et.error="",et.status="scanned",Lt()}}}),ut||st||ft?jsxRuntimeExports.jsxs(Box,{sx:[{display:"flex",flexDirection:"column",gap:1.5}],children:[dt.map(Lt=>Lt.renderListItem({key:Lt.name,sx:[_e==="small"?{p:1}:{p:2}],forceUpdate:bt})),ut?pt.map(Lt=>jsxRuntimeExports.jsx(LoginMethodItem,{title:LOGIN_PROVIDER_NAME[Lt.provider],icon:jsxRuntimeExports.jsx(ProviderIcon,{provider:Lt.provider,sx:{transform:"scale(0.95)",width:24,height:24}}),onClick:()=>{Rt(Lt),Tt.retryConnect=()=>{Rt(Lt)}},sx:[_e==="small"?{p:1}:{p:2}]},Lt.provider)):null,st?jsxRuntimeExports.jsx(PasskeyLoginItem,{ref:Nt,onSuccess:a,onError:j,tokenState:et,behavior:rt,sx:[_e==="small"?{p:1}:{p:2}],onClick:()=>{const Lt=Nt.current.connect;Tt.chooseMethod="passkey",Tt.retryConnect=()=>{on.verifying=!0,Tt.chooseMethod="passkey",Lt()}},slotProps:{icon:{sx:{fontSize:24,"& svg":{fontSize:24,width:"1em",height:"1em"}}}}}):null]}):null]})})})}ConnectChooseList.propTypes={onSuccess:PropTypes.func,onError:PropTypes.func,size:PropTypes.oneOf(["small","normal","large"]),tokenState:PropTypes.object,webWalletUrl:PropTypes.string,tokenKey:PropTypes.string,passkeyBehavior:PropTypes.oneOf(["none","both","only-existing","only-new"]),onRest:PropTypes.func,showMobileLogin:PropTypes.bool,showOAuthLogin:PropTypes.bool,showPasskeyLogin:PropTypes.bool,showWebLogin:PropTypes.bool,showEmailLogin:PropTypes.bool,oauthProviderList:PropTypes.array,slotProps:PropTypes.object,disableSwitchApp:PropTypes.bool,forceUpdate:PropTypes.func,magicToken:PropTypes.string,baseUrl:PropTypes.string};function AutoHeight({children:a,initHeight:j,slotProps:_e}){var it;const[et,tt]=reactExports.useState(j),nt=reactExports.useRef(null),rt=useSize(nt);return reactExports.useEffect(()=>{rt!=null&&rt.height&&tt(rt.height)},[rt==null?void 0:rt.height]),jsxRuntimeExports.jsx(Box,{..._e==null?void 0:_e.root,sx:{height:et,overflow:"hidden",transition:"height 0.2s ease-in-out",...(it=_e==null?void 0:_e.root)==null?void 0:it.sx},children:jsxRuntimeExports.jsx(Box,{..._e==null?void 0:_e.container,ref:nt,children:a})})}AutoHeight.propTypes={initHeight:PropTypes.number,children:PropTypes.node.isRequired,slotProps:PropTypes.object};AutoHeight.defaultProps={initHeight:0,slotProps:{}};var CLONE_DEEP_FLAG=1,CLONE_SYMBOLS_FLAG=4;function cloneDeep(a){return baseClone(a,CLONE_DEEP_FLAG|CLONE_SYMBOLS_FLAG)}const cloneDeep$1=Object.freeze(Object.defineProperty({__proto__:null,default:cloneDeep},Symbol.toStringTag,{value:"Module"}));var eventemitter3$1={exports:{}};(function(a){var j=Object.prototype.hasOwnProperty,_e="~";function et(){}Object.create&&(et.prototype=Object.create(null),new et().__proto__||(_e=!1));function tt(ot,ut,st){this.fn=ot,this.context=ut,this.once=st||!1}function nt(ot,ut,st,ct,ft){if(typeof st!="function")throw new TypeError("The listener must be a function");var pt=new tt(st,ct||ot,ft),yt=_e?_e+ut:ut;return ot._events[yt]?ot._events[yt].fn?ot._events[yt]=[ot._events[yt],pt]:ot._events[yt].push(pt):(ot._events[yt]=pt,ot._eventsCount++),ot}function rt(ot,ut){--ot._eventsCount===0?ot._events=new et:delete ot._events[ut]}function it(){this._events=new et,this._eventsCount=0}it.prototype.eventNames=function(){var ut=[],st,ct;if(this._eventsCount===0)return ut;for(ct in st=this._events)j.call(st,ct)&&ut.push(_e?ct.slice(1):ct);return Object.getOwnPropertySymbols?ut.concat(Object.getOwnPropertySymbols(st)):ut},it.prototype.listeners=function(ut){var st=_e?_e+ut:ut,ct=this._events[st];if(!ct)return[];if(ct.fn)return[ct.fn];for(var ft=0,pt=ct.length,yt=new Array(pt);ft<pt;ft++)yt[ft]=ct[ft].fn;return yt},it.prototype.listenerCount=function(ut){var st=_e?_e+ut:ut,ct=this._events[st];return ct?ct.fn?1:ct.length:0},it.prototype.emit=function(ut,st,ct,ft,pt,yt){var mt=_e?_e+ut:ut;if(!this._events[mt])return!1;var bt=this._events[mt],xt=arguments.length,$t,kt;if(bt.fn){switch(bt.once&&this.removeListener(ut,bt.fn,void 0,!0),xt){case 1:return bt.fn.call(bt.context),!0;case 2:return bt.fn.call(bt.context,st),!0;case 3:return bt.fn.call(bt.context,st,ct),!0;case 4:return bt.fn.call(bt.context,st,ct,ft),!0;case 5:return bt.fn.call(bt.context,st,ct,ft,pt),!0;case 6:return bt.fn.call(bt.context,st,ct,ft,pt,yt),!0}for(kt=1,$t=new Array(xt-1);kt<xt;kt++)$t[kt-1]=arguments[kt];bt.fn.apply(bt.context,$t)}else{var Pt=bt.length,Nt;for(kt=0;kt<Pt;kt++)switch(bt[kt].once&&this.removeListener(ut,bt[kt].fn,void 0,!0),xt){case 1:bt[kt].fn.call(bt[kt].context);break;case 2:bt[kt].fn.call(bt[kt].context,st);break;case 3:bt[kt].fn.call(bt[kt].context,st,ct);break;case 4:bt[kt].fn.call(bt[kt].context,st,ct,ft);break;default:if(!$t)for(Nt=1,$t=new Array(xt-1);Nt<xt;Nt++)$t[Nt-1]=arguments[Nt];bt[kt].fn.apply(bt[kt].context,$t)}}return!0},it.prototype.on=function(ut,st,ct){return nt(this,ut,st,ct,!1)},it.prototype.once=function(ut,st,ct){return nt(this,ut,st,ct,!0)},it.prototype.removeListener=function(ut,st,ct,ft){var pt=_e?_e+ut:ut;if(!this._events[pt])return this;if(!st)return rt(this,pt),this;var yt=this._events[pt];if(yt.fn)yt.fn===st&&(!ft||yt.once)&&(!ct||yt.context===ct)&&rt(this,pt);else{for(var mt=0,bt=[],xt=yt.length;mt<xt;mt++)(yt[mt].fn!==st||ft&&!yt[mt].once||ct&&yt[mt].context!==ct)&&bt.push(yt[mt]);bt.length?this._events[pt]=bt.length===1?bt[0]:bt:rt(this,pt)}return this},it.prototype.removeAllListeners=function(ut){var st;return ut?(st=_e?_e+ut:ut,this._events[st]&&rt(this,st)):(this._events=new et,this._eventsCount=0),this},it.prototype.off=it.prototype.removeListener,it.prototype.addListener=it.prototype.on,it.prefixed=_e,it.EventEmitter=it,a.exports=it})(eventemitter3$1);var eventemitter3Exports$1=eventemitter3$1.exports,__defProp$2=Object.defineProperty,__getOwnPropDesc$1=Object.getOwnPropertyDescriptor,__getOwnPropNames$1=Object.getOwnPropertyNames,__hasOwnProp$2=Object.prototype.hasOwnProperty,__export$1=(a,j)=>{for(var _e in j)__defProp$2(a,_e,{get:j[_e],enumerable:!0})},__copyProps$1=(a,j,_e,et)=>{if(j&&typeof j=="object"||typeof j=="function")for(let tt of __getOwnPropNames$1(j))!__hasOwnProp$2.call(a,tt)&&tt!==_e&&__defProp$2(a,tt,{get:()=>j[tt],enumerable:!(et=__getOwnPropDesc$1(j,tt))||et.enumerable});return a},__toCommonJS$1=a=>__copyProps$1(__defProp$2({},"__esModule",{value:!0}),a),phoenix_exports={};__export$1(phoenix_exports,{Channel:()=>Channel,LongPoll:()=>LongPoll,Presence:()=>Presence,Serializer:()=>serializer_default,Socket:()=>Socket$1});var phoenix_cjs=__toCommonJS$1(phoenix_exports),closure=a=>typeof a=="function"?a:function(){return a},globalSelf=typeof self<"u"?self:null,phxWindow=typeof window<"u"?window:null,global$1=globalSelf||phxWindow||global$1,DEFAULT_VSN="2.0.0",SOCKET_STATES={connecting:0,open:1,closing:2,closed:3},DEFAULT_TIMEOUT=1e4,WS_CLOSE_NORMAL=1e3,CHANNEL_STATES={closed:"closed",errored:"errored",joined:"joined",joining:"joining",leaving:"leaving"},CHANNEL_EVENTS={close:"phx_close",error:"phx_error",join:"phx_join",reply:"phx_reply",leave:"phx_leave"},TRANSPORTS={longpoll:"longpoll",websocket:"websocket"},XHR_STATES={complete:4},Push=class{constructor(a,j,_e,et){this.channel=a,this.event=j,this.payload=_e||function(){return{}},this.receivedResp=null,this.timeout=et,this.timeoutTimer=null,this.recHooks=[],this.sent=!1}resend(a){this.timeout=a,this.reset(),this.send()}send(){this.hasReceived("timeout")||(this.startTimeout(),this.sent=!0,this.channel.socket.push({topic:this.channel.topic,event:this.event,payload:this.payload(),ref:this.ref,join_ref:this.channel.joinRef()}))}receive(a,j){return this.hasReceived(a)&&j(this.receivedResp.response),this.recHooks.push({status:a,callback:j}),this}reset(){this.cancelRefEvent(),this.ref=null,this.refEvent=null,this.receivedResp=null,this.sent=!1}matchReceive({status:a,response:j,_ref:_e}){this.recHooks.filter(et=>et.status===a).forEach(et=>et.callback(j))}cancelRefEvent(){this.refEvent&&this.channel.off(this.refEvent)}cancelTimeout(){clearTimeout(this.timeoutTimer),this.timeoutTimer=null}startTimeout(){this.timeoutTimer&&this.cancelTimeout(),this.ref=this.channel.socket.makeRef(),this.refEvent=this.channel.replyEventName(this.ref),this.channel.on(this.refEvent,a=>{this.cancelRefEvent(),this.cancelTimeout(),this.receivedResp=a,this.matchReceive(a)}),this.timeoutTimer=setTimeout(()=>{this.trigger("timeout",{})},this.timeout)}hasReceived(a){return this.receivedResp&&this.receivedResp.status===a}trigger(a,j){this.channel.trigger(this.refEvent,{status:a,response:j})}},Timer=class{constructor(a,j){this.callback=a,this.timerCalc=j,this.timer=null,this.tries=0}reset(){this.tries=0,clearTimeout(this.timer)}scheduleTimeout(){clearTimeout(this.timer),this.timer=setTimeout(()=>{this.tries=this.tries+1,this.callback()},this.timerCalc(this.tries+1))}},Channel=class{constructor(a,j,_e){this.state=CHANNEL_STATES.closed,this.topic=a,this.params=closure(j||{}),this.socket=_e,this.bindings=[],this.bindingRef=0,this.timeout=this.socket.timeout,this.joinedOnce=!1,this.joinPush=new Push(this,CHANNEL_EVENTS.join,this.params,this.timeout),this.pushBuffer=[],this.stateChangeRefs=[],this.rejoinTimer=new Timer(()=>{this.socket.isConnected()&&this.rejoin()},this.socket.rejoinAfterMs),this.stateChangeRefs.push(this.socket.onError(()=>this.rejoinTimer.reset())),this.stateChangeRefs.push(this.socket.onOpen(()=>{this.rejoinTimer.reset(),this.isErrored()&&this.rejoin()})),this.joinPush.receive("ok",()=>{this.state=CHANNEL_STATES.joined,this.rejoinTimer.reset(),this.pushBuffer.forEach(et=>et.send()),this.pushBuffer=[]}),this.joinPush.receive("error",()=>{this.state=CHANNEL_STATES.errored,this.socket.isConnected()&&this.rejoinTimer.scheduleTimeout()}),this.onClose(()=>{this.rejoinTimer.reset(),this.socket.hasLogger()&&this.socket.log("channel",`close ${this.topic} ${this.joinRef()}`),this.state=CHANNEL_STATES.closed,this.socket.remove(this)}),this.onError(et=>{this.socket.hasLogger()&&this.socket.log("channel",`error ${this.topic}`,et),this.isJoining()&&this.joinPush.reset(),this.state=CHANNEL_STATES.errored,this.socket.isConnected()&&this.rejoinTimer.scheduleTimeout()}),this.joinPush.receive("timeout",()=>{this.socket.hasLogger()&&this.socket.log("channel",`timeout ${this.topic} (${this.joinRef()})`,this.joinPush.timeout),new Push(this,CHANNEL_EVENTS.leave,closure({}),this.timeout).send(),this.state=CHANNEL_STATES.errored,this.joinPush.reset(),this.socket.isConnected()&&this.rejoinTimer.scheduleTimeout()}),this.on(CHANNEL_EVENTS.reply,(et,tt)=>{this.trigger(this.replyEventName(tt),et)})}join(a=this.timeout){if(this.joinedOnce)throw new Error("tried to join multiple times. 'join' can only be called a single time per channel instance");return this.timeout=a,this.joinedOnce=!0,this.rejoin(),this.joinPush}onClose(a){this.on(CHANNEL_EVENTS.close,a)}onError(a){return this.on(CHANNEL_EVENTS.error,j=>a(j))}on(a,j){let _e=this.bindingRef++;return this.bindings.push({event:a,ref:_e,callback:j}),_e}off(a,j){this.bindings=this.bindings.filter(_e=>!(_e.event===a&&(typeof j>"u"||j===_e.ref)))}canPush(){return this.socket.isConnected()&&this.isJoined()}push(a,j,_e=this.timeout){if(j=j||{},!this.joinedOnce)throw new Error(`tried to push '${a}' to '${this.topic}' before joining. Use channel.join() before pushing events`);let et=new Push(this,a,function(){return j},_e);return this.canPush()?et.send():(et.startTimeout(),this.pushBuffer.push(et)),et}leave(a=this.timeout){this.rejoinTimer.reset(),this.joinPush.cancelTimeout(),this.state=CHANNEL_STATES.leaving;let j=()=>{this.socket.hasLogger()&&this.socket.log("channel",`leave ${this.topic}`),this.trigger(CHANNEL_EVENTS.close,"leave")},_e=new Push(this,CHANNEL_EVENTS.leave,closure({}),a);return _e.receive("ok",()=>j()).receive("timeout",()=>j()),_e.send(),this.canPush()||_e.trigger("ok",{}),_e}onMessage(a,j,_e){return j}isMember(a,j,_e,et){return this.topic!==a?!1:et&&et!==this.joinRef()?(this.socket.hasLogger()&&this.socket.log("channel","dropping outdated message",{topic:a,event:j,payload:_e,joinRef:et}),!1):!0}joinRef(){return this.joinPush.ref}rejoin(a=this.timeout){this.isLeaving()||(this.socket.leaveOpenTopic(this.topic),this.state=CHANNEL_STATES.joining,this.joinPush.resend(a))}trigger(a,j,_e,et){let tt=this.onMessage(a,j,_e,et);if(j&&!tt)throw new Error("channel onMessage callbacks must return the payload, modified or unmodified");let nt=this.bindings.filter(rt=>rt.event===a);for(let rt=0;rt<nt.length;rt++)nt[rt].callback(tt,_e,et||this.joinRef())}replyEventName(a){return`chan_reply_${a}`}isClosed(){return this.state===CHANNEL_STATES.closed}isErrored(){return this.state===CHANNEL_STATES.errored}isJoined(){return this.state===CHANNEL_STATES.joined}isJoining(){return this.state===CHANNEL_STATES.joining}isLeaving(){return this.state===CHANNEL_STATES.leaving}},Ajax=class{static request(a,j,_e,et,tt,nt,rt){if(global$1.XDomainRequest){let it=new global$1.XDomainRequest;return this.xdomainRequest(it,a,j,et,tt,nt,rt)}else{let it=new global$1.XMLHttpRequest;return this.xhrRequest(it,a,j,_e,et,tt,nt,rt)}}static xdomainRequest(a,j,_e,et,tt,nt,rt){return a.timeout=tt,a.open(j,_e),a.onload=()=>{let it=this.parseJSON(a.responseText);rt&&rt(it)},nt&&(a.ontimeout=nt),a.onprogress=()=>{},a.send(et),a}static xhrRequest(a,j,_e,et,tt,nt,rt,it){return a.open(j,_e,!0),a.timeout=nt,a.setRequestHeader("Content-Type",et),a.onerror=()=>it&&it(null),a.onreadystatechange=()=>{if(a.readyState===XHR_STATES.complete&&it){let ot=this.parseJSON(a.responseText);it(ot)}},rt&&(a.ontimeout=rt),a.send(tt),a}static parseJSON(a){if(!a||a==="")return null;try{return JSON.parse(a)}catch{return console&&console.log("failed to parse JSON response",a),null}}static serialize(a,j){let _e=[];for(var et in a){if(!Object.prototype.hasOwnProperty.call(a,et))continue;let tt=j?`${j}[${et}]`:et,nt=a[et];typeof nt=="object"?_e.push(this.serialize(nt,tt)):_e.push(encodeURIComponent(tt)+"="+encodeURIComponent(nt))}return _e.join("&")}static appendParams(a,j){if(Object.keys(j).length===0)return a;let _e=a.match(/\?/)?"&":"?";return`${a}${_e}${this.serialize(j)}`}},LongPoll=class{constructor(a){this.endPoint=null,this.token=null,this.skipHeartbeat=!0,this.reqs=new Set,this.awaitingBatchAck=!1,this.currentBatch=null,this.currentBatchTimer=null,this.batchBuffer=[],this.onopen=function(){},this.onerror=function(){},this.onmessage=function(){},this.onclose=function(){},this.pollEndpoint=this.normalizeEndpoint(a),this.readyState=SOCKET_STATES.connecting,this.poll()}normalizeEndpoint(a){return a.replace("ws://","http://").replace("wss://","https://").replace(new RegExp("(.*)/"+TRANSPORTS.websocket),"$1/"+TRANSPORTS.longpoll)}endpointURL(){return Ajax.appendParams(this.pollEndpoint,{token:this.token})}closeAndRetry(a,j,_e){this.close(a,j,_e),this.readyState=SOCKET_STATES.connecting}ontimeout(){this.onerror("timeout"),this.closeAndRetry(1005,"timeout",!1)}isActive(){return this.readyState===SOCKET_STATES.open||this.readyState===SOCKET_STATES.connecting}poll(){this.ajax("GET","application/json",null,()=>this.ontimeout(),a=>{if(a){var{status:j,token:_e,messages:et}=a;this.token=_e}else j=0;switch(j){case 200:et.forEach(tt=>{setTimeout(()=>this.onmessage({data:tt}),0)}),this.poll();break;case 204:this.poll();break;case 410:this.readyState=SOCKET_STATES.open,this.onopen({}),this.poll();break;case 403:this.onerror(403),this.close(1008,"forbidden",!1);break;case 0:case 500:this.onerror(500),this.closeAndRetry(1011,"internal server error",500);break;default:throw new Error(`unhandled poll status ${j}`)}})}send(a){this.currentBatch?this.currentBatch.push(a):this.awaitingBatchAck?this.batchBuffer.push(a):(this.currentBatch=[a],this.currentBatchTimer=setTimeout(()=>{this.batchSend(this.currentBatch),this.currentBatch=null},0))}batchSend(a){this.awaitingBatchAck=!0,this.ajax("POST","application/x-ndjson",a.join(`
1337
1337
  `),()=>this.onerror("timeout"),j=>{this.awaitingBatchAck=!1,!j||j.status!==200?(this.onerror(j&&j.status),this.closeAndRetry(1011,"internal server error",!1)):this.batchBuffer.length>0&&(this.batchSend(this.batchBuffer),this.batchBuffer=[])})}close(a,j,_e){for(let tt of this.reqs)tt.abort();this.readyState=SOCKET_STATES.closed;let et=Object.assign({code:1e3,reason:void 0,wasClean:!0},{code:a,reason:j,wasClean:_e});this.batchBuffer=[],clearTimeout(this.currentBatchTimer),this.currentBatchTimer=null,typeof CloseEvent<"u"?this.onclose(new CloseEvent("close",et)):this.onclose(et)}ajax(a,j,_e,et,tt){let nt,rt=()=>{this.reqs.delete(nt),et()};nt=Ajax.request(a,this.endpointURL(),j,_e,this.timeout,rt,it=>{this.reqs.delete(nt),this.isActive()&&tt(it)}),this.reqs.add(nt)}},Presence=class{constructor(a,j={}){let _e=j.events||{state:"presence_state",diff:"presence_diff"};this.state={},this.pendingDiffs=[],this.channel=a,this.joinRef=null,this.caller={onJoin:function(){},onLeave:function(){},onSync:function(){}},this.channel.on(_e.state,et=>{let{onJoin:tt,onLeave:nt,onSync:rt}=this.caller;this.joinRef=this.channel.joinRef(),this.state=Presence.syncState(this.state,et,tt,nt),this.pendingDiffs.forEach(it=>{this.state=Presence.syncDiff(this.state,it,tt,nt)}),this.pendingDiffs=[],rt()}),this.channel.on(_e.diff,et=>{let{onJoin:tt,onLeave:nt,onSync:rt}=this.caller;this.inPendingSyncState()?this.pendingDiffs.push(et):(this.state=Presence.syncDiff(this.state,et,tt,nt),rt())})}onJoin(a){this.caller.onJoin=a}onLeave(a){this.caller.onLeave=a}onSync(a){this.caller.onSync=a}list(a){return Presence.list(this.state,a)}inPendingSyncState(){return!this.joinRef||this.joinRef!==this.channel.joinRef()}static syncState(a,j,_e,et){let tt=this.clone(a),nt={},rt={};return this.map(tt,(it,ot)=>{j[it]||(rt[it]=ot)}),this.map(j,(it,ot)=>{let ut=tt[it];if(ut){let st=ot.metas.map(yt=>yt.phx_ref),ct=ut.metas.map(yt=>yt.phx_ref),ft=ot.metas.filter(yt=>ct.indexOf(yt.phx_ref)<0),pt=ut.metas.filter(yt=>st.indexOf(yt.phx_ref)<0);ft.length>0&&(nt[it]=ot,nt[it].metas=ft),pt.length>0&&(rt[it]=this.clone(ut),rt[it].metas=pt)}else nt[it]=ot}),this.syncDiff(tt,{joins:nt,leaves:rt},_e,et)}static syncDiff(a,j,_e,et){let{joins:tt,leaves:nt}=this.clone(j);return _e||(_e=function(){}),et||(et=function(){}),this.map(tt,(rt,it)=>{let ot=a[rt];if(a[rt]=this.clone(it),ot){let ut=a[rt].metas.map(ct=>ct.phx_ref),st=ot.metas.filter(ct=>ut.indexOf(ct.phx_ref)<0);a[rt].metas.unshift(...st)}_e(rt,ot,it)}),this.map(nt,(rt,it)=>{let ot=a[rt];if(!ot)return;let ut=it.metas.map(st=>st.phx_ref);ot.metas=ot.metas.filter(st=>ut.indexOf(st.phx_ref)<0),et(rt,ot,it),ot.metas.length===0&&delete a[rt]}),a}static list(a,j){return j||(j=function(_e,et){return et}),this.map(a,(_e,et)=>j(_e,et))}static map(a,j){return Object.getOwnPropertyNames(a).map(_e=>j(_e,a[_e]))}static clone(a){return JSON.parse(JSON.stringify(a))}},serializer_default={HEADER_LENGTH:1,META_LENGTH:4,KINDS:{push:0,reply:1,broadcast:2},encode(a,j){if(a.payload.constructor===ArrayBuffer)return j(this.binaryEncode(a));{let _e=[a.join_ref,a.ref,a.topic,a.event,a.payload];return j(JSON.stringify(_e))}},decode(a,j){if(a.constructor===ArrayBuffer)return j(this.binaryDecode(a));{let[_e,et,tt,nt,rt]=JSON.parse(a);return j({join_ref:_e,ref:et,topic:tt,event:nt,payload:rt})}},binaryEncode(a){let{join_ref:j,ref:_e,event:et,topic:tt,payload:nt}=a,rt=this.META_LENGTH+j.length+_e.length+tt.length+et.length,it=new ArrayBuffer(this.HEADER_LENGTH+rt),ot=new DataView(it),ut=0;ot.setUint8(ut++,this.KINDS.push),ot.setUint8(ut++,j.length),ot.setUint8(ut++,_e.length),ot.setUint8(ut++,tt.length),ot.setUint8(ut++,et.length),Array.from(j,ct=>ot.setUint8(ut++,ct.charCodeAt(0))),Array.from(_e,ct=>ot.setUint8(ut++,ct.charCodeAt(0))),Array.from(tt,ct=>ot.setUint8(ut++,ct.charCodeAt(0))),Array.from(et,ct=>ot.setUint8(ut++,ct.charCodeAt(0)));var st=new Uint8Array(it.byteLength+nt.byteLength);return st.set(new Uint8Array(it),0),st.set(new Uint8Array(nt),it.byteLength),st.buffer},binaryDecode(a){let j=new DataView(a),_e=j.getUint8(0),et=new TextDecoder;switch(_e){case this.KINDS.push:return this.decodePush(a,j,et);case this.KINDS.reply:return this.decodeReply(a,j,et);case this.KINDS.broadcast:return this.decodeBroadcast(a,j,et)}},decodePush(a,j,_e){let et=j.getUint8(1),tt=j.getUint8(2),nt=j.getUint8(3),rt=this.HEADER_LENGTH+this.META_LENGTH-1,it=_e.decode(a.slice(rt,rt+et));rt=rt+et;let ot=_e.decode(a.slice(rt,rt+tt));rt=rt+tt;let ut=_e.decode(a.slice(rt,rt+nt));rt=rt+nt;let st=a.slice(rt,a.byteLength);return{join_ref:it,ref:null,topic:ot,event:ut,payload:st}},decodeReply(a,j,_e){let et=j.getUint8(1),tt=j.getUint8(2),nt=j.getUint8(3),rt=j.getUint8(4),it=this.HEADER_LENGTH+this.META_LENGTH,ot=_e.decode(a.slice(it,it+et));it=it+et;let ut=_e.decode(a.slice(it,it+tt));it=it+tt;let st=_e.decode(a.slice(it,it+nt));it=it+nt;let ct=_e.decode(a.slice(it,it+rt));it=it+rt;let ft=a.slice(it,a.byteLength),pt={status:ct,response:ft};return{join_ref:ot,ref:ut,topic:st,event:CHANNEL_EVENTS.reply,payload:pt}},decodeBroadcast(a,j,_e){let et=j.getUint8(1),tt=j.getUint8(2),nt=this.HEADER_LENGTH+2,rt=_e.decode(a.slice(nt,nt+et));nt=nt+et;let it=_e.decode(a.slice(nt,nt+tt));nt=nt+tt;let ot=a.slice(nt,a.byteLength);return{join_ref:null,ref:null,topic:rt,event:it,payload:ot}}},Socket$1=class{constructor(j,_e={}){this.stateChangeCallbacks={open:[],close:[],error:[],message:[]},this.channels=[],this.sendBuffer=[],this.ref=0,this.timeout=_e.timeout||DEFAULT_TIMEOUT,this.transport=_e.transport||global$1.WebSocket||LongPoll,this.establishedConnections=0,this.defaultEncoder=serializer_default.encode.bind(serializer_default),this.defaultDecoder=serializer_default.decode.bind(serializer_default),this.closeWasClean=!1,this.binaryType=_e.binaryType||"arraybuffer",this.connectClock=1,this.transport!==LongPoll?(this.encode=_e.encode||this.defaultEncoder,this.decode=_e.decode||this.defaultDecoder):(this.encode=this.defaultEncoder,this.decode=this.defaultDecoder);let et=null;phxWindow&&phxWindow.addEventListener&&(phxWindow.addEventListener("pagehide",tt=>{this.conn&&(this.disconnect(),et=this.connectClock)}),phxWindow.addEventListener("pageshow",tt=>{et===this.connectClock&&(et=null,this.connect())})),this.heartbeatIntervalMs=_e.heartbeatIntervalMs||3e4,this.rejoinAfterMs=tt=>_e.rejoinAfterMs?_e.rejoinAfterMs(tt):[1e3,2e3,5e3][tt-1]||1e4,this.reconnectAfterMs=tt=>_e.reconnectAfterMs?_e.reconnectAfterMs(tt):[10,50,100,150,200,250,500,1e3,2e3][tt-1]||5e3,this.logger=_e.logger||null,this.longpollerTimeout=_e.longpollerTimeout||2e4,this.params=closure(_e.params||{}),this.endPoint=`${j}/${TRANSPORTS.websocket}`,this.vsn=_e.vsn||DEFAULT_VSN,this.heartbeatTimeoutTimer=null,this.heartbeatTimer=null,this.pendingHeartbeatRef=null,this.reconnectTimer=new Timer(()=>{this.teardown(()=>this.connect())},this.reconnectAfterMs)}getLongPollTransport(){return LongPoll}replaceTransport(j){this.connectClock++,this.closeWasClean=!0,this.reconnectTimer.reset(),this.sendBuffer=[],this.conn&&(this.conn.close(),this.conn=null),this.transport=j}protocol(){return location.protocol.match(/^https/)?"wss":"ws"}endPointURL(){let j=Ajax.appendParams(Ajax.appendParams(this.endPoint,this.params()),{vsn:this.vsn});return j.charAt(0)!=="/"?j:j.charAt(1)==="/"?`${this.protocol()}:${j}`:`${this.protocol()}://${location.host}${j}`}disconnect(j,_e,et){this.connectClock++,this.closeWasClean=!0,this.reconnectTimer.reset(),this.teardown(j,_e,et)}connect(j){j&&(console&&console.log("passing params to connect is deprecated. Instead pass :params to the Socket constructor"),this.params=closure(j)),!this.conn&&(this.connectClock++,this.closeWasClean=!1,this.conn=new this.transport(this.endPointURL()),this.conn.binaryType=this.binaryType,this.conn.timeout=this.longpollerTimeout,this.conn.onopen=()=>this.onConnOpen(),this.conn.onerror=_e=>this.onConnError(_e),this.conn.onmessage=_e=>this.onConnMessage(_e),this.conn.onclose=_e=>this.onConnClose(_e))}log(j,_e,et){this.logger(j,_e,et)}hasLogger(){return this.logger!==null}onOpen(j){let _e=this.makeRef();return this.stateChangeCallbacks.open.push([_e,j]),_e}onClose(j){let _e=this.makeRef();return this.stateChangeCallbacks.close.push([_e,j]),_e}onError(j){let _e=this.makeRef();return this.stateChangeCallbacks.error.push([_e,j]),_e}onMessage(j){let _e=this.makeRef();return this.stateChangeCallbacks.message.push([_e,j]),_e}ping(j){if(!this.isConnected())return!1;let _e=this.makeRef(),et=Date.now();this.push({topic:"phoenix",event:"heartbeat",payload:{},ref:_e});let tt=this.onMessage(nt=>{nt.ref===_e&&(this.off([tt]),j(Date.now()-et))});return!0}clearHeartbeats(){clearTimeout(this.heartbeatTimer),clearTimeout(this.heartbeatTimeoutTimer)}onConnOpen(){this.hasLogger()&&this.log("transport",`connected to ${this.endPointURL()}`),this.closeWasClean=!1,this.establishedConnections++,this.flushSendBuffer(),this.reconnectTimer.reset(),this.resetHeartbeat(),this.stateChangeCallbacks.open.forEach(([,j])=>j())}heartbeatTimeout(){this.pendingHeartbeatRef&&(this.pendingHeartbeatRef=null,this.hasLogger()&&this.log("transport","heartbeat timeout. Attempting to re-establish connection"),this.triggerChanError(),this.closeWasClean=!1,this.teardown(()=>this.reconnectTimer.scheduleTimeout(),WS_CLOSE_NORMAL,"heartbeat timeout"))}resetHeartbeat(){this.conn&&this.conn.skipHeartbeat||(this.pendingHeartbeatRef=null,this.clearHeartbeats(),this.heartbeatTimer=setTimeout(()=>this.sendHeartbeat(),this.heartbeatIntervalMs))}teardown(j,_e,et){if(!this.conn)return j&&j();this.waitForBufferDone(()=>{this.conn&&(_e?this.conn.close(_e,et||""):this.conn.close()),this.waitForSocketClosed(()=>{this.conn&&(this.conn.onopen=function(){},this.conn.onerror=function(){},this.conn.onmessage=function(){},this.conn.onclose=function(){},this.conn=null),j&&j()})})}waitForBufferDone(j,_e=1){if(_e===5||!this.conn||!this.conn.bufferedAmount){j();return}setTimeout(()=>{this.waitForBufferDone(j,_e+1)},150*_e)}waitForSocketClosed(j,_e=1){if(_e===5||!this.conn||this.conn.readyState===SOCKET_STATES.closed){j();return}setTimeout(()=>{this.waitForSocketClosed(j,_e+1)},150*_e)}onConnClose(j){let _e=j&&j.code;this.hasLogger()&&this.log("transport","close",j),this.triggerChanError(),this.clearHeartbeats(),!this.closeWasClean&&_e!==1e3&&this.reconnectTimer.scheduleTimeout(),this.stateChangeCallbacks.close.forEach(([,et])=>et(j))}onConnError(j){this.hasLogger()&&this.log("transport",j);let _e=this.transport,et=this.establishedConnections;this.stateChangeCallbacks.error.forEach(([,tt])=>{tt(j,_e,et)}),(_e===this.transport||et>0)&&this.triggerChanError()}triggerChanError(){this.channels.forEach(j=>{j.isErrored()||j.isLeaving()||j.isClosed()||j.trigger(CHANNEL_EVENTS.error)})}connectionState(){switch(this.conn&&this.conn.readyState){case SOCKET_STATES.connecting:return"connecting";case SOCKET_STATES.open:return"open";case SOCKET_STATES.closing:return"closing";default:return"closed"}}isConnected(){return this.connectionState()==="open"}remove(j){this.off(j.stateChangeRefs),this.channels=this.channels.filter(_e=>_e.joinRef()!==j.joinRef())}off(j){for(let _e in this.stateChangeCallbacks)this.stateChangeCallbacks[_e]=this.stateChangeCallbacks[_e].filter(([et])=>j.indexOf(et)===-1)}channel(j,_e={}){let et=new Channel(j,_e,this);return this.channels.push(et),et}push(j){if(this.hasLogger()){let{topic:_e,event:et,payload:tt,ref:nt,join_ref:rt}=j;this.log("push",`${_e} ${et} (${rt}, ${nt})`,tt)}this.isConnected()?this.encode(j,_e=>this.conn.send(_e)):this.sendBuffer.push(()=>this.encode(j,_e=>this.conn.send(_e)))}makeRef(){let j=this.ref+1;return j===this.ref?this.ref=0:this.ref=j,this.ref.toString()}sendHeartbeat(){this.pendingHeartbeatRef&&!this.isConnected()||(this.pendingHeartbeatRef=this.makeRef(),this.push({topic:"phoenix",event:"heartbeat",payload:{},ref:this.pendingHeartbeatRef}),this.heartbeatTimeoutTimer=setTimeout(()=>this.heartbeatTimeout(),this.heartbeatIntervalMs))}flushSendBuffer(){this.isConnected()&&this.sendBuffer.length>0&&(this.sendBuffer.forEach(j=>j()),this.sendBuffer=[])}onConnMessage(j){this.decode(j.data,_e=>{let{topic:et,event:tt,payload:nt,ref:rt,join_ref:it}=_e;rt&&rt===this.pendingHeartbeatRef&&(this.clearHeartbeats(),this.pendingHeartbeatRef=null,this.heartbeatTimer=setTimeout(()=>this.sendHeartbeat(),this.heartbeatIntervalMs)),this.hasLogger()&&this.log("receive",`${nt.status||""} ${et} ${tt} ${rt&&"("+rt+")"||""}`,nt);for(let ot=0;ot<this.channels.length;ot++){const ut=this.channels[ot];ut.isMember(et,tt,nt,it)&&ut.trigger(tt,nt,rt,it)}for(let ot=0;ot<this.stateChangeCallbacks.message.length;ot++){let[,ut]=this.stateChangeCallbacks.message[ot];ut(_e)}})}leaveOpenTopic(j){let _e=this.channels.find(et=>et.topic===j&&(et.isJoined()||et.isJoining()));_e&&(this.hasLogger()&&this.log("transport",`leaving duplicate topic "${j}"`),_e.leave())}};const debug$3=browserExports;var logger$1=(a,j=!1)=>{const _e=debug$3(["@arcblock/ws",a].join(":"));return{debug:_e,warn:_e,info:_e,trace:j?_e:console.error,error:j?_e:console.error}};const createLogger=logger$1;var base$1=(a,j,_e)=>class extends a{constructor(tt,nt={}){super(tt,{transport:_e,...nt}),this._logger=createLogger("client",nt.silent),this.emitter=new j,this.onOpen(()=>{this._logger.debug("socket open",tt)}),this.onClose(()=>{this._logger.debug("socket close",tt)}),this.onError(rt=>{this._logger.error("socket error",rt.error)}),this.onMessage(rt=>{this._logger.debug("socket message",rt)})}on(tt,nt,rt={}){this.ensureJoinChannel(tt,rt),this.emitter.on(tt,nt)}off(tt,nt){nt?this.emitter.off(tt,nt):this.emitter.removeAllListeners(tt),this.ensureLeaveChannel(tt)}disconnect(tt,nt,rt){this.emitter.eventNames().forEach(it=>{this.emitter.removeAllListeners(it)}),super.disconnect(tt,nt,rt)}ensureJoinChannel(tt,nt={}){if(this.emitter.listenerCount(tt)>0)return;const it=this.channel(tt,nt);it.join().receive("ok",ot=>{this._logger.debug("join success",{topic:tt,message:ot})}).receive("error",ot=>{this._logger.error("join error",{topic:tt,error:ot})}).receive("timeout",()=>{this._logger.debug("join timeout",{topic:tt})}),it.on(tt,({status:ot,response:ut})=>{ot==="ok"?this.emitter.emit(tt,ut):this._logger.debug("response error",{topic:tt,status:ot,data:ut})})}ensureLeaveChannel(tt){if(this.emitter.listenerCount(tt)>0)return;const rt=this.channels.find(it=>it.topic===tt);rt&&(this.remove(rt),rt.leave().receive("ok",it=>{this._logger.debug("leave success",{topic:tt,message:it})}).receive("error",it=>{this._logger.error("leave error",{topic:tt,err:it})}).receive("timeout",()=>{this._logger.debug("leave timeout",{topic:tt})}),rt.off(tt))}subscribe(tt,nt={}){let rt=this.channels.find(it=>it.topic===tt);return rt||(rt=this.channel(tt,nt),rt.join().receive("ok",it=>{this._logger.debug("join success",{topic:tt,message:it})}).receive("error",it=>{this._logger.error("join error",{topic:tt,error:it})}).receive("timeout",()=>{this._logger.debug("join timeout",{topic:tt})}),rt)}unsubscribe(tt){this.ensureLeaveChannel(tt)}};const EventEmitter$3=eventemitter3Exports$1,{Socket}=phoenix_cjs,createClient$1=base$1;var browser$5=createClient$1(Socket,EventEmitter$3);const WsClient=browser$5;var browser$4={WsClient};function usePageShow(a){const j=reactExports.useRef(a);reactExports.useEffect(()=>{j.current=a},[a]),reactExports.useEffect(()=>{const _e=et=>{!document.hidden&&j.current&&j.current(et)};return document.addEventListener("visibilitychange",_e),()=>{document.removeEventListener("visibilitychange",_e)}},[])}function getSocketHost(a){const j=a||window.location.href;return new URL(j).host}function getExtraHeaders(a){const j={},_e=a||window.location.href;if(_e){const{hostname:et,protocol:tt,port:nt}=new URL(_e);j["x-real-hostname"]=et,j["x-real-port"]=nt,j["x-real-protocol"]=tt.endsWith(":")?tt.substring(0,tt.length-1):tt}return j}const fns={};function createTokenFn({action:a,prefix:j,checkFn:_e,extraParams:et,baseUrl:tt}){const nt=`${j}/token?${stringifyQuery$1(et)}`;return fns[nt]||(fns[nt]=async function(){var ct,ft;const it=+new Date,ot=await _e(nt,{headers:getExtraHeaders(tt)}),ut=+new Date;if(ut-it<500&&await sleep$1(500-(ut-it)),(ct=ot==null?void 0:ot.data)!=null&&ct.token)return ot.data;if((ft=ot==null?void 0:ot.data)!=null&&ft.error)throw new Error(ot.data.error);const st=isUrl$2(j)?j:`${tt}${j}`;throw new Error(`Error generating ${a} QR Code from: ${st}`)}),fns[nt]}const parseExistingSession=()=>{try{const j=new URL(window.location.href).searchParams.get("__connect_url__");if(!j)return null;const _e=decodeConnectUrl(j);return{token:parseTokenFromConnectUrl(_e),url:_e}}catch(a){return{error:a}}},getAppId=()=>get$5(globalThis,"blocklet.appPid")||get$5(globalThis,"blocklet.appId")||get$5(globalThis,"env.appId")||"",getAppPrefix=()=>(get$5(globalThis,"env.apiPrefix")||"/").replace(/\/$/,"").replace(RELAY_SOCKET_PREFIX,""),getRelayChannel=a=>`relay:${getAppId()}:${a}`,getRelayProtocol=()=>window.location.protocol==="https:"?"wss:":"ws:",isSameOrigin=a=>!a||new URL(a).origin===window.location.origin,isSessionEnded=a=>["succeed","error","timeout","busy"].includes(a);function useToken({action:a,checkFn:j,checkInterval:_e,checkTimeout:et,extraParams:tt,locale:nt,prefix:rt,tokenKey:it,encKey:ot,onError:ut,onSuccess:st,baseUrl:ct,autoConnect:ft=!0,forceConnected:pt=!0,saveConnect:yt=!0,useSocket:mt=!0,provider:bt="wallet"}){const xt=useReactive({checking:!1,loading:!1,token:"",url:"",store:null,status:"created",error:"",checkCount:0,mfaCode:0,appInfo:null,memberAppInfo:null,connectedDid:"",saveConnect:!1,inExistingSession:!1,nextWorkflow:"",baseUrl:ct,prefix:`${rt}/${a}`,extraParams:omitBy(tt,isNil),checkFn:j,results:{},action:a,provider:bt,reset(){this.error="",this.status="created"}}),$t=reactExports.useRef(null),kt=translations$c[nt]||translations$c.en,Pt=useCreation(()=>parseExistingSession(),[]),Nt=Math.ceil(et/_e),Ot=useReactive({onSuccessCalled:!1,cancelWhenScannedCounter:0,isSocketAvailable:!1}),{encryptKey:Ft,decrypt:Vt}=useSecurity(),Zt=useBrowser(),on=getVisitorId$1(),Ht=reactExports.useRef(null),It=reactExports.useRef(null),Tt={...xt.extraParams,locale:nt,[it]:xt.token||(Pt==null?void 0:Pt.token),provider:xt.provider},dt=async()=>{if(!(Pt!=null&&Pt.token&&(Pt==null?void 0:Pt.token)===xt.token)){try{Tt[it]&&xt.status==="created"&&await xt.checkFn(`${xt.prefix}/timeout?${stringifyQuery$1(Tt)}`,{headers:getExtraHeaders(xt.baseUrl)})}catch{}try{xt.token&&It.current&&(await Ht.current.unsubscribe(getRelayChannel(xt.token)),It.current=null)}catch{}}},ht=useMemoizedFn((...Lt)=>{const Yt={[ot]:Ft,...xt.extraParams,locale:nt,forceConnected:pt,autoConnect:ft&&!(Zt.wallet||Zt.arcSphere)&&!Ot.cancelWhenScannedCounter&&["ios","android"].includes(Cookies.get("connected_wallet_os")),provider:xt.provider};on&&(Yt.visitorId=on);const jt=omit$1($t.current||{},["sourceAppPid","verbose"]);return Object.keys(jt).forEach(Wt=>{(!Yt[Wt]||Wt===ot&&jt[Wt])&&(Yt[Wt]=jt[Wt])}),Pt!=null&&Pt.token&&!Yt.sourceToken&&(Yt.sourceToken=Pt==null?void 0:Pt.token),createTokenFn({action:a,prefix:xt.prefix,baseUrl:xt.baseUrl,checkFn:xt.checkFn,extraParams:Yt})(...Lt)}),Et=useMemoizedFn(async(Lt=!0)=>{Lt&&dt();try{xt.loading=!0,xt.token="",xt.url="",xt.store=null,xt.extraParams=omitBy(tt,isNil),await sleep$1();const Yt=await ht(),jt=Yt.extra||{};xt.loading=!1,xt.token=Yt.token,xt.url=Yt.url,xt.status="created",xt.error="",xt.checkCount=0,xt.appInfo=Yt.appInfo,xt.memberAppInfo=Yt.memberAppInfo,xt.connectedDid=jt.connectedDid,xt.saveConnect=jt.saveConnect}catch(Yt){xt.loading=!1,xt.status="error",xt.error=`${kt.generateError}: ${Yt.message}`}}),St=useMemoizedFn(()=>{Ot.cancelWhenScannedCounter++});reactExports.useEffect(()=>{Ot.cancelWhenScannedCounter>0&&(tt.nw?ut(new Error(kt.retryForbidden)):Et())},[Ot.cancelWhenScannedCounter]),reactExports.useEffect(()=>(!(/^((?!chrome|android).)*safari/i.test(globalThis.navigator.userAgent)||Object.hasOwn((globalThis==null?void 0:globalThis.blocklet)||{},"DID_CONNECT_DISABLE_SOCKET"))&&mt&&isSameOrigin(xt.baseUrl)&&getAppId()?(!Ht.current||Ht.current.isConnected()===!1||Ht.current.baseUrl!==xt.baseUrl)&&(Ht.current=new browser$4.WsClient(`${getRelayProtocol()}//${getSocketHost(xt.baseUrl)}${getAppPrefix()}${RELAY_SOCKET_PREFIX}/relay`,{longpollerTimeout:5e3,heartbeatIntervalMs:30*1e3}),Ht.current.baseUrl=xt.baseUrl,Ht.current.onOpen(()=>{Ot.isSocketAvailable=!0}),Ht.current.connect()):Ot.isSocketAvailable&&(Ot.isSocketAvailable=!1),()=>{Ht.current&&(Ht.current.disconnect(),Ht.current=null)}),[xt.baseUrl]);const Rt=()=>!xt.token||xt.loading||isSessionEnded(xt.status)?null:_e,wt=reactExports.useRef(null);reactExports.useEffect(()=>{wt.current={state:xt,params:Tt}}),reactExports.useEffect(()=>()=>{const{state:Lt,params:Yt}=wt.current;Lt.status==="created"&&Yt[it]&&Lt.checkFn(`${Lt.prefix}/timeout?${stringifyQuery$1(Yt)}`,{headers:getExtraHeaders(Lt.baseUrl)})},[]);const Ct=useMemoizedFn(async(Lt=!1)=>{var Yt;if((xt.checking||document.hidden)&&!Lt||(xt.status==="created"&&xt.checkCount++,Ot.isSocketAvailable&&!Lt))return null;try{xt.checking=!0;const jt=await xt.checkFn(`${xt.prefix}/status?${stringifyQuery$1(Tt)}`,{headers:getExtraHeaders(xt.baseUrl)}),{status:Gt,error:Wt,mfaCode:Jt=0}=jt.data;if(xt.store=jt.data,xt.mfaCode=Jt,xt.checking=!1,xt.status==="scanned"&&Gt==="created"||(xt.status=Gt),Gt==="error"&&Wt){const dn=new Error(Wt);throw dn.response=jt,dn}return jt.data}catch(jt){const{response:Gt}=jt;if(Gt!=null&&Gt.status){Tt[it]&&xt.checkFn(`${xt.prefix}/timeout?${stringifyQuery$1(Tt)}`,{headers:getExtraHeaders(xt.baseUrl)});const Wt=(Yt=Gt==null?void 0:Gt.data)!=null&&Yt.error?Gt.data.error:jt.message,Jt=new Error(Wt);Jt.code=Gt.status,xt.status="error",xt.checking=!1,xt.error=Wt,ut(Jt,xt==null?void 0:xt.store,Vt)}else xt.status="error",xt.checking=!1,xt.error=kt.generateError}return null}),At=async()=>{try{if(Pt.error)throw Pt.error;xt.loading=!0,xt.token=Pt.token,xt.url=Pt.url,xt.inExistingSession=!0;let Lt=await Ct();if((["scanned"].includes(Lt==null?void 0:Lt.status)||(Lt==null?void 0:Lt.sourceToken)===(Pt==null?void 0:Pt.token))&&(await Et(!1),Lt=await Ct()),$t.current=(Lt==null?void 0:Lt.extraParams)||null,Lt!=null&&Lt.status&&!["created"].includes(Lt==null?void 0:Lt.status))throw new Error(`${kt.invalidSessionStatus} [${Lt.status}]`)}catch(Lt){xt.status="error",xt.error=Lt.message,ut(Lt,xt==null?void 0:xt.store,Vt)}finally{xt.loading=!1}};reactExports.useEffect(()=>{var Lt;if(!xt.token&&!xt.store&&!xt.loading&&!xt.error)if(Pt)At();else{Et(!1);return}if(xt.status!=="timeout"&&xt.checkCount>Nt){xt.status="timeout",dt();return}if(xt.status==="succeed"&&!Ot.onSuccessCalled){const Yt=getConnectedInfo({...xt.store,appInfo:xt.appInfo,memberAppInfo:xt.memberAppInfo});if(isSameOrigin(xt.baseUrl)&&yt&&xt.saveConnect&&xt.store.did&&updateConnectedInfo(Yt,!0),xt.store){const{nextWorkflow:jt}=xt.store;if(jt)try{const Gt=parseNextWorkflow(jt,it);xt.nextWorkflow=(Gt==null?void 0:Gt.nextWorkflow)||jt,Object.assign(xt,Gt),xt.store=null,xt.error="",xt.url="",xt.appInfo=null,xt.memberAppInfo=null,xt.checkCount=0,xt.status="scanned",xt.results={...xt.results,[xt.token]:xt.store},xt.checkFn=createAxios({baseURL:Gt.baseUrl,timeout:8e3}).get,Ct()}catch(Gt){console.error(`Invalid nextWorkflow: ${jt}`,Gt),xt.status="error",xt.error=`Invalid nextWorkflow: ${jt}: ${Gt.message}`}else if(xt.nextWorkflow&&(xt.nextWorkflow="",xt.url=""),typeof st=="function"){const Gt=Object.values({...xt.results,[xt.token]:xt.store});Ot.onSuccessCalled=!0;const Wt=Gt.length>1?Gt:Gt[0],Jt=cloneDeep(Wt);st(Jt,Vt,{sourceAppPid:tt==null?void 0:tt.sourceAppPid,...Yt})}}return}if((Lt=xt.store)!=null&&Lt.nextWorkflow){const{nextWorkflow:Yt}=xt.store;try{const jt=parseNextWorkflow(Yt,it);xt.nextWorkflow=(jt==null?void 0:jt.nextWorkflow)||Yt,Object.assign(xt,jt),xt.store=null,xt.error="",xt.url="",xt.appInfo=null,xt.memberAppInfo=null,xt.checkCount=0,xt.status="scanned",xt.results={...xt.results,[xt.token]:xt.store},xt.checkFn=createAxios({baseURL:jt.baseUrl,timeout:8e3}).get,Ct()}catch(jt){console.error(`Invalid nextWorkflow: ${Yt}`,jt),xt.status="error",xt.error=`Invalid nextWorkflow: ${Yt}: ${jt.message}`}}});const vt=reactExports.useRef(0);return reactExports.useEffect(()=>{if(xt.token&&Ot.isSocketAvailable&&Ht.current){let Lt=!1;It.current?It.current.token!==xt.token&&(Ht.current.unsubscribe(getRelayChannel(It.current.token)),Lt=!0):Lt=!0,Lt&&(It.current=Ht.current.subscribe(getRelayChannel(xt.token)),vt.current=0,It.current.token=xt.token,It.current.on("updated",({response:Yt})=>{const jt=+new Date(Yt.updatedAt);if(jt<=vt.current){console.warn("Ignore outdated message",Yt);return}vt.current=jt;let{status:Gt,error:Wt}=Yt;Gt==="forbidden"&&(Wt=kt.forbidden,Gt="error"),xt.status=Gt,xt.mfaCode=Yt.mfaCode||0,xt.store=Yt,xt.error=Wt,Wt&&ut(new Error(Wt),xt==null?void 0:xt.store,Vt)}))}},[xt.token,Ot.isSocketAvailable,Ht.current]),useInterval$2(Ct,Rt()),usePageShow(()=>{xt.token&&isSessionEnded(xt.status)===!1&&(xt.checking=!1,setTimeout(()=>{Ct(!0)},100))}),{state:xt,generate:Et,cancelWhenScanned:St}}const data$w={width:24,height:24,body:'<path fill="currentColor" d="M8 20h8v-3q0-1.65-1.175-2.825T12 13q-1.65 0-2.825 1.175T8 17v3Zm4-9q1.65 0 2.825-1.175T16 7V4H8v3q0 1.65 1.175 2.825T12 11ZM5 22q-.425 0-.713-.288T4 21q0-.425.288-.713T5 20h1v-3q0-1.525.713-2.863T8.7 12q-1.275-.8-1.987-2.138T6 7V4H5q-.425 0-.713-.288T4 3q0-.425.288-.713T5 2h14q.425 0 .713.288T20 3q0 .425-.288.713T19 4h-1v3q0 1.525-.713 2.863T15.3 12q1.275.8 1.988 2.138T18 17v3h1q.425 0 .713.288T20 21q0 .425-.288.713T19 22H5Z"/>'},data$v={width:24,height:24,body:'<path fill="currentColor" d="m5.75 18l-.4-.35q-1.3-1.15-1.825-2.625T3 12.05Q3 9.7 4.187 7.787T7.4 4.85q.35-.2.75-.025t.525.575q.125.375-.013.75t-.487.575q-1.45.8-2.313 2.213T5 12.05q0 1.125.425 2.188T6.75 16.2l.25.25V15q0-.425.288-.713T8 14q.425 0 .713.288T9 15v4q0 .425-.288.713T8 20H4q-.425 0-.713-.288T3 19q0-.425.288-.713T4 18h1.75ZM17 7.55V9q0 .425-.288.713T16 10q-.425 0-.713-.288T15 9V5q0-.425.288-.713T16 4h4q.425 0 .713.288T21 5q0 .425-.288.713T20 6h-1.75l.4.35q1.025 1.05 1.575 2.225t.7 2.425H18.9q-.125-.875-.537-1.675T17.25 7.8L17 7.55ZM17.4 23q-.2 0-.313-.113t-.162-.287l-.225-1.1q-.3-.125-.563-.263T15.6 20.9l-1.075.325q-.175.05-.325-.013T13.95 21l-.6-1q-.1-.15-.05-.325t.175-.3l.825-.725q-.05-.35-.05-.65t.05-.65l-.825-.725q-.125-.125-.175-.3t.05-.325l.6-1q.1-.15.25-.212t.325-.013l1.075.325q.275-.2.538-.337t.562-.263l.225-1.1q.05-.175.163-.288T17.4 13h1.2q.2 0 .313.113t.162.287l.225 1.1q.3.125.563.275t.537.375l1.05-.375q.175-.05.338.013t.262.212l.6 1.05q.1.15.063.325t-.163.3l-.85.725q.05.3.05.625t-.05.625l.825.725q.125.125.175.3t-.05.325l-.6 1q-.1.15-.25.213t-.325.012L20.4 20.9q-.275.2-.537.338t-.563.262l-.225 1.1q-.05.175-.163.288T18.6 23h-1.2Zm.6-3q.825 0 1.413-.588T20 18q0-.825-.588-1.413T18 16q-.825 0-1.413.588T16 18q0 .825.588 1.413T18 20Z"/>'};function Success({size:a=64,backgroundColor:j="white",borderWidth:_e=4}){const et=a-_e*2;return jsxRuntimeExports.jsxs(Box,{className:"check-icon",sx:{width:et,height:et,position:"relative",borderRadius:"100%","&, *, *::before, *::after":{boxSizing:"content-box !important"},border:tt=>`${_e}px solid ${tt.palette.success.light}`,"&::before, &::after":{content:'""',height:"125%",position:"absolute",background:j,transform:"rotate(-45deg)"},"&::before":{top:`${_e/2+1}px`,left:`-${_e/2}px`,width:`calc(32.5% + ${_e}px)`,transformOrigin:"100% 50%",borderRadius:"100% 0 0 100%"},"&::after":{top:0,left:"37.5%",width:`calc(70% + ${_e}px)`,transformOrigin:"0 50%",borderRadius:"0 100% 100% 0",animation:"rotate-circle 4.25s ease-in"},".icon-line":{height:`${_e+1}px`,backgroundColor:tt=>tt.palette.success.light,display:"block",borderRadius:"100vw",position:"absolute",zIndex:10},"@keyframes rotate-circle":{"0%":{transform:"rotate(-45deg)"},"5%":{transform:"rotate(-45deg)"},"12%":{transform:"rotate(-405deg)"},"100%":{transform:"rotate(-405deg)"}}},children:[jsxRuntimeExports.jsx(Box,{component:"span",className:"icon-line line-tip",sx:{top:"57.5%",left:"17.5%",width:"31.25%",transform:"rotate(45deg)",animation:"icon-line-tip 0.75s","@keyframes icon-line-tip":{"0%":{width:"0",left:"1px",top:"23.75%"},"54%":{width:"0",left:"1px",top:"23.75%"},"70%":{width:"62.5%",left:"-10%",top:"46.25%"},"84%":{width:"21.25%",left:"26.25%",top:"60%"},"100%":{width:"31.25",left:"17.5%",top:"56.25%"}}}}),jsxRuntimeExports.jsx(Box,{component:"span",className:"icon-line line-long",sx:{top:"47.5%",right:"10%",width:"58.75%",transform:"rotate(-45deg)",animation:"icon-line-long 0.75s","@keyframes icon-line-long":{"0%":{width:"0",right:"57.5%",top:"67.5%"},"65%":{width:"0",right:"57.5%",top:"67.5%"},"84%":{width:"68.75%",right:"0px",top:"43.75%"},"100%":{width:"58.75%",right:"10%",top:"47.5%"}}}}),jsxRuntimeExports.jsx(Box,{className:"icon-circle",sx:{top:`-${_e}px`,left:`-${_e}px`,zIndex:10,width:et,height:et,borderRadius:"100%",position:"absolute",boxSizing:"contentBox",border:`${_e}px solid rgba(76, 175, 80, 0.63)`}}),jsxRuntimeExports.jsx(Box,{className:"icon-fix",sx:{top:`calc(8% - ${Math.sqrt(_e)}px)`,width:_e+1,left:`calc(32% - ${Math.sqrt(_e)}px)`,zIndex:1,height:et+_e*2,position:"absolute",transform:"rotate(-45deg)",backgroundColor:j}})]})}function BaseStatus({icon:a,title:j,color:_e,description:et,extraContent:tt,actions:nt}){return jsxRuntimeExports.jsxs(Box,{sx:{display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",gap:1.5},children:[reactExports.isValidElement(a)?a:jsxRuntimeExports.jsx(Box,{sx:{backgroundColor:_e,borderRadius:"100%",fontSize:0},children:jsxRuntimeExports.jsx(Icon,{icon:a,fontSize:52,style:{transform:"scale(0.7)",color:"white"}})}),jsxRuntimeExports.jsxs(Box,{sx:{textAlign:"center"},children:[jsxRuntimeExports.jsx(Typography$1,{variant:"h6",sx:{fontWeight:500,color:_e},children:j}),jsxRuntimeExports.jsx(Tooltip,{title:et,placement:"top",children:jsxRuntimeExports.jsx(Typography$1,{variant:"body2",sx:{color:colors$2.foregroundsFgSubtile,overflow:"hidden",display:"-webkit-box","-webkit-box-orient":"vertical","-webkit-line-clamp":"3",whiteSpace:"pre-wrap",wordBreak:"break-word"},children:et})})]}),tt,jsxRuntimeExports.jsx(Box,{children:nt})]})}BaseStatus.propTypes={icon:PropTypes.any,title:PropTypes.string,color:PropTypes.string,description:PropTypes.string,extraContent:PropTypes.node,actions:PropTypes.node};BaseStatus.defaultProps={icon:null,title:"",color:colors$2.foregroundsFgBase,description:"",extraContent:null,actions:null};function MfaCode({title:a,mfaCode:j}){return jsxRuntimeExports.jsxs(Box,{className:"status-mfa",sx:{display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",border:`1px solid ${colors$2.strokeBorderBase}`,borderRadius:2,maxWidth:"360px",backgroundColor:"transparent",p:1},children:[jsxRuntimeExports.jsx(Box,{className:"status-mfa-tip",sx:{textAlign:"center",textWrap:"balance"},children:a}),jsxRuntimeExports.jsx(Typography$1,{className:"status-mfa-code",sx:{mt:1,lineHeight:1,fontSize:"36px",fontWeight:700,letterSpacing:1},children:j})]})}MfaCode.propTypes={title:PropTypes.string,mfaCode:PropTypes.number};MfaCode.defaultProps={title:"",mfaCode:0};function ConnectStatus({status:a="",nextWorkflow:j="",mfaCode:_e=0,onCancel:et=noop$5,onRetry:tt=noop$5,onClose:nt=noop$5,messages:rt,locale:it="en",isFullScreen:ot=!1,loadingIcon:ut=null,chooseMethod:st="DID Wallet",hideRetry:ct=!1,hideBack:ft=!1,...pt}){const yt=useMemoizedFn((bt,xt={})=>translate(translations$c,bt,it,"en",xt)),mt=jsxRuntimeExports.jsx(ActionButton,{onClick:nt,children:yt("close")});return jsxRuntimeExports.jsxs(Box,{...pt,sx:{p:2,minHeight:200,...pt.sx},children:[a==="scanned"&&!j&&jsxRuntimeExports.jsx(BaseStatus,{icon:jsxRuntimeExports.jsx(LoadingMask,{size:52,borderRadius:12,children:ut||jsxRuntimeExports.jsx(DIDWalletLogo,{width:"100%",height:"100%"})}),title:yt("requestConnect"),description:yt("continueInWallet",{method:st}),extraContent:_e>0&&jsxRuntimeExports.jsx(MfaCode,{mfaCode:_e,title:yt("mfaCode")}),actions:ft?mt:jsxRuntimeExports.jsx(BackButton,{onClick:et})}),a==="scanned"&&!!j&&jsxRuntimeExports.jsx(BaseStatus,{color:colors$2.foregroundsFgInteractive,icon:data$w,title:yt("wait"),description:yt("waiting"),extraContent:_e>0&&jsxRuntimeExports.jsx(MfaCode,{mfaCode:_e,title:yt("mfaCode")}),actions:ft?mt:jsxRuntimeExports.jsx(BackButton,{onClick:et})}),a==="succeed"&&jsxRuntimeExports.jsx(BaseStatus,{color:"success.light",icon:jsxRuntimeExports.jsx(Success,{size:52,borderWidth:3}),title:yt("success"),description:rt.success,actions:ot?null:mt}),a==="error"&&jsxRuntimeExports.jsx(BaseStatus,{color:colors$2.buttonsButtonDanger,icon:data$F,title:yt("failed"),description:rt.error||yt("error"),actions:jsxRuntimeExports.jsxs(Box,{sx:{display:"flex",gap:1},children:[ft?mt:jsxRuntimeExports.jsx(BackButton,{onClick:et}),ct?null:jsxRuntimeExports.jsx(ActionButton,{onClick:tt,sx:{color:colors$1.primary.main,borderColor:colors$1.primary.light},children:yt("retry")})]})}),a==="busy"&&jsxRuntimeExports.jsx(BaseStatus,{color:"warning.main",icon:data$v,title:yt("busyTitle"),description:rt.error||yt("busyDesc"),actions:ft?mt:jsxRuntimeExports.jsx(BackButton,{onClick:et})})]})}ConnectStatus.propTypes={status:PropTypes.string,nextWorkflow:PropTypes.string,mfaCode:PropTypes.number,onCancel:PropTypes.func,onRetry:PropTypes.func,onClose:PropTypes.func,messages:PropTypes.shape({confirm:PropTypes.string.isRequired,success:PropTypes.any.isRequired,error:PropTypes.any.isRequired}).isRequired,locale:PropTypes.oneOf(["en","zh"]),isFullScreen:PropTypes.bool,loadingIcon:PropTypes.any,chooseMethod:PropTypes.string,hideRetry:PropTypes.bool,hideBack:PropTypes.bool};const data$u={width:24,height:24,body:'<path fill="currentColor" d="M12 17q.425 0 .713-.288T13 16v-4q0-.425-.288-.713T12 11q-.425 0-.713.288T11 12v4q0 .425.288.713T12 17Zm0-8q.425 0 .713-.288T13 8q0-.425-.288-.713T12 7q-.425 0-.713.288T11 8q0 .425.288.713T12 9Zm0 13q-2.075 0-3.9-.788t-3.175-2.137q-1.35-1.35-2.137-3.175T2 12q0-2.075.788-3.9t2.137-3.175q1.35-1.35 3.175-2.137T12 2q2.075 0 3.9.788t3.175 2.137q1.35 1.35 2.138 3.175T22 12q0 2.075-.788 3.9t-2.137 3.175q-1.35 1.35-3.175 2.138T12 22Zm0-2q3.35 0 5.675-2.325T20 12q0-3.35-2.325-5.675T12 4Q8.65 4 6.325 6.325T4 12q0 3.35 2.325 5.675T12 20Zm0-8Z"/>'},data$t={width:24,height:24,body:'<path fill="currentColor" d="M5.825 16L7.7 17.875q.275.275.275.688t-.275.712q-.3.3-.713.3t-.712-.3L2.7 15.7q-.15-.15-.213-.325T2.426 15q0-.2.063-.375T2.7 14.3l3.6-3.6q.3-.3.7-.287t.7.312q.275.3.288.7t-.288.7L5.825 14H12q.425 0 .713.288T13 15q0 .425-.288.713T12 16H5.825Zm12.35-6H12q-.425 0-.713-.288T11 9q0-.425.288-.713T12 8h6.175L16.3 6.125q-.275-.275-.275-.688t.275-.712q.3-.3.713-.3t.712.3L21.3 8.3q.15.15.212.325t.063.375q0 .2-.063.375T21.3 9.7l-3.6 3.6q-.3.3-.7.288t-.7-.313q-.275-.3-.288-.7t.288-.7L18.175 10Z"/>'},data$s={width:24,height:24,body:'<path fill="currentColor" d="m9.55 18l-5.7-5.7l1.425-1.425L9.55 15.15l9.175-9.175L20.15 7.4L9.55 18Z"/>'};var __defProp$1=Object.defineProperty,__getOwnPropSymbols=Object.getOwnPropertySymbols,__hasOwnProp$1=Object.prototype.hasOwnProperty,__propIsEnum=Object.prototype.propertyIsEnumerable,__defNormalProp=(a,j,_e)=>j in a?__defProp$1(a,j,{enumerable:!0,configurable:!0,writable:!0,value:_e}):a[j]=_e,__spreadValues=(a,j)=>{for(var _e in j||(j={}))__hasOwnProp$1.call(j,_e)&&__defNormalProp(a,_e,j[_e]);if(__getOwnPropSymbols)for(var _e of __getOwnPropSymbols(j))__propIsEnum.call(j,_e)&&__defNormalProp(a,_e,j[_e]);return a},__objRest=(a,j)=>{var _e={};for(var et in a)__hasOwnProp$1.call(a,et)&&j.indexOf(et)<0&&(_e[et]=a[et]);if(a!=null&&__getOwnPropSymbols)for(var et of __getOwnPropSymbols(a))j.indexOf(et)<0&&__propIsEnum.call(a,et)&&(_e[et]=a[et]);return _e};/**
1338
1338
  * @license QR Code generator library (TypeScript)
1339
1339
  * Copyright (c) Project Nayuki.
@@ -1576,7 +1576,7 @@ ${tt}-----END CERTIFICATE-----
1576
1576
  `)},formatArgs=function a(j){let _e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!j)throw new Error("Empty args when generating graphql query");const et=[];if(Object.keys(_e).some(ot=>{const ut=getTypeField(_e[ot],"kind")==="NON_NULL"&&typeof j[ot]>"u";return ut&&et.push(ot),ut})){const ot="Missing required args {".concat(et.toString(),"} when generating query");throw new Error(ot)}const nt=(ot,ut)=>{if(Array.isArray(ut))return"[".concat(ut.map(st=>nt(ot,st)).join(","),"]");if(ot==="String"){const st=isNull(ut)?null:String(ut).includes(`
1577
1577
  `)?'"""':'"';return isNull(ut)?null:"".concat(st).concat(ut.toString().replace(/\\/g,"\\\\").replace(/"/g,'\\"')).concat(st)}return["DateTime","ID","HexString"].includes(ot)?isNull(ut)?null:'"'.concat(ut.toString(),'"'):["BigNumber","Int","Float","Long","Boolean"].includes(ot)||isNull(ut)?ut:ut.toString()},rt=ot=>Array.isArray(ot)?ot:[ot],it=(ot,ut)=>{const st=getTypeField(ut,"name"),ct=getTypeField(ut,"kind"),ft=getTypeField(ut,"fields");let pt="";return ut.kind==="LIST"?pt="[".concat(rt(ot).map(yt=>{if(ct==="SCALAR")return nt(st,yt);if(ft)return"{".concat(a(yt,ft),"}");console.error("formatArgs: unrecognized type in list",{value:ot,spec:ut,type:st,kind:ct,fields:ft})}).join(","),"]"):ut.type.kind==="LIST"?pt="[".concat(rt(ot).map(yt=>{if(ut.type.ofType.kind==="SCALAR")return nt(ut.type.ofType.name,yt);if(ut.type.ofType.fields)return"{".concat(a(yt,ut.type.ofType.fields),"}");if(ct==="SCALAR")return nt(st,yt);if(ft)return"{".concat(a(yt,ft),"}");console.error("formatArgs: unrecognized type in list",{value:ot,spec:ut,type:st,kind:ct,fields:ft})}).join(","),"]"):ct==="SCALAR"?pt=nt(st,ot):ct==="ENUM"?pt=ot:ct==="INPUT_OBJECT"&&(pt="{".concat(a(ot,ft),"}")),pt};return Object.keys(j||{}).filter(ot=>_e[ot]).map(ot=>"".concat(ot,": ").concat(it(j[ot],_e[ot]))).join(", ")},addFieldsPath=function a(j){let _e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";Array.isArray(j.scalar)&&j.scalar.forEach(et=>{et.path=[_e,et.name].filter(Boolean).join(".")}),Array.isArray(j.object)&&j.object.forEach(et=>{et.path=[_e,et.name].filter(Boolean).join("."),a(et.fields,et.path)}),Array.isArray(j.union)&&j.union.forEach(et=>{et.path=[_e,et.name].filter(Boolean).join(".")})},extractArgSpecs=(a,j)=>a.reduce((_e,et)=>{_e[et.name]=et;const tt=getTypeField(et,"name");return getTypeField(et,"kind")==="INPUT_OBJECT"&&Array.isArray(j[tt].inputFields)&&(et.fields=j[tt].inputFields.reduce((rt,it)=>{rt[it.name]=it;const ot=getTypeField(it,"name");if(getTypeField(it,"kind")==="INPUT_OBJECT"){const st=extractArgSpecs(j[ot].inputFields,j);it.type.kind==="LIST"?rt[it.name].type.ofType.fields=st:rt[it.name].type.fields=st}return rt},{})),_e},{}),getGraphQLBuilders=a=>{let{types:j,rootName:_e,ignoreFields:et,type:tt,maxDepth:nt=4}=a;const rt=j.reduce((ot,ut)=>(ut.name.startsWith("__")===!1&&(ot[ut.name]=ut),ot),{}),it={query:"",mutation:"mutation",subscription:"subscription"}[tt];return rt[_e].fields.reduce((ot,ut)=>{const st=resolveFieldTree(rt[ut.type.name],0,rt,nt||4);addFieldsPath(st);const ct=extractArgSpecs(ut.args,rt),ft=typeof et=="function"?et(ut):et||[],pt=function(){let mt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},bt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];const xt=ut.args.length?"".concat(formatArgs(mt,ct)):"",$t=makeQuery(st,[].concat(bt||[]).concat(ft),mt).trim(),kt="".concat(it,"{").concat(ut.name).concat(xt?"(".concat(xt,")"):"").concat($t?"{".concat($t,"}"):"","}");try{return print$1(parse$9(kt))}catch(Pt){throw console.error("GraphQLBuilder Error:",kt),Pt}};return pt.args=ct,ot[ut.name]=pt,ot},{})},getQueryBuilders$1=a=>{let{types:j,rootName:_e,ignoreFields:et,maxDepth:tt}=a;return getGraphQLBuilders({types:j,rootName:_e,ignoreFields:et,maxDepth:tt,type:"query"})},getMutationBuilders$1=a=>{let{types:j,rootName:_e,ignoreFields:et,maxDepth:tt}=a;return getGraphQLBuilders({types:j,rootName:_e,ignoreFields:et,maxDepth:tt,type:"mutation"})},getSubscriptionBuilders$1=a=>{let{types:j,rootName:_e,ignoreFields:et,maxDepth:tt}=a;return getGraphQLBuilders({types:j,rootName:_e,ignoreFields:et,maxDepth:tt,type:"subscription"})},fakeMessage=function a(j,_e){let et=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"inputFields";const tt={};if(!Array.isArray(j[et]))return fakeField(j,_e,et);j[et].forEach(rt=>{switch(rt.type.kind){case"LIST":tt[rt.name]=[a(_e[rt.type.ofType.name],_e,et)];break;case"SCALAR":tt[rt.name]=fakeField(rt.type,_e,et);break;case"NON_NULL":tt[rt.name]=fakeField(rt.type.ofType,_e,et);break;case"OBJECT":tt[rt.name]=fakeField(_e[rt.type.name],_e,et);break;case"ENUM":tt[rt.name]=fakeField(_e[rt.type.name],_e,et);break}});const nt=Object.keys(tt);return nt.length===1&&Array.isArray(tt[nt[0]])?tt[nt[0]]:tt},fakeField=(a,j,_e)=>{if(["String","HexString"].includes(a.name))return"abc";if(a.name==="Boolean")return!0;if(a.name==="DateTime")return new Date("2019-04-29").toISOString();if(["BigNumber","Int","Float","Long"].includes(a.name))return 123;if(a.kind==="ENUM")return a.enumValues[0].name;if(["INPUT_OBJECT","OBJECT"].includes(a.kind))return fakeMessage(j[a.name],j,_e)};var util$2={getQueryBuilders:getQueryBuilders$1,getMutationBuilders:getMutationBuilders$1,getSubscriptionBuilders:getSubscriptionBuilders$1,getGraphQLBuilders,getTypeFilter,resolveFieldTree,makeQuery,extractArgSpecs,formatArgs,fakeMessage,fakeField};const fetch$2=browserPonyfillExports,set=lodash_set,get=lodash_get,{parse:parse$8}=require$$0$1,{print}=require$$4,{getQueryBuilders,getMutationBuilders,getSubscriptionBuilders}=util$2,debug$2=browserExports("BaseClient");let BaseClient$1=class{constructor(j){if(!j.dataSource)throw new Error("BaseClient requires dataSource config");if(j.httpBaseUrl)throw Error("config.httpBaseUrl is deprecated");if(j.socketBaseUrl)throw Error("config.socketBaseUrl is deprecated");if(this.config=Object.assign({httpEndpoint:_e=>"https://ocap.arcblock.io/api/".concat(_e),socketEndpoint:_e=>"wss://ocap.arcblock.io/api/".concat(_e,"/socket"),enableQuery:!0,enableSubscription:!0,enableMutation:!0,accessKey:"",accessSecret:"",maxQueryDepth:4},j),this.schema=this._getSchema(this.config.dataSource),!this.schema)throw new Error("BaseClient: unsupported dataSource ".concat(this.config.dataSource));this.config.enableQuery&&this.generateQueryFns(this.schema),this.config.enableSubscription&&(this.generateSubscriptionFns(this.schema),this.subscriptions={}),this.config.enableMutation&&this.generateMutationFns(this.schema)}getQueries(){return this._getApiList("query")}getSubscriptions(){return this._getApiList("subscription")}getMutations(){return this._getApiList("mutation")}doRawQuery(j){let _e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},et=arguments.length>2?arguments[2]:void 0;try{const tt=print(parse$8(j));return this._doRequest(tt,_e,et)}catch(tt){throw new Error("BaseClient: invalid raw query ".concat(tt.message||tt.toString()))}}doBatchQuery(j,_e){const et=Object.keys(j);if(et.length===0)throw new Error("doBatchQuery requires at least one query");et.forEach(ut=>{if(typeof this[ut]!="function")throw new Error("doBatchQuery got invalid query method ".concat(ut));if(this[ut].type!=="query")throw new Error("doBatchQuery got none query method ".concat(ut))});const tt=et.map(ut=>{const st=j[ut]||{},ct=typeof st=="string"?st:this[ut].builder(st,_e);return parse$8(ct)}),nt=tt.shift();let rt=get(nt,"definitions[0].variableDefinitions"),it=get(nt,"definitions[0].directives"),ot=get(nt,"definitions[0].selectionSet.selections");return tt.forEach(ut=>{rt=rt.concat(get(ut,"definitions[0].variableDefinitions",[])),it=it.concat(get(ut,"definitions[0].directives",[])),ot=ot.concat(get(ut,"definitions[0].selectionSet.selections",[]))}),set(nt,"definitions[0].variableDefinitions",rt),set(nt,"definitions[0].directives",it),set(nt,"definitions[0].selectionSet.selections",ot),this._doRequest(print(nt),_e)}generateQueryFns(){var j=this;const{types:_e,queryType:et}=this.schema;if(!et)return;const tt=getQueryBuilders({types:_e,rootName:et.name,ignoreFields:this._getIgnoreFields.bind(this),maxDepth:this.config.maxQueryDepth});Object.keys(tt).forEach(nt=>{const rt=async function(ot){let ut=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const st=tt[nt](j._sanitizeArgs(ot),(ut||{}).ignoreFields),ct=await j._doRequest(st,ut,nt);return j._getPagedResults({result:ct,queryBuilder:tt[nt],args:ot,dataKey:nt,requestOptions:ut})};rt.type="query",rt.args=tt[nt].args,rt.builder=tt[nt],this[nt]=rt})}generateSubscriptionFns(){const{types:j,subscriptionType:_e}=this.schema;if(!_e)return;const et=getSubscriptionBuilders({types:j,rootName:_e.name,ignoreFields:this._getIgnoreFields.bind(this),maxDepth:this.config.maxQueryDepth});Object.keys(et).forEach(tt=>{const nt=async rt=>{const it=et[tt](this._sanitizeArgs(rt));return this.doRawSubscription(it)};nt.type="subscription",nt.args=et[tt].args,nt.builder=et[tt],this[tt]=nt})}async doRawSubscription(j){debug$2("doSubscription.query",j);const _e=this._getQueryId(j);if(this.subscriptions[_e])return Promise.resolve(this.subscriptions[_e].emitter);const et=await this._ensureSubscriptionChannel();return new Promise((tt,nt)=>{et.push("doc",{query:j}).receive("ok",rt=>{debug$2("subscription success",{queryId:_e,res:rt});const it=this._getEventImplementation();this.subscriptions[_e]=new it,this.subscriptions[_e].subscriptionId=rt.subscriptionId,tt(this.subscriptions[_e])}).receive("error",rt=>{debug$2("subscription error",rt),nt(rt)})})}generateMutationFns(){var j=this;const{types:_e,mutationType:et}=this.schema;if(!et)return;const tt=getMutationBuilders({types:_e,rootName:et.name,ignoreFields:this._getIgnoreFields.bind(this),maxDepth:this.config.maxQueryDepth});Object.keys(tt).forEach(nt=>{const rt=async function(ot){let ut=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const st=tt[nt](j._sanitizeArgs(ot),(ut||{}).ignoreFields);return j._doRequest(st,ut,nt)};rt.type="mutation",rt.args=tt[nt].args,rt.builder=tt[nt],this[nt]=rt})}async _doRequest(j,_e,et){debug$2("doRequest.query",j);const tt=typeof this.config.httpEndpoint=="function"?this.config.httpEndpoint(this.config.dataSource):this.config.httpEndpoint,nt=_e||{},rt=this._getAuthHeaders(j);nt.headers=Object.assign({},rt||{},nt.headers||{}),debug$2("_doRequest.headers",nt.headers);const it=Object.assign(await this._getExtraPayload(j),{query:j}),ot=await fetch$2(tt,{method:"POST",body:JSON.stringify(it),credentials:"same-origin",headers:Object.assign({"Content-Type":"application/json"},nt.headers)});let ut;try{ut=await ot.json(),debug$2("_doRequest.response",{status:ot.status,errors:ut?ut.errors:void 0})}catch{ut={}}if(Array.isArray(ut.errors)&&ut.errors.length){const st=ut.errors.map(yt=>yt.message),ct=st.some(yt=>yt.includes("Cannot query field"));let ft=st.join(`
1578
1578
  `);ct?ft="Schema Compatibility Error: ".concat(ft,`
1579
- This error typically indicates you are using an incompatible GraphQL client version. Please ensure your client version matches the server schema version.`):ft="GraphQLError: ".concat(ft);const pt=new Error(ft);throw pt.errors=ut.errors,pt.status=ot.status,pt}if(ot.status!==200){const st=ut.error||ut.message||"GraphQL Status Error ".concat(ot.status),ct=new Error(st);throw ct.status=ot.status,ct.response=ut,ct}return et&&ut.data[et]?ut.data[et]:ut.data}async _ensureSubscriptionChannel(){if(this.channel&&this.channel.isJoined())return Promise.resolve(this.channel);const j=typeof this.config.socketEndpoint=="function"?this.config.socketEndpoint(this.config.dataSource):this.config.socketEndpoint,_e=this._getSocketImplementation();return this.socket=new _e(j,this._getSocketOptions()),this.socket.connect(),this.socket.onMessage(et=>{let{event:tt,payload:nt}=et;if(debug$2("socket.onMessage",{event:tt,payload:nt}),tt==="subscription:data"){const rt=Object.keys(this.subscriptions).find(it=>this.subscriptions[it].subscriptionId===nt.subscriptionId);rt&&(debug$2("subscription.onMessage",{queryId:rt,subscriptionId:nt.subscriptionId}),this.subscriptions[rt].emit("data",nt.result.data))}}),this.socket.onConnError(et=>{debug$2("socket.reconnect.onConnError",et),Object.keys(this.subscriptions).forEach(tt=>{this.subscriptions[tt].emit("error",et)}),setTimeout(()=>{this.socket.connect()},1e3)}),this.channel=this.socket.channel("__absinthe__:control"),new Promise((et,tt)=>{this.channel.join().receive("ok",nt=>{debug$2("Channel join success",nt),et(this.channel)}).receive("error",nt=>{debug$2("Channel join error",nt),tt(nt)})})}_getApiList(j){return Object.keys(this).filter(_e=>typeof this[_e]=="function"&&this[_e].type===j)}_sanitizeArgs(j){return j}_getPagedResults(j){let{result:_e,queryBuilder:et,args:tt,dataKey:nt,prefix:rt="",requestOptions:it={}}=j;return this._attachNextFn({result:_e,queryBuilder:et,args:tt,dataKey:nt,prefix:rt,requestOptions:it}),Object.keys(_e).forEach(ut=>{if(!_e[ut]||typeof _e[ut]!="object"||Array.isArray(_e[ut]))return!1;const ct=[rt,ut].filter(Boolean).join(".").replace("".concat(nt),"").replace(/^\./,"");this._attachNextFn({result:_e[ut],queryBuilder:et,args:tt,dataKey:nt,prefix:rt,argPrefixStr:ct,requestOptions:it}),this._getPagedResults({result:_e[ut],queryBuilder:et,args:tt,dataKey:nt,prefix:rt})}),_e}_attachNextFn(j){let{result:_e,queryBuilder:et,args:tt,dataKey:nt,prefix:rt="",argPrefixStr:it="",requestOptions:ot={}}=j;if(_e.page&&_e.page.next&&_e.page.cursor&&Array.isArray(_e.data)&&!_e.next){const ut={paging:Object.assign({},tt.paging||{},{cursor:_e.page.cursor})},st=Object.assign({},tt,it?{[it]:ut}:ut);debug$2("_attachNextFn",JSON.stringify({argPrefixStr:it,prefix:rt,page:_e.page,args:tt,newArgs:st})),_e.next=async()=>{const ct=et(st),ft=await this._doRequest(ct,ot,nt);return this._getPagedResults({result:ft,queryBuilder:et,args:st,dataKey:nt,prefix:rt,requestOptions:ot})}}}_getSchema(){throw new Error("_getSchema must be implemented in sub class")}_getIgnoreFields(){throw new Error("_getIgnoreFields must be implemented in sub class")}_getSocketImplementation(){throw new Error("_getSocketImplementation must be implemented in sub class")}_getSocketOptions(){throw new Error("_getSocketOptions must be implemented in sub class")}_getEventImplementation(){throw new Error("_getEventImplementation must be implemented in sub class")}_getQueryId(){throw new Error("_getQueryId must be implemented in sub class")}_getAuthHeaders(){return{}}_getExtraPayload(){return{}}};var dist$1=BaseClient$1;const queryType={name:"Query"},mutationType={name:"Mutation"},subscriptionType=null,types$1=[{kind:"SCALAR",name:"Any",description:null,fields:null,inputFields:null,interfaces:null,enumValues:null,possibleTypes:null},{kind:"SCALAR",name:"Bytes",description:null,fields:null,inputFields:null,interfaces:null,enumValues:null,possibleTypes:null},{kind:"SCALAR",name:"Float32",description:null,fields:null,inputFields:null,interfaces:null,enumValues:null,possibleTypes:null},{kind:"SCALAR",name:"Int32",description:null,fields:null,inputFields:null,interfaces:null,enumValues:null,possibleTypes:null},{kind:"SCALAR",name:"Int64",description:null,fields:null,inputFields:null,interfaces:null,enumValues:null,possibleTypes:null},{kind:"SCALAR",name:"Uint32",description:null,fields:null,inputFields:null,interfaces:null,enumValues:null,possibleTypes:null},{kind:"SCALAR",name:"Uint64",description:null,fields:null,inputFields:null,interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"AutoBackupInput",description:null,fields:null,inputFields:[{name:"enabled",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"SCALAR",name:"Boolean",description:"The `Boolean` scalar type represents `true` or `false`.",fields:null,inputFields:null,interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"AutoBlockPolicyInput",description:null,fields:null,inputFields:[{name:"enabled",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"windowSize",description:null,type:{kind:"SCALAR",name:"Uint32",ofType:null},defaultValue:null},{name:"windowQuota",description:null,type:{kind:"SCALAR",name:"Uint32",ofType:null},defaultValue:null},{name:"blockDuration",description:null,type:{kind:"SCALAR",name:"Uint32",ofType:null},defaultValue:null},{name:"statusCodes",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"Uint32",ofType:null}}},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"AutoCheckUpdateInput",description:null,fields:null,inputFields:[{name:"enabled",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"BaseUserInfoInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"pk",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"role",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"avatar",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"fullName",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"email",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"approved",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"createdAt",description:null,type:{kind:"SCALAR",name:"Uint32",ofType:null},defaultValue:null},{name:"updatedAt",description:null,type:{kind:"SCALAR",name:"Uint32",ofType:null},defaultValue:null},{name:"locale",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"SCALAR",name:"String",description:"The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.",fields:null,inputFields:null,interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"BlockPolicyInput",description:null,fields:null,inputFields:[{name:"enabled",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"blacklist",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},defaultValue:null},{name:"autoBlocking",description:null,type:{kind:"INPUT_OBJECT",name:"AutoBlockPolicyInput",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"BlockletAccessPolicyInput",description:null,fields:null,inputFields:[{name:"id",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"name",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"description",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"roles",description:null,type:{kind:"SCALAR",name:"Any",ofType:null},defaultValue:null},{name:"reverse",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"isProtected",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"BlockletAccessPolicyQueryInput",description:null,fields:null,inputFields:[{name:"search",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"BlockletDockerInput",description:null,fields:null,inputFields:[{name:"dockerImage",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"dockerArgs",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"INPUT_OBJECT",name:"DockerRunKeyValuePairInput",ofType:null}}},defaultValue:null},{name:"dockerEnvs",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"INPUT_OBJECT",name:"DockerEnvKeyValuePairInput",ofType:null}}},defaultValue:null},{name:"dockerCommand",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"BlockletResponseHeaderPolicyInput",description:null,fields:null,inputFields:[{name:"id",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"name",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"description",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"securityHeader",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"cors",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"customHeader",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"removeHeader",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"isProtected",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"BlockletResponseHeaderPolicyQueryInput",description:null,fields:null,inputFields:[{name:"search",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"BlockletSecurityRuleInput",description:null,fields:null,inputFields:[{name:"id",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"pathPattern",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"componentDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"priority",description:null,type:{kind:"SCALAR",name:"Uint32",ofType:null},defaultValue:null},{name:"responseHeaderPolicyId",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"accessPolicyId",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"enabled",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"remark",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"accessPolicy",description:null,type:{kind:"INPUT_OBJECT",name:"BlockletAccessPolicyInput",ofType:null},defaultValue:null},{name:"responseHeaderPolicy",description:null,type:{kind:"INPUT_OBJECT",name:"BlockletResponseHeaderPolicyInput",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"BlockletSecurityRuleQueryInput",description:null,fields:null,inputFields:[{name:"search",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"BlockletStoreInput",description:null,fields:null,inputFields:[{name:"name",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"description",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"url",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"logoUrl",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"maintainer",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"cdnUrl",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"protected",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"id",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"scope",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"ConfigEntryInput",description:null,fields:null,inputFields:[{name:"key",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"value",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"required",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"description",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"validation",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"secure",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"custom",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"shared",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"ConfigNavigationInput",description:null,fields:null,inputFields:[{name:"id",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"title",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"link",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"icon",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"section",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"component",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"parent",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"role",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"visible",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"from",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"activeIcon",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"color",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"activeColor",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"description",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"ConnectedAccountInput",description:null,fields:null,inputFields:[{name:"provider",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"pk",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"id",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"lastLoginAt",description:null,type:{kind:"SCALAR",name:"Uint32",ofType:null},defaultValue:null},{name:"userInfo",description:null,type:{kind:"INPUT_OBJECT",name:"ConnectedAccountInfoInput",ofType:null},defaultValue:null},{name:"extra",description:null,type:{kind:"SCALAR",name:"Any",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"ConnectedAccountInfoInput",description:null,fields:null,inputFields:[{name:"name",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"picture",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"email",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"emailVerified",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"sub",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"extraData",description:null,type:{kind:"SCALAR",name:"Any",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"DockerEnvKeyValuePairInput",description:null,fields:null,inputFields:[{name:"key",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"value",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"description",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"secure",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"shared",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"required",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"custom",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"DockerRunKeyValuePairInput",description:null,fields:null,inputFields:[{name:"key",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"value",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"path",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"type",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"name",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"prefix",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"protocol",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"proxyBehavior",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"DownloadTokenInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"token",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"EnableEventInput",description:null,fields:null,inputFields:[{name:"type",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"source",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"GatewayInput",description:null,fields:null,inputFields:[{name:"requestLimit",description:null,type:{kind:"INPUT_OBJECT",name:"RequestLimitInput",ofType:null},defaultValue:null},{name:"blockPolicy",description:null,type:{kind:"INPUT_OBJECT",name:"BlockPolicyInput",ofType:null},defaultValue:null},{name:"proxyPolicy",description:null,type:{kind:"INPUT_OBJECT",name:"ProxyPolicyInput",ofType:null},defaultValue:null},{name:"cacheEnabled",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"wafPolicy",description:null,type:{kind:"INPUT_OBJECT",name:"WAFPolicyInput",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"HashFileInput",description:null,fields:null,inputFields:[{name:"file",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"hash",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"InviteSettingsInput",description:null,fields:null,inputFields:[{name:"enabled",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"IssuerInput",description:null,fields:null,inputFields:[{name:"id",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"name",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"pk",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"LoginEmailSettingsInput",description:null,fields:null,inputFields:[{name:"enabled",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"requireVerified",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"requireUnique",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"trustOauthProviders",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"enableDomainBlackList",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"domainBlackList",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},defaultValue:null},{name:"enableDomainWhiteList",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"domainWhiteList",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},defaultValue:null},{name:"trustedIssuers",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"INPUT_OBJECT",name:"IssuerInput",ofType:null}}},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"LoginPhoneSettingsInput",description:null,fields:null,inputFields:[{name:"enabled",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"requireVerified",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"requireUnique",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"trustedIssuers",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"INPUT_OBJECT",name:"IssuerInput",ofType:null}}},defaultValue:null},{name:"enableRegionBlackList",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"regionBlackList",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},defaultValue:null},{name:"enableRegionWhiteList",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"regionWhiteList",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"NodeInfoInput",description:null,fields:null,inputFields:[{name:"name",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"description",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"autoUpgrade",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"enableWelcomePage",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"registerUrl",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"webWalletUrl",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"blockletRegistryList",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"INPUT_OBJECT",name:"BlockletStoreInput",ofType:null}}},defaultValue:null},{name:"diskAlertThreshold",description:null,type:{kind:"SCALAR",name:"Uint32",ofType:null},defaultValue:null},{name:"enableBetaRelease",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"nftDomainUrl",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"enableFileSystemIsolation",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"enableDocker",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"isDockerInstalled",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"enableDockerNetwork",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"enableSessionHardening",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"PagingInput",description:null,fields:null,inputFields:[{name:"total",description:null,type:{kind:"SCALAR",name:"Uint32",ofType:null},defaultValue:null},{name:"pageSize",description:null,type:{kind:"SCALAR",name:"Uint32",ofType:null},defaultValue:null},{name:"pageCount",description:null,type:{kind:"SCALAR",name:"Uint32",ofType:null},defaultValue:null},{name:"page",description:null,type:{kind:"SCALAR",name:"Uint32",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"PassportInput",description:null,fields:null,inputFields:[{name:"id",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"name",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"title",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"issuer",description:null,type:{kind:"INPUT_OBJECT",name:"IssuerInput",ofType:null},defaultValue:null},{name:"type",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},defaultValue:null},{name:"issuanceDate",description:null,type:{kind:"SCALAR",name:"Uint32",ofType:null},defaultValue:null},{name:"expirationDate",description:null,type:{kind:"SCALAR",name:"Uint32",ofType:null},defaultValue:null},{name:"status",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"role",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"lastLoginAt",description:null,type:{kind:"SCALAR",name:"Uint32",ofType:null},defaultValue:null},{name:"scope",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"display",description:null,type:{kind:"INPUT_OBJECT",name:"PassportDisplayInput",ofType:null},defaultValue:null},{name:"source",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"parentDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"userDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"user",description:null,type:{kind:"INPUT_OBJECT",name:"BaseUserInfoInput",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"PassportDisplayInput",description:null,fields:null,inputFields:[{name:"type",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"content",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"PassportLogQueryInput",description:null,fields:null,inputFields:[{name:"passportId",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"PassportQueryInput",description:null,fields:null,inputFields:[{name:"role",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"search",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"status",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"PermissionInput",description:null,fields:null,inputFields:[{name:"name",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"description",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"isProtected",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"ProxyPolicyInput",description:null,fields:null,inputFields:[{name:"enabled",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"trustRecursive",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"trustedProxies",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},defaultValue:null},{name:"realIpHeader",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestAbortBlockletBackupInput",description:null,fields:null,inputFields:[{name:"appPid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestAccessKeyInput",description:null,fields:null,inputFields:[{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"accessKeyId",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestAccessKeysInput",description:null,fields:null,inputFields:[{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"paging",description:null,type:{kind:"INPUT_OBJECT",name:"PagingInput",ofType:null},defaultValue:null},{name:"remark",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"componentDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"resourceType",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"resourceId",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestAddBlockletAccessPolicyInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"data",description:null,type:{kind:"INPUT_OBJECT",name:"BlockletAccessPolicyInput",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestAddBlockletResponseHeaderPolicyInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"data",description:null,type:{kind:"INPUT_OBJECT",name:"BlockletResponseHeaderPolicyInput",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestAddBlockletSecurityRuleInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"data",description:null,type:{kind:"INPUT_OBJECT",name:"BlockletSecurityRuleInput",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestAddBlockletSpaceGatewayInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"spaceGateway",description:null,type:{kind:"INPUT_OBJECT",name:"SpaceGatewayInput",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestAddBlockletStoreInput",description:null,fields:null,inputFields:[{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"url",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"scope",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestAddDomainAliasInput",description:null,fields:null,inputFields:[{name:"id",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"domainAlias",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"force",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"type",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"nftDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"chainHost",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"inBlockletSetup",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestAddLetsEncryptCertInput",description:null,fields:null,inputFields:[{name:"domain",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"siteId",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"inBlockletSetup",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestAddNginxHttpsCertInput",description:null,fields:null,inputFields:[{name:"name",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"privateKey",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"certificate",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestAddRoutingRuleInput",description:null,fields:null,inputFields:[{name:"id",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"rule",description:null,type:{kind:"INPUT_OBJECT",name:"RoutingRuleInput",ofType:null},defaultValue:null},{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestAddRoutingSiteInput",description:null,fields:null,inputFields:[{name:"domain",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"type",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"rules",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"INPUT_OBJECT",name:"RoutingRuleInput",ofType:null}}},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestAttemptIdInput",description:null,fields:null,inputFields:[{name:"eventId",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"webhookId",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestAuditFederatedLoginInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"memberPid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"status",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestBackupBlockletInput",description:null,fields:null,inputFields:[{name:"appDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"to",description:null,type:{kind:"ENUM",name:"BackupTo",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestBlockletInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestBlockletDetailInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"attachDiskInfo",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"attachRuntimeInfo",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"getOptionalComponents",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestBlockletDiffInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"hashFiles",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"INPUT_OBJECT",name:"HashFileInput",ofType:null}}},defaultValue:null},{name:"rootDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestBlockletMetaInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"storeUrl",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestBlockletMetaFromUrlInput",description:null,fields:null,inputFields:[{name:"url",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"checkPrice",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestBlockletRuntimeHistoryInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"hours",description:null,type:{kind:"SCALAR",name:"Uint32",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestCheckDomainsInput",description:null,fields:null,inputFields:[{name:"domains",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},defaultValue:null},{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestClearCacheInput",description:null,fields:null,inputFields:[{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"pattern",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestComponentsInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"componentDids",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestConfigBlockletInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},defaultValue:null},{name:"configs",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"INPUT_OBJECT",name:"ConfigEntryInput",ofType:null}}},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestConfigNavigationsInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"navigations",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"INPUT_OBJECT",name:"ConfigNavigationInput",ofType:null}}},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestConfigNotificationInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"notification",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestConfigOAuthInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"oauth",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestConfigPassportIssuanceInput",description:null,fields:null,inputFields:[{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"enable",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestConfigPublicToStoreInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"publicToStore",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestConfigTrustedFactoriesInput",description:null,fields:null,inputFields:[{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"trustedFactories",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"INPUT_OBJECT",name:"TrustedFactoryInput",ofType:null}}},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestConfigTrustedPassportsInput",description:null,fields:null,inputFields:[{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"trustedPassports",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"INPUT_OBJECT",name:"TrustedPassportInput",ofType:null}}},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestConfigVaultInput",description:null,fields:null,inputFields:[{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"vaultDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"sessionId",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestConnectByStudioInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"storeId",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"storeUrl",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"storeName",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"blockletTitle",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"type",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"tenantScope",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"componentDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"messageId",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestConnectToStoreInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"storeId",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"storeUrl",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"storeName",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"projectId",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestCreateAccessKeyInput",description:null,fields:null,inputFields:[{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"remark",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"passport",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"authType",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"componentDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"resourceType",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"resourceId",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"createdVia",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"expireAt",description:null,type:{kind:"SCALAR",name:"Uint32",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestCreateInvitationInput",description:null,fields:null,inputFields:[{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"role",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"remark",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"sourceAppPid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"display",description:null,type:{kind:"INPUT_OBJECT",name:"PassportDisplayInput",ofType:null},defaultValue:null},{name:"passportExpireTime",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestCreatePassportIssuanceInput",description:null,fields:null,inputFields:[{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"ownerDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"name",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"display",description:null,type:{kind:"INPUT_OBJECT",name:"PassportDisplayInput",ofType:null},defaultValue:null},{name:"passportExpireTime",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestCreatePermissionInput",description:null,fields:null,inputFields:[{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"name",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"description",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestCreateProjectInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"type",description:null,type:{kind:"ENUM",name:"PublishType",ofType:null},defaultValue:null},{name:"blockletDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"blockletTitle",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"componentDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"tenantScope",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestCreateReleaseInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"projectId",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"releaseId",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"blockletDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"blockletVersion",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"blockletTitle",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"blockletDescription",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"blockletLogo",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"blockletIntroduction",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"blockletScreenshots",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},defaultValue:null},{name:"note",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"status",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"blockletComponents",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},defaultValue:null},{name:"uploadedResource",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"blockletResourceType",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"blockletSupport",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"blockletCommunity",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"blockletHomepage",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"blockletVideos",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},defaultValue:null},{name:"blockletRepository",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"contentType",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"blockletDocker",description:null,type:{kind:"INPUT_OBJECT",name:"BlockletDockerInput",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestCreateRoleInput",description:null,fields:null,inputFields:[{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"name",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"title",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"description",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"childName",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"permissions",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},defaultValue:null},{name:"extra",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestCreateTransferNodeInvitationInput",description:null,fields:null,inputFields:[{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"remark",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestCreateWebHookInput",description:null,fields:null,inputFields:[{name:"type",description:null,type:{kind:"ENUM",name:"SenderType",ofType:null},defaultValue:null},{name:"title",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"description",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"params",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"INPUT_OBJECT",name:"WebHookParamInput",ofType:null}}},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestCreateWebhookEndpointInput",description:null,fields:null,inputFields:[{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"WebhookEndpointStateInput",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestDeleteAccessKeyInput",description:null,fields:null,inputFields:[{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"accessKeyId",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestDeleteBlockletInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"keepData",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"sessionId",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestDeleteBlockletAccessPolicyInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"id",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestDeleteBlockletResponseHeaderPolicyInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"id",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestDeleteBlockletSecurityRuleInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"id",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestDeleteBlockletSpaceGatewayInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"spaceGatewayDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestDeleteBlockletStoreInput",description:null,fields:null,inputFields:[{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"url",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"projectId",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"scope",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestDeleteComponentInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"rootDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"keepData",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"sessionId",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestDeleteDomainAliasInput",description:null,fields:null,inputFields:[{name:"id",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"domainAlias",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestDeleteInvitationInput",description:null,fields:null,inputFields:[{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"inviteId",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestDeleteNginxHttpsCertInput",description:null,fields:null,inputFields:[{name:"id",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestDeletePermissionInput",description:null,fields:null,inputFields:[{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"name",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestDeleteRoleInput",description:null,fields:null,inputFields:[{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"name",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestDeleteRoutingRuleInput",description:null,fields:null,inputFields:[{name:"id",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"ruleId",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestDeleteRoutingSiteInput",description:null,fields:null,inputFields:[{name:"id",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestDeleteTeamSessionInput",description:null,fields:null,inputFields:[{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"sessionId",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestDeleteWebHookInput",description:null,fields:null,inputFields:[{name:"id",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestDeleteWebhookEndpointInput",description:null,fields:null,inputFields:[{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"id",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestDisbandFederatedLoginInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestDisconnectFromStoreInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"storeId",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"projectId",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"storeScope",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestFindCertificateByDomainInput",description:null,fields:null,inputFields:[{name:"domain",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestGetAuditLogsInput",description:null,fields:null,inputFields:[{name:"paging",description:null,type:{kind:"INPUT_OBJECT",name:"PagingInput",ofType:null},defaultValue:null},{name:"scope",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"category",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"actionOrContent",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestGetBlockletAccessPoliciesInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"paging",description:null,type:{kind:"INPUT_OBJECT",name:"PagingInput",ofType:null},defaultValue:null},{name:"query",description:null,type:{kind:"INPUT_OBJECT",name:"BlockletAccessPolicyQueryInput",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestGetBlockletAccessPolicyInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"id",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestGetBlockletBackupSummaryInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"startTime",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"endTime",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestGetBlockletBackupsInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"startTime",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"endTime",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestGetBlockletResponseHeaderPoliciesInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"paging",description:null,type:{kind:"INPUT_OBJECT",name:"PagingInput",ofType:null},defaultValue:null},{name:"query",description:null,type:{kind:"INPUT_OBJECT",name:"BlockletResponseHeaderPolicyQueryInput",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestGetBlockletResponseHeaderPolicyInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"id",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestGetBlockletSecurityRuleInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"id",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestGetBlockletSecurityRulesInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"paging",description:null,type:{kind:"INPUT_OBJECT",name:"PagingInput",ofType:null},defaultValue:null},{name:"query",description:null,type:{kind:"INPUT_OBJECT",name:"BlockletSecurityRuleQueryInput",ofType:null},defaultValue:null},{name:"includeDisabled",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestGetBlockletsInput",description:null,fields:null,inputFields:[{name:"useCache",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"includeRuntimeInfo",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestGetDynamicComponentsInput",description:null,fields:null,inputFields:[{name:"url",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestGetLauncherSessionInput",description:null,fields:null,inputFields:[{name:"launcherSessionId",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"launcherUrl",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestGetNotificationsInput",description:null,fields:null,inputFields:[{name:"receiver",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"sender",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"read",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"paging",description:null,type:{kind:"INPUT_OBJECT",name:"PagingInput",ofType:null},defaultValue:null},{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"severity",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},defaultValue:null},{name:"componentDid",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},defaultValue:null},{name:"entityId",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},defaultValue:null},{name:"source",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestGetPassportIssuancesInput",description:null,fields:null,inputFields:[{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"ownerDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestGetProjectsInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"paging",description:null,type:{kind:"INPUT_OBJECT",name:"PagingInput",ofType:null},defaultValue:null},{name:"componentDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"tenantScope",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestGetReleasesInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"projectId",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"paging",description:null,type:{kind:"INPUT_OBJECT",name:"PagingInput",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestGetRoutingSitesInput",description:null,fields:null,inputFields:[{name:"snapshotHash",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestGetRoutingSnapshotsInput",description:null,fields:null,inputFields:[{name:"limit",description:null,type:{kind:"SCALAR",name:"Int32",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestGetSelectedResourcesInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"projectId",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"releaseId",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"componentDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestGetSessionInput",description:null,fields:null,inputFields:[{name:"id",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestGetSnapshotSitesInput",description:null,fields:null,inputFields:[{name:"hash",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestGetTrafficInsightsInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"startDate",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"endDate",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"paging",description:null,type:{kind:"INPUT_OBJECT",name:"PagingInput",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestGetWebhookAttemptsInput",description:null,fields:null,inputFields:[{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestAttemptIdInput",ofType:null},defaultValue:null},{name:"paging",description:null,type:{kind:"INPUT_OBJECT",name:"PagingInput",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestGetWebhookEndpointInput",description:null,fields:null,inputFields:[{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"id",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestGetWebhookEndpointsInput",description:null,fields:null,inputFields:[{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"paging",description:null,type:{kind:"INPUT_OBJECT",name:"PagingInput",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestGrantPermissionForRoleInput",description:null,fields:null,inputFields:[{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"roleName",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"grantName",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestHasPermissionInput",description:null,fields:null,inputFields:[{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"role",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"permission",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestInstallComponentInput",description:null,fields:null,inputFields:[{name:"rootDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"mountPoint",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"url",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"file",description:null,type:{kind:"SCALAR",name:"Upload",ofType:null},defaultValue:null},{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"diffVersion",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"deleteSet",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},defaultValue:null},{name:"name",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"title",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"configs",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"INPUT_OBJECT",name:"ConfigEntryInput",ofType:null}}},defaultValue:null},{name:"downloadTokenList",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"INPUT_OBJECT",name:"DownloadTokenInput",ofType:null}}},defaultValue:null},{name:"skipNavigation",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"onlyRequired",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestIsDidDomainInput",description:null,fields:null,inputFields:[{name:"domain",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestIssuePassportToUserInput",description:null,fields:null,inputFields:[{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"userDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"role",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"display",description:null,type:{kind:"INPUT_OBJECT",name:"PassportDisplayInput",ofType:null},defaultValue:null},{name:"notify",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"notification",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestJoinFederatedLoginInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"appUrl",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestLaunchBlockletByLauncherInput",description:null,fields:null,inputFields:[{name:"blockletMetaUrl",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"title",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"description",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"chainHost",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"launcherSessionId",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"launcherUrl",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"onlyRequired",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"type",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"storeUrl",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestLimitInput",description:null,fields:null,inputFields:[{name:"enabled",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"rate",description:null,type:{kind:"SCALAR",name:"Uint32",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestLogoutUserInput",description:null,fields:null,inputFields:[{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"appPid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"userDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"visitorId",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestMakeAllNotificationsAsReadInput",description:null,fields:null,inputFields:[{name:"receiver",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"severity",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"componentDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"entityId",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"source",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestMigrateApplicationToStructV2Input",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"appSk",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestNodeRoutingInput",description:null,fields:null,inputFields:[{name:"provider",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"snapshotHash",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"forceRepopulate",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestNodeRuntimeHistoryInput",description:null,fields:null,inputFields:[{name:"hours",description:null,type:{kind:"SCALAR",name:"Uint32",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestNotificationComponentsInput",description:null,fields:null,inputFields:[{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"receiver",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestNotificationSendLogInput",description:null,fields:null,inputFields:[{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"dateRange",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},defaultValue:null},{name:"paging",description:null,type:{kind:"INPUT_OBJECT",name:"PagingInput",ofType:null},defaultValue:null},{name:"source",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"componentDids",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},defaultValue:null},{name:"severities",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestPassportInput",description:null,fields:null,inputFields:[{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"query",description:null,type:{kind:"INPUT_OBJECT",name:"PassportQueryInput",ofType:null},defaultValue:null},{name:"paging",description:null,type:{kind:"INPUT_OBJECT",name:"PagingInput",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestPassportLogInput",description:null,fields:null,inputFields:[{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"query",description:null,type:{kind:"INPUT_OBJECT",name:"PassportLogQueryInput",ofType:null},defaultValue:null},{name:"paging",description:null,type:{kind:"INPUT_OBJECT",name:"PagingInput",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestProjectInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"projectId",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"messageId",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestPublishToStoreInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"projectId",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"releaseId",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"type",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"storeId",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestQuitFederatedLoginInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"targetDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestReadNotificationsInput",description:null,fields:null,inputFields:[{name:"notificationIds",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},defaultValue:null},{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"receiver",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestReceiversInput",description:null,fields:null,inputFields:[{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"userName",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"userDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"walletSendStatus",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"Int32",ofType:null}}},defaultValue:null},{name:"pushKitSendStatus",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"Int32",ofType:null}}},defaultValue:null},{name:"emailSendStatus",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"Int32",ofType:null}}},defaultValue:null},{name:"dateRange",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},defaultValue:null},{name:"paging",description:null,type:{kind:"INPUT_OBJECT",name:"PagingInput",ofType:null},defaultValue:null},{name:"notificationId",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestRelatedPassportsInput",description:null,fields:null,inputFields:[{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"passportId",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"paging",description:null,type:{kind:"INPUT_OBJECT",name:"PagingInput",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestReleaseInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"projectId",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"releaseId",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestResendNotificationInput",description:null,fields:null,inputFields:[{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"notificationId",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"receivers",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},defaultValue:null},{name:"channels",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},defaultValue:null},{name:"webhookUrls",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},defaultValue:null},{name:"resendFailedOnly",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestResetNodeInput",description:null,fields:null,inputFields:[{name:"owner",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"blocklets",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"webhooks",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"certificates",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"accessKeys",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"blockletExtras",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"routingRules",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"users",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"invitations",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestRestoreBlockletInput",description:null,fields:null,inputFields:[{name:"endpoint",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"appDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"delegation",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"password",description:null,type:{kind:"SCALAR",name:"Bytes",ofType:null},defaultValue:null},{name:"wallet",description:null,type:{kind:"SCALAR",name:"Any",ofType:null},defaultValue:null},{name:"from",description:null,type:{kind:"ENUM",name:"BackupTo",ofType:null},defaultValue:null},{name:"appPid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestRevokePermissionFromRoleInput",description:null,fields:null,inputFields:[{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"roleName",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"grantName",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestRevokeUserPassportInput",description:null,fields:null,inputFields:[{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"userDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"passportId",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestRotateSessionKeyInput",description:null,fields:null,inputFields:[{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"sessionId",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestSendEmailInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"receiver",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"email",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestSendMsgInput",description:null,fields:null,inputFields:[{name:"webhookId",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"message",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestSendPushInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"receiver",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"notification",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestSwitchProfileInput",description:null,fields:null,inputFields:[{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"userDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"profile",description:null,type:{kind:"INPUT_OBJECT",name:"UserProfileInput",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestSyncFederatedInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestSyncMasterAuthorizationInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestTagInput",description:null,fields:null,inputFields:[{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"tag",description:null,type:{kind:"INPUT_OBJECT",name:"TagInput",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestTagsInput",description:null,fields:null,inputFields:[{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"paging",description:null,type:{kind:"INPUT_OBJECT",name:"PagingInput",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestTakeRoutingSnapshotInput",description:null,fields:null,inputFields:[{name:"dryRun",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"message",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestTeamPermissionInput",description:null,fields:null,inputFields:[{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"permission",description:null,type:{kind:"INPUT_OBJECT",name:"PermissionInput",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestTeamRoleInput",description:null,fields:null,inputFields:[{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"role",description:null,type:{kind:"INPUT_OBJECT",name:"RoleUpdateInput",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestTeamUserInput",description:null,fields:null,inputFields:[{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"user",description:null,type:{kind:"INPUT_OBJECT",name:"UserInfoInput",ofType:null},defaultValue:null},{name:"options",description:null,type:{kind:"INPUT_OBJECT",name:"RequestTeamUserOptionsInput",ofType:null},defaultValue:null},{name:"sessionId",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestTeamUserOptionsInput",description:null,fields:null,inputFields:[{name:"enableConnectedAccount",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"includeTags",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestUpdateAccessKeyInput",description:null,fields:null,inputFields:[{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"accessKeyId",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"remark",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"passport",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"expireAt",description:null,type:{kind:"SCALAR",name:"Uint32",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestUpdateAppSessionConfigInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"config",description:null,type:{kind:"INPUT_OBJECT",name:"SessionConfigInput",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestUpdateAutoBackupInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"autoBackup",description:null,type:{kind:"INPUT_OBJECT",name:"AutoBackupInput",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestUpdateAutoCheckUpdateInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"autoCheckUpdate",description:null,type:{kind:"INPUT_OBJECT",name:"AutoCheckUpdateInput",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestUpdateBlockletAccessPolicyInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"data",description:null,type:{kind:"INPUT_OBJECT",name:"BlockletAccessPolicyInput",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestUpdateBlockletResponseHeaderPolicyInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"data",description:null,type:{kind:"INPUT_OBJECT",name:"BlockletResponseHeaderPolicyInput",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestUpdateBlockletSecurityRuleInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"data",description:null,type:{kind:"INPUT_OBJECT",name:"BlockletSecurityRuleInput",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestUpdateBlockletSpaceGatewayInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"where",description:null,type:{kind:"INPUT_OBJECT",name:"SpaceGatewayInput",ofType:null},defaultValue:null},{name:"spaceGateway",description:null,type:{kind:"INPUT_OBJECT",name:"SpaceGatewayInput",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestUpdateComponentMountPointInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"rootDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"mountPoint",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestUpdateComponentTitleInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"rootDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"title",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestUpdateComponentsInput",description:null,fields:null,inputFields:[{name:"updateId",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"rootDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"selectedComponents",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestUpdateInviteSettingsInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"invite",description:null,type:{kind:"INPUT_OBJECT",name:"InviteSettingsInput",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestUpdateNginxHttpsCertInput",description:null,fields:null,inputFields:[{name:"id",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"name",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestUpdatePermissionsForRoleInput",description:null,fields:null,inputFields:[{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"roleName",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"grantNames",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestUpdateProjectInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"projectId",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"blockletTitle",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"blockletDescription",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"blockletIntroduction",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"autoUpload",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"possibleSameStore",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"blockletSupport",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"blockletCommunity",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"blockletHomepage",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestUpdateRoutingRuleInput",description:null,fields:null,inputFields:[{name:"id",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"rule",description:null,type:{kind:"INPUT_OBJECT",name:"RoutingRuleInput",ofType:null},defaultValue:null},{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestUpdateRoutingSiteInput",description:null,fields:null,inputFields:[{name:"id",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"corsAllowedOrigins",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},defaultValue:null},{name:"domain",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestUpdateSelectedResourcesInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"projectId",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"releaseId",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"componentDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"resources",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestUpdateUserAddressInput",description:null,fields:null,inputFields:[{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"address",description:null,type:{kind:"INPUT_OBJECT",name:"UserAddressInput",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestUpdateUserExtraInput",description:null,fields:null,inputFields:[{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"remark",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"extra",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestUpdateUserInfoInput",description:null,fields:null,inputFields:[{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"user",description:null,type:{kind:"INPUT_OBJECT",name:"UserInfoInput",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestUpdateUserTagsInput",description:null,fields:null,inputFields:[{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"tags",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"Uint32",ofType:null}}},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestUpdateWebhookEndpointInput",description:null,fields:null,inputFields:[{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"id",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"data",description:null,type:{kind:"INPUT_OBJECT",name:"WebhookEndpointStateInput",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestUpgradeNodeVersionInput",description:null,fields:null,inputFields:[{name:"sessionId",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestUserSessionsInput",description:null,fields:null,inputFields:[{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"query",description:null,type:{kind:"INPUT_OBJECT",name:"UserSessionQueryInput",ofType:null},defaultValue:null},{name:"sort",description:null,type:{kind:"INPUT_OBJECT",name:"UserSessionSortInput",ofType:null},defaultValue:null},{name:"paging",description:null,type:{kind:"INPUT_OBJECT",name:"PagingInput",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestUserSessionsCountInput",description:null,fields:null,inputFields:[{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"query",description:null,type:{kind:"INPUT_OBJECT",name:"UserSessionQueryInput",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestUsersInput",description:null,fields:null,inputFields:[{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"query",description:null,type:{kind:"INPUT_OBJECT",name:"UserQueryInput",ofType:null},defaultValue:null},{name:"sort",description:null,type:{kind:"INPUT_OBJECT",name:"UserSortInput",ofType:null},defaultValue:null},{name:"paging",description:null,type:{kind:"INPUT_OBJECT",name:"PagingInput",ofType:null},defaultValue:null},{name:"dids",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestVerifyAccessKeyInput",description:null,fields:null,inputFields:[{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"accessKeyId",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"resourceType",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"resourceId",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"componentDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestVersionedBlockletInput",description:null,fields:null,inputFields:[{name:"type",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"storeUrl",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"url",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"file",description:null,type:{kind:"SCALAR",name:"Upload",ofType:null},defaultValue:null},{name:"diffVersion",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"deleteSet",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},defaultValue:null},{name:"title",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"description",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"startImmediately",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"downloadTokenList",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"INPUT_OBJECT",name:"DownloadTokenInput",ofType:null}}},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RoleUpdateInput",description:null,fields:null,inputFields:[{name:"name",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"title",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"description",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"extra",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RoutingRuleInput",description:null,fields:null,inputFields:[{name:"id",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"from",description:null,type:{kind:"INPUT_OBJECT",name:"RoutingRuleFromInput",ofType:null},defaultValue:null},{name:"to",description:null,type:{kind:"INPUT_OBJECT",name:"RoutingRuleToInput",ofType:null},defaultValue:null},{name:"isProtected",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RoutingRuleFromInput",description:null,fields:null,inputFields:[{name:"pathPrefix",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"header",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"INPUT_OBJECT",name:"RoutingRuleHeaderInput",ofType:null}}},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RoutingRuleHeaderInput",description:null,fields:null,inputFields:[{name:"key",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"value",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"type",description:null,type:{kind:"ENUM",name:"HeaderMatchType",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RoutingRuleResponseInput",description:null,fields:null,inputFields:[{name:"status",description:null,type:{kind:"SCALAR",name:"Uint32",ofType:null},defaultValue:null},{name:"contentType",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"body",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RoutingRuleToInput",description:null,fields:null,inputFields:[{name:"port",description:null,type:{kind:"SCALAR",name:"Uint32",ofType:null},defaultValue:null},{name:"type",description:null,type:{kind:"ENUM",name:"BackendServiceType",ofType:null},defaultValue:null},{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"url",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"redirectCode",description:null,type:{kind:"SCALAR",name:"Int32",ofType:null},defaultValue:null},{name:"interfaceName",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"componentId",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"pageGroup",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"response",description:null,type:{kind:"INPUT_OBJECT",name:"RoutingRuleResponseInput",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"SessionConfigInput",description:null,fields:null,inputFields:[{name:"cacheTtl",description:null,type:{kind:"SCALAR",name:"Uint32",ofType:null},defaultValue:null},{name:"ttl",description:null,type:{kind:"SCALAR",name:"Uint32",ofType:null},defaultValue:null},{name:"email",description:null,type:{kind:"INPUT_OBJECT",name:"LoginEmailSettingsInput",ofType:null},defaultValue:null},{name:"phone",description:null,type:{kind:"INPUT_OBJECT",name:"LoginPhoneSettingsInput",ofType:null},defaultValue:null},{name:"salt",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"SpaceGatewayInput",description:null,fields:null,inputFields:[{name:"name",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"url",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"protected",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"endpoint",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"TagInput",description:null,fields:null,inputFields:[{name:"id",description:null,type:{kind:"SCALAR",name:"Uint32",ofType:null},defaultValue:null},{name:"title",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"description",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"color",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"createdAt",description:null,type:{kind:"SCALAR",name:"Uint32",ofType:null},defaultValue:null},{name:"updatedAt",description:null,type:{kind:"SCALAR",name:"Uint32",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"TeamInput",description:null,fields:null,inputFields:[{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"TrustedFactoryInput",description:null,fields:null,inputFields:[{name:"holderDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"issuerDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"factoryAddress",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"remark",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"passport",description:null,type:{kind:"INPUT_OBJECT",name:"TrustedPassportMappingToInput",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"TrustedPassportInput",description:null,fields:null,inputFields:[{name:"issuerDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"remark",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"mappings",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"INPUT_OBJECT",name:"TrustedPassportMappingInput",ofType:null}}},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"TrustedPassportMappingInput",description:null,fields:null,inputFields:[{name:"from",description:null,type:{kind:"INPUT_OBJECT",name:"TrustedPassportMappingFromInput",ofType:null},defaultValue:null},{name:"to",description:null,type:{kind:"INPUT_OBJECT",name:"TrustedPassportMappingToInput",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"TrustedPassportMappingFromInput",description:null,fields:null,inputFields:[{name:"passport",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"TrustedPassportMappingToInput",description:null,fields:null,inputFields:[{name:"role",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"ttl",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"ttlPolicy",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"UserAddressInput",description:null,fields:null,inputFields:[{name:"country",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"province",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"city",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"postalCode",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"line1",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"line2",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"UserInfoInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"pk",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"role",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"avatar",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"fullName",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"email",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"approved",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"createdAt",description:null,type:{kind:"SCALAR",name:"Uint32",ofType:null},defaultValue:null},{name:"updatedAt",description:null,type:{kind:"SCALAR",name:"Uint32",ofType:null},defaultValue:null},{name:"locale",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"passports",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"INPUT_OBJECT",name:"PassportInput",ofType:null}}},defaultValue:null},{name:"firstLoginAt",description:null,type:{kind:"SCALAR",name:"Uint32",ofType:null},defaultValue:null},{name:"lastLoginAt",description:null,type:{kind:"SCALAR",name:"Uint32",ofType:null},defaultValue:null},{name:"remark",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"lastLoginIp",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"sourceProvider",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"sourceAppPid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"connectedAccounts",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"INPUT_OBJECT",name:"ConnectedAccountInput",ofType:null}}},defaultValue:null},{name:"extra",description:null,type:{kind:"SCALAR",name:"Any",ofType:null},defaultValue:null},{name:"tags",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"INPUT_OBJECT",name:"TagInput",ofType:null}}},defaultValue:null},{name:"didSpace",description:null,type:{kind:"SCALAR",name:"Any",ofType:null},defaultValue:null},{name:"userSessions",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"INPUT_OBJECT",name:"UserSessionInput",ofType:null}}},defaultValue:null},{name:"url",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"phone",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"inviter",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"generation",description:null,type:{kind:"SCALAR",name:"Uint32",ofType:null},defaultValue:null},{name:"emailVerified",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"phoneVerified",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"metadata",description:null,type:{kind:"INPUT_OBJECT",name:"UserMetadataInput",ofType:null},defaultValue:null},{name:"address",description:null,type:{kind:"INPUT_OBJECT",name:"UserAddressInput",ofType:null},defaultValue:null},{name:"userSessionsCount",description:null,type:{kind:"SCALAR",name:"Uint32",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"UserMetadataInput",description:null,fields:null,inputFields:[{name:"bio",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"location",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"timezone",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"cover",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"links",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"INPUT_OBJECT",name:"UserMetadataLinkInput",ofType:null}}},defaultValue:null},{name:"status",description:null,type:{kind:"INPUT_OBJECT",name:"UserMetadataStatusInput",ofType:null},defaultValue:null},{name:"phone",description:null,type:{kind:"INPUT_OBJECT",name:"UserPhoneInfoInput",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"UserMetadataLinkInput",description:null,fields:null,inputFields:[{name:"url",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"favicon",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"UserMetadataStatusInput",description:null,fields:null,inputFields:[{name:"label",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"icon",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"duration",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"dateRange",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"Uint32",ofType:null}}},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"UserPhoneInfoInput",description:null,fields:null,inputFields:[{name:"country",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"phoneNumber",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"UserProfileInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"avatar",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"fullName",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"email",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"UserQueryInput",description:null,fields:null,inputFields:[{name:"role",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"approved",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"search",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"connectedDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"tags",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"Uint32",ofType:null}}},defaultValue:null},{name:"inviter",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"invitee",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"generation",description:null,type:{kind:"SCALAR",name:"Uint32",ofType:null},defaultValue:null},{name:"includeTags",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"includeUserSessions",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"includePassports",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"includeConnectedAccounts",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"UserSessionInput",description:null,fields:null,inputFields:[{name:"id",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"visitorId",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"appPid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"userDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"ua",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"passportId",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"status",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"lastLoginIp",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"extra",description:null,type:{kind:"SCALAR",name:"Any",ofType:null},defaultValue:null},{name:"createdAt",description:null,type:{kind:"SCALAR",name:"Uint32",ofType:null},defaultValue:null},{name:"updatedAt",description:null,type:{kind:"SCALAR",name:"Uint32",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"UserSessionQueryInput",description:null,fields:null,inputFields:[{name:"userDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"visitorId",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"appPid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"status",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"includeUser",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"UserSessionSortInput",description:null,fields:null,inputFields:[{name:"updatedAt",description:null,type:{kind:"SCALAR",name:"Uint32",ofType:null},defaultValue:null},{name:"createdAt",description:null,type:{kind:"SCALAR",name:"Uint32",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"UserSortInput",description:null,fields:null,inputFields:[{name:"updatedAt",description:null,type:{kind:"SCALAR",name:"Uint32",ofType:null},defaultValue:null},{name:"createdAt",description:null,type:{kind:"SCALAR",name:"Uint32",ofType:null},defaultValue:null},{name:"lastLoginAt",description:null,type:{kind:"SCALAR",name:"Uint32",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"WAFPolicyInput",description:null,fields:null,inputFields:[{name:"enabled",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"mode",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"inboundAnomalyScoreThreshold",description:null,type:{kind:"SCALAR",name:"Uint32",ofType:null},defaultValue:null},{name:"outboundAnomalyScoreThreshold",description:null,type:{kind:"SCALAR",name:"Uint32",ofType:null},defaultValue:null},{name:"logLevel",description:null,type:{kind:"SCALAR",name:"Uint32",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"WebHookParamInput",description:null,fields:null,inputFields:[{name:"name",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"description",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"required",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"defaultValue",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"value",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"type",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"WebhookEndpointStateInput",description:null,fields:null,inputFields:[{name:"id",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"apiVersion",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"url",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"description",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"enabledEvents",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"INPUT_OBJECT",name:"EnableEventInput",ofType:null}}},defaultValue:null},{name:"metadata",description:null,type:{kind:"SCALAR",name:"Any",ofType:null},defaultValue:null},{name:"status",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"createdAt",description:null,type:{kind:"SCALAR",name:"Uint32",ofType:null},defaultValue:null},{name:"updatedAt",description:null,type:{kind:"SCALAR",name:"Uint32",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"AccessKey",description:null,fields:[{name:"accessKeyId",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"accessKeyPublic",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"remark",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"passport",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"createdAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"updatedAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"lastUsedAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"createdBy",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"updatedBy",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"authType",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"componentDid",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"resourceType",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"resourceId",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"createdVia",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"expireAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"AuditLog",description:null,fields:[{name:"id",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"scope",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"category",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"action",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"content",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"actor",description:null,args:[],type:{kind:"OBJECT",name:"AuditLogActor",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"env",description:null,args:[],type:{kind:"OBJECT",name:"AuditLogEnv",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"createdAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"ip",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"ua",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"AuditLogActor",description:null,fields:[{name:"did",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"role",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"fullName",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"avatar",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"source",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"AuditLogEnv",description:null,fields:[{name:"browser",description:null,args:[],type:{kind:"OBJECT",name:"AuditLogEnvItem",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"os",description:null,args:[],type:{kind:"OBJECT",name:"AuditLogEnvItem",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"AuditLogEnvItem",description:null,fields:[{name:"name",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"version",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"AutoBackup",description:null,fields:[{name:"enabled",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"AutoBlockPolicy",description:null,fields:[{name:"enabled",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"windowSize",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"windowQuota",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"blockDuration",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"statusCodes",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"Uint32",ofType:null}}},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"AutoCheckUpdate",description:null,fields:[{name:"enabled",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"Backup",description:null,fields:[{name:"appPid",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"userDid",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"strategy",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"sourceUrl",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"target",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"targetName",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"targetUrl",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"createdAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"updatedAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"status",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"message",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"progress",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"metadata",description:null,args:[],type:{kind:"SCALAR",name:"Any",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"BackupSummaryItem",description:null,fields:[{name:"date",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"successCount",description:null,args:[],type:{kind:"SCALAR",name:"Int32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"errorCount",description:null,args:[],type:{kind:"SCALAR",name:"Int32",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"BaseUserInfo",description:null,fields:[{name:"did",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"pk",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"role",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"avatar",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"fullName",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"email",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"approved",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"createdAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"updatedAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"locale",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"BlockPolicy",description:null,fields:[{name:"enabled",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"blacklist",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"autoBlocking",description:null,args:[],type:{kind:"OBJECT",name:"AutoBlockPolicy",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"BlockletAccessPolicy",description:null,fields:[{name:"id",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"name",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"description",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"roles",description:null,args:[],type:{kind:"SCALAR",name:"Any",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"reverse",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"isProtected",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"BlockletBackupState",description:null,fields:[{name:"appDid",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"appPid",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"name",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"createdAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"BlockletCapabilities",description:null,fields:[{name:"clusterMode",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"component",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"navigation",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"didSpace",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"resourceExportApi",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"BlockletController",description:null,fields:[{name:"id",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"nftId",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"nftOwner",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"chainHost",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"expireDate",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"consumedAt",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"launcherUrl",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"launcherSessionId",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"ownerDid",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"status",description:null,args:[],type:{kind:"OBJECT",name:"BlockletControllerStatus",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"BlockletControllerStatus",description:null,fields:[{name:"value",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"reason",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"BlockletDiff",description:null,fields:[{name:"hasBlocklet",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"version",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"addSet",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"changeSet",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"deleteSet",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"BlockletDist",description:null,fields:[{name:"tarball",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"integrity",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"BlockletDocker",description:null,fields:[{name:"dockerImage",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"dockerArgs",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"DockerRunKeyValuePair",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"dockerEnvs",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"DockerEnvKeyValuePair",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"dockerCommand",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"BlockletDockerMeta",description:null,fields:[{name:"image",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"shell",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"runBaseScript",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"installNodeModules",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"BlockletEngine",description:null,fields:[{name:"name",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"displayName",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"description",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"version",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"available",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"visible",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"logo",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"BlockletEvent",description:null,fields:[{name:"type",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"description",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"BlockletHistoryItem",description:null,fields:[{name:"date",description:null,args:[],type:{kind:"SCALAR",name:"Uint64",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"cpu",description:null,args:[],type:{kind:"SCALAR",name:"Uint64",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"mem",description:null,args:[],type:{kind:"SCALAR",name:"Uint64",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"BlockletHistoryItemList",description:null,fields:[{name:"key",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"value",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"BlockletHistoryItem",ofType:null}}},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"BlockletMeta",description:null,fields:[{name:"did",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"name",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"version",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"description",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"interfaces",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"BlockletMetaInterface",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"author",description:null,args:[],type:{kind:"OBJECT",name:"BlockletMetaPerson",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"main",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"stats",description:null,args:[],type:{kind:"OBJECT",name:"BlockletStats",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"homepage",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"path",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"community",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"documentation",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"support",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"screenshots",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"keywords",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"group",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"logo",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"title",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"dist",description:null,args:[],type:{kind:"OBJECT",name:"BlockletDist",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"maintainers",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"BlockletMetaPerson",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"contributors",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"BlockletMetaPerson",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"repository",description:null,args:[],type:{kind:"OBJECT",name:"BlockletRepository",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"payment",description:null,args:[],type:{kind:"OBJECT",name:"BlockletPayment",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"nftFactory",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"lastPublishedAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"capabilities",description:null,args:[],type:{kind:"OBJECT",name:"BlockletCapabilities",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"components",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"ChildConfig",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"environments",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"Environment",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"requirements",description:null,args:[],type:{kind:"OBJECT",name:"Requirement",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"bundleDid",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"bundleName",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"navigation",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"Any",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"resources",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"resource",description:null,args:[],type:{kind:"OBJECT",name:"BlockletResource",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"engine",description:null,args:[],type:{kind:"SCALAR",name:"Any",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"owner",description:null,args:[],type:{kind:"OBJECT",name:"BlockletMetaOwner",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"docker",description:null,args:[],type:{kind:"OBJECT",name:"BlockletDockerMeta",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"events",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"BlockletEvent",ofType:null}}},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"BlockletMetaInterface",description:null,fields:[{name:"type",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"name",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"path",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"prefix",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"protocol",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"port",description:null,args:[],type:{kind:"SCALAR",name:"Any",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"services",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"BlockletMetaService",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"cacheable",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"pageGroups",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"BlockletMetaOwner",description:null,fields:[{name:"avatar",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"did",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"email",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"fullName",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"BlockletMetaPerson",description:null,fields:[{name:"name",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"email",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"url",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"BlockletMetaService",description:null,fields:[{name:"name",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"config",description:null,args:[],type:{kind:"SCALAR",name:"Any",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"BlockletMigrateRecord",description:null,fields:[{name:"appSk",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"appDid",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"at",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"BlockletPassport",description:null,fields:[{name:"passports",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"activePassports",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"BlockletPayment",description:null,fields:[{name:"price",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"BlockletPaymentPrice",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"share",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"BlockletPaymentShare",ofType:null}}},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"BlockletPaymentPrice",description:null,fields:[{name:"address",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"value",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"symbol",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"BlockletPaymentShare",description:null,fields:[{name:"address",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"name",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"value",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"BlockletPreUpdateInfo",description:null,fields:[{name:"updateId",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"updateList",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"UpdateList",ofType:null}}},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"BlockletRepository",description:null,fields:[{name:"type",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"url",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"BlockletResource",description:null,fields:[{name:"exportApi",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"types",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"BlockletResourceType",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"bundles",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"BlockletResourceBundle",ofType:null}}},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"BlockletResourceBundle",description:null,fields:[{name:"did",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"type",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"public",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"BlockletResourceType",description:null,fields:[{name:"type",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"description",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"BlockletResponseHeaderPolicy",description:null,fields:[{name:"id",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"name",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"description",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"securityHeader",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"cors",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"customHeader",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"removeHeader",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"isProtected",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"BlockletSecurityRule",description:null,fields:[{name:"id",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"pathPattern",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"componentDid",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"priority",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"responseHeaderPolicyId",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"accessPolicyId",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"enabled",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"remark",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"accessPolicy",description:null,args:[],type:{kind:"OBJECT",name:"BlockletAccessPolicy",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"responseHeaderPolicy",description:null,args:[],type:{kind:"OBJECT",name:"BlockletResponseHeaderPolicy",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"BlockletSettings",description:null,fields:[{name:"initialized",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"enablePassportIssuance",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"trustedPassports",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"TrustedPassport",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"whoCanAccess",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"owner",description:null,args:[],type:{kind:"OBJECT",name:"WalletInfo",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"children",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"SimpleBlockletState",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"publicToStore",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"storeList",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"BlockletStore",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"navigations",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"ConfigNavigation",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"oauth",description:null,args:[],type:{kind:"SCALAR",name:"Any",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"trustedFactories",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"TrustedFactory",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"notification",description:null,args:[],type:{kind:"SCALAR",name:"Any",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"session",description:null,args:[],type:{kind:"OBJECT",name:"SessionConfig",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"federated",description:null,args:[],type:{kind:"OBJECT",name:"FederatedConfig",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"autoCheckUpdate",description:null,args:[],type:{kind:"OBJECT",name:"AutoCheckUpdate",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"autoBackup",description:null,args:[],type:{kind:"OBJECT",name:"AutoBackup",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"invite",description:null,args:[],type:{kind:"OBJECT",name:"InviteSettings",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"theme",description:null,args:[],type:{kind:"SCALAR",name:"Any",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"BlockletState",description:null,fields:[{name:"meta",description:null,args:[],type:{kind:"OBJECT",name:"BlockletMeta",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"status",description:null,args:[],type:{kind:"ENUM",name:"BlockletStatus",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"createdAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"installedAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"startedAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"pausedAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"stoppedAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"updatedAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"environments",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"ConfigEntry",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"configs",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"ConfigEntry",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"diskInfo",description:null,args:[],type:{kind:"OBJECT",name:"DiskInfo",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"runtimeInfo",description:null,args:[],type:{kind:"OBJECT",name:"RuntimeInfo",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"appRuntimeInfo",description:null,args:[],type:{kind:"OBJECT",name:"RuntimeInfo",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"source",description:null,args:[],type:{kind:"ENUM",name:"BlockletSource",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"deployedFrom",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"bundleSource",description:null,args:[],type:{kind:"SCALAR",name:"Any",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"port",description:null,args:[],type:{kind:"SCALAR",name:"Float32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"engine",description:null,args:[],type:{kind:"OBJECT",name:"BlockletEngine",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"mode",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"ports",description:null,args:[],type:{kind:"SCALAR",name:"Any",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"children",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"ComponentState",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"optionalComponents",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"OptionalComponentState",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"trustedPassports",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"TrustedPassport",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"trustedFactories",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"TrustedFactory",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"enablePassportIssuance",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"dynamic",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"mountPoint",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"settings",description:null,args:[],type:{kind:"OBJECT",name:"BlockletSettings",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"appDid",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"site",description:null,args:[],type:{kind:"OBJECT",name:"RoutingSite",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"controller",description:null,args:[],type:{kind:"OBJECT",name:"BlockletController",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"migratedFrom",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"BlockletMigrateRecord",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"appPid",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"externalSk",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"externalSkSource",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"structVersion",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"enableDocker",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"enableDockerNetwork",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"vaults",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"BlockletVaultRecord",ofType:null}}},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"BlockletStats",description:null,fields:[{name:"downloads",description:null,args:[],type:{kind:"SCALAR",name:"Float32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"star",description:null,args:[],type:{kind:"SCALAR",name:"Float32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"purchases",description:null,args:[],type:{kind:"SCALAR",name:"Float32",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"BlockletStore",description:null,fields:[{name:"name",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"description",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"url",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"logoUrl",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"maintainer",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"cdnUrl",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"protected",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"id",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"scope",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"BlockletUsers",description:null,fields:[{name:"users",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"approvedUsers",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"BlockletVaultRecord",description:null,fields:[{name:"pk",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"did",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"at",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"sig",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"approverSig",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"approverDid",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"approverPk",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"BooleanResponse",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"result",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"Certificate",description:null,fields:[{name:"name",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"domain",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"id",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"meta",description:null,args:[],type:{kind:"OBJECT",name:"CertificateMeta",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"matchedSites",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"MatchedSites",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"createdAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"updatedAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"isProtected",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"source",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"status",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"CertificateIssuer",description:null,fields:[{name:"countryName",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"organizationName",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"commonName",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"CertificateMeta",description:null,fields:[{name:"issuer",description:null,args:[],type:{kind:"OBJECT",name:"CertificateIssuer",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"sans",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"validFrom",description:null,args:[],type:{kind:"SCALAR",name:"Int64",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"validTo",description:null,args:[],type:{kind:"SCALAR",name:"Int64",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"fingerprintAlg",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"fingerprint",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"validityPeriod",description:null,args:[],type:{kind:"SCALAR",name:"Int64",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ChildConfig",description:null,fields:[{name:"name",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"mountPoint",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"required",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ComponentState",description:null,fields:[{name:"meta",description:null,args:[],type:{kind:"OBJECT",name:"BlockletMeta",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"status",description:null,args:[],type:{kind:"ENUM",name:"BlockletStatus",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"createdAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"installedAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"startedAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"pausedAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"stoppedAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"environments",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"ConfigEntry",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"configs",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"ConfigEntry",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"diskInfo",description:null,args:[],type:{kind:"OBJECT",name:"DiskInfo",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"runtimeInfo",description:null,args:[],type:{kind:"OBJECT",name:"RuntimeInfo",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"source",description:null,args:[],type:{kind:"ENUM",name:"BlockletSource",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"deployedFrom",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"bundleSource",description:null,args:[],type:{kind:"SCALAR",name:"Any",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"port",description:null,args:[],type:{kind:"SCALAR",name:"Float32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"engine",description:null,args:[],type:{kind:"OBJECT",name:"BlockletEngine",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"mode",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"ports",description:null,args:[],type:{kind:"SCALAR",name:"Any",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"children",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"ComponentState",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"dynamic",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"mountPoint",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"dependents",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"Dependent",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"required",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"appRuntimeInfo",description:null,args:[],type:{kind:"OBJECT",name:"RuntimeInfo",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ConfigEntry",description:null,fields:[{name:"key",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"value",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"required",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"description",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"validation",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"secure",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"custom",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"shared",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ConfigNavigation",description:null,fields:[{name:"id",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"title",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"link",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"icon",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"section",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"component",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"parent",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"role",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"visible",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"from",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"activeIcon",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"color",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"activeColor",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"description",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ConnectedAccount",description:null,fields:[{name:"provider",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"did",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"pk",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"id",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"lastLoginAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"userInfo",description:null,args:[],type:{kind:"OBJECT",name:"ConnectedAccountInfo",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"extra",description:null,args:[],type:{kind:"SCALAR",name:"Any",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ConnectedAccountInfo",description:null,fields:[{name:"name",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"picture",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"email",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"emailVerified",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"sub",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"extraData",description:null,args:[],type:{kind:"SCALAR",name:"Any",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ConnectedStore",description:null,fields:[{name:"storeId",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"storeName",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"storeUrl",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"accessToken",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"developerDid",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"developerEmail",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"developerName",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"scope",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"CreateAccessKey",description:null,fields:[{name:"accessKeyId",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"accessKeyPublic",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"accessKeySecret",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"remark",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"passport",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"createdAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"lastUsedAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"authType",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"componentDid",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"resourceType",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"resourceId",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"createdVia",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"expireAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"DelegationState",description:null,fields:[{name:"delegated",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"Dependent",description:null,fields:[{name:"id",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"required",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"DiskInfo",description:null,fields:[{name:"app",description:null,args:[],type:{kind:"SCALAR",name:"Float32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"data",description:null,args:[],type:{kind:"SCALAR",name:"Float32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"log",description:null,args:[],type:{kind:"SCALAR",name:"Float32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"cache",description:null,args:[],type:{kind:"SCALAR",name:"Float32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"blocklets",description:null,args:[],type:{kind:"SCALAR",name:"Float32",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"DockerEnvKeyValuePair",description:null,fields:[{name:"key",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"value",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"description",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"secure",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"shared",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"required",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"custom",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"DockerRunKeyValuePair",description:null,fields:[{name:"key",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"value",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"path",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"type",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"name",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"prefix",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"protocol",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"proxyBehavior",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"EnableEvent",description:null,fields:[{name:"type",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"source",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"Environment",description:null,fields:[{name:"name",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"description",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"default",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"required",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"secure",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"validation",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"shared",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"FederatedConfig",description:null,fields:[{name:"config",description:null,args:[],type:{kind:"OBJECT",name:"FederatedConfigDetail",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"sites",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"FederatedConfigSite",ofType:null}}},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"FederatedConfigDetail",description:null,fields:[{name:"appId",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"appPid",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"delegation",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"isMaster",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"autoLogin",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"FederatedConfigSite",description:null,fields:[{name:"appId",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"appPid",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"aliasDid",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"appName",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"appDescription",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"appUrl",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"aliasDomain",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"appLogo",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"appLogoRect",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"did",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"pk",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"version",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"serverId",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"serverVersion",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"appliedAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"status",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"isMaster",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"Fuel",description:null,fields:[{name:"endpoint",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"address",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"value",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"reason",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"Gateway",description:null,fields:[{name:"requestLimit",description:null,args:[],type:{kind:"OBJECT",name:"RequestLimit",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"blockPolicy",description:null,args:[],type:{kind:"OBJECT",name:"BlockPolicy",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"proxyPolicy",description:null,args:[],type:{kind:"OBJECT",name:"ProxyPolicy",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"cacheEnabled",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"wafPolicy",description:null,args:[],type:{kind:"OBJECT",name:"WAFPolicy",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"GeneralResponse",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"IPInfo",description:null,fields:[{name:"internalV4",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"externalV4",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"internalV6",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"externalV6",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"InviteInfo",description:null,fields:[{name:"inviteId",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"role",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"remark",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"expireDate",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"inviter",description:null,args:[],type:{kind:"OBJECT",name:"UserInfo",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"teamDid",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"interfaceName",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"display",description:null,args:[],type:{kind:"OBJECT",name:"PassportDisplay",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"InviteSettings",description:null,fields:[{name:"enabled",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"Issuer",description:null,fields:[{name:"id",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"name",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"pk",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"KeyValue",description:null,fields:[{name:"key",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"value",description:null,args:[],type:{kind:"SCALAR",name:"Any",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"LauncherInfo",description:null,fields:[{name:"did",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"type",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"provider",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"url",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"tag",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"chainHost",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"LoginEmailSettings",description:null,fields:[{name:"enabled",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"requireVerified",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"requireUnique",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"trustOauthProviders",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"enableDomainBlackList",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"domainBlackList",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"enableDomainWhiteList",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"domainWhiteList",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"trustedIssuers",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"Issuer",ofType:null}}},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"LoginPhoneSettings",description:null,fields:[{name:"enabled",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"requireVerified",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"requireUnique",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"trustedIssuers",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"Issuer",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"enableRegionBlackList",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"regionBlackList",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"enableRegionWhiteList",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"regionWhiteList",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"MatchedSites",description:null,fields:[{name:"id",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"domain",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"NodeEnvInfo",description:null,fields:[{name:"ip",description:null,args:[],type:{kind:"OBJECT",name:"IPInfo",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"os",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"location",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"docker",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"image",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"blockletEngines",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"BlockletEngine",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"gitpod",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"disk",description:null,args:[],type:{kind:"OBJECT",name:"DiskInfo",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"NodeHistoryItem",description:null,fields:[{name:"date",description:null,args:[],type:{kind:"SCALAR",name:"Uint64",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"cpu",description:null,args:[],type:{kind:"SCALAR",name:"Uint64",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"mem",description:null,args:[],type:{kind:"SCALAR",name:"Uint64",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"daemonMem",description:null,args:[],type:{kind:"SCALAR",name:"Uint64",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"serviceMem",description:null,args:[],type:{kind:"SCALAR",name:"Uint64",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"hubMem",description:null,args:[],type:{kind:"SCALAR",name:"Uint64",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"NodeRouting",description:null,fields:[{name:"provider",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"snapshotHash",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"adminPath",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"requestLimit",description:null,args:[],type:{kind:"OBJECT",name:"RequestLimit",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"cacheEnabled",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"blockPolicy",description:null,args:[],type:{kind:"OBJECT",name:"BlockPolicy",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"proxyPolicy",description:null,args:[],type:{kind:"OBJECT",name:"ProxyPolicy",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"wafPolicy",description:null,args:[],type:{kind:"OBJECT",name:"WAFPolicy",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"NodeRuntimeConfig",description:null,fields:[{name:"blockletMaxMemoryLimit",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"daemonMaxMemoryLimit",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"proxyMaxMemoryLimit",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"NodeState",description:null,fields:[{name:"did",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"pk",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"version",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"name",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"description",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"port",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"initialized",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"nodeOwner",description:null,args:[],type:{kind:"OBJECT",name:"WalletInfo",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"createdAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"startedAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"initializedAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"mode",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"routing",description:null,args:[],type:{kind:"OBJECT",name:"NodeRouting",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"environments",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"ConfigEntry",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"uptime",description:null,args:[],type:{kind:"SCALAR",name:"Float32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"autoUpgrade",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"nextVersion",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"upgradeSessionId",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"registerUrl",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"enableWelcomePage",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"webWalletUrl",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"blockletRegistryList",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"BlockletStore",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"ownerNft",description:null,args:[],type:{kind:"OBJECT",name:"OwnerNft",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"diskAlertThreshold",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"trustedPassports",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"TrustedPassport",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"launcher",description:null,args:[],type:{kind:"OBJECT",name:"LauncherInfo",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"enablePassportIssuance",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"didRegistry",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"didDomain",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"status",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"trustedFactories",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"TrustedFactory",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"enableBetaRelease",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"runtimeConfig",description:null,args:[],type:{kind:"OBJECT",name:"NodeRuntimeConfig",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"nftDomainUrl",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"enableFileSystemIsolation",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"enableDocker",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"isDockerInstalled",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"enableDockerNetwork",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"enableSessionHardening",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"sessionSalt",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"Notification",description:null,fields:[{name:"sender",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"receiver",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"title",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"description",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"action",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"entityType",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"entityId",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"read",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"createdAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"id",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"severity",description:null,args:[],type:{kind:"ENUM",name:"Notification_NotificationSeverity",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"source",description:null,args:[],type:{kind:"ENUM",name:"Notification_NotificationSource",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"attachments",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"NotificationAttachment",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"blocks",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"NotificationAttachment",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"actions",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"NotificationAction",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"componentDid",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"type",description:null,args:[],type:{kind:"ENUM",name:"Notification_NotificationType",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"receivers",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"NotificationReceiver",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"data",description:null,args:[],type:{kind:"SCALAR",name:"Any",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"feedType",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"statistics",description:null,args:[],type:{kind:"OBJECT",name:"NotificationStatistics",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"activity",description:null,args:[],type:{kind:"OBJECT",name:"NotificationActivity",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"actorInfo",description:null,args:[],type:{kind:"OBJECT",name:"UserInfo",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"NotificationAction",description:null,fields:[{name:"bgColor",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"color",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"link",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"name",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"title",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"NotificationActivity",description:null,fields:[{name:"type",description:null,args:[],type:{kind:"ENUM",name:"NotificationActivity_ActivityTypeEnum",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"actor",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"target",description:null,args:[],type:{kind:"SCALAR",name:"Any",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"meta",description:null,args:[],type:{kind:"SCALAR",name:"Any",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"NotificationAttachment",description:null,fields:[{name:"data",description:null,args:[],type:{kind:"SCALAR",name:"Any",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"fields",description:null,args:[],type:{kind:"SCALAR",name:"Any",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"type",description:null,args:[],type:{kind:"ENUM",name:"NotificationAttachmentType",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"NotificationReceiver",description:null,fields:[{name:"id",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"notificationId",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"receiver",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"read",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"readAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"walletSendStatus",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"walletSendAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"pushKitSendStatus",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"pushKitSendAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"emailSendStatus",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"emailSendAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"createdAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"receiverUser",description:null,args:[],type:{kind:"OBJECT",name:"UserInfo",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"walletSendFailedReason",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"walletSendRecord",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"NotificationSendRecord",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"pushKitSendFailedReason",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"pushKitSendRecord",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"NotificationSendRecord",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"emailSendFailedReason",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"emailSendRecord",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"NotificationSendRecord",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"webhook",description:null,args:[],type:{kind:"SCALAR",name:"Any",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"email",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"webhookUrls",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"deviceId",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"NotificationSendRecord",description:null,fields:[{name:"sendStatus",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"sendAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"failedReason",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"NotificationStatistics",description:null,fields:[{name:"total",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"wallet",description:null,args:[],type:{kind:"OBJECT",name:"Statistics",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"push",description:null,args:[],type:{kind:"OBJECT",name:"Statistics",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"email",description:null,args:[],type:{kind:"OBJECT",name:"Statistics",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"webhook",description:null,args:[],type:{kind:"OBJECT",name:"WebhookStatistics",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"OptionalComponentState",description:null,fields:[{name:"logoUrl",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"dependencies",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"OptionalDependencies",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"meta",description:null,args:[],type:{kind:"OBJECT",name:"BlockletMeta",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"OptionalDependencies",description:null,fields:[{name:"parentDid",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"parentName",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"parentTitle",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"mountPoint",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"required",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"OwnerNft",description:null,fields:[{name:"did",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"holder",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"issuer",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"launcherSessionId",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"Paging",description:null,fields:[{name:"total",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"pageSize",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"pageCount",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"page",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"Passport",description:null,fields:[{name:"id",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"name",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"title",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"issuer",description:null,args:[],type:{kind:"OBJECT",name:"Issuer",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"type",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"issuanceDate",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"expirationDate",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"status",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"role",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"lastLoginAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"scope",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"display",description:null,args:[],type:{kind:"OBJECT",name:"PassportDisplay",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"source",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"parentDid",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"userDid",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"user",description:null,args:[],type:{kind:"OBJECT",name:"BaseUserInfo",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"PassportDisplay",description:null,fields:[{name:"type",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"content",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"PassportIssuanceInfo",description:null,fields:[{name:"id",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"name",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"title",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"expireDate",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"teamDid",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"ownerDid",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"display",description:null,args:[],type:{kind:"OBJECT",name:"PassportDisplay",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"PassportLogState",description:null,fields:[{name:"id",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"passportId",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"action",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"operatorIp",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"operatorUa",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"operatorDid",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"metadata",description:null,args:[],type:{kind:"SCALAR",name:"Any",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"createdAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"Permission",description:null,fields:[{name:"name",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"description",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"isProtected",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"Project",description:null,fields:[{name:"id",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"type",description:null,args:[],type:{kind:"ENUM",name:"PublishType",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"blockletDid",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"blockletVersion",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"blockletTitle",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"blockletDescription",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"blockletLogo",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"blockletIntroduction",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"blockletScreenshots",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"createdAt",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"updatedAt",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"componentDid",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"lastReleaseId",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"lastReleaseFiles",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"connectedStores",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"ConnectedStore",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"tenantScope",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"createdBy",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"autoUpload",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"possibleSameStore",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ProxyPolicy",description:null,fields:[{name:"enabled",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"trustRecursive",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"trustedProxies",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"realIpHeader",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"Release",description:null,fields:[{name:"id",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"projectId",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"blockletDid",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"blockletVersion",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"blockletTitle",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"blockletDescription",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"blockletLogo",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"blockletIntroduction",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"blockletScreenshots",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"note",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"files",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"status",description:null,args:[],type:{kind:"ENUM",name:"ReleaseStatus",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"createdAt",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"updatedAt",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"blockletComponents",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"ReleaseComponent",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"publishedStoreIds",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"uploadedResource",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"blockletResourceType",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"blockletSupport",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"blockletCommunity",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"blockletHomepage",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"blockletVideos",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"blockletRepository",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"contentType",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"blockletDocker",description:null,args:[],type:{kind:"OBJECT",name:"BlockletDocker",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ReleaseComponent",description:null,fields:[{name:"did",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"required",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"RequestLimit",description:null,fields:[{name:"enabled",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"rate",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"Requirement",description:null,fields:[{name:"server",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"os",description:null,args:[],type:{kind:"SCALAR",name:"Any",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"cpu",description:null,args:[],type:{kind:"SCALAR",name:"Any",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"fuels",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"Fuel",ofType:null}}},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseAccessKey",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"data",description:null,args:[],type:{kind:"OBJECT",name:"AccessKey",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseAccessKeys",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"list",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"AccessKey",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"paging",description:null,args:[],type:{kind:"OBJECT",name:"Paging",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseAddLetsEncryptCert",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseAddNginxHttpsCert",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseBlocklet",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"blocklet",description:null,args:[],type:{kind:"OBJECT",name:"BlockletState",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseBlockletAccessPolicies",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"accessPolicies",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"BlockletAccessPolicy",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"paging",description:null,args:[],type:{kind:"OBJECT",name:"Paging",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseBlockletAccessPolicy",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"accessPolicy",description:null,args:[],type:{kind:"OBJECT",name:"BlockletAccessPolicy",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseBlockletDiff",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"blockletDiff",description:null,args:[],type:{kind:"OBJECT",name:"BlockletDiff",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseBlockletInfo",description:null,fields:[{name:"user",description:null,args:[],type:{kind:"OBJECT",name:"BlockletUsers",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"passport",description:null,args:[],type:{kind:"OBJECT",name:"BlockletPassport",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"backup",description:null,args:[],type:{kind:"OBJECT",name:"Backup",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseBlockletMeta",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"meta",description:null,args:[],type:{kind:"SCALAR",name:"Any",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseBlockletMetaFromUrl",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"meta",description:null,args:[],type:{kind:"OBJECT",name:"BlockletMeta",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"isFree",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"inStore",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"registryUrl",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseBlockletResponseHeaderPolicies",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"responseHeaderPolicies",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"BlockletResponseHeaderPolicy",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"paging",description:null,args:[],type:{kind:"OBJECT",name:"Paging",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseBlockletResponseHeaderPolicy",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"responseHeaderPolicy",description:null,args:[],type:{kind:"OBJECT",name:"BlockletResponseHeaderPolicy",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseBlockletRuntimeHistory",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"historyList",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"BlockletHistoryItemList",ofType:null}}},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseBlockletSecurityRule",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"securityRule",description:null,args:[],type:{kind:"OBJECT",name:"BlockletSecurityRule",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseBlockletSecurityRules",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"securityRules",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"BlockletSecurityRule",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"paging",description:null,args:[],type:{kind:"OBJECT",name:"Paging",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseBlockletsFromBackup",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"backups",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"BlockletBackupState",ofType:null}}},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseCheckComponentsForUpdates",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"preUpdateInfo",description:null,args:[],type:{kind:"OBJECT",name:"BlockletPreUpdateInfo",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseCheckDomains",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseCheckNodeVersion",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"version",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseClearCache",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"removed",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseConfigVault",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"sessionId",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseConnectByStudio",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"url",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseConnectToStore",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"url",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseCreateAccessKey",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"data",description:null,args:[],type:{kind:"OBJECT",name:"CreateAccessKey",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseCreateInvitation",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"inviteInfo",description:null,args:[],type:{kind:"OBJECT",name:"InviteInfo",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseCreatePassportIssuance",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"info",description:null,args:[],type:{kind:"OBJECT",name:"PassportIssuanceInfo",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseCreateTransferNodeInvitation",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"inviteInfo",description:null,args:[],type:{kind:"OBJECT",name:"InviteInfo",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseCreateWebHook",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"webhook",description:null,args:[],type:{kind:"OBJECT",name:"WebHookSender",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseCreateWebhookEndpoint",description:null,fields:[{name:"data",description:null,args:[],type:{kind:"OBJECT",name:"WebhookEndpointState",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseDelegationState",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"state",description:null,args:[],type:{kind:"OBJECT",name:"DelegationState",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseDeleteAccessKey",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseDeleteNginxHttpsCert",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseDeleteWebHook",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseDeleteWebhookEndpoint",description:null,fields:[{name:"data",description:null,args:[],type:{kind:"OBJECT",name:"WebhookEndpointState",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseDisconnectFromStore",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseFindCertificateByDomain",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"cert",description:null,args:[],type:{kind:"OBJECT",name:"Certificate",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseGateway",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"gateway",description:null,args:[],type:{kind:"OBJECT",name:"Gateway",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseGetAuditLogs",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"list",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"AuditLog",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"paging",description:null,args:[],type:{kind:"OBJECT",name:"Paging",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseGetBlockletBackupSummary",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"summary",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"BackupSummaryItem",ofType:null}}},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseGetBlockletBackups",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"backups",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"Backup",ofType:null}}},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseGetBlockletSpaceGateways",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"spaceGateways",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"SpaceGateway",ofType:null}}},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseGetBlocklets",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"blocklets",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"BlockletState",ofType:null}}},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseGetCertificates",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"certificates",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"Certificate",ofType:null}}},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseGetDynamicComponents",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"components",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"ComponentState",ofType:null}}},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseGetInvitations",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"invitations",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"InviteInfo",ofType:null}}},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseGetLauncherSession",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"error",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"launcherSession",description:null,args:[],type:{kind:"SCALAR",name:"Any",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseGetNodeEnv",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"info",description:null,args:[],type:{kind:"OBJECT",name:"NodeEnvInfo",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseGetNodeInfo",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"info",description:null,args:[],type:{kind:"OBJECT",name:"NodeState",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseGetNotifications",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"list",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"Notification",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"paging",description:null,args:[],type:{kind:"OBJECT",name:"Paging",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"unreadCount",description:null,args:[],type:{kind:"SCALAR",name:"Int32",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseGetPassportCountPerRole",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"counts",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"KeyValue",ofType:null}}},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseGetPassportIssuances",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"list",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"PassportIssuanceInfo",ofType:null}}},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseGetProject",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"project",description:null,args:[],type:{kind:"OBJECT",name:"Project",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseGetProjects",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"projects",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"Project",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"paging",description:null,args:[],type:{kind:"OBJECT",name:"Paging",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseGetRelease",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"release",description:null,args:[],type:{kind:"OBJECT",name:"Release",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseGetReleases",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"releases",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"Release",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"paging",description:null,args:[],type:{kind:"OBJECT",name:"Paging",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseGetRoutingProviders",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"providers",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"RoutingProvider",ofType:null}}},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseGetRoutingSites",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"sites",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"RoutingSite",ofType:null}}},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseGetRoutingSnapshots",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"snapshots",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"RoutingSnapshot",ofType:null}}},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseGetSelectedResources",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"resources",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseGetSession",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"session",description:null,args:[],type:{kind:"SCALAR",name:"Any",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseGetSnapshotSites",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"sites",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"RoutingSite",ofType:null}}},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseGetTrafficInsights",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"list",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"TrafficInsight",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"paging",description:null,args:[],type:{kind:"OBJECT",name:"Paging",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseGetUsersCount",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"count",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseGetUsersCountPerRole",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"counts",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"KeyValue",ofType:null}}},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseGetWebhookAttempts",description:null,fields:[{name:"list",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"WebhookAttemptWithEndpointEventState",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"paging",description:null,args:[],type:{kind:"OBJECT",name:"Paging",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseGetWebhookEndpoint",description:null,fields:[{name:"data",description:null,args:[],type:{kind:"OBJECT",name:"WebhookEndpointWithUserInfo",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseGetWebhookEndpoints",description:null,fields:[{name:"list",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"WebhookEndpointWithUserInfo",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"paging",description:null,args:[],type:{kind:"OBJECT",name:"Paging",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseIsDidDomain",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"value",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseLaunchBlockletByLauncher",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"data",description:null,args:[],type:{kind:"SCALAR",name:"Any",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseMakeAllNotificationsAsRead",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"data",description:null,args:[],type:{kind:"OBJECT",name:"ReadUpdateAffected",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseNodeRuntimeHistory",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"history",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"NodeHistoryItem",ofType:null}}},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseNotificationComponents",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"componentDids",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseNotificationSendLog",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"list",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"Notification",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"paging",description:null,args:[],type:{kind:"OBJECT",name:"Paging",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponsePassport",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"passports",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"Passport",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"paging",description:null,args:[],type:{kind:"OBJECT",name:"Paging",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponsePassportLog",description:null,fields:[{name:"passportLogs",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"PassportLogState",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"paging",description:null,args:[],type:{kind:"OBJECT",name:"Paging",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponsePermission",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"permission",description:null,args:[],type:{kind:"OBJECT",name:"Permission",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponsePermissions",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"permissions",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"Permission",ofType:null}}},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseProject",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"project",description:null,args:[],type:{kind:"OBJECT",name:"Project",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponsePublishToStore",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"url",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseReadNotifications",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"numAffected",description:null,args:[],type:{kind:"SCALAR",name:"Int32",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseReceivers",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"list",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"NotificationReceiver",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"paging",description:null,args:[],type:{kind:"OBJECT",name:"Paging",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseRelease",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"release",description:null,args:[],type:{kind:"OBJECT",name:"Release",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseResendNotification",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"data",description:null,args:[],type:{kind:"SCALAR",name:"Any",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseResetNode",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseRestartAllContainers",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"sessionId",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseRestartServer",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"sessionId",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseRole",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"role",description:null,args:[],type:{kind:"OBJECT",name:"Role",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseRoles",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"roles",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"Role",ofType:null}}},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseRoutingSite",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"site",description:null,args:[],type:{kind:"OBJECT",name:"RoutingSite",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseSendMsg",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseSenderList",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"senders",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"WebHookSender",ofType:null}}},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseTag",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"tag",description:null,args:[],type:{kind:"OBJECT",name:"Tag",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseTags",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"tags",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"Tag",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"paging",description:null,args:[],type:{kind:"OBJECT",name:"Paging",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseTakeRoutingSnapshot",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"hash",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseUpdateAccessKey",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"data",description:null,args:[],type:{kind:"OBJECT",name:"AccessKey",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseUpdateNginxHttpsCert",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseUpdateWebhookEndpoint",description:null,fields:[{name:"data",description:null,args:[],type:{kind:"OBJECT",name:"WebhookEndpointState",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseUpgradeNodeVersion",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"sessionId",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseUser",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"user",description:null,args:[],type:{kind:"OBJECT",name:"UserInfo",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseUserSessions",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"list",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"UserSession",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"paging",description:null,args:[],type:{kind:"OBJECT",name:"Paging",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseUserSessionsCount",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"count",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseUsers",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"users",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"UserInfo",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"paging",description:null,args:[],type:{kind:"OBJECT",name:"Paging",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseVerifyAccessKey",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseWebHooks",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"webhooks",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"WebHook",ofType:null}}},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"Role",description:null,fields:[{name:"name",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"description",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"grants",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"title",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"isProtected",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"extra",description:null,args:[],type:{kind:"SCALAR",name:"Any",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"RoutingProvider",description:null,fields:[{name:"name",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"description",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"running",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"available",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"error",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"RoutingRule",description:null,fields:[{name:"id",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"from",description:null,args:[],type:{kind:"OBJECT",name:"RoutingRuleFrom",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"to",description:null,args:[],type:{kind:"OBJECT",name:"RoutingRuleTo",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"isProtected",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"RoutingRuleFrom",description:null,fields:[{name:"pathPrefix",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"header",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"RoutingRuleHeader",ofType:null}}},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"RoutingRuleHeader",description:null,fields:[{name:"key",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"value",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"type",description:null,args:[],type:{kind:"ENUM",name:"HeaderMatchType",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"RoutingRuleResponse",description:null,fields:[{name:"status",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"contentType",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"body",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"RoutingRuleTo",description:null,fields:[{name:"port",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"type",description:null,args:[],type:{kind:"ENUM",name:"BackendServiceType",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"did",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"url",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"redirectCode",description:null,args:[],type:{kind:"SCALAR",name:"Int32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"interfaceName",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"componentId",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"pageGroup",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"response",description:null,args:[],type:{kind:"OBJECT",name:"RoutingRuleResponse",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"RoutingSite",description:null,fields:[{name:"id",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"domain",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"domainAliases",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"Any",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"rules",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"RoutingRule",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"isProtected",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"corsAllowedOrigins",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"RoutingSnapshot",description:null,fields:[{name:"hash",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"tree",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"message",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"author",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"createdAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"RuntimeInfo",description:null,fields:[{name:"pid",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"port",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"uptime",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"memoryUsage",description:null,args:[],type:{kind:"SCALAR",name:"Float32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"cpuUsage",description:null,args:[],type:{kind:"SCALAR",name:"Float32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"runningDocker",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"cpus",description:null,args:[],type:{kind:"SCALAR",name:"Any",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"SessionConfig",description:null,fields:[{name:"cacheTtl",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"ttl",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"email",description:null,args:[],type:{kind:"OBJECT",name:"LoginEmailSettings",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"phone",description:null,args:[],type:{kind:"OBJECT",name:"LoginPhoneSettings",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"salt",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"SimpleBlockletMeta",description:null,fields:[{name:"did",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"name",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"version",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"description",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"title",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"bundleDid",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"bundleName",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"SimpleBlockletState",description:null,fields:[{name:"meta",description:null,args:[],type:{kind:"OBJECT",name:"SimpleBlockletMeta",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"status",description:null,args:[],type:{kind:"ENUM",name:"BlockletStatus",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"deployedFrom",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"mountPoint",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"deletedAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"SpaceGateway",description:null,fields:[{name:"name",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"url",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"protected",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"endpoint",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"did",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"Statistics",description:null,fields:[{name:"total",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"pending",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"success",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"failed",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"Tag",description:null,fields:[{name:"id",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"title",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"description",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"color",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"createdAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"updatedAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"TrafficInsight",description:null,fields:[{name:"did",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"date",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"totalRequests",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"validRequests",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"failedRequests",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"generationTime",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"uniqueVisitors",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"uniqueFiles",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"excludedHits",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"uniqueReferrers",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"uniqueNotFound",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"uniqueStaticFiles",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"logSize",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"bandwidth",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"TrustedFactory",description:null,fields:[{name:"holderDid",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"issuerDid",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"factoryAddress",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"remark",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"passport",description:null,args:[],type:{kind:"OBJECT",name:"TrustedPassportMappingTo",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"TrustedPassport",description:null,fields:[{name:"issuerDid",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"remark",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"mappings",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"TrustedPassportMapping",ofType:null}}},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"TrustedPassportMapping",description:null,fields:[{name:"from",description:null,args:[],type:{kind:"OBJECT",name:"TrustedPassportMappingFrom",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"to",description:null,args:[],type:{kind:"OBJECT",name:"TrustedPassportMappingTo",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"TrustedPassportMappingFrom",description:null,fields:[{name:"passport",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"TrustedPassportMappingTo",description:null,fields:[{name:"role",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"ttl",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"ttlPolicy",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"UpdateList",description:null,fields:[{name:"id",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"meta",description:null,args:[],type:{kind:"OBJECT",name:"BlockletMeta",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"UserAddress",description:null,fields:[{name:"country",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"province",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"city",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"postalCode",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"line1",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"line2",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"UserInfo",description:null,fields:[{name:"did",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"pk",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"role",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"avatar",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"fullName",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"email",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"approved",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"createdAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"updatedAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"locale",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"passports",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"Passport",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"firstLoginAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"lastLoginAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"remark",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"lastLoginIp",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"sourceProvider",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"sourceAppPid",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"connectedAccounts",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"ConnectedAccount",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"extra",description:null,args:[],type:{kind:"SCALAR",name:"Any",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"tags",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"Tag",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"didSpace",description:null,args:[],type:{kind:"SCALAR",name:"Any",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"userSessions",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"UserSession",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"url",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"phone",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"inviter",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"generation",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"emailVerified",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"phoneVerified",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"metadata",description:null,args:[],type:{kind:"OBJECT",name:"UserMetadata",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"address",description:null,args:[],type:{kind:"OBJECT",name:"UserAddress",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"userSessionsCount",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"UserMetadata",description:null,fields:[{name:"bio",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"location",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"timezone",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"cover",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"links",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"UserMetadataLink",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"status",description:null,args:[],type:{kind:"OBJECT",name:"UserMetadataStatus",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"phone",description:null,args:[],type:{kind:"OBJECT",name:"UserPhoneInfo",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"UserMetadataLink",description:null,fields:[{name:"url",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"favicon",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"UserMetadataStatus",description:null,fields:[{name:"label",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"icon",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"duration",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"dateRange",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"Uint32",ofType:null}}},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"UserPhoneInfo",description:null,fields:[{name:"country",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"phoneNumber",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"UserSession",description:null,fields:[{name:"id",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"visitorId",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"appPid",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"userDid",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"ua",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"passportId",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"status",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"lastLoginIp",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"extra",description:null,args:[],type:{kind:"SCALAR",name:"Any",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"createdAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"updatedAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"WAFPolicy",description:null,fields:[{name:"enabled",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"mode",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"inboundAnomalyScoreThreshold",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"outboundAnomalyScoreThreshold",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"logLevel",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"WalletInfo",description:null,fields:[{name:"did",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"pk",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"WebHook",description:null,fields:[{name:"type",description:null,args:[],type:{kind:"ENUM",name:"SenderType",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"id",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"params",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"WebHookParam",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"createdAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"updatedAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"WebHookParam",description:null,fields:[{name:"name",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"description",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"required",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"defaultValue",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"value",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"type",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"WebHookSender",description:null,fields:[{name:"type",description:null,args:[],type:{kind:"ENUM",name:"SenderType",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"title",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"description",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"params",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"WebHookParam",ofType:null}}},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"WebhookAttemptWithEndpointEventState",description:null,fields:[{name:"id",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"eventId",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"webhookId",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"status",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"responseStatus",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"responseBody",description:null,args:[],type:{kind:"SCALAR",name:"Any",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"retryCount",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"createdAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"updatedAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"endpoint",description:null,args:[],type:{kind:"OBJECT",name:"WebhookEndpointState",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"event",description:null,args:[],type:{kind:"OBJECT",name:"WebhookEventState",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"WebhookEndpointState",description:null,fields:[{name:"id",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"apiVersion",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"url",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"description",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"enabledEvents",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"EnableEvent",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"metadata",description:null,args:[],type:{kind:"SCALAR",name:"Any",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"status",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"createdAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"updatedAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"WebhookEndpointWithUserInfo",description:null,fields:[{name:"id",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"apiVersion",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"url",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"description",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"enabledEvents",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"EnableEvent",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"metadata",description:null,args:[],type:{kind:"SCALAR",name:"Any",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"status",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"createdAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"updatedAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"createUser",description:null,args:[],type:{kind:"OBJECT",name:"UserInfo",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"updateUser",description:null,args:[],type:{kind:"OBJECT",name:"UserInfo",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"WebhookEventState",description:null,fields:[{name:"id",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"type",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"apiVersion",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"data",description:null,args:[],type:{kind:"SCALAR",name:"Any",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"objectType",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"objectId",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"request",description:null,args:[],type:{kind:"SCALAR",name:"Any",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"pendingWebhooks",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"metadata",description:null,args:[],type:{kind:"SCALAR",name:"Any",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"createdAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"updatedAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"source",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"WebhookStatistics",description:null,fields:[{name:"total",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"pending",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"success",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"failed",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ReadUpdateAffected",description:null,fields:[{name:"numAffected",description:null,args:[],type:{kind:"SCALAR",name:"Int32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"notificationIds",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"ENUM",name:"BackendServiceType",description:null,fields:null,inputFields:null,interfaces:null,enumValues:[{name:"daemon",description:null,isDeprecated:!1,deprecationReason:null},{name:"blocklet",description:null,isDeprecated:!1,deprecationReason:null},{name:"redirect",description:null,isDeprecated:!1,deprecationReason:null},{name:"none",description:null,isDeprecated:!1,deprecationReason:null},{name:"general_proxy",description:null,isDeprecated:!1,deprecationReason:null},{name:"direct_response",description:null,isDeprecated:!1,deprecationReason:null},{name:"rewrite",description:null,isDeprecated:!1,deprecationReason:null},{name:"component",description:null,isDeprecated:!1,deprecationReason:null}],possibleTypes:null},{kind:"ENUM",name:"BackupTo",description:null,fields:null,inputFields:null,interfaces:null,enumValues:[{name:"spaces",description:null,isDeprecated:!1,deprecationReason:null},{name:"disk",description:null,isDeprecated:!1,deprecationReason:null}],possibleTypes:null},{kind:"ENUM",name:"BlockletSource",description:null,fields:null,inputFields:null,interfaces:null,enumValues:[{name:"registry",description:null,isDeprecated:!1,deprecationReason:null},{name:"local",description:null,isDeprecated:!1,deprecationReason:null},{name:"upload",description:null,isDeprecated:!1,deprecationReason:null},{name:"url",description:null,isDeprecated:!1,deprecationReason:null},{name:"custom",description:null,isDeprecated:!1,deprecationReason:null}],possibleTypes:null},{kind:"ENUM",name:"BlockletStatus",description:null,fields:null,inputFields:null,interfaces:null,enumValues:[{name:"added",description:null,isDeprecated:!1,deprecationReason:null},{name:"downloading",description:null,isDeprecated:!1,deprecationReason:null},{name:"downloaded",description:null,isDeprecated:!1,deprecationReason:null},{name:"installing",description:null,isDeprecated:!1,deprecationReason:null},{name:"installed",description:null,isDeprecated:!1,deprecationReason:null},{name:"starting",description:null,isDeprecated:!1,deprecationReason:null},{name:"running",description:null,isDeprecated:!1,deprecationReason:null},{name:"stopping",description:null,isDeprecated:!1,deprecationReason:null},{name:"stopped",description:null,isDeprecated:!1,deprecationReason:null},{name:"error",description:null,isDeprecated:!1,deprecationReason:null},{name:"upgrading",description:null,isDeprecated:!1,deprecationReason:null},{name:"restarting",description:null,isDeprecated:!1,deprecationReason:null},{name:"corrupted",description:null,isDeprecated:!1,deprecationReason:null},{name:"waiting",description:null,isDeprecated:!1,deprecationReason:null},{name:"deleted",description:null,isDeprecated:!1,deprecationReason:null},{name:"unknown",description:null,isDeprecated:!1,deprecationReason:null}],possibleTypes:null},{kind:"ENUM",name:"HeaderMatchType",description:null,fields:null,inputFields:null,interfaces:null,enumValues:[{name:"exact",description:null,isDeprecated:!1,deprecationReason:null},{name:"partial",description:null,isDeprecated:!1,deprecationReason:null},{name:"regexp",description:null,isDeprecated:!1,deprecationReason:null}],possibleTypes:null},{kind:"ENUM",name:"Notification_NotificationSeverity",description:null,fields:null,inputFields:null,interfaces:null,enumValues:[{name:"info",description:null,isDeprecated:!1,deprecationReason:null},{name:"success",description:null,isDeprecated:!1,deprecationReason:null},{name:"error",description:null,isDeprecated:!1,deprecationReason:null},{name:"warning",description:null,isDeprecated:!1,deprecationReason:null}],possibleTypes:null},{kind:"ENUM",name:"Notification_NotificationSource",description:null,fields:null,inputFields:null,interfaces:null,enumValues:[{name:"system",description:null,isDeprecated:!1,deprecationReason:null},{name:"component",description:null,isDeprecated:!1,deprecationReason:null}],possibleTypes:null},{kind:"ENUM",name:"Notification_NotificationType",description:null,fields:null,inputFields:null,interfaces:null,enumValues:[{name:"notification",description:null,isDeprecated:!1,deprecationReason:null},{name:"connect",description:null,isDeprecated:!1,deprecationReason:null},{name:"feed",description:null,isDeprecated:!1,deprecationReason:null},{name:"hi",description:null,isDeprecated:!1,deprecationReason:null},{name:"passthrough",description:null,isDeprecated:!1,deprecationReason:null}],possibleTypes:null},{kind:"ENUM",name:"NotificationActivity_ActivityTypeEnum",description:null,fields:null,inputFields:null,interfaces:null,enumValues:[{name:"comment",description:null,isDeprecated:!1,deprecationReason:null},{name:"like",description:null,isDeprecated:!1,deprecationReason:null},{name:"follow",description:null,isDeprecated:!1,deprecationReason:null},{name:"tips",description:null,isDeprecated:!1,deprecationReason:null},{name:"mention",description:null,isDeprecated:!1,deprecationReason:null},{name:"assign",description:null,isDeprecated:!1,deprecationReason:null}],possibleTypes:null},{kind:"ENUM",name:"NotificationAttachmentType",description:null,fields:null,inputFields:null,interfaces:null,enumValues:[{name:"asset",description:null,isDeprecated:!1,deprecationReason:null},{name:"vc",description:null,isDeprecated:!1,deprecationReason:null},{name:"token",description:null,isDeprecated:!1,deprecationReason:null},{name:"text",description:null,isDeprecated:!1,deprecationReason:null},{name:"image",description:null,isDeprecated:!1,deprecationReason:null},{name:"divider",description:null,isDeprecated:!1,deprecationReason:null},{name:"transaction",description:null,isDeprecated:!1,deprecationReason:null},{name:"dapp",description:null,isDeprecated:!1,deprecationReason:null},{name:"link",description:null,isDeprecated:!1,deprecationReason:null},{name:"section",description:null,isDeprecated:!1,deprecationReason:null}],possibleTypes:null},{kind:"ENUM",name:"PublishType",description:null,fields:null,inputFields:null,interfaces:null,enumValues:[{name:"resource",description:null,isDeprecated:!1,deprecationReason:null},{name:"pack",description:null,isDeprecated:!1,deprecationReason:null}],possibleTypes:null},{kind:"ENUM",name:"ReleaseStatus",description:null,fields:null,inputFields:null,interfaces:null,enumValues:[{name:"draft",description:null,isDeprecated:!1,deprecationReason:null},{name:"published",description:null,isDeprecated:!1,deprecationReason:null}],possibleTypes:null},{kind:"ENUM",name:"SenderType",description:null,fields:null,inputFields:null,interfaces:null,enumValues:[{name:"slack",description:null,isDeprecated:!1,deprecationReason:null},{name:"api",description:null,isDeprecated:!1,deprecationReason:null}],possibleTypes:null},{kind:"ENUM",name:"StatusCode",description:null,fields:null,inputFields:null,interfaces:null,enumValues:[{name:"ok",description:null,isDeprecated:!1,deprecationReason:null},{name:"blocklet_not_found",description:null,isDeprecated:!1,deprecationReason:null},{name:"blocklet_not_purchased",description:null,isDeprecated:!1,deprecationReason:null},{name:"forbidden",description:null,isDeprecated:!1,deprecationReason:null},{name:"internal",description:null,isDeprecated:!1,deprecationReason:null},{name:"timeout",description:null,isDeprecated:!1,deprecationReason:null}],possibleTypes:null},{kind:"SCALAR",name:"Upload",description:"The `Upload` scalar type represents a file upload.",fields:null,inputFields:null,interfaces:null,enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"Mutation",description:null,fields:[{name:"installBlocklet",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestVersionedBlockletInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseBlocklet",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"installComponent",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestInstallComponentInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseBlocklet",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"startBlocklet",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestComponentsInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseBlocklet",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"stopBlocklet",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestComponentsInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseBlocklet",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"reloadBlocklet",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestComponentsInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseBlocklet",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"restartBlocklet",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestComponentsInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseBlocklet",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"deleteBlocklet",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestDeleteBlockletInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseBlocklet",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"deleteComponent",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestDeleteComponentInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseBlocklet",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"cancelDownloadBlocklet",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestBlockletInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseBlocklet",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"checkComponentsForUpdates",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestBlockletInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseCheckComponentsForUpdates",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"upgradeComponents",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestUpdateComponentsInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseBlocklet",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"configBlocklet",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestConfigBlockletInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseBlocklet",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"configPublicToStore",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestConfigPublicToStoreInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseBlocklet",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"configNavigations",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestConfigNavigationsInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseBlocklet",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"configOAuth",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestConfigOAuthInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseBlocklet",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"configNotification",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestConfigNotificationInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseBlocklet",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"configVault",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestConfigVaultInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseConfigVault",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"sendEmail",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestSendEmailInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"GeneralResponse",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"sendPush",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestSendPushInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"GeneralResponse",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"joinFederatedLogin",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestJoinFederatedLoginInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseBlocklet",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"quitFederatedLogin",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestQuitFederatedLoginInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseBlocklet",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"disbandFederatedLogin",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestDisbandFederatedLoginInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseBlocklet",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"syncMasterAuthorization",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestSyncMasterAuthorizationInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseBlocklet",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"syncFederatedConfig",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestSyncFederatedInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseBlocklet",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"auditFederatedLogin",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestAuditFederatedLoginInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseBlocklet",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"updateAppSessionConfig",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestUpdateAppSessionConfigInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseBlocklet",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"updateComponentTitle",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestUpdateComponentTitleInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseBlocklet",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"updateComponentMountPoint",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestUpdateComponentMountPointInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseBlocklet",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"backupBlocklet",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestBackupBlockletInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"GeneralResponse",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"abortBlockletBackup",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestAbortBlockletBackupInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"GeneralResponse",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"restoreBlocklet",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestRestoreBlockletInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"GeneralResponse",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"migrateApplicationToStructV2",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestMigrateApplicationToStructV2Input",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"GeneralResponse",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"launchBlockletByLauncher",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestLaunchBlockletByLauncherInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseLaunchBlockletByLauncher",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"addBlockletSpaceGateway",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestAddBlockletSpaceGatewayInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"GeneralResponse",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"deleteBlockletSpaceGateway",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestDeleteBlockletSpaceGatewayInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"GeneralResponse",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"updateBlockletSpaceGateway",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestUpdateBlockletSpaceGatewayInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"GeneralResponse",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"updateAutoBackup",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestUpdateAutoBackupInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"GeneralResponse",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"updateAutoCheckUpdate",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestUpdateAutoCheckUpdateInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"GeneralResponse",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"updateInviteSettings",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestUpdateInviteSettingsInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"GeneralResponse",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"updateNodeInfo",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"NodeInfoInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseGetNodeInfo",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"updateNodeRouting",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestNodeRoutingInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseGetNodeInfo",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"upgradeNodeVersion",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestUpgradeNodeVersionInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseUpgradeNodeVersion",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"restartServer",description:null,args:[],type:{kind:"OBJECT",name:"ResponseRestartServer",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"resetNode",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestResetNodeInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseResetNode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"rotateSessionKey",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestRotateSessionKeyInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"GeneralResponse",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"updateGateway",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"GatewayInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseGateway",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"clearCache",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestClearCacheInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseClearCache",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"createMemberInvitation",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestCreateInvitationInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseCreateInvitation",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"createTransferInvitation",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestCreateTransferNodeInvitationInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseCreateTransferNodeInvitation",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"deleteInvitation",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestDeleteInvitationInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"GeneralResponse",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"createPassportIssuance",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestCreatePassportIssuanceInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseCreatePassportIssuance",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"deletePassportIssuance",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestDeleteTeamSessionInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"GeneralResponse",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"configTrustedPassports",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestConfigTrustedPassportsInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"GeneralResponse",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"configTrustedFactories",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestConfigTrustedFactoriesInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"GeneralResponse",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"configPassportIssuance",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestConfigPassportIssuanceInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"GeneralResponse",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"removeUser",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestTeamUserInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseUser",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"updateUserTags",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestUpdateUserTagsInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseUser",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"updateUserExtra",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestUpdateUserExtraInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseUser",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"updateUserApproval",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestTeamUserInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseUser",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"issuePassportToUser",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestIssuePassportToUserInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseUser",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"revokeUserPassport",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestRevokeUserPassportInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseUser",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"enableUserPassport",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestRevokeUserPassportInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseUser",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"removeUserPassport",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestRevokeUserPassportInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"GeneralResponse",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"switchProfile",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestSwitchProfileInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseUser",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"updateUserAddress",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestUpdateUserAddressInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseUser",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"updateUserInfo",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestUpdateUserInfoInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseUser",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"createRole",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestCreateRoleInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseRole",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"updateRole",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestTeamRoleInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseRole",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"deleteRole",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestDeleteRoleInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"GeneralResponse",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"createPermission",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestCreatePermissionInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponsePermission",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"updatePermission",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestTeamPermissionInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponsePermission",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"deletePermission",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestDeletePermissionInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"GeneralResponse",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"grantPermissionForRole",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestGrantPermissionForRoleInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"GeneralResponse",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"revokePermissionFromRole",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestRevokePermissionFromRoleInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"GeneralResponse",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"updatePermissionsForRole",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestUpdatePermissionsForRoleInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseRole",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"hasPermission",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestHasPermissionInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"BooleanResponse",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"addBlockletStore",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestAddBlockletStoreInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"GeneralResponse",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"deleteBlockletStore",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestDeleteBlockletStoreInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"GeneralResponse",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"createTag",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestTagInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseTag",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"updateTag",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestTagInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseTag",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"deleteTag",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestTagInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseTag",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"readNotifications",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestReadNotificationsInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseReadNotifications",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"unreadNotifications",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestReadNotificationsInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseReadNotifications",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"addRoutingSite",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestAddRoutingSiteInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseRoutingSite",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"addDomainAlias",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestAddDomainAliasInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseRoutingSite",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"deleteDomainAlias",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestDeleteDomainAliasInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseRoutingSite",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"deleteRoutingSite",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestDeleteRoutingSiteInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"GeneralResponse",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"updateRoutingSite",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestUpdateRoutingSiteInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseRoutingSite",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"addRoutingRule",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestAddRoutingRuleInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseRoutingSite",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"updateRoutingRule",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestUpdateRoutingRuleInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseRoutingSite",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"deleteRoutingRule",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestDeleteRoutingRuleInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseRoutingSite",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"takeRoutingSnapshot",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestTakeRoutingSnapshotInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseTakeRoutingSnapshot",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"updateCertificate",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestUpdateNginxHttpsCertInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseUpdateNginxHttpsCert",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"addCertificate",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestAddNginxHttpsCertInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseAddNginxHttpsCert",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"deleteCertificate",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestDeleteNginxHttpsCertInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseDeleteNginxHttpsCert",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"issueLetsEncryptCert",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestAddLetsEncryptCertInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseAddLetsEncryptCert",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"createAccessKey",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestCreateAccessKeyInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseCreateAccessKey",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"updateAccessKey",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestUpdateAccessKeyInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseUpdateAccessKey",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"deleteAccessKey",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestDeleteAccessKeyInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseDeleteAccessKey",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"verifyAccessKey",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestVerifyAccessKeyInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseVerifyAccessKey",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"createWebHook",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestCreateWebHookInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseCreateWebHook",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"deleteWebHook",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestDeleteWebHookInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseDeleteWebHook",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"createProject",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestCreateProjectInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseProject",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"updateProject",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestUpdateProjectInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseProject",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"deleteProject",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestProjectInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"GeneralResponse",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"createRelease",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestCreateReleaseInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseRelease",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"deleteRelease",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestReleaseInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"GeneralResponse",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"updateSelectedResources",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestUpdateSelectedResourcesInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"GeneralResponse",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"connectToStore",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestConnectToStoreInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseConnectToStore",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"disconnectFromStore",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestDisconnectFromStoreInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseDisconnectFromStore",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"publishToStore",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestPublishToStoreInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponsePublishToStore",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"connectByStudio",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestConnectByStudioInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseConnectByStudio",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"addBlockletSecurityRule",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestAddBlockletSecurityRuleInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseBlockletSecurityRule",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"updateBlockletSecurityRule",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestUpdateBlockletSecurityRuleInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseBlockletSecurityRule",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"deleteBlockletSecurityRule",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestDeleteBlockletSecurityRuleInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"GeneralResponse",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"addBlockletResponseHeaderPolicy",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestAddBlockletResponseHeaderPolicyInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseBlockletResponseHeaderPolicy",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"updateBlockletResponseHeaderPolicy",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestUpdateBlockletResponseHeaderPolicyInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseBlockletResponseHeaderPolicy",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"deleteBlockletResponseHeaderPolicy",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestDeleteBlockletResponseHeaderPolicyInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"GeneralResponse",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"addBlockletAccessPolicy",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestAddBlockletAccessPolicyInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseBlockletAccessPolicy",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"updateBlockletAccessPolicy",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestUpdateBlockletAccessPolicyInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseBlockletAccessPolicy",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"deleteBlockletAccessPolicy",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestDeleteBlockletAccessPolicyInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"GeneralResponse",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"restartAllContainers",description:null,args:[],type:{kind:"OBJECT",name:"ResponseRestartAllContainers",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"createWebhookEndpoint",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestCreateWebhookEndpointInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseCreateWebhookEndpoint",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"updateWebhookEndpoint",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestUpdateWebhookEndpointInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseUpdateWebhookEndpoint",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"deleteWebhookEndpoint",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestDeleteWebhookEndpointInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseDeleteWebhookEndpoint",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"Query",description:null,fields:[{name:"getBlocklet",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestBlockletDetailInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseBlocklet",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getBlockletMetaFromUrl",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestBlockletMetaFromUrlInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseBlockletMetaFromUrl",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getBlockletDiff",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestBlockletDiffInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseBlockletDiff",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getBlocklets",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestGetBlockletsInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseGetBlocklets",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getBlockletRuntimeHistory",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestBlockletRuntimeHistoryInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseBlockletRuntimeHistory",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getBlockletsFromBackup",description:null,args:[],type:{kind:"OBJECT",name:"ResponseBlockletsFromBackup",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getDynamicComponents",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestGetDynamicComponentsInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseGetDynamicComponents",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getNodeInfo",description:null,args:[],type:{kind:"OBJECT",name:"ResponseGetNodeInfo",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"resetNodeStatus",description:null,args:[],type:{kind:"OBJECT",name:"ResponseGetNodeInfo",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getNodeEnv",description:null,args:[],type:{kind:"OBJECT",name:"ResponseGetNodeEnv",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"checkNodeVersion",description:null,args:[],type:{kind:"OBJECT",name:"ResponseCheckNodeVersion",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getDelegationState",description:null,args:[],type:{kind:"OBJECT",name:"ResponseDelegationState",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getNodeRuntimeHistory",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestNodeRuntimeHistoryInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseNodeRuntimeHistory",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getBlockletMeta",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestBlockletMetaInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseBlockletMeta",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getNotifications",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestGetNotificationsInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseGetNotifications",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"makeAllNotificationsAsRead",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestMakeAllNotificationsAsReadInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseMakeAllNotificationsAsRead",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getNotificationSendLog",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestNotificationSendLogInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseNotificationSendLog",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getReceivers",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestReceiversInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseReceivers",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getNotificationComponents",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestNotificationComponentsInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseNotificationComponents",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"resendNotification",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestResendNotificationInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseResendNotification",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getRoutingSites",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestGetRoutingSitesInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseGetRoutingSites",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getRoutingSnapshots",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestGetRoutingSnapshotsInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseGetRoutingSnapshots",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getSnapshotSites",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestGetSnapshotSitesInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseGetSnapshotSites",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getRoutingProviders",description:null,args:[],type:{kind:"OBJECT",name:"ResponseGetRoutingProviders",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"isDidDomain",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestIsDidDomainInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseIsDidDomain",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getCertificates",description:null,args:[],type:{kind:"OBJECT",name:"ResponseGetCertificates",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"checkDomains",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestCheckDomainsInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseCheckDomains",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"findCertificateByDomain",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestFindCertificateByDomainInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseFindCertificateByDomain",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getAccessKeys",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestAccessKeysInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseAccessKeys",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getAccessKey",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestAccessKeyInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseAccessKey",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getWebHooks",description:null,args:[],type:{kind:"OBJECT",name:"ResponseWebHooks",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getWebhookSenders",description:null,args:[],type:{kind:"OBJECT",name:"ResponseSenderList",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"sendTestMessage",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestSendMsgInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseSendMsg",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getSession",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestGetSessionInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseGetSession",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getRoles",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"TeamInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseRoles",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getRole",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestTeamRoleInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseRole",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getPermissions",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"TeamInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponsePermissions",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getInvitations",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"TeamInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseGetInvitations",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getUsers",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestUsersInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseUsers",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getUser",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestTeamUserInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseUser",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getUserSessions",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestUserSessionsInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseUserSessions",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getUserSessionsCount",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestUserSessionsCountInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseUserSessionsCount",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getUsersCount",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"TeamInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseGetUsersCount",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getUsersCountPerRole",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"TeamInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseGetUsersCountPerRole",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getOwner",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"TeamInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseUser",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getPermissionsByRole",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestTeamRoleInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponsePermissions",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getPassportIssuances",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestGetPassportIssuancesInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseGetPassportIssuances",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"logoutUser",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestLogoutUserInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"GeneralResponse",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getTags",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestTagsInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseTags",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getAuditLogs",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestGetAuditLogsInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseGetAuditLogs",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getLauncherSession",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestGetLauncherSessionInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseGetLauncherSession",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getBlockletBackups",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestGetBlockletBackupsInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseGetBlockletBackups",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getBlockletBackupSummary",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestGetBlockletBackupSummaryInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseGetBlockletBackupSummary",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getBlockletSpaceGateways",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestBlockletInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseGetBlockletSpaceGateways",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getTrafficInsights",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestGetTrafficInsightsInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseGetTrafficInsights",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getProjects",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestGetProjectsInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseGetProjects",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getProject",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestProjectInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseGetProject",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getReleases",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestGetReleasesInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseGetReleases",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getRelease",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestReleaseInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseGetRelease",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getSelectedResources",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestGetSelectedResourcesInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseGetSelectedResources",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getBlockletSecurityRule",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestGetBlockletSecurityRuleInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseBlockletSecurityRule",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getBlockletSecurityRules",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestGetBlockletSecurityRulesInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseBlockletSecurityRules",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getBlockletResponseHeaderPolicy",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestGetBlockletResponseHeaderPolicyInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseBlockletAccessPolicy",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getBlockletResponseHeaderPolicies",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestGetBlockletResponseHeaderPoliciesInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseBlockletResponseHeaderPolicies",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getBlockletAccessPolicy",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestGetBlockletAccessPolicyInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseBlockletAccessPolicy",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getBlockletAccessPolicies",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestGetBlockletAccessPoliciesInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseBlockletAccessPolicies",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getWebhookEndpoints",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestGetWebhookEndpointsInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseGetWebhookEndpoints",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getWebhookEndpoint",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestGetWebhookEndpointInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseGetWebhookEndpoint",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getWebhookAttempts",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestGetWebhookAttemptsInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseGetWebhookAttempts",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getPassportRoleCounts",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"TeamInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseGetPassportCountPerRole",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getPassportsByRole",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestPassportInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponsePassport",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getPassportLogs",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestPassportLogInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponsePassportLog",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getRelatedPassports",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestRelatedPassportsInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponsePassport",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getBlockletBaseInfo",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"TeamInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseBlockletInfo",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"__Schema",description:"A GraphQL Schema defines the capabilities of a GraphQL server. It exposes all available types and directives on the server, as well as the entry points for query, mutation, and subscription operations.",fields:[{name:"description",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"types",description:"A list of all types supported by this server.",args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"__Type",ofType:null}}}},isDeprecated:!1,deprecationReason:null},{name:"queryType",description:"The type that query operations will be rooted at.",args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"__Type",ofType:null}},isDeprecated:!1,deprecationReason:null},{name:"mutationType",description:"If this server supports mutation, the type that mutation operations will be rooted at.",args:[],type:{kind:"OBJECT",name:"__Type",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"subscriptionType",description:"If this server support subscription, the type that subscription operations will be rooted at.",args:[],type:{kind:"OBJECT",name:"__Type",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"directives",description:"A list of all directives supported by this server.",args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"__Directive",ofType:null}}}},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"__Type",description:"The fundamental unit of any GraphQL Schema is the type. There are many kinds of types in GraphQL as represented by the `__TypeKind` enum.\n\nDepending on the kind of a type, certain fields describe information about that type. Scalar types provide no information beyond a name, description and optional `specifiedByURL`, while Enum types provide their values. Object and Interface types provide the fields they describe. Abstract types, Union and Interface, provide the Object types possible at runtime. List and NonNull types compose other types.",fields:[{name:"kind",description:null,args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"ENUM",name:"__TypeKind",ofType:null}},isDeprecated:!1,deprecationReason:null},{name:"name",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"description",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"specifiedByURL",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"fields",description:null,args:[{name:"includeDeprecated",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:"false"}],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"__Field",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"interfaces",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"__Type",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"possibleTypes",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"__Type",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"enumValues",description:null,args:[{name:"includeDeprecated",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:"false"}],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"__EnumValue",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"inputFields",description:null,args:[{name:"includeDeprecated",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:"false"}],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"__InputValue",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"ofType",description:null,args:[],type:{kind:"OBJECT",name:"__Type",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"ENUM",name:"__TypeKind",description:"An enum describing what kind of type a given `__Type` is.",fields:null,inputFields:null,interfaces:null,enumValues:[{name:"SCALAR",description:"Indicates this type is a scalar.",isDeprecated:!1,deprecationReason:null},{name:"OBJECT",description:"Indicates this type is an object. `fields` and `interfaces` are valid fields.",isDeprecated:!1,deprecationReason:null},{name:"INTERFACE",description:"Indicates this type is an interface. `fields`, `interfaces`, and `possibleTypes` are valid fields.",isDeprecated:!1,deprecationReason:null},{name:"UNION",description:"Indicates this type is a union. `possibleTypes` is a valid field.",isDeprecated:!1,deprecationReason:null},{name:"ENUM",description:"Indicates this type is an enum. `enumValues` is a valid field.",isDeprecated:!1,deprecationReason:null},{name:"INPUT_OBJECT",description:"Indicates this type is an input object. `inputFields` is a valid field.",isDeprecated:!1,deprecationReason:null},{name:"LIST",description:"Indicates this type is a list. `ofType` is a valid field.",isDeprecated:!1,deprecationReason:null},{name:"NON_NULL",description:"Indicates this type is a non-null. `ofType` is a valid field.",isDeprecated:!1,deprecationReason:null}],possibleTypes:null},{kind:"OBJECT",name:"__Field",description:"Object and Interface types are described by a list of Fields, each of which has a name, potentially a list of arguments, and a return type.",fields:[{name:"name",description:null,args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}},isDeprecated:!1,deprecationReason:null},{name:"description",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"args",description:null,args:[{name:"includeDeprecated",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:"false"}],type:{kind:"NON_NULL",name:null,ofType:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"__InputValue",ofType:null}}}},isDeprecated:!1,deprecationReason:null},{name:"type",description:null,args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"__Type",ofType:null}},isDeprecated:!1,deprecationReason:null},{name:"isDeprecated",description:null,args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"Boolean",ofType:null}},isDeprecated:!1,deprecationReason:null},{name:"deprecationReason",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"__InputValue",description:"Arguments provided to Fields or Directives and the input fields of an InputObject are represented as Input Values which describe their type and optionally a default value.",fields:[{name:"name",description:null,args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}},isDeprecated:!1,deprecationReason:null},{name:"description",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"type",description:null,args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"__Type",ofType:null}},isDeprecated:!1,deprecationReason:null},{name:"defaultValue",description:"A GraphQL-formatted string representing the default value for this input value.",args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"isDeprecated",description:null,args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"Boolean",ofType:null}},isDeprecated:!1,deprecationReason:null},{name:"deprecationReason",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"__EnumValue",description:"One possible value for a given Enum. Enum values are unique values, not a placeholder for a string or numeric value. However an Enum value is returned in a JSON response as a string.",fields:[{name:"name",description:null,args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}},isDeprecated:!1,deprecationReason:null},{name:"description",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"isDeprecated",description:null,args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"Boolean",ofType:null}},isDeprecated:!1,deprecationReason:null},{name:"deprecationReason",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"__Directive",description:`A Directive provides a way to describe alternate runtime execution and type validation behavior in a GraphQL document.
1579
+ This error typically indicates you are using an incompatible GraphQL client version. Please ensure your client version matches the server schema version.`):ft="GraphQLError: ".concat(ft);const pt=new Error(ft);throw pt.errors=ut.errors,pt.status=ot.status,pt}if(ot.status!==200){const st=ut.error||ut.message||"GraphQL Status Error ".concat(ot.status),ct=new Error(st);throw ct.status=ot.status,ct.response=ut,ct}return et&&ut.data[et]?ut.data[et]:ut.data}async _ensureSubscriptionChannel(){if(this.channel&&this.channel.isJoined())return Promise.resolve(this.channel);const j=typeof this.config.socketEndpoint=="function"?this.config.socketEndpoint(this.config.dataSource):this.config.socketEndpoint,_e=this._getSocketImplementation();return this.socket=new _e(j,this._getSocketOptions()),this.socket.connect(),this.socket.onMessage(et=>{let{event:tt,payload:nt}=et;if(debug$2("socket.onMessage",{event:tt,payload:nt}),tt==="subscription:data"){const rt=Object.keys(this.subscriptions).find(it=>this.subscriptions[it].subscriptionId===nt.subscriptionId);rt&&(debug$2("subscription.onMessage",{queryId:rt,subscriptionId:nt.subscriptionId}),this.subscriptions[rt].emit("data",nt.result.data))}}),this.socket.onConnError(et=>{debug$2("socket.reconnect.onConnError",et),Object.keys(this.subscriptions).forEach(tt=>{this.subscriptions[tt].emit("error",et)}),setTimeout(()=>{this.socket.connect()},1e3)}),this.channel=this.socket.channel("__absinthe__:control"),new Promise((et,tt)=>{this.channel.join().receive("ok",nt=>{debug$2("Channel join success",nt),et(this.channel)}).receive("error",nt=>{debug$2("Channel join error",nt),tt(nt)})})}_getApiList(j){return Object.keys(this).filter(_e=>typeof this[_e]=="function"&&this[_e].type===j)}_sanitizeArgs(j){return j}_getPagedResults(j){let{result:_e,queryBuilder:et,args:tt,dataKey:nt,prefix:rt="",requestOptions:it={}}=j;return this._attachNextFn({result:_e,queryBuilder:et,args:tt,dataKey:nt,prefix:rt,requestOptions:it}),Object.keys(_e).forEach(ut=>{if(!_e[ut]||typeof _e[ut]!="object"||Array.isArray(_e[ut]))return!1;const ct=[rt,ut].filter(Boolean).join(".").replace("".concat(nt),"").replace(/^\./,"");this._attachNextFn({result:_e[ut],queryBuilder:et,args:tt,dataKey:nt,prefix:rt,argPrefixStr:ct,requestOptions:it}),this._getPagedResults({result:_e[ut],queryBuilder:et,args:tt,dataKey:nt,prefix:rt})}),_e}_attachNextFn(j){let{result:_e,queryBuilder:et,args:tt,dataKey:nt,prefix:rt="",argPrefixStr:it="",requestOptions:ot={}}=j;if(_e.page&&_e.page.next&&_e.page.cursor&&Array.isArray(_e.data)&&!_e.next){const ut={paging:Object.assign({},tt.paging||{},{cursor:_e.page.cursor})},st=Object.assign({},tt,it?{[it]:ut}:ut);debug$2("_attachNextFn",JSON.stringify({argPrefixStr:it,prefix:rt,page:_e.page,args:tt,newArgs:st})),_e.next=async()=>{const ct=et(st),ft=await this._doRequest(ct,ot,nt);return this._getPagedResults({result:ft,queryBuilder:et,args:st,dataKey:nt,prefix:rt,requestOptions:ot})}}}_getSchema(){throw new Error("_getSchema must be implemented in sub class")}_getIgnoreFields(){throw new Error("_getIgnoreFields must be implemented in sub class")}_getSocketImplementation(){throw new Error("_getSocketImplementation must be implemented in sub class")}_getSocketOptions(){throw new Error("_getSocketOptions must be implemented in sub class")}_getEventImplementation(){throw new Error("_getEventImplementation must be implemented in sub class")}_getQueryId(){throw new Error("_getQueryId must be implemented in sub class")}_getAuthHeaders(){return{}}_getExtraPayload(){return{}}};var dist$1=BaseClient$1;const queryType={name:"Query"},mutationType={name:"Mutation"},subscriptionType=null,types$1=[{kind:"SCALAR",name:"Any",description:null,fields:null,inputFields:null,interfaces:null,enumValues:null,possibleTypes:null},{kind:"SCALAR",name:"Bytes",description:null,fields:null,inputFields:null,interfaces:null,enumValues:null,possibleTypes:null},{kind:"SCALAR",name:"Float32",description:null,fields:null,inputFields:null,interfaces:null,enumValues:null,possibleTypes:null},{kind:"SCALAR",name:"Int32",description:null,fields:null,inputFields:null,interfaces:null,enumValues:null,possibleTypes:null},{kind:"SCALAR",name:"Int64",description:null,fields:null,inputFields:null,interfaces:null,enumValues:null,possibleTypes:null},{kind:"SCALAR",name:"Uint32",description:null,fields:null,inputFields:null,interfaces:null,enumValues:null,possibleTypes:null},{kind:"SCALAR",name:"Uint64",description:null,fields:null,inputFields:null,interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"AutoBackupInput",description:null,fields:null,inputFields:[{name:"enabled",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"SCALAR",name:"Boolean",description:"The `Boolean` scalar type represents `true` or `false`.",fields:null,inputFields:null,interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"AutoBlockPolicyInput",description:null,fields:null,inputFields:[{name:"enabled",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"windowSize",description:null,type:{kind:"SCALAR",name:"Uint32",ofType:null},defaultValue:null},{name:"windowQuota",description:null,type:{kind:"SCALAR",name:"Uint32",ofType:null},defaultValue:null},{name:"blockDuration",description:null,type:{kind:"SCALAR",name:"Uint32",ofType:null},defaultValue:null},{name:"statusCodes",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"Uint32",ofType:null}}},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"AutoCheckUpdateInput",description:null,fields:null,inputFields:[{name:"enabled",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"BaseUserInfoInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"pk",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"role",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"avatar",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"fullName",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"email",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"approved",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"createdAt",description:null,type:{kind:"SCALAR",name:"Uint32",ofType:null},defaultValue:null},{name:"updatedAt",description:null,type:{kind:"SCALAR",name:"Uint32",ofType:null},defaultValue:null},{name:"locale",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"SCALAR",name:"String",description:"The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.",fields:null,inputFields:null,interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"BlockPolicyInput",description:null,fields:null,inputFields:[{name:"enabled",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"blacklist",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},defaultValue:null},{name:"autoBlocking",description:null,type:{kind:"INPUT_OBJECT",name:"AutoBlockPolicyInput",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"BlockletAccessPolicyInput",description:null,fields:null,inputFields:[{name:"id",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"name",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"description",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"roles",description:null,type:{kind:"SCALAR",name:"Any",ofType:null},defaultValue:null},{name:"reverse",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"isProtected",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"BlockletAccessPolicyQueryInput",description:null,fields:null,inputFields:[{name:"search",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"BlockletDockerInput",description:null,fields:null,inputFields:[{name:"dockerImage",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"dockerArgs",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"INPUT_OBJECT",name:"DockerRunKeyValuePairInput",ofType:null}}},defaultValue:null},{name:"dockerEnvs",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"INPUT_OBJECT",name:"DockerEnvKeyValuePairInput",ofType:null}}},defaultValue:null},{name:"dockerCommand",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"BlockletResponseHeaderPolicyInput",description:null,fields:null,inputFields:[{name:"id",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"name",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"description",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"securityHeader",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"cors",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"customHeader",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"removeHeader",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"isProtected",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"BlockletResponseHeaderPolicyQueryInput",description:null,fields:null,inputFields:[{name:"search",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"BlockletSecurityRuleInput",description:null,fields:null,inputFields:[{name:"id",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"pathPattern",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"componentDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"priority",description:null,type:{kind:"SCALAR",name:"Uint32",ofType:null},defaultValue:null},{name:"responseHeaderPolicyId",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"accessPolicyId",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"enabled",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"remark",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"accessPolicy",description:null,type:{kind:"INPUT_OBJECT",name:"BlockletAccessPolicyInput",ofType:null},defaultValue:null},{name:"responseHeaderPolicy",description:null,type:{kind:"INPUT_OBJECT",name:"BlockletResponseHeaderPolicyInput",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"BlockletSecurityRuleQueryInput",description:null,fields:null,inputFields:[{name:"search",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"BlockletStoreInput",description:null,fields:null,inputFields:[{name:"name",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"description",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"url",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"logoUrl",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"maintainer",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"cdnUrl",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"protected",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"id",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"scope",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"ConfigEntryInput",description:null,fields:null,inputFields:[{name:"key",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"value",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"required",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"description",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"validation",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"secure",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"custom",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"shared",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"ConfigNavigationInput",description:null,fields:null,inputFields:[{name:"id",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"title",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"link",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"icon",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"section",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"component",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"parent",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"role",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"visible",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"from",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"activeIcon",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"color",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"activeColor",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"description",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"ConnectedAccountInput",description:null,fields:null,inputFields:[{name:"provider",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"pk",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"id",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"lastLoginAt",description:null,type:{kind:"SCALAR",name:"Uint32",ofType:null},defaultValue:null},{name:"userInfo",description:null,type:{kind:"INPUT_OBJECT",name:"ConnectedAccountInfoInput",ofType:null},defaultValue:null},{name:"extra",description:null,type:{kind:"SCALAR",name:"Any",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"ConnectedAccountInfoInput",description:null,fields:null,inputFields:[{name:"name",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"picture",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"email",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"emailVerified",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"sub",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"extraData",description:null,type:{kind:"SCALAR",name:"Any",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"DockerEnvKeyValuePairInput",description:null,fields:null,inputFields:[{name:"key",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"value",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"description",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"secure",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"shared",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"required",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"custom",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"DockerRunKeyValuePairInput",description:null,fields:null,inputFields:[{name:"key",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"value",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"path",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"type",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"name",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"prefix",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"protocol",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"proxyBehavior",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"DownloadTokenInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"token",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"EnableEventInput",description:null,fields:null,inputFields:[{name:"type",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"source",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"GatewayInput",description:null,fields:null,inputFields:[{name:"requestLimit",description:null,type:{kind:"INPUT_OBJECT",name:"RequestLimitInput",ofType:null},defaultValue:null},{name:"blockPolicy",description:null,type:{kind:"INPUT_OBJECT",name:"BlockPolicyInput",ofType:null},defaultValue:null},{name:"proxyPolicy",description:null,type:{kind:"INPUT_OBJECT",name:"ProxyPolicyInput",ofType:null},defaultValue:null},{name:"cacheEnabled",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"wafPolicy",description:null,type:{kind:"INPUT_OBJECT",name:"WAFPolicyInput",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"HashFileInput",description:null,fields:null,inputFields:[{name:"file",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"hash",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"InviteSettingsInput",description:null,fields:null,inputFields:[{name:"enabled",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"IssuerInput",description:null,fields:null,inputFields:[{name:"id",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"name",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"pk",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"LoginEmailSettingsInput",description:null,fields:null,inputFields:[{name:"enabled",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"requireVerified",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"requireUnique",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"trustOauthProviders",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"enableDomainBlackList",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"domainBlackList",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},defaultValue:null},{name:"enableDomainWhiteList",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"domainWhiteList",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},defaultValue:null},{name:"trustedIssuers",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"INPUT_OBJECT",name:"IssuerInput",ofType:null}}},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"LoginPhoneSettingsInput",description:null,fields:null,inputFields:[{name:"enabled",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"requireVerified",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"requireUnique",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"trustedIssuers",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"INPUT_OBJECT",name:"IssuerInput",ofType:null}}},defaultValue:null},{name:"enableRegionBlackList",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"regionBlackList",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},defaultValue:null},{name:"enableRegionWhiteList",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"regionWhiteList",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"NodeInfoInput",description:null,fields:null,inputFields:[{name:"name",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"description",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"autoUpgrade",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"enableWelcomePage",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"registerUrl",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"webWalletUrl",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"blockletRegistryList",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"INPUT_OBJECT",name:"BlockletStoreInput",ofType:null}}},defaultValue:null},{name:"diskAlertThreshold",description:null,type:{kind:"SCALAR",name:"Uint32",ofType:null},defaultValue:null},{name:"enableBetaRelease",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"nftDomainUrl",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"enableFileSystemIsolation",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"enableDocker",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"isDockerInstalled",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"enableDockerNetwork",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"enableSessionHardening",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"PagingInput",description:null,fields:null,inputFields:[{name:"total",description:null,type:{kind:"SCALAR",name:"Uint32",ofType:null},defaultValue:null},{name:"pageSize",description:null,type:{kind:"SCALAR",name:"Uint32",ofType:null},defaultValue:null},{name:"pageCount",description:null,type:{kind:"SCALAR",name:"Uint32",ofType:null},defaultValue:null},{name:"page",description:null,type:{kind:"SCALAR",name:"Uint32",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"PassportInput",description:null,fields:null,inputFields:[{name:"id",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"name",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"title",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"issuer",description:null,type:{kind:"INPUT_OBJECT",name:"IssuerInput",ofType:null},defaultValue:null},{name:"type",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},defaultValue:null},{name:"issuanceDate",description:null,type:{kind:"SCALAR",name:"Uint32",ofType:null},defaultValue:null},{name:"expirationDate",description:null,type:{kind:"SCALAR",name:"Uint32",ofType:null},defaultValue:null},{name:"status",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"role",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"lastLoginAt",description:null,type:{kind:"SCALAR",name:"Uint32",ofType:null},defaultValue:null},{name:"scope",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"display",description:null,type:{kind:"INPUT_OBJECT",name:"PassportDisplayInput",ofType:null},defaultValue:null},{name:"source",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"parentDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"userDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"user",description:null,type:{kind:"INPUT_OBJECT",name:"BaseUserInfoInput",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"PassportDisplayInput",description:null,fields:null,inputFields:[{name:"type",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"content",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"PassportLogQueryInput",description:null,fields:null,inputFields:[{name:"passportId",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"PassportQueryInput",description:null,fields:null,inputFields:[{name:"role",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"search",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"status",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"PermissionInput",description:null,fields:null,inputFields:[{name:"name",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"description",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"isProtected",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"ProxyPolicyInput",description:null,fields:null,inputFields:[{name:"enabled",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"trustRecursive",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"trustedProxies",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},defaultValue:null},{name:"realIpHeader",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestAbortBlockletBackupInput",description:null,fields:null,inputFields:[{name:"appPid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestAccessKeyInput",description:null,fields:null,inputFields:[{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"accessKeyId",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestAccessKeysInput",description:null,fields:null,inputFields:[{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"paging",description:null,type:{kind:"INPUT_OBJECT",name:"PagingInput",ofType:null},defaultValue:null},{name:"remark",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"componentDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"resourceType",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"resourceId",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestAddBlockletAccessPolicyInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"data",description:null,type:{kind:"INPUT_OBJECT",name:"BlockletAccessPolicyInput",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestAddBlockletResponseHeaderPolicyInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"data",description:null,type:{kind:"INPUT_OBJECT",name:"BlockletResponseHeaderPolicyInput",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestAddBlockletSecurityRuleInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"data",description:null,type:{kind:"INPUT_OBJECT",name:"BlockletSecurityRuleInput",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestAddBlockletSpaceGatewayInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"spaceGateway",description:null,type:{kind:"INPUT_OBJECT",name:"SpaceGatewayInput",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestAddBlockletStoreInput",description:null,fields:null,inputFields:[{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"url",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"scope",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestAddDomainAliasInput",description:null,fields:null,inputFields:[{name:"id",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"domainAlias",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"force",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"type",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"nftDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"chainHost",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"inBlockletSetup",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestAddLetsEncryptCertInput",description:null,fields:null,inputFields:[{name:"domain",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"siteId",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"inBlockletSetup",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestAddNginxHttpsCertInput",description:null,fields:null,inputFields:[{name:"name",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"privateKey",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"certificate",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestAddRoutingRuleInput",description:null,fields:null,inputFields:[{name:"id",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"rule",description:null,type:{kind:"INPUT_OBJECT",name:"RoutingRuleInput",ofType:null},defaultValue:null},{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestAddRoutingSiteInput",description:null,fields:null,inputFields:[{name:"domain",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"type",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"rules",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"INPUT_OBJECT",name:"RoutingRuleInput",ofType:null}}},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestAddUploadEndpointInput",description:null,fields:null,inputFields:[{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"url",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"scope",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestAttemptIdInput",description:null,fields:null,inputFields:[{name:"eventId",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"webhookId",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestAuditFederatedLoginInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"memberPid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"status",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestBackupBlockletInput",description:null,fields:null,inputFields:[{name:"appDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"to",description:null,type:{kind:"ENUM",name:"BackupTo",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestBlockletInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestBlockletDetailInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"attachDiskInfo",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"attachRuntimeInfo",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"getOptionalComponents",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestBlockletDiffInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"hashFiles",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"INPUT_OBJECT",name:"HashFileInput",ofType:null}}},defaultValue:null},{name:"rootDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestBlockletMetaInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"storeUrl",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestBlockletMetaFromUrlInput",description:null,fields:null,inputFields:[{name:"url",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"checkPrice",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestBlockletRuntimeHistoryInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"hours",description:null,type:{kind:"SCALAR",name:"Uint32",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestCheckDomainsInput",description:null,fields:null,inputFields:[{name:"domains",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},defaultValue:null},{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestClearCacheInput",description:null,fields:null,inputFields:[{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"pattern",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestComponentsInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"componentDids",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestConfigBlockletInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},defaultValue:null},{name:"configs",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"INPUT_OBJECT",name:"ConfigEntryInput",ofType:null}}},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestConfigNavigationsInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"navigations",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"INPUT_OBJECT",name:"ConfigNavigationInput",ofType:null}}},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestConfigNotificationInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"notification",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestConfigOAuthInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"oauth",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestConfigPassportIssuanceInput",description:null,fields:null,inputFields:[{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"enable",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestConfigPublicToStoreInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"publicToStore",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestConfigTrustedFactoriesInput",description:null,fields:null,inputFields:[{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"trustedFactories",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"INPUT_OBJECT",name:"TrustedFactoryInput",ofType:null}}},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestConfigTrustedPassportsInput",description:null,fields:null,inputFields:[{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"trustedPassports",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"INPUT_OBJECT",name:"TrustedPassportInput",ofType:null}}},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestConfigVaultInput",description:null,fields:null,inputFields:[{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"vaultDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"sessionId",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestConnectByStudioInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"storeId",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"storeUrl",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"storeName",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"blockletTitle",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"type",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"tenantScope",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"componentDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"messageId",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestConnectToEndpointInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"endpointId",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"projectId",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestConnectToStoreInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"storeId",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"storeUrl",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"storeName",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"projectId",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestCreateAccessKeyInput",description:null,fields:null,inputFields:[{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"remark",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"passport",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"authType",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"componentDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"resourceType",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"resourceId",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"createdVia",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"expireAt",description:null,type:{kind:"SCALAR",name:"Uint32",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestCreateInvitationInput",description:null,fields:null,inputFields:[{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"role",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"remark",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"sourceAppPid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"display",description:null,type:{kind:"INPUT_OBJECT",name:"PassportDisplayInput",ofType:null},defaultValue:null},{name:"passportExpireTime",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestCreatePassportIssuanceInput",description:null,fields:null,inputFields:[{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"ownerDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"name",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"display",description:null,type:{kind:"INPUT_OBJECT",name:"PassportDisplayInput",ofType:null},defaultValue:null},{name:"passportExpireTime",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestCreatePermissionInput",description:null,fields:null,inputFields:[{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"name",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"description",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestCreateProjectInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"type",description:null,type:{kind:"ENUM",name:"PublishType",ofType:null},defaultValue:null},{name:"blockletDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"blockletTitle",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"componentDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"tenantScope",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestCreateReleaseInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"projectId",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"releaseId",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"blockletDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"blockletVersion",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"blockletTitle",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"blockletDescription",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"blockletLogo",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"blockletIntroduction",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"blockletScreenshots",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},defaultValue:null},{name:"note",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"status",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"blockletComponents",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},defaultValue:null},{name:"uploadedResource",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"blockletResourceType",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"blockletSupport",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"blockletCommunity",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"blockletHomepage",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"blockletVideos",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},defaultValue:null},{name:"blockletRepository",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"contentType",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"blockletDocker",description:null,type:{kind:"INPUT_OBJECT",name:"BlockletDockerInput",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestCreateRoleInput",description:null,fields:null,inputFields:[{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"name",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"title",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"description",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"childName",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"permissions",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},defaultValue:null},{name:"extra",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestCreateTransferNodeInvitationInput",description:null,fields:null,inputFields:[{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"remark",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestCreateWebHookInput",description:null,fields:null,inputFields:[{name:"type",description:null,type:{kind:"ENUM",name:"SenderType",ofType:null},defaultValue:null},{name:"title",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"description",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"params",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"INPUT_OBJECT",name:"WebHookParamInput",ofType:null}}},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestCreateWebhookEndpointInput",description:null,fields:null,inputFields:[{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"WebhookEndpointStateInput",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestDeleteAccessKeyInput",description:null,fields:null,inputFields:[{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"accessKeyId",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestDeleteBlockletInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"keepData",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"sessionId",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestDeleteBlockletAccessPolicyInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"id",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestDeleteBlockletResponseHeaderPolicyInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"id",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestDeleteBlockletSecurityRuleInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"id",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestDeleteBlockletSpaceGatewayInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"spaceGatewayDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestDeleteBlockletStoreInput",description:null,fields:null,inputFields:[{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"url",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"projectId",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"scope",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestDeleteComponentInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"rootDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"keepData",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"sessionId",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestDeleteDomainAliasInput",description:null,fields:null,inputFields:[{name:"id",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"domainAlias",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestDeleteInvitationInput",description:null,fields:null,inputFields:[{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"inviteId",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestDeleteNginxHttpsCertInput",description:null,fields:null,inputFields:[{name:"id",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestDeletePermissionInput",description:null,fields:null,inputFields:[{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"name",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestDeleteRoleInput",description:null,fields:null,inputFields:[{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"name",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestDeleteRoutingRuleInput",description:null,fields:null,inputFields:[{name:"id",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"ruleId",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestDeleteRoutingSiteInput",description:null,fields:null,inputFields:[{name:"id",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestDeleteTeamSessionInput",description:null,fields:null,inputFields:[{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"sessionId",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestDeleteUploadEndpointInput",description:null,fields:null,inputFields:[{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"scope",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"projectId",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestDeleteWebHookInput",description:null,fields:null,inputFields:[{name:"id",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestDeleteWebhookEndpointInput",description:null,fields:null,inputFields:[{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"id",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestDisbandFederatedLoginInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestDisconnectFromEndpointInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"endpointId",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"projectId",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestDisconnectFromStoreInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"storeId",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"projectId",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"storeScope",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestFindCertificateByDomainInput",description:null,fields:null,inputFields:[{name:"domain",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestGetAuditLogsInput",description:null,fields:null,inputFields:[{name:"paging",description:null,type:{kind:"INPUT_OBJECT",name:"PagingInput",ofType:null},defaultValue:null},{name:"scope",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"category",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"actionOrContent",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestGetBlockletAccessPoliciesInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"paging",description:null,type:{kind:"INPUT_OBJECT",name:"PagingInput",ofType:null},defaultValue:null},{name:"query",description:null,type:{kind:"INPUT_OBJECT",name:"BlockletAccessPolicyQueryInput",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestGetBlockletAccessPolicyInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"id",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestGetBlockletBackupSummaryInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"startTime",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"endTime",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestGetBlockletBackupsInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"startTime",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"endTime",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestGetBlockletResponseHeaderPoliciesInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"paging",description:null,type:{kind:"INPUT_OBJECT",name:"PagingInput",ofType:null},defaultValue:null},{name:"query",description:null,type:{kind:"INPUT_OBJECT",name:"BlockletResponseHeaderPolicyQueryInput",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestGetBlockletResponseHeaderPolicyInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"id",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestGetBlockletSecurityRuleInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"id",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestGetBlockletSecurityRulesInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"paging",description:null,type:{kind:"INPUT_OBJECT",name:"PagingInput",ofType:null},defaultValue:null},{name:"query",description:null,type:{kind:"INPUT_OBJECT",name:"BlockletSecurityRuleQueryInput",ofType:null},defaultValue:null},{name:"includeDisabled",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestGetBlockletsInput",description:null,fields:null,inputFields:[{name:"useCache",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"includeRuntimeInfo",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestGetDynamicComponentsInput",description:null,fields:null,inputFields:[{name:"url",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestGetLauncherSessionInput",description:null,fields:null,inputFields:[{name:"launcherSessionId",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"launcherUrl",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestGetNotificationsInput",description:null,fields:null,inputFields:[{name:"receiver",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"sender",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"read",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"paging",description:null,type:{kind:"INPUT_OBJECT",name:"PagingInput",ofType:null},defaultValue:null},{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"severity",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},defaultValue:null},{name:"componentDid",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},defaultValue:null},{name:"entityId",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},defaultValue:null},{name:"source",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestGetPassportIssuancesInput",description:null,fields:null,inputFields:[{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"ownerDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestGetProjectsInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"paging",description:null,type:{kind:"INPUT_OBJECT",name:"PagingInput",ofType:null},defaultValue:null},{name:"componentDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"tenantScope",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestGetReleasesInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"projectId",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"paging",description:null,type:{kind:"INPUT_OBJECT",name:"PagingInput",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestGetRoutingSitesInput",description:null,fields:null,inputFields:[{name:"snapshotHash",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestGetRoutingSnapshotsInput",description:null,fields:null,inputFields:[{name:"limit",description:null,type:{kind:"SCALAR",name:"Int32",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestGetSelectedResourcesInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"projectId",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"releaseId",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"componentDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestGetSessionInput",description:null,fields:null,inputFields:[{name:"id",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestGetSnapshotSitesInput",description:null,fields:null,inputFields:[{name:"hash",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestGetTrafficInsightsInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"startDate",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"endDate",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"paging",description:null,type:{kind:"INPUT_OBJECT",name:"PagingInput",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestGetWebhookAttemptsInput",description:null,fields:null,inputFields:[{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestAttemptIdInput",ofType:null},defaultValue:null},{name:"paging",description:null,type:{kind:"INPUT_OBJECT",name:"PagingInput",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestGetWebhookEndpointInput",description:null,fields:null,inputFields:[{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"id",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestGetWebhookEndpointsInput",description:null,fields:null,inputFields:[{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"paging",description:null,type:{kind:"INPUT_OBJECT",name:"PagingInput",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestGrantPermissionForRoleInput",description:null,fields:null,inputFields:[{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"roleName",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"grantName",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestHasPermissionInput",description:null,fields:null,inputFields:[{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"role",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"permission",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestInstallComponentInput",description:null,fields:null,inputFields:[{name:"rootDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"mountPoint",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"url",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"file",description:null,type:{kind:"SCALAR",name:"Upload",ofType:null},defaultValue:null},{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"diffVersion",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"deleteSet",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},defaultValue:null},{name:"name",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"title",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"configs",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"INPUT_OBJECT",name:"ConfigEntryInput",ofType:null}}},defaultValue:null},{name:"downloadTokenList",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"INPUT_OBJECT",name:"DownloadTokenInput",ofType:null}}},defaultValue:null},{name:"skipNavigation",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"onlyRequired",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestIsDidDomainInput",description:null,fields:null,inputFields:[{name:"domain",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestIssuePassportToUserInput",description:null,fields:null,inputFields:[{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"userDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"role",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"display",description:null,type:{kind:"INPUT_OBJECT",name:"PassportDisplayInput",ofType:null},defaultValue:null},{name:"notify",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"notification",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestJoinFederatedLoginInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"appUrl",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestLaunchBlockletByLauncherInput",description:null,fields:null,inputFields:[{name:"blockletMetaUrl",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"title",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"description",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"chainHost",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"launcherSessionId",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"launcherUrl",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"onlyRequired",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"type",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"storeUrl",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestLimitInput",description:null,fields:null,inputFields:[{name:"enabled",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"rate",description:null,type:{kind:"SCALAR",name:"Uint32",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestLogoutUserInput",description:null,fields:null,inputFields:[{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"appPid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"userDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"visitorId",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestMakeAllNotificationsAsReadInput",description:null,fields:null,inputFields:[{name:"receiver",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"severity",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"componentDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"entityId",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"source",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestMigrateApplicationToStructV2Input",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"appSk",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestNodeRoutingInput",description:null,fields:null,inputFields:[{name:"provider",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"snapshotHash",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"forceRepopulate",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestNodeRuntimeHistoryInput",description:null,fields:null,inputFields:[{name:"hours",description:null,type:{kind:"SCALAR",name:"Uint32",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestNotificationComponentsInput",description:null,fields:null,inputFields:[{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"receiver",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestNotificationSendLogInput",description:null,fields:null,inputFields:[{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"dateRange",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},defaultValue:null},{name:"paging",description:null,type:{kind:"INPUT_OBJECT",name:"PagingInput",ofType:null},defaultValue:null},{name:"source",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"componentDids",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},defaultValue:null},{name:"severities",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestPassportInput",description:null,fields:null,inputFields:[{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"query",description:null,type:{kind:"INPUT_OBJECT",name:"PassportQueryInput",ofType:null},defaultValue:null},{name:"paging",description:null,type:{kind:"INPUT_OBJECT",name:"PagingInput",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestPassportLogInput",description:null,fields:null,inputFields:[{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"query",description:null,type:{kind:"INPUT_OBJECT",name:"PassportLogQueryInput",ofType:null},defaultValue:null},{name:"paging",description:null,type:{kind:"INPUT_OBJECT",name:"PagingInput",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestProjectInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"projectId",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"messageId",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestPublishToEndpointInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"endpointId",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"projectId",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"releaseId",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestPublishToStoreInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"projectId",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"releaseId",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"type",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"storeId",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestQuitFederatedLoginInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"targetDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestReadNotificationsInput",description:null,fields:null,inputFields:[{name:"notificationIds",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},defaultValue:null},{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"receiver",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestReceiversInput",description:null,fields:null,inputFields:[{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"userName",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"userDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"walletSendStatus",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"Int32",ofType:null}}},defaultValue:null},{name:"pushKitSendStatus",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"Int32",ofType:null}}},defaultValue:null},{name:"emailSendStatus",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"Int32",ofType:null}}},defaultValue:null},{name:"dateRange",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},defaultValue:null},{name:"paging",description:null,type:{kind:"INPUT_OBJECT",name:"PagingInput",ofType:null},defaultValue:null},{name:"notificationId",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestRelatedPassportsInput",description:null,fields:null,inputFields:[{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"passportId",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"paging",description:null,type:{kind:"INPUT_OBJECT",name:"PagingInput",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestReleaseInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"projectId",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"releaseId",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestResendNotificationInput",description:null,fields:null,inputFields:[{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"notificationId",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"receivers",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},defaultValue:null},{name:"channels",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},defaultValue:null},{name:"webhookUrls",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},defaultValue:null},{name:"resendFailedOnly",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestResetNodeInput",description:null,fields:null,inputFields:[{name:"owner",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"blocklets",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"webhooks",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"certificates",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"accessKeys",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"blockletExtras",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"routingRules",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"users",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"invitations",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestRestoreBlockletInput",description:null,fields:null,inputFields:[{name:"endpoint",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"appDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"delegation",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"password",description:null,type:{kind:"SCALAR",name:"Bytes",ofType:null},defaultValue:null},{name:"wallet",description:null,type:{kind:"SCALAR",name:"Any",ofType:null},defaultValue:null},{name:"from",description:null,type:{kind:"ENUM",name:"BackupTo",ofType:null},defaultValue:null},{name:"appPid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestRevokePermissionFromRoleInput",description:null,fields:null,inputFields:[{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"roleName",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"grantName",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestRevokeUserPassportInput",description:null,fields:null,inputFields:[{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"userDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"passportId",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestRotateSessionKeyInput",description:null,fields:null,inputFields:[{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"sessionId",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestSendEmailInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"receiver",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"email",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestSendMsgInput",description:null,fields:null,inputFields:[{name:"webhookId",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"message",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestSendPushInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"receiver",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"notification",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestSwitchProfileInput",description:null,fields:null,inputFields:[{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"userDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"profile",description:null,type:{kind:"INPUT_OBJECT",name:"UserProfileInput",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestSyncFederatedInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestSyncMasterAuthorizationInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestTagInput",description:null,fields:null,inputFields:[{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"tag",description:null,type:{kind:"INPUT_OBJECT",name:"TagInput",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestTagsInput",description:null,fields:null,inputFields:[{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"paging",description:null,type:{kind:"INPUT_OBJECT",name:"PagingInput",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestTakeRoutingSnapshotInput",description:null,fields:null,inputFields:[{name:"dryRun",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"message",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestTeamPermissionInput",description:null,fields:null,inputFields:[{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"permission",description:null,type:{kind:"INPUT_OBJECT",name:"PermissionInput",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestTeamRoleInput",description:null,fields:null,inputFields:[{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"role",description:null,type:{kind:"INPUT_OBJECT",name:"RoleUpdateInput",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestTeamUserInput",description:null,fields:null,inputFields:[{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"user",description:null,type:{kind:"INPUT_OBJECT",name:"UserInfoInput",ofType:null},defaultValue:null},{name:"options",description:null,type:{kind:"INPUT_OBJECT",name:"RequestTeamUserOptionsInput",ofType:null},defaultValue:null},{name:"sessionId",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestTeamUserOptionsInput",description:null,fields:null,inputFields:[{name:"enableConnectedAccount",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"includeTags",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestUpdateAccessKeyInput",description:null,fields:null,inputFields:[{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"accessKeyId",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"remark",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"passport",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"expireAt",description:null,type:{kind:"SCALAR",name:"Uint32",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestUpdateAppSessionConfigInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"config",description:null,type:{kind:"INPUT_OBJECT",name:"SessionConfigInput",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestUpdateAutoBackupInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"autoBackup",description:null,type:{kind:"INPUT_OBJECT",name:"AutoBackupInput",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestUpdateAutoCheckUpdateInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"autoCheckUpdate",description:null,type:{kind:"INPUT_OBJECT",name:"AutoCheckUpdateInput",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestUpdateBlockletAccessPolicyInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"data",description:null,type:{kind:"INPUT_OBJECT",name:"BlockletAccessPolicyInput",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestUpdateBlockletResponseHeaderPolicyInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"data",description:null,type:{kind:"INPUT_OBJECT",name:"BlockletResponseHeaderPolicyInput",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestUpdateBlockletSecurityRuleInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"data",description:null,type:{kind:"INPUT_OBJECT",name:"BlockletSecurityRuleInput",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestUpdateBlockletSpaceGatewayInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"where",description:null,type:{kind:"INPUT_OBJECT",name:"SpaceGatewayInput",ofType:null},defaultValue:null},{name:"spaceGateway",description:null,type:{kind:"INPUT_OBJECT",name:"SpaceGatewayInput",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestUpdateComponentMountPointInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"rootDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"mountPoint",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestUpdateComponentTitleInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"rootDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"title",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestUpdateComponentsInput",description:null,fields:null,inputFields:[{name:"updateId",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"rootDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"selectedComponents",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestUpdateInviteSettingsInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"invite",description:null,type:{kind:"INPUT_OBJECT",name:"InviteSettingsInput",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestUpdateNginxHttpsCertInput",description:null,fields:null,inputFields:[{name:"id",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"name",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestUpdatePermissionsForRoleInput",description:null,fields:null,inputFields:[{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"roleName",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"grantNames",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestUpdateProjectInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"projectId",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"blockletTitle",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"blockletDescription",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"blockletIntroduction",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"autoUpload",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"possibleSameStore",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"blockletSupport",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"blockletCommunity",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"blockletHomepage",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestUpdateRoutingRuleInput",description:null,fields:null,inputFields:[{name:"id",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"rule",description:null,type:{kind:"INPUT_OBJECT",name:"RoutingRuleInput",ofType:null},defaultValue:null},{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestUpdateRoutingSiteInput",description:null,fields:null,inputFields:[{name:"id",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"corsAllowedOrigins",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},defaultValue:null},{name:"domain",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestUpdateSelectedResourcesInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"projectId",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"releaseId",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"componentDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"resources",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestUpdateUserAddressInput",description:null,fields:null,inputFields:[{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"address",description:null,type:{kind:"INPUT_OBJECT",name:"UserAddressInput",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestUpdateUserExtraInput",description:null,fields:null,inputFields:[{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"remark",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"extra",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestUpdateUserInfoInput",description:null,fields:null,inputFields:[{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"user",description:null,type:{kind:"INPUT_OBJECT",name:"UserInfoInput",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestUpdateUserTagsInput",description:null,fields:null,inputFields:[{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"tags",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"Uint32",ofType:null}}},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestUpdateWebhookEndpointInput",description:null,fields:null,inputFields:[{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"id",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"data",description:null,type:{kind:"INPUT_OBJECT",name:"WebhookEndpointStateInput",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestUpgradeNodeVersionInput",description:null,fields:null,inputFields:[{name:"sessionId",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestUserSessionsInput",description:null,fields:null,inputFields:[{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"query",description:null,type:{kind:"INPUT_OBJECT",name:"UserSessionQueryInput",ofType:null},defaultValue:null},{name:"sort",description:null,type:{kind:"INPUT_OBJECT",name:"UserSessionSortInput",ofType:null},defaultValue:null},{name:"paging",description:null,type:{kind:"INPUT_OBJECT",name:"PagingInput",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestUserSessionsCountInput",description:null,fields:null,inputFields:[{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"query",description:null,type:{kind:"INPUT_OBJECT",name:"UserSessionQueryInput",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestUsersInput",description:null,fields:null,inputFields:[{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"query",description:null,type:{kind:"INPUT_OBJECT",name:"UserQueryInput",ofType:null},defaultValue:null},{name:"sort",description:null,type:{kind:"INPUT_OBJECT",name:"UserSortInput",ofType:null},defaultValue:null},{name:"paging",description:null,type:{kind:"INPUT_OBJECT",name:"PagingInput",ofType:null},defaultValue:null},{name:"dids",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestVerifyAccessKeyInput",description:null,fields:null,inputFields:[{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"accessKeyId",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"resourceType",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"resourceId",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"componentDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RequestVersionedBlockletInput",description:null,fields:null,inputFields:[{name:"type",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"storeUrl",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"url",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"file",description:null,type:{kind:"SCALAR",name:"Upload",ofType:null},defaultValue:null},{name:"diffVersion",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"deleteSet",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},defaultValue:null},{name:"title",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"description",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"startImmediately",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"downloadTokenList",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"INPUT_OBJECT",name:"DownloadTokenInput",ofType:null}}},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RoleUpdateInput",description:null,fields:null,inputFields:[{name:"name",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"title",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"description",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"extra",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RoutingRuleInput",description:null,fields:null,inputFields:[{name:"id",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"from",description:null,type:{kind:"INPUT_OBJECT",name:"RoutingRuleFromInput",ofType:null},defaultValue:null},{name:"to",description:null,type:{kind:"INPUT_OBJECT",name:"RoutingRuleToInput",ofType:null},defaultValue:null},{name:"isProtected",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RoutingRuleFromInput",description:null,fields:null,inputFields:[{name:"pathPrefix",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"header",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"INPUT_OBJECT",name:"RoutingRuleHeaderInput",ofType:null}}},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RoutingRuleHeaderInput",description:null,fields:null,inputFields:[{name:"key",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"value",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"type",description:null,type:{kind:"ENUM",name:"HeaderMatchType",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RoutingRuleResponseInput",description:null,fields:null,inputFields:[{name:"status",description:null,type:{kind:"SCALAR",name:"Uint32",ofType:null},defaultValue:null},{name:"contentType",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"body",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"RoutingRuleToInput",description:null,fields:null,inputFields:[{name:"port",description:null,type:{kind:"SCALAR",name:"Uint32",ofType:null},defaultValue:null},{name:"type",description:null,type:{kind:"ENUM",name:"BackendServiceType",ofType:null},defaultValue:null},{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"url",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"redirectCode",description:null,type:{kind:"SCALAR",name:"Int32",ofType:null},defaultValue:null},{name:"interfaceName",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"componentId",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"pageGroup",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"response",description:null,type:{kind:"INPUT_OBJECT",name:"RoutingRuleResponseInput",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"SessionConfigInput",description:null,fields:null,inputFields:[{name:"cacheTtl",description:null,type:{kind:"SCALAR",name:"Uint32",ofType:null},defaultValue:null},{name:"ttl",description:null,type:{kind:"SCALAR",name:"Uint32",ofType:null},defaultValue:null},{name:"email",description:null,type:{kind:"INPUT_OBJECT",name:"LoginEmailSettingsInput",ofType:null},defaultValue:null},{name:"phone",description:null,type:{kind:"INPUT_OBJECT",name:"LoginPhoneSettingsInput",ofType:null},defaultValue:null},{name:"salt",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"SpaceGatewayInput",description:null,fields:null,inputFields:[{name:"name",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"url",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"protected",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"endpoint",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"TagInput",description:null,fields:null,inputFields:[{name:"id",description:null,type:{kind:"SCALAR",name:"Uint32",ofType:null},defaultValue:null},{name:"title",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"description",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"color",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"createdAt",description:null,type:{kind:"SCALAR",name:"Uint32",ofType:null},defaultValue:null},{name:"updatedAt",description:null,type:{kind:"SCALAR",name:"Uint32",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"TeamInput",description:null,fields:null,inputFields:[{name:"teamDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"TrustedFactoryInput",description:null,fields:null,inputFields:[{name:"holderDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"issuerDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"factoryAddress",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"remark",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"passport",description:null,type:{kind:"INPUT_OBJECT",name:"TrustedPassportMappingToInput",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"TrustedPassportInput",description:null,fields:null,inputFields:[{name:"issuerDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"remark",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"mappings",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"INPUT_OBJECT",name:"TrustedPassportMappingInput",ofType:null}}},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"TrustedPassportMappingInput",description:null,fields:null,inputFields:[{name:"from",description:null,type:{kind:"INPUT_OBJECT",name:"TrustedPassportMappingFromInput",ofType:null},defaultValue:null},{name:"to",description:null,type:{kind:"INPUT_OBJECT",name:"TrustedPassportMappingToInput",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"TrustedPassportMappingFromInput",description:null,fields:null,inputFields:[{name:"passport",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"TrustedPassportMappingToInput",description:null,fields:null,inputFields:[{name:"role",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"ttl",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"ttlPolicy",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"UserAddressInput",description:null,fields:null,inputFields:[{name:"country",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"province",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"city",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"postalCode",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"line1",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"line2",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"UserInfoInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"pk",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"role",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"avatar",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"fullName",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"email",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"approved",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"createdAt",description:null,type:{kind:"SCALAR",name:"Uint32",ofType:null},defaultValue:null},{name:"updatedAt",description:null,type:{kind:"SCALAR",name:"Uint32",ofType:null},defaultValue:null},{name:"locale",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"passports",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"INPUT_OBJECT",name:"PassportInput",ofType:null}}},defaultValue:null},{name:"firstLoginAt",description:null,type:{kind:"SCALAR",name:"Uint32",ofType:null},defaultValue:null},{name:"lastLoginAt",description:null,type:{kind:"SCALAR",name:"Uint32",ofType:null},defaultValue:null},{name:"remark",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"lastLoginIp",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"sourceProvider",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"sourceAppPid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"connectedAccounts",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"INPUT_OBJECT",name:"ConnectedAccountInput",ofType:null}}},defaultValue:null},{name:"extra",description:null,type:{kind:"SCALAR",name:"Any",ofType:null},defaultValue:null},{name:"tags",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"INPUT_OBJECT",name:"TagInput",ofType:null}}},defaultValue:null},{name:"didSpace",description:null,type:{kind:"SCALAR",name:"Any",ofType:null},defaultValue:null},{name:"userSessions",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"INPUT_OBJECT",name:"UserSessionInput",ofType:null}}},defaultValue:null},{name:"url",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"phone",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"inviter",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"generation",description:null,type:{kind:"SCALAR",name:"Uint32",ofType:null},defaultValue:null},{name:"emailVerified",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"phoneVerified",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"metadata",description:null,type:{kind:"INPUT_OBJECT",name:"UserMetadataInput",ofType:null},defaultValue:null},{name:"address",description:null,type:{kind:"INPUT_OBJECT",name:"UserAddressInput",ofType:null},defaultValue:null},{name:"userSessionsCount",description:null,type:{kind:"SCALAR",name:"Uint32",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"UserMetadataInput",description:null,fields:null,inputFields:[{name:"bio",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"location",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"timezone",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"cover",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"links",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"INPUT_OBJECT",name:"UserMetadataLinkInput",ofType:null}}},defaultValue:null},{name:"status",description:null,type:{kind:"INPUT_OBJECT",name:"UserMetadataStatusInput",ofType:null},defaultValue:null},{name:"phone",description:null,type:{kind:"INPUT_OBJECT",name:"UserPhoneInfoInput",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"UserMetadataLinkInput",description:null,fields:null,inputFields:[{name:"url",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"favicon",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"UserMetadataStatusInput",description:null,fields:null,inputFields:[{name:"label",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"icon",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"duration",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"dateRange",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"Uint32",ofType:null}}},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"UserPhoneInfoInput",description:null,fields:null,inputFields:[{name:"country",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"phoneNumber",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"UserProfileInput",description:null,fields:null,inputFields:[{name:"did",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"avatar",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"fullName",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"email",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"UserQueryInput",description:null,fields:null,inputFields:[{name:"role",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"approved",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"search",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"connectedDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"tags",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"Uint32",ofType:null}}},defaultValue:null},{name:"inviter",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"invitee",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"generation",description:null,type:{kind:"SCALAR",name:"Uint32",ofType:null},defaultValue:null},{name:"includeTags",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"includeUserSessions",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"includePassports",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"includeConnectedAccounts",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"UserSessionInput",description:null,fields:null,inputFields:[{name:"id",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"visitorId",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"appPid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"userDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"ua",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"passportId",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"status",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"lastLoginIp",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"extra",description:null,type:{kind:"SCALAR",name:"Any",ofType:null},defaultValue:null},{name:"createdAt",description:null,type:{kind:"SCALAR",name:"Uint32",ofType:null},defaultValue:null},{name:"updatedAt",description:null,type:{kind:"SCALAR",name:"Uint32",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"UserSessionQueryInput",description:null,fields:null,inputFields:[{name:"userDid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"visitorId",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"appPid",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"status",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"includeUser",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"UserSessionSortInput",description:null,fields:null,inputFields:[{name:"updatedAt",description:null,type:{kind:"SCALAR",name:"Uint32",ofType:null},defaultValue:null},{name:"createdAt",description:null,type:{kind:"SCALAR",name:"Uint32",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"UserSortInput",description:null,fields:null,inputFields:[{name:"updatedAt",description:null,type:{kind:"SCALAR",name:"Uint32",ofType:null},defaultValue:null},{name:"createdAt",description:null,type:{kind:"SCALAR",name:"Uint32",ofType:null},defaultValue:null},{name:"lastLoginAt",description:null,type:{kind:"SCALAR",name:"Uint32",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"WAFPolicyInput",description:null,fields:null,inputFields:[{name:"enabled",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"mode",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"inboundAnomalyScoreThreshold",description:null,type:{kind:"SCALAR",name:"Uint32",ofType:null},defaultValue:null},{name:"outboundAnomalyScoreThreshold",description:null,type:{kind:"SCALAR",name:"Uint32",ofType:null},defaultValue:null},{name:"logLevel",description:null,type:{kind:"SCALAR",name:"Uint32",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"WebHookParamInput",description:null,fields:null,inputFields:[{name:"name",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"description",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"required",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:null},{name:"defaultValue",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"value",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"type",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"INPUT_OBJECT",name:"WebhookEndpointStateInput",description:null,fields:null,inputFields:[{name:"id",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"apiVersion",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"url",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"description",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"enabledEvents",description:null,type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"INPUT_OBJECT",name:"EnableEventInput",ofType:null}}},defaultValue:null},{name:"metadata",description:null,type:{kind:"SCALAR",name:"Any",ofType:null},defaultValue:null},{name:"status",description:null,type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:null},{name:"createdAt",description:null,type:{kind:"SCALAR",name:"Uint32",ofType:null},defaultValue:null},{name:"updatedAt",description:null,type:{kind:"SCALAR",name:"Uint32",ofType:null},defaultValue:null}],interfaces:null,enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"AccessKey",description:null,fields:[{name:"accessKeyId",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"accessKeyPublic",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"remark",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"passport",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"createdAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"updatedAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"lastUsedAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"createdBy",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"updatedBy",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"authType",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"componentDid",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"resourceType",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"resourceId",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"createdVia",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"expireAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"AuditLog",description:null,fields:[{name:"id",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"scope",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"category",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"action",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"content",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"actor",description:null,args:[],type:{kind:"OBJECT",name:"AuditLogActor",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"env",description:null,args:[],type:{kind:"OBJECT",name:"AuditLogEnv",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"createdAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"ip",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"ua",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"AuditLogActor",description:null,fields:[{name:"did",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"role",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"fullName",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"avatar",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"source",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"AuditLogEnv",description:null,fields:[{name:"browser",description:null,args:[],type:{kind:"OBJECT",name:"AuditLogEnvItem",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"os",description:null,args:[],type:{kind:"OBJECT",name:"AuditLogEnvItem",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"AuditLogEnvItem",description:null,fields:[{name:"name",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"version",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"AutoBackup",description:null,fields:[{name:"enabled",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"AutoBlockPolicy",description:null,fields:[{name:"enabled",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"windowSize",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"windowQuota",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"blockDuration",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"statusCodes",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"Uint32",ofType:null}}},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"AutoCheckUpdate",description:null,fields:[{name:"enabled",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"Backup",description:null,fields:[{name:"appPid",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"userDid",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"strategy",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"sourceUrl",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"target",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"targetName",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"targetUrl",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"createdAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"updatedAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"status",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"message",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"progress",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"metadata",description:null,args:[],type:{kind:"SCALAR",name:"Any",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"BackupSummaryItem",description:null,fields:[{name:"date",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"successCount",description:null,args:[],type:{kind:"SCALAR",name:"Int32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"errorCount",description:null,args:[],type:{kind:"SCALAR",name:"Int32",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"BaseUserInfo",description:null,fields:[{name:"did",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"pk",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"role",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"avatar",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"fullName",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"email",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"approved",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"createdAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"updatedAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"locale",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"BlockPolicy",description:null,fields:[{name:"enabled",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"blacklist",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"autoBlocking",description:null,args:[],type:{kind:"OBJECT",name:"AutoBlockPolicy",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"BlockletAccessPolicy",description:null,fields:[{name:"id",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"name",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"description",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"roles",description:null,args:[],type:{kind:"SCALAR",name:"Any",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"reverse",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"isProtected",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"BlockletBackupState",description:null,fields:[{name:"appDid",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"appPid",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"name",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"createdAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"BlockletCapabilities",description:null,fields:[{name:"clusterMode",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"component",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"navigation",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"didSpace",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"resourceExportApi",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"BlockletController",description:null,fields:[{name:"id",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"nftId",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"nftOwner",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"chainHost",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"expireDate",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"consumedAt",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"launcherUrl",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"launcherSessionId",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"ownerDid",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"status",description:null,args:[],type:{kind:"OBJECT",name:"BlockletControllerStatus",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"BlockletControllerStatus",description:null,fields:[{name:"value",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"reason",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"BlockletDiff",description:null,fields:[{name:"hasBlocklet",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"version",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"addSet",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"changeSet",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"deleteSet",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"BlockletDist",description:null,fields:[{name:"tarball",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"integrity",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"BlockletDocker",description:null,fields:[{name:"dockerImage",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"dockerArgs",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"DockerRunKeyValuePair",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"dockerEnvs",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"DockerEnvKeyValuePair",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"dockerCommand",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"BlockletDockerMeta",description:null,fields:[{name:"image",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"shell",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"runBaseScript",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"installNodeModules",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"BlockletEngine",description:null,fields:[{name:"name",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"displayName",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"description",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"version",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"available",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"visible",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"logo",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"BlockletEvent",description:null,fields:[{name:"type",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"description",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"BlockletHistoryItem",description:null,fields:[{name:"date",description:null,args:[],type:{kind:"SCALAR",name:"Uint64",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"cpu",description:null,args:[],type:{kind:"SCALAR",name:"Uint64",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"mem",description:null,args:[],type:{kind:"SCALAR",name:"Uint64",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"BlockletHistoryItemList",description:null,fields:[{name:"key",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"value",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"BlockletHistoryItem",ofType:null}}},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"BlockletMeta",description:null,fields:[{name:"did",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"name",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"version",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"description",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"interfaces",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"BlockletMetaInterface",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"author",description:null,args:[],type:{kind:"OBJECT",name:"BlockletMetaPerson",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"main",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"stats",description:null,args:[],type:{kind:"OBJECT",name:"BlockletStats",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"homepage",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"path",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"community",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"documentation",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"support",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"screenshots",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"keywords",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"group",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"logo",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"title",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"dist",description:null,args:[],type:{kind:"OBJECT",name:"BlockletDist",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"maintainers",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"BlockletMetaPerson",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"contributors",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"BlockletMetaPerson",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"repository",description:null,args:[],type:{kind:"OBJECT",name:"BlockletRepository",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"payment",description:null,args:[],type:{kind:"OBJECT",name:"BlockletPayment",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"nftFactory",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"lastPublishedAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"capabilities",description:null,args:[],type:{kind:"OBJECT",name:"BlockletCapabilities",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"components",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"ChildConfig",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"environments",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"Environment",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"requirements",description:null,args:[],type:{kind:"OBJECT",name:"Requirement",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"bundleDid",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"bundleName",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"navigation",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"Any",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"resources",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"resource",description:null,args:[],type:{kind:"OBJECT",name:"BlockletResource",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"engine",description:null,args:[],type:{kind:"SCALAR",name:"Any",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"owner",description:null,args:[],type:{kind:"OBJECT",name:"BlockletMetaOwner",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"docker",description:null,args:[],type:{kind:"OBJECT",name:"BlockletDockerMeta",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"events",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"BlockletEvent",ofType:null}}},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"BlockletMetaInterface",description:null,fields:[{name:"type",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"name",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"path",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"prefix",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"protocol",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"port",description:null,args:[],type:{kind:"SCALAR",name:"Any",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"services",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"BlockletMetaService",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"cacheable",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"pageGroups",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"BlockletMetaOwner",description:null,fields:[{name:"avatar",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"did",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"email",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"fullName",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"BlockletMetaPerson",description:null,fields:[{name:"name",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"email",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"url",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"BlockletMetaService",description:null,fields:[{name:"name",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"config",description:null,args:[],type:{kind:"SCALAR",name:"Any",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"BlockletMigrateRecord",description:null,fields:[{name:"appSk",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"appDid",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"at",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"BlockletPassport",description:null,fields:[{name:"passports",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"activePassports",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"BlockletPayment",description:null,fields:[{name:"price",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"BlockletPaymentPrice",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"share",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"BlockletPaymentShare",ofType:null}}},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"BlockletPaymentPrice",description:null,fields:[{name:"address",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"value",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"symbol",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"BlockletPaymentShare",description:null,fields:[{name:"address",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"name",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"value",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"BlockletPreUpdateInfo",description:null,fields:[{name:"updateId",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"updateList",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"UpdateList",ofType:null}}},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"BlockletRepository",description:null,fields:[{name:"type",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"url",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"BlockletResource",description:null,fields:[{name:"exportApi",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"types",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"BlockletResourceType",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"bundles",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"BlockletResourceBundle",ofType:null}}},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"BlockletResourceBundle",description:null,fields:[{name:"did",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"type",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"public",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"BlockletResourceType",description:null,fields:[{name:"type",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"description",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"BlockletResponseHeaderPolicy",description:null,fields:[{name:"id",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"name",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"description",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"securityHeader",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"cors",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"customHeader",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"removeHeader",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"isProtected",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"BlockletSecurityRule",description:null,fields:[{name:"id",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"pathPattern",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"componentDid",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"priority",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"responseHeaderPolicyId",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"accessPolicyId",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"enabled",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"remark",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"accessPolicy",description:null,args:[],type:{kind:"OBJECT",name:"BlockletAccessPolicy",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"responseHeaderPolicy",description:null,args:[],type:{kind:"OBJECT",name:"BlockletResponseHeaderPolicy",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"BlockletSettings",description:null,fields:[{name:"initialized",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"enablePassportIssuance",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"trustedPassports",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"TrustedPassport",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"whoCanAccess",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"owner",description:null,args:[],type:{kind:"OBJECT",name:"WalletInfo",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"children",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"SimpleBlockletState",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"publicToStore",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"storeList",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"BlockletStore",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"navigations",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"ConfigNavigation",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"oauth",description:null,args:[],type:{kind:"SCALAR",name:"Any",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"trustedFactories",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"TrustedFactory",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"notification",description:null,args:[],type:{kind:"SCALAR",name:"Any",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"session",description:null,args:[],type:{kind:"OBJECT",name:"SessionConfig",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"federated",description:null,args:[],type:{kind:"OBJECT",name:"FederatedConfig",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"autoCheckUpdate",description:null,args:[],type:{kind:"OBJECT",name:"AutoCheckUpdate",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"autoBackup",description:null,args:[],type:{kind:"OBJECT",name:"AutoBackup",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"invite",description:null,args:[],type:{kind:"OBJECT",name:"InviteSettings",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"theme",description:null,args:[],type:{kind:"SCALAR",name:"Any",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"endpointList",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"ConnectEndpoint",ofType:null}}},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"BlockletState",description:null,fields:[{name:"meta",description:null,args:[],type:{kind:"OBJECT",name:"BlockletMeta",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"status",description:null,args:[],type:{kind:"ENUM",name:"BlockletStatus",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"createdAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"installedAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"startedAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"pausedAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"stoppedAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"updatedAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"environments",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"ConfigEntry",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"configs",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"ConfigEntry",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"diskInfo",description:null,args:[],type:{kind:"OBJECT",name:"DiskInfo",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"runtimeInfo",description:null,args:[],type:{kind:"OBJECT",name:"RuntimeInfo",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"appRuntimeInfo",description:null,args:[],type:{kind:"OBJECT",name:"RuntimeInfo",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"source",description:null,args:[],type:{kind:"ENUM",name:"BlockletSource",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"deployedFrom",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"bundleSource",description:null,args:[],type:{kind:"SCALAR",name:"Any",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"port",description:null,args:[],type:{kind:"SCALAR",name:"Float32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"engine",description:null,args:[],type:{kind:"OBJECT",name:"BlockletEngine",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"mode",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"ports",description:null,args:[],type:{kind:"SCALAR",name:"Any",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"children",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"ComponentState",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"optionalComponents",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"OptionalComponentState",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"trustedPassports",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"TrustedPassport",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"trustedFactories",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"TrustedFactory",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"enablePassportIssuance",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"dynamic",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"mountPoint",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"settings",description:null,args:[],type:{kind:"OBJECT",name:"BlockletSettings",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"appDid",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"site",description:null,args:[],type:{kind:"OBJECT",name:"RoutingSite",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"controller",description:null,args:[],type:{kind:"OBJECT",name:"BlockletController",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"migratedFrom",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"BlockletMigrateRecord",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"appPid",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"externalSk",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"externalSkSource",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"structVersion",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"enableDocker",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"enableDockerNetwork",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"vaults",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"BlockletVaultRecord",ofType:null}}},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"BlockletStats",description:null,fields:[{name:"downloads",description:null,args:[],type:{kind:"SCALAR",name:"Float32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"star",description:null,args:[],type:{kind:"SCALAR",name:"Float32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"purchases",description:null,args:[],type:{kind:"SCALAR",name:"Float32",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"BlockletStore",description:null,fields:[{name:"name",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"description",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"url",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"logoUrl",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"maintainer",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"cdnUrl",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"protected",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"id",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"scope",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"BlockletUsers",description:null,fields:[{name:"users",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"approvedUsers",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"BlockletVaultRecord",description:null,fields:[{name:"pk",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"did",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"at",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"sig",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"approverSig",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"approverDid",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"approverPk",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"BooleanResponse",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"result",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"Certificate",description:null,fields:[{name:"name",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"domain",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"id",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"meta",description:null,args:[],type:{kind:"OBJECT",name:"CertificateMeta",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"matchedSites",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"MatchedSites",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"createdAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"updatedAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"isProtected",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"source",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"status",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"CertificateIssuer",description:null,fields:[{name:"countryName",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"organizationName",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"commonName",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"CertificateMeta",description:null,fields:[{name:"issuer",description:null,args:[],type:{kind:"OBJECT",name:"CertificateIssuer",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"sans",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"validFrom",description:null,args:[],type:{kind:"SCALAR",name:"Int64",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"validTo",description:null,args:[],type:{kind:"SCALAR",name:"Int64",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"fingerprintAlg",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"fingerprint",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"validityPeriod",description:null,args:[],type:{kind:"SCALAR",name:"Int64",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ChildConfig",description:null,fields:[{name:"name",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"mountPoint",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"required",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ComponentState",description:null,fields:[{name:"meta",description:null,args:[],type:{kind:"OBJECT",name:"BlockletMeta",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"status",description:null,args:[],type:{kind:"ENUM",name:"BlockletStatus",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"createdAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"installedAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"startedAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"pausedAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"stoppedAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"environments",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"ConfigEntry",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"configs",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"ConfigEntry",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"diskInfo",description:null,args:[],type:{kind:"OBJECT",name:"DiskInfo",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"runtimeInfo",description:null,args:[],type:{kind:"OBJECT",name:"RuntimeInfo",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"source",description:null,args:[],type:{kind:"ENUM",name:"BlockletSource",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"deployedFrom",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"bundleSource",description:null,args:[],type:{kind:"SCALAR",name:"Any",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"port",description:null,args:[],type:{kind:"SCALAR",name:"Float32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"engine",description:null,args:[],type:{kind:"OBJECT",name:"BlockletEngine",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"mode",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"ports",description:null,args:[],type:{kind:"SCALAR",name:"Any",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"children",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"ComponentState",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"dynamic",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"mountPoint",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"dependents",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"Dependent",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"required",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"appRuntimeInfo",description:null,args:[],type:{kind:"OBJECT",name:"RuntimeInfo",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ConfigEntry",description:null,fields:[{name:"key",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"value",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"required",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"description",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"validation",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"secure",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"custom",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"shared",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ConfigNavigation",description:null,fields:[{name:"id",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"title",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"link",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"icon",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"section",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"component",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"parent",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"role",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"visible",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"from",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"activeIcon",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"color",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"activeColor",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"description",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ConnectEndpoint",description:null,fields:[{name:"id",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"scope",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"url",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"endpoint",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"protected",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"appName",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"appDescription",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ConnectedAccount",description:null,fields:[{name:"provider",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"did",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"pk",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"id",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"lastLoginAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"userInfo",description:null,args:[],type:{kind:"OBJECT",name:"ConnectedAccountInfo",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"extra",description:null,args:[],type:{kind:"SCALAR",name:"Any",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ConnectedAccountInfo",description:null,fields:[{name:"name",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"picture",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"email",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"emailVerified",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"sub",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"extraData",description:null,args:[],type:{kind:"SCALAR",name:"Any",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ConnectedEndpoint",description:null,fields:[{name:"endpointId",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"accessKeyId",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"accessKeySecret",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"expireId",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"developerDid",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"developerName",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"developerEmail",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"createdBy",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ConnectedStore",description:null,fields:[{name:"storeId",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"storeName",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"storeUrl",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"accessToken",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"developerDid",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"developerEmail",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"developerName",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"scope",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"CreateAccessKey",description:null,fields:[{name:"accessKeyId",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"accessKeyPublic",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"accessKeySecret",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"remark",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"passport",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"createdAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"lastUsedAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"authType",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"componentDid",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"resourceType",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"resourceId",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"createdVia",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"expireAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"DelegationState",description:null,fields:[{name:"delegated",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"Dependent",description:null,fields:[{name:"id",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"required",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"DiskInfo",description:null,fields:[{name:"app",description:null,args:[],type:{kind:"SCALAR",name:"Float32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"data",description:null,args:[],type:{kind:"SCALAR",name:"Float32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"log",description:null,args:[],type:{kind:"SCALAR",name:"Float32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"cache",description:null,args:[],type:{kind:"SCALAR",name:"Float32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"blocklets",description:null,args:[],type:{kind:"SCALAR",name:"Float32",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"DockerEnvKeyValuePair",description:null,fields:[{name:"key",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"value",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"description",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"secure",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"shared",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"required",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"custom",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"DockerRunKeyValuePair",description:null,fields:[{name:"key",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"value",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"path",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"type",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"name",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"prefix",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"protocol",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"proxyBehavior",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"EnableEvent",description:null,fields:[{name:"type",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"source",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"Environment",description:null,fields:[{name:"name",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"description",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"default",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"required",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"secure",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"validation",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"shared",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"FederatedConfig",description:null,fields:[{name:"config",description:null,args:[],type:{kind:"OBJECT",name:"FederatedConfigDetail",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"sites",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"FederatedConfigSite",ofType:null}}},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"FederatedConfigDetail",description:null,fields:[{name:"appId",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"appPid",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"delegation",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"isMaster",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"autoLogin",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"FederatedConfigSite",description:null,fields:[{name:"appId",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"appPid",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"aliasDid",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"appName",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"appDescription",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"appUrl",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"aliasDomain",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"appLogo",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"appLogoRect",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"did",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"pk",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"version",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"serverId",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"serverVersion",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"appliedAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"status",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"isMaster",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"Fuel",description:null,fields:[{name:"endpoint",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"address",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"value",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"reason",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"Gateway",description:null,fields:[{name:"requestLimit",description:null,args:[],type:{kind:"OBJECT",name:"RequestLimit",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"blockPolicy",description:null,args:[],type:{kind:"OBJECT",name:"BlockPolicy",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"proxyPolicy",description:null,args:[],type:{kind:"OBJECT",name:"ProxyPolicy",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"cacheEnabled",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"wafPolicy",description:null,args:[],type:{kind:"OBJECT",name:"WAFPolicy",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"GeneralResponse",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"IPInfo",description:null,fields:[{name:"internalV4",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"externalV4",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"internalV6",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"externalV6",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"InviteInfo",description:null,fields:[{name:"inviteId",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"role",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"remark",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"expireDate",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"inviter",description:null,args:[],type:{kind:"OBJECT",name:"UserInfo",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"teamDid",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"interfaceName",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"display",description:null,args:[],type:{kind:"OBJECT",name:"PassportDisplay",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"InviteSettings",description:null,fields:[{name:"enabled",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"Issuer",description:null,fields:[{name:"id",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"name",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"pk",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"KeyValue",description:null,fields:[{name:"key",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"value",description:null,args:[],type:{kind:"SCALAR",name:"Any",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"LauncherInfo",description:null,fields:[{name:"did",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"type",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"provider",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"url",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"tag",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"chainHost",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"LoginEmailSettings",description:null,fields:[{name:"enabled",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"requireVerified",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"requireUnique",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"trustOauthProviders",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"enableDomainBlackList",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"domainBlackList",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"enableDomainWhiteList",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"domainWhiteList",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"trustedIssuers",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"Issuer",ofType:null}}},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"LoginPhoneSettings",description:null,fields:[{name:"enabled",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"requireVerified",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"requireUnique",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"trustedIssuers",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"Issuer",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"enableRegionBlackList",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"regionBlackList",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"enableRegionWhiteList",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"regionWhiteList",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"MatchedSites",description:null,fields:[{name:"id",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"domain",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"NodeEnvInfo",description:null,fields:[{name:"ip",description:null,args:[],type:{kind:"OBJECT",name:"IPInfo",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"os",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"location",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"docker",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"image",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"blockletEngines",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"BlockletEngine",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"gitpod",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"disk",description:null,args:[],type:{kind:"OBJECT",name:"DiskInfo",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"NodeHistoryItem",description:null,fields:[{name:"date",description:null,args:[],type:{kind:"SCALAR",name:"Uint64",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"cpu",description:null,args:[],type:{kind:"SCALAR",name:"Uint64",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"mem",description:null,args:[],type:{kind:"SCALAR",name:"Uint64",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"daemonMem",description:null,args:[],type:{kind:"SCALAR",name:"Uint64",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"serviceMem",description:null,args:[],type:{kind:"SCALAR",name:"Uint64",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"hubMem",description:null,args:[],type:{kind:"SCALAR",name:"Uint64",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"NodeRouting",description:null,fields:[{name:"provider",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"snapshotHash",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"adminPath",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"requestLimit",description:null,args:[],type:{kind:"OBJECT",name:"RequestLimit",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"cacheEnabled",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"blockPolicy",description:null,args:[],type:{kind:"OBJECT",name:"BlockPolicy",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"proxyPolicy",description:null,args:[],type:{kind:"OBJECT",name:"ProxyPolicy",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"wafPolicy",description:null,args:[],type:{kind:"OBJECT",name:"WAFPolicy",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"NodeRuntimeConfig",description:null,fields:[{name:"blockletMaxMemoryLimit",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"daemonMaxMemoryLimit",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"proxyMaxMemoryLimit",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"NodeState",description:null,fields:[{name:"did",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"pk",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"version",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"name",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"description",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"port",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"initialized",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"nodeOwner",description:null,args:[],type:{kind:"OBJECT",name:"WalletInfo",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"createdAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"startedAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"initializedAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"mode",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"routing",description:null,args:[],type:{kind:"OBJECT",name:"NodeRouting",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"environments",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"ConfigEntry",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"uptime",description:null,args:[],type:{kind:"SCALAR",name:"Float32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"autoUpgrade",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"nextVersion",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"upgradeSessionId",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"registerUrl",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"enableWelcomePage",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"webWalletUrl",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"blockletRegistryList",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"BlockletStore",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"ownerNft",description:null,args:[],type:{kind:"OBJECT",name:"OwnerNft",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"diskAlertThreshold",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"trustedPassports",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"TrustedPassport",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"launcher",description:null,args:[],type:{kind:"OBJECT",name:"LauncherInfo",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"enablePassportIssuance",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"didRegistry",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"didDomain",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"status",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"trustedFactories",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"TrustedFactory",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"enableBetaRelease",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"runtimeConfig",description:null,args:[],type:{kind:"OBJECT",name:"NodeRuntimeConfig",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"nftDomainUrl",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"enableFileSystemIsolation",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"enableDocker",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"isDockerInstalled",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"enableDockerNetwork",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"enableSessionHardening",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"sessionSalt",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"Notification",description:null,fields:[{name:"sender",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"receiver",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"title",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"description",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"action",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"entityType",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"entityId",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"read",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"createdAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"id",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"severity",description:null,args:[],type:{kind:"ENUM",name:"Notification_NotificationSeverity",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"source",description:null,args:[],type:{kind:"ENUM",name:"Notification_NotificationSource",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"attachments",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"NotificationAttachment",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"blocks",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"NotificationAttachment",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"actions",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"NotificationAction",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"componentDid",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"type",description:null,args:[],type:{kind:"ENUM",name:"Notification_NotificationType",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"receivers",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"NotificationReceiver",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"data",description:null,args:[],type:{kind:"SCALAR",name:"Any",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"feedType",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"statistics",description:null,args:[],type:{kind:"OBJECT",name:"NotificationStatistics",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"activity",description:null,args:[],type:{kind:"OBJECT",name:"NotificationActivity",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"actorInfo",description:null,args:[],type:{kind:"OBJECT",name:"UserInfo",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"NotificationAction",description:null,fields:[{name:"bgColor",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"color",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"link",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"name",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"title",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"NotificationActivity",description:null,fields:[{name:"type",description:null,args:[],type:{kind:"ENUM",name:"NotificationActivity_ActivityTypeEnum",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"actor",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"target",description:null,args:[],type:{kind:"SCALAR",name:"Any",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"meta",description:null,args:[],type:{kind:"SCALAR",name:"Any",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"NotificationAttachment",description:null,fields:[{name:"data",description:null,args:[],type:{kind:"SCALAR",name:"Any",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"fields",description:null,args:[],type:{kind:"SCALAR",name:"Any",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"type",description:null,args:[],type:{kind:"ENUM",name:"NotificationAttachmentType",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"NotificationReceiver",description:null,fields:[{name:"id",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"notificationId",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"receiver",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"read",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"readAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"walletSendStatus",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"walletSendAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"pushKitSendStatus",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"pushKitSendAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"emailSendStatus",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"emailSendAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"createdAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"receiverUser",description:null,args:[],type:{kind:"OBJECT",name:"UserInfo",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"walletSendFailedReason",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"walletSendRecord",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"NotificationSendRecord",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"pushKitSendFailedReason",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"pushKitSendRecord",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"NotificationSendRecord",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"emailSendFailedReason",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"emailSendRecord",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"NotificationSendRecord",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"webhook",description:null,args:[],type:{kind:"SCALAR",name:"Any",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"email",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"webhookUrls",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"deviceId",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"NotificationSendRecord",description:null,fields:[{name:"sendStatus",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"sendAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"failedReason",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"NotificationStatistics",description:null,fields:[{name:"total",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"wallet",description:null,args:[],type:{kind:"OBJECT",name:"Statistics",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"push",description:null,args:[],type:{kind:"OBJECT",name:"Statistics",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"email",description:null,args:[],type:{kind:"OBJECT",name:"Statistics",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"webhook",description:null,args:[],type:{kind:"OBJECT",name:"WebhookStatistics",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"OptionalComponentState",description:null,fields:[{name:"logoUrl",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"dependencies",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"OptionalDependencies",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"meta",description:null,args:[],type:{kind:"OBJECT",name:"BlockletMeta",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"OptionalDependencies",description:null,fields:[{name:"parentDid",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"parentName",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"parentTitle",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"mountPoint",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"required",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"OwnerNft",description:null,fields:[{name:"did",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"holder",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"issuer",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"launcherSessionId",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"Paging",description:null,fields:[{name:"total",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"pageSize",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"pageCount",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"page",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"Passport",description:null,fields:[{name:"id",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"name",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"title",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"issuer",description:null,args:[],type:{kind:"OBJECT",name:"Issuer",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"type",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"issuanceDate",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"expirationDate",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"status",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"role",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"lastLoginAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"scope",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"display",description:null,args:[],type:{kind:"OBJECT",name:"PassportDisplay",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"source",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"parentDid",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"userDid",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"user",description:null,args:[],type:{kind:"OBJECT",name:"BaseUserInfo",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"PassportDisplay",description:null,fields:[{name:"type",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"content",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"PassportIssuanceInfo",description:null,fields:[{name:"id",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"name",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"title",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"expireDate",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"teamDid",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"ownerDid",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"display",description:null,args:[],type:{kind:"OBJECT",name:"PassportDisplay",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"PassportLogState",description:null,fields:[{name:"id",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"passportId",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"action",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"operatorIp",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"operatorUa",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"operatorDid",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"metadata",description:null,args:[],type:{kind:"SCALAR",name:"Any",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"createdAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"Permission",description:null,fields:[{name:"name",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"description",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"isProtected",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"Project",description:null,fields:[{name:"id",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"type",description:null,args:[],type:{kind:"ENUM",name:"PublishType",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"blockletDid",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"blockletVersion",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"blockletTitle",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"blockletDescription",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"blockletLogo",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"blockletIntroduction",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"blockletScreenshots",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"createdAt",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"updatedAt",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"componentDid",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"lastReleaseId",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"lastReleaseFiles",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"connectedStores",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"ConnectedStore",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"tenantScope",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"createdBy",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"autoUpload",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"possibleSameStore",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"connectedEndpoints",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"ConnectedEndpoint",ofType:null}}},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ProxyPolicy",description:null,fields:[{name:"enabled",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"trustRecursive",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"trustedProxies",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"realIpHeader",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"Release",description:null,fields:[{name:"id",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"projectId",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"blockletDid",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"blockletVersion",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"blockletTitle",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"blockletDescription",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"blockletLogo",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"blockletIntroduction",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"blockletScreenshots",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"note",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"files",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"status",description:null,args:[],type:{kind:"ENUM",name:"ReleaseStatus",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"createdAt",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"updatedAt",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"blockletComponents",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"ReleaseComponent",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"publishedStoreIds",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"uploadedResource",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"blockletResourceType",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"blockletSupport",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"blockletCommunity",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"blockletHomepage",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"blockletVideos",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"blockletRepository",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"contentType",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"blockletDocker",description:null,args:[],type:{kind:"OBJECT",name:"BlockletDocker",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ReleaseComponent",description:null,fields:[{name:"did",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"required",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"RequestLimit",description:null,fields:[{name:"enabled",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"rate",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"Requirement",description:null,fields:[{name:"server",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"os",description:null,args:[],type:{kind:"SCALAR",name:"Any",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"cpu",description:null,args:[],type:{kind:"SCALAR",name:"Any",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"fuels",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"Fuel",ofType:null}}},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseAccessKey",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"data",description:null,args:[],type:{kind:"OBJECT",name:"AccessKey",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseAccessKeys",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"list",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"AccessKey",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"paging",description:null,args:[],type:{kind:"OBJECT",name:"Paging",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseAddLetsEncryptCert",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseAddNginxHttpsCert",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseBlocklet",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"blocklet",description:null,args:[],type:{kind:"OBJECT",name:"BlockletState",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseBlockletAccessPolicies",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"accessPolicies",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"BlockletAccessPolicy",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"paging",description:null,args:[],type:{kind:"OBJECT",name:"Paging",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseBlockletAccessPolicy",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"accessPolicy",description:null,args:[],type:{kind:"OBJECT",name:"BlockletAccessPolicy",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseBlockletDiff",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"blockletDiff",description:null,args:[],type:{kind:"OBJECT",name:"BlockletDiff",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseBlockletInfo",description:null,fields:[{name:"user",description:null,args:[],type:{kind:"OBJECT",name:"BlockletUsers",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"passport",description:null,args:[],type:{kind:"OBJECT",name:"BlockletPassport",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"backup",description:null,args:[],type:{kind:"OBJECT",name:"Backup",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseBlockletMeta",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"meta",description:null,args:[],type:{kind:"SCALAR",name:"Any",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseBlockletMetaFromUrl",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"meta",description:null,args:[],type:{kind:"OBJECT",name:"BlockletMeta",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"isFree",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"inStore",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"registryUrl",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseBlockletResponseHeaderPolicies",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"responseHeaderPolicies",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"BlockletResponseHeaderPolicy",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"paging",description:null,args:[],type:{kind:"OBJECT",name:"Paging",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseBlockletResponseHeaderPolicy",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"responseHeaderPolicy",description:null,args:[],type:{kind:"OBJECT",name:"BlockletResponseHeaderPolicy",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseBlockletRuntimeHistory",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"historyList",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"BlockletHistoryItemList",ofType:null}}},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseBlockletSecurityRule",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"securityRule",description:null,args:[],type:{kind:"OBJECT",name:"BlockletSecurityRule",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseBlockletSecurityRules",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"securityRules",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"BlockletSecurityRule",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"paging",description:null,args:[],type:{kind:"OBJECT",name:"Paging",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseBlockletsFromBackup",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"backups",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"BlockletBackupState",ofType:null}}},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseCheckComponentsForUpdates",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"preUpdateInfo",description:null,args:[],type:{kind:"OBJECT",name:"BlockletPreUpdateInfo",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseCheckDomains",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseCheckNodeVersion",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"version",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseClearCache",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"removed",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseConfigVault",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"sessionId",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseConnectByStudio",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"url",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseConnectToEndpoint",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"url",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseConnectToStore",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"url",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseCreateAccessKey",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"data",description:null,args:[],type:{kind:"OBJECT",name:"CreateAccessKey",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseCreateInvitation",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"inviteInfo",description:null,args:[],type:{kind:"OBJECT",name:"InviteInfo",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseCreatePassportIssuance",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"info",description:null,args:[],type:{kind:"OBJECT",name:"PassportIssuanceInfo",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseCreateTransferNodeInvitation",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"inviteInfo",description:null,args:[],type:{kind:"OBJECT",name:"InviteInfo",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseCreateWebHook",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"webhook",description:null,args:[],type:{kind:"OBJECT",name:"WebHookSender",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseCreateWebhookEndpoint",description:null,fields:[{name:"data",description:null,args:[],type:{kind:"OBJECT",name:"WebhookEndpointState",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseDelegationState",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"state",description:null,args:[],type:{kind:"OBJECT",name:"DelegationState",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseDeleteAccessKey",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseDeleteNginxHttpsCert",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseDeleteWebHook",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseDeleteWebhookEndpoint",description:null,fields:[{name:"data",description:null,args:[],type:{kind:"OBJECT",name:"WebhookEndpointState",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseDisconnectFromStore",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseFindCertificateByDomain",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"cert",description:null,args:[],type:{kind:"OBJECT",name:"Certificate",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseGateway",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"gateway",description:null,args:[],type:{kind:"OBJECT",name:"Gateway",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseGetAuditLogs",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"list",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"AuditLog",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"paging",description:null,args:[],type:{kind:"OBJECT",name:"Paging",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseGetBlockletBackupSummary",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"summary",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"BackupSummaryItem",ofType:null}}},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseGetBlockletBackups",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"backups",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"Backup",ofType:null}}},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseGetBlockletSpaceGateways",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"spaceGateways",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"SpaceGateway",ofType:null}}},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseGetBlocklets",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"blocklets",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"BlockletState",ofType:null}}},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseGetCertificates",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"certificates",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"Certificate",ofType:null}}},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseGetDynamicComponents",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"components",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"ComponentState",ofType:null}}},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseGetInvitations",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"invitations",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"InviteInfo",ofType:null}}},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseGetLauncherSession",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"error",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"launcherSession",description:null,args:[],type:{kind:"SCALAR",name:"Any",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseGetNodeEnv",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"info",description:null,args:[],type:{kind:"OBJECT",name:"NodeEnvInfo",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseGetNodeInfo",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"info",description:null,args:[],type:{kind:"OBJECT",name:"NodeState",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseGetNotifications",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"list",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"Notification",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"paging",description:null,args:[],type:{kind:"OBJECT",name:"Paging",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"unreadCount",description:null,args:[],type:{kind:"SCALAR",name:"Int32",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseGetPassportCountPerRole",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"counts",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"KeyValue",ofType:null}}},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseGetPassportIssuances",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"list",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"PassportIssuanceInfo",ofType:null}}},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseGetProject",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"project",description:null,args:[],type:{kind:"OBJECT",name:"Project",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseGetProjects",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"projects",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"Project",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"paging",description:null,args:[],type:{kind:"OBJECT",name:"Paging",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseGetRelease",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"release",description:null,args:[],type:{kind:"OBJECT",name:"Release",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseGetReleases",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"releases",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"Release",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"paging",description:null,args:[],type:{kind:"OBJECT",name:"Paging",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseGetRoutingProviders",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"providers",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"RoutingProvider",ofType:null}}},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseGetRoutingSites",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"sites",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"RoutingSite",ofType:null}}},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseGetRoutingSnapshots",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"snapshots",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"RoutingSnapshot",ofType:null}}},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseGetSelectedResources",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"resources",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseGetSession",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"session",description:null,args:[],type:{kind:"SCALAR",name:"Any",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseGetSnapshotSites",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"sites",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"RoutingSite",ofType:null}}},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseGetTrafficInsights",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"list",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"TrafficInsight",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"paging",description:null,args:[],type:{kind:"OBJECT",name:"Paging",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseGetUsersCount",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"count",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseGetUsersCountPerRole",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"counts",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"KeyValue",ofType:null}}},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseGetWebhookAttempts",description:null,fields:[{name:"list",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"WebhookAttemptWithEndpointEventState",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"paging",description:null,args:[],type:{kind:"OBJECT",name:"Paging",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseGetWebhookEndpoint",description:null,fields:[{name:"data",description:null,args:[],type:{kind:"OBJECT",name:"WebhookEndpointWithUserInfo",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseGetWebhookEndpoints",description:null,fields:[{name:"list",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"WebhookEndpointWithUserInfo",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"paging",description:null,args:[],type:{kind:"OBJECT",name:"Paging",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseIsDidDomain",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"value",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseLaunchBlockletByLauncher",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"data",description:null,args:[],type:{kind:"SCALAR",name:"Any",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseMakeAllNotificationsAsRead",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"data",description:null,args:[],type:{kind:"OBJECT",name:"ReadUpdateAffected",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseNodeRuntimeHistory",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"history",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"NodeHistoryItem",ofType:null}}},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseNotificationComponents",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"componentDids",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseNotificationSendLog",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"list",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"Notification",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"paging",description:null,args:[],type:{kind:"OBJECT",name:"Paging",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponsePassport",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"passports",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"Passport",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"paging",description:null,args:[],type:{kind:"OBJECT",name:"Paging",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponsePassportLog",description:null,fields:[{name:"passportLogs",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"PassportLogState",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"paging",description:null,args:[],type:{kind:"OBJECT",name:"Paging",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponsePermission",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"permission",description:null,args:[],type:{kind:"OBJECT",name:"Permission",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponsePermissions",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"permissions",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"Permission",ofType:null}}},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseProject",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"project",description:null,args:[],type:{kind:"OBJECT",name:"Project",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponsePublishToEndpoint",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"url",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponsePublishToStore",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"url",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseReadNotifications",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"numAffected",description:null,args:[],type:{kind:"SCALAR",name:"Int32",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseReceivers",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"list",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"NotificationReceiver",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"paging",description:null,args:[],type:{kind:"OBJECT",name:"Paging",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseRelease",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"release",description:null,args:[],type:{kind:"OBJECT",name:"Release",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseResendNotification",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"data",description:null,args:[],type:{kind:"SCALAR",name:"Any",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseResetNode",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseRestartAllContainers",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"sessionId",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseRestartServer",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"sessionId",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseRole",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"role",description:null,args:[],type:{kind:"OBJECT",name:"Role",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseRoles",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"roles",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"Role",ofType:null}}},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseRoutingSite",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"site",description:null,args:[],type:{kind:"OBJECT",name:"RoutingSite",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseSendMsg",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseSenderList",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"senders",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"WebHookSender",ofType:null}}},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseTag",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"tag",description:null,args:[],type:{kind:"OBJECT",name:"Tag",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseTags",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"tags",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"Tag",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"paging",description:null,args:[],type:{kind:"OBJECT",name:"Paging",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseTakeRoutingSnapshot",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"hash",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseUpdateAccessKey",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"data",description:null,args:[],type:{kind:"OBJECT",name:"AccessKey",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseUpdateNginxHttpsCert",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseUpdateWebhookEndpoint",description:null,fields:[{name:"data",description:null,args:[],type:{kind:"OBJECT",name:"WebhookEndpointState",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseUpgradeNodeVersion",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"sessionId",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseUser",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"user",description:null,args:[],type:{kind:"OBJECT",name:"UserInfo",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseUserSessions",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"list",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"UserSession",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"paging",description:null,args:[],type:{kind:"OBJECT",name:"Paging",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseUserSessionsCount",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"count",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseUsers",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"users",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"UserInfo",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"paging",description:null,args:[],type:{kind:"OBJECT",name:"Paging",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ResponseWebHooks",description:null,fields:[{name:"code",description:null,args:[],type:{kind:"ENUM",name:"StatusCode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"webhooks",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"WebHook",ofType:null}}},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"Role",description:null,fields:[{name:"name",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"description",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"grants",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"title",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"isProtected",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"extra",description:null,args:[],type:{kind:"SCALAR",name:"Any",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"RoutingProvider",description:null,fields:[{name:"name",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"description",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"running",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"available",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"error",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"RoutingRule",description:null,fields:[{name:"id",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"from",description:null,args:[],type:{kind:"OBJECT",name:"RoutingRuleFrom",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"to",description:null,args:[],type:{kind:"OBJECT",name:"RoutingRuleTo",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"isProtected",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"RoutingRuleFrom",description:null,fields:[{name:"pathPrefix",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"header",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"RoutingRuleHeader",ofType:null}}},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"RoutingRuleHeader",description:null,fields:[{name:"key",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"value",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"type",description:null,args:[],type:{kind:"ENUM",name:"HeaderMatchType",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"RoutingRuleResponse",description:null,fields:[{name:"status",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"contentType",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"body",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"RoutingRuleTo",description:null,fields:[{name:"port",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"type",description:null,args:[],type:{kind:"ENUM",name:"BackendServiceType",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"did",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"url",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"redirectCode",description:null,args:[],type:{kind:"SCALAR",name:"Int32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"interfaceName",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"componentId",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"pageGroup",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"response",description:null,args:[],type:{kind:"OBJECT",name:"RoutingRuleResponse",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"RoutingSite",description:null,fields:[{name:"id",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"domain",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"domainAliases",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"Any",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"rules",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"RoutingRule",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"isProtected",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"corsAllowedOrigins",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"RoutingSnapshot",description:null,fields:[{name:"hash",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"tree",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"message",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"author",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"createdAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"RuntimeInfo",description:null,fields:[{name:"pid",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"port",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"uptime",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"memoryUsage",description:null,args:[],type:{kind:"SCALAR",name:"Float32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"cpuUsage",description:null,args:[],type:{kind:"SCALAR",name:"Float32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"runningDocker",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"cpus",description:null,args:[],type:{kind:"SCALAR",name:"Any",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"SessionConfig",description:null,fields:[{name:"cacheTtl",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"ttl",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"email",description:null,args:[],type:{kind:"OBJECT",name:"LoginEmailSettings",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"phone",description:null,args:[],type:{kind:"OBJECT",name:"LoginPhoneSettings",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"salt",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"SimpleBlockletMeta",description:null,fields:[{name:"did",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"name",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"version",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"description",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"title",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"bundleDid",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"bundleName",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"SimpleBlockletState",description:null,fields:[{name:"meta",description:null,args:[],type:{kind:"OBJECT",name:"SimpleBlockletMeta",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"status",description:null,args:[],type:{kind:"ENUM",name:"BlockletStatus",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"deployedFrom",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"mountPoint",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"deletedAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"SpaceGateway",description:null,fields:[{name:"name",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"url",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"protected",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"endpoint",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"did",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"Statistics",description:null,fields:[{name:"total",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"pending",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"success",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"failed",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"Tag",description:null,fields:[{name:"id",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"title",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"description",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"color",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"createdAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"updatedAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"TrafficInsight",description:null,fields:[{name:"did",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"date",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"totalRequests",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"validRequests",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"failedRequests",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"generationTime",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"uniqueVisitors",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"uniqueFiles",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"excludedHits",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"uniqueReferrers",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"uniqueNotFound",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"uniqueStaticFiles",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"logSize",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"bandwidth",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"TrustedFactory",description:null,fields:[{name:"holderDid",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"issuerDid",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"factoryAddress",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"remark",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"passport",description:null,args:[],type:{kind:"OBJECT",name:"TrustedPassportMappingTo",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"TrustedPassport",description:null,fields:[{name:"issuerDid",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"remark",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"mappings",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"TrustedPassportMapping",ofType:null}}},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"TrustedPassportMapping",description:null,fields:[{name:"from",description:null,args:[],type:{kind:"OBJECT",name:"TrustedPassportMappingFrom",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"to",description:null,args:[],type:{kind:"OBJECT",name:"TrustedPassportMappingTo",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"TrustedPassportMappingFrom",description:null,fields:[{name:"passport",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"TrustedPassportMappingTo",description:null,fields:[{name:"role",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"ttl",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"ttlPolicy",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"UpdateList",description:null,fields:[{name:"id",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"meta",description:null,args:[],type:{kind:"OBJECT",name:"BlockletMeta",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"UserAddress",description:null,fields:[{name:"country",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"province",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"city",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"postalCode",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"line1",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"line2",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"UserInfo",description:null,fields:[{name:"did",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"pk",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"role",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"avatar",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"fullName",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"email",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"approved",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"createdAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"updatedAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"locale",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"passports",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"Passport",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"firstLoginAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"lastLoginAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"remark",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"lastLoginIp",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"sourceProvider",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"sourceAppPid",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"connectedAccounts",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"ConnectedAccount",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"extra",description:null,args:[],type:{kind:"SCALAR",name:"Any",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"tags",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"Tag",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"didSpace",description:null,args:[],type:{kind:"SCALAR",name:"Any",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"userSessions",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"UserSession",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"url",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"phone",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"inviter",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"generation",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"emailVerified",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"phoneVerified",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"metadata",description:null,args:[],type:{kind:"OBJECT",name:"UserMetadata",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"address",description:null,args:[],type:{kind:"OBJECT",name:"UserAddress",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"userSessionsCount",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"UserMetadata",description:null,fields:[{name:"bio",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"location",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"timezone",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"cover",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"links",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"UserMetadataLink",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"status",description:null,args:[],type:{kind:"OBJECT",name:"UserMetadataStatus",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"phone",description:null,args:[],type:{kind:"OBJECT",name:"UserPhoneInfo",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"UserMetadataLink",description:null,fields:[{name:"url",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"favicon",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"UserMetadataStatus",description:null,fields:[{name:"label",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"icon",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"duration",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"dateRange",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"Uint32",ofType:null}}},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"UserPhoneInfo",description:null,fields:[{name:"country",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"phoneNumber",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"UserSession",description:null,fields:[{name:"id",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"visitorId",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"appPid",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"userDid",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"ua",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"passportId",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"status",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"lastLoginIp",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"extra",description:null,args:[],type:{kind:"SCALAR",name:"Any",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"createdAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"updatedAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"WAFPolicy",description:null,fields:[{name:"enabled",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"mode",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"inboundAnomalyScoreThreshold",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"outboundAnomalyScoreThreshold",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"logLevel",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"WalletInfo",description:null,fields:[{name:"did",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"pk",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"WebHook",description:null,fields:[{name:"type",description:null,args:[],type:{kind:"ENUM",name:"SenderType",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"id",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"params",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"WebHookParam",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"createdAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"updatedAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"WebHookParam",description:null,fields:[{name:"name",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"description",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"required",description:null,args:[],type:{kind:"SCALAR",name:"Boolean",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"defaultValue",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"value",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"type",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"WebHookSender",description:null,fields:[{name:"type",description:null,args:[],type:{kind:"ENUM",name:"SenderType",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"title",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"description",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"params",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"WebHookParam",ofType:null}}},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"WebhookAttemptWithEndpointEventState",description:null,fields:[{name:"id",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"eventId",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"webhookId",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"status",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"responseStatus",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"responseBody",description:null,args:[],type:{kind:"SCALAR",name:"Any",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"retryCount",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"createdAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"updatedAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"endpoint",description:null,args:[],type:{kind:"OBJECT",name:"WebhookEndpointState",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"event",description:null,args:[],type:{kind:"OBJECT",name:"WebhookEventState",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"WebhookEndpointState",description:null,fields:[{name:"id",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"apiVersion",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"url",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"description",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"enabledEvents",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"EnableEvent",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"metadata",description:null,args:[],type:{kind:"SCALAR",name:"Any",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"status",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"createdAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"updatedAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"WebhookEndpointWithUserInfo",description:null,fields:[{name:"id",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"apiVersion",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"url",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"description",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"enabledEvents",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"EnableEvent",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"metadata",description:null,args:[],type:{kind:"SCALAR",name:"Any",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"status",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"createdAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"updatedAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"createUser",description:null,args:[],type:{kind:"OBJECT",name:"UserInfo",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"updateUser",description:null,args:[],type:{kind:"OBJECT",name:"UserInfo",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"WebhookEventState",description:null,fields:[{name:"id",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"type",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"apiVersion",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"data",description:null,args:[],type:{kind:"SCALAR",name:"Any",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"objectType",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"objectId",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"request",description:null,args:[],type:{kind:"SCALAR",name:"Any",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"pendingWebhooks",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"metadata",description:null,args:[],type:{kind:"SCALAR",name:"Any",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"createdAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"updatedAt",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"source",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"WebhookStatistics",description:null,fields:[{name:"total",description:null,args:[],type:{kind:"SCALAR",name:"Uint32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"pending",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"success",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"failed",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"ReadUpdateAffected",description:null,fields:[{name:"numAffected",description:null,args:[],type:{kind:"SCALAR",name:"Int32",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"notificationIds",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}}},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"ENUM",name:"BackendServiceType",description:null,fields:null,inputFields:null,interfaces:null,enumValues:[{name:"daemon",description:null,isDeprecated:!1,deprecationReason:null},{name:"blocklet",description:null,isDeprecated:!1,deprecationReason:null},{name:"redirect",description:null,isDeprecated:!1,deprecationReason:null},{name:"none",description:null,isDeprecated:!1,deprecationReason:null},{name:"general_proxy",description:null,isDeprecated:!1,deprecationReason:null},{name:"direct_response",description:null,isDeprecated:!1,deprecationReason:null},{name:"rewrite",description:null,isDeprecated:!1,deprecationReason:null},{name:"component",description:null,isDeprecated:!1,deprecationReason:null}],possibleTypes:null},{kind:"ENUM",name:"BackupTo",description:null,fields:null,inputFields:null,interfaces:null,enumValues:[{name:"spaces",description:null,isDeprecated:!1,deprecationReason:null},{name:"disk",description:null,isDeprecated:!1,deprecationReason:null}],possibleTypes:null},{kind:"ENUM",name:"BlockletSource",description:null,fields:null,inputFields:null,interfaces:null,enumValues:[{name:"registry",description:null,isDeprecated:!1,deprecationReason:null},{name:"local",description:null,isDeprecated:!1,deprecationReason:null},{name:"upload",description:null,isDeprecated:!1,deprecationReason:null},{name:"url",description:null,isDeprecated:!1,deprecationReason:null},{name:"custom",description:null,isDeprecated:!1,deprecationReason:null}],possibleTypes:null},{kind:"ENUM",name:"BlockletStatus",description:null,fields:null,inputFields:null,interfaces:null,enumValues:[{name:"added",description:null,isDeprecated:!1,deprecationReason:null},{name:"downloading",description:null,isDeprecated:!1,deprecationReason:null},{name:"downloaded",description:null,isDeprecated:!1,deprecationReason:null},{name:"installing",description:null,isDeprecated:!1,deprecationReason:null},{name:"installed",description:null,isDeprecated:!1,deprecationReason:null},{name:"starting",description:null,isDeprecated:!1,deprecationReason:null},{name:"running",description:null,isDeprecated:!1,deprecationReason:null},{name:"stopping",description:null,isDeprecated:!1,deprecationReason:null},{name:"stopped",description:null,isDeprecated:!1,deprecationReason:null},{name:"error",description:null,isDeprecated:!1,deprecationReason:null},{name:"upgrading",description:null,isDeprecated:!1,deprecationReason:null},{name:"restarting",description:null,isDeprecated:!1,deprecationReason:null},{name:"corrupted",description:null,isDeprecated:!1,deprecationReason:null},{name:"waiting",description:null,isDeprecated:!1,deprecationReason:null},{name:"deleted",description:null,isDeprecated:!1,deprecationReason:null},{name:"unknown",description:null,isDeprecated:!1,deprecationReason:null}],possibleTypes:null},{kind:"ENUM",name:"HeaderMatchType",description:null,fields:null,inputFields:null,interfaces:null,enumValues:[{name:"exact",description:null,isDeprecated:!1,deprecationReason:null},{name:"partial",description:null,isDeprecated:!1,deprecationReason:null},{name:"regexp",description:null,isDeprecated:!1,deprecationReason:null}],possibleTypes:null},{kind:"ENUM",name:"Notification_NotificationSeverity",description:null,fields:null,inputFields:null,interfaces:null,enumValues:[{name:"info",description:null,isDeprecated:!1,deprecationReason:null},{name:"success",description:null,isDeprecated:!1,deprecationReason:null},{name:"error",description:null,isDeprecated:!1,deprecationReason:null},{name:"warning",description:null,isDeprecated:!1,deprecationReason:null}],possibleTypes:null},{kind:"ENUM",name:"Notification_NotificationSource",description:null,fields:null,inputFields:null,interfaces:null,enumValues:[{name:"system",description:null,isDeprecated:!1,deprecationReason:null},{name:"component",description:null,isDeprecated:!1,deprecationReason:null}],possibleTypes:null},{kind:"ENUM",name:"Notification_NotificationType",description:null,fields:null,inputFields:null,interfaces:null,enumValues:[{name:"notification",description:null,isDeprecated:!1,deprecationReason:null},{name:"connect",description:null,isDeprecated:!1,deprecationReason:null},{name:"feed",description:null,isDeprecated:!1,deprecationReason:null},{name:"hi",description:null,isDeprecated:!1,deprecationReason:null},{name:"passthrough",description:null,isDeprecated:!1,deprecationReason:null}],possibleTypes:null},{kind:"ENUM",name:"NotificationActivity_ActivityTypeEnum",description:null,fields:null,inputFields:null,interfaces:null,enumValues:[{name:"comment",description:null,isDeprecated:!1,deprecationReason:null},{name:"like",description:null,isDeprecated:!1,deprecationReason:null},{name:"follow",description:null,isDeprecated:!1,deprecationReason:null},{name:"tips",description:null,isDeprecated:!1,deprecationReason:null},{name:"mention",description:null,isDeprecated:!1,deprecationReason:null},{name:"assign",description:null,isDeprecated:!1,deprecationReason:null}],possibleTypes:null},{kind:"ENUM",name:"NotificationAttachmentType",description:null,fields:null,inputFields:null,interfaces:null,enumValues:[{name:"asset",description:null,isDeprecated:!1,deprecationReason:null},{name:"vc",description:null,isDeprecated:!1,deprecationReason:null},{name:"token",description:null,isDeprecated:!1,deprecationReason:null},{name:"text",description:null,isDeprecated:!1,deprecationReason:null},{name:"image",description:null,isDeprecated:!1,deprecationReason:null},{name:"divider",description:null,isDeprecated:!1,deprecationReason:null},{name:"transaction",description:null,isDeprecated:!1,deprecationReason:null},{name:"dapp",description:null,isDeprecated:!1,deprecationReason:null},{name:"link",description:null,isDeprecated:!1,deprecationReason:null},{name:"section",description:null,isDeprecated:!1,deprecationReason:null}],possibleTypes:null},{kind:"ENUM",name:"PublishType",description:null,fields:null,inputFields:null,interfaces:null,enumValues:[{name:"resource",description:null,isDeprecated:!1,deprecationReason:null},{name:"pack",description:null,isDeprecated:!1,deprecationReason:null}],possibleTypes:null},{kind:"ENUM",name:"ReleaseStatus",description:null,fields:null,inputFields:null,interfaces:null,enumValues:[{name:"draft",description:null,isDeprecated:!1,deprecationReason:null},{name:"published",description:null,isDeprecated:!1,deprecationReason:null}],possibleTypes:null},{kind:"ENUM",name:"SenderType",description:null,fields:null,inputFields:null,interfaces:null,enumValues:[{name:"slack",description:null,isDeprecated:!1,deprecationReason:null},{name:"api",description:null,isDeprecated:!1,deprecationReason:null}],possibleTypes:null},{kind:"ENUM",name:"StatusCode",description:null,fields:null,inputFields:null,interfaces:null,enumValues:[{name:"ok",description:null,isDeprecated:!1,deprecationReason:null},{name:"blocklet_not_found",description:null,isDeprecated:!1,deprecationReason:null},{name:"blocklet_not_purchased",description:null,isDeprecated:!1,deprecationReason:null},{name:"forbidden",description:null,isDeprecated:!1,deprecationReason:null},{name:"internal",description:null,isDeprecated:!1,deprecationReason:null},{name:"timeout",description:null,isDeprecated:!1,deprecationReason:null}],possibleTypes:null},{kind:"SCALAR",name:"Upload",description:"The `Upload` scalar type represents a file upload.",fields:null,inputFields:null,interfaces:null,enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"Mutation",description:null,fields:[{name:"installBlocklet",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestVersionedBlockletInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseBlocklet",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"installComponent",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestInstallComponentInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseBlocklet",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"startBlocklet",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestComponentsInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseBlocklet",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"stopBlocklet",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestComponentsInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseBlocklet",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"reloadBlocklet",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestComponentsInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseBlocklet",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"restartBlocklet",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestComponentsInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseBlocklet",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"deleteBlocklet",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestDeleteBlockletInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseBlocklet",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"deleteComponent",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestDeleteComponentInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseBlocklet",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"cancelDownloadBlocklet",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestBlockletInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseBlocklet",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"checkComponentsForUpdates",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestBlockletInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseCheckComponentsForUpdates",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"upgradeComponents",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestUpdateComponentsInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseBlocklet",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"configBlocklet",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestConfigBlockletInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseBlocklet",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"configPublicToStore",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestConfigPublicToStoreInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseBlocklet",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"configNavigations",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestConfigNavigationsInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseBlocklet",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"configOAuth",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestConfigOAuthInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseBlocklet",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"configNotification",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestConfigNotificationInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseBlocklet",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"configVault",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestConfigVaultInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseConfigVault",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"sendEmail",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestSendEmailInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"GeneralResponse",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"sendPush",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestSendPushInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"GeneralResponse",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"joinFederatedLogin",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestJoinFederatedLoginInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseBlocklet",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"quitFederatedLogin",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestQuitFederatedLoginInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseBlocklet",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"disbandFederatedLogin",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestDisbandFederatedLoginInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseBlocklet",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"syncMasterAuthorization",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestSyncMasterAuthorizationInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseBlocklet",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"syncFederatedConfig",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestSyncFederatedInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseBlocklet",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"auditFederatedLogin",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestAuditFederatedLoginInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseBlocklet",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"updateAppSessionConfig",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestUpdateAppSessionConfigInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseBlocklet",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"updateComponentTitle",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestUpdateComponentTitleInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseBlocklet",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"updateComponentMountPoint",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestUpdateComponentMountPointInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseBlocklet",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"backupBlocklet",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestBackupBlockletInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"GeneralResponse",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"abortBlockletBackup",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestAbortBlockletBackupInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"GeneralResponse",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"restoreBlocklet",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestRestoreBlockletInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"GeneralResponse",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"migrateApplicationToStructV2",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestMigrateApplicationToStructV2Input",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"GeneralResponse",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"launchBlockletByLauncher",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestLaunchBlockletByLauncherInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseLaunchBlockletByLauncher",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"addBlockletSpaceGateway",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestAddBlockletSpaceGatewayInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"GeneralResponse",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"deleteBlockletSpaceGateway",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestDeleteBlockletSpaceGatewayInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"GeneralResponse",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"updateBlockletSpaceGateway",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestUpdateBlockletSpaceGatewayInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"GeneralResponse",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"updateAutoBackup",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestUpdateAutoBackupInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"GeneralResponse",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"updateAutoCheckUpdate",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestUpdateAutoCheckUpdateInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"GeneralResponse",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"updateInviteSettings",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestUpdateInviteSettingsInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"GeneralResponse",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"updateNodeInfo",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"NodeInfoInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseGetNodeInfo",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"updateNodeRouting",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestNodeRoutingInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseGetNodeInfo",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"upgradeNodeVersion",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestUpgradeNodeVersionInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseUpgradeNodeVersion",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"restartServer",description:null,args:[],type:{kind:"OBJECT",name:"ResponseRestartServer",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"resetNode",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestResetNodeInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseResetNode",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"rotateSessionKey",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestRotateSessionKeyInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"GeneralResponse",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"updateGateway",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"GatewayInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseGateway",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"clearCache",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestClearCacheInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseClearCache",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"createMemberInvitation",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestCreateInvitationInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseCreateInvitation",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"createTransferInvitation",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestCreateTransferNodeInvitationInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseCreateTransferNodeInvitation",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"deleteInvitation",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestDeleteInvitationInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"GeneralResponse",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"createPassportIssuance",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestCreatePassportIssuanceInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseCreatePassportIssuance",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"deletePassportIssuance",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestDeleteTeamSessionInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"GeneralResponse",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"configTrustedPassports",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestConfigTrustedPassportsInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"GeneralResponse",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"configTrustedFactories",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestConfigTrustedFactoriesInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"GeneralResponse",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"configPassportIssuance",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestConfigPassportIssuanceInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"GeneralResponse",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"removeUser",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestTeamUserInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseUser",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"updateUserTags",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestUpdateUserTagsInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseUser",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"updateUserExtra",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestUpdateUserExtraInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseUser",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"updateUserApproval",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestTeamUserInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseUser",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"issuePassportToUser",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestIssuePassportToUserInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseUser",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"revokeUserPassport",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestRevokeUserPassportInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseUser",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"enableUserPassport",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestRevokeUserPassportInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseUser",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"removeUserPassport",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestRevokeUserPassportInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"GeneralResponse",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"switchProfile",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestSwitchProfileInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseUser",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"updateUserAddress",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestUpdateUserAddressInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseUser",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"updateUserInfo",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestUpdateUserInfoInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseUser",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"createRole",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestCreateRoleInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseRole",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"updateRole",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestTeamRoleInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseRole",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"deleteRole",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestDeleteRoleInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"GeneralResponse",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"createPermission",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestCreatePermissionInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponsePermission",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"updatePermission",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestTeamPermissionInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponsePermission",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"deletePermission",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestDeletePermissionInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"GeneralResponse",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"grantPermissionForRole",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestGrantPermissionForRoleInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"GeneralResponse",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"revokePermissionFromRole",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestRevokePermissionFromRoleInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"GeneralResponse",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"updatePermissionsForRole",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestUpdatePermissionsForRoleInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseRole",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"hasPermission",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestHasPermissionInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"BooleanResponse",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"addBlockletStore",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestAddBlockletStoreInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"GeneralResponse",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"deleteBlockletStore",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestDeleteBlockletStoreInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"GeneralResponse",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"createTag",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestTagInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseTag",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"updateTag",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestTagInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseTag",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"deleteTag",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestTagInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseTag",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"readNotifications",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestReadNotificationsInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseReadNotifications",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"unreadNotifications",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestReadNotificationsInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseReadNotifications",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"addRoutingSite",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestAddRoutingSiteInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseRoutingSite",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"addDomainAlias",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestAddDomainAliasInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseRoutingSite",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"deleteDomainAlias",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestDeleteDomainAliasInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseRoutingSite",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"deleteRoutingSite",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestDeleteRoutingSiteInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"GeneralResponse",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"updateRoutingSite",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestUpdateRoutingSiteInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseRoutingSite",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"addRoutingRule",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestAddRoutingRuleInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseRoutingSite",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"updateRoutingRule",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestUpdateRoutingRuleInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseRoutingSite",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"deleteRoutingRule",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestDeleteRoutingRuleInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseRoutingSite",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"takeRoutingSnapshot",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestTakeRoutingSnapshotInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseTakeRoutingSnapshot",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"updateCertificate",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestUpdateNginxHttpsCertInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseUpdateNginxHttpsCert",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"addCertificate",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestAddNginxHttpsCertInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseAddNginxHttpsCert",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"deleteCertificate",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestDeleteNginxHttpsCertInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseDeleteNginxHttpsCert",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"issueLetsEncryptCert",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestAddLetsEncryptCertInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseAddLetsEncryptCert",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"createAccessKey",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestCreateAccessKeyInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseCreateAccessKey",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"updateAccessKey",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestUpdateAccessKeyInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseUpdateAccessKey",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"deleteAccessKey",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestDeleteAccessKeyInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseDeleteAccessKey",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"verifyAccessKey",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestVerifyAccessKeyInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseAccessKey",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"createWebHook",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestCreateWebHookInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseCreateWebHook",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"deleteWebHook",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestDeleteWebHookInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseDeleteWebHook",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"createProject",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestCreateProjectInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseProject",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"updateProject",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestUpdateProjectInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseProject",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"deleteProject",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestProjectInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"GeneralResponse",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"createRelease",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestCreateReleaseInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseRelease",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"deleteRelease",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestReleaseInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"GeneralResponse",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"updateSelectedResources",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestUpdateSelectedResourcesInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"GeneralResponse",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"connectToStore",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestConnectToStoreInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseConnectToStore",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"disconnectFromStore",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestDisconnectFromStoreInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseDisconnectFromStore",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"publishToStore",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestPublishToStoreInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponsePublishToStore",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"connectByStudio",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestConnectByStudioInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseConnectByStudio",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"addBlockletSecurityRule",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestAddBlockletSecurityRuleInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseBlockletSecurityRule",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"updateBlockletSecurityRule",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestUpdateBlockletSecurityRuleInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseBlockletSecurityRule",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"deleteBlockletSecurityRule",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestDeleteBlockletSecurityRuleInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"GeneralResponse",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"addBlockletResponseHeaderPolicy",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestAddBlockletResponseHeaderPolicyInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseBlockletResponseHeaderPolicy",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"updateBlockletResponseHeaderPolicy",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestUpdateBlockletResponseHeaderPolicyInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseBlockletResponseHeaderPolicy",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"deleteBlockletResponseHeaderPolicy",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestDeleteBlockletResponseHeaderPolicyInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"GeneralResponse",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"addBlockletAccessPolicy",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestAddBlockletAccessPolicyInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseBlockletAccessPolicy",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"updateBlockletAccessPolicy",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestUpdateBlockletAccessPolicyInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseBlockletAccessPolicy",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"deleteBlockletAccessPolicy",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestDeleteBlockletAccessPolicyInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"GeneralResponse",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"restartAllContainers",description:null,args:[],type:{kind:"OBJECT",name:"ResponseRestartAllContainers",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"createWebhookEndpoint",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestCreateWebhookEndpointInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseCreateWebhookEndpoint",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"updateWebhookEndpoint",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestUpdateWebhookEndpointInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseUpdateWebhookEndpoint",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"deleteWebhookEndpoint",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestDeleteWebhookEndpointInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseDeleteWebhookEndpoint",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"addUploadEndpoint",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestAddUploadEndpointInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"GeneralResponse",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"deleteUploadEndpoint",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestDeleteUploadEndpointInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"GeneralResponse",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"connectToEndpoint",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestConnectToEndpointInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseConnectToEndpoint",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"disconnectFromEndpoint",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestDisconnectFromEndpointInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"GeneralResponse",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"publishToEndpoint",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestPublishToEndpointInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponsePublishToEndpoint",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"Query",description:null,fields:[{name:"getBlocklet",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestBlockletDetailInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseBlocklet",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getBlockletMetaFromUrl",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestBlockletMetaFromUrlInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseBlockletMetaFromUrl",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getBlockletDiff",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestBlockletDiffInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseBlockletDiff",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getBlocklets",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestGetBlockletsInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseGetBlocklets",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getBlockletRuntimeHistory",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestBlockletRuntimeHistoryInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseBlockletRuntimeHistory",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getBlockletsFromBackup",description:null,args:[],type:{kind:"OBJECT",name:"ResponseBlockletsFromBackup",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getDynamicComponents",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestGetDynamicComponentsInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseGetDynamicComponents",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getNodeInfo",description:null,args:[],type:{kind:"OBJECT",name:"ResponseGetNodeInfo",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"resetNodeStatus",description:null,args:[],type:{kind:"OBJECT",name:"ResponseGetNodeInfo",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getNodeEnv",description:null,args:[],type:{kind:"OBJECT",name:"ResponseGetNodeEnv",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"checkNodeVersion",description:null,args:[],type:{kind:"OBJECT",name:"ResponseCheckNodeVersion",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getDelegationState",description:null,args:[],type:{kind:"OBJECT",name:"ResponseDelegationState",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getNodeRuntimeHistory",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestNodeRuntimeHistoryInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseNodeRuntimeHistory",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getBlockletMeta",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestBlockletMetaInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseBlockletMeta",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getNotifications",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestGetNotificationsInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseGetNotifications",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"makeAllNotificationsAsRead",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestMakeAllNotificationsAsReadInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseMakeAllNotificationsAsRead",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getNotificationSendLog",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestNotificationSendLogInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseNotificationSendLog",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getReceivers",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestReceiversInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseReceivers",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getNotificationComponents",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestNotificationComponentsInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseNotificationComponents",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"resendNotification",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestResendNotificationInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseResendNotification",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getRoutingSites",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestGetRoutingSitesInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseGetRoutingSites",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getRoutingSnapshots",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestGetRoutingSnapshotsInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseGetRoutingSnapshots",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getSnapshotSites",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestGetSnapshotSitesInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseGetSnapshotSites",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getRoutingProviders",description:null,args:[],type:{kind:"OBJECT",name:"ResponseGetRoutingProviders",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"isDidDomain",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestIsDidDomainInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseIsDidDomain",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getCertificates",description:null,args:[],type:{kind:"OBJECT",name:"ResponseGetCertificates",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"checkDomains",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestCheckDomainsInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseCheckDomains",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"findCertificateByDomain",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestFindCertificateByDomainInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseFindCertificateByDomain",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getAccessKeys",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestAccessKeysInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseAccessKeys",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getAccessKey",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestAccessKeyInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseAccessKey",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getWebHooks",description:null,args:[],type:{kind:"OBJECT",name:"ResponseWebHooks",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getWebhookSenders",description:null,args:[],type:{kind:"OBJECT",name:"ResponseSenderList",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"sendTestMessage",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestSendMsgInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseSendMsg",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getSession",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestGetSessionInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseGetSession",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getRoles",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"TeamInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseRoles",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getRole",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestTeamRoleInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseRole",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getPermissions",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"TeamInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponsePermissions",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getInvitations",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"TeamInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseGetInvitations",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getUsers",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestUsersInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseUsers",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getUser",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestTeamUserInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseUser",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getUserSessions",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestUserSessionsInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseUserSessions",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getUserSessionsCount",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestUserSessionsCountInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseUserSessionsCount",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getUsersCount",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"TeamInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseGetUsersCount",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getUsersCountPerRole",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"TeamInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseGetUsersCountPerRole",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getOwner",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"TeamInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseUser",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getPermissionsByRole",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestTeamRoleInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponsePermissions",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getPassportIssuances",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestGetPassportIssuancesInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseGetPassportIssuances",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"logoutUser",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestLogoutUserInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"GeneralResponse",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getTags",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestTagsInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseTags",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getAuditLogs",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestGetAuditLogsInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseGetAuditLogs",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getLauncherSession",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestGetLauncherSessionInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseGetLauncherSession",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getBlockletBackups",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestGetBlockletBackupsInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseGetBlockletBackups",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getBlockletBackupSummary",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestGetBlockletBackupSummaryInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseGetBlockletBackupSummary",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getBlockletSpaceGateways",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestBlockletInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseGetBlockletSpaceGateways",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getTrafficInsights",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestGetTrafficInsightsInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseGetTrafficInsights",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getProjects",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestGetProjectsInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseGetProjects",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getProject",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestProjectInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseGetProject",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getReleases",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestGetReleasesInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseGetReleases",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getRelease",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestReleaseInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseGetRelease",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getSelectedResources",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestGetSelectedResourcesInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseGetSelectedResources",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getBlockletSecurityRule",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestGetBlockletSecurityRuleInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseBlockletSecurityRule",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getBlockletSecurityRules",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestGetBlockletSecurityRulesInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseBlockletSecurityRules",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getBlockletResponseHeaderPolicy",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestGetBlockletResponseHeaderPolicyInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseBlockletAccessPolicy",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getBlockletResponseHeaderPolicies",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestGetBlockletResponseHeaderPoliciesInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseBlockletResponseHeaderPolicies",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getBlockletAccessPolicy",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestGetBlockletAccessPolicyInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseBlockletAccessPolicy",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getBlockletAccessPolicies",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestGetBlockletAccessPoliciesInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseBlockletAccessPolicies",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getWebhookEndpoints",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestGetWebhookEndpointsInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseGetWebhookEndpoints",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getWebhookEndpoint",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestGetWebhookEndpointInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseGetWebhookEndpoint",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getWebhookAttempts",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestGetWebhookAttemptsInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseGetWebhookAttempts",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getPassportRoleCounts",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"TeamInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseGetPassportCountPerRole",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getPassportsByRole",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestPassportInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponsePassport",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getPassportLogs",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestPassportLogInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponsePassportLog",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getRelatedPassports",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"RequestRelatedPassportsInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponsePassport",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"getBlockletBaseInfo",description:null,args:[{name:"input",description:null,type:{kind:"INPUT_OBJECT",name:"TeamInput",ofType:null},defaultValue:null}],type:{kind:"OBJECT",name:"ResponseBlockletInfo",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"__Schema",description:"A GraphQL Schema defines the capabilities of a GraphQL server. It exposes all available types and directives on the server, as well as the entry points for query, mutation, and subscription operations.",fields:[{name:"description",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"types",description:"A list of all types supported by this server.",args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"__Type",ofType:null}}}},isDeprecated:!1,deprecationReason:null},{name:"queryType",description:"The type that query operations will be rooted at.",args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"__Type",ofType:null}},isDeprecated:!1,deprecationReason:null},{name:"mutationType",description:"If this server supports mutation, the type that mutation operations will be rooted at.",args:[],type:{kind:"OBJECT",name:"__Type",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"subscriptionType",description:"If this server support subscription, the type that subscription operations will be rooted at.",args:[],type:{kind:"OBJECT",name:"__Type",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"directives",description:"A list of all directives supported by this server.",args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"__Directive",ofType:null}}}},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"__Type",description:"The fundamental unit of any GraphQL Schema is the type. There are many kinds of types in GraphQL as represented by the `__TypeKind` enum.\n\nDepending on the kind of a type, certain fields describe information about that type. Scalar types provide no information beyond a name, description and optional `specifiedByURL`, while Enum types provide their values. Object and Interface types provide the fields they describe. Abstract types, Union and Interface, provide the Object types possible at runtime. List and NonNull types compose other types.",fields:[{name:"kind",description:null,args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"ENUM",name:"__TypeKind",ofType:null}},isDeprecated:!1,deprecationReason:null},{name:"name",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"description",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"specifiedByURL",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"fields",description:null,args:[{name:"includeDeprecated",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:"false"}],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"__Field",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"interfaces",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"__Type",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"possibleTypes",description:null,args:[],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"__Type",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"enumValues",description:null,args:[{name:"includeDeprecated",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:"false"}],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"__EnumValue",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"inputFields",description:null,args:[{name:"includeDeprecated",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:"false"}],type:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"__InputValue",ofType:null}}},isDeprecated:!1,deprecationReason:null},{name:"ofType",description:null,args:[],type:{kind:"OBJECT",name:"__Type",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"ENUM",name:"__TypeKind",description:"An enum describing what kind of type a given `__Type` is.",fields:null,inputFields:null,interfaces:null,enumValues:[{name:"SCALAR",description:"Indicates this type is a scalar.",isDeprecated:!1,deprecationReason:null},{name:"OBJECT",description:"Indicates this type is an object. `fields` and `interfaces` are valid fields.",isDeprecated:!1,deprecationReason:null},{name:"INTERFACE",description:"Indicates this type is an interface. `fields`, `interfaces`, and `possibleTypes` are valid fields.",isDeprecated:!1,deprecationReason:null},{name:"UNION",description:"Indicates this type is a union. `possibleTypes` is a valid field.",isDeprecated:!1,deprecationReason:null},{name:"ENUM",description:"Indicates this type is an enum. `enumValues` is a valid field.",isDeprecated:!1,deprecationReason:null},{name:"INPUT_OBJECT",description:"Indicates this type is an input object. `inputFields` is a valid field.",isDeprecated:!1,deprecationReason:null},{name:"LIST",description:"Indicates this type is a list. `ofType` is a valid field.",isDeprecated:!1,deprecationReason:null},{name:"NON_NULL",description:"Indicates this type is a non-null. `ofType` is a valid field.",isDeprecated:!1,deprecationReason:null}],possibleTypes:null},{kind:"OBJECT",name:"__Field",description:"Object and Interface types are described by a list of Fields, each of which has a name, potentially a list of arguments, and a return type.",fields:[{name:"name",description:null,args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}},isDeprecated:!1,deprecationReason:null},{name:"description",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"args",description:null,args:[{name:"includeDeprecated",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:"false"}],type:{kind:"NON_NULL",name:null,ofType:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"__InputValue",ofType:null}}}},isDeprecated:!1,deprecationReason:null},{name:"type",description:null,args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"__Type",ofType:null}},isDeprecated:!1,deprecationReason:null},{name:"isDeprecated",description:null,args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"Boolean",ofType:null}},isDeprecated:!1,deprecationReason:null},{name:"deprecationReason",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"__InputValue",description:"Arguments provided to Fields or Directives and the input fields of an InputObject are represented as Input Values which describe their type and optionally a default value.",fields:[{name:"name",description:null,args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}},isDeprecated:!1,deprecationReason:null},{name:"description",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"type",description:null,args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"__Type",ofType:null}},isDeprecated:!1,deprecationReason:null},{name:"defaultValue",description:"A GraphQL-formatted string representing the default value for this input value.",args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"isDeprecated",description:null,args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"Boolean",ofType:null}},isDeprecated:!1,deprecationReason:null},{name:"deprecationReason",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"__EnumValue",description:"One possible value for a given Enum. Enum values are unique values, not a placeholder for a string or numeric value. However an Enum value is returned in a JSON response as a string.",fields:[{name:"name",description:null,args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}},isDeprecated:!1,deprecationReason:null},{name:"description",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"isDeprecated",description:null,args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"Boolean",ofType:null}},isDeprecated:!1,deprecationReason:null},{name:"deprecationReason",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"OBJECT",name:"__Directive",description:`A Directive provides a way to describe alternate runtime execution and type validation behavior in a GraphQL document.
1580
1580
 
1581
1581
  In some cases, you need to provide options to alter GraphQL's execution behavior in ways field arguments will not suffice, such as conditionally including or skipping a field. Directives provide this by describing additional information to the executor.`,fields:[{name:"name",description:null,args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}},isDeprecated:!1,deprecationReason:null},{name:"description",description:null,args:[],type:{kind:"SCALAR",name:"String",ofType:null},isDeprecated:!1,deprecationReason:null},{name:"isRepeatable",description:null,args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"Boolean",ofType:null}},isDeprecated:!1,deprecationReason:null},{name:"locations",description:null,args:[],type:{kind:"NON_NULL",name:null,ofType:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"ENUM",name:"__DirectiveLocation",ofType:null}}}},isDeprecated:!1,deprecationReason:null},{name:"args",description:null,args:[{name:"includeDeprecated",description:null,type:{kind:"SCALAR",name:"Boolean",ofType:null},defaultValue:"false"}],type:{kind:"NON_NULL",name:null,ofType:{kind:"LIST",name:null,ofType:{kind:"NON_NULL",name:null,ofType:{kind:"OBJECT",name:"__InputValue",ofType:null}}}},isDeprecated:!1,deprecationReason:null}],inputFields:null,interfaces:[],enumValues:null,possibleTypes:null},{kind:"ENUM",name:"__DirectiveLocation",description:"A Directive can be adjacent to many parts of the GraphQL language, a __DirectiveLocation describes one such possible adjacencies.",fields:null,inputFields:null,interfaces:null,enumValues:[{name:"QUERY",description:"Location adjacent to a query operation.",isDeprecated:!1,deprecationReason:null},{name:"MUTATION",description:"Location adjacent to a mutation operation.",isDeprecated:!1,deprecationReason:null},{name:"SUBSCRIPTION",description:"Location adjacent to a subscription operation.",isDeprecated:!1,deprecationReason:null},{name:"FIELD",description:"Location adjacent to a field.",isDeprecated:!1,deprecationReason:null},{name:"FRAGMENT_DEFINITION",description:"Location adjacent to a fragment definition.",isDeprecated:!1,deprecationReason:null},{name:"FRAGMENT_SPREAD",description:"Location adjacent to a fragment spread.",isDeprecated:!1,deprecationReason:null},{name:"INLINE_FRAGMENT",description:"Location adjacent to an inline fragment.",isDeprecated:!1,deprecationReason:null},{name:"VARIABLE_DEFINITION",description:"Location adjacent to a variable definition.",isDeprecated:!1,deprecationReason:null},{name:"SCHEMA",description:"Location adjacent to a schema definition.",isDeprecated:!1,deprecationReason:null},{name:"SCALAR",description:"Location adjacent to a scalar definition.",isDeprecated:!1,deprecationReason:null},{name:"OBJECT",description:"Location adjacent to an object type definition.",isDeprecated:!1,deprecationReason:null},{name:"FIELD_DEFINITION",description:"Location adjacent to a field definition.",isDeprecated:!1,deprecationReason:null},{name:"ARGUMENT_DEFINITION",description:"Location adjacent to an argument definition.",isDeprecated:!1,deprecationReason:null},{name:"INTERFACE",description:"Location adjacent to an interface definition.",isDeprecated:!1,deprecationReason:null},{name:"UNION",description:"Location adjacent to a union definition.",isDeprecated:!1,deprecationReason:null},{name:"ENUM",description:"Location adjacent to an enum definition.",isDeprecated:!1,deprecationReason:null},{name:"ENUM_VALUE",description:"Location adjacent to an enum value definition.",isDeprecated:!1,deprecationReason:null},{name:"INPUT_OBJECT",description:"Location adjacent to an input object type definition.",isDeprecated:!1,deprecationReason:null},{name:"INPUT_FIELD_DEFINITION",description:"Location adjacent to an input object field definition.",isDeprecated:!1,deprecationReason:null}],possibleTypes:null}],directives=[{name:"include",description:"Directs the executor to include this field or fragment only when the `if` argument is true.",locations:["FIELD","FRAGMENT_SPREAD","INLINE_FRAGMENT"],args:[{name:"if",description:"Included when true.",type:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"Boolean",ofType:null}},defaultValue:null}]},{name:"skip",description:"Directs the executor to skip this field or fragment when the `if` argument is true.",locations:["FIELD","FRAGMENT_SPREAD","INLINE_FRAGMENT"],args:[{name:"if",description:"Skipped when true.",type:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"Boolean",ofType:null}},defaultValue:null}]},{name:"deprecated",description:"Marks an element of a GraphQL schema as no longer supported.",locations:["FIELD_DEFINITION","ARGUMENT_DEFINITION","INPUT_FIELD_DEFINITION","ENUM_VALUE"],args:[{name:"reason",description:"Explains why this element was deprecated, usually also including a suggestion for how to access supported similar data. Formatted using the Markdown syntax, as specified by [CommonMark](https://commonmark.org/).",type:{kind:"SCALAR",name:"String",ofType:null},defaultValue:'"No longer supported"'}]},{name:"specifiedBy",description:"Exposes a URL that specifies the behavior of this scalar.",locations:["SCALAR"],args:[{name:"url",description:"The URL that specifies the behavior of this scalar.",type:{kind:"NON_NULL",name:null,ofType:{kind:"SCALAR",name:"String",ofType:null}},defaultValue:null}]}],require$$6$1={queryType,mutationType,subscriptionType,types:types$1,directives},BaseClient=dist$1,dayjs=dayjs_minExports,timezone=timezoneExports;dayjs.extend(timezone);const schema=require$$6$1;let ABTNodeClient$1=class extends BaseClient{constructor(){let j=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"http://localhost:4000/api",_e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";const et={dataSource:"forge",httpEndpoint:j,socketEndpoint:()=>this._getSocketEndpoint(j),enableQuery:!0,enableSubscription:!0,enableMutation:!0,maxQueryDepth:6};super(et),this._endpoint=j,this._authToken=null,this._userAgent=_e}setAuthToken(j){this._authToken=j}_getSocketEndpoint(j){let _e=j.replace(/https?:\/\//,"ws://");return j.indexOf("https://")===0&&(_e=_e.replace("ws://","wss://")),"".concat(_e,"/socket")}_getSchema(){return schema}_getIgnoreFields(j){return[]}_getAuthHeaders(){const j={},_e=this._authToken;if(_e){const et=typeof _e=="function"?_e():_e;j.Authorization="Bearer ".concat(encodeURIComponent(et))}if(typeof window<"u"&&typeof window.location<"u"){const{hostname:et,port:tt,protocol:nt}=window.location;j["x-real-hostname"]=et,j["x-real-port"]=tt,j["x-real-protocol"]=nt.endsWith(":")?nt.substring(0,nt.length-1):nt}return this._userAgent&&(j["User-Agent"]=this._userAgent),j["x-timezone"]=dayjs.tz.guess(),j}};var base=ABTNodeClient$1;const EventEmitter$2=eventemitter3Exports$1,ABTNodeClient=base;class BrowserABTNodeClient extends ABTNodeClient{_getSocketOptions(){return{}}_getEventImplementation(){return EventEmitter$2}}var browser$2=BrowserABTNodeClient;const NodeClient=getDefaultExportFromCjs$1(browser$2);let client$2;function create$2(a){const j=(window.env?window.env.apiPrefix:"/")||"/",_e=new NodeClient(()=>`${j}/api/gql?locale=${getLocale$1()}`.replace(/\/+/g,"/").trim());return _e.setAuthToken(()=>window.localStorage?getSessionToken():null),_e}function createClient(){return client$2||(client$2=create$2()),client$2}function useSubscription$1({wsClient:a,event:j,cb:_e=()=>{},deps:et=[]}){reactExports.useEffect(()=>{const tt=a&&(!et.length||et.every(Boolean));return tt&&a.on(j,_e),()=>{tt&&a.off(j,_e)}},et)}function assignMergeValue(a,j,_e){(_e!==void 0&&!eq$5(a[j],_e)||_e===void 0&&!(j in a))&&baseAssignValue(a,j,_e)}function createBaseFor(a){return function(j,_e,et){for(var tt=-1,nt=Object(j),rt=et(j),it=rt.length;it--;){var ot=rt[++tt];if(_e(nt[ot],ot,nt)===!1)break}return j}}var baseFor=createBaseFor();function safeGet(a,j){if(!(j==="constructor"&&typeof a[j]=="function")&&j!="__proto__")return a[j]}function toPlainObject(a){return copyObject(a,keysIn(a))}function baseMergeDeep(a,j,_e,et,tt,nt,rt){var it=safeGet(a,_e),ot=safeGet(j,_e),ut=rt.get(ot);if(ut){assignMergeValue(a,_e,ut);return}var st=nt?nt(it,ot,_e+"",a,j,rt):void 0,ct=st===void 0;if(ct){var ft=isArray$6(ot),pt=!ft&&isBuffer$2(ot),yt=!ft&&!pt&&isTypedArray$2(ot);st=ot,ft||pt||yt?isArray$6(it)?st=it:isArrayLikeObject(it)?st=copyArray(it):pt?(ct=!1,st=cloneBuffer(ot,!0)):yt?(ct=!1,st=cloneTypedArray(ot,!0)):st=[]:isPlainObject$1(ot)||isArguments$2(ot)?(st=it,isArguments$2(it)?st=toPlainObject(it):(!isObject$b(it)||isFunction$4(it))&&(st=initCloneObject(ot))):ct=!1}ct&&(rt.set(ot,st),tt(st,ot,et,nt,rt),rt.delete(ot)),assignMergeValue(a,_e,st)}function baseMerge(a,j,_e,et,tt){a!==j&&baseFor(j,function(nt,rt){if(tt||(tt=new Stack$1),isObject$b(nt))baseMergeDeep(a,j,rt,_e,baseMerge,et,tt);else{var it=et?et(safeGet(a,rt),nt,rt+"",a,j,tt):void 0;it===void 0&&(it=nt),assignMergeValue(a,rt,it)}},keysIn)}function customDefaultsMerge(a,j,_e,et,tt,nt){return isObject$b(a)&&isObject$b(j)&&(nt.set(j,a),baseMerge(a,j,void 0,customDefaultsMerge,nt),nt.delete(j)),a}function isIterateeCall(a,j,_e){if(!isObject$b(_e))return!1;var et=typeof j;return(et=="number"?isArrayLike(_e)&&isIndex$1(j,_e.length):et=="string"&&j in _e)?eq$5(_e[j],a):!1}function createAssigner(a){return baseRest(function(j,_e){var et=-1,tt=_e.length,nt=tt>1?_e[tt-1]:void 0,rt=tt>2?_e[2]:void 0;for(nt=a.length>3&&typeof nt=="function"?(tt--,nt):void 0,rt&&isIterateeCall(_e[0],_e[1],rt)&&(nt=tt<3?void 0:nt,tt=1),j=Object(j);++et<tt;){var it=_e[et];it&&a(j,it,et,nt)}return j})}var mergeWith=createAssigner(function(a,j,_e,et){baseMerge(a,j,_e,et)}),defaultsDeep=baseRest(function(a){return a.push(void 0,customDefaultsMerge),apply$3(mergeWith,void 0,a)}),eventemitter3={exports:{}};(function(a){var j=Object.prototype.hasOwnProperty,_e="~";function et(){}Object.create&&(et.prototype=Object.create(null),new et().__proto__||(_e=!1));function tt(ot,ut,st){this.fn=ot,this.context=ut,this.once=st||!1}function nt(ot,ut,st,ct,ft){if(typeof st!="function")throw new TypeError("The listener must be a function");var pt=new tt(st,ct||ot,ft),yt=_e?_e+ut:ut;return ot._events[yt]?ot._events[yt].fn?ot._events[yt]=[ot._events[yt],pt]:ot._events[yt].push(pt):(ot._events[yt]=pt,ot._eventsCount++),ot}function rt(ot,ut){--ot._eventsCount===0?ot._events=new et:delete ot._events[ut]}function it(){this._events=new et,this._eventsCount=0}it.prototype.eventNames=function(){var ut=[],st,ct;if(this._eventsCount===0)return ut;for(ct in st=this._events)j.call(st,ct)&&ut.push(_e?ct.slice(1):ct);return Object.getOwnPropertySymbols?ut.concat(Object.getOwnPropertySymbols(st)):ut},it.prototype.listeners=function(ut){var st=_e?_e+ut:ut,ct=this._events[st];if(!ct)return[];if(ct.fn)return[ct.fn];for(var ft=0,pt=ct.length,yt=new Array(pt);ft<pt;ft++)yt[ft]=ct[ft].fn;return yt},it.prototype.listenerCount=function(ut){var st=_e?_e+ut:ut,ct=this._events[st];return ct?ct.fn?1:ct.length:0},it.prototype.emit=function(ut,st,ct,ft,pt,yt){var mt=_e?_e+ut:ut;if(!this._events[mt])return!1;var bt=this._events[mt],xt=arguments.length,$t,kt;if(bt.fn){switch(bt.once&&this.removeListener(ut,bt.fn,void 0,!0),xt){case 1:return bt.fn.call(bt.context),!0;case 2:return bt.fn.call(bt.context,st),!0;case 3:return bt.fn.call(bt.context,st,ct),!0;case 4:return bt.fn.call(bt.context,st,ct,ft),!0;case 5:return bt.fn.call(bt.context,st,ct,ft,pt),!0;case 6:return bt.fn.call(bt.context,st,ct,ft,pt,yt),!0}for(kt=1,$t=new Array(xt-1);kt<xt;kt++)$t[kt-1]=arguments[kt];bt.fn.apply(bt.context,$t)}else{var Pt=bt.length,Nt;for(kt=0;kt<Pt;kt++)switch(bt[kt].once&&this.removeListener(ut,bt[kt].fn,void 0,!0),xt){case 1:bt[kt].fn.call(bt[kt].context);break;case 2:bt[kt].fn.call(bt[kt].context,st);break;case 3:bt[kt].fn.call(bt[kt].context,st,ct);break;case 4:bt[kt].fn.call(bt[kt].context,st,ct,ft);break;default:if(!$t)for(Nt=1,$t=new Array(xt-1);Nt<xt;Nt++)$t[Nt-1]=arguments[Nt];bt[kt].fn.apply(bt[kt].context,$t)}}return!0},it.prototype.on=function(ut,st,ct){return nt(this,ut,st,ct,!1)},it.prototype.once=function(ut,st,ct){return nt(this,ut,st,ct,!0)},it.prototype.removeListener=function(ut,st,ct,ft){var pt=_e?_e+ut:ut;if(!this._events[pt])return this;if(!st)return rt(this,pt),this;var yt=this._events[pt];if(yt.fn)yt.fn===st&&(!ft||yt.once)&&(!ct||yt.context===ct)&&rt(this,pt);else{for(var mt=0,bt=[],xt=yt.length;mt<xt;mt++)(yt[mt].fn!==st||ft&&!yt[mt].once||ct&&yt[mt].context!==ct)&&bt.push(yt[mt]);bt.length?this._events[pt]=bt.length===1?bt[0]:bt:rt(this,pt)}return this},it.prototype.removeAllListeners=function(ut){var st;return ut?(st=_e?_e+ut:ut,this._events[st]&&rt(this,st)):(this._events=new et,this._eventsCount=0),this},it.prototype.off=it.prototype.removeListener,it.prototype.addListener=it.prototype.on,it.prefixed=_e,it.EventEmitter=it,a.exports=it})(eventemitter3);var eventemitter3Exports=eventemitter3.exports;const EventEmitter$1=getDefaultExportFromCjs$1(eventemitter3Exports);var pWaitFor$2={exports:{}},pTimeout$3={exports:{}};class TimeoutError extends Error{constructor(j){super(j),this.name="TimeoutError"}}const pTimeout$1=(a,j,_e,et)=>{let tt;const nt=new Promise((rt,it)=>{if(typeof j!="number"||j<0)throw new TypeError("Expected `milliseconds` to be a positive number");if(j===1/0){rt(a);return}et={customTimers:{setTimeout,clearTimeout},...et},tt=et.customTimers.setTimeout.call(void 0,()=>{if(typeof _e=="function"){try{rt(_e())}catch(st){it(st)}return}const ot=typeof _e=="string"?_e:`Promise timed out after ${j} milliseconds`,ut=_e instanceof Error?_e:new TimeoutError(ot);typeof a.cancel=="function"&&a.cancel(),it(ut)},j),(async()=>{try{rt(await a)}catch(ot){it(ot)}finally{et.customTimers.clearTimeout.call(void 0,tt)}})()});return nt.clear=()=>{clearTimeout(tt),tt=void 0},nt};pTimeout$3.exports=pTimeout$1;pTimeout$3.exports.default=pTimeout$1;var TimeoutError_1=pTimeout$3.exports.TimeoutError=TimeoutError,pTimeoutExports=pTimeout$3.exports;const pTimeout$2=getDefaultExportFromCjs$1(pTimeoutExports),pTimeout=pTimeoutExports,pWaitFor=async(a,j)=>{j={interval:20,timeout:1/0,leadingCheck:!0,...j};let _e;const et=new Promise((tt,nt)=>{const rt=async()=>{try{const it=await a();if(typeof it!="boolean")throw new TypeError("Expected condition to return a boolean");it===!0?tt():_e=setTimeout(rt,j.interval)}catch(it){nt(it)}};j.leadingCheck?rt():_e=setTimeout(rt,j.interval)});if(j.timeout!==1/0)try{return await pTimeout(et,j.timeout)}catch(tt){throw _e&&clearTimeout(_e),tt}return et};pWaitFor$2.exports=pWaitFor;pWaitFor$2.exports.default=pWaitFor;var pWaitForExports=pWaitFor$2.exports;const pWaitFor$1=getDefaultExportFromCjs$1(pWaitForExports),data$n={width:24,height:24,body:'<path fill="currentColor" d="M9.575 12L5.7 8.1q-.275-.275-.288-.688T5.7 6.7q.275-.275.7-.275t.7.275l4.6 4.6q.15.15.213.325t.062.375q0 .2-.062.375t-.213.325l-4.6 4.6q-.275.275-.687.288T5.7 17.3q-.275-.275-.275-.7t.275-.7L9.575 12Zm6.6 0L12.3 8.1q-.275-.275-.288-.688T12.3 6.7q.275-.275.7-.275t.7.275l4.6 4.6q.15.15.213.325t.062.375q0 .2-.063.375t-.212.325l-4.6 4.6q-.275.275-.687.288T12.3 17.3q-.275-.275-.275-.7t.275-.7l3.875-3.9Z"/>'},getCurrentAppPid=a=>{var j;return(a==null?void 0:a.sourceAppPid)||((j=window==null?void 0:window.blocklet)==null?void 0:j.appPid)};function getConnectedAccounts(a){var j;return(a==null?void 0:a.connectedAccounts)||((j=a==null?void 0:a.extraConfigs)==null?void 0:j.connectedAccounts)||[]}function getSourceProvider(a){var j;return(a==null?void 0:a.sourceProvider)||((j=a==null?void 0:a.extraConfigs)==null?void 0:j.sourceProvider)||"wallet"}function getWallet(a){return getConnectedAccounts(a).find(et=>et.provider==="wallet")}class CookieStorageEngine{constructor(j,_e){this.storageKey=j,this.options=_e||{}}setToken(j){return Cookies.set(this.storageKey,j,{...getCookieOptions(this.options)})}getToken(){return Cookies.get(this.storageKey)}removeToken(){return Cookies.remove(this.storageKey,getCookieOptions(this.options))}}class LocalStorageEngine{constructor(j){this.storageKey=j}setToken(j){if(!(typeof window>"u"||typeof window.localStorage>"u"))return localStorage.setItem(this.storageKey,j)}getToken(){if(typeof window>"u"||typeof window.localStorage>"u")return;const j=localStorage.getItem(this.storageKey);let _e,et;try{if({value:_e,exp:et}=JSON.parse(j),et===void 0||_e===void 0)return j}catch{_e=j}try{et=o(_e).exp}catch{return}if(!(new Date().getTime()>et*1e3))return _e}removeToken(){if(!(typeof window>"u"||typeof window.localStorage>"u"))return localStorage.removeItem(this.storageKey)}}function createStorage(a="did.auth.token",j="ls",_e={}){if(!a)throw new Error("storageKey must be specified to create a storage");let et=null;if(j==="ls")et=new LocalStorageEngine(a);else if(j==="cookie")et=new CookieStorageEngine(a,_e);else throw new Error("storageEngine must be ls or cookie");return{getToken:et.getToken.bind(et),setToken:et.setToken.bind(et),removeToken:et.removeToken.bind(et),engine:j,key:a}}function WindowFocusAware({callback:a}){const j=useDebounceFn(a),_e=useMemoizedFn(()=>{document.hidden||j.run()});return reactExports.useEffect(()=>(window.addEventListener("focus",j.run),document.addEventListener("visibilitychange",_e),()=>{window.removeEventListener("focus",j.run),document.removeEventListener("visibilitychange",_e)}),[]),null}WindowFocusAware.propTypes={callback:PropTypes.func.isRequired};function WrapDid({session:a,children:j}){const _e=useDid({session:a});return j instanceof Function?j(_e):null}WrapDid.propTypes={session:PropTypes.object.isRequired,children:PropTypes.func.isRequired};const api=createAxios();async function getMasterToken(){const a=joinURL$2(BLOCKLET_SERVICE_PATH_PREFIX,"/api/federated/loginMaster"),{data:j}=await api.post(a);return j}async function mountFederatedIframe({mode:a,refreshToken:j="",blocklet:_e}){const et=getMaster(_e);return new Promise(tt=>{if(!["login","logout"].includes(a)){tt();return}const nt=document.createElement("iframe");nt.style.display="none",nt.onload=async()=>{await sleep$1(500),document.body.removeChild(nt),tt()},nt.src=joinURL$2(et.appUrl,BLOCKLET_SERVICE_PATH_PREFIX,`functional/federated?mode=${a}&refreshToken=${j}`),document.body.appendChild(nt)})}async function loginFederatedMaster(a={},{fetchToken:j=!0,blocklet:_e}={}){if(!getFederatedEnabled())return console.warn("Federated not enabled"),null;let tt,nt;j&&({sessionToken:tt,refreshToken:nt}=await getMasterToken());const rt=getMaster(_e),it=joinURL$2(rt.appUrl,BLOCKLET_SERVICE_PATH_PREFIX,"/api/federated/login"),ot={withCredentials:!0};tt&&(ot.headers={Authorization:`Bearer ${tt}`});const{data:ut}=await api.post(it,a,ot);return nt&&await mountFederatedIframe({mode:"login",refreshToken:nt,blocklet:_e}),ut}const translations$5={zh:{notFoundFederatedInfo:"未发现统一登录的信息",autoLoginFederatedFailed:"自动登录统一登录账号失败",manualLoginFederatedFailed:"手动登录统一登录账号失败"},en:{notFoundFederatedInfo:"No federated login info detected",autoLoginFederatedFailed:"Auto login federated account failed",manualLoginFederatedFailed:"Manual login federated account failed"}};function useFederated({locale:a,handleLoginResult:j,login:_e,handleRefreshUser:et}){const tt=useReactive({federatedMaster:null}),nt=getFederatedEnabled(),rt=getMaster(),it=getConfig(),ot=useMemoizedFn(async(ut=noop$5,st={},ct={})=>{var yt,mt;typeof ct=="string"&&(ct={origin:ct});let{mode:ft="auto",...pt}=st;if(ct.mode&&(ft=ct.mode),ft==="auto"){if(!nt)throw new Error(translations$5[a].notFoundFederatedInfo);try{const bt=await loginFederatedMaster({appId:globalThis.blocklet.appId},{fetchToken:!1});j({...bt,encrypted:!1}),await et({showProgress:!0}),ut()}catch(bt){const xt=bt!=null&&bt.response?(yt=bt.response)==null?void 0:yt.data:bt==null?void 0:bt.message;ut(xt||translations$5[a].autoLoginFederatedFailed)}}else if(ft==="manual")try{_e(async()=>{await loginFederatedMaster({appId:globalThis.blocklet.appId,onlyWriteCookie:!0}),ut()},{...pt},ct)}catch(bt){const xt=bt!=null&&bt.response?(mt=bt.response)==null?void 0:mt.data:bt==null?void 0:bt.message;ut(xt||translations$5[a].autoLoginFederatedFailed)}});return{master:rt,config:it,federatedMaster:tt.federatedMaster,federatedEnabled:nt,loginFederated:ot,loginFederatedMaster}}async function renewRefreshToken(a,{authServicePrefix:j,serviceHost:_e}){if(!a)throw new Error("Refresh token not found");const et=createAxios({baseURL:_e,timeout:10*1e3,secure:!0,headers:{authorization:`Bearer ${encodeURIComponent(a)}`}}),{data:tt}=await et.post(joinURL$2(j,"/refreshSession"));return tt}function createService({refreshTokenStorage:a,sessionTokenStorage:j,serviceHost:_e,authServicePrefix:et,onRefreshTokenError:tt,onRefreshTokenSuccess:nt},rt={}){let it=null;const ot=createAxios({baseURL:_e,timeout:30*1e3,...rt}),{getToken:ut,setToken:st,removeToken:ct}=j,{getToken:ft,setToken:pt,removeToken:yt}=a;return ot.interceptors.request.use(async mt=>{if(j.engine==="ls"){const bt=ut();bt&&(mt.headers.authorization=`Bearer ${encodeURIComponent(bt)}`)}return it&&await it,mt},mt=>Promise.reject(mt)),ot.interceptors.response.use(mt=>mt,async mt=>{var xt;const bt=mt.config;if(!bt)return Promise.reject(mt);if(bt.headers={...bt==null?void 0:bt.headers},((xt=mt==null?void 0:mt.response)==null?void 0:xt.status)===401&&!bt._retry){bt._retry=!0,it||(it=renewRefreshToken(ft(),{serviceHost:_e,authServicePrefix:et}));try{const $t=await it;return st($t.nextToken),pt($t.nextRefreshToken),typeof nt=="function"&&nt($t),ot(bt)}catch($t){return ct(),yt(),typeof tt=="function"&&tt(),Promise.reject($t)}finally{it=null}}return Promise.reject(mt)}),ot}class ErrorToken extends Error{}const LANG_COOKIE_NAME="nf_lang",INTERVAL_TIME=1e3,MAX_RETRY_COUNT=10,decrypt=a=>decrypt$1(a,localStorage.getItem("__encKey"),localStorage.getItem("__decKey"));function useSessionToken({state:a,pageState:j,serviceHost:_e,sessionTokenStorage:et,refreshTokenStorage:tt,lazyRefreshToken:nt,apiOptions:rt={}}){const[it,ot]=reactExports.useState(0),[ut,st]=reactExports.useState(INTERVAL_TIME),{getToken:ct,setToken:ft,removeToken:pt}=et,{getToken:yt,setToken:mt,removeToken:bt}=tt,xt=useCreation(()=>createAxios({baseURL:_e,timeout:10*1e3,secure:!0}),[_e]),$t=()=>{pt(),bt()},kt=useCreation(()=>createService({sessionTokenStorage:et,refreshTokenStorage:tt,serviceHost:_e,authServicePrefix:j.prefix,onRefreshTokenError(){$t(),a.user&&(a.user=null)}},rt),[_e,j.prefix]),Pt=()=>{const dt=getCookieOptions({returnDomain:!1});Cookies.remove("connected_did",dt),Cookies.remove("connected_pk",dt),Cookies.remove("connected_app",dt),Cookies.remove("connected_wallet_os",dt),$t()},Nt=useMemoizedFn(()=>{const dt=Cookies.get(LANG_COOKIE_NAME)||getBrowserLang();dt!==j.currentLocale&&(j.currentLocale=dt)}),Ot=useMemoizedFn(async()=>{const dt=()=>kt.get(joinURL$2(j.notificationPrefix,"/unread-count"),{secure:!0});try{const{data:ht}=await dt();return ht.unReadCount}catch(ht){return console.error("getUnreadCount error",ht),0}}),Ft=useMemoizedFn(async({showProgress:dt=!1,requestFn:ht=null,onlyRefreshToken:Et=!1})=>{var St;try{if(a.loading)return console.warn("SessionProvider.refresh is currently in progress, call it will be noop"),{loading:!0};dt&&(a.loading=!0);const{data:Rt,status:wt}=await ht();if(wt===400&&($t(),a.user=null,a.error=""),Rt.error)throw a.error=Rt.error,a.open=!1,a.unReadCount=0,new Error(Rt.error);if(Rt.user){try{const Ct=await Ot();a.unReadCount=Ct||0}catch(Ct){logger$2.error("getUnreadCount error",Ct),a.unReadCount=0}Rt.nextToken&&(ft(Rt.nextToken),Rt.nextRefreshToken&&mt(Rt.nextRefreshToken)),Et||(a.open=!1,a.user=Rt.user,a.provider=Rt.provider,a.walletOS=Rt.walletOS),ct()||(Toast$1.error("Can't write session token, please use https url to access this page"),$t())}else throw dt&&(a.loading=j.autoConnect),a.open=j.autoConnect,a.user=null,a.provider="",a.walletOS="",a.unReadCount=0,new ErrorToken("Invalid token");return{data:Rt,status:wt}}catch(Rt){throw logger$2.error("SessionProvider.refresh error",Rt),a.open=!1,a.error=Rt.message,((St=Rt==null?void 0:Rt.response)==null?void 0:St.status)===400?new ErrorToken("Invalid token"):Rt}finally{dt&&(a.loading=!1)}}),Vt=useMemoizedFn(async(dt=!1,ht=!1)=>{debug$4("handleRefreshToken",{showProgress:dt,onlyRefreshToken:ht});const Et=()=>xt.post(withQuery$1(joinURL$2(j.prefix,"/refreshSession")),null,{headers:{authorization:`Bearer ${encodeURIComponent(yt())}`}});st(void 0);try{await Ft({showProgress:dt,requestFn:Et,onlyRefreshToken:ht}),ot(0),st(INTERVAL_TIME)}catch(St){St instanceof ErrorToken?(console.warn("refresh token failed, remove all tokens"),ot(0),$t(),st(INTERVAL_TIME)):(logger$2.error("refresh token failed, unexpected error:",St),ot(it+1),await sleep$1(INTERVAL_TIME),it>=MAX_RETRY_COUNT?(ot(0),st(void 0)):st(INTERVAL_TIME))}}),Zt=useMemoizedFn((dt=!1)=>{if(nt)return;const ht=ct();let Et=dt;const St=new Date().getTime();if(ht)try{const{exp:Rt,iat:wt}=o(ht);Rt*1e3-St<St-wt*1e3&&(Et=!0)}catch{Et=!0}else Et=!0;Et&&(yt()?Vt(!1,!0):(Pt(),a.user&&(a.user=null)))}),on=useMemoizedFn(async({showProgress:dt=!1,forceRefreshToken:ht=!1}={})=>{const Et=()=>kt.get(joinURL$2(j.prefix,"/session"),{secure:!0});debug$4("handleRefreshUser",{showProgress:dt,forceRefreshToken:ht});try{if(ht)throw new ErrorToken("need force refresh token");await Ft({showProgress:dt,requestFn:Et})}catch(St){St instanceof ErrorToken&&(debug$4("handleRefreshUser failed, try to refresh token",{err:St}),await Vt())}}),Ht=useMemoizedFn(async()=>{const dt=ct();a.user||(dt?await on():(Pt(),a.user&&(a.user=null)))}),It=useMemoizedFn(()=>{if(a.initialized&&a.user)try{Zt()}catch{}}),Tt=useMemoizedFn(dt=>{const ht=Array.isArray(dt)?dt[0]:dt;debug$4("handleLoginResult",{loginResult:ht,result:dt});const{loginToken:Et,sessionToken:St,refreshToken:Rt,visitorId:wt,encrypted:Ct=!0}=ht,At=Et||St;let vt,Lt,Yt;At&&(vt=Ct?decrypt(At):At,debug$4("handleLoginResult: setSessionToken",{decryptSessionToken:vt}),ft(vt),Rt&&(Lt=Ct?decrypt(Rt):Rt,debug$4("handleLoginResult: setRefreshToken",{decryptRefreshToken:Lt}),mt(Lt))),wt&&(Yt=Ct?decrypt(wt):wt,debug$4("handleLoginResult: setVisitorId",{decryptVisitorId:Yt}),setVisitorId(Yt))});return useInterval$3(()=>{Nt(),Zt()},ut,{immediate:!0}),{renewToken:It,handleRefreshUser:on,handleRefreshToken:Vt,syncSessionSate:Ht,handleLoginResult:Tt,decrypt,removeToken:$t,clearSession:Pt,getSessionToken:ct,getRefreshToken:yt,setRefreshToken:mt,setSessionToken:ft,service:kt}}var pathToRegexp$2={exports:{}},isarray$1=Array.isArray||function(a){return Object.prototype.toString.call(a)=="[object Array]"},isarray=isarray$1;pathToRegexp$2.exports=pathToRegexp;pathToRegexp$2.exports.parse=parse$7;pathToRegexp$2.exports.compile=compile;pathToRegexp$2.exports.tokensToFunction=tokensToFunction;pathToRegexp$2.exports.tokensToRegExp=tokensToRegExp;var PATH_REGEXP=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");function parse$7(a,j){for(var _e=[],et=0,tt=0,nt="",rt=j&&j.delimiter||"/",it;(it=PATH_REGEXP.exec(a))!=null;){var ot=it[0],ut=it[1],st=it.index;if(nt+=a.slice(tt,st),tt=st+ot.length,ut){nt+=ut[1];continue}var ct=a[tt],ft=it[2],pt=it[3],yt=it[4],mt=it[5],bt=it[6],xt=it[7];nt&&(_e.push(nt),nt="");var $t=ft!=null&&ct!=null&&ct!==ft,kt=bt==="+"||bt==="*",Pt=bt==="?"||bt==="*",Nt=ft||rt,Ot=yt||mt,Ft=ft||(typeof _e[_e.length-1]=="string"?_e[_e.length-1]:"");_e.push({name:pt||et++,prefix:ft||"",delimiter:Nt,optional:Pt,repeat:kt,partial:$t,asterisk:!!xt,pattern:Ot?escapeGroup(Ot):xt?".*":restrictBacktrack(Nt,Ft)})}return tt<a.length&&(nt+=a.substr(tt)),nt&&_e.push(nt),_e}function restrictBacktrack(a,j){return!j||j.indexOf(a)>-1?"[^"+escapeString(a)+"]+?":escapeString(j)+"|(?:(?!"+escapeString(j)+")[^"+escapeString(a)+"])+?"}function compile(a,j){return tokensToFunction(parse$7(a,j),j)}function encodeURIComponentPretty(a){return encodeURI(a).replace(/[\/?#]/g,function(j){return"%"+j.charCodeAt(0).toString(16).toUpperCase()})}function encodeAsterisk(a){return encodeURI(a).replace(/[?#]/g,function(j){return"%"+j.charCodeAt(0).toString(16).toUpperCase()})}function tokensToFunction(a,j){for(var _e=new Array(a.length),et=0;et<a.length;et++)typeof a[et]=="object"&&(_e[et]=new RegExp("^(?:"+a[et].pattern+")$",flags(j)));return function(tt,nt){for(var rt="",it=tt||{},ot=nt||{},ut=ot.pretty?encodeURIComponentPretty:encodeURIComponent,st=0;st<a.length;st++){var ct=a[st];if(typeof ct=="string"){rt+=ct;continue}var ft=it[ct.name],pt;if(ft==null)if(ct.optional){ct.partial&&(rt+=ct.prefix);continue}else throw new TypeError('Expected "'+ct.name+'" to be defined');if(isarray(ft)){if(!ct.repeat)throw new TypeError('Expected "'+ct.name+'" to not repeat, but received `'+JSON.stringify(ft)+"`");if(ft.length===0){if(ct.optional)continue;throw new TypeError('Expected "'+ct.name+'" to not be empty')}for(var yt=0;yt<ft.length;yt++){if(pt=ut(ft[yt]),!_e[st].test(pt))throw new TypeError('Expected all "'+ct.name+'" to match "'+ct.pattern+'", but received `'+JSON.stringify(pt)+"`");rt+=(yt===0?ct.prefix:ct.delimiter)+pt}continue}if(pt=ct.asterisk?encodeAsterisk(ft):ut(ft),!_e[st].test(pt))throw new TypeError('Expected "'+ct.name+'" to match "'+ct.pattern+'", but received "'+pt+'"');rt+=ct.prefix+pt}return rt}}function escapeString(a){return a.replace(/([.+*?=^!:${}()[\]|\/\\])/g,"\\$1")}function escapeGroup(a){return a.replace(/([=!:$\/()])/g,"\\$1")}function attachKeys(a,j){return a.keys=j,a}function flags(a){return a&&a.sensitive?"":"i"}function regexpToRegexp(a,j){var _e=a.source.match(/\((?!\?)/g);if(_e)for(var et=0;et<_e.length;et++)j.push({name:et,prefix:null,delimiter:null,optional:!1,repeat:!1,partial:!1,asterisk:!1,pattern:null});return attachKeys(a,j)}function arrayToRegexp(a,j,_e){for(var et=[],tt=0;tt<a.length;tt++)et.push(pathToRegexp(a[tt],j,_e).source);var nt=new RegExp("(?:"+et.join("|")+")",flags(_e));return attachKeys(nt,j)}function stringToRegexp(a,j,_e){return tokensToRegExp(parse$7(a,_e),j,_e)}function tokensToRegExp(a,j,_e){isarray(j)||(_e=j||_e,j=[]),_e=_e||{};for(var et=_e.strict,tt=_e.end!==!1,nt="",rt=0;rt<a.length;rt++){var it=a[rt];if(typeof it=="string")nt+=escapeString(it);else{var ot=escapeString(it.prefix),ut="(?:"+it.pattern+")";j.push(it),it.repeat&&(ut+="(?:"+ot+ut+")*"),it.optional?it.partial?ut=ot+"("+ut+")?":ut="(?:"+ot+"("+ut+"))?":ut=ot+"("+ut+")",nt+=ut}}var st=escapeString(_e.delimiter||"/"),ct=nt.slice(-st.length)===st;return et||(nt=(ct?nt.slice(0,-st.length):nt)+"(?:"+st+"(?=$))?"),tt?nt+="$":nt+=et&&ct?"":"(?="+st+"|$)",attachKeys(new RegExp("^"+nt,flags(_e)),j)}function pathToRegexp(a,j,_e){return isarray(j)||(_e=j||_e,j=[]),_e=_e||{},a instanceof RegExp?regexpToRegexp(a,j):isarray(a)?arrayToRegexp(a,j,_e):stringToRegexp(a,j,_e)}var pathToRegexpExports=pathToRegexp$2.exports;const pathToRegexp$1=getDefaultExportFromCjs$1(pathToRegexpExports);function useProtectedRoutes({protectedRoutes:a=[]}){const j=useCreation(()=>a.map(et=>pathToRegexp$1(et,[])),[a]);return{checkMatch:useMemoizedFn((et=window.location.pathname)=>j.some(tt=>tt.exec(et)))}}var dist={},priorityQueue={},lowerBound$1={};Object.defineProperty(lowerBound$1,"__esModule",{value:!0});function lowerBound(a,j,_e){let et=0,tt=a.length;for(;tt>0;){const nt=tt/2|0;let rt=et+nt;_e(a[rt],j)<=0?(et=++rt,tt-=nt+1):tt=nt}return et}lowerBound$1.default=lowerBound;Object.defineProperty(priorityQueue,"__esModule",{value:!0});const lower_bound_1=lowerBound$1;class PriorityQueue{constructor(){this._queue=[]}enqueue(j,_e){_e=Object.assign({priority:0},_e);const et={priority:_e.priority,run:j};if(this.size&&this._queue[this.size-1].priority>=_e.priority){this._queue.push(et);return}const tt=lower_bound_1.default(this._queue,et,(nt,rt)=>rt.priority-nt.priority);this._queue.splice(tt,0,et)}dequeue(){const j=this._queue.shift();return j==null?void 0:j.run}filter(j){return this._queue.filter(_e=>_e.priority===j.priority).map(_e=>_e.run)}get size(){return this._queue.length}}priorityQueue.default=PriorityQueue;Object.defineProperty(dist,"__esModule",{value:!0});const EventEmitter=eventemitter3Exports$1,p_timeout_1=pTimeoutExports,priority_queue_1=priorityQueue,empty=()=>{},timeoutError=new p_timeout_1.TimeoutError;class PQueue extends EventEmitter{constructor(j){var _e,et,tt,nt;if(super(),this._intervalCount=0,this._intervalEnd=0,this._pendingCount=0,this._resolveEmpty=empty,this._resolveIdle=empty,j=Object.assign({carryoverConcurrencyCount:!1,intervalCap:1/0,interval:0,concurrency:1/0,autoStart:!0,queueClass:priority_queue_1.default},j),!(typeof j.intervalCap=="number"&&j.intervalCap>=1))throw new TypeError(`Expected \`intervalCap\` to be a number from 1 and up, got \`${(et=(_e=j.intervalCap)===null||_e===void 0?void 0:_e.toString())!==null&&et!==void 0?et:""}\` (${typeof j.intervalCap})`);if(j.interval===void 0||!(Number.isFinite(j.interval)&&j.interval>=0))throw new TypeError(`Expected \`interval\` to be a finite number >= 0, got \`${(nt=(tt=j.interval)===null||tt===void 0?void 0:tt.toString())!==null&&nt!==void 0?nt:""}\` (${typeof j.interval})`);this._carryoverConcurrencyCount=j.carryoverConcurrencyCount,this._isIntervalIgnored=j.intervalCap===1/0||j.interval===0,this._intervalCap=j.intervalCap,this._interval=j.interval,this._queue=new j.queueClass,this._queueClass=j.queueClass,this.concurrency=j.concurrency,this._timeout=j.timeout,this._throwOnTimeout=j.throwOnTimeout===!0,this._isPaused=j.autoStart===!1}get _doesIntervalAllowAnother(){return this._isIntervalIgnored||this._intervalCount<this._intervalCap}get _doesConcurrentAllowAnother(){return this._pendingCount<this._concurrency}_next(){this._pendingCount--,this._tryToStartAnother(),this.emit("next")}_resolvePromises(){this._resolveEmpty(),this._resolveEmpty=empty,this._pendingCount===0&&(this._resolveIdle(),this._resolveIdle=empty,this.emit("idle"))}_onResumeInterval(){this._onInterval(),this._initializeIntervalIfNeeded(),this._timeoutId=void 0}_isIntervalPaused(){const j=Date.now();if(this._intervalId===void 0){const _e=this._intervalEnd-j;if(_e<0)this._intervalCount=this._carryoverConcurrencyCount?this._pendingCount:0;else return this._timeoutId===void 0&&(this._timeoutId=setTimeout(()=>{this._onResumeInterval()},_e)),!0}return!1}_tryToStartAnother(){if(this._queue.size===0)return this._intervalId&&clearInterval(this._intervalId),this._intervalId=void 0,this._resolvePromises(),!1;if(!this._isPaused){const j=!this._isIntervalPaused();if(this._doesIntervalAllowAnother&&this._doesConcurrentAllowAnother){const _e=this._queue.dequeue();return _e?(this.emit("active"),_e(),j&&this._initializeIntervalIfNeeded(),!0):!1}}return!1}_initializeIntervalIfNeeded(){this._isIntervalIgnored||this._intervalId!==void 0||(this._intervalId=setInterval(()=>{this._onInterval()},this._interval),this._intervalEnd=Date.now()+this._interval)}_onInterval(){this._intervalCount===0&&this._pendingCount===0&&this._intervalId&&(clearInterval(this._intervalId),this._intervalId=void 0),this._intervalCount=this._carryoverConcurrencyCount?this._pendingCount:0,this._processQueue()}_processQueue(){for(;this._tryToStartAnother(););}get concurrency(){return this._concurrency}set concurrency(j){if(!(typeof j=="number"&&j>=1))throw new TypeError(`Expected \`concurrency\` to be a number from 1 and up, got \`${j}\` (${typeof j})`);this._concurrency=j,this._processQueue()}async add(j,_e={}){return new Promise((et,tt)=>{const nt=async()=>{this._pendingCount++,this._intervalCount++;try{const rt=this._timeout===void 0&&_e.timeout===void 0?j():p_timeout_1.default(Promise.resolve(j()),_e.timeout===void 0?this._timeout:_e.timeout,()=>{(_e.throwOnTimeout===void 0?this._throwOnTimeout:_e.throwOnTimeout)&&tt(timeoutError)});et(await rt)}catch(rt){tt(rt)}this._next()};this._queue.enqueue(nt,_e),this._tryToStartAnother(),this.emit("add")})}async addAll(j,_e){return Promise.all(j.map(async et=>this.add(et,_e)))}start(){return this._isPaused?(this._isPaused=!1,this._processQueue(),this):this}pause(){this._isPaused=!0}clear(){this._queue=new this._queueClass}async onEmpty(){if(this._queue.size!==0)return new Promise(j=>{const _e=this._resolveEmpty;this._resolveEmpty=()=>{_e(),j()}})}async onIdle(){if(!(this._pendingCount===0&&this._queue.size===0))return new Promise(j=>{const _e=this._resolveIdle;this._resolveIdle=()=>{_e(),j()}})}get size(){return this._queue.size}sizeBy(j){return this._queue.filter(j).length}get pending(){return this._pendingCount}get isPaused(){return this._isPaused}get timeout(){return this._timeout}set timeout(j){this._timeout=j}}var _default$4=dist.default=PQueue;const CLOSE_TIMEOUT=2e3,ConnectHolder=reactExports.forwardRef((a,j)=>{var kt,Pt;const{api:_e,session:et}=reactExports.useContext(SessionContext$1),[tt,nt]=reactExports.useState({title:"DID Connect",scan:"Use follwing methods to complete this action",confirm:"Confirm on your DID Wallet",success:"Success!"}),rt=useTheme$2(),it={containerEl:null,popup:!0,checkFn:(_e==null?void 0:_e.get)||noop$5},ot=((Pt=(kt=rt==null?void 0:rt.transitions)==null?void 0:kt.duration)==null?void 0:Pt.leavingScreen)||500,ut=useReactive({show:!1,...cloneDeep(it)}),st=useDebounce(ut.show,{wait:ot}),[ct,ft]=reactExports.useState({}),pt=useMemoizedFn(()=>{const Nt=cloneDeep(it);Object.keys(Nt).forEach(Ot=>{ut[Ot]=Nt[Ot]})}),yt=useMemoizedFn(()=>{ut.show=!1,setTimeout(()=>{pt()},ot)}),mt=useMemoizedFn(Nt=>{const{containerEl:Ot,checkFn:Ft,popup:Vt,messages:Zt,...on}=cloneDeep(Nt);typeof Ft=="function"&&(ut.checkFn=Ft),Vt!==void 0&&(ut.popup=Vt),Zt!==void 0&&nt(Zt),Ot!==void 0&&(ut.containerEl=Ot),ft(on),ut.show=!0}),bt=et.useOAuth(),xt=useMemoizedFn(async({provider:Nt,action:Ot,extraParams:Ft,onLogin:Vt})=>{const Zt=await bt.loginOAuth({provider:Nt},{action:Ot,...Ft}),on=getCookieOptions({returnDomain:!1});Cookies.remove("connected_did",on),Cookies.remove("connected_pk",on),Cookies.remove("connected_wallet_os",on),Vt({...Zt,encrypted:!1},Ht=>Ht)});reactExports.useImperativeHandle(j,()=>({open:mt,loginOAuth:xt,close:yt}),[mt,yt,xt]);const $t=jsxRuntimeExports.jsx(DidConnect,{open:ut.show,popup:ut.popup,messages:tt,checkFn:ut.checkFn,...ct});return ut.containerEl?reactDomExports.createPortal($t,ut.containerEl):ut.show||st?$t:null});function useConnect(){const a=reactExports.useRef(null),j=useBrowser(),_e=useCreation(()=>{const ut={concurrency:1};return j.arcSphere&&delete ut.concurrency,new _default$4(ut)}),et=useMemoizedFn((...ut)=>{var st;(st=a.current)==null||st.close(...ut)}),tt=useMemoizedFn(({onSuccess:ut,onClose:st,onEnd:ct,closeTimeout:ft=CLOSE_TIMEOUT,...pt},...yt)=>{const mt=()=>new Promise(bt=>{typeof ut=="function"?pt.onSuccess=(...xt)=>{ut(...xt),setTimeout(()=>{et(),bt()},ft)}:pt.onSuccess=()=>{setTimeout(()=>{et(),bt()},ft)},typeof st=="function"?pt.onClose=(...xt)=>{st(...xt),et(),bt(),_e.clear()}:pt.onClose=()=>{et(),bt(),_e.clear()},setTimeout(()=>{var xt;(xt=a.current)==null||xt.open(pt,...yt)},300)});_e.add(mt)}),nt=useMemoizedFn((ut={},{baseUrl:st,locale:ct="en",blocklet:ft=globalThis==null?void 0:globalThis.blocklet,closeTimeout:pt=CLOSE_TIMEOUT}={})=>new Promise((yt,mt)=>{const bt=()=>new Promise(xt=>{(async()=>{var on;if(isUndefined$1(st)){const Ht=getFederatedEnabled(),It=getMaster();st=Ht?It.appUrl:window.location.origin}const{onSuccess:kt,onClose:Pt,onError:Nt,custom:Ot=!1,...Ft}=ut;if(!((on=Ft==null?void 0:Ft.extraParams)!=null&&on.provider))throw isFunction$4(Nt)&&Nt("Must have extraParams.provider"),new Error("Must have extraParams.provider");Ft!=null&&Ft.prefix||(Ft.prefix=window.location.origin+joinURL$2(ft==null?void 0:ft.prefix,API_DID_PREFIX));const Vt={params:btoa(encodeURIComponent(JSON.stringify(Ft))),appPid:ft==null?void 0:ft.appPid,locale:ct,disableClose:!0},Zt=openPopup(withQuery$1(Ot?joinURL$2(st,Ft.prefix):joinURL$2(st||"/",BLOCKLET_SERVICE_PATH_PREFIX,"/connect"),Vt));try{const Ht=await runPopup({popup:Zt,closeTimeout:pt});updateConnectedInfo({connected_app:getAppId$1(),...Ht==null?void 0:Ht.options},!0),isFunction$4(kt)?(kt({...Ht.response,encrypted:!1}),et(),xt()):(et(),xt()),yt({...Ht.response,encrypted:!1})}catch(Ht){throw console.error(Ht),Ht.message==="Popup closed"?isFunction$4(Pt)?(Pt(),xt(),_e.clear()):(xt(),_e.clear()):isFunction$4(Nt)&&Nt(Ht),Ht}})().catch(kt=>{xt(),mt(kt)})});_e.add(bt)})),rt=ut=>{a.current.loginOAuth(ut)},it=useCreation(()=>jsxRuntimeExports.jsx(ConnectHolder,{ref:a})),ot=useCreation(()=>({open:tt,close:et,loginOAuth:rt,openPopup:nt,queue:_e}));return{connectHolder:it,connectApi:ot}}const EVENTS={LOGIN:Symbol("login"),CANCEL_LOGIN:Symbol("cancelLogin"),LOGOUT:Symbol("logout"),SWITCH_PROFILE:Symbol("switchProfile"),CANCEL_SWITCH_PROFILE:Symbol("cancelSwitchProfile"),SWITCH_PASSPORT:Symbol("switchPassport"),CANCEL_SWITCH_PASSPORT:Symbol("cancelSwitchPassport"),BIND_WALLET:Symbol("bindWallet"),CANCEL_BIND_WALLET:Symbol("cancelBindWallet"),DID_SPACE_CONNECTED:Symbol("didSpaceConnected")},translations$4={login:{en:{title:"Connect",scan:"Please use the following methods to complete the connection",confirm:"Confirm connection in your DID Wallet",success:"Successfully connected"},zh:{title:"登录",scan:"请使用下面的方式完成登录",confirm:"在 DID Wallet 中确认连接",success:"登录成功"}},"switch-specified-did":{en:{title:"Switch Account",scan:"You need switch DID to {did} to complete the following actions",confirm:"Confirm switch in your DID Wallet",success:"Successfully switched"},zh:{title:"切换账号",scan:"你需要切换账号至 {did} 才能完成后续的操作",confirm:"在 DID Wallet 中确认切换",success:"切换成功"}},"switch-did":{en:{title:"Add Account",scan:"Please use the following methods to add a new account",confirm:"Confirm switch in your DID Wallet",success:"Successfully added"},zh:{title:"添加账号",scan:"请使用下列方式添加新的账号",confirm:"在 DID Wallet 中确认切换",success:"添加成功"}},"switch-profile":{en:{title:"Switch Profile",scan:"Use DID Wallet to switch profile",confirm:"Select profile in your DID Wallet",success:"Profile updated"},zh:{title:"切换个人信息",scan:"请使用 DID Wallet 来切换个人信息",confirm:"在 DID Wallet 中选择个人信息",success:"个人信息已经更新"}},"switch-passport":{en:{title:"Switch Passport",scan:"Use DID Wallet to switch passport",confirm:"Select passport in your DID Wallet",success:"Passport and session updated"},zh:{title:"切换通行证",scan:"请使用 DID Wallet 来切换通行证",confirm:"在 DID Wallet 中选择通行证",success:"通行证和会话已经更新"}},"connect-to-did-spaces-for-user":{en:{title:"Please authorize the application to connect to your DID Space",scan:"Please use your DID wallet to complete this authorization",confirm:"Select the DID Spaces NFT in your DID wallet",success:"Connection successful"},zh:{title:"请授权应用连接你的 DID Space",scan:"请使用 DID Wallet 来完成授权",confirm:"在 DID Wallet 中选择 DID Spaces NFT",success:"连接成功"}},"bind-wallet":{en:{title:"Connect DID Wallet for enhanced security",scan:"Use DID Wallet to connect your DID Wallet",success:"Successfully connected"},zh:{title:"连接 DID Wallet 获得更高的安全性",scan:"请使用 DID Wallet 来连接您的 DID Wallet ",success:"连接成功"}},exchangePassport:{en:{action:"Exchange Passport with NFT",tooltip:"Exchange passport if you owns any required NFT"},zh:{action:"兑换通行证",tooltip:"通过出示你持有的特定 NFT 来获取通行证"}},lostPassport:{en:{action:"Lost Passport"},zh:{action:"找回通行证"}},switchAccountDialog:{en:{confirm:"Switch",title:"Switch Account",description:"Please switch accounts to complete next action",currentAccount:"Current account",nextAccount:"Account to be switched"},zh:{confirm:"切换",title:"切换账号",description:"请切换账号来完成后续的操作",currentAccount:"当前登录的账户",nextAccount:"即将切换的账户"}}};var re$2={exports:{}};const SEMVER_SPEC_VERSION="2.0.0",MAX_LENGTH$1=256,MAX_SAFE_INTEGER$1=Number.MAX_SAFE_INTEGER||9007199254740991,MAX_SAFE_COMPONENT_LENGTH=16,MAX_SAFE_BUILD_LENGTH=MAX_LENGTH$1-6,RELEASE_TYPES=["major","premajor","minor","preminor","patch","prepatch","prerelease"];var constants$1={MAX_LENGTH:MAX_LENGTH$1,MAX_SAFE_COMPONENT_LENGTH,MAX_SAFE_BUILD_LENGTH,MAX_SAFE_INTEGER:MAX_SAFE_INTEGER$1,RELEASE_TYPES,SEMVER_SPEC_VERSION,FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2},define_process_env_default={};const debug$1=typeof process$1$1=="object"&&define_process_env_default&&define_process_env_default.NODE_DEBUG&&/\bsemver\b/i.test(define_process_env_default.NODE_DEBUG)?(...a)=>console.error("SEMVER",...a):()=>{};var debug_1=debug$1;(function(a,j){const{MAX_SAFE_COMPONENT_LENGTH:_e,MAX_SAFE_BUILD_LENGTH:et,MAX_LENGTH:tt}=constants$1,nt=debug_1;j=a.exports={};const rt=j.re=[],it=j.safeRe=[],ot=j.src=[],ut=j.safeSrc=[],st=j.t={};let ct=0;const ft="[a-zA-Z0-9-]",pt=[["\\s",1],["\\d",tt],[ft,et]],yt=bt=>{for(const[xt,$t]of pt)bt=bt.split(`${xt}*`).join(`${xt}{0,${$t}}`).split(`${xt}+`).join(`${xt}{1,${$t}}`);return bt},mt=(bt,xt,$t)=>{const kt=yt(xt),Pt=ct++;nt(bt,Pt,xt),st[bt]=Pt,ot[Pt]=xt,ut[Pt]=kt,rt[Pt]=new RegExp(xt,$t?"g":void 0),it[Pt]=new RegExp(kt,$t?"g":void 0)};mt("NUMERICIDENTIFIER","0|[1-9]\\d*"),mt("NUMERICIDENTIFIERLOOSE","\\d+"),mt("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${ft}*`),mt("MAINVERSION",`(${ot[st.NUMERICIDENTIFIER]})\\.(${ot[st.NUMERICIDENTIFIER]})\\.(${ot[st.NUMERICIDENTIFIER]})`),mt("MAINVERSIONLOOSE",`(${ot[st.NUMERICIDENTIFIERLOOSE]})\\.(${ot[st.NUMERICIDENTIFIERLOOSE]})\\.(${ot[st.NUMERICIDENTIFIERLOOSE]})`),mt("PRERELEASEIDENTIFIER",`(?:${ot[st.NUMERICIDENTIFIER]}|${ot[st.NONNUMERICIDENTIFIER]})`),mt("PRERELEASEIDENTIFIERLOOSE",`(?:${ot[st.NUMERICIDENTIFIERLOOSE]}|${ot[st.NONNUMERICIDENTIFIER]})`),mt("PRERELEASE",`(?:-(${ot[st.PRERELEASEIDENTIFIER]}(?:\\.${ot[st.PRERELEASEIDENTIFIER]})*))`),mt("PRERELEASELOOSE",`(?:-?(${ot[st.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${ot[st.PRERELEASEIDENTIFIERLOOSE]})*))`),mt("BUILDIDENTIFIER",`${ft}+`),mt("BUILD",`(?:\\+(${ot[st.BUILDIDENTIFIER]}(?:\\.${ot[st.BUILDIDENTIFIER]})*))`),mt("FULLPLAIN",`v?${ot[st.MAINVERSION]}${ot[st.PRERELEASE]}?${ot[st.BUILD]}?`),mt("FULL",`^${ot[st.FULLPLAIN]}$`),mt("LOOSEPLAIN",`[v=\\s]*${ot[st.MAINVERSIONLOOSE]}${ot[st.PRERELEASELOOSE]}?${ot[st.BUILD]}?`),mt("LOOSE",`^${ot[st.LOOSEPLAIN]}$`),mt("GTLT","((?:<|>)?=?)"),mt("XRANGEIDENTIFIERLOOSE",`${ot[st.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),mt("XRANGEIDENTIFIER",`${ot[st.NUMERICIDENTIFIER]}|x|X|\\*`),mt("XRANGEPLAIN",`[v=\\s]*(${ot[st.XRANGEIDENTIFIER]})(?:\\.(${ot[st.XRANGEIDENTIFIER]})(?:\\.(${ot[st.XRANGEIDENTIFIER]})(?:${ot[st.PRERELEASE]})?${ot[st.BUILD]}?)?)?`),mt("XRANGEPLAINLOOSE",`[v=\\s]*(${ot[st.XRANGEIDENTIFIERLOOSE]})(?:\\.(${ot[st.XRANGEIDENTIFIERLOOSE]})(?:\\.(${ot[st.XRANGEIDENTIFIERLOOSE]})(?:${ot[st.PRERELEASELOOSE]})?${ot[st.BUILD]}?)?)?`),mt("XRANGE",`^${ot[st.GTLT]}\\s*${ot[st.XRANGEPLAIN]}$`),mt("XRANGELOOSE",`^${ot[st.GTLT]}\\s*${ot[st.XRANGEPLAINLOOSE]}$`),mt("COERCEPLAIN",`(^|[^\\d])(\\d{1,${_e}})(?:\\.(\\d{1,${_e}}))?(?:\\.(\\d{1,${_e}}))?`),mt("COERCE",`${ot[st.COERCEPLAIN]}(?:$|[^\\d])`),mt("COERCEFULL",ot[st.COERCEPLAIN]+`(?:${ot[st.PRERELEASE]})?(?:${ot[st.BUILD]})?(?:$|[^\\d])`),mt("COERCERTL",ot[st.COERCE],!0),mt("COERCERTLFULL",ot[st.COERCEFULL],!0),mt("LONETILDE","(?:~>?)"),mt("TILDETRIM",`(\\s*)${ot[st.LONETILDE]}\\s+`,!0),j.tildeTrimReplace="$1~",mt("TILDE",`^${ot[st.LONETILDE]}${ot[st.XRANGEPLAIN]}$`),mt("TILDELOOSE",`^${ot[st.LONETILDE]}${ot[st.XRANGEPLAINLOOSE]}$`),mt("LONECARET","(?:\\^)"),mt("CARETTRIM",`(\\s*)${ot[st.LONECARET]}\\s+`,!0),j.caretTrimReplace="$1^",mt("CARET",`^${ot[st.LONECARET]}${ot[st.XRANGEPLAIN]}$`),mt("CARETLOOSE",`^${ot[st.LONECARET]}${ot[st.XRANGEPLAINLOOSE]}$`),mt("COMPARATORLOOSE",`^${ot[st.GTLT]}\\s*(${ot[st.LOOSEPLAIN]})$|^$`),mt("COMPARATOR",`^${ot[st.GTLT]}\\s*(${ot[st.FULLPLAIN]})$|^$`),mt("COMPARATORTRIM",`(\\s*)${ot[st.GTLT]}\\s*(${ot[st.LOOSEPLAIN]}|${ot[st.XRANGEPLAIN]})`,!0),j.comparatorTrimReplace="$1$2$3",mt("HYPHENRANGE",`^\\s*(${ot[st.XRANGEPLAIN]})\\s+-\\s+(${ot[st.XRANGEPLAIN]})\\s*$`),mt("HYPHENRANGELOOSE",`^\\s*(${ot[st.XRANGEPLAINLOOSE]})\\s+-\\s+(${ot[st.XRANGEPLAINLOOSE]})\\s*$`),mt("STAR","(<|>)?=?\\s*\\*"),mt("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),mt("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")})(re$2,re$2.exports);var reExports=re$2.exports;const looseOption=Object.freeze({loose:!0}),emptyOpts=Object.freeze({}),parseOptions$1=a=>a?typeof a!="object"?looseOption:a:emptyOpts;var parseOptions_1=parseOptions$1;const numeric=/^[0-9]+$/,compareIdentifiers$1=(a,j)=>{const _e=numeric.test(a),et=numeric.test(j);return _e&&et&&(a=+a,j=+j),a===j?0:_e&&!et?-1:et&&!_e?1:a<j?-1:1},rcompareIdentifiers=(a,j)=>compareIdentifiers$1(j,a);var identifiers$1={compareIdentifiers:compareIdentifiers$1,rcompareIdentifiers};const debug=debug_1,{MAX_LENGTH,MAX_SAFE_INTEGER}=constants$1,{safeRe:re$1,safeSrc:src,t:t$2}=reExports,parseOptions=parseOptions_1,{compareIdentifiers}=identifiers$1;let SemVer$d=class Yr{constructor(j,_e){if(_e=parseOptions(_e),j instanceof Yr){if(j.loose===!!_e.loose&&j.includePrerelease===!!_e.includePrerelease)return j;j=j.version}else if(typeof j!="string")throw new TypeError(`Invalid version. Must be a string. Got type "${typeof j}".`);if(j.length>MAX_LENGTH)throw new TypeError(`version is longer than ${MAX_LENGTH} characters`);debug("SemVer",j,_e),this.options=_e,this.loose=!!_e.loose,this.includePrerelease=!!_e.includePrerelease;const et=j.trim().match(_e.loose?re$1[t$2.LOOSE]:re$1[t$2.FULL]);if(!et)throw new TypeError(`Invalid Version: ${j}`);if(this.raw=j,this.major=+et[1],this.minor=+et[2],this.patch=+et[3],this.major>MAX_SAFE_INTEGER||this.major<0)throw new TypeError("Invalid major version");if(this.minor>MAX_SAFE_INTEGER||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>MAX_SAFE_INTEGER||this.patch<0)throw new TypeError("Invalid patch version");et[4]?this.prerelease=et[4].split(".").map(tt=>{if(/^[0-9]+$/.test(tt)){const nt=+tt;if(nt>=0&&nt<MAX_SAFE_INTEGER)return nt}return tt}):this.prerelease=[],this.build=et[5]?et[5].split("."):[],this.format()}format(){return this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length&&(this.version+=`-${this.prerelease.join(".")}`),this.version}toString(){return this.version}compare(j){if(debug("SemVer.compare",this.version,this.options,j),!(j instanceof Yr)){if(typeof j=="string"&&j===this.version)return 0;j=new Yr(j,this.options)}return j.version===this.version?0:this.compareMain(j)||this.comparePre(j)}compareMain(j){return j instanceof Yr||(j=new Yr(j,this.options)),compareIdentifiers(this.major,j.major)||compareIdentifiers(this.minor,j.minor)||compareIdentifiers(this.patch,j.patch)}comparePre(j){if(j instanceof Yr||(j=new Yr(j,this.options)),this.prerelease.length&&!j.prerelease.length)return-1;if(!this.prerelease.length&&j.prerelease.length)return 1;if(!this.prerelease.length&&!j.prerelease.length)return 0;let _e=0;do{const et=this.prerelease[_e],tt=j.prerelease[_e];if(debug("prerelease compare",_e,et,tt),et===void 0&&tt===void 0)return 0;if(tt===void 0)return 1;if(et===void 0)return-1;if(et===tt)continue;return compareIdentifiers(et,tt)}while(++_e)}compareBuild(j){j instanceof Yr||(j=new Yr(j,this.options));let _e=0;do{const et=this.build[_e],tt=j.build[_e];if(debug("build compare",_e,et,tt),et===void 0&&tt===void 0)return 0;if(tt===void 0)return 1;if(et===void 0)return-1;if(et===tt)continue;return compareIdentifiers(et,tt)}while(++_e)}inc(j,_e,et){if(j.startsWith("pre")){if(!_e&&et===!1)throw new Error("invalid increment argument: identifier is empty");if(_e){const tt=new RegExp(`^${this.options.loose?src[t$2.PRERELEASELOOSE]:src[t$2.PRERELEASE]}$`),nt=`-${_e}`.match(tt);if(!nt||nt[1]!==_e)throw new Error(`invalid identifier: ${_e}`)}}switch(j){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",_e,et);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",_e,et);break;case"prepatch":this.prerelease.length=0,this.inc("patch",_e,et),this.inc("pre",_e,et);break;case"prerelease":this.prerelease.length===0&&this.inc("patch",_e,et),this.inc("pre",_e,et);break;case"release":if(this.prerelease.length===0)throw new Error(`version ${this.raw} is not a prerelease`);this.prerelease.length=0;break;case"major":(this.minor!==0||this.patch!==0||this.prerelease.length===0)&&this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":(this.patch!==0||this.prerelease.length===0)&&this.minor++,this.patch=0,this.prerelease=[];break;case"patch":this.prerelease.length===0&&this.patch++,this.prerelease=[];break;case"pre":{const tt=Number(et)?1:0;if(this.prerelease.length===0)this.prerelease=[tt];else{let nt=this.prerelease.length;for(;--nt>=0;)typeof this.prerelease[nt]=="number"&&(this.prerelease[nt]++,nt=-2);if(nt===-1){if(_e===this.prerelease.join(".")&&et===!1)throw new Error("invalid increment argument: identifier already exists");this.prerelease.push(tt)}}if(_e){let nt=[_e,tt];et===!1&&(nt=[_e]),compareIdentifiers(this.prerelease[0],_e)===0?isNaN(this.prerelease[1])&&(this.prerelease=nt):this.prerelease=nt}break}default:throw new Error(`invalid increment argument: ${j}`)}return this.raw=this.format(),this.build.length&&(this.raw+=`+${this.build.join(".")}`),this}};var semver$2=SemVer$d;const SemVer$c=semver$2,parse$6=(a,j,_e=!1)=>{if(a instanceof SemVer$c)return a;try{return new SemVer$c(a,j)}catch(et){if(!_e)return null;throw et}};var parse_1=parse$6;const parse$5=parse_1,valid$2=(a,j)=>{const _e=parse$5(a,j);return _e?_e.version:null};var valid_1=valid$2;const parse$4=parse_1,clean$1=(a,j)=>{const _e=parse$4(a.trim().replace(/^[=v]+/,""),j);return _e?_e.version:null};var clean_1=clean$1;const SemVer$b=semver$2,inc$1=(a,j,_e,et,tt)=>{typeof _e=="string"&&(tt=et,et=_e,_e=void 0);try{return new SemVer$b(a instanceof SemVer$b?a.version:a,_e).inc(j,et,tt).version}catch{return null}};var inc_1=inc$1;const parse$3=parse_1,diff$1=(a,j)=>{const _e=parse$3(a,null,!0),et=parse$3(j,null,!0),tt=_e.compare(et);if(tt===0)return null;const nt=tt>0,rt=nt?_e:et,it=nt?et:_e,ot=!!rt.prerelease.length;if(!!it.prerelease.length&&!ot){if(!it.patch&&!it.minor)return"major";if(it.compareMain(rt)===0)return it.minor&&!it.patch?"minor":"patch"}const st=ot?"pre":"";return _e.major!==et.major?st+"major":_e.minor!==et.minor?st+"minor":_e.patch!==et.patch?st+"patch":"prerelease"};var diff_1=diff$1;const SemVer$a=semver$2,major$1=(a,j)=>new SemVer$a(a,j).major;var major_1=major$1;const SemVer$9=semver$2,minor$1=(a,j)=>new SemVer$9(a,j).minor;var minor_1=minor$1;const SemVer$8=semver$2,patch$1=(a,j)=>new SemVer$8(a,j).patch;var patch_1=patch$1;const parse$2=parse_1,prerelease$1=(a,j)=>{const _e=parse$2(a,j);return _e&&_e.prerelease.length?_e.prerelease:null};var prerelease_1=prerelease$1;const SemVer$7=semver$2,compare$b=(a,j,_e)=>new SemVer$7(a,_e).compare(new SemVer$7(j,_e));var compare_1=compare$b;const compare$a=compare_1,rcompare$1=(a,j,_e)=>compare$a(j,a,_e);var rcompare_1=rcompare$1;const compare$9=compare_1,compareLoose$1=(a,j)=>compare$9(a,j,!0);var compareLoose_1=compareLoose$1;const SemVer$6=semver$2,compareBuild$3=(a,j,_e)=>{const et=new SemVer$6(a,_e),tt=new SemVer$6(j,_e);return et.compare(tt)||et.compareBuild(tt)};var compareBuild_1=compareBuild$3;const compareBuild$2=compareBuild_1,sort$1=(a,j)=>a.sort((_e,et)=>compareBuild$2(_e,et,j));var sort_1=sort$1;const compareBuild$1=compareBuild_1,rsort$1=(a,j)=>a.sort((_e,et)=>compareBuild$1(et,_e,j));var rsort_1=rsort$1;const compare$8=compare_1,gt$4=(a,j,_e)=>compare$8(a,j,_e)>0;var gt_1=gt$4;const compare$7=compare_1,lt$3=(a,j,_e)=>compare$7(a,j,_e)<0;var lt_1=lt$3;const compare$6=compare_1,eq$2=(a,j,_e)=>compare$6(a,j,_e)===0;var eq_1=eq$2;const compare$5=compare_1,neq$2=(a,j,_e)=>compare$5(a,j,_e)!==0;var neq_1=neq$2;const compare$4=compare_1,gte$3=(a,j,_e)=>compare$4(a,j,_e)>=0;var gte_1=gte$3;const compare$3=compare_1,lte$3=(a,j,_e)=>compare$3(a,j,_e)<=0;var lte_1=lte$3;const eq$1=eq_1,neq$1=neq_1,gt$3=gt_1,gte$2=gte_1,lt$2=lt_1,lte$2=lte_1,cmp$1=(a,j,_e,et)=>{switch(j){case"===":return typeof a=="object"&&(a=a.version),typeof _e=="object"&&(_e=_e.version),a===_e;case"!==":return typeof a=="object"&&(a=a.version),typeof _e=="object"&&(_e=_e.version),a!==_e;case"":case"=":case"==":return eq$1(a,_e,et);case"!=":return neq$1(a,_e,et);case">":return gt$3(a,_e,et);case">=":return gte$2(a,_e,et);case"<":return lt$2(a,_e,et);case"<=":return lte$2(a,_e,et);default:throw new TypeError(`Invalid operator: ${j}`)}};var cmp_1=cmp$1;const SemVer$5=semver$2,parse$1=parse_1,{safeRe:re,t:t$1}=reExports,coerce$1=(a,j)=>{if(a instanceof SemVer$5)return a;if(typeof a=="number"&&(a=String(a)),typeof a!="string")return null;j=j||{};let _e=null;if(!j.rtl)_e=a.match(j.includePrerelease?re[t$1.COERCEFULL]:re[t$1.COERCE]);else{const ot=j.includePrerelease?re[t$1.COERCERTLFULL]:re[t$1.COERCERTL];let ut;for(;(ut=ot.exec(a))&&(!_e||_e.index+_e[0].length!==a.length);)(!_e||ut.index+ut[0].length!==_e.index+_e[0].length)&&(_e=ut),ot.lastIndex=ut.index+ut[1].length+ut[2].length;ot.lastIndex=-1}if(_e===null)return null;const et=_e[2],tt=_e[3]||"0",nt=_e[4]||"0",rt=j.includePrerelease&&_e[5]?`-${_e[5]}`:"",it=j.includePrerelease&&_e[6]?`+${_e[6]}`:"";return parse$1(`${et}.${tt}.${nt}${rt}${it}`,j)};var coerce_1=coerce$1;class LRUCache{constructor(){this.max=1e3,this.map=new Map}get(j){const _e=this.map.get(j);if(_e!==void 0)return this.map.delete(j),this.map.set(j,_e),_e}delete(j){return this.map.delete(j)}set(j,_e){if(!this.delete(j)&&_e!==void 0){if(this.map.size>=this.max){const tt=this.map.keys().next().value;this.delete(tt)}this.map.set(j,_e)}return this}}var lrucache=LRUCache,range,hasRequiredRange;function requireRange(){if(hasRequiredRange)return range;hasRequiredRange=1;const a=/\s+/g;class j{constructor(ht,Et){if(Et=tt(Et),ht instanceof j)return ht.loose===!!Et.loose&&ht.includePrerelease===!!Et.includePrerelease?ht:new j(ht.raw,Et);if(ht instanceof nt)return this.raw=ht.value,this.set=[[ht]],this.formatted=void 0,this;if(this.options=Et,this.loose=!!Et.loose,this.includePrerelease=!!Et.includePrerelease,this.raw=ht.trim().replace(a," "),this.set=this.raw.split("||").map(St=>this.parseRange(St.trim())).filter(St=>St.length),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){const St=this.set[0];if(this.set=this.set.filter(Rt=>!mt(Rt[0])),this.set.length===0)this.set=[St];else if(this.set.length>1){for(const Rt of this.set)if(Rt.length===1&&bt(Rt[0])){this.set=[Rt];break}}}this.formatted=void 0}get range(){if(this.formatted===void 0){this.formatted="";for(let ht=0;ht<this.set.length;ht++){ht>0&&(this.formatted+="||");const Et=this.set[ht];for(let St=0;St<Et.length;St++)St>0&&(this.formatted+=" "),this.formatted+=Et[St].toString().trim()}}return this.formatted}format(){return this.range}toString(){return this.range}parseRange(ht){const St=((this.options.includePrerelease&&pt)|(this.options.loose&&yt))+":"+ht,Rt=et.get(St);if(Rt)return Rt;const wt=this.options.loose,Ct=wt?ot[ut.HYPHENRANGELOOSE]:ot[ut.HYPHENRANGE];ht=ht.replace(Ct,It(this.options.includePrerelease)),rt("hyphen replace",ht),ht=ht.replace(ot[ut.COMPARATORTRIM],st),rt("comparator trim",ht),ht=ht.replace(ot[ut.TILDETRIM],ct),rt("tilde trim",ht),ht=ht.replace(ot[ut.CARETTRIM],ft),rt("caret trim",ht);let At=ht.split(" ").map(jt=>$t(jt,this.options)).join(" ").split(/\s+/).map(jt=>Ht(jt,this.options));wt&&(At=At.filter(jt=>(rt("loose invalid filter",jt,this.options),!!jt.match(ot[ut.COMPARATORLOOSE])))),rt("range list",At);const vt=new Map,Lt=At.map(jt=>new nt(jt,this.options));for(const jt of Lt){if(mt(jt))return[jt];vt.set(jt.value,jt)}vt.size>1&&vt.has("")&&vt.delete("");const Yt=[...vt.values()];return et.set(St,Yt),Yt}intersects(ht,Et){if(!(ht instanceof j))throw new TypeError("a Range is required");return this.set.some(St=>xt(St,Et)&&ht.set.some(Rt=>xt(Rt,Et)&&St.every(wt=>Rt.every(Ct=>wt.intersects(Ct,Et)))))}test(ht){if(!ht)return!1;if(typeof ht=="string")try{ht=new it(ht,this.options)}catch{return!1}for(let Et=0;Et<this.set.length;Et++)if(Tt(this.set[Et],ht,this.options))return!0;return!1}}range=j;const _e=lrucache,et=new _e,tt=parseOptions_1,nt=requireComparator(),rt=debug_1,it=semver$2,{safeRe:ot,t:ut,comparatorTrimReplace:st,tildeTrimReplace:ct,caretTrimReplace:ft}=reExports,{FLAG_INCLUDE_PRERELEASE:pt,FLAG_LOOSE:yt}=constants$1,mt=dt=>dt.value==="<0.0.0-0",bt=dt=>dt.value==="",xt=(dt,ht)=>{let Et=!0;const St=dt.slice();let Rt=St.pop();for(;Et&&St.length;)Et=St.every(wt=>Rt.intersects(wt,ht)),Rt=St.pop();return Et},$t=(dt,ht)=>(rt("comp",dt,ht),dt=Ot(dt,ht),rt("caret",dt),dt=Pt(dt,ht),rt("tildes",dt),dt=Vt(dt,ht),rt("xrange",dt),dt=on(dt,ht),rt("stars",dt),dt),kt=dt=>!dt||dt.toLowerCase()==="x"||dt==="*",Pt=(dt,ht)=>dt.trim().split(/\s+/).map(Et=>Nt(Et,ht)).join(" "),Nt=(dt,ht)=>{const Et=ht.loose?ot[ut.TILDELOOSE]:ot[ut.TILDE];return dt.replace(Et,(St,Rt,wt,Ct,At)=>{rt("tilde",dt,St,Rt,wt,Ct,At);let vt;return kt(Rt)?vt="":kt(wt)?vt=`>=${Rt}.0.0 <${+Rt+1}.0.0-0`:kt(Ct)?vt=`>=${Rt}.${wt}.0 <${Rt}.${+wt+1}.0-0`:At?(rt("replaceTilde pr",At),vt=`>=${Rt}.${wt}.${Ct}-${At} <${Rt}.${+wt+1}.0-0`):vt=`>=${Rt}.${wt}.${Ct} <${Rt}.${+wt+1}.0-0`,rt("tilde return",vt),vt})},Ot=(dt,ht)=>dt.trim().split(/\s+/).map(Et=>Ft(Et,ht)).join(" "),Ft=(dt,ht)=>{rt("caret",dt,ht);const Et=ht.loose?ot[ut.CARETLOOSE]:ot[ut.CARET],St=ht.includePrerelease?"-0":"";return dt.replace(Et,(Rt,wt,Ct,At,vt)=>{rt("caret",dt,Rt,wt,Ct,At,vt);let Lt;return kt(wt)?Lt="":kt(Ct)?Lt=`>=${wt}.0.0${St} <${+wt+1}.0.0-0`:kt(At)?wt==="0"?Lt=`>=${wt}.${Ct}.0${St} <${wt}.${+Ct+1}.0-0`:Lt=`>=${wt}.${Ct}.0${St} <${+wt+1}.0.0-0`:vt?(rt("replaceCaret pr",vt),wt==="0"?Ct==="0"?Lt=`>=${wt}.${Ct}.${At}-${vt} <${wt}.${Ct}.${+At+1}-0`:Lt=`>=${wt}.${Ct}.${At}-${vt} <${wt}.${+Ct+1}.0-0`:Lt=`>=${wt}.${Ct}.${At}-${vt} <${+wt+1}.0.0-0`):(rt("no pr"),wt==="0"?Ct==="0"?Lt=`>=${wt}.${Ct}.${At}${St} <${wt}.${Ct}.${+At+1}-0`:Lt=`>=${wt}.${Ct}.${At}${St} <${wt}.${+Ct+1}.0-0`:Lt=`>=${wt}.${Ct}.${At} <${+wt+1}.0.0-0`),rt("caret return",Lt),Lt})},Vt=(dt,ht)=>(rt("replaceXRanges",dt,ht),dt.split(/\s+/).map(Et=>Zt(Et,ht)).join(" ")),Zt=(dt,ht)=>{dt=dt.trim();const Et=ht.loose?ot[ut.XRANGELOOSE]:ot[ut.XRANGE];return dt.replace(Et,(St,Rt,wt,Ct,At,vt)=>{rt("xRange",dt,St,Rt,wt,Ct,At,vt);const Lt=kt(wt),Yt=Lt||kt(Ct),jt=Yt||kt(At),Gt=jt;return Rt==="="&&Gt&&(Rt=""),vt=ht.includePrerelease?"-0":"",Lt?Rt===">"||Rt==="<"?St="<0.0.0-0":St="*":Rt&&Gt?(Yt&&(Ct=0),At=0,Rt===">"?(Rt=">=",Yt?(wt=+wt+1,Ct=0,At=0):(Ct=+Ct+1,At=0)):Rt==="<="&&(Rt="<",Yt?wt=+wt+1:Ct=+Ct+1),Rt==="<"&&(vt="-0"),St=`${Rt+wt}.${Ct}.${At}${vt}`):Yt?St=`>=${wt}.0.0${vt} <${+wt+1}.0.0-0`:jt&&(St=`>=${wt}.${Ct}.0${vt} <${wt}.${+Ct+1}.0-0`),rt("xRange return",St),St})},on=(dt,ht)=>(rt("replaceStars",dt,ht),dt.trim().replace(ot[ut.STAR],"")),Ht=(dt,ht)=>(rt("replaceGTE0",dt,ht),dt.trim().replace(ot[ht.includePrerelease?ut.GTE0PRE:ut.GTE0],"")),It=dt=>(ht,Et,St,Rt,wt,Ct,At,vt,Lt,Yt,jt,Gt)=>(kt(St)?Et="":kt(Rt)?Et=`>=${St}.0.0${dt?"-0":""}`:kt(wt)?Et=`>=${St}.${Rt}.0${dt?"-0":""}`:Ct?Et=`>=${Et}`:Et=`>=${Et}${dt?"-0":""}`,kt(Lt)?vt="":kt(Yt)?vt=`<${+Lt+1}.0.0-0`:kt(jt)?vt=`<${Lt}.${+Yt+1}.0-0`:Gt?vt=`<=${Lt}.${Yt}.${jt}-${Gt}`:dt?vt=`<${Lt}.${Yt}.${+jt+1}-0`:vt=`<=${vt}`,`${Et} ${vt}`.trim()),Tt=(dt,ht,Et)=>{for(let St=0;St<dt.length;St++)if(!dt[St].test(ht))return!1;if(ht.prerelease.length&&!Et.includePrerelease){for(let St=0;St<dt.length;St++)if(rt(dt[St].semver),dt[St].semver!==nt.ANY&&dt[St].semver.prerelease.length>0){const Rt=dt[St].semver;if(Rt.major===ht.major&&Rt.minor===ht.minor&&Rt.patch===ht.patch)return!0}return!1}return!0};return range}var comparator,hasRequiredComparator;function requireComparator(){if(hasRequiredComparator)return comparator;hasRequiredComparator=1;const a=Symbol("SemVer ANY");class j{static get ANY(){return a}constructor(st,ct){if(ct=_e(ct),st instanceof j){if(st.loose===!!ct.loose)return st;st=st.value}st=st.trim().split(/\s+/).join(" "),rt("comparator",st,ct),this.options=ct,this.loose=!!ct.loose,this.parse(st),this.semver===a?this.value="":this.value=this.operator+this.semver.version,rt("comp",this)}parse(st){const ct=this.options.loose?et[tt.COMPARATORLOOSE]:et[tt.COMPARATOR],ft=st.match(ct);if(!ft)throw new TypeError(`Invalid comparator: ${st}`);this.operator=ft[1]!==void 0?ft[1]:"",this.operator==="="&&(this.operator=""),ft[2]?this.semver=new it(ft[2],this.options.loose):this.semver=a}toString(){return this.value}test(st){if(rt("Comparator.test",st,this.options.loose),this.semver===a||st===a)return!0;if(typeof st=="string")try{st=new it(st,this.options)}catch{return!1}return nt(st,this.operator,this.semver,this.options)}intersects(st,ct){if(!(st instanceof j))throw new TypeError("a Comparator is required");return this.operator===""?this.value===""?!0:new ot(st.value,ct).test(this.value):st.operator===""?st.value===""?!0:new ot(this.value,ct).test(st.semver):(ct=_e(ct),ct.includePrerelease&&(this.value==="<0.0.0-0"||st.value==="<0.0.0-0")||!ct.includePrerelease&&(this.value.startsWith("<0.0.0")||st.value.startsWith("<0.0.0"))?!1:!!(this.operator.startsWith(">")&&st.operator.startsWith(">")||this.operator.startsWith("<")&&st.operator.startsWith("<")||this.semver.version===st.semver.version&&this.operator.includes("=")&&st.operator.includes("=")||nt(this.semver,"<",st.semver,ct)&&this.operator.startsWith(">")&&st.operator.startsWith("<")||nt(this.semver,">",st.semver,ct)&&this.operator.startsWith("<")&&st.operator.startsWith(">")))}}comparator=j;const _e=parseOptions_1,{safeRe:et,t:tt}=reExports,nt=cmp_1,rt=debug_1,it=semver$2,ot=requireRange();return comparator}const Range$9=requireRange(),satisfies$4=(a,j,_e)=>{try{j=new Range$9(j,_e)}catch{return!1}return j.test(a)};var satisfies_1=satisfies$4;const Range$8=requireRange(),toComparators$1=(a,j)=>new Range$8(a,j).set.map(_e=>_e.map(et=>et.value).join(" ").trim().split(" "));var toComparators_1=toComparators$1;const SemVer$4=semver$2,Range$7=requireRange(),maxSatisfying$1=(a,j,_e)=>{let et=null,tt=null,nt=null;try{nt=new Range$7(j,_e)}catch{return null}return a.forEach(rt=>{nt.test(rt)&&(!et||tt.compare(rt)===-1)&&(et=rt,tt=new SemVer$4(et,_e))}),et};var maxSatisfying_1=maxSatisfying$1;const SemVer$3=semver$2,Range$6=requireRange(),minSatisfying$1=(a,j,_e)=>{let et=null,tt=null,nt=null;try{nt=new Range$6(j,_e)}catch{return null}return a.forEach(rt=>{nt.test(rt)&&(!et||tt.compare(rt)===1)&&(et=rt,tt=new SemVer$3(et,_e))}),et};var minSatisfying_1=minSatisfying$1;const SemVer$2=semver$2,Range$5=requireRange(),gt$2=gt_1,minVersion$1=(a,j)=>{a=new Range$5(a,j);let _e=new SemVer$2("0.0.0");if(a.test(_e)||(_e=new SemVer$2("0.0.0-0"),a.test(_e)))return _e;_e=null;for(let et=0;et<a.set.length;++et){const tt=a.set[et];let nt=null;tt.forEach(rt=>{const it=new SemVer$2(rt.semver.version);switch(rt.operator){case">":it.prerelease.length===0?it.patch++:it.prerelease.push(0),it.raw=it.format();case"":case">=":(!nt||gt$2(it,nt))&&(nt=it);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${rt.operator}`)}}),nt&&(!_e||gt$2(_e,nt))&&(_e=nt)}return _e&&a.test(_e)?_e:null};var minVersion_1=minVersion$1;const Range$4=requireRange(),validRange$1=(a,j)=>{try{return new Range$4(a,j).range||"*"}catch{return null}};var valid$1=validRange$1;const SemVer$1=semver$2,Comparator$2=requireComparator(),{ANY:ANY$1}=Comparator$2,Range$3=requireRange(),satisfies$3=satisfies_1,gt$1=gt_1,lt$1=lt_1,lte$1=lte_1,gte$1=gte_1,outside$3=(a,j,_e,et)=>{a=new SemVer$1(a,et),j=new Range$3(j,et);let tt,nt,rt,it,ot;switch(_e){case">":tt=gt$1,nt=lte$1,rt=lt$1,it=">",ot=">=";break;case"<":tt=lt$1,nt=gte$1,rt=gt$1,it="<",ot="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(satisfies$3(a,j,et))return!1;for(let ut=0;ut<j.set.length;++ut){const st=j.set[ut];let ct=null,ft=null;if(st.forEach(pt=>{pt.semver===ANY$1&&(pt=new Comparator$2(">=0.0.0")),ct=ct||pt,ft=ft||pt,tt(pt.semver,ct.semver,et)?ct=pt:rt(pt.semver,ft.semver,et)&&(ft=pt)}),ct.operator===it||ct.operator===ot||(!ft.operator||ft.operator===it)&&nt(a,ft.semver))return!1;if(ft.operator===ot&&rt(a,ft.semver))return!1}return!0};var outside_1=outside$3;const outside$2=outside_1,gtr$1=(a,j,_e)=>outside$2(a,j,">",_e);var gtr_1=gtr$1;const outside$1=outside_1,ltr$1=(a,j,_e)=>outside$1(a,j,"<",_e);var ltr_1=ltr$1;const Range$2=requireRange(),intersects$1=(a,j,_e)=>(a=new Range$2(a,_e),j=new Range$2(j,_e),a.intersects(j,_e));var intersects_1=intersects$1;const satisfies$2=satisfies_1,compare$2=compare_1;var simplify=(a,j,_e)=>{const et=[];let tt=null,nt=null;const rt=a.sort((st,ct)=>compare$2(st,ct,_e));for(const st of rt)satisfies$2(st,j,_e)?(nt=st,tt||(tt=st)):(nt&&et.push([tt,nt]),nt=null,tt=null);tt&&et.push([tt,null]);const it=[];for(const[st,ct]of et)st===ct?it.push(st):!ct&&st===rt[0]?it.push("*"):ct?st===rt[0]?it.push(`<=${ct}`):it.push(`${st} - ${ct}`):it.push(`>=${st}`);const ot=it.join(" || "),ut=typeof j.raw=="string"?j.raw:String(j);return ot.length<ut.length?ot:j};const Range$1=requireRange(),Comparator$1=requireComparator(),{ANY}=Comparator$1,satisfies$1=satisfies_1,compare$1=compare_1,subset$1=(a,j,_e={})=>{if(a===j)return!0;a=new Range$1(a,_e),j=new Range$1(j,_e);let et=!1;e:for(const tt of a.set){for(const nt of j.set){const rt=simpleSubset(tt,nt,_e);if(et=et||rt!==null,rt)continue e}if(et)return!1}return!0},minimumVersionWithPreRelease=[new Comparator$1(">=0.0.0-0")],minimumVersion=[new Comparator$1(">=0.0.0")],simpleSubset=(a,j,_e)=>{if(a===j)return!0;if(a.length===1&&a[0].semver===ANY){if(j.length===1&&j[0].semver===ANY)return!0;_e.includePrerelease?a=minimumVersionWithPreRelease:a=minimumVersion}if(j.length===1&&j[0].semver===ANY){if(_e.includePrerelease)return!0;j=minimumVersion}const et=new Set;let tt,nt;for(const pt of a)pt.operator===">"||pt.operator===">="?tt=higherGT(tt,pt,_e):pt.operator==="<"||pt.operator==="<="?nt=lowerLT(nt,pt,_e):et.add(pt.semver);if(et.size>1)return null;let rt;if(tt&&nt){if(rt=compare$1(tt.semver,nt.semver,_e),rt>0)return null;if(rt===0&&(tt.operator!==">="||nt.operator!=="<="))return null}for(const pt of et){if(tt&&!satisfies$1(pt,String(tt),_e)||nt&&!satisfies$1(pt,String(nt),_e))return null;for(const yt of j)if(!satisfies$1(pt,String(yt),_e))return!1;return!0}let it,ot,ut,st,ct=nt&&!_e.includePrerelease&&nt.semver.prerelease.length?nt.semver:!1,ft=tt&&!_e.includePrerelease&&tt.semver.prerelease.length?tt.semver:!1;ct&&ct.prerelease.length===1&&nt.operator==="<"&&ct.prerelease[0]===0&&(ct=!1);for(const pt of j){if(st=st||pt.operator===">"||pt.operator===">=",ut=ut||pt.operator==="<"||pt.operator==="<=",tt){if(ft&&pt.semver.prerelease&&pt.semver.prerelease.length&&pt.semver.major===ft.major&&pt.semver.minor===ft.minor&&pt.semver.patch===ft.patch&&(ft=!1),pt.operator===">"||pt.operator===">="){if(it=higherGT(tt,pt,_e),it===pt&&it!==tt)return!1}else if(tt.operator===">="&&!satisfies$1(tt.semver,String(pt),_e))return!1}if(nt){if(ct&&pt.semver.prerelease&&pt.semver.prerelease.length&&pt.semver.major===ct.major&&pt.semver.minor===ct.minor&&pt.semver.patch===ct.patch&&(ct=!1),pt.operator==="<"||pt.operator==="<="){if(ot=lowerLT(nt,pt,_e),ot===pt&&ot!==nt)return!1}else if(nt.operator==="<="&&!satisfies$1(nt.semver,String(pt),_e))return!1}if(!pt.operator&&(nt||tt)&&rt!==0)return!1}return!(tt&&ut&&!nt&&rt!==0||nt&&st&&!tt&&rt!==0||ft||ct)},higherGT=(a,j,_e)=>{if(!a)return j;const et=compare$1(a.semver,j.semver,_e);return et>0?a:et<0||j.operator===">"&&a.operator===">="?j:a},lowerLT=(a,j,_e)=>{if(!a)return j;const et=compare$1(a.semver,j.semver,_e);return et<0?a:et>0||j.operator==="<"&&a.operator==="<="?j:a};var subset_1=subset$1;const internalRe=reExports,constants=constants$1,SemVer=semver$2,identifiers=identifiers$1,parse=parse_1,valid=valid_1,clean=clean_1,inc=inc_1,diff=diff_1,major=major_1,minor=minor_1,patch=patch_1,prerelease=prerelease_1,compare=compare_1,rcompare=rcompare_1,compareLoose=compareLoose_1,compareBuild=compareBuild_1,sort=sort_1,rsort=rsort_1,gt=gt_1,lt=lt_1,eq=eq_1,neq=neq_1,gte=gte_1,lte=lte_1,cmp=cmp_1,coerce=coerce_1,Comparator=requireComparator(),Range=requireRange(),satisfies=satisfies_1,toComparators=toComparators_1,maxSatisfying=maxSatisfying_1,minSatisfying=minSatisfying_1,minVersion=minVersion_1,validRange=valid$1,outside=outside_1,gtr=gtr_1,ltr=ltr_1,intersects=intersects_1,simplifyRange=simplify,subset=subset_1;var semver={parse,valid,clean,inc,diff,major,minor,patch,prerelease,compare,rcompare,compareLoose,compareBuild,sort,rsort,gt,lt,eq,neq,gte,lte,cmp,coerce,Comparator,Range,satisfies,toComparators,maxSatisfying,minSatisfying,minVersion,validRange,outside,gtr,ltr,intersects,simplifyRange,subset,SemVer,re:internalRe.re,src:internalRe.src,tokens:internalRe.t,SEMVER_SPEC_VERSION:constants.SEMVER_SPEC_VERSION,RELEASE_TYPES:constants.RELEASE_TYPES,compareIdentifiers:identifiers.compareIdentifiers,rcompareIdentifiers:identifiers.rcompareIdentifiers};const semver$1=getDefaultExportFromCjs$1(semver),BLACK_LIST=[`${BLOCKLET_SERVICE_PATH_PREFIX}/connect`,`${BLOCKLET_SERVICE_PATH_PREFIX}/login`,`${BLOCKLET_SERVICE_PATH_PREFIX}/invite`,`${BLOCKLET_SERVICE_PATH_PREFIX}/issue-passport`,`${BLOCKLET_SERVICE_PATH_PREFIX}/oauth/*`],blackListRoute=BLACK_LIST.map(a=>pathToRegexp$1(a,[]));async function login(){const a=(window==null?void 0:window.blocklet)||{},j=window.location.pathname,{componentId:_e,CHAIN_TYPE:et="arcblock",appPid:tt}=a;if(blackListRoute.some(it=>it.exec(j)))return null;const rt=getApps();try{const ot=new URLSearchParams(window.location.search).get("inviter")||localStorage.getItem("inviter"),ut=withQuery$1(joinURL$2(window.location.origin,BLOCKLET_SERVICE_PATH_PREFIX,"/api/user/loginByWallet"),{inviter:ot});return await default_1$l.asyncCall("arcLogin",{target:ut,chainType:et,appPid:tt,componentId:_e,apps:rt.map(ct=>{let ft=ct==null?void 0:ct.appLogo;return isUrl$2(ft)||(ft=joinURL$2(ct.appUrl,ft)),{appName:ct.appName,appPid:ct.appPid,appUrl:ct.appUrl,appLogo:ft,sourceAppPid:ct.sourceAppPid}})})}catch(it){return logger$2.error("Failed login mobile",it),null}}async function getMobileVisitorId(){return await default_1$l.asyncCall("arcGetVisitorId")}function checkEnableAutoLogin({platform:a,version:j}={}){return!!(a==="ios"&&j&&semver$1.gte(j,"4.15.6")||a==="android"&&j&&semver$1.gte(j,"4.15.1"))}var INFINITY=1/0,createSet=Set$2&&1/setToArray(new Set$2([,-0]))[1]==INFINITY?function(a){return new Set$2(a)}:noop$5,LARGE_ARRAY_SIZE=200;function baseUniq(a,j,_e){var et=-1,tt=arrayIncludes$1,nt=a.length,rt=!0,it=[],ot=it;if(_e)rt=!1,tt=arrayIncludesWith;else if(nt>=LARGE_ARRAY_SIZE){var ut=j?null:createSet(a);if(ut)return setToArray(ut);rt=!1,tt=cacheHas,ot=new SetCache}else ot=j?[]:it;e:for(;++et<nt;){var st=a[et],ct=j?j(st):st;if(st=_e||st!==0?st:0,rt&&ct===ct){for(var ft=ot.length;ft--;)if(ot[ft]===ct)continue e;j&&ot.push(ct),it.push(st)}else tt(ot,ct,_e)||(ot!==it&&ot.push(ct),it.push(st))}return it}var unionBy=baseRest(function(a){var j=last(a);return isArrayLikeObject(j)&&(j=void 0),baseUniq(baseFlatten(a,1,isArrayLikeObject,!0),baseIteratee(j))});function baseForOwn(a,j){return a&&baseFor(a,j,keys$1)}function createBaseEach(a,j){return function(_e,et){if(_e==null)return _e;if(!isArrayLike(_e))return a(_e,et);for(var tt=_e.length,nt=-1,rt=Object(_e);++nt<tt&&et(rt[nt],nt,rt)!==!1;);return _e}}var baseEach=createBaseEach(baseForOwn);function baseMap(a,j){var _e=-1,et=isArrayLike(a)?Array(a.length):[];return baseEach(a,function(tt,nt,rt){et[++_e]=j(tt,nt,rt)}),et}function baseSortBy(a,j){var _e=a.length;for(a.sort(j);_e--;)a[_e]=a[_e].value;return a}function compareAscending(a,j){if(a!==j){var _e=a!==void 0,et=a===null,tt=a===a,nt=isSymbol$5(a),rt=j!==void 0,it=j===null,ot=j===j,ut=isSymbol$5(j);if(!it&&!ut&&!nt&&a>j||nt&&rt&&ot&&!it&&!ut||et&&rt&&ot||!_e&&ot||!tt)return 1;if(!et&&!nt&&!ut&&a<j||ut&&_e&&tt&&!et&&!nt||it&&_e&&tt||!rt&&tt||!ot)return-1}return 0}function compareMultiple(a,j,_e){for(var et=-1,tt=a.criteria,nt=j.criteria,rt=tt.length,it=_e.length;++et<rt;){var ot=compareAscending(tt[et],nt[et]);if(ot){if(et>=it)return ot;var ut=_e[et];return ot*(ut=="desc"?-1:1)}}return a.index-j.index}function baseOrderBy(a,j,_e){j.length?j=arrayMap(j,function(nt){return isArray$6(nt)?function(rt){return baseGet$1(rt,nt.length===1?nt[0]:nt)}:nt}):j=[identity];var et=-1;j=arrayMap(j,baseUnary(baseIteratee));var tt=baseMap(a,function(nt,rt,it){var ot=arrayMap(j,function(ut){return ut(nt)});return{criteria:ot,index:++et,value:nt}});return baseSortBy(tt,function(nt,rt){return compareMultiple(nt,rt,_e)})}var sortBy=baseRest(function(a,j){if(a==null)return[];var _e=j.length;return _e>1&&isIterateeCall(a,j[0],j[1])?j=[]:_e>2&&isIterateeCall(j[0],j[1],j[2])&&(j=[j[0]]),baseOrderBy(a,baseFlatten(j),[])});const prefix$3=joinURL$2(BLOCKLET_SERVICE_PATH_PREFIX,"/api/user-session");function useQuickConnect({appPid:a,sourceAppPid:j,loginAppPid:_e,autoFetch:et=!0,baseUrl:tt="/",fetchAll:nt=!1}={}){const rt=useCreation(()=>createAxios({baseURL:joinURL$2(tt,prefix$3)},{lazy:!0,lazyTime:500}),[tt]),it=useMemoizedFn(async()=>{if(!window.blocklet)return[];let yt=[];try{({data:yt=[]}=await rt.get(""))}catch($t){logger$2.error("Failed to get user-sessions",$t)}const mt=yt.map($t=>({...$t,appUrl:tt})),bt=getFederatedEnabled(),xt=getMaster();if(nt&&bt&&xt){let $t=[];try{({data:$t=[]}=await rt.get(joinURL$2(xt.appUrl,prefix$3)))}catch(kt){logger$2.error("Failed to get master user-sessions",kt)}return mt.concat($t.map(kt=>({...kt,appUrl:xt.appUrl})))}return!bt||!xt?mt.filter($t=>{var kt;return((kt=$t==null?void 0:$t.user)==null?void 0:kt.sourceAppPid)===null}):mt}),ot=useReactive({loaded:!1,loadingId:null}),ut=useRequest(it,{manual:!et,onFinally(){ot.loaded=!0},refreshDeps:[tt]}),st=async yt=>{var bt,xt,$t;const mt=pick(yt,["userDid","visitorId","passportId","id"]);try{ot.loadingId=yt.id;const{data:kt}=await rt.post("login",{...mt,appPid:_e},{baseURL:joinURL$2(yt.appUrl||"/",prefix$3)});return kt}catch(kt){const Pt=kt.response?((xt=(bt=kt.response)==null?void 0:bt.data)==null?void 0:xt.error)||(($t=kt.response)==null?void 0:$t.data):kt.message;throw Toast$1.error(Pt),logger$2.error("Quick login error",kt),kt}finally{ot.loadingId=null}},ct=useCreation(()=>ut.data?ut.data.filter(yt=>yt.status!=="expired"):[],[ut.data]),ft=useCreation(()=>{const yt=new Date().getTime(),mt=sortBy(ct,bt=>yt-new Date(bt.updatedAt).getTime());return unionBy(mt,bt=>[bt.userDid].join("_"))},[ct,j,a]),pt=useCreation(()=>!!(ft&&ft.length>0),[ft]);return{loadingId:ot.loadingId,userSessions:ft,quickLoginEnabled:pt,loginUserSession:st,loading:ut.loading,loaded:ut.loaded,refresh:ut.refreshAsync}}async function didSpacesIsRequired(a){var et;if((et=a==null?void 0:a.didSpace)!=null&&et.endpoint||!window.blocklet||window.self!==window.top||window.location.origin===new URL(DID_SPACES_BASE_URL).origin||window.location.href.includes(BLOCKLET_SERVICE_PATH_PREFIX))return!1;const{componentMountPoints:j}=window.blocklet,[,_e]=window.blocklet.componentId.split("/");return j.some(tt=>{var nt;return((nt=tt==null?void 0:tt.capabilities)==null?void 0:nt.didSpace)==="requiredOnConnect"&&_e===tt.did})}const SvgDidSpacesGuideCover=a=>reactExports.createElement("svg",{width:"100%",height:"100%",viewBox:"0 0 440 167",fill:"none",xmlns:"http://www.w3.org/2000/svg",...a},reactExports.createElement("g",{clipPath:"url(#clip0_6169_38)"},reactExports.createElement("rect",{width:440,height:167,rx:8,fill:"url(#paint0_linear_6169_38)",style:{}}),reactExports.createElement("g",{style:{mixBlendMode:"overlay"},opacity:.4,clipPath:"url(#clip1_6169_38)"},reactExports.createElement("mask",{id:"mask0_6169_38",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:0,y:-183,width:441,height:395},reactExports.createElement("path",{d:"M220.481 167.765L220.481 124.104L176.673 124.104L176.673 167.765L220.481 167.765ZM220.481 211.426L220.481 167.765L176.673 167.765L176.673 211.426L220.481 211.426ZM176.673 167.765L176.673 124.104L132.865 124.104L132.865 167.765L176.673 167.765ZM132.865 167.765L132.865 124.104L89.0575 124.104L89.0575 167.765L132.865 167.765ZM89.0575 167.765L89.0575 124.104L45.2497 124.104L45.2497 167.765L89.0575 167.765ZM45.2497 167.765L45.2497 124.104L1.44191 124.104L1.44191 167.765L45.2497 167.765ZM176.673 211.426L176.673 167.765L132.865 167.765L132.865 211.426L176.673 211.426ZM132.865 211.426L132.865 167.765L89.0575 167.765L89.0575 211.426L132.865 211.426ZM89.0575 211.426L89.0575 167.765L45.2497 167.765L45.2497 211.426L89.0575 211.426ZM45.2497 211.426L45.2497 167.765L1.44191 167.765L1.44191 211.426L45.2497 211.426ZM264.289 167.765L264.289 124.104L220.481 124.104L220.481 167.765L264.289 167.765ZM264.289 211.426L264.289 167.765L220.481 167.765L220.481 211.426L264.289 211.426ZM308.096 167.765L308.096 124.104L264.289 124.104L264.289 167.765L308.096 167.765ZM308.096 211.426L308.096 167.765L264.289 167.765L264.289 211.426L308.096 211.426ZM351.904 167.765L351.904 124.104L308.096 124.104L308.096 167.765L351.904 167.765ZM351.904 211.426L351.904 167.765L308.096 167.765L308.096 211.426L351.904 211.426ZM395.712 167.765L395.712 124.104L351.904 124.104L351.904 167.765L395.712 167.765ZM395.712 211.426L395.712 167.765L351.904 167.765L351.904 211.426L395.712 211.426ZM439.52 167.765L439.52 124.104L395.712 124.104L395.712 167.765L439.52 167.765ZM439.52 211.426L439.52 167.765L395.712 167.765L395.712 211.426L439.52 211.426ZM220.481 124.104L220.481 80.4433L176.673 80.4433L176.673 124.104L220.481 124.104ZM176.673 124.104L176.673 80.4433L132.865 80.4433L132.865 124.104L176.673 124.104ZM132.865 124.104L132.865 80.4433L89.0575 80.4433L89.0575 124.104L132.865 124.104ZM89.0575 124.104L89.0575 80.4433L45.2497 80.4433L45.2497 124.104L89.0575 124.104ZM45.2497 124.104L45.2497 80.4433L1.44191 80.4433L1.44191 124.104L45.2497 124.104ZM264.289 124.104L264.289 80.4433L220.481 80.4433L220.481 124.104L264.289 124.104ZM308.096 124.104L308.096 80.4433L264.289 80.4433L264.289 124.104L308.096 124.104ZM351.904 124.104L351.904 80.4433L308.096 80.4433L308.096 124.104L351.904 124.104ZM395.712 124.104L395.712 80.4433L351.904 80.4433L351.904 124.104L395.712 124.104ZM439.52 124.104L439.52 80.4433L395.712 80.4433L395.712 124.104L439.52 124.104ZM220.481 80.4433L220.481 36.7825L176.673 36.7825L176.673 80.4433L220.481 80.4433ZM176.673 80.4433L176.673 36.7825L132.865 36.7825L132.865 80.4433L176.673 80.4433ZM132.865 80.4433L132.865 36.7825L89.0575 36.7825L89.0575 80.4433L132.865 80.4433ZM89.0575 80.4433L89.0575 36.7825L45.2497 36.7825L45.2497 80.4433L89.0575 80.4433ZM45.2497 80.4433L45.2497 36.7825L1.44192 36.7825L1.44191 80.4433L45.2497 80.4433ZM132.865 36.7825L132.865 -6.87825L89.0575 -6.87825L89.0575 36.7825L132.865 36.7825ZM132.865 -6.87825L132.865 -50.539L89.0575 -50.539L89.0575 -6.87825L132.865 -6.87825ZM132.865 -50.539L132.865 -94.1998L89.0575 -94.1998L89.0575 -50.539L132.865 -50.539ZM132.865 -94.1998L132.865 -137.861L89.0575 -137.861L89.0575 -94.1998L132.865 -94.1998ZM132.865 -137.861L132.865 -181.521L89.0575 -181.521L89.0575 -137.861L132.865 -137.861ZM176.673 -6.87825L176.673 -50.539L132.865 -50.539L132.865 -6.87825L176.673 -6.87825ZM176.673 -50.539L176.673 -94.1998L132.865 -94.1998L132.865 -50.539L176.673 -50.539ZM176.673 -94.1998L176.673 -137.861L132.865 -137.861L132.865 -94.1998L176.673 -94.1998ZM176.673 -137.861L176.673 -181.521L132.865 -181.521L132.865 -137.861L176.673 -137.861ZM89.0575 36.7825L89.0575 -6.87825L45.2497 -6.87825L45.2497 36.7825L89.0575 36.7825ZM89.0575 -6.87825L89.0575 -50.539L45.2497 -50.539L45.2497 -6.87825L89.0575 -6.87825ZM89.0575 -50.539L89.0575 -94.1998L45.2497 -94.1998L45.2497 -50.539L89.0575 -50.539ZM89.0575 -94.1998L89.0575 -137.861L45.2497 -137.861L45.2497 -94.1998L89.0575 -94.1998ZM89.0575 -137.861L89.0575 -181.521L45.2497 -181.521L45.2497 -137.861L89.0575 -137.861ZM45.2497 36.7825L45.2497 -6.87825L1.44192 -6.87825L1.44192 36.7825L45.2497 36.7825ZM45.2497 -6.87825L45.2497 -50.539L1.44192 -50.539L1.44192 -6.87825L45.2497 -6.87825ZM45.2497 -50.539L45.2497 -94.1998L1.44192 -94.1998L1.44192 -50.539L45.2497 -50.539ZM45.2497 -94.1998L45.2497 -137.861L1.44192 -137.861L1.44192 -94.1998L45.2497 -94.1998ZM45.2497 -137.861L45.2497 -181.521L1.44193 -181.521L1.44192 -137.861L45.2497 -137.861ZM264.289 80.4433L264.289 36.7825L220.481 36.7825L220.481 80.4433L264.289 80.4433ZM308.096 80.4433L308.096 36.7825L264.289 36.7825L264.289 80.4433L308.096 80.4433ZM351.904 80.4433L351.904 36.7825L308.096 36.7825L308.096 80.4433L351.904 80.4433ZM395.712 80.4433L395.712 36.7825L351.904 36.7825L351.904 80.4433L395.712 80.4433ZM439.52 80.4433L439.52 36.7825L395.712 36.7825L395.712 80.4433L439.52 80.4433ZM220.481 36.7825L220.481 -6.87824L176.673 -6.87825L176.673 36.7825L220.481 36.7825ZM220.481 -6.87824L220.481 -50.539L176.673 -50.539L176.673 -6.87825L220.481 -6.87824ZM220.481 -50.539L220.481 -94.1998L176.673 -94.1998L176.673 -50.539L220.481 -50.539ZM220.481 -94.1998L220.481 -137.861L176.673 -137.861L176.673 -94.1998L220.481 -94.1998ZM220.481 -137.861L220.481 -181.521L176.673 -181.521L176.673 -137.861L220.481 -137.861ZM176.673 36.7825L176.673 -6.87825L132.865 -6.87825L132.865 36.7825L176.673 36.7825ZM264.289 36.7825L264.289 -6.87824L220.481 -6.87824L220.481 36.7825L264.289 36.7825ZM264.289 -6.87824L264.289 -50.539L220.481 -50.539L220.481 -6.87824L264.289 -6.87824ZM264.289 -50.539L264.289 -94.1998L220.481 -94.1998L220.481 -50.539L264.289 -50.539ZM264.289 -94.1998L264.289 -137.861L220.481 -137.861L220.481 -94.1998L264.289 -94.1998ZM264.289 -137.861L264.289 -181.521L220.481 -181.521L220.481 -137.861L264.289 -137.861ZM308.096 36.7825L308.096 -6.87824L264.289 -6.87824L264.289 36.7825L308.096 36.7825ZM308.096 -6.87824L308.096 -50.539L264.289 -50.539L264.289 -6.87824L308.096 -6.87824ZM308.096 -50.539L308.096 -94.1998L264.289 -94.1998L264.289 -50.539L308.096 -50.539ZM308.096 -94.1998L308.096 -137.861L264.289 -137.861L264.289 -94.1998L308.096 -94.1998ZM308.096 -137.861L308.096 -181.521L264.289 -181.521L264.289 -137.861L308.096 -137.861ZM351.904 36.7825L351.904 -6.87824L308.096 -6.87824L308.096 36.7825L351.904 36.7825ZM351.904 -6.87824L351.904 -50.539L308.096 -50.539L308.096 -6.87824L351.904 -6.87824ZM351.904 -50.539L351.904 -94.1997L308.096 -94.1998L308.096 -50.539L351.904 -50.539ZM351.904 -94.1997L351.904 -137.861L308.096 -137.861L308.096 -94.1998L351.904 -94.1997ZM351.904 -137.861L351.904 -181.521L308.096 -181.521L308.096 -137.861L351.904 -137.861ZM395.712 36.7825L395.712 -6.87824L351.904 -6.87824L351.904 36.7825L395.712 36.7825ZM395.712 -6.87824L395.712 -50.539L351.904 -50.539L351.904 -6.87824L395.712 -6.87824ZM395.712 -50.539L395.712 -94.1997L351.904 -94.1997L351.904 -50.539L395.712 -50.539ZM395.712 -94.1997L395.712 -137.861L351.904 -137.861L351.904 -94.1997L395.712 -94.1997ZM395.712 -137.861L395.712 -181.521L351.904 -181.521L351.904 -137.861L395.712 -137.861ZM439.52 36.7825L439.52 -6.87823L395.712 -6.87824L395.712 36.7825L439.52 36.7825ZM439.52 -6.87823L439.52 -50.539L395.712 -50.539L395.712 -6.87824L439.52 -6.87823ZM439.52 -50.539L439.52 -94.1997L395.712 -94.1997L395.712 -50.539L439.52 -50.539ZM439.52 -94.1997L439.52 -137.861L395.712 -137.861L395.712 -94.1997L439.52 -94.1997ZM439.52 -137.861L439.52 -181.521L395.712 -181.521L395.712 -137.861L439.52 -137.861Z",fill:"#070707",fillOpacity:.4,style:{fill:"#070707",fill:"color(display-p3 0.0275 0.0275 0.0275)",fillOpacity:.4}}),reactExports.createElement("path",{d:"M220.481 167.765L220.481 124.104M220.481 167.765L176.673 167.765M220.481 167.765L220.481 211.426M220.481 167.765L264.289 167.765M220.481 124.104L176.673 124.104M220.481 124.104L264.289 124.104M220.481 124.104L220.481 80.4433M176.673 167.765L176.673 124.104M176.673 167.765L176.673 211.426M176.673 167.765L132.865 167.765M220.481 211.426L176.673 211.426M220.481 211.426L264.289 211.426M264.289 167.765L264.289 124.104M264.289 167.765L264.289 211.426M264.289 167.765L308.096 167.765M176.673 124.104L132.865 124.104M176.673 124.104L176.673 80.4433M264.289 124.104L308.096 124.104M264.289 124.104L264.289 80.4433M220.481 80.4433L176.673 80.4433M220.481 80.4433L264.289 80.4433M220.481 80.4433L220.481 36.7825M132.865 124.104L132.865 167.765M132.865 124.104L89.0575 124.104M132.865 124.104L132.865 80.4433M176.673 80.4433L132.865 80.4433M176.673 80.4433L176.673 36.7825M176.673 211.426L132.865 211.426M132.865 167.765L89.0575 167.765M132.865 167.765L132.865 211.426M264.289 211.426L308.096 211.426M132.865 211.426L89.0575 211.426M89.0575 124.104L89.0575 167.765M89.0575 124.104L45.2497 124.104M89.0575 124.104L89.0575 80.4433M132.865 80.4433L89.0575 80.4433M132.865 80.4433L132.865 36.7825M89.0575 167.765L45.2497 167.765M89.0575 167.765L89.0575 211.426M45.2497 124.104L45.2497 167.765M45.2497 124.104L1.44192 124.104M45.2497 124.104L45.2497 80.4433M89.0575 80.4433L45.2497 80.4433M89.0575 80.4433L89.0575 36.7825M45.2497 167.765L1.44192 167.765M45.2497 167.765L45.2497 211.426M89.0575 211.426L45.2497 211.426M1.44192 124.104L1.44192 167.765M1.44192 124.104L1.44193 80.4433M45.2497 80.4433L1.44193 80.4433M45.2497 80.4433L45.2497 36.7825M1.44192 167.765L1.44192 211.426L45.2497 211.426M1.44193 80.4433L1.44193 36.7825M308.096 167.765L308.096 124.104M308.096 167.765L308.096 211.426M308.096 167.765L351.904 167.765M308.096 124.104L351.904 124.104M308.096 124.104L308.096 80.4433M264.289 80.4433L308.096 80.4433M264.289 80.4433L264.289 36.7825M308.096 211.426L351.904 211.426M351.904 167.765L351.904 124.104M351.904 167.765L351.904 211.426M351.904 167.765L395.712 167.765M351.904 124.104L395.712 124.104M351.904 124.104L351.904 80.4433M308.096 80.4433L351.904 80.4433M308.096 80.4433L308.096 36.7825M351.904 211.426L395.712 211.426M395.712 167.765L395.712 124.104M395.712 167.765L395.712 211.426M395.712 167.765L439.52 167.765M395.712 124.104L439.52 124.104M395.712 124.104L395.712 80.4433M351.904 80.4433L395.712 80.4433M351.904 80.4433L351.904 36.7825M395.712 211.426L439.52 211.426L439.52 167.765M439.52 167.765L439.52 124.104M439.52 124.104L439.52 80.4433M395.712 80.4433L439.52 80.4433M395.712 80.4433L395.712 36.7825M439.52 80.4433L439.52 36.7825M220.481 36.7825L176.673 36.7825M220.481 36.7825L264.289 36.7825M220.481 36.7825L220.481 -6.87824M176.673 36.7825L132.865 36.7825M176.673 36.7825L176.673 -6.87824M132.865 36.7825L89.0575 36.7825M132.865 36.7825L132.865 -6.87825M89.0575 36.7825L45.2497 36.7825M89.0575 36.7825L89.0575 -6.87825M45.2497 36.7825L1.44193 36.7825M45.2497 36.7825L45.2497 -6.87825M1.44193 36.7825L1.44193 -6.87825M264.289 36.7825L308.096 36.7825M264.289 36.7825L264.289 -6.87824M308.096 36.7825L351.904 36.7825M308.096 36.7825L308.096 -6.87824M351.904 36.7825L395.712 36.7825M351.904 36.7825L351.904 -6.87824M395.712 36.7825L439.52 36.7825M395.712 36.7825L395.712 -6.87824M439.52 36.7825L439.52 -6.87823M220.481 -6.87824L176.673 -6.87824M220.481 -6.87824L220.481 -50.539M220.481 -6.87824L264.289 -6.87824M176.673 -6.87824L132.865 -6.87825M176.673 -6.87824L176.673 -50.539M132.865 -6.87825L89.0575 -6.87825M132.865 -6.87825L132.865 -50.539M89.0575 -6.87825L89.0575 -50.539M89.0575 -6.87825L45.2497 -6.87825M45.2497 -6.87825L45.2497 -50.539M45.2497 -6.87825L1.44193 -6.87825M1.44193 -6.87825L1.44193 -50.539M132.865 -50.539L89.0575 -50.539M132.865 -50.539L132.865 -94.1998M132.865 -50.539L176.673 -50.539M89.0575 -50.539L89.0575 -94.1998M89.0575 -50.539L45.2497 -50.539M132.865 -94.1998L89.0575 -94.1998M132.865 -94.1998L132.865 -137.861M132.865 -94.1998L176.673 -94.1998M176.673 -50.539L176.673 -94.1998M176.673 -50.539L220.481 -50.539M89.0575 -94.1998L89.0575 -137.861M89.0575 -94.1998L45.2497 -94.1998M45.2497 -50.539L45.2497 -94.1998M45.2497 -50.539L1.44193 -50.539M132.865 -137.861L89.0575 -137.861M132.865 -137.861L132.865 -181.521M132.865 -137.861L176.673 -137.861M176.673 -94.1998L176.673 -137.861M176.673 -94.1998L220.481 -94.1998M89.0575 -137.861L89.0575 -181.521M89.0575 -137.861L45.2497 -137.861M45.2497 -94.1998L45.2497 -137.861M45.2497 -94.1998L1.44193 -94.1998M132.865 -181.521L89.0575 -181.521M132.865 -181.521L176.673 -181.521M176.673 -137.861L176.673 -181.521M176.673 -137.861L220.481 -137.861M89.0575 -181.521L45.2497 -181.521M45.2497 -137.861L45.2497 -181.521M45.2497 -137.861L1.44194 -137.861M176.673 -181.521L220.481 -181.521M45.2497 -181.521L1.44194 -181.521L1.44194 -137.861M220.481 -50.539L220.481 -94.1998M220.481 -50.539L264.289 -50.539M220.481 -94.1998L220.481 -137.861M220.481 -94.1998L264.289 -94.1998M220.481 -137.861L220.481 -181.521M220.481 -137.861L264.289 -137.861M220.481 -181.521L264.289 -181.521M1.44193 -50.539L1.44193 -94.1998M1.44193 -94.1998L1.44194 -137.861M264.289 -6.87824L264.289 -50.539M264.289 -6.87824L308.096 -6.87824M308.096 -6.87824L308.096 -50.539M308.096 -6.87824L351.904 -6.87824M351.904 -6.87824L351.904 -50.539M351.904 -6.87824L395.712 -6.87824M395.712 -6.87824L395.712 -50.539M395.712 -6.87824L439.52 -6.87823M439.52 -6.87823L439.52 -50.539M264.289 -50.539L264.289 -94.1998M264.289 -50.539L308.096 -50.539M264.289 -94.1998L264.289 -137.861M264.289 -94.1998L308.096 -94.1998M264.289 -137.861L264.289 -181.521M264.289 -137.861L308.096 -137.861M264.289 -181.521L308.096 -181.521M308.096 -50.539L308.096 -94.1998M308.096 -50.539L351.904 -50.539M308.096 -94.1998L308.096 -137.861M308.096 -94.1998L351.904 -94.1997M308.096 -137.861L308.096 -181.521M308.096 -137.861L351.904 -137.861M308.096 -181.521L351.904 -181.521M351.904 -50.539L351.904 -94.1997M351.904 -50.539L395.712 -50.539M351.904 -94.1997L351.904 -137.861M351.904 -94.1997L395.712 -94.1997M351.904 -137.861L351.904 -181.521M351.904 -137.861L395.712 -137.861M351.904 -181.521L395.712 -181.521M395.712 -50.539L395.712 -94.1997M395.712 -50.539L439.52 -50.539M395.712 -94.1997L395.712 -137.861M395.712 -94.1997L439.52 -94.1997M395.712 -137.861L395.712 -181.521M395.712 -137.861L439.52 -137.86M395.712 -181.521L439.52 -181.521L439.52 -137.86M439.52 -50.539L439.52 -94.1997M439.52 -94.1997L439.52 -137.86",stroke:"#151515",style:{stroke:"#151515",stroke:"color(display-p3 0.0824 0.0824 0.0824)",strokeOpacity:1}}),reactExports.createElement("path",{d:"M307.866 80.213L307.866 37.0118L264.52 37.0118L264.52 80.213L307.866 80.213ZM220.251 123.874L220.251 80.6726L176.904 80.6726L176.904 123.874L220.251 123.874ZM176.443 36.5522L176.443 -6.64894L133.096 -6.64894L133.096 36.5522L176.443 36.5522Z",fill:"#070707",fillOpacity:.4,style:{fill:"#070707",fill:"color(display-p3 0.0275 0.0275 0.0275)",fillOpacity:.4}})),reactExports.createElement("g",{mask:"url(#mask0_6169_38)"},reactExports.createElement("path",{d:"M-53.2025 -8.94641C-53.2025 -172.408 72.1172 -304.92 226.706 -304.92C381.296 -304.92 506.615 -172.408 506.615 -8.94638C506.615 154.516 381.296 287.028 226.706 287.028C72.1171 287.028 -53.2025 154.516 -53.2025 -8.94641Z",fill:"url(#paint1_radial_6169_38)",style:{}}))),reactExports.createElement("g",{filter:"url(#filter0_b_6169_38)"},reactExports.createElement("rect",{x:32,y:44,width:101,height:72,rx:12,fill:"white",fillOpacity:.32,style:{fill:"white",fillOpacity:.32}}),reactExports.createElement("rect",{x:32.5,y:44.5,width:100,height:71,rx:11.5,stroke:"white",style:{stroke:"white",strokeOpacity:1}})),reactExports.createElement("g",{filter:"url(#filter1_b_6169_38)"},reactExports.createElement("rect",{x:294,y:44,width:101,height:72,rx:12,fill:"white",fillOpacity:.32,style:{fill:"white",fillOpacity:.32}}),reactExports.createElement("rect",{x:294.5,y:44.5,width:100,height:71,rx:11.5,stroke:"white",style:{stroke:"white",strokeOpacity:1}})),reactExports.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M313.2 74.6715C313.2 73.8588 313.859 73.2 314.672 73.2H330.04C331.433 73.2 332.562 74.3291 332.562 75.722V83.9313C332.562 85.3242 331.433 86.4533 330.04 86.4533H314.605C313.829 86.4533 313.2 85.8244 313.2 85.0486H312C312 86.4871 313.166 87.6533 314.605 87.6533H330.04C332.095 87.6533 333.762 85.9869 333.762 83.9313V75.722C333.762 73.6664 332.095 72 330.04 72H314.672C313.196 72 312 73.1961 312 74.6715H313.2ZM326.112 76.6388C325.586 76.3364 324.964 76.1852 324.245 76.1852H321.734V83.402H324.245C324.964 83.402 325.586 83.2543 326.112 82.9587C326.645 82.6632 327.058 82.2473 327.353 81.7112C327.648 81.1751 327.796 80.5428 327.796 79.8142C327.796 79.0788 327.648 78.4396 327.353 77.8966C327.058 77.3536 326.645 76.9344 326.112 76.6388ZM325.881 81.5978C325.49 82.024 324.932 82.237 324.207 82.237H323.033V77.3502H324.207C324.932 77.3502 325.49 77.5701 325.881 78.01C326.272 78.4499 326.468 79.0513 326.468 79.8142C326.468 80.5703 326.272 81.1648 325.881 81.5978ZM319.121 76.1852H320.42V83.402H319.121V76.1852ZM316.452 76.6388C315.926 76.3363 315.304 76.1851 314.585 76.1851H312.074V83.402H314.585C315.304 83.402 315.926 83.2542 316.452 82.9587C316.985 82.6631 317.398 82.2473 317.693 81.7112C317.988 81.1751 318.136 80.5427 318.136 79.8142C318.136 79.0787 317.988 78.4395 317.693 77.8966C317.398 77.3536 316.985 76.9343 316.452 76.6388ZM316.221 81.5978C315.83 82.0239 315.272 82.237 314.547 82.237H313.373V77.3501H314.547C315.272 77.3501 315.83 77.5701 316.221 78.01C316.612 78.4498 316.808 79.0513 316.808 79.8142C316.808 80.5702 316.612 81.1648 316.221 81.5978ZM329.759 78.8987C330.16 78.8987 330.485 78.5733 330.485 78.1719C330.485 77.7705 330.16 77.4452 329.759 77.4452C329.357 77.4452 329.032 77.7705 329.032 78.1719C329.032 78.5733 329.357 78.8987 329.759 78.8987ZM329.759 82.2903C330.16 82.2903 330.485 81.9649 330.485 81.5635C330.485 81.1621 330.16 80.8368 329.759 80.8368C329.357 80.8368 329.032 81.1621 329.032 81.5635C329.032 81.9649 329.357 82.2903 329.759 82.2903ZM342.773 76.054C342.822 76.0173 342.869 75.9601 342.914 75.8822L343.265 75.1881C342.928 74.8582 342.53 74.6062 342.072 74.4321C341.618 74.2534 341.12 74.1641 340.576 74.1641C340.091 74.1641 339.66 74.242 339.282 74.3977C338.905 74.5489 338.586 74.7528 338.325 75.0094C338.069 75.2614 337.874 75.5523 337.739 75.8822C337.604 76.2121 337.537 76.5534 337.537 76.9062C337.537 77.346 337.602 77.7171 337.732 78.0195C337.863 78.3173 338.036 78.567 338.251 78.7686C338.467 78.9656 338.712 79.126 338.986 79.2497C339.26 79.3734 339.541 79.4834 339.828 79.5796C340.116 79.6712 340.396 79.7605 340.67 79.8476C340.944 79.9346 341.189 80.04 341.405 80.1637C341.62 80.2874 341.793 80.4409 341.924 80.6242C342.054 80.8074 342.119 81.0434 342.119 81.332C342.119 81.5886 342.076 81.8223 341.991 82.033C341.906 82.2438 341.782 82.4248 341.62 82.576C341.463 82.7226 341.268 82.8371 341.034 82.9196C340.801 82.9975 340.536 83.0364 340.239 83.0364C339.875 83.0364 339.565 82.986 339.309 82.8852C339.058 82.7844 338.84 82.6745 338.656 82.5553C338.476 82.4316 338.323 82.3194 338.197 82.2186C338.076 82.1178 337.968 82.0674 337.874 82.0674C337.802 82.0674 337.737 82.0857 337.679 82.1224C337.625 82.159 337.577 82.2048 337.537 82.2598L337.126 82.9608C337.306 83.1578 337.508 83.3365 337.732 83.4969C337.962 83.6526 338.206 83.7878 338.467 83.9023C338.727 84.0123 339.004 84.0971 339.296 84.1566C339.588 84.2208 339.889 84.2528 340.199 84.2528C340.715 84.2528 341.176 84.1727 341.58 84.0123C341.989 83.8474 342.332 83.6229 342.611 83.3388C342.889 83.0547 343.101 82.7226 343.244 82.3423C343.393 81.962 343.467 81.5543 343.467 81.119C343.467 80.7112 343.399 80.3676 343.265 80.0881C343.134 79.8041 342.961 79.5658 342.746 79.3734C342.53 79.1764 342.285 79.0137 342.011 78.8854C341.737 78.7572 341.456 78.6449 341.169 78.5487C340.881 78.4479 340.601 78.3517 340.327 78.2601C340.053 78.1684 339.808 78.0608 339.592 77.937C339.377 77.8133 339.201 77.6644 339.067 77.4903C338.936 77.3162 338.871 77.0963 338.871 76.8306C338.871 76.6244 338.907 76.4343 338.979 76.2602C339.055 76.0815 339.165 75.928 339.309 75.7997C339.453 75.6668 339.63 75.5638 339.842 75.4904C340.057 75.4126 340.306 75.3736 340.589 75.3736C340.89 75.3736 341.149 75.4126 341.364 75.4904C341.58 75.5638 341.764 75.6485 341.917 75.7447C342.074 75.8364 342.204 75.9211 342.308 75.999C342.411 76.0723 342.503 76.109 342.584 76.109C342.66 76.109 342.723 76.0906 342.773 76.054ZM346.832 83.0295C346.585 82.915 346.353 82.7134 346.138 82.4248V79.1191C346.376 78.7984 346.634 78.551 346.913 78.3769C347.196 78.2028 347.528 78.1157 347.91 78.1157C348.171 78.1157 348.404 78.1638 348.611 78.2601C348.817 78.3517 348.99 78.4983 349.13 78.6999C349.273 78.8969 349.381 79.1535 349.453 79.4696C349.529 79.7812 349.568 80.1591 349.568 80.6036C349.568 81.4512 349.401 82.0972 349.069 82.5416C348.741 82.9814 348.276 83.2014 347.674 83.2014C347.364 83.2014 347.083 83.1441 346.832 83.0295ZM346.529 77.7309C346.367 77.8729 346.214 78.031 346.07 78.2051L345.956 77.4285C345.911 77.2498 345.796 77.1605 345.612 77.1605H344.824V86.4864H346.138V83.4556C346.367 83.703 346.627 83.8955 346.919 84.0329C347.211 84.1704 347.562 84.2391 347.971 84.2391C348.429 84.2391 348.84 84.1475 349.204 83.9642C349.572 83.7764 349.882 83.5198 350.134 83.1945C350.39 82.8692 350.585 82.4866 350.72 82.0468C350.859 81.6024 350.929 81.1213 350.929 80.6036C350.929 80.0263 350.866 79.5154 350.74 79.071C350.619 78.6266 350.446 78.2532 350.221 77.9508C349.997 77.6484 349.725 77.4193 349.406 77.2635C349.091 77.1078 348.739 77.0299 348.348 77.0299C348.105 77.0299 347.876 77.0597 347.661 77.1192C347.45 77.1742 347.25 77.2544 347.061 77.3598C346.872 77.4606 346.695 77.5843 346.529 77.7309ZM356.084 81.0434C355.549 81.0617 355.095 81.1053 354.722 81.174C354.35 81.2381 354.046 81.3252 353.813 81.4351C353.579 81.5451 353.411 81.6757 353.307 81.8269C353.204 81.9735 353.152 82.1384 353.152 82.3217C353.152 82.4958 353.179 82.647 353.233 82.7753C353.292 82.899 353.368 83.0021 353.462 83.0845C353.561 83.1624 353.676 83.2197 353.806 83.2563C353.936 83.293 354.078 83.3113 354.231 83.3113C354.433 83.3113 354.617 83.2907 354.783 83.2495C354.954 83.2082 355.113 83.151 355.261 83.0777C355.41 82.9998 355.551 82.9058 355.686 82.7959C355.821 82.6859 355.953 82.5599 356.084 82.4179V81.0434ZM352.229 78.1363C352.611 77.7652 353.024 77.488 353.469 77.3048C353.918 77.1215 354.41 77.0299 354.945 77.0299C355.336 77.0299 355.682 77.0963 355.982 77.2292C356.283 77.3575 356.537 77.5384 356.744 77.7721C356.951 78.0058 357.106 78.2853 357.209 78.6105C357.317 78.9358 357.371 79.2955 357.371 79.6895V84.1429H356.784C356.654 84.1429 356.555 84.1223 356.488 84.081C356.42 84.0352 356.367 83.9527 356.326 83.8336L356.185 83.222C356.009 83.3869 355.836 83.5335 355.666 83.6618C355.495 83.7855 355.315 83.8932 355.127 83.9848C354.943 84.0719 354.745 84.1383 354.534 84.1841C354.323 84.2299 354.089 84.2528 353.833 84.2528C353.563 84.2528 353.31 84.2162 353.072 84.1429C352.838 84.065 352.634 83.9482 352.458 83.7924C352.283 83.6366 352.144 83.4419 352.041 83.2082C351.942 82.9746 351.892 82.702 351.892 82.3904C351.892 82.1155 351.964 81.8521 352.108 81.6001C352.256 81.3435 352.494 81.1144 352.822 80.9128C353.155 80.7112 353.586 80.5463 354.116 80.418C354.651 80.2897 355.306 80.2164 356.084 80.1981V79.6895C356.084 79.1626 355.974 78.7686 355.753 78.5075C355.533 78.2463 355.21 78.1157 354.783 78.1157C354.496 78.1157 354.253 78.1524 354.055 78.2257C353.862 78.299 353.694 78.3815 353.55 78.4731C353.411 78.5601 353.287 78.6403 353.179 78.7136C353.076 78.7869 352.968 78.8236 352.856 78.8236C352.766 78.8236 352.687 78.7984 352.62 78.748C352.557 78.6976 352.506 78.638 352.465 78.5693L352.229 78.1363ZM363.806 78.5899C363.846 78.5579 363.887 78.5166 363.927 78.4662L364.278 77.9714C363.986 77.6782 363.653 77.4514 363.28 77.291C362.908 77.1307 362.476 77.0505 361.987 77.0505C361.466 77.0505 361.003 77.1421 360.599 77.3254C360.194 77.5041 359.853 77.7538 359.574 78.0745C359.3 78.3906 359.091 78.7686 358.948 79.2085C358.808 79.6483 358.739 80.1271 358.739 80.6448C358.739 81.2129 358.817 81.7215 358.975 82.1705C359.132 82.6149 359.345 82.9906 359.615 83.2976C359.889 83.6045 360.21 83.8382 360.578 83.9986C360.951 84.1589 361.351 84.2391 361.778 84.2391C362.025 84.2391 362.267 84.2185 362.505 84.1772C362.748 84.136 362.979 84.0719 363.2 83.9848C363.42 83.8978 363.626 83.7855 363.819 83.6481C364.017 83.5106 364.195 83.3434 364.352 83.1464L363.974 82.6516C363.916 82.5691 363.833 82.5279 363.725 82.5279C363.64 82.5279 363.557 82.5645 363.476 82.6378C363.395 82.7065 363.294 82.7821 363.173 82.8646C363.051 82.9471 362.899 83.025 362.714 83.0983C362.53 83.167 362.297 83.2014 362.014 83.2014C361.722 83.2014 361.457 83.1464 361.218 83.0364C360.98 82.9219 360.778 82.7569 360.612 82.5416C360.446 82.3217 360.318 82.0537 360.228 81.7375C360.138 81.4168 360.093 81.0526 360.093 80.6448C360.093 80.2508 360.136 79.8957 360.221 79.5796C360.307 79.2634 360.43 78.9954 360.592 78.7755C360.758 78.5556 360.965 78.386 361.212 78.2669C361.459 78.1478 361.744 78.0882 362.068 78.0882C362.315 78.0882 362.521 78.118 362.687 78.1776C362.858 78.2326 363.002 78.2944 363.119 78.3631C363.24 78.4273 363.339 78.4891 363.415 78.5487C363.496 78.6037 363.572 78.6312 363.644 78.6312C363.716 78.6312 363.77 78.6174 363.806 78.5899ZM369.995 79.8751C369.995 79.6093 369.957 79.3642 369.88 79.1397C369.808 78.9152 369.701 78.7205 369.557 78.5556C369.413 78.3906 369.238 78.2623 369.031 78.1707C368.825 78.0791 368.586 78.0333 368.317 78.0333C367.764 78.0333 367.329 78.1959 367.01 78.5212C366.695 78.8465 366.495 79.2978 366.41 79.8751H369.995ZM371.08 83.1464C370.918 83.3388 370.732 83.506 370.52 83.6481C370.309 83.7855 370.085 83.8978 369.847 83.9848C369.608 84.0719 369.361 84.136 369.105 84.1772C368.854 84.2185 368.604 84.2391 368.357 84.2391C367.886 84.2391 367.448 84.1589 367.043 83.9986C366.644 83.8336 366.295 83.5954 365.999 83.2838C365.707 82.9677 365.478 82.5783 365.312 82.1155C365.15 81.6482 365.069 81.1121 365.069 80.5073C365.069 80.0217 365.143 79.5704 365.291 79.1535C365.44 78.732 365.651 78.3654 365.925 78.0539C366.203 77.7423 366.543 77.4972 366.942 77.3185C367.342 77.1398 367.791 77.0505 368.29 77.0505C368.708 77.0505 369.092 77.1215 369.442 77.2635C369.797 77.401 370.103 77.6026 370.359 77.8683C370.615 78.1341 370.815 78.4616 370.958 78.8511C371.107 79.2405 371.181 79.6849 371.181 80.1843C371.181 80.3905 371.158 80.5303 371.113 80.6036C371.068 80.6723 370.985 80.7066 370.864 80.7066H366.376C366.39 81.1236 366.448 81.4878 366.552 81.7994C366.655 82.1063 366.796 82.3629 366.976 82.5691C367.16 82.7753 367.378 82.9287 367.63 83.0295C367.881 83.1303 368.162 83.1807 368.472 83.1807C368.764 83.1807 369.016 83.1464 369.227 83.0777C369.442 83.0089 369.626 82.9356 369.779 82.8577C369.936 82.7753 370.067 82.6997 370.17 82.6309C370.278 82.5622 370.372 82.5279 370.453 82.5279C370.561 82.5279 370.644 82.5691 370.702 82.6516L371.08 83.1464ZM376.515 78.4937C376.555 78.4662 376.593 78.4227 376.629 78.3631L376.919 77.8752C376.659 77.6186 376.344 77.417 375.976 77.2704C375.612 77.1238 375.203 77.0505 374.749 77.0505C374.354 77.0505 374.001 77.1078 373.691 77.2223C373.386 77.3323 373.128 77.4812 372.916 77.669C372.71 77.8569 372.55 78.0745 372.438 78.3219C372.33 78.5693 372.276 78.8282 372.276 79.0985C372.276 79.4009 372.326 79.6575 372.425 79.8682C372.528 80.079 372.66 80.2576 372.822 80.4043C372.988 80.5509 373.177 80.6723 373.388 80.7685C373.599 80.8647 373.815 80.9495 374.035 81.0228C374.255 81.0961 374.471 81.1648 374.682 81.229C374.893 81.2931 375.079 81.3687 375.241 81.4557C375.407 81.5428 375.54 81.6482 375.639 81.7719C375.742 81.891 375.794 82.0422 375.794 82.2255C375.794 82.3675 375.767 82.5027 375.713 82.6309C375.659 82.7592 375.576 82.8738 375.464 82.9746C375.356 83.0708 375.219 83.1487 375.053 83.2082C374.886 83.2632 374.691 83.2907 374.466 83.2907C374.197 83.2907 373.972 83.2609 373.792 83.2014C373.613 83.1372 373.46 83.0685 373.334 82.9952C373.208 82.9173 373.101 82.8463 373.011 82.7821C372.921 82.718 372.833 82.6859 372.748 82.6859C372.658 82.6859 372.586 82.7042 372.532 82.7409C372.479 82.773 372.434 82.8211 372.398 82.8852L372.088 83.4007C372.357 83.6481 372.692 83.8519 373.092 84.0123C373.491 84.1727 373.927 84.2528 374.399 84.2528C374.821 84.2528 375.196 84.1956 375.524 84.081C375.852 83.9665 376.126 83.8084 376.346 83.6068C376.571 83.4052 376.739 83.167 376.852 82.8921C376.968 82.6126 377.027 82.3102 377.027 81.9849C377.027 81.7009 376.975 81.4603 376.872 81.2633C376.773 81.0663 376.641 80.8991 376.474 80.7616C376.313 80.6196 376.126 80.5028 375.915 80.4111C375.708 80.3149 375.495 80.2302 375.275 80.1569C375.059 80.0835 374.846 80.0148 374.635 79.9507C374.428 79.882 374.242 79.8064 374.075 79.7239C373.914 79.6414 373.781 79.5429 373.678 79.4284C373.579 79.3138 373.53 79.1695 373.53 78.9954C373.53 78.8625 373.559 78.7388 373.617 78.6243C373.676 78.5052 373.759 78.4044 373.867 78.3219C373.974 78.2349 374.105 78.1684 374.257 78.1226C374.415 78.0722 374.588 78.047 374.776 78.047C375.005 78.047 375.203 78.0722 375.369 78.1226C375.535 78.173 375.679 78.228 375.8 78.2875C375.926 78.3471 376.032 78.4021 376.117 78.4525C376.207 78.5029 376.288 78.5281 376.36 78.5281C376.423 78.5281 376.474 78.5166 376.515 78.4937Z",fill:"#3B82F6",style:{fill:"#3B82F6",fill:"color(display-p3 0.2314 0.5098 0.9647)",fillOpacity:1}}),reactExports.createElement("circle",{cx:83,cy:116,r:12.5,fill:"#25C99B",stroke:"white",style:{fill:"#25C99B",fill:"color(display-p3 0.1451 0.7882 0.6078)",fillOpacity:1,stroke:"white",strokeOpacity:1}}),reactExports.createElement("path",{d:"M89.4855 115.191C89.2876 113.767 88.627 112.447 87.6054 111.436C86.5839 110.424 85.2581 109.776 83.8322 109.592C82.4064 109.408 80.9596 109.698 79.7147 110.417C78.4698 111.137 77.4959 112.245 76.943 113.572M76.5385 110.336V113.572H79.7752M76.5385 116.809C76.7363 118.233 77.3969 119.553 78.4185 120.564C79.44 121.576 80.7659 122.224 82.1917 122.408C83.6176 122.592 85.0644 122.302 86.3092 121.583C87.5541 120.863 88.528 119.755 89.0809 118.428M89.4855 121.664V118.428H86.2487",stroke:"white",style:{stroke:"white",strokeOpacity:1},strokeWidth:1.4,strokeLinecap:"round",strokeLinejoin:"round"}),reactExports.createElement("circle",{cx:345,cy:116,r:12.5,fill:"#25C99B",stroke:"white",style:{fill:"#25C99B",fill:"color(display-p3 0.1451 0.7882 0.6078)",fillOpacity:1,stroke:"white",strokeOpacity:1}}),reactExports.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M344.65 109.176C344.385 108.941 343.987 108.941 343.722 109.176C342.172 110.547 340.15 111.26 338.084 111.166C337.761 111.151 337.471 111.358 337.38 111.668C337.026 112.871 336.918 114.134 337.062 115.38C337.205 116.626 337.598 117.831 338.217 118.922C338.835 120.014 339.667 120.969 340.662 121.733C341.657 122.497 342.796 123.053 344.01 123.368C344.126 123.398 344.247 123.398 344.363 123.367C344.477 123.338 344.592 123.306 344.707 123.271C345.077 123.16 345.288 122.77 345.177 122.4C345.066 122.03 344.676 121.819 344.305 121.93C344.266 121.942 344.226 121.953 344.186 121.965C343.219 121.69 342.312 121.235 341.514 120.623C340.668 119.973 339.961 119.16 339.435 118.232C338.909 117.304 338.575 116.279 338.452 115.219C338.35 114.334 338.398 113.44 338.591 112.573C340.62 112.542 342.584 111.852 344.186 110.609C345.788 111.852 347.752 112.542 349.78 112.573C350.052 113.79 350.035 115.057 349.726 116.27C349.631 116.645 349.857 117.026 350.232 117.121C350.607 117.216 350.988 116.99 351.083 116.615C351.497 114.988 351.465 113.279 350.992 111.668C350.901 111.358 350.61 111.151 350.288 111.166C348.221 111.26 346.199 110.547 344.65 109.176ZM348.537 120.771V123.411C348.537 123.798 348.851 124.111 349.237 124.111C349.624 124.111 349.937 123.798 349.937 123.411V120.771L350.907 121.741C351.181 122.015 351.624 122.015 351.897 121.741C352.171 121.468 352.171 121.025 351.897 120.751L349.732 118.586C349.459 118.313 349.016 118.313 348.742 118.586L346.577 120.751C346.304 121.025 346.304 121.468 346.577 121.741C346.851 122.015 347.294 122.015 347.567 121.741L348.537 120.771Z",fill:"white",style:{fill:"white",fillOpacity:1}}),reactExports.createElement("path",{d:"M59.7255 80.496V84H58.5855V80.496L55.2735 75.432H56.6295L59.1975 79.512L61.7055 75.432H63.0015L59.7255 80.496ZM63.0868 80.904C63.0868 81.28 63.1348 81.616 63.2308 81.912C63.3348 82.2 63.4748 82.444 63.6508 82.644C63.8268 82.836 64.0308 82.984 64.2628 83.088C64.5028 83.192 64.7548 83.244 65.0188 83.244C65.2828 83.244 65.5308 83.192 65.7628 83.088C66.0028 82.984 66.2108 82.836 66.3868 82.644C66.5628 82.444 66.6988 82.2 66.7948 81.912C66.8988 81.616 66.9508 81.28 66.9508 80.904C66.9508 80.528 66.8988 80.196 66.7948 79.908C66.6988 79.612 66.5628 79.364 66.3868 79.164C66.2108 78.964 66.0028 78.812 65.7628 78.708C65.5308 78.604 65.2828 78.552 65.0188 78.552C64.7548 78.552 64.5028 78.604 64.2628 78.708C64.0308 78.812 63.8268 78.964 63.6508 79.164C63.4748 79.364 63.3348 79.612 63.2308 79.908C63.1348 80.196 63.0868 80.528 63.0868 80.904ZM62.0068 80.904C62.0068 80.448 62.0708 80.024 62.1988 79.632C62.3268 79.232 62.5188 78.888 62.7748 78.6C63.0308 78.304 63.3468 78.072 63.7228 77.904C64.0988 77.736 64.5308 77.652 65.0188 77.652C65.5148 77.652 65.9468 77.736 66.3148 77.904C66.6908 78.072 67.0068 78.304 67.2628 78.6C67.5188 78.888 67.7108 79.232 67.8388 79.632C67.9668 80.024 68.0308 80.448 68.0308 80.904C68.0308 81.36 67.9668 81.784 67.8388 82.176C67.7108 82.568 67.5188 82.912 67.2628 83.208C67.0068 83.496 66.6908 83.724 66.3148 83.892C65.9468 84.052 65.5148 84.132 65.0188 84.132C64.5308 84.132 64.0988 84.052 63.7228 83.892C63.3468 83.724 63.0308 83.496 62.7748 83.208C62.5188 82.912 62.3268 82.568 62.1988 82.176C62.0708 81.784 62.0068 81.36 62.0068 80.904ZM74.2495 84H73.2895V83.016H73.2655C73.0495 83.4 72.7735 83.684 72.4375 83.868C72.1015 84.044 71.7055 84.132 71.2495 84.132C70.8415 84.132 70.5015 84.08 70.2295 83.976C69.9575 83.864 69.7375 83.708 69.5695 83.508C69.4015 83.308 69.2815 83.072 69.2095 82.8C69.1455 82.52 69.1135 82.212 69.1135 81.876V77.796H70.1335V81.996C70.1335 82.38 70.2455 82.684 70.4695 82.908C70.6935 83.132 71.0015 83.244 71.3935 83.244C71.7055 83.244 71.9735 83.196 72.1975 83.1C72.4295 83.004 72.6215 82.868 72.7735 82.692C72.9255 82.516 73.0375 82.312 73.1095 82.08C73.1895 81.84 73.2295 81.58 73.2295 81.3V77.796H74.2495V84ZM75.6254 77.796H76.5854V79.104H76.6094C76.8574 78.6 77.1614 78.228 77.5214 77.988C77.8814 77.748 78.3374 77.636 78.8894 77.652V78.732C78.4814 78.732 78.1334 78.788 77.8454 78.9C77.5574 79.012 77.3254 79.176 77.1494 79.392C76.9734 79.608 76.8454 79.872 76.7654 80.184C76.6854 80.488 76.6454 80.84 76.6454 81.24V84H75.6254V77.796ZM84.0654 83.04H85.9614C86.0894 83.04 86.2494 83.032 86.4414 83.016C86.6334 82.992 86.8374 82.944 87.0534 82.872C87.2694 82.792 87.4814 82.68 87.6894 82.536C87.9054 82.392 88.0974 82.196 88.2654 81.948C88.4334 81.7 88.5694 81.392 88.6734 81.024C88.7854 80.648 88.8414 80.196 88.8414 79.668C88.8414 79.156 88.7894 78.7 88.6854 78.3C88.5894 77.892 88.4254 77.548 88.1934 77.268C87.9694 76.98 87.6774 76.764 87.3174 76.62C86.9574 76.468 86.5134 76.392 85.9854 76.392H84.0654V83.04ZM82.9254 75.432H85.8654C87.1854 75.432 88.2014 75.768 88.9134 76.44C89.6254 77.112 89.9814 78.136 89.9814 79.512C89.9814 80.232 89.9014 80.872 89.7414 81.432C89.5814 81.984 89.3334 82.452 88.9974 82.836C88.6614 83.212 88.2334 83.5 87.7134 83.7C87.1934 83.9 86.5774 84 85.8654 84H82.9254V75.432ZM96.5826 83.976C96.4066 84.08 96.1626 84.132 95.8506 84.132C95.5866 84.132 95.3746 84.06 95.2146 83.916C95.0626 83.764 94.9866 83.52 94.9866 83.184C94.7066 83.52 94.3786 83.764 94.0026 83.916C93.6346 84.06 93.2346 84.132 92.8026 84.132C92.5226 84.132 92.2546 84.1 91.9986 84.036C91.7506 83.972 91.5346 83.872 91.3506 83.736C91.1666 83.6 91.0186 83.424 90.9066 83.208C90.8026 82.984 90.7506 82.716 90.7506 82.404C90.7506 82.052 90.8106 81.764 90.9306 81.54C91.0506 81.316 91.2066 81.136 91.3986 81C91.5986 80.856 91.8226 80.748 92.0706 80.676C92.3266 80.604 92.5866 80.544 92.8506 80.496C93.1306 80.44 93.3946 80.4 93.6426 80.376C93.8986 80.344 94.1226 80.304 94.3146 80.256C94.5066 80.2 94.6586 80.124 94.7706 80.028C94.8826 79.924 94.9386 79.776 94.9386 79.584C94.9386 79.36 94.8946 79.18 94.8066 79.044C94.7266 78.908 94.6186 78.804 94.4826 78.732C94.3546 78.66 94.2066 78.612 94.0386 78.588C93.8786 78.564 93.7186 78.552 93.5586 78.552C93.1266 78.552 92.7666 78.636 92.4786 78.804C92.1906 78.964 92.0346 79.272 92.0106 79.728H90.9906C91.0066 79.344 91.0866 79.02 91.2306 78.756C91.3746 78.492 91.5666 78.28 91.8066 78.12C92.0466 77.952 92.3186 77.832 92.6226 77.76C92.9346 77.688 93.2666 77.652 93.6186 77.652C93.8986 77.652 94.1746 77.672 94.4466 77.712C94.7266 77.752 94.9786 77.836 95.2026 77.964C95.4266 78.084 95.6066 78.256 95.7426 78.48C95.8786 78.704 95.9466 78.996 95.9466 79.356V82.548C95.9466 82.788 95.9586 82.964 95.9826 83.076C96.0146 83.188 96.1106 83.244 96.2706 83.244C96.3586 83.244 96.4626 83.224 96.5826 83.184V83.976ZM94.9266 80.796C94.7986 80.892 94.6306 80.964 94.4226 81.012C94.2146 81.052 93.9946 81.088 93.7626 81.12C93.5386 81.144 93.3106 81.176 93.0786 81.216C92.8466 81.248 92.6386 81.304 92.4546 81.384C92.2706 81.464 92.1186 81.58 91.9986 81.732C91.8866 81.876 91.8306 82.076 91.8306 82.332C91.8306 82.5 91.8626 82.644 91.9266 82.764C91.9986 82.876 92.0866 82.968 92.1906 83.04C92.3026 83.112 92.4306 83.164 92.5746 83.196C92.7186 83.228 92.8706 83.244 93.0306 83.244C93.3666 83.244 93.6546 83.2 93.8946 83.112C94.1346 83.016 94.3306 82.9 94.4826 82.764C94.6346 82.62 94.7466 82.468 94.8186 82.308C94.8906 82.14 94.9266 81.984 94.9266 81.84V80.796ZM97.4479 77.796H98.4679V78.636H98.4919C98.6599 78.292 98.9239 78.044 99.2839 77.892C99.6439 77.732 100.04 77.652 100.472 77.652C100.952 77.652 101.368 77.74 101.72 77.916C102.08 78.092 102.376 78.332 102.608 78.636C102.848 78.932 103.028 79.276 103.148 79.668C103.268 80.06 103.328 80.476 103.328 80.916C103.328 81.356 103.268 81.772 103.148 82.164C103.036 82.556 102.86 82.9 102.62 83.196C102.388 83.484 102.092 83.712 101.732 83.88C101.38 84.048 100.968 84.132 100.496 84.132C100.344 84.132 100.172 84.116 99.9799 84.084C99.7959 84.052 99.6119 84 99.4279 83.928C99.2439 83.856 99.0679 83.76 98.8999 83.64C98.7399 83.512 98.6039 83.356 98.4919 83.172H98.4679V86.364H97.4479V77.796ZM102.248 80.844C102.248 80.556 102.208 80.276 102.128 80.004C102.056 79.724 101.94 79.476 101.78 79.26C101.628 79.044 101.428 78.872 101.18 78.744C100.94 78.616 100.656 78.552 100.328 78.552C99.9839 78.552 99.6919 78.62 99.4519 78.756C99.2119 78.892 99.0159 79.072 98.8639 79.296C98.7119 79.512 98.5999 79.76 98.5279 80.04C98.4639 80.32 98.4319 80.604 98.4319 80.892C98.4319 81.196 98.4679 81.492 98.5399 81.78C98.6119 82.06 98.7239 82.308 98.8759 82.524C99.0359 82.74 99.2399 82.916 99.4879 83.052C99.7359 83.18 100.036 83.244 100.388 83.244C100.74 83.244 101.032 83.176 101.264 83.04C101.504 82.904 101.696 82.724 101.84 82.5C101.984 82.276 102.088 82.02 102.152 81.732C102.216 81.444 102.248 81.148 102.248 80.844ZM104.441 77.796H105.461V78.636H105.485C105.653 78.292 105.917 78.044 106.277 77.892C106.637 77.732 107.033 77.652 107.465 77.652C107.945 77.652 108.361 77.74 108.713 77.916C109.073 78.092 109.369 78.332 109.601 78.636C109.841 78.932 110.021 79.276 110.141 79.668C110.261 80.06 110.321 80.476 110.321 80.916C110.321 81.356 110.261 81.772 110.141 82.164C110.029 82.556 109.853 82.9 109.613 83.196C109.381 83.484 109.085 83.712 108.725 83.88C108.373 84.048 107.961 84.132 107.489 84.132C107.337 84.132 107.165 84.116 106.973 84.084C106.789 84.052 106.605 84 106.421 83.928C106.237 83.856 106.061 83.76 105.893 83.64C105.733 83.512 105.597 83.356 105.485 83.172H105.461V86.364H104.441V77.796ZM109.241 80.844C109.241 80.556 109.201 80.276 109.121 80.004C109.049 79.724 108.933 79.476 108.773 79.26C108.621 79.044 108.421 78.872 108.173 78.744C107.933 78.616 107.649 78.552 107.321 78.552C106.977 78.552 106.685 78.62 106.445 78.756C106.205 78.892 106.009 79.072 105.857 79.296C105.705 79.512 105.593 79.76 105.521 80.04C105.457 80.32 105.425 80.604 105.425 80.892C105.425 81.196 105.461 81.492 105.533 81.78C105.605 82.06 105.717 82.308 105.869 82.524C106.029 82.74 106.233 82.916 106.481 83.052C106.729 83.18 107.029 83.244 107.381 83.244C107.733 83.244 108.025 83.176 108.257 83.04C108.497 82.904 108.689 82.724 108.833 82.5C108.977 82.276 109.081 82.02 109.145 81.732C109.209 81.444 109.241 81.148 109.241 80.844Z",fill:"#3B82F6",style:{fill:"#3B82F6",fill:"color(display-p3 0.2314 0.5098 0.9647)",fillOpacity:1}}),reactExports.createElement("path",{d:"M290.5 83L285.5 80.1132V85.8868L290.5 83ZM139 83.5H140.01V82.5H139V83.5ZM144.05 83.5H146.07V82.5H144.05V83.5ZM150.11 83.5H152.13V82.5H150.11V83.5ZM156.17 83.5H158.19V82.5H156.17V83.5ZM162.23 83.5H164.25V82.5H162.23V83.5ZM168.29 83.5H170.31V82.5H168.29V83.5ZM174.35 83.5H176.37V82.5H174.35V83.5ZM180.41 83.5H182.43V82.5H180.41V83.5ZM186.47 83.5H188.49V82.5H186.47V83.5ZM192.53 83.5H194.55V82.5H192.53V83.5ZM198.59 83.5H200.61V82.5H198.59V83.5ZM204.65 83.5H206.67V82.5H204.65V83.5ZM210.71 83.5H212.73V82.5H210.71V83.5ZM216.77 83.5H218.79V82.5H216.77V83.5ZM222.83 83.5H224.85V82.5H222.83V83.5ZM228.89 83.5H230.91V82.5H228.89V83.5ZM234.95 83.5H236.97V82.5H234.95V83.5ZM241.01 83.5H243.03V82.5H241.01V83.5ZM247.07 83.5H249.09V82.5H247.07V83.5ZM253.13 83.5H255.15V82.5H253.13V83.5ZM259.19 83.5H261.21V82.5H259.19V83.5ZM265.25 83.5H267.27V82.5H265.25V83.5ZM271.31 83.5H273.33V82.5H271.31V83.5ZM277.37 83.5H279.39V82.5H277.37V83.5ZM283.43 83.5H285.45V82.5H283.43V83.5Z",fill:"#030712",style:{fill:"#030712",fill:"color(display-p3 0.0118 0.0275 0.0706)",fillOpacity:1}}),reactExports.createElement("circle",{cx:254,cy:83,r:15.5,fill:"#25C99B",stroke:"white",style:{fill:"#25C99B",fill:"color(display-p3 0.1451 0.7882 0.6078)",fillOpacity:1,stroke:"white",strokeOpacity:1}}),reactExports.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M249.8 82.6002C249.8 83.3734 249.173 84.0002 248.4 84.0002C247.627 84.0002 247 83.3734 247 82.6002C247 81.827 247.627 81.2002 248.4 81.2002C249.173 81.2002 249.8 81.827 249.8 82.6002ZM255.4 82.6002C255.4 83.3734 254.773 84.0002 254 84.0002C253.227 84.0002 252.6 83.3734 252.6 82.6002C252.6 81.827 253.227 81.2002 254 81.2002C254.773 81.2002 255.4 81.827 255.4 82.6002ZM259.6 84.0002C260.373 84.0002 261 83.3734 261 82.6002C261 81.827 260.373 81.2002 259.6 81.2002C258.827 81.2002 258.2 81.827 258.2 82.6002C258.2 83.3734 258.827 84.0002 259.6 84.0002Z",fill:"white",style:{fill:"white",fillOpacity:1}}),reactExports.createElement("circle",{cx:227,cy:83,r:15.5,fill:"#3B82F6",stroke:"white",style:{fill:"#3B82F6",fill:"color(display-p3 0.2314 0.5098 0.9647)",fillOpacity:1,stroke:"white",strokeOpacity:1}}),reactExports.createElement("path",{d:"M230 80.9996L234.553 78.7236C234.705 78.6475 234.875 78.6115 235.045 78.6192C235.215 78.6268 235.381 78.6779 235.526 78.7674C235.671 78.857 235.79 78.9821 235.873 79.1309C235.956 79.2797 236 79.4472 236 79.6176V86.3816C236 86.552 235.956 86.7196 235.873 86.8684C235.79 87.0172 235.671 87.1423 235.526 87.2318C235.381 87.3214 235.215 87.3724 235.045 87.3801C234.875 87.3878 234.705 87.3518 234.553 87.2756L230 84.9996V80.9996Z",fill:"#3B82F6",style:{fill:"#3B82F6",fill:"color(display-p3 0.2314 0.5098 0.9647)",fillOpacity:1}}),reactExports.createElement("path",{d:"M218 79C218 78.4696 218.211 77.9609 218.586 77.5858C218.961 77.2107 219.47 77 220 77H228C228.53 77 229.039 77.2107 229.414 77.5858C229.789 77.9609 230 78.4696 230 79V87C230 87.5304 229.789 88.0391 229.414 88.4142C229.039 88.7893 228.53 89 228 89H220C219.47 89 218.961 88.7893 218.586 88.4142C218.211 88.0391 218 87.5304 218 87V79Z",fill:"#3B82F6",style:{fill:"#3B82F6",fill:"color(display-p3 0.2314 0.5098 0.9647)",fillOpacity:1}}),reactExports.createElement("path",{d:"M230 80.9996L234.553 78.7236C234.705 78.6475 234.875 78.6115 235.045 78.6192C235.215 78.6268 235.381 78.6779 235.526 78.7674C235.671 78.857 235.79 78.9821 235.873 79.1309C235.956 79.2797 236 79.4472 236 79.6176V86.3816C236 86.552 235.956 86.7196 235.873 86.8684C235.79 87.0172 235.671 87.1423 235.526 87.2318C235.381 87.3214 235.215 87.3724 235.045 87.3801C234.875 87.3878 234.705 87.3518 234.553 87.2756L230 84.9996V80.9996Z",stroke:"white",style:{stroke:"white",strokeOpacity:1},strokeWidth:1.4,strokeLinecap:"round",strokeLinejoin:"round"}),reactExports.createElement("path",{d:"M218 79C218 78.4696 218.211 77.9609 218.586 77.5858C218.961 77.2107 219.47 77 220 77H228C228.53 77 229.039 77.2107 229.414 77.5858C229.789 77.9609 230 78.4696 230 79V87C230 87.5304 229.789 88.0391 229.414 88.4142C229.039 88.7893 228.53 89 228 89H220C219.47 89 218.961 88.7893 218.586 88.4142C218.211 88.0391 218 87.5304 218 87V79Z",stroke:"white",style:{stroke:"white",strokeOpacity:1},strokeWidth:1.4,strokeLinecap:"round",strokeLinejoin:"round"}),reactExports.createElement("circle",{cx:200,cy:83,r:15.5,fill:"#25C99B",stroke:"white",style:{fill:"#25C99B",fill:"color(display-p3 0.1451 0.7882 0.6078)",fillOpacity:1,stroke:"white",strokeOpacity:1}}),reactExports.createElement("path",{d:"M202 74V78C202 78.2652 202.105 78.5196 202.293 78.7071C202.48 78.8946 202.735 79 203 79H207M202 74H195C194.47 74 193.961 74.2107 193.586 74.5858C193.211 74.9609 193 75.4696 193 76V90C193 90.5304 193.211 91.0391 193.586 91.4142C193.961 91.7893 194.47 92 195 92H205C205.53 92 206.039 91.7893 206.414 91.4142C206.789 91.0391 207 90.5304 207 90V79M202 74L207 79M198 84L197 86L198 88M202 84L203 86L202 88",stroke:"white",style:{stroke:"white",strokeOpacity:1},strokeWidth:1.4,strokeLinecap:"round",strokeLinejoin:"round"}),reactExports.createElement("circle",{cx:173,cy:83,r:15.5,fill:"#3B82F6",stroke:"white",style:{fill:"#3B82F6",fill:"color(display-p3 0.2314 0.5098 0.9647)",fillOpacity:1,stroke:"white",strokeOpacity:1}}),reactExports.createElement("path",{d:"M175.667 79.4444H175.676M165 86.5554L169.444 82.111C170.269 81.3172 171.286 81.3172 172.111 82.111L176.556 86.5554M174.778 84.7776L175.667 83.8887C176.492 83.095 177.508 83.095 178.333 83.8887L181 86.5554M165 77.6667C165 76.9594 165.281 76.2811 165.781 75.781C166.281 75.281 166.959 75 167.667 75H178.333C179.041 75 179.719 75.281 180.219 75.781C180.719 76.2811 181 76.9594 181 77.6667V88.3333C181 89.0406 180.719 89.7189 180.219 90.219C179.719 90.719 179.041 91 178.333 91H167.667C166.959 91 166.281 90.719 165.781 90.219C165.281 89.7189 165 89.0406 165 88.3333V77.6667Z",stroke:"white",style:{stroke:"white",strokeOpacity:1},strokeWidth:1.4,strokeLinecap:"round",strokeLinejoin:"round"})),reactExports.createElement("defs",null,reactExports.createElement("filter",{id:"filter0_b_6169_38",x:28,y:40,width:109,height:80,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},reactExports.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),reactExports.createElement("feGaussianBlur",{in:"BackgroundImageFix",stdDeviation:2}),reactExports.createElement("feComposite",{in2:"SourceAlpha",operator:"in",result:"effect1_backgroundBlur_6169_38"}),reactExports.createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_backgroundBlur_6169_38",result:"shape"})),reactExports.createElement("filter",{id:"filter1_b_6169_38",x:290,y:40,width:109,height:80,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},reactExports.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),reactExports.createElement("feGaussianBlur",{in:"BackgroundImageFix",stdDeviation:2}),reactExports.createElement("feComposite",{in2:"SourceAlpha",operator:"in",result:"effect1_backgroundBlur_6169_38"}),reactExports.createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_backgroundBlur_6169_38",result:"shape"})),reactExports.createElement("linearGradient",{id:"paint0_linear_6169_38",x1:440,y1:15,x2:198121e-10,y2:159.5,gradientUnits:"userSpaceOnUse"},reactExports.createElement("stop",{stopColor:"#A2B7FF",style:{stopColor:"#A2B7FF",stopColor:"color(display-p3 0.6353 0.7189 0.9997)",stopOpacity:1}}),reactExports.createElement("stop",{offset:.633654,stopColor:"#E7F4FC",style:{stopColor:"#E7F4FC",stopColor:"color(display-p3 0.9059 0.9569 0.9882)",stopOpacity:1}}),reactExports.createElement("stop",{offset:1,stopColor:"#8BC0FF",style:{stopColor:"#8BC0FF",stopColor:"color(display-p3 0.5451 0.7547 1.0000)",stopOpacity:1}})),reactExports.createElement("radialGradient",{id:"paint1_radial_6169_38",cx:0,cy:0,r:1,gradientUnits:"userSpaceOnUse",gradientTransform:"translate(226.706 -8.94639) rotate(-180) scale(279.909 295.974)"},reactExports.createElement("stop",{stopColor:"#F6FAFF",style:{stopColor:"#F6FAFF",stopColor:"color(display-p3 0.9630 0.9821 1.0000)",stopOpacity:1}}),reactExports.createElement("stop",{offset:1,stopColor:"#8EC7FF",stopOpacity:0,style:{stopColor:"none",stopOpacity:0}})),reactExports.createElement("clipPath",{id:"clip0_6169_38"},reactExports.createElement("rect",{width:440,height:167,fill:"white",style:{fill:"white",fillOpacity:1}})),reactExports.createElement("clipPath",{id:"clip1_6169_38"},reactExports.createElement("rect",{width:394,height:439,fill:"white",style:{fill:"white",fillOpacity:1},transform:"translate(440 -182) rotate(90)"})))),SvgDidSpacesGuideIcon=a=>reactExports.createElement("svg",{width:16,height:16,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...a},reactExports.createElement("g",{id:"icon"},reactExports.createElement("path",{id:"Union",fillRule:"evenodd",clipRule:"evenodd",d:"M14 8C14 11.3137 11.3137 14 8 14C4.68629 14 2 11.3137 2 8C2 4.68629 4.68629 2 8 2C11.3137 2 14 4.68629 14 8ZM15 8C15 11.866 11.866 15 8 15C4.13401 15 1 11.866 1 8C1 4.13401 4.13401 1 8 1C11.866 1 15 4.13401 15 8ZM10.6585 6.75529C10.852 6.55827 10.8491 6.2417 10.6521 6.04821C10.4551 5.85472 10.1385 5.85759 9.94501 6.05461L7.16878 8.88151L5.95903 7.64968C5.76554 7.45266 5.44897 7.4498 5.25195 7.64329C5.05493 7.83678 5.05207 8.15335 5.24556 8.35037L6.81204 9.94545C6.90606 10.0412 7.0346 10.0951 7.16878 10.0951C7.30296 10.0951 7.4315 10.0412 7.52552 9.94545L10.6585 6.75529Z",fill:"#3B82F6",style:{fill:"#3B82F6",fill:"color(display-p3 0.2314 0.5098 0.9647)",fillOpacity:1}})));function useLocale(){return getBrowserLang()}var flat=flatten;flatten.flatten=flatten;flatten.unflatten=unflatten;function isBuffer(a){return a&&a.constructor&&typeof a.constructor.isBuffer=="function"&&a.constructor.isBuffer(a)}function keyIdentity(a){return a}function flatten(a,j){j=j||{};const _e=j.delimiter||".",et=j.maxDepth,tt=j.transformKey||keyIdentity,nt={};function rt(it,ot,ut){ut=ut||1,Object.keys(it).forEach(function(st){const ct=it[st],ft=j.safe&&Array.isArray(ct),pt=Object.prototype.toString.call(ct),yt=isBuffer(ct),mt=pt==="[object Object]"||pt==="[object Array]",bt=ot?ot+_e+tt(st):tt(st);if(!ft&&!yt&&mt&&Object.keys(ct).length&&(!j.maxDepth||ut<et))return rt(ct,bt,ut+1);nt[bt]=ct})}return rt(a),nt}function unflatten(a,j){j=j||{};const _e=j.delimiter||".",et=j.overwrite||!1,tt=j.transformKey||keyIdentity,nt={};if(isBuffer(a)||Object.prototype.toString.call(a)!=="[object Object]")return a;function it(st){const ct=Number(st);return isNaN(ct)||st.indexOf(".")!==-1||j.object?st:ct}function ot(st,ct,ft){return Object.keys(ft).reduce(function(pt,yt){return pt[st+_e+yt]=ft[yt],pt},ct)}function ut(st){const ct=Object.prototype.toString.call(st),ft=ct==="[object Array]",pt=ct==="[object Object]";if(st){if(ft)return!st.length;if(pt)return!Object.keys(st).length}else return!0}return a=Object.keys(a).reduce(function(st,ct){const ft=Object.prototype.toString.call(a[ct]);return!(ft==="[object Object]"||ft==="[object Array]")||ut(a[ct])?(st[ct]=a[ct],st):ot(ct,st,flatten(a[ct],j))},{}),Object.keys(a).forEach(function(st){const ct=st.split(_e).map(tt);let ft=it(ct.shift()),pt=it(ct[0]),yt=nt;for(;pt!==void 0;){if(ft==="__proto__")return;const mt=Object.prototype.toString.call(yt[ft]),bt=mt==="[object Object]"||mt==="[object Array]";if(!et&&!bt&&typeof yt[ft]<"u")return;(et&&!bt||!et&&yt[ft]==null)&&(yt[ft]=typeof pt=="number"&&!j.object?[]:{}),yt=yt[ft],ct.length>0&&(ft=it(ct.shift()),pt=it(ct[0]))}yt[ft]=unflatten(a[st],j)}),nt}const flat$1=getDefaultExportFromCjs$1(flat),en$3=flat$1({didSpacesGuide:{title:"Connect to DID Spaces",description:"Your secure, private, and reliable decentralized digital storage space.",feature:{dataSecurity:"Data Security",dataSharing:"Data Sharing",dataSync:"Data Sync",dataIntegration:"Data Integration"},connectNow:"Connect Now"}}),zh$1=flat$1({didSpacesGuide:{title:"连接到 DID Spaces",description:"您的安全、私密、可靠的分散式数字存储空间。",feature:{dataSecurity:"数据安全",dataSharing:"数据共享",dataSync:"数据同步",dataIntegration:"数据集成"},connectNow:"立即连接"}}),locales={en:en$3,zh:zh$1},replace=(a,j)=>a.replace(/{(\w*)}/g,(_e,et)=>Object.prototype.hasOwnProperty.call(j,et)?j[et]:"");function t(a,j="en",_e={}){const et=j in locales?j:"en";return replace(locales[et][a],_e)||a}function useMobile(a="sm"){const j=useTheme$2();return useMediaQuery(j.breakpoints.down(a))}function DIDSpacesGuideView(a){const j=useLocale(),_e=useMobile(),et=useCreation(()=>[t("didSpacesGuide.feature.dataSecurity",j),t("didSpacesGuide.feature.dataSharing",j),t("didSpacesGuide.feature.dataSync",j),t("didSpacesGuide.feature.dataIntegration",j)],[]);return jsxRuntimeExports.jsxs(Dialog$1,{disableEscapeKeyDown:!0,"aria-labelledby":"alert-dialog-title","aria-describedby":"alert-dialog-description",open:a.open,children:[jsxRuntimeExports.jsxs(DialogTitle,{id:"alert-dialog-title",children:[jsxRuntimeExports.jsx(Typography$1,{sx:{fontSize:"20px",fontWeight:"500"},children:t("didSpacesGuide.title",j)}),jsxRuntimeExports.jsx(Typography$1,{sx:{fontSize:"14px",fontWeight:"300",color:"#9397A1"},children:t("didSpacesGuide.description",j)})]}),jsxRuntimeExports.jsxs(DialogContent,{sx:{padding:"12px 20px !important"},children:[jsxRuntimeExports.jsx(ImageListItem,{sx:{width:"100%"},children:jsxRuntimeExports.jsx(SvgDidSpacesGuideCover,{style:{width:"100%",height:_e?"100%":"167px"}})}),jsxRuntimeExports.jsx(Stack,{direction:"row",sx:{justifyContent:"space-between",width:"100%",padding:"16px",mt:1,backgroundColor:"#F6F6F6",borderRadius:"8px"},children:et.map(tt=>jsxRuntimeExports.jsxs(Box,{sx:{display:"flex",flex:1,padding:"auto 16px"},children:[jsxRuntimeExports.jsx(SvgDidSpacesGuideIcon,{size:"16px"}),jsxRuntimeExports.jsx(Typography$1,{variant:"body1",sx:{marginLeft:"1.5px",color:"#030712",fontFamily:"Helvetica Neue",fontSize:"12px",fontStyle:"normal",fontWeight:"400",lineHeight:"normal",letterSpacing:"-0.12px"},children:tt})]},tt))})]}),jsxRuntimeExports.jsx(DialogActions,{children:jsxRuntimeExports.jsx(Button,{variant:"contained",size:"small",onClick:a.onConnect,sx:{boxShadow:"none"},children:t("didSpacesGuide.connectNow",j)})})]})}DIDSpacesGuideView.defaultProps={open:!1,onConnect:()=>{}};DIDSpacesGuideView.propTypes={open:PropTypes.bool,onConnect:PropTypes.func};function useDIDSpacesGuide(a={}){const[j,_e]=reactExports.useState(!1),[et,tt]=reactExports.useState(()=>{}),nt=()=>{_e(!0)},rt=()=>{_e(!1)},it=ot=>{tt(()=>ot)};return{DidSpacesGuideView:jsxRuntimeExports.jsx(DIDSpacesGuideView,{...a,open:j,onConnect:et}),didSpacesGuideApi:{open:nt,close:rt,onConnect:it}}}const sdk=getBlockletSDK(),{Provider:Provider$5,Consumer:Consumer$5}=SessionContext$1,didConnectTimeoutError={en:"DID Connect timeout, please reopen DID Connect popup",zh:"DID Connect 超时, 请重新打开 DID Connect"},waitForDidConnect={en:"DID Connect is already opened, please wait for it to complete",zh:"DID Connect 已打开,请等待完成"};function createSessionContext(a=SESSION_TOKEN_STORAGE_KEY,j="ls",_e={},et={}){var st;let tt="/";(st=globalThis==null?void 0:globalThis.blocklet)!=null&&st.prefix&&(tt=globalThis.blocklet.prefix),typeof et=="boolean"&&(et={appendAuthServicePrefix:et,extraParams:{}}),defaultsDeep(et,{rolling:!0,appendAuthServicePrefix:!1,extraParams:{},refreshTokenStorageKey:REFRESH_TOKEN_STORAGE_KEY});function nt(ct){if(ct!=null&&ct.user){const ft={did:ct.user.did,host:window.location.host,appPid:window.blocklet.appPid,visitorId:getVisitorId$1(),sourceAppPid:ct.user.sourceAppPid,fullName:ct.user.fullName};debug$4("bridge callArc: onLogin",ft),default_1$l.callArc("onLogin",ft)}else default_1$l.callArc("onLogin",{error:"no user",code:400}),debug$4("notifyBridge failed",{sessionState:ct})}const rt=createStorage(a,j,_e),it=createStorage(et.refreshTokenStorageKey,"ls");function ot(ct){var rr,Zn;const{connectApi:ft,connectHolder:pt}=useConnect(),[yt,mt]=reactExports.useState(0),bt=useBrowser(),xt=new URLSearchParams(window.location.search),$t=useReactive({extraParams:{},options:{},currentLocale:ct.locale,allowWallet:void 0,openMode:"window",get autoConnect(){return typeof ct.autoConnect=="boolean"?ct.autoConnect:!!ct.autoLogin},get prefix(){return et.appendAuthServicePrefix||ct.appendAuthServicePrefix?joinURL$2(BLOCKLET_SERVICE_PATH_PREFIX,ct.prefix):ct.prefix},get notificationPrefix(){const zn="/api/notifications";return et.appendAuthServicePrefix||ct.appendAuthServicePrefix?joinURL$2(BLOCKLET_SERVICE_PATH_PREFIX,zn):zn}}),kt=useReactive({action:ct.action,error:"",initialized:!1,loading:!1,open:!1,user:null,provider:"",walletOS:"",baseUrl:"",unReadCount:0}),Pt=useCreation(()=>ct.locale||$t.currentLocale||getBrowserLang(),[ct.locale,$t.currentLocale]),{confirmApi:Nt,confirmHolder:Ot}=useConfirm(),Ft=useMemoizedFn(()=>{if(kt.open&&!bt.arcSphere){const zn=waitForDidConnect[Pt]||waitForDidConnect.en;throw Toast$1.warning(zn),new Error(zn)}}),Vt=useCreation(()=>new EventEmitter$1,[]),Zt=useMemoizedFn((zn,jn,Mn)=>{const ur={login:[EVENTS.LOGIN,EVENTS.CANCEL_LOGIN],"bind-wallet":[EVENTS.BIND_WALLET,EVENTS.CANCEL_BIND_WALLET],"switch-passport":[EVENTS.SWITCH_PASSPORT,EVENTS.CANCEL_SWITCH_PASSPORT],"switch-profile":[EVENTS.SWITCH_PROFILE,EVENTS.CANCEL_SWITCH_PROFILE],"switch-did":[EVENTS.LOGIN,EVENTS.CANCEL_LOGIN],"did-space-connected":[EVENTS.DID_SPACE_CONNECTED]};if(!Object.keys(ur).includes(zn))return;const er=async(...Xn)=>{isFunction$4(jn)&&await jn(...Xn),Vt.emit(zn,...Xn)};Vt.once(ur[zn][0],er),Vt.once(ur[zn][1],async(...Xn)=>{isFunction$4(er)&&Vt.off(ur[zn][0],er),isFunction$4(Mn)&&await Mn(...Xn),Vt.emit(`cancel-${zn}`,...Xn)})}),on=usePrevious(kt.initialized,(zn,jn)=>zn!==jn||zn===!0&&jn===!0),{syncSessionSate:Ht,handleRefreshUser:It,handleRefreshToken:Tt,renewToken:dt,clearSession:ht,handleLoginResult:Et,decrypt:St,service:Rt,getSessionToken:wt,getRefreshToken:Ct,setRefreshToken:At,setSessionToken:vt}=useSessionToken({state:kt,pageState:$t,sessionTokenStorage:rt,refreshTokenStorage:it,serviceHost:ct.serviceHost,apiOptions:ct.apiOptions,lazyRefreshToken:ct.lazyRefreshToken}),Lt=useMemoizedFn((zn,jn={},Mn={})=>{Ft();const ur=zn;typeof ur=="object"&&(zn=ur.onSuccess,jn=ur.extraParams||{},Mn=ur.options||{},Mn.origin=ur.origin||""),(!kt.user||Mn.origin==="switch-did")&&(Mn.origin==="switch-did"?Zt("switch-did",zn,ur==null?void 0:ur.onCancel):Zt("login",zn,ur==null?void 0:ur.onCancel),$t.extraParams=jn,$t.options=Mn,kt.action="login",Kt())}),Yt=useMemoizedFn(async(zn,jn={},Mn={})=>{var cn;Ft();const ur=zn;typeof ur=="object"&&(zn=ur.onSuccess,jn=ur.extraParams||{},Mn=ur.options||{}),isUndefined$1(jn==null?void 0:jn.inviter)&&window.localStorage.getItem("inviter")&&(jn.inviter=window.localStorage.getItem("inviter"));const{params:er}=await decodeUrlParams();if(isUndefined$1(jn==null?void 0:jn.forceConnected)&&(er!=null&&er.forceConnected)&&(jn.forceConnected=er.forceConnected,isUndefined$1(Mn.showQuickConnect)&&(Mn.showQuickConnect=!1)),isUndefined$1(jn==null?void 0:jn.sourceAppPid)&&!isUndefined$1(er==null?void 0:er.sourceAppPid)&&(jn.sourceAppPid=er.sourceAppPid),(jn==null?void 0:jn.openMode)==="redirect"){const tn=(jn==null?void 0:jn.redirect)||"/",Ut=new URL(`${BLOCKLET_SERVICE_PATH_PREFIX}/login`,window.location.origin);Ut.searchParams.set("redirect",tn),jn!=null&&jn.forceConnected&&Ut.searchParams.set("forceConnected",jn==null?void 0:jn.forceConnected),isUndefined$1(jn==null?void 0:jn.sourceAppPid)||Ut.searchParams.set("sourceAppPid",jn==null?void 0:jn.sourceAppPid),isUndefined$1(jn==null?void 0:jn.inviter)||Ut.searchParams.set("inviter",jn==null?void 0:jn.inviter),Mn!=null&&Mn.origin&&Ut.searchParams.set("origin",Mn.origin),window.location.href=Ut.href;return}let Xn=jn==null?void 0:jn.sourceAppPid;isUndefined$1(Xn)&&Tn&&(Xn=Ln.appPid),await pWaitFor$1(()=>kt.initialized),typeof Mn=="string"&&(Mn={origin:Mn});const Cr=cloneDeep(jn);Cr.passkeyBehavior="both",$t.allowWallet=void 0;const nn=(Cr==null?void 0:Cr.openMode)||((cn=ct==null?void 0:ct.extraParams)==null?void 0:cn.openMode);isUndefined$1(nn)?Xn?Xn!==globalThis.blocklet.appPid&&getFederatedEnabled(globalThis.blocklet)&&($t.openMode="window"):$t.openMode="popup":$t.openMode=nn,Xn?kt.baseUrl=globalThis.blocklet.appUrl:kt.baseUrl="",Lt(zn,Cr,Mn)}),jt=useMemoizedFn(async zn=>{const jn=getVisitorId$1();if(globalThis.blocklet&&(sdk.user.logout({visitorId:jn}).catch(Mn=>{console.warn("Failed to logout remote",Mn)}),await sleep$1(100)),globalThis.blocklet){const Mn={visitorId:jn,appPid:globalThis.blocklet.appPid,userDid:kt.user.did};debug$4("bridge callArc: onLogout",Mn),default_1$l.callArc("onLogout",Mn)}ht(),Mt(),kt.user=null,kt.provider="",kt.walletOS="",kt.error="",kt.loading=!1,Vt.emit("logout"),typeof zn=="function"&&zn()}),{userSessions:Gt,refresh:Wt,loaded:Jt,loginUserSession:dn}=useQuickConnect({appPid:getCurrentAppPid(kt.user),loginAppPid:(rr=globalThis==null?void 0:globalThis.blocklet)==null?void 0:rr.appPid,sourceAppPid:(Zn=kt==null?void 0:kt.user)==null?void 0:Zn.sourceAppPid,autoFetch:!1,fetchAll:!0}),vn=useMemoizedFn(async()=>{kt!=null&&kt.user||await new Promise(zn=>{Yt(()=>{zn()})})}),zt=useMemoizedFn((zn,jn={},Mn={})=>{Ft();const ur=zn;typeof ur=="object"&&(zn=ur.onSuccess,jn=ur.extraParams||{},Mn=ur.options||{}),typeof Mn=="string"&&(Mn={origin:Mn}),Mn!=null&&Mn.userSession?dn(Mn.userSession).then(er=>{updateConnectedInfo({connected_did:Mn.userSession.user.did,connected_pk:Mn.userSession.user.pk,connected_wallet_os:Mn.userSession.extra.walletOS,connected_app:getAppId$1()},!0),Zt("switch-did",zn),Et({...er,encrypted:!1}),It({showProgress:!0}).then(async()=>{await sleep$1(200),Vt.emit(EVENTS.LOGIN,er,St,Bn.current),nt(Bn.current),await gn()})}):(isUndefined$1(jn==null?void 0:jn.forceConnected)&&(jn.forceConnected=!1),jn.passkeyBehavior="both",Yt(zn,jn,{...Mn,origin:"switch-did"}))}),Bt=useMemoizedFn(async()=>{await sdk.user.refreshProfile()}),Xt=useMemoizedFn(async(zn,jn={})=>{await vn(),Ft();const Mn=zn;typeof Mn=="object"&&(zn=Mn.onSuccess,jn=Mn.extraParams||{}),Zt("switch-profile",zn,Mn==null?void 0:Mn.onCancel),$t.extraParams=jn,$t.options={},kt.action="switch-profile",Kt()}),Qt=useMemoizedFn(async(zn,jn={})=>{await vn(),Ft();const Mn=zn;typeof Mn=="object"&&(zn=Mn.onSuccess,jn=Mn.extraParams||{}),Zt("switch-passport",zn,Mn==null?void 0:Mn.onCancel),$t.extraParams=jn,$t.options={},kt.action="switch-passport",Kt()}),an=useMemoizedFn(async({extraParams:zn={},onSuccess:jn=()=>{},...Mn}={})=>{await vn(),Ft(),$t.extraParams={referrer:window.location.href,purpose:"authorize-for-import",...zn,saveConnect:!1},$t.options={},kt.action="connect-to-did-spaces-for-user",Kt({hideCloseButton:!0,onSuccess:jn,...Mn})}),xn=useMemoizedFn(async({extraParams:zn={},onSuccess:jn={}}={})=>{await vn(),an({extraParams:{purpose:"authorize-for-import",...zn},onSuccess:jn,hideCloseButton:!1})}),{didSpacesGuideApi:mn,DidSpacesGuideView:un}=useDIDSpacesGuide({autoClose:!1}),gn=async({extraParams:zn={},onSuccess:jn=()=>{}}={})=>{await vn(),await didSpacesIsRequired(kt==null?void 0:kt.user)&&(mn.open(),mn.onConnect(()=>{var ur,er,Xn,Cr,nn;const Mn={prefix:"/connect-to-did-space",custom:!0,extraParams:{provider:"wallet",appPid:(ur=window.blocklet)==null?void 0:ur.appPid,appDid:(er=window.blocklet)==null?void 0:er.appId,appName:(Xn=window.blocklet)==null?void 0:Xn.appName,appDescription:(Cr=window.blocklet)==null?void 0:Cr.appDescription,appUrl:(nn=window.blocklet)==null?void 0:nn.appUrl,referrer:window.location.href,...zn},onSuccess:async(cn,tn)=>{const Ut=tn?tn(cn.spaceGateway):cn.spaceGateway;await new BlockletSDK().user.updateDidSpace({spaceGateway:Ut}),await It({showProgress:!0}),await jn(cn,tn),await mn.close(),Vt.emit(EVENTS.DID_SPACE_CONNECTED,cn,tn)},onError:cn=>{console.error(cn),Toast$1.error(cn.message),mn.close()}};ft.openPopup(Mn,{baseUrl:DID_SPACES_BASE_URL})}))},wn=useMemoizedFn(async(zn,jn={})=>{if(await vn(),getWalletDid(kt.user)){zn({},St,Bn.current);return}Ft();const Mn=zn;typeof Mn=="object"&&(zn=Mn.onSuccess),Zt("bind-wallet",zn,Mn==null?void 0:Mn.onCancel),$t.extraParams=jn,$t.options={},kt.action="bind-wallet",Kt()}),En=useMemoizedFn(async zn=>{debug$4("onLogin",{result:zn}),$t.extraParams={},$t.options={},Et(zn),kt.loading=!1,await It({showProgress:!0}),await sleep$1(200),kt.action==="login"?(debug$4("onLogin: emit LOGIN event",{result:zn}),Vt.emit(EVENTS.LOGIN,zn,St,Bn.current),nt(Bn.current),gn()):kt.action==="switch-passport"&&Vt.emit(EVENTS.SWITCH_PASSPORT,zn,St,Bn.current)}),Pn=useMemoizedFn(zn=>{$t.extraParams={},$t.options={},Et(zn),kt.loading=!1,It({showProgress:!0}).then(async()=>{await sleep$1(100),Vt.emit(EVENTS.BIND_WALLET,zn,St,Bn.current)})}),Vn=useMemoizedFn(zn=>{$t.extraParams={},$t.options={},kt.loading=!1,It({showProgress:!0}).then(async()=>{await sleep$1(100),Vt.emit(EVENTS.SWITCH_PROFILE,zn,St,Bn.current)})}),yn=useMemoizedFn(zn=>{$t.extraParams={},$t.options={},Mt();const jn={login:EVENTS.CANCEL_LOGIN,"switch-profile":EVENTS.CANCEL_SWITCH_PROFILE,"switch-passport":EVENTS.CANCEL_SWITCH_PASSPORT,"bind-wallet":EVENTS.CANCEL_BIND_WALLET};Vt.emit(jn[zn])}),fn=useMemoizedFn((zn,...jn)=>{try{Kn[zn](...jn)}catch(Mn){logger$2.error("Catch error in onSuccess",{action:zn,args:jn,err:Mn})}}),{federatedMaster:ln,federatedEnabled:Tn,master:Ln}=useFederated({locale:Pt,decrypt:St,login:Lt,handleLoginResult:Et,handleRefreshUser:It,setRefreshToken:At,setSessionToken:vt}),{checkMatch:_n}=useProtectedRoutes({protectedRoutes:ct.protectedRoutes||[]}),rn=useLatest(Gt),qt=useMemoizedFn(async()=>(Jt||(await Wt(),await sleep$1(100)),rn.current)),Mt=useMemoizedFn(()=>{kt.open=!1,ft.close()}),Kt=async(zn={})=>{var Cr,nn,cn,tn,Ut,sn,An;let jn=kt.action;((Cr=$t==null?void 0:$t.options)==null?void 0:Cr.origin)==="switch-did"&&(jn=(nn=$t==null?void 0:$t.options)==null?void 0:nn.origin);const Mn=translations$4[jn],ur=Mn[Pt]||Mn.en,er={...et.extraParams,...ct.extraParams,...$t.extraParams,previousUserDid:(cn=kt==null?void 0:kt.user)==null?void 0:cn.did,email:(tn=kt==null?void 0:kt.user)==null?void 0:tn.email};if(jn==="switch-did"&&(er!=null&&er.forceConnected)){const Sn=(kn,Hn={})=>translate(translations$4["switch-specified-did"],kn,Pt,"en",Hn);ur.title=Sn("title"),ur.scan=Sn("scan",{did:er.forceConnected}),ur.confirm=Sn("confirm"),ur.success=Sn("success")}er==null||delete er.openMode;const Xn={action:kt.action,locale:Pt,hideCloseButton:zn==null?void 0:zn.hideCloseButton,extraParams:er,options:{...ct.options||{},...$t.options},checkTimeout:ct.timeout,webWalletUrl:ct.webWalletUrl,messages:ur,useSocket:ct.useSocket,...omit$1(ct,["action","locale","appendAuthServicePrefix","autoDisconnect","children","timeout","extraParams","options","webWalletUrl","messages","useSocket","lazyRefreshToken","apiOptions","protectedRoutes"]),...pick($t.extraParams||{},["autoConnect","forceConnected","saveConnect","useSocket","passkeyBehavior"]),prefix:$t.prefix,allowWallet:isUndefined$1($t.allowWallet)?kt.action!=="login"||["1","true",void 0,null].includes((Ut=globalThis.blocklet)==null?void 0:Ut.DID_CONNECT_ALLOW_WALLET):$t.allowWallet,onSuccess:async(...Sn)=>{fn(kt.action,...Sn),isFunction$4(zn==null?void 0:zn.onSuccess)&&await zn.onSuccess(...Sn),kt.open=!1},onClose(...Sn){yn(kt.action,...Sn)},onError(Sn){console.error(Sn)}};if(kt.open=!0,["login"].includes(kt.action)&&$t.openMode==="window"&&!(bt.wallet||bt.arcSphere))try{const Sn={...Xn,baseUrl:window.location.origin};isUrl$2($t.prefix)||(Sn.prefix=joinURL$2(window.location.origin,ct.serviceHost,$t.prefix)),(sn=Sn.extraParams)!=null&&sn.provider||(Sn.extraParams.provider=((An=kt==null?void 0:kt.user)==null?void 0:An.provider)||"wallet"),await ft.openPopup(Sn,{locale:Pt})}catch(Sn){Sn instanceof NotOpenError&&Mt(),Sn.message==="Timeout"?Toast$1.error(didConnectTimeoutError[Pt]||didConnectTimeoutError.en):console.error(Sn)}else ft.open(Xn)},hn=useMemoizedFn(async()=>{const{params:zn,url:jn}=await decodeUrlParams();if(zn){const{switchBehavior:Mn,forceConnected:ur,sourceAppPid:er,showClose:Xn}=zn;ur===kt.user.did?window.history.replaceState(null,"trim",jn):Mn==="required"?zt(()=>{},{openMode:"redirect",redirect:jn,sourceAppPid:er,forceConnected:ur}):Mn==="disabled"?window.history.replaceState(null,"trim",jn):Nt.open({title:translations$4.switchAccountDialog[Pt].title,content:jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:[jsxRuntimeExports.jsx(Typography$1,{variant:"body1",sx:{textAlign:"center",mb:2},children:translations$4.switchAccountDialog[Pt].description}),jsxRuntimeExports.jsxs(Box,{sx:{display:"flex",alignItems:"center",color:colors$2.foregroundsFgBase},children:[jsxRuntimeExports.jsxs(Box,{sx:{display:"flex",flexDirection:"column",alignItems:"center",gap:1.5,lineHeight:1},children:[jsxRuntimeExports.jsx(AvatarWithErrorBoundary,{did:kt.user.did,shape:"circle",variant:"circle",size:80}),jsxRuntimeExports.jsx(DID,{did:kt.user.did,showAvatar:!1,compact:!0,responsive:!1}),translations$4.switchAccountDialog[Pt].currentAccount]}),jsxRuntimeExports.jsx(Box,{sx:{display:"flex",justifyContent:"center",px:2},children:jsxRuntimeExports.jsx(Box,{component:Icon,icon:data$n,fontSize:24,color:colors$2.foregroundsFgMuted,sx:{animation:"right 2.5s linear infinite","@keyframes right":{"0%":{transform:"translateX(-3px)",opacity:0},"60%":{transform:"translateX(3px)",opacity:1},"100%":{transform:"translateX(0px)",opacity:0}}}})}),jsxRuntimeExports.jsxs(Box,{sx:{display:"flex",flexDirection:"column",alignItems:"center",gap:1.5,lineHeight:1,fontWeight:500},children:[jsxRuntimeExports.jsx(AvatarWithErrorBoundary,{did:ur,shape:"circle",variant:"circle",size:80}),jsxRuntimeExports.jsx(DID,{did:ur,showAvatar:!1,compact:!0,responsive:!1}),translations$4.switchAccountDialog[Pt].nextAccount]})]})]}),showCloseButton:Xn,showCancelButton:!1,confirmButtonText:translations$4.switchAccountDialog[Pt].confirm,async onConfirm(Cr){const cn=(await qt()).find(tn=>tn.userDid===ur);if(cn){dn(cn).then(tn=>{updateConnectedInfo({connected_did:cn.user.did,connected_pk:cn.user.pk,connected_wallet_os:cn.extra.walletOS,connected_app:getAppId$1()},!0),Et({...tn,encrypted:!1}),It({showProgress:!0}).then(async()=>{await sleep$1(200),Vt.emit(EVENTS.LOGIN,tn,St,Bn.current),nt(Bn.current),await gn()})}),Cr();return}zt(()=>{Cr(),window.location.replace(jn)},{sourceAppPid:er,forceConnected:ur,enableSwitchApp:!1},{showQuickConnect:!0})}})}}),pn=useMemoizedFn(async(zn,jn)=>{const Mn=Object.assign({login:!0,bindWallet:!0,bindDidSpaces:!1},jn==null?void 0:jn.requirements),ur=(jn==null?void 0:jn.openMode)||"popup";Mn.login&&await vn(),Mn.bindWallet&&await new Promise(er=>{wn(()=>{er()})}),Mn.bindDidSpaces&&(await didSpacesIsRequired(kt==null?void 0:kt.user)||await new Promise(er=>{Mn.bindDidSpaces==="full"?gn({onSuccess(){er()}}):Mn.bindDidSpaces==="read"&&xn({onSuccess(){er()}})})),ur==="window"?ft.openPopup(zn,jn):ur==="popup"&&ft.open(zn)});useUpdateEffect(()=>{mt(kt.unReadCount)},[kt.unReadCount]);const Cn=useMemoizedFn(()=>{xt.get("magicToken")&&xt.delete("magicToken"),window.history.replaceState({},"",`${window.location.pathname}?${xt.toString()}`)}),Fn=useMemoizedFn(zn=>{ft.open({action:"login",locale:Pt,prefix:$t.prefix,useSocket:!1,messages:{title:Pt==="zh"?"验证 MagicLink Token":"Verify MagicLink Token"},magicToken:zn,onSuccess(...jn){En(...jn),Cn()}})}),Un={...kt,loading:$t.autoConnect&&!kt.user||kt.loading,openDidConnect:pn,login:Yt,logout:jt,switchDid:zt,autoSwitchDid:hn,refreshProfile:Bt,switchProfile:Xt,switchPassport:Qt,connectToDidSpaceForImport:xn,connectToDidSpaceForFullAccess:gn,bindWallet:wn,refresh:It,updateConnectedInfo,federatedMaster:ln,useOAuth,OAuthProvider,OAuthConsumer,OAuthContext,usePasskey,PasskeyProvider,PasskeyConsumer,PasskeyContext,useDid,WrapDid,getUserSessions:qt,async loginUserSession(zn){const jn=await dn(zn);updateConnectedInfo({connected_did:zn.user.did,connected_pk:zn.user.pk,connected_wallet_os:zn.extra.walletOS,connected_app:getAppId$1()},!0),Et({...jn,encrypted:!1}),await It({showProgress:!0}),await sleep$1(200),Vt.emit(EVENTS.LOGIN,jn,St,Bn.current),nt(Bn.current),await gn()},unReadCount:yt,setUnReadCount:mt,verifyMagicToken:Fn},Bn=useLatest(Un),tr={api:Rt,events:Vt,storage:rt,connectApi:ft,session:Bn.current},Kn={login:En,"switch-profile":Vn,"switch-passport":En,"bind-wallet":Pn};useUpdateEffect(()=>{if(kt.initialized){const zn=!on;Vt.emit("change",{user:cloneDeep(kt.user),isFirst:zn})}},[kt.user,kt.initialized,Vt]),useUpdateEffect(()=>{kt.initialized&&kt.user&&hn()},[kt.initialized]),useMount(async()=>{const zn=nn=>{window.temporaryDIDConnectOnSuccess instanceof Function?(debug$4("bridgeOnLogin: temporaryDIDConnectOnSuccess",{result:nn}),window.temporaryDIDConnectOnSuccess({...nn,encrypted:!1},cn=>cn)):(debug$4("bridgeOnLogin: onLogin",{result:nn}),En({...nn,encrypted:!1}))};default_1$l.registerBlocklet("callLoginOAuth",nn=>{debug$4("bridge registerBlocklet: callLoginOAuth",nn),ft.loginOAuth({...nn,onLogin:zn})}),default_1$l.registerBlocklet("logout",jt),default_1$l.registerBlocklet("login",nn=>{debug$4("bridge registerBlocklet: login",nn),zn(nn)});const jn=Cookies.get("connected_app"),Mn=getAppId$1();if(ct.autoDisconnect&&jn&&Mn&&jn!==Mn){ht(),kt.initialized=!0,$t.autoConnect?Kt():Mt();return}const ur=wt();let er="web";if(bt.mobile.apple.device?er="ios":bt.mobile.android.device&&(er="android"),(window==null?void 0:window.self)===(window==null?void 0:window.parent)&&bt.wallet&&checkEnableAutoLogin({version:bt.walletVersion,platform:er})){if(!getVisitorId$1()){const cn=await getMobileVisitorId();setVisitorId(cn)}if(!ur)try{kt.loading=!0;const cn=await login();if(cn){await En({sessionToken:cn.sessionToken,refreshToken:cn.refreshToken,visitorId:cn.visitorId,encrypted:!1}),kt.initialized=!0;return}}finally{kt.loading=!1}}if(ur){await It({showProgress:!0}),kt.initialized=!0,kt.user&&await gn();return}if(typeof window<"u"){const nn=new URL(window.location.href),cn=nn.searchParams.get("loginToken");if(cn){Et({loginToken:cn,encrypted:!1}),nn.searchParams.delete("loginToken"),window.history.replaceState({},window.title,nn.href);return}}if(Ct()){await Tt(!0),kt.initialized=!0;return}try{}catch(nn){console.error("Federated: tryAutoLogin failed",nn)}finally{kt.initialized=!0}if($t.autoConnect?Kt():Mt(),bt.arcSphere&&!getVisitorId$1()){debug$4("bridge callArc: getVisitorId");const cn=await default_1$l.callArc("getVisitorId");debug$4("bridge callArc: getVisitorId result",{walletVisitorId:cn}),setVisitorId(cn)}if(bt.arcSphere&&!["/.well-known/service/login","/.well-known/service/connect","/.well-known/service/lost-passport"].includes(window.location.pathname)&&!ur)try{debug$4("bridge callArc: autoLogin");const nn=await default_1$l.callArc("autoLogin");debug$4("bridgecallArc: autoLogin result",nn),nn&&await En({sessionToken:nn.sessionToken,refreshToken:nn.refreshToken,visitorId:nn.visitorId,encrypted:!1})}catch(nn){logger$2.error("Failed to autoLogin ArcSphere",nn)}const Cr=xt.get("magicToken");Cr&&Fn(Cr)});const qn=xt.has("popup");if(_n()&&!kt.initialized)return jsxRuntimeExports.jsx(Center,{children:qn?null:jsxRuntimeExports.jsx(CircularProgress,{})});const gr={locale:Pt,onSwitchPassport:({sessionToken:zn,refreshToken:jn})=>En({sessionToken:zn,refreshToken:jn,encrypted:!1}),onUnbindOAuth:()=>It(),onBindOAuth:()=>It(),onAddPasskey:()=>It(),onRemovePasskey:()=>It()};return jsxRuntimeExports.jsx(Provider$5,{value:tr,children:jsxRuntimeExports.jsx(PasskeyProvider,{...gr,children:jsxRuntimeExports.jsxs(OAuthProvider,{...gr,children:[!kt.open&&typeof ct.children=="function"?ct.children(kt):ct.children,pt,Ot,un,et.rolling&&jsxRuntimeExports.jsx(WindowFocusAware,{callback:()=>dt()}),jsxRuntimeExports.jsx(WindowFocusAware,{callback:Ht})]})})})}ot.propTypes={children:PropTypes.any.isRequired,serviceHost:PropTypes.string,action:PropTypes.string,prefix:PropTypes.string,appendAuthServicePrefix:PropTypes.bool,locale:PropTypes.string,timeout:PropTypes.number,autoConnect:PropTypes.bool,autoDisconnect:PropTypes.bool,useSocket:PropTypes.bool,extraParams:PropTypes.object,options:PropTypes.object,webWalletUrl:PropTypes.string,protectedRoutes:PropTypes.arrayOf(PropTypes.string),apiOptions:PropTypes.object,lazyRefreshToken:PropTypes.bool},ot.defaultProps={serviceHost:tt,locale:"",action:"login",prefix:API_DID_PREFIX,appendAuthServicePrefix:!1,extraParams:{},options:{},autoConnect:!1,autoDisconnect:!0,useSocket:!0,timeout:DEFAULT_TIMEOUT$1*1e3,webWalletUrl:void 0,protectedRoutes:["*"],apiOptions:{},lazyRefreshToken:!1};function ut(ct){return function(pt){return jsxRuntimeExports.jsx(ToastProvider,{children:jsxRuntimeExports.jsx(Consumer$5,{children:yt=>jsxRuntimeExports.jsx(ct,{...pt,...yt})})})}}return{SessionProvider:ct=>jsxRuntimeExports.jsx(ToastProvider,{children:jsxRuntimeExports.jsx(ot,{...ct})}),SessionConsumer:Consumer$5,SessionContext:SessionContext$1,withSession:ut}}function createAuthServiceSessionContext({storageEngine:a="cookie"}={}){var tt,nt,rt;const j=SESSION_TOKEN_STORAGE_KEY,_e=REFRESH_TOKEN_STORAGE_KEY;let et=null;if(typeof window<"u"&&(et=(globalThis.blocklet||{}).componentId),a==="cookie"){let it="/",ot=1;if(typeof window<"u"){const ut=window.env||{},st=window.blocklet||{};it=ut.groupPathPrefix||st.groupPrefix||st.prefix||"",it=it.replace(/\/+$/,""),it=it||"/",st.serverVersion&&(ot=formatCacheTtl((rt=(nt=(tt=window.blocklet)==null?void 0:tt.settings)==null?void 0:nt.session)==null?void 0:rt.cacheTtl,1/24))}return createSessionContext(j,"cookie",{path:it,returnDomain:!1,expireInDays:ot},{appendAuthServicePrefix:!0,extraParams:{componentId:et},refreshTokenStorageKey:_e})}if(a==="localStorage")return createSessionContext(j,"ls",{},!0);throw new Error("storageEngine must be cookie or localStorage")}const{SessionProvider,SessionContext,SessionConsumer,withSession}=createSessionContext("__sst","ls",{},{rolling:!1,refreshTokenStorageKey:"__srt"});function useSessionContext(){return reactExports.useContext(SessionContext)}let client$1;function create$1(a){const j=(window.env&&window.env.apiPrefix?window.env.apiPrefix:"/").replace(/\/$/,""),_e=`//${window.location.host}${j}`;return new browser$4.WsClient(_e,{heartbeatIntervalMs:10*1e3,params:()=>({token:a||getSessionToken()})})}function getWsClient(){return client$1||(client$1=create$1()),client$1}const useSubscription=(a,j=()=>{},_e=[])=>{const{session:et}=useSessionContext();!client$1&&et.user&&(client$1=getWsClient(),client$1.connect()),useSubscription$1({wsClient:client$1,event:a,cb:j,deps:_e})},{Provider:Provider$4,Consumer:Consumer$4}=NodeContext,MAX_RETRY=4,prefix$2=window.env&&window.env.apiPrefix||"/",imgPrefix=`${prefix$2}/images`.replace(/\/+/g,"/"),getSessionInHeader=()=>({authorization:`Bearer ${getSessionToken()}`});function NodeProvider({children:a}){const{t:j,locale:_e}=useLocaleContext(),{session:et,connectApi:tt}=useSessionContext(),nt=createClient(),[rt,it]=reactExports.useState(null),[ot,ut]=reactExports.useState(null),[st,ct]=reactExports.useState(!0),ft=async({silent:mt=!0,retries:bt=MAX_RETRY}={})=>{mt||ct(!0);try{const{info:xt}=await nt.getNodeInfo();xt&&(xt.startAt=new Date-xt.uptime),it(xt)}catch(xt){bt>0?setTimeout(()=>ft({silent:mt,retries:bt-1}),1e3):ut(xt)}finally{ct(!1)}},pt=createProxyClient({client:nt,t:j,locale:_e,enableSessionHardening:rt==null?void 0:rt.enableSessionHardening,connectApi:tt,getSessionToken,setSessionToken,setRefreshToken,session:et});reactExports.useEffect(()=>{ft({silent:!1})},[]);const yt={loading:st,error:ot,info:rt,refresh:ft,api:pt,restApi:api$1,prefix:prefix$2,imgPrefix,getSessionInHeader,ws:{getWsClient,create:create$1,useSubscription},type:"daemon"};return yt.error?jsxRuntimeExports.jsx(Center,{children:jsxRuntimeExports.jsx(Alert,{severity:"error",variant:"icon",children:jsxRuntimeExports.jsxs("div",{children:[yt.error.message==="Network Error"?j("health.connectionErrorTip"):yt.error.message,jsxRuntimeExports.jsx(ButtonComponent,{onClick:()=>ft({silent:!1}),children:jsxRuntimeExports.jsx("span",{style:{color:"#44cdc6",textDecoration:"underline"},children:j("common.retry")})})]})})}):jsxRuntimeExports.jsx(Provider$4,{value:{node:yt},children:a})}function useNodeContext(){const{node:a}=reactExports.useContext(NodeContext);return a}function NodeConnectOwner(){const{info:a}=useNodeContext(),{api:j}=useSessionContext(),{t:_e,locale:et}=useLocaleContext(),[tt,nt]=reactExports.useState(!1),rt=getWebWalletUrl(a),it=()=>{nt(!0)},ot=window.env&&window.env.apiPrefix||"/",ut=()=>{window.location.href=ot},st=(ct,ft)=>{setSessionToken(ft(ct.sessionToken)),setTimeout(()=>{ut()},1e3)};return jsxRuntimeExports.jsxs(Div$4,{children:[jsxRuntimeExports.jsx(AgreeEula,{onGoToNext:it}),jsxRuntimeExports.jsx(DidConnect,{popup:!0,open:tt,className:"stepper-auth",action:"connect-owner",passkeyBehavior:"only-new",checkFn:j.get,checkTimeout:10*60*1e3,webWalletUrl:rt,onSuccess:st,locale:et,messages:{title:_e("setup.connect.title"),scan:_e("setup.connect.scan"),confirm:_e("setup.connect.confirm"),success:_e("setup.connect.success")},dialogStyle:{height:800},onClose:()=>nt(!1)})]})}const Div$4=newStyled.div`
1582
1582
  display: flex;
@@ -1751,17 +1751,17 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
1751
1751
  box-shadow: none;
1752
1752
  background-color: rgba(0, 0, 0, 0.12) !important;
1753
1753
  }
1754
- `;function CheckNodeStatus(){const{t:a}=useLocaleContext(),{info:j={},api:_e}=useNodeContext(),[et,tt]=reactExports.useState(),{status:nt}=j;reactExports.useEffect(()=>{nt===constant$3.SERVER_STATUS.START_FROM_CRASH&&(tt(!0),_e.resetNodeStatus().catch(it=>{console.error(it.message)}))},[nt]);const rt=()=>{tt(!1)};return et?jsxRuntimeExports.jsx(ConfirmDialog,{description:a("dashboard.startFromCrashTip"),confirm:a("common.confirm"),showCancel:!1,color:"primary",onConfirm:rt}):null}function ErrorFallback$1({error:a,resetErrorBoundary:j}){return jsxRuntimeExports.jsx(Center,{children:jsxRuntimeExports.jsxs(Alert,{severity:"error",action:jsxRuntimeExports.jsx(ButtonComponent,{onClick:j,color:"secondary",variant:"outlined",children:"Reload"}),style:{minWidth:480},children:[jsxRuntimeExports.jsx(AlertTitle,{children:"Oops, this application crashed"}),jsxRuntimeExports.jsx(Typography$1,{children:a.message})]})})}var merge=createAssigner(function(a,j,_e){baseMerge(a,j,_e)});const en$2={common:{invalid:"Invalid",about:"About",access:"Access",buy:"Buy",change:"Change",upload:"Upload",accessKey:"Access Keys",action:"Action",actions:"Actions",add:"Add",refresh:"Refresh",address:"Address",afterTime:"After {time}",allow:"Allow",alreadyExist:"already exists",approve:"Approve",approved:"approved",appUrl:"APP Url",auditLogs:"Audit Trail",auditLogsSearch:"Search by action or content",unrecordedUser:"Unrecorded name",unrecordedRole:"Unrecorded role",notificationRecords:"Notifications",author:"Author",avatar:"Avatar",back:"Back",basic:"Basic",basicInfo:"Basic Information",profile:"Profile",bind:"Bind",blocklet:"Blocklet",blocklets:"Blocklets",blockletsStorage:"Blocklets Storage",cacheStorage:"Cache Storage",cancel:"Cancel",certificate:"certificate",category:"Log Topic",click:"Click to copy",close:"Close",selectAll:"Select All",unselectAll:"Unselect All",collapseAll:"Collapse All",community:"Community URL",complete:"Complete",componentBasicInfo:"Component Basic Information",components:"Blocklets",config:"Configure",configuration:"Configuration",appearance:"Appearance",configNavigation:"Navigation",configSuccess:"Config successfully",confirm:"Confirm",connect:"Connect",console:"Console",continue:"Continue",continueWith:"Continue With",copiedTip:"Copied",optional:"Optional",copyAndClose:"Copy & Close",copyTip:"Click To Copy",coreStorage:"Core Storage",cpu:"CPU",create:"Create",createSuccess:"Create Access Key",created:"Created At",createdAt:"Created At",createdBy:"Created By",dAddress:"Decentralized Identifiers (DID)",dataStorage:"Storage on Local Disk",delConfirm:"Delete",delConfirmDescription:"Confirm delete {data}?",delete:"Delete",dependents:"Dependents",description:"Description",detail:"Detail",did:"DID",disk:"Disk",diskInfo:"Disk Info",docker:"IS Docker",documentation:"Documentation",domain:"Domain",downgradeTo:"Downgrade to",download:"Download",connectToStore:"Connect to Store",blockletStudio:"Studio",uploaded:"Uploaded",downloading:"Downloading",edit:"Edit",email:"Email",phone:"Phone",empty:"Empty",emptyData:"No results found",enable:"Enable",engine:"Engine",env:"Environment",environment:"Environment",expandAll:"Expand All",expired:"Expired",expires:"Expires",export:"Export",externalIp:"External IP",failed:"Failed",filter:"Log Filter",fingerprint:"Fingerprint",finish:"Finish",forbid:"Forbid",free:"Free",general:"General",gitpod:"IS Gitpod",goEULA:'Click to view "End User License Agreement"',group:"Group",image:"IS Image",install:"Install",installed:"Installed",installedAt:"Installed At",installSuccess:"Successfully installed",installing:"Installing",internalIp:"Internal IP",introduction:"Introduction",invite:"Invite",inviting:"Inviting",ip:"IP",isPublic:"Public",issue:"Issue",issuer:"Issuer",item:"Item",joined:"Joined",key:"Key",lastPublishedAt:"Published At",launcher:"Launcher Information",leavePageTip:"Are you sure to leave the page?",link:"Link",loading:"loading",log:"View Logs",logStorage:"Log Storage",login:"Login",logo:"Logo",logout:"Logout",logs:"Logs",manageTeam:"Manage Team",marketplace:"Marketplace",member:"Member",members:"Members",memory:"Memory",meta:"Meta Data",analytics:"Analytics",runtime:"Runtime",traffic:"Traffic",less:"Less",more:"More",mountPoint:"MountPoint",name:"Name",next:"Next",no:"No",noData:"No records to display",notice:"Unexpected bad things will happen if you don't read this!",noticeTitle:"Notice",notification:"Notification",open:"Open",visitStore:"Visit Store",visitTarget:"Visit {name}",management:"Management",os:"Operating System",overview:"Overview",owner:"Owner",page404:"404 Page",passport:"Passport",display:"Display",permission:"Permission",port:"Port",pre:"Previous",preferences:"Preferences",preview:"Preview",protected:"Protected",protocol:"Protocol",purchase:"Purchase",reconnect:"Reconnect",disconnect:"Disconnect",readMore:"More",redirect:"Redirect",redirectCode:"Redirect Code",redirectPermanently:"Permanent Redirect",redirectTemporary:"Temporary Redirect",redirectUrl:"Redirect URL",rewrite:"Rewrite",release:"Release",rewriteUrl:"Rewrite URL",reject:"Reject",reload:"Reload",remark:"Remark",remove:"Remove",removeSuccess:"Remove successfully",renew:"Renew",reportIssue:"Report an issue",required:"Required",requiredErrorText:"{name} is required",resource:"Resource",restart:"Restart",restore:"Restore",retry:"Retry",revoke:"Revoke",role:"Role",running:"running",runtimeInfo:"Runtime Info",save:"Save",saveChanges:"Save Changes",saveSuccess:"Saved successfully",scheduleFailed:"schedule failed",scheduleSuccess:"successfully scheduled",scope:"Scope",screenshot:"Screenshots",search:"Search",security:"Security",serverDid:"Server DID",serverVersion:"Server Version",setting:"Settings",start:"Start",status:"Status",stop:"Stop",storage:"Storage",backup:"Backup",store:"Store",succeeded:"Succeeded",subscription:"Subscription",support:"Support URL or Email",switch:"Switch",team:"Team",the:"The",timeAgo:"{time} ago",title:"Title",type:"Type",unavailable:"Unavailable",update:"Update",updateAvailable:"New version {version} available",updatedAt:"Updated At",updatedBy:"Updated By",upgrade:"Upgrade",upgradeServer:"Upgrade Server",upgradeTo:"Upgrade to",upgrading:"Upgrading",uptime:"Uptime",url:"URL",valid:"Valid",value:"Value",version:"Version",visit:"Visit",waiting:"Waiting",webhook:"Integrations",yes:"Yes",invalidParam:"Invalid Params",launch:"Launch",price:"Price",redirecting:"Redirecting",error:"Error",reminder:"Reminder",normal:"Normal",gateway:"Gateway",verifyNFT:"Verify NFT",errorMessage:"Error Message: ",slugifyHint:"The actual mount point will be: {value}",strategy:"Strategy",auto:"Auto",manual:"Manual",progress:"In progress",fileCount:"File Count",fileSize:"File Size",time:"Time",startTime:"Start time",endTime:"End time",selected:"Selected",timeoutError:"Timeout error",tags:"Tags",sourceApp:"Belong to App",requiredInputPlaceholder:"Please Enter {name}",moveUp:"Move Up",moveDown:"Move Down",enabled:"Enabled",disabled:"Disabled",homepage:"Home Page",homepageTip:"Home Page or Live Demo URL",repository:"Repository",view:"View",expand:"Expand",collapse:"Collapse",all:"All",bugOrConnectDomain:"Purchase or configure existing domain",bugOrConnectDomainTip:"A domain name is your website's unique address on the internet. You can purchase a new domain from DID Names or any domain registrar, or configure an existing domain you already own.",connectExistingDomain:"Configure existing domain",domains:"Domains",didDomains:"DID Domains",didDomainsDescription:"The following domains are automatically managed by the DID:Names service.",systemDomains:"Default Domains",systemDomainsDescription:"The following domains are automatically assigned by default. While they are accessible, they are not intended for production use and should not be shared with customers. These domains are primarily for development purposes.",manualDomains:"My Domains",manualDomainsDescription:"The following domains are managed by your domain provider and have been manually configured to point to here.",timeInfo:"Timing",operator:"Operator",inviter:"Inviter",minutes:"Minutes",hours:"Hours",hour:"Hour",days:"Days",day:"Day",weeks:"Weeks",months:"Months",custom:"Custom",clear:"Clear",ok:"OK",environments:"Environments",sites:"Sites",active:"Active",backupTime:"Backup Time",lastUsedAt:"Last Used At",expiredAt:"Expired At",createdVia:"Created Via",neverExpired:"Never Expired",baseInfo:"Basic Information",otherInfo:"Other Information"},setup:{connect:{title:"Setup Blocklet Server",scan:"Use the following methods to become the owner of this server",confirm:"Review this operation on your DID Wallet",success:"Your account is connected to this server"},keyPair:{title:"Derive KeyPair",scan:"Connect your DID Wallet to generate a key-pair for this app",confirm:"Review this operation on your DID Wallet",success:"Your key pair is securely stored"},verify:{title:"Ownership Credential Required",scan:"Connect your DID Wallet to provide ownership credentials",confirm:"Review this operation on your DID Wallet",success:"Your account is connected to this server"},accept:{title:"Accepting server require ownership certificates",scan:"Connect your DID Wallet to provide ownership credentials",confirm:"Review this operation on your DID Wallet",success:"Your account is connected to this server"},title:"Setup Blocklet Server",steps:{eula:"End User License Agreement",eulaFooter:"I have read and agreed to the terms of the EULA",connect:"Connect Owner DID Wallet",verify:"Verify Ownership",basicSettings:"Basic Settings",launchApp:"Launch Application",complete:"Complete"},congratulation:"Congratulations! Your Blocklet Server is secure and ready to use",redirectButton:"Take me to dashboard!"},login:{login:"Connect",termsOfUse:"Terms of Use",agreeTermsOfUse:"I acknowledge that I have read and agree to the applicable",loginTo:"Connect to",description:"Only server owner and approved members can access the dashboard",switchDid:{title:"Switch Account",scan:"Please use the following methods to add switch account",confirm:"Confirm switch in your DID Wallet",success:"Successfully switched"},switchSpecifiedDid:{title:"Switch Account",scan:"You need switch DID to {did} to complete the following actions",confirm:"Confirm switch in your DID Wallet",success:"Successfully switched"},connect:{title:"Connect",scan:"Only server owner and approved members can access the dashboard",confirm:"Confirm on your DID Wallet",success:"You are successfully connected"},verify:{title:"Verify Access",scan:"Connect your DID Wallet to present owner or admin passport",confirm:"Confirm on your DID Wallet",success:"Your access is verified",abort:"Access verification aborted",description:"You need to provide {roles} passport to perform this operation, you will only be asked to verify again after 1 hour of inactivity.",descriptionForDestroy:"You need to provide {roles} passport to perform this dangerous operation to ensure safety."}},acceptServer:{title:"Claim Server with Ownership NFT",tooltip:"If you received a server ownership nft, you can claim your owner passport with this link."},didConnect:{genKeyPair:{title:"Generate Blocklet DID",scan:"Use the following methods to generate a Blocklet DID",success:"Successfully generate Blocklet DID",successDesc:"The Blocklet DID has been generate successfully (Subsequent publications require the wallet that generated the DID to operate)"},common:{invalidSession:"Invalid Session",invalidSessionDesc:"Session does not exist or has expired",connectionError:"Failed to connect"}},exchangePassport:{title:"Get Passport with NFT",success:"You have successfully get your passport and logged in with the passport",login:"Login",tooltip1:"If you own NFT from collection, ",tooltip2:"you can exchange your passport with this link.",dialog:{title:"Get Passport with NFT",scan:"Connect your DID Wallet to present your NFT to get a passport",confirm:"Select NFT on your DID Wallet",success:"Passport has been successfully exchanged"}},payablePassport:{title:"Purchase passport with payment",tooltip:"If you do not have a passport, you can purchase a passport with this link."},sidebar:{dashboard:"Dashboard",blocklets:"Blocklets",console:"Console",settings:"Settings"},system:{total:"Total",used:"Used",free:"Free",cores:"Number of cores",instances:"Number of instances"},blocklet:{external:"External",usingDocker:"This Blocklet will run using docker",usingIsolation:"This Blocklet will run using network isolation",notFound:"Blocklet not found on this server, maybe it has been deleted",installFromMarket:"Install New Blocklets",installFromUrl:"Install From Url",installFromCreate:"Create Blocklet",titleValidationError:"Title length must be between 3 and 40 characters",descriptionValidationError:"Description length must be between 3 and 80 characters",installFromDiskBackup:"Restore from this server",dockerImage:"Support Docker",installedAt:"Installed At",internal:"Internal",startedAt:"Started At",stoppedAt:"Stopped At",urlEmptyTip:"No Access URL, ",goToAddRule:"Go To Add",services:"Exposed Services",upstreamPort:"Upstream Port",noService:"No Services",appId:"App DID",appPid:"Permanent DID",whyNeedAppPid:"If your application has been migrated, the permanent DID is the DID generated when this Blocklet was originally installed",alsoKnownAs:"Also Known As",skSource:"Owner Wallet",skSourceMigratedTip:"This app was launched with a server managed wallet, and have migrated to DID Wallet for better security.",skSourceManagedTip:"This app is running with a server managed wallet, please migrate to DID Wallet as soon as possible for better security.",mountPoint:{description1:"This change may break URLs containing the old mount point, which may further leads to:",case1:"Broken resource references between blocklets within this app",case2:"Broken URL if you have shared them publicly",description2:"You can setup a redirect from the old mount point to the new one to minimize possible breaking changes."},reloadSuccess:"Blocklet was reloaded successfully",statusTip:"Blocklet is {status}",initialUptime:"Less than 1m",dashboard:"Blocklet Dashboard",noComponent:"Application has no components and cannot be started",gotoVisitError:"Unable to access blocklet url, please try again later",fromUrl:{title:"Install Blocklet",label:"Blocklet Meta URL",description:"The URL should point to the Meta File of the Blocklet. If you need to refer to a local file, please add the file:// prefix, e.g. file:///Users/foo/blocklet.json.",confirm:"Install",step0:"Input URL",step1:"Confirm Meta Info",existTipPrefix:"Blocklet with the same DID already exists, the version is",existTipSuffix:", Please install a higher version."},action:{stopDescription:"Stopping the blocklet will make its public interfaces unaccessible, which may cause end user failures",stopComponentDescription:"Stopping the component will make its public interfaces unaccessible, which may cause end user failures",confirmStop:"Yes, Stop It",cancelDownloadDescription:"Cancel download {name} ?",removeApplicationDescription:"Removing the application will erase code and data generated by this application, which is not recoverable if you do not have any backups",removeApplicationAfterBackup:"Backup and remove the application. You can restore the application from this server if you need",removeApplicationComplete:"Remove both code and data for this application",removeComponentDescription:"Removing the component will erase code and data generated by this component, which is not recoverable if you do not have any backups",removeComponentKeepData:"Keep data for this component, only remove code",removeComponentComplete:"Remove both code and data for this component",confirmRemove:"Yes, Remove It",confirmComponentRemove:"Yes, Remove It",upgradeDescription:"Upgrading the blocklet will make it temporarily unavailable, are you sure to continue?",confirmUpgrade:"Yes, Upgrade It",confirmRestart:"Yes, Restart It",restartDescription:"Restarting the blocklet will temporarily suspended and may not start because of a configuration change"},dev:{modeTip:"Please switch Blocklet Server to DEBUG mode"},index:{tableTitle:"Manage Your Blocklets",noBlocklet:"No blocklets found in this Blocklet Server, install a blocklet from market place to start."},config:{baseInfo:"Basic Information",baseInfoDesc:"The basic information of the website can be set here.",logoSettings:"Visual Information",logoSettingsDesc:"Shape a unique brand image, enhance the website's recognition and visual appeal in various scenarios.",languagesDesc:"Used in: visitor language selection",changeImageTip:"Tip: If you want to change the picture, please click Preview Picture to change it.",name:"App Name",nameDesc:"Used in: DID Connect header, browser tab, website footer, SEO metadata and OpenGraph metadata",description:"App Description",descriptionDesc:"Used in: SEO metadata and OpenGraph metadata",logoSquare:"App Logo",logoSquareDesc:"Used in: DID Connect footer and DID Wallet application list",logoDesc:`
1754
+ `;function CheckNodeStatus(){const{t:a}=useLocaleContext(),{info:j={},api:_e}=useNodeContext(),[et,tt]=reactExports.useState(),{status:nt}=j;reactExports.useEffect(()=>{nt===constant$3.SERVER_STATUS.START_FROM_CRASH&&(tt(!0),_e.resetNodeStatus().catch(it=>{console.error(it.message)}))},[nt]);const rt=()=>{tt(!1)};return et?jsxRuntimeExports.jsx(ConfirmDialog,{description:a("dashboard.startFromCrashTip"),confirm:a("common.confirm"),showCancel:!1,color:"primary",onConfirm:rt}):null}function ErrorFallback$1({error:a,resetErrorBoundary:j}){return jsxRuntimeExports.jsx(Center,{children:jsxRuntimeExports.jsxs(Alert,{severity:"error",action:jsxRuntimeExports.jsx(ButtonComponent,{onClick:j,color:"secondary",variant:"outlined",children:"Reload"}),style:{minWidth:480},children:[jsxRuntimeExports.jsx(AlertTitle,{children:"Oops, this application crashed"}),jsxRuntimeExports.jsx(Typography$1,{children:a.message})]})})}var merge=createAssigner(function(a,j,_e){baseMerge(a,j,_e)});const en$2={common:{invalid:"Invalid",about:"About",access:"Access",buy:"Buy",change:"Change",upload:"Upload",accessKey:"Access Keys",action:"Action",actions:"Actions",add:"Add",refresh:"Refresh",address:"Address",afterTime:"After {time}",allow:"Allow",alreadyExist:"already exists",approve:"Approve",approved:"approved",appUrl:"APP Url",auditLogs:"Audit Trail",auditLogsSearch:"Search by action or content",unrecordedUser:"Unrecorded name",unrecordedRole:"Unrecorded role",notificationRecords:"Notifications",author:"Author",avatar:"Avatar",back:"Back",basic:"Basic",basicInfo:"Basic Information",profile:"Profile",bind:"Bind",blocklet:"Blocklet",blocklets:"Blocklets",blockletsStorage:"Blocklets Storage",cacheStorage:"Cache Storage",cancel:"Cancel",certificate:"certificate",category:"Log Topic",click:"Click to copy",close:"Close",selectAll:"Select All",unselectAll:"Unselect All",collapseAll:"Collapse All",community:"Community URL",complete:"Complete",componentBasicInfo:"Component Basic Information",components:"Blocklets",config:"Configure",configuration:"Configuration",appearance:"Appearance",configNavigation:"Navigation",configSuccess:"Config successfully",confirm:"Confirm",connect:"Connect",console:"Console",continue:"Continue",continueWith:"Continue With",copiedTip:"Copied",optional:"Optional",copyAndClose:"Copy & Close",copyTip:"Click To Copy",coreStorage:"Core Storage",cpu:"CPU",create:"Create",createSuccess:"Create Access Key",created:"Created At",createdAt:"Created At",createdBy:"Created By",dAddress:"Decentralized Identifiers (DID)",dataStorage:"Storage on Local Disk",delConfirm:"Delete",delConfirmDescription:"Confirm delete {data}?",delete:"Delete",dependents:"Dependents",description:"Description",detail:"Detail",did:"DID",disk:"Disk",diskInfo:"Disk Info",docker:"IS Docker",documentation:"Documentation",domain:"Domain",downgradeTo:"Downgrade to",download:"Download",connectToStore:"Connect to Store",blockletStudio:"Studio",uploaded:"Uploaded",downloading:"Downloading",edit:"Edit",email:"Email",phone:"Phone",empty:"Empty",emptyData:"No results found",enable:"Enable",engine:"Engine",env:"Environment",environment:"Environment",expandAll:"Expand All",expired:"Expired",expires:"Expires",export:"Export",externalIp:"External IP",failed:"Failed",filter:"Log Filter",fingerprint:"Fingerprint",finish:"Finish",forbid:"Forbid",free:"Free",general:"General",gitpod:"IS Gitpod",goEULA:'Click to view "End User License Agreement"',group:"Group",image:"IS Image",install:"Install",installed:"Installed",installedAt:"Installed At",installSuccess:"Successfully installed",installing:"Installing",internalIp:"Internal IP",introduction:"Introduction",invite:"Invite",inviting:"Inviting",ip:"IP",isPublic:"Public",issue:"Issue",issuer:"Issuer",item:"Item",joined:"Joined",key:"Key",lastPublishedAt:"Published At",launcher:"Launcher Information",leavePageTip:"Are you sure to leave the page?",link:"Link",loading:"loading",log:"View Logs",logStorage:"Log Storage",login:"Login",logo:"Logo",logout:"Logout",logs:"Logs",manageTeam:"Manage Team",marketplace:"Marketplace",member:"Member",members:"Members",memory:"Memory",meta:"Meta Data",analytics:"Analytics",runtime:"Runtime",traffic:"Traffic",less:"Less",more:"More",mountPoint:"MountPoint",name:"Name",next:"Next",no:"No",noData:"No records to display",notice:"Unexpected bad things will happen if you don't read this!",noticeTitle:"Notice",notification:"Notification",open:"Open",visitStore:"Visit Store",visitTarget:"Visit {name}",management:"Management",os:"Operating System",overview:"Overview",owner:"Owner",page404:"404 Page",passport:"Passport",display:"Display",permission:"Permission",port:"Port",pre:"Previous",preferences:"Preferences",preview:"Preview",protected:"Protected",protocol:"Protocol",purchase:"Purchase",reconnect:"Reconnect",disconnect:"Disconnect",readMore:"More",redirect:"Redirect",redirectCode:"Redirect Code",redirectPermanently:"Permanent Redirect",redirectTemporary:"Temporary Redirect",redirectUrl:"Redirect URL",rewrite:"Rewrite",release:"Release",rewriteUrl:"Rewrite URL",reject:"Reject",reload:"Reload",remark:"Remark",remove:"Remove",removeSuccess:"Remove successfully",renew:"Renew",reportIssue:"Report an issue",required:"Required",requiredErrorText:"{name} is required",resource:"Resource",restart:"Restart",restore:"Restore",retry:"Retry",revoke:"Revoke",role:"Role",running:"running",runtimeInfo:"Runtime Info",save:"Save",saveChanges:"Save Changes",saveSuccess:"Saved successfully",scheduleFailed:"schedule failed",scheduleSuccess:"successfully scheduled",scope:"Scope",screenshot:"Screenshots",search:"Search",security:"Security",serverDid:"Server DID",serverVersion:"Server Version",setting:"Settings",start:"Start",status:"Status",stop:"Stop",storage:"Storage",backup:"Backup",store:"Store",succeeded:"Succeeded",subscription:"Subscription",support:"Support URL or Email",switch:"Switch",team:"Team",the:"The",timeAgo:"{time} ago",title:"Title",type:"Type",unavailable:"Unavailable",update:"Update",updateAvailable:"New version {version} available",updatedAt:"Updated At",updatedBy:"Updated By",upgrade:"Upgrade",upgradeServer:"Upgrade Server",upgradeTo:"Upgrade to",upgrading:"Upgrading",uptime:"Uptime",url:"URL",valid:"Valid",value:"Value",version:"Version",visit:"Visit",waiting:"Waiting",webhook:"Integrations",yes:"Yes",invalidParam:"Invalid Params",launch:"Launch",price:"Price",redirecting:"Redirecting",error:"Error",reminder:"Reminder",normal:"Normal",gateway:"Gateway",verifyNFT:"Verify NFT",errorMessage:"Error Message: ",slugifyHint:"The actual mount point will be: {value}",strategy:"Strategy",auto:"Auto",manual:"Manual",progress:"In progress",fileCount:"File Count",fileSize:"File Size",time:"Time",startTime:"Start time",endTime:"End time",selected:"Selected",timeoutError:"Timeout error",tags:"Tags",sourceApp:"Belong to App",requiredInputPlaceholder:"Please Enter {name}",moveUp:"Move Up",moveDown:"Move Down",enabled:"Enabled",disabled:"Disabled",homepage:"Home Page",homepageTip:"Home Page or Live Demo URL",repository:"Repository",view:"View",expand:"Expand",collapse:"Collapse",all:"All",bugOrConnectDomain:"Purchase or configure existing domain",bugOrConnectDomainTip:"A domain name is your website's unique address on the internet. You can purchase a new domain from DID Names or any domain registrar, or configure an existing domain you already own.",connectExistingDomain:"Configure existing domain",domains:"Domains",didDomains:"DID Domains",didDomainsDescription:"The following domains are automatically managed by the DID:Names service.",systemDomains:"Default Domains",systemDomainsDescription:"The following domains are automatically assigned by default. While they are accessible, they are not intended for production use and should not be shared with customers. These domains are primarily for development purposes.",manualDomains:"My Domains",manualDomainsDescription:"The following domains are managed by your domain provider and have been manually configured to point to here.",timeInfo:"Timing",operator:"Operator",inviter:"Inviter",minutes:"Minutes",hours:"Hours",hour:"Hour",days:"Days",day:"Day",weeks:"Weeks",months:"Months",custom:"Custom",clear:"Clear",ok:"OK",environments:"Environments",sites:"Sites",active:"Active",backupTime:"Backup Time",lastUsedAt:"Last Used At",expiredAt:"Expired At",createdVia:"Created Via",neverExpired:"Never Expired",baseInfo:"Basic Information",otherInfo:"Other Information",simple:"Simple",signature:"Signature"},setup:{connect:{title:"Setup Blocklet Server",scan:"Use the following methods to become the owner of this server",confirm:"Review this operation on your DID Wallet",success:"Your account is connected to this server"},keyPair:{title:"Derive KeyPair",scan:"Connect your DID Wallet to generate a key-pair for this app",confirm:"Review this operation on your DID Wallet",success:"Your key pair is securely stored"},verify:{title:"Ownership Credential Required",scan:"Connect your DID Wallet to provide ownership credentials",confirm:"Review this operation on your DID Wallet",success:"Your account is connected to this server"},accept:{title:"Accepting server require ownership certificates",scan:"Connect your DID Wallet to provide ownership credentials",confirm:"Review this operation on your DID Wallet",success:"Your account is connected to this server"},title:"Setup Blocklet Server",steps:{eula:"End User License Agreement",eulaFooter:"I have read and agreed to the terms of the EULA",connect:"Connect Owner DID Wallet",verify:"Verify Ownership",basicSettings:"Basic Settings",launchApp:"Launch Application",complete:"Complete"},congratulation:"Congratulations! Your Blocklet Server is secure and ready to use",redirectButton:"Take me to dashboard!"},login:{login:"Connect",termsOfUse:"Terms of Use",agreeTermsOfUse:"I acknowledge that I have read and agree to the applicable",loginTo:"Connect to",description:"Only server owner and approved members can access the dashboard",switchDid:{title:"Switch Account",scan:"Please use the following methods to add switch account",confirm:"Confirm switch in your DID Wallet",success:"Successfully switched"},switchSpecifiedDid:{title:"Switch Account",scan:"You need switch DID to {did} to complete the following actions",confirm:"Confirm switch in your DID Wallet",success:"Successfully switched"},connect:{title:"Connect",scan:"Only server owner and approved members can access the dashboard",confirm:"Confirm on your DID Wallet",success:"You are successfully connected"},verify:{title:"Verify Access",scan:"Connect your DID Wallet to present owner or admin passport",confirm:"Confirm on your DID Wallet",success:"Your access is verified",abort:"Access verification aborted",description:"You need to provide {roles} passport to perform this operation, you will only be asked to verify again after 1 hour of inactivity.",descriptionForDestroy:"You need to provide {roles} passport to perform this dangerous operation to ensure safety."}},acceptServer:{title:"Claim Server with Ownership NFT",tooltip:"If you received a server ownership nft, you can claim your owner passport with this link."},didConnect:{genKeyPair:{title:"Generate Blocklet DID",scan:"Use the following methods to generate a Blocklet DID",success:"Successfully generate Blocklet DID",successDesc:"The Blocklet DID has been generate successfully (Subsequent publications require the wallet that generated the DID to operate)"},common:{invalidSession:"Invalid Session",invalidSessionDesc:"Session does not exist or has expired",connectionError:"Failed to connect"}},exchangePassport:{title:"Get Passport with NFT",success:"You have successfully get your passport and logged in with the passport",login:"Login",tooltip1:"If you own NFT from collection, ",tooltip2:"you can exchange your passport with this link.",dialog:{title:"Get Passport with NFT",scan:"Connect your DID Wallet to present your NFT to get a passport",confirm:"Select NFT on your DID Wallet",success:"Passport has been successfully exchanged"}},payablePassport:{title:"Purchase passport with payment",tooltip:"If you do not have a passport, you can purchase a passport with this link."},sidebar:{dashboard:"Dashboard",blocklets:"Blocklets",console:"Console",settings:"Settings"},system:{total:"Total",used:"Used",free:"Free",cores:"Number of cores",instances:"Number of instances"},blocklet:{external:"External",usingDocker:"This Blocklet will run using docker",usingIsolation:"This Blocklet will run using network isolation",notFound:"Blocklet not found on this server, maybe it has been deleted",installFromMarket:"Install New Blocklets",installFromUrl:"Install From Url",installFromCreate:"Create Blocklet",titleValidationError:"Title length must be between 3 and 40 characters",descriptionValidationError:"Description length must be between 3 and 80 characters",installFromDiskBackup:"Restore from this server",dockerImage:"Support Docker",installedAt:"Installed At",internal:"Internal",startedAt:"Started At",stoppedAt:"Stopped At",urlEmptyTip:"No Access URL, ",goToAddRule:"Go To Add",services:"Exposed Services",upstreamPort:"Upstream Port",noService:"No Services",appId:"App DID",appPid:"Permanent DID",whyNeedAppPid:"If your application has been migrated, the permanent DID is the DID generated when this Blocklet was originally installed",alsoKnownAs:"Also Known As",skSource:"Owner Wallet",skSourceMigratedTip:"This app was launched with a server managed wallet, and have migrated to DID Wallet for better security.",skSourceManagedTip:"This app is running with a server managed wallet, please migrate to DID Wallet as soon as possible for better security.",mountPoint:{description1:"This change may break URLs containing the old mount point, which may further leads to:",case1:"Broken resource references between blocklets within this app",case2:"Broken URL if you have shared them publicly",description2:"You can setup a redirect from the old mount point to the new one to minimize possible breaking changes."},reloadSuccess:"Blocklet was reloaded successfully",statusTip:"Blocklet is {status}",initialUptime:"Less than 1m",dashboard:"Blocklet Dashboard",noComponent:"Application has no components and cannot be started",gotoVisitError:"Unable to access blocklet url, please try again later",fromUrl:{title:"Install Blocklet",label:"Blocklet Meta URL",description:"The URL should point to the Meta File of the Blocklet. If you need to refer to a local file, please add the file:// prefix, e.g. file:///Users/foo/blocklet.json.",confirm:"Install",step0:"Input URL",step1:"Confirm Meta Info",existTipPrefix:"Blocklet with the same DID already exists, the version is",existTipSuffix:", Please install a higher version."},action:{stopDescription:"Stopping the blocklet will make its public interfaces unaccessible, which may cause end user failures",stopComponentDescription:"Stopping the component will make its public interfaces unaccessible, which may cause end user failures",confirmStop:"Yes, Stop It",cancelDownloadDescription:"Cancel download {name} ?",removeApplicationDescription:"Removing the application will erase code and data generated by this application, which is not recoverable if you do not have any backups",removeApplicationAfterBackup:"Backup and remove the application. You can restore the application from this server if you need",removeApplicationComplete:"Remove both code and data for this application",removeComponentDescription:"Removing the component will erase code and data generated by this component, which is not recoverable if you do not have any backups",removeComponentKeepData:"Keep data for this component, only remove code",removeComponentComplete:"Remove both code and data for this component",confirmRemove:"Yes, Remove It",confirmComponentRemove:"Yes, Remove It",upgradeDescription:"Upgrading the blocklet will make it temporarily unavailable, are you sure to continue?",confirmUpgrade:"Yes, Upgrade It",confirmRestart:"Yes, Restart It",restartDescription:"Restarting the blocklet will temporarily suspended and may not start because of a configuration change"},dev:{modeTip:"Please switch Blocklet Server to DEBUG mode"},index:{tableTitle:"Manage Your Blocklets",noBlocklet:"No blocklets found in this Blocklet Server, install a blocklet from market place to start."},config:{baseInfo:"Basic Information",baseInfoDesc:"The basic information of the website can be set here.",logoSettings:"Visual Information",logoSettingsDesc:"Shape a unique brand image, enhance the website's recognition and visual appeal in various scenarios.",languagesDesc:"Used in: visitor language selection",changeImageTip:"Tip: If you want to change the picture, please click Preview Picture to change it.",name:"App Name",nameDesc:"Used in: DID Connect header, browser tab, website footer, SEO metadata and OpenGraph metadata",description:"App Description",descriptionDesc:"Used in: SEO metadata and OpenGraph metadata",logoSquare:"App Logo",logoSquareDesc:"Used in: DID Connect footer and DID Wallet application list",logoDesc:`
1755
1755
  Recommended Size: {width}* {height} pixels`,logoRect:"Rect logo",logoRectDesc:"Used in: website header and footer",logoFavicon:"Favicon",logoFaviconDesc:"Used in: browser address bar and tab",splashPortrait:"Splash",splashDesc:`Used in: ArcSphere APP launch screen
1756
1756
 
1757
1757
  Portrait Mode:
1758
1758
  Ratio: 9:16
1759
1759
 
1760
1760
  Landscape Mode:
1761
- Ratio: 16:9`,splashLandscape:"Splash Landscape",splashPortraitDesc:"Displayed when the blocklet is launched. PNG or JPG format, recommended aspect ratio 9:16 for portrait and 16:9 for landscape (max 5MB)",ogImage:"Open Graph Background",ogImageDesc:"Used in: social media sharing background",clusterSize:"Instance count when run this blocklet in cluster mode",copyrightOwner:"Copyright Owner",copyrightYear:"Copyright Year",copyrightDesc:"Used in: website footer",deletable:{name:"Delete Protection",enable:"This blocklet can NOT currently be deleted",disable:"This blocklet can currently be deleted"},tenantMode:{name:"Multi-Tenant Mode",multiple:"This blocklet runs in multiple tenant mode, data should be isolated for each tenant",single:"This blocklet runs in single tenant mode, all data are shared"},walletType:{name:"Wallet Type",description:"Blocklet instance wallet type, will change the derived DID"},languages:"Supported Languages",selectLanguagesTip:"Adjust the order by removing and re-adding",languagesSearch:"Search by Country's Local Name, English Name, or ISO Code...",passportColor:"Passport Color",appUrl:"App URL",appUrlDesc:"Used in: sitemap and social sharing",access:{title:"Who can access?",description:"Choose how you want to control access to your application.",useDefault:"Use default",defaultDescription:"Use the application's default configuration",whoCanAccess:{all:{title:"Open to Everyone",description:"Anyone can access this blocklet without authenticating."},owner:{title:"Owner-Only Access",description:"Only the blocklet owner can access it."},invited:{title:"Invite-Only Access",description:"Only invited members can access it."}},publicToStore:"Public On Store",publicInstanceTip:"The access address of this blocklet will be displayed in the Store (along with your DID for accepting donations)",updatedTip:"Access Control Modified"},changedTip:"Configuration updated, please restart Blocklet",missingRequired:"Missing required configuration to start the blocklet",gotoFix:"Go to fix",environment:{key:"Configuration key",value:"Configuration value",keyValueRequired:"Configuration key and value must be specified",invalidKey:"Configuration key must not start with BLOCKLET_ or COMPONENT_",deleteForbidden:"This configuration is required and should not be deleted",tip:"Configurations prefixed with BWA_ should not contain sensitive information because they will be sent to the browser"},dangerZone:"Danger Zone",migrate:{button:"Change DID",title:"Confirm DID Change",description:"If you are launching with server managed wallet, you can change application DID to your own wallet.",confirm:"Are you sure you want to change the application DID? This operation will invalidate all existing sessions and force users to login again, including your own session."},sharedToAllComponents:"Will be shared to all components",session:{period:"Session validity period",profile:"User profile requirements",ttl:"User will be asked to login again if they have no activity on this site for {day} days",day:"{day} day",days:"{day} days",cacheTtl:"Cache duration for user session data (in seconds)",fullNameEnabled:"Request user name on login (enabled by default)",avatarEnabled:"Request user avatar on login (enabled by default)",emailEnabled:"Request user email on login",emailRequireVerified:"Require user email to be verified before login",emailRequireUnique:"Require user email to be unique across all users",phoneEnabled:"Request user phone number on login (not supported yet)",phoneRequireVerified:"Require user phone number to be verified before login",phoneRequireUnique:"Require user phone number to be unique across all users",emailTrustOauthProviders:"Trust OAuth providers for email verification status",enableDomainBlackList:"Enable email domain black list (reject listed email domains)",enableDomainWhiteList:"Enable email domain white list (only allow listed email domains to login)",addDomain:"Add source to fetch the list (in plain text format, one domain per line)"},clearCache:{name:"Cache Management",purpose:"Manage files cached in router and blocklet services",title:"Confirm Cache Clear?",action:"Clear Cache",success:"Successfully cleared {count} cache entries",description:"Are you sure you want to clear cached files in router and blocklet service? this operation may cause slight performance downgrade in the short term"},rotateSessionKey:{name:"Session Salt Rotation",purpose:"Session salt is a random value used to enhance the security of session tokens. Click the button to rotate the session salt manually, which helps reduce the risk of login token compromise.",title:"Confirm Session Salt Rotation?",action:"Rotate Salt",success:"Successfully rotated session salt",description:"Are you sure you want to rotate session salt? this operation will invalidate all existing login tokens and force user to login again, including your own login token."},vault:{name:"Vault DID",title:"Setup Vault",desc:"Use vault to add an extra layer of security to funds managed by this blocklet.",tip:"Input the vault address to continue, you need to prove ownership of the vault address before it can be used.",address:"Vault Address",verified:"Vault is verified",current:"Current Vault",error:{invalid:"Vault address must be a valid DID",holder:"Vault address must be a valid token holder on blockchain, token/asset/factory/stake address are not supported.",duplicate:"This vault address was used before, please use a different one",appDid:"Can not use application DID as vault address, please use a different one"},role:"Role Type",firstSeen:"First Seen",lastSeen:"Last Seen",migratedFrom:"Migrated From",migratedTo:"Migrated To",commit:{title:"Verify Vault Ownership",scan:"Use the following methods to verify the vault ownership",confirm:"Confirm using DID Wallet",success:"Vault is configured successfully"},approve:{title:"Approve Vault Change",byOwner:"Sign with blocklet owner to approve the change",byLast:"Sign with last vault to approve the change",confirm:"Confirm using DID Wallet",success:"Vault change is approved"}}},overview:{source:"Source",deployedFrom:"Deployed From",accessControl:"Access Control",viewInStore:"View It In Store"},diskInfo:{empty:"Disk info not available now!",appDir:"App Directory",dataDir:"Data Directory",logDir:"Log Directory",cacheDir:"Cache Directory"},runtimeInfo:{noRunning:"Runtime information will be available when blocklet is running!",memoryUsage:"Memory Usage",cpuUsage:"CPU Usage",uptime:"Uptime",port:"Port",processId:"Process ID"},dist:{downloadLink:"Download Link",verify:"Verify"},status:{added:"Added",waiting:"Waiting",downloading:"Downloading",extracting:"Extracting",installing:"Installing",upgrading:"Upgrading",installed:"Installed",created:"Created",starting:"Starting",running:"Running",stopping:"Stopping",stopped:"Stopped",error:"Error",deleting:"Deleting",corrupted:"Corrupted",purchasing:"Waiting for purchase",purchased:"Purchased",verifying:"Verifying purchase",resource:"Resource"},list:{download:"Download",star:"Star",searchPlaceholder:"Search by Blocklet Name or DID"},component:{container:"Global Config",showContainer:"Show Global Config",didSpaceConfig:"Configure DID Spaces",didSpaceConfigTip:"Complete the following authorize process to store application data in DID Spaces",didSpaceConnected:"Storage being authorized to: {endpoint}",checkUpdateTitle:"Check for Updates",updateTitle:"Update Blocklets",noUpdate:"No Blocklets to update",add:"Add Blocklet",selectComponent:"Select Blocklet",selectRegistry:"Select Blocklet Store",selectRegistryTip:"You can switch blocklet store to see more components",selectInstance:"Select Instance",selectInstanceTip:"You can select an existing instance or create a new instance. Existing instances will use previously saved configuration and data",newInstance:"Create New Instance",noComponent:"No Blocklets",mountPoint:"What's the mount point?",mountPointTip:"If you set mount point to '/my-prefix', then all requests that begins with that mount point will be routed to the selected Blocklet",delete:"Delete Blocklet",deleteDescription:"This Blocklet will not be accessible after deletion. Confirm delete?",purchase:"Payment Required",tip:{stopBlocklet:"Please stop running Blocklet first",requiredBy:"The Blocklet is required by {name}"},choose:"Choose",upgrade:"Upgrade",upgradeAvailable:"Upgrade Available",needBuy:"Need Purchase",isOfficial:"Officially Certified",addWithName:"Add Blocklet To {name}",relatedComponents:"Related Blocklets",required:"Required",noDependencies:"{name} doesn't have any dependencies",installed:"Installed",installingTip:"Installing component, please wait...",installingCanCloseWindowTip:"Installing component in the background, you can safely close this window",installSuccessTip:"Congratulations, the component was installed successfully!",missDownloadTokenTip:"Cannot add paid component without valid download token",purchaseComponentSecondCheckTip:"Please present your blocklet purchase NFT to continue",installComponentError:"There was an error installing the component, please retry again",downloadComponentError:"There was an error downloading the component, please retry again",addComponentTip:{introduction:"Welcome to the Add Component Wizard",isPurchase:"You need to Verify NFT before use <b>{name}</b> as a component;",belowInformation:"Below is the information for the component: ",verifyNFT:"Please select the Verify NFT method",config:"Please fill in the configuration of the component",environment:"Please fill in the environment of the component",fromUrl:"Add Blocklet From Url"},addNext:"Add {name}",upgradeNext:"Upgrade {name}",setting:"Settings"},router:{urlPath:"URL Path",noRunning:"The blocklet is not currently started. Unable to access through the following address!",securitySetting:"Security Setting",checkUrlAccessible:"Check the accessibility of the address",urlInaccessible:"It may be due to network reasons, the address is temporarily inaccessible",noAccessibleUrl:"No accessible URL",domainLockTooltip:"The system generated Domain cannot be edited.",urlLockTooltip:"The system generated URL Path cannot be edited.",showAllDomains:"Show all domains",showAllDIDs:"Show all DIDs",currentDomainTip:"You are accessing the current page through this domain"},export:{title:"Export Blocklet",name:"Bundle Name",nameTip:'e.g. "my-blocklet-name" or "@my-scope/blocklet-name"',result:"What's next",exportSource:"Export Source",success:"Blocklet successfully exported",resultTipStart:"With",resultTipEnd:"you can build and publish this blocklet within minutes",uploadedComponentTip:"Directly uploaded components cannot be exported:"},migrate:{title:"Migrate Application",scan:"Connect your DID Wallet to generate a key-pair for this application",confirm:"Review this operation on your DID Wallet",success:"Your application is successfully migrated, the page will be refreshed in {sec} seconds",intro:{l1:"Click here",l2:"to migrate your application to new version (changes are disabled before the migration completes)",l3:"1. The application DID will be fully controlled from your DID Wallet.",l4:"2. The application data will be migrated, and no further changes required.",l5:"3. The new application structure will give you more flexibly when change components.",l6:"4. Please do not change component mount points before component new version is out."},tip:{duplicate:"Find duplicate component {name}, please delete useless components and migrate again",running:"Please stop blocklet before migration"}},error:{isRunning:"Blocklet is running, please stop it first",isInProgress:"Blocklet is in progress, please wait for it to finish"},publish:{connectOrUpload:"Connect or Upload",projectSettings:"Project Settings",noStoreSelected:"Please select one of the existing stores or add a new store to continue",forceResourceBlocklet:"Force defined as a resource-based blocklet",autoUploadTip:"Upload release to connected Blocklet Stores automatically after creation",possibleSameStoreTip:"Try resolving dependency blocklets to the same Blocklet Store before each uploading when possible",needProjectId:"Please create a project first",developerInfo:"Developer Information",branding:"Branding",brandingHelp:"More information about the blocklet will be displayed in the Store",download:"Download {name}",deleteStoreTip:"Are you sure you want to remove {name} from the connect Store list?",delete:"Delete {name}",copyInstallUrl:"Copy Install URL",installToThisServer:"Install to this server",createResource:"Create Resource",blockletStudio:"Blocklet Studio",tenantScope:"Tenant",addResource:"Add Blocklet",productTitle:"Product",versionTitle:"Versioning",imgTitle:"Images",storeRule:{warning:"Warning",screenshot:"screenshot",screenshots:"screenshots",first:"1st",second:"2nd",third:"3rd",maxImageCount:"The store allows at most {max} {unit}.",minImageCount:"The store requires at least {min} {unit}.",minImageSize:"The {name} screenshot image size must be at least {width}x{height}.",logoFormat:"The logo image format just supports [{format}]."},resourceTitle:"Content",resourceSelect:"Select resource from following blocklets",resourceUpload:"Upload resource from your disk (index.html is required in the archive)",resourceDocker:"Build Blocklet from Docker",resourceSelectTitle:"Resource",resourceUploadTitle:"Upload",resourceDockerTitle:"Docker",resourceDockerInputTip:"Please input the docker run command",blockletEmptyTip:"There aren't any blocklets here",createBlockletTip:"You can create new blocklet through existing resources, components, and configuration in this application",createBlocklet:"New blocklet",reconnectStoreTip:"After reconnecting, a new developer will be bound. Are you sure you want to reconnect?",disconnectStoreTip:"After disconnecting, the blocklet will be removed from the store. Are you sure you want to disconnect?",componentNotRunning:"Blocklet {name} is not running, please start it first",allComponentsNotRunning:"Blocklets is not running, please start it first",releaseEmptyTip:"There aren't any releases here",resourceEmptyTip:"No available resources",viewLastRelease:"View last release",createReleaseTip:"You can create a release of the blocklet, along with release notes and resources, for other people to use",createRelease:"Create release",deleteReleaseTip:"The release cannot be recovered after deletion",createBlockletDid:"Create from DID Wallet",createReleaseSuccess:"Release created successfully",saveDraftSuccess:"Draft saved successfully",packTip:"Currently blocklets can be installed directly as applications. Components and application configurations will be automatically included in the Blocklet",resourceTip:"Currently, as a Resource Blocklet, it cannot be directly installed from the Store.",whyCantSeeInStore:"You need to publish the blocklet on connected store before you can see it in the store listing page",whyCantSeeResourceBlockletInStore:"Resource Blocklet are hidden from the store listing page by default",resourceChangedWarning:"You have modified the resource, please save it in time",install:"Install {name}",installResourceTip:"Install Url:",installResourceTip2:"If you want to see more tips, please visit",installResourceHelp:"Help Document",componentIncluded:"Included",componentForceRequired:"Required",steps:{branding:"Describe the basic information of your Blocklet. This information will be presented to users in the store.",introduction:"A clear introduction can effectively highlight your Blocklet. You can use Markdown syntax to write and preview it.",resources:"Please select the resources that need to be associated with the current Blocklet, as these resources will be installed along with the Blocklet.",blocklets:"Please select the Blocklets that need to be associated and installed when installing the current Blocklet.",version:"Set the release version and the change log."},connect:{title:"Create Blocklet DID",scan:"Use the following methods to generate Blocklet DID",confirm:"Confirm using DID Wallet",success:"Blocklet DID has been generated, please continue your operation"},deleteProject:{title:"Delete {name}",scan:"Use the following methods to delete {name}",confirm:"Confirm using DID Wallet",success:"Blocklet has been deleted, please continue your operation",description:"Are you sure you want to delete the Blocklet? Here are the issues you might encounter:",tip1:"The Blocklet cannot be recovered after deletion.",tip2:"You will no longer be able to publish new versions to the deleted Blocklet, which means that the Blocklet will not be updated in the Store anymore.",tip3:"Deleting the Blocklet will not affect its currently published version in the Store."},saveDraft:"Save Draft",releaseNote:"Release Note",errorTip:{noDid:"Blocklet DID is required",noFirstDid:"Please create Blocklet DID first",noTitle:"Blocklet Title is required",noVersion:"Blocklet Version is required",inValidVersion:"Invalid Blocklet Version",noResource:"Please select upload resource to be included in the blocklet",noDescription:"Blocklet Description is required",noNote:"Release Note is required",invalidUrl:"Please input a valid URL",invalidUrlOrEmail:"Please input a valid URL or email"},uploadToStoreSuccess:"Blocklet upload to Store successfully, you need publish it in the Store",publishToStoreSuccess:"Blocklet published to Store successfully",connectStoreSuccess:"Blocklet Store connected successfully",docker:{pleaseInputDockerCommand:"Please input the docker run command",volumeTip:"Volume must start with $BLOCKLET_DATA_DIR or $BLOCKLET_APP_DIR",volumeTip2:'Volume cannot contain ".."',noAllowTheArg:"The argument is not allowed to be used in the docker run command",needCustomInput:"Setup the value when install blocklet",dockerParams:"Docker Params",dockerCommand:"Docker Command",dockerImageName:"Docker Image Name",addItem:"Add Docker Run Param",envKey:"Environment Variable Key",publishTips:"The final external port will be automatically assigned by the blocklet",volumeTips:"The volume need start with $BLOCKLET_DATA_DIR or $BLOCKLET_APP_DIR",modifyParam:"Modify Docker Run Param",modifyEnv:"Modify Environment Variable",paramDetail:"Param Detail",description:"Description",secure:"Secure",shared:"Shared",required:"Required",autoGenerated:"Auto Generated",prefix:"Prefix",path:"Path",name:"Name",portType:"Port Type",proxyBehavior:"Proxy Behavior",serviceProxy:"Service",directProxy:"Direct",dockerImageNameError:"Docker Image Name cannot contain spaces",dockerCMDError:"Docker CMD only supports simple characters"}}},dashboard:{nodeDid:"Node",ownerDid:"Owner",routingEngine:"Routing Engine",ownerNftURL:"Owner NFT",expirationLeft:"Expiration Left",startFromCrashTip:"Blocklet Server did not exit normally last time, please manually start the blocklets that needs to be run.",runtimeConfig:{blockletMaxMemoryLimit:"Blocklet Max Memory Limit",daemonMaxMemoryLimit:"Server Max Memory Limit",proxyMaxMemoryLimit:"Event Bus Max Memory Limit"}},store:{nameSort:"Name",popularSort:"Popularity",headerDescription:"Find and Install Your Blocklets",detail:{purchase:"Purchase {name}",open:"Open {name}",install:"Install {name}",upgrade:"Upgrade {name}",empty:"No introduction"},tooltip:{upgradeServer:"Blocklet requires Blocklet Server version {version}, current Blocklet Server version is {serverVersion}"},blockletRegistry:{changeFailed:"Change Blocklet Store Failed: ",addFailed:"Add Blocklet Store Failed: ",editFailed:"Edit Blocklet Store Failed: ",switchRegistry:"Switch Blocklet Store",addRegistry:"Add Blocklet Store",editRegistry:"Edit Blocklet Store",deleteRegistry:"Delete Blocklet Store",haveSameRegistry:"The same blocklet store exists",registryName:"Blocklet Store Name",registryUrl:"Blocklet Store URL",registryNameEmpty:"Blocklet Store name cannot be empty",registryUrlEmpty:"Blocklet store url cannot be empty",deleteDesc:'Confirm Delete blocklet store {name} ?<br/><span style="color: {color}">*After removing this blocklet store, you cannot update the apps installed from this blocklet store unless you add them again.</span>',confirmDesc:"Please input {name} to delete"},purchase:{title:"Purchase {name}",confirmed:"Your blocklet purchase NFT is verified",declined:"You do not provided valid the blocklet purchase NFT",waiting:"Waiting for purchase complete...",purchase:{title:"Purchase NFT",description:"Pay some token before installing this blocklet if you have not purchased this blocklet"},verify:{title:"Verify NFT",description:"Your NFT will be verified before installing this blocklet if you have purchased and hold the purchase NFT in your DID Wallet",auth:{title:"Purchase Credential Required",scan:"Connect DID Wallet to provide blocklet purchase NFT",confirm:"Review this operation on your DID Wallet",success:"Your purchase NFT is verified, and installing has started"}},auth:{title:"Purchase {name}",scan:"Scan following QRCode with your DID Wallet",confirm:"Confirm on your DID Wallet",success:"Purchase NFT sent to your DID Wallet"},launch:"Launch {name}",autoLaunch:"{name} successfully purchased, redirecting to launch page..."}},setting:{saveSuccess:"Settings Saved Successfully",unSavedTip:'There are unsaved changes, please click "Save Changes" to save them.',unSavedLeaveTip:"There are unsaved changes, are you sure to leave the page?",form:{name:"Name Your Server",nameRequired:"Server description is required",namePlaceholder:"Server Name",description:"Describe Your Server",descriptionHolder:"Server Description",descriptionRequired:"Server description is required",domain:"Your Server Domain Name",domainPlaceholder:"Server Domain Name",domainRequired:"Server domain is required",ipPlaceholder:"IP",ipRequired:"IP is required",registry:"Blocklet Store",registryPlaceholder:"Blocklet store to fetch blocklets",registryRequired:"Blocklet store is required ",registerUrl:"Blocklet Launcher URL",registerUrlPlaceholder:"Input the URL of your preferred Blocklet Launcher, you can use the official one safely",webWalletUrl:"DID Wallet URL",webWalletUrlPlaceholder:'Please input the URL of your hosted "DID Wallet", you can use the official one safely',nftDomainUrl:"NFT Domain URL",nftDomainUrlPlaceholder:'Please input the URL of your hosted "NFT Domain", you can use the official one safely',enableWelcomePage:"Enable welcome page",welcome:{switchLabel:"Welcome Page"},enableSessionHardening:{switchLabel:"Enable Session Hardening",switchTips:"After enabling this option, mutation operations will require strict verification, which can improve the server's overall security."},security:{switchLabel:"File System Isolation",switchTips:"After disabling this option, the file system of the Blocklet will no longer be in isolation, which may pose a risk of malicious software damaging the file system.",warningTips:"The file system isolation feature cannot take effect. Please upgrade the node.js version (current version is {version}) to v21.6.0 or higher."},docker:{switchLabel:"Run Blocklets in Containers",switchTips:"After enabling this option, all blocklets will be run in Docker containers, which can improve the server's overall security.",notInstalled:"Can not enable container mode because docker is not installed or the current user has insufficient permission to run docker",needCloseFileSystemIsolation:"File system isolation and docker container mode runtime cannot be enabled at the same time"},dockerNetwork:{switchLabel:"Container Network Isolation",switchTips:"After enabling this option, blocklets run in a more secure manner: a blocklet cannot access the blocklet server or other blocklets across applications.",needEnableDocker:"Container mode must be enabled to enable network isolation"},upgrade:{title:"Upgrade Blocklet Server to {version}",description:"During the upgrade, your Blocklet Server will enter maintenance mode for a few minutes while the update is completed.",dialog:'Click on "confirm" to install the update. Blocklet Server will enter maintenance mode until the update is completed and return to production mode automatically.',confirm:"Upgrade",switchLabel:"Auto Update Check",enableBetaRelease:"Enable Beta Release",setup:"Preparing the upgrade",installing:"Installing Blocklet Server v{version}",restarting:"Restarting Blocklet Server",cleanup:"Migrating Blocklet Server data",verifying:"Verifying Blocklet Server v{version}",rollback:"Rollback Blocklet Server",complete:"Upgrade complete!",progress:"Upgrading {name}",check:"Check for Updates",latest:"You are running the latest version."},restart:{title:"Restart Blocklet Server",description:"During the restarting, your Blocklet Server will enter maintenance mode while the restart is completed.",dialog:'Click on "confirm" to restart. Blocklet Server will enter maintenance mode until the restart is completed and return to production mode automatically.',confirm:"Restart",setup:"Preparing the restart",verifying:"Verifying Blocklet Server",restarting:"Restarting Blocklet Server",cleanup:"Ensure everything is OK",rollback:"Cleanup the dirty state",complete:"Maintain complete!",progress:"Restarting {name}"},restartAllContainers:{title:"Restart All Container",description:"Restart all containers and keep blocklets running.",dialog:'Click "confirm" to restart all container blocklets and keep blockelts status running.',confirm:"Restart",setup:"Preparing the restart",verifying:"Verifying Blocklet Server",restarting:"Restarting All Container At Background",cleanup:"Ensure everything is OK",rollback:"Cleanup the dirty state",complete:"Maintain complete!",progress:"Restarting All Container At Background"},restartAllBlocklet:{title:"Restart All Blocklets",description:"Restart all blocklets that are running or error on this server.",dialog:'Click "confirm" to restart all blocklets at background.',confirm:"Restart",setup:"Preparing the restart",verifying:"Verifying Blocklet Server",restarting:"Restarting All Running Or Error Blocklets At Background",cleanup:"Ensure everything is OK",rollback:"Cleanup the dirty state",complete:"Maintain complete!",progress:"Restarting All Running Or Error Blocklets At Background"},register:{title:"Register to Blocklet Launcher",description:"Once added, you can launch blocklets to this blocklet server from {url}.",button:"Register"},monitor:{diskThreshold:"Send alert when disk usage exceeds (%)",diskThresholdPlaceholder:"Please set the disk usage alert threshold"}},accessKey:{accessKeyId:"ACCESS KEY",lastUsed:"Last Used At",tip:"Please enter a name for this access key",passport:"Select a passport for the access key to grant or limit permissions",expireTime:"Set an expiration date for the access key for better security",saveSecretTip:"This is the only time that your Access Secret key can be viewed and cannot be recovered. However, you can create new access keys at any time",iKnow:"I have copied and saved the Access Secret",showSecret:"Show Secret Access Key",hideSecret:"Hide Secret",title:"Delete Access Key",descriptionNoTime:"This will permanently delete the access key {key} with name {name}, which is (never used before)",description:"This will permanently delete access key {key} with name {name}, which is (last used on {time}, {timeAge})",confirm_desc:"Please input {name} to delete",remark:"Access Key Name",remarkInvalid:"Access Key Name is required",authType:"Auth Type",resourceType:"Resource Type",resourceId:"Resource ID",component:"Component",expired:"{time} expired"},webhook:{add:"Add Integration",delTitle:"Delete Integration",requiredError:"Please provide a valid {type}",confirm_desc:"Please input {name} to delete",test:"Test",description:"This will permanently delete integration with ID {id}",columns:{description:"ID",params:"Params",createdAt:"createdAt"}}},notification:{title:"Notifications",empty:"No activities yet",viewAll:"View All",showRead:"Show Read",markAllAsRead:"Mark All as Read",markAsRead:"Mark As Read",proceed:"Proceed",checkingForUpdates:"Checking for updates...",installComponentError:"Not found uninstalled component {name}",installingComponent:"Installing component {name}",pushKit:{enable:"Enable notification",endpoint:"PushKit endpoint",endpointInvalid:"PushKit endpoint is invalid URL",testSuccess:"Test PushKit send successfully",testFailed:"Test PushKit send failed",testReceiver:"PushKit receiver",testSend:"Test push-kit send",inputTestReceiver:"Please input test receiver did",receiverRequired:"PushKit receiver is required",pushPath:"Api path for push-kit (default /api/push)",did:"PushKit Blocklet DID",customOptions:"Custom Options"},email:{enable:"Enable notification",from:"Email Sender",host:"SMTP Server Host",port:"SMTP Server Port",user:"SMTP Username",secure:"Secure Connection",password:"SMTP Password",fromRequired:"Email sender is required",fromInvalid:"Email sender is invalid",receiverRequired:"Email receiver is required",receiverInvalid:"Email receiver is invalid",hostRequired:"SMTP server host is required",hostInvalid:"SMTP server host is invalid",portRequired:"SMTP server port is required",portInvalid:"SMTP server port is invalid, port should be between 1 and 65535",userRequired:"SMTP server username is required",passwordRequired:"SMTP server user password is required",testSuccess:"Test email send successfully",testFailed:"Test email send failed",testReceiver:"Email receiver",testSendEmail:"Test email send",inputTestReceiver:"Please input test receiver email",disable:"Unsubscribe email notification",disableDescription:"After unsubscribe, you will no longer receive email notifications. To receive email notifications, you can subscribe it again on this page.",unsubscribe:"Unsubscribe email notification",unsubscribeDescription:"After unsubscribe, you will no longer receive any email notifications.",subscribe:"subscribe",subscribeDescription:"To receive email notifications, you can subscribe it again on settings page."},comingSoon:"More notification channel are under construction",unsubscribe:"Unsubscribe",unsubscribeSucceed:"Unsubscribe succeeded",unsubscribeFailed:"Unsubscribe failed",unsubscribeTokenRequired:"Unsubscribe token in required",unsubscribeTokenExpired:"Unsubscribe token is expired",unsubscribeTokenInvalid:"Unsubscribe token is invalid",notificationDetails:"Notification Details",notificationPreview:"Notification Preview",receiver:"Receiver",filter:"Filter",resend:"Resend",resendLimit:"You can resend a notification up to three times daily.",sendStatus:{success:"Sent",failed:"Failed",pending:"Pending",sentTime:"Sent Time: {date}",count:"{count} ",total:"Total",reason:{enabled:"User has enabled {channel} notification",disabled:"User has not enabled {channel} notification",unavailable:"Current Blocklet has not configured {channel} notification",available:"Current Blocklet has configured {channel} notification",notSent:"Current message has not been sent to {channel}",offline:"User is offline"}},from:"From",to:"To",body:"Body",notificationTitle:"Title",createdAt:"Created At",status:"Status",system:"System",severity:"Severity",config:"Configs",selectChannels:"Select Channels",selectChannelsTip:"Select the channels to resend",resendFailedOnly:"Resend Only to Failed Channels",statistics:"Statistics",allSender:"All Senders",allSeverity:"All Severities",severityType:{info:"Info",success:"Success",warning:"Warning",error:"Error"},clear:"Clear",allDone:"You're all done"},router:{routerSetting:"Domains & URLs",certSetting:"SSL Certificates",defaultSite:"Default",urlHelperText:"URL that do not start with HTTP/HTTPS are considered relative paths",empty:"Click on Actions to setup URL Mapping",healthy:{ok:"Blocklet or service is running",error:"Blocklet or service is not running or not installed"},service:{select:"Select Blocklet Services (Optional)",what:"Blocklet Services are pipelines executed against the request before redirecting to upstream blocklet"},nonProvider:{title:"Engine Change Warning",description:"If you change engine to none, your current page may not work properly because the previous engine will be stopped, are you sure to continue?",confirm:"I understand, continue"},validation:{urlRequired:"URL is required",redirectCodeRequired:"Redirect code is required",didRequired:"Blocklet is required",pathPrefixTooLong:"The URL Prefix cannot exceed {length} characters",pathPrefixCannotBeEmpty:"The URL Prefix cannot be empty",domainRequired:"Server domain is required",invalidUrl:"Please provide a valid URL",pathPrefixRequired:"URL prefix is required",redirectUrlRequired:"Redirect URL is required",rewriteUrlRequired:"Rewrite URL is required"},domain:{addSite:"Add Site",validate:{emptyTip:"Site domain cannot be empty",suffixTip:"Site domain cannot include {suffix}"},add:{title:"Add Domain Name",description:"Please provide a valid domain name",confirm:"Add",cancel:"Cancel",blocklet:"Select Blocklet",redirect:"Where to redirect the traffic?",port:"What port does your request handler need to listen to?",portTip:"This defaults to the main port of request handler, you can customize this",type:"Traffic Handler",component:"Select Component",pageGroup:"Page Group",pageGroupTip:"This component can render any group of pages listed above, leave empty to render all pages"},update:{title:"Update Site Domain",label:"Site Domain",description:"Please provide a valid site domain"},setup:{tipStart:"Add the DNS records for the domain",tipEnd:"as per the following guidelines",recordType:"Record Type",recordValue:"Record Value"},verify:{ok:"The domain resolution is normal",notResolved:"This domain neither resolved nor accessible, please check your DNS configuration"},https:{ok:"This domain has https enabled",bad:"This domain has not enabled https"},delete:{title:"Delete Site",description:'By confirming, you will delete your existing "{name}" site. Type "{name}" below and select Delete to complete the change, or select Cancel if you want to leave your site',confirm_desc:"Please input {name} to confirm"}},domainAlias:{custom:"Custom domain",noCustom:"No custom domain",noCustomTip:"No custom domain is configured with your website. For enhanced security and better user experience, we recommend configuring your own custom domain. Click below to get started.",nftDomain:"Automatic config with DID Names",showTipHint:"How do I configure domain name resolution?",add:{title:"Add Additional Domain",tips:"You can enter a domain name purchased from DID Names or any other domain. If it is a DID Domain, you must present the DID Domain NFT to proceed.",domainDescription:"Please provide a valid domain name",forceTip:"Force add if domain name already exists",helperText:"If an HTTP or HTTPS URL is entered, it will be automatically converted into a domain name.",isDidDomainError:"This domain is a DID Domain. Please add it using the method for automatic domain configuration."},addCustomDomain:{name:"Custom Domain"},addDomainNFT:{showNFT:"Configure domain automatically",tips:"You can enter a domain purchased from DID Names. If a DID Domain is detected, you must present the DID Domain NFT to continue.",connect:{title:"Connect DID Names to {appName}",scan:"Use one of the following methods to connect {domain} to {appName}",confirm:"Confirm on your DID Wallet",success:"Authorization Successful"},authorizeFailed:"Failed to get the domain NFT info, please try again!",buyTip:"DID Names will do the domain name resolution automatically, no need to configure it manually, and the application will update the resolution record of the domain name automatically when needed. If your don't have DID Domain NFT yet, ",buy:"Buy DID Domain",topLevelDidDomainHint:"For DID Domain, if you enter a top-level domain (e.g. example.com), it will automatically be configured as www.example.com"},delete:{title:"Are you sure you want to delete?",description:'After delete "{domain}", access to that alias may not be handled properly.',confirmPlaceholder:'Please input "{domain}" to delete'}},domainSecurity:{title:"Domain Security",cors:{title:"Allowed CORS Domains",description:'Domain list that can send cross origin requests to {name}, comma separated, use "*" to allow anyone, which is not recommended',domainInvalid:"Please input a valid list of domain names"}},rule:{add:{title:"Add URL Mapping",confirm:"Add",pathPrefix:"What's the URL Prefix?",pathPrefixTip:"If you set prefix to '/my-prefix', then all requests that begins with that prefix will be routed to the configured blocklet",blocklet:"Which Blocklet will be handling those requests?",port:"Which port of the blocklet will be handling requests?",portTip:"This defaults to the main port of blocklet, if your blocklet listens on multiple ports, you can customize this",responseType:"Response Type",responseBody:"Response Content",responseBodyTip:"Paste your response content here, should not exceed 4096 characters",responseBodyRequired:"Response content can not be empty"},delete:{title:"Delete URL Mapping",description:'By confirming, you will delete your existing "{name}" URL Mapping. Type "{name}" below and select Delete to complete the change, or select Cancel if you want to leave your URL Mapping.',confirm_desc:"Please input {name} to delete",cancel:"Cancel"},update:{title:"Update URL Mapping",confirm:"Yes, Update",cancel:"Cancel"}},cert:{name:"Certificate Name",domain:"Domain Name",action:"Action",commonName:"Common Name",boundDomains:"Domains",source:"Source",expired:"Expired",leftDays:" days left",issuedOn:"Issued On",expiryOn:"Expiry On",fingerprintAlg:"Fingerprint Algorithm",validityPeriod:"Validity Period",matchedSites:"Matched Sites",upload:"Manual Upload",publicCertHelperText:"Public certificates can be downloaded",nonPublicCertHelperText:"Non-public certificates cannot be downloaded",protectedCertHelperText:"Protected certificates cannot be edited",unprotectedCertHelperText:"Unprotected certificates can be edited",issuing:"Certificate being generated",sourceTypes:{upload:"Manual Upload",lets_encrypt:"Let's Encrypt"},table:{nodata:"No data"},delete:{title:"Delete Certificate",description:"Confirm delete certificate of domain {domain}? Deleting it may affect related services. Please confirm it's safe before proceeding with the deletion.",confirm:"Confirm"},nginx:{title:"Update Certificate",titleAdd:"Add Certificate",pem:"SSL Certificate File",pemTip:'Please drop your server certificate file here, it should ends with ".pem" or ".crt"',key:"Private Key File",keyTip:'Please drop your server private key file here, it should ends with ".pem" or ".key"',confirm:"Save",cancel:"Cancel",invalidFile:"You have selected an invalid file",empty:"No file selected yet",source:"Source",sourceTypes:{upload:"Manual Upload",lets_encrypt:"Let's Encrypt"}},detail:{title:"Certificate Details"},genLetsEncryptCert:{title:"Generate Let's Encrypt certificate",dnsTip:"Please make sure the domain name has point to the current Blocklet Server.",description:"Adding a certificate will make the service more secure, and Blocklet Server will automatically renew the certificate before it expires."}},gateway:{reqLimit:{title:"Request Limiting",switchLabel:"Enable request limiting to throttle requests",rate:"Request Limit ({rate} Request/Second)"},cacheEnabled:{title:"Gateway Cache",switchLabel:"Enable gateway cache to boost performance"},blockPolicy:{title:"Request Blocking",switchLabel:"Block bad requests to protect your server",addItem:"Add Item",blacklistDesc:"Requests from these IPs will be blocked from accessing this Server and all Blocklets",inputPlaceholder:"Enter IP address, CIDR range, or URL",invalidItem:"Invalid IP address, CIDR range, or URL",autoBlocking:{switchLabel:"Block bad requests by realtime detection",windowSize:"The time window size for counting requests (seconds)",windowQuota:"The maximum number of requests (per IP) allowed within the window",blockDuration:"The duration to block user by IP when quota exceeded within the window (seconds)",statusCodes:"The status codes to be checked"}},proxyPolicy:{title:"Proxy Policy",switchLabel:"This server is running behind proxies",trustRecursive:"Trust proxies recursively",trustRecursiveDesc:"Use the leftmost IP in the X-Forwarded-For chain",trustedProxies:"Trusted Proxies",trustedProxiesDesc:"Requests from these IPs will be trusted to get the real client IP",realIpHeaderLabel:"Client IP Header",realIpHeaderDesc:"If the Blocklet Server is running behind proxies such as CloudFront, you can set the header of the client's real IP here.",addItem:"Add Item",inputPlaceholder:"Enter IP address, CIDR range",invalidItem:"Invalid IP address, CIDR range"},wafPolicy:{title:"Web Application Firewall",switchLabel:"Detect and block bad requests with ModSecurity",modeDesc:"The mode for ModSecurity",docDesc:"Check the documentation for how to setup ModSecurity",mode:{detectOnly:"Detect Only (will not block requests)",on:"On (will block requests)"},logLevelDesc:"The log level for ModSecurity (0-9), 0 means disable audit log",inboundAnomalyScoreThresholdDesc:"The inbound anomaly score threshold (1-100), lower value means more strict",outboundAnomalyScoreThresholdDesc:"The outbound anomaly score threshold (1-100), lower value means more strict"}}},noMatch:{desc:"We can't find the page that you're looking for"},health:{connectionErrorTip:"Blocklet Server can't connect to the network, please check if Blocklet Server has been stopped or there is a network issue",connectionRecoveryTip:"Blocklet Server connectivity has been recovered",connectionStoppedTip:"Blocklet Server has been stopped",wrongAccessUrlTip:"Blocklet Server access address is wrong, please use the correct access address"},debug:{title:"Your Blocklet Server is up and running!"},team:{add:"Add New",invite:{action:"Invite New",setting:"Invite Settings",enabled:"Disable this setting to restrict new user invites to owner/admin only",disabled:"Enable this setting to allow any user to invite new users",inviter:"Invited By"},member:{name:"Name",passport:"Passport",passports:"Passports",lastLogin:"Last Login",lastLoginIp:"Last Login IP",openProfile:"View Profile",source:"Register Source",source_derived:"Derived from oauth",source_wallet:"DID Wallet",filter:"Filter by",blockAccess:"Block Access",blockAccessDescription:"The user will not be able to connect to this application",allowAccess:"Allow Access",allowAccessDescription:"The user will be able to connect to this application",updateRole:"Update Role",removeUser:"Remove User",removeUserDescription:'Confirm remove user "{did}" and all its related data (connected accounts, passports, login sessions, etc.)? This action cannot be undone.',removeUserSuccess:"User removed successfully",revokePassport:"Revoke Passport",revokePassportDescription:"Once the passport is revoked, the passport holder can not use it to login again, are you sure to continue?",enablePassport:"Enable Passport",enablePassportDescription:"Once the revoked passport is enabled again, the passport holder can use it to login again, are you sure to continue?",passportPermissionTitle:"The passport has the following permissions:",search:"Search Member",onlyApprovedMember:"Show Approved Only",inviteDialog:{createInviteLink:"Generate Invitation Link",createSuccessTip:"The invitation link is successfully created, click to copy and send the link to the invited member, please note that this invitation link can not be reused and will expire on {expireDate}"},error:{passportEmpty:"Passport should not be empty"},connectedAccounts:"Connected Accounts",connections:"Connections",federated:"Federated",switch:{did:"Switch DID",profile:"Switch Profile",passport:"Switch Passport"},settings:{notification:"Notifications",email:"Send email to me when some events happen",wallet:"Send notification to my wallet when some events happen",phone:"Send text message to me when some events happen",webhook:"Webhooks",add:"Add new webhook",url:"Custom URL",slack:"Slack Webhook",tested:"Test message sent"},activeUserSessions:"Active User Sessions",forceLogout:"Force logout",forceLogoutDescription:"Confirm to force logout this user?"},transferNode:{name:"Transfer Ownership",inviteDialog:{title:"Transfer Blocklet Server",tips:{progress:"Transfer the server needs to be accepted by the receiver to complete the transfer operation, and once the receiver accepts it, you cannot log in to the server with the current passport again.",newOwnerPermissions:"The new Owner will have the right to manage all operations such as members, passports, and Blocklets.",revoke:'If you want to withdraw the transfer invitation, you can delete the invitation link in the "Team -> Members -> Inviting" page.'},createInviteLink:"Generate Invitation Link",createSuccessTip:"The invitation link is successfully created, click to copy and send the link to the invited member, please note that this invitation link can not be reused and will expire on {expireDate}"},delegateDialog:{title:"Authorize Required",scan:"Use the following methods to authorize server to transfer server ownership NFT.",confirm:"Confirm on your DID Wallet",success:"Authorization Successful"}},transferApp:{name:"Transfer Ownership",description:"You can transfer the ownership of your application to another wallet or another person.",transferDialog:{title:"Transfer Application",tips:{progress:"Transfer the application needs to be accepted by the receiver to complete the transfer operation, and once the receiver accepts it, you cannot log in to the application with the current passport again.",newOwnerPermissions:"The new Owner will have the right to manage all operations such as members, passports, and settings."},createTransferLink:"Generate Transfer Link",createSuccessTip1:'The transfer link is successfully created, the invitee must use <a style="color: rgb(29, 193, 199)" target="_blank" href="https://www.didwallet.io/">DID Wallet</a> to receive the app ownership',createSuccessTip2:"Please click to copy and send the link to the invited member, please note that this transfer link can not be reused and will expire on {expireDate}. Your transfer link will only be shown once and will not be viewable again after closing this dialog",createSuccessTip3:"After the transfer is successful, the application will automatically restart to make the changes take effect",link:"Transfer Link",iKnow:"I have copied and saved the link"},connectDialog:{title:"Authorize Required",scan:"Use the following methods to authorize application to transfer ownership.",confirm:"Confirm on your DID Wallet",success:"Authorization Successful"},receiveDialog:{title:"Receive Application Ownership",scan:"Use the following methods to receive the application ownership.",confirm:"Confirm on your DID Wallet",success:"Receive Ownership Successfully"},successTitle:"You have become the new owner of this application",visitDashboard:"Visit Application Dashboard"},permission:{create:{title:"Create Permission",description:`Format: <action>_<resource>
1761
+ Ratio: 16:9`,splashLandscape:"Splash Landscape",splashPortraitDesc:"Displayed when the blocklet is launched. PNG or JPG format, recommended aspect ratio 9:16 for portrait and 16:9 for landscape (max 5MB)",ogImage:"Open Graph Background",ogImageDesc:"Used in: social media sharing background",clusterSize:"Instance count when run this blocklet in cluster mode",copyrightOwner:"Copyright Owner",copyrightYear:"Copyright Year",copyrightDesc:"Used in: website footer",deletable:{name:"Delete Protection",enable:"This blocklet can NOT currently be deleted",disable:"This blocklet can currently be deleted"},tenantMode:{name:"Multi-Tenant Mode",multiple:"This blocklet runs in multiple tenant mode, data should be isolated for each tenant",single:"This blocklet runs in single tenant mode, all data are shared"},walletType:{name:"Wallet Type",description:"Blocklet instance wallet type, will change the derived DID"},languages:"Supported Languages",selectLanguagesTip:"Adjust the order by removing and re-adding",languagesSearch:"Search by Country's Local Name, English Name, or ISO Code...",passportColor:"Passport Color",appUrl:"App URL",appUrlDesc:"Used in: sitemap and social sharing",access:{title:"Who can access?",description:"Choose how you want to control access to your application.",useDefault:"Use default",defaultDescription:"Use the application's default configuration",whoCanAccess:{all:{title:"Open to Everyone",description:"Anyone can access this blocklet without authenticating."},owner:{title:"Owner-Only Access",description:"Only the blocklet owner can access it."},invited:{title:"Invite-Only Access",description:"Only invited members can access it."}},publicToStore:"Public On Store",publicInstanceTip:"The access address of this blocklet will be displayed in the Store (along with your DID for accepting donations)",updatedTip:"Access Control Modified"},changedTip:"Configuration updated, please restart Blocklet",missingRequired:"Missing required configuration to start the blocklet",gotoFix:"Go to fix",environment:{key:"Configuration key",value:"Configuration value",keyValueRequired:"Configuration key and value must be specified",invalidKey:"Configuration key must not start with BLOCKLET_ or COMPONENT_",deleteForbidden:"This configuration is required and should not be deleted",tip:"Configurations prefixed with BWA_ should not contain sensitive information because they will be sent to the browser"},dangerZone:"Danger Zone",migrate:{button:"Change DID",title:"Confirm DID Change",description:"If you are launching with server managed wallet, you can change application DID to your own wallet.",confirm:"Are you sure you want to change the application DID? This operation will invalidate all existing sessions and force users to login again, including your own session."},sharedToAllComponents:"Will be shared to all components",session:{period:"Session validity period",profile:"User profile requirements",ttl:"User will be asked to login again if they have no activity on this site for {day} days",day:"{day} day",days:"{day} days",cacheTtl:"Cache duration for user session data (in seconds)",fullNameEnabled:"Request user name on login (enabled by default)",avatarEnabled:"Request user avatar on login (enabled by default)",emailEnabled:"Request user email on login",emailRequireVerified:"Require user email to be verified before login",emailRequireUnique:"Require user email to be unique across all users",phoneEnabled:"Request user phone number on login (not supported yet)",phoneRequireVerified:"Require user phone number to be verified before login",phoneRequireUnique:"Require user phone number to be unique across all users",emailTrustOauthProviders:"Trust OAuth providers for email verification status",enableDomainBlackList:"Enable email domain black list (reject listed email domains)",enableDomainWhiteList:"Enable email domain white list (only allow listed email domains to login)",addDomain:"Add source to fetch the list (in plain text format, one domain per line)"},clearCache:{name:"Cache Management",purpose:"Manage files cached in router and blocklet services",title:"Confirm Cache Clear?",action:"Clear Cache",success:"Successfully cleared {count} cache entries",description:"Are you sure you want to clear cached files in router and blocklet service? this operation may cause slight performance downgrade in the short term"},rotateSessionKey:{name:"Session Salt Rotation",purpose:"Session salt is a random value used to enhance the security of session tokens. Click the button to rotate the session salt manually, which helps reduce the risk of login token compromise.",title:"Confirm Session Salt Rotation?",action:"Rotate Salt",success:"Successfully rotated session salt",description:"Are you sure you want to rotate session salt? this operation will invalidate all existing login tokens and force user to login again, including your own login token."},vault:{name:"Vault DID",title:"Setup Vault",desc:"Use vault to add an extra layer of security to funds managed by this blocklet.",tip:"Input the vault address to continue, you need to prove ownership of the vault address before it can be used.",address:"Vault Address",verified:"Vault is verified",current:"Current Vault",error:{invalid:"Vault address must be a valid DID",holder:"Vault address must be a valid token holder on blockchain, token/asset/factory/stake address are not supported.",duplicate:"This vault address was used before, please use a different one",appDid:"Can not use application DID as vault address, please use a different one"},role:"Role Type",firstSeen:"First Seen",lastSeen:"Last Seen",migratedFrom:"Migrated From",migratedTo:"Migrated To",commit:{title:"Verify Vault Ownership",scan:"Use the following methods to verify the vault ownership",confirm:"Confirm using DID Wallet",success:"Vault is configured successfully"},approve:{title:"Approve Vault Change",byOwner:"Sign with blocklet owner to approve the change",byLast:"Sign with last vault to approve the change",confirm:"Confirm using DID Wallet",success:"Vault change is approved"}}},overview:{source:"Source",deployedFrom:"Deployed From",accessControl:"Access Control",viewInStore:"View It In Store"},diskInfo:{empty:"Disk info not available now!",appDir:"App Directory",dataDir:"Data Directory",logDir:"Log Directory",cacheDir:"Cache Directory"},runtimeInfo:{noRunning:"Runtime information will be available when blocklet is running!",memoryUsage:"Memory Usage",cpuUsage:"CPU Usage",uptime:"Uptime",port:"Port",processId:"Process ID"},dist:{downloadLink:"Download Link",verify:"Verify"},status:{added:"Added",waiting:"Waiting",downloading:"Downloading",extracting:"Extracting",installing:"Installing",upgrading:"Upgrading",installed:"Installed",created:"Created",starting:"Starting",running:"Running",stopping:"Stopping",stopped:"Stopped",error:"Error",deleting:"Deleting",corrupted:"Corrupted",purchasing:"Waiting for purchase",purchased:"Purchased",verifying:"Verifying purchase",resource:"Resource"},list:{download:"Download",star:"Star",searchPlaceholder:"Search by Blocklet Name or DID"},component:{container:"Global Config",showContainer:"Show Global Config",didSpaceConfig:"Configure DID Spaces",didSpaceConfigTip:"Complete the following authorize process to store application data in DID Spaces",didSpaceConnected:"Storage being authorized to: {endpoint}",checkUpdateTitle:"Check for Updates",updateTitle:"Update Blocklets",noUpdate:"No Blocklets to update",add:"Add Blocklet",selectComponent:"Select Blocklet",selectRegistry:"Select Blocklet Store",selectRegistryTip:"You can switch blocklet store to see more components",selectInstance:"Select Instance",selectInstanceTip:"You can select an existing instance or create a new instance. Existing instances will use previously saved configuration and data",newInstance:"Create New Instance",noComponent:"No Blocklets",mountPoint:"What's the mount point?",mountPointTip:"If you set mount point to '/my-prefix', then all requests that begins with that mount point will be routed to the selected Blocklet",delete:"Delete Blocklet",deleteDescription:"This Blocklet will not be accessible after deletion. Confirm delete?",purchase:"Payment Required",tip:{stopBlocklet:"Please stop running Blocklet first",requiredBy:"The Blocklet is required by {name}"},choose:"Choose",upgrade:"Upgrade",upgradeAvailable:"Upgrade Available",needBuy:"Need Purchase",isOfficial:"Officially Certified",addWithName:"Add Blocklet To {name}",relatedComponents:"Related Blocklets",required:"Required",noDependencies:"{name} doesn't have any dependencies",installed:"Installed",installingTip:"Installing component, please wait...",installingCanCloseWindowTip:"Installing component in the background, you can safely close this window",installSuccessTip:"Congratulations, the component was installed successfully!",missDownloadTokenTip:"Cannot add paid component without valid download token",purchaseComponentSecondCheckTip:"Please present your blocklet purchase NFT to continue",installComponentError:"There was an error installing the component, please retry again",downloadComponentError:"There was an error downloading the component, please retry again",addComponentTip:{introduction:"Welcome to the Add Component Wizard",isPurchase:"You need to Verify NFT before use <b>{name}</b> as a component;",belowInformation:"Below is the information for the component: ",verifyNFT:"Please select the Verify NFT method",config:"Please fill in the configuration of the component",environment:"Please fill in the environment of the component",fromUrl:"Add Blocklet From Url"},addNext:"Add {name}",upgradeNext:"Upgrade {name}",setting:"Settings"},router:{urlPath:"URL Path",noRunning:"The blocklet is not currently started. Unable to access through the following address!",securitySetting:"Security Setting",checkUrlAccessible:"Check the accessibility of the address",urlInaccessible:"It may be due to network reasons, the address is temporarily inaccessible",noAccessibleUrl:"No accessible URL",domainLockTooltip:"The system generated Domain cannot be edited.",urlLockTooltip:"The system generated URL Path cannot be edited.",showAllDomains:"Show all domains",showAllDIDs:"Show all DIDs",currentDomainTip:"You are accessing the current page through this domain"},export:{title:"Export Blocklet",name:"Bundle Name",nameTip:'e.g. "my-blocklet-name" or "@my-scope/blocklet-name"',result:"What's next",exportSource:"Export Source",success:"Blocklet successfully exported",resultTipStart:"With",resultTipEnd:"you can build and publish this blocklet within minutes",uploadedComponentTip:"Directly uploaded components cannot be exported:"},migrate:{title:"Migrate Application",scan:"Connect your DID Wallet to generate a key-pair for this application",confirm:"Review this operation on your DID Wallet",success:"Your application is successfully migrated, the page will be refreshed in {sec} seconds",intro:{l1:"Click here",l2:"to migrate your application to new version (changes are disabled before the migration completes)",l3:"1. The application DID will be fully controlled from your DID Wallet.",l4:"2. The application data will be migrated, and no further changes required.",l5:"3. The new application structure will give you more flexibly when change components.",l6:"4. Please do not change component mount points before component new version is out."},tip:{duplicate:"Find duplicate component {name}, please delete useless components and migrate again",running:"Please stop blocklet before migration"}},error:{isRunning:"Blocklet is running, please stop it first",isInProgress:"Blocklet is in progress, please wait for it to finish"},publish:{store:"Blocklet Store",connectOrUpload:"Connect or Upload",projectSettings:"Project Settings",noStoreSelected:"Please select one of the existing stores or add a new store to continue",forceResourceBlocklet:"Force defined as a resource-based blocklet",autoUploadTip:"Upload release to connected Blocklet Stores automatically after creation",possibleSameStoreTip:"Try resolving dependency blocklets to the same Blocklet Store before each uploading when possible",needProjectId:"Please create a project first",developerInfo:"Developer Information",branding:"Branding",brandingHelp:"More information about the blocklet will be displayed in the Store",download:"Download {name}",deleteStoreTip:"Are you sure you want to remove {name} from the connect Store list?",delete:"Delete {name}",copyInstallUrl:"Copy Install URL",installToThisServer:"Install to this server",createResource:"Create Resource",blockletStudio:"Blocklet Studio",tenantScope:"Tenant",addResource:"Add Blocklet",productTitle:"Product",versionTitle:"Versioning",imgTitle:"Images",storeRule:{warning:"Warning",screenshot:"screenshot",screenshots:"screenshots",first:"1st",second:"2nd",third:"3rd",maxImageCount:"The store allows at most {max} {unit}.",minImageCount:"The store requires at least {min} {unit}.",minImageSize:"The {name} screenshot image size must be at least {width}x{height}.",logoFormat:"The logo image format just supports [{format}]."},resourceTitle:"Content",resourceSelect:"Select resource from following blocklets",resourceUpload:"Upload resource from your disk (index.html is required in the archive)",resourceDocker:"Build Blocklet from Docker",resourceSelectTitle:"Resource",resourceUploadTitle:"Upload",resourceDockerTitle:"Docker",resourceDockerInputTip:"Please input the docker run command",blockletEmptyTip:"There aren't any blocklets here",createBlockletTip:"You can create new blocklet through existing resources, components, and configuration in this application",createBlocklet:"New blocklet",reconnectStoreTip:"After reconnecting, a new developer will be bound. Are you sure you want to reconnect?",disconnectStoreTip:"After disconnecting, the blocklet will be removed from the store. Are you sure you want to disconnect?",componentNotRunning:"Blocklet {name} is not running, please start it first",allComponentsNotRunning:"Blocklets is not running, please start it first",releaseEmptyTip:"There aren't any releases here",resourceEmptyTip:"No available resources",viewLastRelease:"View last release",createReleaseTip:"You can create a release of the blocklet, along with release notes and resources, for other people to use",createRelease:"Create release",deleteReleaseTip:"The release cannot be recovered after deletion",createBlockletDid:"Create from DID Wallet",createReleaseSuccess:"Release created successfully",saveDraftSuccess:"Draft saved successfully",packTip:"Currently blocklets can be installed directly as applications. Components and application configurations will be automatically included in the Blocklet",resourceTip:"Currently, as a Resource Blocklet, it cannot be directly installed from the Store.",whyCantSeeInStore:"You can publish the current blocklet on the store, and it can be used all over the world",whyCantSeeResourceBlockletInStore:"You can publish the current blocklet on the store, and it can be used all over the world, Blocklet are hidden from the store listing page by default",resourceChangedWarning:"You have modified the resource, please save it in time",install:"Install {name}",installResourceTip:"Install Url:",installResourceTip2:"If you want to see more tips, please visit",installResourceHelp:"Help Document",componentIncluded:"Included",componentForceRequired:"Required",steps:{branding:"Describe the basic information of your Blocklet. This information will be presented to users in the store.",introduction:"A clear introduction can effectively highlight your Blocklet. You can use Markdown syntax to write and preview it.",resources:"Please select the resources that need to be associated with the current Blocklet, as these resources will be installed along with the Blocklet.",blocklets:"Please select the Blocklets that need to be associated and installed when installing the current Blocklet.",version:"Set the release version and the change log."},connect:{title:"Create Blocklet DID",scan:"Use the following methods to generate Blocklet DID",confirm:"Confirm using DID Wallet",success:"Blocklet DID has been generated, please continue your operation"},deleteProject:{title:"Delete {name}",scan:"Use the following methods to delete {name}",confirm:"Confirm using DID Wallet",success:"Blocklet has been deleted, please continue your operation",description:"Are you sure you want to delete the Blocklet? Here are the issues you might encounter:",tip1:"The Blocklet cannot be recovered after deletion.",tip2:"You will no longer be able to publish new versions to the deleted Blocklet, which means that the Blocklet will not be updated in the Store anymore.",tip3:"Deleting the Blocklet will not affect its currently published version in the Store."},saveDraft:"Save Draft",releaseNote:"Release Note",errorTip:{noDid:"Blocklet DID is required",noFirstDid:"Please create Blocklet DID first",noTitle:"Blocklet Title is required",noVersion:"Blocklet Version is required",inValidVersion:"Invalid Blocklet Version",noResource:"Please select upload resource to be included in the blocklet",noDescription:"Blocklet Description is required",noNote:"Release Note is required",invalidUrl:"Please input a valid URL",invalidUrlOrEmail:"Please input a valid URL or email"},uploadToStoreSuccess:"Blocklet upload to Store successfully, you need publish it in the Store",publishToStoreSuccess:"Blocklet published to Store successfully",connectStoreSuccess:"Blocklet Store connected successfully",docker:{pleaseInputDockerCommand:"Please input the docker run command",volumeTip:"Volume must start with $BLOCKLET_DATA_DIR or $BLOCKLET_APP_DIR",volumeTip2:'Volume cannot contain ".."',noAllowTheArg:"The argument is not allowed to be used in the docker run command",needCustomInput:"Setup the value when install blocklet",dockerParams:"Docker Params",dockerCommand:"Docker Command",dockerImageName:"Docker Image Name",addItem:"Add Docker Run Param",envKey:"Environment Variable Key",publishTips:"The final external port will be automatically assigned by the blocklet",volumeTips:"The volume need start with $BLOCKLET_DATA_DIR or $BLOCKLET_APP_DIR",modifyParam:"Modify Docker Run Param",modifyEnv:"Modify Environment Variable",paramDetail:"Param Detail",description:"Description",secure:"Secure",shared:"Shared",required:"Required",autoGenerated:"Auto Generated",prefix:"Prefix",path:"Path",name:"Name",portType:"Port Type",proxyBehavior:"Proxy Behavior",serviceProxy:"Service",directProxy:"Direct",dockerImageNameError:"Docker Image Name cannot contain spaces",dockerCMDError:"Docker CMD only supports simple characters"},endpoint:{tab:"Remote Blocklet",uploadToEndpoint:"You can upload the current blocklet to the specified blocklet.",addEndpoint:"Add Blocklet Endpoint",urlEmpty:"Endpoint URL cannot be empty",addFailed:"Add Blocklet Endpoint Failed: ",deleteEndpoint:"Delete Blocklet Endpoint",deleteDesc:'Confirm Delete blocklet endpoint {name} ?<br/><span style="color: {color}">*After removing this blocklet endpoint, you cannot update the apps installed from this blocklet endpoint unless you add them again.</span>',confirmDesc:"Please input {name} to delete",visitEndpoint:"Visit Blocklet",disconnectEndpointTip:"Are you sure you want to disconnect {url}? After disconnecting, the blocklet will not be uploaded to this endpoint.",deleteFailed:"Delete Blocklet Endpoint Failed",publishToEndpointSuccess:"Blocklet published to Endpoint successfully",uploadToEndpointSuccess:"Blocklet uploaded to Endpoint successfully"}}},dashboard:{nodeDid:"Node",ownerDid:"Owner",routingEngine:"Routing Engine",ownerNftURL:"Owner NFT",expirationLeft:"Expiration Left",startFromCrashTip:"Blocklet Server did not exit normally last time, please manually start the blocklets that needs to be run.",runtimeConfig:{blockletMaxMemoryLimit:"Blocklet Max Memory Limit",daemonMaxMemoryLimit:"Server Max Memory Limit",proxyMaxMemoryLimit:"Event Bus Max Memory Limit"}},store:{nameSort:"Name",popularSort:"Popularity",headerDescription:"Find and Install Your Blocklets",detail:{purchase:"Purchase {name}",open:"Open {name}",install:"Install {name}",upgrade:"Upgrade {name}",empty:"No introduction"},tooltip:{upgradeServer:"Blocklet requires Blocklet Server version {version}, current Blocklet Server version is {serverVersion}"},blockletRegistry:{changeFailed:"Change Blocklet Store Failed: ",addFailed:"Add Blocklet Store Failed: ",editFailed:"Edit Blocklet Store Failed: ",switchRegistry:"Switch Blocklet Store",addRegistry:"Add Blocklet Store",editRegistry:"Edit Blocklet Store",deleteRegistry:"Delete Blocklet Store",haveSameRegistry:"The same blocklet store exists",registryName:"Blocklet Store Name",registryUrl:"Blocklet Store URL",registryNameEmpty:"Blocklet Store name cannot be empty",registryUrlEmpty:"Blocklet store url cannot be empty",deleteDesc:'Confirm Delete blocklet store {name} ?<br/><span style="color: {color}">*After removing this blocklet store, you cannot update the apps installed from this blocklet store unless you add them again.</span>',confirmDesc:"Please input {name} to delete"},purchase:{title:"Purchase {name}",confirmed:"Your blocklet purchase NFT is verified",declined:"You do not provided valid the blocklet purchase NFT",waiting:"Waiting for purchase complete...",purchase:{title:"Purchase NFT",description:"Pay some token before installing this blocklet if you have not purchased this blocklet"},verify:{title:"Verify NFT",description:"Your NFT will be verified before installing this blocklet if you have purchased and hold the purchase NFT in your DID Wallet",auth:{title:"Purchase Credential Required",scan:"Connect DID Wallet to provide blocklet purchase NFT",confirm:"Review this operation on your DID Wallet",success:"Your purchase NFT is verified, and installing has started"}},auth:{title:"Purchase {name}",scan:"Scan following QRCode with your DID Wallet",confirm:"Confirm on your DID Wallet",success:"Purchase NFT sent to your DID Wallet"},launch:"Launch {name}",autoLaunch:"{name} successfully purchased, redirecting to launch page..."}},setting:{saveSuccess:"Settings Saved Successfully",unSavedTip:'There are unsaved changes, please click "Save Changes" to save them.',unSavedLeaveTip:"There are unsaved changes, are you sure to leave the page?",form:{name:"Name Your Server",nameRequired:"Server description is required",namePlaceholder:"Server Name",description:"Describe Your Server",descriptionHolder:"Server Description",descriptionRequired:"Server description is required",domain:"Your Server Domain Name",domainPlaceholder:"Server Domain Name",domainRequired:"Server domain is required",ipPlaceholder:"IP",ipRequired:"IP is required",registry:"Blocklet Store",registryPlaceholder:"Blocklet store to fetch blocklets",registryRequired:"Blocklet store is required ",registerUrl:"Blocklet Launcher URL",registerUrlPlaceholder:"Input the URL of your preferred Blocklet Launcher, you can use the official one safely",webWalletUrl:"DID Wallet URL",webWalletUrlPlaceholder:'Please input the URL of your hosted "DID Wallet", you can use the official one safely',nftDomainUrl:"NFT Domain URL",nftDomainUrlPlaceholder:'Please input the URL of your hosted "NFT Domain", you can use the official one safely',enableWelcomePage:"Enable welcome page",welcome:{switchLabel:"Welcome Page"},enableSessionHardening:{switchLabel:"Enable Session Hardening",switchTips:"After enabling this option, mutation operations will require strict verification, which can improve the server's overall security."},security:{switchLabel:"File System Isolation",switchTips:"After disabling this option, the file system of the Blocklet will no longer be in isolation, which may pose a risk of malicious software damaging the file system.",warningTips:"The file system isolation feature cannot take effect. Please upgrade the node.js version (current version is {version}) to v21.6.0 or higher."},docker:{switchLabel:"Run Blocklets in Containers",switchTips:"After enabling this option, all blocklets will be run in Docker containers, which can improve the server's overall security.",notInstalled:"Can not enable container mode because docker is not installed or the current user has insufficient permission to run docker",needCloseFileSystemIsolation:"File system isolation and docker container mode runtime cannot be enabled at the same time"},dockerNetwork:{switchLabel:"Container Network Isolation",switchTips:"After enabling this option, blocklets run in a more secure manner: a blocklet cannot access the blocklet server or other blocklets across applications.",needEnableDocker:"Container mode must be enabled to enable network isolation"},upgrade:{title:"Upgrade Blocklet Server to {version}",description:"During the upgrade, your Blocklet Server will enter maintenance mode for a few minutes while the update is completed.",dialog:'Click on "confirm" to install the update. Blocklet Server will enter maintenance mode until the update is completed and return to production mode automatically.',confirm:"Upgrade",switchLabel:"Auto Update Check",enableBetaRelease:"Enable Beta Release",setup:"Preparing the upgrade",installing:"Installing Blocklet Server v{version}",restarting:"Restarting Blocklet Server",cleanup:"Migrating Blocklet Server data",verifying:"Verifying Blocklet Server v{version}",rollback:"Rollback Blocklet Server",complete:"Upgrade complete!",progress:"Upgrading {name}",check:"Check for Updates",latest:"You are running the latest version."},restart:{title:"Restart Blocklet Server",description:"During the restarting, your Blocklet Server will enter maintenance mode while the restart is completed.",dialog:'Click on "confirm" to restart. Blocklet Server will enter maintenance mode until the restart is completed and return to production mode automatically.',confirm:"Restart",setup:"Preparing the restart",verifying:"Verifying Blocklet Server",restarting:"Restarting Blocklet Server",cleanup:"Ensure everything is OK",rollback:"Cleanup the dirty state",complete:"Maintain complete!",progress:"Restarting {name}"},restartAllContainers:{title:"Restart All Container",description:"Restart all containers and keep blocklets running.",dialog:'Click "confirm" to restart all container blocklets and keep blockelts status running.',confirm:"Restart",setup:"Preparing the restart",verifying:"Verifying Blocklet Server",restarting:"Restarting All Container At Background",cleanup:"Ensure everything is OK",rollback:"Cleanup the dirty state",complete:"Maintain complete!",progress:"Restarting All Container At Background"},restartAllBlocklet:{title:"Restart All Blocklets",description:"Restart all blocklets that are running or error on this server.",dialog:'Click "confirm" to restart all blocklets at background.',confirm:"Restart",setup:"Preparing the restart",verifying:"Verifying Blocklet Server",restarting:"Restarting All Running Or Error Blocklets At Background",cleanup:"Ensure everything is OK",rollback:"Cleanup the dirty state",complete:"Maintain complete!",progress:"Restarting All Running Or Error Blocklets At Background"},register:{title:"Register to Blocklet Launcher",description:"Once added, you can launch blocklets to this blocklet server from {url}.",button:"Register"},monitor:{diskThreshold:"Send alert when disk usage exceeds (%)",diskThresholdPlaceholder:"Please set the disk usage alert threshold"}},accessKey:{accessKeyId:"ACCESS KEY",accessKeySecret:"Access Secret",lastUsed:"Last Used At",tip:"Please enter a name for this access key",passport:"Select a passport for the access key to grant or limit permissions",expireTime:"Set an expiration date for the access key for better security",saveSecretTip:"This is the only time that your Access Secret key can be viewed and cannot be recovered. However, you can create new access keys at any time",iKnow:"I have copied and saved the Access Secret",showSecret:"Show Secret Access Key",hideSecret:"Hide Secret",title:"Delete Access Key",descriptionNoTime:"This will permanently delete the access key {key} with name {name}, which is (never used before)",description:"This will permanently delete access key {key} with name {name}, which is (last used on {time}, {timeAge})",confirm_desc:"Please input {name} to delete",remark:"Access Key Name",remarkInvalid:"Access Key Name is required",authType:"Auth Type",resourceType:"Resource Type",resourceId:"Resource ID",component:"Component",expired:"{time} expired"},webhook:{add:"Add Integration",delTitle:"Delete Integration",requiredError:"Please provide a valid {type}",confirm_desc:"Please input {name} to delete",test:"Test",description:"This will permanently delete integration with ID {id}",columns:{description:"ID",params:"Params",createdAt:"createdAt"}}},notification:{title:"Notifications",empty:"No activities yet",viewAll:"View All",showRead:"Show Read",markAllAsRead:"Mark All as Read",markAsRead:"Mark As Read",proceed:"Proceed",checkingForUpdates:"Checking for updates...",installComponentError:"Not found uninstalled component {name}",installingComponent:"Installing component {name}",pushKit:{enable:"Enable notification",endpoint:"PushKit endpoint",endpointInvalid:"PushKit endpoint is invalid URL",testSuccess:"Test PushKit send successfully",testFailed:"Test PushKit send failed",testReceiver:"PushKit receiver",testSend:"Test push-kit send",inputTestReceiver:"Please input test receiver did",receiverRequired:"PushKit receiver is required",pushPath:"Api path for push-kit (default /api/push)",did:"PushKit Blocklet DID",customOptions:"Custom Options"},email:{enable:"Enable notification",from:"Email Sender",host:"SMTP Server Host",port:"SMTP Server Port",user:"SMTP Username",secure:"Secure Connection",password:"SMTP Password",fromRequired:"Email sender is required",fromInvalid:"Email sender is invalid",receiverRequired:"Email receiver is required",receiverInvalid:"Email receiver is invalid",hostRequired:"SMTP server host is required",hostInvalid:"SMTP server host is invalid",portRequired:"SMTP server port is required",portInvalid:"SMTP server port is invalid, port should be between 1 and 65535",userRequired:"SMTP server username is required",passwordRequired:"SMTP server user password is required",testSuccess:"Test email send successfully",testFailed:"Test email send failed",testReceiver:"Email receiver",testSendEmail:"Test email send",inputTestReceiver:"Please input test receiver email",disable:"Unsubscribe email notification",disableDescription:"After unsubscribe, you will no longer receive email notifications. To receive email notifications, you can subscribe it again on this page.",unsubscribe:"Unsubscribe email notification",unsubscribeDescription:"After unsubscribe, you will no longer receive any email notifications.",subscribe:"subscribe",subscribeDescription:"To receive email notifications, you can subscribe it again on settings page."},comingSoon:"More notification channel are under construction",unsubscribe:"Unsubscribe",unsubscribeSucceed:"Unsubscribe succeeded",unsubscribeFailed:"Unsubscribe failed",unsubscribeTokenRequired:"Unsubscribe token in required",unsubscribeTokenExpired:"Unsubscribe token is expired",unsubscribeTokenInvalid:"Unsubscribe token is invalid",notificationDetails:"Notification Details",notificationPreview:"Notification Preview",receiver:"Receiver",filter:"Filter",resend:"Resend",resendLimit:"You can resend a notification up to three times daily.",sendStatus:{success:"Sent",failed:"Failed",pending:"Pending",sentTime:"Sent Time: {date}",count:"{count} ",total:"Total",reason:{enabled:"User has enabled {channel} notification",disabled:"User has not enabled {channel} notification",unavailable:"Current Blocklet has not configured {channel} notification",available:"Current Blocklet has configured {channel} notification",notSent:"Current message has not been sent to {channel}",offline:"User is offline"}},from:"From",to:"To",body:"Body",notificationTitle:"Title",createdAt:"Created At",status:"Status",system:"System",severity:"Severity",config:"Configs",selectChannels:"Select Channels",selectChannelsTip:"Select the channels to resend",resendFailedOnly:"Resend Only to Failed Channels",statistics:"Statistics",allSender:"All Senders",allSeverity:"All Severities",severityType:{info:"Info",success:"Success",warning:"Warning",error:"Error"},clear:"Clear",allDone:"You're all done"},router:{routerSetting:"Domains & URLs",certSetting:"SSL Certificates",defaultSite:"Default",urlHelperText:"URL that do not start with HTTP/HTTPS are considered relative paths",empty:"Click on Actions to setup URL Mapping",healthy:{ok:"Blocklet or service is running",error:"Blocklet or service is not running or not installed"},service:{select:"Select Blocklet Services (Optional)",what:"Blocklet Services are pipelines executed against the request before redirecting to upstream blocklet"},nonProvider:{title:"Engine Change Warning",description:"If you change engine to none, your current page may not work properly because the previous engine will be stopped, are you sure to continue?",confirm:"I understand, continue"},validation:{urlRequired:"URL is required",redirectCodeRequired:"Redirect code is required",didRequired:"Blocklet is required",pathPrefixTooLong:"The URL Prefix cannot exceed {length} characters",pathPrefixCannotBeEmpty:"The URL Prefix cannot be empty",domainRequired:"Server domain is required",invalidUrl:"Please provide a valid URL",pathPrefixRequired:"URL prefix is required",redirectUrlRequired:"Redirect URL is required",rewriteUrlRequired:"Rewrite URL is required"},domain:{addSite:"Add Site",validate:{emptyTip:"Site domain cannot be empty",suffixTip:"Site domain cannot include {suffix}"},add:{title:"Add Domain Name",description:"Please provide a valid domain name",confirm:"Add",cancel:"Cancel",blocklet:"Select Blocklet",redirect:"Where to redirect the traffic?",port:"What port does your request handler need to listen to?",portTip:"This defaults to the main port of request handler, you can customize this",type:"Traffic Handler",component:"Select Component",pageGroup:"Page Group",pageGroupTip:"This component can render any group of pages listed above, leave empty to render all pages"},update:{title:"Update Site Domain",label:"Site Domain",description:"Please provide a valid site domain"},setup:{tipStart:"Add the DNS records for the domain",tipEnd:"as per the following guidelines",recordType:"Record Type",recordValue:"Record Value"},verify:{ok:"The domain resolution is normal",notResolved:"This domain neither resolved nor accessible, please check your DNS configuration"},https:{ok:"This domain has https enabled",bad:"This domain has not enabled https"},delete:{title:"Delete Site",description:'By confirming, you will delete your existing "{name}" site. Type "{name}" below and select Delete to complete the change, or select Cancel if you want to leave your site',confirm_desc:"Please input {name} to confirm"}},domainAlias:{custom:"Custom domain",noCustom:"No custom domain",noCustomTip:"No custom domain is configured with your website. For enhanced security and better user experience, we recommend configuring your own custom domain. Click below to get started.",nftDomain:"Automatic config with DID Names",showTipHint:"How do I configure domain name resolution?",add:{title:"Add Additional Domain",tips:"You can enter a domain name purchased from DID Names or any other domain. If it is a DID Domain, you must present the DID Domain NFT to proceed.",domainDescription:"Please provide a valid domain name",forceTip:"Force add if domain name already exists",helperText:"If an HTTP or HTTPS URL is entered, it will be automatically converted into a domain name.",isDidDomainError:"This domain is a DID Domain. Please add it using the method for automatic domain configuration."},addCustomDomain:{name:"Custom Domain"},addDomainNFT:{showNFT:"Configure domain automatically",tips:"You can enter a domain purchased from DID Names. If a DID Domain is detected, you must present the DID Domain NFT to continue.",connect:{title:"Connect DID Names to {appName}",scan:"Use one of the following methods to connect {domain} to {appName}",confirm:"Confirm on your DID Wallet",success:"Authorization Successful"},authorizeFailed:"Failed to get the domain NFT info, please try again!",buyTip:"DID Names will do the domain name resolution automatically, no need to configure it manually, and the application will update the resolution record of the domain name automatically when needed. If your don't have DID Domain NFT yet, ",buy:"Buy DID Domain",topLevelDidDomainHint:"For DID Domain, if you enter a top-level domain (e.g. example.com), it will automatically be configured as www.example.com"},delete:{title:"Are you sure you want to delete?",description:'After delete "{domain}", access to that alias may not be handled properly.',confirmPlaceholder:'Please input "{domain}" to delete'}},domainSecurity:{title:"Domain Security",cors:{title:"Allowed CORS Domains",description:'Domain list that can send cross origin requests to {name}, comma separated, use "*" to allow anyone, which is not recommended',domainInvalid:"Please input a valid list of domain names"}},rule:{add:{title:"Add URL Mapping",confirm:"Add",pathPrefix:"What's the URL Prefix?",pathPrefixTip:"If you set prefix to '/my-prefix', then all requests that begins with that prefix will be routed to the configured blocklet",blocklet:"Which Blocklet will be handling those requests?",port:"Which port of the blocklet will be handling requests?",portTip:"This defaults to the main port of blocklet, if your blocklet listens on multiple ports, you can customize this",responseType:"Response Type",responseBody:"Response Content",responseBodyTip:"Paste your response content here, should not exceed 4096 characters",responseBodyRequired:"Response content can not be empty"},delete:{title:"Delete URL Mapping",description:'By confirming, you will delete your existing "{name}" URL Mapping. Type "{name}" below and select Delete to complete the change, or select Cancel if you want to leave your URL Mapping.',confirm_desc:"Please input {name} to delete",cancel:"Cancel"},update:{title:"Update URL Mapping",confirm:"Yes, Update",cancel:"Cancel"}},cert:{name:"Certificate Name",domain:"Domain Name",action:"Action",commonName:"Common Name",boundDomains:"Domains",source:"Source",expired:"Expired",leftDays:" days left",issuedOn:"Issued On",expiryOn:"Expiry On",fingerprintAlg:"Fingerprint Algorithm",validityPeriod:"Validity Period",matchedSites:"Matched Sites",upload:"Manual Upload",publicCertHelperText:"Public certificates can be downloaded",nonPublicCertHelperText:"Non-public certificates cannot be downloaded",protectedCertHelperText:"Protected certificates cannot be edited",unprotectedCertHelperText:"Unprotected certificates can be edited",issuing:"Certificate being generated",sourceTypes:{upload:"Manual Upload",lets_encrypt:"Let's Encrypt"},table:{nodata:"No data"},delete:{title:"Delete Certificate",description:"Confirm delete certificate of domain {domain}? Deleting it may affect related services. Please confirm it's safe before proceeding with the deletion.",confirm:"Confirm"},nginx:{title:"Update Certificate",titleAdd:"Add Certificate",pem:"SSL Certificate File",pemTip:'Please drop your server certificate file here, it should ends with ".pem" or ".crt"',key:"Private Key File",keyTip:'Please drop your server private key file here, it should ends with ".pem" or ".key"',confirm:"Save",cancel:"Cancel",invalidFile:"You have selected an invalid file",empty:"No file selected yet",source:"Source",sourceTypes:{upload:"Manual Upload",lets_encrypt:"Let's Encrypt"}},detail:{title:"Certificate Details"},genLetsEncryptCert:{title:"Generate Let's Encrypt certificate",dnsTip:"Please make sure the domain name has point to the current Blocklet Server.",description:"Adding a certificate will make the service more secure, and Blocklet Server will automatically renew the certificate before it expires."}},gateway:{reqLimit:{title:"Request Limiting",switchLabel:"Enable request limiting to throttle requests",rate:"Request Limit ({rate} Request/Second)"},cacheEnabled:{title:"Gateway Cache",switchLabel:"Enable gateway cache to boost performance"},blockPolicy:{title:"Request Blocking",switchLabel:"Block bad requests to protect your server",addItem:"Add Item",blacklistDesc:"Requests from these IPs will be blocked from accessing this Server and all Blocklets",inputPlaceholder:"Enter IP address, CIDR range, or URL",invalidItem:"Invalid IP address, CIDR range, or URL",autoBlocking:{switchLabel:"Block bad requests by realtime detection",windowSize:"The time window size for counting requests (seconds)",windowQuota:"The maximum number of requests (per IP) allowed within the window",blockDuration:"The duration to block user by IP when quota exceeded within the window (seconds)",statusCodes:"The status codes to be checked"}},proxyPolicy:{title:"Proxy Policy",switchLabel:"This server is running behind proxies",trustRecursive:"Trust proxies recursively",trustRecursiveDesc:"Use the leftmost IP in the X-Forwarded-For chain",trustedProxies:"Trusted Proxies",trustedProxiesDesc:"Requests from these IPs will be trusted to get the real client IP",realIpHeaderLabel:"Client IP Header",realIpHeaderDesc:"If the Blocklet Server is running behind proxies such as CloudFront, you can set the header of the client's real IP here.",addItem:"Add Item",inputPlaceholder:"Enter IP address, CIDR range",invalidItem:"Invalid IP address, CIDR range"},wafPolicy:{title:"Web Application Firewall",switchLabel:"Detect and block bad requests with ModSecurity",modeDesc:"The mode for ModSecurity",docDesc:"Check the documentation for how to setup ModSecurity",mode:{detectOnly:"Detect Only (will not block requests)",on:"On (will block requests)"},logLevelDesc:"The log level for ModSecurity (0-9), 0 means disable audit log",inboundAnomalyScoreThresholdDesc:"The inbound anomaly score threshold (1-100), lower value means more strict",outboundAnomalyScoreThresholdDesc:"The outbound anomaly score threshold (1-100), lower value means more strict"}}},noMatch:{desc:"We can't find the page that you're looking for"},health:{connectionErrorTip:"Blocklet Server can't connect to the network, please check if Blocklet Server has been stopped or there is a network issue",connectionRecoveryTip:"Blocklet Server connectivity has been recovered",connectionStoppedTip:"Blocklet Server has been stopped",wrongAccessUrlTip:"Blocklet Server access address is wrong, please use the correct access address"},debug:{title:"Your Blocklet Server is up and running!"},team:{add:"Add New",invite:{action:"Invite New",setting:"Invite Settings",enabled:"Disable this setting to restrict new user invites to owner/admin only",disabled:"Enable this setting to allow any user to invite new users",inviter:"Invited By"},member:{name:"Name",passport:"Passport",passports:"Passports",lastLogin:"Last Login",lastLoginIp:"Last Login IP",openProfile:"View Profile",source:"Register Source",source_derived:"Derived from oauth",source_wallet:"DID Wallet",filter:"Filter by",blockAccess:"Block Access",blockAccessDescription:"The user will not be able to connect to this application",allowAccess:"Allow Access",allowAccessDescription:"The user will be able to connect to this application",updateRole:"Update Role",removeUser:"Remove User",removeUserDescription:'Confirm remove user "{did}" and all its related data (connected accounts, passports, login sessions, etc.)? This action cannot be undone.',removeUserSuccess:"User removed successfully",revokePassport:"Revoke Passport",revokePassportDescription:"Once the passport is revoked, the passport holder can not use it to login again, are you sure to continue?",enablePassport:"Enable Passport",enablePassportDescription:"Once the revoked passport is enabled again, the passport holder can use it to login again, are you sure to continue?",passportPermissionTitle:"The passport has the following permissions:",search:"Search Member",onlyApprovedMember:"Show Approved Only",inviteDialog:{createInviteLink:"Generate Invitation Link",createSuccessTip:"The invitation link is successfully created, click to copy and send the link to the invited member, please note that this invitation link can not be reused and will expire on {expireDate}"},error:{passportEmpty:"Passport should not be empty"},connectedAccounts:"Connected Accounts",connections:"Connections",federated:"Federated",switch:{did:"Switch DID",profile:"Switch Profile",passport:"Switch Passport"},settings:{notification:"Notifications",email:"Send email to me when some events happen",wallet:"Send notification to my wallet when some events happen",phone:"Send text message to me when some events happen",webhook:"Webhooks",add:"Add new webhook",url:"Custom URL",slack:"Slack Webhook",tested:"Test message sent"},activeUserSessions:"Active User Sessions",forceLogout:"Force logout",forceLogoutDescription:"Confirm to force logout this user?"},transferNode:{name:"Transfer Ownership",inviteDialog:{title:"Transfer Blocklet Server",tips:{progress:"Transfer the server needs to be accepted by the receiver to complete the transfer operation, and once the receiver accepts it, you cannot log in to the server with the current passport again.",newOwnerPermissions:"The new Owner will have the right to manage all operations such as members, passports, and Blocklets.",revoke:'If you want to withdraw the transfer invitation, you can delete the invitation link in the "Team -> Members -> Inviting" page.'},createInviteLink:"Generate Invitation Link",createSuccessTip:"The invitation link is successfully created, click to copy and send the link to the invited member, please note that this invitation link can not be reused and will expire on {expireDate}"},delegateDialog:{title:"Authorize Required",scan:"Use the following methods to authorize server to transfer server ownership NFT.",confirm:"Confirm on your DID Wallet",success:"Authorization Successful"}},transferApp:{name:"Transfer Ownership",description:"You can transfer the ownership of your application to another wallet or another person.",transferDialog:{title:"Transfer Application",tips:{progress:"Transfer the application needs to be accepted by the receiver to complete the transfer operation, and once the receiver accepts it, you cannot log in to the application with the current passport again.",newOwnerPermissions:"The new Owner will have the right to manage all operations such as members, passports, and settings."},createTransferLink:"Generate Transfer Link",createSuccessTip1:'The transfer link is successfully created, the invitee must use <a style="color: rgb(29, 193, 199)" target="_blank" href="https://www.didwallet.io/">DID Wallet</a> to receive the app ownership',createSuccessTip2:"Please click to copy and send the link to the invited member, please note that this transfer link can not be reused and will expire on {expireDate}. Your transfer link will only be shown once and will not be viewable again after closing this dialog",createSuccessTip3:"After the transfer is successful, the application will automatically restart to make the changes take effect",link:"Transfer Link",iKnow:"I have copied and saved the link"},connectDialog:{title:"Authorize Required",scan:"Use the following methods to authorize application to transfer ownership.",confirm:"Confirm on your DID Wallet",success:"Authorization Successful"},receiveDialog:{title:"Receive Application Ownership",scan:"Use the following methods to receive the application ownership.",confirm:"Confirm on your DID Wallet",success:"Receive Ownership Successfully"},successTitle:"You have become the new owner of this application",visitDashboard:"Visit Application Dashboard"},permission:{create:{title:"Create Permission",description:`Format: <action>_<resource>
1762
1762
  e.g. 'query_user', 'mutate_user'`},delete:{title:"Delete Permission",description:"Confirm delete {name}?"},error:{actionEmpty:"action cannot be empty",resourceEmpty:"resource cannot be empty",permissionTooLong:"permission cannot exceed {length} characters",descriptionTooLong:"description cannot exceed {length} characters"}},passport:{sourceMaps:{recover:"Recovered",issue:"Issued",invite:"Invited",trusted:"Trusted"},related:"Related Passports",operationLogs:"Operation Logs",owner:"Owner",status:"Status",statusMap:{valid:"Valid",revoked:"Revoked",expired:"Expired"},view:"Manage Passports",create:{title:"Create Passport",titleTip:"Title cannot be modified after created, recommended within 14 letters"},bind:{title:"Bind Permission",roleTip:"You will get all the permissions of the selected passport after binding",permissionTip:"You will get the selected permissions after binding",transferLeftTitle:"All permissions",transferRightTitle:"Granted permissions"},delete:{title:"Delete Passport",description:"The passports holds by user will lose all permissions after it is deleted. Are you sure to continue?"},error:{titleEmpty:"title cannot be empty",titleTooLong:"title cannot exceed {length} characters",descriptionEmpty:"description cannot be empty"},issuance:{pending:"Pending",create:{title:"Generate Link"},delete:{title:"Delete Receive Link",description:"Confirm delete {link}?"}},issue:"Issue Passport",disableIssuance:"Disable Passport Issuance",enableIssuance:"Enable Passport Issuance",disableIssuanceTip:'"Issue Passport", "Invite Member" and other operations will be disabled',enableIssuanceTip:'"Issue Passport", "Invite Member" and other operations will be enabled',trustedPassportIssuers:"Trusted Passport Issuers",trustedPassportIssuersTip:"Manage trusted passport issuers that can be used to issue passport",trustedIssuers:"Trusted Issuers",trustedFactories:"Trusted NFT Collections",trustedFactoriesTip:"Manage trusted NFT Collections that can be used to exchange for a passport",searchFactoryAddress:"Search Collection DID",configFactories:"Config Trusted NFT Collections",configFactoriesTip:"Allow users to exchange NFTs for passport",factoryAddress:"NFT Collection Address",factory404:"NFT Collection not found",factoryAddressTip:"The NFT Collection address must exist on ArcBlock Main Chain",role:"Passport Type",ttl:"Passport Expire Policy",ttlNever:"Never Expire",ttlMint:"From NFT Purchase",ttlExchange:"From Passport Exchange",ttlNeverTip:"The passport will be valid until revoked",ttlMintTip:"The passport will be valid from the time the NFT is purchased until you specified ttl or revoke",ttlExchangeTip:"The passport will be valid from the time user successfully exchanged until you specified ttl or revoke",ttlTip:'"365d" means 365 days, you can also use "30 days" or "24h"',validUntil:"Valid until: {date}",externalPassport:"External Passport",notTrustedIssuerTip:"The passport cannot be used because the issuer is not on the list of trusted issuers",issuerDid:"Issuer DID",addNodeToTrustedIssuers:"Add current server as a trusted passport issuer",revoked:"Revoked",noPermission:"No permission to perform this operation",shouldNotDeleteCurrent:"You can not revoke your passport currently in use",mappingRule:"Mapping rule",defaultRule:"Default rule",search:"Search Passport",searchIssuerDid:"Search Issuer DID",issueBy:"Issue by {name}",configColor:"Config Passport Color",configColorTip:"Customize the color of the passport",color:"Passport Color",description:"Use this passport to connect {teamName} as {title}",displayBuiltin:"Builtin",displayCustom:"Custom",typesTip:"Customize the types of the passport, split by comma",issuanceDate:"Issuance Date: {date}",issuanceTime:"Issuance Time",relatedDescription:"The current passport is recovered from the following passport",passportExpireTime:"Expire Time",customExpireTime:"Custom Expire Time"},inviting:{link:"Invite Link",inviter:"Inviter",delete:{title:"Delete Invite Link",description:"Confirm delete {link}?"},disabledTip:"Invitation is not enabled"},whoCanAccess:{all:{title:"Accessible to all"},owner:{title:"Owner only"},invited:{title:"Invited user only"}}},launcher:{provider:"Provider",adminUrl:"URL"},session:{blockAccess:"You have been blocked from access this server"},launchBlocklet:{appInfo:"Application Information",appInfoDesc:"Confirm the application information",author:"Application Author: {author}",setup:"Setup Blocklet",redirect:"Redirect",alreadyRunning:"Application {name} is already running on this Blocklet Server",alreadyInstalled:"Application {name} is already installed on this Blocklet Server",alreadyExists:"This application already exists, redirecting...",purchased:"Already Purchased",purchase:"Purchase",nextStep:"Next Step",agreement:"License Agreement",agreeAll:"Agree & Continue",installing:"Installing {appName} on {serverName}, it may take minutes to complete, please stay tuned...",redirecting:"{appName} is successfully installed, now starting...",start:"Launching",launch:"Install Blocklet to Server",launchSuccess:"{appName} is successfully launched!",installSuccess:"Blocklet is successfully installed and launched on {serverName}",openInRegistry:"View in Blocklet Store",subTitle:"Ready to install Blocklet {appName} on {serverName}",installingSubTitle:"{appName} installing",access:"Open the application",installRelatedComponents:"Install related Blocklets",canNotInstall:"Can not install",dockerBlockletCantInstall:"Can not install the Blocklet, because the Blocklet Server has not enabled Docker or Docker Network",viewApplication:"View Application",newVersion:"New Version",newVersionDesc:"The application already exists, but the current version can be upgraded",upgradeNow:"Upgrade Now",later:"Later",introduction:"Introduction",welcome:"Welcome to the Blocklet Launch Wizard",accept:"I agree to the Blocklet EULA",license:"Application License",next:"Agree to the EULA and continue",purchaseApp:"Purchase Blocklet",setupAppDesc:"Initialize your Blocklet",launched:"Complete",confirmInstall:"Confirm Installation",dialog:{title:"Become App Owner",nftFreeDescription:"Please present app space NFT and create app account to continue",nftPaidDescription:"Please present app space NFT and app purchase NFT to continue",freeDescription:"Please create app account to continue",paidDescription:"Please present app purchase NFT and create app account to continue",confirm:"Confirm on your DID Wallet",success:"Authorization Successful",authorizationTimeout:"Authorization timeout"},waiting:{verifying:"Verifying app meta...",downloading:"Downloading app bundle...",downloadingComponent:"Downloading {name}",extractingComponent:"Extracting {name}",extracting:"Extracting app bundle...",installing:"Installing app components...",installed:"Installed",starting:"Starting the app...",done:"Your app is launching..."},error:{loadMetaFailed:"Load app information failed",appMetaNotFound:"No information found for this app",downloadFailed:"Failed to download the app, please try again",installFailed:"Failed to install the app, please try again",startFailed:"Failed to start the app, please try again",launchFailed:"Failed to launch the app, please try again",installedButStopped:"The app is installed successfully, but cannot be started. You can start it manually after resolving blocking issues",installedButError:"The app is successfully installed, but failed to start",restoreFailed:"Failed to restore app, please try again",resourceBlocklet:"This blocklet cannot be launched directly, but you can add it into existing application."},steps:{introduction:"Introduction",installApp:"Install Application",purchaseSpace:"Purchase Space",prepareSpace:"Prepare Space"}},issuePassport:{title:"Receive Passport",description:"Use the following methods to receive the passport issued by {name}",dialog:{scan:"Use the following methods to claim the passport",confirm:"Confirm on your DID Wallet",success:"The passport has been successfully added in your wallet",loginWithPassport:"Connect with this Passport",autoClose:"Page will auto close in {seconds}s",autoJump:"Page will auto jump in {seconds}s"}},lostPassport:{title:"Lost Passport",description:"The owner of {name} can use the following methods to retrieve the passport, members please contact the owner to reissue the passport",recoverDialog:{title:"Recover passport",scan:"Use the following methods to retrieve your passport",confirm:"Confirm on your DID wallet",success:"Successfully retrieved"},receiveDialog:{title:"Receive passport",scan:"Use the following methods to receive the passport",confirm:"Confirm on your DID wallet",success:"Successfully received"},return:"Cancel retrieval operation, return to homepage",recoverPassport:"Recover passport",receivePassport:"Receive passport"},invite:{message:"{name} invite you to be the {role} of {dapp}",success:"You have successfully joined {dapp}",receive:"Receive with",validUntil:"Valid until:",viewPermission:"View Permission",emptyPermission:"Empty Permission",open:"Open",description:{step1:"Download and setup your {wallet}",step2:"Click above button to receive passport",step3:"Login in {dapp} with received passport"},transferNFTDialog:{title:"Accept Blocklet Server {name}",scan:"Connect the Launcher to complete the reception of the Blocklet Server.",confirm:"Review this operation on your DID Wallet",success:"Connect successfully, waiting for confirmation of receiving the Server"}},receive:{dialog:{title:"Receive passport",scan:"After receiving the passport, you can use the passport to log in to the application",confirm:"Confirm on your DID Wallet",success:"You are successfully connected"}},navigation:{navigation:"Navigation",access:"Access",members:"Members",passport:"Passport",analytics:"Analytics",dashboard:"Dashboard",studio:"Studio",blockletService:"Blocklet Service",actionFailed:"Action Failed",form:{themeConfig:"Theme Configuration",contentConfig:"Content Configuration",title:"Title",titlePlaceholder:"Please input navigation title",titleTooLong:"Title length should small than {len}",description:"Description",descriptionPlaceholder:"Please input navigation description",descriptionTooLong:"Description length should small than {len}",icon:"Default Icon",iconPlaceholder:"Please select an icon",invalidIcon:"Icon is invalid",findMoreIcon:"Find more icons",link:"Link",linkPlaceholder:"Please input navigation link",invalidLink:"Link is invalid",component:"Component",componentPlaceholder:"Please select navigation component",role:"Role",rolePlaceholder:"Please select navigation role",locale:"Locale",localePlaceholder:"Please input locale need to add",localeExists:"{value} is already exists",activeIcon:"Active Icon",activeColor:"Active Color",color:"Default Color",colorPlaceholder:"e.g. #FF0000",invalidColor:"Invalid hex color",searchIcons:"Search for Icons",searchIconsPlaceholder:"e.g. mdi:home"},action:{add:"Add navigation",addSub:"Add sub navigation",edit:"Edit navigation",hide:"Hide navigation",show:"Show navigation",del:"Delete navigation",new:"New",noAddSub:"Uninstalled component can't add sub navigation",noEdit:"Uninstalled component can't edit",noDel:"Not allowed delete built-in navigation",reset:"Reset",restConfirmTitle:"Do you want to clear all custom navigation?",restConfirmDesc:"After clearing, the navigation will be restored to Blocklet's original default configuration.",resetSuccessful:"Reset successful",delTabBarTitle:"Do you want to delete this tab?",delTabBarDesc:"It will no longer appear in your bottom navigation, but you can add it back anytime."},didConnect:"DID Connect",didSpaces:"DID Spaces",website:"Website",operations:"Operations",integration:"Integrations",developer:"Developers"},storage:{spaces:{title:"DID Spaces",tips:"Tips",label:"Enter DID Spaces Gateway",connected:{title:"Connected DID Spaces",tag:"Connected"},connectedWithName:"You have successfully connected to {name}",addedWithName:"You have successfully added {name}",connects:"Connect",reconnect:"Reconnect",addressCannotEmpty:"Address cannot be empty",addressNotValid:"{url} is not a valid address",authorize:{title:"Connect {appName} to DID Spaces",scan:"Use the following methods to allow the app {appName} to connect to DID Spaces",success:"Connected successfully"},provideNFT:{title:"Please show the DID Spaces NFT for {appName}",scan:"Use the following methods to allow the app {appName} show DID Space NFT",success:"Connected successfully"},backup:{title:"Backup",records:"Backup records",without:"Without backup",succeeded:"Backup succeeded",failed:"Backup failed",lastBackup:"Last backup time",lastBackupTip:'It has been {time} since your last successfully backup, please check your backup settings in the "DID Spaces" tab.',noBackup:"No backup",noBackupTip:"No backup has been created yet. We recommend setting up regular backups to protect your data and settings"},autoBackup:{title:"Auto backup",enabled:"Automatic backup is on",disabled:"Automatic backup is off"},autoCheckUpdate:{title:"Automatically check for new version notification",enabled:"Automatically check for new version is on",disabled:"Automatically check for new version is off"},backupSuccessfully:"Backup successfully",restore:"Restore",restoreSuccessfully:"Restore successfully",gateway:{title:"Gateway",select:"Select a DID Spaces",add:{title:"Add DID Spaces",label:"Enter the url of the DID Spaces",failed:"Add DID Spaces failed",invalidUrl:"Invalid DID Spaces gateway url",duplicate:"{name} is already connected to this blocklet"},delete:{title:"Disconnect",succeeded:"Successfully disconnected from DID Spaces {name}",failed:"Failed to disconnect from gateway",failedForSelected:"Unable to disconnect from the selected DID Spaces",descForBackup:`After disconnecting from {name}, you will no longer be able to back up Blocklet to this DID Space. Are you sure you want to disconnect?
1763
1763
  You can restore backup operations by reconnecting to {name}.`,descForStorage:`After disconnecting from {name}, you will no longer be able to store data from this Blocklet to this DID Space. Are you sure you want to disconnect?
1764
- You can resume data storage by reconnecting to {name}.`},connect:{title:"Connect DID Spaces",add:"Connect to DID Spaces now",addTips:"You are not connected to any DID Space yet",switch:"Switch DID Spaces",switchTips:"You are connected to {name}",connected:"Connected"},switch:{failedForMismatchSpace:"Please connect to the correct DID Space {name}"},connectTo:"Connect to DID Spaces"},strategy:{title:"Backup Strategy",autoBackup:"Auto backup",backupNow:"Backup now",viewBackupFiles:"View backup files"},progress:{title:"Backup progress"},record:{title:"Backup records",emptyData:"No records"},notYet:"You don't have a backup in progress yet...",connect:{now:"Connect now",title:"Connect DID Spaces",provider:"Provide your DID Space to start backups",providerForStorage:"Provide your DID Space for data storage",useWallet:"Connect with DID Wallet",useWalletReconnect:"Reconnect with DID Wallet",useSpaceGateway:"Connect using the DID Spaces gateway",useSpaceGatewayReconnect:"Reconnect using the DID Spaces gateway",switchToSpace:"Switch to DID Space",abortBlockletBackup:"Abort backup",switchToSpaceSucceeded:"Switched to DID Space {name}",succeeded:"You have successfully connected to DID Spaces",disconnect:"disconnect"},disconnected:{tag:"Disconnected",reconnectNow:"Reconnect Now"}},appLevel:{title:"App Level Storage",description:"All data generated by the application is stored on this DID Space"}},log:{lastDays:{1:"Last 1 Day",7:"Last 1 Week"}},oauth:{commonSettings:"Common Settings",save:"Save",saveSuccess:"Save successfully",saveFailed:"Save failed",issued:"Issued",thirdPartyLogin:"Third party login",alreadyBindOAuth:"Already bind third party login",alreadyBindWallet:"Already bind DID Wallet",auth0:{enable:"Enable Auth0 login",domain:"Domain",domainDescription:"Auth0's domain is required",clientId:"Client ID",clientIdDescription:"Auth0 OAuth application client ID is required",clientSecret:"Client Secret",clientSecretDescription:"Auth0 OAuth application Client Secret is required"},github:{enable:"Enable Github login",clientId:"Client ID",clientIdDescription:"Github OAuth application Client ID is required",clientSecret:"Client Secret",clientSecretDescription:"Github OAuth application Client Secret is required"},google:{enable:"Enable Google login",clientId:"Client ID",clientIdDescription:"Google OAuth application Client ID is required",clientSecret:"Client Secret",clientSecretDescription:"Google OAuth application Client Secret is required"},apple:{enable:"Enable Apple login",teamId:"Team ID",teamIdDescription:"Apple OAuth application Team ID is required",serviceId:"Service ID",serviceIdDescription:"Apple OAuth application Service ID is required",keyId:"Key ID",keyIdDescription:"Apple OAuth application Key ID is required",authKey:"Auth Key",authKeyDescription:"Apple OAuth application Auth Key is required",bundleId:"Bundle ID",bundleIdDescription:"Apple OAuth application Bundle ID is required"},comingSoon:"More login methods are under construction",moreLogin:"More Login",federated:"Federated Login",oauth:"Third Party Login",runTest:"Test"},expiration:{mobile:{tips:{success:"{validity}",warning:"{validity}",error:"Expired"},loadFailed:"Retry!"},desktop:{tips:{success:"Subscription will expire after {validity}",warning:"Subscription will expire after {validity}",error:"Subscription Expired"},loading:"Load subscription...",loadFailed:"Failed to load subscription info, please retry!",nextInvoice:"Next Invoice: {date}"}},analytics:{trend:"Trends",detail:"Breakdown",runtime:"Runtime",traffic:{totalRequests:"Total Requests",validRequests:"Success Requests",failedRequests:"Failed Requests",uniqueVisitors:"Unique Visitors",uniqueFiles:"Unique URLs",uniqueReferrers:"Unique Referrers",uniqueNotFound:"Unique 404",uniqueStaticFiles:"Unique Static Files",logSize:"Log Size",bandwidth:"Bandwidth"}},federated:{inviteJoinFederatedLogin:"Invite to join federated login",inviteJoinFederatedLoginDescription:"Copy the following address and fill it in the application where you need to join to apply for federated login.",federatedLogin:"Federated login",joinFederatedLogin:"Join federated login",joinFederatedLoginDescription:"Please enter the federated login address provided by Master Blocklet to join the federated login",quitFederatedLogin:"Quit federated login",quitFederatedLoginDescription:"After quit federated login, normal login is always available",federatedJoinAppUrl:"Federated login join appUrl",federatedJoinAppUrlRequired:"Please input federated login join appUrl",failedToGetFederatedLoginAppUrl:"Failed to get federated login join appUrl",federatedJoinAppUrlInvalid:"Federated login appUrl is invalid",siteDetail:"Site detail",approveToJoinLogin:"Approve to join federated login",approve:"Enable login",revoke:"Disable login",enableFederatedLogin:"Enable federated login",disableFederatedLogin:"Disable federated login",enableFederatedLoginDescription:"After enable federated login, this site will be auto login",disableFederatedLoginDescription:"After disable federated login, this site will not be auto login",enableFederatedAutoLogin:"Enable automatic login",enableFederatedAutoLoginDescription:"After enable automatic login, if there is currently a unified login status, the site will automatically log in the identity of the federated login",disableFederatedAutoLogin:"Disable automatic login",disableFederatedAutoLoginDescription:"After the automatic login is turned off, the site will not automatically log in the user information of the unified login, and you can still choose to manually click to log in with the identity of the federated login",info:{appId:"APP DID",appPid:"Permanent ID",migratedFrom:"Also Known As",appName:"Blocklet name",appDescription:"Blocklet description",appUrl:"Blocklet url",appLogo:"Blocklet logo",did:"Blocklet DID",serverId:"Blocklet Server ID",serverVersion:"Blocklet Server version",version:"Blocklet version",appliedAt:"Apply at",status:"Status"},status:{pending:"Pending",approved:"Approved",rejected:"Rejected",revoked:"Revoked"},disbandFederatedLogin:"Disband federated login",disbandFederatedLoginDescription:"After disband federated login, all member site will quit federated login automatically",syncConfig:"Sync federated sites config",quitMember:"Remove",quitMemberDescription:"Remove specified members from the site group",removeFederatedLogin:"Remove member",removeFederatedLoginDescription:"After remove specified members from the site group, member can only use normal login"},optionsOrder:{1:"Option One",2:"Option Two"},securityRule:{title:"Security Rule",sortByDescription:"Sort by matching priority",add:"Add Security Rule",edit:"Edit Security Rule",view:"View Security Rule",useless:"Useless Security Rule",form:{precede:"Precede",pathPattern:"Path Pattern",pathPatternPlaceholder:"Please input path pattern",pathPatternErrorText:"Path pattern is invalid",accessPolicyOrResponseHeaderPolicyRequired:"Access Policy or Response Header Policy is required",accessPolicy:"Access Policy",accessPolicyPlaceholder:"Please select access policy",accessPolicyHelperText:"Please select access policy",responseHeaderPolicy:"Response Header Policy",responseHeaderPolicyPlaceholder:"Please select response header policy",responseHeaderPolicyHelperText:"Please select response header policy",remark:"Remark",remarkPlaceholder:"Please input remark",component:"Component",componentPlaceholder:"Please choose component"},delete:{title:"Delete Security Rule ?",description:"After removing a security rule, the rule will no longer take effect"}},responseHeaderPolicy:{title:"Response Header Policy",add:"Add Response Header Policy",edit:"Edit Response Header Policy",view:"View Response Header Policy",form:{name:"Name",namePlaceholder:"Please input name",description:"Description",descriptionPlaceholder:"Please input description",originOverride:"Origin Override",originOverrideHelperText:"Whether to allow the logic in the application to override this response header",cors:{origin:"Origin",originPlaceholder:"Support the following domain formats: http://www.example.com, http://*.example.com, http://www.example.com:8080, * (wildcard is not recommended)",originHelperText:"Domain name starts with http:// or https://, one per line, one wildcard * per line",methods:"Methods",allowedHeaders:"Allowed Headers",allowedHeadersPlaceholder:"It's recommended to fill in *, support multi-line input",allowedHeadersHelperText:"Tell the server which custom HTTP request headers can be used in the next request when sending an OPTIONS request, such as: x-blocklet-version",exposedHeaders:"Exposed Headers",exposedHeadersPlaceholder:"Support multi-line input",exposedHeadersHelperText:"Configure Expose-Headers, for example: X-Content-Range",maxAge:"Max-Age (Seconds)",maxAgeHelperText:"The validity period of the result obtained by the OPTIONS request, which needs to be a positive integer",optionsSuccessStatus:"Options Success Status",preflightContinue:"Preflight Continue",credentials:"Credentials",smartMode:"Smart Mode",smartModeHelperText:"Automatically add all domain names of the current application, as well as all domain names of the federated login site group"}},delete:{title:"Delete Response Header Policy ?",description:"After removing a response header policy, the policy will no longer take effect"}},accessPolicy:{title:"Access Policy",add:"Add Access Policy",edit:"Edit Access Policy",view:"View Access Policy",form:{name:"Name",namePlaceholder:"Please input name",description:"Description",descriptionPlaceholder:"Please input description",roles:"Access Roles",accessType:"Access type"},delete:{title:"Delete Access Policy ?",description:"After removing an access policy, the policy will no longer take effect"}},pagination:{next:"Next Page",previous:"Previous Page",rowsPerPage:"Per page:",displayRows:"of",jumpToPage:"Jump to Page:"},webhookEndpoint:{createWebhook:"Create Webhook",createWebhookTitle:"Create Webhook",selectAllEvents:"Select All Events",selectAllEventsTooltip:"Select all available events",selectedEventsCount:"{count} events selected",selectedCount:"{count} selected",eventsCount:"{count} events",saveWebhook:"Create Webhook",noAvailableEvents:"No available events",loadingEvents:"Loading events...",loadingError:"Failed to load events: {message}",title:"Webhooks",noWebhooksAdded:"No webhooks added",validation:{urlRequired:"URL is required",urlInvalid:"Please enter a valid URL",descriptionRequired:"Description is required",eventRequired:"Please select at least one event"},hosted:"Hosted endpoints",add:"Create Webhook",addTip:"Set up your webhook endpoint to receive live events",listen:"Listen for",version:"API Version",attempts:"Webhook Attempts",url:{label:"URL",description:"Webhook URL"},description:{label:"Description",description:"An optional description of what this endpoint is used for"},events:{label:"Select events to listen to",description:""},disabled:"Disabled",enabled:"Enabled",disable:"Disable",enable:"Enable",editWebhookTitle:"Update Webhook",updateWebhook:"Update Webhook",waitingForEvents:"Waiting for events...",loadingMore:"Loading more...",loadMore:"Load more",response:"Response",request:"Request",eventData:"Event Data",deleteWebhook:{title:"Delete Webhook?",description:"After deleting a webhook, the webhook will no longer receive events"},success:" Success"},description:{environment:"The current variables will take effect when {name} is running. Need to restart the application to take effect.",preferences:"The current variables will take effect when {name} is running. Changes will be applied after saving, no application restart required."},preferencesFor:"Preferences for {name}",environmentFor:"Environments for {name}",accessKey:"Access Key"},en$1={blocklet:{restoreBlocklet:{title:"Restore Blocklet",description:"Please select the blocklet you want to restore",verify:{title:"Verify Ownership",subTitle:"Verify ownership of the blocklet with your DID Wallet",verify:"Verify",reconnect:"Try another blocklet",scan:"Use the following methods to prove ownership",confirm:"Sign delegation to allow server to download and decrypt the backup",success:"Ownership verified, the restoring is in progress",exists:"This blocklet already exists on this server and restore is aborted",open:"Visit Blocklet",overwrite:"Overwrite"},overwrite:{title:"Overwrite existing blocklet?",description:"The blocklet you are restoring already exists on this server, do you want to overwrite it? The exiting blocklet will be deleted first if you continue"},restore:{title:"Restore Blocklet"}},restoreFromServer:{selectTitle:"Select Application",description:"Please select the application you want to restore",backupIn:"Backup in"},restoreFromSpaces:{title:"Restore from DID Spaces",navSubTitle:"Restore",connect:{title:"Connect to DID Spaces",subTitle:"Jump to DID Spaces, and select the blocklet you want to restore.",select:"Select DID Spaces Gateway",connect:"Connect"},selectBlocklet:{title:"Select App"},restore:{title:"Restore App",subTitle:"The app is being restored",completeTitle:"Everything is Ready",installedTitle:"Successfully restored!",installedSubTitle:"But still needs some configurations to start",support:'If retrying does not work, please ask help in the <a href="{communityLink}" target="_blank">community</a> or contact us at <a href="mailto: {supportEmail}">{supportEmail}</a>.'},nftAuthDialog:{title:"Please present your App Space NFT",scan:"Scan QR code with your DID Wallet to present your NFT",confirm:"Confirm on your DID Wallet",success:"NFT successfully verified!"},progress:{waiting:"Waiting for restore...",restoring:"Restoring...",importData:"Importing data...",downloading:"Downloading files, progress: {progress}",importSuccess:"Successfully imported!",installing:"Installing..."}}},server:{checkUpgrade:"Check new version"}},flatMerge=a=>flat$1(merge(...a)),translations$3={en:flat$1(merge(en$2,en$1)),ar:async()=>{const a=await Promise.all([__vitePreload(()=>import("./ar-DRtGxecv.js"),[],import.meta.url).then(j=>j.default),__vitePreload(()=>import("./ar-D41ZtGRe.js"),[],import.meta.url).then(j=>j.default)]);return flatMerge(a)},de:async()=>{const a=await Promise.all([__vitePreload(()=>import("./de-BZDWXY3K.js"),[],import.meta.url).then(j=>j.default),__vitePreload(()=>import("./de-CsSzdsTu.js"),[],import.meta.url).then(j=>j.default)]);return flatMerge(a)},es:async()=>{const a=await Promise.all([__vitePreload(()=>import("./es-kQ6jQG-H.js"),[],import.meta.url).then(j=>j.default),__vitePreload(()=>import("./es-BtC31U4H.js"),[],import.meta.url).then(j=>j.default)]);return flatMerge(a)},fr:async()=>{const a=await Promise.all([__vitePreload(()=>import("./fr-Bf3jz4q5.js"),[],import.meta.url).then(j=>j.default),__vitePreload(()=>import("./fr-BhLXOZpY.js"),[],import.meta.url).then(j=>j.default)]);return flatMerge(a)},hi:async()=>{const a=await Promise.all([__vitePreload(()=>import("./hi-DPdbGXyy.js"),[],import.meta.url).then(j=>j.default),__vitePreload(()=>import("./hi-CyopnKTv.js"),[],import.meta.url).then(j=>j.default)]);return flatMerge(a)},id:async()=>{const a=await Promise.all([__vitePreload(()=>import("./id-BqmT-cL5.js"),[],import.meta.url).then(j=>j.default),__vitePreload(()=>import("./id-j8hF6rnV.js"),[],import.meta.url).then(j=>j.default)]);return flatMerge(a)},ja:async()=>{const a=await Promise.all([__vitePreload(()=>import("./ja-CyUU4_H1.js"),[],import.meta.url).then(j=>j.default),__vitePreload(()=>import("./ja-DRGqS8lp.js"),[],import.meta.url).then(j=>j.default)]);return flatMerge(a)},ko:async()=>{const a=await Promise.all([__vitePreload(()=>import("./ko-DWTxutv1.js"),[],import.meta.url).then(j=>j.default),__vitePreload(()=>import("./ko-BzC9Kigu.js"),[],import.meta.url).then(j=>j.default)]);return flatMerge(a)},pt:async()=>{const a=await Promise.all([__vitePreload(()=>import("./pt-BcsDG9H6.js"),[],import.meta.url).then(j=>j.default),__vitePreload(()=>import("./pt-xVrNRwtW.js"),[],import.meta.url).then(j=>j.default)]);return flatMerge(a)},ru:async()=>{const a=await Promise.all([__vitePreload(()=>import("./ru-BwH1q1F1.js"),[],import.meta.url).then(j=>j.default),__vitePreload(()=>import("./ru-xYKPjzWs.js"),[],import.meta.url).then(j=>j.default)]);return flatMerge(a)},th:async()=>{const a=await Promise.all([__vitePreload(()=>import("./th-CNztcQMJ.js"),[],import.meta.url).then(j=>j.default),__vitePreload(()=>import("./th-CZg0fbwW.js"),[],import.meta.url).then(j=>j.default)]);return flatMerge(a)},vi:async()=>{const a=await Promise.all([__vitePreload(()=>import("./vi-Bpl5HEj4.js"),[],import.meta.url).then(j=>j.default),__vitePreload(()=>import("./vi-PXWv2gFl.js"),[],import.meta.url).then(j=>j.default)]);return flatMerge(a)},zh:async()=>{const a=await Promise.all([__vitePreload(()=>import("./zh-CY9wasmC.js"),[],import.meta.url).then(j=>j.default),__vitePreload(()=>import("./zh-CzLSbhgI.js"),[],import.meta.url).then(j=>j.default)]);return flatMerge(a)},"zh-TW":async()=>{const a=await Promise.all([__vitePreload(()=>import("./zh-tw-D6qZTlL3.js"),[],import.meta.url).then(j=>j.default),__vitePreload(()=>import("./zh-tw-B1Z7ym7-.js"),[],import.meta.url).then(j=>j.default)]);return flatMerge(a)}},theme=create$7({...BLOCKLET_THEME_LIGHT,disableBlockletTheme:!0}),globalStyles=css$1`
1764
+ You can resume data storage by reconnecting to {name}.`},connect:{title:"Connect DID Spaces",add:"Connect to DID Spaces now",addTips:"You are not connected to any DID Space yet",switch:"Switch DID Spaces",switchTips:"You are connected to {name}",connected:"Connected"},switch:{failedForMismatchSpace:"Please connect to the correct DID Space {name}"},connectTo:"Connect to DID Spaces"},strategy:{title:"Backup Strategy",autoBackup:"Auto backup",backupNow:"Backup now",viewBackupFiles:"View backup files"},progress:{title:"Backup progress"},record:{title:"Backup records",emptyData:"No records"},notYet:"You don't have a backup in progress yet...",connect:{now:"Connect now",title:"Connect DID Spaces",provider:"Provide your DID Space to start backups",providerForStorage:"Provide your DID Space for data storage",useWallet:"Connect with DID Wallet",useWalletReconnect:"Reconnect with DID Wallet",useSpaceGateway:"Connect using the DID Spaces gateway",useSpaceGatewayReconnect:"Reconnect using the DID Spaces gateway",switchToSpace:"Switch to DID Space",abortBlockletBackup:"Abort backup",switchToSpaceSucceeded:"Switched to DID Space {name}",succeeded:"You have successfully connected to DID Spaces",disconnect:"disconnect"},disconnected:{tag:"Disconnected",reconnectNow:"Reconnect Now"}},appLevel:{title:"App Level Storage",description:"All data generated by the application is stored on this DID Space"}},log:{lastDays:{1:"Last 1 Day",7:"Last 1 Week"}},oauth:{commonSettings:"Common Settings",save:"Save",saveSuccess:"Save successfully",saveFailed:"Save failed",issued:"Issued",thirdPartyLogin:"Third party login",alreadyBindOAuth:"Already bind third party login",alreadyBindWallet:"Already bind DID Wallet",auth0:{enable:"Enable Auth0 login",domain:"Domain",domainDescription:"Auth0's domain is required",clientId:"Client ID",clientIdDescription:"Auth0 OAuth application client ID is required",clientSecret:"Client Secret",clientSecretDescription:"Auth0 OAuth application Client Secret is required"},github:{enable:"Enable Github login",clientId:"Client ID",clientIdDescription:"Github OAuth application Client ID is required",clientSecret:"Client Secret",clientSecretDescription:"Github OAuth application Client Secret is required"},google:{enable:"Enable Google login",clientId:"Client ID",clientIdDescription:"Google OAuth application Client ID is required",clientSecret:"Client Secret",clientSecretDescription:"Google OAuth application Client Secret is required"},apple:{enable:"Enable Apple login",teamId:"Team ID",teamIdDescription:"Apple OAuth application Team ID is required",serviceId:"Service ID",serviceIdDescription:"Apple OAuth application Service ID is required",keyId:"Key ID",keyIdDescription:"Apple OAuth application Key ID is required",authKey:"Auth Key",authKeyDescription:"Apple OAuth application Auth Key is required",bundleId:"Bundle ID",bundleIdDescription:"Apple OAuth application Bundle ID is required"},comingSoon:"More login methods are under construction",moreLogin:"More Login",federated:"Federated Login",oauth:"Third Party Login",runTest:"Test"},expiration:{mobile:{tips:{success:"{validity}",warning:"{validity}",error:"Expired"},loadFailed:"Retry!"},desktop:{tips:{success:"Subscription will expire after {validity}",warning:"Subscription will expire after {validity}",error:"Subscription Expired"},loading:"Load subscription...",loadFailed:"Failed to load subscription info, please retry!",nextInvoice:"Next Invoice: {date}"}},analytics:{trend:"Trends",detail:"Breakdown",runtime:"Runtime",traffic:{totalRequests:"Total Requests",validRequests:"Success Requests",failedRequests:"Failed Requests",uniqueVisitors:"Unique Visitors",uniqueFiles:"Unique URLs",uniqueReferrers:"Unique Referrers",uniqueNotFound:"Unique 404",uniqueStaticFiles:"Unique Static Files",logSize:"Log Size",bandwidth:"Bandwidth"}},federated:{inviteJoinFederatedLogin:"Invite to join federated login",inviteJoinFederatedLoginDescription:"Copy the following address and fill it in the application where you need to join to apply for federated login.",federatedLogin:"Federated login",joinFederatedLogin:"Join federated login",joinFederatedLoginDescription:"Please enter the federated login address provided by Master Blocklet to join the federated login",quitFederatedLogin:"Quit federated login",quitFederatedLoginDescription:"After quit federated login, normal login is always available",federatedJoinAppUrl:"Federated login join appUrl",federatedJoinAppUrlRequired:"Please input federated login join appUrl",failedToGetFederatedLoginAppUrl:"Failed to get federated login join appUrl",federatedJoinAppUrlInvalid:"Federated login appUrl is invalid",siteDetail:"Site detail",approveToJoinLogin:"Approve to join federated login",approve:"Enable login",revoke:"Disable login",enableFederatedLogin:"Enable federated login",disableFederatedLogin:"Disable federated login",enableFederatedLoginDescription:"After enable federated login, this site will be auto login",disableFederatedLoginDescription:"After disable federated login, this site will not be auto login",enableFederatedAutoLogin:"Enable automatic login",enableFederatedAutoLoginDescription:"After enable automatic login, if there is currently a unified login status, the site will automatically log in the identity of the federated login",disableFederatedAutoLogin:"Disable automatic login",disableFederatedAutoLoginDescription:"After the automatic login is turned off, the site will not automatically log in the user information of the unified login, and you can still choose to manually click to log in with the identity of the federated login",info:{appId:"APP DID",appPid:"Permanent ID",migratedFrom:"Also Known As",appName:"Blocklet name",appDescription:"Blocklet description",appUrl:"Blocklet url",appLogo:"Blocklet logo",did:"Blocklet DID",serverId:"Blocklet Server ID",serverVersion:"Blocklet Server version",version:"Blocklet version",appliedAt:"Apply at",status:"Status"},status:{pending:"Pending",approved:"Approved",rejected:"Rejected",revoked:"Revoked"},disbandFederatedLogin:"Disband federated login",disbandFederatedLoginDescription:"After disband federated login, all member site will quit federated login automatically",syncConfig:"Sync federated sites config",quitMember:"Remove",quitMemberDescription:"Remove specified members from the site group",removeFederatedLogin:"Remove member",removeFederatedLoginDescription:"After remove specified members from the site group, member can only use normal login"},optionsOrder:{1:"Option One",2:"Option Two"},securityRule:{title:"Security Rule",sortByDescription:"Sort by matching priority",add:"Add Security Rule",edit:"Edit Security Rule",view:"View Security Rule",useless:"Useless Security Rule",form:{precede:"Precede",pathPattern:"Path Pattern",pathPatternPlaceholder:"Please input path pattern",pathPatternErrorText:"Path pattern is invalid",accessPolicyOrResponseHeaderPolicyRequired:"Access Policy or Response Header Policy is required",accessPolicy:"Access Policy",accessPolicyPlaceholder:"Please select access policy",accessPolicyHelperText:"Please select access policy",responseHeaderPolicy:"Response Header Policy",responseHeaderPolicyPlaceholder:"Please select response header policy",responseHeaderPolicyHelperText:"Please select response header policy",remark:"Remark",remarkPlaceholder:"Please input remark",component:"Component",componentPlaceholder:"Please choose component"},delete:{title:"Delete Security Rule ?",description:"After removing a security rule, the rule will no longer take effect"}},responseHeaderPolicy:{title:"Response Header Policy",add:"Add Response Header Policy",edit:"Edit Response Header Policy",view:"View Response Header Policy",form:{name:"Name",namePlaceholder:"Please input name",description:"Description",descriptionPlaceholder:"Please input description",originOverride:"Origin Override",originOverrideHelperText:"Whether to allow the logic in the application to override this response header",cors:{origin:"Origin",originPlaceholder:"Support the following domain formats: http://www.example.com, http://*.example.com, http://www.example.com:8080, * (wildcard is not recommended)",originHelperText:"Domain name starts with http:// or https://, one per line, one wildcard * per line",methods:"Methods",allowedHeaders:"Allowed Headers",allowedHeadersPlaceholder:"It's recommended to fill in *, support multi-line input",allowedHeadersHelperText:"Tell the server which custom HTTP request headers can be used in the next request when sending an OPTIONS request, such as: x-blocklet-version",exposedHeaders:"Exposed Headers",exposedHeadersPlaceholder:"Support multi-line input",exposedHeadersHelperText:"Configure Expose-Headers, for example: X-Content-Range",maxAge:"Max-Age (Seconds)",maxAgeHelperText:"The validity period of the result obtained by the OPTIONS request, which needs to be a positive integer",optionsSuccessStatus:"Options Success Status",preflightContinue:"Preflight Continue",credentials:"Credentials",smartMode:"Smart Mode",smartModeHelperText:"Automatically add all domain names of the current application, as well as all domain names of the federated login site group"}},delete:{title:"Delete Response Header Policy ?",description:"After removing a response header policy, the policy will no longer take effect"}},accessPolicy:{title:"Access Policy",add:"Add Access Policy",edit:"Edit Access Policy",view:"View Access Policy",form:{name:"Name",namePlaceholder:"Please input name",description:"Description",descriptionPlaceholder:"Please input description",roles:"Access Roles",accessType:"Access type"},delete:{title:"Delete Access Policy ?",description:"After removing an access policy, the policy will no longer take effect"}},pagination:{next:"Next Page",previous:"Previous Page",rowsPerPage:"Per page:",displayRows:"of",jumpToPage:"Jump to Page:"},webhookEndpoint:{createWebhook:"Create Webhook",createWebhookTitle:"Create Webhook",selectAllEvents:"Select All Events",selectAllEventsTooltip:"Select all available events",selectedEventsCount:"{count} events selected",selectedCount:"{count} selected",eventsCount:"{count} events",saveWebhook:"Create Webhook",noAvailableEvents:"No available events",loadingEvents:"Loading events...",loadingError:"Failed to load events: {message}",title:"Webhooks",noWebhooksAdded:"No webhooks added",validation:{urlRequired:"URL is required",urlInvalid:"Please enter a valid URL",descriptionRequired:"Description is required",eventRequired:"Please select at least one event"},hosted:"Hosted endpoints",add:"Create Webhook",addTip:"Set up your webhook endpoint to receive live events",listen:"Listen for",version:"API Version",attempts:"Webhook Attempts",url:{label:"URL",description:"Webhook URL"},description:{label:"Description",description:"An optional description of what this endpoint is used for"},events:{label:"Select events to listen to",description:""},disabled:"Disabled",enabled:"Enabled",disable:"Disable",enable:"Enable",editWebhookTitle:"Update Webhook",updateWebhook:"Update Webhook",waitingForEvents:"Waiting for events...",loadingMore:"Loading more...",loadMore:"Load more",response:"Response",request:"Request",eventData:"Event Data",deleteWebhook:{title:"Delete Webhook?",description:"After deleting a webhook, the webhook will no longer receive events"},success:" Success"},description:{environment:"The current variables will take effect when {name} is running. Need to restart the application to take effect.",preferences:"The current variables will take effect when {name} is running. Changes will be applied after saving, no application restart required."},preferencesFor:"Preferences for {name}",environmentFor:"Environments for {name}",accessKey:"Access Key"},en$1={blocklet:{restoreBlocklet:{title:"Restore Blocklet",description:"Please select the blocklet you want to restore",verify:{title:"Verify Ownership",subTitle:"Verify ownership of the blocklet with your DID Wallet",verify:"Verify",reconnect:"Try another blocklet",scan:"Use the following methods to prove ownership",confirm:"Sign delegation to allow server to download and decrypt the backup",success:"Ownership verified, the restoring is in progress",exists:"This blocklet already exists on this server and restore is aborted",open:"Visit Blocklet",overwrite:"Overwrite"},overwrite:{title:"Overwrite existing blocklet?",description:"The blocklet you are restoring already exists on this server, do you want to overwrite it? The exiting blocklet will be deleted first if you continue"},restore:{title:"Restore Blocklet"}},restoreFromServer:{selectTitle:"Select Application",description:"Please select the application you want to restore",backupIn:"Backup in"},restoreFromSpaces:{title:"Restore from DID Spaces",navSubTitle:"Restore",connect:{title:"Connect to DID Spaces",subTitle:"Jump to DID Spaces, and select the blocklet you want to restore.",select:"Select DID Spaces Gateway",connect:"Connect"},selectBlocklet:{title:"Select App"},restore:{title:"Restore App",subTitle:"The app is being restored",completeTitle:"Everything is Ready",installedTitle:"Successfully restored!",installedSubTitle:"But still needs some configurations to start",support:'If retrying does not work, please ask help in the <a href="{communityLink}" target="_blank">community</a> or contact us at <a href="mailto: {supportEmail}">{supportEmail}</a>.'},nftAuthDialog:{title:"Please present your App Space NFT",scan:"Scan QR code with your DID Wallet to present your NFT",confirm:"Confirm on your DID Wallet",success:"NFT successfully verified!"},progress:{waiting:"Waiting for restore...",restoring:"Restoring...",importData:"Importing data...",downloading:"Downloading files, progress: {progress}",importSuccess:"Successfully imported!",installing:"Installing..."}}},server:{checkUpgrade:"Check new version"}},flatMerge=a=>flat$1(merge(...a)),translations$3={en:flat$1(merge(en$2,en$1)),ar:async()=>{const a=await Promise.all([__vitePreload(()=>import("./ar-BNaEJSr3.js"),[],import.meta.url).then(j=>j.default),__vitePreload(()=>import("./ar-D41ZtGRe.js"),[],import.meta.url).then(j=>j.default)]);return flatMerge(a)},de:async()=>{const a=await Promise.all([__vitePreload(()=>import("./de-BsZVQmUM.js"),[],import.meta.url).then(j=>j.default),__vitePreload(()=>import("./de-CsSzdsTu.js"),[],import.meta.url).then(j=>j.default)]);return flatMerge(a)},es:async()=>{const a=await Promise.all([__vitePreload(()=>import("./es-ntlJbt-a.js"),[],import.meta.url).then(j=>j.default),__vitePreload(()=>import("./es-BtC31U4H.js"),[],import.meta.url).then(j=>j.default)]);return flatMerge(a)},fr:async()=>{const a=await Promise.all([__vitePreload(()=>import("./fr-Bv4B0MVB.js"),[],import.meta.url).then(j=>j.default),__vitePreload(()=>import("./fr-BhLXOZpY.js"),[],import.meta.url).then(j=>j.default)]);return flatMerge(a)},hi:async()=>{const a=await Promise.all([__vitePreload(()=>import("./hi-DIf_hqVB.js"),[],import.meta.url).then(j=>j.default),__vitePreload(()=>import("./hi-CyopnKTv.js"),[],import.meta.url).then(j=>j.default)]);return flatMerge(a)},id:async()=>{const a=await Promise.all([__vitePreload(()=>import("./id-DZBgOnwF.js"),[],import.meta.url).then(j=>j.default),__vitePreload(()=>import("./id-j8hF6rnV.js"),[],import.meta.url).then(j=>j.default)]);return flatMerge(a)},ja:async()=>{const a=await Promise.all([__vitePreload(()=>import("./ja-8jRYJGVw.js"),[],import.meta.url).then(j=>j.default),__vitePreload(()=>import("./ja-DRGqS8lp.js"),[],import.meta.url).then(j=>j.default)]);return flatMerge(a)},ko:async()=>{const a=await Promise.all([__vitePreload(()=>import("./ko-C4pbuwv8.js"),[],import.meta.url).then(j=>j.default),__vitePreload(()=>import("./ko-BzC9Kigu.js"),[],import.meta.url).then(j=>j.default)]);return flatMerge(a)},pt:async()=>{const a=await Promise.all([__vitePreload(()=>import("./pt-CMeQ7KWn.js"),[],import.meta.url).then(j=>j.default),__vitePreload(()=>import("./pt-xVrNRwtW.js"),[],import.meta.url).then(j=>j.default)]);return flatMerge(a)},ru:async()=>{const a=await Promise.all([__vitePreload(()=>import("./ru-8cWKcW3b.js"),[],import.meta.url).then(j=>j.default),__vitePreload(()=>import("./ru-xYKPjzWs.js"),[],import.meta.url).then(j=>j.default)]);return flatMerge(a)},th:async()=>{const a=await Promise.all([__vitePreload(()=>import("./th-DYYGBboI.js"),[],import.meta.url).then(j=>j.default),__vitePreload(()=>import("./th-CZg0fbwW.js"),[],import.meta.url).then(j=>j.default)]);return flatMerge(a)},vi:async()=>{const a=await Promise.all([__vitePreload(()=>import("./vi-CfH0km8q.js"),[],import.meta.url).then(j=>j.default),__vitePreload(()=>import("./vi-PXWv2gFl.js"),[],import.meta.url).then(j=>j.default)]);return flatMerge(a)},zh:async()=>{const a=await Promise.all([__vitePreload(()=>import("./zh-DZlGQAU9.js"),[],import.meta.url).then(j=>j.default),__vitePreload(()=>import("./zh-CzLSbhgI.js"),[],import.meta.url).then(j=>j.default)]);return flatMerge(a)},"zh-TW":async()=>{const a=await Promise.all([__vitePreload(()=>import("./zh-tw-Be5lgYGX.js"),[],import.meta.url).then(j=>j.default),__vitePreload(()=>import("./zh-tw-B1Z7ym7-.js"),[],import.meta.url).then(j=>j.default)]);return flatMerge(a)}},theme=create$7({...BLOCKLET_THEME_LIGHT,disableBlockletTheme:!0}),globalStyles=css$1`
1765
1765
  a {
1766
1766
  color: ${teal.A700};
1767
1767
  text-decoration: none;
@@ -2625,7 +2625,7 @@ ${et}
2625
2625
  line-height: 1.25;
2626
2626
  }
2627
2627
  }
2628
- `,NotificationContent$1=reactExports.memo(NotificationContent);var Cancel={},_interopRequireDefault$6=interopRequireDefaultExports;Object.defineProperty(Cancel,"__esModule",{value:!0});var default_1$6=Cancel.default=void 0,_createSvgIcon$6=_interopRequireDefault$6(requireCreateSvgIcon()),_jsxRuntime$6=jsxRuntimeExports;default_1$6=Cancel.default=(0,_createSvgIcon$6.default)((0,_jsxRuntime$6.jsx)("path",{d:"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2m5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12z"}),"Cancel");var Warning={},_interopRequireDefault$5=interopRequireDefaultExports;Object.defineProperty(Warning,"__esModule",{value:!0});var default_1$5=Warning.default=void 0,_createSvgIcon$5=_interopRequireDefault$5(requireCreateSvgIcon()),_jsxRuntime$5=jsxRuntimeExports;default_1$5=Warning.default=(0,_createSvgIcon$5.default)((0,_jsxRuntime$5.jsx)("path",{d:"M1 21h22L12 2zm12-3h-2v-2h2zm0-4h-2v-4h2z"}),"Warning");var Info={},_interopRequireDefault$4=interopRequireDefaultExports;Object.defineProperty(Info,"__esModule",{value:!0});var default_1$4=Info.default=void 0,_createSvgIcon$4=_interopRequireDefault$4(requireCreateSvgIcon()),_jsxRuntime$4=jsxRuntimeExports;default_1$4=Info.default=(0,_createSvgIcon$4.default)((0,_jsxRuntime$4.jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m1 15h-2v-6h2zm0-8h-2V7h2z"}),"Info");var CheckCircle={},_interopRequireDefault$3=interopRequireDefaultExports;Object.defineProperty(CheckCircle,"__esModule",{value:!0});var default_1$3=CheckCircle.default=void 0,_createSvgIcon$3=_interopRequireDefault$3(requireCreateSvgIcon()),_jsxRuntime$3=jsxRuntimeExports;default_1$3=CheckCircle.default=(0,_createSvgIcon$3.default)((0,_jsxRuntime$3.jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m-2 15-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8z"}),"CheckCircle");const severityIcons={error:default_1$6,warning:default_1$5,info:default_1$4,success:default_1$3};SeverityAvatar.propTypes={severity:PropTypes.oneOf(["error","warning","info","success"]).isRequired,size:PropTypes.number};SeverityAvatar.defaultProps={size:32};function SeverityAvatar({severity:a="info",size:j=32}){const _e=useTheme$2(),tt=useCreation(()=>({error:_e.palette.error.main,warning:_e.palette.warning.main,info:_e.palette.info.main,success:_e.palette.success.main}))[a],nt=severityIcons[a],rt=alpha$1(tt,.1);return jsxRuntimeExports.jsx(Avatar$1,{sx:{width:j,height:j,bgcolor:rt,color:tt},children:jsxRuntimeExports.jsx(nt,{fontSize:"small"})})}const data$8={width:24,height:24,body:'<g fill="none" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"><path d="M0 0h24v24H0z"/><path fill="currentColor" d="M5.821 4.91c3.898-2.765 9.469-2.539 13.073.536c3.667 3.127 4.168 8.238 1.152 11.897c-2.842 3.447-7.965 4.583-12.231 2.805l-.232-.101l-4.375.931l-.075.013l-.11.009l-.113-.004l-.044-.005l-.11-.02l-.105-.034l-.1-.044l-.076-.042l-.108-.077l-.081-.074l-.073-.083l-.053-.075l-.065-.115l-.042-.106l-.031-.113l-.013-.075l-.009-.11l.004-.113l.005-.044l.02-.11l.022-.072l1.15-3.451l-.022-.036C.969 12.45 1.97 7.805 5.59 5.079l.23-.168z"/></g>'},data$7={width:24,height:24,body:'<g fill="none" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"><path d="M0 0h24v24H0z"/><path fill="currentColor" d="M12 2a5 5 0 1 1-5 5l.005-.217A5 5 0 0 1 12 2zm2 12a5 5 0 0 1 5 5v1a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2v-1a5 5 0 0 1 5-5h4z"/></g>'},data$6={width:24,height:24,body:'<g fill="none" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"><path d="M0 0h24v24H0z"/><path fill="currentColor" d="M17 3.34A10 10 0 1 1 2 12l.005-.324A10 10 0 0 1 17 3.34zM12 6a1 1 0 0 0-1 1a3 3 0 1 0 0 6v2a1.024 1.024 0 0 1-.866-.398l-.068-.101a1 1 0 0 0-1.732.998a3 3 0 0 0 2.505 1.5H11a1 1 0 0 0 .883.994L12 18a1 1 0 0 0 1-1l.176-.005A3 3 0 0 0 13 11V9c.358-.012.671.14.866.398l.068.101a1 1 0 0 0 1.732-.998A3 3 0 0 0 13.161 7H13a1 1 0 0 0-1-1zm1 7a1 1 0 0 1 0 2v-2zm-2-4v2a1 1 0 0 1 0-2z"/></g>'},data$5={width:24,height:24,body:'<g fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"><path d="M8 12a4 4 0 1 0 8 0a4 4 0 1 0-8 0"/><path d="M16 12v1.5a2.5 2.5 0 0 0 5 0V12a9 9 0 1 0-5.5 8.28"/></g>'},data$4={width:24,height:24,body:'<path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="m15 10l-4 4l6 6l4-16l-18 7l4 2l2 6l3-4"/>'},activityConfig={comment:{icon:data$8,bgColor:"rgba(239, 246, 255, 1)",color:"rgba(43, 127, 255, 1)"},like:{icon:"👍",bgColor:"rgba(244, 244, 245, 1)",color:"yellow",renderType:"emoji"},follow:{icon:data$7,bgColor:"rgba(238, 242, 255, 1)",color:"rgba(97, 95, 255, 1)"},tips:{icon:data$6,bgColor:"rgba(254, 252, 232, 1)",color:"rgba(240, 177, 0, 1)"},mention:{icon:data$5,bgColor:"rgba(244, 244, 245, 1)",color:"rgba(43, 127, 255, 1)"},assign:{icon:data$4,bgColor:"rgba(244, 244, 245, 1)",color:"rgba(43, 127, 255, 1)"}};ActivityAvatar.propTypes={activity:PropTypes.oneOf(["comment","like","follow","tips","mention","assign"]).isRequired,size:PropTypes.number};ActivityAvatar.defaultProps={size:32};function ActivityAvatar({activity:a,size:j=32}){const _e=activityConfig[a]||activityConfig.comment,et=_e.icon;return jsxRuntimeExports.jsx(Avatar$1,{sx:{bgcolor:_e.bgColor,color:_e.color,width:j,height:j},children:_e.renderType==="emoji"?jsxRuntimeExports.jsx("span",{style:{fontSize:"14px"},children:et}):jsxRuntimeExports.jsx(Icon,{icon:et})})}const data$3={width:24,height:24,body:'<path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M17 7L7 17M8 7h9v9"/>'},ACTIVITY_TYPES={COMMENT:"comment",LIKE:"like",FOLLOW:"follow",TIPS:"tips",MENTION:"mention",ASSIGN:"assign"},ACTIVITY_DESCRIPTIONS={[ACTIVITY_TYPES.COMMENT]:(a,j)=>j>1?jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:["left ",j," comments on your ",a]}):jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:["commented on your ",a]}),[ACTIVITY_TYPES.LIKE]:a=>jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:["liked your ",a]}),[ACTIVITY_TYPES.FOLLOW]:()=>jsxRuntimeExports.jsx(jsxRuntimeExports.Fragment,{children:"followed you"}),[ACTIVITY_TYPES.TIPS]:a=>jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:["gave tips to your ",a]}),[ACTIVITY_TYPES.MENTION]:a=>jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:["mentioned you in ",a]}),[ACTIVITY_TYPES.ASSIGN]:()=>jsxRuntimeExports.jsx(jsxRuntimeExports.Fragment,{children:"assigned you a task"})},UserLink=reactExports.memo(function a({user:j,color:_e=colors$2.textBase}){const et=withQuery$1(joinURL$2(constant$3.WELLKNOWN_SERVICE_PATH_PREFIX,"user"),{did:j.did});return jsxRuntimeExports.jsx(Link$2,{href:et,color:_e,fontWeight:600,target:"_blank",sx:{textDecoration:"none"},onClick:tt=>{tt.customPreventRedirect=!0},children:j.fullName||"System"})});UserLink.propTypes={user:PropTypes.shape({did:PropTypes.string.isRequired,fullName:PropTypes.string.isRequired}).isRequired,color:PropTypes.string};UserLink.displayName="UserLink";function useActivityTitle({activity:a,users:j,actors:_e,extra:et={},mountPoint:tt=""}){const{type:nt,target:rt}=a||{},{type:it}=rt||{},{linkColor:ot=colors$2.textBase}=et||{},ut=useCreation(()=>{if(!Array.isArray(j))return new Map;const mt=new Map;return j.forEach(bt=>{bt!=null&&bt.did&&!mt.has(bt.did)&&mt.set(bt.did,bt)}),mt},[j]),st=useCreation(()=>Array.isArray(_e)?_e.map(mt=>mt?ut.get(mt)||{did:mt,fullName:"System"}:null):[],[_e,ut]),ct=useMemoizedFn(()=>{if(!Array.isArray(st)||st.length===0)return null;if(st.length===1)return jsxRuntimeExports.jsx(UserLink,{user:st[0],color:ot});const mt=st.slice(0,-1),bt=st[st.length-1];if(st.length===2)return jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:[jsxRuntimeExports.jsx(UserLink,{user:mt[0],color:ot})," and ",jsxRuntimeExports.jsx(UserLink,{user:bt,color:ot})]});const xt=st.length>3,$t=xt?st.slice(0,2):mt;return jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:[$t.map((kt,Pt)=>jsxRuntimeExports.jsxs(React$3.Fragment,{children:[jsxRuntimeExports.jsx(UserLink,{user:kt,color:ot}),Pt<$t.length-1?", ":""]},kt.did)),xt?`, and ${st.length-2} others`:jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:[", and ",jsxRuntimeExports.jsx(UserLink,{user:bt,color:ot})]})]})}),ft=useMemoizedFn(()=>{const mt=ACTIVITY_DESCRIPTIONS[nt];return mt?mt(it,j.length):null}),pt=useCreation(()=>{const mt=ct(),bt=ft();return!mt||!bt?null:jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:[mt," ",bt]})},[nt,it,st,ct,ft]),yt=useCreation(()=>{if(!a)return null;const mt=getActivityLink(a);return mt!=null&&mt.targetLink?joinURL$2(tt,mt.targetLink):null},[a,tt]);return!nt||isEmpty$1(rt)?null:jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:[pt," ",jsxRuntimeExports.jsx(Link$2,{href:yt,color:colors$2.primaryBase,target:"_blank",sx:{textDecoration:"none"},onClick:mt=>{mt.customPreventRedirect=!0},children:rt.name})]})}TipsActivity.propTypes={meta:PropTypes.object.isRequired};const StyledPaper=styled$1(Paper)(({theme:a})=>({maxWidth:320,display:"flex",flexDirection:"column",gap:a.spacing(1.5),padding:a.spacing(2),marginTop:a.spacing(1),borderRadius:a.spacing(1),border:`1px solid ${colors$2.dividerColor}`,boxShadow:"none"})),LogoWrapper=styled$1(Box)(({theme:a})=>({display:"flex",justifyContent:"flex-start",alignItems:"center",gap:a.spacing(1),marginBottom:a.spacing(1)})),ContentWrapper=styled$1(Box)({display:"flex",justifyContent:"space-between",alignItems:"center"});function TipsActivity({meta:a}){const{amount:j,symbol:_e,chainId:et}=a,tt=()=>{window.open(`https://explorer.arcblock.io/chain/${et}`,"_blank")};return jsxRuntimeExports.jsxs(StyledPaper,{children:[jsxRuntimeExports.jsxs(LogoWrapper,{children:[jsxRuntimeExports.jsx("img",{alt:"ArcBlock Beta",src:"https://bbqat7g5cg33cyr4pdrd6foycgzfb5xxeh2se7gcqkq.did.abtnet.io/payment-kit/methods/arcblock.png",width:32,height:32,style:{borderRadius:16}}),jsxRuntimeExports.jsx(Typography$1,{variant:"h5",color:colors$2.textBase,children:"ArcBlock"})]}),jsxRuntimeExports.jsxs(ContentWrapper,{children:[jsxRuntimeExports.jsxs(Box,{display:"flex",alignItems:"baseline",gap:1,children:[jsxRuntimeExports.jsxs(Typography$1,{component:"span",variant:"h5",color:colors$2.textBase,fontWeight:"bold",children:["+ ",j]}),jsxRuntimeExports.jsx(Typography$1,{component:"span",variant:"subtitle2",color:colors$2.textSubtitle,children:_e})]}),jsxRuntimeExports.jsx(Button,{variant:"outlined",size:"small",color:"secondary",endIcon:jsxRuntimeExports.jsx(Icon,{icon:data$3}),onClick:tt,sx:{borderRadius:4},children:"View on Chain"})]})]})}Meta.propTypes={meta:PropTypes.object.isRequired,type:PropTypes.string.isRequired,hideTips:PropTypes.bool,sx:PropTypes.object};Meta.defaultProps={hideTips:!1,sx:{}};function Meta({meta:a,type:j,hideTips:_e=!1,sx:et}){return isEmpty$1(a)?null:j==="tips"&&!_e?jsxRuntimeExports.jsx(TipsActivity,{meta:a}):jsxRuntimeExports.jsx(Typography$1,{variant:"subtitle2",fontSize:16,component:"p",sx:et,color:colors$2.textSubtitle,children:a.content})}let CardType=function(a){return a.AvatarOnly="AvatarOnly",a.Detailed="Detailed",a}({}),InfoType=function(a){return a.NameOnly="NameOnly",a.Minimal="Minimal",a.Basic="Basic",a}({}),client=null;try{client=new BlockletSDK}catch(a){console.error("Failed to initialize BlockletSDK:",a),client=null}function createNameOnlyAvatar(a){if(!a)return null;let j="";return a.fullName?j=a.fullName.charAt(0).toUpperCase():a.email?j=a.email.split("@")[0].charAt(0).toUpperCase():j=a.did?a.did.charAt(0).toUpperCase():"?",j}function isUserDid(a){if(!a||typeof a!="string")return!1;try{const j=lib$3.toTypeInfo(a);return j.role!==void 0&&j.role!==lib$4.types.RoleType.ROLE_APPLICATION}catch(j){return console.error("Failed to check if did is user did:",j),!1}}async function getUserByDid(a){if(!client)return null;try{return await client.user.getUserPublicInfo({did:a})}catch(j){return console.error("Failed to get user by did:",j),null}}const renderAvatar=(a,j=48,_e=void 0,et=void 0,tt=!1)=>{const nt=rt=>{et==null||et(a,rt)};if(!a.avatar){const rt=createNameOnlyAvatar(a);return jsxRuntimeExports.jsx(AvatarWithErrorBoundary,{size:j,did:a.did,variant:"circle",onClick:nt,sx:{fontSize:j*.4,cursor:tt||et?"pointer":"default"},..._e||{},children:rt})}return jsxRuntimeExports.jsx(AvatarWithErrorBoundary,{size:j,did:a.did,variant:"circle",style:{cursor:tt||et?"pointer":"default"},onClick:nt,src:a.avatar,alt:a.fullName||"",..._e||{}})},renderTopRight=(a,j=120)=>a?jsxRuntimeExports.jsx(Box,{sx:{maxWidth:j},className:"user-card__top-right-content",children:a()}):null;function TooltipAvatar({user:a,avatarSize:j,shouldShowHoverCard:_e,renderCardContent:et,tooltipTitle:tt,tooltipProps:nt,avatarProps:rt,onAvatarClick:it}){const ot=jsxRuntimeExports.jsx(Box,{display:"inline-block",children:renderAvatar(a,j,rt,it,_e||!!tt)});return tt?jsxRuntimeExports.jsx(Tooltip,{enterDelay:200,title:tt,placement:"bottom",...nt??{},children:ot}):_e?jsxRuntimeExports.jsx(Tooltip,{enterDelay:200,title:et?et():null,placement:"bottom",arrow:!1,TransitionComponent:Zoom,PopperProps:{sx:{"& .MuiTooltip-tooltip":{backgroundColor:"transparent",p:0,maxWidth:500,zIndex:1e3}}},...nt??{},children:ot}):ot}function AvatarOnlyCard(a){const{user:j,infoType:_e,avatarSize:et=48,shouldShowHoverCard:tt=!1,renderCardContent:nt,...rt}=a;return _e===InfoType.NameOnly?jsxRuntimeExports.jsx(TooltipAvatar,{user:j,avatarSize:et,shouldShowHoverCard:!1,renderCardContent:nt,tooltipTitle:j.fullName||j.email||j.did,...rt}):jsxRuntimeExports.jsx(TooltipAvatar,{user:j,avatarSize:et,shouldShowHoverCard:tt,renderCardContent:nt,...rt})}function NameOnlyCard(a){const{user:j,avatarSize:_e=48,onAvatarClick:et}=a;return jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:[renderAvatar(j,_e,a.avatarProps,et),jsxRuntimeExports.jsx(Typography$1,{variant:"body1",children:j.fullName||j.email||j.did})]})}function shortenString(a,j=10){return a?a.length<=j?a:`${a.slice(0,j-1)}...${a.slice(-2)}`:""}function ShortenLabel({children:a,maxLength:j=10,sx:_e=void 0,hiddenTip:et=!1}){const tt=reactExports.useMemo(()=>shortenString(a,j),[a,j]);return(a==null?void 0:a.length)<=j?jsxRuntimeExports.jsx(Typography$1,{sx:_e,children:a}):et?jsxRuntimeExports.jsx(Typography$1,{sx:_e,children:tt}):jsxRuntimeExports.jsx(Tooltip,{title:a,placement:"top",children:jsxRuntimeExports.jsx(Typography$1,{sx:_e,children:tt})})}function MinimalContent(a){const{user:j,showDid:_e,didProps:et,avatarSize:tt,shouldShowHoverCard:nt,renderCardContent:rt,renderTopRightContent:it,topRightMaxWidth:ot,avatarProps:ut,shortenLabelProps:st,...ct}=a;return jsxRuntimeExports.jsxs(Box,{display:"flex",justifyContent:"space-between",alignItems:"center",className:"user-card__avatar-content",children:[jsxRuntimeExports.jsxs(Box,{display:"flex",justifyContent:"flex-start",alignItems:"center",gap:2,flex:1,minWidth:0,children:[jsxRuntimeExports.jsx(TooltipAvatar,{user:j,avatarSize:tt,shouldShowHoverCard:nt,renderCardContent:rt,avatarProps:ut,...ct}),jsxRuntimeExports.jsxs(Box,{children:[jsxRuntimeExports.jsx(Typography$1,{variant:"subtitle1",fontWeight:500,color:"text.primary",className:"user-card__full-name-label",fontSize:18,noWrap:!0,sx:{lineHeight:1.1},children:jsxRuntimeExports.jsx(ShortenLabel,{...st,children:j.fullName||j.email||j.did})}),_e&&j.did?jsxRuntimeExports.jsx(DID,{did:j.did,size:14,copyable:!0,compact:!0,locale:"en",sx:{lineHeight:1.5},...et??{}}):null]})]}),renderTopRight(it,ot)]})}const MinimalContent$1=reactExports.memo(MinimalContent),data$2={width:24,height:24,body:'<g fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"><path d="M3 12a9 9 0 1 0 18 0a9 9 0 0 0-18 0m9-3h.01"/><path d="M11 12h1v4h1"/></g>'};var Component$4=function(a){return jsxRuntimeExports.jsx("svg",{...a,children:jsxRuntimeExports.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15.772 2.0002C14.3605 1.98785 13.0021 2.53434 11.9889 3.51979L11.9786 3.52995L10.4736 5.0366C10.0833 5.42734 10.0837 6.06051 10.4745 6.45081C10.8652 6.84111 11.4984 6.84074 11.8887 6.44999L13.3881 4.9488C14.0246 4.33227 14.8741 3.99242 15.7545 4.00013C16.6371 4.00785 17.4828 4.36431 18.1091 4.99495C18.7356 5.62581 19.0921 6.48066 19.0999 7.37575C19.1076 8.26812 18.7679 9.12664 18.1559 9.76782L15.5375 12.4045L15.5374 12.4046C15.1949 12.7496 14.7832 13.016 14.3305 13.186C13.8777 13.3561 13.3942 13.4261 12.9126 13.3913C12.4309 13.3566 11.962 13.218 11.5377 12.9845C11.1133 12.751 10.7432 12.428 10.4528 12.037C10.1234 11.5937 9.49706 11.5012 9.0537 11.8306C8.61035 12.1599 8.51791 12.7863 8.84723 13.2296C9.30832 13.8504 9.89697 14.3645 10.5736 14.7368C11.2503 15.1091 11.9989 15.3306 12.7687 15.3862C13.5385 15.4417 14.311 15.3298 15.0338 15.0583C15.7565 14.7868 16.4122 14.3622 16.9567 13.8138L16.9568 13.8136L19.5815 11.1705L19.5937 11.1581C20.5719 10.1382 21.112 8.77356 21.0998 7.35849C21.0876 5.94342 20.524 4.58841 19.5282 3.58568C18.5323 2.58272 17.1835 2.01256 15.772 2.0002ZM10.3313 7.71385C9.5615 7.65833 8.78897 7.7702 8.06622 8.0417C7.34353 8.31317 6.68782 8.73776 6.14332 9.28624L6.14319 9.28637L3.51847 11.9295L3.50633 11.9419C2.52811 12.9618 1.98799 14.3264 2.0002 15.7415C2.01241 17.1566 2.57601 18.5116 3.57176 19.5143C4.56774 20.5173 5.91651 21.0874 7.32798 21.0998C8.73945 21.1121 10.0979 20.5657 11.1111 19.5802L11.1235 19.568L12.6197 18.0613C13.0088 17.6695 13.0066 17.0363 12.6147 16.6471C12.2228 16.258 11.5897 16.2602 11.2005 16.6521L9.71087 18.1522C9.07455 18.7681 8.2254 19.1076 7.34548 19.0999C6.46286 19.0921 5.61715 18.7357 4.9909 18.1051C4.36443 17.4742 4.00785 16.6193 4.00013 15.7242C3.99243 14.8319 4.3321 13.9734 4.94412 13.3322L7.56246 10.6955L7.56259 10.6954C7.90506 10.3504 8.31675 10.084 8.76952 9.91396C9.22227 9.74389 9.70581 9.67393 10.1874 9.70866C10.6691 9.7434 11.138 9.88205 11.5623 10.1155C11.9867 10.349 12.3568 10.672 12.6472 11.063C12.9766 11.5063 13.6029 11.5987 14.0463 11.2694C14.4896 10.9401 14.5821 10.3137 14.2528 9.87036C13.7917 9.24963 13.203 8.73549 12.5264 8.36322C11.8497 7.99093 11.1011 7.76936 10.3313 7.71385Z",fill:"#4B5563"})})};Component$4.defaultProps={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"};Component$4.displayName="link";var Component$3=function(a){return jsxRuntimeExports.jsx("svg",{...a,children:jsxRuntimeExports.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6 5.63384C6 5.4262 6.25495 5 6.91364 5H17.0907C17.7494 5 18.0043 5.4262 18.0043 5.63384V18.7046C18.0043 18.9122 17.7494 19.3384 17.0907 19.3384H6.91364C6.25495 19.3384 6 18.9122 6 18.7046V5.63384ZM6.91364 3C5.45858 3 4 4.03679 4 5.63384V18.7046C4 20.3016 5.45858 21.3384 6.91364 21.3384H17.0907C18.5458 21.3384 20.0043 20.3016 20.0043 18.7046V5.63384C20.0043 4.03679 18.5458 3 17.0907 3H6.91364ZM11.8775 18.0375C12.9664 18.0375 13.8492 17.1548 13.8492 16.0658C13.8492 14.9768 12.9664 14.0941 11.8775 14.0941C10.7885 14.0941 9.90575 14.9768 9.90575 16.0658C9.90575 17.1548 10.7885 18.0375 11.8775 18.0375Z",fill:"#4B5563"})})};Component$3.defaultProps={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"};Component$3.displayName="phone";const Phone=Object.freeze(Object.defineProperty({__proto__:null,default:Component$3},Symbol.toStringTag,{value:"Module"}));var Component$2=function(a){return jsxRuntimeExports.jsx("svg",{...a,children:jsxRuntimeExports.jsx("path",{d:"M17.5101 4.44495C19.0706 5.97732 19.9631 8.04564 19.9989 10.2126C20.0347 12.3795 19.2109 14.4751 17.7018 16.0564L17.5101 16.2512L13.5029 20.1856C12.9945 20.6847 12.3119 20.9752 11.5935 20.9985C10.875 21.0217 10.1745 20.7759 9.63366 20.3109L9.49766 20.1856L5.48954 16.2502C3.89552 14.6848 3 12.5615 3 10.3476C3 8.13368 3.89552 6.01043 5.48954 4.44495C7.08357 2.87948 9.24554 2 11.4998 2C13.7541 2 15.9161 2.87948 17.5101 4.44495ZM11.4998 7.56508C11.1278 7.56508 10.7593 7.63705 10.4156 7.77689C10.0718 7.91672 9.75951 8.12168 9.49641 8.38006C9.23332 8.63844 9.02462 8.94518 8.88224 9.28277C8.73985 9.62037 8.66657 9.98219 8.66657 10.3476C8.66657 10.713 8.73985 11.0748 8.88224 11.4124C9.02462 11.75 9.23332 12.0568 9.49641 12.3151C9.75951 12.5735 10.0718 12.7785 10.4156 12.9183C10.7593 13.0581 11.1278 13.1301 11.4998 13.1301C12.2513 13.1301 12.9719 12.837 13.5032 12.3151C14.0346 11.7933 14.3331 11.0856 14.3331 10.3476C14.3331 9.60963 14.0346 8.90188 13.5032 8.38006C12.9719 7.85824 12.2513 7.56508 11.4998 7.56508Z",stroke:"#4B5563",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})};Component$2.defaultProps={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"};Component$2.displayName="location";const Location=Object.freeze(Object.defineProperty({__proto__:null,default:Component$2},Symbol.toStringTag,{value:"Module"}));var Component$1=function(a){return jsxRuntimeExports.jsx("svg",{...a,children:jsxRuntimeExports.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.6094 5.11861C11.712 5.04162 11.8369 5 11.9652 5C12.0935 5 12.2184 5.04162 12.321 5.11861L18.3442 9.636L12.1855 14.2981C12.1025 14.3594 12.0265 14.3789 11.9652 14.3789C11.9039 14.3789 11.8279 14.3594 11.745 14.2981L5.58619 9.636L11.6094 5.11861ZM3.52321 8.81025C3.40155 8.87613 3.29168 8.96845 3.20274 9.08595C3.00866 9.34234 2.95698 9.66207 3.0346 9.95026C3.01168 10.0893 3.00006 10.2304 3.00006 10.3721V18.3372C3.00006 19.025 3.27325 19.6845 3.75954 20.1708C4.24583 20.6571 4.90537 20.9303 5.59309 20.9303H18.3373C19.0251 20.9303 19.6846 20.6571 20.1709 20.1708C20.6572 19.6845 20.9304 19.025 20.9304 18.3372V10.3721C20.9304 10.2294 20.9186 10.0885 20.8957 9.95059C20.9735 9.66232 20.9219 9.34244 20.7277 9.08595C20.638 8.96744 20.527 8.87455 20.4041 8.80856C20.2605 8.61869 20.0907 8.44775 19.8983 8.30153L19.8983 8.30151L19.8932 8.29769L13.521 3.5186C13.0722 3.18197 12.5263 3 11.9652 3C11.4042 3 10.8582 3.18197 10.4094 3.5186L4.03727 8.29769C3.8421 8.44406 3.66922 8.61676 3.52321 8.81025ZM18.9304 11.7007V18.3372C18.9304 18.4945 18.8679 18.6454 18.7567 18.7566C18.6455 18.8678 18.4946 18.9303 18.3373 18.9303H5.59309C5.43581 18.9303 5.28496 18.8678 5.17375 18.7566C5.06253 18.6454 5.00006 18.4945 5.00006 18.3372V11.7007L10.5412 15.8953L10.5412 15.8954L10.5467 15.8994C10.9548 16.204 11.4466 16.3789 11.9652 16.3789C12.4838 16.3789 12.9757 16.204 13.3838 15.8994L13.3838 15.8994L13.3892 15.8953L18.9304 11.7007Z",fill:"#4B5563"})})};Component$1.defaultProps={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"};Component$1.displayName="email";const Email=Object.freeze(Object.defineProperty({__proto__:null,default:Component$1},Symbol.toStringTag,{value:"Module"}));var Component=function(a){return jsxRuntimeExports.jsx("svg",{...a,children:jsxRuntimeExports.jsx("path",{d:"M12 7.5V12L15.0615 15.0615M4 12C4 13.0506 4.20693 14.0909 4.60896 15.0615C5.011 16.0321 5.60028 16.914 6.34315 17.6569C7.08601 18.3997 7.96793 18.989 8.93853 19.391C9.90914 19.7931 10.9494 20 12 20C13.0506 20 14.0909 19.7931 15.0615 19.391C16.0321 18.989 16.914 18.3997 17.6569 17.6569C18.3997 16.914 18.989 16.0321 19.391 15.0615C19.7931 14.0909 20 13.0506 20 12C20 10.9494 19.7931 9.90914 19.391 8.93853C18.989 7.96793 18.3997 7.08601 17.6569 6.34315C16.914 5.60028 16.0321 5.011 15.0615 4.60896C14.0909 4.20693 13.0506 4 12 4C10.9494 4 9.90914 4.20693 8.93853 4.60896C7.96793 5.011 7.08601 5.60028 6.34315 6.34315C5.60028 7.08601 5.011 7.96793 4.60896 8.93853C4.20693 9.90914 4 10.9494 4 12Z",stroke:"#4B5563",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})};Component.defaultProps={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"};Component.displayName="timezone";const Timezone=Object.freeze(Object.defineProperty({__proto__:null,default:Component},Symbol.toStringTag,{value:"Module"}));defaultDayjs.extend(utc$1);defaultDayjs.extend(timezonePlugin);defaultDayjs.extend(localizedFormatPlugin);const currentTimezone=defaultDayjs.tz.guess(),getTimePhase=a=>a>=0&&a<6?{phase:"dawn",icon:"🌒"}:a>=6&&a<12?{phase:"morning",icon:"🌞"}:a>=12&&a<18?{phase:"afternoon",icon:"🌞"}:{phase:"night",icon:"🌒"};function useClock(a=currentTimezone,j="zh"){const _e=reactExports.useCallback(()=>{const nt=j==="zh"?"zh-cn":"en",rt=j==="zh"?"zh-cn":"en-us";defaultDayjs.locale(nt);const it=defaultDayjs().tz(a),ot=it.hour(),{phase:ut,icon:st}=getTimePhase(ot);return{formattedTime:it.format("LT"),fullDateTime:formatToDatetime$1(it.toDate(),{tz:a,locale:rt}),phase:ut,icon:st,rawTime:it}},[a,j]),[et,tt]=reactExports.useState(_e());return reactExports.useEffect(()=>{tt(_e());const nt=setInterval(()=>{tt(_e())},6e3);return()=>{clearInterval(nt)}},[a,j,_e]),et}const translations={en:{localTime:"Local Time",timezonePhase:{dawn:"AM",morning:"AM",afternoon:"PM",night:"PM"}},zh:{localTime:"本地时间",timezonePhase:{dawn:"凌晨",morning:"上午",afternoon:"下午",night:"晚上"}}};function Clock({value:a,...j}){const{locale:_e}=useLocaleContext()||{locale:"en"},et=useMemoizedFn((nt,rt={})=>translate(translations,nt,_e,"en",rt)),tt=useClock(a,_e);return jsxRuntimeExports.jsxs(Box,{display:"flex",alignItems:"center",gap:1,flex:1,justifyContent:"flex-start",overflow:"hidden",width:"100%",children:[jsxRuntimeExports.jsx(Typography$1,{...j,noWrap:!0,sx:{flex:"0 1 auto",minWidth:0,...j.sx},children:a}),jsxRuntimeExports.jsx(Tooltip,{enterDelay:200,title:jsxRuntimeExports.jsxs("span",{children:[et("localTime")," ",tt.fullDateTime]}),placement:"top",arrow:!0,children:jsxRuntimeExports.jsxs(Typography$1,{component:"span",fontSize:14,noWrap:!0,sx:{whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",flex:"0 0 auto",maxWidth:"100%"},children:["(",_e==="zh"?`${et(`timezonePhase.${tt.phase}`)} `:"",tt.formattedTime,")"]})})]})}const IconMap={timezone:Component,email:Component$1,phone:Component$3,location:Component$2,link:Component$4};function formatLinkDisplay(a){return withoutProtocol(a)}const iconSize={width:16,height:16};function TimeZoneField({value:a}){return jsxRuntimeExports.jsxs(Box,{display:"flex",alignItems:"center",gap:1,className:"user-card__timezone-field",children:[jsxRuntimeExports.jsx(Component,{...iconSize}),jsxRuntimeExports.jsx(Clock,{value:a,variant:"body2",color:"grey.800"})]})}function LinkField({value:a}){const[j,_e]=reactExports.useState(!1),et=useCreation(()=>{try{const nt=new URL(a);return joinURL$2(nt.origin,"favicon.ico")}catch{return""}},[a]),tt=()=>{_e(!0)};return jsxRuntimeExports.jsxs(Box,{display:"flex",alignItems:"center",gap:1,className:"user-card__link-field",children:[et&&!j?jsxRuntimeExports.jsx("img",{src:et,alt:"site icon",style:{width:16,height:16,objectFit:"contain"},onError:tt}):jsxRuntimeExports.jsx(Component$4,{...iconSize}),jsxRuntimeExports.jsx(LineText,{variant:"body2",color:"grey.800",children:jsxRuntimeExports.jsx(Typography$1,{component:"a",href:a,style:{textDecoration:"none",color:"inherit",fontSize:"inherit"},target:"_blank",variant:"body2",color:"grey.800",rel:"noopener noreferrer",children:formatLinkDisplay(a)})})]})}function BasicField({field:a,value:j,children:_e}){const et=IconMap[a];return jsxRuntimeExports.jsxs(Box,{display:"flex",alignItems:"center",gap:1,className:`user-card__${a}-field`,children:[et?jsxRuntimeExports.jsx(et,{...iconSize}):jsxRuntimeExports.jsx(Icon,{icon:data$2,...iconSize}),jsxRuntimeExports.jsx(LineText,{variant:"body2",color:"grey.800",children:_e??j})]},a)}function BasicContent({user:a,isFull:j=!1,renderFields:_e}){var pt;const et=useCreation(()=>_e??["bio","email","phone","location","timezone","link"],[_e]),tt=useCreation(()=>et.includes("bio"),[et]),nt=useCreation(()=>a.metadata??{joinedAt:a==null?void 0:a.createdAt,email:a==null?void 0:a.email,phone:{country:"cn",phoneNumber:(a==null?void 0:a.phone)??""}},[a]),rt=useCreation(()=>a.address,[a.address]),it=reactExports.useCallback(yt=>{var mt,bt,xt;if(!yt)return"";switch(yt){case"bio":return((mt=a.metadata)==null?void 0:mt.bio)||"";case"email":return nt.email||a.email||"";case"phone":return((bt=nt.phone)==null?void 0:bt.phoneNumber)||a.phone||"";case"location":return(rt==null?void 0:rt.city)||nt.location||"";case"timezone":return nt.timezone||"";case"link":return((xt=nt.links)==null?void 0:xt.map($t=>$t.url).filter(Boolean))||[];default:return a[yt]||""}},[a,nt,rt]),{effectiveRenderCount:ot}=reactExports.useMemo(()=>{const yt=et.filter(bt=>{if(bt==="bio")return!1;const xt=it(bt);return xt==null||xt===""?!1:isArray$6(xt)?xt.length>0:String(xt).trim().length>0}),mt=yt.reduce((bt,xt)=>{const $t=it(xt);return bt+(Array.isArray($t)?$t.filter(kt=>kt&&String(kt).trim()).length:1)},0);return{visibleFields:yt,effectiveRenderCount:mt}},[et,it]),ut=ot>4,st=useMemoizedFn(yt=>yt!=null&&String(yt).trim().length>0),ct=reactExports.useMemo(()=>{const yt=[];return et.forEach(mt=>{if(mt==="bio")return;const bt=it(mt);bt&&(isArray$6(bt)?bt.forEach((xt,$t)=>{st(xt)&&yt.push({field:mt,value:xt,key:`${mt}-${$t}`})}):st(bt)&&yt.push({field:mt,value:bt,key:mt}))}),yt},[et,it,st]);if(et.length===0)return null;const ft=yt=>{const{field:mt,value:bt,key:xt}=yt;switch(mt){case"link":return jsxRuntimeExports.jsx(LinkField,{value:bt},xt);case"timezone":return jsxRuntimeExports.jsx(TimeZoneField,{value:bt},xt);case"email":return jsxRuntimeExports.jsx(BasicField,{field:mt,value:bt,children:jsxRuntimeExports.jsx(Typography$1,{component:"a",href:`mailto:${bt}`,rel:"noopener noreferrer",referrerPolicy:"no-referrer",style:{color:"inherit",textDecoration:"none",fontSize:"inherit"},children:bt})});default:return jsxRuntimeExports.jsx(BasicField,{field:mt,value:bt},xt)}};return jsxRuntimeExports.jsxs(Box,{mt:1,display:"flex",flexDirection:"column",gap:1.5,className:"user-card__basic-content",children:[tt&&((pt=a.metadata)==null?void 0:pt.bio)&&jsxRuntimeExports.jsx(LineText,{variant:"body2",color:"grey.800",className:"user-card__bio-field",children:a.metadata.bio}),ut?jsxRuntimeExports.jsx(Grid,{container:!0,spacing:.5,children:ct.map(yt=>jsxRuntimeExports.jsx(Grid,{item:!0,xs:6,children:ft(yt)},yt.key))}):jsxRuntimeExports.jsx(Box,{display:"flex",flexDirection:"column",gap:.5,children:ct.map(yt=>ft(yt))})]})}const LineText=newStyled(Typography$1)`
2628
+ `,NotificationContent$1=reactExports.memo(NotificationContent);var Cancel={},_interopRequireDefault$6=interopRequireDefaultExports;Object.defineProperty(Cancel,"__esModule",{value:!0});var default_1$6=Cancel.default=void 0,_createSvgIcon$6=_interopRequireDefault$6(requireCreateSvgIcon()),_jsxRuntime$6=jsxRuntimeExports;default_1$6=Cancel.default=(0,_createSvgIcon$6.default)((0,_jsxRuntime$6.jsx)("path",{d:"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2m5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12z"}),"Cancel");var Warning={},_interopRequireDefault$5=interopRequireDefaultExports;Object.defineProperty(Warning,"__esModule",{value:!0});var default_1$5=Warning.default=void 0,_createSvgIcon$5=_interopRequireDefault$5(requireCreateSvgIcon()),_jsxRuntime$5=jsxRuntimeExports;default_1$5=Warning.default=(0,_createSvgIcon$5.default)((0,_jsxRuntime$5.jsx)("path",{d:"M1 21h22L12 2zm12-3h-2v-2h2zm0-4h-2v-4h2z"}),"Warning");var Info={},_interopRequireDefault$4=interopRequireDefaultExports;Object.defineProperty(Info,"__esModule",{value:!0});var default_1$4=Info.default=void 0,_createSvgIcon$4=_interopRequireDefault$4(requireCreateSvgIcon()),_jsxRuntime$4=jsxRuntimeExports;default_1$4=Info.default=(0,_createSvgIcon$4.default)((0,_jsxRuntime$4.jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m1 15h-2v-6h2zm0-8h-2V7h2z"}),"Info");var CheckCircle={},_interopRequireDefault$3=interopRequireDefaultExports;Object.defineProperty(CheckCircle,"__esModule",{value:!0});var default_1$3=CheckCircle.default=void 0,_createSvgIcon$3=_interopRequireDefault$3(requireCreateSvgIcon()),_jsxRuntime$3=jsxRuntimeExports;default_1$3=CheckCircle.default=(0,_createSvgIcon$3.default)((0,_jsxRuntime$3.jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m-2 15-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8z"}),"CheckCircle");const severityIcons={error:default_1$6,warning:default_1$5,info:default_1$4,success:default_1$3};SeverityAvatar.propTypes={severity:PropTypes.oneOf(["error","warning","info","success"]).isRequired,size:PropTypes.number};SeverityAvatar.defaultProps={size:32};function SeverityAvatar({severity:a="info",size:j=32}){const _e=useTheme$2(),tt=useCreation(()=>({error:_e.palette.error.main,warning:_e.palette.warning.main,info:_e.palette.info.main,success:_e.palette.success.main}))[a],nt=severityIcons[a],rt=alpha$1(tt,.1);return jsxRuntimeExports.jsx(Avatar$1,{sx:{width:j,height:j,bgcolor:rt,color:tt},children:jsxRuntimeExports.jsx(nt,{fontSize:"small"})})}const data$8={width:24,height:24,body:'<g fill="none" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"><path d="M0 0h24v24H0z"/><path fill="currentColor" d="M5.821 4.91c3.898-2.765 9.469-2.539 13.073.536c3.667 3.127 4.168 8.238 1.152 11.897c-2.842 3.447-7.965 4.583-12.231 2.805l-.232-.101l-4.375.931l-.075.013l-.11.009l-.113-.004l-.044-.005l-.11-.02l-.105-.034l-.1-.044l-.076-.042l-.108-.077l-.081-.074l-.073-.083l-.053-.075l-.065-.115l-.042-.106l-.031-.113l-.013-.075l-.009-.11l.004-.113l.005-.044l.02-.11l.022-.072l1.15-3.451l-.022-.036C.969 12.45 1.97 7.805 5.59 5.079l.23-.168z"/></g>'},data$7={width:24,height:24,body:'<g fill="none" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"><path d="M0 0h24v24H0z"/><path fill="currentColor" d="M12 2a5 5 0 1 1-5 5l.005-.217A5 5 0 0 1 12 2zm2 12a5 5 0 0 1 5 5v1a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2v-1a5 5 0 0 1 5-5h4z"/></g>'},data$6={width:24,height:24,body:'<g fill="none" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"><path d="M0 0h24v24H0z"/><path fill="currentColor" d="M17 3.34A10 10 0 1 1 2 12l.005-.324A10 10 0 0 1 17 3.34zM12 6a1 1 0 0 0-1 1a3 3 0 1 0 0 6v2a1.024 1.024 0 0 1-.866-.398l-.068-.101a1 1 0 0 0-1.732.998a3 3 0 0 0 2.505 1.5H11a1 1 0 0 0 .883.994L12 18a1 1 0 0 0 1-1l.176-.005A3 3 0 0 0 13 11V9c.358-.012.671.14.866.398l.068.101a1 1 0 0 0 1.732-.998A3 3 0 0 0 13.161 7H13a1 1 0 0 0-1-1zm1 7a1 1 0 0 1 0 2v-2zm-2-4v2a1 1 0 0 1 0-2z"/></g>'},data$5={width:24,height:24,body:'<g fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"><path d="M8 12a4 4 0 1 0 8 0a4 4 0 1 0-8 0"/><path d="M16 12v1.5a2.5 2.5 0 0 0 5 0V12a9 9 0 1 0-5.5 8.28"/></g>'},data$4={width:24,height:24,body:'<path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="m15 10l-4 4l6 6l4-16l-18 7l4 2l2 6l3-4"/>'},activityConfig={comment:{icon:data$8,bgColor:"rgba(239, 246, 255, 1)",color:"rgba(43, 127, 255, 1)"},like:{icon:"👍",bgColor:"rgba(244, 244, 245, 1)",color:"yellow",renderType:"emoji"},follow:{icon:data$7,bgColor:"rgba(238, 242, 255, 1)",color:"rgba(97, 95, 255, 1)"},tips:{icon:data$6,bgColor:"rgba(254, 252, 232, 1)",color:"rgba(240, 177, 0, 1)"},mention:{icon:data$5,bgColor:"rgba(244, 244, 245, 1)",color:"rgba(43, 127, 255, 1)"},assign:{icon:data$4,bgColor:"rgba(244, 244, 245, 1)",color:"rgba(43, 127, 255, 1)"}};ActivityAvatar.propTypes={activity:PropTypes.oneOf(["comment","like","follow","tips","mention","assign"]).isRequired,size:PropTypes.number};ActivityAvatar.defaultProps={size:32};function ActivityAvatar({activity:a,size:j=32}){const _e=activityConfig[a]||activityConfig.comment,et=_e.icon;return jsxRuntimeExports.jsx(Avatar$1,{sx:{bgcolor:_e.bgColor,color:_e.color,width:j,height:j},children:_e.renderType==="emoji"?jsxRuntimeExports.jsx("span",{style:{fontSize:"14px"},children:et}):jsxRuntimeExports.jsx(Icon,{icon:et})})}const data$3={width:24,height:24,body:'<path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M17 7L7 17M8 7h9v9"/>'},ACTIVITY_TYPES={COMMENT:"comment",LIKE:"like",FOLLOW:"follow",TIPS:"tips",MENTION:"mention",ASSIGN:"assign"},ACTIVITY_DESCRIPTIONS={[ACTIVITY_TYPES.COMMENT]:(a,j)=>j>1?jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:["left ",j," comments on your ",a]}):jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:["commented on your ",a]}),[ACTIVITY_TYPES.LIKE]:a=>jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:["liked your ",a]}),[ACTIVITY_TYPES.FOLLOW]:()=>jsxRuntimeExports.jsx(jsxRuntimeExports.Fragment,{children:"followed you"}),[ACTIVITY_TYPES.TIPS]:a=>jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:["gave tips to your ",a]}),[ACTIVITY_TYPES.MENTION]:a=>jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:["mentioned you in ",a]}),[ACTIVITY_TYPES.ASSIGN]:()=>jsxRuntimeExports.jsx(jsxRuntimeExports.Fragment,{children:"assigned you a task"})},UserLink=reactExports.memo(function a({user:j,color:_e=colors$2.textBase}){const et=withQuery$1(joinURL$2(constant$3.WELLKNOWN_SERVICE_PATH_PREFIX,"user"),{did:j.did});return jsxRuntimeExports.jsx(Link$2,{href:et,color:_e,fontWeight:600,target:"_blank",sx:{textDecoration:"none"},onClick:tt=>{tt.customPreventRedirect=!0},children:j.fullName||"System"})});UserLink.propTypes={user:PropTypes.shape({did:PropTypes.string.isRequired,fullName:PropTypes.string.isRequired}).isRequired,color:PropTypes.string};UserLink.displayName="UserLink";function useActivityTitle({activity:a,users:j,actors:_e,extra:et={},mountPoint:tt=""}){const{type:nt,target:rt}=a||{},{type:it}=rt||{},{linkColor:ot=colors$2.textBase}=et||{},ut=useCreation(()=>{if(!Array.isArray(j))return new Map;const mt=new Map;return j.forEach(bt=>{bt!=null&&bt.did&&!mt.has(bt.did)&&mt.set(bt.did,bt)}),mt},[j]),st=useCreation(()=>Array.isArray(_e)?_e.map(mt=>mt?ut.get(mt)||{did:mt,fullName:"System"}:null):[],[_e,ut]),ct=useMemoizedFn(()=>{if(!Array.isArray(st)||st.length===0)return null;if(st.length===1)return jsxRuntimeExports.jsx(UserLink,{user:st[0],color:ot});const mt=st.slice(0,-1),bt=st[st.length-1];if(st.length===2)return jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:[jsxRuntimeExports.jsx(UserLink,{user:mt[0],color:ot})," and ",jsxRuntimeExports.jsx(UserLink,{user:bt,color:ot})]});const xt=st.length>3,$t=xt?st.slice(0,2):mt;return jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:[$t.map((kt,Pt)=>jsxRuntimeExports.jsxs(React$3.Fragment,{children:[jsxRuntimeExports.jsx(UserLink,{user:kt,color:ot}),Pt<$t.length-1?", ":""]},kt.did)),xt?`, and ${st.length-2} others`:jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:[", and ",jsxRuntimeExports.jsx(UserLink,{user:bt,color:ot})]})]})}),ft=useMemoizedFn(()=>{const mt=ACTIVITY_DESCRIPTIONS[nt];return mt?mt(it,j.length):null}),pt=useCreation(()=>{const mt=ct(),bt=ft();return!mt||!bt?null:jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:[mt," ",bt]})},[nt,it,st,ct,ft]),yt=useCreation(()=>{if(!a)return null;const mt=getActivityLink(a);return mt!=null&&mt.targetLink?joinURL$2(tt,mt.targetLink):null},[a,tt]);return!nt||isEmpty$1(rt)?null:jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:[pt," ",jsxRuntimeExports.jsx(Link$2,{href:yt,color:colors$2.primaryBase,target:"_blank",sx:{textDecoration:"none"},onClick:mt=>{mt.customPreventRedirect=!0},children:rt.name})]})}TipsActivity.propTypes={meta:PropTypes.object.isRequired};const StyledPaper=styled$1(Paper)(({theme:a})=>({maxWidth:320,display:"flex",flexDirection:"column",gap:a.spacing(1.5),padding:a.spacing(2),marginTop:a.spacing(1),borderRadius:a.spacing(1),border:`1px solid ${colors$2.dividerColor}`,boxShadow:"none"})),LogoWrapper=styled$1(Box)(({theme:a})=>({display:"flex",justifyContent:"flex-start",alignItems:"center",gap:a.spacing(1),marginBottom:a.spacing(1)})),ContentWrapper=styled$1(Box)({display:"flex",justifyContent:"space-between",alignItems:"center"});function TipsActivity({meta:a}){const{amount:j,symbol:_e,chainId:et}=a,tt=()=>{window.open(`https://explorer.arcblock.io/chain/${et}`,"_blank")};return jsxRuntimeExports.jsxs(StyledPaper,{children:[jsxRuntimeExports.jsxs(LogoWrapper,{children:[jsxRuntimeExports.jsx("img",{alt:"ArcBlock Beta",src:"https://bbqat7g5cg33cyr4pdrd6foycgzfb5xxeh2se7gcqkq.did.abtnet.io/payment-kit/methods/arcblock.png",width:32,height:32,style:{borderRadius:16}}),jsxRuntimeExports.jsx(Typography$1,{variant:"h5",color:colors$2.textBase,children:"ArcBlock"})]}),jsxRuntimeExports.jsxs(ContentWrapper,{children:[jsxRuntimeExports.jsxs(Box,{display:"flex",alignItems:"baseline",gap:1,children:[jsxRuntimeExports.jsxs(Typography$1,{component:"span",variant:"h5",color:colors$2.textBase,fontWeight:"bold",children:["+ ",j]}),jsxRuntimeExports.jsx(Typography$1,{component:"span",variant:"subtitle2",color:colors$2.textSubtitle,children:_e})]}),jsxRuntimeExports.jsx(Button,{variant:"outlined",size:"small",color:"secondary",endIcon:jsxRuntimeExports.jsx(Icon,{icon:data$3}),onClick:tt,sx:{borderRadius:4},children:"View on Chain"})]})]})}Meta.propTypes={meta:PropTypes.object.isRequired,type:PropTypes.string.isRequired,hideTips:PropTypes.bool,sx:PropTypes.object};Meta.defaultProps={hideTips:!1,sx:{}};function Meta({meta:a,type:j,hideTips:_e=!1,sx:et}){return isEmpty$1(a)?null:j==="tips"&&!_e?jsxRuntimeExports.jsx(TipsActivity,{meta:a}):jsxRuntimeExports.jsx(Typography$1,{variant:"subtitle2",fontSize:16,component:"p",sx:et,color:colors$2.textSubtitle,children:a.content})}let CardType=function(a){return a.AvatarOnly="AvatarOnly",a.Detailed="Detailed",a}({}),InfoType=function(a){return a.NameOnly="NameOnly",a.Minimal="Minimal",a.Basic="Basic",a}({}),client=null;try{client=new BlockletSDK}catch(a){console.error("Failed to initialize BlockletSDK:",a),client=null}function createNameOnlyAvatar(a){if(!a)return null;let j="";return a.fullName?j=a.fullName.charAt(0).toUpperCase():a.email?j=a.email.split("@")[0].charAt(0).toUpperCase():j=a.did?a.did.charAt(0).toUpperCase():"?",j}function isUserDid(a){if(!a||typeof a!="string")return!1;try{const j=lib$3.toTypeInfo(a);return j.role!==void 0&&j.role!==lib$4.types.RoleType.ROLE_APPLICATION}catch(j){return console.error("Failed to check if did is user did:",j),!1}}async function getUserByDid(a){if(!client)return null;try{return await client.user.getUserPublicInfo({did:a})}catch(j){return console.error("Failed to get user by did:",j),null}}const renderAvatar=(a,j=48,_e=void 0,et=void 0,tt=!1)=>{const nt=rt=>{et==null||et(a,rt)};if(!a.avatar){const rt=createNameOnlyAvatar(a);return jsxRuntimeExports.jsx(AvatarWithErrorBoundary,{size:j,did:a.did,variant:"circle",onClick:nt,sx:{fontSize:j*.4,cursor:tt||et?"pointer":"default"},..._e||{},children:rt})}return jsxRuntimeExports.jsx(AvatarWithErrorBoundary,{size:j,did:a.did,variant:"circle",style:{cursor:tt||et?"pointer":"default"},onClick:nt,src:a.avatar,alt:a.fullName||"",..._e||{}})},renderTopRight=(a,j=120)=>a?jsxRuntimeExports.jsx(Box,{sx:{maxWidth:j},className:"user-card__top-right-content",children:a()}):null;function TooltipAvatar({user:a,avatarSize:j,shouldShowHoverCard:_e,renderCardContent:et,tooltipTitle:tt,tooltipProps:nt,avatarProps:rt,onAvatarClick:it}){const ot=jsxRuntimeExports.jsx(Box,{display:"inline-block",children:renderAvatar(a,j,rt,it,_e||!!tt)});return tt?jsxRuntimeExports.jsx(Tooltip,{enterDelay:200,title:tt,placement:"bottom",...nt??{},children:ot}):_e?jsxRuntimeExports.jsx(Tooltip,{enterDelay:200,title:et?et():null,placement:"bottom",arrow:!1,TransitionComponent:Zoom,PopperProps:{sx:{"& .MuiTooltip-tooltip":{backgroundColor:"transparent",p:0,maxWidth:500,zIndex:1e3}}},...nt??{},children:ot}):ot}function AvatarOnlyCard(a){const{user:j,infoType:_e,avatarSize:et=48,shouldShowHoverCard:tt=!1,renderCardContent:nt,...rt}=a;return _e===InfoType.NameOnly?jsxRuntimeExports.jsx(TooltipAvatar,{user:j,avatarSize:et,shouldShowHoverCard:!1,renderCardContent:nt,tooltipTitle:j.fullName||j.email||j.did,...rt}):jsxRuntimeExports.jsx(TooltipAvatar,{user:j,avatarSize:et,shouldShowHoverCard:tt,renderCardContent:nt,...rt})}function NameOnlyCard(a){const{user:j,avatarSize:_e=48,onAvatarClick:et}=a;return jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:[renderAvatar(j,_e,a.avatarProps,et),jsxRuntimeExports.jsx(Typography$1,{variant:"body1",children:j.fullName||j.email||j.did})]})}function shortenString(a,j=10){return a?a.length<=j?a:`${a.slice(0,j-1)}...${a.slice(-2)}`:""}function ShortenLabel({children:a,maxLength:j=10,sx:_e=void 0,hiddenTip:et=!1}){const tt=reactExports.useMemo(()=>shortenString(a,j),[a,j]);return(a==null?void 0:a.length)<=j?jsxRuntimeExports.jsx(Typography$1,{sx:_e,children:a}):et?jsxRuntimeExports.jsx(Typography$1,{sx:_e,children:tt}):jsxRuntimeExports.jsx(Tooltip,{title:a,placement:"top",children:jsxRuntimeExports.jsx(Typography$1,{sx:_e,children:tt})})}function MinimalContent(a){const{user:j,showDid:_e,didProps:et,avatarSize:tt,shouldShowHoverCard:nt,renderCardContent:rt,renderTopRightContent:it,topRightMaxWidth:ot,avatarProps:ut,shortenLabelProps:st,renderName:ct,...ft}=a;return jsxRuntimeExports.jsxs(Box,{display:"flex",justifyContent:"space-between",alignItems:"center",className:"user-card__avatar-content",children:[jsxRuntimeExports.jsxs(Box,{display:"flex",justifyContent:"flex-start",alignItems:"center",gap:2,flex:1,minWidth:0,children:[jsxRuntimeExports.jsx(TooltipAvatar,{user:j,avatarSize:tt,shouldShowHoverCard:nt,renderCardContent:rt,avatarProps:ut,...ft}),jsxRuntimeExports.jsxs(Box,{children:[jsxRuntimeExports.jsx(Typography$1,{variant:"subtitle1",fontWeight:500,color:"text.primary",className:"user-card__full-name-label",fontSize:18,noWrap:!0,sx:{lineHeight:1.1},children:ct?ct(j):jsxRuntimeExports.jsx(ShortenLabel,{sx:{fontWeight:500},...st,children:j.fullName||j.email||j.did})}),_e&&j.did?jsxRuntimeExports.jsx(DID,{did:j.did,size:14,copyable:!0,compact:!0,locale:"en",sx:{lineHeight:1.5},...et??{}}):null]})]}),renderTopRight(it,ot)]})}const MinimalContent$1=reactExports.memo(MinimalContent),data$2={width:24,height:24,body:'<g fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"><path d="M3 12a9 9 0 1 0 18 0a9 9 0 0 0-18 0m9-3h.01"/><path d="M11 12h1v4h1"/></g>'};var Component$4=function(a){return jsxRuntimeExports.jsx("svg",{...a,children:jsxRuntimeExports.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15.772 2.0002C14.3605 1.98785 13.0021 2.53434 11.9889 3.51979L11.9786 3.52995L10.4736 5.0366C10.0833 5.42734 10.0837 6.06051 10.4745 6.45081C10.8652 6.84111 11.4984 6.84074 11.8887 6.44999L13.3881 4.9488C14.0246 4.33227 14.8741 3.99242 15.7545 4.00013C16.6371 4.00785 17.4828 4.36431 18.1091 4.99495C18.7356 5.62581 19.0921 6.48066 19.0999 7.37575C19.1076 8.26812 18.7679 9.12664 18.1559 9.76782L15.5375 12.4045L15.5374 12.4046C15.1949 12.7496 14.7832 13.016 14.3305 13.186C13.8777 13.3561 13.3942 13.4261 12.9126 13.3913C12.4309 13.3566 11.962 13.218 11.5377 12.9845C11.1133 12.751 10.7432 12.428 10.4528 12.037C10.1234 11.5937 9.49706 11.5012 9.0537 11.8306C8.61035 12.1599 8.51791 12.7863 8.84723 13.2296C9.30832 13.8504 9.89697 14.3645 10.5736 14.7368C11.2503 15.1091 11.9989 15.3306 12.7687 15.3862C13.5385 15.4417 14.311 15.3298 15.0338 15.0583C15.7565 14.7868 16.4122 14.3622 16.9567 13.8138L16.9568 13.8136L19.5815 11.1705L19.5937 11.1581C20.5719 10.1382 21.112 8.77356 21.0998 7.35849C21.0876 5.94342 20.524 4.58841 19.5282 3.58568C18.5323 2.58272 17.1835 2.01256 15.772 2.0002ZM10.3313 7.71385C9.5615 7.65833 8.78897 7.7702 8.06622 8.0417C7.34353 8.31317 6.68782 8.73776 6.14332 9.28624L6.14319 9.28637L3.51847 11.9295L3.50633 11.9419C2.52811 12.9618 1.98799 14.3264 2.0002 15.7415C2.01241 17.1566 2.57601 18.5116 3.57176 19.5143C4.56774 20.5173 5.91651 21.0874 7.32798 21.0998C8.73945 21.1121 10.0979 20.5657 11.1111 19.5802L11.1235 19.568L12.6197 18.0613C13.0088 17.6695 13.0066 17.0363 12.6147 16.6471C12.2228 16.258 11.5897 16.2602 11.2005 16.6521L9.71087 18.1522C9.07455 18.7681 8.2254 19.1076 7.34548 19.0999C6.46286 19.0921 5.61715 18.7357 4.9909 18.1051C4.36443 17.4742 4.00785 16.6193 4.00013 15.7242C3.99243 14.8319 4.3321 13.9734 4.94412 13.3322L7.56246 10.6955L7.56259 10.6954C7.90506 10.3504 8.31675 10.084 8.76952 9.91396C9.22227 9.74389 9.70581 9.67393 10.1874 9.70866C10.6691 9.7434 11.138 9.88205 11.5623 10.1155C11.9867 10.349 12.3568 10.672 12.6472 11.063C12.9766 11.5063 13.6029 11.5987 14.0463 11.2694C14.4896 10.9401 14.5821 10.3137 14.2528 9.87036C13.7917 9.24963 13.203 8.73549 12.5264 8.36322C11.8497 7.99093 11.1011 7.76936 10.3313 7.71385Z",fill:"#4B5563"})})};Component$4.defaultProps={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"};Component$4.displayName="link";var Component$3=function(a){return jsxRuntimeExports.jsx("svg",{...a,children:jsxRuntimeExports.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6 5.63384C6 5.4262 6.25495 5 6.91364 5H17.0907C17.7494 5 18.0043 5.4262 18.0043 5.63384V18.7046C18.0043 18.9122 17.7494 19.3384 17.0907 19.3384H6.91364C6.25495 19.3384 6 18.9122 6 18.7046V5.63384ZM6.91364 3C5.45858 3 4 4.03679 4 5.63384V18.7046C4 20.3016 5.45858 21.3384 6.91364 21.3384H17.0907C18.5458 21.3384 20.0043 20.3016 20.0043 18.7046V5.63384C20.0043 4.03679 18.5458 3 17.0907 3H6.91364ZM11.8775 18.0375C12.9664 18.0375 13.8492 17.1548 13.8492 16.0658C13.8492 14.9768 12.9664 14.0941 11.8775 14.0941C10.7885 14.0941 9.90575 14.9768 9.90575 16.0658C9.90575 17.1548 10.7885 18.0375 11.8775 18.0375Z",fill:"#4B5563"})})};Component$3.defaultProps={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"};Component$3.displayName="phone";const Phone=Object.freeze(Object.defineProperty({__proto__:null,default:Component$3},Symbol.toStringTag,{value:"Module"}));var Component$2=function(a){return jsxRuntimeExports.jsx("svg",{...a,children:jsxRuntimeExports.jsx("path",{d:"M17.5101 4.44495C19.0706 5.97732 19.9631 8.04564 19.9989 10.2126C20.0347 12.3795 19.2109 14.4751 17.7018 16.0564L17.5101 16.2512L13.5029 20.1856C12.9945 20.6847 12.3119 20.9752 11.5935 20.9985C10.875 21.0217 10.1745 20.7759 9.63366 20.3109L9.49766 20.1856L5.48954 16.2502C3.89552 14.6848 3 12.5615 3 10.3476C3 8.13368 3.89552 6.01043 5.48954 4.44495C7.08357 2.87948 9.24554 2 11.4998 2C13.7541 2 15.9161 2.87948 17.5101 4.44495ZM11.4998 7.56508C11.1278 7.56508 10.7593 7.63705 10.4156 7.77689C10.0718 7.91672 9.75951 8.12168 9.49641 8.38006C9.23332 8.63844 9.02462 8.94518 8.88224 9.28277C8.73985 9.62037 8.66657 9.98219 8.66657 10.3476C8.66657 10.713 8.73985 11.0748 8.88224 11.4124C9.02462 11.75 9.23332 12.0568 9.49641 12.3151C9.75951 12.5735 10.0718 12.7785 10.4156 12.9183C10.7593 13.0581 11.1278 13.1301 11.4998 13.1301C12.2513 13.1301 12.9719 12.837 13.5032 12.3151C14.0346 11.7933 14.3331 11.0856 14.3331 10.3476C14.3331 9.60963 14.0346 8.90188 13.5032 8.38006C12.9719 7.85824 12.2513 7.56508 11.4998 7.56508Z",stroke:"#4B5563",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})};Component$2.defaultProps={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"};Component$2.displayName="location";const Location=Object.freeze(Object.defineProperty({__proto__:null,default:Component$2},Symbol.toStringTag,{value:"Module"}));var Component$1=function(a){return jsxRuntimeExports.jsx("svg",{...a,children:jsxRuntimeExports.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.6094 5.11861C11.712 5.04162 11.8369 5 11.9652 5C12.0935 5 12.2184 5.04162 12.321 5.11861L18.3442 9.636L12.1855 14.2981C12.1025 14.3594 12.0265 14.3789 11.9652 14.3789C11.9039 14.3789 11.8279 14.3594 11.745 14.2981L5.58619 9.636L11.6094 5.11861ZM3.52321 8.81025C3.40155 8.87613 3.29168 8.96845 3.20274 9.08595C3.00866 9.34234 2.95698 9.66207 3.0346 9.95026C3.01168 10.0893 3.00006 10.2304 3.00006 10.3721V18.3372C3.00006 19.025 3.27325 19.6845 3.75954 20.1708C4.24583 20.6571 4.90537 20.9303 5.59309 20.9303H18.3373C19.0251 20.9303 19.6846 20.6571 20.1709 20.1708C20.6572 19.6845 20.9304 19.025 20.9304 18.3372V10.3721C20.9304 10.2294 20.9186 10.0885 20.8957 9.95059C20.9735 9.66232 20.9219 9.34244 20.7277 9.08595C20.638 8.96744 20.527 8.87455 20.4041 8.80856C20.2605 8.61869 20.0907 8.44775 19.8983 8.30153L19.8983 8.30151L19.8932 8.29769L13.521 3.5186C13.0722 3.18197 12.5263 3 11.9652 3C11.4042 3 10.8582 3.18197 10.4094 3.5186L4.03727 8.29769C3.8421 8.44406 3.66922 8.61676 3.52321 8.81025ZM18.9304 11.7007V18.3372C18.9304 18.4945 18.8679 18.6454 18.7567 18.7566C18.6455 18.8678 18.4946 18.9303 18.3373 18.9303H5.59309C5.43581 18.9303 5.28496 18.8678 5.17375 18.7566C5.06253 18.6454 5.00006 18.4945 5.00006 18.3372V11.7007L10.5412 15.8953L10.5412 15.8954L10.5467 15.8994C10.9548 16.204 11.4466 16.3789 11.9652 16.3789C12.4838 16.3789 12.9757 16.204 13.3838 15.8994L13.3838 15.8994L13.3892 15.8953L18.9304 11.7007Z",fill:"#4B5563"})})};Component$1.defaultProps={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"};Component$1.displayName="email";const Email=Object.freeze(Object.defineProperty({__proto__:null,default:Component$1},Symbol.toStringTag,{value:"Module"}));var Component=function(a){return jsxRuntimeExports.jsx("svg",{...a,children:jsxRuntimeExports.jsx("path",{d:"M12 7.5V12L15.0615 15.0615M4 12C4 13.0506 4.20693 14.0909 4.60896 15.0615C5.011 16.0321 5.60028 16.914 6.34315 17.6569C7.08601 18.3997 7.96793 18.989 8.93853 19.391C9.90914 19.7931 10.9494 20 12 20C13.0506 20 14.0909 19.7931 15.0615 19.391C16.0321 18.989 16.914 18.3997 17.6569 17.6569C18.3997 16.914 18.989 16.0321 19.391 15.0615C19.7931 14.0909 20 13.0506 20 12C20 10.9494 19.7931 9.90914 19.391 8.93853C18.989 7.96793 18.3997 7.08601 17.6569 6.34315C16.914 5.60028 16.0321 5.011 15.0615 4.60896C14.0909 4.20693 13.0506 4 12 4C10.9494 4 9.90914 4.20693 8.93853 4.60896C7.96793 5.011 7.08601 5.60028 6.34315 6.34315C5.60028 7.08601 5.011 7.96793 4.60896 8.93853C4.20693 9.90914 4 10.9494 4 12Z",stroke:"#4B5563",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})};Component.defaultProps={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"};Component.displayName="timezone";const Timezone=Object.freeze(Object.defineProperty({__proto__:null,default:Component},Symbol.toStringTag,{value:"Module"}));defaultDayjs.extend(utc$1);defaultDayjs.extend(timezonePlugin);defaultDayjs.extend(localizedFormatPlugin);const currentTimezone=defaultDayjs.tz.guess(),getTimePhase=a=>a>=0&&a<6?{phase:"dawn",icon:"🌒"}:a>=6&&a<12?{phase:"morning",icon:"🌞"}:a>=12&&a<18?{phase:"afternoon",icon:"🌞"}:{phase:"night",icon:"🌒"};function useClock(a=currentTimezone,j="zh"){const _e=reactExports.useCallback(()=>{const nt=j==="zh"?"zh-cn":"en",rt=j==="zh"?"zh-cn":"en-us";defaultDayjs.locale(nt);const it=defaultDayjs().tz(a),ot=it.hour(),{phase:ut,icon:st}=getTimePhase(ot);return{formattedTime:it.format("LT"),fullDateTime:formatToDatetime$1(it.toDate(),{tz:a,locale:rt}),phase:ut,icon:st,rawTime:it}},[a,j]),[et,tt]=reactExports.useState(_e());return reactExports.useEffect(()=>{tt(_e());const nt=setInterval(()=>{tt(_e())},6e3);return()=>{clearInterval(nt)}},[a,j,_e]),et}const translations={en:{localTime:"Local Time",timezonePhase:{dawn:"AM",morning:"AM",afternoon:"PM",night:"PM"}},zh:{localTime:"本地时间",timezonePhase:{dawn:"凌晨",morning:"上午",afternoon:"下午",night:"晚上"}}};function Clock({value:a,...j}){const{locale:_e}=useLocaleContext()||{locale:"en"},et=useMemoizedFn((nt,rt={})=>translate(translations,nt,_e,"en",rt)),tt=useClock(a,_e);return jsxRuntimeExports.jsxs(Box,{display:"flex",alignItems:"center",gap:1,flex:1,justifyContent:"flex-start",overflow:"hidden",width:"100%",children:[jsxRuntimeExports.jsx(Typography$1,{...j,noWrap:!0,sx:{flex:"0 1 auto",minWidth:0,...j.sx},children:a}),jsxRuntimeExports.jsx(Tooltip,{enterDelay:200,title:jsxRuntimeExports.jsxs("span",{children:[et("localTime")," ",tt.fullDateTime]}),placement:"top",arrow:!0,children:jsxRuntimeExports.jsxs(Typography$1,{component:"span",fontSize:14,noWrap:!0,sx:{whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",flex:"0 0 auto",maxWidth:"100%"},children:["(",_e==="zh"?`${et(`timezonePhase.${tt.phase}`)} `:"",tt.formattedTime,")"]})})]})}const IconMap={timezone:Component,email:Component$1,phone:Component$3,location:Component$2,link:Component$4};function formatLinkDisplay(a){return withoutProtocol(a)}const iconSize={width:16,height:16};function TimeZoneField({value:a}){return jsxRuntimeExports.jsxs(Box,{display:"flex",alignItems:"center",gap:1,className:"user-card__timezone-field",children:[jsxRuntimeExports.jsx(Component,{...iconSize}),jsxRuntimeExports.jsx(Clock,{value:a,variant:"body2",color:"grey.800"})]})}function LinkField({value:a}){const[j,_e]=reactExports.useState(!1),et=useCreation(()=>{try{const nt=new URL(a);return joinURL$2(nt.origin,"favicon.ico")}catch{return""}},[a]),tt=()=>{_e(!0)};return jsxRuntimeExports.jsxs(Box,{display:"flex",alignItems:"center",gap:1,className:"user-card__link-field",children:[et&&!j?jsxRuntimeExports.jsx("img",{src:et,alt:"site icon",style:{width:16,height:16,objectFit:"contain"},onError:tt}):jsxRuntimeExports.jsx(Component$4,{...iconSize}),jsxRuntimeExports.jsx(LineText,{variant:"body2",color:"grey.800",children:jsxRuntimeExports.jsx(Typography$1,{component:"a",href:a,style:{textDecoration:"none",color:"inherit",fontSize:"inherit"},target:"_blank",variant:"body2",color:"grey.800",rel:"noopener noreferrer",children:formatLinkDisplay(a)})})]})}function BasicField({field:a,value:j,children:_e}){const et=IconMap[a];return jsxRuntimeExports.jsxs(Box,{display:"flex",alignItems:"center",gap:1,className:`user-card__${a}-field`,children:[et?jsxRuntimeExports.jsx(et,{...iconSize}):jsxRuntimeExports.jsx(Icon,{icon:data$2,...iconSize}),jsxRuntimeExports.jsx(LineText,{variant:"body2",color:"grey.800",children:_e??j})]},a)}function BasicContent({user:a,isFull:j=!1,renderFields:_e}){var pt;const et=useCreation(()=>_e??["bio","email","phone","location","timezone","link"],[_e]),tt=useCreation(()=>et.includes("bio"),[et]),nt=useCreation(()=>a.metadata??{joinedAt:a==null?void 0:a.createdAt,email:a==null?void 0:a.email,phone:{country:"cn",phoneNumber:(a==null?void 0:a.phone)??""}},[a]),rt=useCreation(()=>a.address,[a.address]),it=reactExports.useCallback(yt=>{var mt,bt,xt;if(!yt)return"";switch(yt){case"bio":return((mt=a.metadata)==null?void 0:mt.bio)||"";case"email":return nt.email||a.email||"";case"phone":return((bt=nt.phone)==null?void 0:bt.phoneNumber)||a.phone||"";case"location":return(rt==null?void 0:rt.city)||nt.location||"";case"timezone":return nt.timezone||"";case"link":return((xt=nt.links)==null?void 0:xt.map($t=>$t.url).filter(Boolean))||[];default:return a[yt]||""}},[a,nt,rt]),{effectiveRenderCount:ot}=reactExports.useMemo(()=>{const yt=et.filter(bt=>{if(bt==="bio")return!1;const xt=it(bt);return xt==null||xt===""?!1:isArray$6(xt)?xt.length>0:String(xt).trim().length>0}),mt=yt.reduce((bt,xt)=>{const $t=it(xt);return bt+(Array.isArray($t)?$t.filter(kt=>kt&&String(kt).trim()).length:1)},0);return{visibleFields:yt,effectiveRenderCount:mt}},[et,it]),ut=ot>4,st=useMemoizedFn(yt=>yt!=null&&String(yt).trim().length>0),ct=reactExports.useMemo(()=>{const yt=[];return et.forEach(mt=>{if(mt==="bio")return;const bt=it(mt);bt&&(isArray$6(bt)?bt.forEach((xt,$t)=>{st(xt)&&yt.push({field:mt,value:xt,key:`${mt}-${$t}`})}):st(bt)&&yt.push({field:mt,value:bt,key:mt}))}),yt},[et,it,st]);if(et.length===0)return null;const ft=yt=>{const{field:mt,value:bt,key:xt}=yt;switch(mt){case"link":return jsxRuntimeExports.jsx(LinkField,{value:bt},xt);case"timezone":return jsxRuntimeExports.jsx(TimeZoneField,{value:bt},xt);case"email":return jsxRuntimeExports.jsx(BasicField,{field:mt,value:bt,children:jsxRuntimeExports.jsx(Typography$1,{component:"a",href:`mailto:${bt}`,rel:"noopener noreferrer",referrerPolicy:"no-referrer",style:{color:"inherit",textDecoration:"none",fontSize:"inherit"},children:bt})});default:return jsxRuntimeExports.jsx(BasicField,{field:mt,value:bt},xt)}};return jsxRuntimeExports.jsxs(Box,{mt:1,display:"flex",flexDirection:"column",gap:1.5,className:"user-card__basic-content",children:[tt&&((pt=a.metadata)==null?void 0:pt.bio)&&jsxRuntimeExports.jsx(LineText,{variant:"body2",color:"grey.800",className:"user-card__bio-field",children:a.metadata.bio}),ut?jsxRuntimeExports.jsx(Grid,{container:!0,spacing:.5,children:ct.map(yt=>jsxRuntimeExports.jsx(Grid,{item:!0,xs:6,children:ft(yt)},yt.key))}):jsxRuntimeExports.jsx(Box,{display:"flex",flexDirection:"column",gap:.5,children:ct.map(yt=>ft(yt))})]})}const LineText=newStyled(Typography$1)`
2629
2629
  flex: 1;
2630
2630
  display: -webkit-box;
2631
2631
  line-height: 1.5;
@@ -2634,7 +2634,7 @@ ${et}
2634
2634
  overflow: hidden;
2635
2635
  text-overflow: ellipsis;
2636
2636
  word-break: break-word;
2637
- `;function BasicCard(a){const{user:j,avatarSize:_e=40,renderCustomContent:et,isFull:tt=!0,infoType:nt=InfoType.Minimal,renderFields:rt,popupRenderFields:it,...ot}=a;return jsxRuntimeExports.jsxs(Box,{display:"flex",flexDirection:"column",width:"100%",sx:{flex:1,minWidth:0},children:[jsxRuntimeExports.jsx(MinimalContent$1,{user:j,avatarSize:_e,...ot}),nt===InfoType.Basic&&jsxRuntimeExports.jsx(BasicContent,{user:j,isFull:tt,renderFields:rt}),jsxRuntimeExports.jsx(Box,{className:"user-card__footer",children:et&&jsxRuntimeExports.jsx(Box,{sx:{mt:1.5},children:et()})})]})}function DetailedCard(a){const{infoType:j=InfoType.Minimal}=a;switch(j){case InfoType.NameOnly:return jsxRuntimeExports.jsx(NameOnlyCard,{...a});default:return jsxRuntimeExports.jsx(BasicCard,{...a})}}function DialogContainer({children:a,sx:j}){const _e=useTheme$2();return jsxRuntimeExports.jsx(Box,{sx:mergeSx({p:2,backgroundColor:_e.palette.background.paper,border:"1px solid",borderColor:"divider",borderRadius:2,maxWidth:500,minWidth:320,display:"flex"},j||null),children:a})}function CardContainer({children:a,cardType:j=CardType.Detailed,variant:_e="box",containerRef:et,sx:tt}){const nt={minWidth:320,p:2,borderRadius:2,...j===CardType.Detailed?{border:"1px solid",borderColor:"divider"}:{}};return _e==="paper"?jsxRuntimeExports.jsx(Paper,{ref:et,elevation:0,sx:nt,children:a}):jsxRuntimeExports.jsx(Box,{ref:et,sx:mergeSx(nt,{display:"flex",alignItems:j===CardType.AvatarOnly?"center":"flex-start",gap:2},tt||null),children:a})}function UserCard(a){const{cardType:j=CardType.Detailed,showHoverCard:_e}=a,et=_e!==void 0?_e:j===CardType.AvatarOnly,tt=reactExports.useRef(null),[nt,rt]=reactExports.useState(null);if(reactExports.useEffect(()=>{let ot=!0;return a.user?rt(a.user):a.did&&isUserDid(a.did)&&!a.user&&getUserByDid(a.did).then(ut=>{ot&&rt(ut)}),()=>{ot=!1}},[a.did,a.user]),!nt)return jsxRuntimeExports.jsx(AvatarWithErrorBoundary,{did:a.did,size:a.avatarSize,...a.avatarProps});const it=()=>{const ot=a.popupAvatarProps||a.avatarProps,ut=a.popupShortenLabelProps||a.shortenLabelProps;return jsxRuntimeExports.jsx(DialogContainer,{sx:a.popupSx,children:jsxRuntimeExports.jsx(DetailedCard,{...a,shouldShowHoverCard:!1,user:nt,avatarProps:ot,shortenLabelProps:ut,renderFields:a.popupRenderFields})})};return j===CardType.AvatarOnly?jsxRuntimeExports.jsx(AvatarOnlyCard,{...a,shouldShowHoverCard:et,renderCardContent:it,user:nt}):jsxRuntimeExports.jsx(CardContainer,{containerRef:tt,cardType:j,sx:a.sx,children:jsxRuntimeExports.jsx(DetailedCard,{...a,shouldShowHoverCard:et,renderCardContent:it,user:nt})})}class Encoder{constructor(j,_e,et){this.name=j,this.prefix=_e,this.baseEncode=et}encode(j){if(j instanceof Uint8Array)return`${this.prefix}${this.baseEncode(j)}`;throw Error("Unknown type, must be binary type")}}class Decoder{constructor(j,_e,et){if(this.name=j,this.prefix=_e,_e.codePointAt(0)===void 0)throw new Error("Invalid prefix character");this.prefixCodePoint=_e.codePointAt(0),this.baseDecode=et}decode(j){if(typeof j=="string"){if(j.codePointAt(0)!==this.prefixCodePoint)throw Error(`Unable to decode multibase string ${JSON.stringify(j)}, ${this.name} decoder only supports inputs prefixed with ${this.prefix}`);return this.baseDecode(j.slice(this.prefix.length))}else throw Error("Can only multibase decode strings")}or(j){return or(this,j)}}class ComposedDecoder{constructor(j){this.decoders=j}or(j){return or(this,j)}decode(j){const _e=j[0],et=this.decoders[_e];if(et)return et.decode(j);throw RangeError(`Unable to decode multibase string ${JSON.stringify(j)}, only inputs prefixed with ${Object.keys(this.decoders)} are supported`)}}const or=(a,j)=>new ComposedDecoder({...a.decoders||{[a.prefix]:a},...j.decoders||{[j.prefix]:j}});class Codec{constructor(j,_e,et,tt){this.name=j,this.prefix=_e,this.baseEncode=et,this.baseDecode=tt,this.encoder=new Encoder(j,_e,et),this.decoder=new Decoder(j,_e,tt)}encode(j){return this.encoder.encode(j)}decode(j){return this.decoder.decode(j)}}const from=({name:a,prefix:j,encode:_e,decode:et})=>new Codec(a,j,_e,et),decode$1=(a,j,_e,et)=>{const tt={};for(let st=0;st<j.length;++st)tt[j[st]]=st;let nt=a.length;for(;a[nt-1]==="=";)--nt;const rt=new Uint8Array(nt*_e/8|0);let it=0,ot=0,ut=0;for(let st=0;st<nt;++st){const ct=tt[a[st]];if(ct===void 0)throw new SyntaxError(`Non-${et} character`);ot=ot<<_e|ct,it+=_e,it>=8&&(it-=8,rt[ut++]=255&ot>>it)}if(it>=_e||255&ot<<8-it)throw new SyntaxError("Unexpected end of data");return rt},encode$1=(a,j,_e)=>{const et=j[j.length-1]==="=",tt=(1<<_e)-1;let nt="",rt=0,it=0;for(let ot=0;ot<a.length;++ot)for(it=it<<8|a[ot],rt+=8;rt>_e;)rt-=_e,nt+=j[tt&it>>rt];if(rt&&(nt+=j[tt&it<<_e-rt]),et)for(;nt.length*_e&7;)nt+="=";return nt},rfc4648=({name:a,prefix:j,bitsPerChar:_e,alphabet:et})=>from({prefix:j,name:a,encode(tt){return encode$1(tt,et,_e)},decode(tt){return decode$1(tt,et,_e,a)}}),base32$1=rfc4648({prefix:"b",name:"base32",alphabet:"abcdefghijklmnopqrstuvwxyz234567",bitsPerChar:5}),base32upper=rfc4648({prefix:"B",name:"base32upper",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZ234567",bitsPerChar:5}),base32pad=rfc4648({prefix:"c",name:"base32pad",alphabet:"abcdefghijklmnopqrstuvwxyz234567=",bitsPerChar:5}),base32padupper=rfc4648({prefix:"C",name:"base32padupper",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZ234567=",bitsPerChar:5}),base32hex=rfc4648({prefix:"v",name:"base32hex",alphabet:"0123456789abcdefghijklmnopqrstuv",bitsPerChar:5}),base32hexupper=rfc4648({prefix:"V",name:"base32hexupper",alphabet:"0123456789ABCDEFGHIJKLMNOPQRSTUV",bitsPerChar:5}),base32hexpad=rfc4648({prefix:"t",name:"base32hexpad",alphabet:"0123456789abcdefghijklmnopqrstuv=",bitsPerChar:5}),base32hexpadupper=rfc4648({prefix:"T",name:"base32hexpadupper",alphabet:"0123456789ABCDEFGHIJKLMNOPQRSTUV=",bitsPerChar:5}),base32z=rfc4648({prefix:"h",name:"base32z",alphabet:"ybndrfg8ejkmcpqxot1uwisza345h769",bitsPerChar:5}),base32$2=Object.freeze(Object.defineProperty({__proto__:null,base32:base32$1,base32hex,base32hexpad,base32hexpadupper,base32hexupper,base32pad,base32padupper,base32upper,base32z},Symbol.toStringTag,{value:"Module"})),require$$1$1=getAugmentedNamespace(base32$2),{toBuffer,toAddress,toBase58,toHex}=lib$5,{base32}=require$$1$1,encode=a=>{if(!a)return a;const j=toBuffer(toAddress(a));return base32.encode(j)},decode=a=>{if(!a)return a;const j=base32.decode(a),_e=toBase58(j);return _e.length>30?_e:toHex(j)};var base32_1={encode,decode};function parseAvatar(a,j,_e,et=!1){var tt,nt;if(a&&a.startsWith(constant$3.USER_AVATAR_URL_PREFIX)){const rt=window.env.apiPrefix||"/";if(_e){if(et&&((tt=window.blocklet)!=null&&tt.serverDid)){const it=`https://${base32_1.encode((nt=window.blocklet)==null?void 0:nt.serverDid)}.${constant$3.DEFAULT_DID_DOMAIN}`;return`${joinURL$2(it,constant$3.USER_AVATAR_PATH_PREFIX,j,a.replace(constant$3.USER_AVATAR_URL_PREFIX,""))}?imageFilter=resize&w=64&h=64`}return`${joinURL$2(rt,constant$3.USER_AVATAR_PATH_PREFIX,a.replace(constant$3.USER_AVATAR_URL_PREFIX,""))}?imageFilter=resize&w=64&h=64`}return`${joinURL$2(rt,constant$3.USER_AVATAR_PATH_PREFIX,j,a.replace(constant$3.USER_AVATAR_URL_PREFIX,""))}?imageFilter=resize&w=64&h=64`}return a}const isNodeOwner=(a,j)=>a.nodeOwner&&a.nodeOwner.did===j,isSelf=(a,j)=>a&&a.did===j,actorShape={avatar:PropTypes.string,fullName:PropTypes.string,did:PropTypes.string};function SingleAvatar({actor:a,size:j,teamDid:_e,inService:et,showName:tt}){const nt=useCreation(()=>({...a,avatar:a!=null&&a.avatar?parseAvatar(a.avatar,_e,et):null}),[a,_e,et]),rt=it=>{a&&(it.stopPropagation(),window.open(withQuery$1(joinURL$2(constant$3.WELLKNOWN_SERVICE_PATH_PREFIX,"user"),{did:a.did}),"_blank"),it.customPreventRedirect=!0)};return jsxRuntimeExports.jsxs(Box,{display:"flex",alignItems:"center",gap:1,onClick:rt,role:"button",style:{cursor:"pointer"},title:(a==null?void 0:a.fullName)||"",children:[nt.avatar?jsxRuntimeExports.jsx(UserCard,{user:nt,showDid:!0,cardType:CardType.AvatarOnly,infoType:InfoType.Minimal,avatarSize:j,shape:"circle",sx:{width:j,height:j,borderRadius:"100%",overflow:"hidden",transition:"transform 0.2s ease-in-out","&:hover":{transform:"scale(1.1)"}}}):jsxRuntimeExports.jsx(Avatar$1,{sx:{width:j,height:j}}),tt&&jsxRuntimeExports.jsx("span",{children:a==null?void 0:a.fullName})]})}SingleAvatar.propTypes={actor:PropTypes.shape(actorShape).isRequired,size:PropTypes.number.isRequired,teamDid:PropTypes.string,inService:PropTypes.bool,showName:PropTypes.bool};SingleAvatar.defaultProps={teamDid:"",inService:!1,showName:!1};ActorAvatar.propTypes={actors:PropTypes.oneOfType([PropTypes.shape(actorShape),PropTypes.arrayOf(PropTypes.shape(actorShape))]).isRequired,size:PropTypes.number,maxDisplay:PropTypes.number,teamDid:PropTypes.string,inService:PropTypes.bool,showName:PropTypes.bool,avatarFallback:PropTypes.node};ActorAvatar.defaultProps={size:32,maxDisplay:9,teamDid:"",inService:!0,showName:!1,avatarFallback:null};function ActorAvatar({actors:a,size:j=32,maxDisplay:_e=9,teamDid:et="",inService:tt=!0,showName:nt=!1,avatarFallback:rt=null}){const it=useCreation(()=>{const ot=Array.isArray(a)?a:[a];return uniqBy(ot,"did").filter(Boolean)},[a]);return it.length===1||!it.length?jsxRuntimeExports.jsx(SingleAvatar,{actor:it[0],size:j,teamDid:et,inService:tt,showName:nt}):jsxRuntimeExports.jsx(AvatarGroup,{total:it.length,renderSurplus:ot=>ot<100?jsxRuntimeExports.jsxs("span",{children:["+",ot]}):jsxRuntimeExports.jsx("span",{children:"99+"}),max:_e,sx:{justifyContent:"flex-end",height:`${j}px`,".MuiAvatar-root":{width:`${j}px`,height:`${j}px`,fontSize:`${j/2.5}px`,border:0,zIndex:2}},children:it.map((ot,ut)=>ot!=null&&ot.avatar?jsxRuntimeExports.jsx(SingleAvatar,{actor:ot,size:j,teamDid:et,inService:tt},(ot==null?void 0:ot.did)||ut):rt)})}const MAX_DISPLAY_ITEMS=3;Activity.propTypes={notification:PropTypes.object.isRequired,isMultiple:PropTypes.bool,blocklet:PropTypes.object,mountPoint:PropTypes.string,avatarFallback:PropTypes.node};SingleActivity.propTypes={notification:PropTypes.object.isRequired,mountPoint:PropTypes.string};MultipleActivity.propTypes={items:PropTypes.array.isRequired,activity:PropTypes.object.isRequired,blocklet:PropTypes.object,mountPoint:PropTypes.string,viewMoreLink:PropTypes.string,avatarFallback:PropTypes.node};function SingleActivity({notification:a,mountPoint:j=""}){var rt;const{activity:_e}=a,{type:et,meta:tt={}}=_e||{},nt=useActivityTitle({activity:_e,users:[a==null?void 0:a.actorInfo],actors:[(rt=a==null?void 0:a.activity)==null?void 0:rt.actor],mountPoint:j});return isEmpty$1(_e)||!_e.type||!_e.actor||isEmpty$1(_e.target)?null:jsxRuntimeExports.jsxs(Box,{children:[jsxRuntimeExports.jsx(Typography$1,{variant:"body1",color:colors$2.textBase,sx:{mb:.5},children:nt}),jsxRuntimeExports.jsx(Meta,{meta:tt,type:et})]})}function MultipleActivity({items:a,activity:j,blocklet:_e,mountPoint:et="",viewMoreLink:tt="",avatarFallback:nt=null}){const rt=useTheme$2(),it=useCreation(()=>{var mt;return(_e==null?void 0:_e.did)||((mt=_e==null?void 0:_e.meta)==null?void 0:mt.did)||""},[_e]),{locale:ot}=reactExports.useContext(LocaleContext),ut=useCreation(()=>!isEmpty$1(j.meta)&&Object.values(j.meta).some(mt=>mt!=null),[j]),st=useActivityTitle({activity:j,users:a.map(mt=>mt==null?void 0:mt.actorInfo),actors:a.map(mt=>{var bt;return(bt=mt==null?void 0:mt.activity)==null?void 0:bt.actor}),mountPoint:et}),ct=useMemoizedFn(mt=>{if(!mt.activity)return null;const bt=getActivityLink(mt.activity);return bt!=null&&bt.metaLink?joinURL$2(et,bt.metaLink):null}),ft=useMemoizedFn((mt,bt)=>{if(mt.stopPropagation(),!bt)return;const xt=ct(bt);xt&&(window.open(xt,"_blank"),mt.customPreventRedirect=!0)}),pt=a.length>MAX_DISPLAY_ITEMS,yt=a.slice(0,MAX_DISPLAY_ITEMS);return jsxRuntimeExports.jsxs(Box,{sx:{width:"100%"},children:[jsxRuntimeExports.jsx(Typography$1,{variant:"body1",color:colors$2.textBase,sx:{mb:3},children:st}),ut?jsxRuntimeExports.jsxs(Box,{className:"sub-content",display:"flex",flexDirection:"column",gap:3,children:[yt.map(mt=>{var bt;return jsxRuntimeExports.jsxs(Box,{display:"flex",flexDirection:"column",gap:1,onClick:xt=>ft(xt,mt),children:[jsxRuntimeExports.jsxs(Box,{display:"flex",alignItems:"center",gap:1,children:[isUserActor(mt)?jsxRuntimeExports.jsx(ActorAvatar,{actors:mt.actorInfo,size:32,teamDid:it}):nt,jsxRuntimeExports.jsx(Typography$1,{variant:"subtitle1",color:colors$2.textBase,children:isUserActor(mt)?(bt=mt==null?void 0:mt.actorInfo)==null?void 0:bt.fullName:"System"})," ","·",jsxRuntimeExports.jsx(RelativeTime,{value:mt.createdAt,locale:ot,shouldUpdate:!0,style:{color:rt.palette.text.secondary,fontSize:"0.875rem",minWidth:"50px",whiteSpace:"nowrap"}})]}),jsxRuntimeExports.jsx(Box,{pl:5,children:jsxRuntimeExports.jsx(Meta,{meta:mt.activity.meta,type:mt.activity.type})})]},mt.id)}),pt&&tt?jsxRuntimeExports.jsx(Box,{mt:1,display:"flex",justifyContent:"center",children:jsxRuntimeExports.jsxs(Button,{size:"large",variant:"text",component:Link$2,href:tt,target:"_blank",rel:"noopener noreferrer",onClick:mt=>{mt.customPreventRedirect=!0},children:["View More ",jsxRuntimeExports.jsx(Icon,{icon:data$3,style:{marginLeft:4}})]})}):null]}):null]})}function Activity({notification:a,isMultiple:j=!1,blocklet:_e,mountPoint:et="",avatarFallback:tt}){const nt=useCreation(()=>{if(!a.activity)return null;const rt=getActivityLink(a.activity);return rt!=null&&rt.targetLink?joinURL$2(et,rt.targetLink):null},[a.activity,et]);return j?jsxRuntimeExports.jsx(MultipleActivity,{items:a.items,activity:a.activity,blocklet:_e,mountPoint:et,viewMoreLink:nt,avatarFallback:tt}):jsxRuntimeExports.jsx(SingleActivity,{notification:a,mountPoint:et})}const Wrapper=styled$1(Box)`
2637
+ `;function BasicCard(a){const{user:j,avatarSize:_e=40,renderCustomContent:et,isFull:tt=!0,infoType:nt=InfoType.Minimal,renderFields:rt,popupRenderFields:it,...ot}=a;return jsxRuntimeExports.jsxs(Box,{display:"flex",flexDirection:"column",width:"100%",flex:1,height:"100%",children:[jsxRuntimeExports.jsx(MinimalContent$1,{user:j,avatarSize:_e,...ot}),nt===InfoType.Basic&&jsxRuntimeExports.jsx(BasicContent,{user:j,isFull:tt,renderFields:rt}),jsxRuntimeExports.jsx(Box,{className:"user-card__footer",children:et&&jsxRuntimeExports.jsx(Box,{sx:{mt:1.5},children:et()})})]})}function DetailedCard(a){const{infoType:j=InfoType.Minimal}=a;switch(j){case InfoType.NameOnly:return jsxRuntimeExports.jsx(NameOnlyCard,{...a});default:return jsxRuntimeExports.jsx(BasicCard,{...a})}}function DialogContainer({children:a,sx:j}){const _e=useTheme$2();return jsxRuntimeExports.jsx(Box,{sx:mergeSx({p:2,backgroundColor:_e.palette.background.paper,border:"1px solid",borderColor:"divider",borderRadius:2,maxWidth:500,minWidth:320,display:"flex"},j||null),children:a})}function CardContainer({children:a,cardType:j=CardType.Detailed,variant:_e="box",containerRef:et,sx:tt}){const nt={minWidth:320,p:2,borderRadius:2,...j===CardType.Detailed?{border:"1px solid",borderColor:"divider"}:{}};return _e==="paper"?jsxRuntimeExports.jsx(Paper,{ref:et,elevation:0,sx:nt,children:a}):jsxRuntimeExports.jsx(Box,{ref:et,sx:mergeSx(nt,{display:"flex",alignItems:j===CardType.AvatarOnly?"center":"flex-start",gap:2},tt||null),children:a})}function UserCard(a){const{cardType:j=CardType.Detailed,showHoverCard:_e}=a,et=_e!==void 0?_e:j===CardType.AvatarOnly,tt=reactExports.useRef(null),[nt,rt]=reactExports.useState(()=>a.user||null);if(reactExports.useEffect(()=>{let ot=!0;return a.user?rt(a.user):a.did&&isUserDid(a.did)&&!a.user&&getUserByDid(a.did).then(ut=>{ot&&rt(ut)}),()=>{ot=!1}},[a.did,a.user]),!nt)return jsxRuntimeExports.jsx(AvatarWithErrorBoundary,{did:a.did,size:a.avatarSize,...a.avatarProps});const it=()=>jsxRuntimeExports.jsx(DialogContainer,{sx:a.popupSx,children:jsxRuntimeExports.jsx(DetailedCard,{...a,shouldShowHoverCard:!1,user:nt,avatarProps:a.popupAvatarProps,shortenLabelProps:a.popupShortenLabelProps,renderFields:a.popupRenderFields,renderName:a.popupRenderName})});return j===CardType.AvatarOnly?jsxRuntimeExports.jsx(AvatarOnlyCard,{...a,shouldShowHoverCard:et,renderCardContent:it,user:nt}):jsxRuntimeExports.jsx(CardContainer,{containerRef:tt,cardType:j,sx:a.sx,children:jsxRuntimeExports.jsx(DetailedCard,{...a,shouldShowHoverCard:et,renderCardContent:it,user:nt})})}class Encoder{constructor(j,_e,et){this.name=j,this.prefix=_e,this.baseEncode=et}encode(j){if(j instanceof Uint8Array)return`${this.prefix}${this.baseEncode(j)}`;throw Error("Unknown type, must be binary type")}}class Decoder{constructor(j,_e,et){if(this.name=j,this.prefix=_e,_e.codePointAt(0)===void 0)throw new Error("Invalid prefix character");this.prefixCodePoint=_e.codePointAt(0),this.baseDecode=et}decode(j){if(typeof j=="string"){if(j.codePointAt(0)!==this.prefixCodePoint)throw Error(`Unable to decode multibase string ${JSON.stringify(j)}, ${this.name} decoder only supports inputs prefixed with ${this.prefix}`);return this.baseDecode(j.slice(this.prefix.length))}else throw Error("Can only multibase decode strings")}or(j){return or(this,j)}}class ComposedDecoder{constructor(j){this.decoders=j}or(j){return or(this,j)}decode(j){const _e=j[0],et=this.decoders[_e];if(et)return et.decode(j);throw RangeError(`Unable to decode multibase string ${JSON.stringify(j)}, only inputs prefixed with ${Object.keys(this.decoders)} are supported`)}}const or=(a,j)=>new ComposedDecoder({...a.decoders||{[a.prefix]:a},...j.decoders||{[j.prefix]:j}});class Codec{constructor(j,_e,et,tt){this.name=j,this.prefix=_e,this.baseEncode=et,this.baseDecode=tt,this.encoder=new Encoder(j,_e,et),this.decoder=new Decoder(j,_e,tt)}encode(j){return this.encoder.encode(j)}decode(j){return this.decoder.decode(j)}}const from=({name:a,prefix:j,encode:_e,decode:et})=>new Codec(a,j,_e,et),decode$1=(a,j,_e,et)=>{const tt={};for(let st=0;st<j.length;++st)tt[j[st]]=st;let nt=a.length;for(;a[nt-1]==="=";)--nt;const rt=new Uint8Array(nt*_e/8|0);let it=0,ot=0,ut=0;for(let st=0;st<nt;++st){const ct=tt[a[st]];if(ct===void 0)throw new SyntaxError(`Non-${et} character`);ot=ot<<_e|ct,it+=_e,it>=8&&(it-=8,rt[ut++]=255&ot>>it)}if(it>=_e||255&ot<<8-it)throw new SyntaxError("Unexpected end of data");return rt},encode$1=(a,j,_e)=>{const et=j[j.length-1]==="=",tt=(1<<_e)-1;let nt="",rt=0,it=0;for(let ot=0;ot<a.length;++ot)for(it=it<<8|a[ot],rt+=8;rt>_e;)rt-=_e,nt+=j[tt&it>>rt];if(rt&&(nt+=j[tt&it<<_e-rt]),et)for(;nt.length*_e&7;)nt+="=";return nt},rfc4648=({name:a,prefix:j,bitsPerChar:_e,alphabet:et})=>from({prefix:j,name:a,encode(tt){return encode$1(tt,et,_e)},decode(tt){return decode$1(tt,et,_e,a)}}),base32$1=rfc4648({prefix:"b",name:"base32",alphabet:"abcdefghijklmnopqrstuvwxyz234567",bitsPerChar:5}),base32upper=rfc4648({prefix:"B",name:"base32upper",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZ234567",bitsPerChar:5}),base32pad=rfc4648({prefix:"c",name:"base32pad",alphabet:"abcdefghijklmnopqrstuvwxyz234567=",bitsPerChar:5}),base32padupper=rfc4648({prefix:"C",name:"base32padupper",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZ234567=",bitsPerChar:5}),base32hex=rfc4648({prefix:"v",name:"base32hex",alphabet:"0123456789abcdefghijklmnopqrstuv",bitsPerChar:5}),base32hexupper=rfc4648({prefix:"V",name:"base32hexupper",alphabet:"0123456789ABCDEFGHIJKLMNOPQRSTUV",bitsPerChar:5}),base32hexpad=rfc4648({prefix:"t",name:"base32hexpad",alphabet:"0123456789abcdefghijklmnopqrstuv=",bitsPerChar:5}),base32hexpadupper=rfc4648({prefix:"T",name:"base32hexpadupper",alphabet:"0123456789ABCDEFGHIJKLMNOPQRSTUV=",bitsPerChar:5}),base32z=rfc4648({prefix:"h",name:"base32z",alphabet:"ybndrfg8ejkmcpqxot1uwisza345h769",bitsPerChar:5}),base32$2=Object.freeze(Object.defineProperty({__proto__:null,base32:base32$1,base32hex,base32hexpad,base32hexpadupper,base32hexupper,base32pad,base32padupper,base32upper,base32z},Symbol.toStringTag,{value:"Module"})),require$$1$1=getAugmentedNamespace(base32$2),{toBuffer,toAddress,toBase58,toHex}=lib$5,{base32}=require$$1$1,encode=a=>{if(!a)return a;const j=toBuffer(toAddress(a));return base32.encode(j)},decode=a=>{if(!a)return a;const j=base32.decode(a),_e=toBase58(j);return _e.length>30?_e:toHex(j)};var base32_1={encode,decode};function parseAvatar(a,j,_e,et=!1){var tt,nt;if(a&&a.startsWith(constant$3.USER_AVATAR_URL_PREFIX)){const rt=window.env.apiPrefix||"/";if(_e){if(et&&((tt=window.blocklet)!=null&&tt.serverDid)){const it=`https://${base32_1.encode((nt=window.blocklet)==null?void 0:nt.serverDid)}.${constant$3.DEFAULT_DID_DOMAIN}`;return`${joinURL$2(it,constant$3.USER_AVATAR_PATH_PREFIX,j,a.replace(constant$3.USER_AVATAR_URL_PREFIX,""))}?imageFilter=resize&w=64&h=64`}return`${joinURL$2(rt,constant$3.USER_AVATAR_PATH_PREFIX,a.replace(constant$3.USER_AVATAR_URL_PREFIX,""))}?imageFilter=resize&w=64&h=64`}return`${joinURL$2(rt,constant$3.USER_AVATAR_PATH_PREFIX,j,a.replace(constant$3.USER_AVATAR_URL_PREFIX,""))}?imageFilter=resize&w=64&h=64`}return a}const isNodeOwner=(a,j)=>a.nodeOwner&&a.nodeOwner.did===j,isSelf=(a,j)=>a&&a.did===j,actorShape={avatar:PropTypes.string,fullName:PropTypes.string,did:PropTypes.string};function SingleAvatar({actor:a,size:j,teamDid:_e,inService:et,showName:tt}){const nt=useCreation(()=>({...a,avatar:a!=null&&a.avatar?parseAvatar(a.avatar,_e,et):null}),[a,_e,et]),rt=it=>{a&&(it.stopPropagation(),window.open(withQuery$1(joinURL$2(constant$3.WELLKNOWN_SERVICE_PATH_PREFIX,"user"),{did:a.did}),"_blank"),it.customPreventRedirect=!0)};return jsxRuntimeExports.jsxs(Box,{display:"flex",alignItems:"center",gap:1,onClick:rt,role:"button",style:{cursor:"pointer"},title:(a==null?void 0:a.fullName)||"",children:[nt.avatar?jsxRuntimeExports.jsx(UserCard,{user:nt,showDid:!0,cardType:CardType.AvatarOnly,infoType:InfoType.Minimal,avatarSize:j,shape:"circle",sx:{width:j,height:j,borderRadius:"100%",overflow:"hidden",transition:"transform 0.2s ease-in-out","&:hover":{transform:"scale(1.1)"}}}):jsxRuntimeExports.jsx(Avatar$1,{sx:{width:j,height:j}}),tt&&jsxRuntimeExports.jsx("span",{children:a==null?void 0:a.fullName})]})}SingleAvatar.propTypes={actor:PropTypes.shape(actorShape).isRequired,size:PropTypes.number.isRequired,teamDid:PropTypes.string,inService:PropTypes.bool,showName:PropTypes.bool};SingleAvatar.defaultProps={teamDid:"",inService:!1,showName:!1};ActorAvatar.propTypes={actors:PropTypes.oneOfType([PropTypes.shape(actorShape),PropTypes.arrayOf(PropTypes.shape(actorShape))]).isRequired,size:PropTypes.number,maxDisplay:PropTypes.number,teamDid:PropTypes.string,inService:PropTypes.bool,showName:PropTypes.bool,avatarFallback:PropTypes.node};ActorAvatar.defaultProps={size:32,maxDisplay:9,teamDid:"",inService:!0,showName:!1,avatarFallback:null};function ActorAvatar({actors:a,size:j=32,maxDisplay:_e=9,teamDid:et="",inService:tt=!0,showName:nt=!1,avatarFallback:rt=null}){const it=useCreation(()=>{const ot=Array.isArray(a)?a:[a];return uniqBy(ot,"did").filter(Boolean)},[a]);return it.length===1||!it.length?jsxRuntimeExports.jsx(SingleAvatar,{actor:it[0],size:j,teamDid:et,inService:tt,showName:nt}):jsxRuntimeExports.jsx(AvatarGroup,{total:it.length,renderSurplus:ot=>ot<100?jsxRuntimeExports.jsxs("span",{children:["+",ot]}):jsxRuntimeExports.jsx("span",{children:"99+"}),max:_e,sx:{justifyContent:"flex-end",height:`${j}px`,".MuiAvatar-root":{width:`${j}px`,height:`${j}px`,fontSize:`${j/2.5}px`,border:0,zIndex:2}},children:it.map((ot,ut)=>ot!=null&&ot.avatar?jsxRuntimeExports.jsx(SingleAvatar,{actor:ot,size:j,teamDid:et,inService:tt},(ot==null?void 0:ot.did)||ut):rt)})}const MAX_DISPLAY_ITEMS=3;Activity.propTypes={notification:PropTypes.object.isRequired,isMultiple:PropTypes.bool,blocklet:PropTypes.object,mountPoint:PropTypes.string,avatarFallback:PropTypes.node};SingleActivity.propTypes={notification:PropTypes.object.isRequired,mountPoint:PropTypes.string};MultipleActivity.propTypes={items:PropTypes.array.isRequired,activity:PropTypes.object.isRequired,blocklet:PropTypes.object,mountPoint:PropTypes.string,viewMoreLink:PropTypes.string,avatarFallback:PropTypes.node};function SingleActivity({notification:a,mountPoint:j=""}){var rt;const{activity:_e}=a,{type:et,meta:tt={}}=_e||{},nt=useActivityTitle({activity:_e,users:[a==null?void 0:a.actorInfo],actors:[(rt=a==null?void 0:a.activity)==null?void 0:rt.actor],mountPoint:j});return isEmpty$1(_e)||!_e.type||!_e.actor||isEmpty$1(_e.target)?null:jsxRuntimeExports.jsxs(Box,{children:[jsxRuntimeExports.jsx(Typography$1,{variant:"body1",color:colors$2.textBase,sx:{mb:.5},children:nt}),jsxRuntimeExports.jsx(Meta,{meta:tt,type:et})]})}function MultipleActivity({items:a,activity:j,blocklet:_e,mountPoint:et="",viewMoreLink:tt="",avatarFallback:nt=null}){const rt=useTheme$2(),it=useCreation(()=>{var mt;return(_e==null?void 0:_e.did)||((mt=_e==null?void 0:_e.meta)==null?void 0:mt.did)||""},[_e]),{locale:ot}=reactExports.useContext(LocaleContext),ut=useCreation(()=>!isEmpty$1(j.meta)&&Object.values(j.meta).some(mt=>mt!=null),[j]),st=useActivityTitle({activity:j,users:a.map(mt=>mt==null?void 0:mt.actorInfo),actors:a.map(mt=>{var bt;return(bt=mt==null?void 0:mt.activity)==null?void 0:bt.actor}),mountPoint:et}),ct=useMemoizedFn(mt=>{if(!mt.activity)return null;const bt=getActivityLink(mt.activity);return bt!=null&&bt.metaLink?joinURL$2(et,bt.metaLink):null}),ft=useMemoizedFn((mt,bt)=>{if(mt.stopPropagation(),!bt)return;const xt=ct(bt);xt&&(window.open(xt,"_blank"),mt.customPreventRedirect=!0)}),pt=a.length>MAX_DISPLAY_ITEMS,yt=a.slice(0,MAX_DISPLAY_ITEMS);return jsxRuntimeExports.jsxs(Box,{sx:{width:"100%"},children:[jsxRuntimeExports.jsx(Typography$1,{variant:"body1",color:colors$2.textBase,sx:{mb:3},children:st}),ut?jsxRuntimeExports.jsxs(Box,{className:"sub-content",display:"flex",flexDirection:"column",gap:3,children:[yt.map(mt=>{var bt;return jsxRuntimeExports.jsxs(Box,{display:"flex",flexDirection:"column",gap:1,onClick:xt=>ft(xt,mt),children:[jsxRuntimeExports.jsxs(Box,{display:"flex",alignItems:"center",gap:1,children:[isUserActor(mt)?jsxRuntimeExports.jsx(ActorAvatar,{actors:mt.actorInfo,size:32,teamDid:it}):nt,jsxRuntimeExports.jsx(Typography$1,{variant:"subtitle1",color:colors$2.textBase,children:isUserActor(mt)?(bt=mt==null?void 0:mt.actorInfo)==null?void 0:bt.fullName:"System"})," ","·",jsxRuntimeExports.jsx(RelativeTime,{value:mt.createdAt,locale:ot,shouldUpdate:!0,style:{color:rt.palette.text.secondary,fontSize:"0.875rem",minWidth:"50px",whiteSpace:"nowrap"}})]}),jsxRuntimeExports.jsx(Box,{pl:5,children:jsxRuntimeExports.jsx(Meta,{meta:mt.activity.meta,type:mt.activity.type})})]},mt.id)}),pt&&tt?jsxRuntimeExports.jsx(Box,{mt:1,display:"flex",justifyContent:"center",children:jsxRuntimeExports.jsxs(Button,{size:"large",variant:"text",component:Link$2,href:tt,target:"_blank",rel:"noopener noreferrer",onClick:mt=>{mt.customPreventRedirect=!0},children:["View More ",jsxRuntimeExports.jsx(Icon,{icon:data$3,style:{marginLeft:4}})]})}):null]}):null]})}function Activity({notification:a,isMultiple:j=!1,blocklet:_e,mountPoint:et="",avatarFallback:tt}){const nt=useCreation(()=>{if(!a.activity)return null;const rt=getActivityLink(a.activity);return rt!=null&&rt.targetLink?joinURL$2(et,rt.targetLink):null},[a.activity,et]);return j?jsxRuntimeExports.jsx(MultipleActivity,{items:a.items,activity:a.activity,blocklet:_e,mountPoint:et,viewMoreLink:nt,avatarFallback:tt}):jsxRuntimeExports.jsx(SingleActivity,{notification:a,mountPoint:et})}const Wrapper=styled$1(Box)`
2638
2638
  display: flex;
2639
2639
  justify-content: center;
2640
2640
  align-items: center;
@@ -2869,4 +2869,4 @@ ${et}
2869
2869
  padding-top: 16px;
2870
2870
  ${a=>a.scrollable?"":"overflow: hidden"};
2871
2871
  }
2872
- `;function GlobalSubscriber(){const{t:a}=useLocaleContext(),{session:j}=useSessionContext(),{info:_e,refresh:et}=useNodeContext();return useSubscription(constant$1.TeamEvents.userUpdated,({teamDid:tt,user:nt})=>{tt===_e.did&&nt&&!nt.approved&&j&&j.user&&j.user.did===nt.did&&(Toast$1.warning(a("session.blockAccess"),{autoHideDuration:10*1e3}),j.logout())}),useSubscription(constant$3.EVENTS.NOTIFICATION_CREATE,tt=>{tt.entityType==="node"&&et({silent:!0})}),useSubscription(constant$3.EVENTS.NODE_UPDATED,()=>{et({silent:!0})}),null}const authorize=({user:a,launchType:j,nftId:_e})=>{var et;if(!a)return!1;if(j==="serverless"){if(!_e)throw new Error("nftId is required");return((et=a==null?void 0:a.controller)==null?void 0:et.nftId)===_e}return(a.permissions||[]).includes("mutate_blocklets")},isServerlessBlockletInstalled=a=>{var j,_e;return a.isGetBlocklet&&((_e=(j=a.runtimeBlocklet)==null?void 0:j.controller)==null?void 0:_e.consumedAt)},getRestoredAccessUrl=async a=>{const j=getBlockletUrls({blocklet:a});let _e="";return _e=j.find(et=>{try{const{hostname:tt}=new URL(et);return urlEvaluation.isSlpDomain(tt)}catch(tt){return console.error(tt),!1}}),_e||(_e=await getAccessibleUrl(j)),_e},LaunchBlockletContext=reactExports.createContext({}),{Provider:Provider$1,Consumer:Consumer$1}=LaunchBlockletContext;function LaunchBlockletProvider({children:a}){const{session:j}=useSessionContext(),{t:_e}=useLocaleContext(),{api:et,info:tt}=useNodeContext(),[nt]=useSearchParams(),rt=nt.get("launchType"),it=nt.get("fromLauncher"),ot=nt.get("blocklet_meta_url")||"",ut=nt.get("nftId")||"",st=nt.get("launcherSessionId")||"",ct=nt.get("launcherUrl")||"",ft=new URL(ot).origin,[pt,yt]=reactExports.useState({meta:null,appDid:nt.get("appDid")||null,sessionId:nt.get("sessionId")||null,isFree:!0,isExternal:!1,isInstalling:!1,isInstalled:!1,isRunning:!1,launcherSession:null,registryUrl:""}),mt=(Zt,on)=>yt(Ht=>({...Ht,appDid:Zt,sessionId:on})),bt=authorize({user:j.user,launchType:rt,nftId:ut}),[xt,$t]=reactExports.useState(null),[kt,Pt]=reactExports.useState(!0),Nt=reactExports.useMemo(()=>tt?getServerUrl(tt):"",[tt]),Ot=async Zt=>{if(!Zt)throw new Error("appDid should not be empty");const{blocklet:on}=await et.getBlocklet({input:{did:Zt,attachConfig:!1}});if(!on)return null;const Ht=constant$1.BlockletStatus[on.status],It=!!ut,Tt=Ht<constant$1.BlockletStatus.installed,dt=Ht===constant$1.BlockletStatus.installed,ht=Ht===constant$1.BlockletStatus.running;return yt(Et=>({...Et,isInstalled:dt,isRunning:ht,isExternal:It,isInstalling:Tt})),{isInstalled:dt,isRunning:ht,isExternal:It,isInstalling:Tt}},Ft=async()=>{Pt(!0);try{if(!ot)throw new Error(_e("common.invalidParam"));const[{meta:Zt,isFree:on,registryUrl:Ht},{launcherSession:It,error:Tt}]=await Promise.all([et.getBlockletMetaFromUrl({input:{url:ot,checkPrice:!0}}),st?et.getLauncherSession({input:{launcherSessionId:st,launcherUrl:ct}}):Promise.resolve({})]);if(st&&!It)throw new Error(`Launch session invalid: ${Tt}`);if(!Zt)throw new Error(_e("LaunchBlockletBlocklet.error.loadMetaFailed"));let dt={};bt&&pt.appDid&&(dt=await Ot(pt.appDid)),yt(ht=>({...ht,...dt,meta:Zt,isFree:on,registryUrl:Ht,launcherSession:It}))}catch(Zt){console.error(Zt),$t(Zt.message)}finally{Pt(!1)}};reactExports.useEffect(()=>{var Zt,on,Ht;((Zt=j==null?void 0:j.user)==null?void 0:Zt.role)===constant$3.SERVER_ROLES.EXTERNAL_BLOCKLET_CONTROLLER&&((Ht=(on=j==null?void 0:j.user)==null?void 0:on.controller)==null?void 0:Ht.nftId)!==ut&&j.logout(),Ft()},[]),reactExports.useEffect(()=>{kt||!pt.meta||(bt?pt.appDid&&Ot(pt.appDid).catch(Zt=>{Toast$1.error(Zt.message)}):(yt(Zt=>({...Zt,isInstalled:!1,isRunning:!1,isExternal:!1})),$t(null)))},[bt]);const Vt={meta:pt.meta,isFree:pt.isFree,appDid:pt.appDid,sessionId:pt.sessionId,isInstalling:pt.isInstalling,isInstalled:pt.isInstalled,isExternal:pt.isExternal,isRunning:pt.isRunning,serverUrl:Nt,storeUrl:pt.registryUrl||ft,blockletMetaUrl:ot,fromLauncher:it,loading:kt,error:xt,api:et,getBlocklet:Ot,setAppDid:mt,launcherUrl:ct,launcherSession:pt.launcherSession,launcherSessionId:st};return jsxRuntimeExports.jsx(Provider$1,{value:Vt,children:a})}function useLaunchBlockletContext(){return reactExports.useContext(LaunchBlockletContext)}function useQuery(){return new URLSearchParams(useLocation().search)}const BlockletAppContext=reactExports.createContext(),{Provider,Consumer}=BlockletAppContext;function BlockletAppProvider({children:a}){const _e=useQuery().get("blocklet_meta_url"),et=_default$2(async()=>{const{data:nt}=await axios$1.get(_e);return nt});if(et.loading)return jsxRuntimeExports.jsx(Center,{children:jsxRuntimeExports.jsx(CircularProgress,{})});const tt={meta:et.value,error:et.error};return jsxRuntimeExports.jsx(Provider,{value:tt,children:a})}BlockletAppProvider.propTypes={children:PropTypes.any.isRequired};function useBlockletAppContext(){return reactExports.useContext(BlockletAppContext)}const Dashboard=reactExports.lazy(()=>__vitePreload(()=>import("./index-D5iXLg7U.js"),__vite__mapDeps([0,1,2,3,4]),import.meta.url)),BlockletList=reactExports.lazy(()=>__vitePreload(()=>import("./index-BG2kH0vO.js"),__vite__mapDeps([5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,2,29,30,31,32,33,34,35]),import.meta.url)),BlockletRestore=reactExports.lazy(()=>__vitePreload(()=>import("./index-dpcQFGC9.js"),__vite__mapDeps([36,37,38,39,40,41,42,6,33,43,44,45,24,15,14]),import.meta.url)),BlockletStore=reactExports.lazy(()=>__vitePreload(()=>import("./index-Dk_ddRep.js"),__vite__mapDeps([46,6,47,48,49,50,11,14,51,29,30,52,53,34,33,54,43,55,3,56,15,24,20,21,22,57,42,23,58,59]),import.meta.url)),Settings=reactExports.lazy(()=>__vitePreload(()=>import("./index-U3LqL5BU.js"),__vite__mapDeps([60,61,58,62,63,64,23,24,7,8,9,10,11,12,13,14,15,16,65,55,3,56,2,66,18,6,67,68,34,17,69,50,70,71,72,4,73]),import.meta.url)),LogPage=reactExports.lazy(()=>__vitePreload(()=>import("./index-DErkdWGS.js"),__vite__mapDeps([74,75,21,22,76,6]),import.meta.url)),TeamPage=reactExports.lazy(()=>__vitePreload(()=>import("./index-Smdhabbz.js"),__vite__mapDeps([77,61,78,14,16,11,12,6,79,80,56,81,51,18,82,34,83,7,8,9,10,13,15,84,85,86,31,87,64,88,89,1,90,35,21,22,23,24,3,91,92,93,2,52,43,94,95,96,97,98,28,99,100,101,55,70,102]),import.meta.url)),BlockletDetail=reactExports.lazy(()=>__vitePreload(()=>import("./detail-SkSHXUY6.js"),__vite__mapDeps([103,61,17,18,19,6,15,13,20,21,22,23,24,51,86,81,59]),import.meta.url)),EULAPage=reactExports.lazy(()=>__vitePreload(()=>import("./index-iKNyCq23.js"),[],import.meta.url)),Notifications=reactExports.lazy(()=>__vitePreload(()=>import("./index-DFqgZ5xa.js"),[],import.meta.url)),IssuePassport=reactExports.lazy(()=>__vitePreload(()=>import("./index-BbQ_Eva9.js"),__vite__mapDeps([104,105,86,87,9,106,24,107,42]),import.meta.url)),LostPassport=reactExports.lazy(()=>__vitePreload(()=>import("./index-BCoMTShJ.js"),__vite__mapDeps([108,83,54,87,9,107,20,32]),import.meta.url)),ExchangePassport=reactExports.lazy(()=>__vitePreload(()=>import("./index-BI57n5-1.js"),__vite__mapDeps([109,107,20]),import.meta.url)),BlockletLauncher=reactExports.lazy(()=>__vitePreload(()=>import("./index-CrdafeIA.js"),__vite__mapDeps([110,38,39,40,41,111,79,80,20,45,6,26,27,42,66]),import.meta.url)),NotFoundPage=reactExports.lazy(()=>__vitePreload(()=>import("./index-C9UfyIb3.js"),__vite__mapDeps([112,86]),import.meta.url)),Invite=reactExports.lazy(()=>__vitePreload(()=>import("./index-CsRDH5PZ.js"),__vite__mapDeps([113,105,86,87,9,106,24,107]),import.meta.url)),Console=reactExports.lazy(()=>__vitePreload(()=>import("./index-BkTRcS0m.js").then(a=>a.a2),__vite__mapDeps([114,115]),import.meta.url)),AnalyticsPage=reactExports.lazy(()=>__vitePreload(()=>import("./index-dPMBaXU5.js"),__vite__mapDeps([116,61,117,118,49,50,119,72,91,8,92,93,7,9,10,11,12,13,14,15,16,89,120,121,4,6,101,22]),import.meta.url)),GenKeyPair=reactExports.lazy(()=>__vitePreload(()=>import("./index-BjeDI2iY.js"),__vite__mapDeps([122,86]),import.meta.url));function useSharedContext(){const a=useNodeContext(),{session:j}=useSessionContext(),{wallet:_e}=useBrowser(),et=j.user&&j.user.did;return reactExports.useEffect(()=>{const tt=getWsClient();return et?tt.connect():tt.isConnected()&&tt.disconnect(),()=>{tt.isConnected()&&tt.disconnect()}},[et]),reactExports.useEffect(()=>{if(_e)return()=>{};const tt=()=>{document.visibilityState==="visible"&&j.refresh()};return document.addEventListener("visibilitychange",tt),()=>{document.removeEventListener("visibilitychange",tt)}},[]),{node:a,session:j}}function ProtectedApp(){var rt;const{t:a}=useLocaleContext(),{node:j,session:_e}=useSharedContext(),et=useLocation();reactExports.useEffect(()=>{window.tracker&&typeof window.tracker.pageView=="function"&&window.tracker.pageView(`${et.pathname}${et.search}`)},[et]),reactExports.useEffect(()=>{var it;((it=_e==null?void 0:_e.user)==null?void 0:it.role)===constant$3.SERVER_ROLES.EXTERNAL_BLOCKLET_CONTROLLER&&_e.logout()},[(rt=_e==null?void 0:_e.user)==null?void 0:rt.role]);const tt=jsxRuntimeExports.jsx(CircularProgress,{});if(j.loading||_e.loading)return jsxRuntimeExports.jsx(Center,{children:tt});if(!j.info.initialized)return getAuthMethod.getServerAuthMethod(j.info)==="nft"?jsxRuntimeExports.jsx(NodeVerifyOwner,{action:"verify-owner"}):jsxRuntimeExports.jsx(Center,{children:jsxRuntimeExports.jsx(NodeConnectOwner,{})});if(j.info.upgradeSessionId)return jsxRuntimeExports.jsx(Center,{children:jsxRuntimeExports.jsx(MaintainProgress,{})});if(!_e.user)return jsxRuntimeExports.jsx(NodeLogin,{loadingEle:tt});const nt=jsxRuntimeExports.jsx(Center,{children:jsxRuntimeExports.jsx(CircularProgress,{})});return jsxRuntimeExports.jsx(BlockletsProvider,{children:jsxRuntimeExports.jsxs(NotificationProvider,{children:[jsxRuntimeExports.jsx(Health,{}),jsxRuntimeExports.jsx(CheckNodeStatus,{}),jsxRuntimeExports.jsx(GlobalSubscriber,{}),jsxRuntimeExports.jsx(reactExports.Suspense,{fallback:nt,children:jsxRuntimeExports.jsxs(Routes,{children:[jsxRuntimeExports.jsx(Route,{path:"/dashboard",element:jsxRuntimeExports.jsx(DashboardRoute,{fullWidth:!0,title:"Dashboard",children:jsxRuntimeExports.jsx(Dashboard,{})})}),jsxRuntimeExports.jsx(Route,{path:"/blocklets",element:jsxRuntimeExports.jsx(DashboardRoute,{fullWidth:!0,title:a("common.blocklets"),children:jsxRuntimeExports.jsx(BlockletList,{})})}),jsxRuntimeExports.jsx(Route,{path:"/blocklets/:did/:tab",element:jsxRuntimeExports.jsx(DashboardRoute,{fullWidth:!0,title:"Blocklets",children:jsxRuntimeExports.jsx(BlockletDetail,{})})}),jsxRuntimeExports.jsx(Route,{path:"/settings/:tab",element:jsxRuntimeExports.jsx(DashboardRoute,{fullWidth:!0,title:a("common.setting"),children:jsxRuntimeExports.jsx(Settings,{})})}),jsxRuntimeExports.jsx(Route,{path:"/eula",element:jsxRuntimeExports.jsx(DashboardRoute,{fullWidth:!0,title:a("setup.steps.eula"),children:jsxRuntimeExports.jsx(EULAPage,{})})}),jsxRuntimeExports.jsx(Route,{path:"/store",element:jsxRuntimeExports.jsx(DashboardRoute,{fullWidth:!0,title:a("common.store"),children:jsxRuntimeExports.jsx(BlockletStore,{})})}),jsxRuntimeExports.jsx(Route,{path:"/console",element:jsxRuntimeExports.jsx(DashboardRoute,{title:`GraphQL ${a("common.console")}`,scrollable:!1,fullWidth:!0,children:jsxRuntimeExports.jsx(Console,{})})}),jsxRuntimeExports.jsx(Route,{path:"/notifications",element:jsxRuntimeExports.jsx(DashboardRoute,{children:jsxRuntimeExports.jsx(Notifications,{})})}),jsxRuntimeExports.jsx(Route,{path:"/team/:tab",element:jsxRuntimeExports.jsx(DashboardRoute,{fullWidth:!0,title:a("common.team"),children:jsxRuntimeExports.jsx(TeamPage,{})})}),jsxRuntimeExports.jsx(Route,{path:"/logs/:name?",element:jsxRuntimeExports.jsx(DashboardRoute,{scrollable:!1,fullWidth:!0,title:a("common.logs"),children:jsxRuntimeExports.jsx(LogPage,{})})}),jsxRuntimeExports.jsx(Route,{path:"/analytics/:tab",element:jsxRuntimeExports.jsx(DashboardRoute,{fullWidth:!0,title:a("common.analytics"),children:jsxRuntimeExports.jsx(AnalyticsPage,{})})}),jsxRuntimeExports.jsx(Route,{path:"/",element:jsxRuntimeExports.jsx(Navigate,{to:"/dashboard",replace:!0})}),jsxRuntimeExports.jsx(Route,{path:"/team",element:jsxRuntimeExports.jsx(Navigate,{to:"/team/members",replace:!0})}),jsxRuntimeExports.jsx(Route,{path:"/analytics",element:jsxRuntimeExports.jsx(Navigate,{to:"/analytics/traffic",replace:!0})}),jsxRuntimeExports.jsx(Route,{path:"/router",element:jsxRuntimeExports.jsx(Navigate,{to:"/router/rules",replace:!0})}),jsxRuntimeExports.jsx(Route,{path:"/settings",element:jsxRuntimeExports.jsx(Navigate,{to:"/settings/basic",replace:!0})}),jsxRuntimeExports.jsx(Route,{path:"/marketplace",element:jsxRuntimeExports.jsx(Navigate,{to:"/store",replace:!0})}),jsxRuntimeExports.jsx(Route,{path:"/marketplace/:did",element:jsxRuntimeExports.jsx(Navigate,{to:"/store/:did",replace:!0})}),jsxRuntimeExports.jsx(Route,{path:"*",element:jsxRuntimeExports.jsx(NotFoundPage,{})})]})})]})})}function UnprotectedWrapper({children:a}){const{node:j,session:_e}=useSharedContext();return j.loading||!_e.initialized&&_e.loading?jsxRuntimeExports.jsx(Center,{children:jsxRuntimeExports.jsx(CircularProgress,{})}):j.info.upgradeSessionId?jsxRuntimeExports.jsx(Center,{children:jsxRuntimeExports.jsx(MaintainProgress,{})}):a}function App(){const{changeLocale:a}=useLocaleContext(),j=useQuery();reactExports.useEffect(()=>{const et=j.get("locale");et&&["zh","en"].includes(et)&&a(et)},[]);const _e=jsxRuntimeExports.jsx(Center,{children:jsxRuntimeExports.jsx(CircularProgress,{})});return jsxRuntimeExports.jsx(reactExports.Suspense,{fallback:_e,children:jsxRuntimeExports.jsxs(Routes,{children:[jsxRuntimeExports.jsx(Route,{path:`${constant$3.WELLKNOWN_SERVICE_PATH_PREFIX}/issue-passport`,element:jsxRuntimeExports.jsx(UnprotectedWrapper,{children:jsxRuntimeExports.jsx(IssuePassport,{})})}),jsxRuntimeExports.jsx(Route,{path:`${constant$3.WELLKNOWN_SERVICE_PATH_PREFIX}/lost-passport`,element:jsxRuntimeExports.jsx(UnprotectedWrapper,{children:jsxRuntimeExports.jsx(LostPassport,{})})}),jsxRuntimeExports.jsx(Route,{path:`${constant$3.WELLKNOWN_SERVICE_PATH_PREFIX}/exchange-passport`,element:jsxRuntimeExports.jsx(UnprotectedWrapper,{children:jsxRuntimeExports.jsx(ExchangePassport,{})})}),jsxRuntimeExports.jsx(Route,{path:"/accept-server",element:jsxRuntimeExports.jsx(UnprotectedWrapper,{children:jsxRuntimeExports.jsx(NodeVerifyOwner,{action:"accept-server"})})}),jsxRuntimeExports.jsx(Route,{path:"/gen-key-pair/",element:jsxRuntimeExports.jsx(UnprotectedWrapper,{children:jsxRuntimeExports.jsx(GenKeyPair,{})})}),jsxRuntimeExports.jsx(Route,{path:"/launch-blocklet/*",element:jsxRuntimeExports.jsx(UnprotectedWrapper,{children:jsxRuntimeExports.jsx(LaunchBlockletProvider,{children:jsxRuntimeExports.jsx(BlockletLauncher,{})})})}),jsxRuntimeExports.jsx(Route,{path:"/blocklets/restore/*",element:jsxRuntimeExports.jsx(UnprotectedWrapper,{children:jsxRuntimeExports.jsx(BlockletAppProvider,{children:jsxRuntimeExports.jsx(BlockletRestore,{})})})}),jsxRuntimeExports.jsx(Route,{path:`${constant$3.WELLKNOWN_SERVICE_PATH_PREFIX}/invite`,element:jsxRuntimeExports.jsx(UnprotectedWrapper,{children:jsxRuntimeExports.jsx(Invite,{})})}),jsxRuntimeExports.jsx(Route,{path:"/*",element:jsxRuntimeExports.jsx(ProtectedApp,{})})]})})}function AppWrapper(){const a=window.env&&window.env.apiPrefix?window.env.apiPrefix:"/";return jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:[jsxRuntimeExports.jsx(CssBaseline,{}),jsxRuntimeExports.jsx(BrowserRouter,{history,basename:a,children:jsxRuntimeExports.jsx(Root$4,{children:jsxRuntimeExports.jsx(App,{})})})]})}const root=createRoot(document.getElementById("root"));root.render(jsxRuntimeExports.jsx(AppWrapper,{}));const prefix=window.env&&window.env.apiPrefix?window.env.apiPrefix:"/";register(`${prefix}/service-worker.js`.replace(/\/+/g,"/"),{registrationOptions:{scope:prefix},registered(){console.info("Service worker has been registered.")},ready(){console.info("Service worker is active.")},cached(){console.info("Content has been cached for offline use.")},updatefound(){console.info("New content is downloading.")},updated(){console.info("New content is available; please refresh.")},offline(){console.info("No internet connection found. App is running in offline mode.")},error(a){console.error("Error during service worker registration:",a)}});export{propTypesExports as $,constant$3 as A,ButtonComponent as B,CircularProgress as C,Dialog as D,useMediaQuery as E,lib$3 as F,Grid as G,util as H,ImageIcon as I,Link$3 as J,BlockletAppAvatar as K,Link$2 as L,Box as M,isEmpty$1 as N,FormControl as O,PropTypes as P,InputLabel as Q,RelativeTime$1 as R,Select as S,TagComponent as T,MenuItem$1 as U,Checkbox as V,WrappedDidAddress as W,Alert as X,formatError$1 as Y,Center as Z,_default$1 as _,useSubscription as a,styled$1 as a$,default_1$i as a0,cloneDeep as a1,api$1 as a2,joinURL$2 as a3,merge as a4,IconButton as a5,Confirm as a6,makeStyles as a7,ListItemSecondaryAction as a8,List as a9,useSessionContext as aA,Tooltip as aB,getBlockletMetaUrl as aC,ErrorBoundary as aD,ErrorFallback as aE,formatRegistryLogoPath as aF,engine as aG,Icon as aH,ListItemIcon as aI,ensureDomainAliases as aJ,normalizePathPrefix$1 as aK,sortBy as aL,getIp as aM,stringSortHandlerAsc as aN,getAccessUrl as aO,requireCreateSvgIcon as aP,interopRequireDefaultExports as aQ,history as aR,semver$1 as aS,useReactive as aT,useAsyncEffect as aU,default_1$7 as aV,sleep as aW,checkInputByType as aX,FormControlLabel as aY,generateUtilityClasses as aZ,generateUtilityClass as a_,ListItem as aa,ListItemText as ab,getServerUrl as ac,useBlockletAppContext as ad,getAuthMethod as ae,ConfirmDialog as af,setSessionToken as ag,getRestoredAccessUrl as ah,Debug as ai,isEqual as aj,isServerlessBlockletInstalled as ak,getWsClient as al,useTheme$2 as am,useQuery as an,getPathPrefix as ao,HeaderAddon as ap,SessionContext as aq,Global as ar,Routes as as,Route as at,Navigate as au,css$1 as av,AvatarWithErrorBoundary as aw,formatToDatetime as ax,getLaunchAgreementUrl as ay,axios$4 as az,constant$1 as b,arrayFilter as b$,Button as b0,_extends$3 as b1,capitalize$2 as b2,ButtonGroupContext as b3,resolveProps as b4,_objectWithoutPropertiesLoose$2 as b5,useId as b6,composeClasses as b7,Stack as b8,_default$2 as b9,__assign as bA,useNodeContext$1 as bB,uniqBy as bC,useRequest as bD,parseAvatar as bE,UserCard as bF,CardType as bG,InfoType as bH,BlockletAvatar as bI,DidAddressWrapper as bJ,createPassportSvg as bK,getWalletType as bL,__vitePreload as bM,useCreation as bN,BlockletAdminRoles as bO,isInstalling as bP,Badge as bQ,NavLink$1 as bR,createAppPassportSvg as bS,SetCache as bT,arrayIncludes$1 as bU,arrayIncludesWith as bV,cacheHas as bW,baseUniq as bX,baseFlatten as bY,baseRest as bZ,last as b_,axios$1 as ba,shouldCheckDomainStatus as bb,formatMountPoint as bc,_default$5 as bd,Menu$1 as be,checkIsWildcardDomain as bf,Popover as bg,Card as bh,formatToDate as bi,sortDomains as bj,default_1$2 as bk,Collapse as bl,default_1$3 as bm,isUrl$1 as bn,__awaiter as bo,__generator as bp,__spread as bq,React$3 as br,dayjs$2 as bs,Divider as bt,isCertificateMatch as bu,getDefaultExportFromCjs$1 as bv,FormHelperText as bw,NodeContext as bx,useParams as by,__spreadArrays as bz,createCompounder as c,LocaleProvider as c$,isArrayLikeObject as c0,Component$e as c1,isDownloading as c2,getBlockletUrl as c3,getBlockletUrlParams as c4,createSvgIcon$1 as c5,ButtonBase as c6,emphasize_1 as c7,useDefaultProps as c8,useSlotProps as c9,defaultDayjs as cA,useBrowser as cB,Avatar$1 as cC,isFromWallet as cD,Container$7 as cE,isFunction$4 as cF,usePassportId as cG,LandingPage as cH,useLaunchBlockletContext as cI,useSecurity as cJ,authorize as cK,default_1$a as cL,isNewStoreUrl as cM,getAccessibleUrl as cN,getBlockletLogoUrl as cO,Img as cP,getSafeUrl as cQ,useLocation as cR,useMount as cS,blockletSdk as cT,API_DID_PREFIX as cU,formatDateTime as cV,getExplorerLink as cW,patchJsxToLocale as cX,SessionContext$1 as cY,flat$1 as cZ,en$2 as c_,clsx$1 as ca,toSlotDomain as cb,omit$1 as cc,fixBlocklet as cd,isProtectedRole as ce,baseOrderBy as cf,isArray$6 as cg,rootShouldForwardProp as ch,SwitchBase as ci,alpha_1 as cj,createChainedFunction$1 as ck,useControlled as cl,useForkRef as cm,FormGroup as cn,memoize$3 as co,defaultCheckAccessible as cp,getBlockletUrls as cq,urlEvaluation as cr,ButtonGroupButtonContext as cs,useNotificationContext as ct,util$1 as cu,NotificationList as cv,useMemoizedFn as cw,isNumber$3 as cx,__read as cy,useLatest as cz,LinearProgress as d,hslToRgb$1 as d$,getAugmentedNamespace as d0,Theme as d1,ReactDOM as d2,global$2 as d3,punycodeExports as d4,commonjsGlobal as d5,copy$1 as d6,dist$4 as d7,Util as d8,require$$3 as d9,toPropertyKey$3 as dA,createSpacing as dB,createBreakpoints as dC,createTheme$1 as dD,private_safeDarken_1 as dE,private_safeLighten_1 as dF,private_safeEmphasize_1 as dG,private_safeAlpha_1 as dH,private_safeColorChannel_1 as dI,defaultSxConfig as dJ,styleFunctionSx$1 as dK,getOverlayAlpha as dL,hslToRgb_1 as dM,THEME_ID as dN,createTypography as dO,StyledEngineProvider as dP,ThemeProvider$1 as dQ,alpha$1 as dR,createMuiTheme as dS,darken$1 as dT,decomposeColor$1 as dU,duration as dV,easing as dW,emphasize$1 as dX,getContrastRatio$1 as dY,getLuminance$1 as dZ,hexToRgb$1 as d_,getSessionToken as da,SvgLogo as db,isNumber as dc,hoistStatics as dd,useEnhancedEffect$1 as de,debounce$3 as df,ownerWindow as dg,useRtl as dh,KeyboardArrowLeft as di,KeyboardArrowRight as dj,useEventCallback$1 as dk,ownerDocument as dl,colors$2 as dm,getMaster as dn,decodeConnectUrl as dp,parseTokenFromConnectUrl as dq,default_1$4 as dr,upperFirst as ds,camelCase$1 as dt,ClickToCopy as du,formatMuiErrorMessage$1 as dv,useTheme$3 as dw,deepmerge$1 as dx,GlobalStyles$2 as dy,ThemeProvider$2 as dz,useBlockletsContext as e,getTablePaginationUtilityClass as e$,keyframes as e0,lighten$1 as e1,createMixins as e2,recomposeColor$1 as e3,responsiveFontSizes as e4,rgbToHex$1 as e5,getUnit as e6,toUnitless as e7,Paper as e8,getPaperUtilityClass as e9,getInputUtilityClass as eA,inputClasses as eB,getInputLabelUtilityClasses as eC,inputLabelClasses as eD,getListItemTextUtilityClass as eE,listItemTextClasses as eF,PopoverPaper as eG,PopoverRoot as eH,getOffsetLeft as eI,getOffsetTop as eJ,getPopoverUtilityClass as eK,popoverClasses as eL,getMenuItemUtilityClass as eM,menuItemClasses as eN,getSelectUtilityClasses as eO,selectClasses as eP,getTooltipUtilityClass as eQ,tooltipClasses as eR,TableContext as eS,Tablelvl2Context as eT,TableCell as eU,getTableCellUtilityClass as eV,tableCellClasses as eW,Toolbar as eX,getToolbarUtilityClass as eY,toolbarClasses as eZ,TablePagination as e_,paperClasses as ea,getIconButtonUtilityClass as eb,iconButtonClasses as ec,getTypographyUtilityClass as ed,typographyClasses as ee,chipClasses as ef,Chip as eg,getChipUtilityClass as eh,InputBase$1 as ei,getInputBaseUtilityClass as ej,inputBaseClasses as ek,buttonClasses as el,getButtonUtilityClass as em,checkboxClasses as en,getCheckboxUtilityClass as eo,formControlClasses as ep,getFormControlUtilityClasses as eq,useFormControl as er,formControlLabelClasses as es,getFormControlLabelUtilityClasses as et,formGroupClasses as eu,getFormGroupUtilityClass as ev,getGridUtilityClass as ew,gridClasses as ex,Grow as ey,Input as ez,LocaleContext as f,Dt as f$,tablePaginationClasses as f0,getTextFieldUtilityClass as f1,textFieldClasses as f2,isArrayLike as f3,baseIteratee as f4,keys$1 as f5,toInteger as f6,baseFindIndex as f7,emotionSerialize_esm as f8,emotionUtils_browser_esm as f9,emotionReact_browser_esm as fA,useThemeProps as fB,defaultTheme$2 as fC,cloneDeep$1 as fD,toString$d as fE,Skeleton as fF,create$7 as fG,ThemeProvider$4 as fH,HeaderAddons as fI,Hidden as fJ,Check$1 as fK,isString$1 as fL,withQuery$1 as fM,createAxios$2 as fN,OutlinedInput as fO,default_1$k as fP,pick as fQ,omitBy as fR,default_1$b as fS,Drawer as fT,parseURL as fU,parseQuery as fV,parseFilename as fW,stringifyParsedURL as fX,useDebounceFn as fY,Dialog$1 as fZ,InputAdornment as f_,reactDomExports as fa,Close as fb,isObject$b as fc,urlExports as fd,require$$3$1 as fe,DID as ff,noop$5 as fg,ClickAwayListener as fh,MenuList as fi,Popper as fj,SvgIcon as fk,process$1$1 as fl,Buffer$4 as fm,lib$4 as fn,lib$5 as fo,urlPathFriendly$1 as fp,usePreviousProps as fq,setRef as fr,outlinedInputClasses as fs,filledInputClasses as ft,ClearIcon as fu,ArrowDropDownIcon as fv,listItemButtonClasses as fw,ListContext as fx,getListItemButtonUtilityClass as fy,emotionCache_browser_esm as fz,useTheme as g,BlockletSDK as g$,colors as g0,getTargetElement as g1,useEventListener as g2,useUpdateEffect as g3,__spreadArray as g4,clamp$1 as g5,useIsFocusVisible as g6,extractEventHandlers as g7,isHostComponent as g8,lighten_1 as g9,ripemd160 as gA,lib$6 as gB,resolveComponentProps as gC,Component$5 as gD,getInviteLink$1 as gE,getIssuePassportLink as gF,uniqBy$1 as gG,isNodeOwner as gH,isSelf as gI,PasskeyActions as gJ,getTextColor_1 as gK,useConfirm as gL,lib$1 as gM,createPassportSvg$2 as gN,requireMs as gO,Typography as gP,trim as gQ,createUseStorageState as gR,isBrowser$2 as gS,root$3 as gT,loadIcon as gU,Fade as gV,BLOCKLET_SERVICE_PATH_PREFIX$1 as gW,getTranslation as gX,SessionPermission as gY,NAVIGATION_URL as gZ,browser$4 as g_,darken_1 as ga,slotShouldForwardProp as gb,normalizePathPrefix_1 as gc,debounce$1 as gd,noop$6 as ge,_default$3 as gf,formatTime as gg,debounce as gh,RelativeTime as gi,default_1$c as gj,CopyButton as gk,useUpdate as gl,tmp as gm,util$7 as gn,requireShams as go,callBound$2 as gp,objectKeys$4 as gq,esObjectAtoms as gr,hasPropertyDescriptors_1 as gs,defineDataProperty as gt,callBindExports as gu,callBound$4 as gv,safeBufferExports as gw,requireBrowser$9 as gx,requireElliptic as gy,requireCryptoBrowserify as gz,get$5 as h,Transition as h$,highlight as h0,func as h1,purify as h2,SnackbarContent as h3,green as h4,amber as h5,common$7 as h6,useSnackbar as h7,data$2 as h8,Component$6 as h9,AxiosError as hA,isUndefined$1 as hB,RELAY_SOCKET_PREFIX$1 as hC,useConnect as hD,identity as hE,arrayEach as hF,baseEach as hG,arrayMap as hH,baseMap as hI,baseForOwn as hJ,isPlainObject$2 as hK,require$$10 as hL,throttle$2 as hM,jsonStableStringify as hN,semver as hO,browserExports as hP,require$$0$1 as hQ,isAbsoluteUrl as hR,require$$2 as hS,dist$1 as hT,dialogClasses as hU,FocusTrap as hV,TransitionGroup as hW,useTheme$4 as hX,localizedFormatPlugin as hY,_inheritsLoose$4 as hZ,forceReflow as h_,translate as ha,DialogContent as hb,DialogActions as hc,LocaleSelector as hd,SessionUser as he,default_1$l as hf,ResponsiveHeader as hg,withErrorBoundary as hh,Products as hi,ThemeProvider as hj,NavMenu as hk,grey$1 as hl,DashboardWrapper as hm,BLOCKLET_SERVICE_PATH_PREFIX as hn,commonjsRequire as ho,Backdrop as hp,_default$4 as hq,getVisitorId$1 as hr,PROFILE_URL as hs,useUnmount as ht,requireObjectWithoutPropertiesLoose as hu,adapter as hv,Buffer$1$1 as hw,base64$1 as hx,flat as hy,createAuthServiceSessionContext as hz,filesize as i,columnGap as i$,Component$h as i0,isIndex$1 as i1,_typeof$2 as i2,useSize as i3,objectAssign$1 as i4,__extends as i5,isServerless as i6,isFunction$3 as i7,omit$2 as i8,getLocale$1 as i9,createContainer as iA,createTheme$3 as iB,styled$2 as iC,extendSxProp as iD,isMuiElement as iE,createStack as iF,GlobalStyles$1 as iG,RtlProvider as iH,backgroundColor as iI,bgcolor as iJ,blend$1 as iK,border as iL,borderBottom as iM,borderBottomColor as iN,borderColor as iO,borderLeft as iP,borderLeftColor as iQ,borderRadius as iR,borderRight as iS,borderRightColor as iT,borderTop as iU,borderTopColor as iV,borderTransform as iW,boxSizing as iX,breakpoints as iY,color$1 as iZ,colorChannel$1 as i_,isDidDomainOrIpEchoDomain as ia,default_1$1 as ib,validateDomain as ic,require$$6 as id,axios_1 as ie,trim$1 as ig,retry as ih,getSystemDomains as ii,DefaultPropsProvider as ij,useDefaultProps$1 as ik,compose as il,style$4 as im,borders as io,grid as ip,palette as iq,sizing as ir,spacing as is,globalStateClasses as it,isGlobalState as iu,createBox as iv,ClassNameGenerator as iw,Timeout as ix,useTimeout as iy,teardown as iz,jsxRuntimeExports as j,data$x as j$,createStyled$2 as j0,createUnarySpacing as j1,createUnaryUnit as j2,gap as j3,getPath$1 as j4,getStyleFromPropValue as j5,getStyleValue$1 as j6,getThemeProps as j7,getValue$3 as j8,gridArea as j9,private_safeLighten$1 as jA,rowGap as jB,shape as jC,shouldForwardProp$1 as jD,sizeHeight as jE,sizeWidth as jF,sizingTransform as jG,systemDefaultTheme$1 as jH,unstable_createStyleFunctionSx as jI,resolveBreakpointValues as jJ,useTheme$5 as jK,width as jL,ENTERED as jM,ENTERING as jN,EXITING as jO,TransitionGroupContext as jP,config$2 as jQ,copyArray as jR,baseIndexOf as jS,useAppLogo as jT,getTransferAppLink as jU,require$$0$8 as jV,require$$1$2 as jW,uniq as jX,data$z as jY,data$y as jZ,data$A as j_,gridAutoColumns as ja,gridAutoFlow as jb,gridAutoRows as jc,gridColumn as jd,gridRow as je,gridTemplateAreas as jf,gridTemplateColumns as jg,gridTemplateRows as jh,handleBreakpoints as ji,height as jj,margin as jk,marginKeys as jl,maxHeight as jm,maxWidth as jn,mergeBreakpointsInOrder as jo,minHeight as jp,minWidth as jq,outline as jr,outlineColor as js,padding as jt,paddingKeys as ju,paletteTransform as jv,private_safeAlpha$1 as jw,private_safeColorChannel$1 as jx,private_safeDarken$1 as jy,private_safeEmphasize$1 as jz,Typography$1 as k,createTheme as k$,isNil as k0,base32_1 as k1,sleep$3 as k2,withTrailingSlash as k3,clsx$2 as k4,require$$1$8 as k5,require$$1$9 as k6,require$$4$3 as k7,colorManipulator as k8,require$$6$5 as k9,isIncludeActivity as kA,isUserActor as kB,ActorAvatar as kC,SendComponentAvatar as kD,Activity as kE,NotificationContent$1 as kF,AvatarGroup as kG,_unsupportedIterableToArray as kH,_setPrototypeOf$1 as kI,_assertThisInitialized$1 as kJ,_createClass as kK,CacheProvider as kL,createCache as kM,StyleSheet$1 as kN,ThemeContext$1 as kO,React$4 as kP,isPlainObject$3 as kQ,require$$2$4 as kR,require$$6$6 as kS,getReactElementRef as kT,createPopper as kU,getScrollbarSize as kV,isValidClusterSize as kW,extractStatusUrlFromNextWorkflow as kX,pWaitFor$1 as kY,hasRequiredSteps as kZ,getStoreList as k_,require$$6$4 as ka,createStyled$1 as kb,require$$5$1 as kc,BLOCKLET_THEME_LIGHT as kd,isNil$1 as ke,require$$9 as kf,hoistNonReactStatics_cjs as kg,functionPlugin as kh,jssGlobal as ki,jssNested as kj,camelCase as kk,defaultUnit as kl,jssVendorPrefixer as km,jssPropsSort as kn,createJss as ko,getDynamicStyles as kp,withoutLeadingSlash as kq,fetchSvgAsPng as kr,blobToFile as ks,withoutTrailingSlash as kt,isAbsoluteUrl$1 as ku,isEqual$4 as kv,useEffectWithTarget$1 as kw,__values as kx,isString$3 as ky,FormLabel as kz,formatLocale as l,flatten$2 as l0,trimEnd as l1,DialogTitle as l2,isNull$2 as l3,orange as l4,purple as l5,useLocalStorageState as l6,baseAssignValue as l7,retry$1 as l8,isNetworkError as l9,pTimeout$2 as la,TimeoutError_1 as lb,GlobalStyles as lc,createRoot as ld,Phone as le,Location as lf,Email as lg,Timezone as lh,useLocaleContext as m,newStyled as n,_default as o,prettyMs as p,DialogContentText as q,reactExports as r,styled as s,TextField as t,useNodeContext as u,DidConnect as v,getWebWalletUrl as w,useNavigate as x,Toast$1 as y,useSearchParams as z};
2872
+ `;function GlobalSubscriber(){const{t:a}=useLocaleContext(),{session:j}=useSessionContext(),{info:_e,refresh:et}=useNodeContext();return useSubscription(constant$1.TeamEvents.userUpdated,({teamDid:tt,user:nt})=>{tt===_e.did&&nt&&!nt.approved&&j&&j.user&&j.user.did===nt.did&&(Toast$1.warning(a("session.blockAccess"),{autoHideDuration:10*1e3}),j.logout())}),useSubscription(constant$3.EVENTS.NOTIFICATION_CREATE,tt=>{tt.entityType==="node"&&et({silent:!0})}),useSubscription(constant$3.EVENTS.NODE_UPDATED,()=>{et({silent:!0})}),null}const authorize=({user:a,launchType:j,nftId:_e})=>{var et;if(!a)return!1;if(j==="serverless"){if(!_e)throw new Error("nftId is required");return((et=a==null?void 0:a.controller)==null?void 0:et.nftId)===_e}return(a.permissions||[]).includes("mutate_blocklets")},isServerlessBlockletInstalled=a=>{var j,_e;return a.isGetBlocklet&&((_e=(j=a.runtimeBlocklet)==null?void 0:j.controller)==null?void 0:_e.consumedAt)},getRestoredAccessUrl=async a=>{const j=getBlockletUrls({blocklet:a});let _e="";return _e=j.find(et=>{try{const{hostname:tt}=new URL(et);return urlEvaluation.isSlpDomain(tt)}catch(tt){return console.error(tt),!1}}),_e||(_e=await getAccessibleUrl(j)),_e},LaunchBlockletContext=reactExports.createContext({}),{Provider:Provider$1,Consumer:Consumer$1}=LaunchBlockletContext;function LaunchBlockletProvider({children:a}){const{session:j}=useSessionContext(),{t:_e}=useLocaleContext(),{api:et,info:tt}=useNodeContext(),[nt]=useSearchParams(),rt=nt.get("launchType"),it=nt.get("fromLauncher"),ot=nt.get("blocklet_meta_url")||"",ut=nt.get("nftId")||"",st=nt.get("launcherSessionId")||"",ct=nt.get("launcherUrl")||"",ft=new URL(ot).origin,[pt,yt]=reactExports.useState({meta:null,appDid:nt.get("appDid")||null,sessionId:nt.get("sessionId")||null,isFree:!0,isExternal:!1,isInstalling:!1,isInstalled:!1,isRunning:!1,launcherSession:null,registryUrl:""}),mt=(Zt,on)=>yt(Ht=>({...Ht,appDid:Zt,sessionId:on})),bt=authorize({user:j.user,launchType:rt,nftId:ut}),[xt,$t]=reactExports.useState(null),[kt,Pt]=reactExports.useState(!0),Nt=reactExports.useMemo(()=>tt?getServerUrl(tt):"",[tt]),Ot=async Zt=>{if(!Zt)throw new Error("appDid should not be empty");const{blocklet:on}=await et.getBlocklet({input:{did:Zt,attachConfig:!1}});if(!on)return null;const Ht=constant$1.BlockletStatus[on.status],It=!!ut,Tt=Ht<constant$1.BlockletStatus.installed,dt=Ht===constant$1.BlockletStatus.installed,ht=Ht===constant$1.BlockletStatus.running;return yt(Et=>({...Et,isInstalled:dt,isRunning:ht,isExternal:It,isInstalling:Tt})),{isInstalled:dt,isRunning:ht,isExternal:It,isInstalling:Tt}},Ft=async()=>{Pt(!0);try{if(!ot)throw new Error(_e("common.invalidParam"));const[{meta:Zt,isFree:on,registryUrl:Ht},{launcherSession:It,error:Tt}]=await Promise.all([et.getBlockletMetaFromUrl({input:{url:ot,checkPrice:!0}}),st?et.getLauncherSession({input:{launcherSessionId:st,launcherUrl:ct}}):Promise.resolve({})]);if(st&&!It)throw new Error(`Launch session invalid: ${Tt}`);if(!Zt)throw new Error(_e("LaunchBlockletBlocklet.error.loadMetaFailed"));let dt={};bt&&pt.appDid&&(dt=await Ot(pt.appDid)),yt(ht=>({...ht,...dt,meta:Zt,isFree:on,registryUrl:Ht,launcherSession:It}))}catch(Zt){console.error(Zt),$t(Zt.message)}finally{Pt(!1)}};reactExports.useEffect(()=>{var Zt,on,Ht;((Zt=j==null?void 0:j.user)==null?void 0:Zt.role)===constant$3.SERVER_ROLES.EXTERNAL_BLOCKLET_CONTROLLER&&((Ht=(on=j==null?void 0:j.user)==null?void 0:on.controller)==null?void 0:Ht.nftId)!==ut&&j.logout(),Ft()},[]),reactExports.useEffect(()=>{kt||!pt.meta||(bt?pt.appDid&&Ot(pt.appDid).catch(Zt=>{Toast$1.error(Zt.message)}):(yt(Zt=>({...Zt,isInstalled:!1,isRunning:!1,isExternal:!1})),$t(null)))},[bt]);const Vt={meta:pt.meta,isFree:pt.isFree,appDid:pt.appDid,sessionId:pt.sessionId,isInstalling:pt.isInstalling,isInstalled:pt.isInstalled,isExternal:pt.isExternal,isRunning:pt.isRunning,serverUrl:Nt,storeUrl:pt.registryUrl||ft,blockletMetaUrl:ot,fromLauncher:it,loading:kt,error:xt,api:et,getBlocklet:Ot,setAppDid:mt,launcherUrl:ct,launcherSession:pt.launcherSession,launcherSessionId:st};return jsxRuntimeExports.jsx(Provider$1,{value:Vt,children:a})}function useLaunchBlockletContext(){return reactExports.useContext(LaunchBlockletContext)}function useQuery(){return new URLSearchParams(useLocation().search)}const BlockletAppContext=reactExports.createContext(),{Provider,Consumer}=BlockletAppContext;function BlockletAppProvider({children:a}){const _e=useQuery().get("blocklet_meta_url"),et=_default$2(async()=>{const{data:nt}=await axios$1.get(_e);return nt});if(et.loading)return jsxRuntimeExports.jsx(Center,{children:jsxRuntimeExports.jsx(CircularProgress,{})});const tt={meta:et.value,error:et.error};return jsxRuntimeExports.jsx(Provider,{value:tt,children:a})}BlockletAppProvider.propTypes={children:PropTypes.any.isRequired};function useBlockletAppContext(){return reactExports.useContext(BlockletAppContext)}const Dashboard=reactExports.lazy(()=>__vitePreload(()=>import("./index-D652L7CC.js"),__vite__mapDeps([0,1,2,3,4]),import.meta.url)),BlockletList=reactExports.lazy(()=>__vitePreload(()=>import("./index-DIt3-b0L.js"),__vite__mapDeps([5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,2,29,30,31,32,33,34,35]),import.meta.url)),BlockletRestore=reactExports.lazy(()=>__vitePreload(()=>import("./index-CTEKj5go.js"),__vite__mapDeps([36,37,38,39,40,41,42,6,33,43,44,45,24,15,14]),import.meta.url)),BlockletStore=reactExports.lazy(()=>__vitePreload(()=>import("./index-E6lSv66O.js"),__vite__mapDeps([46,6,47,48,49,50,11,14,51,29,30,52,53,34,33,54,43,55,3,15,24,20,21,22,56,42,23,57,58]),import.meta.url)),Settings=reactExports.lazy(()=>__vitePreload(()=>import("./index-DJipOB3r.js"),__vite__mapDeps([59,60,57,61,62,63,23,24,7,8,9,10,11,12,13,14,15,16,64,55,3,2,65,18,6,66,67,68,34,17,69,50,70,71,72,4,73]),import.meta.url)),LogPage=reactExports.lazy(()=>__vitePreload(()=>import("./index-Cy5Qtbob.js"),__vite__mapDeps([74,75,21,22,76,6]),import.meta.url)),TeamPage=reactExports.lazy(()=>__vitePreload(()=>import("./index-W1T8OGsQ.js"),__vite__mapDeps([77,60,78,14,16,11,12,6,79,80,81,82,51,18,83,34,84,7,8,9,10,13,15,85,86,87,31,88,63,89,90,1,91,35,21,22,23,24,3,92,93,94,2,52,43,95,96,97,98,99,28,100,101,102,55,70,103]),import.meta.url)),BlockletDetail=reactExports.lazy(()=>__vitePreload(()=>import("./detail-BkfZ-vLq.js"),__vite__mapDeps([104,60,17,18,19,6,15,13,20,21,22,23,24,51,87,82,58]),import.meta.url)),EULAPage=reactExports.lazy(()=>__vitePreload(()=>import("./index-BdtBG9co.js"),[],import.meta.url)),Notifications=reactExports.lazy(()=>__vitePreload(()=>import("./index-BH5HIFbb.js"),[],import.meta.url)),IssuePassport=reactExports.lazy(()=>__vitePreload(()=>import("./index-BcXeJXCR.js"),__vite__mapDeps([105,106,87,88,9,107,24,108,42]),import.meta.url)),LostPassport=reactExports.lazy(()=>__vitePreload(()=>import("./index-kCV42hBz.js"),__vite__mapDeps([109,84,54,88,9,108,20,32]),import.meta.url)),ExchangePassport=reactExports.lazy(()=>__vitePreload(()=>import("./index-Dmw-rWCR.js"),__vite__mapDeps([110,108,20]),import.meta.url)),BlockletLauncher=reactExports.lazy(()=>__vitePreload(()=>import("./index-Ct8zi4pq.js"),__vite__mapDeps([111,38,39,40,41,112,79,80,20,45,6,26,27,42,65]),import.meta.url)),NotFoundPage=reactExports.lazy(()=>__vitePreload(()=>import("./index-rZNPURo0.js"),__vite__mapDeps([113,87]),import.meta.url)),Invite=reactExports.lazy(()=>__vitePreload(()=>import("./index-uPaywPQ8.js"),__vite__mapDeps([114,106,87,88,9,107,24,108]),import.meta.url)),Console=reactExports.lazy(()=>__vitePreload(()=>import("./index-mzqVbRK8.js").then(a=>a.a2),__vite__mapDeps([115,116]),import.meta.url)),AnalyticsPage=reactExports.lazy(()=>__vitePreload(()=>import("./index-CfWjDiL_.js"),__vite__mapDeps([117,60,118,119,49,50,120,72,92,8,93,94,7,9,10,11,12,13,14,15,16,90,121,122,4,6,102,22]),import.meta.url)),GenKeyPair=reactExports.lazy(()=>__vitePreload(()=>import("./index-RxScS04A.js"),__vite__mapDeps([123,87]),import.meta.url));function useSharedContext(){const a=useNodeContext(),{session:j}=useSessionContext(),{wallet:_e}=useBrowser(),et=j.user&&j.user.did;return reactExports.useEffect(()=>{const tt=getWsClient();return et?tt.connect():tt.isConnected()&&tt.disconnect(),()=>{tt.isConnected()&&tt.disconnect()}},[et]),reactExports.useEffect(()=>{if(_e)return()=>{};const tt=()=>{document.visibilityState==="visible"&&j.refresh()};return document.addEventListener("visibilitychange",tt),()=>{document.removeEventListener("visibilitychange",tt)}},[]),{node:a,session:j}}function ProtectedApp(){var rt;const{t:a}=useLocaleContext(),{node:j,session:_e}=useSharedContext(),et=useLocation();reactExports.useEffect(()=>{window.tracker&&typeof window.tracker.pageView=="function"&&window.tracker.pageView(`${et.pathname}${et.search}`)},[et]),reactExports.useEffect(()=>{var it;((it=_e==null?void 0:_e.user)==null?void 0:it.role)===constant$3.SERVER_ROLES.EXTERNAL_BLOCKLET_CONTROLLER&&_e.logout()},[(rt=_e==null?void 0:_e.user)==null?void 0:rt.role]);const tt=jsxRuntimeExports.jsx(CircularProgress,{});if(j.loading||_e.loading)return jsxRuntimeExports.jsx(Center,{children:tt});if(!j.info.initialized)return getAuthMethod.getServerAuthMethod(j.info)==="nft"?jsxRuntimeExports.jsx(NodeVerifyOwner,{action:"verify-owner"}):jsxRuntimeExports.jsx(Center,{children:jsxRuntimeExports.jsx(NodeConnectOwner,{})});if(j.info.upgradeSessionId)return jsxRuntimeExports.jsx(Center,{children:jsxRuntimeExports.jsx(MaintainProgress,{})});if(!_e.user)return jsxRuntimeExports.jsx(NodeLogin,{loadingEle:tt});const nt=jsxRuntimeExports.jsx(Center,{children:jsxRuntimeExports.jsx(CircularProgress,{})});return jsxRuntimeExports.jsx(BlockletsProvider,{children:jsxRuntimeExports.jsxs(NotificationProvider,{children:[jsxRuntimeExports.jsx(Health,{}),jsxRuntimeExports.jsx(CheckNodeStatus,{}),jsxRuntimeExports.jsx(GlobalSubscriber,{}),jsxRuntimeExports.jsx(reactExports.Suspense,{fallback:nt,children:jsxRuntimeExports.jsxs(Routes,{children:[jsxRuntimeExports.jsx(Route,{path:"/dashboard",element:jsxRuntimeExports.jsx(DashboardRoute,{fullWidth:!0,title:"Dashboard",children:jsxRuntimeExports.jsx(Dashboard,{})})}),jsxRuntimeExports.jsx(Route,{path:"/blocklets",element:jsxRuntimeExports.jsx(DashboardRoute,{fullWidth:!0,title:a("common.blocklets"),children:jsxRuntimeExports.jsx(BlockletList,{})})}),jsxRuntimeExports.jsx(Route,{path:"/blocklets/:did/:tab",element:jsxRuntimeExports.jsx(DashboardRoute,{fullWidth:!0,title:"Blocklets",children:jsxRuntimeExports.jsx(BlockletDetail,{})})}),jsxRuntimeExports.jsx(Route,{path:"/settings/:tab",element:jsxRuntimeExports.jsx(DashboardRoute,{fullWidth:!0,title:a("common.setting"),children:jsxRuntimeExports.jsx(Settings,{})})}),jsxRuntimeExports.jsx(Route,{path:"/eula",element:jsxRuntimeExports.jsx(DashboardRoute,{fullWidth:!0,title:a("setup.steps.eula"),children:jsxRuntimeExports.jsx(EULAPage,{})})}),jsxRuntimeExports.jsx(Route,{path:"/store",element:jsxRuntimeExports.jsx(DashboardRoute,{fullWidth:!0,title:a("common.store"),children:jsxRuntimeExports.jsx(BlockletStore,{})})}),jsxRuntimeExports.jsx(Route,{path:"/console",element:jsxRuntimeExports.jsx(DashboardRoute,{title:`GraphQL ${a("common.console")}`,scrollable:!1,fullWidth:!0,children:jsxRuntimeExports.jsx(Console,{})})}),jsxRuntimeExports.jsx(Route,{path:"/notifications",element:jsxRuntimeExports.jsx(DashboardRoute,{children:jsxRuntimeExports.jsx(Notifications,{})})}),jsxRuntimeExports.jsx(Route,{path:"/team/:tab",element:jsxRuntimeExports.jsx(DashboardRoute,{fullWidth:!0,title:a("common.team"),children:jsxRuntimeExports.jsx(TeamPage,{})})}),jsxRuntimeExports.jsx(Route,{path:"/logs/:name?",element:jsxRuntimeExports.jsx(DashboardRoute,{scrollable:!1,fullWidth:!0,title:a("common.logs"),children:jsxRuntimeExports.jsx(LogPage,{})})}),jsxRuntimeExports.jsx(Route,{path:"/analytics/:tab",element:jsxRuntimeExports.jsx(DashboardRoute,{fullWidth:!0,title:a("common.analytics"),children:jsxRuntimeExports.jsx(AnalyticsPage,{})})}),jsxRuntimeExports.jsx(Route,{path:"/",element:jsxRuntimeExports.jsx(Navigate,{to:"/dashboard",replace:!0})}),jsxRuntimeExports.jsx(Route,{path:"/team",element:jsxRuntimeExports.jsx(Navigate,{to:"/team/members",replace:!0})}),jsxRuntimeExports.jsx(Route,{path:"/analytics",element:jsxRuntimeExports.jsx(Navigate,{to:"/analytics/traffic",replace:!0})}),jsxRuntimeExports.jsx(Route,{path:"/router",element:jsxRuntimeExports.jsx(Navigate,{to:"/router/rules",replace:!0})}),jsxRuntimeExports.jsx(Route,{path:"/settings",element:jsxRuntimeExports.jsx(Navigate,{to:"/settings/basic",replace:!0})}),jsxRuntimeExports.jsx(Route,{path:"/marketplace",element:jsxRuntimeExports.jsx(Navigate,{to:"/store",replace:!0})}),jsxRuntimeExports.jsx(Route,{path:"/marketplace/:did",element:jsxRuntimeExports.jsx(Navigate,{to:"/store/:did",replace:!0})}),jsxRuntimeExports.jsx(Route,{path:"*",element:jsxRuntimeExports.jsx(NotFoundPage,{})})]})})]})})}function UnprotectedWrapper({children:a}){const{node:j,session:_e}=useSharedContext();return j.loading||!_e.initialized&&_e.loading?jsxRuntimeExports.jsx(Center,{children:jsxRuntimeExports.jsx(CircularProgress,{})}):j.info.upgradeSessionId?jsxRuntimeExports.jsx(Center,{children:jsxRuntimeExports.jsx(MaintainProgress,{})}):a}function App(){const{changeLocale:a}=useLocaleContext(),j=useQuery();reactExports.useEffect(()=>{const et=j.get("locale");et&&["zh","en"].includes(et)&&a(et)},[]);const _e=jsxRuntimeExports.jsx(Center,{children:jsxRuntimeExports.jsx(CircularProgress,{})});return jsxRuntimeExports.jsx(reactExports.Suspense,{fallback:_e,children:jsxRuntimeExports.jsxs(Routes,{children:[jsxRuntimeExports.jsx(Route,{path:`${constant$3.WELLKNOWN_SERVICE_PATH_PREFIX}/issue-passport`,element:jsxRuntimeExports.jsx(UnprotectedWrapper,{children:jsxRuntimeExports.jsx(IssuePassport,{})})}),jsxRuntimeExports.jsx(Route,{path:`${constant$3.WELLKNOWN_SERVICE_PATH_PREFIX}/lost-passport`,element:jsxRuntimeExports.jsx(UnprotectedWrapper,{children:jsxRuntimeExports.jsx(LostPassport,{})})}),jsxRuntimeExports.jsx(Route,{path:`${constant$3.WELLKNOWN_SERVICE_PATH_PREFIX}/exchange-passport`,element:jsxRuntimeExports.jsx(UnprotectedWrapper,{children:jsxRuntimeExports.jsx(ExchangePassport,{})})}),jsxRuntimeExports.jsx(Route,{path:"/accept-server",element:jsxRuntimeExports.jsx(UnprotectedWrapper,{children:jsxRuntimeExports.jsx(NodeVerifyOwner,{action:"accept-server"})})}),jsxRuntimeExports.jsx(Route,{path:"/gen-key-pair/",element:jsxRuntimeExports.jsx(UnprotectedWrapper,{children:jsxRuntimeExports.jsx(GenKeyPair,{})})}),jsxRuntimeExports.jsx(Route,{path:"/launch-blocklet/*",element:jsxRuntimeExports.jsx(UnprotectedWrapper,{children:jsxRuntimeExports.jsx(LaunchBlockletProvider,{children:jsxRuntimeExports.jsx(BlockletLauncher,{})})})}),jsxRuntimeExports.jsx(Route,{path:"/blocklets/restore/*",element:jsxRuntimeExports.jsx(UnprotectedWrapper,{children:jsxRuntimeExports.jsx(BlockletAppProvider,{children:jsxRuntimeExports.jsx(BlockletRestore,{})})})}),jsxRuntimeExports.jsx(Route,{path:`${constant$3.WELLKNOWN_SERVICE_PATH_PREFIX}/invite`,element:jsxRuntimeExports.jsx(UnprotectedWrapper,{children:jsxRuntimeExports.jsx(Invite,{})})}),jsxRuntimeExports.jsx(Route,{path:"/*",element:jsxRuntimeExports.jsx(ProtectedApp,{})})]})})}function AppWrapper(){const a=window.env&&window.env.apiPrefix?window.env.apiPrefix:"/";return jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:[jsxRuntimeExports.jsx(CssBaseline,{}),jsxRuntimeExports.jsx(BrowserRouter,{history,basename:a,children:jsxRuntimeExports.jsx(Root$4,{children:jsxRuntimeExports.jsx(App,{})})})]})}const root=createRoot(document.getElementById("root"));root.render(jsxRuntimeExports.jsx(AppWrapper,{}));const prefix=window.env&&window.env.apiPrefix?window.env.apiPrefix:"/";register(`${prefix}/service-worker.js`.replace(/\/+/g,"/"),{registrationOptions:{scope:prefix},registered(){console.info("Service worker has been registered.")},ready(){console.info("Service worker is active.")},cached(){console.info("Content has been cached for offline use.")},updatefound(){console.info("New content is downloading.")},updated(){console.info("New content is available; please refresh.")},offline(){console.info("No internet connection found. App is running in offline mode.")},error(a){console.error("Error during service worker registration:",a)}});export{propTypesExports as $,constant$3 as A,ButtonComponent as B,CircularProgress as C,Dialog as D,useMediaQuery as E,lib$3 as F,Grid as G,util as H,ImageIcon as I,Link$3 as J,BlockletAppAvatar as K,Link$2 as L,Box as M,isEmpty$1 as N,FormControl as O,PropTypes as P,InputLabel as Q,RelativeTime$1 as R,Select as S,TagComponent as T,MenuItem$1 as U,Checkbox as V,WrappedDidAddress as W,Alert as X,formatError$1 as Y,Center as Z,_default$1 as _,useSubscription as a,axios$1 as a$,default_1$i as a0,cloneDeep as a1,api$1 as a2,joinURL$2 as a3,merge as a4,IconButton as a5,Confirm as a6,makeStyles as a7,ListItemSecondaryAction as a8,List as a9,useSessionContext as aA,Tooltip as aB,getBlockletMetaUrl as aC,ErrorBoundary as aD,ErrorFallback as aE,formatRegistryLogoPath as aF,engine as aG,Icon as aH,ListItemIcon as aI,ensureDomainAliases as aJ,normalizePathPrefix$1 as aK,sortBy as aL,getIp as aM,stringSortHandlerAsc as aN,getAccessUrl as aO,requireCreateSvgIcon as aP,interopRequireDefaultExports as aQ,history as aR,semver$1 as aS,useReactive as aT,useAsyncEffect as aU,default_1$7 as aV,sleep as aW,checkInputByType as aX,FormControlLabel as aY,Stack as aZ,_default$2 as a_,ListItem as aa,ListItemText as ab,getServerUrl as ac,useBlockletAppContext as ad,getAuthMethod as ae,ConfirmDialog as af,setSessionToken as ag,getRestoredAccessUrl as ah,Debug as ai,isEqual as aj,isServerlessBlockletInstalled as ak,getWsClient as al,useTheme$2 as am,useQuery as an,getPathPrefix as ao,HeaderAddon as ap,SessionContext as aq,Global as ar,Routes as as,Route as at,Navigate as au,css$1 as av,AvatarWithErrorBoundary as aw,formatToDatetime as ax,getLaunchAgreementUrl as ay,axios$4 as az,constant$1 as b,emphasize_1 as b$,shouldCheckDomainStatus as b0,formatMountPoint as b1,_default$5 as b2,Menu$1 as b3,checkIsWildcardDomain as b4,Popover as b5,Card as b6,formatToDate as b7,sortDomains as b8,default_1$2 as b9,createPassportSvg as bA,getWalletType as bB,__vitePreload as bC,useCreation as bD,BlockletAdminRoles as bE,isInstalling as bF,Badge as bG,NavLink$1 as bH,createAppPassportSvg as bI,SetCache as bJ,arrayIncludes$1 as bK,arrayIncludesWith as bL,cacheHas as bM,baseUniq as bN,baseFlatten as bO,baseRest as bP,last as bQ,arrayFilter as bR,isArrayLikeObject as bS,Component$e as bT,isDownloading as bU,getBlockletUrl as bV,getBlockletUrlParams as bW,createSvgIcon$1 as bX,styled$1 as bY,ButtonBase as bZ,_extends$3 as b_,Collapse as ba,default_1$3 as bb,isUrl$1 as bc,__awaiter as bd,__generator as be,__spread as bf,React$3 as bg,dayjs$2 as bh,Divider as bi,isCertificateMatch as bj,getDefaultExportFromCjs$1 as bk,FormHelperText as bl,NodeContext as bm,useParams as bn,__spreadArrays as bo,__assign as bp,useNodeContext$1 as bq,uniqBy as br,useRequest as bs,parseAvatar as bt,lib$5 as bu,UserCard as bv,CardType as bw,InfoType as bx,BlockletAvatar as by,DidAddressWrapper as bz,createCompounder as c,getAugmentedNamespace as c$,_objectWithoutPropertiesLoose$2 as c0,generateUtilityClasses as c1,generateUtilityClass as c2,useDefaultProps as c3,useSlotProps as c4,clsx$1 as c5,composeClasses as c6,toSlotDomain as c7,omit$1 as c8,fixBlocklet as c9,useBrowser as cA,Avatar$1 as cB,isFromWallet as cC,Container$7 as cD,isFunction$4 as cE,usePassportId as cF,LandingPage as cG,useLaunchBlockletContext as cH,useSecurity as cI,authorize as cJ,default_1$a as cK,isNewStoreUrl as cL,getAccessibleUrl as cM,getBlockletLogoUrl as cN,Img as cO,getSafeUrl as cP,useLocation as cQ,useMount as cR,blockletSdk as cS,API_DID_PREFIX as cT,formatDateTime as cU,getExplorerLink as cV,patchJsxToLocale as cW,SessionContext$1 as cX,flat$1 as cY,en$2 as cZ,LocaleProvider as c_,isProtectedRole as ca,baseOrderBy as cb,isArray$6 as cc,rootShouldForwardProp as cd,SwitchBase as ce,capitalize$2 as cf,alpha_1 as cg,createChainedFunction$1 as ch,useControlled as ci,useForkRef as cj,useId as ck,FormGroup as cl,memoize$3 as cm,defaultCheckAccessible as cn,getBlockletUrls as co,urlEvaluation as cp,ButtonGroupContext as cq,ButtonGroupButtonContext as cr,useNotificationContext as cs,util$1 as ct,NotificationList as cu,useMemoizedFn as cv,isNumber$3 as cw,__read as cx,useLatest as cy,defaultDayjs as cz,LinearProgress as d,keyframes as d$,Theme as d0,ReactDOM as d1,global$2 as d2,punycodeExports as d3,commonjsGlobal as d4,copy$1 as d5,dist$4 as d6,Util as d7,require$$3 as d8,getSessionToken as d9,createSpacing as dA,createBreakpoints as dB,createTheme$1 as dC,private_safeDarken_1 as dD,private_safeLighten_1 as dE,private_safeEmphasize_1 as dF,private_safeAlpha_1 as dG,private_safeColorChannel_1 as dH,defaultSxConfig as dI,styleFunctionSx$1 as dJ,getOverlayAlpha as dK,hslToRgb_1 as dL,THEME_ID as dM,createTypography as dN,StyledEngineProvider as dO,ThemeProvider$1 as dP,alpha$1 as dQ,createMuiTheme as dR,darken$1 as dS,decomposeColor$1 as dT,duration as dU,easing as dV,emphasize$1 as dW,getContrastRatio$1 as dX,getLuminance$1 as dY,hexToRgb$1 as dZ,hslToRgb$1 as d_,SvgLogo as da,isNumber as db,hoistStatics as dc,useEnhancedEffect$1 as dd,debounce$3 as de,ownerWindow as df,useRtl as dg,KeyboardArrowLeft as dh,KeyboardArrowRight as di,useEventCallback$1 as dj,ownerDocument as dk,colors$2 as dl,getMaster as dm,decodeConnectUrl as dn,parseTokenFromConnectUrl as dp,default_1$4 as dq,upperFirst as dr,camelCase$1 as ds,ClickToCopy as dt,formatMuiErrorMessage$1 as du,useTheme$3 as dv,deepmerge$1 as dw,GlobalStyles$2 as dx,ThemeProvider$2 as dy,toPropertyKey$3 as dz,useBlockletsContext as e,getTablePaginationUtilityClass as e$,lighten$1 as e0,createMixins as e1,recomposeColor$1 as e2,responsiveFontSizes as e3,rgbToHex$1 as e4,getUnit as e5,toUnitless as e6,Paper as e7,getPaperUtilityClass as e8,paperClasses as e9,getInputUtilityClass as eA,inputClasses as eB,getInputLabelUtilityClasses as eC,inputLabelClasses as eD,getListItemTextUtilityClass as eE,listItemTextClasses as eF,PopoverPaper as eG,PopoverRoot as eH,getOffsetLeft as eI,getOffsetTop as eJ,getPopoverUtilityClass as eK,popoverClasses as eL,getMenuItemUtilityClass as eM,menuItemClasses as eN,getSelectUtilityClasses as eO,selectClasses as eP,getTooltipUtilityClass as eQ,tooltipClasses as eR,TableContext as eS,Tablelvl2Context as eT,TableCell as eU,getTableCellUtilityClass as eV,tableCellClasses as eW,Toolbar as eX,getToolbarUtilityClass as eY,toolbarClasses as eZ,TablePagination as e_,getIconButtonUtilityClass as ea,iconButtonClasses as eb,getTypographyUtilityClass as ec,typographyClasses as ed,chipClasses as ee,Chip as ef,getChipUtilityClass as eg,InputBase$1 as eh,getInputBaseUtilityClass as ei,inputBaseClasses as ej,buttonClasses as ek,Button as el,getButtonUtilityClass as em,checkboxClasses as en,getCheckboxUtilityClass as eo,formControlClasses as ep,getFormControlUtilityClasses as eq,useFormControl as er,formControlLabelClasses as es,getFormControlLabelUtilityClasses as et,formGroupClasses as eu,getFormGroupUtilityClass as ev,getGridUtilityClass as ew,gridClasses as ex,Grow as ey,Input as ez,LocaleContext as f,colors as f$,tablePaginationClasses as f0,getTextFieldUtilityClass as f1,textFieldClasses as f2,isArrayLike as f3,baseIteratee as f4,keys$1 as f5,toInteger as f6,baseFindIndex as f7,emotionSerialize_esm as f8,emotionUtils_browser_esm as f9,useThemeProps as fA,defaultTheme$2 as fB,cloneDeep$1 as fC,toString$d as fD,Skeleton as fE,create$7 as fF,ThemeProvider$4 as fG,HeaderAddons as fH,Hidden as fI,Check$1 as fJ,isString$1 as fK,withQuery$1 as fL,createAxios$2 as fM,OutlinedInput as fN,default_1$k as fO,pick as fP,omitBy as fQ,default_1$b as fR,Drawer as fS,parseURL as fT,parseQuery as fU,parseFilename as fV,stringifyParsedURL as fW,useDebounceFn as fX,Dialog$1 as fY,InputAdornment as fZ,Dt as f_,reactDomExports as fa,Close as fb,isObject$b as fc,urlExports as fd,require$$3$1 as fe,DID as ff,noop$5 as fg,ClickAwayListener as fh,MenuList as fi,Popper as fj,SvgIcon as fk,process$1$1 as fl,Buffer$4 as fm,lib$4 as fn,urlPathFriendly$1 as fo,usePreviousProps as fp,setRef as fq,outlinedInputClasses as fr,filledInputClasses as fs,ClearIcon as ft,ArrowDropDownIcon as fu,listItemButtonClasses as fv,ListContext as fw,getListItemButtonUtilityClass as fx,emotionCache_browser_esm as fy,emotionReact_browser_esm as fz,useTheme as g,BlockletSDK as g$,getTargetElement as g0,useEventListener as g1,useUpdateEffect as g2,__spreadArray as g3,clamp$1 as g4,useIsFocusVisible as g5,extractEventHandlers as g6,isHostComponent as g7,lighten_1 as g8,darken_1 as g9,ripemd160 as gA,lib$6 as gB,resolveComponentProps as gC,Component$5 as gD,getInviteLink$1 as gE,getIssuePassportLink as gF,uniqBy$1 as gG,isNodeOwner as gH,isSelf as gI,PasskeyActions as gJ,getTextColor_1 as gK,useConfirm as gL,lib$1 as gM,createPassportSvg$2 as gN,requireMs as gO,Typography as gP,trim as gQ,createUseStorageState as gR,isBrowser$2 as gS,root$3 as gT,loadIcon as gU,Fade as gV,BLOCKLET_SERVICE_PATH_PREFIX$1 as gW,getTranslation as gX,SessionPermission as gY,NAVIGATION_URL as gZ,browser$4 as g_,slotShouldForwardProp as ga,resolveProps as gb,normalizePathPrefix_1 as gc,debounce$1 as gd,noop$6 as ge,_default$3 as gf,formatTime as gg,debounce as gh,RelativeTime as gi,default_1$c as gj,CopyButton as gk,useUpdate as gl,tmp as gm,util$7 as gn,requireShams as go,callBound$2 as gp,objectKeys$4 as gq,esObjectAtoms as gr,hasPropertyDescriptors_1 as gs,defineDataProperty as gt,callBindExports as gu,callBound$4 as gv,safeBufferExports as gw,requireBrowser$9 as gx,requireElliptic as gy,requireCryptoBrowserify as gz,get$5 as h,Transition as h$,highlight as h0,func as h1,purify as h2,SnackbarContent as h3,green as h4,amber as h5,common$7 as h6,useSnackbar as h7,data$2 as h8,Component$6 as h9,AxiosError as hA,isUndefined$1 as hB,RELAY_SOCKET_PREFIX$1 as hC,useConnect as hD,identity as hE,arrayEach as hF,baseEach as hG,arrayMap as hH,baseMap as hI,baseForOwn as hJ,isPlainObject$2 as hK,require$$10 as hL,throttle$2 as hM,jsonStableStringify as hN,semver as hO,browserExports as hP,require$$0$1 as hQ,isAbsoluteUrl as hR,require$$2 as hS,dist$1 as hT,dialogClasses as hU,FocusTrap as hV,TransitionGroup as hW,useTheme$4 as hX,localizedFormatPlugin as hY,_inheritsLoose$4 as hZ,forceReflow as h_,translate as ha,DialogContent as hb,DialogActions as hc,LocaleSelector as hd,SessionUser as he,default_1$l as hf,ResponsiveHeader as hg,withErrorBoundary as hh,Products as hi,ThemeProvider as hj,NavMenu as hk,grey$1 as hl,DashboardWrapper as hm,BLOCKLET_SERVICE_PATH_PREFIX as hn,commonjsRequire as ho,Backdrop as hp,_default$4 as hq,getVisitorId$1 as hr,PROFILE_URL as hs,useUnmount as ht,requireObjectWithoutPropertiesLoose as hu,adapter as hv,Buffer$1$1 as hw,base64$1 as hx,flat as hy,createAuthServiceSessionContext as hz,filesize as i,columnGap as i$,Component$h as i0,isIndex$1 as i1,_typeof$2 as i2,useSize as i3,objectAssign$1 as i4,__extends as i5,isServerless as i6,isFunction$3 as i7,omit$2 as i8,getLocale$1 as i9,createContainer as iA,createTheme$3 as iB,styled$2 as iC,extendSxProp as iD,isMuiElement as iE,createStack as iF,GlobalStyles$1 as iG,RtlProvider as iH,backgroundColor as iI,bgcolor as iJ,blend$1 as iK,border as iL,borderBottom as iM,borderBottomColor as iN,borderColor as iO,borderLeft as iP,borderLeftColor as iQ,borderRadius as iR,borderRight as iS,borderRightColor as iT,borderTop as iU,borderTopColor as iV,borderTransform as iW,boxSizing as iX,breakpoints as iY,color$1 as iZ,colorChannel$1 as i_,isDidDomainOrIpEchoDomain as ia,default_1$1 as ib,validateDomain as ic,require$$6 as id,axios_1 as ie,trim$1 as ig,retry as ih,getSystemDomains as ii,DefaultPropsProvider as ij,useDefaultProps$1 as ik,compose as il,style$4 as im,borders as io,grid as ip,palette as iq,sizing as ir,spacing as is,globalStateClasses as it,isGlobalState as iu,createBox as iv,ClassNameGenerator as iw,Timeout as ix,useTimeout as iy,teardown as iz,jsxRuntimeExports as j,data$x as j$,createStyled$2 as j0,createUnarySpacing as j1,createUnaryUnit as j2,gap as j3,getPath$1 as j4,getStyleFromPropValue as j5,getStyleValue$1 as j6,getThemeProps as j7,getValue$3 as j8,gridArea as j9,private_safeLighten$1 as jA,rowGap as jB,shape as jC,shouldForwardProp$1 as jD,sizeHeight as jE,sizeWidth as jF,sizingTransform as jG,systemDefaultTheme$1 as jH,unstable_createStyleFunctionSx as jI,resolveBreakpointValues as jJ,useTheme$5 as jK,width as jL,ENTERED as jM,ENTERING as jN,EXITING as jO,TransitionGroupContext as jP,config$2 as jQ,copyArray as jR,baseIndexOf as jS,useAppLogo as jT,getTransferAppLink as jU,require$$0$8 as jV,require$$1$2 as jW,uniq as jX,data$z as jY,data$y as jZ,data$A as j_,gridAutoColumns as ja,gridAutoFlow as jb,gridAutoRows as jc,gridColumn as jd,gridRow as je,gridTemplateAreas as jf,gridTemplateColumns as jg,gridTemplateRows as jh,handleBreakpoints as ji,height as jj,margin as jk,marginKeys as jl,maxHeight as jm,maxWidth as jn,mergeBreakpointsInOrder as jo,minHeight as jp,minWidth as jq,outline as jr,outlineColor as js,padding as jt,paddingKeys as ju,paletteTransform as jv,private_safeAlpha$1 as jw,private_safeColorChannel$1 as jx,private_safeDarken$1 as jy,private_safeEmphasize$1 as jz,Typography$1 as k,createTheme as k$,isNil as k0,base32_1 as k1,sleep$3 as k2,withTrailingSlash as k3,clsx$2 as k4,require$$1$8 as k5,require$$1$9 as k6,require$$4$3 as k7,colorManipulator as k8,require$$6$5 as k9,isIncludeActivity as kA,isUserActor as kB,ActorAvatar as kC,SendComponentAvatar as kD,Activity as kE,NotificationContent$1 as kF,AvatarGroup as kG,_unsupportedIterableToArray as kH,_setPrototypeOf$1 as kI,_assertThisInitialized$1 as kJ,_createClass as kK,CacheProvider as kL,createCache as kM,StyleSheet$1 as kN,ThemeContext$1 as kO,React$4 as kP,isPlainObject$3 as kQ,require$$2$4 as kR,require$$6$6 as kS,getReactElementRef as kT,createPopper as kU,getScrollbarSize as kV,isValidClusterSize as kW,extractStatusUrlFromNextWorkflow as kX,pWaitFor$1 as kY,hasRequiredSteps as kZ,getStoreList as k_,require$$6$4 as ka,createStyled$1 as kb,require$$5$1 as kc,BLOCKLET_THEME_LIGHT as kd,isNil$1 as ke,require$$9 as kf,hoistNonReactStatics_cjs as kg,functionPlugin as kh,jssGlobal as ki,jssNested as kj,camelCase as kk,defaultUnit as kl,jssVendorPrefixer as km,jssPropsSort as kn,createJss as ko,getDynamicStyles as kp,withoutLeadingSlash as kq,fetchSvgAsPng as kr,blobToFile as ks,withoutTrailingSlash as kt,isAbsoluteUrl$1 as ku,isEqual$4 as kv,useEffectWithTarget$1 as kw,__values as kx,isString$3 as ky,FormLabel as kz,formatLocale as l,flatten$2 as l0,trimEnd as l1,DialogTitle as l2,isNull$2 as l3,orange as l4,purple as l5,useLocalStorageState as l6,baseAssignValue as l7,retry$1 as l8,isNetworkError as l9,pTimeout$2 as la,TimeoutError_1 as lb,GlobalStyles as lc,createRoot as ld,Phone as le,Location as lf,Email as lg,Timezone as lh,useLocaleContext as m,newStyled as n,_default as o,prettyMs as p,DialogContentText as q,reactExports as r,styled as s,TextField as t,useNodeContext as u,DidConnect as v,getWebWalletUrl as w,useNavigate as x,Toast$1 as y,useSearchParams as z};