@volter/twin-clerk 0.1.0

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 (321) hide show
  1. package/LICENSE +202 -0
  2. package/README.md +102 -0
  3. package/client/clerk-js-dist/167_clerk.headless_b86dff_5.127.2.js +1 -0
  4. package/client/clerk-js-dist/2172_clerk.browser_0cc2cc_5.127.2.js +1 -0
  5. package/client/clerk-js-dist/2172_clerk.legacy.browser_6070dd_5.127.2.js +1 -0
  6. package/client/clerk-js-dist/368_clerk.headless_b86dff_5.127.2.js +3 -0
  7. package/client/clerk-js-dist/377_clerk.headless_b86dff_5.127.2.js +1 -0
  8. package/client/clerk-js-dist/4170_clerk.browser_0cc2cc_5.127.2.js +1 -0
  9. package/client/clerk-js-dist/4170_clerk.legacy.browser_6070dd_5.127.2.js +1 -0
  10. package/client/clerk-js-dist/437_clerk.headless_b86dff_5.127.2.js +1 -0
  11. package/client/clerk-js-dist/5192_clerk.browser_0cc2cc_5.127.2.js +1 -0
  12. package/client/clerk-js-dist/5192_clerk.legacy.browser_6070dd_5.127.2.js +1 -0
  13. package/client/clerk-js-dist/553_clerk.headless_b86dff_5.127.2.js +1 -0
  14. package/client/clerk-js-dist/5645_clerk.browser_0cc2cc_5.127.2.js +1 -0
  15. package/client/clerk-js-dist/5645_clerk.legacy.browser_6070dd_5.127.2.js +1 -0
  16. package/client/clerk-js-dist/623_clerk.headless_b86dff_5.127.2.js +42 -0
  17. package/client/clerk-js-dist/7067_clerk.browser_0cc2cc_5.127.2.js +1 -0
  18. package/client/clerk-js-dist/7067_clerk.legacy.browser_6070dd_5.127.2.js +1 -0
  19. package/client/clerk-js-dist/7502_clerk.browser_0cc2cc_5.127.2.js +1 -0
  20. package/client/clerk-js-dist/7502_clerk.legacy.browser_6070dd_5.127.2.js +1 -0
  21. package/client/clerk-js-dist/785_clerk.headless.browser_540199_5.127.2.js +1 -0
  22. package/client/clerk-js-dist/785_clerk.headless_b86dff_5.127.2.js +1 -0
  23. package/client/clerk-js-dist/8043_clerk.legacy.browser_6070dd_5.127.2.js +1 -0
  24. package/client/clerk-js-dist/825_clerk.headless.browser_540199_5.127.2.js +1 -0
  25. package/client/clerk-js-dist/825_clerk.headless_b86dff_5.127.2.js +1 -0
  26. package/client/clerk-js-dist/890_clerk.headless_b86dff_5.127.2.js +2 -0
  27. package/client/clerk-js-dist/901_clerk.headless.browser_540199_5.127.2.js +1 -0
  28. package/client/clerk-js-dist/apiKeys_clerk.browser_0cc2cc_5.127.2.js +1 -0
  29. package/client/clerk-js-dist/apiKeys_clerk.legacy.browser_6070dd_5.127.2.js +1 -0
  30. package/client/clerk-js-dist/base-account-sdk_clerk.browser_0cc2cc_5.127.2.js +42 -0
  31. package/client/clerk-js-dist/base-account-sdk_clerk.headless.browser_540199_5.127.2.js +42 -0
  32. package/client/clerk-js-dist/base-account-sdk_clerk.legacy.browser_6070dd_5.127.2.js +1 -0
  33. package/client/clerk-js-dist/blankcaptcha_clerk.browser_0cc2cc_5.127.2.js +1 -0
  34. package/client/clerk-js-dist/blankcaptcha_clerk.legacy.browser_6070dd_5.127.2.js +1 -0
  35. package/client/clerk-js-dist/checkout_clerk.browser_0cc2cc_5.127.2.js +9 -0
  36. package/client/clerk-js-dist/checkout_clerk.legacy.browser_6070dd_5.127.2.js +1 -0
  37. package/client/clerk-js-dist/clerk.browser.js +19 -0
  38. package/client/clerk-js-dist/clerk.headless.browser.js +19 -0
  39. package/client/clerk-js-dist/clerk.headless.js +19 -0
  40. package/client/clerk-js-dist/clerk.js +809 -0
  41. package/client/clerk-js-dist/clerk.legacy.browser.js +1 -0
  42. package/client/clerk-js-dist/clerk.no-rhc.js +766 -0
  43. package/client/clerk-js-dist/coinbase-wallet-sdk_clerk.browser_0cc2cc_5.127.2.js +3 -0
  44. package/client/clerk-js-dist/coinbase-wallet-sdk_clerk.headless.browser_540199_5.127.2.js +3 -0
  45. package/client/clerk-js-dist/coinbase-wallet-sdk_clerk.legacy.browser_6070dd_5.127.2.js +1 -0
  46. package/client/clerk-js-dist/cookieSuffix_clerk.browser_0cc2cc_5.127.2.js +1 -0
  47. package/client/clerk-js-dist/cookieSuffix_clerk.headless.browser_540199_5.127.2.js +1 -0
  48. package/client/clerk-js-dist/cookieSuffix_clerk.headless_b86dff_5.127.2.js +1 -0
  49. package/client/clerk-js-dist/cookieSuffix_clerk.legacy.browser_6070dd_5.127.2.js +1 -0
  50. package/client/clerk-js-dist/copy-api-key-modal_clerk.browser_0cc2cc_5.127.2.js +1 -0
  51. package/client/clerk-js-dist/copy-api-key-modal_clerk.legacy.browser_6070dd_5.127.2.js +1 -0
  52. package/client/clerk-js-dist/createorganization_clerk.browser_0cc2cc_5.127.2.js +1 -0
  53. package/client/clerk-js-dist/createorganization_clerk.legacy.browser_6070dd_5.127.2.js +1 -0
  54. package/client/clerk-js-dist/enableOrganizationsPrompt_clerk.browser_0cc2cc_5.127.2.js +247 -0
  55. package/client/clerk-js-dist/enableOrganizationsPrompt_clerk.legacy.browser_6070dd_5.127.2.js +1 -0
  56. package/client/clerk-js-dist/framework_clerk.browser_0cc2cc_5.127.2.js +1 -0
  57. package/client/clerk-js-dist/framework_clerk.legacy.browser_6070dd_5.127.2.js +1 -0
  58. package/client/clerk-js-dist/impersonationfab_clerk.browser_0cc2cc_5.127.2.js +1 -0
  59. package/client/clerk-js-dist/impersonationfab_clerk.legacy.browser_6070dd_5.127.2.js +1 -0
  60. package/client/clerk-js-dist/keylessPrompt_clerk.browser_0cc2cc_5.127.2.js +228 -0
  61. package/client/clerk-js-dist/keylessPrompt_clerk.legacy.browser_6070dd_5.127.2.js +1 -0
  62. package/client/clerk-js-dist/oauthConsent_clerk.browser_0cc2cc_5.127.2.js +1 -0
  63. package/client/clerk-js-dist/oauthConsent_clerk.legacy.browser_6070dd_5.127.2.js +1 -0
  64. package/client/clerk-js-dist/onetap_clerk.browser_0cc2cc_5.127.2.js +1 -0
  65. package/client/clerk-js-dist/onetap_clerk.legacy.browser_6070dd_5.127.2.js +1 -0
  66. package/client/clerk-js-dist/op-api-keys-page_clerk.browser_0cc2cc_5.127.2.js +1 -0
  67. package/client/clerk-js-dist/op-api-keys-page_clerk.legacy.browser_6070dd_5.127.2.js +1 -0
  68. package/client/clerk-js-dist/op-billing-page_clerk.browser_0cc2cc_5.127.2.js +1 -0
  69. package/client/clerk-js-dist/op-billing-page_clerk.legacy.browser_6070dd_5.127.2.js +1 -0
  70. package/client/clerk-js-dist/op-plans-page_clerk.browser_0cc2cc_5.127.2.js +1 -0
  71. package/client/clerk-js-dist/op-plans-page_clerk.legacy.browser_6070dd_5.127.2.js +1 -0
  72. package/client/clerk-js-dist/organizationlist_clerk.browser_0cc2cc_5.127.2.js +1 -0
  73. package/client/clerk-js-dist/organizationlist_clerk.legacy.browser_6070dd_5.127.2.js +1 -0
  74. package/client/clerk-js-dist/organizationprofile_clerk.browser_0cc2cc_5.127.2.js +1 -0
  75. package/client/clerk-js-dist/organizationprofile_clerk.legacy.browser_6070dd_5.127.2.js +1 -0
  76. package/client/clerk-js-dist/organizationswitcher_clerk.browser_0cc2cc_5.127.2.js +1 -0
  77. package/client/clerk-js-dist/organizationswitcher_clerk.legacy.browser_6070dd_5.127.2.js +1 -0
  78. package/client/clerk-js-dist/payment-attempt-page_clerk.browser_0cc2cc_5.127.2.js +1 -0
  79. package/client/clerk-js-dist/payment-attempt-page_clerk.legacy.browser_6070dd_5.127.2.js +1 -0
  80. package/client/clerk-js-dist/planDetails_clerk.browser_0cc2cc_5.127.2.js +1 -0
  81. package/client/clerk-js-dist/planDetails_clerk.legacy.browser_6070dd_5.127.2.js +1 -0
  82. package/client/clerk-js-dist/prefetchorganizationlist_clerk.browser_0cc2cc_5.127.2.js +1 -0
  83. package/client/clerk-js-dist/prefetchorganizationlist_clerk.legacy.browser_6070dd_5.127.2.js +1 -0
  84. package/client/clerk-js-dist/pricingTable_clerk.browser_0cc2cc_5.127.2.js +1 -0
  85. package/client/clerk-js-dist/pricingTable_clerk.legacy.browser_6070dd_5.127.2.js +1 -0
  86. package/client/clerk-js-dist/query-core-vendors_clerk.browser_0cc2cc_5.127.2.js +1 -0
  87. package/client/clerk-js-dist/query-core-vendors_clerk.headless.browser_540199_5.127.2.js +1 -0
  88. package/client/clerk-js-dist/query-core-vendors_clerk.legacy.browser_6070dd_5.127.2.js +1 -0
  89. package/client/clerk-js-dist/revoke-api-key-modal_clerk.browser_0cc2cc_5.127.2.js +1 -0
  90. package/client/clerk-js-dist/revoke-api-key-modal_clerk.legacy.browser_6070dd_5.127.2.js +1 -0
  91. package/client/clerk-js-dist/sessionTasks_clerk.browser_0cc2cc_5.127.2.js +1 -0
  92. package/client/clerk-js-dist/sessionTasks_clerk.legacy.browser_6070dd_5.127.2.js +1 -0
  93. package/client/clerk-js-dist/signin_clerk.browser_0cc2cc_5.127.2.js +1 -0
  94. package/client/clerk-js-dist/signin_clerk.legacy.browser_6070dd_5.127.2.js +1 -0
  95. package/client/clerk-js-dist/signup_clerk.browser_0cc2cc_5.127.2.js +1 -0
  96. package/client/clerk-js-dist/signup_clerk.legacy.browser_6070dd_5.127.2.js +1 -0
  97. package/client/clerk-js-dist/statement-page_clerk.browser_0cc2cc_5.127.2.js +1 -0
  98. package/client/clerk-js-dist/statement-page_clerk.legacy.browser_6070dd_5.127.2.js +1 -0
  99. package/client/clerk-js-dist/stripe-vendors_clerk.browser_0cc2cc_5.127.2.js +1 -0
  100. package/client/clerk-js-dist/stripe-vendors_clerk.headless.browser_540199_5.127.2.js +1 -0
  101. package/client/clerk-js-dist/stripe-vendors_clerk.legacy.browser_6070dd_5.127.2.js +1 -0
  102. package/client/clerk-js-dist/subscriptionDetails_clerk.browser_0cc2cc_5.127.2.js +1 -0
  103. package/client/clerk-js-dist/subscriptionDetails_clerk.legacy.browser_6070dd_5.127.2.js +1 -0
  104. package/client/clerk-js-dist/taskChooseOrganization_clerk.browser_0cc2cc_5.127.2.js +1 -0
  105. package/client/clerk-js-dist/taskChooseOrganization_clerk.legacy.browser_6070dd_5.127.2.js +1 -0
  106. package/client/clerk-js-dist/taskResetPassword_clerk.browser_0cc2cc_5.127.2.js +1 -0
  107. package/client/clerk-js-dist/taskResetPassword_clerk.legacy.browser_6070dd_5.127.2.js +1 -0
  108. package/client/clerk-js-dist/taskSetupMFA_clerk.browser_0cc2cc_5.127.2.js +4 -0
  109. package/client/clerk-js-dist/taskSetupMFA_clerk.legacy.browser_6070dd_5.127.2.js +1 -0
  110. package/client/clerk-js-dist/ui-common_clerk.browser_0cc2cc_5.127.2.js +124 -0
  111. package/client/clerk-js-dist/ui-common_clerk.legacy.browser_6070dd_5.127.2.js +1 -0
  112. package/client/clerk-js-dist/up-api-keys-page_clerk.browser_0cc2cc_5.127.2.js +1 -0
  113. package/client/clerk-js-dist/up-api-keys-page_clerk.legacy.browser_6070dd_5.127.2.js +1 -0
  114. package/client/clerk-js-dist/up-billing-page_clerk.browser_0cc2cc_5.127.2.js +1 -0
  115. package/client/clerk-js-dist/up-billing-page_clerk.legacy.browser_6070dd_5.127.2.js +1 -0
  116. package/client/clerk-js-dist/up-plans-page_clerk.browser_0cc2cc_5.127.2.js +1 -0
  117. package/client/clerk-js-dist/up-plans-page_clerk.legacy.browser_6070dd_5.127.2.js +1 -0
  118. package/client/clerk-js-dist/useravatar_clerk.browser_0cc2cc_5.127.2.js +1 -0
  119. package/client/clerk-js-dist/useravatar_clerk.legacy.browser_6070dd_5.127.2.js +1 -0
  120. package/client/clerk-js-dist/userbutton_clerk.browser_0cc2cc_5.127.2.js +1 -0
  121. package/client/clerk-js-dist/userbutton_clerk.legacy.browser_6070dd_5.127.2.js +1 -0
  122. package/client/clerk-js-dist/userprofile_clerk.browser_0cc2cc_5.127.2.js +4 -0
  123. package/client/clerk-js-dist/userprofile_clerk.legacy.browser_6070dd_5.127.2.js +1 -0
  124. package/client/clerk-js-dist/userverification_clerk.browser_0cc2cc_5.127.2.js +1 -0
  125. package/client/clerk-js-dist/userverification_clerk.legacy.browser_6070dd_5.127.2.js +1 -0
  126. package/client/clerk-js-dist/vendors_clerk.browser_0cc2cc_5.127.2.js +20 -0
  127. package/client/clerk-js-dist/vendors_clerk.headless.browser_540199_5.127.2.js +1 -0
  128. package/client/clerk-js-dist/vendors_clerk.legacy.browser_6070dd_5.127.2.js +1 -0
  129. package/client/clerk-js-dist/waitlist_clerk.browser_0cc2cc_5.127.2.js +1 -0
  130. package/client/clerk-js-dist/waitlist_clerk.legacy.browser_6070dd_5.127.2.js +1 -0
  131. package/client/clerk-js-dist/web3-solana-wallet-buttons_clerk.browser_0cc2cc_5.127.2.js +143 -0
  132. package/client/clerk-js-dist/web3-solana-wallet-buttons_clerk.legacy.browser_6070dd_5.127.2.js +1 -0
  133. package/client/clerk-js-dist/zxcvbn-common_clerk.browser_0cc2cc_5.127.2.js +1 -0
  134. package/client/clerk-js-dist/zxcvbn-common_clerk.headless.browser_540199_5.127.2.js +1 -0
  135. package/client/clerk-js-dist/zxcvbn-common_clerk.legacy.browser_6070dd_5.127.2.js +1 -0
  136. package/client/clerk-js-dist/zxcvbn-ts-core_clerk.browser_0cc2cc_5.127.2.js +2 -0
  137. package/client/clerk-js-dist/zxcvbn-ts-core_clerk.headless.browser_540199_5.127.2.js +2 -0
  138. package/client/clerk-js-dist/zxcvbn-ts-core_clerk.legacy.browser_6070dd_5.127.2.js +1 -0
  139. package/client/clerk-mirror.css +72 -0
  140. package/client/clerk-mirror.tsx +204 -0
  141. package/client/clerk.browser.js +19 -0
  142. package/dist/client/clerk-js-dist/167_clerk.headless_b86dff_5.127.2.js +1 -0
  143. package/dist/client/clerk-js-dist/2172_clerk.browser_0cc2cc_5.127.2.js +1 -0
  144. package/dist/client/clerk-js-dist/2172_clerk.legacy.browser_6070dd_5.127.2.js +1 -0
  145. package/dist/client/clerk-js-dist/368_clerk.headless_b86dff_5.127.2.js +3 -0
  146. package/dist/client/clerk-js-dist/377_clerk.headless_b86dff_5.127.2.js +1 -0
  147. package/dist/client/clerk-js-dist/4170_clerk.browser_0cc2cc_5.127.2.js +1 -0
  148. package/dist/client/clerk-js-dist/4170_clerk.legacy.browser_6070dd_5.127.2.js +1 -0
  149. package/dist/client/clerk-js-dist/437_clerk.headless_b86dff_5.127.2.js +1 -0
  150. package/dist/client/clerk-js-dist/5192_clerk.browser_0cc2cc_5.127.2.js +1 -0
  151. package/dist/client/clerk-js-dist/5192_clerk.legacy.browser_6070dd_5.127.2.js +1 -0
  152. package/dist/client/clerk-js-dist/553_clerk.headless_b86dff_5.127.2.js +1 -0
  153. package/dist/client/clerk-js-dist/5645_clerk.browser_0cc2cc_5.127.2.js +1 -0
  154. package/dist/client/clerk-js-dist/5645_clerk.legacy.browser_6070dd_5.127.2.js +1 -0
  155. package/dist/client/clerk-js-dist/623_clerk.headless_b86dff_5.127.2.js +42 -0
  156. package/dist/client/clerk-js-dist/7067_clerk.browser_0cc2cc_5.127.2.js +1 -0
  157. package/dist/client/clerk-js-dist/7067_clerk.legacy.browser_6070dd_5.127.2.js +1 -0
  158. package/dist/client/clerk-js-dist/7502_clerk.browser_0cc2cc_5.127.2.js +1 -0
  159. package/dist/client/clerk-js-dist/7502_clerk.legacy.browser_6070dd_5.127.2.js +1 -0
  160. package/dist/client/clerk-js-dist/785_clerk.headless.browser_540199_5.127.2.js +1 -0
  161. package/dist/client/clerk-js-dist/785_clerk.headless_b86dff_5.127.2.js +1 -0
  162. package/dist/client/clerk-js-dist/8043_clerk.legacy.browser_6070dd_5.127.2.js +1 -0
  163. package/dist/client/clerk-js-dist/825_clerk.headless.browser_540199_5.127.2.js +1 -0
  164. package/dist/client/clerk-js-dist/825_clerk.headless_b86dff_5.127.2.js +1 -0
  165. package/dist/client/clerk-js-dist/890_clerk.headless_b86dff_5.127.2.js +2 -0
  166. package/dist/client/clerk-js-dist/901_clerk.headless.browser_540199_5.127.2.js +1 -0
  167. package/dist/client/clerk-js-dist/apiKeys_clerk.browser_0cc2cc_5.127.2.js +1 -0
  168. package/dist/client/clerk-js-dist/apiKeys_clerk.legacy.browser_6070dd_5.127.2.js +1 -0
  169. package/dist/client/clerk-js-dist/base-account-sdk_clerk.browser_0cc2cc_5.127.2.js +42 -0
  170. package/dist/client/clerk-js-dist/base-account-sdk_clerk.headless.browser_540199_5.127.2.js +42 -0
  171. package/dist/client/clerk-js-dist/base-account-sdk_clerk.legacy.browser_6070dd_5.127.2.js +1 -0
  172. package/dist/client/clerk-js-dist/blankcaptcha_clerk.browser_0cc2cc_5.127.2.js +1 -0
  173. package/dist/client/clerk-js-dist/blankcaptcha_clerk.legacy.browser_6070dd_5.127.2.js +1 -0
  174. package/dist/client/clerk-js-dist/checkout_clerk.browser_0cc2cc_5.127.2.js +9 -0
  175. package/dist/client/clerk-js-dist/checkout_clerk.legacy.browser_6070dd_5.127.2.js +1 -0
  176. package/dist/client/clerk-js-dist/clerk.browser.js +19 -0
  177. package/dist/client/clerk-js-dist/clerk.headless.browser.js +19 -0
  178. package/dist/client/clerk-js-dist/clerk.headless.js +19 -0
  179. package/dist/client/clerk-js-dist/clerk.js +809 -0
  180. package/dist/client/clerk-js-dist/clerk.legacy.browser.js +1 -0
  181. package/dist/client/clerk-js-dist/clerk.no-rhc.js +766 -0
  182. package/dist/client/clerk-js-dist/coinbase-wallet-sdk_clerk.browser_0cc2cc_5.127.2.js +3 -0
  183. package/dist/client/clerk-js-dist/coinbase-wallet-sdk_clerk.headless.browser_540199_5.127.2.js +3 -0
  184. package/dist/client/clerk-js-dist/coinbase-wallet-sdk_clerk.legacy.browser_6070dd_5.127.2.js +1 -0
  185. package/dist/client/clerk-js-dist/cookieSuffix_clerk.browser_0cc2cc_5.127.2.js +1 -0
  186. package/dist/client/clerk-js-dist/cookieSuffix_clerk.headless.browser_540199_5.127.2.js +1 -0
  187. package/dist/client/clerk-js-dist/cookieSuffix_clerk.headless_b86dff_5.127.2.js +1 -0
  188. package/dist/client/clerk-js-dist/cookieSuffix_clerk.legacy.browser_6070dd_5.127.2.js +1 -0
  189. package/dist/client/clerk-js-dist/copy-api-key-modal_clerk.browser_0cc2cc_5.127.2.js +1 -0
  190. package/dist/client/clerk-js-dist/copy-api-key-modal_clerk.legacy.browser_6070dd_5.127.2.js +1 -0
  191. package/dist/client/clerk-js-dist/createorganization_clerk.browser_0cc2cc_5.127.2.js +1 -0
  192. package/dist/client/clerk-js-dist/createorganization_clerk.legacy.browser_6070dd_5.127.2.js +1 -0
  193. package/dist/client/clerk-js-dist/enableOrganizationsPrompt_clerk.browser_0cc2cc_5.127.2.js +247 -0
  194. package/dist/client/clerk-js-dist/enableOrganizationsPrompt_clerk.legacy.browser_6070dd_5.127.2.js +1 -0
  195. package/dist/client/clerk-js-dist/framework_clerk.browser_0cc2cc_5.127.2.js +1 -0
  196. package/dist/client/clerk-js-dist/framework_clerk.legacy.browser_6070dd_5.127.2.js +1 -0
  197. package/dist/client/clerk-js-dist/impersonationfab_clerk.browser_0cc2cc_5.127.2.js +1 -0
  198. package/dist/client/clerk-js-dist/impersonationfab_clerk.legacy.browser_6070dd_5.127.2.js +1 -0
  199. package/dist/client/clerk-js-dist/keylessPrompt_clerk.browser_0cc2cc_5.127.2.js +228 -0
  200. package/dist/client/clerk-js-dist/keylessPrompt_clerk.legacy.browser_6070dd_5.127.2.js +1 -0
  201. package/dist/client/clerk-js-dist/oauthConsent_clerk.browser_0cc2cc_5.127.2.js +1 -0
  202. package/dist/client/clerk-js-dist/oauthConsent_clerk.legacy.browser_6070dd_5.127.2.js +1 -0
  203. package/dist/client/clerk-js-dist/onetap_clerk.browser_0cc2cc_5.127.2.js +1 -0
  204. package/dist/client/clerk-js-dist/onetap_clerk.legacy.browser_6070dd_5.127.2.js +1 -0
  205. package/dist/client/clerk-js-dist/op-api-keys-page_clerk.browser_0cc2cc_5.127.2.js +1 -0
  206. package/dist/client/clerk-js-dist/op-api-keys-page_clerk.legacy.browser_6070dd_5.127.2.js +1 -0
  207. package/dist/client/clerk-js-dist/op-billing-page_clerk.browser_0cc2cc_5.127.2.js +1 -0
  208. package/dist/client/clerk-js-dist/op-billing-page_clerk.legacy.browser_6070dd_5.127.2.js +1 -0
  209. package/dist/client/clerk-js-dist/op-plans-page_clerk.browser_0cc2cc_5.127.2.js +1 -0
  210. package/dist/client/clerk-js-dist/op-plans-page_clerk.legacy.browser_6070dd_5.127.2.js +1 -0
  211. package/dist/client/clerk-js-dist/organizationlist_clerk.browser_0cc2cc_5.127.2.js +1 -0
  212. package/dist/client/clerk-js-dist/organizationlist_clerk.legacy.browser_6070dd_5.127.2.js +1 -0
  213. package/dist/client/clerk-js-dist/organizationprofile_clerk.browser_0cc2cc_5.127.2.js +1 -0
  214. package/dist/client/clerk-js-dist/organizationprofile_clerk.legacy.browser_6070dd_5.127.2.js +1 -0
  215. package/dist/client/clerk-js-dist/organizationswitcher_clerk.browser_0cc2cc_5.127.2.js +1 -0
  216. package/dist/client/clerk-js-dist/organizationswitcher_clerk.legacy.browser_6070dd_5.127.2.js +1 -0
  217. package/dist/client/clerk-js-dist/payment-attempt-page_clerk.browser_0cc2cc_5.127.2.js +1 -0
  218. package/dist/client/clerk-js-dist/payment-attempt-page_clerk.legacy.browser_6070dd_5.127.2.js +1 -0
  219. package/dist/client/clerk-js-dist/planDetails_clerk.browser_0cc2cc_5.127.2.js +1 -0
  220. package/dist/client/clerk-js-dist/planDetails_clerk.legacy.browser_6070dd_5.127.2.js +1 -0
  221. package/dist/client/clerk-js-dist/prefetchorganizationlist_clerk.browser_0cc2cc_5.127.2.js +1 -0
  222. package/dist/client/clerk-js-dist/prefetchorganizationlist_clerk.legacy.browser_6070dd_5.127.2.js +1 -0
  223. package/dist/client/clerk-js-dist/pricingTable_clerk.browser_0cc2cc_5.127.2.js +1 -0
  224. package/dist/client/clerk-js-dist/pricingTable_clerk.legacy.browser_6070dd_5.127.2.js +1 -0
  225. package/dist/client/clerk-js-dist/query-core-vendors_clerk.browser_0cc2cc_5.127.2.js +1 -0
  226. package/dist/client/clerk-js-dist/query-core-vendors_clerk.headless.browser_540199_5.127.2.js +1 -0
  227. package/dist/client/clerk-js-dist/query-core-vendors_clerk.legacy.browser_6070dd_5.127.2.js +1 -0
  228. package/dist/client/clerk-js-dist/revoke-api-key-modal_clerk.browser_0cc2cc_5.127.2.js +1 -0
  229. package/dist/client/clerk-js-dist/revoke-api-key-modal_clerk.legacy.browser_6070dd_5.127.2.js +1 -0
  230. package/dist/client/clerk-js-dist/sessionTasks_clerk.browser_0cc2cc_5.127.2.js +1 -0
  231. package/dist/client/clerk-js-dist/sessionTasks_clerk.legacy.browser_6070dd_5.127.2.js +1 -0
  232. package/dist/client/clerk-js-dist/signin_clerk.browser_0cc2cc_5.127.2.js +1 -0
  233. package/dist/client/clerk-js-dist/signin_clerk.legacy.browser_6070dd_5.127.2.js +1 -0
  234. package/dist/client/clerk-js-dist/signup_clerk.browser_0cc2cc_5.127.2.js +1 -0
  235. package/dist/client/clerk-js-dist/signup_clerk.legacy.browser_6070dd_5.127.2.js +1 -0
  236. package/dist/client/clerk-js-dist/statement-page_clerk.browser_0cc2cc_5.127.2.js +1 -0
  237. package/dist/client/clerk-js-dist/statement-page_clerk.legacy.browser_6070dd_5.127.2.js +1 -0
  238. package/dist/client/clerk-js-dist/stripe-vendors_clerk.browser_0cc2cc_5.127.2.js +1 -0
  239. package/dist/client/clerk-js-dist/stripe-vendors_clerk.headless.browser_540199_5.127.2.js +1 -0
  240. package/dist/client/clerk-js-dist/stripe-vendors_clerk.legacy.browser_6070dd_5.127.2.js +1 -0
  241. package/dist/client/clerk-js-dist/subscriptionDetails_clerk.browser_0cc2cc_5.127.2.js +1 -0
  242. package/dist/client/clerk-js-dist/subscriptionDetails_clerk.legacy.browser_6070dd_5.127.2.js +1 -0
  243. package/dist/client/clerk-js-dist/taskChooseOrganization_clerk.browser_0cc2cc_5.127.2.js +1 -0
  244. package/dist/client/clerk-js-dist/taskChooseOrganization_clerk.legacy.browser_6070dd_5.127.2.js +1 -0
  245. package/dist/client/clerk-js-dist/taskResetPassword_clerk.browser_0cc2cc_5.127.2.js +1 -0
  246. package/dist/client/clerk-js-dist/taskResetPassword_clerk.legacy.browser_6070dd_5.127.2.js +1 -0
  247. package/dist/client/clerk-js-dist/taskSetupMFA_clerk.browser_0cc2cc_5.127.2.js +4 -0
  248. package/dist/client/clerk-js-dist/taskSetupMFA_clerk.legacy.browser_6070dd_5.127.2.js +1 -0
  249. package/dist/client/clerk-js-dist/ui-common_clerk.browser_0cc2cc_5.127.2.js +124 -0
  250. package/dist/client/clerk-js-dist/ui-common_clerk.legacy.browser_6070dd_5.127.2.js +1 -0
  251. package/dist/client/clerk-js-dist/up-api-keys-page_clerk.browser_0cc2cc_5.127.2.js +1 -0
  252. package/dist/client/clerk-js-dist/up-api-keys-page_clerk.legacy.browser_6070dd_5.127.2.js +1 -0
  253. package/dist/client/clerk-js-dist/up-billing-page_clerk.browser_0cc2cc_5.127.2.js +1 -0
  254. package/dist/client/clerk-js-dist/up-billing-page_clerk.legacy.browser_6070dd_5.127.2.js +1 -0
  255. package/dist/client/clerk-js-dist/up-plans-page_clerk.browser_0cc2cc_5.127.2.js +1 -0
  256. package/dist/client/clerk-js-dist/up-plans-page_clerk.legacy.browser_6070dd_5.127.2.js +1 -0
  257. package/dist/client/clerk-js-dist/useravatar_clerk.browser_0cc2cc_5.127.2.js +1 -0
  258. package/dist/client/clerk-js-dist/useravatar_clerk.legacy.browser_6070dd_5.127.2.js +1 -0
  259. package/dist/client/clerk-js-dist/userbutton_clerk.browser_0cc2cc_5.127.2.js +1 -0
  260. package/dist/client/clerk-js-dist/userbutton_clerk.legacy.browser_6070dd_5.127.2.js +1 -0
  261. package/dist/client/clerk-js-dist/userprofile_clerk.browser_0cc2cc_5.127.2.js +4 -0
  262. package/dist/client/clerk-js-dist/userprofile_clerk.legacy.browser_6070dd_5.127.2.js +1 -0
  263. package/dist/client/clerk-js-dist/userverification_clerk.browser_0cc2cc_5.127.2.js +1 -0
  264. package/dist/client/clerk-js-dist/userverification_clerk.legacy.browser_6070dd_5.127.2.js +1 -0
  265. package/dist/client/clerk-js-dist/vendors_clerk.browser_0cc2cc_5.127.2.js +20 -0
  266. package/dist/client/clerk-js-dist/vendors_clerk.headless.browser_540199_5.127.2.js +1 -0
  267. package/dist/client/clerk-js-dist/vendors_clerk.legacy.browser_6070dd_5.127.2.js +1 -0
  268. package/dist/client/clerk-js-dist/waitlist_clerk.browser_0cc2cc_5.127.2.js +1 -0
  269. package/dist/client/clerk-js-dist/waitlist_clerk.legacy.browser_6070dd_5.127.2.js +1 -0
  270. package/dist/client/clerk-js-dist/web3-solana-wallet-buttons_clerk.browser_0cc2cc_5.127.2.js +143 -0
  271. package/dist/client/clerk-js-dist/web3-solana-wallet-buttons_clerk.legacy.browser_6070dd_5.127.2.js +1 -0
  272. package/dist/client/clerk-js-dist/zxcvbn-common_clerk.browser_0cc2cc_5.127.2.js +1 -0
  273. package/dist/client/clerk-js-dist/zxcvbn-common_clerk.headless.browser_540199_5.127.2.js +1 -0
  274. package/dist/client/clerk-js-dist/zxcvbn-common_clerk.legacy.browser_6070dd_5.127.2.js +1 -0
  275. package/dist/client/clerk-js-dist/zxcvbn-ts-core_clerk.browser_0cc2cc_5.127.2.js +2 -0
  276. package/dist/client/clerk-js-dist/zxcvbn-ts-core_clerk.headless.browser_540199_5.127.2.js +2 -0
  277. package/dist/client/clerk-js-dist/zxcvbn-ts-core_clerk.legacy.browser_6070dd_5.127.2.js +1 -0
  278. package/dist/client/clerk-mirror.bundle.js +321 -0
  279. package/dist/client/clerk-mirror.css +72 -0
  280. package/dist/client/clerk-mirror.d.ts +33 -0
  281. package/dist/client/clerk-mirror.js +143 -0
  282. package/dist/client/clerk-mirror.tsx +204 -0
  283. package/dist/client/clerk.browser.js +19 -0
  284. package/dist/src/clerk-capabilities.d.ts +4 -0
  285. package/dist/src/clerk-capabilities.js +1132 -0
  286. package/dist/src/clerk-conformance.d.ts +32 -0
  287. package/dist/src/clerk-conformance.js +158 -0
  288. package/dist/src/clerk-connector.d.ts +170 -0
  289. package/dist/src/clerk-connector.js +223 -0
  290. package/dist/src/clerk-events.d.ts +55 -0
  291. package/dist/src/clerk-events.js +146 -0
  292. package/dist/src/clerk-fapi.d.ts +19 -0
  293. package/dist/src/clerk-fapi.js +665 -0
  294. package/dist/src/clerk-jwt.d.ts +109 -0
  295. package/dist/src/clerk-jwt.js +230 -0
  296. package/dist/src/clerk-mirror-ui.d.ts +34 -0
  297. package/dist/src/clerk-mirror-ui.js +160 -0
  298. package/dist/src/clerk-server.d.ts +35 -0
  299. package/dist/src/clerk-server.js +172 -0
  300. package/dist/src/clerk-twin.d.ts +28 -0
  301. package/dist/src/clerk-twin.js +1658 -0
  302. package/dist/src/cli.d.ts +2 -0
  303. package/dist/src/cli.js +35 -0
  304. package/dist/src/index.d.ts +12 -0
  305. package/dist/src/index.js +56 -0
  306. package/dist/test-fixtures/clerk-openapi-operations.SOURCE.md +16 -0
  307. package/dist/test-fixtures/clerk-openapi-operations.json +1989 -0
  308. package/package.json +76 -0
  309. package/src/clerk-capabilities.ts +1246 -0
  310. package/src/clerk-conformance.ts +172 -0
  311. package/src/clerk-connector.ts +268 -0
  312. package/src/clerk-events.ts +166 -0
  313. package/src/clerk-fapi.ts +673 -0
  314. package/src/clerk-jwt.ts +256 -0
  315. package/src/clerk-mirror-ui.ts +165 -0
  316. package/src/clerk-server.ts +175 -0
  317. package/src/clerk-twin.ts +1580 -0
  318. package/src/cli.ts +33 -0
  319. package/src/index.ts +94 -0
  320. package/test-fixtures/clerk-openapi-operations.SOURCE.md +16 -0
  321. package/test-fixtures/clerk-openapi-operations.json +1989 -0
@@ -0,0 +1,321 @@
1
+ var Tx=Object.create;var{getPrototypeOf:Cx,defineProperty:mG,getOwnPropertyNames:PR,getOwnPropertyDescriptor:Px}=Object,_R=Object.prototype.hasOwnProperty;function ER(X){return this[X]}var _x,Ex,w1=(X,J,Y)=>{var V=X!=null&&typeof X==="object";if(V){var I=J?_x??=new WeakMap:Ex??=new WeakMap,O=I.get(X);if(O)return O}Y=X!=null?Tx(Cx(X)):{};let Z=J||!X||!X.__esModule?mG(Y,"default",{value:X,enumerable:!0}):Y;for(let L of PR(X))if(!_R.call(Z,L))mG(Z,L,{get:ER.bind(X,L),enumerable:!0});if(V)I.set(X,Z);return Z},j$=(X)=>{var J=(CR??=new WeakMap).get(X),Y;if(J)return J;if(J=mG({},"__esModule",{value:!0}),X&&typeof X==="object"||typeof X==="function"){for(var V of PR(X))if(!_R.call(J,V))mG(J,V,{get:ER.bind(X,V),enumerable:!(Y=Px(X,V))||Y.enumerable})}return CR.set(X,J),J},CR,YX=(X,J)=>()=>(J||X((J={exports:{}}).exports,J),J.exports);var Rx=(X)=>X;function Sx(X,J){this[X]=Rx.bind(null,J)}var g6=(X,J)=>{for(var Y in J)mG(X,Y,{get:J[Y],enumerable:!0,configurable:!0,set:Sx.bind(J,Y)})};var LQ=(X,J)=>()=>(X&&(J=X(X=0)),J);var jx=((X)=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(X,{get:(J,Y)=>(typeof require<"u"?require:J)[Y]}):X)(function(X){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+X+'" is not supported')});var lG=YX((Bx,XO)=>{(function(){function X(m,I0){Object.defineProperty(V.prototype,m,{get:function(){console.warn("%s(...) is deprecated in plain JavaScript React classes. %s",I0[0],I0[1])}})}function J(m){if(m===null||typeof m!=="object")return null;return m=e&&m[e]||m["@@iterator"],typeof m==="function"?m:null}function Y(m,I0){m=(m=m.constructor)&&(m.displayName||m.name)||"ReactClass";var s0=m+"."+I0;J0[s0]||(console.error("Can't call %s on a component that is not yet mounted. This is a no-op, but it might indicate a bug in your application. Instead, assign to `this.state` directly or define a `state = {};` class property with the desired state in the %s component.",I0,m),J0[s0]=!0)}function V(m,I0,s0){this.props=m,this.context=I0,this.refs=$0,this.updater=s0||Z0}function I(){}function O(m,I0,s0){this.props=m,this.context=I0,this.refs=$0,this.updater=s0||Z0}function Z(){}function L(m){return""+m}function B(m){try{L(m);var I0=!1}catch(N0){I0=!0}if(I0){I0=console;var s0=I0.error,j0=typeof Symbol==="function"&&Symbol.toStringTag&&m[Symbol.toStringTag]||m.constructor.name||"Object";return s0.call(I0,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",j0),L(m)}}function R(m){if(m==null)return null;if(typeof m==="function")return m.$$typeof===H0?null:m.displayName||m.name||null;if(typeof m==="string")return m;switch(m){case A:return"Fragment";case C:return"Profiler";case z:return"StrictMode";case r:return"Suspense";case U0:return"SuspenseList";case s:return"Activity"}if(typeof m==="object")switch(typeof m.tag==="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),m.$$typeof){case j:return"Portal";case N:return m.displayName||"Context";case g:return(m._context.displayName||"Context")+".Consumer";case h:var I0=m.render;return m=m.displayName,m||(m=I0.displayName||I0.name||"",m=m!==""?"ForwardRef("+m+")":"ForwardRef"),m;case O0:return I0=m.displayName||null,I0!==null?I0:R(m.type)||"Memo";case Q0:I0=m._payload,m=m._init;try{return R(m(I0))}catch(s0){}}return null}function S(m){if(m===A)return"<>";if(typeof m==="object"&&m!==null&&m.$$typeof===Q0)return"<...>";try{var I0=R(m);return I0?"<"+I0+">":"<...>"}catch(s0){return"<...>"}}function T(){var m=Y0.A;return m===null?null:m.getOwner()}function E(){return Error("react-stack-top-frame")}function v(m){if(D0.call(m,"key")){var I0=Object.getOwnPropertyDescriptor(m,"key").get;if(I0&&I0.isReactWarning)return!1}return m.key!==void 0}function q(m,I0){function s0(){X0||(X0=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",I0))}s0.isReactWarning=!0,Object.defineProperty(m,"key",{get:s0,configurable:!0})}function y(){var m=R(this.type);return U$[m]||(U$[m]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),m=this.props.ref,m!==void 0?m:null}function w(m,I0,s0,j0,N0,F$){var x0=s0.ref;return m={$$typeof:P,type:m,key:I0,props:s0,_owner:j0},(x0!==void 0?x0:null)!==null?Object.defineProperty(m,"ref",{enumerable:!1,get:y}):Object.defineProperty(m,"ref",{enumerable:!1,value:null}),m._store={},Object.defineProperty(m._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(m,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(m,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:N0}),Object.defineProperty(m,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:F$}),Object.freeze&&(Object.freeze(m.props),Object.freeze(m)),m}function u(m,I0){return I0=w(m.type,I0,m.props,m._owner,m._debugStack,m._debugTask),m._store&&(I0._store.validated=m._store.validated),I0}function x(m){b(m)?m._store&&(m._store.validated=1):typeof m==="object"&&m!==null&&m.$$typeof===Q0&&(m._payload.status==="fulfilled"?b(m._payload.value)&&m._payload.value._store&&(m._payload.value._store.validated=1):m._store&&(m._store.validated=1))}function b(m){return typeof m==="object"&&m!==null&&m.$$typeof===P}function p(m){var I0={"=":"=0",":":"=2"};return"$"+m.replace(/[=:]/g,function(s0){return I0[s0]})}function d(m,I0){return typeof m==="object"&&m!==null&&m.key!=null?(B(m.key),p(""+m.key)):I0.toString(36)}function a(m){switch(m.status){case"fulfilled":return m.value;case"rejected":throw m.reason;default:switch(typeof m.status==="string"?m.then(Z,Z):(m.status="pending",m.then(function(I0){m.status==="pending"&&(m.status="fulfilled",m.value=I0)},function(I0){m.status==="pending"&&(m.status="rejected",m.reason=I0)})),m.status){case"fulfilled":return m.value;case"rejected":throw m.reason}}throw m}function F0(m,I0,s0,j0,N0){var F$=typeof m;if(F$==="undefined"||F$==="boolean")m=null;var x0=!1;if(m===null)x0=!0;else switch(F$){case"bigint":case"string":case"number":x0=!0;break;case"object":switch(m.$$typeof){case P:case j:x0=!0;break;case Q0:return x0=m._init,F0(x0(m._payload),I0,s0,j0,N0)}}if(x0){x0=m,N0=N0(x0);var f0=j0===""?"."+d(x0,0):j0;return n(N0)?(s0="",f0!=null&&(s0=f0.replace(p0,"$&/")+"/"),F0(N0,I0,s0,"",function(n0){return n0})):N0!=null&&(b(N0)&&(N0.key!=null&&(x0&&x0.key===N0.key||B(N0.key)),s0=u(N0,s0+(N0.key==null||x0&&x0.key===N0.key?"":(""+N0.key).replace(p0,"$&/")+"/")+f0),j0!==""&&x0!=null&&b(x0)&&x0.key==null&&x0._store&&!x0._store.validated&&(s0._store.validated=2),N0=s0),I0.push(N0)),1}if(x0=0,f0=j0===""?".":j0+":",n(m))for(var D$=0;D$<m.length;D$++)j0=m[D$],F$=f0+d(j0,D$),x0+=F0(j0,I0,s0,F$,N0);else if(D$=J(m),typeof D$==="function")for(D$===m.entries&&(L$||console.warn("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),L$=!0),m=D$.call(m),D$=0;!(j0=m.next()).done;)j0=j0.value,F$=f0+d(j0,D$++),x0+=F0(j0,I0,s0,F$,N0);else if(F$==="object"){if(typeof m.then==="function")return F0(a(m),I0,s0,j0,N0);throw I0=String(m),Error("Objects are not valid as a React child (found: "+(I0==="[object Object]"?"object with keys {"+Object.keys(m).join(", ")+"}":I0)+"). If you meant to render a collection of children, use an array instead.")}return x0}function L0(m,I0,s0){if(m==null)return m;var j0=[],N0=0;return F0(m,j0,"","",function(F$){return I0.call(s0,F$,N0++)}),j0}function R0(m){if(m._status===-1){var I0=m._ioInfo;I0!=null&&(I0.start=I0.end=performance.now()),I0=m._result;var s0=I0();if(s0.then(function(N0){if(m._status===0||m._status===-1){m._status=1,m._result=N0;var F$=m._ioInfo;F$!=null&&(F$.end=performance.now()),s0.status===void 0&&(s0.status="fulfilled",s0.value=N0)}},function(N0){if(m._status===0||m._status===-1){m._status=2,m._result=N0;var F$=m._ioInfo;F$!=null&&(F$.end=performance.now()),s0.status===void 0&&(s0.status="rejected",s0.reason=N0)}}),I0=m._ioInfo,I0!=null){I0.value=s0;var j0=s0.displayName;typeof j0==="string"&&(I0.name=j0)}m._status===-1&&(m._status=0,m._result=s0)}if(m._status===1)return I0=m._result,I0===void 0&&console.error(`lazy: Expected the result of a dynamic import() call. Instead received: %s
2
+
3
+ Your code should look like:
4
+ const MyComponent = lazy(() => import('./MyComponent'))
5
+
6
+ Did you accidentally put curly braces around the import?`,I0),"default"in I0||console.error(`lazy: Expected the result of a dynamic import() call. Instead received: %s
7
+
8
+ Your code should look like:
9
+ const MyComponent = lazy(() => import('./MyComponent'))`,I0),I0.default;throw m._result}function t(){var m=Y0.H;return m===null&&console.error(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
10
+ 1. You might have mismatching versions of React and the renderer (such as React DOM)
11
+ 2. You might be breaking the Rules of Hooks
12
+ 3. You might have more than one copy of React in the same app
13
+ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`),m}function C0(){Y0.asyncTransitions--}function G(m){if(u0===null)try{var I0=("require"+Math.random()).slice(0,7);u0=(XO&&XO[I0]).call(XO,"timers").setImmediate}catch(s0){u0=function(j0){i$===!1&&(i$=!0,typeof MessageChannel>"u"&&console.error("This browser does not have a MessageChannel implementation, so enqueuing tasks via await act(async () => ...) will fail. Please file an issue at https://github.com/facebook/react/issues if you encounter this warning."));var N0=new MessageChannel;N0.port1.onmessage=j0,N0.port2.postMessage(void 0)}}return u0(m)}function K(m){return 1<m.length&&typeof AggregateError==="function"?AggregateError(m):m[0]}function H(m,I0){I0!==h0-1&&console.error("You seem to have overlapping act() calls, this is not supported. Be sure to await previous act() calls before making a new one. "),h0=I0}function D(m,I0,s0){var j0=Y0.actQueue;if(j0!==null)if(j0.length!==0)try{F(j0),G(function(){return D(m,I0,s0)});return}catch(N0){Y0.thrownErrors.push(N0)}else Y0.actQueue=null;0<Y0.thrownErrors.length?(j0=K(Y0.thrownErrors),Y0.thrownErrors.length=0,s0(j0)):I0(m)}function F(m){if(!r0){r0=!0;var I0=0;try{for(;I0<m.length;I0++){var s0=m[I0];do{Y0.didUsePromise=!1;var j0=s0(!1);if(j0!==null){if(Y0.didUsePromise){m[I0]=s0,m.splice(0,I0);return}s0=j0}else break}while(1)}m.length=0}catch(N0){m.splice(0,I0+1),Y0.thrownErrors.push(N0)}finally{r0=!1}}}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var P=Symbol.for("react.transitional.element"),j=Symbol.for("react.portal"),A=Symbol.for("react.fragment"),z=Symbol.for("react.strict_mode"),C=Symbol.for("react.profiler"),g=Symbol.for("react.consumer"),N=Symbol.for("react.context"),h=Symbol.for("react.forward_ref"),r=Symbol.for("react.suspense"),U0=Symbol.for("react.suspense_list"),O0=Symbol.for("react.memo"),Q0=Symbol.for("react.lazy"),s=Symbol.for("react.activity"),e=Symbol.iterator,J0={},Z0={isMounted:function(){return!1},enqueueForceUpdate:function(m){Y(m,"forceUpdate")},enqueueReplaceState:function(m){Y(m,"replaceState")},enqueueSetState:function(m){Y(m,"setState")}},A0=Object.assign,$0={};Object.freeze($0),V.prototype.isReactComponent={},V.prototype.setState=function(m,I0){if(typeof m!=="object"&&typeof m!=="function"&&m!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,m,I0,"setState")},V.prototype.forceUpdate=function(m){this.updater.enqueueForceUpdate(this,m,"forceUpdate")};var c={isMounted:["isMounted","Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks."],replaceState:["replaceState","Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236)."]};for(PU in c)c.hasOwnProperty(PU)&&X(PU,c[PU]);I.prototype=V.prototype,c=O.prototype=new I,c.constructor=O,A0(c,V.prototype),c.isPureReactComponent=!0;var n=Array.isArray,H0=Symbol.for("react.client.reference"),Y0={H:null,A:null,T:null,S:null,actQueue:null,asyncTransitions:0,isBatchingLegacy:!1,didScheduleLegacyUpdate:!1,didUsePromise:!1,thrownErrors:[],getCurrentStack:null,recentlyCreatedOwnerStacks:0},D0=Object.prototype.hasOwnProperty,q0=console.createTask?console.createTask:function(){return null};c={react_stack_bottom_frame:function(m){return m()}};var X0,V0,U$={},M0=c.react_stack_bottom_frame.bind(c,E)(),v0=q0(S(E)),L$=!1,p0=/\/+/g,c0=typeof reportError==="function"?reportError:function(m){if(typeof window==="object"&&typeof window.ErrorEvent==="function"){var I0=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof m==="object"&&m!==null&&typeof m.message==="string"?String(m.message):String(m),error:m});if(!window.dispatchEvent(I0))return}else if(typeof process==="object"&&typeof process.emit==="function"){process.emit("uncaughtException",m);return}console.error(m)},i$=!1,u0=null,h0=0,QU=!1,r0=!1,o0=typeof queueMicrotask==="function"?function(m){queueMicrotask(function(){return queueMicrotask(m)})}:G;c=Object.freeze({__proto__:null,c:function(m){return t().useMemoCache(m)}});var PU={map:L0,forEach:function(m,I0,s0){L0(m,function(){I0.apply(this,arguments)},s0)},count:function(m){var I0=0;return L0(m,function(){I0++}),I0},toArray:function(m){return L0(m,function(I0){return I0})||[]},only:function(m){if(!b(m))throw Error("React.Children.only expected to receive a single React element child.");return m}};Bx.Activity=s,Bx.Children=PU,Bx.Component=V,Bx.Fragment=A,Bx.Profiler=C,Bx.PureComponent=O,Bx.StrictMode=z,Bx.Suspense=r,Bx.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=Y0,Bx.__COMPILER_RUNTIME=c,Bx.act=function(m){var I0=Y0.actQueue,s0=h0;h0++;var j0=Y0.actQueue=I0!==null?I0:[],N0=!1;try{var F$=m()}catch(D$){Y0.thrownErrors.push(D$)}if(0<Y0.thrownErrors.length)throw H(I0,s0),m=K(Y0.thrownErrors),Y0.thrownErrors.length=0,m;if(F$!==null&&typeof F$==="object"&&typeof F$.then==="function"){var x0=F$;return o0(function(){N0||QU||(QU=!0,console.error("You called act(async () => ...) without await. This could lead to unexpected testing behaviour, interleaving multiple act calls and mixing their scopes. You should - await act(async () => ...);"))}),{then:function(D$,n0){N0=!0,x0.then(function(i0){if(H(I0,s0),s0===0){try{F(j0),G(function(){return D(i0,D$,n0)})}catch(a0){Y0.thrownErrors.push(a0)}if(0<Y0.thrownErrors.length){var VU=K(Y0.thrownErrors);Y0.thrownErrors.length=0,n0(VU)}}else D$(i0)},function(i0){H(I0,s0),0<Y0.thrownErrors.length?(i0=K(Y0.thrownErrors),Y0.thrownErrors.length=0,n0(i0)):n0(i0)})}}}var f0=F$;if(H(I0,s0),s0===0&&(F(j0),j0.length!==0&&o0(function(){N0||QU||(QU=!0,console.error("A component suspended inside an `act` scope, but the `act` call was not awaited. When testing React components that depend on asynchronous data, you must await the result:\n\nawait act(() => ...)"))}),Y0.actQueue=null),0<Y0.thrownErrors.length)throw m=K(Y0.thrownErrors),Y0.thrownErrors.length=0,m;return{then:function(D$,n0){N0=!0,s0===0?(Y0.actQueue=j0,G(function(){return D(f0,D$,n0)})):D$(f0)}}},Bx.cache=function(m){return function(){return m.apply(null,arguments)}},Bx.cacheSignal=function(){return null},Bx.captureOwnerStack=function(){var m=Y0.getCurrentStack;return m===null?null:m()},Bx.cloneElement=function(m,I0,s0){if(m===null||m===void 0)throw Error("The argument must be a React element, but you passed "+m+".");var j0=A0({},m.props),N0=m.key,F$=m._owner;if(I0!=null){var x0;$:{if(D0.call(I0,"ref")&&(x0=Object.getOwnPropertyDescriptor(I0,"ref").get)&&x0.isReactWarning){x0=!1;break $}x0=I0.ref!==void 0}x0&&(F$=T()),v(I0)&&(B(I0.key),N0=""+I0.key);for(f0 in I0)!D0.call(I0,f0)||f0==="key"||f0==="__self"||f0==="__source"||f0==="ref"&&I0.ref===void 0||(j0[f0]=I0[f0])}var f0=arguments.length-2;if(f0===1)j0.children=s0;else if(1<f0){x0=Array(f0);for(var D$=0;D$<f0;D$++)x0[D$]=arguments[D$+2];j0.children=x0}j0=w(m.type,N0,j0,F$,m._debugStack,m._debugTask);for(N0=2;N0<arguments.length;N0++)x(arguments[N0]);return j0},Bx.createContext=function(m){return m={$$typeof:N,_currentValue:m,_currentValue2:m,_threadCount:0,Provider:null,Consumer:null},m.Provider=m,m.Consumer={$$typeof:g,_context:m},m._currentRenderer=null,m._currentRenderer2=null,m},Bx.createElement=function(m,I0,s0){for(var j0=2;j0<arguments.length;j0++)x(arguments[j0]);j0={};var N0=null;if(I0!=null)for(D$ in V0||!("__self"in I0)||"key"in I0||(V0=!0,console.warn("Your app (or one of its dependencies) is using an outdated JSX transform. Update to the modern JSX transform for faster performance: https://react.dev/link/new-jsx-transform")),v(I0)&&(B(I0.key),N0=""+I0.key),I0)D0.call(I0,D$)&&D$!=="key"&&D$!=="__self"&&D$!=="__source"&&(j0[D$]=I0[D$]);var F$=arguments.length-2;if(F$===1)j0.children=s0;else if(1<F$){for(var x0=Array(F$),f0=0;f0<F$;f0++)x0[f0]=arguments[f0+2];Object.freeze&&Object.freeze(x0),j0.children=x0}if(m&&m.defaultProps)for(D$ in F$=m.defaultProps,F$)j0[D$]===void 0&&(j0[D$]=F$[D$]);N0&&q(j0,typeof m==="function"?m.displayName||m.name||"Unknown":m);var D$=1e4>Y0.recentlyCreatedOwnerStacks++;return w(m,N0,j0,T(),D$?Error("react-stack-top-frame"):M0,D$?q0(S(m)):v0)},Bx.createRef=function(){var m={current:null};return Object.seal(m),m},Bx.forwardRef=function(m){m!=null&&m.$$typeof===O0?console.error("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."):typeof m!=="function"?console.error("forwardRef requires a render function but was given %s.",m===null?"null":typeof m):m.length!==0&&m.length!==2&&console.error("forwardRef render functions accept exactly two parameters: props and ref. %s",m.length===1?"Did you forget to use the ref parameter?":"Any additional parameter will be undefined."),m!=null&&m.defaultProps!=null&&console.error("forwardRef render functions do not support defaultProps. Did you accidentally pass a React component?");var I0={$$typeof:h,render:m},s0;return Object.defineProperty(I0,"displayName",{enumerable:!1,configurable:!0,get:function(){return s0},set:function(j0){s0=j0,m.name||m.displayName||(Object.defineProperty(m,"name",{value:j0}),m.displayName=j0)}}),I0},Bx.isValidElement=b,Bx.lazy=function(m){m={_status:-1,_result:m};var I0={$$typeof:Q0,_payload:m,_init:R0},s0={name:"lazy",start:-1,end:-1,value:null,owner:null,debugStack:Error("react-stack-top-frame"),debugTask:console.createTask?console.createTask("lazy()"):null};return m._ioInfo=s0,I0._debugInfo=[{awaited:s0}],I0},Bx.memo=function(m,I0){m==null&&console.error("memo: The first argument must be a component. Instead received: %s",m===null?"null":typeof m),I0={$$typeof:O0,type:m,compare:I0===void 0?null:I0};var s0;return Object.defineProperty(I0,"displayName",{enumerable:!1,configurable:!0,get:function(){return s0},set:function(j0){s0=j0,m.name||m.displayName||(Object.defineProperty(m,"name",{value:j0}),m.displayName=j0)}}),I0},Bx.startTransition=function(m){var I0=Y0.T,s0={};s0._updatedFibers=new Set,Y0.T=s0;try{var j0=m(),N0=Y0.S;N0!==null&&N0(s0,j0),typeof j0==="object"&&j0!==null&&typeof j0.then==="function"&&(Y0.asyncTransitions++,j0.then(C0,C0),j0.then(Z,c0))}catch(F$){c0(F$)}finally{I0===null&&s0._updatedFibers&&(m=s0._updatedFibers.size,s0._updatedFibers.clear(),10<m&&console.warn("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table.")),I0!==null&&s0.types!==null&&(I0.types!==null&&I0.types!==s0.types&&console.error("We expected inner Transitions to have transferred the outer types set and that you cannot add to the outer Transition while inside the inner.This is a bug in React."),I0.types=s0.types),Y0.T=I0}},Bx.unstable_useCacheRefresh=function(){return t().useCacheRefresh()},Bx.use=function(m){return t().use(m)},Bx.useActionState=function(m,I0,s0){return t().useActionState(m,I0,s0)},Bx.useCallback=function(m,I0){return t().useCallback(m,I0)},Bx.useContext=function(m){var I0=t();return m.$$typeof===g&&console.error("Calling useContext(Context.Consumer) is not supported and will cause bugs. Did you mean to call useContext(Context) instead?"),I0.useContext(m)},Bx.useDebugValue=function(m,I0){return t().useDebugValue(m,I0)},Bx.useDeferredValue=function(m,I0){return t().useDeferredValue(m,I0)},Bx.useEffect=function(m,I0){return m==null&&console.warn("React Hook useEffect requires an effect callback. Did you forget to pass a callback to the hook?"),t().useEffect(m,I0)},Bx.useEffectEvent=function(m){return t().useEffectEvent(m)},Bx.useId=function(){return t().useId()},Bx.useImperativeHandle=function(m,I0,s0){return t().useImperativeHandle(m,I0,s0)},Bx.useInsertionEffect=function(m,I0){return m==null&&console.warn("React Hook useInsertionEffect requires an effect callback. Did you forget to pass a callback to the hook?"),t().useInsertionEffect(m,I0)},Bx.useLayoutEffect=function(m,I0){return m==null&&console.warn("React Hook useLayoutEffect requires an effect callback. Did you forget to pass a callback to the hook?"),t().useLayoutEffect(m,I0)},Bx.useMemo=function(m,I0){return t().useMemo(m,I0)},Bx.useOptimistic=function(m,I0){return t().useOptimistic(m,I0)},Bx.useReducer=function(m,I0,s0){return t().useReducer(m,I0,s0)},Bx.useRef=function(m){return t().useRef(m)},Bx.useState=function(m){return t().useState(m)},Bx.useSyncExternalStore=function(m,I0,s0){return t().useSyncExternalStore(m,I0,s0)},Bx.useTransition=function(){return t().useTransition()},Bx.version="19.2.7",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()});var RR=YX((vx)=>{(function(){function X(){if(p=!1,L0){var D=vx.unstable_now();C0=D;var F=!0;try{$:{x=!1,b&&(b=!1,a(R0),R0=-1),u=!0;var P=w;try{U:{O(D);for(y=Y(E);y!==null&&!(y.expirationTime>D&&L());){var j=y.callback;if(typeof j==="function"){y.callback=null,w=y.priorityLevel;var A=j(y.expirationTime<=D);if(D=vx.unstable_now(),typeof A==="function"){y.callback=A,O(D),F=!0;break U}y===Y(E)&&V(E),O(D)}else V(E);y=Y(E)}if(y!==null)F=!0;else{var z=Y(v);z!==null&&B(Z,z.startTime-D),F=!1}}break $}finally{y=null,w=P,u=!1}F=void 0}}finally{F?G():L0=!1}}}function J(D,F){var P=D.length;D.push(F);$:for(;0<P;){var j=P-1>>>1,A=D[j];if(0<I(A,F))D[j]=F,D[P]=A,P=j;else break $}}function Y(D){return D.length===0?null:D[0]}function V(D){if(D.length===0)return null;var F=D[0],P=D.pop();if(P!==F){D[0]=P;$:for(var j=0,A=D.length,z=A>>>1;j<z;){var C=2*(j+1)-1,g=D[C],N=C+1,h=D[N];if(0>I(g,P))N<A&&0>I(h,g)?(D[j]=h,D[N]=P,j=N):(D[j]=g,D[C]=P,j=C);else if(N<A&&0>I(h,P))D[j]=h,D[N]=P,j=N;else break $}}return F}function I(D,F){var P=D.sortIndex-F.sortIndex;return P!==0?P:D.id-F.id}function O(D){for(var F=Y(v);F!==null;){if(F.callback===null)V(v);else if(F.startTime<=D)V(v),F.sortIndex=F.expirationTime,J(E,F);else break;F=Y(v)}}function Z(D){if(b=!1,O(D),!x)if(Y(E)!==null)x=!0,L0||(L0=!0,G());else{var F=Y(v);F!==null&&B(Z,F.startTime-D)}}function L(){return p?!0:vx.unstable_now()-C0<t?!1:!0}function B(D,F){R0=d(function(){D(vx.unstable_now())},F)}if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error()),vx.unstable_now=void 0,typeof performance==="object"&&typeof performance.now==="function"){var R=performance;vx.unstable_now=function(){return R.now()}}else{var S=Date,T=S.now();vx.unstable_now=function(){return S.now()-T}}var E=[],v=[],q=1,y=null,w=3,u=!1,x=!1,b=!1,p=!1,d=typeof setTimeout==="function"?setTimeout:null,a=typeof clearTimeout==="function"?clearTimeout:null,F0=typeof setImmediate<"u"?setImmediate:null,L0=!1,R0=-1,t=5,C0=-1;if(typeof F0==="function")var G=function(){F0(X)};else if(typeof MessageChannel<"u"){var K=new MessageChannel,H=K.port2;K.port1.onmessage=X,G=function(){H.postMessage(null)}}else G=function(){d(X,0)};vx.unstable_IdlePriority=5,vx.unstable_ImmediatePriority=1,vx.unstable_LowPriority=4,vx.unstable_NormalPriority=3,vx.unstable_Profiling=null,vx.unstable_UserBlockingPriority=2,vx.unstable_cancelCallback=function(D){D.callback=null},vx.unstable_forceFrameRate=function(D){0>D||125<D?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):t=0<D?Math.floor(1000/D):5},vx.unstable_getCurrentPriorityLevel=function(){return w},vx.unstable_next=function(D){switch(w){case 1:case 2:case 3:var F=3;break;default:F=w}var P=w;w=F;try{return D()}finally{w=P}},vx.unstable_requestPaint=function(){p=!0},vx.unstable_runWithPriority=function(D,F){switch(D){case 1:case 2:case 3:case 4:case 5:break;default:D=3}var P=w;w=D;try{return F()}finally{w=P}},vx.unstable_scheduleCallback=function(D,F,P){var j=vx.unstable_now();switch(typeof P==="object"&&P!==null?(P=P.delay,P=typeof P==="number"&&0<P?j+P:j):P=j,D){case 1:var A=-1;break;case 2:A=250;break;case 5:A=1073741823;break;case 4:A=1e4;break;default:A=5000}return A=P+A,D={id:q++,callback:F,priorityLevel:D,startTime:P,expirationTime:A,sortIndex:-1},P>j?(D.sortIndex=P,J(v,D),Y(E)===null&&D===Y(v)&&(b?(a(R0),R0=-1):b=!0,B(Z,P-j))):(D.sortIndex=A,J(E,D),x||u||(x=!0,L0||(L0=!0,G()))),D},vx.unstable_shouldYield=L,vx.unstable_wrapCallback=function(D){var F=w;return function(){var P=w;w=F;try{return D.apply(this,arguments)}finally{w=P}}},typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()});var SR=YX((Nx)=>{var xW=w1(lG());(function(){function X(){}function J(S){return""+S}function Y(S,T,E){var v=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;try{J(v);var q=!1}catch(y){q=!0}return q&&(console.error("The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",typeof Symbol==="function"&&Symbol.toStringTag&&v[Symbol.toStringTag]||v.constructor.name||"Object"),J(v)),{$$typeof:B,key:v==null?null:""+v,children:S,containerInfo:T,implementation:E}}function V(S,T){if(S==="font")return"";if(typeof T==="string")return T==="use-credentials"?T:""}function I(S){return S===null?"`null`":S===void 0?"`undefined`":S===""?"an empty string":'something with type "'+typeof S+'"'}function O(S){return S===null?"`null`":S===void 0?"`undefined`":S===""?"an empty string":typeof S==="string"?JSON.stringify(S):typeof S==="number"?"`"+S+"`":'something with type "'+typeof S+'"'}function Z(){var S=R.H;return S===null&&console.error(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
14
+ 1. You might have mismatching versions of React and the renderer (such as React DOM)
15
+ 2. You might be breaking the Rules of Hooks
16
+ 3. You might have more than one copy of React in the same app
17
+ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`),S}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var L={d:{f:X,r:function(){throw Error("Invalid form element. requestFormReset must be passed a form that was rendered by React.")},D:X,C:X,L:X,m:X,X,S:X,M:X},p:0,findDOMNode:null},B=Symbol.for("react.portal"),R=xW.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;typeof Map==="function"&&Map.prototype!=null&&typeof Map.prototype.forEach==="function"&&typeof Set==="function"&&Set.prototype!=null&&typeof Set.prototype.clear==="function"&&typeof Set.prototype.forEach==="function"||console.error("React depends on Map and Set built-in types. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"),Nx.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=L,Nx.createPortal=function(S,T){var E=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!T||T.nodeType!==1&&T.nodeType!==9&&T.nodeType!==11)throw Error("Target container is not a DOM element.");return Y(S,T,null,E)},Nx.flushSync=function(S){var T=R.T,E=L.p;try{if(R.T=null,L.p=2,S)return S()}finally{R.T=T,L.p=E,L.d.f()&&console.error("flushSync was called from inside a lifecycle method. React cannot flush when React is already rendering. Consider moving this call to a scheduler task or micro task.")}},Nx.preconnect=function(S,T){typeof S==="string"&&S?T!=null&&typeof T!=="object"?console.error("ReactDOM.preconnect(): Expected the `options` argument (second) to be an object but encountered %s instead. The only supported option at this time is `crossOrigin` which accepts a string.",O(T)):T!=null&&typeof T.crossOrigin!=="string"&&console.error("ReactDOM.preconnect(): Expected the `crossOrigin` option (second argument) to be a string but encountered %s instead. Try removing this option or passing a string value instead.",I(T.crossOrigin)):console.error("ReactDOM.preconnect(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",I(S)),typeof S==="string"&&(T?(T=T.crossOrigin,T=typeof T==="string"?T==="use-credentials"?T:"":void 0):T=null,L.d.C(S,T))},Nx.prefetchDNS=function(S){if(typeof S!=="string"||!S)console.error("ReactDOM.prefetchDNS(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",I(S));else if(1<arguments.length){var T=arguments[1];typeof T==="object"&&T.hasOwnProperty("crossOrigin")?console.error("ReactDOM.prefetchDNS(): Expected only one argument, `href`, but encountered %s as a second argument instead. This argument is reserved for future options and is currently disallowed. It looks like the you are attempting to set a crossOrigin property for this DNS lookup hint. Browsers do not perform DNS queries using CORS and setting this attribute on the resource hint has no effect. Try calling ReactDOM.prefetchDNS() with just a single string argument, `href`.",O(T)):console.error("ReactDOM.prefetchDNS(): Expected only one argument, `href`, but encountered %s as a second argument instead. This argument is reserved for future options and is currently disallowed. Try calling ReactDOM.prefetchDNS() with just a single string argument, `href`.",O(T))}typeof S==="string"&&L.d.D(S)},Nx.preinit=function(S,T){if(typeof S==="string"&&S?T==null||typeof T!=="object"?console.error("ReactDOM.preinit(): Expected the `options` argument (second) to be an object with an `as` property describing the type of resource to be preinitialized but encountered %s instead.",O(T)):T.as!=="style"&&T.as!=="script"&&console.error('ReactDOM.preinit(): Expected the `as` property in the `options` argument (second) to contain a valid value describing the type of resource to be preinitialized but encountered %s instead. Valid values for `as` are "style" and "script".',O(T.as)):console.error("ReactDOM.preinit(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",I(S)),typeof S==="string"&&T&&typeof T.as==="string"){var E=T.as,v=V(E,T.crossOrigin),q=typeof T.integrity==="string"?T.integrity:void 0,y=typeof T.fetchPriority==="string"?T.fetchPriority:void 0;E==="style"?L.d.S(S,typeof T.precedence==="string"?T.precedence:void 0,{crossOrigin:v,integrity:q,fetchPriority:y}):E==="script"&&L.d.X(S,{crossOrigin:v,integrity:q,fetchPriority:y,nonce:typeof T.nonce==="string"?T.nonce:void 0})}},Nx.preinitModule=function(S,T){var E="";if(typeof S==="string"&&S||(E+=" The `href` argument encountered was "+I(S)+"."),T!==void 0&&typeof T!=="object"?E+=" The `options` argument encountered was "+I(T)+".":T&&("as"in T)&&T.as!=="script"&&(E+=" The `as` option encountered was "+O(T.as)+"."),E)console.error("ReactDOM.preinitModule(): Expected up to two arguments, a non-empty `href` string and, optionally, an `options` object with a valid `as` property.%s",E);else switch(E=T&&typeof T.as==="string"?T.as:"script",E){case"script":break;default:E=O(E),console.error('ReactDOM.preinitModule(): Currently the only supported "as" type for this function is "script" but received "%s" instead. This warning was generated for `href` "%s". In the future other module types will be supported, aligning with the import-attributes proposal. Learn more here: (https://github.com/tc39/proposal-import-attributes)',E,S)}if(typeof S==="string")if(typeof T==="object"&&T!==null){if(T.as==null||T.as==="script")E=V(T.as,T.crossOrigin),L.d.M(S,{crossOrigin:E,integrity:typeof T.integrity==="string"?T.integrity:void 0,nonce:typeof T.nonce==="string"?T.nonce:void 0})}else T==null&&L.d.M(S)},Nx.preload=function(S,T){var E="";if(typeof S==="string"&&S||(E+=" The `href` argument encountered was "+I(S)+"."),T==null||typeof T!=="object"?E+=" The `options` argument encountered was "+I(T)+".":typeof T.as==="string"&&T.as||(E+=" The `as` option encountered was "+I(T.as)+"."),E&&console.error('ReactDOM.preload(): Expected two arguments, a non-empty `href` string and an `options` object with an `as` property valid for a `<link rel="preload" as="..." />` tag.%s',E),typeof S==="string"&&typeof T==="object"&&T!==null&&typeof T.as==="string"){E=T.as;var v=V(E,T.crossOrigin);L.d.L(S,E,{crossOrigin:v,integrity:typeof T.integrity==="string"?T.integrity:void 0,nonce:typeof T.nonce==="string"?T.nonce:void 0,type:typeof T.type==="string"?T.type:void 0,fetchPriority:typeof T.fetchPriority==="string"?T.fetchPriority:void 0,referrerPolicy:typeof T.referrerPolicy==="string"?T.referrerPolicy:void 0,imageSrcSet:typeof T.imageSrcSet==="string"?T.imageSrcSet:void 0,imageSizes:typeof T.imageSizes==="string"?T.imageSizes:void 0,media:typeof T.media==="string"?T.media:void 0})}},Nx.preloadModule=function(S,T){var E="";typeof S==="string"&&S||(E+=" The `href` argument encountered was "+I(S)+"."),T!==void 0&&typeof T!=="object"?E+=" The `options` argument encountered was "+I(T)+".":T&&("as"in T)&&typeof T.as!=="string"&&(E+=" The `as` option encountered was "+I(T.as)+"."),E&&console.error('ReactDOM.preloadModule(): Expected two arguments, a non-empty `href` string and, optionally, an `options` object with an `as` property valid for a `<link rel="modulepreload" as="..." />` tag.%s',E),typeof S==="string"&&(T?(E=V(T.as,T.crossOrigin),L.d.m(S,{as:typeof T.as==="string"&&T.as!=="script"?T.as:void 0,crossOrigin:E,integrity:typeof T.integrity==="string"?T.integrity:void 0})):L.d.m(S))},Nx.requestFormReset=function(S){L.d.r(S)},Nx.unstable_batchedUpdates=function(S,T){return S(T)},Nx.useFormState=function(S,T,E){return Z().useFormState(S,T,E)},Nx.useFormStatus=function(){return Z().useHostTransitionStatus()},Nx.version="19.2.7",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()});var BR=YX((xl,jR)=>{var qx=w1(SR());jR.exports=qx});var vR=YX((kx)=>{var o$=w1(RR()),MQ=w1(lG()),gW=w1(BR());(function(){function X($,U){for($=$.memoizedState;$!==null&&0<U;)$=$.next,U--;return $}function J($,U,Q,W){if(Q>=U.length)return W;var M=U[Q],_=Q6($)?$.slice():y$({},$);return _[M]=J($[M],U,Q+1,W),_}function Y($,U,Q){if(U.length!==Q.length)console.warn("copyWithRename() expects paths of the same length");else{for(var W=0;W<Q.length-1;W++)if(U[W]!==Q[W]){console.warn("copyWithRename() expects paths to be the same except for the deepest key");return}return V($,U,Q,0)}}function V($,U,Q,W){var M=U[W],_=Q6($)?$.slice():y$({},$);return W+1===U.length?(_[Q[W]]=_[M],Q6(_)?_.splice(M,1):delete _[M]):_[M]=V($[M],U,Q,W+1),_}function I($,U,Q){var W=U[Q],M=Q6($)?$.slice():y$({},$);if(Q+1===U.length)return Q6(M)?M.splice(W,1):delete M[W],M;return M[W]=I($[W],U,Q+1),M}function O(){return!1}function Z(){return null}function L(){console.error("Do not call Hooks inside useEffect(...), useMemo(...), or other built-in Hooks. You can only call Hooks at the top level of your React function. For more information, see https://react.dev/link/rules-of-hooks")}function B(){console.error("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().")}function R(){}function S(){}function T($){var U=[];return $.forEach(function(Q){U.push(Q)}),U.sort().join(", ")}function E($,U,Q,W){return new zq($,U,Q,W)}function v($,U){$.context===xX&&(e8($.current,2,U,$,null,null),BJ())}function q($,U){if(R1!==null){var Q=U.staleFamilies;U=U.updatedFamilies,bY(),jA($.current,U,Q),BJ()}}function y($){R1=$}function w($){return!(!$||$.nodeType!==1&&$.nodeType!==9&&$.nodeType!==11)}function u($){var U=$,Q=$;if($.alternate)for(;U.return;)U=U.return;else{$=U;do U=$,(U.flags&4098)!==0&&(Q=U.return),$=U.return;while($)}return U.tag===3?Q:null}function x($){if($.tag===13){var U=$.memoizedState;if(U===null&&($=$.alternate,$!==null&&(U=$.memoizedState)),U!==null)return U.dehydrated}return null}function b($){if($.tag===31){var U=$.memoizedState;if(U===null&&($=$.alternate,$!==null&&(U=$.memoizedState)),U!==null)return U.dehydrated}return null}function p($){if(u($)!==$)throw Error("Unable to find node on an unmounted component.")}function d($){var U=$.alternate;if(!U){if(U=u($),U===null)throw Error("Unable to find node on an unmounted component.");return U!==$?null:$}for(var Q=$,W=U;;){var M=Q.return;if(M===null)break;var _=M.alternate;if(_===null){if(W=M.return,W!==null){Q=W;continue}break}if(M.child===_.child){for(_=M.child;_;){if(_===Q)return p(M),$;if(_===W)return p(M),U;_=_.sibling}throw Error("Unable to find node on an unmounted component.")}if(Q.return!==W.return)Q=M,W=_;else{for(var k=!1,f=M.child;f;){if(f===Q){k=!0,Q=M,W=_;break}if(f===W){k=!0,W=M,Q=_;break}f=f.sibling}if(!k){for(f=_.child;f;){if(f===Q){k=!0,Q=_,W=M;break}if(f===W){k=!0,W=_,Q=M;break}f=f.sibling}if(!k)throw Error("Child was not found in either parent set. This indicates a bug in React related to the return pointer. Please file an issue.")}}if(Q.alternate!==W)throw Error("Return fibers should always be each others' alternates. This error is likely caused by a bug in React. Please file an issue.")}if(Q.tag!==3)throw Error("Unable to find node on an unmounted component.");return Q.stateNode.current===Q?$:U}function a($){var U=$.tag;if(U===5||U===26||U===27||U===6)return $;for($=$.child;$!==null;){if(U=a($),U!==null)return U;$=$.sibling}return null}function F0($){if($===null||typeof $!=="object")return null;return $=gP&&$[gP]||$["@@iterator"],typeof $==="function"?$:null}function L0($){if($==null)return null;if(typeof $==="function")return $.$$typeof===N3?null:$.displayName||$.name||null;if(typeof $==="string")return $;switch($){case wJ:return"Fragment";case QK:return"Profiler";case tZ:return"StrictMode";case GK:return"Suspense";case ZK:return"SuspenseList";case zK:return"Activity"}if(typeof $==="object")switch(typeof $.tag==="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),$.$$typeof){case gJ:return"Portal";case F4:return $.displayName||"Context";case YK:return($._context.displayName||"Context")+".Consumer";case iY:var U=$.render;return $=$.displayName,$||($=U.displayName||U.name||"",$=$!==""?"ForwardRef("+$+")":"ForwardRef"),$;case aZ:return U=$.displayName||null,U!==null?U:L0($.type)||"Memo";case G1:U=$._payload,$=$._init;try{return L0($(U))}catch(Q){}}return null}function R0($){return typeof $.tag==="number"?t($):typeof $.name==="string"?$.name:null}function t($){var U=$.type;switch($.tag){case 31:return"Activity";case 24:return"Cache";case 9:return(U._context.displayName||"Context")+".Consumer";case 10:return U.displayName||"Context";case 18:return"DehydratedFragment";case 11:return $=U.render,$=$.displayName||$.name||"",U.displayName||($!==""?"ForwardRef("+$+")":"ForwardRef");case 7:return"Fragment";case 26:case 27:case 5:return U;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return L0(U);case 8:return U===tZ?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 14:case 15:if(typeof U==="function")return U.displayName||U.name||null;if(typeof U==="string")return U;break;case 29:if(U=$._debugInfo,U!=null){for(var Q=U.length-1;0<=Q;Q--)if(typeof U[Q].name==="string")return U[Q].name}if($.return!==null)return t($.return)}return null}function C0($){return{current:$}}function G($,U){0>m4?console.error("Unexpected pop."):(U!==VK[m4]&&console.error("Unexpected Fiber popped."),$.current=OK[m4],OK[m4]=null,VK[m4]=null,m4--)}function K($,U,Q){m4++,OK[m4]=$.current,VK[m4]=Q,$.current=U}function H($){return $===null&&console.error("Expected host context to exist. This error is likely caused by a bug in React. Please file an issue."),$}function D($,U){K(jX,U,$),K(rY,$,$),K(SX,null,$);var Q=U.nodeType;switch(Q){case 9:case 11:Q=Q===9?"#document":"#fragment",U=(U=U.documentElement)?(U=U.namespaceURI)?JP(U):IX:IX;break;default:if(Q=U.tagName,U=U.namespaceURI)U=JP(U),U=QP(U,Q);else switch(Q){case"svg":U=FQ;break;case"math":U=rz;break;default:U=IX}}Q=Q.toLowerCase(),Q=sM(null,Q),Q={context:U,ancestorInfo:Q},G(SX,$),K(SX,Q,$)}function F($){G(SX,$),G(rY,$),G(jX,$)}function P(){return H(SX.current)}function j($){$.memoizedState!==null&&K(sZ,$,$);var U=H(SX.current),Q=$.type,W=QP(U.context,Q);Q=sM(U.ancestorInfo,Q),W={context:W,ancestorInfo:Q},U!==W&&(K(rY,$,$),K(SX,W,$))}function A($){rY.current===$&&(G(SX,$),G(rY,$)),sZ.current===$&&(G(sZ,$),hG._currentValue=tI)}function z(){}function C(){if(tY===0){wP=console.log,fP=console.info,yP=console.warn,bP=console.error,uP=console.group,hP=console.groupCollapsed,cP=console.groupEnd;var $={configurable:!0,enumerable:!0,value:z,writable:!0};Object.defineProperties(console,{info:$,log:$,warn:$,error:$,group:$,groupCollapsed:$,groupEnd:$})}tY++}function g(){if(tY--,tY===0){var $={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:y$({},$,{value:wP}),info:y$({},$,{value:fP}),warn:y$({},$,{value:yP}),error:y$({},$,{value:bP}),group:y$({},$,{value:uP}),groupCollapsed:y$({},$,{value:hP}),groupEnd:y$({},$,{value:cP})})}0>tY&&console.error("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}function N($){var U=Error.prepareStackTrace;if(Error.prepareStackTrace=void 0,$=$.stack,Error.prepareStackTrace=U,$.startsWith(`Error: react-stack-top-frame
18
+ `)&&($=$.slice(29)),U=$.indexOf(`
19
+ `),U!==-1&&($=$.slice(U+1)),U=$.indexOf("react_stack_bottom_frame"),U!==-1&&(U=$.lastIndexOf(`
20
+ `,U)),U!==-1)$=$.slice(0,U);else return"";return $}function h($){if(DK===void 0)try{throw Error()}catch(Q){var U=Q.stack.trim().match(/\n( *(at )?)/);DK=U&&U[1]||"",pP=-1<Q.stack.indexOf(`
21
+ at`)?" (<anonymous>)":-1<Q.stack.indexOf("@")?"@unknown:0:0":""}return`
22
+ `+DK+$+pP}function r($,U){if(!$||KK)return"";var Q=WK.get($);if(Q!==void 0)return Q;KK=!0,Q=Error.prepareStackTrace,Error.prepareStackTrace=void 0;var W=null;W=y0.H,y0.H=null,C();try{var M={DetermineComponentFrameRoot:function(){try{if(U){var K0=function(){throw Error()};if(Object.defineProperty(K0.prototype,"props",{set:function(){throw Error()}}),typeof Reflect==="object"&&Reflect.construct){try{Reflect.construct(K0,[])}catch(O$){var k0=O$}Reflect.construct($,[],K0)}else{try{K0.call()}catch(O$){k0=O$}$.call(K0.prototype)}}else{try{throw Error()}catch(O$){k0=O$}(K0=$())&&typeof K0.catch==="function"&&K0.catch(function(){})}}catch(O$){if(O$&&k0&&typeof O$.stack==="string")return[O$.stack,k0.stack]}return[null,null]}};M.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var _=Object.getOwnPropertyDescriptor(M.DetermineComponentFrameRoot,"name");_&&_.configurable&&Object.defineProperty(M.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var k=M.DetermineComponentFrameRoot(),f=k[0],l=k[1];if(f&&l){var o=f.split(`
23
+ `),P0=l.split(`
24
+ `);for(k=_=0;_<o.length&&!o[_].includes("DetermineComponentFrameRoot");)_++;for(;k<P0.length&&!P0[k].includes("DetermineComponentFrameRoot");)k++;if(_===o.length||k===P0.length)for(_=o.length-1,k=P0.length-1;1<=_&&0<=k&&o[_]!==P0[k];)k--;for(;1<=_&&0<=k;_--,k--)if(o[_]!==P0[k]){if(_!==1||k!==1)do if(_--,k--,0>k||o[_]!==P0[k]){var _0=`
25
+ `+o[_].replace(" at new "," at ");return $.displayName&&_0.includes("<anonymous>")&&(_0=_0.replace("<anonymous>",$.displayName)),typeof $==="function"&&WK.set($,_0),_0}while(1<=_&&0<=k);break}}}finally{KK=!1,y0.H=W,g(),Error.prepareStackTrace=Q}return o=(o=$?$.displayName||$.name:"")?h(o):"",typeof $==="function"&&WK.set($,o),o}function U0($,U){switch($.tag){case 26:case 27:case 5:return h($.type);case 16:return h("Lazy");case 13:return $.child!==U&&U!==null?h("Suspense Fallback"):h("Suspense");case 19:return h("SuspenseList");case 0:case 15:return r($.type,!1);case 11:return r($.type.render,!1);case 1:return r($.type,!0);case 31:return h("Activity");default:return""}}function O0($){try{var U="",Q=null;do{U+=U0($,Q);var W=$._debugInfo;if(W)for(var M=W.length-1;0<=M;M--){var _=W[M];if(typeof _.name==="string"){var k=U;$:{var{name:f,env:l,debugLocation:o}=_;if(o!=null){var P0=N(o),_0=P0.lastIndexOf(`
26
+ `),K0=_0===-1?P0:P0.slice(_0+1);if(K0.indexOf(f)!==-1){var k0=`
27
+ `+K0;break $}}k0=h(f+(l?" ["+l+"]":""))}U=k+k0}}Q=$,$=$.return}while($);return U}catch(O$){return`
28
+ Error generating stack: `+O$.message+`
29
+ `+O$.stack}}function Q0($){return($=$?$.displayName||$.name:"")?h($):""}function s(){if(Z1===null)return null;var $=Z1._debugOwner;return $!=null?R0($):null}function e(){if(Z1===null)return"";var $=Z1;try{var U="";switch($.tag===6&&($=$.return),$.tag){case 26:case 27:case 5:U+=h($.type);break;case 13:U+=h("Suspense");break;case 19:U+=h("SuspenseList");break;case 31:U+=h("Activity");break;case 30:case 0:case 15:case 1:$._debugOwner||U!==""||(U+=Q0($.type));break;case 11:$._debugOwner||U!==""||(U+=Q0($.type.render))}for(;$;)if(typeof $.tag==="number"){var Q=$;$=Q._debugOwner;var W=Q._debugStack;if($&&W){var M=N(W);M!==""&&(U+=`
30
+ `+M)}}else if($.debugStack!=null){var _=$.debugStack;($=$.owner)&&_&&(U+=`
31
+ `+N(_))}else break;var k=U}catch(f){k=`
32
+ Error generating stack: `+f.message+`
33
+ `+f.stack}return k}function J0($,U,Q,W,M,_,k){var f=Z1;Z0($);try{return $!==null&&$._debugTask?$._debugTask.run(U.bind(null,Q,W,M,_,k)):U(Q,W,M,_,k)}finally{Z0(f)}throw Error("runWithFiberInDEV should never be called in production. This is a bug in React.")}function Z0($){y0.getCurrentStack=$===null?null:e,H4=!1,Z1=$}function A0($){return typeof Symbol==="function"&&Symbol.toStringTag&&$[Symbol.toStringTag]||$.constructor.name||"Object"}function $0($){try{return c($),!1}catch(U){return!0}}function c($){return""+$}function n($,U){if($0($))return console.error("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before using it here.",U,A0($)),c($)}function H0($,U){if($0($))return console.error("The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before using it here.",U,A0($)),c($)}function Y0($){if($0($))return console.error("Form field values (value, checked, defaultValue, or defaultChecked props) must be strings, not %s. This value must be coerced to a string before using it here.",A0($)),c($)}function D0($){if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u")return!1;var U=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(U.isDisabled)return!0;if(!U.supportsFiber)return console.error("The installed version of React DevTools is too old and will not work with the current version of React. Please update React DevTools. https://react.dev/link/react-devtools"),!0;try{yJ=U.inject($),P6=U}catch(Q){console.error("React instrumentation encountered an error: %o.",Q)}return U.checkDCE?!0:!1}function q0($){if(typeof y3==="function"&&b3($),P6&&typeof P6.setStrictMode==="function")try{P6.setStrictMode(yJ,$)}catch(U){L4||(L4=!0,console.error("React instrumentation encountered an error: %o",U))}}function X0($){return $>>>=0,$===0?32:31-(u3($)/h3|0)|0}function V0($){var U=$&42;if(U!==0)return U;switch($&-$){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return $&261888;case 262144:case 524288:case 1048576:case 2097152:return $&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return $&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return console.error("Should have found matching lanes. This is a bug in React."),$}}function U$($,U,Q){var W=$.pendingLanes;if(W===0)return 0;var M=0,_=$.suspendedLanes,k=$.pingedLanes;$=$.warmLanes;var f=W&134217727;return f!==0?(W=f&~_,W!==0?M=V0(W):(k&=f,k!==0?M=V0(k):Q||(Q=f&~$,Q!==0&&(M=V0(Q))))):(f=W&~_,f!==0?M=V0(f):k!==0?M=V0(k):Q||(Q=W&~$,Q!==0&&(M=V0(Q)))),M===0?0:U!==0&&U!==M&&(U&_)===0&&(_=M&-M,Q=U&-U,_>=Q||_===32&&(Q&4194048)!==0)?U:M}function M0($,U){return($.pendingLanes&~($.suspendedLanes&~$.pingedLanes)&U)===0}function v0($,U){switch($){case 1:case 2:case 4:case 8:case 64:return U+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return U+5000;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return console.error("Should have found matching lanes. This is a bug in React."),-1}}function L$(){var $=Uz;return Uz<<=1,(Uz&62914560)===0&&(Uz=4194304),$}function p0($){for(var U=[],Q=0;31>Q;Q++)U.push($);return U}function c0($,U){$.pendingLanes|=U,U!==268435456&&($.suspendedLanes=0,$.pingedLanes=0,$.warmLanes=0)}function i$($,U,Q,W,M,_){var k=$.pendingLanes;$.pendingLanes=Q,$.suspendedLanes=0,$.pingedLanes=0,$.warmLanes=0,$.expiredLanes&=Q,$.entangledLanes&=Q,$.errorRecoveryDisabledLanes&=Q,$.shellSuspendCounter=0;var{entanglements:f,expirationTimes:l,hiddenUpdates:o}=$;for(Q=k&~Q;0<Q;){var P0=31-S6(Q),_0=1<<P0;f[P0]=0,l[P0]=-1;var K0=o[P0];if(K0!==null)for(o[P0]=null,P0=0;P0<K0.length;P0++){var k0=K0[P0];k0!==null&&(k0.lane&=-536870913)}Q&=~_0}W!==0&&u0($,W,0),_!==0&&M===0&&$.tag!==0&&($.suspendedLanes|=_&~(k&~U))}function u0($,U,Q){$.pendingLanes|=U,$.suspendedLanes&=~U;var W=31-S6(U);$.entangledLanes|=U,$.entanglements[W]=$.entanglements[W]|1073741824|Q&261930}function h0($,U){var Q=$.entangledLanes|=U;for($=$.entanglements;Q;){var W=31-S6(Q),M=1<<W;M&U|$[W]&U&&($[W]|=U),Q&=~M}}function QU($,U){var Q=U&-U;return Q=(Q&42)!==0?1:r0(Q),(Q&($.suspendedLanes|U))!==0?0:Q}function r0($){switch($){case 2:$=1;break;case 8:$=4;break;case 32:$=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:$=128;break;case 268435456:$=134217728;break;default:$=0}return $}function o0($,U,Q){if(M4)for($=$.pendingUpdatersLaneMap;0<Q;){var W=31-S6(Q),M=1<<W;$[W].add(U),Q&=~M}}function PU($,U){if(M4)for(var{pendingUpdatersLaneMap:Q,memoizedUpdaters:W}=$;0<U;){var M=31-S6(U);$=1<<M,M=Q[M],0<M.size&&(M.forEach(function(_){var k=_.alternate;k!==null&&W.has(k)||W.add(_)}),M.clear()),U&=~$}}function m($){return $&=-$,z1!==0&&z1<$?m1!==0&&m1<$?($&134217727)!==0?A4:Xz:m1:z1}function I0(){var $=s$.p;if($!==0)return $;return $=window.event,$===void 0?A4:jP($.type)}function s0($,U){var Q=s$.p;try{return s$.p=$,U()}finally{s$.p=Q}}function j0($){delete $[M6],delete $[j6],delete $[AK],delete $[c3],delete $[p3]}function N0($){var U=$[M6];if(U)return U;for(var Q=$.parentNode;Q;){if(U=Q[vX]||Q[M6]){if(Q=U.alternate,U.child!==null||Q!==null&&Q.child!==null)for($=KP($);$!==null;){if(Q=$[M6])return Q;$=KP($)}return U}$=Q,Q=$.parentNode}return null}function F$($){if($=$[M6]||$[vX]){var U=$.tag;if(U===5||U===6||U===13||U===31||U===26||U===27||U===3)return $}return null}function x0($){var U=$.tag;if(U===5||U===26||U===27||U===6)return $.stateNode;throw Error("getNodeFromInstance: Invalid argument.")}function f0($){var U=$[mP];return U||(U=$[mP]={hoistableStyles:new Map,hoistableScripts:new Map}),U}function D$($){$[aY]=!0}function n0($,U){i0($,U),i0($+"Capture",U)}function i0($,U){BI[$]&&console.error("EventRegistry: More than one plugin attempted to publish the same registration name, `%s`.",$),BI[$]=U;var Q=$.toLowerCase();TK[Q]=$,$==="onDoubleClick"&&(TK.ondblclick=$);for($=0;$<U.length;$++)lP.add(U[$])}function VU($,U){m3[U.type]||U.onChange||U.onInput||U.readOnly||U.disabled||U.value==null||($==="select"?console.error("You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set `onChange`."):console.error("You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set either `onChange` or `readOnly`.")),U.onChange||U.readOnly||U.disabled||U.checked==null||console.error("You provided a `checked` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultChecked`. Otherwise, set either `onChange` or `readOnly`.")}function a0($){if(p1.call(nP,$))return!0;if(p1.call(dP,$))return!1;if(l3.test($))return nP[$]=!0;return dP[$]=!0,console.error("Invalid attribute name: `%s`",$),!1}function i($,U,Q){if(a0(U)){if(!$.hasAttribute(U)){switch(typeof Q){case"symbol":case"object":return Q;case"function":return Q;case"boolean":if(Q===!1)return Q}return Q===void 0?void 0:null}if($=$.getAttribute(U),$===""&&Q===!0)return!0;return n(Q,U),$===""+Q?Q:$}}function G0($,U,Q){if(a0(U))if(Q===null)$.removeAttribute(U);else{switch(typeof Q){case"undefined":case"function":case"symbol":$.removeAttribute(U);return;case"boolean":var W=U.toLowerCase().slice(0,5);if(W!=="data-"&&W!=="aria-"){$.removeAttribute(U);return}}n(Q,U),$.setAttribute(U,""+Q)}}function E0($,U,Q){if(Q===null)$.removeAttribute(U);else{switch(typeof Q){case"undefined":case"function":case"symbol":case"boolean":$.removeAttribute(U);return}n(Q,U),$.setAttribute(U,""+Q)}}function S0($,U,Q,W){if(W===null)$.removeAttribute(Q);else{switch(typeof W){case"undefined":case"function":case"symbol":case"boolean":$.removeAttribute(Q);return}n(W,Q),$.setAttributeNS(U,Q,""+W)}}function z$($){switch(typeof $){case"bigint":case"boolean":case"number":case"string":case"undefined":return $;case"object":return Y0($),$;default:return""}}function d0($){var U=$.type;return($=$.nodeName)&&$.toLowerCase()==="input"&&(U==="checkbox"||U==="radio")}function t0($,U,Q){var W=Object.getOwnPropertyDescriptor($.constructor.prototype,U);if(!$.hasOwnProperty(U)&&typeof W<"u"&&typeof W.get==="function"&&typeof W.set==="function"){var{get:M,set:_}=W;return Object.defineProperty($,U,{configurable:!0,get:function(){return M.call(this)},set:function(k){Y0(k),Q=""+k,_.call(this,k)}}),Object.defineProperty($,U,{enumerable:W.enumerable}),{getValue:function(){return Q},setValue:function(k){Y0(k),Q=""+k},stopTracking:function(){$._valueTracker=null,delete $[U]}}}}function HU($){if(!$._valueTracker){var U=d0($)?"checked":"value";$._valueTracker=t0($,U,""+$[U])}}function X$($){if(!$)return!1;var U=$._valueTracker;if(!U)return!0;var Q=U.getValue(),W="";return $&&(W=d0($)?$.checked?"true":"false":$.value),$=W,$!==Q?(U.setValue($),!0):!1}function $$($){if($=$||(typeof document<"u"?document:void 0),typeof $>"u")return null;try{return $.activeElement||$.body}catch(U){return $.body}}function e$($){return $.replace(d3,function(U){return"\\"+U.charCodeAt(0).toString(16)+" "})}function I$($,U){U.checked===void 0||U.defaultChecked===void 0||iP||(console.error("%s contains an input of type %s with both checked and defaultChecked props. Input elements must be either controlled or uncontrolled (specify either the checked prop, or the defaultChecked prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://react.dev/link/controlled-components",s()||"A component",U.type),iP=!0),U.value===void 0||U.defaultValue===void 0||oP||(console.error("%s contains an input of type %s with both value and defaultValue props. Input elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://react.dev/link/controlled-components",s()||"A component",U.type),oP=!0)}function e0($,U,Q,W,M,_,k,f){if($.name="",k!=null&&typeof k!=="function"&&typeof k!=="symbol"&&typeof k!=="boolean"?(n(k,"type"),$.type=k):$.removeAttribute("type"),U!=null)if(k==="number"){if(U===0&&$.value===""||$.value!=U)$.value=""+z$(U)}else $.value!==""+z$(U)&&($.value=""+z$(U));else k!=="submit"&&k!=="reset"||$.removeAttribute("value");U!=null?B$($,k,z$(U)):Q!=null?B$($,k,z$(Q)):W!=null&&$.removeAttribute("value"),M==null&&_!=null&&($.defaultChecked=!!_),M!=null&&($.checked=M&&typeof M!=="function"&&typeof M!=="symbol"),f!=null&&typeof f!=="function"&&typeof f!=="symbol"&&typeof f!=="boolean"?(n(f,"name"),$.name=""+z$(f)):$.removeAttribute("name")}function _U($,U,Q,W,M,_,k,f){if(_!=null&&typeof _!=="function"&&typeof _!=="symbol"&&typeof _!=="boolean"&&(n(_,"type"),$.type=_),U!=null||Q!=null){if(!(_!=="submit"&&_!=="reset"||U!==void 0&&U!==null)){HU($);return}Q=Q!=null?""+z$(Q):"",U=U!=null?""+z$(U):Q,f||U===$.value||($.value=U),$.defaultValue=U}W=W!=null?W:M,W=typeof W!=="function"&&typeof W!=="symbol"&&!!W,$.checked=f?$.checked:!!W,$.defaultChecked=!!W,k!=null&&typeof k!=="function"&&typeof k!=="symbol"&&typeof k!=="boolean"&&(n(k,"name"),$.name=k),HU($)}function B$($,U,Q){U==="number"&&$$($.ownerDocument)===$||$.defaultValue===""+Q||($.defaultValue=""+Q)}function S$($,U){U.value==null&&(typeof U.children==="object"&&U.children!==null?MQ.Children.forEach(U.children,function(Q){Q==null||typeof Q==="string"||typeof Q==="number"||typeof Q==="bigint"||tP||(tP=!0,console.error("Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to <option>."))}):U.dangerouslySetInnerHTML==null||aP||(aP=!0,console.error("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected."))),U.selected==null||rP||(console.error("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),rP=!0)}function $U(){var $=s();return $?`
34
+
35
+ Check the render method of \``+$+"`.":""}function d$($,U,Q,W){if($=$.options,U){U={};for(var M=0;M<Q.length;M++)U["$"+Q[M]]=!0;for(Q=0;Q<$.length;Q++)M=U.hasOwnProperty("$"+$[Q].value),$[Q].selected!==M&&($[Q].selected=M),M&&W&&($[Q].defaultSelected=!0)}else{Q=""+z$(Q),U=null;for(M=0;M<$.length;M++){if($[M].value===Q){$[M].selected=!0,W&&($[M].defaultSelected=!0);return}U!==null||$[M].disabled||(U=$[M])}U!==null&&(U.selected=!0)}}function bU($,U){for($=0;$<eP.length;$++){var Q=eP[$];if(U[Q]!=null){var W=Q6(U[Q]);U.multiple&&!W?console.error("The `%s` prop supplied to <select> must be an array if `multiple` is true.%s",Q,$U()):!U.multiple&&W&&console.error("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.%s",Q,$U())}}U.value===void 0||U.defaultValue===void 0||sP||(console.error("Select elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled select element and remove one of these props. More info: https://react.dev/link/controlled-components"),sP=!0)}function uU($,U){U.value===void 0||U.defaultValue===void 0||$_||(console.error("%s contains a textarea with both value and defaultValue props. Textarea elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled textarea and remove one of these props. More info: https://react.dev/link/controlled-components",s()||"A component"),$_=!0),U.children!=null&&U.value==null&&console.error("Use the `defaultValue` or `value` props instead of setting children on <textarea>.")}function hU($,U,Q){if(U!=null&&(U=""+z$(U),U!==$.value&&($.value=U),Q==null)){$.defaultValue!==U&&($.defaultValue=U);return}$.defaultValue=Q!=null?""+z$(Q):""}function cU($,U,Q,W){if(U==null){if(W!=null){if(Q!=null)throw Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(Q6(W)){if(1<W.length)throw Error("<textarea> can only have at most one child.");W=W[0]}Q=W}Q==null&&(Q=""),U=Q}Q=z$(U),$.defaultValue=Q,W=$.textContent,W===Q&&W!==""&&W!==null&&($.value=W),HU($)}function pU($,U){return $.serverProps===void 0&&$.serverTail.length===0&&$.children.length===1&&3<$.distanceFromLeaf&&$.distanceFromLeaf>15-U?pU($.children[0],U):$}function r$($){return" "+" ".repeat($)}function LU($){return"+ "+" ".repeat($)}function DU($){return"- "+" ".repeat($)}function mU($){switch($.tag){case 26:case 27:case 5:return $.type;case 16:return"Lazy";case 31:return"Activity";case 13:return"Suspense";case 19:return"SuspenseList";case 0:case 15:return $=$.type,$.displayName||$.name||null;case 11:return $=$.type.render,$.displayName||$.name||null;case 1:return $=$.type,$.displayName||$.name||null;default:return null}}function EU($,U){return U_.test($)?($=JSON.stringify($),$.length>U-2?8>U?'{"..."}':"{"+$.slice(0,U-7)+'..."}':"{"+$+"}"):$.length>U?5>U?'{"..."}':$.slice(0,U-3)+"...":$}function NU($,U,Q){var W=120-2*Q;if(U===null)return LU(Q)+EU($,W)+`
36
+ `;if(typeof U==="string"){for(var M=0;M<U.length&&M<$.length&&U.charCodeAt(M)===$.charCodeAt(M);M++);return M>W-8&&10<M&&($="..."+$.slice(M-8),U="..."+U.slice(M-8)),LU(Q)+EU($,W)+`
37
+ `+DU(Q)+EU(U,W)+`
38
+ `}return r$(Q)+EU($,W)+`
39
+ `}function xU($){return Object.prototype.toString.call($).replace(/^\[object (.*)\]$/,function(U,Q){return Q})}function RU($,U){switch(typeof $){case"string":return $=JSON.stringify($),$.length>U?5>U?'"..."':$.slice(0,U-4)+'..."':$;case"object":if($===null)return"null";if(Q6($))return"[...]";if($.$$typeof===W4)return(U=L0($.type))?"<"+U+">":"<...>";var Q=xU($);if(Q==="Object"){Q="",U-=2;for(var W in $)if($.hasOwnProperty(W)){var M=JSON.stringify(W);if(M!=='"'+W+'"'&&(W=M),U-=W.length-2,M=RU($[W],15>U?U:15),U-=M.length,0>U){Q+=Q===""?"...":", ...";break}Q+=(Q===""?"":",")+W+":"+M}return"{"+Q+"}"}return Q;case"function":return(U=$.displayName||$.name)?"function "+U:"function";default:return String($)}}function MU($,U){return typeof $!=="string"||U_.test($)?"{"+RU($,U-2)+"}":$.length>U-2?5>U?'"..."':'"'+$.slice(0,U-5)+'..."':'"'+$+'"'}function KI($,U,Q){var W=120-Q.length-$.length,M=[],_;for(_ in U)if(U.hasOwnProperty(_)&&_!=="children"){var k=MU(U[_],120-Q.length-_.length-1);W-=_.length+k.length+2,M.push(_+"="+k)}return M.length===0?Q+"<"+$+`>
40
+ `:0<W?Q+"<"+$+" "+M.join(" ")+`>
41
+ `:Q+"<"+$+`
42
+ `+Q+" "+M.join(`
43
+ `+Q+" ")+`
44
+ `+Q+`>
45
+ `}function KY($,U,Q){var W="",M=y$({},U),_;for(_ in $)if($.hasOwnProperty(_)){delete M[_];var k=120-2*Q-_.length-2,f=RU($[_],k);U.hasOwnProperty(_)?(k=RU(U[_],k),W+=LU(Q)+_+": "+f+`
46
+ `,W+=DU(Q)+_+": "+k+`
47
+ `):W+=LU(Q)+_+": "+f+`
48
+ `}for(var l in M)M.hasOwnProperty(l)&&($=RU(M[l],120-2*Q-l.length-2),W+=DU(Q)+l+": "+$+`
49
+ `);return W}function WY($,U,Q,W){var M="",_=new Map;for(o in Q)Q.hasOwnProperty(o)&&_.set(o.toLowerCase(),o);if(_.size===1&&_.has("children"))M+=KI($,U,r$(W));else{for(var k in U)if(U.hasOwnProperty(k)&&k!=="children"){var f=120-2*(W+1)-k.length-1,l=_.get(k.toLowerCase());if(l!==void 0){_.delete(k.toLowerCase());var o=U[k];l=Q[l];var P0=MU(o,f);f=MU(l,f),typeof o==="object"&&o!==null&&typeof l==="object"&&l!==null&&xU(o)==="Object"&&xU(l)==="Object"&&(2<Object.keys(o).length||2<Object.keys(l).length||-1<P0.indexOf("...")||-1<f.indexOf("..."))?M+=r$(W+1)+k+`={{
50
+ `+KY(o,l,W+2)+r$(W+1)+`}}
51
+ `:(M+=LU(W+1)+k+"="+P0+`
52
+ `,M+=DU(W+1)+k+"="+f+`
53
+ `)}else M+=r$(W+1)+k+"="+MU(U[k],f)+`
54
+ `}_.forEach(function(_0){if(_0!=="children"){var K0=120-2*(W+1)-_0.length-1;M+=DU(W+1)+_0+"="+MU(Q[_0],K0)+`
55
+ `}}),M=M===""?r$(W)+"<"+$+`>
56
+ `:r$(W)+"<"+$+`
57
+ `+M+r$(W)+`>
58
+ `}if($=Q.children,U=U.children,typeof $==="string"||typeof $==="number"||typeof $==="bigint"){if(_="",typeof U==="string"||typeof U==="number"||typeof U==="bigint")_=""+U;M+=NU(_,""+$,W+1)}else if(typeof U==="string"||typeof U==="number"||typeof U==="bigint")M=$==null?M+NU(""+U,null,W+1):M+NU(""+U,void 0,W+1);return M}function tM($,U){var Q=mU($);if(Q===null){Q="";for($=$.child;$;)Q+=tM($,U),$=$.sibling;return Q}return r$(U)+"<"+Q+`>
59
+ `}function QD($,U){var Q=pU($,U);if(Q!==$&&($.children.length!==1||$.children[0]!==Q))return r$(U)+`...
60
+ `+QD(Q,U+1);Q="";var W=$.fiber._debugInfo;if(W)for(var M=0;M<W.length;M++){var _=W[M].name;typeof _==="string"&&(Q+=r$(U)+"<"+_+`>
61
+ `,U++)}if(W="",M=$.fiber.pendingProps,$.fiber.tag===6)W=NU(M,$.serverProps,U),U++;else if(_=mU($.fiber),_!==null)if($.serverProps===void 0){W=U;var k=120-2*W-_.length-2,f="";for(o in M)if(M.hasOwnProperty(o)&&o!=="children"){var l=MU(M[o],15);if(k-=o.length+l.length+2,0>k){f+=" ...";break}f+=" "+o+"="+l}W=r$(W)+"<"+_+f+`>
62
+ `,U++}else $.serverProps===null?(W=KI(_,M,LU(U)),U++):typeof $.serverProps==="string"?console.error("Should not have matched a non HostText fiber to a Text node. This is a bug in React."):(W=WY(_,M,$.serverProps,U),U++);var o="";M=$.fiber.child;for(_=0;M&&_<$.children.length;)k=$.children[_],k.fiber===M?(o+=QD(k,U),_++):o+=tM(M,U),M=M.sibling;M&&0<$.children.length&&(o+=r$(U)+`...
63
+ `),M=$.serverTail,$.serverProps===null&&U--;for($=0;$<M.length;$++)_=M[$],o=typeof _==="string"?o+(DU(U)+EU(_,120-2*U)+`
64
+ `):o+KI(_.type,_.props,DU(U));return Q+W+o}function YD($){try{return`
65
+
66
+ `+QD($,0)}catch(U){return""}}function aM($,U,Q){for(var W=U,M=null,_=0;W;)W===$&&(_=0),M={fiber:W,children:M!==null?[M]:[],serverProps:W===U?Q:W===$?null:void 0,serverTail:[],distanceFromLeaf:_},_++,W=W.return;return M!==null?YD(M).replaceAll(/^[+-]/gm,">"):""}function sM($,U){var Q=y$({},$||I_),W={tag:U};if(X_.indexOf(U)!==-1&&(Q.aTagInScope=null,Q.buttonTagInScope=null,Q.nobrTagInScope=null),o3.indexOf(U)!==-1&&(Q.pTagInButtonScope=null),n3.indexOf(U)!==-1&&U!=="address"&&U!=="div"&&U!=="p"&&(Q.listItemTagAutoclosing=null,Q.dlItemTagAutoclosing=null),Q.current=W,U==="form"&&(Q.formTag=W),U==="a"&&(Q.aTagInScope=W),U==="button"&&(Q.buttonTagInScope=W),U==="nobr"&&(Q.nobrTagInScope=W),U==="p"&&(Q.pTagInButtonScope=W),U==="li"&&(Q.listItemTagAutoclosing=W),U==="dd"||U==="dt")Q.dlItemTagAutoclosing=W;return U==="#document"||U==="html"?Q.containerTagInScope=null:Q.containerTagInScope||(Q.containerTagInScope=W),$!==null||U!=="#document"&&U!=="html"&&U!=="body"?Q.implicitRootScope===!0&&(Q.implicitRootScope=!1):Q.implicitRootScope=!0,Q}function eM($,U,Q){switch(U){case"select":return $==="hr"||$==="option"||$==="optgroup"||$==="script"||$==="template"||$==="#text";case"optgroup":return $==="option"||$==="#text";case"option":return $==="#text";case"tr":return $==="th"||$==="td"||$==="style"||$==="script"||$==="template";case"tbody":case"thead":case"tfoot":return $==="tr"||$==="style"||$==="script"||$==="template";case"colgroup":return $==="col"||$==="template";case"table":return $==="caption"||$==="colgroup"||$==="tbody"||$==="tfoot"||$==="thead"||$==="style"||$==="script"||$==="template";case"head":return $==="base"||$==="basefont"||$==="bgsound"||$==="link"||$==="meta"||$==="title"||$==="noscript"||$==="noframes"||$==="style"||$==="script"||$==="template";case"html":if(Q)break;return $==="head"||$==="body"||$==="frameset";case"frameset":return $==="frame";case"#document":if(!Q)return $==="html"}switch($){case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return U!=="h1"&&U!=="h2"&&U!=="h3"&&U!=="h4"&&U!=="h5"&&U!=="h6";case"rp":case"rt":return i3.indexOf(U)===-1;case"caption":case"col":case"colgroup":case"frameset":case"frame":case"tbody":case"td":case"tfoot":case"th":case"thead":case"tr":return U==null;case"head":return Q||U===null;case"html":return Q&&U==="#document"||U===null;case"body":return Q&&(U==="#document"||U==="html")||U===null}return!0}function mN($,U){switch($){case"address":case"article":case"aside":case"blockquote":case"center":case"details":case"dialog":case"dir":case"div":case"dl":case"fieldset":case"figcaption":case"figure":case"footer":case"header":case"hgroup":case"main":case"menu":case"nav":case"ol":case"p":case"section":case"summary":case"ul":case"pre":case"listing":case"table":case"hr":case"xmp":case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return U.pTagInButtonScope;case"form":return U.formTag||U.pTagInButtonScope;case"li":return U.listItemTagAutoclosing;case"dd":case"dt":return U.dlItemTagAutoclosing;case"button":return U.buttonTagInScope;case"a":return U.aTagInScope;case"nobr":return U.nobrTagInScope}return null}function $A($,U){for(;$;){switch($.tag){case 5:case 26:case 27:if($.type===U)return $}$=$.return}return null}function GD($,U){U=U||I_;var Q=U.current;if(U=(Q=eM($,Q&&Q.tag,U.implicitRootScope)?null:Q)?null:mN($,U),U=Q||U,!U)return!0;var W=U.tag;if(U=String(!!Q)+"|"+$+"|"+W,Iz[U])return!1;Iz[U]=!0;var M=(U=Z1)?$A(U.return,W):null,_=U!==null&&M!==null?aM(M,U,null):"",k="<"+$+">";return Q?(Q="",W==="table"&&$==="tr"&&(Q+=" Add a <tbody>, <thead> or <tfoot> to your code to match the DOM tree generated by the browser."),console.error(`In HTML, %s cannot be a child of <%s>.%s
67
+ This will cause a hydration error.%s`,k,W,Q,_)):console.error(`In HTML, %s cannot be a descendant of <%s>.
68
+ This will cause a hydration error.%s`,k,W,_),U&&($=U.return,M===null||$===null||M===$&&$._debugOwner===U._debugOwner||J0(M,function(){console.error(`<%s> cannot contain a nested %s.
69
+ See this log for the ancestor stack trace.`,W,k)})),!1}function n2($,U,Q){if(Q||eM("#text",U,!1))return!0;if(Q="#text|"+U,Iz[Q])return!1;Iz[Q]=!0;var W=(Q=Z1)?$A(Q,U):null;return Q=Q!==null&&W!==null?aM(W,Q,Q.tag!==6?{children:null}:null):"",/\S/.test($)?console.error(`In HTML, text nodes cannot be a child of <%s>.
70
+ This will cause a hydration error.%s`,U,Q):console.error(`In HTML, whitespace text nodes cannot be a child of <%s>. Make sure you don't have any extra whitespace between tags on each line of your source code.
71
+ This will cause a hydration error.%s`,U,Q),!1}function FY($,U){if(U){var Q=$.firstChild;if(Q&&Q===$.lastChild&&Q.nodeType===3){Q.nodeValue=U;return}}$.textContent=U}function lN($){return $.replace(a3,function(U,Q){return Q.toUpperCase()})}function UA($,U,Q){var W=U.indexOf("--")===0;W||(-1<U.indexOf("-")?bJ.hasOwnProperty(U)&&bJ[U]||(bJ[U]=!0,console.error("Unsupported style property %s. Did you mean %s?",U,lN(U.replace(t3,"ms-")))):r3.test(U)?bJ.hasOwnProperty(U)&&bJ[U]||(bJ[U]=!0,console.error("Unsupported vendor-prefixed style property %s. Did you mean %s?",U,U.charAt(0).toUpperCase()+U.slice(1))):!Y_.test(Q)||PK.hasOwnProperty(Q)&&PK[Q]||(PK[Q]=!0,console.error(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,U,Q.replace(Y_,""))),typeof Q==="number"&&(isNaN(Q)?G_||(G_=!0,console.error("`NaN` is an invalid value for the `%s` css style property.",U)):isFinite(Q)||Z_||(Z_=!0,console.error("`Infinity` is an invalid value for the `%s` css style property.",U)))),Q==null||typeof Q==="boolean"||Q===""?W?$.setProperty(U,""):U==="float"?$.cssFloat="":$[U]="":W?$.setProperty(U,Q):typeof Q!=="number"||Q===0||z_.has(U)?U==="float"?$.cssFloat=Q:(H0(Q,U),$[U]=(""+Q).trim()):$[U]=Q+"px"}function XA($,U,Q){if(U!=null&&typeof U!=="object")throw Error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.");if(U&&Object.freeze(U),$=$.style,Q!=null){if(U){var W={};if(Q){for(var M in Q)if(Q.hasOwnProperty(M)&&!U.hasOwnProperty(M))for(var _=CK[M]||[M],k=0;k<_.length;k++)W[_[k]]=M}for(var f in U)if(U.hasOwnProperty(f)&&(!Q||Q[f]!==U[f]))for(M=CK[f]||[f],_=0;_<M.length;_++)W[M[_]]=f;f={};for(var l in U)for(M=CK[l]||[l],_=0;_<M.length;_++)f[M[_]]=l;l={};for(var o in W)if(M=W[o],(_=f[o])&&M!==_&&(k=M+","+_,!l[k])){l[k]=!0,k=console;var P0=U[M];k.error.call(k,"%s a style property during rerender (%s) when a conflicting property is set (%s) can lead to styling bugs. To avoid this, don't mix shorthand and non-shorthand properties for the same value; instead, replace the shorthand with separate values.",P0==null||typeof P0==="boolean"||P0===""?"Removing":"Updating",M,_)}}for(var _0 in Q)!Q.hasOwnProperty(_0)||U!=null&&U.hasOwnProperty(_0)||(_0.indexOf("--")===0?$.setProperty(_0,""):_0==="float"?$.cssFloat="":$[_0]="");for(var K0 in U)o=U[K0],U.hasOwnProperty(K0)&&Q[K0]!==o&&UA($,K0,o)}else for(W in U)U.hasOwnProperty(W)&&UA($,W,U[W])}function HY($){if($.indexOf("-")===-1)return!1;switch($){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}function IA($){return s3.get($)||$}function dN($,U){if(p1.call(hJ,U)&&hJ[U])return!0;if($k.test(U)){if($="aria-"+U.slice(4).toLowerCase(),$=O_.hasOwnProperty($)?$:null,$==null)return console.error("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",U),hJ[U]=!0;if(U!==$)return console.error("Invalid ARIA attribute `%s`. Did you mean `%s`?",U,$),hJ[U]=!0}if(e3.test(U)){if($=U.toLowerCase(),$=O_.hasOwnProperty($)?$:null,$==null)return hJ[U]=!0,!1;U!==$&&(console.error("Unknown ARIA attribute `%s`. Did you mean `%s`?",U,$),hJ[U]=!0)}return!0}function nN($,U){var Q=[],W;for(W in U)dN($,W)||Q.push(W);U=Q.map(function(M){return"`"+M+"`"}).join(", "),Q.length===1?console.error("Invalid aria prop %s on <%s> tag. For details, see https://react.dev/link/invalid-aria-props",U,$):1<Q.length&&console.error("Invalid aria props %s on <%s> tag. For details, see https://react.dev/link/invalid-aria-props",U,$)}function oN($,U,Q,W){if(p1.call(B6,U)&&B6[U])return!0;var M=U.toLowerCase();if(M==="onfocusin"||M==="onfocusout")return console.error("React uses onFocus and onBlur instead of onFocusIn and onFocusOut. All React events are normalized to bubble, so onFocusIn and onFocusOut are not needed/supported by React."),B6[U]=!0;if(typeof Q==="function"&&($==="form"&&U==="action"||$==="input"&&U==="formAction"||$==="button"&&U==="formAction"))return!0;if(W!=null){if($=W.possibleRegistrationNames,W.registrationNameDependencies.hasOwnProperty(U))return!0;if(W=$.hasOwnProperty(M)?$[M]:null,W!=null)return console.error("Invalid event handler property `%s`. Did you mean `%s`?",U,W),B6[U]=!0;if(D_.test(U))return console.error("Unknown event handler property `%s`. It will be ignored.",U),B6[U]=!0}else if(D_.test(U))return Uk.test(U)&&console.error("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",U),B6[U]=!0;if(Xk.test(U)||Ik.test(U))return!0;if(M==="innerhtml")return console.error("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),B6[U]=!0;if(M==="aria")return console.error("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),B6[U]=!0;if(M==="is"&&Q!==null&&Q!==void 0&&typeof Q!=="string")return console.error("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof Q),B6[U]=!0;if(typeof Q==="number"&&isNaN(Q))return console.error("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",U),B6[U]=!0;if(Qz.hasOwnProperty(M)){if(M=Qz[M],M!==U)return console.error("Invalid DOM property `%s`. Did you mean `%s`?",U,M),B6[U]=!0}else if(U!==M)return console.error("React does not recognize the `%s` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `%s` instead. If you accidentally passed it from a parent component, remove it from the DOM element.",U,M),B6[U]=!0;switch(U){case"dangerouslySetInnerHTML":case"children":case"style":case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":return!0;case"innerText":case"textContent":return!0}switch(typeof Q){case"boolean":switch(U){case"autoFocus":case"checked":case"multiple":case"muted":case"selected":case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":case"capture":case"download":case"inert":return!0;default:if(M=U.toLowerCase().slice(0,5),M==="data-"||M==="aria-")return!0;return Q?console.error('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.',Q,U,U,Q,U):console.error('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.',Q,U,U,Q,U,U,U),B6[U]=!0}case"function":case"symbol":return B6[U]=!0,!1;case"string":if(Q==="false"||Q==="true"){switch(U){case"checked":case"selected":case"multiple":case"muted":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":case"inert":break;default:return!0}console.error("Received the string `%s` for the boolean attribute `%s`. %s Did you mean %s={%s}?",Q,U,Q==="false"?"The browser will interpret it as a truthy value.":'Although this works, it will not work as expected if you pass the string "false".',U,Q),B6[U]=!0}}return!0}function iN($,U,Q){var W=[],M;for(M in U)oN($,M,U[M],Q)||W.push(M);U=W.map(function(_){return"`"+_+"`"}).join(", "),W.length===1?console.error("Invalid value for prop %s on <%s> tag. Either remove it from the element, or pass a string or number value to keep it in the DOM. For details, see https://react.dev/link/attribute-behavior ",U,$):1<W.length&&console.error("Invalid values for props %s on <%s> tag. Either remove them from the element, or pass a string or number value to keep them in the DOM. For details, see https://react.dev/link/attribute-behavior ",U,$)}function LY($){return Jk.test(""+$)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":$}function w4(){}function ZD($){return $=$.target||$.srcElement||window,$.correspondingUseElement&&($=$.correspondingUseElement),$.nodeType===3?$.parentNode:$}function JA($){var U=F$($);if(U&&($=U.stateNode)){var Q=$[j6]||null;$:switch($=U.stateNode,U.type){case"input":if(e0($,Q.value,Q.defaultValue,Q.defaultValue,Q.checked,Q.defaultChecked,Q.type,Q.name),U=Q.name,Q.type==="radio"&&U!=null){for(Q=$;Q.parentNode;)Q=Q.parentNode;n(U,"name"),Q=Q.querySelectorAll('input[name="'+e$(""+U)+'"][type="radio"]');for(U=0;U<Q.length;U++){var W=Q[U];if(W!==$&&W.form===$.form){var M=W[j6]||null;if(!M)throw Error("ReactDOMInput: Mixing React and non-React radio inputs with the same `name` is not supported.");e0(W,M.value,M.defaultValue,M.defaultValue,M.checked,M.defaultChecked,M.type,M.name)}}for(U=0;U<Q.length;U++)W=Q[U],W.form===$.form&&X$(W)}break $;case"textarea":hU($,Q.value,Q.defaultValue);break $;case"select":U=Q.value,U!=null&&d$($,!!Q.multiple,U,!1)}}}function QA($,U,Q){if(_K)return $(U,Q);_K=!0;try{var W=$(U);return W}finally{if(_K=!1,cJ!==null||pJ!==null){if(BJ(),cJ&&(U=cJ,$=pJ,pJ=cJ=null,JA(U),$))for(U=0;U<$.length;U++)JA($[U])}}}function MY($,U){var Q=$.stateNode;if(Q===null)return null;var W=Q[j6]||null;if(W===null)return null;Q=W[U];$:switch(U){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(W=!W.disabled)||($=$.type,W=!($==="button"||$==="input"||$==="select"||$==="textarea")),$=!W;break $;default:$=!1}if($)return null;if(Q&&typeof Q!=="function")throw Error("Expected `"+U+"` listener to be a function, instead got a value of `"+typeof Q+"` type.");return Q}function YA(){if(Yz)return Yz;var $,U=RK,Q=U.length,W,M="value"in NX?NX.value:NX.textContent,_=M.length;for($=0;$<Q&&U[$]===M[$];$++);var k=Q-$;for(W=1;W<=k&&U[Q-W]===M[_-W];W++);return Yz=M.slice($,1<W?1-W:void 0)}function o2($){var U=$.keyCode;return"charCode"in $?($=$.charCode,$===0&&U===13&&($=13)):$=U,$===10&&($=13),32<=$||$===13?$:0}function i2(){return!0}function GA(){return!1}function p6($){function U(Q,W,M,_,k){this._reactName=Q,this._targetInst=M,this.type=W,this.nativeEvent=_,this.target=k,this.currentTarget=null;for(var f in $)$.hasOwnProperty(f)&&(Q=$[f],this[f]=Q?Q(_):_[f]);return this.isDefaultPrevented=(_.defaultPrevented!=null?_.defaultPrevented:_.returnValue===!1)?i2:GA,this.isPropagationStopped=GA,this}return y$(U.prototype,{preventDefault:function(){this.defaultPrevented=!0;var Q=this.nativeEvent;Q&&(Q.preventDefault?Q.preventDefault():typeof Q.returnValue!=="unknown"&&(Q.returnValue=!1),this.isDefaultPrevented=i2)},stopPropagation:function(){var Q=this.nativeEvent;Q&&(Q.stopPropagation?Q.stopPropagation():typeof Q.cancelBubble!=="unknown"&&(Q.cancelBubble=!0),this.isPropagationStopped=i2)},persist:function(){},isPersistent:i2}),U}function rN($){var U=this.nativeEvent;return U.getModifierState?U.getModifierState($):($=Lk[$])?!!U[$]:!1}function zD(){return rN}function ZA($,U){switch($){case"keyup":return vk.indexOf(U.keyCode)!==-1;case"keydown":return U.keyCode!==H_;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function zA($){return $=$.detail,typeof $==="object"&&"data"in $?$.data:null}function tN($,U){switch($){case"compositionend":return zA(U);case"keypress":if(U.which!==M_)return null;return T_=!0,A_;case"textInput":return $=U.data,$===A_&&T_?null:$;default:return null}}function aN($,U){if(mJ)return $==="compositionend"||!vK&&ZA($,U)?($=YA(),Yz=RK=NX=null,mJ=!1,$):null;switch($){case"paste":return null;case"keypress":if(!(U.ctrlKey||U.altKey||U.metaKey)||U.ctrlKey&&U.altKey){if(U.char&&1<U.char.length)return U.char;if(U.which)return String.fromCharCode(U.which)}return null;case"compositionend":return L_&&U.locale!=="ko"?null:U.data;default:return null}}function OA($){var U=$&&$.nodeName&&$.nodeName.toLowerCase();return U==="input"?!!qk[$.type]:U==="textarea"?!0:!1}function sN($){if(!T4)return!1;$="on"+$;var U=$ in document;return U||(U=document.createElement("div"),U.setAttribute($,"return;"),U=typeof U[$]==="function"),U}function VA($,U,Q,W){cJ?pJ?pJ.push(W):pJ=[W]:cJ=W,U=hZ(U,"onChange"),0<U.length&&(Q=new Gz("onChange","change",null,Q,W),$.push({event:Q,listeners:U}))}function eN($){oC($,0)}function r2($){var U=x0($);if(X$(U))return $}function DA($,U){if($==="change")return U}function KA(){IG&&(IG.detachEvent("onpropertychange",WA),JG=IG=null)}function WA($){if($.propertyName==="value"&&r2(JG)){var U=[];VA(U,JG,$,ZD($)),QA(eN,U)}}function $q($,U,Q){$==="focusin"?(KA(),IG=U,JG=Q,IG.attachEvent("onpropertychange",WA)):$==="focusout"&&KA()}function Uq($){if($==="selectionchange"||$==="keyup"||$==="keydown")return r2(JG)}function Xq($,U){if($==="click")return r2(U)}function Iq($,U){if($==="input"||$==="change")return r2(U)}function Jq($,U){return $===U&&($!==0||1/$===1/U)||$!==$&&U!==U}function AY($,U){if(v6($,U))return!0;if(typeof $!=="object"||$===null||typeof U!=="object"||U===null)return!1;var Q=Object.keys($),W=Object.keys(U);if(Q.length!==W.length)return!1;for(W=0;W<Q.length;W++){var M=Q[W];if(!p1.call(U,M)||!v6($[M],U[M]))return!1}return!0}function FA($){for(;$&&$.firstChild;)$=$.firstChild;return $}function HA($,U){var Q=FA($);$=0;for(var W;Q;){if(Q.nodeType===3){if(W=$+Q.textContent.length,$<=U&&W>=U)return{node:Q,offset:U-$};$=W}$:{for(;Q;){if(Q.nextSibling){Q=Q.nextSibling;break $}Q=Q.parentNode}Q=void 0}Q=FA(Q)}}function LA($,U){return $&&U?$===U?!0:$&&$.nodeType===3?!1:U&&U.nodeType===3?LA($,U.parentNode):("contains"in $)?$.contains(U):$.compareDocumentPosition?!!($.compareDocumentPosition(U)&16):!1:!1}function MA($){$=$!=null&&$.ownerDocument!=null&&$.ownerDocument.defaultView!=null?$.ownerDocument.defaultView:window;for(var U=$$($.document);U instanceof $.HTMLIFrameElement;){try{var Q=typeof U.contentWindow.location.href==="string"}catch(W){Q=!1}if(Q)$=U.contentWindow;else break;U=$$($.document)}return U}function OD($){var U=$&&$.nodeName&&$.nodeName.toLowerCase();return U&&(U==="input"&&($.type==="text"||$.type==="search"||$.type==="tel"||$.type==="url"||$.type==="password")||U==="textarea"||$.contentEditable==="true")}function AA($,U,Q){var W=Q.window===Q?Q.document:Q.nodeType===9?Q:Q.ownerDocument;qK||lJ==null||lJ!==$$(W)||(W=lJ,("selectionStart"in W)&&OD(W)?W={start:W.selectionStart,end:W.selectionEnd}:(W=(W.ownerDocument&&W.ownerDocument.defaultView||window).getSelection(),W={anchorNode:W.anchorNode,anchorOffset:W.anchorOffset,focusNode:W.focusNode,focusOffset:W.focusOffset}),QG&&AY(QG,W)||(QG=W,W=hZ(NK,"onSelect"),0<W.length&&(U=new Gz("onSelect","select",null,U,Q),$.push({event:U,listeners:W}),U.target=lJ)))}function WI($,U){var Q={};return Q[$.toLowerCase()]=U.toLowerCase(),Q["Webkit"+$]="webkit"+U,Q["Moz"+$]="moz"+U,Q}function FI($){if(kK[$])return kK[$];if(!dJ[$])return $;var U=dJ[$],Q;for(Q in U)if(U.hasOwnProperty(Q)&&Q in P_)return kK[$]=U[Q];return $}function u1($,U){j_.set($,U),n0(U,[$])}function Qq($){for(var U=zz,Q=0;Q<$.length;Q++){var W=$[Q];if(typeof W==="object"&&W!==null)if(Q6(W)&&W.length===2&&typeof W[0]==="string"){if(U!==zz&&U!==yK)return wK;U=yK}else return wK;else{if(typeof W==="function"||typeof W==="string"&&50<W.length||U!==zz&&U!==fK)return wK;U=fK}}return U}function VD($,U,Q,W){for(var M in $)p1.call($,M)&&M[0]!=="_"&&s1(M,$[M],U,Q,W)}function s1($,U,Q,W,M){switch(typeof U){case"object":if(U===null){U="null";break}else{if(U.$$typeof===W4){var _=L0(U.type)||"…",k=U.key;U=U.props;var f=Object.keys(U),l=f.length;if(k==null&&l===0){U="<"+_+" />";break}if(3>W||l===1&&f[0]==="children"&&k==null){U="<"+_+" … />";break}Q.push([M+"  ".repeat(W)+$,"<"+_]),k!==null&&s1("key",k,Q,W+1,M),$=!1;for(var o in U)o==="children"?U.children!=null&&(!Q6(U.children)||0<U.children.length)&&($=!0):p1.call(U,o)&&o[0]!=="_"&&s1(o,U[o],Q,W+1,M);Q.push(["",$?">…</"+_+">":"/>"]);return}if(_=Object.prototype.toString.call(U),_=_.slice(8,_.length-1),_==="Array"){if(o=Qq(U),o===fK||o===zz){U=JSON.stringify(U);break}else if(o===yK){Q.push([M+"  ".repeat(W)+$,""]);for($=0;$<U.length;$++)_=U[$],s1(_[0],_[1],Q,W+1,M);return}}if(_==="Promise"){if(U.status==="fulfilled"){if(_=Q.length,s1($,U.value,Q,W,M),Q.length>_){Q=Q[_],Q[1]="Promise<"+(Q[1]||"Object")+">";return}}else if(U.status==="rejected"&&(_=Q.length,s1($,U.reason,Q,W,M),Q.length>_)){Q=Q[_],Q[1]="Rejected Promise<"+Q[1]+">";return}Q.push(["  ".repeat(W)+$,"Promise"]);return}_==="Object"&&(o=Object.getPrototypeOf(U))&&typeof o.constructor==="function"&&(_=o.constructor.name),Q.push([M+"  ".repeat(W)+$,_==="Object"?3>W?"":"…":_]),3>W&&VD(U,Q,W+1,M);return}case"function":U=U.name===""?"() => {}":U.name+"() {}";break;case"string":U=U===bk?"…":JSON.stringify(U);break;case"undefined":U="undefined";break;case"boolean":U=U?"true":"false";break;default:U=String(U)}Q.push([M+"  ".repeat(W)+$,U])}function TA($,U,Q,W){var M=!0;for(k in $)k in U||(Q.push([Oz+"  ".repeat(W)+k,"…"]),M=!1);for(var _ in U)if(_ in $){var k=$[_],f=U[_];if(k!==f){if(W===0&&_==="children")M="  ".repeat(W)+_,Q.push([Oz+M,"…"],[Vz+M,"…"]);else{if(!(3<=W)){if(typeof k==="object"&&typeof f==="object"&&k!==null&&f!==null&&k.$$typeof===f.$$typeof)if(f.$$typeof===W4){if(k.type===f.type&&k.key===f.key){k=L0(f.type)||"…",M="  ".repeat(W)+_,k="<"+k+" … />",Q.push([Oz+M,k],[Vz+M,k]),M=!1;continue}}else{var l=Object.prototype.toString.call(k),o=Object.prototype.toString.call(f);if(l===o&&(o==="[object Object]"||o==="[object Array]")){l=[N_+"  ".repeat(W)+_,o==="[object Array]"?"Array":""],Q.push(l),o=Q.length,TA(k,f,Q,W+1)?o===Q.length&&(l[1]="Referentially unequal but deeply equal objects. Consider memoization."):M=!1;continue}}else if(typeof k==="function"&&typeof f==="function"&&k.name===f.name&&k.length===f.length&&(l=Function.prototype.toString.call(k),o=Function.prototype.toString.call(f),l===o)){k=f.name===""?"() => {}":f.name+"() {}",Q.push([N_+"  ".repeat(W)+_,k+" Referentially unequal function closure. Consider memoization."]);continue}}s1(_,k,Q,W,Oz),s1(_,f,Q,W,Vz)}M=!1}}else Q.push([Vz+"  ".repeat(W)+_,"…"]),M=!1;return M}function $1($){u$=$&63?"Blocking":$&64?"Gesture":$&4194176?"Transition":$&62914560?"Suspense":$&2080374784?"Idle":"Other"}function e1($,U,Q,W){AU&&(kX.start=U,kX.end=Q,l4.color="warning",l4.tooltipText=W,l4.properties=null,($=$._debugTask)?$.run(performance.measure.bind(performance,W,kX)):performance.measure(W,kX))}function t2($,U,Q){e1($,U,Q,"Reconnect")}function a2($,U,Q,W,M){var _=t($);if(_!==null&&AU){var{alternate:k,actualDuration:f}=$;if(k===null||k.child!==$.child)for(var l=$.child;l!==null;l=l.sibling)f-=l.actualDuration;W=0.5>f?W?"tertiary-light":"primary-light":10>f?W?"tertiary":"primary":100>f?W?"tertiary-dark":"primary-dark":"error";var o=$.memoizedProps;f=$._debugTask,o!==null&&k!==null&&k.memoizedProps!==o?(l=[uk],o=TA(k.memoizedProps,o,l,0),1<l.length&&(o&&!qX&&(k.lanes&M)===0&&100<$.actualDuration?(qX=!0,l[0]=hk,l4.color="warning",l4.tooltipText=q_):(l4.color=W,l4.tooltipText=_),l4.properties=l,kX.start=U,kX.end=Q,f!=null?f.run(performance.measure.bind(performance,"​"+_,kX)):performance.measure("​"+_,kX))):f!=null?f.run(console.timeStamp.bind(console,_,U,Q,_1,void 0,W)):console.timeStamp(_,U,Q,_1,void 0,W)}}function DD($,U,Q,W){if(AU){var M=t($);if(M!==null){for(var _=null,k=[],f=0;f<W.length;f++){var l=W[f];_==null&&l.source!==null&&(_=l.source._debugTask),l=l.value,k.push(["Error",typeof l==="object"&&l!==null&&typeof l.message==="string"?String(l.message):String(l)])}$.key!==null&&s1("key",$.key,k,0,""),$.memoizedProps!==null&&VD($.memoizedProps,k,0,""),_==null&&(_=$._debugTask),$={start:U,end:Q,detail:{devtools:{color:"error",track:_1,tooltipText:$.tag===13?"Hydration failed":"Error boundary caught an error",properties:k}}},_?_.run(performance.measure.bind(performance,"​"+M,$)):performance.measure("​"+M,$)}}}function $4($,U,Q,W,M){if(M!==null){if(AU){var _=t($);if(_!==null){W=[];for(var k=0;k<M.length;k++){var f=M[k].value;W.push(["Error",typeof f==="object"&&f!==null&&typeof f.message==="string"?String(f.message):String(f)])}$.key!==null&&s1("key",$.key,W,0,""),$.memoizedProps!==null&&VD($.memoizedProps,W,0,""),U={start:U,end:Q,detail:{devtools:{color:"error",track:_1,tooltipText:"A lifecycle or effect errored",properties:W}}},($=$._debugTask)?$.run(performance.measure.bind(performance,"​"+_,U)):performance.measure("​"+_,U)}}}else _=t($),_!==null&&AU&&(M=1>W?"secondary-light":100>W?"secondary":500>W?"secondary-dark":"error",($=$._debugTask)?$.run(console.timeStamp.bind(console,_,U,Q,_1,void 0,M)):console.timeStamp(_,U,Q,_1,void 0,M))}function Yq($,U,Q,W){if(AU&&!(U<=$)){var M=(Q&738197653)===Q?"tertiary-dark":"primary-dark";Q=(Q&536870912)===Q?"Prepared":(Q&201326741)===Q?"Hydrated":"Render",W?W.run(console.timeStamp.bind(console,Q,$,U,u$,b$,M)):console.timeStamp(Q,$,U,u$,b$,M)}}function CA($,U,Q,W){!AU||U<=$||(Q=(Q&738197653)===Q?"tertiary-dark":"primary-dark",W?W.run(console.timeStamp.bind(console,"Prewarm",$,U,u$,b$,Q)):console.timeStamp("Prewarm",$,U,u$,b$,Q))}function PA($,U,Q,W){!AU||U<=$||(Q=(Q&738197653)===Q?"tertiary-dark":"primary-dark",W?W.run(console.timeStamp.bind(console,"Suspended",$,U,u$,b$,Q)):console.timeStamp("Suspended",$,U,u$,b$,Q))}function Gq($,U,Q,W,M,_){if(AU&&!(U<=$)){Q=[];for(var k=0;k<W.length;k++){var f=W[k].value;Q.push(["Recoverable Error",typeof f==="object"&&f!==null&&typeof f.message==="string"?String(f.message):String(f)])}$={start:$,end:U,detail:{devtools:{color:"primary-dark",track:u$,trackGroup:b$,tooltipText:M?"Hydration Failed":"Recovered after Error",properties:Q}}},_?_.run(performance.measure.bind(performance,"Recovered",$)):performance.measure("Recovered",$)}}function KD($,U,Q,W){!AU||U<=$||(W?W.run(console.timeStamp.bind(console,"Errored",$,U,u$,b$,"error")):console.timeStamp("Errored",$,U,u$,b$,"error"))}function Zq($,U,Q,W){!AU||U<=$||(W?W.run(console.timeStamp.bind(console,Q,$,U,u$,b$,"secondary-light")):console.timeStamp(Q,$,U,u$,b$,"secondary-light"))}function _A($,U,Q,W,M){if(AU&&!(U<=$)){for(var _=[],k=0;k<Q.length;k++){var f=Q[k].value;_.push(["Error",typeof f==="object"&&f!==null&&typeof f.message==="string"?String(f.message):String(f)])}$={start:$,end:U,detail:{devtools:{color:"error",track:u$,trackGroup:b$,tooltipText:W?"Remaining Effects Errored":"Commit Errored",properties:_}}},M?M.run(performance.measure.bind(performance,"Errored",$)):performance.measure("Errored",$)}}function TY($,U,Q){!AU||U<=$||(Q?Q.run(console.timeStamp.bind(console,"Animating",$,U,u$,b$,"secondary-dark")):console.timeStamp("Animating",$,U,u$,b$,"secondary-dark"))}function s2(){for(var $=nJ,U=bK=nJ=0;U<$;){var Q=E1[U];E1[U++]=null;var W=E1[U];E1[U++]=null;var M=E1[U];E1[U++]=null;var _=E1[U];if(E1[U++]=null,W!==null&&M!==null){var k=W.pending;k===null?M.next=M:(M.next=k.next,k.next=M),W.pending=M}_!==0&&EA(Q,M,_)}}function e2($,U,Q,W){E1[nJ++]=$,E1[nJ++]=U,E1[nJ++]=Q,E1[nJ++]=W,bK|=W,$.lanes|=W,$=$.alternate,$!==null&&($.lanes|=W)}function WD($,U,Q,W){return e2($,U,Q,W),$Z($)}function C6($,U){return e2($,null,null,U),$Z($)}function EA($,U,Q){$.lanes|=Q;var W=$.alternate;W!==null&&(W.lanes|=Q);for(var M=!1,_=$.return;_!==null;)_.childLanes|=Q,W=_.alternate,W!==null&&(W.childLanes|=Q),_.tag===22&&($=_.stateNode,$===null||$._visibility&YG||(M=!0)),$=_,_=_.return;return $.tag===3?(_=$.stateNode,M&&U!==null&&(M=31-S6(Q),$=_.hiddenUpdates,W=$[M],W===null?$[M]=[U]:W.push(U),U.lane=Q|536870912),_):null}function $Z($){if(xG>Ux)throw lI=xG=0,gG=LW=null,Error("Maximum update depth exceeded. This can happen when a component repeatedly calls setState inside componentWillUpdate or componentDidUpdate. React limits the number of nested updates to prevent infinite loops.");lI>Xx&&(lI=0,gG=null,console.error("Maximum update depth exceeded. This can happen when a component calls setState inside useEffect, but useEffect either doesn't have a dependency array, or one of the dependencies changes on every render.")),$.alternate===null&&($.flags&4098)!==0&&hC($);for(var U=$,Q=U.return;Q!==null;)U.alternate===null&&(U.flags&4098)!==0&&hC($),U=Q,Q=U.return;return U.tag===3?U.stateNode:null}function HI($){if(R1===null)return $;var U=R1($);return U===void 0?$:U.current}function FD($){if(R1===null)return $;var U=R1($);return U===void 0?$!==null&&$!==void 0&&typeof $.render==="function"&&(U=HI($.render),$.render!==U)?(U={$$typeof:iY,render:U},$.displayName!==void 0&&(U.displayName=$.displayName),U):$:U.current}function RA($,U){if(R1===null)return!1;var Q=$.elementType;U=U.type;var W=!1,M=typeof U==="object"&&U!==null?U.$$typeof:null;switch($.tag){case 1:typeof U==="function"&&(W=!0);break;case 0:typeof U==="function"?W=!0:M===G1&&(W=!0);break;case 11:M===iY?W=!0:M===G1&&(W=!0);break;case 14:case 15:M===aZ?W=!0:M===G1&&(W=!0);break;default:return!1}return W&&($=R1(Q),$!==void 0&&$===R1(U))?!0:!1}function SA($){R1!==null&&typeof WeakSet==="function"&&(oJ===null&&(oJ=new WeakSet),oJ.add($))}function jA($,U,Q){do{var W=$,M=W.alternate,_=W.child,k=W.sibling,f=W.tag;W=W.type;var l=null;switch(f){case 0:case 15:case 1:l=W;break;case 11:l=W.render}if(R1===null)throw Error("Expected resolveFamily to be set during hot reload.");var o=!1;if(W=!1,l!==null&&(l=R1(l),l!==void 0&&(Q.has(l)?W=!0:U.has(l)&&(f===1?W=!0:o=!0))),oJ!==null&&(oJ.has($)||M!==null&&oJ.has(M))&&(W=!0),W&&($._debugNeedsRemount=!0),W||o)M=C6($,2),M!==null&&gU(M,$,2);if(_===null||W||jA(_,U,Q),k===null)break;$=k}while(1)}function zq($,U,Q,W){this.tag=$,this.key=Q,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=U,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=W,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null,this.actualDuration=-0,this.actualStartTime=-1.1,this.treeBaseDuration=this.selfBaseDuration=-0,this._debugTask=this._debugStack=this._debugOwner=this._debugInfo=null,this._debugNeedsRemount=!1,this._debugHookTypes=null,k_||typeof Object.preventExtensions!=="function"||Object.preventExtensions(this)}function HD($){return $=$.prototype,!(!$||!$.isReactComponent)}function f4($,U){var Q=$.alternate;switch(Q===null?(Q=E($.tag,U,$.key,$.mode),Q.elementType=$.elementType,Q.type=$.type,Q.stateNode=$.stateNode,Q._debugOwner=$._debugOwner,Q._debugStack=$._debugStack,Q._debugTask=$._debugTask,Q._debugHookTypes=$._debugHookTypes,Q.alternate=$,$.alternate=Q):(Q.pendingProps=U,Q.type=$.type,Q.flags=0,Q.subtreeFlags=0,Q.deletions=null,Q.actualDuration=-0,Q.actualStartTime=-1.1),Q.flags=$.flags&65011712,Q.childLanes=$.childLanes,Q.lanes=$.lanes,Q.child=$.child,Q.memoizedProps=$.memoizedProps,Q.memoizedState=$.memoizedState,Q.updateQueue=$.updateQueue,U=$.dependencies,Q.dependencies=U===null?null:{lanes:U.lanes,firstContext:U.firstContext,_debugThenableState:U._debugThenableState},Q.sibling=$.sibling,Q.index=$.index,Q.ref=$.ref,Q.refCleanup=$.refCleanup,Q.selfBaseDuration=$.selfBaseDuration,Q.treeBaseDuration=$.treeBaseDuration,Q._debugInfo=$._debugInfo,Q._debugNeedsRemount=$._debugNeedsRemount,Q.tag){case 0:case 15:Q.type=HI($.type);break;case 1:Q.type=HI($.type);break;case 11:Q.type=FD($.type)}return Q}function BA($,U){$.flags&=65011714;var Q=$.alternate;return Q===null?($.childLanes=0,$.lanes=U,$.child=null,$.subtreeFlags=0,$.memoizedProps=null,$.memoizedState=null,$.updateQueue=null,$.dependencies=null,$.stateNode=null,$.selfBaseDuration=0,$.treeBaseDuration=0):($.childLanes=Q.childLanes,$.lanes=Q.lanes,$.child=Q.child,$.subtreeFlags=0,$.deletions=null,$.memoizedProps=Q.memoizedProps,$.memoizedState=Q.memoizedState,$.updateQueue=Q.updateQueue,$.type=Q.type,U=Q.dependencies,$.dependencies=U===null?null:{lanes:U.lanes,firstContext:U.firstContext,_debugThenableState:U._debugThenableState},$.selfBaseDuration=Q.selfBaseDuration,$.treeBaseDuration=Q.treeBaseDuration),$}function LD($,U,Q,W,M,_){var k=0,f=$;if(typeof $==="function")HD($)&&(k=1),f=HI(f);else if(typeof $==="string")k=P(),k=M3($,Q,k)?26:$==="html"||$==="head"||$==="body"?27:5;else $:switch($){case zK:return U=E(31,Q,U,M),U.elementType=zK,U.lanes=_,U;case wJ:return LI(Q.children,M,_,U);case tZ:k=8,M|=_6,M|=l1;break;case QK:return $=Q,W=M,typeof $.id!=="string"&&console.error('Profiler must specify an "id" of type `string` as a prop. Received the type `%s` instead.',typeof $.id),U=E(12,$,U,W|N$),U.elementType=QK,U.lanes=_,U.stateNode={effectDuration:0,passiveEffectDuration:0},U;case GK:return U=E(13,Q,U,M),U.elementType=GK,U.lanes=_,U;case ZK:return U=E(19,Q,U,M),U.elementType=ZK,U.lanes=_,U;default:if(typeof $==="object"&&$!==null)switch($.$$typeof){case F4:k=10;break $;case YK:k=9;break $;case iY:k=11,f=FD(f);break $;case aZ:k=14;break $;case G1:k=16,f=null;break $}if(f="",$===void 0||typeof $==="object"&&$!==null&&Object.keys($).length===0)f+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.";$===null?Q="null":Q6($)?Q="array":$!==void 0&&$.$$typeof===W4?(Q="<"+(L0($.type)||"Unknown")+" />",f=" Did you accidentally export a JSX literal instead of a component?"):Q=typeof $,(k=W?R0(W):null)&&(f+=`
72
+
73
+ Check the render method of \``+k+"`."),k=29,Q=Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: "+(Q+"."+f)),f=null}return U=E(k,Q,U,M),U.elementType=$,U.type=f,U.lanes=_,U._debugOwner=W,U}function UZ($,U,Q){return U=LD($.type,$.key,$.props,$._owner,U,Q),U._debugOwner=$._owner,U._debugStack=$._debugStack,U._debugTask=$._debugTask,U}function LI($,U,Q,W){return $=E(7,$,W,U),$.lanes=Q,$}function MD($,U,Q){return $=E(6,$,null,U),$.lanes=Q,$}function vA($){var U=E(18,null,null,C$);return U.stateNode=$,U}function AD($,U,Q){return U=E(4,$.children!==null?$.children:[],$.key,U),U.lanes=Q,U.stateNode={containerInfo:$.containerInfo,pendingChildren:null,implementation:$.implementation},U}function U1($,U){if(typeof $==="object"&&$!==null){var Q=uK.get($);if(Q!==void 0)return Q;return U={value:$,source:U,stack:O0(U)},uK.set($,U),U}return{value:$,source:U,stack:O0(U)}}function y4($,U){WX(),iJ[rJ++]=GG,iJ[rJ++]=Dz,Dz=$,GG=U}function NA($,U,Q){WX(),S1[j1++]=n4,S1[j1++]=o4,S1[j1++]=NI,NI=$;var W=n4;$=o4;var M=32-S6(W)-1;W&=~(1<<M),Q+=1;var _=32-S6(U)+M;if(30<_){var k=M-M%5;_=(W&(1<<k)-1).toString(32),W>>=k,M-=k,n4=1<<32-S6(U)+M|Q<<M|W,o4=_+$}else n4=1<<_|Q<<M|W,o4=$}function TD($){WX(),$.return!==null&&(y4($,1),NA($,1,0))}function CD($){for(;$===Dz;)Dz=iJ[--rJ],iJ[rJ]=null,GG=iJ[--rJ],iJ[rJ]=null;for(;$===NI;)NI=S1[--j1],S1[j1]=null,o4=S1[--j1],S1[j1]=null,n4=S1[--j1],S1[j1]=null}function qA(){return WX(),NI!==null?{id:n4,overflow:o4}:null}function kA($,U){WX(),S1[j1++]=n4,S1[j1++]=o4,S1[j1++]=NI,n4=U.id,o4=U.overflow,NI=$}function WX(){p$||console.error("Expected to be hydrating. This is a bug in React. Please file an issue.")}function MI($,U){if($.return===null){if(O1===null)O1={fiber:$,children:[],serverProps:void 0,serverTail:[],distanceFromLeaf:U};else{if(O1.fiber!==$)throw Error("Saw multiple hydration diff roots in a pass. This is a bug in React.");O1.distanceFromLeaf>U&&(O1.distanceFromLeaf=U)}return O1}var Q=MI($.return,U+1).children;if(0<Q.length&&Q[Q.length-1].fiber===$)return Q=Q[Q.length-1],Q.distanceFromLeaf>U&&(Q.distanceFromLeaf=U),Q;return U={fiber:$,children:[],serverProps:void 0,serverTail:[],distanceFromLeaf:U},Q.push(U),U}function xA(){p$&&console.error("We should not be hydrating here. This is a bug in React. Please file a bug.")}function XZ($,U){C4||($=MI($,0),$.serverProps=null,U!==null&&(U=VP(U),$.serverTail.push(U)))}function FX($){var U=1<arguments.length&&arguments[1]!==void 0?arguments[1]:!1,Q="",W=O1;throw W!==null&&(O1=null,Q=YD(W)),CY(U1(Error("Hydration failed because the server rendered "+(U?"text":"HTML")+` didn't match the client. As a result this tree will be regenerated on the client. This can happen if a SSR-ed Client Component used:
74
+
75
+ - A server/client branch \`if (typeof window !== 'undefined')\`.
76
+ - Variable input such as \`Date.now()\` or \`Math.random()\` which changes each time it's called.
77
+ - Date formatting in a user's locale which doesn't match the server.
78
+ - External changing data without sending a snapshot of it along with the HTML.
79
+ - Invalid HTML tag nesting.
80
+
81
+ It can also happen if the client has a browser extension installed which messes with the HTML before React loaded.
82
+
83
+ https://react.dev/link/hydration-mismatch`+Q),$)),hK}function gA($){var{stateNode:U,type:Q,memoizedProps:W}=$;switch(U[M6]=$,U[j6]=W,c8(Q,W),Q){case"dialog":m$("cancel",U),m$("close",U);break;case"iframe":case"object":case"embed":m$("load",U);break;case"video":case"audio":for(Q=0;Q<wG.length;Q++)m$(wG[Q],U);break;case"source":m$("error",U);break;case"img":case"image":case"link":m$("error",U),m$("load",U);break;case"details":m$("toggle",U);break;case"input":VU("input",W),m$("invalid",U),I$(U,W),_U(U,W.value,W.defaultValue,W.checked,W.defaultChecked,W.type,W.name,!0);break;case"option":S$(U,W);break;case"select":VU("select",W),m$("invalid",U),bU(U,W);break;case"textarea":VU("textarea",W),m$("invalid",U),uU(U,W),cU(U,W.value,W.defaultValue,W.children)}Q=W.children,typeof Q!=="string"&&typeof Q!=="number"&&typeof Q!=="bigint"||U.textContent===""+Q||W.suppressHydrationWarning===!0||aC(U.textContent,Q)?(W.popover!=null&&(m$("beforetoggle",U),m$("toggle",U)),W.onScroll!=null&&m$("scroll",U),W.onScrollEnd!=null&&m$("scrollend",U),W.onClick!=null&&(U.onclick=w4),U=!0):U=!1,U||FX($,!0)}function wA($){for(A6=$.return;A6;)switch(A6.tag){case 5:case 31:case 13:B1=!1;return;case 27:case 3:B1=!0;return;default:A6=A6.return}}function AJ($){if($!==A6)return!1;if(!p$)return wA($),p$=!0,!1;var U=$.tag,Q;if(Q=U!==3&&U!==27){if(Q=U===5)Q=$.type,Q=!(Q!=="form"&&Q!=="button")||n8($.type,$.memoizedProps);Q=!Q}if(Q&&TU){for(Q=TU;Q;){var W=MI($,0),M=VP(Q);W.serverTail.push(M),Q=M.type==="Suspense"?t8(Q):Y1(Q.nextSibling)}FX($)}if(wA($),U===13){if($=$.memoizedState,$=$!==null?$.dehydrated:null,!$)throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");TU=t8($)}else if(U===31){if($=$.memoizedState,$=$!==null?$.dehydrated:null,!$)throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");TU=t8($)}else U===27?(U=TU,RX($.type)?($=vW,vW=null,TU=$):TU=U):TU=A6?Y1($.stateNode.nextSibling):null;return!0}function AI(){TU=A6=null,C4=p$=!1}function PD(){var $=gX;return $!==null&&(x6===null?x6=$:x6.push.apply(x6,$),gX=null),$}function CY($){gX===null?gX=[$]:gX.push($)}function _D(){var $=O1;if($!==null){O1=null;for(var U=YD($);0<$.children.length;)$=$.children[0];J0($.fiber,function(){console.error(`A tree hydrated but some attributes of the server rendered HTML didn't match the client properties. This won't be patched up. This can happen if a SSR-ed Client Component used:
84
+
85
+ - A server/client branch \`if (typeof window !== 'undefined')\`.
86
+ - Variable input such as \`Date.now()\` or \`Math.random()\` which changes each time it's called.
87
+ - Date formatting in a user's locale which doesn't match the server.
88
+ - External changing data without sending a snapshot of it along with the HTML.
89
+ - Invalid HTML tag nesting.
90
+
91
+ It can also happen if the client has a browser extension installed which messes with the HTML before React loaded.
92
+
93
+ %s%s`,"https://react.dev/link/hydration-mismatch",U)})}}function IZ(){tJ=Kz=null,aJ=!1}function HX($,U,Q){K(cK,U._currentValue,$),U._currentValue=Q,K(pK,U._currentRenderer,$),U._currentRenderer!==void 0&&U._currentRenderer!==null&&U._currentRenderer!==g_&&console.error("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),U._currentRenderer=g_}function b4($,U){$._currentValue=cK.current;var Q=pK.current;G(pK,U),$._currentRenderer=Q,G(cK,U)}function ED($,U,Q){for(;$!==null;){var W=$.alternate;if(($.childLanes&U)!==U?($.childLanes|=U,W!==null&&(W.childLanes|=U)):W!==null&&(W.childLanes&U)!==U&&(W.childLanes|=U),$===Q)break;$=$.return}$!==Q&&console.error("Expected to find the propagation root when scheduling context work. This error is likely caused by a bug in React. Please file an issue.")}function RD($,U,Q,W){var M=$.child;M!==null&&(M.return=$);for(;M!==null;){var _=M.dependencies;if(_!==null){var k=M.child;_=_.firstContext;$:for(;_!==null;){var f=_;_=M;for(var l=0;l<U.length;l++)if(f.context===U[l]){_.lanes|=Q,f=_.alternate,f!==null&&(f.lanes|=Q),ED(_.return,Q,$),W||(k=null);break $}_=f.next}}else if(M.tag===18){if(k=M.return,k===null)throw Error("We just came from a parent so we must have had a parent. This is a bug in React.");k.lanes|=Q,_=k.alternate,_!==null&&(_.lanes|=Q),ED(k,Q,$),k=null}else k=M.child;if(k!==null)k.return=M;else for(k=M;k!==null;){if(k===$){k=null;break}if(M=k.sibling,M!==null){M.return=k.return,k=M;break}k=k.return}M=k}}function TJ($,U,Q,W){$=null;for(var M=U,_=!1;M!==null;){if(!_){if((M.flags&524288)!==0)_=!0;else if((M.flags&262144)!==0)break}if(M.tag===10){var k=M.alternate;if(k===null)throw Error("Should have a current fiber. This is a bug in React.");if(k=k.memoizedProps,k!==null){var f=M.type;v6(M.pendingProps.value,k.value)||($!==null?$.push(f):$=[f])}}else if(M===sZ.current){if(k=M.alternate,k===null)throw Error("Should have a current fiber. This is a bug in React.");k.memoizedState.memoizedState!==M.memoizedState.memoizedState&&($!==null?$.push(hG):$=[hG])}M=M.return}$!==null&&RD(U,$,Q,W),U.flags|=262144}function JZ($){for($=$.firstContext;$!==null;){if(!v6($.context._currentValue,$.memoizedValue))return!0;$=$.next}return!1}function TI($){Kz=$,tJ=null,$=$.dependencies,$!==null&&($.firstContext=null)}function SU($){return aJ&&console.error("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo()."),fA(Kz,$)}function QZ($,U){return Kz===null&&TI($),fA($,U)}function fA($,U){var Q=U._currentValue;if(U={context:U,memoizedValue:Q,next:null},tJ===null){if($===null)throw Error("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().");tJ=U,$.dependencies={lanes:0,firstContext:U,_debugThenableState:null},$.flags|=524288}else tJ=tJ.next=U;return Q}function SD(){return{controller:new mk,data:new Map,refCount:0}}function CI($){$.controller.signal.aborted&&console.warn("A cache instance was retained after it was already freed. This likely indicates a bug in React."),$.refCount++}function PY($){$.refCount--,0>$.refCount&&console.warn("A cache instance was released after it was already freed. This likely indicates a bug in React."),$.refCount===0&&lk(dk,function(){$.controller.abort()})}function U4($,U,Q){if(($&127)!==0)0>P4&&(P4=eU(),zG=Wz(U),mK=U,Q!=null&&(lK=t(Q)),(n$&(G6|K1))!==D6&&(wU=!0,yX=ZG),$=mY(),U=pY(),$!==sJ||U!==OG?sJ=-1.1:U!==null&&(yX=ZG),kI=$,OG=U);else if(($&4194048)!==0&&0>v1&&(v1=eU(),VG=Wz(U),w_=U,Q!=null&&(f_=t(Q)),0>t4)){if($=mY(),U=pY(),$!==uX||U!==xI)uX=-1.1;bX=$,xI=U}}function Oq($){if(0>P4){P4=eU(),zG=$._debugTask!=null?$._debugTask:null,(n$&(G6|K1))!==D6&&(yX=ZG);var U=mY(),Q=pY();U!==sJ||Q!==OG?sJ=-1.1:Q!==null&&(yX=ZG),kI=U,OG=Q}if(0>v1&&(v1=eU(),VG=$._debugTask!=null?$._debugTask:null,0>t4)){if($=mY(),U=pY(),$!==uX||U!==xI)uX=-1.1;bX=$,xI=U}}function u4(){var $=qI;return qI=0,$}function YZ($){var U=qI;return qI=$,U}function _Y($){var U=qI;return qI+=$,U}function GZ(){T$=A$=-1.1}function X1(){var $=A$;return A$=-1.1,$}function I1($){0<=$&&(A$=$)}function X4(){var $=qU;return qU=-0,$}function I4($){0<=$&&(qU=$)}function J4(){var $=jU;return jU=null,$}function Q4(){var $=wU;return wU=!1,$}function jD($){N6=eU(),0>$.actualStartTime&&($.actualStartTime=N6)}function BD($){if(0<=N6){var U=eU()-N6;$.actualDuration+=U,$.selfBaseDuration=U,N6=-1}}function yA($){if(0<=N6){var U=eU()-N6;$.actualDuration+=U,N6=-1}}function Y4(){if(0<=N6){var $=eU(),U=$-N6;N6=-1,qI+=U,qU+=U,T$=$}}function bA($){jU===null&&(jU=[]),jU.push($),r4===null&&(r4=[]),r4.push($)}function G4(){N6=eU(),0>A$&&(A$=N6)}function EY($){for(var U=$.child;U;)$.actualDuration+=U.actualDuration,U=U.sibling}function Vq($,U){if(KG===null){var Q=KG=[];nK=0,gI=y8(),eJ={status:"pending",value:void 0,then:function(W){Q.push(W)}}}return nK++,U.then(uA,uA),U}function uA(){if(--nK===0&&(-1<v1||(t4=-1.1),KG!==null)){eJ!==null&&(eJ.status="fulfilled");var $=KG;KG=null,gI=0,eJ=null;for(var U=0;U<$.length;U++)(0,$[U])()}}function Dq($,U){var Q=[],W={status:"pending",value:null,reason:null,then:function(M){Q.push(M)}};return $.then(function(){W.status="fulfilled",W.value=U;for(var M=0;M<Q.length;M++)(0,Q[M])(U)},function(M){W.status="rejected",W.reason=M;for(M=0;M<Q.length;M++)(0,Q[M])(void 0)}),W}function vD(){var $=wI.current;return $!==null?$:ZU.pooledCache}function ZZ($,U){U===null?K(wI,wI.current,$):K(wI,U.pool,$)}function hA(){var $=vD();return $===null?null:{parent:sU._currentValue,pool:$}}function cA(){return{didWarnAboutUncachedPromise:!1,thenables:[]}}function pA($){return $=$.status,$==="fulfilled"||$==="rejected"}function mA($,U,Q){y0.actQueue!==null&&(y0.didUsePromise=!0);var W=$.thenables;if(Q=W[Q],Q===void 0?W.push(U):Q!==U&&($.didWarnAboutUncachedPromise||($.didWarnAboutUncachedPromise=!0,console.error("A component was suspended by an uncached promise. Creating promises inside a Client Component or hook is not yet supported, except via a Suspense-compatible library or framework.")),U.then(w4,w4),U=Q),U._debugInfo===void 0){$=performance.now(),W=U.displayName;var M={name:typeof W==="string"?W:"Promise",start:$,end:$,value:U};U._debugInfo=[{awaited:M}],U.status!=="fulfilled"&&U.status!=="rejected"&&($=function(){M.end=performance.now()},U.then($,$))}switch(U.status){case"fulfilled":return U.value;case"rejected":throw $=U.reason,dA($),$;default:if(typeof U.status==="string")U.then(w4,w4);else{if($=ZU,$!==null&&100<$.shellSuspendCounter)throw Error("An unknown Component is an async Client Component. Only Server Components can be async at the moment. This error is often caused by accidentally adding `'use client'` to a module that was originally written for the server.");$=U,$.status="pending",$.then(function(_){if(U.status==="pending"){var k=U;k.status="fulfilled",k.value=_}},function(_){if(U.status==="pending"){var k=U;k.status="rejected",k.reason=_}})}switch(U.status){case"fulfilled":return U.value;case"rejected":throw $=U.reason,dA($),$}throw yI=U,TG=!0,$Q}}function LX($){try{return rk($)}catch(U){if(U!==null&&typeof U==="object"&&typeof U.then==="function")throw yI=U,TG=!0,$Q;throw U}}function lA(){if(yI===null)throw Error("Expected a suspended thenable. This is a bug in React. Please file an issue.");var $=yI;return yI=null,TG=!1,$}function dA($){if($===$Q||$===Pz)throw Error("Hooks are not supported inside an async component. This error is often caused by accidentally adding `'use client'` to a module that was originally written for the server.")}function F6($){var U=q$;return $!=null&&(q$=U===null?$:U.concat($)),U}function ND(){var $=q$;if($!=null){for(var U=$.length-1;0<=U;U--)if($[U].name!=null){var Q=$[U].debugTask;if(Q!=null)return Q}}return null}function zZ($,U,Q){for(var W=Object.keys($.props),M=0;M<W.length;M++){var _=W[M];if(_!=="children"&&_!=="key"){U===null&&(U=UZ($,Q.mode,0),U._debugInfo=q$,U.return=Q),J0(U,function(k){console.error("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",k)},_);break}}}function OZ($){var U=CG;return CG+=1,UQ===null&&(UQ=cA()),mA(UQ,$,U)}function RY($,U){U=U.props.ref,$.ref=U!==void 0?U:null}function nA($,U){if(U.$$typeof===B3)throw Error(`A React Element from an older version of React was rendered. This is not supported. It can happen if:
94
+ - Multiple copies of the "react" package is used.
95
+ - A library pre-bundled an old copy of "react" or "react/jsx-runtime".
96
+ - A compiler tries to "inline" JSX instead of using the runtime.`);throw $=Object.prototype.toString.call(U),Error("Objects are not valid as a React child (found: "+($==="[object Object]"?"object with keys {"+Object.keys(U).join(", ")+"}":$)+"). If you meant to render a collection of children, use an array instead.")}function VZ($,U){var Q=ND();Q!==null?Q.run(nA.bind(null,$,U)):nA($,U)}function oA($,U){var Q=t($)||"Component";XE[Q]||(XE[Q]=!0,U=U.displayName||U.name||"Component",$.tag===3?console.error(`Functions are not valid as a React child. This may happen if you return %s instead of <%s /> from render. Or maybe you meant to call this function rather than return it.
97
+ root.render(%s)`,U,U,U):console.error(`Functions are not valid as a React child. This may happen if you return %s instead of <%s /> from render. Or maybe you meant to call this function rather than return it.
98
+ <%s>{%s}</%s>`,U,U,Q,U,Q))}function DZ($,U){var Q=ND();Q!==null?Q.run(oA.bind(null,$,U)):oA($,U)}function iA($,U){var Q=t($)||"Component";IE[Q]||(IE[Q]=!0,U=String(U),$.tag===3?console.error(`Symbols are not valid as a React child.
99
+ root.render(%s)`,U):console.error(`Symbols are not valid as a React child.
100
+ <%s>%s</%s>`,Q,U,Q))}function KZ($,U){var Q=ND();Q!==null?Q.run(iA.bind(null,$,U)):iA($,U)}function rA($){function U(z0,W0){if($){var T0=z0.deletions;T0===null?(z0.deletions=[W0],z0.flags|=16):T0.push(W0)}}function Q(z0,W0){if(!$)return null;for(;W0!==null;)U(z0,W0),W0=W0.sibling;return null}function W(z0){for(var W0=new Map;z0!==null;)z0.key!==null?W0.set(z0.key,z0):W0.set(z0.index,z0),z0=z0.sibling;return W0}function M(z0,W0){return z0=f4(z0,W0),z0.index=0,z0.sibling=null,z0}function _(z0,W0,T0){if(z0.index=T0,!$)return z0.flags|=1048576,W0;if(T0=z0.alternate,T0!==null)return T0=T0.index,T0<W0?(z0.flags|=67108866,W0):T0;return z0.flags|=67108866,W0}function k(z0){return $&&z0.alternate===null&&(z0.flags|=67108866),z0}function f(z0,W0,T0,m0){if(W0===null||W0.tag!==6)return W0=MD(T0,z0.mode,m0),W0.return=z0,W0._debugOwner=z0,W0._debugTask=z0._debugTask,W0._debugInfo=q$,W0;return W0=M(W0,T0),W0.return=z0,W0._debugInfo=q$,W0}function l(z0,W0,T0,m0){var V$=T0.type;if(V$===wJ)return W0=P0(z0,W0,T0.props.children,m0,T0.key),zZ(T0,W0,z0),W0;if(W0!==null&&(W0.elementType===V$||RA(W0,T0)||typeof V$==="object"&&V$!==null&&V$.$$typeof===G1&&LX(V$)===W0.type))return W0=M(W0,T0.props),RY(W0,T0),W0.return=z0,W0._debugOwner=T0._owner,W0._debugInfo=q$,W0;return W0=UZ(T0,z0.mode,m0),RY(W0,T0),W0.return=z0,W0._debugInfo=q$,W0}function o(z0,W0,T0,m0){if(W0===null||W0.tag!==4||W0.stateNode.containerInfo!==T0.containerInfo||W0.stateNode.implementation!==T0.implementation)return W0=AD(T0,z0.mode,m0),W0.return=z0,W0._debugInfo=q$,W0;return W0=M(W0,T0.children||[]),W0.return=z0,W0._debugInfo=q$,W0}function P0(z0,W0,T0,m0,V$){if(W0===null||W0.tag!==7)return W0=LI(T0,z0.mode,m0,V$),W0.return=z0,W0._debugOwner=z0,W0._debugTask=z0._debugTask,W0._debugInfo=q$,W0;return W0=M(W0,T0),W0.return=z0,W0._debugInfo=q$,W0}function _0(z0,W0,T0){if(typeof W0==="string"&&W0!==""||typeof W0==="number"||typeof W0==="bigint")return W0=MD(""+W0,z0.mode,T0),W0.return=z0,W0._debugOwner=z0,W0._debugTask=z0._debugTask,W0._debugInfo=q$,W0;if(typeof W0==="object"&&W0!==null){switch(W0.$$typeof){case W4:return T0=UZ(W0,z0.mode,T0),RY(T0,W0),T0.return=z0,z0=F6(W0._debugInfo),T0._debugInfo=q$,q$=z0,T0;case gJ:return W0=AD(W0,z0.mode,T0),W0.return=z0,W0._debugInfo=q$,W0;case G1:var m0=F6(W0._debugInfo);return W0=LX(W0),z0=_0(z0,W0,T0),q$=m0,z0}if(Q6(W0)||F0(W0))return T0=LI(W0,z0.mode,T0,null),T0.return=z0,T0._debugOwner=z0,T0._debugTask=z0._debugTask,z0=F6(W0._debugInfo),T0._debugInfo=q$,q$=z0,T0;if(typeof W0.then==="function")return m0=F6(W0._debugInfo),z0=_0(z0,OZ(W0),T0),q$=m0,z0;if(W0.$$typeof===F4)return _0(z0,QZ(z0,W0),T0);VZ(z0,W0)}return typeof W0==="function"&&DZ(z0,W0),typeof W0==="symbol"&&KZ(z0,W0),null}function K0(z0,W0,T0,m0){var V$=W0!==null?W0.key:null;if(typeof T0==="string"&&T0!==""||typeof T0==="number"||typeof T0==="bigint")return V$!==null?null:f(z0,W0,""+T0,m0);if(typeof T0==="object"&&T0!==null){switch(T0.$$typeof){case W4:return T0.key===V$?(V$=F6(T0._debugInfo),z0=l(z0,W0,T0,m0),q$=V$,z0):null;case gJ:return T0.key===V$?o(z0,W0,T0,m0):null;case G1:return V$=F6(T0._debugInfo),T0=LX(T0),z0=K0(z0,W0,T0,m0),q$=V$,z0}if(Q6(T0)||F0(T0)){if(V$!==null)return null;return V$=F6(T0._debugInfo),z0=P0(z0,W0,T0,m0,null),q$=V$,z0}if(typeof T0.then==="function")return V$=F6(T0._debugInfo),z0=K0(z0,W0,OZ(T0),m0),q$=V$,z0;if(T0.$$typeof===F4)return K0(z0,W0,QZ(z0,T0),m0);VZ(z0,T0)}return typeof T0==="function"&&DZ(z0,T0),typeof T0==="symbol"&&KZ(z0,T0),null}function k0(z0,W0,T0,m0,V$){if(typeof m0==="string"&&m0!==""||typeof m0==="number"||typeof m0==="bigint")return z0=z0.get(T0)||null,f(W0,z0,""+m0,V$);if(typeof m0==="object"&&m0!==null){switch(m0.$$typeof){case W4:return T0=z0.get(m0.key===null?T0:m0.key)||null,z0=F6(m0._debugInfo),W0=l(W0,T0,m0,V$),q$=z0,W0;case gJ:return z0=z0.get(m0.key===null?T0:m0.key)||null,o(W0,z0,m0,V$);case G1:var _$=F6(m0._debugInfo);return m0=LX(m0),W0=k0(z0,W0,T0,m0,V$),q$=_$,W0}if(Q6(m0)||F0(m0))return T0=z0.get(T0)||null,z0=F6(m0._debugInfo),W0=P0(W0,T0,m0,V$,null),q$=z0,W0;if(typeof m0.then==="function")return _$=F6(m0._debugInfo),W0=k0(z0,W0,T0,OZ(m0),V$),q$=_$,W0;if(m0.$$typeof===F4)return k0(z0,W0,T0,QZ(W0,m0),V$);VZ(W0,m0)}return typeof m0==="function"&&DZ(W0,m0),typeof m0==="symbol"&&KZ(W0,m0),null}function O$(z0,W0,T0,m0){if(typeof T0!=="object"||T0===null)return m0;switch(T0.$$typeof){case W4:case gJ:S(z0,W0,T0);var V$=T0.key;if(typeof V$!=="string")break;if(m0===null){m0=new Set,m0.add(V$);break}if(!m0.has(V$)){m0.add(V$);break}J0(W0,function(){console.error("Encountered two children with the same key, `%s`. Keys should be unique so that components maintain their identity across updates. Non-unique keys may cause children to be duplicated and/or omitted — the behavior is unsupported and could change in a future version.",V$)});break;case G1:T0=LX(T0),O$(z0,W0,T0,m0)}return m0}function W$(z0,W0,T0,m0){for(var V$=null,_$=null,M$=null,H$=W0,v$=W0=0,CU=null;H$!==null&&v$<T0.length;v$++){H$.index>v$?(CU=H$,H$=null):CU=H$.sibling;var aU=K0(z0,H$,T0[v$],m0);if(aU===null){H$===null&&(H$=CU);break}V$=O$(z0,aU,T0[v$],V$),$&&H$&&aU.alternate===null&&U(z0,H$),W0=_(aU,W0,v$),M$===null?_$=aU:M$.sibling=aU,M$=aU,H$=CU}if(v$===T0.length)return Q(z0,H$),p$&&y4(z0,v$),_$;if(H$===null){for(;v$<T0.length;v$++)H$=_0(z0,T0[v$],m0),H$!==null&&(V$=O$(z0,H$,T0[v$],V$),W0=_(H$,W0,v$),M$===null?_$=H$:M$.sibling=H$,M$=H$);return p$&&y4(z0,v$),_$}for(H$=W(H$);v$<T0.length;v$++)CU=k0(H$,z0,v$,T0[v$],m0),CU!==null&&(V$=O$(z0,CU,T0[v$],V$),$&&CU.alternate!==null&&H$.delete(CU.key===null?v$:CU.key),W0=_(CU,W0,v$),M$===null?_$=CU:M$.sibling=CU,M$=CU);return $&&H$.forEach(function(QX){return U(z0,QX)}),p$&&y4(z0,v$),_$}function WU(z0,W0,T0,m0){if(T0==null)throw Error("An iterable object provided no iterator.");for(var V$=null,_$=null,M$=W0,H$=W0=0,v$=null,CU=null,aU=T0.next();M$!==null&&!aU.done;H$++,aU=T0.next()){M$.index>H$?(v$=M$,M$=null):v$=M$.sibling;var QX=K0(z0,M$,aU.value,m0);if(QX===null){M$===null&&(M$=v$);break}CU=O$(z0,QX,aU.value,CU),$&&M$&&QX.alternate===null&&U(z0,M$),W0=_(QX,W0,H$),_$===null?V$=QX:_$.sibling=QX,_$=QX,M$=v$}if(aU.done)return Q(z0,M$),p$&&y4(z0,H$),V$;if(M$===null){for(;!aU.done;H$++,aU=T0.next())M$=_0(z0,aU.value,m0),M$!==null&&(CU=O$(z0,M$,aU.value,CU),W0=_(M$,W0,H$),_$===null?V$=M$:_$.sibling=M$,_$=M$);return p$&&y4(z0,H$),V$}for(M$=W(M$);!aU.done;H$++,aU=T0.next())v$=k0(M$,z0,H$,aU.value,m0),v$!==null&&(CU=O$(z0,v$,aU.value,CU),$&&v$.alternate!==null&&M$.delete(v$.key===null?H$:v$.key),W0=_(v$,W0,H$),_$===null?V$=v$:_$.sibling=v$,_$=v$);return $&&M$.forEach(function(Ax){return U(z0,Ax)}),p$&&y4(z0,H$),V$}function l$(z0,W0,T0,m0){if(typeof T0==="object"&&T0!==null&&T0.type===wJ&&T0.key===null&&(zZ(T0,null,z0),T0=T0.props.children),typeof T0==="object"&&T0!==null){switch(T0.$$typeof){case W4:var V$=F6(T0._debugInfo);$:{for(var _$=T0.key;W0!==null;){if(W0.key===_$){if(_$=T0.type,_$===wJ){if(W0.tag===7){Q(z0,W0.sibling),m0=M(W0,T0.props.children),m0.return=z0,m0._debugOwner=T0._owner,m0._debugInfo=q$,zZ(T0,m0,z0),z0=m0;break $}}else if(W0.elementType===_$||RA(W0,T0)||typeof _$==="object"&&_$!==null&&_$.$$typeof===G1&&LX(_$)===W0.type){Q(z0,W0.sibling),m0=M(W0,T0.props),RY(m0,T0),m0.return=z0,m0._debugOwner=T0._owner,m0._debugInfo=q$,z0=m0;break $}Q(z0,W0);break}else U(z0,W0);W0=W0.sibling}T0.type===wJ?(m0=LI(T0.props.children,z0.mode,m0,T0.key),m0.return=z0,m0._debugOwner=z0,m0._debugTask=z0._debugTask,m0._debugInfo=q$,zZ(T0,m0,z0),z0=m0):(m0=UZ(T0,z0.mode,m0),RY(m0,T0),m0.return=z0,m0._debugInfo=q$,z0=m0)}return z0=k(z0),q$=V$,z0;case gJ:$:{V$=T0;for(T0=V$.key;W0!==null;){if(W0.key===T0)if(W0.tag===4&&W0.stateNode.containerInfo===V$.containerInfo&&W0.stateNode.implementation===V$.implementation){Q(z0,W0.sibling),m0=M(W0,V$.children||[]),m0.return=z0,z0=m0;break $}else{Q(z0,W0);break}else U(z0,W0);W0=W0.sibling}m0=AD(V$,z0.mode,m0),m0.return=z0,z0=m0}return k(z0);case G1:return V$=F6(T0._debugInfo),T0=LX(T0),z0=l$(z0,W0,T0,m0),q$=V$,z0}if(Q6(T0))return V$=F6(T0._debugInfo),z0=W$(z0,W0,T0,m0),q$=V$,z0;if(F0(T0)){if(V$=F6(T0._debugInfo),_$=F0(T0),typeof _$!=="function")throw Error("An object is not an iterable. This error is likely caused by a bug in React. Please file an issue.");var M$=_$.call(T0);if(M$===T0){if(z0.tag!==0||Object.prototype.toString.call(z0.type)!=="[object GeneratorFunction]"||Object.prototype.toString.call(M$)!=="[object Generator]")$E||console.error("Using Iterators as children is unsupported and will likely yield unexpected results because enumerating a generator mutates it. You may convert it to an array with `Array.from()` or the `[...spread]` operator before rendering. You can also use an Iterable that can iterate multiple times over the same items."),$E=!0}else T0.entries!==_$||tK||(console.error("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),tK=!0);return z0=WU(z0,W0,M$,m0),q$=V$,z0}if(typeof T0.then==="function")return V$=F6(T0._debugInfo),z0=l$(z0,W0,OZ(T0),m0),q$=V$,z0;if(T0.$$typeof===F4)return l$(z0,W0,QZ(z0,T0),m0);VZ(z0,T0)}if(typeof T0==="string"&&T0!==""||typeof T0==="number"||typeof T0==="bigint")return V$=""+T0,W0!==null&&W0.tag===6?(Q(z0,W0.sibling),m0=M(W0,V$),m0.return=z0,z0=m0):(Q(z0,W0),m0=MD(V$,z0.mode,m0),m0.return=z0,m0._debugOwner=z0,m0._debugTask=z0._debugTask,m0._debugInfo=q$,z0=m0),k(z0);return typeof T0==="function"&&DZ(z0,T0),typeof T0==="symbol"&&KZ(z0,T0),Q(z0,W0)}return function(z0,W0,T0,m0){var V$=q$;q$=null;try{CG=0;var _$=l$(z0,W0,T0,m0);return UQ=null,_$}catch(CU){if(CU===$Q||CU===Pz)throw CU;var M$=E(29,CU,null,z0.mode);M$.lanes=m0,M$.return=z0;var H$=M$._debugInfo=q$;if(M$._debugOwner=z0._debugOwner,M$._debugTask=z0._debugTask,H$!=null){for(var v$=H$.length-1;0<=v$;v$--)if(typeof H$[v$].stack==="string"){M$._debugOwner=H$[v$],M$._debugTask=H$[v$].debugTask;break}}return M$}finally{q$=V$}}}function tA($,U){var Q=Q6($);return $=!Q&&typeof F0($)==="function",Q||$?(Q=Q?"array":"iterable",console.error("A nested %s was passed to row #%s in <SuspenseList />. Wrap it in an additional SuspenseList to configure its revealOrder: <SuspenseList revealOrder=...> ... <SuspenseList revealOrder=...>{%s}</SuspenseList> ... </SuspenseList>",Q,U,Q),!1):!0}function qD($){$.updateQueue={baseState:$.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function kD($,U){$=$.updateQueue,U.updateQueue===$&&(U.updateQueue={baseState:$.baseState,firstBaseUpdate:$.firstBaseUpdate,lastBaseUpdate:$.lastBaseUpdate,shared:$.shared,callbacks:null})}function MX($){return{lane:$,tag:QE,payload:null,callback:null,next:null}}function AX($,U,Q){var W=$.updateQueue;if(W===null)return null;if(W=W.shared,sK===W&&!ZE){var M=t($);console.error(`An update (setState, replaceState, or forceUpdate) was scheduled from inside an update function. Update functions should be pure, with zero side-effects. Consider using componentDidUpdate or a callback.
101
+
102
+ Please update the following component: %s`,M),ZE=!0}if((n$&G6)!==D6)return M=W.pending,M===null?U.next=U:(U.next=M.next,M.next=U),W.pending=U,U=$Z($),EA($,null,Q),U;return e2($,W,U,Q),$Z($)}function SY($,U,Q){if(U=U.updateQueue,U!==null&&(U=U.shared,(Q&4194048)!==0)){var W=U.lanes;W&=$.pendingLanes,Q|=W,U.lanes=Q,h0($,Q)}}function WZ($,U){var{updateQueue:Q,alternate:W}=$;if(W!==null&&(W=W.updateQueue,Q===W)){var M=null,_=null;if(Q=Q.firstBaseUpdate,Q!==null){do{var k={lane:Q.lane,tag:Q.tag,payload:Q.payload,callback:null,next:null};_===null?M=_=k:_=_.next=k,Q=Q.next}while(Q!==null);_===null?M=_=U:_=_.next=U}else M=_=U;Q={baseState:W.baseState,firstBaseUpdate:M,lastBaseUpdate:_,shared:W.shared,callbacks:W.callbacks},$.updateQueue=Q;return}$=Q.lastBaseUpdate,$===null?Q.firstBaseUpdate=U:$.next=U,Q.lastBaseUpdate=U}function jY(){if(eK){var $=eJ;if($!==null)throw $}}function BY($,U,Q,W){eK=!1;var M=$.updateQueue;hX=!1,sK=M.shared;var{firstBaseUpdate:_,lastBaseUpdate:k}=M,f=M.shared.pending;if(f!==null){M.shared.pending=null;var l=f,o=l.next;l.next=null,k===null?_=o:k.next=o,k=l;var P0=$.alternate;P0!==null&&(P0=P0.updateQueue,f=P0.lastBaseUpdate,f!==k&&(f===null?P0.firstBaseUpdate=o:f.next=o,P0.lastBaseUpdate=l))}if(_!==null){var _0=M.baseState;k=0,P0=o=l=null,f=_;do{var K0=f.lane&-536870913,k0=K0!==f.lane;if(k0?(k$&K0)===K0:(W&K0)===K0){K0!==0&&K0===gI&&(eK=!0),P0!==null&&(P0=P0.next={lane:0,tag:f.tag,payload:f.payload,callback:null,next:null});$:{K0=$;var O$=f,W$=U,WU=Q;switch(O$.tag){case YE:if(O$=O$.payload,typeof O$==="function"){aJ=!0;var l$=O$.call(WU,_0,W$);if(K0.mode&_6){q0(!0);try{O$.call(WU,_0,W$)}finally{q0(!1)}}aJ=!1,_0=l$;break $}_0=O$;break $;case aK:K0.flags=K0.flags&-65537|128;case QE:if(l$=O$.payload,typeof l$==="function"){if(aJ=!0,O$=l$.call(WU,_0,W$),K0.mode&_6){q0(!0);try{l$.call(WU,_0,W$)}finally{q0(!1)}}aJ=!1}else O$=l$;if(O$===null||O$===void 0)break $;_0=y$({},_0,O$);break $;case GE:hX=!0}}K0=f.callback,K0!==null&&($.flags|=64,k0&&($.flags|=8192),k0=M.callbacks,k0===null?M.callbacks=[K0]:k0.push(K0))}else k0={lane:K0,tag:f.tag,payload:f.payload,callback:f.callback,next:null},P0===null?(o=P0=k0,l=_0):P0=P0.next=k0,k|=K0;if(f=f.next,f===null)if(f=M.shared.pending,f===null)break;else k0=f,f=k0.next,k0.next=null,M.lastBaseUpdate=k0,M.shared.pending=null}while(1);P0===null&&(l=_0),M.baseState=l,M.firstBaseUpdate=o,M.lastBaseUpdate=P0,_===null&&(M.shared.lanes=0),mX|=k,$.lanes=k,$.memoizedState=_0}sK=null}function aA($,U){if(typeof $!=="function")throw Error("Invalid argument passed as callback. Expected a function. Instead received: "+$);$.call(U)}function Kq($,U){var Q=$.shared.hiddenCallbacks;if(Q!==null)for($.shared.hiddenCallbacks=null,$=0;$<Q.length;$++)aA(Q[$],U)}function sA($,U){var Q=$.callbacks;if(Q!==null)for($.callbacks=null,$=0;$<Q.length;$++)aA(Q[$],U)}function eA($,U){var Q=R4;K(Ez,Q,$),K(XQ,U,$),R4=Q|U.baseLanes}function xD($){K(Ez,R4,$),K(XQ,XQ.current,$)}function gD($){R4=Ez.current,G(XQ,$),G(Ez,$)}function TX($){var U=$.alternate;K(tU,tU.current&IQ,$),K(V1,$,$),N1===null&&(U===null||XQ.current!==null?N1=$:U.memoizedState!==null&&(N1=$))}function wD($){K(tU,tU.current,$),K(V1,$,$),N1===null&&(N1=$)}function $T($){$.tag===22?(K(tU,tU.current,$),K(V1,$,$),N1===null&&(N1=$)):CX($)}function CX($){K(tU,tU.current,$),K(V1,V1.current,$)}function J1($){G(V1,$),N1===$&&(N1=null),G(tU,$)}function FZ($){for(var U=$;U!==null;){if(U.tag===13){var Q=U.memoizedState;if(Q!==null&&(Q=Q.dehydrated,Q===null||i8(Q)||r8(Q)))return U}else if(U.tag===19&&(U.memoizedProps.revealOrder==="forwards"||U.memoizedProps.revealOrder==="backwards"||U.memoizedProps.revealOrder==="unstable_legacy-backwards"||U.memoizedProps.revealOrder==="together")){if((U.flags&128)!==0)return U}else if(U.child!==null){U.child.return=U,U=U.child;continue}if(U===$)break;for(;U.sibling===null;){if(U.return===null||U.return===$)return null;U=U.return}U.sibling.return=U.return,U=U.sibling}return null}function f$(){var $=w0;k1===null?k1=[$]:k1.push($)}function Y$(){var $=w0;if(k1!==null&&($X++,k1[$X]!==$)){var U=t(P$);if(!zE.has(U)&&(zE.add(U),k1!==null)){for(var Q="",W=0;W<=$X;W++){var M=k1[W],_=W===$X?$:M;for(M=W+1+". "+M;30>M.length;)M+=" ";M+=_+`
103
+ `,Q+=M}console.error(`React has detected a change in the order of Hooks called by %s. This will lead to bugs and errors if not fixed. For more information, read the Rules of Hooks: https://react.dev/link/rules-of-hooks
104
+
105
+ Previous render Next render
106
+ ------------------------------------------------------
107
+ %s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
108
+ `,U,Q)}}}function CJ($){$===void 0||$===null||Q6($)||console.error("%s received a final argument that is not an array (instead, received `%s`). When specified, the final argument must be an array.",w0,typeof $)}function HZ(){var $=t(P$);VE.has($)||(VE.add($),console.error("ReactDOM.useFormState has been renamed to React.useActionState. Please update %s to use React.useActionState.",$))}function lU(){throw Error(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
109
+ 1. You might have mismatching versions of React and the renderer (such as React DOM)
110
+ 2. You might be breaking the Rules of Hooks
111
+ 3. You might have more than one copy of React in the same app
112
+ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`)}function fD($,U){if(EG)return!1;if(U===null)return console.error("%s received a final argument during this render, but not during the previous render. Even though the final argument is optional, its type cannot change between renders.",w0),!1;$.length!==U.length&&console.error(`The final argument passed to %s changed size between renders. The order and size of this array must remain constant.
113
+
114
+ Previous: %s
115
+ Incoming: %s`,w0,"["+U.join(", ")+"]","["+$.join(", ")+"]");for(var Q=0;Q<U.length&&Q<$.length;Q++)if(!v6($[Q],U[Q]))return!1;return!0}function yD($,U,Q,W,M,_){if(s4=_,P$=U,k1=$!==null?$._debugHookTypes:null,$X=-1,EG=$!==null&&$.type!==U.type,Object.prototype.toString.call(Q)==="[object AsyncFunction]"||Object.prototype.toString.call(Q)==="[object AsyncGeneratorFunction]")_=t(P$),$W.has(_)||($W.add(_),console.error("%s is an async Client Component. Only Server Components can be async at the moment. This error is often caused by accidentally adding `'use client'` to a module that was originally written for the server.",_===null?"An unknown Component":"<"+_+">"));U.memoizedState=null,U.updateQueue=null,U.lanes=0,y0.H=$!==null&&$.memoizedState!==null?XW:k1!==null?DE:UW,uI=_=(U.mode&_6)!==C$;var k=oK(Q,W,M);if(uI=!1,QQ&&(k=bD(U,Q,W,M)),_){q0(!0);try{k=bD(U,Q,W,M)}finally{q0(!1)}}return UT($,U),k}function UT($,U){U._debugHookTypes=k1,U.dependencies===null?e4!==null&&(U.dependencies={lanes:0,firstContext:null,_debugThenableState:e4}):U.dependencies._debugThenableState=e4,y0.H=RG;var Q=GU!==null&&GU.next!==null;if(s4=0,k1=w0=$6=GU=P$=null,$X=-1,$!==null&&($.flags&65011712)!==(U.flags&65011712)&&console.error("Internal React error: Expected static flag was missing. Please notify the React team."),Sz=!1,_G=0,e4=null,Q)throw Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");$===null||U6||($=$.dependencies,$!==null&&JZ($)&&(U6=!0)),TG?(TG=!1,$=!0):$=!1,$&&(U=t(U)||"Unknown",OE.has(U)||$W.has(U)||(OE.add(U),console.error("`use` was called from inside a try/catch block. This is not allowed and can lead to unexpected behavior. To handle errors triggered by `use`, wrap your component in a error boundary.")))}function bD($,U,Q,W){P$=$;var M=0;do{if(QQ&&(e4=null),_G=0,QQ=!1,M>=ak)throw Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");if(M+=1,EG=!1,$6=GU=null,$.updateQueue!=null){var _=$.updateQueue;_.lastEffect=null,_.events=null,_.stores=null,_.memoCache!=null&&(_.memoCache.index=0)}$X=-1,y0.H=KE,_=oK(U,Q,W)}while(QQ);return _}function Wq(){var $=y0.H,U=$.useState()[0];return U=typeof U.then==="function"?vY(U):U,$=$.useState()[0],(GU!==null?GU.memoizedState:null)!==$&&(P$.flags|=1024),U}function uD(){var $=jz!==0;return jz=0,$}function hD($,U,Q){U.updateQueue=$.updateQueue,U.flags=(U.mode&l1)!==C$?U.flags&-402655237:U.flags&-2053,$.lanes&=~Q}function cD($){if(Sz){for($=$.memoizedState;$!==null;){var U=$.queue;U!==null&&(U.pending=null),$=$.next}Sz=!1}s4=0,k1=$6=GU=P$=null,$X=-1,w0=null,QQ=!1,_G=jz=0,e4=null}function R6(){var $={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return $6===null?P$.memoizedState=$6=$:$6=$6.next=$,$6}function UU(){if(GU===null){var $=P$.alternate;$=$!==null?$.memoizedState:null}else $=GU.next;var U=$6===null?P$.memoizedState:$6.next;if(U!==null)$6=U,GU=$;else{if($===null){if(P$.alternate===null)throw Error("Update hook called on initial render. This is likely a bug in React. Please file an issue.");throw Error("Rendered more hooks than during the previous render.")}GU=$,$={memoizedState:GU.memoizedState,baseState:GU.baseState,baseQueue:GU.baseQueue,queue:GU.queue,next:null},$6===null?P$.memoizedState=$6=$:$6=$6.next=$}return $6}function LZ(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function vY($){var U=_G;return _G+=1,e4===null&&(e4=cA()),$=mA(e4,$,U),U=P$,($6===null?U.memoizedState:$6.next)===null&&(U=U.alternate,y0.H=U!==null&&U.memoizedState!==null?XW:UW),$}function PX($){if($!==null&&typeof $==="object"){if(typeof $.then==="function")return vY($);if($.$$typeof===F4)return SU($)}throw Error("An unsupported type was passed to use(): "+String($))}function PI($){var U=null,Q=P$.updateQueue;if(Q!==null&&(U=Q.memoCache),U==null){var W=P$.alternate;W!==null&&(W=W.updateQueue,W!==null&&(W=W.memoCache,W!=null&&(U={data:W.data.map(function(M){return M.slice()}),index:0})))}if(U==null&&(U={data:[],index:0}),Q===null&&(Q=LZ(),P$.updateQueue=Q),Q.memoCache=U,Q=U.data[U.index],Q===void 0||EG)for(Q=U.data[U.index]=Array($),W=0;W<$;W++)Q[W]=v3;else Q.length!==$&&console.error("Expected a constant size argument for each invocation of useMemoCache. The previous cache was allocated with size %s but size %s was requested.",Q.length,$);return U.index++,Q}function h1($,U){return typeof U==="function"?U($):U}function pD($,U,Q){var W=R6();if(Q!==void 0){var M=Q(U);if(uI){q0(!0);try{Q(U)}finally{q0(!1)}}}else M=U;return W.memoizedState=W.baseState=M,$={pending:null,lanes:0,dispatch:null,lastRenderedReducer:$,lastRenderedState:M},W.queue=$,$=$.dispatch=Aq.bind(null,P$,$),[W.memoizedState,$]}function PJ($){var U=UU();return mD(U,GU,$)}function mD($,U,Q){var W=$.queue;if(W===null)throw Error("Should have a queue. You are likely calling Hooks conditionally, which is not allowed. (https://react.dev/link/invalid-hook-call)");W.lastRenderedReducer=Q;var M=$.baseQueue,_=W.pending;if(_!==null){if(M!==null){var k=M.next;M.next=_.next,_.next=k}U.baseQueue!==M&&console.error("Internal error: Expected work-in-progress queue to be a clone. This is a bug in React."),U.baseQueue=M=_,W.pending=null}if(_=$.baseState,M===null)$.memoizedState=_;else{U=M.next;var f=k=null,l=null,o=U,P0=!1;do{var _0=o.lane&-536870913;if(_0!==o.lane?(k$&_0)===_0:(s4&_0)===_0){var K0=o.revertLane;if(K0===0)l!==null&&(l=l.next={lane:0,revertLane:0,gesture:null,action:o.action,hasEagerState:o.hasEagerState,eagerState:o.eagerState,next:null}),_0===gI&&(P0=!0);else if((s4&K0)===K0){o=o.next,K0===gI&&(P0=!0);continue}else _0={lane:0,revertLane:o.revertLane,gesture:null,action:o.action,hasEagerState:o.hasEagerState,eagerState:o.eagerState,next:null},l===null?(f=l=_0,k=_):l=l.next=_0,P$.lanes|=K0,mX|=K0;_0=o.action,uI&&Q(_,_0),_=o.hasEagerState?o.eagerState:Q(_,_0)}else K0={lane:_0,revertLane:o.revertLane,gesture:o.gesture,action:o.action,hasEagerState:o.hasEagerState,eagerState:o.eagerState,next:null},l===null?(f=l=K0,k=_):l=l.next=K0,P$.lanes|=_0,mX|=_0;o=o.next}while(o!==null&&o!==U);if(l===null?k=_:l.next=f,!v6(_,$.memoizedState)&&(U6=!0,P0&&(Q=eJ,Q!==null)))throw Q;$.memoizedState=_,$.baseState=k,$.baseQueue=l,W.lastRenderedState=_}return M===null&&(W.lanes=0),[$.memoizedState,W.dispatch]}function NY($){var U=UU(),Q=U.queue;if(Q===null)throw Error("Should have a queue. You are likely calling Hooks conditionally, which is not allowed. (https://react.dev/link/invalid-hook-call)");Q.lastRenderedReducer=$;var{dispatch:W,pending:M}=Q,_=U.memoizedState;if(M!==null){Q.pending=null;var k=M=M.next;do _=$(_,k.action),k=k.next;while(k!==M);v6(_,U.memoizedState)||(U6=!0),U.memoizedState=_,U.baseQueue===null&&(U.baseState=_),Q.lastRenderedState=_}return[_,W]}function lD($,U,Q){var W=P$,M=R6();if(p$){if(Q===void 0)throw Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");var _=Q();JQ||_===Q()||(console.error("The result of getServerSnapshot should be cached to avoid an infinite loop"),JQ=!0)}else{if(_=U(),JQ||(Q=U(),v6(_,Q)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),JQ=!0)),ZU===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");(k$&127)!==0||XT(W,U,_)}return M.memoizedState=_,Q={value:_,getSnapshot:U},M.queue=Q,CZ(JT.bind(null,W,Q,$),[$]),W.flags|=2048,EJ(q1|k6,{destroy:void 0},IT.bind(null,W,Q,_,U),null),_}function MZ($,U,Q){var W=P$,M=UU(),_=p$;if(_){if(Q===void 0)throw Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");Q=Q()}else if(Q=U(),!JQ){var k=U();v6(Q,k)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),JQ=!0)}if(k=!v6((GU||M).memoizedState,Q))M.memoizedState=Q,U6=!0;M=M.queue;var f=JT.bind(null,W,M,$);if(m6(2048,k6,f,[$]),M.getSnapshot!==U||k||$6!==null&&$6.memoizedState.tag&q1){if(W.flags|=2048,EJ(q1|k6,{destroy:void 0},IT.bind(null,W,M,Q,U),null),ZU===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");_||(s4&127)!==0||XT(W,U,Q)}return Q}function XT($,U,Q){$.flags|=16384,$={getSnapshot:U,value:Q},U=P$.updateQueue,U===null?(U=LZ(),P$.updateQueue=U,U.stores=[$]):(Q=U.stores,Q===null?U.stores=[$]:Q.push($))}function IT($,U,Q,W){U.value=Q,U.getSnapshot=W,QT(U)&&YT($)}function JT($,U,Q){return Q(function(){QT(U)&&(U4(2,"updateSyncExternalStore()",$),YT($))})}function QT($){var U=$.getSnapshot;$=$.value;try{var Q=U();return!v6($,Q)}catch(W){return!0}}function YT($){var U=C6($,2);U!==null&&gU(U,$,2)}function dD($){var U=R6();if(typeof $==="function"){var Q=$;if($=Q(),uI){q0(!0);try{Q()}finally{q0(!1)}}}return U.memoizedState=U.baseState=$,U.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:h1,lastRenderedState:$},U}function nD($){$=dD($);var U=$.queue,Q=RT.bind(null,P$,U);return U.dispatch=Q,[$.memoizedState,Q]}function oD($){var U=R6();U.memoizedState=U.baseState=$;var Q={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return U.queue=Q,U=G8.bind(null,P$,!0,Q),Q.dispatch=U,[$,U]}function GT($,U){var Q=UU();return ZT(Q,GU,$,U)}function ZT($,U,Q,W){return $.baseState=Q,mD($,GU,typeof W==="function"?W:h1)}function zT($,U){var Q=UU();if(GU!==null)return ZT(Q,GU,$,U);return Q.baseState=$,[$,Q.queue.dispatch]}function Fq($,U,Q,W,M){if(jZ($))throw Error("Cannot update form state while rendering.");if($=U.action,$!==null){var _={payload:M,action:$,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(k){_.listeners.push(k)}};y0.T!==null?Q(!0):_.isTransition=!1,W(_),Q=U.pending,Q===null?(_.next=U.pending=_,OT(U,_)):(_.next=Q.next,U.pending=Q.next=_)}}function OT($,U){var{action:Q,payload:W}=U,M=$.state;if(U.isTransition){var _=y0.T,k={};k._updatedFibers=new Set,y0.T=k;try{var f=Q(M,W),l=y0.S;l!==null&&l(k,f),VT($,U,f)}catch(o){iD($,U,o)}finally{_!==null&&k.types!==null&&(_.types!==null&&_.types!==k.types&&console.error("We expected inner Transitions to have transferred the outer types set and that you cannot add to the outer Transition while inside the inner.This is a bug in React."),_.types=k.types),y0.T=_,_===null&&k._updatedFibers&&($=k._updatedFibers.size,k._updatedFibers.clear(),10<$&&console.warn("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."))}}else try{k=Q(M,W),VT($,U,k)}catch(o){iD($,U,o)}}function VT($,U,Q){Q!==null&&typeof Q==="object"&&typeof Q.then==="function"?(y0.asyncTransitions++,Q.then(SZ,SZ),Q.then(function(W){DT($,U,W)},function(W){return iD($,U,W)}),U.isTransition||console.error("An async function with useActionState was called outside of a transition. This is likely not what you intended (for example, isPending will not update correctly). Either call the returned function inside startTransition, or pass it to an `action` or `formAction` prop.")):DT($,U,Q)}function DT($,U,Q){U.status="fulfilled",U.value=Q,KT(U),$.state=Q,U=$.pending,U!==null&&(Q=U.next,Q===U?$.pending=null:(Q=Q.next,U.next=Q,OT($,Q)))}function iD($,U,Q){var W=$.pending;if($.pending=null,W!==null){W=W.next;do U.status="rejected",U.reason=Q,KT(U),U=U.next;while(U!==W)}$.action=null}function KT($){$=$.listeners;for(var U=0;U<$.length;U++)(0,$[U])()}function WT($,U){return U}function _J($,U){if(p$){var Q=ZU.formState;if(Q!==null){$:{var W=P$;if(p$){if(TU){U:{var M=TU;for(var _=B1;M.nodeType!==8;){if(!_){M=null;break U}if(M=Y1(M.nextSibling),M===null){M=null;break U}}_=M.data,M=_===RW||_===sE?M:null}if(M){TU=Y1(M.nextSibling),W=M.data===RW;break $}}FX(W)}W=!1}W&&(U=Q[0])}}return Q=R6(),Q.memoizedState=Q.baseState=U,W={pending:null,lanes:0,dispatch:null,lastRenderedReducer:WT,lastRenderedState:U},Q.queue=W,Q=RT.bind(null,P$,W),W.dispatch=Q,W=dD(!1),_=G8.bind(null,P$,!1,W.queue),W=R6(),M={state:U,dispatch:null,action:$,pending:null},W.queue=M,Q=Fq.bind(null,P$,M,_,Q),M.dispatch=Q,W.memoizedState=$,[U,Q,!1]}function AZ($){var U=UU();return FT(U,GU,$)}function FT($,U,Q){if(U=mD($,U,WT)[0],$=PJ(h1)[0],typeof U==="object"&&U!==null&&typeof U.then==="function")try{var W=vY(U)}catch(k){if(k===$Q)throw Pz;throw k}else W=U;U=UU();var M=U.queue,_=M.dispatch;return Q!==U.memoizedState&&(P$.flags|=2048,EJ(q1|k6,{destroy:void 0},Hq.bind(null,M,Q),null)),[W,_,$]}function Hq($,U){$.action=U}function TZ($){var U=UU(),Q=GU;if(Q!==null)return FT(U,Q,$);UU(),U=U.memoizedState,Q=UU();var W=Q.queue.dispatch;return Q.memoizedState=$,[U,W,!1]}function EJ($,U,Q,W){return $={tag:$,create:Q,deps:W,inst:U,next:null},U=P$.updateQueue,U===null&&(U=LZ(),P$.updateQueue=U),Q=U.lastEffect,Q===null?U.lastEffect=$.next=$:(W=Q.next,Q.next=$,$.next=W,U.lastEffect=$),$}function rD($){var U=R6();return $={current:$},U.memoizedState=$}function _I($,U,Q,W){var M=R6();P$.flags|=$,M.memoizedState=EJ(q1|U,{destroy:void 0},Q,W===void 0?null:W)}function m6($,U,Q,W){var M=UU();W=W===void 0?null:W;var _=M.memoizedState.inst;GU!==null&&W!==null&&fD(W,GU.memoizedState.deps)?M.memoizedState=EJ(U,_,Q,W):(P$.flags|=$,M.memoizedState=EJ(q1|U,_,Q,W))}function CZ($,U){(P$.mode&l1)!==C$?_I(276826112,k6,$,U):_I(8390656,k6,$,U)}function Lq($){P$.flags|=4;var U=P$.updateQueue;if(U===null)U=LZ(),P$.updateQueue=U,U.events=[$];else{var Q=U.events;Q===null?U.events=[$]:Q.push($)}}function tD($){var U=R6(),Q={impl:$};return U.memoizedState=Q,function(){if((n$&G6)!==D6)throw Error("A function wrapped in useEffectEvent can't be called during rendering.");return Q.impl.apply(void 0,arguments)}}function PZ($){var U=UU().memoizedState;return Lq({ref:U,nextImpl:$}),function(){if((n$&G6)!==D6)throw Error("A function wrapped in useEffectEvent can't be called during rendering.");return U.impl.apply(void 0,arguments)}}function aD($,U){var Q=4194308;return(P$.mode&l1)!==C$&&(Q|=134217728),_I(Q,D1,$,U)}function HT($,U){if(typeof U==="function"){$=$();var Q=U($);return function(){typeof Q==="function"?Q():U(null)}}if(U!==null&&U!==void 0)return U.hasOwnProperty("current")||console.error("Expected useImperativeHandle() first argument to either be a ref callback or React.createRef() object. Instead received: %s.","an object with keys {"+Object.keys(U).join(", ")+"}"),$=$(),U.current=$,function(){U.current=null}}function sD($,U,Q){typeof U!=="function"&&console.error("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",U!==null?typeof U:"null"),Q=Q!==null&&Q!==void 0?Q.concat([$]):null;var W=4194308;(P$.mode&l1)!==C$&&(W|=134217728),_I(W,D1,HT.bind(null,U,$),Q)}function _Z($,U,Q){typeof U!=="function"&&console.error("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",U!==null?typeof U:"null"),Q=Q!==null&&Q!==void 0?Q.concat([$]):null,m6(4,D1,HT.bind(null,U,$),Q)}function eD($,U){return R6().memoizedState=[$,U===void 0?null:U],$}function EZ($,U){var Q=UU();U=U===void 0?null:U;var W=Q.memoizedState;if(U!==null&&fD(U,W[1]))return W[0];return Q.memoizedState=[$,U],$}function $8($,U){var Q=R6();U=U===void 0?null:U;var W=$();if(uI){q0(!0);try{$()}finally{q0(!1)}}return Q.memoizedState=[W,U],W}function RZ($,U){var Q=UU();U=U===void 0?null:U;var W=Q.memoizedState;if(U!==null&&fD(U,W[1]))return W[0];if(W=$(),uI){q0(!0);try{$()}finally{q0(!1)}}return Q.memoizedState=[W,U],W}function U8($,U){var Q=R6();return X8(Q,$,U)}function LT($,U){var Q=UU();return AT(Q,GU.memoizedState,$,U)}function MT($,U){var Q=UU();return GU===null?X8(Q,$,U):AT(Q,GU.memoizedState,$,U)}function X8($,U,Q){if(Q===void 0||(s4&1073741824)!==0&&(k$&261930)===0)return $.memoizedState=U;return $.memoizedState=Q,$=TC(),P$.lanes|=$,mX|=$,Q}function AT($,U,Q,W){if(v6(Q,U))return Q;if(XQ.current!==null)return $=X8($,Q,W),v6($,U)||(U6=!0),$;if((s4&42)===0||(s4&1073741824)!==0&&(k$&261930)===0)return U6=!0,$.memoizedState=Q;return $=TC(),P$.lanes|=$,mX|=$,U}function SZ(){y0.asyncTransitions--}function TT($,U,Q,W,M){var _=s$.p;s$.p=_!==0&&_<m1?_:m1;var k=y0.T,f={};f._updatedFibers=new Set,y0.T=f,G8($,!1,U,Q);try{var l=M(),o=y0.S;if(o!==null&&o(f,l),l!==null&&typeof l==="object"&&typeof l.then==="function"){y0.asyncTransitions++,l.then(SZ,SZ);var P0=Dq(l,W);qY($,U,P0,Q1($))}else qY($,U,W,Q1($))}catch(_0){qY($,U,{then:function(){},status:"rejected",reason:_0},Q1($))}finally{s$.p=_,k!==null&&f.types!==null&&(k.types!==null&&k.types!==f.types&&console.error("We expected inner Transitions to have transferred the outer types set and that you cannot add to the outer Transition while inside the inner.This is a bug in React."),k.types=f.types),y0.T=k,k===null&&f._updatedFibers&&($=f._updatedFibers.size,f._updatedFibers.clear(),10<$&&console.warn("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."))}}function I8($,U,Q,W){if($.tag!==5)throw Error("Expected the form instance to be a HostComponent. This is a bug in React.");var M=CT($).queue;Oq($),TT($,M,U,tI,Q===null?R:function(){return PT($),Q(W)})}function CT($){var U=$.memoizedState;if(U!==null)return U;U={memoizedState:tI,baseState:tI,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:h1,lastRenderedState:tI},next:null};var Q={};return U.next={memoizedState:Q,baseState:Q,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:h1,lastRenderedState:Q},next:null},$.memoizedState=U,$=$.alternate,$!==null&&($.memoizedState=U),U}function PT($){y0.T===null&&console.error("requestFormReset was called outside a transition or action. To fix, move to an action, or wrap with startTransition.");var U=CT($);U.next===null&&(U=$.alternate.memoizedState),qY($,U.next.queue,{},Q1($))}function J8(){var $=dD(!1);return $=TT.bind(null,P$,$.queue,!0,!1),R6().memoizedState=$,[!1,$]}function _T(){var $=PJ(h1)[0],U=UU().memoizedState;return[typeof $==="boolean"?$:vY($),U]}function ET(){var $=NY(h1)[0],U=UU().memoizedState;return[typeof $==="boolean"?$:vY($),U]}function EI(){return SU(hG)}function Q8(){var $=R6(),U=ZU.identifierPrefix;if(p$){var Q=o4,W=n4;Q=(W&~(1<<32-S6(W)-1)).toString(32)+Q,U="_"+U+"R_"+Q,Q=jz++,0<Q&&(U+="H"+Q.toString(32)),U+="_"}else Q=tk++,U="_"+U+"r_"+Q.toString(32)+"_";return $.memoizedState=U}function Y8(){return R6().memoizedState=Mq.bind(null,P$)}function Mq($,U){for(var Q=$.return;Q!==null;){switch(Q.tag){case 24:case 3:var W=Q1(Q),M=MX(W),_=AX(Q,M,W);_!==null&&(U4(W,"refresh()",$),gU(_,Q,W),SY(_,Q,W)),$=SD(),U!==null&&U!==void 0&&_!==null&&console.error("The seed argument is not enabled outside experimental channels."),M.payload={cache:$};return}Q=Q.return}}function Aq($,U,Q){var W=arguments;typeof W[3]==="function"&&console.error("State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect()."),W=Q1($);var M={lane:W,revertLane:0,gesture:null,action:Q,hasEagerState:!1,eagerState:null,next:null};jZ($)?ST(U,M):(M=WD($,U,M,W),M!==null&&(U4(W,"dispatch()",$),gU(M,$,W),jT(M,U,W)))}function RT($,U,Q){var W=arguments;typeof W[3]==="function"&&console.error("State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect()."),W=Q1($),qY($,U,Q,W)&&U4(W,"setState()",$)}function qY($,U,Q,W){var M={lane:W,revertLane:0,gesture:null,action:Q,hasEagerState:!1,eagerState:null,next:null};if(jZ($))ST(U,M);else{var _=$.alternate;if($.lanes===0&&(_===null||_.lanes===0)&&(_=U.lastRenderedReducer,_!==null)){var k=y0.H;y0.H=n1;try{var f=U.lastRenderedState,l=_(f,Q);if(M.hasEagerState=!0,M.eagerState=l,v6(l,f))return e2($,U,M,0),ZU===null&&s2(),!1}catch(o){}finally{y0.H=k}}if(Q=WD($,U,M,W),Q!==null)return gU(Q,$,W),jT(Q,U,W),!0}return!1}function G8($,U,Q,W){if(y0.T===null&&gI===0&&console.error("An optimistic state update occurred outside a transition or action. To fix, move the update to an action, or wrap with startTransition."),W={lane:2,revertLane:y8(),gesture:null,action:W,hasEagerState:!1,eagerState:null,next:null},jZ($)){if(U)throw Error("Cannot update optimistic state while rendering.");console.error("Cannot call startTransition while rendering.")}else U=WD($,Q,W,2),U!==null&&(U4(2,"setOptimistic()",$),gU(U,$,2))}function jZ($){var U=$.alternate;return $===P$||U!==null&&U===P$}function ST($,U){QQ=Sz=!0;var Q=$.pending;Q===null?U.next=U:(U.next=Q.next,Q.next=U),$.pending=U}function jT($,U,Q){if((Q&4194048)!==0){var W=U.lanes;W&=$.pendingLanes,Q|=W,U.lanes=Q,h0($,Q)}}function Z8($){if($!==null&&typeof $!=="function"){var U=String($);EE.has(U)||(EE.add(U),console.error("Expected the last optional `callback` argument to be a function. Instead received: %s.",$))}}function z8($,U,Q,W){var M=$.memoizedState,_=Q(W,M);if($.mode&_6){q0(!0);try{_=Q(W,M)}finally{q0(!1)}}_===void 0&&(U=L0(U)||"Component",TE.has(U)||(TE.add(U),console.error("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",U))),M=_===null||_===void 0?M:y$({},M,_),$.memoizedState=M,$.lanes===0&&($.updateQueue.baseState=M)}function BT($,U,Q,W,M,_,k){var f=$.stateNode;if(typeof f.shouldComponentUpdate==="function"){if(Q=f.shouldComponentUpdate(W,_,k),$.mode&_6){q0(!0);try{Q=f.shouldComponentUpdate(W,_,k)}finally{q0(!1)}}return Q===void 0&&console.error("%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.",L0(U)||"Component"),Q}return U.prototype&&U.prototype.isPureReactComponent?!AY(Q,W)||!AY(M,_):!0}function vT($,U,Q,W){var M=U.state;typeof U.componentWillReceiveProps==="function"&&U.componentWillReceiveProps(Q,W),typeof U.UNSAFE_componentWillReceiveProps==="function"&&U.UNSAFE_componentWillReceiveProps(Q,W),U.state!==M&&($=t($)||"Component",FE.has($)||(FE.add($),console.error("%s.componentWillReceiveProps(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",$)),IW.enqueueReplaceState(U,U.state,null))}function RI($,U){var Q=U;if("ref"in U){Q={};for(var W in U)W!=="ref"&&(Q[W]=U[W])}if($=$.defaultProps){Q===U&&(Q=y$({},Q));for(var M in $)Q[M]===void 0&&(Q[M]=$[M])}return Q}function NT($){gK($),console.warn(`%s
116
+
117
+ %s
118
+ `,YQ?"An error occurred in the <"+YQ+"> component.":"An error occurred in one of your React components.",`Consider adding an error boundary to your tree to customize error handling behavior.
119
+ Visit https://react.dev/link/error-boundaries to learn more about error boundaries.`)}function qT($){var U=YQ?"The above error occurred in the <"+YQ+"> component.":"The above error occurred in one of your React components.",Q="React will try to recreate this component tree from scratch using the error boundary you provided, "+((JW||"Anonymous")+".");if(typeof $==="object"&&$!==null&&typeof $.environmentName==="string"){var W=$.environmentName;$=[`%o
120
+
121
+ %s
122
+
123
+ %s
124
+ `,$,U,Q].slice(0),typeof $[0]==="string"?$.splice(0,1,YR+" "+$[0],GR,sz+W+sz,ZR):$.splice(0,0,YR,GR,sz+W+sz,ZR),$.unshift(console),W=Lx.apply(console.error,$),W()}else console.error(`%o
125
+
126
+ %s
127
+
128
+ %s
129
+ `,$,U,Q)}function kT($){gK($)}function BZ($,U){try{YQ=U.source?t(U.source):null,JW=null;var Q=U.value;if(y0.actQueue!==null)y0.thrownErrors.push(Q);else{var W=$.onUncaughtError;W(Q,{componentStack:U.stack})}}catch(M){setTimeout(function(){throw M})}}function xT($,U,Q){try{YQ=Q.source?t(Q.source):null,JW=t(U);var W=$.onCaughtError;W(Q.value,{componentStack:Q.stack,errorBoundary:U.tag===1?U.stateNode:null})}catch(M){setTimeout(function(){throw M})}}function O8($,U,Q){return Q=MX(Q),Q.tag=aK,Q.payload={element:null},Q.callback=function(){J0(U.source,BZ,$,U)},Q}function V8($){return $=MX($),$.tag=aK,$}function D8($,U,Q,W){var M=Q.type.getDerivedStateFromError;if(typeof M==="function"){var _=W.value;$.payload=function(){return M(_)},$.callback=function(){SA(Q),J0(W.source,xT,U,Q,W)}}var k=Q.stateNode;k!==null&&typeof k.componentDidCatch==="function"&&($.callback=function(){SA(Q),J0(W.source,xT,U,Q,W),typeof M!=="function"&&(dX===null?dX=new Set([this]):dX.add(this)),nk(this,W),typeof M==="function"||(Q.lanes&2)===0&&console.error("%s: Error boundaries should implement getDerivedStateFromError(). In that method, return a state update to display an error message or fallback UI.",t(Q)||"Unknown")})}function Tq($,U,Q,W,M){if(Q.flags|=32768,M4&&uY($,M),W!==null&&typeof W==="object"&&typeof W.then==="function"){if(U=Q.alternate,U!==null&&TJ(U,Q,M,!0),p$&&(C4=!0),Q=V1.current,Q!==null){switch(Q.tag){case 31:case 13:return N1===null?yZ():Q.alternate===null&&kU===XX&&(kU=Nz),Q.flags&=-257,Q.flags|=65536,Q.lanes=M,W===_z?Q.flags|=16384:(U=Q.updateQueue,U===null?Q.updateQueue=new Set([W]):U.add(W),x8($,W,M)),!1;case 22:return Q.flags|=65536,W===_z?Q.flags|=16384:(U=Q.updateQueue,U===null?(U={transitions:null,markerInstances:null,retryQueue:new Set([W])},Q.updateQueue=U):(Q=U.retryQueue,Q===null?U.retryQueue=new Set([W]):Q.add(W)),x8($,W,M)),!1}throw Error("Unexpected Suspense handler tag ("+Q.tag+"). This is a bug in React.")}return x8($,W,M),yZ(),!1}if(p$)return C4=!0,U=V1.current,U!==null?((U.flags&65536)===0&&(U.flags|=256),U.flags|=65536,U.lanes=M,W!==hK&&CY(U1(Error("There was an error while hydrating but React was able to recover by instead client rendering from the nearest Suspense boundary.",{cause:W}),Q))):(W!==hK&&CY(U1(Error("There was an error while hydrating but React was able to recover by instead client rendering the entire root.",{cause:W}),Q)),$=$.current.alternate,$.flags|=65536,M&=-M,$.lanes|=M,W=U1(W,Q),M=O8($.stateNode,W,M),WZ($,M),kU!==cX&&(kU=hI)),!1;var _=U1(Error("There was an error during concurrent rendering but React was able to recover by instead synchronously rendering the entire root.",{cause:W}),Q);if(qG===null?qG=[_]:qG.push(_),kU!==cX&&(kU=hI),U===null)return!0;W=U1(W,Q),Q=U;do{switch(Q.tag){case 3:return Q.flags|=65536,$=M&-M,Q.lanes|=$,$=O8(Q.stateNode,W,$),WZ(Q,$),!1;case 1:if(U=Q.type,_=Q.stateNode,(Q.flags&128)===0&&(typeof U.getDerivedStateFromError==="function"||_!==null&&typeof _.componentDidCatch==="function"&&(dX===null||!dX.has(_))))return Q.flags|=65536,M&=-M,Q.lanes|=M,M=V8(M),D8(M,$,Q,W),WZ(Q,M),!1}Q=Q.return}while(Q!==null);return!1}function H6($,U,Q,W){U.child=$===null?JE(U,null,Q,W):bI(U,$.child,Q,W)}function gT($,U,Q,W,M){Q=Q.render;var _=U.ref;if("ref"in W){var k={};for(var f in W)f!=="ref"&&(k[f]=W[f])}else k=W;if(TI(U),W=yD($,U,Q,k,_,M),f=uD(),$!==null&&!U6)return hD($,U,M),h4($,U,M);return p$&&f&&TD(U),U.flags|=1,H6($,U,W,M),U.child}function wT($,U,Q,W,M){if($===null){var _=Q.type;if(typeof _==="function"&&!HD(_)&&_.defaultProps===void 0&&Q.compare===null)return Q=HI(_),U.tag=15,U.type=Q,W8(U,_),fT($,U,Q,W,M);return $=LD(Q.type,null,W,U,U.mode,M),$.ref=U.ref,$.return=U,U.child=$}if(_=$.child,!T8($,M)){var k=_.memoizedProps;if(Q=Q.compare,Q=Q!==null?Q:AY,Q(k,W)&&$.ref===U.ref)return h4($,U,M)}return U.flags|=1,$=f4(_,W),$.ref=U.ref,$.return=U,U.child=$}function fT($,U,Q,W,M){if($!==null){var _=$.memoizedProps;if(AY(_,W)&&$.ref===U.ref&&U.type===$.type)if(U6=!1,U.pendingProps=W=_,T8($,M))($.flags&131072)!==0&&(U6=!0);else return U.lanes=$.lanes,h4($,U,M)}return K8($,U,Q,W,M)}function yT($,U,Q,W){var M=W.children,_=$!==null?$.memoizedState:null;if($===null&&U.stateNode===null&&(U.stateNode={_visibility:YG,_pendingMarkers:null,_retryCache:null,_transitions:null}),W.mode==="hidden"){if((U.flags&128)!==0){if(_=_!==null?_.baseLanes|Q:Q,$!==null){W=U.child=$.child;for(M=0;W!==null;)M=M|W.lanes|W.childLanes,W=W.sibling;W=M&~_}else W=0,U.child=null;return bT($,U,_,Q,W)}if((Q&536870912)!==0)U.memoizedState={baseLanes:0,cachePool:null},$!==null&&ZZ(U,_!==null?_.cachePool:null),_!==null?eA(U,_):xD(U),$T(U);else return W=U.lanes=536870912,bT($,U,_!==null?_.baseLanes|Q:Q,Q,W)}else _!==null?(ZZ(U,_.cachePool),eA(U,_),CX(U),U.memoizedState=null):($!==null&&ZZ(U,null),xD(U),CX(U));return H6($,U,M,Q),U.child}function kY($,U){return $!==null&&$.tag===22||U.stateNode!==null||(U.stateNode={_visibility:YG,_pendingMarkers:null,_retryCache:null,_transitions:null}),U.sibling}function bT($,U,Q,W,M){var _=vD();return _=_===null?null:{parent:sU._currentValue,pool:_},U.memoizedState={baseLanes:Q,cachePool:_},$!==null&&ZZ(U,null),xD(U),$T(U),$!==null&&TJ($,U,W,!0),U.childLanes=M,null}function vZ($,U){var Q=U.hidden;return Q!==void 0&&console.error(`<Activity> doesn't accept a hidden prop. Use mode="hidden" instead.
130
+ - <Activity %s>
131
+ + <Activity %s>`,Q===!0?"hidden":Q===!1?"hidden={false}":"hidden={...}",Q?'mode="hidden"':'mode="visible"'),U=qZ({mode:U.mode,children:U.children},$.mode),U.ref=$.ref,$.child=U,U.return=$,U}function uT($,U,Q){return bI(U,$.child,null,Q),$=vZ(U,U.pendingProps),$.flags|=2,J1(U),U.memoizedState=null,$}function Cq($,U,Q){var W=U.pendingProps,M=(U.flags&128)!==0;if(U.flags&=-129,$===null){if(p$){if(W.mode==="hidden")return $=vZ(U,W),U.lanes=536870912,kY(null,$);if(wD(U),($=TU)?(Q=OP($,B1),Q=Q!==null&&Q.data===nI?Q:null,Q!==null&&(W={dehydrated:Q,treeContext:qA(),retryLane:536870912,hydrationErrors:null},U.memoizedState=W,W=vA(Q),W.return=U,U.child=W,A6=U,TU=null)):Q=null,Q===null)throw XZ(U,$),FX(U);return U.lanes=536870912,null}return vZ(U,W)}var _=$.memoizedState;if(_!==null){var k=_.dehydrated;if(wD(U),M)if(U.flags&256)U.flags&=-257,U=uT($,U,Q);else if(U.memoizedState!==null)U.child=$.child,U.flags|=128,U=null;else throw Error("Client rendering an Activity suspended it again. This is a bug in React.");else if(xA(),(Q&536870912)!==0&&fZ(U),U6||TJ($,U,Q,!1),M=(Q&$.childLanes)!==0,U6||M){if(W=ZU,W!==null&&(k=QU(W,Q),k!==0&&k!==_.retryLane))throw _.retryLane=k,C6($,k),gU(W,$,k),QW;yZ(),U=uT($,U,Q)}else $=_.treeContext,TU=Y1(k.nextSibling),A6=U,p$=!0,gX=null,C4=!1,O1=null,B1=!1,$!==null&&kA(U,$),U=vZ(U,W),U.flags|=4096;return U}return _=$.child,W={mode:W.mode,children:W.children},(Q&536870912)!==0&&(Q&$.lanes)!==0&&fZ(U),$=f4(_,W),$.ref=U.ref,U.child=$,$.return=U,$}function NZ($,U){var Q=U.ref;if(Q===null)$!==null&&$.ref!==null&&(U.flags|=4194816);else{if(typeof Q!=="function"&&typeof Q!=="object")throw Error("Expected ref to be a function, an object returned by React.createRef(), or undefined/null.");if($===null||$.ref!==Q)U.flags|=4194816}}function K8($,U,Q,W,M){if(Q.prototype&&typeof Q.prototype.render==="function"){var _=L0(Q)||"Unknown";RE[_]||(console.error("The <%s /> component appears to have a render method, but doesn't extend React.Component. This is likely to cause errors. Change %s to extend React.Component instead.",_,_),RE[_]=!0)}if(U.mode&_6&&d1.recordLegacyContextWarning(U,null),$===null&&(W8(U,U.type),Q.contextTypes&&(_=L0(Q)||"Unknown",jE[_]||(jE[_]=!0,console.error("%s uses the legacy contextTypes API which was removed in React 19. Use React.createContext() with React.useContext() instead. (https://react.dev/link/legacy-context)",_)))),TI(U),Q=yD($,U,Q,W,void 0,M),W=uD(),$!==null&&!U6)return hD($,U,M),h4($,U,M);return p$&&W&&TD(U),U.flags|=1,H6($,U,Q,M),U.child}function hT($,U,Q,W,M,_){if(TI(U),$X=-1,EG=$!==null&&$.type!==U.type,U.updateQueue=null,Q=bD(U,W,Q,M),UT($,U),W=uD(),$!==null&&!U6)return hD($,U,_),h4($,U,_);return p$&&W&&TD(U),U.flags|=1,H6($,U,Q,_),U.child}function cT($,U,Q,W,M){switch(Z(U)){case!1:var _=U.stateNode,k=new U.type(U.memoizedProps,_.context).state;_.updater.enqueueSetState(_,k,null);break;case!0:U.flags|=128,U.flags|=65536,_=Error("Simulated error coming from DevTools");var f=M&-M;if(U.lanes|=f,k=ZU,k===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");f=V8(f),D8(f,k,U,U1(_,U)),WZ(U,f)}if(TI(U),U.stateNode===null){if(k=xX,_=Q.contextType,"contextType"in Q&&_!==null&&(_===void 0||_.$$typeof!==F4)&&!_E.has(Q)&&(_E.add(Q),f=_===void 0?" However, it is set to undefined. This can be caused by a typo or by mixing up named and default imports. This can also happen due to a circular dependency, so try moving the createContext() call to a separate file.":typeof _!=="object"?" However, it is set to a "+typeof _+".":_.$$typeof===YK?" Did you accidentally pass the Context.Consumer instead?":" However, it is set to an object with keys {"+Object.keys(_).join(", ")+"}.",console.error("%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s",L0(Q)||"Component",f)),typeof _==="object"&&_!==null&&(k=SU(_)),_=new Q(W,k),U.mode&_6){q0(!0);try{_=new Q(W,k)}finally{q0(!1)}}if(k=U.memoizedState=_.state!==null&&_.state!==void 0?_.state:null,_.updater=IW,U.stateNode=_,_._reactInternals=U,_._reactInternalInstance=WE,typeof Q.getDerivedStateFromProps==="function"&&k===null&&(k=L0(Q)||"Component",HE.has(k)||(HE.add(k),console.error("`%s` uses `getDerivedStateFromProps` but its initial state is %s. This is not recommended. Instead, define the initial state by assigning an object to `this.state` in the constructor of `%s`. This ensures that `getDerivedStateFromProps` arguments have a consistent shape.",k,_.state===null?"null":"undefined",k))),typeof Q.getDerivedStateFromProps==="function"||typeof _.getSnapshotBeforeUpdate==="function"){var l=f=k=null;if(typeof _.componentWillMount==="function"&&_.componentWillMount.__suppressDeprecationWarning!==!0?k="componentWillMount":typeof _.UNSAFE_componentWillMount==="function"&&(k="UNSAFE_componentWillMount"),typeof _.componentWillReceiveProps==="function"&&_.componentWillReceiveProps.__suppressDeprecationWarning!==!0?f="componentWillReceiveProps":typeof _.UNSAFE_componentWillReceiveProps==="function"&&(f="UNSAFE_componentWillReceiveProps"),typeof _.componentWillUpdate==="function"&&_.componentWillUpdate.__suppressDeprecationWarning!==!0?l="componentWillUpdate":typeof _.UNSAFE_componentWillUpdate==="function"&&(l="UNSAFE_componentWillUpdate"),k!==null||f!==null||l!==null){_=L0(Q)||"Component";var o=typeof Q.getDerivedStateFromProps==="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";ME.has(_)||(ME.add(_),console.error(`Unsafe legacy lifecycles will not be called for components using new component APIs.
132
+
133
+ %s uses %s but also contains the following legacy lifecycles:%s%s%s
134
+
135
+ The above lifecycles should be removed. Learn more about this warning here:
136
+ https://react.dev/link/unsafe-component-lifecycles`,_,o,k!==null?`
137
+ `+k:"",f!==null?`
138
+ `+f:"",l!==null?`
139
+ `+l:""))}}_=U.stateNode,k=L0(Q)||"Component",_.render||(Q.prototype&&typeof Q.prototype.render==="function"?console.error("No `render` method found on the %s instance: did you accidentally return an object from the constructor?",k):console.error("No `render` method found on the %s instance: you may have forgotten to define `render`.",k)),!_.getInitialState||_.getInitialState.isReactClassApproved||_.state||console.error("getInitialState was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Did you mean to define a state property instead?",k),_.getDefaultProps&&!_.getDefaultProps.isReactClassApproved&&console.error("getDefaultProps was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Use a static property to define defaultProps instead.",k),_.contextType&&console.error("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",k),Q.childContextTypes&&!PE.has(Q)&&(PE.add(Q),console.error("%s uses the legacy childContextTypes API which was removed in React 19. Use React.createContext() instead. (https://react.dev/link/legacy-context)",k)),Q.contextTypes&&!CE.has(Q)&&(CE.add(Q),console.error("%s uses the legacy contextTypes API which was removed in React 19. Use React.createContext() with static contextType instead. (https://react.dev/link/legacy-context)",k)),typeof _.componentShouldUpdate==="function"&&console.error("%s has a method called componentShouldUpdate(). Did you mean shouldComponentUpdate()? The name is phrased as a question because the function is expected to return a value.",k),Q.prototype&&Q.prototype.isPureReactComponent&&typeof _.shouldComponentUpdate<"u"&&console.error("%s has a method called shouldComponentUpdate(). shouldComponentUpdate should not be used when extending React.PureComponent. Please extend React.Component if shouldComponentUpdate is used.",L0(Q)||"A pure component"),typeof _.componentDidUnmount==="function"&&console.error("%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?",k),typeof _.componentDidReceiveProps==="function"&&console.error("%s has a method called componentDidReceiveProps(). But there is no such lifecycle method. If you meant to update the state in response to changing props, use componentWillReceiveProps(). If you meant to fetch data or run side-effects or mutations after React has updated the UI, use componentDidUpdate().",k),typeof _.componentWillRecieveProps==="function"&&console.error("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",k),typeof _.UNSAFE_componentWillRecieveProps==="function"&&console.error("%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?",k),f=_.props!==W,_.props!==void 0&&f&&console.error("When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.",k),_.defaultProps&&console.error("Setting defaultProps as an instance property on %s is not supported and will be ignored. Instead, define defaultProps as a static property on %s.",k,k),typeof _.getSnapshotBeforeUpdate!=="function"||typeof _.componentDidUpdate==="function"||LE.has(Q)||(LE.add(Q),console.error("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.",L0(Q))),typeof _.getDerivedStateFromProps==="function"&&console.error("%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.",k),typeof _.getDerivedStateFromError==="function"&&console.error("%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.",k),typeof Q.getSnapshotBeforeUpdate==="function"&&console.error("%s: getSnapshotBeforeUpdate() is defined as a static method and will be ignored. Instead, declare it as an instance method.",k),(f=_.state)&&(typeof f!=="object"||Q6(f))&&console.error("%s.state: must be set to an object or null",k),typeof _.getChildContext==="function"&&typeof Q.childContextTypes!=="object"&&console.error("%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",k),_=U.stateNode,_.props=W,_.state=U.memoizedState,_.refs={},qD(U),k=Q.contextType,_.context=typeof k==="object"&&k!==null?SU(k):xX,_.state===W&&(k=L0(Q)||"Component",AE.has(k)||(AE.add(k),console.error("%s: It is not recommended to assign props directly to state because updates to props won't be reflected in state. In most cases, it is better to use props directly.",k))),U.mode&_6&&d1.recordLegacyContextWarning(U,_),d1.recordUnsafeLifecycleWarnings(U,_),_.state=U.memoizedState,k=Q.getDerivedStateFromProps,typeof k==="function"&&(z8(U,Q,k,W),_.state=U.memoizedState),typeof Q.getDerivedStateFromProps==="function"||typeof _.getSnapshotBeforeUpdate==="function"||typeof _.UNSAFE_componentWillMount!=="function"&&typeof _.componentWillMount!=="function"||(k=_.state,typeof _.componentWillMount==="function"&&_.componentWillMount(),typeof _.UNSAFE_componentWillMount==="function"&&_.UNSAFE_componentWillMount(),k!==_.state&&(console.error("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",t(U)||"Component"),IW.enqueueReplaceState(_,_.state,null)),BY(U,W,_,M),jY(),_.state=U.memoizedState),typeof _.componentDidMount==="function"&&(U.flags|=4194308),(U.mode&l1)!==C$&&(U.flags|=134217728),_=!0}else if($===null){_=U.stateNode;var P0=U.memoizedProps;f=RI(Q,P0),_.props=f;var _0=_.context;l=Q.contextType,k=xX,typeof l==="object"&&l!==null&&(k=SU(l)),o=Q.getDerivedStateFromProps,l=typeof o==="function"||typeof _.getSnapshotBeforeUpdate==="function",P0=U.pendingProps!==P0,l||typeof _.UNSAFE_componentWillReceiveProps!=="function"&&typeof _.componentWillReceiveProps!=="function"||(P0||_0!==k)&&vT(U,_,W,k),hX=!1;var K0=U.memoizedState;_.state=K0,BY(U,W,_,M),jY(),_0=U.memoizedState,P0||K0!==_0||hX?(typeof o==="function"&&(z8(U,Q,o,W),_0=U.memoizedState),(f=hX||BT(U,Q,f,W,K0,_0,k))?(l||typeof _.UNSAFE_componentWillMount!=="function"&&typeof _.componentWillMount!=="function"||(typeof _.componentWillMount==="function"&&_.componentWillMount(),typeof _.UNSAFE_componentWillMount==="function"&&_.UNSAFE_componentWillMount()),typeof _.componentDidMount==="function"&&(U.flags|=4194308),(U.mode&l1)!==C$&&(U.flags|=134217728)):(typeof _.componentDidMount==="function"&&(U.flags|=4194308),(U.mode&l1)!==C$&&(U.flags|=134217728),U.memoizedProps=W,U.memoizedState=_0),_.props=W,_.state=_0,_.context=k,_=f):(typeof _.componentDidMount==="function"&&(U.flags|=4194308),(U.mode&l1)!==C$&&(U.flags|=134217728),_=!1)}else{_=U.stateNode,kD($,U),k=U.memoizedProps,l=RI(Q,k),_.props=l,o=U.pendingProps,K0=_.context,_0=Q.contextType,f=xX,typeof _0==="object"&&_0!==null&&(f=SU(_0)),P0=Q.getDerivedStateFromProps,(_0=typeof P0==="function"||typeof _.getSnapshotBeforeUpdate==="function")||typeof _.UNSAFE_componentWillReceiveProps!=="function"&&typeof _.componentWillReceiveProps!=="function"||(k!==o||K0!==f)&&vT(U,_,W,f),hX=!1,K0=U.memoizedState,_.state=K0,BY(U,W,_,M),jY();var k0=U.memoizedState;k!==o||K0!==k0||hX||$!==null&&$.dependencies!==null&&JZ($.dependencies)?(typeof P0==="function"&&(z8(U,Q,P0,W),k0=U.memoizedState),(l=hX||BT(U,Q,l,W,K0,k0,f)||$!==null&&$.dependencies!==null&&JZ($.dependencies))?(_0||typeof _.UNSAFE_componentWillUpdate!=="function"&&typeof _.componentWillUpdate!=="function"||(typeof _.componentWillUpdate==="function"&&_.componentWillUpdate(W,k0,f),typeof _.UNSAFE_componentWillUpdate==="function"&&_.UNSAFE_componentWillUpdate(W,k0,f)),typeof _.componentDidUpdate==="function"&&(U.flags|=4),typeof _.getSnapshotBeforeUpdate==="function"&&(U.flags|=1024)):(typeof _.componentDidUpdate!=="function"||k===$.memoizedProps&&K0===$.memoizedState||(U.flags|=4),typeof _.getSnapshotBeforeUpdate!=="function"||k===$.memoizedProps&&K0===$.memoizedState||(U.flags|=1024),U.memoizedProps=W,U.memoizedState=k0),_.props=W,_.state=k0,_.context=f,_=l):(typeof _.componentDidUpdate!=="function"||k===$.memoizedProps&&K0===$.memoizedState||(U.flags|=4),typeof _.getSnapshotBeforeUpdate!=="function"||k===$.memoizedProps&&K0===$.memoizedState||(U.flags|=1024),_=!1)}if(f=_,NZ($,U),k=(U.flags&128)!==0,f||k){if(f=U.stateNode,Z0(U),k&&typeof Q.getDerivedStateFromError!=="function")Q=null,N6=-1;else if(Q=l_(f),U.mode&_6){q0(!0);try{l_(f)}finally{q0(!1)}}U.flags|=1,$!==null&&k?(U.child=bI(U,$.child,null,M),U.child=bI(U,null,Q,M)):H6($,U,Q,M),U.memoizedState=f.state,$=U.child}else $=h4($,U,M);return M=U.stateNode,_&&M.props!==W&&(GQ||console.error("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",t(U)||"a component"),GQ=!0),$}function pT($,U,Q,W){return AI(),U.flags|=256,H6($,U,Q,W),U.child}function W8($,U){U&&U.childContextTypes&&console.error(`childContextTypes cannot be defined on a function component.
140
+ %s.childContextTypes = ...`,U.displayName||U.name||"Component"),typeof U.getDerivedStateFromProps==="function"&&($=L0(U)||"Unknown",BE[$]||(console.error("%s: Function components do not support getDerivedStateFromProps.",$),BE[$]=!0)),typeof U.contextType==="object"&&U.contextType!==null&&(U=L0(U)||"Unknown",SE[U]||(console.error("%s: Function components do not support contextType.",U),SE[U]=!0))}function F8($){return{baseLanes:$,cachePool:hA()}}function H8($,U,Q){return $=$!==null?$.childLanes&~Q:0,U&&($|=i6),$}function mT($,U,Q){var W,M=U.pendingProps;O(U)&&(U.flags|=128);var _=!1,k=(U.flags&128)!==0;if((W=k)||(W=$!==null&&$.memoizedState===null?!1:(tU.current&PG)!==0),W&&(_=!0,U.flags&=-129),W=(U.flags&32)!==0,U.flags&=-33,$===null){if(p$){if(_?TX(U):CX(U),($=TU)?(Q=OP($,B1),Q=Q!==null&&Q.data!==nI?Q:null,Q!==null&&(W={dehydrated:Q,treeContext:qA(),retryLane:536870912,hydrationErrors:null},U.memoizedState=W,W=vA(Q),W.return=U,U.child=W,A6=U,TU=null)):Q=null,Q===null)throw XZ(U,$),FX(U);return r8(Q)?U.lanes=32:U.lanes=536870912,null}var f=M.children;if(M=M.fallback,_){CX(U);var l=U.mode;return f=qZ({mode:"hidden",children:f},l),M=LI(M,l,Q,null),f.return=U,M.return=U,f.sibling=M,U.child=f,M=U.child,M.memoizedState=F8(Q),M.childLanes=H8($,W,Q),U.memoizedState=YW,kY(null,M)}return TX(U),L8(U,f)}var o=$.memoizedState;if(o!==null){var P0=o.dehydrated;if(P0!==null){if(k)U.flags&256?(TX(U),U.flags&=-257,U=M8($,U,Q)):U.memoizedState!==null?(CX(U),U.child=$.child,U.flags|=128,U=null):(CX(U),f=M.fallback,l=U.mode,M=qZ({mode:"visible",children:M.children},l),f=LI(f,l,Q,null),f.flags|=2,M.return=U,f.return=U,M.sibling=f,U.child=M,bI(U,$.child,null,Q),M=U.child,M.memoizedState=F8(Q),M.childLanes=H8($,W,Q),U.memoizedState=YW,U=kY(null,M));else if(TX(U),xA(),(Q&536870912)!==0&&fZ(U),r8(P0)){if(W=P0.nextSibling&&P0.nextSibling.dataset,W){f=W.dgst;var _0=W.msg;l=W.stck;var K0=W.cstck}_=_0,W=f,M=l,P0=K0,f=_,l=P0,f=f?Error(f):Error("The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering."),f.stack=M||"",f.digest=W,W=l===void 0?null:l,M={value:f,source:null,stack:W},typeof W==="string"&&uK.set(f,M),CY(M),U=M8($,U,Q)}else if(U6||TJ($,U,Q,!1),W=(Q&$.childLanes)!==0,U6||W){if(W=ZU,W!==null&&(M=QU(W,Q),M!==0&&M!==o.retryLane))throw o.retryLane=M,C6($,M),gU(W,$,M),QW;i8(P0)||yZ(),U=M8($,U,Q)}else i8(P0)?(U.flags|=192,U.child=$.child,U=null):($=o.treeContext,TU=Y1(P0.nextSibling),A6=U,p$=!0,gX=null,C4=!1,O1=null,B1=!1,$!==null&&kA(U,$),U=L8(U,M.children),U.flags|=4096);return U}}if(_)return CX(U),f=M.fallback,l=U.mode,K0=$.child,P0=K0.sibling,M=f4(K0,{mode:"hidden",children:M.children}),M.subtreeFlags=K0.subtreeFlags&65011712,P0!==null?f=f4(P0,f):(f=LI(f,l,Q,null),f.flags|=2),f.return=U,M.return=U,M.sibling=f,U.child=M,kY(null,M),M=U.child,f=$.child.memoizedState,f===null?f=F8(Q):(l=f.cachePool,l!==null?(K0=sU._currentValue,l=l.parent!==K0?{parent:K0,pool:K0}:l):l=hA(),f={baseLanes:f.baseLanes|Q,cachePool:l}),M.memoizedState=f,M.childLanes=H8($,W,Q),U.memoizedState=YW,kY($.child,M);return o!==null&&(Q&62914560)===Q&&(Q&$.lanes)!==0&&fZ(U),TX(U),Q=$.child,$=Q.sibling,Q=f4(Q,{mode:"visible",children:M.children}),Q.return=U,Q.sibling=null,$!==null&&(W=U.deletions,W===null?(U.deletions=[$],U.flags|=16):W.push($)),U.child=Q,U.memoizedState=null,Q}function L8($,U){return U=qZ({mode:"visible",children:U},$.mode),U.return=$,$.child=U}function qZ($,U){return $=E(22,$,null,U),$.lanes=0,$}function M8($,U,Q){return bI(U,$.child,null,Q),$=L8(U,U.pendingProps.children),$.flags|=2,U.memoizedState=null,$}function lT($,U,Q){$.lanes|=U;var W=$.alternate;W!==null&&(W.lanes|=U),ED($.return,U,Q)}function A8($,U,Q,W,M,_){var k=$.memoizedState;k===null?$.memoizedState={isBackwards:U,rendering:null,renderingStartTime:0,last:W,tail:Q,tailMode:M,treeForkCount:_}:(k.isBackwards=U,k.rendering=null,k.renderingStartTime=0,k.last=W,k.tail=Q,k.tailMode=M,k.treeForkCount=_)}function dT($,U,Q){var W=U.pendingProps,M=W.revealOrder,_=W.tail,k=W.children,f=tU.current;if((W=(f&PG)!==0)?(f=f&IQ|PG,U.flags|=128):f&=IQ,K(tU,f,U),f=M==null?"null":M,M!=="forwards"&&M!=="unstable_legacy-backwards"&&M!=="together"&&M!=="independent"&&!vE[f])if(vE[f]=!0,M==null)console.error('The default for the <SuspenseList revealOrder="..."> prop is changing. To be future compatible you must explictly specify either "independent" (the current default), "together", "forwards" or "legacy_unstable-backwards".');else if(M==="backwards")console.error('The rendering order of <SuspenseList revealOrder="backwards"> is changing. To be future compatible you must specify revealOrder="legacy_unstable-backwards" instead.');else if(typeof M==="string")switch(M.toLowerCase()){case"together":case"forwards":case"backwards":case"independent":console.error('"%s" is not a valid value for revealOrder on <SuspenseList />. Use lowercase "%s" instead.',M,M.toLowerCase());break;case"forward":case"backward":console.error('"%s" is not a valid value for revealOrder on <SuspenseList />. React uses the -s suffix in the spelling. Use "%ss" instead.',M,M.toLowerCase());break;default:console.error('"%s" is not a supported revealOrder on <SuspenseList />. Did you mean "independent", "together", "forwards" or "backwards"?',M)}else console.error('%s is not a supported value for revealOrder on <SuspenseList />. Did you mean "independent", "together", "forwards" or "backwards"?',M);if(f=_==null?"null":_,!vz[f])if(_==null){if(M==="forwards"||M==="backwards"||M==="unstable_legacy-backwards")vz[f]=!0,console.error('The default for the <SuspenseList tail="..."> prop is changing. To be future compatible you must explictly specify either "visible" (the current default), "collapsed" or "hidden".')}else _!=="visible"&&_!=="collapsed"&&_!=="hidden"?(vz[f]=!0,console.error('"%s" is not a supported value for tail on <SuspenseList />. Did you mean "visible", "collapsed" or "hidden"?',_)):M!=="forwards"&&M!=="backwards"&&M!=="unstable_legacy-backwards"&&(vz[f]=!0,console.error('<SuspenseList tail="%s" /> is only valid if revealOrder is "forwards" or "backwards". Did you mean to specify revealOrder="forwards"?',_));$:if((M==="forwards"||M==="backwards"||M==="unstable_legacy-backwards")&&k!==void 0&&k!==null&&k!==!1)if(Q6(k)){for(f=0;f<k.length;f++)if(!tA(k[f],f))break $}else if(f=F0(k),typeof f==="function"){if(f=f.call(k))for(var l=f.next(),o=0;!l.done;l=f.next()){if(!tA(l.value,o))break $;o++}}else console.error('A single row was passed to a <SuspenseList revealOrder="%s" />. This is not useful since it needs multiple rows. Did you mean to pass multiple children or an array?',M);if(H6($,U,k,Q),p$?(WX(),k=GG):k=0,!W&&$!==null&&($.flags&128)!==0)$:for($=U.child;$!==null;){if($.tag===13)$.memoizedState!==null&&lT($,Q,U);else if($.tag===19)lT($,Q,U);else if($.child!==null){$.child.return=$,$=$.child;continue}if($===U)break $;for(;$.sibling===null;){if($.return===null||$.return===U)break $;$=$.return}$.sibling.return=$.return,$=$.sibling}switch(M){case"forwards":Q=U.child;for(M=null;Q!==null;)$=Q.alternate,$!==null&&FZ($)===null&&(M=Q),Q=Q.sibling;Q=M,Q===null?(M=U.child,U.child=null):(M=Q.sibling,Q.sibling=null),A8(U,!1,M,Q,_,k);break;case"backwards":case"unstable_legacy-backwards":Q=null,M=U.child;for(U.child=null;M!==null;){if($=M.alternate,$!==null&&FZ($)===null){U.child=M;break}$=M.sibling,M.sibling=Q,Q=M,M=$}A8(U,!0,Q,null,_,k);break;case"together":A8(U,!1,null,null,void 0,k);break;default:U.memoizedState=null}return U.child}function h4($,U,Q){if($!==null&&(U.dependencies=$.dependencies),N6=-1,mX|=U.lanes,(Q&U.childLanes)===0)if($!==null){if(TJ($,U,Q,!1),(Q&U.childLanes)===0)return null}else return null;if($!==null&&U.child!==$.child)throw Error("Resuming work not yet implemented.");if(U.child!==null){$=U.child,Q=f4($,$.pendingProps),U.child=Q;for(Q.return=U;$.sibling!==null;)$=$.sibling,Q=Q.sibling=f4($,$.pendingProps),Q.return=U;Q.sibling=null}return U.child}function T8($,U){if(($.lanes&U)!==0)return!0;return $=$.dependencies,$!==null&&JZ($)?!0:!1}function Pq($,U,Q){switch(U.tag){case 3:D(U,U.stateNode.containerInfo),HX(U,sU,$.memoizedState.cache),AI();break;case 27:case 5:j(U);break;case 4:D(U,U.stateNode.containerInfo);break;case 10:HX(U,U.type,U.memoizedProps.value);break;case 12:(Q&U.childLanes)!==0&&(U.flags|=4),U.flags|=2048;var W=U.stateNode;W.effectDuration=-0,W.passiveEffectDuration=-0;break;case 31:if(U.memoizedState!==null)return U.flags|=128,wD(U),null;break;case 13:if(W=U.memoizedState,W!==null){if(W.dehydrated!==null)return TX(U),U.flags|=128,null;if((Q&U.child.childLanes)!==0)return mT($,U,Q);return TX(U),$=h4($,U,Q),$!==null?$.sibling:null}TX(U);break;case 19:var M=($.flags&128)!==0;if(W=(Q&U.childLanes)!==0,W||(TJ($,U,Q,!1),W=(Q&U.childLanes)!==0),M){if(W)return dT($,U,Q);U.flags|=128}if(M=U.memoizedState,M!==null&&(M.rendering=null,M.tail=null,M.lastEffect=null),K(tU,tU.current,U),W)break;else return null;case 22:return U.lanes=0,yT($,U,Q,U.pendingProps);case 24:HX(U,sU,$.memoizedState.cache)}return h4($,U,Q)}function C8($,U,Q){if(U._debugNeedsRemount&&$!==null){Q=LD(U.type,U.key,U.pendingProps,U._debugOwner||null,U.mode,U.lanes),Q._debugStack=U._debugStack,Q._debugTask=U._debugTask;var W=U.return;if(W===null)throw Error("Cannot swap the root fiber.");if($.alternate=null,U.alternate=null,Q.index=U.index,Q.sibling=U.sibling,Q.return=U.return,Q.ref=U.ref,Q._debugInfo=U._debugInfo,U===W.child)W.child=Q;else{var M=W.child;if(M===null)throw Error("Expected parent to have a child.");for(;M.sibling!==U;)if(M=M.sibling,M===null)throw Error("Expected to find the previous sibling.");M.sibling=Q}return U=W.deletions,U===null?(W.deletions=[$],W.flags|=16):U.push($),Q.flags|=2,Q}if($!==null)if($.memoizedProps!==U.pendingProps||U.type!==$.type)U6=!0;else{if(!T8($,Q)&&(U.flags&128)===0)return U6=!1,Pq($,U,Q);U6=($.flags&131072)!==0?!0:!1}else{if(U6=!1,W=p$)WX(),W=(U.flags&1048576)!==0;W&&(W=U.index,WX(),NA(U,GG,W))}switch(U.lanes=0,U.tag){case 16:$:if(W=U.pendingProps,$=LX(U.elementType),U.type=$,typeof $==="function")HD($)?(W=RI($,W),U.tag=1,U.type=$=HI($),U=cT(null,U,$,W,Q)):(U.tag=0,W8(U,$),U.type=$=HI($),U=K8(null,U,$,W,Q));else{if($!==void 0&&$!==null){if(M=$.$$typeof,M===iY){U.tag=11,U.type=$=FD($),U=gT(null,U,$,W,Q);break $}else if(M===aZ){U.tag=14,U=wT(null,U,$,W,Q);break $}}throw U="",$!==null&&typeof $==="object"&&$.$$typeof===G1&&(U=" Did you wrap a component in React.lazy() more than once?"),Q=L0($)||$,Error("Element type is invalid. Received a promise that resolves to: "+Q+". Lazy element type must resolve to a class or function."+U)}return U;case 0:return K8($,U,U.type,U.pendingProps,Q);case 1:return W=U.type,M=RI(W,U.pendingProps),cT($,U,W,M,Q);case 3:$:{if(D(U,U.stateNode.containerInfo),$===null)throw Error("Should have a current fiber. This is a bug in React.");W=U.pendingProps;var _=U.memoizedState;M=_.element,kD($,U),BY(U,W,null,Q);var k=U.memoizedState;if(W=k.cache,HX(U,sU,W),W!==_.cache&&RD(U,[sU],Q,!0),jY(),W=k.element,_.isDehydrated)if(_={element:W,isDehydrated:!1,cache:k.cache},U.updateQueue.baseState=_,U.memoizedState=_,U.flags&256){U=pT($,U,W,Q);break $}else if(W!==M){M=U1(Error("This root received an early update, before anything was able hydrate. Switched the entire root to client rendering."),U),CY(M),U=pT($,U,W,Q);break $}else{switch($=U.stateNode.containerInfo,$.nodeType){case 9:$=$.body;break;default:$=$.nodeName==="HTML"?$.ownerDocument.body:$}TU=Y1($.firstChild),A6=U,p$=!0,gX=null,C4=!1,O1=null,B1=!0,Q=JE(U,null,W,Q);for(U.child=Q;Q;)Q.flags=Q.flags&-3|4096,Q=Q.sibling}else{if(AI(),W===M){U=h4($,U,Q);break $}H6($,U,W,Q)}U=U.child}return U;case 26:return NZ($,U),$===null?(Q=HP(U.type,null,U.pendingProps,null))?U.memoizedState=Q:p$||(Q=U.type,$=U.pendingProps,W=H(jX.current),W=cZ(W).createElement(Q),W[M6]=U,W[j6]=$,L6(W,Q,$),D$(W),U.stateNode=W):U.memoizedState=HP(U.type,$.memoizedProps,U.pendingProps,$.memoizedState),null;case 27:return j(U),$===null&&p$&&(W=H(jX.current),M=P(),W=U.stateNode=WP(U.type,U.pendingProps,W,M,!1),C4||(M=XP(W,U.type,U.pendingProps,M),M!==null&&(MI(U,0).serverProps=M)),A6=U,B1=!0,M=TU,RX(U.type)?(vW=M,TU=Y1(W.firstChild)):TU=M),H6($,U,U.pendingProps.children,Q),NZ($,U),$===null&&(U.flags|=4194304),U.child;case 5:return $===null&&p$&&(_=P(),W=GD(U.type,_.ancestorInfo),M=TU,(k=!M)||(k=O3(M,U.type,U.pendingProps,B1),k!==null?(U.stateNode=k,C4||(_=XP(k,U.type,U.pendingProps,_),_!==null&&(MI(U,0).serverProps=_)),A6=U,TU=Y1(k.firstChild),B1=!1,_=!0):_=!1,k=!_),k&&(W&&XZ(U,M),FX(U))),j(U),M=U.type,_=U.pendingProps,k=$!==null?$.memoizedProps:null,W=_.children,n8(M,_)?W=null:k!==null&&n8(M,k)&&(U.flags|=32),U.memoizedState!==null&&(M=yD($,U,Wq,null,null,Q),hG._currentValue=M),NZ($,U),H6($,U,W,Q),U.child;case 6:return $===null&&p$&&(Q=U.pendingProps,$=P(),W=$.ancestorInfo.current,Q=W!=null?n2(Q,W.tag,$.ancestorInfo.implicitRootScope):!0,$=TU,(W=!$)||(W=V3($,U.pendingProps,B1),W!==null?(U.stateNode=W,A6=U,TU=null,W=!0):W=!1,W=!W),W&&(Q&&XZ(U,$),FX(U))),null;case 13:return mT($,U,Q);case 4:return D(U,U.stateNode.containerInfo),W=U.pendingProps,$===null?U.child=bI(U,null,W,Q):H6($,U,W,Q),U.child;case 11:return gT($,U,U.type,U.pendingProps,Q);case 7:return H6($,U,U.pendingProps,Q),U.child;case 8:return H6($,U,U.pendingProps.children,Q),U.child;case 12:return U.flags|=4,U.flags|=2048,W=U.stateNode,W.effectDuration=-0,W.passiveEffectDuration=-0,H6($,U,U.pendingProps.children,Q),U.child;case 10:return W=U.type,M=U.pendingProps,_=M.value,"value"in M||NE||(NE=!0,console.error("The `value` prop is required for the `<Context.Provider>`. Did you misspell it or forget to pass it?")),HX(U,W,_),H6($,U,M.children,Q),U.child;case 9:return M=U.type._context,W=U.pendingProps.children,typeof W!=="function"&&console.error("A context consumer was rendered with multiple children, or a child that isn't a function. A context consumer expects a single child that is a function. If you did pass a function, make sure there is no trailing or leading whitespace around it."),TI(U),M=SU(M),W=oK(W,M,void 0),U.flags|=1,H6($,U,W,Q),U.child;case 14:return wT($,U,U.type,U.pendingProps,Q);case 15:return fT($,U,U.type,U.pendingProps,Q);case 19:return dT($,U,Q);case 31:return Cq($,U,Q);case 22:return yT($,U,Q,U.pendingProps);case 24:return TI(U),W=SU(sU),$===null?(M=vD(),M===null&&(M=ZU,_=SD(),M.pooledCache=_,CI(_),_!==null&&(M.pooledCacheLanes|=Q),M=_),U.memoizedState={parent:W,cache:M},qD(U),HX(U,sU,M)):(($.lanes&Q)!==0&&(kD($,U),BY(U,null,null,Q),jY()),M=$.memoizedState,_=U.memoizedState,M.parent!==W?(M={parent:W,cache:W},U.memoizedState=M,U.lanes===0&&(U.memoizedState=U.updateQueue.baseState=M),HX(U,sU,W)):(W=_.cache,HX(U,sU,W),W!==M.cache&&RD(U,[sU],Q,!0))),H6($,U,U.pendingProps.children,Q),U.child;case 29:throw U.pendingProps}throw Error("Unknown unit of work tag ("+U.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function c4($){$.flags|=4}function P8($,U,Q,W,M){if(U=($.mode&pk)!==C$)U=!1;if(U){if($.flags|=16777216,(M&335544128)===M)if($.stateNode.complete)$.flags|=8192;else if(EC())$.flags|=8192;else throw yI=_z,rK}else $.flags&=-16777217}function nT($,U){if(U.type!=="stylesheet"||(U.state.loading&x1)!==rI)$.flags&=-16777217;else if($.flags|=16777216,!CP(U))if(EC())$.flags|=8192;else throw yI=_z,rK}function kZ($,U){U!==null&&($.flags|=4),$.flags&16384&&(U=$.tag!==22?L$():536870912,$.lanes|=U,mI|=U)}function xY($,U){if(!p$)switch($.tailMode){case"hidden":U=$.tail;for(var Q=null;U!==null;)U.alternate!==null&&(Q=U),U=U.sibling;Q===null?$.tail=null:Q.sibling=null;break;case"collapsed":Q=$.tail;for(var W=null;Q!==null;)Q.alternate!==null&&(W=Q),Q=Q.sibling;W===null?U||$.tail===null?$.tail=null:$.tail.sibling=null:W.sibling=null}}function KU($){var U=$.alternate!==null&&$.alternate.child===$.child,Q=0,W=0;if(U)if(($.mode&N$)!==C$){for(var{selfBaseDuration:M,child:_}=$;_!==null;)Q|=_.lanes|_.childLanes,W|=_.subtreeFlags&65011712,W|=_.flags&65011712,M+=_.treeBaseDuration,_=_.sibling;$.treeBaseDuration=M}else for(M=$.child;M!==null;)Q|=M.lanes|M.childLanes,W|=M.subtreeFlags&65011712,W|=M.flags&65011712,M.return=$,M=M.sibling;else if(($.mode&N$)!==C$){M=$.actualDuration,_=$.selfBaseDuration;for(var k=$.child;k!==null;)Q|=k.lanes|k.childLanes,W|=k.subtreeFlags,W|=k.flags,M+=k.actualDuration,_+=k.treeBaseDuration,k=k.sibling;$.actualDuration=M,$.treeBaseDuration=_}else for(M=$.child;M!==null;)Q|=M.lanes|M.childLanes,W|=M.subtreeFlags,W|=M.flags,M.return=$,M=M.sibling;return $.subtreeFlags|=W,$.childLanes=Q,U}function _q($,U,Q){var W=U.pendingProps;switch(CD(U),U.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return KU(U),null;case 1:return KU(U),null;case 3:if(Q=U.stateNode,W=null,$!==null&&(W=$.memoizedState.cache),U.memoizedState.cache!==W&&(U.flags|=2048),b4(sU,U),F(U),Q.pendingContext&&(Q.context=Q.pendingContext,Q.pendingContext=null),$===null||$.child===null)AJ(U)?(_D(),c4(U)):$===null||$.memoizedState.isDehydrated&&(U.flags&256)===0||(U.flags|=1024,PD());return KU(U),null;case 26:var{type:M,memoizedState:_}=U;return $===null?(c4(U),_!==null?(KU(U),nT(U,_)):(KU(U),P8(U,M,null,W,Q))):_?_!==$.memoizedState?(c4(U),KU(U),nT(U,_)):(KU(U),U.flags&=-16777217):($=$.memoizedProps,$!==W&&c4(U),KU(U),P8(U,M,$,W,Q)),null;case 27:if(A(U),Q=H(jX.current),M=U.type,$!==null&&U.stateNode!=null)$.memoizedProps!==W&&c4(U);else{if(!W){if(U.stateNode===null)throw Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");return KU(U),null}$=P(),AJ(U)?gA(U,$):($=WP(M,W,Q,$,!0),U.stateNode=$,c4(U))}return KU(U),null;case 5:if(A(U),M=U.type,$!==null&&U.stateNode!=null)$.memoizedProps!==W&&c4(U);else{if(!W){if(U.stateNode===null)throw Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");return KU(U),null}var k=P();if(AJ(U))gA(U,k);else{switch(_=H(jX.current),GD(M,k.ancestorInfo),k=k.context,_=cZ(_),k){case FQ:_=_.createElementNS(uJ,M);break;case rz:_=_.createElementNS(Jz,M);break;default:switch(M){case"svg":_=_.createElementNS(uJ,M);break;case"math":_=_.createElementNS(Jz,M);break;case"script":_=_.createElement("div"),_.innerHTML="<script></script>",_=_.removeChild(_.firstChild);break;case"select":_=typeof W.is==="string"?_.createElement("select",{is:W.is}):_.createElement("select"),W.multiple?_.multiple=!0:W.size&&(_.size=W.size);break;default:_=typeof W.is==="string"?_.createElement(M,{is:W.is}):_.createElement(M),M.indexOf("-")===-1&&(M!==M.toLowerCase()&&console.error("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",M),Object.prototype.toString.call(_)!=="[object HTMLUnknownElement]"||p1.call($R,M)||($R[M]=!0,console.error("The tag <%s> is unrecognized in this browser. If you meant to render a React component, start its name with an uppercase letter.",M)))}}_[M6]=U,_[j6]=W;$:for(k=U.child;k!==null;){if(k.tag===5||k.tag===6)_.appendChild(k.stateNode);else if(k.tag!==4&&k.tag!==27&&k.child!==null){k.child.return=k,k=k.child;continue}if(k===U)break $;for(;k.sibling===null;){if(k.return===null||k.return===U)break $;k=k.return}k.sibling.return=k.return,k=k.sibling}U.stateNode=_;$:switch(L6(_,M,W),M){case"button":case"input":case"select":case"textarea":W=!!W.autoFocus;break $;case"img":W=!0;break $;default:W=!1}W&&c4(U)}}return KU(U),P8(U,U.type,$===null?null:$.memoizedProps,U.pendingProps,Q),null;case 6:if($&&U.stateNode!=null)$.memoizedProps!==W&&c4(U);else{if(typeof W!=="string"&&U.stateNode===null)throw Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");if($=H(jX.current),Q=P(),AJ(U)){if($=U.stateNode,Q=U.memoizedProps,M=!C4,W=null,_=A6,_!==null)switch(_.tag){case 3:M&&(M=DP($,Q,W),M!==null&&(MI(U,0).serverProps=M));break;case 27:case 5:W=_.memoizedProps,M&&(M=DP($,Q,W),M!==null&&(MI(U,0).serverProps=M))}$[M6]=U,$=$.nodeValue===Q||W!==null&&W.suppressHydrationWarning===!0||aC($.nodeValue,Q)?!0:!1,$||FX(U,!0)}else M=Q.ancestorInfo.current,M!=null&&n2(W,M.tag,Q.ancestorInfo.implicitRootScope),$=cZ($).createTextNode(W),$[M6]=U,U.stateNode=$}return KU(U),null;case 31:if(Q=U.memoizedState,$===null||$.memoizedState!==null){if(W=AJ(U),Q!==null){if($===null){if(!W)throw Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if($=U.memoizedState,$=$!==null?$.dehydrated:null,!$)throw Error("Expected to have a hydrated activity instance. This error is likely caused by a bug in React. Please file an issue.");$[M6]=U,KU(U),(U.mode&N$)!==C$&&Q!==null&&($=U.child,$!==null&&(U.treeBaseDuration-=$.treeBaseDuration))}else _D(),AI(),(U.flags&128)===0&&(Q=U.memoizedState=null),U.flags|=4,KU(U),(U.mode&N$)!==C$&&Q!==null&&($=U.child,$!==null&&(U.treeBaseDuration-=$.treeBaseDuration));$=!1}else Q=PD(),$!==null&&$.memoizedState!==null&&($.memoizedState.hydrationErrors=Q),$=!0;if(!$){if(U.flags&256)return J1(U),U;return J1(U),null}if((U.flags&128)!==0)throw Error("Client rendering an Activity suspended it again. This is a bug in React.")}return KU(U),null;case 13:if(W=U.memoizedState,$===null||$.memoizedState!==null&&$.memoizedState.dehydrated!==null){if(M=W,_=AJ(U),M!==null&&M.dehydrated!==null){if($===null){if(!_)throw Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if(_=U.memoizedState,_=_!==null?_.dehydrated:null,!_)throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");_[M6]=U,KU(U),(U.mode&N$)!==C$&&M!==null&&(M=U.child,M!==null&&(U.treeBaseDuration-=M.treeBaseDuration))}else _D(),AI(),(U.flags&128)===0&&(M=U.memoizedState=null),U.flags|=4,KU(U),(U.mode&N$)!==C$&&M!==null&&(M=U.child,M!==null&&(U.treeBaseDuration-=M.treeBaseDuration));M=!1}else M=PD(),$!==null&&$.memoizedState!==null&&($.memoizedState.hydrationErrors=M),M=!0;if(!M){if(U.flags&256)return J1(U),U;return J1(U),null}}if(J1(U),(U.flags&128)!==0)return U.lanes=Q,(U.mode&N$)!==C$&&EY(U),U;return Q=W!==null,$=$!==null&&$.memoizedState!==null,Q&&(W=U.child,M=null,W.alternate!==null&&W.alternate.memoizedState!==null&&W.alternate.memoizedState.cachePool!==null&&(M=W.alternate.memoizedState.cachePool.pool),_=null,W.memoizedState!==null&&W.memoizedState.cachePool!==null&&(_=W.memoizedState.cachePool.pool),_!==M&&(W.flags|=2048)),Q!==$&&Q&&(U.child.flags|=8192),kZ(U,U.updateQueue),KU(U),(U.mode&N$)!==C$&&Q&&($=U.child,$!==null&&(U.treeBaseDuration-=$.treeBaseDuration)),null;case 4:return F(U),$===null&&u8(U.stateNode.containerInfo),KU(U),null;case 10:return b4(U.type,U),KU(U),null;case 19:if(G(tU,U),W=U.memoizedState,W===null)return KU(U),null;if(M=(U.flags&128)!==0,_=W.rendering,_===null)if(M)xY(W,!1);else{if(kU!==XX||$!==null&&($.flags&128)!==0)for($=U.child;$!==null;){if(_=FZ($),_!==null){U.flags|=128,xY(W,!1),$=_.updateQueue,U.updateQueue=$,kZ(U,$),U.subtreeFlags=0,$=Q;for(Q=U.child;Q!==null;)BA(Q,$),Q=Q.sibling;return K(tU,tU.current&IQ|PG,U),p$&&y4(U,W.treeForkCount),U.child}$=$.sibling}W.tail!==null&&z6()>fz&&(U.flags|=128,M=!0,xY(W,!1),U.lanes=4194304)}else{if(!M)if($=FZ(_),$!==null){if(U.flags|=128,M=!0,$=$.updateQueue,U.updateQueue=$,kZ(U,$),xY(W,!0),W.tail===null&&W.tailMode==="hidden"&&!_.alternate&&!p$)return KU(U),null}else 2*z6()-W.renderingStartTime>fz&&Q!==536870912&&(U.flags|=128,M=!0,xY(W,!1),U.lanes=4194304);W.isBackwards?(_.sibling=U.child,U.child=_):($=W.last,$!==null?$.sibling=_:U.child=_,W.last=_)}if(W.tail!==null)return $=W.tail,W.rendering=$,W.tail=$.sibling,W.renderingStartTime=z6(),$.sibling=null,Q=tU.current,Q=M?Q&IQ|PG:Q&IQ,K(tU,Q,U),p$&&y4(U,W.treeForkCount),$;return KU(U),null;case 22:case 23:return J1(U),gD(U),W=U.memoizedState!==null,$!==null?$.memoizedState!==null!==W&&(U.flags|=8192):W&&(U.flags|=8192),W?(Q&536870912)!==0&&(U.flags&128)===0&&(KU(U),U.subtreeFlags&6&&(U.flags|=8192)):KU(U),Q=U.updateQueue,Q!==null&&kZ(U,Q.retryQueue),Q=null,$!==null&&$.memoizedState!==null&&$.memoizedState.cachePool!==null&&(Q=$.memoizedState.cachePool.pool),W=null,U.memoizedState!==null&&U.memoizedState.cachePool!==null&&(W=U.memoizedState.cachePool.pool),W!==Q&&(U.flags|=2048),$!==null&&G(wI,U),null;case 24:return Q=null,$!==null&&(Q=$.memoizedState.cache),U.memoizedState.cache!==Q&&(U.flags|=2048),b4(sU,U),KU(U),null;case 25:return null;case 30:return null}throw Error("Unknown unit of work tag ("+U.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function Eq($,U){switch(CD(U),U.tag){case 1:return $=U.flags,$&65536?(U.flags=$&-65537|128,(U.mode&N$)!==C$&&EY(U),U):null;case 3:return b4(sU,U),F(U),$=U.flags,($&65536)!==0&&($&128)===0?(U.flags=$&-65537|128,U):null;case 26:case 27:case 5:return A(U),null;case 31:if(U.memoizedState!==null){if(J1(U),U.alternate===null)throw Error("Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.");AI()}return $=U.flags,$&65536?(U.flags=$&-65537|128,(U.mode&N$)!==C$&&EY(U),U):null;case 13:if(J1(U),$=U.memoizedState,$!==null&&$.dehydrated!==null){if(U.alternate===null)throw Error("Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.");AI()}return $=U.flags,$&65536?(U.flags=$&-65537|128,(U.mode&N$)!==C$&&EY(U),U):null;case 19:return G(tU,U),null;case 4:return F(U),null;case 10:return b4(U.type,U),null;case 22:case 23:return J1(U),gD(U),$!==null&&G(wI,U),$=U.flags,$&65536?(U.flags=$&-65537|128,(U.mode&N$)!==C$&&EY(U),U):null;case 24:return b4(sU,U),null;case 25:return null;default:return null}}function oT($,U){switch(CD(U),U.tag){case 3:b4(sU,U),F(U);break;case 26:case 27:case 5:A(U);break;case 4:F(U);break;case 31:U.memoizedState!==null&&J1(U);break;case 13:J1(U);break;case 19:G(tU,U);break;case 10:b4(U.type,U);break;case 22:case 23:J1(U),gD(U),$!==null&&G(wI,U);break;case 24:b4(sU,U)}}function Z4($){return($.mode&N$)!==C$}function iT($,U){Z4($)?(G4(),gY(U,$),Y4()):gY(U,$)}function _8($,U,Q){Z4($)?(G4(),RJ(Q,$,U),Y4()):RJ(Q,$,U)}function gY($,U){try{var Q=U.updateQueue,W=Q!==null?Q.lastEffect:null;if(W!==null){var M=W.next;Q=M;do{if((Q.tag&$)===$&&(W=void 0,($&q6)!==Rz&&(DQ=!0),W=J0(U,ok,Q),($&q6)!==Rz&&(DQ=!1),W!==void 0&&typeof W!=="function")){var _=void 0;_=(Q.tag&D1)!==0?"useLayoutEffect":(Q.tag&q6)!==0?"useInsertionEffect":"useEffect";var k=void 0;k=W===null?" You returned null. If your effect does not require clean up, return undefined (or nothing).":typeof W.then==="function"?`
141
+
142
+ It looks like you wrote `+_+`(async () => ...) or returned a Promise. Instead, write the async function inside your effect and call it immediately:
143
+
144
+ `+_+`(() => {
145
+ async function fetchData() {
146
+ // You can await here
147
+ const response = await MyAPI.getData(someId);
148
+ // ...
149
+ }
150
+ fetchData();
151
+ }, [someId]); // Or [] if effect doesn't need props or state
152
+
153
+ Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fetching`:" You returned: "+W,J0(U,function(f,l){console.error("%s must not return anything besides a function, which is used for clean-up.%s",f,l)},_,k)}Q=Q.next}while(Q!==M)}}catch(f){a$(U,U.return,f)}}function RJ($,U,Q){try{var W=U.updateQueue,M=W!==null?W.lastEffect:null;if(M!==null){var _=M.next;W=_;do{if((W.tag&$)===$){var k=W.inst,f=k.destroy;f!==void 0&&(k.destroy=void 0,($&q6)!==Rz&&(DQ=!0),M=U,J0(M,ik,M,Q,f),($&q6)!==Rz&&(DQ=!1))}W=W.next}while(W!==_)}}catch(l){a$(U,U.return,l)}}function rT($,U){Z4($)?(G4(),gY(U,$),Y4()):gY(U,$)}function E8($,U,Q){Z4($)?(G4(),RJ(Q,$,U),Y4()):RJ(Q,$,U)}function tT($){var U=$.updateQueue;if(U!==null){var Q=$.stateNode;$.type.defaultProps||"ref"in $.memoizedProps||GQ||(Q.props!==$.memoizedProps&&console.error("Expected %s props to match memoized props before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",t($)||"instance"),Q.state!==$.memoizedState&&console.error("Expected %s state to match memoized state before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",t($)||"instance"));try{J0($,sA,U,Q)}catch(W){a$($,$.return,W)}}}function Rq($,U,Q){return $.getSnapshotBeforeUpdate(U,Q)}function Sq($,U){var{memoizedProps:Q,memoizedState:W}=U;U=$.stateNode,$.type.defaultProps||"ref"in $.memoizedProps||GQ||(U.props!==$.memoizedProps&&console.error("Expected %s props to match memoized props before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",t($)||"instance"),U.state!==$.memoizedState&&console.error("Expected %s state to match memoized state before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",t($)||"instance"));try{var M=RI($.type,Q),_=J0($,Rq,U,M,W);Q=qE,_!==void 0||Q.has($.type)||(Q.add($.type),J0($,function(){console.error("%s.getSnapshotBeforeUpdate(): A snapshot value (or null) must be returned. You have returned undefined.",t($))})),U.__reactInternalSnapshotBeforeUpdate=_}catch(k){a$($,$.return,k)}}function aT($,U,Q){Q.props=RI($.type,$.memoizedProps),Q.state=$.memoizedState,Z4($)?(G4(),J0($,t_,$,U,Q),Y4()):J0($,t_,$,U,Q)}function jq($){var U=$.ref;if(U!==null){switch($.tag){case 26:case 27:case 5:var Q=$.stateNode;break;case 30:Q=$.stateNode;break;default:Q=$.stateNode}if(typeof U==="function")if(Z4($))try{G4(),$.refCleanup=U(Q)}finally{Y4()}else $.refCleanup=U(Q);else typeof U==="string"?console.error("String refs are no longer supported."):U.hasOwnProperty("current")||console.error("Unexpected ref object provided for %s. Use either a ref-setter function or React.createRef().",t($)),U.current=Q}}function wY($,U){try{J0($,jq,$)}catch(Q){a$($,U,Q)}}function z4($,U){var{ref:Q,refCleanup:W}=$;if(Q!==null)if(typeof W==="function")try{if(Z4($))try{G4(),J0($,W)}finally{Y4($)}else J0($,W)}catch(M){a$($,U,M)}finally{$.refCleanup=null,$=$.alternate,$!=null&&($.refCleanup=null)}else if(typeof Q==="function")try{if(Z4($))try{G4(),J0($,Q,null)}finally{Y4($)}else J0($,Q,null)}catch(M){a$($,U,M)}else Q.current=null}function sT($,U,Q,W){var M=$.memoizedProps,_=M.id,k=M.onCommit;M=M.onRender,U=U===null?"mount":"update",Az&&(U="nested-update"),typeof M==="function"&&M(_,U,$.actualDuration,$.treeBaseDuration,$.actualStartTime,Q),typeof k==="function"&&k(_,U,W,Q)}function Bq($,U,Q,W){var M=$.memoizedProps;$=M.id,M=M.onPostCommit,U=U===null?"mount":"update",Az&&(U="nested-update"),typeof M==="function"&&M($,U,W,Q)}function eT($){var{type:U,memoizedProps:Q,stateNode:W}=$;try{J0($,sq,W,U,Q,$)}catch(M){a$($,$.return,M)}}function R8($,U,Q){try{J0($,$3,$.stateNode,$.type,Q,U,$)}catch(W){a$($,$.return,W)}}function $C($){return $.tag===5||$.tag===3||$.tag===26||$.tag===27&&RX($.type)||$.tag===4}function S8($){$:for(;;){for(;$.sibling===null;){if($.return===null||$C($.return))return null;$=$.return}$.sibling.return=$.return;for($=$.sibling;$.tag!==5&&$.tag!==6&&$.tag!==18;){if($.tag===27&&RX($.type))continue $;if($.flags&2)continue $;if($.child===null||$.tag===4)continue $;else $.child.return=$,$=$.child}if(!($.flags&2))return $.stateNode}}function j8($,U,Q){var W=$.tag;if(W===5||W===6)$=$.stateNode,U?(GP(Q),(Q.nodeType===9?Q.body:Q.nodeName==="HTML"?Q.ownerDocument.body:Q).insertBefore($,U)):(GP(Q),U=Q.nodeType===9?Q.body:Q.nodeName==="HTML"?Q.ownerDocument.body:Q,U.appendChild($),Q=Q._reactRootContainer,Q!==null&&Q!==void 0||U.onclick!==null||(U.onclick=w4));else if(W!==4&&(W===27&&RX($.type)&&(Q=$.stateNode,U=null),$=$.child,$!==null))for(j8($,U,Q),$=$.sibling;$!==null;)j8($,U,Q),$=$.sibling}function xZ($,U,Q){var W=$.tag;if(W===5||W===6)$=$.stateNode,U?Q.insertBefore($,U):Q.appendChild($);else if(W!==4&&(W===27&&RX($.type)&&(Q=$.stateNode),$=$.child,$!==null))for(xZ($,U,Q),$=$.sibling;$!==null;)xZ($,U,Q),$=$.sibling}function vq($){for(var U,Q=$.return;Q!==null;){if($C(Q)){U=Q;break}Q=Q.return}if(U==null)throw Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");switch(U.tag){case 27:U=U.stateNode,Q=S8($),xZ($,Q,U);break;case 5:Q=U.stateNode,U.flags&32&&(YP(Q),U.flags&=-33),U=S8($),xZ($,U,Q);break;case 3:case 4:U=U.stateNode.containerInfo,Q=S8($),j8($,Q,U);break;default:throw Error("Invalid host parent fiber. This error is likely caused by a bug in React. Please file an issue.")}}function UC($){var{stateNode:U,memoizedProps:Q}=$;try{J0($,H3,$.type,Q,U,$)}catch(W){a$($,$.return,W)}}function XC($,U){return U.tag===31?(U=U.memoizedState,$.memoizedState!==null&&U===null):U.tag===13?($=$.memoizedState,U=U.memoizedState,$!==null&&$.dehydrated!==null&&(U===null||U.dehydrated===null)):U.tag===3?$.memoizedState.isDehydrated&&(U.flags&256)===0:!1}function Nq($,U){if($=$.containerInfo,SW=ez,$=MA($),OD($)){if("selectionStart"in $)var Q={start:$.selectionStart,end:$.selectionEnd};else $:{Q=(Q=$.ownerDocument)&&Q.defaultView||window;var W=Q.getSelection&&Q.getSelection();if(W&&W.rangeCount!==0){Q=W.anchorNode;var{anchorOffset:M,focusNode:_}=W;W=W.focusOffset;try{Q.nodeType,_.nodeType}catch(O$){Q=null;break $}var k=0,f=-1,l=-1,o=0,P0=0,_0=$,K0=null;U:for(;;){for(var k0;;){if(_0!==Q||M!==0&&_0.nodeType!==3||(f=k+M),_0!==_||W!==0&&_0.nodeType!==3||(l=k+W),_0.nodeType===3&&(k+=_0.nodeValue.length),(k0=_0.firstChild)===null)break;K0=_0,_0=k0}for(;;){if(_0===$)break U;if(K0===Q&&++o===M&&(f=k),K0===_&&++P0===W&&(l=k),(k0=_0.nextSibling)!==null)break;_0=K0,K0=_0.parentNode}_0=k0}Q=f===-1||l===-1?null:{start:f,end:l}}else Q=null}Q=Q||{start:0,end:0}}else Q=null;jW={focusedElem:$,selectionRange:Q},ez=!1;for(V6=U;V6!==null;)if(U=V6,$=U.child,(U.subtreeFlags&1028)!==0&&$!==null)$.return=U,V6=$;else for(;V6!==null;){switch($=U=V6,Q=$.alternate,M=$.flags,$.tag){case 0:if((M&4)!==0&&($=$.updateQueue,$=$!==null?$.events:null,$!==null))for(Q=0;Q<$.length;Q++)M=$[Q],M.ref.impl=M.nextImpl;break;case 11:case 15:break;case 1:(M&1024)!==0&&Q!==null&&Sq($,Q);break;case 3:if((M&1024)!==0){if($=$.stateNode.containerInfo,Q=$.nodeType,Q===9)o8($);else if(Q===1)switch($.nodeName){case"HEAD":case"HTML":case"BODY":o8($);break;default:$.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((M&1024)!==0)throw Error("This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue.")}if($=U.sibling,$!==null){$.return=U.return,V6=$;break}V6=U.return}}function IC($,U,Q){var W=X1(),M=X4(),_=J4(),k=Q4(),f=Q.flags;switch(Q.tag){case 0:case 11:case 15:O4($,Q),f&4&&iT(Q,D1|q1);break;case 1:if(O4($,Q),f&4)if($=Q.stateNode,U===null)Q.type.defaultProps||"ref"in Q.memoizedProps||GQ||($.props!==Q.memoizedProps&&console.error("Expected %s props to match memoized props before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",t(Q)||"instance"),$.state!==Q.memoizedState&&console.error("Expected %s state to match memoized state before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",t(Q)||"instance")),Z4(Q)?(G4(),J0(Q,iK,Q,$),Y4()):J0(Q,iK,Q,$);else{var l=RI(Q.type,U.memoizedProps);U=U.memoizedState,Q.type.defaultProps||"ref"in Q.memoizedProps||GQ||($.props!==Q.memoizedProps&&console.error("Expected %s props to match memoized props before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",t(Q)||"instance"),$.state!==Q.memoizedState&&console.error("Expected %s state to match memoized state before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",t(Q)||"instance")),Z4(Q)?(G4(),J0(Q,o_,Q,$,l,U,$.__reactInternalSnapshotBeforeUpdate),Y4()):J0(Q,o_,Q,$,l,U,$.__reactInternalSnapshotBeforeUpdate)}f&64&&tT(Q),f&512&&wY(Q,Q.return);break;case 3:if(U=u4(),O4($,Q),f&64&&(f=Q.updateQueue,f!==null)){if(l=null,Q.child!==null)switch(Q.child.tag){case 27:case 5:l=Q.child.stateNode;break;case 1:l=Q.child.stateNode}try{J0(Q,sA,f,l)}catch(P0){a$(Q,Q.return,P0)}}$.effectDuration+=YZ(U);break;case 27:U===null&&f&4&&UC(Q);case 26:case 5:if(O4($,Q),U===null){if(f&4)eT(Q);else if(f&64){$=Q.type,U=Q.memoizedProps,l=Q.stateNode;try{J0(Q,eq,l,$,U,Q)}catch(P0){a$(Q,Q.return,P0)}}}f&512&&wY(Q,Q.return);break;case 12:if(f&4){f=u4(),O4($,Q),$=Q.stateNode,$.effectDuration+=_Y(f);try{J0(Q,sT,Q,U,wX,$.effectDuration)}catch(P0){a$(Q,Q.return,P0)}}else O4($,Q);break;case 31:O4($,Q),f&4&&YC($,Q);break;case 13:O4($,Q),f&4&&GC($,Q),f&64&&($=Q.memoizedState,$!==null&&($=$.dehydrated,$!==null&&(f=uq.bind(null,Q),D3($,f))));break;case 22:if(f=Q.memoizedState!==null||UX,!f){U=U!==null&&U.memoizedState!==null||X6,l=UX;var o=X6;UX=f,(X6=U)&&!o?(V4($,Q,(Q.subtreeFlags&8772)!==0),(Q.mode&N$)!==C$&&0<=A$&&0<=T$&&0.05<T$-A$&&t2(Q,A$,T$)):O4($,Q),UX=l,X6=o}break;case 30:break;default:O4($,Q)}(Q.mode&N$)!==C$&&0<=A$&&0<=T$&&((wU||0.05<qU)&&$4(Q,A$,T$,qU,jU),Q.alternate===null&&Q.return!==null&&Q.return.alternate!==null&&0.05<T$-A$&&(XC(Q.return.alternate,Q.return)||e1(Q,A$,T$,"Mount"))),I1(W),I4(M),jU=_,wU=k}function JC($){var U=$.alternate;U!==null&&($.alternate=null,JC(U)),$.child=null,$.deletions=null,$.sibling=null,$.tag===5&&(U=$.stateNode,U!==null&&j0(U)),$.stateNode=null,$._debugOwner=null,$.return=null,$.dependencies=null,$.memoizedProps=null,$.memoizedState=null,$.pendingProps=null,$.stateNode=null,$.updateQueue=null}function p4($,U,Q){for(Q=Q.child;Q!==null;)QC($,U,Q),Q=Q.sibling}function QC($,U,Q){if(P6&&typeof P6.onCommitFiberUnmount==="function")try{P6.onCommitFiberUnmount(yJ,Q)}catch(o){L4||(L4=!0,console.error("React instrumentation encountered an error: %o",o))}var W=X1(),M=X4(),_=J4(),k=Q4();switch(Q.tag){case 26:X6||z4(Q,U),p4($,U,Q),Q.memoizedState?Q.memoizedState.count--:Q.stateNode&&($=Q.stateNode,$.parentNode.removeChild($));break;case 27:X6||z4(Q,U);var f=I6,l=n6;RX(Q.type)&&(I6=Q.stateNode,n6=!1),p4($,U,Q),J0(Q,lY,Q.stateNode),I6=f,n6=l;break;case 5:X6||z4(Q,U);case 6:if(f=I6,l=n6,I6=null,p4($,U,Q),I6=f,n6=l,I6!==null)if(n6)try{J0(Q,I3,I6,Q.stateNode)}catch(o){a$(Q,U,o)}else try{J0(Q,X3,I6,Q.stateNode)}catch(o){a$(Q,U,o)}break;case 18:I6!==null&&(n6?($=I6,ZP($.nodeType===9?$.body:$.nodeName==="HTML"?$.ownerDocument.body:$,Q.stateNode),xJ($)):ZP(I6,Q.stateNode));break;case 4:f=I6,l=n6,I6=Q.stateNode.containerInfo,n6=!0,p4($,U,Q),I6=f,n6=l;break;case 0:case 11:case 14:case 15:RJ(q6,Q,U),X6||_8(Q,U,D1),p4($,U,Q);break;case 1:X6||(z4(Q,U),f=Q.stateNode,typeof f.componentWillUnmount==="function"&&aT(Q,U,f)),p4($,U,Q);break;case 21:p4($,U,Q);break;case 22:X6=(f=X6)||Q.memoizedState!==null,p4($,U,Q),X6=f;break;default:p4($,U,Q)}(Q.mode&N$)!==C$&&0<=A$&&0<=T$&&(wU||0.05<qU)&&$4(Q,A$,T$,qU,jU),I1(W),I4(M),jU=_,wU=k}function YC($,U){if(U.memoizedState===null&&($=U.alternate,$!==null&&($=$.memoizedState,$!==null))){$=$.dehydrated;try{J0(U,W3,$)}catch(Q){a$(U,U.return,Q)}}}function GC($,U){if(U.memoizedState===null&&($=U.alternate,$!==null&&($=$.memoizedState,$!==null&&($=$.dehydrated,$!==null))))try{J0(U,F3,$)}catch(Q){a$(U,U.return,Q)}}function qq($){switch($.tag){case 31:case 13:case 19:var U=$.stateNode;return U===null&&(U=$.stateNode=new kE),U;case 22:return $=$.stateNode,U=$._retryCache,U===null&&(U=$._retryCache=new kE),U;default:throw Error("Unexpected Suspense handler tag ("+$.tag+"). This is a bug in React.")}}function gZ($,U){var Q=qq($);U.forEach(function(W){if(!Q.has(W)){if(Q.add(W),M4)if(ZQ!==null&&zQ!==null)uY(zQ,ZQ);else throw Error("Expected finished root and lanes to be set. This is a bug in React.");var M=hq.bind(null,$,W);W.then(M,M)}})}function l6($,U){var Q=U.deletions;if(Q!==null)for(var W=0;W<Q.length;W++){var M=$,_=U,k=Q[W],f=X1(),l=_;$:for(;l!==null;){switch(l.tag){case 27:if(RX(l.type)){I6=l.stateNode,n6=!1;break $}break;case 5:I6=l.stateNode,n6=!1;break $;case 3:case 4:I6=l.stateNode.containerInfo,n6=!0;break $}l=l.return}if(I6===null)throw Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");QC(M,_,k),I6=null,n6=!1,(k.mode&N$)!==C$&&0<=A$&&0<=T$&&0.05<T$-A$&&e1(k,A$,T$,"Unmount"),I1(f),M=k,_=M.alternate,_!==null&&(_.return=null),M.return=null}if(U.subtreeFlags&13886)for(U=U.child;U!==null;)ZC(U,$),U=U.sibling}function ZC($,U){var Q=X1(),W=X4(),M=J4(),_=Q4(),k=$.alternate,f=$.flags;switch($.tag){case 0:case 11:case 14:case 15:l6(U,$),d6($),f&4&&(RJ(q6|q1,$,$.return),gY(q6|q1,$),_8($,$.return,D1|q1));break;case 1:if(l6(U,$),d6($),f&512&&(X6||k===null||z4(k,k.return)),f&64&&UX&&(f=$.updateQueue,f!==null&&(k=f.callbacks,k!==null))){var l=f.shared.hiddenCallbacks;f.shared.hiddenCallbacks=l===null?k:l.concat(k)}break;case 26:if(l=o1,l6(U,$),d6($),f&512&&(X6||k===null||z4(k,k.return)),f&4){var o=k!==null?k.memoizedState:null;if(f=$.memoizedState,k===null)if(f===null)if($.stateNode===null){$:{f=$.type,k=$.memoizedProps,l=l.ownerDocument||l;U:switch(f){case"title":if(o=l.getElementsByTagName("title")[0],!o||o[aY]||o[M6]||o.namespaceURI===uJ||o.hasAttribute("itemprop"))o=l.createElement(f),l.head.insertBefore(o,l.querySelector("head > title"));L6(o,f,k),o[M6]=$,D$(o),f=o;break $;case"link":var P0=AP("link","href",l).get(f+(k.href||""));if(P0){for(var _0=0;_0<P0.length;_0++)if(o=P0[_0],o.getAttribute("href")===(k.href==null||k.href===""?null:k.href)&&o.getAttribute("rel")===(k.rel==null?null:k.rel)&&o.getAttribute("title")===(k.title==null?null:k.title)&&o.getAttribute("crossorigin")===(k.crossOrigin==null?null:k.crossOrigin)){P0.splice(_0,1);break U}}o=l.createElement(f),L6(o,f,k),l.head.appendChild(o);break;case"meta":if(P0=AP("meta","content",l).get(f+(k.content||""))){for(_0=0;_0<P0.length;_0++)if(o=P0[_0],n(k.content,"content"),o.getAttribute("content")===(k.content==null?null:""+k.content)&&o.getAttribute("name")===(k.name==null?null:k.name)&&o.getAttribute("property")===(k.property==null?null:k.property)&&o.getAttribute("http-equiv")===(k.httpEquiv==null?null:k.httpEquiv)&&o.getAttribute("charset")===(k.charSet==null?null:k.charSet)){P0.splice(_0,1);break U}}o=l.createElement(f),L6(o,f,k),l.head.appendChild(o);break;default:throw Error('getNodesForType encountered a type it did not expect: "'+f+'". This is a bug in React.')}o[M6]=$,D$(o),f=o}$.stateNode=f}else TP(l,$.type,$.stateNode);else $.stateNode=MP(l,f,$.memoizedProps);else o!==f?(o===null?k.stateNode!==null&&(k=k.stateNode,k.parentNode.removeChild(k)):o.count--,f===null?TP(l,$.type,$.stateNode):MP(l,f,$.memoizedProps)):f===null&&$.stateNode!==null&&R8($,$.memoizedProps,k.memoizedProps)}break;case 27:l6(U,$),d6($),f&512&&(X6||k===null||z4(k,k.return)),k!==null&&f&4&&R8($,$.memoizedProps,k.memoizedProps);break;case 5:if(l6(U,$),d6($),f&512&&(X6||k===null||z4(k,k.return)),$.flags&32){l=$.stateNode;try{J0($,YP,l)}catch(W$){a$($,$.return,W$)}}f&4&&$.stateNode!=null&&(l=$.memoizedProps,R8($,l,k!==null?k.memoizedProps:l)),f&1024&&(GW=!0,$.type!=="form"&&console.error("Unexpected host component type. Expected a form. This is a bug in React."));break;case 6:if(l6(U,$),d6($),f&4){if($.stateNode===null)throw Error("This should have a text node initialized. This error is likely caused by a bug in React. Please file an issue.");f=$.memoizedProps,k=k!==null?k.memoizedProps:f,l=$.stateNode;try{J0($,U3,l,k,f)}catch(W$){a$($,$.return,W$)}}break;case 3:if(l=u4(),tz=null,o=o1,o1=pZ(U.containerInfo),l6(U,$),o1=o,d6($),f&4&&k!==null&&k.memoizedState.isDehydrated)try{J0($,K3,U.containerInfo)}catch(W$){a$($,$.return,W$)}GW&&(GW=!1,zC($)),U.effectDuration+=YZ(l);break;case 4:f=o1,o1=pZ($.stateNode.containerInfo),l6(U,$),d6($),o1=f;break;case 12:f=u4(),l6(U,$),d6($),$.stateNode.effectDuration+=_Y(f);break;case 31:l6(U,$),d6($),f&4&&(f=$.updateQueue,f!==null&&($.updateQueue=null,gZ($,f)));break;case 13:l6(U,$),d6($),$.child.flags&8192&&$.memoizedState!==null!==(k!==null&&k.memoizedState!==null)&&(wz=z6()),f&4&&(f=$.updateQueue,f!==null&&($.updateQueue=null,gZ($,f)));break;case 22:l=$.memoizedState!==null;var K0=k!==null&&k.memoizedState!==null,k0=UX,O$=X6;if(UX=k0||l,X6=O$||K0,l6(U,$),X6=O$,UX=k0,K0&&!l&&!k0&&!O$&&($.mode&N$)!==C$&&0<=A$&&0<=T$&&0.05<T$-A$&&t2($,A$,T$),d6($),f&8192)$:for(U=$.stateNode,U._visibility=l?U._visibility&~YG:U._visibility|YG,!l||k===null||K0||UX||X6||(SI($),($.mode&N$)!==C$&&0<=A$&&0<=T$&&0.05<T$-A$&&e1($,A$,T$,"Disconnect")),k=null,U=$;;){if(U.tag===5||U.tag===26){if(k===null){K0=k=U;try{o=K0.stateNode,l?J0(K0,Q3,o):J0(K0,Z3,K0.stateNode,K0.memoizedProps)}catch(W$){a$(K0,K0.return,W$)}}}else if(U.tag===6){if(k===null){K0=U;try{P0=K0.stateNode,l?J0(K0,Y3,P0):J0(K0,z3,P0,K0.memoizedProps)}catch(W$){a$(K0,K0.return,W$)}}}else if(U.tag===18){if(k===null){K0=U;try{_0=K0.stateNode,l?J0(K0,J3,_0):J0(K0,G3,K0.stateNode)}catch(W$){a$(K0,K0.return,W$)}}}else if((U.tag!==22&&U.tag!==23||U.memoizedState===null||U===$)&&U.child!==null){U.child.return=U,U=U.child;continue}if(U===$)break $;for(;U.sibling===null;){if(U.return===null||U.return===$)break $;k===U&&(k=null),U=U.return}k===U&&(k=null),U.sibling.return=U.return,U=U.sibling}f&4&&(f=$.updateQueue,f!==null&&(k=f.retryQueue,k!==null&&(f.retryQueue=null,gZ($,k))));break;case 19:l6(U,$),d6($),f&4&&(f=$.updateQueue,f!==null&&($.updateQueue=null,gZ($,f)));break;case 30:break;case 21:break;default:l6(U,$),d6($)}($.mode&N$)!==C$&&0<=A$&&0<=T$&&((wU||0.05<qU)&&$4($,A$,T$,qU,jU),$.alternate===null&&$.return!==null&&$.return.alternate!==null&&0.05<T$-A$&&(XC($.return.alternate,$.return)||e1($,A$,T$,"Mount"))),I1(Q),I4(W),jU=M,wU=_}function d6($){var U=$.flags;if(U&2){try{J0($,vq,$)}catch(Q){a$($,$.return,Q)}$.flags&=-3}U&4096&&($.flags&=-4097)}function zC($){if($.subtreeFlags&1024)for($=$.child;$!==null;){var U=$;zC(U),U.tag===5&&U.flags&1024&&U.stateNode.reset(),$=$.sibling}}function O4($,U){if(U.subtreeFlags&8772)for(U=U.child;U!==null;)IC($,U.alternate,U),U=U.sibling}function OC($){var U=X1(),Q=X4(),W=J4(),M=Q4();switch($.tag){case 0:case 11:case 14:case 15:_8($,$.return,D1),SI($);break;case 1:z4($,$.return);var _=$.stateNode;typeof _.componentWillUnmount==="function"&&aT($,$.return,_),SI($);break;case 27:J0($,lY,$.stateNode);case 26:case 5:z4($,$.return),SI($);break;case 22:$.memoizedState===null&&SI($);break;case 30:SI($);break;default:SI($)}($.mode&N$)!==C$&&0<=A$&&0<=T$&&(wU||0.05<qU)&&$4($,A$,T$,qU,jU),I1(U),I4(Q),jU=W,wU=M}function SI($){for($=$.child;$!==null;)OC($),$=$.sibling}function VC($,U,Q,W){var M=X1(),_=X4(),k=J4(),f=Q4(),l=Q.flags;switch(Q.tag){case 0:case 11:case 15:V4($,Q,W),iT(Q,D1);break;case 1:if(V4($,Q,W),U=Q.stateNode,typeof U.componentDidMount==="function"&&J0(Q,iK,Q,U),U=Q.updateQueue,U!==null){$=Q.stateNode;try{J0(Q,Kq,U,$)}catch(o){a$(Q,Q.return,o)}}W&&l&64&&tT(Q),wY(Q,Q.return);break;case 27:UC(Q);case 26:case 5:V4($,Q,W),W&&U===null&&l&4&&eT(Q),wY(Q,Q.return);break;case 12:if(W&&l&4){l=u4(),V4($,Q,W),W=Q.stateNode,W.effectDuration+=_Y(l);try{J0(Q,sT,Q,U,wX,W.effectDuration)}catch(o){a$(Q,Q.return,o)}}else V4($,Q,W);break;case 31:V4($,Q,W),W&&l&4&&YC($,Q);break;case 13:V4($,Q,W),W&&l&4&&GC($,Q);break;case 22:Q.memoizedState===null&&V4($,Q,W),wY(Q,Q.return);break;case 30:break;default:V4($,Q,W)}(Q.mode&N$)!==C$&&0<=A$&&0<=T$&&(wU||0.05<qU)&&$4(Q,A$,T$,qU,jU),I1(M),I4(_),jU=k,wU=f}function V4($,U,Q){Q=Q&&(U.subtreeFlags&8772)!==0;for(U=U.child;U!==null;)VC($,U.alternate,U,Q),U=U.sibling}function B8($,U){var Q=null;$!==null&&$.memoizedState!==null&&$.memoizedState.cachePool!==null&&(Q=$.memoizedState.cachePool.pool),$=null,U.memoizedState!==null&&U.memoizedState.cachePool!==null&&($=U.memoizedState.cachePool.pool),$!==Q&&($!=null&&CI($),Q!=null&&PY(Q))}function v8($,U){$=null,U.alternate!==null&&($=U.alternate.memoizedState.cache),U=U.memoizedState.cache,U!==$&&(CI(U),$!=null&&PY($))}function c1($,U,Q,W,M){if(U.subtreeFlags&10256||U.actualDuration!==0&&(U.alternate===null||U.alternate.child!==U.child))for(U=U.child;U!==null;){var _=U.sibling;DC($,U,Q,W,_!==null?_.actualStartTime:M),U=_}}function DC($,U,Q,W,M){var _=X1(),k=X4(),f=J4(),l=Q4(),o=qX,P0=U.flags;switch(U.tag){case 0:case 11:case 15:(U.mode&N$)!==C$&&0<U.actualStartTime&&(U.flags&1)!==0&&a2(U,U.actualStartTime,M,Y6,Q),c1($,U,Q,W,M),P0&2048&&rT(U,k6|q1);break;case 1:(U.mode&N$)!==C$&&0<U.actualStartTime&&((U.flags&128)!==0?DD(U,U.actualStartTime,M,[]):(U.flags&1)!==0&&a2(U,U.actualStartTime,M,Y6,Q)),c1($,U,Q,W,M);break;case 3:var _0=u4(),K0=Y6;Y6=U.alternate!==null&&U.alternate.memoizedState.isDehydrated&&(U.flags&256)===0,c1($,U,Q,W,M),Y6=K0,P0&2048&&(Q=null,U.alternate!==null&&(Q=U.alternate.memoizedState.cache),W=U.memoizedState.cache,W!==Q&&(CI(W),Q!=null&&PY(Q))),$.passiveEffectDuration+=YZ(_0);break;case 12:if(P0&2048){P0=u4(),c1($,U,Q,W,M),$=U.stateNode,$.passiveEffectDuration+=_Y(P0);try{J0(U,Bq,U,U.alternate,wX,$.passiveEffectDuration)}catch(k0){a$(U,U.return,k0)}}else c1($,U,Q,W,M);break;case 31:P0=Y6,_0=U.alternate!==null?U.alternate.memoizedState:null,K0=U.memoizedState,_0!==null&&K0===null?(K0=U.deletions,K0!==null&&0<K0.length&&K0[0].tag===18?(Y6=!1,_0=_0.hydrationErrors,_0!==null&&DD(U,U.actualStartTime,M,_0)):Y6=!0):Y6=!1,c1($,U,Q,W,M),Y6=P0;break;case 13:P0=Y6,_0=U.alternate!==null?U.alternate.memoizedState:null,K0=U.memoizedState,_0===null||_0.dehydrated===null||K0!==null&&K0.dehydrated!==null?Y6=!1:(K0=U.deletions,K0!==null&&0<K0.length&&K0[0].tag===18?(Y6=!1,_0=_0.hydrationErrors,_0!==null&&DD(U,U.actualStartTime,M,_0)):Y6=!0),c1($,U,Q,W,M),Y6=P0;break;case 23:break;case 22:K0=U.stateNode,_0=U.alternate,U.memoizedState!==null?K0._visibility&d4?c1($,U,Q,W,M):fY($,U,Q,W,M):K0._visibility&d4?c1($,U,Q,W,M):(K0._visibility|=d4,SJ($,U,Q,W,(U.subtreeFlags&10256)!==0||U.actualDuration!==0&&(U.alternate===null||U.alternate.child!==U.child),M),(U.mode&N$)===C$||Y6||($=U.actualStartTime,0<=$&&0.05<M-$&&t2(U,$,M),0<=A$&&0<=T$&&0.05<T$-A$&&t2(U,A$,T$))),P0&2048&&B8(_0,U);break;case 24:c1($,U,Q,W,M),P0&2048&&v8(U.alternate,U);break;default:c1($,U,Q,W,M)}if((U.mode&N$)!==C$){if($=!Y6&&U.alternate===null&&U.return!==null&&U.return.alternate!==null)Q=U.actualStartTime,0<=Q&&0.05<M-Q&&e1(U,Q,M,"Mount");0<=A$&&0<=T$&&((wU||0.05<qU)&&$4(U,A$,T$,qU,jU),$&&0.05<T$-A$&&e1(U,A$,T$,"Mount"))}I1(_),I4(k),jU=f,wU=l,qX=o}function SJ($,U,Q,W,M,_){M=M&&((U.subtreeFlags&10256)!==0||U.actualDuration!==0&&(U.alternate===null||U.alternate.child!==U.child));for(U=U.child;U!==null;){var k=U.sibling;KC($,U,Q,W,M,k!==null?k.actualStartTime:_),U=k}}function KC($,U,Q,W,M,_){var k=X1(),f=X4(),l=J4(),o=Q4(),P0=qX;M&&(U.mode&N$)!==C$&&0<U.actualStartTime&&(U.flags&1)!==0&&a2(U,U.actualStartTime,_,Y6,Q);var _0=U.flags;switch(U.tag){case 0:case 11:case 15:SJ($,U,Q,W,M,_),rT(U,k6);break;case 23:break;case 22:var K0=U.stateNode;U.memoizedState!==null?K0._visibility&d4?SJ($,U,Q,W,M,_):fY($,U,Q,W,_):(K0._visibility|=d4,SJ($,U,Q,W,M,_)),M&&_0&2048&&B8(U.alternate,U);break;case 24:SJ($,U,Q,W,M,_),M&&_0&2048&&v8(U.alternate,U);break;default:SJ($,U,Q,W,M,_)}(U.mode&N$)!==C$&&0<=A$&&0<=T$&&(wU||0.05<qU)&&$4(U,A$,T$,qU,jU),I1(k),I4(f),jU=l,wU=o,qX=P0}function fY($,U,Q,W,M){if(U.subtreeFlags&10256||U.actualDuration!==0&&(U.alternate===null||U.alternate.child!==U.child))for(var _=U.child;_!==null;){U=_.sibling;var k=$,f=Q,l=W,o=U!==null?U.actualStartTime:M,P0=qX;(_.mode&N$)!==C$&&0<_.actualStartTime&&(_.flags&1)!==0&&a2(_,_.actualStartTime,o,Y6,f);var _0=_.flags;switch(_.tag){case 22:fY(k,_,f,l,o),_0&2048&&B8(_.alternate,_);break;case 24:fY(k,_,f,l,o),_0&2048&&v8(_.alternate,_);break;default:fY(k,_,f,l,o)}qX=P0,_=U}}function jJ($,U,Q){if($.subtreeFlags&SG)for($=$.child;$!==null;)WC($,U,Q),$=$.sibling}function WC($,U,Q){switch($.tag){case 26:jJ($,U,Q),$.flags&SG&&$.memoizedState!==null&&A3(Q,o1,$.memoizedState,$.memoizedProps);break;case 5:jJ($,U,Q);break;case 3:case 4:var W=o1;o1=pZ($.stateNode.containerInfo),jJ($,U,Q),o1=W;break;case 22:$.memoizedState===null&&(W=$.alternate,W!==null&&W.memoizedState!==null?(W=SG,SG=16777216,jJ($,U,Q),SG=W):jJ($,U,Q));break;default:jJ($,U,Q)}}function FC($){var U=$.alternate;if(U!==null&&($=U.child,$!==null)){U.child=null;do U=$.sibling,$.sibling=null,$=U;while($!==null)}}function yY($){var U=$.deletions;if(($.flags&16)!==0){if(U!==null)for(var Q=0;Q<U.length;Q++){var W=U[Q],M=X1();V6=W,MC(W,$),(W.mode&N$)!==C$&&0<=A$&&0<=T$&&0.05<T$-A$&&e1(W,A$,T$,"Unmount"),I1(M)}FC($)}if($.subtreeFlags&10256)for($=$.child;$!==null;)HC($),$=$.sibling}function HC($){var U=X1(),Q=X4(),W=J4(),M=Q4();switch($.tag){case 0:case 11:case 15:yY($),$.flags&2048&&E8($,$.return,k6|q1);break;case 3:var _=u4();yY($),$.stateNode.passiveEffectDuration+=YZ(_);break;case 12:_=u4(),yY($),$.stateNode.passiveEffectDuration+=_Y(_);break;case 22:_=$.stateNode,$.memoizedState!==null&&_._visibility&d4&&($.return===null||$.return.tag!==13)?(_._visibility&=~d4,wZ($),($.mode&N$)!==C$&&0<=A$&&0<=T$&&0.05<T$-A$&&e1($,A$,T$,"Disconnect")):yY($);break;default:yY($)}($.mode&N$)!==C$&&0<=A$&&0<=T$&&(wU||0.05<qU)&&$4($,A$,T$,qU,jU),I1(U),I4(Q),wU=M,jU=W}function wZ($){var U=$.deletions;if(($.flags&16)!==0){if(U!==null)for(var Q=0;Q<U.length;Q++){var W=U[Q],M=X1();V6=W,MC(W,$),(W.mode&N$)!==C$&&0<=A$&&0<=T$&&0.05<T$-A$&&e1(W,A$,T$,"Unmount"),I1(M)}FC($)}for($=$.child;$!==null;)LC($),$=$.sibling}function LC($){var U=X1(),Q=X4(),W=J4(),M=Q4();switch($.tag){case 0:case 11:case 15:E8($,$.return,k6),wZ($);break;case 22:var _=$.stateNode;_._visibility&d4&&(_._visibility&=~d4,wZ($));break;default:wZ($)}($.mode&N$)!==C$&&0<=A$&&0<=T$&&(wU||0.05<qU)&&$4($,A$,T$,qU,jU),I1(U),I4(Q),wU=M,jU=W}function MC($,U){for(;V6!==null;){var Q=V6,W=Q,M=U,_=X1(),k=X4(),f=J4(),l=Q4();switch(W.tag){case 0:case 11:case 15:E8(W,M,k6);break;case 23:case 22:W.memoizedState!==null&&W.memoizedState.cachePool!==null&&(M=W.memoizedState.cachePool.pool,M!=null&&CI(M));break;case 24:PY(W.memoizedState.cache)}if((W.mode&N$)!==C$&&0<=A$&&0<=T$&&(wU||0.05<qU)&&$4(W,A$,T$,qU,jU),I1(_),I4(k),wU=l,jU=f,W=Q.child,W!==null)W.return=Q,V6=W;else $:for(Q=$;V6!==null;){if(W=V6,_=W.sibling,k=W.return,JC(W),W===Q){V6=null;break $}if(_!==null){_.return=k,V6=_;break $}V6=k}}}function kq(){ek.forEach(function($){return $()})}function AC(){var $=typeof IS_REACT_ACT_ENVIRONMENT<"u"?IS_REACT_ACT_ENVIRONMENT:void 0;return $||y0.actQueue===null||console.error("The current testing environment is not configured to support act(...)"),$}function Q1($){if((n$&G6)!==D6&&k$!==0)return k$&-k$;var U=y0.T;return U!==null?(U._updatedFibers||(U._updatedFibers=new Set),U._updatedFibers.add($),y8()):I0()}function TC(){if(i6===0)if((k$&536870912)===0||p$){var $=$z;$z<<=1,($z&3932160)===0&&($z=262144),i6=$}else i6=536870912;return $=V1.current,$!==null&&($.flags|=32),i6}function gU($,U,Q){if(DQ&&console.error("useInsertionEffect must not schedule updates."),MW&&(uz=!0),$===ZU&&(XU===cI||XU===pI)||$.cancelPendingCommit!==null)vJ($,0),_X($,k$,i6,!1);if(c0($,Q),(n$&G6)!==D6&&$===ZU){if(H4)switch(U.tag){case 0:case 11:case 15:$=w$&&t(w$)||"Unknown",oE.has($)||(oE.add($),U=t(U)||"Unknown",console.error("Cannot update a component (`%s`) while rendering a different component (`%s`). To locate the bad setState() call inside `%s`, follow the stack trace as described in https://react.dev/link/setstate-in-render",U,$,$));break;case 1:nE||(console.error("Cannot update during an existing state transition (such as within `render`). Render methods should be a pure function of props and state."),nE=!0)}}else M4&&o0($,U,Q),pq(U),$===ZU&&((n$&G6)===D6&&(lX|=Q),kU===cX&&_X($,k$,i6,!1)),D4($)}function CC($,U,Q){if((n$&(G6|K1))!==D6)throw Error("Should not already be working.");if(k$!==0&&w$!==null){var W=w$,M=z6();switch(u_){case vG:case cI:var _=DG;AU&&((W=W._debugTask)?W.run(console.timeStamp.bind(console,"Suspended",_,M,_1,void 0,"primary-light")):console.timeStamp("Suspended",_,M,_1,void 0,"primary-light"));break;case pI:_=DG,AU&&((W=W._debugTask)?W.run(console.timeStamp.bind(console,"Action",_,M,_1,void 0,"primary-light")):console.timeStamp("Action",_,M,_1,void 0,"primary-light"));break;default:AU&&(W=M-DG,3>W||console.timeStamp("Blocked",DG,M,_1,void 0,5>W?"primary-light":10>W?"primary":100>W?"primary-dark":"error"))}}_=(Q=!Q&&(U&127)===0&&(U&$.expiredLanes)===0||M0($,U))?gq($,U):q8($,U,!0);var k=Q;do{if(_===XX){OQ&&!Q&&_X($,U,0,!1),U=XU,DG=eU(),u_=U;break}else{if(W=z6(),M=$.current.alternate,k&&!xq(M)){$1(U),M=O6,_=W,!AU||_<=M||(dU?dU.run(console.timeStamp.bind(console,"Teared Render",M,_,u$,b$,"error")):console.timeStamp("Teared Render",M,_,u$,b$,"error")),jI(U,W),_=q8($,U,!1),k=!1;continue}if(_===hI){if(k=U,$.errorRecoveryDisabledLanes&k)var f=0;else f=$.pendingLanes&-536870913,f=f!==0?f:f&536870912?536870912:0;if(f!==0){$1(U),KD(O6,W,U,dU),jI(U,W),U=f;$:{W=$,_=k,k=qG;var l=W.current.memoizedState.isDehydrated;if(l&&(vJ(W,f).flags|=256),f=q8(W,f,!1),f!==hI){if(OW&&!l){W.errorRecoveryDisabledLanes|=_,lX|=_,_=cX;break $}W=x6,x6=k,W!==null&&(x6===null?x6=W:x6.push.apply(x6,W))}_=f}if(k=!1,_!==hI)continue;else W=z6()}}if(_===BG){$1(U),KD(O6,W,U,dU),jI(U,W),vJ($,0),_X($,U,0,!0);break}$:{switch(Q=$,_){case XX:case BG:throw Error("Root did not complete. This is a bug in React.");case cX:if((U&4194048)!==U)break;case qz:$1(U),CA(O6,W,U,dU),jI(U,W),M=U,(M&127)!==0?Hz=W:(M&4194048)!==0&&(Lz=W),_X(Q,U,i6,!pX);break $;case hI:x6=null;break;case Nz:case xE:break;default:throw Error("Unknown root exit status.")}if(y0.actQueue!==null)k8(Q,M,U,x6,kG,gz,i6,lX,mI,_,null,null,O6,W);else{if((U&62914560)===U&&(k=wz+fE-z6(),10<k)){if(_X(Q,U,i6,!pX),U$(Q,0,!0)!==0)break $;i1=U,Q.timeoutHandle=UR(PC.bind(null,Q,M,x6,kG,gz,U,i6,lX,mI,pX,_,"Throttled",O6,W),k);break $}PC(Q,M,x6,kG,gz,U,i6,lX,mI,pX,_,null,O6,W)}}}break}while(1);D4($)}function PC($,U,Q,W,M,_,k,f,l,o,P0,_0,K0,k0){$.timeoutHandle=iI;var O$=U.subtreeFlags,W$=null;if(O$&8192||(O$&16785408)===16785408){if(W$={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:w4},WC(U,_,W$),O$=(_&62914560)===_?wz-z6():(_&4194048)===_?wE-z6():0,O$=T3(W$,O$),O$!==null){i1=_,$.cancelPendingCommit=O$(k8.bind(null,$,U,_,Q,W,M,k,f,l,P0,W$,W$.waitingForViewTransition?"Waiting for the previous Animation":0<W$.count?0<W$.imgCount?"Suspended on CSS and Images":"Suspended on CSS":W$.imgCount===1?"Suspended on an Image":0<W$.imgCount?"Suspended on Images":null,K0,k0)),_X($,_,k,!o);return}}k8($,U,_,Q,W,M,k,f,l,P0,W$,_0,K0,k0)}function xq($){for(var U=$;;){var Q=U.tag;if((Q===0||Q===11||Q===15)&&U.flags&16384&&(Q=U.updateQueue,Q!==null&&(Q=Q.stores,Q!==null)))for(var W=0;W<Q.length;W++){var M=Q[W],_=M.getSnapshot;M=M.value;try{if(!v6(_(),M))return!1}catch(k){return!1}}if(Q=U.child,U.subtreeFlags&16384&&Q!==null)Q.return=U,U=Q;else{if(U===$)break;for(;U.sibling===null;){if(U.return===null||U.return===$)return!0;U=U.return}U.sibling.return=U.return,U=U.sibling}}return!0}function _X($,U,Q,W){U&=~VW,U&=~lX,$.suspendedLanes|=U,$.pingedLanes&=~U,W&&($.warmLanes|=U),W=$.expirationTimes;for(var M=U;0<M;){var _=31-S6(M),k=1<<_;W[_]=-1,M&=~k}Q!==0&&u0($,Q,U)}function BJ(){return(n$&(G6|K1))===D6?(hY(0,!1),!1):!0}function N8(){if(w$!==null){if(XU===o6)var $=w$.return;else $=w$,IZ(),cD($),UQ=null,CG=0,$=w$;for(;$!==null;)oT($.alternate,$),$=$.return;w$=null}}function jI($,U){($&127)!==0&&(fX=U),($&4194048)!==0&&(_4=U),($&62914560)!==0&&(y_=U),($&2080374784)!==0&&(b_=U)}function vJ($,U){AU&&(console.timeStamp("Blocking Track",0.003,0.003,"Blocking",b$,"primary-light"),console.timeStamp("Transition Track",0.003,0.003,"Transition",b$,"primary-light"),console.timeStamp("Suspense Track",0.003,0.003,"Suspense",b$,"primary-light"),console.timeStamp("Idle Track",0.003,0.003,"Idle",b$,"primary-light"));var Q=O6;if(O6=eU(),k$!==0&&0<Q){if($1(k$),kU===Nz||kU===cX)CA(Q,O6,U,dU);else{var W=O6,M=dU;if(AU&&!(W<=Q)){var _=(U&738197653)===U?"tertiary-dark":"primary-dark",k=(U&536870912)===U?"Prewarm":(U&201326741)===U?"Interrupted Hydration":"Interrupted Render";M?M.run(console.timeStamp.bind(console,k,Q,W,u$,b$,_)):console.timeStamp(k,Q,W,u$,b$,_)}}jI(k$,O6)}if(Q=dU,dU=null,(U&127)!==0){dU=zG,M=0<=P4&&P4<fX?fX:P4,W=0<=kI&&kI<fX?fX:kI,_=0<=W?W:0<=M?M:O6,0<=Hz?($1(2),PA(Hz,_,U,Q)):(Mz&127)!==0&&($1(2),TY(fX,_,a4)),Q=M;var f=W,l=OG,o=0<sJ,P0=yX===ZG,_0=yX===Fz;if(M=O6,W=zG,_=mK,k=lK,AU){if(u$="Blocking",0<Q?Q>M&&(Q=M):Q=M,0<f?f>Q&&(f=Q):f=Q,l!==null&&Q>f){var K0=o?"secondary-light":"warning";W?W.run(console.timeStamp.bind(console,o?"Consecutive":"Event: "+l,f,Q,u$,b$,K0)):console.timeStamp(o?"Consecutive":"Event: "+l,f,Q,u$,b$,K0)}M>Q&&(f=P0?"error":(U&738197653)===U?"tertiary-light":"primary-light",P0=_0?"Promise Resolved":P0?"Cascading Update":5<M-Q?"Update Blocked":"Update",_0=[],k!=null&&_0.push(["Component name",k]),_!=null&&_0.push(["Method name",_]),Q={start:Q,end:M,detail:{devtools:{properties:_0,track:u$,trackGroup:b$,color:f}}},W?W.run(performance.measure.bind(performance,P0,Q)):performance.measure(P0,Q))}P4=-1.1,yX=0,lK=mK=null,Hz=-1.1,sJ=kI,kI=-1.1,fX=eU()}if((U&4194048)!==0&&(dU=VG,M=0<=t4&&t4<_4?_4:t4,Q=0<=v1&&v1<_4?_4:v1,W=0<=bX&&bX<_4?_4:bX,_=0<=W?W:0<=Q?Q:O6,0<=Lz?($1(256),PA(Lz,_,U,dU)):(Mz&4194048)!==0&&($1(256),TY(_4,_,a4)),_0=W,f=xI,l=0<uX,o=dK===Fz,_=O6,W=VG,k=w_,P0=f_,AU&&(u$="Transition",0<Q?Q>_&&(Q=_):Q=_,0<M?M>Q&&(M=Q):M=Q,0<_0?_0>M&&(_0=M):_0=M,M>_0&&f!==null&&(K0=l?"secondary-light":"warning",W?W.run(console.timeStamp.bind(console,l?"Consecutive":"Event: "+f,_0,M,u$,b$,K0)):console.timeStamp(l?"Consecutive":"Event: "+f,_0,M,u$,b$,K0)),Q>M&&(W?W.run(console.timeStamp.bind(console,"Action",M,Q,u$,b$,"primary-dark")):console.timeStamp("Action",M,Q,u$,b$,"primary-dark")),_>Q&&(M=o?"Promise Resolved":5<_-Q?"Update Blocked":"Update",_0=[],P0!=null&&_0.push(["Component name",P0]),k!=null&&_0.push(["Method name",k]),Q={start:Q,end:_,detail:{devtools:{properties:_0,track:u$,trackGroup:b$,color:"primary-light"}}},W?W.run(performance.measure.bind(performance,M,Q)):performance.measure(M,Q))),v1=t4=-1.1,dK=0,Lz=-1.1,uX=bX,bX=-1.1,_4=eU()),(U&62914560)!==0&&(Mz&62914560)!==0&&($1(4194304),TY(y_,O6,a4)),(U&2080374784)!==0&&(Mz&2080374784)!==0&&($1(268435456),TY(b_,O6,a4)),Q=$.timeoutHandle,Q!==iI&&($.timeoutHandle=iI,Dx(Q)),Q=$.cancelPendingCommit,Q!==null&&($.cancelPendingCommit=null,Q()),i1=0,N8(),ZU=$,w$=Q=f4($.current,null),k$=U,XU=o6,W1=null,pX=!1,OQ=M0($,U),OW=!1,kU=XX,mI=i6=VW=lX=mX=0,x6=qG=null,gz=!1,(U&8)!==0&&(U|=U&32),W=$.entangledLanes,W!==0)for($=$.entanglements,W&=U;0<W;)M=31-S6(W),_=1<<M,U|=$[M],W&=~_;return R4=U,s2(),$=v_(),1000<$-B_&&(y0.recentlyCreatedOwnerStacks=0,B_=$),d1.discardPendingWarnings(),Q}function _C($,U){P$=null,y0.H=RG,y0.getCurrentStack=null,H4=!1,Z1=null,U===$Q||U===Pz?(U=lA(),XU=vG):U===rK?(U=lA(),XU=gE):XU=U===QW?zW:U!==null&&typeof U==="object"&&typeof U.then==="function"?NG:kz,W1=U;var Q=w$;Q===null?(kU=BG,BZ($,U1(U,$.current))):Q.mode&N$&&BD(Q)}function EC(){var $=V1.current;return $===null?!0:(k$&4194048)===k$?N1===null?!0:!1:(k$&62914560)===k$||(k$&536870912)!==0?$===N1:!1}function RC(){var $=y0.H;return y0.H=RG,$===null?RG:$}function SC(){var $=y0.A;return y0.A=sk,$}function fZ($){dU===null&&(dU=$._debugTask==null?null:$._debugTask)}function yZ(){kU=cX,pX||(k$&4194048)!==k$&&V1.current!==null||(OQ=!0),(mX&134217727)===0&&(lX&134217727)===0||ZU===null||_X(ZU,k$,i6,!1)}function q8($,U,Q){var W=n$;n$|=G6;var M=RC(),_=SC();if(ZU!==$||k$!==U){if(M4){var k=$.memoizedUpdaters;0<k.size&&(uY($,k$),k.clear()),PU($,U)}kG=null,vJ($,U)}U=!1,k=kU;$:do try{if(XU!==o6&&w$!==null){var f=w$,l=W1;switch(XU){case zW:N8(),k=qz;break $;case vG:case cI:case pI:case NG:V1.current===null&&(U=!0);var o=XU;if(XU=o6,W1=null,NJ($,f,l,o),Q&&OQ){k=XX;break $}break;default:o=XU,XU=o6,W1=null,NJ($,f,l,o)}}jC(),k=kU;break}catch(P0){_C($,P0)}while(1);return U&&$.shellSuspendCounter++,IZ(),n$=W,y0.H=M,y0.A=_,w$===null&&(ZU=null,k$=0,s2()),k}function jC(){for(;w$!==null;)BC(w$)}function gq($,U){var Q=n$;n$|=G6;var W=RC(),M=SC();if(ZU!==$||k$!==U){if(M4){var _=$.memoizedUpdaters;0<_.size&&(uY($,k$),_.clear()),PU($,U)}kG=null,fz=z6()+yE,vJ($,U)}else OQ=M0($,U);$:do try{if(XU!==o6&&w$!==null)U:switch(U=w$,_=W1,XU){case kz:XU=o6,W1=null,NJ($,U,_,kz);break;case cI:case pI:if(pA(_)){XU=o6,W1=null,vC(U);break}U=function(){XU!==cI&&XU!==pI||ZU!==$||(XU=xz),D4($)},_.then(U,U);break $;case vG:XU=xz;break $;case gE:XU=ZW;break $;case xz:pA(_)?(XU=o6,W1=null,vC(U)):(XU=o6,W1=null,NJ($,U,_,xz));break;case ZW:var k=null;switch(w$.tag){case 26:k=w$.memoizedState;case 5:case 27:var f=w$;if(k?CP(k):f.stateNode.complete){XU=o6,W1=null;var l=f.sibling;if(l!==null)w$=l;else{var o=f.return;o!==null?(w$=o,bZ(o)):w$=null}break U}break;default:console.error("Unexpected type of fiber triggered a suspensey commit. This is a bug in React.")}XU=o6,W1=null,NJ($,U,_,ZW);break;case NG:XU=o6,W1=null,NJ($,U,_,NG);break;case zW:N8(),kU=qz;break $;default:throw Error("Unexpected SuspendedReason. This is a bug in React.")}y0.actQueue!==null?jC():wq();break}catch(P0){_C($,P0)}while(1);if(IZ(),y0.H=W,y0.A=M,n$=Q,w$!==null)return XX;return ZU=null,k$=0,s2(),kU}function wq(){for(;w$!==null&&!x3();)BC(w$)}function BC($){var U=$.alternate;($.mode&N$)!==C$?(jD($),U=J0($,C8,U,$,R4),BD($)):U=J0($,C8,U,$,R4),$.memoizedProps=$.pendingProps,U===null?bZ($):w$=U}function vC($){var U=J0($,fq,$);$.memoizedProps=$.pendingProps,U===null?bZ($):w$=U}function fq($){var U=$.alternate,Q=($.mode&N$)!==C$;switch(Q&&jD($),$.tag){case 15:case 0:U=hT(U,$,$.pendingProps,$.type,void 0,k$);break;case 11:U=hT(U,$,$.pendingProps,$.type.render,$.ref,k$);break;case 5:cD($);default:oT(U,$),$=w$=BA($,R4),U=C8(U,$,R4)}return Q&&BD($),U}function NJ($,U,Q,W){IZ(),cD(U),UQ=null,CG=0;var M=U.return;try{if(Tq($,M,U,Q,k$)){kU=BG,BZ($,U1(Q,$.current)),w$=null;return}}catch(_){if(M!==null)throw w$=M,_;kU=BG,BZ($,U1(Q,$.current)),w$=null;return}if(U.flags&32768){if(p$||W===kz)$=!0;else if(OQ||(k$&536870912)!==0)$=!1;else if(pX=$=!0,W===cI||W===pI||W===vG||W===NG)W=V1.current,W!==null&&W.tag===13&&(W.flags|=16384);NC(U,$)}else bZ(U)}function bZ($){var U=$;do{if((U.flags&32768)!==0){NC(U,pX);return}var Q=U.alternate;if($=U.return,jD(U),Q=J0(U,_q,Q,U,R4),(U.mode&N$)!==C$&&yA(U),Q!==null){w$=Q;return}if(U=U.sibling,U!==null){w$=U;return}w$=U=$}while(U!==null);kU===XX&&(kU=xE)}function NC($,U){do{var Q=Eq($.alternate,$);if(Q!==null){Q.flags&=32767,w$=Q;return}if(($.mode&N$)!==C$){yA($),Q=$.actualDuration;for(var W=$.child;W!==null;)Q+=W.actualDuration,W=W.sibling;$.actualDuration=Q}if(Q=$.return,Q!==null&&(Q.flags|=32768,Q.subtreeFlags=0,Q.deletions=null),!U&&($=$.sibling,$!==null)){w$=$;return}w$=$=Q}while($!==null);kU=qz,w$=null}function k8($,U,Q,W,M,_,k,f,l,o,P0,_0,K0,k0){$.cancelPendingCommit=null;do bY();while(J6!==nX);if(d1.flushLegacyContextWarning(),d1.flushPendingUnsafeLifecycleWarnings(),(n$&(G6|K1))!==D6)throw Error("Should not already be working.");if($1(Q),o===hI?KD(K0,k0,Q,dU):W!==null?Gq(K0,k0,Q,W,U!==null&&U.alternate!==null&&U.alternate.memoizedState.isDehydrated&&(U.flags&256)!==0,dU):Yq(K0,k0,Q,dU),U!==null){if(Q===0&&console.error("finishedLanes should not be empty during a commit. This is a bug in React."),U===$.current)throw Error("Cannot commit the same tree as before. This error is likely caused by a bug in React. Please file an issue.");if(_=U.lanes|U.childLanes,_|=bK,i$($,Q,_,k,f,l),$===ZU&&(w$=ZU=null,k$=0),VQ=U,oX=$,i1=Q,WW=_,HW=M,mE=W,FW=k0,lE=_0,r1=yz,dE=null,U.actualDuration!==0||(U.subtreeFlags&10256)!==0||(U.flags&10256)!==0?($.callbackNode=null,$.callbackPriority=0,cq(fJ,function(){return bG=window.event,r1===yz&&(r1=KW),wC(),null})):($.callbackNode=null,$.callbackPriority=0),r4=null,wX=eU(),_0!==null&&Zq(k0,wX,_0,dU),W=(U.flags&13878)!==0,(U.subtreeFlags&13878)!==0||W){W=y0.T,y0.T=null,M=s$.p,s$.p=z1,k=n$,n$|=K1;try{Nq($,U,Q)}finally{n$=k,s$.p=M,y0.T=W}}J6=uE,qC(),kC(),xC()}}function qC(){if(J6===uE){J6=nX;var $=oX,U=VQ,Q=i1,W=(U.flags&13878)!==0;if((U.subtreeFlags&13878)!==0||W){W=y0.T,y0.T=null;var M=s$.p;s$.p=z1;var _=n$;n$|=K1;try{ZQ=Q,zQ=$,GZ(),ZC(U,$),zQ=ZQ=null,Q=jW;var k=MA($.containerInfo),f=Q.focusedElem,l=Q.selectionRange;if(k!==f&&f&&f.ownerDocument&&LA(f.ownerDocument.documentElement,f)){if(l!==null&&OD(f)){var{start:o,end:P0}=l;if(P0===void 0&&(P0=o),"selectionStart"in f)f.selectionStart=o,f.selectionEnd=Math.min(P0,f.value.length);else{var _0=f.ownerDocument||document,K0=_0&&_0.defaultView||window;if(K0.getSelection){var k0=K0.getSelection(),O$=f.textContent.length,W$=Math.min(l.start,O$),WU=l.end===void 0?W$:Math.min(l.end,O$);!k0.extend&&W$>WU&&(k=WU,WU=W$,W$=k);var l$=HA(f,W$),z0=HA(f,WU);if(l$&&z0&&(k0.rangeCount!==1||k0.anchorNode!==l$.node||k0.anchorOffset!==l$.offset||k0.focusNode!==z0.node||k0.focusOffset!==z0.offset)){var W0=_0.createRange();W0.setStart(l$.node,l$.offset),k0.removeAllRanges(),W$>WU?(k0.addRange(W0),k0.extend(z0.node,z0.offset)):(W0.setEnd(z0.node,z0.offset),k0.addRange(W0))}}}}_0=[];for(k0=f;k0=k0.parentNode;)k0.nodeType===1&&_0.push({element:k0,left:k0.scrollLeft,top:k0.scrollTop});typeof f.focus==="function"&&f.focus();for(f=0;f<_0.length;f++){var T0=_0[f];T0.element.scrollLeft=T0.left,T0.element.scrollTop=T0.top}}ez=!!SW,jW=SW=null}finally{n$=_,s$.p=M,y0.T=W}}$.current=U,J6=hE}}function kC(){if(J6===hE){J6=nX;var $=dE;if($!==null){wX=eU();var U=i4,Q=wX;!AU||Q<=U||(a4?a4.run(console.timeStamp.bind(console,$,U,Q,u$,b$,"secondary-light")):console.timeStamp($,U,Q,u$,b$,"secondary-light"))}$=oX,U=VQ,Q=i1;var W=(U.flags&8772)!==0;if((U.subtreeFlags&8772)!==0||W){W=y0.T,y0.T=null;var M=s$.p;s$.p=z1;var _=n$;n$|=K1;try{ZQ=Q,zQ=$,GZ(),IC($,U.alternate,U),zQ=ZQ=null}finally{n$=_,s$.p=M,y0.T=W}}$=FW,U=lE,i4=eU(),$=U===null?$:wX,U=i4,Q=r1===DW,W=dU,r4!==null?_A($,U,r4,!1,W):!AU||U<=$||(W?W.run(console.timeStamp.bind(console,Q?"Commit Interrupted View Transition":"Commit",$,U,u$,b$,Q?"error":"secondary-dark")):console.timeStamp(Q?"Commit Interrupted View Transition":"Commit",$,U,u$,b$,Q?"error":"secondary-dark")),J6=cE}}function xC(){if(J6===pE||J6===cE){if(J6===pE){var $=i4;i4=eU();var U=i4,Q=r1===DW;!AU||U<=$||(a4?a4.run(console.timeStamp.bind(console,Q?"Interrupted View Transition":"Starting Animation",$,U,u$,b$,Q?"error":"secondary-light")):console.timeStamp(Q?"Interrupted View Transition":"Starting Animation",$,U,u$,b$,Q?" error":"secondary-light")),r1!==DW&&(r1=bE)}J6=nX,g3(),$=oX;var W=VQ;U=i1,Q=mE;var M=W.actualDuration!==0||(W.subtreeFlags&10256)!==0||(W.flags&10256)!==0;M?J6=bz:(J6=nX,VQ=oX=null,gC($,$.pendingLanes),lI=0,gG=null);var _=$.pendingLanes;if(_===0&&(dX=null),M||uC($),_=m(U),W=W.stateNode,P6&&typeof P6.onCommitFiberRoot==="function")try{var k=(W.current.flags&128)===128;switch(_){case z1:var f=HK;break;case m1:f=LK;break;case A4:f=fJ;break;case Xz:f=MK;break;default:f=fJ}P6.onCommitFiberRoot(yJ,W,f,k)}catch(_0){L4||(L4=!0,console.error("React instrumentation encountered an error: %o",_0))}if(M4&&$.memoizedUpdaters.clear(),kq(),Q!==null){k=y0.T,f=s$.p,s$.p=z1,y0.T=null;try{var l=$.onRecoverableError;for(W=0;W<Q.length;W++){var o=Q[W],P0=yq(o.stack);J0(o.source,l,o.value,P0)}}finally{y0.T=k,s$.p=f}}(i1&3)!==0&&bY(),D4($),_=$.pendingLanes,(U&261930)!==0&&(_&42)!==0?(Tz=!0,$===LW?xG++:(xG=0,LW=$)):xG=0,M||jI(U,i4),hY(0,!1)}}function yq($){return $={componentStack:$},Object.defineProperty($,"digest",{get:function(){console.error('You are accessing "digest" from the errorInfo object passed to onRecoverableError. This property is no longer provided as part of errorInfo but can be accessed as a property of the Error instance itself.')}}),$}function gC($,U){($.pooledCacheLanes&=U)===0&&(U=$.pooledCache,U!=null&&($.pooledCache=null,PY(U)))}function bY(){return qC(),kC(),xC(),wC()}function wC(){if(J6!==bz)return!1;var $=oX,U=WW;WW=0;var Q=m(i1),W=A4===0||A4>Q?A4:Q;Q=y0.T;var M=s$.p;try{s$.p=W,y0.T=null;var _=HW;HW=null,W=oX;var k=i1;if(J6=nX,VQ=oX=null,i1=0,(n$&(G6|K1))!==D6)throw Error("Cannot flush passive effects while already rendering.");$1(k),MW=!0,uz=!1;var f=0;if(r4=null,f=z6(),r1===bE)TY(i4,f,a4);else{var l=i4,o=f,P0=r1===KW;!AU||o<=l||(dU?dU.run(console.timeStamp.bind(console,P0?"Waiting for Paint":"Waiting",l,o,u$,b$,"secondary-light")):console.timeStamp(P0?"Waiting for Paint":"Waiting",l,o,u$,b$,"secondary-light"))}l=n$,n$|=K1;var _0=W.current;GZ(),HC(_0);var K0=W.current;_0=FW,GZ(),DC(W,K0,k,_,_0),uC(W),n$=l;var k0=z6();if(K0=f,_0=dU,r4!==null?_A(K0,k0,r4,!0,_0):!AU||k0<=K0||(_0?_0.run(console.timeStamp.bind(console,"Remaining Effects",K0,k0,u$,b$,"secondary-dark")):console.timeStamp("Remaining Effects",K0,k0,u$,b$,"secondary-dark")),jI(k,k0),hY(0,!1),uz?W===gG?lI++:(lI=0,gG=W):lI=0,uz=MW=!1,P6&&typeof P6.onPostCommitFiberRoot==="function")try{P6.onPostCommitFiberRoot(yJ,W)}catch(W$){L4||(L4=!0,console.error("React instrumentation encountered an error: %o",W$))}var O$=W.current.stateNode;return O$.effectDuration=0,O$.passiveEffectDuration=0,!0}finally{s$.p=M,y0.T=Q,gC($,U)}}function fC($,U,Q){U=U1(Q,U),bA(U),U=O8($.stateNode,U,2),$=AX($,U,2),$!==null&&(c0($,2),D4($))}function a$($,U,Q){if(DQ=!1,$.tag===3)fC($,$,Q);else{for(;U!==null;){if(U.tag===3){fC(U,$,Q);return}if(U.tag===1){var W=U.stateNode;if(typeof U.type.getDerivedStateFromError==="function"||typeof W.componentDidCatch==="function"&&(dX===null||!dX.has(W))){$=U1(Q,$),bA($),Q=V8(2),W=AX(U,Q,2),W!==null&&(D8(Q,W,U,$),c0(W,2),D4(W));return}}U=U.return}console.error(`Internal React error: Attempted to capture a commit phase error inside a detached tree. This indicates a bug in React. Potential causes include deleting the same fiber more than once, committing an already-finished tree, or an inconsistent return pointer.
154
+
155
+ Error message:
156
+
157
+ %s`,Q)}}function x8($,U,Q){var W=$.pingCache;if(W===null){W=$.pingCache=new $x;var M=new Set;W.set(U,M)}else M=W.get(U),M===void 0&&(M=new Set,W.set(U,M));M.has(Q)||(OW=!0,M.add(Q),W=bq.bind(null,$,U,Q),M4&&uY($,Q),U.then(W,W))}function bq($,U,Q){var W=$.pingCache;W!==null&&W.delete(U),$.pingedLanes|=$.suspendedLanes&Q,$.warmLanes&=~Q,(Q&127)!==0?0>P4&&(fX=P4=eU(),zG=Wz("Promise Resolved"),yX=Fz):(Q&4194048)!==0&&0>v1&&(_4=v1=eU(),VG=Wz("Promise Resolved"),dK=Fz),AC()&&y0.actQueue===null&&console.error(`A suspended resource finished loading inside a test, but the event was not wrapped in act(...).
158
+
159
+ When testing, code that resolves suspended data should be wrapped into act(...):
160
+
161
+ act(() => {
162
+ /* finish loading suspended data */
163
+ });
164
+ /* assert on the output */
165
+
166
+ This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act`),ZU===$&&(k$&Q)===Q&&(kU===cX||kU===Nz&&(k$&62914560)===k$&&z6()-wz<fE?(n$&G6)===D6&&vJ($,0):VW|=Q,mI===k$&&(mI=0)),D4($)}function yC($,U){U===0&&(U=L$()),$=C6($,U),$!==null&&(c0($,U),D4($))}function uq($){var U=$.memoizedState,Q=0;U!==null&&(Q=U.retryLane),yC($,Q)}function hq($,U){var Q=0;switch($.tag){case 31:case 13:var{stateNode:W,memoizedState:M}=$;M!==null&&(Q=M.retryLane);break;case 19:W=$.stateNode;break;case 22:W=$.stateNode._retryCache;break;default:throw Error("Pinged unknown suspense boundary type. This is probably a bug in React.")}W!==null&&W.delete(U),yC($,Q)}function g8($,U,Q){if((U.subtreeFlags&67117056)!==0)for(U=U.child;U!==null;){var W=$,M=U,_=M.type===tZ;_=Q||_,M.tag!==22?M.flags&67108864?_&&J0(M,bC,W,M):g8(W,M,_):M.memoizedState===null&&(_&&M.flags&8192?J0(M,bC,W,M):M.subtreeFlags&67108864&&J0(M,g8,W,M,_)),U=U.sibling}}function bC($,U){q0(!0);try{OC(U),LC(U),VC($,U.alternate,U,!1),KC($,U,0,null,!1,0)}finally{q0(!1)}}function uC($){var U=!0;$.current.mode&(_6|l1)||(U=!1),g8($,$.current,U)}function hC($){if((n$&G6)===D6){var U=$.tag;if(U===3||U===1||U===0||U===11||U===14||U===15){if(U=t($)||"ReactComponent",hz!==null){if(hz.has(U))return;hz.add(U)}else hz=new Set([U]);J0($,function(){console.error("Can't perform a React state update on a component that hasn't mounted yet. This indicates that you have a side-effect in your render function that asynchronously tries to update the component. Move this work to useEffect instead.")})}}}function uY($,U){M4&&$.memoizedUpdaters.forEach(function(Q){o0($,Q,U)})}function cq($,U){var Q=y0.actQueue;return Q!==null?(Q.push(U),Ix):FK($,U)}function pq($){AC()&&y0.actQueue===null&&J0($,function(){console.error(`An update to %s inside a test was not wrapped in act(...).
167
+
168
+ When testing, code that causes React state updates should be wrapped into act(...):
169
+
170
+ act(() => {
171
+ /* fire events that update state */
172
+ });
173
+ /* assert on the output */
174
+
175
+ This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act`,t($))})}function D4($){$!==KQ&&$.next===null&&(KQ===null?cz=KQ=$:KQ=KQ.next=$),pz=!0,y0.actQueue!==null?TW||(TW=!0,lC()):AW||(AW=!0,lC())}function hY($,U){if(!CW&&pz){CW=!0;do{var Q=!1;for(var W=cz;W!==null;){if(!U)if($!==0){var M=W.pendingLanes;if(M===0)var _=0;else{var{suspendedLanes:k,pingedLanes:f}=W;_=(1<<31-S6(42|$)+1)-1,_&=M&~(k&~f),_=_&201326741?_&201326741|1:_?_|2:0}_!==0&&(Q=!0,mC(W,_))}else _=k$,_=U$(W,W===ZU?_:0,W.cancelPendingCommit!==null||W.timeoutHandle!==iI),(_&3)===0||M0(W,_)||(Q=!0,mC(W,_));W=W.next}}while(Q);CW=!1}}function mq(){bG=window.event,w8()}function w8(){pz=TW=AW=!1;var $=0;iX!==0&&tq()&&($=iX);for(var U=z6(),Q=null,W=cz;W!==null;){var M=W.next,_=cC(W,U);if(_===0)W.next=null,Q===null?cz=M:Q.next=M,M===null&&(KQ=Q);else if(Q=W,$!==0||(_&3)!==0)pz=!0;W=M}J6!==nX&&J6!==bz||hY($,!1),iX!==0&&(iX=0)}function cC($,U){for(var{suspendedLanes:Q,pingedLanes:W,expirationTimes:M}=$,_=$.pendingLanes&-62914561;0<_;){var k=31-S6(_),f=1<<k,l=M[k];if(l===-1){if((f&Q)===0||(f&W)!==0)M[k]=v0(f,U)}else l<=U&&($.expiredLanes|=f);_&=~f}if(U=ZU,Q=k$,Q=U$($,$===U?Q:0,$.cancelPendingCommit!==null||$.timeoutHandle!==iI),W=$.callbackNode,Q===0||$===U&&(XU===cI||XU===pI)||$.cancelPendingCommit!==null)return W!==null&&f8(W),$.callbackNode=null,$.callbackPriority=0;if((Q&3)===0||M0($,Q)){if(U=Q&-Q,U!==$.callbackPriority||y0.actQueue!==null&&W!==PW)f8(W);else return U;switch(m(Q)){case z1:case m1:Q=LK;break;case A4:Q=fJ;break;case Xz:Q=MK;break;default:Q=fJ}return W=pC.bind(null,$),y0.actQueue!==null?(y0.actQueue.push(W),Q=PW):Q=FK(Q,W),$.callbackPriority=U,$.callbackNode=Q,U}return W!==null&&f8(W),$.callbackPriority=2,$.callbackNode=null,2}function pC($,U){if(Tz=Az=!1,bG=window.event,J6!==nX&&J6!==bz)return $.callbackNode=null,$.callbackPriority=0,null;var Q=$.callbackNode;if(r1===yz&&(r1=KW),bY()&&$.callbackNode!==Q)return null;var W=k$;if(W=U$($,$===ZU?W:0,$.cancelPendingCommit!==null||$.timeoutHandle!==iI),W===0)return null;return CC($,W,U),cC($,z6()),$.callbackNode!=null&&$.callbackNode===Q?pC.bind(null,$):null}function mC($,U){if(bY())return null;Az=Tz,Tz=!1,CC($,U,!0)}function f8($){$!==PW&&$!==null&&k3($)}function lC(){y0.actQueue!==null&&y0.actQueue.push(function(){return w8(),null}),Kx(function(){(n$&(G6|K1))!==D6?FK(HK,mq):w8()})}function y8(){if(iX===0){var $=gI;$===0&&($=eZ,eZ<<=1,(eZ&261888)===0&&(eZ=256)),iX=$}return iX}function dC($){if($==null||typeof $==="symbol"||typeof $==="boolean")return null;if(typeof $==="function")return $;return n($,"action"),LY(""+$)}function nC($,U){var Q=U.ownerDocument.createElement("input");return Q.name=U.name,Q.value=U.value,$.id&&Q.setAttribute("form",$.id),U.parentNode.insertBefore(Q,U),$=new FormData($),Q.parentNode.removeChild(Q),$}function lq($,U,Q,W,M){if(U==="submit"&&Q&&Q.stateNode===M){var _=dC((M[j6]||null).action),k=W.submitter;k&&(U=(U=k[j6]||null)?dC(U.formAction):k.getAttribute("formAction"),U!==null&&(_=U,k=null));var f=new Gz("action","action",null,W,M);$.push({event:f,listeners:[{instance:null,listener:function(){if(W.defaultPrevented){if(iX!==0){var l=k?nC(M,k):new FormData(M),o={pending:!0,data:l,method:M.method,action:_};Object.freeze(o),I8(Q,o,null,l)}}else typeof _==="function"&&(f.preventDefault(),l=k?nC(M,k):new FormData(M),o={pending:!0,data:l,method:M.method,action:_},Object.freeze(o),I8(Q,o,_,l))},currentTarget:M}]})}}function uZ($,U,Q){$.currentTarget=Q;try{U($)}catch(W){gK(W)}$.currentTarget=null}function oC($,U){U=(U&4)!==0;for(var Q=0;Q<$.length;Q++){var W=$[Q];$:{var M=void 0,_=W.event;if(W=W.listeners,U)for(var k=W.length-1;0<=k;k--){var f=W[k],l=f.instance,o=f.currentTarget;if(f=f.listener,l!==M&&_.isPropagationStopped())break $;l!==null?J0(l,uZ,_,f,o):uZ(_,f,o),M=l}else for(k=0;k<W.length;k++){if(f=W[k],l=f.instance,o=f.currentTarget,f=f.listener,l!==M&&_.isPropagationStopped())break $;l!==null?J0(l,uZ,_,f,o):uZ(_,f,o),M=l}}}}function m$($,U){_W.has($)||console.error('Did not expect a listenToNonDelegatedEvent() call for "%s". This is a bug in React. Please file an issue.',$);var Q=U[AK];Q===void 0&&(Q=U[AK]=new Set);var W=$+"__bubble";Q.has(W)||(iC(U,$,2,!1),Q.add(W))}function b8($,U,Q){_W.has($)&&!U&&console.error('Did not expect a listenToNativeEvent() call for "%s" in the bubble phase. This is a bug in React. Please file an issue.',$);var W=0;U&&(W|=4),iC(Q,$,W,U)}function u8($){if(!$[mz]){$[mz]=!0,lP.forEach(function(Q){Q!=="selectionchange"&&(_W.has(Q)||b8(Q,!1,$),b8(Q,!0,$))});var U=$.nodeType===9?$:$.ownerDocument;U===null||U[mz]||(U[mz]=!0,b8("selectionchange",!1,U))}}function iC($,U,Q,W){switch(jP(U)){case z1:var M=E3;break;case m1:M=R3;break;default:M=UK}Q=M.bind(null,U,Q,$),M=void 0,!EK||U!=="touchstart"&&U!=="touchmove"&&U!=="wheel"||(M=!0),W?M!==void 0?$.addEventListener(U,Q,{capture:!0,passive:M}):$.addEventListener(U,Q,!0):M!==void 0?$.addEventListener(U,Q,{passive:M}):$.addEventListener(U,Q,!1)}function h8($,U,Q,W,M){var _=W;if((U&1)===0&&(U&2)===0&&W!==null)$:for(;;){if(W===null)return;var k=W.tag;if(k===3||k===4){var f=W.stateNode.containerInfo;if(f===M)break;if(k===4)for(k=W.return;k!==null;){var l=k.tag;if((l===3||l===4)&&k.stateNode.containerInfo===M)return;k=k.return}for(;f!==null;){if(k=N0(f),k===null)return;if(l=k.tag,l===5||l===6||l===26||l===27){W=_=k;continue $}f=f.parentNode}}W=W.return}QA(function(){var o=_,P0=ZD(Q),_0=[];$:{var K0=j_.get($);if(K0!==void 0){var k0=Gz,O$=$;switch($){case"keypress":if(o2(Q)===0)break $;case"keydown":case"keyup":k0=Ak;break;case"focusin":O$="focus",k0=BK;break;case"focusout":O$="blur",k0=BK;break;case"beforeblur":case"afterblur":k0=BK;break;case"click":if(Q.button===2)break $;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":k0=K_;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":k0=Gk;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":k0=Pk;break;case __:case E_:case R_:k0=Ok;break;case S_:k0=Ek;break;case"scroll":case"scrollend":k0=Qk;break;case"wheel":k0=Sk;break;case"copy":case"cut":case"paste":k0=Dk;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":k0=F_;break;case"toggle":case"beforetoggle":k0=Bk}var W$=(U&4)!==0,WU=!W$&&($==="scroll"||$==="scrollend"),l$=W$?K0!==null?K0+"Capture":null:K0;W$=[];for(var z0=o,W0;z0!==null;){var T0=z0;if(W0=T0.stateNode,T0=T0.tag,T0!==5&&T0!==26&&T0!==27||W0===null||l$===null||(T0=MY(z0,l$),T0!=null&&W$.push(cY(z0,T0,W0))),WU)break;z0=z0.return}0<W$.length&&(K0=new k0(K0,O$,null,Q,P0),_0.push({event:K0,listeners:W$}))}}if((U&7)===0){$:{if(K0=$==="mouseover"||$==="pointerover",k0=$==="mouseout"||$==="pointerout",K0&&Q!==sY&&(O$=Q.relatedTarget||Q.fromElement)&&(N0(O$)||O$[vX]))break $;if(k0||K0){if(K0=P0.window===P0?P0:(K0=P0.ownerDocument)?K0.defaultView||K0.parentWindow:window,k0){if(O$=Q.relatedTarget||Q.toElement,k0=o,O$=O$?N0(O$):null,O$!==null&&(WU=u(O$),W$=O$.tag,O$!==WU||W$!==5&&W$!==27&&W$!==6))O$=null}else k0=null,O$=o;if(k0!==O$){if(W$=K_,T0="onMouseLeave",l$="onMouseEnter",z0="mouse",$==="pointerout"||$==="pointerover")W$=F_,T0="onPointerLeave",l$="onPointerEnter",z0="pointer";if(WU=k0==null?K0:x0(k0),W0=O$==null?K0:x0(O$),K0=new W$(T0,z0+"leave",k0,Q,P0),K0.target=WU,K0.relatedTarget=W0,T0=null,N0(P0)===o&&(W$=new W$(l$,z0+"enter",O$,Q,P0),W$.target=W0,W$.relatedTarget=WU,T0=W$),WU=T0,k0&&O$)U:{W$=dq,l$=k0,z0=O$,W0=0;for(T0=l$;T0;T0=W$(T0))W0++;T0=0;for(var m0=z0;m0;m0=W$(m0))T0++;for(;0<W0-T0;)l$=W$(l$),W0--;for(;0<T0-W0;)z0=W$(z0),T0--;for(;W0--;){if(l$===z0||z0!==null&&l$===z0.alternate){W$=l$;break U}l$=W$(l$),z0=W$(z0)}W$=null}else W$=null;k0!==null&&rC(_0,K0,k0,W$,!1),O$!==null&&WU!==null&&rC(_0,WU,O$,W$,!0)}}}$:{if(K0=o?x0(o):window,k0=K0.nodeName&&K0.nodeName.toLowerCase(),k0==="select"||k0==="input"&&K0.type==="file")var V$=DA;else if(OA(K0))if(C_)V$=Iq;else{V$=Uq;var _$=$q}else k0=K0.nodeName,!k0||k0.toLowerCase()!=="input"||K0.type!=="checkbox"&&K0.type!=="radio"?o&&HY(o.elementType)&&(V$=DA):V$=Xq;if(V$&&(V$=V$($,o))){VA(_0,V$,Q,P0);break $}_$&&_$($,K0,o),$==="focusout"&&o&&K0.type==="number"&&o.memoizedProps.value!=null&&B$(K0,"number",K0.value)}switch(_$=o?x0(o):window,$){case"focusin":if(OA(_$)||_$.contentEditable==="true")lJ=_$,NK=o,QG=null;break;case"focusout":QG=NK=lJ=null;break;case"mousedown":qK=!0;break;case"contextmenu":case"mouseup":case"dragend":qK=!1,AA(_0,Q,P0);break;case"selectionchange":if(kk)break;case"keydown":case"keyup":AA(_0,Q,P0)}var M$;if(vK)$:{switch($){case"compositionstart":var H$="onCompositionStart";break $;case"compositionend":H$="onCompositionEnd";break $;case"compositionupdate":H$="onCompositionUpdate";break $}H$=void 0}else mJ?ZA($,Q)&&(H$="onCompositionEnd"):$==="keydown"&&Q.keyCode===H_&&(H$="onCompositionStart");if(H$&&(L_&&Q.locale!=="ko"&&(mJ||H$!=="onCompositionStart"?H$==="onCompositionEnd"&&mJ&&(M$=YA()):(NX=P0,RK=("value"in NX)?NX.value:NX.textContent,mJ=!0)),_$=hZ(o,H$),0<_$.length&&(H$=new W_(H$,$,null,Q,P0),_0.push({event:H$,listeners:_$}),M$?H$.data=M$:(M$=zA(Q),M$!==null&&(H$.data=M$)))),M$=Nk?tN($,Q):aN($,Q))H$=hZ(o,"onBeforeInput"),0<H$.length&&(_$=new Wk("onBeforeInput","beforeinput",null,Q,P0),_0.push({event:_$,listeners:H$}),_$.data=M$);lq(_0,$,o,Q,P0)}oC(_0,U)})}function cY($,U,Q){return{instance:$,listener:U,currentTarget:Q}}function hZ($,U){for(var Q=U+"Capture",W=[];$!==null;){var M=$,_=M.stateNode;if(M=M.tag,M!==5&&M!==26&&M!==27||_===null||(M=MY($,Q),M!=null&&W.unshift(cY($,M,_)),M=MY($,U),M!=null&&W.push(cY($,M,_))),$.tag===3)return W;$=$.return}return[]}function dq($){if($===null)return null;do $=$.return;while($&&$.tag!==5&&$.tag!==27);return $?$:null}function rC($,U,Q,W,M){for(var _=U._reactName,k=[];Q!==null&&Q!==W;){var f=Q,l=f.alternate,o=f.stateNode;if(f=f.tag,l!==null&&l===W)break;f!==5&&f!==26&&f!==27||o===null||(l=o,M?(o=MY(Q,_),o!=null&&k.unshift(cY(Q,o,l))):M||(o=MY(Q,_),o!=null&&k.push(cY(Q,o,l)))),Q=Q.return}k.length!==0&&$.push({event:U,listeners:k})}function c8($,U){nN($,U),$!=="input"&&$!=="textarea"&&$!=="select"||U==null||U.value!==null||V_||(V_=!0,$==="select"&&U.multiple?console.error("`value` prop on `%s` should not be null. Consider using an empty array when `multiple` is set to `true` to clear the component or `undefined` for uncontrolled components.",$):console.error("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",$));var Q={registrationNameDependencies:BI,possibleRegistrationNames:TK};HY($)||typeof U.is==="string"||iN($,U,Q),U.contentEditable&&!U.suppressContentEditableWarning&&U.children!=null&&console.error("A component is `contentEditable` and contains `children` managed by React. It is now your responsibility to guarantee that none of those nodes are unexpectedly modified or duplicated. This is probably not intentional.")}function Z6($,U,Q,W){U!==Q&&(Q=EX(Q),EX(U)!==Q&&(W[$]=U))}function nq($,U,Q){U.forEach(function(W){Q[sC(W)]=W==="style"?m8($):$.getAttribute(W)})}function K4($,U){U===!1?console.error("Expected `%s` listener to be a function, instead got `false`.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.",$,$,$):console.error("Expected `%s` listener to be a function, instead got a value of `%s` type.",$,typeof U)}function tC($,U){return $=$.namespaceURI===Jz||$.namespaceURI===uJ?$.ownerDocument.createElementNS($.namespaceURI,$.tagName):$.ownerDocument.createElement($.tagName),$.innerHTML=U,$.innerHTML}function EX($){return $0($)&&(console.error("The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before using it here.",A0($)),c($)),(typeof $==="string"?$:""+$).replace(Jx,`
176
+ `).replace(Qx,"")}function aC($,U){return U=EX(U),EX($)===U?!0:!1}function YU($,U,Q,W,M,_){switch(Q){case"children":if(typeof W==="string")n2(W,U,!1),U==="body"||U==="textarea"&&W===""||FY($,W);else if(typeof W==="number"||typeof W==="bigint")n2(""+W,U,!1),U!=="body"&&FY($,""+W);break;case"className":E0($,"class",W);break;case"tabIndex":E0($,"tabindex",W);break;case"dir":case"role":case"viewBox":case"width":case"height":E0($,Q,W);break;case"style":XA($,W,_);break;case"data":if(U!=="object"){E0($,"data",W);break}case"src":case"href":if(W===""&&(U!=="a"||Q!=="href")){Q==="src"?console.error('An empty string ("") was passed to the %s attribute. This may cause the browser to download the whole page again over the network. To fix this, either do not render the element at all or pass null to %s instead of an empty string.',Q,Q):console.error('An empty string ("") was passed to the %s attribute. To fix this, either do not render the element at all or pass null to %s instead of an empty string.',Q,Q),$.removeAttribute(Q);break}if(W==null||typeof W==="function"||typeof W==="symbol"||typeof W==="boolean"){$.removeAttribute(Q);break}n(W,Q),W=LY(""+W),$.setAttribute(Q,W);break;case"action":case"formAction":if(W!=null&&(U==="form"?Q==="formAction"?console.error("You can only pass the formAction prop to <input> or <button>. Use the action prop on <form>."):typeof W==="function"&&(M.encType==null&&M.method==null||nz||(nz=!0,console.error("Cannot specify a encType or method for a form that specifies a function as the action. React provides those automatically. They will get overridden.")),M.target==null||dz||(dz=!0,console.error("Cannot specify a target for a form that specifies a function as the action. The function will always be executed in the same window."))):U==="input"||U==="button"?Q==="action"?console.error("You can only pass the action prop to <form>. Use the formAction prop on <input> or <button>."):U!=="input"||M.type==="submit"||M.type==="image"||lz?U!=="button"||M.type==null||M.type==="submit"||lz?typeof W==="function"&&(M.name==null||tE||(tE=!0,console.error('Cannot specify a "name" prop for a button that specifies a function as a formAction. React needs it to encode which action should be invoked. It will get overridden.')),M.formEncType==null&&M.formMethod==null||nz||(nz=!0,console.error("Cannot specify a formEncType or formMethod for a button that specifies a function as a formAction. React provides those automatically. They will get overridden.")),M.formTarget==null||dz||(dz=!0,console.error("Cannot specify a formTarget for a button that specifies a function as a formAction. The function will always be executed in the same window."))):(lz=!0,console.error('A button can only specify a formAction along with type="submit" or no type.')):(lz=!0,console.error('An input can only specify a formAction along with type="submit" or type="image".')):Q==="action"?console.error("You can only pass the action prop to <form>."):console.error("You can only pass the formAction prop to <input> or <button>.")),typeof W==="function"){$.setAttribute(Q,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof _==="function"&&(Q==="formAction"?(U!=="input"&&YU($,U,"name",M.name,M,null),YU($,U,"formEncType",M.formEncType,M,null),YU($,U,"formMethod",M.formMethod,M,null),YU($,U,"formTarget",M.formTarget,M,null)):(YU($,U,"encType",M.encType,M,null),YU($,U,"method",M.method,M,null),YU($,U,"target",M.target,M,null)));if(W==null||typeof W==="symbol"||typeof W==="boolean"){$.removeAttribute(Q);break}n(W,Q),W=LY(""+W),$.setAttribute(Q,W);break;case"onClick":W!=null&&(typeof W!=="function"&&K4(Q,W),$.onclick=w4);break;case"onScroll":W!=null&&(typeof W!=="function"&&K4(Q,W),m$("scroll",$));break;case"onScrollEnd":W!=null&&(typeof W!=="function"&&K4(Q,W),m$("scrollend",$));break;case"dangerouslySetInnerHTML":if(W!=null){if(typeof W!=="object"||!("__html"in W))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://react.dev/link/dangerously-set-inner-html for more information.");if(Q=W.__html,Q!=null){if(M.children!=null)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");$.innerHTML=Q}}break;case"multiple":$.multiple=W&&typeof W!=="function"&&typeof W!=="symbol";break;case"muted":$.muted=W&&typeof W!=="function"&&typeof W!=="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(W==null||typeof W==="function"||typeof W==="boolean"||typeof W==="symbol"){$.removeAttribute("xlink:href");break}n(W,Q),Q=LY(""+W),$.setAttributeNS(dI,"xlink:href",Q);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":W!=null&&typeof W!=="function"&&typeof W!=="symbol"?(n(W,Q),$.setAttribute(Q,""+W)):$.removeAttribute(Q);break;case"inert":W!==""||oz[Q]||(oz[Q]=!0,console.error("Received an empty string for a boolean attribute `%s`. This will treat the attribute as if it were false. Either pass `false` to silence this warning, or pass `true` if you used an empty string in earlier versions of React to indicate this attribute is true.",Q));case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":W&&typeof W!=="function"&&typeof W!=="symbol"?$.setAttribute(Q,""):$.removeAttribute(Q);break;case"capture":case"download":W===!0?$.setAttribute(Q,""):W!==!1&&W!=null&&typeof W!=="function"&&typeof W!=="symbol"?(n(W,Q),$.setAttribute(Q,W)):$.removeAttribute(Q);break;case"cols":case"rows":case"size":case"span":W!=null&&typeof W!=="function"&&typeof W!=="symbol"&&!isNaN(W)&&1<=W?(n(W,Q),$.setAttribute(Q,W)):$.removeAttribute(Q);break;case"rowSpan":case"start":W==null||typeof W==="function"||typeof W==="symbol"||isNaN(W)?$.removeAttribute(Q):(n(W,Q),$.setAttribute(Q,W));break;case"popover":m$("beforetoggle",$),m$("toggle",$),G0($,"popover",W);break;case"xlinkActuate":S0($,dI,"xlink:actuate",W);break;case"xlinkArcrole":S0($,dI,"xlink:arcrole",W);break;case"xlinkRole":S0($,dI,"xlink:role",W);break;case"xlinkShow":S0($,dI,"xlink:show",W);break;case"xlinkTitle":S0($,dI,"xlink:title",W);break;case"xlinkType":S0($,dI,"xlink:type",W);break;case"xmlBase":S0($,EW,"xml:base",W);break;case"xmlLang":S0($,EW,"xml:lang",W);break;case"xmlSpace":S0($,EW,"xml:space",W);break;case"is":_!=null&&console.error('Cannot update the "is" prop after it has been initialized.'),G0($,"is",W);break;case"innerText":case"textContent":break;case"popoverTarget":aE||W==null||typeof W!=="object"||(aE=!0,console.error("The `popoverTarget` prop expects the ID of an Element as a string. Received %s instead.",W));default:!(2<Q.length)||Q[0]!=="o"&&Q[0]!=="O"||Q[1]!=="n"&&Q[1]!=="N"?(Q=IA(Q),G0($,Q,W)):BI.hasOwnProperty(Q)&&W!=null&&typeof W!=="function"&&K4(Q,W)}}function p8($,U,Q,W,M,_){switch(Q){case"style":XA($,W,_);break;case"dangerouslySetInnerHTML":if(W!=null){if(typeof W!=="object"||!("__html"in W))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://react.dev/link/dangerously-set-inner-html for more information.");if(Q=W.__html,Q!=null){if(M.children!=null)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");$.innerHTML=Q}}break;case"children":typeof W==="string"?FY($,W):(typeof W==="number"||typeof W==="bigint")&&FY($,""+W);break;case"onScroll":W!=null&&(typeof W!=="function"&&K4(Q,W),m$("scroll",$));break;case"onScrollEnd":W!=null&&(typeof W!=="function"&&K4(Q,W),m$("scrollend",$));break;case"onClick":W!=null&&(typeof W!=="function"&&K4(Q,W),$.onclick=w4);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(BI.hasOwnProperty(Q))W!=null&&typeof W!=="function"&&K4(Q,W);else $:{if(Q[0]==="o"&&Q[1]==="n"&&(M=Q.endsWith("Capture"),U=Q.slice(2,M?Q.length-7:void 0),_=$[j6]||null,_=_!=null?_[Q]:null,typeof _==="function"&&$.removeEventListener(U,_,M),typeof W==="function")){typeof _!=="function"&&_!==null&&(Q in $?$[Q]=null:$.hasAttribute(Q)&&$.removeAttribute(Q)),$.addEventListener(U,W,M);break $}Q in $?$[Q]=W:W===!0?$.setAttribute(Q,""):G0($,Q,W)}}}function L6($,U,Q){switch(c8(U,Q),U){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":m$("error",$),m$("load",$);var W=!1,M=!1,_;for(_ in Q)if(Q.hasOwnProperty(_)){var k=Q[_];if(k!=null)switch(_){case"src":W=!0;break;case"srcSet":M=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(U+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:YU($,U,_,k,Q,null)}}M&&YU($,U,"srcSet",Q.srcSet,Q,null),W&&YU($,U,"src",Q.src,Q,null);return;case"input":VU("input",Q),m$("invalid",$);var f=_=k=M=null,l=null,o=null;for(W in Q)if(Q.hasOwnProperty(W)){var P0=Q[W];if(P0!=null)switch(W){case"name":M=P0;break;case"type":k=P0;break;case"checked":l=P0;break;case"defaultChecked":o=P0;break;case"value":_=P0;break;case"defaultValue":f=P0;break;case"children":case"dangerouslySetInnerHTML":if(P0!=null)throw Error(U+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:YU($,U,W,P0,Q,null)}}I$($,Q),_U($,_,f,l,o,k,M,!1);return;case"select":VU("select",Q),m$("invalid",$),W=k=_=null;for(M in Q)if(Q.hasOwnProperty(M)&&(f=Q[M],f!=null))switch(M){case"value":_=f;break;case"defaultValue":k=f;break;case"multiple":W=f;default:YU($,U,M,f,Q,null)}bU($,Q),U=_,Q=k,$.multiple=!!W,U!=null?d$($,!!W,U,!1):Q!=null&&d$($,!!W,Q,!0);return;case"textarea":VU("textarea",Q),m$("invalid",$),_=M=W=null;for(k in Q)if(Q.hasOwnProperty(k)&&(f=Q[k],f!=null))switch(k){case"value":W=f;break;case"defaultValue":M=f;break;case"children":_=f;break;case"dangerouslySetInnerHTML":if(f!=null)throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");break;default:YU($,U,k,f,Q,null)}uU($,Q),cU($,W,M,_);return;case"option":S$($,Q);for(l in Q)if(Q.hasOwnProperty(l)&&(W=Q[l],W!=null))switch(l){case"selected":$.selected=W&&typeof W!=="function"&&typeof W!=="symbol";break;default:YU($,U,l,W,Q,null)}return;case"dialog":m$("beforetoggle",$),m$("toggle",$),m$("cancel",$),m$("close",$);break;case"iframe":case"object":m$("load",$);break;case"video":case"audio":for(W=0;W<wG.length;W++)m$(wG[W],$);break;case"image":m$("error",$),m$("load",$);break;case"details":m$("toggle",$);break;case"embed":case"source":case"link":m$("error",$),m$("load",$);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(o in Q)if(Q.hasOwnProperty(o)&&(W=Q[o],W!=null))switch(o){case"children":case"dangerouslySetInnerHTML":throw Error(U+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:YU($,U,o,W,Q,null)}return;default:if(HY(U)){for(P0 in Q)Q.hasOwnProperty(P0)&&(W=Q[P0],W!==void 0&&p8($,U,P0,W,Q,void 0));return}}for(f in Q)Q.hasOwnProperty(f)&&(W=Q[f],W!=null&&YU($,U,f,W,Q,null))}function oq($,U,Q,W){switch(c8(U,W),U){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var M=null,_=null,k=null,f=null,l=null,o=null,P0=null;for(k0 in Q){var _0=Q[k0];if(Q.hasOwnProperty(k0)&&_0!=null)switch(k0){case"checked":break;case"value":break;case"defaultValue":l=_0;default:W.hasOwnProperty(k0)||YU($,U,k0,null,W,_0)}}for(var K0 in W){var k0=W[K0];if(_0=Q[K0],W.hasOwnProperty(K0)&&(k0!=null||_0!=null))switch(K0){case"type":_=k0;break;case"name":M=k0;break;case"checked":o=k0;break;case"defaultChecked":P0=k0;break;case"value":k=k0;break;case"defaultValue":f=k0;break;case"children":case"dangerouslySetInnerHTML":if(k0!=null)throw Error(U+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:k0!==_0&&YU($,U,K0,k0,W,_0)}}U=Q.type==="checkbox"||Q.type==="radio"?Q.checked!=null:Q.value!=null,W=W.type==="checkbox"||W.type==="radio"?W.checked!=null:W.value!=null,U||!W||rE||(console.error("A component is changing an uncontrolled input to be controlled. This is likely caused by the value changing from undefined to a defined value, which should not happen. Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://react.dev/link/controlled-components"),rE=!0),!U||W||iE||(console.error("A component is changing a controlled input to be uncontrolled. This is likely caused by the value changing from a defined to undefined, which should not happen. Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://react.dev/link/controlled-components"),iE=!0),e0($,k,f,l,o,P0,_,M);return;case"select":k0=k=f=K0=null;for(_ in Q)if(l=Q[_],Q.hasOwnProperty(_)&&l!=null)switch(_){case"value":break;case"multiple":k0=l;default:W.hasOwnProperty(_)||YU($,U,_,null,W,l)}for(M in W)if(_=W[M],l=Q[M],W.hasOwnProperty(M)&&(_!=null||l!=null))switch(M){case"value":K0=_;break;case"defaultValue":f=_;break;case"multiple":k=_;default:_!==l&&YU($,U,M,_,W,l)}W=f,U=k,Q=k0,K0!=null?d$($,!!U,K0,!1):!!Q!==!!U&&(W!=null?d$($,!!U,W,!0):d$($,!!U,U?[]:"",!1));return;case"textarea":k0=K0=null;for(f in Q)if(M=Q[f],Q.hasOwnProperty(f)&&M!=null&&!W.hasOwnProperty(f))switch(f){case"value":break;case"children":break;default:YU($,U,f,null,W,M)}for(k in W)if(M=W[k],_=Q[k],W.hasOwnProperty(k)&&(M!=null||_!=null))switch(k){case"value":K0=M;break;case"defaultValue":k0=M;break;case"children":break;case"dangerouslySetInnerHTML":if(M!=null)throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");break;default:M!==_&&YU($,U,k,M,W,_)}hU($,K0,k0);return;case"option":for(var O$ in Q)if(K0=Q[O$],Q.hasOwnProperty(O$)&&K0!=null&&!W.hasOwnProperty(O$))switch(O$){case"selected":$.selected=!1;break;default:YU($,U,O$,null,W,K0)}for(l in W)if(K0=W[l],k0=Q[l],W.hasOwnProperty(l)&&K0!==k0&&(K0!=null||k0!=null))switch(l){case"selected":$.selected=K0&&typeof K0!=="function"&&typeof K0!=="symbol";break;default:YU($,U,l,K0,W,k0)}return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var W$ in Q)K0=Q[W$],Q.hasOwnProperty(W$)&&K0!=null&&!W.hasOwnProperty(W$)&&YU($,U,W$,null,W,K0);for(o in W)if(K0=W[o],k0=Q[o],W.hasOwnProperty(o)&&K0!==k0&&(K0!=null||k0!=null))switch(o){case"children":case"dangerouslySetInnerHTML":if(K0!=null)throw Error(U+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:YU($,U,o,K0,W,k0)}return;default:if(HY(U)){for(var WU in Q)K0=Q[WU],Q.hasOwnProperty(WU)&&K0!==void 0&&!W.hasOwnProperty(WU)&&p8($,U,WU,void 0,W,K0);for(P0 in W)K0=W[P0],k0=Q[P0],!W.hasOwnProperty(P0)||K0===k0||K0===void 0&&k0===void 0||p8($,U,P0,K0,W,k0);return}}for(var l$ in Q)K0=Q[l$],Q.hasOwnProperty(l$)&&K0!=null&&!W.hasOwnProperty(l$)&&YU($,U,l$,null,W,K0);for(_0 in W)K0=W[_0],k0=Q[_0],!W.hasOwnProperty(_0)||K0===k0||K0==null&&k0==null||YU($,U,_0,K0,W,k0)}function sC($){switch($){case"class":return"className";case"for":return"htmlFor";default:return $}}function m8($){var U={};$=$.style;for(var Q=0;Q<$.length;Q++){var W=$[Q];U[W]=$.getPropertyValue(W)}return U}function eC($,U,Q){if(U!=null&&typeof U!=="object")console.error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.");else{var W,M=W="",_;for(_ in U)if(U.hasOwnProperty(_)){var k=U[_];k!=null&&typeof k!=="boolean"&&k!==""&&(_.indexOf("--")===0?(H0(k,_),W+=M+_+":"+(""+k).trim()):typeof k!=="number"||k===0||z_.has(_)?(H0(k,_),W+=M+_.replace(J_,"-$1").toLowerCase().replace(Q_,"-ms-")+":"+(""+k).trim()):W+=M+_.replace(J_,"-$1").toLowerCase().replace(Q_,"-ms-")+":"+k+"px",M=";")}W=W||null,U=$.getAttribute("style"),U!==W&&(W=EX(W),EX(U)!==W&&(Q.style=m8($)))}}function P1($,U,Q,W,M,_){if(M.delete(Q),$=$.getAttribute(Q),$===null)switch(typeof W){case"undefined":case"function":case"symbol":case"boolean":return}else if(W!=null)switch(typeof W){case"function":case"symbol":case"boolean":break;default:if(n(W,U),$===""+W)return}Z6(U,$,W,_)}function $P($,U,Q,W,M,_){if(M.delete(Q),$=$.getAttribute(Q),$===null){switch(typeof W){case"function":case"symbol":return}if(!W)return}else switch(typeof W){case"function":case"symbol":break;default:if(W)return}Z6(U,$,W,_)}function l8($,U,Q,W,M,_){if(M.delete(Q),$=$.getAttribute(Q),$===null)switch(typeof W){case"undefined":case"function":case"symbol":return}else if(W!=null)switch(typeof W){case"function":case"symbol":break;default:if(n(W,Q),$===""+W)return}Z6(U,$,W,_)}function UP($,U,Q,W,M,_){if(M.delete(Q),$=$.getAttribute(Q),$===null)switch(typeof W){case"undefined":case"function":case"symbol":case"boolean":return;default:if(isNaN(W))return}else if(W!=null)switch(typeof W){case"function":case"symbol":case"boolean":break;default:if(!isNaN(W)&&(n(W,U),$===""+W))return}Z6(U,$,W,_)}function d8($,U,Q,W,M,_){if(M.delete(Q),$=$.getAttribute(Q),$===null)switch(typeof W){case"undefined":case"function":case"symbol":case"boolean":return}else if(W!=null)switch(typeof W){case"function":case"symbol":case"boolean":break;default:if(n(W,U),Q=LY(""+W),$===Q)return}Z6(U,$,W,_)}function XP($,U,Q,W){for(var M={},_=new Set,k=$.attributes,f=0;f<k.length;f++)switch(k[f].name.toLowerCase()){case"value":break;case"checked":break;case"selected":break;default:_.add(k[f].name)}if(HY(U)){for(var l in Q)if(Q.hasOwnProperty(l)){var o=Q[l];if(o!=null){if(BI.hasOwnProperty(l))typeof o!=="function"&&K4(l,o);else if(Q.suppressHydrationWarning!==!0)switch(l){case"children":typeof o!=="string"&&typeof o!=="number"||Z6("children",$.textContent,o,M);continue;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":continue;case"dangerouslySetInnerHTML":k=$.innerHTML,o=o?o.__html:void 0,o!=null&&(o=tC($,o),Z6(l,k,o,M));continue;case"style":_.delete(l),eC($,o,M);continue;case"offsetParent":case"offsetTop":case"offsetLeft":case"offsetWidth":case"offsetHeight":case"isContentEditable":case"outerText":case"outerHTML":_.delete(l.toLowerCase()),console.error("Assignment to read-only property will result in a no-op: `%s`",l);continue;case"className":_.delete("class"),k=i($,"class",o),Z6("className",k,o,M);continue;default:W.context===IX&&U!=="svg"&&U!=="math"?_.delete(l.toLowerCase()):_.delete(l),k=i($,l,o),Z6(l,k,o,M)}}}}else for(o in Q)if(Q.hasOwnProperty(o)&&(l=Q[o],l!=null)){if(BI.hasOwnProperty(o))typeof l!=="function"&&K4(o,l);else if(Q.suppressHydrationWarning!==!0)switch(o){case"children":typeof l!=="string"&&typeof l!=="number"||Z6("children",$.textContent,l,M);continue;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"value":case"checked":case"selected":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":continue;case"dangerouslySetInnerHTML":k=$.innerHTML,l=l?l.__html:void 0,l!=null&&(l=tC($,l),k!==l&&(M[o]={__html:k}));continue;case"className":P1($,o,"class",l,_,M);continue;case"tabIndex":P1($,o,"tabindex",l,_,M);continue;case"style":_.delete(o),eC($,l,M);continue;case"multiple":_.delete(o),Z6(o,$.multiple,l,M);continue;case"muted":_.delete(o),Z6(o,$.muted,l,M);continue;case"autoFocus":_.delete("autofocus"),Z6(o,$.autofocus,l,M);continue;case"data":if(U!=="object"){_.delete(o),k=$.getAttribute("data"),Z6(o,k,l,M);continue}case"src":case"href":if(!(l!==""||U==="a"&&o==="href"||U==="object"&&o==="data")){o==="src"?console.error('An empty string ("") was passed to the %s attribute. This may cause the browser to download the whole page again over the network. To fix this, either do not render the element at all or pass null to %s instead of an empty string.',o,o):console.error('An empty string ("") was passed to the %s attribute. To fix this, either do not render the element at all or pass null to %s instead of an empty string.',o,o);continue}d8($,o,o,l,_,M);continue;case"action":case"formAction":if(k=$.getAttribute(o),typeof l==="function"){_.delete(o.toLowerCase()),o==="formAction"?(_.delete("name"),_.delete("formenctype"),_.delete("formmethod"),_.delete("formtarget")):(_.delete("enctype"),_.delete("method"),_.delete("target"));continue}else if(k===Yx){_.delete(o.toLowerCase()),Z6(o,"function",l,M);continue}d8($,o,o.toLowerCase(),l,_,M);continue;case"xlinkHref":d8($,o,"xlink:href",l,_,M);continue;case"contentEditable":l8($,o,"contenteditable",l,_,M);continue;case"spellCheck":l8($,o,"spellcheck",l,_,M);continue;case"draggable":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":l8($,o,o,l,_,M);continue;case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":$P($,o,o.toLowerCase(),l,_,M);continue;case"capture":case"download":$:{f=$;var P0=k=o,_0=M;if(_.delete(P0),f=f.getAttribute(P0),f===null)switch(typeof l){case"undefined":case"function":case"symbol":break $;default:if(l===!1)break $}else if(l!=null)switch(typeof l){case"function":case"symbol":break;case"boolean":if(l===!0&&f==="")break $;break;default:if(n(l,k),f===""+l)break $}Z6(k,f,l,_0)}continue;case"cols":case"rows":case"size":case"span":$:{if(f=$,P0=k=o,_0=M,_.delete(P0),f=f.getAttribute(P0),f===null)switch(typeof l){case"undefined":case"function":case"symbol":case"boolean":break $;default:if(isNaN(l)||1>l)break $}else if(l!=null)switch(typeof l){case"function":case"symbol":case"boolean":break;default:if(!(isNaN(l)||1>l)&&(n(l,k),f===""+l))break $}Z6(k,f,l,_0)}continue;case"rowSpan":UP($,o,"rowspan",l,_,M);continue;case"start":UP($,o,o,l,_,M);continue;case"xHeight":P1($,o,"x-height",l,_,M);continue;case"xlinkActuate":P1($,o,"xlink:actuate",l,_,M);continue;case"xlinkArcrole":P1($,o,"xlink:arcrole",l,_,M);continue;case"xlinkRole":P1($,o,"xlink:role",l,_,M);continue;case"xlinkShow":P1($,o,"xlink:show",l,_,M);continue;case"xlinkTitle":P1($,o,"xlink:title",l,_,M);continue;case"xlinkType":P1($,o,"xlink:type",l,_,M);continue;case"xmlBase":P1($,o,"xml:base",l,_,M);continue;case"xmlLang":P1($,o,"xml:lang",l,_,M);continue;case"xmlSpace":P1($,o,"xml:space",l,_,M);continue;case"inert":l!==""||oz[o]||(oz[o]=!0,console.error("Received an empty string for a boolean attribute `%s`. This will treat the attribute as if it were false. Either pass `false` to silence this warning, or pass `true` if you used an empty string in earlier versions of React to indicate this attribute is true.",o)),$P($,o,o,l,_,M);continue;default:if(!(2<o.length)||o[0]!=="o"&&o[0]!=="O"||o[1]!=="n"&&o[1]!=="N"){f=IA(o),k=!1,W.context===IX&&U!=="svg"&&U!=="math"?_.delete(f.toLowerCase()):(P0=o.toLowerCase(),P0=Qz.hasOwnProperty(P0)?Qz[P0]||null:null,P0!==null&&P0!==o&&(k=!0,_.delete(P0)),_.delete(f));$:if(P0=$,_0=f,f=l,a0(_0))if(P0.hasAttribute(_0))P0=P0.getAttribute(_0),n(f,_0),f=P0===""+f?f:P0;else{switch(typeof f){case"function":case"symbol":break $;case"boolean":if(P0=_0.toLowerCase().slice(0,5),P0!=="data-"&&P0!=="aria-")break $}f=f===void 0?void 0:null}else f=void 0;k||Z6(o,f,l,M)}}}return 0<_.size&&Q.suppressHydrationWarning!==!0&&nq($,_,M),Object.keys(M).length===0?null:M}function iq($,U){switch($.length){case 0:return"";case 1:return $[0];case 2:return $[0]+" "+U+" "+$[1];default:return $.slice(0,-1).join(", ")+", "+U+" "+$[$.length-1]}}function IP($){switch($){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function rq(){if(typeof performance.getEntriesByType==="function"){for(var $=0,U=0,Q=performance.getEntriesByType("resource"),W=0;W<Q.length;W++){var M=Q[W],_=M.transferSize,k=M.initiatorType,f=M.duration;if(_&&f&&IP(k)){k=0,f=M.responseEnd;for(W+=1;W<Q.length;W++){var l=Q[W],o=l.startTime;if(o>f)break;var{transferSize:P0,initiatorType:_0}=l;P0&&IP(_0)&&(l=l.responseEnd,k+=P0*(l<f?1:(f-o)/(l-o)))}if(--W,U+=8*(_+k)/(M.duration/1000),$++,10<$)break}}if(0<$)return U/$/1e6}return navigator.connection&&($=navigator.connection.downlink,typeof $==="number")?$:5}function cZ($){return $.nodeType===9?$:$.ownerDocument}function JP($){switch($){case uJ:return FQ;case Jz:return rz;default:return IX}}function QP($,U){if($===IX)switch(U){case"svg":return FQ;case"math":return rz;default:return IX}return $===FQ&&U==="foreignObject"?IX:$}function n8($,U){return $==="textarea"||$==="noscript"||typeof U.children==="string"||typeof U.children==="number"||typeof U.children==="bigint"||typeof U.dangerouslySetInnerHTML==="object"&&U.dangerouslySetInnerHTML!==null&&U.dangerouslySetInnerHTML.__html!=null}function tq(){var $=window.event;if($&&$.type==="popstate"){if($===BW)return!1;return BW=$,!0}return BW=null,!1}function pY(){var $=window.event;return $&&$!==bG?$.type:null}function mY(){var $=window.event;return $&&$!==bG?$.timeStamp:-1.1}function aq($){setTimeout(function(){throw $})}function sq($,U,Q){switch(U){case"button":case"input":case"select":case"textarea":Q.autoFocus&&$.focus();break;case"img":Q.src?$.src=Q.src:Q.srcSet&&($.srcset=Q.srcSet)}}function eq(){}function $3($,U,Q,W){oq($,U,Q,W),$[j6]=W}function YP($){FY($,"")}function U3($,U,Q){$.nodeValue=Q}function GP($){if(!$.__reactWarnedAboutChildrenConflict){var U=$[j6]||null;if(U!==null){var Q=F$($);Q!==null&&(typeof U.children==="string"||typeof U.children==="number"?($.__reactWarnedAboutChildrenConflict=!0,J0(Q,function(){console.error('Cannot use a ref on a React element as a container to `createRoot` or `createPortal` if that element also sets "children" text content using React. It should be a leaf with no children. Otherwise it\'s ambiguous which children should be used.')})):U.dangerouslySetInnerHTML!=null&&($.__reactWarnedAboutChildrenConflict=!0,J0(Q,function(){console.error('Cannot use a ref on a React element as a container to `createRoot` or `createPortal` if that element also sets "dangerouslySetInnerHTML" using React. It should be a leaf with no children. Otherwise it\'s ambiguous which children should be used.')})))}}}function RX($){return $==="head"}function X3($,U){$.removeChild(U)}function I3($,U){($.nodeType===9?$.body:$.nodeName==="HTML"?$.ownerDocument.body:$).removeChild(U)}function ZP($,U){var Q=U,W=0;do{var M=Q.nextSibling;if($.removeChild(Q),M&&M.nodeType===8)if(Q=M.data,Q===yG||Q===iz){if(W===0){$.removeChild(M),xJ(U);return}W--}else if(Q===fG||Q===rX||Q===oI||Q===WQ||Q===nI)W++;else if(Q===Zx)lY($.ownerDocument.documentElement);else if(Q===Ox){Q=$.ownerDocument.head,lY(Q);for(var _=Q.firstChild;_;){var{nextSibling:k,nodeName:f}=_;_[aY]||f==="SCRIPT"||f==="STYLE"||f==="LINK"&&_.rel.toLowerCase()==="stylesheet"||Q.removeChild(_),_=k}}else Q===zx&&lY($.ownerDocument.body);Q=M}while(Q);xJ(U)}function zP($,U){var Q=$;$=0;do{var W=Q.nextSibling;if(Q.nodeType===1?U?(Q._stashedDisplay=Q.style.display,Q.style.display="none"):(Q.style.display=Q._stashedDisplay||"",Q.getAttribute("style")===""&&Q.removeAttribute("style")):Q.nodeType===3&&(U?(Q._stashedText=Q.nodeValue,Q.nodeValue=""):Q.nodeValue=Q._stashedText||""),W&&W.nodeType===8)if(Q=W.data,Q===yG)if($===0)break;else $--;else Q!==fG&&Q!==rX&&Q!==oI&&Q!==WQ||$++;Q=W}while(Q)}function J3($){zP($,!0)}function Q3($){$=$.style,typeof $.setProperty==="function"?$.setProperty("display","none","important"):$.display="none"}function Y3($){$.nodeValue=""}function G3($){zP($,!1)}function Z3($,U){U=U[Vx],U=U!==void 0&&U!==null&&U.hasOwnProperty("display")?U.display:null,$.style.display=U==null||typeof U==="boolean"?"":(""+U).trim()}function z3($,U){$.nodeValue=U}function o8($){var U=$.firstChild;U&&U.nodeType===10&&(U=U.nextSibling);for(;U;){var Q=U;switch(U=U.nextSibling,Q.nodeName){case"HTML":case"HEAD":case"BODY":o8(Q),j0(Q);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(Q.rel.toLowerCase()==="stylesheet")continue}$.removeChild(Q)}}function O3($,U,Q,W){for(;$.nodeType===1;){var M=Q;if($.nodeName.toLowerCase()!==U.toLowerCase()){if(!W&&($.nodeName!=="INPUT"||$.type!=="hidden"))break}else if(!W)if(U==="input"&&$.type==="hidden"){n(M.name,"name");var _=M.name==null?null:""+M.name;if(M.type==="hidden"&&$.getAttribute("name")===_)return $}else return $;else if(!$[aY])switch(U){case"meta":if(!$.hasAttribute("itemprop"))break;return $;case"link":if(_=$.getAttribute("rel"),_==="stylesheet"&&$.hasAttribute("data-precedence"))break;else if(_!==M.rel||$.getAttribute("href")!==(M.href==null||M.href===""?null:M.href)||$.getAttribute("crossorigin")!==(M.crossOrigin==null?null:M.crossOrigin)||$.getAttribute("title")!==(M.title==null?null:M.title))break;return $;case"style":if($.hasAttribute("data-precedence"))break;return $;case"script":if(_=$.getAttribute("src"),(_!==(M.src==null?null:M.src)||$.getAttribute("type")!==(M.type==null?null:M.type)||$.getAttribute("crossorigin")!==(M.crossOrigin==null?null:M.crossOrigin))&&_&&$.hasAttribute("async")&&!$.hasAttribute("itemprop"))break;return $;default:return $}if($=Y1($.nextSibling),$===null)break}return null}function V3($,U,Q){if(U==="")return null;for(;$.nodeType!==3;){if(($.nodeType!==1||$.nodeName!=="INPUT"||$.type!=="hidden")&&!Q)return null;if($=Y1($.nextSibling),$===null)return null}return $}function OP($,U){for(;$.nodeType!==8;){if(($.nodeType!==1||$.nodeName!=="INPUT"||$.type!=="hidden")&&!U)return null;if($=Y1($.nextSibling),$===null)return null}return $}function i8($){return $.data===rX||$.data===oI}function r8($){return $.data===WQ||$.data===rX&&$.ownerDocument.readyState!==eE}function D3($,U){var Q=$.ownerDocument;if($.data===oI)$._reactRetry=U;else if($.data!==rX||Q.readyState!==eE)U();else{var W=function(){U(),Q.removeEventListener("DOMContentLoaded",W)};Q.addEventListener("DOMContentLoaded",W),$._reactRetry=W}}function Y1($){for(;$!=null;$=$.nextSibling){var U=$.nodeType;if(U===1||U===3)break;if(U===8){if(U=$.data,U===fG||U===WQ||U===rX||U===oI||U===nI||U===RW||U===sE)break;if(U===yG||U===iz)return null}}return $}function VP($){if($.nodeType===1){for(var U=$.nodeName.toLowerCase(),Q={},W=$.attributes,M=0;M<W.length;M++){var _=W[M];Q[sC(_.name)]=_.name.toLowerCase()==="style"?m8($):_.value}return{type:U,props:Q}}return $.nodeType===8?$.data===nI?{type:"Activity",props:{}}:{type:"Suspense",props:{}}:$.nodeValue}function DP($,U,Q){return Q===null||Q[Gx]!==!0?($.nodeValue===U?$=null:(U=EX(U),$=EX($.nodeValue)===U?null:$.nodeValue),$):null}function t8($){$=$.nextSibling;for(var U=0;$;){if($.nodeType===8){var Q=$.data;if(Q===yG||Q===iz){if(U===0)return Y1($.nextSibling);U--}else Q!==fG&&Q!==WQ&&Q!==rX&&Q!==oI&&Q!==nI||U++}$=$.nextSibling}return null}function KP($){$=$.previousSibling;for(var U=0;$;){if($.nodeType===8){var Q=$.data;if(Q===fG||Q===WQ||Q===rX||Q===oI||Q===nI){if(U===0)return $;U--}else Q!==yG&&Q!==iz||U++}$=$.previousSibling}return null}function K3($){xJ($)}function W3($){xJ($)}function F3($){xJ($)}function WP($,U,Q,W,M){switch(M&&GD($,W.ancestorInfo),U=cZ(Q),$){case"html":if($=U.documentElement,!$)throw Error("React expected an <html> element (document.documentElement) to exist in the Document but one was not found. React never removes the documentElement for any Document it renders into so the cause is likely in some other script running on this page.");return $;case"head":if($=U.head,!$)throw Error("React expected a <head> element (document.head) to exist in the Document but one was not found. React never removes the head for any Document it renders into so the cause is likely in some other script running on this page.");return $;case"body":if($=U.body,!$)throw Error("React expected a <body> element (document.body) to exist in the Document but one was not found. React never removes the body for any Document it renders into so the cause is likely in some other script running on this page.");return $;default:throw Error("resolveSingletonInstance was called with an element type that is not supported. This is a bug in React.")}}function H3($,U,Q,W){if(!Q[vX]&&F$(Q)){var M=Q.tagName.toLowerCase();console.error("You are mounting a new %s component when a previous one has not first unmounted. It is an error to render more than one %s component at a time and attributes and children of these components will likely fail in unpredictable ways. Please only render a single instance of <%s> and if you need to mount a new one, ensure any previous ones have unmounted first.",M,M,M)}switch($){case"html":case"head":case"body":break;default:console.error("acquireSingletonInstance was called with an element type that is not supported. This is a bug in React.")}for(M=Q.attributes;M.length;)Q.removeAttributeNode(M[0]);L6(Q,$,U),Q[M6]=W,Q[j6]=U}function lY($){for(var U=$.attributes;U.length;)$.removeAttributeNode(U[0]);j0($)}function pZ($){return typeof $.getRootNode==="function"?$.getRootNode():$.nodeType===9?$:$.ownerDocument}function FP($,U,Q){var W=HQ;if(W&&typeof U==="string"&&U){var M=e$(U);M='link[rel="'+$+'"][href="'+M+'"]',typeof Q==="string"&&(M+='[crossorigin="'+Q+'"]'),QR.has(M)||(QR.add(M),$={rel:$,crossOrigin:Q,href:U},W.querySelector(M)===null&&(U=W.createElement("link"),L6(U,"link",$),D$(U),W.head.appendChild(U)))}}function HP($,U,Q,W){var M=(M=jX.current)?pZ(M):null;if(!M)throw Error('"resourceRoot" was expected to exist. This is a bug in React.');switch($){case"meta":case"title":return null;case"style":return typeof Q.precedence==="string"&&typeof Q.href==="string"?(Q=qJ(Q.href),U=f0(M).hoistableStyles,W=U.get(Q),W||(W={type:"style",instance:null,count:0,state:null},U.set(Q,W)),W):{type:"void",instance:null,count:0,state:null};case"link":if(Q.rel==="stylesheet"&&typeof Q.href==="string"&&typeof Q.precedence==="string"){$=qJ(Q.href);var _=f0(M).hoistableStyles,k=_.get($);if(!k&&(M=M.ownerDocument||M,k={type:"stylesheet",instance:null,count:0,state:{loading:rI,preload:null}},_.set($,k),(_=M.querySelector(dY($)))&&!_._p&&(k.instance=_,k.state.loading=uG|x1),!g1.has($))){var f={rel:"preload",as:"style",href:Q.href,crossOrigin:Q.crossOrigin,integrity:Q.integrity,media:Q.media,hrefLang:Q.hrefLang,referrerPolicy:Q.referrerPolicy};g1.set($,f),_||L3(M,$,f,k.state)}if(U&&W===null)throw Q=`
177
+
178
+ - `+mZ(U)+`
179
+ + `+mZ(Q),Error("Expected <link> not to update to be updated to a stylesheet with precedence. Check the `rel`, `href`, and `precedence` props of this component. Alternatively, check whether two different <link> components render in the same slot or share the same key."+Q);return k}if(U&&W!==null)throw Q=`
180
+
181
+ - `+mZ(U)+`
182
+ + `+mZ(Q),Error("Expected stylesheet with precedence to not be updated to a different kind of <link>. Check the `rel`, `href`, and `precedence` props of this component. Alternatively, check whether two different <link> components render in the same slot or share the same key."+Q);return null;case"script":return U=Q.async,Q=Q.src,typeof Q==="string"&&U&&typeof U!=="function"&&typeof U!=="symbol"?(Q=kJ(Q),U=f0(M).hoistableScripts,W=U.get(Q),W||(W={type:"script",instance:null,count:0,state:null},U.set(Q,W)),W):{type:"void",instance:null,count:0,state:null};default:throw Error('getResource encountered a type it did not expect: "'+$+'". this is a bug in React.')}}function mZ($){var U=0,Q="<link";return typeof $.rel==="string"?(U++,Q+=' rel="'+$.rel+'"'):p1.call($,"rel")&&(U++,Q+=' rel="'+($.rel===null?"null":"invalid type "+typeof $.rel)+'"'),typeof $.href==="string"?(U++,Q+=' href="'+$.href+'"'):p1.call($,"href")&&(U++,Q+=' href="'+($.href===null?"null":"invalid type "+typeof $.href)+'"'),typeof $.precedence==="string"?(U++,Q+=' precedence="'+$.precedence+'"'):p1.call($,"precedence")&&(U++,Q+=" precedence={"+($.precedence===null?"null":"invalid type "+typeof $.precedence)+"}"),Object.getOwnPropertyNames($).length>U&&(Q+=" ..."),Q+" />"}function qJ($){return'href="'+e$($)+'"'}function dY($){return'link[rel="stylesheet"]['+$+"]"}function LP($){return y$({},$,{"data-precedence":$.precedence,precedence:null})}function L3($,U,Q,W){$.querySelector('link[rel="preload"][as="style"]['+U+"]")?W.loading=uG:(U=$.createElement("link"),W.preload=U,U.addEventListener("load",function(){return W.loading|=uG}),U.addEventListener("error",function(){return W.loading|=IR}),L6(U,"link",Q),D$(U),$.head.appendChild(U))}function kJ($){return'[src="'+e$($)+'"]'}function nY($){return"script[async]"+$}function MP($,U,Q){if(U.count++,U.instance===null)switch(U.type){case"style":var W=$.querySelector('style[data-href~="'+e$(Q.href)+'"]');if(W)return U.instance=W,D$(W),W;var M=y$({},Q,{"data-href":Q.href,"data-precedence":Q.precedence,href:null,precedence:null});return W=($.ownerDocument||$).createElement("style"),D$(W),L6(W,"style",M),lZ(W,Q.precedence,$),U.instance=W;case"stylesheet":M=qJ(Q.href);var _=$.querySelector(dY(M));if(_)return U.state.loading|=x1,U.instance=_,D$(_),_;W=LP(Q),(M=g1.get(M))&&a8(W,M),_=($.ownerDocument||$).createElement("link"),D$(_);var k=_;return k._p=new Promise(function(f,l){k.onload=f,k.onerror=l}),L6(_,"link",W),U.state.loading|=x1,lZ(_,Q.precedence,$),U.instance=_;case"script":if(_=kJ(Q.src),M=$.querySelector(nY(_)))return U.instance=M,D$(M),M;if(W=Q,M=g1.get(_))W=y$({},Q),s8(W,M);return $=$.ownerDocument||$,M=$.createElement("script"),D$(M),L6(M,"link",W),$.head.appendChild(M),U.instance=M;case"void":return null;default:throw Error('acquireResource encountered a resource type it did not expect: "'+U.type+'". this is a bug in React.')}else U.type==="stylesheet"&&(U.state.loading&x1)===rI&&(W=U.instance,U.state.loading|=x1,lZ(W,Q.precedence,$));return U.instance}function lZ($,U,Q){for(var W=Q.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),M=W.length?W[W.length-1]:null,_=M,k=0;k<W.length;k++){var f=W[k];if(f.dataset.precedence===U)_=f;else if(_!==M)break}_?_.parentNode.insertBefore($,_.nextSibling):(U=Q.nodeType===9?Q.head:Q,U.insertBefore($,U.firstChild))}function a8($,U){$.crossOrigin==null&&($.crossOrigin=U.crossOrigin),$.referrerPolicy==null&&($.referrerPolicy=U.referrerPolicy),$.title==null&&($.title=U.title)}function s8($,U){$.crossOrigin==null&&($.crossOrigin=U.crossOrigin),$.referrerPolicy==null&&($.referrerPolicy=U.referrerPolicy),$.integrity==null&&($.integrity=U.integrity)}function AP($,U,Q){if(tz===null){var W=new Map,M=tz=new Map;M.set(Q,W)}else M=tz,W=M.get(Q),W||(W=new Map,M.set(Q,W));if(W.has($))return W;W.set($,null),Q=Q.getElementsByTagName($);for(M=0;M<Q.length;M++){var _=Q[M];if(!(_[aY]||_[M6]||$==="link"&&_.getAttribute("rel")==="stylesheet")&&_.namespaceURI!==uJ){var k=_.getAttribute(U)||"";k=$+k;var f=W.get(k);f?f.push(_):W.set(k,[_])}}return W}function TP($,U,Q){$=$.ownerDocument||$,$.head.insertBefore(Q,U==="title"?$.querySelector("head > title"):null)}function M3($,U,Q){var W=!Q.ancestorInfo.containerTagInScope;if(Q.context===FQ||U.itemProp!=null)return!W||U.itemProp==null||$!=="meta"&&$!=="title"&&$!=="style"&&$!=="link"&&$!=="script"||console.error("Cannot render a <%s> outside the main document if it has an `itemProp` prop. `itemProp` suggests the tag belongs to an `itemScope` which can appear anywhere in the DOM. If you were intending for React to hoist this <%s> remove the `itemProp` prop. Otherwise, try moving this tag into the <head> or <body> of the Document.",$,$),!1;switch($){case"meta":case"title":return!0;case"style":if(typeof U.precedence!=="string"||typeof U.href!=="string"||U.href===""){W&&console.error('Cannot render a <style> outside the main document without knowing its precedence and a unique href key. React can hoist and deduplicate <style> tags if you provide a `precedence` prop along with an `href` prop that does not conflict with the `href` values used in any other hoisted <style> or <link rel="stylesheet" ...> tags. Note that hoisting <style> tags is considered an advanced feature that most will not use directly. Consider moving the <style> tag to the <head> or consider adding a `precedence="default"` and `href="some unique resource identifier"`.');break}return!0;case"link":if(typeof U.rel!=="string"||typeof U.href!=="string"||U.href===""||U.onLoad||U.onError){if(U.rel==="stylesheet"&&typeof U.precedence==="string"){$=U.href;var{onError:M,disabled:_}=U;Q=[],U.onLoad&&Q.push("`onLoad`"),M&&Q.push("`onError`"),_!=null&&Q.push("`disabled`"),M=iq(Q,"and"),M+=Q.length===1?" prop":" props",_=Q.length===1?"an "+M:"the "+M,Q.length&&console.error('React encountered a <link rel="stylesheet" href="%s" ... /> with a `precedence` prop that also included %s. The presence of loading and error handlers indicates an intent to manage the stylesheet loading state from your from your Component code and React will not hoist or deduplicate this stylesheet. If your intent was to have React hoist and deduplciate this stylesheet using the `precedence` prop remove the %s, otherwise remove the `precedence` prop.',$,_,M)}W&&(typeof U.rel!=="string"||typeof U.href!=="string"||U.href===""?console.error("Cannot render a <link> outside the main document without a `rel` and `href` prop. Try adding a `rel` and/or `href` prop to this <link> or moving the link into the <head> tag"):(U.onError||U.onLoad)&&console.error("Cannot render a <link> with onLoad or onError listeners outside the main document. Try removing onLoad={...} and onError={...} or moving it into the root <head> tag or somewhere in the <body>."));break}switch(U.rel){case"stylesheet":return $=U.precedence,U=U.disabled,typeof $!=="string"&&W&&console.error('Cannot render a <link rel="stylesheet" /> outside the main document without knowing its precedence. Consider adding precedence="default" or moving it into the root <head> tag.'),typeof $==="string"&&U==null;default:return!0}case"script":if($=U.async&&typeof U.async!=="function"&&typeof U.async!=="symbol",!$||U.onLoad||U.onError||!U.src||typeof U.src!=="string"){W&&($?U.onLoad||U.onError?console.error("Cannot render a <script> with onLoad or onError listeners outside the main document. Try removing onLoad={...} and onError={...} or moving it into the root <head> tag or somewhere in the <body>."):console.error("Cannot render a <script> outside the main document without `async={true}` and a non-empty `src` prop. Ensure there is a valid `src` and either make the script async or move it into the root <head> tag or somewhere in the <body>."):console.error('Cannot render a sync or defer <script> outside the main document without knowing its order. Try adding async="" or moving it into the root <head> tag.'));break}return!0;case"noscript":case"template":W&&console.error("Cannot render <%s> outside the main document. Try moving it into the root <head> tag.",$)}return!1}function CP($){return $.type==="stylesheet"&&($.state.loading&JR)===rI?!1:!0}function A3($,U,Q,W){if(Q.type==="stylesheet"&&(typeof W.media!=="string"||matchMedia(W.media).matches!==!1)&&(Q.state.loading&x1)===rI){if(Q.instance===null){var M=qJ(W.href),_=U.querySelector(dY(M));if(_){U=_._p,U!==null&&typeof U==="object"&&typeof U.then==="function"&&($.count++,$=dZ.bind($),U.then($,$)),Q.state.loading|=x1,Q.instance=_,D$(_);return}_=U.ownerDocument||U,W=LP(W),(M=g1.get(M))&&a8(W,M),_=_.createElement("link"),D$(_);var k=_;k._p=new Promise(function(f,l){k.onload=f,k.onerror=l}),L6(_,"link",W),Q.instance=_}$.stylesheets===null&&($.stylesheets=new Map),$.stylesheets.set(Q,U),(U=Q.state.preload)&&(Q.state.loading&JR)===rI&&($.count++,Q=dZ.bind($),U.addEventListener("load",Q),U.addEventListener("error",Q))}}function T3($,U){return $.stylesheets&&$.count===0&&nZ($,$.stylesheets),0<$.count||0<$.imgCount?function(Q){var W=setTimeout(function(){if($.stylesheets&&nZ($,$.stylesheets),$.unsuspend){var _=$.unsuspend;$.unsuspend=null,_()}},Wx+U);0<$.imgBytes&&NW===0&&(NW=125*rq()*Hx);var M=setTimeout(function(){if($.waitingForImages=!1,$.count===0&&($.stylesheets&&nZ($,$.stylesheets),$.unsuspend)){var _=$.unsuspend;$.unsuspend=null,_()}},($.imgBytes>NW?50:Fx)+U);return $.unsuspend=Q,function(){$.unsuspend=null,clearTimeout(W),clearTimeout(M)}}:null}function dZ(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)nZ(this,this.stylesheets);else if(this.unsuspend){var $=this.unsuspend;this.unsuspend=null,$()}}}function nZ($,U){$.stylesheets=null,$.unsuspend!==null&&($.count++,az=new Map,U.forEach(C3,$),az=null,dZ.call($))}function C3($,U){if(!(U.state.loading&x1)){var Q=az.get($);if(Q)var W=Q.get(qW);else{Q=new Map,az.set($,Q);for(var M=$.querySelectorAll("link[data-precedence],style[data-precedence]"),_=0;_<M.length;_++){var k=M[_];if(k.nodeName==="LINK"||k.getAttribute("media")!=="not all")Q.set(k.dataset.precedence,k),W=k}W&&Q.set(qW,W)}M=U.instance,k=M.getAttribute("data-precedence"),_=Q.get(k)||W,_===W&&Q.set(qW,M),Q.set(k,M),this.count++,W=dZ.bind(this),M.addEventListener("load",W),M.addEventListener("error",W),_?_.parentNode.insertBefore(M,_.nextSibling):($=$.nodeType===9?$.head:$,$.insertBefore(M,$.firstChild)),U.state.loading|=x1}}function P3($,U,Q,W,M,_,k,f,l){this.tag=1,this.containerInfo=$,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=iI,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=p0(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=p0(0),this.hiddenUpdates=p0(null),this.identifierPrefix=W,this.onUncaughtError=M,this.onCaughtError=_,this.onRecoverableError=k,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=l,this.incompleteTransitions=new Map,this.passiveEffectDuration=this.effectDuration=-0,this.memoizedUpdaters=new Set,$=this.pendingUpdatersLaneMap=[];for(U=0;31>U;U++)$.push(new Set);this._debugRootType=Q?"hydrateRoot()":"createRoot()"}function PP($,U,Q,W,M,_,k,f,l,o,P0,_0){return $=new P3($,U,Q,k,l,o,P0,_0,f),U=ck,_===!0&&(U|=_6|l1),U|=N$,_=E(3,null,null,U),$.current=_,_.stateNode=$,U=SD(),CI(U),$.pooledCache=U,CI(U),_.memoizedState={element:W,isDehydrated:Q,cache:U},qD(_),$}function _P($){if(!$)return xX;return $=xX,$}function e8($,U,Q,W,M,_){if(P6&&typeof P6.onScheduleFiberRoot==="function")try{P6.onScheduleFiberRoot(yJ,W,Q)}catch(k){L4||(L4=!0,console.error("React instrumentation encountered an error: %o",k))}M=_P(M),W.context===null?W.context=M:W.pendingContext=M,H4&&Z1!==null&&!zR&&(zR=!0,console.error(`Render methods should be a pure function of props and state; triggering nested component updates from render is not allowed. If necessary, trigger nested updates in componentDidUpdate.
183
+
184
+ Check the render method of %s.`,t(Z1)||"Unknown")),W=MX(U),W.payload={element:Q},_=_===void 0?null:_,_!==null&&(typeof _!=="function"&&console.error("Expected the last optional `callback` argument to be a function. Instead received: %s.",_),W.callback=_),Q=AX($,W,U),Q!==null&&(U4(U,"root.render()",null),gU(Q,$,U),SY(Q,$,U))}function EP($,U){if($=$.memoizedState,$!==null&&$.dehydrated!==null){var Q=$.retryLane;$.retryLane=Q!==0&&Q<U?Q:U}}function $K($,U){EP($,U),($=$.alternate)&&EP($,U)}function RP($){if($.tag===13||$.tag===31){var U=C6($,67108864);U!==null&&gU(U,$,67108864),$K($,67108864)}}function SP($){if($.tag===13||$.tag===31){var U=Q1($);U=r0(U);var Q=C6($,U);Q!==null&&gU(Q,$,U),$K($,U)}}function _3(){return Z1}function E3($,U,Q,W){var M=y0.T;y0.T=null;var _=s$.p;try{s$.p=z1,UK($,U,Q,W)}finally{s$.p=_,y0.T=M}}function R3($,U,Q,W){var M=y0.T;y0.T=null;var _=s$.p;try{s$.p=m1,UK($,U,Q,W)}finally{s$.p=_,y0.T=M}}function UK($,U,Q,W){if(ez){var M=XK(W);if(M===null)h8($,U,W,$O,Q),BP($,W);else if(S3(M,$,U,Q,W))W.stopPropagation();else if(BP($,W),U&4&&-1<Mx.indexOf($)){for(;M!==null;){var _=F$(M);if(_!==null)switch(_.tag){case 3:if(_=_.stateNode,_.current.memoizedState.isDehydrated){var k=V0(_.pendingLanes);if(k!==0){var f=_;f.pendingLanes|=2;for(f.entangledLanes|=2;k;){var l=1<<31-S6(k);f.entanglements[1]|=l,k&=~l}D4(_),(n$&(G6|K1))===D6&&(fz=z6()+yE,hY(0,!1))}}break;case 31:case 13:f=C6(_,2),f!==null&&gU(f,_,2),BJ(),$K(_,2)}if(_=XK(W),_===null&&h8($,U,W,$O,Q),_===M)break;M=_}M!==null&&W.stopPropagation()}else h8($,U,W,null,Q)}}function XK($){return $=ZD($),IK($)}function IK($){if($O=null,$=N0($),$!==null){var U=u($);if(U===null)$=null;else{var Q=U.tag;if(Q===13){if($=x(U),$!==null)return $;$=null}else if(Q===31){if($=b(U),$!==null)return $;$=null}else if(Q===3){if(U.stateNode.current.memoizedState.isDehydrated)return U.tag===3?U.stateNode.containerInfo:null;$=null}else U!==$&&($=null)}}return $O=$,null}function jP($){switch($){case"beforetoggle":case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return z1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return m1;case"message":switch(w3()){case HK:return z1;case LK:return m1;case fJ:case f3:return A4;case MK:return Xz;default:return A4}default:return A4}}function BP($,U){switch($){case"focusin":case"focusout":tX=null;break;case"dragenter":case"dragleave":aX=null;break;case"mouseover":case"mouseout":sX=null;break;case"pointerover":case"pointerout":cG.delete(U.pointerId);break;case"gotpointercapture":case"lostpointercapture":pG.delete(U.pointerId)}}function oY($,U,Q,W,M,_){if($===null||$.nativeEvent!==_)return $={blockedOn:U,domEventName:Q,eventSystemFlags:W,nativeEvent:_,targetContainers:[M]},U!==null&&(U=F$(U),U!==null&&RP(U)),$;return $.eventSystemFlags|=W,U=$.targetContainers,M!==null&&U.indexOf(M)===-1&&U.push(M),$}function S3($,U,Q,W,M){switch(U){case"focusin":return tX=oY(tX,$,U,Q,W,M),!0;case"dragenter":return aX=oY(aX,$,U,Q,W,M),!0;case"mouseover":return sX=oY(sX,$,U,Q,W,M),!0;case"pointerover":var _=M.pointerId;return cG.set(_,oY(cG.get(_)||null,$,U,Q,W,M)),!0;case"gotpointercapture":return _=M.pointerId,pG.set(_,oY(pG.get(_)||null,$,U,Q,W,M)),!0}return!1}function vP($){var U=N0($.target);if(U!==null){var Q=u(U);if(Q!==null){if(U=Q.tag,U===13){if(U=x(Q),U!==null){$.blockedOn=U,s0($.priority,function(){SP(Q)});return}}else if(U===31){if(U=b(Q),U!==null){$.blockedOn=U,s0($.priority,function(){SP(Q)});return}}else if(U===3&&Q.stateNode.current.memoizedState.isDehydrated){$.blockedOn=Q.tag===3?Q.stateNode.containerInfo:null;return}}}$.blockedOn=null}function oZ($){if($.blockedOn!==null)return!1;for(var U=$.targetContainers;0<U.length;){var Q=XK($.nativeEvent);if(Q===null){Q=$.nativeEvent;var W=new Q.constructor(Q.type,Q),M=W;sY!==null&&console.error("Expected currently replaying event to be null. This error is likely caused by a bug in React. Please file an issue."),sY=M,Q.target.dispatchEvent(W),sY===null&&console.error("Expected currently replaying event to not be null. This error is likely caused by a bug in React. Please file an issue."),sY=null}else return U=F$(Q),U!==null&&RP(U),$.blockedOn=Q,!1;U.shift()}return!0}function NP($,U,Q){oZ($)&&Q.delete(U)}function j3(){kW=!1,tX!==null&&oZ(tX)&&(tX=null),aX!==null&&oZ(aX)&&(aX=null),sX!==null&&oZ(sX)&&(sX=null),cG.forEach(NP),pG.forEach(NP)}function iZ($,U){$.blockedOn===U&&($.blockedOn=null,kW||(kW=!0,o$.unstable_scheduleCallback(o$.unstable_NormalPriority,j3)))}function qP($){UO!==$&&(UO=$,o$.unstable_scheduleCallback(o$.unstable_NormalPriority,function(){UO===$&&(UO=null);for(var U=0;U<$.length;U+=3){var Q=$[U],W=$[U+1],M=$[U+2];if(typeof W!=="function")if(IK(W||Q)===null)continue;else break;var _=F$(Q);_!==null&&($.splice(U,3),U-=3,Q={pending:!0,data:M,method:Q.method,action:W},Object.freeze(Q),I8(_,Q,W,M))}}))}function xJ($){function U(l){return iZ(l,$)}tX!==null&&iZ(tX,$),aX!==null&&iZ(aX,$),sX!==null&&iZ(sX,$),cG.forEach(U),pG.forEach(U);for(var Q=0;Q<eX.length;Q++){var W=eX[Q];W.blockedOn===$&&(W.blockedOn=null)}for(;0<eX.length&&(Q=eX[0],Q.blockedOn===null);)vP(Q),Q.blockedOn===null&&eX.shift();if(Q=($.ownerDocument||$).$$reactFormReplay,Q!=null)for(W=0;W<Q.length;W+=3){var M=Q[W],_=Q[W+1],k=M[j6]||null;if(typeof _==="function")k||qP(Q);else if(k){var f=null;if(_&&_.hasAttribute("formAction")){if(M=_,k=_[j6]||null)f=k.formAction;else if(IK(M)!==null)continue}else f=k.action;typeof f==="function"?Q[W+1]=f:(Q.splice(W,3),W-=3),qP(Q)}}}function kP(){function $(_){_.canIntercept&&_.info==="react-transition"&&_.intercept({handler:function(){return new Promise(function(k){return M=k})},focusReset:"manual",scroll:"manual"})}function U(){M!==null&&(M(),M=null),W||setTimeout(Q,20)}function Q(){if(!W&&!navigation.transition){var _=navigation.currentEntry;_&&_.url!=null&&navigation.navigate(_.url,{state:_.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation==="object"){var W=!1,M=null;return navigation.addEventListener("navigate",$),navigation.addEventListener("navigatesuccess",U),navigation.addEventListener("navigateerror",U),setTimeout(Q,100),function(){W=!0,navigation.removeEventListener("navigate",$),navigation.removeEventListener("navigatesuccess",U),navigation.removeEventListener("navigateerror",U),M!==null&&(M(),M=null)}}}function JK($){this._internalRoot=$}function rZ($){this._internalRoot=$}function xP($){$[vX]&&($._reactRootContainer?console.error("You are calling ReactDOMClient.createRoot() on a container that was previously passed to ReactDOM.render(). This is not supported."):console.error("You are calling ReactDOMClient.createRoot() on a container that has already been passed to createRoot() before. Instead, call root.render() on the existing root instead if you want to update it."))}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var y$=Object.assign,B3=Symbol.for("react.element"),W4=Symbol.for("react.transitional.element"),gJ=Symbol.for("react.portal"),wJ=Symbol.for("react.fragment"),tZ=Symbol.for("react.strict_mode"),QK=Symbol.for("react.profiler"),YK=Symbol.for("react.consumer"),F4=Symbol.for("react.context"),iY=Symbol.for("react.forward_ref"),GK=Symbol.for("react.suspense"),ZK=Symbol.for("react.suspense_list"),aZ=Symbol.for("react.memo"),G1=Symbol.for("react.lazy"),zK=Symbol.for("react.activity"),v3=Symbol.for("react.memo_cache_sentinel"),gP=Symbol.iterator,N3=Symbol.for("react.client.reference"),Q6=Array.isArray,y0=MQ.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,s$=gW.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,q3=Object.freeze({pending:!1,data:null,method:null,action:null}),OK=[],VK=[],m4=-1,SX=C0(null),rY=C0(null),jX=C0(null),sZ=C0(null),tY=0,wP,fP,yP,bP,uP,hP,cP;z.__reactDisabledLog=!0;var DK,pP,KK=!1,WK=new(typeof WeakMap==="function"?WeakMap:Map),Z1=null,H4=!1,p1=Object.prototype.hasOwnProperty,FK=o$.unstable_scheduleCallback,k3=o$.unstable_cancelCallback,x3=o$.unstable_shouldYield,g3=o$.unstable_requestPaint,z6=o$.unstable_now,w3=o$.unstable_getCurrentPriorityLevel,HK=o$.unstable_ImmediatePriority,LK=o$.unstable_UserBlockingPriority,fJ=o$.unstable_NormalPriority,f3=o$.unstable_LowPriority,MK=o$.unstable_IdlePriority,y3=o$.log,b3=o$.unstable_setDisableYieldValue,yJ=null,P6=null,L4=!1,M4=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u",S6=Math.clz32?Math.clz32:X0,u3=Math.log,h3=Math.LN2,eZ=256,$z=262144,Uz=4194304,z1=2,m1=8,A4=32,Xz=268435456,BX=Math.random().toString(36).slice(2),M6="__reactFiber$"+BX,j6="__reactProps$"+BX,vX="__reactContainer$"+BX,AK="__reactEvents$"+BX,c3="__reactListeners$"+BX,p3="__reactHandles$"+BX,mP="__reactResources$"+BX,aY="__reactMarker$"+BX,lP=new Set,BI={},TK={},m3={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0},l3=RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),dP={},nP={},d3=/[\n"\\]/g,oP=!1,iP=!1,rP=!1,tP=!1,aP=!1,sP=!1,eP=["value","defaultValue"],$_=!1,U_=/["'&<>\n\t]|^\s|\s$/,n3="address applet area article aside base basefont bgsound blockquote body br button caption center col colgroup dd details dir div dl dt embed fieldset figcaption figure footer form frame frameset h1 h2 h3 h4 h5 h6 head header hgroup hr html iframe img input isindex li link listing main marquee menu menuitem meta nav noembed noframes noscript object ol p param plaintext pre script section select source style summary table tbody td template textarea tfoot th thead title tr track ul wbr xmp".split(" "),X_="applet caption html table td th marquee object template foreignObject desc title".split(" "),o3=X_.concat(["button"]),i3="dd dt li option optgroup p rp rt".split(" "),I_={current:null,formTag:null,aTagInScope:null,buttonTagInScope:null,nobrTagInScope:null,pTagInButtonScope:null,listItemTagAutoclosing:null,dlItemTagAutoclosing:null,containerTagInScope:null,implicitRootScope:!1},Iz={},CK={animation:"animationDelay animationDirection animationDuration animationFillMode animationIterationCount animationName animationPlayState animationTimingFunction".split(" "),background:"backgroundAttachment backgroundClip backgroundColor backgroundImage backgroundOrigin backgroundPositionX backgroundPositionY backgroundRepeat backgroundSize".split(" "),backgroundPosition:["backgroundPositionX","backgroundPositionY"],border:"borderBottomColor borderBottomStyle borderBottomWidth borderImageOutset borderImageRepeat borderImageSlice borderImageSource borderImageWidth borderLeftColor borderLeftStyle borderLeftWidth borderRightColor borderRightStyle borderRightWidth borderTopColor borderTopStyle borderTopWidth".split(" "),borderBlockEnd:["borderBlockEndColor","borderBlockEndStyle","borderBlockEndWidth"],borderBlockStart:["borderBlockStartColor","borderBlockStartStyle","borderBlockStartWidth"],borderBottom:["borderBottomColor","borderBottomStyle","borderBottomWidth"],borderColor:["borderBottomColor","borderLeftColor","borderRightColor","borderTopColor"],borderImage:["borderImageOutset","borderImageRepeat","borderImageSlice","borderImageSource","borderImageWidth"],borderInlineEnd:["borderInlineEndColor","borderInlineEndStyle","borderInlineEndWidth"],borderInlineStart:["borderInlineStartColor","borderInlineStartStyle","borderInlineStartWidth"],borderLeft:["borderLeftColor","borderLeftStyle","borderLeftWidth"],borderRadius:["borderBottomLeftRadius","borderBottomRightRadius","borderTopLeftRadius","borderTopRightRadius"],borderRight:["borderRightColor","borderRightStyle","borderRightWidth"],borderStyle:["borderBottomStyle","borderLeftStyle","borderRightStyle","borderTopStyle"],borderTop:["borderTopColor","borderTopStyle","borderTopWidth"],borderWidth:["borderBottomWidth","borderLeftWidth","borderRightWidth","borderTopWidth"],columnRule:["columnRuleColor","columnRuleStyle","columnRuleWidth"],columns:["columnCount","columnWidth"],flex:["flexBasis","flexGrow","flexShrink"],flexFlow:["flexDirection","flexWrap"],font:"fontFamily fontFeatureSettings fontKerning fontLanguageOverride fontSize fontSizeAdjust fontStretch fontStyle fontVariant fontVariantAlternates fontVariantCaps fontVariantEastAsian fontVariantLigatures fontVariantNumeric fontVariantPosition fontWeight lineHeight".split(" "),fontVariant:"fontVariantAlternates fontVariantCaps fontVariantEastAsian fontVariantLigatures fontVariantNumeric fontVariantPosition".split(" "),gap:["columnGap","rowGap"],grid:"gridAutoColumns gridAutoFlow gridAutoRows gridTemplateAreas gridTemplateColumns gridTemplateRows".split(" "),gridArea:["gridColumnEnd","gridColumnStart","gridRowEnd","gridRowStart"],gridColumn:["gridColumnEnd","gridColumnStart"],gridColumnGap:["columnGap"],gridGap:["columnGap","rowGap"],gridRow:["gridRowEnd","gridRowStart"],gridRowGap:["rowGap"],gridTemplate:["gridTemplateAreas","gridTemplateColumns","gridTemplateRows"],listStyle:["listStyleImage","listStylePosition","listStyleType"],margin:["marginBottom","marginLeft","marginRight","marginTop"],marker:["markerEnd","markerMid","markerStart"],mask:"maskClip maskComposite maskImage maskMode maskOrigin maskPositionX maskPositionY maskRepeat maskSize".split(" "),maskPosition:["maskPositionX","maskPositionY"],outline:["outlineColor","outlineStyle","outlineWidth"],overflow:["overflowX","overflowY"],padding:["paddingBottom","paddingLeft","paddingRight","paddingTop"],placeContent:["alignContent","justifyContent"],placeItems:["alignItems","justifyItems"],placeSelf:["alignSelf","justifySelf"],textDecoration:["textDecorationColor","textDecorationLine","textDecorationStyle"],textEmphasis:["textEmphasisColor","textEmphasisStyle"],transition:["transitionDelay","transitionDuration","transitionProperty","transitionTimingFunction"],wordWrap:["overflowWrap"]},J_=/([A-Z])/g,Q_=/^ms-/,r3=/^(?:webkit|moz|o)[A-Z]/,t3=/^-ms-/,a3=/-(.)/g,Y_=/;\s*$/,bJ={},PK={},G_=!1,Z_=!1,z_=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" ")),Jz="http://www.w3.org/1998/Math/MathML",uJ="http://www.w3.org/2000/svg",s3=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),Qz={accept:"accept",acceptcharset:"acceptCharset","accept-charset":"acceptCharset",accesskey:"accessKey",action:"action",allowfullscreen:"allowFullScreen",alt:"alt",as:"as",async:"async",autocapitalize:"autoCapitalize",autocomplete:"autoComplete",autocorrect:"autoCorrect",autofocus:"autoFocus",autoplay:"autoPlay",autosave:"autoSave",capture:"capture",cellpadding:"cellPadding",cellspacing:"cellSpacing",challenge:"challenge",charset:"charSet",checked:"checked",children:"children",cite:"cite",class:"className",classid:"classID",classname:"className",cols:"cols",colspan:"colSpan",content:"content",contenteditable:"contentEditable",contextmenu:"contextMenu",controls:"controls",controlslist:"controlsList",coords:"coords",crossorigin:"crossOrigin",dangerouslysetinnerhtml:"dangerouslySetInnerHTML",data:"data",datetime:"dateTime",default:"default",defaultchecked:"defaultChecked",defaultvalue:"defaultValue",defer:"defer",dir:"dir",disabled:"disabled",disablepictureinpicture:"disablePictureInPicture",disableremoteplayback:"disableRemotePlayback",download:"download",draggable:"draggable",enctype:"encType",enterkeyhint:"enterKeyHint",fetchpriority:"fetchPriority",for:"htmlFor",form:"form",formmethod:"formMethod",formaction:"formAction",formenctype:"formEncType",formnovalidate:"formNoValidate",formtarget:"formTarget",frameborder:"frameBorder",headers:"headers",height:"height",hidden:"hidden",high:"high",href:"href",hreflang:"hrefLang",htmlfor:"htmlFor",httpequiv:"httpEquiv","http-equiv":"httpEquiv",icon:"icon",id:"id",imagesizes:"imageSizes",imagesrcset:"imageSrcSet",inert:"inert",innerhtml:"innerHTML",inputmode:"inputMode",integrity:"integrity",is:"is",itemid:"itemID",itemprop:"itemProp",itemref:"itemRef",itemscope:"itemScope",itemtype:"itemType",keyparams:"keyParams",keytype:"keyType",kind:"kind",label:"label",lang:"lang",list:"list",loop:"loop",low:"low",manifest:"manifest",marginwidth:"marginWidth",marginheight:"marginHeight",max:"max",maxlength:"maxLength",media:"media",mediagroup:"mediaGroup",method:"method",min:"min",minlength:"minLength",multiple:"multiple",muted:"muted",name:"name",nomodule:"noModule",nonce:"nonce",novalidate:"noValidate",open:"open",optimum:"optimum",pattern:"pattern",placeholder:"placeholder",playsinline:"playsInline",poster:"poster",preload:"preload",profile:"profile",radiogroup:"radioGroup",readonly:"readOnly",referrerpolicy:"referrerPolicy",rel:"rel",required:"required",reversed:"reversed",role:"role",rows:"rows",rowspan:"rowSpan",sandbox:"sandbox",scope:"scope",scoped:"scoped",scrolling:"scrolling",seamless:"seamless",selected:"selected",shape:"shape",size:"size",sizes:"sizes",span:"span",spellcheck:"spellCheck",src:"src",srcdoc:"srcDoc",srclang:"srcLang",srcset:"srcSet",start:"start",step:"step",style:"style",summary:"summary",tabindex:"tabIndex",target:"target",title:"title",type:"type",usemap:"useMap",value:"value",width:"width",wmode:"wmode",wrap:"wrap",about:"about",accentheight:"accentHeight","accent-height":"accentHeight",accumulate:"accumulate",additive:"additive",alignmentbaseline:"alignmentBaseline","alignment-baseline":"alignmentBaseline",allowreorder:"allowReorder",alphabetic:"alphabetic",amplitude:"amplitude",arabicform:"arabicForm","arabic-form":"arabicForm",ascent:"ascent",attributename:"attributeName",attributetype:"attributeType",autoreverse:"autoReverse",azimuth:"azimuth",basefrequency:"baseFrequency",baselineshift:"baselineShift","baseline-shift":"baselineShift",baseprofile:"baseProfile",bbox:"bbox",begin:"begin",bias:"bias",by:"by",calcmode:"calcMode",capheight:"capHeight","cap-height":"capHeight",clip:"clip",clippath:"clipPath","clip-path":"clipPath",clippathunits:"clipPathUnits",cliprule:"clipRule","clip-rule":"clipRule",color:"color",colorinterpolation:"colorInterpolation","color-interpolation":"colorInterpolation",colorinterpolationfilters:"colorInterpolationFilters","color-interpolation-filters":"colorInterpolationFilters",colorprofile:"colorProfile","color-profile":"colorProfile",colorrendering:"colorRendering","color-rendering":"colorRendering",contentscripttype:"contentScriptType",contentstyletype:"contentStyleType",cursor:"cursor",cx:"cx",cy:"cy",d:"d",datatype:"datatype",decelerate:"decelerate",descent:"descent",diffuseconstant:"diffuseConstant",direction:"direction",display:"display",divisor:"divisor",dominantbaseline:"dominantBaseline","dominant-baseline":"dominantBaseline",dur:"dur",dx:"dx",dy:"dy",edgemode:"edgeMode",elevation:"elevation",enablebackground:"enableBackground","enable-background":"enableBackground",end:"end",exponent:"exponent",externalresourcesrequired:"externalResourcesRequired",fill:"fill",fillopacity:"fillOpacity","fill-opacity":"fillOpacity",fillrule:"fillRule","fill-rule":"fillRule",filter:"filter",filterres:"filterRes",filterunits:"filterUnits",floodopacity:"floodOpacity","flood-opacity":"floodOpacity",floodcolor:"floodColor","flood-color":"floodColor",focusable:"focusable",fontfamily:"fontFamily","font-family":"fontFamily",fontsize:"fontSize","font-size":"fontSize",fontsizeadjust:"fontSizeAdjust","font-size-adjust":"fontSizeAdjust",fontstretch:"fontStretch","font-stretch":"fontStretch",fontstyle:"fontStyle","font-style":"fontStyle",fontvariant:"fontVariant","font-variant":"fontVariant",fontweight:"fontWeight","font-weight":"fontWeight",format:"format",from:"from",fx:"fx",fy:"fy",g1:"g1",g2:"g2",glyphname:"glyphName","glyph-name":"glyphName",glyphorientationhorizontal:"glyphOrientationHorizontal","glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphorientationvertical:"glyphOrientationVertical","glyph-orientation-vertical":"glyphOrientationVertical",glyphref:"glyphRef",gradienttransform:"gradientTransform",gradientunits:"gradientUnits",hanging:"hanging",horizadvx:"horizAdvX","horiz-adv-x":"horizAdvX",horizoriginx:"horizOriginX","horiz-origin-x":"horizOriginX",ideographic:"ideographic",imagerendering:"imageRendering","image-rendering":"imageRendering",in2:"in2",in:"in",inlist:"inlist",intercept:"intercept",k1:"k1",k2:"k2",k3:"k3",k4:"k4",k:"k",kernelmatrix:"kernelMatrix",kernelunitlength:"kernelUnitLength",kerning:"kerning",keypoints:"keyPoints",keysplines:"keySplines",keytimes:"keyTimes",lengthadjust:"lengthAdjust",letterspacing:"letterSpacing","letter-spacing":"letterSpacing",lightingcolor:"lightingColor","lighting-color":"lightingColor",limitingconeangle:"limitingConeAngle",local:"local",markerend:"markerEnd","marker-end":"markerEnd",markerheight:"markerHeight",markermid:"markerMid","marker-mid":"markerMid",markerstart:"markerStart","marker-start":"markerStart",markerunits:"markerUnits",markerwidth:"markerWidth",mask:"mask",maskcontentunits:"maskContentUnits",maskunits:"maskUnits",mathematical:"mathematical",mode:"mode",numoctaves:"numOctaves",offset:"offset",opacity:"opacity",operator:"operator",order:"order",orient:"orient",orientation:"orientation",origin:"origin",overflow:"overflow",overlineposition:"overlinePosition","overline-position":"overlinePosition",overlinethickness:"overlineThickness","overline-thickness":"overlineThickness",paintorder:"paintOrder","paint-order":"paintOrder",panose1:"panose1","panose-1":"panose1",pathlength:"pathLength",patterncontentunits:"patternContentUnits",patterntransform:"patternTransform",patternunits:"patternUnits",pointerevents:"pointerEvents","pointer-events":"pointerEvents",points:"points",pointsatx:"pointsAtX",pointsaty:"pointsAtY",pointsatz:"pointsAtZ",popover:"popover",popovertarget:"popoverTarget",popovertargetaction:"popoverTargetAction",prefix:"prefix",preservealpha:"preserveAlpha",preserveaspectratio:"preserveAspectRatio",primitiveunits:"primitiveUnits",property:"property",r:"r",radius:"radius",refx:"refX",refy:"refY",renderingintent:"renderingIntent","rendering-intent":"renderingIntent",repeatcount:"repeatCount",repeatdur:"repeatDur",requiredextensions:"requiredExtensions",requiredfeatures:"requiredFeatures",resource:"resource",restart:"restart",result:"result",results:"results",rotate:"rotate",rx:"rx",ry:"ry",scale:"scale",security:"security",seed:"seed",shaperendering:"shapeRendering","shape-rendering":"shapeRendering",slope:"slope",spacing:"spacing",specularconstant:"specularConstant",specularexponent:"specularExponent",speed:"speed",spreadmethod:"spreadMethod",startoffset:"startOffset",stddeviation:"stdDeviation",stemh:"stemh",stemv:"stemv",stitchtiles:"stitchTiles",stopcolor:"stopColor","stop-color":"stopColor",stopopacity:"stopOpacity","stop-opacity":"stopOpacity",strikethroughposition:"strikethroughPosition","strikethrough-position":"strikethroughPosition",strikethroughthickness:"strikethroughThickness","strikethrough-thickness":"strikethroughThickness",string:"string",stroke:"stroke",strokedasharray:"strokeDasharray","stroke-dasharray":"strokeDasharray",strokedashoffset:"strokeDashoffset","stroke-dashoffset":"strokeDashoffset",strokelinecap:"strokeLinecap","stroke-linecap":"strokeLinecap",strokelinejoin:"strokeLinejoin","stroke-linejoin":"strokeLinejoin",strokemiterlimit:"strokeMiterlimit","stroke-miterlimit":"strokeMiterlimit",strokewidth:"strokeWidth","stroke-width":"strokeWidth",strokeopacity:"strokeOpacity","stroke-opacity":"strokeOpacity",suppresscontenteditablewarning:"suppressContentEditableWarning",suppresshydrationwarning:"suppressHydrationWarning",surfacescale:"surfaceScale",systemlanguage:"systemLanguage",tablevalues:"tableValues",targetx:"targetX",targety:"targetY",textanchor:"textAnchor","text-anchor":"textAnchor",textdecoration:"textDecoration","text-decoration":"textDecoration",textlength:"textLength",textrendering:"textRendering","text-rendering":"textRendering",to:"to",transform:"transform",transformorigin:"transformOrigin","transform-origin":"transformOrigin",typeof:"typeof",u1:"u1",u2:"u2",underlineposition:"underlinePosition","underline-position":"underlinePosition",underlinethickness:"underlineThickness","underline-thickness":"underlineThickness",unicode:"unicode",unicodebidi:"unicodeBidi","unicode-bidi":"unicodeBidi",unicoderange:"unicodeRange","unicode-range":"unicodeRange",unitsperem:"unitsPerEm","units-per-em":"unitsPerEm",unselectable:"unselectable",valphabetic:"vAlphabetic","v-alphabetic":"vAlphabetic",values:"values",vectoreffect:"vectorEffect","vector-effect":"vectorEffect",version:"version",vertadvy:"vertAdvY","vert-adv-y":"vertAdvY",vertoriginx:"vertOriginX","vert-origin-x":"vertOriginX",vertoriginy:"vertOriginY","vert-origin-y":"vertOriginY",vhanging:"vHanging","v-hanging":"vHanging",videographic:"vIdeographic","v-ideographic":"vIdeographic",viewbox:"viewBox",viewtarget:"viewTarget",visibility:"visibility",vmathematical:"vMathematical","v-mathematical":"vMathematical",vocab:"vocab",widths:"widths",wordspacing:"wordSpacing","word-spacing":"wordSpacing",writingmode:"writingMode","writing-mode":"writingMode",x1:"x1",x2:"x2",x:"x",xchannelselector:"xChannelSelector",xheight:"xHeight","x-height":"xHeight",xlinkactuate:"xlinkActuate","xlink:actuate":"xlinkActuate",xlinkarcrole:"xlinkArcrole","xlink:arcrole":"xlinkArcrole",xlinkhref:"xlinkHref","xlink:href":"xlinkHref",xlinkrole:"xlinkRole","xlink:role":"xlinkRole",xlinkshow:"xlinkShow","xlink:show":"xlinkShow",xlinktitle:"xlinkTitle","xlink:title":"xlinkTitle",xlinktype:"xlinkType","xlink:type":"xlinkType",xmlbase:"xmlBase","xml:base":"xmlBase",xmllang:"xmlLang","xml:lang":"xmlLang",xmlns:"xmlns","xml:space":"xmlSpace",xmlnsxlink:"xmlnsXlink","xmlns:xlink":"xmlnsXlink",xmlspace:"xmlSpace",y1:"y1",y2:"y2",y:"y",ychannelselector:"yChannelSelector",z:"z",zoomandpan:"zoomAndPan"},O_={"aria-current":0,"aria-description":0,"aria-details":0,"aria-disabled":0,"aria-hidden":0,"aria-invalid":0,"aria-keyshortcuts":0,"aria-label":0,"aria-roledescription":0,"aria-autocomplete":0,"aria-checked":0,"aria-expanded":0,"aria-haspopup":0,"aria-level":0,"aria-modal":0,"aria-multiline":0,"aria-multiselectable":0,"aria-orientation":0,"aria-placeholder":0,"aria-pressed":0,"aria-readonly":0,"aria-required":0,"aria-selected":0,"aria-sort":0,"aria-valuemax":0,"aria-valuemin":0,"aria-valuenow":0,"aria-valuetext":0,"aria-atomic":0,"aria-busy":0,"aria-live":0,"aria-relevant":0,"aria-dropeffect":0,"aria-grabbed":0,"aria-activedescendant":0,"aria-colcount":0,"aria-colindex":0,"aria-colspan":0,"aria-controls":0,"aria-describedby":0,"aria-errormessage":0,"aria-flowto":0,"aria-labelledby":0,"aria-owns":0,"aria-posinset":0,"aria-rowcount":0,"aria-rowindex":0,"aria-rowspan":0,"aria-setsize":0,"aria-braillelabel":0,"aria-brailleroledescription":0,"aria-colindextext":0,"aria-rowindextext":0},hJ={},e3=RegExp("^(aria)-[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),$k=RegExp("^(aria)[A-Z][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),V_=!1,B6={},D_=/^on./,Uk=/^on[^A-Z]/,Xk=RegExp("^(aria)-[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),Ik=RegExp("^(aria)[A-Z][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),Jk=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i,sY=null,cJ=null,pJ=null,_K=!1,T4=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),EK=!1;if(T4)try{var eY={};Object.defineProperty(eY,"passive",{get:function(){EK=!0}}),window.addEventListener("test",eY,eY),window.removeEventListener("test",eY,eY)}catch($){EK=!1}var NX=null,RK=null,Yz=null,vI={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function($){return $.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Gz=p6(vI),$G=y$({},vI,{view:0,detail:0}),Qk=p6($G),SK,jK,UG,Zz=y$({},$G,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:zD,button:0,buttons:0,relatedTarget:function($){return $.relatedTarget===void 0?$.fromElement===$.srcElement?$.toElement:$.fromElement:$.relatedTarget},movementX:function($){if("movementX"in $)return $.movementX;return $!==UG&&(UG&&$.type==="mousemove"?(SK=$.screenX-UG.screenX,jK=$.screenY-UG.screenY):jK=SK=0,UG=$),SK},movementY:function($){return"movementY"in $?$.movementY:jK}}),K_=p6(Zz),Yk=y$({},Zz,{dataTransfer:0}),Gk=p6(Yk),Zk=y$({},$G,{relatedTarget:0}),BK=p6(Zk),zk=y$({},vI,{animationName:0,elapsedTime:0,pseudoElement:0}),Ok=p6(zk),Vk=y$({},vI,{clipboardData:function($){return"clipboardData"in $?$.clipboardData:window.clipboardData}}),Dk=p6(Vk),Kk=y$({},vI,{data:0}),W_=p6(Kk),Wk=W_,Fk={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Hk={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},Lk={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"},Mk=y$({},$G,{key:function($){if($.key){var U=Fk[$.key]||$.key;if(U!=="Unidentified")return U}return $.type==="keypress"?($=o2($),$===13?"Enter":String.fromCharCode($)):$.type==="keydown"||$.type==="keyup"?Hk[$.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:zD,charCode:function($){return $.type==="keypress"?o2($):0},keyCode:function($){return $.type==="keydown"||$.type==="keyup"?$.keyCode:0},which:function($){return $.type==="keypress"?o2($):$.type==="keydown"||$.type==="keyup"?$.keyCode:0}}),Ak=p6(Mk),Tk=y$({},Zz,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),F_=p6(Tk),Ck=y$({},$G,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:zD}),Pk=p6(Ck),_k=y$({},vI,{propertyName:0,elapsedTime:0,pseudoElement:0}),Ek=p6(_k),Rk=y$({},Zz,{deltaX:function($){return"deltaX"in $?$.deltaX:("wheelDeltaX"in $)?-$.wheelDeltaX:0},deltaY:function($){return"deltaY"in $?$.deltaY:("wheelDeltaY"in $)?-$.wheelDeltaY:("wheelDelta"in $)?-$.wheelDelta:0},deltaZ:0,deltaMode:0}),Sk=p6(Rk),jk=y$({},vI,{newState:0,oldState:0}),Bk=p6(jk),vk=[9,13,27,32],H_=229,vK=T4&&"CompositionEvent"in window,XG=null;T4&&"documentMode"in document&&(XG=document.documentMode);var Nk=T4&&"TextEvent"in window&&!XG,L_=T4&&(!vK||XG&&8<XG&&11>=XG),M_=32,A_=String.fromCharCode(M_),T_=!1,mJ=!1,qk={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0},IG=null,JG=null,C_=!1;T4&&(C_=sN("input")&&(!document.documentMode||9<document.documentMode));var v6=typeof Object.is==="function"?Object.is:Jq,kk=T4&&"documentMode"in document&&11>=document.documentMode,lJ=null,NK=null,QG=null,qK=!1,dJ={animationend:WI("Animation","AnimationEnd"),animationiteration:WI("Animation","AnimationIteration"),animationstart:WI("Animation","AnimationStart"),transitionrun:WI("Transition","TransitionRun"),transitionstart:WI("Transition","TransitionStart"),transitioncancel:WI("Transition","TransitionCancel"),transitionend:WI("Transition","TransitionEnd")},kK={},P_={};T4&&(P_=document.createElement("div").style,("AnimationEvent"in window)||(delete dJ.animationend.animation,delete dJ.animationiteration.animation,delete dJ.animationstart.animation),("TransitionEvent"in window)||delete dJ.transitionend.transition);var __=FI("animationend"),E_=FI("animationiteration"),R_=FI("animationstart"),xk=FI("transitionrun"),gk=FI("transitionstart"),wk=FI("transitioncancel"),S_=FI("transitionend"),j_=new Map,xK="abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");xK.push("scrollEnd");var B_=0;if(typeof performance==="object"&&typeof performance.now==="function")var fk=performance,v_=function(){return fk.now()};else{var yk=Date;v_=function(){return yk.now()}}var gK=typeof reportError==="function"?reportError:function($){if(typeof window==="object"&&typeof window.ErrorEvent==="function"){var U=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof $==="object"&&$!==null&&typeof $.message==="string"?String($.message):String($),error:$});if(!window.dispatchEvent(U))return}else if(typeof process==="object"&&typeof process.emit==="function"){process.emit("uncaughtException",$);return}console.error($)},bk="This object has been omitted by React in the console log to avoid sending too much data from the server. Try logging smaller or more specific objects.",zz=0,wK=1,fK=2,yK=3,Oz="– ",Vz="+ ",N_="  ",AU=typeof console<"u"&&typeof console.timeStamp==="function"&&typeof performance<"u"&&typeof performance.measure==="function",_1="Components ⚛",b$="Scheduler ⚛",u$="Blocking",qX=!1,l4={color:"primary",properties:null,tooltipText:"",track:_1},kX={start:-0,end:-0,detail:{devtools:l4}},uk=["Changed Props",""],q_="This component received deeply equal props. It might benefit from useMemo or the React Compiler in its owner.",hk=["Changed Props",q_],YG=1,d4=2,E1=[],nJ=0,bK=0,xX={};Object.freeze(xX);var R1=null,oJ=null,C$=0,ck=1,N$=2,_6=8,l1=16,pk=32,k_=!1;try{var x_=Object.preventExtensions({})}catch($){k_=!0}var uK=new WeakMap,iJ=[],rJ=0,Dz=null,GG=0,S1=[],j1=0,NI=null,n4=1,o4="",A6=null,TU=null,p$=!1,C4=!1,O1=null,gX=null,B1=!1,hK=Error("Hydration Mismatch Exception: This is not a real error, and should not leak into userspace. If you're seeing this, it's likely a bug in React."),cK=C0(null),pK=C0(null),g_={},Kz=null,tJ=null,aJ=!1,mk=typeof AbortController<"u"?AbortController:function(){var $=[],U=this.signal={aborted:!1,addEventListener:function(Q,W){$.push(W)}};this.abort=function(){U.aborted=!0,$.forEach(function(Q){return Q()})}},lk=o$.unstable_scheduleCallback,dk=o$.unstable_NormalPriority,sU={$$typeof:F4,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0,_currentRenderer:null,_currentRenderer2:null},eU=o$.unstable_now,Wz=console.createTask?console.createTask:function(){return null},ZG=1,Fz=2,O6=-0,wX=-0,i4=-0,r4=null,N6=-1.1,qI=-0,qU=-0,A$=-1.1,T$=-1.1,jU=null,wU=!1,fX=-0,P4=-1.1,zG=null,yX=0,mK=null,lK=null,kI=-1.1,OG=null,sJ=-1.1,Hz=-1.1,_4=-0,t4=-1.1,v1=-1.1,dK=0,VG=null,w_=null,f_=null,bX=-1.1,xI=null,uX=-1.1,Lz=-1.1,y_=-0,b_=-0,Mz=0,a4=null,u_=0,DG=-1.1,Az=!1,Tz=!1,KG=null,nK=0,gI=0,eJ=null,h_=y0.S;y0.S=function($,U){if(wE=z6(),typeof U==="object"&&U!==null&&typeof U.then==="function"){if(0>t4&&0>v1){t4=eU();var Q=mY(),W=pY();if(Q!==uX||W!==xI)uX=-1.1;bX=Q,xI=W}Vq($,U)}h_!==null&&h_($,U)};var wI=C0(null),d1={recordUnsafeLifecycleWarnings:function(){},flushPendingUnsafeLifecycleWarnings:function(){},recordLegacyContextWarning:function(){},flushLegacyContextWarning:function(){},discardPendingWarnings:function(){}},WG=[],FG=[],HG=[],LG=[],MG=[],AG=[],fI=new Set;d1.recordUnsafeLifecycleWarnings=function($,U){fI.has($.type)||(typeof U.componentWillMount==="function"&&U.componentWillMount.__suppressDeprecationWarning!==!0&&WG.push($),$.mode&_6&&typeof U.UNSAFE_componentWillMount==="function"&&FG.push($),typeof U.componentWillReceiveProps==="function"&&U.componentWillReceiveProps.__suppressDeprecationWarning!==!0&&HG.push($),$.mode&_6&&typeof U.UNSAFE_componentWillReceiveProps==="function"&&LG.push($),typeof U.componentWillUpdate==="function"&&U.componentWillUpdate.__suppressDeprecationWarning!==!0&&MG.push($),$.mode&_6&&typeof U.UNSAFE_componentWillUpdate==="function"&&AG.push($))},d1.flushPendingUnsafeLifecycleWarnings=function(){var $=new Set;0<WG.length&&(WG.forEach(function(f){$.add(t(f)||"Component"),fI.add(f.type)}),WG=[]);var U=new Set;0<FG.length&&(FG.forEach(function(f){U.add(t(f)||"Component"),fI.add(f.type)}),FG=[]);var Q=new Set;0<HG.length&&(HG.forEach(function(f){Q.add(t(f)||"Component"),fI.add(f.type)}),HG=[]);var W=new Set;0<LG.length&&(LG.forEach(function(f){W.add(t(f)||"Component"),fI.add(f.type)}),LG=[]);var M=new Set;0<MG.length&&(MG.forEach(function(f){M.add(t(f)||"Component"),fI.add(f.type)}),MG=[]);var _=new Set;if(0<AG.length&&(AG.forEach(function(f){_.add(t(f)||"Component"),fI.add(f.type)}),AG=[]),0<U.size){var k=T(U);console.error(`Using UNSAFE_componentWillMount in strict mode is not recommended and may indicate bugs in your code. See https://react.dev/link/unsafe-component-lifecycles for details.
185
+
186
+ * Move code with side effects to componentDidMount, and set initial state in the constructor.
187
+
188
+ Please update the following components: %s`,k)}0<W.size&&(k=T(W),console.error(`Using UNSAFE_componentWillReceiveProps in strict mode is not recommended and may indicate bugs in your code. See https://react.dev/link/unsafe-component-lifecycles for details.
189
+
190
+ * Move data fetching code or side effects to componentDidUpdate.
191
+ * If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://react.dev/link/derived-state
192
+
193
+ Please update the following components: %s`,k)),0<_.size&&(k=T(_),console.error(`Using UNSAFE_componentWillUpdate in strict mode is not recommended and may indicate bugs in your code. See https://react.dev/link/unsafe-component-lifecycles for details.
194
+
195
+ * Move data fetching code or side effects to componentDidUpdate.
196
+
197
+ Please update the following components: %s`,k)),0<$.size&&(k=T($),console.warn(`componentWillMount has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.
198
+
199
+ * Move code with side effects to componentDidMount, and set initial state in the constructor.
200
+ * Rename componentWillMount to UNSAFE_componentWillMount to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run \`npx react-codemod rename-unsafe-lifecycles\` in your project source folder.
201
+
202
+ Please update the following components: %s`,k)),0<Q.size&&(k=T(Q),console.warn(`componentWillReceiveProps has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.
203
+
204
+ * Move data fetching code or side effects to componentDidUpdate.
205
+ * If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://react.dev/link/derived-state
206
+ * Rename componentWillReceiveProps to UNSAFE_componentWillReceiveProps to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run \`npx react-codemod rename-unsafe-lifecycles\` in your project source folder.
207
+
208
+ Please update the following components: %s`,k)),0<M.size&&(k=T(M),console.warn(`componentWillUpdate has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.
209
+
210
+ * Move data fetching code or side effects to componentDidUpdate.
211
+ * Rename componentWillUpdate to UNSAFE_componentWillUpdate to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run \`npx react-codemod rename-unsafe-lifecycles\` in your project source folder.
212
+
213
+ Please update the following components: %s`,k))};var Cz=new Map,c_=new Set;d1.recordLegacyContextWarning=function($,U){var Q=null;for(var W=$;W!==null;)W.mode&_6&&(Q=W),W=W.return;Q===null?console.error("Expected to find a StrictMode component in a strict mode tree. This error is likely caused by a bug in React. Please file an issue."):!c_.has($.type)&&(W=Cz.get(Q),$.type.contextTypes!=null||$.type.childContextTypes!=null||U!==null&&typeof U.getChildContext==="function")&&(W===void 0&&(W=[],Cz.set(Q,W)),W.push($))},d1.flushLegacyContextWarning=function(){Cz.forEach(function($){if($.length!==0){var U=$[0],Q=new Set;$.forEach(function(M){Q.add(t(M)||"Component"),c_.add(M.type)});var W=T(Q);J0(U,function(){console.error(`Legacy context API has been detected within a strict-mode tree.
214
+
215
+ The old API will be supported in all 16.x releases, but applications using it should migrate to the new version.
216
+
217
+ Please update the following components: %s
218
+
219
+ Learn more about this warning here: https://react.dev/link/legacy-context`,W)})}})},d1.discardPendingWarnings=function(){WG=[],FG=[],HG=[],LG=[],MG=[],AG=[],Cz=new Map};var p_={react_stack_bottom_frame:function($,U,Q){var W=H4;H4=!0;try{return $(U,Q)}finally{H4=W}}},oK=p_.react_stack_bottom_frame.bind(p_),m_={react_stack_bottom_frame:function($){var U=H4;H4=!0;try{return $.render()}finally{H4=U}}},l_=m_.react_stack_bottom_frame.bind(m_),d_={react_stack_bottom_frame:function($,U){try{U.componentDidMount()}catch(Q){a$($,$.return,Q)}}},iK=d_.react_stack_bottom_frame.bind(d_),n_={react_stack_bottom_frame:function($,U,Q,W,M){try{U.componentDidUpdate(Q,W,M)}catch(_){a$($,$.return,_)}}},o_=n_.react_stack_bottom_frame.bind(n_),i_={react_stack_bottom_frame:function($,U){var Q=U.stack;$.componentDidCatch(U.value,{componentStack:Q!==null?Q:""})}},nk=i_.react_stack_bottom_frame.bind(i_),r_={react_stack_bottom_frame:function($,U,Q){try{Q.componentWillUnmount()}catch(W){a$($,U,W)}}},t_=r_.react_stack_bottom_frame.bind(r_),a_={react_stack_bottom_frame:function($){var U=$.create;return $=$.inst,U=U(),$.destroy=U}},ok=a_.react_stack_bottom_frame.bind(a_),s_={react_stack_bottom_frame:function($,U,Q){try{Q()}catch(W){a$($,U,W)}}},ik=s_.react_stack_bottom_frame.bind(s_),e_={react_stack_bottom_frame:function($){var U=$._init;return U($._payload)}},rk=e_.react_stack_bottom_frame.bind(e_),$Q=Error("Suspense Exception: This is not a real error! It's an implementation detail of `use` to interrupt the current render. You must either rethrow it immediately, or move the `use` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary, or call the promise's `.catch` method and pass the result to `use`."),rK=Error("Suspense Exception: This is not a real error, and should not leak into userspace. If you're seeing this, it's likely a bug in React."),Pz=Error("Suspense Exception: This is not a real error! It's an implementation detail of `useActionState` to interrupt the current render. You must either rethrow it immediately, or move the `useActionState` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary."),_z={then:function(){console.error('Internal React error: A listener was unexpectedly attached to a "noop" thenable. This is a bug in React. Please file an issue.')}},yI=null,TG=!1,UQ=null,CG=0,q$=null,tK,$E=tK=!1,UE={},XE={},IE={};S=function($,U,Q){if(Q!==null&&typeof Q==="object"&&Q._store&&(!Q._store.validated&&Q.key==null||Q._store.validated===2)){if(typeof Q._store!=="object")throw Error("React Component in warnForMissingKey should have a _store. This error is likely caused by a bug in React. Please file an issue.");Q._store.validated=1;var W=t($),M=W||"null";if(!UE[M]){UE[M]=!0,Q=Q._owner,$=$._debugOwner;var _="";$&&typeof $.tag==="number"&&(M=t($))&&(_=`
220
+
221
+ Check the render method of \``+M+"`."),_||W&&(_=`
222
+
223
+ Check the top-level render call using <`+W+">.");var k="";Q!=null&&$!==Q&&(W=null,typeof Q.tag==="number"?W=t(Q):typeof Q.name==="string"&&(W=Q.name),W&&(k=" It was passed a child from "+W+".")),J0(U,function(){console.error('Each child in a list should have a unique "key" prop.%s%s See https://react.dev/link/warning-keys for more information.',_,k)})}}};var bI=rA(!0),JE=rA(!1),QE=0,YE=1,GE=2,aK=3,hX=!1,ZE=!1,sK=null,eK=!1,XQ=C0(null),Ez=C0(0),V1=C0(null),N1=null,IQ=1,PG=2,tU=C0(0),Rz=0,q1=1,q6=2,D1=4,k6=8,JQ,zE=new Set,OE=new Set,$W=new Set,VE=new Set,s4=0,P$=null,GU=null,$6=null,Sz=!1,QQ=!1,uI=!1,jz=0,_G=0,e4=null,tk=0,ak=25,w0=null,k1=null,$X=-1,EG=!1,RG={readContext:SU,use:PX,useCallback:lU,useContext:lU,useEffect:lU,useImperativeHandle:lU,useLayoutEffect:lU,useInsertionEffect:lU,useMemo:lU,useReducer:lU,useRef:lU,useState:lU,useDebugValue:lU,useDeferredValue:lU,useTransition:lU,useSyncExternalStore:lU,useId:lU,useHostTransitionStatus:lU,useFormState:lU,useActionState:lU,useOptimistic:lU,useMemoCache:lU,useCacheRefresh:lU};RG.useEffectEvent=lU;var UW=null,DE=null,XW=null,KE=null,E4=null,n1=null,Bz=null;UW={readContext:function($){return SU($)},use:PX,useCallback:function($,U){return w0="useCallback",f$(),CJ(U),eD($,U)},useContext:function($){return w0="useContext",f$(),SU($)},useEffect:function($,U){return w0="useEffect",f$(),CJ(U),CZ($,U)},useImperativeHandle:function($,U,Q){return w0="useImperativeHandle",f$(),CJ(Q),sD($,U,Q)},useInsertionEffect:function($,U){w0="useInsertionEffect",f$(),CJ(U),_I(4,q6,$,U)},useLayoutEffect:function($,U){return w0="useLayoutEffect",f$(),CJ(U),aD($,U)},useMemo:function($,U){w0="useMemo",f$(),CJ(U);var Q=y0.H;y0.H=E4;try{return $8($,U)}finally{y0.H=Q}},useReducer:function($,U,Q){w0="useReducer",f$();var W=y0.H;y0.H=E4;try{return pD($,U,Q)}finally{y0.H=W}},useRef:function($){return w0="useRef",f$(),rD($)},useState:function($){w0="useState",f$();var U=y0.H;y0.H=E4;try{return nD($)}finally{y0.H=U}},useDebugValue:function(){w0="useDebugValue",f$()},useDeferredValue:function($,U){return w0="useDeferredValue",f$(),U8($,U)},useTransition:function(){return w0="useTransition",f$(),J8()},useSyncExternalStore:function($,U,Q){return w0="useSyncExternalStore",f$(),lD($,U,Q)},useId:function(){return w0="useId",f$(),Q8()},useFormState:function($,U){return w0="useFormState",f$(),HZ(),_J($,U)},useActionState:function($,U){return w0="useActionState",f$(),_J($,U)},useOptimistic:function($){return w0="useOptimistic",f$(),oD($)},useHostTransitionStatus:EI,useMemoCache:PI,useCacheRefresh:function(){return w0="useCacheRefresh",f$(),Y8()},useEffectEvent:function($){return w0="useEffectEvent",f$(),tD($)}},DE={readContext:function($){return SU($)},use:PX,useCallback:function($,U){return w0="useCallback",Y$(),eD($,U)},useContext:function($){return w0="useContext",Y$(),SU($)},useEffect:function($,U){return w0="useEffect",Y$(),CZ($,U)},useImperativeHandle:function($,U,Q){return w0="useImperativeHandle",Y$(),sD($,U,Q)},useInsertionEffect:function($,U){w0="useInsertionEffect",Y$(),_I(4,q6,$,U)},useLayoutEffect:function($,U){return w0="useLayoutEffect",Y$(),aD($,U)},useMemo:function($,U){w0="useMemo",Y$();var Q=y0.H;y0.H=E4;try{return $8($,U)}finally{y0.H=Q}},useReducer:function($,U,Q){w0="useReducer",Y$();var W=y0.H;y0.H=E4;try{return pD($,U,Q)}finally{y0.H=W}},useRef:function($){return w0="useRef",Y$(),rD($)},useState:function($){w0="useState",Y$();var U=y0.H;y0.H=E4;try{return nD($)}finally{y0.H=U}},useDebugValue:function(){w0="useDebugValue",Y$()},useDeferredValue:function($,U){return w0="useDeferredValue",Y$(),U8($,U)},useTransition:function(){return w0="useTransition",Y$(),J8()},useSyncExternalStore:function($,U,Q){return w0="useSyncExternalStore",Y$(),lD($,U,Q)},useId:function(){return w0="useId",Y$(),Q8()},useActionState:function($,U){return w0="useActionState",Y$(),_J($,U)},useFormState:function($,U){return w0="useFormState",Y$(),HZ(),_J($,U)},useOptimistic:function($){return w0="useOptimistic",Y$(),oD($)},useHostTransitionStatus:EI,useMemoCache:PI,useCacheRefresh:function(){return w0="useCacheRefresh",Y$(),Y8()},useEffectEvent:function($){return w0="useEffectEvent",Y$(),tD($)}},XW={readContext:function($){return SU($)},use:PX,useCallback:function($,U){return w0="useCallback",Y$(),EZ($,U)},useContext:function($){return w0="useContext",Y$(),SU($)},useEffect:function($,U){w0="useEffect",Y$(),m6(2048,k6,$,U)},useImperativeHandle:function($,U,Q){return w0="useImperativeHandle",Y$(),_Z($,U,Q)},useInsertionEffect:function($,U){return w0="useInsertionEffect",Y$(),m6(4,q6,$,U)},useLayoutEffect:function($,U){return w0="useLayoutEffect",Y$(),m6(4,D1,$,U)},useMemo:function($,U){w0="useMemo",Y$();var Q=y0.H;y0.H=n1;try{return RZ($,U)}finally{y0.H=Q}},useReducer:function($,U,Q){w0="useReducer",Y$();var W=y0.H;y0.H=n1;try{return PJ($,U,Q)}finally{y0.H=W}},useRef:function(){return w0="useRef",Y$(),UU().memoizedState},useState:function(){w0="useState",Y$();var $=y0.H;y0.H=n1;try{return PJ(h1)}finally{y0.H=$}},useDebugValue:function(){w0="useDebugValue",Y$()},useDeferredValue:function($,U){return w0="useDeferredValue",Y$(),LT($,U)},useTransition:function(){return w0="useTransition",Y$(),_T()},useSyncExternalStore:function($,U,Q){return w0="useSyncExternalStore",Y$(),MZ($,U,Q)},useId:function(){return w0="useId",Y$(),UU().memoizedState},useFormState:function($){return w0="useFormState",Y$(),HZ(),AZ($)},useActionState:function($){return w0="useActionState",Y$(),AZ($)},useOptimistic:function($,U){return w0="useOptimistic",Y$(),GT($,U)},useHostTransitionStatus:EI,useMemoCache:PI,useCacheRefresh:function(){return w0="useCacheRefresh",Y$(),UU().memoizedState},useEffectEvent:function($){return w0="useEffectEvent",Y$(),PZ($)}},KE={readContext:function($){return SU($)},use:PX,useCallback:function($,U){return w0="useCallback",Y$(),EZ($,U)},useContext:function($){return w0="useContext",Y$(),SU($)},useEffect:function($,U){w0="useEffect",Y$(),m6(2048,k6,$,U)},useImperativeHandle:function($,U,Q){return w0="useImperativeHandle",Y$(),_Z($,U,Q)},useInsertionEffect:function($,U){return w0="useInsertionEffect",Y$(),m6(4,q6,$,U)},useLayoutEffect:function($,U){return w0="useLayoutEffect",Y$(),m6(4,D1,$,U)},useMemo:function($,U){w0="useMemo",Y$();var Q=y0.H;y0.H=Bz;try{return RZ($,U)}finally{y0.H=Q}},useReducer:function($,U,Q){w0="useReducer",Y$();var W=y0.H;y0.H=Bz;try{return NY($,U,Q)}finally{y0.H=W}},useRef:function(){return w0="useRef",Y$(),UU().memoizedState},useState:function(){w0="useState",Y$();var $=y0.H;y0.H=Bz;try{return NY(h1)}finally{y0.H=$}},useDebugValue:function(){w0="useDebugValue",Y$()},useDeferredValue:function($,U){return w0="useDeferredValue",Y$(),MT($,U)},useTransition:function(){return w0="useTransition",Y$(),ET()},useSyncExternalStore:function($,U,Q){return w0="useSyncExternalStore",Y$(),MZ($,U,Q)},useId:function(){return w0="useId",Y$(),UU().memoizedState},useFormState:function($){return w0="useFormState",Y$(),HZ(),TZ($)},useActionState:function($){return w0="useActionState",Y$(),TZ($)},useOptimistic:function($,U){return w0="useOptimistic",Y$(),zT($,U)},useHostTransitionStatus:EI,useMemoCache:PI,useCacheRefresh:function(){return w0="useCacheRefresh",Y$(),UU().memoizedState},useEffectEvent:function($){return w0="useEffectEvent",Y$(),PZ($)}},E4={readContext:function($){return B(),SU($)},use:function($){return L(),PX($)},useCallback:function($,U){return w0="useCallback",L(),f$(),eD($,U)},useContext:function($){return w0="useContext",L(),f$(),SU($)},useEffect:function($,U){return w0="useEffect",L(),f$(),CZ($,U)},useImperativeHandle:function($,U,Q){return w0="useImperativeHandle",L(),f$(),sD($,U,Q)},useInsertionEffect:function($,U){w0="useInsertionEffect",L(),f$(),_I(4,q6,$,U)},useLayoutEffect:function($,U){return w0="useLayoutEffect",L(),f$(),aD($,U)},useMemo:function($,U){w0="useMemo",L(),f$();var Q=y0.H;y0.H=E4;try{return $8($,U)}finally{y0.H=Q}},useReducer:function($,U,Q){w0="useReducer",L(),f$();var W=y0.H;y0.H=E4;try{return pD($,U,Q)}finally{y0.H=W}},useRef:function($){return w0="useRef",L(),f$(),rD($)},useState:function($){w0="useState",L(),f$();var U=y0.H;y0.H=E4;try{return nD($)}finally{y0.H=U}},useDebugValue:function(){w0="useDebugValue",L(),f$()},useDeferredValue:function($,U){return w0="useDeferredValue",L(),f$(),U8($,U)},useTransition:function(){return w0="useTransition",L(),f$(),J8()},useSyncExternalStore:function($,U,Q){return w0="useSyncExternalStore",L(),f$(),lD($,U,Q)},useId:function(){return w0="useId",L(),f$(),Q8()},useFormState:function($,U){return w0="useFormState",L(),f$(),_J($,U)},useActionState:function($,U){return w0="useActionState",L(),f$(),_J($,U)},useOptimistic:function($){return w0="useOptimistic",L(),f$(),oD($)},useMemoCache:function($){return L(),PI($)},useHostTransitionStatus:EI,useCacheRefresh:function(){return w0="useCacheRefresh",f$(),Y8()},useEffectEvent:function($){return w0="useEffectEvent",L(),f$(),tD($)}},n1={readContext:function($){return B(),SU($)},use:function($){return L(),PX($)},useCallback:function($,U){return w0="useCallback",L(),Y$(),EZ($,U)},useContext:function($){return w0="useContext",L(),Y$(),SU($)},useEffect:function($,U){w0="useEffect",L(),Y$(),m6(2048,k6,$,U)},useImperativeHandle:function($,U,Q){return w0="useImperativeHandle",L(),Y$(),_Z($,U,Q)},useInsertionEffect:function($,U){return w0="useInsertionEffect",L(),Y$(),m6(4,q6,$,U)},useLayoutEffect:function($,U){return w0="useLayoutEffect",L(),Y$(),m6(4,D1,$,U)},useMemo:function($,U){w0="useMemo",L(),Y$();var Q=y0.H;y0.H=n1;try{return RZ($,U)}finally{y0.H=Q}},useReducer:function($,U,Q){w0="useReducer",L(),Y$();var W=y0.H;y0.H=n1;try{return PJ($,U,Q)}finally{y0.H=W}},useRef:function(){return w0="useRef",L(),Y$(),UU().memoizedState},useState:function(){w0="useState",L(),Y$();var $=y0.H;y0.H=n1;try{return PJ(h1)}finally{y0.H=$}},useDebugValue:function(){w0="useDebugValue",L(),Y$()},useDeferredValue:function($,U){return w0="useDeferredValue",L(),Y$(),LT($,U)},useTransition:function(){return w0="useTransition",L(),Y$(),_T()},useSyncExternalStore:function($,U,Q){return w0="useSyncExternalStore",L(),Y$(),MZ($,U,Q)},useId:function(){return w0="useId",L(),Y$(),UU().memoizedState},useFormState:function($){return w0="useFormState",L(),Y$(),AZ($)},useActionState:function($){return w0="useActionState",L(),Y$(),AZ($)},useOptimistic:function($,U){return w0="useOptimistic",L(),Y$(),GT($,U)},useMemoCache:function($){return L(),PI($)},useHostTransitionStatus:EI,useCacheRefresh:function(){return w0="useCacheRefresh",Y$(),UU().memoizedState},useEffectEvent:function($){return w0="useEffectEvent",L(),Y$(),PZ($)}},Bz={readContext:function($){return B(),SU($)},use:function($){return L(),PX($)},useCallback:function($,U){return w0="useCallback",L(),Y$(),EZ($,U)},useContext:function($){return w0="useContext",L(),Y$(),SU($)},useEffect:function($,U){w0="useEffect",L(),Y$(),m6(2048,k6,$,U)},useImperativeHandle:function($,U,Q){return w0="useImperativeHandle",L(),Y$(),_Z($,U,Q)},useInsertionEffect:function($,U){return w0="useInsertionEffect",L(),Y$(),m6(4,q6,$,U)},useLayoutEffect:function($,U){return w0="useLayoutEffect",L(),Y$(),m6(4,D1,$,U)},useMemo:function($,U){w0="useMemo",L(),Y$();var Q=y0.H;y0.H=n1;try{return RZ($,U)}finally{y0.H=Q}},useReducer:function($,U,Q){w0="useReducer",L(),Y$();var W=y0.H;y0.H=n1;try{return NY($,U,Q)}finally{y0.H=W}},useRef:function(){return w0="useRef",L(),Y$(),UU().memoizedState},useState:function(){w0="useState",L(),Y$();var $=y0.H;y0.H=n1;try{return NY(h1)}finally{y0.H=$}},useDebugValue:function(){w0="useDebugValue",L(),Y$()},useDeferredValue:function($,U){return w0="useDeferredValue",L(),Y$(),MT($,U)},useTransition:function(){return w0="useTransition",L(),Y$(),ET()},useSyncExternalStore:function($,U,Q){return w0="useSyncExternalStore",L(),Y$(),MZ($,U,Q)},useId:function(){return w0="useId",L(),Y$(),UU().memoizedState},useFormState:function($){return w0="useFormState",L(),Y$(),TZ($)},useActionState:function($){return w0="useActionState",L(),Y$(),TZ($)},useOptimistic:function($,U){return w0="useOptimistic",L(),Y$(),zT($,U)},useMemoCache:function($){return L(),PI($)},useHostTransitionStatus:EI,useCacheRefresh:function(){return w0="useCacheRefresh",Y$(),UU().memoizedState},useEffectEvent:function($){return w0="useEffectEvent",L(),Y$(),PZ($)}};var WE={},FE=new Set,HE=new Set,LE=new Set,ME=new Set,AE=new Set,TE=new Set,CE=new Set,PE=new Set,_E=new Set,EE=new Set;Object.freeze(WE);var IW={enqueueSetState:function($,U,Q){$=$._reactInternals;var W=Q1($),M=MX(W);M.payload=U,Q!==void 0&&Q!==null&&(Z8(Q),M.callback=Q),U=AX($,M,W),U!==null&&(U4(W,"this.setState()",$),gU(U,$,W),SY(U,$,W))},enqueueReplaceState:function($,U,Q){$=$._reactInternals;var W=Q1($),M=MX(W);M.tag=YE,M.payload=U,Q!==void 0&&Q!==null&&(Z8(Q),M.callback=Q),U=AX($,M,W),U!==null&&(U4(W,"this.replaceState()",$),gU(U,$,W),SY(U,$,W))},enqueueForceUpdate:function($,U){$=$._reactInternals;var Q=Q1($),W=MX(Q);W.tag=GE,U!==void 0&&U!==null&&(Z8(U),W.callback=U),U=AX($,W,Q),U!==null&&(U4(Q,"this.forceUpdate()",$),gU(U,$,Q),SY(U,$,Q))}},YQ=null,JW=null,QW=Error("This is not a real error. It's an implementation detail of React's selective hydration feature. If this leaks into userspace, it's a bug in React. Please file an issue."),U6=!1,RE={},SE={},jE={},BE={},GQ=!1,vE={},vz={},YW={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null},NE=!1,qE=null;qE=new Set;var UX=!1,X6=!1,GW=!1,kE=typeof WeakSet==="function"?WeakSet:Set,V6=null,ZQ=null,zQ=null,I6=null,n6=!1,o1=null,Y6=!1,SG=8192,sk={getCacheForType:function($){var U=SU(sU),Q=U.data.get($);return Q===void 0&&(Q=$(),U.data.set($,Q)),Q},cacheSignal:function(){return SU(sU).controller.signal},getOwner:function(){return Z1}};if(typeof Symbol==="function"&&Symbol.for){var jG=Symbol.for;jG("selector.component"),jG("selector.has_pseudo_class"),jG("selector.role"),jG("selector.test_id"),jG("selector.text")}var ek=[],$x=typeof WeakMap==="function"?WeakMap:Map,D6=0,G6=2,K1=4,XX=0,BG=1,hI=2,Nz=3,cX=4,qz=6,xE=5,n$=D6,ZU=null,w$=null,k$=0,o6=0,kz=1,cI=2,vG=3,gE=4,ZW=5,NG=6,xz=7,zW=8,pI=9,XU=o6,W1=null,pX=!1,OQ=!1,OW=!1,R4=0,kU=XX,mX=0,lX=0,VW=0,i6=0,mI=0,qG=null,x6=null,gz=!1,wz=0,wE=0,fE=300,fz=1/0,yE=500,kG=null,dU=null,dX=null,yz=0,DW=1,KW=2,bE=3,nX=0,uE=1,hE=2,cE=3,pE=4,bz=5,J6=0,oX=null,VQ=null,i1=0,WW=0,FW=-0,HW=null,mE=null,lE=null,r1=yz,dE=null,Ux=50,xG=0,LW=null,MW=!1,uz=!1,Xx=50,lI=0,gG=null,DQ=!1,hz=null,nE=!1,oE=new Set,Ix={},cz=null,KQ=null,AW=!1,TW=!1,pz=!1,CW=!1,iX=0,PW={};(function(){for(var $=0;$<xK.length;$++){var U=xK[$],Q=U.toLowerCase();U=U[0].toUpperCase()+U.slice(1),u1(Q,"on"+U)}u1(__,"onAnimationEnd"),u1(E_,"onAnimationIteration"),u1(R_,"onAnimationStart"),u1("dblclick","onDoubleClick"),u1("focusin","onFocus"),u1("focusout","onBlur"),u1(xk,"onTransitionRun"),u1(gk,"onTransitionStart"),u1(wk,"onTransitionCancel"),u1(S_,"onTransitionEnd")})(),i0("onMouseEnter",["mouseout","mouseover"]),i0("onMouseLeave",["mouseout","mouseover"]),i0("onPointerEnter",["pointerout","pointerover"]),i0("onPointerLeave",["pointerout","pointerover"]),n0("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),n0("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),n0("onBeforeInput",["compositionend","keypress","textInput","paste"]),n0("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),n0("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),n0("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var wG="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),_W=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(wG)),mz="_reactListening"+Math.random().toString(36).slice(2),iE=!1,rE=!1,lz=!1,tE=!1,dz=!1,nz=!1,aE=!1,oz={},Jx=/\r\n?/g,Qx=/\u0000|\uFFFD/g,dI="http://www.w3.org/1999/xlink",EW="http://www.w3.org/XML/1998/namespace",Yx="javascript:throw new Error('React form unexpectedly submitted.')",Gx="suppressHydrationWarning",nI="&",iz="/&",fG="$",yG="/$",rX="$?",oI="$~",WQ="$!",Zx="html",zx="body",Ox="head",RW="F!",sE="F",eE="loading",Vx="style",IX=0,FQ=1,rz=2,SW=null,jW=null,$R={dialog:!0,webview:!0},BW=null,bG=void 0,UR=typeof setTimeout==="function"?setTimeout:void 0,Dx=typeof clearTimeout==="function"?clearTimeout:void 0,iI=-1,XR=typeof Promise==="function"?Promise:void 0,Kx=typeof queueMicrotask==="function"?queueMicrotask:typeof XR<"u"?function($){return XR.resolve(null).then($).catch(aq)}:UR,vW=null,rI=0,uG=1,IR=2,JR=3,x1=4,g1=new Map,QR=new Set,JX=s$.d;s$.d={f:function(){var $=JX.f(),U=BJ();return $||U},r:function($){var U=F$($);U!==null&&U.tag===5&&U.type==="form"?PT(U):JX.r($)},D:function($){JX.D($),FP("dns-prefetch",$,null)},C:function($,U){JX.C($,U),FP("preconnect",$,U)},L:function($,U,Q){JX.L($,U,Q);var W=HQ;if(W&&$&&U){var M='link[rel="preload"][as="'+e$(U)+'"]';U==="image"?Q&&Q.imageSrcSet?(M+='[imagesrcset="'+e$(Q.imageSrcSet)+'"]',typeof Q.imageSizes==="string"&&(M+='[imagesizes="'+e$(Q.imageSizes)+'"]')):M+='[href="'+e$($)+'"]':M+='[href="'+e$($)+'"]';var _=M;switch(U){case"style":_=qJ($);break;case"script":_=kJ($)}g1.has(_)||($=y$({rel:"preload",href:U==="image"&&Q&&Q.imageSrcSet?void 0:$,as:U},Q),g1.set(_,$),W.querySelector(M)!==null||U==="style"&&W.querySelector(dY(_))||U==="script"&&W.querySelector(nY(_))||(U=W.createElement("link"),L6(U,"link",$),D$(U),W.head.appendChild(U)))}},m:function($,U){JX.m($,U);var Q=HQ;if(Q&&$){var W=U&&typeof U.as==="string"?U.as:"script",M='link[rel="modulepreload"][as="'+e$(W)+'"][href="'+e$($)+'"]',_=M;switch(W){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":_=kJ($)}if(!g1.has(_)&&($=y$({rel:"modulepreload",href:$},U),g1.set(_,$),Q.querySelector(M)===null)){switch(W){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(Q.querySelector(nY(_)))return}W=Q.createElement("link"),L6(W,"link",$),D$(W),Q.head.appendChild(W)}}},X:function($,U){JX.X($,U);var Q=HQ;if(Q&&$){var W=f0(Q).hoistableScripts,M=kJ($),_=W.get(M);_||(_=Q.querySelector(nY(M)),_||($=y$({src:$,async:!0},U),(U=g1.get(M))&&s8($,U),_=Q.createElement("script"),D$(_),L6(_,"link",$),Q.head.appendChild(_)),_={type:"script",instance:_,count:1,state:null},W.set(M,_))}},S:function($,U,Q){JX.S($,U,Q);var W=HQ;if(W&&$){var M=f0(W).hoistableStyles,_=qJ($);U=U||"default";var k=M.get(_);if(!k){var f={loading:rI,preload:null};if(k=W.querySelector(dY(_)))f.loading=uG|x1;else{$=y$({rel:"stylesheet",href:$,"data-precedence":U},Q),(Q=g1.get(_))&&a8($,Q);var l=k=W.createElement("link");D$(l),L6(l,"link",$),l._p=new Promise(function(o,P0){l.onload=o,l.onerror=P0}),l.addEventListener("load",function(){f.loading|=uG}),l.addEventListener("error",function(){f.loading|=IR}),f.loading|=x1,lZ(k,U,W)}k={type:"stylesheet",instance:k,count:1,state:f},M.set(_,k)}}},M:function($,U){JX.M($,U);var Q=HQ;if(Q&&$){var W=f0(Q).hoistableScripts,M=kJ($),_=W.get(M);_||(_=Q.querySelector(nY(M)),_||($=y$({src:$,async:!0,type:"module"},U),(U=g1.get(M))&&s8($,U),_=Q.createElement("script"),D$(_),L6(_,"link",$),Q.head.appendChild(_)),_={type:"script",instance:_,count:1,state:null},W.set(M,_))}}};var HQ=typeof document>"u"?null:document,tz=null,Wx=60000,Fx=800,Hx=500,NW=0,qW=null,az=null,tI=q3,hG={$$typeof:F4,Provider:null,Consumer:null,_currentValue:tI,_currentValue2:tI,_threadCount:0},YR="%c%s%c",GR="background: #e6e6e6;background: light-dark(rgba(0,0,0,0.1), rgba(255,255,255,0.25));color: #000000;color: light-dark(#000000, #ffffff);border-radius: 2px",ZR="",sz=" ",Lx=Function.prototype.bind,zR=!1,OR=null,VR=null,DR=null,KR=null,WR=null,FR=null,HR=null,LR=null,MR=null,AR=null;OR=function($,U,Q,W){U=X($,U),U!==null&&(Q=J(U.memoizedState,Q,0,W),U.memoizedState=Q,U.baseState=Q,$.memoizedProps=y$({},$.memoizedProps),Q=C6($,2),Q!==null&&gU(Q,$,2))},VR=function($,U,Q){U=X($,U),U!==null&&(Q=I(U.memoizedState,Q,0),U.memoizedState=Q,U.baseState=Q,$.memoizedProps=y$({},$.memoizedProps),Q=C6($,2),Q!==null&&gU(Q,$,2))},DR=function($,U,Q,W){U=X($,U),U!==null&&(Q=Y(U.memoizedState,Q,W),U.memoizedState=Q,U.baseState=Q,$.memoizedProps=y$({},$.memoizedProps),Q=C6($,2),Q!==null&&gU(Q,$,2))},KR=function($,U,Q){$.pendingProps=J($.memoizedProps,U,0,Q),$.alternate&&($.alternate.pendingProps=$.pendingProps),U=C6($,2),U!==null&&gU(U,$,2)},WR=function($,U){$.pendingProps=I($.memoizedProps,U,0),$.alternate&&($.alternate.pendingProps=$.pendingProps),U=C6($,2),U!==null&&gU(U,$,2)},FR=function($,U,Q){$.pendingProps=Y($.memoizedProps,U,Q),$.alternate&&($.alternate.pendingProps=$.pendingProps),U=C6($,2),U!==null&&gU(U,$,2)},HR=function($){var U=C6($,2);U!==null&&gU(U,$,2)},LR=function($){var U=L$(),Q=C6($,U);Q!==null&&gU(Q,$,U)},MR=function($){Z=$},AR=function($){O=$};var ez=!0,$O=null,kW=!1,tX=null,aX=null,sX=null,cG=new Map,pG=new Map,eX=[],Mx="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset".split(" "),UO=null;if(rZ.prototype.render=JK.prototype.render=function($){var U=this._internalRoot;if(U===null)throw Error("Cannot update an unmounted root.");var Q=arguments;typeof Q[1]==="function"?console.error("does not support the second callback argument. To execute a side effect after rendering, declare it in a component body with useEffect()."):w(Q[1])?console.error("You passed a container to the second argument of root.render(...). You don't need to pass it again since you already passed it to create the root."):typeof Q[1]<"u"&&console.error("You passed a second argument to root.render(...) but it only accepts one argument."),Q=$;var W=U.current,M=Q1(W);e8(W,M,Q,U,null,null)},rZ.prototype.unmount=JK.prototype.unmount=function(){var $=arguments;if(typeof $[0]==="function"&&console.error("does not support a callback argument. To execute a side effect after rendering, declare it in a component body with useEffect()."),$=this._internalRoot,$!==null){this._internalRoot=null;var U=$.containerInfo;(n$&(G6|K1))!==D6&&console.error("Attempted to synchronously unmount a root while React was already rendering. React cannot finish unmounting the root until the current render has completed, which may lead to a race condition."),e8($.current,2,null,$,null,null),BJ(),U[vX]=null}},rZ.prototype.unstable_scheduleHydration=function($){if($){var U=I0();$={blockedOn:null,target:$,priority:U};for(var Q=0;Q<eX.length&&U!==0&&U<eX[Q].priority;Q++);eX.splice(Q,0,$),Q===0&&vP($)}},function(){var $=MQ.version;if($!=="19.2.7")throw Error(`Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:
224
+ - react: `+($+`
225
+ - react-dom: 19.2.7
226
+ Learn more: https://react.dev/warnings/version-mismatch`))}(),typeof Map==="function"&&Map.prototype!=null&&typeof Map.prototype.forEach==="function"&&typeof Set==="function"&&Set.prototype!=null&&typeof Set.prototype.clear==="function"&&typeof Set.prototype.forEach==="function"||console.error("React depends on Map and Set built-in types. Make sure that you load a polyfill in older browsers. https://react.dev/link/react-polyfills"),s$.findDOMNode=function($){var U=$._reactInternals;if(U===void 0){if(typeof $.render==="function")throw Error("Unable to find node on an unmounted component.");throw $=Object.keys($).join(","),Error("Argument appears to not be a ReactComponent. Keys: "+$)}return $=d(U),$=$!==null?a($):null,$=$===null?null:$.stateNode,$},!function(){var $={bundleType:1,version:"19.2.7",rendererPackageName:"react-dom",currentDispatcherRef:y0,reconcilerVersion:"19.2.7"};return $.overrideHookState=OR,$.overrideHookStateDeletePath=VR,$.overrideHookStateRenamePath=DR,$.overrideProps=KR,$.overridePropsDeletePath=WR,$.overridePropsRenamePath=FR,$.scheduleUpdate=HR,$.scheduleRetry=LR,$.setErrorHandler=MR,$.setSuspenseHandler=AR,$.scheduleRefresh=q,$.scheduleRoot=v,$.setRefreshHandler=y,$.getCurrentFiber=_3,D0($)}()&&T4&&window.top===window.self&&(-1<navigator.userAgent.indexOf("Chrome")&&navigator.userAgent.indexOf("Edge")===-1||-1<navigator.userAgent.indexOf("Firefox"))){var TR=window.location.protocol;/^(https?|file):$/.test(TR)&&console.info("%cDownload the React DevTools for a better development experience: https://react.dev/link/react-devtools"+(TR==="file:"?`
227
+ You might need to use a local HTTP server (instead of file://): https://react.dev/link/react-devtools-faq`:""),"font-weight:bold")}kx.createRoot=function($,U){if(!w($))throw Error("Target container is not a DOM element.");xP($);var Q=!1,W="",M=NT,_=qT,k=kT;return U!==null&&U!==void 0&&(U.hydrate?console.warn("hydrate through createRoot is deprecated. Use ReactDOMClient.hydrateRoot(container, <App />) instead."):typeof U==="object"&&U!==null&&U.$$typeof===W4&&console.error(`You passed a JSX element to createRoot. You probably meant to call root.render instead. Example usage:
228
+
229
+ let root = createRoot(domContainer);
230
+ root.render(<App />);`),U.unstable_strictMode===!0&&(Q=!0),U.identifierPrefix!==void 0&&(W=U.identifierPrefix),U.onUncaughtError!==void 0&&(M=U.onUncaughtError),U.onCaughtError!==void 0&&(_=U.onCaughtError),U.onRecoverableError!==void 0&&(k=U.onRecoverableError)),U=PP($,1,!1,null,null,Q,W,null,M,_,k,kP),$[vX]=U.current,u8($),new JK(U)},kx.hydrateRoot=function($,U,Q){if(!w($))throw Error("Target container is not a DOM element.");xP($),U===void 0&&console.error("Must provide initial children as second argument to hydrateRoot. Example usage: hydrateRoot(domContainer, <App />)");var W=!1,M="",_=NT,k=qT,f=kT,l=null;return Q!==null&&Q!==void 0&&(Q.unstable_strictMode===!0&&(W=!0),Q.identifierPrefix!==void 0&&(M=Q.identifierPrefix),Q.onUncaughtError!==void 0&&(_=Q.onUncaughtError),Q.onCaughtError!==void 0&&(k=Q.onCaughtError),Q.onRecoverableError!==void 0&&(f=Q.onRecoverableError),Q.formState!==void 0&&(l=Q.formState)),U=PP($,1,!0,U,Q!=null?Q:null,W,M,l,_,k,f,kP),U.context=_P(null),Q=U.current,W=Q1(Q),W=r0(W),M=MX(W),M.callback=null,AX(Q,M,W),U4(W,"hydrateRoot()",null),Q=W,U.current.lanes=Q,c0(U,Q),D4(U),$[vX]=U.current,u8($),new rZ(U)},kx.version="19.2.7",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()});var qR=YX((cl,NR)=>{var xx=w1(vR());NR.exports=xx});var nU={};g6(nU,{transcode:()=>Mg,resolveObjectURL:()=>Fg,kStringMaxLength:()=>hR,kMaxLength:()=>dG,isUtf8:()=>Hg,isAscii:()=>Lg,default:()=>Ag,constants:()=>mx,btoa:()=>ux,atob:()=>hx,INSPECT_MAX_BYTES:()=>uR,File:()=>cx,Buffer:()=>l0,Blob:()=>px});function gx(X){var J=X.length;if(J%4>0)throw Error("Invalid string. Length must be a multiple of 4");var Y=X.indexOf("=");if(Y===-1)Y=J;var V=Y===J?0:4-Y%4;return[Y,V]}function wx(X,J){return(X+J)*3/4-J}function fx(X){var J,Y=gx(X),V=Y[0],I=Y[1],O=new Uint8Array(wx(V,I)),Z=0,L=I>0?V-4:V,B;for(B=0;B<L;B+=4)J=f1[X.charCodeAt(B)]<<18|f1[X.charCodeAt(B+1)]<<12|f1[X.charCodeAt(B+2)]<<6|f1[X.charCodeAt(B+3)],O[Z++]=J>>16&255,O[Z++]=J>>8&255,O[Z++]=J&255;if(I===2)J=f1[X.charCodeAt(B)]<<2|f1[X.charCodeAt(B+1)]>>4,O[Z++]=J&255;if(I===1)J=f1[X.charCodeAt(B)]<<10|f1[X.charCodeAt(B+1)]<<4|f1[X.charCodeAt(B+2)]>>2,O[Z++]=J>>8&255,O[Z++]=J&255;return O}function yx(X){return S4[X>>18&63]+S4[X>>12&63]+S4[X>>6&63]+S4[X&63]}function bx(X,J,Y){var V,I=[];for(var O=J;O<Y;O+=3)V=(X[O]<<16&16711680)+(X[O+1]<<8&65280)+(X[O+2]&255),I.push(yx(V));return I.join("")}function xR(X){var J,Y=X.length,V=Y%3,I=[],O=16383;for(var Z=0,L=Y-V;Z<L;Z+=O)I.push(bx(X,Z,Z+O>L?L:Z+O));if(V===1)J=X[Y-1],I.push(S4[J>>2]+S4[J<<4&63]+"==");else if(V===2)J=(X[Y-2]<<8)+X[Y-1],I.push(S4[J>>10]+S4[J>>4&63]+S4[J<<2&63]+"=");return I.join("")}function IO(X,J,Y,V,I){var O,Z,L=I*8-V-1,B=(1<<L)-1,R=B>>1,S=-7,T=Y?I-1:0,E=Y?-1:1,v=X[J+T];T+=E,O=v&(1<<-S)-1,v>>=-S,S+=L;for(;S>0;O=O*256+X[J+T],T+=E,S-=8);Z=O&(1<<-S)-1,O>>=-S,S+=V;for(;S>0;Z=Z*256+X[J+T],T+=E,S-=8);if(O===0)O=1-R;else if(O===B)return Z?NaN:(v?-1:1)*(1/0);else Z=Z+Math.pow(2,V),O=O-R;return(v?-1:1)*Z*Math.pow(2,O-V)}function bR(X,J,Y,V,I,O){var Z,L,B,R=O*8-I-1,S=(1<<R)-1,T=S>>1,E=I===23?Math.pow(2,-24)-Math.pow(2,-77):0,v=V?0:O-1,q=V?1:-1,y=J<0||J===0&&1/J<0?1:0;if(J=Math.abs(J),isNaN(J)||J===1/0)L=isNaN(J)?1:0,Z=S;else{if(Z=Math.floor(Math.log(J)/Math.LN2),J*(B=Math.pow(2,-Z))<1)Z--,B*=2;if(Z+T>=1)J+=E/B;else J+=E*Math.pow(2,1-T);if(J*B>=2)Z++,B/=2;if(Z+T>=S)L=0,Z=S;else if(Z+T>=1)L=(J*B-1)*Math.pow(2,I),Z=Z+T;else L=J*Math.pow(2,T-1)*Math.pow(2,I),Z=0}for(;I>=8;X[Y+v]=L&255,v+=q,L/=256,I-=8);Z=Z<<I|L,R+=I;for(;R>0;X[Y+v]=Z&255,v+=q,Z/=256,R-=8);X[Y+v-q]|=y*128}function GX(X){if(X>dG)throw RangeError('The value "'+X+'" is invalid for option "size"');let J=new Uint8Array(X);return Object.setPrototypeOf(J,l0.prototype),J}function hW(X,J,Y){return class extends Y{constructor(){super();Object.defineProperty(this,"message",{value:J.apply(this,arguments),writable:!0,configurable:!0}),this.name=`${this.name} [${X}]`,this.stack,delete this.name}get code(){return X}set code(V){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:V,writable:!0})}toString(){return`${this.name} [${X}]: ${this.message}`}}}function l0(X,J,Y){if(typeof X==="number"){if(typeof J==="string")throw TypeError('The "string" argument must be of type string. Received type number');return cW(X)}return cR(X,J,Y)}function cR(X,J,Y){if(typeof X==="string")return ox(X,J);if(ArrayBuffer.isView(X))return ix(X);if(X==null)throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof X);if(j4(X,ArrayBuffer)||X&&j4(X.buffer,ArrayBuffer))return bW(X,J,Y);if(typeof SharedArrayBuffer<"u"&&(j4(X,SharedArrayBuffer)||X&&j4(X.buffer,SharedArrayBuffer)))return bW(X,J,Y);if(typeof X==="number")throw TypeError('The "value" argument must not be of type number. Received type number');let V=X.valueOf&&X.valueOf();if(V!=null&&V!==X)return l0.from(V,J,Y);let I=rx(X);if(I)return I;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof X[Symbol.toPrimitive]==="function")return l0.from(X[Symbol.toPrimitive]("string"),J,Y);throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof X)}function pR(X){if(typeof X!=="number")throw TypeError('"size" argument must be of type number');else if(X<0)throw RangeError('The value "'+X+'" is invalid for option "size"')}function nx(X,J,Y){if(pR(X),X<=0)return GX(X);if(J!==void 0)return typeof Y==="string"?GX(X).fill(J,Y):GX(X).fill(J);return GX(X)}function cW(X){return pR(X),GX(X<0?0:pW(X)|0)}function ox(X,J){if(typeof J!=="string"||J==="")J="utf8";if(!l0.isEncoding(J))throw TypeError("Unknown encoding: "+J);let Y=mR(X,J)|0,V=GX(Y),I=V.write(X,J);if(I!==Y)V=V.slice(0,I);return V}function yW(X){let J=X.length<0?0:pW(X.length)|0,Y=GX(J);for(let V=0;V<J;V+=1)Y[V]=X[V]&255;return Y}function ix(X){if(j4(X,Uint8Array)){let J=new Uint8Array(X);return bW(J.buffer,J.byteOffset,J.byteLength)}return yW(X)}function bW(X,J,Y){if(J<0||X.byteLength<J)throw RangeError('"offset" is outside of buffer bounds');if(X.byteLength<J+(Y||0))throw RangeError('"length" is outside of buffer bounds');let V;if(J===void 0&&Y===void 0)V=new Uint8Array(X);else if(Y===void 0)V=new Uint8Array(X,J);else V=new Uint8Array(X,J,Y);return Object.setPrototypeOf(V,l0.prototype),V}function rx(X){if(l0.isBuffer(X)){let J=pW(X.length)|0,Y=GX(J);if(Y.length===0)return Y;return X.copy(Y,0,0,J),Y}if(X.length!==void 0){if(typeof X.length!=="number"||Number.isNaN(X.length))return GX(0);return yW(X)}if(X.type==="Buffer"&&Array.isArray(X.data))return yW(X.data)}function pW(X){if(X>=dG)throw RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+dG.toString(16)+" bytes");return X|0}function mR(X,J){if(l0.isBuffer(X))return X.length;if(ArrayBuffer.isView(X)||j4(X,ArrayBuffer))return X.byteLength;if(typeof X!=="string")throw TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof X);let Y=X.length,V=arguments.length>2&&arguments[2]===!0;if(!V&&Y===0)return 0;let I=!1;for(;;)switch(J){case"ascii":case"latin1":case"binary":return Y;case"utf8":case"utf-8":return uW(X).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Y*2;case"hex":return Y>>>1;case"base64":return sR(X).length;default:if(I)return V?-1:uW(X).length;J=(""+J).toLowerCase(),I=!0}}function tx(X,J,Y){let V=!1;if(J===void 0||J<0)J=0;if(J>this.length)return"";if(Y===void 0||Y>this.length)Y=this.length;if(Y<=0)return"";if(Y>>>=0,J>>>=0,Y<=J)return"";if(!X)X="utf8";while(!0)switch(X){case"hex":return Yg(this,J,Y);case"utf8":case"utf-8":return dR(this,J,Y);case"ascii":return Jg(this,J,Y);case"latin1":case"binary":return Qg(this,J,Y);case"base64":return Xg(this,J,Y);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Gg(this,J,Y);default:if(V)throw TypeError("Unknown encoding: "+X);X=(X+"").toLowerCase(),V=!0}}function eI(X,J,Y){let V=X[J];X[J]=X[Y],X[Y]=V}function lR(X,J,Y,V,I){if(X.length===0)return-1;if(typeof Y==="string")V=Y,Y=0;else if(Y>2147483647)Y=2147483647;else if(Y<-2147483648)Y=-2147483648;if(Y=+Y,Number.isNaN(Y))Y=I?0:X.length-1;if(Y<0)Y=X.length+Y;if(Y>=X.length)if(I)return-1;else Y=X.length-1;else if(Y<0)if(I)Y=0;else return-1;if(typeof J==="string")J=l0.from(J,V);if(l0.isBuffer(J)){if(J.length===0)return-1;return wR(X,J,Y,V,I)}else if(typeof J==="number"){if(J=J&255,typeof Uint8Array.prototype.indexOf==="function")if(I)return Uint8Array.prototype.indexOf.call(X,J,Y);else return Uint8Array.prototype.lastIndexOf.call(X,J,Y);return wR(X,[J],Y,V,I)}throw TypeError("val must be string, number or Buffer")}function wR(X,J,Y,V,I){let O=1,Z=X.length,L=J.length;if(V!==void 0){if(V=String(V).toLowerCase(),V==="ucs2"||V==="ucs-2"||V==="utf16le"||V==="utf-16le"){if(X.length<2||J.length<2)return-1;O=2,Z/=2,L/=2,Y/=2}}function B(S,T){if(O===1)return S[T];else return S.readUInt16BE(T*O)}let R;if(I){let S=-1;for(R=Y;R<Z;R++)if(B(X,R)===B(J,S===-1?0:R-S)){if(S===-1)S=R;if(R-S+1===L)return S*O}else{if(S!==-1)R-=R-S;S=-1}}else{if(Y+L>Z)Y=Z-L;for(R=Y;R>=0;R--){let S=!0;for(let T=0;T<L;T++)if(B(X,R+T)!==B(J,T)){S=!1;break}if(S)return R}}return-1}function ax(X,J,Y,V){Y=Number(Y)||0;let I=X.length-Y;if(!V)V=I;else if(V=Number(V),V>I)V=I;let O=J.length;if(V>O/2)V=O/2;let Z;for(Z=0;Z<V;++Z){let L=parseInt(J.substr(Z*2,2),16);if(Number.isNaN(L))return Z;X[Y+Z]=L}return Z}function sx(X,J,Y,V){return JO(uW(J,X.length-Y),X,Y,V)}function ex(X,J,Y,V){return JO(Vg(J),X,Y,V)}function $g(X,J,Y,V){return JO(sR(J),X,Y,V)}function Ug(X,J,Y,V){return JO(Dg(J,X.length-Y),X,Y,V)}function Xg(X,J,Y){if(J===0&&Y===X.length)return xR(X);else return xR(X.slice(J,Y))}function dR(X,J,Y){Y=Math.min(X.length,Y);let V=[],I=J;while(I<Y){let O=X[I],Z=null,L=O>239?4:O>223?3:O>191?2:1;if(I+L<=Y){let B,R,S,T;switch(L){case 1:if(O<128)Z=O;break;case 2:if(B=X[I+1],(B&192)===128){if(T=(O&31)<<6|B&63,T>127)Z=T}break;case 3:if(B=X[I+1],R=X[I+2],(B&192)===128&&(R&192)===128){if(T=(O&15)<<12|(B&63)<<6|R&63,T>2047&&(T<55296||T>57343))Z=T}break;case 4:if(B=X[I+1],R=X[I+2],S=X[I+3],(B&192)===128&&(R&192)===128&&(S&192)===128){if(T=(O&15)<<18|(B&63)<<12|(R&63)<<6|S&63,T>65535&&T<1114112)Z=T}}}if(Z===null)Z=65533,L=1;else if(Z>65535)Z-=65536,V.push(Z>>>10&1023|55296),Z=56320|Z&1023;V.push(Z),I+=L}return Ig(V)}function Ig(X){let J=X.length;if(J<=fR)return String.fromCharCode.apply(String,X);let Y="",V=0;while(V<J)Y+=String.fromCharCode.apply(String,X.slice(V,V+=fR));return Y}function Jg(X,J,Y){let V="";Y=Math.min(X.length,Y);for(let I=J;I<Y;++I)V+=String.fromCharCode(X[I]&127);return V}function Qg(X,J,Y){let V="";Y=Math.min(X.length,Y);for(let I=J;I<Y;++I)V+=String.fromCharCode(X[I]);return V}function Yg(X,J,Y){let V=X.length;if(!J||J<0)J=0;if(!Y||Y<0||Y>V)Y=V;let I="";for(let O=J;O<Y;++O)I+=Kg[X[O]];return I}function Gg(X,J,Y){let V=X.slice(J,Y),I="";for(let O=0;O<V.length-1;O+=2)I+=String.fromCharCode(V[O]+V[O+1]*256);return I}function K6(X,J,Y){if(X%1!==0||X<0)throw RangeError("offset is not uint");if(X+J>Y)throw RangeError("Trying to access beyond buffer length")}function r6(X,J,Y,V,I,O){if(!l0.isBuffer(X))throw TypeError('"buffer" argument must be a Buffer instance');if(J>I||J<O)throw RangeError('"value" argument is out of bounds');if(Y+V>X.length)throw RangeError("Index out of range")}function nR(X,J,Y,V,I){aR(J,V,I,X,Y,7);let O=Number(J&BigInt(4294967295));X[Y++]=O,O=O>>8,X[Y++]=O,O=O>>8,X[Y++]=O,O=O>>8,X[Y++]=O;let Z=Number(J>>BigInt(32)&BigInt(4294967295));return X[Y++]=Z,Z=Z>>8,X[Y++]=Z,Z=Z>>8,X[Y++]=Z,Z=Z>>8,X[Y++]=Z,Y}function oR(X,J,Y,V,I){aR(J,V,I,X,Y,7);let O=Number(J&BigInt(4294967295));X[Y+7]=O,O=O>>8,X[Y+6]=O,O=O>>8,X[Y+5]=O,O=O>>8,X[Y+4]=O;let Z=Number(J>>BigInt(32)&BigInt(4294967295));return X[Y+3]=Z,Z=Z>>8,X[Y+2]=Z,Z=Z>>8,X[Y+1]=Z,Z=Z>>8,X[Y]=Z,Y+8}function iR(X,J,Y,V,I,O){if(Y+V>X.length)throw RangeError("Index out of range");if(Y<0)throw RangeError("Index out of range")}function rR(X,J,Y,V,I){if(J=+J,Y=Y>>>0,!I)iR(X,J,Y,4,340282346638528860000000000000000000000,-340282346638528860000000000000000000000);return bR(X,J,Y,V,23,4),Y+4}function tR(X,J,Y,V,I){if(J=+J,Y=Y>>>0,!I)iR(X,J,Y,8,179769313486231570000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000,-179769313486231570000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000);return bR(X,J,Y,V,52,8),Y+8}function yR(X){let J="",Y=X.length,V=X[0]==="-"?1:0;for(;Y>=V+4;Y-=3)J=`_${X.slice(Y-3,Y)}${J}`;return`${X.slice(0,Y)}${J}`}function Zg(X,J,Y){if(AQ(J,"offset"),X[J]===void 0||X[J+Y]===void 0)nG(J,X.length-(Y+1))}function aR(X,J,Y,V,I,O){if(X>Y||X<J){let Z=typeof J==="bigint"?"n":"",L;if(O>3)if(J===0||J===BigInt(0))L=`>= 0${Z} and < 2${Z} ** ${(O+1)*8}${Z}`;else L=`>= -(2${Z} ** ${(O+1)*8-1}${Z}) and < 2 ** ${(O+1)*8-1}${Z}`;else L=`>= ${J}${Z} and <= ${Y}${Z}`;throw new fW("value",L,X)}Zg(V,I,O)}function AQ(X,J){if(typeof X!=="number")throw new dx(J,"number",X)}function nG(X,J,Y){if(Math.floor(X)!==X)throw AQ(X,Y),new fW(Y||"offset","an integer",X);if(J<0)throw new lx;throw new fW(Y||"offset",`>= ${Y?1:0} and <= ${J}`,X)}function Og(X){if(X=X.split("=")[0],X=X.trim().replace(zg,""),X.length<2)return"";while(X.length%4!==0)X=X+"=";return X}function uW(X,J){J=J||1/0;let Y,V=X.length,I=null,O=[];for(let Z=0;Z<V;++Z){if(Y=X.charCodeAt(Z),Y>55295&&Y<57344){if(!I){if(Y>56319){if((J-=3)>-1)O.push(239,191,189);continue}else if(Z+1===V){if((J-=3)>-1)O.push(239,191,189);continue}I=Y;continue}if(Y<56320){if((J-=3)>-1)O.push(239,191,189);I=Y;continue}Y=(I-55296<<10|Y-56320)+65536}else if(I){if((J-=3)>-1)O.push(239,191,189)}if(I=null,Y<128){if((J-=1)<0)break;O.push(Y)}else if(Y<2048){if((J-=2)<0)break;O.push(Y>>6|192,Y&63|128)}else if(Y<65536){if((J-=3)<0)break;O.push(Y>>12|224,Y>>6&63|128,Y&63|128)}else if(Y<1114112){if((J-=4)<0)break;O.push(Y>>18|240,Y>>12&63|128,Y>>6&63|128,Y&63|128)}else throw Error("Invalid code point")}return O}function Vg(X){let J=[];for(let Y=0;Y<X.length;++Y)J.push(X.charCodeAt(Y)&255);return J}function Dg(X,J){let Y,V,I,O=[];for(let Z=0;Z<X.length;++Z){if((J-=2)<0)break;Y=X.charCodeAt(Z),V=Y>>8,I=Y%256,O.push(I),O.push(V)}return O}function sR(X){return fx(Og(X))}function JO(X,J,Y,V){let I;for(I=0;I<V;++I){if(I+Y>=J.length||I>=X.length)break;J[I+Y]=X[I]}return I}function j4(X,J){return X instanceof J||X!=null&&X.constructor!=null&&X.constructor.name!=null&&X.constructor.name===J.name}function $I(X){return typeof BigInt>"u"?Wg:X}function Wg(){throw Error("BigInt not supported")}function mW(X){return()=>{throw Error(X+" is not implemented for node:buffer browser polyfill")}}var S4,f1,wW="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",sI,kR,gR,uR=50,dG=2147483647,hR=536870888,ux,hx,cx,px,mx,lx,dx,fW,fR=4096,zg,Kg,Fg,Hg,Lg=(X)=>{for(let J of X)if(J.charCodeAt(0)>127)return!1;return!0},Mg,Ag;var oU=LQ(()=>{S4=[],f1=[];for(sI=0,kR=wW.length;sI<kR;++sI)S4[sI]=wW[sI],f1[wW.charCodeAt(sI)]=sI;f1[45]=62;f1[95]=63;gR=typeof Symbol==="function"&&typeof Symbol.for==="function"?Symbol.for("nodejs.util.inspect.custom"):null,ux=globalThis.btoa,hx=globalThis.atob,cx=globalThis.File,px=globalThis.Blob,mx={MAX_LENGTH:dG,MAX_STRING_LENGTH:hR};lx=hW("ERR_BUFFER_OUT_OF_BOUNDS",function(X){if(X)return`${X} is outside of buffer bounds`;return"Attempt to access memory outside buffer bounds"},RangeError),dx=hW("ERR_INVALID_ARG_TYPE",function(X,J){return`The "${X}" argument must be of type number. Received type ${typeof J}`},TypeError),fW=hW("ERR_OUT_OF_RANGE",function(X,J,Y){let V=`The value of "${X}" is out of range.`,I=Y;if(Number.isInteger(Y)&&Math.abs(Y)>4294967296)I=yR(String(Y));else if(typeof Y==="bigint"){if(I=String(Y),Y>BigInt(2)**BigInt(32)||Y<-(BigInt(2)**BigInt(32)))I=yR(I);I+="n"}return V+=` It must be ${J}. Received ${I}`,V},RangeError);Object.defineProperty(l0.prototype,"parent",{enumerable:!0,get:function(){if(!l0.isBuffer(this))return;return this.buffer}});Object.defineProperty(l0.prototype,"offset",{enumerable:!0,get:function(){if(!l0.isBuffer(this))return;return this.byteOffset}});l0.poolSize=8192;l0.from=function(X,J,Y){return cR(X,J,Y)};Object.setPrototypeOf(l0.prototype,Uint8Array.prototype);Object.setPrototypeOf(l0,Uint8Array);l0.alloc=function(X,J,Y){return nx(X,J,Y)};l0.allocUnsafe=function(X){return cW(X)};l0.allocUnsafeSlow=function(X){return cW(X)};l0.isBuffer=function(X){return X!=null&&X._isBuffer===!0&&X!==l0.prototype};l0.compare=function(X,J){if(j4(X,Uint8Array))X=l0.from(X,X.offset,X.byteLength);if(j4(J,Uint8Array))J=l0.from(J,J.offset,J.byteLength);if(!l0.isBuffer(X)||!l0.isBuffer(J))throw TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(X===J)return 0;let Y=X.length,V=J.length;for(let I=0,O=Math.min(Y,V);I<O;++I)if(X[I]!==J[I]){Y=X[I],V=J[I];break}if(Y<V)return-1;if(V<Y)return 1;return 0};l0.isEncoding=function(X){switch(String(X).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}};l0.concat=function(X,J){if(!Array.isArray(X))throw TypeError('"list" argument must be an Array of Buffers');if(X.length===0)return l0.alloc(0);let Y;if(J===void 0){J=0;for(Y=0;Y<X.length;++Y)J+=X[Y].length}let V=l0.allocUnsafe(J),I=0;for(Y=0;Y<X.length;++Y){let O=X[Y];if(j4(O,Uint8Array))if(I+O.length>V.length){if(!l0.isBuffer(O))O=l0.from(O);O.copy(V,I)}else Uint8Array.prototype.set.call(V,O,I);else if(!l0.isBuffer(O))throw TypeError('"list" argument must be an Array of Buffers');else O.copy(V,I);I+=O.length}return V};l0.byteLength=mR;l0.prototype._isBuffer=!0;l0.prototype.swap16=function(){let X=this.length;if(X%2!==0)throw RangeError("Buffer size must be a multiple of 16-bits");for(let J=0;J<X;J+=2)eI(this,J,J+1);return this};l0.prototype.swap32=function(){let X=this.length;if(X%4!==0)throw RangeError("Buffer size must be a multiple of 32-bits");for(let J=0;J<X;J+=4)eI(this,J,J+3),eI(this,J+1,J+2);return this};l0.prototype.swap64=function(){let X=this.length;if(X%8!==0)throw RangeError("Buffer size must be a multiple of 64-bits");for(let J=0;J<X;J+=8)eI(this,J,J+7),eI(this,J+1,J+6),eI(this,J+2,J+5),eI(this,J+3,J+4);return this};l0.prototype.toString=function(){let X=this.length;if(X===0)return"";if(arguments.length===0)return dR(this,0,X);return tx.apply(this,arguments)};l0.prototype.toLocaleString=l0.prototype.toString;l0.prototype.equals=function(X){if(!l0.isBuffer(X))throw TypeError("Argument must be a Buffer");if(this===X)return!0;return l0.compare(this,X)===0};l0.prototype.inspect=function(){let X="",J=uR;if(X=this.toString("hex",0,J).replace(/(.{2})/g,"$1 ").trim(),this.length>J)X+=" ... ";return"<Buffer "+X+">"};if(gR)l0.prototype[gR]=l0.prototype.inspect;l0.prototype.compare=function(X,J,Y,V,I){if(j4(X,Uint8Array))X=l0.from(X,X.offset,X.byteLength);if(!l0.isBuffer(X))throw TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof X);if(J===void 0)J=0;if(Y===void 0)Y=X?X.length:0;if(V===void 0)V=0;if(I===void 0)I=this.length;if(J<0||Y>X.length||V<0||I>this.length)throw RangeError("out of range index");if(V>=I&&J>=Y)return 0;if(V>=I)return-1;if(J>=Y)return 1;if(J>>>=0,Y>>>=0,V>>>=0,I>>>=0,this===X)return 0;let O=I-V,Z=Y-J,L=Math.min(O,Z),B=this.slice(V,I),R=X.slice(J,Y);for(let S=0;S<L;++S)if(B[S]!==R[S]){O=B[S],Z=R[S];break}if(O<Z)return-1;if(Z<O)return 1;return 0};l0.prototype.includes=function(X,J,Y){return this.indexOf(X,J,Y)!==-1};l0.prototype.indexOf=function(X,J,Y){return lR(this,X,J,Y,!0)};l0.prototype.lastIndexOf=function(X,J,Y){return lR(this,X,J,Y,!1)};l0.prototype.write=function(X,J,Y,V){if(J===void 0)V="utf8",Y=this.length,J=0;else if(Y===void 0&&typeof J==="string")V=J,Y=this.length,J=0;else if(isFinite(J))if(J=J>>>0,isFinite(Y)){if(Y=Y>>>0,V===void 0)V="utf8"}else V=Y,Y=void 0;else throw Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");let I=this.length-J;if(Y===void 0||Y>I)Y=I;if(X.length>0&&(Y<0||J<0)||J>this.length)throw RangeError("Attempt to write outside buffer bounds");if(!V)V="utf8";let O=!1;for(;;)switch(V){case"hex":return ax(this,X,J,Y);case"utf8":case"utf-8":return sx(this,X,J,Y);case"ascii":case"latin1":case"binary":return ex(this,X,J,Y);case"base64":return $g(this,X,J,Y);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Ug(this,X,J,Y);default:if(O)throw TypeError("Unknown encoding: "+V);V=(""+V).toLowerCase(),O=!0}};l0.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};l0.prototype.slice=function(X,J){let Y=this.length;if(X=~~X,J=J===void 0?Y:~~J,X<0){if(X+=Y,X<0)X=0}else if(X>Y)X=Y;if(J<0){if(J+=Y,J<0)J=0}else if(J>Y)J=Y;if(J<X)J=X;let V=this.subarray(X,J);return Object.setPrototypeOf(V,l0.prototype),V};l0.prototype.readUintLE=l0.prototype.readUIntLE=function(X,J,Y){if(X=X>>>0,J=J>>>0,!Y)K6(X,J,this.length);let V=this[X],I=1,O=0;while(++O<J&&(I*=256))V+=this[X+O]*I;return V};l0.prototype.readUintBE=l0.prototype.readUIntBE=function(X,J,Y){if(X=X>>>0,J=J>>>0,!Y)K6(X,J,this.length);let V=this[X+--J],I=1;while(J>0&&(I*=256))V+=this[X+--J]*I;return V};l0.prototype.readUint8=l0.prototype.readUInt8=function(X,J){if(X=X>>>0,!J)K6(X,1,this.length);return this[X]};l0.prototype.readUint16LE=l0.prototype.readUInt16LE=function(X,J){if(X=X>>>0,!J)K6(X,2,this.length);return this[X]|this[X+1]<<8};l0.prototype.readUint16BE=l0.prototype.readUInt16BE=function(X,J){if(X=X>>>0,!J)K6(X,2,this.length);return this[X]<<8|this[X+1]};l0.prototype.readUint32LE=l0.prototype.readUInt32LE=function(X,J){if(X=X>>>0,!J)K6(X,4,this.length);return(this[X]|this[X+1]<<8|this[X+2]<<16)+this[X+3]*16777216};l0.prototype.readUint32BE=l0.prototype.readUInt32BE=function(X,J){if(X=X>>>0,!J)K6(X,4,this.length);return this[X]*16777216+(this[X+1]<<16|this[X+2]<<8|this[X+3])};l0.prototype.readBigUInt64LE=$I(function(X){X=X>>>0,AQ(X,"offset");let J=this[X],Y=this[X+7];if(J===void 0||Y===void 0)nG(X,this.length-8);let V=J+this[++X]*256+this[++X]*65536+this[++X]*16777216,I=this[++X]+this[++X]*256+this[++X]*65536+Y*16777216;return BigInt(V)+(BigInt(I)<<BigInt(32))});l0.prototype.readBigUInt64BE=$I(function(X){X=X>>>0,AQ(X,"offset");let J=this[X],Y=this[X+7];if(J===void 0||Y===void 0)nG(X,this.length-8);let V=J*16777216+this[++X]*65536+this[++X]*256+this[++X],I=this[++X]*16777216+this[++X]*65536+this[++X]*256+Y;return(BigInt(V)<<BigInt(32))+BigInt(I)});l0.prototype.readIntLE=function(X,J,Y){if(X=X>>>0,J=J>>>0,!Y)K6(X,J,this.length);let V=this[X],I=1,O=0;while(++O<J&&(I*=256))V+=this[X+O]*I;if(I*=128,V>=I)V-=Math.pow(2,8*J);return V};l0.prototype.readIntBE=function(X,J,Y){if(X=X>>>0,J=J>>>0,!Y)K6(X,J,this.length);let V=J,I=1,O=this[X+--V];while(V>0&&(I*=256))O+=this[X+--V]*I;if(I*=128,O>=I)O-=Math.pow(2,8*J);return O};l0.prototype.readInt8=function(X,J){if(X=X>>>0,!J)K6(X,1,this.length);if(!(this[X]&128))return this[X];return(255-this[X]+1)*-1};l0.prototype.readInt16LE=function(X,J){if(X=X>>>0,!J)K6(X,2,this.length);let Y=this[X]|this[X+1]<<8;return Y&32768?Y|4294901760:Y};l0.prototype.readInt16BE=function(X,J){if(X=X>>>0,!J)K6(X,2,this.length);let Y=this[X+1]|this[X]<<8;return Y&32768?Y|4294901760:Y};l0.prototype.readInt32LE=function(X,J){if(X=X>>>0,!J)K6(X,4,this.length);return this[X]|this[X+1]<<8|this[X+2]<<16|this[X+3]<<24};l0.prototype.readInt32BE=function(X,J){if(X=X>>>0,!J)K6(X,4,this.length);return this[X]<<24|this[X+1]<<16|this[X+2]<<8|this[X+3]};l0.prototype.readBigInt64LE=$I(function(X){X=X>>>0,AQ(X,"offset");let J=this[X],Y=this[X+7];if(J===void 0||Y===void 0)nG(X,this.length-8);let V=this[X+4]+this[X+5]*256+this[X+6]*65536+(Y<<24);return(BigInt(V)<<BigInt(32))+BigInt(J+this[++X]*256+this[++X]*65536+this[++X]*16777216)});l0.prototype.readBigInt64BE=$I(function(X){X=X>>>0,AQ(X,"offset");let J=this[X],Y=this[X+7];if(J===void 0||Y===void 0)nG(X,this.length-8);let V=(J<<24)+this[++X]*65536+this[++X]*256+this[++X];return(BigInt(V)<<BigInt(32))+BigInt(this[++X]*16777216+this[++X]*65536+this[++X]*256+Y)});l0.prototype.readFloatLE=function(X,J){if(X=X>>>0,!J)K6(X,4,this.length);return IO(this,X,!0,23,4)};l0.prototype.readFloatBE=function(X,J){if(X=X>>>0,!J)K6(X,4,this.length);return IO(this,X,!1,23,4)};l0.prototype.readDoubleLE=function(X,J){if(X=X>>>0,!J)K6(X,8,this.length);return IO(this,X,!0,52,8)};l0.prototype.readDoubleBE=function(X,J){if(X=X>>>0,!J)K6(X,8,this.length);return IO(this,X,!1,52,8)};l0.prototype.writeUintLE=l0.prototype.writeUIntLE=function(X,J,Y,V){if(X=+X,J=J>>>0,Y=Y>>>0,!V){let Z=Math.pow(2,8*Y)-1;r6(this,X,J,Y,Z,0)}let I=1,O=0;this[J]=X&255;while(++O<Y&&(I*=256))this[J+O]=X/I&255;return J+Y};l0.prototype.writeUintBE=l0.prototype.writeUIntBE=function(X,J,Y,V){if(X=+X,J=J>>>0,Y=Y>>>0,!V){let Z=Math.pow(2,8*Y)-1;r6(this,X,J,Y,Z,0)}let I=Y-1,O=1;this[J+I]=X&255;while(--I>=0&&(O*=256))this[J+I]=X/O&255;return J+Y};l0.prototype.writeUint8=l0.prototype.writeUInt8=function(X,J,Y){if(X=+X,J=J>>>0,!Y)r6(this,X,J,1,255,0);return this[J]=X&255,J+1};l0.prototype.writeUint16LE=l0.prototype.writeUInt16LE=function(X,J,Y){if(X=+X,J=J>>>0,!Y)r6(this,X,J,2,65535,0);return this[J]=X&255,this[J+1]=X>>>8,J+2};l0.prototype.writeUint16BE=l0.prototype.writeUInt16BE=function(X,J,Y){if(X=+X,J=J>>>0,!Y)r6(this,X,J,2,65535,0);return this[J]=X>>>8,this[J+1]=X&255,J+2};l0.prototype.writeUint32LE=l0.prototype.writeUInt32LE=function(X,J,Y){if(X=+X,J=J>>>0,!Y)r6(this,X,J,4,4294967295,0);return this[J+3]=X>>>24,this[J+2]=X>>>16,this[J+1]=X>>>8,this[J]=X&255,J+4};l0.prototype.writeUint32BE=l0.prototype.writeUInt32BE=function(X,J,Y){if(X=+X,J=J>>>0,!Y)r6(this,X,J,4,4294967295,0);return this[J]=X>>>24,this[J+1]=X>>>16,this[J+2]=X>>>8,this[J+3]=X&255,J+4};l0.prototype.writeBigUInt64LE=$I(function(X,J=0){return nR(this,X,J,BigInt(0),BigInt("0xffffffffffffffff"))});l0.prototype.writeBigUInt64BE=$I(function(X,J=0){return oR(this,X,J,BigInt(0),BigInt("0xffffffffffffffff"))});l0.prototype.writeIntLE=function(X,J,Y,V){if(X=+X,J=J>>>0,!V){let L=Math.pow(2,8*Y-1);r6(this,X,J,Y,L-1,-L)}let I=0,O=1,Z=0;this[J]=X&255;while(++I<Y&&(O*=256)){if(X<0&&Z===0&&this[J+I-1]!==0)Z=1;this[J+I]=(X/O>>0)-Z&255}return J+Y};l0.prototype.writeIntBE=function(X,J,Y,V){if(X=+X,J=J>>>0,!V){let L=Math.pow(2,8*Y-1);r6(this,X,J,Y,L-1,-L)}let I=Y-1,O=1,Z=0;this[J+I]=X&255;while(--I>=0&&(O*=256)){if(X<0&&Z===0&&this[J+I+1]!==0)Z=1;this[J+I]=(X/O>>0)-Z&255}return J+Y};l0.prototype.writeInt8=function(X,J,Y){if(X=+X,J=J>>>0,!Y)r6(this,X,J,1,127,-128);if(X<0)X=255+X+1;return this[J]=X&255,J+1};l0.prototype.writeInt16LE=function(X,J,Y){if(X=+X,J=J>>>0,!Y)r6(this,X,J,2,32767,-32768);return this[J]=X&255,this[J+1]=X>>>8,J+2};l0.prototype.writeInt16BE=function(X,J,Y){if(X=+X,J=J>>>0,!Y)r6(this,X,J,2,32767,-32768);return this[J]=X>>>8,this[J+1]=X&255,J+2};l0.prototype.writeInt32LE=function(X,J,Y){if(X=+X,J=J>>>0,!Y)r6(this,X,J,4,2147483647,-2147483648);return this[J]=X&255,this[J+1]=X>>>8,this[J+2]=X>>>16,this[J+3]=X>>>24,J+4};l0.prototype.writeInt32BE=function(X,J,Y){if(X=+X,J=J>>>0,!Y)r6(this,X,J,4,2147483647,-2147483648);if(X<0)X=4294967295+X+1;return this[J]=X>>>24,this[J+1]=X>>>16,this[J+2]=X>>>8,this[J+3]=X&255,J+4};l0.prototype.writeBigInt64LE=$I(function(X,J=0){return nR(this,X,J,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))});l0.prototype.writeBigInt64BE=$I(function(X,J=0){return oR(this,X,J,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))});l0.prototype.writeFloatLE=function(X,J,Y){return rR(this,X,J,!0,Y)};l0.prototype.writeFloatBE=function(X,J,Y){return rR(this,X,J,!1,Y)};l0.prototype.writeDoubleLE=function(X,J,Y){return tR(this,X,J,!0,Y)};l0.prototype.writeDoubleBE=function(X,J,Y){return tR(this,X,J,!1,Y)};l0.prototype.copy=function(X,J,Y,V){if(!l0.isBuffer(X))throw TypeError("argument should be a Buffer");if(!Y)Y=0;if(!V&&V!==0)V=this.length;if(J>=X.length)J=X.length;if(!J)J=0;if(V>0&&V<Y)V=Y;if(V===Y)return 0;if(X.length===0||this.length===0)return 0;if(J<0)throw RangeError("targetStart out of bounds");if(Y<0||Y>=this.length)throw RangeError("Index out of range");if(V<0)throw RangeError("sourceEnd out of bounds");if(V>this.length)V=this.length;if(X.length-J<V-Y)V=X.length-J+Y;let I=V-Y;if(this===X&&typeof Uint8Array.prototype.copyWithin==="function")this.copyWithin(J,Y,V);else Uint8Array.prototype.set.call(X,this.subarray(Y,V),J);return I};l0.prototype.fill=function(X,J,Y,V){if(typeof X==="string"){if(typeof J==="string")V=J,J=0,Y=this.length;else if(typeof Y==="string")V=Y,Y=this.length;if(V!==void 0&&typeof V!=="string")throw TypeError("encoding must be a string");if(typeof V==="string"&&!l0.isEncoding(V))throw TypeError("Unknown encoding: "+V);if(X.length===1){let O=X.charCodeAt(0);if(V==="utf8"&&O<128||V==="latin1")X=O}}else if(typeof X==="number")X=X&255;else if(typeof X==="boolean")X=Number(X);if(J<0||this.length<J||this.length<Y)throw RangeError("Out of range index");if(Y<=J)return this;if(J=J>>>0,Y=Y===void 0?this.length:Y>>>0,!X)X=0;let I;if(typeof X==="number")for(I=J;I<Y;++I)this[I]=X;else{let O=l0.isBuffer(X)?X:l0.from(X,V),Z=O.length;if(Z===0)throw TypeError('The value "'+X+'" is invalid for argument "value"');for(I=0;I<Y-J;++I)this[I+J]=O[I%Z]}return this};zg=/[^+/0-9A-Za-z-_]/g;Kg=function(){let X=Array(256);for(let J=0;J<16;++J){let Y=J*16;for(let V=0;V<16;++V)X[Y+V]="0123456789abcdef"[J]+"0123456789abcdef"[V]}return X}();Fg=mW("resolveObjectURL"),Hg=mW("isUtf8"),Mg=mW("transcode"),Ag=l0});var PQ={};g6(PQ,{types:()=>vg,promisify:()=>JS,log:()=>US,isUndefined:()=>TQ,isSymbol:()=>qg,isString:()=>OO,isRegExp:()=>QO,isPrimitive:()=>kg,isObject:()=>CQ,isNumber:()=>$S,isNullOrUndefined:()=>Ng,isNull:()=>zO,isFunction:()=>GO,isError:()=>YO,isDate:()=>oW,isBuffer:()=>xg,isBoolean:()=>rW,isArray:()=>eR,inspect:()=>$J,inherits:()=>XS,format:()=>iW,deprecate:()=>Cg,default:()=>fg,debuglog:()=>Pg,callbackifyOnRejected:()=>sW,callbackify:()=>QS,_extend:()=>aW,TextEncoder:()=>YS,TextDecoder:()=>GS});function iW(X,...J){if(!OO(X)){var Y=[X];for(var V=0;V<J.length;V++)Y.push($J(J[V]));return Y.join(" ")}var V=0,I=J.length,O=String(X).replace(Tg,function(L){if(L==="%%")return"%";if(V>=I)return L;switch(L){case"%s":return String(J[V++]);case"%d":return Number(J[V++]);case"%j":try{return JSON.stringify(J[V++])}catch(B){return"[Circular]"}default:return L}});for(var Z=J[V];V<I;Z=J[++V])if(zO(Z)||!CQ(Z))O+=" "+Z;else O+=" "+$J(Z);return O}function Cg(X,J){if(typeof process>"u"||process?.noDeprecation===!0)return X;var Y=!1;function V(...I){if(!Y){if(process.throwDeprecation)throw Error(J);else if(process.traceDeprecation)console.trace(J);else console.error(J);Y=!0}return X.apply(this,...I)}return V}function _g(X,J){var Y=$J.styles[J];if(Y)return"\x1B["+$J.colors[Y][0]+"m"+X+"\x1B["+$J.colors[Y][1]+"m";else return X}function Eg(X,J){return X}function Rg(X){var J={};return X.forEach(function(Y,V){J[Y]=!0}),J}function ZO(X,J,Y){if(X.customInspect&&J&&GO(J.inspect)&&J.inspect!==$J&&!(J.constructor&&J.constructor.prototype===J)){var V=J.inspect(Y,X);if(!OO(V))V=ZO(X,V,Y);return V}var I=Sg(X,J);if(I)return I;var O=Object.keys(J),Z=Rg(O);if(X.showHidden)O=Object.getOwnPropertyNames(J);if(YO(J)&&(O.indexOf("message")>=0||O.indexOf("description")>=0))return lW(J);if(O.length===0){if(GO(J)){var L=J.name?": "+J.name:"";return X.stylize("[Function"+L+"]","special")}if(QO(J))return X.stylize(RegExp.prototype.toString.call(J),"regexp");if(oW(J))return X.stylize(Date.prototype.toString.call(J),"date");if(YO(J))return lW(J)}var B="",R=!1,S=["{","}"];if(eR(J))R=!0,S=["[","]"];if(GO(J)){var T=J.name?": "+J.name:"";B=" [Function"+T+"]"}if(QO(J))B=" "+RegExp.prototype.toString.call(J);if(oW(J))B=" "+Date.prototype.toUTCString.call(J);if(YO(J))B=" "+lW(J);if(O.length===0&&(!R||J.length==0))return S[0]+B+S[1];if(Y<0)if(QO(J))return X.stylize(RegExp.prototype.toString.call(J),"regexp");else return X.stylize("[Object]","special");X.seen.push(J);var E;if(R)E=jg(X,J,Y,Z,O);else E=O.map(function(v){return nW(X,J,Y,Z,v,R)});return X.seen.pop(),Bg(E,B,S)}function Sg(X,J){if(TQ(J))return X.stylize("undefined","undefined");if(OO(J)){var Y="'"+JSON.stringify(J).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return X.stylize(Y,"string")}if($S(J))return X.stylize(""+J,"number");if(rW(J))return X.stylize(""+J,"boolean");if(zO(J))return X.stylize("null","null")}function lW(X){return"["+Error.prototype.toString.call(X)+"]"}function jg(X,J,Y,V,I){var O=[];for(var Z=0,L=J.length;Z<L;++Z)if(IS(J,String(Z)))O.push(nW(X,J,Y,V,String(Z),!0));else O.push("");return I.forEach(function(B){if(!B.match(/^\d+$/))O.push(nW(X,J,Y,V,B,!0))}),O}function nW(X,J,Y,V,I,O){var Z,L,B;if(B=Object.getOwnPropertyDescriptor(J,I)||{value:J[I]},B.get)if(B.set)L=X.stylize("[Getter/Setter]","special");else L=X.stylize("[Getter]","special");else if(B.set)L=X.stylize("[Setter]","special");if(!IS(V,I))Z="["+I+"]";if(!L)if(X.seen.indexOf(B.value)<0){if(zO(Y))L=ZO(X,B.value,null);else L=ZO(X,B.value,Y-1);if(L.indexOf(`
231
+ `)>-1)if(O)L=L.split(`
232
+ `).map(function(R){return" "+R}).join(`
233
+ `).slice(2);else L=`
234
+ `+L.split(`
235
+ `).map(function(R){return" "+R}).join(`
236
+ `)}else L=X.stylize("[Circular]","special");if(TQ(Z)){if(O&&I.match(/^\d+$/))return L;if(Z=JSON.stringify(""+I),Z.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/))Z=Z.slice(1,-1),Z=X.stylize(Z,"name");else Z=Z.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),Z=X.stylize(Z,"string")}return Z+": "+L}function Bg(X,J,Y){var V=0,I=X.reduce(function(O,Z){if(V++,Z.indexOf(`
237
+ `)>=0)V++;return O+Z.replace(/\u001b\[\d\d?m/g,"").length+1},0);if(I>60)return Y[0]+(J===""?"":J+`
238
+ `)+" "+X.join(`,
239
+ `)+" "+Y[1];return Y[0]+J+" "+X.join(", ")+" "+Y[1]}function eR(X){return Array.isArray(X)}function rW(X){return typeof X==="boolean"}function zO(X){return X===null}function Ng(X){return X==null}function $S(X){return typeof X==="number"}function OO(X){return typeof X==="string"}function qg(X){return typeof X==="symbol"}function TQ(X){return X===void 0}function QO(X){return CQ(X)&&tW(X)==="[object RegExp]"}function CQ(X){return typeof X==="object"&&X!==null}function oW(X){return CQ(X)&&tW(X)==="[object Date]"}function YO(X){return CQ(X)&&(tW(X)==="[object Error]"||X instanceof Error)}function GO(X){return typeof X==="function"}function kg(X){return X===null||typeof X==="boolean"||typeof X==="number"||typeof X==="string"||typeof X==="symbol"||typeof X>"u"}function xg(X){return X instanceof Buffer}function tW(X){return Object.prototype.toString.call(X)}function dW(X){return X<10?"0"+X.toString(10):X.toString(10)}function wg(){var X=new Date,J=[dW(X.getHours()),dW(X.getMinutes()),dW(X.getSeconds())].join(":");return[X.getDate(),gg[X.getMonth()],J].join(" ")}function US(...X){console.log("%s - %s",wg(),iW.apply(null,X))}function XS(X,J){if(J)X.super_=J,X.prototype=Object.create(J.prototype,{constructor:{value:X,enumerable:!1,writable:!0,configurable:!0}})}function aW(X,J){if(!J||!CQ(J))return X;var Y=Object.keys(J),V=Y.length;while(V--)X[Y[V]]=J[Y[V]];return X}function IS(X,J){return Object.prototype.hasOwnProperty.call(X,J)}function sW(X,J){if(!X){var Y=Error("Promise was rejected with a falsy value");Y.reason=X,X=Y}return J(X)}function QS(X){if(typeof X!=="function")throw TypeError('The "original" argument must be of type Function');function J(...Y){var V=Y.pop();if(typeof V!=="function")throw TypeError("The last argument must be of type Function");var I=this,O=function(...Z){return V.apply(I,...Z)};X.apply(this,Y).then(function(Z){process.nextTick(O.bind(null,null,Z))},function(Z){process.nextTick(sW.bind(null,Z,O))})}return Object.setPrototypeOf(J,Object.getPrototypeOf(X)),Object.defineProperties(J,Object.getOwnPropertyDescriptors(X)),J}var Tg,Pg,$J,vg=()=>{},gg,JS,YS,GS,fg;var _Q=LQ(()=>{Tg=/%[sdj%]/g;Pg=((X={},J={},Y)=>((Y=typeof process<"u"&&!1)&&(Y=Y.replace(/[|\\{}()[\]^$+?.]/g,"\\$&").replace(/\*/g,".*").replace(/,/g,"$|^").toUpperCase()),J=new RegExp("^"+Y+"$","i"),(V)=>{if(V=V.toUpperCase(),!X[V])if(J.test(V))X[V]=function(...I){console.error("%s: %s",V,pid,iW.apply(null,...I))};else X[V]=function(){};return X[V]}))(),$J=((X)=>(X.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},X.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},X.custom=Symbol.for("nodejs.util.inspect.custom"),X))(function(X,J,...Y){var V={seen:[],stylize:Eg};if(Y.length>=1)V.depth=Y[0];if(Y.length>=2)V.colors=Y[1];if(rW(J))V.showHidden=J;else if(J)aW(V,J);if(TQ(V.showHidden))V.showHidden=!1;if(TQ(V.depth))V.depth=2;if(TQ(V.colors))V.colors=!1;if(V.colors)V.stylize=_g;return ZO(V,X,V.depth)});gg=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];JS=((X)=>(X.custom=Symbol.for("nodejs.util.promisify.custom"),X))(function(X){if(typeof X!=="function")throw TypeError('The "original" argument must be of type Function');if(kCustomPromisifiedSymbol&&X[kCustomPromisifiedSymbol]){var J=X[kCustomPromisifiedSymbol];if(typeof J!=="function")throw TypeError('The "nodejs.util.promisify.custom" argument must be of type Function');return Object.defineProperty(J,kCustomPromisifiedSymbol,{value:J,enumerable:!1,writable:!1,configurable:!0}),J}function J(...Y){var V,I,O=new Promise(function(Z,L){V=Z,I=L});Y.push(function(Z,L){if(Z)I(Z);else V(L)});try{X.apply(this,Y)}catch(Z){I(Z)}return O}if(Object.setPrototypeOf(J,Object.getPrototypeOf(X)),kCustomPromisifiedSymbol)Object.defineProperty(J,kCustomPromisifiedSymbol,{value:J,enumerable:!1,writable:!1,configurable:!0});return Object.defineProperties(J,Object.getOwnPropertyDescriptors(X))});({TextEncoder:YS,TextDecoder:GS}=globalThis),fg={TextEncoder:YS,TextDecoder:GS,promisify:JS,log:US,inherits:XS,_extend:aW,callbackifyOnRejected:sW,callbackify:QS}});var RQ={};g6(RQ,{setMaxListeners:()=>MS,once:()=>HS,listenerCount:()=>AS,init:()=>UI,getMaxListeners:()=>CS,getEventListeners:()=>LS,default:()=>dg,captureRejectionSymbol:()=>DS,addAbortListener:()=>PS,EventEmitter:()=>UI});function KS(X,J){var{_events:Y}=X;if(J[0]??=Error("Unhandled error."),!Y)throw J[0];var V=Y[VS];if(V)for(var I of zS.call(V))I.apply(X,J);var O=Y.error;if(!O)throw J[0];for(var I of zS.call(O))I.apply(X,J);return!0}function ug(X,J,Y,V){J.then(void 0,function(I){queueMicrotask(()=>hg(X,I,Y,V))})}function hg(X,J,Y,V){if(typeof X[ZS]==="function")X[ZS](J,Y,...V);else try{X[UJ]=!1,X.emit("error",J)}finally{X[UJ]=!0}}function WS(X,J,Y){Y.warned=!0;let V=Error(`Possible EventEmitter memory leak detected. ${Y.length} ${String(J)} listeners added to [${X.constructor.name}]. Use emitter.setMaxListeners() to increase limit`);V.name="MaxListenersExceededWarning",V.emitter=X,V.type=J,V.count=Y.length,console.warn(V)}function FS(X,J,...Y){this.removeListener(X,J),J.apply(this,Y)}function HS(X,J,Y){var V=Y?.signal;if(TS(V,"options.signal"),V?.aborted)throw new eW(void 0,{cause:V?.reason});let{resolve:I,reject:O,promise:Z}=$newPromiseCapability(Promise),L=(S)=>{if(X.removeListener(J,B),V!=null)VO(V,"abort",R);O(S)},B=(...S)=>{if(typeof X.removeListener==="function")X.removeListener("error",L);if(V!=null)VO(V,"abort",R);I(S)};if(OS(X,J,B,{once:!0}),J!=="error"&&typeof X.once==="function")X.once("error",L);function R(){VO(X,J,B),VO(X,"error",L),O(new eW(void 0,{cause:V?.reason}))}if(V!=null)OS(V,"abort",R,{once:!0});return Z}function LS(X,J){return X.listeners(J)}function MS(X,...J){U9(X,"setMaxListeners",0);var Y;if(J&&(Y=J.length))for(let V=0;V<Y;V++)J[V].setMaxListeners(X);else XJ=X}function AS(X,J){return X.listenerCount(J)}function VO(X,J,Y,V){if(typeof X.removeListener==="function")X.removeListener(J,Y);else X.removeEventListener(J,Y,V)}function OS(X,J,Y,V){if(typeof X.on==="function")if(V.once)X.once(J,Y);else X.on(J,Y);else X.addEventListener(J,Y,V)}function EQ(X,J,Y){let V=TypeError(`The "${X}" argument must be of type ${J}. Received ${Y}`);return V.code="ERR_INVALID_ARG_TYPE",V}function mg(X,J,Y){let V=RangeError(`The "${X}" argument is out of range. It must be ${J}. Received ${Y}`);return V.code="ERR_OUT_OF_RANGE",V}function TS(X,J){if(X!==void 0&&(X===null||typeof X!=="object"||!("aborted"in X)))throw EQ(J,"AbortSignal",X)}function U9(X,J,Y,V){if(typeof X!=="number")throw EQ(J,"number",X);if(Y!=null&&X<Y||V!=null&&X>V||(Y!=null||V!=null)&&Number.isNaN(X))throw mg(J,`${Y!=null?`>= ${Y}`:""}${Y!=null&&V!=null?" && ":""}${V!=null?`<= ${V}`:""}`,X)}function oG(X){if(typeof X!=="function")throw TypeError("The listener must be a function")}function lg(X,J){if(typeof X!=="boolean")throw EQ(J,"boolean",X)}function CS(X){return X?._maxListeners??XJ}function PS(X,J){if(X===void 0)throw EQ("signal","AbortSignal",X);if(TS(X,"signal"),typeof J!=="function")throw EQ("listener","function",J);let Y;if(X.aborted)queueMicrotask(()=>J());else X.addEventListener("abort",J,{__proto__:null,once:!0}),Y=()=>{X.removeEventListener("abort",J)};return{__proto__:null,[Symbol.dispose](){Y?.()}}}var $9,UJ,VS,yg,bg,ZS,DS,zS,XJ=10,UI=function(X){if(this._events===void 0||this._events===this.__proto__._events)this._events={__proto__:null},this._eventsCount=0;if(this._maxListeners??=void 0,this[UJ]=X?.captureRejections?Boolean(X?.captureRejections):BU[UJ])this.emit=pg},BU,cg=function(X,...J){if(X==="error")return KS(this,J);var{_events:Y}=this;if(Y===void 0)return!1;var V=Y[X];if(V===void 0)return!1;let I=V.length>1?V.slice():V;for(let O=0,{length:Z}=I;O<Z;O++){let L=I[O];switch(J.length){case 0:L.call(this);break;case 1:L.call(this,J[0]);break;case 2:L.call(this,J[0],J[1]);break;case 3:L.call(this,J[0],J[1],J[2]);break;default:L.apply(this,J);break}}return!0},pg=function(X,...J){if(X==="error")return KS(this,J);var{_events:Y}=this;if(Y===void 0)return!1;var V=Y[X];if(V===void 0)return!1;let I=V.length>1?V.slice():V;for(let O=0,{length:Z}=I;O<Z;O++){let L=I[O],B;switch(J.length){case 0:B=L.call(this);break;case 1:B=L.call(this,J[0]);break;case 2:B=L.call(this,J[0],J[1]);break;case 3:B=L.call(this,J[0],J[1],J[2]);break;default:B=L.apply(this,J);break}if(B!==void 0&&typeof B?.then==="function"&&B.then===Promise.prototype.then)ug(this,B,X,J)}return!0},eW,dg;var SQ=LQ(()=>{$9=Symbol.for,UJ=Symbol("kCapture"),VS=$9("events.errorMonitor"),yg=Symbol("events.maxEventTargetListeners"),bg=Symbol("events.maxEventTargetListenersWarned"),ZS=$9("nodejs.rejection"),DS=$9("nodejs.rejection"),zS=Array.prototype.slice,BU=UI.prototype={};BU._events=void 0;BU._eventsCount=0;BU._maxListeners=void 0;BU.setMaxListeners=function(X){return U9(X,"setMaxListeners",0),this._maxListeners=X,this};BU.constructor=UI;BU.getMaxListeners=function(){return this?._maxListeners??XJ};BU.emit=cg;BU.addListener=function(X,J){oG(J);var Y=this._events;if(!Y)Y=this._events={__proto__:null},this._eventsCount=0;else if(Y.newListener)this.emit("newListener",X,J.listener??J);var V=Y[X];if(!V)Y[X]=[J],this._eventsCount++;else{V.push(J);var I=this._maxListeners??XJ;if(I>0&&V.length>I&&!V.warned)WS(this,X,V)}return this};BU.on=BU.addListener;BU.prependListener=function(X,J){oG(J);var Y=this._events;if(!Y)Y=this._events={__proto__:null},this._eventsCount=0;else if(Y.newListener)this.emit("newListener",X,J.listener??J);var V=Y[X];if(!V)Y[X]=[J],this._eventsCount++;else{V.unshift(J);var I=this._maxListeners??XJ;if(I>0&&V.length>I&&!V.warned)WS(this,X,V)}return this};BU.once=function(X,J){oG(J);let Y=FS.bind(this,X,J);return Y.listener=J,this.addListener(X,Y),this};BU.prependOnceListener=function(X,J){oG(J);let Y=FS.bind(this,X,J);return Y.listener=J,this.prependListener(X,Y),this};BU.removeListener=function(X,J){oG(J);var{_events:Y}=this;if(!Y)return this;var V=Y[X];if(!V)return this;var I=V.length;let O=-1;for(let Z=I-1;Z>=0;Z--)if(V[Z]===J||V[Z].listener===J){O=Z;break}if(O<0)return this;if(O===0)V.shift();else V.splice(O,1);if(V.length===0)delete Y[X],this._eventsCount--;return this};BU.off=BU.removeListener;BU.removeAllListeners=function(X){var{_events:J}=this;if(X&&J){if(J[X])delete J[X],this._eventsCount--}else this._events={__proto__:null};return this};BU.listeners=function(X){var{_events:J}=this;if(!J)return[];var Y=J[X];if(!Y)return[];return Y.map((V)=>V.listener??V)};BU.rawListeners=function(X){var{_events:J}=this;if(!J)return[];var Y=J[X];if(!Y)return[];return Y.slice()};BU.listenerCount=function(X){var{_events:J}=this;if(!J)return 0;return J[X]?.length??0};BU.eventNames=function(){return this._eventsCount>0?Reflect.ownKeys(this._events):[]};BU[UJ]=!1;eW=class eW extends Error{constructor(X="The operation was aborted",J=void 0){if(J!==void 0&&typeof J!=="object")throw EQ("options","Object",J);super(X,J);this.code="ABORT_ERR",this.name="AbortError"}};Object.defineProperties(UI,{captureRejections:{get(){return BU[UJ]},set(X){lg(X,"EventEmitter.captureRejections"),BU[UJ]=X},enumerable:!0},defaultMaxListeners:{enumerable:!0,get:()=>{return XJ},set:(X)=>{U9(X,"defaultMaxListeners",0),XJ=X}},kMaxEventTargetListeners:{value:yg,enumerable:!1,configurable:!1,writable:!1},kMaxEventTargetListenersWarned:{value:bg,enumerable:!1,configurable:!1,writable:!1}});Object.assign(UI,{once:HS,getEventListeners:LS,getMaxListeners:CS,setMaxListeners:MS,EventEmitter:UI,usingDomains:!1,captureRejectionSymbol:DS,errorMonitor:VS,addAbortListener:PS,init:UI,listenerCount:AS});dg=UI});var BQ=YX((ml,NS)=>{var IU=(X,J)=>()=>(J||X((J={exports:{}}).exports,J),J.exports),fU=IU((X,J)=>{class Y extends Error{constructor(V){if(!Array.isArray(V))throw TypeError(`Expected input to be an Array, got ${typeof V}`);let I="";for(let O=0;O<V.length;O++)I+=` ${V[O].stack}
240
+ `;super(I);this.name="AggregateError",this.errors=V}}J.exports={AggregateError:Y,ArrayIsArray(V){return Array.isArray(V)},ArrayPrototypeIncludes(V,I){return V.includes(I)},ArrayPrototypeIndexOf(V,I){return V.indexOf(I)},ArrayPrototypeJoin(V,I){return V.join(I)},ArrayPrototypeMap(V,I){return V.map(I)},ArrayPrototypePop(V,I){return V.pop(I)},ArrayPrototypePush(V,I){return V.push(I)},ArrayPrototypeSlice(V,I,O){return V.slice(I,O)},Error,FunctionPrototypeCall(V,I,...O){return V.call(I,...O)},FunctionPrototypeSymbolHasInstance(V,I){return Function.prototype[Symbol.hasInstance].call(V,I)},MathFloor:Math.floor,Number,NumberIsInteger:Number.isInteger,NumberIsNaN:Number.isNaN,NumberMAX_SAFE_INTEGER:Number.MAX_SAFE_INTEGER,NumberMIN_SAFE_INTEGER:Number.MIN_SAFE_INTEGER,NumberParseInt:Number.parseInt,ObjectDefineProperties(V,I){return Object.defineProperties(V,I)},ObjectDefineProperty(V,I,O){return Object.defineProperty(V,I,O)},ObjectGetOwnPropertyDescriptor(V,I){return Object.getOwnPropertyDescriptor(V,I)},ObjectKeys(V){return Object.keys(V)},ObjectSetPrototypeOf(V,I){return Object.setPrototypeOf(V,I)},Promise,PromisePrototypeCatch(V,I){return V.catch(I)},PromisePrototypeThen(V,I,O){return V.then(I,O)},PromiseReject(V){return Promise.reject(V)},PromiseResolve(V){return Promise.resolve(V)},ReflectApply:Reflect.apply,RegExpPrototypeTest(V,I){return V.test(I)},SafeSet:Set,String,StringPrototypeSlice(V,I,O){return V.slice(I,O)},StringPrototypeToLowerCase(V){return V.toLowerCase()},StringPrototypeToUpperCase(V){return V.toUpperCase()},StringPrototypeTrim(V){return V.trim()},Symbol,SymbolFor:Symbol.for,SymbolAsyncIterator:Symbol.asyncIterator,SymbolHasInstance:Symbol.hasInstance,SymbolIterator:Symbol.iterator,SymbolDispose:Symbol.dispose||Symbol("Symbol.dispose"),SymbolAsyncDispose:Symbol.asyncDispose||Symbol("Symbol.asyncDispose"),TypedArrayPrototypeSet(V,I,O){return V.set(I,O)},Boolean,Uint8Array}}),_S=IU((X,J)=>{J.exports={format(Y,...V){return Y.replace(/%([sdifj])/g,function(...[I,O]){let Z=V.shift();if(O==="f")return Z.toFixed(6);else if(O==="j")return JSON.stringify(Z);else if(O==="s"&&typeof Z==="object")return`${Z.constructor!==Object?Z.constructor.name:""} {}`.trim();else return Z.toString()})},inspect(Y){switch(typeof Y){case"string":if(Y.includes("'")){if(!Y.includes('"'))return`"${Y}"`;else if(!Y.includes("`")&&!Y.includes("${"))return`\`${Y}\``}return`'${Y}'`;case"number":if(isNaN(Y))return"NaN";else if(Object.is(Y,-0))return String(Y);return Y;case"bigint":return`${String(Y)}n`;case"boolean":case"undefined":return String(Y);case"object":return"{}"}}}}),w6=IU((X,J)=>{var{format:Y,inspect:V}=_S(),{AggregateError:I}=fU(),O=globalThis.AggregateError||I,Z=Symbol("kIsNodeError"),L=["string","function","number","object","Function","Object","boolean","bigint","symbol"],B=/^([A-Z][a-z0-9]*)+$/,R={};function S(u,x){if(!u)throw new R.ERR_INTERNAL_ASSERTION(x)}function T(u){let x="",b=u.length,p=u[0]==="-"?1:0;for(;b>=p+4;b-=3)x=`_${u.slice(b-3,b)}${x}`;return`${u.slice(0,b)}${x}`}function E(u,x,b){if(typeof x==="function")return S(x.length<=b.length,`Code: ${u}; The provided arguments length (${b.length}) does not match the required ones (${x.length}).`),x(...b);let p=(x.match(/%[dfijoOs]/g)||[]).length;if(S(p===b.length,`Code: ${u}; The provided arguments length (${b.length}) does not match the required ones (${p}).`),b.length===0)return x;return Y(x,...b)}function v(u,x,b){if(!b)b=Error;class p extends b{constructor(...d){super(E(u,x,d))}toString(){return`${this.name} [${u}]: ${this.message}`}}Object.defineProperties(p.prototype,{name:{value:b.name,writable:!0,enumerable:!1,configurable:!0},toString:{value(){return`${this.name} [${u}]: ${this.message}`},writable:!0,enumerable:!1,configurable:!0}}),p.prototype.code=u,p.prototype[Z]=!0,R[u]=p}function q(u){let x="__node_internal_"+u.name;return Object.defineProperty(u,"name",{value:x}),u}function y(u,x){if(u&&x&&u!==x){if(Array.isArray(x.errors))return x.errors.push(u),x;let b=new O([x,u],x.message);return b.code=x.code,b}return u||x}class w extends Error{constructor(u="The operation was aborted",x=void 0){if(x!==void 0&&typeof x!=="object")throw new R.ERR_INVALID_ARG_TYPE("options","Object",x);super(u,x);this.code="ABORT_ERR",this.name="AbortError"}}v("ERR_ASSERTION","%s",Error),v("ERR_INVALID_ARG_TYPE",(u,x,b)=>{if(S(typeof u==="string","'name' must be a string"),!Array.isArray(x))x=[x];let p="The ";if(u.endsWith(" argument"))p+=`${u} `;else p+=`"${u}" ${u.includes(".")?"property":"argument"} `;p+="must be ";let d=[],a=[],F0=[];for(let R0 of x)if(S(typeof R0==="string","All expected entries have to be of type string"),L.includes(R0))d.push(R0.toLowerCase());else if(B.test(R0))a.push(R0);else S(R0!=="object",'The value "object" should be written as "Object"'),F0.push(R0);if(a.length>0){let R0=d.indexOf("object");if(R0!==-1)d.splice(d,R0,1),a.push("Object")}if(d.length>0){switch(d.length){case 1:p+=`of type ${d[0]}`;break;case 2:p+=`one of type ${d[0]} or ${d[1]}`;break;default:{let R0=d.pop();p+=`one of type ${d.join(", ")}, or ${R0}`}}if(a.length>0||F0.length>0)p+=" or "}if(a.length>0){switch(a.length){case 1:p+=`an instance of ${a[0]}`;break;case 2:p+=`an instance of ${a[0]} or ${a[1]}`;break;default:{let R0=a.pop();p+=`an instance of ${a.join(", ")}, or ${R0}`}}if(F0.length>0)p+=" or "}switch(F0.length){case 0:break;case 1:if(F0[0].toLowerCase()!==F0[0])p+="an ";p+=`${F0[0]}`;break;case 2:p+=`one of ${F0[0]} or ${F0[1]}`;break;default:{let R0=F0.pop();p+=`one of ${F0.join(", ")}, or ${R0}`}}if(b==null)p+=`. Received ${b}`;else if(typeof b==="function"&&b.name)p+=`. Received function ${b.name}`;else if(typeof b==="object"){var L0;if((L0=b.constructor)!==null&&L0!==void 0&&L0.name)p+=`. Received an instance of ${b.constructor.name}`;else{let R0=V(b,{depth:-1});p+=`. Received ${R0}`}}else{let R0=V(b,{colors:!1});if(R0.length>25)R0=`${R0.slice(0,25)}...`;p+=`. Received type ${typeof b} (${R0})`}return p},TypeError),v("ERR_INVALID_ARG_VALUE",(u,x,b="is invalid")=>{let p=V(x);if(p.length>128)p=p.slice(0,128)+"...";return`The ${u.includes(".")?"property":"argument"} '${u}' ${b}. Received ${p}`},TypeError),v("ERR_INVALID_RETURN_VALUE",(u,x,b)=>{var p;let d=b!==null&&b!==void 0&&(p=b.constructor)!==null&&p!==void 0&&p.name?`instance of ${b.constructor.name}`:`type ${typeof b}`;return`Expected ${u} to be returned from the "${x}" function but got ${d}.`},TypeError),v("ERR_MISSING_ARGS",(...u)=>{S(u.length>0,"At least one arg needs to be specified");let x,b=u.length;switch(u=(Array.isArray(u)?u:[u]).map((p)=>`"${p}"`).join(" or "),b){case 1:x+=`The ${u[0]} argument`;break;case 2:x+=`The ${u[0]} and ${u[1]} arguments`;break;default:{let p=u.pop();x+=`The ${u.join(", ")}, and ${p} arguments`}break}return`${x} must be specified`},TypeError),v("ERR_OUT_OF_RANGE",(u,x,b)=>{S(x,'Missing "range" argument');let p;if(Number.isInteger(b)&&Math.abs(b)>4294967296)p=T(String(b));else if(typeof b==="bigint"){p=String(b);let d=BigInt(2)**BigInt(32);if(b>d||b<-d)p=T(p);p+="n"}else p=V(b);return`The value of "${u}" is out of range. It must be ${x}. Received ${p}`},RangeError),v("ERR_MULTIPLE_CALLBACK","Callback called multiple times",Error),v("ERR_METHOD_NOT_IMPLEMENTED","The %s method is not implemented",Error),v("ERR_STREAM_ALREADY_FINISHED","Cannot call %s after a stream was finished",Error),v("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable",Error),v("ERR_STREAM_DESTROYED","Cannot call %s after a stream was destroyed",Error),v("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),v("ERR_STREAM_PREMATURE_CLOSE","Premature close",Error),v("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF",Error),v("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event",Error),v("ERR_STREAM_WRITE_AFTER_END","write after end",Error),v("ERR_UNKNOWN_ENCODING","Unknown encoding: %s",TypeError),J.exports={AbortError:w,aggregateTwoErrors:q(y),hideStackFrames:q,codes:R}}),ng=IU((X,J)=>{Object.defineProperty(X,"__esModule",{value:!0});var Y=new WeakMap,V=new WeakMap;function I(t){let C0=Y.get(t);return console.assert(C0!=null,"'this' is expected an Event object, but got",t),C0}function O(t){if(t.passiveListener!=null){if(typeof console<"u"&&typeof console.error==="function")console.error("Unable to preventDefault inside passive event listener invocation.",t.passiveListener);return}if(!t.event.cancelable)return;if(t.canceled=!0,typeof t.event.preventDefault==="function")t.event.preventDefault()}function Z(t,C0){Y.set(this,{eventTarget:t,event:C0,eventPhase:2,currentTarget:t,canceled:!1,stopped:!1,immediateStopped:!1,passiveListener:null,timeStamp:C0.timeStamp||Date.now()}),Object.defineProperty(this,"isTrusted",{value:!1,enumerable:!0});let G=Object.keys(C0);for(let K=0;K<G.length;++K){let H=G[K];if(!(H in this))Object.defineProperty(this,H,L(H))}}if(Z.prototype={get type(){return I(this).event.type},get target(){return I(this).eventTarget},get currentTarget(){return I(this).currentTarget},composedPath(){let t=I(this).currentTarget;if(t==null)return[];return[t]},get NONE(){return 0},get CAPTURING_PHASE(){return 1},get AT_TARGET(){return 2},get BUBBLING_PHASE(){return 3},get eventPhase(){return I(this).eventPhase},stopPropagation(){let t=I(this);if(t.stopped=!0,typeof t.event.stopPropagation==="function")t.event.stopPropagation()},stopImmediatePropagation(){let t=I(this);if(t.stopped=!0,t.immediateStopped=!0,typeof t.event.stopImmediatePropagation==="function")t.event.stopImmediatePropagation()},get bubbles(){return Boolean(I(this).event.bubbles)},get cancelable(){return Boolean(I(this).event.cancelable)},preventDefault(){O(I(this))},get defaultPrevented(){return I(this).canceled},get composed(){return Boolean(I(this).event.composed)},get timeStamp(){return I(this).timeStamp},get srcElement(){return I(this).eventTarget},get cancelBubble(){return I(this).stopped},set cancelBubble(t){if(!t)return;let C0=I(this);if(C0.stopped=!0,typeof C0.event.cancelBubble==="boolean")C0.event.cancelBubble=!0},get returnValue(){return!I(this).canceled},set returnValue(t){if(!t)O(I(this))},initEvent(){}},Object.defineProperty(Z.prototype,"constructor",{value:Z,configurable:!0,writable:!0}),typeof window<"u"&&typeof window.Event<"u")Object.setPrototypeOf(Z.prototype,window.Event.prototype),V.set(window.Event.prototype,Z);function L(t){return{get(){return I(this).event[t]},set(C0){I(this).event[t]=C0},configurable:!0,enumerable:!0}}function B(t){return{value(){let C0=I(this).event;return C0[t].apply(C0,arguments)},configurable:!0,enumerable:!0}}function R(t,C0){let G=Object.keys(C0);if(G.length===0)return t;function K(H,D){t.call(this,H,D)}K.prototype=Object.create(t.prototype,{constructor:{value:K,configurable:!0,writable:!0}});for(let H=0;H<G.length;++H){let D=G[H];if(!(D in t.prototype)){let F=typeof Object.getOwnPropertyDescriptor(C0,D).value==="function";Object.defineProperty(K.prototype,D,F?B(D):L(D))}}return K}function S(t){if(t==null||t===Object.prototype)return Z;let C0=V.get(t);if(C0==null)C0=R(S(Object.getPrototypeOf(t)),t),V.set(t,C0);return C0}function T(t,C0){return new(S(Object.getPrototypeOf(C0)))(t,C0)}function E(t){return I(t).immediateStopped}function v(t,C0){I(t).eventPhase=C0}function q(t,C0){I(t).currentTarget=C0}function y(t,C0){I(t).passiveListener=C0}var w=new WeakMap,u=1,x=2,b=3;function p(t){return t!==null&&typeof t==="object"}function d(t){let C0=w.get(t);if(C0==null)throw TypeError("'this' is expected an EventTarget object, but got another value.");return C0}function a(t){return{get(){let C0=d(this).get(t);while(C0!=null){if(C0.listenerType===b)return C0.listener;C0=C0.next}return null},set(C0){if(typeof C0!=="function"&&!p(C0))C0=null;let G=d(this),K=null,H=G.get(t);while(H!=null){if(H.listenerType===b)if(K!==null)K.next=H.next;else if(H.next!==null)G.set(t,H.next);else G.delete(t);else K=H;H=H.next}if(C0!==null){let D={listener:C0,listenerType:b,passive:!1,once:!1,next:null};if(K===null)G.set(t,D);else K.next=D}},configurable:!0,enumerable:!0}}function F0(t,C0){Object.defineProperty(t,`on${C0}`,a(C0))}function L0(t){function C0(){R0.call(this)}C0.prototype=Object.create(R0.prototype,{constructor:{value:C0,configurable:!0,writable:!0}});for(let G=0;G<t.length;++G)F0(C0.prototype,t[G]);return C0}function R0(){if(this instanceof R0){w.set(this,new Map);return}if(arguments.length===1&&Array.isArray(arguments[0]))return L0(arguments[0]);if(arguments.length>0){let t=Array(arguments.length);for(let C0=0;C0<arguments.length;++C0)t[C0]=arguments[C0];return L0(t)}throw TypeError("Cannot call a class as a function")}if(R0.prototype={addEventListener(t,C0,G){if(C0==null)return;if(typeof C0!=="function"&&!p(C0))throw TypeError("'listener' should be a function or an object.");let K=d(this),H=p(G),D=(H?Boolean(G.capture):Boolean(G))?u:x,F={listener:C0,listenerType:D,passive:H&&Boolean(G.passive),once:H&&Boolean(G.once),next:null},P=K.get(t);if(P===void 0){K.set(t,F);return}let j=null;while(P!=null){if(P.listener===C0&&P.listenerType===D)return;j=P,P=P.next}j.next=F},removeEventListener(t,C0,G){if(C0==null)return;let K=d(this),H=(p(G)?Boolean(G.capture):Boolean(G))?u:x,D=null,F=K.get(t);while(F!=null){if(F.listener===C0&&F.listenerType===H){if(D!==null)D.next=F.next;else if(F.next!==null)K.set(t,F.next);else K.delete(t);return}D=F,F=F.next}},dispatchEvent(t){if(t==null||typeof t.type!=="string")throw TypeError('"event.type" should be a string.');let C0=d(this),G=t.type,K=C0.get(G);if(K==null)return!0;let H=T(this,t),D=null;while(K!=null){if(K.once)if(D!==null)D.next=K.next;else if(K.next!==null)C0.set(G,K.next);else C0.delete(G);else D=K;if(y(H,K.passive?K.listener:null),typeof K.listener==="function")try{K.listener.call(this,H)}catch(F){if(typeof console<"u"&&typeof console.error==="function")console.error(F)}else if(K.listenerType!==b&&typeof K.listener.handleEvent==="function")K.listener.handleEvent(H);if(E(H))break;K=K.next}return y(H,null),v(H,0),q(H,null),!H.defaultPrevented}},Object.defineProperty(R0.prototype,"constructor",{value:R0,configurable:!0,writable:!0}),typeof window<"u"&&typeof window.EventTarget<"u")Object.setPrototypeOf(R0.prototype,window.EventTarget.prototype);X.defineEventAttribute=F0,X.EventTarget=R0,X.default=R0,J.exports=R0,J.exports.EventTarget=J.exports.default=R0,J.exports.defineEventAttribute=F0}),iG=IU((X,J)=>{Object.defineProperty(X,"__esModule",{value:!0});var Y=ng();class V extends Y.EventTarget{constructor(){super();throw TypeError("AbortSignal cannot be constructed directly")}get aborted(){let S=Z.get(this);if(typeof S!=="boolean")throw TypeError(`Expected 'this' to be an 'AbortSignal' object, but got ${this===null?"null":typeof this}`);return S}}Y.defineEventAttribute(V.prototype,"abort");function I(){let S=Object.create(V.prototype);return Y.EventTarget.call(S),Z.set(S,!1),S}function O(S){if(Z.get(S)!==!1)return;Z.set(S,!0),S.dispatchEvent({type:"abort"})}var Z=new WeakMap;if(Object.defineProperties(V.prototype,{aborted:{enumerable:!0}}),typeof Symbol==="function"&&typeof Symbol.toStringTag==="symbol")Object.defineProperty(V.prototype,Symbol.toStringTag,{configurable:!0,value:"AbortSignal"});class L{constructor(){B.set(this,I())}get signal(){return R(this)}abort(){O(R(this))}}var B=new WeakMap;function R(S){let T=B.get(S);if(T==null)throw TypeError(`Expected 'this' to be an 'AbortController' object, but got ${S===null?"null":typeof S}`);return T}if(Object.defineProperties(L.prototype,{signal:{enumerable:!0},abort:{enumerable:!0}}),typeof Symbol==="function"&&typeof Symbol.toStringTag==="symbol")Object.defineProperty(L.prototype,Symbol.toStringTag,{configurable:!0,value:"AbortController"});X.AbortController=L,X.AbortSignal=V,X.default=L,J.exports=L,J.exports.AbortController=J.exports.default=L,J.exports.AbortSignal=V}),t6=IU((X,J)=>{var Y=(oU(),j$(nU)),{format:V,inspect:I}=_S(),{codes:{ERR_INVALID_ARG_TYPE:O}}=w6(),{kResistStopPropagation:Z,AggregateError:L,SymbolDispose:B}=fU(),R=globalThis.AbortSignal||iG().AbortSignal,S=globalThis.AbortController||iG().AbortController,T=Object.getPrototypeOf(async function(){}).constructor,E=globalThis.Blob||Y.Blob,v=typeof E<"u"?function(w){return w instanceof E}:function(w){return!1},q=(w,u)=>{if(w!==void 0&&(w===null||typeof w!=="object"||!("aborted"in w)))throw new O(u,"AbortSignal",w)},y=(w,u)=>{if(typeof w!=="function")throw new O(u,"Function",w)};J.exports={AggregateError:L,kEmptyObject:Object.freeze({}),once(w){let u=!1;return function(...x){if(u)return;u=!0,w.apply(this,x)}},createDeferredPromise:function(){let w,u;return{promise:new Promise((x,b)=>{w=x,u=b}),resolve:w,reject:u}},promisify(w){return new Promise((u,x)=>{w((b,...p)=>{if(b)return x(b);return u(...p)})})},debuglog(){return function(){}},format:V,inspect:I,types:{isAsyncFunction(w){return w instanceof T},isArrayBufferView(w){return ArrayBuffer.isView(w)}},isBlob:v,deprecate(w,u){return w},addAbortListener:(SQ(),j$(RQ)).addAbortListener||function(w,u){if(w===void 0)throw new O("signal","AbortSignal",w);q(w,"signal"),y(u,"listener");let x;if(w.aborted)queueMicrotask(()=>u());else w.addEventListener("abort",u,{__proto__:null,once:!0,[Z]:!0}),x=()=>{w.removeEventListener("abort",u)};return{__proto__:null,[B](){var b;(b=x)===null||b===void 0||b()}}},AbortSignalAny:R.any||function(w){if(w.length===1)return w[0];let u=new S,x=()=>u.abort();return w.forEach((b)=>{q(b,"signals"),b.addEventListener("abort",x,{once:!0})}),u.signal.addEventListener("abort",()=>{w.forEach((b)=>b.removeEventListener("abort",x))},{once:!0}),u.signal}},J.exports.promisify.custom=Symbol.for("nodejs.util.promisify.custom")}),rG=IU((X,J)=>{var{ArrayIsArray:Y,ArrayPrototypeIncludes:V,ArrayPrototypeJoin:I,ArrayPrototypeMap:O,NumberIsInteger:Z,NumberIsNaN:L,NumberMAX_SAFE_INTEGER:B,NumberMIN_SAFE_INTEGER:R,NumberParseInt:S,ObjectPrototypeHasOwnProperty:T,RegExpPrototypeExec:E,String:v,StringPrototypeToUpperCase:q,StringPrototypeTrim:y}=fU(),{hideStackFrames:w,codes:{ERR_SOCKET_BAD_PORT:u,ERR_INVALID_ARG_TYPE:x,ERR_INVALID_ARG_VALUE:b,ERR_OUT_OF_RANGE:p,ERR_UNKNOWN_SIGNAL:d}}=w6(),{normalizeEncoding:a}=t6(),{isAsyncFunction:F0,isArrayBufferView:L0}=t6().types,R0={};function t(X0){return X0===(X0|0)}function C0(X0){return X0===X0>>>0}var G=/^[0-7]+$/,K="must be a 32-bit unsigned integer or an octal string";function H(X0,V0,U$){if(typeof X0>"u")X0=U$;if(typeof X0==="string"){if(E(G,X0)===null)throw new b(V0,X0,K);X0=S(X0,8)}return P(X0,V0),X0}var D=w((X0,V0,U$=R,M0=B)=>{if(typeof X0!=="number")throw new x(V0,"number",X0);if(!Z(X0))throw new p(V0,"an integer",X0);if(X0<U$||X0>M0)throw new p(V0,`>= ${U$} && <= ${M0}`,X0)}),F=w((X0,V0,U$=-2147483648,M0=2147483647)=>{if(typeof X0!=="number")throw new x(V0,"number",X0);if(!Z(X0))throw new p(V0,"an integer",X0);if(X0<U$||X0>M0)throw new p(V0,`>= ${U$} && <= ${M0}`,X0)}),P=w((X0,V0,U$=!1)=>{if(typeof X0!=="number")throw new x(V0,"number",X0);if(!Z(X0))throw new p(V0,"an integer",X0);let M0=U$?1:0,v0=4294967295;if(X0<M0||X0>v0)throw new p(V0,`>= ${M0} && <= ${v0}`,X0)});function j(X0,V0){if(typeof X0!=="string")throw new x(V0,"string",X0)}function A(X0,V0,U$=void 0,M0){if(typeof X0!=="number")throw new x(V0,"number",X0);if(U$!=null&&X0<U$||M0!=null&&X0>M0||(U$!=null||M0!=null)&&L(X0))throw new p(V0,`${U$!=null?`>= ${U$}`:""}${U$!=null&&M0!=null?" && ":""}${M0!=null?`<= ${M0}`:""}`,X0)}var z=w((X0,V0,U$)=>{if(!V(U$,X0)){let M0="must be one of: "+I(O(U$,(v0)=>typeof v0==="string"?`'${v0}'`:v(v0)),", ");throw new b(V0,X0,M0)}});function C(X0,V0){if(typeof X0!=="boolean")throw new x(V0,"boolean",X0)}function g(X0,V0,U$){return X0==null||!T(X0,V0)?U$:X0[V0]}var N=w((X0,V0,U$=null)=>{let M0=g(U$,"allowArray",!1),v0=g(U$,"allowFunction",!1);if(!g(U$,"nullable",!1)&&X0===null||!M0&&Y(X0)||typeof X0!=="object"&&(!v0||typeof X0!=="function"))throw new x(V0,"Object",X0)}),h=w((X0,V0)=>{if(X0!=null&&typeof X0!=="object"&&typeof X0!=="function")throw new x(V0,"a dictionary",X0)}),r=w((X0,V0,U$=0)=>{if(!Y(X0))throw new x(V0,"Array",X0);if(X0.length<U$){let M0=`must be longer than ${U$}`;throw new b(V0,X0,M0)}});function U0(X0,V0){r(X0,V0);for(let U$=0;U$<X0.length;U$++)j(X0[U$],`${V0}[${U$}]`)}function O0(X0,V0){r(X0,V0);for(let U$=0;U$<X0.length;U$++)C(X0[U$],`${V0}[${U$}]`)}function Q0(X0,V0){r(X0,V0);for(let U$=0;U$<X0.length;U$++){let M0=X0[U$],v0=`${V0}[${U$}]`;if(M0==null)throw new x(v0,"AbortSignal",M0);A0(M0,v0)}}function s(X0,V0="signal"){if(j(X0,V0),R0[X0]===void 0){if(R0[q(X0)]!==void 0)throw new d(X0+" (signals must use all capital letters)");throw new d(X0)}}var e=w((X0,V0="buffer")=>{if(!L0(X0))throw new x(V0,["Buffer","TypedArray","DataView"],X0)});function J0(X0,V0){let U$=a(V0),M0=X0.length;if(U$==="hex"&&M0%2!==0)throw new b("encoding",V0,`is invalid for data of length ${M0}`)}function Z0(X0,V0="Port",U$=!0){if(typeof X0!=="number"&&typeof X0!=="string"||typeof X0==="string"&&y(X0).length===0||+X0!==+X0>>>0||X0>65535||X0===0&&!U$)throw new u(V0,X0,U$);return X0|0}var A0=w((X0,V0)=>{if(X0!==void 0&&(X0===null||typeof X0!=="object"||!("aborted"in X0)))throw new x(V0,"AbortSignal",X0)}),$0=w((X0,V0)=>{if(typeof X0!=="function")throw new x(V0,"Function",X0)}),c=w((X0,V0)=>{if(typeof X0!=="function"||F0(X0))throw new x(V0,"Function",X0)}),n=w((X0,V0)=>{if(X0!==void 0)throw new x(V0,"undefined",X0)});function H0(X0,V0,U$){if(!V(U$,X0))throw new x(V0,`('${I(U$,"|")}')`,X0)}var Y0=/^(?:<[^>]*>)(?:\s*;\s*[^;"\s]+(?:=(")?[^;"\s]*\1)?)*$/;function D0(X0,V0){if(typeof X0>"u"||!E(Y0,X0))throw new b(V0,X0,'must be an array or string of format "</styles.css>; rel=preload; as=style"')}function q0(X0){if(typeof X0==="string")return D0(X0,"hints"),X0;else if(Y(X0)){let V0=X0.length,U$="";if(V0===0)return U$;for(let M0=0;M0<V0;M0++){let v0=X0[M0];if(D0(v0,"hints"),U$+=v0,M0!==V0-1)U$+=", "}return U$}throw new b("hints",X0,'must be an array or string of format "</styles.css>; rel=preload; as=style"')}J.exports={isInt32:t,isUint32:C0,parseFileMode:H,validateArray:r,validateStringArray:U0,validateBooleanArray:O0,validateAbortSignalArray:Q0,validateBoolean:C,validateBuffer:e,validateDictionary:h,validateEncoding:J0,validateFunction:$0,validateInt32:F,validateInteger:D,validateNumber:A,validateObject:N,validateOneOf:z,validatePlainFunction:c,validatePort:Z0,validateSignalName:s,validateString:j,validateUint32:P,validateUndefined:n,validateUnion:H0,validateAbortSignal:A0,validateLinkHeaderValue:q0}}),IJ=IU((X,J)=>{J.exports=globalThis.process}),zX=IU((X,J)=>{var{SymbolAsyncIterator:Y,SymbolIterator:V,SymbolFor:I}=fU(),O=I("nodejs.stream.destroyed"),Z=I("nodejs.stream.errored"),L=I("nodejs.stream.readable"),B=I("nodejs.stream.writable"),R=I("nodejs.stream.disturbed"),S=I("nodejs.webstream.isClosedPromise"),T=I("nodejs.webstream.controllerErrorFunction");function E(g,N=!1){var h;return!!(g&&typeof g.pipe==="function"&&typeof g.on==="function"&&(!N||typeof g.pause==="function"&&typeof g.resume==="function")&&(!g._writableState||((h=g._readableState)===null||h===void 0?void 0:h.readable)!==!1)&&(!g._writableState||g._readableState))}function v(g){var N;return!!(g&&typeof g.write==="function"&&typeof g.on==="function"&&(!g._readableState||((N=g._writableState)===null||N===void 0?void 0:N.writable)!==!1))}function q(g){return!!(g&&typeof g.pipe==="function"&&g._readableState&&typeof g.on==="function"&&typeof g.write==="function")}function y(g){return g&&(g._readableState||g._writableState||typeof g.write==="function"&&typeof g.on==="function"||typeof g.pipe==="function"&&typeof g.on==="function")}function w(g){return!!(g&&!y(g)&&typeof g.pipeThrough==="function"&&typeof g.getReader==="function"&&typeof g.cancel==="function")}function u(g){return!!(g&&!y(g)&&typeof g.getWriter==="function"&&typeof g.abort==="function")}function x(g){return!!(g&&!y(g)&&typeof g.readable==="object"&&typeof g.writable==="object")}function b(g){return w(g)||u(g)||x(g)}function p(g,N){if(g==null)return!1;if(N===!0)return typeof g[Y]==="function";if(N===!1)return typeof g[V]==="function";return typeof g[Y]==="function"||typeof g[V]==="function"}function d(g){if(!y(g))return null;let{_writableState:N,_readableState:h}=g,r=N||h;return!!(g.destroyed||g[O]||r!==null&&r!==void 0&&r.destroyed)}function a(g){if(!v(g))return null;if(g.writableEnded===!0)return!0;let N=g._writableState;if(N!==null&&N!==void 0&&N.errored)return!1;if(typeof(N===null||N===void 0?void 0:N.ended)!=="boolean")return null;return N.ended}function F0(g,N){if(!v(g))return null;if(g.writableFinished===!0)return!0;let h=g._writableState;if(h!==null&&h!==void 0&&h.errored)return!1;if(typeof(h===null||h===void 0?void 0:h.finished)!=="boolean")return null;return!!(h.finished||N===!1&&h.ended===!0&&h.length===0)}function L0(g){if(!E(g))return null;if(g.readableEnded===!0)return!0;let N=g._readableState;if(!N||N.errored)return!1;if(typeof(N===null||N===void 0?void 0:N.ended)!=="boolean")return null;return N.ended}function R0(g,N){if(!E(g))return null;let h=g._readableState;if(h!==null&&h!==void 0&&h.errored)return!1;if(typeof(h===null||h===void 0?void 0:h.endEmitted)!=="boolean")return null;return!!(h.endEmitted||N===!1&&h.ended===!0&&h.length===0)}function t(g){if(g&&g[L]!=null)return g[L];if(typeof(g===null||g===void 0?void 0:g.readable)!=="boolean")return null;if(d(g))return!1;return E(g)&&g.readable&&!R0(g)}function C0(g){if(g&&g[B]!=null)return g[B];if(typeof(g===null||g===void 0?void 0:g.writable)!=="boolean")return null;if(d(g))return!1;return v(g)&&g.writable&&!a(g)}function G(g,N){if(!y(g))return null;if(d(g))return!0;if((N===null||N===void 0?void 0:N.readable)!==!1&&t(g))return!1;if((N===null||N===void 0?void 0:N.writable)!==!1&&C0(g))return!1;return!0}function K(g){var N,h;if(!y(g))return null;if(g.writableErrored)return g.writableErrored;return(N=(h=g._writableState)===null||h===void 0?void 0:h.errored)!==null&&N!==void 0?N:null}function H(g){var N,h;if(!y(g))return null;if(g.readableErrored)return g.readableErrored;return(N=(h=g._readableState)===null||h===void 0?void 0:h.errored)!==null&&N!==void 0?N:null}function D(g){if(!y(g))return null;if(typeof g.closed==="boolean")return g.closed;let{_writableState:N,_readableState:h}=g;if(typeof(N===null||N===void 0?void 0:N.closed)==="boolean"||typeof(h===null||h===void 0?void 0:h.closed)==="boolean")return(N===null||N===void 0?void 0:N.closed)||(h===null||h===void 0?void 0:h.closed);if(typeof g._closed==="boolean"&&F(g))return g._closed;return null}function F(g){return typeof g._closed==="boolean"&&typeof g._defaultKeepAlive==="boolean"&&typeof g._removedConnection==="boolean"&&typeof g._removedContLen==="boolean"}function P(g){return typeof g._sent100==="boolean"&&F(g)}function j(g){var N;return typeof g._consuming==="boolean"&&typeof g._dumped==="boolean"&&((N=g.req)===null||N===void 0?void 0:N.upgradeOrConnect)===void 0}function A(g){if(!y(g))return null;let{_writableState:N,_readableState:h}=g,r=N||h;return!r&&P(g)||!!(r&&r.autoDestroy&&r.emitClose&&r.closed===!1)}function z(g){var N;return!!(g&&((N=g[R])!==null&&N!==void 0?N:g.readableDidRead||g.readableAborted))}function C(g){var N,h,r,U0,O0,Q0,s,e,J0,Z0;return!!(g&&((N=(h=(r=(U0=(O0=(Q0=g[Z])!==null&&Q0!==void 0?Q0:g.readableErrored)!==null&&O0!==void 0?O0:g.writableErrored)!==null&&U0!==void 0?U0:(s=g._readableState)===null||s===void 0?void 0:s.errorEmitted)!==null&&r!==void 0?r:(e=g._writableState)===null||e===void 0?void 0:e.errorEmitted)!==null&&h!==void 0?h:(J0=g._readableState)===null||J0===void 0?void 0:J0.errored)!==null&&N!==void 0?N:(Z0=g._writableState)===null||Z0===void 0?void 0:Z0.errored))}J.exports={isDestroyed:d,kIsDestroyed:O,isDisturbed:z,kIsDisturbed:R,isErrored:C,kIsErrored:Z,isReadable:t,kIsReadable:L,kIsClosedPromise:S,kControllerErrorFunction:T,kIsWritable:B,isClosed:D,isDuplexNodeStream:q,isFinished:G,isIterable:p,isReadableNodeStream:E,isReadableStream:w,isReadableEnded:L0,isReadableFinished:R0,isReadableErrored:H,isNodeStream:y,isWebStream:b,isWritable:C0,isWritableNodeStream:v,isWritableStream:u,isWritableEnded:a,isWritableFinished:F0,isWritableErrored:K,isServerRequest:j,isServerResponse:P,willEmitClose:A,isTransformStream:x}}),XI=IU((X,J)=>{var Y=IJ(),{AbortError:V,codes:I}=w6(),{ERR_INVALID_ARG_TYPE:O,ERR_STREAM_PREMATURE_CLOSE:Z}=I,{kEmptyObject:L,once:B}=t6(),{validateAbortSignal:R,validateFunction:S,validateObject:T,validateBoolean:E}=rG(),{Promise:v,PromisePrototypeThen:q,SymbolDispose:y}=fU(),{isClosed:w,isReadable:u,isReadableNodeStream:x,isReadableStream:b,isReadableFinished:p,isReadableErrored:d,isWritable:a,isWritableNodeStream:F0,isWritableStream:L0,isWritableFinished:R0,isWritableErrored:t,isNodeStream:C0,willEmitClose:G,kIsClosedPromise:K}=zX(),H;function D(z){return z.setHeader&&typeof z.abort==="function"}var F=()=>{};function P(z,C,g){var N,h;if(arguments.length===2)g=C,C=L;else if(C==null)C=L;else T(C,"options");if(S(g,"callback"),R(C.signal,"options.signal"),g=B(g),b(z)||L0(z))return j(z,C,g);if(!C0(z))throw new O("stream",["ReadableStream","WritableStream","Stream"],z);let r=(N=C.readable)!==null&&N!==void 0?N:x(z),U0=(h=C.writable)!==null&&h!==void 0?h:F0(z),O0=z._writableState,Q0=z._readableState,s=()=>{if(!z.writable)Z0()},e=G(z)&&x(z)===r&&F0(z)===U0,J0=R0(z,!1),Z0=()=>{if(J0=!0,z.destroyed)e=!1;if(e&&(!z.readable||r))return;if(!r||A0)g.call(z)},A0=p(z,!1),$0=()=>{if(A0=!0,z.destroyed)e=!1;if(e&&(!z.writable||U0))return;if(!U0||J0)g.call(z)},c=(X0)=>{g.call(z,X0)},n=w(z),H0=()=>{n=!0;let X0=t(z)||d(z);if(X0&&typeof X0!=="boolean")return g.call(z,X0);if(r&&!A0&&x(z,!0)){if(!p(z,!1))return g.call(z,new Z)}if(U0&&!J0){if(!R0(z,!1))return g.call(z,new Z)}g.call(z)},Y0=()=>{n=!0;let X0=t(z)||d(z);if(X0&&typeof X0!=="boolean")return g.call(z,X0);g.call(z)},D0=()=>{z.req.on("finish",Z0)};if(D(z)){if(z.on("complete",Z0),!e)z.on("abort",H0);if(z.req)D0();else z.on("request",D0)}else if(U0&&!O0)z.on("end",s),z.on("close",s);if(!e&&typeof z.aborted==="boolean")z.on("aborted",H0);if(z.on("end",$0),z.on("finish",Z0),C.error!==!1)z.on("error",c);if(z.on("close",H0),n)Y.nextTick(H0);else if(O0!==null&&O0!==void 0&&O0.errorEmitted||Q0!==null&&Q0!==void 0&&Q0.errorEmitted){if(!e)Y.nextTick(Y0)}else if(!r&&(!e||u(z))&&(J0||a(z)===!1))Y.nextTick(Y0);else if(!U0&&(!e||a(z))&&(A0||u(z)===!1))Y.nextTick(Y0);else if(Q0&&z.req&&z.aborted)Y.nextTick(Y0);let q0=()=>{if(g=F,z.removeListener("aborted",H0),z.removeListener("complete",Z0),z.removeListener("abort",H0),z.removeListener("request",D0),z.req)z.req.removeListener("finish",Z0);z.removeListener("end",s),z.removeListener("close",s),z.removeListener("finish",Z0),z.removeListener("end",$0),z.removeListener("error",c),z.removeListener("close",H0)};if(C.signal&&!n){let X0=()=>{let V0=g;q0(),V0.call(z,new V(void 0,{cause:C.signal.reason}))};if(C.signal.aborted)Y.nextTick(X0);else{H=H||t6().addAbortListener;let V0=H(C.signal,X0),U$=g;g=B((...M0)=>{V0[y](),U$.apply(z,M0)})}}return q0}function j(z,C,g){let N=!1,h=F;if(C.signal)if(h=()=>{N=!0,g.call(z,new V(void 0,{cause:C.signal.reason}))},C.signal.aborted)Y.nextTick(h);else{H=H||t6().addAbortListener;let U0=H(C.signal,h),O0=g;g=B((...Q0)=>{U0[y](),O0.apply(z,Q0)})}let r=(...U0)=>{if(!N)Y.nextTick(()=>g.apply(z,U0))};return q(z[K].promise,r,r),F}function A(z,C){var g;let N=!1;if(C===null)C=L;if((g=C)!==null&&g!==void 0&&g.cleanup)E(C.cleanup,"cleanup"),N=C.cleanup;return new v((h,r)=>{let U0=P(z,C,(O0)=>{if(N)U0();if(O0)r(O0);else h()})})}J.exports=P,J.exports.finished=A}),jQ=IU((X,J)=>{var Y=IJ(),{aggregateTwoErrors:V,codes:{ERR_MULTIPLE_CALLBACK:I},AbortError:O}=w6(),{Symbol:Z}=fU(),{kIsDestroyed:L,isDestroyed:B,isFinished:R,isServerRequest:S}=zX(),T=Z("kDestroy"),E=Z("kConstruct");function v(G,K,H){if(G){if(G.stack,K&&!K.errored)K.errored=G;if(H&&!H.errored)H.errored=G}}function q(G,K){let H=this._readableState,D=this._writableState,F=D||H;if(D!==null&&D!==void 0&&D.destroyed||H!==null&&H!==void 0&&H.destroyed){if(typeof K==="function")K();return this}if(v(G,D,H),D)D.destroyed=!0;if(H)H.destroyed=!0;if(!F.constructed)this.once(T,function(P){y(this,V(P,G),K)});else y(this,G,K);return this}function y(G,K,H){let D=!1;function F(P){if(D)return;D=!0;let{_readableState:j,_writableState:A}=G;if(v(P,A,j),A)A.closed=!0;if(j)j.closed=!0;if(typeof H==="function")H(P);if(P)Y.nextTick(w,G,P);else Y.nextTick(u,G)}try{G._destroy(K||null,F)}catch(P){F(P)}}function w(G,K){x(G,K),u(G)}function u(G){let{_readableState:K,_writableState:H}=G;if(H)H.closeEmitted=!0;if(K)K.closeEmitted=!0;if(H!==null&&H!==void 0&&H.emitClose||K!==null&&K!==void 0&&K.emitClose)G.emit("close")}function x(G,K){let{_readableState:H,_writableState:D}=G;if(D!==null&&D!==void 0&&D.errorEmitted||H!==null&&H!==void 0&&H.errorEmitted)return;if(D)D.errorEmitted=!0;if(H)H.errorEmitted=!0;G.emit("error",K)}function b(){let G=this._readableState,K=this._writableState;if(G)G.constructed=!0,G.closed=!1,G.closeEmitted=!1,G.destroyed=!1,G.errored=null,G.errorEmitted=!1,G.reading=!1,G.ended=G.readable===!1,G.endEmitted=G.readable===!1;if(K)K.constructed=!0,K.destroyed=!1,K.closed=!1,K.closeEmitted=!1,K.errored=null,K.errorEmitted=!1,K.finalCalled=!1,K.prefinished=!1,K.ended=K.writable===!1,K.ending=K.writable===!1,K.finished=K.writable===!1}function p(G,K,H){let{_readableState:D,_writableState:F}=G;if(F!==null&&F!==void 0&&F.destroyed||D!==null&&D!==void 0&&D.destroyed)return this;if(D!==null&&D!==void 0&&D.autoDestroy||F!==null&&F!==void 0&&F.autoDestroy)G.destroy(K);else if(K){if(K.stack,F&&!F.errored)F.errored=K;if(D&&!D.errored)D.errored=K;if(H)Y.nextTick(x,G,K);else x(G,K)}}function d(G,K){if(typeof G._construct!=="function")return;let{_readableState:H,_writableState:D}=G;if(H)H.constructed=!1;if(D)D.constructed=!1;if(G.once(E,K),G.listenerCount(E)>1)return;Y.nextTick(a,G)}function a(G){let K=!1;function H(D){if(K){p(G,D!==null&&D!==void 0?D:new I);return}K=!0;let{_readableState:F,_writableState:P}=G,j=P||F;if(F)F.constructed=!0;if(P)P.constructed=!0;if(j.destroyed)G.emit(T,D);else if(D)p(G,D,!0);else Y.nextTick(F0,G)}try{G._construct((D)=>{Y.nextTick(H,D)})}catch(D){Y.nextTick(H,D)}}function F0(G){G.emit(E)}function L0(G){return(G===null||G===void 0?void 0:G.setHeader)&&typeof G.abort==="function"}function R0(G){G.emit("close")}function t(G,K){G.emit("error",K),Y.nextTick(R0,G)}function C0(G,K){if(!G||B(G))return;if(!K&&!R(G))K=new O;if(S(G))G.socket=null,G.destroy(K);else if(L0(G))G.abort();else if(L0(G.req))G.req.abort();else if(typeof G.destroy==="function")G.destroy(K);else if(typeof G.close==="function")G.close();else if(K)Y.nextTick(t,G,K);else Y.nextTick(R0,G);if(!G.destroyed)G[L]=!0}J.exports={construct:d,destroyer:C0,destroy:q,undestroy:b,errorOrDestroy:p}}),X9=IU((X,J)=>{var{ArrayIsArray:Y,ObjectSetPrototypeOf:V}=fU(),{EventEmitter:I}=(SQ(),j$(RQ));function O(L){I.call(this,L)}V(O.prototype,I.prototype),V(O,I),O.prototype.pipe=function(L,B){let R=this;function S(u){if(L.writable&&L.write(u)===!1&&R.pause)R.pause()}R.on("data",S);function T(){if(R.readable&&R.resume)R.resume()}if(L.on("drain",T),!L._isStdio&&(!B||B.end!==!1))R.on("end",v),R.on("close",q);let E=!1;function v(){if(E)return;E=!0,L.end()}function q(){if(E)return;if(E=!0,typeof L.destroy==="function")L.destroy()}function y(u){if(w(),I.listenerCount(this,"error")===0)this.emit("error",u)}Z(R,"error",y),Z(L,"error",y);function w(){R.removeListener("data",S),L.removeListener("drain",T),R.removeListener("end",v),R.removeListener("close",q),R.removeListener("error",y),L.removeListener("error",y),R.removeListener("end",w),R.removeListener("close",w),L.removeListener("close",w)}return R.on("end",w),R.on("close",w),L.on("close",w),L.emit("pipe",R),L};function Z(L,B,R){if(typeof L.prependListener==="function")return L.prependListener(B,R);if(!L._events||!L._events[B])L.on(B,R);else if(Y(L._events[B]))L._events[B].unshift(R);else L._events[B]=[R,L._events[B]]}J.exports={Stream:O,prependListener:Z}}),DO=IU((X,J)=>{var{SymbolDispose:Y}=fU(),{AbortError:V,codes:I}=w6(),{isNodeStream:O,isWebStream:Z,kControllerErrorFunction:L}=zX(),B=XI(),{ERR_INVALID_ARG_TYPE:R}=I,S,T=(E,v)=>{if(typeof E!=="object"||!("aborted"in E))throw new R(v,"AbortSignal",E)};J.exports.addAbortSignal=function(E,v){if(T(E,"signal"),!O(v)&&!Z(v))throw new R("stream",["ReadableStream","WritableStream","Stream"],v);return J.exports.addAbortSignalNoValidate(E,v)},J.exports.addAbortSignalNoValidate=function(E,v){if(typeof E!=="object"||!("aborted"in E))return v;let q=O(v)?()=>{v.destroy(new V(void 0,{cause:E.reason}))}:()=>{v[L](new V(void 0,{cause:E.reason}))};if(E.aborted)q();else{S=S||t6().addAbortListener;let y=S(E,q);B(v,y[Y])}return v}}),og=IU((X,J)=>{var{StringPrototypeSlice:Y,SymbolIterator:V,TypedArrayPrototypeSet:I,Uint8Array:O}=fU(),{Buffer:Z}=(oU(),j$(nU)),{inspect:L}=t6();J.exports=class{constructor(){this.head=null,this.tail=null,this.length=0}push(B){let R={data:B,next:null};if(this.length>0)this.tail.next=R;else this.head=R;this.tail=R,++this.length}unshift(B){let R={data:B,next:this.head};if(this.length===0)this.tail=R;this.head=R,++this.length}shift(){if(this.length===0)return;let B=this.head.data;if(this.length===1)this.head=this.tail=null;else this.head=this.head.next;return--this.length,B}clear(){this.head=this.tail=null,this.length=0}join(B){if(this.length===0)return"";let R=this.head,S=""+R.data;while((R=R.next)!==null)S+=B+R.data;return S}concat(B){if(this.length===0)return Z.alloc(0);let R=Z.allocUnsafe(B>>>0),S=this.head,T=0;while(S)I(R,S.data,T),T+=S.data.length,S=S.next;return R}consume(B,R){let S=this.head.data;if(B<S.length){let T=S.slice(0,B);return this.head.data=S.slice(B),T}if(B===S.length)return this.shift();return R?this._getString(B):this._getBuffer(B)}first(){return this.head.data}*[V](){for(let B=this.head;B;B=B.next)yield B.data}_getString(B){let R="",S=this.head,T=0;do{let E=S.data;if(B>E.length)R+=E,B-=E.length;else{if(B===E.length)if(R+=E,++T,S.next)this.head=S.next;else this.head=this.tail=null;else R+=Y(E,0,B),this.head=S,S.data=Y(E,B);break}++T}while((S=S.next)!==null);return this.length-=T,R}_getBuffer(B){let R=Z.allocUnsafe(B),S=B,T=this.head,E=0;do{let v=T.data;if(B>v.length)I(R,v,S-B),B-=v.length;else{if(B===v.length)if(I(R,v,S-B),++E,T.next)this.head=T.next;else this.head=this.tail=null;else I(R,new O(v.buffer,v.byteOffset,B),S-B),this.head=T,T.data=v.slice(B);break}++E}while((T=T.next)!==null);return this.length-=E,R}[Symbol.for("nodejs.util.inspect.custom")](B,R){return L(this,{...R,depth:0,customInspect:!1})}}}),KO=IU((X,J)=>{var{MathFloor:Y,NumberIsInteger:V}=fU(),{validateInteger:I}=rG(),{ERR_INVALID_ARG_VALUE:O}=w6().codes,Z=16384,L=16;function B(E,v,q){return E.highWaterMark!=null?E.highWaterMark:v?E[q]:null}function R(E){return E?L:Z}function S(E,v){if(I(v,"value",0),E)L=v;else Z=v}function T(E,v,q,y){let w=B(v,y,q);if(w!=null){if(!V(w)||w<0){let u=y?`options.${q}`:"options.highWaterMark";throw new O(u,w)}return Y(w)}return R(E.objectMode)}J.exports={getHighWaterMark:T,getDefaultHighWaterMark:R,setDefaultHighWaterMark:S}}),ig=IU((X,J)=>{/*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */var Y=(oU(),j$(nU)),V=Y.Buffer;function I(Z,L){for(var B in Z)L[B]=Z[B]}if(V.from&&V.alloc&&V.allocUnsafe&&V.allocUnsafeSlow)J.exports=Y;else I(Y,X),X.Buffer=O;function O(Z,L,B){return V(Z,L,B)}O.prototype=Object.create(V.prototype),I(V,O),O.from=function(Z,L,B){if(typeof Z==="number")throw TypeError("Argument must not be a number");return V(Z,L,B)},O.alloc=function(Z,L,B){if(typeof Z!=="number")throw TypeError("Argument must be a number");var R=V(Z);if(L!==void 0)if(typeof B==="string")R.fill(L,B);else R.fill(L);else R.fill(0);return R},O.allocUnsafe=function(Z){if(typeof Z!=="number")throw TypeError("Argument must be a number");return V(Z)},O.allocUnsafeSlow=function(Z){if(typeof Z!=="number")throw TypeError("Argument must be a number");return Y.SlowBuffer(Z)}}),rg=IU((X)=>{var J=ig().Buffer,Y=J.isEncoding||function(x){switch(x=""+x,x&&x.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function V(x){if(!x)return"utf8";var b;while(!0)switch(x){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return x;default:if(b)return;x=(""+x).toLowerCase(),b=!0}}function I(x){var b=V(x);if(typeof b!=="string"&&(J.isEncoding===Y||!Y(x)))throw Error("Unknown encoding: "+x);return b||x}X.StringDecoder=O;function O(x){this.encoding=I(x);var b;switch(this.encoding){case"utf16le":this.text=E,this.end=v,b=4;break;case"utf8":this.fillLast=R,b=4;break;case"base64":this.text=q,this.end=y,b=3;break;default:this.write=w,this.end=u;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=J.allocUnsafe(b)}O.prototype.write=function(x){if(x.length===0)return"";var b,p;if(this.lastNeed){if(b=this.fillLast(x),b===void 0)return"";p=this.lastNeed,this.lastNeed=0}else p=0;if(p<x.length)return b?b+this.text(x,p):this.text(x,p);return b||""},O.prototype.end=T,O.prototype.text=S,O.prototype.fillLast=function(x){if(this.lastNeed<=x.length)return x.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);x.copy(this.lastChar,this.lastTotal-this.lastNeed,0,x.length),this.lastNeed-=x.length};function Z(x){if(x<=127)return 0;else if(x>>5===6)return 2;else if(x>>4===14)return 3;else if(x>>3===30)return 4;return x>>6===2?-1:-2}function L(x,b,p){var d=b.length-1;if(d<p)return 0;var a=Z(b[d]);if(a>=0){if(a>0)x.lastNeed=a-1;return a}if(--d<p||a===-2)return 0;if(a=Z(b[d]),a>=0){if(a>0)x.lastNeed=a-2;return a}if(--d<p||a===-2)return 0;if(a=Z(b[d]),a>=0){if(a>0)if(a===2)a=0;else x.lastNeed=a-3;return a}return 0}function B(x,b,p){if((b[0]&192)!==128)return x.lastNeed=0,"�";if(x.lastNeed>1&&b.length>1){if((b[1]&192)!==128)return x.lastNeed=1,"�";if(x.lastNeed>2&&b.length>2){if((b[2]&192)!==128)return x.lastNeed=2,"�"}}}function R(x){var b=this.lastTotal-this.lastNeed,p=B(this,x,b);if(p!==void 0)return p;if(this.lastNeed<=x.length)return x.copy(this.lastChar,b,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);x.copy(this.lastChar,b,0,x.length),this.lastNeed-=x.length}function S(x,b){var p=L(this,x,b);if(!this.lastNeed)return x.toString("utf8",b);this.lastTotal=p;var d=x.length-(p-this.lastNeed);return x.copy(this.lastChar,0,d),x.toString("utf8",b,d)}function T(x){var b=x&&x.length?this.write(x):"";if(this.lastNeed)return b+"�";return b}function E(x,b){if((x.length-b)%2===0){var p=x.toString("utf16le",b);if(p){var d=p.charCodeAt(p.length-1);if(d>=55296&&d<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=x[x.length-2],this.lastChar[1]=x[x.length-1],p.slice(0,-1)}return p}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=x[x.length-1],x.toString("utf16le",b,x.length-1)}function v(x){var b=x&&x.length?this.write(x):"";if(this.lastNeed){var p=this.lastTotal-this.lastNeed;return b+this.lastChar.toString("utf16le",0,p)}return b}function q(x,b){var p=(x.length-b)%3;if(p===0)return x.toString("base64",b);if(this.lastNeed=3-p,this.lastTotal=3,p===1)this.lastChar[0]=x[x.length-1];else this.lastChar[0]=x[x.length-2],this.lastChar[1]=x[x.length-1];return x.toString("base64",b,x.length-p)}function y(x){var b=x&&x.length?this.write(x):"";if(this.lastNeed)return b+this.lastChar.toString("base64",0,3-this.lastNeed);return b}function w(x){return x.toString(this.encoding)}function u(x){return x&&x.length?this.write(x):""}}),ES=IU((X,J)=>{var Y=IJ(),{PromisePrototypeThen:V,SymbolAsyncIterator:I,SymbolIterator:O}=fU(),{Buffer:Z}=(oU(),j$(nU)),{ERR_INVALID_ARG_TYPE:L,ERR_STREAM_NULL_VALUES:B}=w6().codes;function R(S,T,E){let v;if(typeof T==="string"||T instanceof Z)return new S({objectMode:!0,...E,read(){this.push(T),this.push(null)}});let q;if(T&&T[I])q=!0,v=T[I]();else if(T&&T[O])q=!1,v=T[O]();else throw new L("iterable",["Iterable"],T);let y=new S({objectMode:!0,highWaterMark:1,...E}),w=!1;y._read=function(){if(!w)w=!0,x()},y._destroy=function(b,p){V(u(b),()=>Y.nextTick(p,b),(d)=>Y.nextTick(p,d||b))};async function u(b){let p=b!==void 0&&b!==null,d=typeof v.throw==="function";if(p&&d){let{value:a,done:F0}=await v.throw(b);if(await a,F0)return}if(typeof v.return==="function"){let{value:a}=await v.return();await a}}async function x(){for(;;){try{let{value:b,done:p}=q?await v.next():v.next();if(p)y.push(null);else{let d=b&&typeof b.then==="function"?await b:b;if(d===null)throw w=!1,new B;else if(y.push(d))continue;else w=!1}}catch(b){y.destroy(b)}break}}return y}J.exports=R}),WO=IU((X,J)=>{var Y=IJ(),{ArrayPrototypeIndexOf:V,NumberIsInteger:I,NumberIsNaN:O,NumberParseInt:Z,ObjectDefineProperties:L,ObjectKeys:B,ObjectSetPrototypeOf:R,Promise:S,SafeSet:T,SymbolAsyncDispose:E,SymbolAsyncIterator:v,Symbol:q}=fU();J.exports=M0,M0.ReadableState=U$;var{EventEmitter:y}=(SQ(),j$(RQ)),{Stream:w,prependListener:u}=X9(),{Buffer:x}=(oU(),j$(nU)),{addAbortSignal:b}=DO(),p=XI(),d=t6().debuglog("stream",(i)=>{d=i}),a=og(),F0=jQ(),{getHighWaterMark:L0,getDefaultHighWaterMark:R0}=KO(),{aggregateTwoErrors:t,codes:{ERR_INVALID_ARG_TYPE:C0,ERR_METHOD_NOT_IMPLEMENTED:G,ERR_OUT_OF_RANGE:K,ERR_STREAM_PUSH_AFTER_EOF:H,ERR_STREAM_UNSHIFT_AFTER_END_EVENT:D},AbortError:F}=w6(),{validateObject:P}=rG(),j=q("kPaused"),{StringDecoder:A}=rg(),z=ES();R(M0.prototype,w.prototype),R(M0,w);var C=()=>{},{errorOrDestroy:g}=F0,N=1,h=2,r=4,U0=8,O0=16,Q0=32,s=64,e=128,J0=256,Z0=512,A0=1024,$0=2048,c=4096,n=8192,H0=16384,Y0=32768,D0=65536,q0=131072,X0=262144;function V0(i){return{enumerable:!1,get(){return(this.state&i)!==0},set(G0){if(G0)this.state|=i;else this.state&=~i}}}L(U$.prototype,{objectMode:V0(N),ended:V0(h),endEmitted:V0(r),reading:V0(U0),constructed:V0(O0),sync:V0(Q0),needReadable:V0(s),emittedReadable:V0(e),readableListening:V0(J0),resumeScheduled:V0(Z0),errorEmitted:V0(A0),emitClose:V0($0),autoDestroy:V0(c),destroyed:V0(n),closed:V0(H0),closeEmitted:V0(Y0),multiAwaitDrain:V0(D0),readingMore:V0(q0),dataEmitted:V0(X0)});function U$(i,G0,E0){if(typeof E0!=="boolean")E0=G0 instanceof ZX();if(this.state=$0|c|O0|Q0,i&&i.objectMode)this.state|=N;if(E0&&i&&i.readableObjectMode)this.state|=N;if(this.highWaterMark=i?L0(this,i,"readableHighWaterMark",E0):R0(!1),this.buffer=new a,this.length=0,this.pipes=[],this.flowing=null,this[j]=null,i&&i.emitClose===!1)this.state&=~$0;if(i&&i.autoDestroy===!1)this.state&=~c;if(this.errored=null,this.defaultEncoding=i&&i.defaultEncoding||"utf8",this.awaitDrainWriters=null,this.decoder=null,this.encoding=null,i&&i.encoding)this.decoder=new A(i.encoding),this.encoding=i.encoding}function M0(i){if(!(this instanceof M0))return new M0(i);let G0=this instanceof ZX();if(this._readableState=new U$(i,this,G0),i){if(typeof i.read==="function")this._read=i.read;if(typeof i.destroy==="function")this._destroy=i.destroy;if(typeof i.construct==="function")this._construct=i.construct;if(i.signal&&!G0)b(i.signal,this)}w.call(this,i),F0.construct(this,()=>{if(this._readableState.needReadable)r0(this,this._readableState)})}M0.prototype.destroy=F0.destroy,M0.prototype._undestroy=F0.undestroy,M0.prototype._destroy=function(i,G0){G0(i)},M0.prototype[y.captureRejectionSymbol]=function(i){this.destroy(i)},M0.prototype[E]=function(){let i;if(!this.destroyed)i=this.readableEnded?null:new F,this.destroy(i);return new S((G0,E0)=>p(this,(S0)=>S0&&S0!==i?E0(S0):G0(null)))},M0.prototype.push=function(i,G0){return v0(this,i,G0,!1)},M0.prototype.unshift=function(i,G0){return v0(this,i,G0,!0)};function v0(i,G0,E0,S0){d("readableAddChunk",G0);let z$=i._readableState,d0;if((z$.state&N)===0){if(typeof G0==="string"){if(E0=E0||z$.defaultEncoding,z$.encoding!==E0)if(S0&&z$.encoding)G0=x.from(G0,E0).toString(z$.encoding);else G0=x.from(G0,E0),E0=""}else if(G0 instanceof x)E0="";else if(w._isUint8Array(G0))G0=w._uint8ArrayToBuffer(G0),E0="";else if(G0!=null)d0=new C0("chunk",["string","Buffer","Uint8Array"],G0)}if(d0)g(i,d0);else if(G0===null)z$.state&=~U0,u0(i,z$);else if((z$.state&N)!==0||G0&&G0.length>0)if(S0)if((z$.state&r)!==0)g(i,new D);else if(z$.destroyed||z$.errored)return!1;else L$(i,z$,G0,!0);else if(z$.ended)g(i,new H);else if(z$.destroyed||z$.errored)return!1;else if(z$.state&=~U0,z$.decoder&&!E0)if(G0=z$.decoder.write(G0),z$.objectMode||G0.length!==0)L$(i,z$,G0,!1);else r0(i,z$);else L$(i,z$,G0,!1);else if(!S0)z$.state&=~U0,r0(i,z$);return!z$.ended&&(z$.length<z$.highWaterMark||z$.length===0)}function L$(i,G0,E0,S0){if(G0.flowing&&G0.length===0&&!G0.sync&&i.listenerCount("data")>0){if((G0.state&D0)!==0)G0.awaitDrainWriters.clear();else G0.awaitDrainWriters=null;G0.dataEmitted=!0,i.emit("data",E0)}else{if(G0.length+=G0.objectMode?1:E0.length,S0)G0.buffer.unshift(E0);else G0.buffer.push(E0);if((G0.state&s)!==0)h0(i)}r0(i,G0)}M0.prototype.isPaused=function(){let i=this._readableState;return i[j]===!0||i.flowing===!1},M0.prototype.setEncoding=function(i){let G0=new A(i);this._readableState.decoder=G0,this._readableState.encoding=this._readableState.decoder.encoding;let E0=this._readableState.buffer,S0="";for(let z$ of E0)S0+=G0.write(z$);if(E0.clear(),S0!=="")E0.push(S0);return this._readableState.length=S0.length,this};var p0=1073741824;function c0(i){if(i>p0)throw new K("size","<= 1GiB",i);else i--,i|=i>>>1,i|=i>>>2,i|=i>>>4,i|=i>>>8,i|=i>>>16,i++;return i}function i$(i,G0){if(i<=0||G0.length===0&&G0.ended)return 0;if((G0.state&N)!==0)return 1;if(O(i)){if(G0.flowing&&G0.length)return G0.buffer.first().length;return G0.length}if(i<=G0.length)return i;return G0.ended?G0.length:0}M0.prototype.read=function(i){if(d("read",i),i===void 0)i=NaN;else if(!I(i))i=Z(i,10);let G0=this._readableState,E0=i;if(i>G0.highWaterMark)G0.highWaterMark=c0(i);if(i!==0)G0.state&=~e;if(i===0&&G0.needReadable&&((G0.highWaterMark!==0?G0.length>=G0.highWaterMark:G0.length>0)||G0.ended)){if(d("read: emitReadable",G0.length,G0.ended),G0.length===0&&G0.ended)D$(this);else h0(this);return null}if(i=i$(i,G0),i===0&&G0.ended){if(G0.length===0)D$(this);return null}let S0=(G0.state&s)!==0;if(d("need readable",S0),G0.length===0||G0.length-i<G0.highWaterMark)S0=!0,d("length less than watermark",S0);if(G0.ended||G0.reading||G0.destroyed||G0.errored||!G0.constructed)S0=!1,d("reading, ended or constructing",S0);else if(S0){if(d("do read"),G0.state|=U0|Q0,G0.length===0)G0.state|=s;try{this._read(G0.highWaterMark)}catch(d0){g(this,d0)}if(G0.state&=~Q0,!G0.reading)i=i$(E0,G0)}let z$;if(i>0)z$=f0(i,G0);else z$=null;if(z$===null)G0.needReadable=G0.length<=G0.highWaterMark,i=0;else if(G0.length-=i,G0.multiAwaitDrain)G0.awaitDrainWriters.clear();else G0.awaitDrainWriters=null;if(G0.length===0){if(!G0.ended)G0.needReadable=!0;if(E0!==i&&G0.ended)D$(this)}if(z$!==null&&!G0.errorEmitted&&!G0.closeEmitted)G0.dataEmitted=!0,this.emit("data",z$);return z$};function u0(i,G0){if(d("onEofChunk"),G0.ended)return;if(G0.decoder){let E0=G0.decoder.end();if(E0&&E0.length)G0.buffer.push(E0),G0.length+=G0.objectMode?1:E0.length}if(G0.ended=!0,G0.sync)h0(i);else G0.needReadable=!1,G0.emittedReadable=!0,QU(i)}function h0(i){let G0=i._readableState;if(d("emitReadable",G0.needReadable,G0.emittedReadable),G0.needReadable=!1,!G0.emittedReadable)d("emitReadable",G0.flowing),G0.emittedReadable=!0,Y.nextTick(QU,i)}function QU(i){let G0=i._readableState;if(d("emitReadable_",G0.destroyed,G0.length,G0.ended),!G0.destroyed&&!G0.errored&&(G0.length||G0.ended))i.emit("readable"),G0.emittedReadable=!1;G0.needReadable=!G0.flowing&&!G0.ended&&G0.length<=G0.highWaterMark,N0(i)}function r0(i,G0){if(!G0.readingMore&&G0.constructed)G0.readingMore=!0,Y.nextTick(o0,i,G0)}function o0(i,G0){while(!G0.reading&&!G0.ended&&(G0.length<G0.highWaterMark||G0.flowing&&G0.length===0)){let E0=G0.length;if(d("maybeReadMore read 0"),i.read(0),E0===G0.length)break}G0.readingMore=!1}M0.prototype._read=function(i){throw new G("_read()")},M0.prototype.pipe=function(i,G0){let E0=this,S0=this._readableState;if(S0.pipes.length===1){if(!S0.multiAwaitDrain)S0.multiAwaitDrain=!0,S0.awaitDrainWriters=new T(S0.awaitDrainWriters?[S0.awaitDrainWriters]:[])}S0.pipes.push(i),d("pipe count=%d opts=%j",S0.pipes.length,G0);let z$=(!G0||G0.end!==!1)&&i!==Y.stdout&&i!==Y.stderr?t0:S$;if(S0.endEmitted)Y.nextTick(z$);else E0.once("end",z$);i.on("unpipe",d0);function d0($U,d$){if(d("onunpipe"),$U===E0){if(d$&&d$.hasUnpiped===!1)d$.hasUnpiped=!0,$$()}}function t0(){d("onend"),i.end()}let HU,X$=!1;function $$(){if(d("cleanup"),i.removeListener("close",_U),i.removeListener("finish",B$),HU)i.removeListener("drain",HU);if(i.removeListener("error",e0),i.removeListener("unpipe",d0),E0.removeListener("end",t0),E0.removeListener("end",S$),E0.removeListener("data",I$),X$=!0,HU&&S0.awaitDrainWriters&&(!i._writableState||i._writableState.needDrain))HU()}function e$(){if(!X$){if(S0.pipes.length===1&&S0.pipes[0]===i)d("false write response, pause",0),S0.awaitDrainWriters=i,S0.multiAwaitDrain=!1;else if(S0.pipes.length>1&&S0.pipes.includes(i))d("false write response, pause",S0.awaitDrainWriters.size),S0.awaitDrainWriters.add(i);E0.pause()}if(!HU)HU=PU(E0,i),i.on("drain",HU)}E0.on("data",I$);function I$($U){d("ondata");let d$=i.write($U);if(d("dest.write",d$),d$===!1)e$()}function e0($U){if(d("onerror",$U),S$(),i.removeListener("error",e0),i.listenerCount("error")===0){let d$=i._writableState||i._readableState;if(d$&&!d$.errorEmitted)g(i,$U);else i.emit("error",$U)}}u(i,"error",e0);function _U(){i.removeListener("finish",B$),S$()}i.once("close",_U);function B$(){d("onfinish"),i.removeListener("close",_U),S$()}i.once("finish",B$);function S$(){d("unpipe"),E0.unpipe(i)}if(i.emit("pipe",E0),i.writableNeedDrain===!0)e$();else if(!S0.flowing)d("pipe resume"),E0.resume();return i};function PU(i,G0){return function(){let E0=i._readableState;if(E0.awaitDrainWriters===G0)d("pipeOnDrain",1),E0.awaitDrainWriters=null;else if(E0.multiAwaitDrain)d("pipeOnDrain",E0.awaitDrainWriters.size),E0.awaitDrainWriters.delete(G0);if((!E0.awaitDrainWriters||E0.awaitDrainWriters.size===0)&&i.listenerCount("data"))i.resume()}}M0.prototype.unpipe=function(i){let G0=this._readableState,E0={hasUnpiped:!1};if(G0.pipes.length===0)return this;if(!i){let z$=G0.pipes;G0.pipes=[],this.pause();for(let d0=0;d0<z$.length;d0++)z$[d0].emit("unpipe",this,{hasUnpiped:!1});return this}let S0=V(G0.pipes,i);if(S0===-1)return this;if(G0.pipes.splice(S0,1),G0.pipes.length===0)this.pause();return i.emit("unpipe",this,E0),this},M0.prototype.on=function(i,G0){let E0=w.prototype.on.call(this,i,G0),S0=this._readableState;if(i==="data"){if(S0.readableListening=this.listenerCount("readable")>0,S0.flowing!==!1)this.resume()}else if(i==="readable"){if(!S0.endEmitted&&!S0.readableListening){if(S0.readableListening=S0.needReadable=!0,S0.flowing=!1,S0.emittedReadable=!1,d("on readable",S0.length,S0.reading),S0.length)h0(this);else if(!S0.reading)Y.nextTick(I0,this)}}return E0},M0.prototype.addListener=M0.prototype.on,M0.prototype.removeListener=function(i,G0){let E0=w.prototype.removeListener.call(this,i,G0);if(i==="readable")Y.nextTick(m,this);return E0},M0.prototype.off=M0.prototype.removeListener,M0.prototype.removeAllListeners=function(i){let G0=w.prototype.removeAllListeners.apply(this,arguments);if(i==="readable"||i===void 0)Y.nextTick(m,this);return G0};function m(i){let G0=i._readableState;if(G0.readableListening=i.listenerCount("readable")>0,G0.resumeScheduled&&G0[j]===!1)G0.flowing=!0;else if(i.listenerCount("data")>0)i.resume();else if(!G0.readableListening)G0.flowing=null}function I0(i){d("readable nexttick read 0"),i.read(0)}M0.prototype.resume=function(){let i=this._readableState;if(!i.flowing)d("resume"),i.flowing=!i.readableListening,s0(this,i);return i[j]=!1,this};function s0(i,G0){if(!G0.resumeScheduled)G0.resumeScheduled=!0,Y.nextTick(j0,i,G0)}function j0(i,G0){if(d("resume",G0.reading),!G0.reading)i.read(0);if(G0.resumeScheduled=!1,i.emit("resume"),N0(i),G0.flowing&&!G0.reading)i.read(0)}M0.prototype.pause=function(){if(d("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1)d("pause"),this._readableState.flowing=!1,this.emit("pause");return this._readableState[j]=!0,this};function N0(i){let G0=i._readableState;d("flow",G0.flowing);while(G0.flowing&&i.read()!==null);}M0.prototype.wrap=function(i){let G0=!1;i.on("data",(S0)=>{if(!this.push(S0)&&i.pause)G0=!0,i.pause()}),i.on("end",()=>{this.push(null)}),i.on("error",(S0)=>{g(this,S0)}),i.on("close",()=>{this.destroy()}),i.on("destroy",()=>{this.destroy()}),this._read=()=>{if(G0&&i.resume)G0=!1,i.resume()};let E0=B(i);for(let S0=1;S0<E0.length;S0++){let z$=E0[S0];if(this[z$]===void 0&&typeof i[z$]==="function")this[z$]=i[z$].bind(i)}return this},M0.prototype[v]=function(){return F$(this)},M0.prototype.iterator=function(i){if(i!==void 0)P(i,"options");return F$(this,i)};function F$(i,G0){if(typeof i.read!=="function")i=M0.wrap(i,{objectMode:!0});let E0=x0(i,G0);return E0.stream=i,E0}async function*x0(i,G0){let E0=C;function S0(t0){if(this===i)E0(),E0=C;else E0=t0}i.on("readable",S0);let z$,d0=p(i,{writable:!1},(t0)=>{z$=t0?t(z$,t0):null,E0(),E0=C});try{while(!0){let t0=i.destroyed?null:i.read();if(t0!==null)yield t0;else if(z$)throw z$;else if(z$===null)return;else await new S(S0)}}catch(t0){throw z$=t(z$,t0),z$}finally{if((z$||(G0===null||G0===void 0?void 0:G0.destroyOnReturn)!==!1)&&(z$===void 0||i._readableState.autoDestroy))F0.destroyer(i,null);else i.off("readable",S0),d0()}}L(M0.prototype,{readable:{__proto__:null,get(){let i=this._readableState;return!!i&&i.readable!==!1&&!i.destroyed&&!i.errorEmitted&&!i.endEmitted},set(i){if(this._readableState)this._readableState.readable=!!i}},readableDidRead:{__proto__:null,enumerable:!1,get:function(){return this._readableState.dataEmitted}},readableAborted:{__proto__:null,enumerable:!1,get:function(){return!!(this._readableState.readable!==!1&&(this._readableState.destroyed||this._readableState.errored)&&!this._readableState.endEmitted)}},readableHighWaterMark:{__proto__:null,enumerable:!1,get:function(){return this._readableState.highWaterMark}},readableBuffer:{__proto__:null,enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}},readableFlowing:{__proto__:null,enumerable:!1,get:function(){return this._readableState.flowing},set:function(i){if(this._readableState)this._readableState.flowing=i}},readableLength:{__proto__:null,enumerable:!1,get(){return this._readableState.length}},readableObjectMode:{__proto__:null,enumerable:!1,get(){return this._readableState?this._readableState.objectMode:!1}},readableEncoding:{__proto__:null,enumerable:!1,get(){return this._readableState?this._readableState.encoding:null}},errored:{__proto__:null,enumerable:!1,get(){return this._readableState?this._readableState.errored:null}},closed:{__proto__:null,get(){return this._readableState?this._readableState.closed:!1}},destroyed:{__proto__:null,enumerable:!1,get(){return this._readableState?this._readableState.destroyed:!1},set(i){if(!this._readableState)return;this._readableState.destroyed=i}},readableEnded:{__proto__:null,enumerable:!1,get(){return this._readableState?this._readableState.endEmitted:!1}}}),L(U$.prototype,{pipesCount:{__proto__:null,get(){return this.pipes.length}},paused:{__proto__:null,get(){return this[j]!==!1},set(i){this[j]=!!i}}}),M0._fromList=f0;function f0(i,G0){if(G0.length===0)return null;let E0;if(G0.objectMode)E0=G0.buffer.shift();else if(!i||i>=G0.length){if(G0.decoder)E0=G0.buffer.join("");else if(G0.buffer.length===1)E0=G0.buffer.first();else E0=G0.buffer.concat(G0.length);G0.buffer.clear()}else E0=G0.buffer.consume(i,G0.decoder);return E0}function D$(i){let G0=i._readableState;if(d("endReadable",G0.endEmitted),!G0.endEmitted)G0.ended=!0,Y.nextTick(n0,G0,i)}function n0(i,G0){if(d("endReadableNT",i.endEmitted,i.length),!i.errored&&!i.closeEmitted&&!i.endEmitted&&i.length===0){if(i.endEmitted=!0,G0.emit("end"),G0.writable&&G0.allowHalfOpen===!1)Y.nextTick(i0,G0);else if(i.autoDestroy){let E0=G0._writableState;if(!E0||E0.autoDestroy&&(E0.finished||E0.writable===!1))G0.destroy()}}}function i0(i){if(i.writable&&!i.writableEnded&&!i.destroyed)i.end()}M0.from=function(i,G0){return z(M0,i,G0)};var VU;function a0(){if(VU===void 0)VU={};return VU}M0.fromWeb=function(i,G0){return a0().newStreamReadableFromReadableStream(i,G0)},M0.toWeb=function(i,G0){return a0().newReadableStreamFromStreamReadable(i,G0)},M0.wrap=function(i,G0){var E0,S0;return new M0({objectMode:(E0=(S0=i.readableObjectMode)!==null&&S0!==void 0?S0:i.objectMode)!==null&&E0!==void 0?E0:!0,...G0,destroy(z$,d0){F0.destroyer(i,z$),d0(z$)}}).wrap(i)}}),I9=IU((X,J)=>{var Y=IJ(),{ArrayPrototypeSlice:V,Error:I,FunctionPrototypeSymbolHasInstance:O,ObjectDefineProperty:Z,ObjectDefineProperties:L,ObjectSetPrototypeOf:B,StringPrototypeToLowerCase:R,Symbol:S,SymbolHasInstance:T}=fU();J.exports=P,P.WritableState=D;var{EventEmitter:E}=(SQ(),j$(RQ)),v=X9().Stream,{Buffer:q}=(oU(),j$(nU)),y=jQ(),{addAbortSignal:w}=DO(),{getHighWaterMark:u,getDefaultHighWaterMark:x}=KO(),{ERR_INVALID_ARG_TYPE:b,ERR_METHOD_NOT_IMPLEMENTED:p,ERR_MULTIPLE_CALLBACK:d,ERR_STREAM_CANNOT_PIPE:a,ERR_STREAM_DESTROYED:F0,ERR_STREAM_ALREADY_FINISHED:L0,ERR_STREAM_NULL_VALUES:R0,ERR_STREAM_WRITE_AFTER_END:t,ERR_UNKNOWN_ENCODING:C0}=w6().codes,{errorOrDestroy:G}=y;B(P.prototype,v.prototype),B(P,v);function K(){}var H=S("kOnFinished");function D(c,n,H0){if(typeof H0!=="boolean")H0=n instanceof ZX();if(this.objectMode=!!(c&&c.objectMode),H0)this.objectMode=this.objectMode||!!(c&&c.writableObjectMode);this.highWaterMark=c?u(this,c,"writableHighWaterMark",H0):x(!1),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;let Y0=!!(c&&c.decodeStrings===!1);this.decodeStrings=!Y0,this.defaultEncoding=c&&c.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=g.bind(void 0,n),this.writecb=null,this.writelen=0,this.afterWriteTickInfo=null,F(this),this.pendingcb=0,this.constructed=!0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=!c||c.emitClose!==!1,this.autoDestroy=!c||c.autoDestroy!==!1,this.errored=null,this.closed=!1,this.closeEmitted=!1,this[H]=[]}function F(c){c.buffered=[],c.bufferedIndex=0,c.allBuffers=!0,c.allNoop=!0}D.prototype.getBuffer=function(){return V(this.buffered,this.bufferedIndex)},Z(D.prototype,"bufferedRequestCount",{__proto__:null,get(){return this.buffered.length-this.bufferedIndex}});function P(c){let n=this instanceof ZX();if(!n&&!O(P,this))return new P(c);if(this._writableState=new D(c,this,n),c){if(typeof c.write==="function")this._write=c.write;if(typeof c.writev==="function")this._writev=c.writev;if(typeof c.destroy==="function")this._destroy=c.destroy;if(typeof c.final==="function")this._final=c.final;if(typeof c.construct==="function")this._construct=c.construct;if(c.signal)w(c.signal,this)}v.call(this,c),y.construct(this,()=>{let H0=this._writableState;if(!H0.writing)U0(this,H0);e(this,H0)})}Z(P,T,{__proto__:null,value:function(c){if(O(this,c))return!0;if(this!==P)return!1;return c&&c._writableState instanceof D}}),P.prototype.pipe=function(){G(this,new a)};function j(c,n,H0,Y0){let D0=c._writableState;if(typeof H0==="function")Y0=H0,H0=D0.defaultEncoding;else{if(!H0)H0=D0.defaultEncoding;else if(H0!=="buffer"&&!q.isEncoding(H0))throw new C0(H0);if(typeof Y0!=="function")Y0=K}if(n===null)throw new R0;else if(!D0.objectMode)if(typeof n==="string"){if(D0.decodeStrings!==!1)n=q.from(n,H0),H0="buffer"}else if(n instanceof q)H0="buffer";else if(v._isUint8Array(n))n=v._uint8ArrayToBuffer(n),H0="buffer";else throw new b("chunk",["string","Buffer","Uint8Array"],n);let q0;if(D0.ending)q0=new t;else if(D0.destroyed)q0=new F0("write");if(q0)return Y.nextTick(Y0,q0),G(c,q0,!0),q0;return D0.pendingcb++,A(c,D0,n,H0,Y0)}P.prototype.write=function(c,n,H0){return j(this,c,n,H0)===!0},P.prototype.cork=function(){this._writableState.corked++},P.prototype.uncork=function(){let c=this._writableState;if(c.corked){if(c.corked--,!c.writing)U0(this,c)}},P.prototype.setDefaultEncoding=function(c){if(typeof c==="string")c=R(c);if(!q.isEncoding(c))throw new C0(c);return this._writableState.defaultEncoding=c,this};function A(c,n,H0,Y0,D0){let q0=n.objectMode?1:H0.length;n.length+=q0;let X0=n.length<n.highWaterMark;if(!X0)n.needDrain=!0;if(n.writing||n.corked||n.errored||!n.constructed){if(n.buffered.push({chunk:H0,encoding:Y0,callback:D0}),n.allBuffers&&Y0!=="buffer")n.allBuffers=!1;if(n.allNoop&&D0!==K)n.allNoop=!1}else n.writelen=q0,n.writecb=D0,n.writing=!0,n.sync=!0,c._write(H0,Y0,n.onwrite),n.sync=!1;return X0&&!n.errored&&!n.destroyed}function z(c,n,H0,Y0,D0,q0,X0){if(n.writelen=Y0,n.writecb=X0,n.writing=!0,n.sync=!0,n.destroyed)n.onwrite(new F0("write"));else if(H0)c._writev(D0,n.onwrite);else c._write(D0,q0,n.onwrite);n.sync=!1}function C(c,n,H0,Y0){--n.pendingcb,Y0(H0),r(n),G(c,H0)}function g(c,n){let H0=c._writableState,Y0=H0.sync,D0=H0.writecb;if(typeof D0!=="function"){G(c,new d);return}if(H0.writing=!1,H0.writecb=null,H0.length-=H0.writelen,H0.writelen=0,n){if(n.stack,!H0.errored)H0.errored=n;if(c._readableState&&!c._readableState.errored)c._readableState.errored=n;if(Y0)Y.nextTick(C,c,H0,n,D0);else C(c,H0,n,D0)}else{if(H0.buffered.length>H0.bufferedIndex)U0(c,H0);if(Y0)if(H0.afterWriteTickInfo!==null&&H0.afterWriteTickInfo.cb===D0)H0.afterWriteTickInfo.count++;else H0.afterWriteTickInfo={count:1,cb:D0,stream:c,state:H0},Y.nextTick(N,H0.afterWriteTickInfo);else h(c,H0,1,D0)}}function N({stream:c,state:n,count:H0,cb:Y0}){return n.afterWriteTickInfo=null,h(c,n,H0,Y0)}function h(c,n,H0,Y0){if(!n.ending&&!c.destroyed&&n.length===0&&n.needDrain)n.needDrain=!1,c.emit("drain");while(H0-- >0)n.pendingcb--,Y0();if(n.destroyed)r(n);e(c,n)}function r(c){if(c.writing)return;for(let D0=c.bufferedIndex;D0<c.buffered.length;++D0){var n;let{chunk:q0,callback:X0}=c.buffered[D0],V0=c.objectMode?1:q0.length;c.length-=V0,X0((n=c.errored)!==null&&n!==void 0?n:new F0("write"))}let H0=c[H].splice(0);for(let D0=0;D0<H0.length;D0++){var Y0;H0[D0]((Y0=c.errored)!==null&&Y0!==void 0?Y0:new F0("end"))}F(c)}function U0(c,n){if(n.corked||n.bufferProcessing||n.destroyed||!n.constructed)return;let{buffered:H0,bufferedIndex:Y0,objectMode:D0}=n,q0=H0.length-Y0;if(!q0)return;let X0=Y0;if(n.bufferProcessing=!0,q0>1&&c._writev){n.pendingcb-=q0-1;let V0=n.allNoop?K:(M0)=>{for(let v0=X0;v0<H0.length;++v0)H0[v0].callback(M0)},U$=n.allNoop&&X0===0?H0:V(H0,X0);U$.allBuffers=n.allBuffers,z(c,n,!0,n.length,U$,"",V0),F(n)}else{do{let{chunk:V0,encoding:U$,callback:M0}=H0[X0];H0[X0++]=null;let v0=D0?1:V0.length;z(c,n,!1,v0,V0,U$,M0)}while(X0<H0.length&&!n.writing);if(X0===H0.length)F(n);else if(X0>256)H0.splice(0,X0),n.bufferedIndex=0;else n.bufferedIndex=X0}n.bufferProcessing=!1}P.prototype._write=function(c,n,H0){if(this._writev)this._writev([{chunk:c,encoding:n}],H0);else throw new p("_write()")},P.prototype._writev=null,P.prototype.end=function(c,n,H0){let Y0=this._writableState;if(typeof c==="function")H0=c,c=null,n=null;else if(typeof n==="function")H0=n,n=null;let D0;if(c!==null&&c!==void 0){let q0=j(this,c,n);if(q0 instanceof I)D0=q0}if(Y0.corked)Y0.corked=1,this.uncork();if(D0);else if(!Y0.errored&&!Y0.ending)Y0.ending=!0,e(this,Y0,!0),Y0.ended=!0;else if(Y0.finished)D0=new L0("end");else if(Y0.destroyed)D0=new F0("end");if(typeof H0==="function")if(D0||Y0.finished)Y.nextTick(H0,D0);else Y0[H].push(H0);return this};function O0(c){return c.ending&&!c.destroyed&&c.constructed&&c.length===0&&!c.errored&&c.buffered.length===0&&!c.finished&&!c.writing&&!c.errorEmitted&&!c.closeEmitted}function Q0(c,n){let H0=!1;function Y0(D0){if(H0){G(c,D0!==null&&D0!==void 0?D0:d());return}if(H0=!0,n.pendingcb--,D0){let q0=n[H].splice(0);for(let X0=0;X0<q0.length;X0++)q0[X0](D0);G(c,D0,n.sync)}else if(O0(n))n.prefinished=!0,c.emit("prefinish"),n.pendingcb++,Y.nextTick(J0,c,n)}n.sync=!0,n.pendingcb++;try{c._final(Y0)}catch(D0){Y0(D0)}n.sync=!1}function s(c,n){if(!n.prefinished&&!n.finalCalled)if(typeof c._final==="function"&&!n.destroyed)n.finalCalled=!0,Q0(c,n);else n.prefinished=!0,c.emit("prefinish")}function e(c,n,H0){if(O0(n)){if(s(c,n),n.pendingcb===0){if(H0)n.pendingcb++,Y.nextTick((Y0,D0)=>{if(O0(D0))J0(Y0,D0);else D0.pendingcb--},c,n);else if(O0(n))n.pendingcb++,J0(c,n)}}}function J0(c,n){n.pendingcb--,n.finished=!0;let H0=n[H].splice(0);for(let Y0=0;Y0<H0.length;Y0++)H0[Y0]();if(c.emit("finish"),n.autoDestroy){let Y0=c._readableState;if(!Y0||Y0.autoDestroy&&(Y0.endEmitted||Y0.readable===!1))c.destroy()}}L(P.prototype,{closed:{__proto__:null,get(){return this._writableState?this._writableState.closed:!1}},destroyed:{__proto__:null,get(){return this._writableState?this._writableState.destroyed:!1},set(c){if(this._writableState)this._writableState.destroyed=c}},writable:{__proto__:null,get(){let c=this._writableState;return!!c&&c.writable!==!1&&!c.destroyed&&!c.errored&&!c.ending&&!c.ended},set(c){if(this._writableState)this._writableState.writable=!!c}},writableFinished:{__proto__:null,get(){return this._writableState?this._writableState.finished:!1}},writableObjectMode:{__proto__:null,get(){return this._writableState?this._writableState.objectMode:!1}},writableBuffer:{__proto__:null,get(){return this._writableState&&this._writableState.getBuffer()}},writableEnded:{__proto__:null,get(){return this._writableState?this._writableState.ending:!1}},writableNeedDrain:{__proto__:null,get(){let c=this._writableState;if(!c)return!1;return!c.destroyed&&!c.ending&&c.needDrain}},writableHighWaterMark:{__proto__:null,get(){return this._writableState&&this._writableState.highWaterMark}},writableCorked:{__proto__:null,get(){return this._writableState?this._writableState.corked:0}},writableLength:{__proto__:null,get(){return this._writableState&&this._writableState.length}},errored:{__proto__:null,enumerable:!1,get(){return this._writableState?this._writableState.errored:null}},writableAborted:{__proto__:null,enumerable:!1,get:function(){return!!(this._writableState.writable!==!1&&(this._writableState.destroyed||this._writableState.errored)&&!this._writableState.finished)}}});var Z0=y.destroy;P.prototype.destroy=function(c,n){let H0=this._writableState;if(!H0.destroyed&&(H0.bufferedIndex<H0.buffered.length||H0[H].length))Y.nextTick(r,H0);return Z0.call(this,c,n),this},P.prototype._undestroy=y.undestroy,P.prototype._destroy=function(c,n){n(c)},P.prototype[E.captureRejectionSymbol]=function(c){this.destroy(c)};var A0;function $0(){if(A0===void 0)A0={};return A0}P.fromWeb=function(c,n){return $0().newStreamWritableFromWritableStream(c,n)},P.toWeb=function(c){return $0().newWritableStreamFromStreamWritable(c)}}),tg=IU((X,J)=>{var Y=IJ(),V=(oU(),j$(nU)),{isReadable:I,isWritable:O,isIterable:Z,isNodeStream:L,isReadableNodeStream:B,isWritableNodeStream:R,isDuplexNodeStream:S,isReadableStream:T,isWritableStream:E}=zX(),v=XI(),{AbortError:q,codes:{ERR_INVALID_ARG_TYPE:y,ERR_INVALID_RETURN_VALUE:w}}=w6(),{destroyer:u}=jQ(),x=ZX(),b=WO(),p=I9(),{createDeferredPromise:d}=t6(),a=ES(),F0=globalThis.Blob||V.Blob,L0=typeof F0<"u"?function(H){return H instanceof F0}:function(H){return!1},R0=globalThis.AbortController||iG().AbortController,{FunctionPrototypeCall:t}=fU();class C0 extends x{constructor(H){super(H);if((H===null||H===void 0?void 0:H.readable)===!1)this._readableState.readable=!1,this._readableState.ended=!0,this._readableState.endEmitted=!0;if((H===null||H===void 0?void 0:H.writable)===!1)this._writableState.writable=!1,this._writableState.ending=!0,this._writableState.ended=!0,this._writableState.finished=!0}}J.exports=function H(D,F){if(S(D))return D;if(B(D))return K({readable:D});if(R(D))return K({writable:D});if(L(D))return K({writable:!1,readable:!1});if(T(D))return K({readable:b.fromWeb(D)});if(E(D))return K({writable:p.fromWeb(D)});if(typeof D==="function"){let{value:j,write:A,final:z,destroy:C}=G(D);if(Z(j))return a(C0,j,{objectMode:!0,write:A,final:z,destroy:C});let g=j===null||j===void 0?void 0:j.then;if(typeof g==="function"){let N,h=t(g,j,(r)=>{if(r!=null)throw new w("nully","body",r)},(r)=>{u(N,r)});return N=new C0({objectMode:!0,readable:!1,write:A,final(r){z(async()=>{try{await h,Y.nextTick(r,null)}catch(U0){Y.nextTick(r,U0)}})},destroy:C})}throw new w("Iterable, AsyncIterable or AsyncFunction",F,j)}if(L0(D))return H(D.arrayBuffer());if(Z(D))return a(C0,D,{objectMode:!0,writable:!1});if(T(D===null||D===void 0?void 0:D.readable)&&E(D===null||D===void 0?void 0:D.writable))return C0.fromWeb(D);if(typeof(D===null||D===void 0?void 0:D.writable)==="object"||typeof(D===null||D===void 0?void 0:D.readable)==="object"){let j=D!==null&&D!==void 0&&D.readable?B(D===null||D===void 0?void 0:D.readable)?D===null||D===void 0?void 0:D.readable:H(D.readable):void 0,A=D!==null&&D!==void 0&&D.writable?R(D===null||D===void 0?void 0:D.writable)?D===null||D===void 0?void 0:D.writable:H(D.writable):void 0;return K({readable:j,writable:A})}let P=D===null||D===void 0?void 0:D.then;if(typeof P==="function"){let j;return t(P,D,(A)=>{if(A!=null)j.push(A);j.push(null)},(A)=>{u(j,A)}),j=new C0({objectMode:!0,writable:!1,read(){}})}throw new y(F,["Blob","ReadableStream","WritableStream","Stream","Iterable","AsyncIterable","Function","{ readable, writable } pair","Promise"],D)};function G(H){let{promise:D,resolve:F}=d(),P=new R0,j=P.signal;return{value:H(async function*(){while(!0){let A=D;D=null;let{chunk:z,done:C,cb:g}=await A;if(Y.nextTick(g),C)return;if(j.aborted)throw new q(void 0,{cause:j.reason});({promise:D,resolve:F}=d()),yield z}}(),{signal:j}),write(A,z,C){let g=F;F=null,g({chunk:A,done:!1,cb:C})},final(A){let z=F;F=null,z({done:!0,cb:A})},destroy(A,z){P.abort(),z(A)}}}function K(H){let D=H.readable&&typeof H.readable.read!=="function"?b.wrap(H.readable):H.readable,F=H.writable,P=!!I(D),j=!!O(F),A,z,C,g,N;function h(r){let U0=g;if(g=null,U0)U0(r);else if(r)N.destroy(r)}if(N=new C0({readableObjectMode:!!(D!==null&&D!==void 0&&D.readableObjectMode),writableObjectMode:!!(F!==null&&F!==void 0&&F.writableObjectMode),readable:P,writable:j}),j)v(F,(r)=>{if(j=!1,r)u(D,r);h(r)}),N._write=function(r,U0,O0){if(F.write(r,U0))O0();else A=O0},N._final=function(r){F.end(),z=r},F.on("drain",function(){if(A){let r=A;A=null,r()}}),F.on("finish",function(){if(z){let r=z;z=null,r()}});if(P)v(D,(r)=>{if(P=!1,r)u(D,r);h(r)}),D.on("readable",function(){if(C){let r=C;C=null,r()}}),D.on("end",function(){N.push(null)}),N._read=function(){while(!0){let r=D.read();if(r===null){C=N._read;return}if(!N.push(r))return}};return N._destroy=function(r,U0){if(!r&&g!==null)r=new q;if(C=null,A=null,z=null,g===null)U0(r);else g=U0,u(F,r),u(D,r)},N}}),ZX=IU((X,J)=>{var{ObjectDefineProperties:Y,ObjectGetOwnPropertyDescriptor:V,ObjectKeys:I,ObjectSetPrototypeOf:O}=fU();J.exports=B;var Z=WO(),L=I9();O(B.prototype,Z.prototype),O(B,Z);{let E=I(L.prototype);for(let v=0;v<E.length;v++){let q=E[v];if(!B.prototype[q])B.prototype[q]=L.prototype[q]}}function B(E){if(!(this instanceof B))return new B(E);if(Z.call(this,E),L.call(this,E),E){if(this.allowHalfOpen=E.allowHalfOpen!==!1,E.readable===!1)this._readableState.readable=!1,this._readableState.ended=!0,this._readableState.endEmitted=!0;if(E.writable===!1)this._writableState.writable=!1,this._writableState.ending=!0,this._writableState.ended=!0,this._writableState.finished=!0}else this.allowHalfOpen=!0}Y(B.prototype,{writable:{__proto__:null,...V(L.prototype,"writable")},writableHighWaterMark:{__proto__:null,...V(L.prototype,"writableHighWaterMark")},writableObjectMode:{__proto__:null,...V(L.prototype,"writableObjectMode")},writableBuffer:{__proto__:null,...V(L.prototype,"writableBuffer")},writableLength:{__proto__:null,...V(L.prototype,"writableLength")},writableFinished:{__proto__:null,...V(L.prototype,"writableFinished")},writableCorked:{__proto__:null,...V(L.prototype,"writableCorked")},writableEnded:{__proto__:null,...V(L.prototype,"writableEnded")},writableNeedDrain:{__proto__:null,...V(L.prototype,"writableNeedDrain")},destroyed:{__proto__:null,get(){if(this._readableState===void 0||this._writableState===void 0)return!1;return this._readableState.destroyed&&this._writableState.destroyed},set(E){if(this._readableState&&this._writableState)this._readableState.destroyed=E,this._writableState.destroyed=E}}});var R;function S(){if(R===void 0)R={};return R}B.fromWeb=function(E,v){return S().newStreamDuplexFromReadableWritablePair(E,v)},B.toWeb=function(E){return S().newReadableWritablePairFromDuplex(E)};var T;B.from=function(E){if(!T)T=tg();return T(E,"body")}}),RS=IU((X,J)=>{var{ObjectSetPrototypeOf:Y,Symbol:V}=fU();J.exports=B;var{ERR_METHOD_NOT_IMPLEMENTED:I}=w6().codes,O=ZX(),{getHighWaterMark:Z}=KO();Y(B.prototype,O.prototype),Y(B,O);var L=V("kCallback");function B(T){if(!(this instanceof B))return new B(T);let E=T?Z(this,T,"readableHighWaterMark",!0):null;if(E===0)T={...T,highWaterMark:null,readableHighWaterMark:E,writableHighWaterMark:T.writableHighWaterMark||0};if(O.call(this,T),this._readableState.sync=!1,this[L]=null,T){if(typeof T.transform==="function")this._transform=T.transform;if(typeof T.flush==="function")this._flush=T.flush}this.on("prefinish",S)}function R(T){if(typeof this._flush==="function"&&!this.destroyed)this._flush((E,v)=>{if(E){if(T)T(E);else this.destroy(E);return}if(v!=null)this.push(v);if(this.push(null),T)T()});else if(this.push(null),T)T()}function S(){if(this._final!==R)R.call(this)}B.prototype._final=R,B.prototype._transform=function(T,E,v){throw new I("_transform()")},B.prototype._write=function(T,E,v){let q=this._readableState,y=this._writableState,w=q.length;this._transform(T,E,(u,x)=>{if(u){v(u);return}if(x!=null)this.push(x);if(y.ended||w===q.length||q.length<q.highWaterMark)v();else this[L]=v})},B.prototype._read=function(){if(this[L]){let T=this[L];this[L]=null,T()}}}),SS=IU((X,J)=>{var{ObjectSetPrototypeOf:Y}=fU();J.exports=I;var V=RS();Y(I.prototype,V.prototype),Y(I,V);function I(O){if(!(this instanceof I))return new I(O);V.call(this,O)}I.prototype._transform=function(O,Z,L){L(null,O)}}),J9=IU((X,J)=>{var Y=IJ(),{ArrayIsArray:V,Promise:I,SymbolAsyncIterator:O,SymbolDispose:Z}=fU(),L=XI(),{once:B}=t6(),R=jQ(),S=ZX(),{aggregateTwoErrors:T,codes:{ERR_INVALID_ARG_TYPE:E,ERR_INVALID_RETURN_VALUE:v,ERR_MISSING_ARGS:q,ERR_STREAM_DESTROYED:y,ERR_STREAM_PREMATURE_CLOSE:w},AbortError:u}=w6(),{validateFunction:x,validateAbortSignal:b}=rG(),{isIterable:p,isReadable:d,isReadableNodeStream:a,isNodeStream:F0,isTransformStream:L0,isWebStream:R0,isReadableStream:t,isReadableFinished:C0}=zX(),G=globalThis.AbortController||iG().AbortController,K,H,D;function F(r,U0,O0){let Q0=!1;r.on("close",()=>{Q0=!0});let s=L(r,{readable:U0,writable:O0},(e)=>{Q0=!e});return{destroy:(e)=>{if(Q0)return;Q0=!0,R.destroyer(r,e||new y("pipe"))},cleanup:s}}function P(r){return x(r[r.length-1],"streams[stream.length - 1]"),r.pop()}function j(r){if(p(r))return r;else if(a(r))return A(r);throw new E("val",["Readable","Iterable","AsyncIterable"],r)}async function*A(r){if(!H)H=WO();yield*H.prototype[O].call(r)}async function z(r,U0,O0,{end:Q0}){let s,e=null,J0=($0)=>{if($0)s=$0;if(e){let c=e;e=null,c()}},Z0=()=>new I(($0,c)=>{if(s)c(s);else e=()=>{if(s)c(s);else $0()}});U0.on("drain",J0);let A0=L(U0,{readable:!1},J0);try{if(U0.writableNeedDrain)await Z0();for await(let $0 of r)if(!U0.write($0))await Z0();if(Q0)U0.end(),await Z0();O0()}catch($0){O0(s!==$0?T(s,$0):$0)}finally{A0(),U0.off("drain",J0)}}async function C(r,U0,O0,{end:Q0}){if(L0(U0))U0=U0.writable;let s=U0.getWriter();try{for await(let e of r)await s.ready,s.write(e).catch(()=>{});if(await s.ready,Q0)await s.close();O0()}catch(e){try{await s.abort(e),O0(e)}catch(J0){O0(J0)}}}function g(...r){return N(r,B(P(r)))}function N(r,U0,O0){if(r.length===1&&V(r[0]))r=r[0];if(r.length<2)throw new q("streams");let Q0=new G,s=Q0.signal,e=O0===null||O0===void 0?void 0:O0.signal,J0=[];b(e,"options.signal");function Z0(){D0(new u)}D=D||t6().addAbortListener;let A0;if(e)A0=D(e,Z0);let $0,c,n=[],H0=0;function Y0(M0){D0(M0,--H0===0)}function D0(M0,v0){var L$;if(M0&&(!$0||$0.code==="ERR_STREAM_PREMATURE_CLOSE"))$0=M0;if(!$0&&!v0)return;while(n.length)n.shift()($0);if((L$=A0)===null||L$===void 0||L$[Z](),Q0.abort(),v0){if(!$0)J0.forEach((p0)=>p0());Y.nextTick(U0,$0,c)}}let q0;for(let M0=0;M0<r.length;M0++){let v0=r[M0],L$=M0<r.length-1,p0=M0>0,c0=L$||(O0===null||O0===void 0?void 0:O0.end)!==!1,i$=M0===r.length-1;if(F0(v0)){let u0=function(h0){if(h0&&h0.name!=="AbortError"&&h0.code!=="ERR_STREAM_PREMATURE_CLOSE")Y0(h0)};var X0=u0;if(c0){let{destroy:h0,cleanup:QU}=F(v0,L$,p0);if(n.push(h0),d(v0)&&i$)J0.push(QU)}if(v0.on("error",u0),d(v0)&&i$)J0.push(()=>{v0.removeListener("error",u0)})}if(M0===0)if(typeof v0==="function"){if(q0=v0({signal:s}),!p(q0))throw new v("Iterable, AsyncIterable or Stream","source",q0)}else if(p(v0)||a(v0)||L0(v0))q0=v0;else q0=S.from(v0);else if(typeof v0==="function"){if(L0(q0)){var V0;q0=j((V0=q0)===null||V0===void 0?void 0:V0.readable)}else q0=j(q0);if(q0=v0(q0,{signal:s}),L$){if(!p(q0,!0))throw new v("AsyncIterable",`transform[${M0-1}]`,q0)}else{var U$;if(!K)K=SS();let u0=new K({objectMode:!0}),h0=(U$=q0)===null||U$===void 0?void 0:U$.then;if(typeof h0==="function")H0++,h0.call(q0,(o0)=>{if(c=o0,o0!=null)u0.write(o0);if(c0)u0.end();Y.nextTick(Y0)},(o0)=>{u0.destroy(o0),Y.nextTick(Y0,o0)});else if(p(q0,!0))H0++,z(q0,u0,Y0,{end:c0});else if(t(q0)||L0(q0)){let o0=q0.readable||q0;H0++,z(o0,u0,Y0,{end:c0})}else throw new v("AsyncIterable or Promise","destination",q0);q0=u0;let{destroy:QU,cleanup:r0}=F(q0,!1,!0);if(n.push(QU),i$)J0.push(r0)}}else if(F0(v0)){if(a(q0)){H0+=2;let u0=h(q0,v0,Y0,{end:c0});if(d(v0)&&i$)J0.push(u0)}else if(L0(q0)||t(q0)){let u0=q0.readable||q0;H0++,z(u0,v0,Y0,{end:c0})}else if(p(q0))H0++,z(q0,v0,Y0,{end:c0});else throw new E("val",["Readable","Iterable","AsyncIterable","ReadableStream","TransformStream"],q0);q0=v0}else if(R0(v0)){if(a(q0))H0++,C(j(q0),v0,Y0,{end:c0});else if(t(q0)||p(q0))H0++,C(q0,v0,Y0,{end:c0});else if(L0(q0))H0++,C(q0.readable,v0,Y0,{end:c0});else throw new E("val",["Readable","Iterable","AsyncIterable","ReadableStream","TransformStream"],q0);q0=v0}else q0=S.from(v0)}if(s!==null&&s!==void 0&&s.aborted||e!==null&&e!==void 0&&e.aborted)Y.nextTick(Z0);return q0}function h(r,U0,O0,{end:Q0}){let s=!1;if(U0.on("close",()=>{if(!s)O0(new w)}),r.pipe(U0,{end:!1}),Q0){let J0=function(){s=!0,U0.end()};var e=J0;if(C0(r))Y.nextTick(J0);else r.once("end",J0)}else O0();return L(r,{readable:!0,writable:!1},(J0)=>{let Z0=r._readableState;if(J0&&J0.code==="ERR_STREAM_PREMATURE_CLOSE"&&Z0&&Z0.ended&&!Z0.errored&&!Z0.errorEmitted)r.once("end",O0).once("error",O0);else O0(J0)}),L(U0,{readable:!1,writable:!0},O0)}J.exports={pipelineImpl:N,pipeline:g}}),jS=IU((X,J)=>{var{pipeline:Y}=J9(),V=ZX(),{destroyer:I}=jQ(),{isNodeStream:O,isReadable:Z,isWritable:L,isWebStream:B,isTransformStream:R,isWritableStream:S,isReadableStream:T}=zX(),{AbortError:E,codes:{ERR_INVALID_ARG_VALUE:v,ERR_MISSING_ARGS:q}}=w6(),y=XI();J.exports=function(...w){if(w.length===0)throw new q("streams");if(w.length===1)return V.from(w[0]);let u=[...w];if(typeof w[0]==="function")w[0]=V.from(w[0]);if(typeof w[w.length-1]==="function"){let G=w.length-1;w[G]=V.from(w[G])}for(let G=0;G<w.length;++G){if(!O(w[G])&&!B(w[G]))continue;if(G<w.length-1&&!(Z(w[G])||T(w[G])||R(w[G])))throw new v(`streams[${G}]`,u[G],"must be readable");if(G>0&&!(L(w[G])||S(w[G])||R(w[G])))throw new v(`streams[${G}]`,u[G],"must be writable")}let x,b,p,d,a;function F0(G){let K=d;if(d=null,K)K(G);else if(G)a.destroy(G);else if(!C0&&!t)a.destroy()}let L0=w[0],R0=Y(w,F0),t=!!(L(L0)||S(L0)||R(L0)),C0=!!(Z(R0)||T(R0)||R(R0));if(a=new V({writableObjectMode:!!(L0!==null&&L0!==void 0&&L0.writableObjectMode),readableObjectMode:!!(R0!==null&&R0!==void 0&&R0.readableObjectMode),writable:t,readable:C0}),t){if(O(L0))a._write=function(K,H,D){if(L0.write(K,H))D();else x=D},a._final=function(K){L0.end(),b=K},L0.on("drain",function(){if(x){let K=x;x=null,K()}});else if(B(L0)){let K=(R(L0)?L0.writable:L0).getWriter();a._write=async function(H,D,F){try{await K.ready,K.write(H).catch(()=>{}),F()}catch(P){F(P)}},a._final=async function(H){try{await K.ready,K.close().catch(()=>{}),b=H}catch(D){H(D)}}}let G=R(R0)?R0.readable:R0;y(G,()=>{if(b){let K=b;b=null,K()}})}if(C0){if(O(R0))R0.on("readable",function(){if(p){let G=p;p=null,G()}}),R0.on("end",function(){a.push(null)}),a._read=function(){while(!0){let G=R0.read();if(G===null){p=a._read;return}if(!a.push(G))return}};else if(B(R0)){let G=(R(R0)?R0.readable:R0).getReader();a._read=async function(){while(!0)try{let{value:K,done:H}=await G.read();if(!a.push(K))return;if(H){a.push(null);return}}catch{return}}}}return a._destroy=function(G,K){if(!G&&d!==null)G=new E;if(p=null,x=null,b=null,d===null)K(G);else if(d=K,O(R0))I(R0,G)},a}}),ag=IU((X,J)=>{var Y=globalThis.AbortController||iG().AbortController,{codes:{ERR_INVALID_ARG_VALUE:V,ERR_INVALID_ARG_TYPE:I,ERR_MISSING_ARGS:O,ERR_OUT_OF_RANGE:Z},AbortError:L}=w6(),{validateAbortSignal:B,validateInteger:R,validateObject:S}=rG(),T=fU().Symbol("kWeak"),E=fU().Symbol("kResistStopPropagation"),{finished:v}=XI(),q=jS(),{addAbortSignalNoValidate:y}=DO(),{isWritable:w,isNodeStream:u}=zX(),{deprecate:x}=t6(),{ArrayPrototypePush:b,Boolean:p,MathFloor:d,Number:a,NumberIsNaN:F0,Promise:L0,PromiseReject:R0,PromiseResolve:t,PromisePrototypeThen:C0,Symbol:G}=fU(),K=G("kEmpty"),H=G("kEof");function D(e,J0){if(J0!=null)S(J0,"options");if((J0===null||J0===void 0?void 0:J0.signal)!=null)B(J0.signal,"options.signal");if(u(e)&&!w(e))throw new V("stream",e,"must be writable");let Z0=q(this,e);if(J0!==null&&J0!==void 0&&J0.signal)y(J0.signal,Z0);return Z0}function F(e,J0){if(typeof e!=="function")throw new I("fn",["Function","AsyncFunction"],e);if(J0!=null)S(J0,"options");if((J0===null||J0===void 0?void 0:J0.signal)!=null)B(J0.signal,"options.signal");let Z0=1;if((J0===null||J0===void 0?void 0:J0.concurrency)!=null)Z0=d(J0.concurrency);let A0=Z0-1;if((J0===null||J0===void 0?void 0:J0.highWaterMark)!=null)A0=d(J0.highWaterMark);return R(Z0,"options.concurrency",1),R(A0,"options.highWaterMark",0),A0+=Z0,async function*(){let $0=t6().AbortSignalAny([J0===null||J0===void 0?void 0:J0.signal].filter(p)),c=this,n=[],H0={signal:$0},Y0,D0,q0=!1,X0=0;function V0(){q0=!0,U$()}function U$(){X0-=1,M0()}function M0(){if(D0&&!q0&&X0<Z0&&n.length<A0)D0(),D0=null}async function v0(){try{for await(let L$ of c){if(q0)return;if($0.aborted)throw new L;try{if(L$=e(L$,H0),L$===K)continue;L$=t(L$)}catch(p0){L$=R0(p0)}if(X0+=1,C0(L$,U$,V0),n.push(L$),Y0)Y0(),Y0=null;if(!q0&&(n.length>=A0||X0>=Z0))await new L0((p0)=>{D0=p0})}n.push(H)}catch(L$){let p0=R0(L$);C0(p0,U$,V0),n.push(p0)}finally{if(q0=!0,Y0)Y0(),Y0=null}}v0();try{while(!0){while(n.length>0){let L$=await n[0];if(L$===H)return;if($0.aborted)throw new L;if(L$!==K)yield L$;n.shift(),M0()}await new L0((L$)=>{Y0=L$})}}finally{if(q0=!0,D0)D0(),D0=null}}.call(this)}function P(e=void 0){if(e!=null)S(e,"options");if((e===null||e===void 0?void 0:e.signal)!=null)B(e.signal,"options.signal");return async function*(){let J0=0;for await(let A0 of this){var Z0;if(e!==null&&e!==void 0&&(Z0=e.signal)!==null&&Z0!==void 0&&Z0.aborted)throw new L({cause:e.signal.reason});yield[J0++,A0]}}.call(this)}async function j(e,J0=void 0){for await(let Z0 of g.call(this,e,J0))return!0;return!1}async function A(e,J0=void 0){if(typeof e!=="function")throw new I("fn",["Function","AsyncFunction"],e);return!await j.call(this,async(...Z0)=>{return!await e(...Z0)},J0)}async function z(e,J0){for await(let Z0 of g.call(this,e,J0))return Z0;return}async function C(e,J0){if(typeof e!=="function")throw new I("fn",["Function","AsyncFunction"],e);async function Z0(A0,$0){return await e(A0,$0),K}for await(let A0 of F.call(this,Z0,J0));}function g(e,J0){if(typeof e!=="function")throw new I("fn",["Function","AsyncFunction"],e);async function Z0(A0,$0){if(await e(A0,$0))return A0;return K}return F.call(this,Z0,J0)}class N extends O{constructor(){super("reduce");this.message="Reduce of an empty stream requires an initial value"}}async function h(e,J0,Z0){var A0;if(typeof e!=="function")throw new I("reducer",["Function","AsyncFunction"],e);if(Z0!=null)S(Z0,"options");if((Z0===null||Z0===void 0?void 0:Z0.signal)!=null)B(Z0.signal,"options.signal");let $0=arguments.length>1;if(Z0!==null&&Z0!==void 0&&(A0=Z0.signal)!==null&&A0!==void 0&&A0.aborted){let D0=new L(void 0,{cause:Z0.signal.reason});throw this.once("error",()=>{}),await v(this.destroy(D0)),D0}let c=new Y,n=c.signal;if(Z0!==null&&Z0!==void 0&&Z0.signal){let D0={once:!0,[T]:this,[E]:!0};Z0.signal.addEventListener("abort",()=>c.abort(),D0)}let H0=!1;try{for await(let D0 of this){var Y0;if(H0=!0,Z0!==null&&Z0!==void 0&&(Y0=Z0.signal)!==null&&Y0!==void 0&&Y0.aborted)throw new L;if(!$0)J0=D0,$0=!0;else J0=await e(J0,D0,{signal:n})}if(!H0&&!$0)throw new N}finally{c.abort()}return J0}async function r(e){if(e!=null)S(e,"options");if((e===null||e===void 0?void 0:e.signal)!=null)B(e.signal,"options.signal");let J0=[];for await(let A0 of this){var Z0;if(e!==null&&e!==void 0&&(Z0=e.signal)!==null&&Z0!==void 0&&Z0.aborted)throw new L(void 0,{cause:e.signal.reason});b(J0,A0)}return J0}function U0(e,J0){let Z0=F.call(this,e,J0);return async function*(){for await(let A0 of Z0)yield*A0}.call(this)}function O0(e){if(e=a(e),F0(e))return 0;if(e<0)throw new Z("number",">= 0",e);return e}function Q0(e,J0=void 0){if(J0!=null)S(J0,"options");if((J0===null||J0===void 0?void 0:J0.signal)!=null)B(J0.signal,"options.signal");return e=O0(e),async function*(){var Z0;if(J0!==null&&J0!==void 0&&(Z0=J0.signal)!==null&&Z0!==void 0&&Z0.aborted)throw new L;for await(let $0 of this){var A0;if(J0!==null&&J0!==void 0&&(A0=J0.signal)!==null&&A0!==void 0&&A0.aborted)throw new L;if(e--<=0)yield $0}}.call(this)}function s(e,J0=void 0){if(J0!=null)S(J0,"options");if((J0===null||J0===void 0?void 0:J0.signal)!=null)B(J0.signal,"options.signal");return e=O0(e),async function*(){var Z0;if(J0!==null&&J0!==void 0&&(Z0=J0.signal)!==null&&Z0!==void 0&&Z0.aborted)throw new L;for await(let $0 of this){var A0;if(J0!==null&&J0!==void 0&&(A0=J0.signal)!==null&&A0!==void 0&&A0.aborted)throw new L;if(e-- >0)yield $0;if(e<=0)return}}.call(this)}J.exports.streamReturningOperators={asIndexedPairs:x(P,"readable.asIndexedPairs will be removed in a future version."),drop:Q0,filter:g,flatMap:U0,map:F,take:s,compose:D},J.exports.promiseReturningOperators={every:A,forEach:C,reduce:h,toArray:r,some:j,find:z}}),BS=IU((X,J)=>{var{ArrayPrototypePop:Y,Promise:V}=fU(),{isIterable:I,isNodeStream:O,isWebStream:Z}=zX(),{pipelineImpl:L}=J9(),{finished:B}=XI();vS();function R(...S){return new V((T,E)=>{let v,q,y=S[S.length-1];if(y&&typeof y==="object"&&!O(y)&&!I(y)&&!Z(y)){let w=Y(S);v=w.signal,q=w.end}L(S,(w,u)=>{if(w)E(w);else T(u)},{signal:v,end:q})})}J.exports={finished:B,pipeline:R}}),vS=IU((X,J)=>{var{Buffer:Y}=(oU(),j$(nU)),{ObjectDefineProperty:V,ObjectKeys:I,ReflectApply:O}=fU(),{promisify:{custom:Z}}=t6(),{streamReturningOperators:L,promiseReturningOperators:B}=ag(),{codes:{ERR_ILLEGAL_CONSTRUCTOR:R}}=w6(),S=jS(),{setDefaultHighWaterMark:T,getDefaultHighWaterMark:E}=KO(),{pipeline:v}=J9(),{destroyer:q}=jQ(),y=XI(),w=BS(),u=zX(),x=J.exports=X9().Stream;x.isDestroyed=u.isDestroyed,x.isDisturbed=u.isDisturbed,x.isErrored=u.isErrored,x.isReadable=u.isReadable,x.isWritable=u.isWritable,x.Readable=WO();for(let p of I(L)){let d=function(...F0){if(new.target)throw R();return x.Readable.from(O(a,this,F0))},a=L[p];V(d,"name",{__proto__:null,value:a.name}),V(d,"length",{__proto__:null,value:a.length}),V(x.Readable.prototype,p,{__proto__:null,value:d,enumerable:!1,configurable:!0,writable:!0})}for(let p of I(B)){let d=function(...F0){if(new.target)throw R();return O(a,this,F0)},a=B[p];V(d,"name",{__proto__:null,value:a.name}),V(d,"length",{__proto__:null,value:a.length}),V(x.Readable.prototype,p,{__proto__:null,value:d,enumerable:!1,configurable:!0,writable:!0})}x.Writable=I9(),x.Duplex=ZX(),x.Transform=RS(),x.PassThrough=SS(),x.pipeline=v;var{addAbortSignal:b}=DO();x.addAbortSignal=b,x.finished=y,x.destroy=q,x.compose=S,x.setDefaultHighWaterMark=T,x.getDefaultHighWaterMark=E,V(x,"promises",{__proto__:null,configurable:!0,enumerable:!0,get(){return w}}),V(v,Z,{__proto__:null,enumerable:!0,get(){return w.pipeline}}),V(y,Z,{__proto__:null,enumerable:!0,get(){return w.finished}}),x.Stream=x,x._isUint8Array=function(p){return p instanceof Uint8Array},x._uint8ArrayToBuffer=function(p){return Y.from(p.buffer,p.byteOffset,p.byteLength)}}),sg=IU((X,J)=>{var Y=BQ();{let V=vS(),I=BS(),O=V.Readable.destroy;J.exports=V.Readable,J.exports._uint8ArrayToBuffer=V._uint8ArrayToBuffer,J.exports._isUint8Array=V._isUint8Array,J.exports.isDisturbed=V.isDisturbed,J.exports.isErrored=V.isErrored,J.exports.isReadable=V.isReadable,J.exports.Readable=V.Readable,J.exports.Writable=V.Writable,J.exports.Duplex=V.Duplex,J.exports.Transform=V.Transform,J.exports.PassThrough=V.PassThrough,J.exports.addAbortSignal=V.addAbortSignal,J.exports.finished=V.finished,J.exports.destroy=V.destroy,J.exports.destroy=O,J.exports.pipeline=V.pipeline,J.exports.compose=V.compose,Object.defineProperty(V,"promises",{configurable:!0,enumerable:!0,get(){return I}}),J.exports.Stream=V.Stream}J.exports.default=J.exports});NS.exports=sg()});var L1={};g6(L1,{webcrypto:()=>Ey,rng:()=>yf,randomUUID:()=>vQ,randomFillSync:()=>Ly,randomFill:()=>Hy,randomBytes:()=>bf,publicEncrypt:()=>Dy,publicDecrypt:()=>Wy,pseudoRandomBytes:()=>ff,prng:()=>wf,privateEncrypt:()=>Ky,privateDecrypt:()=>Fy,pbkdf2Sync:()=>lf,pbkdf2:()=>mf,listCiphers:()=>Uy,getRandomValues:()=>Cy,getHashes:()=>pf,getDiffieHellman:()=>Jy,getCurves:()=>_y,getCiphers:()=>$y,default:()=>Ry,createVerify:()=>zy,createSign:()=>Gy,createHmac:()=>cf,createHash:()=>H1,createECDH:()=>Vy,createDiffieHellmanGroup:()=>Iy,createDiffieHellman:()=>Qy,createDecipheriv:()=>ef,createDecipher:()=>af,createCredentials:()=>My,createCipheriv:()=>rf,createCipher:()=>nf,constants:()=>Ay,Verify:()=>Oy,Sign:()=>Zy,Hmac:()=>hf,Hash:()=>uf,DiffieHellmanGroup:()=>Xy,DiffieHellman:()=>Yy,Decipheriv:()=>sf,Decipher:()=>tf,DEFAULT_ENCODING:()=>Ty,Cipheriv:()=>of,Cipher:()=>df});function _y(){return Py}var eg,$w,qS,Uw,Xw,Iw=(X,J,Y)=>{Y=X!=null?eg($w(X)):{};let V=J||!X||!X.__esModule?qS(Y,"default",{value:X,enumerable:!0}):Y;for(let I of Uw(X))if(!Xw.call(V,I))qS(V,I,{get:()=>X[I],enumerable:!0});return V},b0=(X,J)=>()=>(J||X((J={exports:{}}).exports,J),J.exports),FO,HO,xS,Jw,Y9,G9,f6,Qw,aG,gS,Yw,Gw,Zw,zw,wS,Ow,Vw,Dw,Kw,Ww,Fw,Hw,Lw,Mw,Aw,sG,LO,fS,Tw,yS,bS,Cw,eG,Z9,z9,Pw,uS,O9,_w,hS,Ew,cS,pS,Rw,Sw,jw,Bw,vw,Nw,qw,kw,xw,gw,ww,fw,yw,bw,V9,mS,uw,lS,hw,cw,pw,mw,OX,II,dS,y1,nS,MO,lw,F1,dw,nw,ow,oS,B4,$2,iS,iw,rS,rw,tS,tw,aw,sw,ew,D9,$f,K9,Uf,Xf,If,Jf,Qf,Yf,Gf,Zf,zf,Of,Vf,Df,Kf,Wf,kS,Ff,tG,Hf,aS,sS,Lf,Mf,eS,Af,Tf,U2,Cf,Pf,_f,Ef,Rf,Sf,$j,jf,Uj,Xj,Ij,W9,Jj,Bf,Qj,vf,Nf,Q9,qf,kf,xf,gf,h$,wf,ff,yf,bf,uf,H1,hf,cf,pf,mf,lf,df,nf,of,rf,tf,af,sf,ef,$y,Uy,Xy,Iy,Jy,Qy,Yy,Gy,Zy,zy,Oy,Vy,Dy,Ky,Wy,Fy,Hy,Ly,My,Ay,Ty="buffer",Cy=(X)=>{return crypto.getRandomValues(X)},vQ=()=>{return crypto.randomUUID()},Py,Ey,Ry;var yU=LQ(()=>{eg=Object.create,{getPrototypeOf:$w,defineProperty:qS,getOwnPropertyNames:Uw}=Object,Xw=Object.prototype.hasOwnProperty,FO=b0((X,J)=>{J.exports=(yU(),j$(L1)).randomBytes}),HO=b0((X,J)=>{J.exports=(yU(),j$(L1)).createHash}),xS=b0((X,J)=>{J.exports=(yU(),j$(L1)).createHmac}),Jw=b0((X,J)=>{J.exports={sha224WithRSAEncryption:{sign:"rsa",hash:"sha224",id:"302d300d06096086480165030402040500041c"},"RSA-SHA224":{sign:"ecdsa/rsa",hash:"sha224",id:"302d300d06096086480165030402040500041c"},sha256WithRSAEncryption:{sign:"rsa",hash:"sha256",id:"3031300d060960864801650304020105000420"},"RSA-SHA256":{sign:"ecdsa/rsa",hash:"sha256",id:"3031300d060960864801650304020105000420"},sha384WithRSAEncryption:{sign:"rsa",hash:"sha384",id:"3041300d060960864801650304020205000430"},"RSA-SHA384":{sign:"ecdsa/rsa",hash:"sha384",id:"3041300d060960864801650304020205000430"},sha512WithRSAEncryption:{sign:"rsa",hash:"sha512",id:"3051300d060960864801650304020305000440"},"RSA-SHA512":{sign:"ecdsa/rsa",hash:"sha512",id:"3051300d060960864801650304020305000440"},"RSA-SHA1":{sign:"rsa",hash:"sha1",id:"3021300906052b0e03021a05000414"},"ecdsa-with-SHA1":{sign:"ecdsa",hash:"sha1",id:""},sha256:{sign:"ecdsa",hash:"sha256",id:""},sha224:{sign:"ecdsa",hash:"sha224",id:""},sha384:{sign:"ecdsa",hash:"sha384",id:""},sha512:{sign:"ecdsa",hash:"sha512",id:""},"DSA-SHA":{sign:"dsa",hash:"sha1",id:""},"DSA-SHA1":{sign:"dsa",hash:"sha1",id:""},DSA:{sign:"dsa",hash:"sha1",id:""},"DSA-WITH-SHA224":{sign:"dsa",hash:"sha224",id:""},"DSA-SHA224":{sign:"dsa",hash:"sha224",id:""},"DSA-WITH-SHA256":{sign:"dsa",hash:"sha256",id:""},"DSA-SHA256":{sign:"dsa",hash:"sha256",id:""},"DSA-WITH-SHA384":{sign:"dsa",hash:"sha384",id:""},"DSA-SHA384":{sign:"dsa",hash:"sha384",id:""},"DSA-WITH-SHA512":{sign:"dsa",hash:"sha512",id:""},"DSA-SHA512":{sign:"dsa",hash:"sha512",id:""},"DSA-RIPEMD160":{sign:"dsa",hash:"rmd160",id:""},ripemd160WithRSA:{sign:"rsa",hash:"rmd160",id:"3021300906052b2403020105000414"},"RSA-RIPEMD160":{sign:"rsa",hash:"rmd160",id:"3021300906052b2403020105000414"},md5WithRSAEncryption:{sign:"rsa",hash:"md5",id:"3020300c06082a864886f70d020505000410"},"RSA-MD5":{sign:"rsa",hash:"md5",id:"3020300c06082a864886f70d020505000410"}}}),Y9=b0((X,J)=>{var Y=isFinite,V=Math.pow(2,30)-1;J.exports=function(I,O){if(typeof I!=="number")throw TypeError("Iterations not a number");if(I<0||!Y(I))throw TypeError("Bad iterations");if(typeof O!=="number")throw TypeError("Key length not a number");if(O<0||O>V||O!==O)throw TypeError("Bad key length")}}),G9=b0((X,J)=>{var Y;if(globalThis.process&&globalThis.process.browser)Y="utf-8";else if(globalThis.process&&globalThis.process.version)V=parseInt(process.version.split(".")[0].slice(1),10),Y=V>=6?"utf-8":"binary";else Y="utf-8";var V;J.exports=Y}),f6=b0((X,J)=>{/*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */var Y=(oU(),j$(nU)),V=Y.Buffer;function I(Z,L){for(var B in Z)L[B]=Z[B]}if(V.from&&V.alloc&&V.allocUnsafe&&V.allocUnsafeSlow)J.exports=Y;else I(Y,X),X.Buffer=O;function O(Z,L,B){return V(Z,L,B)}O.prototype=Object.create(V.prototype),I(V,O),O.from=function(Z,L,B){if(typeof Z==="number")throw TypeError("Argument must not be a number");return V(Z,L,B)},O.alloc=function(Z,L,B){if(typeof Z!=="number")throw TypeError("Argument must be a number");var R=V(Z);if(L!==void 0)if(typeof B==="string")R.fill(L,B);else R.fill(L);else R.fill(0);return R},O.allocUnsafe=function(Z){if(typeof Z!=="number")throw TypeError("Argument must be a number");return V(Z)},O.allocUnsafeSlow=function(Z){if(typeof Z!=="number")throw TypeError("Argument must be a number");return Y.SlowBuffer(Z)}}),Qw=b0((X,J)=>{var Y={}.toString;J.exports=Array.isArray||function(V){return Y.call(V)=="[object Array]"}}),aG=b0((X,J)=>{J.exports=TypeError}),gS=b0((X,J)=>{J.exports=Object}),Yw=b0((X,J)=>{J.exports=Error}),Gw=b0((X,J)=>{J.exports=EvalError}),Zw=b0((X,J)=>{J.exports=RangeError}),zw=b0((X,J)=>{J.exports=ReferenceError}),wS=b0((X,J)=>{J.exports=SyntaxError}),Ow=b0((X,J)=>{J.exports=URIError}),Vw=b0((X,J)=>{J.exports=Math.abs}),Dw=b0((X,J)=>{J.exports=Math.floor}),Kw=b0((X,J)=>{J.exports=Math.max}),Ww=b0((X,J)=>{J.exports=Math.min}),Fw=b0((X,J)=>{J.exports=Math.pow}),Hw=b0((X,J)=>{J.exports=Math.round}),Lw=b0((X,J)=>{J.exports=Number.isNaN||function(Y){return Y!==Y}}),Mw=b0((X,J)=>{var Y=Lw();J.exports=function(V){if(Y(V)||V===0)return V;return V<0?-1:1}}),Aw=b0((X,J)=>{J.exports=Object.getOwnPropertyDescriptor}),sG=b0((X,J)=>{var Y=Aw();if(Y)try{Y([],"length")}catch(V){Y=null}J.exports=Y}),LO=b0((X,J)=>{var Y=Object.defineProperty||!1;if(Y)try{Y({},"a",{value:1})}catch(V){Y=!1}J.exports=Y}),fS=b0((X,J)=>{J.exports=function(){if(typeof Symbol!=="function"||typeof Object.getOwnPropertySymbols!=="function")return!1;if(typeof Symbol.iterator==="symbol")return!0;var Y={},V=Symbol("test"),I=Object(V);if(typeof V==="string")return!1;if(Object.prototype.toString.call(V)!=="[object Symbol]")return!1;if(Object.prototype.toString.call(I)!=="[object Symbol]")return!1;var O=42;Y[V]=O;for(var Z in Y)return!1;if(typeof Object.keys==="function"&&Object.keys(Y).length!==0)return!1;if(typeof Object.getOwnPropertyNames==="function"&&Object.getOwnPropertyNames(Y).length!==0)return!1;var L=Object.getOwnPropertySymbols(Y);if(L.length!==1||L[0]!==V)return!1;if(!Object.prototype.propertyIsEnumerable.call(Y,V))return!1;if(typeof Object.getOwnPropertyDescriptor==="function"){var B=Object.getOwnPropertyDescriptor(Y,V);if(B.value!==O||B.enumerable!==!0)return!1}return!0}}),Tw=b0((X,J)=>{var Y=typeof Symbol<"u"&&Symbol,V=fS();J.exports=function(){if(typeof Y!=="function")return!1;if(typeof Symbol!=="function")return!1;if(typeof Y("foo")!=="symbol")return!1;if(typeof Symbol("bar")!=="symbol")return!1;return V()}}),yS=b0((X,J)=>{J.exports=typeof Reflect<"u"&&Reflect.getPrototypeOf||null}),bS=b0((X,J)=>{var Y=gS();J.exports=Y.getPrototypeOf||null}),Cw=b0((X,J)=>{var Y="Function.prototype.bind called on incompatible ",V=Object.prototype.toString,I=Math.max,O="[object Function]",Z=function(R,S){var T=[];for(var E=0;E<R.length;E+=1)T[E]=R[E];for(var v=0;v<S.length;v+=1)T[v+R.length]=S[v];return T},L=function(R,S){var T=[];for(var E=S||0,v=0;E<R.length;E+=1,v+=1)T[v]=R[E];return T},B=function(R,S){var T="";for(var E=0;E<R.length;E+=1)if(T+=R[E],E+1<R.length)T+=S;return T};J.exports=function(R){var S=this;if(typeof S!=="function"||V.apply(S)!==O)throw TypeError(Y+S);var T=L(arguments,1),E,v=function(){if(this instanceof E){var x=S.apply(this,Z(T,arguments));if(Object(x)===x)return x;return this}return S.apply(R,Z(T,arguments))},q=I(0,S.length-T.length),y=[];for(var w=0;w<q;w++)y[w]="$"+w;if(E=Function("binder","return function ("+B(y,",")+"){ return binder.apply(this,arguments); }")(v),S.prototype){var u=function(){};u.prototype=S.prototype,E.prototype=new u,u.prototype=null}return E}}),eG=b0((X,J)=>{var Y=Cw();J.exports=Function.prototype.bind||Y}),Z9=b0((X,J)=>{J.exports=Function.prototype.call}),z9=b0((X,J)=>{J.exports=Function.prototype.apply}),Pw=b0((X,J)=>{J.exports=typeof Reflect<"u"&&Reflect&&Reflect.apply}),uS=b0((X,J)=>{var Y=eG(),V=z9(),I=Z9(),O=Pw();J.exports=O||Y.call(I,V)}),O9=b0((X,J)=>{var Y=eG(),V=aG(),I=Z9(),O=uS();J.exports=function(Z){if(Z.length<1||typeof Z[0]!=="function")throw new V("a function is required");return O(Y,I,Z)}}),_w=b0((X,J)=>{var Y=O9(),V=sG(),I;try{I=[].__proto__===Array.prototype}catch(B){if(!B||typeof B!=="object"||!("code"in B)||B.code!=="ERR_PROTO_ACCESS")throw B}var O=!!I&&V&&V(Object.prototype,"__proto__"),Z=Object,L=Z.getPrototypeOf;J.exports=O&&typeof O.get==="function"?Y([O.get]):typeof L==="function"?function(B){return L(B==null?B:Z(B))}:!1}),hS=b0((X,J)=>{var Y=yS(),V=bS(),I=_w();J.exports=Y?function(O){return Y(O)}:V?function(O){if(!O||typeof O!=="object"&&typeof O!=="function")throw TypeError("getProto: not an object");return V(O)}:I?function(O){return I(O)}:null}),Ew=b0((X,J)=>{var Y=Function.prototype.call,V=Object.prototype.hasOwnProperty,I=eG();J.exports=I.call(Y,V)}),cS=b0((X,J)=>{var Y,V=gS(),I=Yw(),O=Gw(),Z=Zw(),L=zw(),B=wS(),R=aG(),S=Ow(),T=Vw(),E=Dw(),v=Kw(),q=Ww(),y=Fw(),w=Hw(),u=Mw(),x=Function,b=function(J0){try{return x('"use strict"; return ('+J0+").constructor;")()}catch(Z0){}},p=sG(),d=LO(),a=function(){throw new R},F0=p?function(){try{return arguments.callee,a}catch(J0){try{return p(arguments,"callee").get}catch(Z0){return a}}}():a,L0=Tw()(),R0=hS(),t=bS(),C0=yS(),G=z9(),K=Z9(),H={},D=typeof Uint8Array>"u"||!R0?Y:R0(Uint8Array),F={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?Y:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?Y:ArrayBuffer,"%ArrayIteratorPrototype%":L0&&R0?R0([][Symbol.iterator]()):Y,"%AsyncFromSyncIteratorPrototype%":Y,"%AsyncFunction%":H,"%AsyncGenerator%":H,"%AsyncGeneratorFunction%":H,"%AsyncIteratorPrototype%":H,"%Atomics%":typeof Atomics>"u"?Y:Atomics,"%BigInt%":typeof BigInt>"u"?Y:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?Y:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?Y:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?Y:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":I,"%eval%":eval,"%EvalError%":O,"%Float16Array%":typeof Float16Array>"u"?Y:Float16Array,"%Float32Array%":typeof Float32Array>"u"?Y:Float32Array,"%Float64Array%":typeof Float64Array>"u"?Y:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?Y:FinalizationRegistry,"%Function%":x,"%GeneratorFunction%":H,"%Int8Array%":typeof Int8Array>"u"?Y:Int8Array,"%Int16Array%":typeof Int16Array>"u"?Y:Int16Array,"%Int32Array%":typeof Int32Array>"u"?Y:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":L0&&R0?R0(R0([][Symbol.iterator]())):Y,"%JSON%":typeof JSON==="object"?JSON:Y,"%Map%":typeof Map>"u"?Y:Map,"%MapIteratorPrototype%":typeof Map>"u"||!L0||!R0?Y:R0(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":V,"%Object.getOwnPropertyDescriptor%":p,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?Y:Promise,"%Proxy%":typeof Proxy>"u"?Y:Proxy,"%RangeError%":Z,"%ReferenceError%":L,"%Reflect%":typeof Reflect>"u"?Y:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?Y:Set,"%SetIteratorPrototype%":typeof Set>"u"||!L0||!R0?Y:R0(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?Y:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":L0&&R0?R0(""[Symbol.iterator]()):Y,"%Symbol%":L0?Symbol:Y,"%SyntaxError%":B,"%ThrowTypeError%":F0,"%TypedArray%":D,"%TypeError%":R,"%Uint8Array%":typeof Uint8Array>"u"?Y:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?Y:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?Y:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?Y:Uint32Array,"%URIError%":S,"%WeakMap%":typeof WeakMap>"u"?Y:WeakMap,"%WeakRef%":typeof WeakRef>"u"?Y:WeakRef,"%WeakSet%":typeof WeakSet>"u"?Y:WeakSet,"%Function.prototype.call%":K,"%Function.prototype.apply%":G,"%Object.defineProperty%":d,"%Object.getPrototypeOf%":t,"%Math.abs%":T,"%Math.floor%":E,"%Math.max%":v,"%Math.min%":q,"%Math.pow%":y,"%Math.round%":w,"%Math.sign%":u,"%Reflect.getPrototypeOf%":C0};if(R0)try{null.error}catch(J0){P=R0(R0(J0)),F["%Error.prototype%"]=P}var P,j=function J0(Z0){var A0;if(Z0==="%AsyncFunction%")A0=b("async function () {}");else if(Z0==="%GeneratorFunction%")A0=b("function* () {}");else if(Z0==="%AsyncGeneratorFunction%")A0=b("async function* () {}");else if(Z0==="%AsyncGenerator%"){var $0=J0("%AsyncGeneratorFunction%");if($0)A0=$0.prototype}else if(Z0==="%AsyncIteratorPrototype%"){var c=J0("%AsyncGenerator%");if(c&&R0)A0=R0(c.prototype)}return F[Z0]=A0,A0},A={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},z=eG(),C=Ew(),g=z.call(K,Array.prototype.concat),N=z.call(G,Array.prototype.splice),h=z.call(K,String.prototype.replace),r=z.call(K,String.prototype.slice),U0=z.call(K,RegExp.prototype.exec),O0=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,Q0=/\\(\\)?/g,s=function(J0){var Z0=r(J0,0,1),A0=r(J0,-1);if(Z0==="%"&&A0!=="%")throw new B("invalid intrinsic syntax, expected closing `%`");else if(A0==="%"&&Z0!=="%")throw new B("invalid intrinsic syntax, expected opening `%`");var $0=[];return h(J0,O0,function(c,n,H0,Y0){$0[$0.length]=H0?h(Y0,Q0,"$1"):n||c}),$0},e=function(J0,Z0){var A0=J0,$0;if(C(A,A0))$0=A[A0],A0="%"+$0[0]+"%";if(C(F,A0)){var c=F[A0];if(c===H)c=j(A0);if(typeof c>"u"&&!Z0)throw new R("intrinsic "+J0+" exists, but is not available. Please file an issue!");return{alias:$0,name:A0,value:c}}throw new B("intrinsic "+J0+" does not exist!")};J.exports=function(J0,Z0){if(typeof J0!=="string"||J0.length===0)throw new R("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof Z0!=="boolean")throw new R('"allowMissing" argument must be a boolean');if(U0(/^%?[^%]*%?$/,J0)===null)throw new B("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var A0=s(J0),$0=A0.length>0?A0[0]:"",c=e("%"+$0+"%",Z0),n=c.name,H0=c.value,Y0=!1,D0=c.alias;if(D0)$0=D0[0],N(A0,g([0,1],D0));for(var q0=1,X0=!0;q0<A0.length;q0+=1){var V0=A0[q0],U$=r(V0,0,1),M0=r(V0,-1);if((U$==='"'||U$==="'"||U$==="`"||(M0==='"'||M0==="'"||M0==="`"))&&U$!==M0)throw new B("property names with quotes must have matching quotes");if(V0==="constructor"||!X0)Y0=!0;if($0+="."+V0,n="%"+$0+"%",C(F,n))H0=F[n];else if(H0!=null){if(!(V0 in H0)){if(!Z0)throw new R("base intrinsic for "+J0+" exists, but the property is not available.");return}if(p&&q0+1>=A0.length){var v0=p(H0,V0);if(X0=!!v0,X0&&"get"in v0&&!("originalValue"in v0.get))H0=v0.get;else H0=H0[V0]}else X0=C(H0,V0),H0=H0[V0];if(X0&&!Y0)F[n]=H0}}return H0}}),pS=b0((X,J)=>{var Y=cS(),V=O9(),I=V([Y("%String.prototype.indexOf%")]);J.exports=function(O,Z){var L=Y(O,!!Z);if(typeof L==="function"&&I(O,".prototype.")>-1)return V([L]);return L}}),Rw=b0((X,J)=>{var Y=Function.prototype.toString,V=typeof Reflect==="object"&&Reflect!==null&&Reflect.apply,I,O;if(typeof V==="function"&&typeof Object.defineProperty==="function")try{I=Object.defineProperty({},"length",{get:function(){throw O}}),O={},V(function(){throw 42},null,I)}catch(p){if(p!==O)V=null}else V=null;var Z=/^\s*class\b/,L=function(p){try{var d=Y.call(p);return Z.test(d)}catch(a){return!1}},B=function(p){try{if(L(p))return!1;return Y.call(p),!0}catch(d){return!1}},R=Object.prototype.toString,S="[object Object]",T="[object Function]",E="[object GeneratorFunction]",v="[object HTMLAllCollection]",q="[object HTML document.all class]",y="[object HTMLCollection]",w=typeof Symbol==="function"&&!!Symbol.toStringTag,u=!(0 in[,]),x=function(){return!1};if(typeof document==="object"){if(b=document.all,R.call(b)===R.call(document.all))x=function(p){if((u||!p)&&(typeof p>"u"||typeof p==="object"))try{var d=R.call(p);return(d===v||d===q||d===y||d===S)&&p("")==null}catch(a){}return!1}}var b;J.exports=V?function(p){if(x(p))return!0;if(!p)return!1;if(typeof p!=="function"&&typeof p!=="object")return!1;try{V(p,null,I)}catch(d){if(d!==O)return!1}return!L(p)&&B(p)}:function(p){if(x(p))return!0;if(!p)return!1;if(typeof p!=="function"&&typeof p!=="object")return!1;if(w)return B(p);if(L(p))return!1;var d=R.call(p);if(d!==T&&d!==E&&!/^\[object HTML/.test(d))return!1;return B(p)}}),Sw=b0((X,J)=>{var Y=Rw(),V=Object.prototype.toString,I=Object.prototype.hasOwnProperty,O=function(R,S,T){for(var E=0,v=R.length;E<v;E++)if(I.call(R,E))if(T==null)S(R[E],E,R);else S.call(T,R[E],E,R)},Z=function(R,S,T){for(var E=0,v=R.length;E<v;E++)if(T==null)S(R.charAt(E),E,R);else S.call(T,R.charAt(E),E,R)},L=function(R,S,T){for(var E in R)if(I.call(R,E))if(T==null)S(R[E],E,R);else S.call(T,R[E],E,R)};function B(R){return V.call(R)==="[object Array]"}J.exports=function(R,S,T){if(!Y(S))throw TypeError("iterator must be a function");var E;if(arguments.length>=3)E=T;if(B(R))O(R,S,E);else if(typeof R==="string")Z(R,S,E);else L(R,S,E)}}),jw=b0((X,J)=>{J.exports=["Float16Array","Float32Array","Float64Array","Int8Array","Int16Array","Int32Array","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array"]}),Bw=b0((X,J)=>{var Y=jw(),V=typeof globalThis>"u"?globalThis:globalThis;J.exports=function(){var I=[];for(var O=0;O<Y.length;O++)if(typeof V[Y[O]]==="function")I[I.length]=Y[O];return I}}),vw=b0((X,J)=>{var Y=LO(),V=wS(),I=aG(),O=sG();J.exports=function(Z,L,B){if(!Z||typeof Z!=="object"&&typeof Z!=="function")throw new I("`obj` must be an object or a function`");if(typeof L!=="string"&&typeof L!=="symbol")throw new I("`property` must be a string or a symbol`");if(arguments.length>3&&typeof arguments[3]!=="boolean"&&arguments[3]!==null)throw new I("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&typeof arguments[4]!=="boolean"&&arguments[4]!==null)throw new I("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&typeof arguments[5]!=="boolean"&&arguments[5]!==null)throw new I("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&typeof arguments[6]!=="boolean")throw new I("`loose`, if provided, must be a boolean");var R=arguments.length>3?arguments[3]:null,S=arguments.length>4?arguments[4]:null,T=arguments.length>5?arguments[5]:null,E=arguments.length>6?arguments[6]:!1,v=!!O&&O(Z,L);if(Y)Y(Z,L,{configurable:T===null&&v?v.configurable:!T,enumerable:R===null&&v?v.enumerable:!R,value:B,writable:S===null&&v?v.writable:!S});else if(E||!R&&!S&&!T)Z[L]=B;else throw new V("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.")}}),Nw=b0((X,J)=>{var Y=LO(),V=function(){return!!Y};V.hasArrayLengthDefineBug=function(){if(!Y)return null;try{return Y([],"length",{value:1}).length!==1}catch(I){return!0}},J.exports=V}),qw=b0((X,J)=>{var Y=cS(),V=vw(),I=Nw()(),O=sG(),Z=aG(),L=Y("%Math.floor%");J.exports=function(B,R){if(typeof B!=="function")throw new Z("`fn` is not a function");if(typeof R!=="number"||R<0||R>4294967295||L(R)!==R)throw new Z("`length` must be a positive 32-bit integer");var S=arguments.length>2&&!!arguments[2],T=!0,E=!0;if("length"in B&&O){var v=O(B,"length");if(v&&!v.configurable)T=!1;if(v&&!v.writable)E=!1}if(T||E||!S)if(I)V(B,"length",R,!0,!0);else V(B,"length",R);return B}}),kw=b0((X,J)=>{var Y=eG(),V=z9(),I=uS();J.exports=function(){return I(Y,V,arguments)}}),xw=b0((X,J)=>{var Y=qw(),V=LO(),I=O9(),O=kw();if(J.exports=function(Z){var L=I(arguments),B=Z.length-(arguments.length-1);return Y(L,1+(B>0?B:0),!0)},V)V(J.exports,"apply",{value:O});else J.exports.apply=O}),gw=b0((X,J)=>{var Y=fS();J.exports=function(){return Y()&&!!Symbol.toStringTag}}),ww=b0((X,J)=>{var Y=Sw(),V=Bw(),I=xw(),O=pS(),Z=sG(),L=hS(),B=O("Object.prototype.toString"),R=gw()(),S=typeof globalThis>"u"?globalThis:globalThis,T=V(),E=O("String.prototype.slice"),v=O("Array.prototype.indexOf",!0)||function(u,x){for(var b=0;b<u.length;b+=1)if(u[b]===x)return b;return-1},q={__proto__:null};if(R&&Z&&L)Y(T,function(u){var x=new S[u];if(Symbol.toStringTag in x&&L){var b=L(x),p=Z(b,Symbol.toStringTag);if(!p&&b){var d=L(b);p=Z(d,Symbol.toStringTag)}q["$"+u]=I(p.get)}});else Y(T,function(u){var x=new S[u],b=x.slice||x.set;if(b)q["$"+u]=I(b)});var y=function(u){var x=!1;return Y(q,function(b,p){if(!x)try{if("$"+b(u)===p)x=E(p,1)}catch(d){}}),x},w=function(u){var x=!1;return Y(q,function(b,p){if(!x)try{b(u),x=E(p,1)}catch(d){}}),x};J.exports=function(u){if(!u||typeof u!=="object")return!1;if(!R){var x=E(B(u),8,-1);if(v(T,x)>-1)return x;if(x!=="Object")return!1;return w(u)}if(!Z)return null;return y(u)}}),fw=b0((X,J)=>{var Y=ww();J.exports=function(V){return!!Y(V)}}),yw=b0((X,J)=>{var Y=aG(),V=pS(),I=V("TypedArray.prototype.buffer",!0),O=fw();J.exports=I||function(Z){if(!O(Z))throw new Y("Not a Typed Array");return Z.buffer}}),bw=b0((X,J)=>{var Y=f6().Buffer,V=Qw(),I=yw(),O=ArrayBuffer.isView||function(R){try{return I(R),!0}catch(S){return!1}},Z=typeof Uint8Array<"u",L=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u",B=L&&(Y.prototype instanceof Uint8Array||Y.TYPED_ARRAY_SUPPORT);J.exports=function(R,S){if(Y.isBuffer(R)){if(R.constructor&&!("isBuffer"in R))return Y.from(R);return R}if(typeof R==="string")return Y.from(R,S);if(L&&O(R)){if(R.byteLength===0)return Y.alloc(0);if(B){var T=Y.from(R.buffer,R.byteOffset,R.byteLength);if(T.byteLength===R.byteLength)return T}var E=R instanceof Uint8Array?R:new Uint8Array(R.buffer,R.byteOffset,R.byteLength),v=Y.from(E);if(v.length===R.byteLength)return v}if(Z&&R instanceof Uint8Array)return Y.from(R);var q=V(R);if(q)for(var y=0;y<R.length;y+=1){var w=R[y];if(typeof w!=="number"||w<0||w>255||~~w!==w)throw RangeError("Array items must be numbers in the range 0-255.")}if(q||Y.isBuffer(R)&&R.constructor&&typeof R.constructor.isBuffer==="function"&&R.constructor.isBuffer(R))return Y.from(R);throw TypeError('The "data" argument must be a string, an Array, a Buffer, a Uint8Array, or a DataView.')}}),V9=b0((X,J)=>{var Y=f6().Buffer,V=bw(),I=typeof Uint8Array<"u",O=I&&typeof ArrayBuffer<"u",Z=O&&ArrayBuffer.isView;J.exports=function(L,B,R){if(typeof L==="string"||Y.isBuffer(L)||I&&L instanceof Uint8Array||Z&&Z(L))return V(L,B);throw TypeError(R+" must be a string, a Buffer, a Uint8Array, or a DataView")}}),mS=b0((X,J)=>{var Y={__proto__:null,md5:16,sha1:20,sha224:28,sha256:32,sha384:48,sha512:64,"sha512-256":32,rmd160:20,ripemd160:20},V={__proto__:null,"sha-1":"sha1","sha-224":"sha224","sha-256":"sha256","sha-384":"sha384","sha-512":"sha512","ripemd-160":"ripemd160"},I=xS(),O=f6().Buffer,Z=Y9(),L=G9(),B=V9();function R(S,T,E,v,q){Z(E,v),S=B(S,L,"Password"),T=B(T,L,"Salt");var y=(q||"sha1").toLowerCase(),w=V[y]||y,u=Y[w];if(typeof u!=="number"||!u)throw TypeError("Digest algorithm not supported: "+q);var x=O.allocUnsafe(v),b=O.allocUnsafe(T.length+4);T.copy(b,0,0,T.length);var p=0,d=u,a=Math.ceil(v/d);for(var F0=1;F0<=a;F0++){b.writeUInt32BE(F0,T.length);var L0=I(w,S).update(b).digest(),R0=L0;for(var t=1;t<E;t++){R0=I(w,S).update(R0).digest();for(var C0=0;C0<d;C0++)L0[C0]^=R0[C0]}L0.copy(x,p),p+=d}return x}J.exports=R}),uw=b0((X,J)=>{var Y=f6().Buffer,V=Y9(),I=G9(),O=mS(),Z=V9(),L,B=globalThis.crypto&&globalThis.crypto.subtle,R={sha:"SHA-1","sha-1":"SHA-1",sha1:"SHA-1",sha256:"SHA-256","sha-256":"SHA-256",sha384:"SHA-384","sha-384":"SHA-384","sha-512":"SHA-512",sha512:"SHA-512"},S=[],T;function E(){if(T)return T;if(globalThis.process&&globalThis.process.nextTick)T=globalThis.process.nextTick;else if(globalThis.queueMicrotask)T=globalThis.queueMicrotask;else if(globalThis.setImmediate)T=globalThis.setImmediate;else T=globalThis.setTimeout;return T}function v(w,u,x,b,p){return B.importKey("raw",w,{name:"PBKDF2"},!1,["deriveBits"]).then(function(d){return B.deriveBits({name:"PBKDF2",salt:u,iterations:x,hash:{name:p}},d,b<<3)}).then(function(d){return Y.from(d)})}function q(w){if(globalThis.process&&!globalThis.process.browser)return Promise.resolve(!1);if(!B||!B.importKey||!B.deriveBits)return Promise.resolve(!1);if(S[w]!==void 0)return S[w];L=L||Y.alloc(8);var u=v(L,L,10,128,w).then(function(){return!0},function(){return!1});return S[w]=u,u}function y(w,u){w.then(function(x){E()(function(){u(null,x)})},function(x){E()(function(){u(x)})})}J.exports=function(w,u,x,b,p,d){if(typeof p==="function")d=p,p=void 0;if(V(x,b),w=Z(w,I,"Password"),u=Z(u,I,"Salt"),typeof d!=="function")throw Error("No callback provided to pbkdf2");p=p||"sha1";var a=R[p.toLowerCase()];if(!a||typeof globalThis.Promise!=="function"){E()(function(){var F0;try{F0=O(w,u,x,b,p)}catch(L0){d(L0);return}d(null,F0)});return}y(q(a).then(function(F0){if(F0)return v(w,u,x,b,a);return O(w,u,x,b,p)}),d)}}),lS=b0((X)=>{var J=(yU(),j$(L1)),Y=Y9(),V=G9(),I=V9();function O(L,B,R,S,T,E){if(Y(R,S),L=I(L,V,"Password"),B=I(B,V,"Salt"),typeof T==="function")E=T,T="sha1";if(typeof E!=="function")throw Error("No callback provided to pbkdf2");return J.pbkdf2(L,B,R,S,T,E)}function Z(L,B,R,S,T){return Y(R,S),L=I(L,V,"Password"),B=I(B,V,"Salt"),T=T||"sha1",J.pbkdf2Sync(L,B,R,S,T)}if(!J.pbkdf2Sync||J.pbkdf2Sync.toString().indexOf("keylen, digest")===-1)X.pbkdf2Sync=mS(),X.pbkdf2=uw();else X.pbkdf2Sync=Z,X.pbkdf2=O}),hw=b0((X)=>{var J=(yU(),j$(L1));X.createCipher=X.Cipher=J.createCipher,X.createCipheriv=X.Cipheriv=J.createCipheriv,X.createDecipher=X.Decipher=J.createDecipher,X.createDecipheriv=X.Decipheriv=J.createDecipheriv,X.listCiphers=X.getCiphers=J.getCiphers}),cw=b0((X)=>{var J=(yU(),j$(L1));X.DiffieHellmanGroup=J.DiffieHellmanGroup,X.createDiffieHellmanGroup=J.createDiffieHellmanGroup,X.getDiffieHellman=J.getDiffieHellman,X.createDiffieHellman=J.createDiffieHellman,X.DiffieHellman=J.DiffieHellman}),pw=b0((X)=>{var J=(yU(),j$(L1));X.createSign=J.createSign,X.Sign=J.Sign,X.createVerify=J.createVerify,X.Verify=J.Verify}),mw=b0((X,J)=>{J.exports={name:"elliptic",version:"6.6.1",description:"EC cryptography",main:"lib/elliptic.js",files:["lib"],scripts:{lint:"eslint lib test","lint:fix":"npm run lint -- --fix",unit:"istanbul test _mocha --reporter=spec test/index.js",test:"npm run lint && npm run unit",version:"grunt dist && git add dist/"},repository:{type:"git",url:"git@github.com:indutny/elliptic"},keywords:["EC","Elliptic","curve","Cryptography"],author:"Fedor Indutny <fedor@indutny.com>",license:"MIT",bugs:{url:"https://github.com/indutny/elliptic/issues"},homepage:"https://github.com/indutny/elliptic",devDependencies:{brfs:"^2.0.2",coveralls:"^3.1.0",eslint:"^7.6.0",grunt:"^1.2.1","grunt-browserify":"^5.3.0","grunt-cli":"^1.3.2","grunt-contrib-connect":"^3.0.0","grunt-contrib-copy":"^1.0.0","grunt-contrib-uglify":"^5.0.0","grunt-mocha-istanbul":"^5.0.2","grunt-saucelabs":"^9.0.1",istanbul:"^0.4.5",mocha:"^8.0.1"},dependencies:{"bn.js":"^4.11.9",brorand:"^1.1.0","hash.js":"^1.0.0","hmac-drbg":"^1.0.1",inherits:"^2.0.4","minimalistic-assert":"^1.0.1","minimalistic-crypto-utils":"^1.0.1"}}}),OX=b0((X,J)=>{(function(Y,V){function I(G,K){if(!G)throw Error(K||"Assertion failed")}function O(G,K){G.super_=K;var H=function(){};H.prototype=K.prototype,G.prototype=new H,G.prototype.constructor=G}function Z(G,K,H){if(Z.isBN(G))return G;if(this.negative=0,this.words=null,this.length=0,this.red=null,G!==null){if(K==="le"||K==="be")H=K,K=10;this._init(G||0,K||10,H||"be")}}if(typeof Y==="object")Y.exports=Z;else V.BN=Z;Z.BN=Z,Z.wordSize=26;var L;try{if(typeof window<"u"&&typeof window.Buffer<"u")L=window.Buffer;else L=(oU(),j$(nU)).Buffer}catch(G){}Z.isBN=function(G){if(G instanceof Z)return!0;return G!==null&&typeof G==="object"&&G.constructor.wordSize===Z.wordSize&&Array.isArray(G.words)},Z.max=function(G,K){if(G.cmp(K)>0)return G;return K},Z.min=function(G,K){if(G.cmp(K)<0)return G;return K},Z.prototype._init=function(G,K,H){if(typeof G==="number")return this._initNumber(G,K,H);if(typeof G==="object")return this._initArray(G,K,H);if(K==="hex")K=16;I(K===(K|0)&&K>=2&&K<=36),G=G.toString().replace(/\s+/g,"");var D=0;if(G[0]==="-")D++,this.negative=1;if(D<G.length){if(K===16)this._parseHex(G,D,H);else if(this._parseBase(G,K,D),H==="le")this._initArray(this.toArray(),K,H)}},Z.prototype._initNumber=function(G,K,H){if(G<0)this.negative=1,G=-G;if(G<67108864)this.words=[G&67108863],this.length=1;else if(G<4503599627370496)this.words=[G&67108863,G/67108864&67108863],this.length=2;else I(G<9007199254740992),this.words=[G&67108863,G/67108864&67108863,1],this.length=3;if(H!=="le")return;this._initArray(this.toArray(),K,H)},Z.prototype._initArray=function(G,K,H){if(I(typeof G.length==="number"),G.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(G.length/3),this.words=Array(this.length);for(var D=0;D<this.length;D++)this.words[D]=0;var F,P,j=0;if(H==="be"){for(D=G.length-1,F=0;D>=0;D-=3)if(P=G[D]|G[D-1]<<8|G[D-2]<<16,this.words[F]|=P<<j&67108863,this.words[F+1]=P>>>26-j&67108863,j+=24,j>=26)j-=26,F++}else if(H==="le"){for(D=0,F=0;D<G.length;D+=3)if(P=G[D]|G[D+1]<<8|G[D+2]<<16,this.words[F]|=P<<j&67108863,this.words[F+1]=P>>>26-j&67108863,j+=24,j>=26)j-=26,F++}return this.strip()};function B(G,K){var H=G.charCodeAt(K);if(H>=65&&H<=70)return H-55;else if(H>=97&&H<=102)return H-87;else return H-48&15}function R(G,K,H){var D=B(G,H);if(H-1>=K)D|=B(G,H-1)<<4;return D}Z.prototype._parseHex=function(G,K,H){this.length=Math.ceil((G.length-K)/6),this.words=Array(this.length);for(var D=0;D<this.length;D++)this.words[D]=0;var F=0,P=0,j;if(H==="be")for(D=G.length-1;D>=K;D-=2)if(j=R(G,K,D)<<F,this.words[P]|=j&67108863,F>=18)F-=18,P+=1,this.words[P]|=j>>>26;else F+=8;else{var A=G.length-K;for(D=A%2===0?K+1:K;D<G.length;D+=2)if(j=R(G,K,D)<<F,this.words[P]|=j&67108863,F>=18)F-=18,P+=1,this.words[P]|=j>>>26;else F+=8}this.strip()};function S(G,K,H,D){var F=0,P=Math.min(G.length,H);for(var j=K;j<P;j++){var A=G.charCodeAt(j)-48;if(F*=D,A>=49)F+=A-49+10;else if(A>=17)F+=A-17+10;else F+=A}return F}Z.prototype._parseBase=function(G,K,H){this.words=[0],this.length=1;for(var D=0,F=1;F<=67108863;F*=K)D++;D--,F=F/K|0;var P=G.length-H,j=P%D,A=Math.min(P,P-j)+H,z=0;for(var C=H;C<A;C+=D)if(z=S(G,C,C+D,K),this.imuln(F),this.words[0]+z<67108864)this.words[0]+=z;else this._iaddn(z);if(j!==0){var g=1;z=S(G,C,G.length,K);for(C=0;C<j;C++)g*=K;if(this.imuln(g),this.words[0]+z<67108864)this.words[0]+=z;else this._iaddn(z)}this.strip()},Z.prototype.copy=function(G){G.words=Array(this.length);for(var K=0;K<this.length;K++)G.words[K]=this.words[K];G.length=this.length,G.negative=this.negative,G.red=this.red},Z.prototype.clone=function(){var G=new Z(null);return this.copy(G),G},Z.prototype._expand=function(G){while(this.length<G)this.words[this.length++]=0;return this},Z.prototype.strip=function(){while(this.length>1&&this.words[this.length-1]===0)this.length--;return this._normSign()},Z.prototype._normSign=function(){if(this.length===1&&this.words[0]===0)this.negative=0;return this},Z.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var T=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],E=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],v=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64000000,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,24300000,28629151,33554432,39135393,45435424,52521875,60466176];if(Z.prototype.toString=function(G,K){G=G||10,K=K|0||1;var H;if(G===16||G==="hex"){H="";var D=0,F=0;for(var P=0;P<this.length;P++){var j=this.words[P],A=((j<<D|F)&16777215).toString(16);if(F=j>>>24-D&16777215,D+=2,D>=26)D-=26,P--;if(F!==0||P!==this.length-1)H=T[6-A.length]+A+H;else H=A+H}if(F!==0)H=F.toString(16)+H;while(H.length%K!==0)H="0"+H;if(this.negative!==0)H="-"+H;return H}if(G===(G|0)&&G>=2&&G<=36){var z=E[G],C=v[G];H="";var g=this.clone();g.negative=0;while(!g.isZero()){var N=g.modn(C).toString(G);if(g=g.idivn(C),!g.isZero())H=T[z-N.length]+N+H;else H=N+H}if(this.isZero())H="0"+H;while(H.length%K!==0)H="0"+H;if(this.negative!==0)H="-"+H;return H}I(!1,"Base should be between 2 and 36")},Z.prototype.toNumber=function(){var G=this.words[0];if(this.length===2)G+=this.words[1]*67108864;else if(this.length===3&&this.words[2]===1)G+=4503599627370496+this.words[1]*67108864;else if(this.length>2)I(!1,"Number can only safely store up to 53 bits");return this.negative!==0?-G:G},Z.prototype.toJSON=function(){return this.toString(16)},Z.prototype.toBuffer=function(G,K){return I(typeof L<"u"),this.toArrayLike(L,G,K)},Z.prototype.toArray=function(G,K){return this.toArrayLike(Array,G,K)},Z.prototype.toArrayLike=function(G,K,H){var D=this.byteLength(),F=H||Math.max(1,D);I(D<=F,"byte array longer than desired length"),I(F>0,"Requested array length <= 0"),this.strip();var P=K==="le",j=new G(F),A,z,C=this.clone();if(!P){for(z=0;z<F-D;z++)j[z]=0;for(z=0;!C.isZero();z++)A=C.andln(255),C.iushrn(8),j[F-z-1]=A}else{for(z=0;!C.isZero();z++)A=C.andln(255),C.iushrn(8),j[z]=A;for(;z<F;z++)j[z]=0}return j},Math.clz32)Z.prototype._countBits=function(G){return 32-Math.clz32(G)};else Z.prototype._countBits=function(G){var K=G,H=0;if(K>=4096)H+=13,K>>>=13;if(K>=64)H+=7,K>>>=7;if(K>=8)H+=4,K>>>=4;if(K>=2)H+=2,K>>>=2;return H+K};Z.prototype._zeroBits=function(G){if(G===0)return 26;var K=G,H=0;if((K&8191)===0)H+=13,K>>>=13;if((K&127)===0)H+=7,K>>>=7;if((K&15)===0)H+=4,K>>>=4;if((K&3)===0)H+=2,K>>>=2;if((K&1)===0)H++;return H},Z.prototype.bitLength=function(){var G=this.words[this.length-1],K=this._countBits(G);return(this.length-1)*26+K};function q(G){var K=Array(G.bitLength());for(var H=0;H<K.length;H++){var D=H/26|0,F=H%26;K[H]=(G.words[D]&1<<F)>>>F}return K}Z.prototype.zeroBits=function(){if(this.isZero())return 0;var G=0;for(var K=0;K<this.length;K++){var H=this._zeroBits(this.words[K]);if(G+=H,H!==26)break}return G},Z.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},Z.prototype.toTwos=function(G){if(this.negative!==0)return this.abs().inotn(G).iaddn(1);return this.clone()},Z.prototype.fromTwos=function(G){if(this.testn(G-1))return this.notn(G).iaddn(1).ineg();return this.clone()},Z.prototype.isNeg=function(){return this.negative!==0},Z.prototype.neg=function(){return this.clone().ineg()},Z.prototype.ineg=function(){if(!this.isZero())this.negative^=1;return this},Z.prototype.iuor=function(G){while(this.length<G.length)this.words[this.length++]=0;for(var K=0;K<G.length;K++)this.words[K]=this.words[K]|G.words[K];return this.strip()},Z.prototype.ior=function(G){return I((this.negative|G.negative)===0),this.iuor(G)},Z.prototype.or=function(G){if(this.length>G.length)return this.clone().ior(G);return G.clone().ior(this)},Z.prototype.uor=function(G){if(this.length>G.length)return this.clone().iuor(G);return G.clone().iuor(this)},Z.prototype.iuand=function(G){var K;if(this.length>G.length)K=G;else K=this;for(var H=0;H<K.length;H++)this.words[H]=this.words[H]&G.words[H];return this.length=K.length,this.strip()},Z.prototype.iand=function(G){return I((this.negative|G.negative)===0),this.iuand(G)},Z.prototype.and=function(G){if(this.length>G.length)return this.clone().iand(G);return G.clone().iand(this)},Z.prototype.uand=function(G){if(this.length>G.length)return this.clone().iuand(G);return G.clone().iuand(this)},Z.prototype.iuxor=function(G){var K,H;if(this.length>G.length)K=this,H=G;else K=G,H=this;for(var D=0;D<H.length;D++)this.words[D]=K.words[D]^H.words[D];if(this!==K)for(;D<K.length;D++)this.words[D]=K.words[D];return this.length=K.length,this.strip()},Z.prototype.ixor=function(G){return I((this.negative|G.negative)===0),this.iuxor(G)},Z.prototype.xor=function(G){if(this.length>G.length)return this.clone().ixor(G);return G.clone().ixor(this)},Z.prototype.uxor=function(G){if(this.length>G.length)return this.clone().iuxor(G);return G.clone().iuxor(this)},Z.prototype.inotn=function(G){I(typeof G==="number"&&G>=0);var K=Math.ceil(G/26)|0,H=G%26;if(this._expand(K),H>0)K--;for(var D=0;D<K;D++)this.words[D]=~this.words[D]&67108863;if(H>0)this.words[D]=~this.words[D]&67108863>>26-H;return this.strip()},Z.prototype.notn=function(G){return this.clone().inotn(G)},Z.prototype.setn=function(G,K){I(typeof G==="number"&&G>=0);var H=G/26|0,D=G%26;if(this._expand(H+1),K)this.words[H]=this.words[H]|1<<D;else this.words[H]=this.words[H]&~(1<<D);return this.strip()},Z.prototype.iadd=function(G){var K;if(this.negative!==0&&G.negative===0)return this.negative=0,K=this.isub(G),this.negative^=1,this._normSign();else if(this.negative===0&&G.negative!==0)return G.negative=0,K=this.isub(G),G.negative=1,K._normSign();var H,D;if(this.length>G.length)H=this,D=G;else H=G,D=this;var F=0;for(var P=0;P<D.length;P++)K=(H.words[P]|0)+(D.words[P]|0)+F,this.words[P]=K&67108863,F=K>>>26;for(;F!==0&&P<H.length;P++)K=(H.words[P]|0)+F,this.words[P]=K&67108863,F=K>>>26;if(this.length=H.length,F!==0)this.words[this.length]=F,this.length++;else if(H!==this)for(;P<H.length;P++)this.words[P]=H.words[P];return this},Z.prototype.add=function(G){var K;if(G.negative!==0&&this.negative===0)return G.negative=0,K=this.sub(G),G.negative^=1,K;else if(G.negative===0&&this.negative!==0)return this.negative=0,K=G.sub(this),this.negative=1,K;if(this.length>G.length)return this.clone().iadd(G);return G.clone().iadd(this)},Z.prototype.isub=function(G){if(G.negative!==0){G.negative=0;var K=this.iadd(G);return G.negative=1,K._normSign()}else if(this.negative!==0)return this.negative=0,this.iadd(G),this.negative=1,this._normSign();var H=this.cmp(G);if(H===0)return this.negative=0,this.length=1,this.words[0]=0,this;var D,F;if(H>0)D=this,F=G;else D=G,F=this;var P=0;for(var j=0;j<F.length;j++)K=(D.words[j]|0)-(F.words[j]|0)+P,P=K>>26,this.words[j]=K&67108863;for(;P!==0&&j<D.length;j++)K=(D.words[j]|0)+P,P=K>>26,this.words[j]=K&67108863;if(P===0&&j<D.length&&D!==this)for(;j<D.length;j++)this.words[j]=D.words[j];if(this.length=Math.max(this.length,j),D!==this)this.negative=1;return this.strip()},Z.prototype.sub=function(G){return this.clone().isub(G)};function y(G,K,H){H.negative=K.negative^G.negative;var D=G.length+K.length|0;H.length=D,D=D-1|0;var F=G.words[0]|0,P=K.words[0]|0,j=F*P,A=j&67108863,z=j/67108864|0;H.words[0]=A;for(var C=1;C<D;C++){var g=z>>>26,N=z&67108863,h=Math.min(C,K.length-1);for(var r=Math.max(0,C-G.length+1);r<=h;r++){var U0=C-r|0;F=G.words[U0]|0,P=K.words[r]|0,j=F*P+N,g+=j/67108864|0,N=j&67108863}H.words[C]=N|0,z=g|0}if(z!==0)H.words[C]=z|0;else H.length--;return H.strip()}var w=function(G,K,H){var D=G.words,F=K.words,P=H.words,j=0,A,z,C,g=D[0]|0,N=g&8191,h=g>>>13,r=D[1]|0,U0=r&8191,O0=r>>>13,Q0=D[2]|0,s=Q0&8191,e=Q0>>>13,J0=D[3]|0,Z0=J0&8191,A0=J0>>>13,$0=D[4]|0,c=$0&8191,n=$0>>>13,H0=D[5]|0,Y0=H0&8191,D0=H0>>>13,q0=D[6]|0,X0=q0&8191,V0=q0>>>13,U$=D[7]|0,M0=U$&8191,v0=U$>>>13,L$=D[8]|0,p0=L$&8191,c0=L$>>>13,i$=D[9]|0,u0=i$&8191,h0=i$>>>13,QU=F[0]|0,r0=QU&8191,o0=QU>>>13,PU=F[1]|0,m=PU&8191,I0=PU>>>13,s0=F[2]|0,j0=s0&8191,N0=s0>>>13,F$=F[3]|0,x0=F$&8191,f0=F$>>>13,D$=F[4]|0,n0=D$&8191,i0=D$>>>13,VU=F[5]|0,a0=VU&8191,i=VU>>>13,G0=F[6]|0,E0=G0&8191,S0=G0>>>13,z$=F[7]|0,d0=z$&8191,t0=z$>>>13,HU=F[8]|0,X$=HU&8191,$$=HU>>>13,e$=F[9]|0,I$=e$&8191,e0=e$>>>13;H.negative=G.negative^K.negative,H.length=19,A=Math.imul(N,r0),z=Math.imul(N,o0),z=z+Math.imul(h,r0)|0,C=Math.imul(h,o0);var _U=(j+A|0)+((z&8191)<<13)|0;j=(C+(z>>>13)|0)+(_U>>>26)|0,_U&=67108863,A=Math.imul(U0,r0),z=Math.imul(U0,o0),z=z+Math.imul(O0,r0)|0,C=Math.imul(O0,o0),A=A+Math.imul(N,m)|0,z=z+Math.imul(N,I0)|0,z=z+Math.imul(h,m)|0,C=C+Math.imul(h,I0)|0;var B$=(j+A|0)+((z&8191)<<13)|0;j=(C+(z>>>13)|0)+(B$>>>26)|0,B$&=67108863,A=Math.imul(s,r0),z=Math.imul(s,o0),z=z+Math.imul(e,r0)|0,C=Math.imul(e,o0),A=A+Math.imul(U0,m)|0,z=z+Math.imul(U0,I0)|0,z=z+Math.imul(O0,m)|0,C=C+Math.imul(O0,I0)|0,A=A+Math.imul(N,j0)|0,z=z+Math.imul(N,N0)|0,z=z+Math.imul(h,j0)|0,C=C+Math.imul(h,N0)|0;var S$=(j+A|0)+((z&8191)<<13)|0;j=(C+(z>>>13)|0)+(S$>>>26)|0,S$&=67108863,A=Math.imul(Z0,r0),z=Math.imul(Z0,o0),z=z+Math.imul(A0,r0)|0,C=Math.imul(A0,o0),A=A+Math.imul(s,m)|0,z=z+Math.imul(s,I0)|0,z=z+Math.imul(e,m)|0,C=C+Math.imul(e,I0)|0,A=A+Math.imul(U0,j0)|0,z=z+Math.imul(U0,N0)|0,z=z+Math.imul(O0,j0)|0,C=C+Math.imul(O0,N0)|0,A=A+Math.imul(N,x0)|0,z=z+Math.imul(N,f0)|0,z=z+Math.imul(h,x0)|0,C=C+Math.imul(h,f0)|0;var $U=(j+A|0)+((z&8191)<<13)|0;j=(C+(z>>>13)|0)+($U>>>26)|0,$U&=67108863,A=Math.imul(c,r0),z=Math.imul(c,o0),z=z+Math.imul(n,r0)|0,C=Math.imul(n,o0),A=A+Math.imul(Z0,m)|0,z=z+Math.imul(Z0,I0)|0,z=z+Math.imul(A0,m)|0,C=C+Math.imul(A0,I0)|0,A=A+Math.imul(s,j0)|0,z=z+Math.imul(s,N0)|0,z=z+Math.imul(e,j0)|0,C=C+Math.imul(e,N0)|0,A=A+Math.imul(U0,x0)|0,z=z+Math.imul(U0,f0)|0,z=z+Math.imul(O0,x0)|0,C=C+Math.imul(O0,f0)|0,A=A+Math.imul(N,n0)|0,z=z+Math.imul(N,i0)|0,z=z+Math.imul(h,n0)|0,C=C+Math.imul(h,i0)|0;var d$=(j+A|0)+((z&8191)<<13)|0;j=(C+(z>>>13)|0)+(d$>>>26)|0,d$&=67108863,A=Math.imul(Y0,r0),z=Math.imul(Y0,o0),z=z+Math.imul(D0,r0)|0,C=Math.imul(D0,o0),A=A+Math.imul(c,m)|0,z=z+Math.imul(c,I0)|0,z=z+Math.imul(n,m)|0,C=C+Math.imul(n,I0)|0,A=A+Math.imul(Z0,j0)|0,z=z+Math.imul(Z0,N0)|0,z=z+Math.imul(A0,j0)|0,C=C+Math.imul(A0,N0)|0,A=A+Math.imul(s,x0)|0,z=z+Math.imul(s,f0)|0,z=z+Math.imul(e,x0)|0,C=C+Math.imul(e,f0)|0,A=A+Math.imul(U0,n0)|0,z=z+Math.imul(U0,i0)|0,z=z+Math.imul(O0,n0)|0,C=C+Math.imul(O0,i0)|0,A=A+Math.imul(N,a0)|0,z=z+Math.imul(N,i)|0,z=z+Math.imul(h,a0)|0,C=C+Math.imul(h,i)|0;var bU=(j+A|0)+((z&8191)<<13)|0;j=(C+(z>>>13)|0)+(bU>>>26)|0,bU&=67108863,A=Math.imul(X0,r0),z=Math.imul(X0,o0),z=z+Math.imul(V0,r0)|0,C=Math.imul(V0,o0),A=A+Math.imul(Y0,m)|0,z=z+Math.imul(Y0,I0)|0,z=z+Math.imul(D0,m)|0,C=C+Math.imul(D0,I0)|0,A=A+Math.imul(c,j0)|0,z=z+Math.imul(c,N0)|0,z=z+Math.imul(n,j0)|0,C=C+Math.imul(n,N0)|0,A=A+Math.imul(Z0,x0)|0,z=z+Math.imul(Z0,f0)|0,z=z+Math.imul(A0,x0)|0,C=C+Math.imul(A0,f0)|0,A=A+Math.imul(s,n0)|0,z=z+Math.imul(s,i0)|0,z=z+Math.imul(e,n0)|0,C=C+Math.imul(e,i0)|0,A=A+Math.imul(U0,a0)|0,z=z+Math.imul(U0,i)|0,z=z+Math.imul(O0,a0)|0,C=C+Math.imul(O0,i)|0,A=A+Math.imul(N,E0)|0,z=z+Math.imul(N,S0)|0,z=z+Math.imul(h,E0)|0,C=C+Math.imul(h,S0)|0;var uU=(j+A|0)+((z&8191)<<13)|0;j=(C+(z>>>13)|0)+(uU>>>26)|0,uU&=67108863,A=Math.imul(M0,r0),z=Math.imul(M0,o0),z=z+Math.imul(v0,r0)|0,C=Math.imul(v0,o0),A=A+Math.imul(X0,m)|0,z=z+Math.imul(X0,I0)|0,z=z+Math.imul(V0,m)|0,C=C+Math.imul(V0,I0)|0,A=A+Math.imul(Y0,j0)|0,z=z+Math.imul(Y0,N0)|0,z=z+Math.imul(D0,j0)|0,C=C+Math.imul(D0,N0)|0,A=A+Math.imul(c,x0)|0,z=z+Math.imul(c,f0)|0,z=z+Math.imul(n,x0)|0,C=C+Math.imul(n,f0)|0,A=A+Math.imul(Z0,n0)|0,z=z+Math.imul(Z0,i0)|0,z=z+Math.imul(A0,n0)|0,C=C+Math.imul(A0,i0)|0,A=A+Math.imul(s,a0)|0,z=z+Math.imul(s,i)|0,z=z+Math.imul(e,a0)|0,C=C+Math.imul(e,i)|0,A=A+Math.imul(U0,E0)|0,z=z+Math.imul(U0,S0)|0,z=z+Math.imul(O0,E0)|0,C=C+Math.imul(O0,S0)|0,A=A+Math.imul(N,d0)|0,z=z+Math.imul(N,t0)|0,z=z+Math.imul(h,d0)|0,C=C+Math.imul(h,t0)|0;var hU=(j+A|0)+((z&8191)<<13)|0;j=(C+(z>>>13)|0)+(hU>>>26)|0,hU&=67108863,A=Math.imul(p0,r0),z=Math.imul(p0,o0),z=z+Math.imul(c0,r0)|0,C=Math.imul(c0,o0),A=A+Math.imul(M0,m)|0,z=z+Math.imul(M0,I0)|0,z=z+Math.imul(v0,m)|0,C=C+Math.imul(v0,I0)|0,A=A+Math.imul(X0,j0)|0,z=z+Math.imul(X0,N0)|0,z=z+Math.imul(V0,j0)|0,C=C+Math.imul(V0,N0)|0,A=A+Math.imul(Y0,x0)|0,z=z+Math.imul(Y0,f0)|0,z=z+Math.imul(D0,x0)|0,C=C+Math.imul(D0,f0)|0,A=A+Math.imul(c,n0)|0,z=z+Math.imul(c,i0)|0,z=z+Math.imul(n,n0)|0,C=C+Math.imul(n,i0)|0,A=A+Math.imul(Z0,a0)|0,z=z+Math.imul(Z0,i)|0,z=z+Math.imul(A0,a0)|0,C=C+Math.imul(A0,i)|0,A=A+Math.imul(s,E0)|0,z=z+Math.imul(s,S0)|0,z=z+Math.imul(e,E0)|0,C=C+Math.imul(e,S0)|0,A=A+Math.imul(U0,d0)|0,z=z+Math.imul(U0,t0)|0,z=z+Math.imul(O0,d0)|0,C=C+Math.imul(O0,t0)|0,A=A+Math.imul(N,X$)|0,z=z+Math.imul(N,$$)|0,z=z+Math.imul(h,X$)|0,C=C+Math.imul(h,$$)|0;var cU=(j+A|0)+((z&8191)<<13)|0;j=(C+(z>>>13)|0)+(cU>>>26)|0,cU&=67108863,A=Math.imul(u0,r0),z=Math.imul(u0,o0),z=z+Math.imul(h0,r0)|0,C=Math.imul(h0,o0),A=A+Math.imul(p0,m)|0,z=z+Math.imul(p0,I0)|0,z=z+Math.imul(c0,m)|0,C=C+Math.imul(c0,I0)|0,A=A+Math.imul(M0,j0)|0,z=z+Math.imul(M0,N0)|0,z=z+Math.imul(v0,j0)|0,C=C+Math.imul(v0,N0)|0,A=A+Math.imul(X0,x0)|0,z=z+Math.imul(X0,f0)|0,z=z+Math.imul(V0,x0)|0,C=C+Math.imul(V0,f0)|0,A=A+Math.imul(Y0,n0)|0,z=z+Math.imul(Y0,i0)|0,z=z+Math.imul(D0,n0)|0,C=C+Math.imul(D0,i0)|0,A=A+Math.imul(c,a0)|0,z=z+Math.imul(c,i)|0,z=z+Math.imul(n,a0)|0,C=C+Math.imul(n,i)|0,A=A+Math.imul(Z0,E0)|0,z=z+Math.imul(Z0,S0)|0,z=z+Math.imul(A0,E0)|0,C=C+Math.imul(A0,S0)|0,A=A+Math.imul(s,d0)|0,z=z+Math.imul(s,t0)|0,z=z+Math.imul(e,d0)|0,C=C+Math.imul(e,t0)|0,A=A+Math.imul(U0,X$)|0,z=z+Math.imul(U0,$$)|0,z=z+Math.imul(O0,X$)|0,C=C+Math.imul(O0,$$)|0,A=A+Math.imul(N,I$)|0,z=z+Math.imul(N,e0)|0,z=z+Math.imul(h,I$)|0,C=C+Math.imul(h,e0)|0;var pU=(j+A|0)+((z&8191)<<13)|0;j=(C+(z>>>13)|0)+(pU>>>26)|0,pU&=67108863,A=Math.imul(u0,m),z=Math.imul(u0,I0),z=z+Math.imul(h0,m)|0,C=Math.imul(h0,I0),A=A+Math.imul(p0,j0)|0,z=z+Math.imul(p0,N0)|0,z=z+Math.imul(c0,j0)|0,C=C+Math.imul(c0,N0)|0,A=A+Math.imul(M0,x0)|0,z=z+Math.imul(M0,f0)|0,z=z+Math.imul(v0,x0)|0,C=C+Math.imul(v0,f0)|0,A=A+Math.imul(X0,n0)|0,z=z+Math.imul(X0,i0)|0,z=z+Math.imul(V0,n0)|0,C=C+Math.imul(V0,i0)|0,A=A+Math.imul(Y0,a0)|0,z=z+Math.imul(Y0,i)|0,z=z+Math.imul(D0,a0)|0,C=C+Math.imul(D0,i)|0,A=A+Math.imul(c,E0)|0,z=z+Math.imul(c,S0)|0,z=z+Math.imul(n,E0)|0,C=C+Math.imul(n,S0)|0,A=A+Math.imul(Z0,d0)|0,z=z+Math.imul(Z0,t0)|0,z=z+Math.imul(A0,d0)|0,C=C+Math.imul(A0,t0)|0,A=A+Math.imul(s,X$)|0,z=z+Math.imul(s,$$)|0,z=z+Math.imul(e,X$)|0,C=C+Math.imul(e,$$)|0,A=A+Math.imul(U0,I$)|0,z=z+Math.imul(U0,e0)|0,z=z+Math.imul(O0,I$)|0,C=C+Math.imul(O0,e0)|0;var r$=(j+A|0)+((z&8191)<<13)|0;j=(C+(z>>>13)|0)+(r$>>>26)|0,r$&=67108863,A=Math.imul(u0,j0),z=Math.imul(u0,N0),z=z+Math.imul(h0,j0)|0,C=Math.imul(h0,N0),A=A+Math.imul(p0,x0)|0,z=z+Math.imul(p0,f0)|0,z=z+Math.imul(c0,x0)|0,C=C+Math.imul(c0,f0)|0,A=A+Math.imul(M0,n0)|0,z=z+Math.imul(M0,i0)|0,z=z+Math.imul(v0,n0)|0,C=C+Math.imul(v0,i0)|0,A=A+Math.imul(X0,a0)|0,z=z+Math.imul(X0,i)|0,z=z+Math.imul(V0,a0)|0,C=C+Math.imul(V0,i)|0,A=A+Math.imul(Y0,E0)|0,z=z+Math.imul(Y0,S0)|0,z=z+Math.imul(D0,E0)|0,C=C+Math.imul(D0,S0)|0,A=A+Math.imul(c,d0)|0,z=z+Math.imul(c,t0)|0,z=z+Math.imul(n,d0)|0,C=C+Math.imul(n,t0)|0,A=A+Math.imul(Z0,X$)|0,z=z+Math.imul(Z0,$$)|0,z=z+Math.imul(A0,X$)|0,C=C+Math.imul(A0,$$)|0,A=A+Math.imul(s,I$)|0,z=z+Math.imul(s,e0)|0,z=z+Math.imul(e,I$)|0,C=C+Math.imul(e,e0)|0;var LU=(j+A|0)+((z&8191)<<13)|0;j=(C+(z>>>13)|0)+(LU>>>26)|0,LU&=67108863,A=Math.imul(u0,x0),z=Math.imul(u0,f0),z=z+Math.imul(h0,x0)|0,C=Math.imul(h0,f0),A=A+Math.imul(p0,n0)|0,z=z+Math.imul(p0,i0)|0,z=z+Math.imul(c0,n0)|0,C=C+Math.imul(c0,i0)|0,A=A+Math.imul(M0,a0)|0,z=z+Math.imul(M0,i)|0,z=z+Math.imul(v0,a0)|0,C=C+Math.imul(v0,i)|0,A=A+Math.imul(X0,E0)|0,z=z+Math.imul(X0,S0)|0,z=z+Math.imul(V0,E0)|0,C=C+Math.imul(V0,S0)|0,A=A+Math.imul(Y0,d0)|0,z=z+Math.imul(Y0,t0)|0,z=z+Math.imul(D0,d0)|0,C=C+Math.imul(D0,t0)|0,A=A+Math.imul(c,X$)|0,z=z+Math.imul(c,$$)|0,z=z+Math.imul(n,X$)|0,C=C+Math.imul(n,$$)|0,A=A+Math.imul(Z0,I$)|0,z=z+Math.imul(Z0,e0)|0,z=z+Math.imul(A0,I$)|0,C=C+Math.imul(A0,e0)|0;var DU=(j+A|0)+((z&8191)<<13)|0;j=(C+(z>>>13)|0)+(DU>>>26)|0,DU&=67108863,A=Math.imul(u0,n0),z=Math.imul(u0,i0),z=z+Math.imul(h0,n0)|0,C=Math.imul(h0,i0),A=A+Math.imul(p0,a0)|0,z=z+Math.imul(p0,i)|0,z=z+Math.imul(c0,a0)|0,C=C+Math.imul(c0,i)|0,A=A+Math.imul(M0,E0)|0,z=z+Math.imul(M0,S0)|0,z=z+Math.imul(v0,E0)|0,C=C+Math.imul(v0,S0)|0,A=A+Math.imul(X0,d0)|0,z=z+Math.imul(X0,t0)|0,z=z+Math.imul(V0,d0)|0,C=C+Math.imul(V0,t0)|0,A=A+Math.imul(Y0,X$)|0,z=z+Math.imul(Y0,$$)|0,z=z+Math.imul(D0,X$)|0,C=C+Math.imul(D0,$$)|0,A=A+Math.imul(c,I$)|0,z=z+Math.imul(c,e0)|0,z=z+Math.imul(n,I$)|0,C=C+Math.imul(n,e0)|0;var mU=(j+A|0)+((z&8191)<<13)|0;j=(C+(z>>>13)|0)+(mU>>>26)|0,mU&=67108863,A=Math.imul(u0,a0),z=Math.imul(u0,i),z=z+Math.imul(h0,a0)|0,C=Math.imul(h0,i),A=A+Math.imul(p0,E0)|0,z=z+Math.imul(p0,S0)|0,z=z+Math.imul(c0,E0)|0,C=C+Math.imul(c0,S0)|0,A=A+Math.imul(M0,d0)|0,z=z+Math.imul(M0,t0)|0,z=z+Math.imul(v0,d0)|0,C=C+Math.imul(v0,t0)|0,A=A+Math.imul(X0,X$)|0,z=z+Math.imul(X0,$$)|0,z=z+Math.imul(V0,X$)|0,C=C+Math.imul(V0,$$)|0,A=A+Math.imul(Y0,I$)|0,z=z+Math.imul(Y0,e0)|0,z=z+Math.imul(D0,I$)|0,C=C+Math.imul(D0,e0)|0;var EU=(j+A|0)+((z&8191)<<13)|0;j=(C+(z>>>13)|0)+(EU>>>26)|0,EU&=67108863,A=Math.imul(u0,E0),z=Math.imul(u0,S0),z=z+Math.imul(h0,E0)|0,C=Math.imul(h0,S0),A=A+Math.imul(p0,d0)|0,z=z+Math.imul(p0,t0)|0,z=z+Math.imul(c0,d0)|0,C=C+Math.imul(c0,t0)|0,A=A+Math.imul(M0,X$)|0,z=z+Math.imul(M0,$$)|0,z=z+Math.imul(v0,X$)|0,C=C+Math.imul(v0,$$)|0,A=A+Math.imul(X0,I$)|0,z=z+Math.imul(X0,e0)|0,z=z+Math.imul(V0,I$)|0,C=C+Math.imul(V0,e0)|0;var NU=(j+A|0)+((z&8191)<<13)|0;j=(C+(z>>>13)|0)+(NU>>>26)|0,NU&=67108863,A=Math.imul(u0,d0),z=Math.imul(u0,t0),z=z+Math.imul(h0,d0)|0,C=Math.imul(h0,t0),A=A+Math.imul(p0,X$)|0,z=z+Math.imul(p0,$$)|0,z=z+Math.imul(c0,X$)|0,C=C+Math.imul(c0,$$)|0,A=A+Math.imul(M0,I$)|0,z=z+Math.imul(M0,e0)|0,z=z+Math.imul(v0,I$)|0,C=C+Math.imul(v0,e0)|0;var xU=(j+A|0)+((z&8191)<<13)|0;j=(C+(z>>>13)|0)+(xU>>>26)|0,xU&=67108863,A=Math.imul(u0,X$),z=Math.imul(u0,$$),z=z+Math.imul(h0,X$)|0,C=Math.imul(h0,$$),A=A+Math.imul(p0,I$)|0,z=z+Math.imul(p0,e0)|0,z=z+Math.imul(c0,I$)|0,C=C+Math.imul(c0,e0)|0;var RU=(j+A|0)+((z&8191)<<13)|0;j=(C+(z>>>13)|0)+(RU>>>26)|0,RU&=67108863,A=Math.imul(u0,I$),z=Math.imul(u0,e0),z=z+Math.imul(h0,I$)|0,C=Math.imul(h0,e0);var MU=(j+A|0)+((z&8191)<<13)|0;if(j=(C+(z>>>13)|0)+(MU>>>26)|0,MU&=67108863,P[0]=_U,P[1]=B$,P[2]=S$,P[3]=$U,P[4]=d$,P[5]=bU,P[6]=uU,P[7]=hU,P[8]=cU,P[9]=pU,P[10]=r$,P[11]=LU,P[12]=DU,P[13]=mU,P[14]=EU,P[15]=NU,P[16]=xU,P[17]=RU,P[18]=MU,j!==0)P[19]=j,H.length++;return H};if(!Math.imul)w=y;function u(G,K,H){H.negative=K.negative^G.negative,H.length=G.length+K.length;var D=0,F=0;for(var P=0;P<H.length-1;P++){var j=F;F=0;var A=D&67108863,z=Math.min(P,K.length-1);for(var C=Math.max(0,P-G.length+1);C<=z;C++){var g=P-C,N=G.words[g]|0,h=K.words[C]|0,r=N*h,U0=r&67108863;j=j+(r/67108864|0)|0,U0=U0+A|0,A=U0&67108863,j=j+(U0>>>26)|0,F+=j>>>26,j&=67108863}H.words[P]=A,D=j,j=F}if(D!==0)H.words[P]=D;else H.length--;return H.strip()}function x(G,K,H){var D=new b;return D.mulp(G,K,H)}Z.prototype.mulTo=function(G,K){var H,D=this.length+G.length;if(this.length===10&&G.length===10)H=w(this,G,K);else if(D<63)H=y(this,G,K);else if(D<1024)H=u(this,G,K);else H=x(this,G,K);return H};function b(G,K){this.x=G,this.y=K}b.prototype.makeRBT=function(G){var K=Array(G),H=Z.prototype._countBits(G)-1;for(var D=0;D<G;D++)K[D]=this.revBin(D,H,G);return K},b.prototype.revBin=function(G,K,H){if(G===0||G===H-1)return G;var D=0;for(var F=0;F<K;F++)D|=(G&1)<<K-F-1,G>>=1;return D},b.prototype.permute=function(G,K,H,D,F,P){for(var j=0;j<P;j++)D[j]=K[G[j]],F[j]=H[G[j]]},b.prototype.transform=function(G,K,H,D,F,P){this.permute(P,G,K,H,D,F);for(var j=1;j<F;j<<=1){var A=j<<1,z=Math.cos(2*Math.PI/A),C=Math.sin(2*Math.PI/A);for(var g=0;g<F;g+=A){var N=z,h=C;for(var r=0;r<j;r++){var U0=H[g+r],O0=D[g+r],Q0=H[g+r+j],s=D[g+r+j],e=N*Q0-h*s;if(s=N*s+h*Q0,Q0=e,H[g+r]=U0+Q0,D[g+r]=O0+s,H[g+r+j]=U0-Q0,D[g+r+j]=O0-s,r!==A)e=z*N-C*h,h=z*h+C*N,N=e}}}},b.prototype.guessLen13b=function(G,K){var H=Math.max(K,G)|1,D=H&1,F=0;for(H=H/2|0;H;H=H>>>1)F++;return 1<<F+1+D},b.prototype.conjugate=function(G,K,H){if(H<=1)return;for(var D=0;D<H/2;D++){var F=G[D];G[D]=G[H-D-1],G[H-D-1]=F,F=K[D],K[D]=-K[H-D-1],K[H-D-1]=-F}},b.prototype.normalize13b=function(G,K){var H=0;for(var D=0;D<K/2;D++){var F=Math.round(G[2*D+1]/K)*8192+Math.round(G[2*D]/K)+H;if(G[D]=F&67108863,F<67108864)H=0;else H=F/67108864|0}return G},b.prototype.convert13b=function(G,K,H,D){var F=0;for(var P=0;P<K;P++)F=F+(G[P]|0),H[2*P]=F&8191,F=F>>>13,H[2*P+1]=F&8191,F=F>>>13;for(P=2*K;P<D;++P)H[P]=0;I(F===0),I((F&-8192)===0)},b.prototype.stub=function(G){var K=Array(G);for(var H=0;H<G;H++)K[H]=0;return K},b.prototype.mulp=function(G,K,H){var D=2*this.guessLen13b(G.length,K.length),F=this.makeRBT(D),P=this.stub(D),j=Array(D),A=Array(D),z=Array(D),C=Array(D),g=Array(D),N=Array(D),h=H.words;h.length=D,this.convert13b(G.words,G.length,j,D),this.convert13b(K.words,K.length,C,D),this.transform(j,P,A,z,D,F),this.transform(C,P,g,N,D,F);for(var r=0;r<D;r++){var U0=A[r]*g[r]-z[r]*N[r];z[r]=A[r]*N[r]+z[r]*g[r],A[r]=U0}return this.conjugate(A,z,D),this.transform(A,z,h,P,D,F),this.conjugate(h,P,D),this.normalize13b(h,D),H.negative=G.negative^K.negative,H.length=G.length+K.length,H.strip()},Z.prototype.mul=function(G){var K=new Z(null);return K.words=Array(this.length+G.length),this.mulTo(G,K)},Z.prototype.mulf=function(G){var K=new Z(null);return K.words=Array(this.length+G.length),x(this,G,K)},Z.prototype.imul=function(G){return this.clone().mulTo(G,this)},Z.prototype.imuln=function(G){I(typeof G==="number"),I(G<67108864);var K=0;for(var H=0;H<this.length;H++){var D=(this.words[H]|0)*G,F=(D&67108863)+(K&67108863);K>>=26,K+=D/67108864|0,K+=F>>>26,this.words[H]=F&67108863}if(K!==0)this.words[H]=K,this.length++;return this.length=G===0?1:this.length,this},Z.prototype.muln=function(G){return this.clone().imuln(G)},Z.prototype.sqr=function(){return this.mul(this)},Z.prototype.isqr=function(){return this.imul(this.clone())},Z.prototype.pow=function(G){var K=q(G);if(K.length===0)return new Z(1);var H=this;for(var D=0;D<K.length;D++,H=H.sqr())if(K[D]!==0)break;if(++D<K.length)for(var F=H.sqr();D<K.length;D++,F=F.sqr()){if(K[D]===0)continue;H=H.mul(F)}return H},Z.prototype.iushln=function(G){I(typeof G==="number"&&G>=0);var K=G%26,H=(G-K)/26,D=67108863>>>26-K<<26-K,F;if(K!==0){var P=0;for(F=0;F<this.length;F++){var j=this.words[F]&D,A=(this.words[F]|0)-j<<K;this.words[F]=A|P,P=j>>>26-K}if(P)this.words[F]=P,this.length++}if(H!==0){for(F=this.length-1;F>=0;F--)this.words[F+H]=this.words[F];for(F=0;F<H;F++)this.words[F]=0;this.length+=H}return this.strip()},Z.prototype.ishln=function(G){return I(this.negative===0),this.iushln(G)},Z.prototype.iushrn=function(G,K,H){I(typeof G==="number"&&G>=0);var D;if(K)D=(K-K%26)/26;else D=0;var F=G%26,P=Math.min((G-F)/26,this.length),j=67108863^67108863>>>F<<F,A=H;if(D-=P,D=Math.max(0,D),A){for(var z=0;z<P;z++)A.words[z]=this.words[z];A.length=P}if(P===0);else if(this.length>P){this.length-=P;for(z=0;z<this.length;z++)this.words[z]=this.words[z+P]}else this.words[0]=0,this.length=1;var C=0;for(z=this.length-1;z>=0&&(C!==0||z>=D);z--){var g=this.words[z]|0;this.words[z]=C<<26-F|g>>>F,C=g&j}if(A&&C!==0)A.words[A.length++]=C;if(this.length===0)this.words[0]=0,this.length=1;return this.strip()},Z.prototype.ishrn=function(G,K,H){return I(this.negative===0),this.iushrn(G,K,H)},Z.prototype.shln=function(G){return this.clone().ishln(G)},Z.prototype.ushln=function(G){return this.clone().iushln(G)},Z.prototype.shrn=function(G){return this.clone().ishrn(G)},Z.prototype.ushrn=function(G){return this.clone().iushrn(G)},Z.prototype.testn=function(G){I(typeof G==="number"&&G>=0);var K=G%26,H=(G-K)/26,D=1<<K;if(this.length<=H)return!1;var F=this.words[H];return!!(F&D)},Z.prototype.imaskn=function(G){I(typeof G==="number"&&G>=0);var K=G%26,H=(G-K)/26;if(I(this.negative===0,"imaskn works only with positive numbers"),this.length<=H)return this;if(K!==0)H++;if(this.length=Math.min(H,this.length),K!==0){var D=67108863^67108863>>>K<<K;this.words[this.length-1]&=D}return this.strip()},Z.prototype.maskn=function(G){return this.clone().imaskn(G)},Z.prototype.iaddn=function(G){if(I(typeof G==="number"),I(G<67108864),G<0)return this.isubn(-G);if(this.negative!==0){if(this.length===1&&(this.words[0]|0)<G)return this.words[0]=G-(this.words[0]|0),this.negative=0,this;return this.negative=0,this.isubn(G),this.negative=1,this}return this._iaddn(G)},Z.prototype._iaddn=function(G){this.words[0]+=G;for(var K=0;K<this.length&&this.words[K]>=67108864;K++)if(this.words[K]-=67108864,K===this.length-1)this.words[K+1]=1;else this.words[K+1]++;return this.length=Math.max(this.length,K+1),this},Z.prototype.isubn=function(G){if(I(typeof G==="number"),I(G<67108864),G<0)return this.iaddn(-G);if(this.negative!==0)return this.negative=0,this.iaddn(G),this.negative=1,this;if(this.words[0]-=G,this.length===1&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var K=0;K<this.length&&this.words[K]<0;K++)this.words[K]+=67108864,this.words[K+1]-=1;return this.strip()},Z.prototype.addn=function(G){return this.clone().iaddn(G)},Z.prototype.subn=function(G){return this.clone().isubn(G)},Z.prototype.iabs=function(){return this.negative=0,this},Z.prototype.abs=function(){return this.clone().iabs()},Z.prototype._ishlnsubmul=function(G,K,H){var D=G.length+H,F;this._expand(D);var P,j=0;for(F=0;F<G.length;F++){P=(this.words[F+H]|0)+j;var A=(G.words[F]|0)*K;P-=A&67108863,j=(P>>26)-(A/67108864|0),this.words[F+H]=P&67108863}for(;F<this.length-H;F++)P=(this.words[F+H]|0)+j,j=P>>26,this.words[F+H]=P&67108863;if(j===0)return this.strip();I(j===-1),j=0;for(F=0;F<this.length;F++)P=-(this.words[F]|0)+j,j=P>>26,this.words[F]=P&67108863;return this.negative=1,this.strip()},Z.prototype._wordDiv=function(G,K){var H=this.length-G.length,D=this.clone(),F=G,P=F.words[F.length-1]|0,j=this._countBits(P);if(H=26-j,H!==0)F=F.ushln(H),D.iushln(H),P=F.words[F.length-1]|0;var A=D.length-F.length,z;if(K!=="mod"){z=new Z(null),z.length=A+1,z.words=Array(z.length);for(var C=0;C<z.length;C++)z.words[C]=0}var g=D.clone()._ishlnsubmul(F,1,A);if(g.negative===0){if(D=g,z)z.words[A]=1}for(var N=A-1;N>=0;N--){var h=(D.words[F.length+N]|0)*67108864+(D.words[F.length+N-1]|0);h=Math.min(h/P|0,67108863),D._ishlnsubmul(F,h,N);while(D.negative!==0)if(h--,D.negative=0,D._ishlnsubmul(F,1,N),!D.isZero())D.negative^=1;if(z)z.words[N]=h}if(z)z.strip();if(D.strip(),K!=="div"&&H!==0)D.iushrn(H);return{div:z||null,mod:D}},Z.prototype.divmod=function(G,K,H){if(I(!G.isZero()),this.isZero())return{div:new Z(0),mod:new Z(0)};var D,F,P;if(this.negative!==0&&G.negative===0){if(P=this.neg().divmod(G,K),K!=="mod")D=P.div.neg();if(K!=="div"){if(F=P.mod.neg(),H&&F.negative!==0)F.iadd(G)}return{div:D,mod:F}}if(this.negative===0&&G.negative!==0){if(P=this.divmod(G.neg(),K),K!=="mod")D=P.div.neg();return{div:D,mod:P.mod}}if((this.negative&G.negative)!==0){if(P=this.neg().divmod(G.neg(),K),K!=="div"){if(F=P.mod.neg(),H&&F.negative!==0)F.isub(G)}return{div:P.div,mod:F}}if(G.length>this.length||this.cmp(G)<0)return{div:new Z(0),mod:this};if(G.length===1){if(K==="div")return{div:this.divn(G.words[0]),mod:null};if(K==="mod")return{div:null,mod:new Z(this.modn(G.words[0]))};return{div:this.divn(G.words[0]),mod:new Z(this.modn(G.words[0]))}}return this._wordDiv(G,K)},Z.prototype.div=function(G){return this.divmod(G,"div",!1).div},Z.prototype.mod=function(G){return this.divmod(G,"mod",!1).mod},Z.prototype.umod=function(G){return this.divmod(G,"mod",!0).mod},Z.prototype.divRound=function(G){var K=this.divmod(G);if(K.mod.isZero())return K.div;var H=K.div.negative!==0?K.mod.isub(G):K.mod,D=G.ushrn(1),F=G.andln(1),P=H.cmp(D);if(P<0||F===1&&P===0)return K.div;return K.div.negative!==0?K.div.isubn(1):K.div.iaddn(1)},Z.prototype.modn=function(G){I(G<=67108863);var K=67108864%G,H=0;for(var D=this.length-1;D>=0;D--)H=(K*H+(this.words[D]|0))%G;return H},Z.prototype.idivn=function(G){I(G<=67108863);var K=0;for(var H=this.length-1;H>=0;H--){var D=(this.words[H]|0)+K*67108864;this.words[H]=D/G|0,K=D%G}return this.strip()},Z.prototype.divn=function(G){return this.clone().idivn(G)},Z.prototype.egcd=function(G){I(G.negative===0),I(!G.isZero());var K=this,H=G.clone();if(K.negative!==0)K=K.umod(G);else K=K.clone();var D=new Z(1),F=new Z(0),P=new Z(0),j=new Z(1),A=0;while(K.isEven()&&H.isEven())K.iushrn(1),H.iushrn(1),++A;var z=H.clone(),C=K.clone();while(!K.isZero()){for(var g=0,N=1;(K.words[0]&N)===0&&g<26;++g,N<<=1);if(g>0){K.iushrn(g);while(g-- >0){if(D.isOdd()||F.isOdd())D.iadd(z),F.isub(C);D.iushrn(1),F.iushrn(1)}}for(var h=0,r=1;(H.words[0]&r)===0&&h<26;++h,r<<=1);if(h>0){H.iushrn(h);while(h-- >0){if(P.isOdd()||j.isOdd())P.iadd(z),j.isub(C);P.iushrn(1),j.iushrn(1)}}if(K.cmp(H)>=0)K.isub(H),D.isub(P),F.isub(j);else H.isub(K),P.isub(D),j.isub(F)}return{a:P,b:j,gcd:H.iushln(A)}},Z.prototype._invmp=function(G){I(G.negative===0),I(!G.isZero());var K=this,H=G.clone();if(K.negative!==0)K=K.umod(G);else K=K.clone();var D=new Z(1),F=new Z(0),P=H.clone();while(K.cmpn(1)>0&&H.cmpn(1)>0){for(var j=0,A=1;(K.words[0]&A)===0&&j<26;++j,A<<=1);if(j>0){K.iushrn(j);while(j-- >0){if(D.isOdd())D.iadd(P);D.iushrn(1)}}for(var z=0,C=1;(H.words[0]&C)===0&&z<26;++z,C<<=1);if(z>0){H.iushrn(z);while(z-- >0){if(F.isOdd())F.iadd(P);F.iushrn(1)}}if(K.cmp(H)>=0)K.isub(H),D.isub(F);else H.isub(K),F.isub(D)}var g;if(K.cmpn(1)===0)g=D;else g=F;if(g.cmpn(0)<0)g.iadd(G);return g},Z.prototype.gcd=function(G){if(this.isZero())return G.abs();if(G.isZero())return this.abs();var K=this.clone(),H=G.clone();K.negative=0,H.negative=0;for(var D=0;K.isEven()&&H.isEven();D++)K.iushrn(1),H.iushrn(1);do{while(K.isEven())K.iushrn(1);while(H.isEven())H.iushrn(1);var F=K.cmp(H);if(F<0){var P=K;K=H,H=P}else if(F===0||H.cmpn(1)===0)break;K.isub(H)}while(!0);return H.iushln(D)},Z.prototype.invm=function(G){return this.egcd(G).a.umod(G)},Z.prototype.isEven=function(){return(this.words[0]&1)===0},Z.prototype.isOdd=function(){return(this.words[0]&1)===1},Z.prototype.andln=function(G){return this.words[0]&G},Z.prototype.bincn=function(G){I(typeof G==="number");var K=G%26,H=(G-K)/26,D=1<<K;if(this.length<=H)return this._expand(H+1),this.words[H]|=D,this;var F=D;for(var P=H;F!==0&&P<this.length;P++){var j=this.words[P]|0;j+=F,F=j>>>26,j&=67108863,this.words[P]=j}if(F!==0)this.words[P]=F,this.length++;return this},Z.prototype.isZero=function(){return this.length===1&&this.words[0]===0},Z.prototype.cmpn=function(G){var K=G<0;if(this.negative!==0&&!K)return-1;if(this.negative===0&&K)return 1;this.strip();var H;if(this.length>1)H=1;else{if(K)G=-G;I(G<=67108863,"Number is too big");var D=this.words[0]|0;H=D===G?0:D<G?-1:1}if(this.negative!==0)return-H|0;return H},Z.prototype.cmp=function(G){if(this.negative!==0&&G.negative===0)return-1;if(this.negative===0&&G.negative!==0)return 1;var K=this.ucmp(G);if(this.negative!==0)return-K|0;return K},Z.prototype.ucmp=function(G){if(this.length>G.length)return 1;if(this.length<G.length)return-1;var K=0;for(var H=this.length-1;H>=0;H--){var D=this.words[H]|0,F=G.words[H]|0;if(D===F)continue;if(D<F)K=-1;else if(D>F)K=1;break}return K},Z.prototype.gtn=function(G){return this.cmpn(G)===1},Z.prototype.gt=function(G){return this.cmp(G)===1},Z.prototype.gten=function(G){return this.cmpn(G)>=0},Z.prototype.gte=function(G){return this.cmp(G)>=0},Z.prototype.ltn=function(G){return this.cmpn(G)===-1},Z.prototype.lt=function(G){return this.cmp(G)===-1},Z.prototype.lten=function(G){return this.cmpn(G)<=0},Z.prototype.lte=function(G){return this.cmp(G)<=0},Z.prototype.eqn=function(G){return this.cmpn(G)===0},Z.prototype.eq=function(G){return this.cmp(G)===0},Z.red=function(G){return new t(G)},Z.prototype.toRed=function(G){return I(!this.red,"Already a number in reduction context"),I(this.negative===0,"red works only with positives"),G.convertTo(this)._forceRed(G)},Z.prototype.fromRed=function(){return I(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},Z.prototype._forceRed=function(G){return this.red=G,this},Z.prototype.forceRed=function(G){return I(!this.red,"Already a number in reduction context"),this._forceRed(G)},Z.prototype.redAdd=function(G){return I(this.red,"redAdd works only with red numbers"),this.red.add(this,G)},Z.prototype.redIAdd=function(G){return I(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,G)},Z.prototype.redSub=function(G){return I(this.red,"redSub works only with red numbers"),this.red.sub(this,G)},Z.prototype.redISub=function(G){return I(this.red,"redISub works only with red numbers"),this.red.isub(this,G)},Z.prototype.redShl=function(G){return I(this.red,"redShl works only with red numbers"),this.red.shl(this,G)},Z.prototype.redMul=function(G){return I(this.red,"redMul works only with red numbers"),this.red._verify2(this,G),this.red.mul(this,G)},Z.prototype.redIMul=function(G){return I(this.red,"redMul works only with red numbers"),this.red._verify2(this,G),this.red.imul(this,G)},Z.prototype.redSqr=function(){return I(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},Z.prototype.redISqr=function(){return I(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},Z.prototype.redSqrt=function(){return I(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},Z.prototype.redInvm=function(){return I(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},Z.prototype.redNeg=function(){return I(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},Z.prototype.redPow=function(G){return I(this.red&&!G.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,G)};var p={k256:null,p224:null,p192:null,p25519:null};function d(G,K){this.name=G,this.p=new Z(K,16),this.n=this.p.bitLength(),this.k=new Z(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}d.prototype._tmp=function(){var G=new Z(null);return G.words=Array(Math.ceil(this.n/13)),G},d.prototype.ireduce=function(G){var K=G,H;do this.split(K,this.tmp),K=this.imulK(K),K=K.iadd(this.tmp),H=K.bitLength();while(H>this.n);var D=H<this.n?-1:K.ucmp(this.p);if(D===0)K.words[0]=0,K.length=1;else if(D>0)K.isub(this.p);else if(K.strip!==void 0)K.strip();else K._strip();return K},d.prototype.split=function(G,K){G.iushrn(this.n,0,K)},d.prototype.imulK=function(G){return G.imul(this.k)};function a(){d.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}O(a,d),a.prototype.split=function(G,K){var H=4194303,D=Math.min(G.length,9);for(var F=0;F<D;F++)K.words[F]=G.words[F];if(K.length=D,G.length<=9){G.words[0]=0,G.length=1;return}var P=G.words[9];K.words[K.length++]=P&H;for(F=10;F<G.length;F++){var j=G.words[F]|0;G.words[F-10]=(j&H)<<4|P>>>22,P=j}if(P>>>=22,G.words[F-10]=P,P===0&&G.length>10)G.length-=10;else G.length-=9},a.prototype.imulK=function(G){G.words[G.length]=0,G.words[G.length+1]=0,G.length+=2;var K=0;for(var H=0;H<G.length;H++){var D=G.words[H]|0;K+=D*977,G.words[H]=K&67108863,K=D*64+(K/67108864|0)}if(G.words[G.length-1]===0){if(G.length--,G.words[G.length-1]===0)G.length--}return G};function F0(){d.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}O(F0,d);function L0(){d.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}O(L0,d);function R0(){d.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}O(R0,d),R0.prototype.imulK=function(G){var K=0;for(var H=0;H<G.length;H++){var D=(G.words[H]|0)*19+K,F=D&67108863;D>>>=26,G.words[H]=F,K=D}if(K!==0)G.words[G.length++]=K;return G},Z._prime=function(G){if(p[G])return p[G];var K;if(G==="k256")K=new a;else if(G==="p224")K=new F0;else if(G==="p192")K=new L0;else if(G==="p25519")K=new R0;else throw Error("Unknown prime "+G);return p[G]=K,K};function t(G){if(typeof G==="string"){var K=Z._prime(G);this.m=K.p,this.prime=K}else I(G.gtn(1),"modulus must be greater than 1"),this.m=G,this.prime=null}t.prototype._verify1=function(G){I(G.negative===0,"red works only with positives"),I(G.red,"red works only with red numbers")},t.prototype._verify2=function(G,K){I((G.negative|K.negative)===0,"red works only with positives"),I(G.red&&G.red===K.red,"red works only with red numbers")},t.prototype.imod=function(G){if(this.prime)return this.prime.ireduce(G)._forceRed(this);return G.umod(this.m)._forceRed(this)},t.prototype.neg=function(G){if(G.isZero())return G.clone();return this.m.sub(G)._forceRed(this)},t.prototype.add=function(G,K){this._verify2(G,K);var H=G.add(K);if(H.cmp(this.m)>=0)H.isub(this.m);return H._forceRed(this)},t.prototype.iadd=function(G,K){this._verify2(G,K);var H=G.iadd(K);if(H.cmp(this.m)>=0)H.isub(this.m);return H},t.prototype.sub=function(G,K){this._verify2(G,K);var H=G.sub(K);if(H.cmpn(0)<0)H.iadd(this.m);return H._forceRed(this)},t.prototype.isub=function(G,K){this._verify2(G,K);var H=G.isub(K);if(H.cmpn(0)<0)H.iadd(this.m);return H},t.prototype.shl=function(G,K){return this._verify1(G),this.imod(G.ushln(K))},t.prototype.imul=function(G,K){return this._verify2(G,K),this.imod(G.imul(K))},t.prototype.mul=function(G,K){return this._verify2(G,K),this.imod(G.mul(K))},t.prototype.isqr=function(G){return this.imul(G,G.clone())},t.prototype.sqr=function(G){return this.mul(G,G)},t.prototype.sqrt=function(G){if(G.isZero())return G.clone();var K=this.m.andln(3);if(I(K%2===1),K===3){var H=this.m.add(new Z(1)).iushrn(2);return this.pow(G,H)}var D=this.m.subn(1),F=0;while(!D.isZero()&&D.andln(1)===0)F++,D.iushrn(1);I(!D.isZero());var P=new Z(1).toRed(this),j=P.redNeg(),A=this.m.subn(1).iushrn(1),z=this.m.bitLength();z=new Z(2*z*z).toRed(this);while(this.pow(z,A).cmp(j)!==0)z.redIAdd(j);var C=this.pow(z,D),g=this.pow(G,D.addn(1).iushrn(1)),N=this.pow(G,D),h=F;while(N.cmp(P)!==0){var r=N;for(var U0=0;r.cmp(P)!==0;U0++)r=r.redSqr();I(U0<h);var O0=this.pow(C,new Z(1).iushln(h-U0-1));g=g.redMul(O0),C=O0.redSqr(),N=N.redMul(C),h=U0}return g},t.prototype.invm=function(G){var K=G._invmp(this.m);if(K.negative!==0)return K.negative=0,this.imod(K).redNeg();else return this.imod(K)},t.prototype.pow=function(G,K){if(K.isZero())return new Z(1).toRed(this);if(K.cmpn(1)===0)return G.clone();var H=4,D=Array(1<<H);D[0]=new Z(1).toRed(this),D[1]=G;for(var F=2;F<D.length;F++)D[F]=this.mul(D[F-1],G);var P=D[0],j=0,A=0,z=K.bitLength()%26;if(z===0)z=26;for(F=K.length-1;F>=0;F--){var C=K.words[F];for(var g=z-1;g>=0;g--){var N=C>>g&1;if(P!==D[0])P=this.sqr(P);if(N===0&&j===0){A=0;continue}if(j<<=1,j|=N,A++,A!==H&&(F!==0||g!==0))continue;P=this.mul(P,D[j]),A=0,j=0}z=26}return P},t.prototype.convertTo=function(G){var K=G.umod(this.m);return K===G?K.clone():K},t.prototype.convertFrom=function(G){var K=G.clone();return K.red=null,K},Z.mont=function(G){return new C0(G)};function C0(G){if(t.call(this,G),this.shift=this.m.bitLength(),this.shift%26!==0)this.shift+=26-this.shift%26;this.r=new Z(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}O(C0,t),C0.prototype.convertTo=function(G){return this.imod(G.ushln(this.shift))},C0.prototype.convertFrom=function(G){var K=this.imod(G.mul(this.rinv));return K.red=null,K},C0.prototype.imul=function(G,K){if(G.isZero()||K.isZero())return G.words[0]=0,G.length=1,G;var H=G.imul(K),D=H.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),F=H.isub(D).iushrn(this.shift),P=F;if(F.cmp(this.m)>=0)P=F.isub(this.m);else if(F.cmpn(0)<0)P=F.iadd(this.m);return P._forceRed(this)},C0.prototype.mul=function(G,K){if(G.isZero()||K.isZero())return new Z(0)._forceRed(this);var H=G.mul(K),D=H.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),F=H.isub(D).iushrn(this.shift),P=F;if(F.cmp(this.m)>=0)P=F.isub(this.m);else if(F.cmpn(0)<0)P=F.iadd(this.m);return P._forceRed(this)},C0.prototype.invm=function(G){var K=this.imod(G._invmp(this.m).mul(this.r2));return K._forceRed(this)}})(typeof J>"u"||J,X)}),II=b0((X,J)=>{J.exports=Y;function Y(V,I){if(!V)throw Error(I||"Assertion failed")}Y.equal=function(V,I,O){if(V!=I)throw Error(O||"Assertion failed: "+V+" != "+I)}}),dS=b0((X)=>{var J=X;function Y(O,Z){if(Array.isArray(O))return O.slice();if(!O)return[];var L=[];if(typeof O!=="string"){for(var B=0;B<O.length;B++)L[B]=O[B]|0;return L}if(Z==="hex"){if(O=O.replace(/[^a-z0-9]+/ig,""),O.length%2!==0)O="0"+O;for(var B=0;B<O.length;B+=2)L.push(parseInt(O[B]+O[B+1],16))}else for(var B=0;B<O.length;B++){var R=O.charCodeAt(B),S=R>>8,T=R&255;if(S)L.push(S,T);else L.push(T)}return L}J.toArray=Y;function V(O){if(O.length===1)return"0"+O;else return O}J.zero2=V;function I(O){var Z="";for(var L=0;L<O.length;L++)Z+=V(O[L].toString(16));return Z}J.toHex=I,J.encode=function(O,Z){if(Z==="hex")return I(O);else return O}}),y1=b0((X)=>{var J=X,Y=OX(),V=II(),I=dS();J.assert=V,J.toArray=I.toArray,J.zero2=I.zero2,J.toHex=I.toHex,J.encode=I.encode;function O(S,T,E){var v=Array(Math.max(S.bitLength(),E)+1),q;for(q=0;q<v.length;q+=1)v[q]=0;var y=1<<T+1,w=S.clone();for(q=0;q<v.length;q++){var u,x=w.andln(y-1);if(w.isOdd()){if(x>(y>>1)-1)u=(y>>1)-x;else u=x;w.isubn(u)}else u=0;v[q]=u,w.iushrn(1)}return v}J.getNAF=O;function Z(S,T){var E=[[],[]];S=S.clone(),T=T.clone();var v=0,q=0,y;while(S.cmpn(-v)>0||T.cmpn(-q)>0){var w=S.andln(3)+v&3,u=T.andln(3)+q&3;if(w===3)w=-1;if(u===3)u=-1;var x;if((w&1)===0)x=0;else if(y=S.andln(7)+v&7,(y===3||y===5)&&u===2)x=-w;else x=w;E[0].push(x);var b;if((u&1)===0)b=0;else if(y=T.andln(7)+q&7,(y===3||y===5)&&w===2)b=-u;else b=u;if(E[1].push(b),2*v===x+1)v=1-v;if(2*q===b+1)q=1-q;S.iushrn(1),T.iushrn(1)}return E}J.getJSF=Z;function L(S,T,E){var v="_"+T;S.prototype[T]=function(){return this[v]!==void 0?this[v]:this[v]=E.call(this)}}J.cachedProperty=L;function B(S){return typeof S==="string"?J.toArray(S,"hex"):S}J.parseBytes=B;function R(S){return new Y(S,"hex","le")}J.intFromLE=R}),nS=b0((X,J)=>{var Y;J.exports=function(O){if(!Y)Y=new V(null);return Y.generate(O)};function V(O){this.rand=O}if(J.exports.Rand=V,V.prototype.generate=function(O){return this._rand(O)},V.prototype._rand=function(O){if(this.rand.getBytes)return this.rand.getBytes(O);var Z=new Uint8Array(O);for(var L=0;L<Z.length;L++)Z[L]=this.rand.getByte();return Z},typeof self==="object"){if(self.crypto&&self.crypto.getRandomValues)V.prototype._rand=function(O){var Z=new Uint8Array(O);return self.crypto.getRandomValues(Z),Z};else if(self.msCrypto&&self.msCrypto.getRandomValues)V.prototype._rand=function(O){var Z=new Uint8Array(O);return self.msCrypto.getRandomValues(Z),Z};else if(typeof window==="object")V.prototype._rand=function(){throw Error("Not implemented yet")}}else try{if(I=(yU(),j$(L1)),typeof I.randomBytes!=="function")throw Error("Not supported");V.prototype._rand=function(O){return I.randomBytes(O)}}catch(O){}var I}),MO=b0((X,J)=>{var Y=OX(),V=y1(),I=V.getNAF,O=V.getJSF,Z=V.assert;function L(R,S){this.type=R,this.p=new Y(S.p,16),this.red=S.prime?Y.red(S.prime):Y.mont(this.p),this.zero=new Y(0).toRed(this.red),this.one=new Y(1).toRed(this.red),this.two=new Y(2).toRed(this.red),this.n=S.n&&new Y(S.n,16),this.g=S.g&&this.pointFromJSON(S.g,S.gRed),this._wnafT1=[,,,,],this._wnafT2=[,,,,],this._wnafT3=[,,,,],this._wnafT4=[,,,,],this._bitLength=this.n?this.n.bitLength():0;var T=this.n&&this.p.div(this.n);if(!T||T.cmpn(100)>0)this.redN=null;else this._maxwellTrick=!0,this.redN=this.n.toRed(this.red)}J.exports=L,L.prototype.point=function(){throw Error("Not implemented")},L.prototype.validate=function(){throw Error("Not implemented")},L.prototype._fixedNafMul=function(R,S){Z(R.precomputed);var T=R._getDoubles(),E=I(S,1,this._bitLength),v=(1<<T.step+1)-(T.step%2===0?2:1);v/=3;var q=[],y,w;for(y=0;y<E.length;y+=T.step){w=0;for(var u=y+T.step-1;u>=y;u--)w=(w<<1)+E[u];q.push(w)}var x=this.jpoint(null,null,null),b=this.jpoint(null,null,null);for(var p=v;p>0;p--){for(y=0;y<q.length;y++)if(w=q[y],w===p)b=b.mixedAdd(T.points[y]);else if(w===-p)b=b.mixedAdd(T.points[y].neg());x=x.add(b)}return x.toP()},L.prototype._wnafMul=function(R,S){var T=4,E=R._getNAFPoints(T);T=E.wnd;var v=E.points,q=I(S,T,this._bitLength),y=this.jpoint(null,null,null);for(var w=q.length-1;w>=0;w--){for(var u=0;w>=0&&q[w]===0;w--)u++;if(w>=0)u++;if(y=y.dblp(u),w<0)break;var x=q[w];if(Z(x!==0),R.type==="affine")if(x>0)y=y.mixedAdd(v[x-1>>1]);else y=y.mixedAdd(v[-x-1>>1].neg());else if(x>0)y=y.add(v[x-1>>1]);else y=y.add(v[-x-1>>1].neg())}return R.type==="affine"?y.toP():y},L.prototype._wnafMulAdd=function(R,S,T,E,v){var q=this._wnafT1,y=this._wnafT2,w=this._wnafT3,u=0,x,b,p;for(x=0;x<E;x++){p=S[x];var d=p._getNAFPoints(R);q[x]=d.wnd,y[x]=d.points}for(x=E-1;x>=1;x-=2){var a=x-1,F0=x;if(q[a]!==1||q[F0]!==1){w[a]=I(T[a],q[a],this._bitLength),w[F0]=I(T[F0],q[F0],this._bitLength),u=Math.max(w[a].length,u),u=Math.max(w[F0].length,u);continue}var L0=[S[a],null,null,S[F0]];if(S[a].y.cmp(S[F0].y)===0)L0[1]=S[a].add(S[F0]),L0[2]=S[a].toJ().mixedAdd(S[F0].neg());else if(S[a].y.cmp(S[F0].y.redNeg())===0)L0[1]=S[a].toJ().mixedAdd(S[F0]),L0[2]=S[a].add(S[F0].neg());else L0[1]=S[a].toJ().mixedAdd(S[F0]),L0[2]=S[a].toJ().mixedAdd(S[F0].neg());var R0=[-3,-1,-5,-7,0,7,5,1,3],t=O(T[a],T[F0]);u=Math.max(t[0].length,u),w[a]=Array(u),w[F0]=Array(u);for(b=0;b<u;b++){var C0=t[0][b]|0,G=t[1][b]|0;w[a][b]=R0[(C0+1)*3+(G+1)],w[F0][b]=0,y[a]=L0}}var K=this.jpoint(null,null,null),H=this._wnafT4;for(x=u;x>=0;x--){var D=0;while(x>=0){var F=!0;for(b=0;b<E;b++)if(H[b]=w[b][x]|0,H[b]!==0)F=!1;if(!F)break;D++,x--}if(x>=0)D++;if(K=K.dblp(D),x<0)break;for(b=0;b<E;b++){var P=H[b];if(P===0)continue;else if(P>0)p=y[b][P-1>>1];else if(P<0)p=y[b][-P-1>>1].neg();if(p.type==="affine")K=K.mixedAdd(p);else K=K.add(p)}}for(x=0;x<E;x++)y[x]=null;if(v)return K;else return K.toP()};function B(R,S){this.curve=R,this.type=S,this.precomputed=null}L.BasePoint=B,B.prototype.eq=function(){throw Error("Not implemented")},B.prototype.validate=function(){return this.curve.validate(this)},L.prototype.decodePoint=function(R,S){R=V.toArray(R,S);var T=this.p.byteLength();if((R[0]===4||R[0]===6||R[0]===7)&&R.length-1===2*T){if(R[0]===6)Z(R[R.length-1]%2===0);else if(R[0]===7)Z(R[R.length-1]%2===1);var E=this.point(R.slice(1,1+T),R.slice(1+T,1+2*T));return E}else if((R[0]===2||R[0]===3)&&R.length-1===T)return this.pointFromX(R.slice(1,1+T),R[0]===3);throw Error("Unknown point format")},B.prototype.encodeCompressed=function(R){return this.encode(R,!0)},B.prototype._encode=function(R){var S=this.curve.p.byteLength(),T=this.getX().toArray("be",S);if(R)return[this.getY().isEven()?2:3].concat(T);return[4].concat(T,this.getY().toArray("be",S))},B.prototype.encode=function(R,S){return V.encode(this._encode(S),R)},B.prototype.precompute=function(R){if(this.precomputed)return this;var S={doubles:null,naf:null,beta:null};return S.naf=this._getNAFPoints(8),S.doubles=this._getDoubles(4,R),S.beta=this._getBeta(),this.precomputed=S,this},B.prototype._hasDoubles=function(R){if(!this.precomputed)return!1;var S=this.precomputed.doubles;if(!S)return!1;return S.points.length>=Math.ceil((R.bitLength()+1)/S.step)},B.prototype._getDoubles=function(R,S){if(this.precomputed&&this.precomputed.doubles)return this.precomputed.doubles;var T=[this],E=this;for(var v=0;v<S;v+=R){for(var q=0;q<R;q++)E=E.dbl();T.push(E)}return{step:R,points:T}},B.prototype._getNAFPoints=function(R){if(this.precomputed&&this.precomputed.naf)return this.precomputed.naf;var S=[this],T=(1<<R)-1,E=T===1?null:this.dbl();for(var v=1;v<T;v++)S[v]=S[v-1].add(E);return{wnd:R,points:S}},B.prototype._getBeta=function(){return null},B.prototype.dblp=function(R){var S=this;for(var T=0;T<R;T++)S=S.dbl();return S}}),lw=b0((X,J)=>{if(typeof Object.create==="function")J.exports=function(Y,V){if(V)Y.super_=V,Y.prototype=Object.create(V.prototype,{constructor:{value:Y,enumerable:!1,writable:!0,configurable:!0}})};else J.exports=function(Y,V){if(V){Y.super_=V;var I=function(){};I.prototype=V.prototype,Y.prototype=new I,Y.prototype.constructor=Y}}}),F1=b0((X,J)=>{try{if(Y=(_Q(),j$(PQ)),typeof Y.inherits!=="function")throw"";J.exports=Y.inherits}catch(V){J.exports=lw()}var Y}),dw=b0((X,J)=>{var Y=y1(),V=OX(),I=F1(),O=MO(),Z=Y.assert;function L(S){O.call(this,"short",S),this.a=new V(S.a,16).toRed(this.red),this.b=new V(S.b,16).toRed(this.red),this.tinv=this.two.redInvm(),this.zeroA=this.a.fromRed().cmpn(0)===0,this.threeA=this.a.fromRed().sub(this.p).cmpn(-3)===0,this.endo=this._getEndomorphism(S),this._endoWnafT1=[,,,,],this._endoWnafT2=[,,,,]}I(L,O),J.exports=L,L.prototype._getEndomorphism=function(S){if(!this.zeroA||!this.g||!this.n||this.p.modn(3)!==1)return;var T,E;if(S.beta)T=new V(S.beta,16).toRed(this.red);else{var v=this._getEndoRoots(this.p);T=v[0].cmp(v[1])<0?v[0]:v[1],T=T.toRed(this.red)}if(S.lambda)E=new V(S.lambda,16);else{var q=this._getEndoRoots(this.n);if(this.g.mul(q[0]).x.cmp(this.g.x.redMul(T))===0)E=q[0];else E=q[1],Z(this.g.mul(E).x.cmp(this.g.x.redMul(T))===0)}var y;if(S.basis)y=S.basis.map(function(w){return{a:new V(w.a,16),b:new V(w.b,16)}});else y=this._getEndoBasis(E);return{beta:T,lambda:E,basis:y}},L.prototype._getEndoRoots=function(S){var T=S===this.p?this.red:V.mont(S),E=new V(2).toRed(T).redInvm(),v=E.redNeg(),q=new V(3).toRed(T).redNeg().redSqrt().redMul(E),y=v.redAdd(q).fromRed(),w=v.redSub(q).fromRed();return[y,w]},L.prototype._getEndoBasis=function(S){var T=this.n.ushrn(Math.floor(this.n.bitLength()/2)),E=S,v=this.n.clone(),q=new V(1),y=new V(0),w=new V(0),u=new V(1),x,b,p,d,a,F0,L0,R0=0,t,C0;while(E.cmpn(0)!==0){var G=v.div(E);t=v.sub(G.mul(E)),C0=w.sub(G.mul(q));var K=u.sub(G.mul(y));if(!p&&t.cmp(T)<0)x=L0.neg(),b=q,p=t.neg(),d=C0;else if(p&&++R0===2)break;L0=t,v=E,E=t,w=q,q=C0,u=y,y=K}a=t.neg(),F0=C0;var H=p.sqr().add(d.sqr()),D=a.sqr().add(F0.sqr());if(D.cmp(H)>=0)a=x,F0=b;if(p.negative)p=p.neg(),d=d.neg();if(a.negative)a=a.neg(),F0=F0.neg();return[{a:p,b:d},{a,b:F0}]},L.prototype._endoSplit=function(S){var T=this.endo.basis,E=T[0],v=T[1],q=v.b.mul(S).divRound(this.n),y=E.b.neg().mul(S).divRound(this.n),w=q.mul(E.a),u=y.mul(v.a),x=q.mul(E.b),b=y.mul(v.b),p=S.sub(w).sub(u),d=x.add(b).neg();return{k1:p,k2:d}},L.prototype.pointFromX=function(S,T){if(S=new V(S,16),!S.red)S=S.toRed(this.red);var E=S.redSqr().redMul(S).redIAdd(S.redMul(this.a)).redIAdd(this.b),v=E.redSqrt();if(v.redSqr().redSub(E).cmp(this.zero)!==0)throw Error("invalid point");var q=v.fromRed().isOdd();if(T&&!q||!T&&q)v=v.redNeg();return this.point(S,v)},L.prototype.validate=function(S){if(S.inf)return!0;var{x:T,y:E}=S,v=this.a.redMul(T),q=T.redSqr().redMul(T).redIAdd(v).redIAdd(this.b);return E.redSqr().redISub(q).cmpn(0)===0},L.prototype._endoWnafMulAdd=function(S,T,E){var v=this._endoWnafT1,q=this._endoWnafT2;for(var y=0;y<S.length;y++){var w=this._endoSplit(T[y]),u=S[y],x=u._getBeta();if(w.k1.negative)w.k1.ineg(),u=u.neg(!0);if(w.k2.negative)w.k2.ineg(),x=x.neg(!0);v[y*2]=u,v[y*2+1]=x,q[y*2]=w.k1,q[y*2+1]=w.k2}var b=this._wnafMulAdd(1,v,q,y*2,E);for(var p=0;p<y*2;p++)v[p]=null,q[p]=null;return b};function B(S,T,E,v){if(O.BasePoint.call(this,S,"affine"),T===null&&E===null)this.x=null,this.y=null,this.inf=!0;else{if(this.x=new V(T,16),this.y=new V(E,16),v)this.x.forceRed(this.curve.red),this.y.forceRed(this.curve.red);if(!this.x.red)this.x=this.x.toRed(this.curve.red);if(!this.y.red)this.y=this.y.toRed(this.curve.red);this.inf=!1}}I(B,O.BasePoint),L.prototype.point=function(S,T,E){return new B(this,S,T,E)},L.prototype.pointFromJSON=function(S,T){return B.fromJSON(this,S,T)},B.prototype._getBeta=function(){if(!this.curve.endo)return;var S=this.precomputed;if(S&&S.beta)return S.beta;var T=this.curve.point(this.x.redMul(this.curve.endo.beta),this.y);if(S){var E=this.curve,v=function(q){return E.point(q.x.redMul(E.endo.beta),q.y)};S.beta=T,T.precomputed={beta:null,naf:S.naf&&{wnd:S.naf.wnd,points:S.naf.points.map(v)},doubles:S.doubles&&{step:S.doubles.step,points:S.doubles.points.map(v)}}}return T},B.prototype.toJSON=function(){if(!this.precomputed)return[this.x,this.y];return[this.x,this.y,this.precomputed&&{doubles:this.precomputed.doubles&&{step:this.precomputed.doubles.step,points:this.precomputed.doubles.points.slice(1)},naf:this.precomputed.naf&&{wnd:this.precomputed.naf.wnd,points:this.precomputed.naf.points.slice(1)}}]},B.fromJSON=function(S,T,E){if(typeof T==="string")T=JSON.parse(T);var v=S.point(T[0],T[1],E);if(!T[2])return v;function q(w){return S.point(w[0],w[1],E)}var y=T[2];return v.precomputed={beta:null,doubles:y.doubles&&{step:y.doubles.step,points:[v].concat(y.doubles.points.map(q))},naf:y.naf&&{wnd:y.naf.wnd,points:[v].concat(y.naf.points.map(q))}},v},B.prototype.inspect=function(){if(this.isInfinity())return"<EC Point Infinity>";return"<EC Point x: "+this.x.fromRed().toString(16,2)+" y: "+this.y.fromRed().toString(16,2)+">"},B.prototype.isInfinity=function(){return this.inf},B.prototype.add=function(S){if(this.inf)return S;if(S.inf)return this;if(this.eq(S))return this.dbl();if(this.neg().eq(S))return this.curve.point(null,null);if(this.x.cmp(S.x)===0)return this.curve.point(null,null);var T=this.y.redSub(S.y);if(T.cmpn(0)!==0)T=T.redMul(this.x.redSub(S.x).redInvm());var E=T.redSqr().redISub(this.x).redISub(S.x),v=T.redMul(this.x.redSub(E)).redISub(this.y);return this.curve.point(E,v)},B.prototype.dbl=function(){if(this.inf)return this;var S=this.y.redAdd(this.y);if(S.cmpn(0)===0)return this.curve.point(null,null);var T=this.curve.a,E=this.x.redSqr(),v=S.redInvm(),q=E.redAdd(E).redIAdd(E).redIAdd(T).redMul(v),y=q.redSqr().redISub(this.x.redAdd(this.x)),w=q.redMul(this.x.redSub(y)).redISub(this.y);return this.curve.point(y,w)},B.prototype.getX=function(){return this.x.fromRed()},B.prototype.getY=function(){return this.y.fromRed()},B.prototype.mul=function(S){if(S=new V(S,16),this.isInfinity())return this;else if(this._hasDoubles(S))return this.curve._fixedNafMul(this,S);else if(this.curve.endo)return this.curve._endoWnafMulAdd([this],[S]);else return this.curve._wnafMul(this,S)},B.prototype.mulAdd=function(S,T,E){var v=[this,T],q=[S,E];if(this.curve.endo)return this.curve._endoWnafMulAdd(v,q);else return this.curve._wnafMulAdd(1,v,q,2)},B.prototype.jmulAdd=function(S,T,E){var v=[this,T],q=[S,E];if(this.curve.endo)return this.curve._endoWnafMulAdd(v,q,!0);else return this.curve._wnafMulAdd(1,v,q,2,!0)},B.prototype.eq=function(S){return this===S||this.inf===S.inf&&(this.inf||this.x.cmp(S.x)===0&&this.y.cmp(S.y)===0)},B.prototype.neg=function(S){if(this.inf)return this;var T=this.curve.point(this.x,this.y.redNeg());if(S&&this.precomputed){var E=this.precomputed,v=function(q){return q.neg()};T.precomputed={naf:E.naf&&{wnd:E.naf.wnd,points:E.naf.points.map(v)},doubles:E.doubles&&{step:E.doubles.step,points:E.doubles.points.map(v)}}}return T},B.prototype.toJ=function(){if(this.inf)return this.curve.jpoint(null,null,null);var S=this.curve.jpoint(this.x,this.y,this.curve.one);return S};function R(S,T,E,v){if(O.BasePoint.call(this,S,"jacobian"),T===null&&E===null&&v===null)this.x=this.curve.one,this.y=this.curve.one,this.z=new V(0);else this.x=new V(T,16),this.y=new V(E,16),this.z=new V(v,16);if(!this.x.red)this.x=this.x.toRed(this.curve.red);if(!this.y.red)this.y=this.y.toRed(this.curve.red);if(!this.z.red)this.z=this.z.toRed(this.curve.red);this.zOne=this.z===this.curve.one}I(R,O.BasePoint),L.prototype.jpoint=function(S,T,E){return new R(this,S,T,E)},R.prototype.toP=function(){if(this.isInfinity())return this.curve.point(null,null);var S=this.z.redInvm(),T=S.redSqr(),E=this.x.redMul(T),v=this.y.redMul(T).redMul(S);return this.curve.point(E,v)},R.prototype.neg=function(){return this.curve.jpoint(this.x,this.y.redNeg(),this.z)},R.prototype.add=function(S){if(this.isInfinity())return S;if(S.isInfinity())return this;var T=S.z.redSqr(),E=this.z.redSqr(),v=this.x.redMul(T),q=S.x.redMul(E),y=this.y.redMul(T.redMul(S.z)),w=S.y.redMul(E.redMul(this.z)),u=v.redSub(q),x=y.redSub(w);if(u.cmpn(0)===0)if(x.cmpn(0)!==0)return this.curve.jpoint(null,null,null);else return this.dbl();var b=u.redSqr(),p=b.redMul(u),d=v.redMul(b),a=x.redSqr().redIAdd(p).redISub(d).redISub(d),F0=x.redMul(d.redISub(a)).redISub(y.redMul(p)),L0=this.z.redMul(S.z).redMul(u);return this.curve.jpoint(a,F0,L0)},R.prototype.mixedAdd=function(S){if(this.isInfinity())return S.toJ();if(S.isInfinity())return this;var T=this.z.redSqr(),E=this.x,v=S.x.redMul(T),q=this.y,y=S.y.redMul(T).redMul(this.z),w=E.redSub(v),u=q.redSub(y);if(w.cmpn(0)===0)if(u.cmpn(0)!==0)return this.curve.jpoint(null,null,null);else return this.dbl();var x=w.redSqr(),b=x.redMul(w),p=E.redMul(x),d=u.redSqr().redIAdd(b).redISub(p).redISub(p),a=u.redMul(p.redISub(d)).redISub(q.redMul(b)),F0=this.z.redMul(w);return this.curve.jpoint(d,a,F0)},R.prototype.dblp=function(S){if(S===0)return this;if(this.isInfinity())return this;if(!S)return this.dbl();var T;if(this.curve.zeroA||this.curve.threeA){var E=this;for(T=0;T<S;T++)E=E.dbl();return E}var v=this.curve.a,q=this.curve.tinv,y=this.x,w=this.y,u=this.z,x=u.redSqr().redSqr(),b=w.redAdd(w);for(T=0;T<S;T++){var p=y.redSqr(),d=b.redSqr(),a=d.redSqr(),F0=p.redAdd(p).redIAdd(p).redIAdd(v.redMul(x)),L0=y.redMul(d),R0=F0.redSqr().redISub(L0.redAdd(L0)),t=L0.redISub(R0),C0=F0.redMul(t);C0=C0.redIAdd(C0).redISub(a);var G=b.redMul(u);if(T+1<S)x=x.redMul(a);y=R0,u=G,b=C0}return this.curve.jpoint(y,b.redMul(q),u)},R.prototype.dbl=function(){if(this.isInfinity())return this;if(this.curve.zeroA)return this._zeroDbl();else if(this.curve.threeA)return this._threeDbl();else return this._dbl()},R.prototype._zeroDbl=function(){var S,T,E;if(this.zOne){var v=this.x.redSqr(),q=this.y.redSqr(),y=q.redSqr(),w=this.x.redAdd(q).redSqr().redISub(v).redISub(y);w=w.redIAdd(w);var u=v.redAdd(v).redIAdd(v),x=u.redSqr().redISub(w).redISub(w),b=y.redIAdd(y);b=b.redIAdd(b),b=b.redIAdd(b),S=x,T=u.redMul(w.redISub(x)).redISub(b),E=this.y.redAdd(this.y)}else{var p=this.x.redSqr(),d=this.y.redSqr(),a=d.redSqr(),F0=this.x.redAdd(d).redSqr().redISub(p).redISub(a);F0=F0.redIAdd(F0);var L0=p.redAdd(p).redIAdd(p),R0=L0.redSqr(),t=a.redIAdd(a);t=t.redIAdd(t),t=t.redIAdd(t),S=R0.redISub(F0).redISub(F0),T=L0.redMul(F0.redISub(S)).redISub(t),E=this.y.redMul(this.z),E=E.redIAdd(E)}return this.curve.jpoint(S,T,E)},R.prototype._threeDbl=function(){var S,T,E;if(this.zOne){var v=this.x.redSqr(),q=this.y.redSqr(),y=q.redSqr(),w=this.x.redAdd(q).redSqr().redISub(v).redISub(y);w=w.redIAdd(w);var u=v.redAdd(v).redIAdd(v).redIAdd(this.curve.a),x=u.redSqr().redISub(w).redISub(w);S=x;var b=y.redIAdd(y);b=b.redIAdd(b),b=b.redIAdd(b),T=u.redMul(w.redISub(x)).redISub(b),E=this.y.redAdd(this.y)}else{var p=this.z.redSqr(),d=this.y.redSqr(),a=this.x.redMul(d),F0=this.x.redSub(p).redMul(this.x.redAdd(p));F0=F0.redAdd(F0).redIAdd(F0);var L0=a.redIAdd(a);L0=L0.redIAdd(L0);var R0=L0.redAdd(L0);S=F0.redSqr().redISub(R0),E=this.y.redAdd(this.z).redSqr().redISub(d).redISub(p);var t=d.redSqr();t=t.redIAdd(t),t=t.redIAdd(t),t=t.redIAdd(t),T=F0.redMul(L0.redISub(S)).redISub(t)}return this.curve.jpoint(S,T,E)},R.prototype._dbl=function(){var S=this.curve.a,T=this.x,E=this.y,v=this.z,q=v.redSqr().redSqr(),y=T.redSqr(),w=E.redSqr(),u=y.redAdd(y).redIAdd(y).redIAdd(S.redMul(q)),x=T.redAdd(T);x=x.redIAdd(x);var b=x.redMul(w),p=u.redSqr().redISub(b.redAdd(b)),d=b.redISub(p),a=w.redSqr();a=a.redIAdd(a),a=a.redIAdd(a),a=a.redIAdd(a);var F0=u.redMul(d).redISub(a),L0=E.redAdd(E).redMul(v);return this.curve.jpoint(p,F0,L0)},R.prototype.trpl=function(){if(!this.curve.zeroA)return this.dbl().add(this);var S=this.x.redSqr(),T=this.y.redSqr(),E=this.z.redSqr(),v=T.redSqr(),q=S.redAdd(S).redIAdd(S),y=q.redSqr(),w=this.x.redAdd(T).redSqr().redISub(S).redISub(v);w=w.redIAdd(w),w=w.redAdd(w).redIAdd(w),w=w.redISub(y);var u=w.redSqr(),x=v.redIAdd(v);x=x.redIAdd(x),x=x.redIAdd(x),x=x.redIAdd(x);var b=q.redIAdd(w).redSqr().redISub(y).redISub(u).redISub(x),p=T.redMul(b);p=p.redIAdd(p),p=p.redIAdd(p);var d=this.x.redMul(u).redISub(p);d=d.redIAdd(d),d=d.redIAdd(d);var a=this.y.redMul(b.redMul(x.redISub(b)).redISub(w.redMul(u)));a=a.redIAdd(a),a=a.redIAdd(a),a=a.redIAdd(a);var F0=this.z.redAdd(w).redSqr().redISub(E).redISub(u);return this.curve.jpoint(d,a,F0)},R.prototype.mul=function(S,T){return S=new V(S,T),this.curve._wnafMul(this,S)},R.prototype.eq=function(S){if(S.type==="affine")return this.eq(S.toJ());if(this===S)return!0;var T=this.z.redSqr(),E=S.z.redSqr();if(this.x.redMul(E).redISub(S.x.redMul(T)).cmpn(0)!==0)return!1;var v=T.redMul(this.z),q=E.redMul(S.z);return this.y.redMul(q).redISub(S.y.redMul(v)).cmpn(0)===0},R.prototype.eqXToP=function(S){var T=this.z.redSqr(),E=S.toRed(this.curve.red).redMul(T);if(this.x.cmp(E)===0)return!0;var v=S.clone(),q=this.curve.redN.redMul(T);for(;;){if(v.iadd(this.curve.n),v.cmp(this.curve.p)>=0)return!1;if(E.redIAdd(q),this.x.cmp(E)===0)return!0}},R.prototype.inspect=function(){if(this.isInfinity())return"<EC JPoint Infinity>";return"<EC JPoint x: "+this.x.toString(16,2)+" y: "+this.y.toString(16,2)+" z: "+this.z.toString(16,2)+">"},R.prototype.isInfinity=function(){return this.z.cmpn(0)===0}}),nw=b0((X,J)=>{var Y=OX(),V=F1(),I=MO(),O=y1();function Z(B){I.call(this,"mont",B),this.a=new Y(B.a,16).toRed(this.red),this.b=new Y(B.b,16).toRed(this.red),this.i4=new Y(4).toRed(this.red).redInvm(),this.two=new Y(2).toRed(this.red),this.a24=this.i4.redMul(this.a.redAdd(this.two))}V(Z,I),J.exports=Z,Z.prototype.validate=function(B){var R=B.normalize().x,S=R.redSqr(),T=S.redMul(R).redAdd(S.redMul(this.a)).redAdd(R),E=T.redSqrt();return E.redSqr().cmp(T)===0};function L(B,R,S){if(I.BasePoint.call(this,B,"projective"),R===null&&S===null)this.x=this.curve.one,this.z=this.curve.zero;else{if(this.x=new Y(R,16),this.z=new Y(S,16),!this.x.red)this.x=this.x.toRed(this.curve.red);if(!this.z.red)this.z=this.z.toRed(this.curve.red)}}V(L,I.BasePoint),Z.prototype.decodePoint=function(B,R){return this.point(O.toArray(B,R),1)},Z.prototype.point=function(B,R){return new L(this,B,R)},Z.prototype.pointFromJSON=function(B){return L.fromJSON(this,B)},L.prototype.precompute=function(){},L.prototype._encode=function(){return this.getX().toArray("be",this.curve.p.byteLength())},L.fromJSON=function(B,R){return new L(B,R[0],R[1]||B.one)},L.prototype.inspect=function(){if(this.isInfinity())return"<EC Point Infinity>";return"<EC Point x: "+this.x.fromRed().toString(16,2)+" z: "+this.z.fromRed().toString(16,2)+">"},L.prototype.isInfinity=function(){return this.z.cmpn(0)===0},L.prototype.dbl=function(){var B=this.x.redAdd(this.z),R=B.redSqr(),S=this.x.redSub(this.z),T=S.redSqr(),E=R.redSub(T),v=R.redMul(T),q=E.redMul(T.redAdd(this.curve.a24.redMul(E)));return this.curve.point(v,q)},L.prototype.add=function(){throw Error("Not supported on Montgomery curve")},L.prototype.diffAdd=function(B,R){var S=this.x.redAdd(this.z),T=this.x.redSub(this.z),E=B.x.redAdd(B.z),v=B.x.redSub(B.z),q=v.redMul(S),y=E.redMul(T),w=R.z.redMul(q.redAdd(y).redSqr()),u=R.x.redMul(q.redISub(y).redSqr());return this.curve.point(w,u)},L.prototype.mul=function(B){var R=B.clone(),S=this,T=this.curve.point(null,null),E=this;for(var v=[];R.cmpn(0)!==0;R.iushrn(1))v.push(R.andln(1));for(var q=v.length-1;q>=0;q--)if(v[q]===0)S=S.diffAdd(T,E),T=T.dbl();else T=S.diffAdd(T,E),S=S.dbl();return T},L.prototype.mulAdd=function(){throw Error("Not supported on Montgomery curve")},L.prototype.jumlAdd=function(){throw Error("Not supported on Montgomery curve")},L.prototype.eq=function(B){return this.getX().cmp(B.getX())===0},L.prototype.normalize=function(){return this.x=this.x.redMul(this.z.redInvm()),this.z=this.curve.one,this},L.prototype.getX=function(){return this.normalize(),this.x.fromRed()}}),ow=b0((X,J)=>{var Y=y1(),V=OX(),I=F1(),O=MO(),Z=Y.assert;function L(R){this.twisted=(R.a|0)!==1,this.mOneA=this.twisted&&(R.a|0)===-1,this.extended=this.mOneA,O.call(this,"edwards",R),this.a=new V(R.a,16).umod(this.red.m),this.a=this.a.toRed(this.red),this.c=new V(R.c,16).toRed(this.red),this.c2=this.c.redSqr(),this.d=new V(R.d,16).toRed(this.red),this.dd=this.d.redAdd(this.d),Z(!this.twisted||this.c.fromRed().cmpn(1)===0),this.oneC=(R.c|0)===1}I(L,O),J.exports=L,L.prototype._mulA=function(R){if(this.mOneA)return R.redNeg();else return this.a.redMul(R)},L.prototype._mulC=function(R){if(this.oneC)return R;else return this.c.redMul(R)},L.prototype.jpoint=function(R,S,T,E){return this.point(R,S,T,E)},L.prototype.pointFromX=function(R,S){if(R=new V(R,16),!R.red)R=R.toRed(this.red);var T=R.redSqr(),E=this.c2.redSub(this.a.redMul(T)),v=this.one.redSub(this.c2.redMul(this.d).redMul(T)),q=E.redMul(v.redInvm()),y=q.redSqrt();if(y.redSqr().redSub(q).cmp(this.zero)!==0)throw Error("invalid point");var w=y.fromRed().isOdd();if(S&&!w||!S&&w)y=y.redNeg();return this.point(R,y)},L.prototype.pointFromY=function(R,S){if(R=new V(R,16),!R.red)R=R.toRed(this.red);var T=R.redSqr(),E=T.redSub(this.c2),v=T.redMul(this.d).redMul(this.c2).redSub(this.a),q=E.redMul(v.redInvm());if(q.cmp(this.zero)===0)if(S)throw Error("invalid point");else return this.point(this.zero,R);var y=q.redSqrt();if(y.redSqr().redSub(q).cmp(this.zero)!==0)throw Error("invalid point");if(y.fromRed().isOdd()!==S)y=y.redNeg();return this.point(y,R)},L.prototype.validate=function(R){if(R.isInfinity())return!0;R.normalize();var S=R.x.redSqr(),T=R.y.redSqr(),E=S.redMul(this.a).redAdd(T),v=this.c2.redMul(this.one.redAdd(this.d.redMul(S).redMul(T)));return E.cmp(v)===0};function B(R,S,T,E,v){if(O.BasePoint.call(this,R,"projective"),S===null&&T===null&&E===null)this.x=this.curve.zero,this.y=this.curve.one,this.z=this.curve.one,this.t=this.curve.zero,this.zOne=!0;else{if(this.x=new V(S,16),this.y=new V(T,16),this.z=E?new V(E,16):this.curve.one,this.t=v&&new V(v,16),!this.x.red)this.x=this.x.toRed(this.curve.red);if(!this.y.red)this.y=this.y.toRed(this.curve.red);if(!this.z.red)this.z=this.z.toRed(this.curve.red);if(this.t&&!this.t.red)this.t=this.t.toRed(this.curve.red);if(this.zOne=this.z===this.curve.one,this.curve.extended&&!this.t){if(this.t=this.x.redMul(this.y),!this.zOne)this.t=this.t.redMul(this.z.redInvm())}}}I(B,O.BasePoint),L.prototype.pointFromJSON=function(R){return B.fromJSON(this,R)},L.prototype.point=function(R,S,T,E){return new B(this,R,S,T,E)},B.fromJSON=function(R,S){return new B(R,S[0],S[1],S[2])},B.prototype.inspect=function(){if(this.isInfinity())return"<EC Point Infinity>";return"<EC Point x: "+this.x.fromRed().toString(16,2)+" y: "+this.y.fromRed().toString(16,2)+" z: "+this.z.fromRed().toString(16,2)+">"},B.prototype.isInfinity=function(){return this.x.cmpn(0)===0&&(this.y.cmp(this.z)===0||this.zOne&&this.y.cmp(this.curve.c)===0)},B.prototype._extDbl=function(){var R=this.x.redSqr(),S=this.y.redSqr(),T=this.z.redSqr();T=T.redIAdd(T);var E=this.curve._mulA(R),v=this.x.redAdd(this.y).redSqr().redISub(R).redISub(S),q=E.redAdd(S),y=q.redSub(T),w=E.redSub(S),u=v.redMul(y),x=q.redMul(w),b=v.redMul(w),p=y.redMul(q);return this.curve.point(u,x,p,b)},B.prototype._projDbl=function(){var R=this.x.redAdd(this.y).redSqr(),S=this.x.redSqr(),T=this.y.redSqr(),E,v,q,y,w,u;if(this.curve.twisted){y=this.curve._mulA(S);var x=y.redAdd(T);if(this.zOne)E=R.redSub(S).redSub(T).redMul(x.redSub(this.curve.two)),v=x.redMul(y.redSub(T)),q=x.redSqr().redSub(x).redSub(x);else w=this.z.redSqr(),u=x.redSub(w).redISub(w),E=R.redSub(S).redISub(T).redMul(u),v=x.redMul(y.redSub(T)),q=x.redMul(u)}else y=S.redAdd(T),w=this.curve._mulC(this.z).redSqr(),u=y.redSub(w).redSub(w),E=this.curve._mulC(R.redISub(y)).redMul(u),v=this.curve._mulC(y).redMul(S.redISub(T)),q=y.redMul(u);return this.curve.point(E,v,q)},B.prototype.dbl=function(){if(this.isInfinity())return this;if(this.curve.extended)return this._extDbl();else return this._projDbl()},B.prototype._extAdd=function(R){var S=this.y.redSub(this.x).redMul(R.y.redSub(R.x)),T=this.y.redAdd(this.x).redMul(R.y.redAdd(R.x)),E=this.t.redMul(this.curve.dd).redMul(R.t),v=this.z.redMul(R.z.redAdd(R.z)),q=T.redSub(S),y=v.redSub(E),w=v.redAdd(E),u=T.redAdd(S),x=q.redMul(y),b=w.redMul(u),p=q.redMul(u),d=y.redMul(w);return this.curve.point(x,b,d,p)},B.prototype._projAdd=function(R){var S=this.z.redMul(R.z),T=S.redSqr(),E=this.x.redMul(R.x),v=this.y.redMul(R.y),q=this.curve.d.redMul(E).redMul(v),y=T.redSub(q),w=T.redAdd(q),u=this.x.redAdd(this.y).redMul(R.x.redAdd(R.y)).redISub(E).redISub(v),x=S.redMul(y).redMul(u),b,p;if(this.curve.twisted)b=S.redMul(w).redMul(v.redSub(this.curve._mulA(E))),p=y.redMul(w);else b=S.redMul(w).redMul(v.redSub(E)),p=this.curve._mulC(y).redMul(w);return this.curve.point(x,b,p)},B.prototype.add=function(R){if(this.isInfinity())return R;if(R.isInfinity())return this;if(this.curve.extended)return this._extAdd(R);else return this._projAdd(R)},B.prototype.mul=function(R){if(this._hasDoubles(R))return this.curve._fixedNafMul(this,R);else return this.curve._wnafMul(this,R)},B.prototype.mulAdd=function(R,S,T){return this.curve._wnafMulAdd(1,[this,S],[R,T],2,!1)},B.prototype.jmulAdd=function(R,S,T){return this.curve._wnafMulAdd(1,[this,S],[R,T],2,!0)},B.prototype.normalize=function(){if(this.zOne)return this;var R=this.z.redInvm();if(this.x=this.x.redMul(R),this.y=this.y.redMul(R),this.t)this.t=this.t.redMul(R);return this.z=this.curve.one,this.zOne=!0,this},B.prototype.neg=function(){return this.curve.point(this.x.redNeg(),this.y,this.z,this.t&&this.t.redNeg())},B.prototype.getX=function(){return this.normalize(),this.x.fromRed()},B.prototype.getY=function(){return this.normalize(),this.y.fromRed()},B.prototype.eq=function(R){return this===R||this.getX().cmp(R.getX())===0&&this.getY().cmp(R.getY())===0},B.prototype.eqXToP=function(R){var S=R.toRed(this.curve.red).redMul(this.z);if(this.x.cmp(S)===0)return!0;var T=R.clone(),E=this.curve.redN.redMul(this.z);for(;;){if(T.iadd(this.curve.n),T.cmp(this.curve.p)>=0)return!1;if(S.redIAdd(E),this.x.cmp(S)===0)return!0}},B.prototype.toP=B.prototype.normalize,B.prototype.mixedAdd=B.prototype.add}),oS=b0((X)=>{var J=X;J.base=MO(),J.short=dw(),J.mont=nw(),J.edwards=ow()}),B4=b0((X)=>{var J=II(),Y=F1();X.inherits=Y;function V(K,H){if((K.charCodeAt(H)&64512)!==55296)return!1;if(H<0||H+1>=K.length)return!1;return(K.charCodeAt(H+1)&64512)===56320}function I(K,H){if(Array.isArray(K))return K.slice();if(!K)return[];var D=[];if(typeof K==="string"){if(!H){var F=0;for(var P=0;P<K.length;P++){var j=K.charCodeAt(P);if(j<128)D[F++]=j;else if(j<2048)D[F++]=j>>6|192,D[F++]=j&63|128;else if(V(K,P))j=65536+((j&1023)<<10)+(K.charCodeAt(++P)&1023),D[F++]=j>>18|240,D[F++]=j>>12&63|128,D[F++]=j>>6&63|128,D[F++]=j&63|128;else D[F++]=j>>12|224,D[F++]=j>>6&63|128,D[F++]=j&63|128}}else if(H==="hex"){if(K=K.replace(/[^a-z0-9]+/ig,""),K.length%2!==0)K="0"+K;for(P=0;P<K.length;P+=2)D.push(parseInt(K[P]+K[P+1],16))}}else for(P=0;P<K.length;P++)D[P]=K[P]|0;return D}X.toArray=I;function O(K){var H="";for(var D=0;D<K.length;D++)H+=B(K[D].toString(16));return H}X.toHex=O;function Z(K){var H=K>>>24|K>>>8&65280|K<<8&16711680|(K&255)<<24;return H>>>0}X.htonl=Z;function L(K,H){var D="";for(var F=0;F<K.length;F++){var P=K[F];if(H==="little")P=Z(P);D+=R(P.toString(16))}return D}X.toHex32=L;function B(K){if(K.length===1)return"0"+K;else return K}X.zero2=B;function R(K){if(K.length===7)return"0"+K;else if(K.length===6)return"00"+K;else if(K.length===5)return"000"+K;else if(K.length===4)return"0000"+K;else if(K.length===3)return"00000"+K;else if(K.length===2)return"000000"+K;else if(K.length===1)return"0000000"+K;else return K}X.zero8=R;function S(K,H,D,F){var P=D-H;J(P%4===0);var j=Array(P/4);for(var A=0,z=H;A<j.length;A++,z+=4){var C;if(F==="big")C=K[z]<<24|K[z+1]<<16|K[z+2]<<8|K[z+3];else C=K[z+3]<<24|K[z+2]<<16|K[z+1]<<8|K[z];j[A]=C>>>0}return j}X.join32=S;function T(K,H){var D=Array(K.length*4);for(var F=0,P=0;F<K.length;F++,P+=4){var j=K[F];if(H==="big")D[P]=j>>>24,D[P+1]=j>>>16&255,D[P+2]=j>>>8&255,D[P+3]=j&255;else D[P+3]=j>>>24,D[P+2]=j>>>16&255,D[P+1]=j>>>8&255,D[P]=j&255}return D}X.split32=T;function E(K,H){return K>>>H|K<<32-H}X.rotr32=E;function v(K,H){return K<<H|K>>>32-H}X.rotl32=v;function q(K,H){return K+H>>>0}X.sum32=q;function y(K,H,D){return K+H+D>>>0}X.sum32_3=y;function w(K,H,D,F){return K+H+D+F>>>0}X.sum32_4=w;function u(K,H,D,F,P){return K+H+D+F+P>>>0}X.sum32_5=u;function x(K,H,D,F){var P=K[H],j=K[H+1],A=F+j>>>0,z=(A<F?1:0)+D+P;K[H]=z>>>0,K[H+1]=A}X.sum64=x;function b(K,H,D,F){var P=H+F>>>0,j=(P<H?1:0)+K+D;return j>>>0}X.sum64_hi=b;function p(K,H,D,F){var P=H+F;return P>>>0}X.sum64_lo=p;function d(K,H,D,F,P,j,A,z){var C=0,g=H;g=g+F>>>0,C+=g<H?1:0,g=g+j>>>0,C+=g<j?1:0,g=g+z>>>0,C+=g<z?1:0;var N=K+D+P+A+C;return N>>>0}X.sum64_4_hi=d;function a(K,H,D,F,P,j,A,z){var C=H+F+j+z;return C>>>0}X.sum64_4_lo=a;function F0(K,H,D,F,P,j,A,z,C,g){var N=0,h=H;h=h+F>>>0,N+=h<H?1:0,h=h+j>>>0,N+=h<j?1:0,h=h+z>>>0,N+=h<z?1:0,h=h+g>>>0,N+=h<g?1:0;var r=K+D+P+A+C+N;return r>>>0}X.sum64_5_hi=F0;function L0(K,H,D,F,P,j,A,z,C,g){var N=H+F+j+z+g;return N>>>0}X.sum64_5_lo=L0;function R0(K,H,D){var F=H<<32-D|K>>>D;return F>>>0}X.rotr64_hi=R0;function t(K,H,D){var F=K<<32-D|H>>>D;return F>>>0}X.rotr64_lo=t;function C0(K,H,D){return K>>>D}X.shr64_hi=C0;function G(K,H,D){var F=K<<32-D|H>>>D;return F>>>0}X.shr64_lo=G}),$2=b0((X)=>{var J=B4(),Y=II();function V(){this.pending=null,this.pendingTotal=0,this.blockSize=this.constructor.blockSize,this.outSize=this.constructor.outSize,this.hmacStrength=this.constructor.hmacStrength,this.padLength=this.constructor.padLength/8,this.endian="big",this._delta8=this.blockSize/8,this._delta32=this.blockSize/32}X.BlockHash=V,V.prototype.update=function(I,O){if(I=J.toArray(I,O),!this.pending)this.pending=I;else this.pending=this.pending.concat(I);if(this.pendingTotal+=I.length,this.pending.length>=this._delta8){I=this.pending;var Z=I.length%this._delta8;if(this.pending=I.slice(I.length-Z,I.length),this.pending.length===0)this.pending=null;I=J.join32(I,0,I.length-Z,this.endian);for(var L=0;L<I.length;L+=this._delta32)this._update(I,L,L+this._delta32)}return this},V.prototype.digest=function(I){return this.update(this._pad()),Y(this.pending===null),this._digest(I)},V.prototype._pad=function(){var I=this.pendingTotal,O=this._delta8,Z=O-(I+this.padLength)%O,L=Array(Z+this.padLength);L[0]=128;for(var B=1;B<Z;B++)L[B]=0;if(I<<=3,this.endian==="big"){for(var R=8;R<this.padLength;R++)L[B++]=0;L[B++]=0,L[B++]=0,L[B++]=0,L[B++]=0,L[B++]=I>>>24&255,L[B++]=I>>>16&255,L[B++]=I>>>8&255,L[B++]=I&255}else{L[B++]=I&255,L[B++]=I>>>8&255,L[B++]=I>>>16&255,L[B++]=I>>>24&255,L[B++]=0,L[B++]=0,L[B++]=0,L[B++]=0;for(R=8;R<this.padLength;R++)L[B++]=0}return L}}),iS=b0((X)=>{var J=B4(),Y=J.rotr32;function V(T,E,v,q){if(T===0)return I(E,v,q);if(T===1||T===3)return Z(E,v,q);if(T===2)return O(E,v,q)}X.ft_1=V;function I(T,E,v){return T&E^~T&v}X.ch32=I;function O(T,E,v){return T&E^T&v^E&v}X.maj32=O;function Z(T,E,v){return T^E^v}X.p32=Z;function L(T){return Y(T,2)^Y(T,13)^Y(T,22)}X.s0_256=L;function B(T){return Y(T,6)^Y(T,11)^Y(T,25)}X.s1_256=B;function R(T){return Y(T,7)^Y(T,18)^T>>>3}X.g0_256=R;function S(T){return Y(T,17)^Y(T,19)^T>>>10}X.g1_256=S}),iw=b0((X,J)=>{var Y=B4(),V=$2(),I=iS(),O=Y.rotl32,Z=Y.sum32,L=Y.sum32_5,B=I.ft_1,R=V.BlockHash,S=[1518500249,1859775393,2400959708,3395469782];function T(){if(!(this instanceof T))return new T;R.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.W=Array(80)}Y.inherits(T,R),J.exports=T,T.blockSize=512,T.outSize=160,T.hmacStrength=80,T.padLength=64,T.prototype._update=function(E,v){var q=this.W;for(var y=0;y<16;y++)q[y]=E[v+y];for(;y<q.length;y++)q[y]=O(q[y-3]^q[y-8]^q[y-14]^q[y-16],1);var w=this.h[0],u=this.h[1],x=this.h[2],b=this.h[3],p=this.h[4];for(y=0;y<q.length;y++){var d=~~(y/20),a=L(O(w,5),B(d,u,x,b),p,q[y],S[d]);p=b,b=x,x=O(u,30),u=w,w=a}this.h[0]=Z(this.h[0],w),this.h[1]=Z(this.h[1],u),this.h[2]=Z(this.h[2],x),this.h[3]=Z(this.h[3],b),this.h[4]=Z(this.h[4],p)},T.prototype._digest=function(E){if(E==="hex")return Y.toHex32(this.h,"big");else return Y.split32(this.h,"big")}}),rS=b0((X,J)=>{var Y=B4(),V=$2(),I=iS(),O=II(),Z=Y.sum32,L=Y.sum32_4,B=Y.sum32_5,R=I.ch32,S=I.maj32,T=I.s0_256,E=I.s1_256,v=I.g0_256,q=I.g1_256,y=V.BlockHash,w=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298];function u(){if(!(this instanceof u))return new u;y.call(this),this.h=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],this.k=w,this.W=Array(64)}Y.inherits(u,y),J.exports=u,u.blockSize=512,u.outSize=256,u.hmacStrength=192,u.padLength=64,u.prototype._update=function(x,b){var p=this.W;for(var d=0;d<16;d++)p[d]=x[b+d];for(;d<p.length;d++)p[d]=L(q(p[d-2]),p[d-7],v(p[d-15]),p[d-16]);var a=this.h[0],F0=this.h[1],L0=this.h[2],R0=this.h[3],t=this.h[4],C0=this.h[5],G=this.h[6],K=this.h[7];O(this.k.length===p.length);for(d=0;d<p.length;d++){var H=B(K,E(t),R(t,C0,G),this.k[d],p[d]),D=Z(T(a),S(a,F0,L0));K=G,G=C0,C0=t,t=Z(R0,H),R0=L0,L0=F0,F0=a,a=Z(H,D)}this.h[0]=Z(this.h[0],a),this.h[1]=Z(this.h[1],F0),this.h[2]=Z(this.h[2],L0),this.h[3]=Z(this.h[3],R0),this.h[4]=Z(this.h[4],t),this.h[5]=Z(this.h[5],C0),this.h[6]=Z(this.h[6],G),this.h[7]=Z(this.h[7],K)},u.prototype._digest=function(x){if(x==="hex")return Y.toHex32(this.h,"big");else return Y.split32(this.h,"big")}}),rw=b0((X,J)=>{var Y=B4(),V=rS();function I(){if(!(this instanceof I))return new I;V.call(this),this.h=[3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428]}Y.inherits(I,V),J.exports=I,I.blockSize=512,I.outSize=224,I.hmacStrength=192,I.padLength=64,I.prototype._digest=function(O){if(O==="hex")return Y.toHex32(this.h.slice(0,7),"big");else return Y.split32(this.h.slice(0,7),"big")}}),tS=b0((X,J)=>{var Y=B4(),V=$2(),I=II(),O=Y.rotr64_hi,Z=Y.rotr64_lo,L=Y.shr64_hi,B=Y.shr64_lo,R=Y.sum64,S=Y.sum64_hi,T=Y.sum64_lo,E=Y.sum64_4_hi,v=Y.sum64_4_lo,q=Y.sum64_5_hi,y=Y.sum64_5_lo,w=V.BlockHash,u=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591];function x(){if(!(this instanceof x))return new x;w.call(this),this.h=[1779033703,4089235720,3144134277,2227873595,1013904242,4271175723,2773480762,1595750129,1359893119,2917565137,2600822924,725511199,528734635,4215389547,1541459225,327033209],this.k=u,this.W=Array(160)}Y.inherits(x,w),J.exports=x,x.blockSize=1024,x.outSize=512,x.hmacStrength=192,x.padLength=128,x.prototype._prepareBlock=function(D,F){var P=this.W;for(var j=0;j<32;j++)P[j]=D[F+j];for(;j<P.length;j+=2){var A=K(P[j-4],P[j-3]),z=H(P[j-4],P[j-3]),C=P[j-14],g=P[j-13],N=C0(P[j-30],P[j-29]),h=G(P[j-30],P[j-29]),r=P[j-32],U0=P[j-31];P[j]=E(A,z,C,g,N,h,r,U0),P[j+1]=v(A,z,C,g,N,h,r,U0)}},x.prototype._update=function(D,F){this._prepareBlock(D,F);var P=this.W,j=this.h[0],A=this.h[1],z=this.h[2],C=this.h[3],g=this.h[4],N=this.h[5],h=this.h[6],r=this.h[7],U0=this.h[8],O0=this.h[9],Q0=this.h[10],s=this.h[11],e=this.h[12],J0=this.h[13],Z0=this.h[14],A0=this.h[15];I(this.k.length===P.length);for(var $0=0;$0<P.length;$0+=2){var c=Z0,n=A0,H0=R0(U0,O0),Y0=t(U0,O0),D0=b(U0,O0,Q0,s,e,J0),q0=p(U0,O0,Q0,s,e,J0),X0=this.k[$0],V0=this.k[$0+1],U$=P[$0],M0=P[$0+1],v0=q(c,n,H0,Y0,D0,q0,X0,V0,U$,M0),L$=y(c,n,H0,Y0,D0,q0,X0,V0,U$,M0);c=F0(j,A),n=L0(j,A),H0=d(j,A,z,C,g,N),Y0=a(j,A,z,C,g,N);var p0=S(c,n,H0,Y0),c0=T(c,n,H0,Y0);Z0=e,A0=J0,e=Q0,J0=s,Q0=U0,s=O0,U0=S(h,r,v0,L$),O0=T(r,r,v0,L$),h=g,r=N,g=z,N=C,z=j,C=A,j=S(v0,L$,p0,c0),A=T(v0,L$,p0,c0)}R(this.h,0,j,A),R(this.h,2,z,C),R(this.h,4,g,N),R(this.h,6,h,r),R(this.h,8,U0,O0),R(this.h,10,Q0,s),R(this.h,12,e,J0),R(this.h,14,Z0,A0)},x.prototype._digest=function(D){if(D==="hex")return Y.toHex32(this.h,"big");else return Y.split32(this.h,"big")};function b(D,F,P,j,A){var z=D&P^~D&A;if(z<0)z+=4294967296;return z}function p(D,F,P,j,A,z){var C=F&j^~F&z;if(C<0)C+=4294967296;return C}function d(D,F,P,j,A){var z=D&P^D&A^P&A;if(z<0)z+=4294967296;return z}function a(D,F,P,j,A,z){var C=F&j^F&z^j&z;if(C<0)C+=4294967296;return C}function F0(D,F){var P=O(D,F,28),j=O(F,D,2),A=O(F,D,7),z=P^j^A;if(z<0)z+=4294967296;return z}function L0(D,F){var P=Z(D,F,28),j=Z(F,D,2),A=Z(F,D,7),z=P^j^A;if(z<0)z+=4294967296;return z}function R0(D,F){var P=O(D,F,14),j=O(D,F,18),A=O(F,D,9),z=P^j^A;if(z<0)z+=4294967296;return z}function t(D,F){var P=Z(D,F,14),j=Z(D,F,18),A=Z(F,D,9),z=P^j^A;if(z<0)z+=4294967296;return z}function C0(D,F){var P=O(D,F,1),j=O(D,F,8),A=L(D,F,7),z=P^j^A;if(z<0)z+=4294967296;return z}function G(D,F){var P=Z(D,F,1),j=Z(D,F,8),A=B(D,F,7),z=P^j^A;if(z<0)z+=4294967296;return z}function K(D,F){var P=O(D,F,19),j=O(F,D,29),A=L(D,F,6),z=P^j^A;if(z<0)z+=4294967296;return z}function H(D,F){var P=Z(D,F,19),j=Z(F,D,29),A=B(D,F,6),z=P^j^A;if(z<0)z+=4294967296;return z}}),tw=b0((X,J)=>{var Y=B4(),V=tS();function I(){if(!(this instanceof I))return new I;V.call(this),this.h=[3418070365,3238371032,1654270250,914150663,2438529370,812702999,355462360,4144912697,1731405415,4290775857,2394180231,1750603025,3675008525,1694076839,1203062813,3204075428]}Y.inherits(I,V),J.exports=I,I.blockSize=1024,I.outSize=384,I.hmacStrength=192,I.padLength=128,I.prototype._digest=function(O){if(O==="hex")return Y.toHex32(this.h.slice(0,12),"big");else return Y.split32(this.h.slice(0,12),"big")}}),aw=b0((X)=>{X.sha1=iw(),X.sha224=rw(),X.sha256=rS(),X.sha384=tw(),X.sha512=tS()}),sw=b0((X)=>{var J=B4(),Y=$2(),V=J.rotl32,I=J.sum32,O=J.sum32_3,Z=J.sum32_4,L=Y.BlockHash;function B(){if(!(this instanceof B))return new B;L.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.endian="little"}J.inherits(B,L),X.ripemd160=B,B.blockSize=512,B.outSize=160,B.hmacStrength=192,B.padLength=64,B.prototype._update=function(w,u){var x=this.h[0],b=this.h[1],p=this.h[2],d=this.h[3],a=this.h[4],F0=x,L0=b,R0=p,t=d,C0=a;for(var G=0;G<80;G++){var K=I(V(Z(x,R(G,b,p,d),w[E[G]+u],S(G)),q[G]),a);x=a,a=d,d=V(p,10),p=b,b=K,K=I(V(Z(F0,R(79-G,L0,R0,t),w[v[G]+u],T(G)),y[G]),C0),F0=C0,C0=t,t=V(R0,10),R0=L0,L0=K}K=O(this.h[1],p,t),this.h[1]=O(this.h[2],d,C0),this.h[2]=O(this.h[3],a,F0),this.h[3]=O(this.h[4],x,L0),this.h[4]=O(this.h[0],b,R0),this.h[0]=K},B.prototype._digest=function(w){if(w==="hex")return J.toHex32(this.h,"little");else return J.split32(this.h,"little")};function R(w,u,x,b){if(w<=15)return u^x^b;else if(w<=31)return u&x|~u&b;else if(w<=47)return(u|~x)^b;else if(w<=63)return u&b|x&~b;else return u^(x|~b)}function S(w){if(w<=15)return 0;else if(w<=31)return 1518500249;else if(w<=47)return 1859775393;else if(w<=63)return 2400959708;else return 2840853838}function T(w){if(w<=15)return 1352829926;else if(w<=31)return 1548603684;else if(w<=47)return 1836072691;else if(w<=63)return 2053994217;else return 0}var E=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13],v=[5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11],q=[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6],y=[8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]}),ew=b0((X,J)=>{var Y=B4(),V=II();function I(O,Z,L){if(!(this instanceof I))return new I(O,Z,L);this.Hash=O,this.blockSize=O.blockSize/8,this.outSize=O.outSize/8,this.inner=null,this.outer=null,this._init(Y.toArray(Z,L))}J.exports=I,I.prototype._init=function(O){if(O.length>this.blockSize)O=new this.Hash().update(O).digest();V(O.length<=this.blockSize);for(var Z=O.length;Z<this.blockSize;Z++)O.push(0);for(Z=0;Z<O.length;Z++)O[Z]^=54;this.inner=new this.Hash().update(O);for(Z=0;Z<O.length;Z++)O[Z]^=106;this.outer=new this.Hash().update(O)},I.prototype.update=function(O,Z){return this.inner.update(O,Z),this},I.prototype.digest=function(O){return this.outer.update(this.inner.digest()),this.outer.digest(O)}}),D9=b0((X)=>{var J=X;J.utils=B4(),J.common=$2(),J.sha=aw(),J.ripemd=sw(),J.hmac=ew(),J.sha1=J.sha.sha1,J.sha256=J.sha.sha256,J.sha224=J.sha.sha224,J.sha384=J.sha.sha384,J.sha512=J.sha.sha512,J.ripemd160=J.ripemd.ripemd160}),$f=b0((X,J)=>{J.exports={doubles:{step:4,points:[["e60fce93b59e9ec53011aabc21c23e97b2a31369b87a5ae9c44ee89e2a6dec0a","f7e3507399e595929db99f34f57937101296891e44d23f0be1f32cce69616821"],["8282263212c609d9ea2a6e3e172de238d8c39cabd5ac1ca10646e23fd5f51508","11f8a8098557dfe45e8256e830b60ace62d613ac2f7b17bed31b6eaff6e26caf"],["175e159f728b865a72f99cc6c6fc846de0b93833fd2222ed73fce5b551e5b739","d3506e0d9e3c79eba4ef97a51ff71f5eacb5955add24345c6efa6ffee9fed695"],["363d90d447b00c9c99ceac05b6262ee053441c7e55552ffe526bad8f83ff4640","4e273adfc732221953b445397f3363145b9a89008199ecb62003c7f3bee9de9"],["8b4b5f165df3c2be8c6244b5b745638843e4a781a15bcd1b69f79a55dffdf80c","4aad0a6f68d308b4b3fbd7813ab0da04f9e336546162ee56b3eff0c65fd4fd36"],["723cbaa6e5db996d6bf771c00bd548c7b700dbffa6c0e77bcb6115925232fcda","96e867b5595cc498a921137488824d6e2660a0653779494801dc069d9eb39f5f"],["eebfa4d493bebf98ba5feec812c2d3b50947961237a919839a533eca0e7dd7fa","5d9a8ca3970ef0f269ee7edaf178089d9ae4cdc3a711f712ddfd4fdae1de8999"],["100f44da696e71672791d0a09b7bde459f1215a29b3c03bfefd7835b39a48db0","cdd9e13192a00b772ec8f3300c090666b7ff4a18ff5195ac0fbd5cd62bc65a09"],["e1031be262c7ed1b1dc9227a4a04c017a77f8d4464f3b3852c8acde6e534fd2d","9d7061928940405e6bb6a4176597535af292dd419e1ced79a44f18f29456a00d"],["feea6cae46d55b530ac2839f143bd7ec5cf8b266a41d6af52d5e688d9094696d","e57c6b6c97dce1bab06e4e12bf3ecd5c981c8957cc41442d3155debf18090088"],["da67a91d91049cdcb367be4be6ffca3cfeed657d808583de33fa978bc1ec6cb1","9bacaa35481642bc41f463f7ec9780e5dec7adc508f740a17e9ea8e27a68be1d"],["53904faa0b334cdda6e000935ef22151ec08d0f7bb11069f57545ccc1a37b7c0","5bc087d0bc80106d88c9eccac20d3c1c13999981e14434699dcb096b022771c8"],["8e7bcd0bd35983a7719cca7764ca906779b53a043a9b8bcaeff959f43ad86047","10b7770b2a3da4b3940310420ca9514579e88e2e47fd68b3ea10047e8460372a"],["385eed34c1cdff21e6d0818689b81bde71a7f4f18397e6690a841e1599c43862","283bebc3e8ea23f56701de19e9ebf4576b304eec2086dc8cc0458fe5542e5453"],["6f9d9b803ecf191637c73a4413dfa180fddf84a5947fbc9c606ed86c3fac3a7","7c80c68e603059ba69b8e2a30e45c4d47ea4dd2f5c281002d86890603a842160"],["3322d401243c4e2582a2147c104d6ecbf774d163db0f5e5313b7e0e742d0e6bd","56e70797e9664ef5bfb019bc4ddaf9b72805f63ea2873af624f3a2e96c28b2a0"],["85672c7d2de0b7da2bd1770d89665868741b3f9af7643397721d74d28134ab83","7c481b9b5b43b2eb6374049bfa62c2e5e77f17fcc5298f44c8e3094f790313a6"],["948bf809b1988a46b06c9f1919413b10f9226c60f668832ffd959af60c82a0a","53a562856dcb6646dc6b74c5d1c3418c6d4dff08c97cd2bed4cb7f88d8c8e589"],["6260ce7f461801c34f067ce0f02873a8f1b0e44dfc69752accecd819f38fd8e8","bc2da82b6fa5b571a7f09049776a1ef7ecd292238051c198c1a84e95b2b4ae17"],["e5037de0afc1d8d43d8348414bbf4103043ec8f575bfdc432953cc8d2037fa2d","4571534baa94d3b5f9f98d09fb990bddbd5f5b03ec481f10e0e5dc841d755bda"],["e06372b0f4a207adf5ea905e8f1771b4e7e8dbd1c6a6c5b725866a0ae4fce725","7a908974bce18cfe12a27bb2ad5a488cd7484a7787104870b27034f94eee31dd"],["213c7a715cd5d45358d0bbf9dc0ce02204b10bdde2a3f58540ad6908d0559754","4b6dad0b5ae462507013ad06245ba190bb4850f5f36a7eeddff2c27534b458f2"],["4e7c272a7af4b34e8dbb9352a5419a87e2838c70adc62cddf0cc3a3b08fbd53c","17749c766c9d0b18e16fd09f6def681b530b9614bff7dd33e0b3941817dcaae6"],["fea74e3dbe778b1b10f238ad61686aa5c76e3db2be43057632427e2840fb27b6","6e0568db9b0b13297cf674deccb6af93126b596b973f7b77701d3db7f23cb96f"],["76e64113f677cf0e10a2570d599968d31544e179b760432952c02a4417bdde39","c90ddf8dee4e95cf577066d70681f0d35e2a33d2b56d2032b4b1752d1901ac01"],["c738c56b03b2abe1e8281baa743f8f9a8f7cc643df26cbee3ab150242bcbb891","893fb578951ad2537f718f2eacbfbbbb82314eef7880cfe917e735d9699a84c3"],["d895626548b65b81e264c7637c972877d1d72e5f3a925014372e9f6588f6c14b","febfaa38f2bc7eae728ec60818c340eb03428d632bb067e179363ed75d7d991f"],["b8da94032a957518eb0f6433571e8761ceffc73693e84edd49150a564f676e03","2804dfa44805a1e4d7c99cc9762808b092cc584d95ff3b511488e4e74efdf6e7"],["e80fea14441fb33a7d8adab9475d7fab2019effb5156a792f1a11778e3c0df5d","eed1de7f638e00771e89768ca3ca94472d155e80af322ea9fcb4291b6ac9ec78"],["a301697bdfcd704313ba48e51d567543f2a182031efd6915ddc07bbcc4e16070","7370f91cfb67e4f5081809fa25d40f9b1735dbf7c0a11a130c0d1a041e177ea1"],["90ad85b389d6b936463f9d0512678de208cc330b11307fffab7ac63e3fb04ed4","e507a3620a38261affdcbd9427222b839aefabe1582894d991d4d48cb6ef150"],["8f68b9d2f63b5f339239c1ad981f162ee88c5678723ea3351b7b444c9ec4c0da","662a9f2dba063986de1d90c2b6be215dbbea2cfe95510bfdf23cbf79501fff82"],["e4f3fb0176af85d65ff99ff9198c36091f48e86503681e3e6686fd5053231e11","1e63633ad0ef4f1c1661a6d0ea02b7286cc7e74ec951d1c9822c38576feb73bc"],["8c00fa9b18ebf331eb961537a45a4266c7034f2f0d4e1d0716fb6eae20eae29e","efa47267fea521a1a9dc343a3736c974c2fadafa81e36c54e7d2a4c66702414b"],["e7a26ce69dd4829f3e10cec0a9e98ed3143d084f308b92c0997fddfc60cb3e41","2a758e300fa7984b471b006a1aafbb18d0a6b2c0420e83e20e8a9421cf2cfd51"],["b6459e0ee3662ec8d23540c223bcbdc571cbcb967d79424f3cf29eb3de6b80ef","67c876d06f3e06de1dadf16e5661db3c4b3ae6d48e35b2ff30bf0b61a71ba45"],["d68a80c8280bb840793234aa118f06231d6f1fc67e73c5a5deda0f5b496943e8","db8ba9fff4b586d00c4b1f9177b0e28b5b0e7b8f7845295a294c84266b133120"],["324aed7df65c804252dc0270907a30b09612aeb973449cea4095980fc28d3d5d","648a365774b61f2ff130c0c35aec1f4f19213b0c7e332843967224af96ab7c84"],["4df9c14919cde61f6d51dfdbe5fee5dceec4143ba8d1ca888e8bd373fd054c96","35ec51092d8728050974c23a1d85d4b5d506cdc288490192ebac06cad10d5d"],["9c3919a84a474870faed8a9c1cc66021523489054d7f0308cbfc99c8ac1f98cd","ddb84f0f4a4ddd57584f044bf260e641905326f76c64c8e6be7e5e03d4fc599d"],["6057170b1dd12fdf8de05f281d8e06bb91e1493a8b91d4cc5a21382120a959e5","9a1af0b26a6a4807add9a2daf71df262465152bc3ee24c65e899be932385a2a8"],["a576df8e23a08411421439a4518da31880cef0fba7d4df12b1a6973eecb94266","40a6bf20e76640b2c92b97afe58cd82c432e10a7f514d9f3ee8be11ae1b28ec8"],["7778a78c28dec3e30a05fe9629de8c38bb30d1f5cf9a3a208f763889be58ad71","34626d9ab5a5b22ff7098e12f2ff580087b38411ff24ac563b513fc1fd9f43ac"],["928955ee637a84463729fd30e7afd2ed5f96274e5ad7e5cb09eda9c06d903ac","c25621003d3f42a827b78a13093a95eeac3d26efa8a8d83fc5180e935bcd091f"],["85d0fef3ec6db109399064f3a0e3b2855645b4a907ad354527aae75163d82751","1f03648413a38c0be29d496e582cf5663e8751e96877331582c237a24eb1f962"],["ff2b0dce97eece97c1c9b6041798b85dfdfb6d8882da20308f5404824526087e","493d13fef524ba188af4c4dc54d07936c7b7ed6fb90e2ceb2c951e01f0c29907"],["827fbbe4b1e880ea9ed2b2e6301b212b57f1ee148cd6dd28780e5e2cf856e241","c60f9c923c727b0b71bef2c67d1d12687ff7a63186903166d605b68baec293ec"],["eaa649f21f51bdbae7be4ae34ce6e5217a58fdce7f47f9aa7f3b58fa2120e2b3","be3279ed5bbbb03ac69a80f89879aa5a01a6b965f13f7e59d47a5305ba5ad93d"],["e4a42d43c5cf169d9391df6decf42ee541b6d8f0c9a137401e23632dda34d24f","4d9f92e716d1c73526fc99ccfb8ad34ce886eedfa8d8e4f13a7f7131deba9414"],["1ec80fef360cbdd954160fadab352b6b92b53576a88fea4947173b9d4300bf19","aeefe93756b5340d2f3a4958a7abbf5e0146e77f6295a07b671cdc1cc107cefd"],["146a778c04670c2f91b00af4680dfa8bce3490717d58ba889ddb5928366642be","b318e0ec3354028add669827f9d4b2870aaa971d2f7e5ed1d0b297483d83efd0"],["fa50c0f61d22e5f07e3acebb1aa07b128d0012209a28b9776d76a8793180eef9","6b84c6922397eba9b72cd2872281a68a5e683293a57a213b38cd8d7d3f4f2811"],["da1d61d0ca721a11b1a5bf6b7d88e8421a288ab5d5bba5220e53d32b5f067ec2","8157f55a7c99306c79c0766161c91e2966a73899d279b48a655fba0f1ad836f1"],["a8e282ff0c9706907215ff98e8fd416615311de0446f1e062a73b0610d064e13","7f97355b8db81c09abfb7f3c5b2515888b679a3e50dd6bd6cef7c73111f4cc0c"],["174a53b9c9a285872d39e56e6913cab15d59b1fa512508c022f382de8319497c","ccc9dc37abfc9c1657b4155f2c47f9e6646b3a1d8cb9854383da13ac079afa73"],["959396981943785c3d3e57edf5018cdbe039e730e4918b3d884fdff09475b7ba","2e7e552888c331dd8ba0386a4b9cd6849c653f64c8709385e9b8abf87524f2fd"],["d2a63a50ae401e56d645a1153b109a8fcca0a43d561fba2dbb51340c9d82b151","e82d86fb6443fcb7565aee58b2948220a70f750af484ca52d4142174dcf89405"],["64587e2335471eb890ee7896d7cfdc866bacbdbd3839317b3436f9b45617e073","d99fcdd5bf6902e2ae96dd6447c299a185b90a39133aeab358299e5e9faf6589"],["8481bde0e4e4d885b3a546d3e549de042f0aa6cea250e7fd358d6c86dd45e458","38ee7b8cba5404dd84a25bf39cecb2ca900a79c42b262e556d64b1b59779057e"],["13464a57a78102aa62b6979ae817f4637ffcfed3c4b1ce30bcd6303f6caf666b","69be159004614580ef7e433453ccb0ca48f300a81d0942e13f495a907f6ecc27"],["bc4a9df5b713fe2e9aef430bcc1dc97a0cd9ccede2f28588cada3a0d2d83f366","d3a81ca6e785c06383937adf4b798caa6e8a9fbfa547b16d758d666581f33c1"],["8c28a97bf8298bc0d23d8c749452a32e694b65e30a9472a3954ab30fe5324caa","40a30463a3305193378fedf31f7cc0eb7ae784f0451cb9459e71dc73cbef9482"],["8ea9666139527a8c1dd94ce4f071fd23c8b350c5a4bb33748c4ba111faccae0","620efabbc8ee2782e24e7c0cfb95c5d735b783be9cf0f8e955af34a30e62b945"],["dd3625faef5ba06074669716bbd3788d89bdde815959968092f76cc4eb9a9787","7a188fa3520e30d461da2501045731ca941461982883395937f68d00c644a573"],["f710d79d9eb962297e4f6232b40e8f7feb2bc63814614d692c12de752408221e","ea98e67232d3b3295d3b535532115ccac8612c721851617526ae47a9c77bfc82"]]},naf:{wnd:7,points:[["f9308a019258c31049344f85f89d5229b531c845836f99b08601f113bce036f9","388f7b0f632de8140fe337e62a37f3566500a99934c2231b6cb9fd7584b8e672"],["2f8bde4d1a07209355b4a7250a5c5128e88b84bddc619ab7cba8d569b240efe4","d8ac222636e5e3d6d4dba9dda6c9c426f788271bab0d6840dca87d3aa6ac62d6"],["5cbdf0646e5db4eaa398f365f2ea7a0e3d419b7e0330e39ce92bddedcac4f9bc","6aebca40ba255960a3178d6d861a54dba813d0b813fde7b5a5082628087264da"],["acd484e2f0c7f65309ad178a9f559abde09796974c57e714c35f110dfc27ccbe","cc338921b0a7d9fd64380971763b61e9add888a4375f8e0f05cc262ac64f9c37"],["774ae7f858a9411e5ef4246b70c65aac5649980be5c17891bbec17895da008cb","d984a032eb6b5e190243dd56d7b7b365372db1e2dff9d6a8301d74c9c953c61b"],["f28773c2d975288bc7d1d205c3748651b075fbc6610e58cddeeddf8f19405aa8","ab0902e8d880a89758212eb65cdaf473a1a06da521fa91f29b5cb52db03ed81"],["d7924d4f7d43ea965a465ae3095ff41131e5946f3c85f79e44adbcf8e27e080e","581e2872a86c72a683842ec228cc6defea40af2bd896d3a5c504dc9ff6a26b58"],["defdea4cdb677750a420fee807eacf21eb9898ae79b9768766e4faa04a2d4a34","4211ab0694635168e997b0ead2a93daeced1f4a04a95c0f6cfb199f69e56eb77"],["2b4ea0a797a443d293ef5cff444f4979f06acfebd7e86d277475656138385b6c","85e89bc037945d93b343083b5a1c86131a01f60c50269763b570c854e5c09b7a"],["352bbf4a4cdd12564f93fa332ce333301d9ad40271f8107181340aef25be59d5","321eb4075348f534d59c18259dda3e1f4a1b3b2e71b1039c67bd3d8bcf81998c"],["2fa2104d6b38d11b0230010559879124e42ab8dfeff5ff29dc9cdadd4ecacc3f","2de1068295dd865b64569335bd5dd80181d70ecfc882648423ba76b532b7d67"],["9248279b09b4d68dab21a9b066edda83263c3d84e09572e269ca0cd7f5453714","73016f7bf234aade5d1aa71bdea2b1ff3fc0de2a887912ffe54a32ce97cb3402"],["daed4f2be3a8bf278e70132fb0beb7522f570e144bf615c07e996d443dee8729","a69dce4a7d6c98e8d4a1aca87ef8d7003f83c230f3afa726ab40e52290be1c55"],["c44d12c7065d812e8acf28d7cbb19f9011ecd9e9fdf281b0e6a3b5e87d22e7db","2119a460ce326cdc76c45926c982fdac0e106e861edf61c5a039063f0e0e6482"],["6a245bf6dc698504c89a20cfded60853152b695336c28063b61c65cbd269e6b4","e022cf42c2bd4a708b3f5126f16a24ad8b33ba48d0423b6efd5e6348100d8a82"],["1697ffa6fd9de627c077e3d2fe541084ce13300b0bec1146f95ae57f0d0bd6a5","b9c398f186806f5d27561506e4557433a2cf15009e498ae7adee9d63d01b2396"],["605bdb019981718b986d0f07e834cb0d9deb8360ffb7f61df982345ef27a7479","2972d2de4f8d20681a78d93ec96fe23c26bfae84fb14db43b01e1e9056b8c49"],["62d14dab4150bf497402fdc45a215e10dcb01c354959b10cfe31c7e9d87ff33d","80fc06bd8cc5b01098088a1950eed0db01aa132967ab472235f5642483b25eaf"],["80c60ad0040f27dade5b4b06c408e56b2c50e9f56b9b8b425e555c2f86308b6f","1c38303f1cc5c30f26e66bad7fe72f70a65eed4cbe7024eb1aa01f56430bd57a"],["7a9375ad6167ad54aa74c6348cc54d344cc5dc9487d847049d5eabb0fa03c8fb","d0e3fa9eca8726909559e0d79269046bdc59ea10c70ce2b02d499ec224dc7f7"],["d528ecd9b696b54c907a9ed045447a79bb408ec39b68df504bb51f459bc3ffc9","eecf41253136e5f99966f21881fd656ebc4345405c520dbc063465b521409933"],["49370a4b5f43412ea25f514e8ecdad05266115e4a7ecb1387231808f8b45963","758f3f41afd6ed428b3081b0512fd62a54c3f3afbb5b6764b653052a12949c9a"],["77f230936ee88cbbd73df930d64702ef881d811e0e1498e2f1c13eb1fc345d74","958ef42a7886b6400a08266e9ba1b37896c95330d97077cbbe8eb3c7671c60d6"],["f2dac991cc4ce4b9ea44887e5c7c0bce58c80074ab9d4dbaeb28531b7739f530","e0dedc9b3b2f8dad4da1f32dec2531df9eb5fbeb0598e4fd1a117dba703a3c37"],["463b3d9f662621fb1b4be8fbbe2520125a216cdfc9dae3debcba4850c690d45b","5ed430d78c296c3543114306dd8622d7c622e27c970a1de31cb377b01af7307e"],["f16f804244e46e2a09232d4aff3b59976b98fac14328a2d1a32496b49998f247","cedabd9b82203f7e13d206fcdf4e33d92a6c53c26e5cce26d6579962c4e31df6"],["caf754272dc84563b0352b7a14311af55d245315ace27c65369e15f7151d41d1","cb474660ef35f5f2a41b643fa5e460575f4fa9b7962232a5c32f908318a04476"],["2600ca4b282cb986f85d0f1709979d8b44a09c07cb86d7c124497bc86f082120","4119b88753c15bd6a693b03fcddbb45d5ac6be74ab5f0ef44b0be9475a7e4b40"],["7635ca72d7e8432c338ec53cd12220bc01c48685e24f7dc8c602a7746998e435","91b649609489d613d1d5e590f78e6d74ecfc061d57048bad9e76f302c5b9c61"],["754e3239f325570cdbbf4a87deee8a66b7f2b33479d468fbc1a50743bf56cc18","673fb86e5bda30fb3cd0ed304ea49a023ee33d0197a695d0c5d98093c536683"],["e3e6bd1071a1e96aff57859c82d570f0330800661d1c952f9fe2694691d9b9e8","59c9e0bba394e76f40c0aa58379a3cb6a5a2283993e90c4167002af4920e37f5"],["186b483d056a033826ae73d88f732985c4ccb1f32ba35f4b4cc47fdcf04aa6eb","3b952d32c67cf77e2e17446e204180ab21fb8090895138b4a4a797f86e80888b"],["df9d70a6b9876ce544c98561f4be4f725442e6d2b737d9c91a8321724ce0963f","55eb2dafd84d6ccd5f862b785dc39d4ab157222720ef9da217b8c45cf2ba2417"],["5edd5cc23c51e87a497ca815d5dce0f8ab52554f849ed8995de64c5f34ce7143","efae9c8dbc14130661e8cec030c89ad0c13c66c0d17a2905cdc706ab7399a868"],["290798c2b6476830da12fe02287e9e777aa3fba1c355b17a722d362f84614fba","e38da76dcd440621988d00bcf79af25d5b29c094db2a23146d003afd41943e7a"],["af3c423a95d9f5b3054754efa150ac39cd29552fe360257362dfdecef4053b45","f98a3fd831eb2b749a93b0e6f35cfb40c8cd5aa667a15581bc2feded498fd9c6"],["766dbb24d134e745cccaa28c99bf274906bb66b26dcf98df8d2fed50d884249a","744b1152eacbe5e38dcc887980da38b897584a65fa06cedd2c924f97cbac5996"],["59dbf46f8c94759ba21277c33784f41645f7b44f6c596a58ce92e666191abe3e","c534ad44175fbc300f4ea6ce648309a042ce739a7919798cd85e216c4a307f6e"],["f13ada95103c4537305e691e74e9a4a8dd647e711a95e73cb62dc6018cfd87b8","e13817b44ee14de663bf4bc808341f326949e21a6a75c2570778419bdaf5733d"],["7754b4fa0e8aced06d4167a2c59cca4cda1869c06ebadfb6488550015a88522c","30e93e864e669d82224b967c3020b8fa8d1e4e350b6cbcc537a48b57841163a2"],["948dcadf5990e048aa3874d46abef9d701858f95de8041d2a6828c99e2262519","e491a42537f6e597d5d28a3224b1bc25df9154efbd2ef1d2cbba2cae5347d57e"],["7962414450c76c1689c7b48f8202ec37fb224cf5ac0bfa1570328a8a3d7c77ab","100b610ec4ffb4760d5c1fc133ef6f6b12507a051f04ac5760afa5b29db83437"],["3514087834964b54b15b160644d915485a16977225b8847bb0dd085137ec47ca","ef0afbb2056205448e1652c48e8127fc6039e77c15c2378b7e7d15a0de293311"],["d3cc30ad6b483e4bc79ce2c9dd8bc54993e947eb8df787b442943d3f7b527eaf","8b378a22d827278d89c5e9be8f9508ae3c2ad46290358630afb34db04eede0a4"],["1624d84780732860ce1c78fcbfefe08b2b29823db913f6493975ba0ff4847610","68651cf9b6da903e0914448c6cd9d4ca896878f5282be4c8cc06e2a404078575"],["733ce80da955a8a26902c95633e62a985192474b5af207da6df7b4fd5fc61cd4","f5435a2bd2badf7d485a4d8b8db9fcce3e1ef8e0201e4578c54673bc1dc5ea1d"],["15d9441254945064cf1a1c33bbd3b49f8966c5092171e699ef258dfab81c045c","d56eb30b69463e7234f5137b73b84177434800bacebfc685fc37bbe9efe4070d"],["a1d0fcf2ec9de675b612136e5ce70d271c21417c9d2b8aaaac138599d0717940","edd77f50bcb5a3cab2e90737309667f2641462a54070f3d519212d39c197a629"],["e22fbe15c0af8ccc5780c0735f84dbe9a790badee8245c06c7ca37331cb36980","a855babad5cd60c88b430a69f53a1a7a38289154964799be43d06d77d31da06"],["311091dd9860e8e20ee13473c1155f5f69635e394704eaa74009452246cfa9b3","66db656f87d1f04fffd1f04788c06830871ec5a64feee685bd80f0b1286d8374"],["34c1fd04d301be89b31c0442d3e6ac24883928b45a9340781867d4232ec2dbdf","9414685e97b1b5954bd46f730174136d57f1ceeb487443dc5321857ba73abee"],["f219ea5d6b54701c1c14de5b557eb42a8d13f3abbcd08affcc2a5e6b049b8d63","4cb95957e83d40b0f73af4544cccf6b1f4b08d3c07b27fb8d8c2962a400766d1"],["d7b8740f74a8fbaab1f683db8f45de26543a5490bca627087236912469a0b448","fa77968128d9c92ee1010f337ad4717eff15db5ed3c049b3411e0315eaa4593b"],["32d31c222f8f6f0ef86f7c98d3a3335ead5bcd32abdd94289fe4d3091aa824bf","5f3032f5892156e39ccd3d7915b9e1da2e6dac9e6f26e961118d14b8462e1661"],["7461f371914ab32671045a155d9831ea8793d77cd59592c4340f86cbc18347b5","8ec0ba238b96bec0cbdddcae0aa442542eee1ff50c986ea6b39847b3cc092ff6"],["ee079adb1df1860074356a25aa38206a6d716b2c3e67453d287698bad7b2b2d6","8dc2412aafe3be5c4c5f37e0ecc5f9f6a446989af04c4e25ebaac479ec1c8c1e"],["16ec93e447ec83f0467b18302ee620f7e65de331874c9dc72bfd8616ba9da6b5","5e4631150e62fb40d0e8c2a7ca5804a39d58186a50e497139626778e25b0674d"],["eaa5f980c245f6f038978290afa70b6bd8855897f98b6aa485b96065d537bd99","f65f5d3e292c2e0819a528391c994624d784869d7e6ea67fb18041024edc07dc"],["78c9407544ac132692ee1910a02439958ae04877151342ea96c4b6b35a49f51","f3e0319169eb9b85d5404795539a5e68fa1fbd583c064d2462b675f194a3ddb4"],["494f4be219a1a77016dcd838431aea0001cdc8ae7a6fc688726578d9702857a5","42242a969283a5f339ba7f075e36ba2af925ce30d767ed6e55f4b031880d562c"],["a598a8030da6d86c6bc7f2f5144ea549d28211ea58faa70ebf4c1e665c1fe9b5","204b5d6f84822c307e4b4a7140737aec23fc63b65b35f86a10026dbd2d864e6b"],["c41916365abb2b5d09192f5f2dbeafec208f020f12570a184dbadc3e58595997","4f14351d0087efa49d245b328984989d5caf9450f34bfc0ed16e96b58fa9913"],["841d6063a586fa475a724604da03bc5b92a2e0d2e0a36acfe4c73a5514742881","73867f59c0659e81904f9a1c7543698e62562d6744c169ce7a36de01a8d6154"],["5e95bb399a6971d376026947f89bde2f282b33810928be4ded112ac4d70e20d5","39f23f366809085beebfc71181313775a99c9aed7d8ba38b161384c746012865"],["36e4641a53948fd476c39f8a99fd974e5ec07564b5315d8bf99471bca0ef2f66","d2424b1b1abe4eb8164227b085c9aa9456ea13493fd563e06fd51cf5694c78fc"],["336581ea7bfbbb290c191a2f507a41cf5643842170e914faeab27c2c579f726","ead12168595fe1be99252129b6e56b3391f7ab1410cd1e0ef3dcdcabd2fda224"],["8ab89816dadfd6b6a1f2634fcf00ec8403781025ed6890c4849742706bd43ede","6fdcef09f2f6d0a044e654aef624136f503d459c3e89845858a47a9129cdd24e"],["1e33f1a746c9c5778133344d9299fcaa20b0938e8acff2544bb40284b8c5fb94","60660257dd11b3aa9c8ed618d24edff2306d320f1d03010e33a7d2057f3b3b6"],["85b7c1dcb3cec1b7ee7f30ded79dd20a0ed1f4cc18cbcfcfa410361fd8f08f31","3d98a9cdd026dd43f39048f25a8847f4fcafad1895d7a633c6fed3c35e999511"],["29df9fbd8d9e46509275f4b125d6d45d7fbe9a3b878a7af872a2800661ac5f51","b4c4fe99c775a606e2d8862179139ffda61dc861c019e55cd2876eb2a27d84b"],["a0b1cae06b0a847a3fea6e671aaf8adfdfe58ca2f768105c8082b2e449fce252","ae434102edde0958ec4b19d917a6a28e6b72da1834aff0e650f049503a296cf2"],["4e8ceafb9b3e9a136dc7ff67e840295b499dfb3b2133e4ba113f2e4c0e121e5","cf2174118c8b6d7a4b48f6d534ce5c79422c086a63460502b827ce62a326683c"],["d24a44e047e19b6f5afb81c7ca2f69080a5076689a010919f42725c2b789a33b","6fb8d5591b466f8fc63db50f1c0f1c69013f996887b8244d2cdec417afea8fa3"],["ea01606a7a6c9cdd249fdfcfacb99584001edd28abbab77b5104e98e8e3b35d4","322af4908c7312b0cfbfe369f7a7b3cdb7d4494bc2823700cfd652188a3ea98d"],["af8addbf2b661c8a6c6328655eb96651252007d8c5ea31be4ad196de8ce2131f","6749e67c029b85f52a034eafd096836b2520818680e26ac8f3dfbcdb71749700"],["e3ae1974566ca06cc516d47e0fb165a674a3dabcfca15e722f0e3450f45889","2aeabe7e4531510116217f07bf4d07300de97e4874f81f533420a72eeb0bd6a4"],["591ee355313d99721cf6993ffed1e3e301993ff3ed258802075ea8ced397e246","b0ea558a113c30bea60fc4775460c7901ff0b053d25ca2bdeee98f1a4be5d196"],["11396d55fda54c49f19aa97318d8da61fa8584e47b084945077cf03255b52984","998c74a8cd45ac01289d5833a7beb4744ff536b01b257be4c5767bea93ea57a4"],["3c5d2a1ba39c5a1790000738c9e0c40b8dcdfd5468754b6405540157e017aa7a","b2284279995a34e2f9d4de7396fc18b80f9b8b9fdd270f6661f79ca4c81bd257"],["cc8704b8a60a0defa3a99a7299f2e9c3fbc395afb04ac078425ef8a1793cc030","bdd46039feed17881d1e0862db347f8cf395b74fc4bcdc4e940b74e3ac1f1b13"],["c533e4f7ea8555aacd9777ac5cad29b97dd4defccc53ee7ea204119b2889b197","6f0a256bc5efdf429a2fb6242f1a43a2d9b925bb4a4b3a26bb8e0f45eb596096"],["c14f8f2ccb27d6f109f6d08d03cc96a69ba8c34eec07bbcf566d48e33da6593","c359d6923bb398f7fd4473e16fe1c28475b740dd098075e6c0e8649113dc3a38"],["a6cbc3046bc6a450bac24789fa17115a4c9739ed75f8f21ce441f72e0b90e6ef","21ae7f4680e889bb130619e2c0f95a360ceb573c70603139862afd617fa9b9f"],["347d6d9a02c48927ebfb86c1359b1caf130a3c0267d11ce6344b39f99d43cc38","60ea7f61a353524d1c987f6ecec92f086d565ab687870cb12689ff1e31c74448"],["da6545d2181db8d983f7dcb375ef5866d47c67b1bf31c8cf855ef7437b72656a","49b96715ab6878a79e78f07ce5680c5d6673051b4935bd897fea824b77dc208a"],["c40747cc9d012cb1a13b8148309c6de7ec25d6945d657146b9d5994b8feb1111","5ca560753be2a12fc6de6caf2cb489565db936156b9514e1bb5e83037e0fa2d4"],["4e42c8ec82c99798ccf3a610be870e78338c7f713348bd34c8203ef4037f3502","7571d74ee5e0fb92a7a8b33a07783341a5492144cc54bcc40a94473693606437"],["3775ab7089bc6af823aba2e1af70b236d251cadb0c86743287522a1b3b0dedea","be52d107bcfa09d8bcb9736a828cfa7fac8db17bf7a76a2c42ad961409018cf7"],["cee31cbf7e34ec379d94fb814d3d775ad954595d1314ba8846959e3e82f74e26","8fd64a14c06b589c26b947ae2bcf6bfa0149ef0be14ed4d80f448a01c43b1c6d"],["b4f9eaea09b6917619f6ea6a4eb5464efddb58fd45b1ebefcdc1a01d08b47986","39e5c9925b5a54b07433a4f18c61726f8bb131c012ca542eb24a8ac07200682a"],["d4263dfc3d2df923a0179a48966d30ce84e2515afc3dccc1b77907792ebcc60e","62dfaf07a0f78feb30e30d6295853ce189e127760ad6cf7fae164e122a208d54"],["48457524820fa65a4f8d35eb6930857c0032acc0a4a2de422233eeda897612c4","25a748ab367979d98733c38a1fa1c2e7dc6cc07db2d60a9ae7a76aaa49bd0f77"],["dfeeef1881101f2cb11644f3a2afdfc2045e19919152923f367a1767c11cceda","ecfb7056cf1de042f9420bab396793c0c390bde74b4bbdff16a83ae09a9a7517"],["6d7ef6b17543f8373c573f44e1f389835d89bcbc6062ced36c82df83b8fae859","cd450ec335438986dfefa10c57fea9bcc521a0959b2d80bbf74b190dca712d10"],["e75605d59102a5a2684500d3b991f2e3f3c88b93225547035af25af66e04541f","f5c54754a8f71ee540b9b48728473e314f729ac5308b06938360990e2bfad125"],["eb98660f4c4dfaa06a2be453d5020bc99a0c2e60abe388457dd43fefb1ed620c","6cb9a8876d9cb8520609af3add26cd20a0a7cd8a9411131ce85f44100099223e"],["13e87b027d8514d35939f2e6892b19922154596941888336dc3563e3b8dba942","fef5a3c68059a6dec5d624114bf1e91aac2b9da568d6abeb2570d55646b8adf1"],["ee163026e9fd6fe017c38f06a5be6fc125424b371ce2708e7bf4491691e5764a","1acb250f255dd61c43d94ccc670d0f58f49ae3fa15b96623e5430da0ad6c62b2"],["b268f5ef9ad51e4d78de3a750c2dc89b1e626d43505867999932e5db33af3d80","5f310d4b3c99b9ebb19f77d41c1dee018cf0d34fd4191614003e945a1216e423"],["ff07f3118a9df035e9fad85eb6c7bfe42b02f01ca99ceea3bf7ffdba93c4750d","438136d603e858a3a5c440c38eccbaddc1d2942114e2eddd4740d098ced1f0d8"],["8d8b9855c7c052a34146fd20ffb658bea4b9f69e0d825ebec16e8c3ce2b526a1","cdb559eedc2d79f926baf44fb84ea4d44bcf50fee51d7ceb30e2e7f463036758"],["52db0b5384dfbf05bfa9d472d7ae26dfe4b851ceca91b1eba54263180da32b63","c3b997d050ee5d423ebaf66a6db9f57b3180c902875679de924b69d84a7b375"],["e62f9490d3d51da6395efd24e80919cc7d0f29c3f3fa48c6fff543becbd43352","6d89ad7ba4876b0b22c2ca280c682862f342c8591f1daf5170e07bfd9ccafa7d"],["7f30ea2476b399b4957509c88f77d0191afa2ff5cb7b14fd6d8e7d65aaab1193","ca5ef7d4b231c94c3b15389a5f6311e9daff7bb67b103e9880ef4bff637acaec"],["5098ff1e1d9f14fb46a210fada6c903fef0fb7b4a1dd1d9ac60a0361800b7a00","9731141d81fc8f8084d37c6e7542006b3ee1b40d60dfe5362a5b132fd17ddc0"],["32b78c7de9ee512a72895be6b9cbefa6e2f3c4ccce445c96b9f2c81e2778ad58","ee1849f513df71e32efc3896ee28260c73bb80547ae2275ba497237794c8753c"],["e2cb74fddc8e9fbcd076eef2a7c72b0ce37d50f08269dfc074b581550547a4f7","d3aa2ed71c9dd2247a62df062736eb0baddea9e36122d2be8641abcb005cc4a4"],["8438447566d4d7bedadc299496ab357426009a35f235cb141be0d99cd10ae3a8","c4e1020916980a4da5d01ac5e6ad330734ef0d7906631c4f2390426b2edd791f"],["4162d488b89402039b584c6fc6c308870587d9c46f660b878ab65c82c711d67e","67163e903236289f776f22c25fb8a3afc1732f2b84b4e95dbda47ae5a0852649"],["3fad3fa84caf0f34f0f89bfd2dcf54fc175d767aec3e50684f3ba4a4bf5f683d","cd1bc7cb6cc407bb2f0ca647c718a730cf71872e7d0d2a53fa20efcdfe61826"],["674f2600a3007a00568c1a7ce05d0816c1fb84bf1370798f1c69532faeb1a86b","299d21f9413f33b3edf43b257004580b70db57da0b182259e09eecc69e0d38a5"],["d32f4da54ade74abb81b815ad1fb3b263d82d6c692714bcff87d29bd5ee9f08f","f9429e738b8e53b968e99016c059707782e14f4535359d582fc416910b3eea87"],["30e4e670435385556e593657135845d36fbb6931f72b08cb1ed954f1e3ce3ff6","462f9bce619898638499350113bbc9b10a878d35da70740dc695a559eb88db7b"],["be2062003c51cc3004682904330e4dee7f3dcd10b01e580bf1971b04d4cad297","62188bc49d61e5428573d48a74e1c655b1c61090905682a0d5558ed72dccb9bc"],["93144423ace3451ed29e0fb9ac2af211cb6e84a601df5993c419859fff5df04a","7c10dfb164c3425f5c71a3f9d7992038f1065224f72bb9d1d902a6d13037b47c"],["b015f8044f5fcbdcf21ca26d6c34fb8197829205c7b7d2a7cb66418c157b112c","ab8c1e086d04e813744a655b2df8d5f83b3cdc6faa3088c1d3aea1454e3a1d5f"],["d5e9e1da649d97d89e4868117a465a3a4f8a18de57a140d36b3f2af341a21b52","4cb04437f391ed73111a13cc1d4dd0db1693465c2240480d8955e8592f27447a"],["d3ae41047dd7ca065dbf8ed77b992439983005cd72e16d6f996a5316d36966bb","bd1aeb21ad22ebb22a10f0303417c6d964f8cdd7df0aca614b10dc14d125ac46"],["463e2763d885f958fc66cdd22800f0a487197d0a82e377b49f80af87c897b065","bfefacdb0e5d0fd7df3a311a94de062b26b80c61fbc97508b79992671ef7ca7f"],["7985fdfd127c0567c6f53ec1bb63ec3158e597c40bfe747c83cddfc910641917","603c12daf3d9862ef2b25fe1de289aed24ed291e0ec6708703a5bd567f32ed03"],["74a1ad6b5f76e39db2dd249410eac7f99e74c59cb83d2d0ed5ff1543da7703e9","cc6157ef18c9c63cd6193d83631bbea0093e0968942e8c33d5737fd790e0db08"],["30682a50703375f602d416664ba19b7fc9bab42c72747463a71d0896b22f6da3","553e04f6b018b4fa6c8f39e7f311d3176290d0e0f19ca73f17714d9977a22ff8"],["9e2158f0d7c0d5f26c3791efefa79597654e7a2b2464f52b1ee6c1347769ef57","712fcdd1b9053f09003a3481fa7762e9ffd7c8ef35a38509e2fbf2629008373"],["176e26989a43c9cfeba4029c202538c28172e566e3c4fce7322857f3be327d66","ed8cc9d04b29eb877d270b4878dc43c19aefd31f4eee09ee7b47834c1fa4b1c3"],["75d46efea3771e6e68abb89a13ad747ecf1892393dfc4f1b7004788c50374da8","9852390a99507679fd0b86fd2b39a868d7efc22151346e1a3ca4726586a6bed8"],["809a20c67d64900ffb698c4c825f6d5f2310fb0451c869345b7319f645605721","9e994980d9917e22b76b061927fa04143d096ccc54963e6a5ebfa5f3f8e286c1"],["1b38903a43f7f114ed4500b4eac7083fdefece1cf29c63528d563446f972c180","4036edc931a60ae889353f77fd53de4a2708b26b6f5da72ad3394119daf408f9"]]}}}),K9=b0((X)=>{var J=X,Y=D9(),V=oS(),I=y1(),O=I.assert;function Z(R){if(R.type==="short")this.curve=new V.short(R);else if(R.type==="edwards")this.curve=new V.edwards(R);else this.curve=new V.mont(R);this.g=this.curve.g,this.n=this.curve.n,this.hash=R.hash,O(this.g.validate(),"Invalid curve"),O(this.g.mul(this.n).isInfinity(),"Invalid curve, G*N != O")}J.PresetCurve=Z;function L(R,S){Object.defineProperty(J,R,{configurable:!0,enumerable:!0,get:function(){var T=new Z(S);return Object.defineProperty(J,R,{configurable:!0,enumerable:!0,value:T}),T}})}L("p192",{type:"short",prime:"p192",p:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff",a:"ffffffff ffffffff ffffffff fffffffe ffffffff fffffffc",b:"64210519 e59c80e7 0fa7e9ab 72243049 feb8deec c146b9b1",n:"ffffffff ffffffff ffffffff 99def836 146bc9b1 b4d22831",hash:Y.sha256,gRed:!1,g:["188da80e b03090f6 7cbf20eb 43a18800 f4ff0afd 82ff1012","07192b95 ffc8da78 631011ed 6b24cdd5 73f977a1 1e794811"]}),L("p224",{type:"short",prime:"p224",p:"ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001",a:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff fffffffe",b:"b4050a85 0c04b3ab f5413256 5044b0b7 d7bfd8ba 270b3943 2355ffb4",n:"ffffffff ffffffff ffffffff ffff16a2 e0b8f03e 13dd2945 5c5c2a3d",hash:Y.sha256,gRed:!1,g:["b70e0cbd 6bb4bf7f 321390b9 4a03c1d3 56c21122 343280d6 115c1d21","bd376388 b5f723fb 4c22dfe6 cd4375a0 5a074764 44d58199 85007e34"]}),L("p256",{type:"short",prime:null,p:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff ffffffff",a:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff fffffffc",b:"5ac635d8 aa3a93e7 b3ebbd55 769886bc 651d06b0 cc53b0f6 3bce3c3e 27d2604b",n:"ffffffff 00000000 ffffffff ffffffff bce6faad a7179e84 f3b9cac2 fc632551",hash:Y.sha256,gRed:!1,g:["6b17d1f2 e12c4247 f8bce6e5 63a440f2 77037d81 2deb33a0 f4a13945 d898c296","4fe342e2 fe1a7f9b 8ee7eb4a 7c0f9e16 2bce3357 6b315ece cbb64068 37bf51f5"]}),L("p384",{type:"short",prime:null,p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 ffffffff",a:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 fffffffc",b:"b3312fa7 e23ee7e4 988e056b e3f82d19 181d9c6e fe814112 0314088f 5013875a c656398d 8a2ed19d 2a85c8ed d3ec2aef",n:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff c7634d81 f4372ddf 581a0db2 48b0a77a ecec196a ccc52973",hash:Y.sha384,gRed:!1,g:["aa87ca22 be8b0537 8eb1c71e f320ad74 6e1d3b62 8ba79b98 59f741e0 82542a38 5502f25d bf55296c 3a545e38 72760ab7","3617de4a 96262c6f 5d9e98bf 9292dc29 f8f41dbd 289a147c e9da3113 b5f0b8c0 0a60b1ce 1d7e819d 7a431d7c 90ea0e5f"]}),L("p521",{type:"short",prime:null,p:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff",a:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffc",b:"00000051 953eb961 8e1c9a1f 929a21a0 b68540ee a2da725b 99b315f3 b8b48991 8ef109e1 56193951 ec7e937b 1652c0bd 3bb1bf07 3573df88 3d2c34f1 ef451fd4 6b503f00",n:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffa 51868783 bf2f966b 7fcc0148 f709a5d0 3bb5c9b8 899c47ae bb6fb71e 91386409",hash:Y.sha512,gRed:!1,g:["000000c6 858e06b7 0404e9cd 9e3ecb66 2395b442 9c648139 053fb521 f828af60 6b4d3dba a14b5e77 efe75928 fe1dc127 a2ffa8de 3348b3c1 856a429b f97e7e31 c2e5bd66","00000118 39296a78 9a3bc004 5c8a5fb4 2c7d1bd9 98f54449 579b4468 17afbd17 273e662c 97ee7299 5ef42640 c550b901 3fad0761 353c7086 a272c240 88be9476 9fd16650"]}),L("curve25519",{type:"mont",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"76d06",b:"1",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:Y.sha256,gRed:!1,g:["9"]}),L("ed25519",{type:"edwards",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"-1",c:"1",d:"52036cee2b6ffe73 8cc740797779e898 00700a4d4141d8ab 75eb4dca135978a3",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:Y.sha256,gRed:!1,g:["216936d3cd6e53fec0a4e231fdd6dc5c692cc7609525a7b2c9562d608f25d51a","6666666666666666666666666666666666666666666666666666666666666658"]});var B;try{B=$f()}catch(R){B=void 0}L("secp256k1",{type:"short",prime:"k256",p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f",a:"0",b:"7",n:"ffffffff ffffffff ffffffff fffffffe baaedce6 af48a03b bfd25e8c d0364141",h:"1",hash:Y.sha256,beta:"7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee",lambda:"5363ad4cc05c30e0a5261c028812645a122e22ea20816678df02967c1b23bd72",basis:[{a:"3086d221a7d46bcde86c90e49284eb15",b:"-e4437ed6010e88286f547fa90abfe4c3"},{a:"114ca50f7a8e2f3f657c1108d9d44cfd8",b:"3086d221a7d46bcde86c90e49284eb15"}],gRed:!1,g:["79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798","483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8",B]})}),Uf=b0((X,J)=>{var Y=D9(),V=dS(),I=II();function O(Z){if(!(this instanceof O))return new O(Z);this.hash=Z.hash,this.predResist=!!Z.predResist,this.outLen=this.hash.outSize,this.minEntropy=Z.minEntropy||this.hash.hmacStrength,this._reseed=null,this.reseedInterval=null,this.K=null,this.V=null;var L=V.toArray(Z.entropy,Z.entropyEnc||"hex"),B=V.toArray(Z.nonce,Z.nonceEnc||"hex"),R=V.toArray(Z.pers,Z.persEnc||"hex");I(L.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._init(L,B,R)}J.exports=O,O.prototype._init=function(Z,L,B){var R=Z.concat(L).concat(B);this.K=Array(this.outLen/8),this.V=Array(this.outLen/8);for(var S=0;S<this.V.length;S++)this.K[S]=0,this.V[S]=1;this._update(R),this._reseed=1,this.reseedInterval=281474976710656},O.prototype._hmac=function(){return new Y.hmac(this.hash,this.K)},O.prototype._update=function(Z){var L=this._hmac().update(this.V).update([0]);if(Z)L=L.update(Z);if(this.K=L.digest(),this.V=this._hmac().update(this.V).digest(),!Z)return;this.K=this._hmac().update(this.V).update([1]).update(Z).digest(),this.V=this._hmac().update(this.V).digest()},O.prototype.reseed=function(Z,L,B,R){if(typeof L!=="string")R=B,B=L,L=null;Z=V.toArray(Z,L),B=V.toArray(B,R),I(Z.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._update(Z.concat(B||[])),this._reseed=1},O.prototype.generate=function(Z,L,B,R){if(this._reseed>this.reseedInterval)throw Error("Reseed is required");if(typeof L!=="string")R=B,B=L,L=null;if(B)B=V.toArray(B,R||"hex"),this._update(B);var S=[];while(S.length<Z)this.V=this._hmac().update(this.V).digest(),S=S.concat(this.V);var T=S.slice(0,Z);return this._update(B),this._reseed++,V.encode(T,L)}}),Xf=b0((X,J)=>{var Y=OX(),V=y1(),I=V.assert;function O(Z,L){if(this.ec=Z,this.priv=null,this.pub=null,L.priv)this._importPrivate(L.priv,L.privEnc);if(L.pub)this._importPublic(L.pub,L.pubEnc)}J.exports=O,O.fromPublic=function(Z,L,B){if(L instanceof O)return L;return new O(Z,{pub:L,pubEnc:B})},O.fromPrivate=function(Z,L,B){if(L instanceof O)return L;return new O(Z,{priv:L,privEnc:B})},O.prototype.validate=function(){var Z=this.getPublic();if(Z.isInfinity())return{result:!1,reason:"Invalid public key"};if(!Z.validate())return{result:!1,reason:"Public key is not a point"};if(!Z.mul(this.ec.curve.n).isInfinity())return{result:!1,reason:"Public key * N != O"};return{result:!0,reason:null}},O.prototype.getPublic=function(Z,L){if(typeof Z==="string")L=Z,Z=null;if(!this.pub)this.pub=this.ec.g.mul(this.priv);if(!L)return this.pub;return this.pub.encode(L,Z)},O.prototype.getPrivate=function(Z){if(Z==="hex")return this.priv.toString(16,2);else return this.priv},O.prototype._importPrivate=function(Z,L){this.priv=new Y(Z,L||16),this.priv=this.priv.umod(this.ec.curve.n)},O.prototype._importPublic=function(Z,L){if(Z.x||Z.y){if(this.ec.curve.type==="mont")I(Z.x,"Need x coordinate");else if(this.ec.curve.type==="short"||this.ec.curve.type==="edwards")I(Z.x&&Z.y,"Need both x and y coordinate");this.pub=this.ec.curve.point(Z.x,Z.y);return}this.pub=this.ec.curve.decodePoint(Z,L)},O.prototype.derive=function(Z){if(!Z.validate())I(Z.validate(),"public point not validated");return Z.mul(this.priv).getX()},O.prototype.sign=function(Z,L,B){return this.ec.sign(Z,this,L,B)},O.prototype.verify=function(Z,L,B){return this.ec.verify(Z,L,this,void 0,B)},O.prototype.inspect=function(){return"<Key priv: "+(this.priv&&this.priv.toString(16,2))+" pub: "+(this.pub&&this.pub.inspect())+" >"}}),If=b0((X,J)=>{var Y=OX(),V=y1(),I=V.assert;function O(S,T){if(S instanceof O)return S;if(this._importDER(S,T))return;if(I(S.r&&S.s,"Signature without r or s"),this.r=new Y(S.r,16),this.s=new Y(S.s,16),S.recoveryParam===void 0)this.recoveryParam=null;else this.recoveryParam=S.recoveryParam}J.exports=O;function Z(){this.place=0}function L(S,T){var E=S[T.place++];if(!(E&128))return E;var v=E&15;if(v===0||v>4)return!1;if(S[T.place]===0)return!1;var q=0;for(var y=0,w=T.place;y<v;y++,w++)q<<=8,q|=S[w],q>>>=0;if(q<=127)return!1;return T.place=w,q}function B(S){var T=0,E=S.length-1;while(!S[T]&&!(S[T+1]&128)&&T<E)T++;if(T===0)return S;return S.slice(T)}O.prototype._importDER=function(S,T){S=V.toArray(S,T);var E=new Z;if(S[E.place++]!==48)return!1;var v=L(S,E);if(v===!1)return!1;if(v+E.place!==S.length)return!1;if(S[E.place++]!==2)return!1;var q=L(S,E);if(q===!1)return!1;if((S[E.place]&128)!==0)return!1;var y=S.slice(E.place,q+E.place);if(E.place+=q,S[E.place++]!==2)return!1;var w=L(S,E);if(w===!1)return!1;if(S.length!==w+E.place)return!1;if((S[E.place]&128)!==0)return!1;var u=S.slice(E.place,w+E.place);if(y[0]===0)if(y[1]&128)y=y.slice(1);else return!1;if(u[0]===0)if(u[1]&128)u=u.slice(1);else return!1;return this.r=new Y(y),this.s=new Y(u),this.recoveryParam=null,!0};function R(S,T){if(T<128){S.push(T);return}var E=1+(Math.log(T)/Math.LN2>>>3);S.push(E|128);while(--E)S.push(T>>>(E<<3)&255);S.push(T)}O.prototype.toDER=function(S){var T=this.r.toArray(),E=this.s.toArray();if(T[0]&128)T=[0].concat(T);if(E[0]&128)E=[0].concat(E);T=B(T),E=B(E);while(!E[0]&&!(E[1]&128))E=E.slice(1);var v=[2];R(v,T.length),v=v.concat(T),v.push(2),R(v,E.length);var q=v.concat(E),y=[48];return R(y,q.length),y=y.concat(q),V.encode(y,S)}}),Jf=b0((X,J)=>{var Y=OX(),V=Uf(),I=y1(),O=K9(),Z=nS(),L=I.assert,B=Xf(),R=If();function S(T){if(!(this instanceof S))return new S(T);if(typeof T==="string")L(Object.prototype.hasOwnProperty.call(O,T),"Unknown curve "+T),T=O[T];if(T instanceof O.PresetCurve)T={curve:T};this.curve=T.curve.curve,this.n=this.curve.n,this.nh=this.n.ushrn(1),this.g=this.curve.g,this.g=T.curve.g,this.g.precompute(T.curve.n.bitLength()+1),this.hash=T.hash||T.curve.hash}J.exports=S,S.prototype.keyPair=function(T){return new B(this,T)},S.prototype.keyFromPrivate=function(T,E){return B.fromPrivate(this,T,E)},S.prototype.keyFromPublic=function(T,E){return B.fromPublic(this,T,E)},S.prototype.genKeyPair=function(T){if(!T)T={};var E=new V({hash:this.hash,pers:T.pers,persEnc:T.persEnc||"utf8",entropy:T.entropy||Z(this.hash.hmacStrength),entropyEnc:T.entropy&&T.entropyEnc||"utf8",nonce:this.n.toArray()}),v=this.n.byteLength(),q=this.n.sub(new Y(2));for(;;){var y=new Y(E.generate(v));if(y.cmp(q)>0)continue;return y.iaddn(1),this.keyFromPrivate(y)}},S.prototype._truncateToN=function(T,E,v){var q;if(Y.isBN(T)||typeof T==="number")T=new Y(T,16),q=T.byteLength();else if(typeof T==="object")q=T.length,T=new Y(T,16);else{var y=T.toString();q=y.length+1>>>1,T=new Y(y,16)}if(typeof v!=="number")v=q*8;var w=v-this.n.bitLength();if(w>0)T=T.ushrn(w);if(!E&&T.cmp(this.n)>=0)return T.sub(this.n);else return T},S.prototype.sign=function(T,E,v,q){if(typeof v==="object")q=v,v=null;if(!q)q={};if(typeof T!=="string"&&typeof T!=="number"&&!Y.isBN(T)){L(typeof T==="object"&&T&&typeof T.length==="number","Expected message to be an array-like, a hex string, or a BN instance"),L(T.length>>>0===T.length);for(var y=0;y<T.length;y++)L((T[y]&255)===T[y])}E=this.keyFromPrivate(E,v),T=this._truncateToN(T,!1,q.msgBitLength),L(!T.isNeg(),"Can not sign a negative message");var w=this.n.byteLength(),u=E.getPrivate().toArray("be",w),x=T.toArray("be",w);L(new Y(x).eq(T),"Can not sign message");var b=new V({hash:this.hash,entropy:u,nonce:x,pers:q.pers,persEnc:q.persEnc||"utf8"}),p=this.n.sub(new Y(1));for(var d=0;;d++){var a=q.k?q.k(d):new Y(b.generate(this.n.byteLength()));if(a=this._truncateToN(a,!0),a.cmpn(1)<=0||a.cmp(p)>=0)continue;var F0=this.g.mul(a);if(F0.isInfinity())continue;var L0=F0.getX(),R0=L0.umod(this.n);if(R0.cmpn(0)===0)continue;var t=a.invm(this.n).mul(R0.mul(E.getPrivate()).iadd(T));if(t=t.umod(this.n),t.cmpn(0)===0)continue;var C0=(F0.getY().isOdd()?1:0)|(L0.cmp(R0)!==0?2:0);if(q.canonical&&t.cmp(this.nh)>0)t=this.n.sub(t),C0^=1;return new R({r:R0,s:t,recoveryParam:C0})}},S.prototype.verify=function(T,E,v,q,y){if(!y)y={};T=this._truncateToN(T,!1,y.msgBitLength),v=this.keyFromPublic(v,q),E=new R(E,"hex");var{r:w,s:u}=E;if(w.cmpn(1)<0||w.cmp(this.n)>=0)return!1;if(u.cmpn(1)<0||u.cmp(this.n)>=0)return!1;var x=u.invm(this.n),b=x.mul(T).umod(this.n),p=x.mul(w).umod(this.n),d;if(!this.curve._maxwellTrick){if(d=this.g.mulAdd(b,v.getPublic(),p),d.isInfinity())return!1;return d.getX().umod(this.n).cmp(w)===0}if(d=this.g.jmulAdd(b,v.getPublic(),p),d.isInfinity())return!1;return d.eqXToP(w)},S.prototype.recoverPubKey=function(T,E,v,q){L((3&v)===v,"The recovery param is more than two bits"),E=new R(E,q);var y=this.n,w=new Y(T),u=E.r,x=E.s,b=v&1,p=v>>1;if(u.cmp(this.curve.p.umod(this.curve.n))>=0&&p)throw Error("Unable to find sencond key candinate");if(p)u=this.curve.pointFromX(u.add(this.curve.n),b);else u=this.curve.pointFromX(u,b);var d=E.r.invm(y),a=y.sub(w).mul(d).umod(y),F0=x.mul(d).umod(y);return this.g.mulAdd(a,u,F0)},S.prototype.getKeyRecoveryParam=function(T,E,v,q){if(E=new R(E,q),E.recoveryParam!==null)return E.recoveryParam;for(var y=0;y<4;y++){var w;try{w=this.recoverPubKey(T,E,y)}catch(u){continue}if(w.eq(v))return y}throw Error("Unable to find valid recovery factor")}}),Qf=b0((X,J)=>{var Y=y1(),V=Y.assert,I=Y.parseBytes,O=Y.cachedProperty;function Z(L,B){if(this.eddsa=L,this._secret=I(B.secret),L.isPoint(B.pub))this._pub=B.pub;else this._pubBytes=I(B.pub)}Z.fromPublic=function(L,B){if(B instanceof Z)return B;return new Z(L,{pub:B})},Z.fromSecret=function(L,B){if(B instanceof Z)return B;return new Z(L,{secret:B})},Z.prototype.secret=function(){return this._secret},O(Z,"pubBytes",function(){return this.eddsa.encodePoint(this.pub())}),O(Z,"pub",function(){if(this._pubBytes)return this.eddsa.decodePoint(this._pubBytes);return this.eddsa.g.mul(this.priv())}),O(Z,"privBytes",function(){var L=this.eddsa,B=this.hash(),R=L.encodingLength-1,S=B.slice(0,L.encodingLength);return S[0]&=248,S[R]&=127,S[R]|=64,S}),O(Z,"priv",function(){return this.eddsa.decodeInt(this.privBytes())}),O(Z,"hash",function(){return this.eddsa.hash().update(this.secret()).digest()}),O(Z,"messagePrefix",function(){return this.hash().slice(this.eddsa.encodingLength)}),Z.prototype.sign=function(L){return V(this._secret,"KeyPair can only verify"),this.eddsa.sign(L,this)},Z.prototype.verify=function(L,B){return this.eddsa.verify(L,B,this)},Z.prototype.getSecret=function(L){return V(this._secret,"KeyPair is public only"),Y.encode(this.secret(),L)},Z.prototype.getPublic=function(L){return Y.encode(this.pubBytes(),L)},J.exports=Z}),Yf=b0((X,J)=>{var Y=OX(),V=y1(),I=V.assert,O=V.cachedProperty,Z=V.parseBytes;function L(B,R){if(this.eddsa=B,typeof R!=="object")R=Z(R);if(Array.isArray(R))I(R.length===B.encodingLength*2,"Signature has invalid size"),R={R:R.slice(0,B.encodingLength),S:R.slice(B.encodingLength)};if(I(R.R&&R.S,"Signature without R or S"),B.isPoint(R.R))this._R=R.R;if(R.S instanceof Y)this._S=R.S;this._Rencoded=Array.isArray(R.R)?R.R:R.Rencoded,this._Sencoded=Array.isArray(R.S)?R.S:R.Sencoded}O(L,"S",function(){return this.eddsa.decodeInt(this.Sencoded())}),O(L,"R",function(){return this.eddsa.decodePoint(this.Rencoded())}),O(L,"Rencoded",function(){return this.eddsa.encodePoint(this.R())}),O(L,"Sencoded",function(){return this.eddsa.encodeInt(this.S())}),L.prototype.toBytes=function(){return this.Rencoded().concat(this.Sencoded())},L.prototype.toHex=function(){return V.encode(this.toBytes(),"hex").toUpperCase()},J.exports=L}),Gf=b0((X,J)=>{var Y=D9(),V=K9(),I=y1(),O=I.assert,Z=I.parseBytes,L=Qf(),B=Yf();function R(S){if(O(S==="ed25519","only tested with ed25519 so far"),!(this instanceof R))return new R(S);S=V[S].curve,this.curve=S,this.g=S.g,this.g.precompute(S.n.bitLength()+1),this.pointClass=S.point().constructor,this.encodingLength=Math.ceil(S.n.bitLength()/8),this.hash=Y.sha512}J.exports=R,R.prototype.sign=function(S,T){S=Z(S);var E=this.keyFromSecret(T),v=this.hashInt(E.messagePrefix(),S),q=this.g.mul(v),y=this.encodePoint(q),w=this.hashInt(y,E.pubBytes(),S).mul(E.priv()),u=v.add(w).umod(this.curve.n);return this.makeSignature({R:q,S:u,Rencoded:y})},R.prototype.verify=function(S,T,E){if(S=Z(S),T=this.makeSignature(T),T.S().gte(T.eddsa.curve.n)||T.S().isNeg())return!1;var v=this.keyFromPublic(E),q=this.hashInt(T.Rencoded(),v.pubBytes(),S),y=this.g.mul(T.S()),w=T.R().add(v.pub().mul(q));return w.eq(y)},R.prototype.hashInt=function(){var S=this.hash();for(var T=0;T<arguments.length;T++)S.update(arguments[T]);return I.intFromLE(S.digest()).umod(this.curve.n)},R.prototype.keyFromPublic=function(S){return L.fromPublic(this,S)},R.prototype.keyFromSecret=function(S){return L.fromSecret(this,S)},R.prototype.makeSignature=function(S){if(S instanceof B)return S;return new B(this,S)},R.prototype.encodePoint=function(S){var T=S.getY().toArray("le",this.encodingLength);return T[this.encodingLength-1]|=S.getX().isOdd()?128:0,T},R.prototype.decodePoint=function(S){S=I.parseBytes(S);var T=S.length-1,E=S.slice(0,T).concat(S[T]&-129),v=(S[T]&128)!==0,q=I.intFromLE(E);return this.curve.pointFromY(q,v)},R.prototype.encodeInt=function(S){return S.toArray("le",this.encodingLength)},R.prototype.decodeInt=function(S){return I.intFromLE(S)},R.prototype.isPoint=function(S){return S instanceof this.pointClass}}),Zf=b0((X)=>{var J=X;J.version=mw().version,J.utils=y1(),J.rand=nS(),J.curve=oS(),J.curves=K9(),J.ec=Jf(),J.eddsa=Gf()}),zf=b0((X,J)=>{(function(Y,V){function I(G,K){if(!G)throw Error(K||"Assertion failed")}function O(G,K){G.super_=K;var H=function(){};H.prototype=K.prototype,G.prototype=new H,G.prototype.constructor=G}function Z(G,K,H){if(Z.isBN(G))return G;if(this.negative=0,this.words=null,this.length=0,this.red=null,G!==null){if(K==="le"||K==="be")H=K,K=10;this._init(G||0,K||10,H||"be")}}if(typeof Y==="object")Y.exports=Z;else V.BN=Z;Z.BN=Z,Z.wordSize=26;var L;try{if(typeof window<"u"&&typeof window.Buffer<"u")L=window.Buffer;else L=(oU(),j$(nU)).Buffer}catch(G){}Z.isBN=function(G){if(G instanceof Z)return!0;return G!==null&&typeof G==="object"&&G.constructor.wordSize===Z.wordSize&&Array.isArray(G.words)},Z.max=function(G,K){if(G.cmp(K)>0)return G;return K},Z.min=function(G,K){if(G.cmp(K)<0)return G;return K},Z.prototype._init=function(G,K,H){if(typeof G==="number")return this._initNumber(G,K,H);if(typeof G==="object")return this._initArray(G,K,H);if(K==="hex")K=16;I(K===(K|0)&&K>=2&&K<=36),G=G.toString().replace(/\s+/g,"");var D=0;if(G[0]==="-")D++,this.negative=1;if(D<G.length){if(K===16)this._parseHex(G,D,H);else if(this._parseBase(G,K,D),H==="le")this._initArray(this.toArray(),K,H)}},Z.prototype._initNumber=function(G,K,H){if(G<0)this.negative=1,G=-G;if(G<67108864)this.words=[G&67108863],this.length=1;else if(G<4503599627370496)this.words=[G&67108863,G/67108864&67108863],this.length=2;else I(G<9007199254740992),this.words=[G&67108863,G/67108864&67108863,1],this.length=3;if(H!=="le")return;this._initArray(this.toArray(),K,H)},Z.prototype._initArray=function(G,K,H){if(I(typeof G.length==="number"),G.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(G.length/3),this.words=Array(this.length);for(var D=0;D<this.length;D++)this.words[D]=0;var F,P,j=0;if(H==="be"){for(D=G.length-1,F=0;D>=0;D-=3)if(P=G[D]|G[D-1]<<8|G[D-2]<<16,this.words[F]|=P<<j&67108863,this.words[F+1]=P>>>26-j&67108863,j+=24,j>=26)j-=26,F++}else if(H==="le"){for(D=0,F=0;D<G.length;D+=3)if(P=G[D]|G[D+1]<<8|G[D+2]<<16,this.words[F]|=P<<j&67108863,this.words[F+1]=P>>>26-j&67108863,j+=24,j>=26)j-=26,F++}return this.strip()};function B(G,K){var H=G.charCodeAt(K);if(H>=65&&H<=70)return H-55;else if(H>=97&&H<=102)return H-87;else return H-48&15}function R(G,K,H){var D=B(G,H);if(H-1>=K)D|=B(G,H-1)<<4;return D}Z.prototype._parseHex=function(G,K,H){this.length=Math.ceil((G.length-K)/6),this.words=Array(this.length);for(var D=0;D<this.length;D++)this.words[D]=0;var F=0,P=0,j;if(H==="be")for(D=G.length-1;D>=K;D-=2)if(j=R(G,K,D)<<F,this.words[P]|=j&67108863,F>=18)F-=18,P+=1,this.words[P]|=j>>>26;else F+=8;else{var A=G.length-K;for(D=A%2===0?K+1:K;D<G.length;D+=2)if(j=R(G,K,D)<<F,this.words[P]|=j&67108863,F>=18)F-=18,P+=1,this.words[P]|=j>>>26;else F+=8}this.strip()};function S(G,K,H,D){var F=0,P=Math.min(G.length,H);for(var j=K;j<P;j++){var A=G.charCodeAt(j)-48;if(F*=D,A>=49)F+=A-49+10;else if(A>=17)F+=A-17+10;else F+=A}return F}Z.prototype._parseBase=function(G,K,H){this.words=[0],this.length=1;for(var D=0,F=1;F<=67108863;F*=K)D++;D--,F=F/K|0;var P=G.length-H,j=P%D,A=Math.min(P,P-j)+H,z=0;for(var C=H;C<A;C+=D)if(z=S(G,C,C+D,K),this.imuln(F),this.words[0]+z<67108864)this.words[0]+=z;else this._iaddn(z);if(j!==0){var g=1;z=S(G,C,G.length,K);for(C=0;C<j;C++)g*=K;if(this.imuln(g),this.words[0]+z<67108864)this.words[0]+=z;else this._iaddn(z)}this.strip()},Z.prototype.copy=function(G){G.words=Array(this.length);for(var K=0;K<this.length;K++)G.words[K]=this.words[K];G.length=this.length,G.negative=this.negative,G.red=this.red},Z.prototype.clone=function(){var G=new Z(null);return this.copy(G),G},Z.prototype._expand=function(G){while(this.length<G)this.words[this.length++]=0;return this},Z.prototype.strip=function(){while(this.length>1&&this.words[this.length-1]===0)this.length--;return this._normSign()},Z.prototype._normSign=function(){if(this.length===1&&this.words[0]===0)this.negative=0;return this},Z.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var T=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],E=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],v=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64000000,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,24300000,28629151,33554432,39135393,45435424,52521875,60466176];if(Z.prototype.toString=function(G,K){G=G||10,K=K|0||1;var H;if(G===16||G==="hex"){H="";var D=0,F=0;for(var P=0;P<this.length;P++){var j=this.words[P],A=((j<<D|F)&16777215).toString(16);if(F=j>>>24-D&16777215,D+=2,D>=26)D-=26,P--;if(F!==0||P!==this.length-1)H=T[6-A.length]+A+H;else H=A+H}if(F!==0)H=F.toString(16)+H;while(H.length%K!==0)H="0"+H;if(this.negative!==0)H="-"+H;return H}if(G===(G|0)&&G>=2&&G<=36){var z=E[G],C=v[G];H="";var g=this.clone();g.negative=0;while(!g.isZero()){var N=g.modn(C).toString(G);if(g=g.idivn(C),!g.isZero())H=T[z-N.length]+N+H;else H=N+H}if(this.isZero())H="0"+H;while(H.length%K!==0)H="0"+H;if(this.negative!==0)H="-"+H;return H}I(!1,"Base should be between 2 and 36")},Z.prototype.toNumber=function(){var G=this.words[0];if(this.length===2)G+=this.words[1]*67108864;else if(this.length===3&&this.words[2]===1)G+=4503599627370496+this.words[1]*67108864;else if(this.length>2)I(!1,"Number can only safely store up to 53 bits");return this.negative!==0?-G:G},Z.prototype.toJSON=function(){return this.toString(16)},Z.prototype.toBuffer=function(G,K){return I(typeof L<"u"),this.toArrayLike(L,G,K)},Z.prototype.toArray=function(G,K){return this.toArrayLike(Array,G,K)},Z.prototype.toArrayLike=function(G,K,H){var D=this.byteLength(),F=H||Math.max(1,D);I(D<=F,"byte array longer than desired length"),I(F>0,"Requested array length <= 0"),this.strip();var P=K==="le",j=new G(F),A,z,C=this.clone();if(!P){for(z=0;z<F-D;z++)j[z]=0;for(z=0;!C.isZero();z++)A=C.andln(255),C.iushrn(8),j[F-z-1]=A}else{for(z=0;!C.isZero();z++)A=C.andln(255),C.iushrn(8),j[z]=A;for(;z<F;z++)j[z]=0}return j},Math.clz32)Z.prototype._countBits=function(G){return 32-Math.clz32(G)};else Z.prototype._countBits=function(G){var K=G,H=0;if(K>=4096)H+=13,K>>>=13;if(K>=64)H+=7,K>>>=7;if(K>=8)H+=4,K>>>=4;if(K>=2)H+=2,K>>>=2;return H+K};Z.prototype._zeroBits=function(G){if(G===0)return 26;var K=G,H=0;if((K&8191)===0)H+=13,K>>>=13;if((K&127)===0)H+=7,K>>>=7;if((K&15)===0)H+=4,K>>>=4;if((K&3)===0)H+=2,K>>>=2;if((K&1)===0)H++;return H},Z.prototype.bitLength=function(){var G=this.words[this.length-1],K=this._countBits(G);return(this.length-1)*26+K};function q(G){var K=Array(G.bitLength());for(var H=0;H<K.length;H++){var D=H/26|0,F=H%26;K[H]=(G.words[D]&1<<F)>>>F}return K}Z.prototype.zeroBits=function(){if(this.isZero())return 0;var G=0;for(var K=0;K<this.length;K++){var H=this._zeroBits(this.words[K]);if(G+=H,H!==26)break}return G},Z.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},Z.prototype.toTwos=function(G){if(this.negative!==0)return this.abs().inotn(G).iaddn(1);return this.clone()},Z.prototype.fromTwos=function(G){if(this.testn(G-1))return this.notn(G).iaddn(1).ineg();return this.clone()},Z.prototype.isNeg=function(){return this.negative!==0},Z.prototype.neg=function(){return this.clone().ineg()},Z.prototype.ineg=function(){if(!this.isZero())this.negative^=1;return this},Z.prototype.iuor=function(G){while(this.length<G.length)this.words[this.length++]=0;for(var K=0;K<G.length;K++)this.words[K]=this.words[K]|G.words[K];return this.strip()},Z.prototype.ior=function(G){return I((this.negative|G.negative)===0),this.iuor(G)},Z.prototype.or=function(G){if(this.length>G.length)return this.clone().ior(G);return G.clone().ior(this)},Z.prototype.uor=function(G){if(this.length>G.length)return this.clone().iuor(G);return G.clone().iuor(this)},Z.prototype.iuand=function(G){var K;if(this.length>G.length)K=G;else K=this;for(var H=0;H<K.length;H++)this.words[H]=this.words[H]&G.words[H];return this.length=K.length,this.strip()},Z.prototype.iand=function(G){return I((this.negative|G.negative)===0),this.iuand(G)},Z.prototype.and=function(G){if(this.length>G.length)return this.clone().iand(G);return G.clone().iand(this)},Z.prototype.uand=function(G){if(this.length>G.length)return this.clone().iuand(G);return G.clone().iuand(this)},Z.prototype.iuxor=function(G){var K,H;if(this.length>G.length)K=this,H=G;else K=G,H=this;for(var D=0;D<H.length;D++)this.words[D]=K.words[D]^H.words[D];if(this!==K)for(;D<K.length;D++)this.words[D]=K.words[D];return this.length=K.length,this.strip()},Z.prototype.ixor=function(G){return I((this.negative|G.negative)===0),this.iuxor(G)},Z.prototype.xor=function(G){if(this.length>G.length)return this.clone().ixor(G);return G.clone().ixor(this)},Z.prototype.uxor=function(G){if(this.length>G.length)return this.clone().iuxor(G);return G.clone().iuxor(this)},Z.prototype.inotn=function(G){I(typeof G==="number"&&G>=0);var K=Math.ceil(G/26)|0,H=G%26;if(this._expand(K),H>0)K--;for(var D=0;D<K;D++)this.words[D]=~this.words[D]&67108863;if(H>0)this.words[D]=~this.words[D]&67108863>>26-H;return this.strip()},Z.prototype.notn=function(G){return this.clone().inotn(G)},Z.prototype.setn=function(G,K){I(typeof G==="number"&&G>=0);var H=G/26|0,D=G%26;if(this._expand(H+1),K)this.words[H]=this.words[H]|1<<D;else this.words[H]=this.words[H]&~(1<<D);return this.strip()},Z.prototype.iadd=function(G){var K;if(this.negative!==0&&G.negative===0)return this.negative=0,K=this.isub(G),this.negative^=1,this._normSign();else if(this.negative===0&&G.negative!==0)return G.negative=0,K=this.isub(G),G.negative=1,K._normSign();var H,D;if(this.length>G.length)H=this,D=G;else H=G,D=this;var F=0;for(var P=0;P<D.length;P++)K=(H.words[P]|0)+(D.words[P]|0)+F,this.words[P]=K&67108863,F=K>>>26;for(;F!==0&&P<H.length;P++)K=(H.words[P]|0)+F,this.words[P]=K&67108863,F=K>>>26;if(this.length=H.length,F!==0)this.words[this.length]=F,this.length++;else if(H!==this)for(;P<H.length;P++)this.words[P]=H.words[P];return this},Z.prototype.add=function(G){var K;if(G.negative!==0&&this.negative===0)return G.negative=0,K=this.sub(G),G.negative^=1,K;else if(G.negative===0&&this.negative!==0)return this.negative=0,K=G.sub(this),this.negative=1,K;if(this.length>G.length)return this.clone().iadd(G);return G.clone().iadd(this)},Z.prototype.isub=function(G){if(G.negative!==0){G.negative=0;var K=this.iadd(G);return G.negative=1,K._normSign()}else if(this.negative!==0)return this.negative=0,this.iadd(G),this.negative=1,this._normSign();var H=this.cmp(G);if(H===0)return this.negative=0,this.length=1,this.words[0]=0,this;var D,F;if(H>0)D=this,F=G;else D=G,F=this;var P=0;for(var j=0;j<F.length;j++)K=(D.words[j]|0)-(F.words[j]|0)+P,P=K>>26,this.words[j]=K&67108863;for(;P!==0&&j<D.length;j++)K=(D.words[j]|0)+P,P=K>>26,this.words[j]=K&67108863;if(P===0&&j<D.length&&D!==this)for(;j<D.length;j++)this.words[j]=D.words[j];if(this.length=Math.max(this.length,j),D!==this)this.negative=1;return this.strip()},Z.prototype.sub=function(G){return this.clone().isub(G)};function y(G,K,H){H.negative=K.negative^G.negative;var D=G.length+K.length|0;H.length=D,D=D-1|0;var F=G.words[0]|0,P=K.words[0]|0,j=F*P,A=j&67108863,z=j/67108864|0;H.words[0]=A;for(var C=1;C<D;C++){var g=z>>>26,N=z&67108863,h=Math.min(C,K.length-1);for(var r=Math.max(0,C-G.length+1);r<=h;r++){var U0=C-r|0;F=G.words[U0]|0,P=K.words[r]|0,j=F*P+N,g+=j/67108864|0,N=j&67108863}H.words[C]=N|0,z=g|0}if(z!==0)H.words[C]=z|0;else H.length--;return H.strip()}var w=function(G,K,H){var D=G.words,F=K.words,P=H.words,j=0,A,z,C,g=D[0]|0,N=g&8191,h=g>>>13,r=D[1]|0,U0=r&8191,O0=r>>>13,Q0=D[2]|0,s=Q0&8191,e=Q0>>>13,J0=D[3]|0,Z0=J0&8191,A0=J0>>>13,$0=D[4]|0,c=$0&8191,n=$0>>>13,H0=D[5]|0,Y0=H0&8191,D0=H0>>>13,q0=D[6]|0,X0=q0&8191,V0=q0>>>13,U$=D[7]|0,M0=U$&8191,v0=U$>>>13,L$=D[8]|0,p0=L$&8191,c0=L$>>>13,i$=D[9]|0,u0=i$&8191,h0=i$>>>13,QU=F[0]|0,r0=QU&8191,o0=QU>>>13,PU=F[1]|0,m=PU&8191,I0=PU>>>13,s0=F[2]|0,j0=s0&8191,N0=s0>>>13,F$=F[3]|0,x0=F$&8191,f0=F$>>>13,D$=F[4]|0,n0=D$&8191,i0=D$>>>13,VU=F[5]|0,a0=VU&8191,i=VU>>>13,G0=F[6]|0,E0=G0&8191,S0=G0>>>13,z$=F[7]|0,d0=z$&8191,t0=z$>>>13,HU=F[8]|0,X$=HU&8191,$$=HU>>>13,e$=F[9]|0,I$=e$&8191,e0=e$>>>13;H.negative=G.negative^K.negative,H.length=19,A=Math.imul(N,r0),z=Math.imul(N,o0),z=z+Math.imul(h,r0)|0,C=Math.imul(h,o0);var _U=(j+A|0)+((z&8191)<<13)|0;j=(C+(z>>>13)|0)+(_U>>>26)|0,_U&=67108863,A=Math.imul(U0,r0),z=Math.imul(U0,o0),z=z+Math.imul(O0,r0)|0,C=Math.imul(O0,o0),A=A+Math.imul(N,m)|0,z=z+Math.imul(N,I0)|0,z=z+Math.imul(h,m)|0,C=C+Math.imul(h,I0)|0;var B$=(j+A|0)+((z&8191)<<13)|0;j=(C+(z>>>13)|0)+(B$>>>26)|0,B$&=67108863,A=Math.imul(s,r0),z=Math.imul(s,o0),z=z+Math.imul(e,r0)|0,C=Math.imul(e,o0),A=A+Math.imul(U0,m)|0,z=z+Math.imul(U0,I0)|0,z=z+Math.imul(O0,m)|0,C=C+Math.imul(O0,I0)|0,A=A+Math.imul(N,j0)|0,z=z+Math.imul(N,N0)|0,z=z+Math.imul(h,j0)|0,C=C+Math.imul(h,N0)|0;var S$=(j+A|0)+((z&8191)<<13)|0;j=(C+(z>>>13)|0)+(S$>>>26)|0,S$&=67108863,A=Math.imul(Z0,r0),z=Math.imul(Z0,o0),z=z+Math.imul(A0,r0)|0,C=Math.imul(A0,o0),A=A+Math.imul(s,m)|0,z=z+Math.imul(s,I0)|0,z=z+Math.imul(e,m)|0,C=C+Math.imul(e,I0)|0,A=A+Math.imul(U0,j0)|0,z=z+Math.imul(U0,N0)|0,z=z+Math.imul(O0,j0)|0,C=C+Math.imul(O0,N0)|0,A=A+Math.imul(N,x0)|0,z=z+Math.imul(N,f0)|0,z=z+Math.imul(h,x0)|0,C=C+Math.imul(h,f0)|0;var $U=(j+A|0)+((z&8191)<<13)|0;j=(C+(z>>>13)|0)+($U>>>26)|0,$U&=67108863,A=Math.imul(c,r0),z=Math.imul(c,o0),z=z+Math.imul(n,r0)|0,C=Math.imul(n,o0),A=A+Math.imul(Z0,m)|0,z=z+Math.imul(Z0,I0)|0,z=z+Math.imul(A0,m)|0,C=C+Math.imul(A0,I0)|0,A=A+Math.imul(s,j0)|0,z=z+Math.imul(s,N0)|0,z=z+Math.imul(e,j0)|0,C=C+Math.imul(e,N0)|0,A=A+Math.imul(U0,x0)|0,z=z+Math.imul(U0,f0)|0,z=z+Math.imul(O0,x0)|0,C=C+Math.imul(O0,f0)|0,A=A+Math.imul(N,n0)|0,z=z+Math.imul(N,i0)|0,z=z+Math.imul(h,n0)|0,C=C+Math.imul(h,i0)|0;var d$=(j+A|0)+((z&8191)<<13)|0;j=(C+(z>>>13)|0)+(d$>>>26)|0,d$&=67108863,A=Math.imul(Y0,r0),z=Math.imul(Y0,o0),z=z+Math.imul(D0,r0)|0,C=Math.imul(D0,o0),A=A+Math.imul(c,m)|0,z=z+Math.imul(c,I0)|0,z=z+Math.imul(n,m)|0,C=C+Math.imul(n,I0)|0,A=A+Math.imul(Z0,j0)|0,z=z+Math.imul(Z0,N0)|0,z=z+Math.imul(A0,j0)|0,C=C+Math.imul(A0,N0)|0,A=A+Math.imul(s,x0)|0,z=z+Math.imul(s,f0)|0,z=z+Math.imul(e,x0)|0,C=C+Math.imul(e,f0)|0,A=A+Math.imul(U0,n0)|0,z=z+Math.imul(U0,i0)|0,z=z+Math.imul(O0,n0)|0,C=C+Math.imul(O0,i0)|0,A=A+Math.imul(N,a0)|0,z=z+Math.imul(N,i)|0,z=z+Math.imul(h,a0)|0,C=C+Math.imul(h,i)|0;var bU=(j+A|0)+((z&8191)<<13)|0;j=(C+(z>>>13)|0)+(bU>>>26)|0,bU&=67108863,A=Math.imul(X0,r0),z=Math.imul(X0,o0),z=z+Math.imul(V0,r0)|0,C=Math.imul(V0,o0),A=A+Math.imul(Y0,m)|0,z=z+Math.imul(Y0,I0)|0,z=z+Math.imul(D0,m)|0,C=C+Math.imul(D0,I0)|0,A=A+Math.imul(c,j0)|0,z=z+Math.imul(c,N0)|0,z=z+Math.imul(n,j0)|0,C=C+Math.imul(n,N0)|0,A=A+Math.imul(Z0,x0)|0,z=z+Math.imul(Z0,f0)|0,z=z+Math.imul(A0,x0)|0,C=C+Math.imul(A0,f0)|0,A=A+Math.imul(s,n0)|0,z=z+Math.imul(s,i0)|0,z=z+Math.imul(e,n0)|0,C=C+Math.imul(e,i0)|0,A=A+Math.imul(U0,a0)|0,z=z+Math.imul(U0,i)|0,z=z+Math.imul(O0,a0)|0,C=C+Math.imul(O0,i)|0,A=A+Math.imul(N,E0)|0,z=z+Math.imul(N,S0)|0,z=z+Math.imul(h,E0)|0,C=C+Math.imul(h,S0)|0;var uU=(j+A|0)+((z&8191)<<13)|0;j=(C+(z>>>13)|0)+(uU>>>26)|0,uU&=67108863,A=Math.imul(M0,r0),z=Math.imul(M0,o0),z=z+Math.imul(v0,r0)|0,C=Math.imul(v0,o0),A=A+Math.imul(X0,m)|0,z=z+Math.imul(X0,I0)|0,z=z+Math.imul(V0,m)|0,C=C+Math.imul(V0,I0)|0,A=A+Math.imul(Y0,j0)|0,z=z+Math.imul(Y0,N0)|0,z=z+Math.imul(D0,j0)|0,C=C+Math.imul(D0,N0)|0,A=A+Math.imul(c,x0)|0,z=z+Math.imul(c,f0)|0,z=z+Math.imul(n,x0)|0,C=C+Math.imul(n,f0)|0,A=A+Math.imul(Z0,n0)|0,z=z+Math.imul(Z0,i0)|0,z=z+Math.imul(A0,n0)|0,C=C+Math.imul(A0,i0)|0,A=A+Math.imul(s,a0)|0,z=z+Math.imul(s,i)|0,z=z+Math.imul(e,a0)|0,C=C+Math.imul(e,i)|0,A=A+Math.imul(U0,E0)|0,z=z+Math.imul(U0,S0)|0,z=z+Math.imul(O0,E0)|0,C=C+Math.imul(O0,S0)|0,A=A+Math.imul(N,d0)|0,z=z+Math.imul(N,t0)|0,z=z+Math.imul(h,d0)|0,C=C+Math.imul(h,t0)|0;var hU=(j+A|0)+((z&8191)<<13)|0;j=(C+(z>>>13)|0)+(hU>>>26)|0,hU&=67108863,A=Math.imul(p0,r0),z=Math.imul(p0,o0),z=z+Math.imul(c0,r0)|0,C=Math.imul(c0,o0),A=A+Math.imul(M0,m)|0,z=z+Math.imul(M0,I0)|0,z=z+Math.imul(v0,m)|0,C=C+Math.imul(v0,I0)|0,A=A+Math.imul(X0,j0)|0,z=z+Math.imul(X0,N0)|0,z=z+Math.imul(V0,j0)|0,C=C+Math.imul(V0,N0)|0,A=A+Math.imul(Y0,x0)|0,z=z+Math.imul(Y0,f0)|0,z=z+Math.imul(D0,x0)|0,C=C+Math.imul(D0,f0)|0,A=A+Math.imul(c,n0)|0,z=z+Math.imul(c,i0)|0,z=z+Math.imul(n,n0)|0,C=C+Math.imul(n,i0)|0,A=A+Math.imul(Z0,a0)|0,z=z+Math.imul(Z0,i)|0,z=z+Math.imul(A0,a0)|0,C=C+Math.imul(A0,i)|0,A=A+Math.imul(s,E0)|0,z=z+Math.imul(s,S0)|0,z=z+Math.imul(e,E0)|0,C=C+Math.imul(e,S0)|0,A=A+Math.imul(U0,d0)|0,z=z+Math.imul(U0,t0)|0,z=z+Math.imul(O0,d0)|0,C=C+Math.imul(O0,t0)|0,A=A+Math.imul(N,X$)|0,z=z+Math.imul(N,$$)|0,z=z+Math.imul(h,X$)|0,C=C+Math.imul(h,$$)|0;var cU=(j+A|0)+((z&8191)<<13)|0;j=(C+(z>>>13)|0)+(cU>>>26)|0,cU&=67108863,A=Math.imul(u0,r0),z=Math.imul(u0,o0),z=z+Math.imul(h0,r0)|0,C=Math.imul(h0,o0),A=A+Math.imul(p0,m)|0,z=z+Math.imul(p0,I0)|0,z=z+Math.imul(c0,m)|0,C=C+Math.imul(c0,I0)|0,A=A+Math.imul(M0,j0)|0,z=z+Math.imul(M0,N0)|0,z=z+Math.imul(v0,j0)|0,C=C+Math.imul(v0,N0)|0,A=A+Math.imul(X0,x0)|0,z=z+Math.imul(X0,f0)|0,z=z+Math.imul(V0,x0)|0,C=C+Math.imul(V0,f0)|0,A=A+Math.imul(Y0,n0)|0,z=z+Math.imul(Y0,i0)|0,z=z+Math.imul(D0,n0)|0,C=C+Math.imul(D0,i0)|0,A=A+Math.imul(c,a0)|0,z=z+Math.imul(c,i)|0,z=z+Math.imul(n,a0)|0,C=C+Math.imul(n,i)|0,A=A+Math.imul(Z0,E0)|0,z=z+Math.imul(Z0,S0)|0,z=z+Math.imul(A0,E0)|0,C=C+Math.imul(A0,S0)|0,A=A+Math.imul(s,d0)|0,z=z+Math.imul(s,t0)|0,z=z+Math.imul(e,d0)|0,C=C+Math.imul(e,t0)|0,A=A+Math.imul(U0,X$)|0,z=z+Math.imul(U0,$$)|0,z=z+Math.imul(O0,X$)|0,C=C+Math.imul(O0,$$)|0,A=A+Math.imul(N,I$)|0,z=z+Math.imul(N,e0)|0,z=z+Math.imul(h,I$)|0,C=C+Math.imul(h,e0)|0;var pU=(j+A|0)+((z&8191)<<13)|0;j=(C+(z>>>13)|0)+(pU>>>26)|0,pU&=67108863,A=Math.imul(u0,m),z=Math.imul(u0,I0),z=z+Math.imul(h0,m)|0,C=Math.imul(h0,I0),A=A+Math.imul(p0,j0)|0,z=z+Math.imul(p0,N0)|0,z=z+Math.imul(c0,j0)|0,C=C+Math.imul(c0,N0)|0,A=A+Math.imul(M0,x0)|0,z=z+Math.imul(M0,f0)|0,z=z+Math.imul(v0,x0)|0,C=C+Math.imul(v0,f0)|0,A=A+Math.imul(X0,n0)|0,z=z+Math.imul(X0,i0)|0,z=z+Math.imul(V0,n0)|0,C=C+Math.imul(V0,i0)|0,A=A+Math.imul(Y0,a0)|0,z=z+Math.imul(Y0,i)|0,z=z+Math.imul(D0,a0)|0,C=C+Math.imul(D0,i)|0,A=A+Math.imul(c,E0)|0,z=z+Math.imul(c,S0)|0,z=z+Math.imul(n,E0)|0,C=C+Math.imul(n,S0)|0,A=A+Math.imul(Z0,d0)|0,z=z+Math.imul(Z0,t0)|0,z=z+Math.imul(A0,d0)|0,C=C+Math.imul(A0,t0)|0,A=A+Math.imul(s,X$)|0,z=z+Math.imul(s,$$)|0,z=z+Math.imul(e,X$)|0,C=C+Math.imul(e,$$)|0,A=A+Math.imul(U0,I$)|0,z=z+Math.imul(U0,e0)|0,z=z+Math.imul(O0,I$)|0,C=C+Math.imul(O0,e0)|0;var r$=(j+A|0)+((z&8191)<<13)|0;j=(C+(z>>>13)|0)+(r$>>>26)|0,r$&=67108863,A=Math.imul(u0,j0),z=Math.imul(u0,N0),z=z+Math.imul(h0,j0)|0,C=Math.imul(h0,N0),A=A+Math.imul(p0,x0)|0,z=z+Math.imul(p0,f0)|0,z=z+Math.imul(c0,x0)|0,C=C+Math.imul(c0,f0)|0,A=A+Math.imul(M0,n0)|0,z=z+Math.imul(M0,i0)|0,z=z+Math.imul(v0,n0)|0,C=C+Math.imul(v0,i0)|0,A=A+Math.imul(X0,a0)|0,z=z+Math.imul(X0,i)|0,z=z+Math.imul(V0,a0)|0,C=C+Math.imul(V0,i)|0,A=A+Math.imul(Y0,E0)|0,z=z+Math.imul(Y0,S0)|0,z=z+Math.imul(D0,E0)|0,C=C+Math.imul(D0,S0)|0,A=A+Math.imul(c,d0)|0,z=z+Math.imul(c,t0)|0,z=z+Math.imul(n,d0)|0,C=C+Math.imul(n,t0)|0,A=A+Math.imul(Z0,X$)|0,z=z+Math.imul(Z0,$$)|0,z=z+Math.imul(A0,X$)|0,C=C+Math.imul(A0,$$)|0,A=A+Math.imul(s,I$)|0,z=z+Math.imul(s,e0)|0,z=z+Math.imul(e,I$)|0,C=C+Math.imul(e,e0)|0;var LU=(j+A|0)+((z&8191)<<13)|0;j=(C+(z>>>13)|0)+(LU>>>26)|0,LU&=67108863,A=Math.imul(u0,x0),z=Math.imul(u0,f0),z=z+Math.imul(h0,x0)|0,C=Math.imul(h0,f0),A=A+Math.imul(p0,n0)|0,z=z+Math.imul(p0,i0)|0,z=z+Math.imul(c0,n0)|0,C=C+Math.imul(c0,i0)|0,A=A+Math.imul(M0,a0)|0,z=z+Math.imul(M0,i)|0,z=z+Math.imul(v0,a0)|0,C=C+Math.imul(v0,i)|0,A=A+Math.imul(X0,E0)|0,z=z+Math.imul(X0,S0)|0,z=z+Math.imul(V0,E0)|0,C=C+Math.imul(V0,S0)|0,A=A+Math.imul(Y0,d0)|0,z=z+Math.imul(Y0,t0)|0,z=z+Math.imul(D0,d0)|0,C=C+Math.imul(D0,t0)|0,A=A+Math.imul(c,X$)|0,z=z+Math.imul(c,$$)|0,z=z+Math.imul(n,X$)|0,C=C+Math.imul(n,$$)|0,A=A+Math.imul(Z0,I$)|0,z=z+Math.imul(Z0,e0)|0,z=z+Math.imul(A0,I$)|0,C=C+Math.imul(A0,e0)|0;var DU=(j+A|0)+((z&8191)<<13)|0;j=(C+(z>>>13)|0)+(DU>>>26)|0,DU&=67108863,A=Math.imul(u0,n0),z=Math.imul(u0,i0),z=z+Math.imul(h0,n0)|0,C=Math.imul(h0,i0),A=A+Math.imul(p0,a0)|0,z=z+Math.imul(p0,i)|0,z=z+Math.imul(c0,a0)|0,C=C+Math.imul(c0,i)|0,A=A+Math.imul(M0,E0)|0,z=z+Math.imul(M0,S0)|0,z=z+Math.imul(v0,E0)|0,C=C+Math.imul(v0,S0)|0,A=A+Math.imul(X0,d0)|0,z=z+Math.imul(X0,t0)|0,z=z+Math.imul(V0,d0)|0,C=C+Math.imul(V0,t0)|0,A=A+Math.imul(Y0,X$)|0,z=z+Math.imul(Y0,$$)|0,z=z+Math.imul(D0,X$)|0,C=C+Math.imul(D0,$$)|0,A=A+Math.imul(c,I$)|0,z=z+Math.imul(c,e0)|0,z=z+Math.imul(n,I$)|0,C=C+Math.imul(n,e0)|0;var mU=(j+A|0)+((z&8191)<<13)|0;j=(C+(z>>>13)|0)+(mU>>>26)|0,mU&=67108863,A=Math.imul(u0,a0),z=Math.imul(u0,i),z=z+Math.imul(h0,a0)|0,C=Math.imul(h0,i),A=A+Math.imul(p0,E0)|0,z=z+Math.imul(p0,S0)|0,z=z+Math.imul(c0,E0)|0,C=C+Math.imul(c0,S0)|0,A=A+Math.imul(M0,d0)|0,z=z+Math.imul(M0,t0)|0,z=z+Math.imul(v0,d0)|0,C=C+Math.imul(v0,t0)|0,A=A+Math.imul(X0,X$)|0,z=z+Math.imul(X0,$$)|0,z=z+Math.imul(V0,X$)|0,C=C+Math.imul(V0,$$)|0,A=A+Math.imul(Y0,I$)|0,z=z+Math.imul(Y0,e0)|0,z=z+Math.imul(D0,I$)|0,C=C+Math.imul(D0,e0)|0;var EU=(j+A|0)+((z&8191)<<13)|0;j=(C+(z>>>13)|0)+(EU>>>26)|0,EU&=67108863,A=Math.imul(u0,E0),z=Math.imul(u0,S0),z=z+Math.imul(h0,E0)|0,C=Math.imul(h0,S0),A=A+Math.imul(p0,d0)|0,z=z+Math.imul(p0,t0)|0,z=z+Math.imul(c0,d0)|0,C=C+Math.imul(c0,t0)|0,A=A+Math.imul(M0,X$)|0,z=z+Math.imul(M0,$$)|0,z=z+Math.imul(v0,X$)|0,C=C+Math.imul(v0,$$)|0,A=A+Math.imul(X0,I$)|0,z=z+Math.imul(X0,e0)|0,z=z+Math.imul(V0,I$)|0,C=C+Math.imul(V0,e0)|0;var NU=(j+A|0)+((z&8191)<<13)|0;j=(C+(z>>>13)|0)+(NU>>>26)|0,NU&=67108863,A=Math.imul(u0,d0),z=Math.imul(u0,t0),z=z+Math.imul(h0,d0)|0,C=Math.imul(h0,t0),A=A+Math.imul(p0,X$)|0,z=z+Math.imul(p0,$$)|0,z=z+Math.imul(c0,X$)|0,C=C+Math.imul(c0,$$)|0,A=A+Math.imul(M0,I$)|0,z=z+Math.imul(M0,e0)|0,z=z+Math.imul(v0,I$)|0,C=C+Math.imul(v0,e0)|0;var xU=(j+A|0)+((z&8191)<<13)|0;j=(C+(z>>>13)|0)+(xU>>>26)|0,xU&=67108863,A=Math.imul(u0,X$),z=Math.imul(u0,$$),z=z+Math.imul(h0,X$)|0,C=Math.imul(h0,$$),A=A+Math.imul(p0,I$)|0,z=z+Math.imul(p0,e0)|0,z=z+Math.imul(c0,I$)|0,C=C+Math.imul(c0,e0)|0;var RU=(j+A|0)+((z&8191)<<13)|0;j=(C+(z>>>13)|0)+(RU>>>26)|0,RU&=67108863,A=Math.imul(u0,I$),z=Math.imul(u0,e0),z=z+Math.imul(h0,I$)|0,C=Math.imul(h0,e0);var MU=(j+A|0)+((z&8191)<<13)|0;if(j=(C+(z>>>13)|0)+(MU>>>26)|0,MU&=67108863,P[0]=_U,P[1]=B$,P[2]=S$,P[3]=$U,P[4]=d$,P[5]=bU,P[6]=uU,P[7]=hU,P[8]=cU,P[9]=pU,P[10]=r$,P[11]=LU,P[12]=DU,P[13]=mU,P[14]=EU,P[15]=NU,P[16]=xU,P[17]=RU,P[18]=MU,j!==0)P[19]=j,H.length++;return H};if(!Math.imul)w=y;function u(G,K,H){H.negative=K.negative^G.negative,H.length=G.length+K.length;var D=0,F=0;for(var P=0;P<H.length-1;P++){var j=F;F=0;var A=D&67108863,z=Math.min(P,K.length-1);for(var C=Math.max(0,P-G.length+1);C<=z;C++){var g=P-C,N=G.words[g]|0,h=K.words[C]|0,r=N*h,U0=r&67108863;j=j+(r/67108864|0)|0,U0=U0+A|0,A=U0&67108863,j=j+(U0>>>26)|0,F+=j>>>26,j&=67108863}H.words[P]=A,D=j,j=F}if(D!==0)H.words[P]=D;else H.length--;return H.strip()}function x(G,K,H){var D=new b;return D.mulp(G,K,H)}Z.prototype.mulTo=function(G,K){var H,D=this.length+G.length;if(this.length===10&&G.length===10)H=w(this,G,K);else if(D<63)H=y(this,G,K);else if(D<1024)H=u(this,G,K);else H=x(this,G,K);return H};function b(G,K){this.x=G,this.y=K}b.prototype.makeRBT=function(G){var K=Array(G),H=Z.prototype._countBits(G)-1;for(var D=0;D<G;D++)K[D]=this.revBin(D,H,G);return K},b.prototype.revBin=function(G,K,H){if(G===0||G===H-1)return G;var D=0;for(var F=0;F<K;F++)D|=(G&1)<<K-F-1,G>>=1;return D},b.prototype.permute=function(G,K,H,D,F,P){for(var j=0;j<P;j++)D[j]=K[G[j]],F[j]=H[G[j]]},b.prototype.transform=function(G,K,H,D,F,P){this.permute(P,G,K,H,D,F);for(var j=1;j<F;j<<=1){var A=j<<1,z=Math.cos(2*Math.PI/A),C=Math.sin(2*Math.PI/A);for(var g=0;g<F;g+=A){var N=z,h=C;for(var r=0;r<j;r++){var U0=H[g+r],O0=D[g+r],Q0=H[g+r+j],s=D[g+r+j],e=N*Q0-h*s;if(s=N*s+h*Q0,Q0=e,H[g+r]=U0+Q0,D[g+r]=O0+s,H[g+r+j]=U0-Q0,D[g+r+j]=O0-s,r!==A)e=z*N-C*h,h=z*h+C*N,N=e}}}},b.prototype.guessLen13b=function(G,K){var H=Math.max(K,G)|1,D=H&1,F=0;for(H=H/2|0;H;H=H>>>1)F++;return 1<<F+1+D},b.prototype.conjugate=function(G,K,H){if(H<=1)return;for(var D=0;D<H/2;D++){var F=G[D];G[D]=G[H-D-1],G[H-D-1]=F,F=K[D],K[D]=-K[H-D-1],K[H-D-1]=-F}},b.prototype.normalize13b=function(G,K){var H=0;for(var D=0;D<K/2;D++){var F=Math.round(G[2*D+1]/K)*8192+Math.round(G[2*D]/K)+H;if(G[D]=F&67108863,F<67108864)H=0;else H=F/67108864|0}return G},b.prototype.convert13b=function(G,K,H,D){var F=0;for(var P=0;P<K;P++)F=F+(G[P]|0),H[2*P]=F&8191,F=F>>>13,H[2*P+1]=F&8191,F=F>>>13;for(P=2*K;P<D;++P)H[P]=0;I(F===0),I((F&-8192)===0)},b.prototype.stub=function(G){var K=Array(G);for(var H=0;H<G;H++)K[H]=0;return K},b.prototype.mulp=function(G,K,H){var D=2*this.guessLen13b(G.length,K.length),F=this.makeRBT(D),P=this.stub(D),j=Array(D),A=Array(D),z=Array(D),C=Array(D),g=Array(D),N=Array(D),h=H.words;h.length=D,this.convert13b(G.words,G.length,j,D),this.convert13b(K.words,K.length,C,D),this.transform(j,P,A,z,D,F),this.transform(C,P,g,N,D,F);for(var r=0;r<D;r++){var U0=A[r]*g[r]-z[r]*N[r];z[r]=A[r]*N[r]+z[r]*g[r],A[r]=U0}return this.conjugate(A,z,D),this.transform(A,z,h,P,D,F),this.conjugate(h,P,D),this.normalize13b(h,D),H.negative=G.negative^K.negative,H.length=G.length+K.length,H.strip()},Z.prototype.mul=function(G){var K=new Z(null);return K.words=Array(this.length+G.length),this.mulTo(G,K)},Z.prototype.mulf=function(G){var K=new Z(null);return K.words=Array(this.length+G.length),x(this,G,K)},Z.prototype.imul=function(G){return this.clone().mulTo(G,this)},Z.prototype.imuln=function(G){I(typeof G==="number"),I(G<67108864);var K=0;for(var H=0;H<this.length;H++){var D=(this.words[H]|0)*G,F=(D&67108863)+(K&67108863);K>>=26,K+=D/67108864|0,K+=F>>>26,this.words[H]=F&67108863}if(K!==0)this.words[H]=K,this.length++;return this.length=G===0?1:this.length,this},Z.prototype.muln=function(G){return this.clone().imuln(G)},Z.prototype.sqr=function(){return this.mul(this)},Z.prototype.isqr=function(){return this.imul(this.clone())},Z.prototype.pow=function(G){var K=q(G);if(K.length===0)return new Z(1);var H=this;for(var D=0;D<K.length;D++,H=H.sqr())if(K[D]!==0)break;if(++D<K.length)for(var F=H.sqr();D<K.length;D++,F=F.sqr()){if(K[D]===0)continue;H=H.mul(F)}return H},Z.prototype.iushln=function(G){I(typeof G==="number"&&G>=0);var K=G%26,H=(G-K)/26,D=67108863>>>26-K<<26-K,F;if(K!==0){var P=0;for(F=0;F<this.length;F++){var j=this.words[F]&D,A=(this.words[F]|0)-j<<K;this.words[F]=A|P,P=j>>>26-K}if(P)this.words[F]=P,this.length++}if(H!==0){for(F=this.length-1;F>=0;F--)this.words[F+H]=this.words[F];for(F=0;F<H;F++)this.words[F]=0;this.length+=H}return this.strip()},Z.prototype.ishln=function(G){return I(this.negative===0),this.iushln(G)},Z.prototype.iushrn=function(G,K,H){I(typeof G==="number"&&G>=0);var D;if(K)D=(K-K%26)/26;else D=0;var F=G%26,P=Math.min((G-F)/26,this.length),j=67108863^67108863>>>F<<F,A=H;if(D-=P,D=Math.max(0,D),A){for(var z=0;z<P;z++)A.words[z]=this.words[z];A.length=P}if(P===0);else if(this.length>P){this.length-=P;for(z=0;z<this.length;z++)this.words[z]=this.words[z+P]}else this.words[0]=0,this.length=1;var C=0;for(z=this.length-1;z>=0&&(C!==0||z>=D);z--){var g=this.words[z]|0;this.words[z]=C<<26-F|g>>>F,C=g&j}if(A&&C!==0)A.words[A.length++]=C;if(this.length===0)this.words[0]=0,this.length=1;return this.strip()},Z.prototype.ishrn=function(G,K,H){return I(this.negative===0),this.iushrn(G,K,H)},Z.prototype.shln=function(G){return this.clone().ishln(G)},Z.prototype.ushln=function(G){return this.clone().iushln(G)},Z.prototype.shrn=function(G){return this.clone().ishrn(G)},Z.prototype.ushrn=function(G){return this.clone().iushrn(G)},Z.prototype.testn=function(G){I(typeof G==="number"&&G>=0);var K=G%26,H=(G-K)/26,D=1<<K;if(this.length<=H)return!1;var F=this.words[H];return!!(F&D)},Z.prototype.imaskn=function(G){I(typeof G==="number"&&G>=0);var K=G%26,H=(G-K)/26;if(I(this.negative===0,"imaskn works only with positive numbers"),this.length<=H)return this;if(K!==0)H++;if(this.length=Math.min(H,this.length),K!==0){var D=67108863^67108863>>>K<<K;this.words[this.length-1]&=D}return this.strip()},Z.prototype.maskn=function(G){return this.clone().imaskn(G)},Z.prototype.iaddn=function(G){if(I(typeof G==="number"),I(G<67108864),G<0)return this.isubn(-G);if(this.negative!==0){if(this.length===1&&(this.words[0]|0)<G)return this.words[0]=G-(this.words[0]|0),this.negative=0,this;return this.negative=0,this.isubn(G),this.negative=1,this}return this._iaddn(G)},Z.prototype._iaddn=function(G){this.words[0]+=G;for(var K=0;K<this.length&&this.words[K]>=67108864;K++)if(this.words[K]-=67108864,K===this.length-1)this.words[K+1]=1;else this.words[K+1]++;return this.length=Math.max(this.length,K+1),this},Z.prototype.isubn=function(G){if(I(typeof G==="number"),I(G<67108864),G<0)return this.iaddn(-G);if(this.negative!==0)return this.negative=0,this.iaddn(G),this.negative=1,this;if(this.words[0]-=G,this.length===1&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var K=0;K<this.length&&this.words[K]<0;K++)this.words[K]+=67108864,this.words[K+1]-=1;return this.strip()},Z.prototype.addn=function(G){return this.clone().iaddn(G)},Z.prototype.subn=function(G){return this.clone().isubn(G)},Z.prototype.iabs=function(){return this.negative=0,this},Z.prototype.abs=function(){return this.clone().iabs()},Z.prototype._ishlnsubmul=function(G,K,H){var D=G.length+H,F;this._expand(D);var P,j=0;for(F=0;F<G.length;F++){P=(this.words[F+H]|0)+j;var A=(G.words[F]|0)*K;P-=A&67108863,j=(P>>26)-(A/67108864|0),this.words[F+H]=P&67108863}for(;F<this.length-H;F++)P=(this.words[F+H]|0)+j,j=P>>26,this.words[F+H]=P&67108863;if(j===0)return this.strip();I(j===-1),j=0;for(F=0;F<this.length;F++)P=-(this.words[F]|0)+j,j=P>>26,this.words[F]=P&67108863;return this.negative=1,this.strip()},Z.prototype._wordDiv=function(G,K){var H=this.length-G.length,D=this.clone(),F=G,P=F.words[F.length-1]|0,j=this._countBits(P);if(H=26-j,H!==0)F=F.ushln(H),D.iushln(H),P=F.words[F.length-1]|0;var A=D.length-F.length,z;if(K!=="mod"){z=new Z(null),z.length=A+1,z.words=Array(z.length);for(var C=0;C<z.length;C++)z.words[C]=0}var g=D.clone()._ishlnsubmul(F,1,A);if(g.negative===0){if(D=g,z)z.words[A]=1}for(var N=A-1;N>=0;N--){var h=(D.words[F.length+N]|0)*67108864+(D.words[F.length+N-1]|0);h=Math.min(h/P|0,67108863),D._ishlnsubmul(F,h,N);while(D.negative!==0)if(h--,D.negative=0,D._ishlnsubmul(F,1,N),!D.isZero())D.negative^=1;if(z)z.words[N]=h}if(z)z.strip();if(D.strip(),K!=="div"&&H!==0)D.iushrn(H);return{div:z||null,mod:D}},Z.prototype.divmod=function(G,K,H){if(I(!G.isZero()),this.isZero())return{div:new Z(0),mod:new Z(0)};var D,F,P;if(this.negative!==0&&G.negative===0){if(P=this.neg().divmod(G,K),K!=="mod")D=P.div.neg();if(K!=="div"){if(F=P.mod.neg(),H&&F.negative!==0)F.iadd(G)}return{div:D,mod:F}}if(this.negative===0&&G.negative!==0){if(P=this.divmod(G.neg(),K),K!=="mod")D=P.div.neg();return{div:D,mod:P.mod}}if((this.negative&G.negative)!==0){if(P=this.neg().divmod(G.neg(),K),K!=="div"){if(F=P.mod.neg(),H&&F.negative!==0)F.isub(G)}return{div:P.div,mod:F}}if(G.length>this.length||this.cmp(G)<0)return{div:new Z(0),mod:this};if(G.length===1){if(K==="div")return{div:this.divn(G.words[0]),mod:null};if(K==="mod")return{div:null,mod:new Z(this.modn(G.words[0]))};return{div:this.divn(G.words[0]),mod:new Z(this.modn(G.words[0]))}}return this._wordDiv(G,K)},Z.prototype.div=function(G){return this.divmod(G,"div",!1).div},Z.prototype.mod=function(G){return this.divmod(G,"mod",!1).mod},Z.prototype.umod=function(G){return this.divmod(G,"mod",!0).mod},Z.prototype.divRound=function(G){var K=this.divmod(G);if(K.mod.isZero())return K.div;var H=K.div.negative!==0?K.mod.isub(G):K.mod,D=G.ushrn(1),F=G.andln(1),P=H.cmp(D);if(P<0||F===1&&P===0)return K.div;return K.div.negative!==0?K.div.isubn(1):K.div.iaddn(1)},Z.prototype.modn=function(G){I(G<=67108863);var K=67108864%G,H=0;for(var D=this.length-1;D>=0;D--)H=(K*H+(this.words[D]|0))%G;return H},Z.prototype.idivn=function(G){I(G<=67108863);var K=0;for(var H=this.length-1;H>=0;H--){var D=(this.words[H]|0)+K*67108864;this.words[H]=D/G|0,K=D%G}return this.strip()},Z.prototype.divn=function(G){return this.clone().idivn(G)},Z.prototype.egcd=function(G){I(G.negative===0),I(!G.isZero());var K=this,H=G.clone();if(K.negative!==0)K=K.umod(G);else K=K.clone();var D=new Z(1),F=new Z(0),P=new Z(0),j=new Z(1),A=0;while(K.isEven()&&H.isEven())K.iushrn(1),H.iushrn(1),++A;var z=H.clone(),C=K.clone();while(!K.isZero()){for(var g=0,N=1;(K.words[0]&N)===0&&g<26;++g,N<<=1);if(g>0){K.iushrn(g);while(g-- >0){if(D.isOdd()||F.isOdd())D.iadd(z),F.isub(C);D.iushrn(1),F.iushrn(1)}}for(var h=0,r=1;(H.words[0]&r)===0&&h<26;++h,r<<=1);if(h>0){H.iushrn(h);while(h-- >0){if(P.isOdd()||j.isOdd())P.iadd(z),j.isub(C);P.iushrn(1),j.iushrn(1)}}if(K.cmp(H)>=0)K.isub(H),D.isub(P),F.isub(j);else H.isub(K),P.isub(D),j.isub(F)}return{a:P,b:j,gcd:H.iushln(A)}},Z.prototype._invmp=function(G){I(G.negative===0),I(!G.isZero());var K=this,H=G.clone();if(K.negative!==0)K=K.umod(G);else K=K.clone();var D=new Z(1),F=new Z(0),P=H.clone();while(K.cmpn(1)>0&&H.cmpn(1)>0){for(var j=0,A=1;(K.words[0]&A)===0&&j<26;++j,A<<=1);if(j>0){K.iushrn(j);while(j-- >0){if(D.isOdd())D.iadd(P);D.iushrn(1)}}for(var z=0,C=1;(H.words[0]&C)===0&&z<26;++z,C<<=1);if(z>0){H.iushrn(z);while(z-- >0){if(F.isOdd())F.iadd(P);F.iushrn(1)}}if(K.cmp(H)>=0)K.isub(H),D.isub(F);else H.isub(K),F.isub(D)}var g;if(K.cmpn(1)===0)g=D;else g=F;if(g.cmpn(0)<0)g.iadd(G);return g},Z.prototype.gcd=function(G){if(this.isZero())return G.abs();if(G.isZero())return this.abs();var K=this.clone(),H=G.clone();K.negative=0,H.negative=0;for(var D=0;K.isEven()&&H.isEven();D++)K.iushrn(1),H.iushrn(1);do{while(K.isEven())K.iushrn(1);while(H.isEven())H.iushrn(1);var F=K.cmp(H);if(F<0){var P=K;K=H,H=P}else if(F===0||H.cmpn(1)===0)break;K.isub(H)}while(!0);return H.iushln(D)},Z.prototype.invm=function(G){return this.egcd(G).a.umod(G)},Z.prototype.isEven=function(){return(this.words[0]&1)===0},Z.prototype.isOdd=function(){return(this.words[0]&1)===1},Z.prototype.andln=function(G){return this.words[0]&G},Z.prototype.bincn=function(G){I(typeof G==="number");var K=G%26,H=(G-K)/26,D=1<<K;if(this.length<=H)return this._expand(H+1),this.words[H]|=D,this;var F=D;for(var P=H;F!==0&&P<this.length;P++){var j=this.words[P]|0;j+=F,F=j>>>26,j&=67108863,this.words[P]=j}if(F!==0)this.words[P]=F,this.length++;return this},Z.prototype.isZero=function(){return this.length===1&&this.words[0]===0},Z.prototype.cmpn=function(G){var K=G<0;if(this.negative!==0&&!K)return-1;if(this.negative===0&&K)return 1;this.strip();var H;if(this.length>1)H=1;else{if(K)G=-G;I(G<=67108863,"Number is too big");var D=this.words[0]|0;H=D===G?0:D<G?-1:1}if(this.negative!==0)return-H|0;return H},Z.prototype.cmp=function(G){if(this.negative!==0&&G.negative===0)return-1;if(this.negative===0&&G.negative!==0)return 1;var K=this.ucmp(G);if(this.negative!==0)return-K|0;return K},Z.prototype.ucmp=function(G){if(this.length>G.length)return 1;if(this.length<G.length)return-1;var K=0;for(var H=this.length-1;H>=0;H--){var D=this.words[H]|0,F=G.words[H]|0;if(D===F)continue;if(D<F)K=-1;else if(D>F)K=1;break}return K},Z.prototype.gtn=function(G){return this.cmpn(G)===1},Z.prototype.gt=function(G){return this.cmp(G)===1},Z.prototype.gten=function(G){return this.cmpn(G)>=0},Z.prototype.gte=function(G){return this.cmp(G)>=0},Z.prototype.ltn=function(G){return this.cmpn(G)===-1},Z.prototype.lt=function(G){return this.cmp(G)===-1},Z.prototype.lten=function(G){return this.cmpn(G)<=0},Z.prototype.lte=function(G){return this.cmp(G)<=0},Z.prototype.eqn=function(G){return this.cmpn(G)===0},Z.prototype.eq=function(G){return this.cmp(G)===0},Z.red=function(G){return new t(G)},Z.prototype.toRed=function(G){return I(!this.red,"Already a number in reduction context"),I(this.negative===0,"red works only with positives"),G.convertTo(this)._forceRed(G)},Z.prototype.fromRed=function(){return I(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},Z.prototype._forceRed=function(G){return this.red=G,this},Z.prototype.forceRed=function(G){return I(!this.red,"Already a number in reduction context"),this._forceRed(G)},Z.prototype.redAdd=function(G){return I(this.red,"redAdd works only with red numbers"),this.red.add(this,G)},Z.prototype.redIAdd=function(G){return I(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,G)},Z.prototype.redSub=function(G){return I(this.red,"redSub works only with red numbers"),this.red.sub(this,G)},Z.prototype.redISub=function(G){return I(this.red,"redISub works only with red numbers"),this.red.isub(this,G)},Z.prototype.redShl=function(G){return I(this.red,"redShl works only with red numbers"),this.red.shl(this,G)},Z.prototype.redMul=function(G){return I(this.red,"redMul works only with red numbers"),this.red._verify2(this,G),this.red.mul(this,G)},Z.prototype.redIMul=function(G){return I(this.red,"redMul works only with red numbers"),this.red._verify2(this,G),this.red.imul(this,G)},Z.prototype.redSqr=function(){return I(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},Z.prototype.redISqr=function(){return I(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},Z.prototype.redSqrt=function(){return I(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},Z.prototype.redInvm=function(){return I(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},Z.prototype.redNeg=function(){return I(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},Z.prototype.redPow=function(G){return I(this.red&&!G.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,G)};var p={k256:null,p224:null,p192:null,p25519:null};function d(G,K){this.name=G,this.p=new Z(K,16),this.n=this.p.bitLength(),this.k=new Z(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}d.prototype._tmp=function(){var G=new Z(null);return G.words=Array(Math.ceil(this.n/13)),G},d.prototype.ireduce=function(G){var K=G,H;do this.split(K,this.tmp),K=this.imulK(K),K=K.iadd(this.tmp),H=K.bitLength();while(H>this.n);var D=H<this.n?-1:K.ucmp(this.p);if(D===0)K.words[0]=0,K.length=1;else if(D>0)K.isub(this.p);else if(K.strip!==void 0)K.strip();else K._strip();return K},d.prototype.split=function(G,K){G.iushrn(this.n,0,K)},d.prototype.imulK=function(G){return G.imul(this.k)};function a(){d.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}O(a,d),a.prototype.split=function(G,K){var H=4194303,D=Math.min(G.length,9);for(var F=0;F<D;F++)K.words[F]=G.words[F];if(K.length=D,G.length<=9){G.words[0]=0,G.length=1;return}var P=G.words[9];K.words[K.length++]=P&H;for(F=10;F<G.length;F++){var j=G.words[F]|0;G.words[F-10]=(j&H)<<4|P>>>22,P=j}if(P>>>=22,G.words[F-10]=P,P===0&&G.length>10)G.length-=10;else G.length-=9},a.prototype.imulK=function(G){G.words[G.length]=0,G.words[G.length+1]=0,G.length+=2;var K=0;for(var H=0;H<G.length;H++){var D=G.words[H]|0;K+=D*977,G.words[H]=K&67108863,K=D*64+(K/67108864|0)}if(G.words[G.length-1]===0){if(G.length--,G.words[G.length-1]===0)G.length--}return G};function F0(){d.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}O(F0,d);function L0(){d.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}O(L0,d);function R0(){d.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}O(R0,d),R0.prototype.imulK=function(G){var K=0;for(var H=0;H<G.length;H++){var D=(G.words[H]|0)*19+K,F=D&67108863;D>>>=26,G.words[H]=F,K=D}if(K!==0)G.words[G.length++]=K;return G},Z._prime=function(G){if(p[G])return p[G];var K;if(G==="k256")K=new a;else if(G==="p224")K=new F0;else if(G==="p192")K=new L0;else if(G==="p25519")K=new R0;else throw Error("Unknown prime "+G);return p[G]=K,K};function t(G){if(typeof G==="string"){var K=Z._prime(G);this.m=K.p,this.prime=K}else I(G.gtn(1),"modulus must be greater than 1"),this.m=G,this.prime=null}t.prototype._verify1=function(G){I(G.negative===0,"red works only with positives"),I(G.red,"red works only with red numbers")},t.prototype._verify2=function(G,K){I((G.negative|K.negative)===0,"red works only with positives"),I(G.red&&G.red===K.red,"red works only with red numbers")},t.prototype.imod=function(G){if(this.prime)return this.prime.ireduce(G)._forceRed(this);return G.umod(this.m)._forceRed(this)},t.prototype.neg=function(G){if(G.isZero())return G.clone();return this.m.sub(G)._forceRed(this)},t.prototype.add=function(G,K){this._verify2(G,K);var H=G.add(K);if(H.cmp(this.m)>=0)H.isub(this.m);return H._forceRed(this)},t.prototype.iadd=function(G,K){this._verify2(G,K);var H=G.iadd(K);if(H.cmp(this.m)>=0)H.isub(this.m);return H},t.prototype.sub=function(G,K){this._verify2(G,K);var H=G.sub(K);if(H.cmpn(0)<0)H.iadd(this.m);return H._forceRed(this)},t.prototype.isub=function(G,K){this._verify2(G,K);var H=G.isub(K);if(H.cmpn(0)<0)H.iadd(this.m);return H},t.prototype.shl=function(G,K){return this._verify1(G),this.imod(G.ushln(K))},t.prototype.imul=function(G,K){return this._verify2(G,K),this.imod(G.imul(K))},t.prototype.mul=function(G,K){return this._verify2(G,K),this.imod(G.mul(K))},t.prototype.isqr=function(G){return this.imul(G,G.clone())},t.prototype.sqr=function(G){return this.mul(G,G)},t.prototype.sqrt=function(G){if(G.isZero())return G.clone();var K=this.m.andln(3);if(I(K%2===1),K===3){var H=this.m.add(new Z(1)).iushrn(2);return this.pow(G,H)}var D=this.m.subn(1),F=0;while(!D.isZero()&&D.andln(1)===0)F++,D.iushrn(1);I(!D.isZero());var P=new Z(1).toRed(this),j=P.redNeg(),A=this.m.subn(1).iushrn(1),z=this.m.bitLength();z=new Z(2*z*z).toRed(this);while(this.pow(z,A).cmp(j)!==0)z.redIAdd(j);var C=this.pow(z,D),g=this.pow(G,D.addn(1).iushrn(1)),N=this.pow(G,D),h=F;while(N.cmp(P)!==0){var r=N;for(var U0=0;r.cmp(P)!==0;U0++)r=r.redSqr();I(U0<h);var O0=this.pow(C,new Z(1).iushln(h-U0-1));g=g.redMul(O0),C=O0.redSqr(),N=N.redMul(C),h=U0}return g},t.prototype.invm=function(G){var K=G._invmp(this.m);if(K.negative!==0)return K.negative=0,this.imod(K).redNeg();else return this.imod(K)},t.prototype.pow=function(G,K){if(K.isZero())return new Z(1).toRed(this);if(K.cmpn(1)===0)return G.clone();var H=4,D=Array(1<<H);D[0]=new Z(1).toRed(this),D[1]=G;for(var F=2;F<D.length;F++)D[F]=this.mul(D[F-1],G);var P=D[0],j=0,A=0,z=K.bitLength()%26;if(z===0)z=26;for(F=K.length-1;F>=0;F--){var C=K.words[F];for(var g=z-1;g>=0;g--){var N=C>>g&1;if(P!==D[0])P=this.sqr(P);if(N===0&&j===0){A=0;continue}if(j<<=1,j|=N,A++,A!==H&&(F!==0||g!==0))continue;P=this.mul(P,D[j]),A=0,j=0}z=26}return P},t.prototype.convertTo=function(G){var K=G.umod(this.m);return K===G?K.clone():K},t.prototype.convertFrom=function(G){var K=G.clone();return K.red=null,K},Z.mont=function(G){return new C0(G)};function C0(G){if(t.call(this,G),this.shift=this.m.bitLength(),this.shift%26!==0)this.shift+=26-this.shift%26;this.r=new Z(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}O(C0,t),C0.prototype.convertTo=function(G){return this.imod(G.ushln(this.shift))},C0.prototype.convertFrom=function(G){var K=this.imod(G.mul(this.rinv));return K.red=null,K},C0.prototype.imul=function(G,K){if(G.isZero()||K.isZero())return G.words[0]=0,G.length=1,G;var H=G.imul(K),D=H.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),F=H.isub(D).iushrn(this.shift),P=F;if(F.cmp(this.m)>=0)P=F.isub(this.m);else if(F.cmpn(0)<0)P=F.iadd(this.m);return P._forceRed(this)},C0.prototype.mul=function(G,K){if(G.isZero()||K.isZero())return new Z(0)._forceRed(this);var H=G.mul(K),D=H.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),F=H.isub(D).iushrn(this.shift),P=F;if(F.cmp(this.m)>=0)P=F.isub(this.m);else if(F.cmpn(0)<0)P=F.iadd(this.m);return P._forceRed(this)},C0.prototype.invm=function(G){var K=this.imod(G._invmp(this.m).mul(this.r2));return K._forceRed(this)}})(typeof J>"u"||J,X)}),Of=b0((X,J)=>{var Y=Zf(),V=zf();J.exports=function(L){return new O(L)};var I={secp256k1:{name:"secp256k1",byteLength:32},secp224r1:{name:"p224",byteLength:28},prime256v1:{name:"p256",byteLength:32},prime192v1:{name:"p192",byteLength:24},ed25519:{name:"ed25519",byteLength:32},secp384r1:{name:"p384",byteLength:48},secp521r1:{name:"p521",byteLength:66}};I.p224=I.secp224r1,I.p256=I.secp256r1=I.prime256v1,I.p192=I.secp192r1=I.prime192v1,I.p384=I.secp384r1,I.p521=I.secp521r1;function O(L){if(this.curveType=I[L],!this.curveType)this.curveType={name:L};this.curve=new Y.ec(this.curveType.name),this.keys=void 0}O.prototype.generateKeys=function(L,B){return this.keys=this.curve.genKeyPair(),this.getPublicKey(L,B)},O.prototype.computeSecret=function(L,B,R){if(B=B||"utf8",!Buffer.isBuffer(L))L=new Buffer(L,B);var S=this.curve.keyFromPublic(L).getPublic(),T=S.mul(this.keys.getPrivate()).getX();return Z(T,R,this.curveType.byteLength)},O.prototype.getPublicKey=function(L,B){var R=this.keys.getPublic(B==="compressed",!0);if(B==="hybrid")if(R[R.length-1]%2)R[0]=7;else R[0]=6;return Z(R,L)},O.prototype.getPrivateKey=function(L){return Z(this.keys.getPrivate(),L)},O.prototype.setPublicKey=function(L,B){if(B=B||"utf8",!Buffer.isBuffer(L))L=new Buffer(L,B);return this.keys._importPublic(L),this},O.prototype.setPrivateKey=function(L,B){if(B=B||"utf8",!Buffer.isBuffer(L))L=new Buffer(L,B);var R=new V(L);return R=R.toString(16),this.keys=this.curve.genKeyPair(),this.keys._importPrivate(R),this};function Z(L,B,R){if(!Array.isArray(L))L=L.toArray();var S=new Buffer(L);if(R&&S.length<R){var T=new Buffer(R-S.length);T.fill(0),S=Buffer.concat([T,S])}if(!B)return S;else return S.toString(B)}}),Vf=b0((X,J)=>{var Y=(yU(),j$(L1)).createECDH;J.exports=Y||Of()}),Df=b0((X,J)=>{(function(Y,V){function I(G,K){if(!G)throw Error(K||"Assertion failed")}function O(G,K){G.super_=K;var H=function(){};H.prototype=K.prototype,G.prototype=new H,G.prototype.constructor=G}function Z(G,K,H){if(Z.isBN(G))return G;if(this.negative=0,this.words=null,this.length=0,this.red=null,G!==null){if(K==="le"||K==="be")H=K,K=10;this._init(G||0,K||10,H||"be")}}if(typeof Y==="object")Y.exports=Z;else V.BN=Z;Z.BN=Z,Z.wordSize=26;var L;try{if(typeof window<"u"&&typeof window.Buffer<"u")L=window.Buffer;else L=(oU(),j$(nU)).Buffer}catch(G){}Z.isBN=function(G){if(G instanceof Z)return!0;return G!==null&&typeof G==="object"&&G.constructor.wordSize===Z.wordSize&&Array.isArray(G.words)},Z.max=function(G,K){if(G.cmp(K)>0)return G;return K},Z.min=function(G,K){if(G.cmp(K)<0)return G;return K},Z.prototype._init=function(G,K,H){if(typeof G==="number")return this._initNumber(G,K,H);if(typeof G==="object")return this._initArray(G,K,H);if(K==="hex")K=16;I(K===(K|0)&&K>=2&&K<=36),G=G.toString().replace(/\s+/g,"");var D=0;if(G[0]==="-")D++,this.negative=1;if(D<G.length){if(K===16)this._parseHex(G,D,H);else if(this._parseBase(G,K,D),H==="le")this._initArray(this.toArray(),K,H)}},Z.prototype._initNumber=function(G,K,H){if(G<0)this.negative=1,G=-G;if(G<67108864)this.words=[G&67108863],this.length=1;else if(G<4503599627370496)this.words=[G&67108863,G/67108864&67108863],this.length=2;else I(G<9007199254740992),this.words=[G&67108863,G/67108864&67108863,1],this.length=3;if(H!=="le")return;this._initArray(this.toArray(),K,H)},Z.prototype._initArray=function(G,K,H){if(I(typeof G.length==="number"),G.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(G.length/3),this.words=Array(this.length);for(var D=0;D<this.length;D++)this.words[D]=0;var F,P,j=0;if(H==="be"){for(D=G.length-1,F=0;D>=0;D-=3)if(P=G[D]|G[D-1]<<8|G[D-2]<<16,this.words[F]|=P<<j&67108863,this.words[F+1]=P>>>26-j&67108863,j+=24,j>=26)j-=26,F++}else if(H==="le"){for(D=0,F=0;D<G.length;D+=3)if(P=G[D]|G[D+1]<<8|G[D+2]<<16,this.words[F]|=P<<j&67108863,this.words[F+1]=P>>>26-j&67108863,j+=24,j>=26)j-=26,F++}return this.strip()};function B(G,K){var H=G.charCodeAt(K);if(H>=65&&H<=70)return H-55;else if(H>=97&&H<=102)return H-87;else return H-48&15}function R(G,K,H){var D=B(G,H);if(H-1>=K)D|=B(G,H-1)<<4;return D}Z.prototype._parseHex=function(G,K,H){this.length=Math.ceil((G.length-K)/6),this.words=Array(this.length);for(var D=0;D<this.length;D++)this.words[D]=0;var F=0,P=0,j;if(H==="be")for(D=G.length-1;D>=K;D-=2)if(j=R(G,K,D)<<F,this.words[P]|=j&67108863,F>=18)F-=18,P+=1,this.words[P]|=j>>>26;else F+=8;else{var A=G.length-K;for(D=A%2===0?K+1:K;D<G.length;D+=2)if(j=R(G,K,D)<<F,this.words[P]|=j&67108863,F>=18)F-=18,P+=1,this.words[P]|=j>>>26;else F+=8}this.strip()};function S(G,K,H,D){var F=0,P=Math.min(G.length,H);for(var j=K;j<P;j++){var A=G.charCodeAt(j)-48;if(F*=D,A>=49)F+=A-49+10;else if(A>=17)F+=A-17+10;else F+=A}return F}Z.prototype._parseBase=function(G,K,H){this.words=[0],this.length=1;for(var D=0,F=1;F<=67108863;F*=K)D++;D--,F=F/K|0;var P=G.length-H,j=P%D,A=Math.min(P,P-j)+H,z=0;for(var C=H;C<A;C+=D)if(z=S(G,C,C+D,K),this.imuln(F),this.words[0]+z<67108864)this.words[0]+=z;else this._iaddn(z);if(j!==0){var g=1;z=S(G,C,G.length,K);for(C=0;C<j;C++)g*=K;if(this.imuln(g),this.words[0]+z<67108864)this.words[0]+=z;else this._iaddn(z)}this.strip()},Z.prototype.copy=function(G){G.words=Array(this.length);for(var K=0;K<this.length;K++)G.words[K]=this.words[K];G.length=this.length,G.negative=this.negative,G.red=this.red},Z.prototype.clone=function(){var G=new Z(null);return this.copy(G),G},Z.prototype._expand=function(G){while(this.length<G)this.words[this.length++]=0;return this},Z.prototype.strip=function(){while(this.length>1&&this.words[this.length-1]===0)this.length--;return this._normSign()},Z.prototype._normSign=function(){if(this.length===1&&this.words[0]===0)this.negative=0;return this},Z.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var T=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],E=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],v=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64000000,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,24300000,28629151,33554432,39135393,45435424,52521875,60466176];if(Z.prototype.toString=function(G,K){G=G||10,K=K|0||1;var H;if(G===16||G==="hex"){H="";var D=0,F=0;for(var P=0;P<this.length;P++){var j=this.words[P],A=((j<<D|F)&16777215).toString(16);if(F=j>>>24-D&16777215,D+=2,D>=26)D-=26,P--;if(F!==0||P!==this.length-1)H=T[6-A.length]+A+H;else H=A+H}if(F!==0)H=F.toString(16)+H;while(H.length%K!==0)H="0"+H;if(this.negative!==0)H="-"+H;return H}if(G===(G|0)&&G>=2&&G<=36){var z=E[G],C=v[G];H="";var g=this.clone();g.negative=0;while(!g.isZero()){var N=g.modn(C).toString(G);if(g=g.idivn(C),!g.isZero())H=T[z-N.length]+N+H;else H=N+H}if(this.isZero())H="0"+H;while(H.length%K!==0)H="0"+H;if(this.negative!==0)H="-"+H;return H}I(!1,"Base should be between 2 and 36")},Z.prototype.toNumber=function(){var G=this.words[0];if(this.length===2)G+=this.words[1]*67108864;else if(this.length===3&&this.words[2]===1)G+=4503599627370496+this.words[1]*67108864;else if(this.length>2)I(!1,"Number can only safely store up to 53 bits");return this.negative!==0?-G:G},Z.prototype.toJSON=function(){return this.toString(16)},Z.prototype.toBuffer=function(G,K){return I(typeof L<"u"),this.toArrayLike(L,G,K)},Z.prototype.toArray=function(G,K){return this.toArrayLike(Array,G,K)},Z.prototype.toArrayLike=function(G,K,H){var D=this.byteLength(),F=H||Math.max(1,D);I(D<=F,"byte array longer than desired length"),I(F>0,"Requested array length <= 0"),this.strip();var P=K==="le",j=new G(F),A,z,C=this.clone();if(!P){for(z=0;z<F-D;z++)j[z]=0;for(z=0;!C.isZero();z++)A=C.andln(255),C.iushrn(8),j[F-z-1]=A}else{for(z=0;!C.isZero();z++)A=C.andln(255),C.iushrn(8),j[z]=A;for(;z<F;z++)j[z]=0}return j},Math.clz32)Z.prototype._countBits=function(G){return 32-Math.clz32(G)};else Z.prototype._countBits=function(G){var K=G,H=0;if(K>=4096)H+=13,K>>>=13;if(K>=64)H+=7,K>>>=7;if(K>=8)H+=4,K>>>=4;if(K>=2)H+=2,K>>>=2;return H+K};Z.prototype._zeroBits=function(G){if(G===0)return 26;var K=G,H=0;if((K&8191)===0)H+=13,K>>>=13;if((K&127)===0)H+=7,K>>>=7;if((K&15)===0)H+=4,K>>>=4;if((K&3)===0)H+=2,K>>>=2;if((K&1)===0)H++;return H},Z.prototype.bitLength=function(){var G=this.words[this.length-1],K=this._countBits(G);return(this.length-1)*26+K};function q(G){var K=Array(G.bitLength());for(var H=0;H<K.length;H++){var D=H/26|0,F=H%26;K[H]=(G.words[D]&1<<F)>>>F}return K}Z.prototype.zeroBits=function(){if(this.isZero())return 0;var G=0;for(var K=0;K<this.length;K++){var H=this._zeroBits(this.words[K]);if(G+=H,H!==26)break}return G},Z.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},Z.prototype.toTwos=function(G){if(this.negative!==0)return this.abs().inotn(G).iaddn(1);return this.clone()},Z.prototype.fromTwos=function(G){if(this.testn(G-1))return this.notn(G).iaddn(1).ineg();return this.clone()},Z.prototype.isNeg=function(){return this.negative!==0},Z.prototype.neg=function(){return this.clone().ineg()},Z.prototype.ineg=function(){if(!this.isZero())this.negative^=1;return this},Z.prototype.iuor=function(G){while(this.length<G.length)this.words[this.length++]=0;for(var K=0;K<G.length;K++)this.words[K]=this.words[K]|G.words[K];return this.strip()},Z.prototype.ior=function(G){return I((this.negative|G.negative)===0),this.iuor(G)},Z.prototype.or=function(G){if(this.length>G.length)return this.clone().ior(G);return G.clone().ior(this)},Z.prototype.uor=function(G){if(this.length>G.length)return this.clone().iuor(G);return G.clone().iuor(this)},Z.prototype.iuand=function(G){var K;if(this.length>G.length)K=G;else K=this;for(var H=0;H<K.length;H++)this.words[H]=this.words[H]&G.words[H];return this.length=K.length,this.strip()},Z.prototype.iand=function(G){return I((this.negative|G.negative)===0),this.iuand(G)},Z.prototype.and=function(G){if(this.length>G.length)return this.clone().iand(G);return G.clone().iand(this)},Z.prototype.uand=function(G){if(this.length>G.length)return this.clone().iuand(G);return G.clone().iuand(this)},Z.prototype.iuxor=function(G){var K,H;if(this.length>G.length)K=this,H=G;else K=G,H=this;for(var D=0;D<H.length;D++)this.words[D]=K.words[D]^H.words[D];if(this!==K)for(;D<K.length;D++)this.words[D]=K.words[D];return this.length=K.length,this.strip()},Z.prototype.ixor=function(G){return I((this.negative|G.negative)===0),this.iuxor(G)},Z.prototype.xor=function(G){if(this.length>G.length)return this.clone().ixor(G);return G.clone().ixor(this)},Z.prototype.uxor=function(G){if(this.length>G.length)return this.clone().iuxor(G);return G.clone().iuxor(this)},Z.prototype.inotn=function(G){I(typeof G==="number"&&G>=0);var K=Math.ceil(G/26)|0,H=G%26;if(this._expand(K),H>0)K--;for(var D=0;D<K;D++)this.words[D]=~this.words[D]&67108863;if(H>0)this.words[D]=~this.words[D]&67108863>>26-H;return this.strip()},Z.prototype.notn=function(G){return this.clone().inotn(G)},Z.prototype.setn=function(G,K){I(typeof G==="number"&&G>=0);var H=G/26|0,D=G%26;if(this._expand(H+1),K)this.words[H]=this.words[H]|1<<D;else this.words[H]=this.words[H]&~(1<<D);return this.strip()},Z.prototype.iadd=function(G){var K;if(this.negative!==0&&G.negative===0)return this.negative=0,K=this.isub(G),this.negative^=1,this._normSign();else if(this.negative===0&&G.negative!==0)return G.negative=0,K=this.isub(G),G.negative=1,K._normSign();var H,D;if(this.length>G.length)H=this,D=G;else H=G,D=this;var F=0;for(var P=0;P<D.length;P++)K=(H.words[P]|0)+(D.words[P]|0)+F,this.words[P]=K&67108863,F=K>>>26;for(;F!==0&&P<H.length;P++)K=(H.words[P]|0)+F,this.words[P]=K&67108863,F=K>>>26;if(this.length=H.length,F!==0)this.words[this.length]=F,this.length++;else if(H!==this)for(;P<H.length;P++)this.words[P]=H.words[P];return this},Z.prototype.add=function(G){var K;if(G.negative!==0&&this.negative===0)return G.negative=0,K=this.sub(G),G.negative^=1,K;else if(G.negative===0&&this.negative!==0)return this.negative=0,K=G.sub(this),this.negative=1,K;if(this.length>G.length)return this.clone().iadd(G);return G.clone().iadd(this)},Z.prototype.isub=function(G){if(G.negative!==0){G.negative=0;var K=this.iadd(G);return G.negative=1,K._normSign()}else if(this.negative!==0)return this.negative=0,this.iadd(G),this.negative=1,this._normSign();var H=this.cmp(G);if(H===0)return this.negative=0,this.length=1,this.words[0]=0,this;var D,F;if(H>0)D=this,F=G;else D=G,F=this;var P=0;for(var j=0;j<F.length;j++)K=(D.words[j]|0)-(F.words[j]|0)+P,P=K>>26,this.words[j]=K&67108863;for(;P!==0&&j<D.length;j++)K=(D.words[j]|0)+P,P=K>>26,this.words[j]=K&67108863;if(P===0&&j<D.length&&D!==this)for(;j<D.length;j++)this.words[j]=D.words[j];if(this.length=Math.max(this.length,j),D!==this)this.negative=1;return this.strip()},Z.prototype.sub=function(G){return this.clone().isub(G)};function y(G,K,H){H.negative=K.negative^G.negative;var D=G.length+K.length|0;H.length=D,D=D-1|0;var F=G.words[0]|0,P=K.words[0]|0,j=F*P,A=j&67108863,z=j/67108864|0;H.words[0]=A;for(var C=1;C<D;C++){var g=z>>>26,N=z&67108863,h=Math.min(C,K.length-1);for(var r=Math.max(0,C-G.length+1);r<=h;r++){var U0=C-r|0;F=G.words[U0]|0,P=K.words[r]|0,j=F*P+N,g+=j/67108864|0,N=j&67108863}H.words[C]=N|0,z=g|0}if(z!==0)H.words[C]=z|0;else H.length--;return H.strip()}var w=function(G,K,H){var D=G.words,F=K.words,P=H.words,j=0,A,z,C,g=D[0]|0,N=g&8191,h=g>>>13,r=D[1]|0,U0=r&8191,O0=r>>>13,Q0=D[2]|0,s=Q0&8191,e=Q0>>>13,J0=D[3]|0,Z0=J0&8191,A0=J0>>>13,$0=D[4]|0,c=$0&8191,n=$0>>>13,H0=D[5]|0,Y0=H0&8191,D0=H0>>>13,q0=D[6]|0,X0=q0&8191,V0=q0>>>13,U$=D[7]|0,M0=U$&8191,v0=U$>>>13,L$=D[8]|0,p0=L$&8191,c0=L$>>>13,i$=D[9]|0,u0=i$&8191,h0=i$>>>13,QU=F[0]|0,r0=QU&8191,o0=QU>>>13,PU=F[1]|0,m=PU&8191,I0=PU>>>13,s0=F[2]|0,j0=s0&8191,N0=s0>>>13,F$=F[3]|0,x0=F$&8191,f0=F$>>>13,D$=F[4]|0,n0=D$&8191,i0=D$>>>13,VU=F[5]|0,a0=VU&8191,i=VU>>>13,G0=F[6]|0,E0=G0&8191,S0=G0>>>13,z$=F[7]|0,d0=z$&8191,t0=z$>>>13,HU=F[8]|0,X$=HU&8191,$$=HU>>>13,e$=F[9]|0,I$=e$&8191,e0=e$>>>13;H.negative=G.negative^K.negative,H.length=19,A=Math.imul(N,r0),z=Math.imul(N,o0),z=z+Math.imul(h,r0)|0,C=Math.imul(h,o0);var _U=(j+A|0)+((z&8191)<<13)|0;j=(C+(z>>>13)|0)+(_U>>>26)|0,_U&=67108863,A=Math.imul(U0,r0),z=Math.imul(U0,o0),z=z+Math.imul(O0,r0)|0,C=Math.imul(O0,o0),A=A+Math.imul(N,m)|0,z=z+Math.imul(N,I0)|0,z=z+Math.imul(h,m)|0,C=C+Math.imul(h,I0)|0;var B$=(j+A|0)+((z&8191)<<13)|0;j=(C+(z>>>13)|0)+(B$>>>26)|0,B$&=67108863,A=Math.imul(s,r0),z=Math.imul(s,o0),z=z+Math.imul(e,r0)|0,C=Math.imul(e,o0),A=A+Math.imul(U0,m)|0,z=z+Math.imul(U0,I0)|0,z=z+Math.imul(O0,m)|0,C=C+Math.imul(O0,I0)|0,A=A+Math.imul(N,j0)|0,z=z+Math.imul(N,N0)|0,z=z+Math.imul(h,j0)|0,C=C+Math.imul(h,N0)|0;var S$=(j+A|0)+((z&8191)<<13)|0;j=(C+(z>>>13)|0)+(S$>>>26)|0,S$&=67108863,A=Math.imul(Z0,r0),z=Math.imul(Z0,o0),z=z+Math.imul(A0,r0)|0,C=Math.imul(A0,o0),A=A+Math.imul(s,m)|0,z=z+Math.imul(s,I0)|0,z=z+Math.imul(e,m)|0,C=C+Math.imul(e,I0)|0,A=A+Math.imul(U0,j0)|0,z=z+Math.imul(U0,N0)|0,z=z+Math.imul(O0,j0)|0,C=C+Math.imul(O0,N0)|0,A=A+Math.imul(N,x0)|0,z=z+Math.imul(N,f0)|0,z=z+Math.imul(h,x0)|0,C=C+Math.imul(h,f0)|0;var $U=(j+A|0)+((z&8191)<<13)|0;j=(C+(z>>>13)|0)+($U>>>26)|0,$U&=67108863,A=Math.imul(c,r0),z=Math.imul(c,o0),z=z+Math.imul(n,r0)|0,C=Math.imul(n,o0),A=A+Math.imul(Z0,m)|0,z=z+Math.imul(Z0,I0)|0,z=z+Math.imul(A0,m)|0,C=C+Math.imul(A0,I0)|0,A=A+Math.imul(s,j0)|0,z=z+Math.imul(s,N0)|0,z=z+Math.imul(e,j0)|0,C=C+Math.imul(e,N0)|0,A=A+Math.imul(U0,x0)|0,z=z+Math.imul(U0,f0)|0,z=z+Math.imul(O0,x0)|0,C=C+Math.imul(O0,f0)|0,A=A+Math.imul(N,n0)|0,z=z+Math.imul(N,i0)|0,z=z+Math.imul(h,n0)|0,C=C+Math.imul(h,i0)|0;var d$=(j+A|0)+((z&8191)<<13)|0;j=(C+(z>>>13)|0)+(d$>>>26)|0,d$&=67108863,A=Math.imul(Y0,r0),z=Math.imul(Y0,o0),z=z+Math.imul(D0,r0)|0,C=Math.imul(D0,o0),A=A+Math.imul(c,m)|0,z=z+Math.imul(c,I0)|0,z=z+Math.imul(n,m)|0,C=C+Math.imul(n,I0)|0,A=A+Math.imul(Z0,j0)|0,z=z+Math.imul(Z0,N0)|0,z=z+Math.imul(A0,j0)|0,C=C+Math.imul(A0,N0)|0,A=A+Math.imul(s,x0)|0,z=z+Math.imul(s,f0)|0,z=z+Math.imul(e,x0)|0,C=C+Math.imul(e,f0)|0,A=A+Math.imul(U0,n0)|0,z=z+Math.imul(U0,i0)|0,z=z+Math.imul(O0,n0)|0,C=C+Math.imul(O0,i0)|0,A=A+Math.imul(N,a0)|0,z=z+Math.imul(N,i)|0,z=z+Math.imul(h,a0)|0,C=C+Math.imul(h,i)|0;var bU=(j+A|0)+((z&8191)<<13)|0;j=(C+(z>>>13)|0)+(bU>>>26)|0,bU&=67108863,A=Math.imul(X0,r0),z=Math.imul(X0,o0),z=z+Math.imul(V0,r0)|0,C=Math.imul(V0,o0),A=A+Math.imul(Y0,m)|0,z=z+Math.imul(Y0,I0)|0,z=z+Math.imul(D0,m)|0,C=C+Math.imul(D0,I0)|0,A=A+Math.imul(c,j0)|0,z=z+Math.imul(c,N0)|0,z=z+Math.imul(n,j0)|0,C=C+Math.imul(n,N0)|0,A=A+Math.imul(Z0,x0)|0,z=z+Math.imul(Z0,f0)|0,z=z+Math.imul(A0,x0)|0,C=C+Math.imul(A0,f0)|0,A=A+Math.imul(s,n0)|0,z=z+Math.imul(s,i0)|0,z=z+Math.imul(e,n0)|0,C=C+Math.imul(e,i0)|0,A=A+Math.imul(U0,a0)|0,z=z+Math.imul(U0,i)|0,z=z+Math.imul(O0,a0)|0,C=C+Math.imul(O0,i)|0,A=A+Math.imul(N,E0)|0,z=z+Math.imul(N,S0)|0,z=z+Math.imul(h,E0)|0,C=C+Math.imul(h,S0)|0;var uU=(j+A|0)+((z&8191)<<13)|0;j=(C+(z>>>13)|0)+(uU>>>26)|0,uU&=67108863,A=Math.imul(M0,r0),z=Math.imul(M0,o0),z=z+Math.imul(v0,r0)|0,C=Math.imul(v0,o0),A=A+Math.imul(X0,m)|0,z=z+Math.imul(X0,I0)|0,z=z+Math.imul(V0,m)|0,C=C+Math.imul(V0,I0)|0,A=A+Math.imul(Y0,j0)|0,z=z+Math.imul(Y0,N0)|0,z=z+Math.imul(D0,j0)|0,C=C+Math.imul(D0,N0)|0,A=A+Math.imul(c,x0)|0,z=z+Math.imul(c,f0)|0,z=z+Math.imul(n,x0)|0,C=C+Math.imul(n,f0)|0,A=A+Math.imul(Z0,n0)|0,z=z+Math.imul(Z0,i0)|0,z=z+Math.imul(A0,n0)|0,C=C+Math.imul(A0,i0)|0,A=A+Math.imul(s,a0)|0,z=z+Math.imul(s,i)|0,z=z+Math.imul(e,a0)|0,C=C+Math.imul(e,i)|0,A=A+Math.imul(U0,E0)|0,z=z+Math.imul(U0,S0)|0,z=z+Math.imul(O0,E0)|0,C=C+Math.imul(O0,S0)|0,A=A+Math.imul(N,d0)|0,z=z+Math.imul(N,t0)|0,z=z+Math.imul(h,d0)|0,C=C+Math.imul(h,t0)|0;var hU=(j+A|0)+((z&8191)<<13)|0;j=(C+(z>>>13)|0)+(hU>>>26)|0,hU&=67108863,A=Math.imul(p0,r0),z=Math.imul(p0,o0),z=z+Math.imul(c0,r0)|0,C=Math.imul(c0,o0),A=A+Math.imul(M0,m)|0,z=z+Math.imul(M0,I0)|0,z=z+Math.imul(v0,m)|0,C=C+Math.imul(v0,I0)|0,A=A+Math.imul(X0,j0)|0,z=z+Math.imul(X0,N0)|0,z=z+Math.imul(V0,j0)|0,C=C+Math.imul(V0,N0)|0,A=A+Math.imul(Y0,x0)|0,z=z+Math.imul(Y0,f0)|0,z=z+Math.imul(D0,x0)|0,C=C+Math.imul(D0,f0)|0,A=A+Math.imul(c,n0)|0,z=z+Math.imul(c,i0)|0,z=z+Math.imul(n,n0)|0,C=C+Math.imul(n,i0)|0,A=A+Math.imul(Z0,a0)|0,z=z+Math.imul(Z0,i)|0,z=z+Math.imul(A0,a0)|0,C=C+Math.imul(A0,i)|0,A=A+Math.imul(s,E0)|0,z=z+Math.imul(s,S0)|0,z=z+Math.imul(e,E0)|0,C=C+Math.imul(e,S0)|0,A=A+Math.imul(U0,d0)|0,z=z+Math.imul(U0,t0)|0,z=z+Math.imul(O0,d0)|0,C=C+Math.imul(O0,t0)|0,A=A+Math.imul(N,X$)|0,z=z+Math.imul(N,$$)|0,z=z+Math.imul(h,X$)|0,C=C+Math.imul(h,$$)|0;var cU=(j+A|0)+((z&8191)<<13)|0;j=(C+(z>>>13)|0)+(cU>>>26)|0,cU&=67108863,A=Math.imul(u0,r0),z=Math.imul(u0,o0),z=z+Math.imul(h0,r0)|0,C=Math.imul(h0,o0),A=A+Math.imul(p0,m)|0,z=z+Math.imul(p0,I0)|0,z=z+Math.imul(c0,m)|0,C=C+Math.imul(c0,I0)|0,A=A+Math.imul(M0,j0)|0,z=z+Math.imul(M0,N0)|0,z=z+Math.imul(v0,j0)|0,C=C+Math.imul(v0,N0)|0,A=A+Math.imul(X0,x0)|0,z=z+Math.imul(X0,f0)|0,z=z+Math.imul(V0,x0)|0,C=C+Math.imul(V0,f0)|0,A=A+Math.imul(Y0,n0)|0,z=z+Math.imul(Y0,i0)|0,z=z+Math.imul(D0,n0)|0,C=C+Math.imul(D0,i0)|0,A=A+Math.imul(c,a0)|0,z=z+Math.imul(c,i)|0,z=z+Math.imul(n,a0)|0,C=C+Math.imul(n,i)|0,A=A+Math.imul(Z0,E0)|0,z=z+Math.imul(Z0,S0)|0,z=z+Math.imul(A0,E0)|0,C=C+Math.imul(A0,S0)|0,A=A+Math.imul(s,d0)|0,z=z+Math.imul(s,t0)|0,z=z+Math.imul(e,d0)|0,C=C+Math.imul(e,t0)|0,A=A+Math.imul(U0,X$)|0,z=z+Math.imul(U0,$$)|0,z=z+Math.imul(O0,X$)|0,C=C+Math.imul(O0,$$)|0,A=A+Math.imul(N,I$)|0,z=z+Math.imul(N,e0)|0,z=z+Math.imul(h,I$)|0,C=C+Math.imul(h,e0)|0;var pU=(j+A|0)+((z&8191)<<13)|0;j=(C+(z>>>13)|0)+(pU>>>26)|0,pU&=67108863,A=Math.imul(u0,m),z=Math.imul(u0,I0),z=z+Math.imul(h0,m)|0,C=Math.imul(h0,I0),A=A+Math.imul(p0,j0)|0,z=z+Math.imul(p0,N0)|0,z=z+Math.imul(c0,j0)|0,C=C+Math.imul(c0,N0)|0,A=A+Math.imul(M0,x0)|0,z=z+Math.imul(M0,f0)|0,z=z+Math.imul(v0,x0)|0,C=C+Math.imul(v0,f0)|0,A=A+Math.imul(X0,n0)|0,z=z+Math.imul(X0,i0)|0,z=z+Math.imul(V0,n0)|0,C=C+Math.imul(V0,i0)|0,A=A+Math.imul(Y0,a0)|0,z=z+Math.imul(Y0,i)|0,z=z+Math.imul(D0,a0)|0,C=C+Math.imul(D0,i)|0,A=A+Math.imul(c,E0)|0,z=z+Math.imul(c,S0)|0,z=z+Math.imul(n,E0)|0,C=C+Math.imul(n,S0)|0,A=A+Math.imul(Z0,d0)|0,z=z+Math.imul(Z0,t0)|0,z=z+Math.imul(A0,d0)|0,C=C+Math.imul(A0,t0)|0,A=A+Math.imul(s,X$)|0,z=z+Math.imul(s,$$)|0,z=z+Math.imul(e,X$)|0,C=C+Math.imul(e,$$)|0,A=A+Math.imul(U0,I$)|0,z=z+Math.imul(U0,e0)|0,z=z+Math.imul(O0,I$)|0,C=C+Math.imul(O0,e0)|0;var r$=(j+A|0)+((z&8191)<<13)|0;j=(C+(z>>>13)|0)+(r$>>>26)|0,r$&=67108863,A=Math.imul(u0,j0),z=Math.imul(u0,N0),z=z+Math.imul(h0,j0)|0,C=Math.imul(h0,N0),A=A+Math.imul(p0,x0)|0,z=z+Math.imul(p0,f0)|0,z=z+Math.imul(c0,x0)|0,C=C+Math.imul(c0,f0)|0,A=A+Math.imul(M0,n0)|0,z=z+Math.imul(M0,i0)|0,z=z+Math.imul(v0,n0)|0,C=C+Math.imul(v0,i0)|0,A=A+Math.imul(X0,a0)|0,z=z+Math.imul(X0,i)|0,z=z+Math.imul(V0,a0)|0,C=C+Math.imul(V0,i)|0,A=A+Math.imul(Y0,E0)|0,z=z+Math.imul(Y0,S0)|0,z=z+Math.imul(D0,E0)|0,C=C+Math.imul(D0,S0)|0,A=A+Math.imul(c,d0)|0,z=z+Math.imul(c,t0)|0,z=z+Math.imul(n,d0)|0,C=C+Math.imul(n,t0)|0,A=A+Math.imul(Z0,X$)|0,z=z+Math.imul(Z0,$$)|0,z=z+Math.imul(A0,X$)|0,C=C+Math.imul(A0,$$)|0,A=A+Math.imul(s,I$)|0,z=z+Math.imul(s,e0)|0,z=z+Math.imul(e,I$)|0,C=C+Math.imul(e,e0)|0;var LU=(j+A|0)+((z&8191)<<13)|0;j=(C+(z>>>13)|0)+(LU>>>26)|0,LU&=67108863,A=Math.imul(u0,x0),z=Math.imul(u0,f0),z=z+Math.imul(h0,x0)|0,C=Math.imul(h0,f0),A=A+Math.imul(p0,n0)|0,z=z+Math.imul(p0,i0)|0,z=z+Math.imul(c0,n0)|0,C=C+Math.imul(c0,i0)|0,A=A+Math.imul(M0,a0)|0,z=z+Math.imul(M0,i)|0,z=z+Math.imul(v0,a0)|0,C=C+Math.imul(v0,i)|0,A=A+Math.imul(X0,E0)|0,z=z+Math.imul(X0,S0)|0,z=z+Math.imul(V0,E0)|0,C=C+Math.imul(V0,S0)|0,A=A+Math.imul(Y0,d0)|0,z=z+Math.imul(Y0,t0)|0,z=z+Math.imul(D0,d0)|0,C=C+Math.imul(D0,t0)|0,A=A+Math.imul(c,X$)|0,z=z+Math.imul(c,$$)|0,z=z+Math.imul(n,X$)|0,C=C+Math.imul(n,$$)|0,A=A+Math.imul(Z0,I$)|0,z=z+Math.imul(Z0,e0)|0,z=z+Math.imul(A0,I$)|0,C=C+Math.imul(A0,e0)|0;var DU=(j+A|0)+((z&8191)<<13)|0;j=(C+(z>>>13)|0)+(DU>>>26)|0,DU&=67108863,A=Math.imul(u0,n0),z=Math.imul(u0,i0),z=z+Math.imul(h0,n0)|0,C=Math.imul(h0,i0),A=A+Math.imul(p0,a0)|0,z=z+Math.imul(p0,i)|0,z=z+Math.imul(c0,a0)|0,C=C+Math.imul(c0,i)|0,A=A+Math.imul(M0,E0)|0,z=z+Math.imul(M0,S0)|0,z=z+Math.imul(v0,E0)|0,C=C+Math.imul(v0,S0)|0,A=A+Math.imul(X0,d0)|0,z=z+Math.imul(X0,t0)|0,z=z+Math.imul(V0,d0)|0,C=C+Math.imul(V0,t0)|0,A=A+Math.imul(Y0,X$)|0,z=z+Math.imul(Y0,$$)|0,z=z+Math.imul(D0,X$)|0,C=C+Math.imul(D0,$$)|0,A=A+Math.imul(c,I$)|0,z=z+Math.imul(c,e0)|0,z=z+Math.imul(n,I$)|0,C=C+Math.imul(n,e0)|0;var mU=(j+A|0)+((z&8191)<<13)|0;j=(C+(z>>>13)|0)+(mU>>>26)|0,mU&=67108863,A=Math.imul(u0,a0),z=Math.imul(u0,i),z=z+Math.imul(h0,a0)|0,C=Math.imul(h0,i),A=A+Math.imul(p0,E0)|0,z=z+Math.imul(p0,S0)|0,z=z+Math.imul(c0,E0)|0,C=C+Math.imul(c0,S0)|0,A=A+Math.imul(M0,d0)|0,z=z+Math.imul(M0,t0)|0,z=z+Math.imul(v0,d0)|0,C=C+Math.imul(v0,t0)|0,A=A+Math.imul(X0,X$)|0,z=z+Math.imul(X0,$$)|0,z=z+Math.imul(V0,X$)|0,C=C+Math.imul(V0,$$)|0,A=A+Math.imul(Y0,I$)|0,z=z+Math.imul(Y0,e0)|0,z=z+Math.imul(D0,I$)|0,C=C+Math.imul(D0,e0)|0;var EU=(j+A|0)+((z&8191)<<13)|0;j=(C+(z>>>13)|0)+(EU>>>26)|0,EU&=67108863,A=Math.imul(u0,E0),z=Math.imul(u0,S0),z=z+Math.imul(h0,E0)|0,C=Math.imul(h0,S0),A=A+Math.imul(p0,d0)|0,z=z+Math.imul(p0,t0)|0,z=z+Math.imul(c0,d0)|0,C=C+Math.imul(c0,t0)|0,A=A+Math.imul(M0,X$)|0,z=z+Math.imul(M0,$$)|0,z=z+Math.imul(v0,X$)|0,C=C+Math.imul(v0,$$)|0,A=A+Math.imul(X0,I$)|0,z=z+Math.imul(X0,e0)|0,z=z+Math.imul(V0,I$)|0,C=C+Math.imul(V0,e0)|0;var NU=(j+A|0)+((z&8191)<<13)|0;j=(C+(z>>>13)|0)+(NU>>>26)|0,NU&=67108863,A=Math.imul(u0,d0),z=Math.imul(u0,t0),z=z+Math.imul(h0,d0)|0,C=Math.imul(h0,t0),A=A+Math.imul(p0,X$)|0,z=z+Math.imul(p0,$$)|0,z=z+Math.imul(c0,X$)|0,C=C+Math.imul(c0,$$)|0,A=A+Math.imul(M0,I$)|0,z=z+Math.imul(M0,e0)|0,z=z+Math.imul(v0,I$)|0,C=C+Math.imul(v0,e0)|0;var xU=(j+A|0)+((z&8191)<<13)|0;j=(C+(z>>>13)|0)+(xU>>>26)|0,xU&=67108863,A=Math.imul(u0,X$),z=Math.imul(u0,$$),z=z+Math.imul(h0,X$)|0,C=Math.imul(h0,$$),A=A+Math.imul(p0,I$)|0,z=z+Math.imul(p0,e0)|0,z=z+Math.imul(c0,I$)|0,C=C+Math.imul(c0,e0)|0;var RU=(j+A|0)+((z&8191)<<13)|0;j=(C+(z>>>13)|0)+(RU>>>26)|0,RU&=67108863,A=Math.imul(u0,I$),z=Math.imul(u0,e0),z=z+Math.imul(h0,I$)|0,C=Math.imul(h0,e0);var MU=(j+A|0)+((z&8191)<<13)|0;if(j=(C+(z>>>13)|0)+(MU>>>26)|0,MU&=67108863,P[0]=_U,P[1]=B$,P[2]=S$,P[3]=$U,P[4]=d$,P[5]=bU,P[6]=uU,P[7]=hU,P[8]=cU,P[9]=pU,P[10]=r$,P[11]=LU,P[12]=DU,P[13]=mU,P[14]=EU,P[15]=NU,P[16]=xU,P[17]=RU,P[18]=MU,j!==0)P[19]=j,H.length++;return H};if(!Math.imul)w=y;function u(G,K,H){H.negative=K.negative^G.negative,H.length=G.length+K.length;var D=0,F=0;for(var P=0;P<H.length-1;P++){var j=F;F=0;var A=D&67108863,z=Math.min(P,K.length-1);for(var C=Math.max(0,P-G.length+1);C<=z;C++){var g=P-C,N=G.words[g]|0,h=K.words[C]|0,r=N*h,U0=r&67108863;j=j+(r/67108864|0)|0,U0=U0+A|0,A=U0&67108863,j=j+(U0>>>26)|0,F+=j>>>26,j&=67108863}H.words[P]=A,D=j,j=F}if(D!==0)H.words[P]=D;else H.length--;return H.strip()}function x(G,K,H){var D=new b;return D.mulp(G,K,H)}Z.prototype.mulTo=function(G,K){var H,D=this.length+G.length;if(this.length===10&&G.length===10)H=w(this,G,K);else if(D<63)H=y(this,G,K);else if(D<1024)H=u(this,G,K);else H=x(this,G,K);return H};function b(G,K){this.x=G,this.y=K}b.prototype.makeRBT=function(G){var K=Array(G),H=Z.prototype._countBits(G)-1;for(var D=0;D<G;D++)K[D]=this.revBin(D,H,G);return K},b.prototype.revBin=function(G,K,H){if(G===0||G===H-1)return G;var D=0;for(var F=0;F<K;F++)D|=(G&1)<<K-F-1,G>>=1;return D},b.prototype.permute=function(G,K,H,D,F,P){for(var j=0;j<P;j++)D[j]=K[G[j]],F[j]=H[G[j]]},b.prototype.transform=function(G,K,H,D,F,P){this.permute(P,G,K,H,D,F);for(var j=1;j<F;j<<=1){var A=j<<1,z=Math.cos(2*Math.PI/A),C=Math.sin(2*Math.PI/A);for(var g=0;g<F;g+=A){var N=z,h=C;for(var r=0;r<j;r++){var U0=H[g+r],O0=D[g+r],Q0=H[g+r+j],s=D[g+r+j],e=N*Q0-h*s;if(s=N*s+h*Q0,Q0=e,H[g+r]=U0+Q0,D[g+r]=O0+s,H[g+r+j]=U0-Q0,D[g+r+j]=O0-s,r!==A)e=z*N-C*h,h=z*h+C*N,N=e}}}},b.prototype.guessLen13b=function(G,K){var H=Math.max(K,G)|1,D=H&1,F=0;for(H=H/2|0;H;H=H>>>1)F++;return 1<<F+1+D},b.prototype.conjugate=function(G,K,H){if(H<=1)return;for(var D=0;D<H/2;D++){var F=G[D];G[D]=G[H-D-1],G[H-D-1]=F,F=K[D],K[D]=-K[H-D-1],K[H-D-1]=-F}},b.prototype.normalize13b=function(G,K){var H=0;for(var D=0;D<K/2;D++){var F=Math.round(G[2*D+1]/K)*8192+Math.round(G[2*D]/K)+H;if(G[D]=F&67108863,F<67108864)H=0;else H=F/67108864|0}return G},b.prototype.convert13b=function(G,K,H,D){var F=0;for(var P=0;P<K;P++)F=F+(G[P]|0),H[2*P]=F&8191,F=F>>>13,H[2*P+1]=F&8191,F=F>>>13;for(P=2*K;P<D;++P)H[P]=0;I(F===0),I((F&-8192)===0)},b.prototype.stub=function(G){var K=Array(G);for(var H=0;H<G;H++)K[H]=0;return K},b.prototype.mulp=function(G,K,H){var D=2*this.guessLen13b(G.length,K.length),F=this.makeRBT(D),P=this.stub(D),j=Array(D),A=Array(D),z=Array(D),C=Array(D),g=Array(D),N=Array(D),h=H.words;h.length=D,this.convert13b(G.words,G.length,j,D),this.convert13b(K.words,K.length,C,D),this.transform(j,P,A,z,D,F),this.transform(C,P,g,N,D,F);for(var r=0;r<D;r++){var U0=A[r]*g[r]-z[r]*N[r];z[r]=A[r]*N[r]+z[r]*g[r],A[r]=U0}return this.conjugate(A,z,D),this.transform(A,z,h,P,D,F),this.conjugate(h,P,D),this.normalize13b(h,D),H.negative=G.negative^K.negative,H.length=G.length+K.length,H.strip()},Z.prototype.mul=function(G){var K=new Z(null);return K.words=Array(this.length+G.length),this.mulTo(G,K)},Z.prototype.mulf=function(G){var K=new Z(null);return K.words=Array(this.length+G.length),x(this,G,K)},Z.prototype.imul=function(G){return this.clone().mulTo(G,this)},Z.prototype.imuln=function(G){I(typeof G==="number"),I(G<67108864);var K=0;for(var H=0;H<this.length;H++){var D=(this.words[H]|0)*G,F=(D&67108863)+(K&67108863);K>>=26,K+=D/67108864|0,K+=F>>>26,this.words[H]=F&67108863}if(K!==0)this.words[H]=K,this.length++;return this.length=G===0?1:this.length,this},Z.prototype.muln=function(G){return this.clone().imuln(G)},Z.prototype.sqr=function(){return this.mul(this)},Z.prototype.isqr=function(){return this.imul(this.clone())},Z.prototype.pow=function(G){var K=q(G);if(K.length===0)return new Z(1);var H=this;for(var D=0;D<K.length;D++,H=H.sqr())if(K[D]!==0)break;if(++D<K.length)for(var F=H.sqr();D<K.length;D++,F=F.sqr()){if(K[D]===0)continue;H=H.mul(F)}return H},Z.prototype.iushln=function(G){I(typeof G==="number"&&G>=0);var K=G%26,H=(G-K)/26,D=67108863>>>26-K<<26-K,F;if(K!==0){var P=0;for(F=0;F<this.length;F++){var j=this.words[F]&D,A=(this.words[F]|0)-j<<K;this.words[F]=A|P,P=j>>>26-K}if(P)this.words[F]=P,this.length++}if(H!==0){for(F=this.length-1;F>=0;F--)this.words[F+H]=this.words[F];for(F=0;F<H;F++)this.words[F]=0;this.length+=H}return this.strip()},Z.prototype.ishln=function(G){return I(this.negative===0),this.iushln(G)},Z.prototype.iushrn=function(G,K,H){I(typeof G==="number"&&G>=0);var D;if(K)D=(K-K%26)/26;else D=0;var F=G%26,P=Math.min((G-F)/26,this.length),j=67108863^67108863>>>F<<F,A=H;if(D-=P,D=Math.max(0,D),A){for(var z=0;z<P;z++)A.words[z]=this.words[z];A.length=P}if(P===0);else if(this.length>P){this.length-=P;for(z=0;z<this.length;z++)this.words[z]=this.words[z+P]}else this.words[0]=0,this.length=1;var C=0;for(z=this.length-1;z>=0&&(C!==0||z>=D);z--){var g=this.words[z]|0;this.words[z]=C<<26-F|g>>>F,C=g&j}if(A&&C!==0)A.words[A.length++]=C;if(this.length===0)this.words[0]=0,this.length=1;return this.strip()},Z.prototype.ishrn=function(G,K,H){return I(this.negative===0),this.iushrn(G,K,H)},Z.prototype.shln=function(G){return this.clone().ishln(G)},Z.prototype.ushln=function(G){return this.clone().iushln(G)},Z.prototype.shrn=function(G){return this.clone().ishrn(G)},Z.prototype.ushrn=function(G){return this.clone().iushrn(G)},Z.prototype.testn=function(G){I(typeof G==="number"&&G>=0);var K=G%26,H=(G-K)/26,D=1<<K;if(this.length<=H)return!1;var F=this.words[H];return!!(F&D)},Z.prototype.imaskn=function(G){I(typeof G==="number"&&G>=0);var K=G%26,H=(G-K)/26;if(I(this.negative===0,"imaskn works only with positive numbers"),this.length<=H)return this;if(K!==0)H++;if(this.length=Math.min(H,this.length),K!==0){var D=67108863^67108863>>>K<<K;this.words[this.length-1]&=D}return this.strip()},Z.prototype.maskn=function(G){return this.clone().imaskn(G)},Z.prototype.iaddn=function(G){if(I(typeof G==="number"),I(G<67108864),G<0)return this.isubn(-G);if(this.negative!==0){if(this.length===1&&(this.words[0]|0)<G)return this.words[0]=G-(this.words[0]|0),this.negative=0,this;return this.negative=0,this.isubn(G),this.negative=1,this}return this._iaddn(G)},Z.prototype._iaddn=function(G){this.words[0]+=G;for(var K=0;K<this.length&&this.words[K]>=67108864;K++)if(this.words[K]-=67108864,K===this.length-1)this.words[K+1]=1;else this.words[K+1]++;return this.length=Math.max(this.length,K+1),this},Z.prototype.isubn=function(G){if(I(typeof G==="number"),I(G<67108864),G<0)return this.iaddn(-G);if(this.negative!==0)return this.negative=0,this.iaddn(G),this.negative=1,this;if(this.words[0]-=G,this.length===1&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var K=0;K<this.length&&this.words[K]<0;K++)this.words[K]+=67108864,this.words[K+1]-=1;return this.strip()},Z.prototype.addn=function(G){return this.clone().iaddn(G)},Z.prototype.subn=function(G){return this.clone().isubn(G)},Z.prototype.iabs=function(){return this.negative=0,this},Z.prototype.abs=function(){return this.clone().iabs()},Z.prototype._ishlnsubmul=function(G,K,H){var D=G.length+H,F;this._expand(D);var P,j=0;for(F=0;F<G.length;F++){P=(this.words[F+H]|0)+j;var A=(G.words[F]|0)*K;P-=A&67108863,j=(P>>26)-(A/67108864|0),this.words[F+H]=P&67108863}for(;F<this.length-H;F++)P=(this.words[F+H]|0)+j,j=P>>26,this.words[F+H]=P&67108863;if(j===0)return this.strip();I(j===-1),j=0;for(F=0;F<this.length;F++)P=-(this.words[F]|0)+j,j=P>>26,this.words[F]=P&67108863;return this.negative=1,this.strip()},Z.prototype._wordDiv=function(G,K){var H=this.length-G.length,D=this.clone(),F=G,P=F.words[F.length-1]|0,j=this._countBits(P);if(H=26-j,H!==0)F=F.ushln(H),D.iushln(H),P=F.words[F.length-1]|0;var A=D.length-F.length,z;if(K!=="mod"){z=new Z(null),z.length=A+1,z.words=Array(z.length);for(var C=0;C<z.length;C++)z.words[C]=0}var g=D.clone()._ishlnsubmul(F,1,A);if(g.negative===0){if(D=g,z)z.words[A]=1}for(var N=A-1;N>=0;N--){var h=(D.words[F.length+N]|0)*67108864+(D.words[F.length+N-1]|0);h=Math.min(h/P|0,67108863),D._ishlnsubmul(F,h,N);while(D.negative!==0)if(h--,D.negative=0,D._ishlnsubmul(F,1,N),!D.isZero())D.negative^=1;if(z)z.words[N]=h}if(z)z.strip();if(D.strip(),K!=="div"&&H!==0)D.iushrn(H);return{div:z||null,mod:D}},Z.prototype.divmod=function(G,K,H){if(I(!G.isZero()),this.isZero())return{div:new Z(0),mod:new Z(0)};var D,F,P;if(this.negative!==0&&G.negative===0){if(P=this.neg().divmod(G,K),K!=="mod")D=P.div.neg();if(K!=="div"){if(F=P.mod.neg(),H&&F.negative!==0)F.iadd(G)}return{div:D,mod:F}}if(this.negative===0&&G.negative!==0){if(P=this.divmod(G.neg(),K),K!=="mod")D=P.div.neg();return{div:D,mod:P.mod}}if((this.negative&G.negative)!==0){if(P=this.neg().divmod(G.neg(),K),K!=="div"){if(F=P.mod.neg(),H&&F.negative!==0)F.isub(G)}return{div:P.div,mod:F}}if(G.length>this.length||this.cmp(G)<0)return{div:new Z(0),mod:this};if(G.length===1){if(K==="div")return{div:this.divn(G.words[0]),mod:null};if(K==="mod")return{div:null,mod:new Z(this.modn(G.words[0]))};return{div:this.divn(G.words[0]),mod:new Z(this.modn(G.words[0]))}}return this._wordDiv(G,K)},Z.prototype.div=function(G){return this.divmod(G,"div",!1).div},Z.prototype.mod=function(G){return this.divmod(G,"mod",!1).mod},Z.prototype.umod=function(G){return this.divmod(G,"mod",!0).mod},Z.prototype.divRound=function(G){var K=this.divmod(G);if(K.mod.isZero())return K.div;var H=K.div.negative!==0?K.mod.isub(G):K.mod,D=G.ushrn(1),F=G.andln(1),P=H.cmp(D);if(P<0||F===1&&P===0)return K.div;return K.div.negative!==0?K.div.isubn(1):K.div.iaddn(1)},Z.prototype.modn=function(G){I(G<=67108863);var K=67108864%G,H=0;for(var D=this.length-1;D>=0;D--)H=(K*H+(this.words[D]|0))%G;return H},Z.prototype.idivn=function(G){I(G<=67108863);var K=0;for(var H=this.length-1;H>=0;H--){var D=(this.words[H]|0)+K*67108864;this.words[H]=D/G|0,K=D%G}return this.strip()},Z.prototype.divn=function(G){return this.clone().idivn(G)},Z.prototype.egcd=function(G){I(G.negative===0),I(!G.isZero());var K=this,H=G.clone();if(K.negative!==0)K=K.umod(G);else K=K.clone();var D=new Z(1),F=new Z(0),P=new Z(0),j=new Z(1),A=0;while(K.isEven()&&H.isEven())K.iushrn(1),H.iushrn(1),++A;var z=H.clone(),C=K.clone();while(!K.isZero()){for(var g=0,N=1;(K.words[0]&N)===0&&g<26;++g,N<<=1);if(g>0){K.iushrn(g);while(g-- >0){if(D.isOdd()||F.isOdd())D.iadd(z),F.isub(C);D.iushrn(1),F.iushrn(1)}}for(var h=0,r=1;(H.words[0]&r)===0&&h<26;++h,r<<=1);if(h>0){H.iushrn(h);while(h-- >0){if(P.isOdd()||j.isOdd())P.iadd(z),j.isub(C);P.iushrn(1),j.iushrn(1)}}if(K.cmp(H)>=0)K.isub(H),D.isub(P),F.isub(j);else H.isub(K),P.isub(D),j.isub(F)}return{a:P,b:j,gcd:H.iushln(A)}},Z.prototype._invmp=function(G){I(G.negative===0),I(!G.isZero());var K=this,H=G.clone();if(K.negative!==0)K=K.umod(G);else K=K.clone();var D=new Z(1),F=new Z(0),P=H.clone();while(K.cmpn(1)>0&&H.cmpn(1)>0){for(var j=0,A=1;(K.words[0]&A)===0&&j<26;++j,A<<=1);if(j>0){K.iushrn(j);while(j-- >0){if(D.isOdd())D.iadd(P);D.iushrn(1)}}for(var z=0,C=1;(H.words[0]&C)===0&&z<26;++z,C<<=1);if(z>0){H.iushrn(z);while(z-- >0){if(F.isOdd())F.iadd(P);F.iushrn(1)}}if(K.cmp(H)>=0)K.isub(H),D.isub(F);else H.isub(K),F.isub(D)}var g;if(K.cmpn(1)===0)g=D;else g=F;if(g.cmpn(0)<0)g.iadd(G);return g},Z.prototype.gcd=function(G){if(this.isZero())return G.abs();if(G.isZero())return this.abs();var K=this.clone(),H=G.clone();K.negative=0,H.negative=0;for(var D=0;K.isEven()&&H.isEven();D++)K.iushrn(1),H.iushrn(1);do{while(K.isEven())K.iushrn(1);while(H.isEven())H.iushrn(1);var F=K.cmp(H);if(F<0){var P=K;K=H,H=P}else if(F===0||H.cmpn(1)===0)break;K.isub(H)}while(!0);return H.iushln(D)},Z.prototype.invm=function(G){return this.egcd(G).a.umod(G)},Z.prototype.isEven=function(){return(this.words[0]&1)===0},Z.prototype.isOdd=function(){return(this.words[0]&1)===1},Z.prototype.andln=function(G){return this.words[0]&G},Z.prototype.bincn=function(G){I(typeof G==="number");var K=G%26,H=(G-K)/26,D=1<<K;if(this.length<=H)return this._expand(H+1),this.words[H]|=D,this;var F=D;for(var P=H;F!==0&&P<this.length;P++){var j=this.words[P]|0;j+=F,F=j>>>26,j&=67108863,this.words[P]=j}if(F!==0)this.words[P]=F,this.length++;return this},Z.prototype.isZero=function(){return this.length===1&&this.words[0]===0},Z.prototype.cmpn=function(G){var K=G<0;if(this.negative!==0&&!K)return-1;if(this.negative===0&&K)return 1;this.strip();var H;if(this.length>1)H=1;else{if(K)G=-G;I(G<=67108863,"Number is too big");var D=this.words[0]|0;H=D===G?0:D<G?-1:1}if(this.negative!==0)return-H|0;return H},Z.prototype.cmp=function(G){if(this.negative!==0&&G.negative===0)return-1;if(this.negative===0&&G.negative!==0)return 1;var K=this.ucmp(G);if(this.negative!==0)return-K|0;return K},Z.prototype.ucmp=function(G){if(this.length>G.length)return 1;if(this.length<G.length)return-1;var K=0;for(var H=this.length-1;H>=0;H--){var D=this.words[H]|0,F=G.words[H]|0;if(D===F)continue;if(D<F)K=-1;else if(D>F)K=1;break}return K},Z.prototype.gtn=function(G){return this.cmpn(G)===1},Z.prototype.gt=function(G){return this.cmp(G)===1},Z.prototype.gten=function(G){return this.cmpn(G)>=0},Z.prototype.gte=function(G){return this.cmp(G)>=0},Z.prototype.ltn=function(G){return this.cmpn(G)===-1},Z.prototype.lt=function(G){return this.cmp(G)===-1},Z.prototype.lten=function(G){return this.cmpn(G)<=0},Z.prototype.lte=function(G){return this.cmp(G)<=0},Z.prototype.eqn=function(G){return this.cmpn(G)===0},Z.prototype.eq=function(G){return this.cmp(G)===0},Z.red=function(G){return new t(G)},Z.prototype.toRed=function(G){return I(!this.red,"Already a number in reduction context"),I(this.negative===0,"red works only with positives"),G.convertTo(this)._forceRed(G)},Z.prototype.fromRed=function(){return I(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},Z.prototype._forceRed=function(G){return this.red=G,this},Z.prototype.forceRed=function(G){return I(!this.red,"Already a number in reduction context"),this._forceRed(G)},Z.prototype.redAdd=function(G){return I(this.red,"redAdd works only with red numbers"),this.red.add(this,G)},Z.prototype.redIAdd=function(G){return I(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,G)},Z.prototype.redSub=function(G){return I(this.red,"redSub works only with red numbers"),this.red.sub(this,G)},Z.prototype.redISub=function(G){return I(this.red,"redISub works only with red numbers"),this.red.isub(this,G)},Z.prototype.redShl=function(G){return I(this.red,"redShl works only with red numbers"),this.red.shl(this,G)},Z.prototype.redMul=function(G){return I(this.red,"redMul works only with red numbers"),this.red._verify2(this,G),this.red.mul(this,G)},Z.prototype.redIMul=function(G){return I(this.red,"redMul works only with red numbers"),this.red._verify2(this,G),this.red.imul(this,G)},Z.prototype.redSqr=function(){return I(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},Z.prototype.redISqr=function(){return I(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},Z.prototype.redSqrt=function(){return I(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},Z.prototype.redInvm=function(){return I(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},Z.prototype.redNeg=function(){return I(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},Z.prototype.redPow=function(G){return I(this.red&&!G.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,G)};var p={k256:null,p224:null,p192:null,p25519:null};function d(G,K){this.name=G,this.p=new Z(K,16),this.n=this.p.bitLength(),this.k=new Z(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}d.prototype._tmp=function(){var G=new Z(null);return G.words=Array(Math.ceil(this.n/13)),G},d.prototype.ireduce=function(G){var K=G,H;do this.split(K,this.tmp),K=this.imulK(K),K=K.iadd(this.tmp),H=K.bitLength();while(H>this.n);var D=H<this.n?-1:K.ucmp(this.p);if(D===0)K.words[0]=0,K.length=1;else if(D>0)K.isub(this.p);else if(K.strip!==void 0)K.strip();else K._strip();return K},d.prototype.split=function(G,K){G.iushrn(this.n,0,K)},d.prototype.imulK=function(G){return G.imul(this.k)};function a(){d.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}O(a,d),a.prototype.split=function(G,K){var H=4194303,D=Math.min(G.length,9);for(var F=0;F<D;F++)K.words[F]=G.words[F];if(K.length=D,G.length<=9){G.words[0]=0,G.length=1;return}var P=G.words[9];K.words[K.length++]=P&H;for(F=10;F<G.length;F++){var j=G.words[F]|0;G.words[F-10]=(j&H)<<4|P>>>22,P=j}if(P>>>=22,G.words[F-10]=P,P===0&&G.length>10)G.length-=10;else G.length-=9},a.prototype.imulK=function(G){G.words[G.length]=0,G.words[G.length+1]=0,G.length+=2;var K=0;for(var H=0;H<G.length;H++){var D=G.words[H]|0;K+=D*977,G.words[H]=K&67108863,K=D*64+(K/67108864|0)}if(G.words[G.length-1]===0){if(G.length--,G.words[G.length-1]===0)G.length--}return G};function F0(){d.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}O(F0,d);function L0(){d.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}O(L0,d);function R0(){d.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}O(R0,d),R0.prototype.imulK=function(G){var K=0;for(var H=0;H<G.length;H++){var D=(G.words[H]|0)*19+K,F=D&67108863;D>>>=26,G.words[H]=F,K=D}if(K!==0)G.words[G.length++]=K;return G},Z._prime=function(G){if(p[G])return p[G];var K;if(G==="k256")K=new a;else if(G==="p224")K=new F0;else if(G==="p192")K=new L0;else if(G==="p25519")K=new R0;else throw Error("Unknown prime "+G);return p[G]=K,K};function t(G){if(typeof G==="string"){var K=Z._prime(G);this.m=K.p,this.prime=K}else I(G.gtn(1),"modulus must be greater than 1"),this.m=G,this.prime=null}t.prototype._verify1=function(G){I(G.negative===0,"red works only with positives"),I(G.red,"red works only with red numbers")},t.prototype._verify2=function(G,K){I((G.negative|K.negative)===0,"red works only with positives"),I(G.red&&G.red===K.red,"red works only with red numbers")},t.prototype.imod=function(G){if(this.prime)return this.prime.ireduce(G)._forceRed(this);return G.umod(this.m)._forceRed(this)},t.prototype.neg=function(G){if(G.isZero())return G.clone();return this.m.sub(G)._forceRed(this)},t.prototype.add=function(G,K){this._verify2(G,K);var H=G.add(K);if(H.cmp(this.m)>=0)H.isub(this.m);return H._forceRed(this)},t.prototype.iadd=function(G,K){this._verify2(G,K);var H=G.iadd(K);if(H.cmp(this.m)>=0)H.isub(this.m);return H},t.prototype.sub=function(G,K){this._verify2(G,K);var H=G.sub(K);if(H.cmpn(0)<0)H.iadd(this.m);return H._forceRed(this)},t.prototype.isub=function(G,K){this._verify2(G,K);var H=G.isub(K);if(H.cmpn(0)<0)H.iadd(this.m);return H},t.prototype.shl=function(G,K){return this._verify1(G),this.imod(G.ushln(K))},t.prototype.imul=function(G,K){return this._verify2(G,K),this.imod(G.imul(K))},t.prototype.mul=function(G,K){return this._verify2(G,K),this.imod(G.mul(K))},t.prototype.isqr=function(G){return this.imul(G,G.clone())},t.prototype.sqr=function(G){return this.mul(G,G)},t.prototype.sqrt=function(G){if(G.isZero())return G.clone();var K=this.m.andln(3);if(I(K%2===1),K===3){var H=this.m.add(new Z(1)).iushrn(2);return this.pow(G,H)}var D=this.m.subn(1),F=0;while(!D.isZero()&&D.andln(1)===0)F++,D.iushrn(1);I(!D.isZero());var P=new Z(1).toRed(this),j=P.redNeg(),A=this.m.subn(1).iushrn(1),z=this.m.bitLength();z=new Z(2*z*z).toRed(this);while(this.pow(z,A).cmp(j)!==0)z.redIAdd(j);var C=this.pow(z,D),g=this.pow(G,D.addn(1).iushrn(1)),N=this.pow(G,D),h=F;while(N.cmp(P)!==0){var r=N;for(var U0=0;r.cmp(P)!==0;U0++)r=r.redSqr();I(U0<h);var O0=this.pow(C,new Z(1).iushln(h-U0-1));g=g.redMul(O0),C=O0.redSqr(),N=N.redMul(C),h=U0}return g},t.prototype.invm=function(G){var K=G._invmp(this.m);if(K.negative!==0)return K.negative=0,this.imod(K).redNeg();else return this.imod(K)},t.prototype.pow=function(G,K){if(K.isZero())return new Z(1).toRed(this);if(K.cmpn(1)===0)return G.clone();var H=4,D=Array(1<<H);D[0]=new Z(1).toRed(this),D[1]=G;for(var F=2;F<D.length;F++)D[F]=this.mul(D[F-1],G);var P=D[0],j=0,A=0,z=K.bitLength()%26;if(z===0)z=26;for(F=K.length-1;F>=0;F--){var C=K.words[F];for(var g=z-1;g>=0;g--){var N=C>>g&1;if(P!==D[0])P=this.sqr(P);if(N===0&&j===0){A=0;continue}if(j<<=1,j|=N,A++,A!==H&&(F!==0||g!==0))continue;P=this.mul(P,D[j]),A=0,j=0}z=26}return P},t.prototype.convertTo=function(G){var K=G.umod(this.m);return K===G?K.clone():K},t.prototype.convertFrom=function(G){var K=G.clone();return K.red=null,K},Z.mont=function(G){return new C0(G)};function C0(G){if(t.call(this,G),this.shift=this.m.bitLength(),this.shift%26!==0)this.shift+=26-this.shift%26;this.r=new Z(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}O(C0,t),C0.prototype.convertTo=function(G){return this.imod(G.ushln(this.shift))},C0.prototype.convertFrom=function(G){var K=this.imod(G.mul(this.rinv));return K.red=null,K},C0.prototype.imul=function(G,K){if(G.isZero()||K.isZero())return G.words[0]=0,G.length=1,G;var H=G.imul(K),D=H.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),F=H.isub(D).iushrn(this.shift),P=F;if(F.cmp(this.m)>=0)P=F.isub(this.m);else if(F.cmpn(0)<0)P=F.iadd(this.m);return P._forceRed(this)},C0.prototype.mul=function(G,K){if(G.isZero()||K.isZero())return new Z(0)._forceRed(this);var H=G.mul(K),D=H.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),F=H.isub(D).iushrn(this.shift),P=F;if(F.cmp(this.m)>=0)P=F.isub(this.m);else if(F.cmpn(0)<0)P=F.iadd(this.m);return P._forceRed(this)},C0.prototype.invm=function(G){var K=this.imod(G._invmp(this.m).mul(this.r2));return K._forceRed(this)}})(typeof J>"u"||J,X)}),Kf=b0((X)=>{var J=U2(),Y=F1(),V=X;V.define=function(O,Z){return new I(O,Z)};function I(O,Z){this.name=O,this.body=Z,this.decoders={},this.encoders={}}I.prototype._createNamed=function(O){var Z;try{Z=(()=>{throw new Error("Cannot require module "+"vm");})().runInThisContext("(function "+this.name+`(entity) {
241
+ this._initNamed(entity);
242
+ })`)}catch(L){Z=function(B){this._initNamed(B)}}return Y(Z,O),Z.prototype._initNamed=function(L){O.call(this,L)},new Z(this)},I.prototype._getDecoder=function(O){if(O=O||"der",!this.decoders.hasOwnProperty(O))this.decoders[O]=this._createNamed(J.decoders[O]);return this.decoders[O]},I.prototype.decode=function(O,Z,L){return this._getDecoder(Z).decode(O,L)},I.prototype._getEncoder=function(O){if(O=O||"der",!this.encoders.hasOwnProperty(O))this.encoders[O]=this._createNamed(J.encoders[O]);return this.encoders[O]},I.prototype.encode=function(O,Z,L){return this._getEncoder(Z).encode(O,L)}}),Wf=b0((X)=>{var J=F1();function Y(I){this._reporterState={obj:null,path:[],options:I||{},errors:[]}}X.Reporter=Y,Y.prototype.isError=function(I){return I instanceof V},Y.prototype.save=function(){var I=this._reporterState;return{obj:I.obj,pathLen:I.path.length}},Y.prototype.restore=function(I){var O=this._reporterState;O.obj=I.obj,O.path=O.path.slice(0,I.pathLen)},Y.prototype.enterKey=function(I){return this._reporterState.path.push(I)},Y.prototype.exitKey=function(I){var O=this._reporterState;O.path=O.path.slice(0,I-1)},Y.prototype.leaveKey=function(I,O,Z){var L=this._reporterState;if(this.exitKey(I),L.obj!==null)L.obj[O]=Z},Y.prototype.path=function(){return this._reporterState.path.join("/")},Y.prototype.enterObject=function(){var I=this._reporterState,O=I.obj;return I.obj={},O},Y.prototype.leaveObject=function(I){var O=this._reporterState,Z=O.obj;return O.obj=I,Z},Y.prototype.error=function(I){var O,Z=this._reporterState,L=I instanceof V;if(L)O=I;else O=new V(Z.path.map(function(B){return"["+JSON.stringify(B)+"]"}).join(""),I.message||I,I.stack);if(!Z.options.partial)throw O;if(!L)Z.errors.push(O);return O},Y.prototype.wrapResult=function(I){var O=this._reporterState;if(!O.options.partial)return I;return{result:this.isError(I)?null:I,errors:O.errors}};function V(I,O){this.path=I,this.rethrow(O)}J(V,Error),V.prototype.rethrow=function(I){if(this.message=I+" at: "+(this.path||"(shallow)"),Error.captureStackTrace)Error.captureStackTrace(this,V);if(!this.stack)try{throw Error(this.message)}catch(O){this.stack=O.stack}return this}}),kS=b0((X)=>{var J=F1(),Y=tG().Reporter,V=(oU(),j$(nU)).Buffer;function I(Z,L){if(Y.call(this,L),!V.isBuffer(Z)){this.error("Input not Buffer");return}this.base=Z,this.offset=0,this.length=Z.length}J(I,Y),X.DecoderBuffer=I,I.prototype.save=function(){return{offset:this.offset,reporter:Y.prototype.save.call(this)}},I.prototype.restore=function(Z){var L=new I(this.base);return L.offset=Z.offset,L.length=this.offset,this.offset=Z.offset,Y.prototype.restore.call(this,Z.reporter),L},I.prototype.isEmpty=function(){return this.offset===this.length},I.prototype.readUInt8=function(Z){if(this.offset+1<=this.length)return this.base.readUInt8(this.offset++,!0);else return this.error(Z||"DecoderBuffer overrun")},I.prototype.skip=function(Z,L){if(!(this.offset+Z<=this.length))return this.error(L||"DecoderBuffer overrun");var B=new I(this.base);return B._reporterState=this._reporterState,B.offset=this.offset,B.length=this.offset+Z,this.offset+=Z,B},I.prototype.raw=function(Z){return this.base.slice(Z?Z.offset:this.offset,this.length)};function O(Z,L){if(Array.isArray(Z))this.length=0,this.value=Z.map(function(B){if(!(B instanceof O))B=new O(B,L);return this.length+=B.length,B},this);else if(typeof Z==="number"){if(!(0<=Z&&Z<=255))return L.error("non-byte EncoderBuffer value");this.value=Z,this.length=1}else if(typeof Z==="string")this.value=Z,this.length=V.byteLength(Z);else if(V.isBuffer(Z))this.value=Z,this.length=Z.length;else return L.error("Unsupported type: "+typeof Z)}X.EncoderBuffer=O,O.prototype.join=function(Z,L){if(!Z)Z=new V(this.length);if(!L)L=0;if(this.length===0)return Z;if(Array.isArray(this.value))this.value.forEach(function(B){B.join(Z,L),L+=B.length});else{if(typeof this.value==="number")Z[L]=this.value;else if(typeof this.value==="string")Z.write(this.value,L);else if(V.isBuffer(this.value))this.value.copy(Z,L);L+=this.length}return Z}}),Ff=b0((X,J)=>{var Y=tG().Reporter,V=tG().EncoderBuffer,I=tG().DecoderBuffer,O=II(),Z=["seq","seqof","set","setof","objid","bool","gentime","utctime","null_","enum","int","objDesc","bitstr","bmpstr","charstr","genstr","graphstr","ia5str","iso646str","numstr","octstr","printstr","t61str","unistr","utf8str","videostr"],L=["key","obj","use","optional","explicit","implicit","def","choice","any","contains"].concat(Z),B=["_peekTag","_decodeTag","_use","_decodeStr","_decodeObjid","_decodeTime","_decodeNull","_decodeInt","_decodeBool","_decodeList","_encodeComposite","_encodeStr","_encodeObjid","_encodeTime","_encodeNull","_encodeInt","_encodeBool"];function R(T,E){var v={};if(this._baseState=v,v.enc=T,v.parent=E||null,v.children=null,v.tag=null,v.args=null,v.reverseArgs=null,v.choice=null,v.optional=!1,v.any=!1,v.obj=!1,v.use=null,v.useDecoder=null,v.key=null,v.default=null,v.explicit=null,v.implicit=null,v.contains=null,!v.parent)v.children=[],this._wrap()}J.exports=R;var S=["enc","parent","children","tag","args","reverseArgs","choice","optional","any","obj","use","alteredUse","key","default","explicit","implicit","contains"];R.prototype.clone=function(){var T=this._baseState,E={};S.forEach(function(q){E[q]=T[q]});var v=new this.constructor(E.parent);return v._baseState=E,v},R.prototype._wrap=function(){var T=this._baseState;L.forEach(function(E){this[E]=function(){var v=new this.constructor(this);return T.children.push(v),v[E].apply(v,arguments)}},this)},R.prototype._init=function(T){var E=this._baseState;O(E.parent===null),T.call(this),E.children=E.children.filter(function(v){return v._baseState.parent===this},this),O.equal(E.children.length,1,"Root node can have only one child")},R.prototype._useArgs=function(T){var E=this._baseState,v=T.filter(function(q){return q instanceof this.constructor},this);if(T=T.filter(function(q){return!(q instanceof this.constructor)},this),v.length!==0)O(E.children===null),E.children=v,v.forEach(function(q){q._baseState.parent=this},this);if(T.length!==0)O(E.args===null),E.args=T,E.reverseArgs=T.map(function(q){if(typeof q!=="object"||q.constructor!==Object)return q;var y={};return Object.keys(q).forEach(function(w){if(w==(w|0))w|=0;var u=q[w];y[u]=w}),y})},B.forEach(function(T){R.prototype[T]=function(){var E=this._baseState;throw Error(T+" not implemented for encoding: "+E.enc)}}),Z.forEach(function(T){R.prototype[T]=function(){var E=this._baseState,v=Array.prototype.slice.call(arguments);return O(E.tag===null),E.tag=T,this._useArgs(v),this}}),R.prototype.use=function(T){O(T);var E=this._baseState;return O(E.use===null),E.use=T,this},R.prototype.optional=function(){var T=this._baseState;return T.optional=!0,this},R.prototype.def=function(T){var E=this._baseState;return O(E.default===null),E.default=T,E.optional=!0,this},R.prototype.explicit=function(T){var E=this._baseState;return O(E.explicit===null&&E.implicit===null),E.explicit=T,this},R.prototype.implicit=function(T){var E=this._baseState;return O(E.explicit===null&&E.implicit===null),E.implicit=T,this},R.prototype.obj=function(){var T=this._baseState,E=Array.prototype.slice.call(arguments);if(T.obj=!0,E.length!==0)this._useArgs(E);return this},R.prototype.key=function(T){var E=this._baseState;return O(E.key===null),E.key=T,this},R.prototype.any=function(){var T=this._baseState;return T.any=!0,this},R.prototype.choice=function(T){var E=this._baseState;return O(E.choice===null),E.choice=T,this._useArgs(Object.keys(T).map(function(v){return T[v]})),this},R.prototype.contains=function(T){var E=this._baseState;return O(E.use===null),E.contains=T,this},R.prototype._decode=function(T,E){var v=this._baseState;if(v.parent===null)return T.wrapResult(v.children[0]._decode(T,E));var q=v.default,y=!0,w=null;if(v.key!==null)w=T.enterKey(v.key);if(v.optional){var u=null;if(v.explicit!==null)u=v.explicit;else if(v.implicit!==null)u=v.implicit;else if(v.tag!==null)u=v.tag;if(u===null&&!v.any){var x=T.save();try{if(v.choice===null)this._decodeGeneric(v.tag,T,E);else this._decodeChoice(T,E);y=!0}catch(L0){y=!1}T.restore(x)}else if(y=this._peekTag(T,u,v.any),T.isError(y))return y}var b;if(v.obj&&y)b=T.enterObject();if(y){if(v.explicit!==null){var p=this._decodeTag(T,v.explicit);if(T.isError(p))return p;T=p}var d=T.offset;if(v.use===null&&v.choice===null){if(v.any)var x=T.save();var a=this._decodeTag(T,v.implicit!==null?v.implicit:v.tag,v.any);if(T.isError(a))return a;if(v.any)q=T.raw(x);else T=a}if(E&&E.track&&v.tag!==null)E.track(T.path(),d,T.length,"tagged");if(E&&E.track&&v.tag!==null)E.track(T.path(),T.offset,T.length,"content");if(v.any)q=q;else if(v.choice===null)q=this._decodeGeneric(v.tag,T,E);else q=this._decodeChoice(T,E);if(T.isError(q))return q;if(!v.any&&v.choice===null&&v.children!==null)v.children.forEach(function(L0){L0._decode(T,E)});if(v.contains&&(v.tag==="octstr"||v.tag==="bitstr")){var F0=new I(q);q=this._getUse(v.contains,T._reporterState.obj)._decode(F0,E)}}if(v.obj&&y)q=T.leaveObject(b);if(v.key!==null&&(q!==null||y===!0))T.leaveKey(w,v.key,q);else if(w!==null)T.exitKey(w);return q},R.prototype._decodeGeneric=function(T,E,v){var q=this._baseState;if(T==="seq"||T==="set")return null;if(T==="seqof"||T==="setof")return this._decodeList(E,T,q.args[0],v);else if(/str$/.test(T))return this._decodeStr(E,T,v);else if(T==="objid"&&q.args)return this._decodeObjid(E,q.args[0],q.args[1],v);else if(T==="objid")return this._decodeObjid(E,null,null,v);else if(T==="gentime"||T==="utctime")return this._decodeTime(E,T,v);else if(T==="null_")return this._decodeNull(E,v);else if(T==="bool")return this._decodeBool(E,v);else if(T==="objDesc")return this._decodeStr(E,T,v);else if(T==="int"||T==="enum")return this._decodeInt(E,q.args&&q.args[0],v);if(q.use!==null)return this._getUse(q.use,E._reporterState.obj)._decode(E,v);else return E.error("unknown tag: "+T)},R.prototype._getUse=function(T,E){var v=this._baseState;if(v.useDecoder=this._use(T,E),O(v.useDecoder._baseState.parent===null),v.useDecoder=v.useDecoder._baseState.children[0],v.implicit!==v.useDecoder._baseState.implicit)v.useDecoder=v.useDecoder.clone(),v.useDecoder._baseState.implicit=v.implicit;return v.useDecoder},R.prototype._decodeChoice=function(T,E){var v=this._baseState,q=null,y=!1;if(Object.keys(v.choice).some(function(w){var u=T.save(),x=v.choice[w];try{var b=x._decode(T,E);if(T.isError(b))return!1;q={type:w,value:b},y=!0}catch(p){return T.restore(u),!1}return!0},this),!y)return T.error("Choice not matched");return q},R.prototype._createEncoderBuffer=function(T){return new V(T,this.reporter)},R.prototype._encode=function(T,E,v){var q=this._baseState;if(q.default!==null&&q.default===T)return;var y=this._encodeValue(T,E,v);if(y===void 0)return;if(this._skipDefault(y,E,v))return;return y},R.prototype._encodeValue=function(T,E,v){var q=this._baseState;if(q.parent===null)return q.children[0]._encode(T,E||new Y);var x=null;if(this.reporter=E,q.optional&&T===void 0)if(q.default!==null)T=q.default;else return;var y=null,w=!1;if(q.any)x=this._createEncoderBuffer(T);else if(q.choice)x=this._encodeChoice(T,E);else if(q.contains)y=this._getUse(q.contains,v)._encode(T,E),w=!0;else if(q.children)y=q.children.map(function(d){if(d._baseState.tag==="null_")return d._encode(null,E,T);if(d._baseState.key===null)return E.error("Child should have a key");var a=E.enterKey(d._baseState.key);if(typeof T!=="object")return E.error("Child expected, but input is not object");var F0=d._encode(T[d._baseState.key],E,T);return E.leaveKey(a),F0},this).filter(function(d){return d}),y=this._createEncoderBuffer(y);else if(q.tag==="seqof"||q.tag==="setof"){if(!(q.args&&q.args.length===1))return E.error("Too many args for : "+q.tag);if(!Array.isArray(T))return E.error("seqof/setof, but data is not Array");var u=this.clone();u._baseState.implicit=null,y=this._createEncoderBuffer(T.map(function(d){var a=this._baseState;return this._getUse(a.args[0],T)._encode(d,E)},u))}else if(q.use!==null)x=this._getUse(q.use,v)._encode(T,E);else y=this._encodePrimitive(q.tag,T),w=!0;var x;if(!q.any&&q.choice===null){var b=q.implicit!==null?q.implicit:q.tag,p=q.implicit===null?"universal":"context";if(b===null){if(q.use===null)E.error("Tag could be omitted only for .use()")}else if(q.use===null)x=this._encodeComposite(b,w,p,y)}if(q.explicit!==null)x=this._encodeComposite(q.explicit,!1,"context",x);return x},R.prototype._encodeChoice=function(T,E){var v=this._baseState,q=v.choice[T.type];if(!q)O(!1,T.type+" not found in "+JSON.stringify(Object.keys(v.choice)));return q._encode(T.value,E)},R.prototype._encodePrimitive=function(T,E){var v=this._baseState;if(/str$/.test(T))return this._encodeStr(E,T);else if(T==="objid"&&v.args)return this._encodeObjid(E,v.reverseArgs[0],v.args[1]);else if(T==="objid")return this._encodeObjid(E,null,null);else if(T==="gentime"||T==="utctime")return this._encodeTime(E,T);else if(T==="null_")return this._encodeNull();else if(T==="int"||T==="enum")return this._encodeInt(E,v.args&&v.reverseArgs[0]);else if(T==="bool")return this._encodeBool(E);else if(T==="objDesc")return this._encodeStr(E,T);else throw Error("Unsupported tag: "+T)},R.prototype._isNumstr=function(T){return/^[0-9 ]*$/.test(T)},R.prototype._isPrintstr=function(T){return/^[A-Za-z0-9 '\(\)\+,\-\.\/:=\?]*$/.test(T)}}),tG=b0((X)=>{var J=X;J.Reporter=Wf().Reporter,J.DecoderBuffer=kS().DecoderBuffer,J.EncoderBuffer=kS().EncoderBuffer,J.Node=Ff()}),Hf=b0((X)=>{var J=aS();X.tagClass={0:"universal",1:"application",2:"context",3:"private"},X.tagClassByName=J._reverse(X.tagClass),X.tag={0:"end",1:"bool",2:"int",3:"bitstr",4:"octstr",5:"null_",6:"objid",7:"objDesc",8:"external",9:"real",10:"enum",11:"embed",12:"utf8str",13:"relativeOid",16:"seq",17:"set",18:"numstr",19:"printstr",20:"t61str",21:"videostr",22:"ia5str",23:"utctime",24:"gentime",25:"graphstr",26:"iso646str",27:"genstr",28:"unistr",29:"charstr",30:"bmpstr"},X.tagByName=J._reverse(X.tag)}),aS=b0((X)=>{var J=X;J._reverse=function(Y){var V={};return Object.keys(Y).forEach(function(I){if((I|0)==I)I=I|0;var O=Y[I];V[O]=I}),V},J.der=Hf()}),sS=b0((X,J)=>{var Y=F1(),V=U2(),I=V.base,O=V.bignum,Z=V.constants.der;function L(T){this.enc="der",this.name=T.name,this.entity=T,this.tree=new B,this.tree._init(T.body)}J.exports=L,L.prototype.decode=function(T,E){if(!(T instanceof I.DecoderBuffer))T=new I.DecoderBuffer(T,E);return this.tree._decode(T,E)};function B(T){I.Node.call(this,"der",T)}Y(B,I.Node),B.prototype._peekTag=function(T,E,v){if(T.isEmpty())return!1;var q=T.save(),y=R(T,'Failed to peek tag: "'+E+'"');if(T.isError(y))return y;return T.restore(q),y.tag===E||y.tagStr===E||y.tagStr+"of"===E||v},B.prototype._decodeTag=function(T,E,v){var q=R(T,'Failed to decode tag of "'+E+'"');if(T.isError(q))return q;var y=S(T,q.primitive,'Failed to get length of "'+E+'"');if(T.isError(y))return y;if(!v&&q.tag!==E&&q.tagStr!==E&&q.tagStr+"of"!==E)return T.error('Failed to match tag: "'+E+'"');if(q.primitive||y!==null)return T.skip(y,'Failed to match body of: "'+E+'"');var w=T.save(),u=this._skipUntilEnd(T,'Failed to skip indefinite length body: "'+this.tag+'"');if(T.isError(u))return u;return y=T.offset-w.offset,T.restore(w),T.skip(y,'Failed to match body of: "'+E+'"')},B.prototype._skipUntilEnd=function(T,E){while(!0){var v=R(T,E);if(T.isError(v))return v;var q=S(T,v.primitive,E);if(T.isError(q))return q;var y;if(v.primitive||q!==null)y=T.skip(q);else y=this._skipUntilEnd(T,E);if(T.isError(y))return y;if(v.tagStr==="end")break}},B.prototype._decodeList=function(T,E,v,q){var y=[];while(!T.isEmpty()){var w=this._peekTag(T,"end");if(T.isError(w))return w;var u=v.decode(T,"der",q);if(T.isError(u)&&w)break;y.push(u)}return y},B.prototype._decodeStr=function(T,E){if(E==="bitstr"){var v=T.readUInt8();if(T.isError(v))return v;return{unused:v,data:T.raw()}}else if(E==="bmpstr"){var q=T.raw();if(q.length%2===1)return T.error("Decoding of string type: bmpstr length mismatch");var y="";for(var w=0;w<q.length/2;w++)y+=String.fromCharCode(q.readUInt16BE(w*2));return y}else if(E==="numstr"){var u=T.raw().toString("ascii");if(!this._isNumstr(u))return T.error("Decoding of string type: numstr unsupported characters");return u}else if(E==="octstr")return T.raw();else if(E==="objDesc")return T.raw();else if(E==="printstr"){var x=T.raw().toString("ascii");if(!this._isPrintstr(x))return T.error("Decoding of string type: printstr unsupported characters");return x}else if(/str$/.test(E))return T.raw().toString();else return T.error("Decoding of string type: "+E+" unsupported")},B.prototype._decodeObjid=function(T,E,v){var q,y=[],w=0;while(!T.isEmpty()){var u=T.readUInt8();if(w<<=7,w|=u&127,(u&128)===0)y.push(w),w=0}if(u&128)y.push(w);var x=y[0]/40|0,b=y[0]%40;if(v)q=y;else q=[x,b].concat(y.slice(1));if(E){var p=E[q.join(" ")];if(p===void 0)p=E[q.join(".")];if(p!==void 0)q=p}return q},B.prototype._decodeTime=function(T,E){var v=T.raw().toString();if(E==="gentime")var q=v.slice(0,4)|0,y=v.slice(4,6)|0,w=v.slice(6,8)|0,u=v.slice(8,10)|0,x=v.slice(10,12)|0,b=v.slice(12,14)|0;else if(E==="utctime"){var q=v.slice(0,2)|0,y=v.slice(2,4)|0,w=v.slice(4,6)|0,u=v.slice(6,8)|0,x=v.slice(8,10)|0,b=v.slice(10,12)|0;if(q<70)q=2000+q;else q=1900+q}else return T.error("Decoding "+E+" time is not supported yet");return Date.UTC(q,y-1,w,u,x,b,0)},B.prototype._decodeNull=function(T){return null},B.prototype._decodeBool=function(T){var E=T.readUInt8();if(T.isError(E))return E;else return E!==0},B.prototype._decodeInt=function(T,E){var v=T.raw(),q=new O(v);if(E)q=E[q.toString(10)]||q;return q},B.prototype._use=function(T,E){if(typeof T==="function")T=T(E);return T._getDecoder("der").tree};function R(T,E){var v=T.readUInt8(E);if(T.isError(v))return v;var q=Z.tagClass[v>>6],y=(v&32)===0;if((v&31)===31){var w=v;v=0;while((w&128)===128){if(w=T.readUInt8(E),T.isError(w))return w;v<<=7,v|=w&127}}else v&=31;var u=Z.tag[v];return{cls:q,primitive:y,tag:v,tagStr:u}}function S(T,E,v){var q=T.readUInt8(v);if(T.isError(q))return q;if(!E&&q===128)return null;if((q&128)===0)return q;var y=q&127;if(y>4)return T.error("length octect is too long");q=0;for(var w=0;w<y;w++){q<<=8;var u=T.readUInt8(v);if(T.isError(u))return u;q|=u}return q}}),Lf=b0((X,J)=>{var Y=F1(),V=(oU(),j$(nU)).Buffer,I=sS();function O(Z){I.call(this,Z),this.enc="pem"}Y(O,I),J.exports=O,O.prototype.decode=function(Z,L){var B=Z.toString().split(/[\r\n]+/g),R=L.label.toUpperCase(),S=/^-----(BEGIN|END) ([^-]+)-----$/,T=-1,E=-1;for(var v=0;v<B.length;v++){var q=B[v].match(S);if(q===null)continue;if(q[2]!==R)continue;if(T===-1){if(q[1]!=="BEGIN")break;T=v}else{if(q[1]!=="END")break;E=v;break}}if(T===-1||E===-1)throw Error("PEM section not found for: "+R);var y=B.slice(T+1,E).join("");y.replace(/[^a-z0-9\+\/=]+/gi,"");var w=new V(y,"base64");return I.prototype.decode.call(this,w,L)}}),Mf=b0((X)=>{var J=X;J.der=sS(),J.pem=Lf()}),eS=b0((X,J)=>{var Y=F1(),V=(oU(),j$(nU)).Buffer,I=U2(),O=I.base,Z=I.constants.der;function L(T){this.enc="der",this.name=T.name,this.entity=T,this.tree=new B,this.tree._init(T.body)}J.exports=L,L.prototype.encode=function(T,E){return this.tree._encode(T,E).join()};function B(T){O.Node.call(this,"der",T)}Y(B,O.Node),B.prototype._encodeComposite=function(T,E,v,q){var y=S(T,E,v,this.reporter);if(q.length<128){var x=new V(2);return x[0]=y,x[1]=q.length,this._createEncoderBuffer([x,q])}var w=1;for(var u=q.length;u>=256;u>>=8)w++;var x=new V(2+w);x[0]=y,x[1]=128|w;for(var u=1+w,b=q.length;b>0;u--,b>>=8)x[u]=b&255;return this._createEncoderBuffer([x,q])},B.prototype._encodeStr=function(T,E){if(E==="bitstr")return this._createEncoderBuffer([T.unused|0,T.data]);else if(E==="bmpstr"){var v=new V(T.length*2);for(var q=0;q<T.length;q++)v.writeUInt16BE(T.charCodeAt(q),q*2);return this._createEncoderBuffer(v)}else if(E==="numstr"){if(!this._isNumstr(T))return this.reporter.error("Encoding of string type: numstr supports only digits and space");return this._createEncoderBuffer(T)}else if(E==="printstr"){if(!this._isPrintstr(T))return this.reporter.error("Encoding of string type: printstr supports only latin upper and lower case letters, digits, space, apostrophe, left and rigth parenthesis, plus sign, comma, hyphen, dot, slash, colon, equal sign, question mark");return this._createEncoderBuffer(T)}else if(/str$/.test(E))return this._createEncoderBuffer(T);else if(E==="objDesc")return this._createEncoderBuffer(T);else return this.reporter.error("Encoding of string type: "+E+" unsupported")},B.prototype._encodeObjid=function(T,E,v){if(typeof T==="string"){if(!E)return this.reporter.error("string objid given, but no values map found");if(!E.hasOwnProperty(T))return this.reporter.error("objid not found in values map");T=E[T].split(/[\s\.]+/g);for(var q=0;q<T.length;q++)T[q]|=0}else if(Array.isArray(T)){T=T.slice();for(var q=0;q<T.length;q++)T[q]|=0}if(!Array.isArray(T))return this.reporter.error("objid() should be either array or string, got: "+JSON.stringify(T));if(!v){if(T[1]>=40)return this.reporter.error("Second objid identifier OOB");T.splice(0,2,T[0]*40+T[1])}var y=0;for(var q=0;q<T.length;q++){var w=T[q];for(y++;w>=128;w>>=7)y++}var u=new V(y),x=u.length-1;for(var q=T.length-1;q>=0;q--){var w=T[q];u[x--]=w&127;while((w>>=7)>0)u[x--]=128|w&127}return this._createEncoderBuffer(u)};function R(T){if(T<10)return"0"+T;else return T}B.prototype._encodeTime=function(T,E){var v,q=new Date(T);if(E==="gentime")v=[R(q.getFullYear()),R(q.getUTCMonth()+1),R(q.getUTCDate()),R(q.getUTCHours()),R(q.getUTCMinutes()),R(q.getUTCSeconds()),"Z"].join("");else if(E==="utctime")v=[R(q.getFullYear()%100),R(q.getUTCMonth()+1),R(q.getUTCDate()),R(q.getUTCHours()),R(q.getUTCMinutes()),R(q.getUTCSeconds()),"Z"].join("");else this.reporter.error("Encoding "+E+" time is not supported yet");return this._encodeStr(v,"octstr")},B.prototype._encodeNull=function(){return this._createEncoderBuffer("")},B.prototype._encodeInt=function(T,E){if(typeof T==="string"){if(!E)return this.reporter.error("String int or enum given, but no values map");if(!E.hasOwnProperty(T))return this.reporter.error("Values map doesn't contain: "+JSON.stringify(T));T=E[T]}if(typeof T!=="number"&&!V.isBuffer(T)){var v=T.toArray();if(!T.sign&&v[0]&128)v.unshift(0);T=new V(v)}if(V.isBuffer(T)){var q=T.length;if(T.length===0)q++;var w=new V(q);if(T.copy(w),T.length===0)w[0]=0;return this._createEncoderBuffer(w)}if(T<128)return this._createEncoderBuffer(T);if(T<256)return this._createEncoderBuffer([0,T]);var q=1;for(var y=T;y>=256;y>>=8)q++;var w=Array(q);for(var y=w.length-1;y>=0;y--)w[y]=T&255,T>>=8;if(w[0]&128)w.unshift(0);return this._createEncoderBuffer(new V(w))},B.prototype._encodeBool=function(T){return this._createEncoderBuffer(T?255:0)},B.prototype._use=function(T,E){if(typeof T==="function")T=T(E);return T._getEncoder("der").tree},B.prototype._skipDefault=function(T,E,v){var q=this._baseState,y;if(q.default===null)return!1;var w=T.join();if(q.defaultBuffer===void 0)q.defaultBuffer=this._encodeValue(q.default,E,v).join();if(w.length!==q.defaultBuffer.length)return!1;for(y=0;y<w.length;y++)if(w[y]!==q.defaultBuffer[y])return!1;return!0};function S(T,E,v,q){var y;if(T==="seqof")T="seq";else if(T==="setof")T="set";if(Z.tagByName.hasOwnProperty(T))y=Z.tagByName[T];else if(typeof T==="number"&&(T|0)===T)y=T;else return q.error("Unknown tag: "+T);if(y>=31)return q.error("Multi-octet tag encoding unsupported");if(!E)y|=32;return y|=Z.tagClassByName[v||"universal"]<<6,y}}),Af=b0((X,J)=>{var Y=F1(),V=eS();function I(O){V.call(this,O),this.enc="pem"}Y(I,V),J.exports=I,I.prototype.encode=function(O,Z){var L=V.prototype.encode.call(this,O),B=L.toString("base64"),R=["-----BEGIN "+Z.label+"-----"];for(var S=0;S<B.length;S+=64)R.push(B.slice(S,S+64));return R.push("-----END "+Z.label+"-----"),R.join(`
243
+ `)}}),Tf=b0((X)=>{var J=X;J.der=eS(),J.pem=Af()}),U2=b0((X)=>{var J=X;J.bignum=Df(),J.define=Kf().define,J.base=tG(),J.constants=aS(),J.decoders=Mf(),J.encoders=Tf()}),Cf=b0((X,J)=>{var Y=U2(),V=Y.define("Time",function(){this.choice({utcTime:this.utctime(),generalTime:this.gentime()})}),I=Y.define("AttributeTypeValue",function(){this.seq().obj(this.key("type").objid(),this.key("value").any())}),O=Y.define("AlgorithmIdentifier",function(){this.seq().obj(this.key("algorithm").objid(),this.key("parameters").optional(),this.key("curve").objid().optional())}),Z=Y.define("SubjectPublicKeyInfo",function(){this.seq().obj(this.key("algorithm").use(O),this.key("subjectPublicKey").bitstr())}),L=Y.define("RelativeDistinguishedName",function(){this.setof(I)}),B=Y.define("RDNSequence",function(){this.seqof(L)}),R=Y.define("Name",function(){this.choice({rdnSequence:this.use(B)})}),S=Y.define("Validity",function(){this.seq().obj(this.key("notBefore").use(V),this.key("notAfter").use(V))}),T=Y.define("Extension",function(){this.seq().obj(this.key("extnID").objid(),this.key("critical").bool().def(!1),this.key("extnValue").octstr())}),E=Y.define("TBSCertificate",function(){this.seq().obj(this.key("version").explicit(0).int().optional(),this.key("serialNumber").int(),this.key("signature").use(O),this.key("issuer").use(R),this.key("validity").use(S),this.key("subject").use(R),this.key("subjectPublicKeyInfo").use(Z),this.key("issuerUniqueID").implicit(1).bitstr().optional(),this.key("subjectUniqueID").implicit(2).bitstr().optional(),this.key("extensions").explicit(3).seqof(T).optional())}),v=Y.define("X509Certificate",function(){this.seq().obj(this.key("tbsCertificate").use(E),this.key("signatureAlgorithm").use(O),this.key("signatureValue").bitstr())});J.exports=v}),Pf=b0((X)=>{var J=U2();X.certificate=Cf();var Y=J.define("RSAPrivateKey",function(){this.seq().obj(this.key("version").int(),this.key("modulus").int(),this.key("publicExponent").int(),this.key("privateExponent").int(),this.key("prime1").int(),this.key("prime2").int(),this.key("exponent1").int(),this.key("exponent2").int(),this.key("coefficient").int())});X.RSAPrivateKey=Y;var V=J.define("RSAPublicKey",function(){this.seq().obj(this.key("modulus").int(),this.key("publicExponent").int())});X.RSAPublicKey=V;var I=J.define("AlgorithmIdentifier",function(){this.seq().obj(this.key("algorithm").objid(),this.key("none").null_().optional(),this.key("curve").objid().optional(),this.key("params").seq().obj(this.key("p").int(),this.key("q").int(),this.key("g").int()).optional())}),O=J.define("SubjectPublicKeyInfo",function(){this.seq().obj(this.key("algorithm").use(I),this.key("subjectPublicKey").bitstr())});X.PublicKey=O;var Z=J.define("PrivateKeyInfo",function(){this.seq().obj(this.key("version").int(),this.key("algorithm").use(I),this.key("subjectPrivateKey").octstr())});X.PrivateKey=Z;var L=J.define("EncryptedPrivateKeyInfo",function(){this.seq().obj(this.key("algorithm").seq().obj(this.key("id").objid(),this.key("decrypt").seq().obj(this.key("kde").seq().obj(this.key("id").objid(),this.key("kdeparams").seq().obj(this.key("salt").octstr(),this.key("iters").int())),this.key("cipher").seq().obj(this.key("algo").objid(),this.key("iv").octstr()))),this.key("subjectPrivateKey").octstr())});X.EncryptedPrivateKey=L;var B=J.define("DSAPrivateKey",function(){this.seq().obj(this.key("version").int(),this.key("p").int(),this.key("q").int(),this.key("g").int(),this.key("pub_key").int(),this.key("priv_key").int())});X.DSAPrivateKey=B,X.DSAparam=J.define("DSAparam",function(){this.int()});var R=J.define("ECParameters",function(){this.choice({namedCurve:this.objid()})}),S=J.define("ECPrivateKey",function(){this.seq().obj(this.key("version").int(),this.key("privateKey").octstr(),this.key("parameters").optional().explicit(0).use(R),this.key("publicKey").optional().explicit(1).bitstr())});X.ECPrivateKey=S,X.signature=J.define("signature",function(){this.seq().obj(this.key("r").int(),this.key("s").int())})}),_f=b0((X,J)=>{J.exports={"2.16.840.1.101.3.4.1.1":"aes-128-ecb","2.16.840.1.101.3.4.1.2":"aes-128-cbc","2.16.840.1.101.3.4.1.3":"aes-128-ofb","2.16.840.1.101.3.4.1.4":"aes-128-cfb","2.16.840.1.101.3.4.1.21":"aes-192-ecb","2.16.840.1.101.3.4.1.22":"aes-192-cbc","2.16.840.1.101.3.4.1.23":"aes-192-ofb","2.16.840.1.101.3.4.1.24":"aes-192-cfb","2.16.840.1.101.3.4.1.41":"aes-256-ecb","2.16.840.1.101.3.4.1.42":"aes-256-cbc","2.16.840.1.101.3.4.1.43":"aes-256-ofb","2.16.840.1.101.3.4.1.44":"aes-256-cfb"}}),Ef=b0((X,J)=>{var Y=f6().Buffer,V=BQ().Transform,I=F1();function O(R){V.call(this),this._block=Y.allocUnsafe(R),this._blockSize=R,this._blockOffset=0,this._length=[0,0,0,0],this._finalized=!1}I(O,V),O.prototype._transform=function(R,S,T){var E=null;try{this.update(R,S)}catch(v){E=v}T(E)},O.prototype._flush=function(R){var S=null;try{this.push(this.digest())}catch(T){S=T}R(S)};var Z=typeof Uint8Array<"u",L=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u"&&ArrayBuffer.isView&&(Y.prototype instanceof Uint8Array||Y.TYPED_ARRAY_SUPPORT);function B(R,S){if(R instanceof Y)return R;if(typeof R==="string")return Y.from(R,S);if(L&&ArrayBuffer.isView(R)){if(R.byteLength===0)return Y.alloc(0);var T=Y.from(R.buffer,R.byteOffset,R.byteLength);if(T.byteLength===R.byteLength)return T}if(Z&&R instanceof Uint8Array)return Y.from(R);if(Y.isBuffer(R)&&R.constructor&&typeof R.constructor.isBuffer==="function"&&R.constructor.isBuffer(R))return Y.from(R);throw TypeError('The "data" argument must be of type string or an instance of Buffer, TypedArray, or DataView.')}O.prototype.update=function(R,S){if(this._finalized)throw Error("Digest already called");R=B(R,S);var T=this._block,E=0;while(this._blockOffset+R.length-E>=this._blockSize){for(var v=this._blockOffset;v<this._blockSize;)T[v++]=R[E++];this._update(),this._blockOffset=0}while(E<R.length)T[this._blockOffset++]=R[E++];for(var q=0,y=R.length*8;y>0;++q)if(this._length[q]+=y,y=this._length[q]/4294967296|0,y>0)this._length[q]-=4294967296*y;return this},O.prototype._update=function(){throw Error("_update is not implemented")},O.prototype.digest=function(R){if(this._finalized)throw Error("Digest already called");this._finalized=!0;var S=this._digest();if(R!==void 0)S=S.toString(R);this._block.fill(0),this._blockOffset=0;for(var T=0;T<4;++T)this._length[T]=0;return S},O.prototype._digest=function(){throw Error("_digest is not implemented")},J.exports=O}),Rf=b0((X,J)=>{var Y=F1(),V=Ef(),I=f6().Buffer,O=Array(16);function Z(){V.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878}Y(Z,V),Z.prototype._update=function(){var E=O;for(var v=0;v<16;++v)E[v]=this._block.readInt32LE(v*4);var q=this._a,y=this._b,w=this._c,u=this._d;q=B(q,y,w,u,E[0],3614090360,7),u=B(u,q,y,w,E[1],3905402710,12),w=B(w,u,q,y,E[2],606105819,17),y=B(y,w,u,q,E[3],3250441966,22),q=B(q,y,w,u,E[4],4118548399,7),u=B(u,q,y,w,E[5],1200080426,12),w=B(w,u,q,y,E[6],2821735955,17),y=B(y,w,u,q,E[7],4249261313,22),q=B(q,y,w,u,E[8],1770035416,7),u=B(u,q,y,w,E[9],2336552879,12),w=B(w,u,q,y,E[10],4294925233,17),y=B(y,w,u,q,E[11],2304563134,22),q=B(q,y,w,u,E[12],1804603682,7),u=B(u,q,y,w,E[13],4254626195,12),w=B(w,u,q,y,E[14],2792965006,17),y=B(y,w,u,q,E[15],1236535329,22),q=R(q,y,w,u,E[1],4129170786,5),u=R(u,q,y,w,E[6],3225465664,9),w=R(w,u,q,y,E[11],643717713,14),y=R(y,w,u,q,E[0],3921069994,20),q=R(q,y,w,u,E[5],3593408605,5),u=R(u,q,y,w,E[10],38016083,9),w=R(w,u,q,y,E[15],3634488961,14),y=R(y,w,u,q,E[4],3889429448,20),q=R(q,y,w,u,E[9],568446438,5),u=R(u,q,y,w,E[14],3275163606,9),w=R(w,u,q,y,E[3],4107603335,14),y=R(y,w,u,q,E[8],1163531501,20),q=R(q,y,w,u,E[13],2850285829,5),u=R(u,q,y,w,E[2],4243563512,9),w=R(w,u,q,y,E[7],1735328473,14),y=R(y,w,u,q,E[12],2368359562,20),q=S(q,y,w,u,E[5],4294588738,4),u=S(u,q,y,w,E[8],2272392833,11),w=S(w,u,q,y,E[11],1839030562,16),y=S(y,w,u,q,E[14],4259657740,23),q=S(q,y,w,u,E[1],2763975236,4),u=S(u,q,y,w,E[4],1272893353,11),w=S(w,u,q,y,E[7],4139469664,16),y=S(y,w,u,q,E[10],3200236656,23),q=S(q,y,w,u,E[13],681279174,4),u=S(u,q,y,w,E[0],3936430074,11),w=S(w,u,q,y,E[3],3572445317,16),y=S(y,w,u,q,E[6],76029189,23),q=S(q,y,w,u,E[9],3654602809,4),u=S(u,q,y,w,E[12],3873151461,11),w=S(w,u,q,y,E[15],530742520,16),y=S(y,w,u,q,E[2],3299628645,23),q=T(q,y,w,u,E[0],4096336452,6),u=T(u,q,y,w,E[7],1126891415,10),w=T(w,u,q,y,E[14],2878612391,15),y=T(y,w,u,q,E[5],4237533241,21),q=T(q,y,w,u,E[12],1700485571,6),u=T(u,q,y,w,E[3],2399980690,10),w=T(w,u,q,y,E[10],4293915773,15),y=T(y,w,u,q,E[1],2240044497,21),q=T(q,y,w,u,E[8],1873313359,6),u=T(u,q,y,w,E[15],4264355552,10),w=T(w,u,q,y,E[6],2734768916,15),y=T(y,w,u,q,E[13],1309151649,21),q=T(q,y,w,u,E[4],4149444226,6),u=T(u,q,y,w,E[11],3174756917,10),w=T(w,u,q,y,E[2],718787259,15),y=T(y,w,u,q,E[9],3951481745,21),this._a=this._a+q|0,this._b=this._b+y|0,this._c=this._c+w|0,this._d=this._d+u|0},Z.prototype._digest=function(){if(this._block[this._blockOffset++]=128,this._blockOffset>56)this._block.fill(0,this._blockOffset,64),this._update(),this._blockOffset=0;this._block.fill(0,this._blockOffset,56),this._block.writeUInt32LE(this._length[0],56),this._block.writeUInt32LE(this._length[1],60),this._update();var E=I.allocUnsafe(16);return E.writeInt32LE(this._a,0),E.writeInt32LE(this._b,4),E.writeInt32LE(this._c,8),E.writeInt32LE(this._d,12),E};function L(E,v){return E<<v|E>>>32-v}function B(E,v,q,y,w,u,x){return L(E+(v&q|~v&y)+w+u|0,x)+v|0}function R(E,v,q,y,w,u,x){return L(E+(v&y|q&~y)+w+u|0,x)+v|0}function S(E,v,q,y,w,u,x){return L(E+(v^q^y)+w+u|0,x)+v|0}function T(E,v,q,y,w,u,x){return L(E+(q^(v|~y))+w+u|0,x)+v|0}J.exports=Z}),Sf=b0((X,J)=>{var Y=f6().Buffer,V=Rf();function I(O,Z,L,B){if(!Y.isBuffer(O))O=Y.from(O,"binary");if(Z){if(!Y.isBuffer(Z))Z=Y.from(Z,"binary");if(Z.length!==8)throw RangeError("salt should be Buffer with 8 byte length")}var R=L/8,S=Y.alloc(R),T=Y.alloc(B||0),E=Y.alloc(0);while(R>0||B>0){var v=new V;if(v.update(E),v.update(O),Z)v.update(Z);E=v.digest();var q=0;if(R>0){var y=S.length-R;q=Math.min(R,E.length),E.copy(S,y,0,q),R-=q}if(q<E.length&&B>0){var w=T.length-B,u=Math.min(B,E.length-q);E.copy(T,w,q,q+u),B-=u}}return E.fill(0),{key:S,iv:T}}J.exports=I}),$j=b0((X)=>{var J=(yU(),j$(L1));X.createCipher=X.Cipher=J.createCipher,X.createCipheriv=X.Cipheriv=J.createCipheriv,X.createDecipher=X.Decipher=J.createDecipher,X.createDecipheriv=X.Decipheriv=J.createDecipheriv,X.listCiphers=X.getCiphers=J.getCiphers}),jf=b0((X,J)=>{var Y=/Proc-Type: 4,ENCRYPTED[\n\r]+DEK-Info: AES-((?:128)|(?:192)|(?:256))-CBC,([0-9A-H]+)[\n\r]+([0-9A-z\n\r+/=]+)[\n\r]+/m,V=/^-----BEGIN ((?:.*? KEY)|CERTIFICATE)-----/m,I=/^-----BEGIN ((?:.*? KEY)|CERTIFICATE)-----([0-9A-z\n\r+/=]+)-----END \1-----$/m,O=Sf(),Z=$j(),L=f6().Buffer;J.exports=function(B,R){var S=B.toString(),T=S.match(Y),E;if(!T){var v=S.match(I);E=L.from(v[2].replace(/[\r\n]/g,""),"base64")}else{var q="aes"+T[1],y=L.from(T[2],"hex"),w=L.from(T[3].replace(/[\r\n]/g,""),"base64"),u=O(R,y.slice(0,8),parseInt(T[1],10)).key,x=[],b=Z.createDecipheriv(q,u,y);x.push(b.update(w)),x.push(b.final()),E=L.concat(x)}var p=S.match(V)[1];return{tag:p,data:E}}}),Uj=b0((X,J)=>{var Y=Pf(),V=_f(),I=jf(),O=$j(),Z=lS().pbkdf2Sync,L=f6().Buffer;function B(S,T){var E=S.algorithm.decrypt.kde.kdeparams.salt,v=parseInt(S.algorithm.decrypt.kde.kdeparams.iters.toString(),10),q=V[S.algorithm.decrypt.cipher.algo.join(".")],y=S.algorithm.decrypt.cipher.iv,w=S.subjectPrivateKey,u=parseInt(q.split("-")[1],10)/8,x=Z(T,E,v,u,"sha1"),b=O.createDecipheriv(q,x,y),p=[];return p.push(b.update(w)),p.push(b.final()),L.concat(p)}function R(S){var T;if(typeof S==="object"&&!L.isBuffer(S))T=S.passphrase,S=S.key;if(typeof S==="string")S=L.from(S);var E=I(S,T),v=E.tag,q=E.data,y,w;switch(v){case"CERTIFICATE":w=Y.certificate.decode(q,"der").tbsCertificate.subjectPublicKeyInfo;case"PUBLIC KEY":if(!w)w=Y.PublicKey.decode(q,"der");switch(y=w.algorithm.algorithm.join("."),y){case"1.2.840.113549.1.1.1":return Y.RSAPublicKey.decode(w.subjectPublicKey.data,"der");case"1.2.840.10045.2.1":return w.subjectPrivateKey=w.subjectPublicKey,{type:"ec",data:w};case"1.2.840.10040.4.1":return w.algorithm.params.pub_key=Y.DSAparam.decode(w.subjectPublicKey.data,"der"),{type:"dsa",data:w.algorithm.params};default:throw Error("unknown key id "+y)}case"ENCRYPTED PRIVATE KEY":q=Y.EncryptedPrivateKey.decode(q,"der"),q=B(q,T);case"PRIVATE KEY":switch(w=Y.PrivateKey.decode(q,"der"),y=w.algorithm.algorithm.join("."),y){case"1.2.840.113549.1.1.1":return Y.RSAPrivateKey.decode(w.subjectPrivateKey,"der");case"1.2.840.10045.2.1":return{curve:w.algorithm.curve,privateKey:Y.ECPrivateKey.decode(w.subjectPrivateKey,"der").privateKey};case"1.2.840.10040.4.1":return w.algorithm.params.priv_key=Y.DSAparam.decode(w.subjectPrivateKey,"der"),{type:"dsa",params:w.algorithm.params};default:throw Error("unknown key id "+y)}case"RSA PUBLIC KEY":return Y.RSAPublicKey.decode(q,"der");case"RSA PRIVATE KEY":return Y.RSAPrivateKey.decode(q,"der");case"DSA PRIVATE KEY":return{type:"dsa",params:Y.DSAPrivateKey.decode(q,"der")};case"EC PRIVATE KEY":return q=Y.ECPrivateKey.decode(q,"der"),{curve:q.parameters.value,privateKey:q.privateKey};default:throw Error("unknown key type "+v)}}R.signature=Y.signature,J.exports=R}),Xj=b0((X,J)=>{var Y=HO(),V=f6().Buffer;J.exports=function(O,Z){var L=V.alloc(0),B=0,R;while(L.length<Z)R=I(B++),L=V.concat([L,Y("sha1").update(O).update(R).digest()]);return L.slice(0,Z)};function I(O){var Z=V.allocUnsafe(4);return Z.writeUInt32BE(O,0),Z}}),Ij=b0((X,J)=>{J.exports=function(Y,V){var I=Y.length,O=-1;while(++O<I)Y[O]^=V[O];return Y}}),W9=b0((X,J)=>{(function(Y,V){function I(G,K){if(!G)throw Error(K||"Assertion failed")}function O(G,K){G.super_=K;var H=function(){};H.prototype=K.prototype,G.prototype=new H,G.prototype.constructor=G}function Z(G,K,H){if(Z.isBN(G))return G;if(this.negative=0,this.words=null,this.length=0,this.red=null,G!==null){if(K==="le"||K==="be")H=K,K=10;this._init(G||0,K||10,H||"be")}}if(typeof Y==="object")Y.exports=Z;else V.BN=Z;Z.BN=Z,Z.wordSize=26;var L;try{if(typeof window<"u"&&typeof window.Buffer<"u")L=window.Buffer;else L=(oU(),j$(nU)).Buffer}catch(G){}Z.isBN=function(G){if(G instanceof Z)return!0;return G!==null&&typeof G==="object"&&G.constructor.wordSize===Z.wordSize&&Array.isArray(G.words)},Z.max=function(G,K){if(G.cmp(K)>0)return G;return K},Z.min=function(G,K){if(G.cmp(K)<0)return G;return K},Z.prototype._init=function(G,K,H){if(typeof G==="number")return this._initNumber(G,K,H);if(typeof G==="object")return this._initArray(G,K,H);if(K==="hex")K=16;I(K===(K|0)&&K>=2&&K<=36),G=G.toString().replace(/\s+/g,"");var D=0;if(G[0]==="-")D++,this.negative=1;if(D<G.length){if(K===16)this._parseHex(G,D,H);else if(this._parseBase(G,K,D),H==="le")this._initArray(this.toArray(),K,H)}},Z.prototype._initNumber=function(G,K,H){if(G<0)this.negative=1,G=-G;if(G<67108864)this.words=[G&67108863],this.length=1;else if(G<4503599627370496)this.words=[G&67108863,G/67108864&67108863],this.length=2;else I(G<9007199254740992),this.words=[G&67108863,G/67108864&67108863,1],this.length=3;if(H!=="le")return;this._initArray(this.toArray(),K,H)},Z.prototype._initArray=function(G,K,H){if(I(typeof G.length==="number"),G.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(G.length/3),this.words=Array(this.length);for(var D=0;D<this.length;D++)this.words[D]=0;var F,P,j=0;if(H==="be"){for(D=G.length-1,F=0;D>=0;D-=3)if(P=G[D]|G[D-1]<<8|G[D-2]<<16,this.words[F]|=P<<j&67108863,this.words[F+1]=P>>>26-j&67108863,j+=24,j>=26)j-=26,F++}else if(H==="le"){for(D=0,F=0;D<G.length;D+=3)if(P=G[D]|G[D+1]<<8|G[D+2]<<16,this.words[F]|=P<<j&67108863,this.words[F+1]=P>>>26-j&67108863,j+=24,j>=26)j-=26,F++}return this.strip()};function B(G,K){var H=G.charCodeAt(K);if(H>=65&&H<=70)return H-55;else if(H>=97&&H<=102)return H-87;else return H-48&15}function R(G,K,H){var D=B(G,H);if(H-1>=K)D|=B(G,H-1)<<4;return D}Z.prototype._parseHex=function(G,K,H){this.length=Math.ceil((G.length-K)/6),this.words=Array(this.length);for(var D=0;D<this.length;D++)this.words[D]=0;var F=0,P=0,j;if(H==="be")for(D=G.length-1;D>=K;D-=2)if(j=R(G,K,D)<<F,this.words[P]|=j&67108863,F>=18)F-=18,P+=1,this.words[P]|=j>>>26;else F+=8;else{var A=G.length-K;for(D=A%2===0?K+1:K;D<G.length;D+=2)if(j=R(G,K,D)<<F,this.words[P]|=j&67108863,F>=18)F-=18,P+=1,this.words[P]|=j>>>26;else F+=8}this.strip()};function S(G,K,H,D){var F=0,P=Math.min(G.length,H);for(var j=K;j<P;j++){var A=G.charCodeAt(j)-48;if(F*=D,A>=49)F+=A-49+10;else if(A>=17)F+=A-17+10;else F+=A}return F}Z.prototype._parseBase=function(G,K,H){this.words=[0],this.length=1;for(var D=0,F=1;F<=67108863;F*=K)D++;D--,F=F/K|0;var P=G.length-H,j=P%D,A=Math.min(P,P-j)+H,z=0;for(var C=H;C<A;C+=D)if(z=S(G,C,C+D,K),this.imuln(F),this.words[0]+z<67108864)this.words[0]+=z;else this._iaddn(z);if(j!==0){var g=1;z=S(G,C,G.length,K);for(C=0;C<j;C++)g*=K;if(this.imuln(g),this.words[0]+z<67108864)this.words[0]+=z;else this._iaddn(z)}this.strip()},Z.prototype.copy=function(G){G.words=Array(this.length);for(var K=0;K<this.length;K++)G.words[K]=this.words[K];G.length=this.length,G.negative=this.negative,G.red=this.red},Z.prototype.clone=function(){var G=new Z(null);return this.copy(G),G},Z.prototype._expand=function(G){while(this.length<G)this.words[this.length++]=0;return this},Z.prototype.strip=function(){while(this.length>1&&this.words[this.length-1]===0)this.length--;return this._normSign()},Z.prototype._normSign=function(){if(this.length===1&&this.words[0]===0)this.negative=0;return this},Z.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var T=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],E=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],v=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64000000,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,24300000,28629151,33554432,39135393,45435424,52521875,60466176];if(Z.prototype.toString=function(G,K){G=G||10,K=K|0||1;var H;if(G===16||G==="hex"){H="";var D=0,F=0;for(var P=0;P<this.length;P++){var j=this.words[P],A=((j<<D|F)&16777215).toString(16);if(F=j>>>24-D&16777215,D+=2,D>=26)D-=26,P--;if(F!==0||P!==this.length-1)H=T[6-A.length]+A+H;else H=A+H}if(F!==0)H=F.toString(16)+H;while(H.length%K!==0)H="0"+H;if(this.negative!==0)H="-"+H;return H}if(G===(G|0)&&G>=2&&G<=36){var z=E[G],C=v[G];H="";var g=this.clone();g.negative=0;while(!g.isZero()){var N=g.modn(C).toString(G);if(g=g.idivn(C),!g.isZero())H=T[z-N.length]+N+H;else H=N+H}if(this.isZero())H="0"+H;while(H.length%K!==0)H="0"+H;if(this.negative!==0)H="-"+H;return H}I(!1,"Base should be between 2 and 36")},Z.prototype.toNumber=function(){var G=this.words[0];if(this.length===2)G+=this.words[1]*67108864;else if(this.length===3&&this.words[2]===1)G+=4503599627370496+this.words[1]*67108864;else if(this.length>2)I(!1,"Number can only safely store up to 53 bits");return this.negative!==0?-G:G},Z.prototype.toJSON=function(){return this.toString(16)},Z.prototype.toBuffer=function(G,K){return I(typeof L<"u"),this.toArrayLike(L,G,K)},Z.prototype.toArray=function(G,K){return this.toArrayLike(Array,G,K)},Z.prototype.toArrayLike=function(G,K,H){var D=this.byteLength(),F=H||Math.max(1,D);I(D<=F,"byte array longer than desired length"),I(F>0,"Requested array length <= 0"),this.strip();var P=K==="le",j=new G(F),A,z,C=this.clone();if(!P){for(z=0;z<F-D;z++)j[z]=0;for(z=0;!C.isZero();z++)A=C.andln(255),C.iushrn(8),j[F-z-1]=A}else{for(z=0;!C.isZero();z++)A=C.andln(255),C.iushrn(8),j[z]=A;for(;z<F;z++)j[z]=0}return j},Math.clz32)Z.prototype._countBits=function(G){return 32-Math.clz32(G)};else Z.prototype._countBits=function(G){var K=G,H=0;if(K>=4096)H+=13,K>>>=13;if(K>=64)H+=7,K>>>=7;if(K>=8)H+=4,K>>>=4;if(K>=2)H+=2,K>>>=2;return H+K};Z.prototype._zeroBits=function(G){if(G===0)return 26;var K=G,H=0;if((K&8191)===0)H+=13,K>>>=13;if((K&127)===0)H+=7,K>>>=7;if((K&15)===0)H+=4,K>>>=4;if((K&3)===0)H+=2,K>>>=2;if((K&1)===0)H++;return H},Z.prototype.bitLength=function(){var G=this.words[this.length-1],K=this._countBits(G);return(this.length-1)*26+K};function q(G){var K=Array(G.bitLength());for(var H=0;H<K.length;H++){var D=H/26|0,F=H%26;K[H]=(G.words[D]&1<<F)>>>F}return K}Z.prototype.zeroBits=function(){if(this.isZero())return 0;var G=0;for(var K=0;K<this.length;K++){var H=this._zeroBits(this.words[K]);if(G+=H,H!==26)break}return G},Z.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},Z.prototype.toTwos=function(G){if(this.negative!==0)return this.abs().inotn(G).iaddn(1);return this.clone()},Z.prototype.fromTwos=function(G){if(this.testn(G-1))return this.notn(G).iaddn(1).ineg();return this.clone()},Z.prototype.isNeg=function(){return this.negative!==0},Z.prototype.neg=function(){return this.clone().ineg()},Z.prototype.ineg=function(){if(!this.isZero())this.negative^=1;return this},Z.prototype.iuor=function(G){while(this.length<G.length)this.words[this.length++]=0;for(var K=0;K<G.length;K++)this.words[K]=this.words[K]|G.words[K];return this.strip()},Z.prototype.ior=function(G){return I((this.negative|G.negative)===0),this.iuor(G)},Z.prototype.or=function(G){if(this.length>G.length)return this.clone().ior(G);return G.clone().ior(this)},Z.prototype.uor=function(G){if(this.length>G.length)return this.clone().iuor(G);return G.clone().iuor(this)},Z.prototype.iuand=function(G){var K;if(this.length>G.length)K=G;else K=this;for(var H=0;H<K.length;H++)this.words[H]=this.words[H]&G.words[H];return this.length=K.length,this.strip()},Z.prototype.iand=function(G){return I((this.negative|G.negative)===0),this.iuand(G)},Z.prototype.and=function(G){if(this.length>G.length)return this.clone().iand(G);return G.clone().iand(this)},Z.prototype.uand=function(G){if(this.length>G.length)return this.clone().iuand(G);return G.clone().iuand(this)},Z.prototype.iuxor=function(G){var K,H;if(this.length>G.length)K=this,H=G;else K=G,H=this;for(var D=0;D<H.length;D++)this.words[D]=K.words[D]^H.words[D];if(this!==K)for(;D<K.length;D++)this.words[D]=K.words[D];return this.length=K.length,this.strip()},Z.prototype.ixor=function(G){return I((this.negative|G.negative)===0),this.iuxor(G)},Z.prototype.xor=function(G){if(this.length>G.length)return this.clone().ixor(G);return G.clone().ixor(this)},Z.prototype.uxor=function(G){if(this.length>G.length)return this.clone().iuxor(G);return G.clone().iuxor(this)},Z.prototype.inotn=function(G){I(typeof G==="number"&&G>=0);var K=Math.ceil(G/26)|0,H=G%26;if(this._expand(K),H>0)K--;for(var D=0;D<K;D++)this.words[D]=~this.words[D]&67108863;if(H>0)this.words[D]=~this.words[D]&67108863>>26-H;return this.strip()},Z.prototype.notn=function(G){return this.clone().inotn(G)},Z.prototype.setn=function(G,K){I(typeof G==="number"&&G>=0);var H=G/26|0,D=G%26;if(this._expand(H+1),K)this.words[H]=this.words[H]|1<<D;else this.words[H]=this.words[H]&~(1<<D);return this.strip()},Z.prototype.iadd=function(G){var K;if(this.negative!==0&&G.negative===0)return this.negative=0,K=this.isub(G),this.negative^=1,this._normSign();else if(this.negative===0&&G.negative!==0)return G.negative=0,K=this.isub(G),G.negative=1,K._normSign();var H,D;if(this.length>G.length)H=this,D=G;else H=G,D=this;var F=0;for(var P=0;P<D.length;P++)K=(H.words[P]|0)+(D.words[P]|0)+F,this.words[P]=K&67108863,F=K>>>26;for(;F!==0&&P<H.length;P++)K=(H.words[P]|0)+F,this.words[P]=K&67108863,F=K>>>26;if(this.length=H.length,F!==0)this.words[this.length]=F,this.length++;else if(H!==this)for(;P<H.length;P++)this.words[P]=H.words[P];return this},Z.prototype.add=function(G){var K;if(G.negative!==0&&this.negative===0)return G.negative=0,K=this.sub(G),G.negative^=1,K;else if(G.negative===0&&this.negative!==0)return this.negative=0,K=G.sub(this),this.negative=1,K;if(this.length>G.length)return this.clone().iadd(G);return G.clone().iadd(this)},Z.prototype.isub=function(G){if(G.negative!==0){G.negative=0;var K=this.iadd(G);return G.negative=1,K._normSign()}else if(this.negative!==0)return this.negative=0,this.iadd(G),this.negative=1,this._normSign();var H=this.cmp(G);if(H===0)return this.negative=0,this.length=1,this.words[0]=0,this;var D,F;if(H>0)D=this,F=G;else D=G,F=this;var P=0;for(var j=0;j<F.length;j++)K=(D.words[j]|0)-(F.words[j]|0)+P,P=K>>26,this.words[j]=K&67108863;for(;P!==0&&j<D.length;j++)K=(D.words[j]|0)+P,P=K>>26,this.words[j]=K&67108863;if(P===0&&j<D.length&&D!==this)for(;j<D.length;j++)this.words[j]=D.words[j];if(this.length=Math.max(this.length,j),D!==this)this.negative=1;return this.strip()},Z.prototype.sub=function(G){return this.clone().isub(G)};function y(G,K,H){H.negative=K.negative^G.negative;var D=G.length+K.length|0;H.length=D,D=D-1|0;var F=G.words[0]|0,P=K.words[0]|0,j=F*P,A=j&67108863,z=j/67108864|0;H.words[0]=A;for(var C=1;C<D;C++){var g=z>>>26,N=z&67108863,h=Math.min(C,K.length-1);for(var r=Math.max(0,C-G.length+1);r<=h;r++){var U0=C-r|0;F=G.words[U0]|0,P=K.words[r]|0,j=F*P+N,g+=j/67108864|0,N=j&67108863}H.words[C]=N|0,z=g|0}if(z!==0)H.words[C]=z|0;else H.length--;return H.strip()}var w=function(G,K,H){var D=G.words,F=K.words,P=H.words,j=0,A,z,C,g=D[0]|0,N=g&8191,h=g>>>13,r=D[1]|0,U0=r&8191,O0=r>>>13,Q0=D[2]|0,s=Q0&8191,e=Q0>>>13,J0=D[3]|0,Z0=J0&8191,A0=J0>>>13,$0=D[4]|0,c=$0&8191,n=$0>>>13,H0=D[5]|0,Y0=H0&8191,D0=H0>>>13,q0=D[6]|0,X0=q0&8191,V0=q0>>>13,U$=D[7]|0,M0=U$&8191,v0=U$>>>13,L$=D[8]|0,p0=L$&8191,c0=L$>>>13,i$=D[9]|0,u0=i$&8191,h0=i$>>>13,QU=F[0]|0,r0=QU&8191,o0=QU>>>13,PU=F[1]|0,m=PU&8191,I0=PU>>>13,s0=F[2]|0,j0=s0&8191,N0=s0>>>13,F$=F[3]|0,x0=F$&8191,f0=F$>>>13,D$=F[4]|0,n0=D$&8191,i0=D$>>>13,VU=F[5]|0,a0=VU&8191,i=VU>>>13,G0=F[6]|0,E0=G0&8191,S0=G0>>>13,z$=F[7]|0,d0=z$&8191,t0=z$>>>13,HU=F[8]|0,X$=HU&8191,$$=HU>>>13,e$=F[9]|0,I$=e$&8191,e0=e$>>>13;H.negative=G.negative^K.negative,H.length=19,A=Math.imul(N,r0),z=Math.imul(N,o0),z=z+Math.imul(h,r0)|0,C=Math.imul(h,o0);var _U=(j+A|0)+((z&8191)<<13)|0;j=(C+(z>>>13)|0)+(_U>>>26)|0,_U&=67108863,A=Math.imul(U0,r0),z=Math.imul(U0,o0),z=z+Math.imul(O0,r0)|0,C=Math.imul(O0,o0),A=A+Math.imul(N,m)|0,z=z+Math.imul(N,I0)|0,z=z+Math.imul(h,m)|0,C=C+Math.imul(h,I0)|0;var B$=(j+A|0)+((z&8191)<<13)|0;j=(C+(z>>>13)|0)+(B$>>>26)|0,B$&=67108863,A=Math.imul(s,r0),z=Math.imul(s,o0),z=z+Math.imul(e,r0)|0,C=Math.imul(e,o0),A=A+Math.imul(U0,m)|0,z=z+Math.imul(U0,I0)|0,z=z+Math.imul(O0,m)|0,C=C+Math.imul(O0,I0)|0,A=A+Math.imul(N,j0)|0,z=z+Math.imul(N,N0)|0,z=z+Math.imul(h,j0)|0,C=C+Math.imul(h,N0)|0;var S$=(j+A|0)+((z&8191)<<13)|0;j=(C+(z>>>13)|0)+(S$>>>26)|0,S$&=67108863,A=Math.imul(Z0,r0),z=Math.imul(Z0,o0),z=z+Math.imul(A0,r0)|0,C=Math.imul(A0,o0),A=A+Math.imul(s,m)|0,z=z+Math.imul(s,I0)|0,z=z+Math.imul(e,m)|0,C=C+Math.imul(e,I0)|0,A=A+Math.imul(U0,j0)|0,z=z+Math.imul(U0,N0)|0,z=z+Math.imul(O0,j0)|0,C=C+Math.imul(O0,N0)|0,A=A+Math.imul(N,x0)|0,z=z+Math.imul(N,f0)|0,z=z+Math.imul(h,x0)|0,C=C+Math.imul(h,f0)|0;var $U=(j+A|0)+((z&8191)<<13)|0;j=(C+(z>>>13)|0)+($U>>>26)|0,$U&=67108863,A=Math.imul(c,r0),z=Math.imul(c,o0),z=z+Math.imul(n,r0)|0,C=Math.imul(n,o0),A=A+Math.imul(Z0,m)|0,z=z+Math.imul(Z0,I0)|0,z=z+Math.imul(A0,m)|0,C=C+Math.imul(A0,I0)|0,A=A+Math.imul(s,j0)|0,z=z+Math.imul(s,N0)|0,z=z+Math.imul(e,j0)|0,C=C+Math.imul(e,N0)|0,A=A+Math.imul(U0,x0)|0,z=z+Math.imul(U0,f0)|0,z=z+Math.imul(O0,x0)|0,C=C+Math.imul(O0,f0)|0,A=A+Math.imul(N,n0)|0,z=z+Math.imul(N,i0)|0,z=z+Math.imul(h,n0)|0,C=C+Math.imul(h,i0)|0;var d$=(j+A|0)+((z&8191)<<13)|0;j=(C+(z>>>13)|0)+(d$>>>26)|0,d$&=67108863,A=Math.imul(Y0,r0),z=Math.imul(Y0,o0),z=z+Math.imul(D0,r0)|0,C=Math.imul(D0,o0),A=A+Math.imul(c,m)|0,z=z+Math.imul(c,I0)|0,z=z+Math.imul(n,m)|0,C=C+Math.imul(n,I0)|0,A=A+Math.imul(Z0,j0)|0,z=z+Math.imul(Z0,N0)|0,z=z+Math.imul(A0,j0)|0,C=C+Math.imul(A0,N0)|0,A=A+Math.imul(s,x0)|0,z=z+Math.imul(s,f0)|0,z=z+Math.imul(e,x0)|0,C=C+Math.imul(e,f0)|0,A=A+Math.imul(U0,n0)|0,z=z+Math.imul(U0,i0)|0,z=z+Math.imul(O0,n0)|0,C=C+Math.imul(O0,i0)|0,A=A+Math.imul(N,a0)|0,z=z+Math.imul(N,i)|0,z=z+Math.imul(h,a0)|0,C=C+Math.imul(h,i)|0;var bU=(j+A|0)+((z&8191)<<13)|0;j=(C+(z>>>13)|0)+(bU>>>26)|0,bU&=67108863,A=Math.imul(X0,r0),z=Math.imul(X0,o0),z=z+Math.imul(V0,r0)|0,C=Math.imul(V0,o0),A=A+Math.imul(Y0,m)|0,z=z+Math.imul(Y0,I0)|0,z=z+Math.imul(D0,m)|0,C=C+Math.imul(D0,I0)|0,A=A+Math.imul(c,j0)|0,z=z+Math.imul(c,N0)|0,z=z+Math.imul(n,j0)|0,C=C+Math.imul(n,N0)|0,A=A+Math.imul(Z0,x0)|0,z=z+Math.imul(Z0,f0)|0,z=z+Math.imul(A0,x0)|0,C=C+Math.imul(A0,f0)|0,A=A+Math.imul(s,n0)|0,z=z+Math.imul(s,i0)|0,z=z+Math.imul(e,n0)|0,C=C+Math.imul(e,i0)|0,A=A+Math.imul(U0,a0)|0,z=z+Math.imul(U0,i)|0,z=z+Math.imul(O0,a0)|0,C=C+Math.imul(O0,i)|0,A=A+Math.imul(N,E0)|0,z=z+Math.imul(N,S0)|0,z=z+Math.imul(h,E0)|0,C=C+Math.imul(h,S0)|0;var uU=(j+A|0)+((z&8191)<<13)|0;j=(C+(z>>>13)|0)+(uU>>>26)|0,uU&=67108863,A=Math.imul(M0,r0),z=Math.imul(M0,o0),z=z+Math.imul(v0,r0)|0,C=Math.imul(v0,o0),A=A+Math.imul(X0,m)|0,z=z+Math.imul(X0,I0)|0,z=z+Math.imul(V0,m)|0,C=C+Math.imul(V0,I0)|0,A=A+Math.imul(Y0,j0)|0,z=z+Math.imul(Y0,N0)|0,z=z+Math.imul(D0,j0)|0,C=C+Math.imul(D0,N0)|0,A=A+Math.imul(c,x0)|0,z=z+Math.imul(c,f0)|0,z=z+Math.imul(n,x0)|0,C=C+Math.imul(n,f0)|0,A=A+Math.imul(Z0,n0)|0,z=z+Math.imul(Z0,i0)|0,z=z+Math.imul(A0,n0)|0,C=C+Math.imul(A0,i0)|0,A=A+Math.imul(s,a0)|0,z=z+Math.imul(s,i)|0,z=z+Math.imul(e,a0)|0,C=C+Math.imul(e,i)|0,A=A+Math.imul(U0,E0)|0,z=z+Math.imul(U0,S0)|0,z=z+Math.imul(O0,E0)|0,C=C+Math.imul(O0,S0)|0,A=A+Math.imul(N,d0)|0,z=z+Math.imul(N,t0)|0,z=z+Math.imul(h,d0)|0,C=C+Math.imul(h,t0)|0;var hU=(j+A|0)+((z&8191)<<13)|0;j=(C+(z>>>13)|0)+(hU>>>26)|0,hU&=67108863,A=Math.imul(p0,r0),z=Math.imul(p0,o0),z=z+Math.imul(c0,r0)|0,C=Math.imul(c0,o0),A=A+Math.imul(M0,m)|0,z=z+Math.imul(M0,I0)|0,z=z+Math.imul(v0,m)|0,C=C+Math.imul(v0,I0)|0,A=A+Math.imul(X0,j0)|0,z=z+Math.imul(X0,N0)|0,z=z+Math.imul(V0,j0)|0,C=C+Math.imul(V0,N0)|0,A=A+Math.imul(Y0,x0)|0,z=z+Math.imul(Y0,f0)|0,z=z+Math.imul(D0,x0)|0,C=C+Math.imul(D0,f0)|0,A=A+Math.imul(c,n0)|0,z=z+Math.imul(c,i0)|0,z=z+Math.imul(n,n0)|0,C=C+Math.imul(n,i0)|0,A=A+Math.imul(Z0,a0)|0,z=z+Math.imul(Z0,i)|0,z=z+Math.imul(A0,a0)|0,C=C+Math.imul(A0,i)|0,A=A+Math.imul(s,E0)|0,z=z+Math.imul(s,S0)|0,z=z+Math.imul(e,E0)|0,C=C+Math.imul(e,S0)|0,A=A+Math.imul(U0,d0)|0,z=z+Math.imul(U0,t0)|0,z=z+Math.imul(O0,d0)|0,C=C+Math.imul(O0,t0)|0,A=A+Math.imul(N,X$)|0,z=z+Math.imul(N,$$)|0,z=z+Math.imul(h,X$)|0,C=C+Math.imul(h,$$)|0;var cU=(j+A|0)+((z&8191)<<13)|0;j=(C+(z>>>13)|0)+(cU>>>26)|0,cU&=67108863,A=Math.imul(u0,r0),z=Math.imul(u0,o0),z=z+Math.imul(h0,r0)|0,C=Math.imul(h0,o0),A=A+Math.imul(p0,m)|0,z=z+Math.imul(p0,I0)|0,z=z+Math.imul(c0,m)|0,C=C+Math.imul(c0,I0)|0,A=A+Math.imul(M0,j0)|0,z=z+Math.imul(M0,N0)|0,z=z+Math.imul(v0,j0)|0,C=C+Math.imul(v0,N0)|0,A=A+Math.imul(X0,x0)|0,z=z+Math.imul(X0,f0)|0,z=z+Math.imul(V0,x0)|0,C=C+Math.imul(V0,f0)|0,A=A+Math.imul(Y0,n0)|0,z=z+Math.imul(Y0,i0)|0,z=z+Math.imul(D0,n0)|0,C=C+Math.imul(D0,i0)|0,A=A+Math.imul(c,a0)|0,z=z+Math.imul(c,i)|0,z=z+Math.imul(n,a0)|0,C=C+Math.imul(n,i)|0,A=A+Math.imul(Z0,E0)|0,z=z+Math.imul(Z0,S0)|0,z=z+Math.imul(A0,E0)|0,C=C+Math.imul(A0,S0)|0,A=A+Math.imul(s,d0)|0,z=z+Math.imul(s,t0)|0,z=z+Math.imul(e,d0)|0,C=C+Math.imul(e,t0)|0,A=A+Math.imul(U0,X$)|0,z=z+Math.imul(U0,$$)|0,z=z+Math.imul(O0,X$)|0,C=C+Math.imul(O0,$$)|0,A=A+Math.imul(N,I$)|0,z=z+Math.imul(N,e0)|0,z=z+Math.imul(h,I$)|0,C=C+Math.imul(h,e0)|0;var pU=(j+A|0)+((z&8191)<<13)|0;j=(C+(z>>>13)|0)+(pU>>>26)|0,pU&=67108863,A=Math.imul(u0,m),z=Math.imul(u0,I0),z=z+Math.imul(h0,m)|0,C=Math.imul(h0,I0),A=A+Math.imul(p0,j0)|0,z=z+Math.imul(p0,N0)|0,z=z+Math.imul(c0,j0)|0,C=C+Math.imul(c0,N0)|0,A=A+Math.imul(M0,x0)|0,z=z+Math.imul(M0,f0)|0,z=z+Math.imul(v0,x0)|0,C=C+Math.imul(v0,f0)|0,A=A+Math.imul(X0,n0)|0,z=z+Math.imul(X0,i0)|0,z=z+Math.imul(V0,n0)|0,C=C+Math.imul(V0,i0)|0,A=A+Math.imul(Y0,a0)|0,z=z+Math.imul(Y0,i)|0,z=z+Math.imul(D0,a0)|0,C=C+Math.imul(D0,i)|0,A=A+Math.imul(c,E0)|0,z=z+Math.imul(c,S0)|0,z=z+Math.imul(n,E0)|0,C=C+Math.imul(n,S0)|0,A=A+Math.imul(Z0,d0)|0,z=z+Math.imul(Z0,t0)|0,z=z+Math.imul(A0,d0)|0,C=C+Math.imul(A0,t0)|0,A=A+Math.imul(s,X$)|0,z=z+Math.imul(s,$$)|0,z=z+Math.imul(e,X$)|0,C=C+Math.imul(e,$$)|0,A=A+Math.imul(U0,I$)|0,z=z+Math.imul(U0,e0)|0,z=z+Math.imul(O0,I$)|0,C=C+Math.imul(O0,e0)|0;var r$=(j+A|0)+((z&8191)<<13)|0;j=(C+(z>>>13)|0)+(r$>>>26)|0,r$&=67108863,A=Math.imul(u0,j0),z=Math.imul(u0,N0),z=z+Math.imul(h0,j0)|0,C=Math.imul(h0,N0),A=A+Math.imul(p0,x0)|0,z=z+Math.imul(p0,f0)|0,z=z+Math.imul(c0,x0)|0,C=C+Math.imul(c0,f0)|0,A=A+Math.imul(M0,n0)|0,z=z+Math.imul(M0,i0)|0,z=z+Math.imul(v0,n0)|0,C=C+Math.imul(v0,i0)|0,A=A+Math.imul(X0,a0)|0,z=z+Math.imul(X0,i)|0,z=z+Math.imul(V0,a0)|0,C=C+Math.imul(V0,i)|0,A=A+Math.imul(Y0,E0)|0,z=z+Math.imul(Y0,S0)|0,z=z+Math.imul(D0,E0)|0,C=C+Math.imul(D0,S0)|0,A=A+Math.imul(c,d0)|0,z=z+Math.imul(c,t0)|0,z=z+Math.imul(n,d0)|0,C=C+Math.imul(n,t0)|0,A=A+Math.imul(Z0,X$)|0,z=z+Math.imul(Z0,$$)|0,z=z+Math.imul(A0,X$)|0,C=C+Math.imul(A0,$$)|0,A=A+Math.imul(s,I$)|0,z=z+Math.imul(s,e0)|0,z=z+Math.imul(e,I$)|0,C=C+Math.imul(e,e0)|0;var LU=(j+A|0)+((z&8191)<<13)|0;j=(C+(z>>>13)|0)+(LU>>>26)|0,LU&=67108863,A=Math.imul(u0,x0),z=Math.imul(u0,f0),z=z+Math.imul(h0,x0)|0,C=Math.imul(h0,f0),A=A+Math.imul(p0,n0)|0,z=z+Math.imul(p0,i0)|0,z=z+Math.imul(c0,n0)|0,C=C+Math.imul(c0,i0)|0,A=A+Math.imul(M0,a0)|0,z=z+Math.imul(M0,i)|0,z=z+Math.imul(v0,a0)|0,C=C+Math.imul(v0,i)|0,A=A+Math.imul(X0,E0)|0,z=z+Math.imul(X0,S0)|0,z=z+Math.imul(V0,E0)|0,C=C+Math.imul(V0,S0)|0,A=A+Math.imul(Y0,d0)|0,z=z+Math.imul(Y0,t0)|0,z=z+Math.imul(D0,d0)|0,C=C+Math.imul(D0,t0)|0,A=A+Math.imul(c,X$)|0,z=z+Math.imul(c,$$)|0,z=z+Math.imul(n,X$)|0,C=C+Math.imul(n,$$)|0,A=A+Math.imul(Z0,I$)|0,z=z+Math.imul(Z0,e0)|0,z=z+Math.imul(A0,I$)|0,C=C+Math.imul(A0,e0)|0;var DU=(j+A|0)+((z&8191)<<13)|0;j=(C+(z>>>13)|0)+(DU>>>26)|0,DU&=67108863,A=Math.imul(u0,n0),z=Math.imul(u0,i0),z=z+Math.imul(h0,n0)|0,C=Math.imul(h0,i0),A=A+Math.imul(p0,a0)|0,z=z+Math.imul(p0,i)|0,z=z+Math.imul(c0,a0)|0,C=C+Math.imul(c0,i)|0,A=A+Math.imul(M0,E0)|0,z=z+Math.imul(M0,S0)|0,z=z+Math.imul(v0,E0)|0,C=C+Math.imul(v0,S0)|0,A=A+Math.imul(X0,d0)|0,z=z+Math.imul(X0,t0)|0,z=z+Math.imul(V0,d0)|0,C=C+Math.imul(V0,t0)|0,A=A+Math.imul(Y0,X$)|0,z=z+Math.imul(Y0,$$)|0,z=z+Math.imul(D0,X$)|0,C=C+Math.imul(D0,$$)|0,A=A+Math.imul(c,I$)|0,z=z+Math.imul(c,e0)|0,z=z+Math.imul(n,I$)|0,C=C+Math.imul(n,e0)|0;var mU=(j+A|0)+((z&8191)<<13)|0;j=(C+(z>>>13)|0)+(mU>>>26)|0,mU&=67108863,A=Math.imul(u0,a0),z=Math.imul(u0,i),z=z+Math.imul(h0,a0)|0,C=Math.imul(h0,i),A=A+Math.imul(p0,E0)|0,z=z+Math.imul(p0,S0)|0,z=z+Math.imul(c0,E0)|0,C=C+Math.imul(c0,S0)|0,A=A+Math.imul(M0,d0)|0,z=z+Math.imul(M0,t0)|0,z=z+Math.imul(v0,d0)|0,C=C+Math.imul(v0,t0)|0,A=A+Math.imul(X0,X$)|0,z=z+Math.imul(X0,$$)|0,z=z+Math.imul(V0,X$)|0,C=C+Math.imul(V0,$$)|0,A=A+Math.imul(Y0,I$)|0,z=z+Math.imul(Y0,e0)|0,z=z+Math.imul(D0,I$)|0,C=C+Math.imul(D0,e0)|0;var EU=(j+A|0)+((z&8191)<<13)|0;j=(C+(z>>>13)|0)+(EU>>>26)|0,EU&=67108863,A=Math.imul(u0,E0),z=Math.imul(u0,S0),z=z+Math.imul(h0,E0)|0,C=Math.imul(h0,S0),A=A+Math.imul(p0,d0)|0,z=z+Math.imul(p0,t0)|0,z=z+Math.imul(c0,d0)|0,C=C+Math.imul(c0,t0)|0,A=A+Math.imul(M0,X$)|0,z=z+Math.imul(M0,$$)|0,z=z+Math.imul(v0,X$)|0,C=C+Math.imul(v0,$$)|0,A=A+Math.imul(X0,I$)|0,z=z+Math.imul(X0,e0)|0,z=z+Math.imul(V0,I$)|0,C=C+Math.imul(V0,e0)|0;var NU=(j+A|0)+((z&8191)<<13)|0;j=(C+(z>>>13)|0)+(NU>>>26)|0,NU&=67108863,A=Math.imul(u0,d0),z=Math.imul(u0,t0),z=z+Math.imul(h0,d0)|0,C=Math.imul(h0,t0),A=A+Math.imul(p0,X$)|0,z=z+Math.imul(p0,$$)|0,z=z+Math.imul(c0,X$)|0,C=C+Math.imul(c0,$$)|0,A=A+Math.imul(M0,I$)|0,z=z+Math.imul(M0,e0)|0,z=z+Math.imul(v0,I$)|0,C=C+Math.imul(v0,e0)|0;var xU=(j+A|0)+((z&8191)<<13)|0;j=(C+(z>>>13)|0)+(xU>>>26)|0,xU&=67108863,A=Math.imul(u0,X$),z=Math.imul(u0,$$),z=z+Math.imul(h0,X$)|0,C=Math.imul(h0,$$),A=A+Math.imul(p0,I$)|0,z=z+Math.imul(p0,e0)|0,z=z+Math.imul(c0,I$)|0,C=C+Math.imul(c0,e0)|0;var RU=(j+A|0)+((z&8191)<<13)|0;j=(C+(z>>>13)|0)+(RU>>>26)|0,RU&=67108863,A=Math.imul(u0,I$),z=Math.imul(u0,e0),z=z+Math.imul(h0,I$)|0,C=Math.imul(h0,e0);var MU=(j+A|0)+((z&8191)<<13)|0;if(j=(C+(z>>>13)|0)+(MU>>>26)|0,MU&=67108863,P[0]=_U,P[1]=B$,P[2]=S$,P[3]=$U,P[4]=d$,P[5]=bU,P[6]=uU,P[7]=hU,P[8]=cU,P[9]=pU,P[10]=r$,P[11]=LU,P[12]=DU,P[13]=mU,P[14]=EU,P[15]=NU,P[16]=xU,P[17]=RU,P[18]=MU,j!==0)P[19]=j,H.length++;return H};if(!Math.imul)w=y;function u(G,K,H){H.negative=K.negative^G.negative,H.length=G.length+K.length;var D=0,F=0;for(var P=0;P<H.length-1;P++){var j=F;F=0;var A=D&67108863,z=Math.min(P,K.length-1);for(var C=Math.max(0,P-G.length+1);C<=z;C++){var g=P-C,N=G.words[g]|0,h=K.words[C]|0,r=N*h,U0=r&67108863;j=j+(r/67108864|0)|0,U0=U0+A|0,A=U0&67108863,j=j+(U0>>>26)|0,F+=j>>>26,j&=67108863}H.words[P]=A,D=j,j=F}if(D!==0)H.words[P]=D;else H.length--;return H.strip()}function x(G,K,H){var D=new b;return D.mulp(G,K,H)}Z.prototype.mulTo=function(G,K){var H,D=this.length+G.length;if(this.length===10&&G.length===10)H=w(this,G,K);else if(D<63)H=y(this,G,K);else if(D<1024)H=u(this,G,K);else H=x(this,G,K);return H};function b(G,K){this.x=G,this.y=K}b.prototype.makeRBT=function(G){var K=Array(G),H=Z.prototype._countBits(G)-1;for(var D=0;D<G;D++)K[D]=this.revBin(D,H,G);return K},b.prototype.revBin=function(G,K,H){if(G===0||G===H-1)return G;var D=0;for(var F=0;F<K;F++)D|=(G&1)<<K-F-1,G>>=1;return D},b.prototype.permute=function(G,K,H,D,F,P){for(var j=0;j<P;j++)D[j]=K[G[j]],F[j]=H[G[j]]},b.prototype.transform=function(G,K,H,D,F,P){this.permute(P,G,K,H,D,F);for(var j=1;j<F;j<<=1){var A=j<<1,z=Math.cos(2*Math.PI/A),C=Math.sin(2*Math.PI/A);for(var g=0;g<F;g+=A){var N=z,h=C;for(var r=0;r<j;r++){var U0=H[g+r],O0=D[g+r],Q0=H[g+r+j],s=D[g+r+j],e=N*Q0-h*s;if(s=N*s+h*Q0,Q0=e,H[g+r]=U0+Q0,D[g+r]=O0+s,H[g+r+j]=U0-Q0,D[g+r+j]=O0-s,r!==A)e=z*N-C*h,h=z*h+C*N,N=e}}}},b.prototype.guessLen13b=function(G,K){var H=Math.max(K,G)|1,D=H&1,F=0;for(H=H/2|0;H;H=H>>>1)F++;return 1<<F+1+D},b.prototype.conjugate=function(G,K,H){if(H<=1)return;for(var D=0;D<H/2;D++){var F=G[D];G[D]=G[H-D-1],G[H-D-1]=F,F=K[D],K[D]=-K[H-D-1],K[H-D-1]=-F}},b.prototype.normalize13b=function(G,K){var H=0;for(var D=0;D<K/2;D++){var F=Math.round(G[2*D+1]/K)*8192+Math.round(G[2*D]/K)+H;if(G[D]=F&67108863,F<67108864)H=0;else H=F/67108864|0}return G},b.prototype.convert13b=function(G,K,H,D){var F=0;for(var P=0;P<K;P++)F=F+(G[P]|0),H[2*P]=F&8191,F=F>>>13,H[2*P+1]=F&8191,F=F>>>13;for(P=2*K;P<D;++P)H[P]=0;I(F===0),I((F&-8192)===0)},b.prototype.stub=function(G){var K=Array(G);for(var H=0;H<G;H++)K[H]=0;return K},b.prototype.mulp=function(G,K,H){var D=2*this.guessLen13b(G.length,K.length),F=this.makeRBT(D),P=this.stub(D),j=Array(D),A=Array(D),z=Array(D),C=Array(D),g=Array(D),N=Array(D),h=H.words;h.length=D,this.convert13b(G.words,G.length,j,D),this.convert13b(K.words,K.length,C,D),this.transform(j,P,A,z,D,F),this.transform(C,P,g,N,D,F);for(var r=0;r<D;r++){var U0=A[r]*g[r]-z[r]*N[r];z[r]=A[r]*N[r]+z[r]*g[r],A[r]=U0}return this.conjugate(A,z,D),this.transform(A,z,h,P,D,F),this.conjugate(h,P,D),this.normalize13b(h,D),H.negative=G.negative^K.negative,H.length=G.length+K.length,H.strip()},Z.prototype.mul=function(G){var K=new Z(null);return K.words=Array(this.length+G.length),this.mulTo(G,K)},Z.prototype.mulf=function(G){var K=new Z(null);return K.words=Array(this.length+G.length),x(this,G,K)},Z.prototype.imul=function(G){return this.clone().mulTo(G,this)},Z.prototype.imuln=function(G){I(typeof G==="number"),I(G<67108864);var K=0;for(var H=0;H<this.length;H++){var D=(this.words[H]|0)*G,F=(D&67108863)+(K&67108863);K>>=26,K+=D/67108864|0,K+=F>>>26,this.words[H]=F&67108863}if(K!==0)this.words[H]=K,this.length++;return this.length=G===0?1:this.length,this},Z.prototype.muln=function(G){return this.clone().imuln(G)},Z.prototype.sqr=function(){return this.mul(this)},Z.prototype.isqr=function(){return this.imul(this.clone())},Z.prototype.pow=function(G){var K=q(G);if(K.length===0)return new Z(1);var H=this;for(var D=0;D<K.length;D++,H=H.sqr())if(K[D]!==0)break;if(++D<K.length)for(var F=H.sqr();D<K.length;D++,F=F.sqr()){if(K[D]===0)continue;H=H.mul(F)}return H},Z.prototype.iushln=function(G){I(typeof G==="number"&&G>=0);var K=G%26,H=(G-K)/26,D=67108863>>>26-K<<26-K,F;if(K!==0){var P=0;for(F=0;F<this.length;F++){var j=this.words[F]&D,A=(this.words[F]|0)-j<<K;this.words[F]=A|P,P=j>>>26-K}if(P)this.words[F]=P,this.length++}if(H!==0){for(F=this.length-1;F>=0;F--)this.words[F+H]=this.words[F];for(F=0;F<H;F++)this.words[F]=0;this.length+=H}return this.strip()},Z.prototype.ishln=function(G){return I(this.negative===0),this.iushln(G)},Z.prototype.iushrn=function(G,K,H){I(typeof G==="number"&&G>=0);var D;if(K)D=(K-K%26)/26;else D=0;var F=G%26,P=Math.min((G-F)/26,this.length),j=67108863^67108863>>>F<<F,A=H;if(D-=P,D=Math.max(0,D),A){for(var z=0;z<P;z++)A.words[z]=this.words[z];A.length=P}if(P===0);else if(this.length>P){this.length-=P;for(z=0;z<this.length;z++)this.words[z]=this.words[z+P]}else this.words[0]=0,this.length=1;var C=0;for(z=this.length-1;z>=0&&(C!==0||z>=D);z--){var g=this.words[z]|0;this.words[z]=C<<26-F|g>>>F,C=g&j}if(A&&C!==0)A.words[A.length++]=C;if(this.length===0)this.words[0]=0,this.length=1;return this.strip()},Z.prototype.ishrn=function(G,K,H){return I(this.negative===0),this.iushrn(G,K,H)},Z.prototype.shln=function(G){return this.clone().ishln(G)},Z.prototype.ushln=function(G){return this.clone().iushln(G)},Z.prototype.shrn=function(G){return this.clone().ishrn(G)},Z.prototype.ushrn=function(G){return this.clone().iushrn(G)},Z.prototype.testn=function(G){I(typeof G==="number"&&G>=0);var K=G%26,H=(G-K)/26,D=1<<K;if(this.length<=H)return!1;var F=this.words[H];return!!(F&D)},Z.prototype.imaskn=function(G){I(typeof G==="number"&&G>=0);var K=G%26,H=(G-K)/26;if(I(this.negative===0,"imaskn works only with positive numbers"),this.length<=H)return this;if(K!==0)H++;if(this.length=Math.min(H,this.length),K!==0){var D=67108863^67108863>>>K<<K;this.words[this.length-1]&=D}return this.strip()},Z.prototype.maskn=function(G){return this.clone().imaskn(G)},Z.prototype.iaddn=function(G){if(I(typeof G==="number"),I(G<67108864),G<0)return this.isubn(-G);if(this.negative!==0){if(this.length===1&&(this.words[0]|0)<G)return this.words[0]=G-(this.words[0]|0),this.negative=0,this;return this.negative=0,this.isubn(G),this.negative=1,this}return this._iaddn(G)},Z.prototype._iaddn=function(G){this.words[0]+=G;for(var K=0;K<this.length&&this.words[K]>=67108864;K++)if(this.words[K]-=67108864,K===this.length-1)this.words[K+1]=1;else this.words[K+1]++;return this.length=Math.max(this.length,K+1),this},Z.prototype.isubn=function(G){if(I(typeof G==="number"),I(G<67108864),G<0)return this.iaddn(-G);if(this.negative!==0)return this.negative=0,this.iaddn(G),this.negative=1,this;if(this.words[0]-=G,this.length===1&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var K=0;K<this.length&&this.words[K]<0;K++)this.words[K]+=67108864,this.words[K+1]-=1;return this.strip()},Z.prototype.addn=function(G){return this.clone().iaddn(G)},Z.prototype.subn=function(G){return this.clone().isubn(G)},Z.prototype.iabs=function(){return this.negative=0,this},Z.prototype.abs=function(){return this.clone().iabs()},Z.prototype._ishlnsubmul=function(G,K,H){var D=G.length+H,F;this._expand(D);var P,j=0;for(F=0;F<G.length;F++){P=(this.words[F+H]|0)+j;var A=(G.words[F]|0)*K;P-=A&67108863,j=(P>>26)-(A/67108864|0),this.words[F+H]=P&67108863}for(;F<this.length-H;F++)P=(this.words[F+H]|0)+j,j=P>>26,this.words[F+H]=P&67108863;if(j===0)return this.strip();I(j===-1),j=0;for(F=0;F<this.length;F++)P=-(this.words[F]|0)+j,j=P>>26,this.words[F]=P&67108863;return this.negative=1,this.strip()},Z.prototype._wordDiv=function(G,K){var H=this.length-G.length,D=this.clone(),F=G,P=F.words[F.length-1]|0,j=this._countBits(P);if(H=26-j,H!==0)F=F.ushln(H),D.iushln(H),P=F.words[F.length-1]|0;var A=D.length-F.length,z;if(K!=="mod"){z=new Z(null),z.length=A+1,z.words=Array(z.length);for(var C=0;C<z.length;C++)z.words[C]=0}var g=D.clone()._ishlnsubmul(F,1,A);if(g.negative===0){if(D=g,z)z.words[A]=1}for(var N=A-1;N>=0;N--){var h=(D.words[F.length+N]|0)*67108864+(D.words[F.length+N-1]|0);h=Math.min(h/P|0,67108863),D._ishlnsubmul(F,h,N);while(D.negative!==0)if(h--,D.negative=0,D._ishlnsubmul(F,1,N),!D.isZero())D.negative^=1;if(z)z.words[N]=h}if(z)z.strip();if(D.strip(),K!=="div"&&H!==0)D.iushrn(H);return{div:z||null,mod:D}},Z.prototype.divmod=function(G,K,H){if(I(!G.isZero()),this.isZero())return{div:new Z(0),mod:new Z(0)};var D,F,P;if(this.negative!==0&&G.negative===0){if(P=this.neg().divmod(G,K),K!=="mod")D=P.div.neg();if(K!=="div"){if(F=P.mod.neg(),H&&F.negative!==0)F.iadd(G)}return{div:D,mod:F}}if(this.negative===0&&G.negative!==0){if(P=this.divmod(G.neg(),K),K!=="mod")D=P.div.neg();return{div:D,mod:P.mod}}if((this.negative&G.negative)!==0){if(P=this.neg().divmod(G.neg(),K),K!=="div"){if(F=P.mod.neg(),H&&F.negative!==0)F.isub(G)}return{div:P.div,mod:F}}if(G.length>this.length||this.cmp(G)<0)return{div:new Z(0),mod:this};if(G.length===1){if(K==="div")return{div:this.divn(G.words[0]),mod:null};if(K==="mod")return{div:null,mod:new Z(this.modn(G.words[0]))};return{div:this.divn(G.words[0]),mod:new Z(this.modn(G.words[0]))}}return this._wordDiv(G,K)},Z.prototype.div=function(G){return this.divmod(G,"div",!1).div},Z.prototype.mod=function(G){return this.divmod(G,"mod",!1).mod},Z.prototype.umod=function(G){return this.divmod(G,"mod",!0).mod},Z.prototype.divRound=function(G){var K=this.divmod(G);if(K.mod.isZero())return K.div;var H=K.div.negative!==0?K.mod.isub(G):K.mod,D=G.ushrn(1),F=G.andln(1),P=H.cmp(D);if(P<0||F===1&&P===0)return K.div;return K.div.negative!==0?K.div.isubn(1):K.div.iaddn(1)},Z.prototype.modn=function(G){I(G<=67108863);var K=67108864%G,H=0;for(var D=this.length-1;D>=0;D--)H=(K*H+(this.words[D]|0))%G;return H},Z.prototype.idivn=function(G){I(G<=67108863);var K=0;for(var H=this.length-1;H>=0;H--){var D=(this.words[H]|0)+K*67108864;this.words[H]=D/G|0,K=D%G}return this.strip()},Z.prototype.divn=function(G){return this.clone().idivn(G)},Z.prototype.egcd=function(G){I(G.negative===0),I(!G.isZero());var K=this,H=G.clone();if(K.negative!==0)K=K.umod(G);else K=K.clone();var D=new Z(1),F=new Z(0),P=new Z(0),j=new Z(1),A=0;while(K.isEven()&&H.isEven())K.iushrn(1),H.iushrn(1),++A;var z=H.clone(),C=K.clone();while(!K.isZero()){for(var g=0,N=1;(K.words[0]&N)===0&&g<26;++g,N<<=1);if(g>0){K.iushrn(g);while(g-- >0){if(D.isOdd()||F.isOdd())D.iadd(z),F.isub(C);D.iushrn(1),F.iushrn(1)}}for(var h=0,r=1;(H.words[0]&r)===0&&h<26;++h,r<<=1);if(h>0){H.iushrn(h);while(h-- >0){if(P.isOdd()||j.isOdd())P.iadd(z),j.isub(C);P.iushrn(1),j.iushrn(1)}}if(K.cmp(H)>=0)K.isub(H),D.isub(P),F.isub(j);else H.isub(K),P.isub(D),j.isub(F)}return{a:P,b:j,gcd:H.iushln(A)}},Z.prototype._invmp=function(G){I(G.negative===0),I(!G.isZero());var K=this,H=G.clone();if(K.negative!==0)K=K.umod(G);else K=K.clone();var D=new Z(1),F=new Z(0),P=H.clone();while(K.cmpn(1)>0&&H.cmpn(1)>0){for(var j=0,A=1;(K.words[0]&A)===0&&j<26;++j,A<<=1);if(j>0){K.iushrn(j);while(j-- >0){if(D.isOdd())D.iadd(P);D.iushrn(1)}}for(var z=0,C=1;(H.words[0]&C)===0&&z<26;++z,C<<=1);if(z>0){H.iushrn(z);while(z-- >0){if(F.isOdd())F.iadd(P);F.iushrn(1)}}if(K.cmp(H)>=0)K.isub(H),D.isub(F);else H.isub(K),F.isub(D)}var g;if(K.cmpn(1)===0)g=D;else g=F;if(g.cmpn(0)<0)g.iadd(G);return g},Z.prototype.gcd=function(G){if(this.isZero())return G.abs();if(G.isZero())return this.abs();var K=this.clone(),H=G.clone();K.negative=0,H.negative=0;for(var D=0;K.isEven()&&H.isEven();D++)K.iushrn(1),H.iushrn(1);do{while(K.isEven())K.iushrn(1);while(H.isEven())H.iushrn(1);var F=K.cmp(H);if(F<0){var P=K;K=H,H=P}else if(F===0||H.cmpn(1)===0)break;K.isub(H)}while(!0);return H.iushln(D)},Z.prototype.invm=function(G){return this.egcd(G).a.umod(G)},Z.prototype.isEven=function(){return(this.words[0]&1)===0},Z.prototype.isOdd=function(){return(this.words[0]&1)===1},Z.prototype.andln=function(G){return this.words[0]&G},Z.prototype.bincn=function(G){I(typeof G==="number");var K=G%26,H=(G-K)/26,D=1<<K;if(this.length<=H)return this._expand(H+1),this.words[H]|=D,this;var F=D;for(var P=H;F!==0&&P<this.length;P++){var j=this.words[P]|0;j+=F,F=j>>>26,j&=67108863,this.words[P]=j}if(F!==0)this.words[P]=F,this.length++;return this},Z.prototype.isZero=function(){return this.length===1&&this.words[0]===0},Z.prototype.cmpn=function(G){var K=G<0;if(this.negative!==0&&!K)return-1;if(this.negative===0&&K)return 1;this.strip();var H;if(this.length>1)H=1;else{if(K)G=-G;I(G<=67108863,"Number is too big");var D=this.words[0]|0;H=D===G?0:D<G?-1:1}if(this.negative!==0)return-H|0;return H},Z.prototype.cmp=function(G){if(this.negative!==0&&G.negative===0)return-1;if(this.negative===0&&G.negative!==0)return 1;var K=this.ucmp(G);if(this.negative!==0)return-K|0;return K},Z.prototype.ucmp=function(G){if(this.length>G.length)return 1;if(this.length<G.length)return-1;var K=0;for(var H=this.length-1;H>=0;H--){var D=this.words[H]|0,F=G.words[H]|0;if(D===F)continue;if(D<F)K=-1;else if(D>F)K=1;break}return K},Z.prototype.gtn=function(G){return this.cmpn(G)===1},Z.prototype.gt=function(G){return this.cmp(G)===1},Z.prototype.gten=function(G){return this.cmpn(G)>=0},Z.prototype.gte=function(G){return this.cmp(G)>=0},Z.prototype.ltn=function(G){return this.cmpn(G)===-1},Z.prototype.lt=function(G){return this.cmp(G)===-1},Z.prototype.lten=function(G){return this.cmpn(G)<=0},Z.prototype.lte=function(G){return this.cmp(G)<=0},Z.prototype.eqn=function(G){return this.cmpn(G)===0},Z.prototype.eq=function(G){return this.cmp(G)===0},Z.red=function(G){return new t(G)},Z.prototype.toRed=function(G){return I(!this.red,"Already a number in reduction context"),I(this.negative===0,"red works only with positives"),G.convertTo(this)._forceRed(G)},Z.prototype.fromRed=function(){return I(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},Z.prototype._forceRed=function(G){return this.red=G,this},Z.prototype.forceRed=function(G){return I(!this.red,"Already a number in reduction context"),this._forceRed(G)},Z.prototype.redAdd=function(G){return I(this.red,"redAdd works only with red numbers"),this.red.add(this,G)},Z.prototype.redIAdd=function(G){return I(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,G)},Z.prototype.redSub=function(G){return I(this.red,"redSub works only with red numbers"),this.red.sub(this,G)},Z.prototype.redISub=function(G){return I(this.red,"redISub works only with red numbers"),this.red.isub(this,G)},Z.prototype.redShl=function(G){return I(this.red,"redShl works only with red numbers"),this.red.shl(this,G)},Z.prototype.redMul=function(G){return I(this.red,"redMul works only with red numbers"),this.red._verify2(this,G),this.red.mul(this,G)},Z.prototype.redIMul=function(G){return I(this.red,"redMul works only with red numbers"),this.red._verify2(this,G),this.red.imul(this,G)},Z.prototype.redSqr=function(){return I(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},Z.prototype.redISqr=function(){return I(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},Z.prototype.redSqrt=function(){return I(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},Z.prototype.redInvm=function(){return I(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},Z.prototype.redNeg=function(){return I(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},Z.prototype.redPow=function(G){return I(this.red&&!G.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,G)};var p={k256:null,p224:null,p192:null,p25519:null};function d(G,K){this.name=G,this.p=new Z(K,16),this.n=this.p.bitLength(),this.k=new Z(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}d.prototype._tmp=function(){var G=new Z(null);return G.words=Array(Math.ceil(this.n/13)),G},d.prototype.ireduce=function(G){var K=G,H;do this.split(K,this.tmp),K=this.imulK(K),K=K.iadd(this.tmp),H=K.bitLength();while(H>this.n);var D=H<this.n?-1:K.ucmp(this.p);if(D===0)K.words[0]=0,K.length=1;else if(D>0)K.isub(this.p);else if(K.strip!==void 0)K.strip();else K._strip();return K},d.prototype.split=function(G,K){G.iushrn(this.n,0,K)},d.prototype.imulK=function(G){return G.imul(this.k)};function a(){d.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}O(a,d),a.prototype.split=function(G,K){var H=4194303,D=Math.min(G.length,9);for(var F=0;F<D;F++)K.words[F]=G.words[F];if(K.length=D,G.length<=9){G.words[0]=0,G.length=1;return}var P=G.words[9];K.words[K.length++]=P&H;for(F=10;F<G.length;F++){var j=G.words[F]|0;G.words[F-10]=(j&H)<<4|P>>>22,P=j}if(P>>>=22,G.words[F-10]=P,P===0&&G.length>10)G.length-=10;else G.length-=9},a.prototype.imulK=function(G){G.words[G.length]=0,G.words[G.length+1]=0,G.length+=2;var K=0;for(var H=0;H<G.length;H++){var D=G.words[H]|0;K+=D*977,G.words[H]=K&67108863,K=D*64+(K/67108864|0)}if(G.words[G.length-1]===0){if(G.length--,G.words[G.length-1]===0)G.length--}return G};function F0(){d.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}O(F0,d);function L0(){d.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}O(L0,d);function R0(){d.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}O(R0,d),R0.prototype.imulK=function(G){var K=0;for(var H=0;H<G.length;H++){var D=(G.words[H]|0)*19+K,F=D&67108863;D>>>=26,G.words[H]=F,K=D}if(K!==0)G.words[G.length++]=K;return G},Z._prime=function(G){if(p[G])return p[G];var K;if(G==="k256")K=new a;else if(G==="p224")K=new F0;else if(G==="p192")K=new L0;else if(G==="p25519")K=new R0;else throw Error("Unknown prime "+G);return p[G]=K,K};function t(G){if(typeof G==="string"){var K=Z._prime(G);this.m=K.p,this.prime=K}else I(G.gtn(1),"modulus must be greater than 1"),this.m=G,this.prime=null}t.prototype._verify1=function(G){I(G.negative===0,"red works only with positives"),I(G.red,"red works only with red numbers")},t.prototype._verify2=function(G,K){I((G.negative|K.negative)===0,"red works only with positives"),I(G.red&&G.red===K.red,"red works only with red numbers")},t.prototype.imod=function(G){if(this.prime)return this.prime.ireduce(G)._forceRed(this);return G.umod(this.m)._forceRed(this)},t.prototype.neg=function(G){if(G.isZero())return G.clone();return this.m.sub(G)._forceRed(this)},t.prototype.add=function(G,K){this._verify2(G,K);var H=G.add(K);if(H.cmp(this.m)>=0)H.isub(this.m);return H._forceRed(this)},t.prototype.iadd=function(G,K){this._verify2(G,K);var H=G.iadd(K);if(H.cmp(this.m)>=0)H.isub(this.m);return H},t.prototype.sub=function(G,K){this._verify2(G,K);var H=G.sub(K);if(H.cmpn(0)<0)H.iadd(this.m);return H._forceRed(this)},t.prototype.isub=function(G,K){this._verify2(G,K);var H=G.isub(K);if(H.cmpn(0)<0)H.iadd(this.m);return H},t.prototype.shl=function(G,K){return this._verify1(G),this.imod(G.ushln(K))},t.prototype.imul=function(G,K){return this._verify2(G,K),this.imod(G.imul(K))},t.prototype.mul=function(G,K){return this._verify2(G,K),this.imod(G.mul(K))},t.prototype.isqr=function(G){return this.imul(G,G.clone())},t.prototype.sqr=function(G){return this.mul(G,G)},t.prototype.sqrt=function(G){if(G.isZero())return G.clone();var K=this.m.andln(3);if(I(K%2===1),K===3){var H=this.m.add(new Z(1)).iushrn(2);return this.pow(G,H)}var D=this.m.subn(1),F=0;while(!D.isZero()&&D.andln(1)===0)F++,D.iushrn(1);I(!D.isZero());var P=new Z(1).toRed(this),j=P.redNeg(),A=this.m.subn(1).iushrn(1),z=this.m.bitLength();z=new Z(2*z*z).toRed(this);while(this.pow(z,A).cmp(j)!==0)z.redIAdd(j);var C=this.pow(z,D),g=this.pow(G,D.addn(1).iushrn(1)),N=this.pow(G,D),h=F;while(N.cmp(P)!==0){var r=N;for(var U0=0;r.cmp(P)!==0;U0++)r=r.redSqr();I(U0<h);var O0=this.pow(C,new Z(1).iushln(h-U0-1));g=g.redMul(O0),C=O0.redSqr(),N=N.redMul(C),h=U0}return g},t.prototype.invm=function(G){var K=G._invmp(this.m);if(K.negative!==0)return K.negative=0,this.imod(K).redNeg();else return this.imod(K)},t.prototype.pow=function(G,K){if(K.isZero())return new Z(1).toRed(this);if(K.cmpn(1)===0)return G.clone();var H=4,D=Array(1<<H);D[0]=new Z(1).toRed(this),D[1]=G;for(var F=2;F<D.length;F++)D[F]=this.mul(D[F-1],G);var P=D[0],j=0,A=0,z=K.bitLength()%26;if(z===0)z=26;for(F=K.length-1;F>=0;F--){var C=K.words[F];for(var g=z-1;g>=0;g--){var N=C>>g&1;if(P!==D[0])P=this.sqr(P);if(N===0&&j===0){A=0;continue}if(j<<=1,j|=N,A++,A!==H&&(F!==0||g!==0))continue;P=this.mul(P,D[j]),A=0,j=0}z=26}return P},t.prototype.convertTo=function(G){var K=G.umod(this.m);return K===G?K.clone():K},t.prototype.convertFrom=function(G){var K=G.clone();return K.red=null,K},Z.mont=function(G){return new C0(G)};function C0(G){if(t.call(this,G),this.shift=this.m.bitLength(),this.shift%26!==0)this.shift+=26-this.shift%26;this.r=new Z(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}O(C0,t),C0.prototype.convertTo=function(G){return this.imod(G.ushln(this.shift))},C0.prototype.convertFrom=function(G){var K=this.imod(G.mul(this.rinv));return K.red=null,K},C0.prototype.imul=function(G,K){if(G.isZero()||K.isZero())return G.words[0]=0,G.length=1,G;var H=G.imul(K),D=H.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),F=H.isub(D).iushrn(this.shift),P=F;if(F.cmp(this.m)>=0)P=F.isub(this.m);else if(F.cmpn(0)<0)P=F.iadd(this.m);return P._forceRed(this)},C0.prototype.mul=function(G,K){if(G.isZero()||K.isZero())return new Z(0)._forceRed(this);var H=G.mul(K),D=H.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),F=H.isub(D).iushrn(this.shift),P=F;if(F.cmp(this.m)>=0)P=F.isub(this.m);else if(F.cmpn(0)<0)P=F.iadd(this.m);return P._forceRed(this)},C0.prototype.invm=function(G){var K=this.imod(G._invmp(this.m).mul(this.r2));return K._forceRed(this)}})(typeof J>"u"||J,X)}),Jj=b0((X,J)=>{var Y=W9(),V=f6().Buffer;function I(O,Z){return V.from(O.toRed(Y.mont(Z.modulus)).redPow(new Y(Z.publicExponent)).fromRed().toArray())}J.exports=I}),Bf=b0((X,J)=>{(function(Y,V){function I(D,F){if(!D)throw Error(F||"Assertion failed")}function O(D,F){D.super_=F;var P=function(){};P.prototype=F.prototype,D.prototype=new P,D.prototype.constructor=D}function Z(D,F,P){if(Z.isBN(D))return D;if(this.negative=0,this.words=null,this.length=0,this.red=null,D!==null){if(F==="le"||F==="be")P=F,F=10;this._init(D||0,F||10,P||"be")}}if(typeof Y==="object")Y.exports=Z;else V.BN=Z;Z.BN=Z,Z.wordSize=26;var L;try{if(typeof window<"u"&&typeof window.Buffer<"u")L=window.Buffer;else L=(oU(),j$(nU)).Buffer}catch(D){}Z.isBN=function(D){if(D instanceof Z)return!0;return D!==null&&typeof D==="object"&&D.constructor.wordSize===Z.wordSize&&Array.isArray(D.words)},Z.max=function(D,F){if(D.cmp(F)>0)return D;return F},Z.min=function(D,F){if(D.cmp(F)<0)return D;return F},Z.prototype._init=function(D,F,P){if(typeof D==="number")return this._initNumber(D,F,P);if(typeof D==="object")return this._initArray(D,F,P);if(F==="hex")F=16;I(F===(F|0)&&F>=2&&F<=36),D=D.toString().replace(/\s+/g,"");var j=0;if(D[0]==="-")j++,this.negative=1;if(j<D.length){if(F===16)this._parseHex(D,j,P);else if(this._parseBase(D,F,j),P==="le")this._initArray(this.toArray(),F,P)}},Z.prototype._initNumber=function(D,F,P){if(D<0)this.negative=1,D=-D;if(D<67108864)this.words=[D&67108863],this.length=1;else if(D<4503599627370496)this.words=[D&67108863,D/67108864&67108863],this.length=2;else I(D<9007199254740992),this.words=[D&67108863,D/67108864&67108863,1],this.length=3;if(P!=="le")return;this._initArray(this.toArray(),F,P)},Z.prototype._initArray=function(D,F,P){if(I(typeof D.length==="number"),D.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(D.length/3),this.words=Array(this.length);for(var j=0;j<this.length;j++)this.words[j]=0;var A,z,C=0;if(P==="be"){for(j=D.length-1,A=0;j>=0;j-=3)if(z=D[j]|D[j-1]<<8|D[j-2]<<16,this.words[A]|=z<<C&67108863,this.words[A+1]=z>>>26-C&67108863,C+=24,C>=26)C-=26,A++}else if(P==="le"){for(j=0,A=0;j<D.length;j+=3)if(z=D[j]|D[j+1]<<8|D[j+2]<<16,this.words[A]|=z<<C&67108863,this.words[A+1]=z>>>26-C&67108863,C+=24,C>=26)C-=26,A++}return this._strip()};function B(D,F){var P=D.charCodeAt(F);if(P>=48&&P<=57)return P-48;else if(P>=65&&P<=70)return P-55;else if(P>=97&&P<=102)return P-87;else I(!1,"Invalid character in "+D)}function R(D,F,P){var j=B(D,P);if(P-1>=F)j|=B(D,P-1)<<4;return j}Z.prototype._parseHex=function(D,F,P){this.length=Math.ceil((D.length-F)/6),this.words=Array(this.length);for(var j=0;j<this.length;j++)this.words[j]=0;var A=0,z=0,C;if(P==="be")for(j=D.length-1;j>=F;j-=2)if(C=R(D,F,j)<<A,this.words[z]|=C&67108863,A>=18)A-=18,z+=1,this.words[z]|=C>>>26;else A+=8;else{var g=D.length-F;for(j=g%2===0?F+1:F;j<D.length;j+=2)if(C=R(D,F,j)<<A,this.words[z]|=C&67108863,A>=18)A-=18,z+=1,this.words[z]|=C>>>26;else A+=8}this._strip()};function S(D,F,P,j){var A=0,z=0,C=Math.min(D.length,P);for(var g=F;g<C;g++){var N=D.charCodeAt(g)-48;if(A*=j,N>=49)z=N-49+10;else if(N>=17)z=N-17+10;else z=N;I(N>=0&&z<j,"Invalid character"),A+=z}return A}Z.prototype._parseBase=function(D,F,P){this.words=[0],this.length=1;for(var j=0,A=1;A<=67108863;A*=F)j++;j--,A=A/F|0;var z=D.length-P,C=z%j,g=Math.min(z,z-C)+P,N=0;for(var h=P;h<g;h+=j)if(N=S(D,h,h+j,F),this.imuln(A),this.words[0]+N<67108864)this.words[0]+=N;else this._iaddn(N);if(C!==0){var r=1;N=S(D,h,D.length,F);for(h=0;h<C;h++)r*=F;if(this.imuln(r),this.words[0]+N<67108864)this.words[0]+=N;else this._iaddn(N)}this._strip()},Z.prototype.copy=function(D){D.words=Array(this.length);for(var F=0;F<this.length;F++)D.words[F]=this.words[F];D.length=this.length,D.negative=this.negative,D.red=this.red};function T(D,F){D.words=F.words,D.length=F.length,D.negative=F.negative,D.red=F.red}if(Z.prototype._move=function(D){T(D,this)},Z.prototype.clone=function(){var D=new Z(null);return this.copy(D),D},Z.prototype._expand=function(D){while(this.length<D)this.words[this.length++]=0;return this},Z.prototype._strip=function(){while(this.length>1&&this.words[this.length-1]===0)this.length--;return this._normSign()},Z.prototype._normSign=function(){if(this.length===1&&this.words[0]===0)this.negative=0;return this},typeof Symbol<"u"&&typeof Symbol.for==="function")try{Z.prototype[Symbol.for("nodejs.util.inspect.custom")]=E}catch(D){Z.prototype.inspect=E}else Z.prototype.inspect=E;function E(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"}var v=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],q=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],y=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64000000,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,24300000,28629151,33554432,39135393,45435424,52521875,60466176];if(Z.prototype.toString=function(D,F){D=D||10,F=F|0||1;var P;if(D===16||D==="hex"){P="";var j=0,A=0;for(var z=0;z<this.length;z++){var C=this.words[z],g=((C<<j|A)&16777215).toString(16);if(A=C>>>24-j&16777215,j+=2,j>=26)j-=26,z--;if(A!==0||z!==this.length-1)P=v[6-g.length]+g+P;else P=g+P}if(A!==0)P=A.toString(16)+P;while(P.length%F!==0)P="0"+P;if(this.negative!==0)P="-"+P;return P}if(D===(D|0)&&D>=2&&D<=36){var N=q[D],h=y[D];P="";var r=this.clone();r.negative=0;while(!r.isZero()){var U0=r.modrn(h).toString(D);if(r=r.idivn(h),!r.isZero())P=v[N-U0.length]+U0+P;else P=U0+P}if(this.isZero())P="0"+P;while(P.length%F!==0)P="0"+P;if(this.negative!==0)P="-"+P;return P}I(!1,"Base should be between 2 and 36")},Z.prototype.toNumber=function(){var D=this.words[0];if(this.length===2)D+=this.words[1]*67108864;else if(this.length===3&&this.words[2]===1)D+=4503599627370496+this.words[1]*67108864;else if(this.length>2)I(!1,"Number can only safely store up to 53 bits");return this.negative!==0?-D:D},Z.prototype.toJSON=function(){return this.toString(16,2)},L)Z.prototype.toBuffer=function(D,F){return this.toArrayLike(L,D,F)};Z.prototype.toArray=function(D,F){return this.toArrayLike(Array,D,F)};var w=function(D,F){if(D.allocUnsafe)return D.allocUnsafe(F);return new D(F)};if(Z.prototype.toArrayLike=function(D,F,P){this._strip();var j=this.byteLength(),A=P||Math.max(1,j);I(j<=A,"byte array longer than desired length"),I(A>0,"Requested array length <= 0");var z=w(D,A),C=F==="le"?"LE":"BE";return this["_toArrayLike"+C](z,j),z},Z.prototype._toArrayLikeLE=function(D,F){var P=0,j=0;for(var A=0,z=0;A<this.length;A++){var C=this.words[A]<<z|j;if(D[P++]=C&255,P<D.length)D[P++]=C>>8&255;if(P<D.length)D[P++]=C>>16&255;if(z===6){if(P<D.length)D[P++]=C>>24&255;j=0,z=0}else j=C>>>24,z+=2}if(P<D.length){D[P++]=j;while(P<D.length)D[P++]=0}},Z.prototype._toArrayLikeBE=function(D,F){var P=D.length-1,j=0;for(var A=0,z=0;A<this.length;A++){var C=this.words[A]<<z|j;if(D[P--]=C&255,P>=0)D[P--]=C>>8&255;if(P>=0)D[P--]=C>>16&255;if(z===6){if(P>=0)D[P--]=C>>24&255;j=0,z=0}else j=C>>>24,z+=2}if(P>=0){D[P--]=j;while(P>=0)D[P--]=0}},Math.clz32)Z.prototype._countBits=function(D){return 32-Math.clz32(D)};else Z.prototype._countBits=function(D){var F=D,P=0;if(F>=4096)P+=13,F>>>=13;if(F>=64)P+=7,F>>>=7;if(F>=8)P+=4,F>>>=4;if(F>=2)P+=2,F>>>=2;return P+F};Z.prototype._zeroBits=function(D){if(D===0)return 26;var F=D,P=0;if((F&8191)===0)P+=13,F>>>=13;if((F&127)===0)P+=7,F>>>=7;if((F&15)===0)P+=4,F>>>=4;if((F&3)===0)P+=2,F>>>=2;if((F&1)===0)P++;return P},Z.prototype.bitLength=function(){var D=this.words[this.length-1],F=this._countBits(D);return(this.length-1)*26+F};function u(D){var F=Array(D.bitLength());for(var P=0;P<F.length;P++){var j=P/26|0,A=P%26;F[P]=D.words[j]>>>A&1}return F}Z.prototype.zeroBits=function(){if(this.isZero())return 0;var D=0;for(var F=0;F<this.length;F++){var P=this._zeroBits(this.words[F]);if(D+=P,P!==26)break}return D},Z.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},Z.prototype.toTwos=function(D){if(this.negative!==0)return this.abs().inotn(D).iaddn(1);return this.clone()},Z.prototype.fromTwos=function(D){if(this.testn(D-1))return this.notn(D).iaddn(1).ineg();return this.clone()},Z.prototype.isNeg=function(){return this.negative!==0},Z.prototype.neg=function(){return this.clone().ineg()},Z.prototype.ineg=function(){if(!this.isZero())this.negative^=1;return this},Z.prototype.iuor=function(D){while(this.length<D.length)this.words[this.length++]=0;for(var F=0;F<D.length;F++)this.words[F]=this.words[F]|D.words[F];return this._strip()},Z.prototype.ior=function(D){return I((this.negative|D.negative)===0),this.iuor(D)},Z.prototype.or=function(D){if(this.length>D.length)return this.clone().ior(D);return D.clone().ior(this)},Z.prototype.uor=function(D){if(this.length>D.length)return this.clone().iuor(D);return D.clone().iuor(this)},Z.prototype.iuand=function(D){var F;if(this.length>D.length)F=D;else F=this;for(var P=0;P<F.length;P++)this.words[P]=this.words[P]&D.words[P];return this.length=F.length,this._strip()},Z.prototype.iand=function(D){return I((this.negative|D.negative)===0),this.iuand(D)},Z.prototype.and=function(D){if(this.length>D.length)return this.clone().iand(D);return D.clone().iand(this)},Z.prototype.uand=function(D){if(this.length>D.length)return this.clone().iuand(D);return D.clone().iuand(this)},Z.prototype.iuxor=function(D){var F,P;if(this.length>D.length)F=this,P=D;else F=D,P=this;for(var j=0;j<P.length;j++)this.words[j]=F.words[j]^P.words[j];if(this!==F)for(;j<F.length;j++)this.words[j]=F.words[j];return this.length=F.length,this._strip()},Z.prototype.ixor=function(D){return I((this.negative|D.negative)===0),this.iuxor(D)},Z.prototype.xor=function(D){if(this.length>D.length)return this.clone().ixor(D);return D.clone().ixor(this)},Z.prototype.uxor=function(D){if(this.length>D.length)return this.clone().iuxor(D);return D.clone().iuxor(this)},Z.prototype.inotn=function(D){I(typeof D==="number"&&D>=0);var F=Math.ceil(D/26)|0,P=D%26;if(this._expand(F),P>0)F--;for(var j=0;j<F;j++)this.words[j]=~this.words[j]&67108863;if(P>0)this.words[j]=~this.words[j]&67108863>>26-P;return this._strip()},Z.prototype.notn=function(D){return this.clone().inotn(D)},Z.prototype.setn=function(D,F){I(typeof D==="number"&&D>=0);var P=D/26|0,j=D%26;if(this._expand(P+1),F)this.words[P]=this.words[P]|1<<j;else this.words[P]=this.words[P]&~(1<<j);return this._strip()},Z.prototype.iadd=function(D){var F;if(this.negative!==0&&D.negative===0)return this.negative=0,F=this.isub(D),this.negative^=1,this._normSign();else if(this.negative===0&&D.negative!==0)return D.negative=0,F=this.isub(D),D.negative=1,F._normSign();var P,j;if(this.length>D.length)P=this,j=D;else P=D,j=this;var A=0;for(var z=0;z<j.length;z++)F=(P.words[z]|0)+(j.words[z]|0)+A,this.words[z]=F&67108863,A=F>>>26;for(;A!==0&&z<P.length;z++)F=(P.words[z]|0)+A,this.words[z]=F&67108863,A=F>>>26;if(this.length=P.length,A!==0)this.words[this.length]=A,this.length++;else if(P!==this)for(;z<P.length;z++)this.words[z]=P.words[z];return this},Z.prototype.add=function(D){var F;if(D.negative!==0&&this.negative===0)return D.negative=0,F=this.sub(D),D.negative^=1,F;else if(D.negative===0&&this.negative!==0)return this.negative=0,F=D.sub(this),this.negative=1,F;if(this.length>D.length)return this.clone().iadd(D);return D.clone().iadd(this)},Z.prototype.isub=function(D){if(D.negative!==0){D.negative=0;var F=this.iadd(D);return D.negative=1,F._normSign()}else if(this.negative!==0)return this.negative=0,this.iadd(D),this.negative=1,this._normSign();var P=this.cmp(D);if(P===0)return this.negative=0,this.length=1,this.words[0]=0,this;var j,A;if(P>0)j=this,A=D;else j=D,A=this;var z=0;for(var C=0;C<A.length;C++)F=(j.words[C]|0)-(A.words[C]|0)+z,z=F>>26,this.words[C]=F&67108863;for(;z!==0&&C<j.length;C++)F=(j.words[C]|0)+z,z=F>>26,this.words[C]=F&67108863;if(z===0&&C<j.length&&j!==this)for(;C<j.length;C++)this.words[C]=j.words[C];if(this.length=Math.max(this.length,C),j!==this)this.negative=1;return this._strip()},Z.prototype.sub=function(D){return this.clone().isub(D)};function x(D,F,P){P.negative=F.negative^D.negative;var j=D.length+F.length|0;P.length=j,j=j-1|0;var A=D.words[0]|0,z=F.words[0]|0,C=A*z,g=C&67108863,N=C/67108864|0;P.words[0]=g;for(var h=1;h<j;h++){var r=N>>>26,U0=N&67108863,O0=Math.min(h,F.length-1);for(var Q0=Math.max(0,h-D.length+1);Q0<=O0;Q0++){var s=h-Q0|0;A=D.words[s]|0,z=F.words[Q0]|0,C=A*z+U0,r+=C/67108864|0,U0=C&67108863}P.words[h]=U0|0,N=r|0}if(N!==0)P.words[h]=N|0;else P.length--;return P._strip()}var b=function(D,F,P){var j=D.words,A=F.words,z=P.words,C=0,g,N,h,r=j[0]|0,U0=r&8191,O0=r>>>13,Q0=j[1]|0,s=Q0&8191,e=Q0>>>13,J0=j[2]|0,Z0=J0&8191,A0=J0>>>13,$0=j[3]|0,c=$0&8191,n=$0>>>13,H0=j[4]|0,Y0=H0&8191,D0=H0>>>13,q0=j[5]|0,X0=q0&8191,V0=q0>>>13,U$=j[6]|0,M0=U$&8191,v0=U$>>>13,L$=j[7]|0,p0=L$&8191,c0=L$>>>13,i$=j[8]|0,u0=i$&8191,h0=i$>>>13,QU=j[9]|0,r0=QU&8191,o0=QU>>>13,PU=A[0]|0,m=PU&8191,I0=PU>>>13,s0=A[1]|0,j0=s0&8191,N0=s0>>>13,F$=A[2]|0,x0=F$&8191,f0=F$>>>13,D$=A[3]|0,n0=D$&8191,i0=D$>>>13,VU=A[4]|0,a0=VU&8191,i=VU>>>13,G0=A[5]|0,E0=G0&8191,S0=G0>>>13,z$=A[6]|0,d0=z$&8191,t0=z$>>>13,HU=A[7]|0,X$=HU&8191,$$=HU>>>13,e$=A[8]|0,I$=e$&8191,e0=e$>>>13,_U=A[9]|0,B$=_U&8191,S$=_U>>>13;P.negative=D.negative^F.negative,P.length=19,g=Math.imul(U0,m),N=Math.imul(U0,I0),N=N+Math.imul(O0,m)|0,h=Math.imul(O0,I0);var $U=(C+g|0)+((N&8191)<<13)|0;C=(h+(N>>>13)|0)+($U>>>26)|0,$U&=67108863,g=Math.imul(s,m),N=Math.imul(s,I0),N=N+Math.imul(e,m)|0,h=Math.imul(e,I0),g=g+Math.imul(U0,j0)|0,N=N+Math.imul(U0,N0)|0,N=N+Math.imul(O0,j0)|0,h=h+Math.imul(O0,N0)|0;var d$=(C+g|0)+((N&8191)<<13)|0;C=(h+(N>>>13)|0)+(d$>>>26)|0,d$&=67108863,g=Math.imul(Z0,m),N=Math.imul(Z0,I0),N=N+Math.imul(A0,m)|0,h=Math.imul(A0,I0),g=g+Math.imul(s,j0)|0,N=N+Math.imul(s,N0)|0,N=N+Math.imul(e,j0)|0,h=h+Math.imul(e,N0)|0,g=g+Math.imul(U0,x0)|0,N=N+Math.imul(U0,f0)|0,N=N+Math.imul(O0,x0)|0,h=h+Math.imul(O0,f0)|0;var bU=(C+g|0)+((N&8191)<<13)|0;C=(h+(N>>>13)|0)+(bU>>>26)|0,bU&=67108863,g=Math.imul(c,m),N=Math.imul(c,I0),N=N+Math.imul(n,m)|0,h=Math.imul(n,I0),g=g+Math.imul(Z0,j0)|0,N=N+Math.imul(Z0,N0)|0,N=N+Math.imul(A0,j0)|0,h=h+Math.imul(A0,N0)|0,g=g+Math.imul(s,x0)|0,N=N+Math.imul(s,f0)|0,N=N+Math.imul(e,x0)|0,h=h+Math.imul(e,f0)|0,g=g+Math.imul(U0,n0)|0,N=N+Math.imul(U0,i0)|0,N=N+Math.imul(O0,n0)|0,h=h+Math.imul(O0,i0)|0;var uU=(C+g|0)+((N&8191)<<13)|0;C=(h+(N>>>13)|0)+(uU>>>26)|0,uU&=67108863,g=Math.imul(Y0,m),N=Math.imul(Y0,I0),N=N+Math.imul(D0,m)|0,h=Math.imul(D0,I0),g=g+Math.imul(c,j0)|0,N=N+Math.imul(c,N0)|0,N=N+Math.imul(n,j0)|0,h=h+Math.imul(n,N0)|0,g=g+Math.imul(Z0,x0)|0,N=N+Math.imul(Z0,f0)|0,N=N+Math.imul(A0,x0)|0,h=h+Math.imul(A0,f0)|0,g=g+Math.imul(s,n0)|0,N=N+Math.imul(s,i0)|0,N=N+Math.imul(e,n0)|0,h=h+Math.imul(e,i0)|0,g=g+Math.imul(U0,a0)|0,N=N+Math.imul(U0,i)|0,N=N+Math.imul(O0,a0)|0,h=h+Math.imul(O0,i)|0;var hU=(C+g|0)+((N&8191)<<13)|0;C=(h+(N>>>13)|0)+(hU>>>26)|0,hU&=67108863,g=Math.imul(X0,m),N=Math.imul(X0,I0),N=N+Math.imul(V0,m)|0,h=Math.imul(V0,I0),g=g+Math.imul(Y0,j0)|0,N=N+Math.imul(Y0,N0)|0,N=N+Math.imul(D0,j0)|0,h=h+Math.imul(D0,N0)|0,g=g+Math.imul(c,x0)|0,N=N+Math.imul(c,f0)|0,N=N+Math.imul(n,x0)|0,h=h+Math.imul(n,f0)|0,g=g+Math.imul(Z0,n0)|0,N=N+Math.imul(Z0,i0)|0,N=N+Math.imul(A0,n0)|0,h=h+Math.imul(A0,i0)|0,g=g+Math.imul(s,a0)|0,N=N+Math.imul(s,i)|0,N=N+Math.imul(e,a0)|0,h=h+Math.imul(e,i)|0,g=g+Math.imul(U0,E0)|0,N=N+Math.imul(U0,S0)|0,N=N+Math.imul(O0,E0)|0,h=h+Math.imul(O0,S0)|0;var cU=(C+g|0)+((N&8191)<<13)|0;C=(h+(N>>>13)|0)+(cU>>>26)|0,cU&=67108863,g=Math.imul(M0,m),N=Math.imul(M0,I0),N=N+Math.imul(v0,m)|0,h=Math.imul(v0,I0),g=g+Math.imul(X0,j0)|0,N=N+Math.imul(X0,N0)|0,N=N+Math.imul(V0,j0)|0,h=h+Math.imul(V0,N0)|0,g=g+Math.imul(Y0,x0)|0,N=N+Math.imul(Y0,f0)|0,N=N+Math.imul(D0,x0)|0,h=h+Math.imul(D0,f0)|0,g=g+Math.imul(c,n0)|0,N=N+Math.imul(c,i0)|0,N=N+Math.imul(n,n0)|0,h=h+Math.imul(n,i0)|0,g=g+Math.imul(Z0,a0)|0,N=N+Math.imul(Z0,i)|0,N=N+Math.imul(A0,a0)|0,h=h+Math.imul(A0,i)|0,g=g+Math.imul(s,E0)|0,N=N+Math.imul(s,S0)|0,N=N+Math.imul(e,E0)|0,h=h+Math.imul(e,S0)|0,g=g+Math.imul(U0,d0)|0,N=N+Math.imul(U0,t0)|0,N=N+Math.imul(O0,d0)|0,h=h+Math.imul(O0,t0)|0;var pU=(C+g|0)+((N&8191)<<13)|0;C=(h+(N>>>13)|0)+(pU>>>26)|0,pU&=67108863,g=Math.imul(p0,m),N=Math.imul(p0,I0),N=N+Math.imul(c0,m)|0,h=Math.imul(c0,I0),g=g+Math.imul(M0,j0)|0,N=N+Math.imul(M0,N0)|0,N=N+Math.imul(v0,j0)|0,h=h+Math.imul(v0,N0)|0,g=g+Math.imul(X0,x0)|0,N=N+Math.imul(X0,f0)|0,N=N+Math.imul(V0,x0)|0,h=h+Math.imul(V0,f0)|0,g=g+Math.imul(Y0,n0)|0,N=N+Math.imul(Y0,i0)|0,N=N+Math.imul(D0,n0)|0,h=h+Math.imul(D0,i0)|0,g=g+Math.imul(c,a0)|0,N=N+Math.imul(c,i)|0,N=N+Math.imul(n,a0)|0,h=h+Math.imul(n,i)|0,g=g+Math.imul(Z0,E0)|0,N=N+Math.imul(Z0,S0)|0,N=N+Math.imul(A0,E0)|0,h=h+Math.imul(A0,S0)|0,g=g+Math.imul(s,d0)|0,N=N+Math.imul(s,t0)|0,N=N+Math.imul(e,d0)|0,h=h+Math.imul(e,t0)|0,g=g+Math.imul(U0,X$)|0,N=N+Math.imul(U0,$$)|0,N=N+Math.imul(O0,X$)|0,h=h+Math.imul(O0,$$)|0;var r$=(C+g|0)+((N&8191)<<13)|0;C=(h+(N>>>13)|0)+(r$>>>26)|0,r$&=67108863,g=Math.imul(u0,m),N=Math.imul(u0,I0),N=N+Math.imul(h0,m)|0,h=Math.imul(h0,I0),g=g+Math.imul(p0,j0)|0,N=N+Math.imul(p0,N0)|0,N=N+Math.imul(c0,j0)|0,h=h+Math.imul(c0,N0)|0,g=g+Math.imul(M0,x0)|0,N=N+Math.imul(M0,f0)|0,N=N+Math.imul(v0,x0)|0,h=h+Math.imul(v0,f0)|0,g=g+Math.imul(X0,n0)|0,N=N+Math.imul(X0,i0)|0,N=N+Math.imul(V0,n0)|0,h=h+Math.imul(V0,i0)|0,g=g+Math.imul(Y0,a0)|0,N=N+Math.imul(Y0,i)|0,N=N+Math.imul(D0,a0)|0,h=h+Math.imul(D0,i)|0,g=g+Math.imul(c,E0)|0,N=N+Math.imul(c,S0)|0,N=N+Math.imul(n,E0)|0,h=h+Math.imul(n,S0)|0,g=g+Math.imul(Z0,d0)|0,N=N+Math.imul(Z0,t0)|0,N=N+Math.imul(A0,d0)|0,h=h+Math.imul(A0,t0)|0,g=g+Math.imul(s,X$)|0,N=N+Math.imul(s,$$)|0,N=N+Math.imul(e,X$)|0,h=h+Math.imul(e,$$)|0,g=g+Math.imul(U0,I$)|0,N=N+Math.imul(U0,e0)|0,N=N+Math.imul(O0,I$)|0,h=h+Math.imul(O0,e0)|0;var LU=(C+g|0)+((N&8191)<<13)|0;C=(h+(N>>>13)|0)+(LU>>>26)|0,LU&=67108863,g=Math.imul(r0,m),N=Math.imul(r0,I0),N=N+Math.imul(o0,m)|0,h=Math.imul(o0,I0),g=g+Math.imul(u0,j0)|0,N=N+Math.imul(u0,N0)|0,N=N+Math.imul(h0,j0)|0,h=h+Math.imul(h0,N0)|0,g=g+Math.imul(p0,x0)|0,N=N+Math.imul(p0,f0)|0,N=N+Math.imul(c0,x0)|0,h=h+Math.imul(c0,f0)|0,g=g+Math.imul(M0,n0)|0,N=N+Math.imul(M0,i0)|0,N=N+Math.imul(v0,n0)|0,h=h+Math.imul(v0,i0)|0,g=g+Math.imul(X0,a0)|0,N=N+Math.imul(X0,i)|0,N=N+Math.imul(V0,a0)|0,h=h+Math.imul(V0,i)|0,g=g+Math.imul(Y0,E0)|0,N=N+Math.imul(Y0,S0)|0,N=N+Math.imul(D0,E0)|0,h=h+Math.imul(D0,S0)|0,g=g+Math.imul(c,d0)|0,N=N+Math.imul(c,t0)|0,N=N+Math.imul(n,d0)|0,h=h+Math.imul(n,t0)|0,g=g+Math.imul(Z0,X$)|0,N=N+Math.imul(Z0,$$)|0,N=N+Math.imul(A0,X$)|0,h=h+Math.imul(A0,$$)|0,g=g+Math.imul(s,I$)|0,N=N+Math.imul(s,e0)|0,N=N+Math.imul(e,I$)|0,h=h+Math.imul(e,e0)|0,g=g+Math.imul(U0,B$)|0,N=N+Math.imul(U0,S$)|0,N=N+Math.imul(O0,B$)|0,h=h+Math.imul(O0,S$)|0;var DU=(C+g|0)+((N&8191)<<13)|0;C=(h+(N>>>13)|0)+(DU>>>26)|0,DU&=67108863,g=Math.imul(r0,j0),N=Math.imul(r0,N0),N=N+Math.imul(o0,j0)|0,h=Math.imul(o0,N0),g=g+Math.imul(u0,x0)|0,N=N+Math.imul(u0,f0)|0,N=N+Math.imul(h0,x0)|0,h=h+Math.imul(h0,f0)|0,g=g+Math.imul(p0,n0)|0,N=N+Math.imul(p0,i0)|0,N=N+Math.imul(c0,n0)|0,h=h+Math.imul(c0,i0)|0,g=g+Math.imul(M0,a0)|0,N=N+Math.imul(M0,i)|0,N=N+Math.imul(v0,a0)|0,h=h+Math.imul(v0,i)|0,g=g+Math.imul(X0,E0)|0,N=N+Math.imul(X0,S0)|0,N=N+Math.imul(V0,E0)|0,h=h+Math.imul(V0,S0)|0,g=g+Math.imul(Y0,d0)|0,N=N+Math.imul(Y0,t0)|0,N=N+Math.imul(D0,d0)|0,h=h+Math.imul(D0,t0)|0,g=g+Math.imul(c,X$)|0,N=N+Math.imul(c,$$)|0,N=N+Math.imul(n,X$)|0,h=h+Math.imul(n,$$)|0,g=g+Math.imul(Z0,I$)|0,N=N+Math.imul(Z0,e0)|0,N=N+Math.imul(A0,I$)|0,h=h+Math.imul(A0,e0)|0,g=g+Math.imul(s,B$)|0,N=N+Math.imul(s,S$)|0,N=N+Math.imul(e,B$)|0,h=h+Math.imul(e,S$)|0;var mU=(C+g|0)+((N&8191)<<13)|0;C=(h+(N>>>13)|0)+(mU>>>26)|0,mU&=67108863,g=Math.imul(r0,x0),N=Math.imul(r0,f0),N=N+Math.imul(o0,x0)|0,h=Math.imul(o0,f0),g=g+Math.imul(u0,n0)|0,N=N+Math.imul(u0,i0)|0,N=N+Math.imul(h0,n0)|0,h=h+Math.imul(h0,i0)|0,g=g+Math.imul(p0,a0)|0,N=N+Math.imul(p0,i)|0,N=N+Math.imul(c0,a0)|0,h=h+Math.imul(c0,i)|0,g=g+Math.imul(M0,E0)|0,N=N+Math.imul(M0,S0)|0,N=N+Math.imul(v0,E0)|0,h=h+Math.imul(v0,S0)|0,g=g+Math.imul(X0,d0)|0,N=N+Math.imul(X0,t0)|0,N=N+Math.imul(V0,d0)|0,h=h+Math.imul(V0,t0)|0,g=g+Math.imul(Y0,X$)|0,N=N+Math.imul(Y0,$$)|0,N=N+Math.imul(D0,X$)|0,h=h+Math.imul(D0,$$)|0,g=g+Math.imul(c,I$)|0,N=N+Math.imul(c,e0)|0,N=N+Math.imul(n,I$)|0,h=h+Math.imul(n,e0)|0,g=g+Math.imul(Z0,B$)|0,N=N+Math.imul(Z0,S$)|0,N=N+Math.imul(A0,B$)|0,h=h+Math.imul(A0,S$)|0;var EU=(C+g|0)+((N&8191)<<13)|0;C=(h+(N>>>13)|0)+(EU>>>26)|0,EU&=67108863,g=Math.imul(r0,n0),N=Math.imul(r0,i0),N=N+Math.imul(o0,n0)|0,h=Math.imul(o0,i0),g=g+Math.imul(u0,a0)|0,N=N+Math.imul(u0,i)|0,N=N+Math.imul(h0,a0)|0,h=h+Math.imul(h0,i)|0,g=g+Math.imul(p0,E0)|0,N=N+Math.imul(p0,S0)|0,N=N+Math.imul(c0,E0)|0,h=h+Math.imul(c0,S0)|0,g=g+Math.imul(M0,d0)|0,N=N+Math.imul(M0,t0)|0,N=N+Math.imul(v0,d0)|0,h=h+Math.imul(v0,t0)|0,g=g+Math.imul(X0,X$)|0,N=N+Math.imul(X0,$$)|0,N=N+Math.imul(V0,X$)|0,h=h+Math.imul(V0,$$)|0,g=g+Math.imul(Y0,I$)|0,N=N+Math.imul(Y0,e0)|0,N=N+Math.imul(D0,I$)|0,h=h+Math.imul(D0,e0)|0,g=g+Math.imul(c,B$)|0,N=N+Math.imul(c,S$)|0,N=N+Math.imul(n,B$)|0,h=h+Math.imul(n,S$)|0;var NU=(C+g|0)+((N&8191)<<13)|0;C=(h+(N>>>13)|0)+(NU>>>26)|0,NU&=67108863,g=Math.imul(r0,a0),N=Math.imul(r0,i),N=N+Math.imul(o0,a0)|0,h=Math.imul(o0,i),g=g+Math.imul(u0,E0)|0,N=N+Math.imul(u0,S0)|0,N=N+Math.imul(h0,E0)|0,h=h+Math.imul(h0,S0)|0,g=g+Math.imul(p0,d0)|0,N=N+Math.imul(p0,t0)|0,N=N+Math.imul(c0,d0)|0,h=h+Math.imul(c0,t0)|0,g=g+Math.imul(M0,X$)|0,N=N+Math.imul(M0,$$)|0,N=N+Math.imul(v0,X$)|0,h=h+Math.imul(v0,$$)|0,g=g+Math.imul(X0,I$)|0,N=N+Math.imul(X0,e0)|0,N=N+Math.imul(V0,I$)|0,h=h+Math.imul(V0,e0)|0,g=g+Math.imul(Y0,B$)|0,N=N+Math.imul(Y0,S$)|0,N=N+Math.imul(D0,B$)|0,h=h+Math.imul(D0,S$)|0;var xU=(C+g|0)+((N&8191)<<13)|0;C=(h+(N>>>13)|0)+(xU>>>26)|0,xU&=67108863,g=Math.imul(r0,E0),N=Math.imul(r0,S0),N=N+Math.imul(o0,E0)|0,h=Math.imul(o0,S0),g=g+Math.imul(u0,d0)|0,N=N+Math.imul(u0,t0)|0,N=N+Math.imul(h0,d0)|0,h=h+Math.imul(h0,t0)|0,g=g+Math.imul(p0,X$)|0,N=N+Math.imul(p0,$$)|0,N=N+Math.imul(c0,X$)|0,h=h+Math.imul(c0,$$)|0,g=g+Math.imul(M0,I$)|0,N=N+Math.imul(M0,e0)|0,N=N+Math.imul(v0,I$)|0,h=h+Math.imul(v0,e0)|0,g=g+Math.imul(X0,B$)|0,N=N+Math.imul(X0,S$)|0,N=N+Math.imul(V0,B$)|0,h=h+Math.imul(V0,S$)|0;var RU=(C+g|0)+((N&8191)<<13)|0;C=(h+(N>>>13)|0)+(RU>>>26)|0,RU&=67108863,g=Math.imul(r0,d0),N=Math.imul(r0,t0),N=N+Math.imul(o0,d0)|0,h=Math.imul(o0,t0),g=g+Math.imul(u0,X$)|0,N=N+Math.imul(u0,$$)|0,N=N+Math.imul(h0,X$)|0,h=h+Math.imul(h0,$$)|0,g=g+Math.imul(p0,I$)|0,N=N+Math.imul(p0,e0)|0,N=N+Math.imul(c0,I$)|0,h=h+Math.imul(c0,e0)|0,g=g+Math.imul(M0,B$)|0,N=N+Math.imul(M0,S$)|0,N=N+Math.imul(v0,B$)|0,h=h+Math.imul(v0,S$)|0;var MU=(C+g|0)+((N&8191)<<13)|0;C=(h+(N>>>13)|0)+(MU>>>26)|0,MU&=67108863,g=Math.imul(r0,X$),N=Math.imul(r0,$$),N=N+Math.imul(o0,X$)|0,h=Math.imul(o0,$$),g=g+Math.imul(u0,I$)|0,N=N+Math.imul(u0,e0)|0,N=N+Math.imul(h0,I$)|0,h=h+Math.imul(h0,e0)|0,g=g+Math.imul(p0,B$)|0,N=N+Math.imul(p0,S$)|0,N=N+Math.imul(c0,B$)|0,h=h+Math.imul(c0,S$)|0;var KI=(C+g|0)+((N&8191)<<13)|0;C=(h+(N>>>13)|0)+(KI>>>26)|0,KI&=67108863,g=Math.imul(r0,I$),N=Math.imul(r0,e0),N=N+Math.imul(o0,I$)|0,h=Math.imul(o0,e0),g=g+Math.imul(u0,B$)|0,N=N+Math.imul(u0,S$)|0,N=N+Math.imul(h0,B$)|0,h=h+Math.imul(h0,S$)|0;var KY=(C+g|0)+((N&8191)<<13)|0;C=(h+(N>>>13)|0)+(KY>>>26)|0,KY&=67108863,g=Math.imul(r0,B$),N=Math.imul(r0,S$),N=N+Math.imul(o0,B$)|0,h=Math.imul(o0,S$);var WY=(C+g|0)+((N&8191)<<13)|0;if(C=(h+(N>>>13)|0)+(WY>>>26)|0,WY&=67108863,z[0]=$U,z[1]=d$,z[2]=bU,z[3]=uU,z[4]=hU,z[5]=cU,z[6]=pU,z[7]=r$,z[8]=LU,z[9]=DU,z[10]=mU,z[11]=EU,z[12]=NU,z[13]=xU,z[14]=RU,z[15]=MU,z[16]=KI,z[17]=KY,z[18]=WY,C!==0)z[19]=C,P.length++;return P};if(!Math.imul)b=x;function p(D,F,P){P.negative=F.negative^D.negative,P.length=D.length+F.length;var j=0,A=0;for(var z=0;z<P.length-1;z++){var C=A;A=0;var g=j&67108863,N=Math.min(z,F.length-1);for(var h=Math.max(0,z-D.length+1);h<=N;h++){var r=z-h,U0=D.words[r]|0,O0=F.words[h]|0,Q0=U0*O0,s=Q0&67108863;C=C+(Q0/67108864|0)|0,s=s+g|0,g=s&67108863,C=C+(s>>>26)|0,A+=C>>>26,C&=67108863}P.words[z]=g,j=C,C=A}if(j!==0)P.words[z]=j;else P.length--;return P._strip()}function d(D,F,P){return p(D,F,P)}Z.prototype.mulTo=function(D,F){var P,j=this.length+D.length;if(this.length===10&&D.length===10)P=b(this,D,F);else if(j<63)P=x(this,D,F);else if(j<1024)P=p(this,D,F);else P=d(this,D,F);return P};function a(D,F){this.x=D,this.y=F}a.prototype.makeRBT=function(D){var F=Array(D),P=Z.prototype._countBits(D)-1;for(var j=0;j<D;j++)F[j]=this.revBin(j,P,D);return F},a.prototype.revBin=function(D,F,P){if(D===0||D===P-1)return D;var j=0;for(var A=0;A<F;A++)j|=(D&1)<<F-A-1,D>>=1;return j},a.prototype.permute=function(D,F,P,j,A,z){for(var C=0;C<z;C++)j[C]=F[D[C]],A[C]=P[D[C]]},a.prototype.transform=function(D,F,P,j,A,z){this.permute(z,D,F,P,j,A);for(var C=1;C<A;C<<=1){var g=C<<1,N=Math.cos(2*Math.PI/g),h=Math.sin(2*Math.PI/g);for(var r=0;r<A;r+=g){var U0=N,O0=h;for(var Q0=0;Q0<C;Q0++){var s=P[r+Q0],e=j[r+Q0],J0=P[r+Q0+C],Z0=j[r+Q0+C],A0=U0*J0-O0*Z0;if(Z0=U0*Z0+O0*J0,J0=A0,P[r+Q0]=s+J0,j[r+Q0]=e+Z0,P[r+Q0+C]=s-J0,j[r+Q0+C]=e-Z0,Q0!==g)A0=N*U0-h*O0,O0=N*O0+h*U0,U0=A0}}}},a.prototype.guessLen13b=function(D,F){var P=Math.max(F,D)|1,j=P&1,A=0;for(P=P/2|0;P;P=P>>>1)A++;return 1<<A+1+j},a.prototype.conjugate=function(D,F,P){if(P<=1)return;for(var j=0;j<P/2;j++){var A=D[j];D[j]=D[P-j-1],D[P-j-1]=A,A=F[j],F[j]=-F[P-j-1],F[P-j-1]=-A}},a.prototype.normalize13b=function(D,F){var P=0;for(var j=0;j<F/2;j++){var A=Math.round(D[2*j+1]/F)*8192+Math.round(D[2*j]/F)+P;if(D[j]=A&67108863,A<67108864)P=0;else P=A/67108864|0}return D},a.prototype.convert13b=function(D,F,P,j){var A=0;for(var z=0;z<F;z++)A=A+(D[z]|0),P[2*z]=A&8191,A=A>>>13,P[2*z+1]=A&8191,A=A>>>13;for(z=2*F;z<j;++z)P[z]=0;I(A===0),I((A&-8192)===0)},a.prototype.stub=function(D){var F=Array(D);for(var P=0;P<D;P++)F[P]=0;return F},a.prototype.mulp=function(D,F,P){var j=2*this.guessLen13b(D.length,F.length),A=this.makeRBT(j),z=this.stub(j),C=Array(j),g=Array(j),N=Array(j),h=Array(j),r=Array(j),U0=Array(j),O0=P.words;O0.length=j,this.convert13b(D.words,D.length,C,j),this.convert13b(F.words,F.length,h,j),this.transform(C,z,g,N,j,A),this.transform(h,z,r,U0,j,A);for(var Q0=0;Q0<j;Q0++){var s=g[Q0]*r[Q0]-N[Q0]*U0[Q0];N[Q0]=g[Q0]*U0[Q0]+N[Q0]*r[Q0],g[Q0]=s}return this.conjugate(g,N,j),this.transform(g,N,O0,z,j,A),this.conjugate(O0,z,j),this.normalize13b(O0,j),P.negative=D.negative^F.negative,P.length=D.length+F.length,P._strip()},Z.prototype.mul=function(D){var F=new Z(null);return F.words=Array(this.length+D.length),this.mulTo(D,F)},Z.prototype.mulf=function(D){var F=new Z(null);return F.words=Array(this.length+D.length),d(this,D,F)},Z.prototype.imul=function(D){return this.clone().mulTo(D,this)},Z.prototype.imuln=function(D){var F=D<0;if(F)D=-D;I(typeof D==="number"),I(D<67108864);var P=0;for(var j=0;j<this.length;j++){var A=(this.words[j]|0)*D,z=(A&67108863)+(P&67108863);P>>=26,P+=A/67108864|0,P+=z>>>26,this.words[j]=z&67108863}if(P!==0)this.words[j]=P,this.length++;return this.length=D===0?1:this.length,F?this.ineg():this},Z.prototype.muln=function(D){return this.clone().imuln(D)},Z.prototype.sqr=function(){return this.mul(this)},Z.prototype.isqr=function(){return this.imul(this.clone())},Z.prototype.pow=function(D){var F=u(D);if(F.length===0)return new Z(1);var P=this;for(var j=0;j<F.length;j++,P=P.sqr())if(F[j]!==0)break;if(++j<F.length)for(var A=P.sqr();j<F.length;j++,A=A.sqr()){if(F[j]===0)continue;P=P.mul(A)}return P},Z.prototype.iushln=function(D){I(typeof D==="number"&&D>=0);var F=D%26,P=(D-F)/26,j=67108863>>>26-F<<26-F,A;if(F!==0){var z=0;for(A=0;A<this.length;A++){var C=this.words[A]&j,g=(this.words[A]|0)-C<<F;this.words[A]=g|z,z=C>>>26-F}if(z)this.words[A]=z,this.length++}if(P!==0){for(A=this.length-1;A>=0;A--)this.words[A+P]=this.words[A];for(A=0;A<P;A++)this.words[A]=0;this.length+=P}return this._strip()},Z.prototype.ishln=function(D){return I(this.negative===0),this.iushln(D)},Z.prototype.iushrn=function(D,F,P){I(typeof D==="number"&&D>=0);var j;if(F)j=(F-F%26)/26;else j=0;var A=D%26,z=Math.min((D-A)/26,this.length),C=67108863^67108863>>>A<<A,g=P;if(j-=z,j=Math.max(0,j),g){for(var N=0;N<z;N++)g.words[N]=this.words[N];g.length=z}if(z===0);else if(this.length>z){this.length-=z;for(N=0;N<this.length;N++)this.words[N]=this.words[N+z]}else this.words[0]=0,this.length=1;var h=0;for(N=this.length-1;N>=0&&(h!==0||N>=j);N--){var r=this.words[N]|0;this.words[N]=h<<26-A|r>>>A,h=r&C}if(g&&h!==0)g.words[g.length++]=h;if(this.length===0)this.words[0]=0,this.length=1;return this._strip()},Z.prototype.ishrn=function(D,F,P){return I(this.negative===0),this.iushrn(D,F,P)},Z.prototype.shln=function(D){return this.clone().ishln(D)},Z.prototype.ushln=function(D){return this.clone().iushln(D)},Z.prototype.shrn=function(D){return this.clone().ishrn(D)},Z.prototype.ushrn=function(D){return this.clone().iushrn(D)},Z.prototype.testn=function(D){I(typeof D==="number"&&D>=0);var F=D%26,P=(D-F)/26,j=1<<F;if(this.length<=P)return!1;var A=this.words[P];return!!(A&j)},Z.prototype.imaskn=function(D){I(typeof D==="number"&&D>=0);var F=D%26,P=(D-F)/26;if(I(this.negative===0,"imaskn works only with positive numbers"),this.length<=P)return this;if(F!==0)P++;if(this.length=Math.min(P,this.length),F!==0){var j=67108863^67108863>>>F<<F;this.words[this.length-1]&=j}return this._strip()},Z.prototype.maskn=function(D){return this.clone().imaskn(D)},Z.prototype.iaddn=function(D){if(I(typeof D==="number"),I(D<67108864),D<0)return this.isubn(-D);if(this.negative!==0){if(this.length===1&&(this.words[0]|0)<=D)return this.words[0]=D-(this.words[0]|0),this.negative=0,this;return this.negative=0,this.isubn(D),this.negative=1,this}return this._iaddn(D)},Z.prototype._iaddn=function(D){this.words[0]+=D;for(var F=0;F<this.length&&this.words[F]>=67108864;F++)if(this.words[F]-=67108864,F===this.length-1)this.words[F+1]=1;else this.words[F+1]++;return this.length=Math.max(this.length,F+1),this},Z.prototype.isubn=function(D){if(I(typeof D==="number"),I(D<67108864),D<0)return this.iaddn(-D);if(this.negative!==0)return this.negative=0,this.iaddn(D),this.negative=1,this;if(this.words[0]-=D,this.length===1&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var F=0;F<this.length&&this.words[F]<0;F++)this.words[F]+=67108864,this.words[F+1]-=1;return this._strip()},Z.prototype.addn=function(D){return this.clone().iaddn(D)},Z.prototype.subn=function(D){return this.clone().isubn(D)},Z.prototype.iabs=function(){return this.negative=0,this},Z.prototype.abs=function(){return this.clone().iabs()},Z.prototype._ishlnsubmul=function(D,F,P){var j=D.length+P,A;this._expand(j);var z,C=0;for(A=0;A<D.length;A++){z=(this.words[A+P]|0)+C;var g=(D.words[A]|0)*F;z-=g&67108863,C=(z>>26)-(g/67108864|0),this.words[A+P]=z&67108863}for(;A<this.length-P;A++)z=(this.words[A+P]|0)+C,C=z>>26,this.words[A+P]=z&67108863;if(C===0)return this._strip();I(C===-1),C=0;for(A=0;A<this.length;A++)z=-(this.words[A]|0)+C,C=z>>26,this.words[A]=z&67108863;return this.negative=1,this._strip()},Z.prototype._wordDiv=function(D,F){var P=this.length-D.length,j=this.clone(),A=D,z=A.words[A.length-1]|0,C=this._countBits(z);if(P=26-C,P!==0)A=A.ushln(P),j.iushln(P),z=A.words[A.length-1]|0;var g=j.length-A.length,N;if(F!=="mod"){N=new Z(null),N.length=g+1,N.words=Array(N.length);for(var h=0;h<N.length;h++)N.words[h]=0}var r=j.clone()._ishlnsubmul(A,1,g);if(r.negative===0){if(j=r,N)N.words[g]=1}for(var U0=g-1;U0>=0;U0--){var O0=(j.words[A.length+U0]|0)*67108864+(j.words[A.length+U0-1]|0);O0=Math.min(O0/z|0,67108863),j._ishlnsubmul(A,O0,U0);while(j.negative!==0)if(O0--,j.negative=0,j._ishlnsubmul(A,1,U0),!j.isZero())j.negative^=1;if(N)N.words[U0]=O0}if(N)N._strip();if(j._strip(),F!=="div"&&P!==0)j.iushrn(P);return{div:N||null,mod:j}},Z.prototype.divmod=function(D,F,P){if(I(!D.isZero()),this.isZero())return{div:new Z(0),mod:new Z(0)};var j,A,z;if(this.negative!==0&&D.negative===0){if(z=this.neg().divmod(D,F),F!=="mod")j=z.div.neg();if(F!=="div"){if(A=z.mod.neg(),P&&A.negative!==0)A.iadd(D)}return{div:j,mod:A}}if(this.negative===0&&D.negative!==0){if(z=this.divmod(D.neg(),F),F!=="mod")j=z.div.neg();return{div:j,mod:z.mod}}if((this.negative&D.negative)!==0){if(z=this.neg().divmod(D.neg(),F),F!=="div"){if(A=z.mod.neg(),P&&A.negative!==0)A.isub(D)}return{div:z.div,mod:A}}if(D.length>this.length||this.cmp(D)<0)return{div:new Z(0),mod:this};if(D.length===1){if(F==="div")return{div:this.divn(D.words[0]),mod:null};if(F==="mod")return{div:null,mod:new Z(this.modrn(D.words[0]))};return{div:this.divn(D.words[0]),mod:new Z(this.modrn(D.words[0]))}}return this._wordDiv(D,F)},Z.prototype.div=function(D){return this.divmod(D,"div",!1).div},Z.prototype.mod=function(D){return this.divmod(D,"mod",!1).mod},Z.prototype.umod=function(D){return this.divmod(D,"mod",!0).mod},Z.prototype.divRound=function(D){var F=this.divmod(D);if(F.mod.isZero())return F.div;var P=F.div.negative!==0?F.mod.isub(D):F.mod,j=D.ushrn(1),A=D.andln(1),z=P.cmp(j);if(z<0||A===1&&z===0)return F.div;return F.div.negative!==0?F.div.isubn(1):F.div.iaddn(1)},Z.prototype.modrn=function(D){var F=D<0;if(F)D=-D;I(D<=67108863);var P=67108864%D,j=0;for(var A=this.length-1;A>=0;A--)j=(P*j+(this.words[A]|0))%D;return F?-j:j},Z.prototype.modn=function(D){return this.modrn(D)},Z.prototype.idivn=function(D){var F=D<0;if(F)D=-D;I(D<=67108863);var P=0;for(var j=this.length-1;j>=0;j--){var A=(this.words[j]|0)+P*67108864;this.words[j]=A/D|0,P=A%D}return this._strip(),F?this.ineg():this},Z.prototype.divn=function(D){return this.clone().idivn(D)},Z.prototype.egcd=function(D){I(D.negative===0),I(!D.isZero());var F=this,P=D.clone();if(F.negative!==0)F=F.umod(D);else F=F.clone();var j=new Z(1),A=new Z(0),z=new Z(0),C=new Z(1),g=0;while(F.isEven()&&P.isEven())F.iushrn(1),P.iushrn(1),++g;var N=P.clone(),h=F.clone();while(!F.isZero()){for(var r=0,U0=1;(F.words[0]&U0)===0&&r<26;++r,U0<<=1);if(r>0){F.iushrn(r);while(r-- >0){if(j.isOdd()||A.isOdd())j.iadd(N),A.isub(h);j.iushrn(1),A.iushrn(1)}}for(var O0=0,Q0=1;(P.words[0]&Q0)===0&&O0<26;++O0,Q0<<=1);if(O0>0){P.iushrn(O0);while(O0-- >0){if(z.isOdd()||C.isOdd())z.iadd(N),C.isub(h);z.iushrn(1),C.iushrn(1)}}if(F.cmp(P)>=0)F.isub(P),j.isub(z),A.isub(C);else P.isub(F),z.isub(j),C.isub(A)}return{a:z,b:C,gcd:P.iushln(g)}},Z.prototype._invmp=function(D){I(D.negative===0),I(!D.isZero());var F=this,P=D.clone();if(F.negative!==0)F=F.umod(D);else F=F.clone();var j=new Z(1),A=new Z(0),z=P.clone();while(F.cmpn(1)>0&&P.cmpn(1)>0){for(var C=0,g=1;(F.words[0]&g)===0&&C<26;++C,g<<=1);if(C>0){F.iushrn(C);while(C-- >0){if(j.isOdd())j.iadd(z);j.iushrn(1)}}for(var N=0,h=1;(P.words[0]&h)===0&&N<26;++N,h<<=1);if(N>0){P.iushrn(N);while(N-- >0){if(A.isOdd())A.iadd(z);A.iushrn(1)}}if(F.cmp(P)>=0)F.isub(P),j.isub(A);else P.isub(F),A.isub(j)}var r;if(F.cmpn(1)===0)r=j;else r=A;if(r.cmpn(0)<0)r.iadd(D);return r},Z.prototype.gcd=function(D){if(this.isZero())return D.abs();if(D.isZero())return this.abs();var F=this.clone(),P=D.clone();F.negative=0,P.negative=0;for(var j=0;F.isEven()&&P.isEven();j++)F.iushrn(1),P.iushrn(1);do{while(F.isEven())F.iushrn(1);while(P.isEven())P.iushrn(1);var A=F.cmp(P);if(A<0){var z=F;F=P,P=z}else if(A===0||P.cmpn(1)===0)break;F.isub(P)}while(!0);return P.iushln(j)},Z.prototype.invm=function(D){return this.egcd(D).a.umod(D)},Z.prototype.isEven=function(){return(this.words[0]&1)===0},Z.prototype.isOdd=function(){return(this.words[0]&1)===1},Z.prototype.andln=function(D){return this.words[0]&D},Z.prototype.bincn=function(D){I(typeof D==="number");var F=D%26,P=(D-F)/26,j=1<<F;if(this.length<=P)return this._expand(P+1),this.words[P]|=j,this;var A=j;for(var z=P;A!==0&&z<this.length;z++){var C=this.words[z]|0;C+=A,A=C>>>26,C&=67108863,this.words[z]=C}if(A!==0)this.words[z]=A,this.length++;return this},Z.prototype.isZero=function(){return this.length===1&&this.words[0]===0},Z.prototype.cmpn=function(D){var F=D<0;if(this.negative!==0&&!F)return-1;if(this.negative===0&&F)return 1;this._strip();var P;if(this.length>1)P=1;else{if(F)D=-D;I(D<=67108863,"Number is too big");var j=this.words[0]|0;P=j===D?0:j<D?-1:1}if(this.negative!==0)return-P|0;return P},Z.prototype.cmp=function(D){if(this.negative!==0&&D.negative===0)return-1;if(this.negative===0&&D.negative!==0)return 1;var F=this.ucmp(D);if(this.negative!==0)return-F|0;return F},Z.prototype.ucmp=function(D){if(this.length>D.length)return 1;if(this.length<D.length)return-1;var F=0;for(var P=this.length-1;P>=0;P--){var j=this.words[P]|0,A=D.words[P]|0;if(j===A)continue;if(j<A)F=-1;else if(j>A)F=1;break}return F},Z.prototype.gtn=function(D){return this.cmpn(D)===1},Z.prototype.gt=function(D){return this.cmp(D)===1},Z.prototype.gten=function(D){return this.cmpn(D)>=0},Z.prototype.gte=function(D){return this.cmp(D)>=0},Z.prototype.ltn=function(D){return this.cmpn(D)===-1},Z.prototype.lt=function(D){return this.cmp(D)===-1},Z.prototype.lten=function(D){return this.cmpn(D)<=0},Z.prototype.lte=function(D){return this.cmp(D)<=0},Z.prototype.eqn=function(D){return this.cmpn(D)===0},Z.prototype.eq=function(D){return this.cmp(D)===0},Z.red=function(D){return new K(D)},Z.prototype.toRed=function(D){return I(!this.red,"Already a number in reduction context"),I(this.negative===0,"red works only with positives"),D.convertTo(this)._forceRed(D)},Z.prototype.fromRed=function(){return I(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},Z.prototype._forceRed=function(D){return this.red=D,this},Z.prototype.forceRed=function(D){return I(!this.red,"Already a number in reduction context"),this._forceRed(D)},Z.prototype.redAdd=function(D){return I(this.red,"redAdd works only with red numbers"),this.red.add(this,D)},Z.prototype.redIAdd=function(D){return I(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,D)},Z.prototype.redSub=function(D){return I(this.red,"redSub works only with red numbers"),this.red.sub(this,D)},Z.prototype.redISub=function(D){return I(this.red,"redISub works only with red numbers"),this.red.isub(this,D)},Z.prototype.redShl=function(D){return I(this.red,"redShl works only with red numbers"),this.red.shl(this,D)},Z.prototype.redMul=function(D){return I(this.red,"redMul works only with red numbers"),this.red._verify2(this,D),this.red.mul(this,D)},Z.prototype.redIMul=function(D){return I(this.red,"redMul works only with red numbers"),this.red._verify2(this,D),this.red.imul(this,D)},Z.prototype.redSqr=function(){return I(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},Z.prototype.redISqr=function(){return I(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},Z.prototype.redSqrt=function(){return I(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},Z.prototype.redInvm=function(){return I(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},Z.prototype.redNeg=function(){return I(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},Z.prototype.redPow=function(D){return I(this.red&&!D.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,D)};var F0={k256:null,p224:null,p192:null,p25519:null};function L0(D,F){this.name=D,this.p=new Z(F,16),this.n=this.p.bitLength(),this.k=new Z(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}L0.prototype._tmp=function(){var D=new Z(null);return D.words=Array(Math.ceil(this.n/13)),D},L0.prototype.ireduce=function(D){var F=D,P;do this.split(F,this.tmp),F=this.imulK(F),F=F.iadd(this.tmp),P=F.bitLength();while(P>this.n);var j=P<this.n?-1:F.ucmp(this.p);if(j===0)F.words[0]=0,F.length=1;else if(j>0)F.isub(this.p);else if(F.strip!==void 0)F.strip();else F._strip();return F},L0.prototype.split=function(D,F){D.iushrn(this.n,0,F)},L0.prototype.imulK=function(D){return D.imul(this.k)};function R0(){L0.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}O(R0,L0),R0.prototype.split=function(D,F){var P=4194303,j=Math.min(D.length,9);for(var A=0;A<j;A++)F.words[A]=D.words[A];if(F.length=j,D.length<=9){D.words[0]=0,D.length=1;return}var z=D.words[9];F.words[F.length++]=z&P;for(A=10;A<D.length;A++){var C=D.words[A]|0;D.words[A-10]=(C&P)<<4|z>>>22,z=C}if(z>>>=22,D.words[A-10]=z,z===0&&D.length>10)D.length-=10;else D.length-=9},R0.prototype.imulK=function(D){D.words[D.length]=0,D.words[D.length+1]=0,D.length+=2;var F=0;for(var P=0;P<D.length;P++){var j=D.words[P]|0;F+=j*977,D.words[P]=F&67108863,F=j*64+(F/67108864|0)}if(D.words[D.length-1]===0){if(D.length--,D.words[D.length-1]===0)D.length--}return D};function t(){L0.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}O(t,L0);function C0(){L0.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}O(C0,L0);function G(){L0.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}O(G,L0),G.prototype.imulK=function(D){var F=0;for(var P=0;P<D.length;P++){var j=(D.words[P]|0)*19+F,A=j&67108863;j>>>=26,D.words[P]=A,F=j}if(F!==0)D.words[D.length++]=F;return D},Z._prime=function(D){if(F0[D])return F0[D];var F;if(D==="k256")F=new R0;else if(D==="p224")F=new t;else if(D==="p192")F=new C0;else if(D==="p25519")F=new G;else throw Error("Unknown prime "+D);return F0[D]=F,F};function K(D){if(typeof D==="string"){var F=Z._prime(D);this.m=F.p,this.prime=F}else I(D.gtn(1),"modulus must be greater than 1"),this.m=D,this.prime=null}K.prototype._verify1=function(D){I(D.negative===0,"red works only with positives"),I(D.red,"red works only with red numbers")},K.prototype._verify2=function(D,F){I((D.negative|F.negative)===0,"red works only with positives"),I(D.red&&D.red===F.red,"red works only with red numbers")},K.prototype.imod=function(D){if(this.prime)return this.prime.ireduce(D)._forceRed(this);return T(D,D.umod(this.m)._forceRed(this)),D},K.prototype.neg=function(D){if(D.isZero())return D.clone();return this.m.sub(D)._forceRed(this)},K.prototype.add=function(D,F){this._verify2(D,F);var P=D.add(F);if(P.cmp(this.m)>=0)P.isub(this.m);return P._forceRed(this)},K.prototype.iadd=function(D,F){this._verify2(D,F);var P=D.iadd(F);if(P.cmp(this.m)>=0)P.isub(this.m);return P},K.prototype.sub=function(D,F){this._verify2(D,F);var P=D.sub(F);if(P.cmpn(0)<0)P.iadd(this.m);return P._forceRed(this)},K.prototype.isub=function(D,F){this._verify2(D,F);var P=D.isub(F);if(P.cmpn(0)<0)P.iadd(this.m);return P},K.prototype.shl=function(D,F){return this._verify1(D),this.imod(D.ushln(F))},K.prototype.imul=function(D,F){return this._verify2(D,F),this.imod(D.imul(F))},K.prototype.mul=function(D,F){return this._verify2(D,F),this.imod(D.mul(F))},K.prototype.isqr=function(D){return this.imul(D,D.clone())},K.prototype.sqr=function(D){return this.mul(D,D)},K.prototype.sqrt=function(D){if(D.isZero())return D.clone();var F=this.m.andln(3);if(I(F%2===1),F===3){var P=this.m.add(new Z(1)).iushrn(2);return this.pow(D,P)}var j=this.m.subn(1),A=0;while(!j.isZero()&&j.andln(1)===0)A++,j.iushrn(1);I(!j.isZero());var z=new Z(1).toRed(this),C=z.redNeg(),g=this.m.subn(1).iushrn(1),N=this.m.bitLength();N=new Z(2*N*N).toRed(this);while(this.pow(N,g).cmp(C)!==0)N.redIAdd(C);var h=this.pow(N,j),r=this.pow(D,j.addn(1).iushrn(1)),U0=this.pow(D,j),O0=A;while(U0.cmp(z)!==0){var Q0=U0;for(var s=0;Q0.cmp(z)!==0;s++)Q0=Q0.redSqr();I(s<O0);var e=this.pow(h,new Z(1).iushln(O0-s-1));r=r.redMul(e),h=e.redSqr(),U0=U0.redMul(h),O0=s}return r},K.prototype.invm=function(D){var F=D._invmp(this.m);if(F.negative!==0)return F.negative=0,this.imod(F).redNeg();else return this.imod(F)},K.prototype.pow=function(D,F){if(F.isZero())return new Z(1).toRed(this);if(F.cmpn(1)===0)return D.clone();var P=4,j=Array(1<<P);j[0]=new Z(1).toRed(this),j[1]=D;for(var A=2;A<j.length;A++)j[A]=this.mul(j[A-1],D);var z=j[0],C=0,g=0,N=F.bitLength()%26;if(N===0)N=26;for(A=F.length-1;A>=0;A--){var h=F.words[A];for(var r=N-1;r>=0;r--){var U0=h>>r&1;if(z!==j[0])z=this.sqr(z);if(U0===0&&C===0){g=0;continue}if(C<<=1,C|=U0,g++,g!==P&&(A!==0||r!==0))continue;z=this.mul(z,j[C]),g=0,C=0}N=26}return z},K.prototype.convertTo=function(D){var F=D.umod(this.m);return F===D?F.clone():F},K.prototype.convertFrom=function(D){var F=D.clone();return F.red=null,F},Z.mont=function(D){return new H(D)};function H(D){if(K.call(this,D),this.shift=this.m.bitLength(),this.shift%26!==0)this.shift+=26-this.shift%26;this.r=new Z(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}O(H,K),H.prototype.convertTo=function(D){return this.imod(D.ushln(this.shift))},H.prototype.convertFrom=function(D){var F=this.imod(D.mul(this.rinv));return F.red=null,F},H.prototype.imul=function(D,F){if(D.isZero()||F.isZero())return D.words[0]=0,D.length=1,D;var P=D.imul(F),j=P.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),A=P.isub(j).iushrn(this.shift),z=A;if(A.cmp(this.m)>=0)z=A.isub(this.m);else if(A.cmpn(0)<0)z=A.iadd(this.m);return z._forceRed(this)},H.prototype.mul=function(D,F){if(D.isZero()||F.isZero())return new Z(0)._forceRed(this);var P=D.mul(F),j=P.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),A=P.isub(j).iushrn(this.shift),z=A;if(A.cmp(this.m)>=0)z=A.isub(this.m);else if(A.cmpn(0)<0)z=A.iadd(this.m);return z._forceRed(this)},H.prototype.invm=function(D){var F=this.imod(D._invmp(this.m).mul(this.r2));return F._forceRed(this)}})(typeof J>"u"||J,X)}),Qj=b0((X,J)=>{var Y=Bf(),V=FO(),I=f6().Buffer;function O(B){var R=B.modulus.byteLength(),S;do S=new Y(V(R));while(S.cmp(B.modulus)>=0||!S.umod(B.prime1)||!S.umod(B.prime2));return S}function Z(B){var R=O(B),S=R.toRed(Y.mont(B.modulus)).redPow(new Y(B.publicExponent)).fromRed();return{blinder:S,unblinder:R.invm(B.modulus)}}function L(B,R){var S=Z(R),T=R.modulus.byteLength(),E=new Y(B).mul(S.blinder).umod(R.modulus),v=E.toRed(Y.mont(R.prime1)),q=E.toRed(Y.mont(R.prime2)),y=R.coefficient,w=R.prime1,u=R.prime2,x=v.redPow(R.exponent1).fromRed(),b=q.redPow(R.exponent2).fromRed(),p=x.isub(b).imul(y).umod(w).imul(u);return b.iadd(p).imul(S.unblinder).umod(R.modulus).toArrayLike(I,"be",T)}L.getr=O,J.exports=L}),vf=b0((X,J)=>{var Y=Uj(),V=FO(),I=HO(),O=Xj(),Z=Ij(),L=W9(),B=Jj(),R=Qj(),S=f6().Buffer;J.exports=function(q,y,w){var u;if(q.padding)u=q.padding;else if(w)u=1;else u=4;var x=Y(q),b;if(u===4)b=T(x,y);else if(u===1)b=E(x,y,w);else if(u===3){if(b=new L(y),b.cmp(x.modulus)>=0)throw Error("data too long for modulus")}else throw Error("unknown padding");if(w)return R(b,x);else return B(b,x)};function T(q,y){var w=q.modulus.byteLength(),u=y.length,x=I("sha1").update(S.alloc(0)).digest(),b=x.length,p=2*b;if(u>w-p-2)throw Error("message too long");var d=S.alloc(w-u-p-2),a=w-b-1,F0=V(b),L0=Z(S.concat([x,d,S.alloc(1,1),y],a),O(F0,a)),R0=Z(F0,O(L0,b));return new L(S.concat([S.alloc(1),R0,L0],w))}function E(q,y,w){var u=y.length,x=q.modulus.byteLength();if(u>x-11)throw Error("message too long");var b;if(w)b=S.alloc(x-u-3,255);else b=v(x-u-3);return new L(S.concat([S.from([0,w?1:2]),b,S.alloc(1),y],x))}function v(q){var y=S.allocUnsafe(q),w=0,u=V(q*2),x=0,b;while(w<q){if(x===u.length)u=V(q*2),x=0;if(b=u[x++],b)y[w++]=b}return y}}),Nf=b0((X,J)=>{var Y=Uj(),V=Xj(),I=Ij(),O=W9(),Z=Qj(),L=HO(),B=Jj(),R=f6().Buffer;J.exports=function(v,q,y){var w;if(v.padding)w=v.padding;else if(y)w=1;else w=4;var u=Y(v),x=u.modulus.byteLength();if(q.length>x||new O(q).cmp(u.modulus)>=0)throw Error("decryption error");var b;if(y)b=B(new O(q),u);else b=Z(q,u);var p=R.alloc(x-b.length);if(b=R.concat([p,b],x),w===4)return S(u,b);else if(w===1)return T(u,b,y);else if(w===3)return b;else throw Error("unknown padding")};function S(v,q){var y=v.modulus.byteLength(),w=L("sha1").update(R.alloc(0)).digest(),u=w.length;if(q[0]!==0)throw Error("decryption error");var x=q.slice(1,u+1),b=q.slice(u+1),p=I(x,V(b,u)),d=I(b,V(p,y-u-1));if(E(w,d.slice(0,u)))throw Error("decryption error");var a=u;while(d[a]===0)a++;if(d[a++]!==1)throw Error("decryption error");return d.slice(a)}function T(v,q,y){var w=q.slice(0,2),u=2,x=0;while(q[u++]!==0)if(u>=q.length){x++;break}var b=q.slice(2,u-1);if(w.toString("hex")!=="0002"&&!y||w.toString("hex")!=="0001"&&y)x++;if(b.length<8)x++;if(x)throw Error("decryption error");return q.slice(u)}function E(v,q){v=R.from(v),q=R.from(q);var y=0,w=v.length;if(v.length!==q.length)y++,w=Math.min(v.length,q.length);var u=-1;while(++u<w)y+=v[u]^q[u];return y}}),Q9=b0((X)=>{X.publicEncrypt=vf(),X.privateDecrypt=Nf(),X.privateEncrypt=function(J,Y){return X.publicEncrypt(J,Y,!0)},X.publicDecrypt=function(J,Y){return X.privateDecrypt(J,Y,!0)}}),qf=b0((X)=>{var J=(yU(),j$(L1));if(typeof J.publicEncrypt!=="function")J=Q9();if(X.publicEncrypt=J.publicEncrypt,X.privateDecrypt=J.privateDecrypt,typeof J.privateEncrypt!=="function")X.privateEncrypt=Q9().privateEncrypt;else X.privateEncrypt=J.privateEncrypt;if(typeof J.publicDecrypt!=="function")X.publicDecrypt=Q9().publicDecrypt;else X.publicDecrypt=J.publicDecrypt}),kf=b0((X)=>{var J=f6(),Y=FO(),V=J.Buffer,I=J.kMaxLength,O=globalThis.crypto||globalThis.msCrypto,Z=Math.pow(2,32)-1;function L(E,v){if(typeof E!=="number"||E!==E)throw TypeError("offset must be a number");if(E>Z||E<0)throw TypeError("offset must be a uint32");if(E>I||E>v)throw RangeError("offset out of range")}function B(E,v,q){if(typeof E!=="number"||E!==E)throw TypeError("size must be a number");if(E>Z||E<0)throw TypeError("size must be a uint32");if(E+v>q||E>I)throw RangeError("buffer too small")}O&&O.getRandomValues,X.randomFill=R,X.randomFillSync=T;function R(E,v,q,y){if(!V.isBuffer(E)&&!(E instanceof globalThis.Uint8Array))throw TypeError('"buf" argument must be a Buffer or Uint8Array');if(typeof v==="function")y=v,v=0,q=E.length;else if(typeof q==="function")y=q,q=E.length-v;else if(typeof y!=="function")throw TypeError('"cb" argument must be a function');return L(v,E.length),B(q,v,E.length),S(E,v,q,y)}function S(E,v,q,y){if(!1)var w,u;if(y){Y(q,function(b,p){if(b)return y(b);p.copy(E,v),y(null,E)});return}var x=Y(q);return x.copy(E,v),E}function T(E,v,q){if(typeof v>"u")v=0;if(!V.isBuffer(E)&&!(E instanceof globalThis.Uint8Array))throw TypeError('"buf" argument must be a Buffer or Uint8Array');if(L(v,E.length),q===void 0)q=E.length-v;return B(q,v,E.length),S(E,v,q)}}),xf=b0((X,J)=>{var Y=(yU(),j$(L1));if(typeof Y.randomFill==="function"&&typeof Y.randomFillSync==="function")X.randomFill=Y.randomFill,X.randomFillSync=Y.randomFillSync;else J.exports=kf()}),gf=b0((X)=>{X.randomBytes=X.rng=X.pseudoRandomBytes=X.prng=FO(),X.createHash=X.Hash=HO(),X.createHmac=X.Hmac=xS();var J=Jw(),Y=Object.keys(J),V=["sha1","sha224","sha256","sha384","sha512","md5","rmd160"].concat(Y);X.getHashes=function(){return V};var I=lS();X.pbkdf2=I.pbkdf2,X.pbkdf2Sync=I.pbkdf2Sync;var O=hw();X.Cipher=O.Cipher,X.createCipher=O.createCipher,X.Cipheriv=O.Cipheriv,X.createCipheriv=O.createCipheriv,X.Decipher=O.Decipher,X.createDecipher=O.createDecipher,X.Decipheriv=O.Decipheriv,X.createDecipheriv=O.createDecipheriv,X.getCiphers=O.getCiphers,X.listCiphers=O.listCiphers;var Z=cw();X.DiffieHellmanGroup=Z.DiffieHellmanGroup,X.createDiffieHellmanGroup=Z.createDiffieHellmanGroup,X.getDiffieHellman=Z.getDiffieHellman,X.createDiffieHellman=Z.createDiffieHellman,X.DiffieHellman=Z.DiffieHellman;var L=pw();X.createSign=L.createSign,X.Sign=L.Sign,X.createVerify=L.createVerify,X.Verify=L.Verify,X.createECDH=Vf();var B=qf();X.publicEncrypt=B.publicEncrypt,X.privateEncrypt=B.privateEncrypt,X.publicDecrypt=B.publicDecrypt,X.privateDecrypt=B.privateDecrypt;var R=xf();X.randomFill=R.randomFill,X.randomFillSync=R.randomFillSync,X.createCredentials=function(){throw Error(`sorry, createCredentials is not implemented yet
244
+ we accept pull requests
245
+ https://github.com/browserify/crypto-browserify`)},X.constants={DH_CHECK_P_NOT_SAFE_PRIME:2,DH_CHECK_P_NOT_PRIME:1,DH_UNABLE_TO_CHECK_GENERATOR:4,DH_NOT_SUITABLE_GENERATOR:8,NPN_ENABLED:1,ALPN_ENABLED:1,RSA_PKCS1_PADDING:1,RSA_SSLV23_PADDING:2,RSA_NO_PADDING:3,RSA_PKCS1_OAEP_PADDING:4,RSA_X931_PADDING:5,RSA_PKCS1_PSS_PADDING:6,POINT_CONVERSION_COMPRESSED:2,POINT_CONVERSION_UNCOMPRESSED:4,POINT_CONVERSION_HYBRID:6}}),h$=Iw(gf(),1),wf=h$.prng,ff=h$.pseudoRandomBytes,yf=h$.rng,bf=h$.randomBytes,uf=h$.Hash,H1=h$.createHash,hf=h$.Hmac,cf=h$.createHmac,pf=h$.getHashes,mf=h$.pbkdf2,lf=h$.pbkdf2Sync,df=h$.Cipher,nf=h$.createCipher,of=h$.Cipheriv,rf=h$.createCipheriv,tf=h$.Decipher,af=h$.createDecipher,sf=h$.Decipheriv,ef=h$.createDecipheriv,$y=h$.getCiphers,Uy=h$.listCiphers,Xy=h$.DiffieHellmanGroup,Iy=h$.createDiffieHellmanGroup,Jy=h$.getDiffieHellman,Qy=h$.createDiffieHellman,Yy=h$.DiffieHellman,Gy=h$.createSign,Zy=h$.Sign,zy=h$.createVerify,Oy=h$.Verify,Vy=h$.createECDH,Dy=h$.publicEncrypt,Ky=h$.privateEncrypt,Wy=h$.publicDecrypt,Fy=h$.privateDecrypt,Hy=h$.randomFill,Ly=h$.randomFillSync,My=h$.createCredentials,Ay=h$.constants,Py=["p192","p224","p256","p384","p521","curve25519","ed25519","secp256k1","secp224r1","prime256v1","prime192v1","ed25519","secp384r1","secp521r1"];Ey=crypto,Ry=crypto});var KN={};g6(KN,{resolveObject:()=>DN,resolve:()=>VN,parse:()=>VY,format:()=>ON,default:()=>Zp,Url:()=>C1,URLSearchParams:()=>ZN,URL:()=>cM});function pM(X){return typeof X==="string"}function zN(X){return typeof X==="object"&&X!==null}function ID(X){return X===null}function ec(X){return X==null}function C1(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}function VY(X,J,Y){if(X&&zN(X)&&X instanceof C1)return X;var V=new C1;return V.parse(X,J,Y),V}function ON(X){if(pM(X))X=VY(X);if(!(X instanceof C1))return C1.prototype.format.call(X);return X.format()}function VN(X,J){return VY(X,!1,!0).resolve(J)}function DN(X,J){if(!X)return J;return VY(X,!1,!0).resolveObject(J)}var cM,ZN,$p,Up,Xp,Ip,Jp,bM,QN,YN,Qp=255,GN,Yp,Gp,uM,OY,hM,Zp;var WN=LQ(()=>{({URL:cM,URLSearchParams:ZN}=globalThis);$p=/^([a-z0-9.+-]+:)/i,Up=/:[0-9]*$/,Xp=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,Ip=["<",">",'"',"`"," ","\r",`
246
+ `,"\t"],Jp=["{","}","|","\\","^","`"].concat(Ip),bM=["'"].concat(Jp),QN=["%","/","?",";","#"].concat(bM),YN=["/","?","#"],GN=/^[+a-z0-9A-Z_-]{0,63}$/,Yp=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,Gp={javascript:!0,"javascript:":!0},uM={javascript:!0,"javascript:":!0},OY={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},hM={parse(X){var J=decodeURIComponent;return(X+"").replace(/\+/g," ").split("&").filter(Boolean).reduce(function(Y,V,I){var O=V.split("="),Z=J(O[0]||""),L=J(O[1]||""),B=Y[Z];return Y[Z]=B===void 0?L:[].concat(B,L),Y},{})},stringify(X){var J=encodeURIComponent;return Object.keys(X||{}).reduce(function(Y,V){return[].concat(X[V]).forEach(function(I){Y.push(J(V)+"="+J(I))}),Y},[]).join("&").replace(/\s/g,"+")}};C1.prototype.parse=function(X,J,Y){if(!pM(X))throw TypeError("Parameter 'url' must be a string, not "+typeof X);var V=X.indexOf("?"),I=V!==-1&&V<X.indexOf("#")?"?":"#",O=X.split(I),Z=/\\/g;O[0]=O[0].replace(Z,"/"),X=O.join(I);var L=X;if(L=L.trim(),!Y&&X.split("#").length===1){var B=Xp.exec(L);if(B){if(this.path=L,this.href=L,this.pathname=B[1],B[2])if(this.search=B[2],J)this.query=hM.parse(this.search.substr(1));else this.query=this.search.substr(1);else if(J)this.search="",this.query={};return this}}var R=$p.exec(L);if(R){R=R[0];var S=R.toLowerCase();this.protocol=S,L=L.substr(R.length)}if(Y||R||L.match(/^\/\/[^@\/]+@[^@\/]+/)){var T=L.substr(0,2)==="//";if(T&&!(R&&uM[R]))L=L.substr(2),this.slashes=!0}if(!uM[R]&&(T||R&&!OY[R])){var E=-1;for(var v=0;v<YN.length;v++){var q=L.indexOf(YN[v]);if(q!==-1&&(E===-1||q<E))E=q}var y,w;if(E===-1)w=L.lastIndexOf("@");else w=L.lastIndexOf("@",E);if(w!==-1)y=L.slice(0,w),L=L.slice(w+1),this.auth=decodeURIComponent(y);E=-1;for(var v=0;v<QN.length;v++){var q=L.indexOf(QN[v]);if(q!==-1&&(E===-1||q<E))E=q}if(E===-1)E=L.length;this.host=L.slice(0,E),L=L.slice(E),this.parseHost(),this.hostname=this.hostname||"";var u=this.hostname[0]==="["&&this.hostname[this.hostname.length-1]==="]";if(!u){var x=this.hostname.split(/\./);for(var v=0,b=x.length;v<b;v++){var p=x[v];if(!p)continue;if(!p.match(GN)){var d="";for(var a=0,F0=p.length;a<F0;a++)if(p.charCodeAt(a)>127)d+="x";else d+=p[a];if(!d.match(GN)){var L0=x.slice(0,v),R0=x.slice(v+1),t=p.match(Yp);if(t)L0.push(t[1]),R0.unshift(t[2]);if(R0.length)L="/"+R0.join(".")+L;this.hostname=L0.join(".");break}}}}if(this.hostname.length>Qp)this.hostname="";else this.hostname=this.hostname.toLowerCase();if(!u)this.hostname=new cM(`https://${this.hostname}`).hostname;var C0=this.port?":"+this.port:"",G=this.hostname||"";if(this.host=G+C0,this.href+=this.host,u){if(this.hostname=this.hostname.substr(1,this.hostname.length-2),L[0]!=="/")L="/"+L}}if(!Gp[S])for(var v=0,b=bM.length;v<b;v++){var K=bM[v];if(L.indexOf(K)===-1)continue;var H=encodeURIComponent(K);if(H===K)H=escape(K);L=L.split(K).join(H)}var D=L.indexOf("#");if(D!==-1)this.hash=L.substr(D),L=L.slice(0,D);var F=L.indexOf("?");if(F!==-1){if(this.search=L.substr(F),this.query=L.substr(F+1),J)this.query=hM.parse(this.query);L=L.slice(0,F)}else if(J)this.search="",this.query={};if(L)this.pathname=L;if(OY[S]&&this.hostname&&!this.pathname)this.pathname="/";if(this.pathname||this.search){var C0=this.pathname||"",P=this.search||"";this.path=C0+P}return this.href=this.format(),this};C1.prototype.format=function(){var X=this.auth||"";if(X)X=encodeURIComponent(X),X=X.replace(/%3A/i,":"),X+="@";var J=this.protocol||"",Y=this.pathname||"",V=this.hash||"",I=!1,O="";if(this.host)I=X+this.host;else if(this.hostname){if(I=X+(this.hostname.indexOf(":")===-1?this.hostname:"["+this.hostname+"]"),this.port)I+=":"+this.port}if(this.query&&zN(this.query)&&Object.keys(this.query).length)O=hM.stringify(this.query);var Z=this.search||O&&"?"+O||"";if(J&&J.substr(-1)!==":")J+=":";if(this.slashes||(!J||OY[J])&&I!==!1){if(I="//"+(I||""),Y&&Y.charAt(0)!=="/")Y="/"+Y}else if(!I)I="";if(V&&V.charAt(0)!=="#")V="#"+V;if(Z&&Z.charAt(0)!=="?")Z="?"+Z;return Y=Y.replace(/[?#]/g,function(L){return encodeURIComponent(L)}),Z=Z.replace("#","%23"),J+I+Y+Z+V};C1.prototype.resolve=function(X){return this.resolveObject(VY(X,!1,!0)).format()};C1.prototype.resolveObject=function(X){if(pM(X)){var J=new C1;J.parse(X,!1,!0),X=J}var Y=new C1,V=Object.keys(this);for(var I=0;I<V.length;I++){var O=V[I];Y[O]=this[O]}if(Y.hash=X.hash,X.href==="")return Y.href=Y.format(),Y;if(X.slashes&&!X.protocol){var Z=Object.keys(X);for(var L=0;L<Z.length;L++){var B=Z[L];if(B!=="protocol")Y[B]=X[B]}if(OY[Y.protocol]&&Y.hostname&&!Y.pathname)Y.path=Y.pathname="/";return Y.href=Y.format(),Y}if(X.protocol&&X.protocol!==Y.protocol){if(!OY[X.protocol]){var R=Object.keys(X);for(var S=0;S<R.length;S++){var T=R[S];Y[T]=X[T]}return Y.href=Y.format(),Y}if(Y.protocol=X.protocol,!X.host&&!uM[X.protocol]){var b=(X.pathname||"").split("/");while(b.length&&!(X.host=b.shift()));if(!X.host)X.host="";if(!X.hostname)X.hostname="";if(b[0]!=="")b.unshift("");if(b.length<2)b.unshift("");Y.pathname=b.join("/")}else Y.pathname=X.pathname;if(Y.search=X.search,Y.query=X.query,Y.host=X.host||"",Y.auth=X.auth,Y.hostname=X.hostname||X.host,Y.port=X.port,Y.pathname||Y.search){var E=Y.pathname||"",v=Y.search||"";Y.path=E+v}return Y.slashes=Y.slashes||X.slashes,Y.href=Y.format(),Y}var q=Y.pathname&&Y.pathname.charAt(0)==="/",y=X.host||X.pathname&&X.pathname.charAt(0)==="/",w=y||q||Y.host&&X.pathname,u=w,x=Y.pathname&&Y.pathname.split("/")||[],b=X.pathname&&X.pathname.split("/")||[],p=Y.protocol&&!OY[Y.protocol];if(p){if(Y.hostname="",Y.port=null,Y.host)if(x[0]==="")x[0]=Y.host;else x.unshift(Y.host);if(Y.host="",X.protocol){if(X.hostname=null,X.port=null,X.host)if(b[0]==="")b[0]=X.host;else b.unshift(X.host);X.host=null}w=w&&(b[0]===""||x[0]==="")}if(y)Y.host=X.host||X.host===""?X.host:Y.host,Y.hostname=X.hostname||X.hostname===""?X.hostname:Y.hostname,Y.search=X.search,Y.query=X.query,x=b;else if(b.length){if(!x)x=[];x.pop(),x=x.concat(b),Y.search=X.search,Y.query=X.query}else if(!ec(X.search)){if(p){Y.hostname=Y.host=x.shift();var d=Y.host&&Y.host.indexOf("@")>0?Y.host.split("@"):!1;if(d)Y.auth=d.shift(),Y.host=Y.hostname=d.shift()}if(Y.search=X.search,Y.query=X.query,!ID(Y.pathname)||!ID(Y.search))Y.path=(Y.pathname?Y.pathname:"")+(Y.search?Y.search:"");return Y.href=Y.format(),Y}if(!x.length){if(Y.pathname=null,Y.search)Y.path="/"+Y.search;else Y.path=null;return Y.href=Y.format(),Y}var a=x.slice(-1)[0],F0=(Y.host||X.host||x.length>1)&&(a==="."||a==="..")||a==="",L0=0;for(var R0=x.length;R0>=0;R0--)if(a=x[R0],a===".")x.splice(R0,1);else if(a==="..")x.splice(R0,1),L0++;else if(L0)x.splice(R0,1),L0--;if(!w&&!u)for(;L0--;L0)x.unshift("..");if(w&&x[0]!==""&&(!x[0]||x[0].charAt(0)!=="/"))x.unshift("");if(F0&&x.join("/").substr(-1)!=="/")x.push("");var t=x[0]===""||x[0]&&x[0].charAt(0)==="/";if(p){Y.hostname=Y.host=t?"":x.length?x.shift():"";var d=Y.host&&Y.host.indexOf("@")>0?Y.host.split("@"):!1;if(d)Y.auth=d.shift(),Y.host=Y.hostname=d.shift()}if(w=w||Y.host&&x.length,w&&!t)x.unshift("");if(!x.length)Y.pathname=null,Y.path=null;else Y.pathname=x.join("/");if(!ID(Y.pathname)||!ID(Y.search))Y.path=(Y.pathname?Y.pathname:"")+(Y.search?Y.search:"");return Y.auth=X.auth||Y.auth,Y.slashes=Y.slashes||X.slashes,Y.href=Y.format(),Y};C1.prototype.parseHost=function(){var X=this.host,J=Up.exec(X);if(J){if(J=J[0],J!==":")this.port=J.substr(1);X=X.substr(0,X.length-J.length)}if(X)this.hostname=X};Zp={parse:VY,resolve:VN,resolveObject:DN,format:ON,Url:C1,URL:cM,URLSearchParams:ZN}});var jN={};g6(jN,{request:()=>Sp,globalAgent:()=>qp,get:()=>jp,default:()=>SN,STATUS_CODES:()=>kp,METHODS:()=>xp,IncomingMessage:()=>vp,ClientRequest:()=>Bp,Agent:()=>Np});var zp,Op,FN,Vp,Dp,Kp=(X,J,Y)=>{Y=X!=null?zp(Op(X)):{};let V=J||!X||!X.__esModule?FN(Y,"default",{value:X,enumerable:!0}):Y;for(let I of Vp(X))if(!Dp.call(V,I))FN(V,I,{get:()=>X[I],enumerable:!0});return V},vU=(X,J)=>()=>(J||X((J={exports:{}}).exports,J),J.exports),LN,Wp,HJ,Fp,MN,LJ,AN,Hp,TN,DY,Lp,HN,mM,Mp,Ap,CN,PN,Tp,Cp,_N,EN,Pp,_p,Ep,Rp,RN,Sp,jp,Bp,vp,Np,qp,kp,xp,SN;var lM=LQ(()=>{zp=Object.create,{getPrototypeOf:Op,defineProperty:FN,getOwnPropertyNames:Vp}=Object,Dp=Object.prototype.hasOwnProperty,LN=vU((X)=>{X.fetch=I(globalThis.fetch)&&I(globalThis.ReadableStream),X.writableStream=I(globalThis.WritableStream),X.abortController=I(globalThis.AbortController);var J;function Y(){if(J!==void 0)return J;if(globalThis.XMLHttpRequest){J=new globalThis.XMLHttpRequest;try{J.open("GET",globalThis.XDomainRequest?"/":"https://example.com")}catch(O){J=null}}else J=null;return J}function V(O){var Z=Y();if(!Z)return!1;try{return Z.responseType=O,Z.responseType===O}catch(L){}return!1}X.arraybuffer=X.fetch||V("arraybuffer"),X.msstream=!X.fetch&&V("ms-stream"),X.mozchunkedarraybuffer=!X.fetch&&V("moz-chunked-arraybuffer"),X.overrideMimeType=X.fetch||(Y()?I(Y().overrideMimeType):!1);function I(O){return typeof O==="function"}J=null}),Wp=vU((X,J)=>{if(typeof Object.create==="function")J.exports=function(Y,V){if(V)Y.super_=V,Y.prototype=Object.create(V.prototype,{constructor:{value:Y,enumerable:!1,writable:!0,configurable:!0}})};else J.exports=function(Y,V){if(V){Y.super_=V;var I=function(){};I.prototype=V.prototype,Y.prototype=new I,Y.prototype.constructor=Y}}}),HJ=vU((X,J)=>{try{if(Y=(_Q(),j$(PQ)),typeof Y.inherits!=="function")throw"";J.exports=Y.inherits}catch(V){J.exports=Wp()}var Y}),Fp=vU((X,J)=>{function Y(w,u){var x=Object.keys(w);if(Object.getOwnPropertySymbols){var b=Object.getOwnPropertySymbols(w);u&&(b=b.filter(function(p){return Object.getOwnPropertyDescriptor(w,p).enumerable})),x.push.apply(x,b)}return x}function V(w){for(var u=1;u<arguments.length;u++){var x=arguments[u]!=null?arguments[u]:{};u%2?Y(Object(x),!0).forEach(function(b){I(w,b,x[b])}):Object.getOwnPropertyDescriptors?Object.defineProperties(w,Object.getOwnPropertyDescriptors(x)):Y(Object(x)).forEach(function(b){Object.defineProperty(w,b,Object.getOwnPropertyDescriptor(x,b))})}return w}function I(w,u,x){if(u=B(u),u in w)Object.defineProperty(w,u,{value:x,enumerable:!0,configurable:!0,writable:!0});else w[u]=x;return w}function O(w,u){if(!(w instanceof u))throw TypeError("Cannot call a class as a function")}function Z(w,u){for(var x=0;x<u.length;x++){var b=u[x];if(b.enumerable=b.enumerable||!1,b.configurable=!0,"value"in b)b.writable=!0;Object.defineProperty(w,B(b.key),b)}}function L(w,u,x){if(u)Z(w.prototype,u);if(x)Z(w,x);return Object.defineProperty(w,"prototype",{writable:!1}),w}function B(w){var u=R(w,"string");return typeof u==="symbol"?u:String(u)}function R(w,u){if(typeof w!=="object"||w===null)return w;var x=w[Symbol.toPrimitive];if(x!==void 0){var b=x.call(w,u||"default");if(typeof b!=="object")return b;throw TypeError("@@toPrimitive must return a primitive value.")}return(u==="string"?String:Number)(w)}var S=(oU(),j$(nU)),T=S.Buffer,E=(_Q(),j$(PQ)),v=E.inspect,q=v&&v.custom||"inspect";function y(w,u,x){T.prototype.copy.call(w,u,x)}J.exports=function(){function w(){O(this,w),this.head=null,this.tail=null,this.length=0}return L(w,[{key:"push",value:function(u){var x={data:u,next:null};if(this.length>0)this.tail.next=x;else this.head=x;this.tail=x,++this.length}},{key:"unshift",value:function(u){var x={data:u,next:this.head};if(this.length===0)this.tail=x;this.head=x,++this.length}},{key:"shift",value:function(){if(this.length===0)return;var u=this.head.data;if(this.length===1)this.head=this.tail=null;else this.head=this.head.next;return--this.length,u}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(u){if(this.length===0)return"";var x=this.head,b=""+x.data;while(x=x.next)b+=u+x.data;return b}},{key:"concat",value:function(u){if(this.length===0)return T.alloc(0);var x=T.allocUnsafe(u>>>0),b=this.head,p=0;while(b)y(b.data,x,p),p+=b.data.length,b=b.next;return x}},{key:"consume",value:function(u,x){var b;if(u<this.head.data.length)b=this.head.data.slice(0,u),this.head.data=this.head.data.slice(u);else if(u===this.head.data.length)b=this.shift();else b=x?this._getString(u):this._getBuffer(u);return b}},{key:"first",value:function(){return this.head.data}},{key:"_getString",value:function(u){var x=this.head,b=1,p=x.data;u-=p.length;while(x=x.next){var d=x.data,a=u>d.length?d.length:u;if(a===d.length)p+=d;else p+=d.slice(0,u);if(u-=a,u===0){if(a===d.length)if(++b,x.next)this.head=x.next;else this.head=this.tail=null;else this.head=x,x.data=d.slice(a);break}++b}return this.length-=b,p}},{key:"_getBuffer",value:function(u){var x=T.allocUnsafe(u),b=this.head,p=1;b.data.copy(x),u-=b.data.length;while(b=b.next){var d=b.data,a=u>d.length?d.length:u;if(d.copy(x,x.length-u,0,a),u-=a,u===0){if(a===d.length)if(++p,b.next)this.head=b.next;else this.head=this.tail=null;else this.head=b,b.data=d.slice(a);break}++p}return this.length-=p,x}},{key:q,value:function(u,x){return v(this,V(V({},x),{},{depth:0,customInspect:!1}))}}]),w}()}),MN=vU((X,J)=>{function Y(B,R){var S=this,T=this._readableState&&this._readableState.destroyed,E=this._writableState&&this._writableState.destroyed;if(T||E){if(R)R(B);else if(B){if(!this._writableState)process.nextTick(Z,this,B);else if(!this._writableState.errorEmitted)this._writableState.errorEmitted=!0,process.nextTick(Z,this,B)}return this}if(this._readableState)this._readableState.destroyed=!0;if(this._writableState)this._writableState.destroyed=!0;return this._destroy(B||null,function(v){if(!R&&v)if(!S._writableState)process.nextTick(V,S,v);else if(!S._writableState.errorEmitted)S._writableState.errorEmitted=!0,process.nextTick(V,S,v);else process.nextTick(I,S);else if(R)process.nextTick(I,S),R(v);else process.nextTick(I,S)}),this}function V(B,R){Z(B,R),I(B)}function I(B){if(B._writableState&&!B._writableState.emitClose)return;if(B._readableState&&!B._readableState.emitClose)return;B.emit("close")}function O(){if(this._readableState)this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1;if(this._writableState)this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1}function Z(B,R){B.emit("error",R)}function L(B,R){var{_readableState:S,_writableState:T}=B;if(S&&S.autoDestroy||T&&T.autoDestroy)B.destroy(R);else B.emit("error",R)}J.exports={destroy:Y,undestroy:O,errorOrDestroy:L}}),LJ=vU((X,J)=>{var Y={};function V(B,R,S){if(!S)S=Error;function T(v,q,y){if(typeof R==="string")return R;else return R(v,q,y)}class E extends S{constructor(v,q,y){super(T(v,q,y))}}E.prototype.name=S.name,E.prototype.code=B,Y[B]=E}function I(B,R){if(Array.isArray(B)){let S=B.length;if(B=B.map((T)=>String(T)),S>2)return`one of ${R} ${B.slice(0,S-1).join(", ")}, or `+B[S-1];else if(S===2)return`one of ${R} ${B[0]} or ${B[1]}`;else return`of ${R} ${B[0]}`}else return`of ${R} ${String(B)}`}function O(B,R,S){return B.substr(!S||S<0?0:+S,R.length)===R}function Z(B,R,S){if(S===void 0||S>B.length)S=B.length;return B.substring(S-R.length,S)===R}function L(B,R,S){if(typeof S!=="number")S=0;if(S+R.length>B.length)return!1;else return B.indexOf(R,S)!==-1}V("ERR_INVALID_OPT_VALUE",function(B,R){return'The value "'+R+'" is invalid for option "'+B+'"'},TypeError),V("ERR_INVALID_ARG_TYPE",function(B,R,S){let T;if(typeof R==="string"&&O(R,"not "))T="must not be",R=R.replace(/^not /,"");else T="must be";let E;if(Z(B," argument"))E=`The ${B} ${T} ${I(R,"type")}`;else{let v=L(B,".")?"property":"argument";E=`The "${B}" ${v} ${T} ${I(R,"type")}`}return E+=`. Received type ${typeof S}`,E},TypeError),V("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),V("ERR_METHOD_NOT_IMPLEMENTED",function(B){return"The "+B+" method is not implemented"}),V("ERR_STREAM_PREMATURE_CLOSE","Premature close"),V("ERR_STREAM_DESTROYED",function(B){return"Cannot call "+B+" after a stream was destroyed"}),V("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),V("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),V("ERR_STREAM_WRITE_AFTER_END","write after end"),V("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),V("ERR_UNKNOWN_ENCODING",function(B){return"Unknown encoding: "+B},TypeError),V("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),X.codes=Y}),AN=vU((X,J)=>{var Y=LJ().codes.ERR_INVALID_OPT_VALUE;function V(O,Z,L){return O.highWaterMark!=null?O.highWaterMark:Z?O[L]:null}function I(O,Z,L,B){var R=V(Z,B,L);if(R!=null){if(!(isFinite(R)&&Math.floor(R)===R)||R<0){var S=B?L:"highWaterMark";throw new Y(S,R)}return Math.floor(R)}return O.objectMode?16:16384}J.exports={getHighWaterMark:I}}),Hp=vU((X,J)=>{J.exports=(_Q(),j$(PQ)).deprecate}),TN=vU((X,J)=>{J.exports=t;function Y(Q0){var s=this;this.next=null,this.entry=null,this.finish=function(){O0(s,Q0)}}var V;t.WritableState=L0;var I={deprecate:Hp()},O=BQ(),Z=(oU(),j$(nU)).Buffer,L=(typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function B(Q0){return Z.from(Q0)}function R(Q0){return Z.isBuffer(Q0)||Q0 instanceof L}var S=MN(),T=AN(),E=T.getHighWaterMark,v=LJ().codes,q=v.ERR_INVALID_ARG_TYPE,y=v.ERR_METHOD_NOT_IMPLEMENTED,w=v.ERR_MULTIPLE_CALLBACK,u=v.ERR_STREAM_CANNOT_PIPE,x=v.ERR_STREAM_DESTROYED,b=v.ERR_STREAM_NULL_VALUES,p=v.ERR_STREAM_WRITE_AFTER_END,d=v.ERR_UNKNOWN_ENCODING,a=S.errorOrDestroy;HJ()(t,O);function F0(){}function L0(Q0,s,e){if(V=V||DY(),Q0=Q0||{},typeof e!=="boolean")e=s instanceof V;if(this.objectMode=!!Q0.objectMode,e)this.objectMode=this.objectMode||!!Q0.writableObjectMode;this.highWaterMark=E(this,Q0,"writableHighWaterMark",e),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var J0=Q0.decodeStrings===!1;this.decodeStrings=!J0,this.defaultEncoding=Q0.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(Z0){j(s,Z0)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=Q0.emitClose!==!1,this.autoDestroy=!!Q0.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new Y(this)}L0.prototype.getBuffer=function(){var Q0=this.bufferedRequest,s=[];while(Q0)s.push(Q0),Q0=Q0.next;return s},function(){try{Object.defineProperty(L0.prototype,"buffer",{get:I.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(Q0){}}();var R0;if(typeof Symbol==="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]==="function")R0=Function.prototype[Symbol.hasInstance],Object.defineProperty(t,Symbol.hasInstance,{value:function(Q0){if(R0.call(this,Q0))return!0;if(this!==t)return!1;return Q0&&Q0._writableState instanceof L0}});else R0=function(Q0){return Q0 instanceof this};function t(Q0){V=V||DY();var s=this instanceof V;if(!s&&!R0.call(t,this))return new t(Q0);if(this._writableState=new L0(Q0,this,s),this.writable=!0,Q0){if(typeof Q0.write==="function")this._write=Q0.write;if(typeof Q0.writev==="function")this._writev=Q0.writev;if(typeof Q0.destroy==="function")this._destroy=Q0.destroy;if(typeof Q0.final==="function")this._final=Q0.final}O.call(this)}t.prototype.pipe=function(){a(this,new u)};function C0(Q0,s){var e=new p;a(Q0,e),process.nextTick(s,e)}function G(Q0,s,e,J0){var Z0;if(e===null)Z0=new b;else if(typeof e!=="string"&&!s.objectMode)Z0=new q("chunk",["string","Buffer"],e);if(Z0)return a(Q0,Z0),process.nextTick(J0,Z0),!1;return!0}t.prototype.write=function(Q0,s,e){var J0=this._writableState,Z0=!1,A0=!J0.objectMode&&R(Q0);if(A0&&!Z.isBuffer(Q0))Q0=B(Q0);if(typeof s==="function")e=s,s=null;if(A0)s="buffer";else if(!s)s=J0.defaultEncoding;if(typeof e!=="function")e=F0;if(J0.ending)C0(this,e);else if(A0||G(this,J0,Q0,e))J0.pendingcb++,Z0=H(this,J0,A0,Q0,s,e);return Z0},t.prototype.cork=function(){this._writableState.corked++},t.prototype.uncork=function(){var Q0=this._writableState;if(Q0.corked){if(Q0.corked--,!Q0.writing&&!Q0.corked&&!Q0.bufferProcessing&&Q0.bufferedRequest)C(this,Q0)}},t.prototype.setDefaultEncoding=function(Q0){if(typeof Q0==="string")Q0=Q0.toLowerCase();if(!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((Q0+"").toLowerCase())>-1))throw new d(Q0);return this._writableState.defaultEncoding=Q0,this},Object.defineProperty(t.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}});function K(Q0,s,e){if(!Q0.objectMode&&Q0.decodeStrings!==!1&&typeof s==="string")s=Z.from(s,e);return s}Object.defineProperty(t.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function H(Q0,s,e,J0,Z0,A0){if(!e){var $0=K(s,J0,Z0);if(J0!==$0)e=!0,Z0="buffer",J0=$0}var c=s.objectMode?1:J0.length;s.length+=c;var n=s.length<s.highWaterMark;if(!n)s.needDrain=!0;if(s.writing||s.corked){var H0=s.lastBufferedRequest;if(s.lastBufferedRequest={chunk:J0,encoding:Z0,isBuf:e,callback:A0,next:null},H0)H0.next=s.lastBufferedRequest;else s.bufferedRequest=s.lastBufferedRequest;s.bufferedRequestCount+=1}else D(Q0,s,!1,c,J0,Z0,A0);return n}function D(Q0,s,e,J0,Z0,A0,$0){if(s.writelen=J0,s.writecb=$0,s.writing=!0,s.sync=!0,s.destroyed)s.onwrite(new x("write"));else if(e)Q0._writev(Z0,s.onwrite);else Q0._write(Z0,A0,s.onwrite);s.sync=!1}function F(Q0,s,e,J0,Z0){if(--s.pendingcb,e)process.nextTick(Z0,J0),process.nextTick(r,Q0,s),Q0._writableState.errorEmitted=!0,a(Q0,J0);else Z0(J0),Q0._writableState.errorEmitted=!0,a(Q0,J0),r(Q0,s)}function P(Q0){Q0.writing=!1,Q0.writecb=null,Q0.length-=Q0.writelen,Q0.writelen=0}function j(Q0,s){var e=Q0._writableState,J0=e.sync,Z0=e.writecb;if(typeof Z0!=="function")throw new w;if(P(e),s)F(Q0,e,J0,s,Z0);else{var A0=g(e)||Q0.destroyed;if(!A0&&!e.corked&&!e.bufferProcessing&&e.bufferedRequest)C(Q0,e);if(J0)process.nextTick(A,Q0,e,A0,Z0);else A(Q0,e,A0,Z0)}}function A(Q0,s,e,J0){if(!e)z(Q0,s);s.pendingcb--,J0(),r(Q0,s)}function z(Q0,s){if(s.length===0&&s.needDrain)s.needDrain=!1,Q0.emit("drain")}function C(Q0,s){s.bufferProcessing=!0;var e=s.bufferedRequest;if(Q0._writev&&e&&e.next){var J0=s.bufferedRequestCount,Z0=Array(J0),A0=s.corkedRequestsFree;A0.entry=e;var $0=0,c=!0;while(e){if(Z0[$0]=e,!e.isBuf)c=!1;e=e.next,$0+=1}if(Z0.allBuffers=c,D(Q0,s,!0,s.length,Z0,"",A0.finish),s.pendingcb++,s.lastBufferedRequest=null,A0.next)s.corkedRequestsFree=A0.next,A0.next=null;else s.corkedRequestsFree=new Y(s);s.bufferedRequestCount=0}else{while(e){var{chunk:n,encoding:H0,callback:Y0}=e,D0=s.objectMode?1:n.length;if(D(Q0,s,!1,D0,n,H0,Y0),e=e.next,s.bufferedRequestCount--,s.writing)break}if(e===null)s.lastBufferedRequest=null}s.bufferedRequest=e,s.bufferProcessing=!1}t.prototype._write=function(Q0,s,e){e(new y("_write()"))},t.prototype._writev=null,t.prototype.end=function(Q0,s,e){var J0=this._writableState;if(typeof Q0==="function")e=Q0,Q0=null,s=null;else if(typeof s==="function")e=s,s=null;if(Q0!==null&&Q0!==void 0)this.write(Q0,s);if(J0.corked)J0.corked=1,this.uncork();if(!J0.ending)U0(this,J0,e);return this},Object.defineProperty(t.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}});function g(Q0){return Q0.ending&&Q0.length===0&&Q0.bufferedRequest===null&&!Q0.finished&&!Q0.writing}function N(Q0,s){Q0._final(function(e){if(s.pendingcb--,e)a(Q0,e);s.prefinished=!0,Q0.emit("prefinish"),r(Q0,s)})}function h(Q0,s){if(!s.prefinished&&!s.finalCalled)if(typeof Q0._final==="function"&&!s.destroyed)s.pendingcb++,s.finalCalled=!0,process.nextTick(N,Q0,s);else s.prefinished=!0,Q0.emit("prefinish")}function r(Q0,s){var e=g(s);if(e){if(h(Q0,s),s.pendingcb===0){if(s.finished=!0,Q0.emit("finish"),s.autoDestroy){var J0=Q0._readableState;if(!J0||J0.autoDestroy&&J0.endEmitted)Q0.destroy()}}}return e}function U0(Q0,s,e){if(s.ending=!0,r(Q0,s),e)if(s.finished)process.nextTick(e);else Q0.once("finish",e);s.ended=!0,Q0.writable=!1}function O0(Q0,s,e){var J0=Q0.entry;Q0.entry=null;while(J0){var Z0=J0.callback;s.pendingcb--,Z0(e),J0=J0.next}s.corkedRequestsFree.next=Q0}Object.defineProperty(t.prototype,"destroyed",{enumerable:!1,get:function(){if(this._writableState===void 0)return!1;return this._writableState.destroyed},set:function(Q0){if(!this._writableState)return;this._writableState.destroyed=Q0}}),t.prototype.destroy=S.destroy,t.prototype._undestroy=S.undestroy,t.prototype._destroy=function(Q0,s){s(Q0)}}),DY=vU((X,J)=>{var Y=Object.keys||function(T){var E=[];for(var v in T)E.push(v);return E};J.exports=B;var V=CN(),I=TN();HJ()(B,V);{O=Y(I.prototype);for(L=0;L<O.length;L++)if(Z=O[L],!B.prototype[Z])B.prototype[Z]=I.prototype[Z]}var O,Z,L;function B(T){if(!(this instanceof B))return new B(T);if(V.call(this,T),I.call(this,T),this.allowHalfOpen=!0,T){if(T.readable===!1)this.readable=!1;if(T.writable===!1)this.writable=!1;if(T.allowHalfOpen===!1)this.allowHalfOpen=!1,this.once("end",R)}}Object.defineProperty(B.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(B.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(B.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}});function R(){if(this._writableState.ended)return;process.nextTick(S,this)}function S(T){T.end()}Object.defineProperty(B.prototype,"destroyed",{enumerable:!1,get:function(){if(this._readableState===void 0||this._writableState===void 0)return!1;return this._readableState.destroyed&&this._writableState.destroyed},set:function(T){if(this._readableState===void 0||this._writableState===void 0)return;this._readableState.destroyed=T,this._writableState.destroyed=T}})}),Lp=vU((X,J)=>{/*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */var Y=(oU(),j$(nU)),V=Y.Buffer;function I(Z,L){for(var B in Z)L[B]=Z[B]}if(V.from&&V.alloc&&V.allocUnsafe&&V.allocUnsafeSlow)J.exports=Y;else I(Y,X),X.Buffer=O;function O(Z,L,B){return V(Z,L,B)}O.prototype=Object.create(V.prototype),I(V,O),O.from=function(Z,L,B){if(typeof Z==="number")throw TypeError("Argument must not be a number");return V(Z,L,B)},O.alloc=function(Z,L,B){if(typeof Z!=="number")throw TypeError("Argument must be a number");var R=V(Z);if(L!==void 0)if(typeof B==="string")R.fill(L,B);else R.fill(L);else R.fill(0);return R},O.allocUnsafe=function(Z){if(typeof Z!=="number")throw TypeError("Argument must be a number");return V(Z)},O.allocUnsafeSlow=function(Z){if(typeof Z!=="number")throw TypeError("Argument must be a number");return Y.SlowBuffer(Z)}}),HN=vU((X)=>{var J=Lp().Buffer,Y=J.isEncoding||function(x){switch(x=""+x,x&&x.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function V(x){if(!x)return"utf8";var b;while(!0)switch(x){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return x;default:if(b)return;x=(""+x).toLowerCase(),b=!0}}function I(x){var b=V(x);if(typeof b!=="string"&&(J.isEncoding===Y||!Y(x)))throw Error("Unknown encoding: "+x);return b||x}X.StringDecoder=O;function O(x){this.encoding=I(x);var b;switch(this.encoding){case"utf16le":this.text=E,this.end=v,b=4;break;case"utf8":this.fillLast=R,b=4;break;case"base64":this.text=q,this.end=y,b=3;break;default:this.write=w,this.end=u;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=J.allocUnsafe(b)}O.prototype.write=function(x){if(x.length===0)return"";var b,p;if(this.lastNeed){if(b=this.fillLast(x),b===void 0)return"";p=this.lastNeed,this.lastNeed=0}else p=0;if(p<x.length)return b?b+this.text(x,p):this.text(x,p);return b||""},O.prototype.end=T,O.prototype.text=S,O.prototype.fillLast=function(x){if(this.lastNeed<=x.length)return x.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);x.copy(this.lastChar,this.lastTotal-this.lastNeed,0,x.length),this.lastNeed-=x.length};function Z(x){if(x<=127)return 0;else if(x>>5===6)return 2;else if(x>>4===14)return 3;else if(x>>3===30)return 4;return x>>6===2?-1:-2}function L(x,b,p){var d=b.length-1;if(d<p)return 0;var a=Z(b[d]);if(a>=0){if(a>0)x.lastNeed=a-1;return a}if(--d<p||a===-2)return 0;if(a=Z(b[d]),a>=0){if(a>0)x.lastNeed=a-2;return a}if(--d<p||a===-2)return 0;if(a=Z(b[d]),a>=0){if(a>0)if(a===2)a=0;else x.lastNeed=a-3;return a}return 0}function B(x,b,p){if((b[0]&192)!==128)return x.lastNeed=0,"�";if(x.lastNeed>1&&b.length>1){if((b[1]&192)!==128)return x.lastNeed=1,"�";if(x.lastNeed>2&&b.length>2){if((b[2]&192)!==128)return x.lastNeed=2,"�"}}}function R(x){var b=this.lastTotal-this.lastNeed,p=B(this,x,b);if(p!==void 0)return p;if(this.lastNeed<=x.length)return x.copy(this.lastChar,b,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);x.copy(this.lastChar,b,0,x.length),this.lastNeed-=x.length}function S(x,b){var p=L(this,x,b);if(!this.lastNeed)return x.toString("utf8",b);this.lastTotal=p;var d=x.length-(p-this.lastNeed);return x.copy(this.lastChar,0,d),x.toString("utf8",b,d)}function T(x){var b=x&&x.length?this.write(x):"";if(this.lastNeed)return b+"�";return b}function E(x,b){if((x.length-b)%2===0){var p=x.toString("utf16le",b);if(p){var d=p.charCodeAt(p.length-1);if(d>=55296&&d<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=x[x.length-2],this.lastChar[1]=x[x.length-1],p.slice(0,-1)}return p}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=x[x.length-1],x.toString("utf16le",b,x.length-1)}function v(x){var b=x&&x.length?this.write(x):"";if(this.lastNeed){var p=this.lastTotal-this.lastNeed;return b+this.lastChar.toString("utf16le",0,p)}return b}function q(x,b){var p=(x.length-b)%3;if(p===0)return x.toString("base64",b);if(this.lastNeed=3-p,this.lastTotal=3,p===1)this.lastChar[0]=x[x.length-1];else this.lastChar[0]=x[x.length-2],this.lastChar[1]=x[x.length-1];return x.toString("base64",b,x.length-p)}function y(x){var b=x&&x.length?this.write(x):"";if(this.lastNeed)return b+this.lastChar.toString("base64",0,3-this.lastNeed);return b}function w(x){return x.toString(this.encoding)}function u(x){return x&&x.length?this.write(x):""}}),mM=vU((X,J)=>{var Y=LJ().codes.ERR_STREAM_PREMATURE_CLOSE;function V(L){var B=!1;return function(){if(B)return;B=!0;for(var R=arguments.length,S=Array(R),T=0;T<R;T++)S[T]=arguments[T];L.apply(this,S)}}function I(){}function O(L){return L.setHeader&&typeof L.abort==="function"}function Z(L,B,R){if(typeof B==="function")return Z(L,null,B);if(!B)B={};R=V(R||I);var S=B.readable||B.readable!==!1&&L.readable,T=B.writable||B.writable!==!1&&L.writable,E=function(){if(!L.writable)q()},v=L._writableState&&L._writableState.finished,q=function(){if(T=!1,v=!0,!S)R.call(L)},y=L._readableState&&L._readableState.endEmitted,w=function(){if(S=!1,y=!0,!T)R.call(L)},u=function(p){R.call(L,p)},x=function(){var p;if(S&&!y){if(!L._readableState||!L._readableState.ended)p=new Y;return R.call(L,p)}if(T&&!v){if(!L._writableState||!L._writableState.ended)p=new Y;return R.call(L,p)}},b=function(){L.req.on("finish",q)};if(O(L))if(L.on("complete",q),L.on("abort",x),L.req)b();else L.on("request",b);else if(T&&!L._writableState)L.on("end",E),L.on("close",E);if(L.on("end",w),L.on("finish",q),B.error!==!1)L.on("error",u);return L.on("close",x),function(){if(L.removeListener("complete",q),L.removeListener("abort",x),L.removeListener("request",b),L.req)L.req.removeListener("finish",q);L.removeListener("end",E),L.removeListener("close",E),L.removeListener("finish",q),L.removeListener("end",w),L.removeListener("error",u),L.removeListener("close",x)}}J.exports=Z}),Mp=vU((X,J)=>{var Y;function V(d,a,F0){if(a=I(a),a in d)Object.defineProperty(d,a,{value:F0,enumerable:!0,configurable:!0,writable:!0});else d[a]=F0;return d}function I(d){var a=O(d,"string");return typeof a==="symbol"?a:String(a)}function O(d,a){if(typeof d!=="object"||d===null)return d;var F0=d[Symbol.toPrimitive];if(F0!==void 0){var L0=F0.call(d,a||"default");if(typeof L0!=="object")return L0;throw TypeError("@@toPrimitive must return a primitive value.")}return(a==="string"?String:Number)(d)}var Z=mM(),L=Symbol("lastResolve"),B=Symbol("lastReject"),R=Symbol("error"),S=Symbol("ended"),T=Symbol("lastPromise"),E=Symbol("handlePromise"),v=Symbol("stream");function q(d,a){return{value:d,done:a}}function y(d){var a=d[L];if(a!==null){var F0=d[v].read();if(F0!==null)d[T]=null,d[L]=null,d[B]=null,a(q(F0,!1))}}function w(d){process.nextTick(y,d)}function u(d,a){return function(F0,L0){d.then(function(){if(a[S]){F0(q(void 0,!0));return}a[E](F0,L0)},L0)}}var x=Object.getPrototypeOf(function(){}),b=Object.setPrototypeOf((Y={get stream(){return this[v]},next:function(){var d=this,a=this[R];if(a!==null)return Promise.reject(a);if(this[S])return Promise.resolve(q(void 0,!0));if(this[v].destroyed)return new Promise(function(t,C0){process.nextTick(function(){if(d[R])C0(d[R]);else t(q(void 0,!0))})});var F0=this[T],L0;if(F0)L0=new Promise(u(F0,this));else{var R0=this[v].read();if(R0!==null)return Promise.resolve(q(R0,!1));L0=new Promise(this[E])}return this[T]=L0,L0}},V(Y,Symbol.asyncIterator,function(){return this}),V(Y,"return",function(){var d=this;return new Promise(function(a,F0){d[v].destroy(null,function(L0){if(L0){F0(L0);return}a(q(void 0,!0))})})}),Y),x),p=function(d){var a,F0=Object.create(b,(a={},V(a,v,{value:d,writable:!0}),V(a,L,{value:null,writable:!0}),V(a,B,{value:null,writable:!0}),V(a,R,{value:null,writable:!0}),V(a,S,{value:d._readableState.endEmitted,writable:!0}),V(a,E,{value:function(L0,R0){var t=F0[v].read();if(t)F0[T]=null,F0[L]=null,F0[B]=null,L0(q(t,!1));else F0[L]=L0,F0[B]=R0},writable:!0}),a));return F0[T]=null,Z(d,function(L0){if(L0&&L0.code!=="ERR_STREAM_PREMATURE_CLOSE"){var R0=F0[B];if(R0!==null)F0[T]=null,F0[L]=null,F0[B]=null,R0(L0);F0[R]=L0;return}var t=F0[L];if(t!==null)F0[T]=null,F0[L]=null,F0[B]=null,t(q(void 0,!0));F0[S]=!0}),d.on("readable",w.bind(null,F0)),F0};J.exports=p}),Ap=vU((X,J)=>{function Y(T,E,v,q,y,w,u){try{var x=T[w](u),b=x.value}catch(p){v(p);return}if(x.done)E(b);else Promise.resolve(b).then(q,y)}function V(T){return function(){var E=this,v=arguments;return new Promise(function(q,y){var w=T.apply(E,v);function u(b){Y(w,q,y,u,x,"next",b)}function x(b){Y(w,q,y,u,x,"throw",b)}u(void 0)})}}function I(T,E){var v=Object.keys(T);if(Object.getOwnPropertySymbols){var q=Object.getOwnPropertySymbols(T);E&&(q=q.filter(function(y){return Object.getOwnPropertyDescriptor(T,y).enumerable})),v.push.apply(v,q)}return v}function O(T){for(var E=1;E<arguments.length;E++){var v=arguments[E]!=null?arguments[E]:{};E%2?I(Object(v),!0).forEach(function(q){Z(T,q,v[q])}):Object.getOwnPropertyDescriptors?Object.defineProperties(T,Object.getOwnPropertyDescriptors(v)):I(Object(v)).forEach(function(q){Object.defineProperty(T,q,Object.getOwnPropertyDescriptor(v,q))})}return T}function Z(T,E,v){if(E=L(E),E in T)Object.defineProperty(T,E,{value:v,enumerable:!0,configurable:!0,writable:!0});else T[E]=v;return T}function L(T){var E=B(T,"string");return typeof E==="symbol"?E:String(E)}function B(T,E){if(typeof T!=="object"||T===null)return T;var v=T[Symbol.toPrimitive];if(v!==void 0){var q=v.call(T,E||"default");if(typeof q!=="object")return q;throw TypeError("@@toPrimitive must return a primitive value.")}return(E==="string"?String:Number)(T)}var R=LJ().codes.ERR_INVALID_ARG_TYPE;function S(T,E,v){var q;if(E&&typeof E.next==="function")q=E;else if(E&&E[Symbol.asyncIterator])q=E[Symbol.asyncIterator]();else if(E&&E[Symbol.iterator])q=E[Symbol.iterator]();else throw new R("iterable",["Iterable"],E);var y=new T(O({objectMode:!0},v)),w=!1;y._read=function(){if(!w)w=!0,u()};function u(){return x.apply(this,arguments)}function x(){return x=V(function*(){try{var b=yield q.next(),p=b.value,d=b.done;if(d)y.push(null);else if(y.push(yield p))u();else w=!1}catch(a){y.destroy(a)}}),x.apply(this,arguments)}return y}J.exports=S}),CN=vU((X,J)=>{J.exports=G;var Y;G.ReadableState=C0;var V=(SQ(),j$(RQ)).EventEmitter,I=function($0,c){return $0.listeners(c).length},O=BQ(),Z=(oU(),j$(nU)).Buffer,L=(typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function B($0){return Z.from($0)}function R($0){return Z.isBuffer($0)||$0 instanceof L}var S=(_Q(),j$(PQ)),T;if(S&&S.debuglog)T=S.debuglog("stream");else T=function(){};var E=Fp(),v=MN(),q=AN(),y=q.getHighWaterMark,w=LJ().codes,u=w.ERR_INVALID_ARG_TYPE,x=w.ERR_STREAM_PUSH_AFTER_EOF,b=w.ERR_METHOD_NOT_IMPLEMENTED,p=w.ERR_STREAM_UNSHIFT_AFTER_END_EVENT,d,a,F0;HJ()(G,O);var L0=v.errorOrDestroy,R0=["error","close","destroy","pause","resume"];function t($0,c,n){if(typeof $0.prependListener==="function")return $0.prependListener(c,n);if(!$0._events||!$0._events[c])$0.on(c,n);else if(Array.isArray($0._events[c]))$0._events[c].unshift(n);else $0._events[c]=[n,$0._events[c]]}function C0($0,c,n){if(Y=Y||DY(),$0=$0||{},typeof n!=="boolean")n=c instanceof Y;if(this.objectMode=!!$0.objectMode,n)this.objectMode=this.objectMode||!!$0.readableObjectMode;if(this.highWaterMark=y(this,$0,"readableHighWaterMark",n),this.buffer=new E,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.paused=!0,this.emitClose=$0.emitClose!==!1,this.autoDestroy=!!$0.autoDestroy,this.destroyed=!1,this.defaultEncoding=$0.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,$0.encoding){if(!d)d=HN().StringDecoder;this.decoder=new d($0.encoding),this.encoding=$0.encoding}}function G($0){if(Y=Y||DY(),!(this instanceof G))return new G($0);var c=this instanceof Y;if(this._readableState=new C0($0,this,c),this.readable=!0,$0){if(typeof $0.read==="function")this._read=$0.read;if(typeof $0.destroy==="function")this._destroy=$0.destroy}O.call(this)}Object.defineProperty(G.prototype,"destroyed",{enumerable:!1,get:function(){if(this._readableState===void 0)return!1;return this._readableState.destroyed},set:function($0){if(!this._readableState)return;this._readableState.destroyed=$0}}),G.prototype.destroy=v.destroy,G.prototype._undestroy=v.undestroy,G.prototype._destroy=function($0,c){c($0)},G.prototype.push=function($0,c){var n=this._readableState,H0;if(!n.objectMode){if(typeof $0==="string"){if(c=c||n.defaultEncoding,c!==n.encoding)$0=Z.from($0,c),c="";H0=!0}}else H0=!0;return K(this,$0,c,!1,H0)},G.prototype.unshift=function($0){return K(this,$0,null,!0,!1)};function K($0,c,n,H0,Y0){T("readableAddChunk",c);var D0=$0._readableState;if(c===null)D0.reading=!1,A($0,D0);else{var q0;if(!Y0)q0=D(D0,c);if(q0)L0($0,q0);else if(D0.objectMode||c&&c.length>0){if(typeof c!=="string"&&!D0.objectMode&&Object.getPrototypeOf(c)!==Z.prototype)c=B(c);if(H0)if(D0.endEmitted)L0($0,new p);else H($0,D0,c,!0);else if(D0.ended)L0($0,new x);else if(D0.destroyed)return!1;else if(D0.reading=!1,D0.decoder&&!n)if(c=D0.decoder.write(c),D0.objectMode||c.length!==0)H($0,D0,c,!1);else g($0,D0);else H($0,D0,c,!1)}else if(!H0)D0.reading=!1,g($0,D0)}return!D0.ended&&(D0.length<D0.highWaterMark||D0.length===0)}function H($0,c,n,H0){if(c.flowing&&c.length===0&&!c.sync)c.awaitDrain=0,$0.emit("data",n);else{if(c.length+=c.objectMode?1:n.length,H0)c.buffer.unshift(n);else c.buffer.push(n);if(c.needReadable)z($0)}g($0,c)}function D($0,c){var n;if(!R(c)&&typeof c!=="string"&&c!==void 0&&!$0.objectMode)n=new u("chunk",["string","Buffer","Uint8Array"],c);return n}G.prototype.isPaused=function(){return this._readableState.flowing===!1},G.prototype.setEncoding=function($0){if(!d)d=HN().StringDecoder;var c=new d($0);this._readableState.decoder=c,this._readableState.encoding=this._readableState.decoder.encoding;var n=this._readableState.buffer.head,H0="";while(n!==null)H0+=c.write(n.data),n=n.next;if(this._readableState.buffer.clear(),H0!=="")this._readableState.buffer.push(H0);return this._readableState.length=H0.length,this};var F=1073741824;function P($0){if($0>=F)$0=F;else $0--,$0|=$0>>>1,$0|=$0>>>2,$0|=$0>>>4,$0|=$0>>>8,$0|=$0>>>16,$0++;return $0}function j($0,c){if($0<=0||c.length===0&&c.ended)return 0;if(c.objectMode)return 1;if($0!==$0)if(c.flowing&&c.length)return c.buffer.head.data.length;else return c.length;if($0>c.highWaterMark)c.highWaterMark=P($0);if($0<=c.length)return $0;if(!c.ended)return c.needReadable=!0,0;return c.length}G.prototype.read=function($0){T("read",$0),$0=parseInt($0,10);var c=this._readableState,n=$0;if($0!==0)c.emittedReadable=!1;if($0===0&&c.needReadable&&((c.highWaterMark!==0?c.length>=c.highWaterMark:c.length>0)||c.ended)){if(T("read: emitReadable",c.length,c.ended),c.length===0&&c.ended)J0(this);else z(this);return null}if($0=j($0,c),$0===0&&c.ended){if(c.length===0)J0(this);return null}var H0=c.needReadable;if(T("need readable",H0),c.length===0||c.length-$0<c.highWaterMark)H0=!0,T("length less than watermark",H0);if(c.ended||c.reading)H0=!1,T("reading or ended",H0);else if(H0){if(T("do read"),c.reading=!0,c.sync=!0,c.length===0)c.needReadable=!0;if(this._read(c.highWaterMark),c.sync=!1,!c.reading)$0=j(n,c)}var Y0;if($0>0)Y0=e($0,c);else Y0=null;if(Y0===null)c.needReadable=c.length<=c.highWaterMark,$0=0;else c.length-=$0,c.awaitDrain=0;if(c.length===0){if(!c.ended)c.needReadable=!0;if(n!==$0&&c.ended)J0(this)}if(Y0!==null)this.emit("data",Y0);return Y0};function A($0,c){if(T("onEofChunk"),c.ended)return;if(c.decoder){var n=c.decoder.end();if(n&&n.length)c.buffer.push(n),c.length+=c.objectMode?1:n.length}if(c.ended=!0,c.sync)z($0);else if(c.needReadable=!1,!c.emittedReadable)c.emittedReadable=!0,C($0)}function z($0){var c=$0._readableState;if(T("emitReadable",c.needReadable,c.emittedReadable),c.needReadable=!1,!c.emittedReadable)T("emitReadable",c.flowing),c.emittedReadable=!0,process.nextTick(C,$0)}function C($0){var c=$0._readableState;if(T("emitReadable_",c.destroyed,c.length,c.ended),!c.destroyed&&(c.length||c.ended))$0.emit("readable"),c.emittedReadable=!1;c.needReadable=!c.flowing&&!c.ended&&c.length<=c.highWaterMark,s($0)}function g($0,c){if(!c.readingMore)c.readingMore=!0,process.nextTick(N,$0,c)}function N($0,c){while(!c.reading&&!c.ended&&(c.length<c.highWaterMark||c.flowing&&c.length===0)){var n=c.length;if(T("maybeReadMore read 0"),$0.read(0),n===c.length)break}c.readingMore=!1}G.prototype._read=function($0){L0(this,new b("_read()"))},G.prototype.pipe=function($0,c){var n=this,H0=this._readableState;switch(H0.pipesCount){case 0:H0.pipes=$0;break;case 1:H0.pipes=[H0.pipes,$0];break;default:H0.pipes.push($0);break}H0.pipesCount+=1,T("pipe count=%d opts=%j",H0.pipesCount,c);var Y0=(!c||c.end!==!1)&&$0!==process.stdout&&$0!==process.stderr,D0=Y0?X0:i$;if(H0.endEmitted)process.nextTick(D0);else n.once("end",D0);$0.on("unpipe",q0);function q0(u0,h0){if(T("onunpipe"),u0===n){if(h0&&h0.hasUnpiped===!1)h0.hasUnpiped=!0,M0()}}function X0(){T("onend"),$0.end()}var V0=h(n);$0.on("drain",V0);var U$=!1;function M0(){if(T("cleanup"),$0.removeListener("close",p0),$0.removeListener("finish",c0),$0.removeListener("drain",V0),$0.removeListener("error",L$),$0.removeListener("unpipe",q0),n.removeListener("end",X0),n.removeListener("end",i$),n.removeListener("data",v0),U$=!0,H0.awaitDrain&&(!$0._writableState||$0._writableState.needDrain))V0()}n.on("data",v0);function v0(u0){T("ondata");var h0=$0.write(u0);if(T("dest.write",h0),h0===!1){if((H0.pipesCount===1&&H0.pipes===$0||H0.pipesCount>1&&A0(H0.pipes,$0)!==-1)&&!U$)T("false write response, pause",H0.awaitDrain),H0.awaitDrain++;n.pause()}}function L$(u0){if(T("onerror",u0),i$(),$0.removeListener("error",L$),I($0,"error")===0)L0($0,u0)}t($0,"error",L$);function p0(){$0.removeListener("finish",c0),i$()}$0.once("close",p0);function c0(){T("onfinish"),$0.removeListener("close",p0),i$()}$0.once("finish",c0);function i$(){T("unpipe"),n.unpipe($0)}if($0.emit("pipe",n),!H0.flowing)T("pipe resume"),n.resume();return $0};function h($0){return function(){var c=$0._readableState;if(T("pipeOnDrain",c.awaitDrain),c.awaitDrain)c.awaitDrain--;if(c.awaitDrain===0&&I($0,"data"))c.flowing=!0,s($0)}}G.prototype.unpipe=function($0){var c=this._readableState,n={hasUnpiped:!1};if(c.pipesCount===0)return this;if(c.pipesCount===1){if($0&&$0!==c.pipes)return this;if(!$0)$0=c.pipes;if(c.pipes=null,c.pipesCount=0,c.flowing=!1,$0)$0.emit("unpipe",this,n);return this}if(!$0){var{pipes:H0,pipesCount:Y0}=c;c.pipes=null,c.pipesCount=0,c.flowing=!1;for(var D0=0;D0<Y0;D0++)H0[D0].emit("unpipe",this,{hasUnpiped:!1});return this}var q0=A0(c.pipes,$0);if(q0===-1)return this;if(c.pipes.splice(q0,1),c.pipesCount-=1,c.pipesCount===1)c.pipes=c.pipes[0];return $0.emit("unpipe",this,n),this},G.prototype.on=function($0,c){var n=O.prototype.on.call(this,$0,c),H0=this._readableState;if($0==="data"){if(H0.readableListening=this.listenerCount("readable")>0,H0.flowing!==!1)this.resume()}else if($0==="readable"){if(!H0.endEmitted&&!H0.readableListening){if(H0.readableListening=H0.needReadable=!0,H0.flowing=!1,H0.emittedReadable=!1,T("on readable",H0.length,H0.reading),H0.length)z(this);else if(!H0.reading)process.nextTick(U0,this)}}return n},G.prototype.addListener=G.prototype.on,G.prototype.removeListener=function($0,c){var n=O.prototype.removeListener.call(this,$0,c);if($0==="readable")process.nextTick(r,this);return n},G.prototype.removeAllListeners=function($0){var c=O.prototype.removeAllListeners.apply(this,arguments);if($0==="readable"||$0===void 0)process.nextTick(r,this);return c};function r($0){var c=$0._readableState;if(c.readableListening=$0.listenerCount("readable")>0,c.resumeScheduled&&!c.paused)c.flowing=!0;else if($0.listenerCount("data")>0)$0.resume()}function U0($0){T("readable nexttick read 0"),$0.read(0)}G.prototype.resume=function(){var $0=this._readableState;if(!$0.flowing)T("resume"),$0.flowing=!$0.readableListening,O0(this,$0);return $0.paused=!1,this};function O0($0,c){if(!c.resumeScheduled)c.resumeScheduled=!0,process.nextTick(Q0,$0,c)}function Q0($0,c){if(T("resume",c.reading),!c.reading)$0.read(0);if(c.resumeScheduled=!1,$0.emit("resume"),s($0),c.flowing&&!c.reading)$0.read(0)}G.prototype.pause=function(){if(T("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1)T("pause"),this._readableState.flowing=!1,this.emit("pause");return this._readableState.paused=!0,this};function s($0){var c=$0._readableState;T("flow",c.flowing);while(c.flowing&&$0.read()!==null);}if(G.prototype.wrap=function($0){var c=this,n=this._readableState,H0=!1;$0.on("end",function(){if(T("wrapped end"),n.decoder&&!n.ended){var q0=n.decoder.end();if(q0&&q0.length)c.push(q0)}c.push(null)}),$0.on("data",function(q0){if(T("wrapped data"),n.decoder)q0=n.decoder.write(q0);if(n.objectMode&&(q0===null||q0===void 0))return;else if(!n.objectMode&&(!q0||!q0.length))return;var X0=c.push(q0);if(!X0)H0=!0,$0.pause()});for(var Y0 in $0)if(this[Y0]===void 0&&typeof $0[Y0]==="function")this[Y0]=function(q0){return function(){return $0[q0].apply($0,arguments)}}(Y0);for(var D0=0;D0<R0.length;D0++)$0.on(R0[D0],this.emit.bind(this,R0[D0]));return this._read=function(q0){if(T("wrapped _read",q0),H0)H0=!1,$0.resume()},this},typeof Symbol==="function")G.prototype[Symbol.asyncIterator]=function(){if(a===void 0)a=Mp();return a(this)};Object.defineProperty(G.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),Object.defineProperty(G.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}}),Object.defineProperty(G.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function($0){if(this._readableState)this._readableState.flowing=$0}}),G._fromList=e,Object.defineProperty(G.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}});function e($0,c){if(c.length===0)return null;var n;if(c.objectMode)n=c.buffer.shift();else if(!$0||$0>=c.length){if(c.decoder)n=c.buffer.join("");else if(c.buffer.length===1)n=c.buffer.first();else n=c.buffer.concat(c.length);c.buffer.clear()}else n=c.buffer.consume($0,c.decoder);return n}function J0($0){var c=$0._readableState;if(T("endReadable",c.endEmitted),!c.endEmitted)c.ended=!0,process.nextTick(Z0,c,$0)}function Z0($0,c){if(T("endReadableNT",$0.endEmitted,$0.length),!$0.endEmitted&&$0.length===0){if($0.endEmitted=!0,c.readable=!1,c.emit("end"),$0.autoDestroy){var n=c._writableState;if(!n||n.autoDestroy&&n.finished)c.destroy()}}}if(typeof Symbol==="function")G.from=function($0,c){if(F0===void 0)F0=Ap();return F0(G,$0,c)};function A0($0,c){for(var n=0,H0=$0.length;n<H0;n++)if($0[n]===c)return n;return-1}}),PN=vU((X,J)=>{J.exports=R;var Y=LJ().codes,V=Y.ERR_METHOD_NOT_IMPLEMENTED,I=Y.ERR_MULTIPLE_CALLBACK,O=Y.ERR_TRANSFORM_ALREADY_TRANSFORMING,Z=Y.ERR_TRANSFORM_WITH_LENGTH_0,L=DY();HJ()(R,L);function B(E,v){var q=this._transformState;q.transforming=!1;var y=q.writecb;if(y===null)return this.emit("error",new I);if(q.writechunk=null,q.writecb=null,v!=null)this.push(v);y(E);var w=this._readableState;if(w.reading=!1,w.needReadable||w.length<w.highWaterMark)this._read(w.highWaterMark)}function R(E){if(!(this instanceof R))return new R(E);if(L.call(this,E),this._transformState={afterTransform:B.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,E){if(typeof E.transform==="function")this._transform=E.transform;if(typeof E.flush==="function")this._flush=E.flush}this.on("prefinish",S)}function S(){var E=this;if(typeof this._flush==="function"&&!this._readableState.destroyed)this._flush(function(v,q){T(E,v,q)});else T(this,null,null)}R.prototype.push=function(E,v){return this._transformState.needTransform=!1,L.prototype.push.call(this,E,v)},R.prototype._transform=function(E,v,q){q(new V("_transform()"))},R.prototype._write=function(E,v,q){var y=this._transformState;if(y.writecb=q,y.writechunk=E,y.writeencoding=v,!y.transforming){var w=this._readableState;if(y.needTransform||w.needReadable||w.length<w.highWaterMark)this._read(w.highWaterMark)}},R.prototype._read=function(E){var v=this._transformState;if(v.writechunk!==null&&!v.transforming)v.transforming=!0,this._transform(v.writechunk,v.writeencoding,v.afterTransform);else v.needTransform=!0},R.prototype._destroy=function(E,v){L.prototype._destroy.call(this,E,function(q){v(q)})};function T(E,v,q){if(v)return E.emit("error",v);if(q!=null)E.push(q);if(E._writableState.length)throw new Z;if(E._transformState.transforming)throw new O;return E.push(null)}}),Tp=vU((X,J)=>{J.exports=V;var Y=PN();HJ()(V,Y);function V(I){if(!(this instanceof V))return new V(I);Y.call(this,I)}V.prototype._transform=function(I,O,Z){Z(null,I)}}),Cp=vU((X,J)=>{var Y;function V(q){var y=!1;return function(){if(y)return;y=!0,q.apply(void 0,arguments)}}var I=LJ().codes,O=I.ERR_MISSING_ARGS,Z=I.ERR_STREAM_DESTROYED;function L(q){if(q)throw q}function B(q){return q.setHeader&&typeof q.abort==="function"}function R(q,y,w,u){u=V(u);var x=!1;if(q.on("close",function(){x=!0}),Y===void 0)Y=mM();Y(q,{readable:y,writable:w},function(p){if(p)return u(p);x=!0,u()});var b=!1;return function(p){if(x)return;if(b)return;if(b=!0,B(q))return q.abort();if(typeof q.destroy==="function")return q.destroy();u(p||new Z("pipe"))}}function S(q){q()}function T(q,y){return q.pipe(y)}function E(q){if(!q.length)return L;if(typeof q[q.length-1]!=="function")return L;return q.pop()}function v(){for(var q=arguments.length,y=Array(q),w=0;w<q;w++)y[w]=arguments[w];var u=E(y);if(Array.isArray(y[0]))y=y[0];if(y.length<2)throw new O("streams");var x,b=y.map(function(p,d){var a=d<y.length-1,F0=d>0;return R(p,a,F0,function(L0){if(!x)x=L0;if(L0)b.forEach(S);if(a)return;b.forEach(S),u(x)})});return y.reduce(T)}J.exports=v}),_N=vU((X,J)=>{var Y=BQ();X=J.exports=CN(),X.Stream=Y||X,X.Readable=X,X.Writable=TN(),X.Duplex=DY(),X.Transform=PN(),X.PassThrough=Tp(),X.finished=mM(),X.pipeline=Cp()}),EN=vU((X)=>{var J=LN(),Y=HJ(),V=_N(),I=X.readyStates={UNSENT:0,OPENED:1,HEADERS_RECEIVED:2,LOADING:3,DONE:4},O=X.IncomingMessage=function(Z,L,B,R){var S=this;if(V.Readable.call(S),S._mode=B,S.headers={},S.rawHeaders=[],S.trailers={},S.rawTrailers=[],S.on("end",function(){process.nextTick(function(){S.emit("close")})}),B==="fetch"){let u=function(){v.read().then(function(x){if(S._destroyed)return;if(R(x.done),x.done){S.push(null);return}S.push(Buffer.from(x.value)),u()}).catch(function(x){if(R(!0),!S._destroyed)S.emit("error",x)})};var T=u;if(S._fetchResponse=L,S.url=L.url,S.statusCode=L.status,S.statusMessage=L.statusText,L.headers.forEach(function(x,b){S.headers[b.toLowerCase()]=x,S.rawHeaders.push(b,x)}),J.writableStream){var E=new WritableStream({write:function(x){return R(!1),new Promise(function(b,p){if(S._destroyed)p();else if(S.push(Buffer.from(x)))b();else S._resumeFetch=b})},close:function(){if(R(!0),!S._destroyed)S.push(null)},abort:function(x){if(R(!0),!S._destroyed)S.emit("error",x)}});try{L.body.pipeTo(E).catch(function(x){if(R(!0),!S._destroyed)S.emit("error",x)});return}catch(x){}}var v=L.body.getReader();u()}else{S._xhr=Z,S._pos=0,S.url=Z.responseURL,S.statusCode=Z.status,S.statusMessage=Z.statusText;var q=Z.getAllResponseHeaders().split(/\r?\n/);if(q.forEach(function(u){var x=u.match(/^([^:]+):\s*(.*)/);if(x){var b=x[1].toLowerCase();if(b==="set-cookie"){if(S.headers[b]===void 0)S.headers[b]=[];S.headers[b].push(x[2])}else if(S.headers[b]!==void 0)S.headers[b]+=", "+x[2];else S.headers[b]=x[2];S.rawHeaders.push(x[1],x[2])}}),S._charset="x-user-defined",!J.overrideMimeType){var y=S.rawHeaders["mime-type"];if(y){var w=y.match(/;\s*charset=([^;])(;|$)/);if(w)S._charset=w[1].toLowerCase()}if(!S._charset)S._charset="utf-8"}}};Y(O,V.Readable),O.prototype._read=function(){var Z=this,L=Z._resumeFetch;if(L)Z._resumeFetch=null,L()},O.prototype._onXHRProgress=function(Z){var L=this,B=L._xhr,R=null;switch(L._mode){case"text":if(R=B.responseText,R.length>L._pos){var S=R.substr(L._pos);if(L._charset==="x-user-defined"){var T=Buffer.alloc(S.length);for(var E=0;E<S.length;E++)T[E]=S.charCodeAt(E)&255;L.push(T)}else L.push(S,L._charset);L._pos=R.length}break;case"arraybuffer":if(B.readyState!==I.DONE||!B.response)break;R=B.response,L.push(Buffer.from(new Uint8Array(R)));break;case"moz-chunked-arraybuffer":if(R=B.response,B.readyState!==I.LOADING||!R)break;L.push(Buffer.from(new Uint8Array(R)));break;case"ms-stream":if(R=B.response,B.readyState!==I.LOADING)break;var v=new globalThis.MSStreamReader;v.onprogress=function(){if(v.result.byteLength>L._pos)L.push(Buffer.from(new Uint8Array(v.result.slice(L._pos)))),L._pos=v.result.byteLength},v.onload=function(){Z(!0),L.push(null)},v.readAsArrayBuffer(R);break}if(L._xhr.readyState===I.DONE&&L._mode!=="ms-stream")Z(!0),L.push(null)}}),Pp=vU((X,J)=>{var Y=LN(),V=HJ(),I=EN(),O=_N(),Z=I.IncomingMessage,L=I.readyStates;function B(E,v){if(Y.fetch&&v)return"fetch";else if(Y.mozchunkedarraybuffer)return"moz-chunked-arraybuffer";else if(Y.msstream)return"ms-stream";else if(Y.arraybuffer&&E)return"arraybuffer";else return"text"}var R=J.exports=function(E){var v=this;if(O.Writable.call(v),v._opts=E,v._body=[],v._headers={},E.auth)v.setHeader("Authorization","Basic "+Buffer.from(E.auth).toString("base64"));Object.keys(E.headers).forEach(function(w){v.setHeader(w,E.headers[w])});var q,y=!0;if(E.mode==="disable-fetch"||"requestTimeout"in E&&!Y.abortController)y=!1,q=!0;else if(E.mode==="prefer-streaming")q=!1;else if(E.mode==="allow-wrong-content-type")q=!Y.overrideMimeType;else if(!E.mode||E.mode==="default"||E.mode==="prefer-fast")q=!0;else throw Error("Invalid value for opts.mode");v._mode=B(q,y),v._fetchTimer=null,v._socketTimeout=null,v._socketTimer=null,v.on("finish",function(){v._onFinish()})};V(R,O.Writable),R.prototype.setHeader=function(E,v){var q=this,y=E.toLowerCase();if(T.indexOf(y)!==-1)return;q._headers[y]={name:E,value:v}},R.prototype.getHeader=function(E){var v=this._headers[E.toLowerCase()];if(v)return v.value;return null},R.prototype.removeHeader=function(E){var v=this;delete v._headers[E.toLowerCase()]},R.prototype._onFinish=function(){var E=this;if(E._destroyed)return;var v=E._opts;if("timeout"in v&&v.timeout!==0)E.setTimeout(v.timeout);var q=E._headers,y=null;if(v.method!=="GET"&&v.method!=="HEAD")y=new Blob(E._body,{type:(q["content-type"]||{}).value||""});var w=[];if(Object.keys(q).forEach(function(p){var d=q[p].name,a=q[p].value;if(Array.isArray(a))a.forEach(function(F0){w.push([d,F0])});else w.push([d,a])}),E._mode==="fetch"){var u=null;if(Y.abortController){var x=new AbortController;if(u=x.signal,E._fetchAbortController=x,"requestTimeout"in v&&v.requestTimeout!==0)E._fetchTimer=globalThis.setTimeout(function(){if(E.emit("requestTimeout"),E._fetchAbortController)E._fetchAbortController.abort()},v.requestTimeout)}globalThis.fetch(E._opts.url,{method:E._opts.method,headers:w,body:y||void 0,mode:"cors",credentials:v.withCredentials?"include":"same-origin",signal:u}).then(function(p){E._fetchResponse=p,E._resetTimers(!1),E._connect()},function(p){if(E._resetTimers(!0),!E._destroyed)E.emit("error",p)})}else{var b=E._xhr=new globalThis.XMLHttpRequest;try{b.open(E._opts.method,E._opts.url,!0)}catch(p){process.nextTick(function(){E.emit("error",p)});return}if("responseType"in b)b.responseType=E._mode;if("withCredentials"in b)b.withCredentials=!!v.withCredentials;if(E._mode==="text"&&"overrideMimeType"in b)b.overrideMimeType("text/plain; charset=x-user-defined");if("requestTimeout"in v)b.timeout=v.requestTimeout,b.ontimeout=function(){E.emit("requestTimeout")};if(w.forEach(function(p){b.setRequestHeader(p[0],p[1])}),E._response=null,b.onreadystatechange=function(){switch(b.readyState){case L.LOADING:case L.DONE:E._onXHRProgress();break}},E._mode==="moz-chunked-arraybuffer")b.onprogress=function(){E._onXHRProgress()};b.onerror=function(){if(E._destroyed)return;E._resetTimers(!0),E.emit("error",Error("XHR error"))};try{b.send(y)}catch(p){process.nextTick(function(){E.emit("error",p)});return}}};function S(E){try{var v=E.status;return v!==null&&v!==0}catch(q){return!1}}R.prototype._onXHRProgress=function(){var E=this;if(E._resetTimers(!1),!S(E._xhr)||E._destroyed)return;if(!E._response)E._connect();E._response._onXHRProgress(E._resetTimers.bind(E))},R.prototype._connect=function(){var E=this;if(E._destroyed)return;E._response=new Z(E._xhr,E._fetchResponse,E._mode,E._resetTimers.bind(E)),E._response.on("error",function(v){E.emit("error",v)}),E.emit("response",E._response)},R.prototype._write=function(E,v,q){var y=this;y._body.push(E),q()},R.prototype._resetTimers=function(E){var v=this;if(globalThis.clearTimeout(v._socketTimer),v._socketTimer=null,E)globalThis.clearTimeout(v._fetchTimer),v._fetchTimer=null;else if(v._socketTimeout)v._socketTimer=globalThis.setTimeout(function(){v.emit("timeout")},v._socketTimeout)},R.prototype.abort=R.prototype.destroy=function(E){var v=this;if(v._destroyed=!0,v._resetTimers(!0),v._response)v._response._destroyed=!0;if(v._xhr)v._xhr.abort();else if(v._fetchAbortController)v._fetchAbortController.abort();if(E)v.emit("error",E)},R.prototype.end=function(E,v,q){var y=this;if(typeof E==="function")q=E,E=void 0;O.Writable.prototype.end.call(y,E,v,q)},R.prototype.setTimeout=function(E,v){var q=this;if(v)q.once("timeout",v);q._socketTimeout=E,q._resetTimers(!1)},R.prototype.flushHeaders=function(){},R.prototype.setNoDelay=function(){},R.prototype.setSocketKeepAlive=function(){};var T=["accept-charset","accept-encoding","access-control-request-headers","access-control-request-method","connection","content-length","cookie","cookie2","date","dnt","expect","host","keep-alive","origin","referer","te","trailer","transfer-encoding","upgrade","via"]}),_p=vU((X,J)=>{J.exports=V;var Y=Object.prototype.hasOwnProperty;function V(){var I={};for(var O=0;O<arguments.length;O++){var Z=arguments[O];for(var L in Z)if(Y.call(Z,L))I[L]=Z[L]}return I}}),Ep=vU((X,J)=>{J.exports=(lM(),j$(jN)).STATUS_CODES}),Rp=vU((X)=>{var J=Pp(),Y=EN(),V=_p(),I=Ep(),O=(WN(),j$(KN)),Z=X;Z.request=function(L,B){if(typeof L==="string")L=O.parse(L);else L=V(L);var R=globalThis.location.protocol.search(/^https?:$/)===-1?"http:":"",S=L.protocol||R,T=L.hostname||L.host,E=L.port,v=L.path||"/";if(T&&T.indexOf(":")!==-1)T="["+T+"]";L.url=(T?S+"//"+T:"")+(E?":"+E:"")+v,L.method=(L.method||"GET").toUpperCase(),L.headers=L.headers||{};var q=new J(L);if(B)q.on("response",B);return q},Z.get=function(L,B){var R=Z.request(L,B);return R.end(),R},Z.ClientRequest=J,Z.IncomingMessage=Y.IncomingMessage,Z.Agent=function(){},Z.Agent.defaultMaxSockets=4,Z.globalAgent=new Z.Agent,Z.STATUS_CODES=I,Z.METHODS=["CHECKOUT","CONNECT","COPY","DELETE","GET","HEAD","LOCK","M-SEARCH","MERGE","MKACTIVITY","MKCOL","MOVE","NOTIFY","OPTIONS","PATCH","POST","PROPFIND","PROPPATCH","PURGE","PUT","REPORT","SEARCH","SUBSCRIBE","TRACE","UNLOCK","UNSUBSCRIBE"]}),RN=Kp(Rp(),1),{request:Sp,get:jp,ClientRequest:Bp,IncomingMessage:vp,Agent:Np,globalAgent:qp,STATUS_CODES:kp,METHODS:xp}=RN.default,SN=RN.default});var yN=YX((V60,fN)=>{function vN(X,J,Y){if(!X||typeof X!=="object"||Array.isArray(X)||Object.keys(X).some((V)=>!J.includes(V)))throw Error(`${Y} has an invalid shape`);return X}function tp(X){if(!Array.isArray(X)||X.length>256)throw Error("World network egress must be an array of at most 256 exact HTTPS origins");let J=X.map((Y)=>{if(typeof Y!=="string"||Y.length>2048)throw Error("World network egress origins must be strings");let V;try{V=new URL(Y)}catch{throw Error(`Invalid World network origin: ${Y}`)}if(V.protocol!=="https:"||V.origin!==Y||V.username||V.password||!/^[a-z0-9](?:[a-z0-9.-]*[a-z0-9])?$/.test(V.hostname)||V.hostname.split(".").some((I)=>!I||I.length>63||I.startsWith("-")||I.endsWith("-"))||/^[\d.]+$/.test(V.hostname)||V.hostname==="localhost"||V.hostname.endsWith(".localhost"))throw Error(`World network requires an exact canonical HTTPS origin: ${Y}`);return Y});return Object.freeze([...new Set(J)].sort())}function NN(X){let J=vN(X,["egress"],"World network");return Object.freeze({egress:tp(J.egress)})}function qN(X,J){if(typeof X!=="string"||!X||X.length>256)throw Error("World network policy requires its World identity");return Object.freeze({version:1,world:X,egress:NN(J).egress})}function kN(X){let J=vN(X,["version","world","egress"],"World network policy");if(J.version!==1)throw Error("Unsupported World network policy version");return qN(J.world,{egress:J.egress})}function xN(X){let J=X.VOLTER_WORLD_NETWORK_POLICY;if(J===void 0)return;if(typeof J!=="string"||J.length>65536)throw Error("Invalid published World network policy");let Y=kN(JSON.parse(J));if(!X.VOLTER_WORLD||Y.world!==X.VOLTER_WORLD)throw Error("World network policy does not belong to the attached World");return Y}function gN(X,J){let Y;try{Y=new URL(String(J))}catch{return!1}return Y.protocol==="https:"&&!Y.username&&!Y.password&&X.egress.includes(Y.origin)}function wN(X){let J=String(X||"").toLowerCase().replace(/^\[|\]$/g,"");if(!J)return!0;if(J==="localhost"||J.endsWith(".localhost")||J.endsWith(".test")||J==="0.0.0.0"||J==="::1")return!0;let Y=/^(\d+)\.(\d+)\.(\d+)\.(\d+)$/.exec(J);if(Y){let V=Number(Y[1]),I=Number(Y[2]);return V===127||V===10||V===172&&I>=16&&I<=31||V===192&&I===168||V===169&&I===254}return J.includes(":")&&(J.startsWith("fc")||J.startsWith("fd")||J.startsWith("fe80:"))}function ap(X,J=process.env){let Y;try{Y=new URL(String(X))}catch{return`unparseable destination ${String(X)}`}if(wN(Y.hostname))return null;if(J.VOLTER_TWIN_STRICT_EGRESS==="1"||J.VOLTER_TWIN_STRICT_EGRESS==="true")return`sealed World refuses untwinned host ${Y.hostname}`;let V;try{V=xN(J)}catch(I){return`World network policy unreadable (${I.message}); refusing ${Y.hostname}`}if(V!==void 0&&!gN(V,Y))return`World network policy does not allow ${Y.origin}`;return null}fN.exports={isWorldInternalHost:wN,worldEgressRefusal:ap,WORLD_NETWORK_POLICY_ENV:"VOLTER_WORLD_NETWORK_POLICY",normalizeWorldNetwork:NN,createWorldNetworkPolicy:qN,parseWorldNetworkPolicy:kN,worldNetworkPolicyFromEnv:xN,allowsWorldNetworkEgress:gN}});var oM=YX((Xm)=>{var MJ=w1(lG());(function(){function X(z){if(z==null)return null;if(typeof z==="function")return z.$$typeof===t?null:z.displayName||z.name||null;if(typeof z==="string")return z;switch(z){case y:return"Fragment";case u:return"Profiler";case w:return"StrictMode";case d:return"Suspense";case a:return"SuspenseList";case R0:return"Activity"}if(typeof z==="object")switch(typeof z.tag==="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),z.$$typeof){case q:return"Portal";case b:return z.displayName||"Context";case x:return(z._context.displayName||"Context")+".Consumer";case p:var C=z.render;return z=z.displayName,z||(z=C.displayName||C.name||"",z=z!==""?"ForwardRef("+z+")":"ForwardRef"),z;case F0:return C=z.displayName||null,C!==null?C:X(z.type)||"Memo";case L0:C=z._payload,z=z._init;try{return X(z(C))}catch(g){}}return null}function J(z){return""+z}function Y(z){try{J(z);var C=!1}catch(h){C=!0}if(C){C=console;var g=C.error,N=typeof Symbol==="function"&&Symbol.toStringTag&&z[Symbol.toStringTag]||z.constructor.name||"Object";return g.call(C,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",N),J(z)}}function V(z){if(z===y)return"<>";if(typeof z==="object"&&z!==null&&z.$$typeof===L0)return"<...>";try{var C=X(z);return C?"<"+C+">":"<...>"}catch(g){return"<...>"}}function I(){var z=C0.A;return z===null?null:z.getOwner()}function O(){return Error("react-stack-top-frame")}function Z(z){if(G.call(z,"key")){var C=Object.getOwnPropertyDescriptor(z,"key").get;if(C&&C.isReactWarning)return!1}return z.key!==void 0}function L(z,C){function g(){D||(D=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",C))}g.isReactWarning=!0,Object.defineProperty(z,"key",{get:g,configurable:!0})}function B(){var z=X(this.type);return F[z]||(F[z]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),z=this.props.ref,z!==void 0?z:null}function R(z,C,g,N,h,r){var U0=g.ref;return z={$$typeof:v,type:z,key:C,props:g,_owner:N},(U0!==void 0?U0:null)!==null?Object.defineProperty(z,"ref",{enumerable:!1,get:B}):Object.defineProperty(z,"ref",{enumerable:!1,value:null}),z._store={},Object.defineProperty(z._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(z,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(z,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:h}),Object.defineProperty(z,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:r}),Object.freeze&&(Object.freeze(z.props),Object.freeze(z)),z}function S(z,C,g,N,h,r){var U0=C.children;if(U0!==void 0)if(N)if(K(U0)){for(N=0;N<U0.length;N++)T(U0[N]);Object.freeze&&Object.freeze(U0)}else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else T(U0);if(G.call(C,"key")){U0=X(z);var O0=Object.keys(C).filter(function(s){return s!=="key"});N=0<O0.length?"{key: someKey, "+O0.join(": ..., ")+": ...}":"{key: someKey}",A[U0+N]||(O0=0<O0.length?"{"+O0.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
247
+ let props = %s;
248
+ <%s {...props} />
249
+ React keys must be passed directly to JSX without using spread:
250
+ let props = %s;
251
+ <%s key={someKey} {...props} />`,N,U0,O0,U0),A[U0+N]=!0)}if(U0=null,g!==void 0&&(Y(g),U0=""+g),Z(C)&&(Y(C.key),U0=""+C.key),"key"in C){g={};for(var Q0 in C)Q0!=="key"&&(g[Q0]=C[Q0])}else g=C;return U0&&L(g,typeof z==="function"?z.displayName||z.name||"Unknown":z),R(z,U0,g,I(),h,r)}function T(z){E(z)?z._store&&(z._store.validated=1):typeof z==="object"&&z!==null&&z.$$typeof===L0&&(z._payload.status==="fulfilled"?E(z._payload.value)&&z._payload.value._store&&(z._payload.value._store.validated=1):z._store&&(z._store.validated=1))}function E(z){return typeof z==="object"&&z!==null&&z.$$typeof===v}var v=Symbol.for("react.transitional.element"),q=Symbol.for("react.portal"),y=Symbol.for("react.fragment"),w=Symbol.for("react.strict_mode"),u=Symbol.for("react.profiler"),x=Symbol.for("react.consumer"),b=Symbol.for("react.context"),p=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),a=Symbol.for("react.suspense_list"),F0=Symbol.for("react.memo"),L0=Symbol.for("react.lazy"),R0=Symbol.for("react.activity"),t=Symbol.for("react.client.reference"),C0=MJ.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,G=Object.prototype.hasOwnProperty,K=Array.isArray,H=console.createTask?console.createTask:function(){return null};MJ={react_stack_bottom_frame:function(z){return z()}};var D,F={},P=MJ.react_stack_bottom_frame.bind(MJ,O)(),j=H(V(O)),A={};Xm.Fragment=y,Xm.jsxDEV=function(z,C,g,N){var h=1e4>C0.recentlyCreatedOwnerStacks++;return S(z,C,g,N,h?Error("react-stack-top-frame"):P,h?H(V(z)):j)}})()});var W6=w1(lG(),1),pN=w1(qR(),1);var{readFile:w60}=(()=>({}));yU();var{closeSync:ci,existsSync:pi,fstatSync:mi,mkdirSync:li,openSync:di,readFileSync:ni,renameSync:oi,rmSync:ii,statSync:ri,writeFileSync:ti,writeSync:ai}=(()=>({}));var AO=function(){if(typeof location<"u")return location.hostname;else return""};var F9=function(){return"/"};function v4(X){if(typeof X!=="string")throw TypeError("Path must be a string. Received "+JSON.stringify(X))}function Yj(X,J){var Y="",V=0,I=-1,O=0,Z;for(var L=0;L<=X.length;++L){if(L<X.length)Z=X.charCodeAt(L);else if(Z===47)break;else Z=47;if(Z===47){if(I===L-1||O===1);else if(I!==L-1&&O===2){if(Y.length<2||V!==2||Y.charCodeAt(Y.length-1)!==46||Y.charCodeAt(Y.length-2)!==46){if(Y.length>2){var B=Y.lastIndexOf("/");if(B!==Y.length-1){if(B===-1)Y="",V=0;else Y=Y.slice(0,B),V=Y.length-1-Y.lastIndexOf("/");I=L,O=0;continue}}else if(Y.length===2||Y.length===1){Y="",V=0,I=L,O=0;continue}}if(J){if(Y.length>0)Y+="/..";else Y="..";V=2}}else{if(Y.length>0)Y+="/"+X.slice(I+1,L);else Y=X.slice(I+1,L);V=L-I-1}I=L,O=0}else if(Z===46&&O!==-1)++O;else O=-1}return Y}function Sy(X,J){var Y=J.dir||J.root,V=J.base||(J.name||"")+(J.ext||"");if(!Y)return V;if(Y===J.root)return Y+V;return Y+X+V}function t1(){var X="",J=!1,Y;for(var V=arguments.length-1;V>=-1&&!J;V--){var I;if(V>=0)I=arguments[V];else{if(Y===void 0)Y=process.cwd();I=Y}if(v4(I),I.length===0)continue;X=I+"/"+X,J=I.charCodeAt(0)===47}if(X=Yj(X,!J),J)if(X.length>0)return"/"+X;else return"/";else if(X.length>0)return X;else return"."}function Gj(X){if(v4(X),X.length===0)return".";var J=X.charCodeAt(0)===47,Y=X.charCodeAt(X.length-1)===47;if(X=Yj(X,!J),X.length===0&&!J)X=".";if(X.length>0&&Y)X+="/";if(J)return"/"+X;return X}function NQ(X){return v4(X),X.length>0&&X.charCodeAt(0)===47}function t$(){if(arguments.length===0)return".";var X;for(var J=0;J<arguments.length;++J){var Y=arguments[J];if(v4(Y),Y.length>0)if(X===void 0)X=Y;else X+="/"+Y}if(X===void 0)return".";return Gj(X)}function Zj(X,J){if(v4(X),v4(J),X===J)return"";if(X=t1(X),J=t1(J),X===J)return"";var Y=1;for(;Y<X.length;++Y)if(X.charCodeAt(Y)!==47)break;var V=X.length,I=V-Y,O=1;for(;O<J.length;++O)if(J.charCodeAt(O)!==47)break;var Z=J.length,L=Z-O,B=I<L?I:L,R=-1,S=0;for(;S<=B;++S){if(S===B){if(L>B){if(J.charCodeAt(O+S)===47)return J.slice(O+S+1);else if(S===0)return J.slice(O+S)}else if(I>B){if(X.charCodeAt(Y+S)===47)R=S;else if(S===0)R=0}break}var T=X.charCodeAt(Y+S),E=J.charCodeAt(O+S);if(T!==E)break;else if(T===47)R=S}var v="";for(S=Y+R+1;S<=V;++S)if(S===V||X.charCodeAt(S)===47)if(v.length===0)v+="..";else v+="/..";if(v.length>0)return v+J.slice(O+R);else{if(O+=R,J.charCodeAt(O)===47)++O;return J.slice(O)}}function jy(X){return X}function iU(X){if(v4(X),X.length===0)return".";var J=X.charCodeAt(0),Y=J===47,V=-1,I=!0;for(var O=X.length-1;O>=1;--O)if(J=X.charCodeAt(O),J===47){if(!I){V=O;break}}else I=!1;if(V===-1)return Y?"/":".";if(Y&&V===1)return"//";return X.slice(0,V)}function X2(X,J){if(J!==void 0&&typeof J!=="string")throw TypeError('"ext" argument must be a string');v4(X);var Y=0,V=-1,I=!0,O;if(J!==void 0&&J.length>0&&J.length<=X.length){if(J.length===X.length&&J===X)return"";var Z=J.length-1,L=-1;for(O=X.length-1;O>=0;--O){var B=X.charCodeAt(O);if(B===47){if(!I){Y=O+1;break}}else{if(L===-1)I=!1,L=O+1;if(Z>=0)if(B===J.charCodeAt(Z)){if(--Z===-1)V=O}else Z=-1,V=L}}if(Y===V)V=L;else if(V===-1)V=X.length;return X.slice(Y,V)}else{for(O=X.length-1;O>=0;--O)if(X.charCodeAt(O)===47){if(!I){Y=O+1;break}}else if(V===-1)I=!1,V=O+1;if(V===-1)return"";return X.slice(Y,V)}}function By(X){v4(X);var J=-1,Y=0,V=-1,I=!0,O=0;for(var Z=X.length-1;Z>=0;--Z){var L=X.charCodeAt(Z);if(L===47){if(!I){Y=Z+1;break}continue}if(V===-1)I=!1,V=Z+1;if(L===46){if(J===-1)J=Z;else if(O!==1)O=1}else if(J!==-1)O=-1}if(J===-1||V===-1||O===0||O===1&&J===V-1&&J===Y+1)return"";return X.slice(J,V)}function vy(X){if(X===null||typeof X!=="object")throw TypeError('The "pathObject" argument must be of type Object. Received type '+typeof X);return Sy("/",X)}function Ny(X){v4(X);var J={root:"",dir:"",base:"",ext:"",name:""};if(X.length===0)return J;var Y=X.charCodeAt(0),V=Y===47,I;if(V)J.root="/",I=1;else I=0;var O=-1,Z=0,L=-1,B=!0,R=X.length-1,S=0;for(;R>=I;--R){if(Y=X.charCodeAt(R),Y===47){if(!B){Z=R+1;break}continue}if(L===-1)B=!1,L=R+1;if(Y===46){if(O===-1)O=R;else if(S!==1)S=1}else if(O!==-1)S=-1}if(O===-1||L===-1||S===0||S===1&&O===L-1&&O===Z+1){if(L!==-1)if(Z===0&&V)J.base=J.name=X.slice(1,L);else J.base=J.name=X.slice(Z,L)}else{if(Z===0&&V)J.name=X.slice(1,O),J.base=X.slice(1,L);else J.name=X.slice(Z,O),J.base=X.slice(Z,L);J.ext=X.slice(O,L)}if(Z>0)J.dir=X.slice(0,Z-1);else if(V)J.dir="/";return J}var zj="/",qy=":",nl=((X)=>(X.posix=X,X))({resolve:t1,normalize:Gj,isAbsolute:NQ,join:t$,relative:Zj,_makeLong:jy,dirname:iU,basename:X2,extname:By,format:vy,parse:Ny,sep:zj,delimiter:qy,win32:null,posix:null});function I2(){let X=process.env.VOLTER_HOME;return X!==void 0&&X!==""?X:t$(F9(),".volter")}yU();yU();var{appendFileSync:ky,chmodSync:Oj,closeSync:TO,existsSync:J2,fsyncSync:xy,fstatSync:Vj,lstatSync:Dj,mkdirSync:Q2,openSync:CO,readdirSync:gy,readSync:wy,realpathSync:fy,readFileSync:L9,renameSync:Kj,rmSync:Wj,statSync:Lj,unlinkSync:H9,writeFileSync:Y2}=(()=>({}));var yy=0,by=60000;function M9(X){try{return JSON.parse(L9(X,"utf8"))}catch{return null}}function uy(X){try{return process.kill(X,0),!0}catch(J){return J.code==="EPERM"}}function Fj(X,J=!1){let Y=M9(X);if(Y&&Y.hostname===AO()&&Number.isInteger(Y.pid)&&!uy(Y.pid))return!0;if(J)return!1;let I=Y&&typeof Y.at==="string"?Date.parse(Y.at):NaN;if(!Number.isFinite(I))try{I=Lj(X).mtimeMs}catch{return!1}return Date.now()-I>by}function Hj(X){Atomics.wait(new Int32Array(new SharedArrayBuffer(4)),0,0,X)}class A9{read(X){if(!J2(X))return null;return L9(X,"utf8")}readLines(X){if(!J2(X))return[];return L9(X,"utf8").split(`
252
+ `)}readRange(X,J){let Y;try{Y=CO(X,"r")}catch(V){if(V.code==="ENOENT")return null;throw V}try{let V=Vj(Y).size;if(J>=V)return"";let I=Buffer.allocUnsafe(V-J),O=0;while(O<I.length){let Z=wy(Y,I,O,I.length-O,J+O);if(Z===0)break;O+=Z}return I.toString("utf8",0,O)}finally{TO(Y)}}append(X,J){let Y=CO(X,"a");try{if(ky(Y,J),process.env.VOLTER_DURABLE==="1")xy(Y)}finally{TO(Y)}}write(X,J,Y={}){if(!Y.secret){Q2(iU(X),{recursive:!0}),Y2(X,J);return}Q2(iU(X),{recursive:!0,mode:448}),Y2(X,J,{mode:384}),Oj(X,384)}writeAtomic(X,J,Y={}){Q2(iU(X),{recursive:!0});let V=`${X}.${process.pid}.${Date.now()}.${yy++}.tmp`;try{if(Y2(V,J,Y.secret?{mode:384}:void 0),Kj(V,X),Y.secret)Oj(X,384)}finally{Wj(V,{force:!0})}}exists(X){return J2(X)}remove(X){Wj(X,{recursive:!0,force:!0})}mkdir(X){Q2(X,{recursive:!0})}list(X){if(!J2(X))return[];return gy(X)}canonicalPath(X){let J=t1(X);try{return fy(J)}catch(Y){if(Y.code!=="ENOENT"||iU(J)===J)throw Y;return t$(this.canonicalPath(iU(J)),X2(J))}}stat(X){if(!J2(X))return null;let J=Lj(X);return{size:J.size,mtimeMs:J.mtimeMs,isDirectory:J.isDirectory(),...Dj(X).isSymbolicLink()?{isSymbolicLink:!0}:{}}}withLock(X,J,Y={}){Q2(iU(X),{recursive:!0});let V=Date.now(),I=null;while(I===null)try{I=CO(X,"wx")}catch(Z){if(Z.code!=="EEXIST")throw Z;if(Fj(X,Y.retainLiveOwner)){let B=`${X}.recovery`,R;try{R=CO(B,"wx")}catch(S){if(S.code!=="EEXIST")throw S;if(Date.now()-V>1e4)throw Error(`Lock recovery is active or interrupted: ${B}. Inspect its owner before removing the recovery record.`);Hj(25);continue}try{if(Y2(R,JSON.stringify({pid:process.pid,hostname:AO()})),Fj(X,Y.retainLiveOwner)){let S=M9(X),T=`${X}.stale.${process.pid}.${Date.now()}`;try{Kj(X,T),console.warn(`[world] reclaiming stale storage lock ${X} (held by pid ${S?.pid??"?"} on ${S?.hostname??"?"})`),H9(T)}catch(E){if(E.code!=="ENOENT")throw E}}}finally{TO(R),H9(B)}continue}if(Date.now()-V>1e4){let B=M9(X),R=B&&typeof B.at==="string"?Date.parse(B.at):NaN;throw Error(`Timed out waiting for world storage lock: ${X}${B?` (held by pid ${B.pid} on ${B.hostname}${Number.isFinite(R)?` for ${Date.now()-R}ms`:""})`:""}`)}Hj(25)}try{Y2(I,`${JSON.stringify({pid:process.pid,hostname:AO(),at:new Date().toISOString()})}
253
+ `)}catch{}let O=Date.now();try{return J()}finally{let Z=Date.now()-O;if(Z>2000)console.warn(`[world] held storage lock ${X} for ${Z}ms (pid ${process.pid})
254
+ ${Error().stack?.split(`
255
+ `).slice(2,8).join(`
256
+ `)??""}`);let L=Vj(I);TO(I);try{let B=Dj(X);if(L.dev===B.dev&&L.ino===B.ino)H9(X)}catch{}}}}var hy=new A9,cy=(()=>{try{let X=globalThis.process?.getBuiltinModule?.("node:async_hooks");return X?.AsyncLocalStorage?new X.AsyncLocalStorage:null}catch{return null}})();function y6(){return cy?.getStore()??hy}yU();var E$={};g6(E$,{xor:()=>$v,xid:()=>_B,void:()=>iB,uuidv7:()=>FB,uuidv6:()=>WB,uuidv4:()=>KB,uuid:()=>DB,util:()=>G$,url:()=>HB,uppercase:()=>mQ,unknown:()=>KJ,union:()=>aV,undefined:()=>nB,ulid:()=>PB,uint64:()=>lB,uint32:()=>cB,tuple:()=>i7,trim:()=>rQ,treeifyError:()=>u9,transform:()=>eV,toUpperCase:()=>aQ,toLowerCase:()=>tQ,toJSONSchema:()=>EV,templateLiteral:()=>Wv,symbol:()=>dB,superRefine:()=>PM,success:()=>Ov,stringbool:()=>Pv,stringFormat:()=>gB,string:()=>N2,strictObject:()=>sB,startsWith:()=>dQ,slugify:()=>sQ,size:()=>OJ,setErrorMap:()=>vh,set:()=>Qv,safeParseAsync:()=>P7,safeParse:()=>C7,safeEncodeAsync:()=>v7,safeEncode:()=>j7,safeDecodeAsync:()=>N7,safeDecode:()=>B7,registry:()=>rO,regexes:()=>A1,regex:()=>cQ,refine:()=>CM,record:()=>r7,readonly:()=>FM,property:()=>TV,promise:()=>Fv,prettifyError:()=>h9,preprocess:()=>Ev,prefault:()=>GM,positive:()=>HV,pipe:()=>qV,partialRecord:()=>Xv,parseAsync:()=>T7,parse:()=>A7,overwrite:()=>a1,optional:()=>k2,object:()=>aB,number:()=>k7,nullish:()=>zv,nullable:()=>x2,null:()=>y7,normalize:()=>iQ,nonpositive:()=>MV,nonoptional:()=>ZM,nonnegative:()=>AV,never:()=>tV,negative:()=>LV,nativeEnum:()=>Yv,nanoid:()=>AB,nan:()=>Vv,multipleOf:()=>ZI,minSize:()=>x4,minLength:()=>DX,mime:()=>oQ,meta:()=>Tv,maxSize:()=>zI,maxLength:()=>VJ,map:()=>Jv,mac:()=>SB,lte:()=>T1,lt:()=>q4,lowercase:()=>pQ,looseRecord:()=>Iv,looseObject:()=>eB,locales:()=>S2,literal:()=>Gv,length:()=>DJ,lazy:()=>MM,ksuid:()=>EB,keyof:()=>tB,jwt:()=>xB,json:()=>_v,iso:()=>UY,ipv6:()=>jB,ipv4:()=>RB,invertCodec:()=>Kv,intersection:()=>n7,int64:()=>mB,int32:()=>hB,int:()=>NV,instanceof:()=>Cv,includes:()=>lQ,httpUrl:()=>LB,hostname:()=>wB,hex:()=>fB,hash:()=>yB,guid:()=>VB,gte:()=>h6,gt:()=>k4,globalRegistry:()=>T6,getErrorMap:()=>Nh,function:()=>Hv,fromJSONSchema:()=>Sv,formatError:()=>F2,float64:()=>uB,float32:()=>bB,flattenError:()=>W2,file:()=>Zv,exactOptional:()=>XM,enum:()=>sV,endsWith:()=>nQ,encodeAsync:()=>R7,encode:()=>_7,emoji:()=>MB,email:()=>OB,e164:()=>kB,discriminatedUnion:()=>Uv,describe:()=>Av,decodeAsync:()=>S7,decode:()=>E7,date:()=>rB,custom:()=>Mv,cuid2:()=>CB,cuid:()=>TB,core:()=>KX,config:()=>rU,coerce:()=>EM,codec:()=>Dv,clone:()=>b6,cidrv6:()=>vB,cidrv4:()=>BB,check:()=>Lv,catch:()=>VM,boolean:()=>x7,bigint:()=>pB,base64url:()=>qB,base64:()=>NB,array:()=>y2,any:()=>oB,_function:()=>Hv,_default:()=>QM,_ZodString:()=>kV,ZodXor:()=>m7,ZodXID:()=>uV,ZodVoid:()=>c7,ZodUnknown:()=>u7,ZodUnion:()=>u2,ZodUndefined:()=>w7,ZodUUID:()=>g4,ZodURL:()=>w2,ZodULID:()=>bV,ZodType:()=>x$,ZodTuple:()=>o7,ZodTransform:()=>$M,ZodTemplateLiteral:()=>HM,ZodSymbol:()=>g7,ZodSuccess:()=>zM,ZodStringFormat:()=>OU,ZodString:()=>JY,ZodSet:()=>a7,ZodRecord:()=>XY,ZodRealError:()=>e6,ZodReadonly:()=>WM,ZodPromise:()=>AM,ZodPreprocess:()=>KM,ZodPrefault:()=>YM,ZodPipe:()=>h2,ZodOptional:()=>$D,ZodObject:()=>b2,ZodNumberFormat:()=>WJ,ZodNumber:()=>YY,ZodNullable:()=>IM,ZodNull:()=>f7,ZodNonOptional:()=>UD,ZodNever:()=>h7,ZodNanoID:()=>wV,ZodNaN:()=>DM,ZodMap:()=>t7,ZodMAC:()=>q7,ZodLiteral:()=>s7,ZodLazy:()=>LM,ZodKSUID:()=>hV,ZodJWT:()=>iV,ZodIssueCode:()=>Bh,ZodIntersection:()=>d7,ZodISOTime:()=>BV,ZodISODuration:()=>vV,ZodISODateTime:()=>SV,ZodISODate:()=>jV,ZodIPv6:()=>pV,ZodIPv4:()=>cV,ZodGUID:()=>q2,ZodFunction:()=>TM,ZodFirstPartyTypeKind:()=>_M,ZodFile:()=>e7,ZodExactOptional:()=>UM,ZodError:()=>Sh,ZodEnum:()=>IY,ZodEmoji:()=>gV,ZodEmail:()=>xV,ZodE164:()=>oV,ZodDiscriminatedUnion:()=>l7,ZodDefault:()=>JM,ZodDate:()=>f2,ZodCustomStringFormat:()=>QY,ZodCustom:()=>p2,ZodCodec:()=>c2,ZodCatch:()=>OM,ZodCUID2:()=>yV,ZodCUID:()=>fV,ZodCIDRv6:()=>lV,ZodCIDRv4:()=>mV,ZodBoolean:()=>GY,ZodBigIntFormat:()=>rV,ZodBigInt:()=>ZY,ZodBase64URL:()=>nV,ZodBase64:()=>dV,ZodArray:()=>p7,ZodAny:()=>b7,TimePrecision:()=>iL,NEVER:()=>j9,$output:()=>pL,$input:()=>mL,$brand:()=>B9});var KX={};g6(KX,{version:()=>fF,util:()=>G$,treeifyError:()=>u9,toJSONSchema:()=>EV,toDotPath:()=>vj,safeParseAsync:()=>p9,safeParse:()=>c9,safeEncodeAsync:()=>Bb,safeEncode:()=>Sb,safeDecodeAsync:()=>vb,safeDecode:()=>jb,registry:()=>rO,regexes:()=>A1,process:()=>JU,prettifyError:()=>h9,parseAsync:()=>jO,parse:()=>SO,meta:()=>B5,locales:()=>S2,isValidJWT:()=>aj,isValidBase64URL:()=>tj,isValidBase64:()=>JH,initializeContext:()=>OI,globalRegistry:()=>T6,globalConfig:()=>QJ,formatError:()=>F2,flattenError:()=>W2,finalize:()=>DI,extractDefs:()=>VI,encodeAsync:()=>Eb,encode:()=>Pb,describe:()=>j5,decodeAsync:()=>Rb,decode:()=>_b,createToJSONSchemaMethod:()=>N5,createStandardJSONSchemaMethod:()=>$Y,config:()=>rU,clone:()=>b6,_xor:()=>Xh,_xid:()=>YV,_void:()=>M5,_uuidv7:()=>$V,_uuidv6:()=>eO,_uuidv4:()=>sO,_uuid:()=>aO,_url:()=>B2,_uppercase:()=>mQ,_unknown:()=>H5,_union:()=>Uh,_undefined:()=>K5,_ulid:()=>QV,_uint64:()=>V5,_uint32:()=>Q5,_tuple:()=>Qh,_trim:()=>rQ,_transform:()=>Dh,_toUpperCase:()=>aQ,_toLowerCase:()=>tQ,_templateLiteral:()=>Ch,_symbol:()=>D5,_superRefine:()=>S5,_success:()=>Lh,_stringbool:()=>v5,_stringFormat:()=>eQ,_string:()=>dL,_startsWith:()=>dQ,_slugify:()=>sQ,_size:()=>OJ,_set:()=>Zh,_safeParseAsync:()=>bQ,_safeParse:()=>yQ,_safeEncodeAsync:()=>gO,_safeEncode:()=>kO,_safeDecodeAsync:()=>wO,_safeDecode:()=>xO,_regex:()=>cQ,_refine:()=>R5,_record:()=>Yh,_readonly:()=>Th,_property:()=>TV,_promise:()=>_h,_positive:()=>HV,_pipe:()=>Ah,_parseAsync:()=>fQ,_parse:()=>wQ,_overwrite:()=>a1,_optional:()=>Kh,_number:()=>eL,_nullable:()=>Wh,_null:()=>W5,_normalize:()=>iQ,_nonpositive:()=>MV,_nonoptional:()=>Hh,_nonnegative:()=>AV,_never:()=>L5,_negative:()=>LV,_nativeEnum:()=>Oh,_nanoid:()=>XV,_nan:()=>C5,_multipleOf:()=>ZI,_minSize:()=>x4,_minLength:()=>DX,_min:()=>h6,_mime:()=>oQ,_maxSize:()=>zI,_maxLength:()=>VJ,_max:()=>T1,_map:()=>Gh,_mac:()=>oL,_lte:()=>T1,_lt:()=>q4,_lowercase:()=>pQ,_literal:()=>Vh,_length:()=>DJ,_lazy:()=>Ph,_ksuid:()=>GV,_jwt:()=>FV,_isoTime:()=>aL,_isoDuration:()=>sL,_isoDateTime:()=>rL,_isoDate:()=>tL,_ipv6:()=>zV,_ipv4:()=>ZV,_intersection:()=>Jh,_int64:()=>O5,_int32:()=>J5,_int:()=>U5,_includes:()=>lQ,_guid:()=>j2,_gte:()=>h6,_gt:()=>k4,_float64:()=>I5,_float32:()=>X5,_file:()=>_5,_enum:()=>zh,_endsWith:()=>nQ,_encodeAsync:()=>NO,_encode:()=>BO,_emoji:()=>UV,_email:()=>tO,_e164:()=>WV,_discriminatedUnion:()=>Ih,_default:()=>Fh,_decodeAsync:()=>qO,_decode:()=>vO,_date:()=>A5,_custom:()=>E5,_cuid2:()=>JV,_cuid:()=>IV,_coercedString:()=>nL,_coercedNumber:()=>$5,_coercedDate:()=>T5,_coercedBoolean:()=>G5,_coercedBigint:()=>z5,_cidrv6:()=>VV,_cidrv4:()=>OV,_check:()=>YB,_catch:()=>Mh,_boolean:()=>Y5,_bigint:()=>Z5,_base64url:()=>KV,_base64:()=>DV,_array:()=>P5,_any:()=>F5,TimePrecision:()=>iL,NEVER:()=>j9,JSONSchemaGenerator:()=>W7,JSONSchema:()=>GB,Doc:()=>uO,$output:()=>pL,$input:()=>mL,$constructor:()=>B0,$brand:()=>B9,$ZodXor:()=>PH,$ZodXID:()=>oF,$ZodVoid:()=>MH,$ZodUnknown:()=>HH,$ZodUnion:()=>T2,$ZodUndefined:()=>KH,$ZodUUID:()=>uF,$ZodURL:()=>cF,$ZodULID:()=>nF,$ZodType:()=>R$,$ZodTuple:()=>nO,$ZodTransform:()=>qH,$ZodTemplateLiteral:()=>pH,$ZodSymbol:()=>DH,$ZodSuccess:()=>yH,$ZodStringFormat:()=>zU,$ZodString:()=>zJ,$ZodSet:()=>jH,$ZodRegistry:()=>lL,$ZodRecord:()=>RH,$ZodRealError:()=>s6,$ZodReadonly:()=>cH,$ZodPromise:()=>lH,$ZodPreprocess:()=>hH,$ZodPrefault:()=>wH,$ZodPipe:()=>iO,$ZodOptional:()=>oO,$ZodObjectJIT:()=>CH,$ZodObject:()=>$B,$ZodNumberFormat:()=>OH,$ZodNumber:()=>lO,$ZodNullable:()=>xH,$ZodNull:()=>WH,$ZodNonOptional:()=>fH,$ZodNever:()=>LH,$ZodNanoID:()=>mF,$ZodNaN:()=>uH,$ZodMap:()=>SH,$ZodMAC:()=>UH,$ZodLiteral:()=>vH,$ZodLazy:()=>dH,$ZodKSUID:()=>iF,$ZodJWT:()=>ZH,$ZodIntersection:()=>EH,$ZodISOTime:()=>aF,$ZodISODuration:()=>sF,$ZodISODateTime:()=>rF,$ZodISODate:()=>tF,$ZodIPv6:()=>$H,$ZodIPv4:()=>eF,$ZodGUID:()=>bF,$ZodFunction:()=>mH,$ZodFile:()=>NH,$ZodExactOptional:()=>kH,$ZodError:()=>K2,$ZodEnum:()=>BH,$ZodEncodeError:()=>YJ,$ZodEmoji:()=>pF,$ZodEmail:()=>hF,$ZodE164:()=>GH,$ZodDiscriminatedUnion:()=>_H,$ZodDefault:()=>gH,$ZodDate:()=>AH,$ZodCustomStringFormat:()=>zH,$ZodCustom:()=>nH,$ZodCodec:()=>C2,$ZodCheckUpperCase:()=>vF,$ZodCheckStringFormat:()=>uQ,$ZodCheckStartsWith:()=>qF,$ZodCheckSizeEquals:()=>_F,$ZodCheckRegex:()=>jF,$ZodCheckProperty:()=>xF,$ZodCheckOverwrite:()=>wF,$ZodCheckNumberFormat:()=>AF,$ZodCheckMultipleOf:()=>MF,$ZodCheckMinSize:()=>PF,$ZodCheckMinLength:()=>RF,$ZodCheckMimeType:()=>gF,$ZodCheckMaxSize:()=>CF,$ZodCheckMaxLength:()=>EF,$ZodCheckLowerCase:()=>BF,$ZodCheckLessThan:()=>yO,$ZodCheckLengthEquals:()=>SF,$ZodCheckIncludes:()=>NF,$ZodCheckGreaterThan:()=>bO,$ZodCheckEndsWith:()=>kF,$ZodCheckBigIntFormat:()=>TF,$ZodCheck:()=>FU,$ZodCatch:()=>bH,$ZodCUID2:()=>dF,$ZodCUID:()=>lF,$ZodCIDRv6:()=>IH,$ZodCIDRv4:()=>XH,$ZodBoolean:()=>A2,$ZodBigIntFormat:()=>VH,$ZodBigInt:()=>dO,$ZodBase64URL:()=>YH,$ZodBase64:()=>QH,$ZodAsyncError:()=>N4,$ZodArray:()=>TH,$ZodAny:()=>FH});var _j,j9=Object.freeze({status:"aborted"});function B0(X,J,Y){function V(L,B){if(!L._zod)Object.defineProperty(L,"_zod",{value:{def:B,constr:Z,traits:new Set},enumerable:!1});if(L._zod.traits.has(X))return;L._zod.traits.add(X),J(L,B);let R=Z.prototype,S=Object.keys(R);for(let T=0;T<S.length;T++){let E=S[T];if(!(E in L))L[E]=R[E].bind(L)}}let I=Y?.Parent??Object;class O extends I{}Object.defineProperty(O,"name",{value:X});function Z(L){var B;let R=Y?.Parent?new O:this;V(R,L),(B=R._zod).deferred??(B.deferred=[]);for(let S of R._zod.deferred)S();return R}return Object.defineProperty(Z,"init",{value:V}),Object.defineProperty(Z,Symbol.hasInstance,{value:(L)=>{if(Y?.Parent&&L instanceof Y.Parent)return!0;return L?._zod?.traits?.has(X)}}),Object.defineProperty(Z,"name",{value:X}),Z}var B9=Symbol("zod_brand");class N4 extends Error{constructor(){super("Encountered Promise during synchronous parse. Use .parseAsync() instead.")}}class YJ extends Error{constructor(X){super(`Encountered unidirectional transform during encode: ${X}`);this.name="ZodEncodeError"}}(_j=globalThis).__zod_globalConfig??(_j.__zod_globalConfig={});var QJ=globalThis.__zod_globalConfig;function rU(X){if(X)Object.assign(QJ,X);return QJ}var G$={};g6(G$,{unwrapMessage:()=>G2,uint8ArrayToHex:()=>Tb,uint8ArrayToBase64url:()=>Mb,uint8ArrayToBase64:()=>Sj,stringifyPrimitive:()=>J$,slugify:()=>q9,shallowClone:()=>x9,safeExtend:()=>Db,required:()=>Fb,randomString:()=>Qb,propertyKeyTypes:()=>O2,promiseAllObject:()=>Jb,primitiveTypes:()=>g9,prefixIssues:()=>a6,pick:()=>zb,partial:()=>Wb,parsedType:()=>Q$,optionalKeys:()=>w9,omit:()=>Ob,objectClone:()=>Ub,numKeys:()=>Yb,nullish:()=>JI,normalizeParams:()=>Z$,mergeDefs:()=>VX,merge:()=>Kb,jsonStringifyReplacer:()=>kQ,joinValues:()=>g0,issue:()=>gQ,isPlainObject:()=>YI,isObject:()=>GJ,hexToUint8Array:()=>Ab,getSizableOrigin:()=>V2,getParsedType:()=>Gb,getLengthableOrigin:()=>D2,getEnumValues:()=>Z2,getElementAtPath:()=>Ib,floatSafeRemainder:()=>N9,finalizeIssue:()=>u6,extend:()=>Vb,explicitlyAborted:()=>b9,escapeRegex:()=>b1,esc:()=>EO,defineLazy:()=>c$,createTransparentProxy:()=>Zb,cloneDef:()=>Xb,clone:()=>b6,cleanRegex:()=>z2,cleanEnum:()=>Hb,captureStackTrace:()=>RO,cached:()=>xQ,base64urlToUint8Array:()=>Lb,base64ToUint8Array:()=>Rj,assignProp:()=>QI,assertNotEqual:()=>ay,assertNever:()=>ey,assertIs:()=>sy,assertEqual:()=>ty,assert:()=>$b,allowsEval:()=>k9,aborted:()=>GI,NUMBER_FORMAT_RANGES:()=>f9,Class:()=>jj,BIGINT_FORMAT_RANGES:()=>y9});function ty(X){return X}function ay(X){return X}function sy(X){}function ey(X){throw Error("Unexpected value in exhaustive check")}function $b(X){}function Z2(X){let J=Object.values(X).filter((V)=>typeof V==="number");return Object.entries(X).filter(([V,I])=>J.indexOf(+V)===-1).map(([V,I])=>I)}function g0(X,J="|"){return X.map((Y)=>J$(Y)).join(J)}function kQ(X,J){if(typeof J==="bigint")return J.toString();return J}function xQ(X){return{get value(){{let Y=X();return Object.defineProperty(this,"value",{value:Y}),Y}throw Error("cached value already set")}}}function JI(X){return X===null||X===void 0}function z2(X){let J=X.startsWith("^")?1:0,Y=X.endsWith("$")?X.length-1:X.length;return X.slice(J,Y)}function N9(X,J){let Y=X/J,V=Math.round(Y),I=Number.EPSILON*Math.max(Math.abs(Y),1);if(Math.abs(Y-V)<I)return 0;return Y-V}var Ej=Symbol("evaluating");function c$(X,J,Y){let V=void 0;Object.defineProperty(X,J,{get(){if(V===Ej)return;if(V===void 0)V=Ej,V=Y();return V},set(I){Object.defineProperty(X,J,{value:I})},configurable:!0})}function Ub(X){return Object.create(Object.getPrototypeOf(X),Object.getOwnPropertyDescriptors(X))}function QI(X,J,Y){Object.defineProperty(X,J,{value:Y,writable:!0,enumerable:!0,configurable:!0})}function VX(...X){let J={};for(let Y of X){let V=Object.getOwnPropertyDescriptors(Y);Object.assign(J,V)}return Object.defineProperties({},J)}function Xb(X){return VX(X._zod.def)}function Ib(X,J){if(!J)return X;return J.reduce((Y,V)=>Y?.[V],X)}function Jb(X){let J=Object.keys(X),Y=J.map((V)=>X[V]);return Promise.all(Y).then((V)=>{let I={};for(let O=0;O<J.length;O++)I[J[O]]=V[O];return I})}function Qb(X=10){let Y="";for(let V=0;V<X;V++)Y+="abcdefghijklmnopqrstuvwxyz"[Math.floor(Math.random()*26)];return Y}function EO(X){return JSON.stringify(X)}function q9(X){return X.toLowerCase().trim().replace(/[^\w\s-]/g,"").replace(/[\s_-]+/g,"-").replace(/^-+|-+$/g,"")}var RO="captureStackTrace"in Error?Error.captureStackTrace:(...X)=>{};function GJ(X){return typeof X==="object"&&X!==null&&!Array.isArray(X)}var k9=xQ(()=>{if(QJ.jitless)return!1;if(typeof navigator<"u"&&navigator?.userAgent?.includes("Cloudflare"))return!1;try{return new Function(""),!0}catch(X){return!1}});function YI(X){if(GJ(X)===!1)return!1;let J=X.constructor;if(J===void 0)return!0;if(typeof J!=="function")return!0;let Y=J.prototype;if(GJ(Y)===!1)return!1;if(Object.prototype.hasOwnProperty.call(Y,"isPrototypeOf")===!1)return!1;return!0}function x9(X){if(YI(X))return{...X};if(Array.isArray(X))return[...X];if(X instanceof Map)return new Map(X);if(X instanceof Set)return new Set(X);return X}function Yb(X){let J=0;for(let Y in X)if(Object.prototype.hasOwnProperty.call(X,Y))J++;return J}var Gb=(X)=>{let J=typeof X;switch(J){case"undefined":return"undefined";case"string":return"string";case"number":return Number.isNaN(X)?"nan":"number";case"boolean":return"boolean";case"function":return"function";case"bigint":return"bigint";case"symbol":return"symbol";case"object":if(Array.isArray(X))return"array";if(X===null)return"null";if(X.then&&typeof X.then==="function"&&X.catch&&typeof X.catch==="function")return"promise";if(typeof Map<"u"&&X instanceof Map)return"map";if(typeof Set<"u"&&X instanceof Set)return"set";if(typeof Date<"u"&&X instanceof Date)return"date";if(typeof File<"u"&&X instanceof File)return"file";return"object";default:throw Error(`Unknown data type: ${J}`)}},O2=new Set(["string","number","symbol"]),g9=new Set(["string","number","bigint","boolean","symbol","undefined"]);function b1(X){return X.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function b6(X,J,Y){let V=new X._zod.constr(J??X._zod.def);if(!J||Y?.parent)V._zod.parent=X;return V}function Z$(X){let J=X;if(!J)return{};if(typeof J==="string")return{error:()=>J};if(J?.message!==void 0){if(J?.error!==void 0)throw Error("Cannot specify both `message` and `error` params");J.error=J.message}if(delete J.message,typeof J.error==="string")return{...J,error:()=>J.error};return J}function Zb(X){let J;return new Proxy({},{get(Y,V,I){return J??(J=X()),Reflect.get(J,V,I)},set(Y,V,I,O){return J??(J=X()),Reflect.set(J,V,I,O)},has(Y,V){return J??(J=X()),Reflect.has(J,V)},deleteProperty(Y,V){return J??(J=X()),Reflect.deleteProperty(J,V)},ownKeys(Y){return J??(J=X()),Reflect.ownKeys(J)},getOwnPropertyDescriptor(Y,V){return J??(J=X()),Reflect.getOwnPropertyDescriptor(J,V)},defineProperty(Y,V,I){return J??(J=X()),Reflect.defineProperty(J,V,I)}})}function J$(X){if(typeof X==="bigint")return X.toString()+"n";if(typeof X==="string")return`"${X}"`;return`${X}`}function w9(X){return Object.keys(X).filter((J)=>{return X[J]._zod.optin==="optional"&&X[J]._zod.optout==="optional"})}var f9={safeint:[Number.MIN_SAFE_INTEGER,Number.MAX_SAFE_INTEGER],int32:[-2147483648,2147483647],uint32:[0,4294967295],float32:[-340282346638528860000000000000000000000,340282346638528860000000000000000000000],float64:[-Number.MAX_VALUE,Number.MAX_VALUE]},y9={int64:[BigInt("-9223372036854775808"),BigInt("9223372036854775807")],uint64:[BigInt(0),BigInt("18446744073709551615")]};function zb(X,J){let Y=X._zod.def,V=Y.checks;if(V&&V.length>0)throw Error(".pick() cannot be used on object schemas containing refinements");let O=VX(X._zod.def,{get shape(){let Z={};for(let L in J){if(!(L in Y.shape))throw Error(`Unrecognized key: "${L}"`);if(!J[L])continue;Z[L]=Y.shape[L]}return QI(this,"shape",Z),Z},checks:[]});return b6(X,O)}function Ob(X,J){let Y=X._zod.def,V=Y.checks;if(V&&V.length>0)throw Error(".omit() cannot be used on object schemas containing refinements");let O=VX(X._zod.def,{get shape(){let Z={...X._zod.def.shape};for(let L in J){if(!(L in Y.shape))throw Error(`Unrecognized key: "${L}"`);if(!J[L])continue;delete Z[L]}return QI(this,"shape",Z),Z},checks:[]});return b6(X,O)}function Vb(X,J){if(!YI(J))throw Error("Invalid input to extend: expected a plain object");let Y=X._zod.def.checks;if(Y&&Y.length>0){let O=X._zod.def.shape;for(let Z in J)if(Object.getOwnPropertyDescriptor(O,Z)!==void 0)throw Error("Cannot overwrite keys on object schemas containing refinements. Use `.safeExtend()` instead.")}let I=VX(X._zod.def,{get shape(){let O={...X._zod.def.shape,...J};return QI(this,"shape",O),O}});return b6(X,I)}function Db(X,J){if(!YI(J))throw Error("Invalid input to safeExtend: expected a plain object");let Y=VX(X._zod.def,{get shape(){let V={...X._zod.def.shape,...J};return QI(this,"shape",V),V}});return b6(X,Y)}function Kb(X,J){if(X._zod.def.checks?.length)throw Error(".merge() cannot be used on object schemas containing refinements. Use .safeExtend() instead.");let Y=VX(X._zod.def,{get shape(){let V={...X._zod.def.shape,...J._zod.def.shape};return QI(this,"shape",V),V},get catchall(){return J._zod.def.catchall},checks:J._zod.def.checks??[]});return b6(X,Y)}function Wb(X,J,Y){let I=J._zod.def.checks;if(I&&I.length>0)throw Error(".partial() cannot be used on object schemas containing refinements");let Z=VX(J._zod.def,{get shape(){let L=J._zod.def.shape,B={...L};if(Y)for(let R in Y){if(!(R in L))throw Error(`Unrecognized key: "${R}"`);if(!Y[R])continue;B[R]=X?new X({type:"optional",innerType:L[R]}):L[R]}else for(let R in L)B[R]=X?new X({type:"optional",innerType:L[R]}):L[R];return QI(this,"shape",B),B},checks:[]});return b6(J,Z)}function Fb(X,J,Y){let V=VX(J._zod.def,{get shape(){let I=J._zod.def.shape,O={...I};if(Y)for(let Z in Y){if(!(Z in O))throw Error(`Unrecognized key: "${Z}"`);if(!Y[Z])continue;O[Z]=new X({type:"nonoptional",innerType:I[Z]})}else for(let Z in I)O[Z]=new X({type:"nonoptional",innerType:I[Z]});return QI(this,"shape",O),O}});return b6(J,V)}function GI(X,J=0){if(X.aborted===!0)return!0;for(let Y=J;Y<X.issues.length;Y++)if(X.issues[Y]?.continue!==!0)return!0;return!1}function b9(X,J=0){if(X.aborted===!0)return!0;for(let Y=J;Y<X.issues.length;Y++)if(X.issues[Y]?.continue===!1)return!0;return!1}function a6(X,J){return J.map((Y)=>{var V;return(V=Y).path??(V.path=[]),Y.path.unshift(X),Y})}function G2(X){return typeof X==="string"?X:X?.message}function u6(X,J,Y){let V=X.message?X.message:G2(X.inst?._zod.def?.error?.(X))??G2(J?.error?.(X))??G2(Y.customError?.(X))??G2(Y.localeError?.(X))??"Invalid input",{inst:I,continue:O,input:Z,...L}=X;if(L.path??(L.path=[]),L.message=V,J?.reportInput)L.input=Z;return L}function V2(X){if(X instanceof Set)return"set";if(X instanceof Map)return"map";if(X instanceof File)return"file";return"unknown"}function D2(X){if(Array.isArray(X))return"array";if(typeof X==="string")return"string";return"unknown"}function Q$(X){let J=typeof X;switch(J){case"number":return Number.isNaN(X)?"nan":"number";case"object":{if(X===null)return"null";if(Array.isArray(X))return"array";let Y=X;if(Y&&Object.getPrototypeOf(Y)!==Object.prototype&&"constructor"in Y&&Y.constructor)return Y.constructor.name}}return J}function gQ(...X){let[J,Y,V]=X;if(typeof J==="string")return{message:J,code:"custom",input:Y,inst:V};return{...J}}function Hb(X){return Object.entries(X).filter(([J,Y])=>{return Number.isNaN(Number.parseInt(J,10))}).map((J)=>J[1])}function Rj(X){let J=atob(X),Y=new Uint8Array(J.length);for(let V=0;V<J.length;V++)Y[V]=J.charCodeAt(V);return Y}function Sj(X){let J="";for(let Y=0;Y<X.length;Y++)J+=String.fromCharCode(X[Y]);return btoa(J)}function Lb(X){let J=X.replace(/-/g,"+").replace(/_/g,"/"),Y="=".repeat((4-J.length%4)%4);return Rj(J+Y)}function Mb(X){return Sj(X).replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,"")}function Ab(X){let J=X.replace(/^0x/,"");if(J.length%2!==0)throw Error("Invalid hex string length");let Y=new Uint8Array(J.length/2);for(let V=0;V<J.length;V+=2)Y[V/2]=Number.parseInt(J.slice(V,V+2),16);return Y}function Tb(X){return Array.from(X).map((J)=>J.toString(16).padStart(2,"0")).join("")}class jj{constructor(...X){}}var Bj=(X,J)=>{X.name="$ZodError",Object.defineProperty(X,"_zod",{value:X._zod,enumerable:!1}),Object.defineProperty(X,"issues",{value:J,enumerable:!1}),X.message=JSON.stringify(J,kQ,2),Object.defineProperty(X,"toString",{value:()=>X.message,enumerable:!1})},K2=B0("$ZodError",Bj),s6=B0("$ZodError",Bj,{Parent:Error});function W2(X,J=(Y)=>Y.message){let Y={},V=[];for(let I of X.issues)if(I.path.length>0)Y[I.path[0]]=Y[I.path[0]]||[],Y[I.path[0]].push(J(I));else V.push(J(I));return{formErrors:V,fieldErrors:Y}}function F2(X,J=(Y)=>Y.message){let Y={_errors:[]},V=(I,O=[])=>{for(let Z of I.issues)if(Z.code==="invalid_union"&&Z.errors.length)Z.errors.map((L)=>V({issues:L},[...O,...Z.path]));else if(Z.code==="invalid_key")V({issues:Z.issues},[...O,...Z.path]);else if(Z.code==="invalid_element")V({issues:Z.issues},[...O,...Z.path]);else{let L=[...O,...Z.path];if(L.length===0)Y._errors.push(J(Z));else{let B=Y,R=0;while(R<L.length){let S=L[R];if(R!==L.length-1)B[S]=B[S]||{_errors:[]};else B[S]=B[S]||{_errors:[]},B[S]._errors.push(J(Z));B=B[S],R++}}}};return V(X),Y}function u9(X,J=(Y)=>Y.message){let Y={errors:[]},V=(I,O=[])=>{var Z,L;for(let B of I.issues)if(B.code==="invalid_union"&&B.errors.length)B.errors.map((R)=>V({issues:R},[...O,...B.path]));else if(B.code==="invalid_key")V({issues:B.issues},[...O,...B.path]);else if(B.code==="invalid_element")V({issues:B.issues},[...O,...B.path]);else{let R=[...O,...B.path];if(R.length===0){Y.errors.push(J(B));continue}let S=Y,T=0;while(T<R.length){let E=R[T],v=T===R.length-1;if(typeof E==="string")S.properties??(S.properties={}),(Z=S.properties)[E]??(Z[E]={errors:[]}),S=S.properties[E];else S.items??(S.items=[]),(L=S.items)[E]??(L[E]={errors:[]}),S=S.items[E];if(v)S.errors.push(J(B));T++}}};return V(X),Y}function vj(X){let J=[],Y=X.map((V)=>typeof V==="object"?V.key:V);for(let V of Y)if(typeof V==="number")J.push(`[${V}]`);else if(typeof V==="symbol")J.push(`[${JSON.stringify(String(V))}]`);else if(/[^\w$]/.test(V))J.push(`[${JSON.stringify(V)}]`);else{if(J.length)J.push(".");J.push(V)}return J.join("")}function h9(X){let J=[],Y=[...X.issues].sort((V,I)=>(V.path??[]).length-(I.path??[]).length);for(let V of Y)if(J.push(`✖ ${V.message}`),V.path?.length)J.push(` → at ${vj(V.path)}`);return J.join(`
257
+ `)}var wQ=(X)=>(J,Y,V,I)=>{let O=V?{...V,async:!1}:{async:!1},Z=J._zod.run({value:Y,issues:[]},O);if(Z instanceof Promise)throw new N4;if(Z.issues.length){let L=new(I?.Err??X)(Z.issues.map((B)=>u6(B,O,rU())));throw RO(L,I?.callee),L}return Z.value},SO=wQ(s6),fQ=(X)=>async(J,Y,V,I)=>{let O=V?{...V,async:!0}:{async:!0},Z=J._zod.run({value:Y,issues:[]},O);if(Z instanceof Promise)Z=await Z;if(Z.issues.length){let L=new(I?.Err??X)(Z.issues.map((B)=>u6(B,O,rU())));throw RO(L,I?.callee),L}return Z.value},jO=fQ(s6),yQ=(X)=>(J,Y,V)=>{let I=V?{...V,async:!1}:{async:!1},O=J._zod.run({value:Y,issues:[]},I);if(O instanceof Promise)throw new N4;return O.issues.length?{success:!1,error:new(X??K2)(O.issues.map((Z)=>u6(Z,I,rU())))}:{success:!0,data:O.value}},c9=yQ(s6),bQ=(X)=>async(J,Y,V)=>{let I=V?{...V,async:!0}:{async:!0},O=J._zod.run({value:Y,issues:[]},I);if(O instanceof Promise)O=await O;return O.issues.length?{success:!1,error:new X(O.issues.map((Z)=>u6(Z,I,rU())))}:{success:!0,data:O.value}},p9=bQ(s6),BO=(X)=>(J,Y,V)=>{let I=V?{...V,direction:"backward"}:{direction:"backward"};return wQ(X)(J,Y,I)},Pb=BO(s6),vO=(X)=>(J,Y,V)=>{return wQ(X)(J,Y,V)},_b=vO(s6),NO=(X)=>async(J,Y,V)=>{let I=V?{...V,direction:"backward"}:{direction:"backward"};return fQ(X)(J,Y,I)},Eb=NO(s6),qO=(X)=>async(J,Y,V)=>{return fQ(X)(J,Y,V)},Rb=qO(s6),kO=(X)=>(J,Y,V)=>{let I=V?{...V,direction:"backward"}:{direction:"backward"};return yQ(X)(J,Y,I)},Sb=kO(s6),xO=(X)=>(J,Y,V)=>{return yQ(X)(J,Y,V)},jb=xO(s6),gO=(X)=>async(J,Y,V)=>{let I=V?{...V,direction:"backward"}:{direction:"backward"};return bQ(X)(J,Y,I)},Bb=gO(s6),wO=(X)=>async(J,Y,V)=>{return bQ(X)(J,Y,V)},vb=wO(s6);var A1={};g6(A1,{xid:()=>n9,uuid7:()=>xb,uuid6:()=>kb,uuid4:()=>qb,uuid:()=>ZJ,uppercase:()=>LF,unicodeEmail:()=>Nj,undefined:()=>FF,ulid:()=>d9,time:()=>ZF,string:()=>OF,sha512_hex:()=>$u,sha512_base64url:()=>Xu,sha512_base64:()=>Uu,sha384_hex:()=>ab,sha384_base64url:()=>eb,sha384_base64:()=>sb,sha256_hex:()=>ib,sha256_base64url:()=>tb,sha256_base64:()=>rb,sha1_hex:()=>db,sha1_base64url:()=>ob,sha1_base64:()=>nb,rfc5322Email:()=>wb,number:()=>H2,null:()=>WF,nanoid:()=>i9,md5_hex:()=>pb,md5_base64url:()=>lb,md5_base64:()=>mb,mac:()=>UF,lowercase:()=>HF,ksuid:()=>o9,ipv6:()=>$F,ipv4:()=>e9,integer:()=>DF,idnEmail:()=>fb,httpProtocol:()=>QF,html5Email:()=>gb,hostname:()=>ub,hex:()=>cb,guid:()=>t9,extendedDuration:()=>Nb,emoji:()=>s9,email:()=>a9,e164:()=>YF,duration:()=>r9,domain:()=>hb,datetime:()=>zF,date:()=>GF,cuid2:()=>l9,cuid:()=>m9,cidrv6:()=>IF,cidrv4:()=>XF,browserEmail:()=>yb,boolean:()=>KF,bigint:()=>VF,base64url:()=>fO,base64:()=>JF});var m9=/^[cC][0-9a-z]{6,}$/,l9=/^[0-9a-z]+$/,d9=/^[0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{26}$/,n9=/^[0-9a-vA-V]{20}$/,o9=/^[A-Za-z0-9]{27}$/,i9=/^[a-zA-Z0-9_-]{21}$/,r9=/^P(?:(\d+W)|(?!.*W)(?=\d|T\d)(\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+([.,]\d+)?S)?)?)$/,Nb=/^[-+]?P(?!$)(?:(?:[-+]?\d+Y)|(?:[-+]?\d+[.,]\d+Y$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:(?:[-+]?\d+W)|(?:[-+]?\d+[.,]\d+W$))?(?:(?:[-+]?\d+D)|(?:[-+]?\d+[.,]\d+D$))?(?:T(?=[\d+-])(?:(?:[-+]?\d+H)|(?:[-+]?\d+[.,]\d+H$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:[-+]?\d+(?:[.,]\d+)?S)?)??$/,t9=/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$/,ZJ=(X)=>{if(!X)return/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$/;return new RegExp(`^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-${X}[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12})$`)},qb=ZJ(4),kb=ZJ(6),xb=ZJ(7),a9=/^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$/,gb=/^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,wb=/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,Nj=/^[^\s@"]{1,64}@[^\s@]{1,255}$/u,fb=Nj,yb=/^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,bb="^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$";function s9(){return new RegExp(bb,"u")}var e9=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/,$F=/^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:))$/,UF=(X)=>{let J=b1(X??":");return new RegExp(`^(?:[0-9A-F]{2}${J}){5}[0-9A-F]{2}$|^(?:[0-9a-f]{2}${J}){5}[0-9a-f]{2}$`)},XF=/^((25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/([0-9]|[1-2][0-9]|3[0-2])$/,IF=/^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|::|([0-9a-fA-F]{1,4})?::([0-9a-fA-F]{1,4}:?){0,6})\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,JF=/^$|^(?:[0-9a-zA-Z+/]{4})*(?:(?:[0-9a-zA-Z+/]{2}==)|(?:[0-9a-zA-Z+/]{3}=))?$/,fO=/^[A-Za-z0-9_-]*$/,ub=/^(?=.{1,253}\.?$)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[-0-9a-zA-Z]{0,61}[0-9a-zA-Z])?)*\.?$/,hb=/^([a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?\.)+[a-zA-Z]{2,}$/,QF=/^https?$/,YF=/^\+[1-9]\d{6,14}$/,qj="(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))",GF=new RegExp(`^${qj}$`);function kj(X){return typeof X.precision==="number"?X.precision===-1?"(?:[01]\\d|2[0-3]):[0-5]\\d":X.precision===0?"(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d":`(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d\\.\\d{${X.precision}}`:"(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?"}function ZF(X){return new RegExp(`^${kj(X)}$`)}function zF(X){let J=kj({precision:X.precision}),Y=["Z"];if(X.local)Y.push("");if(X.offset)Y.push("([+-](?:[01]\\d|2[0-3]):[0-5]\\d)");let V=`${J}(?:${Y.join("|")})`;return new RegExp(`^${qj}T(?:${V})$`)}var OF=(X)=>{let J=X?`[\\s\\S]{${X?.minimum??0},${X?.maximum??""}}`:"[\\s\\S]*";return new RegExp(`^${J}$`)},VF=/^-?\d+n?$/,DF=/^-?\d+$/,H2=/^-?\d+(?:\.\d+)?$/,KF=/^(?:true|false)$/i,WF=/^null$/i;var FF=/^undefined$/i;var HF=/^[^A-Z]*$/,LF=/^[^a-z]*$/,cb=/^[0-9a-fA-F]*$/;function L2(X,J){return new RegExp(`^[A-Za-z0-9+/]{${X}}${J}$`)}function M2(X){return new RegExp(`^[A-Za-z0-9_-]{${X}}$`)}var pb=/^[0-9a-fA-F]{32}$/,mb=L2(22,"=="),lb=M2(22),db=/^[0-9a-fA-F]{40}$/,nb=L2(27,"="),ob=M2(27),ib=/^[0-9a-fA-F]{64}$/,rb=L2(43,"="),tb=M2(43),ab=/^[0-9a-fA-F]{96}$/,sb=L2(64,""),eb=M2(64),$u=/^[0-9a-fA-F]{128}$/,Uu=L2(86,"=="),Xu=M2(86);var FU=B0("$ZodCheck",(X,J)=>{var Y;X._zod??(X._zod={}),X._zod.def=J,(Y=X._zod).onattach??(Y.onattach=[])}),gj={number:"number",bigint:"bigint",object:"date"},yO=B0("$ZodCheckLessThan",(X,J)=>{FU.init(X,J);let Y=gj[typeof J.value];X._zod.onattach.push((V)=>{let I=V._zod.bag,O=(J.inclusive?I.maximum:I.exclusiveMaximum)??Number.POSITIVE_INFINITY;if(J.value<O)if(J.inclusive)I.maximum=J.value;else I.exclusiveMaximum=J.value}),X._zod.check=(V)=>{if(J.inclusive?V.value<=J.value:V.value<J.value)return;V.issues.push({origin:Y,code:"too_big",maximum:typeof J.value==="object"?J.value.getTime():J.value,input:V.value,inclusive:J.inclusive,inst:X,continue:!J.abort})}}),bO=B0("$ZodCheckGreaterThan",(X,J)=>{FU.init(X,J);let Y=gj[typeof J.value];X._zod.onattach.push((V)=>{let I=V._zod.bag,O=(J.inclusive?I.minimum:I.exclusiveMinimum)??Number.NEGATIVE_INFINITY;if(J.value>O)if(J.inclusive)I.minimum=J.value;else I.exclusiveMinimum=J.value}),X._zod.check=(V)=>{if(J.inclusive?V.value>=J.value:V.value>J.value)return;V.issues.push({origin:Y,code:"too_small",minimum:typeof J.value==="object"?J.value.getTime():J.value,input:V.value,inclusive:J.inclusive,inst:X,continue:!J.abort})}}),MF=B0("$ZodCheckMultipleOf",(X,J)=>{FU.init(X,J),X._zod.onattach.push((Y)=>{var V;(V=Y._zod.bag).multipleOf??(V.multipleOf=J.value)}),X._zod.check=(Y)=>{if(typeof Y.value!==typeof J.value)throw Error("Cannot mix number and bigint in multiple_of check.");if(typeof Y.value==="bigint"?Y.value%J.value===BigInt(0):N9(Y.value,J.value)===0)return;Y.issues.push({origin:typeof Y.value,code:"not_multiple_of",divisor:J.value,input:Y.value,inst:X,continue:!J.abort})}}),AF=B0("$ZodCheckNumberFormat",(X,J)=>{FU.init(X,J),J.format=J.format||"float64";let Y=J.format?.includes("int"),V=Y?"int":"number",[I,O]=f9[J.format];X._zod.onattach.push((Z)=>{let L=Z._zod.bag;if(L.format=J.format,L.minimum=I,L.maximum=O,Y)L.pattern=DF}),X._zod.check=(Z)=>{let L=Z.value;if(Y){if(!Number.isInteger(L)){Z.issues.push({expected:V,format:J.format,code:"invalid_type",continue:!1,input:L,inst:X});return}if(!Number.isSafeInteger(L)){if(L>0)Z.issues.push({input:L,code:"too_big",maximum:Number.MAX_SAFE_INTEGER,note:"Integers must be within the safe integer range.",inst:X,origin:V,inclusive:!0,continue:!J.abort});else Z.issues.push({input:L,code:"too_small",minimum:Number.MIN_SAFE_INTEGER,note:"Integers must be within the safe integer range.",inst:X,origin:V,inclusive:!0,continue:!J.abort});return}}if(L<I)Z.issues.push({origin:"number",input:L,code:"too_small",minimum:I,inclusive:!0,inst:X,continue:!J.abort});if(L>O)Z.issues.push({origin:"number",input:L,code:"too_big",maximum:O,inclusive:!0,inst:X,continue:!J.abort})}}),TF=B0("$ZodCheckBigIntFormat",(X,J)=>{FU.init(X,J);let[Y,V]=y9[J.format];X._zod.onattach.push((I)=>{let O=I._zod.bag;O.format=J.format,O.minimum=Y,O.maximum=V}),X._zod.check=(I)=>{let O=I.value;if(O<Y)I.issues.push({origin:"bigint",input:O,code:"too_small",minimum:Y,inclusive:!0,inst:X,continue:!J.abort});if(O>V)I.issues.push({origin:"bigint",input:O,code:"too_big",maximum:V,inclusive:!0,inst:X,continue:!J.abort})}}),CF=B0("$ZodCheckMaxSize",(X,J)=>{var Y;FU.init(X,J),(Y=X._zod.def).when??(Y.when=(V)=>{let I=V.value;return!JI(I)&&I.size!==void 0}),X._zod.onattach.push((V)=>{let I=V._zod.bag.maximum??Number.POSITIVE_INFINITY;if(J.maximum<I)V._zod.bag.maximum=J.maximum}),X._zod.check=(V)=>{let I=V.value;if(I.size<=J.maximum)return;V.issues.push({origin:V2(I),code:"too_big",maximum:J.maximum,inclusive:!0,input:I,inst:X,continue:!J.abort})}}),PF=B0("$ZodCheckMinSize",(X,J)=>{var Y;FU.init(X,J),(Y=X._zod.def).when??(Y.when=(V)=>{let I=V.value;return!JI(I)&&I.size!==void 0}),X._zod.onattach.push((V)=>{let I=V._zod.bag.minimum??Number.NEGATIVE_INFINITY;if(J.minimum>I)V._zod.bag.minimum=J.minimum}),X._zod.check=(V)=>{let I=V.value;if(I.size>=J.minimum)return;V.issues.push({origin:V2(I),code:"too_small",minimum:J.minimum,inclusive:!0,input:I,inst:X,continue:!J.abort})}}),_F=B0("$ZodCheckSizeEquals",(X,J)=>{var Y;FU.init(X,J),(Y=X._zod.def).when??(Y.when=(V)=>{let I=V.value;return!JI(I)&&I.size!==void 0}),X._zod.onattach.push((V)=>{let I=V._zod.bag;I.minimum=J.size,I.maximum=J.size,I.size=J.size}),X._zod.check=(V)=>{let I=V.value,O=I.size;if(O===J.size)return;let Z=O>J.size;V.issues.push({origin:V2(I),...Z?{code:"too_big",maximum:J.size}:{code:"too_small",minimum:J.size},inclusive:!0,exact:!0,input:V.value,inst:X,continue:!J.abort})}}),EF=B0("$ZodCheckMaxLength",(X,J)=>{var Y;FU.init(X,J),(Y=X._zod.def).when??(Y.when=(V)=>{let I=V.value;return!JI(I)&&I.length!==void 0}),X._zod.onattach.push((V)=>{let I=V._zod.bag.maximum??Number.POSITIVE_INFINITY;if(J.maximum<I)V._zod.bag.maximum=J.maximum}),X._zod.check=(V)=>{let I=V.value;if(I.length<=J.maximum)return;let Z=D2(I);V.issues.push({origin:Z,code:"too_big",maximum:J.maximum,inclusive:!0,input:I,inst:X,continue:!J.abort})}}),RF=B0("$ZodCheckMinLength",(X,J)=>{var Y;FU.init(X,J),(Y=X._zod.def).when??(Y.when=(V)=>{let I=V.value;return!JI(I)&&I.length!==void 0}),X._zod.onattach.push((V)=>{let I=V._zod.bag.minimum??Number.NEGATIVE_INFINITY;if(J.minimum>I)V._zod.bag.minimum=J.minimum}),X._zod.check=(V)=>{let I=V.value;if(I.length>=J.minimum)return;let Z=D2(I);V.issues.push({origin:Z,code:"too_small",minimum:J.minimum,inclusive:!0,input:I,inst:X,continue:!J.abort})}}),SF=B0("$ZodCheckLengthEquals",(X,J)=>{var Y;FU.init(X,J),(Y=X._zod.def).when??(Y.when=(V)=>{let I=V.value;return!JI(I)&&I.length!==void 0}),X._zod.onattach.push((V)=>{let I=V._zod.bag;I.minimum=J.length,I.maximum=J.length,I.length=J.length}),X._zod.check=(V)=>{let I=V.value,O=I.length;if(O===J.length)return;let Z=D2(I),L=O>J.length;V.issues.push({origin:Z,...L?{code:"too_big",maximum:J.length}:{code:"too_small",minimum:J.length},inclusive:!0,exact:!0,input:V.value,inst:X,continue:!J.abort})}}),uQ=B0("$ZodCheckStringFormat",(X,J)=>{var Y,V;if(FU.init(X,J),X._zod.onattach.push((I)=>{let O=I._zod.bag;if(O.format=J.format,J.pattern)O.patterns??(O.patterns=new Set),O.patterns.add(J.pattern)}),J.pattern)(Y=X._zod).check??(Y.check=(I)=>{if(J.pattern.lastIndex=0,J.pattern.test(I.value))return;I.issues.push({origin:"string",code:"invalid_format",format:J.format,input:I.value,...J.pattern?{pattern:J.pattern.toString()}:{},inst:X,continue:!J.abort})});else(V=X._zod).check??(V.check=()=>{})}),jF=B0("$ZodCheckRegex",(X,J)=>{uQ.init(X,J),X._zod.check=(Y)=>{if(J.pattern.lastIndex=0,J.pattern.test(Y.value))return;Y.issues.push({origin:"string",code:"invalid_format",format:"regex",input:Y.value,pattern:J.pattern.toString(),inst:X,continue:!J.abort})}}),BF=B0("$ZodCheckLowerCase",(X,J)=>{J.pattern??(J.pattern=HF),uQ.init(X,J)}),vF=B0("$ZodCheckUpperCase",(X,J)=>{J.pattern??(J.pattern=LF),uQ.init(X,J)}),NF=B0("$ZodCheckIncludes",(X,J)=>{FU.init(X,J);let Y=b1(J.includes),V=new RegExp(typeof J.position==="number"?`^.{${J.position}}${Y}`:Y);J.pattern=V,X._zod.onattach.push((I)=>{let O=I._zod.bag;O.patterns??(O.patterns=new Set),O.patterns.add(V)}),X._zod.check=(I)=>{if(I.value.includes(J.includes,J.position))return;I.issues.push({origin:"string",code:"invalid_format",format:"includes",includes:J.includes,input:I.value,inst:X,continue:!J.abort})}}),qF=B0("$ZodCheckStartsWith",(X,J)=>{FU.init(X,J);let Y=new RegExp(`^${b1(J.prefix)}.*`);J.pattern??(J.pattern=Y),X._zod.onattach.push((V)=>{let I=V._zod.bag;I.patterns??(I.patterns=new Set),I.patterns.add(Y)}),X._zod.check=(V)=>{if(V.value.startsWith(J.prefix))return;V.issues.push({origin:"string",code:"invalid_format",format:"starts_with",prefix:J.prefix,input:V.value,inst:X,continue:!J.abort})}}),kF=B0("$ZodCheckEndsWith",(X,J)=>{FU.init(X,J);let Y=new RegExp(`.*${b1(J.suffix)}$`);J.pattern??(J.pattern=Y),X._zod.onattach.push((V)=>{let I=V._zod.bag;I.patterns??(I.patterns=new Set),I.patterns.add(Y)}),X._zod.check=(V)=>{if(V.value.endsWith(J.suffix))return;V.issues.push({origin:"string",code:"invalid_format",format:"ends_with",suffix:J.suffix,input:V.value,inst:X,continue:!J.abort})}});function xj(X,J,Y){if(X.issues.length)J.issues.push(...a6(Y,X.issues))}var xF=B0("$ZodCheckProperty",(X,J)=>{FU.init(X,J),X._zod.check=(Y)=>{let V=J.schema._zod.run({value:Y.value[J.property],issues:[]},{});if(V instanceof Promise)return V.then((I)=>xj(I,Y,J.property));xj(V,Y,J.property);return}}),gF=B0("$ZodCheckMimeType",(X,J)=>{FU.init(X,J);let Y=new Set(J.mime);X._zod.onattach.push((V)=>{V._zod.bag.mime=J.mime}),X._zod.check=(V)=>{if(Y.has(V.value.type))return;V.issues.push({code:"invalid_value",values:J.mime,input:V.value.type,inst:X,continue:!J.abort})}}),wF=B0("$ZodCheckOverwrite",(X,J)=>{FU.init(X,J),X._zod.check=(Y)=>{Y.value=J.tx(Y.value)}});class uO{constructor(X=[]){if(this.content=[],this.indent=0,this)this.args=X}indented(X){this.indent+=1,X(this),this.indent-=1}write(X){if(typeof X==="function"){X(this,{execution:"sync"}),X(this,{execution:"async"});return}let Y=X.split(`
258
+ `).filter((O)=>O),V=Math.min(...Y.map((O)=>O.length-O.trimStart().length)),I=Y.map((O)=>O.slice(V)).map((O)=>" ".repeat(this.indent*2)+O);for(let O of I)this.content.push(O)}compile(){let X=Function,J=this?.args,V=[...(this?.content??[""]).map((I)=>` ${I}`)];return new X(...J,V.join(`
259
+ `))}}var fF={major:4,minor:4,patch:3};var R$=B0("$ZodType",(X,J)=>{var Y;X??(X={}),X._zod.def=J,X._zod.bag=X._zod.bag||{},X._zod.version=fF;let V=[...X._zod.def.checks??[]];if(X._zod.traits.has("$ZodCheck"))V.unshift(X);for(let I of V)for(let O of I._zod.onattach)O(X);if(V.length===0)(Y=X._zod).deferred??(Y.deferred=[]),X._zod.deferred?.push(()=>{X._zod.run=X._zod.parse});else{let I=(Z,L,B)=>{let R=GI(Z),S;for(let T of L){if(T._zod.def.when){if(b9(Z))continue;if(!T._zod.def.when(Z))continue}else if(R)continue;let E=Z.issues.length,v=T._zod.check(Z);if(v instanceof Promise&&B?.async===!1)throw new N4;if(S||v instanceof Promise)S=(S??Promise.resolve()).then(async()=>{if(await v,Z.issues.length===E)return;if(!R)R=GI(Z,E)});else{if(Z.issues.length===E)continue;if(!R)R=GI(Z,E)}}if(S)return S.then(()=>{return Z});return Z},O=(Z,L,B)=>{if(GI(Z))return Z.aborted=!0,Z;let R=I(L,V,B);if(R instanceof Promise){if(B.async===!1)throw new N4;return R.then((S)=>X._zod.parse(S,B))}return X._zod.parse(R,B)};X._zod.run=(Z,L)=>{if(L.skipChecks)return X._zod.parse(Z,L);if(L.direction==="backward"){let R=X._zod.parse({value:Z.value,issues:[]},{...L,skipChecks:!0});if(R instanceof Promise)return R.then((S)=>{return O(S,Z,L)});return O(R,Z,L)}let B=X._zod.parse(Z,L);if(B instanceof Promise){if(L.async===!1)throw new N4;return B.then((R)=>I(R,V,L))}return I(B,V,L)}}c$(X,"~standard",()=>({validate:(I)=>{try{let O=c9(X,I);return O.success?{value:O.data}:{issues:O.error?.issues}}catch(O){return p9(X,I).then((Z)=>Z.success?{value:Z.data}:{issues:Z.error?.issues})}},vendor:"zod",version:1}))}),zJ=B0("$ZodString",(X,J)=>{R$.init(X,J),X._zod.pattern=[...X?._zod.bag?.patterns??[]].pop()??OF(X._zod.bag),X._zod.parse=(Y,V)=>{if(J.coerce)try{Y.value=String(Y.value)}catch(I){}if(typeof Y.value==="string")return Y;return Y.issues.push({expected:"string",code:"invalid_type",input:Y.value,inst:X}),Y}}),zU=B0("$ZodStringFormat",(X,J)=>{uQ.init(X,J),zJ.init(X,J)}),bF=B0("$ZodGUID",(X,J)=>{J.pattern??(J.pattern=t9),zU.init(X,J)}),uF=B0("$ZodUUID",(X,J)=>{if(J.version){let V={v1:1,v2:2,v3:3,v4:4,v5:5,v6:6,v7:7,v8:8}[J.version];if(V===void 0)throw Error(`Invalid UUID version: "${J.version}"`);J.pattern??(J.pattern=ZJ(V))}else J.pattern??(J.pattern=ZJ());zU.init(X,J)}),hF=B0("$ZodEmail",(X,J)=>{J.pattern??(J.pattern=a9),zU.init(X,J)}),cF=B0("$ZodURL",(X,J)=>{zU.init(X,J),X._zod.check=(Y)=>{try{let V=Y.value.trim();if(!J.normalize&&J.protocol?.source===QF.source){if(!/^https?:\/\//i.test(V)){Y.issues.push({code:"invalid_format",format:"url",note:"Invalid URL format",input:Y.value,inst:X,continue:!J.abort});return}}let I=new URL(V);if(J.hostname){if(J.hostname.lastIndex=0,!J.hostname.test(I.hostname))Y.issues.push({code:"invalid_format",format:"url",note:"Invalid hostname",pattern:J.hostname.source,input:Y.value,inst:X,continue:!J.abort})}if(J.protocol){if(J.protocol.lastIndex=0,!J.protocol.test(I.protocol.endsWith(":")?I.protocol.slice(0,-1):I.protocol))Y.issues.push({code:"invalid_format",format:"url",note:"Invalid protocol",pattern:J.protocol.source,input:Y.value,inst:X,continue:!J.abort})}if(J.normalize)Y.value=I.href;else Y.value=V;return}catch(V){Y.issues.push({code:"invalid_format",format:"url",input:Y.value,inst:X,continue:!J.abort})}}}),pF=B0("$ZodEmoji",(X,J)=>{J.pattern??(J.pattern=s9()),zU.init(X,J)}),mF=B0("$ZodNanoID",(X,J)=>{J.pattern??(J.pattern=i9),zU.init(X,J)}),lF=B0("$ZodCUID",(X,J)=>{J.pattern??(J.pattern=m9),zU.init(X,J)}),dF=B0("$ZodCUID2",(X,J)=>{J.pattern??(J.pattern=l9),zU.init(X,J)}),nF=B0("$ZodULID",(X,J)=>{J.pattern??(J.pattern=d9),zU.init(X,J)}),oF=B0("$ZodXID",(X,J)=>{J.pattern??(J.pattern=n9),zU.init(X,J)}),iF=B0("$ZodKSUID",(X,J)=>{J.pattern??(J.pattern=o9),zU.init(X,J)}),rF=B0("$ZodISODateTime",(X,J)=>{J.pattern??(J.pattern=zF(J)),zU.init(X,J)}),tF=B0("$ZodISODate",(X,J)=>{J.pattern??(J.pattern=GF),zU.init(X,J)}),aF=B0("$ZodISOTime",(X,J)=>{J.pattern??(J.pattern=ZF(J)),zU.init(X,J)}),sF=B0("$ZodISODuration",(X,J)=>{J.pattern??(J.pattern=r9),zU.init(X,J)}),eF=B0("$ZodIPv4",(X,J)=>{J.pattern??(J.pattern=e9),zU.init(X,J),X._zod.bag.format="ipv4"}),$H=B0("$ZodIPv6",(X,J)=>{J.pattern??(J.pattern=$F),zU.init(X,J),X._zod.bag.format="ipv6",X._zod.check=(Y)=>{try{new URL(`http://[${Y.value}]`)}catch{Y.issues.push({code:"invalid_format",format:"ipv6",input:Y.value,inst:X,continue:!J.abort})}}}),UH=B0("$ZodMAC",(X,J)=>{J.pattern??(J.pattern=UF(J.delimiter)),zU.init(X,J),X._zod.bag.format="mac"}),XH=B0("$ZodCIDRv4",(X,J)=>{J.pattern??(J.pattern=XF),zU.init(X,J)}),IH=B0("$ZodCIDRv6",(X,J)=>{J.pattern??(J.pattern=IF),zU.init(X,J),X._zod.check=(Y)=>{let V=Y.value.split("/");try{if(V.length!==2)throw Error();let[I,O]=V;if(!O)throw Error();let Z=Number(O);if(`${Z}`!==O)throw Error();if(Z<0||Z>128)throw Error();new URL(`http://[${I}]`)}catch{Y.issues.push({code:"invalid_format",format:"cidrv6",input:Y.value,inst:X,continue:!J.abort})}}});function JH(X){if(X==="")return!0;if(/\s/.test(X))return!1;if(X.length%4!==0)return!1;try{return atob(X),!0}catch{return!1}}var QH=B0("$ZodBase64",(X,J)=>{J.pattern??(J.pattern=JF),zU.init(X,J),X._zod.bag.contentEncoding="base64",X._zod.check=(Y)=>{if(JH(Y.value))return;Y.issues.push({code:"invalid_format",format:"base64",input:Y.value,inst:X,continue:!J.abort})}});function tj(X){if(!fO.test(X))return!1;let J=X.replace(/[-_]/g,(V)=>V==="-"?"+":"/"),Y=J.padEnd(Math.ceil(J.length/4)*4,"=");return JH(Y)}var YH=B0("$ZodBase64URL",(X,J)=>{J.pattern??(J.pattern=fO),zU.init(X,J),X._zod.bag.contentEncoding="base64url",X._zod.check=(Y)=>{if(tj(Y.value))return;Y.issues.push({code:"invalid_format",format:"base64url",input:Y.value,inst:X,continue:!J.abort})}}),GH=B0("$ZodE164",(X,J)=>{J.pattern??(J.pattern=YF),zU.init(X,J)});function aj(X,J=null){try{let Y=X.split(".");if(Y.length!==3)return!1;let[V]=Y;if(!V)return!1;let I=JSON.parse(atob(V));if("typ"in I&&I?.typ!=="JWT")return!1;if(!I.alg)return!1;if(J&&(!("alg"in I)||I.alg!==J))return!1;return!0}catch{return!1}}var ZH=B0("$ZodJWT",(X,J)=>{zU.init(X,J),X._zod.check=(Y)=>{if(aj(Y.value,J.alg))return;Y.issues.push({code:"invalid_format",format:"jwt",input:Y.value,inst:X,continue:!J.abort})}}),zH=B0("$ZodCustomStringFormat",(X,J)=>{zU.init(X,J),X._zod.check=(Y)=>{if(J.fn(Y.value))return;Y.issues.push({code:"invalid_format",format:J.format,input:Y.value,inst:X,continue:!J.abort})}}),lO=B0("$ZodNumber",(X,J)=>{R$.init(X,J),X._zod.pattern=X._zod.bag.pattern??H2,X._zod.parse=(Y,V)=>{if(J.coerce)try{Y.value=Number(Y.value)}catch(Z){}let I=Y.value;if(typeof I==="number"&&!Number.isNaN(I)&&Number.isFinite(I))return Y;let O=typeof I==="number"?Number.isNaN(I)?"NaN":!Number.isFinite(I)?"Infinity":void 0:void 0;return Y.issues.push({expected:"number",code:"invalid_type",input:I,inst:X,...O?{received:O}:{}}),Y}}),OH=B0("$ZodNumberFormat",(X,J)=>{AF.init(X,J),lO.init(X,J)}),A2=B0("$ZodBoolean",(X,J)=>{R$.init(X,J),X._zod.pattern=KF,X._zod.parse=(Y,V)=>{if(J.coerce)try{Y.value=Boolean(Y.value)}catch(O){}let I=Y.value;if(typeof I==="boolean")return Y;return Y.issues.push({expected:"boolean",code:"invalid_type",input:I,inst:X}),Y}}),dO=B0("$ZodBigInt",(X,J)=>{R$.init(X,J),X._zod.pattern=VF,X._zod.parse=(Y,V)=>{if(J.coerce)try{Y.value=BigInt(Y.value)}catch(I){}if(typeof Y.value==="bigint")return Y;return Y.issues.push({expected:"bigint",code:"invalid_type",input:Y.value,inst:X}),Y}}),VH=B0("$ZodBigIntFormat",(X,J)=>{TF.init(X,J),dO.init(X,J)}),DH=B0("$ZodSymbol",(X,J)=>{R$.init(X,J),X._zod.parse=(Y,V)=>{let I=Y.value;if(typeof I==="symbol")return Y;return Y.issues.push({expected:"symbol",code:"invalid_type",input:I,inst:X}),Y}}),KH=B0("$ZodUndefined",(X,J)=>{R$.init(X,J),X._zod.pattern=FF,X._zod.values=new Set([void 0]),X._zod.parse=(Y,V)=>{let I=Y.value;if(typeof I>"u")return Y;return Y.issues.push({expected:"undefined",code:"invalid_type",input:I,inst:X}),Y}}),WH=B0("$ZodNull",(X,J)=>{R$.init(X,J),X._zod.pattern=WF,X._zod.values=new Set([null]),X._zod.parse=(Y,V)=>{let I=Y.value;if(I===null)return Y;return Y.issues.push({expected:"null",code:"invalid_type",input:I,inst:X}),Y}}),FH=B0("$ZodAny",(X,J)=>{R$.init(X,J),X._zod.parse=(Y)=>Y}),HH=B0("$ZodUnknown",(X,J)=>{R$.init(X,J),X._zod.parse=(Y)=>Y}),LH=B0("$ZodNever",(X,J)=>{R$.init(X,J),X._zod.parse=(Y,V)=>{return Y.issues.push({expected:"never",code:"invalid_type",input:Y.value,inst:X}),Y}}),MH=B0("$ZodVoid",(X,J)=>{R$.init(X,J),X._zod.parse=(Y,V)=>{let I=Y.value;if(typeof I>"u")return Y;return Y.issues.push({expected:"void",code:"invalid_type",input:I,inst:X}),Y}}),AH=B0("$ZodDate",(X,J)=>{R$.init(X,J),X._zod.parse=(Y,V)=>{if(J.coerce)try{Y.value=new Date(Y.value)}catch(L){}let I=Y.value,O=I instanceof Date;if(O&&!Number.isNaN(I.getTime()))return Y;return Y.issues.push({expected:"date",code:"invalid_type",input:I,...O?{received:"Invalid Date"}:{},inst:X}),Y}});function fj(X,J,Y){if(X.issues.length)J.issues.push(...a6(Y,X.issues));J.value[Y]=X.value}var TH=B0("$ZodArray",(X,J)=>{R$.init(X,J),X._zod.parse=(Y,V)=>{let I=Y.value;if(!Array.isArray(I))return Y.issues.push({expected:"array",code:"invalid_type",input:I,inst:X}),Y;Y.value=Array(I.length);let O=[];for(let Z=0;Z<I.length;Z++){let L=I[Z],B=J.element._zod.run({value:L,issues:[]},V);if(B instanceof Promise)O.push(B.then((R)=>fj(R,Y,Z)));else fj(B,Y,Z)}if(O.length)return Promise.all(O).then(()=>Y);return Y}});function mO(X,J,Y,V,I,O){let Z=Y in V;if(X.issues.length){if(I&&O&&!Z)return;J.issues.push(...a6(Y,X.issues))}if(!Z&&!I){if(!X.issues.length)J.issues.push({code:"invalid_type",expected:"nonoptional",input:void 0,path:[Y]});return}if(X.value===void 0){if(Z)J.value[Y]=void 0}else J.value[Y]=X.value}function sj(X){let J=Object.keys(X.shape);for(let V of J)if(!X.shape?.[V]?._zod?.traits?.has("$ZodType"))throw Error(`Invalid element at key "${V}": expected a Zod schema`);let Y=w9(X.shape);return{...X,keys:J,keySet:new Set(J),numKeys:J.length,optionalKeys:new Set(Y)}}function ej(X,J,Y,V,I,O){let Z=[],L=I.keySet,B=I.catchall._zod,R=B.def.type,S=B.optin==="optional",T=B.optout==="optional";for(let E in J){if(E==="__proto__")continue;if(L.has(E))continue;if(R==="never"){Z.push(E);continue}let v=B.run({value:J[E],issues:[]},V);if(v instanceof Promise)X.push(v.then((q)=>mO(q,Y,E,J,S,T)));else mO(v,Y,E,J,S,T)}if(Z.length)Y.issues.push({code:"unrecognized_keys",keys:Z,input:J,inst:O});if(!X.length)return Y;return Promise.all(X).then(()=>{return Y})}var $B=B0("$ZodObject",(X,J)=>{if(R$.init(X,J),!Object.getOwnPropertyDescriptor(J,"shape")?.get){let L=J.shape;Object.defineProperty(J,"shape",{get:()=>{let B={...L};return Object.defineProperty(J,"shape",{value:B}),B}})}let V=xQ(()=>sj(J));c$(X._zod,"propValues",()=>{let L=J.shape,B={};for(let R in L){let S=L[R]._zod;if(S.values){B[R]??(B[R]=new Set);for(let T of S.values)B[R].add(T)}}return B});let I=GJ,O=J.catchall,Z;X._zod.parse=(L,B)=>{Z??(Z=V.value);let R=L.value;if(!I(R))return L.issues.push({expected:"object",code:"invalid_type",input:R,inst:X}),L;L.value={};let S=[],T=Z.shape;for(let E of Z.keys){let v=T[E],q=v._zod.optin==="optional",y=v._zod.optout==="optional",w=v._zod.run({value:R[E],issues:[]},B);if(w instanceof Promise)S.push(w.then((u)=>mO(u,L,E,R,q,y)));else mO(w,L,E,R,q,y)}if(!O)return S.length?Promise.all(S).then(()=>L):L;return ej(S,R,L,B,V.value,X)}}),CH=B0("$ZodObjectJIT",(X,J)=>{$B.init(X,J);let Y=X._zod.parse,V=xQ(()=>sj(J)),I=(E)=>{let v=new uO(["shape","payload","ctx"]),q=V.value,y=(b)=>{let p=EO(b);return`shape[${p}]._zod.run({ value: input[${p}], issues: [] }, ctx)`};v.write("const input = payload.value;");let w=Object.create(null),u=0;for(let b of q.keys)w[b]=`key_${u++}`;v.write("const newResult = {};");for(let b of q.keys){let p=w[b],d=EO(b),a=E[b],F0=a?._zod?.optin==="optional",L0=a?._zod?.optout==="optional";if(v.write(`const ${p} = ${y(b)};`),F0&&L0)v.write(`
260
+ if (${p}.issues.length) {
261
+ if (${d} in input) {
262
+ payload.issues = payload.issues.concat(${p}.issues.map(iss => ({
263
+ ...iss,
264
+ path: iss.path ? [${d}, ...iss.path] : [${d}]
265
+ })));
266
+ }
267
+ }
268
+
269
+ if (${p}.value === undefined) {
270
+ if (${d} in input) {
271
+ newResult[${d}] = undefined;
272
+ }
273
+ } else {
274
+ newResult[${d}] = ${p}.value;
275
+ }
276
+
277
+ `);else if(!F0)v.write(`
278
+ const ${p}_present = ${d} in input;
279
+ if (${p}.issues.length) {
280
+ payload.issues = payload.issues.concat(${p}.issues.map(iss => ({
281
+ ...iss,
282
+ path: iss.path ? [${d}, ...iss.path] : [${d}]
283
+ })));
284
+ }
285
+ if (!${p}_present && !${p}.issues.length) {
286
+ payload.issues.push({
287
+ code: "invalid_type",
288
+ expected: "nonoptional",
289
+ input: undefined,
290
+ path: [${d}]
291
+ });
292
+ }
293
+
294
+ if (${p}_present) {
295
+ if (${p}.value === undefined) {
296
+ newResult[${d}] = undefined;
297
+ } else {
298
+ newResult[${d}] = ${p}.value;
299
+ }
300
+ }
301
+
302
+ `);else v.write(`
303
+ if (${p}.issues.length) {
304
+ payload.issues = payload.issues.concat(${p}.issues.map(iss => ({
305
+ ...iss,
306
+ path: iss.path ? [${d}, ...iss.path] : [${d}]
307
+ })));
308
+ }
309
+
310
+ if (${p}.value === undefined) {
311
+ if (${d} in input) {
312
+ newResult[${d}] = undefined;
313
+ }
314
+ } else {
315
+ newResult[${d}] = ${p}.value;
316
+ }
317
+
318
+ `)}v.write("payload.value = newResult;"),v.write("return payload;");let x=v.compile();return(b,p)=>x(E,b,p)},O,Z=GJ,L=!QJ.jitless,R=L&&k9.value,S=J.catchall,T;X._zod.parse=(E,v)=>{T??(T=V.value);let q=E.value;if(!Z(q))return E.issues.push({expected:"object",code:"invalid_type",input:q,inst:X}),E;if(L&&R&&v?.async===!1&&v.jitless!==!0){if(!O)O=I(J.shape);if(E=O(E,v),!S)return E;return ej([],q,E,v,T,X)}return Y(E,v)}});function yj(X,J,Y,V){for(let O of X)if(O.issues.length===0)return J.value=O.value,J;let I=X.filter((O)=>!GI(O));if(I.length===1)return J.value=I[0].value,I[0];return J.issues.push({code:"invalid_union",input:J.value,inst:Y,errors:X.map((O)=>O.issues.map((Z)=>u6(Z,V,rU())))}),J}var T2=B0("$ZodUnion",(X,J)=>{R$.init(X,J),c$(X._zod,"optin",()=>J.options.some((V)=>V._zod.optin==="optional")?"optional":void 0),c$(X._zod,"optout",()=>J.options.some((V)=>V._zod.optout==="optional")?"optional":void 0),c$(X._zod,"values",()=>{if(J.options.every((V)=>V._zod.values))return new Set(J.options.flatMap((V)=>Array.from(V._zod.values)));return}),c$(X._zod,"pattern",()=>{if(J.options.every((V)=>V._zod.pattern)){let V=J.options.map((I)=>I._zod.pattern);return new RegExp(`^(${V.map((I)=>z2(I.source)).join("|")})$`)}return});let Y=J.options.length===1?J.options[0]._zod.run:null;X._zod.parse=(V,I)=>{if(Y)return Y(V,I);let O=!1,Z=[];for(let L of J.options){let B=L._zod.run({value:V.value,issues:[]},I);if(B instanceof Promise)Z.push(B),O=!0;else{if(B.issues.length===0)return B;Z.push(B)}}if(!O)return yj(Z,V,X,I);return Promise.all(Z).then((L)=>{return yj(L,V,X,I)})}});function bj(X,J,Y,V){let I=X.filter((O)=>O.issues.length===0);if(I.length===1)return J.value=I[0].value,J;if(I.length===0)J.issues.push({code:"invalid_union",input:J.value,inst:Y,errors:X.map((O)=>O.issues.map((Z)=>u6(Z,V,rU())))});else J.issues.push({code:"invalid_union",input:J.value,inst:Y,errors:[],inclusive:!1});return J}var PH=B0("$ZodXor",(X,J)=>{T2.init(X,J),J.inclusive=!1;let Y=J.options.length===1?J.options[0]._zod.run:null;X._zod.parse=(V,I)=>{if(Y)return Y(V,I);let O=!1,Z=[];for(let L of J.options){let B=L._zod.run({value:V.value,issues:[]},I);if(B instanceof Promise)Z.push(B),O=!0;else Z.push(B)}if(!O)return bj(Z,V,X,I);return Promise.all(Z).then((L)=>{return bj(L,V,X,I)})}}),_H=B0("$ZodDiscriminatedUnion",(X,J)=>{J.inclusive=!1,T2.init(X,J);let Y=X._zod.parse;c$(X._zod,"propValues",()=>{let I={};for(let O of J.options){let Z=O._zod.propValues;if(!Z||Object.keys(Z).length===0)throw Error(`Invalid discriminated union option at index "${J.options.indexOf(O)}"`);for(let[L,B]of Object.entries(Z)){if(!I[L])I[L]=new Set;for(let R of B)I[L].add(R)}}return I});let V=xQ(()=>{let I=J.options,O=new Map;for(let Z of I){let L=Z._zod.propValues?.[J.discriminator];if(!L||L.size===0)throw Error(`Invalid discriminated union option at index "${J.options.indexOf(Z)}"`);for(let B of L){if(O.has(B))throw Error(`Duplicate discriminator value "${String(B)}"`);O.set(B,Z)}}return O});X._zod.parse=(I,O)=>{let Z=I.value;if(!GJ(Z))return I.issues.push({code:"invalid_type",expected:"object",input:Z,inst:X}),I;let L=V.value.get(Z?.[J.discriminator]);if(L)return L._zod.run(I,O);if(J.unionFallback||O.direction==="backward")return Y(I,O);return I.issues.push({code:"invalid_union",errors:[],note:"No matching discriminator",discriminator:J.discriminator,options:Array.from(V.value.keys()),input:Z,path:[J.discriminator],inst:X}),I}}),EH=B0("$ZodIntersection",(X,J)=>{R$.init(X,J),X._zod.parse=(Y,V)=>{let I=Y.value,O=J.left._zod.run({value:I,issues:[]},V),Z=J.right._zod.run({value:I,issues:[]},V);if(O instanceof Promise||Z instanceof Promise)return Promise.all([O,Z]).then(([B,R])=>{return uj(Y,B,R)});return uj(Y,O,Z)}});function yF(X,J){if(X===J)return{valid:!0,data:X};if(X instanceof Date&&J instanceof Date&&+X===+J)return{valid:!0,data:X};if(YI(X)&&YI(J)){let Y=Object.keys(J),V=Object.keys(X).filter((O)=>Y.indexOf(O)!==-1),I={...X,...J};for(let O of V){let Z=yF(X[O],J[O]);if(!Z.valid)return{valid:!1,mergeErrorPath:[O,...Z.mergeErrorPath]};I[O]=Z.data}return{valid:!0,data:I}}if(Array.isArray(X)&&Array.isArray(J)){if(X.length!==J.length)return{valid:!1,mergeErrorPath:[]};let Y=[];for(let V=0;V<X.length;V++){let I=X[V],O=J[V],Z=yF(I,O);if(!Z.valid)return{valid:!1,mergeErrorPath:[V,...Z.mergeErrorPath]};Y.push(Z.data)}return{valid:!0,data:Y}}return{valid:!1,mergeErrorPath:[]}}function uj(X,J,Y){let V=new Map,I;for(let L of J.issues)if(L.code==="unrecognized_keys"){I??(I=L);for(let B of L.keys){if(!V.has(B))V.set(B,{});V.get(B).l=!0}}else X.issues.push(L);for(let L of Y.issues)if(L.code==="unrecognized_keys")for(let B of L.keys){if(!V.has(B))V.set(B,{});V.get(B).r=!0}else X.issues.push(L);let O=[...V].filter(([,L])=>L.l&&L.r).map(([L])=>L);if(O.length&&I)X.issues.push({...I,keys:O});if(GI(X))return X;let Z=yF(J.value,Y.value);if(!Z.valid)throw Error(`Unmergable intersection. Error path: ${JSON.stringify(Z.mergeErrorPath)}`);return X.value=Z.data,X}var nO=B0("$ZodTuple",(X,J)=>{R$.init(X,J);let Y=J.items;X._zod.parse=(V,I)=>{let O=V.value;if(!Array.isArray(O))return V.issues.push({input:O,inst:X,expected:"tuple",code:"invalid_type"}),V;V.value=[];let Z=[],L=hj(Y,"optin"),B=hj(Y,"optout");if(!J.rest){if(O.length<L)return V.issues.push({code:"too_small",minimum:L,inclusive:!0,input:O,inst:X,origin:"array"}),V;if(O.length>Y.length)V.issues.push({code:"too_big",maximum:Y.length,inclusive:!0,input:O,inst:X,origin:"array"})}let R=Array(Y.length);for(let S=0;S<Y.length;S++){let T=Y[S]._zod.run({value:O[S],issues:[]},I);if(T instanceof Promise)Z.push(T.then((E)=>{R[S]=E}));else R[S]=T}if(J.rest){let S=Y.length-1,T=O.slice(Y.length);for(let E of T){S++;let v=J.rest._zod.run({value:E,issues:[]},I);if(v instanceof Promise)Z.push(v.then((q)=>cj(q,V,S)));else cj(v,V,S)}}if(Z.length)return Promise.all(Z).then(()=>pj(R,V,Y,O,B));return pj(R,V,Y,O,B)}});function hj(X,J){for(let Y=X.length-1;Y>=0;Y--)if(X[Y]._zod[J]!=="optional")return Y+1;return 0}function cj(X,J,Y){if(X.issues.length)J.issues.push(...a6(Y,X.issues));J.value[Y]=X.value}function pj(X,J,Y,V,I){for(let O=0;O<Y.length;O++){let Z=X[O],L=O<V.length;if(Z.issues.length){if(!L&&O>=I){J.value.length=O;break}J.issues.push(...a6(O,Z.issues))}J.value[O]=Z.value}for(let O=J.value.length-1;O>=V.length;O--)if(Y[O]._zod.optout==="optional"&&J.value[O]===void 0)J.value.length=O;else break;return J}var RH=B0("$ZodRecord",(X,J)=>{R$.init(X,J),X._zod.parse=(Y,V)=>{let I=Y.value;if(!YI(I))return Y.issues.push({expected:"record",code:"invalid_type",input:I,inst:X}),Y;let O=[],Z=J.keyType._zod.values;if(Z){Y.value={};let L=new Set;for(let R of Z)if(typeof R==="string"||typeof R==="number"||typeof R==="symbol"){L.add(typeof R==="number"?R.toString():R);let S=J.keyType._zod.run({value:R,issues:[]},V);if(S instanceof Promise)throw Error("Async schemas not supported in object keys currently");if(S.issues.length){Y.issues.push({code:"invalid_key",origin:"record",issues:S.issues.map((v)=>u6(v,V,rU())),input:R,path:[R],inst:X});continue}let T=S.value,E=J.valueType._zod.run({value:I[R],issues:[]},V);if(E instanceof Promise)O.push(E.then((v)=>{if(v.issues.length)Y.issues.push(...a6(R,v.issues));Y.value[T]=v.value}));else{if(E.issues.length)Y.issues.push(...a6(R,E.issues));Y.value[T]=E.value}}let B;for(let R in I)if(!L.has(R))B=B??[],B.push(R);if(B&&B.length>0)Y.issues.push({code:"unrecognized_keys",input:I,inst:X,keys:B})}else{Y.value={};for(let L of Reflect.ownKeys(I)){if(L==="__proto__")continue;if(!Object.prototype.propertyIsEnumerable.call(I,L))continue;let B=J.keyType._zod.run({value:L,issues:[]},V);if(B instanceof Promise)throw Error("Async schemas not supported in object keys currently");if(typeof L==="string"&&H2.test(L)&&B.issues.length){let T=J.keyType._zod.run({value:Number(L),issues:[]},V);if(T instanceof Promise)throw Error("Async schemas not supported in object keys currently");if(T.issues.length===0)B=T}if(B.issues.length){if(J.mode==="loose")Y.value[L]=I[L];else Y.issues.push({code:"invalid_key",origin:"record",issues:B.issues.map((T)=>u6(T,V,rU())),input:L,path:[L],inst:X});continue}let S=J.valueType._zod.run({value:I[L],issues:[]},V);if(S instanceof Promise)O.push(S.then((T)=>{if(T.issues.length)Y.issues.push(...a6(L,T.issues));Y.value[B.value]=T.value}));else{if(S.issues.length)Y.issues.push(...a6(L,S.issues));Y.value[B.value]=S.value}}}if(O.length)return Promise.all(O).then(()=>Y);return Y}}),SH=B0("$ZodMap",(X,J)=>{R$.init(X,J),X._zod.parse=(Y,V)=>{let I=Y.value;if(!(I instanceof Map))return Y.issues.push({expected:"map",code:"invalid_type",input:I,inst:X}),Y;let O=[];Y.value=new Map;for(let[Z,L]of I){let B=J.keyType._zod.run({value:Z,issues:[]},V),R=J.valueType._zod.run({value:L,issues:[]},V);if(B instanceof Promise||R instanceof Promise)O.push(Promise.all([B,R]).then(([S,T])=>{mj(S,T,Y,Z,I,X,V)}));else mj(B,R,Y,Z,I,X,V)}if(O.length)return Promise.all(O).then(()=>Y);return Y}});function mj(X,J,Y,V,I,O,Z){if(X.issues.length)if(O2.has(typeof V))Y.issues.push(...a6(V,X.issues));else Y.issues.push({code:"invalid_key",origin:"map",input:I,inst:O,issues:X.issues.map((L)=>u6(L,Z,rU()))});if(J.issues.length)if(O2.has(typeof V))Y.issues.push(...a6(V,J.issues));else Y.issues.push({origin:"map",code:"invalid_element",input:I,inst:O,key:V,issues:J.issues.map((L)=>u6(L,Z,rU()))});Y.value.set(X.value,J.value)}var jH=B0("$ZodSet",(X,J)=>{R$.init(X,J),X._zod.parse=(Y,V)=>{let I=Y.value;if(!(I instanceof Set))return Y.issues.push({input:I,inst:X,expected:"set",code:"invalid_type"}),Y;let O=[];Y.value=new Set;for(let Z of I){let L=J.valueType._zod.run({value:Z,issues:[]},V);if(L instanceof Promise)O.push(L.then((B)=>lj(B,Y)));else lj(L,Y)}if(O.length)return Promise.all(O).then(()=>Y);return Y}});function lj(X,J){if(X.issues.length)J.issues.push(...X.issues);J.value.add(X.value)}var BH=B0("$ZodEnum",(X,J)=>{R$.init(X,J);let Y=Z2(J.entries),V=new Set(Y);X._zod.values=V,X._zod.pattern=new RegExp(`^(${Y.filter((I)=>O2.has(typeof I)).map((I)=>typeof I==="string"?b1(I):I.toString()).join("|")})$`),X._zod.parse=(I,O)=>{let Z=I.value;if(V.has(Z))return I;return I.issues.push({code:"invalid_value",values:Y,input:Z,inst:X}),I}}),vH=B0("$ZodLiteral",(X,J)=>{if(R$.init(X,J),J.values.length===0)throw Error("Cannot create literal schema with no valid values");let Y=new Set(J.values);X._zod.values=Y,X._zod.pattern=new RegExp(`^(${J.values.map((V)=>typeof V==="string"?b1(V):V?b1(V.toString()):String(V)).join("|")})$`),X._zod.parse=(V,I)=>{let O=V.value;if(Y.has(O))return V;return V.issues.push({code:"invalid_value",values:J.values,input:O,inst:X}),V}}),NH=B0("$ZodFile",(X,J)=>{R$.init(X,J),X._zod.parse=(Y,V)=>{let I=Y.value;if(I instanceof File)return Y;return Y.issues.push({expected:"file",code:"invalid_type",input:I,inst:X}),Y}}),qH=B0("$ZodTransform",(X,J)=>{R$.init(X,J),X._zod.optin="optional",X._zod.parse=(Y,V)=>{if(V.direction==="backward")throw new YJ(X.constructor.name);let I=J.transform(Y.value,Y);if(V.async)return(I instanceof Promise?I:Promise.resolve(I)).then((Z)=>{return Y.value=Z,Y.fallback=!0,Y});if(I instanceof Promise)throw new N4;return Y.value=I,Y.fallback=!0,Y}});function dj(X,J){if(J===void 0&&(X.issues.length||X.fallback))return{issues:[],value:void 0};return X}var oO=B0("$ZodOptional",(X,J)=>{R$.init(X,J),X._zod.optin="optional",X._zod.optout="optional",c$(X._zod,"values",()=>{return J.innerType._zod.values?new Set([...J.innerType._zod.values,void 0]):void 0}),c$(X._zod,"pattern",()=>{let Y=J.innerType._zod.pattern;return Y?new RegExp(`^(${z2(Y.source)})?$`):void 0}),X._zod.parse=(Y,V)=>{if(J.innerType._zod.optin==="optional"){let I=Y.value,O=J.innerType._zod.run(Y,V);if(O instanceof Promise)return O.then((Z)=>dj(Z,I));return dj(O,I)}if(Y.value===void 0)return Y;return J.innerType._zod.run(Y,V)}}),kH=B0("$ZodExactOptional",(X,J)=>{oO.init(X,J),c$(X._zod,"values",()=>J.innerType._zod.values),c$(X._zod,"pattern",()=>J.innerType._zod.pattern),X._zod.parse=(Y,V)=>{return J.innerType._zod.run(Y,V)}}),xH=B0("$ZodNullable",(X,J)=>{R$.init(X,J),c$(X._zod,"optin",()=>J.innerType._zod.optin),c$(X._zod,"optout",()=>J.innerType._zod.optout),c$(X._zod,"pattern",()=>{let Y=J.innerType._zod.pattern;return Y?new RegExp(`^(${z2(Y.source)}|null)$`):void 0}),c$(X._zod,"values",()=>{return J.innerType._zod.values?new Set([...J.innerType._zod.values,null]):void 0}),X._zod.parse=(Y,V)=>{if(Y.value===null)return Y;return J.innerType._zod.run(Y,V)}}),gH=B0("$ZodDefault",(X,J)=>{R$.init(X,J),X._zod.optin="optional",c$(X._zod,"values",()=>J.innerType._zod.values),X._zod.parse=(Y,V)=>{if(V.direction==="backward")return J.innerType._zod.run(Y,V);if(Y.value===void 0)return Y.value=J.defaultValue,Y;let I=J.innerType._zod.run(Y,V);if(I instanceof Promise)return I.then((O)=>nj(O,J));return nj(I,J)}});function nj(X,J){if(X.value===void 0)X.value=J.defaultValue;return X}var wH=B0("$ZodPrefault",(X,J)=>{R$.init(X,J),X._zod.optin="optional",c$(X._zod,"values",()=>J.innerType._zod.values),X._zod.parse=(Y,V)=>{if(V.direction==="backward")return J.innerType._zod.run(Y,V);if(Y.value===void 0)Y.value=J.defaultValue;return J.innerType._zod.run(Y,V)}}),fH=B0("$ZodNonOptional",(X,J)=>{R$.init(X,J),c$(X._zod,"values",()=>{let Y=J.innerType._zod.values;return Y?new Set([...Y].filter((V)=>V!==void 0)):void 0}),X._zod.parse=(Y,V)=>{let I=J.innerType._zod.run(Y,V);if(I instanceof Promise)return I.then((O)=>oj(O,X));return oj(I,X)}});function oj(X,J){if(!X.issues.length&&X.value===void 0)X.issues.push({code:"invalid_type",expected:"nonoptional",input:X.value,inst:J});return X}var yH=B0("$ZodSuccess",(X,J)=>{R$.init(X,J),X._zod.parse=(Y,V)=>{if(V.direction==="backward")throw new YJ("ZodSuccess");let I=J.innerType._zod.run(Y,V);if(I instanceof Promise)return I.then((O)=>{return Y.value=O.issues.length===0,Y});return Y.value=I.issues.length===0,Y}}),bH=B0("$ZodCatch",(X,J)=>{R$.init(X,J),X._zod.optin="optional",c$(X._zod,"optout",()=>J.innerType._zod.optout),c$(X._zod,"values",()=>J.innerType._zod.values),X._zod.parse=(Y,V)=>{if(V.direction==="backward")return J.innerType._zod.run(Y,V);let I=J.innerType._zod.run(Y,V);if(I instanceof Promise)return I.then((O)=>{if(Y.value=O.value,O.issues.length)Y.value=J.catchValue({...Y,error:{issues:O.issues.map((Z)=>u6(Z,V,rU()))},input:Y.value}),Y.issues=[],Y.fallback=!0;return Y});if(Y.value=I.value,I.issues.length)Y.value=J.catchValue({...Y,error:{issues:I.issues.map((O)=>u6(O,V,rU()))},input:Y.value}),Y.issues=[],Y.fallback=!0;return Y}}),uH=B0("$ZodNaN",(X,J)=>{R$.init(X,J),X._zod.parse=(Y,V)=>{if(typeof Y.value!=="number"||!Number.isNaN(Y.value))return Y.issues.push({input:Y.value,inst:X,expected:"nan",code:"invalid_type"}),Y;return Y}}),iO=B0("$ZodPipe",(X,J)=>{R$.init(X,J),c$(X._zod,"values",()=>J.in._zod.values),c$(X._zod,"optin",()=>J.in._zod.optin),c$(X._zod,"optout",()=>J.out._zod.optout),c$(X._zod,"propValues",()=>J.in._zod.propValues),X._zod.parse=(Y,V)=>{if(V.direction==="backward"){let O=J.out._zod.run(Y,V);if(O instanceof Promise)return O.then((Z)=>hO(Z,J.in,V));return hO(O,J.in,V)}let I=J.in._zod.run(Y,V);if(I instanceof Promise)return I.then((O)=>hO(O,J.out,V));return hO(I,J.out,V)}});function hO(X,J,Y){if(X.issues.length)return X.aborted=!0,X;return J._zod.run({value:X.value,issues:X.issues,fallback:X.fallback},Y)}var C2=B0("$ZodCodec",(X,J)=>{R$.init(X,J),c$(X._zod,"values",()=>J.in._zod.values),c$(X._zod,"optin",()=>J.in._zod.optin),c$(X._zod,"optout",()=>J.out._zod.optout),c$(X._zod,"propValues",()=>J.in._zod.propValues),X._zod.parse=(Y,V)=>{if((V.direction||"forward")==="forward"){let O=J.in._zod.run(Y,V);if(O instanceof Promise)return O.then((Z)=>cO(Z,J,V));return cO(O,J,V)}else{let O=J.out._zod.run(Y,V);if(O instanceof Promise)return O.then((Z)=>cO(Z,J,V));return cO(O,J,V)}}});function cO(X,J,Y){if(X.issues.length)return X.aborted=!0,X;if((Y.direction||"forward")==="forward"){let I=J.transform(X.value,X);if(I instanceof Promise)return I.then((O)=>pO(X,O,J.out,Y));return pO(X,I,J.out,Y)}else{let I=J.reverseTransform(X.value,X);if(I instanceof Promise)return I.then((O)=>pO(X,O,J.in,Y));return pO(X,I,J.in,Y)}}function pO(X,J,Y,V){if(X.issues.length)return X.aborted=!0,X;return Y._zod.run({value:J,issues:X.issues},V)}var hH=B0("$ZodPreprocess",(X,J)=>{iO.init(X,J)}),cH=B0("$ZodReadonly",(X,J)=>{R$.init(X,J),c$(X._zod,"propValues",()=>J.innerType._zod.propValues),c$(X._zod,"values",()=>J.innerType._zod.values),c$(X._zod,"optin",()=>J.innerType?._zod?.optin),c$(X._zod,"optout",()=>J.innerType?._zod?.optout),X._zod.parse=(Y,V)=>{if(V.direction==="backward")return J.innerType._zod.run(Y,V);let I=J.innerType._zod.run(Y,V);if(I instanceof Promise)return I.then(ij);return ij(I)}});function ij(X){return X.value=Object.freeze(X.value),X}var pH=B0("$ZodTemplateLiteral",(X,J)=>{R$.init(X,J);let Y=[];for(let V of J.parts)if(typeof V==="object"&&V!==null){if(!V._zod.pattern)throw Error(`Invalid template literal part, no pattern found: ${[...V._zod.traits].shift()}`);let I=V._zod.pattern instanceof RegExp?V._zod.pattern.source:V._zod.pattern;if(!I)throw Error(`Invalid template literal part: ${V._zod.traits}`);let O=I.startsWith("^")?1:0,Z=I.endsWith("$")?I.length-1:I.length;Y.push(I.slice(O,Z))}else if(V===null||g9.has(typeof V))Y.push(b1(`${V}`));else throw Error(`Invalid template literal part: ${V}`);X._zod.pattern=new RegExp(`^${Y.join("")}$`),X._zod.parse=(V,I)=>{if(typeof V.value!=="string")return V.issues.push({input:V.value,inst:X,expected:"string",code:"invalid_type"}),V;if(X._zod.pattern.lastIndex=0,!X._zod.pattern.test(V.value))return V.issues.push({input:V.value,inst:X,code:"invalid_format",format:J.format??"template_literal",pattern:X._zod.pattern.source}),V;return V}}),mH=B0("$ZodFunction",(X,J)=>{return R$.init(X,J),X._def=J,X._zod.def=J,X.implement=(Y)=>{if(typeof Y!=="function")throw Error("implement() must be called with a function");return function(...V){let I=X._def.input?SO(X._def.input,V):V,O=Reflect.apply(Y,this,I);if(X._def.output)return SO(X._def.output,O);return O}},X.implementAsync=(Y)=>{if(typeof Y!=="function")throw Error("implementAsync() must be called with a function");return async function(...V){let I=X._def.input?await jO(X._def.input,V):V,O=await Reflect.apply(Y,this,I);if(X._def.output)return await jO(X._def.output,O);return O}},X._zod.parse=(Y,V)=>{if(typeof Y.value!=="function")return Y.issues.push({code:"invalid_type",expected:"function",input:Y.value,inst:X}),Y;if(X._def.output&&X._def.output._zod.def.type==="promise")Y.value=X.implementAsync(Y.value);else Y.value=X.implement(Y.value);return Y},X.input=(...Y)=>{let V=X.constructor;if(Array.isArray(Y[0]))return new V({type:"function",input:new nO({type:"tuple",items:Y[0],rest:Y[1]}),output:X._def.output});return new V({type:"function",input:Y[0],output:X._def.output})},X.output=(Y)=>{return new X.constructor({type:"function",input:X._def.input,output:Y})},X}),lH=B0("$ZodPromise",(X,J)=>{R$.init(X,J),X._zod.parse=(Y,V)=>{return Promise.resolve(Y.value).then((I)=>J.innerType._zod.run({value:I,issues:[]},V))}}),dH=B0("$ZodLazy",(X,J)=>{R$.init(X,J),c$(X._zod,"innerType",()=>{let Y=J;if(!Y._cachedInner)Y._cachedInner=J.getter();return Y._cachedInner}),c$(X._zod,"pattern",()=>X._zod.innerType?._zod?.pattern),c$(X._zod,"propValues",()=>X._zod.innerType?._zod?.propValues),c$(X._zod,"optin",()=>X._zod.innerType?._zod?.optin??void 0),c$(X._zod,"optout",()=>X._zod.innerType?._zod?.optout??void 0),X._zod.parse=(Y,V)=>{return X._zod.innerType._zod.run(Y,V)}}),nH=B0("$ZodCustom",(X,J)=>{FU.init(X,J),R$.init(X,J),X._zod.parse=(Y,V)=>{return Y},X._zod.check=(Y)=>{let V=Y.value,I=J.fn(V);if(I instanceof Promise)return I.then((O)=>rj(O,Y,V,X));rj(I,Y,V,X);return}});function rj(X,J,Y,V){if(!X){let I={code:"custom",input:Y,inst:V,path:[...V._zod.def.path??[]],continue:!V._zod.def.abort};if(V._zod.def.params)I.params=V._zod.def.params;J.issues.push(gQ(I))}}var S2={};g6(S2,{zhTW:()=>hL,zhCN:()=>uL,yo:()=>cL,vi:()=>bL,uz:()=>yL,ur:()=>fL,uk:()=>R2,ua:()=>wL,tr:()=>gL,th:()=>xL,ta:()=>kL,sv:()=>qL,sl:()=>NL,ru:()=>vL,ro:()=>BL,pt:()=>jL,ps:()=>RL,pl:()=>SL,ota:()=>EL,no:()=>_L,nl:()=>PL,ms:()=>CL,mk:()=>TL,lt:()=>AL,ko:()=>ML,km:()=>_2,kh:()=>LL,ka:()=>HL,ja:()=>FL,it:()=>WL,is:()=>KL,id:()=>DL,hy:()=>VL,hu:()=>OL,hr:()=>zL,he:()=>ZL,frCA:()=>GL,fr:()=>YL,fi:()=>QL,fa:()=>JL,es:()=>IL,eo:()=>XL,en:()=>P2,el:()=>UL,de:()=>$L,da:()=>eH,cs:()=>sH,ca:()=>aH,bg:()=>tH,be:()=>rH,az:()=>iH,ar:()=>oH});var Ju=()=>{let X={string:{unit:"حرف",verb:"أن يحوي"},file:{unit:"بايت",verb:"أن يحوي"},array:{unit:"عنصر",verb:"أن يحوي"},set:{unit:"عنصر",verb:"أن يحوي"}};function J(I){return X[I]??null}let Y={regex:"مدخل",email:"بريد إلكتروني",url:"رابط",emoji:"إيموجي",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"تاريخ ووقت بمعيار ISO",date:"تاريخ بمعيار ISO",time:"وقت بمعيار ISO",duration:"مدة بمعيار ISO",ipv4:"عنوان IPv4",ipv6:"عنوان IPv6",cidrv4:"مدى عناوين بصيغة IPv4",cidrv6:"مدى عناوين بصيغة IPv6",base64:"نَص بترميز base64-encoded",base64url:"نَص بترميز base64url-encoded",json_string:"نَص على هيئة JSON",e164:"رقم هاتف بمعيار E.164",jwt:"JWT",template_literal:"مدخل"},V={nan:"NaN"};return(I)=>{switch(I.code){case"invalid_type":{let O=V[I.expected]??I.expected,Z=Q$(I.input),L=V[Z]??Z;if(/^[A-Z]/.test(I.expected))return`مدخلات غير مقبولة: يفترض إدخال instanceof ${I.expected}، ولكن تم إدخال ${L}`;return`مدخلات غير مقبولة: يفترض إدخال ${O}، ولكن تم إدخال ${L}`}case"invalid_value":if(I.values.length===1)return`مدخلات غير مقبولة: يفترض إدخال ${J$(I.values[0])}`;return`اختيار غير مقبول: يتوقع انتقاء أحد هذه الخيارات: ${g0(I.values,"|")}`;case"too_big":{let O=I.inclusive?"<=":"<",Z=J(I.origin);if(Z)return` أكبر من اللازم: يفترض أن تكون ${I.origin??"القيمة"} ${O} ${I.maximum.toString()} ${Z.unit??"عنصر"}`;return`أكبر من اللازم: يفترض أن تكون ${I.origin??"القيمة"} ${O} ${I.maximum.toString()}`}case"too_small":{let O=I.inclusive?">=":">",Z=J(I.origin);if(Z)return`أصغر من اللازم: يفترض لـ ${I.origin} أن يكون ${O} ${I.minimum.toString()} ${Z.unit}`;return`أصغر من اللازم: يفترض لـ ${I.origin} أن يكون ${O} ${I.minimum.toString()}`}case"invalid_format":{let O=I;if(O.format==="starts_with")return`نَص غير مقبول: يجب أن يبدأ بـ "${I.prefix}"`;if(O.format==="ends_with")return`نَص غير مقبول: يجب أن ينتهي بـ "${O.suffix}"`;if(O.format==="includes")return`نَص غير مقبول: يجب أن يتضمَّن "${O.includes}"`;if(O.format==="regex")return`نَص غير مقبول: يجب أن يطابق النمط ${O.pattern}`;return`${Y[O.format]??I.format} غير مقبول`}case"not_multiple_of":return`رقم غير مقبول: يجب أن يكون من مضاعفات ${I.divisor}`;case"unrecognized_keys":return`معرف${I.keys.length>1?"ات":""} غريب${I.keys.length>1?"ة":""}: ${g0(I.keys,"، ")}`;case"invalid_key":return`معرف غير مقبول في ${I.origin}`;case"invalid_union":return"مدخل غير مقبول";case"invalid_element":return`مدخل غير مقبول في ${I.origin}`;default:return"مدخل غير مقبول"}}};function oH(){return{localeError:Ju()}}var Qu=()=>{let X={string:{unit:"simvol",verb:"olmalıdır"},file:{unit:"bayt",verb:"olmalıdır"},array:{unit:"element",verb:"olmalıdır"},set:{unit:"element",verb:"olmalıdır"}};function J(I){return X[I]??null}let Y={regex:"input",email:"email address",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO datetime",date:"ISO date",time:"ISO time",duration:"ISO duration",ipv4:"IPv4 address",ipv6:"IPv6 address",cidrv4:"IPv4 range",cidrv6:"IPv6 range",base64:"base64-encoded string",base64url:"base64url-encoded string",json_string:"JSON string",e164:"E.164 number",jwt:"JWT",template_literal:"input"},V={nan:"NaN"};return(I)=>{switch(I.code){case"invalid_type":{let O=V[I.expected]??I.expected,Z=Q$(I.input),L=V[Z]??Z;if(/^[A-Z]/.test(I.expected))return`Yanlış dəyər: gözlənilən instanceof ${I.expected}, daxil olan ${L}`;return`Yanlış dəyər: gözlənilən ${O}, daxil olan ${L}`}case"invalid_value":if(I.values.length===1)return`Yanlış dəyər: gözlənilən ${J$(I.values[0])}`;return`Yanlış seçim: aşağıdakılardan biri olmalıdır: ${g0(I.values,"|")}`;case"too_big":{let O=I.inclusive?"<=":"<",Z=J(I.origin);if(Z)return`Çox böyük: gözlənilən ${I.origin??"dəyər"} ${O}${I.maximum.toString()} ${Z.unit??"element"}`;return`Çox böyük: gözlənilən ${I.origin??"dəyər"} ${O}${I.maximum.toString()}`}case"too_small":{let O=I.inclusive?">=":">",Z=J(I.origin);if(Z)return`Çox kiçik: gözlənilən ${I.origin} ${O}${I.minimum.toString()} ${Z.unit}`;return`Çox kiçik: gözlənilən ${I.origin} ${O}${I.minimum.toString()}`}case"invalid_format":{let O=I;if(O.format==="starts_with")return`Yanlış mətn: "${O.prefix}" ilə başlamalıdır`;if(O.format==="ends_with")return`Yanlış mətn: "${O.suffix}" ilə bitməlidir`;if(O.format==="includes")return`Yanlış mətn: "${O.includes}" daxil olmalıdır`;if(O.format==="regex")return`Yanlış mətn: ${O.pattern} şablonuna uyğun olmalıdır`;return`Yanlış ${Y[O.format]??I.format}`}case"not_multiple_of":return`Yanlış ədəd: ${I.divisor} ilə bölünə bilən olmalıdır`;case"unrecognized_keys":return`Tanınmayan açar${I.keys.length>1?"lar":""}: ${g0(I.keys,", ")}`;case"invalid_key":return`${I.origin} daxilində yanlış açar`;case"invalid_union":return"Yanlış dəyər";case"invalid_element":return`${I.origin} daxilində yanlış dəyər`;default:return"Yanlış dəyər"}}};function iH(){return{localeError:Qu()}}function UB(X,J,Y,V){let I=Math.abs(X),O=I%10,Z=I%100;if(Z>=11&&Z<=19)return V;if(O===1)return J;if(O>=2&&O<=4)return Y;return V}var Yu=()=>{let X={string:{unit:{one:"сімвал",few:"сімвалы",many:"сімвалаў"},verb:"мець"},array:{unit:{one:"элемент",few:"элементы",many:"элементаў"},verb:"мець"},set:{unit:{one:"элемент",few:"элементы",many:"элементаў"},verb:"мець"},file:{unit:{one:"байт",few:"байты",many:"байтаў"},verb:"мець"}};function J(I){return X[I]??null}let Y={regex:"увод",email:"email адрас",url:"URL",emoji:"эмодзі",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO дата і час",date:"ISO дата",time:"ISO час",duration:"ISO працягласць",ipv4:"IPv4 адрас",ipv6:"IPv6 адрас",cidrv4:"IPv4 дыяпазон",cidrv6:"IPv6 дыяпазон",base64:"радок у фармаце base64",base64url:"радок у фармаце base64url",json_string:"JSON радок",e164:"нумар E.164",jwt:"JWT",template_literal:"увод"},V={nan:"NaN",number:"лік",array:"масіў"};return(I)=>{switch(I.code){case"invalid_type":{let O=V[I.expected]??I.expected,Z=Q$(I.input),L=V[Z]??Z;if(/^[A-Z]/.test(I.expected))return`Няправільны ўвод: чакаўся instanceof ${I.expected}, атрымана ${L}`;return`Няправільны ўвод: чакаўся ${O}, атрымана ${L}`}case"invalid_value":if(I.values.length===1)return`Няправільны ўвод: чакалася ${J$(I.values[0])}`;return`Няправільны варыянт: чакаўся адзін з ${g0(I.values,"|")}`;case"too_big":{let O=I.inclusive?"<=":"<",Z=J(I.origin);if(Z){let L=Number(I.maximum),B=UB(L,Z.unit.one,Z.unit.few,Z.unit.many);return`Занадта вялікі: чакалася, што ${I.origin??"значэнне"} павінна ${Z.verb} ${O}${I.maximum.toString()} ${B}`}return`Занадта вялікі: чакалася, што ${I.origin??"значэнне"} павінна быць ${O}${I.maximum.toString()}`}case"too_small":{let O=I.inclusive?">=":">",Z=J(I.origin);if(Z){let L=Number(I.minimum),B=UB(L,Z.unit.one,Z.unit.few,Z.unit.many);return`Занадта малы: чакалася, што ${I.origin} павінна ${Z.verb} ${O}${I.minimum.toString()} ${B}`}return`Занадта малы: чакалася, што ${I.origin} павінна быць ${O}${I.minimum.toString()}`}case"invalid_format":{let O=I;if(O.format==="starts_with")return`Няправільны радок: павінен пачынацца з "${O.prefix}"`;if(O.format==="ends_with")return`Няправільны радок: павінен заканчвацца на "${O.suffix}"`;if(O.format==="includes")return`Няправільны радок: павінен змяшчаць "${O.includes}"`;if(O.format==="regex")return`Няправільны радок: павінен адпавядаць шаблону ${O.pattern}`;return`Няправільны ${Y[O.format]??I.format}`}case"not_multiple_of":return`Няправільны лік: павінен быць кратным ${I.divisor}`;case"unrecognized_keys":return`Нераспазнаны ${I.keys.length>1?"ключы":"ключ"}: ${g0(I.keys,", ")}`;case"invalid_key":return`Няправільны ключ у ${I.origin}`;case"invalid_union":return"Няправільны ўвод";case"invalid_element":return`Няправільнае значэнне ў ${I.origin}`;default:return"Няправільны ўвод"}}};function rH(){return{localeError:Yu()}}var Gu=()=>{let X={string:{unit:"символа",verb:"да съдържа"},file:{unit:"байта",verb:"да съдържа"},array:{unit:"елемента",verb:"да съдържа"},set:{unit:"елемента",verb:"да съдържа"}};function J(I){return X[I]??null}let Y={regex:"вход",email:"имейл адрес",url:"URL",emoji:"емоджи",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO време",date:"ISO дата",time:"ISO време",duration:"ISO продължителност",ipv4:"IPv4 адрес",ipv6:"IPv6 адрес",cidrv4:"IPv4 диапазон",cidrv6:"IPv6 диапазон",base64:"base64-кодиран низ",base64url:"base64url-кодиран низ",json_string:"JSON низ",e164:"E.164 номер",jwt:"JWT",template_literal:"вход"},V={nan:"NaN",number:"число",array:"масив"};return(I)=>{switch(I.code){case"invalid_type":{let O=V[I.expected]??I.expected,Z=Q$(I.input),L=V[Z]??Z;if(/^[A-Z]/.test(I.expected))return`Невалиден вход: очакван instanceof ${I.expected}, получен ${L}`;return`Невалиден вход: очакван ${O}, получен ${L}`}case"invalid_value":if(I.values.length===1)return`Невалиден вход: очакван ${J$(I.values[0])}`;return`Невалидна опция: очаквано едно от ${g0(I.values,"|")}`;case"too_big":{let O=I.inclusive?"<=":"<",Z=J(I.origin);if(Z)return`Твърде голямо: очаква се ${I.origin??"стойност"} да съдържа ${O}${I.maximum.toString()} ${Z.unit??"елемента"}`;return`Твърде голямо: очаква се ${I.origin??"стойност"} да бъде ${O}${I.maximum.toString()}`}case"too_small":{let O=I.inclusive?">=":">",Z=J(I.origin);if(Z)return`Твърде малко: очаква се ${I.origin} да съдържа ${O}${I.minimum.toString()} ${Z.unit}`;return`Твърде малко: очаква се ${I.origin} да бъде ${O}${I.minimum.toString()}`}case"invalid_format":{let O=I;if(O.format==="starts_with")return`Невалиден низ: трябва да започва с "${O.prefix}"`;if(O.format==="ends_with")return`Невалиден низ: трябва да завършва с "${O.suffix}"`;if(O.format==="includes")return`Невалиден низ: трябва да включва "${O.includes}"`;if(O.format==="regex")return`Невалиден низ: трябва да съвпада с ${O.pattern}`;let Z="Невалиден";if(O.format==="emoji")Z="Невалидно";if(O.format==="datetime")Z="Невалидно";if(O.format==="date")Z="Невалидна";if(O.format==="time")Z="Невалидно";if(O.format==="duration")Z="Невалидна";return`${Z} ${Y[O.format]??I.format}`}case"not_multiple_of":return`Невалидно число: трябва да бъде кратно на ${I.divisor}`;case"unrecognized_keys":return`Неразпознат${I.keys.length>1?"и":""} ключ${I.keys.length>1?"ове":""}: ${g0(I.keys,", ")}`;case"invalid_key":return`Невалиден ключ в ${I.origin}`;case"invalid_union":return"Невалиден вход";case"invalid_element":return`Невалидна стойност в ${I.origin}`;default:return"Невалиден вход"}}};function tH(){return{localeError:Gu()}}var Zu=()=>{let X={string:{unit:"caràcters",verb:"contenir"},file:{unit:"bytes",verb:"contenir"},array:{unit:"elements",verb:"contenir"},set:{unit:"elements",verb:"contenir"}};function J(I){return X[I]??null}let Y={regex:"entrada",email:"adreça electrònica",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"data i hora ISO",date:"data ISO",time:"hora ISO",duration:"durada ISO",ipv4:"adreça IPv4",ipv6:"adreça IPv6",cidrv4:"rang IPv4",cidrv6:"rang IPv6",base64:"cadena codificada en base64",base64url:"cadena codificada en base64url",json_string:"cadena JSON",e164:"número E.164",jwt:"JWT",template_literal:"entrada"},V={nan:"NaN"};return(I)=>{switch(I.code){case"invalid_type":{let O=V[I.expected]??I.expected,Z=Q$(I.input),L=V[Z]??Z;if(/^[A-Z]/.test(I.expected))return`Tipus invàlid: s'esperava instanceof ${I.expected}, s'ha rebut ${L}`;return`Tipus invàlid: s'esperava ${O}, s'ha rebut ${L}`}case"invalid_value":if(I.values.length===1)return`Valor invàlid: s'esperava ${J$(I.values[0])}`;return`Opció invàlida: s'esperava una de ${g0(I.values," o ")}`;case"too_big":{let O=I.inclusive?"com a màxim":"menys de",Z=J(I.origin);if(Z)return`Massa gran: s'esperava que ${I.origin??"el valor"} contingués ${O} ${I.maximum.toString()} ${Z.unit??"elements"}`;return`Massa gran: s'esperava que ${I.origin??"el valor"} fos ${O} ${I.maximum.toString()}`}case"too_small":{let O=I.inclusive?"com a mínim":"més de",Z=J(I.origin);if(Z)return`Massa petit: s'esperava que ${I.origin} contingués ${O} ${I.minimum.toString()} ${Z.unit}`;return`Massa petit: s'esperava que ${I.origin} fos ${O} ${I.minimum.toString()}`}case"invalid_format":{let O=I;if(O.format==="starts_with")return`Format invàlid: ha de començar amb "${O.prefix}"`;if(O.format==="ends_with")return`Format invàlid: ha d'acabar amb "${O.suffix}"`;if(O.format==="includes")return`Format invàlid: ha d'incloure "${O.includes}"`;if(O.format==="regex")return`Format invàlid: ha de coincidir amb el patró ${O.pattern}`;return`Format invàlid per a ${Y[O.format]??I.format}`}case"not_multiple_of":return`Número invàlid: ha de ser múltiple de ${I.divisor}`;case"unrecognized_keys":return`Clau${I.keys.length>1?"s":""} no reconeguda${I.keys.length>1?"s":""}: ${g0(I.keys,", ")}`;case"invalid_key":return`Clau invàlida a ${I.origin}`;case"invalid_union":return"Entrada invàlida";case"invalid_element":return`Element invàlid a ${I.origin}`;default:return"Entrada invàlida"}}};function aH(){return{localeError:Zu()}}var zu=()=>{let X={string:{unit:"znaků",verb:"mít"},file:{unit:"bajtů",verb:"mít"},array:{unit:"prvků",verb:"mít"},set:{unit:"prvků",verb:"mít"}};function J(I){return X[I]??null}let Y={regex:"regulární výraz",email:"e-mailová adresa",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"datum a čas ve formátu ISO",date:"datum ve formátu ISO",time:"čas ve formátu ISO",duration:"doba trvání ISO",ipv4:"IPv4 adresa",ipv6:"IPv6 adresa",cidrv4:"rozsah IPv4",cidrv6:"rozsah IPv6",base64:"řetězec zakódovaný ve formátu base64",base64url:"řetězec zakódovaný ve formátu base64url",json_string:"řetězec ve formátu JSON",e164:"číslo E.164",jwt:"JWT",template_literal:"vstup"},V={nan:"NaN",number:"číslo",string:"řetězec",function:"funkce",array:"pole"};return(I)=>{switch(I.code){case"invalid_type":{let O=V[I.expected]??I.expected,Z=Q$(I.input),L=V[Z]??Z;if(/^[A-Z]/.test(I.expected))return`Neplatný vstup: očekáváno instanceof ${I.expected}, obdrženo ${L}`;return`Neplatný vstup: očekáváno ${O}, obdrženo ${L}`}case"invalid_value":if(I.values.length===1)return`Neplatný vstup: očekáváno ${J$(I.values[0])}`;return`Neplatná možnost: očekávána jedna z hodnot ${g0(I.values,"|")}`;case"too_big":{let O=I.inclusive?"<=":"<",Z=J(I.origin);if(Z)return`Hodnota je příliš velká: ${I.origin??"hodnota"} musí mít ${O}${I.maximum.toString()} ${Z.unit??"prvků"}`;return`Hodnota je příliš velká: ${I.origin??"hodnota"} musí být ${O}${I.maximum.toString()}`}case"too_small":{let O=I.inclusive?">=":">",Z=J(I.origin);if(Z)return`Hodnota je příliš malá: ${I.origin??"hodnota"} musí mít ${O}${I.minimum.toString()} ${Z.unit??"prvků"}`;return`Hodnota je příliš malá: ${I.origin??"hodnota"} musí být ${O}${I.minimum.toString()}`}case"invalid_format":{let O=I;if(O.format==="starts_with")return`Neplatný řetězec: musí začínat na "${O.prefix}"`;if(O.format==="ends_with")return`Neplatný řetězec: musí končit na "${O.suffix}"`;if(O.format==="includes")return`Neplatný řetězec: musí obsahovat "${O.includes}"`;if(O.format==="regex")return`Neplatný řetězec: musí odpovídat vzoru ${O.pattern}`;return`Neplatný formát ${Y[O.format]??I.format}`}case"not_multiple_of":return`Neplatné číslo: musí být násobkem ${I.divisor}`;case"unrecognized_keys":return`Neznámé klíče: ${g0(I.keys,", ")}`;case"invalid_key":return`Neplatný klíč v ${I.origin}`;case"invalid_union":return"Neplatný vstup";case"invalid_element":return`Neplatná hodnota v ${I.origin}`;default:return"Neplatný vstup"}}};function sH(){return{localeError:zu()}}var Ou=()=>{let X={string:{unit:"tegn",verb:"havde"},file:{unit:"bytes",verb:"havde"},array:{unit:"elementer",verb:"indeholdt"},set:{unit:"elementer",verb:"indeholdt"}};function J(I){return X[I]??null}let Y={regex:"input",email:"e-mailadresse",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO dato- og klokkeslæt",date:"ISO-dato",time:"ISO-klokkeslæt",duration:"ISO-varighed",ipv4:"IPv4-område",ipv6:"IPv6-område",cidrv4:"IPv4-spektrum",cidrv6:"IPv6-spektrum",base64:"base64-kodet streng",base64url:"base64url-kodet streng",json_string:"JSON-streng",e164:"E.164-nummer",jwt:"JWT",template_literal:"input"},V={nan:"NaN",string:"streng",number:"tal",boolean:"boolean",array:"liste",object:"objekt",set:"sæt",file:"fil"};return(I)=>{switch(I.code){case"invalid_type":{let O=V[I.expected]??I.expected,Z=Q$(I.input),L=V[Z]??Z;if(/^[A-Z]/.test(I.expected))return`Ugyldigt input: forventede instanceof ${I.expected}, fik ${L}`;return`Ugyldigt input: forventede ${O}, fik ${L}`}case"invalid_value":if(I.values.length===1)return`Ugyldig værdi: forventede ${J$(I.values[0])}`;return`Ugyldigt valg: forventede en af følgende ${g0(I.values,"|")}`;case"too_big":{let O=I.inclusive?"<=":"<",Z=J(I.origin),L=V[I.origin]??I.origin;if(Z)return`For stor: forventede ${L??"value"} ${Z.verb} ${O} ${I.maximum.toString()} ${Z.unit??"elementer"}`;return`For stor: forventede ${L??"value"} havde ${O} ${I.maximum.toString()}`}case"too_small":{let O=I.inclusive?">=":">",Z=J(I.origin),L=V[I.origin]??I.origin;if(Z)return`For lille: forventede ${L} ${Z.verb} ${O} ${I.minimum.toString()} ${Z.unit}`;return`For lille: forventede ${L} havde ${O} ${I.minimum.toString()}`}case"invalid_format":{let O=I;if(O.format==="starts_with")return`Ugyldig streng: skal starte med "${O.prefix}"`;if(O.format==="ends_with")return`Ugyldig streng: skal ende med "${O.suffix}"`;if(O.format==="includes")return`Ugyldig streng: skal indeholde "${O.includes}"`;if(O.format==="regex")return`Ugyldig streng: skal matche mønsteret ${O.pattern}`;return`Ugyldig ${Y[O.format]??I.format}`}case"not_multiple_of":return`Ugyldigt tal: skal være deleligt med ${I.divisor}`;case"unrecognized_keys":return`${I.keys.length>1?"Ukendte nøgler":"Ukendt nøgle"}: ${g0(I.keys,", ")}`;case"invalid_key":return`Ugyldig nøgle i ${I.origin}`;case"invalid_union":return"Ugyldigt input: matcher ingen af de tilladte typer";case"invalid_element":return`Ugyldig værdi i ${I.origin}`;default:return"Ugyldigt input"}}};function eH(){return{localeError:Ou()}}var Vu=()=>{let X={string:{unit:"Zeichen",verb:"zu haben"},file:{unit:"Bytes",verb:"zu haben"},array:{unit:"Elemente",verb:"zu haben"},set:{unit:"Elemente",verb:"zu haben"}};function J(I){return X[I]??null}let Y={regex:"Eingabe",email:"E-Mail-Adresse",url:"URL",emoji:"Emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO-Datum und -Uhrzeit",date:"ISO-Datum",time:"ISO-Uhrzeit",duration:"ISO-Dauer",ipv4:"IPv4-Adresse",ipv6:"IPv6-Adresse",cidrv4:"IPv4-Bereich",cidrv6:"IPv6-Bereich",base64:"Base64-codierter String",base64url:"Base64-URL-codierter String",json_string:"JSON-String",e164:"E.164-Nummer",jwt:"JWT",template_literal:"Eingabe"},V={nan:"NaN",number:"Zahl",array:"Array"};return(I)=>{switch(I.code){case"invalid_type":{let O=V[I.expected]??I.expected,Z=Q$(I.input),L=V[Z]??Z;if(/^[A-Z]/.test(I.expected))return`Ungültige Eingabe: erwartet instanceof ${I.expected}, erhalten ${L}`;return`Ungültige Eingabe: erwartet ${O}, erhalten ${L}`}case"invalid_value":if(I.values.length===1)return`Ungültige Eingabe: erwartet ${J$(I.values[0])}`;return`Ungültige Option: erwartet eine von ${g0(I.values,"|")}`;case"too_big":{let O=I.inclusive?"<=":"<",Z=J(I.origin);if(Z)return`Zu groß: erwartet, dass ${I.origin??"Wert"} ${O}${I.maximum.toString()} ${Z.unit??"Elemente"} hat`;return`Zu groß: erwartet, dass ${I.origin??"Wert"} ${O}${I.maximum.toString()} ist`}case"too_small":{let O=I.inclusive?">=":">",Z=J(I.origin);if(Z)return`Zu klein: erwartet, dass ${I.origin} ${O}${I.minimum.toString()} ${Z.unit} hat`;return`Zu klein: erwartet, dass ${I.origin} ${O}${I.minimum.toString()} ist`}case"invalid_format":{let O=I;if(O.format==="starts_with")return`Ungültiger String: muss mit "${O.prefix}" beginnen`;if(O.format==="ends_with")return`Ungültiger String: muss mit "${O.suffix}" enden`;if(O.format==="includes")return`Ungültiger String: muss "${O.includes}" enthalten`;if(O.format==="regex")return`Ungültiger String: muss dem Muster ${O.pattern} entsprechen`;return`Ungültig: ${Y[O.format]??I.format}`}case"not_multiple_of":return`Ungültige Zahl: muss ein Vielfaches von ${I.divisor} sein`;case"unrecognized_keys":return`${I.keys.length>1?"Unbekannte Schlüssel":"Unbekannter Schlüssel"}: ${g0(I.keys,", ")}`;case"invalid_key":return`Ungültiger Schlüssel in ${I.origin}`;case"invalid_union":return"Ungültige Eingabe";case"invalid_element":return`Ungültiger Wert in ${I.origin}`;default:return"Ungültige Eingabe"}}};function $L(){return{localeError:Vu()}}var Du=()=>{let X={string:{unit:"χαρακτήρες",verb:"να έχει"},file:{unit:"bytes",verb:"να έχει"},array:{unit:"στοιχεία",verb:"να έχει"},set:{unit:"στοιχεία",verb:"να έχει"},map:{unit:"καταχωρήσεις",verb:"να έχει"}};function J(I){return X[I]??null}let Y={regex:"είσοδος",email:"διεύθυνση email",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO ημερομηνία και ώρα",date:"ISO ημερομηνία",time:"ISO ώρα",duration:"ISO διάρκεια",ipv4:"διεύθυνση IPv4",ipv6:"διεύθυνση IPv6",mac:"διεύθυνση MAC",cidrv4:"εύρος IPv4",cidrv6:"εύρος IPv6",base64:"συμβολοσειρά κωδικοποιημένη σε base64",base64url:"συμβολοσειρά κωδικοποιημένη σε base64url",json_string:"συμβολοσειρά JSON",e164:"αριθμός E.164",jwt:"JWT",template_literal:"είσοδος"},V={nan:"NaN"};return(I)=>{switch(I.code){case"invalid_type":{let O=V[I.expected]??I.expected,Z=Q$(I.input),L=V[Z]??Z;if(typeof I.expected==="string"&&/^[A-Z]/.test(I.expected))return`Μη έγκυρη είσοδος: αναμενόταν instanceof ${I.expected}, λήφθηκε ${L}`;return`Μη έγκυρη είσοδος: αναμενόταν ${O}, λήφθηκε ${L}`}case"invalid_value":if(I.values.length===1)return`Μη έγκυρη είσοδος: αναμενόταν ${J$(I.values[0])}`;return`Μη έγκυρη επιλογή: αναμενόταν ένα από ${g0(I.values,"|")}`;case"too_big":{let O=I.inclusive?"<=":"<",Z=J(I.origin);if(Z)return`Πολύ μεγάλο: αναμενόταν ${I.origin??"τιμή"} να έχει ${O}${I.maximum.toString()} ${Z.unit??"στοιχεία"}`;return`Πολύ μεγάλο: αναμενόταν ${I.origin??"τιμή"} να είναι ${O}${I.maximum.toString()}`}case"too_small":{let O=I.inclusive?">=":">",Z=J(I.origin);if(Z)return`Πολύ μικρό: αναμενόταν ${I.origin} να έχει ${O}${I.minimum.toString()} ${Z.unit}`;return`Πολύ μικρό: αναμενόταν ${I.origin} να είναι ${O}${I.minimum.toString()}`}case"invalid_format":{let O=I;if(O.format==="starts_with")return`Μη έγκυρη συμβολοσειρά: πρέπει να ξεκινά με "${O.prefix}"`;if(O.format==="ends_with")return`Μη έγκυρη συμβολοσειρά: πρέπει να τελειώνει με "${O.suffix}"`;if(O.format==="includes")return`Μη έγκυρη συμβολοσειρά: πρέπει να περιέχει "${O.includes}"`;if(O.format==="regex")return`Μη έγκυρη συμβολοσειρά: πρέπει να ταιριάζει με το μοτίβο ${O.pattern}`;return`Μη έγκυρο: ${Y[O.format]??I.format}`}case"not_multiple_of":return`Μη έγκυρος αριθμός: πρέπει να είναι πολλαπλάσιο του ${I.divisor}`;case"unrecognized_keys":return`Άγνωστ${I.keys.length>1?"α":"ο"} κλειδ${I.keys.length>1?"ιά":"ί"}: ${g0(I.keys,", ")}`;case"invalid_key":return`Μη έγκυρο κλειδί στο ${I.origin}`;case"invalid_union":return"Μη έγκυρη είσοδος";case"invalid_element":return`Μη έγκυρη τιμή στο ${I.origin}`;default:return"Μη έγκυρη είσοδος"}}};function UL(){return{localeError:Du()}}var Ku=()=>{let X={string:{unit:"characters",verb:"to have"},file:{unit:"bytes",verb:"to have"},array:{unit:"items",verb:"to have"},set:{unit:"items",verb:"to have"},map:{unit:"entries",verb:"to have"}};function J(I){return X[I]??null}let Y={regex:"input",email:"email address",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO datetime",date:"ISO date",time:"ISO time",duration:"ISO duration",ipv4:"IPv4 address",ipv6:"IPv6 address",mac:"MAC address",cidrv4:"IPv4 range",cidrv6:"IPv6 range",base64:"base64-encoded string",base64url:"base64url-encoded string",json_string:"JSON string",e164:"E.164 number",jwt:"JWT",template_literal:"input"},V={nan:"NaN"};return(I)=>{switch(I.code){case"invalid_type":{let O=V[I.expected]??I.expected,Z=Q$(I.input),L=V[Z]??Z;return`Invalid input: expected ${O}, received ${L}`}case"invalid_value":if(I.values.length===1)return`Invalid input: expected ${J$(I.values[0])}`;return`Invalid option: expected one of ${g0(I.values,"|")}`;case"too_big":{let O=I.inclusive?"<=":"<",Z=J(I.origin);if(Z)return`Too big: expected ${I.origin??"value"} to have ${O}${I.maximum.toString()} ${Z.unit??"elements"}`;return`Too big: expected ${I.origin??"value"} to be ${O}${I.maximum.toString()}`}case"too_small":{let O=I.inclusive?">=":">",Z=J(I.origin);if(Z)return`Too small: expected ${I.origin} to have ${O}${I.minimum.toString()} ${Z.unit}`;return`Too small: expected ${I.origin} to be ${O}${I.minimum.toString()}`}case"invalid_format":{let O=I;if(O.format==="starts_with")return`Invalid string: must start with "${O.prefix}"`;if(O.format==="ends_with")return`Invalid string: must end with "${O.suffix}"`;if(O.format==="includes")return`Invalid string: must include "${O.includes}"`;if(O.format==="regex")return`Invalid string: must match pattern ${O.pattern}`;return`Invalid ${Y[O.format]??I.format}`}case"not_multiple_of":return`Invalid number: must be a multiple of ${I.divisor}`;case"unrecognized_keys":return`Unrecognized key${I.keys.length>1?"s":""}: ${g0(I.keys,", ")}`;case"invalid_key":return`Invalid key in ${I.origin}`;case"invalid_union":if(I.options&&Array.isArray(I.options)&&I.options.length>0)return`Invalid discriminator value. Expected ${I.options.map((Z)=>`'${Z}'`).join(" | ")}`;return"Invalid input";case"invalid_element":return`Invalid value in ${I.origin}`;default:return"Invalid input"}}};function P2(){return{localeError:Ku()}}var Wu=()=>{let X={string:{unit:"karaktrojn",verb:"havi"},file:{unit:"bajtojn",verb:"havi"},array:{unit:"elementojn",verb:"havi"},set:{unit:"elementojn",verb:"havi"}};function J(I){return X[I]??null}let Y={regex:"enigo",email:"retadreso",url:"URL",emoji:"emoĝio",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO-datotempo",date:"ISO-dato",time:"ISO-tempo",duration:"ISO-daŭro",ipv4:"IPv4-adreso",ipv6:"IPv6-adreso",cidrv4:"IPv4-rango",cidrv6:"IPv6-rango",base64:"64-ume kodita karaktraro",base64url:"URL-64-ume kodita karaktraro",json_string:"JSON-karaktraro",e164:"E.164-nombro",jwt:"JWT",template_literal:"enigo"},V={nan:"NaN",number:"nombro",array:"tabelo",null:"senvalora"};return(I)=>{switch(I.code){case"invalid_type":{let O=V[I.expected]??I.expected,Z=Q$(I.input),L=V[Z]??Z;if(/^[A-Z]/.test(I.expected))return`Nevalida enigo: atendiĝis instanceof ${I.expected}, riceviĝis ${L}`;return`Nevalida enigo: atendiĝis ${O}, riceviĝis ${L}`}case"invalid_value":if(I.values.length===1)return`Nevalida enigo: atendiĝis ${J$(I.values[0])}`;return`Nevalida opcio: atendiĝis unu el ${g0(I.values,"|")}`;case"too_big":{let O=I.inclusive?"<=":"<",Z=J(I.origin);if(Z)return`Tro granda: atendiĝis ke ${I.origin??"valoro"} havu ${O}${I.maximum.toString()} ${Z.unit??"elementojn"}`;return`Tro granda: atendiĝis ke ${I.origin??"valoro"} havu ${O}${I.maximum.toString()}`}case"too_small":{let O=I.inclusive?">=":">",Z=J(I.origin);if(Z)return`Tro malgranda: atendiĝis ke ${I.origin} havu ${O}${I.minimum.toString()} ${Z.unit}`;return`Tro malgranda: atendiĝis ke ${I.origin} estu ${O}${I.minimum.toString()}`}case"invalid_format":{let O=I;if(O.format==="starts_with")return`Nevalida karaktraro: devas komenciĝi per "${O.prefix}"`;if(O.format==="ends_with")return`Nevalida karaktraro: devas finiĝi per "${O.suffix}"`;if(O.format==="includes")return`Nevalida karaktraro: devas inkluzivi "${O.includes}"`;if(O.format==="regex")return`Nevalida karaktraro: devas kongrui kun la modelo ${O.pattern}`;return`Nevalida ${Y[O.format]??I.format}`}case"not_multiple_of":return`Nevalida nombro: devas esti oblo de ${I.divisor}`;case"unrecognized_keys":return`Nekonata${I.keys.length>1?"j":""} ŝlosilo${I.keys.length>1?"j":""}: ${g0(I.keys,", ")}`;case"invalid_key":return`Nevalida ŝlosilo en ${I.origin}`;case"invalid_union":return"Nevalida enigo";case"invalid_element":return`Nevalida valoro en ${I.origin}`;default:return"Nevalida enigo"}}};function XL(){return{localeError:Wu()}}var Fu=()=>{let X={string:{unit:"caracteres",verb:"tener"},file:{unit:"bytes",verb:"tener"},array:{unit:"elementos",verb:"tener"},set:{unit:"elementos",verb:"tener"}};function J(I){return X[I]??null}let Y={regex:"entrada",email:"dirección de correo electrónico",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"fecha y hora ISO",date:"fecha ISO",time:"hora ISO",duration:"duración ISO",ipv4:"dirección IPv4",ipv6:"dirección IPv6",cidrv4:"rango IPv4",cidrv6:"rango IPv6",base64:"cadena codificada en base64",base64url:"URL codificada en base64",json_string:"cadena JSON",e164:"número E.164",jwt:"JWT",template_literal:"entrada"},V={nan:"NaN",string:"texto",number:"número",boolean:"booleano",array:"arreglo",object:"objeto",set:"conjunto",file:"archivo",date:"fecha",bigint:"número grande",symbol:"símbolo",undefined:"indefinido",null:"nulo",function:"función",map:"mapa",record:"registro",tuple:"tupla",enum:"enumeración",union:"unión",literal:"literal",promise:"promesa",void:"vacío",never:"nunca",unknown:"desconocido",any:"cualquiera"};return(I)=>{switch(I.code){case"invalid_type":{let O=V[I.expected]??I.expected,Z=Q$(I.input),L=V[Z]??Z;if(/^[A-Z]/.test(I.expected))return`Entrada inválida: se esperaba instanceof ${I.expected}, recibido ${L}`;return`Entrada inválida: se esperaba ${O}, recibido ${L}`}case"invalid_value":if(I.values.length===1)return`Entrada inválida: se esperaba ${J$(I.values[0])}`;return`Opción inválida: se esperaba una de ${g0(I.values,"|")}`;case"too_big":{let O=I.inclusive?"<=":"<",Z=J(I.origin),L=V[I.origin]??I.origin;if(Z)return`Demasiado grande: se esperaba que ${L??"valor"} tuviera ${O}${I.maximum.toString()} ${Z.unit??"elementos"}`;return`Demasiado grande: se esperaba que ${L??"valor"} fuera ${O}${I.maximum.toString()}`}case"too_small":{let O=I.inclusive?">=":">",Z=J(I.origin),L=V[I.origin]??I.origin;if(Z)return`Demasiado pequeño: se esperaba que ${L} tuviera ${O}${I.minimum.toString()} ${Z.unit}`;return`Demasiado pequeño: se esperaba que ${L} fuera ${O}${I.minimum.toString()}`}case"invalid_format":{let O=I;if(O.format==="starts_with")return`Cadena inválida: debe comenzar con "${O.prefix}"`;if(O.format==="ends_with")return`Cadena inválida: debe terminar en "${O.suffix}"`;if(O.format==="includes")return`Cadena inválida: debe incluir "${O.includes}"`;if(O.format==="regex")return`Cadena inválida: debe coincidir con el patrón ${O.pattern}`;return`Inválido ${Y[O.format]??I.format}`}case"not_multiple_of":return`Número inválido: debe ser múltiplo de ${I.divisor}`;case"unrecognized_keys":return`Llave${I.keys.length>1?"s":""} desconocida${I.keys.length>1?"s":""}: ${g0(I.keys,", ")}`;case"invalid_key":return`Llave inválida en ${V[I.origin]??I.origin}`;case"invalid_union":return"Entrada inválida";case"invalid_element":return`Valor inválido en ${V[I.origin]??I.origin}`;default:return"Entrada inválida"}}};function IL(){return{localeError:Fu()}}var Hu=()=>{let X={string:{unit:"کاراکتر",verb:"داشته باشد"},file:{unit:"بایت",verb:"داشته باشد"},array:{unit:"آیتم",verb:"داشته باشد"},set:{unit:"آیتم",verb:"داشته باشد"}};function J(I){return X[I]??null}let Y={regex:"ورودی",email:"آدرس ایمیل",url:"URL",emoji:"ایموجی",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"تاریخ و زمان ایزو",date:"تاریخ ایزو",time:"زمان ایزو",duration:"مدت زمان ایزو",ipv4:"IPv4 آدرس",ipv6:"IPv6 آدرس",cidrv4:"IPv4 دامنه",cidrv6:"IPv6 دامنه",base64:"base64-encoded رشته",base64url:"base64url-encoded رشته",json_string:"JSON رشته",e164:"E.164 عدد",jwt:"JWT",template_literal:"ورودی"},V={nan:"NaN",number:"عدد",array:"آرایه"};return(I)=>{switch(I.code){case"invalid_type":{let O=V[I.expected]??I.expected,Z=Q$(I.input),L=V[Z]??Z;if(/^[A-Z]/.test(I.expected))return`ورودی نامعتبر: می‌بایست instanceof ${I.expected} می‌بود، ${L} دریافت شد`;return`ورودی نامعتبر: می‌بایست ${O} می‌بود، ${L} دریافت شد`}case"invalid_value":if(I.values.length===1)return`ورودی نامعتبر: می‌بایست ${J$(I.values[0])} می‌بود`;return`گزینه نامعتبر: می‌بایست یکی از ${g0(I.values,"|")} می‌بود`;case"too_big":{let O=I.inclusive?"<=":"<",Z=J(I.origin);if(Z)return`خیلی بزرگ: ${I.origin??"مقدار"} باید ${O}${I.maximum.toString()} ${Z.unit??"عنصر"} باشد`;return`خیلی بزرگ: ${I.origin??"مقدار"} باید ${O}${I.maximum.toString()} باشد`}case"too_small":{let O=I.inclusive?">=":">",Z=J(I.origin);if(Z)return`خیلی کوچک: ${I.origin} باید ${O}${I.minimum.toString()} ${Z.unit} باشد`;return`خیلی کوچک: ${I.origin} باید ${O}${I.minimum.toString()} باشد`}case"invalid_format":{let O=I;if(O.format==="starts_with")return`رشته نامعتبر: باید با "${O.prefix}" شروع شود`;if(O.format==="ends_with")return`رشته نامعتبر: باید با "${O.suffix}" تمام شود`;if(O.format==="includes")return`رشته نامعتبر: باید شامل "${O.includes}" باشد`;if(O.format==="regex")return`رشته نامعتبر: باید با الگوی ${O.pattern} مطابقت داشته باشد`;return`${Y[O.format]??I.format} نامعتبر`}case"not_multiple_of":return`عدد نامعتبر: باید مضرب ${I.divisor} باشد`;case"unrecognized_keys":return`کلید${I.keys.length>1?"های":""} ناشناس: ${g0(I.keys,", ")}`;case"invalid_key":return`کلید ناشناس در ${I.origin}`;case"invalid_union":return"ورودی نامعتبر";case"invalid_element":return`مقدار نامعتبر در ${I.origin}`;default:return"ورودی نامعتبر"}}};function JL(){return{localeError:Hu()}}var Lu=()=>{let X={string:{unit:"merkkiä",subject:"merkkijonon"},file:{unit:"tavua",subject:"tiedoston"},array:{unit:"alkiota",subject:"listan"},set:{unit:"alkiota",subject:"joukon"},number:{unit:"",subject:"luvun"},bigint:{unit:"",subject:"suuren kokonaisluvun"},int:{unit:"",subject:"kokonaisluvun"},date:{unit:"",subject:"päivämäärän"}};function J(I){return X[I]??null}let Y={regex:"säännöllinen lauseke",email:"sähköpostiosoite",url:"URL-osoite",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO-aikaleima",date:"ISO-päivämäärä",time:"ISO-aika",duration:"ISO-kesto",ipv4:"IPv4-osoite",ipv6:"IPv6-osoite",cidrv4:"IPv4-alue",cidrv6:"IPv6-alue",base64:"base64-koodattu merkkijono",base64url:"base64url-koodattu merkkijono",json_string:"JSON-merkkijono",e164:"E.164-luku",jwt:"JWT",template_literal:"templaattimerkkijono"},V={nan:"NaN"};return(I)=>{switch(I.code){case"invalid_type":{let O=V[I.expected]??I.expected,Z=Q$(I.input),L=V[Z]??Z;if(/^[A-Z]/.test(I.expected))return`Virheellinen tyyppi: odotettiin instanceof ${I.expected}, oli ${L}`;return`Virheellinen tyyppi: odotettiin ${O}, oli ${L}`}case"invalid_value":if(I.values.length===1)return`Virheellinen syöte: täytyy olla ${J$(I.values[0])}`;return`Virheellinen valinta: täytyy olla yksi seuraavista: ${g0(I.values,"|")}`;case"too_big":{let O=I.inclusive?"<=":"<",Z=J(I.origin);if(Z)return`Liian suuri: ${Z.subject} täytyy olla ${O}${I.maximum.toString()} ${Z.unit}`.trim();return`Liian suuri: arvon täytyy olla ${O}${I.maximum.toString()}`}case"too_small":{let O=I.inclusive?">=":">",Z=J(I.origin);if(Z)return`Liian pieni: ${Z.subject} täytyy olla ${O}${I.minimum.toString()} ${Z.unit}`.trim();return`Liian pieni: arvon täytyy olla ${O}${I.minimum.toString()}`}case"invalid_format":{let O=I;if(O.format==="starts_with")return`Virheellinen syöte: täytyy alkaa "${O.prefix}"`;if(O.format==="ends_with")return`Virheellinen syöte: täytyy loppua "${O.suffix}"`;if(O.format==="includes")return`Virheellinen syöte: täytyy sisältää "${O.includes}"`;if(O.format==="regex")return`Virheellinen syöte: täytyy vastata säännöllistä lauseketta ${O.pattern}`;return`Virheellinen ${Y[O.format]??I.format}`}case"not_multiple_of":return`Virheellinen luku: täytyy olla luvun ${I.divisor} monikerta`;case"unrecognized_keys":return`${I.keys.length>1?"Tuntemattomat avaimet":"Tuntematon avain"}: ${g0(I.keys,", ")}`;case"invalid_key":return"Virheellinen avain tietueessa";case"invalid_union":return"Virheellinen unioni";case"invalid_element":return"Virheellinen arvo joukossa";default:return"Virheellinen syöte"}}};function QL(){return{localeError:Lu()}}var Mu=()=>{let X={string:{unit:"caractères",verb:"avoir"},file:{unit:"octets",verb:"avoir"},array:{unit:"éléments",verb:"avoir"},set:{unit:"éléments",verb:"avoir"}};function J(I){return X[I]??null}let Y={regex:"entrée",email:"adresse e-mail",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"date et heure ISO",date:"date ISO",time:"heure ISO",duration:"durée ISO",ipv4:"adresse IPv4",ipv6:"adresse IPv6",cidrv4:"plage IPv4",cidrv6:"plage IPv6",base64:"chaîne encodée en base64",base64url:"chaîne encodée en base64url",json_string:"chaîne JSON",e164:"numéro E.164",jwt:"JWT",template_literal:"entrée"},V={string:"chaîne",number:"nombre",int:"entier",boolean:"booléen",bigint:"grand entier",symbol:"symbole",undefined:"indéfini",null:"null",never:"jamais",void:"vide",date:"date",array:"tableau",object:"objet",tuple:"tuple",record:"enregistrement",map:"carte",set:"ensemble",file:"fichier",nonoptional:"non-optionnel",nan:"NaN",function:"fonction"};return(I)=>{switch(I.code){case"invalid_type":{let O=V[I.expected]??I.expected,Z=Q$(I.input),L=V[Z]??Z;if(/^[A-Z]/.test(I.expected))return`Entrée invalide : instanceof ${I.expected} attendu, ${L} reçu`;return`Entrée invalide : ${O} attendu, ${L} reçu`}case"invalid_value":if(I.values.length===1)return`Entrée invalide : ${J$(I.values[0])} attendu`;return`Option invalide : une valeur parmi ${g0(I.values,"|")} attendue`;case"too_big":{let O=I.inclusive?"<=":"<",Z=J(I.origin);if(Z)return`Trop grand : ${V[I.origin]??"valeur"} doit ${Z.verb} ${O}${I.maximum.toString()} ${Z.unit??"élément(s)"}`;return`Trop grand : ${V[I.origin]??"valeur"} doit être ${O}${I.maximum.toString()}`}case"too_small":{let O=I.inclusive?">=":">",Z=J(I.origin);if(Z)return`Trop petit : ${V[I.origin]??"valeur"} doit ${Z.verb} ${O}${I.minimum.toString()} ${Z.unit}`;return`Trop petit : ${V[I.origin]??"valeur"} doit être ${O}${I.minimum.toString()}`}case"invalid_format":{let O=I;if(O.format==="starts_with")return`Chaîne invalide : doit commencer par "${O.prefix}"`;if(O.format==="ends_with")return`Chaîne invalide : doit se terminer par "${O.suffix}"`;if(O.format==="includes")return`Chaîne invalide : doit inclure "${O.includes}"`;if(O.format==="regex")return`Chaîne invalide : doit correspondre au modèle ${O.pattern}`;return`${Y[O.format]??I.format} invalide`}case"not_multiple_of":return`Nombre invalide : doit être un multiple de ${I.divisor}`;case"unrecognized_keys":return`Clé${I.keys.length>1?"s":""} non reconnue${I.keys.length>1?"s":""} : ${g0(I.keys,", ")}`;case"invalid_key":return`Clé invalide dans ${I.origin}`;case"invalid_union":return"Entrée invalide";case"invalid_element":return`Valeur invalide dans ${I.origin}`;default:return"Entrée invalide"}}};function YL(){return{localeError:Mu()}}var Au=()=>{let X={string:{unit:"caractères",verb:"avoir"},file:{unit:"octets",verb:"avoir"},array:{unit:"éléments",verb:"avoir"},set:{unit:"éléments",verb:"avoir"}};function J(I){return X[I]??null}let Y={regex:"entrée",email:"adresse courriel",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"date-heure ISO",date:"date ISO",time:"heure ISO",duration:"durée ISO",ipv4:"adresse IPv4",ipv6:"adresse IPv6",cidrv4:"plage IPv4",cidrv6:"plage IPv6",base64:"chaîne encodée en base64",base64url:"chaîne encodée en base64url",json_string:"chaîne JSON",e164:"numéro E.164",jwt:"JWT",template_literal:"entrée"},V={nan:"NaN"};return(I)=>{switch(I.code){case"invalid_type":{let O=V[I.expected]??I.expected,Z=Q$(I.input),L=V[Z]??Z;if(/^[A-Z]/.test(I.expected))return`Entrée invalide : attendu instanceof ${I.expected}, reçu ${L}`;return`Entrée invalide : attendu ${O}, reçu ${L}`}case"invalid_value":if(I.values.length===1)return`Entrée invalide : attendu ${J$(I.values[0])}`;return`Option invalide : attendu l'une des valeurs suivantes ${g0(I.values,"|")}`;case"too_big":{let O=I.inclusive?"≤":"<",Z=J(I.origin);if(Z)return`Trop grand : attendu que ${I.origin??"la valeur"} ait ${O}${I.maximum.toString()} ${Z.unit}`;return`Trop grand : attendu que ${I.origin??"la valeur"} soit ${O}${I.maximum.toString()}`}case"too_small":{let O=I.inclusive?"≥":">",Z=J(I.origin);if(Z)return`Trop petit : attendu que ${I.origin} ait ${O}${I.minimum.toString()} ${Z.unit}`;return`Trop petit : attendu que ${I.origin} soit ${O}${I.minimum.toString()}`}case"invalid_format":{let O=I;if(O.format==="starts_with")return`Chaîne invalide : doit commencer par "${O.prefix}"`;if(O.format==="ends_with")return`Chaîne invalide : doit se terminer par "${O.suffix}"`;if(O.format==="includes")return`Chaîne invalide : doit inclure "${O.includes}"`;if(O.format==="regex")return`Chaîne invalide : doit correspondre au motif ${O.pattern}`;return`${Y[O.format]??I.format} invalide`}case"not_multiple_of":return`Nombre invalide : doit être un multiple de ${I.divisor}`;case"unrecognized_keys":return`Clé${I.keys.length>1?"s":""} non reconnue${I.keys.length>1?"s":""} : ${g0(I.keys,", ")}`;case"invalid_key":return`Clé invalide dans ${I.origin}`;case"invalid_union":return"Entrée invalide";case"invalid_element":return`Valeur invalide dans ${I.origin}`;default:return"Entrée invalide"}}};function GL(){return{localeError:Au()}}var Tu=()=>{let X={string:{label:"מחרוזת",gender:"f"},number:{label:"מספר",gender:"m"},boolean:{label:"ערך בוליאני",gender:"m"},bigint:{label:"BigInt",gender:"m"},date:{label:"תאריך",gender:"m"},array:{label:"מערך",gender:"m"},object:{label:"אובייקט",gender:"m"},null:{label:"ערך ריק (null)",gender:"m"},undefined:{label:"ערך לא מוגדר (undefined)",gender:"m"},symbol:{label:"סימבול (Symbol)",gender:"m"},function:{label:"פונקציה",gender:"f"},map:{label:"מפה (Map)",gender:"f"},set:{label:"קבוצה (Set)",gender:"f"},file:{label:"קובץ",gender:"m"},promise:{label:"Promise",gender:"m"},NaN:{label:"NaN",gender:"m"},unknown:{label:"ערך לא ידוע",gender:"m"},value:{label:"ערך",gender:"m"}},J={string:{unit:"תווים",shortLabel:"קצר",longLabel:"ארוך"},file:{unit:"בייטים",shortLabel:"קטן",longLabel:"גדול"},array:{unit:"פריטים",shortLabel:"קטן",longLabel:"גדול"},set:{unit:"פריטים",shortLabel:"קטן",longLabel:"גדול"},number:{unit:"",shortLabel:"קטן",longLabel:"גדול"}},Y=(R)=>R?X[R]:void 0,V=(R)=>{let S=Y(R);if(S)return S.label;return R??X.unknown.label},I=(R)=>`ה${V(R)}`,O=(R)=>{return(Y(R)?.gender??"m")==="f"?"צריכה להיות":"צריך להיות"},Z=(R)=>{if(!R)return null;return J[R]??null},L={regex:{label:"קלט",gender:"m"},email:{label:"כתובת אימייל",gender:"f"},url:{label:"כתובת רשת",gender:"f"},emoji:{label:"אימוג'י",gender:"m"},uuid:{label:"UUID",gender:"m"},nanoid:{label:"nanoid",gender:"m"},guid:{label:"GUID",gender:"m"},cuid:{label:"cuid",gender:"m"},cuid2:{label:"cuid2",gender:"m"},ulid:{label:"ULID",gender:"m"},xid:{label:"XID",gender:"m"},ksuid:{label:"KSUID",gender:"m"},datetime:{label:"תאריך וזמן ISO",gender:"m"},date:{label:"תאריך ISO",gender:"m"},time:{label:"זמן ISO",gender:"m"},duration:{label:"משך זמן ISO",gender:"m"},ipv4:{label:"כתובת IPv4",gender:"f"},ipv6:{label:"כתובת IPv6",gender:"f"},cidrv4:{label:"טווח IPv4",gender:"m"},cidrv6:{label:"טווח IPv6",gender:"m"},base64:{label:"מחרוזת בבסיס 64",gender:"f"},base64url:{label:"מחרוזת בבסיס 64 לכתובות רשת",gender:"f"},json_string:{label:"מחרוזת JSON",gender:"f"},e164:{label:"מספר E.164",gender:"m"},jwt:{label:"JWT",gender:"m"},ends_with:{label:"קלט",gender:"m"},includes:{label:"קלט",gender:"m"},lowercase:{label:"קלט",gender:"m"},starts_with:{label:"קלט",gender:"m"},uppercase:{label:"קלט",gender:"m"}},B={nan:"NaN"};return(R)=>{switch(R.code){case"invalid_type":{let S=R.expected,T=B[S??""]??V(S),E=Q$(R.input),v=B[E]??X[E]?.label??E;if(/^[A-Z]/.test(R.expected))return`קלט לא תקין: צריך להיות instanceof ${R.expected}, התקבל ${v}`;return`קלט לא תקין: צריך להיות ${T}, התקבל ${v}`}case"invalid_value":{if(R.values.length===1)return`ערך לא תקין: הערך חייב להיות ${J$(R.values[0])}`;let S=R.values.map((v)=>J$(v));if(R.values.length===2)return`ערך לא תקין: האפשרויות המתאימות הן ${S[0]} או ${S[1]}`;let T=S[S.length-1];return`ערך לא תקין: האפשרויות המתאימות הן ${S.slice(0,-1).join(", ")} או ${T}`}case"too_big":{let S=Z(R.origin),T=I(R.origin??"value");if(R.origin==="string")return`${S?.longLabel??"ארוך"} מדי: ${T} צריכה להכיל ${R.maximum.toString()} ${S?.unit??""} ${R.inclusive?"או פחות":"לכל היותר"}`.trim();if(R.origin==="number"){let q=R.inclusive?`קטן או שווה ל-${R.maximum}`:`קטן מ-${R.maximum}`;return`גדול מדי: ${T} צריך להיות ${q}`}if(R.origin==="array"||R.origin==="set"){let q=R.origin==="set"?"צריכה":"צריך",y=R.inclusive?`${R.maximum} ${S?.unit??""} או פחות`:`פחות מ-${R.maximum} ${S?.unit??""}`;return`גדול מדי: ${T} ${q} להכיל ${y}`.trim()}let E=R.inclusive?"<=":"<",v=O(R.origin??"value");if(S?.unit)return`${S.longLabel} מדי: ${T} ${v} ${E}${R.maximum.toString()} ${S.unit}`;return`${S?.longLabel??"גדול"} מדי: ${T} ${v} ${E}${R.maximum.toString()}`}case"too_small":{let S=Z(R.origin),T=I(R.origin??"value");if(R.origin==="string")return`${S?.shortLabel??"קצר"} מדי: ${T} צריכה להכיל ${R.minimum.toString()} ${S?.unit??""} ${R.inclusive?"או יותר":"לפחות"}`.trim();if(R.origin==="number"){let q=R.inclusive?`גדול או שווה ל-${R.minimum}`:`גדול מ-${R.minimum}`;return`קטן מדי: ${T} צריך להיות ${q}`}if(R.origin==="array"||R.origin==="set"){let q=R.origin==="set"?"צריכה":"צריך";if(R.minimum===1&&R.inclusive){let w=R.origin==="set"?"לפחות פריט אחד":"לפחות פריט אחד";return`קטן מדי: ${T} ${q} להכיל ${w}`}let y=R.inclusive?`${R.minimum} ${S?.unit??""} או יותר`:`יותר מ-${R.minimum} ${S?.unit??""}`;return`קטן מדי: ${T} ${q} להכיל ${y}`.trim()}let E=R.inclusive?">=":">",v=O(R.origin??"value");if(S?.unit)return`${S.shortLabel} מדי: ${T} ${v} ${E}${R.minimum.toString()} ${S.unit}`;return`${S?.shortLabel??"קטן"} מדי: ${T} ${v} ${E}${R.minimum.toString()}`}case"invalid_format":{let S=R;if(S.format==="starts_with")return`המחרוזת חייבת להתחיל ב "${S.prefix}"`;if(S.format==="ends_with")return`המחרוזת חייבת להסתיים ב "${S.suffix}"`;if(S.format==="includes")return`המחרוזת חייבת לכלול "${S.includes}"`;if(S.format==="regex")return`המחרוזת חייבת להתאים לתבנית ${S.pattern}`;let T=L[S.format],E=T?.label??S.format,q=(T?.gender??"m")==="f"?"תקינה":"תקין";return`${E} לא ${q}`}case"not_multiple_of":return`מספר לא תקין: חייב להיות מכפלה של ${R.divisor}`;case"unrecognized_keys":return`מפתח${R.keys.length>1?"ות":""} לא מזוה${R.keys.length>1?"ים":"ה"}: ${g0(R.keys,", ")}`;case"invalid_key":return"שדה לא תקין באובייקט";case"invalid_union":return"קלט לא תקין";case"invalid_element":return`ערך לא תקין ב${I(R.origin??"array")}`;default:return"קלט לא תקין"}}};function ZL(){return{localeError:Tu()}}var Cu=()=>{let X={string:{unit:"znakova",verb:"imati"},file:{unit:"bajtova",verb:"imati"},array:{unit:"stavki",verb:"imati"},set:{unit:"stavki",verb:"imati"}};function J(I){return X[I]??null}let Y={regex:"unos",email:"email adresa",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO datum i vrijeme",date:"ISO datum",time:"ISO vrijeme",duration:"ISO trajanje",ipv4:"IPv4 adresa",ipv6:"IPv6 adresa",cidrv4:"IPv4 raspon",cidrv6:"IPv6 raspon",base64:"base64 kodirani tekst",base64url:"base64url kodirani tekst",json_string:"JSON tekst",e164:"E.164 broj",jwt:"JWT",template_literal:"unos"},V={nan:"NaN",string:"tekst",number:"broj",boolean:"boolean",array:"niz",object:"objekt",set:"skup",file:"datoteka",date:"datum",bigint:"bigint",symbol:"simbol",undefined:"undefined",null:"null",function:"funkcija",map:"mapa"};return(I)=>{switch(I.code){case"invalid_type":{let O=V[I.expected]??I.expected,Z=Q$(I.input),L=V[Z]??Z;if(/^[A-Z]/.test(I.expected))return`Neispravan unos: očekuje se instanceof ${I.expected}, a primljeno je ${L}`;return`Neispravan unos: očekuje se ${O}, a primljeno je ${L}`}case"invalid_value":if(I.values.length===1)return`Neispravna vrijednost: očekivano ${J$(I.values[0])}`;return`Neispravna opcija: očekivano jedno od ${g0(I.values,"|")}`;case"too_big":{let O=I.inclusive?"<=":"<",Z=J(I.origin),L=V[I.origin]??I.origin;if(Z)return`Preveliko: očekivano da ${L??"vrijednost"} ima ${O}${I.maximum.toString()} ${Z.unit??"elemenata"}`;return`Preveliko: očekivano da ${L??"vrijednost"} bude ${O}${I.maximum.toString()}`}case"too_small":{let O=I.inclusive?">=":">",Z=J(I.origin),L=V[I.origin]??I.origin;if(Z)return`Premalo: očekivano da ${L} ima ${O}${I.minimum.toString()} ${Z.unit}`;return`Premalo: očekivano da ${L} bude ${O}${I.minimum.toString()}`}case"invalid_format":{let O=I;if(O.format==="starts_with")return`Neispravan tekst: mora započinjati s "${O.prefix}"`;if(O.format==="ends_with")return`Neispravan tekst: mora završavati s "${O.suffix}"`;if(O.format==="includes")return`Neispravan tekst: mora sadržavati "${O.includes}"`;if(O.format==="regex")return`Neispravan tekst: mora odgovarati uzorku ${O.pattern}`;return`Neispravna ${Y[O.format]??I.format}`}case"not_multiple_of":return`Neispravan broj: mora biti višekratnik od ${I.divisor}`;case"unrecognized_keys":return`Neprepoznat${I.keys.length>1?"i ključevi":" ključ"}: ${g0(I.keys,", ")}`;case"invalid_key":return`Neispravan ključ u ${V[I.origin]??I.origin}`;case"invalid_union":return"Neispravan unos";case"invalid_element":return`Neispravna vrijednost u ${V[I.origin]??I.origin}`;default:return"Neispravan unos"}}};function zL(){return{localeError:Cu()}}var Pu=()=>{let X={string:{unit:"karakter",verb:"legyen"},file:{unit:"byte",verb:"legyen"},array:{unit:"elem",verb:"legyen"},set:{unit:"elem",verb:"legyen"}};function J(I){return X[I]??null}let Y={regex:"bemenet",email:"email cím",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO időbélyeg",date:"ISO dátum",time:"ISO idő",duration:"ISO időintervallum",ipv4:"IPv4 cím",ipv6:"IPv6 cím",cidrv4:"IPv4 tartomány",cidrv6:"IPv6 tartomány",base64:"base64-kódolt string",base64url:"base64url-kódolt string",json_string:"JSON string",e164:"E.164 szám",jwt:"JWT",template_literal:"bemenet"},V={nan:"NaN",number:"szám",array:"tömb"};return(I)=>{switch(I.code){case"invalid_type":{let O=V[I.expected]??I.expected,Z=Q$(I.input),L=V[Z]??Z;if(/^[A-Z]/.test(I.expected))return`Érvénytelen bemenet: a várt érték instanceof ${I.expected}, a kapott érték ${L}`;return`Érvénytelen bemenet: a várt érték ${O}, a kapott érték ${L}`}case"invalid_value":if(I.values.length===1)return`Érvénytelen bemenet: a várt érték ${J$(I.values[0])}`;return`Érvénytelen opció: valamelyik érték várt ${g0(I.values,"|")}`;case"too_big":{let O=I.inclusive?"<=":"<",Z=J(I.origin);if(Z)return`Túl nagy: ${I.origin??"érték"} mérete túl nagy ${O}${I.maximum.toString()} ${Z.unit??"elem"}`;return`Túl nagy: a bemeneti érték ${I.origin??"érték"} túl nagy: ${O}${I.maximum.toString()}`}case"too_small":{let O=I.inclusive?">=":">",Z=J(I.origin);if(Z)return`Túl kicsi: a bemeneti érték ${I.origin} mérete túl kicsi ${O}${I.minimum.toString()} ${Z.unit}`;return`Túl kicsi: a bemeneti érték ${I.origin} túl kicsi ${O}${I.minimum.toString()}`}case"invalid_format":{let O=I;if(O.format==="starts_with")return`Érvénytelen string: "${O.prefix}" értékkel kell kezdődnie`;if(O.format==="ends_with")return`Érvénytelen string: "${O.suffix}" értékkel kell végződnie`;if(O.format==="includes")return`Érvénytelen string: "${O.includes}" értéket kell tartalmaznia`;if(O.format==="regex")return`Érvénytelen string: ${O.pattern} mintának kell megfelelnie`;return`Érvénytelen ${Y[O.format]??I.format}`}case"not_multiple_of":return`Érvénytelen szám: ${I.divisor} többszörösének kell lennie`;case"unrecognized_keys":return`Ismeretlen kulcs${I.keys.length>1?"s":""}: ${g0(I.keys,", ")}`;case"invalid_key":return`Érvénytelen kulcs ${I.origin}`;case"invalid_union":return"Érvénytelen bemenet";case"invalid_element":return`Érvénytelen érték: ${I.origin}`;default:return"Érvénytelen bemenet"}}};function OL(){return{localeError:Pu()}}function XB(X,J,Y){return Math.abs(X)===1?J:Y}function hQ(X){if(!X)return"";let J=["ա","ե","ը","ի","ո","ու","օ"],Y=X[X.length-1];return X+(J.includes(Y)?"ն":"ը")}var _u=()=>{let X={string:{unit:{one:"նշան",many:"նշաններ"},verb:"ունենալ"},file:{unit:{one:"բայթ",many:"բայթեր"},verb:"ունենալ"},array:{unit:{one:"տարր",many:"տարրեր"},verb:"ունենալ"},set:{unit:{one:"տարր",many:"տարրեր"},verb:"ունենալ"}};function J(I){return X[I]??null}let Y={regex:"մուտք",email:"էլ. հասցե",url:"URL",emoji:"էմոջի",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO ամսաթիվ և ժամ",date:"ISO ամսաթիվ",time:"ISO ժամ",duration:"ISO տևողություն",ipv4:"IPv4 հասցե",ipv6:"IPv6 հասցե",cidrv4:"IPv4 միջակայք",cidrv6:"IPv6 միջակայք",base64:"base64 ձևաչափով տող",base64url:"base64url ձևաչափով տող",json_string:"JSON տող",e164:"E.164 համար",jwt:"JWT",template_literal:"մուտք"},V={nan:"NaN",number:"թիվ",array:"զանգված"};return(I)=>{switch(I.code){case"invalid_type":{let O=V[I.expected]??I.expected,Z=Q$(I.input),L=V[Z]??Z;if(/^[A-Z]/.test(I.expected))return`Սխալ մուտքագրում․ սպասվում էր instanceof ${I.expected}, ստացվել է ${L}`;return`Սխալ մուտքագրում․ սպասվում էր ${O}, ստացվել է ${L}`}case"invalid_value":if(I.values.length===1)return`Սխալ մուտքագրում․ սպասվում էր ${J$(I.values[1])}`;return`Սխալ տարբերակ․ սպասվում էր հետևյալներից մեկը՝ ${g0(I.values,"|")}`;case"too_big":{let O=I.inclusive?"<=":"<",Z=J(I.origin);if(Z){let L=Number(I.maximum),B=XB(L,Z.unit.one,Z.unit.many);return`Չափազանց մեծ արժեք․ սպասվում է, որ ${hQ(I.origin??"արժեք")} կունենա ${O}${I.maximum.toString()} ${B}`}return`Չափազանց մեծ արժեք․ սպասվում է, որ ${hQ(I.origin??"արժեք")} լինի ${O}${I.maximum.toString()}`}case"too_small":{let O=I.inclusive?">=":">",Z=J(I.origin);if(Z){let L=Number(I.minimum),B=XB(L,Z.unit.one,Z.unit.many);return`Չափազանց փոքր արժեք․ սպասվում է, որ ${hQ(I.origin)} կունենա ${O}${I.minimum.toString()} ${B}`}return`Չափազանց փոքր արժեք․ սպասվում է, որ ${hQ(I.origin)} լինի ${O}${I.minimum.toString()}`}case"invalid_format":{let O=I;if(O.format==="starts_with")return`Սխալ տող․ պետք է սկսվի "${O.prefix}"-ով`;if(O.format==="ends_with")return`Սխալ տող․ պետք է ավարտվի "${O.suffix}"-ով`;if(O.format==="includes")return`Սխալ տող․ պետք է պարունակի "${O.includes}"`;if(O.format==="regex")return`Սխալ տող․ պետք է համապատասխանի ${O.pattern} ձևաչափին`;return`Սխալ ${Y[O.format]??I.format}`}case"not_multiple_of":return`Սխալ թիվ․ պետք է բազմապատիկ լինի ${I.divisor}-ի`;case"unrecognized_keys":return`Չճանաչված բանալի${I.keys.length>1?"ներ":""}. ${g0(I.keys,", ")}`;case"invalid_key":return`Սխալ բանալի ${hQ(I.origin)}-ում`;case"invalid_union":return"Սխալ մուտքագրում";case"invalid_element":return`Սխալ արժեք ${hQ(I.origin)}-ում`;default:return"Սխալ մուտքագրում"}}};function VL(){return{localeError:_u()}}var Eu=()=>{let X={string:{unit:"karakter",verb:"memiliki"},file:{unit:"byte",verb:"memiliki"},array:{unit:"item",verb:"memiliki"},set:{unit:"item",verb:"memiliki"}};function J(I){return X[I]??null}let Y={regex:"input",email:"alamat email",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"tanggal dan waktu format ISO",date:"tanggal format ISO",time:"jam format ISO",duration:"durasi format ISO",ipv4:"alamat IPv4",ipv6:"alamat IPv6",cidrv4:"rentang alamat IPv4",cidrv6:"rentang alamat IPv6",base64:"string dengan enkode base64",base64url:"string dengan enkode base64url",json_string:"string JSON",e164:"angka E.164",jwt:"JWT",template_literal:"input"},V={nan:"NaN"};return(I)=>{switch(I.code){case"invalid_type":{let O=V[I.expected]??I.expected,Z=Q$(I.input),L=V[Z]??Z;if(/^[A-Z]/.test(I.expected))return`Input tidak valid: diharapkan instanceof ${I.expected}, diterima ${L}`;return`Input tidak valid: diharapkan ${O}, diterima ${L}`}case"invalid_value":if(I.values.length===1)return`Input tidak valid: diharapkan ${J$(I.values[0])}`;return`Pilihan tidak valid: diharapkan salah satu dari ${g0(I.values,"|")}`;case"too_big":{let O=I.inclusive?"<=":"<",Z=J(I.origin);if(Z)return`Terlalu besar: diharapkan ${I.origin??"value"} memiliki ${O}${I.maximum.toString()} ${Z.unit??"elemen"}`;return`Terlalu besar: diharapkan ${I.origin??"value"} menjadi ${O}${I.maximum.toString()}`}case"too_small":{let O=I.inclusive?">=":">",Z=J(I.origin);if(Z)return`Terlalu kecil: diharapkan ${I.origin} memiliki ${O}${I.minimum.toString()} ${Z.unit}`;return`Terlalu kecil: diharapkan ${I.origin} menjadi ${O}${I.minimum.toString()}`}case"invalid_format":{let O=I;if(O.format==="starts_with")return`String tidak valid: harus dimulai dengan "${O.prefix}"`;if(O.format==="ends_with")return`String tidak valid: harus berakhir dengan "${O.suffix}"`;if(O.format==="includes")return`String tidak valid: harus menyertakan "${O.includes}"`;if(O.format==="regex")return`String tidak valid: harus sesuai pola ${O.pattern}`;return`${Y[O.format]??I.format} tidak valid`}case"not_multiple_of":return`Angka tidak valid: harus kelipatan dari ${I.divisor}`;case"unrecognized_keys":return`Kunci tidak dikenali ${I.keys.length>1?"s":""}: ${g0(I.keys,", ")}`;case"invalid_key":return`Kunci tidak valid di ${I.origin}`;case"invalid_union":return"Input tidak valid";case"invalid_element":return`Nilai tidak valid di ${I.origin}`;default:return"Input tidak valid"}}};function DL(){return{localeError:Eu()}}var Ru=()=>{let X={string:{unit:"stafi",verb:"að hafa"},file:{unit:"bæti",verb:"að hafa"},array:{unit:"hluti",verb:"að hafa"},set:{unit:"hluti",verb:"að hafa"}};function J(I){return X[I]??null}let Y={regex:"gildi",email:"netfang",url:"vefslóð",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO dagsetning og tími",date:"ISO dagsetning",time:"ISO tími",duration:"ISO tímalengd",ipv4:"IPv4 address",ipv6:"IPv6 address",cidrv4:"IPv4 range",cidrv6:"IPv6 range",base64:"base64-encoded strengur",base64url:"base64url-encoded strengur",json_string:"JSON strengur",e164:"E.164 tölugildi",jwt:"JWT",template_literal:"gildi"},V={nan:"NaN",number:"númer",array:"fylki"};return(I)=>{switch(I.code){case"invalid_type":{let O=V[I.expected]??I.expected,Z=Q$(I.input),L=V[Z]??Z;if(/^[A-Z]/.test(I.expected))return`Rangt gildi: Þú slóst inn ${L} þar sem á að vera instanceof ${I.expected}`;return`Rangt gildi: Þú slóst inn ${L} þar sem á að vera ${O}`}case"invalid_value":if(I.values.length===1)return`Rangt gildi: gert ráð fyrir ${J$(I.values[0])}`;return`Ógilt val: má vera eitt af eftirfarandi ${g0(I.values,"|")}`;case"too_big":{let O=I.inclusive?"<=":"<",Z=J(I.origin);if(Z)return`Of stórt: gert er ráð fyrir að ${I.origin??"gildi"} hafi ${O}${I.maximum.toString()} ${Z.unit??"hluti"}`;return`Of stórt: gert er ráð fyrir að ${I.origin??"gildi"} sé ${O}${I.maximum.toString()}`}case"too_small":{let O=I.inclusive?">=":">",Z=J(I.origin);if(Z)return`Of lítið: gert er ráð fyrir að ${I.origin} hafi ${O}${I.minimum.toString()} ${Z.unit}`;return`Of lítið: gert er ráð fyrir að ${I.origin} sé ${O}${I.minimum.toString()}`}case"invalid_format":{let O=I;if(O.format==="starts_with")return`Ógildur strengur: verður að byrja á "${O.prefix}"`;if(O.format==="ends_with")return`Ógildur strengur: verður að enda á "${O.suffix}"`;if(O.format==="includes")return`Ógildur strengur: verður að innihalda "${O.includes}"`;if(O.format==="regex")return`Ógildur strengur: verður að fylgja mynstri ${O.pattern}`;return`Rangt ${Y[O.format]??I.format}`}case"not_multiple_of":return`Röng tala: verður að vera margfeldi af ${I.divisor}`;case"unrecognized_keys":return`Óþekkt ${I.keys.length>1?"ir lyklar":"ur lykill"}: ${g0(I.keys,", ")}`;case"invalid_key":return`Rangur lykill í ${I.origin}`;case"invalid_union":return"Rangt gildi";case"invalid_element":return`Rangt gildi í ${I.origin}`;default:return"Rangt gildi"}}};function KL(){return{localeError:Ru()}}var Su=()=>{let X={string:{unit:"caratteri",verb:"avere"},file:{unit:"byte",verb:"avere"},array:{unit:"elementi",verb:"avere"},set:{unit:"elementi",verb:"avere"}};function J(I){return X[I]??null}let Y={regex:"input",email:"indirizzo email",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"data e ora ISO",date:"data ISO",time:"ora ISO",duration:"durata ISO",ipv4:"indirizzo IPv4",ipv6:"indirizzo IPv6",cidrv4:"intervallo IPv4",cidrv6:"intervallo IPv6",base64:"stringa codificata in base64",base64url:"URL codificata in base64",json_string:"stringa JSON",e164:"numero E.164",jwt:"JWT",template_literal:"input"},V={nan:"NaN",number:"numero",array:"vettore"};return(I)=>{switch(I.code){case"invalid_type":{let O=V[I.expected]??I.expected,Z=Q$(I.input),L=V[Z]??Z;if(/^[A-Z]/.test(I.expected))return`Input non valido: atteso instanceof ${I.expected}, ricevuto ${L}`;return`Input non valido: atteso ${O}, ricevuto ${L}`}case"invalid_value":if(I.values.length===1)return`Input non valido: atteso ${J$(I.values[0])}`;return`Opzione non valida: atteso uno tra ${g0(I.values,"|")}`;case"too_big":{let O=I.inclusive?"<=":"<",Z=J(I.origin);if(Z)return`Troppo grande: ${I.origin??"valore"} deve avere ${O}${I.maximum.toString()} ${Z.unit??"elementi"}`;return`Troppo grande: ${I.origin??"valore"} deve essere ${O}${I.maximum.toString()}`}case"too_small":{let O=I.inclusive?">=":">",Z=J(I.origin);if(Z)return`Troppo piccolo: ${I.origin} deve avere ${O}${I.minimum.toString()} ${Z.unit}`;return`Troppo piccolo: ${I.origin} deve essere ${O}${I.minimum.toString()}`}case"invalid_format":{let O=I;if(O.format==="starts_with")return`Stringa non valida: deve iniziare con "${O.prefix}"`;if(O.format==="ends_with")return`Stringa non valida: deve terminare con "${O.suffix}"`;if(O.format==="includes")return`Stringa non valida: deve includere "${O.includes}"`;if(O.format==="regex")return`Stringa non valida: deve corrispondere al pattern ${O.pattern}`;return`Input non valido: ${Y[O.format]??I.format}`}case"not_multiple_of":return`Numero non valido: deve essere un multiplo di ${I.divisor}`;case"unrecognized_keys":return`Chiav${I.keys.length>1?"i":"e"} non riconosciut${I.keys.length>1?"e":"a"}: ${g0(I.keys,", ")}`;case"invalid_key":return`Chiave non valida in ${I.origin}`;case"invalid_union":return"Input non valido";case"invalid_element":return`Valore non valido in ${I.origin}`;default:return"Input non valido"}}};function WL(){return{localeError:Su()}}var ju=()=>{let X={string:{unit:"文字",verb:"である"},file:{unit:"バイト",verb:"である"},array:{unit:"要素",verb:"である"},set:{unit:"要素",verb:"である"}};function J(I){return X[I]??null}let Y={regex:"入力値",email:"メールアドレス",url:"URL",emoji:"絵文字",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO日時",date:"ISO日付",time:"ISO時刻",duration:"ISO期間",ipv4:"IPv4アドレス",ipv6:"IPv6アドレス",cidrv4:"IPv4範囲",cidrv6:"IPv6範囲",base64:"base64エンコード文字列",base64url:"base64urlエンコード文字列",json_string:"JSON文字列",e164:"E.164番号",jwt:"JWT",template_literal:"入力値"},V={nan:"NaN",number:"数値",array:"配列"};return(I)=>{switch(I.code){case"invalid_type":{let O=V[I.expected]??I.expected,Z=Q$(I.input),L=V[Z]??Z;if(/^[A-Z]/.test(I.expected))return`無効な入力: instanceof ${I.expected}が期待されましたが、${L}が入力されました`;return`無効な入力: ${O}が期待されましたが、${L}が入力されました`}case"invalid_value":if(I.values.length===1)return`無効な入力: ${J$(I.values[0])}が期待されました`;return`無効な選択: ${g0(I.values,"、")}のいずれかである必要があります`;case"too_big":{let O=I.inclusive?"以下である":"より小さい",Z=J(I.origin);if(Z)return`大きすぎる値: ${I.origin??"値"}は${I.maximum.toString()}${Z.unit??"要素"}${O}必要があります`;return`大きすぎる値: ${I.origin??"値"}は${I.maximum.toString()}${O}必要があります`}case"too_small":{let O=I.inclusive?"以上である":"より大きい",Z=J(I.origin);if(Z)return`小さすぎる値: ${I.origin}は${I.minimum.toString()}${Z.unit}${O}必要があります`;return`小さすぎる値: ${I.origin}は${I.minimum.toString()}${O}必要があります`}case"invalid_format":{let O=I;if(O.format==="starts_with")return`無効な文字列: "${O.prefix}"で始まる必要があります`;if(O.format==="ends_with")return`無効な文字列: "${O.suffix}"で終わる必要があります`;if(O.format==="includes")return`無効な文字列: "${O.includes}"を含む必要があります`;if(O.format==="regex")return`無効な文字列: パターン${O.pattern}に一致する必要があります`;return`無効な${Y[O.format]??I.format}`}case"not_multiple_of":return`無効な数値: ${I.divisor}の倍数である必要があります`;case"unrecognized_keys":return`認識されていないキー${I.keys.length>1?"群":""}: ${g0(I.keys,"、")}`;case"invalid_key":return`${I.origin}内の無効なキー`;case"invalid_union":return"無効な入力";case"invalid_element":return`${I.origin}内の無効な値`;default:return"無効な入力"}}};function FL(){return{localeError:ju()}}var Bu=()=>{let X={string:{unit:"სიმბოლო",verb:"უნდა შეიცავდეს"},file:{unit:"ბაიტი",verb:"უნდა შეიცავდეს"},array:{unit:"ელემენტი",verb:"უნდა შეიცავდეს"},set:{unit:"ელემენტი",verb:"უნდა შეიცავდეს"}};function J(I){return X[I]??null}let Y={regex:"შეყვანა",email:"ელ-ფოსტის მისამართი",url:"URL",emoji:"ემოჯი",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"თარიღი-დრო",date:"თარიღი",time:"დრო",duration:"ხანგრძლივობა",ipv4:"IPv4 მისამართი",ipv6:"IPv6 მისამართი",cidrv4:"IPv4 დიაპაზონი",cidrv6:"IPv6 დიაპაზონი",base64:"base64-კოდირებული ველი",base64url:"base64url-კოდირებული ველი",json_string:"JSON ველი",e164:"E.164 ნომერი",jwt:"JWT",template_literal:"შეყვანა"},V={nan:"NaN",number:"რიცხვი",string:"ველი",boolean:"ბულეანი",function:"ფუნქცია",array:"მასივი"};return(I)=>{switch(I.code){case"invalid_type":{let O=V[I.expected]??I.expected,Z=Q$(I.input),L=V[Z]??Z;if(/^[A-Z]/.test(I.expected))return`არასწორი შეყვანა: მოსალოდნელი instanceof ${I.expected}, მიღებული ${L}`;return`არასწორი შეყვანა: მოსალოდნელი ${O}, მიღებული ${L}`}case"invalid_value":if(I.values.length===1)return`არასწორი შეყვანა: მოსალოდნელი ${J$(I.values[0])}`;return`არასწორი ვარიანტი: მოსალოდნელია ერთ-ერთი ${g0(I.values,"|")}-დან`;case"too_big":{let O=I.inclusive?"<=":"<",Z=J(I.origin);if(Z)return`ზედმეტად დიდი: მოსალოდნელი ${I.origin??"მნიშვნელობა"} ${Z.verb} ${O}${I.maximum.toString()} ${Z.unit}`;return`ზედმეტად დიდი: მოსალოდნელი ${I.origin??"მნიშვნელობა"} იყოს ${O}${I.maximum.toString()}`}case"too_small":{let O=I.inclusive?">=":">",Z=J(I.origin);if(Z)return`ზედმეტად პატარა: მოსალოდნელი ${I.origin} ${Z.verb} ${O}${I.minimum.toString()} ${Z.unit}`;return`ზედმეტად პატარა: მოსალოდნელი ${I.origin} იყოს ${O}${I.minimum.toString()}`}case"invalid_format":{let O=I;if(O.format==="starts_with")return`არასწორი ველი: უნდა იწყებოდეს "${O.prefix}"-ით`;if(O.format==="ends_with")return`არასწორი ველი: უნდა მთავრდებოდეს "${O.suffix}"-ით`;if(O.format==="includes")return`არასწორი ველი: უნდა შეიცავდეს "${O.includes}"-ს`;if(O.format==="regex")return`არასწორი ველი: უნდა შეესაბამებოდეს შაბლონს ${O.pattern}`;return`არასწორი ${Y[O.format]??I.format}`}case"not_multiple_of":return`არასწორი რიცხვი: უნდა იყოს ${I.divisor}-ის ჯერადი`;case"unrecognized_keys":return`უცნობი გასაღებ${I.keys.length>1?"ები":"ი"}: ${g0(I.keys,", ")}`;case"invalid_key":return`არასწორი გასაღები ${I.origin}-ში`;case"invalid_union":return"არასწორი შეყვანა";case"invalid_element":return`არასწორი მნიშვნელობა ${I.origin}-ში`;default:return"არასწორი შეყვანა"}}};function HL(){return{localeError:Bu()}}var vu=()=>{let X={string:{unit:"តួអក្សរ",verb:"គួរមាន"},file:{unit:"បៃ",verb:"គួរមាន"},array:{unit:"ធាតុ",verb:"គួរមាន"},set:{unit:"ធាតុ",verb:"គួរមាន"}};function J(I){return X[I]??null}let Y={regex:"ទិន្នន័យបញ្ចូល",email:"អាសយដ្ឋានអ៊ីមែល",url:"URL",emoji:"សញ្ញាអារម្មណ៍",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"កាលបរិច្ឆេទ និងម៉ោង ISO",date:"កាលបរិច្ឆេទ ISO",time:"ម៉ោង ISO",duration:"រយៈពេល ISO",ipv4:"អាសយដ្ឋាន IPv4",ipv6:"អាសយដ្ឋាន IPv6",cidrv4:"ដែនអាសយដ្ឋាន IPv4",cidrv6:"ដែនអាសយដ្ឋាន IPv6",base64:"ខ្សែអក្សរអ៊ិកូដ base64",base64url:"ខ្សែអក្សរអ៊ិកូដ base64url",json_string:"ខ្សែអក្សរ JSON",e164:"លេខ E.164",jwt:"JWT",template_literal:"ទិន្នន័យបញ្ចូល"},V={nan:"NaN",number:"លេខ",array:"អារេ (Array)",null:"គ្មានតម្លៃ (null)"};return(I)=>{switch(I.code){case"invalid_type":{let O=V[I.expected]??I.expected,Z=Q$(I.input),L=V[Z]??Z;if(/^[A-Z]/.test(I.expected))return`ទិន្នន័យបញ្ចូលមិនត្រឹមត្រូវ៖ ត្រូវការ instanceof ${I.expected} ប៉ុន្តែទទួលបាន ${L}`;return`ទិន្នន័យបញ្ចូលមិនត្រឹមត្រូវ៖ ត្រូវការ ${O} ប៉ុន្តែទទួលបាន ${L}`}case"invalid_value":if(I.values.length===1)return`ទិន្នន័យបញ្ចូលមិនត្រឹមត្រូវ៖ ត្រូវការ ${J$(I.values[0])}`;return`ជម្រើសមិនត្រឹមត្រូវ៖ ត្រូវជាមួយក្នុងចំណោម ${g0(I.values,"|")}`;case"too_big":{let O=I.inclusive?"<=":"<",Z=J(I.origin);if(Z)return`ធំពេក៖ ត្រូវការ ${I.origin??"តម្លៃ"} ${O} ${I.maximum.toString()} ${Z.unit??"ធាតុ"}`;return`ធំពេក៖ ត្រូវការ ${I.origin??"តម្លៃ"} ${O} ${I.maximum.toString()}`}case"too_small":{let O=I.inclusive?">=":">",Z=J(I.origin);if(Z)return`តូចពេក៖ ត្រូវការ ${I.origin} ${O} ${I.minimum.toString()} ${Z.unit}`;return`តូចពេក៖ ត្រូវការ ${I.origin} ${O} ${I.minimum.toString()}`}case"invalid_format":{let O=I;if(O.format==="starts_with")return`ខ្សែអក្សរមិនត្រឹមត្រូវ៖ ត្រូវចាប់ផ្តើមដោយ "${O.prefix}"`;if(O.format==="ends_with")return`ខ្សែអក្សរមិនត្រឹមត្រូវ៖ ត្រូវបញ្ចប់ដោយ "${O.suffix}"`;if(O.format==="includes")return`ខ្សែអក្សរមិនត្រឹមត្រូវ៖ ត្រូវមាន "${O.includes}"`;if(O.format==="regex")return`ខ្សែអក្សរមិនត្រឹមត្រូវ៖ ត្រូវតែផ្គូផ្គងនឹងទម្រង់ដែលបានកំណត់ ${O.pattern}`;return`មិនត្រឹមត្រូវ៖ ${Y[O.format]??I.format}`}case"not_multiple_of":return`លេខមិនត្រឹមត្រូវ៖ ត្រូវតែជាពហុគុណនៃ ${I.divisor}`;case"unrecognized_keys":return`រកឃើញសោមិនស្គាល់៖ ${g0(I.keys,", ")}`;case"invalid_key":return`សោមិនត្រឹមត្រូវនៅក្នុង ${I.origin}`;case"invalid_union":return"ទិន្នន័យមិនត្រឹមត្រូវ";case"invalid_element":return`ទិន្នន័យមិនត្រឹមត្រូវនៅក្នុង ${I.origin}`;default:return"ទិន្នន័យមិនត្រឹមត្រូវ"}}};function _2(){return{localeError:vu()}}function LL(){return _2()}var Nu=()=>{let X={string:{unit:"문자",verb:"to have"},file:{unit:"바이트",verb:"to have"},array:{unit:"개",verb:"to have"},set:{unit:"개",verb:"to have"}};function J(I){return X[I]??null}let Y={regex:"입력",email:"이메일 주소",url:"URL",emoji:"이모지",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO 날짜시간",date:"ISO 날짜",time:"ISO 시간",duration:"ISO 기간",ipv4:"IPv4 주소",ipv6:"IPv6 주소",cidrv4:"IPv4 범위",cidrv6:"IPv6 범위",base64:"base64 인코딩 문자열",base64url:"base64url 인코딩 문자열",json_string:"JSON 문자열",e164:"E.164 번호",jwt:"JWT",template_literal:"입력"},V={nan:"NaN"};return(I)=>{switch(I.code){case"invalid_type":{let O=V[I.expected]??I.expected,Z=Q$(I.input),L=V[Z]??Z;if(/^[A-Z]/.test(I.expected))return`잘못된 입력: 예상 타입은 instanceof ${I.expected}, 받은 타입은 ${L}입니다`;return`잘못된 입력: 예상 타입은 ${O}, 받은 타입은 ${L}입니다`}case"invalid_value":if(I.values.length===1)return`잘못된 입력: 값은 ${J$(I.values[0])} 이어야 합니다`;return`잘못된 옵션: ${g0(I.values,"또는 ")} 중 하나여야 합니다`;case"too_big":{let O=I.inclusive?"이하":"미만",Z=O==="미만"?"이어야 합니다":"여야 합니다",L=J(I.origin),B=L?.unit??"요소";if(L)return`${I.origin??"값"}이 너무 큽니다: ${I.maximum.toString()}${B} ${O}${Z}`;return`${I.origin??"값"}이 너무 큽니다: ${I.maximum.toString()} ${O}${Z}`}case"too_small":{let O=I.inclusive?"이상":"초과",Z=O==="이상"?"이어야 합니다":"여야 합니다",L=J(I.origin),B=L?.unit??"요소";if(L)return`${I.origin??"값"}이 너무 작습니다: ${I.minimum.toString()}${B} ${O}${Z}`;return`${I.origin??"값"}이 너무 작습니다: ${I.minimum.toString()} ${O}${Z}`}case"invalid_format":{let O=I;if(O.format==="starts_with")return`잘못된 문자열: "${O.prefix}"(으)로 시작해야 합니다`;if(O.format==="ends_with")return`잘못된 문자열: "${O.suffix}"(으)로 끝나야 합니다`;if(O.format==="includes")return`잘못된 문자열: "${O.includes}"을(를) 포함해야 합니다`;if(O.format==="regex")return`잘못된 문자열: 정규식 ${O.pattern} 패턴과 일치해야 합니다`;return`잘못된 ${Y[O.format]??I.format}`}case"not_multiple_of":return`잘못된 숫자: ${I.divisor}의 배수여야 합니다`;case"unrecognized_keys":return`인식할 수 없는 키: ${g0(I.keys,", ")}`;case"invalid_key":return`잘못된 키: ${I.origin}`;case"invalid_union":return"잘못된 입력";case"invalid_element":return`잘못된 값: ${I.origin}`;default:return"잘못된 입력"}}};function ML(){return{localeError:Nu()}}var E2=(X)=>{return X.charAt(0).toUpperCase()+X.slice(1)};function IB(X){let J=Math.abs(X),Y=J%10,V=J%100;if(V>=11&&V<=19||Y===0)return"many";if(Y===1)return"one";return"few"}var qu=()=>{let X={string:{unit:{one:"simbolis",few:"simboliai",many:"simbolių"},verb:{smaller:{inclusive:"turi būti ne ilgesnė kaip",notInclusive:"turi būti trumpesnė kaip"},bigger:{inclusive:"turi būti ne trumpesnė kaip",notInclusive:"turi būti ilgesnė kaip"}}},file:{unit:{one:"baitas",few:"baitai",many:"baitų"},verb:{smaller:{inclusive:"turi būti ne didesnis kaip",notInclusive:"turi būti mažesnis kaip"},bigger:{inclusive:"turi būti ne mažesnis kaip",notInclusive:"turi būti didesnis kaip"}}},array:{unit:{one:"elementą",few:"elementus",many:"elementų"},verb:{smaller:{inclusive:"turi turėti ne daugiau kaip",notInclusive:"turi turėti mažiau kaip"},bigger:{inclusive:"turi turėti ne mažiau kaip",notInclusive:"turi turėti daugiau kaip"}}},set:{unit:{one:"elementą",few:"elementus",many:"elementų"},verb:{smaller:{inclusive:"turi turėti ne daugiau kaip",notInclusive:"turi turėti mažiau kaip"},bigger:{inclusive:"turi turėti ne mažiau kaip",notInclusive:"turi turėti daugiau kaip"}}}};function J(I,O,Z,L){let B=X[I]??null;if(B===null)return B;return{unit:B.unit[O],verb:B.verb[L][Z?"inclusive":"notInclusive"]}}let Y={regex:"įvestis",email:"el. pašto adresas",url:"URL",emoji:"jaustukas",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO data ir laikas",date:"ISO data",time:"ISO laikas",duration:"ISO trukmė",ipv4:"IPv4 adresas",ipv6:"IPv6 adresas",cidrv4:"IPv4 tinklo prefiksas (CIDR)",cidrv6:"IPv6 tinklo prefiksas (CIDR)",base64:"base64 užkoduota eilutė",base64url:"base64url užkoduota eilutė",json_string:"JSON eilutė",e164:"E.164 numeris",jwt:"JWT",template_literal:"įvestis"},V={nan:"NaN",number:"skaičius",bigint:"sveikasis skaičius",string:"eilutė",boolean:"loginė reikšmė",undefined:"neapibrėžta reikšmė",function:"funkcija",symbol:"simbolis",array:"masyvas",object:"objektas",null:"nulinė reikšmė"};return(I)=>{switch(I.code){case"invalid_type":{let O=V[I.expected]??I.expected,Z=Q$(I.input),L=V[Z]??Z;if(/^[A-Z]/.test(I.expected))return`Gautas tipas ${L}, o tikėtasi - instanceof ${I.expected}`;return`Gautas tipas ${L}, o tikėtasi - ${O}`}case"invalid_value":if(I.values.length===1)return`Privalo būti ${J$(I.values[0])}`;return`Privalo būti vienas iš ${g0(I.values,"|")} pasirinkimų`;case"too_big":{let O=V[I.origin]??I.origin,Z=J(I.origin,IB(Number(I.maximum)),I.inclusive??!1,"smaller");if(Z?.verb)return`${E2(O??I.origin??"reikšmė")} ${Z.verb} ${I.maximum.toString()} ${Z.unit??"elementų"}`;let L=I.inclusive?"ne didesnis kaip":"mažesnis kaip";return`${E2(O??I.origin??"reikšmė")} turi būti ${L} ${I.maximum.toString()} ${Z?.unit}`}case"too_small":{let O=V[I.origin]??I.origin,Z=J(I.origin,IB(Number(I.minimum)),I.inclusive??!1,"bigger");if(Z?.verb)return`${E2(O??I.origin??"reikšmė")} ${Z.verb} ${I.minimum.toString()} ${Z.unit??"elementų"}`;let L=I.inclusive?"ne mažesnis kaip":"didesnis kaip";return`${E2(O??I.origin??"reikšmė")} turi būti ${L} ${I.minimum.toString()} ${Z?.unit}`}case"invalid_format":{let O=I;if(O.format==="starts_with")return`Eilutė privalo prasidėti "${O.prefix}"`;if(O.format==="ends_with")return`Eilutė privalo pasibaigti "${O.suffix}"`;if(O.format==="includes")return`Eilutė privalo įtraukti "${O.includes}"`;if(O.format==="regex")return`Eilutė privalo atitikti ${O.pattern}`;return`Neteisingas ${Y[O.format]??I.format}`}case"not_multiple_of":return`Skaičius privalo būti ${I.divisor} kartotinis.`;case"unrecognized_keys":return`Neatpažint${I.keys.length>1?"i":"as"} rakt${I.keys.length>1?"ai":"as"}: ${g0(I.keys,", ")}`;case"invalid_key":return"Rastas klaidingas raktas";case"invalid_union":return"Klaidinga įvestis";case"invalid_element":{let O=V[I.origin]??I.origin;return`${E2(O??I.origin??"reikšmė")} turi klaidingą įvestį`}default:return"Klaidinga įvestis"}}};function AL(){return{localeError:qu()}}var ku=()=>{let X={string:{unit:"знаци",verb:"да имаат"},file:{unit:"бајти",verb:"да имаат"},array:{unit:"ставки",verb:"да имаат"},set:{unit:"ставки",verb:"да имаат"}};function J(I){return X[I]??null}let Y={regex:"внес",email:"адреса на е-пошта",url:"URL",emoji:"емоџи",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO датум и време",date:"ISO датум",time:"ISO време",duration:"ISO времетраење",ipv4:"IPv4 адреса",ipv6:"IPv6 адреса",cidrv4:"IPv4 опсег",cidrv6:"IPv6 опсег",base64:"base64-енкодирана низа",base64url:"base64url-енкодирана низа",json_string:"JSON низа",e164:"E.164 број",jwt:"JWT",template_literal:"внес"},V={nan:"NaN",number:"број",array:"низа"};return(I)=>{switch(I.code){case"invalid_type":{let O=V[I.expected]??I.expected,Z=Q$(I.input),L=V[Z]??Z;if(/^[A-Z]/.test(I.expected))return`Грешен внес: се очекува instanceof ${I.expected}, примено ${L}`;return`Грешен внес: се очекува ${O}, примено ${L}`}case"invalid_value":if(I.values.length===1)return`Invalid input: expected ${J$(I.values[0])}`;return`Грешана опција: се очекува една ${g0(I.values,"|")}`;case"too_big":{let O=I.inclusive?"<=":"<",Z=J(I.origin);if(Z)return`Премногу голем: се очекува ${I.origin??"вредноста"} да има ${O}${I.maximum.toString()} ${Z.unit??"елементи"}`;return`Премногу голем: се очекува ${I.origin??"вредноста"} да биде ${O}${I.maximum.toString()}`}case"too_small":{let O=I.inclusive?">=":">",Z=J(I.origin);if(Z)return`Премногу мал: се очекува ${I.origin} да има ${O}${I.minimum.toString()} ${Z.unit}`;return`Премногу мал: се очекува ${I.origin} да биде ${O}${I.minimum.toString()}`}case"invalid_format":{let O=I;if(O.format==="starts_with")return`Неважечка низа: мора да започнува со "${O.prefix}"`;if(O.format==="ends_with")return`Неважечка низа: мора да завршува со "${O.suffix}"`;if(O.format==="includes")return`Неважечка низа: мора да вклучува "${O.includes}"`;if(O.format==="regex")return`Неважечка низа: мора да одгоара на патернот ${O.pattern}`;return`Invalid ${Y[O.format]??I.format}`}case"not_multiple_of":return`Грешен број: мора да биде делив со ${I.divisor}`;case"unrecognized_keys":return`${I.keys.length>1?"Непрепознаени клучеви":"Непрепознаен клуч"}: ${g0(I.keys,", ")}`;case"invalid_key":return`Грешен клуч во ${I.origin}`;case"invalid_union":return"Грешен внес";case"invalid_element":return`Грешна вредност во ${I.origin}`;default:return"Грешен внес"}}};function TL(){return{localeError:ku()}}var xu=()=>{let X={string:{unit:"aksara",verb:"mempunyai"},file:{unit:"bait",verb:"mempunyai"},array:{unit:"elemen",verb:"mempunyai"},set:{unit:"elemen",verb:"mempunyai"}};function J(I){return X[I]??null}let Y={regex:"input",email:"alamat e-mel",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"tarikh masa ISO",date:"tarikh ISO",time:"masa ISO",duration:"tempoh ISO",ipv4:"alamat IPv4",ipv6:"alamat IPv6",cidrv4:"julat IPv4",cidrv6:"julat IPv6",base64:"string dikodkan base64",base64url:"string dikodkan base64url",json_string:"string JSON",e164:"nombor E.164",jwt:"JWT",template_literal:"input"},V={nan:"NaN",number:"nombor"};return(I)=>{switch(I.code){case"invalid_type":{let O=V[I.expected]??I.expected,Z=Q$(I.input),L=V[Z]??Z;if(/^[A-Z]/.test(I.expected))return`Input tidak sah: dijangka instanceof ${I.expected}, diterima ${L}`;return`Input tidak sah: dijangka ${O}, diterima ${L}`}case"invalid_value":if(I.values.length===1)return`Input tidak sah: dijangka ${J$(I.values[0])}`;return`Pilihan tidak sah: dijangka salah satu daripada ${g0(I.values,"|")}`;case"too_big":{let O=I.inclusive?"<=":"<",Z=J(I.origin);if(Z)return`Terlalu besar: dijangka ${I.origin??"nilai"} ${Z.verb} ${O}${I.maximum.toString()} ${Z.unit??"elemen"}`;return`Terlalu besar: dijangka ${I.origin??"nilai"} adalah ${O}${I.maximum.toString()}`}case"too_small":{let O=I.inclusive?">=":">",Z=J(I.origin);if(Z)return`Terlalu kecil: dijangka ${I.origin} ${Z.verb} ${O}${I.minimum.toString()} ${Z.unit}`;return`Terlalu kecil: dijangka ${I.origin} adalah ${O}${I.minimum.toString()}`}case"invalid_format":{let O=I;if(O.format==="starts_with")return`String tidak sah: mesti bermula dengan "${O.prefix}"`;if(O.format==="ends_with")return`String tidak sah: mesti berakhir dengan "${O.suffix}"`;if(O.format==="includes")return`String tidak sah: mesti mengandungi "${O.includes}"`;if(O.format==="regex")return`String tidak sah: mesti sepadan dengan corak ${O.pattern}`;return`${Y[O.format]??I.format} tidak sah`}case"not_multiple_of":return`Nombor tidak sah: perlu gandaan ${I.divisor}`;case"unrecognized_keys":return`Kunci tidak dikenali: ${g0(I.keys,", ")}`;case"invalid_key":return`Kunci tidak sah dalam ${I.origin}`;case"invalid_union":return"Input tidak sah";case"invalid_element":return`Nilai tidak sah dalam ${I.origin}`;default:return"Input tidak sah"}}};function CL(){return{localeError:xu()}}var gu=()=>{let X={string:{unit:"tekens",verb:"heeft"},file:{unit:"bytes",verb:"heeft"},array:{unit:"elementen",verb:"heeft"},set:{unit:"elementen",verb:"heeft"}};function J(I){return X[I]??null}let Y={regex:"invoer",email:"emailadres",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO datum en tijd",date:"ISO datum",time:"ISO tijd",duration:"ISO duur",ipv4:"IPv4-adres",ipv6:"IPv6-adres",cidrv4:"IPv4-bereik",cidrv6:"IPv6-bereik",base64:"base64-gecodeerde tekst",base64url:"base64 URL-gecodeerde tekst",json_string:"JSON string",e164:"E.164-nummer",jwt:"JWT",template_literal:"invoer"},V={nan:"NaN",number:"getal"};return(I)=>{switch(I.code){case"invalid_type":{let O=V[I.expected]??I.expected,Z=Q$(I.input),L=V[Z]??Z;if(/^[A-Z]/.test(I.expected))return`Ongeldige invoer: verwacht instanceof ${I.expected}, ontving ${L}`;return`Ongeldige invoer: verwacht ${O}, ontving ${L}`}case"invalid_value":if(I.values.length===1)return`Ongeldige invoer: verwacht ${J$(I.values[0])}`;return`Ongeldige optie: verwacht één van ${g0(I.values,"|")}`;case"too_big":{let O=I.inclusive?"<=":"<",Z=J(I.origin),L=I.origin==="date"?"laat":I.origin==="string"?"lang":"groot";if(Z)return`Te ${L}: verwacht dat ${I.origin??"waarde"} ${O}${I.maximum.toString()} ${Z.unit??"elementen"} ${Z.verb}`;return`Te ${L}: verwacht dat ${I.origin??"waarde"} ${O}${I.maximum.toString()} is`}case"too_small":{let O=I.inclusive?">=":">",Z=J(I.origin),L=I.origin==="date"?"vroeg":I.origin==="string"?"kort":"klein";if(Z)return`Te ${L}: verwacht dat ${I.origin} ${O}${I.minimum.toString()} ${Z.unit} ${Z.verb}`;return`Te ${L}: verwacht dat ${I.origin} ${O}${I.minimum.toString()} is`}case"invalid_format":{let O=I;if(O.format==="starts_with")return`Ongeldige tekst: moet met "${O.prefix}" beginnen`;if(O.format==="ends_with")return`Ongeldige tekst: moet op "${O.suffix}" eindigen`;if(O.format==="includes")return`Ongeldige tekst: moet "${O.includes}" bevatten`;if(O.format==="regex")return`Ongeldige tekst: moet overeenkomen met patroon ${O.pattern}`;return`Ongeldig: ${Y[O.format]??I.format}`}case"not_multiple_of":return`Ongeldig getal: moet een veelvoud van ${I.divisor} zijn`;case"unrecognized_keys":return`Onbekende key${I.keys.length>1?"s":""}: ${g0(I.keys,", ")}`;case"invalid_key":return`Ongeldige key in ${I.origin}`;case"invalid_union":return"Ongeldige invoer";case"invalid_element":return`Ongeldige waarde in ${I.origin}`;default:return"Ongeldige invoer"}}};function PL(){return{localeError:gu()}}var wu=()=>{let X={string:{unit:"tegn",verb:"å ha"},file:{unit:"bytes",verb:"å ha"},array:{unit:"elementer",verb:"å inneholde"},set:{unit:"elementer",verb:"å inneholde"}};function J(I){return X[I]??null}let Y={regex:"input",email:"e-postadresse",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO dato- og klokkeslett",date:"ISO-dato",time:"ISO-klokkeslett",duration:"ISO-varighet",ipv4:"IPv4-område",ipv6:"IPv6-område",cidrv4:"IPv4-spekter",cidrv6:"IPv6-spekter",base64:"base64-enkodet streng",base64url:"base64url-enkodet streng",json_string:"JSON-streng",e164:"E.164-nummer",jwt:"JWT",template_literal:"input"},V={nan:"NaN",number:"tall",array:"liste"};return(I)=>{switch(I.code){case"invalid_type":{let O=V[I.expected]??I.expected,Z=Q$(I.input),L=V[Z]??Z;if(/^[A-Z]/.test(I.expected))return`Ugyldig input: forventet instanceof ${I.expected}, fikk ${L}`;return`Ugyldig input: forventet ${O}, fikk ${L}`}case"invalid_value":if(I.values.length===1)return`Ugyldig verdi: forventet ${J$(I.values[0])}`;return`Ugyldig valg: forventet en av ${g0(I.values,"|")}`;case"too_big":{let O=I.inclusive?"<=":"<",Z=J(I.origin);if(Z)return`For stor(t): forventet ${I.origin??"value"} til å ha ${O}${I.maximum.toString()} ${Z.unit??"elementer"}`;return`For stor(t): forventet ${I.origin??"value"} til å ha ${O}${I.maximum.toString()}`}case"too_small":{let O=I.inclusive?">=":">",Z=J(I.origin);if(Z)return`For lite(n): forventet ${I.origin} til å ha ${O}${I.minimum.toString()} ${Z.unit}`;return`For lite(n): forventet ${I.origin} til å ha ${O}${I.minimum.toString()}`}case"invalid_format":{let O=I;if(O.format==="starts_with")return`Ugyldig streng: må starte med "${O.prefix}"`;if(O.format==="ends_with")return`Ugyldig streng: må ende med "${O.suffix}"`;if(O.format==="includes")return`Ugyldig streng: må inneholde "${O.includes}"`;if(O.format==="regex")return`Ugyldig streng: må matche mønsteret ${O.pattern}`;return`Ugyldig ${Y[O.format]??I.format}`}case"not_multiple_of":return`Ugyldig tall: må være et multiplum av ${I.divisor}`;case"unrecognized_keys":return`${I.keys.length>1?"Ukjente nøkler":"Ukjent nøkkel"}: ${g0(I.keys,", ")}`;case"invalid_key":return`Ugyldig nøkkel i ${I.origin}`;case"invalid_union":return"Ugyldig input";case"invalid_element":return`Ugyldig verdi i ${I.origin}`;default:return"Ugyldig input"}}};function _L(){return{localeError:wu()}}var fu=()=>{let X={string:{unit:"harf",verb:"olmalıdır"},file:{unit:"bayt",verb:"olmalıdır"},array:{unit:"unsur",verb:"olmalıdır"},set:{unit:"unsur",verb:"olmalıdır"}};function J(I){return X[I]??null}let Y={regex:"giren",email:"epostagâh",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO hengâmı",date:"ISO tarihi",time:"ISO zamanı",duration:"ISO müddeti",ipv4:"IPv4 nişânı",ipv6:"IPv6 nişânı",cidrv4:"IPv4 menzili",cidrv6:"IPv6 menzili",base64:"base64-şifreli metin",base64url:"base64url-şifreli metin",json_string:"JSON metin",e164:"E.164 sayısı",jwt:"JWT",template_literal:"giren"},V={nan:"NaN",number:"numara",array:"saf",null:"gayb"};return(I)=>{switch(I.code){case"invalid_type":{let O=V[I.expected]??I.expected,Z=Q$(I.input),L=V[Z]??Z;if(/^[A-Z]/.test(I.expected))return`Fâsit giren: umulan instanceof ${I.expected}, alınan ${L}`;return`Fâsit giren: umulan ${O}, alınan ${L}`}case"invalid_value":if(I.values.length===1)return`Fâsit giren: umulan ${J$(I.values[0])}`;return`Fâsit tercih: mûteberler ${g0(I.values,"|")}`;case"too_big":{let O=I.inclusive?"<=":"<",Z=J(I.origin);if(Z)return`Fazla büyük: ${I.origin??"value"}, ${O}${I.maximum.toString()} ${Z.unit??"elements"} sahip olmalıydı.`;return`Fazla büyük: ${I.origin??"value"}, ${O}${I.maximum.toString()} olmalıydı.`}case"too_small":{let O=I.inclusive?">=":">",Z=J(I.origin);if(Z)return`Fazla küçük: ${I.origin}, ${O}${I.minimum.toString()} ${Z.unit} sahip olmalıydı.`;return`Fazla küçük: ${I.origin}, ${O}${I.minimum.toString()} olmalıydı.`}case"invalid_format":{let O=I;if(O.format==="starts_with")return`Fâsit metin: "${O.prefix}" ile başlamalı.`;if(O.format==="ends_with")return`Fâsit metin: "${O.suffix}" ile bitmeli.`;if(O.format==="includes")return`Fâsit metin: "${O.includes}" ihtivâ etmeli.`;if(O.format==="regex")return`Fâsit metin: ${O.pattern} nakşına uymalı.`;return`Fâsit ${Y[O.format]??I.format}`}case"not_multiple_of":return`Fâsit sayı: ${I.divisor} katı olmalıydı.`;case"unrecognized_keys":return`Tanınmayan anahtar ${I.keys.length>1?"s":""}: ${g0(I.keys,", ")}`;case"invalid_key":return`${I.origin} için tanınmayan anahtar var.`;case"invalid_union":return"Giren tanınamadı.";case"invalid_element":return`${I.origin} için tanınmayan kıymet var.`;default:return"Kıymet tanınamadı."}}};function EL(){return{localeError:fu()}}var yu=()=>{let X={string:{unit:"توکي",verb:"ولري"},file:{unit:"بایټس",verb:"ولري"},array:{unit:"توکي",verb:"ولري"},set:{unit:"توکي",verb:"ولري"}};function J(I){return X[I]??null}let Y={regex:"ورودي",email:"بریښنالیک",url:"یو آر ال",emoji:"ایموجي",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"نیټه او وخت",date:"نېټه",time:"وخت",duration:"موده",ipv4:"د IPv4 پته",ipv6:"د IPv6 پته",cidrv4:"د IPv4 ساحه",cidrv6:"د IPv6 ساحه",base64:"base64-encoded متن",base64url:"base64url-encoded متن",json_string:"JSON متن",e164:"د E.164 شمېره",jwt:"JWT",template_literal:"ورودي"},V={nan:"NaN",number:"عدد",array:"ارې"};return(I)=>{switch(I.code){case"invalid_type":{let O=V[I.expected]??I.expected,Z=Q$(I.input),L=V[Z]??Z;if(/^[A-Z]/.test(I.expected))return`ناسم ورودي: باید instanceof ${I.expected} وای, مګر ${L} ترلاسه شو`;return`ناسم ورودي: باید ${O} وای, مګر ${L} ترلاسه شو`}case"invalid_value":if(I.values.length===1)return`ناسم ورودي: باید ${J$(I.values[0])} وای`;return`ناسم انتخاب: باید یو له ${g0(I.values,"|")} څخه وای`;case"too_big":{let O=I.inclusive?"<=":"<",Z=J(I.origin);if(Z)return`ډیر لوی: ${I.origin??"ارزښت"} باید ${O}${I.maximum.toString()} ${Z.unit??"عنصرونه"} ولري`;return`ډیر لوی: ${I.origin??"ارزښت"} باید ${O}${I.maximum.toString()} وي`}case"too_small":{let O=I.inclusive?">=":">",Z=J(I.origin);if(Z)return`ډیر کوچنی: ${I.origin} باید ${O}${I.minimum.toString()} ${Z.unit} ولري`;return`ډیر کوچنی: ${I.origin} باید ${O}${I.minimum.toString()} وي`}case"invalid_format":{let O=I;if(O.format==="starts_with")return`ناسم متن: باید د "${O.prefix}" سره پیل شي`;if(O.format==="ends_with")return`ناسم متن: باید د "${O.suffix}" سره پای ته ورسيږي`;if(O.format==="includes")return`ناسم متن: باید "${O.includes}" ولري`;if(O.format==="regex")return`ناسم متن: باید د ${O.pattern} سره مطابقت ولري`;return`${Y[O.format]??I.format} ناسم دی`}case"not_multiple_of":return`ناسم عدد: باید د ${I.divisor} مضرب وي`;case"unrecognized_keys":return`ناسم ${I.keys.length>1?"کلیډونه":"کلیډ"}: ${g0(I.keys,", ")}`;case"invalid_key":return`ناسم کلیډ په ${I.origin} کې`;case"invalid_union":return"ناسمه ورودي";case"invalid_element":return`ناسم عنصر په ${I.origin} کې`;default:return"ناسمه ورودي"}}};function RL(){return{localeError:yu()}}var bu=()=>{let X={string:{unit:"znaków",verb:"mieć"},file:{unit:"bajtów",verb:"mieć"},array:{unit:"elementów",verb:"mieć"},set:{unit:"elementów",verb:"mieć"}};function J(I){return X[I]??null}let Y={regex:"wyrażenie",email:"adres email",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"data i godzina w formacie ISO",date:"data w formacie ISO",time:"godzina w formacie ISO",duration:"czas trwania ISO",ipv4:"adres IPv4",ipv6:"adres IPv6",cidrv4:"zakres IPv4",cidrv6:"zakres IPv6",base64:"ciąg znaków zakodowany w formacie base64",base64url:"ciąg znaków zakodowany w formacie base64url",json_string:"ciąg znaków w formacie JSON",e164:"liczba E.164",jwt:"JWT",template_literal:"wejście"},V={nan:"NaN",number:"liczba",array:"tablica"};return(I)=>{switch(I.code){case"invalid_type":{let O=V[I.expected]??I.expected,Z=Q$(I.input),L=V[Z]??Z;if(/^[A-Z]/.test(I.expected))return`Nieprawidłowe dane wejściowe: oczekiwano instanceof ${I.expected}, otrzymano ${L}`;return`Nieprawidłowe dane wejściowe: oczekiwano ${O}, otrzymano ${L}`}case"invalid_value":if(I.values.length===1)return`Nieprawidłowe dane wejściowe: oczekiwano ${J$(I.values[0])}`;return`Nieprawidłowa opcja: oczekiwano jednej z wartości ${g0(I.values,"|")}`;case"too_big":{let O=I.inclusive?"<=":"<",Z=J(I.origin);if(Z)return`Za duża wartość: oczekiwano, że ${I.origin??"wartość"} będzie mieć ${O}${I.maximum.toString()} ${Z.unit??"elementów"}`;return`Zbyt duż(y/a/e): oczekiwano, że ${I.origin??"wartość"} będzie wynosić ${O}${I.maximum.toString()}`}case"too_small":{let O=I.inclusive?">=":">",Z=J(I.origin);if(Z)return`Za mała wartość: oczekiwano, że ${I.origin??"wartość"} będzie mieć ${O}${I.minimum.toString()} ${Z.unit??"elementów"}`;return`Zbyt mał(y/a/e): oczekiwano, że ${I.origin??"wartość"} będzie wynosić ${O}${I.minimum.toString()}`}case"invalid_format":{let O=I;if(O.format==="starts_with")return`Nieprawidłowy ciąg znaków: musi zaczynać się od "${O.prefix}"`;if(O.format==="ends_with")return`Nieprawidłowy ciąg znaków: musi kończyć się na "${O.suffix}"`;if(O.format==="includes")return`Nieprawidłowy ciąg znaków: musi zawierać "${O.includes}"`;if(O.format==="regex")return`Nieprawidłowy ciąg znaków: musi odpowiadać wzorcowi ${O.pattern}`;return`Nieprawidłow(y/a/e) ${Y[O.format]??I.format}`}case"not_multiple_of":return`Nieprawidłowa liczba: musi być wielokrotnością ${I.divisor}`;case"unrecognized_keys":return`Nierozpoznane klucze${I.keys.length>1?"s":""}: ${g0(I.keys,", ")}`;case"invalid_key":return`Nieprawidłowy klucz w ${I.origin}`;case"invalid_union":return"Nieprawidłowe dane wejściowe";case"invalid_element":return`Nieprawidłowa wartość w ${I.origin}`;default:return"Nieprawidłowe dane wejściowe"}}};function SL(){return{localeError:bu()}}var uu=()=>{let X={string:{unit:"caracteres",verb:"ter"},file:{unit:"bytes",verb:"ter"},array:{unit:"itens",verb:"ter"},set:{unit:"itens",verb:"ter"}};function J(I){return X[I]??null}let Y={regex:"padrão",email:"endereço de e-mail",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"data e hora ISO",date:"data ISO",time:"hora ISO",duration:"duração ISO",ipv4:"endereço IPv4",ipv6:"endereço IPv6",cidrv4:"faixa de IPv4",cidrv6:"faixa de IPv6",base64:"texto codificado em base64",base64url:"URL codificada em base64",json_string:"texto JSON",e164:"número E.164",jwt:"JWT",template_literal:"entrada"},V={nan:"NaN",number:"número",null:"nulo"};return(I)=>{switch(I.code){case"invalid_type":{let O=V[I.expected]??I.expected,Z=Q$(I.input),L=V[Z]??Z;if(/^[A-Z]/.test(I.expected))return`Tipo inválido: esperado instanceof ${I.expected}, recebido ${L}`;return`Tipo inválido: esperado ${O}, recebido ${L}`}case"invalid_value":if(I.values.length===1)return`Entrada inválida: esperado ${J$(I.values[0])}`;return`Opção inválida: esperada uma das ${g0(I.values,"|")}`;case"too_big":{let O=I.inclusive?"<=":"<",Z=J(I.origin);if(Z)return`Muito grande: esperado que ${I.origin??"valor"} tivesse ${O}${I.maximum.toString()} ${Z.unit??"elementos"}`;return`Muito grande: esperado que ${I.origin??"valor"} fosse ${O}${I.maximum.toString()}`}case"too_small":{let O=I.inclusive?">=":">",Z=J(I.origin);if(Z)return`Muito pequeno: esperado que ${I.origin} tivesse ${O}${I.minimum.toString()} ${Z.unit}`;return`Muito pequeno: esperado que ${I.origin} fosse ${O}${I.minimum.toString()}`}case"invalid_format":{let O=I;if(O.format==="starts_with")return`Texto inválido: deve começar com "${O.prefix}"`;if(O.format==="ends_with")return`Texto inválido: deve terminar com "${O.suffix}"`;if(O.format==="includes")return`Texto inválido: deve incluir "${O.includes}"`;if(O.format==="regex")return`Texto inválido: deve corresponder ao padrão ${O.pattern}`;return`${Y[O.format]??I.format} inválido`}case"not_multiple_of":return`Número inválido: deve ser múltiplo de ${I.divisor}`;case"unrecognized_keys":return`Chave${I.keys.length>1?"s":""} desconhecida${I.keys.length>1?"s":""}: ${g0(I.keys,", ")}`;case"invalid_key":return`Chave inválida em ${I.origin}`;case"invalid_union":return"Entrada inválida";case"invalid_element":return`Valor inválido em ${I.origin}`;default:return"Campo inválido"}}};function jL(){return{localeError:uu()}}var hu=()=>{let X={string:{unit:"caractere",verb:"să aibă"},file:{unit:"octeți",verb:"să aibă"},array:{unit:"elemente",verb:"să aibă"},set:{unit:"elemente",verb:"să aibă"},map:{unit:"intrări",verb:"să aibă"}};function J(I){return X[I]??null}let Y={regex:"intrare",email:"adresă de email",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"dată și oră ISO",date:"dată ISO",time:"oră ISO",duration:"durată ISO",ipv4:"adresă IPv4",ipv6:"adresă IPv6",mac:"adresă MAC",cidrv4:"interval IPv4",cidrv6:"interval IPv6",base64:"șir codat base64",base64url:"șir codat base64url",json_string:"șir JSON",e164:"număr E.164",jwt:"JWT",template_literal:"intrare"},V={nan:"NaN",string:"șir",number:"număr",boolean:"boolean",function:"funcție",array:"matrice",object:"obiect",undefined:"nedefinit",symbol:"simbol",bigint:"număr mare",void:"void",never:"never",map:"hartă",set:"set"};return(I)=>{switch(I.code){case"invalid_type":{let O=V[I.expected]??I.expected,Z=Q$(I.input),L=V[Z]??Z;return`Intrare invalidă: așteptat ${O}, primit ${L}`}case"invalid_value":if(I.values.length===1)return`Intrare invalidă: așteptat ${J$(I.values[0])}`;return`Opțiune invalidă: așteptat una dintre ${g0(I.values,"|")}`;case"too_big":{let O=I.inclusive?"<=":"<",Z=J(I.origin);if(Z)return`Prea mare: așteptat ca ${I.origin??"valoarea"} ${Z.verb} ${O}${I.maximum.toString()} ${Z.unit??"elemente"}`;return`Prea mare: așteptat ca ${I.origin??"valoarea"} să fie ${O}${I.maximum.toString()}`}case"too_small":{let O=I.inclusive?">=":">",Z=J(I.origin);if(Z)return`Prea mic: așteptat ca ${I.origin} ${Z.verb} ${O}${I.minimum.toString()} ${Z.unit}`;return`Prea mic: așteptat ca ${I.origin} să fie ${O}${I.minimum.toString()}`}case"invalid_format":{let O=I;if(O.format==="starts_with")return`Șir invalid: trebuie să înceapă cu "${O.prefix}"`;if(O.format==="ends_with")return`Șir invalid: trebuie să se termine cu "${O.suffix}"`;if(O.format==="includes")return`Șir invalid: trebuie să includă "${O.includes}"`;if(O.format==="regex")return`Șir invalid: trebuie să se potrivească cu modelul ${O.pattern}`;return`Format invalid: ${Y[O.format]??I.format}`}case"not_multiple_of":return`Număr invalid: trebuie să fie multiplu de ${I.divisor}`;case"unrecognized_keys":return`Chei nerecunoscute: ${g0(I.keys,", ")}`;case"invalid_key":return`Cheie invalidă în ${I.origin}`;case"invalid_union":return"Intrare invalidă";case"invalid_element":return`Valoare invalidă în ${I.origin}`;default:return"Intrare invalidă"}}};function BL(){return{localeError:hu()}}function JB(X,J,Y,V){let I=Math.abs(X),O=I%10,Z=I%100;if(Z>=11&&Z<=19)return V;if(O===1)return J;if(O>=2&&O<=4)return Y;return V}var cu=()=>{let X={string:{unit:{one:"символ",few:"символа",many:"символов"},verb:"иметь"},file:{unit:{one:"байт",few:"байта",many:"байт"},verb:"иметь"},array:{unit:{one:"элемент",few:"элемента",many:"элементов"},verb:"иметь"},set:{unit:{one:"элемент",few:"элемента",many:"элементов"},verb:"иметь"}};function J(I){return X[I]??null}let Y={regex:"ввод",email:"email адрес",url:"URL",emoji:"эмодзи",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO дата и время",date:"ISO дата",time:"ISO время",duration:"ISO длительность",ipv4:"IPv4 адрес",ipv6:"IPv6 адрес",cidrv4:"IPv4 диапазон",cidrv6:"IPv6 диапазон",base64:"строка в формате base64",base64url:"строка в формате base64url",json_string:"JSON строка",e164:"номер E.164",jwt:"JWT",template_literal:"ввод"},V={nan:"NaN",number:"число",array:"массив"};return(I)=>{switch(I.code){case"invalid_type":{let O=V[I.expected]??I.expected,Z=Q$(I.input),L=V[Z]??Z;if(/^[A-Z]/.test(I.expected))return`Неверный ввод: ожидалось instanceof ${I.expected}, получено ${L}`;return`Неверный ввод: ожидалось ${O}, получено ${L}`}case"invalid_value":if(I.values.length===1)return`Неверный ввод: ожидалось ${J$(I.values[0])}`;return`Неверный вариант: ожидалось одно из ${g0(I.values,"|")}`;case"too_big":{let O=I.inclusive?"<=":"<",Z=J(I.origin);if(Z){let L=Number(I.maximum),B=JB(L,Z.unit.one,Z.unit.few,Z.unit.many);return`Слишком большое значение: ожидалось, что ${I.origin??"значение"} будет иметь ${O}${I.maximum.toString()} ${B}`}return`Слишком большое значение: ожидалось, что ${I.origin??"значение"} будет ${O}${I.maximum.toString()}`}case"too_small":{let O=I.inclusive?">=":">",Z=J(I.origin);if(Z){let L=Number(I.minimum),B=JB(L,Z.unit.one,Z.unit.few,Z.unit.many);return`Слишком маленькое значение: ожидалось, что ${I.origin} будет иметь ${O}${I.minimum.toString()} ${B}`}return`Слишком маленькое значение: ожидалось, что ${I.origin} будет ${O}${I.minimum.toString()}`}case"invalid_format":{let O=I;if(O.format==="starts_with")return`Неверная строка: должна начинаться с "${O.prefix}"`;if(O.format==="ends_with")return`Неверная строка: должна заканчиваться на "${O.suffix}"`;if(O.format==="includes")return`Неверная строка: должна содержать "${O.includes}"`;if(O.format==="regex")return`Неверная строка: должна соответствовать шаблону ${O.pattern}`;return`Неверный ${Y[O.format]??I.format}`}case"not_multiple_of":return`Неверное число: должно быть кратным ${I.divisor}`;case"unrecognized_keys":return`Нераспознанн${I.keys.length>1?"ые":"ый"} ключ${I.keys.length>1?"и":""}: ${g0(I.keys,", ")}`;case"invalid_key":return`Неверный ключ в ${I.origin}`;case"invalid_union":return"Неверные входные данные";case"invalid_element":return`Неверное значение в ${I.origin}`;default:return"Неверные входные данные"}}};function vL(){return{localeError:cu()}}var pu=()=>{let X={string:{unit:"znakov",verb:"imeti"},file:{unit:"bajtov",verb:"imeti"},array:{unit:"elementov",verb:"imeti"},set:{unit:"elementov",verb:"imeti"}};function J(I){return X[I]??null}let Y={regex:"vnos",email:"e-poštni naslov",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO datum in čas",date:"ISO datum",time:"ISO čas",duration:"ISO trajanje",ipv4:"IPv4 naslov",ipv6:"IPv6 naslov",cidrv4:"obseg IPv4",cidrv6:"obseg IPv6",base64:"base64 kodiran niz",base64url:"base64url kodiran niz",json_string:"JSON niz",e164:"E.164 številka",jwt:"JWT",template_literal:"vnos"},V={nan:"NaN",number:"število",array:"tabela"};return(I)=>{switch(I.code){case"invalid_type":{let O=V[I.expected]??I.expected,Z=Q$(I.input),L=V[Z]??Z;if(/^[A-Z]/.test(I.expected))return`Neveljaven vnos: pričakovano instanceof ${I.expected}, prejeto ${L}`;return`Neveljaven vnos: pričakovano ${O}, prejeto ${L}`}case"invalid_value":if(I.values.length===1)return`Neveljaven vnos: pričakovano ${J$(I.values[0])}`;return`Neveljavna možnost: pričakovano eno izmed ${g0(I.values,"|")}`;case"too_big":{let O=I.inclusive?"<=":"<",Z=J(I.origin);if(Z)return`Preveliko: pričakovano, da bo ${I.origin??"vrednost"} imelo ${O}${I.maximum.toString()} ${Z.unit??"elementov"}`;return`Preveliko: pričakovano, da bo ${I.origin??"vrednost"} ${O}${I.maximum.toString()}`}case"too_small":{let O=I.inclusive?">=":">",Z=J(I.origin);if(Z)return`Premajhno: pričakovano, da bo ${I.origin} imelo ${O}${I.minimum.toString()} ${Z.unit}`;return`Premajhno: pričakovano, da bo ${I.origin} ${O}${I.minimum.toString()}`}case"invalid_format":{let O=I;if(O.format==="starts_with")return`Neveljaven niz: mora se začeti z "${O.prefix}"`;if(O.format==="ends_with")return`Neveljaven niz: mora se končati z "${O.suffix}"`;if(O.format==="includes")return`Neveljaven niz: mora vsebovati "${O.includes}"`;if(O.format==="regex")return`Neveljaven niz: mora ustrezati vzorcu ${O.pattern}`;return`Neveljaven ${Y[O.format]??I.format}`}case"not_multiple_of":return`Neveljavno število: mora biti večkratnik ${I.divisor}`;case"unrecognized_keys":return`Neprepoznan${I.keys.length>1?"i ključi":" ključ"}: ${g0(I.keys,", ")}`;case"invalid_key":return`Neveljaven ključ v ${I.origin}`;case"invalid_union":return"Neveljaven vnos";case"invalid_element":return`Neveljavna vrednost v ${I.origin}`;default:return"Neveljaven vnos"}}};function NL(){return{localeError:pu()}}var mu=()=>{let X={string:{unit:"tecken",verb:"att ha"},file:{unit:"bytes",verb:"att ha"},array:{unit:"objekt",verb:"att innehålla"},set:{unit:"objekt",verb:"att innehålla"}};function J(I){return X[I]??null}let Y={regex:"reguljärt uttryck",email:"e-postadress",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO-datum och tid",date:"ISO-datum",time:"ISO-tid",duration:"ISO-varaktighet",ipv4:"IPv4-intervall",ipv6:"IPv6-intervall",cidrv4:"IPv4-spektrum",cidrv6:"IPv6-spektrum",base64:"base64-kodad sträng",base64url:"base64url-kodad sträng",json_string:"JSON-sträng",e164:"E.164-nummer",jwt:"JWT",template_literal:"mall-literal"},V={nan:"NaN",number:"antal",array:"lista"};return(I)=>{switch(I.code){case"invalid_type":{let O=V[I.expected]??I.expected,Z=Q$(I.input),L=V[Z]??Z;if(/^[A-Z]/.test(I.expected))return`Ogiltig inmatning: förväntat instanceof ${I.expected}, fick ${L}`;return`Ogiltig inmatning: förväntat ${O}, fick ${L}`}case"invalid_value":if(I.values.length===1)return`Ogiltig inmatning: förväntat ${J$(I.values[0])}`;return`Ogiltigt val: förväntade en av ${g0(I.values,"|")}`;case"too_big":{let O=I.inclusive?"<=":"<",Z=J(I.origin);if(Z)return`För stor(t): förväntade ${I.origin??"värdet"} att ha ${O}${I.maximum.toString()} ${Z.unit??"element"}`;return`För stor(t): förväntat ${I.origin??"värdet"} att ha ${O}${I.maximum.toString()}`}case"too_small":{let O=I.inclusive?">=":">",Z=J(I.origin);if(Z)return`För lite(t): förväntade ${I.origin??"värdet"} att ha ${O}${I.minimum.toString()} ${Z.unit}`;return`För lite(t): förväntade ${I.origin??"värdet"} att ha ${O}${I.minimum.toString()}`}case"invalid_format":{let O=I;if(O.format==="starts_with")return`Ogiltig sträng: måste börja med "${O.prefix}"`;if(O.format==="ends_with")return`Ogiltig sträng: måste sluta med "${O.suffix}"`;if(O.format==="includes")return`Ogiltig sträng: måste innehålla "${O.includes}"`;if(O.format==="regex")return`Ogiltig sträng: måste matcha mönstret "${O.pattern}"`;return`Ogiltig(t) ${Y[O.format]??I.format}`}case"not_multiple_of":return`Ogiltigt tal: måste vara en multipel av ${I.divisor}`;case"unrecognized_keys":return`${I.keys.length>1?"Okända nycklar":"Okänd nyckel"}: ${g0(I.keys,", ")}`;case"invalid_key":return`Ogiltig nyckel i ${I.origin??"värdet"}`;case"invalid_union":return"Ogiltig input";case"invalid_element":return`Ogiltigt värde i ${I.origin??"värdet"}`;default:return"Ogiltig input"}}};function qL(){return{localeError:mu()}}var lu=()=>{let X={string:{unit:"எழுத்துக்கள்",verb:"கொண்டிருக்க வேண்டும்"},file:{unit:"பைட்டுகள்",verb:"கொண்டிருக்க வேண்டும்"},array:{unit:"உறுப்புகள்",verb:"கொண்டிருக்க வேண்டும்"},set:{unit:"உறுப்புகள்",verb:"கொண்டிருக்க வேண்டும்"}};function J(I){return X[I]??null}let Y={regex:"உள்ளீடு",email:"மின்னஞ்சல் முகவரி",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO தேதி நேரம்",date:"ISO தேதி",time:"ISO நேரம்",duration:"ISO கால அளவு",ipv4:"IPv4 முகவரி",ipv6:"IPv6 முகவரி",cidrv4:"IPv4 வரம்பு",cidrv6:"IPv6 வரம்பு",base64:"base64-encoded சரம்",base64url:"base64url-encoded சரம்",json_string:"JSON சரம்",e164:"E.164 எண்",jwt:"JWT",template_literal:"input"},V={nan:"NaN",number:"எண்",array:"அணி",null:"வெறுமை"};return(I)=>{switch(I.code){case"invalid_type":{let O=V[I.expected]??I.expected,Z=Q$(I.input),L=V[Z]??Z;if(/^[A-Z]/.test(I.expected))return`தவறான உள்ளீடு: எதிர்பார்க்கப்பட்டது instanceof ${I.expected}, பெறப்பட்டது ${L}`;return`தவறான உள்ளீடு: எதிர்பார்க்கப்பட்டது ${O}, பெறப்பட்டது ${L}`}case"invalid_value":if(I.values.length===1)return`தவறான உள்ளீடு: எதிர்பார்க்கப்பட்டது ${J$(I.values[0])}`;return`தவறான விருப்பம்: எதிர்பார்க்கப்பட்டது ${g0(I.values,"|")} இல் ஒன்று`;case"too_big":{let O=I.inclusive?"<=":"<",Z=J(I.origin);if(Z)return`மிக பெரியது: எதிர்பார்க்கப்பட்டது ${I.origin??"மதிப்பு"} ${O}${I.maximum.toString()} ${Z.unit??"உறுப்புகள்"} ஆக இருக்க வேண்டும்`;return`மிக பெரியது: எதிர்பார்க்கப்பட்டது ${I.origin??"மதிப்பு"} ${O}${I.maximum.toString()} ஆக இருக்க வேண்டும்`}case"too_small":{let O=I.inclusive?">=":">",Z=J(I.origin);if(Z)return`மிகச் சிறியது: எதிர்பார்க்கப்பட்டது ${I.origin} ${O}${I.minimum.toString()} ${Z.unit} ஆக இருக்க வேண்டும்`;return`மிகச் சிறியது: எதிர்பார்க்கப்பட்டது ${I.origin} ${O}${I.minimum.toString()} ஆக இருக்க வேண்டும்`}case"invalid_format":{let O=I;if(O.format==="starts_with")return`தவறான சரம்: "${O.prefix}" இல் தொடங்க வேண்டும்`;if(O.format==="ends_with")return`தவறான சரம்: "${O.suffix}" இல் முடிவடைய வேண்டும்`;if(O.format==="includes")return`தவறான சரம்: "${O.includes}" ஐ உள்ளடக்க வேண்டும்`;if(O.format==="regex")return`தவறான சரம்: ${O.pattern} முறைபாட்டுடன் பொருந்த வேண்டும்`;return`தவறான ${Y[O.format]??I.format}`}case"not_multiple_of":return`தவறான எண்: ${I.divisor} இன் பலமாக இருக்க வேண்டும்`;case"unrecognized_keys":return`அடையாளம் தெரியாத விசை${I.keys.length>1?"கள்":""}: ${g0(I.keys,", ")}`;case"invalid_key":return`${I.origin} இல் தவறான விசை`;case"invalid_union":return"தவறான உள்ளீடு";case"invalid_element":return`${I.origin} இல் தவறான மதிப்பு`;default:return"தவறான உள்ளீடு"}}};function kL(){return{localeError:lu()}}var du=()=>{let X={string:{unit:"ตัวอักษร",verb:"ควรมี"},file:{unit:"ไบต์",verb:"ควรมี"},array:{unit:"รายการ",verb:"ควรมี"},set:{unit:"รายการ",verb:"ควรมี"}};function J(I){return X[I]??null}let Y={regex:"ข้อมูลที่ป้อน",email:"ที่อยู่อีเมล",url:"URL",emoji:"อิโมจิ",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"วันที่เวลาแบบ ISO",date:"วันที่แบบ ISO",time:"เวลาแบบ ISO",duration:"ช่วงเวลาแบบ ISO",ipv4:"ที่อยู่ IPv4",ipv6:"ที่อยู่ IPv6",cidrv4:"ช่วง IP แบบ IPv4",cidrv6:"ช่วง IP แบบ IPv6",base64:"ข้อความแบบ Base64",base64url:"ข้อความแบบ Base64 สำหรับ URL",json_string:"ข้อความแบบ JSON",e164:"เบอร์โทรศัพท์ระหว่างประเทศ (E.164)",jwt:"โทเคน JWT",template_literal:"ข้อมูลที่ป้อน"},V={nan:"NaN",number:"ตัวเลข",array:"อาร์เรย์ (Array)",null:"ไม่มีค่า (null)"};return(I)=>{switch(I.code){case"invalid_type":{let O=V[I.expected]??I.expected,Z=Q$(I.input),L=V[Z]??Z;if(/^[A-Z]/.test(I.expected))return`ประเภทข้อมูลไม่ถูกต้อง: ควรเป็น instanceof ${I.expected} แต่ได้รับ ${L}`;return`ประเภทข้อมูลไม่ถูกต้อง: ควรเป็น ${O} แต่ได้รับ ${L}`}case"invalid_value":if(I.values.length===1)return`ค่าไม่ถูกต้อง: ควรเป็น ${J$(I.values[0])}`;return`ตัวเลือกไม่ถูกต้อง: ควรเป็นหนึ่งใน ${g0(I.values,"|")}`;case"too_big":{let O=I.inclusive?"ไม่เกิน":"น้อยกว่า",Z=J(I.origin);if(Z)return`เกินกำหนด: ${I.origin??"ค่า"} ควรมี${O} ${I.maximum.toString()} ${Z.unit??"รายการ"}`;return`เกินกำหนด: ${I.origin??"ค่า"} ควรมี${O} ${I.maximum.toString()}`}case"too_small":{let O=I.inclusive?"อย่างน้อย":"มากกว่า",Z=J(I.origin);if(Z)return`น้อยกว่ากำหนด: ${I.origin} ควรมี${O} ${I.minimum.toString()} ${Z.unit}`;return`น้อยกว่ากำหนด: ${I.origin} ควรมี${O} ${I.minimum.toString()}`}case"invalid_format":{let O=I;if(O.format==="starts_with")return`รูปแบบไม่ถูกต้อง: ข้อความต้องขึ้นต้นด้วย "${O.prefix}"`;if(O.format==="ends_with")return`รูปแบบไม่ถูกต้อง: ข้อความต้องลงท้ายด้วย "${O.suffix}"`;if(O.format==="includes")return`รูปแบบไม่ถูกต้อง: ข้อความต้องมี "${O.includes}" อยู่ในข้อความ`;if(O.format==="regex")return`รูปแบบไม่ถูกต้อง: ต้องตรงกับรูปแบบที่กำหนด ${O.pattern}`;return`รูปแบบไม่ถูกต้อง: ${Y[O.format]??I.format}`}case"not_multiple_of":return`ตัวเลขไม่ถูกต้อง: ต้องเป็นจำนวนที่หารด้วย ${I.divisor} ได้ลงตัว`;case"unrecognized_keys":return`พบคีย์ที่ไม่รู้จัก: ${g0(I.keys,", ")}`;case"invalid_key":return`คีย์ไม่ถูกต้องใน ${I.origin}`;case"invalid_union":return"ข้อมูลไม่ถูกต้อง: ไม่ตรงกับรูปแบบยูเนียนที่กำหนดไว้";case"invalid_element":return`ข้อมูลไม่ถูกต้องใน ${I.origin}`;default:return"ข้อมูลไม่ถูกต้อง"}}};function xL(){return{localeError:du()}}var nu=()=>{let X={string:{unit:"karakter",verb:"olmalı"},file:{unit:"bayt",verb:"olmalı"},array:{unit:"öğe",verb:"olmalı"},set:{unit:"öğe",verb:"olmalı"}};function J(I){return X[I]??null}let Y={regex:"girdi",email:"e-posta adresi",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO tarih ve saat",date:"ISO tarih",time:"ISO saat",duration:"ISO süre",ipv4:"IPv4 adresi",ipv6:"IPv6 adresi",cidrv4:"IPv4 aralığı",cidrv6:"IPv6 aralığı",base64:"base64 ile şifrelenmiş metin",base64url:"base64url ile şifrelenmiş metin",json_string:"JSON dizesi",e164:"E.164 sayısı",jwt:"JWT",template_literal:"Şablon dizesi"},V={nan:"NaN"};return(I)=>{switch(I.code){case"invalid_type":{let O=V[I.expected]??I.expected,Z=Q$(I.input),L=V[Z]??Z;if(/^[A-Z]/.test(I.expected))return`Geçersiz değer: beklenen instanceof ${I.expected}, alınan ${L}`;return`Geçersiz değer: beklenen ${O}, alınan ${L}`}case"invalid_value":if(I.values.length===1)return`Geçersiz değer: beklenen ${J$(I.values[0])}`;return`Geçersiz seçenek: aşağıdakilerden biri olmalı: ${g0(I.values,"|")}`;case"too_big":{let O=I.inclusive?"<=":"<",Z=J(I.origin);if(Z)return`Çok büyük: beklenen ${I.origin??"değer"} ${O}${I.maximum.toString()} ${Z.unit??"öğe"}`;return`Çok büyük: beklenen ${I.origin??"değer"} ${O}${I.maximum.toString()}`}case"too_small":{let O=I.inclusive?">=":">",Z=J(I.origin);if(Z)return`Çok küçük: beklenen ${I.origin} ${O}${I.minimum.toString()} ${Z.unit}`;return`Çok küçük: beklenen ${I.origin} ${O}${I.minimum.toString()}`}case"invalid_format":{let O=I;if(O.format==="starts_with")return`Geçersiz metin: "${O.prefix}" ile başlamalı`;if(O.format==="ends_with")return`Geçersiz metin: "${O.suffix}" ile bitmeli`;if(O.format==="includes")return`Geçersiz metin: "${O.includes}" içermeli`;if(O.format==="regex")return`Geçersiz metin: ${O.pattern} desenine uymalı`;return`Geçersiz ${Y[O.format]??I.format}`}case"not_multiple_of":return`Geçersiz sayı: ${I.divisor} ile tam bölünebilmeli`;case"unrecognized_keys":return`Tanınmayan anahtar${I.keys.length>1?"lar":""}: ${g0(I.keys,", ")}`;case"invalid_key":return`${I.origin} içinde geçersiz anahtar`;case"invalid_union":return"Geçersiz değer";case"invalid_element":return`${I.origin} içinde geçersiz değer`;default:return"Geçersiz değer"}}};function gL(){return{localeError:nu()}}var ou=()=>{let X={string:{unit:"символів",verb:"матиме"},file:{unit:"байтів",verb:"матиме"},array:{unit:"елементів",verb:"матиме"},set:{unit:"елементів",verb:"матиме"}};function J(I){return X[I]??null}let Y={regex:"вхідні дані",email:"адреса електронної пошти",url:"URL",emoji:"емодзі",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"дата та час ISO",date:"дата ISO",time:"час ISO",duration:"тривалість ISO",ipv4:"адреса IPv4",ipv6:"адреса IPv6",cidrv4:"діапазон IPv4",cidrv6:"діапазон IPv6",base64:"рядок у кодуванні base64",base64url:"рядок у кодуванні base64url",json_string:"рядок JSON",e164:"номер E.164",jwt:"JWT",template_literal:"вхідні дані"},V={nan:"NaN",number:"число",array:"масив"};return(I)=>{switch(I.code){case"invalid_type":{let O=V[I.expected]??I.expected,Z=Q$(I.input),L=V[Z]??Z;if(/^[A-Z]/.test(I.expected))return`Неправильні вхідні дані: очікується instanceof ${I.expected}, отримано ${L}`;return`Неправильні вхідні дані: очікується ${O}, отримано ${L}`}case"invalid_value":if(I.values.length===1)return`Неправильні вхідні дані: очікується ${J$(I.values[0])}`;return`Неправильна опція: очікується одне з ${g0(I.values,"|")}`;case"too_big":{let O=I.inclusive?"<=":"<",Z=J(I.origin);if(Z)return`Занадто велике: очікується, що ${I.origin??"значення"} ${Z.verb} ${O}${I.maximum.toString()} ${Z.unit??"елементів"}`;return`Занадто велике: очікується, що ${I.origin??"значення"} буде ${O}${I.maximum.toString()}`}case"too_small":{let O=I.inclusive?">=":">",Z=J(I.origin);if(Z)return`Занадто мале: очікується, що ${I.origin} ${Z.verb} ${O}${I.minimum.toString()} ${Z.unit}`;return`Занадто мале: очікується, що ${I.origin} буде ${O}${I.minimum.toString()}`}case"invalid_format":{let O=I;if(O.format==="starts_with")return`Неправильний рядок: повинен починатися з "${O.prefix}"`;if(O.format==="ends_with")return`Неправильний рядок: повинен закінчуватися на "${O.suffix}"`;if(O.format==="includes")return`Неправильний рядок: повинен містити "${O.includes}"`;if(O.format==="regex")return`Неправильний рядок: повинен відповідати шаблону ${O.pattern}`;return`Неправильний ${Y[O.format]??I.format}`}case"not_multiple_of":return`Неправильне число: повинно бути кратним ${I.divisor}`;case"unrecognized_keys":return`Нерозпізнаний ключ${I.keys.length>1?"і":""}: ${g0(I.keys,", ")}`;case"invalid_key":return`Неправильний ключ у ${I.origin}`;case"invalid_union":return"Неправильні вхідні дані";case"invalid_element":return`Неправильне значення у ${I.origin}`;default:return"Неправильні вхідні дані"}}};function R2(){return{localeError:ou()}}function wL(){return R2()}var iu=()=>{let X={string:{unit:"حروف",verb:"ہونا"},file:{unit:"بائٹس",verb:"ہونا"},array:{unit:"آئٹمز",verb:"ہونا"},set:{unit:"آئٹمز",verb:"ہونا"}};function J(I){return X[I]??null}let Y={regex:"ان پٹ",email:"ای میل ایڈریس",url:"یو آر ایل",emoji:"ایموجی",uuid:"یو یو آئی ڈی",uuidv4:"یو یو آئی ڈی وی 4",uuidv6:"یو یو آئی ڈی وی 6",nanoid:"نینو آئی ڈی",guid:"جی یو آئی ڈی",cuid:"سی یو آئی ڈی",cuid2:"سی یو آئی ڈی 2",ulid:"یو ایل آئی ڈی",xid:"ایکس آئی ڈی",ksuid:"کے ایس یو آئی ڈی",datetime:"آئی ایس او ڈیٹ ٹائم",date:"آئی ایس او تاریخ",time:"آئی ایس او وقت",duration:"آئی ایس او مدت",ipv4:"آئی پی وی 4 ایڈریس",ipv6:"آئی پی وی 6 ایڈریس",cidrv4:"آئی پی وی 4 رینج",cidrv6:"آئی پی وی 6 رینج",base64:"بیس 64 ان کوڈڈ سٹرنگ",base64url:"بیس 64 یو آر ایل ان کوڈڈ سٹرنگ",json_string:"جے ایس او این سٹرنگ",e164:"ای 164 نمبر",jwt:"جے ڈبلیو ٹی",template_literal:"ان پٹ"},V={nan:"NaN",number:"نمبر",array:"آرے",null:"نل"};return(I)=>{switch(I.code){case"invalid_type":{let O=V[I.expected]??I.expected,Z=Q$(I.input),L=V[Z]??Z;if(/^[A-Z]/.test(I.expected))return`غلط ان پٹ: instanceof ${I.expected} متوقع تھا، ${L} موصول ہوا`;return`غلط ان پٹ: ${O} متوقع تھا، ${L} موصول ہوا`}case"invalid_value":if(I.values.length===1)return`غلط ان پٹ: ${J$(I.values[0])} متوقع تھا`;return`غلط آپشن: ${g0(I.values,"|")} میں سے ایک متوقع تھا`;case"too_big":{let O=I.inclusive?"<=":"<",Z=J(I.origin);if(Z)return`بہت بڑا: ${I.origin??"ویلیو"} کے ${O}${I.maximum.toString()} ${Z.unit??"عناصر"} ہونے متوقع تھے`;return`بہت بڑا: ${I.origin??"ویلیو"} کا ${O}${I.maximum.toString()} ہونا متوقع تھا`}case"too_small":{let O=I.inclusive?">=":">",Z=J(I.origin);if(Z)return`بہت چھوٹا: ${I.origin} کے ${O}${I.minimum.toString()} ${Z.unit} ہونے متوقع تھے`;return`بہت چھوٹا: ${I.origin} کا ${O}${I.minimum.toString()} ہونا متوقع تھا`}case"invalid_format":{let O=I;if(O.format==="starts_with")return`غلط سٹرنگ: "${O.prefix}" سے شروع ہونا چاہیے`;if(O.format==="ends_with")return`غلط سٹرنگ: "${O.suffix}" پر ختم ہونا چاہیے`;if(O.format==="includes")return`غلط سٹرنگ: "${O.includes}" شامل ہونا چاہیے`;if(O.format==="regex")return`غلط سٹرنگ: پیٹرن ${O.pattern} سے میچ ہونا چاہیے`;return`غلط ${Y[O.format]??I.format}`}case"not_multiple_of":return`غلط نمبر: ${I.divisor} کا مضاعف ہونا چاہیے`;case"unrecognized_keys":return`غیر تسلیم شدہ کی${I.keys.length>1?"ز":""}: ${g0(I.keys,"، ")}`;case"invalid_key":return`${I.origin} میں غلط کی`;case"invalid_union":return"غلط ان پٹ";case"invalid_element":return`${I.origin} میں غلط ویلیو`;default:return"غلط ان پٹ"}}};function fL(){return{localeError:iu()}}var ru=()=>{let X={string:{unit:"belgi",verb:"bo‘lishi kerak"},file:{unit:"bayt",verb:"bo‘lishi kerak"},array:{unit:"element",verb:"bo‘lishi kerak"},set:{unit:"element",verb:"bo‘lishi kerak"},map:{unit:"yozuv",verb:"bo‘lishi kerak"}};function J(I){return X[I]??null}let Y={regex:"kirish",email:"elektron pochta manzili",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO sana va vaqti",date:"ISO sana",time:"ISO vaqt",duration:"ISO davomiylik",ipv4:"IPv4 manzil",ipv6:"IPv6 manzil",mac:"MAC manzil",cidrv4:"IPv4 diapazon",cidrv6:"IPv6 diapazon",base64:"base64 kodlangan satr",base64url:"base64url kodlangan satr",json_string:"JSON satr",e164:"E.164 raqam",jwt:"JWT",template_literal:"kirish"},V={nan:"NaN",number:"raqam",array:"massiv"};return(I)=>{switch(I.code){case"invalid_type":{let O=V[I.expected]??I.expected,Z=Q$(I.input),L=V[Z]??Z;if(/^[A-Z]/.test(I.expected))return`Noto‘g‘ri kirish: kutilgan instanceof ${I.expected}, qabul qilingan ${L}`;return`Noto‘g‘ri kirish: kutilgan ${O}, qabul qilingan ${L}`}case"invalid_value":if(I.values.length===1)return`Noto‘g‘ri kirish: kutilgan ${J$(I.values[0])}`;return`Noto‘g‘ri variant: quyidagilardan biri kutilgan ${g0(I.values,"|")}`;case"too_big":{let O=I.inclusive?"<=":"<",Z=J(I.origin);if(Z)return`Juda katta: kutilgan ${I.origin??"qiymat"} ${O}${I.maximum.toString()} ${Z.unit} ${Z.verb}`;return`Juda katta: kutilgan ${I.origin??"qiymat"} ${O}${I.maximum.toString()}`}case"too_small":{let O=I.inclusive?">=":">",Z=J(I.origin);if(Z)return`Juda kichik: kutilgan ${I.origin} ${O}${I.minimum.toString()} ${Z.unit} ${Z.verb}`;return`Juda kichik: kutilgan ${I.origin} ${O}${I.minimum.toString()}`}case"invalid_format":{let O=I;if(O.format==="starts_with")return`Noto‘g‘ri satr: "${O.prefix}" bilan boshlanishi kerak`;if(O.format==="ends_with")return`Noto‘g‘ri satr: "${O.suffix}" bilan tugashi kerak`;if(O.format==="includes")return`Noto‘g‘ri satr: "${O.includes}" ni o‘z ichiga olishi kerak`;if(O.format==="regex")return`Noto‘g‘ri satr: ${O.pattern} shabloniga mos kelishi kerak`;return`Noto‘g‘ri ${Y[O.format]??I.format}`}case"not_multiple_of":return`Noto‘g‘ri raqam: ${I.divisor} ning karralisi bo‘lishi kerak`;case"unrecognized_keys":return`Noma’lum kalit${I.keys.length>1?"lar":""}: ${g0(I.keys,", ")}`;case"invalid_key":return`${I.origin} dagi kalit noto‘g‘ri`;case"invalid_union":return"Noto‘g‘ri kirish";case"invalid_element":return`${I.origin} da noto‘g‘ri qiymat`;default:return"Noto‘g‘ri kirish"}}};function yL(){return{localeError:ru()}}var tu=()=>{let X={string:{unit:"ký tự",verb:"có"},file:{unit:"byte",verb:"có"},array:{unit:"phần tử",verb:"có"},set:{unit:"phần tử",verb:"có"}};function J(I){return X[I]??null}let Y={regex:"đầu vào",email:"địa chỉ email",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ngày giờ ISO",date:"ngày ISO",time:"giờ ISO",duration:"khoảng thời gian ISO",ipv4:"địa chỉ IPv4",ipv6:"địa chỉ IPv6",cidrv4:"dải IPv4",cidrv6:"dải IPv6",base64:"chuỗi mã hóa base64",base64url:"chuỗi mã hóa base64url",json_string:"chuỗi JSON",e164:"số E.164",jwt:"JWT",template_literal:"đầu vào"},V={nan:"NaN",number:"số",array:"mảng"};return(I)=>{switch(I.code){case"invalid_type":{let O=V[I.expected]??I.expected,Z=Q$(I.input),L=V[Z]??Z;if(/^[A-Z]/.test(I.expected))return`Đầu vào không hợp lệ: mong đợi instanceof ${I.expected}, nhận được ${L}`;return`Đầu vào không hợp lệ: mong đợi ${O}, nhận được ${L}`}case"invalid_value":if(I.values.length===1)return`Đầu vào không hợp lệ: mong đợi ${J$(I.values[0])}`;return`Tùy chọn không hợp lệ: mong đợi một trong các giá trị ${g0(I.values,"|")}`;case"too_big":{let O=I.inclusive?"<=":"<",Z=J(I.origin);if(Z)return`Quá lớn: mong đợi ${I.origin??"giá trị"} ${Z.verb} ${O}${I.maximum.toString()} ${Z.unit??"phần tử"}`;return`Quá lớn: mong đợi ${I.origin??"giá trị"} ${O}${I.maximum.toString()}`}case"too_small":{let O=I.inclusive?">=":">",Z=J(I.origin);if(Z)return`Quá nhỏ: mong đợi ${I.origin} ${Z.verb} ${O}${I.minimum.toString()} ${Z.unit}`;return`Quá nhỏ: mong đợi ${I.origin} ${O}${I.minimum.toString()}`}case"invalid_format":{let O=I;if(O.format==="starts_with")return`Chuỗi không hợp lệ: phải bắt đầu bằng "${O.prefix}"`;if(O.format==="ends_with")return`Chuỗi không hợp lệ: phải kết thúc bằng "${O.suffix}"`;if(O.format==="includes")return`Chuỗi không hợp lệ: phải bao gồm "${O.includes}"`;if(O.format==="regex")return`Chuỗi không hợp lệ: phải khớp với mẫu ${O.pattern}`;return`${Y[O.format]??I.format} không hợp lệ`}case"not_multiple_of":return`Số không hợp lệ: phải là bội số của ${I.divisor}`;case"unrecognized_keys":return`Khóa không được nhận dạng: ${g0(I.keys,", ")}`;case"invalid_key":return`Khóa không hợp lệ trong ${I.origin}`;case"invalid_union":return"Đầu vào không hợp lệ";case"invalid_element":return`Giá trị không hợp lệ trong ${I.origin}`;default:return"Đầu vào không hợp lệ"}}};function bL(){return{localeError:tu()}}var au=()=>{let X={string:{unit:"字符",verb:"包含"},file:{unit:"字节",verb:"包含"},array:{unit:"项",verb:"包含"},set:{unit:"项",verb:"包含"}};function J(I){return X[I]??null}let Y={regex:"输入",email:"电子邮件",url:"URL",emoji:"表情符号",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO日期时间",date:"ISO日期",time:"ISO时间",duration:"ISO时长",ipv4:"IPv4地址",ipv6:"IPv6地址",cidrv4:"IPv4网段",cidrv6:"IPv6网段",base64:"base64编码字符串",base64url:"base64url编码字符串",json_string:"JSON字符串",e164:"E.164号码",jwt:"JWT",template_literal:"输入"},V={nan:"NaN",number:"数字",array:"数组",null:"空值(null)"};return(I)=>{switch(I.code){case"invalid_type":{let O=V[I.expected]??I.expected,Z=Q$(I.input),L=V[Z]??Z;if(/^[A-Z]/.test(I.expected))return`无效输入:期望 instanceof ${I.expected},实际接收 ${L}`;return`无效输入:期望 ${O},实际接收 ${L}`}case"invalid_value":if(I.values.length===1)return`无效输入:期望 ${J$(I.values[0])}`;return`无效选项:期望以下之一 ${g0(I.values,"|")}`;case"too_big":{let O=I.inclusive?"<=":"<",Z=J(I.origin);if(Z)return`数值过大:期望 ${I.origin??"值"} ${O}${I.maximum.toString()} ${Z.unit??"个元素"}`;return`数值过大:期望 ${I.origin??"值"} ${O}${I.maximum.toString()}`}case"too_small":{let O=I.inclusive?">=":">",Z=J(I.origin);if(Z)return`数值过小:期望 ${I.origin} ${O}${I.minimum.toString()} ${Z.unit}`;return`数值过小:期望 ${I.origin} ${O}${I.minimum.toString()}`}case"invalid_format":{let O=I;if(O.format==="starts_with")return`无效字符串:必须以 "${O.prefix}" 开头`;if(O.format==="ends_with")return`无效字符串:必须以 "${O.suffix}" 结尾`;if(O.format==="includes")return`无效字符串:必须包含 "${O.includes}"`;if(O.format==="regex")return`无效字符串:必须满足正则表达式 ${O.pattern}`;return`无效${Y[O.format]??I.format}`}case"not_multiple_of":return`无效数字:必须是 ${I.divisor} 的倍数`;case"unrecognized_keys":return`出现未知的键(key): ${g0(I.keys,", ")}`;case"invalid_key":return`${I.origin} 中的键(key)无效`;case"invalid_union":return"无效输入";case"invalid_element":return`${I.origin} 中包含无效值(value)`;default:return"无效输入"}}};function uL(){return{localeError:au()}}var su=()=>{let X={string:{unit:"字元",verb:"擁有"},file:{unit:"位元組",verb:"擁有"},array:{unit:"項目",verb:"擁有"},set:{unit:"項目",verb:"擁有"}};function J(I){return X[I]??null}let Y={regex:"輸入",email:"郵件地址",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO 日期時間",date:"ISO 日期",time:"ISO 時間",duration:"ISO 期間",ipv4:"IPv4 位址",ipv6:"IPv6 位址",cidrv4:"IPv4 範圍",cidrv6:"IPv6 範圍",base64:"base64 編碼字串",base64url:"base64url 編碼字串",json_string:"JSON 字串",e164:"E.164 數值",jwt:"JWT",template_literal:"輸入"},V={nan:"NaN"};return(I)=>{switch(I.code){case"invalid_type":{let O=V[I.expected]??I.expected,Z=Q$(I.input),L=V[Z]??Z;if(/^[A-Z]/.test(I.expected))return`無效的輸入值:預期為 instanceof ${I.expected},但收到 ${L}`;return`無效的輸入值:預期為 ${O},但收到 ${L}`}case"invalid_value":if(I.values.length===1)return`無效的輸入值:預期為 ${J$(I.values[0])}`;return`無效的選項:預期為以下其中之一 ${g0(I.values,"|")}`;case"too_big":{let O=I.inclusive?"<=":"<",Z=J(I.origin);if(Z)return`數值過大:預期 ${I.origin??"值"} 應為 ${O}${I.maximum.toString()} ${Z.unit??"個元素"}`;return`數值過大:預期 ${I.origin??"值"} 應為 ${O}${I.maximum.toString()}`}case"too_small":{let O=I.inclusive?">=":">",Z=J(I.origin);if(Z)return`數值過小:預期 ${I.origin} 應為 ${O}${I.minimum.toString()} ${Z.unit}`;return`數值過小:預期 ${I.origin} 應為 ${O}${I.minimum.toString()}`}case"invalid_format":{let O=I;if(O.format==="starts_with")return`無效的字串:必須以 "${O.prefix}" 開頭`;if(O.format==="ends_with")return`無效的字串:必須以 "${O.suffix}" 結尾`;if(O.format==="includes")return`無效的字串:必須包含 "${O.includes}"`;if(O.format==="regex")return`無效的字串:必須符合格式 ${O.pattern}`;return`無效的 ${Y[O.format]??I.format}`}case"not_multiple_of":return`無效的數字:必須為 ${I.divisor} 的倍數`;case"unrecognized_keys":return`無法識別的鍵值${I.keys.length>1?"們":""}:${g0(I.keys,"、")}`;case"invalid_key":return`${I.origin} 中有無效的鍵值`;case"invalid_union":return"無效的輸入值";case"invalid_element":return`${I.origin} 中有無效的值`;default:return"無效的輸入值"}}};function hL(){return{localeError:su()}}var eu=()=>{let X={string:{unit:"àmi",verb:"ní"},file:{unit:"bytes",verb:"ní"},array:{unit:"nkan",verb:"ní"},set:{unit:"nkan",verb:"ní"}};function J(I){return X[I]??null}let Y={regex:"ẹ̀rọ ìbáwọlé",email:"àdírẹ́sì ìmẹ́lì",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"àkókò ISO",date:"ọjọ́ ISO",time:"àkókò ISO",duration:"àkókò tó pé ISO",ipv4:"àdírẹ́sì IPv4",ipv6:"àdírẹ́sì IPv6",cidrv4:"àgbègbè IPv4",cidrv6:"àgbègbè IPv6",base64:"ọ̀rọ̀ tí a kọ́ ní base64",base64url:"ọ̀rọ̀ base64url",json_string:"ọ̀rọ̀ JSON",e164:"nọ́mbà E.164",jwt:"JWT",template_literal:"ẹ̀rọ ìbáwọlé"},V={nan:"NaN",number:"nọ́mbà",array:"akopọ"};return(I)=>{switch(I.code){case"invalid_type":{let O=V[I.expected]??I.expected,Z=Q$(I.input),L=V[Z]??Z;if(/^[A-Z]/.test(I.expected))return`Ìbáwọlé aṣìṣe: a ní láti fi instanceof ${I.expected}, àmọ̀ a rí ${L}`;return`Ìbáwọlé aṣìṣe: a ní láti fi ${O}, àmọ̀ a rí ${L}`}case"invalid_value":if(I.values.length===1)return`Ìbáwọlé aṣìṣe: a ní láti fi ${J$(I.values[0])}`;return`Àṣàyàn aṣìṣe: yan ọ̀kan lára ${g0(I.values,"|")}`;case"too_big":{let O=I.inclusive?"<=":"<",Z=J(I.origin);if(Z)return`Tó pọ̀ jù: a ní láti jẹ́ pé ${I.origin??"iye"} ${Z.verb} ${O}${I.maximum} ${Z.unit}`;return`Tó pọ̀ jù: a ní láti jẹ́ ${O}${I.maximum}`}case"too_small":{let O=I.inclusive?">=":">",Z=J(I.origin);if(Z)return`Kéré ju: a ní láti jẹ́ pé ${I.origin} ${Z.verb} ${O}${I.minimum} ${Z.unit}`;return`Kéré ju: a ní láti jẹ́ ${O}${I.minimum}`}case"invalid_format":{let O=I;if(O.format==="starts_with")return`Ọ̀rọ̀ aṣìṣe: gbọ́dọ̀ bẹ̀rẹ̀ pẹ̀lú "${O.prefix}"`;if(O.format==="ends_with")return`Ọ̀rọ̀ aṣìṣe: gbọ́dọ̀ parí pẹ̀lú "${O.suffix}"`;if(O.format==="includes")return`Ọ̀rọ̀ aṣìṣe: gbọ́dọ̀ ní "${O.includes}"`;if(O.format==="regex")return`Ọ̀rọ̀ aṣìṣe: gbọ́dọ̀ bá àpẹẹrẹ mu ${O.pattern}`;return`Aṣìṣe: ${Y[O.format]??I.format}`}case"not_multiple_of":return`Nọ́mbà aṣìṣe: gbọ́dọ̀ jẹ́ èyà pípín ti ${I.divisor}`;case"unrecognized_keys":return`Bọtìnì àìmọ̀: ${g0(I.keys,", ")}`;case"invalid_key":return`Bọtìnì aṣìṣe nínú ${I.origin}`;case"invalid_union":return"Ìbáwọlé aṣìṣe";case"invalid_element":return`Iye aṣìṣe nínú ${I.origin}`;default:return"Ìbáwọlé aṣìṣe"}}};function cL(){return{localeError:eu()}}var QB,pL=Symbol("ZodOutput"),mL=Symbol("ZodInput");class lL{constructor(){this._map=new WeakMap,this._idmap=new Map}add(X,...J){let Y=J[0];if(this._map.set(X,Y),Y&&typeof Y==="object"&&"id"in Y)this._idmap.set(Y.id,X);return this}clear(){return this._map=new WeakMap,this._idmap=new Map,this}remove(X){let J=this._map.get(X);if(J&&typeof J==="object"&&"id"in J)this._idmap.delete(J.id);return this._map.delete(X),this}get(X){let J=X._zod.parent;if(J){let Y={...this.get(J)??{}};delete Y.id;let V={...Y,...this._map.get(X)};return Object.keys(V).length?V:void 0}return this._map.get(X)}has(X){return this._map.has(X)}}function rO(){return new lL}(QB=globalThis).__zod_globalRegistry??(QB.__zod_globalRegistry=rO());var T6=globalThis.__zod_globalRegistry;function dL(X,J){return new X({type:"string",...Z$(J)})}function nL(X,J){return new X({type:"string",coerce:!0,...Z$(J)})}function tO(X,J){return new X({type:"string",format:"email",check:"string_format",abort:!1,...Z$(J)})}function j2(X,J){return new X({type:"string",format:"guid",check:"string_format",abort:!1,...Z$(J)})}function aO(X,J){return new X({type:"string",format:"uuid",check:"string_format",abort:!1,...Z$(J)})}function sO(X,J){return new X({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v4",...Z$(J)})}function eO(X,J){return new X({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v6",...Z$(J)})}function $V(X,J){return new X({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v7",...Z$(J)})}function B2(X,J){return new X({type:"string",format:"url",check:"string_format",abort:!1,...Z$(J)})}function UV(X,J){return new X({type:"string",format:"emoji",check:"string_format",abort:!1,...Z$(J)})}function XV(X,J){return new X({type:"string",format:"nanoid",check:"string_format",abort:!1,...Z$(J)})}function IV(X,J){return new X({type:"string",format:"cuid",check:"string_format",abort:!1,...Z$(J)})}function JV(X,J){return new X({type:"string",format:"cuid2",check:"string_format",abort:!1,...Z$(J)})}function QV(X,J){return new X({type:"string",format:"ulid",check:"string_format",abort:!1,...Z$(J)})}function YV(X,J){return new X({type:"string",format:"xid",check:"string_format",abort:!1,...Z$(J)})}function GV(X,J){return new X({type:"string",format:"ksuid",check:"string_format",abort:!1,...Z$(J)})}function ZV(X,J){return new X({type:"string",format:"ipv4",check:"string_format",abort:!1,...Z$(J)})}function zV(X,J){return new X({type:"string",format:"ipv6",check:"string_format",abort:!1,...Z$(J)})}function oL(X,J){return new X({type:"string",format:"mac",check:"string_format",abort:!1,...Z$(J)})}function OV(X,J){return new X({type:"string",format:"cidrv4",check:"string_format",abort:!1,...Z$(J)})}function VV(X,J){return new X({type:"string",format:"cidrv6",check:"string_format",abort:!1,...Z$(J)})}function DV(X,J){return new X({type:"string",format:"base64",check:"string_format",abort:!1,...Z$(J)})}function KV(X,J){return new X({type:"string",format:"base64url",check:"string_format",abort:!1,...Z$(J)})}function WV(X,J){return new X({type:"string",format:"e164",check:"string_format",abort:!1,...Z$(J)})}function FV(X,J){return new X({type:"string",format:"jwt",check:"string_format",abort:!1,...Z$(J)})}var iL={Any:null,Minute:-1,Second:0,Millisecond:3,Microsecond:6};function rL(X,J){return new X({type:"string",format:"datetime",check:"string_format",offset:!1,local:!1,precision:null,...Z$(J)})}function tL(X,J){return new X({type:"string",format:"date",check:"string_format",...Z$(J)})}function aL(X,J){return new X({type:"string",format:"time",check:"string_format",precision:null,...Z$(J)})}function sL(X,J){return new X({type:"string",format:"duration",check:"string_format",...Z$(J)})}function eL(X,J){return new X({type:"number",checks:[],...Z$(J)})}function $5(X,J){return new X({type:"number",coerce:!0,checks:[],...Z$(J)})}function U5(X,J){return new X({type:"number",check:"number_format",abort:!1,format:"safeint",...Z$(J)})}function X5(X,J){return new X({type:"number",check:"number_format",abort:!1,format:"float32",...Z$(J)})}function I5(X,J){return new X({type:"number",check:"number_format",abort:!1,format:"float64",...Z$(J)})}function J5(X,J){return new X({type:"number",check:"number_format",abort:!1,format:"int32",...Z$(J)})}function Q5(X,J){return new X({type:"number",check:"number_format",abort:!1,format:"uint32",...Z$(J)})}function Y5(X,J){return new X({type:"boolean",...Z$(J)})}function G5(X,J){return new X({type:"boolean",coerce:!0,...Z$(J)})}function Z5(X,J){return new X({type:"bigint",...Z$(J)})}function z5(X,J){return new X({type:"bigint",coerce:!0,...Z$(J)})}function O5(X,J){return new X({type:"bigint",check:"bigint_format",abort:!1,format:"int64",...Z$(J)})}function V5(X,J){return new X({type:"bigint",check:"bigint_format",abort:!1,format:"uint64",...Z$(J)})}function D5(X,J){return new X({type:"symbol",...Z$(J)})}function K5(X,J){return new X({type:"undefined",...Z$(J)})}function W5(X,J){return new X({type:"null",...Z$(J)})}function F5(X){return new X({type:"any"})}function H5(X){return new X({type:"unknown"})}function L5(X,J){return new X({type:"never",...Z$(J)})}function M5(X,J){return new X({type:"void",...Z$(J)})}function A5(X,J){return new X({type:"date",...Z$(J)})}function T5(X,J){return new X({type:"date",coerce:!0,...Z$(J)})}function C5(X,J){return new X({type:"nan",...Z$(J)})}function q4(X,J){return new yO({check:"less_than",...Z$(J),value:X,inclusive:!1})}function T1(X,J){return new yO({check:"less_than",...Z$(J),value:X,inclusive:!0})}function k4(X,J){return new bO({check:"greater_than",...Z$(J),value:X,inclusive:!1})}function h6(X,J){return new bO({check:"greater_than",...Z$(J),value:X,inclusive:!0})}function HV(X){return k4(0,X)}function LV(X){return q4(0,X)}function MV(X){return T1(0,X)}function AV(X){return h6(0,X)}function ZI(X,J){return new MF({check:"multiple_of",...Z$(J),value:X})}function zI(X,J){return new CF({check:"max_size",...Z$(J),maximum:X})}function x4(X,J){return new PF({check:"min_size",...Z$(J),minimum:X})}function OJ(X,J){return new _F({check:"size_equals",...Z$(J),size:X})}function VJ(X,J){return new EF({check:"max_length",...Z$(J),maximum:X})}function DX(X,J){return new RF({check:"min_length",...Z$(J),minimum:X})}function DJ(X,J){return new SF({check:"length_equals",...Z$(J),length:X})}function cQ(X,J){return new jF({check:"string_format",format:"regex",...Z$(J),pattern:X})}function pQ(X){return new BF({check:"string_format",format:"lowercase",...Z$(X)})}function mQ(X){return new vF({check:"string_format",format:"uppercase",...Z$(X)})}function lQ(X,J){return new NF({check:"string_format",format:"includes",...Z$(J),includes:X})}function dQ(X,J){return new qF({check:"string_format",format:"starts_with",...Z$(J),prefix:X})}function nQ(X,J){return new kF({check:"string_format",format:"ends_with",...Z$(J),suffix:X})}function TV(X,J,Y){return new xF({check:"property",property:X,schema:J,...Z$(Y)})}function oQ(X,J){return new gF({check:"mime_type",mime:X,...Z$(J)})}function a1(X){return new wF({check:"overwrite",tx:X})}function iQ(X){return a1((J)=>J.normalize(X))}function rQ(){return a1((X)=>X.trim())}function tQ(){return a1((X)=>X.toLowerCase())}function aQ(){return a1((X)=>X.toUpperCase())}function sQ(){return a1((X)=>q9(X))}function P5(X,J,Y){return new X({type:"array",element:J,...Z$(Y)})}function Uh(X,J,Y){return new X({type:"union",options:J,...Z$(Y)})}function Xh(X,J,Y){return new X({type:"union",options:J,inclusive:!1,...Z$(Y)})}function Ih(X,J,Y,V){return new X({type:"union",options:Y,discriminator:J,...Z$(V)})}function Jh(X,J,Y){return new X({type:"intersection",left:J,right:Y})}function Qh(X,J,Y,V){let I=Y instanceof R$;return new X({type:"tuple",items:J,rest:I?Y:null,...Z$(I?V:Y)})}function Yh(X,J,Y,V){return new X({type:"record",keyType:J,valueType:Y,...Z$(V)})}function Gh(X,J,Y,V){return new X({type:"map",keyType:J,valueType:Y,...Z$(V)})}function Zh(X,J,Y){return new X({type:"set",valueType:J,...Z$(Y)})}function zh(X,J,Y){let V=Array.isArray(J)?Object.fromEntries(J.map((I)=>[I,I])):J;return new X({type:"enum",entries:V,...Z$(Y)})}function Oh(X,J,Y){return new X({type:"enum",entries:J,...Z$(Y)})}function Vh(X,J,Y){return new X({type:"literal",values:Array.isArray(J)?J:[J],...Z$(Y)})}function _5(X,J){return new X({type:"file",...Z$(J)})}function Dh(X,J){return new X({type:"transform",transform:J})}function Kh(X,J){return new X({type:"optional",innerType:J})}function Wh(X,J){return new X({type:"nullable",innerType:J})}function Fh(X,J,Y){return new X({type:"default",innerType:J,get defaultValue(){return typeof Y==="function"?Y():x9(Y)}})}function Hh(X,J,Y){return new X({type:"nonoptional",innerType:J,...Z$(Y)})}function Lh(X,J){return new X({type:"success",innerType:J})}function Mh(X,J,Y){return new X({type:"catch",innerType:J,catchValue:typeof Y==="function"?Y:()=>Y})}function Ah(X,J,Y){return new X({type:"pipe",in:J,out:Y})}function Th(X,J){return new X({type:"readonly",innerType:J})}function Ch(X,J,Y){return new X({type:"template_literal",parts:J,...Z$(Y)})}function Ph(X,J){return new X({type:"lazy",getter:J})}function _h(X,J){return new X({type:"promise",innerType:J})}function E5(X,J,Y){let V=Z$(Y);return V.abort??(V.abort=!0),new X({type:"custom",check:"custom",fn:J,...V})}function R5(X,J,Y){return new X({type:"custom",check:"custom",fn:J,...Z$(Y)})}function S5(X,J){let Y=YB((V)=>{return V.addIssue=(I)=>{if(typeof I==="string")V.issues.push(gQ(I,V.value,Y._zod.def));else{let O=I;if(O.fatal)O.continue=!1;O.code??(O.code="custom"),O.input??(O.input=V.value),O.inst??(O.inst=Y),O.continue??(O.continue=!Y._zod.def.abort),V.issues.push(gQ(O))}},X(V.value,V)},J);return Y}function YB(X,J){let Y=new FU({check:"custom",...Z$(J)});return Y._zod.check=X,Y}function j5(X){let J=new FU({check:"describe"});return J._zod.onattach=[(Y)=>{let V=T6.get(Y)??{};T6.add(Y,{...V,description:X})}],J._zod.check=()=>{},J}function B5(X){let J=new FU({check:"meta"});return J._zod.onattach=[(Y)=>{let V=T6.get(Y)??{};T6.add(Y,{...V,...X})}],J._zod.check=()=>{},J}function v5(X,J){let Y=Z$(J),V=Y.truthy??["true","1","yes","on","y","enabled"],I=Y.falsy??["false","0","no","off","n","disabled"];if(Y.case!=="sensitive")V=V.map((v)=>typeof v==="string"?v.toLowerCase():v),I=I.map((v)=>typeof v==="string"?v.toLowerCase():v);let O=new Set(V),Z=new Set(I),L=X.Codec??C2,B=X.Boolean??A2,S=new(X.String??zJ)({type:"string",error:Y.error}),T=new B({type:"boolean",error:Y.error}),E=new L({type:"pipe",in:S,out:T,transform:(v,q)=>{let y=v;if(Y.case!=="sensitive")y=y.toLowerCase();if(O.has(y))return!0;else if(Z.has(y))return!1;else return q.issues.push({code:"invalid_value",expected:"stringbool",values:[...O,...Z],input:q.value,inst:E,continue:!1}),{}},reverseTransform:(v,q)=>{if(v===!0)return V[0]||"true";else return I[0]||"false"},error:Y.error});return E}function eQ(X,J,Y,V={}){let I=Z$(V),O={...Z$(V),check:"string_format",type:"string",format:J,fn:typeof Y==="function"?Y:(L)=>Y.test(L),...I};if(Y instanceof RegExp)O.pattern=Y;return new X(O)}function OI(X){let J=X?.target??"draft-2020-12";if(J==="draft-4")J="draft-04";if(J==="draft-7")J="draft-07";return{processors:X.processors??{},metadataRegistry:X?.metadata??T6,target:J,unrepresentable:X?.unrepresentable??"throw",override:X?.override??(()=>{}),io:X?.io??"output",counter:0,seen:new Map,cycles:X?.cycles??"ref",reused:X?.reused??"inline",external:X?.external??void 0}}function JU(X,J,Y={path:[],schemaPath:[]}){var V;let I=X._zod.def,O=J.seen.get(X);if(O){if(O.count++,Y.schemaPath.includes(X))O.cycle=Y.path;return O.schema}let Z={schema:{},count:1,cycle:void 0,path:Y.path};J.seen.set(X,Z);let L=X._zod.toJSONSchema?.();if(L)Z.schema=L;else{let S={...Y,schemaPath:[...Y.schemaPath,X],path:Y.path};if(X._zod.processJSONSchema)X._zod.processJSONSchema(J,Z.schema,S);else{let E=Z.schema,v=J.processors[I.type];if(!v)throw Error(`[toJSONSchema]: Non-representable type encountered: ${I.type}`);v(X,J,E,S)}let T=X._zod.parent;if(T){if(!Z.ref)Z.ref=T;JU(T,J,S),J.seen.get(T).isParent=!0}}let B=J.metadataRegistry.get(X);if(B)Object.assign(Z.schema,B);if(J.io==="input"&&c6(X))delete Z.schema.examples,delete Z.schema.default;if(J.io==="input"&&"_prefault"in Z.schema)(V=Z.schema).default??(V.default=Z.schema._prefault);return delete Z.schema._prefault,J.seen.get(X).schema}function VI(X,J){let Y=X.seen.get(J);if(!Y)throw Error("Unprocessed schema. This is a bug in Zod.");let V=new Map;for(let Z of X.seen.entries()){let L=X.metadataRegistry.get(Z[0])?.id;if(L){let B=V.get(L);if(B&&B!==Z[0])throw Error(`Duplicate schema id "${L}" detected during JSON Schema conversion. Two different schemas cannot share the same id when converted together.`);V.set(L,Z[0])}}let I=(Z)=>{let L=X.target==="draft-2020-12"?"$defs":"definitions";if(X.external){let T=X.external.registry.get(Z[0])?.id,E=X.external.uri??((q)=>q);if(T)return{ref:E(T)};let v=Z[1].defId??Z[1].schema.id??`schema${X.counter++}`;return Z[1].defId=v,{defId:v,ref:`${E("__shared")}#/${L}/${v}`}}if(Z[1]===Y)return{ref:"#"};let R=`${"#"}/${L}/`,S=Z[1].schema.id??`__schema${X.counter++}`;return{defId:S,ref:R+S}},O=(Z)=>{if(Z[1].schema.$ref)return;let L=Z[1],{ref:B,defId:R}=I(Z);if(L.def={...L.schema},R)L.defId=R;let S=L.schema;for(let T in S)delete S[T];S.$ref=B};if(X.cycles==="throw")for(let Z of X.seen.entries()){let L=Z[1];if(L.cycle)throw Error(`Cycle detected: #/${L.cycle?.join("/")}/<root>
319
+
320
+ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.`)}for(let Z of X.seen.entries()){let L=Z[1];if(J===Z[0]){O(Z);continue}if(X.external){let R=X.external.registry.get(Z[0])?.id;if(J!==Z[0]&&R){O(Z);continue}}if(X.metadataRegistry.get(Z[0])?.id){O(Z);continue}if(L.cycle){O(Z);continue}if(L.count>1){if(X.reused==="ref"){O(Z);continue}}}}function DI(X,J){let Y=X.seen.get(J);if(!Y)throw Error("Unprocessed schema. This is a bug in Zod.");let V=(L)=>{let B=X.seen.get(L);if(B.ref===null)return;let R=B.def??B.schema,S={...R},T=B.ref;if(B.ref=null,T){V(T);let v=X.seen.get(T),q=v.schema;if(q.$ref&&(X.target==="draft-07"||X.target==="draft-04"||X.target==="openapi-3.0"))R.allOf=R.allOf??[],R.allOf.push(q);else Object.assign(R,q);if(Object.assign(R,S),L._zod.parent===T)for(let w in R){if(w==="$ref"||w==="allOf")continue;if(!(w in S))delete R[w]}if(q.$ref&&v.def)for(let w in R){if(w==="$ref"||w==="allOf")continue;if(w in v.def&&JSON.stringify(R[w])===JSON.stringify(v.def[w]))delete R[w]}}let E=L._zod.parent;if(E&&E!==T){V(E);let v=X.seen.get(E);if(v?.schema.$ref){if(R.$ref=v.schema.$ref,v.def)for(let q in R){if(q==="$ref"||q==="allOf")continue;if(q in v.def&&JSON.stringify(R[q])===JSON.stringify(v.def[q]))delete R[q]}}}X.override({zodSchema:L,jsonSchema:R,path:B.path??[]})};for(let L of[...X.seen.entries()].reverse())V(L[0]);let I={};if(X.target==="draft-2020-12")I.$schema="https://json-schema.org/draft/2020-12/schema";else if(X.target==="draft-07")I.$schema="http://json-schema.org/draft-07/schema#";else if(X.target==="draft-04")I.$schema="http://json-schema.org/draft-04/schema#";else if(X.target==="openapi-3.0");if(X.external?.uri){let L=X.external.registry.get(J)?.id;if(!L)throw Error("Schema is missing an `id` property");I.$id=X.external.uri(L)}Object.assign(I,Y.def??Y.schema);let O=X.metadataRegistry.get(J)?.id;if(O!==void 0&&I.id===O)delete I.id;let Z=X.external?.defs??{};for(let L of X.seen.entries()){let B=L[1];if(B.def&&B.defId){if(B.def.id===B.defId)delete B.def.id;Z[B.defId]=B.def}}if(X.external);else if(Object.keys(Z).length>0)if(X.target==="draft-2020-12")I.$defs=Z;else I.definitions=Z;try{let L=JSON.parse(JSON.stringify(I));return Object.defineProperty(L,"~standard",{value:{...J["~standard"],jsonSchema:{input:$Y(J,"input",X.processors),output:$Y(J,"output",X.processors)}},enumerable:!1,writable:!1}),L}catch(L){throw Error("Error converting schema to JSON.")}}function c6(X,J){let Y=J??{seen:new Set};if(Y.seen.has(X))return!1;Y.seen.add(X);let V=X._zod.def;if(V.type==="transform")return!0;if(V.type==="array")return c6(V.element,Y);if(V.type==="set")return c6(V.valueType,Y);if(V.type==="lazy")return c6(V.getter(),Y);if(V.type==="promise"||V.type==="optional"||V.type==="nonoptional"||V.type==="nullable"||V.type==="readonly"||V.type==="default"||V.type==="prefault")return c6(V.innerType,Y);if(V.type==="intersection")return c6(V.left,Y)||c6(V.right,Y);if(V.type==="record"||V.type==="map")return c6(V.keyType,Y)||c6(V.valueType,Y);if(V.type==="pipe"){if(X._zod.traits.has("$ZodCodec"))return!0;return c6(V.in,Y)||c6(V.out,Y)}if(V.type==="object"){for(let I in V.shape)if(c6(V.shape[I],Y))return!0;return!1}if(V.type==="union"){for(let I of V.options)if(c6(I,Y))return!0;return!1}if(V.type==="tuple"){for(let I of V.items)if(c6(I,Y))return!0;if(V.rest&&c6(V.rest,Y))return!0;return!1}return!1}var N5=(X,J={})=>(Y)=>{let V=OI({...Y,processors:J});return JU(X,V),VI(V,X),DI(V,X)},$Y=(X,J,Y={})=>(V)=>{let{libraryOptions:I,target:O}=V??{},Z=OI({...I??{},target:O,io:J,processors:Y});return JU(X,Z),VI(Z,X),DI(Z,X)};var Eh={guid:"uuid",url:"uri",datetime:"date-time",json_string:"json-string",regex:""},q5=(X,J,Y,V)=>{let I=Y;I.type="string";let{minimum:O,maximum:Z,format:L,patterns:B,contentEncoding:R}=X._zod.bag;if(typeof O==="number")I.minLength=O;if(typeof Z==="number")I.maxLength=Z;if(L){if(I.format=Eh[L]??L,I.format==="")delete I.format;if(L==="time")delete I.format}if(R)I.contentEncoding=R;if(B&&B.size>0){let S=[...B];if(S.length===1)I.pattern=S[0].source;else if(S.length>1)I.allOf=[...S.map((T)=>({...J.target==="draft-07"||J.target==="draft-04"||J.target==="openapi-3.0"?{type:"string"}:{},pattern:T.source}))]}},k5=(X,J,Y,V)=>{let I=Y,{minimum:O,maximum:Z,format:L,multipleOf:B,exclusiveMaximum:R,exclusiveMinimum:S}=X._zod.bag;if(typeof L==="string"&&L.includes("int"))I.type="integer";else I.type="number";let T=typeof S==="number"&&S>=(O??Number.NEGATIVE_INFINITY),E=typeof R==="number"&&R<=(Z??Number.POSITIVE_INFINITY),v=J.target==="draft-04"||J.target==="openapi-3.0";if(T)if(v)I.minimum=S,I.exclusiveMinimum=!0;else I.exclusiveMinimum=S;else if(typeof O==="number")I.minimum=O;if(E)if(v)I.maximum=R,I.exclusiveMaximum=!0;else I.exclusiveMaximum=R;else if(typeof Z==="number")I.maximum=Z;if(typeof B==="number")I.multipleOf=B},x5=(X,J,Y,V)=>{Y.type="boolean"},g5=(X,J,Y,V)=>{if(J.unrepresentable==="throw")throw Error("BigInt cannot be represented in JSON Schema")},w5=(X,J,Y,V)=>{if(J.unrepresentable==="throw")throw Error("Symbols cannot be represented in JSON Schema")},f5=(X,J,Y,V)=>{if(J.target==="openapi-3.0")Y.type="string",Y.nullable=!0,Y.enum=[null];else Y.type="null"},y5=(X,J,Y,V)=>{if(J.unrepresentable==="throw")throw Error("Undefined cannot be represented in JSON Schema")},b5=(X,J,Y,V)=>{if(J.unrepresentable==="throw")throw Error("Void cannot be represented in JSON Schema")},u5=(X,J,Y,V)=>{Y.not={}},h5=(X,J,Y,V)=>{},c5=(X,J,Y,V)=>{},p5=(X,J,Y,V)=>{if(J.unrepresentable==="throw")throw Error("Date cannot be represented in JSON Schema")},m5=(X,J,Y,V)=>{let I=X._zod.def,O=Z2(I.entries);if(O.every((Z)=>typeof Z==="number"))Y.type="number";if(O.every((Z)=>typeof Z==="string"))Y.type="string";Y.enum=O},l5=(X,J,Y,V)=>{let I=X._zod.def,O=[];for(let Z of I.values)if(Z===void 0){if(J.unrepresentable==="throw")throw Error("Literal `undefined` cannot be represented in JSON Schema")}else if(typeof Z==="bigint")if(J.unrepresentable==="throw")throw Error("BigInt literals cannot be represented in JSON Schema");else O.push(Number(Z));else O.push(Z);if(O.length===0);else if(O.length===1){let Z=O[0];if(Y.type=Z===null?"null":typeof Z,J.target==="draft-04"||J.target==="openapi-3.0")Y.enum=[Z];else Y.const=Z}else{if(O.every((Z)=>typeof Z==="number"))Y.type="number";if(O.every((Z)=>typeof Z==="string"))Y.type="string";if(O.every((Z)=>typeof Z==="boolean"))Y.type="boolean";if(O.every((Z)=>Z===null))Y.type="null";Y.enum=O}},d5=(X,J,Y,V)=>{if(J.unrepresentable==="throw")throw Error("NaN cannot be represented in JSON Schema")},n5=(X,J,Y,V)=>{let I=Y,O=X._zod.pattern;if(!O)throw Error("Pattern not found in template literal");I.type="string",I.pattern=O.source},o5=(X,J,Y,V)=>{let I=Y,O={type:"string",format:"binary",contentEncoding:"binary"},{minimum:Z,maximum:L,mime:B}=X._zod.bag;if(Z!==void 0)O.minLength=Z;if(L!==void 0)O.maxLength=L;if(B)if(B.length===1)O.contentMediaType=B[0],Object.assign(I,O);else Object.assign(I,O),I.anyOf=B.map((R)=>({contentMediaType:R}));else Object.assign(I,O)},i5=(X,J,Y,V)=>{Y.type="boolean"},r5=(X,J,Y,V)=>{if(J.unrepresentable==="throw")throw Error("Custom types cannot be represented in JSON Schema")},t5=(X,J,Y,V)=>{if(J.unrepresentable==="throw")throw Error("Function types cannot be represented in JSON Schema")},a5=(X,J,Y,V)=>{if(J.unrepresentable==="throw")throw Error("Transforms cannot be represented in JSON Schema")},s5=(X,J,Y,V)=>{if(J.unrepresentable==="throw")throw Error("Map cannot be represented in JSON Schema")},e5=(X,J,Y,V)=>{if(J.unrepresentable==="throw")throw Error("Set cannot be represented in JSON Schema")},$7=(X,J,Y,V)=>{let I=Y,O=X._zod.def,{minimum:Z,maximum:L}=X._zod.bag;if(typeof Z==="number")I.minItems=Z;if(typeof L==="number")I.maxItems=L;I.type="array",I.items=JU(O.element,J,{...V,path:[...V.path,"items"]})},U7=(X,J,Y,V)=>{let I=Y,O=X._zod.def;I.type="object",I.properties={};let Z=O.shape;for(let R in Z)I.properties[R]=JU(Z[R],J,{...V,path:[...V.path,"properties",R]});let L=new Set(Object.keys(Z)),B=new Set([...L].filter((R)=>{let S=O.shape[R]._zod;if(J.io==="input")return S.optin===void 0;else return S.optout===void 0}));if(B.size>0)I.required=Array.from(B);if(O.catchall?._zod.def.type==="never")I.additionalProperties=!1;else if(!O.catchall){if(J.io==="output")I.additionalProperties=!1}else if(O.catchall)I.additionalProperties=JU(O.catchall,J,{...V,path:[...V.path,"additionalProperties"]})},PV=(X,J,Y,V)=>{let I=X._zod.def,O=I.inclusive===!1,Z=I.options.map((L,B)=>JU(L,J,{...V,path:[...V.path,O?"oneOf":"anyOf",B]}));if(O)Y.oneOf=Z;else Y.anyOf=Z},X7=(X,J,Y,V)=>{let I=X._zod.def,O=JU(I.left,J,{...V,path:[...V.path,"allOf",0]}),Z=JU(I.right,J,{...V,path:[...V.path,"allOf",1]}),L=(R)=>("allOf"in R)&&Object.keys(R).length===1,B=[...L(O)?O.allOf:[O],...L(Z)?Z.allOf:[Z]];Y.allOf=B},I7=(X,J,Y,V)=>{let I=Y,O=X._zod.def;I.type="array";let Z=J.target==="draft-2020-12"?"prefixItems":"items",L=J.target==="draft-2020-12"?"items":J.target==="openapi-3.0"?"items":"additionalItems",B=O.items.map((E,v)=>JU(E,J,{...V,path:[...V.path,Z,v]})),R=O.rest?JU(O.rest,J,{...V,path:[...V.path,L,...J.target==="openapi-3.0"?[O.items.length]:[]]}):null;if(J.target==="draft-2020-12"){if(I.prefixItems=B,R)I.items=R}else if(J.target==="openapi-3.0"){if(I.items={anyOf:B},R)I.items.anyOf.push(R);if(I.minItems=B.length,!R)I.maxItems=B.length}else if(I.items=B,R)I.additionalItems=R;let{minimum:S,maximum:T}=X._zod.bag;if(typeof S==="number")I.minItems=S;if(typeof T==="number")I.maxItems=T},J7=(X,J,Y,V)=>{let I=Y,O=X._zod.def;I.type="object";let Z=O.keyType,B=Z._zod.bag?.patterns;if(O.mode==="loose"&&B&&B.size>0){let S=JU(O.valueType,J,{...V,path:[...V.path,"patternProperties","*"]});I.patternProperties={};for(let T of B)I.patternProperties[T.source]=S}else{if(J.target==="draft-07"||J.target==="draft-2020-12")I.propertyNames=JU(O.keyType,J,{...V,path:[...V.path,"propertyNames"]});I.additionalProperties=JU(O.valueType,J,{...V,path:[...V.path,"additionalProperties"]})}let R=Z._zod.values;if(R){let S=[...R].filter((T)=>typeof T==="string"||typeof T==="number");if(S.length>0)I.required=S}},Q7=(X,J,Y,V)=>{let I=X._zod.def,O=JU(I.innerType,J,V),Z=J.seen.get(X);if(J.target==="openapi-3.0")Z.ref=I.innerType,Y.nullable=!0;else Y.anyOf=[O,{type:"null"}]},Y7=(X,J,Y,V)=>{let I=X._zod.def;JU(I.innerType,J,V);let O=J.seen.get(X);O.ref=I.innerType},G7=(X,J,Y,V)=>{let I=X._zod.def;JU(I.innerType,J,V);let O=J.seen.get(X);O.ref=I.innerType,Y.default=JSON.parse(JSON.stringify(I.defaultValue))},Z7=(X,J,Y,V)=>{let I=X._zod.def;JU(I.innerType,J,V);let O=J.seen.get(X);if(O.ref=I.innerType,J.io==="input")Y._prefault=JSON.parse(JSON.stringify(I.defaultValue))},z7=(X,J,Y,V)=>{let I=X._zod.def;JU(I.innerType,J,V);let O=J.seen.get(X);O.ref=I.innerType;let Z;try{Z=I.catchValue(void 0)}catch{throw Error("Dynamic catch values are not supported in JSON Schema")}Y.default=Z},O7=(X,J,Y,V)=>{let I=X._zod.def,O=I.in._zod.traits.has("$ZodTransform"),Z=J.io==="input"?O?I.out:I.in:I.out;JU(Z,J,V);let L=J.seen.get(X);L.ref=Z},V7=(X,J,Y,V)=>{let I=X._zod.def;JU(I.innerType,J,V);let O=J.seen.get(X);O.ref=I.innerType,Y.readOnly=!0},D7=(X,J,Y,V)=>{let I=X._zod.def;JU(I.innerType,J,V);let O=J.seen.get(X);O.ref=I.innerType},_V=(X,J,Y,V)=>{let I=X._zod.def;JU(I.innerType,J,V);let O=J.seen.get(X);O.ref=I.innerType},K7=(X,J,Y,V)=>{let I=X._zod.innerType;JU(I,J,V);let O=J.seen.get(X);O.ref=I},CV={string:q5,number:k5,boolean:x5,bigint:g5,symbol:w5,null:f5,undefined:y5,void:b5,never:u5,any:h5,unknown:c5,date:p5,enum:m5,literal:l5,nan:d5,template_literal:n5,file:o5,success:i5,custom:r5,function:t5,transform:a5,map:s5,set:e5,array:$7,object:U7,union:PV,intersection:X7,tuple:I7,record:J7,nullable:Q7,nonoptional:Y7,default:G7,prefault:Z7,catch:z7,pipe:O7,readonly:V7,promise:D7,optional:_V,lazy:K7};function EV(X,J){if("_idmap"in X){let V=X,I=OI({...J,processors:CV}),O={};for(let B of V._idmap.entries()){let[R,S]=B;JU(S,I)}let Z={},L={registry:V,uri:J?.uri,defs:O};I.external=L;for(let B of V._idmap.entries()){let[R,S]=B;VI(I,S),Z[R]=DI(I,S)}if(Object.keys(O).length>0){let B=I.target==="draft-2020-12"?"$defs":"definitions";Z.__shared={[B]:O}}return{schemas:Z}}let Y=OI({...J,processors:CV});return JU(X,Y),VI(Y,X),DI(Y,X)}class W7{get metadataRegistry(){return this.ctx.metadataRegistry}get target(){return this.ctx.target}get unrepresentable(){return this.ctx.unrepresentable}get override(){return this.ctx.override}get io(){return this.ctx.io}get counter(){return this.ctx.counter}set counter(X){this.ctx.counter=X}get seen(){return this.ctx.seen}constructor(X){let J=X?.target??"draft-2020-12";if(J==="draft-4")J="draft-04";if(J==="draft-7")J="draft-07";this.ctx=OI({processors:CV,target:J,...X?.metadata&&{metadata:X.metadata},...X?.unrepresentable&&{unrepresentable:X.unrepresentable},...X?.override&&{override:X.override},...X?.io&&{io:X.io}})}process(X,J={path:[],schemaPath:[]}){return JU(X,this.ctx,J)}emit(X,J){if(J){if(J.cycles)this.ctx.cycles=J.cycles;if(J.reused)this.ctx.reused=J.reused;if(J.external)this.ctx.external=J.external}VI(this.ctx,X);let Y=DI(this.ctx,X),{"~standard":V,...I}=Y;return I}}var GB={};var v2={};g6(v2,{xor:()=>$v,xid:()=>_B,void:()=>iB,uuidv7:()=>FB,uuidv6:()=>WB,uuidv4:()=>KB,uuid:()=>DB,url:()=>HB,unknown:()=>KJ,union:()=>aV,undefined:()=>nB,ulid:()=>PB,uint64:()=>lB,uint32:()=>cB,tuple:()=>i7,transform:()=>eV,templateLiteral:()=>Wv,symbol:()=>dB,superRefine:()=>PM,success:()=>Ov,stringbool:()=>Pv,stringFormat:()=>gB,string:()=>N2,strictObject:()=>sB,set:()=>Qv,refine:()=>CM,record:()=>r7,readonly:()=>FM,promise:()=>Fv,preprocess:()=>Ev,prefault:()=>GM,pipe:()=>qV,partialRecord:()=>Xv,optional:()=>k2,object:()=>aB,number:()=>k7,nullish:()=>zv,nullable:()=>x2,null:()=>y7,nonoptional:()=>ZM,never:()=>tV,nativeEnum:()=>Yv,nanoid:()=>AB,nan:()=>Vv,meta:()=>Tv,map:()=>Jv,mac:()=>SB,looseRecord:()=>Iv,looseObject:()=>eB,literal:()=>Gv,lazy:()=>MM,ksuid:()=>EB,keyof:()=>tB,jwt:()=>xB,json:()=>_v,ipv6:()=>jB,ipv4:()=>RB,invertCodec:()=>Kv,intersection:()=>n7,int64:()=>mB,int32:()=>hB,int:()=>NV,instanceof:()=>Cv,httpUrl:()=>LB,hostname:()=>wB,hex:()=>fB,hash:()=>yB,guid:()=>VB,function:()=>Hv,float64:()=>uB,float32:()=>bB,file:()=>Zv,exactOptional:()=>XM,enum:()=>sV,emoji:()=>MB,email:()=>OB,e164:()=>kB,discriminatedUnion:()=>Uv,describe:()=>Av,date:()=>rB,custom:()=>Mv,cuid2:()=>CB,cuid:()=>TB,codec:()=>Dv,cidrv6:()=>vB,cidrv4:()=>BB,check:()=>Lv,catch:()=>VM,boolean:()=>x7,bigint:()=>pB,base64url:()=>qB,base64:()=>NB,array:()=>y2,any:()=>oB,_function:()=>Hv,_default:()=>QM,_ZodString:()=>kV,ZodXor:()=>m7,ZodXID:()=>uV,ZodVoid:()=>c7,ZodUnknown:()=>u7,ZodUnion:()=>u2,ZodUndefined:()=>w7,ZodUUID:()=>g4,ZodURL:()=>w2,ZodULID:()=>bV,ZodType:()=>x$,ZodTuple:()=>o7,ZodTransform:()=>$M,ZodTemplateLiteral:()=>HM,ZodSymbol:()=>g7,ZodSuccess:()=>zM,ZodStringFormat:()=>OU,ZodString:()=>JY,ZodSet:()=>a7,ZodRecord:()=>XY,ZodReadonly:()=>WM,ZodPromise:()=>AM,ZodPreprocess:()=>KM,ZodPrefault:()=>YM,ZodPipe:()=>h2,ZodOptional:()=>$D,ZodObject:()=>b2,ZodNumberFormat:()=>WJ,ZodNumber:()=>YY,ZodNullable:()=>IM,ZodNull:()=>f7,ZodNonOptional:()=>UD,ZodNever:()=>h7,ZodNanoID:()=>wV,ZodNaN:()=>DM,ZodMap:()=>t7,ZodMAC:()=>q7,ZodLiteral:()=>s7,ZodLazy:()=>LM,ZodKSUID:()=>hV,ZodJWT:()=>iV,ZodIntersection:()=>d7,ZodIPv6:()=>pV,ZodIPv4:()=>cV,ZodGUID:()=>q2,ZodFunction:()=>TM,ZodFile:()=>e7,ZodExactOptional:()=>UM,ZodEnum:()=>IY,ZodEmoji:()=>gV,ZodEmail:()=>xV,ZodE164:()=>oV,ZodDiscriminatedUnion:()=>l7,ZodDefault:()=>JM,ZodDate:()=>f2,ZodCustomStringFormat:()=>QY,ZodCustom:()=>p2,ZodCodec:()=>c2,ZodCatch:()=>OM,ZodCUID2:()=>yV,ZodCUID:()=>fV,ZodCIDRv6:()=>lV,ZodCIDRv4:()=>mV,ZodBoolean:()=>GY,ZodBigIntFormat:()=>rV,ZodBigInt:()=>ZY,ZodBase64URL:()=>nV,ZodBase64:()=>dV,ZodArray:()=>p7,ZodAny:()=>b7});var RV={};g6(RV,{uppercase:()=>mQ,trim:()=>rQ,toUpperCase:()=>aQ,toLowerCase:()=>tQ,startsWith:()=>dQ,slugify:()=>sQ,size:()=>OJ,regex:()=>cQ,property:()=>TV,positive:()=>HV,overwrite:()=>a1,normalize:()=>iQ,nonpositive:()=>MV,nonnegative:()=>AV,negative:()=>LV,multipleOf:()=>ZI,minSize:()=>x4,minLength:()=>DX,mime:()=>oQ,maxSize:()=>zI,maxLength:()=>VJ,lte:()=>T1,lt:()=>q4,lowercase:()=>pQ,length:()=>DJ,includes:()=>lQ,gte:()=>h6,gt:()=>k4,endsWith:()=>nQ});var UY={};g6(UY,{time:()=>L7,duration:()=>M7,datetime:()=>F7,date:()=>H7,ZodISOTime:()=>BV,ZodISODuration:()=>vV,ZodISODateTime:()=>SV,ZodISODate:()=>jV});var SV=B0("ZodISODateTime",(X,J)=>{rF.init(X,J),OU.init(X,J)});function F7(X){return rL(SV,X)}var jV=B0("ZodISODate",(X,J)=>{tF.init(X,J),OU.init(X,J)});function H7(X){return tL(jV,X)}var BV=B0("ZodISOTime",(X,J)=>{aF.init(X,J),OU.init(X,J)});function L7(X){return aL(BV,X)}var vV=B0("ZodISODuration",(X,J)=>{sF.init(X,J),OU.init(X,J)});function M7(X){return sL(vV,X)}var ZB=(X,J)=>{K2.init(X,J),X.name="ZodError",Object.defineProperties(X,{format:{value:(Y)=>F2(X,Y)},flatten:{value:(Y)=>W2(X,Y)},addIssue:{value:(Y)=>{X.issues.push(Y),X.message=JSON.stringify(X.issues,kQ,2)}},addIssues:{value:(Y)=>{X.issues.push(...Y),X.message=JSON.stringify(X.issues,kQ,2)}},isEmpty:{get(){return X.issues.length===0}}})},Sh=B0("ZodError",ZB),e6=B0("ZodError",ZB,{Parent:Error});var A7=wQ(e6),T7=fQ(e6),C7=yQ(e6),P7=bQ(e6),_7=BO(e6),E7=vO(e6),R7=NO(e6),S7=qO(e6),j7=kO(e6),B7=xO(e6),v7=gO(e6),N7=wO(e6);var zB=new WeakMap;function g2(X,J,Y){let V=Object.getPrototypeOf(X),I=zB.get(V);if(!I)I=new Set,zB.set(V,I);if(I.has(J))return;I.add(J);for(let O in Y){let Z=Y[O];Object.defineProperty(V,O,{configurable:!0,enumerable:!1,get(){let L=Z.bind(this);return Object.defineProperty(this,O,{configurable:!0,writable:!0,enumerable:!0,value:L}),L},set(L){Object.defineProperty(this,O,{configurable:!0,writable:!0,enumerable:!0,value:L})}})}}var x$=B0("ZodType",(X,J)=>{return R$.init(X,J),Object.assign(X["~standard"],{jsonSchema:{input:$Y(X,"input"),output:$Y(X,"output")}}),X.toJSONSchema=N5(X,{}),X.def=J,X.type=J.type,Object.defineProperty(X,"_def",{value:J}),X.parse=(Y,V)=>A7(X,Y,V,{callee:X.parse}),X.safeParse=(Y,V)=>C7(X,Y,V),X.parseAsync=async(Y,V)=>T7(X,Y,V,{callee:X.parseAsync}),X.safeParseAsync=async(Y,V)=>P7(X,Y,V),X.spa=X.safeParseAsync,X.encode=(Y,V)=>_7(X,Y,V),X.decode=(Y,V)=>E7(X,Y,V),X.encodeAsync=async(Y,V)=>R7(X,Y,V),X.decodeAsync=async(Y,V)=>S7(X,Y,V),X.safeEncode=(Y,V)=>j7(X,Y,V),X.safeDecode=(Y,V)=>B7(X,Y,V),X.safeEncodeAsync=async(Y,V)=>v7(X,Y,V),X.safeDecodeAsync=async(Y,V)=>N7(X,Y,V),g2(X,"ZodType",{check(...Y){let V=this.def;return this.clone(G$.mergeDefs(V,{checks:[...V.checks??[],...Y.map((I)=>typeof I==="function"?{_zod:{check:I,def:{check:"custom"},onattach:[]}}:I)]}),{parent:!0})},with(...Y){return this.check(...Y)},clone(Y,V){return b6(this,Y,V)},brand(){return this},register(Y,V){return Y.add(this,V),this},refine(Y,V){return this.check(CM(Y,V))},superRefine(Y,V){return this.check(PM(Y,V))},overwrite(Y){return this.check(a1(Y))},optional(){return k2(this)},exactOptional(){return XM(this)},nullable(){return x2(this)},nullish(){return k2(x2(this))},nonoptional(Y){return ZM(this,Y)},array(){return y2(this)},or(Y){return aV([this,Y])},and(Y){return n7(this,Y)},transform(Y){return qV(this,eV(Y))},default(Y){return QM(this,Y)},prefault(Y){return GM(this,Y)},catch(Y){return VM(this,Y)},pipe(Y){return qV(this,Y)},readonly(){return FM(this)},describe(Y){let V=this.clone();return T6.add(V,{description:Y}),V},meta(...Y){if(Y.length===0)return T6.get(this);let V=this.clone();return T6.add(V,Y[0]),V},isOptional(){return this.safeParse(void 0).success},isNullable(){return this.safeParse(null).success},apply(Y){return Y(this)}}),Object.defineProperty(X,"description",{get(){return T6.get(X)?.description},configurable:!0}),X}),kV=B0("_ZodString",(X,J)=>{zJ.init(X,J),x$.init(X,J),X._zod.processJSONSchema=(V,I,O)=>q5(X,V,I,O);let Y=X._zod.bag;X.format=Y.format??null,X.minLength=Y.minimum??null,X.maxLength=Y.maximum??null,g2(X,"_ZodString",{regex(...V){return this.check(cQ(...V))},includes(...V){return this.check(lQ(...V))},startsWith(...V){return this.check(dQ(...V))},endsWith(...V){return this.check(nQ(...V))},min(...V){return this.check(DX(...V))},max(...V){return this.check(VJ(...V))},length(...V){return this.check(DJ(...V))},nonempty(...V){return this.check(DX(1,...V))},lowercase(V){return this.check(pQ(V))},uppercase(V){return this.check(mQ(V))},trim(){return this.check(rQ())},normalize(...V){return this.check(iQ(...V))},toLowerCase(){return this.check(tQ())},toUpperCase(){return this.check(aQ())},slugify(){return this.check(sQ())}})}),JY=B0("ZodString",(X,J)=>{zJ.init(X,J),kV.init(X,J),X.email=(Y)=>X.check(tO(xV,Y)),X.url=(Y)=>X.check(B2(w2,Y)),X.jwt=(Y)=>X.check(FV(iV,Y)),X.emoji=(Y)=>X.check(UV(gV,Y)),X.guid=(Y)=>X.check(j2(q2,Y)),X.uuid=(Y)=>X.check(aO(g4,Y)),X.uuidv4=(Y)=>X.check(sO(g4,Y)),X.uuidv6=(Y)=>X.check(eO(g4,Y)),X.uuidv7=(Y)=>X.check($V(g4,Y)),X.nanoid=(Y)=>X.check(XV(wV,Y)),X.guid=(Y)=>X.check(j2(q2,Y)),X.cuid=(Y)=>X.check(IV(fV,Y)),X.cuid2=(Y)=>X.check(JV(yV,Y)),X.ulid=(Y)=>X.check(QV(bV,Y)),X.base64=(Y)=>X.check(DV(dV,Y)),X.base64url=(Y)=>X.check(KV(nV,Y)),X.xid=(Y)=>X.check(YV(uV,Y)),X.ksuid=(Y)=>X.check(GV(hV,Y)),X.ipv4=(Y)=>X.check(ZV(cV,Y)),X.ipv6=(Y)=>X.check(zV(pV,Y)),X.cidrv4=(Y)=>X.check(OV(mV,Y)),X.cidrv6=(Y)=>X.check(VV(lV,Y)),X.e164=(Y)=>X.check(WV(oV,Y)),X.datetime=(Y)=>X.check(F7(Y)),X.date=(Y)=>X.check(H7(Y)),X.time=(Y)=>X.check(L7(Y)),X.duration=(Y)=>X.check(M7(Y))});function N2(X){return dL(JY,X)}var OU=B0("ZodStringFormat",(X,J)=>{zU.init(X,J),kV.init(X,J)}),xV=B0("ZodEmail",(X,J)=>{hF.init(X,J),OU.init(X,J)});function OB(X){return tO(xV,X)}var q2=B0("ZodGUID",(X,J)=>{bF.init(X,J),OU.init(X,J)});function VB(X){return j2(q2,X)}var g4=B0("ZodUUID",(X,J)=>{uF.init(X,J),OU.init(X,J)});function DB(X){return aO(g4,X)}function KB(X){return sO(g4,X)}function WB(X){return eO(g4,X)}function FB(X){return $V(g4,X)}var w2=B0("ZodURL",(X,J)=>{cF.init(X,J),OU.init(X,J)});function HB(X){return B2(w2,X)}function LB(X){return B2(w2,{protocol:A1.httpProtocol,hostname:A1.domain,...G$.normalizeParams(X)})}var gV=B0("ZodEmoji",(X,J)=>{pF.init(X,J),OU.init(X,J)});function MB(X){return UV(gV,X)}var wV=B0("ZodNanoID",(X,J)=>{mF.init(X,J),OU.init(X,J)});function AB(X){return XV(wV,X)}var fV=B0("ZodCUID",(X,J)=>{lF.init(X,J),OU.init(X,J)});function TB(X){return IV(fV,X)}var yV=B0("ZodCUID2",(X,J)=>{dF.init(X,J),OU.init(X,J)});function CB(X){return JV(yV,X)}var bV=B0("ZodULID",(X,J)=>{nF.init(X,J),OU.init(X,J)});function PB(X){return QV(bV,X)}var uV=B0("ZodXID",(X,J)=>{oF.init(X,J),OU.init(X,J)});function _B(X){return YV(uV,X)}var hV=B0("ZodKSUID",(X,J)=>{iF.init(X,J),OU.init(X,J)});function EB(X){return GV(hV,X)}var cV=B0("ZodIPv4",(X,J)=>{eF.init(X,J),OU.init(X,J)});function RB(X){return ZV(cV,X)}var q7=B0("ZodMAC",(X,J)=>{UH.init(X,J),OU.init(X,J)});function SB(X){return oL(q7,X)}var pV=B0("ZodIPv6",(X,J)=>{$H.init(X,J),OU.init(X,J)});function jB(X){return zV(pV,X)}var mV=B0("ZodCIDRv4",(X,J)=>{XH.init(X,J),OU.init(X,J)});function BB(X){return OV(mV,X)}var lV=B0("ZodCIDRv6",(X,J)=>{IH.init(X,J),OU.init(X,J)});function vB(X){return VV(lV,X)}var dV=B0("ZodBase64",(X,J)=>{QH.init(X,J),OU.init(X,J)});function NB(X){return DV(dV,X)}var nV=B0("ZodBase64URL",(X,J)=>{YH.init(X,J),OU.init(X,J)});function qB(X){return KV(nV,X)}var oV=B0("ZodE164",(X,J)=>{GH.init(X,J),OU.init(X,J)});function kB(X){return WV(oV,X)}var iV=B0("ZodJWT",(X,J)=>{ZH.init(X,J),OU.init(X,J)});function xB(X){return FV(iV,X)}var QY=B0("ZodCustomStringFormat",(X,J)=>{zH.init(X,J),OU.init(X,J)});function gB(X,J,Y={}){return eQ(QY,X,J,Y)}function wB(X){return eQ(QY,"hostname",A1.hostname,X)}function fB(X){return eQ(QY,"hex",A1.hex,X)}function yB(X,J){let Y=J?.enc??"hex",V=`${X}_${Y}`,I=A1[V];if(!I)throw Error(`Unrecognized hash format: ${V}`);return eQ(QY,V,I,J)}var YY=B0("ZodNumber",(X,J)=>{lO.init(X,J),x$.init(X,J),X._zod.processJSONSchema=(V,I,O)=>k5(X,V,I,O),g2(X,"ZodNumber",{gt(V,I){return this.check(k4(V,I))},gte(V,I){return this.check(h6(V,I))},min(V,I){return this.check(h6(V,I))},lt(V,I){return this.check(q4(V,I))},lte(V,I){return this.check(T1(V,I))},max(V,I){return this.check(T1(V,I))},int(V){return this.check(NV(V))},safe(V){return this.check(NV(V))},positive(V){return this.check(k4(0,V))},nonnegative(V){return this.check(h6(0,V))},negative(V){return this.check(q4(0,V))},nonpositive(V){return this.check(T1(0,V))},multipleOf(V,I){return this.check(ZI(V,I))},step(V,I){return this.check(ZI(V,I))},finite(){return this}});let Y=X._zod.bag;X.minValue=Math.max(Y.minimum??Number.NEGATIVE_INFINITY,Y.exclusiveMinimum??Number.NEGATIVE_INFINITY)??null,X.maxValue=Math.min(Y.maximum??Number.POSITIVE_INFINITY,Y.exclusiveMaximum??Number.POSITIVE_INFINITY)??null,X.isInt=(Y.format??"").includes("int")||Number.isSafeInteger(Y.multipleOf??0.5),X.isFinite=!0,X.format=Y.format??null});function k7(X){return eL(YY,X)}var WJ=B0("ZodNumberFormat",(X,J)=>{OH.init(X,J),YY.init(X,J)});function NV(X){return U5(WJ,X)}function bB(X){return X5(WJ,X)}function uB(X){return I5(WJ,X)}function hB(X){return J5(WJ,X)}function cB(X){return Q5(WJ,X)}var GY=B0("ZodBoolean",(X,J)=>{A2.init(X,J),x$.init(X,J),X._zod.processJSONSchema=(Y,V,I)=>x5(X,Y,V,I)});function x7(X){return Y5(GY,X)}var ZY=B0("ZodBigInt",(X,J)=>{dO.init(X,J),x$.init(X,J),X._zod.processJSONSchema=(V,I,O)=>g5(X,V,I,O),X.gte=(V,I)=>X.check(h6(V,I)),X.min=(V,I)=>X.check(h6(V,I)),X.gt=(V,I)=>X.check(k4(V,I)),X.gte=(V,I)=>X.check(h6(V,I)),X.min=(V,I)=>X.check(h6(V,I)),X.lt=(V,I)=>X.check(q4(V,I)),X.lte=(V,I)=>X.check(T1(V,I)),X.max=(V,I)=>X.check(T1(V,I)),X.positive=(V)=>X.check(k4(BigInt(0),V)),X.negative=(V)=>X.check(q4(BigInt(0),V)),X.nonpositive=(V)=>X.check(T1(BigInt(0),V)),X.nonnegative=(V)=>X.check(h6(BigInt(0),V)),X.multipleOf=(V,I)=>X.check(ZI(V,I));let Y=X._zod.bag;X.minValue=Y.minimum??null,X.maxValue=Y.maximum??null,X.format=Y.format??null});function pB(X){return Z5(ZY,X)}var rV=B0("ZodBigIntFormat",(X,J)=>{VH.init(X,J),ZY.init(X,J)});function mB(X){return O5(rV,X)}function lB(X){return V5(rV,X)}var g7=B0("ZodSymbol",(X,J)=>{DH.init(X,J),x$.init(X,J),X._zod.processJSONSchema=(Y,V,I)=>w5(X,Y,V,I)});function dB(X){return D5(g7,X)}var w7=B0("ZodUndefined",(X,J)=>{KH.init(X,J),x$.init(X,J),X._zod.processJSONSchema=(Y,V,I)=>y5(X,Y,V,I)});function nB(X){return K5(w7,X)}var f7=B0("ZodNull",(X,J)=>{WH.init(X,J),x$.init(X,J),X._zod.processJSONSchema=(Y,V,I)=>f5(X,Y,V,I)});function y7(X){return W5(f7,X)}var b7=B0("ZodAny",(X,J)=>{FH.init(X,J),x$.init(X,J),X._zod.processJSONSchema=(Y,V,I)=>h5(X,Y,V,I)});function oB(){return F5(b7)}var u7=B0("ZodUnknown",(X,J)=>{HH.init(X,J),x$.init(X,J),X._zod.processJSONSchema=(Y,V,I)=>c5(X,Y,V,I)});function KJ(){return H5(u7)}var h7=B0("ZodNever",(X,J)=>{LH.init(X,J),x$.init(X,J),X._zod.processJSONSchema=(Y,V,I)=>u5(X,Y,V,I)});function tV(X){return L5(h7,X)}var c7=B0("ZodVoid",(X,J)=>{MH.init(X,J),x$.init(X,J),X._zod.processJSONSchema=(Y,V,I)=>b5(X,Y,V,I)});function iB(X){return M5(c7,X)}var f2=B0("ZodDate",(X,J)=>{AH.init(X,J),x$.init(X,J),X._zod.processJSONSchema=(V,I,O)=>p5(X,V,I,O),X.min=(V,I)=>X.check(h6(V,I)),X.max=(V,I)=>X.check(T1(V,I));let Y=X._zod.bag;X.minDate=Y.minimum?new Date(Y.minimum):null,X.maxDate=Y.maximum?new Date(Y.maximum):null});function rB(X){return A5(f2,X)}var p7=B0("ZodArray",(X,J)=>{TH.init(X,J),x$.init(X,J),X._zod.processJSONSchema=(Y,V,I)=>$7(X,Y,V,I),X.element=J.element,g2(X,"ZodArray",{min(Y,V){return this.check(DX(Y,V))},nonempty(Y){return this.check(DX(1,Y))},max(Y,V){return this.check(VJ(Y,V))},length(Y,V){return this.check(DJ(Y,V))},unwrap(){return this.element}})});function y2(X,J){return P5(p7,X,J)}function tB(X){let J=X._zod.def.shape;return sV(Object.keys(J))}var b2=B0("ZodObject",(X,J)=>{CH.init(X,J),x$.init(X,J),X._zod.processJSONSchema=(Y,V,I)=>U7(X,Y,V,I),G$.defineLazy(X,"shape",()=>{return J.shape}),g2(X,"ZodObject",{keyof(){return sV(Object.keys(this._zod.def.shape))},catchall(Y){return this.clone({...this._zod.def,catchall:Y})},passthrough(){return this.clone({...this._zod.def,catchall:KJ()})},loose(){return this.clone({...this._zod.def,catchall:KJ()})},strict(){return this.clone({...this._zod.def,catchall:tV()})},strip(){return this.clone({...this._zod.def,catchall:void 0})},extend(Y){return G$.extend(this,Y)},safeExtend(Y){return G$.safeExtend(this,Y)},merge(Y){return G$.merge(this,Y)},pick(Y){return G$.pick(this,Y)},omit(Y){return G$.omit(this,Y)},partial(...Y){return G$.partial($D,this,Y[0])},required(...Y){return G$.required(UD,this,Y[0])}})});function aB(X,J){let Y={type:"object",shape:X??{},...G$.normalizeParams(J)};return new b2(Y)}function sB(X,J){return new b2({type:"object",shape:X,catchall:tV(),...G$.normalizeParams(J)})}function eB(X,J){return new b2({type:"object",shape:X,catchall:KJ(),...G$.normalizeParams(J)})}var u2=B0("ZodUnion",(X,J)=>{T2.init(X,J),x$.init(X,J),X._zod.processJSONSchema=(Y,V,I)=>PV(X,Y,V,I),X.options=J.options});function aV(X,J){return new u2({type:"union",options:X,...G$.normalizeParams(J)})}var m7=B0("ZodXor",(X,J)=>{u2.init(X,J),PH.init(X,J),X._zod.processJSONSchema=(Y,V,I)=>PV(X,Y,V,I),X.options=J.options});function $v(X,J){return new m7({type:"union",options:X,inclusive:!1,...G$.normalizeParams(J)})}var l7=B0("ZodDiscriminatedUnion",(X,J)=>{u2.init(X,J),_H.init(X,J)});function Uv(X,J,Y){return new l7({type:"union",options:J,discriminator:X,...G$.normalizeParams(Y)})}var d7=B0("ZodIntersection",(X,J)=>{EH.init(X,J),x$.init(X,J),X._zod.processJSONSchema=(Y,V,I)=>X7(X,Y,V,I)});function n7(X,J){return new d7({type:"intersection",left:X,right:J})}var o7=B0("ZodTuple",(X,J)=>{nO.init(X,J),x$.init(X,J),X._zod.processJSONSchema=(Y,V,I)=>I7(X,Y,V,I),X.rest=(Y)=>X.clone({...X._zod.def,rest:Y})});function i7(X,J,Y){let V=J instanceof R$,I=V?Y:J;return new o7({type:"tuple",items:X,rest:V?J:null,...G$.normalizeParams(I)})}var XY=B0("ZodRecord",(X,J)=>{RH.init(X,J),x$.init(X,J),X._zod.processJSONSchema=(Y,V,I)=>J7(X,Y,V,I),X.keyType=J.keyType,X.valueType=J.valueType});function r7(X,J,Y){if(!J||!J._zod)return new XY({type:"record",keyType:N2(),valueType:X,...G$.normalizeParams(J)});return new XY({type:"record",keyType:X,valueType:J,...G$.normalizeParams(Y)})}function Xv(X,J,Y){let V=b6(X);return V._zod.values=void 0,new XY({type:"record",keyType:V,valueType:J,...G$.normalizeParams(Y)})}function Iv(X,J,Y){return new XY({type:"record",keyType:X,valueType:J,mode:"loose",...G$.normalizeParams(Y)})}var t7=B0("ZodMap",(X,J)=>{SH.init(X,J),x$.init(X,J),X._zod.processJSONSchema=(Y,V,I)=>s5(X,Y,V,I),X.keyType=J.keyType,X.valueType=J.valueType,X.min=(...Y)=>X.check(x4(...Y)),X.nonempty=(Y)=>X.check(x4(1,Y)),X.max=(...Y)=>X.check(zI(...Y)),X.size=(...Y)=>X.check(OJ(...Y))});function Jv(X,J,Y){return new t7({type:"map",keyType:X,valueType:J,...G$.normalizeParams(Y)})}var a7=B0("ZodSet",(X,J)=>{jH.init(X,J),x$.init(X,J),X._zod.processJSONSchema=(Y,V,I)=>e5(X,Y,V,I),X.min=(...Y)=>X.check(x4(...Y)),X.nonempty=(Y)=>X.check(x4(1,Y)),X.max=(...Y)=>X.check(zI(...Y)),X.size=(...Y)=>X.check(OJ(...Y))});function Qv(X,J){return new a7({type:"set",valueType:X,...G$.normalizeParams(J)})}var IY=B0("ZodEnum",(X,J)=>{BH.init(X,J),x$.init(X,J),X._zod.processJSONSchema=(V,I,O)=>m5(X,V,I,O),X.enum=J.entries,X.options=Object.values(J.entries);let Y=new Set(Object.keys(J.entries));X.extract=(V,I)=>{let O={};for(let Z of V)if(Y.has(Z))O[Z]=J.entries[Z];else throw Error(`Key ${Z} not found in enum`);return new IY({...J,checks:[],...G$.normalizeParams(I),entries:O})},X.exclude=(V,I)=>{let O={...J.entries};for(let Z of V)if(Y.has(Z))delete O[Z];else throw Error(`Key ${Z} not found in enum`);return new IY({...J,checks:[],...G$.normalizeParams(I),entries:O})}});function sV(X,J){let Y=Array.isArray(X)?Object.fromEntries(X.map((V)=>[V,V])):X;return new IY({type:"enum",entries:Y,...G$.normalizeParams(J)})}function Yv(X,J){return new IY({type:"enum",entries:X,...G$.normalizeParams(J)})}var s7=B0("ZodLiteral",(X,J)=>{vH.init(X,J),x$.init(X,J),X._zod.processJSONSchema=(Y,V,I)=>l5(X,Y,V,I),X.values=new Set(J.values),Object.defineProperty(X,"value",{get(){if(J.values.length>1)throw Error("This schema contains multiple valid literal values. Use `.values` instead.");return J.values[0]}})});function Gv(X,J){return new s7({type:"literal",values:Array.isArray(X)?X:[X],...G$.normalizeParams(J)})}var e7=B0("ZodFile",(X,J)=>{NH.init(X,J),x$.init(X,J),X._zod.processJSONSchema=(Y,V,I)=>o5(X,Y,V,I),X.min=(Y,V)=>X.check(x4(Y,V)),X.max=(Y,V)=>X.check(zI(Y,V)),X.mime=(Y,V)=>X.check(oQ(Array.isArray(Y)?Y:[Y],V))});function Zv(X){return _5(e7,X)}var $M=B0("ZodTransform",(X,J)=>{qH.init(X,J),x$.init(X,J),X._zod.processJSONSchema=(Y,V,I)=>a5(X,Y,V,I),X._zod.parse=(Y,V)=>{if(V.direction==="backward")throw new YJ(X.constructor.name);Y.addIssue=(O)=>{if(typeof O==="string")Y.issues.push(G$.issue(O,Y.value,J));else{let Z=O;if(Z.fatal)Z.continue=!1;Z.code??(Z.code="custom"),Z.input??(Z.input=Y.value),Z.inst??(Z.inst=X),Y.issues.push(G$.issue(Z))}};let I=J.transform(Y.value,Y);if(I instanceof Promise)return I.then((O)=>{return Y.value=O,Y.fallback=!0,Y});return Y.value=I,Y.fallback=!0,Y}});function eV(X){return new $M({type:"transform",transform:X})}var $D=B0("ZodOptional",(X,J)=>{oO.init(X,J),x$.init(X,J),X._zod.processJSONSchema=(Y,V,I)=>_V(X,Y,V,I),X.unwrap=()=>X._zod.def.innerType});function k2(X){return new $D({type:"optional",innerType:X})}var UM=B0("ZodExactOptional",(X,J)=>{kH.init(X,J),x$.init(X,J),X._zod.processJSONSchema=(Y,V,I)=>_V(X,Y,V,I),X.unwrap=()=>X._zod.def.innerType});function XM(X){return new UM({type:"optional",innerType:X})}var IM=B0("ZodNullable",(X,J)=>{xH.init(X,J),x$.init(X,J),X._zod.processJSONSchema=(Y,V,I)=>Q7(X,Y,V,I),X.unwrap=()=>X._zod.def.innerType});function x2(X){return new IM({type:"nullable",innerType:X})}function zv(X){return k2(x2(X))}var JM=B0("ZodDefault",(X,J)=>{gH.init(X,J),x$.init(X,J),X._zod.processJSONSchema=(Y,V,I)=>G7(X,Y,V,I),X.unwrap=()=>X._zod.def.innerType,X.removeDefault=X.unwrap});function QM(X,J){return new JM({type:"default",innerType:X,get defaultValue(){return typeof J==="function"?J():G$.shallowClone(J)}})}var YM=B0("ZodPrefault",(X,J)=>{wH.init(X,J),x$.init(X,J),X._zod.processJSONSchema=(Y,V,I)=>Z7(X,Y,V,I),X.unwrap=()=>X._zod.def.innerType});function GM(X,J){return new YM({type:"prefault",innerType:X,get defaultValue(){return typeof J==="function"?J():G$.shallowClone(J)}})}var UD=B0("ZodNonOptional",(X,J)=>{fH.init(X,J),x$.init(X,J),X._zod.processJSONSchema=(Y,V,I)=>Y7(X,Y,V,I),X.unwrap=()=>X._zod.def.innerType});function ZM(X,J){return new UD({type:"nonoptional",innerType:X,...G$.normalizeParams(J)})}var zM=B0("ZodSuccess",(X,J)=>{yH.init(X,J),x$.init(X,J),X._zod.processJSONSchema=(Y,V,I)=>i5(X,Y,V,I),X.unwrap=()=>X._zod.def.innerType});function Ov(X){return new zM({type:"success",innerType:X})}var OM=B0("ZodCatch",(X,J)=>{bH.init(X,J),x$.init(X,J),X._zod.processJSONSchema=(Y,V,I)=>z7(X,Y,V,I),X.unwrap=()=>X._zod.def.innerType,X.removeCatch=X.unwrap});function VM(X,J){return new OM({type:"catch",innerType:X,catchValue:typeof J==="function"?J:()=>J})}var DM=B0("ZodNaN",(X,J)=>{uH.init(X,J),x$.init(X,J),X._zod.processJSONSchema=(Y,V,I)=>d5(X,Y,V,I)});function Vv(X){return C5(DM,X)}var h2=B0("ZodPipe",(X,J)=>{iO.init(X,J),x$.init(X,J),X._zod.processJSONSchema=(Y,V,I)=>O7(X,Y,V,I),X.in=J.in,X.out=J.out});function qV(X,J){return new h2({type:"pipe",in:X,out:J})}var c2=B0("ZodCodec",(X,J)=>{h2.init(X,J),C2.init(X,J)});function Dv(X,J,Y){return new c2({type:"pipe",in:X,out:J,transform:Y.decode,reverseTransform:Y.encode})}function Kv(X){let J=X._zod.def;return new c2({type:"pipe",in:J.out,out:J.in,transform:J.reverseTransform,reverseTransform:J.transform})}var KM=B0("ZodPreprocess",(X,J)=>{h2.init(X,J),hH.init(X,J)}),WM=B0("ZodReadonly",(X,J)=>{cH.init(X,J),x$.init(X,J),X._zod.processJSONSchema=(Y,V,I)=>V7(X,Y,V,I),X.unwrap=()=>X._zod.def.innerType});function FM(X){return new WM({type:"readonly",innerType:X})}var HM=B0("ZodTemplateLiteral",(X,J)=>{pH.init(X,J),x$.init(X,J),X._zod.processJSONSchema=(Y,V,I)=>n5(X,Y,V,I)});function Wv(X,J){return new HM({type:"template_literal",parts:X,...G$.normalizeParams(J)})}var LM=B0("ZodLazy",(X,J)=>{dH.init(X,J),x$.init(X,J),X._zod.processJSONSchema=(Y,V,I)=>K7(X,Y,V,I),X.unwrap=()=>X._zod.def.getter()});function MM(X){return new LM({type:"lazy",getter:X})}var AM=B0("ZodPromise",(X,J)=>{lH.init(X,J),x$.init(X,J),X._zod.processJSONSchema=(Y,V,I)=>D7(X,Y,V,I),X.unwrap=()=>X._zod.def.innerType});function Fv(X){return new AM({type:"promise",innerType:X})}var TM=B0("ZodFunction",(X,J)=>{mH.init(X,J),x$.init(X,J),X._zod.processJSONSchema=(Y,V,I)=>t5(X,Y,V,I)});function Hv(X){return new TM({type:"function",input:Array.isArray(X?.input)?i7(X?.input):X?.input??y2(KJ()),output:X?.output??KJ()})}var p2=B0("ZodCustom",(X,J)=>{nH.init(X,J),x$.init(X,J),X._zod.processJSONSchema=(Y,V,I)=>r5(X,Y,V,I)});function Lv(X){let J=new FU({check:"custom"});return J._zod.check=X,J}function Mv(X,J){return E5(p2,X??(()=>!0),J)}function CM(X,J={}){return R5(p2,X,J)}function PM(X,J){return S5(X,J)}var Av=j5,Tv=B5;function Cv(X,J={}){let Y=new p2({type:"custom",check:"custom",fn:(V)=>V instanceof X,abort:!0,...G$.normalizeParams(J)});return Y._zod.bag.Class=X,Y._zod.check=(V)=>{if(!(V.value instanceof X))V.issues.push({code:"invalid_type",expected:X.name,input:V.value,inst:Y,path:[...Y._zod.def.path??[]]})},Y}var Pv=(...X)=>v5({Codec:c2,Boolean:GY,String:JY},...X);function _v(X){let J=MM(()=>{return aV([N2(X),k7(),x7(),y7(),y2(J),r7(N2(),J)])});return J}function Ev(X,J){return new KM({type:"pipe",in:eV(X),out:J})}var Bh={invalid_type:"invalid_type",too_big:"too_big",too_small:"too_small",invalid_format:"invalid_format",not_multiple_of:"not_multiple_of",unrecognized_keys:"unrecognized_keys",invalid_union:"invalid_union",invalid_key:"invalid_key",invalid_element:"invalid_element",invalid_value:"invalid_value",custom:"custom"};function vh(X){rU({customError:X})}function Nh(){return rU().customError}var _M;(function(X){})(_M||(_M={}));var K$={...v2,...RV,iso:UY},qh=new Set(["$schema","$ref","$defs","definitions","$id","id","$comment","$anchor","$vocabulary","$dynamicRef","$dynamicAnchor","type","enum","const","anyOf","oneOf","allOf","not","properties","required","additionalProperties","patternProperties","propertyNames","minProperties","maxProperties","items","prefixItems","additionalItems","minItems","maxItems","uniqueItems","contains","minContains","maxContains","minLength","maxLength","pattern","format","minimum","maximum","exclusiveMinimum","exclusiveMaximum","multipleOf","description","default","contentEncoding","contentMediaType","contentSchema","unevaluatedItems","unevaluatedProperties","if","then","else","dependentSchemas","dependentRequired","nullable","readOnly"]);function kh(X,J){let Y=X.$schema;if(Y==="https://json-schema.org/draft/2020-12/schema")return"draft-2020-12";if(Y==="http://json-schema.org/draft-07/schema#")return"draft-7";if(Y==="http://json-schema.org/draft-04/schema#")return"draft-4";return J??"draft-2020-12"}function xh(X,J){if(!X.startsWith("#"))throw Error("External $ref is not supported, only local refs (#/...) are allowed");let Y=X.slice(1).split("/").filter(Boolean);if(Y.length===0)return J.rootSchema;let V=J.version==="draft-2020-12"?"$defs":"definitions";if(Y[0]===V){let I=Y[1];if(!I||!J.defs[I])throw Error(`Reference not found: ${X}`);return J.defs[I]}throw Error(`Reference not found: ${X}`)}function Rv(X,J){if(X.not!==void 0){if(typeof X.not==="object"&&Object.keys(X.not).length===0)return K$.never();throw Error("not is not supported in Zod (except { not: {} } for never)")}if(X.unevaluatedItems!==void 0)throw Error("unevaluatedItems is not supported");if(X.unevaluatedProperties!==void 0)throw Error("unevaluatedProperties is not supported");if(X.if!==void 0||X.then!==void 0||X.else!==void 0)throw Error("Conditional schemas (if/then/else) are not supported");if(X.dependentSchemas!==void 0||X.dependentRequired!==void 0)throw Error("dependentSchemas and dependentRequired are not supported");if(X.$ref){let I=X.$ref;if(J.refs.has(I))return J.refs.get(I);if(J.processing.has(I))return K$.lazy(()=>{if(!J.refs.has(I))throw Error(`Circular reference not resolved: ${I}`);return J.refs.get(I)});J.processing.add(I);let O=xh(I,J),Z=E6(O,J);return J.refs.set(I,Z),J.processing.delete(I),Z}if(X.enum!==void 0){let I=X.enum;if(J.version==="openapi-3.0"&&X.nullable===!0&&I.length===1&&I[0]===null)return K$.null();if(I.length===0)return K$.never();if(I.length===1)return K$.literal(I[0]);if(I.every((Z)=>typeof Z==="string"))return K$.enum(I);let O=I.map((Z)=>K$.literal(Z));if(O.length<2)return O[0];return K$.union([O[0],O[1],...O.slice(2)])}if(X.const!==void 0)return K$.literal(X.const);let Y=X.type;if(Array.isArray(Y)){let I=Y.map((O)=>{let Z={...X,type:O};return Rv(Z,J)});if(I.length===0)return K$.never();if(I.length===1)return I[0];return K$.union(I)}if(!Y)return K$.any();let V;switch(Y){case"string":{let I=K$.string();if(X.format){let O=X.format;if(O==="email")I=I.check(K$.email());else if(O==="uri"||O==="uri-reference")I=I.check(K$.url());else if(O==="uuid"||O==="guid")I=I.check(K$.uuid());else if(O==="date-time")I=I.check(K$.iso.datetime());else if(O==="date")I=I.check(K$.iso.date());else if(O==="time")I=I.check(K$.iso.time());else if(O==="duration")I=I.check(K$.iso.duration());else if(O==="ipv4")I=I.check(K$.ipv4());else if(O==="ipv6")I=I.check(K$.ipv6());else if(O==="mac")I=I.check(K$.mac());else if(O==="cidr")I=I.check(K$.cidrv4());else if(O==="cidr-v6")I=I.check(K$.cidrv6());else if(O==="base64")I=I.check(K$.base64());else if(O==="base64url")I=I.check(K$.base64url());else if(O==="e164")I=I.check(K$.e164());else if(O==="jwt")I=I.check(K$.jwt());else if(O==="emoji")I=I.check(K$.emoji());else if(O==="nanoid")I=I.check(K$.nanoid());else if(O==="cuid")I=I.check(K$.cuid());else if(O==="cuid2")I=I.check(K$.cuid2());else if(O==="ulid")I=I.check(K$.ulid());else if(O==="xid")I=I.check(K$.xid());else if(O==="ksuid")I=I.check(K$.ksuid())}if(typeof X.minLength==="number")I=I.min(X.minLength);if(typeof X.maxLength==="number")I=I.max(X.maxLength);if(X.pattern)I=I.regex(new RegExp(X.pattern));V=I;break}case"number":case"integer":{let I=Y==="integer"?K$.number().int():K$.number();if(typeof X.minimum==="number")I=I.min(X.minimum);if(typeof X.maximum==="number")I=I.max(X.maximum);if(typeof X.exclusiveMinimum==="number")I=I.gt(X.exclusiveMinimum);else if(X.exclusiveMinimum===!0&&typeof X.minimum==="number")I=I.gt(X.minimum);if(typeof X.exclusiveMaximum==="number")I=I.lt(X.exclusiveMaximum);else if(X.exclusiveMaximum===!0&&typeof X.maximum==="number")I=I.lt(X.maximum);if(typeof X.multipleOf==="number")I=I.multipleOf(X.multipleOf);V=I;break}case"boolean":{V=K$.boolean();break}case"null":{V=K$.null();break}case"object":{let I={},O=X.properties||{},Z=new Set(X.required||[]);for(let[B,R]of Object.entries(O)){let S=E6(R,J);I[B]=Z.has(B)?S:S.optional()}if(X.propertyNames){let B=E6(X.propertyNames,J),R=X.additionalProperties&&typeof X.additionalProperties==="object"?E6(X.additionalProperties,J):K$.any();if(Object.keys(I).length===0){V=K$.record(B,R);break}let S=K$.object(I).passthrough(),T=K$.looseRecord(B,R);V=K$.intersection(S,T);break}if(X.patternProperties){let B=X.patternProperties,R=Object.keys(B),S=[];for(let E of R){let v=E6(B[E],J),q=K$.string().regex(new RegExp(E));S.push(K$.looseRecord(q,v))}let T=[];if(Object.keys(I).length>0)T.push(K$.object(I).passthrough());if(T.push(...S),T.length===0)V=K$.object({}).passthrough();else if(T.length===1)V=T[0];else{let E=K$.intersection(T[0],T[1]);for(let v=2;v<T.length;v++)E=K$.intersection(E,T[v]);V=E}break}let L=K$.object(I);if(X.additionalProperties===!1)V=L.strict();else if(typeof X.additionalProperties==="object")V=L.catchall(E6(X.additionalProperties,J));else V=L.passthrough();break}case"array":{let{prefixItems:I,items:O}=X;if(I&&Array.isArray(I)){let Z=I.map((B)=>E6(B,J)),L=O&&typeof O==="object"&&!Array.isArray(O)?E6(O,J):void 0;if(L)V=K$.tuple(Z).rest(L);else V=K$.tuple(Z);if(typeof X.minItems==="number")V=V.check(K$.minLength(X.minItems));if(typeof X.maxItems==="number")V=V.check(K$.maxLength(X.maxItems))}else if(Array.isArray(O)){let Z=O.map((B)=>E6(B,J)),L=X.additionalItems&&typeof X.additionalItems==="object"?E6(X.additionalItems,J):void 0;if(L)V=K$.tuple(Z).rest(L);else V=K$.tuple(Z);if(typeof X.minItems==="number")V=V.check(K$.minLength(X.minItems));if(typeof X.maxItems==="number")V=V.check(K$.maxLength(X.maxItems))}else if(O!==void 0){let Z=E6(O,J),L=K$.array(Z);if(typeof X.minItems==="number")L=L.min(X.minItems);if(typeof X.maxItems==="number")L=L.max(X.maxItems);V=L}else V=K$.array(K$.any());break}default:throw Error(`Unsupported type: ${Y}`)}return V}function E6(X,J){if(typeof X==="boolean")return X?K$.any():K$.never();let Y=Rv(X,J),V=X.type||X.enum!==void 0||X.const!==void 0;if(X.anyOf&&Array.isArray(X.anyOf)){let L=X.anyOf.map((R)=>E6(R,J)),B=K$.union(L);Y=V?K$.intersection(Y,B):B}if(X.oneOf&&Array.isArray(X.oneOf)){let L=X.oneOf.map((R)=>E6(R,J)),B=K$.xor(L);Y=V?K$.intersection(Y,B):B}if(X.allOf&&Array.isArray(X.allOf))if(X.allOf.length===0)Y=V?Y:K$.any();else{let L=V?Y:E6(X.allOf[0],J),B=V?0:1;for(let R=B;R<X.allOf.length;R++)L=K$.intersection(L,E6(X.allOf[R],J));Y=L}if(X.nullable===!0&&J.version==="openapi-3.0")Y=K$.nullable(Y);if(X.readOnly===!0)Y=K$.readonly(Y);if(X.default!==void 0)Y=Y.default(X.default);let I={},O=["$id","id","$comment","$anchor","$vocabulary","$dynamicRef","$dynamicAnchor"];for(let L of O)if(L in X)I[L]=X[L];let Z=["contentEncoding","contentMediaType","contentSchema"];for(let L of Z)if(L in X)I[L]=X[L];for(let L of Object.keys(X))if(!qh.has(L))I[L]=X[L];if(Object.keys(I).length>0)J.registry.add(Y,I);if(X.description)Y=Y.describe(X.description);return Y}function Sv(X,J){if(typeof X==="boolean")return X?K$.any():K$.never();let Y;try{Y=JSON.parse(JSON.stringify(X))}catch{throw Error("fromJSONSchema input is not valid JSON (possibly cyclic); use $defs/$ref for recursive schemas")}let V=kh(Y,J?.defaultTarget),I=Y.$defs||Y.definitions||{},O={version:V,defs:I,refs:new Map,processing:new Set,rootSchema:Y,registry:J?.registry??T6};return E6(Y,O)}var EM={};g6(EM,{string:()=>gh,number:()=>wh,date:()=>bh,boolean:()=>fh,bigint:()=>yh});function gh(X){return nL(JY,X)}function wh(X){return $5(YY,X)}function fh(X){return G5(GY,X)}function yh(X){return z5(ZY,X)}function bh(X){return T5(f2,X)}rU(P2());var jv=E$.object({id:E$.string().min(1).optional(),name:E$.string().min(1).optional(),kind:E$.enum(["human","agent","bot","system"])}),Bv=E$.object({type:E$.string().min(1),id:E$.string().min(1)}),vv=E$.object({provider:E$.string().min(1),id:E$.string().min(1).optional(),url:E$.string().min(1).optional(),cursor:E$.string().min(1).optional(),rawRef:E$.string().min(1).optional()}),RM=E$.object({id:E$.string().min(1),service:E$.string().min(1),type:E$.string().min(1),schemaVersion:E$.number().int().positive(),idempotencyKey:E$.string().min(1),occurredAt:E$.string().min(1),observedAt:E$.string().min(1),origin:E$.enum(["virtual","external","agent","connector","replay","migration"]),actor:jv.optional(),subject:Bv,causationId:E$.string().min(1).optional(),correlationId:E$.string().min(1).optional(),external:vv.optional(),data:E$.record(E$.string(),E$.unknown()),raw:E$.record(E$.string(),E$.unknown()).optional()}),Nv=E$.object({version:E$.literal(1),service:E$.string().min(1),rebuiltAt:E$.string().min(1),eventCount:E$.number().int().nonnegative(),latestEventId:E$.string().min(1).optional(),subjects:E$.record(E$.string(),E$.object({type:E$.string().min(1),id:E$.string().min(1),latestEventId:E$.string().min(1),latestType:E$.string().min(1),updatedAt:E$.string().min(1)}))});function qv(X){return t1(X||process.env.PROJECT_ROOT||process.cwd())}function PO(){let X=process.env.VOLTER_STATE_DIR||".volter";if(NQ(X)||X.split(/[\\/]/).includes(".."))throw Error("VOLTER_STATE_DIR must be a relative directory without .. segments");return X}function XD(X){return t$(qv(X),PO(),"world")}function ch(X){if(!/^[A-Za-z0-9_-]+$/.test(X))throw Error(`Invalid world service name: ${X}`);return X}var kv;function xv(X){kv=X}function M1(X,J){let Y=ch(X);kv?.(Y,J);let V=qv(J),I=t$(XD(J),Y);return{root:V,service:Y,dir:I,events:t$(I,"events.jsonl"),state:t$(I,"state.json"),resources:t$(I,"resources"),cursors:t$(I,"cursors"),ingests:t$(I,"ingests"),eventQueue:t$(I,"event-queue.jsonl")}}var ph={windowMs:60000,ceiling:60,defaultWeight:2,maxRetryAfterSeconds:300,rules:[],reason:"no pack declared a budget for this vendor — this is the conservative fallback (30 calls/min at "+"the default weight), not a considered limit. Declare one on the pack with the vendor's real limits."};var gv="2.0",oh=Number(gv.split(".")[0]);yU();var{AsyncLocalStorage:Sr}=(()=>({}));var{AsyncLocalStorage:Ac}=(()=>({}));var Jc;function fv(X){Jc=X}var BM="/__volter/world-boot";var{chmodSync:lr,existsSync:dr,mkdirSync:nr,readFileSync:or,writeFileSync:ir}=(()=>({}));yU();var Tc=1e6,Cc=/(?:^|[-_.])(?:auth|authorization|token|jwt|key|apikey|secret|credential|credentials|signature|sig|password|passwd|pwd|session|sessionid|cookie|access[-_]?token|refresh[-_]?token)(?:[-_.]|$)/i,Pc=/^(Bearer|Basic|Digest|Token|Negotiate|NTLM|OAuth|Signature|Hawk|AWS4-HMAC-SHA256|SharedKey|SharedKeyLite|GoogleLogin)\s+(\S[\s\S]*)$/i;function bv(X){return`sha256:${H1("sha256").update(X,"utf8").digest("hex").slice(0,16)}`}function _c(X,J,Y){let V=Pc.exec(J);if(!V&&!Cc.test(X))return;let I=X.toLowerCase();if(J==="")return{name:I,in:Y,empty:!0};if(V)return{name:I,in:Y,scheme:V[1],fp:bv(V[2])};return{name:I,in:Y,fp:bv(J)}}function mv(X,J){let Y=[],V=new Set,I=(O,Z,L)=>{let B=_c(O,Z,L);if(!B)return;let R=`${B.in}:${B.name}`;if(V.has(R))return;V.add(R),Y.push(B)};try{if(typeof X.forEach==="function")X.forEach((O,Z)=>I(Z,O,"header"));else for(let[O,Z]of Object.entries(X))I(O,String(Z),"header")}catch{}try{if(J!==void 0){let O=typeof J==="string"?new URL(J,"http://twin.invalid").search:J.search;for(let[Z,L]of new URLSearchParams(O))I(Z,L,"query")}}catch{}return Y.sort((O,Z)=>O.in===Z.in?O.name.localeCompare(Z.name):O.in.localeCompare(Z.in))}function kM(X=process.env){return X.VOLTER_TWIN_REQUEST_JOURNAL==="1"}function lv(X,J){return t$(iU(M1(X,J).events),"requests.jsonl")}function dv(X,J,Y){if(!kM())return;try{let V=y6(),I=lv(X,Y);if(V.mkdir(iU(I)),(V.stat(I)?.size??0)>=Tc)V.writeAtomic(`${I}.1`,V.read(I)??""),V.write(I,"");let Z=JSON.stringify({at:J.at??new Date().toISOString(),method:J.method.toUpperCase(),path:J.path.split("?")[0],status:J.status,...typeof J.ms==="number"?{ms:J.ms}:{},...J.credentials?.length?{credentials:J.credentials}:{}});V.append(I,`${Z}
321
+ `)}catch{}}var nv=Symbol.for("volter.twin.requestJournal.identity"),uv=Symbol.for("volter.twin.requestJournal.installed"),NM;function Ec(){return NM??=new Ac,NM}function Rc(){xv((X,J)=>{let Y=NM?.getStore();if(!Y||Y.identity!==void 0)return;Y.identity=J===void 0?{service:X}:{service:X,root:J}})}function Sc(X=process.argv){let J=X.indexOf("--root"),Y=J>=0?X[J+1]:void 0;return Y&&!Y.startsWith("--")?Y:void 0}var jc=new Set(["world-runtime","world-tooling","world-attach","world-browser-assets","world-host"]);function hv(X){if(!X)return;let J=/(?:packages[\\/]twin[\\/]|@volter[\\/]twin-)([A-Za-z0-9_-]+)/g;for(let Y of X.matchAll(J)){let V=Y[1];if(!jc.has(V))return V}return}function Bc(){if(typeof window<"u"||typeof document<"u")return!1;let X=globalThis.Bun,J=X&&typeof X.serve==="function"?X.serve:void 0;if(J&&J[uv])return!0;if(Rc(),fv((V)=>cv(V,hv(Error().stack))),!J)return!1;let Y=function(I,...O){let Z=I;if(!Z||typeof Z.fetch!=="function")return J.apply(this,[I,...O]);let L=Z[nv]?void 0:hv(Error().stack);return J.apply(this,[{...Z,fetch:cv(Z,L)},...O])};return Object.defineProperty(Y,uv,{value:!0}),X.serve=Y,!0}function cv(X,J){if(X.twinRequestJournal===!1)return X.fetch;{let V=X[nv],I=X.fetch;return async function(Z,L){if(!kM()||new URL(Z.url).pathname===BM)return I.call(this,Z,L);let B={},R=500,S=Date.now();try{let T=await Ec().run(B,()=>I.call(this,Z,L));if(T instanceof Response)R=T.status;else if(T===void 0)return T;return T}finally{V??=B.identity;let T=V??vc(J);if(T){let E=new URL(Z.url);dv(T.service,{method:Z.method,path:E.pathname,status:R,ms:Date.now()-S,credentials:mv(Z.headers,E)},T.root)}}}}}function vc(X){let J=process.env.VOLTER_TWIN_JOURNAL_SERVICE||X;if(!J||!/^[A-Za-z0-9_-]+$/.test(J))return;let Y=Sc();return Y===void 0?{service:J}:{service:J,root:Y}}Bc();yU();var Nt=Symbol("absent");yU();var{closeSync:dc,existsSync:d2,mkdirSync:nc,openSync:oc,readdirSync:ic,readFileSync:rc,readSync:tc,renameSync:ac,rmSync:IN,statSync:fM,writeFileSync:sc}=(()=>({}));yU();var{closeSync:gM,constants:FJ,fstatSync:av,ftruncateSync:bc,linkSync:uc,lstatSync:xM,mkdirSync:hc,openSync:wM,readFileSync:cc,readSync:iv,rmSync:pc,writeFileSync:mc}=(()=>({}));var sv=131072,ev=32,$N=4;function UN(X){return X.isFile()&&X.nlink===1&&(!process.getuid||X.uid===process.getuid())&&(X.mode&63)===0}function rv(X){try{let J=xM(X);return J.isDirectory()&&(J.mode&63)===0&&(!process.getuid||J.uid===process.getuid())}catch{return!1}}function tv(X){let J;try{J=wM(X,FJ.O_RDONLY|FJ.O_NONBLOCK|(FJ.O_NOFOLLOW??0));let Y=av(J);if(!UN(Y)||Y.size>sv)return{};let V=JSON.parse(cc(J,"utf8"));if(!V||typeof V!=="object"||Array.isArray(V))return{};let I={};for(let[O,Z]of Object.entries(V).slice(-ev)){if(!/^\d+:[a-f0-9]{64}$/.test(O)||!Array.isArray(Z))continue;I[O]=Z.filter((L)=>typeof L==="string"&&L.length<=4096&&NQ(L)).slice(0,$N)}return I}catch{return{}}finally{if(J!==void 0)gM(J)}}function lc(X,J){let Y=wM(X,"r");try{let V=H1("sha256"),I=Buffer.allocUnsafe(65536),O=J;while(O>0){let Z=iv(Y,I,0,Math.min(I.length,O),null);if(!Z)return null;V.update(I.subarray(0,Z)),O-=Z}if(iv(Y,I,0,1,null))return null;return V.digest("hex")}finally{gM(Y)}}function XN(X,J,Y){let V=t$(X,`${Y.slice(0,2)}.json`),I=`${J}:${Y}`;return{reuse(O,Z){if(!rv(X))return!1;for(let L of tv(V)[I]??[]){try{let B=xM(L);if(!B.isFile()||B.dev!==J||B.size!==Z||process.getuid&&B.uid!==process.getuid())continue;uc(L,O);let R=xM(O);if(R.isFile()&&R.dev===J&&R.size===Z&&(!process.getuid||R.uid===process.getuid())&&lc(O,Z)===Y)return!0}catch{}pc(O,{force:!0})}return!1},record(O){try{let Z=t1(O);if(Z.length>4096)return;let L=tv(V),B=[Z,...(L[I]??[]).filter((T)=>T!==Z)].slice(0,$N);delete L[I],L[I]=B;let R=JSON.stringify(L);while(Object.keys(L).length>ev||Buffer.byteLength(R)>sv)delete L[Object.keys(L)[0]],R=JSON.stringify(L);if(hc(X,{recursive:!0,mode:448}),!rv(X))return;let S=wM(V,FJ.O_WRONLY|FJ.O_CREAT|FJ.O_NONBLOCK|(FJ.O_NOFOLLOW??0),384);try{if(!UN(av(S)))return;bc(S,0),mc(S,R)}finally{gM(S)}}catch{}}}}class yM{options;constructor(X={}){this.options=X}async get(X){if(!d2(X))return null;return new Uint8Array(rc(X))}async put(X,J){nc(iU(X),{recursive:!0});let Y=`${X}.tmp.${vQ()}`,V;try{if(this.options.sharedIndexRoot!==!1)try{V=XN(this.options.sharedIndexRoot??t$(I2(),"blob-index-v1"),fM(iU(X)).dev,JN(J))}catch{}if(!V?.reuse(Y,J.byteLength))sc(Y,J,{flag:"wx"});ac(Y,X),V?.record(X)}finally{IN(Y,{force:!0})}}async exists(X){return d2(X)}async remove(X){IN(X,{force:!0,recursive:X.endsWith("/")})}async list(X){let J=[],Y=(V)=>{if(!d2(V))return;for(let I of ic(V,{withFileTypes:!0})){let O=t$(V,I.name);if(I.isDirectory())Y(O);else if(!I.name.includes(".tmp."))J.push(O)}};return Y(X.replace(/\/$/,"")),J.sort()}async size(X){if(!d2(X))return null;return fM(X).size}async getRange(X,J,Y){if(!d2(X))return null;let V=fM(X).size,I=Math.max(0,J),O=Math.min(Y,V-1);if(O<I)return new Uint8Array(0);let Z=new Uint8Array(O-I+1),L=oc(X,"r"),B=0;try{while(B<Z.length){let R=tc(L,Z,B,Z.length-B,I+B);if(R===0)break;B+=R}}finally{dc(L)}return B===Z.length?Z:Z.subarray(0,B)}}function JN(X){return H1("sha256").update(X).digest("hex")}var ot=new yM;lM();var rt=new RegExp("^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$"),tt=new RegExp("^(?:(?:(?:[0-9a-fA-F]{1,4}):){7}(?:(?:[0-9a-fA-F]{1,4})|:)|(?:(?:[0-9a-fA-F]{1,4}):){6}(?:(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])|:(?:[0-9a-fA-F]{1,4})|:)|(?:(?:[0-9a-fA-F]{1,4}):){5}(?::(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])|(?::(?:[0-9a-fA-F]{1,4})){1,2}|:)|(?:(?:[0-9a-fA-F]{1,4}):){4}(?:(?::(?:[0-9a-fA-F]{1,4})){0,1}:(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])|(?::(?:[0-9a-fA-F]{1,4})){1,3}|:)|(?:(?:[0-9a-fA-F]{1,4}):){3}(?:(?::(?:[0-9a-fA-F]{1,4})){0,2}:(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])|(?::(?:[0-9a-fA-F]{1,4})){1,4}|:)|(?:(?:[0-9a-fA-F]{1,4}):){2}(?:(?::(?:[0-9a-fA-F]{1,4})){0,3}:(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])|(?::(?:[0-9a-fA-F]{1,4})){1,5}|:)|(?:(?:[0-9a-fA-F]{1,4}):){1}(?:(?::(?:[0-9a-fA-F]{1,4})){0,4}:(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])|(?::(?:[0-9a-fA-F]{1,4})){1,6}|:)|(?::(?:(?::(?:[0-9a-fA-F]{1,4})){0,5}:(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])|(?::(?:[0-9a-fA-F]{1,4})){1,7}|:)))(?:%[0-9a-zA-Z-.:]{1,})?$");yU();var{existsSync:Sa,readFileSync:ja,statSync:Ba}=(()=>({}));class up{buf=new Uint8Array(65536);len=0;push(X){if(this.len===this.buf.length){let J=new Uint8Array(this.buf.length*2);J.set(this.buf),this.buf=J}this.buf[this.len++]=X}copy(X,J){if(X>this.len)throw Error("inflate: distance too far back");for(let Y=0;Y<J;Y++)this.push(this.buf[this.len-X])}bytes(){return this.buf.slice(0,this.len)}}var ia="0".repeat(40),ra=new Uint8Array([48,48,48,48]);var{AsyncLocalStorage:Zs}=(()=>({}));var{AsyncLocalStorage:Ws}=(()=>({}));var{existsSync:Ls,readFileSync:Ms,statSync:As}=(()=>({}));var{existsSync:Ps,readFileSync:_s}=(()=>({}));var{existsSync:Ss}=(()=>({}));var sp=w1(yN(),1);function bN(X){let J=[X?.first_name,X?.last_name].filter(Boolean).join(" ").trim();if(J)return J;if(X?.username)return String(X.username);return nM(X)||String(X?.id??"—")}function nM(X){let J=Array.isArray(X?.email_addresses)?X.email_addresses:[],Y=X?.primary_email_address_id,V=J.find((I)=>I?.id===Y)??J[0];if(V?.email_address)return String(V.email_address);if(X?.primary_email)return String(X.primary_email);return""}function uN(X){if(X?.banned)return"banned";if(X?.locked)return"locked";return"active"}function hN(X){let J=X.toLowerCase();if(["active","verified","accepted","admin"].includes(J))return"ok";if(["pending","queued","locked","basic_member"].includes(J))return"warn";if(["banned","revoked","expired","ended"].includes(J))return"bad";return"neutral"}function JD(X,J="",Y=0,V=[]){if(X===null||X===void 0)V.push({key:J||"(value)",value:"—",depth:Y});else if(Array.isArray(X))if(X.length===0)V.push({key:J,value:"[]",depth:Y});else X.forEach((I,O)=>JD(I,`${J}[${O}]`,Y,V));else if(typeof X==="object")for(let[I,O]of Object.entries(X))JD(O,J?`${J}.${I}`:I,Y,V);else V.push({key:J||"(value)",value:String(X),depth:Y});return V}function cN(X){return typeof X?.members_count==="number"?X.members_count:0}var g$=w1(oM(),1),rM=typeof document>"u"||document.querySelector("base[href]")===null?"":new URL(".",document.baseURI).pathname.replace(/\/$/,""),iM=[{key:"users",label:"Users",title:(X)=>bN(X),subtitle:(X)=>`${nM(X)||X.id} · ${uN(X)}`},{key:"sessions",label:"Sessions",title:(X)=>X.id,subtitle:(X)=>`${X.status??""} · ${X.user_id??""}`},{key:"organizations",label:"Organizations",title:(X)=>X.name||X.slug||X.id,subtitle:(X)=>`${cN(X)} members · ${X.slug??""}`},{key:"invitations",label:"Invitations",title:(X)=>X.email_address||X.id,subtitle:(X)=>`${X.status??""} · ${X.id}`},{key:"allowlist_identifiers",label:"Allowlist",title:(X)=>X.identifier||X.id,subtitle:(X)=>`${X.identifier_type??""} · ${X.id}`},{key:"blocklist_identifiers",label:"Blocklist",title:(X)=>X.identifier||X.id,subtitle:(X)=>`${X.identifier_type??""} · ${X.id}`},{key:"jwt_templates",label:"JWT Templates",title:(X)=>X.name||X.id,subtitle:(X)=>`lifetime ${X.lifetime??"?"}s · ${X.signing_algorithm??"RS256"}`}],Im=Object.fromEntries(iM.map((X)=>[X.key,X]));function Jm({value:X}){let J=String(X??"");return g$.jsxDEV("span",{className:`pill ${hN(J)}`,children:J.replace(/_/g," ")||"—"},void 0,!1,void 0,this)}function Qm({lines:X}){return g$.jsxDEV("dl",{className:"detail-lines",children:X.map((J,Y)=>g$.jsxDEV("div",{className:"detail-line",children:[g$.jsxDEV("dt",{className:"mono",children:J.key},void 0,!1,void 0,this),g$.jsxDEV("dd",{className:"mono",children:J.value},void 0,!1,void 0,this)]},`${J.key}-${Y}`,!0,void 0,this))},void 0,!1,void 0,this)}function Ym(X,J=0){let[Y,V]=W6.useState([]),[I,O]=W6.useState(!0),[Z,L]=W6.useState("");return W6.useEffect(()=>{let B=!0;return O(!0),L(""),fetch(`${rM}/v1/${X}`).then((R)=>R.json()).then((R)=>{if(!B)return;let S=Array.isArray(R)?R:Array.isArray(R?.data)?R.data:[];V(S),O(!1)}).catch((R)=>{if(B)L(String(R)),O(!1)}),()=>{B=!1}},[X,J]),{rows:Y,loading:I,error:Z}}function Gm({onCreated:X}){let[J,Y]=W6.useState(""),[V,I]=W6.useState(""),[O,Z]=W6.useState(!1),[L,B]=W6.useState("");async function R(S){S.preventDefault(),Z(!0),B("");try{let T=await fetch(`${rM}/v1/users`,{method:"POST",headers:{"content-type":"application/json"},body:JSON.stringify({email_address:J?[J]:[],first_name:V||void 0})}),E=await T.json();if(T.ok)B(`Created ${E.id}`),Y(""),I(""),X();else B(E?.errors?.[0]?.message??"Create failed")}catch(T){B(String(T))}finally{Z(!1)}}return g$.jsxDEV("form",{className:"create-user",onSubmit:R,children:[g$.jsxDEV("div",{className:"create-user-head",children:"Create user"},void 0,!1,void 0,this),g$.jsxDEV("input",{className:"field",placeholder:"email address",value:J,onChange:(S)=>Y(S.target.value)},void 0,!1,void 0,this),g$.jsxDEV("input",{className:"field",placeholder:"first name",value:V,onChange:(S)=>I(S.target.value)},void 0,!1,void 0,this),g$.jsxDEV("button",{className:"action-btn",type:"submit",disabled:O,children:O?"Creating…":"Create user"},void 0,!1,void 0,this),L&&g$.jsxDEV("div",{className:"create-user-msg mono",children:L},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}function Zm({user:X}){let[J,Y]=W6.useState(""),[V,I]=W6.useState(!1);async function O(){I(!0);try{let Z=await fetch(`${rM}/v1/actor_tokens`,{method:"POST",headers:{"content-type":"application/json"},body:JSON.stringify({user_id:X.id,actor:{sub:"dashboard_admin"}})}),L=await Z.json();Y(Z.ok?L.id??"created":L?.errors?.[0]?.message??"failed")}catch(Z){Y(String(Z))}finally{I(!1)}}return g$.jsxDEV("div",{className:"impersonate",children:[g$.jsxDEV("button",{className:"action-btn impersonate-btn",onClick:O,disabled:V,children:V?"Signing in as…":"Impersonate user"},void 0,!1,void 0,this),J&&g$.jsxDEV("div",{className:"impersonate-token mono",children:["actor token: ",J]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)}function zm(){let[X,J]=W6.useState(iM[0].key),[Y,V]=W6.useState(null),[I,O]=W6.useState(0),{rows:Z,loading:L,error:B}=Ym(X,I),R=Im[X],S=W6.useMemo(()=>Z.find((E)=>E.id===Y)??Z[0]??null,[Z,Y]),T=W6.useMemo(()=>S?JD(S):[],[S]);return g$.jsxDEV("div",{className:"app",children:[g$.jsxDEV("header",{className:"topbar",children:[g$.jsxDEV("span",{className:"brand",children:"Clerk twin"},void 0,!1,void 0,this),g$.jsxDEV("span",{className:"subtitle",children:"local Backend API mirror — users · sessions · orgs · JWT/JWKS"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),g$.jsxDEV("div",{className:"body",children:[g$.jsxDEV("nav",{className:"nav",children:iM.map((E)=>g$.jsxDEV("button",{className:`nav-item ${E.key===X?"active":""}`,onClick:()=>{J(E.key),V(null)},children:E.label},E.key,!1,void 0,this))},void 0,!1,void 0,this),g$.jsxDEV("section",{className:"list",children:[g$.jsxDEV("div",{className:"list-head",children:[R.label,!L?` (${Z.length})`:""]},void 0,!0,void 0,this),X==="users"&&g$.jsxDEV(Gm,{onCreated:()=>O((E)=>E+1)},void 0,!1,void 0,this),L&&g$.jsxDEV("div",{className:"empty",children:"Loading…"},void 0,!1,void 0,this),B&&g$.jsxDEV("div",{className:"empty error",children:B},void 0,!1,void 0,this),!L&&!B&&Z.length===0&&g$.jsxDEV("div",{className:"empty",children:["No ",R.label.toLowerCase()," yet."]},void 0,!0,void 0,this),Z.map((E)=>g$.jsxDEV("button",{className:`row ${S?.id===E.id?"selected":""}`,onClick:()=>V(E.id),children:[g$.jsxDEV("div",{className:"row-title",children:R.title(E)},void 0,!1,void 0,this),g$.jsxDEV("div",{className:"row-sub mono",children:R.subtitle(E)},void 0,!1,void 0,this)]},E.id,!0,void 0,this))]},void 0,!0,void 0,this),g$.jsxDEV("aside",{className:"detail",children:S?g$.jsxDEV(g$.Fragment,{children:[g$.jsxDEV("div",{className:"detail-head",children:[g$.jsxDEV("span",{className:"mono",children:S.id},void 0,!1,void 0,this),S.status&&g$.jsxDEV(Jm,{value:S.status},void 0,!1,void 0,this)]},void 0,!0,void 0,this),X==="users"&&g$.jsxDEV(Zm,{user:S},void 0,!1,void 0,this),g$.jsxDEV(Qm,{lines:T},void 0,!1,void 0,this)]},void 0,!0,void 0,this):g$.jsxDEV("div",{className:"empty",children:"Select a record."},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)}if(typeof document<"u"){let X=document.getElementById("root");if(X)pN.createRoot(X).render(g$.jsxDEV(zm,{},void 0,!1,void 0,this))}export{Jm as StatusPill,iM as SECTIONS,Qm as NestedLines,Zm as ImpersonateButton,Gm as CreateUserForm,zm as App};