@abtnode/blocklet-services 1.17.4-beta-20251202-034514-637cd8e2 → 1.17.4-beta-20251202-122551-267b614d

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 (211) hide show
  1. package/api/routes/user.js +2 -0
  2. package/api/services/notification/queue.js +100 -37
  3. package/api/socket/channel/did.js +48 -0
  4. package/api/util/user-util.js +6 -1
  5. package/dist/assets/{AdapterDayjs-OZNn2tpO.js → AdapterDayjs-BuAhqT20.js} +1 -1
  6. package/dist/assets/{Google-PoHjNVzr.js → Google-Dp7qGnxg.js} +1 -1
  7. package/dist/assets/{access-control-BpDf5eCc.js → access-control-B9EJ5tQF.js} +1 -1
  8. package/dist/assets/{actions-CIp6hu8_.js → actions-DhSvOHy-.js} +1 -1
  9. package/dist/assets/{add-component-core-DZMleaf7.js → add-component-core-VVqL08Uq.js} +21 -21
  10. package/dist/assets/{add-resource-fReirUEj.js → add-resource-DPXu2LFD.js} +1 -1
  11. package/dist/assets/{addon-CD2tT3Vk.js → addon-DimuRKXu.js} +1 -1
  12. package/dist/assets/{advanced-D_HYmeDL.js → advanced-C-M8n1zk.js} +1 -1
  13. package/dist/assets/{aigne-DKzLdZPY.js → aigne-Blnb_Xmg.js} +1 -1
  14. package/dist/assets/{appearance-DoI_K1yx.js → appearance-DcbXeaDh.js} +1 -1
  15. package/dist/assets/ar-C89Z16Ql.js +7 -0
  16. package/dist/assets/{arrow-down.svg-mj2eIUoA.js → arrow-down.svg-CNh-MHKv.js} +1 -1
  17. package/dist/assets/{audit-logs-CBeb46aa.js → audit-logs-D0mYj6Ut.js} +1 -1
  18. package/dist/assets/{authorize-BQTDaD7S.js → authorize-CZdmLVec.js} +1 -1
  19. package/dist/assets/{base-chart-DvlyWvB2.js → base-chart-DJyGks5q.js} +1 -1
  20. package/dist/assets/{base32-AX-I0UaR.js → base32-CnxuWLTI.js} +1 -1
  21. package/dist/assets/{bind-account--wlCwoIh.js → bind-account-GnACtKqD.js} +1 -1
  22. package/dist/assets/{branding-Sd6X0YqE.js → branding-CFP8OuF1.js} +1 -1
  23. package/dist/assets/branding-CihykCDo.js +1 -0
  24. package/dist/assets/{branding-CMNxsyrp.js → branding-DmNLEN0a.js} +4 -4
  25. package/dist/assets/{bundle-avatar-DACPWlAj.js → bundle-avatar-D3mFZG-3.js} +1 -1
  26. package/dist/assets/button-pTTwNqRf.js +1 -0
  27. package/dist/assets/{click-to-copy-DZ_4RDjR.js → click-to-copy-CAd3nEo4.js} +1 -1
  28. package/dist/assets/{collapse-CHg4yEHL.js → collapse-CzqKk-Uw.js} +1 -1
  29. package/dist/assets/{complete-BIrSCTBJ.js → complete-BDYaBiHT.js} +1 -1
  30. package/dist/assets/{component-BrH7uZv7.js → component-D_iXTtDp.js} +2 -2
  31. package/dist/assets/{config-BbbJtsEK.js → config--X9TgCMx.js} +1 -1
  32. package/dist/assets/{config-C0IukdMa.js → config-C_UzRk_x.js} +3 -3
  33. package/dist/assets/{config-navigation-CPqSm2b8.js → config-navigation-zOEBEK_N.js} +2 -2
  34. package/dist/assets/{config-space-B6ikfnoY.js → config-space-D1vOxWrR.js} +1 -1
  35. package/dist/assets/{config-BlvlFPnu.js → config-xLf7B5vm.js} +1 -1
  36. package/dist/assets/{confirm-Dge1BR0a.js → confirm-CC1M9sYT.js} +1 -1
  37. package/dist/assets/{connect-DwftqrTP.js → connect-4mXUuWwC.js} +1 -1
  38. package/dist/assets/{connect-DwfU2nBg.js → connect-BpoYmTzp.js} +1 -1
  39. package/dist/assets/{connect-to-D3Fxg-mH.js → connect-to-YDMOcSyq.js} +1 -1
  40. package/dist/assets/{content-layout-RghQFMLL.js → content-layout-B-2tfq3i.js} +1 -1
  41. package/dist/assets/{create-passport-svg-BZVXsAoP.js → create-passport-svg-BLBQxsEK.js} +1 -1
  42. package/dist/assets/{createClass-dlbhjEVd.js → createClass-mqcDPFI4.js} +1 -1
  43. package/dist/assets/{dashboard-BZMyxtap.js → dashboard-DeaTlS85.js} +2 -2
  44. package/dist/assets/de-BsCDrfBl.js +7 -0
  45. package/dist/assets/{delete-confirm-CaK42Rqi.js → delete-confirm-DF03c_mf.js} +1 -1
  46. package/dist/assets/{did-address-CihvGtuj.js → did-address-BOsJWqi1.js} +1 -1
  47. package/dist/assets/{domain-DZhOKUFR.js → domain-DdkBc4bt.js} +1 -1
  48. package/dist/assets/{domain-action-card-KBcfeUDt.js → domain-action-card-B8tM4_TO.js} +1 -1
  49. package/dist/assets/domains-CdpvlDLA.js +1 -0
  50. package/dist/assets/{email-mM-fSS-l.js → email-DOKW1a_7.js} +1 -1
  51. package/dist/assets/{empty-spinner-2ylB84wv.js → empty-spinner-G6osPzkH.js} +1 -1
  52. package/dist/assets/engine-BsqbrwXE.js +1 -0
  53. package/dist/assets/es-BJh_XsEm.js +9 -0
  54. package/dist/assets/{exchange-passport-CL0-QMoV.js → exchange-passport-Dnbu3e66.js} +1 -1
  55. package/dist/assets/{form-BQvsWiOt.js → form-mmswDYpL.js} +1 -1
  56. package/dist/assets/form-text-input-BFJU5Psq.js +11 -0
  57. package/dist/assets/{form-wrapper-CqFSijKV.js → form-wrapper-CU8kJXy5.js} +1 -1
  58. package/dist/assets/fr-DRJMwn7V.js +7 -0
  59. package/dist/assets/{fuel-BpMa6xEp.js → fuel-CpCUHgkW.js} +1 -1
  60. package/dist/assets/{gen-access-key-BLtBtR5W.js → gen-access-key-OHc0npoi.js} +1 -1
  61. package/dist/assets/{gen-simple-access-key-9tFWfYxA.js → gen-simple-access-key-C6tIufX7.js} +1 -1
  62. package/dist/assets/get-safe-url-DUB5fSqh.js +1 -0
  63. package/dist/assets/hi-h-9Yl5g9.js +5 -0
  64. package/dist/assets/{home-BG4Bn0-p.js → home-BFI-HNBw.js} +1 -1
  65. package/dist/assets/id-BDWggRsa.js +7 -0
  66. package/dist/assets/{iframe-BjsS1KQR.js → iframe-DB0OcQ6i.js} +1 -1
  67. package/dist/assets/{index-B00Da_zr.js → index-3hHmW6B5.js} +1 -1
  68. package/dist/assets/{index-DsQDfClt.js → index-7uZYu-Ep.js} +1 -1
  69. package/dist/assets/{index-bbu7QFpz.js → index-BIJNkmLb.js} +1 -1
  70. package/dist/assets/{index-sfOXn4Gu.js → index-BMkJtBkv.js} +2 -2
  71. package/dist/assets/{index-C40tsw4I.js → index-Bj8J6jnM.js} +1 -1
  72. package/dist/assets/{index-D6MFQa2J.js → index-Bksy_mMO.js} +1 -1
  73. package/dist/assets/{index-B8mnhcds.js → index-Bns8G6yV.js} +2 -2
  74. package/dist/assets/{index-DEDj0oVc.js → index-BphmxdkH.js} +1 -1
  75. package/dist/assets/index-BsP0-mXD.js +124 -0
  76. package/dist/assets/{index-B8uWH9ks.js → index-BuIBrsUM.js} +1 -1
  77. package/dist/assets/index-Bw9XS3Zt.js +7 -0
  78. package/dist/assets/{index-CxJOg5jI.js → index-C3BK6ln_.js} +1 -1
  79. package/dist/assets/{index-B9Igf2rm.js → index-C3cD5fjJ.js} +1 -1
  80. package/dist/assets/{index-h0Os_ox8.js → index-CDE0c6ul.js} +1 -1
  81. package/dist/assets/{index-BmuOS9l2.js → index-CDFYQ7q2.js} +1 -1
  82. package/dist/assets/{index-5hr4oNRS.js → index-CEyMJtzZ.js} +3 -3
  83. package/dist/assets/{index-KUb_kVWp.js → index-CHbWK92_.js} +2 -2
  84. package/dist/assets/{index-BF7MtybM.js → index-Ca4Ccmqm.js} +1 -1
  85. package/dist/assets/{index-lFDZOk_k.js → index-CeWTwSLE.js} +66 -66
  86. package/dist/assets/{index-B4Q4y_7n.js → index-CtouYMiN.js} +1 -1
  87. package/dist/assets/{index-D9UpcFKi.js → index-D0pDhWRx.js} +1 -1
  88. package/dist/assets/{index-BVYUGxzR.js → index-D8w8SYuc.js} +1 -1
  89. package/dist/assets/{index-Cy73v3o9.js → index-DUFdTykg.js} +1 -1
  90. package/dist/assets/{index-BIlfbBZ2.js → index-DWuLUiY3.js} +1 -1
  91. package/dist/assets/index-Duwa2sz8.js +1 -0
  92. package/dist/assets/{index-CO3X6G_g.js → index-Dx6HKVtJ.js} +1 -1
  93. package/dist/assets/{index-yGC4DbEU.js → index-Dy3yCmIK.js} +1 -1
  94. package/dist/assets/{index-BUomsang.js → index-V1TR40-z.js} +1 -1
  95. package/dist/assets/{index-BoeLorfn.js → index-WCk612vr.js} +1 -1
  96. package/dist/assets/{index-BzCDxVOL.js → index-Xg-It3qI.js} +1 -1
  97. package/dist/assets/{index-CgTWMV4T.js → index-ohq48KFN.js} +1 -1
  98. package/dist/assets/{index-V83VNrab.js → index-wS_uPsSR.js} +1 -1
  99. package/dist/assets/{invitation-LJOuA09f.js → invitation-BqyhoSaQ.js} +1 -1
  100. package/dist/assets/{invitations-DtmYY9Tr.js → invitations-Dmx5LkD1.js} +1 -1
  101. package/dist/assets/{invite-DrIYCYzj.js → invite-E-ZdmNWy.js} +1 -1
  102. package/dist/assets/{isURL-fcz3vuMN.js → isURL-HS60va5G.js} +1 -1
  103. package/dist/assets/{issue-passport-Dv9gH2LH.js → issue-passport-DhA2Aw2n.js} +1 -1
  104. package/dist/assets/{item-weuCOdTL.js → item-B8ah25gH.js} +1 -1
  105. package/dist/assets/ja-R9EF3xbB.js +9 -0
  106. package/dist/assets/ko-C_QLPZyk.js +9 -0
  107. package/dist/assets/{landing-page-Djj9jDve.js → landing-page-DQBBERn_.js} +1 -1
  108. package/dist/assets/{launch-result-message-AcBN2VCj.js → launch-result-message-CO-R7GIB.js} +1 -1
  109. package/dist/assets/{layout-0zU7a-3v.js → layout-DUsIwJhf.js} +1 -1
  110. package/dist/assets/{list-DXe9E4ws.js → list-C6OYD0M-.js} +3 -3
  111. package/dist/assets/{list-Co62gn7d.js → list-CLMUEykk.js} +1 -1
  112. package/dist/assets/{list-header-CA-QkwGq.js → list-header-Cv_gaaAc.js} +1 -1
  113. package/dist/assets/localization-CutEJG9u.js +1 -0
  114. package/dist/assets/{log-BCC7blv9.js → log-CaIfb_mj.js} +1 -1
  115. package/dist/assets/logger-CjpdOowp.js +1 -0
  116. package/dist/assets/{login-DlWL3WVr.js → login-N9lwWO_e.js} +1 -1
  117. package/dist/assets/{login-oauth-callback-CQFS2s22.js → login-oauth-callback-U2rdasmV.js} +1 -1
  118. package/dist/assets/{logo-uploader-Dz85eY-W.js → logo-uploader-BgXq5jHQ.js} +1 -1
  119. package/dist/assets/{lost-passport-pRlBbp2M.js → lost-passport-CPwExoAp.js} +1 -1
  120. package/dist/assets/{observability-Bzq6nAvX.js → observability-SEfRhcXj.js} +1 -1
  121. package/dist/assets/{open-window-X4W6wF0y.js → open-window-BPgl9r9H.js} +1 -1
  122. package/dist/assets/{over-due-invoice-payment-CvKa0suc.js → over-due-invoice-payment-Hi-FNl9O.js} +1 -1
  123. package/dist/assets/{overview-d6xffU9N.js → overview-DPJo9CyG.js} +2 -2
  124. package/dist/assets/{page-header-B4MDj6gy.js → page-header-BkgoSN-0.js} +1 -1
  125. package/dist/assets/{passport-DHiNUeVn.js → passport-DMZiwbhL.js} +1 -1
  126. package/dist/assets/{passport-item-BkmVlAdr.js → passport-item-yqBy6NcY.js} +1 -1
  127. package/dist/assets/{permission-B3_OQqtH.js → permission-CiiVpApl.js} +1 -1
  128. package/dist/assets/{playground-C71u8_tm.js → playground-Bo63Spph.js} +1 -1
  129. package/dist/assets/preferences-YgFBqLbX.js +1 -0
  130. package/dist/assets/profile-embed-C35dSucs.js +1 -0
  131. package/dist/assets/pt-DpYO8djd.js +5 -0
  132. package/dist/assets/{publish-resource-Aoo5xCZX.js → publish-resource-DUDgKqzf.js} +1 -1
  133. package/dist/assets/{react-beautiful-dnd.esm--C1KYPc1.js → react-beautiful-dnd.esm-Clor-N66.js} +1 -1
  134. package/dist/assets/{react-stripe.esm-DlJMzZK2.js → react-stripe.esm-C-04j7I2.js} +1 -1
  135. package/dist/assets/{required-glXJjYm5.js → required-Btg6mEmX.js} +1 -1
  136. package/dist/assets/ru-DkZtar3s.js +5 -0
  137. package/dist/assets/{runtime-xK-SJ1cq.js → runtime-B_yu4wL5.js} +1 -1
  138. package/dist/assets/sdk-D9qYMy_G.js +1 -0
  139. package/dist/assets/{section-4gVAq_Fp.js → section-Cyr0YvGa.js} +1 -1
  140. package/dist/assets/{security-B3q0KDVH.js → security-YhrYNktK.js} +1 -1
  141. package/dist/assets/{session-DR7jqIW5.js → session-CJQ7HeL8.js} +1 -1
  142. package/dist/assets/{setup-CPrn9v2_.js → setup-DVxC6L1D.js} +1 -1
  143. package/dist/assets/{shorten-label-Cf--RqV-.js → shorten-label-D6jbe4l0.js} +1 -1
  144. package/dist/assets/{simple-select-SyYgbCc2.js → simple-select-BW6-FLlf.js} +1 -1
  145. package/dist/assets/{spaces-C_pXJSzm.js → spaces-DB-xtAK9.js} +1 -1
  146. package/dist/assets/{start-BUxgx8Ah.js → start-CnOduVio.js} +1 -1
  147. package/dist/assets/{starting-progress-BP_Sqg1X.js → starting-progress-Qp2T3eDZ.js} +1 -1
  148. package/dist/assets/{status-CE6iXPs_.js → status-B2iiuI6t.js} +1 -1
  149. package/dist/assets/{step-actions-tRQyAl6A.js → step-actions-D7ku0W0o.js} +1 -1
  150. package/dist/assets/{studio-bbXFMut7.js → studio-DtnYEBjZ.js} +1 -1
  151. package/dist/assets/switch-CjOUxynL.js +1 -0
  152. package/dist/assets/{switch-control-DdOZdvsu.js → switch-control-BFsTsyuN.js} +1 -1
  153. package/dist/assets/{table-tips-cVuoMOXE.js → table-tips-EHWVzPWe.js} +1 -1
  154. package/dist/assets/{team-KWOyNaWn.js → team-CKeHAIQC.js} +1 -1
  155. package/dist/assets/th-04iX5CrT.js +5 -0
  156. package/dist/assets/{traffic-ChddnVTm.js → traffic-NcU-KhYi.js} +1 -1
  157. package/dist/assets/{transfer-CcCi6t4X.js → transfer-CB2s8PFZ.js} +1 -1
  158. package/dist/assets/{unsubscribe-Bp5VQCnR.js → unsubscribe-a8AJuSFd.js} +1 -1
  159. package/dist/assets/{use-app-logo-hGlkw2d_.js → use-app-logo-D38VoM1R.js} +1 -1
  160. package/dist/assets/{use-mobile-BpPz1bKz.js → use-mobile-C5RjvO7g.js} +1 -1
  161. package/dist/assets/{use-mobile-DoKVMODs.js → use-mobile-ajdJIsoX.js} +1 -1
  162. package/dist/assets/{use-server-logo-UGU40YsW.js → use-server-logo-D4Yh4atf.js} +1 -1
  163. package/dist/assets/{use-window-close-CbUhh9L6.js → use-window-close-Bo92fPIm.js} +1 -1
  164. package/dist/assets/{useAsyncRetry-DHTJ61Jg.js → useAsyncRetry-a2Wewn3F.js} +1 -1
  165. package/dist/assets/{useLocalStorage-UFpv-3wa.js → useLocalStorage-BBhMedc2.js} +1 -1
  166. package/dist/assets/{user-center-CXduwafJ.js → user-center-BNMJJTvG.js} +2 -2
  167. package/dist/assets/{user-follower-CmGz7Inx.js → user-follower-BXm4RUI2.js} +1 -1
  168. package/dist/assets/{util-MbDHkO8z.js → util-DPC-rfKa.js} +1 -1
  169. package/dist/assets/{util-D-cKMKUM.js → util-MwdZAHoO.js} +1 -1
  170. package/dist/assets/{vendor-arcblock-3xKfH3F1.js → vendor-arcblock-BL_VyzmH.js} +1 -1
  171. package/dist/assets/{vendor-mui-core-DHT36AZL.js → vendor-mui-core-BPQ6AEW_.js} +2 -2
  172. package/dist/assets/{vendor-mui-x-B4OOX5Es.js → vendor-mui-x-CWNb8fsW.js} +1 -1
  173. package/dist/assets/{vendor-ux-sqP3hEhY.js → vendor-ux-D507n6h6.js} +1 -1
  174. package/dist/assets/vi-kOP0E9Ga.js +5 -0
  175. package/dist/assets/{wait-connect-DDyEqw4h.js → wait-connect-Of13xq9u.js} +1 -1
  176. package/dist/assets/{wizard-B588KidT.js → wizard-BXTkkerl.js} +1 -1
  177. package/dist/assets/{wizard-components-DP7Z_TTm.js → wizard-components-BZ6jYzgt.js} +1 -1
  178. package/dist/assets/wrap-locale-CPp4ppiN.js +1 -0
  179. package/dist/assets/{zh-C_L8CY4f.js → zh-8l1HXCDx.js} +1 -1
  180. package/dist/assets/{zh-98nxdLeR.js → zh-DZI4Yy2m.js} +3 -3
  181. package/dist/assets/{zh-tw-BdDE7n5E.js → zh-tw-BLapUUeq.js} +2 -2
  182. package/dist/index.html +1 -1
  183. package/dist/service-worker.js +1 -1
  184. package/package.json +23 -23
  185. package/dist/assets/ar-BJZY7v5z.js +0 -7
  186. package/dist/assets/branding-Bs3FNZ79.js +0 -1
  187. package/dist/assets/button-8Nchte_6.js +0 -1
  188. package/dist/assets/de-BF0NHTXz.js +0 -7
  189. package/dist/assets/domains-Dr63r27w.js +0 -1
  190. package/dist/assets/engine-BCYKeHn7.js +0 -1
  191. package/dist/assets/es-Dv2m4LXp.js +0 -9
  192. package/dist/assets/form-text-input-CBL3JAev.js +0 -11
  193. package/dist/assets/fr-BGhg9oO3.js +0 -7
  194. package/dist/assets/get-safe-url-CxrqaBih.js +0 -1
  195. package/dist/assets/hi-CPfDhW8g.js +0 -5
  196. package/dist/assets/id-9TUzKF6k.js +0 -7
  197. package/dist/assets/index-88gdbkao.js +0 -1
  198. package/dist/assets/index-B6-5SXSy.js +0 -7
  199. package/dist/assets/index-CNE3uN5c.js +0 -124
  200. package/dist/assets/ja-DT5bRsBF.js +0 -9
  201. package/dist/assets/ko-CJn9PyPz.js +0 -9
  202. package/dist/assets/localization-CufkU3et.js +0 -1
  203. package/dist/assets/logger-DQUu6ucJ.js +0 -1
  204. package/dist/assets/preferences-D321ZAU1.js +0 -1
  205. package/dist/assets/profile-embed-Ba3F6nXm.js +0 -1
  206. package/dist/assets/pt-K9FK6Ube.js +0 -5
  207. package/dist/assets/ru-C_RwukUu.js +0 -5
  208. package/dist/assets/sdk-DAuiCSLy.js +0 -1
  209. package/dist/assets/th-Bhii_FfA.js +0 -5
  210. package/dist/assets/vi-DVF2tjOG.js +0 -5
  211. package/dist/assets/wrap-locale-CFMie_Pc.js +0 -1
@@ -1 +1 @@
1
- import{c as A,v as R,p as w,s as p}from"./index-CO3X6G_g.js";const O=/^[a-zA-Z][a-zA-Z\d+\-.]*?:/,x=/^[a-zA-Z]:\\/;function N(e){if(typeof e!="string")throw new TypeError(`Expected a \`string\`, got \`${typeof e}\``);return x.test(e)?!1:O.test(e)}const _=["http","https"],z=["nofollow"],L={};function T(e){const r=e||L,g=r.protocols||_,u=A(r.test);return function(h){R(h,"element",function(t,y,E){if(t.tagName==="a"&&typeof t.properties.href=="string"&&u(t,y,E)){const o=t.properties.href;if(N(o)?g.includes(o.slice(0,o.indexOf(":"))):o.startsWith("//")){const n=s(r.content,t),c=n&&!Array.isArray(n)?[n]:n,i=s(r.rel,t)||z,a=typeof i=="string"?w(i):i,f=s(r.target,t),l=s(r.properties,t);if(l&&Object.assign(t.properties,p(l)),a.length>0&&(t.properties.rel=[...a]),f&&(t.properties.target=f),c){const m=s(r.contentProperties,t)||{};t.children.push({type:"element",tagName:"span",properties:p(m),children:p(c)})}}}})}}function s(e,r){return typeof e=="function"?e(r):e}export{T as r};
1
+ import{c as A,v as R,p as w,s as p}from"./index-Dx6HKVtJ.js";const O=/^[a-zA-Z][a-zA-Z\d+\-.]*?:/,x=/^[a-zA-Z]:\\/;function N(e){if(typeof e!="string")throw new TypeError(`Expected a \`string\`, got \`${typeof e}\``);return x.test(e)?!1:O.test(e)}const _=["http","https"],z=["nofollow"],L={};function T(e){const r=e||L,g=r.protocols||_,u=A(r.test);return function(h){R(h,"element",function(t,y,E){if(t.tagName==="a"&&typeof t.properties.href=="string"&&u(t,y,E)){const o=t.properties.href;if(N(o)?g.includes(o.slice(0,o.indexOf(":"))):o.startsWith("//")){const n=s(r.content,t),c=n&&!Array.isArray(n)?[n]:n,i=s(r.rel,t)||z,a=typeof i=="string"?w(i):i,f=s(r.target,t),l=s(r.properties,t);if(l&&Object.assign(t.properties,p(l)),a.length>0&&(t.properties.rel=[...a]),f&&(t.properties.target=f),c){const m=s(r.contentProperties,t)||{};t.children.push({type:"element",tagName:"span",properties:p(m),children:p(c)})}}}})}}function s(e,r){return typeof e=="function"?e(r):e}export{T as r};
@@ -1,4 +1,4 @@
1
- import{r as g}from"./vendor-react-CUXIiAnY.js";import{j as e,y as O,x as X,bc as G,M as J,ak as m,W as x,a6 as ke,cb as ve,b1 as Q,z as U,b6 as Te,a5 as Ae,at as P,T as E,cc as Ke,bb as Re,aX as De,Q as Se,ci as Ie}from"./vendor-mui-core-DHT36AZL.js";import{V as S,z as B,n as F,p as Be,b as oe,k as H,H as $e,a2 as Ne,o as Ee,J as _e,h as Pe,i as We}from"./vendor-ux-sqP3hEhY.js";import{f as ze}from"./index-DBs9Ljax.js";import{c as z,_ as I,o as Me,aJ as qe,ac as Le,ar as ie,as as ae,at as re,e as Ue}from"./index-lFDZOk_k.js";import{a as ce}from"./passport-item-BkmVlAdr.js";import{u as W}from"./team-KWOyNaWn.js";import{l as le}from"./arrow-down.svg-mj2eIUoA.js";import{T as de}from"./index-BoeLorfn.js";import{C as pe}from"./confirm-Dge1BR0a.js";import{R as Fe,C as _}from"./vendor-utils-BSZ4yJws.js";import{u as He}from"./session-DR7jqIW5.js";import{C as V}from"./click-to-copy-DZ_4RDjR.js";import{f as Ve}from"./index-BojVbZw0.js";import{D as Oe}from"./delete-confirm-CaK42Rqi.js";import{P as Xe}from"./permission-B3_OQqtH.js";import{l as M}from"./vendor-arcblock-3xKfH3F1.js";import{B as Ge}from"./bundle-avatar-DACPWlAj.js";import{W as Je}from"./did-address-CihvGtuj.js";import{u as me}from"./use-mobile-DoKVMODs.js";import{A as Qe}from"./actions-CIp6hu8_.js";import{T as ne}from"./table-tips-cVuoMOXE.js";import{s as Ye}from"./vendor-hooks-fhL5FJET.js";import"./lottie-web-4koyQiv_.js";import"./ua-parser-DP5omx3I.js";import"./util-MbDHkO8z.js";import"./base32-AX-I0UaR.js";import"./isURL-fcz3vuMN.js";import"./use-app-logo-hGlkw2d_.js";import"./vendor-mui-x-B4OOX5Es.js";import"./AdapterDayjs-OZNn2tpO.js";function Y({value:s}){const{t,locale:n}=S(),a=new Date;return new Date(s)<a?e.jsxs("span",{style:{color:"red"},children:[e.jsx(B,{value:s,locale:n}),`${t("setting.accessKey.expired",{time:""})}`]}):e.jsx(B,{mode:"daysLeft",value:s,locale:n,type:"all"})}Y.propTypes={value:x.string.isRequired};function Z({value:s,onChange:t,...n}){const{t:a}=S(),o=g.useMemo(()=>[{value:"signature",title:a("setting.accessKey.signature"),description:a("setting.accessKey.signatureDesc")},{value:"simple",title:a("setting.accessKey.simple"),description:a("setting.accessKey.simpleDesc")}],[a]);return e.jsxs(O,{style:{width:"100%"},variant:"outlined",...n,children:[e.jsx(X,{children:a("setting.accessKey.authType")}),e.jsx(G,{value:s,onChange:t,fullWidth:!0,label:a("setting.accessKey.authType"),IconComponent:l=>e.jsx(le,{...l,width:20,height:20}),children:o.map(l=>e.jsx(J,{value:l.value,children:e.jsxs(m,{children:[e.jsx("span",{children:l.title}),e.jsx(m,{sx:{maxWidth:510,fontSize:12,color:"#999",whiteSpace:"normal"},children:l.description})]})},l.value))})]})}Z.propTypes={value:x.string.isRequired,onChange:x.func.isRequired};const ee=()=>{const s=z.RBAC_CONFIG.roles.filter(o=>o.passport),{inService:t}=I(),{roles:n}=W(),a=[...s,...t?n:[]];return Fe(a,"name").filter(o=>o.name!==z.ROLES.OWNER)};function ue(){const{session:s}=He(),t=ee();return g.useMemo(()=>{if(!s?.user?.role)return[];if(["owner","admin"].includes(s.user.role))return t;const a=t.filter(l=>l.name==="guest");return[...t.filter(l=>l.name!=="guest").filter(l=>s.user.passports.find(b=>b.role===l.name)),...a]},[t,s?.user?.passports,s?.user?.role])}function xe({onCreate:s=()=>{},remark:t=""}){const{api:n}=I(),{teamDid:a}=W(),{t:o}=S(),[l,b]=g.useState(!1),[p,j]=g.useState(null),u=ue(),K=()=>{b(!1),j(null)},w=async c=>{const{remark:C,passport:h,authType:i}=c;b(!0);const v=await n.createAccessKey({input:{teamDid:a,remark:C.trim(),passport:h,expireAt:c.expireAt?new Date(c.expireAt).getTime():null,authType:i}}),{data:R}=v;s(R),j(null),b(!1)},d={title:`${o("common.create")} ${o("accessKey")}`,description:(c,C,h)=>e.jsxs(Q,{sx:{gap:3},children:[e.jsx(U,{label:o("setting.accessKey.tip"),autoComplete:"off",variant:"outlined",name:"remark",fullWidth:!0,autoFocus:!0,margin:"dense",value:c.remark,onChange:i=>{C({...c,remark:i.target.value,__disableConfirm:!c.passport||!i.target.value.trim()}),i.target.value.trim()?h(""):h(o("setting.accessKey.remarkInvalid"))},slotProps:{htmlInput:{"data-cy":"remark-input"}}}),e.jsxs(O,{style:{width:"100%"},variant:"outlined",children:[e.jsx(X,{sx:{width:"calc(100% - 46px)"},children:o("setting.accessKey.passport")}),e.jsx(G,{"data-cy":"create-access-key-select-passport",value:c.passport,onChange:i=>{const v=i.target.value;h(null),C({...c,passport:v,__disableConfirm:!c.remark||!v})},fullWidth:!0,label:o("setting.accessKey.passport"),disabled:l,IconComponent:i=>e.jsx(le,{...i,width:20,height:20}),children:u.map(i=>e.jsx(J,{value:i.name,"data-cy":`create-access-key-passport-option-${i.name}`,children:e.jsxs(m,{children:[e.jsx("span",{children:i.title||i.name}),e.jsx(m,{sx:{maxWidth:440,fontSize:12,color:"#999",whiteSpace:"normal",textAlign:"justify"},children:i.description})]})},i.name))})]}),e.jsx(Z,{value:c.authType,onChange:i=>{C({...c,authType:i.target.value})}}),e.jsx(de,{placeholder:o("setting.accessKey.expireTime"),value:c.expireAt,onChange:i=>{C({...c,expireAt:i,__disableConfirm:!c.passport||!c.remark||!i})}})]}),confirm:o("common.confirm"),cancel:o("common.cancel"),color:"primary",params:{remark:t,authType:"signature",__disableConfirm:!t.trim()},onConfirm:w,onCancel:K};return e.jsxs(e.Fragment,{children:[e.jsxs(F,{sx:{color:"common.white"},edge:"end",variant:"contained",color:"primary","data-cy":"add-access-key-btn",onClick:()=>j(d),className:"rule-action",children:[l?e.jsx(ke,{size:16}):e.jsx(ve,{style:{fontSize:16}}),o("common.create")]}),p&&e.jsx(pe,{title:p.title,description:p.description,confirm:p.confirm,color:p.color,cancel:p.cancel,params:p.params,onConfirm:p.onConfirm,onCancel:p.onCancel})]})}xe.propTypes={remark:x.string,onCreate:x.func};function fe({onConfirm:s=()=>{},accessKeyId:t,accessKeySecret:n,hideSecret:a=!0}){const{t:o}=g.useContext(Be),[l,b]=g.useState(!1),[p,j]=g.useState(()=>a),u=I(),K=()=>{j(!p)},w=h=>{b(h.target.checked)},d=_(window.location.origin,u?.info?.routing?.adminPath),c=g.useMemo(()=>a?`const Client = require('@blocklet/server-js');
1
+ import{r as g}from"./vendor-react-CUXIiAnY.js";import{j as e,y as O,x as X,bc as G,M as J,ak as m,W as x,a6 as ke,cb as ve,b1 as Q,z as U,b6 as Te,a5 as Ae,at as P,T as E,cc as Ke,bb as Re,aX as De,Q as Se,ci as Ie}from"./vendor-mui-core-BPQ6AEW_.js";import{V as S,z as B,n as F,p as Be,b as oe,k as H,H as $e,a2 as Ne,o as Ee,J as _e,h as Pe,i as We}from"./vendor-ux-D507n6h6.js";import{f as ze}from"./index-DBs9Ljax.js";import{c as z,_ as I,o as Me,aJ as qe,ac as Le,ar as ie,as as ae,at as re,e as Ue}from"./index-CeWTwSLE.js";import{a as ce}from"./passport-item-yqBy6NcY.js";import{u as W}from"./team-CKeHAIQC.js";import{l as le}from"./arrow-down.svg-CNh-MHKv.js";import{T as de}from"./index-WCk612vr.js";import{C as pe}from"./confirm-CC1M9sYT.js";import{R as Fe,C as _}from"./vendor-utils-BSZ4yJws.js";import{u as He}from"./session-CJQ7HeL8.js";import{C as V}from"./click-to-copy-CAd3nEo4.js";import{f as Ve}from"./index-BojVbZw0.js";import{D as Oe}from"./delete-confirm-DF03c_mf.js";import{P as Xe}from"./permission-CiiVpApl.js";import{l as M}from"./vendor-arcblock-BL_VyzmH.js";import{B as Ge}from"./bundle-avatar-D3mFZG-3.js";import{W as Je}from"./did-address-BOsJWqi1.js";import{u as me}from"./use-mobile-ajdJIsoX.js";import{A as Qe}from"./actions-DhSvOHy-.js";import{T as ne}from"./table-tips-EHWVzPWe.js";import{s as Ye}from"./vendor-hooks-fhL5FJET.js";import"./lottie-web-4koyQiv_.js";import"./ua-parser-DP5omx3I.js";import"./util-DPC-rfKa.js";import"./base32-CnxuWLTI.js";import"./isURL-HS60va5G.js";import"./use-app-logo-D38VoM1R.js";import"./vendor-mui-x-CWNb8fsW.js";import"./AdapterDayjs-BuAhqT20.js";function Y({value:s}){const{t,locale:n}=S(),a=new Date;return new Date(s)<a?e.jsxs("span",{style:{color:"red"},children:[e.jsx(B,{value:s,locale:n}),`${t("setting.accessKey.expired",{time:""})}`]}):e.jsx(B,{mode:"daysLeft",value:s,locale:n,type:"all"})}Y.propTypes={value:x.string.isRequired};function Z({value:s,onChange:t,...n}){const{t:a}=S(),o=g.useMemo(()=>[{value:"signature",title:a("setting.accessKey.signature"),description:a("setting.accessKey.signatureDesc")},{value:"simple",title:a("setting.accessKey.simple"),description:a("setting.accessKey.simpleDesc")}],[a]);return e.jsxs(O,{style:{width:"100%"},variant:"outlined",...n,children:[e.jsx(X,{children:a("setting.accessKey.authType")}),e.jsx(G,{value:s,onChange:t,fullWidth:!0,label:a("setting.accessKey.authType"),IconComponent:l=>e.jsx(le,{...l,width:20,height:20}),children:o.map(l=>e.jsx(J,{value:l.value,children:e.jsxs(m,{children:[e.jsx("span",{children:l.title}),e.jsx(m,{sx:{maxWidth:510,fontSize:12,color:"#999",whiteSpace:"normal"},children:l.description})]})},l.value))})]})}Z.propTypes={value:x.string.isRequired,onChange:x.func.isRequired};const ee=()=>{const s=z.RBAC_CONFIG.roles.filter(o=>o.passport),{inService:t}=I(),{roles:n}=W(),a=[...s,...t?n:[]];return Fe(a,"name").filter(o=>o.name!==z.ROLES.OWNER)};function ue(){const{session:s}=He(),t=ee();return g.useMemo(()=>{if(!s?.user?.role)return[];if(["owner","admin"].includes(s.user.role))return t;const a=t.filter(l=>l.name==="guest");return[...t.filter(l=>l.name!=="guest").filter(l=>s.user.passports.find(b=>b.role===l.name)),...a]},[t,s?.user?.passports,s?.user?.role])}function xe({onCreate:s=()=>{},remark:t=""}){const{api:n}=I(),{teamDid:a}=W(),{t:o}=S(),[l,b]=g.useState(!1),[p,j]=g.useState(null),u=ue(),K=()=>{b(!1),j(null)},w=async c=>{const{remark:C,passport:h,authType:i}=c;b(!0);const v=await n.createAccessKey({input:{teamDid:a,remark:C.trim(),passport:h,expireAt:c.expireAt?new Date(c.expireAt).getTime():null,authType:i}}),{data:R}=v;s(R),j(null),b(!1)},d={title:`${o("common.create")} ${o("accessKey")}`,description:(c,C,h)=>e.jsxs(Q,{sx:{gap:3},children:[e.jsx(U,{label:o("setting.accessKey.tip"),autoComplete:"off",variant:"outlined",name:"remark",fullWidth:!0,autoFocus:!0,margin:"dense",value:c.remark,onChange:i=>{C({...c,remark:i.target.value,__disableConfirm:!c.passport||!i.target.value.trim()}),i.target.value.trim()?h(""):h(o("setting.accessKey.remarkInvalid"))},slotProps:{htmlInput:{"data-cy":"remark-input"}}}),e.jsxs(O,{style:{width:"100%"},variant:"outlined",children:[e.jsx(X,{sx:{width:"calc(100% - 46px)"},children:o("setting.accessKey.passport")}),e.jsx(G,{"data-cy":"create-access-key-select-passport",value:c.passport,onChange:i=>{const v=i.target.value;h(null),C({...c,passport:v,__disableConfirm:!c.remark||!v})},fullWidth:!0,label:o("setting.accessKey.passport"),disabled:l,IconComponent:i=>e.jsx(le,{...i,width:20,height:20}),children:u.map(i=>e.jsx(J,{value:i.name,"data-cy":`create-access-key-passport-option-${i.name}`,children:e.jsxs(m,{children:[e.jsx("span",{children:i.title||i.name}),e.jsx(m,{sx:{maxWidth:440,fontSize:12,color:"#999",whiteSpace:"normal",textAlign:"justify"},children:i.description})]})},i.name))})]}),e.jsx(Z,{value:c.authType,onChange:i=>{C({...c,authType:i.target.value})}}),e.jsx(de,{placeholder:o("setting.accessKey.expireTime"),value:c.expireAt,onChange:i=>{C({...c,expireAt:i,__disableConfirm:!c.passport||!c.remark||!i})}})]}),confirm:o("common.confirm"),cancel:o("common.cancel"),color:"primary",params:{remark:t,authType:"signature",__disableConfirm:!t.trim()},onConfirm:w,onCancel:K};return e.jsxs(e.Fragment,{children:[e.jsxs(F,{sx:{color:"common.white"},edge:"end",variant:"contained",color:"primary","data-cy":"add-access-key-btn",onClick:()=>j(d),className:"rule-action",children:[l?e.jsx(ke,{size:16}):e.jsx(ve,{style:{fontSize:16}}),o("common.create")]}),p&&e.jsx(pe,{title:p.title,description:p.description,confirm:p.confirm,color:p.color,cancel:p.cancel,params:p.params,onConfirm:p.onConfirm,onCancel:p.onCancel})]})}xe.propTypes={remark:x.string,onCreate:x.func};function fe({onConfirm:s=()=>{},accessKeyId:t,accessKeySecret:n,hideSecret:a=!0}){const{t:o}=g.useContext(Be),[l,b]=g.useState(!1),[p,j]=g.useState(()=>a),u=I(),K=()=>{j(!p)},w=h=>{b(h.target.checked)},d=_(window.location.origin,u?.info?.routing?.adminPath),c=g.useMemo(()=>a?`const Client = require('@blocklet/server-js');
2
2
  const ensureServerEndpoint = require('@abtnode/util/lib/ensure-server-endpoint');
3
3
  const { joinURL } = require('ufo');
4
4
 
@@ -1 +1 @@
1
- import{r as p}from"./vendor-react-CUXIiAnY.js";import{j as a,y as b,W as t,z as y,M as E,ak as I}from"./vendor-mui-core-DHT36AZL.js";import{a as j}from"./vendor-hooks-fhL5FJET.js";import{a1 as r}from"./index-lFDZOk_k.js";import{V as A}from"./vendor-ux-sqP3hEhY.js";import{l as C}from"./arrow-down.svg-mj2eIUoA.js";import{L as O,D as H}from"./vendor-mui-x-B4OOX5Es.js";import{A as R}from"./AdapterDayjs-OZNn2tpO.js";function v({value:s=null,onChange:i,error:l=!1,helperText:c="",label:h="",timezone:e="",minDateTime:f=null}){const d=j(()=>{let n=r();return s&&(n=e?r(s).tz(e):r(s)),n},[s,e]),m=n=>{const T=e?r(n).tz(e):r(n);i(new Date(T.format("YYYY-MM-DD HH:mm:00")))};return a.jsx(O,{dateAdapter:R,children:a.jsx(b,{fullWidth:!0,error:l,children:a.jsx(H,{label:h,minDateTime:f,value:d,onChange:m,slotProps:{textField:{error:l,helperText:l?c:""}},format:"YYYY-MM-DD HH:mm"})})})}v.propTypes={value:t.oneOfType([t.string,t.instanceOf(Date)]),onChange:t.func.isRequired,error:t.bool,helperText:t.string,label:t.string,timezone:t.string,minDateTime:t.instanceOf(Date)};function U(s){return a.jsx(C,{...s,width:20,height:20})}const u={MINUTES_30:30*60*1e3,HOUR_1:60*60*1e3,HOURS_3:3*60*60*1e3,DAY_1:24*60*60*1e3,DAYS_7:7*24*60*60*1e3,DAYS_30:30*24*60*60*1e3};function $({placeholder:s="",value:i="",onChange:l,timezone:c="",showError:h=!0}){const{t:e}=A(),[f,d]=p.useState(i||""),[m,n]=p.useState(null),[T,Y]=p.useState(null),x=p.useMemo(()=>[{value:u.MINUTES_30,label:`30 ${e("common.minutes")}`},{value:u.HOUR_1,label:`1 ${e("common.hour")}`},{value:u.HOURS_3,label:`3 ${e("common.hours")}`},{value:u.DAY_1,label:`1 ${e("common.day")}`},{value:u.DAYS_7,label:`7 ${e("common.days")}`},{value:u.DAYS_30,label:`30 ${e("common.days")}`},{value:"custom",label:e("common.custom")}],[e]),M=o=>{if(d(o),o==="custom"){const D=c?r().tz(c):r(),S=D.add(1,"day").toDate();Y(D),n(S),l(S)}else l(new Date(Date.now()+o))},_=o=>{n(o),l(o)};p.useEffect(()=>{i&&(x.find(D=>r(D.value).isSame(i))||(d("custom"),n(i)))},[]);const g=j(()=>h?!!(!m||r(m).isBefore(r())):!1,[m,e]);return a.jsxs(a.Fragment,{children:[a.jsx(b,{fullWidth:!0,children:a.jsx(y,{select:!0,value:f,label:s||e("team.passport.passportExpireTime"),onChange:o=>M(o.target.value),variant:"outlined",slotProps:{select:{IconComponent:U}},sx:{"& .MuiInputLabel-root":{width:"calc(100% - 46px)"}},children:x.map(o=>a.jsx(E,{value:o.value,children:o.label},o.value))})}),f==="custom"&&a.jsx(I,{children:a.jsx(v,{value:m,onChange:_,label:e("team.passport.customExpireTime"),timezone:c,error:!!g,helperText:g?e("team.passport.customExpireTimeIsInvalid"):void 0,minDateTime:T})})]})}$.propTypes={value:t.oneOfType([t.string,t.instanceOf(Date)]),onChange:t.func.isRequired,timezone:t.string,placeholder:t.string,showError:t.bool};export{$ as T};
1
+ import{r as p}from"./vendor-react-CUXIiAnY.js";import{j as a,y as b,W as t,z as y,M as E,ak as I}from"./vendor-mui-core-BPQ6AEW_.js";import{a as j}from"./vendor-hooks-fhL5FJET.js";import{a1 as r}from"./index-CeWTwSLE.js";import{V as A}from"./vendor-ux-D507n6h6.js";import{l as C}from"./arrow-down.svg-CNh-MHKv.js";import{L as O,D as H}from"./vendor-mui-x-CWNb8fsW.js";import{A as R}from"./AdapterDayjs-BuAhqT20.js";function v({value:s=null,onChange:i,error:l=!1,helperText:c="",label:h="",timezone:e="",minDateTime:f=null}){const d=j(()=>{let n=r();return s&&(n=e?r(s).tz(e):r(s)),n},[s,e]),m=n=>{const T=e?r(n).tz(e):r(n);i(new Date(T.format("YYYY-MM-DD HH:mm:00")))};return a.jsx(O,{dateAdapter:R,children:a.jsx(b,{fullWidth:!0,error:l,children:a.jsx(H,{label:h,minDateTime:f,value:d,onChange:m,slotProps:{textField:{error:l,helperText:l?c:""}},format:"YYYY-MM-DD HH:mm"})})})}v.propTypes={value:t.oneOfType([t.string,t.instanceOf(Date)]),onChange:t.func.isRequired,error:t.bool,helperText:t.string,label:t.string,timezone:t.string,minDateTime:t.instanceOf(Date)};function U(s){return a.jsx(C,{...s,width:20,height:20})}const u={MINUTES_30:30*60*1e3,HOUR_1:60*60*1e3,HOURS_3:3*60*60*1e3,DAY_1:24*60*60*1e3,DAYS_7:7*24*60*60*1e3,DAYS_30:30*24*60*60*1e3};function $({placeholder:s="",value:i="",onChange:l,timezone:c="",showError:h=!0}){const{t:e}=A(),[f,d]=p.useState(i||""),[m,n]=p.useState(null),[T,Y]=p.useState(null),x=p.useMemo(()=>[{value:u.MINUTES_30,label:`30 ${e("common.minutes")}`},{value:u.HOUR_1,label:`1 ${e("common.hour")}`},{value:u.HOURS_3,label:`3 ${e("common.hours")}`},{value:u.DAY_1,label:`1 ${e("common.day")}`},{value:u.DAYS_7,label:`7 ${e("common.days")}`},{value:u.DAYS_30,label:`30 ${e("common.days")}`},{value:"custom",label:e("common.custom")}],[e]),M=o=>{if(d(o),o==="custom"){const D=c?r().tz(c):r(),S=D.add(1,"day").toDate();Y(D),n(S),l(S)}else l(new Date(Date.now()+o))},_=o=>{n(o),l(o)};p.useEffect(()=>{i&&(x.find(D=>r(D.value).isSame(i))||(d("custom"),n(i)))},[]);const g=j(()=>h?!!(!m||r(m).isBefore(r())):!1,[m,e]);return a.jsxs(a.Fragment,{children:[a.jsx(b,{fullWidth:!0,children:a.jsx(y,{select:!0,value:f,label:s||e("team.passport.passportExpireTime"),onChange:o=>M(o.target.value),variant:"outlined",slotProps:{select:{IconComponent:U}},sx:{"& .MuiInputLabel-root":{width:"calc(100% - 46px)"}},children:x.map(o=>a.jsx(E,{value:o.value,children:o.label},o.value))})}),f==="custom"&&a.jsx(I,{children:a.jsx(v,{value:m,onChange:_,label:e("team.passport.customExpireTime"),timezone:c,error:!!g,helperText:g?e("team.passport.customExpireTimeIsInvalid"):void 0,minDateTime:T})})]})}$.propTypes={value:t.oneOfType([t.string,t.instanceOf(Date)]),onChange:t.func.isRequired,timezone:t.string,placeholder:t.string,showError:t.bool};export{$ as T};
@@ -1,4 +1,4 @@
1
- import{j as a,D as M,T as _,ce as T,Q as W,cf as q,aV as X,ak as h,cg as Y,aU as Z,av as B,f as C,b$ as J,ch as K}from"./vendor-mui-core-DHT36AZL.js";import{r as d,k as L,L as z,n as ee,o as ae}from"./vendor-react-CUXIiAnY.js";import{H as E,aW as te}from"./index-lFDZOk_k.js";import{e as ie}from"./vendor-hooks-fhL5FJET.js";import{M as re,l as m,a0 as A,a1 as S}from"./vendor-ux-sqP3hEhY.js";import{z as oe}from"./vendor-arcblock-3xKfH3F1.js";const H=d.createContext(null),se=e=>{const i=d.use(H);return d.useLayoutEffect(()=>{},[]),i};function le({children:e=void 0,...i}){const[t,r]=d.useState({inFullPage:!1,showToggleButton:!1,headerVisibleInFullPage:!0,footerVisibleInFullPage:!1,sidebarVisibleInFullPage:!1}),s=()=>{r(o=>({...o,inFullPage:!o.inFullPage}))},l=d.useMemo(()=>({...t,headerVisible:!t.inFullPage||t.headerVisibleInFullPage,footerVisible:!t.inFullPage||t.footerVisibleInFullPage,sidebarVisible:!t.inFullPage||t.sidebarVisibleInFullPage,toggleFullPage:s,configure:o=>r(n=>({...n,...o}))}),[t]);return a.jsx(H,{value:l,...i,children:e})}function ne({name:e,size:i=36,alt:t="",color:r="#000000",prefix:s="/images",showBadge:l=!1,style:o={},...n}){const c=`${s}/${e}-${r.replace(/^#/,"")}.png`;return a.jsxs(de,{style:{width:i,height:i},children:[a.jsx(re,{width:i,height:i,alt:t||e,src:c,style:Object.assign({width:i},o),...n}),l&&a.jsx("i",{className:"badge-point"})]})}const de=m("div")`
1
+ import{j as a,D as M,T as _,ce as T,Q as W,cf as q,aV as X,ak as h,cg as Y,aU as Z,av as B,f as C,b$ as J,ch as K}from"./vendor-mui-core-BPQ6AEW_.js";import{r as d,k as L,L as z,n as ee,o as ae}from"./vendor-react-CUXIiAnY.js";import{H as E,aW as te}from"./index-CeWTwSLE.js";import{e as ie}from"./vendor-hooks-fhL5FJET.js";import{M as re,l as m,a0 as A,a1 as S}from"./vendor-ux-D507n6h6.js";import{z as oe}from"./vendor-arcblock-BL_VyzmH.js";const H=d.createContext(null),se=e=>{const i=d.use(H);return d.useLayoutEffect(()=>{},[]),i};function le({children:e=void 0,...i}){const[t,r]=d.useState({inFullPage:!1,showToggleButton:!1,headerVisibleInFullPage:!0,footerVisibleInFullPage:!1,sidebarVisibleInFullPage:!1}),s=()=>{r(o=>({...o,inFullPage:!o.inFullPage}))},l=d.useMemo(()=>({...t,headerVisible:!t.inFullPage||t.headerVisibleInFullPage,footerVisible:!t.inFullPage||t.footerVisibleInFullPage,sidebarVisible:!t.inFullPage||t.sidebarVisibleInFullPage,toggleFullPage:s,configure:o=>r(n=>({...n,...o}))}),[t]);return a.jsx(H,{value:l,...i,children:e})}function ne({name:e,size:i=36,alt:t="",color:r="#000000",prefix:s="/images",showBadge:l=!1,style:o={},...n}){const c=`${s}/${e}-${r.replace(/^#/,"")}.png`;return a.jsxs(de,{style:{width:i,height:i},children:[a.jsx(re,{width:i,height:i,alt:t||e,src:c,style:Object.assign({width:i},o),...n}),l&&a.jsx("i",{className:"badge-point"})]})}const de=m("div")`
2
2
  position: relative;
3
3
  .badge-point {
4
4
  position: absolute;
@@ -1,4 +1,4 @@
1
- import{j as U,ax as rr,ak as en,f as ar}from"./vendor-mui-core-DHT36AZL.js";import{g as bi,d as sr,h as or,f as un,r as L}from"./vendor-react-CUXIiAnY.js";import{D as wi,ab as lr,e as fr,n as cr,ac as yi}from"./vendor-utils-BSZ4yJws.js";import{bx as dr,bN as ur}from"./index-lFDZOk_k.js";import{l as Ie,aI as hr,aJ as _r}from"./vendor-ux-sqP3hEhY.js";import{j as pr}from"./vendor-hooks-fhL5FJET.js";/*! pako 2.1.0 https://github.com/nodeca/pako @license (MIT AND Zlib) */const gr=4,hn=0,_n=1,br=2;function Re(e){let n=e.length;for(;--n>=0;)e[n]=0}const wr=0,xi=1,yr=2,xr=3,mr=258,tn=29,We=256,je=We+1+tn,Se=30,nn=19,mi=2*je+1,be=15,yt=16,Er=7,rn=256,Ei=16,vi=17,Ni=18,Xt=new Uint8Array([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0]),ct=new Uint8Array([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13]),vr=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7]),ki=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),Nr=512,le=new Array((je+2)*2);Re(le);const Be=new Array(Se*2);Re(Be);const He=new Array(Nr);Re(He);const Ve=new Array(mr-xr+1);Re(Ve);const an=new Array(tn);Re(an);const dt=new Array(Se);Re(dt);function xt(e,n,t,i,l){this.static_tree=e,this.extra_bits=n,this.extra_base=t,this.elems=i,this.max_length=l,this.has_stree=e&&e.length}let Ti,Ai,Si;function mt(e,n){this.dyn_tree=e,this.max_code=0,this.stat_desc=n}const Oi=e=>e<256?He[e]:He[256+(e>>>7)],Xe=(e,n)=>{e.pending_buf[e.pending++]=n&255,e.pending_buf[e.pending++]=n>>>8&255},K=(e,n,t)=>{e.bi_valid>yt-t?(e.bi_buf|=n<<e.bi_valid&65535,Xe(e,e.bi_buf),e.bi_buf=n>>yt-e.bi_valid,e.bi_valid+=t-yt):(e.bi_buf|=n<<e.bi_valid&65535,e.bi_valid+=t)},ne=(e,n,t)=>{K(e,t[n*2],t[n*2+1])},Fi=(e,n)=>{let t=0;do t|=e&1,e>>>=1,t<<=1;while(--n>0);return t>>>1},kr=e=>{e.bi_valid===16?(Xe(e,e.bi_buf),e.bi_buf=0,e.bi_valid=0):e.bi_valid>=8&&(e.pending_buf[e.pending++]=e.bi_buf&255,e.bi_buf>>=8,e.bi_valid-=8)},Tr=(e,n)=>{const t=n.dyn_tree,i=n.max_code,l=n.stat_desc.static_tree,a=n.stat_desc.has_stree,f=n.stat_desc.extra_bits,s=n.stat_desc.extra_base,c=n.stat_desc.max_length;let r,o,E,_,h,v,T=0;for(_=0;_<=be;_++)e.bl_count[_]=0;for(t[e.heap[e.heap_max]*2+1]=0,r=e.heap_max+1;r<mi;r++)o=e.heap[r],_=t[t[o*2+1]*2+1]+1,_>c&&(_=c,T++),t[o*2+1]=_,!(o>i)&&(e.bl_count[_]++,h=0,o>=s&&(h=f[o-s]),v=t[o*2],e.opt_len+=v*(_+h),a&&(e.static_len+=v*(l[o*2+1]+h)));if(T!==0){do{for(_=c-1;e.bl_count[_]===0;)_--;e.bl_count[_]--,e.bl_count[_+1]+=2,e.bl_count[c]--,T-=2}while(T>0);for(_=c;_!==0;_--)for(o=e.bl_count[_];o!==0;)E=e.heap[--r],!(E>i)&&(t[E*2+1]!==_&&(e.opt_len+=(_-t[E*2+1])*t[E*2],t[E*2+1]=_),o--)}},Ii=(e,n,t)=>{const i=new Array(be+1);let l=0,a,f;for(a=1;a<=be;a++)l=l+t[a-1]<<1,i[a]=l;for(f=0;f<=n;f++){let s=e[f*2+1];s!==0&&(e[f*2]=Fi(i[s]++,s))}},Ar=()=>{let e,n,t,i,l;const a=new Array(be+1);for(t=0,i=0;i<tn-1;i++)for(an[i]=t,e=0;e<1<<Xt[i];e++)Ve[t++]=i;for(Ve[t-1]=i,l=0,i=0;i<16;i++)for(dt[i]=l,e=0;e<1<<ct[i];e++)He[l++]=i;for(l>>=7;i<Se;i++)for(dt[i]=l<<7,e=0;e<1<<ct[i]-7;e++)He[256+l++]=i;for(n=0;n<=be;n++)a[n]=0;for(e=0;e<=143;)le[e*2+1]=8,e++,a[8]++;for(;e<=255;)le[e*2+1]=9,e++,a[9]++;for(;e<=279;)le[e*2+1]=7,e++,a[7]++;for(;e<=287;)le[e*2+1]=8,e++,a[8]++;for(Ii(le,je+1,a),e=0;e<Se;e++)Be[e*2+1]=5,Be[e*2]=Fi(e,5);Ti=new xt(le,Xt,We+1,je,be),Ai=new xt(Be,ct,0,Se,be),Si=new xt(new Array(0),vr,0,nn,Er)},Ri=e=>{let n;for(n=0;n<je;n++)e.dyn_ltree[n*2]=0;for(n=0;n<Se;n++)e.dyn_dtree[n*2]=0;for(n=0;n<nn;n++)e.bl_tree[n*2]=0;e.dyn_ltree[rn*2]=1,e.opt_len=e.static_len=0,e.sym_next=e.matches=0},zi=e=>{e.bi_valid>8?Xe(e,e.bi_buf):e.bi_valid>0&&(e.pending_buf[e.pending++]=e.bi_buf),e.bi_buf=0,e.bi_valid=0},pn=(e,n,t,i)=>{const l=n*2,a=t*2;return e[l]<e[a]||e[l]===e[a]&&i[n]<=i[t]},Et=(e,n,t)=>{const i=e.heap[t];let l=t<<1;for(;l<=e.heap_len&&(l<e.heap_len&&pn(n,e.heap[l+1],e.heap[l],e.depth)&&l++,!pn(n,i,e.heap[l],e.depth));)e.heap[t]=e.heap[l],t=l,l<<=1;e.heap[t]=i},gn=(e,n,t)=>{let i,l,a=0,f,s;if(e.sym_next!==0)do i=e.pending_buf[e.sym_buf+a++]&255,i+=(e.pending_buf[e.sym_buf+a++]&255)<<8,l=e.pending_buf[e.sym_buf+a++],i===0?ne(e,l,n):(f=Ve[l],ne(e,f+We+1,n),s=Xt[f],s!==0&&(l-=an[f],K(e,l,s)),i--,f=Oi(i),ne(e,f,t),s=ct[f],s!==0&&(i-=dt[f],K(e,i,s)));while(a<e.sym_next);ne(e,rn,n)},qt=(e,n)=>{const t=n.dyn_tree,i=n.stat_desc.static_tree,l=n.stat_desc.has_stree,a=n.stat_desc.elems;let f,s,c=-1,r;for(e.heap_len=0,e.heap_max=mi,f=0;f<a;f++)t[f*2]!==0?(e.heap[++e.heap_len]=c=f,e.depth[f]=0):t[f*2+1]=0;for(;e.heap_len<2;)r=e.heap[++e.heap_len]=c<2?++c:0,t[r*2]=1,e.depth[r]=0,e.opt_len--,l&&(e.static_len-=i[r*2+1]);for(n.max_code=c,f=e.heap_len>>1;f>=1;f--)Et(e,t,f);r=a;do f=e.heap[1],e.heap[1]=e.heap[e.heap_len--],Et(e,t,1),s=e.heap[1],e.heap[--e.heap_max]=f,e.heap[--e.heap_max]=s,t[r*2]=t[f*2]+t[s*2],e.depth[r]=(e.depth[f]>=e.depth[s]?e.depth[f]:e.depth[s])+1,t[f*2+1]=t[s*2+1]=r,e.heap[1]=r++,Et(e,t,1);while(e.heap_len>=2);e.heap[--e.heap_max]=e.heap[1],Tr(e,n),Ii(t,c,e.bl_count)},bn=(e,n,t)=>{let i,l=-1,a,f=n[0*2+1],s=0,c=7,r=4;for(f===0&&(c=138,r=3),n[(t+1)*2+1]=65535,i=0;i<=t;i++)a=f,f=n[(i+1)*2+1],!(++s<c&&a===f)&&(s<r?e.bl_tree[a*2]+=s:a!==0?(a!==l&&e.bl_tree[a*2]++,e.bl_tree[Ei*2]++):s<=10?e.bl_tree[vi*2]++:e.bl_tree[Ni*2]++,s=0,l=a,f===0?(c=138,r=3):a===f?(c=6,r=3):(c=7,r=4))},wn=(e,n,t)=>{let i,l=-1,a,f=n[0*2+1],s=0,c=7,r=4;for(f===0&&(c=138,r=3),i=0;i<=t;i++)if(a=f,f=n[(i+1)*2+1],!(++s<c&&a===f)){if(s<r)do ne(e,a,e.bl_tree);while(--s!==0);else a!==0?(a!==l&&(ne(e,a,e.bl_tree),s--),ne(e,Ei,e.bl_tree),K(e,s-3,2)):s<=10?(ne(e,vi,e.bl_tree),K(e,s-3,3)):(ne(e,Ni,e.bl_tree),K(e,s-11,7));s=0,l=a,f===0?(c=138,r=3):a===f?(c=6,r=3):(c=7,r=4)}},Sr=e=>{let n;for(bn(e,e.dyn_ltree,e.l_desc.max_code),bn(e,e.dyn_dtree,e.d_desc.max_code),qt(e,e.bl_desc),n=nn-1;n>=3&&e.bl_tree[ki[n]*2+1]===0;n--);return e.opt_len+=3*(n+1)+5+5+4,n},Or=(e,n,t,i)=>{let l;for(K(e,n-257,5),K(e,t-1,5),K(e,i-4,4),l=0;l<i;l++)K(e,e.bl_tree[ki[l]*2+1],3);wn(e,e.dyn_ltree,n-1),wn(e,e.dyn_dtree,t-1)},Fr=e=>{let n=4093624447,t;for(t=0;t<=31;t++,n>>>=1)if(n&1&&e.dyn_ltree[t*2]!==0)return hn;if(e.dyn_ltree[9*2]!==0||e.dyn_ltree[10*2]!==0||e.dyn_ltree[13*2]!==0)return _n;for(t=32;t<We;t++)if(e.dyn_ltree[t*2]!==0)return _n;return hn};let yn=!1;const Ir=e=>{yn||(Ar(),yn=!0),e.l_desc=new mt(e.dyn_ltree,Ti),e.d_desc=new mt(e.dyn_dtree,Ai),e.bl_desc=new mt(e.bl_tree,Si),e.bi_buf=0,e.bi_valid=0,Ri(e)},Ci=(e,n,t,i)=>{K(e,(wr<<1)+(i?1:0),3),zi(e),Xe(e,t),Xe(e,~t),t&&e.pending_buf.set(e.window.subarray(n,n+t),e.pending),e.pending+=t},Rr=e=>{K(e,xi<<1,3),ne(e,rn,le),kr(e)},zr=(e,n,t,i)=>{let l,a,f=0;e.level>0?(e.strm.data_type===br&&(e.strm.data_type=Fr(e)),qt(e,e.l_desc),qt(e,e.d_desc),f=Sr(e),l=e.opt_len+3+7>>>3,a=e.static_len+3+7>>>3,a<=l&&(l=a)):l=a=t+5,t+4<=l&&n!==-1?Ci(e,n,t,i):e.strategy===gr||a===l?(K(e,(xi<<1)+(i?1:0),3),gn(e,le,Be)):(K(e,(yr<<1)+(i?1:0),3),Or(e,e.l_desc.max_code+1,e.d_desc.max_code+1,f+1),gn(e,e.dyn_ltree,e.dyn_dtree)),Ri(e),i&&zi(e)},Cr=(e,n,t)=>(e.pending_buf[e.sym_buf+e.sym_next++]=n,e.pending_buf[e.sym_buf+e.sym_next++]=n>>8,e.pending_buf[e.sym_buf+e.sym_next++]=t,n===0?e.dyn_ltree[t*2]++:(e.matches++,n--,e.dyn_ltree[(Ve[t]+We+1)*2]++,e.dyn_dtree[Oi(n)*2]++),e.sym_next===e.sym_end);var Lr=Ir,Pr=Ci,$r=zr,Zr=Cr,Br=Rr,Ur={_tr_init:Lr,_tr_stored_block:Pr,_tr_flush_block:$r,_tr_tally:Zr,_tr_align:Br};const Mr=(e,n,t,i)=>{let l=e&65535|0,a=e>>>16&65535|0,f=0;for(;t!==0;){f=t>2e3?2e3:t,t-=f;do l=l+n[i++]|0,a=a+l|0;while(--f);l%=65521,a%=65521}return l|a<<16|0};var qe=Mr;const jr=()=>{let e,n=[];for(var t=0;t<256;t++){e=t;for(var i=0;i<8;i++)e=e&1?3988292384^e>>>1:e>>>1;n[t]=e}return n},Hr=new Uint32Array(jr()),Vr=(e,n,t,i)=>{const l=Hr,a=i+t;e^=-1;for(let f=i;f<a;f++)e=e>>>8^l[(e^n[f])&255];return e^-1};var H=Vr,xe={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"},Je={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_MEM_ERROR:-4,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8};const{_tr_init:Xr,_tr_stored_block:Gt,_tr_flush_block:qr,_tr_tally:_e,_tr_align:Gr}=Ur,{Z_NO_FLUSH:pe,Z_PARTIAL_FLUSH:Kr,Z_FULL_FLUSH:Yr,Z_FINISH:Q,Z_BLOCK:xn,Z_OK:V,Z_STREAM_END:mn,Z_STREAM_ERROR:ie,Z_DATA_ERROR:Wr,Z_BUF_ERROR:vt,Z_DEFAULT_COMPRESSION:Jr,Z_FILTERED:Qr,Z_HUFFMAN_ONLY:nt,Z_RLE:Dr,Z_FIXED:ea,Z_DEFAULT_STRATEGY:ta,Z_UNKNOWN:na,Z_DEFLATED:_t}=Je,ia=9,ra=15,aa=8,sa=29,oa=256,Kt=oa+1+sa,la=30,fa=19,ca=2*Kt+1,da=15,P=3,he=258,re=he+P+1,ua=32,Oe=42,sn=57,Yt=69,Wt=73,Jt=91,Qt=103,we=113,$e=666,X=1,ze=2,me=3,Ce=4,ha=3,ye=(e,n)=>(e.msg=xe[n],n),En=e=>e*2-(e>4?9:0),ue=e=>{let n=e.length;for(;--n>=0;)e[n]=0},_a=e=>{let n,t,i,l=e.w_size;n=e.hash_size,i=n;do t=e.head[--i],e.head[i]=t>=l?t-l:0;while(--n);n=l,i=n;do t=e.prev[--i],e.prev[i]=t>=l?t-l:0;while(--n)};let pa=(e,n,t)=>(n<<e.hash_shift^t)&e.hash_mask,ge=pa;const W=e=>{const n=e.state;let t=n.pending;t>e.avail_out&&(t=e.avail_out),t!==0&&(e.output.set(n.pending_buf.subarray(n.pending_out,n.pending_out+t),e.next_out),e.next_out+=t,n.pending_out+=t,e.total_out+=t,e.avail_out-=t,n.pending-=t,n.pending===0&&(n.pending_out=0))},J=(e,n)=>{qr(e,e.block_start>=0?e.block_start:-1,e.strstart-e.block_start,n),e.block_start=e.strstart,W(e.strm)},B=(e,n)=>{e.pending_buf[e.pending++]=n},Le=(e,n)=>{e.pending_buf[e.pending++]=n>>>8&255,e.pending_buf[e.pending++]=n&255},Dt=(e,n,t,i)=>{let l=e.avail_in;return l>i&&(l=i),l===0?0:(e.avail_in-=l,n.set(e.input.subarray(e.next_in,e.next_in+l),t),e.state.wrap===1?e.adler=qe(e.adler,n,l,t):e.state.wrap===2&&(e.adler=H(e.adler,n,l,t)),e.next_in+=l,e.total_in+=l,l)},Li=(e,n)=>{let t=e.max_chain_length,i=e.strstart,l,a,f=e.prev_length,s=e.nice_match;const c=e.strstart>e.w_size-re?e.strstart-(e.w_size-re):0,r=e.window,o=e.w_mask,E=e.prev,_=e.strstart+he;let h=r[i+f-1],v=r[i+f];e.prev_length>=e.good_match&&(t>>=2),s>e.lookahead&&(s=e.lookahead);do if(l=n,!(r[l+f]!==v||r[l+f-1]!==h||r[l]!==r[i]||r[++l]!==r[i+1])){i+=2,l++;do;while(r[++i]===r[++l]&&r[++i]===r[++l]&&r[++i]===r[++l]&&r[++i]===r[++l]&&r[++i]===r[++l]&&r[++i]===r[++l]&&r[++i]===r[++l]&&r[++i]===r[++l]&&i<_);if(a=he-(_-i),i=_-he,a>f){if(e.match_start=n,f=a,a>=s)break;h=r[i+f-1],v=r[i+f]}}while((n=E[n&o])>c&&--t!==0);return f<=e.lookahead?f:e.lookahead},Fe=e=>{const n=e.w_size;let t,i,l;do{if(i=e.window_size-e.lookahead-e.strstart,e.strstart>=n+(n-re)&&(e.window.set(e.window.subarray(n,n+n-i),0),e.match_start-=n,e.strstart-=n,e.block_start-=n,e.insert>e.strstart&&(e.insert=e.strstart),_a(e),i+=n),e.strm.avail_in===0)break;if(t=Dt(e.strm,e.window,e.strstart+e.lookahead,i),e.lookahead+=t,e.lookahead+e.insert>=P)for(l=e.strstart-e.insert,e.ins_h=e.window[l],e.ins_h=ge(e,e.ins_h,e.window[l+1]);e.insert&&(e.ins_h=ge(e,e.ins_h,e.window[l+P-1]),e.prev[l&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=l,l++,e.insert--,!(e.lookahead+e.insert<P)););}while(e.lookahead<re&&e.strm.avail_in!==0)},Pi=(e,n)=>{let t=e.pending_buf_size-5>e.w_size?e.w_size:e.pending_buf_size-5,i,l,a,f=0,s=e.strm.avail_in;do{if(i=65535,a=e.bi_valid+42>>3,e.strm.avail_out<a||(a=e.strm.avail_out-a,l=e.strstart-e.block_start,i>l+e.strm.avail_in&&(i=l+e.strm.avail_in),i>a&&(i=a),i<t&&(i===0&&n!==Q||n===pe||i!==l+e.strm.avail_in)))break;f=n===Q&&i===l+e.strm.avail_in?1:0,Gt(e,0,0,f),e.pending_buf[e.pending-4]=i,e.pending_buf[e.pending-3]=i>>8,e.pending_buf[e.pending-2]=~i,e.pending_buf[e.pending-1]=~i>>8,W(e.strm),l&&(l>i&&(l=i),e.strm.output.set(e.window.subarray(e.block_start,e.block_start+l),e.strm.next_out),e.strm.next_out+=l,e.strm.avail_out-=l,e.strm.total_out+=l,e.block_start+=l,i-=l),i&&(Dt(e.strm,e.strm.output,e.strm.next_out,i),e.strm.next_out+=i,e.strm.avail_out-=i,e.strm.total_out+=i)}while(f===0);return s-=e.strm.avail_in,s&&(s>=e.w_size?(e.matches=2,e.window.set(e.strm.input.subarray(e.strm.next_in-e.w_size,e.strm.next_in),0),e.strstart=e.w_size,e.insert=e.strstart):(e.window_size-e.strstart<=s&&(e.strstart-=e.w_size,e.window.set(e.window.subarray(e.w_size,e.w_size+e.strstart),0),e.matches<2&&e.matches++,e.insert>e.strstart&&(e.insert=e.strstart)),e.window.set(e.strm.input.subarray(e.strm.next_in-s,e.strm.next_in),e.strstart),e.strstart+=s,e.insert+=s>e.w_size-e.insert?e.w_size-e.insert:s),e.block_start=e.strstart),e.high_water<e.strstart&&(e.high_water=e.strstart),f?Ce:n!==pe&&n!==Q&&e.strm.avail_in===0&&e.strstart===e.block_start?ze:(a=e.window_size-e.strstart,e.strm.avail_in>a&&e.block_start>=e.w_size&&(e.block_start-=e.w_size,e.strstart-=e.w_size,e.window.set(e.window.subarray(e.w_size,e.w_size+e.strstart),0),e.matches<2&&e.matches++,a+=e.w_size,e.insert>e.strstart&&(e.insert=e.strstart)),a>e.strm.avail_in&&(a=e.strm.avail_in),a&&(Dt(e.strm,e.window,e.strstart,a),e.strstart+=a,e.insert+=a>e.w_size-e.insert?e.w_size-e.insert:a),e.high_water<e.strstart&&(e.high_water=e.strstart),a=e.bi_valid+42>>3,a=e.pending_buf_size-a>65535?65535:e.pending_buf_size-a,t=a>e.w_size?e.w_size:a,l=e.strstart-e.block_start,(l>=t||(l||n===Q)&&n!==pe&&e.strm.avail_in===0&&l<=a)&&(i=l>a?a:l,f=n===Q&&e.strm.avail_in===0&&i===l?1:0,Gt(e,e.block_start,i,f),e.block_start+=i,W(e.strm)),f?me:X)},Nt=(e,n)=>{let t,i;for(;;){if(e.lookahead<re){if(Fe(e),e.lookahead<re&&n===pe)return X;if(e.lookahead===0)break}if(t=0,e.lookahead>=P&&(e.ins_h=ge(e,e.ins_h,e.window[e.strstart+P-1]),t=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),t!==0&&e.strstart-t<=e.w_size-re&&(e.match_length=Li(e,t)),e.match_length>=P)if(i=_e(e,e.strstart-e.match_start,e.match_length-P),e.lookahead-=e.match_length,e.match_length<=e.max_lazy_match&&e.lookahead>=P){e.match_length--;do e.strstart++,e.ins_h=ge(e,e.ins_h,e.window[e.strstart+P-1]),t=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart;while(--e.match_length!==0);e.strstart++}else e.strstart+=e.match_length,e.match_length=0,e.ins_h=e.window[e.strstart],e.ins_h=ge(e,e.ins_h,e.window[e.strstart+1]);else i=_e(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++;if(i&&(J(e,!1),e.strm.avail_out===0))return X}return e.insert=e.strstart<P-1?e.strstart:P-1,n===Q?(J(e,!0),e.strm.avail_out===0?me:Ce):e.sym_next&&(J(e,!1),e.strm.avail_out===0)?X:ze},Te=(e,n)=>{let t,i,l;for(;;){if(e.lookahead<re){if(Fe(e),e.lookahead<re&&n===pe)return X;if(e.lookahead===0)break}if(t=0,e.lookahead>=P&&(e.ins_h=ge(e,e.ins_h,e.window[e.strstart+P-1]),t=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),e.prev_length=e.match_length,e.prev_match=e.match_start,e.match_length=P-1,t!==0&&e.prev_length<e.max_lazy_match&&e.strstart-t<=e.w_size-re&&(e.match_length=Li(e,t),e.match_length<=5&&(e.strategy===Qr||e.match_length===P&&e.strstart-e.match_start>4096)&&(e.match_length=P-1)),e.prev_length>=P&&e.match_length<=e.prev_length){l=e.strstart+e.lookahead-P,i=_e(e,e.strstart-1-e.prev_match,e.prev_length-P),e.lookahead-=e.prev_length-1,e.prev_length-=2;do++e.strstart<=l&&(e.ins_h=ge(e,e.ins_h,e.window[e.strstart+P-1]),t=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart);while(--e.prev_length!==0);if(e.match_available=0,e.match_length=P-1,e.strstart++,i&&(J(e,!1),e.strm.avail_out===0))return X}else if(e.match_available){if(i=_e(e,0,e.window[e.strstart-1]),i&&J(e,!1),e.strstart++,e.lookahead--,e.strm.avail_out===0)return X}else e.match_available=1,e.strstart++,e.lookahead--}return e.match_available&&(i=_e(e,0,e.window[e.strstart-1]),e.match_available=0),e.insert=e.strstart<P-1?e.strstart:P-1,n===Q?(J(e,!0),e.strm.avail_out===0?me:Ce):e.sym_next&&(J(e,!1),e.strm.avail_out===0)?X:ze},ga=(e,n)=>{let t,i,l,a;const f=e.window;for(;;){if(e.lookahead<=he){if(Fe(e),e.lookahead<=he&&n===pe)return X;if(e.lookahead===0)break}if(e.match_length=0,e.lookahead>=P&&e.strstart>0&&(l=e.strstart-1,i=f[l],i===f[++l]&&i===f[++l]&&i===f[++l])){a=e.strstart+he;do;while(i===f[++l]&&i===f[++l]&&i===f[++l]&&i===f[++l]&&i===f[++l]&&i===f[++l]&&i===f[++l]&&i===f[++l]&&l<a);e.match_length=he-(a-l),e.match_length>e.lookahead&&(e.match_length=e.lookahead)}if(e.match_length>=P?(t=_e(e,1,e.match_length-P),e.lookahead-=e.match_length,e.strstart+=e.match_length,e.match_length=0):(t=_e(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++),t&&(J(e,!1),e.strm.avail_out===0))return X}return e.insert=0,n===Q?(J(e,!0),e.strm.avail_out===0?me:Ce):e.sym_next&&(J(e,!1),e.strm.avail_out===0)?X:ze},ba=(e,n)=>{let t;for(;;){if(e.lookahead===0&&(Fe(e),e.lookahead===0)){if(n===pe)return X;break}if(e.match_length=0,t=_e(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++,t&&(J(e,!1),e.strm.avail_out===0))return X}return e.insert=0,n===Q?(J(e,!0),e.strm.avail_out===0?me:Ce):e.sym_next&&(J(e,!1),e.strm.avail_out===0)?X:ze};function te(e,n,t,i,l){this.good_length=e,this.max_lazy=n,this.nice_length=t,this.max_chain=i,this.func=l}const Ze=[new te(0,0,0,0,Pi),new te(4,4,8,4,Nt),new te(4,5,16,8,Nt),new te(4,6,32,32,Nt),new te(4,4,16,16,Te),new te(8,16,32,32,Te),new te(8,16,128,128,Te),new te(8,32,128,256,Te),new te(32,128,258,1024,Te),new te(32,258,258,4096,Te)],wa=e=>{e.window_size=2*e.w_size,ue(e.head),e.max_lazy_match=Ze[e.level].max_lazy,e.good_match=Ze[e.level].good_length,e.nice_match=Ze[e.level].nice_length,e.max_chain_length=Ze[e.level].max_chain,e.strstart=0,e.block_start=0,e.lookahead=0,e.insert=0,e.match_length=e.prev_length=P-1,e.match_available=0,e.ins_h=0};function ya(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=_t,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new Uint16Array(ca*2),this.dyn_dtree=new Uint16Array((2*la+1)*2),this.bl_tree=new Uint16Array((2*fa+1)*2),ue(this.dyn_ltree),ue(this.dyn_dtree),ue(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new Uint16Array(da+1),this.heap=new Uint16Array(2*Kt+1),ue(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new Uint16Array(2*Kt+1),ue(this.depth),this.sym_buf=0,this.lit_bufsize=0,this.sym_next=0,this.sym_end=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}const Qe=e=>{if(!e)return 1;const n=e.state;return!n||n.strm!==e||n.status!==Oe&&n.status!==sn&&n.status!==Yt&&n.status!==Wt&&n.status!==Jt&&n.status!==Qt&&n.status!==we&&n.status!==$e?1:0},$i=e=>{if(Qe(e))return ye(e,ie);e.total_in=e.total_out=0,e.data_type=na;const n=e.state;return n.pending=0,n.pending_out=0,n.wrap<0&&(n.wrap=-n.wrap),n.status=n.wrap===2?sn:n.wrap?Oe:we,e.adler=n.wrap===2?0:1,n.last_flush=-2,Xr(n),V},Zi=e=>{const n=$i(e);return n===V&&wa(e.state),n},xa=(e,n)=>Qe(e)||e.state.wrap!==2?ie:(e.state.gzhead=n,V),Bi=(e,n,t,i,l,a)=>{if(!e)return ie;let f=1;if(n===Jr&&(n=6),i<0?(f=0,i=-i):i>15&&(f=2,i-=16),l<1||l>ia||t!==_t||i<8||i>15||n<0||n>9||a<0||a>ea||i===8&&f!==1)return ye(e,ie);i===8&&(i=9);const s=new ya;return e.state=s,s.strm=e,s.status=Oe,s.wrap=f,s.gzhead=null,s.w_bits=i,s.w_size=1<<s.w_bits,s.w_mask=s.w_size-1,s.hash_bits=l+7,s.hash_size=1<<s.hash_bits,s.hash_mask=s.hash_size-1,s.hash_shift=~~((s.hash_bits+P-1)/P),s.window=new Uint8Array(s.w_size*2),s.head=new Uint16Array(s.hash_size),s.prev=new Uint16Array(s.w_size),s.lit_bufsize=1<<l+6,s.pending_buf_size=s.lit_bufsize*4,s.pending_buf=new Uint8Array(s.pending_buf_size),s.sym_buf=s.lit_bufsize,s.sym_end=(s.lit_bufsize-1)*3,s.level=n,s.strategy=a,s.method=t,Zi(e)},ma=(e,n)=>Bi(e,n,_t,ra,aa,ta),Ea=(e,n)=>{if(Qe(e)||n>xn||n<0)return e?ye(e,ie):ie;const t=e.state;if(!e.output||e.avail_in!==0&&!e.input||t.status===$e&&n!==Q)return ye(e,e.avail_out===0?vt:ie);const i=t.last_flush;if(t.last_flush=n,t.pending!==0){if(W(e),e.avail_out===0)return t.last_flush=-1,V}else if(e.avail_in===0&&En(n)<=En(i)&&n!==Q)return ye(e,vt);if(t.status===$e&&e.avail_in!==0)return ye(e,vt);if(t.status===Oe&&t.wrap===0&&(t.status=we),t.status===Oe){let l=_t+(t.w_bits-8<<4)<<8,a=-1;if(t.strategy>=nt||t.level<2?a=0:t.level<6?a=1:t.level===6?a=2:a=3,l|=a<<6,t.strstart!==0&&(l|=ua),l+=31-l%31,Le(t,l),t.strstart!==0&&(Le(t,e.adler>>>16),Le(t,e.adler&65535)),e.adler=1,t.status=we,W(e),t.pending!==0)return t.last_flush=-1,V}if(t.status===sn){if(e.adler=0,B(t,31),B(t,139),B(t,8),t.gzhead)B(t,(t.gzhead.text?1:0)+(t.gzhead.hcrc?2:0)+(t.gzhead.extra?4:0)+(t.gzhead.name?8:0)+(t.gzhead.comment?16:0)),B(t,t.gzhead.time&255),B(t,t.gzhead.time>>8&255),B(t,t.gzhead.time>>16&255),B(t,t.gzhead.time>>24&255),B(t,t.level===9?2:t.strategy>=nt||t.level<2?4:0),B(t,t.gzhead.os&255),t.gzhead.extra&&t.gzhead.extra.length&&(B(t,t.gzhead.extra.length&255),B(t,t.gzhead.extra.length>>8&255)),t.gzhead.hcrc&&(e.adler=H(e.adler,t.pending_buf,t.pending,0)),t.gzindex=0,t.status=Yt;else if(B(t,0),B(t,0),B(t,0),B(t,0),B(t,0),B(t,t.level===9?2:t.strategy>=nt||t.level<2?4:0),B(t,ha),t.status=we,W(e),t.pending!==0)return t.last_flush=-1,V}if(t.status===Yt){if(t.gzhead.extra){let l=t.pending,a=(t.gzhead.extra.length&65535)-t.gzindex;for(;t.pending+a>t.pending_buf_size;){let s=t.pending_buf_size-t.pending;if(t.pending_buf.set(t.gzhead.extra.subarray(t.gzindex,t.gzindex+s),t.pending),t.pending=t.pending_buf_size,t.gzhead.hcrc&&t.pending>l&&(e.adler=H(e.adler,t.pending_buf,t.pending-l,l)),t.gzindex+=s,W(e),t.pending!==0)return t.last_flush=-1,V;l=0,a-=s}let f=new Uint8Array(t.gzhead.extra);t.pending_buf.set(f.subarray(t.gzindex,t.gzindex+a),t.pending),t.pending+=a,t.gzhead.hcrc&&t.pending>l&&(e.adler=H(e.adler,t.pending_buf,t.pending-l,l)),t.gzindex=0}t.status=Wt}if(t.status===Wt){if(t.gzhead.name){let l=t.pending,a;do{if(t.pending===t.pending_buf_size){if(t.gzhead.hcrc&&t.pending>l&&(e.adler=H(e.adler,t.pending_buf,t.pending-l,l)),W(e),t.pending!==0)return t.last_flush=-1,V;l=0}t.gzindex<t.gzhead.name.length?a=t.gzhead.name.charCodeAt(t.gzindex++)&255:a=0,B(t,a)}while(a!==0);t.gzhead.hcrc&&t.pending>l&&(e.adler=H(e.adler,t.pending_buf,t.pending-l,l)),t.gzindex=0}t.status=Jt}if(t.status===Jt){if(t.gzhead.comment){let l=t.pending,a;do{if(t.pending===t.pending_buf_size){if(t.gzhead.hcrc&&t.pending>l&&(e.adler=H(e.adler,t.pending_buf,t.pending-l,l)),W(e),t.pending!==0)return t.last_flush=-1,V;l=0}t.gzindex<t.gzhead.comment.length?a=t.gzhead.comment.charCodeAt(t.gzindex++)&255:a=0,B(t,a)}while(a!==0);t.gzhead.hcrc&&t.pending>l&&(e.adler=H(e.adler,t.pending_buf,t.pending-l,l))}t.status=Qt}if(t.status===Qt){if(t.gzhead.hcrc){if(t.pending+2>t.pending_buf_size&&(W(e),t.pending!==0))return t.last_flush=-1,V;B(t,e.adler&255),B(t,e.adler>>8&255),e.adler=0}if(t.status=we,W(e),t.pending!==0)return t.last_flush=-1,V}if(e.avail_in!==0||t.lookahead!==0||n!==pe&&t.status!==$e){let l=t.level===0?Pi(t,n):t.strategy===nt?ba(t,n):t.strategy===Dr?ga(t,n):Ze[t.level].func(t,n);if((l===me||l===Ce)&&(t.status=$e),l===X||l===me)return e.avail_out===0&&(t.last_flush=-1),V;if(l===ze&&(n===Kr?Gr(t):n!==xn&&(Gt(t,0,0,!1),n===Yr&&(ue(t.head),t.lookahead===0&&(t.strstart=0,t.block_start=0,t.insert=0))),W(e),e.avail_out===0))return t.last_flush=-1,V}return n!==Q?V:t.wrap<=0?mn:(t.wrap===2?(B(t,e.adler&255),B(t,e.adler>>8&255),B(t,e.adler>>16&255),B(t,e.adler>>24&255),B(t,e.total_in&255),B(t,e.total_in>>8&255),B(t,e.total_in>>16&255),B(t,e.total_in>>24&255)):(Le(t,e.adler>>>16),Le(t,e.adler&65535)),W(e),t.wrap>0&&(t.wrap=-t.wrap),t.pending!==0?V:mn)},va=e=>{if(Qe(e))return ie;const n=e.state.status;return e.state=null,n===we?ye(e,Wr):V},Na=(e,n)=>{let t=n.length;if(Qe(e))return ie;const i=e.state,l=i.wrap;if(l===2||l===1&&i.status!==Oe||i.lookahead)return ie;if(l===1&&(e.adler=qe(e.adler,n,t,0)),i.wrap=0,t>=i.w_size){l===0&&(ue(i.head),i.strstart=0,i.block_start=0,i.insert=0);let c=new Uint8Array(i.w_size);c.set(n.subarray(t-i.w_size,t),0),n=c,t=i.w_size}const a=e.avail_in,f=e.next_in,s=e.input;for(e.avail_in=t,e.next_in=0,e.input=n,Fe(i);i.lookahead>=P;){let c=i.strstart,r=i.lookahead-(P-1);do i.ins_h=ge(i,i.ins_h,i.window[c+P-1]),i.prev[c&i.w_mask]=i.head[i.ins_h],i.head[i.ins_h]=c,c++;while(--r);i.strstart=c,i.lookahead=P-1,Fe(i)}return i.strstart+=i.lookahead,i.block_start=i.strstart,i.insert=i.lookahead,i.lookahead=0,i.match_length=i.prev_length=P-1,i.match_available=0,e.next_in=f,e.input=s,e.avail_in=a,i.wrap=l,V};var ka=ma,Ta=Bi,Aa=Zi,Sa=$i,Oa=xa,Fa=Ea,Ia=va,Ra=Na,za="pako deflate (from Nodeca project)",Ue={deflateInit:ka,deflateInit2:Ta,deflateReset:Aa,deflateResetKeep:Sa,deflateSetHeader:Oa,deflate:Fa,deflateEnd:Ia,deflateSetDictionary:Ra,deflateInfo:za};const Ca=(e,n)=>Object.prototype.hasOwnProperty.call(e,n);var La=function(e){const n=Array.prototype.slice.call(arguments,1);for(;n.length;){const t=n.shift();if(t){if(typeof t!="object")throw new TypeError(t+"must be non-object");for(const i in t)Ca(t,i)&&(e[i]=t[i])}}return e},Pa=e=>{let n=0;for(let i=0,l=e.length;i<l;i++)n+=e[i].length;const t=new Uint8Array(n);for(let i=0,l=0,a=e.length;i<a;i++){let f=e[i];t.set(f,l),l+=f.length}return t},pt={assign:La,flattenChunks:Pa};let Ui=!0;try{String.fromCharCode.apply(null,new Uint8Array(1))}catch{Ui=!1}const Ge=new Uint8Array(256);for(let e=0;e<256;e++)Ge[e]=e>=252?6:e>=248?5:e>=240?4:e>=224?3:e>=192?2:1;Ge[254]=Ge[254]=1;var $a=e=>{if(typeof TextEncoder=="function"&&TextEncoder.prototype.encode)return new TextEncoder().encode(e);let n,t,i,l,a,f=e.length,s=0;for(l=0;l<f;l++)t=e.charCodeAt(l),(t&64512)===55296&&l+1<f&&(i=e.charCodeAt(l+1),(i&64512)===56320&&(t=65536+(t-55296<<10)+(i-56320),l++)),s+=t<128?1:t<2048?2:t<65536?3:4;for(n=new Uint8Array(s),a=0,l=0;a<s;l++)t=e.charCodeAt(l),(t&64512)===55296&&l+1<f&&(i=e.charCodeAt(l+1),(i&64512)===56320&&(t=65536+(t-55296<<10)+(i-56320),l++)),t<128?n[a++]=t:t<2048?(n[a++]=192|t>>>6,n[a++]=128|t&63):t<65536?(n[a++]=224|t>>>12,n[a++]=128|t>>>6&63,n[a++]=128|t&63):(n[a++]=240|t>>>18,n[a++]=128|t>>>12&63,n[a++]=128|t>>>6&63,n[a++]=128|t&63);return n};const Za=(e,n)=>{if(n<65534&&e.subarray&&Ui)return String.fromCharCode.apply(null,e.length===n?e:e.subarray(0,n));let t="";for(let i=0;i<n;i++)t+=String.fromCharCode(e[i]);return t};var Ba=(e,n)=>{const t=n||e.length;if(typeof TextDecoder=="function"&&TextDecoder.prototype.decode)return new TextDecoder().decode(e.subarray(0,n));let i,l;const a=new Array(t*2);for(l=0,i=0;i<t;){let f=e[i++];if(f<128){a[l++]=f;continue}let s=Ge[f];if(s>4){a[l++]=65533,i+=s-1;continue}for(f&=s===2?31:s===3?15:7;s>1&&i<t;)f=f<<6|e[i++]&63,s--;if(s>1){a[l++]=65533;continue}f<65536?a[l++]=f:(f-=65536,a[l++]=55296|f>>10&1023,a[l++]=56320|f&1023)}return Za(a,l)},Ua=(e,n)=>{n=n||e.length,n>e.length&&(n=e.length);let t=n-1;for(;t>=0&&(e[t]&192)===128;)t--;return t<0||t===0?n:t+Ge[e[t]]>n?t:n},Ke={string2buf:$a,buf2string:Ba,utf8border:Ua};function Ma(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}var Mi=Ma;const ji=Object.prototype.toString,{Z_NO_FLUSH:ja,Z_SYNC_FLUSH:Ha,Z_FULL_FLUSH:Va,Z_FINISH:Xa,Z_OK:ut,Z_STREAM_END:qa,Z_DEFAULT_COMPRESSION:Ga,Z_DEFAULT_STRATEGY:Ka,Z_DEFLATED:Ya}=Je;function De(e){this.options=pt.assign({level:Ga,method:Ya,chunkSize:16384,windowBits:15,memLevel:8,strategy:Ka},e||{});let n=this.options;n.raw&&n.windowBits>0?n.windowBits=-n.windowBits:n.gzip&&n.windowBits>0&&n.windowBits<16&&(n.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new Mi,this.strm.avail_out=0;let t=Ue.deflateInit2(this.strm,n.level,n.method,n.windowBits,n.memLevel,n.strategy);if(t!==ut)throw new Error(xe[t]);if(n.header&&Ue.deflateSetHeader(this.strm,n.header),n.dictionary){let i;if(typeof n.dictionary=="string"?i=Ke.string2buf(n.dictionary):ji.call(n.dictionary)==="[object ArrayBuffer]"?i=new Uint8Array(n.dictionary):i=n.dictionary,t=Ue.deflateSetDictionary(this.strm,i),t!==ut)throw new Error(xe[t]);this._dict_set=!0}}De.prototype.push=function(e,n){const t=this.strm,i=this.options.chunkSize;let l,a;if(this.ended)return!1;for(n===~~n?a=n:a=n===!0?Xa:ja,typeof e=="string"?t.input=Ke.string2buf(e):ji.call(e)==="[object ArrayBuffer]"?t.input=new Uint8Array(e):t.input=e,t.next_in=0,t.avail_in=t.input.length;;){if(t.avail_out===0&&(t.output=new Uint8Array(i),t.next_out=0,t.avail_out=i),(a===Ha||a===Va)&&t.avail_out<=6){this.onData(t.output.subarray(0,t.next_out)),t.avail_out=0;continue}if(l=Ue.deflate(t,a),l===qa)return t.next_out>0&&this.onData(t.output.subarray(0,t.next_out)),l=Ue.deflateEnd(this.strm),this.onEnd(l),this.ended=!0,l===ut;if(t.avail_out===0){this.onData(t.output);continue}if(a>0&&t.next_out>0){this.onData(t.output.subarray(0,t.next_out)),t.avail_out=0;continue}if(t.avail_in===0)break}return!0};De.prototype.onData=function(e){this.chunks.push(e)};De.prototype.onEnd=function(e){e===ut&&(this.result=pt.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg};function on(e,n){const t=new De(n);if(t.push(e,!0),t.err)throw t.msg||xe[t.err];return t.result}function Wa(e,n){return n=n||{},n.raw=!0,on(e,n)}function Ja(e,n){return n=n||{},n.gzip=!0,on(e,n)}var Qa=De,Da=on,es=Wa,ts=Ja,ns={Deflate:Qa,deflate:Da,deflateRaw:es,gzip:ts};const it=16209,is=16191;var rs=function(n,t){let i,l,a,f,s,c,r,o,E,_,h,v,T,I,d,g,N,k,u,p,b,A,y,m;const O=n.state;i=n.next_in,y=n.input,l=i+(n.avail_in-5),a=n.next_out,m=n.output,f=a-(t-n.avail_out),s=a+(n.avail_out-257),c=O.dmax,r=O.wsize,o=O.whave,E=O.wnext,_=O.window,h=O.hold,v=O.bits,T=O.lencode,I=O.distcode,d=(1<<O.lenbits)-1,g=(1<<O.distbits)-1;e:do{v<15&&(h+=y[i++]<<v,v+=8,h+=y[i++]<<v,v+=8),N=T[h&d];t:for(;;){if(k=N>>>24,h>>>=k,v-=k,k=N>>>16&255,k===0)m[a++]=N&65535;else if(k&16){u=N&65535,k&=15,k&&(v<k&&(h+=y[i++]<<v,v+=8),u+=h&(1<<k)-1,h>>>=k,v-=k),v<15&&(h+=y[i++]<<v,v+=8,h+=y[i++]<<v,v+=8),N=I[h&g];n:for(;;){if(k=N>>>24,h>>>=k,v-=k,k=N>>>16&255,k&16){if(p=N&65535,k&=15,v<k&&(h+=y[i++]<<v,v+=8,v<k&&(h+=y[i++]<<v,v+=8)),p+=h&(1<<k)-1,p>c){n.msg="invalid distance too far back",O.mode=it;break e}if(h>>>=k,v-=k,k=a-f,p>k){if(k=p-k,k>o&&O.sane){n.msg="invalid distance too far back",O.mode=it;break e}if(b=0,A=_,E===0){if(b+=r-k,k<u){u-=k;do m[a++]=_[b++];while(--k);b=a-p,A=m}}else if(E<k){if(b+=r+E-k,k-=E,k<u){u-=k;do m[a++]=_[b++];while(--k);if(b=0,E<u){k=E,u-=k;do m[a++]=_[b++];while(--k);b=a-p,A=m}}}else if(b+=E-k,k<u){u-=k;do m[a++]=_[b++];while(--k);b=a-p,A=m}for(;u>2;)m[a++]=A[b++],m[a++]=A[b++],m[a++]=A[b++],u-=3;u&&(m[a++]=A[b++],u>1&&(m[a++]=A[b++]))}else{b=a-p;do m[a++]=m[b++],m[a++]=m[b++],m[a++]=m[b++],u-=3;while(u>2);u&&(m[a++]=m[b++],u>1&&(m[a++]=m[b++]))}}else if((k&64)===0){N=I[(N&65535)+(h&(1<<k)-1)];continue n}else{n.msg="invalid distance code",O.mode=it;break e}break}}else if((k&64)===0){N=T[(N&65535)+(h&(1<<k)-1)];continue t}else if(k&32){O.mode=is;break e}else{n.msg="invalid literal/length code",O.mode=it;break e}break}}while(i<l&&a<s);u=v>>3,i-=u,v-=u<<3,h&=(1<<v)-1,n.next_in=i,n.next_out=a,n.avail_in=i<l?5+(l-i):5-(i-l),n.avail_out=a<s?257+(s-a):257-(a-s),O.hold=h,O.bits=v};const Ae=15,vn=852,Nn=592,kn=0,kt=1,Tn=2,as=new Uint16Array([3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0]),ss=new Uint8Array([16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78]),os=new Uint16Array([1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0]),ls=new Uint8Array([16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64]),fs=(e,n,t,i,l,a,f,s)=>{const c=s.bits;let r=0,o=0,E=0,_=0,h=0,v=0,T=0,I=0,d=0,g=0,N,k,u,p,b,A=null,y;const m=new Uint16Array(Ae+1),O=new Uint16Array(Ae+1);let w=null,x,S,F;for(r=0;r<=Ae;r++)m[r]=0;for(o=0;o<i;o++)m[n[t+o]]++;for(h=c,_=Ae;_>=1&&m[_]===0;_--);if(h>_&&(h=_),_===0)return l[a++]=1<<24|64<<16|0,l[a++]=1<<24|64<<16|0,s.bits=1,0;for(E=1;E<_&&m[E]===0;E++);for(h<E&&(h=E),I=1,r=1;r<=Ae;r++)if(I<<=1,I-=m[r],I<0)return-1;if(I>0&&(e===kn||_!==1))return-1;for(O[1]=0,r=1;r<Ae;r++)O[r+1]=O[r]+m[r];for(o=0;o<i;o++)n[t+o]!==0&&(f[O[n[t+o]]++]=o);if(e===kn?(A=w=f,y=20):e===kt?(A=as,w=ss,y=257):(A=os,w=ls,y=0),g=0,o=0,r=E,b=a,v=h,T=0,u=-1,d=1<<h,p=d-1,e===kt&&d>vn||e===Tn&&d>Nn)return 1;for(;;){x=r-T,f[o]+1<y?(S=0,F=f[o]):f[o]>=y?(S=w[f[o]-y],F=A[f[o]-y]):(S=96,F=0),N=1<<r-T,k=1<<v,E=k;do k-=N,l[b+(g>>T)+k]=x<<24|S<<16|F|0;while(k!==0);for(N=1<<r-1;g&N;)N>>=1;if(N!==0?(g&=N-1,g+=N):g=0,o++,--m[r]===0){if(r===_)break;r=n[t+f[o]]}if(r>h&&(g&p)!==u){for(T===0&&(T=h),b+=E,v=r-T,I=1<<v;v+T<_&&(I-=m[v+T],!(I<=0));)v++,I<<=1;if(d+=1<<v,e===kt&&d>vn||e===Tn&&d>Nn)return 1;u=g&p,l[u]=h<<24|v<<16|b-a|0}}return g!==0&&(l[b+g]=r-T<<24|64<<16|0),s.bits=h,0};var Me=fs;const cs=0,Hi=1,Vi=2,{Z_FINISH:An,Z_BLOCK:ds,Z_TREES:rt,Z_OK:Ee,Z_STREAM_END:us,Z_NEED_DICT:hs,Z_STREAM_ERROR:D,Z_DATA_ERROR:Xi,Z_MEM_ERROR:qi,Z_BUF_ERROR:_s,Z_DEFLATED:Sn}=Je,gt=16180,On=16181,Fn=16182,In=16183,Rn=16184,zn=16185,Cn=16186,Ln=16187,Pn=16188,$n=16189,ht=16190,oe=16191,Tt=16192,Zn=16193,At=16194,Bn=16195,Un=16196,Mn=16197,jn=16198,at=16199,st=16200,Hn=16201,Vn=16202,Xn=16203,qn=16204,Gn=16205,St=16206,Kn=16207,Yn=16208,j=16209,Gi=16210,Ki=16211,ps=852,gs=592,bs=15,ws=bs,Wn=e=>(e>>>24&255)+(e>>>8&65280)+((e&65280)<<8)+((e&255)<<24);function ys(){this.strm=null,this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new Uint16Array(320),this.work=new Uint16Array(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}const ve=e=>{if(!e)return 1;const n=e.state;return!n||n.strm!==e||n.mode<gt||n.mode>Ki?1:0},Yi=e=>{if(ve(e))return D;const n=e.state;return e.total_in=e.total_out=n.total=0,e.msg="",n.wrap&&(e.adler=n.wrap&1),n.mode=gt,n.last=0,n.havedict=0,n.flags=-1,n.dmax=32768,n.head=null,n.hold=0,n.bits=0,n.lencode=n.lendyn=new Int32Array(ps),n.distcode=n.distdyn=new Int32Array(gs),n.sane=1,n.back=-1,Ee},Wi=e=>{if(ve(e))return D;const n=e.state;return n.wsize=0,n.whave=0,n.wnext=0,Yi(e)},Ji=(e,n)=>{let t;if(ve(e))return D;const i=e.state;return n<0?(t=0,n=-n):(t=(n>>4)+5,n<48&&(n&=15)),n&&(n<8||n>15)?D:(i.window!==null&&i.wbits!==n&&(i.window=null),i.wrap=t,i.wbits=n,Wi(e))},Qi=(e,n)=>{if(!e)return D;const t=new ys;e.state=t,t.strm=e,t.window=null,t.mode=gt;const i=Ji(e,n);return i!==Ee&&(e.state=null),i},xs=e=>Qi(e,ws);let Jn=!0,Ot,Ft;const ms=e=>{if(Jn){Ot=new Int32Array(512),Ft=new Int32Array(32);let n=0;for(;n<144;)e.lens[n++]=8;for(;n<256;)e.lens[n++]=9;for(;n<280;)e.lens[n++]=7;for(;n<288;)e.lens[n++]=8;for(Me(Hi,e.lens,0,288,Ot,0,e.work,{bits:9}),n=0;n<32;)e.lens[n++]=5;Me(Vi,e.lens,0,32,Ft,0,e.work,{bits:5}),Jn=!1}e.lencode=Ot,e.lenbits=9,e.distcode=Ft,e.distbits=5},Di=(e,n,t,i)=>{let l;const a=e.state;return a.window===null&&(a.wsize=1<<a.wbits,a.wnext=0,a.whave=0,a.window=new Uint8Array(a.wsize)),i>=a.wsize?(a.window.set(n.subarray(t-a.wsize,t),0),a.wnext=0,a.whave=a.wsize):(l=a.wsize-a.wnext,l>i&&(l=i),a.window.set(n.subarray(t-i,t-i+l),a.wnext),i-=l,i?(a.window.set(n.subarray(t-i,t),0),a.wnext=i,a.whave=a.wsize):(a.wnext+=l,a.wnext===a.wsize&&(a.wnext=0),a.whave<a.wsize&&(a.whave+=l))),0},Es=(e,n)=>{let t,i,l,a,f,s,c,r,o,E,_,h,v,T,I=0,d,g,N,k,u,p,b,A;const y=new Uint8Array(4);let m,O;const w=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]);if(ve(e)||!e.output||!e.input&&e.avail_in!==0)return D;t=e.state,t.mode===oe&&(t.mode=Tt),f=e.next_out,l=e.output,c=e.avail_out,a=e.next_in,i=e.input,s=e.avail_in,r=t.hold,o=t.bits,E=s,_=c,A=Ee;e:for(;;)switch(t.mode){case gt:if(t.wrap===0){t.mode=Tt;break}for(;o<16;){if(s===0)break e;s--,r+=i[a++]<<o,o+=8}if(t.wrap&2&&r===35615){t.wbits===0&&(t.wbits=15),t.check=0,y[0]=r&255,y[1]=r>>>8&255,t.check=H(t.check,y,2,0),r=0,o=0,t.mode=On;break}if(t.head&&(t.head.done=!1),!(t.wrap&1)||(((r&255)<<8)+(r>>8))%31){e.msg="incorrect header check",t.mode=j;break}if((r&15)!==Sn){e.msg="unknown compression method",t.mode=j;break}if(r>>>=4,o-=4,b=(r&15)+8,t.wbits===0&&(t.wbits=b),b>15||b>t.wbits){e.msg="invalid window size",t.mode=j;break}t.dmax=1<<t.wbits,t.flags=0,e.adler=t.check=1,t.mode=r&512?$n:oe,r=0,o=0;break;case On:for(;o<16;){if(s===0)break e;s--,r+=i[a++]<<o,o+=8}if(t.flags=r,(t.flags&255)!==Sn){e.msg="unknown compression method",t.mode=j;break}if(t.flags&57344){e.msg="unknown header flags set",t.mode=j;break}t.head&&(t.head.text=r>>8&1),t.flags&512&&t.wrap&4&&(y[0]=r&255,y[1]=r>>>8&255,t.check=H(t.check,y,2,0)),r=0,o=0,t.mode=Fn;case Fn:for(;o<32;){if(s===0)break e;s--,r+=i[a++]<<o,o+=8}t.head&&(t.head.time=r),t.flags&512&&t.wrap&4&&(y[0]=r&255,y[1]=r>>>8&255,y[2]=r>>>16&255,y[3]=r>>>24&255,t.check=H(t.check,y,4,0)),r=0,o=0,t.mode=In;case In:for(;o<16;){if(s===0)break e;s--,r+=i[a++]<<o,o+=8}t.head&&(t.head.xflags=r&255,t.head.os=r>>8),t.flags&512&&t.wrap&4&&(y[0]=r&255,y[1]=r>>>8&255,t.check=H(t.check,y,2,0)),r=0,o=0,t.mode=Rn;case Rn:if(t.flags&1024){for(;o<16;){if(s===0)break e;s--,r+=i[a++]<<o,o+=8}t.length=r,t.head&&(t.head.extra_len=r),t.flags&512&&t.wrap&4&&(y[0]=r&255,y[1]=r>>>8&255,t.check=H(t.check,y,2,0)),r=0,o=0}else t.head&&(t.head.extra=null);t.mode=zn;case zn:if(t.flags&1024&&(h=t.length,h>s&&(h=s),h&&(t.head&&(b=t.head.extra_len-t.length,t.head.extra||(t.head.extra=new Uint8Array(t.head.extra_len)),t.head.extra.set(i.subarray(a,a+h),b)),t.flags&512&&t.wrap&4&&(t.check=H(t.check,i,h,a)),s-=h,a+=h,t.length-=h),t.length))break e;t.length=0,t.mode=Cn;case Cn:if(t.flags&2048){if(s===0)break e;h=0;do b=i[a+h++],t.head&&b&&t.length<65536&&(t.head.name+=String.fromCharCode(b));while(b&&h<s);if(t.flags&512&&t.wrap&4&&(t.check=H(t.check,i,h,a)),s-=h,a+=h,b)break e}else t.head&&(t.head.name=null);t.length=0,t.mode=Ln;case Ln:if(t.flags&4096){if(s===0)break e;h=0;do b=i[a+h++],t.head&&b&&t.length<65536&&(t.head.comment+=String.fromCharCode(b));while(b&&h<s);if(t.flags&512&&t.wrap&4&&(t.check=H(t.check,i,h,a)),s-=h,a+=h,b)break e}else t.head&&(t.head.comment=null);t.mode=Pn;case Pn:if(t.flags&512){for(;o<16;){if(s===0)break e;s--,r+=i[a++]<<o,o+=8}if(t.wrap&4&&r!==(t.check&65535)){e.msg="header crc mismatch",t.mode=j;break}r=0,o=0}t.head&&(t.head.hcrc=t.flags>>9&1,t.head.done=!0),e.adler=t.check=0,t.mode=oe;break;case $n:for(;o<32;){if(s===0)break e;s--,r+=i[a++]<<o,o+=8}e.adler=t.check=Wn(r),r=0,o=0,t.mode=ht;case ht:if(t.havedict===0)return e.next_out=f,e.avail_out=c,e.next_in=a,e.avail_in=s,t.hold=r,t.bits=o,hs;e.adler=t.check=1,t.mode=oe;case oe:if(n===ds||n===rt)break e;case Tt:if(t.last){r>>>=o&7,o-=o&7,t.mode=St;break}for(;o<3;){if(s===0)break e;s--,r+=i[a++]<<o,o+=8}switch(t.last=r&1,r>>>=1,o-=1,r&3){case 0:t.mode=Zn;break;case 1:if(ms(t),t.mode=at,n===rt){r>>>=2,o-=2;break e}break;case 2:t.mode=Un;break;case 3:e.msg="invalid block type",t.mode=j}r>>>=2,o-=2;break;case Zn:for(r>>>=o&7,o-=o&7;o<32;){if(s===0)break e;s--,r+=i[a++]<<o,o+=8}if((r&65535)!==(r>>>16^65535)){e.msg="invalid stored block lengths",t.mode=j;break}if(t.length=r&65535,r=0,o=0,t.mode=At,n===rt)break e;case At:t.mode=Bn;case Bn:if(h=t.length,h){if(h>s&&(h=s),h>c&&(h=c),h===0)break e;l.set(i.subarray(a,a+h),f),s-=h,a+=h,c-=h,f+=h,t.length-=h;break}t.mode=oe;break;case Un:for(;o<14;){if(s===0)break e;s--,r+=i[a++]<<o,o+=8}if(t.nlen=(r&31)+257,r>>>=5,o-=5,t.ndist=(r&31)+1,r>>>=5,o-=5,t.ncode=(r&15)+4,r>>>=4,o-=4,t.nlen>286||t.ndist>30){e.msg="too many length or distance symbols",t.mode=j;break}t.have=0,t.mode=Mn;case Mn:for(;t.have<t.ncode;){for(;o<3;){if(s===0)break e;s--,r+=i[a++]<<o,o+=8}t.lens[w[t.have++]]=r&7,r>>>=3,o-=3}for(;t.have<19;)t.lens[w[t.have++]]=0;if(t.lencode=t.lendyn,t.lenbits=7,m={bits:t.lenbits},A=Me(cs,t.lens,0,19,t.lencode,0,t.work,m),t.lenbits=m.bits,A){e.msg="invalid code lengths set",t.mode=j;break}t.have=0,t.mode=jn;case jn:for(;t.have<t.nlen+t.ndist;){for(;I=t.lencode[r&(1<<t.lenbits)-1],d=I>>>24,g=I>>>16&255,N=I&65535,!(d<=o);){if(s===0)break e;s--,r+=i[a++]<<o,o+=8}if(N<16)r>>>=d,o-=d,t.lens[t.have++]=N;else{if(N===16){for(O=d+2;o<O;){if(s===0)break e;s--,r+=i[a++]<<o,o+=8}if(r>>>=d,o-=d,t.have===0){e.msg="invalid bit length repeat",t.mode=j;break}b=t.lens[t.have-1],h=3+(r&3),r>>>=2,o-=2}else if(N===17){for(O=d+3;o<O;){if(s===0)break e;s--,r+=i[a++]<<o,o+=8}r>>>=d,o-=d,b=0,h=3+(r&7),r>>>=3,o-=3}else{for(O=d+7;o<O;){if(s===0)break e;s--,r+=i[a++]<<o,o+=8}r>>>=d,o-=d,b=0,h=11+(r&127),r>>>=7,o-=7}if(t.have+h>t.nlen+t.ndist){e.msg="invalid bit length repeat",t.mode=j;break}for(;h--;)t.lens[t.have++]=b}}if(t.mode===j)break;if(t.lens[256]===0){e.msg="invalid code -- missing end-of-block",t.mode=j;break}if(t.lenbits=9,m={bits:t.lenbits},A=Me(Hi,t.lens,0,t.nlen,t.lencode,0,t.work,m),t.lenbits=m.bits,A){e.msg="invalid literal/lengths set",t.mode=j;break}if(t.distbits=6,t.distcode=t.distdyn,m={bits:t.distbits},A=Me(Vi,t.lens,t.nlen,t.ndist,t.distcode,0,t.work,m),t.distbits=m.bits,A){e.msg="invalid distances set",t.mode=j;break}if(t.mode=at,n===rt)break e;case at:t.mode=st;case st:if(s>=6&&c>=258){e.next_out=f,e.avail_out=c,e.next_in=a,e.avail_in=s,t.hold=r,t.bits=o,rs(e,_),f=e.next_out,l=e.output,c=e.avail_out,a=e.next_in,i=e.input,s=e.avail_in,r=t.hold,o=t.bits,t.mode===oe&&(t.back=-1);break}for(t.back=0;I=t.lencode[r&(1<<t.lenbits)-1],d=I>>>24,g=I>>>16&255,N=I&65535,!(d<=o);){if(s===0)break e;s--,r+=i[a++]<<o,o+=8}if(g&&(g&240)===0){for(k=d,u=g,p=N;I=t.lencode[p+((r&(1<<k+u)-1)>>k)],d=I>>>24,g=I>>>16&255,N=I&65535,!(k+d<=o);){if(s===0)break e;s--,r+=i[a++]<<o,o+=8}r>>>=k,o-=k,t.back+=k}if(r>>>=d,o-=d,t.back+=d,t.length=N,g===0){t.mode=Gn;break}if(g&32){t.back=-1,t.mode=oe;break}if(g&64){e.msg="invalid literal/length code",t.mode=j;break}t.extra=g&15,t.mode=Hn;case Hn:if(t.extra){for(O=t.extra;o<O;){if(s===0)break e;s--,r+=i[a++]<<o,o+=8}t.length+=r&(1<<t.extra)-1,r>>>=t.extra,o-=t.extra,t.back+=t.extra}t.was=t.length,t.mode=Vn;case Vn:for(;I=t.distcode[r&(1<<t.distbits)-1],d=I>>>24,g=I>>>16&255,N=I&65535,!(d<=o);){if(s===0)break e;s--,r+=i[a++]<<o,o+=8}if((g&240)===0){for(k=d,u=g,p=N;I=t.distcode[p+((r&(1<<k+u)-1)>>k)],d=I>>>24,g=I>>>16&255,N=I&65535,!(k+d<=o);){if(s===0)break e;s--,r+=i[a++]<<o,o+=8}r>>>=k,o-=k,t.back+=k}if(r>>>=d,o-=d,t.back+=d,g&64){e.msg="invalid distance code",t.mode=j;break}t.offset=N,t.extra=g&15,t.mode=Xn;case Xn:if(t.extra){for(O=t.extra;o<O;){if(s===0)break e;s--,r+=i[a++]<<o,o+=8}t.offset+=r&(1<<t.extra)-1,r>>>=t.extra,o-=t.extra,t.back+=t.extra}if(t.offset>t.dmax){e.msg="invalid distance too far back",t.mode=j;break}t.mode=qn;case qn:if(c===0)break e;if(h=_-c,t.offset>h){if(h=t.offset-h,h>t.whave&&t.sane){e.msg="invalid distance too far back",t.mode=j;break}h>t.wnext?(h-=t.wnext,v=t.wsize-h):v=t.wnext-h,h>t.length&&(h=t.length),T=t.window}else T=l,v=f-t.offset,h=t.length;h>c&&(h=c),c-=h,t.length-=h;do l[f++]=T[v++];while(--h);t.length===0&&(t.mode=st);break;case Gn:if(c===0)break e;l[f++]=t.length,c--,t.mode=st;break;case St:if(t.wrap){for(;o<32;){if(s===0)break e;s--,r|=i[a++]<<o,o+=8}if(_-=c,e.total_out+=_,t.total+=_,t.wrap&4&&_&&(e.adler=t.check=t.flags?H(t.check,l,_,f-_):qe(t.check,l,_,f-_)),_=c,t.wrap&4&&(t.flags?r:Wn(r))!==t.check){e.msg="incorrect data check",t.mode=j;break}r=0,o=0}t.mode=Kn;case Kn:if(t.wrap&&t.flags){for(;o<32;){if(s===0)break e;s--,r+=i[a++]<<o,o+=8}if(t.wrap&4&&r!==(t.total&4294967295)){e.msg="incorrect length check",t.mode=j;break}r=0,o=0}t.mode=Yn;case Yn:A=us;break e;case j:A=Xi;break e;case Gi:return qi;case Ki:default:return D}return e.next_out=f,e.avail_out=c,e.next_in=a,e.avail_in=s,t.hold=r,t.bits=o,(t.wsize||_!==e.avail_out&&t.mode<j&&(t.mode<St||n!==An))&&Di(e,e.output,e.next_out,_-e.avail_out),E-=e.avail_in,_-=e.avail_out,e.total_in+=E,e.total_out+=_,t.total+=_,t.wrap&4&&_&&(e.adler=t.check=t.flags?H(t.check,l,_,e.next_out-_):qe(t.check,l,_,e.next_out-_)),e.data_type=t.bits+(t.last?64:0)+(t.mode===oe?128:0)+(t.mode===at||t.mode===At?256:0),(E===0&&_===0||n===An)&&A===Ee&&(A=_s),A},vs=e=>{if(ve(e))return D;let n=e.state;return n.window&&(n.window=null),e.state=null,Ee},Ns=(e,n)=>{if(ve(e))return D;const t=e.state;return(t.wrap&2)===0?D:(t.head=n,n.done=!1,Ee)},ks=(e,n)=>{const t=n.length;let i,l,a;return ve(e)||(i=e.state,i.wrap!==0&&i.mode!==ht)?D:i.mode===ht&&(l=1,l=qe(l,n,t,0),l!==i.check)?Xi:(a=Di(e,n,t,t),a?(i.mode=Gi,qi):(i.havedict=1,Ee))};var Ts=Wi,As=Ji,Ss=Yi,Os=xs,Fs=Qi,Is=Es,Rs=vs,zs=Ns,Cs=ks,Ls="pako inflate (from Nodeca project)",fe={inflateReset:Ts,inflateReset2:As,inflateResetKeep:Ss,inflateInit:Os,inflateInit2:Fs,inflate:Is,inflateEnd:Rs,inflateGetHeader:zs,inflateSetDictionary:Cs,inflateInfo:Ls};function Ps(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}var $s=Ps;const er=Object.prototype.toString,{Z_NO_FLUSH:Zs,Z_FINISH:Bs,Z_OK:Ye,Z_STREAM_END:It,Z_NEED_DICT:Rt,Z_STREAM_ERROR:Us,Z_DATA_ERROR:Qn,Z_MEM_ERROR:Ms}=Je;function et(e){this.options=pt.assign({chunkSize:1024*64,windowBits:15,to:""},e||{});const n=this.options;n.raw&&n.windowBits>=0&&n.windowBits<16&&(n.windowBits=-n.windowBits,n.windowBits===0&&(n.windowBits=-15)),n.windowBits>=0&&n.windowBits<16&&!(e&&e.windowBits)&&(n.windowBits+=32),n.windowBits>15&&n.windowBits<48&&(n.windowBits&15)===0&&(n.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new Mi,this.strm.avail_out=0;let t=fe.inflateInit2(this.strm,n.windowBits);if(t!==Ye)throw new Error(xe[t]);if(this.header=new $s,fe.inflateGetHeader(this.strm,this.header),n.dictionary&&(typeof n.dictionary=="string"?n.dictionary=Ke.string2buf(n.dictionary):er.call(n.dictionary)==="[object ArrayBuffer]"&&(n.dictionary=new Uint8Array(n.dictionary)),n.raw&&(t=fe.inflateSetDictionary(this.strm,n.dictionary),t!==Ye)))throw new Error(xe[t])}et.prototype.push=function(e,n){const t=this.strm,i=this.options.chunkSize,l=this.options.dictionary;let a,f,s;if(this.ended)return!1;for(n===~~n?f=n:f=n===!0?Bs:Zs,er.call(e)==="[object ArrayBuffer]"?t.input=new Uint8Array(e):t.input=e,t.next_in=0,t.avail_in=t.input.length;;){for(t.avail_out===0&&(t.output=new Uint8Array(i),t.next_out=0,t.avail_out=i),a=fe.inflate(t,f),a===Rt&&l&&(a=fe.inflateSetDictionary(t,l),a===Ye?a=fe.inflate(t,f):a===Qn&&(a=Rt));t.avail_in>0&&a===It&&t.state.wrap>0&&e[t.next_in]!==0;)fe.inflateReset(t),a=fe.inflate(t,f);switch(a){case Us:case Qn:case Rt:case Ms:return this.onEnd(a),this.ended=!0,!1}if(s=t.avail_out,t.next_out&&(t.avail_out===0||a===It))if(this.options.to==="string"){let c=Ke.utf8border(t.output,t.next_out),r=t.next_out-c,o=Ke.buf2string(t.output,c);t.next_out=r,t.avail_out=i-r,r&&t.output.set(t.output.subarray(c,c+r),0),this.onData(o)}else this.onData(t.output.length===t.next_out?t.output:t.output.subarray(0,t.next_out));if(!(a===Ye&&s===0)){if(a===It)return a=fe.inflateEnd(this.strm),this.onEnd(a),this.ended=!0,!0;if(t.avail_in===0)break}}return!0};et.prototype.onData=function(e){this.chunks.push(e)};et.prototype.onEnd=function(e){e===Ye&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=pt.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg};function ln(e,n){const t=new et(n);if(t.push(e),t.err)throw t.msg||xe[t.err];return t.result}function js(e,n){return n=n||{},n.raw=!0,ln(e,n)}var Hs=et,Vs=ln,Xs=js,qs=ln,Gs={Inflate:Hs,inflate:Vs,inflateRaw:Xs,ungzip:qs};const{Deflate:Ks,deflate:Ys,deflateRaw:Ws,gzip:Js}=ns,{Inflate:Qs,inflate:Ds,inflateRaw:eo,ungzip:to}=Gs;var no=Ks,io=Ys,ro=Ws,ao=Js,so=Qs,oo=Ds,lo=eo,fo=to,co=Je,uo={Deflate:no,deflate:io,deflateRaw:ro,gzip:ao,Inflate:so,inflate:oo,inflateRaw:lo,ungzip:fo,constants:co},ot={exports:{}},zt={},Ct={},Dn;function fn(){return Dn||(Dn=1,function(e){const n=":A-Za-z_\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD",t=n+"\\-.\\d\\u00B7\\u0300-\\u036F\\u203F-\\u2040",i="["+n+"]["+t+"]*",l=new RegExp("^"+i+"$"),a=function(s,c){const r=[];let o=c.exec(s);for(;o;){const E=[];E.startIndex=c.lastIndex-o[0].length;const _=o.length;for(let h=0;h<_;h++)E.push(o[h]);r.push(E),o=c.exec(s)}return r},f=function(s){const c=l.exec(s);return!(c===null||typeof c>"u")};e.isExist=function(s){return typeof s<"u"},e.isEmptyObject=function(s){return Object.keys(s).length===0},e.merge=function(s,c,r){if(c){const o=Object.keys(c),E=o.length;for(let _=0;_<E;_++)r==="strict"?s[o[_]]=[c[o[_]]]:s[o[_]]=c[o[_]]}},e.getValue=function(s){return e.isExist(s)?s:""},e.isName=f,e.getAllMatches=a,e.nameRegexp=i}(Ct)),Ct}var ei;function tr(){if(ei)return zt;ei=1;const e=fn(),n={allowBooleanAttributes:!1,unpairedTags:[]};zt.validate=function(d,g){g=Object.assign({},n,g);const N=[];let k=!1,u=!1;d[0]==="\uFEFF"&&(d=d.substr(1));for(let p=0;p<d.length;p++)if(d[p]==="<"&&d[p+1]==="?"){if(p+=2,p=i(d,p),p.err)return p}else if(d[p]==="<"){let b=p;if(p++,d[p]==="!"){p=l(d,p);continue}else{let A=!1;d[p]==="/"&&(A=!0,p++);let y="";for(;p<d.length&&d[p]!==">"&&d[p]!==" "&&d[p]!==" "&&d[p]!==`
1
+ import{j as U,ax as rr,ak as en,f as ar}from"./vendor-mui-core-BPQ6AEW_.js";import{g as bi,d as sr,h as or,f as un,r as L}from"./vendor-react-CUXIiAnY.js";import{D as wi,ab as lr,e as fr,n as cr,ac as yi}from"./vendor-utils-BSZ4yJws.js";import{bx as dr,bN as ur}from"./index-CeWTwSLE.js";import{l as Ie,aI as hr,aJ as _r}from"./vendor-ux-D507n6h6.js";import{j as pr}from"./vendor-hooks-fhL5FJET.js";/*! pako 2.1.0 https://github.com/nodeca/pako @license (MIT AND Zlib) */const gr=4,hn=0,_n=1,br=2;function Re(e){let n=e.length;for(;--n>=0;)e[n]=0}const wr=0,xi=1,yr=2,xr=3,mr=258,tn=29,We=256,je=We+1+tn,Se=30,nn=19,mi=2*je+1,be=15,yt=16,Er=7,rn=256,Ei=16,vi=17,Ni=18,Xt=new Uint8Array([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0]),ct=new Uint8Array([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13]),vr=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7]),ki=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),Nr=512,le=new Array((je+2)*2);Re(le);const Be=new Array(Se*2);Re(Be);const He=new Array(Nr);Re(He);const Ve=new Array(mr-xr+1);Re(Ve);const an=new Array(tn);Re(an);const dt=new Array(Se);Re(dt);function xt(e,n,t,i,l){this.static_tree=e,this.extra_bits=n,this.extra_base=t,this.elems=i,this.max_length=l,this.has_stree=e&&e.length}let Ti,Ai,Si;function mt(e,n){this.dyn_tree=e,this.max_code=0,this.stat_desc=n}const Oi=e=>e<256?He[e]:He[256+(e>>>7)],Xe=(e,n)=>{e.pending_buf[e.pending++]=n&255,e.pending_buf[e.pending++]=n>>>8&255},K=(e,n,t)=>{e.bi_valid>yt-t?(e.bi_buf|=n<<e.bi_valid&65535,Xe(e,e.bi_buf),e.bi_buf=n>>yt-e.bi_valid,e.bi_valid+=t-yt):(e.bi_buf|=n<<e.bi_valid&65535,e.bi_valid+=t)},ne=(e,n,t)=>{K(e,t[n*2],t[n*2+1])},Fi=(e,n)=>{let t=0;do t|=e&1,e>>>=1,t<<=1;while(--n>0);return t>>>1},kr=e=>{e.bi_valid===16?(Xe(e,e.bi_buf),e.bi_buf=0,e.bi_valid=0):e.bi_valid>=8&&(e.pending_buf[e.pending++]=e.bi_buf&255,e.bi_buf>>=8,e.bi_valid-=8)},Tr=(e,n)=>{const t=n.dyn_tree,i=n.max_code,l=n.stat_desc.static_tree,a=n.stat_desc.has_stree,f=n.stat_desc.extra_bits,s=n.stat_desc.extra_base,c=n.stat_desc.max_length;let r,o,E,_,h,v,T=0;for(_=0;_<=be;_++)e.bl_count[_]=0;for(t[e.heap[e.heap_max]*2+1]=0,r=e.heap_max+1;r<mi;r++)o=e.heap[r],_=t[t[o*2+1]*2+1]+1,_>c&&(_=c,T++),t[o*2+1]=_,!(o>i)&&(e.bl_count[_]++,h=0,o>=s&&(h=f[o-s]),v=t[o*2],e.opt_len+=v*(_+h),a&&(e.static_len+=v*(l[o*2+1]+h)));if(T!==0){do{for(_=c-1;e.bl_count[_]===0;)_--;e.bl_count[_]--,e.bl_count[_+1]+=2,e.bl_count[c]--,T-=2}while(T>0);for(_=c;_!==0;_--)for(o=e.bl_count[_];o!==0;)E=e.heap[--r],!(E>i)&&(t[E*2+1]!==_&&(e.opt_len+=(_-t[E*2+1])*t[E*2],t[E*2+1]=_),o--)}},Ii=(e,n,t)=>{const i=new Array(be+1);let l=0,a,f;for(a=1;a<=be;a++)l=l+t[a-1]<<1,i[a]=l;for(f=0;f<=n;f++){let s=e[f*2+1];s!==0&&(e[f*2]=Fi(i[s]++,s))}},Ar=()=>{let e,n,t,i,l;const a=new Array(be+1);for(t=0,i=0;i<tn-1;i++)for(an[i]=t,e=0;e<1<<Xt[i];e++)Ve[t++]=i;for(Ve[t-1]=i,l=0,i=0;i<16;i++)for(dt[i]=l,e=0;e<1<<ct[i];e++)He[l++]=i;for(l>>=7;i<Se;i++)for(dt[i]=l<<7,e=0;e<1<<ct[i]-7;e++)He[256+l++]=i;for(n=0;n<=be;n++)a[n]=0;for(e=0;e<=143;)le[e*2+1]=8,e++,a[8]++;for(;e<=255;)le[e*2+1]=9,e++,a[9]++;for(;e<=279;)le[e*2+1]=7,e++,a[7]++;for(;e<=287;)le[e*2+1]=8,e++,a[8]++;for(Ii(le,je+1,a),e=0;e<Se;e++)Be[e*2+1]=5,Be[e*2]=Fi(e,5);Ti=new xt(le,Xt,We+1,je,be),Ai=new xt(Be,ct,0,Se,be),Si=new xt(new Array(0),vr,0,nn,Er)},Ri=e=>{let n;for(n=0;n<je;n++)e.dyn_ltree[n*2]=0;for(n=0;n<Se;n++)e.dyn_dtree[n*2]=0;for(n=0;n<nn;n++)e.bl_tree[n*2]=0;e.dyn_ltree[rn*2]=1,e.opt_len=e.static_len=0,e.sym_next=e.matches=0},zi=e=>{e.bi_valid>8?Xe(e,e.bi_buf):e.bi_valid>0&&(e.pending_buf[e.pending++]=e.bi_buf),e.bi_buf=0,e.bi_valid=0},pn=(e,n,t,i)=>{const l=n*2,a=t*2;return e[l]<e[a]||e[l]===e[a]&&i[n]<=i[t]},Et=(e,n,t)=>{const i=e.heap[t];let l=t<<1;for(;l<=e.heap_len&&(l<e.heap_len&&pn(n,e.heap[l+1],e.heap[l],e.depth)&&l++,!pn(n,i,e.heap[l],e.depth));)e.heap[t]=e.heap[l],t=l,l<<=1;e.heap[t]=i},gn=(e,n,t)=>{let i,l,a=0,f,s;if(e.sym_next!==0)do i=e.pending_buf[e.sym_buf+a++]&255,i+=(e.pending_buf[e.sym_buf+a++]&255)<<8,l=e.pending_buf[e.sym_buf+a++],i===0?ne(e,l,n):(f=Ve[l],ne(e,f+We+1,n),s=Xt[f],s!==0&&(l-=an[f],K(e,l,s)),i--,f=Oi(i),ne(e,f,t),s=ct[f],s!==0&&(i-=dt[f],K(e,i,s)));while(a<e.sym_next);ne(e,rn,n)},qt=(e,n)=>{const t=n.dyn_tree,i=n.stat_desc.static_tree,l=n.stat_desc.has_stree,a=n.stat_desc.elems;let f,s,c=-1,r;for(e.heap_len=0,e.heap_max=mi,f=0;f<a;f++)t[f*2]!==0?(e.heap[++e.heap_len]=c=f,e.depth[f]=0):t[f*2+1]=0;for(;e.heap_len<2;)r=e.heap[++e.heap_len]=c<2?++c:0,t[r*2]=1,e.depth[r]=0,e.opt_len--,l&&(e.static_len-=i[r*2+1]);for(n.max_code=c,f=e.heap_len>>1;f>=1;f--)Et(e,t,f);r=a;do f=e.heap[1],e.heap[1]=e.heap[e.heap_len--],Et(e,t,1),s=e.heap[1],e.heap[--e.heap_max]=f,e.heap[--e.heap_max]=s,t[r*2]=t[f*2]+t[s*2],e.depth[r]=(e.depth[f]>=e.depth[s]?e.depth[f]:e.depth[s])+1,t[f*2+1]=t[s*2+1]=r,e.heap[1]=r++,Et(e,t,1);while(e.heap_len>=2);e.heap[--e.heap_max]=e.heap[1],Tr(e,n),Ii(t,c,e.bl_count)},bn=(e,n,t)=>{let i,l=-1,a,f=n[0*2+1],s=0,c=7,r=4;for(f===0&&(c=138,r=3),n[(t+1)*2+1]=65535,i=0;i<=t;i++)a=f,f=n[(i+1)*2+1],!(++s<c&&a===f)&&(s<r?e.bl_tree[a*2]+=s:a!==0?(a!==l&&e.bl_tree[a*2]++,e.bl_tree[Ei*2]++):s<=10?e.bl_tree[vi*2]++:e.bl_tree[Ni*2]++,s=0,l=a,f===0?(c=138,r=3):a===f?(c=6,r=3):(c=7,r=4))},wn=(e,n,t)=>{let i,l=-1,a,f=n[0*2+1],s=0,c=7,r=4;for(f===0&&(c=138,r=3),i=0;i<=t;i++)if(a=f,f=n[(i+1)*2+1],!(++s<c&&a===f)){if(s<r)do ne(e,a,e.bl_tree);while(--s!==0);else a!==0?(a!==l&&(ne(e,a,e.bl_tree),s--),ne(e,Ei,e.bl_tree),K(e,s-3,2)):s<=10?(ne(e,vi,e.bl_tree),K(e,s-3,3)):(ne(e,Ni,e.bl_tree),K(e,s-11,7));s=0,l=a,f===0?(c=138,r=3):a===f?(c=6,r=3):(c=7,r=4)}},Sr=e=>{let n;for(bn(e,e.dyn_ltree,e.l_desc.max_code),bn(e,e.dyn_dtree,e.d_desc.max_code),qt(e,e.bl_desc),n=nn-1;n>=3&&e.bl_tree[ki[n]*2+1]===0;n--);return e.opt_len+=3*(n+1)+5+5+4,n},Or=(e,n,t,i)=>{let l;for(K(e,n-257,5),K(e,t-1,5),K(e,i-4,4),l=0;l<i;l++)K(e,e.bl_tree[ki[l]*2+1],3);wn(e,e.dyn_ltree,n-1),wn(e,e.dyn_dtree,t-1)},Fr=e=>{let n=4093624447,t;for(t=0;t<=31;t++,n>>>=1)if(n&1&&e.dyn_ltree[t*2]!==0)return hn;if(e.dyn_ltree[9*2]!==0||e.dyn_ltree[10*2]!==0||e.dyn_ltree[13*2]!==0)return _n;for(t=32;t<We;t++)if(e.dyn_ltree[t*2]!==0)return _n;return hn};let yn=!1;const Ir=e=>{yn||(Ar(),yn=!0),e.l_desc=new mt(e.dyn_ltree,Ti),e.d_desc=new mt(e.dyn_dtree,Ai),e.bl_desc=new mt(e.bl_tree,Si),e.bi_buf=0,e.bi_valid=0,Ri(e)},Ci=(e,n,t,i)=>{K(e,(wr<<1)+(i?1:0),3),zi(e),Xe(e,t),Xe(e,~t),t&&e.pending_buf.set(e.window.subarray(n,n+t),e.pending),e.pending+=t},Rr=e=>{K(e,xi<<1,3),ne(e,rn,le),kr(e)},zr=(e,n,t,i)=>{let l,a,f=0;e.level>0?(e.strm.data_type===br&&(e.strm.data_type=Fr(e)),qt(e,e.l_desc),qt(e,e.d_desc),f=Sr(e),l=e.opt_len+3+7>>>3,a=e.static_len+3+7>>>3,a<=l&&(l=a)):l=a=t+5,t+4<=l&&n!==-1?Ci(e,n,t,i):e.strategy===gr||a===l?(K(e,(xi<<1)+(i?1:0),3),gn(e,le,Be)):(K(e,(yr<<1)+(i?1:0),3),Or(e,e.l_desc.max_code+1,e.d_desc.max_code+1,f+1),gn(e,e.dyn_ltree,e.dyn_dtree)),Ri(e),i&&zi(e)},Cr=(e,n,t)=>(e.pending_buf[e.sym_buf+e.sym_next++]=n,e.pending_buf[e.sym_buf+e.sym_next++]=n>>8,e.pending_buf[e.sym_buf+e.sym_next++]=t,n===0?e.dyn_ltree[t*2]++:(e.matches++,n--,e.dyn_ltree[(Ve[t]+We+1)*2]++,e.dyn_dtree[Oi(n)*2]++),e.sym_next===e.sym_end);var Lr=Ir,Pr=Ci,$r=zr,Zr=Cr,Br=Rr,Ur={_tr_init:Lr,_tr_stored_block:Pr,_tr_flush_block:$r,_tr_tally:Zr,_tr_align:Br};const Mr=(e,n,t,i)=>{let l=e&65535|0,a=e>>>16&65535|0,f=0;for(;t!==0;){f=t>2e3?2e3:t,t-=f;do l=l+n[i++]|0,a=a+l|0;while(--f);l%=65521,a%=65521}return l|a<<16|0};var qe=Mr;const jr=()=>{let e,n=[];for(var t=0;t<256;t++){e=t;for(var i=0;i<8;i++)e=e&1?3988292384^e>>>1:e>>>1;n[t]=e}return n},Hr=new Uint32Array(jr()),Vr=(e,n,t,i)=>{const l=Hr,a=i+t;e^=-1;for(let f=i;f<a;f++)e=e>>>8^l[(e^n[f])&255];return e^-1};var H=Vr,xe={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"},Je={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_MEM_ERROR:-4,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8};const{_tr_init:Xr,_tr_stored_block:Gt,_tr_flush_block:qr,_tr_tally:_e,_tr_align:Gr}=Ur,{Z_NO_FLUSH:pe,Z_PARTIAL_FLUSH:Kr,Z_FULL_FLUSH:Yr,Z_FINISH:Q,Z_BLOCK:xn,Z_OK:V,Z_STREAM_END:mn,Z_STREAM_ERROR:ie,Z_DATA_ERROR:Wr,Z_BUF_ERROR:vt,Z_DEFAULT_COMPRESSION:Jr,Z_FILTERED:Qr,Z_HUFFMAN_ONLY:nt,Z_RLE:Dr,Z_FIXED:ea,Z_DEFAULT_STRATEGY:ta,Z_UNKNOWN:na,Z_DEFLATED:_t}=Je,ia=9,ra=15,aa=8,sa=29,oa=256,Kt=oa+1+sa,la=30,fa=19,ca=2*Kt+1,da=15,P=3,he=258,re=he+P+1,ua=32,Oe=42,sn=57,Yt=69,Wt=73,Jt=91,Qt=103,we=113,$e=666,X=1,ze=2,me=3,Ce=4,ha=3,ye=(e,n)=>(e.msg=xe[n],n),En=e=>e*2-(e>4?9:0),ue=e=>{let n=e.length;for(;--n>=0;)e[n]=0},_a=e=>{let n,t,i,l=e.w_size;n=e.hash_size,i=n;do t=e.head[--i],e.head[i]=t>=l?t-l:0;while(--n);n=l,i=n;do t=e.prev[--i],e.prev[i]=t>=l?t-l:0;while(--n)};let pa=(e,n,t)=>(n<<e.hash_shift^t)&e.hash_mask,ge=pa;const W=e=>{const n=e.state;let t=n.pending;t>e.avail_out&&(t=e.avail_out),t!==0&&(e.output.set(n.pending_buf.subarray(n.pending_out,n.pending_out+t),e.next_out),e.next_out+=t,n.pending_out+=t,e.total_out+=t,e.avail_out-=t,n.pending-=t,n.pending===0&&(n.pending_out=0))},J=(e,n)=>{qr(e,e.block_start>=0?e.block_start:-1,e.strstart-e.block_start,n),e.block_start=e.strstart,W(e.strm)},B=(e,n)=>{e.pending_buf[e.pending++]=n},Le=(e,n)=>{e.pending_buf[e.pending++]=n>>>8&255,e.pending_buf[e.pending++]=n&255},Dt=(e,n,t,i)=>{let l=e.avail_in;return l>i&&(l=i),l===0?0:(e.avail_in-=l,n.set(e.input.subarray(e.next_in,e.next_in+l),t),e.state.wrap===1?e.adler=qe(e.adler,n,l,t):e.state.wrap===2&&(e.adler=H(e.adler,n,l,t)),e.next_in+=l,e.total_in+=l,l)},Li=(e,n)=>{let t=e.max_chain_length,i=e.strstart,l,a,f=e.prev_length,s=e.nice_match;const c=e.strstart>e.w_size-re?e.strstart-(e.w_size-re):0,r=e.window,o=e.w_mask,E=e.prev,_=e.strstart+he;let h=r[i+f-1],v=r[i+f];e.prev_length>=e.good_match&&(t>>=2),s>e.lookahead&&(s=e.lookahead);do if(l=n,!(r[l+f]!==v||r[l+f-1]!==h||r[l]!==r[i]||r[++l]!==r[i+1])){i+=2,l++;do;while(r[++i]===r[++l]&&r[++i]===r[++l]&&r[++i]===r[++l]&&r[++i]===r[++l]&&r[++i]===r[++l]&&r[++i]===r[++l]&&r[++i]===r[++l]&&r[++i]===r[++l]&&i<_);if(a=he-(_-i),i=_-he,a>f){if(e.match_start=n,f=a,a>=s)break;h=r[i+f-1],v=r[i+f]}}while((n=E[n&o])>c&&--t!==0);return f<=e.lookahead?f:e.lookahead},Fe=e=>{const n=e.w_size;let t,i,l;do{if(i=e.window_size-e.lookahead-e.strstart,e.strstart>=n+(n-re)&&(e.window.set(e.window.subarray(n,n+n-i),0),e.match_start-=n,e.strstart-=n,e.block_start-=n,e.insert>e.strstart&&(e.insert=e.strstart),_a(e),i+=n),e.strm.avail_in===0)break;if(t=Dt(e.strm,e.window,e.strstart+e.lookahead,i),e.lookahead+=t,e.lookahead+e.insert>=P)for(l=e.strstart-e.insert,e.ins_h=e.window[l],e.ins_h=ge(e,e.ins_h,e.window[l+1]);e.insert&&(e.ins_h=ge(e,e.ins_h,e.window[l+P-1]),e.prev[l&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=l,l++,e.insert--,!(e.lookahead+e.insert<P)););}while(e.lookahead<re&&e.strm.avail_in!==0)},Pi=(e,n)=>{let t=e.pending_buf_size-5>e.w_size?e.w_size:e.pending_buf_size-5,i,l,a,f=0,s=e.strm.avail_in;do{if(i=65535,a=e.bi_valid+42>>3,e.strm.avail_out<a||(a=e.strm.avail_out-a,l=e.strstart-e.block_start,i>l+e.strm.avail_in&&(i=l+e.strm.avail_in),i>a&&(i=a),i<t&&(i===0&&n!==Q||n===pe||i!==l+e.strm.avail_in)))break;f=n===Q&&i===l+e.strm.avail_in?1:0,Gt(e,0,0,f),e.pending_buf[e.pending-4]=i,e.pending_buf[e.pending-3]=i>>8,e.pending_buf[e.pending-2]=~i,e.pending_buf[e.pending-1]=~i>>8,W(e.strm),l&&(l>i&&(l=i),e.strm.output.set(e.window.subarray(e.block_start,e.block_start+l),e.strm.next_out),e.strm.next_out+=l,e.strm.avail_out-=l,e.strm.total_out+=l,e.block_start+=l,i-=l),i&&(Dt(e.strm,e.strm.output,e.strm.next_out,i),e.strm.next_out+=i,e.strm.avail_out-=i,e.strm.total_out+=i)}while(f===0);return s-=e.strm.avail_in,s&&(s>=e.w_size?(e.matches=2,e.window.set(e.strm.input.subarray(e.strm.next_in-e.w_size,e.strm.next_in),0),e.strstart=e.w_size,e.insert=e.strstart):(e.window_size-e.strstart<=s&&(e.strstart-=e.w_size,e.window.set(e.window.subarray(e.w_size,e.w_size+e.strstart),0),e.matches<2&&e.matches++,e.insert>e.strstart&&(e.insert=e.strstart)),e.window.set(e.strm.input.subarray(e.strm.next_in-s,e.strm.next_in),e.strstart),e.strstart+=s,e.insert+=s>e.w_size-e.insert?e.w_size-e.insert:s),e.block_start=e.strstart),e.high_water<e.strstart&&(e.high_water=e.strstart),f?Ce:n!==pe&&n!==Q&&e.strm.avail_in===0&&e.strstart===e.block_start?ze:(a=e.window_size-e.strstart,e.strm.avail_in>a&&e.block_start>=e.w_size&&(e.block_start-=e.w_size,e.strstart-=e.w_size,e.window.set(e.window.subarray(e.w_size,e.w_size+e.strstart),0),e.matches<2&&e.matches++,a+=e.w_size,e.insert>e.strstart&&(e.insert=e.strstart)),a>e.strm.avail_in&&(a=e.strm.avail_in),a&&(Dt(e.strm,e.window,e.strstart,a),e.strstart+=a,e.insert+=a>e.w_size-e.insert?e.w_size-e.insert:a),e.high_water<e.strstart&&(e.high_water=e.strstart),a=e.bi_valid+42>>3,a=e.pending_buf_size-a>65535?65535:e.pending_buf_size-a,t=a>e.w_size?e.w_size:a,l=e.strstart-e.block_start,(l>=t||(l||n===Q)&&n!==pe&&e.strm.avail_in===0&&l<=a)&&(i=l>a?a:l,f=n===Q&&e.strm.avail_in===0&&i===l?1:0,Gt(e,e.block_start,i,f),e.block_start+=i,W(e.strm)),f?me:X)},Nt=(e,n)=>{let t,i;for(;;){if(e.lookahead<re){if(Fe(e),e.lookahead<re&&n===pe)return X;if(e.lookahead===0)break}if(t=0,e.lookahead>=P&&(e.ins_h=ge(e,e.ins_h,e.window[e.strstart+P-1]),t=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),t!==0&&e.strstart-t<=e.w_size-re&&(e.match_length=Li(e,t)),e.match_length>=P)if(i=_e(e,e.strstart-e.match_start,e.match_length-P),e.lookahead-=e.match_length,e.match_length<=e.max_lazy_match&&e.lookahead>=P){e.match_length--;do e.strstart++,e.ins_h=ge(e,e.ins_h,e.window[e.strstart+P-1]),t=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart;while(--e.match_length!==0);e.strstart++}else e.strstart+=e.match_length,e.match_length=0,e.ins_h=e.window[e.strstart],e.ins_h=ge(e,e.ins_h,e.window[e.strstart+1]);else i=_e(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++;if(i&&(J(e,!1),e.strm.avail_out===0))return X}return e.insert=e.strstart<P-1?e.strstart:P-1,n===Q?(J(e,!0),e.strm.avail_out===0?me:Ce):e.sym_next&&(J(e,!1),e.strm.avail_out===0)?X:ze},Te=(e,n)=>{let t,i,l;for(;;){if(e.lookahead<re){if(Fe(e),e.lookahead<re&&n===pe)return X;if(e.lookahead===0)break}if(t=0,e.lookahead>=P&&(e.ins_h=ge(e,e.ins_h,e.window[e.strstart+P-1]),t=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),e.prev_length=e.match_length,e.prev_match=e.match_start,e.match_length=P-1,t!==0&&e.prev_length<e.max_lazy_match&&e.strstart-t<=e.w_size-re&&(e.match_length=Li(e,t),e.match_length<=5&&(e.strategy===Qr||e.match_length===P&&e.strstart-e.match_start>4096)&&(e.match_length=P-1)),e.prev_length>=P&&e.match_length<=e.prev_length){l=e.strstart+e.lookahead-P,i=_e(e,e.strstart-1-e.prev_match,e.prev_length-P),e.lookahead-=e.prev_length-1,e.prev_length-=2;do++e.strstart<=l&&(e.ins_h=ge(e,e.ins_h,e.window[e.strstart+P-1]),t=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart);while(--e.prev_length!==0);if(e.match_available=0,e.match_length=P-1,e.strstart++,i&&(J(e,!1),e.strm.avail_out===0))return X}else if(e.match_available){if(i=_e(e,0,e.window[e.strstart-1]),i&&J(e,!1),e.strstart++,e.lookahead--,e.strm.avail_out===0)return X}else e.match_available=1,e.strstart++,e.lookahead--}return e.match_available&&(i=_e(e,0,e.window[e.strstart-1]),e.match_available=0),e.insert=e.strstart<P-1?e.strstart:P-1,n===Q?(J(e,!0),e.strm.avail_out===0?me:Ce):e.sym_next&&(J(e,!1),e.strm.avail_out===0)?X:ze},ga=(e,n)=>{let t,i,l,a;const f=e.window;for(;;){if(e.lookahead<=he){if(Fe(e),e.lookahead<=he&&n===pe)return X;if(e.lookahead===0)break}if(e.match_length=0,e.lookahead>=P&&e.strstart>0&&(l=e.strstart-1,i=f[l],i===f[++l]&&i===f[++l]&&i===f[++l])){a=e.strstart+he;do;while(i===f[++l]&&i===f[++l]&&i===f[++l]&&i===f[++l]&&i===f[++l]&&i===f[++l]&&i===f[++l]&&i===f[++l]&&l<a);e.match_length=he-(a-l),e.match_length>e.lookahead&&(e.match_length=e.lookahead)}if(e.match_length>=P?(t=_e(e,1,e.match_length-P),e.lookahead-=e.match_length,e.strstart+=e.match_length,e.match_length=0):(t=_e(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++),t&&(J(e,!1),e.strm.avail_out===0))return X}return e.insert=0,n===Q?(J(e,!0),e.strm.avail_out===0?me:Ce):e.sym_next&&(J(e,!1),e.strm.avail_out===0)?X:ze},ba=(e,n)=>{let t;for(;;){if(e.lookahead===0&&(Fe(e),e.lookahead===0)){if(n===pe)return X;break}if(e.match_length=0,t=_e(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++,t&&(J(e,!1),e.strm.avail_out===0))return X}return e.insert=0,n===Q?(J(e,!0),e.strm.avail_out===0?me:Ce):e.sym_next&&(J(e,!1),e.strm.avail_out===0)?X:ze};function te(e,n,t,i,l){this.good_length=e,this.max_lazy=n,this.nice_length=t,this.max_chain=i,this.func=l}const Ze=[new te(0,0,0,0,Pi),new te(4,4,8,4,Nt),new te(4,5,16,8,Nt),new te(4,6,32,32,Nt),new te(4,4,16,16,Te),new te(8,16,32,32,Te),new te(8,16,128,128,Te),new te(8,32,128,256,Te),new te(32,128,258,1024,Te),new te(32,258,258,4096,Te)],wa=e=>{e.window_size=2*e.w_size,ue(e.head),e.max_lazy_match=Ze[e.level].max_lazy,e.good_match=Ze[e.level].good_length,e.nice_match=Ze[e.level].nice_length,e.max_chain_length=Ze[e.level].max_chain,e.strstart=0,e.block_start=0,e.lookahead=0,e.insert=0,e.match_length=e.prev_length=P-1,e.match_available=0,e.ins_h=0};function ya(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=_t,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new Uint16Array(ca*2),this.dyn_dtree=new Uint16Array((2*la+1)*2),this.bl_tree=new Uint16Array((2*fa+1)*2),ue(this.dyn_ltree),ue(this.dyn_dtree),ue(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new Uint16Array(da+1),this.heap=new Uint16Array(2*Kt+1),ue(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new Uint16Array(2*Kt+1),ue(this.depth),this.sym_buf=0,this.lit_bufsize=0,this.sym_next=0,this.sym_end=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}const Qe=e=>{if(!e)return 1;const n=e.state;return!n||n.strm!==e||n.status!==Oe&&n.status!==sn&&n.status!==Yt&&n.status!==Wt&&n.status!==Jt&&n.status!==Qt&&n.status!==we&&n.status!==$e?1:0},$i=e=>{if(Qe(e))return ye(e,ie);e.total_in=e.total_out=0,e.data_type=na;const n=e.state;return n.pending=0,n.pending_out=0,n.wrap<0&&(n.wrap=-n.wrap),n.status=n.wrap===2?sn:n.wrap?Oe:we,e.adler=n.wrap===2?0:1,n.last_flush=-2,Xr(n),V},Zi=e=>{const n=$i(e);return n===V&&wa(e.state),n},xa=(e,n)=>Qe(e)||e.state.wrap!==2?ie:(e.state.gzhead=n,V),Bi=(e,n,t,i,l,a)=>{if(!e)return ie;let f=1;if(n===Jr&&(n=6),i<0?(f=0,i=-i):i>15&&(f=2,i-=16),l<1||l>ia||t!==_t||i<8||i>15||n<0||n>9||a<0||a>ea||i===8&&f!==1)return ye(e,ie);i===8&&(i=9);const s=new ya;return e.state=s,s.strm=e,s.status=Oe,s.wrap=f,s.gzhead=null,s.w_bits=i,s.w_size=1<<s.w_bits,s.w_mask=s.w_size-1,s.hash_bits=l+7,s.hash_size=1<<s.hash_bits,s.hash_mask=s.hash_size-1,s.hash_shift=~~((s.hash_bits+P-1)/P),s.window=new Uint8Array(s.w_size*2),s.head=new Uint16Array(s.hash_size),s.prev=new Uint16Array(s.w_size),s.lit_bufsize=1<<l+6,s.pending_buf_size=s.lit_bufsize*4,s.pending_buf=new Uint8Array(s.pending_buf_size),s.sym_buf=s.lit_bufsize,s.sym_end=(s.lit_bufsize-1)*3,s.level=n,s.strategy=a,s.method=t,Zi(e)},ma=(e,n)=>Bi(e,n,_t,ra,aa,ta),Ea=(e,n)=>{if(Qe(e)||n>xn||n<0)return e?ye(e,ie):ie;const t=e.state;if(!e.output||e.avail_in!==0&&!e.input||t.status===$e&&n!==Q)return ye(e,e.avail_out===0?vt:ie);const i=t.last_flush;if(t.last_flush=n,t.pending!==0){if(W(e),e.avail_out===0)return t.last_flush=-1,V}else if(e.avail_in===0&&En(n)<=En(i)&&n!==Q)return ye(e,vt);if(t.status===$e&&e.avail_in!==0)return ye(e,vt);if(t.status===Oe&&t.wrap===0&&(t.status=we),t.status===Oe){let l=_t+(t.w_bits-8<<4)<<8,a=-1;if(t.strategy>=nt||t.level<2?a=0:t.level<6?a=1:t.level===6?a=2:a=3,l|=a<<6,t.strstart!==0&&(l|=ua),l+=31-l%31,Le(t,l),t.strstart!==0&&(Le(t,e.adler>>>16),Le(t,e.adler&65535)),e.adler=1,t.status=we,W(e),t.pending!==0)return t.last_flush=-1,V}if(t.status===sn){if(e.adler=0,B(t,31),B(t,139),B(t,8),t.gzhead)B(t,(t.gzhead.text?1:0)+(t.gzhead.hcrc?2:0)+(t.gzhead.extra?4:0)+(t.gzhead.name?8:0)+(t.gzhead.comment?16:0)),B(t,t.gzhead.time&255),B(t,t.gzhead.time>>8&255),B(t,t.gzhead.time>>16&255),B(t,t.gzhead.time>>24&255),B(t,t.level===9?2:t.strategy>=nt||t.level<2?4:0),B(t,t.gzhead.os&255),t.gzhead.extra&&t.gzhead.extra.length&&(B(t,t.gzhead.extra.length&255),B(t,t.gzhead.extra.length>>8&255)),t.gzhead.hcrc&&(e.adler=H(e.adler,t.pending_buf,t.pending,0)),t.gzindex=0,t.status=Yt;else if(B(t,0),B(t,0),B(t,0),B(t,0),B(t,0),B(t,t.level===9?2:t.strategy>=nt||t.level<2?4:0),B(t,ha),t.status=we,W(e),t.pending!==0)return t.last_flush=-1,V}if(t.status===Yt){if(t.gzhead.extra){let l=t.pending,a=(t.gzhead.extra.length&65535)-t.gzindex;for(;t.pending+a>t.pending_buf_size;){let s=t.pending_buf_size-t.pending;if(t.pending_buf.set(t.gzhead.extra.subarray(t.gzindex,t.gzindex+s),t.pending),t.pending=t.pending_buf_size,t.gzhead.hcrc&&t.pending>l&&(e.adler=H(e.adler,t.pending_buf,t.pending-l,l)),t.gzindex+=s,W(e),t.pending!==0)return t.last_flush=-1,V;l=0,a-=s}let f=new Uint8Array(t.gzhead.extra);t.pending_buf.set(f.subarray(t.gzindex,t.gzindex+a),t.pending),t.pending+=a,t.gzhead.hcrc&&t.pending>l&&(e.adler=H(e.adler,t.pending_buf,t.pending-l,l)),t.gzindex=0}t.status=Wt}if(t.status===Wt){if(t.gzhead.name){let l=t.pending,a;do{if(t.pending===t.pending_buf_size){if(t.gzhead.hcrc&&t.pending>l&&(e.adler=H(e.adler,t.pending_buf,t.pending-l,l)),W(e),t.pending!==0)return t.last_flush=-1,V;l=0}t.gzindex<t.gzhead.name.length?a=t.gzhead.name.charCodeAt(t.gzindex++)&255:a=0,B(t,a)}while(a!==0);t.gzhead.hcrc&&t.pending>l&&(e.adler=H(e.adler,t.pending_buf,t.pending-l,l)),t.gzindex=0}t.status=Jt}if(t.status===Jt){if(t.gzhead.comment){let l=t.pending,a;do{if(t.pending===t.pending_buf_size){if(t.gzhead.hcrc&&t.pending>l&&(e.adler=H(e.adler,t.pending_buf,t.pending-l,l)),W(e),t.pending!==0)return t.last_flush=-1,V;l=0}t.gzindex<t.gzhead.comment.length?a=t.gzhead.comment.charCodeAt(t.gzindex++)&255:a=0,B(t,a)}while(a!==0);t.gzhead.hcrc&&t.pending>l&&(e.adler=H(e.adler,t.pending_buf,t.pending-l,l))}t.status=Qt}if(t.status===Qt){if(t.gzhead.hcrc){if(t.pending+2>t.pending_buf_size&&(W(e),t.pending!==0))return t.last_flush=-1,V;B(t,e.adler&255),B(t,e.adler>>8&255),e.adler=0}if(t.status=we,W(e),t.pending!==0)return t.last_flush=-1,V}if(e.avail_in!==0||t.lookahead!==0||n!==pe&&t.status!==$e){let l=t.level===0?Pi(t,n):t.strategy===nt?ba(t,n):t.strategy===Dr?ga(t,n):Ze[t.level].func(t,n);if((l===me||l===Ce)&&(t.status=$e),l===X||l===me)return e.avail_out===0&&(t.last_flush=-1),V;if(l===ze&&(n===Kr?Gr(t):n!==xn&&(Gt(t,0,0,!1),n===Yr&&(ue(t.head),t.lookahead===0&&(t.strstart=0,t.block_start=0,t.insert=0))),W(e),e.avail_out===0))return t.last_flush=-1,V}return n!==Q?V:t.wrap<=0?mn:(t.wrap===2?(B(t,e.adler&255),B(t,e.adler>>8&255),B(t,e.adler>>16&255),B(t,e.adler>>24&255),B(t,e.total_in&255),B(t,e.total_in>>8&255),B(t,e.total_in>>16&255),B(t,e.total_in>>24&255)):(Le(t,e.adler>>>16),Le(t,e.adler&65535)),W(e),t.wrap>0&&(t.wrap=-t.wrap),t.pending!==0?V:mn)},va=e=>{if(Qe(e))return ie;const n=e.state.status;return e.state=null,n===we?ye(e,Wr):V},Na=(e,n)=>{let t=n.length;if(Qe(e))return ie;const i=e.state,l=i.wrap;if(l===2||l===1&&i.status!==Oe||i.lookahead)return ie;if(l===1&&(e.adler=qe(e.adler,n,t,0)),i.wrap=0,t>=i.w_size){l===0&&(ue(i.head),i.strstart=0,i.block_start=0,i.insert=0);let c=new Uint8Array(i.w_size);c.set(n.subarray(t-i.w_size,t),0),n=c,t=i.w_size}const a=e.avail_in,f=e.next_in,s=e.input;for(e.avail_in=t,e.next_in=0,e.input=n,Fe(i);i.lookahead>=P;){let c=i.strstart,r=i.lookahead-(P-1);do i.ins_h=ge(i,i.ins_h,i.window[c+P-1]),i.prev[c&i.w_mask]=i.head[i.ins_h],i.head[i.ins_h]=c,c++;while(--r);i.strstart=c,i.lookahead=P-1,Fe(i)}return i.strstart+=i.lookahead,i.block_start=i.strstart,i.insert=i.lookahead,i.lookahead=0,i.match_length=i.prev_length=P-1,i.match_available=0,e.next_in=f,e.input=s,e.avail_in=a,i.wrap=l,V};var ka=ma,Ta=Bi,Aa=Zi,Sa=$i,Oa=xa,Fa=Ea,Ia=va,Ra=Na,za="pako deflate (from Nodeca project)",Ue={deflateInit:ka,deflateInit2:Ta,deflateReset:Aa,deflateResetKeep:Sa,deflateSetHeader:Oa,deflate:Fa,deflateEnd:Ia,deflateSetDictionary:Ra,deflateInfo:za};const Ca=(e,n)=>Object.prototype.hasOwnProperty.call(e,n);var La=function(e){const n=Array.prototype.slice.call(arguments,1);for(;n.length;){const t=n.shift();if(t){if(typeof t!="object")throw new TypeError(t+"must be non-object");for(const i in t)Ca(t,i)&&(e[i]=t[i])}}return e},Pa=e=>{let n=0;for(let i=0,l=e.length;i<l;i++)n+=e[i].length;const t=new Uint8Array(n);for(let i=0,l=0,a=e.length;i<a;i++){let f=e[i];t.set(f,l),l+=f.length}return t},pt={assign:La,flattenChunks:Pa};let Ui=!0;try{String.fromCharCode.apply(null,new Uint8Array(1))}catch{Ui=!1}const Ge=new Uint8Array(256);for(let e=0;e<256;e++)Ge[e]=e>=252?6:e>=248?5:e>=240?4:e>=224?3:e>=192?2:1;Ge[254]=Ge[254]=1;var $a=e=>{if(typeof TextEncoder=="function"&&TextEncoder.prototype.encode)return new TextEncoder().encode(e);let n,t,i,l,a,f=e.length,s=0;for(l=0;l<f;l++)t=e.charCodeAt(l),(t&64512)===55296&&l+1<f&&(i=e.charCodeAt(l+1),(i&64512)===56320&&(t=65536+(t-55296<<10)+(i-56320),l++)),s+=t<128?1:t<2048?2:t<65536?3:4;for(n=new Uint8Array(s),a=0,l=0;a<s;l++)t=e.charCodeAt(l),(t&64512)===55296&&l+1<f&&(i=e.charCodeAt(l+1),(i&64512)===56320&&(t=65536+(t-55296<<10)+(i-56320),l++)),t<128?n[a++]=t:t<2048?(n[a++]=192|t>>>6,n[a++]=128|t&63):t<65536?(n[a++]=224|t>>>12,n[a++]=128|t>>>6&63,n[a++]=128|t&63):(n[a++]=240|t>>>18,n[a++]=128|t>>>12&63,n[a++]=128|t>>>6&63,n[a++]=128|t&63);return n};const Za=(e,n)=>{if(n<65534&&e.subarray&&Ui)return String.fromCharCode.apply(null,e.length===n?e:e.subarray(0,n));let t="";for(let i=0;i<n;i++)t+=String.fromCharCode(e[i]);return t};var Ba=(e,n)=>{const t=n||e.length;if(typeof TextDecoder=="function"&&TextDecoder.prototype.decode)return new TextDecoder().decode(e.subarray(0,n));let i,l;const a=new Array(t*2);for(l=0,i=0;i<t;){let f=e[i++];if(f<128){a[l++]=f;continue}let s=Ge[f];if(s>4){a[l++]=65533,i+=s-1;continue}for(f&=s===2?31:s===3?15:7;s>1&&i<t;)f=f<<6|e[i++]&63,s--;if(s>1){a[l++]=65533;continue}f<65536?a[l++]=f:(f-=65536,a[l++]=55296|f>>10&1023,a[l++]=56320|f&1023)}return Za(a,l)},Ua=(e,n)=>{n=n||e.length,n>e.length&&(n=e.length);let t=n-1;for(;t>=0&&(e[t]&192)===128;)t--;return t<0||t===0?n:t+Ge[e[t]]>n?t:n},Ke={string2buf:$a,buf2string:Ba,utf8border:Ua};function Ma(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}var Mi=Ma;const ji=Object.prototype.toString,{Z_NO_FLUSH:ja,Z_SYNC_FLUSH:Ha,Z_FULL_FLUSH:Va,Z_FINISH:Xa,Z_OK:ut,Z_STREAM_END:qa,Z_DEFAULT_COMPRESSION:Ga,Z_DEFAULT_STRATEGY:Ka,Z_DEFLATED:Ya}=Je;function De(e){this.options=pt.assign({level:Ga,method:Ya,chunkSize:16384,windowBits:15,memLevel:8,strategy:Ka},e||{});let n=this.options;n.raw&&n.windowBits>0?n.windowBits=-n.windowBits:n.gzip&&n.windowBits>0&&n.windowBits<16&&(n.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new Mi,this.strm.avail_out=0;let t=Ue.deflateInit2(this.strm,n.level,n.method,n.windowBits,n.memLevel,n.strategy);if(t!==ut)throw new Error(xe[t]);if(n.header&&Ue.deflateSetHeader(this.strm,n.header),n.dictionary){let i;if(typeof n.dictionary=="string"?i=Ke.string2buf(n.dictionary):ji.call(n.dictionary)==="[object ArrayBuffer]"?i=new Uint8Array(n.dictionary):i=n.dictionary,t=Ue.deflateSetDictionary(this.strm,i),t!==ut)throw new Error(xe[t]);this._dict_set=!0}}De.prototype.push=function(e,n){const t=this.strm,i=this.options.chunkSize;let l,a;if(this.ended)return!1;for(n===~~n?a=n:a=n===!0?Xa:ja,typeof e=="string"?t.input=Ke.string2buf(e):ji.call(e)==="[object ArrayBuffer]"?t.input=new Uint8Array(e):t.input=e,t.next_in=0,t.avail_in=t.input.length;;){if(t.avail_out===0&&(t.output=new Uint8Array(i),t.next_out=0,t.avail_out=i),(a===Ha||a===Va)&&t.avail_out<=6){this.onData(t.output.subarray(0,t.next_out)),t.avail_out=0;continue}if(l=Ue.deflate(t,a),l===qa)return t.next_out>0&&this.onData(t.output.subarray(0,t.next_out)),l=Ue.deflateEnd(this.strm),this.onEnd(l),this.ended=!0,l===ut;if(t.avail_out===0){this.onData(t.output);continue}if(a>0&&t.next_out>0){this.onData(t.output.subarray(0,t.next_out)),t.avail_out=0;continue}if(t.avail_in===0)break}return!0};De.prototype.onData=function(e){this.chunks.push(e)};De.prototype.onEnd=function(e){e===ut&&(this.result=pt.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg};function on(e,n){const t=new De(n);if(t.push(e,!0),t.err)throw t.msg||xe[t.err];return t.result}function Wa(e,n){return n=n||{},n.raw=!0,on(e,n)}function Ja(e,n){return n=n||{},n.gzip=!0,on(e,n)}var Qa=De,Da=on,es=Wa,ts=Ja,ns={Deflate:Qa,deflate:Da,deflateRaw:es,gzip:ts};const it=16209,is=16191;var rs=function(n,t){let i,l,a,f,s,c,r,o,E,_,h,v,T,I,d,g,N,k,u,p,b,A,y,m;const O=n.state;i=n.next_in,y=n.input,l=i+(n.avail_in-5),a=n.next_out,m=n.output,f=a-(t-n.avail_out),s=a+(n.avail_out-257),c=O.dmax,r=O.wsize,o=O.whave,E=O.wnext,_=O.window,h=O.hold,v=O.bits,T=O.lencode,I=O.distcode,d=(1<<O.lenbits)-1,g=(1<<O.distbits)-1;e:do{v<15&&(h+=y[i++]<<v,v+=8,h+=y[i++]<<v,v+=8),N=T[h&d];t:for(;;){if(k=N>>>24,h>>>=k,v-=k,k=N>>>16&255,k===0)m[a++]=N&65535;else if(k&16){u=N&65535,k&=15,k&&(v<k&&(h+=y[i++]<<v,v+=8),u+=h&(1<<k)-1,h>>>=k,v-=k),v<15&&(h+=y[i++]<<v,v+=8,h+=y[i++]<<v,v+=8),N=I[h&g];n:for(;;){if(k=N>>>24,h>>>=k,v-=k,k=N>>>16&255,k&16){if(p=N&65535,k&=15,v<k&&(h+=y[i++]<<v,v+=8,v<k&&(h+=y[i++]<<v,v+=8)),p+=h&(1<<k)-1,p>c){n.msg="invalid distance too far back",O.mode=it;break e}if(h>>>=k,v-=k,k=a-f,p>k){if(k=p-k,k>o&&O.sane){n.msg="invalid distance too far back",O.mode=it;break e}if(b=0,A=_,E===0){if(b+=r-k,k<u){u-=k;do m[a++]=_[b++];while(--k);b=a-p,A=m}}else if(E<k){if(b+=r+E-k,k-=E,k<u){u-=k;do m[a++]=_[b++];while(--k);if(b=0,E<u){k=E,u-=k;do m[a++]=_[b++];while(--k);b=a-p,A=m}}}else if(b+=E-k,k<u){u-=k;do m[a++]=_[b++];while(--k);b=a-p,A=m}for(;u>2;)m[a++]=A[b++],m[a++]=A[b++],m[a++]=A[b++],u-=3;u&&(m[a++]=A[b++],u>1&&(m[a++]=A[b++]))}else{b=a-p;do m[a++]=m[b++],m[a++]=m[b++],m[a++]=m[b++],u-=3;while(u>2);u&&(m[a++]=m[b++],u>1&&(m[a++]=m[b++]))}}else if((k&64)===0){N=I[(N&65535)+(h&(1<<k)-1)];continue n}else{n.msg="invalid distance code",O.mode=it;break e}break}}else if((k&64)===0){N=T[(N&65535)+(h&(1<<k)-1)];continue t}else if(k&32){O.mode=is;break e}else{n.msg="invalid literal/length code",O.mode=it;break e}break}}while(i<l&&a<s);u=v>>3,i-=u,v-=u<<3,h&=(1<<v)-1,n.next_in=i,n.next_out=a,n.avail_in=i<l?5+(l-i):5-(i-l),n.avail_out=a<s?257+(s-a):257-(a-s),O.hold=h,O.bits=v};const Ae=15,vn=852,Nn=592,kn=0,kt=1,Tn=2,as=new Uint16Array([3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0]),ss=new Uint8Array([16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78]),os=new Uint16Array([1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0]),ls=new Uint8Array([16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64]),fs=(e,n,t,i,l,a,f,s)=>{const c=s.bits;let r=0,o=0,E=0,_=0,h=0,v=0,T=0,I=0,d=0,g=0,N,k,u,p,b,A=null,y;const m=new Uint16Array(Ae+1),O=new Uint16Array(Ae+1);let w=null,x,S,F;for(r=0;r<=Ae;r++)m[r]=0;for(o=0;o<i;o++)m[n[t+o]]++;for(h=c,_=Ae;_>=1&&m[_]===0;_--);if(h>_&&(h=_),_===0)return l[a++]=1<<24|64<<16|0,l[a++]=1<<24|64<<16|0,s.bits=1,0;for(E=1;E<_&&m[E]===0;E++);for(h<E&&(h=E),I=1,r=1;r<=Ae;r++)if(I<<=1,I-=m[r],I<0)return-1;if(I>0&&(e===kn||_!==1))return-1;for(O[1]=0,r=1;r<Ae;r++)O[r+1]=O[r]+m[r];for(o=0;o<i;o++)n[t+o]!==0&&(f[O[n[t+o]]++]=o);if(e===kn?(A=w=f,y=20):e===kt?(A=as,w=ss,y=257):(A=os,w=ls,y=0),g=0,o=0,r=E,b=a,v=h,T=0,u=-1,d=1<<h,p=d-1,e===kt&&d>vn||e===Tn&&d>Nn)return 1;for(;;){x=r-T,f[o]+1<y?(S=0,F=f[o]):f[o]>=y?(S=w[f[o]-y],F=A[f[o]-y]):(S=96,F=0),N=1<<r-T,k=1<<v,E=k;do k-=N,l[b+(g>>T)+k]=x<<24|S<<16|F|0;while(k!==0);for(N=1<<r-1;g&N;)N>>=1;if(N!==0?(g&=N-1,g+=N):g=0,o++,--m[r]===0){if(r===_)break;r=n[t+f[o]]}if(r>h&&(g&p)!==u){for(T===0&&(T=h),b+=E,v=r-T,I=1<<v;v+T<_&&(I-=m[v+T],!(I<=0));)v++,I<<=1;if(d+=1<<v,e===kt&&d>vn||e===Tn&&d>Nn)return 1;u=g&p,l[u]=h<<24|v<<16|b-a|0}}return g!==0&&(l[b+g]=r-T<<24|64<<16|0),s.bits=h,0};var Me=fs;const cs=0,Hi=1,Vi=2,{Z_FINISH:An,Z_BLOCK:ds,Z_TREES:rt,Z_OK:Ee,Z_STREAM_END:us,Z_NEED_DICT:hs,Z_STREAM_ERROR:D,Z_DATA_ERROR:Xi,Z_MEM_ERROR:qi,Z_BUF_ERROR:_s,Z_DEFLATED:Sn}=Je,gt=16180,On=16181,Fn=16182,In=16183,Rn=16184,zn=16185,Cn=16186,Ln=16187,Pn=16188,$n=16189,ht=16190,oe=16191,Tt=16192,Zn=16193,At=16194,Bn=16195,Un=16196,Mn=16197,jn=16198,at=16199,st=16200,Hn=16201,Vn=16202,Xn=16203,qn=16204,Gn=16205,St=16206,Kn=16207,Yn=16208,j=16209,Gi=16210,Ki=16211,ps=852,gs=592,bs=15,ws=bs,Wn=e=>(e>>>24&255)+(e>>>8&65280)+((e&65280)<<8)+((e&255)<<24);function ys(){this.strm=null,this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new Uint16Array(320),this.work=new Uint16Array(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}const ve=e=>{if(!e)return 1;const n=e.state;return!n||n.strm!==e||n.mode<gt||n.mode>Ki?1:0},Yi=e=>{if(ve(e))return D;const n=e.state;return e.total_in=e.total_out=n.total=0,e.msg="",n.wrap&&(e.adler=n.wrap&1),n.mode=gt,n.last=0,n.havedict=0,n.flags=-1,n.dmax=32768,n.head=null,n.hold=0,n.bits=0,n.lencode=n.lendyn=new Int32Array(ps),n.distcode=n.distdyn=new Int32Array(gs),n.sane=1,n.back=-1,Ee},Wi=e=>{if(ve(e))return D;const n=e.state;return n.wsize=0,n.whave=0,n.wnext=0,Yi(e)},Ji=(e,n)=>{let t;if(ve(e))return D;const i=e.state;return n<0?(t=0,n=-n):(t=(n>>4)+5,n<48&&(n&=15)),n&&(n<8||n>15)?D:(i.window!==null&&i.wbits!==n&&(i.window=null),i.wrap=t,i.wbits=n,Wi(e))},Qi=(e,n)=>{if(!e)return D;const t=new ys;e.state=t,t.strm=e,t.window=null,t.mode=gt;const i=Ji(e,n);return i!==Ee&&(e.state=null),i},xs=e=>Qi(e,ws);let Jn=!0,Ot,Ft;const ms=e=>{if(Jn){Ot=new Int32Array(512),Ft=new Int32Array(32);let n=0;for(;n<144;)e.lens[n++]=8;for(;n<256;)e.lens[n++]=9;for(;n<280;)e.lens[n++]=7;for(;n<288;)e.lens[n++]=8;for(Me(Hi,e.lens,0,288,Ot,0,e.work,{bits:9}),n=0;n<32;)e.lens[n++]=5;Me(Vi,e.lens,0,32,Ft,0,e.work,{bits:5}),Jn=!1}e.lencode=Ot,e.lenbits=9,e.distcode=Ft,e.distbits=5},Di=(e,n,t,i)=>{let l;const a=e.state;return a.window===null&&(a.wsize=1<<a.wbits,a.wnext=0,a.whave=0,a.window=new Uint8Array(a.wsize)),i>=a.wsize?(a.window.set(n.subarray(t-a.wsize,t),0),a.wnext=0,a.whave=a.wsize):(l=a.wsize-a.wnext,l>i&&(l=i),a.window.set(n.subarray(t-i,t-i+l),a.wnext),i-=l,i?(a.window.set(n.subarray(t-i,t),0),a.wnext=i,a.whave=a.wsize):(a.wnext+=l,a.wnext===a.wsize&&(a.wnext=0),a.whave<a.wsize&&(a.whave+=l))),0},Es=(e,n)=>{let t,i,l,a,f,s,c,r,o,E,_,h,v,T,I=0,d,g,N,k,u,p,b,A;const y=new Uint8Array(4);let m,O;const w=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]);if(ve(e)||!e.output||!e.input&&e.avail_in!==0)return D;t=e.state,t.mode===oe&&(t.mode=Tt),f=e.next_out,l=e.output,c=e.avail_out,a=e.next_in,i=e.input,s=e.avail_in,r=t.hold,o=t.bits,E=s,_=c,A=Ee;e:for(;;)switch(t.mode){case gt:if(t.wrap===0){t.mode=Tt;break}for(;o<16;){if(s===0)break e;s--,r+=i[a++]<<o,o+=8}if(t.wrap&2&&r===35615){t.wbits===0&&(t.wbits=15),t.check=0,y[0]=r&255,y[1]=r>>>8&255,t.check=H(t.check,y,2,0),r=0,o=0,t.mode=On;break}if(t.head&&(t.head.done=!1),!(t.wrap&1)||(((r&255)<<8)+(r>>8))%31){e.msg="incorrect header check",t.mode=j;break}if((r&15)!==Sn){e.msg="unknown compression method",t.mode=j;break}if(r>>>=4,o-=4,b=(r&15)+8,t.wbits===0&&(t.wbits=b),b>15||b>t.wbits){e.msg="invalid window size",t.mode=j;break}t.dmax=1<<t.wbits,t.flags=0,e.adler=t.check=1,t.mode=r&512?$n:oe,r=0,o=0;break;case On:for(;o<16;){if(s===0)break e;s--,r+=i[a++]<<o,o+=8}if(t.flags=r,(t.flags&255)!==Sn){e.msg="unknown compression method",t.mode=j;break}if(t.flags&57344){e.msg="unknown header flags set",t.mode=j;break}t.head&&(t.head.text=r>>8&1),t.flags&512&&t.wrap&4&&(y[0]=r&255,y[1]=r>>>8&255,t.check=H(t.check,y,2,0)),r=0,o=0,t.mode=Fn;case Fn:for(;o<32;){if(s===0)break e;s--,r+=i[a++]<<o,o+=8}t.head&&(t.head.time=r),t.flags&512&&t.wrap&4&&(y[0]=r&255,y[1]=r>>>8&255,y[2]=r>>>16&255,y[3]=r>>>24&255,t.check=H(t.check,y,4,0)),r=0,o=0,t.mode=In;case In:for(;o<16;){if(s===0)break e;s--,r+=i[a++]<<o,o+=8}t.head&&(t.head.xflags=r&255,t.head.os=r>>8),t.flags&512&&t.wrap&4&&(y[0]=r&255,y[1]=r>>>8&255,t.check=H(t.check,y,2,0)),r=0,o=0,t.mode=Rn;case Rn:if(t.flags&1024){for(;o<16;){if(s===0)break e;s--,r+=i[a++]<<o,o+=8}t.length=r,t.head&&(t.head.extra_len=r),t.flags&512&&t.wrap&4&&(y[0]=r&255,y[1]=r>>>8&255,t.check=H(t.check,y,2,0)),r=0,o=0}else t.head&&(t.head.extra=null);t.mode=zn;case zn:if(t.flags&1024&&(h=t.length,h>s&&(h=s),h&&(t.head&&(b=t.head.extra_len-t.length,t.head.extra||(t.head.extra=new Uint8Array(t.head.extra_len)),t.head.extra.set(i.subarray(a,a+h),b)),t.flags&512&&t.wrap&4&&(t.check=H(t.check,i,h,a)),s-=h,a+=h,t.length-=h),t.length))break e;t.length=0,t.mode=Cn;case Cn:if(t.flags&2048){if(s===0)break e;h=0;do b=i[a+h++],t.head&&b&&t.length<65536&&(t.head.name+=String.fromCharCode(b));while(b&&h<s);if(t.flags&512&&t.wrap&4&&(t.check=H(t.check,i,h,a)),s-=h,a+=h,b)break e}else t.head&&(t.head.name=null);t.length=0,t.mode=Ln;case Ln:if(t.flags&4096){if(s===0)break e;h=0;do b=i[a+h++],t.head&&b&&t.length<65536&&(t.head.comment+=String.fromCharCode(b));while(b&&h<s);if(t.flags&512&&t.wrap&4&&(t.check=H(t.check,i,h,a)),s-=h,a+=h,b)break e}else t.head&&(t.head.comment=null);t.mode=Pn;case Pn:if(t.flags&512){for(;o<16;){if(s===0)break e;s--,r+=i[a++]<<o,o+=8}if(t.wrap&4&&r!==(t.check&65535)){e.msg="header crc mismatch",t.mode=j;break}r=0,o=0}t.head&&(t.head.hcrc=t.flags>>9&1,t.head.done=!0),e.adler=t.check=0,t.mode=oe;break;case $n:for(;o<32;){if(s===0)break e;s--,r+=i[a++]<<o,o+=8}e.adler=t.check=Wn(r),r=0,o=0,t.mode=ht;case ht:if(t.havedict===0)return e.next_out=f,e.avail_out=c,e.next_in=a,e.avail_in=s,t.hold=r,t.bits=o,hs;e.adler=t.check=1,t.mode=oe;case oe:if(n===ds||n===rt)break e;case Tt:if(t.last){r>>>=o&7,o-=o&7,t.mode=St;break}for(;o<3;){if(s===0)break e;s--,r+=i[a++]<<o,o+=8}switch(t.last=r&1,r>>>=1,o-=1,r&3){case 0:t.mode=Zn;break;case 1:if(ms(t),t.mode=at,n===rt){r>>>=2,o-=2;break e}break;case 2:t.mode=Un;break;case 3:e.msg="invalid block type",t.mode=j}r>>>=2,o-=2;break;case Zn:for(r>>>=o&7,o-=o&7;o<32;){if(s===0)break e;s--,r+=i[a++]<<o,o+=8}if((r&65535)!==(r>>>16^65535)){e.msg="invalid stored block lengths",t.mode=j;break}if(t.length=r&65535,r=0,o=0,t.mode=At,n===rt)break e;case At:t.mode=Bn;case Bn:if(h=t.length,h){if(h>s&&(h=s),h>c&&(h=c),h===0)break e;l.set(i.subarray(a,a+h),f),s-=h,a+=h,c-=h,f+=h,t.length-=h;break}t.mode=oe;break;case Un:for(;o<14;){if(s===0)break e;s--,r+=i[a++]<<o,o+=8}if(t.nlen=(r&31)+257,r>>>=5,o-=5,t.ndist=(r&31)+1,r>>>=5,o-=5,t.ncode=(r&15)+4,r>>>=4,o-=4,t.nlen>286||t.ndist>30){e.msg="too many length or distance symbols",t.mode=j;break}t.have=0,t.mode=Mn;case Mn:for(;t.have<t.ncode;){for(;o<3;){if(s===0)break e;s--,r+=i[a++]<<o,o+=8}t.lens[w[t.have++]]=r&7,r>>>=3,o-=3}for(;t.have<19;)t.lens[w[t.have++]]=0;if(t.lencode=t.lendyn,t.lenbits=7,m={bits:t.lenbits},A=Me(cs,t.lens,0,19,t.lencode,0,t.work,m),t.lenbits=m.bits,A){e.msg="invalid code lengths set",t.mode=j;break}t.have=0,t.mode=jn;case jn:for(;t.have<t.nlen+t.ndist;){for(;I=t.lencode[r&(1<<t.lenbits)-1],d=I>>>24,g=I>>>16&255,N=I&65535,!(d<=o);){if(s===0)break e;s--,r+=i[a++]<<o,o+=8}if(N<16)r>>>=d,o-=d,t.lens[t.have++]=N;else{if(N===16){for(O=d+2;o<O;){if(s===0)break e;s--,r+=i[a++]<<o,o+=8}if(r>>>=d,o-=d,t.have===0){e.msg="invalid bit length repeat",t.mode=j;break}b=t.lens[t.have-1],h=3+(r&3),r>>>=2,o-=2}else if(N===17){for(O=d+3;o<O;){if(s===0)break e;s--,r+=i[a++]<<o,o+=8}r>>>=d,o-=d,b=0,h=3+(r&7),r>>>=3,o-=3}else{for(O=d+7;o<O;){if(s===0)break e;s--,r+=i[a++]<<o,o+=8}r>>>=d,o-=d,b=0,h=11+(r&127),r>>>=7,o-=7}if(t.have+h>t.nlen+t.ndist){e.msg="invalid bit length repeat",t.mode=j;break}for(;h--;)t.lens[t.have++]=b}}if(t.mode===j)break;if(t.lens[256]===0){e.msg="invalid code -- missing end-of-block",t.mode=j;break}if(t.lenbits=9,m={bits:t.lenbits},A=Me(Hi,t.lens,0,t.nlen,t.lencode,0,t.work,m),t.lenbits=m.bits,A){e.msg="invalid literal/lengths set",t.mode=j;break}if(t.distbits=6,t.distcode=t.distdyn,m={bits:t.distbits},A=Me(Vi,t.lens,t.nlen,t.ndist,t.distcode,0,t.work,m),t.distbits=m.bits,A){e.msg="invalid distances set",t.mode=j;break}if(t.mode=at,n===rt)break e;case at:t.mode=st;case st:if(s>=6&&c>=258){e.next_out=f,e.avail_out=c,e.next_in=a,e.avail_in=s,t.hold=r,t.bits=o,rs(e,_),f=e.next_out,l=e.output,c=e.avail_out,a=e.next_in,i=e.input,s=e.avail_in,r=t.hold,o=t.bits,t.mode===oe&&(t.back=-1);break}for(t.back=0;I=t.lencode[r&(1<<t.lenbits)-1],d=I>>>24,g=I>>>16&255,N=I&65535,!(d<=o);){if(s===0)break e;s--,r+=i[a++]<<o,o+=8}if(g&&(g&240)===0){for(k=d,u=g,p=N;I=t.lencode[p+((r&(1<<k+u)-1)>>k)],d=I>>>24,g=I>>>16&255,N=I&65535,!(k+d<=o);){if(s===0)break e;s--,r+=i[a++]<<o,o+=8}r>>>=k,o-=k,t.back+=k}if(r>>>=d,o-=d,t.back+=d,t.length=N,g===0){t.mode=Gn;break}if(g&32){t.back=-1,t.mode=oe;break}if(g&64){e.msg="invalid literal/length code",t.mode=j;break}t.extra=g&15,t.mode=Hn;case Hn:if(t.extra){for(O=t.extra;o<O;){if(s===0)break e;s--,r+=i[a++]<<o,o+=8}t.length+=r&(1<<t.extra)-1,r>>>=t.extra,o-=t.extra,t.back+=t.extra}t.was=t.length,t.mode=Vn;case Vn:for(;I=t.distcode[r&(1<<t.distbits)-1],d=I>>>24,g=I>>>16&255,N=I&65535,!(d<=o);){if(s===0)break e;s--,r+=i[a++]<<o,o+=8}if((g&240)===0){for(k=d,u=g,p=N;I=t.distcode[p+((r&(1<<k+u)-1)>>k)],d=I>>>24,g=I>>>16&255,N=I&65535,!(k+d<=o);){if(s===0)break e;s--,r+=i[a++]<<o,o+=8}r>>>=k,o-=k,t.back+=k}if(r>>>=d,o-=d,t.back+=d,g&64){e.msg="invalid distance code",t.mode=j;break}t.offset=N,t.extra=g&15,t.mode=Xn;case Xn:if(t.extra){for(O=t.extra;o<O;){if(s===0)break e;s--,r+=i[a++]<<o,o+=8}t.offset+=r&(1<<t.extra)-1,r>>>=t.extra,o-=t.extra,t.back+=t.extra}if(t.offset>t.dmax){e.msg="invalid distance too far back",t.mode=j;break}t.mode=qn;case qn:if(c===0)break e;if(h=_-c,t.offset>h){if(h=t.offset-h,h>t.whave&&t.sane){e.msg="invalid distance too far back",t.mode=j;break}h>t.wnext?(h-=t.wnext,v=t.wsize-h):v=t.wnext-h,h>t.length&&(h=t.length),T=t.window}else T=l,v=f-t.offset,h=t.length;h>c&&(h=c),c-=h,t.length-=h;do l[f++]=T[v++];while(--h);t.length===0&&(t.mode=st);break;case Gn:if(c===0)break e;l[f++]=t.length,c--,t.mode=st;break;case St:if(t.wrap){for(;o<32;){if(s===0)break e;s--,r|=i[a++]<<o,o+=8}if(_-=c,e.total_out+=_,t.total+=_,t.wrap&4&&_&&(e.adler=t.check=t.flags?H(t.check,l,_,f-_):qe(t.check,l,_,f-_)),_=c,t.wrap&4&&(t.flags?r:Wn(r))!==t.check){e.msg="incorrect data check",t.mode=j;break}r=0,o=0}t.mode=Kn;case Kn:if(t.wrap&&t.flags){for(;o<32;){if(s===0)break e;s--,r+=i[a++]<<o,o+=8}if(t.wrap&4&&r!==(t.total&4294967295)){e.msg="incorrect length check",t.mode=j;break}r=0,o=0}t.mode=Yn;case Yn:A=us;break e;case j:A=Xi;break e;case Gi:return qi;case Ki:default:return D}return e.next_out=f,e.avail_out=c,e.next_in=a,e.avail_in=s,t.hold=r,t.bits=o,(t.wsize||_!==e.avail_out&&t.mode<j&&(t.mode<St||n!==An))&&Di(e,e.output,e.next_out,_-e.avail_out),E-=e.avail_in,_-=e.avail_out,e.total_in+=E,e.total_out+=_,t.total+=_,t.wrap&4&&_&&(e.adler=t.check=t.flags?H(t.check,l,_,e.next_out-_):qe(t.check,l,_,e.next_out-_)),e.data_type=t.bits+(t.last?64:0)+(t.mode===oe?128:0)+(t.mode===at||t.mode===At?256:0),(E===0&&_===0||n===An)&&A===Ee&&(A=_s),A},vs=e=>{if(ve(e))return D;let n=e.state;return n.window&&(n.window=null),e.state=null,Ee},Ns=(e,n)=>{if(ve(e))return D;const t=e.state;return(t.wrap&2)===0?D:(t.head=n,n.done=!1,Ee)},ks=(e,n)=>{const t=n.length;let i,l,a;return ve(e)||(i=e.state,i.wrap!==0&&i.mode!==ht)?D:i.mode===ht&&(l=1,l=qe(l,n,t,0),l!==i.check)?Xi:(a=Di(e,n,t,t),a?(i.mode=Gi,qi):(i.havedict=1,Ee))};var Ts=Wi,As=Ji,Ss=Yi,Os=xs,Fs=Qi,Is=Es,Rs=vs,zs=Ns,Cs=ks,Ls="pako inflate (from Nodeca project)",fe={inflateReset:Ts,inflateReset2:As,inflateResetKeep:Ss,inflateInit:Os,inflateInit2:Fs,inflate:Is,inflateEnd:Rs,inflateGetHeader:zs,inflateSetDictionary:Cs,inflateInfo:Ls};function Ps(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}var $s=Ps;const er=Object.prototype.toString,{Z_NO_FLUSH:Zs,Z_FINISH:Bs,Z_OK:Ye,Z_STREAM_END:It,Z_NEED_DICT:Rt,Z_STREAM_ERROR:Us,Z_DATA_ERROR:Qn,Z_MEM_ERROR:Ms}=Je;function et(e){this.options=pt.assign({chunkSize:1024*64,windowBits:15,to:""},e||{});const n=this.options;n.raw&&n.windowBits>=0&&n.windowBits<16&&(n.windowBits=-n.windowBits,n.windowBits===0&&(n.windowBits=-15)),n.windowBits>=0&&n.windowBits<16&&!(e&&e.windowBits)&&(n.windowBits+=32),n.windowBits>15&&n.windowBits<48&&(n.windowBits&15)===0&&(n.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new Mi,this.strm.avail_out=0;let t=fe.inflateInit2(this.strm,n.windowBits);if(t!==Ye)throw new Error(xe[t]);if(this.header=new $s,fe.inflateGetHeader(this.strm,this.header),n.dictionary&&(typeof n.dictionary=="string"?n.dictionary=Ke.string2buf(n.dictionary):er.call(n.dictionary)==="[object ArrayBuffer]"&&(n.dictionary=new Uint8Array(n.dictionary)),n.raw&&(t=fe.inflateSetDictionary(this.strm,n.dictionary),t!==Ye)))throw new Error(xe[t])}et.prototype.push=function(e,n){const t=this.strm,i=this.options.chunkSize,l=this.options.dictionary;let a,f,s;if(this.ended)return!1;for(n===~~n?f=n:f=n===!0?Bs:Zs,er.call(e)==="[object ArrayBuffer]"?t.input=new Uint8Array(e):t.input=e,t.next_in=0,t.avail_in=t.input.length;;){for(t.avail_out===0&&(t.output=new Uint8Array(i),t.next_out=0,t.avail_out=i),a=fe.inflate(t,f),a===Rt&&l&&(a=fe.inflateSetDictionary(t,l),a===Ye?a=fe.inflate(t,f):a===Qn&&(a=Rt));t.avail_in>0&&a===It&&t.state.wrap>0&&e[t.next_in]!==0;)fe.inflateReset(t),a=fe.inflate(t,f);switch(a){case Us:case Qn:case Rt:case Ms:return this.onEnd(a),this.ended=!0,!1}if(s=t.avail_out,t.next_out&&(t.avail_out===0||a===It))if(this.options.to==="string"){let c=Ke.utf8border(t.output,t.next_out),r=t.next_out-c,o=Ke.buf2string(t.output,c);t.next_out=r,t.avail_out=i-r,r&&t.output.set(t.output.subarray(c,c+r),0),this.onData(o)}else this.onData(t.output.length===t.next_out?t.output:t.output.subarray(0,t.next_out));if(!(a===Ye&&s===0)){if(a===It)return a=fe.inflateEnd(this.strm),this.onEnd(a),this.ended=!0,!0;if(t.avail_in===0)break}}return!0};et.prototype.onData=function(e){this.chunks.push(e)};et.prototype.onEnd=function(e){e===Ye&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=pt.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg};function ln(e,n){const t=new et(n);if(t.push(e),t.err)throw t.msg||xe[t.err];return t.result}function js(e,n){return n=n||{},n.raw=!0,ln(e,n)}var Hs=et,Vs=ln,Xs=js,qs=ln,Gs={Inflate:Hs,inflate:Vs,inflateRaw:Xs,ungzip:qs};const{Deflate:Ks,deflate:Ys,deflateRaw:Ws,gzip:Js}=ns,{Inflate:Qs,inflate:Ds,inflateRaw:eo,ungzip:to}=Gs;var no=Ks,io=Ys,ro=Ws,ao=Js,so=Qs,oo=Ds,lo=eo,fo=to,co=Je,uo={Deflate:no,deflate:io,deflateRaw:ro,gzip:ao,Inflate:so,inflate:oo,inflateRaw:lo,ungzip:fo,constants:co},ot={exports:{}},zt={},Ct={},Dn;function fn(){return Dn||(Dn=1,function(e){const n=":A-Za-z_\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD",t=n+"\\-.\\d\\u00B7\\u0300-\\u036F\\u203F-\\u2040",i="["+n+"]["+t+"]*",l=new RegExp("^"+i+"$"),a=function(s,c){const r=[];let o=c.exec(s);for(;o;){const E=[];E.startIndex=c.lastIndex-o[0].length;const _=o.length;for(let h=0;h<_;h++)E.push(o[h]);r.push(E),o=c.exec(s)}return r},f=function(s){const c=l.exec(s);return!(c===null||typeof c>"u")};e.isExist=function(s){return typeof s<"u"},e.isEmptyObject=function(s){return Object.keys(s).length===0},e.merge=function(s,c,r){if(c){const o=Object.keys(c),E=o.length;for(let _=0;_<E;_++)r==="strict"?s[o[_]]=[c[o[_]]]:s[o[_]]=c[o[_]]}},e.getValue=function(s){return e.isExist(s)?s:""},e.isName=f,e.getAllMatches=a,e.nameRegexp=i}(Ct)),Ct}var ei;function tr(){if(ei)return zt;ei=1;const e=fn(),n={allowBooleanAttributes:!1,unpairedTags:[]};zt.validate=function(d,g){g=Object.assign({},n,g);const N=[];let k=!1,u=!1;d[0]==="\uFEFF"&&(d=d.substr(1));for(let p=0;p<d.length;p++)if(d[p]==="<"&&d[p+1]==="?"){if(p+=2,p=i(d,p),p.err)return p}else if(d[p]==="<"){let b=p;if(p++,d[p]==="!"){p=l(d,p);continue}else{let A=!1;d[p]==="/"&&(A=!0,p++);let y="";for(;p<d.length&&d[p]!==">"&&d[p]!==" "&&d[p]!==" "&&d[p]!==`
2
2
  `&&d[p]!=="\r";p++)y+=d[p];if(y=y.trim(),y[y.length-1]==="/"&&(y=y.substring(0,y.length-1),p--),!v(y)){let w;return y.trim().length===0?w="Invalid space after '<'.":w="Tag '"+y+"' is an invalid name.",_("InvalidTag",w,T(d,p))}const m=s(d,p);if(m===!1)return _("InvalidAttr","Attributes for '"+y+"' have open quote.",T(d,p));let O=m.value;if(p=m.index,O[O.length-1]==="/"){const w=p-O.length;O=O.substring(0,O.length-1);const x=r(O,g);if(x===!0)k=!0;else return _(x.err.code,x.err.msg,T(d,w+x.err.line))}else if(A)if(m.tagClosed){if(O.trim().length>0)return _("InvalidTag","Closing tag '"+y+"' can't have attributes or invalid starting.",T(d,b));if(N.length===0)return _("InvalidTag","Closing tag '"+y+"' has not been opened.",T(d,b));{const w=N.pop();if(y!==w.tagName){let x=T(d,w.tagStartPos);return _("InvalidTag","Expected closing tag '"+w.tagName+"' (opened in line "+x.line+", col "+x.col+") instead of closing tag '"+y+"'.",T(d,b))}N.length==0&&(u=!0)}}else return _("InvalidTag","Closing tag '"+y+"' doesn't have proper closing.",T(d,p));else{const w=r(O,g);if(w!==!0)return _(w.err.code,w.err.msg,T(d,p-O.length+w.err.line));if(u===!0)return _("InvalidXml","Multiple possible root nodes found.",T(d,p));g.unpairedTags.indexOf(y)!==-1||N.push({tagName:y,tagStartPos:b}),k=!0}for(p++;p<d.length;p++)if(d[p]==="<")if(d[p+1]==="!"){p++,p=l(d,p);continue}else if(d[p+1]==="?"){if(p=i(d,++p),p.err)return p}else break;else if(d[p]==="&"){const w=E(d,p);if(w==-1)return _("InvalidChar","char '&' is not expected.",T(d,p));p=w}else if(u===!0&&!t(d[p]))return _("InvalidXml","Extra text at the end",T(d,p));d[p]==="<"&&p--}}else{if(t(d[p]))continue;return _("InvalidChar","char '"+d[p]+"' is not expected.",T(d,p))}if(k){if(N.length==1)return _("InvalidTag","Unclosed tag '"+N[0].tagName+"'.",T(d,N[0].tagStartPos));if(N.length>0)return _("InvalidXml","Invalid '"+JSON.stringify(N.map(p=>p.tagName),null,4).replace(/\r?\n/g,"")+"' found.",{line:1,col:1})}else return _("InvalidXml","Start tag expected.",1);return!0};function t(d){return d===" "||d===" "||d===`
3
3
  `||d==="\r"}function i(d,g){const N=g;for(;g<d.length;g++)if(d[g]=="?"||d[g]==" "){const k=d.substr(N,g-N);if(g>5&&k==="xml")return _("InvalidXml","XML declaration allowed only at the start of the document.",T(d,g));if(d[g]=="?"&&d[g+1]==">"){g++;break}else continue}return g}function l(d,g){if(d.length>g+5&&d[g+1]==="-"&&d[g+2]==="-"){for(g+=3;g<d.length;g++)if(d[g]==="-"&&d[g+1]==="-"&&d[g+2]===">"){g+=2;break}}else if(d.length>g+8&&d[g+1]==="D"&&d[g+2]==="O"&&d[g+3]==="C"&&d[g+4]==="T"&&d[g+5]==="Y"&&d[g+6]==="P"&&d[g+7]==="E"){let N=1;for(g+=8;g<d.length;g++)if(d[g]==="<")N++;else if(d[g]===">"&&(N--,N===0))break}else if(d.length>g+9&&d[g+1]==="["&&d[g+2]==="C"&&d[g+3]==="D"&&d[g+4]==="A"&&d[g+5]==="T"&&d[g+6]==="A"&&d[g+7]==="["){for(g+=8;g<d.length;g++)if(d[g]==="]"&&d[g+1]==="]"&&d[g+2]===">"){g+=2;break}}return g}const a='"',f="'";function s(d,g){let N="",k="",u=!1;for(;g<d.length;g++){if(d[g]===a||d[g]===f)k===""?k=d[g]:k!==d[g]||(k="");else if(d[g]===">"&&k===""){u=!0;break}N+=d[g]}return k!==""?!1:{value:N,index:g,tagClosed:u}}const c=new RegExp(`(\\s*)([^\\s=]+)(\\s*=)?(\\s*(['"])(([\\s\\S])*?)\\5)?`,"g");function r(d,g){const N=e.getAllMatches(d,c),k={};for(let u=0;u<N.length;u++){if(N[u][1].length===0)return _("InvalidAttr","Attribute '"+N[u][2]+"' has no space in starting.",I(N[u]));if(N[u][3]!==void 0&&N[u][4]===void 0)return _("InvalidAttr","Attribute '"+N[u][2]+"' is without value.",I(N[u]));if(N[u][3]===void 0&&!g.allowBooleanAttributes)return _("InvalidAttr","boolean attribute '"+N[u][2]+"' is not allowed.",I(N[u]));const p=N[u][2];if(!h(p))return _("InvalidAttr","Attribute '"+p+"' is an invalid name.",I(N[u]));if(!k.hasOwnProperty(p))k[p]=1;else return _("InvalidAttr","Attribute '"+p+"' is repeated.",I(N[u]))}return!0}function o(d,g){let N=/\d/;for(d[g]==="x"&&(g++,N=/[\da-fA-F]/);g<d.length;g++){if(d[g]===";")return g;if(!d[g].match(N))break}return-1}function E(d,g){if(g++,d[g]===";")return-1;if(d[g]==="#")return g++,o(d,g);let N=0;for(;g<d.length;g++,N++)if(!(d[g].match(/\w/)&&N<20)){if(d[g]===";")break;return-1}return g}function _(d,g,N){return{err:{code:d,msg:g,line:N.line||N,col:N.col}}}function h(d){return e.isName(d)}function v(d){return e.isName(d)}function T(d,g){const N=d.substring(0,g).split(/\r?\n/);return{line:N.length,col:N[N.length-1].length+1}}function I(d){return d.startIndex+d[1].length}return zt}var lt={},ti;function ho(){if(ti)return lt;ti=1;const e={preserveOrder:!1,attributeNamePrefix:"@_",attributesGroupName:!1,textNodeName:"#text",ignoreAttributes:!0,removeNSPrefix:!1,allowBooleanAttributes:!1,parseTagValue:!0,parseAttributeValue:!1,trimValues:!0,cdataPropName:!1,numberParseOptions:{hex:!0,leadingZeros:!0,eNotation:!0},tagValueProcessor:function(t,i){return i},attributeValueProcessor:function(t,i){return i},stopNodes:[],alwaysCreateTextNode:!1,isArray:()=>!1,commentPropName:!1,unpairedTags:[],processEntities:!0,htmlEntities:!1,ignoreDeclaration:!1,ignorePiTags:!1,transformTagName:!1,transformAttributeName:!1,updateTag:function(t,i,l){return t}},n=function(t){return Object.assign({},e,t)};return lt.buildOptions=n,lt.defaultOptions=e,lt}var Lt,ni;function _o(){if(ni)return Lt;ni=1;class e{constructor(t){this.tagname=t,this.child=[],this[":@"]={}}add(t,i){t==="__proto__"&&(t="#__proto__"),this.child.push({[t]:i})}addChild(t){t.tagname==="__proto__"&&(t.tagname="#__proto__"),t[":@"]&&Object.keys(t[":@"]).length>0?this.child.push({[t.tagname]:t.child,":@":t[":@"]}):this.child.push({[t.tagname]:t.child})}}return Lt=e,Lt}var Pt,ii;function po(){if(ii)return Pt;ii=1;const e=fn();function n(r,o){const E={};if(r[o+3]==="O"&&r[o+4]==="C"&&r[o+5]==="T"&&r[o+6]==="Y"&&r[o+7]==="P"&&r[o+8]==="E"){o=o+9;let _=1,h=!1,v=!1,T="";for(;o<r.length;o++)if(r[o]==="<"&&!v){if(h&&l(r,o))o+=7,[entityName,val,o]=t(r,o+1),val.indexOf("&")===-1&&(E[c(entityName)]={regx:RegExp(`&${entityName};`,"g"),val});else if(h&&a(r,o))o+=8;else if(h&&f(r,o))o+=8;else if(h&&s(r,o))o+=9;else if(i)v=!0;else throw new Error("Invalid DOCTYPE");_++,T=""}else if(r[o]===">"){if(v?r[o-1]==="-"&&r[o-2]==="-"&&(v=!1,_--):_--,_===0)break}else r[o]==="["?h=!0:T+=r[o];if(_!==0)throw new Error("Unclosed DOCTYPE")}else throw new Error("Invalid Tag instead of DOCTYPE");return{entities:E,i:o}}function t(r,o){let E="";for(;o<r.length&&r[o]!=="'"&&r[o]!=='"';o++)E+=r[o];if(E=E.trim(),E.indexOf(" ")!==-1)throw new Error("External entites are not supported");const _=r[o++];let h="";for(;o<r.length&&r[o]!==_;o++)h+=r[o];return[E,h,o]}function i(r,o){return r[o+1]==="!"&&r[o+2]==="-"&&r[o+3]==="-"}function l(r,o){return r[o+1]==="!"&&r[o+2]==="E"&&r[o+3]==="N"&&r[o+4]==="T"&&r[o+5]==="I"&&r[o+6]==="T"&&r[o+7]==="Y"}function a(r,o){return r[o+1]==="!"&&r[o+2]==="E"&&r[o+3]==="L"&&r[o+4]==="E"&&r[o+5]==="M"&&r[o+6]==="E"&&r[o+7]==="N"&&r[o+8]==="T"}function f(r,o){return r[o+1]==="!"&&r[o+2]==="A"&&r[o+3]==="T"&&r[o+4]==="T"&&r[o+5]==="L"&&r[o+6]==="I"&&r[o+7]==="S"&&r[o+8]==="T"}function s(r,o){return r[o+1]==="!"&&r[o+2]==="N"&&r[o+3]==="O"&&r[o+4]==="T"&&r[o+5]==="A"&&r[o+6]==="T"&&r[o+7]==="I"&&r[o+8]==="O"&&r[o+9]==="N"}function c(r){if(e.isName(r))return r;throw new Error(`Invalid entity name ${r}`)}return Pt=n,Pt}var $t,ri;function go(){if(ri)return $t;ri=1;const e=/^[-+]?0x[a-fA-F0-9]+$/,n=/^([\-\+])?(0*)(\.[0-9]+([eE]\-?[0-9]+)?|[0-9]+(\.[0-9]+([eE]\-?[0-9]+)?)?)$/;!Number.parseInt&&window.parseInt&&(Number.parseInt=window.parseInt),!Number.parseFloat&&window.parseFloat&&(Number.parseFloat=window.parseFloat);const t={hex:!0,leadingZeros:!0,decimalPoint:".",eNotation:!0};function i(a,f={}){if(f=Object.assign({},t,f),!a||typeof a!="string")return a;let s=a.trim();if(f.skipLike!==void 0&&f.skipLike.test(s))return a;if(f.hex&&e.test(s))return Number.parseInt(s,16);{const c=n.exec(s);if(c){const r=c[1],o=c[2];let E=l(c[3]);const _=c[4]||c[6];if(!f.leadingZeros&&o.length>0&&r&&s[2]!==".")return a;if(!f.leadingZeros&&o.length>0&&!r&&s[1]!==".")return a;{const h=Number(s),v=""+h;return v.search(/[eE]/)!==-1||_?f.eNotation?h:a:s.indexOf(".")!==-1?v==="0"&&E===""||v===E||r&&v==="-"+E?h:a:o?E===v||r+E===v?h:a:s===v||s===r+v?h:a}}else return a}}function l(a){return a&&a.indexOf(".")!==-1&&(a=a.replace(/0+$/,""),a==="."?a="0":a[0]==="."?a="0"+a:a[a.length-1]==="."&&(a=a.substr(0,a.length-1))),a}return $t=i,$t}var Zt,ai;function nr(){if(ai)return Zt;ai=1;function e(n){return typeof n=="function"?n:Array.isArray(n)?t=>{for(const i of n)if(typeof i=="string"&&t===i||i instanceof RegExp&&i.test(t))return!0}:()=>!1}return Zt=e,Zt}var Bt,si;function bo(){if(si)return Bt;si=1;const e=fn(),n=_o(),t=po(),i=go(),l=nr();class a{constructor(p){this.options=p,this.currentNode=null,this.tagsNodeStack=[],this.docTypeEntities={},this.lastEntities={apos:{regex:/&(apos|#39|#x27);/g,val:"'"},gt:{regex:/&(gt|#62|#x3E);/g,val:">"},lt:{regex:/&(lt|#60|#x3C);/g,val:"<"},quot:{regex:/&(quot|#34|#x22);/g,val:'"'}},this.ampEntity={regex:/&(amp|#38|#x26);/g,val:"&"},this.htmlEntities={space:{regex:/&(nbsp|#160);/g,val:" "},cent:{regex:/&(cent|#162);/g,val:"¢"},pound:{regex:/&(pound|#163);/g,val:"£"},yen:{regex:/&(yen|#165);/g,val:"¥"},euro:{regex:/&(euro|#8364);/g,val:"€"},copyright:{regex:/&(copy|#169);/g,val:"©"},reg:{regex:/&(reg|#174);/g,val:"®"},inr:{regex:/&(inr|#8377);/g,val:"₹"},num_dec:{regex:/&#([0-9]{1,7});/g,val:(b,A)=>String.fromCharCode(Number.parseInt(A,10))},num_hex:{regex:/&#x([0-9a-fA-F]{1,6});/g,val:(b,A)=>String.fromCharCode(Number.parseInt(A,16))}},this.addExternalEntities=f,this.parseXml=E,this.parseTextData=s,this.resolveNameSpace=c,this.buildAttributesMap=o,this.isItStopNode=T,this.replaceEntitiesValue=h,this.readStopNodeData=N,this.saveTextToParentTag=v,this.addChild=_,this.ignoreAttributesFn=l(this.options.ignoreAttributes)}}function f(u){const p=Object.keys(u);for(let b=0;b<p.length;b++){const A=p[b];this.lastEntities[A]={regex:new RegExp("&"+A+";","g"),val:u[A]}}}function s(u,p,b,A,y,m,O){if(u!==void 0&&(this.options.trimValues&&!A&&(u=u.trim()),u.length>0)){O||(u=this.replaceEntitiesValue(u));const w=this.options.tagValueProcessor(p,u,b,y,m);return w==null?u:typeof w!=typeof u||w!==u?w:this.options.trimValues?k(u,this.options.parseTagValue,this.options.numberParseOptions):u.trim()===u?k(u,this.options.parseTagValue,this.options.numberParseOptions):u}}function c(u){if(this.options.removeNSPrefix){const p=u.split(":"),b=u.charAt(0)==="/"?"/":"";if(p[0]==="xmlns")return"";p.length===2&&(u=b+p[1])}return u}const r=new RegExp(`([^\\s=]+)\\s*(=\\s*(['"])([\\s\\S]*?)\\3)?`,"gm");function o(u,p,b){if(this.options.ignoreAttributes!==!0&&typeof u=="string"){const A=e.getAllMatches(u,r),y=A.length,m={};for(let O=0;O<y;O++){const w=this.resolveNameSpace(A[O][1]);if(this.ignoreAttributesFn(w,p))continue;let x=A[O][4],S=this.options.attributeNamePrefix+w;if(w.length)if(this.options.transformAttributeName&&(S=this.options.transformAttributeName(S)),S==="__proto__"&&(S="#__proto__"),x!==void 0){this.options.trimValues&&(x=x.trim()),x=this.replaceEntitiesValue(x);const F=this.options.attributeValueProcessor(w,x,p);F==null?m[S]=x:typeof F!=typeof x||F!==x?m[S]=F:m[S]=k(x,this.options.parseAttributeValue,this.options.numberParseOptions)}else this.options.allowBooleanAttributes&&(m[S]=!0)}if(!Object.keys(m).length)return;if(this.options.attributesGroupName){const O={};return O[this.options.attributesGroupName]=m,O}return m}}const E=function(u){u=u.replace(/\r\n?/g,`
4
4
  `);const p=new n("!xml");let b=p,A="",y="";for(let m=0;m<u.length;m++)if(u[m]==="<")if(u[m+1]==="/"){const w=d(u,">",m,"Closing Tag is not closed.");let x=u.substring(m+2,w).trim();if(this.options.removeNSPrefix){const R=x.indexOf(":");R!==-1&&(x=x.substr(R+1))}this.options.transformTagName&&(x=this.options.transformTagName(x)),b&&(A=this.saveTextToParentTag(A,b,y));const S=y.substring(y.lastIndexOf(".")+1);if(x&&this.options.unpairedTags.indexOf(x)!==-1)throw new Error(`Unpaired tag can not be used as closing tag: </${x}>`);let F=0;S&&this.options.unpairedTags.indexOf(S)!==-1?(F=y.lastIndexOf(".",y.lastIndexOf(".")-1),this.tagsNodeStack.pop()):F=y.lastIndexOf("."),y=y.substring(0,F),b=this.tagsNodeStack.pop(),A="",m=w}else if(u[m+1]==="?"){let w=g(u,m,!1,"?>");if(!w)throw new Error("Pi Tag is not closed.");if(A=this.saveTextToParentTag(A,b,y),!(this.options.ignoreDeclaration&&w.tagName==="?xml"||this.options.ignorePiTags)){const x=new n(w.tagName);x.add(this.options.textNodeName,""),w.tagName!==w.tagExp&&w.attrExpPresent&&(x[":@"]=this.buildAttributesMap(w.tagExp,y,w.tagName)),this.addChild(b,x,y)}m=w.closeIndex+1}else if(u.substr(m+1,3)==="!--"){const w=d(u,"-->",m+4,"Comment is not closed.");if(this.options.commentPropName){const x=u.substring(m+4,w-2);A=this.saveTextToParentTag(A,b,y),b.add(this.options.commentPropName,[{[this.options.textNodeName]:x}])}m=w}else if(u.substr(m+1,2)==="!D"){const w=t(u,m);this.docTypeEntities=w.entities,m=w.i}else if(u.substr(m+1,2)==="!["){const w=d(u,"]]>",m,"CDATA is not closed.")-2,x=u.substring(m+9,w);A=this.saveTextToParentTag(A,b,y);let S=this.parseTextData(x,b.tagname,y,!0,!1,!0,!0);S==null&&(S=""),this.options.cdataPropName?b.add(this.options.cdataPropName,[{[this.options.textNodeName]:x}]):b.add(this.options.textNodeName,S),m=w+2}else{let w=g(u,m,this.options.removeNSPrefix),x=w.tagName;const S=w.rawTagName;let F=w.tagExp,R=w.attrExpPresent,C=w.closeIndex;this.options.transformTagName&&(x=this.options.transformTagName(x)),b&&A&&b.tagname!=="!xml"&&(A=this.saveTextToParentTag(A,b,y,!1));const Z=b;if(Z&&this.options.unpairedTags.indexOf(Z.tagname)!==-1&&(b=this.tagsNodeStack.pop(),y=y.substring(0,y.lastIndexOf("."))),x!==p.tagname&&(y+=y?"."+x:x),this.isItStopNode(this.options.stopNodes,y,x)){let M="";if(F.length>0&&F.lastIndexOf("/")===F.length-1)x[x.length-1]==="/"?(x=x.substr(0,x.length-1),y=y.substr(0,y.length-1),F=x):F=F.substr(0,F.length-1),m=w.closeIndex;else if(this.options.unpairedTags.indexOf(x)!==-1)m=w.closeIndex;else{const ee=this.readStopNodeData(u,S,C+1);if(!ee)throw new Error(`Unexpected end of ${S}`);m=ee.i,M=ee.tagContent}const q=new n(x);x!==F&&R&&(q[":@"]=this.buildAttributesMap(F,y,x)),M&&(M=this.parseTextData(M,x,y,!0,R,!0,!0)),y=y.substr(0,y.lastIndexOf(".")),q.add(this.options.textNodeName,M),this.addChild(b,q,y)}else{if(F.length>0&&F.lastIndexOf("/")===F.length-1){x[x.length-1]==="/"?(x=x.substr(0,x.length-1),y=y.substr(0,y.length-1),F=x):F=F.substr(0,F.length-1),this.options.transformTagName&&(x=this.options.transformTagName(x));const M=new n(x);x!==F&&R&&(M[":@"]=this.buildAttributesMap(F,y,x)),this.addChild(b,M,y),y=y.substr(0,y.lastIndexOf("."))}else{const M=new n(x);this.tagsNodeStack.push(b),x!==F&&R&&(M[":@"]=this.buildAttributesMap(F,y,x)),this.addChild(b,M,y),b=M}A="",m=C}}else A+=u[m];return p.child};function _(u,p,b){const A=this.options.updateTag(p.tagname,b,p[":@"]);A===!1||(typeof A=="string"&&(p.tagname=A),u.addChild(p))}const h=function(u){if(this.options.processEntities){for(let p in this.docTypeEntities){const b=this.docTypeEntities[p];u=u.replace(b.regx,b.val)}for(let p in this.lastEntities){const b=this.lastEntities[p];u=u.replace(b.regex,b.val)}if(this.options.htmlEntities)for(let p in this.htmlEntities){const b=this.htmlEntities[p];u=u.replace(b.regex,b.val)}u=u.replace(this.ampEntity.regex,this.ampEntity.val)}return u};function v(u,p,b,A){return u&&(A===void 0&&(A=Object.keys(p.child).length===0),u=this.parseTextData(u,p.tagname,b,!1,p[":@"]?Object.keys(p[":@"]).length!==0:!1,A),u!==void 0&&u!==""&&p.add(this.options.textNodeName,u),u=""),u}function T(u,p,b){const A="*."+b;for(const y in u){const m=u[y];if(A===m||p===m)return!0}return!1}function I(u,p,b=">"){let A,y="";for(let m=p;m<u.length;m++){let O=u[m];if(A)O===A&&(A="");else if(O==='"'||O==="'")A=O;else if(O===b[0])if(b[1]){if(u[m+1]===b[1])return{data:y,index:m}}else return{data:y,index:m};else O===" "&&(O=" ");y+=O}}function d(u,p,b,A){const y=u.indexOf(p,b);if(y===-1)throw new Error(A);return y+p.length-1}function g(u,p,b,A=">"){const y=I(u,p+1,A);if(!y)return;let m=y.data;const O=y.index,w=m.search(/\s/);let x=m,S=!0;w!==-1&&(x=m.substring(0,w),m=m.substring(w+1).trimStart());const F=x;if(b){const R=x.indexOf(":");R!==-1&&(x=x.substr(R+1),S=x!==y.data.substr(R+1))}return{tagName:x,tagExp:m,closeIndex:O,attrExpPresent:S,rawTagName:F}}function N(u,p,b){const A=b;let y=1;for(;b<u.length;b++)if(u[b]==="<")if(u[b+1]==="/"){const m=d(u,">",b,`${p} is not closed`);if(u.substring(b+2,m).trim()===p&&(y--,y===0))return{tagContent:u.substring(A,b),i:m};b=m}else if(u[b+1]==="?")b=d(u,"?>",b+1,"StopNode is not closed.");else if(u.substr(b+1,3)==="!--")b=d(u,"-->",b+3,"StopNode is not closed.");else if(u.substr(b+1,2)==="![")b=d(u,"]]>",b,"StopNode is not closed.")-2;else{const m=g(u,b,">");m&&((m&&m.tagName)===p&&m.tagExp[m.tagExp.length-1]!=="/"&&y++,b=m.closeIndex)}}function k(u,p,b){if(p&&typeof u=="string"){const A=u.trim();return A==="true"?!0:A==="false"?!1:i(u,b)}else return e.isExist(u)?u:""}return Bt=a,Bt}var Ut={},oi;function wo(){if(oi)return Ut;oi=1;function e(a,f){return n(a,f)}function n(a,f,s){let c;const r={};for(let o=0;o<a.length;o++){const E=a[o],_=t(E);let h="";if(s===void 0?h=_:h=s+"."+_,_===f.textNodeName)c===void 0?c=E[_]:c+=""+E[_];else{if(_===void 0)continue;if(E[_]){let v=n(E[_],f,h);const T=l(v,f);E[":@"]?i(v,E[":@"],h,f):Object.keys(v).length===1&&v[f.textNodeName]!==void 0&&!f.alwaysCreateTextNode?v=v[f.textNodeName]:Object.keys(v).length===0&&(f.alwaysCreateTextNode?v[f.textNodeName]="":v=""),r[_]!==void 0&&r.hasOwnProperty(_)?(Array.isArray(r[_])||(r[_]=[r[_]]),r[_].push(v)):f.isArray(_,h,T)?r[_]=[v]:r[_]=v}}}return typeof c=="string"?c.length>0&&(r[f.textNodeName]=c):c!==void 0&&(r[f.textNodeName]=c),r}function t(a){const f=Object.keys(a);for(let s=0;s<f.length;s++){const c=f[s];if(c!==":@")return c}}function i(a,f,s,c){if(f){const r=Object.keys(f),o=r.length;for(let E=0;E<o;E++){const _=r[E];c.isArray(_,s+"."+_,!0,!0)?a[_]=[f[_]]:a[_]=f[_]}}}function l(a,f){const{textNodeName:s}=f,c=Object.keys(a).length;return!!(c===0||c===1&&(a[s]||typeof a[s]=="boolean"||a[s]===0))}return Ut.prettify=e,Ut}var Mt,li;function yo(){if(li)return Mt;li=1;const{buildOptions:e}=ho(),n=bo(),{prettify:t}=wo(),i=tr();class l{constructor(f){this.externalEntities={},this.options=e(f)}parse(f,s){if(typeof f!="string")if(f.toString)f=f.toString();else throw new Error("XML data is accepted in String or Bytes[] form.");if(s){s===!0&&(s={});const o=i.validate(f,s);if(o!==!0)throw Error(`${o.err.msg}:${o.err.line}:${o.err.col}`)}const c=new n(this.options);c.addExternalEntities(this.externalEntities);const r=c.parseXml(f);return this.options.preserveOrder||r===void 0?r:t(r,this.options)}addEntity(f,s){if(s.indexOf("&")!==-1)throw new Error("Entity value can't have '&'");if(f.indexOf("&")!==-1||f.indexOf(";")!==-1)throw new Error("An entity must be set without '&' and ';'. Eg. use '#xD' for '&#xD;'");if(s==="&")throw new Error("An entity with value '&' is not permitted");this.externalEntities[f]=s}}return Mt=l,Mt}var jt,fi;function xo(){if(fi)return jt;fi=1;const e=`
@@ -1,4 +1,4 @@
1
- import{j as B,ak as z,T as pe,z as gt,y as ht,bc as dt,M as Ct,Q as Me,at as ce,ar as lt,bb as xt,du as Et,dv as Rt,I as yt,dw as mt,D as bt,c2 as le,aj as wt,a6 as vt}from"./vendor-mui-core-DHT36AZL.js";import{r as oe,p as Ve,g as It}from"./vendor-react-CUXIiAnY.js";import{x as St,g as Ze,u as Lt,j as Bt,e as _t,k as Tt}from"./vendor-hooks-fhL5FJET.js";import{K as Ht,R as Ot,_ as he,ag as ct}from"./vendor-ux-sqP3hEhY.js";import{ad as Nt}from"./vendor-utils-BSZ4yJws.js";import{mediaKitApi as Qt}from"./index-B8mnhcds.js";import{r as De}from"./index-BsA1v5Kx.js";import"./lottie-web-4koyQiv_.js";import"./index-lFDZOk_k.js";import"./vendor-arcblock-3xKfH3F1.js";import"./index-DRYJ0xIl.js";const ft=oe.createContext({}),pt=()=>oe.useContext(ft);function qt({children:h,restrictions:f,i18n:w,theme:R}){const[x,b]=St({loading:!1}),n=t=>b(a=>({...a,loading:t})),e=oe.useMemo(()=>({...x,onLoading:n,restrictions:f,i18n:w}),[x]);return B.jsx(Ht,{theme:R,children:B.jsx(ft.Provider,{value:e,children:h})})}const Wt="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAASwAAAEsCAYAAAB5fY51AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAskSURBVHgB7d3RcdTIGoZhcSJYMoAMIAIgAiACIALIwBCBIQIgA4jAkAEZQAYmAx+6iqnjM+vxjD3qX/qk56niYm92wYve6W790ty5+GMACPCfASCEYAExBAuIIVhADMECYggWEEOwgBiCBcQQLCCGYAExBAuIIVhADMECYggWEEOwgBiCBcQQLCCGYAExBAuIIVhADMECYggWEEOwgBiCBcQQLCCGYAExBAuIIVhADMECYggWEEOwgBiCBcQQLCCGYAExBAuIIVhADMECYggWEEOwgBiCBcQQLCCGYAExBAuIIVhADMECYggWEEOwgBiCBcQQLCCGYAExBAuIIVhADMECYggWEEOwgBiCBcQQLCCGYAExBAuIIVhADMECYggWEEOwgBiCBcQQLCCGYAExBAuIIVhADMECYggWEEOwgBiCBcQQLCCGYAExBAuIIVhADMECYggWEEOwgBiCBcQQLCCGYAExBAuIIVhADMECYghWsG/fvg137twp+/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xBAsIIZgATEEC4ghWEAMwQJiCBYQQ7CAGIIFxBAsIIZgATEEC4ghWECM/wKc/Y0zpWLfuAAAAABJRU5ErkJggg==",Mt=""+window.__toCdnUrl("assets/bedrock-yFRPpe__.png"),Zt=""+window.__toCdnUrl("assets/deepseek-C3x42pq3.png"),Dt=""+window.__toCdnUrl("assets/doubao-yPqHSkLx.png"),Gt=""+window.__toCdnUrl("assets/gemini-DffKpc81.png"),jt=""+window.__toCdnUrl("assets/google-DT1VSJ0m.png"),Vt=""+window.__toCdnUrl("assets/ideogram-REIjy0Er.png"),Ft=""+window.__toCdnUrl("assets/ollama-C7MZn2d_.png"),kt=""+window.__toCdnUrl("assets/openai-DlpqJdrb.png"),Yt="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAASwAAAEsCAYAAAB5fY51AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAA0dSURBVHgB7d1Nb1XXucDxlahAogQUUi6VSG+iQCT7CmJyS0FB5WYQRreT209wP1w7yqhpB3QSKrUgEYWQFkIlLCW4aTASxrGRbRryIqX7OXBSILzY2Od4P2v9ftIRBKkDv5x/13r23us89V2nACTwdAFIQrCANAQLSEOwgDQEC0hDsIA0BAtIQ7CANAQLSEOwgDQEC0hDsIA0BAtIQ7CANAQLSEOwgDQEC0hDsIA0BAtIQ7CANAQLSEOwgDQEC0hDsIA0BAtIQ7CANAQLSEOwgDQEC0hDsIA0BAtIQ7CANAQLSEOwgDQEC0hDsIA0BAtIQ7CANAQLSEOwgDQEC0hDsIA0BAtIQ7CANAQLSEOwgDQEC0hDsIA0BAtIQ7CANAQLSEOwgDQEC0hDsIA0BAtIQ7CANAQLSEOwgDQEC0hDsIA0BAtIQ7CANAQLSEOwgDQEC0hDsIA0BAtIQ7CANAQLSEOwgDQEC0hDsIA0BAtIQ7CANAQLSEOwqM7J9y+Wy1fmCvURLKqzvHKr/OHPfx2Ea2nly0I9flSgUpcuXx28jry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wt,bedrock:Mt,deepseek:Zt,doubao:Dt,gemini:Gt,google:jt,ideogram:Vt,ollama:Ft,openai:kt,openrouter:Yt,poe:Pt,xai:Ut},Fe={width:16,height:16,borderRadius:"2px",objectFit:"contain",backgroundColor:"transparent"};function Kt({onSubmit:h,models:f}){const{loading:w,i18n:R}=pt(),x=Ze({model:"",prompt:"",number:1}),b=()=>{const t=JSON.parse(JSON.stringify(x));Object.values(x).every(E=>!!E)&&h(t)},{run:n}=Lt(b,{wait:500}),e=oe.useMemo(()=>{const t=JSON.parse(JSON.stringify(x));return Object.values(t).some(a=>!a)},[JSON.stringify(x)]);return B.jsxs(zt,{onSubmit:t=>t.preventDefault(),children:[B.jsxs(z,{sx:{flex:1,height:"100%",overflow:"hidden",flexDirection:"column",display:"flex",mt:2,gap:2},children:[B.jsxs(z,{sx:{mx:2,display:"flex",flexDirection:"column",gap:1},children:[B.jsx(pe,{gutterBottom:!0,className:"title label",sx:{color:"text.primary"},children:R("aiImagePrompt")}),B.jsx(gt,{sx:{width:1},size:"small",type:"text",required:!0,placeholder:R("aiImagePromptTip"),multiline:!0,minRows:5,maxRows:6,value:x.prompt??"",onChange:t=>{t.stopPropagation(),x.prompt=t.target.value},slotProps:{htmlInput:{maxLength:1e3}}})]}),B.jsxs(z,{sx:{px:2,display:"flex",flexDirection:"column",gap:1},children:[B.jsx(pe,{gutterBottom:!0,className:"title label",sx:{color:"text.primary"},children:`${R("aiImageModel")}`}),B.jsx(ht,{fullWidth:!0,size:"small",children:B.jsx(dt,{sx:{width:1},value:x.model,onChange:t=>{x.number=1,x.model=t.target.value},MenuProps:{disablePortal:!0},renderValue:t=>{const a=f.find(i=>`${i.provider}/${i.model}`===t);return a?B.jsxs(z,{sx:{display:"flex",alignItems:"center",gap:1},children:[ge[a.provider]&&B.jsx(z,{component:"img",src:ge[a.provider],alt:a.provider,style:Fe}),B.jsx(pe,{variant:"body2",children:a.model})]}):t},children:f.map(t=>B.jsx(Ct,{value:`${t.provider}/${t.model}`,children:B.jsxs(z,{sx:{display:"flex",alignItems:"center",gap:1,width:"100%"},children:[ge[t.provider]&&B.jsx(z,{component:"img",src:ge[t.provider],alt:t.provider,style:Fe}),B.jsx(pe,{variant:"body2",sx:{flex:1},children:t.model})]})},`${t.provider}/${t.model}`))})})]})]}),B.jsx(Me,{sx:{m:2,transition:"all 0.3s"},className:"submit-ai",variant:"contained",onClick:n,disabled:w||e,children:R(w?"aiImageGenerating":"aiImageGenerate")},w?"loading-submit":"submit")]})}const zt=ce(z)`
1
+ import{j as B,ak as z,T as pe,z as gt,y as ht,bc as dt,M as Ct,Q as Me,at as ce,ar as lt,bb as xt,dt as Et,du as Rt,I as yt,dv as mt,D as bt,c2 as le,aj as wt,a6 as vt}from"./vendor-mui-core-BPQ6AEW_.js";import{r as oe,p as Ve,g as It}from"./vendor-react-CUXIiAnY.js";import{x as St,g as Ze,u as Lt,j as Bt,e as _t,k as Tt}from"./vendor-hooks-fhL5FJET.js";import{K as Ht,R as Ot,_ as he,ag as ct}from"./vendor-ux-D507n6h6.js";import{ad as Nt}from"./vendor-utils-BSZ4yJws.js";import{mediaKitApi as Qt}from"./index-Bns8G6yV.js";import{r as De}from"./index-BsA1v5Kx.js";import"./lottie-web-4koyQiv_.js";import"./index-CeWTwSLE.js";import"./vendor-arcblock-BL_VyzmH.js";import"./index-DRYJ0xIl.js";const ft=oe.createContext({}),pt=()=>oe.useContext(ft);function qt({children:h,restrictions:f,i18n:w,theme:R}){const[x,b]=St({loading:!1}),n=t=>b(a=>({...a,loading:t})),e=oe.useMemo(()=>({...x,onLoading:n,restrictions:f,i18n:w}),[x]);return B.jsx(Ht,{theme:R,children:B.jsx(ft.Provider,{value:e,children:h})})}const Wt="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAASwAAAEsCAYAAAB5fY51AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAskSURBVHgB7d3RcdTIGoZhcSJYMoAMIA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7CG2k+wtd4d3Fb9qI6ZrGVYfbCq33u1pkdx9qncFprJWobVB6tyqb32w/ZtlfNMZrKWYfXB8maGaVWd6ZnJWgZfVQ/EcOgOxBAsIIZgATEEC4ghWEAMwQJiCBYQQ7CAGIIFxBAsIIZgATEEC4ghWEAMwQJiCBYQQ7CAGIIFxBAsIIZgATEEC4ghWEAMwQJiCBYQQ7CAGIIFxBAsIIZgATEEC4ghWEAMwQJiCBYQQ7CAGIIFxBAsIIZgATEEC4ghWEAMwQJiCBYQQ7CAGIIFxBAsIIZgATEEC4ghWEAMwQJiCBYQQ7CAGIIFxBAsIIZgATEEC4ghWEAMwQJiCBYQQ7CAGIIFxBAsIIZgATEEC4ghWEAMwQJiCBYQQ7CAGIIFxBAsIIZgATEEC4ghWEAMwQJiCBYQQ7CAGIIFxBAsIIZgATEEC4ghWEAMwQJiCBYQQ7CAGIIFxBAsIIZgATEEC4ghWECM/wKc/Y0zpWLfuAAAAABJRU5ErkJggg==",Mt=""+window.__toCdnUrl("assets/bedrock-yFRPpe__.png"),Zt=""+window.__toCdnUrl("assets/deepseek-C3x42pq3.png"),Dt=""+window.__toCdnUrl("assets/doubao-yPqHSkLx.png"),Gt=""+window.__toCdnUrl("assets/gemini-DffKpc81.png"),jt=""+window.__toCdnUrl("assets/google-DT1VSJ0m.png"),Vt=""+window.__toCdnUrl("assets/ideogram-REIjy0Er.png"),Ft=""+window.__toCdnUrl("assets/ollama-C7MZn2d_.png"),kt=""+window.__toCdnUrl("assets/openai-DlpqJdrb.png"),Yt="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAASwAAAEsCAYAAAB5fY51AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAA0dSURBVHgB7d1Nb1XXucDxlahAogQUUi6VSG+iQCT7CmJyS0FB5WYQRreT209wP1w7yqhpB3QSKrUgEYWQFkIlLCW4aTASxrGRbRryIqX7OXBSILzY2Od4P2v9ftIRBKk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BAtIQLCANwQLSECwgDcEC0vgXkv5P8wQTb/sAAAAASUVORK5CYII=",Pt=""+window.__toCdnUrl("assets/poe-B588TgZu.png"),Ut="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAASwAAAEsCAYAAAB5fY51AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAA1dSURBVHgB7d3tbRXXFgbg8dX9T1wBoQPSQejAVBBTgXEFSSogqQBcgdMBdAAdkA6gg3O9kCwhX3POfO5Za+Z5JCdSZBIfO+f1Xnve2XN2uNMBFPCfDqAIgQWUIbCAMgQWUIbAAsoQWEAZAgsoQ2ABZQgsoAyBBZQhsIAyBBZQhsACyhBYQBkCCyhDYAFlCCygDIEFlCGwgDIEFlCGwALKEFhAGQILKENgAWUILKAMgQWUIbCAMgQWUIbAAsoQWEAZAgsoQ2ABZQgsoAyBBZQhsIAyBBZQhsACyhBYQBkCCyhDYAFlCCygDIEFlCGwgDIEFlCGwALKEFhAGQILKENgAWUILKAMgQWUIbCAMgQWUIbAAsoQWEAZAgsoQ2ABZQgsoAyBBZQhsIAyBBZQhsACyhBYQBkCCyhDYAFlCCygDIEFlCGw2J1///23e/bsWXd2drb6x6tXrzr6Ozvc6WBHXrx40X348KFb288//9y9f//+29/pxwqLXfnzzz9ThFV48+aNsBrICovduB8FM7i6uur++uuvjmEEFrsRYRWhtbZYVX3+/LljOCMhuxCjYIawCrFvxTgCi82LPas//vijy+D333+3bzWBkZBNi1VVXBXMsLp6/vx59/Hjx47xrLDYtCyj4E8//dTd3t52TCOw2Kx37959+8hAhWEeRkI2KdMoeHl52b19+7ZjOoHFJmmzb5ORkM3J1GY/dVUwS9WiCissNqVam/3ly5c24wcQWGxKpjZ7VBji6uCP/P33393r1687b8H+jIRsRrY2+7Gwiq8zwophBBabUK3NHhcFGE5gUV6sVrIchBdBdSo4v18Juno4jMCivExt9lM3Nn/69CnNSrAigUVpmdrsp0bBr1+/frsqyHgCi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ANtLc2+1jZWvBGw20QWAPstc0+VqYWfJxNRn0Ca4C9ttnHynSDdLTgs5z+GlwlHOfscKcDKMAKCyhDYAFlCCygDIEFlCGwgDIEFlCGwALKEFhAGQILKENgAWUILKAMgQWUIbCAMgQWUIbAAsoQWEAZAgsoQ2ABZQgsoAyBBZQhsIAyBBZQhsACyhBYQBkCCyhDYAFlCCygDIEFlCGwgDIEFlCGwALKEFhAGQILKENgAWUILKAMgQWUIbCAMgQWUIbAAsoQWEAZAgsoQ2ABZQgsoAyBBZQhsIAyBBZQhsACyhBYQBkCCyhDYAFlCCygDIEFlCGwgDIEFlCGwALKEFhAGQILKENgAWUILKAMgQWUIbCAMgQWUIbAAsoQWEAZAgsoQ2ABZQgsoIz/AWP7oZ6cDDZCAAAAAElFTkSuQmCC",ge={anthropic:Wt,bedrock:Mt,deepseek:Zt,doubao:Dt,gemini:Gt,google:jt,ideogram:Vt,ollama:Ft,openai:kt,openrouter:Yt,poe:Pt,xai:Ut},Fe={width:16,height:16,borderRadius:"2px",objectFit:"contain",backgroundColor:"transparent"};function Kt({onSubmit:h,models:f}){const{loading:w,i18n:R}=pt(),x=Ze({model:"",prompt:"",number:1}),b=()=>{const t=JSON.parse(JSON.stringify(x));Object.values(x).every(E=>!!E)&&h(t)},{run:n}=Lt(b,{wait:500}),e=oe.useMemo(()=>{const t=JSON.parse(JSON.stringify(x));return Object.values(t).some(a=>!a)},[JSON.stringify(x)]);return B.jsxs(zt,{onSubmit:t=>t.preventDefault(),children:[B.jsxs(z,{sx:{flex:1,height:"100%",overflow:"hidden",flexDirection:"column",display:"flex",mt:2,gap:2},children:[B.jsxs(z,{sx:{mx:2,display:"flex",flexDirection:"column",gap:1},children:[B.jsx(pe,{gutterBottom:!0,className:"title label",sx:{color:"text.primary"},children:R("aiImagePrompt")}),B.jsx(gt,{sx:{width:1},size:"small",type:"text",required:!0,placeholder:R("aiImagePromptTip"),multiline:!0,minRows:5,maxRows:6,value:x.prompt??"",onChange:t=>{t.stopPropagation(),x.prompt=t.target.value},slotProps:{htmlInput:{maxLength:1e3}}})]}),B.jsxs(z,{sx:{px:2,display:"flex",flexDirection:"column",gap:1},children:[B.jsx(pe,{gutterBottom:!0,className:"title label",sx:{color:"text.primary"},children:`${R("aiImageModel")}`}),B.jsx(ht,{fullWidth:!0,size:"small",children:B.jsx(dt,{sx:{width:1},value:x.model,onChange:t=>{x.number=1,x.model=t.target.value},MenuProps:{disablePortal:!0},renderValue:t=>{const a=f.find(i=>`${i.provider}/${i.model}`===t);return a?B.jsxs(z,{sx:{display:"flex",alignItems:"center",gap:1},children:[ge[a.provider]&&B.jsx(z,{component:"img",src:ge[a.provider],alt:a.provider,style:Fe}),B.jsx(pe,{variant:"body2",children:a.model})]}):t},children:f.map(t=>B.jsx(Ct,{value:`${t.provider}/${t.model}`,children:B.jsxs(z,{sx:{display:"flex",alignItems:"center",gap:1,width:"100%"},children:[ge[t.provider]&&B.jsx(z,{component:"img",src:ge[t.provider],alt:t.provider,style:Fe}),B.jsx(pe,{variant:"body2",sx:{flex:1},children:t.model})]})},`${t.provider}/${t.model}`))})})]})]}),B.jsx(Me,{sx:{m:2,transition:"all 0.3s"},className:"submit-ai",variant:"contained",onClick:n,disabled:w||e,children:R(w?"aiImageGenerating":"aiImageGenerate")},w?"loading-submit":"submit")]})}const zt=ce(z)`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  height: 100%;
@@ -1,4 +1,4 @@
1
- import{r}from"./vendor-react-CUXIiAnY.js";import{j as i,cd as N,at as g,W as t,ak as _,b0 as S,a6 as E,s as z}from"./vendor-mui-core-DHT36AZL.js";import{g as Z,h as $,b as y,k as T}from"./vendor-hooks-fhL5FJET.js";import{a1 as A,R as D,c as U,aT as q,aU as L,aV as H,t as F}from"./index-lFDZOk_k.js";import{p as O,b as W,n as B,V as w,$ as Y}from"./vendor-ux-sqP3hEhY.js";import{N as J}from"./index-CgTWMV4T.js";import{C as K}from"./vendor-utils-BSZ4yJws.js";import{u as X}from"./use-passport-id-B-b-_oYF.js";import{u as G}from"./session-DR7jqIW5.js";import{b as Q}from"./sdk-DAuiCSLy.js";import{w as e2}from"./wrap-locale-CFMie_Pc.js";function b({invitation:e,createPassportSvg:o,passportColor:c="auto"}){const[d,n]=r.useState(!1),{t:p}=r.useContext(O),s=r.useMemo(()=>(e.role.title||e.role.name).toUpperCase(),[e.role.title,e.role.name]),C=r.useMemo(()=>o({title:s,issuer:e.info.name,issuerDid:e.info.appDid,ownerName:"Your Name",ownerDid:e.info.appDid,preferredColor:e.info.passportColor||c,extra:e.passportExpireTime?{key:"Exp",value:A(e.passportExpireTime).format("YYYY-MM-DD HH:mm:ss")}:void 0}),[e,s]),m=r.useCallback(()=>{n(!0)},[]),a=r.useCallback(()=>{n(!1)},[]);return i.jsxs(i.Fragment,{children:[i.jsx(i2,{children:i.jsxs("div",{className:"invite-passport__card",onClick:m,children:[!!e.display&&i.jsx(J,{data:e.display,style:{width:"100%",height:"100%"}}),!e.display&&i.jsx("div",{className:"invite-passport__cover",dangerouslySetInnerHTML:{__html:C}})]})}),i.jsx(W,{open:d,title:p("invite.viewPermission"),PaperProps:{style:{minHeight:"auto",paddingBottom:"20px"}},onClose:a,children:e.role.permissions&&e.role.permissions.length>0?i.jsx("ul",{style:{listStyle:"circle",padding:"0 20px"},children:e.role.permissions.map(u=>i.jsx("li",{style:{listStyle:"circle"},children:u.description},u.name))}):i.jsxs("div",{style:{color:"#999",textAlign:"center"},children:[i.jsx(N,{style:{width:"30px",height:"30px"}}),i.jsx("div",{children:p("invite.emptyPermission")})]})})]})}b.propTypes={invitation:t.object.isRequired,createPassportSvg:t.func.isRequired,passportColor:t.string};const i2=g.div`
1
+ import{r}from"./vendor-react-CUXIiAnY.js";import{j as i,cd as N,at as g,W as t,ak as _,b0 as S,a6 as E,s as z}from"./vendor-mui-core-BPQ6AEW_.js";import{g as Z,h as $,b as y,k as T}from"./vendor-hooks-fhL5FJET.js";import{a1 as A,R as D,c as U,aT as q,aU as L,aV as H,t as F}from"./index-CeWTwSLE.js";import{p as O,b as W,n as B,V as w,$ as Y}from"./vendor-ux-D507n6h6.js";import{N as J}from"./index-ohq48KFN.js";import{C as K}from"./vendor-utils-BSZ4yJws.js";import{u as X}from"./use-passport-id-B-b-_oYF.js";import{u as G}from"./session-CJQ7HeL8.js";import{b as Q}from"./sdk-D9qYMy_G.js";import{w as e2}from"./wrap-locale-CPp4ppiN.js";function b({invitation:e,createPassportSvg:o,passportColor:c="auto"}){const[d,n]=r.useState(!1),{t:p}=r.useContext(O),s=r.useMemo(()=>(e.role.title||e.role.name).toUpperCase(),[e.role.title,e.role.name]),C=r.useMemo(()=>o({title:s,issuer:e.info.name,issuerDid:e.info.appDid,ownerName:"Your Name",ownerDid:e.info.appDid,preferredColor:e.info.passportColor||c,extra:e.passportExpireTime?{key:"Exp",value:A(e.passportExpireTime).format("YYYY-MM-DD HH:mm:ss")}:void 0}),[e,s]),m=r.useCallback(()=>{n(!0)},[]),a=r.useCallback(()=>{n(!1)},[]);return i.jsxs(i.Fragment,{children:[i.jsx(i2,{children:i.jsxs("div",{className:"invite-passport__card",onClick:m,children:[!!e.display&&i.jsx(J,{data:e.display,style:{width:"100%",height:"100%"}}),!e.display&&i.jsx("div",{className:"invite-passport__cover",dangerouslySetInnerHTML:{__html:C}})]})}),i.jsx(W,{open:d,title:p("invite.viewPermission"),PaperProps:{style:{minHeight:"auto",paddingBottom:"20px"}},onClose:a,children:e.role.permissions&&e.role.permissions.length>0?i.jsx("ul",{style:{listStyle:"circle",padding:"0 20px"},children:e.role.permissions.map(u=>i.jsx("li",{style:{listStyle:"circle"},children:u.description},u.name))}):i.jsxs("div",{style:{color:"#999",textAlign:"center"},children:[i.jsx(N,{style:{width:"30px",height:"30px"}}),i.jsx("div",{children:p("invite.emptyPermission")})]})})]})}b.propTypes={invitation:t.object.isRequired,createPassportSvg:t.func.isRequired,passportColor:t.string};const i2=g.div`
2
2
  display: flex;
3
3
  max-width: 350px;
4
4
  margin: 30px auto;
@@ -1,3 +1,3 @@
1
- import{r}from"./vendor-react-CUXIiAnY.js";import{j as o,a6 as b,am as D,ak as w,bb as L,at as H,W as x}from"./vendor-mui-core-DHT36AZL.js";import{p as S,n as T,h as Y,i as z}from"./vendor-ux-sqP3hEhY.js";import{_ as M,a1 as N,B as P,a2 as E,a3 as W}from"./index-lFDZOk_k.js";import{n as _}from"./vendor-utils-BSZ4yJws.js";import{u as A}from"./team-KWOyNaWn.js";import{C as K}from"./confirm-Dge1BR0a.js";import{P as q}from"./permission-B3_OQqtH.js";import{C as F}from"./click-to-copy-DZ_4RDjR.js";function G({invitations:a=[],onRefresh:v=_}){const{api:C,inService:d}=M(),{t,locale:y}=r.useContext(S),{teamDid:h,invitations:f,refresh:g,endpoint:l,roles:j}=A(),[i,m]=r.useState(null),[I,c]=r.useState(!1),s=r.useMemo(()=>a.length>0?a:f,[a,f]),k=async({inviteId:e})=>{if(!I){c(!0);try{await C.deleteInvitation({input:{teamDid:h,inviteId:e}}),g(),v?.(),await E(800)}catch(n){console.error(n)}finally{c(!1),m(null)}}},R=()=>{c(!1),m(null)},p=e=>l?W({inviteId:e.inviteId,endpoint:l}):"",B=[{label:t("team.inviting.link"),name:"inviteId",options:{sort:!1,customBodyRenderLite:e=>{const n=s[e];return l?o.jsx(F,{children:p(n)}):o.jsx(b,{size:16})}}},{label:t("common.role"),name:"role",widtn:70,options:{sort:!1,customBodyRender:e=>{const n=j.find(u=>u.name===e);return n?.title?o.jsx(D,{title:e,children:n.title}):e||"--"}}},{label:t("common.remark"),name:"remark",options:{sort:!1,customBodyRender:e=>e||"--"}},{label:t("team.inviting.inviter"),name:"inviter.fullName",options:{sort:!1,customBodyRender:(e,{rowIndex:n})=>s[n]?.inviter?.fullName}},{label:t("common.expires"),name:"expireDate",options:{sort:!1,customBodyRender:e=>o.jsx(w,{children:N(e).format("YYYY-MM-DD HH:mm")})}},{label:t("common.actions"),name:"",width:100,align:"center",options:{sort:!1,customBodyRenderLite:e=>{const n=s[e];return o.jsx(q,{permission:d?"":"mutate_team",role:d?P:[],children:o.jsxs(T,{onClick:()=>m({title:t("team.inviting.delete.title"),description:t("team.inviting.delete.description",{link:p(n)}),confirm:t("common.delConfirm"),cancel:t("common.cancel"),onConfirm:()=>k(n),onCancel:R}),size:"small",color:"error",variant:"text",children:[o.jsx(L,{style:{fontSize:"1.2em"}}),t("common.delete")]})})}}}];return o.jsxs(J,{children:[s.length?o.jsx(Y,{locale:y,data:[...s],columns:B,verticalKeyWidth:100,options:{download:!1,filter:!1,print:!1,search:!1,viewColumns:!1}}):o.jsx(z,{sx:{minHeight:200},children:t("common.empty")}),i&&o.jsx(K,{title:i.title,description:i.description,confirm:i.confirm,cancel:i.cancel,params:i.params,onConfirm:i.onConfirm,onCancel:i.onCancel})]})}G.propTypes={invitations:x.array,onRefresh:x.func};const J=H.div`
1
+ import{r}from"./vendor-react-CUXIiAnY.js";import{j as o,a6 as b,am as D,ak as w,bb as L,at as H,W as x}from"./vendor-mui-core-BPQ6AEW_.js";import{p as S,n as T,h as Y,i as z}from"./vendor-ux-D507n6h6.js";import{_ as M,a1 as N,B as P,a2 as E,a3 as W}from"./index-CeWTwSLE.js";import{n as _}from"./vendor-utils-BSZ4yJws.js";import{u as A}from"./team-CKeHAIQC.js";import{C as K}from"./confirm-CC1M9sYT.js";import{P as q}from"./permission-CiiVpApl.js";import{C as F}from"./click-to-copy-CAd3nEo4.js";function G({invitations:a=[],onRefresh:v=_}){const{api:C,inService:d}=M(),{t,locale:y}=r.useContext(S),{teamDid:h,invitations:f,refresh:g,endpoint:l,roles:j}=A(),[i,m]=r.useState(null),[I,c]=r.useState(!1),s=r.useMemo(()=>a.length>0?a:f,[a,f]),k=async({inviteId:e})=>{if(!I){c(!0);try{await C.deleteInvitation({input:{teamDid:h,inviteId:e}}),g(),v?.(),await E(800)}catch(n){console.error(n)}finally{c(!1),m(null)}}},R=()=>{c(!1),m(null)},p=e=>l?W({inviteId:e.inviteId,endpoint:l}):"",B=[{label:t("team.inviting.link"),name:"inviteId",options:{sort:!1,customBodyRenderLite:e=>{const n=s[e];return l?o.jsx(F,{children:p(n)}):o.jsx(b,{size:16})}}},{label:t("common.role"),name:"role",widtn:70,options:{sort:!1,customBodyRender:e=>{const n=j.find(u=>u.name===e);return n?.title?o.jsx(D,{title:e,children:n.title}):e||"--"}}},{label:t("common.remark"),name:"remark",options:{sort:!1,customBodyRender:e=>e||"--"}},{label:t("team.inviting.inviter"),name:"inviter.fullName",options:{sort:!1,customBodyRender:(e,{rowIndex:n})=>s[n]?.inviter?.fullName}},{label:t("common.expires"),name:"expireDate",options:{sort:!1,customBodyRender:e=>o.jsx(w,{children:N(e).format("YYYY-MM-DD HH:mm")})}},{label:t("common.actions"),name:"",width:100,align:"center",options:{sort:!1,customBodyRenderLite:e=>{const n=s[e];return o.jsx(q,{permission:d?"":"mutate_team",role:d?P:[],children:o.jsxs(T,{onClick:()=>m({title:t("team.inviting.delete.title"),description:t("team.inviting.delete.description",{link:p(n)}),confirm:t("common.delConfirm"),cancel:t("common.cancel"),onConfirm:()=>k(n),onCancel:R}),size:"small",color:"error",variant:"text",children:[o.jsx(L,{style:{fontSize:"1.2em"}}),t("common.delete")]})})}}}];return o.jsxs(J,{children:[s.length?o.jsx(Y,{locale:y,data:[...s],columns:B,verticalKeyWidth:100,options:{download:!1,filter:!1,print:!1,search:!1,viewColumns:!1}}):o.jsx(z,{sx:{minHeight:200},children:t("common.empty")}),i&&o.jsx(K,{title:i.title,description:i.description,confirm:i.confirm,cancel:i.cancel,params:i.params,onConfirm:i.onConfirm,onCancel:i.onCancel})]})}G.propTypes={invitations:x.array,onRefresh:x.func};const J=H.div`
2
2
  margin-top: -20px;
3
3
  `;export{G as I};
@@ -1 +1 @@
1
- import{j as e,ak as l}from"./vendor-mui-core-DHT36AZL.js";import{i as x,r as w}from"./vendor-react-CUXIiAnY.js";import{b as g}from"./vendor-hooks-fhL5FJET.js";import{I as v}from"./invitation-LJOuA09f.js";import{K as u}from"./landing-page-Djj9jDve.js";import{V as I,y as k}from"./vendor-ux-sqP3hEhY.js";import{a as S,d as E,s as T,b as j,c as P,H as R}from"./index-lFDZOk_k.js";import{g as W}from"./get-safe-url-CxrqaBih.js";import{c as b}from"./passport-DHiNUeVn.js";import"./vendor-utils-BSZ4yJws.js";import"./index-CgTWMV4T.js";import"./use-passport-id-B-b-_oYF.js";import"./session-DR7jqIW5.js";import"./sdk-DAuiCSLy.js";import"./wrap-locale-CFMie_Pc.js";import"./index-88gdbkao.js";import"./lottie-web-4koyQiv_.js";import"./vendor-arcblock-3xKfH3F1.js";import"./create-passport-svg-BZVXsAoP.js";function J(n){const c=x(),{searchParams:s}=new URL(window.location.href),{api:m,session:p}=S(),{t:d}=I(),r=s.get("inviteId"),a=s.get("redirect"),f=w.useCallback(async()=>{const{data:t}=await E.get("invitation",{params:{inviteId:r}});return t},[r]),h=g(async(t,o=i=>i)=>{t&&(T(o(t.sessionToken)),j(o(t.refreshToken)),t.visitorId&&k(o(t.visitorId))),await p.refresh(),setTimeout(()=>{if(a){const i=decodeURIComponent(a);i.startsWith(P.WELLKNOWN_SERVICE_PATH_PREFIX)?c(i,{replace:!0}):window.location.href=W(i)}else window.location.href=window.env.pathPrefix||"/"},50)});return e.jsxs(u,{did:window.blocklet?.appPid,children:[e.jsx(R,{children:e.jsxs("title",{children:[d("pageTitle.invite")," | ",window.blocklet?.appName]})}),e.jsx(l,{sx:{width:"560px",maxWidth:"100%",height:"100%"},className:"page-invite",children:e.jsx(v,{...n,getDataFn:f,checkFn:m.get,createPassportSvg:t=>b({...t}),onLoginSuccess:h,inService:!0})})]})}export{J as default};
1
+ import{j as e,ak as l}from"./vendor-mui-core-BPQ6AEW_.js";import{i as x,r as w}from"./vendor-react-CUXIiAnY.js";import{b as g}from"./vendor-hooks-fhL5FJET.js";import{I as v}from"./invitation-BqyhoSaQ.js";import{K as u}from"./landing-page-DQBBERn_.js";import{V as I,y as k}from"./vendor-ux-D507n6h6.js";import{a as S,d as E,s as T,b as j,c as P,H as R}from"./index-CeWTwSLE.js";import{g as W}from"./get-safe-url-DUB5fSqh.js";import{c as b}from"./passport-DMZiwbhL.js";import"./vendor-utils-BSZ4yJws.js";import"./index-ohq48KFN.js";import"./use-passport-id-B-b-_oYF.js";import"./session-CJQ7HeL8.js";import"./sdk-D9qYMy_G.js";import"./wrap-locale-CPp4ppiN.js";import"./index-Duwa2sz8.js";import"./lottie-web-4koyQiv_.js";import"./vendor-arcblock-BL_VyzmH.js";import"./create-passport-svg-BLBQxsEK.js";function J(n){const c=x(),{searchParams:s}=new URL(window.location.href),{api:m,session:p}=S(),{t:d}=I(),r=s.get("inviteId"),a=s.get("redirect"),f=w.useCallback(async()=>{const{data:t}=await E.get("invitation",{params:{inviteId:r}});return t},[r]),h=g(async(t,o=i=>i)=>{t&&(T(o(t.sessionToken)),j(o(t.refreshToken)),t.visitorId&&k(o(t.visitorId))),await p.refresh(),setTimeout(()=>{if(a){const i=decodeURIComponent(a);i.startsWith(P.WELLKNOWN_SERVICE_PATH_PREFIX)?c(i,{replace:!0}):window.location.href=W(i)}else window.location.href=window.env.pathPrefix||"/"},50)});return e.jsxs(u,{did:window.blocklet?.appPid,children:[e.jsx(R,{children:e.jsxs("title",{children:[d("pageTitle.invite")," | ",window.blocklet?.appName]})}),e.jsx(l,{sx:{width:"560px",maxWidth:"100%",height:"100%"},className:"page-invite",children:e.jsx(v,{...n,getDataFn:f,checkFn:m.get,createPassportSvg:t=>b({...t}),onLoginSuccess:h,inService:!0})})]})}export{J as default};
@@ -1,2 +1,2 @@
1
- import{g as P}from"./vendor-react-CUXIiAnY.js";import{aK as E,aL as F,aM as H,aN as N,aO as $}from"./index-lFDZOk_k.js";var h={exports:{}},p={exports:{}},I;function Q(){return I||(I=1,function(c,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var v=function(d,y){return d.indexOf(y)!==-1};n.default=v,c.exports=n.default,c.exports.default=n.default}(p,p.exports)),p.exports}var A;function K(){return A||(A=1,function(c,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=T;var v=o(E()),g=o(H()),d=o(Q()),y=o($()),w=o(N()),S=o(F());function o(e){return e&&e.__esModule?e:{default:e}}function L(e,r){return U(e)||O(e,r)||j(e,r)||R()}function R(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
1
+ import{g as P}from"./vendor-react-CUXIiAnY.js";import{aK as E,aL as F,aM as H,aN as N,aO as $}from"./index-CeWTwSLE.js";var h={exports:{}},p={exports:{}},I;function Q(){return I||(I=1,function(c,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var v=function(d,y){return d.indexOf(y)!==-1};n.default=v,c.exports=n.default,c.exports.default=n.default}(p,p.exports)),p.exports}var A;function K(){return A||(A=1,function(c,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=T;var v=o(E()),g=o(H()),d=o(Q()),y=o($()),w=o(N()),S=o(F());function o(e){return e&&e.__esModule?e:{default:e}}function L(e,r){return U(e)||O(e,r)||j(e,r)||R()}function R(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
2
2
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function j(e,r){if(e){if(typeof e=="string")return b(e,r);var l={}.toString.call(e).slice(8,-1);return l==="Object"&&e.constructor&&(l=e.constructor.name),l==="Map"||l==="Set"?Array.from(e):l==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(l)?b(e,r):void 0}}function b(e,r){(r==null||r>e.length)&&(r=e.length);for(var l=0,u=Array(r);l<r;l++)u[l]=e[l];return u}function O(e,r){var l=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(l!=null){var u,a,_,s,i=[],t=!0,f=!1;try{if(_=(l=l.call(e)).next,r!==0)for(;!(t=(u=_.call(l)).done)&&(i.push(u.value),i.length!==r);t=!0);}catch(m){f=!0,a=m}finally{try{if(!t&&l.return!=null&&(s=l.return(),Object(s)!==s))return}finally{if(f)throw a}}return i}}function U(e){if(Array.isArray(e))return e}var M={protocols:["http","https","ftp"],require_tld:!0,require_protocol:!1,require_host:!0,require_port:!1,require_valid_protocol:!0,allow_underscores:!1,allow_trailing_dot:!1,allow_protocol_relative_urls:!1,allow_fragments:!0,allow_query_components:!0,validate_length:!0,max_allowed_length:2084},k=/^\[([^\]]+)\](?::([0-9]+))?$/;function T(e,r){if((0,v.default)(e),!e||/[\s<>]/.test(e)||e.indexOf("mailto:")===0||(r=(0,S.default)(r,M),r.validate_length&&e.length>r.max_allowed_length)||!r.allow_fragments&&(0,d.default)(e,"#")||!r.allow_query_components&&((0,d.default)(e,"?")||(0,d.default)(e,"&")))return!1;var l,u,a,_,s,i,t,f;if(t=e.split("#"),e=t.shift(),t=e.split("?"),e=t.shift(),t=e.split("://"),t.length>1){if(l=t.shift().toLowerCase(),r.require_valid_protocol&&r.protocols.indexOf(l)===-1)return!1}else{if(r.require_protocol)return!1;if(e.slice(0,2)==="//"){if(!r.allow_protocol_relative_urls)return!1;t[0]=e.slice(2)}}if(e=t.join("://"),e==="")return!1;if(t=e.split("/"),e=t.shift(),e===""&&!r.require_host)return!0;if(t=e.split("@"),t.length>1){if(r.disallow_auth||t[0]===""||(u=t.shift(),u.indexOf(":")>=0&&u.split(":").length>2))return!1;var m=u.split(":"),x=L(m,2),C=x[0],D=x[1];if(C===""&&D==="")return!1}_=t.join("@"),i=null,f=null;var q=_.match(k);if(q?(a="",f=q[1],i=q[2]||null):(t=_.split(":"),a=t.shift(),t.length&&(i=t.join(":"))),i!==null&&i.length>0){if(s=parseInt(i,10),!/^[0-9]+$/.test(i)||s<=0||s>65535)return!1}else if(r.require_port)return!1;return r.host_whitelist?(0,g.default)(a,r.host_whitelist):a===""&&!r.require_host?!0:!(!(0,w.default)(a)&&!(0,y.default)(a,r)&&(!f||!(0,w.default)(f,6))||(a=a||f,r.host_blacklist&&(0,g.default)(a,r.host_blacklist)))}c.exports=n.default,c.exports.default=n.default}(h,h.exports)),h.exports}var W=K();const G=P(W);export{G as i};
@@ -1 +1 @@
1
- import{j as s,a6 as w,ak as x}from"./vendor-mui-core-DHT36AZL.js";import{g as v,k,b as p}from"./vendor-hooks-fhL5FJET.js";import{I as T}from"./invitation-LJOuA09f.js";import{K as I}from"./landing-page-Djj9jDve.js";import{V as P,y as j}from"./vendor-ux-sqP3hEhY.js";import{a as R,s as S,b as E,c as N,H as W}from"./index-lFDZOk_k.js";import{g as b}from"./get-safe-url-CxrqaBih.js";import{c as C}from"./passport-DHiNUeVn.js";import{i as F}from"./vendor-react-CUXIiAnY.js";import"./vendor-utils-BSZ4yJws.js";import"./index-CgTWMV4T.js";import"./use-passport-id-B-b-_oYF.js";import"./session-DR7jqIW5.js";import"./sdk-DAuiCSLy.js";import"./wrap-locale-CFMie_Pc.js";import"./index-88gdbkao.js";import"./lottie-web-4koyQiv_.js";import"./vendor-arcblock-3xKfH3F1.js";import"./create-passport-svg-BZVXsAoP.js";function Z(m){const{searchParams:r}=new URL(window.location.href),{api:a,session:f}=R(),d=F(),{t:h}=P(),n=r.get("id"),c=r.get("redirect"),u=v({state:""}),o=k(async()=>{if(!n)return null;const{data:t}=await a.get("/api/invitation",{params:{inviteId:n,mode:"issue-passport"}});return t}),l=p(()=>{if(o.error)throw o.error;return o?.data}),g=p(async(t,i=e=>e)=>{t&&(t.sessionToken&&S(i(t.sessionToken)),t.refreshToken&&E(i(t.refreshToken)),t.visitorId&&j(i(t.visitorId)),await f.refresh()),setTimeout(()=>{if(c){const e=decodeURIComponent(c);e.startsWith(N.WELLKNOWN_SERVICE_PATH_PREFIX)?d(e,{replace:!0}):window.location.href=b(e)}else window.location.href=window.env.pathPrefix||"/"},50)});return o.loading?s.jsx(w,{}):s.jsxs(I,{did:window.blocklet?.appPid,children:[s.jsx(W,{children:s.jsxs("title",{children:[h("pageTitle.issuePassport")," | ",window.blocklet?.appName]})}),s.jsx(x,{className:"page-invite",sx:{width:"560px",maxWidth:"100%",height:"100%"},children:s.jsx(T,{...m,action:"issue-passport",getDataFn:l,checkFn:a.get,createPassportSvg:C,onLoginSuccess:g,inService:!0,status:u.state})})]})}export{Z as default};
1
+ import{j as s,a6 as w,ak as x}from"./vendor-mui-core-BPQ6AEW_.js";import{g as v,k,b as p}from"./vendor-hooks-fhL5FJET.js";import{I as T}from"./invitation-BqyhoSaQ.js";import{K as I}from"./landing-page-DQBBERn_.js";import{V as P,y as j}from"./vendor-ux-D507n6h6.js";import{a as R,s as S,b as E,c as N,H as W}from"./index-CeWTwSLE.js";import{g as b}from"./get-safe-url-DUB5fSqh.js";import{c as C}from"./passport-DMZiwbhL.js";import{i as F}from"./vendor-react-CUXIiAnY.js";import"./vendor-utils-BSZ4yJws.js";import"./index-ohq48KFN.js";import"./use-passport-id-B-b-_oYF.js";import"./session-CJQ7HeL8.js";import"./sdk-D9qYMy_G.js";import"./wrap-locale-CPp4ppiN.js";import"./index-Duwa2sz8.js";import"./lottie-web-4koyQiv_.js";import"./vendor-arcblock-BL_VyzmH.js";import"./create-passport-svg-BLBQxsEK.js";function Z(m){const{searchParams:r}=new URL(window.location.href),{api:a,session:f}=R(),d=F(),{t:h}=P(),n=r.get("id"),c=r.get("redirect"),u=v({state:""}),o=k(async()=>{if(!n)return null;const{data:t}=await a.get("/api/invitation",{params:{inviteId:n,mode:"issue-passport"}});return t}),l=p(()=>{if(o.error)throw o.error;return o?.data}),g=p(async(t,i=e=>e)=>{t&&(t.sessionToken&&S(i(t.sessionToken)),t.refreshToken&&E(i(t.refreshToken)),t.visitorId&&j(i(t.visitorId)),await f.refresh()),setTimeout(()=>{if(c){const e=decodeURIComponent(c);e.startsWith(N.WELLKNOWN_SERVICE_PATH_PREFIX)?d(e,{replace:!0}):window.location.href=b(e)}else window.location.href=window.env.pathPrefix||"/"},50)});return o.loading?s.jsx(w,{}):s.jsxs(I,{did:window.blocklet?.appPid,children:[s.jsx(W,{children:s.jsxs("title",{children:[h("pageTitle.issuePassport")," | ",window.blocklet?.appName]})}),s.jsx(x,{className:"page-invite",sx:{width:"560px",maxWidth:"100%",height:"100%"},children:s.jsx(T,{...m,action:"issue-passport",getDataFn:l,checkFn:a.get,createPassportSvg:C,onLoginSuccess:g,inService:!0,status:u.state})})]})}export{Z as default};