@clerk/ui 1.22.0 → 1.22.1-canary.v20260625035239

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 (161) hide show
  1. package/dist/ClerkUI.js +2 -2
  2. package/dist/index.js +1 -1
  3. package/dist/no-rhc/ClerkUI.js +2 -2
  4. package/dist/no-rhc/index.js +1 -1
  5. package/dist/server.js +1 -1
  6. package/dist/ui.browser.js +2 -2
  7. package/dist/ui.legacy.browser.js +1 -1
  8. package/dist/ui.shared.browser.js +3 -3
  9. package/package.json +4 -4
  10. /package/dist/{1390_ui_6d4cc8_1.22.0.js → 1390_ui_322b53_1.22.1-canary.v20260625035239.js} +0 -0
  11. /package/dist/{1390_ui_9c26d5_1.22.0.js → 1390_ui_368943_1.22.1-canary.v20260625035239.js} +0 -0
  12. /package/dist/{1390_ui_b0f284_1.22.0.js → 1390_ui_8a3bfd_1.22.1-canary.v20260625035239.js} +0 -0
  13. /package/dist/{4424_ui_6d4cc8_1.22.0.js → 4424_ui_322b53_1.22.1-canary.v20260625035239.js} +0 -0
  14. /package/dist/{4424_ui_9c26d5_1.22.0.js → 4424_ui_368943_1.22.1-canary.v20260625035239.js} +0 -0
  15. /package/dist/{4424_ui_b0f284_1.22.0.js → 4424_ui_8a3bfd_1.22.1-canary.v20260625035239.js} +0 -0
  16. /package/dist/{4718_ui_6d4cc8_1.22.0.js → 4718_ui_322b53_1.22.1-canary.v20260625035239.js} +0 -0
  17. /package/dist/{4718_ui_9c26d5_1.22.0.js → 4718_ui_368943_1.22.1-canary.v20260625035239.js} +0 -0
  18. /package/dist/{4718_ui_b0f284_1.22.0.js → 4718_ui_8a3bfd_1.22.1-canary.v20260625035239.js} +0 -0
  19. /package/dist/{6678_ui_6d4cc8_1.22.0.js → 6678_ui_322b53_1.22.1-canary.v20260625035239.js} +0 -0
  20. /package/dist/{6678_ui_9c26d5_1.22.0.js → 6678_ui_368943_1.22.1-canary.v20260625035239.js} +0 -0
  21. /package/dist/{6678_ui_b0f284_1.22.0.js → 6678_ui_8a3bfd_1.22.1-canary.v20260625035239.js} +0 -0
  22. /package/dist/{76_ui_6d4cc8_1.22.0.js → 76_ui_322b53_1.22.1-canary.v20260625035239.js} +0 -0
  23. /package/dist/{76_ui_9c26d5_1.22.0.js → 76_ui_368943_1.22.1-canary.v20260625035239.js} +0 -0
  24. /package/dist/{76_ui_b0f284_1.22.0.js → 76_ui_8a3bfd_1.22.1-canary.v20260625035239.js} +0 -0
  25. /package/dist/{8746_ui_6d4cc8_1.22.0.js → 8746_ui_322b53_1.22.1-canary.v20260625035239.js} +0 -0
  26. /package/dist/{8746_ui_9c26d5_1.22.0.js → 8746_ui_368943_1.22.1-canary.v20260625035239.js} +0 -0
  27. /package/dist/{8746_ui_b0f284_1.22.0.js → 8746_ui_8a3bfd_1.22.1-canary.v20260625035239.js} +0 -0
  28. /package/dist/{9074_ui_6d4cc8_1.22.0.js → 9074_ui_322b53_1.22.1-canary.v20260625035239.js} +0 -0
  29. /package/dist/{9074_ui_9c26d5_1.22.0.js → 9074_ui_368943_1.22.1-canary.v20260625035239.js} +0 -0
  30. /package/dist/{9074_ui_b0f284_1.22.0.js → 9074_ui_8a3bfd_1.22.1-canary.v20260625035239.js} +0 -0
  31. /package/dist/{9419_ui_6d4cc8_1.22.0.js → 9419_ui_322b53_1.22.1-canary.v20260625035239.js} +0 -0
  32. /package/dist/{9419_ui_9c26d5_1.22.0.js → 9419_ui_368943_1.22.1-canary.v20260625035239.js} +0 -0
  33. /package/dist/{9419_ui_b0f284_1.22.0.js → 9419_ui_8a3bfd_1.22.1-canary.v20260625035239.js} +0 -0
  34. /package/dist/{apiKeys_ui_6d4cc8_1.22.0.js → apiKeys_ui_322b53_1.22.1-canary.v20260625035239.js} +0 -0
  35. /package/dist/{apiKeys_ui_9c26d5_1.22.0.js → apiKeys_ui_368943_1.22.1-canary.v20260625035239.js} +0 -0
  36. /package/dist/{apiKeys_ui_b0f284_1.22.0.js → apiKeys_ui_8a3bfd_1.22.1-canary.v20260625035239.js} +0 -0
  37. /package/dist/{blankcaptcha_ui_6d4cc8_1.22.0.js → blankcaptcha_ui_322b53_1.22.1-canary.v20260625035239.js} +0 -0
  38. /package/dist/{blankcaptcha_ui_9c26d5_1.22.0.js → blankcaptcha_ui_368943_1.22.1-canary.v20260625035239.js} +0 -0
  39. /package/dist/{blankcaptcha_ui_b0f284_1.22.0.js → blankcaptcha_ui_8a3bfd_1.22.1-canary.v20260625035239.js} +0 -0
  40. /package/dist/{checkout_ui_6d4cc8_1.22.0.js → checkout_ui_322b53_1.22.1-canary.v20260625035239.js} +0 -0
  41. /package/dist/{checkout_ui_9c26d5_1.22.0.js → checkout_ui_368943_1.22.1-canary.v20260625035239.js} +0 -0
  42. /package/dist/{checkout_ui_b0f284_1.22.0.js → checkout_ui_8a3bfd_1.22.1-canary.v20260625035239.js} +0 -0
  43. /package/dist/{configureSSO_ui_6d4cc8_1.22.0.js → configureSSO_ui_322b53_1.22.1-canary.v20260625035239.js} +0 -0
  44. /package/dist/{configureSSO_ui_9c26d5_1.22.0.js → configureSSO_ui_368943_1.22.1-canary.v20260625035239.js} +0 -0
  45. /package/dist/{configureSSO_ui_b0f284_1.22.0.js → configureSSO_ui_8a3bfd_1.22.1-canary.v20260625035239.js} +0 -0
  46. /package/dist/{copy-api-key-modal_ui_6d4cc8_1.22.0.js → copy-api-key-modal_ui_322b53_1.22.1-canary.v20260625035239.js} +0 -0
  47. /package/dist/{copy-api-key-modal_ui_9c26d5_1.22.0.js → copy-api-key-modal_ui_368943_1.22.1-canary.v20260625035239.js} +0 -0
  48. /package/dist/{copy-api-key-modal_ui_b0f284_1.22.0.js → copy-api-key-modal_ui_8a3bfd_1.22.1-canary.v20260625035239.js} +0 -0
  49. /package/dist/{createorganization_ui_6d4cc8_1.22.0.js → createorganization_ui_322b53_1.22.1-canary.v20260625035239.js} +0 -0
  50. /package/dist/{createorganization_ui_9c26d5_1.22.0.js → createorganization_ui_368943_1.22.1-canary.v20260625035239.js} +0 -0
  51. /package/dist/{createorganization_ui_b0f284_1.22.0.js → createorganization_ui_8a3bfd_1.22.1-canary.v20260625035239.js} +0 -0
  52. /package/dist/{enableOrganizationsPrompt_ui_6d4cc8_1.22.0.js → enableOrganizationsPrompt_ui_322b53_1.22.1-canary.v20260625035239.js} +0 -0
  53. /package/dist/{enableOrganizationsPrompt_ui_9c26d5_1.22.0.js → enableOrganizationsPrompt_ui_368943_1.22.1-canary.v20260625035239.js} +0 -0
  54. /package/dist/{enableOrganizationsPrompt_ui_b0f284_1.22.0.js → enableOrganizationsPrompt_ui_8a3bfd_1.22.1-canary.v20260625035239.js} +0 -0
  55. /package/dist/{framework_ui_6d4cc8_1.22.0.js → framework_ui_322b53_1.22.1-canary.v20260625035239.js} +0 -0
  56. /package/dist/{framework_ui_b0f284_1.22.0.js → framework_ui_8a3bfd_1.22.1-canary.v20260625035239.js} +0 -0
  57. /package/dist/{impersonationfab_ui_6d4cc8_1.22.0.js → impersonationfab_ui_322b53_1.22.1-canary.v20260625035239.js} +0 -0
  58. /package/dist/{impersonationfab_ui_9c26d5_1.22.0.js → impersonationfab_ui_368943_1.22.1-canary.v20260625035239.js} +0 -0
  59. /package/dist/{impersonationfab_ui_b0f284_1.22.0.js → impersonationfab_ui_8a3bfd_1.22.1-canary.v20260625035239.js} +0 -0
  60. /package/dist/{keylessPrompt_ui_6d4cc8_1.22.0.js → keylessPrompt_ui_322b53_1.22.1-canary.v20260625035239.js} +0 -0
  61. /package/dist/{keylessPrompt_ui_9c26d5_1.22.0.js → keylessPrompt_ui_368943_1.22.1-canary.v20260625035239.js} +0 -0
  62. /package/dist/{keylessPrompt_ui_b0f284_1.22.0.js → keylessPrompt_ui_8a3bfd_1.22.1-canary.v20260625035239.js} +0 -0
  63. /package/dist/{oauthConsent_ui_6d4cc8_1.22.0.js → oauthConsent_ui_322b53_1.22.1-canary.v20260625035239.js} +0 -0
  64. /package/dist/{oauthConsent_ui_9c26d5_1.22.0.js → oauthConsent_ui_368943_1.22.1-canary.v20260625035239.js} +0 -0
  65. /package/dist/{oauthConsent_ui_b0f284_1.22.0.js → oauthConsent_ui_8a3bfd_1.22.1-canary.v20260625035239.js} +0 -0
  66. /package/dist/{onetap_ui_6d4cc8_1.22.0.js → onetap_ui_322b53_1.22.1-canary.v20260625035239.js} +0 -0
  67. /package/dist/{onetap_ui_9c26d5_1.22.0.js → onetap_ui_368943_1.22.1-canary.v20260625035239.js} +0 -0
  68. /package/dist/{onetap_ui_b0f284_1.22.0.js → onetap_ui_8a3bfd_1.22.1-canary.v20260625035239.js} +0 -0
  69. /package/dist/{op-api-keys-page_ui_6d4cc8_1.22.0.js → op-api-keys-page_ui_322b53_1.22.1-canary.v20260625035239.js} +0 -0
  70. /package/dist/{op-api-keys-page_ui_9c26d5_1.22.0.js → op-api-keys-page_ui_368943_1.22.1-canary.v20260625035239.js} +0 -0
  71. /package/dist/{op-api-keys-page_ui_b0f284_1.22.0.js → op-api-keys-page_ui_8a3bfd_1.22.1-canary.v20260625035239.js} +0 -0
  72. /package/dist/{op-billing-page_ui_6d4cc8_1.22.0.js → op-billing-page_ui_322b53_1.22.1-canary.v20260625035239.js} +0 -0
  73. /package/dist/{op-billing-page_ui_9c26d5_1.22.0.js → op-billing-page_ui_368943_1.22.1-canary.v20260625035239.js} +0 -0
  74. /package/dist/{op-billing-page_ui_b0f284_1.22.0.js → op-billing-page_ui_8a3bfd_1.22.1-canary.v20260625035239.js} +0 -0
  75. /package/dist/{op-plans-page_ui_6d4cc8_1.22.0.js → op-plans-page_ui_322b53_1.22.1-canary.v20260625035239.js} +0 -0
  76. /package/dist/{op-plans-page_ui_9c26d5_1.22.0.js → op-plans-page_ui_368943_1.22.1-canary.v20260625035239.js} +0 -0
  77. /package/dist/{op-plans-page_ui_b0f284_1.22.0.js → op-plans-page_ui_8a3bfd_1.22.1-canary.v20260625035239.js} +0 -0
  78. /package/dist/{op-security-page_ui_6d4cc8_1.22.0.js → op-security-page_ui_322b53_1.22.1-canary.v20260625035239.js} +0 -0
  79. /package/dist/{op-security-page_ui_9c26d5_1.22.0.js → op-security-page_ui_368943_1.22.1-canary.v20260625035239.js} +0 -0
  80. /package/dist/{op-security-page_ui_b0f284_1.22.0.js → op-security-page_ui_8a3bfd_1.22.1-canary.v20260625035239.js} +0 -0
  81. /package/dist/{organizationlist_ui_6d4cc8_1.22.0.js → organizationlist_ui_322b53_1.22.1-canary.v20260625035239.js} +0 -0
  82. /package/dist/{organizationlist_ui_9c26d5_1.22.0.js → organizationlist_ui_368943_1.22.1-canary.v20260625035239.js} +0 -0
  83. /package/dist/{organizationlist_ui_b0f284_1.22.0.js → organizationlist_ui_8a3bfd_1.22.1-canary.v20260625035239.js} +0 -0
  84. /package/dist/{organizationprofile_ui_6d4cc8_1.22.0.js → organizationprofile_ui_322b53_1.22.1-canary.v20260625035239.js} +0 -0
  85. /package/dist/{organizationprofile_ui_9c26d5_1.22.0.js → organizationprofile_ui_368943_1.22.1-canary.v20260625035239.js} +0 -0
  86. /package/dist/{organizationprofile_ui_b0f284_1.22.0.js → organizationprofile_ui_8a3bfd_1.22.1-canary.v20260625035239.js} +0 -0
  87. /package/dist/{organizationswitcher_ui_6d4cc8_1.22.0.js → organizationswitcher_ui_322b53_1.22.1-canary.v20260625035239.js} +0 -0
  88. /package/dist/{organizationswitcher_ui_9c26d5_1.22.0.js → organizationswitcher_ui_368943_1.22.1-canary.v20260625035239.js} +0 -0
  89. /package/dist/{organizationswitcher_ui_b0f284_1.22.0.js → organizationswitcher_ui_8a3bfd_1.22.1-canary.v20260625035239.js} +0 -0
  90. /package/dist/{payment-attempt-page_ui_6d4cc8_1.22.0.js → payment-attempt-page_ui_322b53_1.22.1-canary.v20260625035239.js} +0 -0
  91. /package/dist/{payment-attempt-page_ui_9c26d5_1.22.0.js → payment-attempt-page_ui_368943_1.22.1-canary.v20260625035239.js} +0 -0
  92. /package/dist/{payment-attempt-page_ui_b0f284_1.22.0.js → payment-attempt-page_ui_8a3bfd_1.22.1-canary.v20260625035239.js} +0 -0
  93. /package/dist/{planDetails_ui_6d4cc8_1.22.0.js → planDetails_ui_322b53_1.22.1-canary.v20260625035239.js} +0 -0
  94. /package/dist/{planDetails_ui_9c26d5_1.22.0.js → planDetails_ui_368943_1.22.1-canary.v20260625035239.js} +0 -0
  95. /package/dist/{planDetails_ui_b0f284_1.22.0.js → planDetails_ui_8a3bfd_1.22.1-canary.v20260625035239.js} +0 -0
  96. /package/dist/{prefetchorganizationlist_ui_6d4cc8_1.22.0.js → prefetchorganizationlist_ui_322b53_1.22.1-canary.v20260625035239.js} +0 -0
  97. /package/dist/{prefetchorganizationlist_ui_9c26d5_1.22.0.js → prefetchorganizationlist_ui_368943_1.22.1-canary.v20260625035239.js} +0 -0
  98. /package/dist/{prefetchorganizationlist_ui_b0f284_1.22.0.js → prefetchorganizationlist_ui_8a3bfd_1.22.1-canary.v20260625035239.js} +0 -0
  99. /package/dist/{pricingTable_ui_6d4cc8_1.22.0.js → pricingTable_ui_322b53_1.22.1-canary.v20260625035239.js} +0 -0
  100. /package/dist/{pricingTable_ui_9c26d5_1.22.0.js → pricingTable_ui_368943_1.22.1-canary.v20260625035239.js} +0 -0
  101. /package/dist/{pricingTable_ui_b0f284_1.22.0.js → pricingTable_ui_8a3bfd_1.22.1-canary.v20260625035239.js} +0 -0
  102. /package/dist/{revoke-api-key-modal_ui_6d4cc8_1.22.0.js → revoke-api-key-modal_ui_322b53_1.22.1-canary.v20260625035239.js} +0 -0
  103. /package/dist/{revoke-api-key-modal_ui_9c26d5_1.22.0.js → revoke-api-key-modal_ui_368943_1.22.1-canary.v20260625035239.js} +0 -0
  104. /package/dist/{revoke-api-key-modal_ui_b0f284_1.22.0.js → revoke-api-key-modal_ui_8a3bfd_1.22.1-canary.v20260625035239.js} +0 -0
  105. /package/dist/{sessionTasks_ui_6d4cc8_1.22.0.js → sessionTasks_ui_322b53_1.22.1-canary.v20260625035239.js} +0 -0
  106. /package/dist/{sessionTasks_ui_9c26d5_1.22.0.js → sessionTasks_ui_368943_1.22.1-canary.v20260625035239.js} +0 -0
  107. /package/dist/{sessionTasks_ui_b0f284_1.22.0.js → sessionTasks_ui_8a3bfd_1.22.1-canary.v20260625035239.js} +0 -0
  108. /package/dist/{signin_ui_6d4cc8_1.22.0.js → signin_ui_322b53_1.22.1-canary.v20260625035239.js} +0 -0
  109. /package/dist/{signin_ui_9c26d5_1.22.0.js → signin_ui_368943_1.22.1-canary.v20260625035239.js} +0 -0
  110. /package/dist/{signin_ui_b0f284_1.22.0.js → signin_ui_8a3bfd_1.22.1-canary.v20260625035239.js} +0 -0
  111. /package/dist/{signup_ui_6d4cc8_1.22.0.js → signup_ui_322b53_1.22.1-canary.v20260625035239.js} +0 -0
  112. /package/dist/{signup_ui_9c26d5_1.22.0.js → signup_ui_368943_1.22.1-canary.v20260625035239.js} +0 -0
  113. /package/dist/{signup_ui_b0f284_1.22.0.js → signup_ui_8a3bfd_1.22.1-canary.v20260625035239.js} +0 -0
  114. /package/dist/{statement-page_ui_6d4cc8_1.22.0.js → statement-page_ui_322b53_1.22.1-canary.v20260625035239.js} +0 -0
  115. /package/dist/{statement-page_ui_9c26d5_1.22.0.js → statement-page_ui_368943_1.22.1-canary.v20260625035239.js} +0 -0
  116. /package/dist/{statement-page_ui_b0f284_1.22.0.js → statement-page_ui_8a3bfd_1.22.1-canary.v20260625035239.js} +0 -0
  117. /package/dist/{subscriptionDetails_ui_6d4cc8_1.22.0.js → subscriptionDetails_ui_322b53_1.22.1-canary.v20260625035239.js} +0 -0
  118. /package/dist/{subscriptionDetails_ui_9c26d5_1.22.0.js → subscriptionDetails_ui_368943_1.22.1-canary.v20260625035239.js} +0 -0
  119. /package/dist/{subscriptionDetails_ui_b0f284_1.22.0.js → subscriptionDetails_ui_8a3bfd_1.22.1-canary.v20260625035239.js} +0 -0
  120. /package/dist/{taskChooseOrganization_ui_6d4cc8_1.22.0.js → taskChooseOrganization_ui_322b53_1.22.1-canary.v20260625035239.js} +0 -0
  121. /package/dist/{taskChooseOrganization_ui_9c26d5_1.22.0.js → taskChooseOrganization_ui_368943_1.22.1-canary.v20260625035239.js} +0 -0
  122. /package/dist/{taskChooseOrganization_ui_b0f284_1.22.0.js → taskChooseOrganization_ui_8a3bfd_1.22.1-canary.v20260625035239.js} +0 -0
  123. /package/dist/{taskResetPassword_ui_6d4cc8_1.22.0.js → taskResetPassword_ui_322b53_1.22.1-canary.v20260625035239.js} +0 -0
  124. /package/dist/{taskResetPassword_ui_9c26d5_1.22.0.js → taskResetPassword_ui_368943_1.22.1-canary.v20260625035239.js} +0 -0
  125. /package/dist/{taskResetPassword_ui_b0f284_1.22.0.js → taskResetPassword_ui_8a3bfd_1.22.1-canary.v20260625035239.js} +0 -0
  126. /package/dist/{taskSetupMFA_ui_6d4cc8_1.22.0.js → taskSetupMFA_ui_322b53_1.22.1-canary.v20260625035239.js} +0 -0
  127. /package/dist/{taskSetupMFA_ui_9c26d5_1.22.0.js → taskSetupMFA_ui_368943_1.22.1-canary.v20260625035239.js} +0 -0
  128. /package/dist/{taskSetupMFA_ui_b0f284_1.22.0.js → taskSetupMFA_ui_8a3bfd_1.22.1-canary.v20260625035239.js} +0 -0
  129. /package/dist/{ui-common_ui_6d4cc8_1.22.0.js → ui-common_ui_322b53_1.22.1-canary.v20260625035239.js} +0 -0
  130. /package/dist/{ui-common_ui_9c26d5_1.22.0.js → ui-common_ui_368943_1.22.1-canary.v20260625035239.js} +0 -0
  131. /package/dist/{ui-common_ui_b0f284_1.22.0.js → ui-common_ui_8a3bfd_1.22.1-canary.v20260625035239.js} +0 -0
  132. /package/dist/{up-api-keys-page_ui_6d4cc8_1.22.0.js → up-api-keys-page_ui_322b53_1.22.1-canary.v20260625035239.js} +0 -0
  133. /package/dist/{up-api-keys-page_ui_9c26d5_1.22.0.js → up-api-keys-page_ui_368943_1.22.1-canary.v20260625035239.js} +0 -0
  134. /package/dist/{up-api-keys-page_ui_b0f284_1.22.0.js → up-api-keys-page_ui_8a3bfd_1.22.1-canary.v20260625035239.js} +0 -0
  135. /package/dist/{up-billing-page_ui_6d4cc8_1.22.0.js → up-billing-page_ui_322b53_1.22.1-canary.v20260625035239.js} +0 -0
  136. /package/dist/{up-billing-page_ui_9c26d5_1.22.0.js → up-billing-page_ui_368943_1.22.1-canary.v20260625035239.js} +0 -0
  137. /package/dist/{up-billing-page_ui_b0f284_1.22.0.js → up-billing-page_ui_8a3bfd_1.22.1-canary.v20260625035239.js} +0 -0
  138. /package/dist/{up-plans-page_ui_6d4cc8_1.22.0.js → up-plans-page_ui_322b53_1.22.1-canary.v20260625035239.js} +0 -0
  139. /package/dist/{up-plans-page_ui_9c26d5_1.22.0.js → up-plans-page_ui_368943_1.22.1-canary.v20260625035239.js} +0 -0
  140. /package/dist/{up-plans-page_ui_b0f284_1.22.0.js → up-plans-page_ui_8a3bfd_1.22.1-canary.v20260625035239.js} +0 -0
  141. /package/dist/{useravatar_ui_6d4cc8_1.22.0.js → useravatar_ui_322b53_1.22.1-canary.v20260625035239.js} +0 -0
  142. /package/dist/{useravatar_ui_9c26d5_1.22.0.js → useravatar_ui_368943_1.22.1-canary.v20260625035239.js} +0 -0
  143. /package/dist/{useravatar_ui_b0f284_1.22.0.js → useravatar_ui_8a3bfd_1.22.1-canary.v20260625035239.js} +0 -0
  144. /package/dist/{userbutton_ui_6d4cc8_1.22.0.js → userbutton_ui_322b53_1.22.1-canary.v20260625035239.js} +0 -0
  145. /package/dist/{userbutton_ui_9c26d5_1.22.0.js → userbutton_ui_368943_1.22.1-canary.v20260625035239.js} +0 -0
  146. /package/dist/{userbutton_ui_b0f284_1.22.0.js → userbutton_ui_8a3bfd_1.22.1-canary.v20260625035239.js} +0 -0
  147. /package/dist/{userprofile_ui_6d4cc8_1.22.0.js → userprofile_ui_322b53_1.22.1-canary.v20260625035239.js} +0 -0
  148. /package/dist/{userprofile_ui_9c26d5_1.22.0.js → userprofile_ui_368943_1.22.1-canary.v20260625035239.js} +0 -0
  149. /package/dist/{userprofile_ui_b0f284_1.22.0.js → userprofile_ui_8a3bfd_1.22.1-canary.v20260625035239.js} +0 -0
  150. /package/dist/{userverification_ui_6d4cc8_1.22.0.js → userverification_ui_322b53_1.22.1-canary.v20260625035239.js} +0 -0
  151. /package/dist/{userverification_ui_9c26d5_1.22.0.js → userverification_ui_368943_1.22.1-canary.v20260625035239.js} +0 -0
  152. /package/dist/{userverification_ui_b0f284_1.22.0.js → userverification_ui_8a3bfd_1.22.1-canary.v20260625035239.js} +0 -0
  153. /package/dist/{vendors_ui_6d4cc8_1.22.0.js → vendors_ui_322b53_1.22.1-canary.v20260625035239.js} +0 -0
  154. /package/dist/{vendors_ui_9c26d5_1.22.0.js → vendors_ui_368943_1.22.1-canary.v20260625035239.js} +0 -0
  155. /package/dist/{vendors_ui_b0f284_1.22.0.js → vendors_ui_8a3bfd_1.22.1-canary.v20260625035239.js} +0 -0
  156. /package/dist/{waitlist_ui_6d4cc8_1.22.0.js → waitlist_ui_322b53_1.22.1-canary.v20260625035239.js} +0 -0
  157. /package/dist/{waitlist_ui_9c26d5_1.22.0.js → waitlist_ui_368943_1.22.1-canary.v20260625035239.js} +0 -0
  158. /package/dist/{waitlist_ui_b0f284_1.22.0.js → waitlist_ui_8a3bfd_1.22.1-canary.v20260625035239.js} +0 -0
  159. /package/dist/{web3-solana-wallet-buttons_ui_6d4cc8_1.22.0.js → web3-solana-wallet-buttons_ui_322b53_1.22.1-canary.v20260625035239.js} +0 -0
  160. /package/dist/{web3-solana-wallet-buttons_ui_9c26d5_1.22.0.js → web3-solana-wallet-buttons_ui_368943_1.22.1-canary.v20260625035239.js} +0 -0
  161. /package/dist/{web3-solana-wallet-buttons_ui_b0f284_1.22.0.js → web3-solana-wallet-buttons_ui_8a3bfd_1.22.1-canary.v20260625035239.js} +0 -0
@@ -1 +1 @@
1
- !function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var r=t();for(var n in r)("object"==typeof exports?exports:e)[n]=r[n]}}(globalThis,()=>(()=>{"use strict";var e,t,r,n={7008(e,t,r){r(36395);var n=r(70355),i=r(1715),a=r(32638),o=r(59701);r.d(t,{},{x:()=>{let[e,t]=o.useState({startPath:"",path:"",componentName:"",socialProvider:""}),r=(0,a.F)();o.useLayoutEffect(()=>{r&&t(r)},[]);let s=()=>{t({startPath:"",path:"",componentName:"",socialProvider:""})};return{urlStateParam:{...e,clearUrlStateParam:s},decodedRedirectParams:r,clearUrlStateParam:s,removeQueryParam:()=>(0,i.rw)(n.CL)}}})},39817(e,t,r){r(36395),r(74302),r(30686),r(38978),r(52205),r(40768),r(76235),r(85281),r(96954);try{let e=new URL(document.currentScript.src),t=new URL(e.href.split("/").slice(0,-1).join("/")).href;r.p=(t+=t.endsWith("/")?"":"/").replace(/(^.*\/@clerk\/ui@)(.+?)(\/dist.*)/,"$1".concat("1.22.0","$3"))}catch{}function n(e,t,r){if(!t.has(e))throw TypeError("attempted to "+r+" private field on non-instance");return t.get(e)}r(15254);var i=r(27213),a=r(71756),o=r(62826);function s(e){let t=e.match(/^(\d+)\.(\d+)\.(\d+)/);if(!t)return null;let[,r,n,i]=t;return{major:parseInt(r,10),minor:parseInt(n,10),patch:parseInt(i,10)}}r(42949),r(12021),r(73560),r(37891);var l=r(59763),u=r(91117),c=r(4653),f=r(59701),h=r(7008),d=r(81221);let p=(0,f.lazy)(()=>r.e(6666).then(r.bind(r,36140)).then(e=>({default:e.MountedCheckoutDrawer}))),g=(0,f.lazy)(()=>r.e(6666).then(r.bind(r,17458)).then(e=>({default:e.MountedPlanDetailDrawer}))),y=(0,f.lazy)(()=>Promise.all([r.e(26),r.e(1545),r.e(6666),r.e(7451)]).then(r.bind(r,32408)).then(e=>({default:e.MountedSubscriptionDetailDrawer})));var m=r(54152);let b=e=>{let{base:t,path:r}=e;return r?t+r:t};function w(e,t){if(!e)return{};let r="signin"===t?"signIn":"signUp",n={["".concat(r,"ForceRedirectUrl")]:e.forceRedirectUrl,["".concat(r,"FallbackRedirectUrl")]:e.fallbackRedirectUrl},i={...e,...n};return delete i.forceRedirectUrl,delete i.fallbackRedirectUrl,i}r(84086);var S=r(80719);let E="u">typeof window?f.useLayoutEffect:f.useEffect,k=0,P={},_=Object.freeze({SignUp:"signUpModal",SignIn:"signInModal",UserProfile:"userProfileModal",OrganizationProfile:"organizationProfileModal",CreateOrganization:"createOrganizationModal",Waitlist:"waitlistModal"}),x=e=>{var t,r,n,i,a,o,s,c,S;let[x,O]=f.useState({appearance:e.options.appearance,options:e.options,googleOneTapModal:null,signInModal:null,signUpModal:null,userProfileModal:null,userVerificationModal:null,organizationProfileModal:null,createOrganizationModal:null,enableOrganizationsPromptModal:null,organizationSwitcherPrefetch:!1,waitlistModal:null,blankCaptchaModal:null,checkoutDrawer:{open:!1,props:null},planDetailsDrawer:{open:!1,props:null},subscriptionDetailsDrawer:{open:!1,props:null},impersonationFab:!1}),{googleOneTapModal:C,signInModal:R,signUpModal:A,userProfileModal:I,userVerificationModal:T,organizationProfileModal:M,createOrganizationModal:D,waitlistModal:z,blankCaptchaModal:j,checkoutDrawer:U,planDetailsDrawer:L,subscriptionDetailsDrawer:N}=x,F=e.getClerk();(0,f.useSyncExternalStore)((0,f.useCallback)(e=>F.addListener(e,{skipInitialEmit:!0}),[F]),(0,f.useCallback)(()=>F.__internal_lastEmittedResources,[F]),(0,f.useCallback)(()=>F.__internal_lastEmittedResources,[F]));let q=(0,f.useRef)(new Map),{urlStateParam:W,clearUrlStateParam:$,decodedRedirectParams:B}=(0,h.x)();E(()=>{B&&O(e=>({...e,[_[B.componentName]]:!0}));let t=()=>{O(e=>({...e}))};P.mountComponent=e=>{let{node:r,name:n,props:i,appearanceKey:a}=e;r||(0,u.$V)(),q.current.set(r,{key:"p".concat(++k),name:n,props:i,appearanceKey:a}),t()},P.unmountComponent=e=>{let{node:r}=e;q.current.delete(r),t()},P.updateProps=e=>{let{node:r,props:n,...i}=e;if(r&&n&&"object"==typeof n){let e=q.current.get(r);if(e){e.props={...n},t();return}}O(e=>({...e,...i,options:{...e.options,...i.options}}))},P.closeModal=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{notify:r=!0}=t;$(),O(t=>{let n=t["".concat(e,"Modal")];if(n&&"object"==typeof n&&"afterVerificationCancelled"in n&&r){var i;null==(i=n.afterVerificationCancelled)||i.call(n)}return{...t,["".concat(e,"Modal")]:null}})},P.openModal=(e,t)=>{"enableOrganizationsPrompt"===e?O(r=>r.enableOrganizationsPromptModal?r:{...r,["".concat(e,"Modal")]:t}):"afterVerificationCancelled"in t?"afterVerificationCancelled"in t&&O(r=>({...r,["".concat(e,"Modal")]:{...t,afterVerification(){var r;null==(r=t.afterVerification)||r.call(t),P.closeModal(e,{notify:!1})}}})):O(r=>({...r,["".concat(e,"Modal")]:t}))},P.mountImpersonationFab=()=>{O(e=>({...e,impersonationFab:!0}))},P.openDrawer=(e,t)=>{O(r=>({...r,["".concat(e,"Drawer")]:{open:!0,props:t}}))},P.closeDrawer=e=>{O(t=>{var r,n;let i=t["".concat(e,"Drawer")];return null==i||null==(n=i.props)||null==(r=n.onClose)||r.call(n),{...t,["".concat(e,"Drawer")]:{...t["".concat(e,"Drawer")],open:!1}}})},P.prefetch=e=>{O(t=>({...t,["".concat(e,"Prefetch")]:!0}))},e.onComponentsMounted()},[]);let K=(0,l.Y)(m.xg,{componentProps:C,globalAppearance:x.appearance,componentAppearance:null==C?void 0:C.appearance,startPath:b({base:"/one-tap",path:""})}),Y=(0,l.FD)(m.Vv,{globalAppearance:x.appearance,appearanceKey:"signIn",componentAppearance:null==R?void 0:R.appearance,flowName:"signIn",onClose:()=>P.closeModal("signIn"),onExternalNavigate:()=>P.closeModal("signIn"),startPath:b({base:"/sign-in",path:null==W?void 0:W.path}),getContainer:null!=(t=null==R?void 0:R.getContainer)?t:()=>null,componentName:"SignInModal",children:[(0,l.Y)(d.M9,{...R}),(0,l.Y)(d.gK,{...w(R,"signin")}),(0,l.Y)(d.L1,{...z})]}),V=(0,l.FD)(m.Vv,{globalAppearance:x.appearance,appearanceKey:"signUp",componentAppearance:null==A?void 0:A.appearance,flowName:"signUp",onClose:()=>P.closeModal("signUp"),onExternalNavigate:()=>P.closeModal("signUp"),startPath:b({base:"/sign-up",path:null==W?void 0:W.path}),getContainer:null!=(r=null==A?void 0:A.getContainer)?r:()=>null,componentName:"SignUpModal",children:[(0,l.Y)(d.M9,{...w(A,"signup")}),(0,l.Y)(d.gK,{...A}),(0,l.Y)(d.L1,{...z})]}),Q=(0,l.Y)(m.Vv,{globalAppearance:x.appearance,appearanceKey:"userProfile",componentAppearance:null==I?void 0:I.appearance,flowName:"userProfile",onClose:()=>P.closeModal("userProfile"),onExternalNavigate:()=>P.closeModal("userProfile"),startPath:b({base:"/user",path:(null==I?void 0:I.__experimental_startPath)||(null==W?void 0:W.path)}),getContainer:null!=(n=null==I?void 0:I.getContainer)?n:()=>null,componentName:"UserProfileModal",modalContainerSx:{alignItems:"center"},modalContentSx:e=>({height:"min(".concat(e.sizes.$176,", calc(100% - ").concat(e.sizes.$12,"))"),margin:0}),children:(0,l.Y)(d.am,{...I})}),H=(0,l.Y)(m.Vv,{globalAppearance:x.appearance,appearanceKey:"userVerification",componentAppearance:null==T?void 0:T.appearance,flowName:"userVerification",onClose:()=>P.closeModal("userVerification"),onExternalNavigate:()=>P.closeModal("userVerification"),startPath:b({base:"/user-verification",path:null==W?void 0:W.path}),getContainer:null!=(i=null==T?void 0:T.getContainer)?i:()=>null,componentName:"UserVerificationModal",modalContainerSx:{alignItems:"center"},children:(0,l.Y)(d.yd,{...T})}),G=(0,l.Y)(m.Vv,{globalAppearance:x.appearance,appearanceKey:"organizationProfile",componentAppearance:null==M?void 0:M.appearance,flowName:"organizationProfile",onClose:()=>P.closeModal("organizationProfile"),onExternalNavigate:()=>P.closeModal("organizationProfile"),startPath:b({base:"/organizationProfile",path:(null==M?void 0:M.__experimental_startPath)||(null==W?void 0:W.path)}),getContainer:null!=(a=null==M?void 0:M.getContainer)?a:()=>null,componentName:"OrganizationProfileModal",modalContainerSx:{alignItems:"center"},modalContentSx:e=>({height:"min(".concat(e.sizes.$176,", calc(100% - ").concat(e.sizes.$12,"))"),margin:0}),children:(0,l.Y)(d.Qj,{...M})}),J=(0,l.Y)(m.Vv,{globalAppearance:x.appearance,appearanceKey:"createOrganization",componentAppearance:null==D?void 0:D.appearance,flowName:"createOrganization",onClose:()=>P.closeModal("createOrganization"),onExternalNavigate:()=>P.closeModal("createOrganization"),startPath:b({base:"/createOrganization",path:null==W?void 0:W.path}),getContainer:null!=(o=null==D?void 0:D.getContainer)?o:()=>null,componentName:"CreateOrganizationModal",modalContainerSx:{alignItems:"center"},modalContentSx:e=>({height:"min(".concat(e.sizes.$120,", calc(100% - ").concat(e.sizes.$12,"))"),margin:0}),children:(0,l.Y)(d.Xi,{...D})}),X=(0,l.FD)(m.Vv,{globalAppearance:x.appearance,appearanceKey:"waitlist",componentAppearance:null==z?void 0:z.appearance,flowName:"waitlist",onClose:()=>P.closeModal("waitlist"),onExternalNavigate:()=>P.closeModal("waitlist"),startPath:b({base:"/waitlist",path:null==W?void 0:W.path}),getContainer:null!=(s=null==z?void 0:z.getContainer)?s:()=>null,componentName:"WaitlistModal",children:[(0,l.Y)(d.L1,{...z}),(0,l.Y)(d.M9,{...z})]}),Z=(0,l.Y)(m.Vv,{globalAppearance:x.appearance,appearanceKey:"blankCaptcha",componentAppearance:{},flowName:"blankCaptcha",onClose:()=>P.closeModal("blankCaptcha"),startPath:b({base:"/blank-captcha",path:null==W?void 0:W.path}),componentName:"BlankCaptchaModal",canCloseModal:!1,modalId:"cl-modal-captcha-wrapper",modalStyle:{visibility:"hidden",pointerEvents:"none"},getContainer:()=>null,children:(0,l.Y)(d.Gb,{})});return(0,l.Y)(f.Suspense,{fallback:"",children:(0,l.FD)(m.Fj,{clerk:e.getClerk(),environment:e.getEnvironment(),options:x.options,moduleManager:e.moduleManager,children:[[...q.current].map(e=>{var t;let[r,n]=e;return(0,l.Y)(m.t8,{node:r,globalAppearance:x.appearance,appearanceKey:n.appearanceKey,componentAppearance:null==(t=n.props)?void 0:t.appearance,componentName:n.name,componentProps:n.props},n.key)}),C&&K,R&&Y,A&&V,I&&Q,T&&H,M&&G,D&&J,z&&X,j&&Z,(0,l.Y)(p,{appearance:x.appearance,checkoutDrawer:U,onOpenChange:()=>P.closeDrawer("checkout")}),(0,l.Y)(g,{appearance:x.appearance,planDetailsDrawer:L,onOpenChange:()=>P.closeDrawer("planDetails")}),(0,l.Y)(y,{appearance:x.appearance,subscriptionDetailsDrawer:N,onOpenChange:()=>P.closeDrawer("subscriptionDetails")}),x.impersonationFab&&(0,l.Y)(m.Nx,{globalAppearance:x.appearance,children:(0,l.Y)(d.Sm,{})}),x.enableOrganizationsPromptModal&&(0,l.Y)(m.dB,{globalAppearance:x.appearance,children:(0,l.Y)(d.yc,{...x.enableOrganizationsPromptModal})}),(null==(c=x.options)?void 0:c.__internal_keyless_claimKeylessApplicationUrl)&&(null==(S=x.options)?void 0:S.__internal_keyless_copyInstanceKeysUrl)&&(0,l.Y)(m.Nx,{globalAppearance:x.appearance,children:(0,l.Y)(d.ju,{claimUrl:x.options.__internal_keyless_claimKeylessApplicationUrl,copyKeysUrl:x.options.__internal_keyless_copyInstanceKeysUrl,onDismiss:x.options.__internal_keyless_dismissPrompt})}),(0,l.Y)(f.Suspense,{children:x.organizationSwitcherPrefetch&&(0,l.Y)(m.up,{})})]})})};var O=new WeakMap;class C{ensureMounted(e){var t;return(t=n(this,O,"get"),t.get?t.get.call(this):t.value).ensureMounted(e)}constructor(e,t,u,f){(0,i._)(this,"version","1.22.0"),function(e,t,r){if(t.has(e))throw TypeError("Cannot initialize the same private elements twice on an object");t.set(e,r)}(this,O,{writable:!0,value:void 0});const h=e(),p=null==h?void 0:h.version,g=(null==h?void 0:h.instanceType)==="development",y=s(null!=p?p:"");let m=null;if(y&&!function(e,t){if(!e)return!1;let r=s(e),n=s(t);return!!r&&!!n&&(r.major!==n.major?r.major>n.major:r.minor!==n.minor?r.minor>n.minor:r.patch>=n.patch)}(p,"6.0.0")?m="@clerk/ui@".concat(C.version," requires @clerk/clerk-js@>=").concat("6.0.0",", ")+"but found @clerk/clerk-js@".concat(p,". ")+"Please upgrade @clerk/clerk-js (or your framework SDK) to a compatible version.":y||f||(m="@clerk/ui@".concat(C.version," requires @clerk/clerk-js@>=").concat("6.0.0",", ")+"but found an incompatible version".concat(p?" (".concat(p,")"):"",". ")+"Please upgrade @clerk/clerk-js (or your framework SDK) to a compatible version."),m)if(g)throw new a.cR(m,{code:"clerk_ui_version_mismatch"});else o.v.warnOnce(m);!function(e,t,r){var i=n(e,t,"set");if(i.set)i.set.call(e,r);else{if(!i.writable)throw TypeError("attempted to set read only private field");i.value=r}}(this,O,((e,t,n,i)=>{let a,o={...n};o.appearance&&(o.appearance=function(e){let t;if(!e||"object"!=typeof e)return e;let r=e.theme;if(!r)return e;if(Array.isArray(r)){r.forEach(e=>{!t&&"object"==typeof e&&e.cssLayerName&&(t=e.cssLayerName)});let n=r.map(e=>{if("string"==typeof e)return e;let{cssLayerName:t,...r}=e;return r}),i=e.cssLayerName||t,a={...e,theme:n};return i&&(a.cssLayerName=i),a}{let t;"object"==typeof r&&r.cssLayerName&&(t=r.cssLayerName);let n="string"==typeof r?r:(()=>{let{cssLayerName:e,...t}=r;return t})(),i=e.cssLayerName||t,a={...e,theme:n};return i&&(a.cssLayerName=i),a}}(o.appearance));let s=document.getElementById("clerk-components");return s||((s=document.createElement("div")).setAttribute("id","clerk-components"),document.body.appendChild(s)),{ensureMounted:n=>{let{preloadHint:u}=n||{};if(u&&(0,d.jr)(u).catch(()=>{}),!a){let n=(0,c.ph)(),u=setTimeout(()=>{console.error("[Clerk UI] Component renderer did not mount within 10s. Common causes: a failed chunk load, a dev-server misconfiguration (e.g. unresolved lazy-compilation proxy), or a ClerkProvider/mountX call before the page is hydrated. Check the Network tab for stalled or empty requests.")},1e4);a=Promise.all([r.e(26),r.e(1545),r.e(6666)]).then(r.bind(r,76e3)).then(r=>{let{createRoot:a}=r;return a(s).render((0,l.Y)(x,{getClerk:e,getEnvironment:t,options:o,onComponentsMounted:()=>{clearTimeout(u),"development"===e().instanceType&&("function"==typeof requestIdleCallback?requestIdleCallback:e=>setTimeout(e,0))(()=>(0,S.I)(o)),n.resolve()},moduleManager:i})),n.promise.then(()=>P)}).catch(e=>{throw clearTimeout(u),console.error("[Clerk UI] Failed to initialize component renderer:",e),e})}return a.then(e=>e)}}})(e,t,u,f))}}(0,i._)(C,"version","1.22.0"),window.__internal_ClerkUICtor||(window.__internal_ClerkUICtor=C)},81221(e,t,r){r(73560);var n=r(59701);let i={SignIn:()=>Promise.all([r.e(26),r.e(1545),r.e(6666),r.e(472),r.e(8746),r.e(8010)]).then(r.bind(r,45757)),SignUp:()=>Promise.all([r.e(26),r.e(1545),r.e(6666),r.e(472)]).then(r.bind(r,49614)),UserAvatar:()=>Promise.all([r.e(1545),r.e(6666),r.e(1058)]).then(r.bind(r,75511)),UserButton:()=>Promise.all([r.e(26),r.e(1545),r.e(6666),r.e(8746),r.e(2099)]).then(r.bind(r,78301)),UserProfile:()=>Promise.all([r.e(26),r.e(1545),r.e(6666),r.e(9419),r.e(718)]).then(r.bind(r,59512)),CreateOrganization:()=>Promise.all([r.e(26),r.e(1545),r.e(6666),r.e(76),r.e(9243)]).then(r.bind(r,87335)),OrganizationProfile:()=>Promise.all([r.e(26),r.e(1545),r.e(6666),r.e(76),r.e(8310)]).then(r.bind(r,91755)),OrganizationSwitcher:()=>Promise.all([r.e(26),r.e(1545),r.e(6666),r.e(5364)]).then(r.bind(r,82042)),OrganizationList:()=>Promise.all([r.e(26),r.e(1545),r.e(6666),r.e(76),r.e(799)]).then(r.bind(r,42160)),ImpersonationFab:()=>Promise.all([r.e(26),r.e(1545),r.e(6666),r.e(8917)]).then(r.bind(r,93014)),GoogleOneTap:()=>Promise.all([r.e(26),r.e(1545),r.e(6666),r.e(5721)]).then(r.bind(r,79659)),BlankCaptchaModal:()=>Promise.all([r.e(26),r.e(1545),r.e(6666),r.e(3328)]).then(r.bind(r,46816)),UserVerification:()=>Promise.all([r.e(26),r.e(1545),r.e(6666),r.e(5636)]).then(r.bind(r,824)),Waitlist:()=>Promise.all([r.e(26),r.e(1545),r.e(6666),r.e(5265)]).then(r.bind(r,54416)),KeylessPrompt:()=>Promise.all([r.e(1545),r.e(6666),r.e(522)]).then(r.bind(r,15549)),PricingTable:()=>Promise.all([r.e(26),r.e(1545),r.e(6666),r.e(6678),r.e(7030)]).then(r.bind(r,23131)),Checkout:()=>Promise.all([r.e(26),r.e(1545),r.e(6666),r.e(9419),r.e(1256)]).then(r.bind(r,40460)),SessionTasks:()=>Promise.all([r.e(26),r.e(1545),r.e(6666),r.e(472),r.e(7004),r.e(4424),r.e(6390)]).then(r.bind(r,60931)),TaskChooseOrganization:()=>Promise.all([r.e(26),r.e(1545),r.e(6666),r.e(472),r.e(4424),r.e(1723)]).then(r.bind(r,9147)),TaskResetPassword:()=>Promise.all([r.e(26),r.e(1545),r.e(6666),r.e(472),r.e(8067)]).then(r.bind(r,57006)),TaskSetupMFA:()=>Promise.all([r.e(26),r.e(1545),r.e(6666),r.e(7004)]).then(r.bind(r,48093)),PlanDetails:()=>Promise.all([r.e(26),r.e(1545),r.e(6666),r.e(2841)]).then(r.bind(r,62182)),SubscriptionDetails:()=>Promise.all([r.e(26),r.e(1545),r.e(6666),r.e(7451)]).then(r.bind(r,75181)),APIKeys:()=>Promise.all([r.e(26),r.e(1545),r.e(6666),r.e(8326)]).then(r.bind(r,13676)),ConfigureSSO:()=>Promise.all([r.e(26),r.e(1545),r.e(6666),r.e(9074),r.e(7971)]).then(r.bind(r,46238)),OAuthConsent:()=>Promise.all([r.e(26),r.e(1545),r.e(6666),r.e(5591)]).then(r.bind(r,81820)),EnableOrganizationsPrompt:()=>Promise.all([r.e(26),r.e(1545),r.e(6666),r.e(2533)]).then(r.bind(r,68663))},a=(0,n.lazy)(()=>i.SignIn().then(e=>({default:e.SignIn}))),o=(0,n.lazy)(()=>i.SignIn().then(e=>({default:e.SignInModal}))),s=(0,n.lazy)(()=>i.GoogleOneTap().then(e=>({default:e.OneTap}))),l=(0,n.lazy)(()=>i.UserVerification().then(e=>({default:e.UserVerification}))),u=(0,n.lazy)(()=>i.UserVerification().then(e=>({default:e.UserVerificationModal}))),c=(0,n.lazy)(()=>i.EnableOrganizationsPrompt().then(e=>({default:e.EnableOrganizationsPrompt}))),f=(0,n.lazy)(()=>i.SignUp().then(e=>({default:e.SignUp}))),h=(0,n.lazy)(()=>i.SignUp().then(e=>({default:e.SignUpModal}))),d=(0,n.lazy)(()=>i.UserAvatar().then(e=>({default:e.UserAvatar}))),p=(0,n.lazy)(()=>i.UserButton().then(e=>({default:e.UserButton}))),g=(0,n.lazy)(()=>i.UserProfile().then(e=>({default:e.UserProfile}))),y=(0,n.lazy)(()=>i.UserProfile().then(e=>({default:e.UserProfileModal}))),m=(0,n.lazy)(()=>i.CreateOrganization().then(e=>({default:e.CreateOrganization}))),b=(0,n.lazy)(()=>i.CreateOrganization().then(e=>({default:e.CreateOrganizationModal}))),w=(0,n.lazy)(()=>i.OrganizationProfile().then(e=>({default:e.OrganizationProfile}))),S=(0,n.lazy)(()=>i.OrganizationProfile().then(e=>({default:e.OrganizationProfileModal}))),E=(0,n.lazy)(()=>i.OrganizationSwitcher().then(e=>({default:e.OrganizationSwitcher}))),k=(0,n.lazy)(()=>i.OrganizationList().then(e=>({default:e.OrganizationList}))),P=(0,n.lazy)(()=>i.Waitlist().then(e=>({default:e.Waitlist}))),_=(0,n.lazy)(()=>i.Waitlist().then(e=>({default:e.WaitlistModal}))),x=(0,n.lazy)(()=>i.BlankCaptchaModal().then(e=>({default:e.BlankCaptchaModal}))),O=(0,n.lazy)(()=>i.ImpersonationFab().then(e=>({default:e.ImpersonationFab}))),C=(0,n.lazy)(()=>i.KeylessPrompt().then(e=>({default:e.KeylessPrompt}))),R=(0,n.lazy)(()=>i.PricingTable().then(e=>({default:e.PricingTable}))),A=(0,n.lazy)(()=>i.APIKeys().then(e=>({default:e.APIKeys}))),I=(0,n.lazy)(()=>i.ConfigureSSO().then(e=>({default:e.ConfigureSSO}))),T=(0,n.lazy)(()=>i.Checkout().then(e=>({default:e.Checkout}))),M=(0,n.lazy)(()=>i.TaskChooseOrganization().then(e=>({default:e.TaskChooseOrganization}))),D=(0,n.lazy)(()=>i.TaskResetPassword().then(e=>({default:e.TaskResetPassword}))),z=(0,n.lazy)(()=>i.TaskSetupMFA().then(e=>({default:e.TaskSetupMFA}))),j=(0,n.lazy)(()=>i.PlanDetails().then(e=>({default:e.PlanDetails}))),U=(0,n.lazy)(()=>i.SubscriptionDetails().then(e=>({default:e.SubscriptionDetails}))),L=(0,n.lazy)(()=>i.OAuthConsent().then(e=>({default:e.OAuthConsent}))),N=(0,n.lazy)(()=>i.SessionTasks().then(e=>({default:e.SessionTasks}))),F=async e=>{var t;return null==(t=i[e])?void 0:t.call(i)};r.d(t,{},{Gb:x,JJ:N,L1:_,M9:o,O3:{SignIn:a,SignUp:f,UserAvatar:d,UserButton:p,UserProfile:g,UserVerification:l,EnableOrganizationsPrompt:c,OrganizationSwitcher:E,OrganizationList:k,OrganizationProfile:w,CreateOrganization:m,SignInModal:o,SignUpModal:h,UserProfileModal:y,OrganizationProfileModal:S,CreateOrganizationModal:b,UserVerificationModal:u,GoogleOneTap:s,Waitlist:P,WaitlistModal:_,BlankCaptchaModal:x,PricingTable:R,Checkout:T,PlanDetails:j,APIKeys:A,ConfigureSSO:I,OAuthConsent:L,SubscriptionDetails:U,TaskChooseOrganization:M,TaskResetPassword:D,TaskSetupMFA:z},Qj:S,RW:T,Sm:O,Xi:b,am:y,gK:h,jr:F,ju:C,yc:c,yd:u,ym:j})},54152(e,t,r){r.d(t,{t8:()=>x,$h:()=>C,dB:()=>A,Nx:()=>R,Vv:()=>O,xg:()=>I,Fj:()=>_,up:()=>P}),r(73560);var n=r(59763);r(67548),r(70954),r(98803),r(79162),r(15385),r(39342),r(69152),r(36395);var i=r(91311);let a=new Set;var o=r(46262),s=r(59701),l=r(81221);let u=(0,s.lazy)(()=>r.e(6666).then(r.bind(r,95250)).then(e=>({default:e.ClerkContextProvider}))),c=(0,s.lazy)(()=>r.e(6666).then(r.bind(r,95250)).then(e=>({default:e.EnvironmentProvider}))),f=(0,s.lazy)(()=>r.e(6666).then(r.bind(r,95250)).then(e=>({default:e.OptionsProvider}))),h=(0,s.lazy)(()=>r.e(6666).then(r.bind(r,95250)).then(e=>({default:e.ModuleManagerProvider}))),d=(0,s.lazy)(()=>Promise.all([r.e(1545),r.e(6666)]).then(r.bind(r,39230)).then(e=>({default:e.AppearanceProvider}))),p=(0,s.lazy)(()=>Promise.all([r.e(26),r.e(1545),r.e(6666)]).then(r.bind(r,37209)).then(e=>({default:e.VirtualRouter}))),g=(0,s.lazy)(()=>Promise.all([r.e(1545),r.e(6666)]).then(r.bind(r,37412)).then(e=>({default:e.InternalThemeProvider}))),y=(0,s.lazy)(()=>r.e(6666).then(r.bind(r,41610)).then(e=>({default:e.StyleCacheProvider}))),m=(0,s.lazy)(()=>Promise.all([r.e(26),r.e(1545),r.e(6666),r.e(472),r.e(4718)]).then(r.bind(r,12616)).then(e=>({default:e.Portal}))),b=(0,s.lazy)(()=>Promise.all([r.e(26),r.e(1545),r.e(6666),r.e(472),r.e(4718)]).then(r.bind(r,12616)).then(e=>({default:e.VirtualBodyRootPortal}))),w=(0,s.lazy)(()=>Promise.all([r.e(26),r.e(1545),r.e(6666)]).then(r.bind(r,17308)).then(e=>({default:e.FlowMetadataProvider}))),S=(0,s.lazy)(()=>Promise.all([r.e(26),r.e(1545),r.e(6666)]).then(r.bind(r,62574)).then(e=>({default:e.Modal}))),E=(0,s.lazy)(()=>Promise.all([r.e(26),r.e(1545),r.e(6666)]).then(r.bind(r,66923)).then(e=>({default:e.Drawer.Root}))),k=(0,s.lazy)(()=>Promise.all([r.e(26),r.e(1545),r.e(6666)]).then(r.bind(r,66923)).then(e=>({default:e.Drawer.Overlay}))),P=(0,s.lazy)(()=>r.e(5608).then(r.bind(r,30956)).then(e=>({default:e.OrganizationSwitcherPrefetch}))),_=e=>{var t;return(0,n.Y)(y,{nonce:e.options.nonce,cssLayerName:null==(t=e.options.appearance)?void 0:t.cssLayerName,children:(0,n.Y)(h,{moduleManager:e.moduleManager,children:(0,n.Y)(u,{clerk:e.clerk,children:(0,n.Y)(c,{value:e.environment,children:(0,n.Y)(f,{value:e.options,children:e.children})})})})})},x=e=>{var t,r,s,u;let c,f;return(null==e||null==(t=e.componentProps)?void 0:t.routing)==="virtual"&&(s='routing="virtual"',c=(0,i.a)()||(0,i.i)(),f=null!=u?u:s,a.has(f)||c||(a.add(f),console.warn('Clerk - DEPRECATION WARNING: "'.concat(s,'" is deprecated and will be removed in the next major release.\n').concat('Use routing="hash" instead.')))),(0,n.Y)(d,{globalAppearance:e.globalAppearance,appearanceKey:e.appearanceKey,appearance:e.componentAppearance,children:(0,n.Y)(o.N$,{getContainer:null==e||null==(r=e.componentProps)?void 0:r.getContainer,children:(0,n.Y)(m,{node:e.node,component:l.O3[e.componentName],props:e.componentProps,componentName:e.componentName})})})},O=e=>(0,n.Y)(s.Suspense,{fallback:"",children:(0,n.Y)(d,{globalAppearance:e.globalAppearance,appearanceKey:e.appearanceKey,appearance:e.componentAppearance,children:(0,n.Y)(w,{flow:e.flowName||"",children:(0,n.Y)(g,{children:(0,n.Y)(o.N$,{getContainer:e.getContainer,children:(0,n.Y)(S,{id:e.modalId,style:e.modalStyle,handleClose:e.onClose,containerSx:e.modalContainerSx,contentSx:e.modalContentSx,canCloseModal:e.canCloseModal,children:e.startPath?(0,n.Y)(s.Suspense,{children:(0,n.Y)(p,{startPath:e.startPath,onExternalNavigate:e.onExternalNavigate,children:e.children})}):e.children})})})})})}),C=e=>(0,n.Y)(s.Suspense,{fallback:"",children:(0,n.Y)(p,{startPath:"",children:(0,n.Y)(d,{globalAppearance:e.globalAppearance,appearanceKey:e.appearanceKey,appearance:e.componentAppearance,children:(0,n.Y)(w,{flow:e.flowName||"",children:(0,n.Y)(g,{children:(0,n.FD)(E,{open:e.open,onOpenChange:e.onOpenChange,strategy:e.portalId||e.portalRoot?"absolute":"fixed",portalProps:{id:e.portalId?e.portalId:void 0,root:e.portalRoot?e.portalRoot:void 0},children:[(0,n.Y)(k,{}),e.children]})})})})})}),R=e=>(0,n.Y)(s.Suspense,{children:(0,n.Y)(p,{startPath:"",children:(0,n.Y)(d,{globalAppearance:e.globalAppearance,appearanceKey:"impersonationFab",children:e.children})})}),A=e=>(0,n.Y)(s.Suspense,{children:(0,n.Y)(p,{startPath:"",children:(0,n.Y)(d,{globalAppearance:e.globalAppearance,appearanceKey:"enableOrganizationsPrompt",children:e.children})})}),I=e=>(0,n.Y)(d,{globalAppearance:e.globalAppearance,appearanceKey:"oneTap",appearance:e.componentAppearance,children:(0,n.Y)(b,{startPath:e.startPath,component:l.O3.GoogleOneTap,props:e.componentProps,componentName:"GoogleOneTap"})})},80719(e,t,r){r.d(t,{T:()=>p,I:()=>g}),r(42949),r(37891),r(85281),r(96954),r(36395),r(14104);var n=r(62826);let i=/\.cl-[A-Za-z0-9_-]+/,a=/\.cl-internal-[A-Za-z0-9_-]+/g,o=/\[\s*class\s*(\^=|\*=|\$=)\s*["']?[^"'\]]*cl-[^"'\]]*["']?\s*\]/i,s=/:(nth-child|nth-of-type|first-child|last-child|only-child|empty)\b/i,l=/:has\(/i;r(18723),r(52277);let u=/[.#\w\[:]/,c=/\.cl-[A-Za-z0-9_-]+/g,f=/[>+~\s]/;function h(e){return["Clerk: Structural CSS detected that may break on updates.\n\nFound:",e.slice(0,5).map(e=>" - ".concat(e)).join("\n")+(e.length>5?"\n (+".concat(e.length-5," more)"):""),"\nThese selectors depend on the internal DOM structure of Clerk's components, which may change when Clerk deploys component updates.\nTo prevent breaking changes, install @clerk/ui and pass it to ClerkProvider:\n\n import { ui } from '@clerk/ui'\n <ClerkProvider ui={ui}>\n\nLearn more: https://clerk.com/docs/reference/components/versioning\n(code=structural_css_pin_clerk_ui)"].join("\n")}function d(e){let t=[];for(let[r,n]of Object.entries(e))if("string"!=typeof n)for(let e of function e(t){if(!t||"object"!=typeof t)return[];let r=[];for(let[n,a]of Object.entries(t))(function(e){let t,r,n;return!!e.startsWith("&")&&(!!(i.test(e)||s.test(e)||l.test(e))||(t=e.replace(/^&\s*/,""),r=i.test(t),n=u.test(t.replace(c,"")),!!(r||n&&f.test(e))))})(n)&&r.push(n),r.push(...e(a));return r}(n))t.push("elements.".concat(r,' "').concat(e,'"'));return t}function p(e,t){if(t||!(null==e?void 0:e.elements)||0===Object.keys(e.elements).length)return;let r=d(e.elements);r.length>0&&n.v.warnOnce(h(r))}function g(e){var t;if(null==e||null==(t=e.ui)?void 0:t.__brand)return;let r=[],u=null==e?void 0:e.appearance;for(let e of((null==u?void 0:u.elements)&&Object.keys(u.elements).length>0&&r.push(...d(u.elements)),function(){if("u"<typeof document)return[];let e=[];for(let t of Array.from(document.styleSheets)){let r=function(e){try{return e.cssRules}catch{return null}}(t);r&&function e(t,r,n){for(let c of Array.from(t)){if(1===c.type&&"selectorText"in c){for(let e of(c.selectorText||"").split(",").map(e=>e.trim()).filter(Boolean)){var u;if(!function(e){let t=e.replace(a,"");return i.test(t)||o.test(t)}(e))continue;let{structural:t,reason:f}=function(e){let t=[];return(/\.cl-[A-Za-z0-9_-]+[\s>+~]+[.#\w\[:]/.test(e)||/[.#\w\]:][\s>+~]+\.cl-[A-Za-z0-9_-]+/.test(e))&&(/[>+~]/.test(e)&&t.push("combinator(>+~)"),/\s+/.test(e)&&t.push("descendant(combinator)")),s.test(e)&&t.push("positional-pseudo"),l.test(e)&&t.push(":has()"),(e.match(/\.cl-[A-Za-z0-9_-]+/g)||[]).length>=2&&t.push("multiple-clerk-classes"),/(^|[\s>+~(])([a-z]+)\.cl-[A-Za-z0-9_-]+/i.test(e)&&t.push("tag+cl-class"),{structural:t.includes("combinator(>+~)")||t.includes("descendant(combinator)")||t.includes("positional-pseudo")||t.includes(":has()")||t.includes("multiple-clerk-classes")||t.includes("tag+cl-class"),reason:t}}(e);t&&n.push({stylesheetHref:null!=(u=r.href)?u:null,selector:e,cssText:c.cssText,reason:f})}continue}"cssRules"in c&&c.cssRules&&e(c.cssRules,r,n)}}(r,t,e)}return e}()))r.push('CSS "'.concat(e.selector,'"'));r.length>0&&n.v.warnOnce(h(r))}},55435(e,t,r){r.d(t,{A:()=>K}),r(36395),r(85281),r(96954),r(42949),r(84086),r(15254),r(14104),r(37891);var n=function(){function e(e){var t=this;this._insertTag=function(e){var r;r=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,r),t.tags.push(e)},this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(((t=document.createElement("style")).setAttribute("data-emotion",this.key),void 0!==this.nonce&&t.setAttribute("nonce",this.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t));var t,r=this.tags[this.tags.length-1];if(this.isSpeedy){var n=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}(r);try{n.insertRule(e,n.cssRules.length)}catch(e){}}else r.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach(function(e){var t;return null==(t=e.parentNode)?void 0:t.removeChild(e)}),this.tags=[],this.ctr=0},e}(),i=Math.abs,a=String.fromCharCode,o=Object.assign;function s(e,t,r){return e.replace(t,r)}function l(e,t){return e.indexOf(t)}function u(e,t){return 0|e.charCodeAt(t)}function c(e,t,r){return e.slice(t,r)}function f(e){return e.length}function h(e,t){return t.push(e),e}var d=1,p=1,g=0,y=0,m=0,b="";function w(e,t,r,n,i,a,o){return{value:e,root:t,parent:r,type:n,props:i,children:a,line:d,column:p,length:o,return:""}}function S(e,t){return o(w("",null,null,"",null,null,0),e,{length:-e.length},t)}function E(){return m=y<g?u(b,y++):0,p++,10===m&&(p=1,d++),m}function k(){return u(b,y)}function P(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function _(e){return d=p=1,g=f(b=e),y=0,[]}function x(e){var t,r;return(t=y-1,r=function e(t){for(;E();)switch(m){case t:return y;case 34:case 39:34!==t&&39!==t&&e(m);break;case 40:41===t&&e(t);break;case 92:E()}return y}(91===e?e+2:40===e?e+1:e),c(b,t,r)).trim()}var O="-ms-",C="-moz-",R="-webkit-",A="comm",I="rule",T="decl",M="@keyframes";function D(e,t){for(var r="",n=e.length,i=0;i<n;i++)r+=t(e[i],i,e,t)||"";return r}function z(e,t,r,n){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case T:return e.return=e.return||e.value;case A:return"";case M:return e.return=e.value+"{"+D(e.children,n)+"}";case I:e.value=e.props.join(",")}return f(r=D(e.children,n))?e.return=e.value+"{"+r+"}":""}function j(e,t,r,n,a,o,l,u,f,h,d){for(var p=a-1,g=0===a?o:[""],y=g.length,m=0,b=0,S=0;m<n;++m)for(var E=0,k=c(e,p+1,p=i(b=l[m])),P=e;E<y;++E)(P=(b>0?g[E]+" "+k:s(k,/&\f/g,g[E])).trim())&&(f[S++]=P);return w(e,t,r,0===a?I:u,f,h,d)}function U(e,t,r,n){return w(e,t,r,T,c(e,0,n),c(e,n+1,-1),n)}r(53349);var L=function(e,t,r){for(var n=0,i=0;n=i,i=k(),38===n&&12===i&&(t[r]=1),!P(i);)E();return c(b,e,y)},N=function(e,t){var r=-1,n=44;do switch(P(n)){case 0:38===n&&12===k()&&(t[r]=1),e[r]+=L(y-1,t,r);break;case 2:e[r]+=x(n);break;case 4:if(44===n){e[++r]=58===k()?"&\f":"",t[r]=e[r].length;break}default:e[r]+=a(n)}while(n=E());return e},F=function(e,t){var r;return r=N(_(e),t),b="",r},q=new WeakMap,W=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,r=e.parent,n=e.column===r.column&&e.line===r.line;"rule"!==r.type;)if(!(r=r.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||q.get(r))&&!n){q.set(e,!0);for(var i=[],a=F(t,i),o=r.props,s=0,l=0;s<a.length;s++)for(var u=0;u<o.length;u++,l++)e.props[l]=i[s]?a[s].replace(/&\f/g,o[u]):o[u]+" "+a[s]}}},$=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}},B=[function(e,t,r,n){if(e.length>-1&&!e.return)switch(e.type){case T:e.return=function e(t,r){switch(45^u(t,0)?(((r<<2^u(t,0))<<2^u(t,1))<<2^u(t,2))<<2^u(t,3):0){case 5103:return R+"print-"+t+t;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return R+t+t;case 5349:case 4246:case 4810:case 6968:case 2756:return R+t+C+t+O+t+t;case 6828:case 4268:return R+t+O+t+t;case 6165:return R+t+O+"flex-"+t+t;case 5187:return R+t+s(t,/(\w+).+(:[^]+)/,R+"box-$1$2"+O+"flex-$1$2")+t;case 5443:return R+t+O+"flex-item-"+s(t,/flex-|-self/,"")+t;case 4675:return R+t+O+"flex-line-pack"+s(t,/align-content|flex-|-self/,"")+t;case 5548:return R+t+O+s(t,"shrink","negative")+t;case 5292:return R+t+O+s(t,"basis","preferred-size")+t;case 6060:return R+"box-"+s(t,"-grow","")+R+t+O+s(t,"grow","positive")+t;case 4554:return R+s(t,/([^-])(transform)/g,"$1"+R+"$2")+t;case 6187:return s(s(s(t,/(zoom-|grab)/,R+"$1"),/(image-set)/,R+"$1"),t,"")+t;case 5495:case 3959:return s(t,/(image-set\([^]*)/,R+"$1$`$1");case 4968:return s(s(t,/(.+:)(flex-)?(.*)/,R+"box-pack:$3"+O+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+R+t+t;case 4095:case 3583:case 4068:case 2532:return s(t,/(.+)-inline(.+)/,R+"$1$2")+t;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(f(t)-1-r>6)switch(u(t,r+1)){case 109:if(45!==u(t,r+4))break;case 102:return s(t,/(.+:)(.+)-([^]+)/,"$1"+R+"$2-$3$1"+C+(108==u(t,r+3)?"$3":"$2-$3"))+t;case 115:return~l(t,"stretch")?e(s(t,"stretch","fill-available"),r)+t:t}break;case 4949:if(115!==u(t,r+1))break;case 6444:switch(u(t,f(t)-3-(~l(t,"!important")&&10))){case 107:return s(t,":",":"+R)+t;case 101:return s(t,/(.+:)([^;!]+)(;|!.+)?/,"$1"+R+(45===u(t,14)?"inline-":"")+"box$3$1"+R+"$2$3$1"+O+"$2box$3")+t}break;case 5936:switch(u(t,r+11)){case 114:return R+t+O+s(t,/[svh]\w+-[tblr]{2}/,"tb")+t;case 108:return R+t+O+s(t,/[svh]\w+-[tblr]{2}/,"tb-rl")+t;case 45:return R+t+O+s(t,/[svh]\w+-[tblr]{2}/,"lr")+t}return R+t+O+t+t}return t}(e.value,e.length);break;case M:return D([S(e,{value:s(e.value,"@","@"+R)})],n);case I:if(e.length){var i,a;return i=e.props,a=function(t){var r;switch(r=t,(r=/(::plac\w+|:read-\w+)/.exec(r))?r[0]:r){case":read-only":case":read-write":return D([S(e,{props:[s(t,/:(read-\w+)/,":"+C+"$1")]})],n);case"::placeholder":return D([S(e,{props:[s(t,/:(plac\w+)/,":"+R+"input-$1")]}),S(e,{props:[s(t,/:(plac\w+)/,":"+C+"$1")]}),S(e,{props:[s(t,/:(plac\w+)/,O+"input-$1")]})],n)}return""},i.map(a).join("")}}}],K=function(e){var t,r,i,o,g,S=e.key;if("css"===S){var O=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(O,function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))})}var C=e.stylisPlugins||B,R={},I=[];o=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+S+' "]'),function(e){for(var t=e.getAttribute("data-emotion").split(" "),r=1;r<t.length;r++)R[t[r]]=!0;I.push(e)});var T=(r=(t=[W,$].concat(C,[z,(i=function(e){g.insert(e)},function(e){!e.root&&(e=e.return)&&i(e)})])).length,function(e,n,i,a){for(var o="",s=0;s<r;s++)o+=t[s](e,n,i,a)||"";return o}),M=function(e){var t,r;return D((r=function e(t,r,n,i,o,g,S,_,O){for(var C,R=0,I=0,T=S,M=0,D=0,z=0,L=1,N=1,F=1,q=0,W="",$=o,B=g,K=i,Y=W;N;)switch(z=q,q=E()){case 40:if(108!=z&&58==u(Y,T-1)){-1!=l(Y+=s(x(q),"&","&\f"),"&\f")&&(F=-1);break}case 34:case 39:case 91:Y+=x(q);break;case 9:case 10:case 13:case 32:Y+=function(e){for(;m=k();)if(m<33)E();else break;return P(e)>2||P(m)>3?"":" "}(z);break;case 92:Y+=function(e,t){for(var r;--t&&E()&&!(m<48)&&!(m>102)&&(!(m>57)||!(m<65))&&(!(m>70)||!(m<97)););return r=y+(t<6&&32==k()&&32==E()),c(b,e,r)}(y-1,7);continue;case 47:switch(k()){case 42:case 47:h((C=function(e,t){for(;E();)if(e+m===57)break;else if(e+m===84&&47===k())break;return"/*"+c(b,t,y-1)+"*"+a(47===e?e:E())}(E(),y),w(C,r,n,A,a(m),c(C,2,-2),0)),O);break;default:Y+="/"}break;case 123*L:_[R++]=f(Y)*F;case 125*L:case 59:case 0:switch(q){case 0:case 125:N=0;case 59+I:-1==F&&(Y=s(Y,/\f/g,"")),D>0&&f(Y)-T&&h(D>32?U(Y+";",i,n,T-1):U(s(Y," ","")+";",i,n,T-2),O);break;case 59:Y+=";";default:if(h(K=j(Y,r,n,R,I,o,_,W,$=[],B=[],T),g),123===q)if(0===I)e(Y,r,K,K,$,g,T,_,B);else switch(99===M&&110===u(Y,3)?100:M){case 100:case 108:case 109:case 115:e(t,K,K,i&&h(j(t,K,K,0,0,o,_,W,o,$=[],T),B),o,B,T,_,i?$:B);break;default:e(Y,K,K,K,[""],B,0,_,B)}}R=I=D=0,L=F=1,W=Y="",T=S;break;case 58:T=1+f(Y),D=z;default:if(L<1){if(123==q)--L;else if(125==q&&0==L++&&125==(m=y>0?u(b,--y):0,p--,10===m&&(p=1,d--),m))continue}switch(Y+=a(q),q*L){case 38:F=I>0?1:(Y+="\f",-1);break;case 44:_[R++]=(f(Y)-1)*F,F=1;break;case 64:45===k()&&(Y+=x(E())),M=k(),I=T=f(W=Y+=function(e){for(;!P(k());)E();return c(b,e,y)}(y)),q++;break;case 45:45===z&&2==f(Y)&&(L=0)}}return g}("",null,null,null,[""],t=_(t=e),0,[0],t),b="",r),T)},L={key:S,sheet:new n({key:S,container:o,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:R,registered:{},insert:function(e,t,r,n){g=r,M(e?e+"{"+t.styles+"}":t.styles),n&&(L.inserted[t.name]=!0)}};return L.sheet.hydrate(I),L}},43500(e,t,r){r.d(t,{C:()=>d,E:()=>S,a:()=>y,c:()=>b,h:()=>f}),r(15254),r(85281),r(67548),r(70954),r(98803),r(79162),r(15385),r(39342),r(69152),r(36395),r(96954);var n,i=r(59701),a=r(55435);function o(){return(o=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(null,arguments)}var s=r(53349),l=r(66936),u=r(31134),c=r(28206),f={}.hasOwnProperty,h=i.createContext("u">typeof HTMLElement?(0,a.A)({key:"css"}):null),d=h.Provider,p=i.createContext({}),g=(0,s.A)(function(e){return(0,s.A)(function(t){var r,n;return r=e,"function"==typeof(n=t)?n(r):o({},r,n)})}),y=function(e){var t=i.useContext(p);return e.theme!==t&&(t=g(t)(e.theme)),i.createElement(p.Provider,{value:t},e.children)},m="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",b=function(e,t){var r={};for(var n in t)f.call(t,n)&&(r[n]=t[n]);return r[m]=e,r},w=function(e){var t=e.cache,r=e.serialized,n=e.isStringTag;return(0,l.SF)(t,r,n),(0,c.s)(function(){return(0,l.sk)(t,r,n)}),null},S=(n=function(e,t,r){var n=e.css;"string"==typeof n&&void 0!==t.registered[n]&&(n=t.registered[n]);var a=e[m],o=[n],s="";"string"==typeof e.className?s=(0,l.Rk)(t.registered,o,e.className):null!=e.className&&(s=e.className+" ");var c=(0,u.J)(o,void 0,i.useContext(p));s+=t.key+"-"+c.name;var h={};for(var d in e)f.call(e,d)&&"css"!==d&&d!==m&&(h[d]=e[d]);return h.ref=r,h.className=s,i.createElement(i.Fragment,null,i.createElement(w,{cache:t,serialized:c,isStringTag:"string"==typeof a}),i.createElement(a,h))},(0,i.forwardRef)(function(e,t){return n(e,(0,i.useContext)(h),t)}))},59763(e,t,r){var n=r(23569),i=r(43500);r(59701),r(55435),r(53349),r(43184),r(66936),r(31134),r(28206);var a=n.Fragment;function o(e,t,r){return i.h.call(t,"css")?n.jsx(i.E,(0,i.c)(e,t),r):n.jsx(e,t,r)}function s(e,t,r){return i.h.call(t,"css")?n.jsxs(i.E,(0,i.c)(e,t),r):n.jsxs(e,t,r)}r.d(t,{FD:()=>s,FK:()=>a,Y:()=>o})},31134(e,t,r){r.d(t,{J:()=>g}),r(85281),r(96954),r(15254);var n,i,a,o={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},s=/[A-Z]|^ms/g,l=/_EMO_([^_]+?)_([^]*?)_EMO_/g,u=function(e){return 45===e.charCodeAt(1)},c=function(e){return null!=e&&"boolean"!=typeof e},f=(n=function(e){return u(e)?e:e.replace(s,"-$&").toLowerCase()},i=Object.create(null),function(e){return void 0===i[e]&&(i[e]=n(e)),i[e]}),h=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(l,function(e,t,r){return a={name:t,styles:r,next:a},t})}return 1===o[e]||u(e)||"number"!=typeof t||0===t?t:t+"px"};function d(e,t,r){if(null==r)return"";if(void 0!==r.__emotion_styles)return r;switch(typeof r){case"boolean":return"";case"object":if(1===r.anim)return a={name:r.name,styles:r.styles,next:a},r.name;if(void 0!==r.styles){var n=r.next;if(void 0!==n)for(;void 0!==n;)a={name:n.name,styles:n.styles,next:a},n=n.next;return r.styles+";"}return function(e,t,r){var n="";if(Array.isArray(r))for(var i=0;i<r.length;i++)n+=d(e,t,r[i])+";";else for(var a in r){var o=r[a];if("object"!=typeof o)null!=t&&void 0!==t[o]?n+=a+"{"+t[o]+"}":c(o)&&(n+=f(a)+":"+h(a,o)+";");else if(Array.isArray(o)&&"string"==typeof o[0]&&(null==t||void 0===t[o[0]]))for(var s=0;s<o.length;s++)c(o[s])&&(n+=f(a)+":"+h(a,o[s])+";");else{var l=d(e,t,o);switch(a){case"animation":case"animationName":n+=f(a)+":"+l+";";break;default:n+=a+"{"+l+"}"}}}return n}(e,t,r);case"function":if(void 0!==e){var i=a,o=r(e);return a=i,d(e,t,o)}}if(null==t)return r;var s=t[r];return void 0!==s?s:r}var p=/label:\s*([^\s;{]+)\s*(;|$)/g;function g(e,t,r){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var n,i=!0,o="";a=void 0;var s=e[0];null==s||void 0===s.raw?(i=!1,o+=d(r,t,s)):o+=s[0];for(var l=1;l<e.length;l++)o+=d(r,t,e[l]),i&&(o+=s[l]);p.lastIndex=0;for(var u="";null!==(n=p.exec(o));)u+="-"+n[1];return{name:function(e){for(var t,r=0,n=0,i=e.length;i>=4;++n,i-=4)t=(65535&(t=255&e.charCodeAt(n)|(255&e.charCodeAt(++n))<<8|(255&e.charCodeAt(++n))<<16|(255&e.charCodeAt(++n))<<24))*0x5bd1e995+((t>>>16)*59797<<16),t^=t>>>24,r=(65535&t)*0x5bd1e995+((t>>>16)*59797<<16)^(65535&r)*0x5bd1e995+((r>>>16)*59797<<16);switch(i){case 3:r^=(255&e.charCodeAt(n+2))<<16;case 2:r^=(255&e.charCodeAt(n+1))<<8;case 1:r^=255&e.charCodeAt(n),r=(65535&r)*0x5bd1e995+((r>>>16)*59797<<16)}return r^=r>>>13,(((r=(65535&r)*0x5bd1e995+((r>>>16)*59797<<16))^r>>>15)>>>0).toString(36)}(o)+u,styles:o,next:a}}},28206(e,t,r){var n,i=r(59701),a=!!(n||(n=r.t(i,2))).useInsertionEffect&&(n||(n=r.t(i,2))).useInsertionEffect,o=a||function(e){return e()};a||i.useLayoutEffect,r.d(t,{s:()=>o})},66936(e,t,r){function n(e,t,r){var n="";return r.split(" ").forEach(function(r){void 0!==e[r]?t.push(e[r]+";"):r&&(n+=r+" ")}),n}r(85281),r(42949),r(84086),r(14104);var i=function(e,t,r){var n=e.key+"-"+t.name;!1===r&&void 0===e.registered[n]&&(e.registered[n]=t.styles)},a=function(e,t,r){i(e,t,r);var n=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var a=t;do e.insert(t===a?"."+n:"",a,e.sheet,!0),a=a.next;while(void 0!==a)}};r.d(t,{Rk:()=>n,SF:()=>i,sk:()=>a})},53349(e,t,r){r(36395);var n=function(e){var t=new WeakMap;return function(r){if(t.has(r))return t.get(r);var n=e(r);return t.set(r,n),n}};r.d(t,{A:()=>n})},43184(e,t,r){var n=r(64326),i={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},a={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},o={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function l(e){return n.isMemo(e)?o:s[e.$$typeof]||i}s[n.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[n.Memo]=o;var u=Object.defineProperty,c=Object.getOwnPropertyNames,f=Object.getOwnPropertySymbols,h=Object.getOwnPropertyDescriptor,d=Object.getPrototypeOf,p=Object.prototype;e.exports=function e(t,r,n){if("string"!=typeof r){if(p){var i=d(r);i&&i!==p&&e(t,i,n)}var o=c(r);f&&(o=o.concat(f(r)));for(var s=l(t),g=l(r),y=0;y<o.length;++y){var m=o[y];if(!a[m]&&!(n&&n[m])&&!(g&&g[m])&&!(s&&s[m])){var b=h(r,m);try{u(t,m,b)}catch(e){}}}}return t}},75754(e,t){var r="function"==typeof Symbol&&Symbol.for,n=r?Symbol.for("react.element"):60103,i=r?Symbol.for("react.portal"):60106,a=r?Symbol.for("react.fragment"):60107,o=r?Symbol.for("react.strict_mode"):60108,s=r?Symbol.for("react.profiler"):60114,l=r?Symbol.for("react.provider"):60109,u=r?Symbol.for("react.context"):60110,c=r?Symbol.for("react.async_mode"):60111,f=r?Symbol.for("react.concurrent_mode"):60111,h=r?Symbol.for("react.forward_ref"):60112,d=r?Symbol.for("react.suspense"):60113,p=r?Symbol.for("react.suspense_list"):60120,g=r?Symbol.for("react.memo"):60115,y=r?Symbol.for("react.lazy"):60116,m=r?Symbol.for("react.block"):60121,b=r?Symbol.for("react.fundamental"):60117,w=r?Symbol.for("react.responder"):60118,S=r?Symbol.for("react.scope"):60119;function E(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case n:switch(e=e.type){case c:case f:case a:case s:case o:case d:return e;default:switch(e=e&&e.$$typeof){case u:case h:case y:case g:case l:return e;default:return t}}case i:return t}}}function k(e){return E(e)===f}t.AsyncMode=c,t.ConcurrentMode=f,t.ContextConsumer=u,t.ContextProvider=l,t.Element=n,t.ForwardRef=h,t.Fragment=a,t.Lazy=y,t.Memo=g,t.Portal=i,t.Profiler=s,t.StrictMode=o,t.Suspense=d,t.isAsyncMode=function(e){return k(e)||E(e)===c},t.isConcurrentMode=k,t.isContextConsumer=function(e){return E(e)===u},t.isContextProvider=function(e){return E(e)===l},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===n},t.isForwardRef=function(e){return E(e)===h},t.isFragment=function(e){return E(e)===a},t.isLazy=function(e){return E(e)===y},t.isMemo=function(e){return E(e)===g},t.isPortal=function(e){return E(e)===i},t.isProfiler=function(e){return E(e)===s},t.isStrictMode=function(e){return E(e)===o},t.isSuspense=function(e){return E(e)===d},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===a||e===f||e===s||e===o||e===d||e===p||"object"==typeof e&&null!==e&&(e.$$typeof===y||e.$$typeof===g||e.$$typeof===l||e.$$typeof===u||e.$$typeof===h||e.$$typeof===b||e.$$typeof===w||e.$$typeof===S||e.$$typeof===m)},t.typeOf=E},64326(e,t,r){e.exports=r(75754)},62771(e,t,r){var n=r(59701),i=Symbol.for("react.element"),a=Symbol.for("react.fragment"),o=Object.prototype.hasOwnProperty,s=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,l={key:!0,ref:!0,__self:!0,__source:!0};function u(e,t,r){var n,a={},u=null,c=null;for(n in void 0!==r&&(u=""+r),void 0!==t.key&&(u=""+t.key),void 0!==t.ref&&(c=t.ref),t)o.call(t,n)&&!l.hasOwnProperty(n)&&(a[n]=t[n]);if(e&&e.defaultProps)for(n in t=e.defaultProps)void 0===a[n]&&(a[n]=t[n]);return{$$typeof:i,type:e,key:u,ref:c,props:a,_owner:s.current}}t.Fragment=a,t.jsx=u,t.jsxs=u},23204(e,t,r){r(36395),r(15254),r(85281),r(96954),r(14104);var n=Symbol.for("react.element"),i=Symbol.for("react.portal"),a=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),l=Symbol.for("react.provider"),u=Symbol.for("react.context"),c=Symbol.for("react.forward_ref"),f=Symbol.for("react.suspense"),h=Symbol.for("react.memo"),d=Symbol.for("react.lazy"),p=Symbol.iterator,g={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},y=Object.assign,m={};function b(e,t,r){this.props=e,this.context=t,this.refs=m,this.updater=r||g}function w(){}function S(e,t,r){this.props=e,this.context=t,this.refs=m,this.updater=r||g}b.prototype.isReactComponent={},b.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},b.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},w.prototype=b.prototype;var E=S.prototype=new w;E.constructor=S,y(E,b.prototype),E.isPureReactComponent=!0;var k=Array.isArray,P=Object.prototype.hasOwnProperty,_={current:null},x={key:!0,ref:!0,__self:!0,__source:!0};function O(e,t,r){var i,a={},o=null,s=null;if(null!=t)for(i in void 0!==t.ref&&(s=t.ref),void 0!==t.key&&(o=""+t.key),t)P.call(t,i)&&!x.hasOwnProperty(i)&&(a[i]=t[i]);var l=arguments.length-2;if(1===l)a.children=r;else if(1<l){for(var u=Array(l),c=0;c<l;c++)u[c]=arguments[c+2];a.children=u}if(e&&e.defaultProps)for(i in l=e.defaultProps)void 0===a[i]&&(a[i]=l[i]);return{$$typeof:n,type:e,key:o,ref:s,props:a,_owner:_.current}}function C(e){return"object"==typeof e&&null!==e&&e.$$typeof===n}var R=/\/+/g;function A(e,t){var r,n;return"object"==typeof e&&null!==e&&null!=e.key?(r=""+e.key,n={"=":"=0",":":"=2"},"$"+r.replace(/[=:]/g,function(e){return n[e]})):t.toString(36)}function I(e,t,r){if(null==e)return e;var a=[],o=0;return!function e(t,r,a,o,s){var l,u,c,f=typeof t;("undefined"===f||"boolean"===f)&&(t=null);var h=!1;if(null===t)h=!0;else switch(f){case"string":case"number":h=!0;break;case"object":switch(t.$$typeof){case n:case i:h=!0}}if(h)return s=s(h=t),t=""===o?"."+A(h,0):o,k(s)?(a="",null!=t&&(a=t.replace(R,"$&/")+"/"),e(s,r,a,"",function(e){return e})):null!=s&&(C(s)&&(l=s,u=a+(!s.key||h&&h.key===s.key?"":(""+s.key).replace(R,"$&/")+"/")+t,s={$$typeof:n,type:l.type,key:u,ref:l.ref,props:l.props,_owner:l._owner}),r.push(s)),1;if(h=0,o=""===o?".":o+":",k(t))for(var d=0;d<t.length;d++){var g=o+A(f=t[d],d);h+=e(f,r,a,g,s)}else if("function"==typeof(g=null===(c=t)||"object"!=typeof c?null:"function"==typeof(c=p&&c[p]||c["@@iterator"])?c:null))for(t=g.call(t),d=0;!(f=t.next()).done;)g=o+A(f=f.value,d++),h+=e(f,r,a,g,s);else if("object"===f)throw Error("Objects are not valid as a React child (found: "+("[object Object]"===(r=String(t))?"object with keys {"+Object.keys(t).join(", ")+"}":r)+"). If you meant to render a collection of children, use an array instead.");return h}(e,a,"","",function(e){return t.call(r,e,o++)}),a}function T(e){if(-1===e._status){var t=e._result;(t=t()).then(function(t){(0===e._status||-1===e._status)&&(e._status=1,e._result=t)},function(t){(0===e._status||-1===e._status)&&(e._status=2,e._result=t)}),-1===e._status&&(e._status=0,e._result=t)}if(1===e._status)return e._result.default;throw e._result}var M={current:null},D={transition:null};function z(){throw Error("act(...) is not supported in production builds of React.")}t.Children={map:I,forEach:function(e,t,r){I(e,function(){t.apply(this,arguments)},r)},count:function(e){var t=0;return I(e,function(){t++}),t},toArray:function(e){return I(e,function(e){return e})||[]},only:function(e){if(!C(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},t.Component=b,t.Fragment=a,t.Profiler=s,t.PureComponent=S,t.StrictMode=o,t.Suspense=f,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED={ReactCurrentDispatcher:M,ReactCurrentBatchConfig:D,ReactCurrentOwner:_},t.act=z,t.cloneElement=function(e,t,r){if(null==e)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var i=y({},e.props),a=e.key,o=e.ref,s=e._owner;if(null!=t){if(void 0!==t.ref&&(o=t.ref,s=_.current),void 0!==t.key&&(a=""+t.key),e.type&&e.type.defaultProps)var l=e.type.defaultProps;for(u in t)P.call(t,u)&&!x.hasOwnProperty(u)&&(i[u]=void 0===t[u]&&void 0!==l?l[u]:t[u])}var u=arguments.length-2;if(1===u)i.children=r;else if(1<u){l=Array(u);for(var c=0;c<u;c++)l[c]=arguments[c+2];i.children=l}return{$$typeof:n,type:e.type,key:a,ref:o,props:i,_owner:s}},t.createContext=function(e){return(e={$$typeof:u,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:l,_context:e},e.Consumer=e},t.createElement=O,t.createFactory=function(e){var t=O.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:c,render:e}},t.isValidElement=C,t.lazy=function(e){return{$$typeof:d,_payload:{_status:-1,_result:e},_init:T}},t.memo=function(e,t){return{$$typeof:h,type:e,compare:void 0===t?null:t}},t.startTransition=function(e){var t=D.transition;D.transition={};try{e()}finally{D.transition=t}},t.unstable_act=z,t.useCallback=function(e,t){return M.current.useCallback(e,t)},t.useContext=function(e){return M.current.useContext(e)},t.useDebugValue=function(){},t.useDeferredValue=function(e){return M.current.useDeferredValue(e)},t.useEffect=function(e,t){return M.current.useEffect(e,t)},t.useId=function(){return M.current.useId()},t.useImperativeHandle=function(e,t,r){return M.current.useImperativeHandle(e,t,r)},t.useInsertionEffect=function(e,t){return M.current.useInsertionEffect(e,t)},t.useLayoutEffect=function(e,t){return M.current.useLayoutEffect(e,t)},t.useMemo=function(e,t){return M.current.useMemo(e,t)},t.useReducer=function(e,t,r){return M.current.useReducer(e,t,r)},t.useRef=function(e){return M.current.useRef(e)},t.useState=function(e){return M.current.useState(e)},t.useSyncExternalStore=function(e,t,r){return M.current.useSyncExternalStore(e,t,r)},t.useTransition=function(){return M.current.useTransition()},t.version="18.3.1"},59701(e,t,r){e.exports=r(23204)},23569(e,t,r){e.exports=r(62771)},70860(e,t,r){var n=r(68039),i=r(25229),a=TypeError;e.exports=function(e){if(n(e))return e;throw new a(i(e)+" is not a function")}},90114(e,t,r){var n=r(59811),i=r(25229),a=TypeError;e.exports=function(e){if(n(e))return e;throw new a(i(e)+" is not a constructor")}},30216(e,t,r){var n=r(30643),i=String,a=TypeError;e.exports=function(e){if(n(e))return e;throw new a("Can't set "+i(e)+" as a prototype")}},47234(e,t,r){var n=r(58260).has;e.exports=function(e){return n(e),e}},1643(e,t,r){var n=r(75869),i=r(12326),a=r(33919).f,o=n("unscopables"),s=Array.prototype;void 0===s[o]&&a(s,o,{configurable:!0,value:i(null)}),e.exports=function(e){s[o][e]=!0}},22287(e,t,r){var n=r(68445).charAt;e.exports=function(e,t,r){return t+(r?n(e,t).length:1)}},50473(e,t,r){var n=r(66227),i=TypeError;e.exports=function(e,t){if(n(t,e))return e;throw new i("Incorrect invocation")}},46177(e,t,r){var n=r(48188),i=String,a=TypeError;e.exports=function(e){if(n(e))return e;throw new a(i(e)+" is not an object")}},53869(e){e.exports="u">typeof ArrayBuffer&&"u">typeof DataView},82144(e,t,r){var n=r(6974),i=r(76572),a=r(74026),o=n.ArrayBuffer,s=n.TypeError;e.exports=o&&i(o.prototype,"byteLength","get")||function(e){if("ArrayBuffer"!==a(e))throw new s("ArrayBuffer expected");return e.byteLength}},80408(e,t,r){var n=r(6974),i=r(53869),a=r(82144),o=n.DataView;e.exports=function(e){if(!i||0!==a(e))return!1;try{return new o(e),!1}catch(e){return!0}}},30315(e,t,r){var n=r(80408),i=TypeError;e.exports=function(e){if(n(e))throw new i("ArrayBuffer is detached");return e}},2982(e,t,r){var n=r(6974),i=r(52782),a=r(76572),o=r(26722),s=r(30315),l=r(82144),u=r(47541),c=r(75698),f=n.structuredClone,h=n.ArrayBuffer,d=n.DataView,p=Math.min,g=h.prototype,y=d.prototype,m=i(g.slice),b=a(g,"resizable","get"),w=a(g,"maxByteLength","get"),S=i(y.getInt8),E=i(y.setInt8);e.exports=(c||u)&&function(e,t,r){var n,i=l(e),a=void 0===t?i:o(t),g=!b||!b(e);if(s(e),c&&(e=f(e,{transfer:[e]}),i===a&&(r||g)))return e;if(i>=a&&(!r||g))n=m(e,0,a);else{n=new h(a,r&&!g&&w?{maxByteLength:w(e)}:void 0);for(var y=new d(e),k=new d(n),P=p(a,i),_=0;_<P;_++)E(k,_,S(y,_))}return c||u(e),n}},97882(e,t,r){var n,i,a,o=r(53869),s=r(19058),l=r(6974),u=r(68039),c=r(48188),f=r(76151),h=r(73485),d=r(25229),p=r(80081),g=r(59430),y=r(7108),m=r(66227),b=r(69681),w=r(87261),S=r(75869),E=r(702),k=r(66935),P=k.enforce,_=k.get,x=l.Int8Array,O=x&&x.prototype,C=l.Uint8ClampedArray,R=C&&C.prototype,A=x&&b(x),I=O&&b(O),T=Object.prototype,M=l.TypeError,D=S("toStringTag"),z=E("TYPED_ARRAY_TAG"),j="TypedArrayConstructor",U=o&&!!w&&"Opera"!==h(l.opera),L=!1,N={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},F={BigInt64Array:8,BigUint64Array:8},q=function(e){var t=b(e);if(c(t)){var r=_(t);return r&&f(r,j)?r[j]:q(t)}},W=function(e){if(!c(e))return!1;var t=h(e);return f(N,t)||f(F,t)};for(n in N)(a=(i=l[n])&&i.prototype)?P(a)[j]=i:U=!1;for(n in F)(a=(i=l[n])&&i.prototype)&&(P(a)[j]=i);if((!U||!u(A)||A===Function.prototype)&&(A=function(){throw new M("Incorrect invocation")},U))for(n in N)l[n]&&w(l[n],A);if((!U||!I||I===T)&&(I=A.prototype,U))for(n in N)l[n]&&w(l[n].prototype,I);if(U&&b(R)!==I&&w(R,I),s&&!f(I,D))for(n in L=!0,y(I,D,{configurable:!0,get:function(){return c(this)?this[z]:void 0}}),N)l[n]&&p(l[n],z,n);e.exports={NATIVE_ARRAY_BUFFER_VIEWS:U,TYPED_ARRAY_TAG:L&&z,aTypedArray:function(e){if(W(e))return e;throw new M("Target is not a typed array")},aTypedArrayConstructor:function(e){if(u(e)&&(!w||m(A,e)))return e;throw new M(d(e)+" is not a typed array constructor")},exportTypedArrayMethod:function(e,t,r,n){if(s){if(r)for(var i in N){var a=l[i];if(a&&f(a.prototype,e))try{delete a.prototype[e]}catch(r){try{a.prototype[e]=t}catch(e){}}}(!I[e]||r)&&g(I,e,r?t:U&&O[e]||t,n)}},exportTypedArrayStaticMethod:function(e,t,r){var n,i;if(s){if(w){if(r){for(n in N)if((i=l[n])&&f(i,e))try{delete i[e]}catch(e){}}if(A[e]&&!r)return;try{return g(A,e,r?t:U&&A[e]||t)}catch(e){}}for(n in N)(i=l[n])&&(!i[e]||r)&&g(i,e,t)}},getTypedArrayConstructor:q,isView:function(e){if(!c(e))return!1;var t=h(e);return"DataView"===t||f(N,t)||f(F,t)},isTypedArray:W,TypedArray:A,TypedArrayPrototype:I}},91428(e,t,r){var n=r(6974),i=r(52782),a=r(19058),o=r(53869),s=r(6916),l=r(80081),u=r(7108),c=r(27597),f=r(59293),h=r(50473),d=r(65825),p=r(57864),g=r(26722),y=r(1863),m=r(8484),b=r(69681),w=r(87261),S=r(65083),E=r(34766),k=r(3153),P=r(18770),_=r(32377),x=r(66935),O=s.PROPER,C=s.CONFIGURABLE,R="ArrayBuffer",A="DataView",I="prototype",T="Wrong index",M=x.getterFor(R),D=x.getterFor(A),z=x.set,j=n[R],U=j,L=U&&U[I],N=n[A],F=N&&N[I],q=Object.prototype,W=n.Array,$=n.RangeError,B=i(S),K=i([].reverse),Y=m.pack,V=m.unpack,Q=function(e){return[255&e]},H=function(e){return[255&e,e>>8&255]},G=function(e){return[255&e,e>>8&255,e>>16&255,e>>24&255]},J=function(e){return e[3]<<24|e[2]<<16|e[1]<<8|e[0]},X=function(e){return Y(y(e),23,4)},Z=function(e){return Y(e,52,8)},ee=function(e,t,r){u(e[I],t,{configurable:!0,get:function(){return r(this)[t]}})},et=function(e,t,r,n){var i=D(e),a=g(r);if(a+t>i.byteLength)throw new $(T);var o=i.bytes,s=a+i.byteOffset,l=E(o,s,s+t);return n?l:K(l)},er=function(e,t,r,n,i,a){var o=D(e),s=g(r),l=n(+i),u=!!a;if(s+t>o.byteLength)throw new $(T);for(var c=o.bytes,f=s+o.byteOffset,h=0;h<t;h++)c[f+h]=l[u?h:t-h-1]};if(o){var en=O&&j.name!==R;!f(function(){j(1)})||!f(function(){new j(-1)})||f(function(){return new j,new j(1.5),new j(NaN),1!==j.length||en&&!C})?((U=function(e){return h(this,L),k(new j(g(e)),this,U)})[I]=L,L.constructor=U,P(U,j)):en&&C&&l(j,"name",R),w&&b(F)!==q&&w(F,q);var ei=new N(new U(2)),ea=i(F.setInt8);ei.setInt8(0,0x80000000),ei.setInt8(1,0x80000001),(ei.getInt8(0)||!ei.getInt8(1))&&c(F,{setInt8:function(e,t){ea(this,e,t<<24>>24)},setUint8:function(e,t){ea(this,e,t<<24>>24)}},{unsafe:!0})}else L=(U=function(e){h(this,L);var t=g(e);z(this,{type:R,bytes:B(W(t),0),byteLength:t}),a||(this.byteLength=t,this.detached=!1)})[I],F=(N=function(e,t,r){h(this,F),h(e,L);var n=M(e),i=n.byteLength,o=d(t);if(o<0||o>i)throw new $("Wrong offset");if(r=void 0===r?i-o:p(r),o+r>i)throw new $("Wrong length");z(this,{type:A,buffer:e,byteLength:r,byteOffset:o,bytes:n.bytes}),a||(this.buffer=e,this.byteLength=r,this.byteOffset=o)})[I],a&&(ee(U,"byteLength",M),ee(N,"buffer",D),ee(N,"byteLength",D),ee(N,"byteOffset",D)),c(F,{getInt8:function(e){return et(this,1,e)[0]<<24>>24},getUint8:function(e){return et(this,1,e)[0]},getInt16:function(e){var t=et(this,2,e,arguments.length>1&&arguments[1]);return(t[1]<<8|t[0])<<16>>16},getUint16:function(e){var t=et(this,2,e,arguments.length>1&&arguments[1]);return t[1]<<8|t[0]},getInt32:function(e){return J(et(this,4,e,arguments.length>1&&arguments[1]))},getUint32:function(e){return J(et(this,4,e,arguments.length>1&&arguments[1]))>>>0},getFloat32:function(e){return V(et(this,4,e,arguments.length>1&&arguments[1]),23)},getFloat64:function(e){return V(et(this,8,e,arguments.length>1&&arguments[1]),52)},setInt8:function(e,t){er(this,1,e,Q,t)},setUint8:function(e,t){er(this,1,e,Q,t)},setInt16:function(e,t){er(this,2,e,H,t,arguments.length>2&&arguments[2])},setUint16:function(e,t){er(this,2,e,H,t,arguments.length>2&&arguments[2])},setInt32:function(e,t){er(this,4,e,G,t,arguments.length>2&&arguments[2])},setUint32:function(e,t){er(this,4,e,G,t,arguments.length>2&&arguments[2])},setFloat32:function(e,t){er(this,4,e,X,t,arguments.length>2&&arguments[2])},setFloat64:function(e,t){er(this,8,e,Z,t,arguments.length>2&&arguments[2])}});_(U,R),_(N,A),e.exports={ArrayBuffer:U,DataView:N}},65083(e,t,r){var n=r(72095),i=r(3108),a=r(92956);e.exports=function(e){for(var t=n(this),r=a(t),o=arguments.length,s=i(o>1?arguments[1]:void 0,r),l=o>2?arguments[2]:void 0,u=void 0===l?r:i(l,r);u>s;)t[s++]=e;return t}},11372(e,t,r){var n=r(92956);e.exports=function(e,t,r){for(var i=0,a=arguments.length>2?r:n(t),o=new e(a);a>i;)o[i]=t[i++];return o}},77930(e,t,r){var n=r(92254),i=r(33179),a=r(72095),o=r(75017),s=r(64623),l=r(59811),u=r(92956),c=r(84634),f=r(56563),h=r(18301),d=Array;e.exports=function(e){var t,r,p,g,y,m,b=a(e),w=l(this),S=arguments.length,E=S>1?arguments[1]:void 0,k=void 0!==E;k&&(E=n(E,S>2?arguments[2]:void 0));var P=h(b),_=0;if(P&&!(this===d&&s(P)))for(r=w?new this:[],y=(g=f(b,P)).next;!(p=i(y,g)).done;_++)m=k?o(g,E,[p.value,_],!0):p.value,c(r,_,m);else for(t=u(b),r=w?new this(t):d(t);t>_;_++)m=k?E(b[_],_):b[_],c(r,_,m);return r.length=_,r}},25383(e,t,r){var n=r(41555),i=r(3108),a=r(92956),o=function(e){return function(t,r,o){var s,l=n(t),u=a(l);if(0===u)return!e&&-1;var c=i(o,u);if(e&&r!=r){for(;u>c;)if((s=l[c++])!=s)return!0}else for(;u>c;c++)if((e||c in l)&&l[c]===r)return e||c||0;return!e&&-1}};e.exports={includes:o(!0),indexOf:o(!1)}},61857(e,t,r){var n=r(92254),i=r(14461),a=r(72095),o=r(92956),s=function(e){var t=1===e;return function(r,s,l){for(var u,c=a(r),f=i(c),h=o(f),d=n(s,l);h-- >0;)if(d(u=f[h],h,c))switch(e){case 0:return u;case 1:return h}return t?-1:void 0}};e.exports={findLast:s(0),findLastIndex:s(1)}},23831(e,t,r){var n=r(92254),i=r(52782),a=r(14461),o=r(72095),s=r(92956),l=r(971),u=i([].push),c=function(e){var t=1===e,r=2===e,i=3===e,c=4===e,f=6===e,h=7===e,d=5===e||f;return function(p,g,y,m){for(var b,w,S=o(p),E=a(S),k=s(E),P=n(g,y),_=0,x=m||l,O=t?x(p,k):r||h?x(p,0):void 0;k>_;_++)if((d||_ in E)&&(w=P(b=E[_],_,S),e))if(t)O[_]=w;else if(w)switch(e){case 3:return!0;case 5:return b;case 6:return _;case 2:u(O,b)}else switch(e){case 4:return!1;case 7:u(O,b)}return f?-1:i||c?c:O}};e.exports={forEach:c(0),map:c(1),filter:c(2),some:c(3),every:c(4),find:c(5),findIndex:c(6),filterReject:c(7)}},32604(e,t,r){var n=r(59293);e.exports=function(e,t){var r=[][e];return!!r&&n(function(){r.call(null,t||function(){return 1},1)})}},40184(e,t,r){var n=r(70860),i=r(72095),a=r(14461),o=r(92956),s=TypeError,l="Reduce of empty array with no initial value",u=function(e){return function(t,r,u,c){var f=i(t),h=a(f),d=o(f);if(n(r),0===d&&u<2)throw new s(l);var p=e?d-1:0,g=e?-1:1;if(u<2)for(;;){if(p in h){c=h[p],p+=g;break}if(p+=g,e?p<0:d<=p)throw new s(l)}for(;e?p>=0:d>p;p+=g)p in h&&(c=r(c,h[p],p,f));return c}};e.exports={left:u(!1),right:u(!0)}},27021(e,t,r){var n=r(19058),i=r(57958),a=TypeError,o=Object.getOwnPropertyDescriptor;e.exports=n&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(e){return e instanceof TypeError}}()?function(e,t){if(i(e)&&!o(e,"length").writable)throw new a("Cannot set read only .length");return e.length=t}:function(e,t){return e.length=t}},34766(e,t,r){e.exports=r(52782)([].slice)},31534(e,t,r){var n=r(34766),i=Math.floor,a=function(e,t){var r=e.length;if(r<8)for(var o,s,l=1;l<r;){for(s=l,o=e[l];s&&t(e[s-1],o)>0;)e[s]=e[--s];s!==l++&&(e[s]=o)}else for(var u=i(r/2),c=a(n(e,0,u),t),f=a(n(e,u),t),h=c.length,d=f.length,p=0,g=0;p<h||g<d;)e[p+g]=p<h&&g<d?0>=t(c[p],f[g])?c[p++]:f[g++]:p<h?c[p++]:f[g++];return e};e.exports=a},45051(e,t,r){var n=r(57958),i=r(59811),a=r(48188),o=r(75869)("species"),s=Array;e.exports=function(e){var t;return n(e)&&(i(t=e.constructor)&&(t===s||n(t.prototype))?t=void 0:a(t)&&null===(t=t[o])&&(t=void 0)),void 0===t?s:t}},971(e,t,r){var n=r(45051);e.exports=function(e,t){return new(n(e))(0===t?0:t)}},4062(e,t,r){var n=r(92956);e.exports=function(e,t){for(var r=n(e),i=new t(r),a=0;a<r;a++)i[a]=e[r-a-1];return i}},49718(e,t,r){var n=r(92956),i=r(65825),a=RangeError;e.exports=function(e,t,r,o){var s=n(e),l=i(r),u=l<0?s+l:l;if(u>=s||u<0)throw new a("Incorrect index");for(var c=new t(s),f=0;f<s;f++)c[f]=f===u?o:e[f];return c}},75017(e,t,r){var n=r(46177),i=r(55053);e.exports=function(e,t,r,a){try{return a?t(n(r)[0],r[1]):t(r)}catch(t){i(e,"throw",t)}}},30366(e,t,r){var n=r(75869)("iterator"),i=!1;try{var a=0,o={next:function(){return{done:!!a++}},return:function(){i=!0}};o[n]=function(){return this},Array.from(o,function(){throw 2})}catch(e){}e.exports=function(e,t){try{if(!t&&!i)return!1}catch(e){return!1}var r=!1;try{var a={};a[n]=function(){return{next:function(){return{done:r=!0}}}},e(a)}catch(e){}return r}},74026(e,t,r){var n=r(52782),i=n({}.toString),a=n("".slice);e.exports=function(e){return a(i(e),8,-1)}},73485(e,t,r){var n=r(23886),i=r(68039),a=r(74026),o=r(75869)("toStringTag"),s=Object,l="Arguments"===a(function(){return arguments}()),u=function(e,t){try{return e[t]}catch(e){}};e.exports=n?a:function(e){var t,r,n;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(r=u(t=s(e),o))?r:l?a(t):"Object"===(n=a(t))&&i(t.callee)?"Arguments":n}},18770(e,t,r){var n=r(76151),i=r(73517),a=r(43069),o=r(33919);e.exports=function(e,t,r){for(var s=i(t),l=o.f,u=a.f,c=0;c<s.length;c++){var f=s[c];n(e,f)||r&&n(r,f)||l(e,f,u(t,f))}}},1109(e,t,r){e.exports=!r(59293)(function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype})},46827(e){e.exports=function(e,t){return{value:e,done:t}}},80081(e,t,r){var n=r(19058),i=r(33919),a=r(56582);e.exports=n?function(e,t,r){return i.f(e,t,a(1,r))}:function(e,t,r){return e[t]=r,e}},56582(e){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},84634(e,t,r){var n=r(19058),i=r(33919),a=r(56582);e.exports=function(e,t,r){n?i.f(e,t,a(0,r)):e[t]=r}},7108(e,t,r){var n=r(72461),i=r(33919);e.exports=function(e,t,r){return r.get&&n(r.get,t,{getter:!0}),r.set&&n(r.set,t,{setter:!0}),i.f(e,t,r)}},59430(e,t,r){var n=r(68039),i=r(33919),a=r(72461),o=r(75963);e.exports=function(e,t,r,s){s||(s={});var l=s.enumerable,u=void 0!==s.name?s.name:t;if(n(r)&&a(r,u,s),s.global)l?e[t]=r:o(t,r);else{try{s.unsafe?e[t]&&(l=!0):delete e[t]}catch(e){}l?e[t]=r:i.f(e,t,{value:r,enumerable:!1,configurable:!s.nonConfigurable,writable:!s.nonWritable})}return e}},27597(e,t,r){var n=r(59430);e.exports=function(e,t,r){for(var i in t)n(e,i,t[i],r);return e}},75963(e,t,r){var n=r(6974),i=Object.defineProperty;e.exports=function(e,t){try{i(n,e,{value:t,configurable:!0,writable:!0})}catch(r){n[e]=t}return t}},19058(e,t,r){e.exports=!r(59293)(function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]})},47541(e,t,r){var n,i,a,o,s=r(6974),l=r(55423),u=r(75698),c=s.structuredClone,f=s.ArrayBuffer,h=s.MessageChannel,d=!1;if(u)d=function(e){c(e,{transfer:[e]})};else if(f)try{!h&&(n=l("worker_threads"))&&(h=n.MessageChannel),h&&(i=new h,a=new f(2),o=function(e){i.port1.postMessage(null,[e])},2===a.byteLength&&(o(a),0===a.byteLength&&(d=o)))}catch(e){}e.exports=d},95637(e,t,r){var n=r(6974),i=r(48188),a=n.document,o=i(a)&&i(a.createElement);e.exports=function(e){return o?a.createElement(e):{}}},61959(e){var t=TypeError;e.exports=function(e){if(e>0x1fffffffffffff)throw t("Maximum allowed index exceeded");return e}},94864(e){e.exports={IndexSizeError:{s:"INDEX_SIZE_ERR",c:1,m:1},DOMStringSizeError:{s:"DOMSTRING_SIZE_ERR",c:2,m:0},HierarchyRequestError:{s:"HIERARCHY_REQUEST_ERR",c:3,m:1},WrongDocumentError:{s:"WRONG_DOCUMENT_ERR",c:4,m:1},InvalidCharacterError:{s:"INVALID_CHARACTER_ERR",c:5,m:1},NoDataAllowedError:{s:"NO_DATA_ALLOWED_ERR",c:6,m:0},NoModificationAllowedError:{s:"NO_MODIFICATION_ALLOWED_ERR",c:7,m:1},NotFoundError:{s:"NOT_FOUND_ERR",c:8,m:1},NotSupportedError:{s:"NOT_SUPPORTED_ERR",c:9,m:1},InUseAttributeError:{s:"INUSE_ATTRIBUTE_ERR",c:10,m:1},InvalidStateError:{s:"INVALID_STATE_ERR",c:11,m:1},SyntaxError:{s:"SYNTAX_ERR",c:12,m:1},InvalidModificationError:{s:"INVALID_MODIFICATION_ERR",c:13,m:1},NamespaceError:{s:"NAMESPACE_ERR",c:14,m:1},InvalidAccessError:{s:"INVALID_ACCESS_ERR",c:15,m:1},ValidationError:{s:"VALIDATION_ERR",c:16,m:0},TypeMismatchError:{s:"TYPE_MISMATCH_ERR",c:17,m:1},SecurityError:{s:"SECURITY_ERR",c:18,m:1},NetworkError:{s:"NETWORK_ERR",c:19,m:1},AbortError:{s:"ABORT_ERR",c:20,m:1},URLMismatchError:{s:"URL_MISMATCH_ERR",c:21,m:1},QuotaExceededError:{s:"QUOTA_EXCEEDED_ERR",c:22,m:1},TimeoutError:{s:"TIMEOUT_ERR",c:23,m:1},InvalidNodeTypeError:{s:"INVALID_NODE_TYPE_ERR",c:24,m:1},DataCloneError:{s:"DATA_CLONE_ERR",c:25,m:1}}},71806(e){e.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},84098(e,t,r){var n=r(95637)("span").classList,i=n&&n.constructor&&n.constructor.prototype;e.exports=i===Object.prototype?void 0:i},65985(e){e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},21203(e,t,r){var n=r(34857).match(/firefox\/(\d+)/i);e.exports=!!n&&+n[1]},13777(e,t,r){var n=r(34857);e.exports=/MSIE|Trident/.test(n)},65587(e,t,r){var n=r(34857);e.exports=/ipad|iphone|ipod/i.test(n)&&"u">typeof Pebble},77502(e,t,r){var n=r(34857);e.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(n)},15523(e,t,r){e.exports="NODE"===r(70229)},68338(e,t,r){var n=r(34857);e.exports=/web0s(?!.*chrome)/i.test(n)},34857(e,t,r){var n=r(6974).navigator,i=n&&n.userAgent;e.exports=i?String(i):""},76153(e,t,r){var n,i,a=r(6974),o=r(34857),s=a.process,l=a.Deno,u=s&&s.versions||l&&l.version,c=u&&u.v8;c&&(i=(n=c.split("."))[0]>0&&n[0]<4?1:+(n[0]+n[1])),!i&&o&&(!(n=o.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=o.match(/Chrome\/(\d+)/))&&(i=+n[1]),e.exports=i},62729(e,t,r){var n=r(34857).match(/AppleWebKit\/(\d+)\./);e.exports=!!n&&+n[1]},70229(e,t,r){var n=r(6974),i=r(34857),a=r(74026),o=function(e){return i.slice(0,e.length)===e};e.exports=o("Bun/")?"BUN":o("Cloudflare-Workers")?"CLOUDFLARE":o("Deno/")?"DENO":o("Node.js/")?"NODE":n.Bun&&"string"==typeof Bun.version?"BUN":n.Deno&&"object"==typeof Deno.version?"DENO":"process"===a(n.process)?"NODE":n.window&&n.document?"BROWSER":"REST"},50747(e,t,r){var n=r(52782),i=Error,a=n("".replace),o=String(new i("zxcasd").stack),s=/\n\s*at [^:]*:[^\n]*/,l=s.test(o);e.exports=function(e,t){if(l&&"string"==typeof e&&!i.prepareStackTrace)for(;t--;)e=a(e,s,"");return e}},87245(e,t,r){var n=r(80081),i=r(50747),a=r(96041),o=Error.captureStackTrace;e.exports=function(e,t,r,s){a&&(o?o(e,t):n(e,"stack",i(r,s)))}},96041(e,t,r){var n=r(59293),i=r(56582);e.exports=!n(function(){var e=Error("a");return!("stack"in e)||(Object.defineProperty(e,"stack",i(1,7)),7!==e.stack)})},64808(e,t,r){var n=r(6974),i=r(43069).f,a=r(80081),o=r(59430),s=r(75963),l=r(18770),u=r(76518);e.exports=function(e,t){var r,c,f,h,d,p=e.target,g=e.global,y=e.stat;if(r=g?n:y?n[p]||s(p,{}):n[p]&&n[p].prototype)for(c in t){if(h=t[c],f=e.dontCallGetSet?(d=i(r,c))&&d.value:r[c],!u(g?c:p+(y?".":"#")+c,e.forced)&&void 0!==f){if(typeof h==typeof f)continue;l(h,f)}(e.sham||f&&f.sham)&&a(h,"sham",!0),o(r,c,h,e)}}},59293(e){e.exports=function(e){try{return!!e()}catch(e){return!0}}},41298(e,t,r){r(85281);var n=r(33179),i=r(59430),a=r(66565),o=r(59293),s=r(75869),l=r(80081),u=s("species"),c=RegExp.prototype;e.exports=function(e,t,r,f){var h=s(e),d=!o(function(){var t={};return t[h]=function(){return 7},7!==""[e](t)}),p=d&&!o(function(){var t=!1,r=/a/;if("split"===e){var n={};n[u]=function(){return r},(r={constructor:n,flags:""})[h]=/./[h]}return r.exec=function(){return t=!0,null},r[h](""),!t});if(!d||!p||r){var g=/./[h],y=t(h,""[e],function(e,t,r,i,o){var s=t.exec;return s===a||s===c.exec?d&&!o?{done:!0,value:n(g,t,r,i)}:{done:!0,value:n(e,r,t,i)}:{done:!1}});i(String.prototype,e,y[0]),i(c,h,y[1])}f&&l(c[h],"sham",!0)}},16263(e,t,r){var n=r(27470),i=Function.prototype,a=i.apply,o=i.call;e.exports="object"==typeof Reflect&&Reflect.apply||(n?o.bind(a):function(){return o.apply(a,arguments)})},92254(e,t,r){var n=r(3350),i=r(70860),a=r(27470),o=n(n.bind);e.exports=function(e,t){return i(e),void 0===t?e:a?o(e,t):function(){return e.apply(t,arguments)}}},27470(e,t,r){e.exports=!r(59293)(function(){var e=(function(){}).bind();return"function"!=typeof e||e.hasOwnProperty("prototype")})},33179(e,t,r){var n=r(27470),i=Function.prototype.call;e.exports=n?i.bind(i):function(){return i.apply(i,arguments)}},6916(e,t,r){var n=r(19058),i=r(76151),a=Function.prototype,o=n&&Object.getOwnPropertyDescriptor,s=i(a,"name"),l=s&&(!n||n&&o(a,"name").configurable);e.exports={EXISTS:s,PROPER:s&&"something"===(function(){}).name,CONFIGURABLE:l}},76572(e,t,r){var n=r(52782),i=r(70860);e.exports=function(e,t,r){try{return n(i(Object.getOwnPropertyDescriptor(e,t)[r]))}catch(e){}}},3350(e,t,r){var n=r(74026),i=r(52782);e.exports=function(e){if("Function"===n(e))return i(e)}},52782(e,t,r){var n=r(27470),i=Function.prototype,a=i.call,o=n&&i.bind.bind(a,a);e.exports=n?o:function(e){return function(){return a.apply(e,arguments)}}},55423(e,t,r){var n=r(6974),i=r(15523);e.exports=function(e){if(i){try{return n.process.getBuiltinModule(e)}catch(e){}try{return Function('return require("'+e+'")')()}catch(e){}}}},72485(e,t,r){var n=r(6974),i=r(68039);e.exports=function(e,t){var r;return arguments.length<2?i(r=n[e])?r:void 0:n[e]&&n[e][t]}},86845(e){e.exports=function(e){return{iterator:e,next:e.next,done:!1}}},18301(e,t,r){var n=r(73485),i=r(25112),a=r(3563),o=r(49227),s=r(75869)("iterator");e.exports=function(e){if(!a(e))return i(e,s)||i(e,"@@iterator")||o[n(e)]}},56563(e,t,r){var n=r(33179),i=r(70860),a=r(46177),o=r(25229),s=r(18301),l=TypeError;e.exports=function(e,t){var r=arguments.length<2?s(e):t;if(i(r))return a(n(r,e));throw new l(o(e)+" is not iterable")}},25112(e,t,r){var n=r(70860),i=r(3563);e.exports=function(e,t){var r=e[t];return i(r)?void 0:n(r)}},65447(e,t,r){var n=r(70860),i=r(46177),a=r(33179),o=r(65825),s=r(86845),l="Invalid size",u=RangeError,c=TypeError,f=Math.max,h=function(e,t){this.set=e,this.size=f(t,0),this.has=n(e.has),this.keys=n(e.keys)};h.prototype={getIterator:function(){return s(i(a(this.keys,this.set)))},includes:function(e){return a(this.has,this.set,e)}},e.exports=function(e){i(e);var t=+e.size;if(t!=t)throw new c(l);var r=o(t);if(r<0)throw new u(l);return new h(e,r)}},67256(e,t,r){var n=r(52782),i=r(72095),a=Math.floor,o=n("".charAt),s=n("".replace),l=n("".slice),u=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,c=/\$([$&'`]|\d{1,2})/g;e.exports=function(e,t,r,n,f,h){var d=r+e.length,p=n.length,g=c;return void 0!==f&&(f=i(f),g=u),s(h,g,function(i,s){var u;switch(o(s,0)){case"$":return"$";case"&":return e;case"`":return l(t,0,r);case"'":return l(t,d);case"<":u=f[l(s,1,-1)];break;default:var c=+s;if(0===c)return i;if(c>p){var h=a(c/10);if(0===h)return i;if(h<=p)return void 0===n[h-1]?o(s,1):n[h-1]+o(s,1);return i}u=n[c-1]}return void 0===u?"":u})}},6974(e,t,r){var n=function(e){return e&&e.Math===Math&&e};e.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof r.g&&r.g)||n("object"==typeof this&&this)||function(){return this}()||Function("return this")()},76151(e,t,r){var n=r(52782),i=r(72095),a=n({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return a(i(e),t)}},30903(e){e.exports={}},69823(e){e.exports=function(e,t){try{1==arguments.length?console.error(e):console.error(e,t)}catch(e){}}},39247(e,t,r){e.exports=r(72485)("document","documentElement")},60299(e,t,r){var n=r(19058),i=r(59293),a=r(95637);e.exports=!n&&!i(function(){return 7!==Object.defineProperty(a("div"),"a",{get:function(){return 7}}).a})},8484(e){var t=Array,r=Math.abs,n=Math.pow,i=Math.floor,a=Math.log,o=Math.LN2;e.exports={pack:function(e,s,l){var u,c,f,h=t(l),d=8*l-s-1,p=(1<<d)-1,g=p>>1,y=23===s?n(2,-24)-n(2,-77):0,m=+(e<0||0===e&&1/e<0),b=0;for((e=r(e))!=e||e===1/0?(c=+(e!=e),u=p):(f=n(2,-(u=i(a(e)/o))),e*f<1&&(u--,f*=2),u+g>=1?e+=y/f:e+=y*n(2,1-g),e*f>=2&&(u++,f/=2),u+g>=p?(c=0,u=p):u+g>=1?(c=(e*f-1)*n(2,s),u+=g):(c=e*n(2,g-1)*n(2,s),u=0));s>=8;)h[b++]=255&c,c/=256,s-=8;for(u=u<<s|c,d+=s;d>0;)h[b++]=255&u,u/=256,d-=8;return h[b-1]|=128*m,h},unpack:function(e,t){var r,i=e.length,a=8*i-t-1,o=(1<<a)-1,s=o>>1,l=a-7,u=i-1,c=e[u--],f=127&c;for(c>>=7;l>0;)f=256*f+e[u--],l-=8;for(r=f&(1<<-l)-1,f>>=-l,l+=t;l>0;)r=256*r+e[u--],l-=8;if(0===f)f=1-s;else{if(f===o)return r?NaN:c?-1/0:1/0;r+=n(2,t),f-=s}return(c?-1:1)*r*n(2,f-t)}}},14461(e,t,r){var n=r(52782),i=r(59293),a=r(74026),o=Object,s=n("".split);e.exports=i(function(){return!o("z").propertyIsEnumerable(0)})?function(e){return"String"===a(e)?s(e,""):o(e)}:o},3153(e,t,r){var n=r(68039),i=r(48188),a=r(87261);e.exports=function(e,t,r){var o,s;return a&&n(o=t.constructor)&&o!==r&&i(s=o.prototype)&&s!==r.prototype&&a(e,s),e}},49576(e,t,r){var n=r(52782),i=r(68039),a=r(66851),o=n(Function.toString);i(a.inspectSource)||(a.inspectSource=function(e){return o(e)}),e.exports=a.inspectSource},35910(e,t,r){var n=r(48188),i=r(80081);e.exports=function(e,t){n(t)&&"cause"in t&&i(e,"cause",t.cause)}},66935(e,t,r){var n,i,a,o=r(24232),s=r(6974),l=r(48188),u=r(80081),c=r(76151),f=r(66851),h=r(16845),d=r(30903),p="Object already initialized",g=s.TypeError,y=s.WeakMap;if(o||f.state){var m=f.state||(f.state=new y);m.get=m.get,m.has=m.has,m.set=m.set,n=function(e,t){if(m.has(e))throw new g(p);return t.facade=e,m.set(e,t),t},i=function(e){return m.get(e)||{}},a=function(e){return m.has(e)}}else{var b=h("state");d[b]=!0,n=function(e,t){if(c(e,b))throw new g(p);return t.facade=e,u(e,b,t),t},i=function(e){return c(e,b)?e[b]:{}},a=function(e){return c(e,b)}}e.exports={set:n,get:i,has:a,enforce:function(e){return a(e)?i(e):n(e,{})},getterFor:function(e){return function(t){var r;if(!l(t)||(r=i(t)).type!==e)throw new g("Incompatible receiver, "+e+" required");return r}}}},64623(e,t,r){var n=r(75869),i=r(49227),a=n("iterator"),o=Array.prototype;e.exports=function(e){return void 0!==e&&(i.Array===e||o[a]===e)}},57958(e,t,r){var n=r(74026);e.exports=Array.isArray||function(e){return"Array"===n(e)}},63633(e,t,r){var n=r(73485);e.exports=function(e){var t=n(e);return"BigInt64Array"===t||"BigUint64Array"===t}},68039(e){var t="object"==typeof document&&document.all;e.exports=void 0===t&&void 0!==t?function(e){return"function"==typeof e||e===t}:function(e){return"function"==typeof e}},59811(e,t,r){var n=r(52782),i=r(59293),a=r(68039),o=r(73485),s=r(72485),l=r(49576),u=function(){},c=s("Reflect","construct"),f=/^\s*(?:class|function)\b/,h=n(f.exec),d=!f.test(u),p=function(e){if(!a(e))return!1;try{return c(u,[],e),!0}catch(e){return!1}},g=function(e){if(!a(e))return!1;switch(o(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return d||!!h(f,l(e))}catch(e){return!0}};g.sham=!0,e.exports=!c||i(function(){var e;return p(p.call)||!p(Object)||!p(function(){e=!0})||e})?g:p},76518(e,t,r){var n=r(59293),i=r(68039),a=/#|\.prototype\./,o=function(e,t){var r=l[s(e)];return r===c||r!==u&&(i(t)?n(t):!!t)},s=o.normalize=function(e){return String(e).replace(a,".").toLowerCase()},l=o.data={},u=o.NATIVE="N",c=o.POLYFILL="P";e.exports=o},1037(e,t,r){var n=r(48188),i=Math.floor;e.exports=Number.isInteger||function(e){return!n(e)&&isFinite(e)&&i(e)===e}},3563(e){e.exports=function(e){return null==e}},48188(e,t,r){var n=r(68039);e.exports=function(e){return"object"==typeof e?null!==e:n(e)}},30643(e,t,r){var n=r(48188);e.exports=function(e){return n(e)||null===e}},81201(e){e.exports=!1},97494(e,t,r){var n=r(48188),i=r(74026),a=r(75869)("match");e.exports=function(e){var t;return n(e)&&(void 0!==(t=e[a])?!!t:"RegExp"===i(e))}},12131(e,t,r){var n=r(72485),i=r(68039),a=r(66227),o=r(95058),s=Object;e.exports=o?function(e){return"symbol"==typeof e}:function(e){var t=n("Symbol");return i(t)&&a(t.prototype,s(e))}},81885(e,t,r){var n=r(33179);e.exports=function(e,t,r){for(var i,a,o=r?e:e.iterator,s=e.next;!(i=n(s,o)).done;)if(void 0!==(a=t(i.value)))return a}},82150(e,t,r){var n=r(92254),i=r(33179),a=r(46177),o=r(25229),s=r(64623),l=r(92956),u=r(66227),c=r(56563),f=r(18301),h=r(55053),d=TypeError,p=function(e,t){this.stopped=e,this.result=t},g=p.prototype;e.exports=function(e,t,r){var y,m,b,w,S,E,k,P=r&&r.that,_=!!(r&&r.AS_ENTRIES),x=!!(r&&r.IS_RECORD),O=!!(r&&r.IS_ITERATOR),C=!!(r&&r.INTERRUPTED),R=n(t,P),A=function(e){return y&&h(y,"normal"),new p(!0,e)},I=function(e){return _?(a(e),C?R(e[0],e[1],A):R(e[0],e[1])):C?R(e,A):R(e)};if(x)y=e.iterator;else if(O)y=e;else{if(!(m=f(e)))throw new d(o(e)+" is not iterable");if(s(m)){for(b=0,w=l(e);w>b;b++)if((S=I(e[b]))&&u(g,S))return S;return new p(!1)}y=c(e,m)}for(E=x?e.next:y.next;!(k=i(E,y)).done;){try{S=I(k.value)}catch(e){h(y,"throw",e)}if("object"==typeof S&&S&&u(g,S))return S}return new p(!1)}},83795(e,t,r){var n=r(55053);e.exports=function(e,t,r){for(var i=e.length-1;i>=0;i--)if(void 0!==e[i])try{r=n(e[i].iterator,t,r)}catch(e){t="throw",r=e}if("throw"===t)throw r;return r}},55053(e,t,r){var n=r(33179),i=r(46177),a=r(25112);e.exports=function(e,t,r){var o,s;i(e);try{if(!(o=a(e,"return"))){if("throw"===t)throw r;return r}o=n(o,e)}catch(e){s=!0,o=e}if("throw"===t)throw r;if(s)throw o;return i(o),r}},40652(e,t,r){var n=r(66479).IteratorPrototype,i=r(12326),a=r(56582),o=r(32377),s=r(49227),l=function(){return this};e.exports=function(e,t,r,u){var c=t+" Iterator";return e.prototype=i(n,{next:a(+!u,r)}),o(e,c,!1,!0),s[c]=l,e}},21352(e,t,r){var n=r(33179),i=r(12326),a=r(80081),o=r(27597),s=r(75869),l=r(66935),u=r(25112),c=r(66479).IteratorPrototype,f=r(46827),h=r(55053),d=r(83795),p=s("toStringTag"),g="IteratorHelper",y="WrapForValidIterator",m="normal",b="throw",w=l.set,S=function(e){var t=l.getterFor(e?y:g);return o(i(c),{next:function(){var r=t(this);if(e)return r.nextHandler();if(r.done)return f(void 0,!0);try{var n=r.nextHandler();return r.returnHandlerResult?n:f(n,r.done)}catch(e){throw r.done=!0,e}},return:function(){var r=t(this),i=r.iterator;if(r.done=!0,e){var a=u(i,"return");return a?n(a,i):f(void 0,!0)}if(r.inner)try{h(r.inner.iterator,m)}catch(e){return h(i,b,e)}if(r.openIters)try{d(r.openIters,m)}catch(e){return h(i,b,e)}return i&&h(i,m),f(void 0,!0)}})},E=S(!0),k=S(!1);a(k,p,"Iterator Helper"),e.exports=function(e,t,r){var n=function(n,i){i?(i.iterator=n.iterator,i.next=n.next):i=n,i.type=t?y:g,i.returnHandlerResult=!!r,i.nextHandler=e,i.counter=0,i.done=!1,w(this,i)};return n.prototype=t?E:k,n}},52274(e,t,r){var n=r(64808),i=r(33179),a=r(81201),o=r(6916),s=r(68039),l=r(40652),u=r(69681),c=r(87261),f=r(32377),h=r(80081),d=r(59430),p=r(75869),g=r(49227),y=r(66479),m=o.PROPER,b=o.CONFIGURABLE,w=y.IteratorPrototype,S=y.BUGGY_SAFARI_ITERATORS,E=p("iterator"),k="keys",P="values",_="entries",x=function(){return this};e.exports=function(e,t,r,o,p,y,O){l(r,t,o);var C,R,A,I=function(e){if(e===p&&j)return j;if(!S&&e&&e in D)return D[e];switch(e){case k:case P:case _:return function(){return new r(this,e)}}return function(){return new r(this)}},T=t+" Iterator",M=!1,D=e.prototype,z=D[E]||D["@@iterator"]||p&&D[p],j=!S&&z||I(p),U="Array"===t&&D.entries||z;if(U&&(C=u(U.call(new e)))!==Object.prototype&&C.next&&(!a&&u(C)!==w&&(c?c(C,w):s(C[E])||d(C,E,x)),f(C,T,!0,!0),a&&(g[T]=x)),m&&p===P&&z&&z.name!==P&&(!a&&b?h(D,"name",P):(M=!0,j=function(){return i(z,this)})),p)if(R={values:I(P),keys:y?j:I(k),entries:I(_)},O)for(A in R)!S&&!M&&A in D||d(D,A,R[A]);else n({target:t,proto:!0,forced:S||M},R);return(!a||O)&&D[E]!==j&&d(D,E,j,{name:p}),g[t]=j,R}},65682(e){e.exports=function(e,t){var r="function"==typeof Iterator&&Iterator.prototype[e];if(r)try{r.call({next:null},t).next()}catch(e){return!0}}},6655(e,t,r){var n=r(6974);e.exports=function(e,t){var r=n.Iterator,i=r&&r.prototype,a=i&&i[e],o=!1;if(a)try{a.call({next:function(){return{done:!0}},return:function(){o=!0}},-1)}catch(e){e instanceof t||(o=!1)}if(!o)return a}},66479(e,t,r){var n,i,a,o=r(59293),s=r(68039),l=r(48188),u=r(12326),c=r(69681),f=r(59430),h=r(75869),d=r(81201),p=h("iterator"),g=!1;[].keys&&("next"in(a=[].keys())?(i=c(c(a)))!==Object.prototype&&(n=i):g=!0),!l(n)||o(function(){var e={};return n[p].call(e)!==e})?n={}:d&&(n=u(n)),s(n[p])||f(n,p,function(){return this}),e.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:g}},49227(e){e.exports={}},92956(e,t,r){var n=r(57864);e.exports=function(e){return n(e.length)}},72461(e,t,r){var n=r(52782),i=r(59293),a=r(68039),o=r(76151),s=r(19058),l=r(6916).CONFIGURABLE,u=r(49576),c=r(66935),f=c.enforce,h=c.get,d=String,p=Object.defineProperty,g=n("".slice),y=n("".replace),m=n([].join),b=s&&!i(function(){return 8!==p(function(){},"length",{value:8}).length}),w=String(String).split("String"),S=e.exports=function(e,t,r){"Symbol("===g(d(t),0,7)&&(t="["+y(d(t),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),r&&r.getter&&(t="get "+t),r&&r.setter&&(t="set "+t),(!o(e,"name")||l&&e.name!==t)&&(s?p(e,"name",{value:t,configurable:!0}):e.name=t),b&&r&&o(r,"arity")&&e.length!==r.arity&&p(e,"length",{value:r.arity});try{r&&o(r,"constructor")&&r.constructor?s&&p(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(e){}var n=f(e);return o(n,"source")||(n.source=m(w,"string"==typeof t?t:"")),e};Function.prototype.toString=S(function(){return a(this)&&h(this).source||u(this)},"toString")},75834(e,t,r){var n=r(61632),i=r(54356),a=Math.abs;e.exports=function(e,t,r,o){var s=+e,l=a(s),u=n(s);if(l<o)return u*i(l/o/t)*o*t;var c=(1+t/2220446049250313e-31)*l,f=c-(c-l);return f>r||f!=f?1/0*u:u*f}},1863(e,t,r){var n=r(75834);e.exports=Math.fround||function(e){return n(e,11920928955078125e-23,34028234663852886e22,11754943508222875e-54)}},54356(e){e.exports=function(e){return e+0x10000000000000-0x10000000000000}},61632(e){e.exports=Math.sign||function(e){var t=+e;return 0===t||t!=t?t:t<0?-1:1}},83427(e){var t=Math.ceil,r=Math.floor;e.exports=Math.trunc||function(e){var n=+e;return(n>0?r:t)(n)}},62885(e,t,r){var n,i,a,o,s,l=r(6974),u=r(66255),c=r(92254),f=r(11523).set,h=r(28663),d=r(77502),p=r(65587),g=r(68338),y=r(15523),m=l.MutationObserver||l.WebKitMutationObserver,b=l.document,w=l.process,S=l.Promise,E=u("queueMicrotask");if(!E){var k=new h,P=function(){var e,t;for(y&&(e=w.domain)&&e.exit();t=k.get();)try{t()}catch(e){throw k.head&&n(),e}e&&e.enter()};d||y||g||!m||!b?!p&&S&&S.resolve?((o=S.resolve(void 0)).constructor=S,s=c(o.then,o),n=function(){s(P)}):y?n=function(){w.nextTick(P)}:(f=c(f,l),n=function(){f(P)}):(i=!0,a=b.createTextNode(""),new m(P).observe(a,{characterData:!0}),n=function(){a.data=i=!i}),E=function(e){k.head||n(),k.add(e)}}e.exports=E},63761(e,t,r){var n=r(70860),i=TypeError,a=function(e){var t,r;this.promise=new e(function(e,n){if(void 0!==t||void 0!==r)throw new i("Bad Promise constructor");t=e,r=n}),this.resolve=n(t),this.reject=n(r)};e.exports.f=function(e){return new a(e)}},14901(e,t,r){var n=r(13641);e.exports=function(e,t){return void 0===e?arguments.length<2?"":t:n(e)}},37187(e,t,r){var n=r(19058),i=r(52782),a=r(33179),o=r(59293),s=r(42262),l=r(34343),u=r(74639),c=r(72095),f=r(14461),h=Object.assign,d=Object.defineProperty,p=i([].concat);e.exports=!h||o(function(){if(n&&1!==h({b:1},h(d({},"a",{enumerable:!0,get:function(){d(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},r=Symbol("assign detection"),i="abcdefghijklmnopqrst";return e[r]=7,i.split("").forEach(function(e){t[e]=e}),7!==h({},e)[r]||s(h({},t)).join("")!==i})?function(e,t){for(var r=c(e),i=arguments.length,o=1,h=l.f,d=u.f;i>o;)for(var g,y=f(arguments[o++]),m=h?p(s(y),h(y)):s(y),b=m.length,w=0;b>w;)g=m[w++],(!n||a(d,y,g))&&(r[g]=y[g]);return r}:h},12326(e,t,r){var n,i=r(46177),a=r(23827),o=r(65985),s=r(30903),l=r(39247),u=r(95637),c=r(16845),f="prototype",h="script",d=c("IE_PROTO"),p=function(){},g=function(e){return"<"+h+">"+e+"</"+h+">"},y=function(e){e.write(g("")),e.close();var t=e.parentWindow.Object;return e=null,t},m=function(){var e,t=u("iframe");return t.style.display="none",l.appendChild(t),t.src=String("java"+h+":"),(e=t.contentWindow.document).open(),e.write(g("document.F=Object")),e.close(),e.F},b=function(){try{n=new ActiveXObject("htmlfile")}catch(e){}b="u">typeof document?document.domain&&n?y(n):m():y(n);for(var e=o.length;e--;)delete b[f][o[e]];return b()};s[d]=!0,e.exports=Object.create||function(e,t){var r;return null!==e?(p[f]=i(e),r=new p,p[f]=null,r[d]=e):r=b(),void 0===t?r:a.f(r,t)}},23827(e,t,r){var n=r(19058),i=r(18636),a=r(33919),o=r(46177),s=r(41555),l=r(42262);t.f=n&&!i?Object.defineProperties:function(e,t){o(e);for(var r,n=s(t),i=l(t),u=i.length,c=0;u>c;)a.f(e,r=i[c++],n[r]);return e}},33919(e,t,r){var n=r(19058),i=r(60299),a=r(18636),o=r(46177),s=r(11611),l=TypeError,u=Object.defineProperty,c=Object.getOwnPropertyDescriptor,f="enumerable",h="configurable",d="writable";t.f=n?a?function(e,t,r){if(o(e),t=s(t),o(r),"function"==typeof e&&"prototype"===t&&"value"in r&&d in r&&!r[d]){var n=c(e,t);n&&n[d]&&(e[t]=r.value,r={configurable:h in r?r[h]:n[h],enumerable:f in r?r[f]:n[f],writable:!1})}return u(e,t,r)}:u:function(e,t,r){if(o(e),t=s(t),o(r),i)try{return u(e,t,r)}catch(e){}if("get"in r||"set"in r)throw new l("Accessors not supported");return"value"in r&&(e[t]=r.value),e}},43069(e,t,r){var n=r(19058),i=r(33179),a=r(74639),o=r(56582),s=r(41555),l=r(11611),u=r(76151),c=r(60299),f=Object.getOwnPropertyDescriptor;t.f=n?f:function(e,t){if(e=s(e),t=l(t),c)try{return f(e,t)}catch(e){}if(u(e,t))return o(!i(a.f,e,t),e[t])}},62482(e,t,r){var n=r(6730),i=r(65985).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return n(e,i)}},34343(e,t){t.f=Object.getOwnPropertySymbols},69681(e,t,r){var n=r(76151),i=r(68039),a=r(72095),o=r(16845),s=r(1109),l=o("IE_PROTO"),u=Object,c=u.prototype;e.exports=s?u.getPrototypeOf:function(e){var t=a(e);if(n(t,l))return t[l];var r=t.constructor;return i(r)&&t instanceof r?r.prototype:t instanceof u?c:null}},66227(e,t,r){e.exports=r(52782)({}.isPrototypeOf)},6730(e,t,r){var n=r(52782),i=r(76151),a=r(41555),o=r(25383).indexOf,s=r(30903),l=n([].push);e.exports=function(e,t){var r,n=a(e),u=0,c=[];for(r in n)!i(s,r)&&i(n,r)&&l(c,r);for(;t.length>u;)i(n,r=t[u++])&&(~o(c,r)||l(c,r));return c}},42262(e,t,r){var n=r(6730),i=r(65985);e.exports=Object.keys||function(e){return n(e,i)}},74639(e,t){var r={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor;t.f=n&&!r.call({1:2},1)?function(e){var t=n(this,e);return!!t&&t.enumerable}:r},87261(e,t,r){var n=r(76572),i=r(48188),a=r(15804),o=r(30216);e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,r={};try{(e=n(Object.prototype,"__proto__","set"))(r,[]),t=r instanceof Array}catch(e){}return function(r,n){return a(r),o(n),i(r)&&(t?e(r,n):r.__proto__=n),r}}():void 0)},18424(e,t,r){var n=r(33179),i=r(68039),a=r(48188),o=TypeError;e.exports=function(e,t){var r,s;if("string"===t&&i(r=e.toString)&&!a(s=n(r,e))||i(r=e.valueOf)&&!a(s=n(r,e))||"string"!==t&&i(r=e.toString)&&!a(s=n(r,e)))return s;throw new o("Can't convert object to primitive value")}},73517(e,t,r){var n=r(72485),i=r(52782),a=r(62482),o=r(34343),s=r(46177),l=i([].concat);e.exports=n("Reflect","ownKeys")||function(e){var t=a.f(s(e)),r=o.f;return r?l(t,r(e)):t}},70977(e,t,r){e.exports=r(6974)},12181(e){e.exports=function(e){try{return{error:!1,value:e()}}catch(e){return{error:!0,value:e}}}},33586(e,t,r){var n=r(6974),i=r(15940),a=r(68039),o=r(76518),s=r(49576),l=r(75869),u=r(70229),c=r(81201),f=r(76153),h=i&&i.prototype,d=l("species"),p=!1,g=a(n.PromiseRejectionEvent);e.exports={CONSTRUCTOR:o("Promise",function(){var e=s(i),t=e!==String(i);if(!t&&66===f||c&&!(h.catch&&h.finally))return!0;if(!f||f<51||!/native code/.test(e)){var r=new i(function(e){e(1)}),n=function(e){e(function(){},function(){})};if((r.constructor={})[d]=n,!(p=r.then(function(){})instanceof n))return!0}return!t&&("BROWSER"===u||"DENO"===u)&&!g}),REJECTION_EVENT:g,SUBCLASSING:p}},15940(e,t,r){e.exports=r(6974).Promise},81864(e,t,r){var n=r(46177),i=r(48188),a=r(63761);e.exports=function(e,t){if(n(e),i(t)&&t.constructor===e)return t;var r=a.f(e);return(0,r.resolve)(t),r.promise}},87435(e,t,r){var n=r(15940),i=r(30366);e.exports=r(33586).CONSTRUCTOR||!i(function(e){n.all(e).then(void 0,function(){})})},64122(e,t,r){var n=r(33919).f;e.exports=function(e,t,r){r in e||n(e,r,{configurable:!0,get:function(){return t[r]},set:function(e){t[r]=e}})}},28663(e){var t=function(){this.head=null,this.tail=null};t.prototype={add:function(e){var t={item:e,next:null},r=this.tail;r?r.next=t:this.head=t,this.tail=t},get:function(){var e=this.head;if(e)return null===(this.head=e.next)&&(this.tail=null),e.item}},e.exports=t},24464(e,t,r){var n=r(33179),i=r(46177),a=r(68039),o=r(74026),s=r(66565),l=TypeError;e.exports=function(e,t){var r=e.exec;if(a(r)){var u=n(r,e,t);return null!==u&&i(u),u}if("RegExp"===o(e))return n(s,e,t);throw new l("RegExp#exec called on incompatible receiver")}},66565(e,t,r){var n,i,a=r(33179),o=r(52782),s=r(13641),l=r(62337),u=r(75383),c=r(55219),f=r(12326),h=r(66935).get,d=r(45369),p=r(63596),g=c("native-string-replace",String.prototype.replace),y=RegExp.prototype.exec,m=y,b=o("".charAt),w=o("".indexOf),S=o("".replace),E=o("".slice),k=(i=/b*/g,a(y,n=/a/,"a"),a(y,i,"a"),0!==n.lastIndex||0!==i.lastIndex),P=u.BROKEN_CARET,_=void 0!==/()??/.exec("")[1];(k||_||P||d||p)&&(m=function(e){var t,r,n,i,o,u,c,d=h(this),p=s(e),x=d.raw;if(x)return x.lastIndex=this.lastIndex,t=a(m,x,p),this.lastIndex=x.lastIndex,t;var O=d.groups,C=P&&this.sticky,R=a(l,this),A=this.source,I=0,T=p;if(C&&(-1===w(R=S(R,"y",""),"g")&&(R+="g"),T=E(p,this.lastIndex),this.lastIndex>0&&(!this.multiline||this.multiline&&"\n"!==b(p,this.lastIndex-1))&&(A="(?: "+A+")",T=" "+T,I++),r=RegExp("^(?:"+A+")",R)),_&&(r=RegExp("^"+A+"$(?!\\s)",R)),k&&(n=this.lastIndex),i=a(y,C?r:this,T),C?i?(i.input=E(i.input,I),i[0]=E(i[0],I),i.index=this.lastIndex,this.lastIndex+=i[0].length):this.lastIndex=0:k&&i&&(this.lastIndex=this.global?i.index+i[0].length:n),_&&i&&i.length>1&&a(g,i[0],r,function(){for(o=1;o<arguments.length-2;o++)void 0===arguments[o]&&(i[o]=void 0)}),i&&O)for(i.groups=u=f(null),o=0;o<O.length;o++)u[(c=O[o])[0]]=i[c[1]];return i}),e.exports=m},26823(e,t,r){var n=r(6974),i=r(59293),a=n.RegExp;e.exports={correct:!i(function(){var e=!0;try{a(".","d")}catch(t){e=!1}var t={},r="",n=e?"dgimsy":"gimsy",i=function(e,n){Object.defineProperty(t,e,{get:function(){return r+=n,!0}})},o={dotAll:"s",global:"g",ignoreCase:"i",multiline:"m",sticky:"y"};for(var s in e&&(o.hasIndices="d"),o)i(s,o[s]);return Object.getOwnPropertyDescriptor(a.prototype,"flags").get.call(t)!==n||r!==n})}},62337(e,t,r){var n=r(46177);e.exports=function(){var e=n(this),t="";return e.hasIndices&&(t+="d"),e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.unicodeSets&&(t+="v"),e.sticky&&(t+="y"),t}},41148(e,t,r){var n=r(33179),i=r(76151),a=r(66227),o=r(26823),s=r(62337),l=RegExp.prototype;e.exports=o.correct?function(e){return e.flags}:function(e){return!o.correct&&a(l,e)&&!i(e,"flags")?n(s,e):e.flags}},75383(e,t,r){var n=r(59293),i=r(6974).RegExp,a=n(function(){var e=i("a","y");return e.lastIndex=2,null!==e.exec("abcd")}),o=a||n(function(){return!i("a","y").sticky});e.exports={BROKEN_CARET:a||n(function(){var e=i("^r","gy");return e.lastIndex=2,null!==e.exec("str")}),MISSED_STICKY:o,UNSUPPORTED_Y:a}},45369(e,t,r){var n=r(59293),i=r(6974).RegExp;e.exports=n(function(){var e=i(".","s");return!(e.dotAll&&e.test("\n")&&"s"===e.flags)})},63596(e,t,r){var n=r(59293),i=r(6974).RegExp;e.exports=n(function(){var e=i("(?<a>b)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$<a>c")})},15804(e,t,r){var n=r(3563),i=TypeError;e.exports=function(e){if(n(e))throw new i("Can't call method on "+e);return e}},66255(e,t,r){var n=r(6974),i=r(19058),a=Object.getOwnPropertyDescriptor;e.exports=function(e){if(!i)return n[e];var t=a(n,e);return t&&t.value}},47988(e,t,r){var n=r(58260),i=r(25475),a=n.Set,o=n.add;e.exports=function(e){var t=new a;return i(e,function(e){o(t,e)}),t}},95474(e,t,r){var n=r(47234),i=r(58260),a=r(47988),o=r(41888),s=r(65447),l=r(25475),u=r(81885),c=i.has,f=i.remove;e.exports=function(e){var t=n(this),r=s(e),i=a(t);return o(t)<=r.size?l(t,function(e){r.includes(e)&&f(i,e)}):u(r.getIterator(),function(e){c(i,e)&&f(i,e)}),i}},58260(e,t,r){var n=r(52782),i=Set.prototype;e.exports={Set:Set,add:n(i.add),has:n(i.has),remove:n(i.delete),proto:i}},48396(e,t,r){var n=r(47234),i=r(58260),a=r(41888),o=r(65447),s=r(25475),l=r(81885),u=i.Set,c=i.add,f=i.has;e.exports=function(e){var t=n(this),r=o(e),i=new u;return a(t)>r.size?l(r.getIterator(),function(e){f(t,e)&&c(i,e)}):s(t,function(e){r.includes(e)&&c(i,e)}),i}},46839(e,t,r){var n=r(47234),i=r(58260).has,a=r(41888),o=r(65447),s=r(25475),l=r(81885),u=r(55053);e.exports=function(e){var t=n(this),r=o(e);if(a(t)<=r.size)return!1!==s(t,function(e){if(r.includes(e))return!1},!0);var c=r.getIterator();return!1!==l(c,function(e){if(i(t,e))return u(c,"normal",!1)})}},43388(e,t,r){var n=r(47234),i=r(41888),a=r(25475),o=r(65447);e.exports=function(e){var t=n(this),r=o(e);return!(i(t)>r.size)&&!1!==a(t,function(e){if(!r.includes(e))return!1},!0)}},53965(e,t,r){var n=r(47234),i=r(58260).has,a=r(41888),o=r(65447),s=r(81885),l=r(55053);e.exports=function(e){var t=n(this),r=o(e);if(a(t)<r.size)return!1;var u=r.getIterator();return!1!==s(u,function(e){if(!i(t,e))return l(u,"normal",!1)})}},25475(e,t,r){var n=r(52782),i=r(81885),a=r(58260),o=a.Set,s=a.proto,l=n(s.forEach),u=n(s.keys),c=u(new o).next;e.exports=function(e,t,r){return r?i({iterator:u(e),next:c},t):l(e,t)}},24206(e,t,r){var n=r(72485),i=function(e){return{size:e,has:function(){return!1},keys:function(){return{next:function(){return{done:!0}}}}}},a=function(e){return{size:e,has:function(){return!0},keys:function(){throw Error("e")}}};e.exports=function(e,t){var r=n("Set");try{new r()[e](i(0));try{return new r()[e](i(-1)),!1}catch(n){if(!t)return!0;try{return new r()[e](a(-1/0)),!1}catch(n){var o=new r([1,2]);return t(o[e](a(1/0)))}}}catch(e){return!1}}},29617(e){e.exports=function(e){try{var t=new Set,r=t[e]({size:0,has:function(){return!0},keys:function(){return Object.defineProperty({},"next",{get:function(){return t.clear(),t.add(4),function(){return{done:!0}}}})}});return 1===r.size&&4===r.values().next().value}catch(e){return!1}}},41888(e,t,r){e.exports=r(76572)(r(58260).proto,"size","get")||function(e){return e.size}},63263(e,t,r){var n=r(72485),i=r(7108),a=r(75869),o=r(19058),s=a("species");e.exports=function(e){var t=n(e);o&&t&&!t[s]&&i(t,s,{configurable:!0,get:function(){return this}})}},13264(e,t,r){var n=r(47234),i=r(58260),a=r(47988),o=r(65447),s=r(81885),l=i.add,u=i.has,c=i.remove;e.exports=function(e){var t=n(this),r=o(e).getIterator(),i=a(t);return s(r,function(e){u(t,e)?c(i,e):l(i,e)}),i}},32377(e,t,r){var n=r(33919).f,i=r(76151),a=r(75869)("toStringTag");e.exports=function(e,t,r){e&&!r&&(e=e.prototype),e&&!i(e,a)&&n(e,a,{configurable:!0,value:t})}},21898(e,t,r){var n=r(47234),i=r(58260).add,a=r(47988),o=r(65447),s=r(81885);e.exports=function(e){var t=n(this),r=o(e).getIterator(),l=a(t);return s(r,function(e){i(l,e)}),l}},16845(e,t,r){var n=r(55219),i=r(702),a=n("keys");e.exports=function(e){return a[e]||(a[e]=i(e))}},66851(e,t,r){var n=r(81201),i=r(6974),a=r(75963),o="__core-js_shared__",s=e.exports=i[o]||a(o,{});(s.versions||(s.versions=[])).push({version:"3.47.0",mode:n?"pure":"global",copyright:"\xa9 2014-2025 Denis Pushkarev (zloirock.ru), 2025 CoreJS Company (core-js.io)",license:"https://github.com/zloirock/core-js/blob/v3.47.0/LICENSE",source:"https://github.com/zloirock/core-js"})},55219(e,t,r){var n=r(66851);e.exports=function(e,t){return n[e]||(n[e]=t||{})}},92767(e,t,r){var n=r(46177),i=r(90114),a=r(3563),o=r(75869)("species");e.exports=function(e,t){var r,s=n(e).constructor;return void 0===s||a(r=n(s)[o])?t:i(r)}},68445(e,t,r){var n=r(52782),i=r(65825),a=r(13641),o=r(15804),s=n("".charAt),l=n("".charCodeAt),u=n("".slice),c=function(e){return function(t,r){var n,c,f=a(o(t)),h=i(r),d=f.length;return h<0||h>=d?e?"":void 0:(n=l(f,h))<55296||n>56319||h+1===d||(c=l(f,h+1))<56320||c>57343?e?s(f,h):n:e?u(f,h,h+2):(n-55296<<10)+(c-56320)+65536}};e.exports={codeAt:c(!1),charAt:c(!0)}},79855(e,t,r){var n=r(52782),i=/[^\0-\u007E]/,a=/[.\u3002\uFF0E\uFF61]/g,o="Overflow: input needs wider integers to process",s=RangeError,l=n(a.exec),u=Math.floor,c=String.fromCharCode,f=n("".charCodeAt),h=n([].join),d=n([].push),p=n("".replace),g=n("".split),y=n("".toLowerCase),m=function(e){for(var t=[],r=0,n=e.length;r<n;){var i=f(e,r++);if(i>=55296&&i<=56319&&r<n){var a=f(e,r++);(64512&a)==56320?d(t,((1023&i)<<10)+(1023&a)+65536):(d(t,i),r--)}else d(t,i)}return t},b=function(e){return e+22+75*(e<26)},w=function(e,t,r){var n=0;for(e=r?u(e/700):e>>1,e+=u(e/t);e>455;)e=u(e/35),n+=36;return u(n+36*e/(e+38))},S=function(e){var t,r,n=[],i=(e=m(e)).length,a=128,l=0,f=72;for(t=0;t<e.length;t++)(r=e[t])<128&&d(n,c(r));var p=n.length,g=p;for(p&&d(n,"-");g<i;){var y=0x7fffffff;for(t=0;t<e.length;t++)(r=e[t])>=a&&r<y&&(y=r);var S=g+1;if(y-a>u((0x7fffffff-l)/S))throw new s(o);for(l+=(y-a)*S,a=y,t=0;t<e.length;t++){if((r=e[t])<a&&++l>0x7fffffff)throw new s(o);if(r===a){for(var E=l,k=36;;){var P=k<=f?1:k>=f+26?26:k-f;if(E<P)break;var _=E-P,x=36-P;d(n,c(b(P+_%x))),E=u(_/x),k+=36}d(n,c(b(E))),f=w(l,S,g===p),l=0,g++}}l++,a++}return h(n,"")};e.exports=function(e){var t,r,n=[],o=g(p(y(e),a,"."),".");for(t=0;t<o.length;t++)d(n,l(i,r=o[t])?"xn--"+S(r):r);return h(n,".")}},75698(e,t,r){var n=r(6974),i=r(59293),a=r(76153),o=r(70229),s=n.structuredClone;e.exports=!!s&&!i(function(){if("DENO"===o&&a>92||"NODE"===o&&a>94||"BROWSER"===o&&a>97)return!1;var e=new ArrayBuffer(8),t=s(e,{transfer:[e]});return 0!==e.byteLength||8!==t.byteLength})},8953(e,t,r){var n=r(76153),i=r(59293),a=r(6974).String;e.exports=!!Object.getOwnPropertySymbols&&!i(function(){var e=Symbol("symbol detection");return!a(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&n&&n<41})},11523(e,t,r){var n,i,a,o,s=r(6974),l=r(16263),u=r(92254),c=r(68039),f=r(76151),h=r(59293),d=r(39247),p=r(34766),g=r(95637),y=r(26406),m=r(77502),b=r(15523),w=s.setImmediate,S=s.clearImmediate,E=s.process,k=s.Dispatch,P=s.Function,_=s.MessageChannel,x=s.String,O=0,C={},R="onreadystatechange";h(function(){n=s.location});var A=function(e){if(f(C,e)){var t=C[e];delete C[e],t()}},I=function(e){return function(){A(e)}},T=function(e){A(e.data)},M=function(e){s.postMessage(x(e),n.protocol+"//"+n.host)};w&&S||(w=function(e){y(arguments.length,1);var t=c(e)?e:P(e),r=p(arguments,1);return C[++O]=function(){l(t,void 0,r)},i(O),O},S=function(e){delete C[e]},b?i=function(e){E.nextTick(I(e))}:k&&k.now?i=function(e){k.now(I(e))}:_&&!m?(o=(a=new _).port2,a.port1.onmessage=T,i=u(o.postMessage,o)):s.addEventListener&&c(s.postMessage)&&!s.importScripts&&n&&"file:"!==n.protocol&&!h(M)?(i=M,s.addEventListener("message",T,!1)):i=R in g("script")?function(e){d.appendChild(g("script"))[R]=function(){d.removeChild(this),A(e)}}:function(e){setTimeout(I(e),0)}),e.exports={set:w,clear:S}},3108(e,t,r){var n=r(65825),i=Math.max,a=Math.min;e.exports=function(e,t){var r=n(e);return r<0?i(r+t,0):a(r,t)}},32216(e,t,r){var n=r(28535),i=TypeError;e.exports=function(e){var t=n(e,"number");if("number"==typeof t)throw new i("Can't convert number to bigint");return BigInt(t)}},26722(e,t,r){var n=r(65825),i=r(57864),a=RangeError;e.exports=function(e){if(void 0===e)return 0;var t=n(e),r=i(t);if(t!==r)throw new a("Wrong length or index");return r}},41555(e,t,r){var n=r(14461),i=r(15804);e.exports=function(e){return n(i(e))}},65825(e,t,r){var n=r(83427);e.exports=function(e){var t=+e;return t!=t||0===t?0:n(t)}},57864(e,t,r){var n=r(65825),i=Math.min;e.exports=function(e){var t=n(e);return t>0?i(t,0x1fffffffffffff):0}},72095(e,t,r){var n=r(15804),i=Object;e.exports=function(e){return i(n(e))}},7751(e,t,r){var n=r(11280),i=RangeError;e.exports=function(e,t){var r=n(e);if(r%t)throw new i("Wrong offset");return r}},11280(e,t,r){var n=r(65825),i=RangeError;e.exports=function(e){var t=n(e);if(t<0)throw new i("The argument can't be less than 0");return t}},28535(e,t,r){var n=r(33179),i=r(48188),a=r(12131),o=r(25112),s=r(18424),l=r(75869),u=TypeError,c=l("toPrimitive");e.exports=function(e,t){if(!i(e)||a(e))return e;var r,l=o(e,c);if(l){if(void 0===t&&(t="default"),!i(r=n(l,e,t))||a(r))return r;throw new u("Can't convert object to primitive value")}return void 0===t&&(t="number"),s(e,t)}},11611(e,t,r){var n=r(28535),i=r(12131);e.exports=function(e){var t=n(e,"string");return i(t)?t:t+""}},23886(e,t,r){var n=r(75869)("toStringTag"),i={};i[n]="z",e.exports="[object z]"===String(i)},13641(e,t,r){var n=r(73485),i=String;e.exports=function(e){if("Symbol"===n(e))throw TypeError("Cannot convert a Symbol value to a string");return i(e)}},205(e){var t=Math.round;e.exports=function(e){var r=t(e);return r<0?0:r>255?255:255&r}},25229(e){var t=String;e.exports=function(e){try{return t(e)}catch(e){return"Object"}}},31853(e,t,r){var n=r(64808),i=r(6974),a=r(33179),o=r(19058),s=r(65087),l=r(97882),u=r(91428),c=r(50473),f=r(56582),h=r(80081),d=r(1037),p=r(57864),g=r(26722),y=r(7751),m=r(205),b=r(11611),w=r(76151),S=r(73485),E=r(48188),k=r(12131),P=r(12326),_=r(66227),x=r(87261),O=r(62482).f,C=r(16705),R=r(23831).forEach,A=r(63263),I=r(7108),T=r(33919),M=r(43069),D=r(11372),z=r(66935),j=r(3153),U=z.get,L=z.set,N=z.enforce,F=T.f,q=M.f,W=i.RangeError,$=u.ArrayBuffer,B=$.prototype,K=u.DataView,Y=l.NATIVE_ARRAY_BUFFER_VIEWS,V=l.TYPED_ARRAY_TAG,Q=l.TypedArray,H=l.TypedArrayPrototype,G=l.isTypedArray,J="BYTES_PER_ELEMENT",X="Wrong length",Z=function(e,t){I(e,t,{configurable:!0,get:function(){return U(this)[t]}})},ee=function(e){var t;return _(B,e)||"ArrayBuffer"===(t=S(e))||"SharedArrayBuffer"===t},et=function(e,t){return G(e)&&!k(t)&&t in e&&d(+t)&&t>=0},er=function(e,t){return et(e,t=b(t))?f(2,e[t]):q(e,t)},en=function(e,t,r){return et(e,t=b(t))&&E(r)&&w(r,"value")&&!w(r,"get")&&!w(r,"set")&&!r.configurable&&(!w(r,"writable")||r.writable)&&(!w(r,"enumerable")||r.enumerable)?(e[t]=r.value,e):F(e,t,r)};o?(Y||(M.f=er,T.f=en,Z(H,"buffer"),Z(H,"byteOffset"),Z(H,"byteLength"),Z(H,"length")),n({target:"Object",stat:!0,forced:!Y},{getOwnPropertyDescriptor:er,defineProperty:en}),e.exports=function(e,t,r){var o=e.match(/\d+/)[0]/8,l=e+(r?"Clamped":"")+"Array",u="get"+e,f="set"+e,d=i[l],b=d,w=b&&b.prototype,S={},k=function(e,t){var r=U(e);return r.view[u](t*o+r.byteOffset,!0)},_=function(e,t,n){var i=U(e);i.view[f](t*o+i.byteOffset,r?m(n):n,!0)},I=function(e,t){F(e,t,{get:function(){return k(this,t)},set:function(e){return _(this,t,e)},enumerable:!0})};Y?s&&(b=t(function(e,t,r,n){return c(e,w),j(E(t)?ee(t)?void 0!==n?new d(t,y(r,o),n):void 0!==r?new d(t,y(r,o)):new d(t):G(t)?D(b,t):a(C,b,t):new d(g(t)),e,b)}),x&&x(b,Q),R(O(d),function(e){e in b||h(b,e,d[e])}),b.prototype=w):(b=t(function(e,t,r,n){c(e,w);var i,s,l,u=0,f=0;if(E(t))if(ee(t)){i=t,f=y(r,o);var h=t.byteLength;if(void 0===n){if(h%o||(s=h-f)<0)throw new W(X)}else if((s=p(n)*o)+f>h)throw new W(X);l=s/o}else if(G(t))return D(b,t);else return a(C,b,t);else i=new $(s=(l=g(t))*o);for(L(e,{buffer:i,byteOffset:f,byteLength:s,length:l,view:new K(i)});u<l;)I(e,u++)}),x&&x(b,Q),w=b.prototype=P(H)),w.constructor!==b&&h(w,"constructor",b),N(w).TypedArrayConstructor=b,V&&h(w,V,l);var T=b!==d;S[l]=b,n({global:!0,constructor:!0,forced:T,sham:!Y},S),J in b||h(b,J,o),J in w||h(w,J,o),A(l)}):e.exports=function(){}},65087(e,t,r){var n=r(6974),i=r(59293),a=r(30366),o=r(97882).NATIVE_ARRAY_BUFFER_VIEWS,s=n.ArrayBuffer,l=n.Int8Array;e.exports=!o||!i(function(){l(1)})||!i(function(){new l(-1)})||!a(function(e){new l,new l(null),new l(1.5),new l(e)},!0)||i(function(){return 1!==new l(new s(2),1,void 0).length})},16705(e,t,r){var n=r(92254),i=r(33179),a=r(90114),o=r(72095),s=r(92956),l=r(56563),u=r(18301),c=r(64623),f=r(63633),h=r(97882).aTypedArrayConstructor,d=r(32216);e.exports=function(e){var t,r,p,g,y,m,b,w,S=a(this),E=o(e),k=arguments.length,P=k>1?arguments[1]:void 0,_=void 0!==P,x=u(E);if(x&&!c(x))for(w=(b=l(E,x)).next,E=[];!(m=i(w,b)).done;)E.push(m.value);for(_&&k>2&&(P=n(P,arguments[2])),r=s(E),g=f(p=new(h(S))(r)),t=0;r>t;t++)y=_?P(E[t],t):E[t],p[t]=g?d(y):+y;return p}},702(e,t,r){var n=r(52782),i=0,a=Math.random(),o=n(1.1.toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+o(++i+a,36)}},79542(e,t,r){var n=r(59293),i=r(75869),a=r(19058),o=r(81201),s=i("iterator");e.exports=!n(function(){var e=new URL("b?a=1&b=2&c=3","https://a"),t=e.searchParams,r=new URLSearchParams("a=1&a=2&b=3"),n="";return e.pathname="c%20d",t.forEach(function(e,r){t.delete("b"),n+=r+e}),r.delete("a",2),r.delete("b",void 0),o&&(!e.toJSON||!r.has("a",1)||r.has("a",2)||!r.has("a",void 0)||r.has("b"))||!t.size&&(o||!a)||!t.sort||"https://a/c%20d?a=1&c=3"!==e.href||"3"!==t.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!t[s]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("https://тест").host||"#%D0%B1"!==new URL("https://a#б").hash||"a1c3"!==n||"x"!==new URL("https://x",void 0).host})},95058(e,t,r){e.exports=r(8953)&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},18636(e,t,r){var n=r(19058),i=r(59293);e.exports=n&&i(function(){return 42!==Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype})},26406(e){var t=TypeError;e.exports=function(e,r){if(e<r)throw new t("Not enough arguments");return e}},24232(e,t,r){var n=r(6974),i=r(68039),a=n.WeakMap;e.exports=i(a)&&/native code/.test(String(a))},75869(e,t,r){var n=r(6974),i=r(55219),a=r(76151),o=r(702),s=r(8953),l=r(95058),u=n.Symbol,c=i("wks"),f=l?u.for||u:u&&u.withoutSetter||o;e.exports=function(e){return a(c,e)||(c[e]=s&&a(u,e)?u[e]:f("Symbol."+e)),c[e]}},50859(e,t,r){var n=r(72485),i=r(76151),a=r(80081),o=r(66227),s=r(87261),l=r(18770),u=r(64122),c=r(3153),f=r(14901),h=r(35910),d=r(87245),p=r(19058),g=r(81201);e.exports=function(e,t,r,y){var m="stackTraceLimit",b=y?2:1,w=e.split("."),S=w[w.length-1],E=n.apply(null,w);if(E){var k=E.prototype;if(!g&&i(k,"cause")&&delete k.cause,!r)return E;var P=n("Error"),_=t(function(e,t){var r=f(y?t:e,void 0),n=y?new E(e):new E;return void 0!==r&&a(n,"message",r),d(n,_,n.stack,2),this&&o(k,this)&&c(n,this,_),arguments.length>b&&h(n,arguments[b]),n});if(_.prototype=k,"Error"!==S?s?s(_,P):l(_,P,{name:!0}):p&&m in E&&(u(_,E,m),u(_,E,"prepareStackTrace")),l(_,E),!g)try{k.name!==S&&a(k,"name",S),k.constructor=_}catch(e){}return _}}},20303(e,t,r){var n=r(19058),i=r(7108),a=r(80408),o=ArrayBuffer.prototype;!n||"detached"in o||i(o,"detached",{configurable:!0,get:function(){return a(this)}})},6106(e,t,r){var n=r(64808),i=r(2982);i&&n({target:"ArrayBuffer",proto:!0},{transferToFixedLength:function(){return i(this,arguments.length?arguments[0]:void 0,!1)}})},99166(e,t,r){var n=r(64808),i=r(2982);i&&n({target:"ArrayBuffer",proto:!0},{transfer:function(){return i(this,arguments.length?arguments[0]:void 0,!0)}})},52277(e,t,r){var n=r(64808),i=r(25383).includes,a=r(59293),o=r(1643);n({target:"Array",proto:!0,forced:a(function(){return![,].includes()})},{includes:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}}),o("includes")},42886(e,t,r){var n=r(41555),i=r(1643),a=r(49227),o=r(66935),s=r(33919).f,l=r(52274),u=r(46827),c=r(81201),f=r(19058),h="Array Iterator",d=o.set,p=o.getterFor(h);e.exports=l(Array,"Array",function(e,t){d(this,{type:h,target:n(e),index:0,kind:t})},function(){var e=p(this),t=e.target,r=e.index++;if(!t||r>=t.length)return e.target=null,u(void 0,!0);switch(e.kind){case"keys":return u(r,!1);case"values":return u(t[r],!1)}return u([r,t[r]],!1)},"values");var g=a.Arguments=a.Array;if(i("keys"),i("values"),i("entries"),!c&&f&&"values"!==g.name)try{s(g,"name",{value:"values"})}catch(e){}},14104(e,t,r){var n=r(64808),i=r(72095),a=r(92956),o=r(27021),s=r(61959);n({target:"Array",proto:!0,arity:1,forced:r(59293)(function(){return 0x100000001!==[].push.call({length:0x100000000},1)})||!function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(e){return e instanceof TypeError}}()},{push:function(e){var t=i(this),r=a(t),n=arguments.length;s(r+n);for(var l=0;l<n;l++)t[r]=arguments[l],r++;return o(t,r),r}})},34330(e,t,r){var n=r(64808),i=r(40184).left,a=r(32604),o=r(76153);n({target:"Array",proto:!0,forced:!r(15523)&&o>79&&o<83||!a("reduce")},{reduce:function(e){var t=arguments.length;return i(this,e,t,t>1?arguments[1]:void 0)}})},99780(e,t,r){r(1643)("flat")},15254(e,t,r){var n=r(64808),i=r(6974),a=r(16263),o=r(50859),s="WebAssembly",l=i[s],u=7!==Error("e",{cause:7}).cause,c=function(e,t){var r={};r[e]=o(e,t,u),n({global:!0,constructor:!0,arity:1,forced:u},r)},f=function(e,t){if(l&&l[e]){var r={};r[e]=o(s+"."+e,t,u),n({target:s,stat:!0,constructor:!0,arity:1,forced:u},r)}};c("Error",function(e){return function(t){return a(e,this,arguments)}}),c("EvalError",function(e){return function(t){return a(e,this,arguments)}}),c("RangeError",function(e){return function(t){return a(e,this,arguments)}}),c("ReferenceError",function(e){return function(t){return a(e,this,arguments)}}),c("SyntaxError",function(e){return function(t){return a(e,this,arguments)}}),c("TypeError",function(e){return function(t){return a(e,this,arguments)}}),c("URIError",function(e){return function(t){return a(e,this,arguments)}}),f("CompileError",function(e){return function(t){return a(e,this,arguments)}}),f("LinkError",function(e){return function(t){return a(e,this,arguments)}}),f("RuntimeError",function(e){return function(t){return a(e,this,arguments)}})},42949(e,t,r){var n=r(64808),i=r(6974),a=r(50473),o=r(46177),s=r(68039),l=r(69681),u=r(7108),c=r(84634),f=r(59293),h=r(76151),d=r(75869),p=r(66479).IteratorPrototype,g=r(19058),y=r(81201),m="constructor",b="Iterator",w=d("toStringTag"),S=TypeError,E=i[b],k=y||!s(E)||E.prototype!==p||!f(function(){E({})}),P=function(){if(a(this,p),l(this)===p)throw new S("Abstract class Iterator not directly constructable")},_=function(e,t){g?u(p,e,{configurable:!0,get:function(){return t},set:function(t){if(o(this),this===p)throw new S("You can't redefine this property");h(this,e)?this[e]=t:c(this,e,t)}}):p[e]=t};h(p,w)||_(w,b),(k||!h(p,m)||p[m]===Object)&&_(m,P),P.prototype=p,n({global:!0,constructor:!0,forced:k},{Iterator:P})},31178(e,t,r){var n=r(64808),i=r(33179),a=r(82150),o=r(70860),s=r(46177),l=r(86845),u=r(55053),c=r(6655)("every",TypeError);n({target:"Iterator",proto:!0,real:!0,forced:c},{every:function(e){s(this);try{o(e)}catch(e){u(this,"throw",e)}if(c)return i(c,this,e);var t=l(this),r=0;return!a(t,function(t,n){if(!e(t,r++))return n()},{IS_RECORD:!0,INTERRUPTED:!0}).stopped}})},18723(e,t,r){var n=r(64808),i=r(33179),a=r(70860),o=r(46177),s=r(86845),l=r(21352),u=r(75017),c=r(81201),f=r(55053),h=r(65682),d=r(6655),p=!c&&!h("filter",function(){}),g=!c&&!p&&d("filter",TypeError),y=c||p||g,m=l(function(){for(var e,t,r=this.iterator,n=this.predicate,a=this.next;;){if(e=o(i(a,r)),this.done=!!e.done)return;if(u(r,n,[t=e.value,this.counter++],!0))return t}});n({target:"Iterator",proto:!0,real:!0,forced:y},{filter:function(e){o(this);try{a(e)}catch(e){f(this,"throw",e)}return g?i(g,this,e):new m(s(this),{predicate:e})}})},49678(e,t,r){var n=r(64808),i=r(33179),a=r(82150),o=r(70860),s=r(46177),l=r(86845),u=r(55053),c=r(6655)("find",TypeError);n({target:"Iterator",proto:!0,real:!0,forced:c},{find:function(e){s(this);try{o(e)}catch(e){u(this,"throw",e)}if(c)return i(c,this,e);var t=l(this),r=0;return a(t,function(t,n){if(e(t,r++))return n(t)},{IS_RECORD:!0,INTERRUPTED:!0}).result}})},84086(e,t,r){var n=r(64808),i=r(33179),a=r(82150),o=r(70860),s=r(46177),l=r(86845),u=r(55053),c=r(6655)("forEach",TypeError);n({target:"Iterator",proto:!0,real:!0,forced:c},{forEach:function(e){s(this);try{o(e)}catch(e){u(this,"throw",e)}if(c)return i(c,this,e);var t=l(this),r=0;a(t,function(t){e(t,r++)},{IS_RECORD:!0})}})},37891(e,t,r){var n=r(64808),i=r(33179),a=r(70860),o=r(46177),s=r(86845),l=r(21352),u=r(75017),c=r(55053),f=r(65682),h=r(6655),d=r(81201),p=!d&&!f("map",function(){}),g=!d&&!p&&h("map",TypeError),y=d||p||g,m=l(function(){var e=this.iterator,t=o(i(this.next,e));if(!(this.done=!!t.done))return u(e,this.mapper,[t.value,this.counter++],!0)});n({target:"Iterator",proto:!0,real:!0,forced:y},{map:function(e){o(this);try{a(e)}catch(e){c(this,"throw",e)}return g?i(g,this,e):new m(s(this),{mapper:e})}})},46455(e,t,r){var n=r(64808),i=r(82150),a=r(70860),o=r(46177),s=r(86845),l=r(55053),u=r(6655),c=r(16263),f=r(59293),h=TypeError,d=f(function(){[].keys().reduce(function(){},void 0)}),p=!d&&u("reduce",h);n({target:"Iterator",proto:!0,real:!0,forced:d||p},{reduce:function(e){o(this);try{a(e)}catch(e){l(this,"throw",e)}var t=arguments.length<2,r=t?void 0:arguments[1];if(p)return c(p,this,t?[e]:[e,r]);var n=s(this),u=0;if(i(n,function(n){t?(t=!1,r=n):r=e(r,n,u),u++},{IS_RECORD:!0}),t)throw new h("Reduce of empty iterator with no initial value");return r}})},12021(e,t,r){var n=r(64808),i=r(33179),a=r(82150),o=r(70860),s=r(46177),l=r(86845),u=r(55053),c=r(6655)("some",TypeError);n({target:"Iterator",proto:!0,real:!0,forced:c},{some:function(e){s(this);try{o(e)}catch(e){u(this,"throw",e)}if(c)return i(c,this,e);var t=l(this),r=0;return a(t,function(t,n){if(e(t,r++))return n()},{IS_RECORD:!0,INTERRUPTED:!0}).stopped}})},40509(e,t,r){var n=r(64808),i=r(33179),a=r(70860),o=r(63761),s=r(12181),l=r(82150);n({target:"Promise",stat:!0,forced:r(87435)},{all:function(e){var t=this,r=o.f(t),n=r.resolve,u=r.reject,c=s(function(){var r=a(t.resolve),o=[],s=0,c=1;l(e,function(e){var a=s++,l=!1;c++,i(r,t,e).then(function(e){!l&&(l=!0,o[a]=e,--c||n(o))},u)}),--c||n(o)});return c.error&&u(c.value),r.promise}})},98965(e,t,r){var n=r(64808),i=r(81201),a=r(33586).CONSTRUCTOR,o=r(15940),s=r(72485),l=r(68039),u=r(59430),c=o&&o.prototype;if(n({target:"Promise",proto:!0,forced:a,real:!0},{catch:function(e){return this.then(void 0,e)}}),!i&&l(o)){var f=s("Promise").prototype.catch;c.catch!==f&&u(c,"catch",f,{unsafe:!0})}},3750(e,t,r){var n,i,a,o,s=r(64808),l=r(81201),u=r(15523),c=r(6974),f=r(70977),h=r(33179),d=r(59430),p=r(87261),g=r(32377),y=r(63263),m=r(70860),b=r(68039),w=r(48188),S=r(50473),E=r(92767),k=r(11523).set,P=r(62885),_=r(69823),x=r(12181),O=r(28663),C=r(66935),R=r(15940),A=r(33586),I=r(63761),T="Promise",M=A.CONSTRUCTOR,D=A.REJECTION_EVENT,z=A.SUBCLASSING,j=C.getterFor(T),U=C.set,L=R&&R.prototype,N=R,F=L,q=c.TypeError,W=c.document,$=c.process,B=I.f,K=B,Y=!!(W&&W.createEvent&&c.dispatchEvent),V="unhandledrejection",Q=function(e){var t;return!!(w(e)&&b(t=e.then))&&t},H=function(e,t){var r,n,i,a=t.value,o=1===t.state,s=o?e.ok:e.fail,l=e.resolve,u=e.reject,c=e.domain;try{s?(o||(2===t.rejection&&ee(t),t.rejection=1),!0===s?r=a:(c&&c.enter(),r=s(a),c&&(c.exit(),i=!0)),r===e.promise?u(new q("Promise-chain cycle")):(n=Q(r))?h(n,r,l,u):l(r)):u(a)}catch(e){c&&!i&&c.exit(),u(e)}},G=function(e,t){e.notified||(e.notified=!0,P(function(){for(var r,n=e.reactions;r=n.get();)H(r,e);e.notified=!1,t&&!e.rejection&&X(e)}))},J=function(e,t,r){var n,i;Y?((n=W.createEvent("Event")).promise=t,n.reason=r,n.initEvent(e,!1,!0),c.dispatchEvent(n)):n={promise:t,reason:r},!D&&(i=c["on"+e])?i(n):e===V&&_("Unhandled promise rejection",r)},X=function(e){h(k,c,function(){var t,r=e.facade,n=e.value;if(Z(e)&&(t=x(function(){u?$.emit("unhandledRejection",n,r):J(V,r,n)}),e.rejection=u||Z(e)?2:1,t.error))throw t.value})},Z=function(e){return 1!==e.rejection&&!e.parent},ee=function(e){h(k,c,function(){var t=e.facade;u?$.emit("rejectionHandled",t):J("rejectionhandled",t,e.value)})},et=function(e,t,r){return function(n){e(t,n,r)}},er=function(e,t,r){e.done||(e.done=!0,r&&(e=r),e.value=t,e.state=2,G(e,!0))},en=function(e,t,r){if(!e.done){e.done=!0,r&&(e=r);try{if(e.facade===t)throw new q("Promise can't be resolved itself");var n=Q(t);n?P(function(){var r={done:!1};try{h(n,t,et(en,r,e),et(er,r,e))}catch(t){er(r,t,e)}}):(e.value=t,e.state=1,G(e,!1))}catch(t){er({done:!1},t,e)}}};if(M&&(F=(N=function(e){S(this,F),m(e),h(n,this);var t=j(this);try{e(et(en,t),et(er,t))}catch(e){er(t,e)}}).prototype,(n=function(e){U(this,{type:T,done:!1,notified:!1,parent:!1,reactions:new O,rejection:!1,state:0,value:null})}).prototype=d(F,"then",function(e,t){var r=j(this),n=B(E(this,N));return r.parent=!0,n.ok=!b(e)||e,n.fail=b(t)&&t,n.domain=u?$.domain:void 0,0===r.state?r.reactions.add(n):P(function(){H(n,r)}),n.promise}),i=function(){var e=new n,t=j(e);this.promise=e,this.resolve=et(en,t),this.reject=et(er,t)},I.f=B=function(e){return e===N||e===a?new i(e):K(e)},!l&&b(R)&&L!==Object.prototype)){o=L.then,z||d(L,"then",function(e,t){var r=this;return new N(function(e,t){h(o,r,e,t)}).then(e,t)},{unsafe:!0});try{delete L.constructor}catch(e){}p&&p(L,F)}s({global:!0,constructor:!0,wrap:!0,forced:M},{Promise:N}),a=f.Promise,g(N,T,!1,!0),y(T)},73560(e,t,r){r(3750),r(40509),r(98965),r(67797),r(33475),r(13610)},67797(e,t,r){var n=r(64808),i=r(33179),a=r(70860),o=r(63761),s=r(12181),l=r(82150);n({target:"Promise",stat:!0,forced:r(87435)},{race:function(e){var t=this,r=o.f(t),n=r.reject,u=s(function(){var o=a(t.resolve);l(e,function(e){i(o,t,e).then(r.resolve,n)})});return u.error&&n(u.value),r.promise}})},33475(e,t,r){var n=r(64808),i=r(63761);n({target:"Promise",stat:!0,forced:r(33586).CONSTRUCTOR},{reject:function(e){var t=i.f(this);return(0,t.reject)(e),t.promise}})},13610(e,t,r){var n=r(64808),i=r(72485),a=r(81201),o=r(15940),s=r(33586).CONSTRUCTOR,l=r(81864),u=i("Promise"),c=a&&!s;n({target:"Promise",stat:!0,forced:a||s},{resolve:function(e){return l(c&&this===u?o:this,e)}})},53834(e,t,r){var n=r(64808),i=r(6974),a=r(32377);n({global:!0},{Reflect:{}}),a(i.Reflect,"Reflect",!0)},20498(e,t,r){var n=r(19058),i=r(6974),a=r(52782),o=r(76518),s=r(3153),l=r(80081),u=r(12326),c=r(62482).f,f=r(66227),h=r(97494),d=r(13641),p=r(41148),g=r(75383),y=r(64122),m=r(59430),b=r(59293),w=r(76151),S=r(66935).enforce,E=r(63263),k=r(75869),P=r(45369),_=r(63596),x=k("match"),O=i.RegExp,C=O.prototype,R=i.SyntaxError,A=a(C.exec),I=a("".charAt),T=a("".replace),M=a("".indexOf),D=a("".slice),z=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,j=/a/g,U=/a/g,L=new O(j)!==j,N=g.MISSED_STICKY,F=g.UNSUPPORTED_Y,q=n&&(!L||N||P||_||b(function(){return U[x]=!1,O(j)!==j||O(U)===U||"/a/i"!==String(O(j,"i"))})),W=function(e){for(var t,r=e.length,n=0,i="",a=!1;n<=r;n++){if("\\"===(t=I(e,n))){i+=t+I(e,++n);continue}a||"."!==t?("["===t?a=!0:"]"===t&&(a=!1),i+=t):i+="[\\s\\S]"}return i},$=function(e){for(var t,r=e.length,n=0,i="",a=[],o=u(null),s=!1,l=!1,c=0,f="";n<=r;n++){if("\\"===(t=I(e,n)))t+=I(e,++n);else if("]"===t)s=!1;else if(!s)switch(!0){case"["===t:s=!0;break;case"("===t:if(i+=t,"?:"===D(e,n+1,n+3))continue;A(z,D(e,n+1))&&(n+=2,l=!0),c++;continue;case">"===t&&l:if(""===f||w(o,f))throw new R("Invalid capture group name");o[f]=!0,a[a.length]=[f,c],l=!1,f="";continue}l?f+=t:i+=t}return[i,a]};if(o("RegExp",q)){for(var B=function(e,t){var r,n,i,a,o,u,c=f(C,this),g=h(e),y=void 0===t,m=[],b=e;if(!c&&g&&y&&e.constructor===B)return e;if((g||f(C,e))&&(e=e.source,y&&(t=p(b))),e=void 0===e?"":d(e),t=void 0===t?"":d(t),b=e,P&&"dotAll"in j&&(n=!!t&&M(t,"s")>-1)&&(t=T(t,/s/g,"")),r=t,N&&"sticky"in j&&(i=!!t&&M(t,"y")>-1)&&F&&(t=T(t,/y/g,"")),_&&(e=(a=$(e))[0],m=a[1]),o=s(O(e,t),c?this:C,B),(n||i||m.length)&&(u=S(o),n&&(u.dotAll=!0,u.raw=B(W(e),r)),i&&(u.sticky=!0),m.length&&(u.groups=m)),e!==b)try{l(o,"source",""===b?"(?:)":b)}catch(e){}return o},K=c(O),Y=0;K.length>Y;)y(B,O,K[Y++]);C.constructor=B,B.prototype=C,m(i,"RegExp",B,{constructor:!0})}E("RegExp")},40807(e,t,r){var n=r(19058),i=r(45369),a=r(74026),o=r(7108),s=r(66935).get,l=RegExp.prototype,u=TypeError;n&&i&&o(l,"dotAll",{configurable:!0,get:function(){if(this!==l){if("RegExp"===a(this))return!!s(this).dotAll;throw new u("Incompatible receiver, RegExp required")}}})},85281(e,t,r){var n=r(64808),i=r(66565);n({target:"RegExp",proto:!0,forced:/./.exec!==i},{exec:i})},67548(e,t,r){var n=r(64808),i=r(95474),a=r(59293);n({target:"Set",proto:!0,real:!0,forced:!r(24206)("difference",function(e){return 0===e.size})||a(function(){var e=new Set([1,2,3,4]);return 3!==e.difference({size:1,has:function(){return!0},keys:function(){var t=0;return{next:function(){var r=t++>1;return e.has(1)&&e.clear(),{done:r,value:2}}}}}).size})},{difference:i})},70954(e,t,r){var n=r(64808),i=r(59293),a=r(48396);n({target:"Set",proto:!0,real:!0,forced:!r(24206)("intersection",function(e){return 2===e.size&&e.has(1)&&e.has(2)})||i(function(){return"3,2"!==String(Array.from(new Set([1,2,3]).intersection(new Set([3,2]))))})},{intersection:a})},98803(e,t,r){var n=r(64808),i=r(46839);n({target:"Set",proto:!0,real:!0,forced:!r(24206)("isDisjointFrom",function(e){return!e})},{isDisjointFrom:i})},79162(e,t,r){var n=r(64808),i=r(43388);n({target:"Set",proto:!0,real:!0,forced:!r(24206)("isSubsetOf",function(e){return e})},{isSubsetOf:i})},15385(e,t,r){var n=r(64808),i=r(53965);n({target:"Set",proto:!0,real:!0,forced:!r(24206)("isSupersetOf",function(e){return!e})},{isSupersetOf:i})},39342(e,t,r){var n=r(64808),i=r(13264),a=r(29617);n({target:"Set",proto:!0,real:!0,forced:!r(24206)("symmetricDifference")||!a("symmetricDifference")},{symmetricDifference:i})},69152(e,t,r){var n=r(64808),i=r(21898),a=r(29617);n({target:"Set",proto:!0,real:!0,forced:!r(24206)("union")||!a("union")},{union:i})},20583(e,t,r){var n=r(64808),i=r(52782),a=r(3108),o=RangeError,s=String.fromCharCode,l=String.fromCodePoint,u=i([].join);n({target:"String",stat:!0,arity:1,forced:!!l&&1!==l.length},{fromCodePoint:function(e){for(var t,r=[],n=arguments.length,i=0;n>i;){if(t=+arguments[i++],a(t,1114111)!==t)throw new o(t+" is not a valid code point");r[i]=t<65536?s(t):s(((t-=65536)>>10)+55296,t%1024+56320)}return u(r,"")}})},17166(e,t,r){var n=r(68445).charAt,i=r(13641),a=r(66935),o=r(52274),s=r(46827),l="String Iterator",u=a.set,c=a.getterFor(l);o(String,"String",function(e){u(this,{type:l,string:i(e),index:0})},function(){var e,t=c(this),r=t.string,i=t.index;return i>=r.length?s(void 0,!0):(e=n(r,i),t.index+=e.length,s(e,!1))})},29381(e,t,r){var n=r(64808),i=r(33179),a=r(3350),o=r(40652),s=r(46827),l=r(15804),u=r(57864),c=r(13641),f=r(46177),h=r(48188),d=r(74026),p=r(97494),g=r(41148),y=r(25112),m=r(59430),b=r(59293),w=r(75869),S=r(92767),E=r(22287),k=r(24464),P=r(66935),_=r(81201),x=w("matchAll"),O="RegExp String",C=O+" Iterator",R=P.set,A=P.getterFor(C),I=RegExp.prototype,T=TypeError,M=a("".indexOf),D=a("".matchAll),z=!!D&&!b(function(){D("a",/./)}),j=o(function(e,t,r,n){R(this,{type:C,regexp:e,string:t,global:r,unicode:n,done:!1})},O,function(){var e=A(this);if(e.done)return s(void 0,!0);var t=e.regexp,r=e.string,n=k(t,r);return null===n?(e.done=!0,s(void 0,!0)):(e.global?""===c(n[0])&&(t.lastIndex=E(r,u(t.lastIndex),e.unicode)):e.done=!0,s(n,!1))}),U=function(e){var t,r,n,i=f(this),a=c(e),o=S(i,RegExp),s=c(g(i));return t=new o(o===RegExp?i.source:i,s),r=!!~M(s,"g"),n=!!~M(s,"u"),t.lastIndex=u(i.lastIndex),new j(t,a,r,n)};n({target:"String",proto:!0,forced:z},{matchAll:function(e){var t,r,n,a=l(this);if(h(e)){if(p(e)&&!~M(c(l(g(e))),"g"))throw new T("`.matchAll` does not allow non-global regexes");if(z)return D(a,e);if(void 0===(r=y(e,x))&&_&&"RegExp"===d(e)&&(r=U),r)return i(r,e,a)}else if(z)return D(a,e);return t=c(a),n=RegExp(e,"g"),_?i(U,n,t):n[x](t)}}),_||x in I||m(I,x,U)},96954(e,t,r){var n=r(16263),i=r(33179),a=r(52782),o=r(41298),s=r(59293),l=r(46177),u=r(68039),c=r(48188),f=r(65825),h=r(57864),d=r(13641),p=r(15804),g=r(22287),y=r(25112),m=r(67256),b=r(41148),w=r(24464),S=r(75869)("replace"),E=Math.max,k=Math.min,P=a([].concat),_=a([].push),x=a("".indexOf),O=a("".slice),C="$0"==="a".replace(/./,"$0"),R=!!/./[S]&&""===/./[S]("a","$0");o("replace",function(e,t,r){var a=R?"$":"$0";return[function(e,r){var n=p(this),a=c(e)?y(e,S):void 0;return a?i(a,e,n,r):i(t,d(n),e,r)},function(e,i){var o=l(this),s=d(e);if("string"==typeof i&&-1===x(i,a)&&-1===x(i,"$<")){var c=r(t,o,s,i);if(c.done)return c.value}var p=u(i);p||(i=d(i));var y=d(b(o)),S=-1!==x(y,"g");S&&(M=-1!==x(y,"u"),o.lastIndex=0);for(var C=[];null!==(z=w(o,s))&&(_(C,z),S);){;""===d(z[0])&&(o.lastIndex=g(s,h(o.lastIndex),M))}for(var R="",A=0,I=0;I<C.length;I++){for(var T,M,D,z=C[I],j=d(z[0]),U=E(k(f(z.index),s.length),0),L=[],N=1;N<z.length;N++)_(L,void 0===(T=z[N])?T:String(T));var F=z.groups;if(p){var q=P([j],L,U,s);void 0!==F&&_(q,F),D=d(n(i,void 0,q))}else D=m(j,s,U,L,F,i);U>=A&&(R+=O(s,A,U)+D,A=U+j.length)}return R+O(s,A)}]},!!s(function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")})||!C||R)},22742(e,t,r){var n=r(97882),i=r(92956),a=r(65825),o=n.aTypedArray;(0,n.exportTypedArrayMethod)("at",function(e){var t=o(this),r=i(t),n=a(e),s=n>=0?n:r+n;return s<0||s>=r?void 0:t[s]})},24330(e,t,r){var n=r(97882),i=r(65083),a=r(32216),o=r(73485),s=r(33179),l=r(52782),u=r(59293),c=n.aTypedArray,f=n.exportTypedArrayMethod,h=l("".slice);f("fill",function(e){var t=arguments.length;return c(this),s(i,this,"Big"===h(o(this),0,3)?a(e):+e,t>1?arguments[1]:void 0,t>2?arguments[2]:void 0)},u(function(){var e=0;return new Int8Array(2).fill({valueOf:function(){return e++}}),1!==e}))},62148(e,t,r){var n=r(97882),i=r(61857).findLastIndex,a=n.aTypedArray;(0,n.exportTypedArrayMethod)("findLastIndex",function(e){return i(a(this),e,arguments.length>1?arguments[1]:void 0)})},37553(e,t,r){var n=r(97882),i=r(61857).findLast,a=n.aTypedArray;(0,n.exportTypedArrayMethod)("findLast",function(e){return i(a(this),e,arguments.length>1?arguments[1]:void 0)})},89055(e,t,r){var n=r(6974),i=r(33179),a=r(97882),o=r(92956),s=r(7751),l=r(72095),u=r(59293),c=n.RangeError,f=n.Int8Array,h=f&&f.prototype,d=h&&h.set,p=a.aTypedArray,g=a.exportTypedArrayMethod,y=!u(function(){var e=new Uint8ClampedArray(2);return i(d,e,{length:1,0:3},1),3!==e[1]}),m=y&&a.NATIVE_ARRAY_BUFFER_VIEWS&&u(function(){var e=new f(2);return e.set(1),e.set("2",1),0!==e[0]||2!==e[1]});g("set",function(e){p(this);var t=s(arguments.length>1?arguments[1]:void 0,1),r=l(e);if(y)return i(d,this,r,t);var n=this.length,a=o(r),u=0;if(a+t>n)throw new c("Wrong length");for(;u<a;)this[t+u]=r[u++]},!y||m)},41435(e,t,r){var n=r(6974),i=r(3350),a=r(59293),o=r(70860),s=r(31534),l=r(97882),u=r(21203),c=r(13777),f=r(76153),h=r(62729),d=l.aTypedArray,p=l.exportTypedArrayMethod,g=n.Uint16Array,y=g&&i(g.prototype.sort),m=!!y&&!(a(function(){y(new g(2),null)})&&a(function(){y(new g(2),{})})),b=!!y&&!a(function(){if(f)return f<74;if(u)return u<67;if(c)return!0;if(h)return h<602;var e,t,r=new g(516),n=Array(516);for(e=0;e<516;e++)t=e%4,r[e]=515-e,n[e]=e-2*t+3;for(y(r,function(e,t){return(e/4|0)-(t/4|0)}),e=0;e<516;e++)if(r[e]!==n[e])return!0});p("sort",function(e){return(void 0!==e&&o(e),b)?y(this,e):s(d(this),function(t,r){return void 0!==e?+e(t,r)||0:r!=r?-1:t!=t?1:0===t&&0===r?1/t>0&&1/r<0?1:-1:t>r})},!b||m)},12205(e,t,r){var n=r(4062),i=r(97882),a=i.aTypedArray,o=i.exportTypedArrayMethod,s=i.getTypedArrayConstructor;o("toReversed",function(){return n(a(this),s(this))})},65850(e,t,r){var n=r(97882),i=r(52782),a=r(70860),o=r(11372),s=n.aTypedArray,l=n.getTypedArrayConstructor,u=n.exportTypedArrayMethod,c=i(n.TypedArrayPrototype.sort);u("toSorted",function(e){void 0!==e&&a(e);var t=s(this);return c(o(l(t),t),e)})},93619(e,t,r){r(31853)("Uint8",function(e){return function(t,r,n){return e(this,t,r,n)}})},65135(e,t,r){var n=r(49718),i=r(97882),a=r(63633),o=r(65825),s=r(32216),l=i.aTypedArray,u=i.getTypedArrayConstructor,c=i.exportTypedArrayMethod,f=function(){try{new Int8Array(1).with(2,{valueOf:function(){throw 8}})}catch(e){return 8===e}}(),h=f&&function(){try{new Int8Array(1).with(-.5,1)}catch(e){return!0}}();c("with",{with:function(e,t){var r=l(this),i=o(e),c=a(r)?s(t):+t;return n(r,u(r),i,c)}}.with,!f||h)},36395(e,t,r){var n=r(6974),i=r(71806),a=r(84098),o=r(42886),s=r(80081),l=r(32377),u=r(75869)("iterator"),c=o.values,f=function(e,t){if(e){if(e[u]!==c)try{s(e,u,c)}catch(t){e[u]=c}if(l(e,t,!0),i[t]){for(var r in o)if(e[r]!==o[r])try{s(e,r,o[r])}catch(t){e[r]=o[r]}}}};for(var h in i)f(n[h]&&n[h].prototype,h);f(a,"DOMTokenList")},32037(e,t,r){var n=r(64808),i=r(6974),a=r(72485),o=r(56582),s=r(33919).f,l=r(76151),u=r(50473),c=r(3153),f=r(14901),h=r(94864),d=r(50747),p=r(19058),g=r(81201),y="DOMException",m=a("Error"),b=a(y),w=function(){u(this,S);var e=arguments.length,t=f(e<1?void 0:arguments[0]),r=f(e<2?void 0:arguments[1],"Error"),n=new b(t,r),i=new m(t);return i.name=y,s(n,"stack",o(1,d(i.stack,1))),c(n,this,w),n},S=w.prototype=b.prototype,E="stack"in new m(y),k="stack"in new b(1,2),P=b&&p&&Object.getOwnPropertyDescriptor(i,y),_=!!P&&!(P.writable&&P.configurable),x=E&&!_&&!k;n({global:!0,constructor:!0,forced:g||x},{DOMException:x?w:b});var O=a(y),C=O.prototype;if(C.constructor!==O){for(var R in g||s(C,"constructor",o(1,O)),h)if(l(h,R)){var A=h[R],I=A.s;l(O,I)||s(O,I,o(6,A.c))}}},92033(e,t,r){var n=r(64808),i=r(6974),a=r(7108),o=r(19058),s=TypeError,l=Object.defineProperty,u=i.self!==i;try{if(o){var c=Object.getOwnPropertyDescriptor(i,"self");!u&&c&&c.get&&c.enumerable||a(i,"self",{get:function(){return i},set:function(e){if(this!==i)throw new s("Illegal invocation");l(i,"self",{value:e,writable:!0,configurable:!0,enumerable:!0})},configurable:!0,enumerable:!0})}else n({global:!0,simple:!0,forced:u},{self:i})}catch(e){}},75556(e,t,r){r(42886),r(20583);var n=r(64808),i=r(6974),a=r(66255),o=r(72485),s=r(33179),l=r(52782),u=r(19058),c=r(79542),f=r(59430),h=r(7108),d=r(27597),p=r(32377),g=r(40652),y=r(66935),m=r(50473),b=r(68039),w=r(76151),S=r(92254),E=r(73485),k=r(46177),P=r(48188),_=r(13641),x=r(12326),O=r(56582),C=r(56563),R=r(18301),A=r(46827),I=r(26406),T=r(75869),M=r(31534),D=T("iterator"),z="URLSearchParams",j=z+"Iterator",U=y.set,L=y.getterFor(z),N=y.getterFor(j),F=a("fetch"),q=a("Request"),W=a("Headers"),$=q&&q.prototype,B=W&&W.prototype,K=i.TypeError,Y=i.encodeURIComponent,V=String.fromCharCode,Q=o("String","fromCodePoint"),H=parseInt,G=l("".charAt),J=l([].join),X=l([].push),Z=l("".replace),ee=l([].shift),et=l([].splice),er=l("".split),en=l("".slice),ei=l(/./.exec),ea=/\+/g,eo=/^[0-9a-f]+$/i,es=function(e,t){var r=en(e,t,t+2);return ei(eo,r)?H(r,16):NaN},el=function(e){for(var t=0,r=128;r>0&&(e&r)!=0;r>>=1)t++;return t},eu=function(e){var t=null;switch(e.length){case 1:t=e[0];break;case 2:t=(31&e[0])<<6|63&e[1];break;case 3:t=(15&e[0])<<12|(63&e[1])<<6|63&e[2];break;case 4:t=(7&e[0])<<18|(63&e[1])<<12|(63&e[2])<<6|63&e[3]}return t>1114111?null:t},ec=function(e){for(var t=(e=Z(e,ea," ")).length,r="",n=0;n<t;){var i=G(e,n);if("%"===i){if("%"===G(e,n+1)||n+3>t){r+="%",n++;continue}var a=es(e,n+1);if(a!=a){r+=i,n++;continue}n+=2;var o=el(a);if(0===o)i=V(a);else{if(1===o||o>4){r+="�",n++;continue}for(var s=[a],l=1;l<o&&!(++n+3>t)&&"%"===G(e,n);){var u=es(e,n+1);if(u!=u){n+=3;break}if(u>191||u<128)break;X(s,u),n+=2,l++}if(s.length!==o){r+="�";continue}var c=eu(s);null===c?r+="�":i=Q(c)}}r+=i,n++}return r},ef=/[!'()~]|%20/g,eh={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},ed=function(e){return eh[e]},ep=function(e){return Z(Y(e),ef,ed)},ev=g(function(e,t){U(this,{type:j,target:L(e).entries,index:0,kind:t})},z,function(){var e=N(this),t=e.target,r=e.index++;if(!t||r>=t.length)return e.target=null,A(void 0,!0);var n=t[r];switch(e.kind){case"keys":return A(n.key,!1);case"values":return A(n.value,!1)}return A([n.key,n.value],!1)},!0),eg=function(e){this.entries=[],this.url=null,void 0!==e&&(P(e)?this.parseObject(e):this.parseQuery("string"==typeof e?"?"===G(e,0)?en(e,1):e:_(e)))};eg.prototype={type:z,bindURL:function(e){this.url=e,this.update()},parseObject:function(e){var t,r,n,i,a,o,l,u=this.entries,c=R(e);if(c)for(r=(t=C(e,c)).next;!(n=s(r,t)).done;){if((o=s(a=(i=C(k(n.value))).next,i)).done||(l=s(a,i)).done||!s(a,i).done)throw new K("Expected sequence with length 2");X(u,{key:_(o.value),value:_(l.value)})}else for(var f in e)w(e,f)&&X(u,{key:f,value:_(e[f])})},parseQuery:function(e){if(e)for(var t,r,n=this.entries,i=er(e,"&"),a=0;a<i.length;)(t=i[a++]).length&&X(n,{key:ec(ee(r=er(t,"="))),value:ec(J(r,"="))})},serialize:function(){for(var e,t=this.entries,r=[],n=0;n<t.length;)X(r,ep((e=t[n++]).key)+"="+ep(e.value));return J(r,"&")},update:function(){this.entries.length=0,this.parseQuery(this.url.query)},updateURL:function(){this.url&&this.url.update()}};var ey=function(){m(this,em);var e=arguments.length>0?arguments[0]:void 0,t=U(this,new eg(e));u||(this.size=t.entries.length)},em=ey.prototype;if(d(em,{append:function(e,t){var r=L(this);I(arguments.length,2),X(r.entries,{key:_(e),value:_(t)}),!u&&this.size++,r.updateURL()},delete:function(e){for(var t=L(this),r=I(arguments.length,1),n=t.entries,i=_(e),a=r<2?void 0:arguments[1],o=void 0===a?a:_(a),s=0;s<n.length;){var l=n[s];if(l.key===i&&(void 0===o||l.value===o)){if(et(n,s,1),void 0!==o)break}else s++}u||(this.size=n.length),t.updateURL()},get:function(e){var t=L(this).entries;I(arguments.length,1);for(var r=_(e),n=0;n<t.length;n++)if(t[n].key===r)return t[n].value;return null},getAll:function(e){var t=L(this).entries;I(arguments.length,1);for(var r=_(e),n=[],i=0;i<t.length;i++)t[i].key===r&&X(n,t[i].value);return n},has:function(e){for(var t=L(this).entries,r=I(arguments.length,1),n=_(e),i=r<2?void 0:arguments[1],a=void 0===i?i:_(i),o=0;o<t.length;){var s=t[o++];if(s.key===n&&(void 0===a||s.value===a))return!0}return!1},set:function(e,t){var r,n=L(this);I(arguments.length,1);for(var i=n.entries,a=!1,o=_(e),s=_(t),l=0;l<i.length;l++)(r=i[l]).key===o&&(a?et(i,l--,1):(a=!0,r.value=s));a||X(i,{key:o,value:s}),u||(this.size=i.length),n.updateURL()},sort:function(){var e=L(this);M(e.entries,function(e,t){return e.key>t.key?1:-1}),e.updateURL()},forEach:function(e){for(var t,r=L(this).entries,n=S(e,arguments.length>1?arguments[1]:void 0),i=0;i<r.length;)n((t=r[i++]).value,t.key,this)},keys:function(){return new ev(this,"keys")},values:function(){return new ev(this,"values")},entries:function(){return new ev(this,"entries")}},{enumerable:!0}),f(em,D,em.entries,{name:"entries"}),f(em,"toString",function(){return L(this).serialize()},{enumerable:!0}),u&&h(em,"size",{get:function(){return L(this).entries.length},configurable:!0,enumerable:!0}),p(ey,z),n({global:!0,constructor:!0,forced:!c},{URLSearchParams:ey}),!c&&b(W)){var eb=l(B.has),ew=l(B.set),eS=function(e){if(P(e)){var t,r=e.body;if(E(r)===z)return eb(t=e.headers?new W(e.headers):new W,"content-type")||ew(t,"content-type","application/x-www-form-urlencoded;charset=UTF-8"),x(e,{body:O(0,_(r)),headers:O(0,t)})}return e};if(b(F)&&n({global:!0,enumerable:!0,dontCallGetSet:!0,forced:!0},{fetch:function(e){return F(e,arguments.length>1?eS(arguments[1]):{})}}),b(q)){var eE=function(e){return m(this,$),new q(e,arguments.length>1?eS(arguments[1]):{})};$.constructor=eE,eE.prototype=$,n({global:!0,constructor:!0,dontCallGetSet:!0,forced:!0},{Request:eE})}}e.exports={URLSearchParams:ey,getState:L}},52205(e,t,r){var n=r(59430),i=r(52782),a=r(13641),o=r(26406),s=URLSearchParams,l=s.prototype,u=i(l.append),c=i(l.delete),f=i(l.forEach),h=i([].push),d=new s("a=1&a=2&b=3");d.delete("a",1),d.delete("b",void 0),d+""!="a=2"&&n(l,"delete",function(e){var t,r=arguments.length,n=r<2?void 0:arguments[1];if(r&&void 0===n)return c(this,e);var i=[];f(this,function(e,t){h(i,{key:t,value:e})}),o(r,1);for(var s=a(e),l=a(n),d=0,p=0,g=!1,y=i.length;d<y;)t=i[d++],g||t.key===s?(g=!0,c(this,t.key)):p++;for(;p<y;)((t=i[p++]).key!==s||t.value!==l)&&u(this,t.key,t.value)},{enumerable:!0,unsafe:!0})},40768(e,t,r){var n=r(59430),i=r(52782),a=r(13641),o=r(26406),s=URLSearchParams,l=s.prototype,u=i(l.getAll),c=i(l.has),f=new s("a=1");(f.has("a",2)||!f.has("a",void 0))&&n(l,"has",function(e){var t=arguments.length,r=t<2?void 0:arguments[1];if(t&&void 0===r)return c(this,e);var n=u(this,e);o(t,1);for(var i=a(r),s=0;s<n.length;)if(n[s++]===i)return!0;return!1},{enumerable:!0,unsafe:!0})},38978(e,t,r){r(75556)},76235(e,t,r){var n=r(19058),i=r(52782),a=r(7108),o=URLSearchParams.prototype,s=i(o.forEach);!n||"size"in o||a(o,"size",{get:function(){var e=0;return s(this,function(){e++}),e},configurable:!0,enumerable:!0})},6184(e,t,r){r(17166);var n,i=r(64808),a=r(19058),o=r(79542),s=r(6974),l=r(92254),u=r(52782),c=r(59430),f=r(7108),h=r(50473),d=r(76151),p=r(37187),g=r(77930),y=r(34766),m=r(68445).codeAt,b=r(79855),w=r(13641),S=r(32377),E=r(26406),k=r(75556),P=r(66935),_=P.set,x=P.getterFor("URL"),O=k.URLSearchParams,C=k.getState,R=s.URL,A=s.TypeError,I=s.parseInt,T=Math.floor,M=Math.pow,D=u("".charAt),z=u(/./.exec),j=u([].join),U=u(1.1.toString),L=u([].pop),N=u([].push),F=u("".replace),q=u([].shift),W=u("".split),$=u("".slice),B=u("".toLowerCase),K=u([].unshift),Y="Invalid scheme",V="Invalid host",Q="Invalid port",H=/[a-z]/i,G=/[\d+-.a-z]/i,J=/\d/,X=/^0x/i,Z=/^[0-7]+$/,ee=/^\d+$/,et=/^[\da-f]+$/i,er=/[\0\t\n\r #%/:<>?@[\\\]^|]/,en=/[\0\t\n\r #/:<>?@[\\\]^|]/,ei=/^[\u0000-\u0020]+/,ea=/(^|[^\u0000-\u0020])[\u0000-\u0020]+$/,eo=/[\t\n\r]/g,es=function(e){var t,r,n,i,a,o,s,l=W(e,".");if(l.length&&""===l[l.length-1]&&l.length--,(t=l.length)>4)return e;for(n=0,r=[];n<t;n++){if(""===(i=l[n]))return e;if(a=10,i.length>1&&"0"===D(i,0)&&(a=z(X,i)?16:8,i=$(i,8===a?1:2)),""===i)o=0;else{if(!z(10===a?ee:8===a?Z:et,i))return e;o=I(i,a)}N(r,o)}for(n=0;n<t;n++)if(o=r[n],n===t-1){if(o>=M(256,5-t))return null}else if(o>255)return null;for(s=L(r),n=0;n<r.length;n++)s+=r[n]*M(256,3-n);return s},el=function(e){var t,r,n,i,a,o,s,l=[0,0,0,0,0,0,0,0],u=0,c=null,f=0,h=function(){return D(e,f)};if(":"===h()){if(":"!==D(e,1))return;f+=2,c=++u}for(;h();){if(8===u)return;if(":"===h()){if(null!==c)return;f++,c=++u;continue}for(t=r=0;r<4&&z(et,h());)t=16*t+I(h(),16),f++,r++;if("."===h()){if(0===r||(f-=r,u>6))return;for(n=0;h();){if(i=null,n>0)if("."!==h()||!(n<4))return;else f++;if(!z(J,h()))return;for(;z(J,h());){if(a=I(h(),10),null===i)i=a;else{if(0===i)return;i=10*i+a}if(i>255)return;f++}l[u]=256*l[u]+i,(2==++n||4===n)&&u++}if(4!==n)return;break}if(":"===h()){if(f++,!h())return}else if(h())return;l[u++]=t}if(null!==c)for(o=u-c,u=7;0!==u&&o>0;)s=l[u],l[u--]=l[c+o-1],l[c+--o]=s;else if(8!==u)return;return l},eu=function(e){for(var t=null,r=1,n=null,i=0,a=0;a<8;a++)0!==e[a]?(i>r&&(t=n,r=i),n=null,i=0):(null===n&&(n=a),++i);return i>r?n:t},ec=function(e){var t,r,n,i;if("number"==typeof e){for(r=0,t=[];r<4;r++)K(t,e%256),e=T(e/256);return j(t,".")}if("object"==typeof e){for(t="",n=eu(e),r=0;r<8;r++)(!i||0!==e[r])&&(i&&(i=!1),n===r?(t+=r?":":"::",i=!0):(t+=U(e[r],16),r<7&&(t+=":")));return"["+t+"]"}return e},ef={},eh=p({},ef,{" ":1,'"':1,"<":1,">":1,"`":1}),ed=p({},eh,{"#":1,"?":1,"{":1,"}":1}),ep=p({},ed,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),ev=function(e,t){var r=m(e,0);return r>32&&r<127&&!d(t,e)?e:encodeURIComponent(e)},eg={ftp:21,file:null,http:80,https:443,ws:80,wss:443},ey=function(e,t){var r;return 2===e.length&&z(H,D(e,0))&&(":"===(r=D(e,1))||!t&&"|"===r)},em=function(e){var t;return e.length>1&&ey($(e,0,2))&&(2===e.length||"/"===(t=D(e,2))||"\\"===t||"?"===t||"#"===t)},eb={},ew={},eS={},eE={},ek={},eP={},e_={},ex={},eO={},eC={},eR={},eA={},eI={},eT={},eM={},eD={},ez={},ej={},eU={},eL={},eN={},eF=function(e,t,r){var n,i,a,o=w(e);if(t){if(i=this.parse(o))throw new A(i);this.searchParams=null}else{if(void 0!==r&&(n=new eF(r,!0)),i=this.parse(o,null,n))throw new A(i);(a=C(new O)).bindURL(this),this.searchParams=a}};eF.prototype={type:"URL",parse:function(e,t,r){var i=t||eb,a=0,o="",s=!1,l=!1,u=!1;for(e=w(e),t||(this.scheme="",this.username="",this.password="",this.host=null,this.port=null,this.path=[],this.query=null,this.fragment=null,this.cannotBeABaseURL=!1,e=F(e,ei,""),e=F(e,ea,"$1")),c=g(e=F(e,eo,""));a<=c.length;){switch(f=c[a],i){case eb:if(f&&z(H,f))o+=B(f),i=ew;else{if(t)return Y;i=eS;continue}break;case ew:if(f&&(z(G,f)||"+"===f||"-"===f||"."===f))o+=B(f);else if(":"===f){if(t&&(this.isSpecial()!==d(eg,o)||"file"===o&&(this.includesCredentials()||null!==this.port)||"file"===this.scheme&&!this.host))return;if(this.scheme=o,t){this.isSpecial()&&eg[this.scheme]===this.port&&(this.port=null);return}o="","file"===this.scheme?i=eT:this.isSpecial()&&r&&r.scheme===this.scheme?i=eE:this.isSpecial()?i=ex:"/"===c[a+1]?(i=ek,a++):(this.cannotBeABaseURL=!0,N(this.path,""),i=eU)}else{if(t)return Y;o="",i=eS,a=0;continue}break;case eS:if(!r||r.cannotBeABaseURL&&"#"!==f)return Y;if(r.cannotBeABaseURL&&"#"===f){this.scheme=r.scheme,this.path=y(r.path),this.query=r.query,this.fragment="",this.cannotBeABaseURL=!0,i=eN;break}i="file"===r.scheme?eT:eP;continue;case eE:if("/"===f&&"/"===c[a+1])i=eO,a++;else{i=eP;continue}break;case ek:if("/"===f){i=eC;break}i=ej;continue;case eP:if(this.scheme=r.scheme,f===n)this.username=r.username,this.password=r.password,this.host=r.host,this.port=r.port,this.path=y(r.path),this.query=r.query;else if("/"===f||"\\"===f&&this.isSpecial())i=e_;else if("?"===f)this.username=r.username,this.password=r.password,this.host=r.host,this.port=r.port,this.path=y(r.path),this.query="",i=eL;else if("#"===f)this.username=r.username,this.password=r.password,this.host=r.host,this.port=r.port,this.path=y(r.path),this.query=r.query,this.fragment="",i=eN;else{this.username=r.username,this.password=r.password,this.host=r.host,this.port=r.port,this.path=y(r.path),this.path.length--,i=ej;continue}break;case e_:if(this.isSpecial()&&("/"===f||"\\"===f))i=eO;else if("/"===f)i=eC;else{this.username=r.username,this.password=r.password,this.host=r.host,this.port=r.port,i=ej;continue}break;case ex:if(i=eO,"/"!==f||"/"!==D(o,a+1))continue;a++;break;case eO:if("/"!==f&&"\\"!==f){i=eC;continue}break;case eC:if("@"===f){s&&(o="%40"+o),s=!0,h=g(o);for(var c,f,h,p,m,b,S=0;S<h.length;S++){var E=h[S];if(":"===E&&!u){u=!0;continue}var k=ev(E,ep);u?this.password+=k:this.username+=k}o=""}else if(f===n||"/"===f||"?"===f||"#"===f||"\\"===f&&this.isSpecial()){if(s&&""===o)return"Invalid authority";a-=g(o).length+1,o="",i=eR}else o+=f;break;case eR:case eA:if(t&&"file"===this.scheme){i=eD;continue}if(":"!==f||l)if(f===n||"/"===f||"?"===f||"#"===f||"\\"===f&&this.isSpecial()){if(this.isSpecial()&&""===o)return V;if(t&&""===o&&(this.includesCredentials()||null!==this.port))return;if(p=this.parseHost(o))return p;if(o="",i=ez,t)return;continue}else"["===f?l=!0:"]"===f&&(l=!1),o+=f;else{if(""===o)return V;if(p=this.parseHost(o))return p;if(o="",i=eI,t===eA)return}break;case eI:if(z(J,f))o+=f;else{if(!(f===n||"/"===f||"?"===f||"#"===f||"\\"===f&&this.isSpecial())&&!t)return Q;if(""!==o){var P=I(o,10);if(P>65535)return Q;this.port=this.isSpecial()&&P===eg[this.scheme]?null:P,o=""}if(t)return;i=ez;continue}break;case eT:if(this.scheme="file","/"===f||"\\"===f)i=eM;else if(r&&"file"===r.scheme)switch(f){case n:this.host=r.host,this.path=y(r.path),this.query=r.query;break;case"?":this.host=r.host,this.path=y(r.path),this.query="",i=eL;break;case"#":this.host=r.host,this.path=y(r.path),this.query=r.query,this.fragment="",i=eN;break;default:em(j(y(c,a),""))||(this.host=r.host,this.path=y(r.path),this.shortenPath()),i=ej;continue}else{i=ej;continue}break;case eM:if("/"===f||"\\"===f){i=eD;break}r&&"file"===r.scheme&&!em(j(y(c,a),""))&&(ey(r.path[0],!0)?N(this.path,r.path[0]):this.host=r.host),i=ej;continue;case eD:if(f===n||"/"===f||"\\"===f||"?"===f||"#"===f){if(!t&&ey(o))i=ej;else if(""===o){if(this.host="",t)return;i=ez}else{if(p=this.parseHost(o))return p;if("localhost"===this.host&&(this.host=""),t)return;o="",i=ez}continue}o+=f;break;case ez:if(this.isSpecial()){if(i=ej,"/"!==f&&"\\"!==f)continue}else if(t||"?"!==f)if(t||"#"!==f){if(f!==n&&(i=ej,"/"!==f))continue}else this.fragment="",i=eN;else this.query="",i=eL;break;case ej:if(f===n||"/"===f||"\\"===f&&this.isSpecial()||!t&&("?"===f||"#"===f)){if(".."===(m=B(m=o))||"%2e."===m||".%2e"===m||"%2e%2e"===m?(this.shortenPath(),"/"===f||"\\"===f&&this.isSpecial()||N(this.path,"")):"."===(b=o)||"%2e"===B(b)?"/"===f||"\\"===f&&this.isSpecial()||N(this.path,""):("file"===this.scheme&&!this.path.length&&ey(o)&&(this.host&&(this.host=""),o=D(o,0)+":"),N(this.path,o)),o="","file"===this.scheme&&(f===n||"?"===f||"#"===f))for(;this.path.length>1&&""===this.path[0];)q(this.path);"?"===f?(this.query="",i=eL):"#"===f&&(this.fragment="",i=eN)}else o+=ev(f,ed);break;case eU:"?"===f?(this.query="",i=eL):"#"===f?(this.fragment="",i=eN):f!==n&&(this.path[0]+=ev(f,ef));break;case eL:t||"#"!==f?f!==n&&("'"===f&&this.isSpecial()?this.query+="%27":"#"===f?this.query+="%23":this.query+=ev(f,ef)):(this.fragment="",i=eN);break;case eN:f!==n&&(this.fragment+=ev(f,eh))}a++}},parseHost:function(e){var t,r,n;if("["===D(e,0)){if("]"!==D(e,e.length-1)||!(t=el($(e,1,-1))))return V;this.host=t}else if(this.isSpecial()){if(z(er,e=b(e))||null===(t=es(e)))return V;this.host=t}else{if(z(en,e))return V;for(t="",r=g(e),n=0;n<r.length;n++)t+=ev(r[n],ef);this.host=t}},cannotHaveUsernamePasswordPort:function(){return!this.host||this.cannotBeABaseURL||"file"===this.scheme},includesCredentials:function(){return""!==this.username||""!==this.password},isSpecial:function(){return d(eg,this.scheme)},shortenPath:function(){var e=this.path,t=e.length;t&&("file"!==this.scheme||1!==t||!ey(e[0],!0))&&e.length--},serialize:function(){var e=this.scheme,t=this.username,r=this.password,n=this.host,i=this.port,a=this.path,o=this.query,s=this.fragment,l=e+":";return null!==n?(l+="//",this.includesCredentials()&&(l+=t+(r?":"+r:"")+"@"),l+=ec(n),null!==i&&(l+=":"+i)):"file"===e&&(l+="//"),l+=this.cannotBeABaseURL?a[0]:a.length?"/"+j(a,"/"):"",null!==o&&(l+="?"+o),null!==s&&(l+="#"+s),l},setHref:function(e){var t=this.parse(e);if(t)throw new A(t);this.searchParams.update()},getOrigin:function(){var e=this.scheme,t=this.port;if("blob"===e)try{return new eq(e.path[0]).origin}catch(e){return"null"}return"file"!==e&&this.isSpecial()?e+"://"+ec(this.host)+(null!==t?":"+t:""):"null"},getProtocol:function(){return this.scheme+":"},setProtocol:function(e){this.parse(w(e)+":",eb)},getUsername:function(){return this.username},setUsername:function(e){var t=g(w(e));if(!this.cannotHaveUsernamePasswordPort()){this.username="";for(var r=0;r<t.length;r++)this.username+=ev(t[r],ep)}},getPassword:function(){return this.password},setPassword:function(e){var t=g(w(e));if(!this.cannotHaveUsernamePasswordPort()){this.password="";for(var r=0;r<t.length;r++)this.password+=ev(t[r],ep)}},getHost:function(){var e=this.host,t=this.port;return null===e?"":null===t?ec(e):ec(e)+":"+t},setHost:function(e){this.cannotBeABaseURL||this.parse(e,eR)},getHostname:function(){var e=this.host;return null===e?"":ec(e)},setHostname:function(e){this.cannotBeABaseURL||this.parse(e,eA)},getPort:function(){var e=this.port;return null===e?"":w(e)},setPort:function(e){this.cannotHaveUsernamePasswordPort()||(""===(e=w(e))?this.port=null:this.parse(e,eI))},getPathname:function(){var e=this.path;return this.cannotBeABaseURL?e[0]:e.length?"/"+j(e,"/"):""},setPathname:function(e){this.cannotBeABaseURL||(this.path=[],this.parse(e,ez))},getSearch:function(){var e=this.query;return e?"?"+e:""},setSearch:function(e){""===(e=w(e))?this.query=null:("?"===D(e,0)&&(e=$(e,1)),this.query="",this.parse(e,eL)),this.searchParams.update()},getSearchParams:function(){return this.searchParams.facade},getHash:function(){var e=this.fragment;return e?"#"+e:""},setHash:function(e){if(""===(e=w(e))){this.fragment=null;return}"#"===D(e,0)&&(e=$(e,1)),this.fragment="",this.parse(e,eN)},update:function(){this.query=this.searchParams.serialize()||null}};var eq=function(e){var t=h(this,eW),r=E(arguments.length,1)>1?arguments[1]:void 0,n=_(t,new eF(e,!1,r));a||(t.href=n.serialize(),t.origin=n.getOrigin(),t.protocol=n.getProtocol(),t.username=n.getUsername(),t.password=n.getPassword(),t.host=n.getHost(),t.hostname=n.getHostname(),t.port=n.getPort(),t.pathname=n.getPathname(),t.search=n.getSearch(),t.searchParams=n.getSearchParams(),t.hash=n.getHash())},eW=eq.prototype,e$=function(e,t){return{get:function(){return x(this)[e]()},set:t&&function(e){return x(this)[t](e)},configurable:!0,enumerable:!0}};if(a&&(f(eW,"href",e$("serialize","setHref")),f(eW,"origin",e$("getOrigin")),f(eW,"protocol",e$("getProtocol","setProtocol")),f(eW,"username",e$("getUsername","setUsername")),f(eW,"password",e$("getPassword","setPassword")),f(eW,"host",e$("getHost","setHost")),f(eW,"hostname",e$("getHostname","setHostname")),f(eW,"port",e$("getPort","setPort")),f(eW,"pathname",e$("getPathname","setPathname")),f(eW,"search",e$("getSearch","setSearch")),f(eW,"searchParams",e$("getSearchParams")),f(eW,"hash",e$("getHash","setHash"))),c(eW,"toJSON",function(){return x(this).serialize()},{enumerable:!0}),c(eW,"toString",function(){return x(this).serialize()},{enumerable:!0}),R){var eB=R.createObjectURL,eK=R.revokeObjectURL;eB&&c(eq,"createObjectURL",l(eB,R)),eK&&c(eq,"revokeObjectURL",l(eK,R))}S(eq,"URL"),i({global:!0,constructor:!0,forced:!o,sham:!a},{URL:eq})},74302(e,t,r){r(6184)},30686(e,t,r){var n=r(64808),i=r(33179);n({target:"URL",proto:!0,enumerable:!0},{toJSON:function(){return i(URL.prototype.toString,this)}})},27213(e,t,r){function n(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}r.d(t,{_:()=>n})},50784(e,t,r){r(36395),r(20498),r(40807),r(85281),r(67548),r(70954),r(98803),r(79162),r(15385),r(39342),r(69152),r(20303),r(99166),r(6106),r(93619),r(22742),r(24330),r(37553),r(62148),r(89055),r(41435),r(12205),r(65850),r(65135);var n=Object.prototype.hasOwnProperty;function i(e,t,r){for(r of e.keys())if(a(r,t))return r}function a(e,t){var r,o,s;if(e===t)return!0;if(e&&t&&(r=e.constructor)===t.constructor){if(r===Date)return e.getTime()===t.getTime();if(r===RegExp)return e.toString()===t.toString();if(r===Array){if((o=e.length)===t.length)for(;o--&&a(e[o],t[o]););return -1===o}if(r===Set){if(e.size!==t.size)return!1;for(o of e)if((s=o)&&"object"==typeof s&&!(s=i(t,s))||!t.has(s))return!1;return!0}if(r===Map){if(e.size!==t.size)return!1;for(o of e)if((s=o[0])&&"object"==typeof s&&!(s=i(t,s))||!a(o[1],t.get(s)))return!1;return!0}if(r===ArrayBuffer)e=new Uint8Array(e),t=new Uint8Array(t);else if(r===DataView){if((o=e.byteLength)===t.byteLength)for(;o--&&e.getInt8(o)===t.getInt8(o););return -1===o}if(ArrayBuffer.isView(e)){if((o=e.byteLength)===t.byteLength)for(;o--&&e[o]===t[o];);return -1===o}if(!r||"object"==typeof e){for(r in o=0,e)if(n.call(e,r)&&++o&&!n.call(t,r)||!(r in t)||!a(e[r],t[r]))return!1;return Object.keys(t).length===o}}return e!=e&&t!=t}r.d(t,{j:()=>a})},86575(e,t,r){function n(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function i(e){return function(t){let r=null!=t?t:this;if(!r)throw TypeError("".concat(e.kind||e.name," type guard requires an error object"));if(e.kind&&"object"==typeof r&&null!==r&&"constructor"in r){var n;if((null==(n=r.constructor)?void 0:n.kind)===e.kind)return!0}return r instanceof e}}r(15254),r(20498),r(40807),r(85281),r(96954);var a,o,s=(a=class e extends Error{get name(){return this.constructor.name}toString(){return"[".concat(this.name,"]\nMessage:").concat(this.message)}static formatMessage(e,t,r,n){let i="Clerk:",a=RegExp(i.replace(" ","\\s*"),"i");return t=t.replace(a,""),t="".concat(i," ").concat(t.trim(),'\n\n(code="').concat(r,'")\n\n'),n&&(t+="\n\nDocs: ".concat(n)),t}constructor(t){super(new.target.formatMessage(new.target.kind,t.message,t.code,t.docsUrl),{cause:t.cause}),n(this,"clerkError",!0),n(this,"code",void 0),n(this,"longMessage",void 0),n(this,"docsUrl",void 0),n(this,"cause",void 0),Object.setPrototypeOf(this,e.prototype),this.code=t.code,this.docsUrl=t.docsUrl,this.longMessage=t.longMessage,this.cause=t.cause}},n(a,"kind","ClerkError"),a),l=(o=class e extends s{constructor(t,r){super({...r,message:t}),n(this,"clerkRuntimeError",!0),Object.setPrototypeOf(this,e.prototype)}},n(o,"kind","ClerkRuntimeError"),o);let u=i(l);r.d(t,{a:()=>i,r:()=>s,t:()=>l},{n:u})},64093(e,t,r){r(73560);var n=r(98591);r.d(t,{},{t:()=>{let e=n.t,t=n.t;return{promise:new Promise((r,n)=>{e=r,t=n}),resolve:e,reject:t}}})},49025(e,t,r){r(42949),r(37891),r(85281),r(29381),r(96954),r(36395),r(15254),r(52277),r(67548),r(70954),r(98803),r(79162),r(15385),r(39342),r(69152),r(12021);var n,i,a,o,s=r(86575);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var u=(n=class{constructor(e){var t,r,n,i,a,o,s,u,c;l(this,"code",void 0),l(this,"message",void 0),l(this,"longMessage",void 0),l(this,"meta",void 0);const f={code:e.code,message:e.message,longMessage:e.long_message,meta:{paramName:null==(t=e.meta)?void 0:t.param_name,sessionId:null==(r=e.meta)?void 0:r.session_id,emailAddresses:null==(n=e.meta)?void 0:n.email_addresses,identifiers:null==(i=e.meta)?void 0:i.identifiers,zxcvbn:null==(a=e.meta)?void 0:a.zxcvbn,plan:null==(o=e.meta)?void 0:o.plan,isPlanUpgradePossible:null==(s=e.meta)?void 0:s.is_plan_upgrade_possible,seatsQuantityToAdd:null==(u=e.meta)?void 0:u.seats_quantity_to_add,seatsQuantity:null==(c=e.meta)?void 0:c.seats_quantity}};this.code=f.code,this.message=f.message,this.longMessage=f.longMessage,this.meta=f.meta}},l(n,"kind","ClerkAPIError"),n);(0,s.a)(u);var c=(i=class e extends s.r{toString(){let e="[".concat(this.name,"]\nMessage:").concat(this.message,"\nStatus:").concat(this.status,"\nSerialized errors: ").concat(this.errors.map(e=>JSON.stringify(e)));return this.clerkTraceId&&(e+="\nClerk Trace ID: ".concat(this.clerkTraceId)),e}static formatMessage(e,t,r,n){return t}constructor(t,r){const{data:n,status:i,clerkTraceId:a,retryAfter:o}=r;super({...r,message:t,code:"api_response_error"}),l(this,"status",void 0),l(this,"clerkTraceId",void 0),l(this,"retryAfter",void 0),l(this,"errors",void 0),Object.setPrototypeOf(this,e.prototype),this.status=i,this.clerkTraceId=a,this.retryAfter=o,this.errors=(n||[]).map(e=>new u(e))}},l(i,"kind","ClerkAPIResponseError"),i);let f=(0,s.a)(c);l(a=class e extends c{static is(t){return f(t)&&t.status===e.STATUS&&t.errors.length>0&&t.errors[0].code===e.ERROR_CODE}},"kind","MissingExpiredTokenError"),l(a,"ERROR_CODE","missing_expired_token"),l(a,"STATUS",422),l(o=class e extends s.t{static is(t){return null!=t&&(t instanceof e||(0,s.n)(t)&&t.code===e.ERROR_CODE)}constructor(t){super(t,{code:e.ERROR_CODE}),Object.setPrototypeOf(this,e.prototype)}},"kind","ClerkOfflineError"),l(o,"ERROR_CODE","clerk_offline");let h=Object.freeze({InvalidProxyUrlErrorMessage:"The proxyUrl passed to Clerk is invalid. The expected value for proxyUrl is an absolute URL or a relative path with a leading '/'. (key={{url}})",InvalidPublishableKeyErrorMessage:"The publishableKey passed to Clerk is invalid. You can get your Publishable key at https://dashboard.clerk.com/last-active?path=api-keys. (key={{key}})",MissingPublishableKeyErrorMessage:"Missing publishableKey. You can get your key at https://dashboard.clerk.com/last-active?path=api-keys.",MissingSecretKeyErrorMessage:"Missing secretKey. You can get your key at https://dashboard.clerk.com/last-active?path=api-keys.",MissingClerkProvider:"{{source}} can only be used within the <ClerkProvider /> component. Learn more: https://clerk.com/docs/components/clerk-provider"});function d(e){let{packageName:t,customMessages:r}=e,n=t;function i(e,t){if(!t)return"".concat(n,": ").concat(e);let r=e;for(let n of e.matchAll(/{{([a-zA-Z0-9-_]+)}}/g)){let e=(t[n[1]]||"").toString();r=r.replace("{{".concat(n[1],"}}"),e)}return"".concat(n,": ").concat(r)}let a={...h,...r};return{setPackageName(e){let{packageName:t}=e;return"string"==typeof t&&(n=t),this},setMessages(e){let{customMessages:t}=e;return Object.assign(a,t||{}),this},throwInvalidPublishableKeyError(e){throw Error(i(a.InvalidPublishableKeyErrorMessage,e))},throwInvalidProxyUrl(e){throw Error(i(a.InvalidProxyUrlErrorMessage,e))},throwMissingPublishableKeyError(){throw Error(i(a.MissingPublishableKeyErrorMessage))},throwMissingSecretKeyError(){throw Error(i(a.MissingSecretKeyErrorMessage))},throwMissingClerkProviderError(e){throw Error(i(a.MissingClerkProvider,e))},throw(e){throw Error(i(e))}}}function p(e){return f(e)||y(e)||(0,s.n)(e)}function g(e){return(0,s.n)(e)&&"reverification_cancelled"===e.code}function y(e){return"code"in e&&[4001,32602,32603].includes(e.code)&&"message"in e}function m(e){var t,r;return f(e)&&(null==(r=e.errors)||null==(t=r[0])?void 0:t.code)==="user_locked"}function b(e){var t,r;return f(e)&&(null==(r=e.errors)||null==(t=r[0])?void 0:t.code)==="form_password_pwned"}function w(e){var t,r;return f(e)&&(null==(r=e.errors)||null==(t=r[0])?void 0:t.code)==="form_password_compromised"}function S(e){return"EmailLinkError"===e.name}r.d(t,{a:()=>S,d:()=>g,l:()=>w,m:()=>m,o:()=>p,s:()=>y,u:()=>b,y:()=>d},{C:f,v:{Expired:"expired",Failed:"failed",ClientMismatch:"client_mismatch"}})},98591(e,t,r){r.d(t,{},{t:function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r]}})},91311(e,t,r){r(52277),r(42949),r(12021),r.d(t,{},{a:()=>!1,i:()=>{try{return!0}catch{}return!1},r:()=>!1,t:["CI","CONTINUOUS_INTEGRATION","GITHUB_ACTIONS","GITLAB_CI","CIRCLECI","TRAVIS","BUILDKITE","BITBUCKET_BUILD_NUMBER","APPVEYOR","CODEBUILD_BUILD_ID","TF_BUILD","TEAMCITY_VERSION","JENKINS_URL","HUDSON_URL","BAMBOO_BUILDKEY","CF_PAGES"]})},65532(e,t,r){var n,i,a,o,s,l,u,c,f,h,d,p,g,y,m;r(42949),r(12021),r(36395),r(32037),r(67548),r(70954),r(98803),r(79162),r(15385),r(39342),r(69152),r(14104),r(37891),r(18723),r(74302),r(30686),r(38978),r(52205),r(40768),r(76235),r(73560),r(61102),r(91311),r(56874),Symbol.for("@clerk/shared.telemetryNoticeShown"),n=new WeakMap,i=new WeakMap,a=new WeakSet,o=new WeakMap,s=new WeakSet,l=new WeakMap,u=new WeakMap,c=new WeakMap,f=new WeakMap,h=new WeakMap,d=new WeakMap,p=new WeakMap,g=new WeakSet,y=new WeakSet,m=new WeakSet;let b=new Set(["SignIn","SignUp"]);function w(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return{event:"COMPONENT_MOUNTED",eventSamplingRate:b.has(e)?1:.1,payload:{component:e,...t}}}function S(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1;return{event:"FLOW_STEP_MOUNTED",eventSamplingRate:n,payload:{flow:e,step:t,metadata:r}}}function E(e,t){return{event:"METHOD_CALLED",eventSamplingRate:.1,payload:{method:e,...t}}}r.d(t,{a:()=>E,o:()=>S,s:()=>w})},30129(e,t,r){function n(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"svg";return"https://img.clerk.com/static/".concat(e,".").concat(t)}r.d(t,{at:()=>n},{gE:[".lcl.dev",".stg.dev",".lclstage.dev",".stgstage.dev",".dev.lclclerk.com",".stg.lclclerk.com",".accounts.lclclerk.com","accountsstage.dev","accounts.dev"]})},71756(e,t,r){var n=r(86575),i=r(49025);r.d(t,{$R:()=>i.C,Au:()=>i.u,Cm:()=>n.n,I3:()=>i.d,_d:()=>i.m,cR:()=>n.t,hl:()=>i.a,kl:()=>i.v,qY:()=>i.l,si:()=>i.s,ux:()=>i.o})},70355(e,t,r){r.d(t,{},{CL:"__clerk_modal_state",Ej:["redirect_url","after_sign_in_url","after_sign_up_url","sign_in_force_redirect_url","sign_in_fallback_redirect_url","sign_up_force_redirect_url","sign_up_fallback_redirect_url"],MC:"__clerk_satellite_url",OQ:{FORM_IDENTIFIER_NOT_FOUND:"form_identifier_not_found",FORM_PASSWORD_INCORRECT:"form_password_incorrect",FORM_PASSWORD_PWNED:"form_password_pwned",INVALID_STRATEGY_FOR_USER:"strategy_for_user_invalid",NOT_ALLOWED_TO_SIGN_UP:"not_allowed_to_sign_up",OAUTH_ACCESS_DENIED:"oauth_access_denied",OAUTH_EMAIL_DOMAIN_RESERVED_BY_SAML:"oauth_email_domain_reserved_by_saml",NOT_ALLOWED_ACCESS:"not_allowed_access",SAML_USER_ATTRIBUTE_MISSING:"saml_user_attribute_missing",USER_LOCKED:"user_locked",EXTERNAL_ACCOUNT_NOT_FOUND:"external_account_not_found",SESSION_EXISTS:"session_exists",SIGN_UP_MODE_RESTRICTED:"sign_up_mode_restricted",SIGN_UP_MODE_RESTRICTED_WAITLIST:"sign_up_restricted_waitlist",ENTERPRISE_SSO_USER_ATTRIBUTE_MISSING:"enterprise_sso_user_attribute_missing",ENTERPRISE_SSO_EMAIL_ADDRESS_DOMAIN_MISMATCH:"enterprise_sso_email_address_domain_mismatch",ENTERPRISE_SSO_HOSTED_DOMAIN_MISMATCH:"enterprise_sso_hosted_domain_mismatch",SAML_EMAIL_ADDRESS_DOMAIN_MISMATCH:"saml_email_address_domain_mismatch",INVITATION_ACCOUNT_NOT_EXISTS:"invitation_account_not_exists",ORGANIZATION_MEMBERSHIP_QUOTA_EXCEEDED_FOR_SSO:"organization_membership_quota_exceeded_for_sso",CAPTCHA_INVALID:"captcha_invalid",FRAUD_DEVICE_BLOCKED:"device_blocked",FRAUD_ACTION_BLOCKED:"action_blocked",SIGNUP_RATE_LIMIT_EXCEEDED:"signup_rate_limit_exceeded",USER_BANNED:"user_banned",USER_DEACTIVATED:"user_deactivated"},P6:{PUBLIC:"public",RESTRICTED:"restricted",WAITLIST:"waitlist"},UU:["email_address","phone_number","username","first_name","last_name"],Wl:"clerk-captcha",e8:["email_address","phone_number","username"],rt:"__clerk_synced",tz:"suffixed_cookies"})},91117(e,t,r){r(15254);let n="ClerkJS:";function i(e){throw Error("".concat(n," Missing path option. The ").concat(e,' component was mounted with path routing so you need to specify the path where the component is mounted on e.g. path="/sign-in".'))}function a(e){throw Error("".concat(n," Invalid routing strategy, path cannot be used in tandem with ").concat(e,"."))}function o(){throw Error("".concat(n," Clerk instance not found. Make sure Clerk is initialized before using any Clerk components."))}function s(e){throw Error("".concat(n," ").concat(e," not found. Make sure you wrap your app with <").concat(e,">."))}function l(){throw Error("".concat(n," The target element is empty. Provide a valid DOM element."))}function u(e,t){throw Error("".concat(n," Response: ").concat(e||0," not supported yet.\nFor more information contact us at ").concat(t))}function c(e){throw Error("".concat(n," Unable to retrieve a third party script").concat(e?" ".concat(e):"","."))}r.d(t,{$V:()=>l,A8:()=>c,SK:()=>a,i$:()=>s,jB:()=>i,kX:()=>o,wv:()=>u})},1715(e,t,r){r.d(t,{hF:()=>s,hI:()=>a,rw:()=>o}),r(36395),r(74302),r(30686),r(38978),r(52205),r(40768),r(76235),r(85281),r(52277),r(61102);var n=r(70355);let i=["__clerk_status","__clerk_created_session","__clerk_invitation_token","__clerk_ticket","__clerk_modal_state","__clerk_handshake","__clerk_handshake_nonce","__clerk_help","__clerk_netlify_cache_bust",n.rt,n.MC,n.tz];function a(e){return new URL(window.location.href).searchParams.get(e)||null}function o(e){let t=new URL(window.location.href);t.searchParams.has(e)&&(t.searchParams.delete(e),window.history.replaceState(window.history.state,"",t))}function s(e){let t=new URLSearchParams(window.location.search),r=e||new URLSearchParams;for(let e of i){let n=t.get(e);n&&r.set(e,n)}return r}},32638(e,t,r){r.d(t,{j:()=>o,F:()=>a}),r(32037),r(85281),r(96954),r(36395),r(74302),r(30686),r(38978),r(52205),r(40768),r(76235);var n=r(70355),i=r(1715);r(42949),r(37891);let a=()=>{var e;let t=null!=(e=(0,i.hI)("__clerk_modal_state"))?e:"";return t?JSON.parse(atob(t)):null},o=e=>{let{url:t,startPath:r="/user",currentPath:i="",componentName:a,socialProvider:o=""}=e,s=globalThis.btoa(JSON.stringify({path:i.replace(/CLERK-ROUTER\/VIRTUAL\/.*\//,"")||"",componentName:a,startPath:r,socialProvider:o})),l=new URL(t),u=l.searchParams;return u.set(n.CL,s),l.search=u.toString(),l.toString()}},67665(e,t,r){r(32037),r.d(t,{},{y:e=>"u">typeof atob&&"function"==typeof atob?atob(e):void 0!==globalThis.Buffer?globalThis.Buffer.from(e,"base64").toString():e})},61102(e,t,r){r.d(t,{RZ:()=>u,iE:()=>c,q5:()=>s}),r(85281),r(42949),r(12021),r(96954),r(15254),r(52277),r(36395),r(20303),r(99166),r(6106),r(93619),r(22742),r(24330),r(37553),r(62148),r(89055),r(41435),r(12205),r(65850),r(65135),r(73560);var n=r(30129),i=r(67665);r(32037);let a="pk_live_";function o(e){if(!e.endsWith("$"))return!1;let t=e.slice(0,-1);return!t.includes("$")&&t.includes(".")}function s(e){let t,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!(e=e||"")||!l(e)){if(r.fatal&&!e)throw Error("Publishable key is missing. Ensure that your publishable key is correctly configured. Double-check your environment configuration for your keys, or access them here: https://dashboard.clerk.com/last-active?path=api-keys");if(r.fatal&&!l(e))throw Error("Publishable key not valid.");return null}let n=e.startsWith(a)?"production":"development";try{t=(0,i.y)(e.split("_")[2])}catch{if(r.fatal)throw Error("Publishable key not valid: Failed to decode key.");return null}if(!o(t)){if(r.fatal)throw Error("Publishable key not valid: Decoded key has invalid format.");return null}let s=t.slice(0,-1);return r.proxyUrl?s=r.proxyUrl:"development"!==n&&r.domain&&r.isSatellite&&(s="clerk.".concat(r.domain)),{instanceType:n,frontendApi:s}}function l(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";try{if(!(e.startsWith(a)||e.startsWith("pk_test_")))return!1;let t=e.split("_");if(3!==t.length)return!1;let r=t[2];if(!r)return!1;return o((0,i.y)(r))}catch{return!1}}function u(){let e=new Map;return{isDevOrStagingUrl:t=>{if(!t)return!1;let r="string"==typeof t?t:t.hostname,i=e.get(r);return void 0===i&&(i=n.gE.some(e=>r.endsWith(e)),e.set(r,i)),i}}}function c(e){return e.startsWith("test_")||e.startsWith("pk_test_")}},62826(e,t,r){r(67548),r(70954),r(98803),r(79162),r(15385),r(39342),r(69152),r(36395);let n=new Set;r.d(t,{},{v:{warnOnce:e=>{n.has(e)||(n.add(e),console.warn(e))},logOnce:e=>{n.has(e)||(console.log(e),n.add(e))}}})},46262(e,t,r){let n,i,a,o,s,l,u,c,f,h,d;r.d(t,{Ow:()=>nv,ED:()=>ry,kN:()=>rk,N$:()=>nV,Rx:()=>rx,cl:()=>nW,Tn:()=>nF,v$:()=>ns,t7:()=>nr,Jl:()=>nB,X$:()=>nn,rg:()=>ni,tr:()=>nt,kH:()=>no,WO:()=>r5,It:()=>rW,QE:()=>nd,yS:()=>np,n6:()=>nh,hl:()=>nc,Dc:()=>nu,LS:()=>r$,Fm:()=>nl,Mn:()=>rN,bm:()=>nf,e3:()=>rg,O4:()=>rL,ho:()=>rB,Oc:()=>r3,$U:()=>rq,Z5:()=>rV,OM:()=>rH,D_:()=>rJ,Sj:()=>nQ,Wp:()=>r7,UQ:()=>rX,wV:()=>r0,Jd:()=>r8}),r(15254),r(36395),r(73560),r(92033),r(52277),r(42949),r(18723),r(37891),r(99780),r(49678),r(85281),r(31178),r(34330),r(46455);let p="reverification-error";r(67548),r(70954),r(98803),r(79162),r(15385),r(39342),r(69152),r(96954),r(14104),r(12021);let g={strict_mfa:{afterMinutes:10,level:"multi_factor"},strict:{afterMinutes:10,level:"second_factor"},moderate:{afterMinutes:60,level:"second_factor"},lax:{afterMinutes:1440,level:"second_factor"}},y=new Set(["first_factor","second_factor","multi_factor"]),m=new Set(["strict_mfa","strict","moderate","lax"]);var b,w,S,E,k,P,_,x,O,C,R,A,I,T,M,D,z,j,U,L,N,F,q,W,$,B,K,Y,V,Q,H,G,J,X,Z,ee,et,er,en,ei,ea,eo,es,el,eu,ec,ef,eh,ed,ep,ev,eg,ey,em,eb,ew,eS,eE,ek,eP,e_,ex,eO=r(86575),eC=r(49025),eR=r(62826),eA=r(65532),eI=r(64093),eT=r(91117),eM=r(59701);function eD(e,t,r){if(!t.has(e))throw TypeError("attempted to "+r+" private field on non-instance");return t.get(e)}function ez(e,t){var r=eD(e,t,"get");return r.get?r.get.call(e):r.value}function ej(e,t,r){if(t.has(e))throw TypeError("Cannot initialize the same private elements twice on an object");t.set(e,r)}r(84086);var eU={setTimeout:(e,t)=>setTimeout(e,t),clearTimeout:e=>clearTimeout(e),setInterval:(e,t)=>setInterval(e,t),clearInterval:e=>clearInterval(e)},eL=new(S=new WeakMap,E=new WeakMap,class{setTimeoutProvider(e){var t=this,r=S,n=e,i=eD(t,r,"set");if(i.set)i.set.call(t,n);else{if(!i.writable)throw TypeError("attempted to set read only private field");i.value=n}}setTimeout(e,t){return ez(this,S).setTimeout(e,t)}clearTimeout(e){ez(this,S).clearTimeout(e)}setInterval(e,t){return ez(this,S).setInterval(e,t)}clearInterval(e){ez(this,S).clearInterval(e)}constructor(){ej(this,S,{writable:!0,value:eU}),ej(this,E,{writable:!0,value:!1})}}),eN="u"<typeof window||"Deno"in globalThis;function eF(){}function eq(e){return"number"==typeof e&&e>=0&&e!==1/0}function eW(e,t){return Math.max(e+(t||0)-Date.now(),0)}function e$(e,t){return"function"==typeof e?e(t):e}function eB(e,t){return"function"==typeof e?e(t):e}function eK(e,t){let{type:r="all",exact:n,fetchStatus:i,predicate:a,queryKey:o,stale:s}=e;if(o){if(n){if(t.queryHash!==eV(o,t.options))return!1}else if(!eH(t.queryKey,o))return!1}if("all"!==r){let e=t.isActive();if("active"===r&&!e||"inactive"===r&&e)return!1}return("boolean"!=typeof s||t.isStale()===s)&&(!i||i===t.state.fetchStatus)&&(!a||!!a(t))}function eY(e,t){let{exact:r,status:n,predicate:i,mutationKey:a}=e;if(a){if(!t.options.mutationKey)return!1;if(r){if(eQ(t.options.mutationKey)!==eQ(a))return!1}else if(!eH(t.options.mutationKey,a))return!1}return(!n||t.state.status===n)&&(!i||!!i(t))}function eV(e,t){return((null==t?void 0:t.queryKeyHashFn)||eQ)(e)}function eQ(e){return JSON.stringify(e,(e,t)=>eZ(t)?Object.keys(t).sort().reduce((e,r)=>(e[r]=t[r],e),{}):t)}function eH(e,t){return e===t||typeof e==typeof t&&!!e&&!!t&&"object"==typeof e&&"object"==typeof t&&Object.keys(t).every(r=>eH(e[r],t[r]))}var eG=Object.prototype.hasOwnProperty;function eJ(e,t){if(!t||Object.keys(e).length!==Object.keys(t).length)return!1;for(let r in e)if(e[r]!==t[r])return!1;return!0}function eX(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function eZ(e){if(!e0(e))return!1;let t=e.constructor;if(void 0===t)return!0;let r=t.prototype;return!!e0(r)&&!!r.hasOwnProperty("isPrototypeOf")&&Object.getPrototypeOf(e)===Object.prototype}function e0(e){return"[object Object]"===Object.prototype.toString.call(e)}function e1(e,t,r){return"function"==typeof r.structuralSharing?r.structuralSharing(e,t):!1!==r.structuralSharing?function e(t,r){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(t===r)return t;if(n>500)return r;let i=eX(t)&&eX(r);if(!i&&!(eZ(t)&&eZ(r)))return r;let a=(i?t:Object.keys(t)).length,o=i?r:Object.keys(r),s=o.length,l=i?Array(s):{},u=0;for(let c=0;c<s;c++){let s=i?c:o[c],f=t[s],h=r[s];if(f===h){l[s]=f,(i?c<a:eG.call(t,s))&&u++;continue}if(null===f||null===h||"object"!=typeof f||"object"!=typeof h){l[s]=h;continue}let d=e(f,h,n+1);l[s]=d,d===f&&u++}return a===s&&u===a?t:l}(e,t):t}function e6(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,n=[...e,t];return r&&n.length>r?n.slice(1):n}function e5(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,n=[t,...e];return r&&n.length>r?n.slice(0,-1):n}var e2=Symbol();function e8(e,t){return!e.queryFn&&(null==t?void 0:t.initialPromise)?()=>t.initialPromise:e.queryFn&&e.queryFn!==e2?e.queryFn:()=>Promise.reject(Error("Missing queryFn: '".concat(e.queryHash,"'")))}var e3=(i=[],a=0,o=e=>{e()},s=e=>{e()},l=function(e){setTimeout(e,0)},{batch:e=>{let t;a++;try{t=e()}finally{let e;--a||(e=i,i=[],e.length&&l(()=>{s(()=>{e.forEach(e=>{o(e)})})}))}return t},batchCalls:e=>function(){for(var t=arguments.length,r=Array(t),n=0;n<t;n++)r[n]=arguments[n];u(()=>{e(...r)})},schedule:u=e=>{a?i.push(e):l(()=>{o(e)})},setNotifyFunction:e=>{o=e},setBatchNotifyFunction:e=>{s=e},setScheduler:e=>{l=e}}),e4=class{subscribe(e){return this.listeners.add(e),this.onSubscribe(),()=>{this.listeners.delete(e),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}};function e7(e,t,r){if(!t.has(e))throw TypeError("attempted to "+r+" private field on non-instance");return t.get(e)}function e9(e,t){var r=e7(e,t,"get");return r.get?r.get.call(e):r.value}function te(e,t,r){if(t.has(e))throw TypeError("Cannot initialize the same private elements twice on an object");t.set(e,r)}function tt(e,t,r){var n=e7(e,t,"set");if(n.set)n.set.call(e,r);else{if(!n.writable)throw TypeError("attempted to set read only private field");n.value=r}return r}var tr=new(k=new WeakMap,P=new WeakMap,_=new WeakMap,class extends e4{onSubscribe(){e9(this,P)||this.setEventListener(e9(this,_))}onUnsubscribe(){var e;this.hasListeners()||(null==(e=e9(this,P))||e.call(this),tt(this,P,void 0))}setEventListener(e){var t;tt(this,_,e),null==(t=e9(this,P))||t.call(this),tt(this,P,e(e=>{"boolean"==typeof e?this.setFocused(e):this.onFocus()}))}setFocused(e){e9(this,k)!==e&&(tt(this,k,e),this.onFocus())}onFocus(){let e=this.isFocused();this.listeners.forEach(t=>{t(e)})}isFocused(){var e;return"boolean"==typeof e9(this,k)?e9(this,k):(null==(e=globalThis.document)?void 0:e.visibilityState)!=="hidden"}constructor(){super(),te(this,k,{writable:!0,value:void 0}),te(this,P,{writable:!0,value:void 0}),te(this,_,{writable:!0,value:void 0}),tt(this,_,e=>{if("u">typeof window&&window.addEventListener){let t=()=>e();return window.addEventListener("visibilitychange",t,!1),()=>{window.removeEventListener("visibilitychange",t)}}})}});function tn(e,t,r){if(!t.has(e))throw TypeError("attempted to "+r+" private field on non-instance");return t.get(e)}function ti(e,t){var r=tn(e,t,"get");return r.get?r.get.call(e):r.value}function ta(e,t,r){if(t.has(e))throw TypeError("Cannot initialize the same private elements twice on an object");t.set(e,r)}function to(e,t,r){var n=tn(e,t,"set");if(n.set)n.set.call(e,r);else{if(!n.writable)throw TypeError("attempted to set read only private field");n.value=r}return r}var ts=new(x=new WeakMap,O=new WeakMap,C=new WeakMap,class extends e4{onSubscribe(){ti(this,O)||this.setEventListener(ti(this,C))}onUnsubscribe(){var e;this.hasListeners()||(null==(e=ti(this,O))||e.call(this),to(this,O,void 0))}setEventListener(e){var t;to(this,C,e),null==(t=ti(this,O))||t.call(this),to(this,O,e(this.setOnline.bind(this)))}setOnline(e){ti(this,x)!==e&&(to(this,x,e),this.listeners.forEach(t=>{t(e)}))}isOnline(){return ti(this,x)}constructor(){super(),ta(this,x,{writable:!0,value:!0}),ta(this,O,{writable:!0,value:void 0}),ta(this,C,{writable:!0,value:void 0}),to(this,C,e=>{if("u">typeof window&&window.addEventListener){let t=()=>e(!0),r=()=>e(!1);return window.addEventListener("online",t,!1),window.addEventListener("offline",r,!1),()=>{window.removeEventListener("online",t),window.removeEventListener("offline",r)}}})}});function tl(){let e,t,r=new Promise((r,n)=>{e=r,t=n});function n(e){Object.assign(r,e),delete r.resolve,delete r.reject}return r.status="pending",r.catch(()=>{}),r.resolve=t=>{n({status:"fulfilled",value:t}),e(t)},r.reject=e=>{n({status:"rejected",reason:e}),t(e)},r}var tu=(c=()=>eN,{isServer:()=>c(),setIsServer(e){c=e}});function tc(e){return Math.min(1e3*2**e,3e4)}function tf(e){return(null!=e?e:"online")!=="online"||ts.isOnline()}var th=class extends Error{constructor(e){super("CancelledError"),this.revert=null==e?void 0:e.revert,this.silent=null==e?void 0:e.silent}};function td(e){let t,r=!1,n=0,i=tl(),a=()=>tr.isFocused()&&("always"===e.networkMode||ts.isOnline())&&e.canRun(),o=()=>tf(e.networkMode)&&e.canRun(),s=e=>{"pending"===i.status&&(null==t||t(),i.resolve(e))},l=e=>{"pending"===i.status&&(null==t||t(),i.reject(e))},u=()=>new Promise(r=>{var n;t=e=>{("pending"!==i.status||a())&&r(e)},null==(n=e.onPause)||n.call(e)}).then(()=>{if(t=void 0,"pending"===i.status){var r;null==(r=e.onContinue)||r.call(e)}}),c=()=>{let t;if("pending"!==i.status)return;let o=0===n?e.initialPromise:void 0;try{t=null!=o?o:e.fn()}catch(e){t=Promise.reject(e)}Promise.resolve(t).then(s).catch(t=>{var o,s,f;if("pending"!==i.status)return;let h=null!=(o=e.retry)?o:3*!tu.isServer(),d=null!=(s=e.retryDelay)?s:tc,p="function"==typeof d?d(n,t):d,g=!0===h||"number"==typeof h&&n<h||"function"==typeof h&&h(n,t);r||!g?l(t):(n++,null==(f=e.onFail)||f.call(e,n,t),new Promise(e=>{eL.setTimeout(e,p)}).then(()=>a()?void 0:u()).then(()=>{r?l(t):c()}))})};return{promise:i,status:()=>i.status,cancel:t=>{if("pending"===i.status){var r;let n=new th(t);l(n),null==(r=e.onCancel)||r.call(e,n)}},continue:()=>(null==t||t(),i),cancelRetry:()=>{r=!0},continueRetry:()=>{r=!1},canStart:o,start:()=>(o()?c():u().then(c),i)}}function tp(e,t,r){if(!t.has(e))throw TypeError("attempted to "+r+" private field on non-instance");return t.get(e)}function tv(e,t){var r=tp(e,t,"get");return r.get?r.get.call(e):r.value}function tg(e,t,r){var n=tp(e,t,"set");if(n.set)n.set.call(e,r);else{if(!n.writable)throw TypeError("attempted to set read only private field");n.value=r}return r}var ty=(R=new WeakMap,class{destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),eq(this.gcTime)&&tg(this,R,eL.setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,null!=e?e:tu.isServer()?1/0:3e5)}clearGcTimeout(){void 0!==tv(this,R)&&(eL.clearTimeout(tv(this,R)),tg(this,R,void 0))}constructor(){!function(e,t,r){if(t.has(e))throw TypeError("Cannot initialize the same private elements twice on an object");t.set(e,r)}(this,R,{writable:!0,value:void 0})}});function tm(e,t){let{pages:r,pageParams:n}=t,i=r.length-1;return r.length>0?e.getNextPageParam(r[i],r,n[i],n):void 0}function tb(e,t){var r;let{pages:n,pageParams:i}=t;return n.length>0?null==(r=e.getPreviousPageParam)?void 0:r.call(e,n[0],n,i[0],i):void 0}function tw(e,t){if(t.has(e))throw TypeError("Cannot initialize the same private elements twice on an object")}function tS(e,t,r){if(!t.has(e))throw TypeError("attempted to "+r+" private field on non-instance");return t.get(e)}function tE(e,t){var r=tS(e,t,"get");return r.get?r.get.call(e):r.value}function tk(e,t,r){tw(e,t),t.set(e,r)}function tP(e,t,r){var n=tS(e,t,"set");if(n.set)n.set.call(e,r);else{if(!n.writable)throw TypeError("attempted to set read only private field");n.value=r}return r}function t_(e,t,r){if(!t.has(e))throw TypeError("attempted to get private field on non-instance");return r}function tx(e,t){tw(e,t),t.add(e)}var tO=(A=new WeakMap,I=new WeakMap,T=new WeakMap,M=new WeakMap,D=new WeakMap,z=new WeakMap,j=new WeakMap,U=new WeakMap,L=new WeakSet,N=new WeakSet,class extends ty{get meta(){return this.options.meta}get queryType(){return tE(this,A)}get promise(){var e;return null==(e=tE(this,z))?void 0:e.promise}setOptions(e){if(this.options={...tE(this,j),...e},(null==e?void 0:e._type)&&tP(this,A,e._type),this.updateGcTime(this.options.gcTime),this.state&&void 0===this.state.data){let e=tA(this.options);void 0!==e.data&&(this.setState(tR(e.data,e.dataUpdatedAt)),tP(this,I,e))}}optionalRemove(){this.observers.length||"idle"!==this.state.fetchStatus||tE(this,M).remove(this)}setData(e,t){let r=e1(this.state.data,e,this.options);return t_(this,N,tT).call(this,{data:r,type:"success",dataUpdatedAt:null==t?void 0:t.updatedAt,manual:null==t?void 0:t.manual}),r}setState(e){t_(this,N,tT).call(this,{type:"setState",state:e})}cancel(e){var t,r;let n=null==(t=tE(this,z))?void 0:t.promise;return null==(r=tE(this,z))||r.cancel(e),n?n.then(eF).catch(eF):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}get resetState(){return tE(this,I)}reset(){this.destroy(),this.setState(this.resetState)}isActive(){return this.observers.some(e=>!1!==eB(e.options.enabled,this))}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===e2||!this.isFetched()}isFetched(){return this.state.dataUpdateCount+this.state.errorUpdateCount>0}isStatic(){return this.getObserversCount()>0&&this.observers.some(e=>"static"===e$(e.options.staleTime,this))}isStale(){return this.getObserversCount()>0?this.observers.some(e=>e.getCurrentResult().isStale):void 0===this.state.data||this.state.isInvalidated}isStaleByTime(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return void 0===this.state.data||"static"!==e&&(!!this.state.isInvalidated||!eW(this.state.dataUpdatedAt,e))}onFocus(){var e;let t=this.observers.find(e=>e.shouldFetchOnWindowFocus());null==t||t.refetch({cancelRefetch:!1}),null==(e=tE(this,z))||e.continue()}onOnline(){var e;let t=this.observers.find(e=>e.shouldFetchOnReconnect());null==t||t.refetch({cancelRefetch:!1}),null==(e=tE(this,z))||e.continue()}addObserver(e){this.observers.includes(e)||(this.observers.push(e),this.clearGcTimeout(),tE(this,M).notify({type:"observerAdded",query:this,observer:e}))}removeObserver(e){this.observers.includes(e)&&(this.observers=this.observers.filter(t=>t!==e),this.observers.length||(tE(this,z)&&(tE(this,U)||t_(this,L,tI).call(this)?tE(this,z).cancel({revert:!0}):tE(this,z).cancelRetry()),this.scheduleGc()),tE(this,M).notify({type:"observerRemoved",query:this,observer:e}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||t_(this,N,tT).call(this,{type:"invalidate"})}async fetch(e,t){var r,n,i,a,o,s,l,u,c,f,h,d;let p;if("idle"!==this.state.fetchStatus&&(null==(r=tE(this,z))?void 0:r.status())!=="rejected"){if(void 0!==this.state.data&&(null==t?void 0:t.cancelRefetch))this.cancel({silent:!0});else if(tE(this,z))return tE(this,z).continueRetry(),tE(this,z).promise}if(e&&this.setOptions(e),!this.options.queryFn){let e=this.observers.find(e=>e.options.queryFn);e&&this.setOptions(e.options)}let g=new AbortController,y=e=>{Object.defineProperty(e,"signal",{enumerable:!0,get:()=>(tP(this,U,!0),g.signal)})},m=()=>{let e,r=e8(this.options,t),n=(y(e={client:tE(this,D),queryKey:this.queryKey,meta:this.meta}),e);return(tP(this,U,!1),this.options.persister)?this.options.persister(r,n,this):r(n)},b=(y(p={fetchOptions:t,options:this.options,queryKey:this.queryKey,client:tE(this,D),state:this.state,fetchFn:m}),p),w="infinite"===tE(this,A)?(d=this.options.pages,{onFetch:(e,t)=>{var r,n,i,a,o;let s=e.options,l=null==(i=e.fetchOptions)||null==(n=i.meta)||null==(r=n.fetchMore)?void 0:r.direction,u=(null==(a=e.state.data)?void 0:a.pages)||[],c=(null==(o=e.state.data)?void 0:o.pageParams)||[],f={pages:[],pageParams:[]},h=0,p=async()=>{let t=!1,r=e8(e.options,e.fetchOptions),n=async(n,i,a)=>{if(t)return Promise.reject(e.signal.reason);if(null==i&&n.pages.length)return Promise.resolve(n);let o=(()=>{var r,n;let o,s,l={client:e.client,queryKey:e.queryKey,pageParam:i,direction:a?"backward":"forward",meta:e.options.meta};return r=()=>e.signal,n=()=>t=!0,s=!1,Object.defineProperty(l,"signal",{enumerable:!0,get:()=>(null!=o||(o=r()),s||(s=!0,o.aborted?n():o.addEventListener("abort",n,{once:!0})),o)}),l})(),s=await r(o),{maxPages:l}=e.options,u=a?e5:e6;return{pages:u(n.pages,s,l),pageParams:u(n.pageParams,i,l)}};if(l&&u.length){let e="backward"===l,t={pages:u,pageParams:c},r=(e?tb:tm)(s,t);f=await n(t,r,e)}else{let e=null!=d?d:u.length;do{var i;let e=0===h?null!=(i=c[0])?i:s.initialPageParam:tm(s,f);if(h>0&&null==e)break;f=await n(f,e),h++}while(h<e)}return f};e.options.persister?e.fetchFn=()=>{var r,n;return null==(r=(n=e.options).persister)?void 0:r.call(n,p,{client:e.client,queryKey:e.queryKey,meta:e.options.meta,signal:e.signal},t)}:e.fetchFn=p}}):this.options.behavior;null==w||w.onFetch(b,this),tP(this,T,this.state),("idle"===this.state.fetchStatus||this.state.fetchMeta!==(null==(n=b.fetchOptions)?void 0:n.meta))&&t_(this,N,tT).call(this,{type:"fetch",meta:null==(i=b.fetchOptions)?void 0:i.meta}),tP(this,z,td({initialPromise:null==t?void 0:t.initialPromise,fn:b.fetchFn,onCancel:e=>{e instanceof th&&e.revert&&this.setState({...tE(this,T),fetchStatus:"idle"}),g.abort()},onFail:(e,t)=>{t_(this,N,tT).call(this,{type:"failed",failureCount:e,error:t})},onPause:()=>{t_(this,N,tT).call(this,{type:"pause"})},onContinue:()=>{t_(this,N,tT).call(this,{type:"continue"})},retry:b.options.retry,retryDelay:b.options.retryDelay,networkMode:b.options.networkMode,canRun:()=>!0}));try{let e=await tE(this,z).start();if(void 0===e)throw Error("".concat(this.queryHash," data is undefined"));return this.setData(e),null==(a=(o=tE(this,M).config).onSuccess)||a.call(o,e,this),null==(s=(l=tE(this,M).config).onSettled)||s.call(l,e,this.state.error,this),e}catch(e){if(e instanceof th){if(e.silent)return tE(this,z).promise;else if(e.revert){if(void 0===this.state.data)throw e;return this.state.data}}throw t_(this,N,tT).call(this,{type:"error",error:e}),null==(u=(c=tE(this,M).config).onError)||u.call(c,e,this),null==(f=(h=tE(this,M).config).onSettled)||f.call(h,this.state.data,e,this),e}finally{this.scheduleGc()}}constructor(e){var t;super(),tx(this,L),tx(this,N),tk(this,A,{writable:!0,value:void 0}),tk(this,I,{writable:!0,value:void 0}),tk(this,T,{writable:!0,value:void 0}),tk(this,M,{writable:!0,value:void 0}),tk(this,D,{writable:!0,value:void 0}),tk(this,z,{writable:!0,value:void 0}),tk(this,j,{writable:!0,value:void 0}),tk(this,U,{writable:!0,value:void 0}),tP(this,U,!1),tP(this,j,e.defaultOptions),this.setOptions(e.options),this.observers=[],tP(this,D,e.client),tP(this,M,tE(this,D).getQueryCache()),this.queryKey=e.queryKey,this.queryHash=e.queryHash,tP(this,I,tA(this.options)),this.state=null!=(t=e.state)?t:tE(this,I),this.scheduleGc()}});function tC(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:tf(t.networkMode)?"fetching":"paused",...void 0===e&&{error:null,status:"pending"}}}function tR(e,t){return{data:e,dataUpdatedAt:null!=t?t:Date.now(),error:null,isInvalidated:!1,status:"success"}}function tA(e){let t="function"==typeof e.initialData?e.initialData():e.initialData,r=void 0!==t,n=r?"function"==typeof e.initialDataUpdatedAt?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:r?null!=n?n:Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:r?"success":"pending",fetchStatus:"idle"}}function tI(){return"paused"===this.state.fetchStatus&&"pending"===this.state.status}function tT(e){let t=t=>{switch(e.type){case"failed":return{...t,fetchFailureCount:e.failureCount,fetchFailureReason:e.error};case"pause":return{...t,fetchStatus:"paused"};case"continue":return{...t,fetchStatus:"fetching"};case"fetch":var r;return{...t,...tC(t.data,this.options),fetchMeta:null!=(r=e.meta)?r:null};case"success":let n={...t,...tR(e.data,e.dataUpdatedAt),dataUpdateCount:t.dataUpdateCount+1,...!e.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};return tP(this,T,e.manual?n:void 0),n;case"error":let i=e.error;return{...t,error:i,errorUpdateCount:t.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:t.fetchFailureCount+1,fetchFailureReason:i,fetchStatus:"idle",status:"error",isInvalidated:!0};case"invalidate":return{...t,isInvalidated:!0};case"setState":return{...t,...e.state}}};this.state=t(this.state),e3.batch(()=>{this.observers.forEach(e=>{e.onQueryUpdate()}),tE(this,M).notify({query:this,type:"updated",action:e})})}function tM(e,t,r){if(!t.has(e))throw TypeError("attempted to "+r+" private field on non-instance");return t.get(e)}function tD(e,t){var r=tM(e,t,"get");return r.get?r.get.call(e):r.value}var tz=(F=new WeakMap,class extends e4{build(e,t,r){var n;let i=t.queryKey,a=null!=(n=t.queryHash)?n:eV(i,t),o=this.get(a);return o||(o=new tO({client:e,queryKey:i,queryHash:a,options:e.defaultQueryOptions(t),state:r,defaultOptions:e.getQueryDefaults(i)}),this.add(o)),o}add(e){tD(this,F).has(e.queryHash)||(tD(this,F).set(e.queryHash,e),this.notify({type:"added",query:e}))}remove(e){let t=tD(this,F).get(e.queryHash);t&&(e.destroy(),t===e&&tD(this,F).delete(e.queryHash),this.notify({type:"removed",query:e}))}clear(){e3.batch(()=>{this.getAll().forEach(e=>{this.remove(e)})})}get(e){return tD(this,F).get(e)}getAll(){return[...tD(this,F).values()]}find(e){let t={exact:!0,...e};return this.getAll().find(e=>eK(t,e))}findAll(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=this.getAll();return Object.keys(e).length>0?t.filter(t=>eK(e,t)):t}notify(e){e3.batch(()=>{this.listeners.forEach(t=>{t(e)})})}onFocus(){e3.batch(()=>{this.getAll().forEach(e=>{e.onFocus()})})}onOnline(){e3.batch(()=>{this.getAll().forEach(e=>{e.onOnline()})})}constructor(e={}){super(),function(e,t,r){if(t.has(e))throw TypeError("Cannot initialize the same private elements twice on an object");t.set(e,r)}(this,F,{writable:!0,value:void 0}),this.config=e,function(e,t,r){var n=tM(e,t,"set");if(n.set)n.set.call(e,r);else{if(!n.writable)throw TypeError("attempted to set read only private field");n.value=r}}(this,F,new Map)}});function tj(e,t){if(t.has(e))throw TypeError("Cannot initialize the same private elements twice on an object")}function tU(e,t,r){if(!t.has(e))throw TypeError("attempted to "+r+" private field on non-instance");return t.get(e)}function tL(e,t){var r=tU(e,t,"get");return r.get?r.get.call(e):r.value}function tN(e,t,r){tj(e,t),t.set(e,r)}function tF(e,t,r){var n=tU(e,t,"set");if(n.set)n.set.call(e,r);else{if(!n.writable)throw TypeError("attempted to set read only private field");n.value=r}return r}function tq(e,t,r){if(!t.has(e))throw TypeError("attempted to get private field on non-instance");return r}var tW=(q=new WeakMap,W=new WeakMap,$=new WeakMap,B=new WeakMap,K=new WeakSet,class extends ty{setOptions(e){this.options=e,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(e){tL(this,W).includes(e)||(tL(this,W).push(e),this.clearGcTimeout(),tL(this,$).notify({type:"observerAdded",mutation:this,observer:e}))}removeObserver(e){tF(this,W,tL(this,W).filter(t=>t!==e)),this.scheduleGc(),tL(this,$).notify({type:"observerRemoved",mutation:this,observer:e})}optionalRemove(){tL(this,W).length||("pending"===this.state.status?this.scheduleGc():tL(this,$).remove(this))}continue(){var e,t;return null!=(e=null==(t=tL(this,B))?void 0:t.continue())?e:this.execute(this.state.variables)}async execute(e){var t,r,n,i,a,o,s,l,u,c,f,h,d,p,g,y,m,b,w;let S=()=>{tq(this,K,t$).call(this,{type:"continue"})},E={client:tL(this,q),meta:this.options.meta,mutationKey:this.options.mutationKey};tF(this,B,td({fn:()=>this.options.mutationFn?this.options.mutationFn(e,E):Promise.reject(Error("No mutationFn found")),onFail:(e,t)=>{tq(this,K,t$).call(this,{type:"failed",failureCount:e,error:t})},onPause:()=>{tq(this,K,t$).call(this,{type:"pause"})},onContinue:S,retry:null!=(t=this.options.retry)?t:0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>tL(this,$).canRun(this)}));let k="pending"===this.state.status,P=!tL(this,B).canStart();try{if(k)S();else{tq(this,K,t$).call(this,{type:"pending",variables:e,isPaused:P}),tL(this,$).config.onMutate&&await tL(this,$).config.onMutate(e,this,E);let t=await (null==(c=(f=this.options).onMutate)?void 0:c.call(f,e,E));t!==this.state.context&&tq(this,K,t$).call(this,{type:"pending",context:t,variables:e,isPaused:P})}let t=await tL(this,B).start();return await (null==(r=(n=tL(this,$).config).onSuccess)?void 0:r.call(n,t,e,this.state.context,this,E)),await (null==(i=(a=this.options).onSuccess)?void 0:i.call(a,t,e,this.state.context,E)),await (null==(o=(s=tL(this,$).config).onSettled)?void 0:o.call(s,t,null,this.state.variables,this.state.context,this,E)),await (null==(l=(u=this.options).onSettled)?void 0:l.call(u,t,null,e,this.state.context,E)),tq(this,K,t$).call(this,{type:"success",data:t}),t}catch(t){try{await (null==(h=(d=tL(this,$).config).onError)?void 0:h.call(d,t,e,this.state.context,this,E))}catch(e){Promise.reject(e)}try{await (null==(p=(g=this.options).onError)?void 0:p.call(g,t,e,this.state.context,E))}catch(e){Promise.reject(e)}try{await (null==(y=(m=tL(this,$).config).onSettled)?void 0:y.call(m,void 0,t,this.state.variables,this.state.context,this,E))}catch(e){Promise.reject(e)}try{await (null==(b=(w=this.options).onSettled)?void 0:b.call(w,void 0,t,e,this.state.context,E))}catch(e){Promise.reject(e)}throw tq(this,K,t$).call(this,{type:"error",error:t}),t}finally{tL(this,$).runNext(this)}}constructor(e){super(),function(e,t){tj(e,t),t.add(e)}(this,K),tN(this,q,{writable:!0,value:void 0}),tN(this,W,{writable:!0,value:void 0}),tN(this,$,{writable:!0,value:void 0}),tN(this,B,{writable:!0,value:void 0}),tF(this,q,e.client),this.mutationId=e.mutationId,tF(this,$,e.mutationCache),tF(this,W,[]),this.state=e.state||{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0},this.setOptions(e.options),this.scheduleGc()}});function t$(e){this.state=(t=>{switch(e.type){case"failed":return{...t,failureCount:e.failureCount,failureReason:e.error};case"pause":return{...t,isPaused:!0};case"continue":return{...t,isPaused:!1};case"pending":return{...t,context:e.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:e.isPaused,status:"pending",variables:e.variables,submittedAt:Date.now()};case"success":return{...t,data:e.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...t,data:void 0,error:e.error,failureCount:t.failureCount+1,failureReason:e.error,isPaused:!1,status:"error"}}})(this.state),e3.batch(()=>{tL(this,W).forEach(t=>{t.onMutationUpdate(e)}),tL(this,$).notify({mutation:this,type:"updated",action:e})})}function tB(e,t,r){if(!t.has(e))throw TypeError("attempted to "+r+" private field on non-instance");return t.get(e)}function tK(e,t){var r=tB(e,t,"get");return r.get?r.get.call(e):r.value}function tY(e,t,r){if(t.has(e))throw TypeError("Cannot initialize the same private elements twice on an object");t.set(e,r)}function tV(e,t,r){var n=tB(e,t,"set");if(n.set)n.set.call(e,r);else{if(!n.writable)throw TypeError("attempted to set read only private field");n.value=r}return r}var tQ=(Y=new WeakMap,V=new WeakMap,Q=new WeakMap,class extends e4{build(e,t,r){let n=new tW({client:e,mutationCache:this,mutationId:++function(e,t){var r=tB(e,t,"update");if(r.set){if(!r.get)throw TypeError("attempted to read set only private field");return"__destrWrapper"in r||(r.__destrWrapper={set value(v){r.set.call(e,v)},get value(){return r.get.call(e)}}),r.__destrWrapper}if(!r.writable)throw TypeError("attempted to set read only private field");return r}(this,Q).value,options:e.defaultMutationOptions(t),state:r});return this.add(n),n}add(e){tK(this,Y).add(e);let t=tH(e);if("string"==typeof t){let r=tK(this,V).get(t);r?r.push(e):tK(this,V).set(t,[e])}this.notify({type:"added",mutation:e})}remove(e){if(tK(this,Y).delete(e)){let t=tH(e);if("string"==typeof t){let r=tK(this,V).get(t);if(r)if(r.length>1){let t=r.indexOf(e);-1!==t&&r.splice(t,1)}else r[0]===e&&tK(this,V).delete(t)}}this.notify({type:"removed",mutation:e})}canRun(e){let t=tH(e);if("string"!=typeof t)return!0;{let r=tK(this,V).get(t),n=null==r?void 0:r.find(e=>"pending"===e.state.status);return!n||n===e}}runNext(e){let t=tH(e);if("string"!=typeof t)return Promise.resolve();{var r,n;let i=null==(n=tK(this,V).get(t))?void 0:n.find(t=>t!==e&&t.state.isPaused);return null!=(r=null==i?void 0:i.continue())?r:Promise.resolve()}}clear(){e3.batch(()=>{tK(this,Y).forEach(e=>{this.notify({type:"removed",mutation:e})}),tK(this,Y).clear(),tK(this,V).clear()})}getAll(){return Array.from(tK(this,Y))}find(e){let t={exact:!0,...e};return this.getAll().find(e=>eY(t,e))}findAll(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this.getAll().filter(t=>eY(e,t))}notify(e){e3.batch(()=>{this.listeners.forEach(t=>{t(e)})})}resumePausedMutations(){let e=this.getAll().filter(e=>e.state.isPaused);return e3.batch(()=>Promise.all(e.map(e=>e.continue().catch(eF))))}constructor(e={}){super(),tY(this,Y,{writable:!0,value:void 0}),tY(this,V,{writable:!0,value:void 0}),tY(this,Q,{writable:!0,value:void 0}),this.config=e,tV(this,Y,new Set),tV(this,V,new Map),tV(this,Q,0)}});function tH(e){var t;return null==(t=e.options.scope)?void 0:t.id}function tG(e,t,r){if(!t.has(e))throw TypeError("attempted to "+r+" private field on non-instance");return t.get(e)}function tJ(e,t){var r=tG(e,t,"get");return r.get?r.get.call(e):r.value}function tX(e,t,r){if(t.has(e))throw TypeError("Cannot initialize the same private elements twice on an object");t.set(e,r)}function tZ(e,t,r){var n=tG(e,t,"set");if(n.set)n.set.call(e,r);else{if(!n.writable)throw TypeError("attempted to set read only private field");n.value=r}return r}function t0(e,t){var r=tG(e,t,"update");if(r.set){if(!r.get)throw TypeError("attempted to read set only private field");return"__destrWrapper"in r||(r.__destrWrapper={set value(v){r.set.call(e,v)},get value(){return r.get.call(e)}}),r.__destrWrapper}if(!r.writable)throw TypeError("attempted to set read only private field");return r}var t1=(H=new WeakMap,G=new WeakMap,J=new WeakMap,X=new WeakMap,Z=new WeakMap,ee=new WeakMap,et=new WeakMap,er=new WeakMap,class{mount(){t0(this,ee).value++,1===tJ(this,ee)&&(tZ(this,et,tr.subscribe(async e=>{e&&(await this.resumePausedMutations(),tJ(this,H).onFocus())})),tZ(this,er,ts.subscribe(async e=>{e&&(await this.resumePausedMutations(),tJ(this,H).onOnline())})))}unmount(){var e,t;t0(this,ee).value--,0===tJ(this,ee)&&(null==(e=tJ(this,et))||e.call(this),tZ(this,et,void 0),null==(t=tJ(this,er))||t.call(this),tZ(this,er,void 0))}isFetching(e){return tJ(this,H).findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return tJ(this,G).findAll({...e,status:"pending"}).length}getQueryData(e){var t;let r=this.defaultQueryOptions({queryKey:e});return null==(t=tJ(this,H).get(r.queryHash))?void 0:t.state.data}ensureQueryData(e){let t=this.defaultQueryOptions(e),r=tJ(this,H).build(this,t),n=r.state.data;return void 0===n?this.fetchQuery(e):(e.revalidateIfStale&&r.isStaleByTime(e$(t.staleTime,r))&&this.prefetchQuery(t),Promise.resolve(n))}getQueriesData(e){return tJ(this,H).findAll(e).map(e=>{let{queryKey:t,state:r}=e;return[t,r.data]})}setQueryData(e,t,r){let n=this.defaultQueryOptions({queryKey:e}),i=tJ(this,H).get(n.queryHash),a=null==i?void 0:i.state.data,o="function"==typeof t?t(a):t;if(void 0!==o)return tJ(this,H).build(this,n).setData(o,{...r,manual:!0})}setQueriesData(e,t,r){return e3.batch(()=>tJ(this,H).findAll(e).map(e=>{let{queryKey:n}=e;return[n,this.setQueryData(n,t,r)]}))}getQueryState(e){var t;let r=this.defaultQueryOptions({queryKey:e});return null==(t=tJ(this,H).get(r.queryHash))?void 0:t.state}removeQueries(e){let t=tJ(this,H);e3.batch(()=>{t.findAll(e).forEach(e=>{t.remove(e)})})}resetQueries(e,t){let r=tJ(this,H);return e3.batch(()=>(r.findAll(e).forEach(e=>{e.reset()}),this.refetchQueries({type:"active",...e},t)))}cancelQueries(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r={revert:!0,...t};return Promise.all(e3.batch(()=>tJ(this,H).findAll(e).map(e=>e.cancel(r)))).then(eF).catch(eF)}invalidateQueries(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return e3.batch(()=>{var r,n;return(tJ(this,H).findAll(e).forEach(e=>{e.invalidate()}),(null==e?void 0:e.refetchType)==="none")?Promise.resolve():this.refetchQueries({...e,type:null!=(r=null!=(n=null==e?void 0:e.refetchType)?n:null==e?void 0:e.type)?r:"active"},t)})}refetchQueries(e){var t;let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n={...r,cancelRefetch:null==(t=r.cancelRefetch)||t};return Promise.all(e3.batch(()=>tJ(this,H).findAll(e).filter(e=>!e.isDisabled()&&!e.isStatic()).map(e=>{let t=e.fetch(void 0,n);return n.throwOnError||(t=t.catch(eF)),"paused"===e.state.fetchStatus?Promise.resolve():t}))).then(eF)}fetchQuery(e){let t=this.defaultQueryOptions(e);void 0===t.retry&&(t.retry=!1);let r=tJ(this,H).build(this,t);return r.isStaleByTime(e$(t.staleTime,r))?r.fetch(t):Promise.resolve(r.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(eF).catch(eF)}fetchInfiniteQuery(e){return e._type="infinite",this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(eF).catch(eF)}ensureInfiniteQueryData(e){return e._type="infinite",this.ensureQueryData(e)}resumePausedMutations(){return ts.isOnline()?tJ(this,G).resumePausedMutations():Promise.resolve()}getQueryCache(){return tJ(this,H)}getMutationCache(){return tJ(this,G)}getDefaultOptions(){return tJ(this,J)}setDefaultOptions(e){tZ(this,J,e)}setQueryDefaults(e,t){tJ(this,X).set(eQ(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){let t=[...tJ(this,X).values()],r={};return t.forEach(t=>{eH(e,t.queryKey)&&Object.assign(r,t.defaultOptions)}),r}setMutationDefaults(e,t){tJ(this,Z).set(eQ(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){let t=[...tJ(this,Z).values()],r={};return t.forEach(t=>{eH(e,t.mutationKey)&&Object.assign(r,t.defaultOptions)}),r}defaultQueryOptions(e){if(e._defaulted)return e;let t={...tJ(this,J).queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=eV(t.queryKey,t)),void 0===t.refetchOnReconnect&&(t.refetchOnReconnect="always"!==t.networkMode),void 0===t.throwOnError&&(t.throwOnError=!!t.suspense),!t.networkMode&&t.persister&&(t.networkMode="offlineFirst"),t.queryFn===e2&&(t.enabled=!1),t}defaultMutationOptions(e){return(null==e?void 0:e._defaulted)?e:{...tJ(this,J).mutations,...(null==e?void 0:e.mutationKey)&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){tJ(this,H).clear(),tJ(this,G).clear()}constructor(e={}){tX(this,H,{writable:!0,value:void 0}),tX(this,G,{writable:!0,value:void 0}),tX(this,J,{writable:!0,value:void 0}),tX(this,X,{writable:!0,value:void 0}),tX(this,Z,{writable:!0,value:void 0}),tX(this,ee,{writable:!0,value:void 0}),tX(this,et,{writable:!0,value:void 0}),tX(this,er,{writable:!0,value:void 0}),tZ(this,H,e.queryCache||new tz),tZ(this,G,e.mutationCache||new tQ),tZ(this,J,e.defaultOptions||{}),tZ(this,X,new Map),tZ(this,Z,new Map),tZ(this,ee,0)}});function t6(e,t){if(t.has(e))throw TypeError("Cannot initialize the same private elements twice on an object")}function t5(e,t,r){if(!t.has(e))throw TypeError("attempted to "+r+" private field on non-instance");return t.get(e)}function t2(e,t){var r=t5(e,t,"get");return r.get?r.get.call(e):r.value}function t8(e,t,r){t6(e,t),t.set(e,r)}function t3(e,t,r){var n=t5(e,t,"set");if(n.set)n.set.call(e,r);else{if(!n.writable)throw TypeError("attempted to set read only private field");n.value=r}return r}function t4(e,t,r){if(!t.has(e))throw TypeError("attempted to get private field on non-instance");return r}function t7(e,t){t6(e,t),t.add(e)}r(53834);var t9=(en=new WeakMap,ei=new WeakMap,ea=new WeakMap,eo=new WeakMap,es=new WeakMap,el=new WeakMap,eu=new WeakMap,ec=new WeakMap,ef=new WeakMap,eh=new WeakMap,ed=new WeakMap,ep=new WeakMap,ev=new WeakMap,eg=new WeakMap,ey=new WeakMap,em=new WeakSet,eb=new WeakSet,ew=new WeakSet,eS=new WeakSet,eE=new WeakSet,ek=new WeakSet,eP=new WeakSet,e_=new WeakSet,ex=new WeakSet,class extends e4{bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){1===this.listeners.size&&(t2(this,ei).addObserver(this),re(t2(this,ei),this.options)?t4(this,em,ri).call(this):this.updateResult(),t4(this,eE,rl).call(this))}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return rt(t2(this,ei),this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return rt(t2(this,ei),this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,t4(this,ek,ru).call(this),t4(this,eP,rc).call(this),t2(this,ei).removeObserver(this)}setOptions(e){let t=this.options,r=t2(this,ei);if(this.options=t2(this,en).defaultQueryOptions(e),void 0!==this.options.enabled&&"boolean"!=typeof this.options.enabled&&"function"!=typeof this.options.enabled&&"boolean"!=typeof eB(this.options.enabled,t2(this,ei)))throw Error("Expected enabled to be a boolean or a callback that returns a boolean");t4(this,e_,rf).call(this),t2(this,ei).setOptions(this.options),t._defaulted&&!eJ(this.options,t)&&t2(this,en).getQueryCache().notify({type:"observerOptionsUpdated",query:t2(this,ei),observer:this});let n=this.hasListeners();n&&rr(t2(this,ei),r,this.options,t)&&t4(this,em,ri).call(this),this.updateResult(),n&&(t2(this,ei)!==r||eB(this.options.enabled,t2(this,ei))!==eB(t.enabled,t2(this,ei))||e$(this.options.staleTime,t2(this,ei))!==e$(t.staleTime,t2(this,ei)))&&t4(this,eb,ra).call(this);let i=t4(this,ew,ro).call(this);n&&(t2(this,ei)!==r||eB(this.options.enabled,t2(this,ei))!==eB(t.enabled,t2(this,ei))||i!==t2(this,eg))&&t4(this,eS,rs).call(this,i)}getOptimisticResult(e){var t,r;let n=t2(this,en).getQueryCache().build(t2(this,en),e),i=this.createResult(n,e);return t=this,r=i,eJ(t.getCurrentResult(),r)||(t3(this,eo,i),t3(this,el,this.options),t3(this,es,t2(this,ei).state)),i}getCurrentResult(){return t2(this,eo)}trackResult(e,t){return new Proxy(e,{get:(e,r)=>(this.trackProp(r),null==t||t(r),"promise"===r&&(this.trackProp("data"),this.options.experimental_prefetchInRender||"pending"!==t2(this,eu).status||t2(this,eu).reject(Error("experimental_prefetchInRender feature flag is not enabled"))),Reflect.get(e,r))})}trackProp(e){t2(this,ey).add(e)}getCurrentQuery(){return t2(this,ei)}refetch(){let{...e}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this.fetch({...e})}fetchOptimistic(e){let t=t2(this,en).defaultQueryOptions(e),r=t2(this,en).getQueryCache().build(t2(this,en),t);return r.fetch().then(()=>this.createResult(r,t))}fetch(e){var t;return t4(this,em,ri).call(this,{...e,cancelRefetch:null==(t=e.cancelRefetch)||t}).then(()=>(this.updateResult(),t2(this,eo)))}createResult(e,t){let r,n=t2(this,ei),i=this.options,a=t2(this,eo),o=t2(this,es),s=t2(this,el),l=e!==n?e.state:t2(this,ea),{state:u}=e,c={...u},f=!1;if(t._optimisticResults){let r=this.hasListeners(),a=!r&&re(e,t),o=r&&rr(e,n,t,i);(a||o)&&(c={...c,...tC(u.data,e.options)}),"isRestoring"===t._optimisticResults&&(c.fetchStatus="idle")}let{error:h,errorUpdatedAt:d,status:p}=c;r=c.data;let g=!1;if(void 0!==t.placeholderData&&void 0===r&&"pending"===p){let e;if((null==a?void 0:a.isPlaceholderData)&&t.placeholderData===(null==s?void 0:s.placeholderData))e=a.data,g=!0;else{var y;e="function"==typeof t.placeholderData?t.placeholderData(null==(y=t2(this,ed))?void 0:y.state.data,t2(this,ed)):t.placeholderData}void 0!==e&&(p="success",r=e1(null==a?void 0:a.data,e,t),f=!0)}if(t.select&&void 0!==r&&!g)if(a&&r===(null==o?void 0:o.data)&&t.select===t2(this,ef))r=t2(this,eh);else try{t3(this,ef,t.select),r=t.select(r),r=e1(null==a?void 0:a.data,r,t),t3(this,eh,r),t3(this,ec,null)}catch(e){t3(this,ec,e)}t2(this,ec)&&(h=t2(this,ec),r=t2(this,eh),d=Date.now(),p="error");let m="fetching"===c.fetchStatus,b="pending"===p,w="error"===p,S=b&&m,E=void 0!==r,k={status:p,fetchStatus:c.fetchStatus,isPending:b,isSuccess:"success"===p,isError:w,isInitialLoading:S,isLoading:S,data:r,dataUpdatedAt:c.dataUpdatedAt,error:h,errorUpdatedAt:d,failureCount:c.fetchFailureCount,failureReason:c.fetchFailureReason,errorUpdateCount:c.errorUpdateCount,isFetched:e.isFetched(),isFetchedAfterMount:c.dataUpdateCount>l.dataUpdateCount||c.errorUpdateCount>l.errorUpdateCount,isFetching:m,isRefetching:m&&!b,isLoadingError:w&&!E,isPaused:"paused"===c.fetchStatus,isPlaceholderData:f,isRefetchError:w&&E,isStale:rn(e,t),refetch:this.refetch,promise:t2(this,eu),isEnabled:!1!==eB(t.enabled,e)};if(this.options.experimental_prefetchInRender){let t=void 0!==k.data,r="error"===k.status&&!t,i=e=>{r?e.reject(k.error):t&&e.resolve(k.data)},a=()=>{i(t3(this,eu,k.promise=tl()))},o=t2(this,eu);switch(o.status){case"pending":e.queryHash===n.queryHash&&i(o);break;case"fulfilled":(r||k.data!==o.value)&&a();break;case"rejected":r&&k.error===o.reason||a()}}return k}updateResult(){let e=t2(this,eo),t=this.createResult(t2(this,ei),this.options);if(t3(this,es,t2(this,ei).state),t3(this,el,this.options),void 0!==t2(this,es).data&&t3(this,ed,t2(this,ei)),eJ(t,e))return;t3(this,eo,t);let r=()=>{if(!e)return!0;let{notifyOnChangeProps:t}=this.options,r="function"==typeof t?t():t;if("all"===r||!r&&!t2(this,ey).size)return!0;let n=new Set(null!=r?r:t2(this,ey));return this.options.throwOnError&&n.add("error"),Object.keys(t2(this,eo)).some(t=>t2(this,eo)[t]!==e[t]&&n.has(t))};t4(this,ex,rh).call(this,{listeners:r()})}onQueryUpdate(){this.updateResult(),this.hasListeners()&&t4(this,eE,rl).call(this)}constructor(e,t){super(),t7(this,em),t7(this,eb),t7(this,ew),t7(this,eS),t7(this,eE),t7(this,ek),t7(this,eP),t7(this,e_),t7(this,ex),t8(this,en,{writable:!0,value:void 0}),t8(this,ei,{writable:!0,value:void 0}),t8(this,ea,{writable:!0,value:void 0}),t8(this,eo,{writable:!0,value:void 0}),t8(this,es,{writable:!0,value:void 0}),t8(this,el,{writable:!0,value:void 0}),t8(this,eu,{writable:!0,value:void 0}),t8(this,ec,{writable:!0,value:void 0}),t8(this,ef,{writable:!0,value:void 0}),t8(this,eh,{writable:!0,value:void 0}),t8(this,ed,{writable:!0,value:void 0}),t8(this,ep,{writable:!0,value:void 0}),t8(this,ev,{writable:!0,value:void 0}),t8(this,eg,{writable:!0,value:void 0}),t8(this,ey,{writable:!0,value:new Set}),this.options=t,t3(this,en,e),t3(this,ec,null),t3(this,eu,tl()),this.bindMethods(),this.setOptions(t)}});function re(e,t){return!1!==eB(t.enabled,e)&&void 0===e.state.data&&("error"!==e.state.status||!1!==eB(t.retryOnMount,e))||void 0!==e.state.data&&rt(e,t,t.refetchOnMount)}function rt(e,t,r){if(!1!==eB(t.enabled,e)&&"static"!==e$(t.staleTime,e)){let n="function"==typeof r?r(e):r;return"always"===n||!1!==n&&rn(e,t)}return!1}function rr(e,t,r,n){return(e!==t||!1===eB(n.enabled,e))&&(!r.suspense||"error"!==e.state.status)&&rn(e,r)}function rn(e,t){return!1!==eB(t.enabled,e)&&e.isStaleByTime(e$(t.staleTime,e))}function ri(e){t4(this,e_,rf).call(this);let t=t2(this,ei).fetch(this.options,e);return(null==e?void 0:e.throwOnError)||(t=t.catch(eF)),t}function ra(){t4(this,ek,ru).call(this);let e=e$(this.options.staleTime,t2(this,ei));if(tu.isServer()||t2(this,eo).isStale||!eq(e))return;let t=eW(t2(this,eo).dataUpdatedAt,e);t3(this,ep,eL.setTimeout(()=>{t2(this,eo).isStale||this.updateResult()},t+1))}function ro(){var e;return null!=(e="function"==typeof this.options.refetchInterval?this.options.refetchInterval(t2(this,ei)):this.options.refetchInterval)&&e}function rs(e){t4(this,eP,rc).call(this),t3(this,eg,e),!tu.isServer()&&!1!==eB(this.options.enabled,t2(this,ei))&&eq(t2(this,eg))&&0!==t2(this,eg)&&t3(this,ev,eL.setInterval(()=>{(this.options.refetchIntervalInBackground||tr.isFocused())&&t4(this,em,ri).call(this)},t2(this,eg)))}function rl(){t4(this,eb,ra).call(this),t4(this,eS,rs).call(this,t4(this,ew,ro).call(this))}function ru(){void 0!==t2(this,ep)&&(eL.clearTimeout(t2(this,ep)),t3(this,ep,void 0))}function rc(){void 0!==t2(this,ev)&&(eL.clearInterval(t2(this,ev)),t3(this,ev,void 0))}function rf(){let e=t2(this,en).getQueryCache().build(t2(this,en),this.options);if(e===t2(this,ei))return;let t=t2(this,ei);t3(this,ei,e),t3(this,ea,e.state),this.hasListeners()&&(null==t||t.removeObserver(this),e.addObserver(this))}function rh(e){e3.batch(()=>{e.listeners&&this.listeners.forEach(e=>{e(t2(this,eo))}),t2(this,en).getQueryCache().notify({query:t2(this,ei),type:"observerResultsUpdated"})})}var rd=class extends t9{bindMethods(){super.bindMethods(),this.fetchNextPage=this.fetchNextPage.bind(this),this.fetchPreviousPage=this.fetchPreviousPage.bind(this)}setOptions(e){e._type="infinite",super.setOptions(e)}getOptimisticResult(e){return e._type="infinite",super.getOptimisticResult(e)}fetchNextPage(e){return this.fetch({...e,meta:{fetchMore:{direction:"forward"}}})}fetchPreviousPage(e){return this.fetch({...e,meta:{fetchMore:{direction:"backward"}}})}createResult(e,t){var r,n,i,a;let{state:o}=e,s=super.createResult(e,t),{isFetching:l,isRefetching:u,isError:c,isRefetchError:f}=s,h=null==(n=o.fetchMeta)||null==(r=n.fetchMore)?void 0:r.direction,d=c&&"forward"===h,p=l&&"forward"===h,g=c&&"backward"===h,y=l&&"backward"===h;return{...s,fetchNextPage:this.fetchNextPage,fetchPreviousPage:this.fetchPreviousPage,hasNextPage:!!(i=o.data)&&null!=tm(t,i),hasPreviousPage:!!(a=o.data)&&!!t.getPreviousPageParam&&null!=tb(t,a),isFetchNextPageError:d,isFetchingNextPage:p,isFetchPreviousPageError:g,isFetchingPreviousPage:y,isRefetchError:f&&!d&&!g,isRefetching:u&&!p&&!y}}constructor(e,t){super(e,t)}},rp=r(50784);function rv(e,t){if(!e)throw"string"==typeof t?Error(t):Error("".concat(t.displayName," not found"))}let rg=(e,t)=>{let{assertCtxFn:r=rv}=t||{},n=eM.createContext(void 0);return n.displayName=e,[n,()=>{let t=eM.useContext(n);return r(t,"".concat(e," not found")),t.value},()=>{let e=eM.useContext(n);return e?e.value:{}}]},[ry,rm]=rg("ClerkInstanceContext"),[rb,rw]=rg("InitialStateContext");function rS(e){let{children:t,initialState:r}=e,[n]=(0,eM.useState)(r),i=eM.useMemo(()=>({value:n}),[n]);return eM.createElement(rb.Provider,{value:i},t)}function rE(){let e=rw();if(e instanceof Promise)if(0)return eM.use(e);else throw Error("initialState cannot be a promise if React version is less than 19");return e}let rk=eM.createContext({}),[rP,r_]=rg("CheckoutContext"),rx=e=>{let{children:t,...r}=e;return eM.createElement(rP.Provider,{value:{value:r}},t)};function rO(e){if(!eM.useContext(ry)){if("function"==typeof e)return void e();throw Error("".concat(e," can only be used within the <ClerkProvider /> component.\n\nPossible fixes:\n1. Ensure that the <ClerkProvider /> is correctly wrapping your application where this component is used.\n2. Check for multiple versions of the `@clerk/shared` package in your project. Use a tool like `npm ls @clerk/shared` to identify multiple versions, and update your dependencies to only rely on one.\n\nLearn more: https://clerk.com/docs/components/clerk-provider").trim())}}function rC(e){return{queryKey:[e.stablePrefix,e.authenticated,e.tracked,e.untracked],invalidationKey:[e.stablePrefix,e.authenticated,e.tracked],stableKey:e.stablePrefix,authenticated:e.authenticated}}function rR(e){if(e)return function(e){return e}}let rA=!1,rI=f=new Proxy(function(){},{get(e,t){if("then"!==t)return"toString"===t?()=>"[".concat("ClerkMockQueryClient","]"):t===Symbol.toPrimitive?()=>0:f},apply:()=>f,construct:()=>f,has:()=>!1,set:()=>!1}),rT=()=>{let e=function(){if("u">typeof window)return rA||(n=new t1,rA=!0),n}();return[null!=e?e:rI,!!e]};function rM(e,t){let[r,n]=rT(),i=n?r.defaultQueryOptions(e):e;i._optimisticResults="optimistic";let a=eM.useMemo(()=>new t(r,i),[r]),o=a.getOptimisticResult(i),s=!1!==e.subscribed;return(eM.useSyncExternalStore(eM.useCallback(e=>{let t=s?a.subscribe(e3.batchCalls(e)):eF;return a.updateResult(),t},[a,s]),()=>a.getCurrentResult(),()=>a.getCurrentResult()),eM.useEffect(()=>{a.setOptions(i)},[i,a]),n)?i.notifyOnChangeProps?o:a.trackResult(o):{data:void 0,error:null,isLoading:!1!==e.enabled,isFetching:!1,status:"pending"}}function rD(e){return rM(e,t9)}function rz(e){var t;let r,n,{isSignedOut:i,stableKeys:a,authenticated:o=!0,onCleanup:s}=e,l=(0,eM.useRef)(a),[u]=rT(),c=(t=!i,r=(0,eM.useRef)(t),n=(0,eM.useRef)(null),r.current!==t&&(n.current=r.current,r.current=t),n.current);(0,eM.useEffect)(()=>{!0===o&&c&&!0===i&&(u.removeQueries({predicate:e=>{let[t,r]=e.queryKey;return!0===r&&"string"==typeof t&&(Array.isArray(l.current)?l.current.includes(t):l.current===t)}}),null==s||s())},[o,i,c,u])}let rj=(e,t)=>{var r,n,i;let a="boolean"==typeof e&&e,o=(0,eM.useRef)(a?t.initialPage:null!=(r=null==e?void 0:e.initialPage)?r:t.initialPage),s=(0,eM.useRef)(a?t.pageSize:null!=(n=null==e?void 0:e.pageSize)?n:t.pageSize),l={};for(let r of Object.keys(t))l[r]=a?t[r]:null!=(i=null==e?void 0:e[r])?i:t[r];return{...l,initialPage:o.current,pageSize:s.current}},rU=e=>{var t,r,n,i,a,o,s,l,u;let c,{fetcher:f,config:h,keys:d}=e,[p,g]=(0,eM.useState)(null!=(t=h.initialPage)?t:1),y=(0,eM.useRef)(null!=(r=h.initialPage)?r:1),m=(0,eM.useRef)(null!=(n=h.pageSize)?n:10),b=null==(i=h.enabled)||i,w=h.isSignedIn,S=null!=(a=h.infinite)&&a,E="cache"===h.__experimental_mode,k=null!=(o=h.keepPreviousData)&&o,[P]=rT(),_=b&&!!f&&!E&&!1!==w,[x,O]=(0,eM.useState)(0),C=(0,eM.useCallback)(e=>{O(e)},[]),R=(0,eM.useMemo)(()=>{let[e,t,r,n]=d.queryKey;return[e,t,r,{...n,args:{...n.args,initialPage:p,pageSize:m.current}}]},[d.queryKey,p]),A=rD({queryKey:R,queryFn:e=>{let{queryKey:t}=e,{args:r}=t[3];if(f)return f(r)},staleTime:6e4,enabled:_&&!S,placeholderData:rR(k)}),I=(0,eM.useMemo)(()=>{let[e,t,r,n]=d.queryKey;return[e+"-inf",t,r,n]},[d.queryKey]),T=rM({queryKey:I,initialPageParam:null!=(s=h.initialPage)?s:1,getNextPageParam:(e,t,r)=>{var n,i;let a=null!=(n=null==e?void 0:e.total_count)?n:0;return(t.length+(h.initialPage?h.initialPage-1:0))*(null!=(i=h.pageSize)?i:10)<a?r+1:void 0},queryFn:e=>{let{pageParam:t,queryKey:r}=e,{args:n}=r[3];if(f)return f({...n,initialPage:t,pageSize:m.current})},staleTime:6e4,enabled:_&&S},rd);rz({isSignedOut:!1===w,authenticated:d.authenticated,stableKeys:[c=d.stableKey,"".concat(c,"-inf")],onCleanup:()=>{g(y.current),Promise.resolve().then(()=>C(e=>e+1))}});let{data:M,count:D,page:z}=(0,eM.useMemo)(()=>{var e,t,r,n,i,a,o,s;if(S){let e=P.getQueryData(I),l=_?null!=(t=null!=(r=null==(o=T.data)?void 0:o.pages)?r:null==e?void 0:e.pages)?t:[]:null!=(n=null==e?void 0:e.pages)?n:[],u=Array.isArray(l)?l.filter(Boolean):[];return{data:null!=(i=u.map(e=>null==e?void 0:e.data).flat().filter(Boolean))?i:[],count:null!=(a=null==(s=u[u.length-1])?void 0:s.total_count)?a:0,page:u.length>0?u.length:y.current}}let l=_&&null!=(e=A.data)?e:P.getQueryData(R);return{data:Array.isArray(null==l?void 0:l.data)?l.data:[],count:"number"==typeof(null==l?void 0:l.total_count)?l.total_count:0,page:p}},[_,x,S,null==(u=T.data)?void 0:u.pages,A.data,P,I,R,p]),j=(0,eM.useCallback)(e=>{if(S){var t,r,n;let i=Math.max(0,"function"==typeof e?e(z):e),a=P.getQueryData(I);i-(null!=(t=null!=(r=null==(n=T.data)?void 0:n.pages)?r:null==a?void 0:a.pages)?t:[]).length>0&&T.fetchNextPage({cancelRefetch:!1});return}return g(e)},[T,z,S,P,I]),U=S?T.isLoading:A.isLoading,L=S?T.isFetching:A.isFetching,N=null!=(l=S?T.error:A.error)?l:null,F=(0,eM.useCallback)(()=>{S?T.fetchNextPage({cancelRefetch:!1}):g(e=>Math.max(0,e+1))},[T,S]),q=(0,eM.useCallback)(()=>{S||g(e=>Math.max(0,e-1))},[S]),W=(y.current-1)*m.current,$=Math.ceil((D-W)/m.current),B=S?!!T.hasNextPage:D-W>z*m.current,K=S?!!T.hasPreviousPage:(z-1)*m.current>W;return{data:M,count:D,error:N,isLoading:U,isFetching:L,isError:!!N,page:z,pageCount:$,fetchPage:j,fetchNext:F,fetchPrevious:q,hasNextPage:B,hasPreviousPage:K,revalidate:async()=>{await P.invalidateQueries({queryKey:d.invalidationKey});let[e,...t]=d.invalidationKey;return P.invalidateQueries({queryKey:[e+"-inf",...t]})},setData:e=>(S?(P.setQueryData(I,function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=Array.isArray(null==t?void 0:t.pages)?t.pages:[],n="function"==typeof e?e(r):e;return{...t,pages:n}}),C(e=>e+1)):(P.setQueryData(R,function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{data:[],total_count:0};return"function"==typeof e?e(t):e}),C(e=>e+1)),Promise.resolve())}};function rL(e){var t,r,n;rO("useAPIKeys");let i=rj(e,{initialPage:1,pageSize:10,keepPreviousData:!1,infinite:!1,subject:"",query:"",enabled:!0}),a=rm();null==(r=a.telemetry)||r.record((0,eA.a)("useAPIKeys"));let o={initialPage:i.initialPage,pageSize:i.pageSize,...i.subject?{subject:i.subject}:{},...i.query?{query:i.query}:{}},s=(null==(t=i.enabled)||t)&&a.loaded;return rU({fetcher:(null==(n=a.apiKeys)?void 0:n.getAll)?e=>a.apiKeys.getAll({...e,subject:i.subject}):void 0,config:{keepPreviousData:i.keepPreviousData,infinite:i.infinite,enabled:s,isSignedIn:null!==a.user,initialPage:i.initialPage,pageSize:i.pageSize},keys:rC({stablePrefix:"apiKeys",authenticated:!0,tracked:{subject:i.subject},untracked:{args:o}})})}function rN(){let e=rm(),t=rE(),r=(0,eM.useCallback)(()=>null==t?void 0:t.user,[null==t?void 0:t.user]);return(0,eM.useSyncExternalStore)((0,eM.useCallback)(t=>e.addListener(t,{skipInitialEmit:!0}),[e]),(0,eM.useCallback)(()=>e.loaded&&e.__internal_lastEmittedResources?e.__internal_lastEmittedResources.user:r(),[e,r]),r)}let rF="useOAuthConsent";function rq(e){var t,r,n;rO(rF);let{oauthClientId:i,scope:a,redirectUri:o,keepPreviousData:s=!0,enabled:l=!0}=e,u=rm(),c=rN(),f=(null!=i?i:"").trim();null==(n=u.telemetry)||n.record((0,eA.a)(rF));let{queryKey:h}=function(e){let{userId:t,oauthClientId:r,scope:n,redirectUri:i}=e;return(0,eM.useMemo)(()=>rC({stablePrefix:"oauthConsentInfo",authenticated:!0,tracked:{userId:null!=t?t:null},untracked:{args:{oauthClientId:r,...void 0!==n&&{scope:n},...void 0!==i&&{redirectUri:i}}}}),[t,r,n,i])}({userId:null!=(t=null==c?void 0:c.id)?t:null,oauthClientId:f,scope:a,redirectUri:o}),d=f.length>0,p=!!c&&d&&l&&u.loaded,g=rD({queryKey:h,queryFn:()=>{var e,t;return e=u,t={oauthClientId:f,scope:a,redirectUri:o},e.oauthApplication.getConsentInfo(t)},enabled:p,placeholderData:rR(s&&p)});return{data:g.data,error:null!=(r=g.error)?r:null,isLoading:g.isLoading,isFetching:g.isFetching}}function rW(){let e=rm(),t=rE(),r=(0,eM.useCallback)(()=>null==t?void 0:t.organization,[null==t?void 0:t.organization]);return(0,eM.useSyncExternalStore)((0,eM.useCallback)(t=>e.addListener(t,{skipInitialEmit:!0}),[e]),(0,eM.useCallback)(()=>e.loaded&&e.__internal_lastEmittedResources?e.__internal_lastEmittedResources.organization:r(),[e,r]),r)}function r$(){let e=rm(),t=rE(),r=(0,eM.useCallback)(()=>{var e;let r,n,i,a,o;return t?(r=t.userId,n=t.user,i=t.sessionId,a=t.sessionStatus,o=t.sessionClaims,e={userId:r,user:n,sessionId:i,session:t.session,sessionStatus:a,sessionClaims:o,organization:t.organization,orgId:t.orgId,orgRole:t.orgRole,orgPermissions:t.orgPermissions,orgSlug:t.orgSlug,actor:t.actor,factorVerificationAge:t.factorVerificationAge},void 0===e)?void 0:e.session:void 0},[t]);return(0,eM.useSyncExternalStore)((0,eM.useCallback)(t=>e.addListener(t,{skipInitialEmit:!0}),[e]),(0,eM.useCallback)(()=>e.loaded&&e.__internal_lastEmittedResources?e.__internal_lastEmittedResources.session:r(),[e,r]),r)}let rB=()=>(rO("useClerk"),rm());function rK(e){let t=rB(),r=(0,eM.useRef)(!1);(0,eM.useEffect)(()=>{var n;r.current||(r.current=!0,null==(n=t.__internal_attemptToEnableEnvironmentSetting)||n.call(t,{for:"organizations",caller:e}))},[t,e])}let rY={data:void 0,count:void 0,error:void 0,isLoading:!1,isFetching:!1,isError:!1,page:void 0,pageCount:void 0,fetchPage:void 0,fetchNext:void 0,fetchPrevious:void 0,hasNextPage:!1,hasPreviousPage:!1,revalidate:void 0,setData:void 0};function rV(e){var t,r,n;let{domains:i,membershipRequests:a,memberships:o,invitations:s}=e||{};rO("useOrganization"),rK("useOrganization");let l=rW(),u=r$(),c=rj(i,{initialPage:1,pageSize:10,keepPreviousData:!1,infinite:!1,enrollmentMode:void 0}),f=rj(a,{initialPage:1,pageSize:10,status:"pending",keepPreviousData:!1,infinite:!1}),h=rj(o,{initialPage:1,pageSize:10,role:void 0,keepPreviousData:!1,infinite:!1,query:void 0}),d=rj(s,{initialPage:1,pageSize:10,status:["pending"],keepPreviousData:!1,infinite:!1}),p=rm();null==(t=p.telemetry)||t.record((0,eA.a)("useOrganization"));let g=void 0===i?void 0:{initialPage:c.initialPage,pageSize:c.pageSize,enrollmentMode:c.enrollmentMode},y=void 0===a?void 0:{initialPage:f.initialPage,pageSize:f.pageSize,status:f.status},m=void 0===o?void 0:{initialPage:h.initialPage,pageSize:h.pageSize,role:h.role,query:h.query},b=void 0===s?void 0:{initialPage:d.initialPage,pageSize:d.pageSize,status:d.status},w=rU({fetcher:null==l?void 0:l.getDomains,config:{keepPreviousData:c.keepPreviousData,infinite:c.infinite,enabled:!!g,isSignedIn:null!==l,initialPage:c.initialPage,pageSize:c.pageSize},keys:rC({stablePrefix:"domains",authenticated:!0,tracked:{organizationId:null==l?void 0:l.id},untracked:{args:g}})}),S=rU({fetcher:null==l?void 0:l.getMembershipRequests,config:{keepPreviousData:f.keepPreviousData,infinite:f.infinite,enabled:!!y,isSignedIn:null!==l,initialPage:f.initialPage,pageSize:f.pageSize},keys:rC({stablePrefix:"membershipRequests",authenticated:!0,tracked:{organizationId:null==l?void 0:l.id},untracked:{args:y}})}),E=rU({fetcher:null==l?void 0:l.getMemberships,config:{keepPreviousData:h.keepPreviousData,infinite:h.infinite,enabled:!!m,isSignedIn:null!==l,initialPage:h.initialPage,pageSize:h.pageSize},keys:rC({stablePrefix:"memberships",authenticated:!0,tracked:{organizationId:null==l?void 0:l.id},untracked:{args:m}})}),k=rU({fetcher:null==l?void 0:l.getInvitations,config:{keepPreviousData:d.keepPreviousData,infinite:d.infinite,enabled:!!b,isSignedIn:null!==l,initialPage:d.initialPage,pageSize:d.pageSize},keys:rC({stablePrefix:"invitations",authenticated:!0,tracked:{organizationId:null==l?void 0:l.id},untracked:{args:b}})});return void 0===l?{isLoaded:!1,organization:void 0,membership:void 0,domains:rY,membershipRequests:rY,memberships:rY,invitations:rY}:null===l?{isLoaded:!0,organization:null,membership:null,domains:null,membershipRequests:null,memberships:null,invitations:null}:!p.loaded&&l?{isLoaded:!0,organization:l,membership:void 0,domains:rY,membershipRequests:rY,memberships:rY,invitations:rY}:{isLoaded:p.loaded,organization:l,membership:(r=u.user.organizationMemberships,n=l.id,r.find(e=>e.organization.id===n)),domains:w,membershipRequests:S,memberships:E,invitations:k}}let rQ="useOrganizationCreationDefaults";function rH(){var e,t,r,n,i,a,o;let s=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};rO(rQ);let{keepPreviousData:l=!0,enabled:u=!0}=s,c=rm(),f=rN(),h=null!=(e=null==(a=c.__internal_environment)||null==(i=a.organizationSettings)||null==(n=i.organizationCreationDefaults)?void 0:n.enabled)&&e;null==(o=c.telemetry)||o.record((0,eA.a)(rQ));let{queryKey:d}=function(e){let{userId:t}=e;return(0,eM.useMemo)(()=>rC({stablePrefix:"organizationCreationDefaults",authenticated:!!t,tracked:{userId:null!=t?t:null},untracked:{args:{}}}),[t])}({userId:null!=(t=null==f?void 0:f.id)?t:null}),p=!!f&&u&&h&&c.loaded,g=rD({queryKey:d,queryFn:null==f?void 0:f.getOrganizationCreationDefaults,enabled:p,placeholderData:rR(l)});return{data:g.data,error:null!=(r=g.error)?r:null,isLoading:g.isLoading,isFetching:g.isFetching}}let rG={data:void 0,count:void 0,error:void 0,isLoading:!1,isFetching:!1,isError:!1,page:void 0,pageCount:void 0,fetchPage:void 0,fetchNext:void 0,fetchPrevious:void 0,hasNextPage:!1,hasPreviousPage:!1,revalidate:void 0,setData:void 0};function rJ(e){var t;let{userMemberships:r,userInvitations:n,userSuggestions:i}=e||{};rO("useOrganizationList"),rK("useOrganizationList");let a=rj(r,{initialPage:1,pageSize:10,keepPreviousData:!1,infinite:!1}),o=rj(n,{initialPage:1,pageSize:10,status:"pending",keepPreviousData:!1,infinite:!1}),s=rj(i,{initialPage:1,pageSize:10,status:"pending",keepPreviousData:!1,infinite:!1}),l=rm(),u=rN();null==(t=l.telemetry)||t.record((0,eA.a)("useOrganizationList"));let c=void 0===r?void 0:{initialPage:a.initialPage,pageSize:a.pageSize},f=void 0===n?void 0:{initialPage:o.initialPage,pageSize:o.pageSize,status:o.status},h=void 0===i?void 0:{initialPage:s.initialPage,pageSize:s.pageSize,status:s.status},d=!!(l.loaded&&u),p=rU({fetcher:null==u?void 0:u.getOrganizationMemberships,config:{keepPreviousData:a.keepPreviousData,infinite:a.infinite,enabled:!!c,isSignedIn:null!==u,initialPage:a.initialPage,pageSize:a.pageSize},keys:rC({stablePrefix:"userMemberships",authenticated:!0,tracked:{userId:null==u?void 0:u.id},untracked:{args:c}})}),g=rU({fetcher:null==u?void 0:u.getOrganizationInvitations,config:{keepPreviousData:o.keepPreviousData,infinite:o.infinite,enabled:!!f,isSignedIn:null!==u,initialPage:o.initialPage,pageSize:o.pageSize},keys:rC({stablePrefix:"userInvitations",authenticated:!0,tracked:{userId:null==u?void 0:u.id},untracked:{args:f}})}),y=rU({fetcher:null==u?void 0:u.getOrganizationSuggestions,config:{keepPreviousData:s.keepPreviousData,infinite:s.infinite,enabled:!!h,isSignedIn:null!==u,initialPage:s.initialPage,pageSize:s.pageSize},keys:rC({stablePrefix:"userSuggestions",authenticated:!0,tracked:{userId:null==u?void 0:u.id},untracked:{args:h}})});return d?{isLoaded:d,setActive:l.setActive,createOrganization:l.createOrganization,userMemberships:p,userInvitations:g,userSuggestions:y}:{isLoaded:!1,createOrganization:void 0,setActive:void 0,userMemberships:rG,userInvitations:rG,userSuggestions:rG}}let rX="u">typeof window?eM.useLayoutEffect:eM.useEffect,rZ="useSession",r0=()=>{var e;rO(rZ);let t=r$(),r=rm();return(null==(e=r.telemetry)||e.record((0,eA.a)(rZ)),void 0===t)?{isLoaded:!1,isSignedIn:void 0,session:void 0}:null===t?{isLoaded:!0,isSignedIn:!1,session:null}:{isLoaded:!0,isSignedIn:r.isSignedIn,session:t}},r1,r6=()=>r1;function r5(){let e=rm();return(0,eM.useSyncExternalStore)((0,eM.useCallback)(t=>e.addListener(t,{skipInitialEmit:!0}),[e]),(0,eM.useCallback)(()=>{if(e.loaded&&e.__internal_lastEmittedResources)return e.__internal_lastEmittedResources.client},[e]),r6)}let r2="useUser";function r8(){var e;rO(r2);let t=rN();return(null==(e=rm().telemetry)||e.record((0,eA.a)(r2)),void 0===t)?{isLoaded:!1,isSignedIn:void 0,user:void 0}:null===t?{isLoaded:!0,isSignedIn:!1,user:null}:{isLoaded:!0,isSignedIn:!0,user:t}}let r3=(e,t)=>{let r;return eM.useMemo(e,(r=eM.useRef(t),(0,rp.j)(t,r.current)||(r.current=t),eM.useMemo(()=>r.current,[r.current])))};async function r4(e){try{let t=await e;if(t instanceof Response)return t.json();return t}catch(e){if((0,eC.C)(e)&&e.errors.find(e=>{let{code:t}=e;return"session_reverification_required"===t}))return{clerk_error:{type:"forbidden",reason:p,metadata:{reverification:void 0}}};throw e}}let r7=(e,t)=>{let{__internal_openReverification:r,telemetry:n}=rB(),i=(0,eM.useRef)(e),a=(0,eM.useRef)(t);return null==n||n.record((0,eA.a)("useReverification",{onNeedsReverification:!!(null==t?void 0:t.onNeedsReverification)})),rX(()=>{i.current=e,a.current=t}),(0,eM.useCallback)(function(){for(var e,t=arguments.length,o=Array(t),s=0;s<t;s++)o[s]=arguments[s];return(e={openUIComponent:r,telemetry:n,...a.current},function(t){return async function(){for(var r,n,i,a,o,s=arguments.length,l=Array(s),u=0;u<s;u++)l[u]=arguments[u];let c=await r4(t(...l));if((r=c)&&"object"==typeof r&&"clerk_error"in r&&(null==(n=r.clerk_error)?void 0:n.type)==="forbidden"&&(null==(i=r.clerk_error)?void 0:i.reason)===p){let r=(0,eI.t)(),n=(e=>{let t,r;if(!e)return!1;let n="string"==typeof e&&m.has(e),i="object"==typeof e&&(t=e.level,y.has(t))&&"number"==typeof(r=e.afterMinutes)&&r>0;return(!!n||!!i)&&(e=>"string"==typeof e?g[e]:e).bind(null,e)})(null==(a=c.clerk_error.metadata)?void 0:a.reverification),i=n?n().level:void 0,s=()=>{r.reject(new eO.t("User cancelled attempted verification",{code:"reverification_cancelled"}))},u=()=>{r.resolve(!0)};void 0===e.onNeedsReverification?null==(o=e.openUIComponent)||o.call(e,{level:i,afterVerification:u,afterVerificationCancelled:s}):e.onNeedsReverification({cancel:s,complete:u,level:i}),await r.promise,c=await r4(t(...l))}return c}})(i.current)(...o)},[r,n])};function r9(e){var t,r;let n=rm(),i=null==(t=null==e?void 0:e.enabled)||t,a=n.__internal_environment,o=rN(),s=rW(),l=null==a?void 0:a.commerceSettings.billing.user.enabled,u=null==a?void 0:a.commerceSettings.billing.organization.enabled,c=(null==e?void 0:e.for)==="organization"?u:(null==e?void 0:e.for)==="user"?l:l||u,f=(null==e?void 0:e.for)==="organization",h=null!=(r=null==e?void 0:e.authenticated)&&!r||(!f||!!(null==s?void 0:s.id))&&!!(null==o?void 0:o.id);return c&&i&&n.loaded&&h}function ne(e){let{hookName:t,resourceType:r,useFetcher:n,options:i}=e;return function(e){var a;let{for:o,enabled:s,...l}=e||{},u=o||"user";rO(t);let c=n(u),f=rj(l,{initialPage:1,pageSize:10,keepPreviousData:!1,infinite:!1,__experimental_mode:void 0}),h=rm(),d=rN(),p=rW();null==(a=h.telemetry)||a.record((0,eA.a)(t));let g="organization"===u,y=r9({for:u,enabled:s,authenticated:!(null==i?void 0:i.unauthenticated)}),m=void 0===l?void 0:{initialPage:f.initialPage,pageSize:f.pageSize,...(null==i?void 0:i.unauthenticated)?{}:g?{orgId:null==p?void 0:p.id}:{}},b=!!m&&h.loaded&&!!y;return rU({fetcher:c,config:{keepPreviousData:f.keepPreviousData,infinite:f.infinite,enabled:b,...(null==i?void 0:i.unauthenticated)?{}:{isSignedIn:null!==d},__experimental_mode:f.__experimental_mode,initialPage:f.initialPage,pageSize:f.pageSize},keys:rC({stablePrefix:r,authenticated:!(null==i?void 0:i.unauthenticated),tracked:(null==i?void 0:i.unauthenticated)?{for:u}:{userId:null==d?void 0:d.id,...g?{orgId:null==p?void 0:p.id}:{}},untracked:{args:m}})})}}let nt=ne({hookName:"useStatements",resourceType:"billing-statements",useFetcher:()=>{let e=rm();if(e.loaded)return e.billing.getStatements}}),nr=ne({hookName:"usePaymentAttempts",resourceType:"billing-payment-attempts",useFetcher:()=>{let e=rm();if(e.loaded)return e.billing.getPaymentAttempts}}),nn=ne({hookName:"usePaymentMethods",resourceType:"billing-payment-methods",useFetcher:e=>{let t=rW(),r=rN();return"organization"===e?null==t?void 0:t.getPaymentMethods:null==r?void 0:r.getPaymentMethods}}),ni=ne({hookName:"usePlans",resourceType:"billing-plans",useFetcher:e=>{let t=rm();if(t.loaded)return r=>t.billing.getPlans({...r,for:e})},options:{unauthenticated:!0}}),na="useSubscription";function no(e){var t,r;rO(na);let n=rm(),i=rN(),a=rW(),o=r9(e),s=(0,eM.useRef)(!1);(0,eM.useEffect)(()=>{!s.current&&(null==n?void 0:n.telemetry)&&(n.telemetry.record((0,eA.a)(na)),s.current=!0)},[n]);let l=null!=(t=null==e?void 0:e.keepPreviousData)&&t,[u]=rT(),{queryKey:c,invalidationKey:f,stableKey:h,authenticated:d}=function(e){let{userId:t,orgId:r,for:n}=e;return(0,eM.useMemo)(()=>{let e="organization"===n?r:void 0;return rC({stablePrefix:"billing-subscription",authenticated:!0,tracked:{userId:t,orgId:e},untracked:{args:{orgId:e}}})},[t,r,n])}({userId:null==i?void 0:i.id,orgId:null==a?void 0:a.id,for:null==e?void 0:e.for}),p=!!((null==i?void 0:i.id)&&o);rz({isSignedOut:null===i,authenticated:d,stableKeys:h});let g=rD({queryKey:c,queryFn:e=>{let{queryKey:t}=e,r=t[3];return n.billing.getSubscription(r.args)},staleTime:6e4,enabled:p,placeholderData:rR(l&&p)}),y=(0,eM.useCallback)(()=>u.invalidateQueries({queryKey:f}),[u,f]);return{data:g.data,error:null!=(r=g.error)?r:void 0,isLoading:g.isLoading,isFetching:g.isFetching,revalidate:y}}let ns=e=>{let t=r_(),{for:r,planId:n,planPeriod:i,seatsQuantity:a,priceId:o}=e||t,s=rW(),{isLoaded:l,user:u}=r8(),c=rm();if(null===u&&l)throw Error('Clerk: Ensure that `useCheckout` is inside a component wrapped with `<Show when="signed-in" />`.');if(l&&"organization"===r&&null===s)throw Error("Clerk: Ensure your flow checks for an active organization. Retrieve `orgId` from `useAuth()` and confirm it is defined. For SSR, see: https://clerk.com/docs/reference/backend/types/auth-object#how-to-access-the-auth-object");let f=(0,eM.useCallback)(()=>c.__experimental_checkout({planId:n,planPeriod:i,for:r,seatsQuantity:a,priceId:o}),[null==u?void 0:u.id,null==s?void 0:s.id,n,i,r,a,o]),h=(0,eM.useCallback)(e=>c.loaded?c.__internal_state.__internal_effect(()=>{f(),e()}):()=>{},[f,c.loaded,c.__internal_state]),d=(0,eM.useCallback)(()=>f(),[f]);return(0,eM.useSyncExternalStore)(h,d,d)};function nl(){var e,t,r;let n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{statementId:i=null,keepPreviousData:a=!1,for:o="user"}=n,s=rm(),l=rN(),u=rW(),c="organization"===o&&null!=(e=null==u?void 0:u.id)?e:null,{queryKey:f,stableKey:h,authenticated:d}=function(e){let{statementId:t,userId:r,orgId:n,for:i}=e;return(0,eM.useMemo)(()=>rC({stablePrefix:"billing-statement",authenticated:!0,tracked:{statementId:t,forType:i,userId:r,orgId:n},untracked:{args:{id:null!=t?t:void 0,orgId:null!=n?n:void 0}}}),[t,i,r,n])}({statementId:i,userId:null!=(t=null==l?void 0:l.id)?t:null,orgId:c,for:o}),p=r9(n);rz({isSignedOut:null===l,authenticated:d,stableKeys:h});let g=rD({queryKey:f,queryFn:()=>{if(!i)throw Error("statementId is required to fetch a statement");return s.billing.getStatement({id:i,orgId:null!=c?c:void 0})},enabled:!!i&&p,placeholderData:rR(a),staleTime:6e4});return{data:g.data,error:null!=(r=g.error)?r:null,isLoading:g.isLoading,isFetching:g.isFetching}}function nu(){var e,t;let r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{planId:n,initialPlan:i=null,keepPreviousData:a=!0}=r,o=rm(),s=null!=(e=null!=n?n:null==i?void 0:i.id)?e:null,{queryKey:l}=function(e){let{planId:t}=e;return(0,eM.useMemo)(()=>rC({stablePrefix:"billing-plan",authenticated:!1,tracked:{planId:null!=t?t:null},untracked:{args:{id:null!=t?t:void 0}}}),[t])}({planId:s}),u=r9({authenticated:!1}),c=rD({queryKey:l,queryFn:()=>{if(!s)throw Error("planId is required to fetch plan details");return o.billing.getPlan({id:s})},enabled:!!s&&u,initialData:null!=i?i:void 0,placeholderData:rR(a),initialDataUpdatedAt:0});return{data:c.data,error:null!=(t=c.error)?t:null,isLoading:c.isLoading,isFetching:c.isFetching}}function nc(e){var t,r,n;let{paymentAttemptId:i,keepPreviousData:a=!1,for:o="user"}=e,s=rm(),l=rN(),u=rW(),c="organization"===o&&null!=(t=null==u?void 0:u.id)?t:null,{queryKey:f,stableKey:h,authenticated:d}=function(e){let{paymentAttemptId:t,userId:r,orgId:n,for:i}=e;return(0,eM.useMemo)(()=>rC({stablePrefix:"billing-payment-attempt",authenticated:!0,tracked:{paymentAttemptId:t,forType:i,userId:r,orgId:n},untracked:{args:{id:null!=t?t:void 0,orgId:null!=n?n:void 0}}}),[t,i,r,n])}({paymentAttemptId:i,userId:null!=(r=null==l?void 0:l.id)?r:null,orgId:c,for:o}),p=r9(e);rz({isSignedOut:null===l,authenticated:d,stableKeys:h});let g=rD({queryKey:f,queryFn:e=>{let{queryKey:t}=e,r=t[3].args;return s.billing.getPaymentAttempt(r)},enabled:!!i&&p,placeholderData:rR(a),staleTime:6e4});return{data:g.data,error:null!=(n=g.error)?n:null,isLoading:g.isLoading,isFetching:g.isFetching}}function nf(){var e,t;let r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{keepPreviousData:n=!0,enabled:i=!0,withOrganizationAccountLinking:a=!1}=r,o=rm(),s=rN(),[l]=rT(),{queryKey:u,stableKey:c,authenticated:f}=function(e){let{userId:t,withOrganizationAccountLinking:r=!1}=e;return(0,eM.useMemo)(()=>rC({stablePrefix:"userEnterpriseConnections",authenticated:!!t,tracked:{userId:null!=t?t:null,withOrganizationAccountLinking:r},untracked:{args:{}}}),[t,r])}({userId:null!=(e=null==s?void 0:s.id)?e:null,withOrganizationAccountLinking:a}),h=i&&o.loaded&&!!s;rz({isSignedOut:null===s,authenticated:f,stableKeys:c});let d=rD({queryKey:u,queryFn:()=>null==s?void 0:s.getEnterpriseConnections({withOrganizationAccountLinking:a}),enabled:h,placeholderData:rR(n)}),p=(0,eM.useCallback)(()=>l.invalidateQueries({queryKey:[c]}),[l,c]);return{data:d.data,error:null!=(t=d.error)?t:null,isLoading:d.isLoading,isFetching:d.isFetching,revalidate:p}}function nh(){var e,t;let r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{keepPreviousData:n=!0,enabled:i=!0,withOrganizationAccountLinking:a=!1}=r,o=rm(),s=rW(),[l]=rT(),{queryKey:u,stableKey:c,authenticated:f}=function(e){let{organizationId:t,withOrganizationAccountLinking:r=!1}=e;return(0,eM.useMemo)(()=>rC({stablePrefix:"organizationEnterpriseConnections",authenticated:!!t,tracked:{organizationId:null!=t?t:null,withOrganizationAccountLinking:r},untracked:{args:{}}}),[t,r])}({organizationId:null!=(e=null==s?void 0:s.id)?e:null,withOrganizationAccountLinking:a}),h=i&&o.loaded&&!!s;rz({isSignedOut:null===s,authenticated:f,stableKeys:c});let d=rD({queryKey:u,queryFn:()=>null==s?void 0:s.getEnterpriseConnections({withOrganizationAccountLinking:a}),enabled:h,placeholderData:rR(n)}),p=(0,eM.useCallback)(()=>l.invalidateQueries({queryKey:[c]}),[l,c]),g=(0,eM.useCallback)(async e=>{let t=await (null==s?void 0:s.createEnterpriseConnection(e));return await p(),t},[s,p]),y=(0,eM.useCallback)(async(e,t)=>{let r=await (null==s?void 0:s.updateEnterpriseConnection(e,t));return await p(),r},[s,p]),m=(0,eM.useCallback)(async e=>{let t=await (null==s?void 0:s.deleteEnterpriseConnection(e));return await p(),t},[s,p]);return{data:d.data,error:null!=(t=d.error)?t:null,isLoading:d.isLoading,isFetching:d.isFetching,createEnterpriseConnection:g,updateEnterpriseConnection:y,deleteEnterpriseConnection:m,revalidate:p}}function nd(){var e,t;let r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{keepPreviousData:n=!0,enabled:i=!0,enrollmentMode:a,onOwnershipVerified:o}=r,s=rm(),l=rW(),[u]=rT(),c=(0,eM.useRef)(o);c.current=o;let{queryKey:f,stableKey:h,authenticated:d}=function(e){let{organizationId:t,enrollmentMode:r}=e;return(0,eM.useMemo)(()=>rC({stablePrefix:"organizationDomains",authenticated:!!t,tracked:{organizationId:null!=t?t:null,enrollmentMode:null!=r?r:null},untracked:{args:{}}}),[t,r])}({organizationId:null!=(e=null==l?void 0:l.id)?e:null,enrollmentMode:a}),p=i&&s.loaded&&!!l;rz({isSignedOut:null===l,authenticated:d,stableKeys:h});let g=a?{enrollmentMode:a}:void 0,y=rD({queryKey:f,queryFn:()=>null==l?void 0:l.getDomains(g),enabled:p,placeholderData:rR(n)}),m=(0,eM.useCallback)(()=>u.invalidateQueries({queryKey:[h]}),[u,h]),b=(0,eM.useCallback)(async e=>{var t,r;let n=await (null==l?void 0:l.createDomain(e,a?{enrollmentMode:a}:void 0));return n&&"enterprise_sso"===a&&(n=null!=(t=null==(r=await (null==l?void 0:l.prepareOwnershipVerification([n.id])))?void 0:r.data[0])?t:n),await m(),n},[l,m,a]),w=(0,eM.useCallback)(async e=>{let t=await (null==l?void 0:l.prepareOwnershipVerification(e.map(e=>e.id)));return await m(),t},[l,m]),S=(0,eM.useCallback)(async e=>{let t=await (null==l?void 0:l.attemptOwnershipVerification(e.map(e=>e.id)));return await m(),t},[l,m]),E=y.data,k=(0,eM.useMemo)(()=>{var e;return(null!=(e=null==E?void 0:E.data)?e:[]).filter(e=>e.ownershipVerification&&"verified"!==e.ownershipVerification.status).map(e=>e.id)},[null==E?void 0:E.data]).join(",");return(0,eM.useEffect)(()=>{let e;if(!p||!l||!k)return;let t=!1,r=()=>{e=setTimeout(()=>void i(),1e4)},n=k.split(","),i=async()=>{var e,i;let a=await l.attemptOwnershipVerification(n).catch(e=>{eR.v.warnOnce("Clerk: failed to attempt organization domain ownership verification: ".concat(e))});if(t||(await m(),t))return;let o=null!=(e=null==a?void 0:a.data.filter(e=>{var t;return(null==(t=e.ownershipVerification)?void 0:t.status)==="verified"}))?e:[];o.length&&await (null==(i=c.current)?void 0:i.call(c,o)),t||(null==a?void 0:a.data.length)&&a.data.every(e=>{var t;return(null==(t=e.ownershipVerification)?void 0:t.status)==="verified"})||r()};return r(),()=>{t=!0,clearTimeout(e)}},[k,p]),{data:null==E?void 0:E.data,totalCount:null==E?void 0:E.total_count,error:null!=(t=y.error)?t:null,isLoading:y.isLoading,isFetching:y.isFetching,createDomain:b,prepareOwnershipVerification:w,attemptOwnershipVerification:S,revalidate:m}}function np(e){var t,r,n,i,a,o,s;let{enterpriseConnectionId:l,params:u={initialPage:1,pageSize:10},pollIntervalMs:c=2e3,enabled:f=!0,keepPreviousData:h=!1}=e,d=rm(),p=rW(),[g]=rT(),{queryKey:y,invalidationKey:m,stableKey:b,authenticated:w}=function(e){let{organizationId:t,enterpriseConnectionId:r,args:n}=e;return(0,eM.useMemo)(()=>rC({stablePrefix:"organizationEnterpriseConnectionTestRuns",authenticated:!!t,tracked:{organizationId:null!=t?t:null,enterpriseConnectionId:null!=r?r:null},untracked:{args:n}}),[t,r,JSON.stringify(n)])}({organizationId:null!=(t=null==p?void 0:p.id)?t:null,enterpriseConnectionId:l,args:u});rz({isSignedOut:null===p,authenticated:w,stableKeys:b});let S=f&&d.loaded&&!!p&&!!l,[E,k]=(0,eM.useState)(!1);(0,eM.useEffect)(()=>{k(!1)},[l]);let P=rD({queryKey:y,queryFn:()=>{if(!l)throw Error("enterpriseConnectionId is required to fetch test runs");return null==p?void 0:p.getEnterpriseConnectionTestRuns(l,u)},refetchInterval:e=>{var t,r,n;return!!E&&!((null!=(t=null==(n=e.state.data)||null==(r=n.data)?void 0:r.length)?t:0)>0)&&c},enabled:S,refetchIntervalInBackground:!1,placeholderData:rR(h)}),_=(null!=(r=null==(a=P.data)||null==(i=a.data)?void 0:i.length)?r:0)>0;(0,eM.useEffect)(()=>{E&&_&&k(!1)},[E,_]);let x=(0,eM.useCallback)(async e=>{var t;(null==(t=null==e?void 0:e.armPolling)||t)&&!_&&k(!0),await g.invalidateQueries({queryKey:m})},[g,m,_]),O=S&&E&&!_;return{data:null==(o=P.data)?void 0:o.data,totalCount:null==(s=P.data)?void 0:s.total_count,error:null!=(n=P.error)?n:null,isLoading:P.isLoading,isFetching:P.isFetching,isPolling:O,revalidate:x}}function nv(e){let t=e.clerk;if(t||(0,eT.kX)(),e.initialState instanceof Promise)throw Error("initialState cannot be a promise if React version is less than 19");let r=eM.useMemo(()=>({value:t}),[e.clerkStatus]);return eM.createElement(rS,{initialState:e.initialState},eM.createElement(ry.Provider,{value:r},eM.createElement(rx,{value:void 0},e.children)))}let ng=e=>{let t=(0,eM.useRef)(e);return(0,eM.useEffect)(()=>{t.current=e},[e]),t.current},ny=(e,t,r)=>{let n=!!r,i=(0,eM.useRef)(r);(0,eM.useEffect)(()=>{i.current=r},[r]),(0,eM.useEffect)(()=>{if(!n||!e)return()=>{};let r=function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];i.current&&i.current(...t)};return e.on(t,r),()=>{e.off(t,r)}},[n,t,e,i])},nm=eM.createContext(null);nm.displayName="ElementsContext";let nb=(e,t)=>{if(!e)throw Error("Could not find Elements context; You need to wrap the part of your app that ".concat(t," in an <Elements> provider."));return e},nw=e=>{let{stripe:t,options:r,children:n}=e,i=eM.useMemo(()=>nk(t),[t]),[a,o]=eM.useState(()=>({stripe:"sync"===i.tag?i.stripe:null,elements:"sync"===i.tag?i.stripe.elements(r):null}));eM.useEffect(()=>{let e=!0,t=e=>{o(t=>t.stripe?t:{stripe:e,elements:e.elements(r)})};return"async"!==i.tag||a.stripe?"sync"!==i.tag||a.stripe||t(i.stripe):i.stripePromise.then(r=>{r&&e&&t(r)}),()=>{e=!1}},[i,a,r]);let s=ng(t);eM.useEffect(()=>{null!==s&&s!==t&&console.warn("Unsupported prop change on Elements: You cannot change the `stripe` prop after setting it.")},[s,t]);let l=ng(r);return eM.useEffect(()=>{if(!a.elements)return;let e=nO(r,l,["clientSecret","fonts"]);e&&a.elements.update(e)},[r,l,a.elements]),eM.createElement(nm.Provider,{value:a},n)},nS="Invalid prop `stripe` supplied to `Elements`. We recommend using the `loadStripe` utility from `@stripe/stripe-js`. See https://stripe.com/docs/stripe-js/react#elements-props-stripe for details.",nE=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:nS;if(null===e||nx(e))return e;throw Error(t)},nk=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:nS;if(n_(e))return{tag:"async",stripePromise:Promise.resolve(e).then(e=>nE(e,t))};let r=nE(e,t);return null===r?{tag:"empty"}:{tag:"sync",stripe:r}},nP=e=>null!==e&&"object"==typeof e,n_=e=>nP(e)&&"function"==typeof e.then,nx=e=>nP(e)&&"function"==typeof e.elements&&"function"==typeof e.createToken&&"function"==typeof e.createPaymentMethod&&"function"==typeof e.confirmCardPayment,nO=(e,t,r)=>nP(e)?Object.keys(e).reduce((n,i)=>{let a=!nP(t)||!nR(e[i],t[i]);return r.includes(i)?(a&&console.warn("Unsupported prop change: options.".concat(i," is not a mutable property.")),n):a?{...n||{},[i]:e[i]}:n},null):null,nC="[object Object]",nR=(e,t)=>{if(!nP(e)||!nP(t))return e===t;let r=Array.isArray(e);if(r!==Array.isArray(t))return!1;let n=Object.prototype.toString.call(e)===nC;if(n!==(Object.prototype.toString.call(t)===nC))return!1;if(!n&&!r)return e===t;let i=Object.keys(e),a=Object.keys(t);if(i.length!==a.length)return!1;let o={};for(let e=0;e<i.length;e+=1)o[i[e]]=!0;for(let e=0;e<a.length;e+=1)o[a[e]]=!0;let s=Object.keys(o);return s.length===i.length&&s.every(r=>nR(e[r],t[r]))},nA=e=>nb(eM.useContext(nm),e),nI=(b="payment",w="u"<typeof window,h="".concat(b.charAt(0).toUpperCase()+b.slice(1),"Element"),(d=w?e=>{nA("mounts <".concat(h,">"));let{id:t,className:r}=e;return eM.createElement("div",{id:t,className:r})}:e=>{let t,{id:r,className:n,fallback:i,options:a={},onBlur:o,onFocus:s,onReady:l,onChange:u,onEscape:c,onClick:f,onLoadError:d,onLoaderStart:p,onNetworksChange:g,onConfirm:y,onCancel:m,onShippingAddressChange:w,onShippingRateChange:S}=e,E=nA("mounts <".concat(h,">")),k="elements"in E?E.elements:null,[P,_]=eM.useState(null),x=eM.useRef(null),O=eM.useRef(null),[C,R]=(0,eM.useState)(!1);ny(P,"blur",o),ny(P,"focus",s),ny(P,"escape",c),ny(P,"click",f),ny(P,"loaderror",d),ny(P,"loaderstart",p),ny(P,"networkschange",g),ny(P,"confirm",y),ny(P,"cancel",m),ny(P,"shippingaddresschange",w),ny(P,"shippingratechange",S),ny(P,"change",u),l&&(t=()=>{R(!0),l(P)}),ny(P,"ready",t),eM.useLayoutEffect(()=>{if(null===x.current&&null!==O.current&&k){let e=null;k&&(e=k.create(b,a)),x.current=e,_(e),e&&e.mount(O.current)}},[k,a]);let A=ng(a);return eM.useEffect(()=>{if(!x.current)return;let e=nO(a,A,["paymentRequest"]);e&&"update"in x.current&&x.current.update(e)},[a,A]),eM.useLayoutEffect(()=>()=>{if(x.current&&"function"==typeof x.current.destroy)try{x.current.destroy(),x.current=null}catch{}},[]),eM.createElement(eM.Fragment,null,!C&&i,eM.createElement("div",{id:r,style:{height:C?"unset":"0px",visibility:C?"visible":"hidden"},className:n,ref:O}))}).displayName=h,d.__elementType=b,d),nT=function(){var e,t;let r,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"user",i=(r=rB(),null!=(t=rD({queryKey:["clerk-stripe-sdk"],queryFn:async()=>({loadStripe:await r.__internal_loadStripeJs()}),staleTime:1/0,refetchOnWindowFocus:!1,placeholderData:rR(!0)}).data)?t:null),a=rB().__internal_environment,{initializedPaymentMethod:o,initializePaymentMethod:s}=function(e){var t;let{for:r}=null!=e?e:{},n=rW(),i=rN(),a="organization"===r?n:i,o=r9(e),s="billing-payment-method-initialize",l=(0,eM.useMemo)(()=>[s,!0,{resourceId:null==a?void 0:a.id},{}],[null==a?void 0:a.id]),u=!!(null==a?void 0:a.id)&&o;rz({isSignedOut:null===i,authenticated:!0,stableKeys:s});let c=rD({queryKey:l,queryFn:async()=>{if(a)return a.initializePaymentMethod({gateway:"stripe"})},enabled:u,staleTime:6e4,refetchOnWindowFocus:!1,placeholderData:rR(u)}),[f]=rT(),h=(0,eM.useCallback)(async()=>{if(!a)return;let e=await a.initializePaymentMethod({gateway:"stripe"});return f.setQueryData(l,e),e},[f,l,a]);return{initializedPaymentMethod:null!=(t=c.data)?t:void 0,initializePaymentMethod:h}}({for:n}),l=null!=(e=null==a?void 0:a.commerceSettings.billing.stripePublishableKey)?e:void 0;return{stripe:function(e){let{stripeClerkLibs:t,externalGatewayId:r,stripePublishableKey:n}=e,i=(0,eM.useMemo)(()=>["stripe-sdk",{externalGatewayId:r,stripePublishableKey:n}],[r,n]),a=r9({authenticated:!0});return rD({queryKey:i,queryFn:()=>t&&r&&n?t.loadStripe(n,{stripeAccount:r}):null,enabled:!!(t&&r&&n)&&a,staleTime:6e4,refetchOnWindowFocus:!1,placeholderData:rR(!0)}).data}({stripeClerkLibs:i,externalGatewayId:null==o?void 0:o.externalGatewayId,stripePublishableKey:l}),initializePaymentMethod:s,externalClientSecret:null==o?void 0:o.externalClientSecret,paymentMethodOrder:null==o?void 0:o.paymentMethodOrder}},[nM,nD]=rg("PaymentElementContext"),[nz,nj]=rg("StripeUtilsContext"),nU=e=>{let{children:t}=e,r=(()=>{let{stripe:e}=nA("calls useStripe()");return e})(),n=(()=>{let{elements:e}=nb(eM.useContext(nm),"calls useElements()");return e})();return eM.createElement(nz.Provider,{value:{value:{stripe:r,elements:n}}},t)},nL=e=>{let{children:t}=e;return eM.createElement(nz.Provider,{value:{value:{}}},t)},nN=e=>{let{children:t,...r}=e,n=nT(r.for),[i,a]=(0,eM.useState)(!1);return eM.createElement(nM.Provider,{value:{value:{...r,...n,setIsPaymentElementReady:a,isPaymentElementReady:i}}},t)},nF=e=>{let{children:t,...r}=e;return eM.createElement(nN,r,eM.createElement(nq,null,t))},nq=e=>{let{stripe:t,externalClientSecret:r,stripeAppearance:n}=nD(),i=(()=>{let e=rB(),t="en";try{var r;t=(null==(r=e.__internal_getOption("localization"))?void 0:r.locale)||"en"}catch{}return t.split("-")[0]})();return t&&r?eM.createElement(nw,{key:r,stripe:t,options:{loader:"never",clientSecret:r,appearance:{variables:n},locale:i}},eM.createElement(nU,null,e.children)):eM.createElement(nL,null,e.children)},nW=e=>{let{fallback:t}=e,{setIsPaymentElementReady:r,paymentMethodOrder:n,checkout:i,stripe:a,externalClientSecret:o,paymentDescription:s,for:l}=nD(),u=rB().__internal_environment,c=(0,eM.useMemo)(()=>{var e;if(i&&i.totals&&i.plan)return{recurringPaymentRequest:{paymentDescription:s||"",managementURL:"organization"===l?(null==u?void 0:u.displayConfig.organizationProfileUrl)||"":(null==u?void 0:u.displayConfig.userProfileUrl)||"",regularBilling:{amount:(null==(e=i.totals.totalDueNow)?void 0:e.amount)||i.totals.grandTotal.amount,label:i.plan.name,recurringPaymentIntervalUnit:"annual"===i.planPeriod?"year":"month"}}}},[i,s,l,u]),f=(0,eM.useMemo)(()=>({layout:{type:"tabs",defaultCollapsed:!1},paymentMethodOrder:n,applePay:c}),[c,n]),h=(0,eM.useCallback)(()=>{r(!0)},[r]);return a&&o?eM.createElement(nI,{fallback:t,onReady:h,options:f}):eM.createElement(eM.Fragment,null,t)},n$=()=>{throw Error("Clerk: Unable to submit, Stripe libraries are not yet loaded. Be sure to check `isFormReady` before calling `submit`.")},nB=()=>{let{isPaymentElementReady:e,initializePaymentMethod:t}=nD(),{stripe:r,elements:n}=nj(),{externalClientSecret:i}=nD(),a=(0,eM.useCallback)(async()=>{if(!r||!n)return n$();let{setupIntent:e,error:t}=await r.confirmSetup({elements:n,confirmParams:{return_url:window.location.href},redirect:"if_required"});return t?{data:null,error:{gateway:"stripe",error:{code:t.code,message:t.message,type:t.type}}}:{data:{gateway:"stripe",paymentToken:e.payment_method},error:null}},[r,n]),o=(0,eM.useCallback)(async()=>{if(!r||!n)return n$();await t()},[r,n,t]),s=!!(r&&i);return s?{submit:a,reset:o,isFormReady:e,provider:{name:"stripe"},isProviderReady:s}:{submit:n$,reset:n$,isFormReady:!1,provider:void 0,isProviderReady:!1}},[nK,,nY]=rg("PortalProvider"),nV=e=>{let{children:t,getContainer:r}=e,n=eM.useMemo(()=>({value:{getContainer:r}}),[r]);return eM.createElement(nK.Provider,{value:n},t)};nV.displayName="UNSAFE_PortalProvider";let nQ=()=>{let e=nY();return e&&"getContainer"in e&&e.getContainer?e.getContainer:()=>null}},56874(e,t,r){function n(e){let t=e||"";return t.charAt(0).toUpperCase()+t.slice(1)}function i(e){return e?e.replace(/([-_][a-z])/g,e=>e.toUpperCase().replace(/-|_/,"")):""}function a(e){return e?e.replace(/[A-Z]/g,e=>"_".concat(e.toLowerCase())):""}r(85281),r(96954),r(42949),r(37891),r(36395),r(34330),r(46455);let o=e=>{let t=r=>{if(!r)return r;if(Array.isArray(r))return r.map(e=>"object"==typeof e||Array.isArray(e)?t(e):e);let n={...r};for(let r of Object.keys(n)){let i=e(r.toString());i!==r&&(n[i]=n[r],delete n[r]),"object"==typeof n[i]&&(n[i]=t(n[i]))}return n};return t};function s(e){if("boolean"==typeof e)return e;if(null==e)return!1;if("string"==typeof e){if("true"===e.toLowerCase())return!0;if("false"===e.toLowerCase())return!1}let t=parseInt(e,10);return!isNaN(t)&&t>0}o(a),o(i),r.d(t,{C8:()=>a,Ns:()=>n,sF:()=>i,zz:()=>s})},4653(e,t,r){r.d(t,{ph:()=>a.t,aY:()=>s,b_:()=>n.r,lQ:()=>i.t});var n=r(91311),i=r(98591),a=r(64093);r(42949),r(37891),r(73560),r(36395),r(67548),r(70954),r(98803),r(79162),r(15385),r(39342),r(69152);let o=new Set(["__proto__","constructor","prototype"]),s=(e,t)=>{if(e&&t)for(let r in e)!o.has(r)&&(Object.prototype.hasOwnProperty.call(e,r)&&null!==e[r]&&"object"==typeof e[r]?(void 0===t[r]&&(t[r]=new(Object.getPrototypeOf(e[r])).constructor),s(e[r],t[r])):Object.prototype.hasOwnProperty.call(e,r)&&void 0!==e[r]&&(t[r]=e[r]))}}},i={};function a(e){var t=i[e];if(void 0!==t)return t.exports;var r=i[e]={exports:{}};return n[e].call(r.exports,r,r.exports,a),r.exports}a.m=n,a.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return a.d(t,{a:t}),t},s=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,a.t=function(e,t){if(1&t&&(e=this(e)),8&t||"object"==typeof e&&e&&(4&t&&e.__esModule||16&t&&"function"==typeof e.then))return e;var r=Object.create(null);a.r(r);var n={};o=o||[null,s({}),s([]),s(s)];for(var i=2&t&&e;("object"==typeof i||"function"==typeof i)&&!~o.indexOf(i);i=s(i))Object.getOwnPropertyNames(i).forEach(t=>{n[t]=()=>e[t]});return n.default=()=>e,a.d(r,n),r},a.d=(e,t,r)=>{var n=(t,r)=>{for(var n in t)a.o(t,n)&&!a.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,[r]:t[n]})};n(t,"get"),n(r,"value")},a.f={},a.e=e=>Promise.all(Object.keys(a.f).reduce((t,r)=>(a.f[r](e,t),t),[])),a.u=e=>""+(({1058:"useravatar",1256:"checkout",1264:"op-plans-page",1545:"vendors",1723:"taskChooseOrganization",2099:"userbutton",2259:"up-billing-page",2533:"enableOrganizationsPrompt",26:"framework",2841:"planDetails",2888:"op-security-page",289:"op-billing-page",3328:"blankcaptcha",4122:"payment-attempt-page",472:"signup",505:"revoke-api-key-modal",522:"keylessPrompt",5265:"waitlist",5364:"organizationswitcher",5591:"oauthConsent",5608:"prefetchorganizationlist",5636:"userverification",5721:"onetap",6390:"sessionTasks",6666:"ui-common",7004:"taskSetupMFA",7030:"pricingTable",7110:"up-plans-page",718:"userprofile",7223:"op-api-keys-page",7451:"subscriptionDetails",7627:"statement-page",7817:"up-api-keys-page",7971:"configureSSO",799:"organizationlist",8010:"signin",8067:"taskResetPassword",8310:"organizationprofile",8326:"apiKeys",8394:"copy-api-key-modal",8917:"impersonationfab",9188:"web3-solana-wallet-buttons",9243:"createorganization"})[e]||e)+"_ui_"+a.h().slice(0,6)+"_1.22.0.js",a.h=()=>"b0f284b8f04c11f5",a.g=(()=>{if("object"==typeof globalThis)return globalThis;try{return this||Function("return this")()}catch(e){if("object"==typeof window)return window}})(),a.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),l={},a.l=function(e,t,r,n){if(l[e])return void l[e].push(t);if(void 0!==r)for(var i,o,s=document.getElementsByTagName("script"),u=0;u<s.length;u++){var c=s[u];if(c.getAttribute("src")==e||c.getAttribute("data-rspack")=="@clerk/ui:"+r){i=c;break}}i||(o=!0,(i=document.createElement("script")).timeout=120,a.nc&&i.setAttribute("nonce",a.nc),i.setAttribute("data-rspack","@clerk/ui:"+r),i.src=e),l[e]=[t];var f=function(t,r){i.onerror=i.onload=null,clearTimeout(h);var n=l[e];if(delete l[e],i.parentNode&&i.parentNode.removeChild(i),n&&n.forEach(function(e){return e(r)}),t)return t(r)},h=setTimeout(f.bind(null,void 0,{type:"timeout",target:i}),12e4);i.onerror=f.bind(null,i.onerror),i.onload=f.bind(null,i.onload),o&&document.head.appendChild(i)},a.r=e=>{"u">typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),a.g.importScripts&&(u=a.g.location+"");var o,s,l,u,c=a.g.document;if(!u&&c&&(c.currentScript&&"SCRIPT"===c.currentScript.tagName.toUpperCase()&&(u=c.currentScript.src),!u)){var f=c.getElementsByTagName("script");if(f.length)for(var h=f.length-1;h>-1&&(!u||!/^http(s?):/.test(u));)u=f[h--].src}if(!u)throw Error("Automatic publicPath is not supported in this browser");return a.p=u=u.replace(/^blob:/,"").replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),e={991:0},a.f.j=function(t,r){var n=a.o(e,t)?e[t]:void 0;if(0!==n)if(n)r.push(n[2]);else{var i=new Promise((r,i)=>n=e[t]=[r,i]);r.push(n[2]=i);var o=a.p+a.u(t),s=Error();a.l(o,function(r){if(a.o(e,t)&&(0!==(n=e[t])&&(e[t]=void 0),n)){var i=r&&("load"===r.type?"missing":r.type),o=r&&r.target&&r.target.src;s.message="Loading chunk "+t+" failed.\n("+i+": "+o+")",s.name="ChunkLoadError",s.type=i,s.request=o,n[1](s)}},"chunk-"+t,t)}},t=(t,r)=>{var n,i,[o,s,l]=r,u=0;if(o.some(t=>0!==e[t])){for(n in s)a.o(s,n)&&(a.m[n]=s[n]);l&&l(a)}for(t&&t(r);u<o.length;u++)i=o[u],a.o(e,i)&&e[i]&&e[i][0](),e[i]=0},(r=globalThis.rspackChunk_clerk_ui=globalThis.rspackChunk_clerk_ui||[]).forEach(t.bind(null,0)),r.push=t.bind(null,r.push.bind(r)),a(39817)})());
1
+ !function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var r=t();for(var n in r)("object"==typeof exports?exports:e)[n]=r[n]}}(globalThis,()=>(()=>{"use strict";var e,t,r,n={7008(e,t,r){r(36395);var n=r(70355),i=r(1715),a=r(32638),o=r(59701);r.d(t,{},{x:()=>{let[e,t]=o.useState({startPath:"",path:"",componentName:"",socialProvider:""}),r=(0,a.F)();o.useLayoutEffect(()=>{r&&t(r)},[]);let s=()=>{t({startPath:"",path:"",componentName:"",socialProvider:""})};return{urlStateParam:{...e,clearUrlStateParam:s},decodedRedirectParams:r,clearUrlStateParam:s,removeQueryParam:()=>(0,i.rw)(n.CL)}}})},39817(e,t,r){r(36395),r(74302),r(30686),r(38978),r(52205),r(40768),r(76235),r(85281),r(96954);try{let e=new URL(document.currentScript.src),t=new URL(e.href.split("/").slice(0,-1).join("/")).href;r.p=(t+=t.endsWith("/")?"":"/").replace(/(^.*\/@clerk\/ui@)(.+?)(\/dist.*)/,"$1".concat("1.22.1-canary.v20260625035239","$3"))}catch{}function n(e,t,r){if(!t.has(e))throw TypeError("attempted to "+r+" private field on non-instance");return t.get(e)}r(15254);var i=r(27213),a=r(71756),o=r(62826);function s(e){let t=e.match(/^(\d+)\.(\d+)\.(\d+)/);if(!t)return null;let[,r,n,i]=t;return{major:parseInt(r,10),minor:parseInt(n,10),patch:parseInt(i,10)}}r(42949),r(12021),r(73560),r(37891);var l=r(59763),u=r(91117),c=r(4653),f=r(59701),h=r(7008),d=r(81221);let p=(0,f.lazy)(()=>r.e(6666).then(r.bind(r,36140)).then(e=>({default:e.MountedCheckoutDrawer}))),g=(0,f.lazy)(()=>r.e(6666).then(r.bind(r,17458)).then(e=>({default:e.MountedPlanDetailDrawer}))),y=(0,f.lazy)(()=>Promise.all([r.e(26),r.e(1545),r.e(6666),r.e(7451)]).then(r.bind(r,32408)).then(e=>({default:e.MountedSubscriptionDetailDrawer})));var m=r(54152);let b=e=>{let{base:t,path:r}=e;return r?t+r:t};function w(e,t){if(!e)return{};let r="signin"===t?"signIn":"signUp",n={["".concat(r,"ForceRedirectUrl")]:e.forceRedirectUrl,["".concat(r,"FallbackRedirectUrl")]:e.fallbackRedirectUrl},i={...e,...n};return delete i.forceRedirectUrl,delete i.fallbackRedirectUrl,i}r(84086);var S=r(80719);let E="u">typeof window?f.useLayoutEffect:f.useEffect,k=0,P={},_=Object.freeze({SignUp:"signUpModal",SignIn:"signInModal",UserProfile:"userProfileModal",OrganizationProfile:"organizationProfileModal",CreateOrganization:"createOrganizationModal",Waitlist:"waitlistModal"}),x=e=>{var t,r,n,i,a,o,s,c,S;let[x,O]=f.useState({appearance:e.options.appearance,options:e.options,googleOneTapModal:null,signInModal:null,signUpModal:null,userProfileModal:null,userVerificationModal:null,organizationProfileModal:null,createOrganizationModal:null,enableOrganizationsPromptModal:null,organizationSwitcherPrefetch:!1,waitlistModal:null,blankCaptchaModal:null,checkoutDrawer:{open:!1,props:null},planDetailsDrawer:{open:!1,props:null},subscriptionDetailsDrawer:{open:!1,props:null},impersonationFab:!1}),{googleOneTapModal:C,signInModal:R,signUpModal:A,userProfileModal:I,userVerificationModal:T,organizationProfileModal:M,createOrganizationModal:D,waitlistModal:z,blankCaptchaModal:j,checkoutDrawer:U,planDetailsDrawer:L,subscriptionDetailsDrawer:N}=x,F=e.getClerk();(0,f.useSyncExternalStore)((0,f.useCallback)(e=>F.addListener(e,{skipInitialEmit:!0}),[F]),(0,f.useCallback)(()=>F.__internal_lastEmittedResources,[F]),(0,f.useCallback)(()=>F.__internal_lastEmittedResources,[F]));let q=(0,f.useRef)(new Map),{urlStateParam:W,clearUrlStateParam:$,decodedRedirectParams:B}=(0,h.x)();E(()=>{B&&O(e=>({...e,[_[B.componentName]]:!0}));let t=()=>{O(e=>({...e}))};P.mountComponent=e=>{let{node:r,name:n,props:i,appearanceKey:a}=e;r||(0,u.$V)(),q.current.set(r,{key:"p".concat(++k),name:n,props:i,appearanceKey:a}),t()},P.unmountComponent=e=>{let{node:r}=e;q.current.delete(r),t()},P.updateProps=e=>{let{node:r,props:n,...i}=e;if(r&&n&&"object"==typeof n){let e=q.current.get(r);if(e){e.props={...n},t();return}}O(e=>({...e,...i,options:{...e.options,...i.options}}))},P.closeModal=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{notify:r=!0}=t;$(),O(t=>{let n=t["".concat(e,"Modal")];if(n&&"object"==typeof n&&"afterVerificationCancelled"in n&&r){var i;null==(i=n.afterVerificationCancelled)||i.call(n)}return{...t,["".concat(e,"Modal")]:null}})},P.openModal=(e,t)=>{"enableOrganizationsPrompt"===e?O(r=>r.enableOrganizationsPromptModal?r:{...r,["".concat(e,"Modal")]:t}):"afterVerificationCancelled"in t?"afterVerificationCancelled"in t&&O(r=>({...r,["".concat(e,"Modal")]:{...t,afterVerification(){var r;null==(r=t.afterVerification)||r.call(t),P.closeModal(e,{notify:!1})}}})):O(r=>({...r,["".concat(e,"Modal")]:t}))},P.mountImpersonationFab=()=>{O(e=>({...e,impersonationFab:!0}))},P.openDrawer=(e,t)=>{O(r=>({...r,["".concat(e,"Drawer")]:{open:!0,props:t}}))},P.closeDrawer=e=>{O(t=>{var r,n;let i=t["".concat(e,"Drawer")];return null==i||null==(n=i.props)||null==(r=n.onClose)||r.call(n),{...t,["".concat(e,"Drawer")]:{...t["".concat(e,"Drawer")],open:!1}}})},P.prefetch=e=>{O(t=>({...t,["".concat(e,"Prefetch")]:!0}))},e.onComponentsMounted()},[]);let K=(0,l.Y)(m.xg,{componentProps:C,globalAppearance:x.appearance,componentAppearance:null==C?void 0:C.appearance,startPath:b({base:"/one-tap",path:""})}),Y=(0,l.FD)(m.Vv,{globalAppearance:x.appearance,appearanceKey:"signIn",componentAppearance:null==R?void 0:R.appearance,flowName:"signIn",onClose:()=>P.closeModal("signIn"),onExternalNavigate:()=>P.closeModal("signIn"),startPath:b({base:"/sign-in",path:null==W?void 0:W.path}),getContainer:null!=(t=null==R?void 0:R.getContainer)?t:()=>null,componentName:"SignInModal",children:[(0,l.Y)(d.M9,{...R}),(0,l.Y)(d.gK,{...w(R,"signin")}),(0,l.Y)(d.L1,{...z})]}),V=(0,l.FD)(m.Vv,{globalAppearance:x.appearance,appearanceKey:"signUp",componentAppearance:null==A?void 0:A.appearance,flowName:"signUp",onClose:()=>P.closeModal("signUp"),onExternalNavigate:()=>P.closeModal("signUp"),startPath:b({base:"/sign-up",path:null==W?void 0:W.path}),getContainer:null!=(r=null==A?void 0:A.getContainer)?r:()=>null,componentName:"SignUpModal",children:[(0,l.Y)(d.M9,{...w(A,"signup")}),(0,l.Y)(d.gK,{...A}),(0,l.Y)(d.L1,{...z})]}),Q=(0,l.Y)(m.Vv,{globalAppearance:x.appearance,appearanceKey:"userProfile",componentAppearance:null==I?void 0:I.appearance,flowName:"userProfile",onClose:()=>P.closeModal("userProfile"),onExternalNavigate:()=>P.closeModal("userProfile"),startPath:b({base:"/user",path:(null==I?void 0:I.__experimental_startPath)||(null==W?void 0:W.path)}),getContainer:null!=(n=null==I?void 0:I.getContainer)?n:()=>null,componentName:"UserProfileModal",modalContainerSx:{alignItems:"center"},modalContentSx:e=>({height:"min(".concat(e.sizes.$176,", calc(100% - ").concat(e.sizes.$12,"))"),margin:0}),children:(0,l.Y)(d.am,{...I})}),H=(0,l.Y)(m.Vv,{globalAppearance:x.appearance,appearanceKey:"userVerification",componentAppearance:null==T?void 0:T.appearance,flowName:"userVerification",onClose:()=>P.closeModal("userVerification"),onExternalNavigate:()=>P.closeModal("userVerification"),startPath:b({base:"/user-verification",path:null==W?void 0:W.path}),getContainer:null!=(i=null==T?void 0:T.getContainer)?i:()=>null,componentName:"UserVerificationModal",modalContainerSx:{alignItems:"center"},children:(0,l.Y)(d.yd,{...T})}),G=(0,l.Y)(m.Vv,{globalAppearance:x.appearance,appearanceKey:"organizationProfile",componentAppearance:null==M?void 0:M.appearance,flowName:"organizationProfile",onClose:()=>P.closeModal("organizationProfile"),onExternalNavigate:()=>P.closeModal("organizationProfile"),startPath:b({base:"/organizationProfile",path:(null==M?void 0:M.__experimental_startPath)||(null==W?void 0:W.path)}),getContainer:null!=(a=null==M?void 0:M.getContainer)?a:()=>null,componentName:"OrganizationProfileModal",modalContainerSx:{alignItems:"center"},modalContentSx:e=>({height:"min(".concat(e.sizes.$176,", calc(100% - ").concat(e.sizes.$12,"))"),margin:0}),children:(0,l.Y)(d.Qj,{...M})}),J=(0,l.Y)(m.Vv,{globalAppearance:x.appearance,appearanceKey:"createOrganization",componentAppearance:null==D?void 0:D.appearance,flowName:"createOrganization",onClose:()=>P.closeModal("createOrganization"),onExternalNavigate:()=>P.closeModal("createOrganization"),startPath:b({base:"/createOrganization",path:null==W?void 0:W.path}),getContainer:null!=(o=null==D?void 0:D.getContainer)?o:()=>null,componentName:"CreateOrganizationModal",modalContainerSx:{alignItems:"center"},modalContentSx:e=>({height:"min(".concat(e.sizes.$120,", calc(100% - ").concat(e.sizes.$12,"))"),margin:0}),children:(0,l.Y)(d.Xi,{...D})}),X=(0,l.FD)(m.Vv,{globalAppearance:x.appearance,appearanceKey:"waitlist",componentAppearance:null==z?void 0:z.appearance,flowName:"waitlist",onClose:()=>P.closeModal("waitlist"),onExternalNavigate:()=>P.closeModal("waitlist"),startPath:b({base:"/waitlist",path:null==W?void 0:W.path}),getContainer:null!=(s=null==z?void 0:z.getContainer)?s:()=>null,componentName:"WaitlistModal",children:[(0,l.Y)(d.L1,{...z}),(0,l.Y)(d.M9,{...z})]}),Z=(0,l.Y)(m.Vv,{globalAppearance:x.appearance,appearanceKey:"blankCaptcha",componentAppearance:{},flowName:"blankCaptcha",onClose:()=>P.closeModal("blankCaptcha"),startPath:b({base:"/blank-captcha",path:null==W?void 0:W.path}),componentName:"BlankCaptchaModal",canCloseModal:!1,modalId:"cl-modal-captcha-wrapper",modalStyle:{visibility:"hidden",pointerEvents:"none"},getContainer:()=>null,children:(0,l.Y)(d.Gb,{})});return(0,l.Y)(f.Suspense,{fallback:"",children:(0,l.FD)(m.Fj,{clerk:e.getClerk(),environment:e.getEnvironment(),options:x.options,moduleManager:e.moduleManager,children:[[...q.current].map(e=>{var t;let[r,n]=e;return(0,l.Y)(m.t8,{node:r,globalAppearance:x.appearance,appearanceKey:n.appearanceKey,componentAppearance:null==(t=n.props)?void 0:t.appearance,componentName:n.name,componentProps:n.props},n.key)}),C&&K,R&&Y,A&&V,I&&Q,T&&H,M&&G,D&&J,z&&X,j&&Z,(0,l.Y)(p,{appearance:x.appearance,checkoutDrawer:U,onOpenChange:()=>P.closeDrawer("checkout")}),(0,l.Y)(g,{appearance:x.appearance,planDetailsDrawer:L,onOpenChange:()=>P.closeDrawer("planDetails")}),(0,l.Y)(y,{appearance:x.appearance,subscriptionDetailsDrawer:N,onOpenChange:()=>P.closeDrawer("subscriptionDetails")}),x.impersonationFab&&(0,l.Y)(m.Nx,{globalAppearance:x.appearance,children:(0,l.Y)(d.Sm,{})}),x.enableOrganizationsPromptModal&&(0,l.Y)(m.dB,{globalAppearance:x.appearance,children:(0,l.Y)(d.yc,{...x.enableOrganizationsPromptModal})}),(null==(c=x.options)?void 0:c.__internal_keyless_claimKeylessApplicationUrl)&&(null==(S=x.options)?void 0:S.__internal_keyless_copyInstanceKeysUrl)&&(0,l.Y)(m.Nx,{globalAppearance:x.appearance,children:(0,l.Y)(d.ju,{claimUrl:x.options.__internal_keyless_claimKeylessApplicationUrl,copyKeysUrl:x.options.__internal_keyless_copyInstanceKeysUrl,onDismiss:x.options.__internal_keyless_dismissPrompt})}),(0,l.Y)(f.Suspense,{children:x.organizationSwitcherPrefetch&&(0,l.Y)(m.up,{})})]})})};var O=new WeakMap;class C{ensureMounted(e){var t;return(t=n(this,O,"get"),t.get?t.get.call(this):t.value).ensureMounted(e)}constructor(e,t,u,f){(0,i._)(this,"version","1.22.1-canary.v20260625035239"),function(e,t,r){if(t.has(e))throw TypeError("Cannot initialize the same private elements twice on an object");t.set(e,r)}(this,O,{writable:!0,value:void 0});const h=e(),p=null==h?void 0:h.version,g=(null==h?void 0:h.instanceType)==="development",y=s(null!=p?p:"");let m=null;if(y&&!function(e,t){if(!e)return!1;let r=s(e),n=s(t);return!!r&&!!n&&(r.major!==n.major?r.major>n.major:r.minor!==n.minor?r.minor>n.minor:r.patch>=n.patch)}(p,"6.0.0")?m="@clerk/ui@".concat(C.version," requires @clerk/clerk-js@>=").concat("6.0.0",", ")+"but found @clerk/clerk-js@".concat(p,". ")+"Please upgrade @clerk/clerk-js (or your framework SDK) to a compatible version.":y||f||(m="@clerk/ui@".concat(C.version," requires @clerk/clerk-js@>=").concat("6.0.0",", ")+"but found an incompatible version".concat(p?" (".concat(p,")"):"",". ")+"Please upgrade @clerk/clerk-js (or your framework SDK) to a compatible version."),m)if(g)throw new a.cR(m,{code:"clerk_ui_version_mismatch"});else o.v.warnOnce(m);!function(e,t,r){var i=n(e,t,"set");if(i.set)i.set.call(e,r);else{if(!i.writable)throw TypeError("attempted to set read only private field");i.value=r}}(this,O,((e,t,n,i)=>{let a,o={...n};o.appearance&&(o.appearance=function(e){let t;if(!e||"object"!=typeof e)return e;let r=e.theme;if(!r)return e;if(Array.isArray(r)){r.forEach(e=>{!t&&"object"==typeof e&&e.cssLayerName&&(t=e.cssLayerName)});let n=r.map(e=>{if("string"==typeof e)return e;let{cssLayerName:t,...r}=e;return r}),i=e.cssLayerName||t,a={...e,theme:n};return i&&(a.cssLayerName=i),a}{let t;"object"==typeof r&&r.cssLayerName&&(t=r.cssLayerName);let n="string"==typeof r?r:(()=>{let{cssLayerName:e,...t}=r;return t})(),i=e.cssLayerName||t,a={...e,theme:n};return i&&(a.cssLayerName=i),a}}(o.appearance));let s=document.getElementById("clerk-components");return s||((s=document.createElement("div")).setAttribute("id","clerk-components"),document.body.appendChild(s)),{ensureMounted:n=>{let{preloadHint:u}=n||{};if(u&&(0,d.jr)(u).catch(()=>{}),!a){let n=(0,c.ph)(),u=setTimeout(()=>{console.error("[Clerk UI] Component renderer did not mount within 10s. Common causes: a failed chunk load, a dev-server misconfiguration (e.g. unresolved lazy-compilation proxy), or a ClerkProvider/mountX call before the page is hydrated. Check the Network tab for stalled or empty requests.")},1e4);a=Promise.all([r.e(26),r.e(1545),r.e(6666)]).then(r.bind(r,76e3)).then(r=>{let{createRoot:a}=r;return a(s).render((0,l.Y)(x,{getClerk:e,getEnvironment:t,options:o,onComponentsMounted:()=>{clearTimeout(u),"development"===e().instanceType&&("function"==typeof requestIdleCallback?requestIdleCallback:e=>setTimeout(e,0))(()=>(0,S.I)(o)),n.resolve()},moduleManager:i})),n.promise.then(()=>P)}).catch(e=>{throw clearTimeout(u),console.error("[Clerk UI] Failed to initialize component renderer:",e),e})}return a.then(e=>e)}}})(e,t,u,f))}}(0,i._)(C,"version","1.22.1-canary.v20260625035239"),window.__internal_ClerkUICtor||(window.__internal_ClerkUICtor=C)},81221(e,t,r){r(73560);var n=r(59701);let i={SignIn:()=>Promise.all([r.e(26),r.e(1545),r.e(6666),r.e(472),r.e(8746),r.e(8010)]).then(r.bind(r,45757)),SignUp:()=>Promise.all([r.e(26),r.e(1545),r.e(6666),r.e(472)]).then(r.bind(r,49614)),UserAvatar:()=>Promise.all([r.e(1545),r.e(6666),r.e(1058)]).then(r.bind(r,75511)),UserButton:()=>Promise.all([r.e(26),r.e(1545),r.e(6666),r.e(8746),r.e(2099)]).then(r.bind(r,78301)),UserProfile:()=>Promise.all([r.e(26),r.e(1545),r.e(6666),r.e(9419),r.e(718)]).then(r.bind(r,59512)),CreateOrganization:()=>Promise.all([r.e(26),r.e(1545),r.e(6666),r.e(76),r.e(9243)]).then(r.bind(r,87335)),OrganizationProfile:()=>Promise.all([r.e(26),r.e(1545),r.e(6666),r.e(76),r.e(8310)]).then(r.bind(r,91755)),OrganizationSwitcher:()=>Promise.all([r.e(26),r.e(1545),r.e(6666),r.e(5364)]).then(r.bind(r,82042)),OrganizationList:()=>Promise.all([r.e(26),r.e(1545),r.e(6666),r.e(76),r.e(799)]).then(r.bind(r,42160)),ImpersonationFab:()=>Promise.all([r.e(26),r.e(1545),r.e(6666),r.e(8917)]).then(r.bind(r,93014)),GoogleOneTap:()=>Promise.all([r.e(26),r.e(1545),r.e(6666),r.e(5721)]).then(r.bind(r,79659)),BlankCaptchaModal:()=>Promise.all([r.e(26),r.e(1545),r.e(6666),r.e(3328)]).then(r.bind(r,46816)),UserVerification:()=>Promise.all([r.e(26),r.e(1545),r.e(6666),r.e(5636)]).then(r.bind(r,824)),Waitlist:()=>Promise.all([r.e(26),r.e(1545),r.e(6666),r.e(5265)]).then(r.bind(r,54416)),KeylessPrompt:()=>Promise.all([r.e(1545),r.e(6666),r.e(522)]).then(r.bind(r,15549)),PricingTable:()=>Promise.all([r.e(26),r.e(1545),r.e(6666),r.e(6678),r.e(7030)]).then(r.bind(r,23131)),Checkout:()=>Promise.all([r.e(26),r.e(1545),r.e(6666),r.e(9419),r.e(1256)]).then(r.bind(r,40460)),SessionTasks:()=>Promise.all([r.e(26),r.e(1545),r.e(6666),r.e(472),r.e(7004),r.e(4424),r.e(6390)]).then(r.bind(r,60931)),TaskChooseOrganization:()=>Promise.all([r.e(26),r.e(1545),r.e(6666),r.e(472),r.e(4424),r.e(1723)]).then(r.bind(r,9147)),TaskResetPassword:()=>Promise.all([r.e(26),r.e(1545),r.e(6666),r.e(472),r.e(8067)]).then(r.bind(r,57006)),TaskSetupMFA:()=>Promise.all([r.e(26),r.e(1545),r.e(6666),r.e(7004)]).then(r.bind(r,48093)),PlanDetails:()=>Promise.all([r.e(26),r.e(1545),r.e(6666),r.e(2841)]).then(r.bind(r,62182)),SubscriptionDetails:()=>Promise.all([r.e(26),r.e(1545),r.e(6666),r.e(7451)]).then(r.bind(r,75181)),APIKeys:()=>Promise.all([r.e(26),r.e(1545),r.e(6666),r.e(8326)]).then(r.bind(r,13676)),ConfigureSSO:()=>Promise.all([r.e(26),r.e(1545),r.e(6666),r.e(9074),r.e(7971)]).then(r.bind(r,46238)),OAuthConsent:()=>Promise.all([r.e(26),r.e(1545),r.e(6666),r.e(5591)]).then(r.bind(r,81820)),EnableOrganizationsPrompt:()=>Promise.all([r.e(26),r.e(1545),r.e(6666),r.e(2533)]).then(r.bind(r,68663))},a=(0,n.lazy)(()=>i.SignIn().then(e=>({default:e.SignIn}))),o=(0,n.lazy)(()=>i.SignIn().then(e=>({default:e.SignInModal}))),s=(0,n.lazy)(()=>i.GoogleOneTap().then(e=>({default:e.OneTap}))),l=(0,n.lazy)(()=>i.UserVerification().then(e=>({default:e.UserVerification}))),u=(0,n.lazy)(()=>i.UserVerification().then(e=>({default:e.UserVerificationModal}))),c=(0,n.lazy)(()=>i.EnableOrganizationsPrompt().then(e=>({default:e.EnableOrganizationsPrompt}))),f=(0,n.lazy)(()=>i.SignUp().then(e=>({default:e.SignUp}))),h=(0,n.lazy)(()=>i.SignUp().then(e=>({default:e.SignUpModal}))),d=(0,n.lazy)(()=>i.UserAvatar().then(e=>({default:e.UserAvatar}))),p=(0,n.lazy)(()=>i.UserButton().then(e=>({default:e.UserButton}))),g=(0,n.lazy)(()=>i.UserProfile().then(e=>({default:e.UserProfile}))),y=(0,n.lazy)(()=>i.UserProfile().then(e=>({default:e.UserProfileModal}))),m=(0,n.lazy)(()=>i.CreateOrganization().then(e=>({default:e.CreateOrganization}))),b=(0,n.lazy)(()=>i.CreateOrganization().then(e=>({default:e.CreateOrganizationModal}))),w=(0,n.lazy)(()=>i.OrganizationProfile().then(e=>({default:e.OrganizationProfile}))),S=(0,n.lazy)(()=>i.OrganizationProfile().then(e=>({default:e.OrganizationProfileModal}))),E=(0,n.lazy)(()=>i.OrganizationSwitcher().then(e=>({default:e.OrganizationSwitcher}))),k=(0,n.lazy)(()=>i.OrganizationList().then(e=>({default:e.OrganizationList}))),P=(0,n.lazy)(()=>i.Waitlist().then(e=>({default:e.Waitlist}))),_=(0,n.lazy)(()=>i.Waitlist().then(e=>({default:e.WaitlistModal}))),x=(0,n.lazy)(()=>i.BlankCaptchaModal().then(e=>({default:e.BlankCaptchaModal}))),O=(0,n.lazy)(()=>i.ImpersonationFab().then(e=>({default:e.ImpersonationFab}))),C=(0,n.lazy)(()=>i.KeylessPrompt().then(e=>({default:e.KeylessPrompt}))),R=(0,n.lazy)(()=>i.PricingTable().then(e=>({default:e.PricingTable}))),A=(0,n.lazy)(()=>i.APIKeys().then(e=>({default:e.APIKeys}))),I=(0,n.lazy)(()=>i.ConfigureSSO().then(e=>({default:e.ConfigureSSO}))),T=(0,n.lazy)(()=>i.Checkout().then(e=>({default:e.Checkout}))),M=(0,n.lazy)(()=>i.TaskChooseOrganization().then(e=>({default:e.TaskChooseOrganization}))),D=(0,n.lazy)(()=>i.TaskResetPassword().then(e=>({default:e.TaskResetPassword}))),z=(0,n.lazy)(()=>i.TaskSetupMFA().then(e=>({default:e.TaskSetupMFA}))),j=(0,n.lazy)(()=>i.PlanDetails().then(e=>({default:e.PlanDetails}))),U=(0,n.lazy)(()=>i.SubscriptionDetails().then(e=>({default:e.SubscriptionDetails}))),L=(0,n.lazy)(()=>i.OAuthConsent().then(e=>({default:e.OAuthConsent}))),N=(0,n.lazy)(()=>i.SessionTasks().then(e=>({default:e.SessionTasks}))),F=async e=>{var t;return null==(t=i[e])?void 0:t.call(i)};r.d(t,{},{Gb:x,JJ:N,L1:_,M9:o,O3:{SignIn:a,SignUp:f,UserAvatar:d,UserButton:p,UserProfile:g,UserVerification:l,EnableOrganizationsPrompt:c,OrganizationSwitcher:E,OrganizationList:k,OrganizationProfile:w,CreateOrganization:m,SignInModal:o,SignUpModal:h,UserProfileModal:y,OrganizationProfileModal:S,CreateOrganizationModal:b,UserVerificationModal:u,GoogleOneTap:s,Waitlist:P,WaitlistModal:_,BlankCaptchaModal:x,PricingTable:R,Checkout:T,PlanDetails:j,APIKeys:A,ConfigureSSO:I,OAuthConsent:L,SubscriptionDetails:U,TaskChooseOrganization:M,TaskResetPassword:D,TaskSetupMFA:z},Qj:S,RW:T,Sm:O,Xi:b,am:y,gK:h,jr:F,ju:C,yc:c,yd:u,ym:j})},54152(e,t,r){r.d(t,{t8:()=>x,$h:()=>C,dB:()=>A,Nx:()=>R,Vv:()=>O,xg:()=>I,Fj:()=>_,up:()=>P}),r(73560);var n=r(59763);r(67548),r(70954),r(98803),r(79162),r(15385),r(39342),r(69152),r(36395);var i=r(91311);let a=new Set;var o=r(46262),s=r(59701),l=r(81221);let u=(0,s.lazy)(()=>r.e(6666).then(r.bind(r,95250)).then(e=>({default:e.ClerkContextProvider}))),c=(0,s.lazy)(()=>r.e(6666).then(r.bind(r,95250)).then(e=>({default:e.EnvironmentProvider}))),f=(0,s.lazy)(()=>r.e(6666).then(r.bind(r,95250)).then(e=>({default:e.OptionsProvider}))),h=(0,s.lazy)(()=>r.e(6666).then(r.bind(r,95250)).then(e=>({default:e.ModuleManagerProvider}))),d=(0,s.lazy)(()=>Promise.all([r.e(1545),r.e(6666)]).then(r.bind(r,39230)).then(e=>({default:e.AppearanceProvider}))),p=(0,s.lazy)(()=>Promise.all([r.e(26),r.e(1545),r.e(6666)]).then(r.bind(r,37209)).then(e=>({default:e.VirtualRouter}))),g=(0,s.lazy)(()=>Promise.all([r.e(1545),r.e(6666)]).then(r.bind(r,37412)).then(e=>({default:e.InternalThemeProvider}))),y=(0,s.lazy)(()=>r.e(6666).then(r.bind(r,41610)).then(e=>({default:e.StyleCacheProvider}))),m=(0,s.lazy)(()=>Promise.all([r.e(26),r.e(1545),r.e(6666),r.e(472),r.e(4718)]).then(r.bind(r,12616)).then(e=>({default:e.Portal}))),b=(0,s.lazy)(()=>Promise.all([r.e(26),r.e(1545),r.e(6666),r.e(472),r.e(4718)]).then(r.bind(r,12616)).then(e=>({default:e.VirtualBodyRootPortal}))),w=(0,s.lazy)(()=>Promise.all([r.e(26),r.e(1545),r.e(6666)]).then(r.bind(r,17308)).then(e=>({default:e.FlowMetadataProvider}))),S=(0,s.lazy)(()=>Promise.all([r.e(26),r.e(1545),r.e(6666)]).then(r.bind(r,62574)).then(e=>({default:e.Modal}))),E=(0,s.lazy)(()=>Promise.all([r.e(26),r.e(1545),r.e(6666)]).then(r.bind(r,66923)).then(e=>({default:e.Drawer.Root}))),k=(0,s.lazy)(()=>Promise.all([r.e(26),r.e(1545),r.e(6666)]).then(r.bind(r,66923)).then(e=>({default:e.Drawer.Overlay}))),P=(0,s.lazy)(()=>r.e(5608).then(r.bind(r,30956)).then(e=>({default:e.OrganizationSwitcherPrefetch}))),_=e=>{var t;return(0,n.Y)(y,{nonce:e.options.nonce,cssLayerName:null==(t=e.options.appearance)?void 0:t.cssLayerName,children:(0,n.Y)(h,{moduleManager:e.moduleManager,children:(0,n.Y)(u,{clerk:e.clerk,children:(0,n.Y)(c,{value:e.environment,children:(0,n.Y)(f,{value:e.options,children:e.children})})})})})},x=e=>{var t,r,s,u;let c,f;return(null==e||null==(t=e.componentProps)?void 0:t.routing)==="virtual"&&(s='routing="virtual"',c=(0,i.a)()||(0,i.i)(),f=null!=u?u:s,a.has(f)||c||(a.add(f),console.warn('Clerk - DEPRECATION WARNING: "'.concat(s,'" is deprecated and will be removed in the next major release.\n').concat('Use routing="hash" instead.')))),(0,n.Y)(d,{globalAppearance:e.globalAppearance,appearanceKey:e.appearanceKey,appearance:e.componentAppearance,children:(0,n.Y)(o.N$,{getContainer:null==e||null==(r=e.componentProps)?void 0:r.getContainer,children:(0,n.Y)(m,{node:e.node,component:l.O3[e.componentName],props:e.componentProps,componentName:e.componentName})})})},O=e=>(0,n.Y)(s.Suspense,{fallback:"",children:(0,n.Y)(d,{globalAppearance:e.globalAppearance,appearanceKey:e.appearanceKey,appearance:e.componentAppearance,children:(0,n.Y)(w,{flow:e.flowName||"",children:(0,n.Y)(g,{children:(0,n.Y)(o.N$,{getContainer:e.getContainer,children:(0,n.Y)(S,{id:e.modalId,style:e.modalStyle,handleClose:e.onClose,containerSx:e.modalContainerSx,contentSx:e.modalContentSx,canCloseModal:e.canCloseModal,children:e.startPath?(0,n.Y)(s.Suspense,{children:(0,n.Y)(p,{startPath:e.startPath,onExternalNavigate:e.onExternalNavigate,children:e.children})}):e.children})})})})})}),C=e=>(0,n.Y)(s.Suspense,{fallback:"",children:(0,n.Y)(p,{startPath:"",children:(0,n.Y)(d,{globalAppearance:e.globalAppearance,appearanceKey:e.appearanceKey,appearance:e.componentAppearance,children:(0,n.Y)(w,{flow:e.flowName||"",children:(0,n.Y)(g,{children:(0,n.FD)(E,{open:e.open,onOpenChange:e.onOpenChange,strategy:e.portalId||e.portalRoot?"absolute":"fixed",portalProps:{id:e.portalId?e.portalId:void 0,root:e.portalRoot?e.portalRoot:void 0},children:[(0,n.Y)(k,{}),e.children]})})})})})}),R=e=>(0,n.Y)(s.Suspense,{children:(0,n.Y)(p,{startPath:"",children:(0,n.Y)(d,{globalAppearance:e.globalAppearance,appearanceKey:"impersonationFab",children:e.children})})}),A=e=>(0,n.Y)(s.Suspense,{children:(0,n.Y)(p,{startPath:"",children:(0,n.Y)(d,{globalAppearance:e.globalAppearance,appearanceKey:"enableOrganizationsPrompt",children:e.children})})}),I=e=>(0,n.Y)(d,{globalAppearance:e.globalAppearance,appearanceKey:"oneTap",appearance:e.componentAppearance,children:(0,n.Y)(b,{startPath:e.startPath,component:l.O3.GoogleOneTap,props:e.componentProps,componentName:"GoogleOneTap"})})},80719(e,t,r){r.d(t,{T:()=>p,I:()=>g}),r(42949),r(37891),r(85281),r(96954),r(36395),r(14104);var n=r(62826);let i=/\.cl-[A-Za-z0-9_-]+/,a=/\.cl-internal-[A-Za-z0-9_-]+/g,o=/\[\s*class\s*(\^=|\*=|\$=)\s*["']?[^"'\]]*cl-[^"'\]]*["']?\s*\]/i,s=/:(nth-child|nth-of-type|first-child|last-child|only-child|empty)\b/i,l=/:has\(/i;r(18723),r(52277);let u=/[.#\w\[:]/,c=/\.cl-[A-Za-z0-9_-]+/g,f=/[>+~\s]/;function h(e){return["Clerk: Structural CSS detected that may break on updates.\n\nFound:",e.slice(0,5).map(e=>" - ".concat(e)).join("\n")+(e.length>5?"\n (+".concat(e.length-5," more)"):""),"\nThese selectors depend on the internal DOM structure of Clerk's components, which may change when Clerk deploys component updates.\nTo prevent breaking changes, install @clerk/ui and pass it to ClerkProvider:\n\n import { ui } from '@clerk/ui'\n <ClerkProvider ui={ui}>\n\nLearn more: https://clerk.com/docs/reference/components/versioning\n(code=structural_css_pin_clerk_ui)"].join("\n")}function d(e){let t=[];for(let[r,n]of Object.entries(e))if("string"!=typeof n)for(let e of function e(t){if(!t||"object"!=typeof t)return[];let r=[];for(let[n,a]of Object.entries(t))(function(e){let t,r,n;return!!e.startsWith("&")&&(!!(i.test(e)||s.test(e)||l.test(e))||(t=e.replace(/^&\s*/,""),r=i.test(t),n=u.test(t.replace(c,"")),!!(r||n&&f.test(e))))})(n)&&r.push(n),r.push(...e(a));return r}(n))t.push("elements.".concat(r,' "').concat(e,'"'));return t}function p(e,t){if(t||!(null==e?void 0:e.elements)||0===Object.keys(e.elements).length)return;let r=d(e.elements);r.length>0&&n.v.warnOnce(h(r))}function g(e){var t;if(null==e||null==(t=e.ui)?void 0:t.__brand)return;let r=[],u=null==e?void 0:e.appearance;for(let e of((null==u?void 0:u.elements)&&Object.keys(u.elements).length>0&&r.push(...d(u.elements)),function(){if("u"<typeof document)return[];let e=[];for(let t of Array.from(document.styleSheets)){let r=function(e){try{return e.cssRules}catch{return null}}(t);r&&function e(t,r,n){for(let c of Array.from(t)){if(1===c.type&&"selectorText"in c){for(let e of(c.selectorText||"").split(",").map(e=>e.trim()).filter(Boolean)){var u;if(!function(e){let t=e.replace(a,"");return i.test(t)||o.test(t)}(e))continue;let{structural:t,reason:f}=function(e){let t=[];return(/\.cl-[A-Za-z0-9_-]+[\s>+~]+[.#\w\[:]/.test(e)||/[.#\w\]:][\s>+~]+\.cl-[A-Za-z0-9_-]+/.test(e))&&(/[>+~]/.test(e)&&t.push("combinator(>+~)"),/\s+/.test(e)&&t.push("descendant(combinator)")),s.test(e)&&t.push("positional-pseudo"),l.test(e)&&t.push(":has()"),(e.match(/\.cl-[A-Za-z0-9_-]+/g)||[]).length>=2&&t.push("multiple-clerk-classes"),/(^|[\s>+~(])([a-z]+)\.cl-[A-Za-z0-9_-]+/i.test(e)&&t.push("tag+cl-class"),{structural:t.includes("combinator(>+~)")||t.includes("descendant(combinator)")||t.includes("positional-pseudo")||t.includes(":has()")||t.includes("multiple-clerk-classes")||t.includes("tag+cl-class"),reason:t}}(e);t&&n.push({stylesheetHref:null!=(u=r.href)?u:null,selector:e,cssText:c.cssText,reason:f})}continue}"cssRules"in c&&c.cssRules&&e(c.cssRules,r,n)}}(r,t,e)}return e}()))r.push('CSS "'.concat(e.selector,'"'));r.length>0&&n.v.warnOnce(h(r))}},55435(e,t,r){r.d(t,{A:()=>K}),r(36395),r(85281),r(96954),r(42949),r(84086),r(15254),r(14104),r(37891);var n=function(){function e(e){var t=this;this._insertTag=function(e){var r;r=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,r),t.tags.push(e)},this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(((t=document.createElement("style")).setAttribute("data-emotion",this.key),void 0!==this.nonce&&t.setAttribute("nonce",this.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t));var t,r=this.tags[this.tags.length-1];if(this.isSpeedy){var n=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}(r);try{n.insertRule(e,n.cssRules.length)}catch(e){}}else r.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach(function(e){var t;return null==(t=e.parentNode)?void 0:t.removeChild(e)}),this.tags=[],this.ctr=0},e}(),i=Math.abs,a=String.fromCharCode,o=Object.assign;function s(e,t,r){return e.replace(t,r)}function l(e,t){return e.indexOf(t)}function u(e,t){return 0|e.charCodeAt(t)}function c(e,t,r){return e.slice(t,r)}function f(e){return e.length}function h(e,t){return t.push(e),e}var d=1,p=1,g=0,y=0,m=0,b="";function w(e,t,r,n,i,a,o){return{value:e,root:t,parent:r,type:n,props:i,children:a,line:d,column:p,length:o,return:""}}function S(e,t){return o(w("",null,null,"",null,null,0),e,{length:-e.length},t)}function E(){return m=y<g?u(b,y++):0,p++,10===m&&(p=1,d++),m}function k(){return u(b,y)}function P(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function _(e){return d=p=1,g=f(b=e),y=0,[]}function x(e){var t,r;return(t=y-1,r=function e(t){for(;E();)switch(m){case t:return y;case 34:case 39:34!==t&&39!==t&&e(m);break;case 40:41===t&&e(t);break;case 92:E()}return y}(91===e?e+2:40===e?e+1:e),c(b,t,r)).trim()}var O="-ms-",C="-moz-",R="-webkit-",A="comm",I="rule",T="decl",M="@keyframes";function D(e,t){for(var r="",n=e.length,i=0;i<n;i++)r+=t(e[i],i,e,t)||"";return r}function z(e,t,r,n){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case T:return e.return=e.return||e.value;case A:return"";case M:return e.return=e.value+"{"+D(e.children,n)+"}";case I:e.value=e.props.join(",")}return f(r=D(e.children,n))?e.return=e.value+"{"+r+"}":""}function j(e,t,r,n,a,o,l,u,f,h,d){for(var p=a-1,g=0===a?o:[""],y=g.length,m=0,b=0,S=0;m<n;++m)for(var E=0,k=c(e,p+1,p=i(b=l[m])),P=e;E<y;++E)(P=(b>0?g[E]+" "+k:s(k,/&\f/g,g[E])).trim())&&(f[S++]=P);return w(e,t,r,0===a?I:u,f,h,d)}function U(e,t,r,n){return w(e,t,r,T,c(e,0,n),c(e,n+1,-1),n)}r(53349);var L=function(e,t,r){for(var n=0,i=0;n=i,i=k(),38===n&&12===i&&(t[r]=1),!P(i);)E();return c(b,e,y)},N=function(e,t){var r=-1,n=44;do switch(P(n)){case 0:38===n&&12===k()&&(t[r]=1),e[r]+=L(y-1,t,r);break;case 2:e[r]+=x(n);break;case 4:if(44===n){e[++r]=58===k()?"&\f":"",t[r]=e[r].length;break}default:e[r]+=a(n)}while(n=E());return e},F=function(e,t){var r;return r=N(_(e),t),b="",r},q=new WeakMap,W=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,r=e.parent,n=e.column===r.column&&e.line===r.line;"rule"!==r.type;)if(!(r=r.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||q.get(r))&&!n){q.set(e,!0);for(var i=[],a=F(t,i),o=r.props,s=0,l=0;s<a.length;s++)for(var u=0;u<o.length;u++,l++)e.props[l]=i[s]?a[s].replace(/&\f/g,o[u]):o[u]+" "+a[s]}}},$=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}},B=[function(e,t,r,n){if(e.length>-1&&!e.return)switch(e.type){case T:e.return=function e(t,r){switch(45^u(t,0)?(((r<<2^u(t,0))<<2^u(t,1))<<2^u(t,2))<<2^u(t,3):0){case 5103:return R+"print-"+t+t;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return R+t+t;case 5349:case 4246:case 4810:case 6968:case 2756:return R+t+C+t+O+t+t;case 6828:case 4268:return R+t+O+t+t;case 6165:return R+t+O+"flex-"+t+t;case 5187:return R+t+s(t,/(\w+).+(:[^]+)/,R+"box-$1$2"+O+"flex-$1$2")+t;case 5443:return R+t+O+"flex-item-"+s(t,/flex-|-self/,"")+t;case 4675:return R+t+O+"flex-line-pack"+s(t,/align-content|flex-|-self/,"")+t;case 5548:return R+t+O+s(t,"shrink","negative")+t;case 5292:return R+t+O+s(t,"basis","preferred-size")+t;case 6060:return R+"box-"+s(t,"-grow","")+R+t+O+s(t,"grow","positive")+t;case 4554:return R+s(t,/([^-])(transform)/g,"$1"+R+"$2")+t;case 6187:return s(s(s(t,/(zoom-|grab)/,R+"$1"),/(image-set)/,R+"$1"),t,"")+t;case 5495:case 3959:return s(t,/(image-set\([^]*)/,R+"$1$`$1");case 4968:return s(s(t,/(.+:)(flex-)?(.*)/,R+"box-pack:$3"+O+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+R+t+t;case 4095:case 3583:case 4068:case 2532:return s(t,/(.+)-inline(.+)/,R+"$1$2")+t;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(f(t)-1-r>6)switch(u(t,r+1)){case 109:if(45!==u(t,r+4))break;case 102:return s(t,/(.+:)(.+)-([^]+)/,"$1"+R+"$2-$3$1"+C+(108==u(t,r+3)?"$3":"$2-$3"))+t;case 115:return~l(t,"stretch")?e(s(t,"stretch","fill-available"),r)+t:t}break;case 4949:if(115!==u(t,r+1))break;case 6444:switch(u(t,f(t)-3-(~l(t,"!important")&&10))){case 107:return s(t,":",":"+R)+t;case 101:return s(t,/(.+:)([^;!]+)(;|!.+)?/,"$1"+R+(45===u(t,14)?"inline-":"")+"box$3$1"+R+"$2$3$1"+O+"$2box$3")+t}break;case 5936:switch(u(t,r+11)){case 114:return R+t+O+s(t,/[svh]\w+-[tblr]{2}/,"tb")+t;case 108:return R+t+O+s(t,/[svh]\w+-[tblr]{2}/,"tb-rl")+t;case 45:return R+t+O+s(t,/[svh]\w+-[tblr]{2}/,"lr")+t}return R+t+O+t+t}return t}(e.value,e.length);break;case M:return D([S(e,{value:s(e.value,"@","@"+R)})],n);case I:if(e.length){var i,a;return i=e.props,a=function(t){var r;switch(r=t,(r=/(::plac\w+|:read-\w+)/.exec(r))?r[0]:r){case":read-only":case":read-write":return D([S(e,{props:[s(t,/:(read-\w+)/,":"+C+"$1")]})],n);case"::placeholder":return D([S(e,{props:[s(t,/:(plac\w+)/,":"+R+"input-$1")]}),S(e,{props:[s(t,/:(plac\w+)/,":"+C+"$1")]}),S(e,{props:[s(t,/:(plac\w+)/,O+"input-$1")]})],n)}return""},i.map(a).join("")}}}],K=function(e){var t,r,i,o,g,S=e.key;if("css"===S){var O=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(O,function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))})}var C=e.stylisPlugins||B,R={},I=[];o=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+S+' "]'),function(e){for(var t=e.getAttribute("data-emotion").split(" "),r=1;r<t.length;r++)R[t[r]]=!0;I.push(e)});var T=(r=(t=[W,$].concat(C,[z,(i=function(e){g.insert(e)},function(e){!e.root&&(e=e.return)&&i(e)})])).length,function(e,n,i,a){for(var o="",s=0;s<r;s++)o+=t[s](e,n,i,a)||"";return o}),M=function(e){var t,r;return D((r=function e(t,r,n,i,o,g,S,_,O){for(var C,R=0,I=0,T=S,M=0,D=0,z=0,L=1,N=1,F=1,q=0,W="",$=o,B=g,K=i,Y=W;N;)switch(z=q,q=E()){case 40:if(108!=z&&58==u(Y,T-1)){-1!=l(Y+=s(x(q),"&","&\f"),"&\f")&&(F=-1);break}case 34:case 39:case 91:Y+=x(q);break;case 9:case 10:case 13:case 32:Y+=function(e){for(;m=k();)if(m<33)E();else break;return P(e)>2||P(m)>3?"":" "}(z);break;case 92:Y+=function(e,t){for(var r;--t&&E()&&!(m<48)&&!(m>102)&&(!(m>57)||!(m<65))&&(!(m>70)||!(m<97)););return r=y+(t<6&&32==k()&&32==E()),c(b,e,r)}(y-1,7);continue;case 47:switch(k()){case 42:case 47:h((C=function(e,t){for(;E();)if(e+m===57)break;else if(e+m===84&&47===k())break;return"/*"+c(b,t,y-1)+"*"+a(47===e?e:E())}(E(),y),w(C,r,n,A,a(m),c(C,2,-2),0)),O);break;default:Y+="/"}break;case 123*L:_[R++]=f(Y)*F;case 125*L:case 59:case 0:switch(q){case 0:case 125:N=0;case 59+I:-1==F&&(Y=s(Y,/\f/g,"")),D>0&&f(Y)-T&&h(D>32?U(Y+";",i,n,T-1):U(s(Y," ","")+";",i,n,T-2),O);break;case 59:Y+=";";default:if(h(K=j(Y,r,n,R,I,o,_,W,$=[],B=[],T),g),123===q)if(0===I)e(Y,r,K,K,$,g,T,_,B);else switch(99===M&&110===u(Y,3)?100:M){case 100:case 108:case 109:case 115:e(t,K,K,i&&h(j(t,K,K,0,0,o,_,W,o,$=[],T),B),o,B,T,_,i?$:B);break;default:e(Y,K,K,K,[""],B,0,_,B)}}R=I=D=0,L=F=1,W=Y="",T=S;break;case 58:T=1+f(Y),D=z;default:if(L<1){if(123==q)--L;else if(125==q&&0==L++&&125==(m=y>0?u(b,--y):0,p--,10===m&&(p=1,d--),m))continue}switch(Y+=a(q),q*L){case 38:F=I>0?1:(Y+="\f",-1);break;case 44:_[R++]=(f(Y)-1)*F,F=1;break;case 64:45===k()&&(Y+=x(E())),M=k(),I=T=f(W=Y+=function(e){for(;!P(k());)E();return c(b,e,y)}(y)),q++;break;case 45:45===z&&2==f(Y)&&(L=0)}}return g}("",null,null,null,[""],t=_(t=e),0,[0],t),b="",r),T)},L={key:S,sheet:new n({key:S,container:o,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:R,registered:{},insert:function(e,t,r,n){g=r,M(e?e+"{"+t.styles+"}":t.styles),n&&(L.inserted[t.name]=!0)}};return L.sheet.hydrate(I),L}},43500(e,t,r){r.d(t,{C:()=>d,E:()=>S,a:()=>y,c:()=>b,h:()=>f}),r(15254),r(85281),r(67548),r(70954),r(98803),r(79162),r(15385),r(39342),r(69152),r(36395),r(96954);var n,i=r(59701),a=r(55435);function o(){return(o=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(null,arguments)}var s=r(53349),l=r(66936),u=r(31134),c=r(28206),f={}.hasOwnProperty,h=i.createContext("u">typeof HTMLElement?(0,a.A)({key:"css"}):null),d=h.Provider,p=i.createContext({}),g=(0,s.A)(function(e){return(0,s.A)(function(t){var r,n;return r=e,"function"==typeof(n=t)?n(r):o({},r,n)})}),y=function(e){var t=i.useContext(p);return e.theme!==t&&(t=g(t)(e.theme)),i.createElement(p.Provider,{value:t},e.children)},m="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",b=function(e,t){var r={};for(var n in t)f.call(t,n)&&(r[n]=t[n]);return r[m]=e,r},w=function(e){var t=e.cache,r=e.serialized,n=e.isStringTag;return(0,l.SF)(t,r,n),(0,c.s)(function(){return(0,l.sk)(t,r,n)}),null},S=(n=function(e,t,r){var n=e.css;"string"==typeof n&&void 0!==t.registered[n]&&(n=t.registered[n]);var a=e[m],o=[n],s="";"string"==typeof e.className?s=(0,l.Rk)(t.registered,o,e.className):null!=e.className&&(s=e.className+" ");var c=(0,u.J)(o,void 0,i.useContext(p));s+=t.key+"-"+c.name;var h={};for(var d in e)f.call(e,d)&&"css"!==d&&d!==m&&(h[d]=e[d]);return h.ref=r,h.className=s,i.createElement(i.Fragment,null,i.createElement(w,{cache:t,serialized:c,isStringTag:"string"==typeof a}),i.createElement(a,h))},(0,i.forwardRef)(function(e,t){return n(e,(0,i.useContext)(h),t)}))},59763(e,t,r){var n=r(23569),i=r(43500);r(59701),r(55435),r(53349),r(43184),r(66936),r(31134),r(28206);var a=n.Fragment;function o(e,t,r){return i.h.call(t,"css")?n.jsx(i.E,(0,i.c)(e,t),r):n.jsx(e,t,r)}function s(e,t,r){return i.h.call(t,"css")?n.jsxs(i.E,(0,i.c)(e,t),r):n.jsxs(e,t,r)}r.d(t,{FD:()=>s,FK:()=>a,Y:()=>o})},31134(e,t,r){r.d(t,{J:()=>g}),r(85281),r(96954),r(15254);var n,i,a,o={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},s=/[A-Z]|^ms/g,l=/_EMO_([^_]+?)_([^]*?)_EMO_/g,u=function(e){return 45===e.charCodeAt(1)},c=function(e){return null!=e&&"boolean"!=typeof e},f=(n=function(e){return u(e)?e:e.replace(s,"-$&").toLowerCase()},i=Object.create(null),function(e){return void 0===i[e]&&(i[e]=n(e)),i[e]}),h=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(l,function(e,t,r){return a={name:t,styles:r,next:a},t})}return 1===o[e]||u(e)||"number"!=typeof t||0===t?t:t+"px"};function d(e,t,r){if(null==r)return"";if(void 0!==r.__emotion_styles)return r;switch(typeof r){case"boolean":return"";case"object":if(1===r.anim)return a={name:r.name,styles:r.styles,next:a},r.name;if(void 0!==r.styles){var n=r.next;if(void 0!==n)for(;void 0!==n;)a={name:n.name,styles:n.styles,next:a},n=n.next;return r.styles+";"}return function(e,t,r){var n="";if(Array.isArray(r))for(var i=0;i<r.length;i++)n+=d(e,t,r[i])+";";else for(var a in r){var o=r[a];if("object"!=typeof o)null!=t&&void 0!==t[o]?n+=a+"{"+t[o]+"}":c(o)&&(n+=f(a)+":"+h(a,o)+";");else if(Array.isArray(o)&&"string"==typeof o[0]&&(null==t||void 0===t[o[0]]))for(var s=0;s<o.length;s++)c(o[s])&&(n+=f(a)+":"+h(a,o[s])+";");else{var l=d(e,t,o);switch(a){case"animation":case"animationName":n+=f(a)+":"+l+";";break;default:n+=a+"{"+l+"}"}}}return n}(e,t,r);case"function":if(void 0!==e){var i=a,o=r(e);return a=i,d(e,t,o)}}if(null==t)return r;var s=t[r];return void 0!==s?s:r}var p=/label:\s*([^\s;{]+)\s*(;|$)/g;function g(e,t,r){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var n,i=!0,o="";a=void 0;var s=e[0];null==s||void 0===s.raw?(i=!1,o+=d(r,t,s)):o+=s[0];for(var l=1;l<e.length;l++)o+=d(r,t,e[l]),i&&(o+=s[l]);p.lastIndex=0;for(var u="";null!==(n=p.exec(o));)u+="-"+n[1];return{name:function(e){for(var t,r=0,n=0,i=e.length;i>=4;++n,i-=4)t=(65535&(t=255&e.charCodeAt(n)|(255&e.charCodeAt(++n))<<8|(255&e.charCodeAt(++n))<<16|(255&e.charCodeAt(++n))<<24))*0x5bd1e995+((t>>>16)*59797<<16),t^=t>>>24,r=(65535&t)*0x5bd1e995+((t>>>16)*59797<<16)^(65535&r)*0x5bd1e995+((r>>>16)*59797<<16);switch(i){case 3:r^=(255&e.charCodeAt(n+2))<<16;case 2:r^=(255&e.charCodeAt(n+1))<<8;case 1:r^=255&e.charCodeAt(n),r=(65535&r)*0x5bd1e995+((r>>>16)*59797<<16)}return r^=r>>>13,(((r=(65535&r)*0x5bd1e995+((r>>>16)*59797<<16))^r>>>15)>>>0).toString(36)}(o)+u,styles:o,next:a}}},28206(e,t,r){var n,i=r(59701),a=!!(n||(n=r.t(i,2))).useInsertionEffect&&(n||(n=r.t(i,2))).useInsertionEffect,o=a||function(e){return e()};a||i.useLayoutEffect,r.d(t,{s:()=>o})},66936(e,t,r){function n(e,t,r){var n="";return r.split(" ").forEach(function(r){void 0!==e[r]?t.push(e[r]+";"):r&&(n+=r+" ")}),n}r(85281),r(42949),r(84086),r(14104);var i=function(e,t,r){var n=e.key+"-"+t.name;!1===r&&void 0===e.registered[n]&&(e.registered[n]=t.styles)},a=function(e,t,r){i(e,t,r);var n=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var a=t;do e.insert(t===a?"."+n:"",a,e.sheet,!0),a=a.next;while(void 0!==a)}};r.d(t,{Rk:()=>n,SF:()=>i,sk:()=>a})},53349(e,t,r){r(36395);var n=function(e){var t=new WeakMap;return function(r){if(t.has(r))return t.get(r);var n=e(r);return t.set(r,n),n}};r.d(t,{A:()=>n})},43184(e,t,r){var n=r(64326),i={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},a={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},o={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function l(e){return n.isMemo(e)?o:s[e.$$typeof]||i}s[n.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[n.Memo]=o;var u=Object.defineProperty,c=Object.getOwnPropertyNames,f=Object.getOwnPropertySymbols,h=Object.getOwnPropertyDescriptor,d=Object.getPrototypeOf,p=Object.prototype;e.exports=function e(t,r,n){if("string"!=typeof r){if(p){var i=d(r);i&&i!==p&&e(t,i,n)}var o=c(r);f&&(o=o.concat(f(r)));for(var s=l(t),g=l(r),y=0;y<o.length;++y){var m=o[y];if(!a[m]&&!(n&&n[m])&&!(g&&g[m])&&!(s&&s[m])){var b=h(r,m);try{u(t,m,b)}catch(e){}}}}return t}},75754(e,t){var r="function"==typeof Symbol&&Symbol.for,n=r?Symbol.for("react.element"):60103,i=r?Symbol.for("react.portal"):60106,a=r?Symbol.for("react.fragment"):60107,o=r?Symbol.for("react.strict_mode"):60108,s=r?Symbol.for("react.profiler"):60114,l=r?Symbol.for("react.provider"):60109,u=r?Symbol.for("react.context"):60110,c=r?Symbol.for("react.async_mode"):60111,f=r?Symbol.for("react.concurrent_mode"):60111,h=r?Symbol.for("react.forward_ref"):60112,d=r?Symbol.for("react.suspense"):60113,p=r?Symbol.for("react.suspense_list"):60120,g=r?Symbol.for("react.memo"):60115,y=r?Symbol.for("react.lazy"):60116,m=r?Symbol.for("react.block"):60121,b=r?Symbol.for("react.fundamental"):60117,w=r?Symbol.for("react.responder"):60118,S=r?Symbol.for("react.scope"):60119;function E(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case n:switch(e=e.type){case c:case f:case a:case s:case o:case d:return e;default:switch(e=e&&e.$$typeof){case u:case h:case y:case g:case l:return e;default:return t}}case i:return t}}}function k(e){return E(e)===f}t.AsyncMode=c,t.ConcurrentMode=f,t.ContextConsumer=u,t.ContextProvider=l,t.Element=n,t.ForwardRef=h,t.Fragment=a,t.Lazy=y,t.Memo=g,t.Portal=i,t.Profiler=s,t.StrictMode=o,t.Suspense=d,t.isAsyncMode=function(e){return k(e)||E(e)===c},t.isConcurrentMode=k,t.isContextConsumer=function(e){return E(e)===u},t.isContextProvider=function(e){return E(e)===l},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===n},t.isForwardRef=function(e){return E(e)===h},t.isFragment=function(e){return E(e)===a},t.isLazy=function(e){return E(e)===y},t.isMemo=function(e){return E(e)===g},t.isPortal=function(e){return E(e)===i},t.isProfiler=function(e){return E(e)===s},t.isStrictMode=function(e){return E(e)===o},t.isSuspense=function(e){return E(e)===d},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===a||e===f||e===s||e===o||e===d||e===p||"object"==typeof e&&null!==e&&(e.$$typeof===y||e.$$typeof===g||e.$$typeof===l||e.$$typeof===u||e.$$typeof===h||e.$$typeof===b||e.$$typeof===w||e.$$typeof===S||e.$$typeof===m)},t.typeOf=E},64326(e,t,r){e.exports=r(75754)},62771(e,t,r){var n=r(59701),i=Symbol.for("react.element"),a=Symbol.for("react.fragment"),o=Object.prototype.hasOwnProperty,s=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,l={key:!0,ref:!0,__self:!0,__source:!0};function u(e,t,r){var n,a={},u=null,c=null;for(n in void 0!==r&&(u=""+r),void 0!==t.key&&(u=""+t.key),void 0!==t.ref&&(c=t.ref),t)o.call(t,n)&&!l.hasOwnProperty(n)&&(a[n]=t[n]);if(e&&e.defaultProps)for(n in t=e.defaultProps)void 0===a[n]&&(a[n]=t[n]);return{$$typeof:i,type:e,key:u,ref:c,props:a,_owner:s.current}}t.Fragment=a,t.jsx=u,t.jsxs=u},23204(e,t,r){r(36395),r(15254),r(85281),r(96954),r(14104);var n=Symbol.for("react.element"),i=Symbol.for("react.portal"),a=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),l=Symbol.for("react.provider"),u=Symbol.for("react.context"),c=Symbol.for("react.forward_ref"),f=Symbol.for("react.suspense"),h=Symbol.for("react.memo"),d=Symbol.for("react.lazy"),p=Symbol.iterator,g={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},y=Object.assign,m={};function b(e,t,r){this.props=e,this.context=t,this.refs=m,this.updater=r||g}function w(){}function S(e,t,r){this.props=e,this.context=t,this.refs=m,this.updater=r||g}b.prototype.isReactComponent={},b.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},b.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},w.prototype=b.prototype;var E=S.prototype=new w;E.constructor=S,y(E,b.prototype),E.isPureReactComponent=!0;var k=Array.isArray,P=Object.prototype.hasOwnProperty,_={current:null},x={key:!0,ref:!0,__self:!0,__source:!0};function O(e,t,r){var i,a={},o=null,s=null;if(null!=t)for(i in void 0!==t.ref&&(s=t.ref),void 0!==t.key&&(o=""+t.key),t)P.call(t,i)&&!x.hasOwnProperty(i)&&(a[i]=t[i]);var l=arguments.length-2;if(1===l)a.children=r;else if(1<l){for(var u=Array(l),c=0;c<l;c++)u[c]=arguments[c+2];a.children=u}if(e&&e.defaultProps)for(i in l=e.defaultProps)void 0===a[i]&&(a[i]=l[i]);return{$$typeof:n,type:e,key:o,ref:s,props:a,_owner:_.current}}function C(e){return"object"==typeof e&&null!==e&&e.$$typeof===n}var R=/\/+/g;function A(e,t){var r,n;return"object"==typeof e&&null!==e&&null!=e.key?(r=""+e.key,n={"=":"=0",":":"=2"},"$"+r.replace(/[=:]/g,function(e){return n[e]})):t.toString(36)}function I(e,t,r){if(null==e)return e;var a=[],o=0;return!function e(t,r,a,o,s){var l,u,c,f=typeof t;("undefined"===f||"boolean"===f)&&(t=null);var h=!1;if(null===t)h=!0;else switch(f){case"string":case"number":h=!0;break;case"object":switch(t.$$typeof){case n:case i:h=!0}}if(h)return s=s(h=t),t=""===o?"."+A(h,0):o,k(s)?(a="",null!=t&&(a=t.replace(R,"$&/")+"/"),e(s,r,a,"",function(e){return e})):null!=s&&(C(s)&&(l=s,u=a+(!s.key||h&&h.key===s.key?"":(""+s.key).replace(R,"$&/")+"/")+t,s={$$typeof:n,type:l.type,key:u,ref:l.ref,props:l.props,_owner:l._owner}),r.push(s)),1;if(h=0,o=""===o?".":o+":",k(t))for(var d=0;d<t.length;d++){var g=o+A(f=t[d],d);h+=e(f,r,a,g,s)}else if("function"==typeof(g=null===(c=t)||"object"!=typeof c?null:"function"==typeof(c=p&&c[p]||c["@@iterator"])?c:null))for(t=g.call(t),d=0;!(f=t.next()).done;)g=o+A(f=f.value,d++),h+=e(f,r,a,g,s);else if("object"===f)throw Error("Objects are not valid as a React child (found: "+("[object Object]"===(r=String(t))?"object with keys {"+Object.keys(t).join(", ")+"}":r)+"). If you meant to render a collection of children, use an array instead.");return h}(e,a,"","",function(e){return t.call(r,e,o++)}),a}function T(e){if(-1===e._status){var t=e._result;(t=t()).then(function(t){(0===e._status||-1===e._status)&&(e._status=1,e._result=t)},function(t){(0===e._status||-1===e._status)&&(e._status=2,e._result=t)}),-1===e._status&&(e._status=0,e._result=t)}if(1===e._status)return e._result.default;throw e._result}var M={current:null},D={transition:null};function z(){throw Error("act(...) is not supported in production builds of React.")}t.Children={map:I,forEach:function(e,t,r){I(e,function(){t.apply(this,arguments)},r)},count:function(e){var t=0;return I(e,function(){t++}),t},toArray:function(e){return I(e,function(e){return e})||[]},only:function(e){if(!C(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},t.Component=b,t.Fragment=a,t.Profiler=s,t.PureComponent=S,t.StrictMode=o,t.Suspense=f,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED={ReactCurrentDispatcher:M,ReactCurrentBatchConfig:D,ReactCurrentOwner:_},t.act=z,t.cloneElement=function(e,t,r){if(null==e)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var i=y({},e.props),a=e.key,o=e.ref,s=e._owner;if(null!=t){if(void 0!==t.ref&&(o=t.ref,s=_.current),void 0!==t.key&&(a=""+t.key),e.type&&e.type.defaultProps)var l=e.type.defaultProps;for(u in t)P.call(t,u)&&!x.hasOwnProperty(u)&&(i[u]=void 0===t[u]&&void 0!==l?l[u]:t[u])}var u=arguments.length-2;if(1===u)i.children=r;else if(1<u){l=Array(u);for(var c=0;c<u;c++)l[c]=arguments[c+2];i.children=l}return{$$typeof:n,type:e.type,key:a,ref:o,props:i,_owner:s}},t.createContext=function(e){return(e={$$typeof:u,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:l,_context:e},e.Consumer=e},t.createElement=O,t.createFactory=function(e){var t=O.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:c,render:e}},t.isValidElement=C,t.lazy=function(e){return{$$typeof:d,_payload:{_status:-1,_result:e},_init:T}},t.memo=function(e,t){return{$$typeof:h,type:e,compare:void 0===t?null:t}},t.startTransition=function(e){var t=D.transition;D.transition={};try{e()}finally{D.transition=t}},t.unstable_act=z,t.useCallback=function(e,t){return M.current.useCallback(e,t)},t.useContext=function(e){return M.current.useContext(e)},t.useDebugValue=function(){},t.useDeferredValue=function(e){return M.current.useDeferredValue(e)},t.useEffect=function(e,t){return M.current.useEffect(e,t)},t.useId=function(){return M.current.useId()},t.useImperativeHandle=function(e,t,r){return M.current.useImperativeHandle(e,t,r)},t.useInsertionEffect=function(e,t){return M.current.useInsertionEffect(e,t)},t.useLayoutEffect=function(e,t){return M.current.useLayoutEffect(e,t)},t.useMemo=function(e,t){return M.current.useMemo(e,t)},t.useReducer=function(e,t,r){return M.current.useReducer(e,t,r)},t.useRef=function(e){return M.current.useRef(e)},t.useState=function(e){return M.current.useState(e)},t.useSyncExternalStore=function(e,t,r){return M.current.useSyncExternalStore(e,t,r)},t.useTransition=function(){return M.current.useTransition()},t.version="18.3.1"},59701(e,t,r){e.exports=r(23204)},23569(e,t,r){e.exports=r(62771)},70860(e,t,r){var n=r(68039),i=r(25229),a=TypeError;e.exports=function(e){if(n(e))return e;throw new a(i(e)+" is not a function")}},90114(e,t,r){var n=r(59811),i=r(25229),a=TypeError;e.exports=function(e){if(n(e))return e;throw new a(i(e)+" is not a constructor")}},30216(e,t,r){var n=r(30643),i=String,a=TypeError;e.exports=function(e){if(n(e))return e;throw new a("Can't set "+i(e)+" as a prototype")}},47234(e,t,r){var n=r(58260).has;e.exports=function(e){return n(e),e}},1643(e,t,r){var n=r(75869),i=r(12326),a=r(33919).f,o=n("unscopables"),s=Array.prototype;void 0===s[o]&&a(s,o,{configurable:!0,value:i(null)}),e.exports=function(e){s[o][e]=!0}},22287(e,t,r){var n=r(68445).charAt;e.exports=function(e,t,r){return t+(r?n(e,t).length:1)}},50473(e,t,r){var n=r(66227),i=TypeError;e.exports=function(e,t){if(n(t,e))return e;throw new i("Incorrect invocation")}},46177(e,t,r){var n=r(48188),i=String,a=TypeError;e.exports=function(e){if(n(e))return e;throw new a(i(e)+" is not an object")}},53869(e){e.exports="u">typeof ArrayBuffer&&"u">typeof DataView},82144(e,t,r){var n=r(6974),i=r(76572),a=r(74026),o=n.ArrayBuffer,s=n.TypeError;e.exports=o&&i(o.prototype,"byteLength","get")||function(e){if("ArrayBuffer"!==a(e))throw new s("ArrayBuffer expected");return e.byteLength}},80408(e,t,r){var n=r(6974),i=r(53869),a=r(82144),o=n.DataView;e.exports=function(e){if(!i||0!==a(e))return!1;try{return new o(e),!1}catch(e){return!0}}},30315(e,t,r){var n=r(80408),i=TypeError;e.exports=function(e){if(n(e))throw new i("ArrayBuffer is detached");return e}},2982(e,t,r){var n=r(6974),i=r(52782),a=r(76572),o=r(26722),s=r(30315),l=r(82144),u=r(47541),c=r(75698),f=n.structuredClone,h=n.ArrayBuffer,d=n.DataView,p=Math.min,g=h.prototype,y=d.prototype,m=i(g.slice),b=a(g,"resizable","get"),w=a(g,"maxByteLength","get"),S=i(y.getInt8),E=i(y.setInt8);e.exports=(c||u)&&function(e,t,r){var n,i=l(e),a=void 0===t?i:o(t),g=!b||!b(e);if(s(e),c&&(e=f(e,{transfer:[e]}),i===a&&(r||g)))return e;if(i>=a&&(!r||g))n=m(e,0,a);else{n=new h(a,r&&!g&&w?{maxByteLength:w(e)}:void 0);for(var y=new d(e),k=new d(n),P=p(a,i),_=0;_<P;_++)E(k,_,S(y,_))}return c||u(e),n}},97882(e,t,r){var n,i,a,o=r(53869),s=r(19058),l=r(6974),u=r(68039),c=r(48188),f=r(76151),h=r(73485),d=r(25229),p=r(80081),g=r(59430),y=r(7108),m=r(66227),b=r(69681),w=r(87261),S=r(75869),E=r(702),k=r(66935),P=k.enforce,_=k.get,x=l.Int8Array,O=x&&x.prototype,C=l.Uint8ClampedArray,R=C&&C.prototype,A=x&&b(x),I=O&&b(O),T=Object.prototype,M=l.TypeError,D=S("toStringTag"),z=E("TYPED_ARRAY_TAG"),j="TypedArrayConstructor",U=o&&!!w&&"Opera"!==h(l.opera),L=!1,N={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},F={BigInt64Array:8,BigUint64Array:8},q=function(e){var t=b(e);if(c(t)){var r=_(t);return r&&f(r,j)?r[j]:q(t)}},W=function(e){if(!c(e))return!1;var t=h(e);return f(N,t)||f(F,t)};for(n in N)(a=(i=l[n])&&i.prototype)?P(a)[j]=i:U=!1;for(n in F)(a=(i=l[n])&&i.prototype)&&(P(a)[j]=i);if((!U||!u(A)||A===Function.prototype)&&(A=function(){throw new M("Incorrect invocation")},U))for(n in N)l[n]&&w(l[n],A);if((!U||!I||I===T)&&(I=A.prototype,U))for(n in N)l[n]&&w(l[n].prototype,I);if(U&&b(R)!==I&&w(R,I),s&&!f(I,D))for(n in L=!0,y(I,D,{configurable:!0,get:function(){return c(this)?this[z]:void 0}}),N)l[n]&&p(l[n],z,n);e.exports={NATIVE_ARRAY_BUFFER_VIEWS:U,TYPED_ARRAY_TAG:L&&z,aTypedArray:function(e){if(W(e))return e;throw new M("Target is not a typed array")},aTypedArrayConstructor:function(e){if(u(e)&&(!w||m(A,e)))return e;throw new M(d(e)+" is not a typed array constructor")},exportTypedArrayMethod:function(e,t,r,n){if(s){if(r)for(var i in N){var a=l[i];if(a&&f(a.prototype,e))try{delete a.prototype[e]}catch(r){try{a.prototype[e]=t}catch(e){}}}(!I[e]||r)&&g(I,e,r?t:U&&O[e]||t,n)}},exportTypedArrayStaticMethod:function(e,t,r){var n,i;if(s){if(w){if(r){for(n in N)if((i=l[n])&&f(i,e))try{delete i[e]}catch(e){}}if(A[e]&&!r)return;try{return g(A,e,r?t:U&&A[e]||t)}catch(e){}}for(n in N)(i=l[n])&&(!i[e]||r)&&g(i,e,t)}},getTypedArrayConstructor:q,isView:function(e){if(!c(e))return!1;var t=h(e);return"DataView"===t||f(N,t)||f(F,t)},isTypedArray:W,TypedArray:A,TypedArrayPrototype:I}},91428(e,t,r){var n=r(6974),i=r(52782),a=r(19058),o=r(53869),s=r(6916),l=r(80081),u=r(7108),c=r(27597),f=r(59293),h=r(50473),d=r(65825),p=r(57864),g=r(26722),y=r(1863),m=r(8484),b=r(69681),w=r(87261),S=r(65083),E=r(34766),k=r(3153),P=r(18770),_=r(32377),x=r(66935),O=s.PROPER,C=s.CONFIGURABLE,R="ArrayBuffer",A="DataView",I="prototype",T="Wrong index",M=x.getterFor(R),D=x.getterFor(A),z=x.set,j=n[R],U=j,L=U&&U[I],N=n[A],F=N&&N[I],q=Object.prototype,W=n.Array,$=n.RangeError,B=i(S),K=i([].reverse),Y=m.pack,V=m.unpack,Q=function(e){return[255&e]},H=function(e){return[255&e,e>>8&255]},G=function(e){return[255&e,e>>8&255,e>>16&255,e>>24&255]},J=function(e){return e[3]<<24|e[2]<<16|e[1]<<8|e[0]},X=function(e){return Y(y(e),23,4)},Z=function(e){return Y(e,52,8)},ee=function(e,t,r){u(e[I],t,{configurable:!0,get:function(){return r(this)[t]}})},et=function(e,t,r,n){var i=D(e),a=g(r);if(a+t>i.byteLength)throw new $(T);var o=i.bytes,s=a+i.byteOffset,l=E(o,s,s+t);return n?l:K(l)},er=function(e,t,r,n,i,a){var o=D(e),s=g(r),l=n(+i),u=!!a;if(s+t>o.byteLength)throw new $(T);for(var c=o.bytes,f=s+o.byteOffset,h=0;h<t;h++)c[f+h]=l[u?h:t-h-1]};if(o){var en=O&&j.name!==R;!f(function(){j(1)})||!f(function(){new j(-1)})||f(function(){return new j,new j(1.5),new j(NaN),1!==j.length||en&&!C})?((U=function(e){return h(this,L),k(new j(g(e)),this,U)})[I]=L,L.constructor=U,P(U,j)):en&&C&&l(j,"name",R),w&&b(F)!==q&&w(F,q);var ei=new N(new U(2)),ea=i(F.setInt8);ei.setInt8(0,0x80000000),ei.setInt8(1,0x80000001),(ei.getInt8(0)||!ei.getInt8(1))&&c(F,{setInt8:function(e,t){ea(this,e,t<<24>>24)},setUint8:function(e,t){ea(this,e,t<<24>>24)}},{unsafe:!0})}else L=(U=function(e){h(this,L);var t=g(e);z(this,{type:R,bytes:B(W(t),0),byteLength:t}),a||(this.byteLength=t,this.detached=!1)})[I],F=(N=function(e,t,r){h(this,F),h(e,L);var n=M(e),i=n.byteLength,o=d(t);if(o<0||o>i)throw new $("Wrong offset");if(r=void 0===r?i-o:p(r),o+r>i)throw new $("Wrong length");z(this,{type:A,buffer:e,byteLength:r,byteOffset:o,bytes:n.bytes}),a||(this.buffer=e,this.byteLength=r,this.byteOffset=o)})[I],a&&(ee(U,"byteLength",M),ee(N,"buffer",D),ee(N,"byteLength",D),ee(N,"byteOffset",D)),c(F,{getInt8:function(e){return et(this,1,e)[0]<<24>>24},getUint8:function(e){return et(this,1,e)[0]},getInt16:function(e){var t=et(this,2,e,arguments.length>1&&arguments[1]);return(t[1]<<8|t[0])<<16>>16},getUint16:function(e){var t=et(this,2,e,arguments.length>1&&arguments[1]);return t[1]<<8|t[0]},getInt32:function(e){return J(et(this,4,e,arguments.length>1&&arguments[1]))},getUint32:function(e){return J(et(this,4,e,arguments.length>1&&arguments[1]))>>>0},getFloat32:function(e){return V(et(this,4,e,arguments.length>1&&arguments[1]),23)},getFloat64:function(e){return V(et(this,8,e,arguments.length>1&&arguments[1]),52)},setInt8:function(e,t){er(this,1,e,Q,t)},setUint8:function(e,t){er(this,1,e,Q,t)},setInt16:function(e,t){er(this,2,e,H,t,arguments.length>2&&arguments[2])},setUint16:function(e,t){er(this,2,e,H,t,arguments.length>2&&arguments[2])},setInt32:function(e,t){er(this,4,e,G,t,arguments.length>2&&arguments[2])},setUint32:function(e,t){er(this,4,e,G,t,arguments.length>2&&arguments[2])},setFloat32:function(e,t){er(this,4,e,X,t,arguments.length>2&&arguments[2])},setFloat64:function(e,t){er(this,8,e,Z,t,arguments.length>2&&arguments[2])}});_(U,R),_(N,A),e.exports={ArrayBuffer:U,DataView:N}},65083(e,t,r){var n=r(72095),i=r(3108),a=r(92956);e.exports=function(e){for(var t=n(this),r=a(t),o=arguments.length,s=i(o>1?arguments[1]:void 0,r),l=o>2?arguments[2]:void 0,u=void 0===l?r:i(l,r);u>s;)t[s++]=e;return t}},11372(e,t,r){var n=r(92956);e.exports=function(e,t,r){for(var i=0,a=arguments.length>2?r:n(t),o=new e(a);a>i;)o[i]=t[i++];return o}},77930(e,t,r){var n=r(92254),i=r(33179),a=r(72095),o=r(75017),s=r(64623),l=r(59811),u=r(92956),c=r(84634),f=r(56563),h=r(18301),d=Array;e.exports=function(e){var t,r,p,g,y,m,b=a(e),w=l(this),S=arguments.length,E=S>1?arguments[1]:void 0,k=void 0!==E;k&&(E=n(E,S>2?arguments[2]:void 0));var P=h(b),_=0;if(P&&!(this===d&&s(P)))for(r=w?new this:[],y=(g=f(b,P)).next;!(p=i(y,g)).done;_++)m=k?o(g,E,[p.value,_],!0):p.value,c(r,_,m);else for(t=u(b),r=w?new this(t):d(t);t>_;_++)m=k?E(b[_],_):b[_],c(r,_,m);return r.length=_,r}},25383(e,t,r){var n=r(41555),i=r(3108),a=r(92956),o=function(e){return function(t,r,o){var s,l=n(t),u=a(l);if(0===u)return!e&&-1;var c=i(o,u);if(e&&r!=r){for(;u>c;)if((s=l[c++])!=s)return!0}else for(;u>c;c++)if((e||c in l)&&l[c]===r)return e||c||0;return!e&&-1}};e.exports={includes:o(!0),indexOf:o(!1)}},61857(e,t,r){var n=r(92254),i=r(14461),a=r(72095),o=r(92956),s=function(e){var t=1===e;return function(r,s,l){for(var u,c=a(r),f=i(c),h=o(f),d=n(s,l);h-- >0;)if(d(u=f[h],h,c))switch(e){case 0:return u;case 1:return h}return t?-1:void 0}};e.exports={findLast:s(0),findLastIndex:s(1)}},23831(e,t,r){var n=r(92254),i=r(52782),a=r(14461),o=r(72095),s=r(92956),l=r(971),u=i([].push),c=function(e){var t=1===e,r=2===e,i=3===e,c=4===e,f=6===e,h=7===e,d=5===e||f;return function(p,g,y,m){for(var b,w,S=o(p),E=a(S),k=s(E),P=n(g,y),_=0,x=m||l,O=t?x(p,k):r||h?x(p,0):void 0;k>_;_++)if((d||_ in E)&&(w=P(b=E[_],_,S),e))if(t)O[_]=w;else if(w)switch(e){case 3:return!0;case 5:return b;case 6:return _;case 2:u(O,b)}else switch(e){case 4:return!1;case 7:u(O,b)}return f?-1:i||c?c:O}};e.exports={forEach:c(0),map:c(1),filter:c(2),some:c(3),every:c(4),find:c(5),findIndex:c(6),filterReject:c(7)}},32604(e,t,r){var n=r(59293);e.exports=function(e,t){var r=[][e];return!!r&&n(function(){r.call(null,t||function(){return 1},1)})}},40184(e,t,r){var n=r(70860),i=r(72095),a=r(14461),o=r(92956),s=TypeError,l="Reduce of empty array with no initial value",u=function(e){return function(t,r,u,c){var f=i(t),h=a(f),d=o(f);if(n(r),0===d&&u<2)throw new s(l);var p=e?d-1:0,g=e?-1:1;if(u<2)for(;;){if(p in h){c=h[p],p+=g;break}if(p+=g,e?p<0:d<=p)throw new s(l)}for(;e?p>=0:d>p;p+=g)p in h&&(c=r(c,h[p],p,f));return c}};e.exports={left:u(!1),right:u(!0)}},27021(e,t,r){var n=r(19058),i=r(57958),a=TypeError,o=Object.getOwnPropertyDescriptor;e.exports=n&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(e){return e instanceof TypeError}}()?function(e,t){if(i(e)&&!o(e,"length").writable)throw new a("Cannot set read only .length");return e.length=t}:function(e,t){return e.length=t}},34766(e,t,r){e.exports=r(52782)([].slice)},31534(e,t,r){var n=r(34766),i=Math.floor,a=function(e,t){var r=e.length;if(r<8)for(var o,s,l=1;l<r;){for(s=l,o=e[l];s&&t(e[s-1],o)>0;)e[s]=e[--s];s!==l++&&(e[s]=o)}else for(var u=i(r/2),c=a(n(e,0,u),t),f=a(n(e,u),t),h=c.length,d=f.length,p=0,g=0;p<h||g<d;)e[p+g]=p<h&&g<d?0>=t(c[p],f[g])?c[p++]:f[g++]:p<h?c[p++]:f[g++];return e};e.exports=a},45051(e,t,r){var n=r(57958),i=r(59811),a=r(48188),o=r(75869)("species"),s=Array;e.exports=function(e){var t;return n(e)&&(i(t=e.constructor)&&(t===s||n(t.prototype))?t=void 0:a(t)&&null===(t=t[o])&&(t=void 0)),void 0===t?s:t}},971(e,t,r){var n=r(45051);e.exports=function(e,t){return new(n(e))(0===t?0:t)}},4062(e,t,r){var n=r(92956);e.exports=function(e,t){for(var r=n(e),i=new t(r),a=0;a<r;a++)i[a]=e[r-a-1];return i}},49718(e,t,r){var n=r(92956),i=r(65825),a=RangeError;e.exports=function(e,t,r,o){var s=n(e),l=i(r),u=l<0?s+l:l;if(u>=s||u<0)throw new a("Incorrect index");for(var c=new t(s),f=0;f<s;f++)c[f]=f===u?o:e[f];return c}},75017(e,t,r){var n=r(46177),i=r(55053);e.exports=function(e,t,r,a){try{return a?t(n(r)[0],r[1]):t(r)}catch(t){i(e,"throw",t)}}},30366(e,t,r){var n=r(75869)("iterator"),i=!1;try{var a=0,o={next:function(){return{done:!!a++}},return:function(){i=!0}};o[n]=function(){return this},Array.from(o,function(){throw 2})}catch(e){}e.exports=function(e,t){try{if(!t&&!i)return!1}catch(e){return!1}var r=!1;try{var a={};a[n]=function(){return{next:function(){return{done:r=!0}}}},e(a)}catch(e){}return r}},74026(e,t,r){var n=r(52782),i=n({}.toString),a=n("".slice);e.exports=function(e){return a(i(e),8,-1)}},73485(e,t,r){var n=r(23886),i=r(68039),a=r(74026),o=r(75869)("toStringTag"),s=Object,l="Arguments"===a(function(){return arguments}()),u=function(e,t){try{return e[t]}catch(e){}};e.exports=n?a:function(e){var t,r,n;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(r=u(t=s(e),o))?r:l?a(t):"Object"===(n=a(t))&&i(t.callee)?"Arguments":n}},18770(e,t,r){var n=r(76151),i=r(73517),a=r(43069),o=r(33919);e.exports=function(e,t,r){for(var s=i(t),l=o.f,u=a.f,c=0;c<s.length;c++){var f=s[c];n(e,f)||r&&n(r,f)||l(e,f,u(t,f))}}},1109(e,t,r){e.exports=!r(59293)(function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype})},46827(e){e.exports=function(e,t){return{value:e,done:t}}},80081(e,t,r){var n=r(19058),i=r(33919),a=r(56582);e.exports=n?function(e,t,r){return i.f(e,t,a(1,r))}:function(e,t,r){return e[t]=r,e}},56582(e){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},84634(e,t,r){var n=r(19058),i=r(33919),a=r(56582);e.exports=function(e,t,r){n?i.f(e,t,a(0,r)):e[t]=r}},7108(e,t,r){var n=r(72461),i=r(33919);e.exports=function(e,t,r){return r.get&&n(r.get,t,{getter:!0}),r.set&&n(r.set,t,{setter:!0}),i.f(e,t,r)}},59430(e,t,r){var n=r(68039),i=r(33919),a=r(72461),o=r(75963);e.exports=function(e,t,r,s){s||(s={});var l=s.enumerable,u=void 0!==s.name?s.name:t;if(n(r)&&a(r,u,s),s.global)l?e[t]=r:o(t,r);else{try{s.unsafe?e[t]&&(l=!0):delete e[t]}catch(e){}l?e[t]=r:i.f(e,t,{value:r,enumerable:!1,configurable:!s.nonConfigurable,writable:!s.nonWritable})}return e}},27597(e,t,r){var n=r(59430);e.exports=function(e,t,r){for(var i in t)n(e,i,t[i],r);return e}},75963(e,t,r){var n=r(6974),i=Object.defineProperty;e.exports=function(e,t){try{i(n,e,{value:t,configurable:!0,writable:!0})}catch(r){n[e]=t}return t}},19058(e,t,r){e.exports=!r(59293)(function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]})},47541(e,t,r){var n,i,a,o,s=r(6974),l=r(55423),u=r(75698),c=s.structuredClone,f=s.ArrayBuffer,h=s.MessageChannel,d=!1;if(u)d=function(e){c(e,{transfer:[e]})};else if(f)try{!h&&(n=l("worker_threads"))&&(h=n.MessageChannel),h&&(i=new h,a=new f(2),o=function(e){i.port1.postMessage(null,[e])},2===a.byteLength&&(o(a),0===a.byteLength&&(d=o)))}catch(e){}e.exports=d},95637(e,t,r){var n=r(6974),i=r(48188),a=n.document,o=i(a)&&i(a.createElement);e.exports=function(e){return o?a.createElement(e):{}}},61959(e){var t=TypeError;e.exports=function(e){if(e>0x1fffffffffffff)throw t("Maximum allowed index exceeded");return e}},94864(e){e.exports={IndexSizeError:{s:"INDEX_SIZE_ERR",c:1,m:1},DOMStringSizeError:{s:"DOMSTRING_SIZE_ERR",c:2,m:0},HierarchyRequestError:{s:"HIERARCHY_REQUEST_ERR",c:3,m:1},WrongDocumentError:{s:"WRONG_DOCUMENT_ERR",c:4,m:1},InvalidCharacterError:{s:"INVALID_CHARACTER_ERR",c:5,m:1},NoDataAllowedError:{s:"NO_DATA_ALLOWED_ERR",c:6,m:0},NoModificationAllowedError:{s:"NO_MODIFICATION_ALLOWED_ERR",c:7,m:1},NotFoundError:{s:"NOT_FOUND_ERR",c:8,m:1},NotSupportedError:{s:"NOT_SUPPORTED_ERR",c:9,m:1},InUseAttributeError:{s:"INUSE_ATTRIBUTE_ERR",c:10,m:1},InvalidStateError:{s:"INVALID_STATE_ERR",c:11,m:1},SyntaxError:{s:"SYNTAX_ERR",c:12,m:1},InvalidModificationError:{s:"INVALID_MODIFICATION_ERR",c:13,m:1},NamespaceError:{s:"NAMESPACE_ERR",c:14,m:1},InvalidAccessError:{s:"INVALID_ACCESS_ERR",c:15,m:1},ValidationError:{s:"VALIDATION_ERR",c:16,m:0},TypeMismatchError:{s:"TYPE_MISMATCH_ERR",c:17,m:1},SecurityError:{s:"SECURITY_ERR",c:18,m:1},NetworkError:{s:"NETWORK_ERR",c:19,m:1},AbortError:{s:"ABORT_ERR",c:20,m:1},URLMismatchError:{s:"URL_MISMATCH_ERR",c:21,m:1},QuotaExceededError:{s:"QUOTA_EXCEEDED_ERR",c:22,m:1},TimeoutError:{s:"TIMEOUT_ERR",c:23,m:1},InvalidNodeTypeError:{s:"INVALID_NODE_TYPE_ERR",c:24,m:1},DataCloneError:{s:"DATA_CLONE_ERR",c:25,m:1}}},71806(e){e.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},84098(e,t,r){var n=r(95637)("span").classList,i=n&&n.constructor&&n.constructor.prototype;e.exports=i===Object.prototype?void 0:i},65985(e){e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},21203(e,t,r){var n=r(34857).match(/firefox\/(\d+)/i);e.exports=!!n&&+n[1]},13777(e,t,r){var n=r(34857);e.exports=/MSIE|Trident/.test(n)},65587(e,t,r){var n=r(34857);e.exports=/ipad|iphone|ipod/i.test(n)&&"u">typeof Pebble},77502(e,t,r){var n=r(34857);e.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(n)},15523(e,t,r){e.exports="NODE"===r(70229)},68338(e,t,r){var n=r(34857);e.exports=/web0s(?!.*chrome)/i.test(n)},34857(e,t,r){var n=r(6974).navigator,i=n&&n.userAgent;e.exports=i?String(i):""},76153(e,t,r){var n,i,a=r(6974),o=r(34857),s=a.process,l=a.Deno,u=s&&s.versions||l&&l.version,c=u&&u.v8;c&&(i=(n=c.split("."))[0]>0&&n[0]<4?1:+(n[0]+n[1])),!i&&o&&(!(n=o.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=o.match(/Chrome\/(\d+)/))&&(i=+n[1]),e.exports=i},62729(e,t,r){var n=r(34857).match(/AppleWebKit\/(\d+)\./);e.exports=!!n&&+n[1]},70229(e,t,r){var n=r(6974),i=r(34857),a=r(74026),o=function(e){return i.slice(0,e.length)===e};e.exports=o("Bun/")?"BUN":o("Cloudflare-Workers")?"CLOUDFLARE":o("Deno/")?"DENO":o("Node.js/")?"NODE":n.Bun&&"string"==typeof Bun.version?"BUN":n.Deno&&"object"==typeof Deno.version?"DENO":"process"===a(n.process)?"NODE":n.window&&n.document?"BROWSER":"REST"},50747(e,t,r){var n=r(52782),i=Error,a=n("".replace),o=String(new i("zxcasd").stack),s=/\n\s*at [^:]*:[^\n]*/,l=s.test(o);e.exports=function(e,t){if(l&&"string"==typeof e&&!i.prepareStackTrace)for(;t--;)e=a(e,s,"");return e}},87245(e,t,r){var n=r(80081),i=r(50747),a=r(96041),o=Error.captureStackTrace;e.exports=function(e,t,r,s){a&&(o?o(e,t):n(e,"stack",i(r,s)))}},96041(e,t,r){var n=r(59293),i=r(56582);e.exports=!n(function(){var e=Error("a");return!("stack"in e)||(Object.defineProperty(e,"stack",i(1,7)),7!==e.stack)})},64808(e,t,r){var n=r(6974),i=r(43069).f,a=r(80081),o=r(59430),s=r(75963),l=r(18770),u=r(76518);e.exports=function(e,t){var r,c,f,h,d,p=e.target,g=e.global,y=e.stat;if(r=g?n:y?n[p]||s(p,{}):n[p]&&n[p].prototype)for(c in t){if(h=t[c],f=e.dontCallGetSet?(d=i(r,c))&&d.value:r[c],!u(g?c:p+(y?".":"#")+c,e.forced)&&void 0!==f){if(typeof h==typeof f)continue;l(h,f)}(e.sham||f&&f.sham)&&a(h,"sham",!0),o(r,c,h,e)}}},59293(e){e.exports=function(e){try{return!!e()}catch(e){return!0}}},41298(e,t,r){r(85281);var n=r(33179),i=r(59430),a=r(66565),o=r(59293),s=r(75869),l=r(80081),u=s("species"),c=RegExp.prototype;e.exports=function(e,t,r,f){var h=s(e),d=!o(function(){var t={};return t[h]=function(){return 7},7!==""[e](t)}),p=d&&!o(function(){var t=!1,r=/a/;if("split"===e){var n={};n[u]=function(){return r},(r={constructor:n,flags:""})[h]=/./[h]}return r.exec=function(){return t=!0,null},r[h](""),!t});if(!d||!p||r){var g=/./[h],y=t(h,""[e],function(e,t,r,i,o){var s=t.exec;return s===a||s===c.exec?d&&!o?{done:!0,value:n(g,t,r,i)}:{done:!0,value:n(e,r,t,i)}:{done:!1}});i(String.prototype,e,y[0]),i(c,h,y[1])}f&&l(c[h],"sham",!0)}},16263(e,t,r){var n=r(27470),i=Function.prototype,a=i.apply,o=i.call;e.exports="object"==typeof Reflect&&Reflect.apply||(n?o.bind(a):function(){return o.apply(a,arguments)})},92254(e,t,r){var n=r(3350),i=r(70860),a=r(27470),o=n(n.bind);e.exports=function(e,t){return i(e),void 0===t?e:a?o(e,t):function(){return e.apply(t,arguments)}}},27470(e,t,r){e.exports=!r(59293)(function(){var e=(function(){}).bind();return"function"!=typeof e||e.hasOwnProperty("prototype")})},33179(e,t,r){var n=r(27470),i=Function.prototype.call;e.exports=n?i.bind(i):function(){return i.apply(i,arguments)}},6916(e,t,r){var n=r(19058),i=r(76151),a=Function.prototype,o=n&&Object.getOwnPropertyDescriptor,s=i(a,"name"),l=s&&(!n||n&&o(a,"name").configurable);e.exports={EXISTS:s,PROPER:s&&"something"===(function(){}).name,CONFIGURABLE:l}},76572(e,t,r){var n=r(52782),i=r(70860);e.exports=function(e,t,r){try{return n(i(Object.getOwnPropertyDescriptor(e,t)[r]))}catch(e){}}},3350(e,t,r){var n=r(74026),i=r(52782);e.exports=function(e){if("Function"===n(e))return i(e)}},52782(e,t,r){var n=r(27470),i=Function.prototype,a=i.call,o=n&&i.bind.bind(a,a);e.exports=n?o:function(e){return function(){return a.apply(e,arguments)}}},55423(e,t,r){var n=r(6974),i=r(15523);e.exports=function(e){if(i){try{return n.process.getBuiltinModule(e)}catch(e){}try{return Function('return require("'+e+'")')()}catch(e){}}}},72485(e,t,r){var n=r(6974),i=r(68039);e.exports=function(e,t){var r;return arguments.length<2?i(r=n[e])?r:void 0:n[e]&&n[e][t]}},86845(e){e.exports=function(e){return{iterator:e,next:e.next,done:!1}}},18301(e,t,r){var n=r(73485),i=r(25112),a=r(3563),o=r(49227),s=r(75869)("iterator");e.exports=function(e){if(!a(e))return i(e,s)||i(e,"@@iterator")||o[n(e)]}},56563(e,t,r){var n=r(33179),i=r(70860),a=r(46177),o=r(25229),s=r(18301),l=TypeError;e.exports=function(e,t){var r=arguments.length<2?s(e):t;if(i(r))return a(n(r,e));throw new l(o(e)+" is not iterable")}},25112(e,t,r){var n=r(70860),i=r(3563);e.exports=function(e,t){var r=e[t];return i(r)?void 0:n(r)}},65447(e,t,r){var n=r(70860),i=r(46177),a=r(33179),o=r(65825),s=r(86845),l="Invalid size",u=RangeError,c=TypeError,f=Math.max,h=function(e,t){this.set=e,this.size=f(t,0),this.has=n(e.has),this.keys=n(e.keys)};h.prototype={getIterator:function(){return s(i(a(this.keys,this.set)))},includes:function(e){return a(this.has,this.set,e)}},e.exports=function(e){i(e);var t=+e.size;if(t!=t)throw new c(l);var r=o(t);if(r<0)throw new u(l);return new h(e,r)}},67256(e,t,r){var n=r(52782),i=r(72095),a=Math.floor,o=n("".charAt),s=n("".replace),l=n("".slice),u=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,c=/\$([$&'`]|\d{1,2})/g;e.exports=function(e,t,r,n,f,h){var d=r+e.length,p=n.length,g=c;return void 0!==f&&(f=i(f),g=u),s(h,g,function(i,s){var u;switch(o(s,0)){case"$":return"$";case"&":return e;case"`":return l(t,0,r);case"'":return l(t,d);case"<":u=f[l(s,1,-1)];break;default:var c=+s;if(0===c)return i;if(c>p){var h=a(c/10);if(0===h)return i;if(h<=p)return void 0===n[h-1]?o(s,1):n[h-1]+o(s,1);return i}u=n[c-1]}return void 0===u?"":u})}},6974(e,t,r){var n=function(e){return e&&e.Math===Math&&e};e.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof r.g&&r.g)||n("object"==typeof this&&this)||function(){return this}()||Function("return this")()},76151(e,t,r){var n=r(52782),i=r(72095),a=n({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return a(i(e),t)}},30903(e){e.exports={}},69823(e){e.exports=function(e,t){try{1==arguments.length?console.error(e):console.error(e,t)}catch(e){}}},39247(e,t,r){e.exports=r(72485)("document","documentElement")},60299(e,t,r){var n=r(19058),i=r(59293),a=r(95637);e.exports=!n&&!i(function(){return 7!==Object.defineProperty(a("div"),"a",{get:function(){return 7}}).a})},8484(e){var t=Array,r=Math.abs,n=Math.pow,i=Math.floor,a=Math.log,o=Math.LN2;e.exports={pack:function(e,s,l){var u,c,f,h=t(l),d=8*l-s-1,p=(1<<d)-1,g=p>>1,y=23===s?n(2,-24)-n(2,-77):0,m=+(e<0||0===e&&1/e<0),b=0;for((e=r(e))!=e||e===1/0?(c=+(e!=e),u=p):(f=n(2,-(u=i(a(e)/o))),e*f<1&&(u--,f*=2),u+g>=1?e+=y/f:e+=y*n(2,1-g),e*f>=2&&(u++,f/=2),u+g>=p?(c=0,u=p):u+g>=1?(c=(e*f-1)*n(2,s),u+=g):(c=e*n(2,g-1)*n(2,s),u=0));s>=8;)h[b++]=255&c,c/=256,s-=8;for(u=u<<s|c,d+=s;d>0;)h[b++]=255&u,u/=256,d-=8;return h[b-1]|=128*m,h},unpack:function(e,t){var r,i=e.length,a=8*i-t-1,o=(1<<a)-1,s=o>>1,l=a-7,u=i-1,c=e[u--],f=127&c;for(c>>=7;l>0;)f=256*f+e[u--],l-=8;for(r=f&(1<<-l)-1,f>>=-l,l+=t;l>0;)r=256*r+e[u--],l-=8;if(0===f)f=1-s;else{if(f===o)return r?NaN:c?-1/0:1/0;r+=n(2,t),f-=s}return(c?-1:1)*r*n(2,f-t)}}},14461(e,t,r){var n=r(52782),i=r(59293),a=r(74026),o=Object,s=n("".split);e.exports=i(function(){return!o("z").propertyIsEnumerable(0)})?function(e){return"String"===a(e)?s(e,""):o(e)}:o},3153(e,t,r){var n=r(68039),i=r(48188),a=r(87261);e.exports=function(e,t,r){var o,s;return a&&n(o=t.constructor)&&o!==r&&i(s=o.prototype)&&s!==r.prototype&&a(e,s),e}},49576(e,t,r){var n=r(52782),i=r(68039),a=r(66851),o=n(Function.toString);i(a.inspectSource)||(a.inspectSource=function(e){return o(e)}),e.exports=a.inspectSource},35910(e,t,r){var n=r(48188),i=r(80081);e.exports=function(e,t){n(t)&&"cause"in t&&i(e,"cause",t.cause)}},66935(e,t,r){var n,i,a,o=r(24232),s=r(6974),l=r(48188),u=r(80081),c=r(76151),f=r(66851),h=r(16845),d=r(30903),p="Object already initialized",g=s.TypeError,y=s.WeakMap;if(o||f.state){var m=f.state||(f.state=new y);m.get=m.get,m.has=m.has,m.set=m.set,n=function(e,t){if(m.has(e))throw new g(p);return t.facade=e,m.set(e,t),t},i=function(e){return m.get(e)||{}},a=function(e){return m.has(e)}}else{var b=h("state");d[b]=!0,n=function(e,t){if(c(e,b))throw new g(p);return t.facade=e,u(e,b,t),t},i=function(e){return c(e,b)?e[b]:{}},a=function(e){return c(e,b)}}e.exports={set:n,get:i,has:a,enforce:function(e){return a(e)?i(e):n(e,{})},getterFor:function(e){return function(t){var r;if(!l(t)||(r=i(t)).type!==e)throw new g("Incompatible receiver, "+e+" required");return r}}}},64623(e,t,r){var n=r(75869),i=r(49227),a=n("iterator"),o=Array.prototype;e.exports=function(e){return void 0!==e&&(i.Array===e||o[a]===e)}},57958(e,t,r){var n=r(74026);e.exports=Array.isArray||function(e){return"Array"===n(e)}},63633(e,t,r){var n=r(73485);e.exports=function(e){var t=n(e);return"BigInt64Array"===t||"BigUint64Array"===t}},68039(e){var t="object"==typeof document&&document.all;e.exports=void 0===t&&void 0!==t?function(e){return"function"==typeof e||e===t}:function(e){return"function"==typeof e}},59811(e,t,r){var n=r(52782),i=r(59293),a=r(68039),o=r(73485),s=r(72485),l=r(49576),u=function(){},c=s("Reflect","construct"),f=/^\s*(?:class|function)\b/,h=n(f.exec),d=!f.test(u),p=function(e){if(!a(e))return!1;try{return c(u,[],e),!0}catch(e){return!1}},g=function(e){if(!a(e))return!1;switch(o(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return d||!!h(f,l(e))}catch(e){return!0}};g.sham=!0,e.exports=!c||i(function(){var e;return p(p.call)||!p(Object)||!p(function(){e=!0})||e})?g:p},76518(e,t,r){var n=r(59293),i=r(68039),a=/#|\.prototype\./,o=function(e,t){var r=l[s(e)];return r===c||r!==u&&(i(t)?n(t):!!t)},s=o.normalize=function(e){return String(e).replace(a,".").toLowerCase()},l=o.data={},u=o.NATIVE="N",c=o.POLYFILL="P";e.exports=o},1037(e,t,r){var n=r(48188),i=Math.floor;e.exports=Number.isInteger||function(e){return!n(e)&&isFinite(e)&&i(e)===e}},3563(e){e.exports=function(e){return null==e}},48188(e,t,r){var n=r(68039);e.exports=function(e){return"object"==typeof e?null!==e:n(e)}},30643(e,t,r){var n=r(48188);e.exports=function(e){return n(e)||null===e}},81201(e){e.exports=!1},97494(e,t,r){var n=r(48188),i=r(74026),a=r(75869)("match");e.exports=function(e){var t;return n(e)&&(void 0!==(t=e[a])?!!t:"RegExp"===i(e))}},12131(e,t,r){var n=r(72485),i=r(68039),a=r(66227),o=r(95058),s=Object;e.exports=o?function(e){return"symbol"==typeof e}:function(e){var t=n("Symbol");return i(t)&&a(t.prototype,s(e))}},81885(e,t,r){var n=r(33179);e.exports=function(e,t,r){for(var i,a,o=r?e:e.iterator,s=e.next;!(i=n(s,o)).done;)if(void 0!==(a=t(i.value)))return a}},82150(e,t,r){var n=r(92254),i=r(33179),a=r(46177),o=r(25229),s=r(64623),l=r(92956),u=r(66227),c=r(56563),f=r(18301),h=r(55053),d=TypeError,p=function(e,t){this.stopped=e,this.result=t},g=p.prototype;e.exports=function(e,t,r){var y,m,b,w,S,E,k,P=r&&r.that,_=!!(r&&r.AS_ENTRIES),x=!!(r&&r.IS_RECORD),O=!!(r&&r.IS_ITERATOR),C=!!(r&&r.INTERRUPTED),R=n(t,P),A=function(e){return y&&h(y,"normal"),new p(!0,e)},I=function(e){return _?(a(e),C?R(e[0],e[1],A):R(e[0],e[1])):C?R(e,A):R(e)};if(x)y=e.iterator;else if(O)y=e;else{if(!(m=f(e)))throw new d(o(e)+" is not iterable");if(s(m)){for(b=0,w=l(e);w>b;b++)if((S=I(e[b]))&&u(g,S))return S;return new p(!1)}y=c(e,m)}for(E=x?e.next:y.next;!(k=i(E,y)).done;){try{S=I(k.value)}catch(e){h(y,"throw",e)}if("object"==typeof S&&S&&u(g,S))return S}return new p(!1)}},83795(e,t,r){var n=r(55053);e.exports=function(e,t,r){for(var i=e.length-1;i>=0;i--)if(void 0!==e[i])try{r=n(e[i].iterator,t,r)}catch(e){t="throw",r=e}if("throw"===t)throw r;return r}},55053(e,t,r){var n=r(33179),i=r(46177),a=r(25112);e.exports=function(e,t,r){var o,s;i(e);try{if(!(o=a(e,"return"))){if("throw"===t)throw r;return r}o=n(o,e)}catch(e){s=!0,o=e}if("throw"===t)throw r;if(s)throw o;return i(o),r}},40652(e,t,r){var n=r(66479).IteratorPrototype,i=r(12326),a=r(56582),o=r(32377),s=r(49227),l=function(){return this};e.exports=function(e,t,r,u){var c=t+" Iterator";return e.prototype=i(n,{next:a(+!u,r)}),o(e,c,!1,!0),s[c]=l,e}},21352(e,t,r){var n=r(33179),i=r(12326),a=r(80081),o=r(27597),s=r(75869),l=r(66935),u=r(25112),c=r(66479).IteratorPrototype,f=r(46827),h=r(55053),d=r(83795),p=s("toStringTag"),g="IteratorHelper",y="WrapForValidIterator",m="normal",b="throw",w=l.set,S=function(e){var t=l.getterFor(e?y:g);return o(i(c),{next:function(){var r=t(this);if(e)return r.nextHandler();if(r.done)return f(void 0,!0);try{var n=r.nextHandler();return r.returnHandlerResult?n:f(n,r.done)}catch(e){throw r.done=!0,e}},return:function(){var r=t(this),i=r.iterator;if(r.done=!0,e){var a=u(i,"return");return a?n(a,i):f(void 0,!0)}if(r.inner)try{h(r.inner.iterator,m)}catch(e){return h(i,b,e)}if(r.openIters)try{d(r.openIters,m)}catch(e){return h(i,b,e)}return i&&h(i,m),f(void 0,!0)}})},E=S(!0),k=S(!1);a(k,p,"Iterator Helper"),e.exports=function(e,t,r){var n=function(n,i){i?(i.iterator=n.iterator,i.next=n.next):i=n,i.type=t?y:g,i.returnHandlerResult=!!r,i.nextHandler=e,i.counter=0,i.done=!1,w(this,i)};return n.prototype=t?E:k,n}},52274(e,t,r){var n=r(64808),i=r(33179),a=r(81201),o=r(6916),s=r(68039),l=r(40652),u=r(69681),c=r(87261),f=r(32377),h=r(80081),d=r(59430),p=r(75869),g=r(49227),y=r(66479),m=o.PROPER,b=o.CONFIGURABLE,w=y.IteratorPrototype,S=y.BUGGY_SAFARI_ITERATORS,E=p("iterator"),k="keys",P="values",_="entries",x=function(){return this};e.exports=function(e,t,r,o,p,y,O){l(r,t,o);var C,R,A,I=function(e){if(e===p&&j)return j;if(!S&&e&&e in D)return D[e];switch(e){case k:case P:case _:return function(){return new r(this,e)}}return function(){return new r(this)}},T=t+" Iterator",M=!1,D=e.prototype,z=D[E]||D["@@iterator"]||p&&D[p],j=!S&&z||I(p),U="Array"===t&&D.entries||z;if(U&&(C=u(U.call(new e)))!==Object.prototype&&C.next&&(!a&&u(C)!==w&&(c?c(C,w):s(C[E])||d(C,E,x)),f(C,T,!0,!0),a&&(g[T]=x)),m&&p===P&&z&&z.name!==P&&(!a&&b?h(D,"name",P):(M=!0,j=function(){return i(z,this)})),p)if(R={values:I(P),keys:y?j:I(k),entries:I(_)},O)for(A in R)!S&&!M&&A in D||d(D,A,R[A]);else n({target:t,proto:!0,forced:S||M},R);return(!a||O)&&D[E]!==j&&d(D,E,j,{name:p}),g[t]=j,R}},65682(e){e.exports=function(e,t){var r="function"==typeof Iterator&&Iterator.prototype[e];if(r)try{r.call({next:null},t).next()}catch(e){return!0}}},6655(e,t,r){var n=r(6974);e.exports=function(e,t){var r=n.Iterator,i=r&&r.prototype,a=i&&i[e],o=!1;if(a)try{a.call({next:function(){return{done:!0}},return:function(){o=!0}},-1)}catch(e){e instanceof t||(o=!1)}if(!o)return a}},66479(e,t,r){var n,i,a,o=r(59293),s=r(68039),l=r(48188),u=r(12326),c=r(69681),f=r(59430),h=r(75869),d=r(81201),p=h("iterator"),g=!1;[].keys&&("next"in(a=[].keys())?(i=c(c(a)))!==Object.prototype&&(n=i):g=!0),!l(n)||o(function(){var e={};return n[p].call(e)!==e})?n={}:d&&(n=u(n)),s(n[p])||f(n,p,function(){return this}),e.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:g}},49227(e){e.exports={}},92956(e,t,r){var n=r(57864);e.exports=function(e){return n(e.length)}},72461(e,t,r){var n=r(52782),i=r(59293),a=r(68039),o=r(76151),s=r(19058),l=r(6916).CONFIGURABLE,u=r(49576),c=r(66935),f=c.enforce,h=c.get,d=String,p=Object.defineProperty,g=n("".slice),y=n("".replace),m=n([].join),b=s&&!i(function(){return 8!==p(function(){},"length",{value:8}).length}),w=String(String).split("String"),S=e.exports=function(e,t,r){"Symbol("===g(d(t),0,7)&&(t="["+y(d(t),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),r&&r.getter&&(t="get "+t),r&&r.setter&&(t="set "+t),(!o(e,"name")||l&&e.name!==t)&&(s?p(e,"name",{value:t,configurable:!0}):e.name=t),b&&r&&o(r,"arity")&&e.length!==r.arity&&p(e,"length",{value:r.arity});try{r&&o(r,"constructor")&&r.constructor?s&&p(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(e){}var n=f(e);return o(n,"source")||(n.source=m(w,"string"==typeof t?t:"")),e};Function.prototype.toString=S(function(){return a(this)&&h(this).source||u(this)},"toString")},75834(e,t,r){var n=r(61632),i=r(54356),a=Math.abs;e.exports=function(e,t,r,o){var s=+e,l=a(s),u=n(s);if(l<o)return u*i(l/o/t)*o*t;var c=(1+t/2220446049250313e-31)*l,f=c-(c-l);return f>r||f!=f?1/0*u:u*f}},1863(e,t,r){var n=r(75834);e.exports=Math.fround||function(e){return n(e,11920928955078125e-23,34028234663852886e22,11754943508222875e-54)}},54356(e){e.exports=function(e){return e+0x10000000000000-0x10000000000000}},61632(e){e.exports=Math.sign||function(e){var t=+e;return 0===t||t!=t?t:t<0?-1:1}},83427(e){var t=Math.ceil,r=Math.floor;e.exports=Math.trunc||function(e){var n=+e;return(n>0?r:t)(n)}},62885(e,t,r){var n,i,a,o,s,l=r(6974),u=r(66255),c=r(92254),f=r(11523).set,h=r(28663),d=r(77502),p=r(65587),g=r(68338),y=r(15523),m=l.MutationObserver||l.WebKitMutationObserver,b=l.document,w=l.process,S=l.Promise,E=u("queueMicrotask");if(!E){var k=new h,P=function(){var e,t;for(y&&(e=w.domain)&&e.exit();t=k.get();)try{t()}catch(e){throw k.head&&n(),e}e&&e.enter()};d||y||g||!m||!b?!p&&S&&S.resolve?((o=S.resolve(void 0)).constructor=S,s=c(o.then,o),n=function(){s(P)}):y?n=function(){w.nextTick(P)}:(f=c(f,l),n=function(){f(P)}):(i=!0,a=b.createTextNode(""),new m(P).observe(a,{characterData:!0}),n=function(){a.data=i=!i}),E=function(e){k.head||n(),k.add(e)}}e.exports=E},63761(e,t,r){var n=r(70860),i=TypeError,a=function(e){var t,r;this.promise=new e(function(e,n){if(void 0!==t||void 0!==r)throw new i("Bad Promise constructor");t=e,r=n}),this.resolve=n(t),this.reject=n(r)};e.exports.f=function(e){return new a(e)}},14901(e,t,r){var n=r(13641);e.exports=function(e,t){return void 0===e?arguments.length<2?"":t:n(e)}},37187(e,t,r){var n=r(19058),i=r(52782),a=r(33179),o=r(59293),s=r(42262),l=r(34343),u=r(74639),c=r(72095),f=r(14461),h=Object.assign,d=Object.defineProperty,p=i([].concat);e.exports=!h||o(function(){if(n&&1!==h({b:1},h(d({},"a",{enumerable:!0,get:function(){d(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},r=Symbol("assign detection"),i="abcdefghijklmnopqrst";return e[r]=7,i.split("").forEach(function(e){t[e]=e}),7!==h({},e)[r]||s(h({},t)).join("")!==i})?function(e,t){for(var r=c(e),i=arguments.length,o=1,h=l.f,d=u.f;i>o;)for(var g,y=f(arguments[o++]),m=h?p(s(y),h(y)):s(y),b=m.length,w=0;b>w;)g=m[w++],(!n||a(d,y,g))&&(r[g]=y[g]);return r}:h},12326(e,t,r){var n,i=r(46177),a=r(23827),o=r(65985),s=r(30903),l=r(39247),u=r(95637),c=r(16845),f="prototype",h="script",d=c("IE_PROTO"),p=function(){},g=function(e){return"<"+h+">"+e+"</"+h+">"},y=function(e){e.write(g("")),e.close();var t=e.parentWindow.Object;return e=null,t},m=function(){var e,t=u("iframe");return t.style.display="none",l.appendChild(t),t.src=String("java"+h+":"),(e=t.contentWindow.document).open(),e.write(g("document.F=Object")),e.close(),e.F},b=function(){try{n=new ActiveXObject("htmlfile")}catch(e){}b="u">typeof document?document.domain&&n?y(n):m():y(n);for(var e=o.length;e--;)delete b[f][o[e]];return b()};s[d]=!0,e.exports=Object.create||function(e,t){var r;return null!==e?(p[f]=i(e),r=new p,p[f]=null,r[d]=e):r=b(),void 0===t?r:a.f(r,t)}},23827(e,t,r){var n=r(19058),i=r(18636),a=r(33919),o=r(46177),s=r(41555),l=r(42262);t.f=n&&!i?Object.defineProperties:function(e,t){o(e);for(var r,n=s(t),i=l(t),u=i.length,c=0;u>c;)a.f(e,r=i[c++],n[r]);return e}},33919(e,t,r){var n=r(19058),i=r(60299),a=r(18636),o=r(46177),s=r(11611),l=TypeError,u=Object.defineProperty,c=Object.getOwnPropertyDescriptor,f="enumerable",h="configurable",d="writable";t.f=n?a?function(e,t,r){if(o(e),t=s(t),o(r),"function"==typeof e&&"prototype"===t&&"value"in r&&d in r&&!r[d]){var n=c(e,t);n&&n[d]&&(e[t]=r.value,r={configurable:h in r?r[h]:n[h],enumerable:f in r?r[f]:n[f],writable:!1})}return u(e,t,r)}:u:function(e,t,r){if(o(e),t=s(t),o(r),i)try{return u(e,t,r)}catch(e){}if("get"in r||"set"in r)throw new l("Accessors not supported");return"value"in r&&(e[t]=r.value),e}},43069(e,t,r){var n=r(19058),i=r(33179),a=r(74639),o=r(56582),s=r(41555),l=r(11611),u=r(76151),c=r(60299),f=Object.getOwnPropertyDescriptor;t.f=n?f:function(e,t){if(e=s(e),t=l(t),c)try{return f(e,t)}catch(e){}if(u(e,t))return o(!i(a.f,e,t),e[t])}},62482(e,t,r){var n=r(6730),i=r(65985).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return n(e,i)}},34343(e,t){t.f=Object.getOwnPropertySymbols},69681(e,t,r){var n=r(76151),i=r(68039),a=r(72095),o=r(16845),s=r(1109),l=o("IE_PROTO"),u=Object,c=u.prototype;e.exports=s?u.getPrototypeOf:function(e){var t=a(e);if(n(t,l))return t[l];var r=t.constructor;return i(r)&&t instanceof r?r.prototype:t instanceof u?c:null}},66227(e,t,r){e.exports=r(52782)({}.isPrototypeOf)},6730(e,t,r){var n=r(52782),i=r(76151),a=r(41555),o=r(25383).indexOf,s=r(30903),l=n([].push);e.exports=function(e,t){var r,n=a(e),u=0,c=[];for(r in n)!i(s,r)&&i(n,r)&&l(c,r);for(;t.length>u;)i(n,r=t[u++])&&(~o(c,r)||l(c,r));return c}},42262(e,t,r){var n=r(6730),i=r(65985);e.exports=Object.keys||function(e){return n(e,i)}},74639(e,t){var r={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor;t.f=n&&!r.call({1:2},1)?function(e){var t=n(this,e);return!!t&&t.enumerable}:r},87261(e,t,r){var n=r(76572),i=r(48188),a=r(15804),o=r(30216);e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,r={};try{(e=n(Object.prototype,"__proto__","set"))(r,[]),t=r instanceof Array}catch(e){}return function(r,n){return a(r),o(n),i(r)&&(t?e(r,n):r.__proto__=n),r}}():void 0)},18424(e,t,r){var n=r(33179),i=r(68039),a=r(48188),o=TypeError;e.exports=function(e,t){var r,s;if("string"===t&&i(r=e.toString)&&!a(s=n(r,e))||i(r=e.valueOf)&&!a(s=n(r,e))||"string"!==t&&i(r=e.toString)&&!a(s=n(r,e)))return s;throw new o("Can't convert object to primitive value")}},73517(e,t,r){var n=r(72485),i=r(52782),a=r(62482),o=r(34343),s=r(46177),l=i([].concat);e.exports=n("Reflect","ownKeys")||function(e){var t=a.f(s(e)),r=o.f;return r?l(t,r(e)):t}},70977(e,t,r){e.exports=r(6974)},12181(e){e.exports=function(e){try{return{error:!1,value:e()}}catch(e){return{error:!0,value:e}}}},33586(e,t,r){var n=r(6974),i=r(15940),a=r(68039),o=r(76518),s=r(49576),l=r(75869),u=r(70229),c=r(81201),f=r(76153),h=i&&i.prototype,d=l("species"),p=!1,g=a(n.PromiseRejectionEvent);e.exports={CONSTRUCTOR:o("Promise",function(){var e=s(i),t=e!==String(i);if(!t&&66===f||c&&!(h.catch&&h.finally))return!0;if(!f||f<51||!/native code/.test(e)){var r=new i(function(e){e(1)}),n=function(e){e(function(){},function(){})};if((r.constructor={})[d]=n,!(p=r.then(function(){})instanceof n))return!0}return!t&&("BROWSER"===u||"DENO"===u)&&!g}),REJECTION_EVENT:g,SUBCLASSING:p}},15940(e,t,r){e.exports=r(6974).Promise},81864(e,t,r){var n=r(46177),i=r(48188),a=r(63761);e.exports=function(e,t){if(n(e),i(t)&&t.constructor===e)return t;var r=a.f(e);return(0,r.resolve)(t),r.promise}},87435(e,t,r){var n=r(15940),i=r(30366);e.exports=r(33586).CONSTRUCTOR||!i(function(e){n.all(e).then(void 0,function(){})})},64122(e,t,r){var n=r(33919).f;e.exports=function(e,t,r){r in e||n(e,r,{configurable:!0,get:function(){return t[r]},set:function(e){t[r]=e}})}},28663(e){var t=function(){this.head=null,this.tail=null};t.prototype={add:function(e){var t={item:e,next:null},r=this.tail;r?r.next=t:this.head=t,this.tail=t},get:function(){var e=this.head;if(e)return null===(this.head=e.next)&&(this.tail=null),e.item}},e.exports=t},24464(e,t,r){var n=r(33179),i=r(46177),a=r(68039),o=r(74026),s=r(66565),l=TypeError;e.exports=function(e,t){var r=e.exec;if(a(r)){var u=n(r,e,t);return null!==u&&i(u),u}if("RegExp"===o(e))return n(s,e,t);throw new l("RegExp#exec called on incompatible receiver")}},66565(e,t,r){var n,i,a=r(33179),o=r(52782),s=r(13641),l=r(62337),u=r(75383),c=r(55219),f=r(12326),h=r(66935).get,d=r(45369),p=r(63596),g=c("native-string-replace",String.prototype.replace),y=RegExp.prototype.exec,m=y,b=o("".charAt),w=o("".indexOf),S=o("".replace),E=o("".slice),k=(i=/b*/g,a(y,n=/a/,"a"),a(y,i,"a"),0!==n.lastIndex||0!==i.lastIndex),P=u.BROKEN_CARET,_=void 0!==/()??/.exec("")[1];(k||_||P||d||p)&&(m=function(e){var t,r,n,i,o,u,c,d=h(this),p=s(e),x=d.raw;if(x)return x.lastIndex=this.lastIndex,t=a(m,x,p),this.lastIndex=x.lastIndex,t;var O=d.groups,C=P&&this.sticky,R=a(l,this),A=this.source,I=0,T=p;if(C&&(-1===w(R=S(R,"y",""),"g")&&(R+="g"),T=E(p,this.lastIndex),this.lastIndex>0&&(!this.multiline||this.multiline&&"\n"!==b(p,this.lastIndex-1))&&(A="(?: "+A+")",T=" "+T,I++),r=RegExp("^(?:"+A+")",R)),_&&(r=RegExp("^"+A+"$(?!\\s)",R)),k&&(n=this.lastIndex),i=a(y,C?r:this,T),C?i?(i.input=E(i.input,I),i[0]=E(i[0],I),i.index=this.lastIndex,this.lastIndex+=i[0].length):this.lastIndex=0:k&&i&&(this.lastIndex=this.global?i.index+i[0].length:n),_&&i&&i.length>1&&a(g,i[0],r,function(){for(o=1;o<arguments.length-2;o++)void 0===arguments[o]&&(i[o]=void 0)}),i&&O)for(i.groups=u=f(null),o=0;o<O.length;o++)u[(c=O[o])[0]]=i[c[1]];return i}),e.exports=m},26823(e,t,r){var n=r(6974),i=r(59293),a=n.RegExp;e.exports={correct:!i(function(){var e=!0;try{a(".","d")}catch(t){e=!1}var t={},r="",n=e?"dgimsy":"gimsy",i=function(e,n){Object.defineProperty(t,e,{get:function(){return r+=n,!0}})},o={dotAll:"s",global:"g",ignoreCase:"i",multiline:"m",sticky:"y"};for(var s in e&&(o.hasIndices="d"),o)i(s,o[s]);return Object.getOwnPropertyDescriptor(a.prototype,"flags").get.call(t)!==n||r!==n})}},62337(e,t,r){var n=r(46177);e.exports=function(){var e=n(this),t="";return e.hasIndices&&(t+="d"),e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.unicodeSets&&(t+="v"),e.sticky&&(t+="y"),t}},41148(e,t,r){var n=r(33179),i=r(76151),a=r(66227),o=r(26823),s=r(62337),l=RegExp.prototype;e.exports=o.correct?function(e){return e.flags}:function(e){return!o.correct&&a(l,e)&&!i(e,"flags")?n(s,e):e.flags}},75383(e,t,r){var n=r(59293),i=r(6974).RegExp,a=n(function(){var e=i("a","y");return e.lastIndex=2,null!==e.exec("abcd")}),o=a||n(function(){return!i("a","y").sticky});e.exports={BROKEN_CARET:a||n(function(){var e=i("^r","gy");return e.lastIndex=2,null!==e.exec("str")}),MISSED_STICKY:o,UNSUPPORTED_Y:a}},45369(e,t,r){var n=r(59293),i=r(6974).RegExp;e.exports=n(function(){var e=i(".","s");return!(e.dotAll&&e.test("\n")&&"s"===e.flags)})},63596(e,t,r){var n=r(59293),i=r(6974).RegExp;e.exports=n(function(){var e=i("(?<a>b)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$<a>c")})},15804(e,t,r){var n=r(3563),i=TypeError;e.exports=function(e){if(n(e))throw new i("Can't call method on "+e);return e}},66255(e,t,r){var n=r(6974),i=r(19058),a=Object.getOwnPropertyDescriptor;e.exports=function(e){if(!i)return n[e];var t=a(n,e);return t&&t.value}},47988(e,t,r){var n=r(58260),i=r(25475),a=n.Set,o=n.add;e.exports=function(e){var t=new a;return i(e,function(e){o(t,e)}),t}},95474(e,t,r){var n=r(47234),i=r(58260),a=r(47988),o=r(41888),s=r(65447),l=r(25475),u=r(81885),c=i.has,f=i.remove;e.exports=function(e){var t=n(this),r=s(e),i=a(t);return o(t)<=r.size?l(t,function(e){r.includes(e)&&f(i,e)}):u(r.getIterator(),function(e){c(i,e)&&f(i,e)}),i}},58260(e,t,r){var n=r(52782),i=Set.prototype;e.exports={Set:Set,add:n(i.add),has:n(i.has),remove:n(i.delete),proto:i}},48396(e,t,r){var n=r(47234),i=r(58260),a=r(41888),o=r(65447),s=r(25475),l=r(81885),u=i.Set,c=i.add,f=i.has;e.exports=function(e){var t=n(this),r=o(e),i=new u;return a(t)>r.size?l(r.getIterator(),function(e){f(t,e)&&c(i,e)}):s(t,function(e){r.includes(e)&&c(i,e)}),i}},46839(e,t,r){var n=r(47234),i=r(58260).has,a=r(41888),o=r(65447),s=r(25475),l=r(81885),u=r(55053);e.exports=function(e){var t=n(this),r=o(e);if(a(t)<=r.size)return!1!==s(t,function(e){if(r.includes(e))return!1},!0);var c=r.getIterator();return!1!==l(c,function(e){if(i(t,e))return u(c,"normal",!1)})}},43388(e,t,r){var n=r(47234),i=r(41888),a=r(25475),o=r(65447);e.exports=function(e){var t=n(this),r=o(e);return!(i(t)>r.size)&&!1!==a(t,function(e){if(!r.includes(e))return!1},!0)}},53965(e,t,r){var n=r(47234),i=r(58260).has,a=r(41888),o=r(65447),s=r(81885),l=r(55053);e.exports=function(e){var t=n(this),r=o(e);if(a(t)<r.size)return!1;var u=r.getIterator();return!1!==s(u,function(e){if(!i(t,e))return l(u,"normal",!1)})}},25475(e,t,r){var n=r(52782),i=r(81885),a=r(58260),o=a.Set,s=a.proto,l=n(s.forEach),u=n(s.keys),c=u(new o).next;e.exports=function(e,t,r){return r?i({iterator:u(e),next:c},t):l(e,t)}},24206(e,t,r){var n=r(72485),i=function(e){return{size:e,has:function(){return!1},keys:function(){return{next:function(){return{done:!0}}}}}},a=function(e){return{size:e,has:function(){return!0},keys:function(){throw Error("e")}}};e.exports=function(e,t){var r=n("Set");try{new r()[e](i(0));try{return new r()[e](i(-1)),!1}catch(n){if(!t)return!0;try{return new r()[e](a(-1/0)),!1}catch(n){var o=new r([1,2]);return t(o[e](a(1/0)))}}}catch(e){return!1}}},29617(e){e.exports=function(e){try{var t=new Set,r=t[e]({size:0,has:function(){return!0},keys:function(){return Object.defineProperty({},"next",{get:function(){return t.clear(),t.add(4),function(){return{done:!0}}}})}});return 1===r.size&&4===r.values().next().value}catch(e){return!1}}},41888(e,t,r){e.exports=r(76572)(r(58260).proto,"size","get")||function(e){return e.size}},63263(e,t,r){var n=r(72485),i=r(7108),a=r(75869),o=r(19058),s=a("species");e.exports=function(e){var t=n(e);o&&t&&!t[s]&&i(t,s,{configurable:!0,get:function(){return this}})}},13264(e,t,r){var n=r(47234),i=r(58260),a=r(47988),o=r(65447),s=r(81885),l=i.add,u=i.has,c=i.remove;e.exports=function(e){var t=n(this),r=o(e).getIterator(),i=a(t);return s(r,function(e){u(t,e)?c(i,e):l(i,e)}),i}},32377(e,t,r){var n=r(33919).f,i=r(76151),a=r(75869)("toStringTag");e.exports=function(e,t,r){e&&!r&&(e=e.prototype),e&&!i(e,a)&&n(e,a,{configurable:!0,value:t})}},21898(e,t,r){var n=r(47234),i=r(58260).add,a=r(47988),o=r(65447),s=r(81885);e.exports=function(e){var t=n(this),r=o(e).getIterator(),l=a(t);return s(r,function(e){i(l,e)}),l}},16845(e,t,r){var n=r(55219),i=r(702),a=n("keys");e.exports=function(e){return a[e]||(a[e]=i(e))}},66851(e,t,r){var n=r(81201),i=r(6974),a=r(75963),o="__core-js_shared__",s=e.exports=i[o]||a(o,{});(s.versions||(s.versions=[])).push({version:"3.47.0",mode:n?"pure":"global",copyright:"\xa9 2014-2025 Denis Pushkarev (zloirock.ru), 2025 CoreJS Company (core-js.io)",license:"https://github.com/zloirock/core-js/blob/v3.47.0/LICENSE",source:"https://github.com/zloirock/core-js"})},55219(e,t,r){var n=r(66851);e.exports=function(e,t){return n[e]||(n[e]=t||{})}},92767(e,t,r){var n=r(46177),i=r(90114),a=r(3563),o=r(75869)("species");e.exports=function(e,t){var r,s=n(e).constructor;return void 0===s||a(r=n(s)[o])?t:i(r)}},68445(e,t,r){var n=r(52782),i=r(65825),a=r(13641),o=r(15804),s=n("".charAt),l=n("".charCodeAt),u=n("".slice),c=function(e){return function(t,r){var n,c,f=a(o(t)),h=i(r),d=f.length;return h<0||h>=d?e?"":void 0:(n=l(f,h))<55296||n>56319||h+1===d||(c=l(f,h+1))<56320||c>57343?e?s(f,h):n:e?u(f,h,h+2):(n-55296<<10)+(c-56320)+65536}};e.exports={codeAt:c(!1),charAt:c(!0)}},79855(e,t,r){var n=r(52782),i=/[^\0-\u007E]/,a=/[.\u3002\uFF0E\uFF61]/g,o="Overflow: input needs wider integers to process",s=RangeError,l=n(a.exec),u=Math.floor,c=String.fromCharCode,f=n("".charCodeAt),h=n([].join),d=n([].push),p=n("".replace),g=n("".split),y=n("".toLowerCase),m=function(e){for(var t=[],r=0,n=e.length;r<n;){var i=f(e,r++);if(i>=55296&&i<=56319&&r<n){var a=f(e,r++);(64512&a)==56320?d(t,((1023&i)<<10)+(1023&a)+65536):(d(t,i),r--)}else d(t,i)}return t},b=function(e){return e+22+75*(e<26)},w=function(e,t,r){var n=0;for(e=r?u(e/700):e>>1,e+=u(e/t);e>455;)e=u(e/35),n+=36;return u(n+36*e/(e+38))},S=function(e){var t,r,n=[],i=(e=m(e)).length,a=128,l=0,f=72;for(t=0;t<e.length;t++)(r=e[t])<128&&d(n,c(r));var p=n.length,g=p;for(p&&d(n,"-");g<i;){var y=0x7fffffff;for(t=0;t<e.length;t++)(r=e[t])>=a&&r<y&&(y=r);var S=g+1;if(y-a>u((0x7fffffff-l)/S))throw new s(o);for(l+=(y-a)*S,a=y,t=0;t<e.length;t++){if((r=e[t])<a&&++l>0x7fffffff)throw new s(o);if(r===a){for(var E=l,k=36;;){var P=k<=f?1:k>=f+26?26:k-f;if(E<P)break;var _=E-P,x=36-P;d(n,c(b(P+_%x))),E=u(_/x),k+=36}d(n,c(b(E))),f=w(l,S,g===p),l=0,g++}}l++,a++}return h(n,"")};e.exports=function(e){var t,r,n=[],o=g(p(y(e),a,"."),".");for(t=0;t<o.length;t++)d(n,l(i,r=o[t])?"xn--"+S(r):r);return h(n,".")}},75698(e,t,r){var n=r(6974),i=r(59293),a=r(76153),o=r(70229),s=n.structuredClone;e.exports=!!s&&!i(function(){if("DENO"===o&&a>92||"NODE"===o&&a>94||"BROWSER"===o&&a>97)return!1;var e=new ArrayBuffer(8),t=s(e,{transfer:[e]});return 0!==e.byteLength||8!==t.byteLength})},8953(e,t,r){var n=r(76153),i=r(59293),a=r(6974).String;e.exports=!!Object.getOwnPropertySymbols&&!i(function(){var e=Symbol("symbol detection");return!a(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&n&&n<41})},11523(e,t,r){var n,i,a,o,s=r(6974),l=r(16263),u=r(92254),c=r(68039),f=r(76151),h=r(59293),d=r(39247),p=r(34766),g=r(95637),y=r(26406),m=r(77502),b=r(15523),w=s.setImmediate,S=s.clearImmediate,E=s.process,k=s.Dispatch,P=s.Function,_=s.MessageChannel,x=s.String,O=0,C={},R="onreadystatechange";h(function(){n=s.location});var A=function(e){if(f(C,e)){var t=C[e];delete C[e],t()}},I=function(e){return function(){A(e)}},T=function(e){A(e.data)},M=function(e){s.postMessage(x(e),n.protocol+"//"+n.host)};w&&S||(w=function(e){y(arguments.length,1);var t=c(e)?e:P(e),r=p(arguments,1);return C[++O]=function(){l(t,void 0,r)},i(O),O},S=function(e){delete C[e]},b?i=function(e){E.nextTick(I(e))}:k&&k.now?i=function(e){k.now(I(e))}:_&&!m?(o=(a=new _).port2,a.port1.onmessage=T,i=u(o.postMessage,o)):s.addEventListener&&c(s.postMessage)&&!s.importScripts&&n&&"file:"!==n.protocol&&!h(M)?(i=M,s.addEventListener("message",T,!1)):i=R in g("script")?function(e){d.appendChild(g("script"))[R]=function(){d.removeChild(this),A(e)}}:function(e){setTimeout(I(e),0)}),e.exports={set:w,clear:S}},3108(e,t,r){var n=r(65825),i=Math.max,a=Math.min;e.exports=function(e,t){var r=n(e);return r<0?i(r+t,0):a(r,t)}},32216(e,t,r){var n=r(28535),i=TypeError;e.exports=function(e){var t=n(e,"number");if("number"==typeof t)throw new i("Can't convert number to bigint");return BigInt(t)}},26722(e,t,r){var n=r(65825),i=r(57864),a=RangeError;e.exports=function(e){if(void 0===e)return 0;var t=n(e),r=i(t);if(t!==r)throw new a("Wrong length or index");return r}},41555(e,t,r){var n=r(14461),i=r(15804);e.exports=function(e){return n(i(e))}},65825(e,t,r){var n=r(83427);e.exports=function(e){var t=+e;return t!=t||0===t?0:n(t)}},57864(e,t,r){var n=r(65825),i=Math.min;e.exports=function(e){var t=n(e);return t>0?i(t,0x1fffffffffffff):0}},72095(e,t,r){var n=r(15804),i=Object;e.exports=function(e){return i(n(e))}},7751(e,t,r){var n=r(11280),i=RangeError;e.exports=function(e,t){var r=n(e);if(r%t)throw new i("Wrong offset");return r}},11280(e,t,r){var n=r(65825),i=RangeError;e.exports=function(e){var t=n(e);if(t<0)throw new i("The argument can't be less than 0");return t}},28535(e,t,r){var n=r(33179),i=r(48188),a=r(12131),o=r(25112),s=r(18424),l=r(75869),u=TypeError,c=l("toPrimitive");e.exports=function(e,t){if(!i(e)||a(e))return e;var r,l=o(e,c);if(l){if(void 0===t&&(t="default"),!i(r=n(l,e,t))||a(r))return r;throw new u("Can't convert object to primitive value")}return void 0===t&&(t="number"),s(e,t)}},11611(e,t,r){var n=r(28535),i=r(12131);e.exports=function(e){var t=n(e,"string");return i(t)?t:t+""}},23886(e,t,r){var n=r(75869)("toStringTag"),i={};i[n]="z",e.exports="[object z]"===String(i)},13641(e,t,r){var n=r(73485),i=String;e.exports=function(e){if("Symbol"===n(e))throw TypeError("Cannot convert a Symbol value to a string");return i(e)}},205(e){var t=Math.round;e.exports=function(e){var r=t(e);return r<0?0:r>255?255:255&r}},25229(e){var t=String;e.exports=function(e){try{return t(e)}catch(e){return"Object"}}},31853(e,t,r){var n=r(64808),i=r(6974),a=r(33179),o=r(19058),s=r(65087),l=r(97882),u=r(91428),c=r(50473),f=r(56582),h=r(80081),d=r(1037),p=r(57864),g=r(26722),y=r(7751),m=r(205),b=r(11611),w=r(76151),S=r(73485),E=r(48188),k=r(12131),P=r(12326),_=r(66227),x=r(87261),O=r(62482).f,C=r(16705),R=r(23831).forEach,A=r(63263),I=r(7108),T=r(33919),M=r(43069),D=r(11372),z=r(66935),j=r(3153),U=z.get,L=z.set,N=z.enforce,F=T.f,q=M.f,W=i.RangeError,$=u.ArrayBuffer,B=$.prototype,K=u.DataView,Y=l.NATIVE_ARRAY_BUFFER_VIEWS,V=l.TYPED_ARRAY_TAG,Q=l.TypedArray,H=l.TypedArrayPrototype,G=l.isTypedArray,J="BYTES_PER_ELEMENT",X="Wrong length",Z=function(e,t){I(e,t,{configurable:!0,get:function(){return U(this)[t]}})},ee=function(e){var t;return _(B,e)||"ArrayBuffer"===(t=S(e))||"SharedArrayBuffer"===t},et=function(e,t){return G(e)&&!k(t)&&t in e&&d(+t)&&t>=0},er=function(e,t){return et(e,t=b(t))?f(2,e[t]):q(e,t)},en=function(e,t,r){return et(e,t=b(t))&&E(r)&&w(r,"value")&&!w(r,"get")&&!w(r,"set")&&!r.configurable&&(!w(r,"writable")||r.writable)&&(!w(r,"enumerable")||r.enumerable)?(e[t]=r.value,e):F(e,t,r)};o?(Y||(M.f=er,T.f=en,Z(H,"buffer"),Z(H,"byteOffset"),Z(H,"byteLength"),Z(H,"length")),n({target:"Object",stat:!0,forced:!Y},{getOwnPropertyDescriptor:er,defineProperty:en}),e.exports=function(e,t,r){var o=e.match(/\d+/)[0]/8,l=e+(r?"Clamped":"")+"Array",u="get"+e,f="set"+e,d=i[l],b=d,w=b&&b.prototype,S={},k=function(e,t){var r=U(e);return r.view[u](t*o+r.byteOffset,!0)},_=function(e,t,n){var i=U(e);i.view[f](t*o+i.byteOffset,r?m(n):n,!0)},I=function(e,t){F(e,t,{get:function(){return k(this,t)},set:function(e){return _(this,t,e)},enumerable:!0})};Y?s&&(b=t(function(e,t,r,n){return c(e,w),j(E(t)?ee(t)?void 0!==n?new d(t,y(r,o),n):void 0!==r?new d(t,y(r,o)):new d(t):G(t)?D(b,t):a(C,b,t):new d(g(t)),e,b)}),x&&x(b,Q),R(O(d),function(e){e in b||h(b,e,d[e])}),b.prototype=w):(b=t(function(e,t,r,n){c(e,w);var i,s,l,u=0,f=0;if(E(t))if(ee(t)){i=t,f=y(r,o);var h=t.byteLength;if(void 0===n){if(h%o||(s=h-f)<0)throw new W(X)}else if((s=p(n)*o)+f>h)throw new W(X);l=s/o}else if(G(t))return D(b,t);else return a(C,b,t);else i=new $(s=(l=g(t))*o);for(L(e,{buffer:i,byteOffset:f,byteLength:s,length:l,view:new K(i)});u<l;)I(e,u++)}),x&&x(b,Q),w=b.prototype=P(H)),w.constructor!==b&&h(w,"constructor",b),N(w).TypedArrayConstructor=b,V&&h(w,V,l);var T=b!==d;S[l]=b,n({global:!0,constructor:!0,forced:T,sham:!Y},S),J in b||h(b,J,o),J in w||h(w,J,o),A(l)}):e.exports=function(){}},65087(e,t,r){var n=r(6974),i=r(59293),a=r(30366),o=r(97882).NATIVE_ARRAY_BUFFER_VIEWS,s=n.ArrayBuffer,l=n.Int8Array;e.exports=!o||!i(function(){l(1)})||!i(function(){new l(-1)})||!a(function(e){new l,new l(null),new l(1.5),new l(e)},!0)||i(function(){return 1!==new l(new s(2),1,void 0).length})},16705(e,t,r){var n=r(92254),i=r(33179),a=r(90114),o=r(72095),s=r(92956),l=r(56563),u=r(18301),c=r(64623),f=r(63633),h=r(97882).aTypedArrayConstructor,d=r(32216);e.exports=function(e){var t,r,p,g,y,m,b,w,S=a(this),E=o(e),k=arguments.length,P=k>1?arguments[1]:void 0,_=void 0!==P,x=u(E);if(x&&!c(x))for(w=(b=l(E,x)).next,E=[];!(m=i(w,b)).done;)E.push(m.value);for(_&&k>2&&(P=n(P,arguments[2])),r=s(E),g=f(p=new(h(S))(r)),t=0;r>t;t++)y=_?P(E[t],t):E[t],p[t]=g?d(y):+y;return p}},702(e,t,r){var n=r(52782),i=0,a=Math.random(),o=n(1.1.toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+o(++i+a,36)}},79542(e,t,r){var n=r(59293),i=r(75869),a=r(19058),o=r(81201),s=i("iterator");e.exports=!n(function(){var e=new URL("b?a=1&b=2&c=3","https://a"),t=e.searchParams,r=new URLSearchParams("a=1&a=2&b=3"),n="";return e.pathname="c%20d",t.forEach(function(e,r){t.delete("b"),n+=r+e}),r.delete("a",2),r.delete("b",void 0),o&&(!e.toJSON||!r.has("a",1)||r.has("a",2)||!r.has("a",void 0)||r.has("b"))||!t.size&&(o||!a)||!t.sort||"https://a/c%20d?a=1&c=3"!==e.href||"3"!==t.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!t[s]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("https://тест").host||"#%D0%B1"!==new URL("https://a#б").hash||"a1c3"!==n||"x"!==new URL("https://x",void 0).host})},95058(e,t,r){e.exports=r(8953)&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},18636(e,t,r){var n=r(19058),i=r(59293);e.exports=n&&i(function(){return 42!==Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype})},26406(e){var t=TypeError;e.exports=function(e,r){if(e<r)throw new t("Not enough arguments");return e}},24232(e,t,r){var n=r(6974),i=r(68039),a=n.WeakMap;e.exports=i(a)&&/native code/.test(String(a))},75869(e,t,r){var n=r(6974),i=r(55219),a=r(76151),o=r(702),s=r(8953),l=r(95058),u=n.Symbol,c=i("wks"),f=l?u.for||u:u&&u.withoutSetter||o;e.exports=function(e){return a(c,e)||(c[e]=s&&a(u,e)?u[e]:f("Symbol."+e)),c[e]}},50859(e,t,r){var n=r(72485),i=r(76151),a=r(80081),o=r(66227),s=r(87261),l=r(18770),u=r(64122),c=r(3153),f=r(14901),h=r(35910),d=r(87245),p=r(19058),g=r(81201);e.exports=function(e,t,r,y){var m="stackTraceLimit",b=y?2:1,w=e.split("."),S=w[w.length-1],E=n.apply(null,w);if(E){var k=E.prototype;if(!g&&i(k,"cause")&&delete k.cause,!r)return E;var P=n("Error"),_=t(function(e,t){var r=f(y?t:e,void 0),n=y?new E(e):new E;return void 0!==r&&a(n,"message",r),d(n,_,n.stack,2),this&&o(k,this)&&c(n,this,_),arguments.length>b&&h(n,arguments[b]),n});if(_.prototype=k,"Error"!==S?s?s(_,P):l(_,P,{name:!0}):p&&m in E&&(u(_,E,m),u(_,E,"prepareStackTrace")),l(_,E),!g)try{k.name!==S&&a(k,"name",S),k.constructor=_}catch(e){}return _}}},20303(e,t,r){var n=r(19058),i=r(7108),a=r(80408),o=ArrayBuffer.prototype;!n||"detached"in o||i(o,"detached",{configurable:!0,get:function(){return a(this)}})},6106(e,t,r){var n=r(64808),i=r(2982);i&&n({target:"ArrayBuffer",proto:!0},{transferToFixedLength:function(){return i(this,arguments.length?arguments[0]:void 0,!1)}})},99166(e,t,r){var n=r(64808),i=r(2982);i&&n({target:"ArrayBuffer",proto:!0},{transfer:function(){return i(this,arguments.length?arguments[0]:void 0,!0)}})},52277(e,t,r){var n=r(64808),i=r(25383).includes,a=r(59293),o=r(1643);n({target:"Array",proto:!0,forced:a(function(){return![,].includes()})},{includes:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}}),o("includes")},42886(e,t,r){var n=r(41555),i=r(1643),a=r(49227),o=r(66935),s=r(33919).f,l=r(52274),u=r(46827),c=r(81201),f=r(19058),h="Array Iterator",d=o.set,p=o.getterFor(h);e.exports=l(Array,"Array",function(e,t){d(this,{type:h,target:n(e),index:0,kind:t})},function(){var e=p(this),t=e.target,r=e.index++;if(!t||r>=t.length)return e.target=null,u(void 0,!0);switch(e.kind){case"keys":return u(r,!1);case"values":return u(t[r],!1)}return u([r,t[r]],!1)},"values");var g=a.Arguments=a.Array;if(i("keys"),i("values"),i("entries"),!c&&f&&"values"!==g.name)try{s(g,"name",{value:"values"})}catch(e){}},14104(e,t,r){var n=r(64808),i=r(72095),a=r(92956),o=r(27021),s=r(61959);n({target:"Array",proto:!0,arity:1,forced:r(59293)(function(){return 0x100000001!==[].push.call({length:0x100000000},1)})||!function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(e){return e instanceof TypeError}}()},{push:function(e){var t=i(this),r=a(t),n=arguments.length;s(r+n);for(var l=0;l<n;l++)t[r]=arguments[l],r++;return o(t,r),r}})},34330(e,t,r){var n=r(64808),i=r(40184).left,a=r(32604),o=r(76153);n({target:"Array",proto:!0,forced:!r(15523)&&o>79&&o<83||!a("reduce")},{reduce:function(e){var t=arguments.length;return i(this,e,t,t>1?arguments[1]:void 0)}})},99780(e,t,r){r(1643)("flat")},15254(e,t,r){var n=r(64808),i=r(6974),a=r(16263),o=r(50859),s="WebAssembly",l=i[s],u=7!==Error("e",{cause:7}).cause,c=function(e,t){var r={};r[e]=o(e,t,u),n({global:!0,constructor:!0,arity:1,forced:u},r)},f=function(e,t){if(l&&l[e]){var r={};r[e]=o(s+"."+e,t,u),n({target:s,stat:!0,constructor:!0,arity:1,forced:u},r)}};c("Error",function(e){return function(t){return a(e,this,arguments)}}),c("EvalError",function(e){return function(t){return a(e,this,arguments)}}),c("RangeError",function(e){return function(t){return a(e,this,arguments)}}),c("ReferenceError",function(e){return function(t){return a(e,this,arguments)}}),c("SyntaxError",function(e){return function(t){return a(e,this,arguments)}}),c("TypeError",function(e){return function(t){return a(e,this,arguments)}}),c("URIError",function(e){return function(t){return a(e,this,arguments)}}),f("CompileError",function(e){return function(t){return a(e,this,arguments)}}),f("LinkError",function(e){return function(t){return a(e,this,arguments)}}),f("RuntimeError",function(e){return function(t){return a(e,this,arguments)}})},42949(e,t,r){var n=r(64808),i=r(6974),a=r(50473),o=r(46177),s=r(68039),l=r(69681),u=r(7108),c=r(84634),f=r(59293),h=r(76151),d=r(75869),p=r(66479).IteratorPrototype,g=r(19058),y=r(81201),m="constructor",b="Iterator",w=d("toStringTag"),S=TypeError,E=i[b],k=y||!s(E)||E.prototype!==p||!f(function(){E({})}),P=function(){if(a(this,p),l(this)===p)throw new S("Abstract class Iterator not directly constructable")},_=function(e,t){g?u(p,e,{configurable:!0,get:function(){return t},set:function(t){if(o(this),this===p)throw new S("You can't redefine this property");h(this,e)?this[e]=t:c(this,e,t)}}):p[e]=t};h(p,w)||_(w,b),(k||!h(p,m)||p[m]===Object)&&_(m,P),P.prototype=p,n({global:!0,constructor:!0,forced:k},{Iterator:P})},31178(e,t,r){var n=r(64808),i=r(33179),a=r(82150),o=r(70860),s=r(46177),l=r(86845),u=r(55053),c=r(6655)("every",TypeError);n({target:"Iterator",proto:!0,real:!0,forced:c},{every:function(e){s(this);try{o(e)}catch(e){u(this,"throw",e)}if(c)return i(c,this,e);var t=l(this),r=0;return!a(t,function(t,n){if(!e(t,r++))return n()},{IS_RECORD:!0,INTERRUPTED:!0}).stopped}})},18723(e,t,r){var n=r(64808),i=r(33179),a=r(70860),o=r(46177),s=r(86845),l=r(21352),u=r(75017),c=r(81201),f=r(55053),h=r(65682),d=r(6655),p=!c&&!h("filter",function(){}),g=!c&&!p&&d("filter",TypeError),y=c||p||g,m=l(function(){for(var e,t,r=this.iterator,n=this.predicate,a=this.next;;){if(e=o(i(a,r)),this.done=!!e.done)return;if(u(r,n,[t=e.value,this.counter++],!0))return t}});n({target:"Iterator",proto:!0,real:!0,forced:y},{filter:function(e){o(this);try{a(e)}catch(e){f(this,"throw",e)}return g?i(g,this,e):new m(s(this),{predicate:e})}})},49678(e,t,r){var n=r(64808),i=r(33179),a=r(82150),o=r(70860),s=r(46177),l=r(86845),u=r(55053),c=r(6655)("find",TypeError);n({target:"Iterator",proto:!0,real:!0,forced:c},{find:function(e){s(this);try{o(e)}catch(e){u(this,"throw",e)}if(c)return i(c,this,e);var t=l(this),r=0;return a(t,function(t,n){if(e(t,r++))return n(t)},{IS_RECORD:!0,INTERRUPTED:!0}).result}})},84086(e,t,r){var n=r(64808),i=r(33179),a=r(82150),o=r(70860),s=r(46177),l=r(86845),u=r(55053),c=r(6655)("forEach",TypeError);n({target:"Iterator",proto:!0,real:!0,forced:c},{forEach:function(e){s(this);try{o(e)}catch(e){u(this,"throw",e)}if(c)return i(c,this,e);var t=l(this),r=0;a(t,function(t){e(t,r++)},{IS_RECORD:!0})}})},37891(e,t,r){var n=r(64808),i=r(33179),a=r(70860),o=r(46177),s=r(86845),l=r(21352),u=r(75017),c=r(55053),f=r(65682),h=r(6655),d=r(81201),p=!d&&!f("map",function(){}),g=!d&&!p&&h("map",TypeError),y=d||p||g,m=l(function(){var e=this.iterator,t=o(i(this.next,e));if(!(this.done=!!t.done))return u(e,this.mapper,[t.value,this.counter++],!0)});n({target:"Iterator",proto:!0,real:!0,forced:y},{map:function(e){o(this);try{a(e)}catch(e){c(this,"throw",e)}return g?i(g,this,e):new m(s(this),{mapper:e})}})},46455(e,t,r){var n=r(64808),i=r(82150),a=r(70860),o=r(46177),s=r(86845),l=r(55053),u=r(6655),c=r(16263),f=r(59293),h=TypeError,d=f(function(){[].keys().reduce(function(){},void 0)}),p=!d&&u("reduce",h);n({target:"Iterator",proto:!0,real:!0,forced:d||p},{reduce:function(e){o(this);try{a(e)}catch(e){l(this,"throw",e)}var t=arguments.length<2,r=t?void 0:arguments[1];if(p)return c(p,this,t?[e]:[e,r]);var n=s(this),u=0;if(i(n,function(n){t?(t=!1,r=n):r=e(r,n,u),u++},{IS_RECORD:!0}),t)throw new h("Reduce of empty iterator with no initial value");return r}})},12021(e,t,r){var n=r(64808),i=r(33179),a=r(82150),o=r(70860),s=r(46177),l=r(86845),u=r(55053),c=r(6655)("some",TypeError);n({target:"Iterator",proto:!0,real:!0,forced:c},{some:function(e){s(this);try{o(e)}catch(e){u(this,"throw",e)}if(c)return i(c,this,e);var t=l(this),r=0;return a(t,function(t,n){if(e(t,r++))return n()},{IS_RECORD:!0,INTERRUPTED:!0}).stopped}})},40509(e,t,r){var n=r(64808),i=r(33179),a=r(70860),o=r(63761),s=r(12181),l=r(82150);n({target:"Promise",stat:!0,forced:r(87435)},{all:function(e){var t=this,r=o.f(t),n=r.resolve,u=r.reject,c=s(function(){var r=a(t.resolve),o=[],s=0,c=1;l(e,function(e){var a=s++,l=!1;c++,i(r,t,e).then(function(e){!l&&(l=!0,o[a]=e,--c||n(o))},u)}),--c||n(o)});return c.error&&u(c.value),r.promise}})},98965(e,t,r){var n=r(64808),i=r(81201),a=r(33586).CONSTRUCTOR,o=r(15940),s=r(72485),l=r(68039),u=r(59430),c=o&&o.prototype;if(n({target:"Promise",proto:!0,forced:a,real:!0},{catch:function(e){return this.then(void 0,e)}}),!i&&l(o)){var f=s("Promise").prototype.catch;c.catch!==f&&u(c,"catch",f,{unsafe:!0})}},3750(e,t,r){var n,i,a,o,s=r(64808),l=r(81201),u=r(15523),c=r(6974),f=r(70977),h=r(33179),d=r(59430),p=r(87261),g=r(32377),y=r(63263),m=r(70860),b=r(68039),w=r(48188),S=r(50473),E=r(92767),k=r(11523).set,P=r(62885),_=r(69823),x=r(12181),O=r(28663),C=r(66935),R=r(15940),A=r(33586),I=r(63761),T="Promise",M=A.CONSTRUCTOR,D=A.REJECTION_EVENT,z=A.SUBCLASSING,j=C.getterFor(T),U=C.set,L=R&&R.prototype,N=R,F=L,q=c.TypeError,W=c.document,$=c.process,B=I.f,K=B,Y=!!(W&&W.createEvent&&c.dispatchEvent),V="unhandledrejection",Q=function(e){var t;return!!(w(e)&&b(t=e.then))&&t},H=function(e,t){var r,n,i,a=t.value,o=1===t.state,s=o?e.ok:e.fail,l=e.resolve,u=e.reject,c=e.domain;try{s?(o||(2===t.rejection&&ee(t),t.rejection=1),!0===s?r=a:(c&&c.enter(),r=s(a),c&&(c.exit(),i=!0)),r===e.promise?u(new q("Promise-chain cycle")):(n=Q(r))?h(n,r,l,u):l(r)):u(a)}catch(e){c&&!i&&c.exit(),u(e)}},G=function(e,t){e.notified||(e.notified=!0,P(function(){for(var r,n=e.reactions;r=n.get();)H(r,e);e.notified=!1,t&&!e.rejection&&X(e)}))},J=function(e,t,r){var n,i;Y?((n=W.createEvent("Event")).promise=t,n.reason=r,n.initEvent(e,!1,!0),c.dispatchEvent(n)):n={promise:t,reason:r},!D&&(i=c["on"+e])?i(n):e===V&&_("Unhandled promise rejection",r)},X=function(e){h(k,c,function(){var t,r=e.facade,n=e.value;if(Z(e)&&(t=x(function(){u?$.emit("unhandledRejection",n,r):J(V,r,n)}),e.rejection=u||Z(e)?2:1,t.error))throw t.value})},Z=function(e){return 1!==e.rejection&&!e.parent},ee=function(e){h(k,c,function(){var t=e.facade;u?$.emit("rejectionHandled",t):J("rejectionhandled",t,e.value)})},et=function(e,t,r){return function(n){e(t,n,r)}},er=function(e,t,r){e.done||(e.done=!0,r&&(e=r),e.value=t,e.state=2,G(e,!0))},en=function(e,t,r){if(!e.done){e.done=!0,r&&(e=r);try{if(e.facade===t)throw new q("Promise can't be resolved itself");var n=Q(t);n?P(function(){var r={done:!1};try{h(n,t,et(en,r,e),et(er,r,e))}catch(t){er(r,t,e)}}):(e.value=t,e.state=1,G(e,!1))}catch(t){er({done:!1},t,e)}}};if(M&&(F=(N=function(e){S(this,F),m(e),h(n,this);var t=j(this);try{e(et(en,t),et(er,t))}catch(e){er(t,e)}}).prototype,(n=function(e){U(this,{type:T,done:!1,notified:!1,parent:!1,reactions:new O,rejection:!1,state:0,value:null})}).prototype=d(F,"then",function(e,t){var r=j(this),n=B(E(this,N));return r.parent=!0,n.ok=!b(e)||e,n.fail=b(t)&&t,n.domain=u?$.domain:void 0,0===r.state?r.reactions.add(n):P(function(){H(n,r)}),n.promise}),i=function(){var e=new n,t=j(e);this.promise=e,this.resolve=et(en,t),this.reject=et(er,t)},I.f=B=function(e){return e===N||e===a?new i(e):K(e)},!l&&b(R)&&L!==Object.prototype)){o=L.then,z||d(L,"then",function(e,t){var r=this;return new N(function(e,t){h(o,r,e,t)}).then(e,t)},{unsafe:!0});try{delete L.constructor}catch(e){}p&&p(L,F)}s({global:!0,constructor:!0,wrap:!0,forced:M},{Promise:N}),a=f.Promise,g(N,T,!1,!0),y(T)},73560(e,t,r){r(3750),r(40509),r(98965),r(67797),r(33475),r(13610)},67797(e,t,r){var n=r(64808),i=r(33179),a=r(70860),o=r(63761),s=r(12181),l=r(82150);n({target:"Promise",stat:!0,forced:r(87435)},{race:function(e){var t=this,r=o.f(t),n=r.reject,u=s(function(){var o=a(t.resolve);l(e,function(e){i(o,t,e).then(r.resolve,n)})});return u.error&&n(u.value),r.promise}})},33475(e,t,r){var n=r(64808),i=r(63761);n({target:"Promise",stat:!0,forced:r(33586).CONSTRUCTOR},{reject:function(e){var t=i.f(this);return(0,t.reject)(e),t.promise}})},13610(e,t,r){var n=r(64808),i=r(72485),a=r(81201),o=r(15940),s=r(33586).CONSTRUCTOR,l=r(81864),u=i("Promise"),c=a&&!s;n({target:"Promise",stat:!0,forced:a||s},{resolve:function(e){return l(c&&this===u?o:this,e)}})},53834(e,t,r){var n=r(64808),i=r(6974),a=r(32377);n({global:!0},{Reflect:{}}),a(i.Reflect,"Reflect",!0)},20498(e,t,r){var n=r(19058),i=r(6974),a=r(52782),o=r(76518),s=r(3153),l=r(80081),u=r(12326),c=r(62482).f,f=r(66227),h=r(97494),d=r(13641),p=r(41148),g=r(75383),y=r(64122),m=r(59430),b=r(59293),w=r(76151),S=r(66935).enforce,E=r(63263),k=r(75869),P=r(45369),_=r(63596),x=k("match"),O=i.RegExp,C=O.prototype,R=i.SyntaxError,A=a(C.exec),I=a("".charAt),T=a("".replace),M=a("".indexOf),D=a("".slice),z=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,j=/a/g,U=/a/g,L=new O(j)!==j,N=g.MISSED_STICKY,F=g.UNSUPPORTED_Y,q=n&&(!L||N||P||_||b(function(){return U[x]=!1,O(j)!==j||O(U)===U||"/a/i"!==String(O(j,"i"))})),W=function(e){for(var t,r=e.length,n=0,i="",a=!1;n<=r;n++){if("\\"===(t=I(e,n))){i+=t+I(e,++n);continue}a||"."!==t?("["===t?a=!0:"]"===t&&(a=!1),i+=t):i+="[\\s\\S]"}return i},$=function(e){for(var t,r=e.length,n=0,i="",a=[],o=u(null),s=!1,l=!1,c=0,f="";n<=r;n++){if("\\"===(t=I(e,n)))t+=I(e,++n);else if("]"===t)s=!1;else if(!s)switch(!0){case"["===t:s=!0;break;case"("===t:if(i+=t,"?:"===D(e,n+1,n+3))continue;A(z,D(e,n+1))&&(n+=2,l=!0),c++;continue;case">"===t&&l:if(""===f||w(o,f))throw new R("Invalid capture group name");o[f]=!0,a[a.length]=[f,c],l=!1,f="";continue}l?f+=t:i+=t}return[i,a]};if(o("RegExp",q)){for(var B=function(e,t){var r,n,i,a,o,u,c=f(C,this),g=h(e),y=void 0===t,m=[],b=e;if(!c&&g&&y&&e.constructor===B)return e;if((g||f(C,e))&&(e=e.source,y&&(t=p(b))),e=void 0===e?"":d(e),t=void 0===t?"":d(t),b=e,P&&"dotAll"in j&&(n=!!t&&M(t,"s")>-1)&&(t=T(t,/s/g,"")),r=t,N&&"sticky"in j&&(i=!!t&&M(t,"y")>-1)&&F&&(t=T(t,/y/g,"")),_&&(e=(a=$(e))[0],m=a[1]),o=s(O(e,t),c?this:C,B),(n||i||m.length)&&(u=S(o),n&&(u.dotAll=!0,u.raw=B(W(e),r)),i&&(u.sticky=!0),m.length&&(u.groups=m)),e!==b)try{l(o,"source",""===b?"(?:)":b)}catch(e){}return o},K=c(O),Y=0;K.length>Y;)y(B,O,K[Y++]);C.constructor=B,B.prototype=C,m(i,"RegExp",B,{constructor:!0})}E("RegExp")},40807(e,t,r){var n=r(19058),i=r(45369),a=r(74026),o=r(7108),s=r(66935).get,l=RegExp.prototype,u=TypeError;n&&i&&o(l,"dotAll",{configurable:!0,get:function(){if(this!==l){if("RegExp"===a(this))return!!s(this).dotAll;throw new u("Incompatible receiver, RegExp required")}}})},85281(e,t,r){var n=r(64808),i=r(66565);n({target:"RegExp",proto:!0,forced:/./.exec!==i},{exec:i})},67548(e,t,r){var n=r(64808),i=r(95474),a=r(59293);n({target:"Set",proto:!0,real:!0,forced:!r(24206)("difference",function(e){return 0===e.size})||a(function(){var e=new Set([1,2,3,4]);return 3!==e.difference({size:1,has:function(){return!0},keys:function(){var t=0;return{next:function(){var r=t++>1;return e.has(1)&&e.clear(),{done:r,value:2}}}}}).size})},{difference:i})},70954(e,t,r){var n=r(64808),i=r(59293),a=r(48396);n({target:"Set",proto:!0,real:!0,forced:!r(24206)("intersection",function(e){return 2===e.size&&e.has(1)&&e.has(2)})||i(function(){return"3,2"!==String(Array.from(new Set([1,2,3]).intersection(new Set([3,2]))))})},{intersection:a})},98803(e,t,r){var n=r(64808),i=r(46839);n({target:"Set",proto:!0,real:!0,forced:!r(24206)("isDisjointFrom",function(e){return!e})},{isDisjointFrom:i})},79162(e,t,r){var n=r(64808),i=r(43388);n({target:"Set",proto:!0,real:!0,forced:!r(24206)("isSubsetOf",function(e){return e})},{isSubsetOf:i})},15385(e,t,r){var n=r(64808),i=r(53965);n({target:"Set",proto:!0,real:!0,forced:!r(24206)("isSupersetOf",function(e){return!e})},{isSupersetOf:i})},39342(e,t,r){var n=r(64808),i=r(13264),a=r(29617);n({target:"Set",proto:!0,real:!0,forced:!r(24206)("symmetricDifference")||!a("symmetricDifference")},{symmetricDifference:i})},69152(e,t,r){var n=r(64808),i=r(21898),a=r(29617);n({target:"Set",proto:!0,real:!0,forced:!r(24206)("union")||!a("union")},{union:i})},20583(e,t,r){var n=r(64808),i=r(52782),a=r(3108),o=RangeError,s=String.fromCharCode,l=String.fromCodePoint,u=i([].join);n({target:"String",stat:!0,arity:1,forced:!!l&&1!==l.length},{fromCodePoint:function(e){for(var t,r=[],n=arguments.length,i=0;n>i;){if(t=+arguments[i++],a(t,1114111)!==t)throw new o(t+" is not a valid code point");r[i]=t<65536?s(t):s(((t-=65536)>>10)+55296,t%1024+56320)}return u(r,"")}})},17166(e,t,r){var n=r(68445).charAt,i=r(13641),a=r(66935),o=r(52274),s=r(46827),l="String Iterator",u=a.set,c=a.getterFor(l);o(String,"String",function(e){u(this,{type:l,string:i(e),index:0})},function(){var e,t=c(this),r=t.string,i=t.index;return i>=r.length?s(void 0,!0):(e=n(r,i),t.index+=e.length,s(e,!1))})},29381(e,t,r){var n=r(64808),i=r(33179),a=r(3350),o=r(40652),s=r(46827),l=r(15804),u=r(57864),c=r(13641),f=r(46177),h=r(48188),d=r(74026),p=r(97494),g=r(41148),y=r(25112),m=r(59430),b=r(59293),w=r(75869),S=r(92767),E=r(22287),k=r(24464),P=r(66935),_=r(81201),x=w("matchAll"),O="RegExp String",C=O+" Iterator",R=P.set,A=P.getterFor(C),I=RegExp.prototype,T=TypeError,M=a("".indexOf),D=a("".matchAll),z=!!D&&!b(function(){D("a",/./)}),j=o(function(e,t,r,n){R(this,{type:C,regexp:e,string:t,global:r,unicode:n,done:!1})},O,function(){var e=A(this);if(e.done)return s(void 0,!0);var t=e.regexp,r=e.string,n=k(t,r);return null===n?(e.done=!0,s(void 0,!0)):(e.global?""===c(n[0])&&(t.lastIndex=E(r,u(t.lastIndex),e.unicode)):e.done=!0,s(n,!1))}),U=function(e){var t,r,n,i=f(this),a=c(e),o=S(i,RegExp),s=c(g(i));return t=new o(o===RegExp?i.source:i,s),r=!!~M(s,"g"),n=!!~M(s,"u"),t.lastIndex=u(i.lastIndex),new j(t,a,r,n)};n({target:"String",proto:!0,forced:z},{matchAll:function(e){var t,r,n,a=l(this);if(h(e)){if(p(e)&&!~M(c(l(g(e))),"g"))throw new T("`.matchAll` does not allow non-global regexes");if(z)return D(a,e);if(void 0===(r=y(e,x))&&_&&"RegExp"===d(e)&&(r=U),r)return i(r,e,a)}else if(z)return D(a,e);return t=c(a),n=RegExp(e,"g"),_?i(U,n,t):n[x](t)}}),_||x in I||m(I,x,U)},96954(e,t,r){var n=r(16263),i=r(33179),a=r(52782),o=r(41298),s=r(59293),l=r(46177),u=r(68039),c=r(48188),f=r(65825),h=r(57864),d=r(13641),p=r(15804),g=r(22287),y=r(25112),m=r(67256),b=r(41148),w=r(24464),S=r(75869)("replace"),E=Math.max,k=Math.min,P=a([].concat),_=a([].push),x=a("".indexOf),O=a("".slice),C="$0"==="a".replace(/./,"$0"),R=!!/./[S]&&""===/./[S]("a","$0");o("replace",function(e,t,r){var a=R?"$":"$0";return[function(e,r){var n=p(this),a=c(e)?y(e,S):void 0;return a?i(a,e,n,r):i(t,d(n),e,r)},function(e,i){var o=l(this),s=d(e);if("string"==typeof i&&-1===x(i,a)&&-1===x(i,"$<")){var c=r(t,o,s,i);if(c.done)return c.value}var p=u(i);p||(i=d(i));var y=d(b(o)),S=-1!==x(y,"g");S&&(M=-1!==x(y,"u"),o.lastIndex=0);for(var C=[];null!==(z=w(o,s))&&(_(C,z),S);){;""===d(z[0])&&(o.lastIndex=g(s,h(o.lastIndex),M))}for(var R="",A=0,I=0;I<C.length;I++){for(var T,M,D,z=C[I],j=d(z[0]),U=E(k(f(z.index),s.length),0),L=[],N=1;N<z.length;N++)_(L,void 0===(T=z[N])?T:String(T));var F=z.groups;if(p){var q=P([j],L,U,s);void 0!==F&&_(q,F),D=d(n(i,void 0,q))}else D=m(j,s,U,L,F,i);U>=A&&(R+=O(s,A,U)+D,A=U+j.length)}return R+O(s,A)}]},!!s(function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")})||!C||R)},22742(e,t,r){var n=r(97882),i=r(92956),a=r(65825),o=n.aTypedArray;(0,n.exportTypedArrayMethod)("at",function(e){var t=o(this),r=i(t),n=a(e),s=n>=0?n:r+n;return s<0||s>=r?void 0:t[s]})},24330(e,t,r){var n=r(97882),i=r(65083),a=r(32216),o=r(73485),s=r(33179),l=r(52782),u=r(59293),c=n.aTypedArray,f=n.exportTypedArrayMethod,h=l("".slice);f("fill",function(e){var t=arguments.length;return c(this),s(i,this,"Big"===h(o(this),0,3)?a(e):+e,t>1?arguments[1]:void 0,t>2?arguments[2]:void 0)},u(function(){var e=0;return new Int8Array(2).fill({valueOf:function(){return e++}}),1!==e}))},62148(e,t,r){var n=r(97882),i=r(61857).findLastIndex,a=n.aTypedArray;(0,n.exportTypedArrayMethod)("findLastIndex",function(e){return i(a(this),e,arguments.length>1?arguments[1]:void 0)})},37553(e,t,r){var n=r(97882),i=r(61857).findLast,a=n.aTypedArray;(0,n.exportTypedArrayMethod)("findLast",function(e){return i(a(this),e,arguments.length>1?arguments[1]:void 0)})},89055(e,t,r){var n=r(6974),i=r(33179),a=r(97882),o=r(92956),s=r(7751),l=r(72095),u=r(59293),c=n.RangeError,f=n.Int8Array,h=f&&f.prototype,d=h&&h.set,p=a.aTypedArray,g=a.exportTypedArrayMethod,y=!u(function(){var e=new Uint8ClampedArray(2);return i(d,e,{length:1,0:3},1),3!==e[1]}),m=y&&a.NATIVE_ARRAY_BUFFER_VIEWS&&u(function(){var e=new f(2);return e.set(1),e.set("2",1),0!==e[0]||2!==e[1]});g("set",function(e){p(this);var t=s(arguments.length>1?arguments[1]:void 0,1),r=l(e);if(y)return i(d,this,r,t);var n=this.length,a=o(r),u=0;if(a+t>n)throw new c("Wrong length");for(;u<a;)this[t+u]=r[u++]},!y||m)},41435(e,t,r){var n=r(6974),i=r(3350),a=r(59293),o=r(70860),s=r(31534),l=r(97882),u=r(21203),c=r(13777),f=r(76153),h=r(62729),d=l.aTypedArray,p=l.exportTypedArrayMethod,g=n.Uint16Array,y=g&&i(g.prototype.sort),m=!!y&&!(a(function(){y(new g(2),null)})&&a(function(){y(new g(2),{})})),b=!!y&&!a(function(){if(f)return f<74;if(u)return u<67;if(c)return!0;if(h)return h<602;var e,t,r=new g(516),n=Array(516);for(e=0;e<516;e++)t=e%4,r[e]=515-e,n[e]=e-2*t+3;for(y(r,function(e,t){return(e/4|0)-(t/4|0)}),e=0;e<516;e++)if(r[e]!==n[e])return!0});p("sort",function(e){return(void 0!==e&&o(e),b)?y(this,e):s(d(this),function(t,r){return void 0!==e?+e(t,r)||0:r!=r?-1:t!=t?1:0===t&&0===r?1/t>0&&1/r<0?1:-1:t>r})},!b||m)},12205(e,t,r){var n=r(4062),i=r(97882),a=i.aTypedArray,o=i.exportTypedArrayMethod,s=i.getTypedArrayConstructor;o("toReversed",function(){return n(a(this),s(this))})},65850(e,t,r){var n=r(97882),i=r(52782),a=r(70860),o=r(11372),s=n.aTypedArray,l=n.getTypedArrayConstructor,u=n.exportTypedArrayMethod,c=i(n.TypedArrayPrototype.sort);u("toSorted",function(e){void 0!==e&&a(e);var t=s(this);return c(o(l(t),t),e)})},93619(e,t,r){r(31853)("Uint8",function(e){return function(t,r,n){return e(this,t,r,n)}})},65135(e,t,r){var n=r(49718),i=r(97882),a=r(63633),o=r(65825),s=r(32216),l=i.aTypedArray,u=i.getTypedArrayConstructor,c=i.exportTypedArrayMethod,f=function(){try{new Int8Array(1).with(2,{valueOf:function(){throw 8}})}catch(e){return 8===e}}(),h=f&&function(){try{new Int8Array(1).with(-.5,1)}catch(e){return!0}}();c("with",{with:function(e,t){var r=l(this),i=o(e),c=a(r)?s(t):+t;return n(r,u(r),i,c)}}.with,!f||h)},36395(e,t,r){var n=r(6974),i=r(71806),a=r(84098),o=r(42886),s=r(80081),l=r(32377),u=r(75869)("iterator"),c=o.values,f=function(e,t){if(e){if(e[u]!==c)try{s(e,u,c)}catch(t){e[u]=c}if(l(e,t,!0),i[t]){for(var r in o)if(e[r]!==o[r])try{s(e,r,o[r])}catch(t){e[r]=o[r]}}}};for(var h in i)f(n[h]&&n[h].prototype,h);f(a,"DOMTokenList")},32037(e,t,r){var n=r(64808),i=r(6974),a=r(72485),o=r(56582),s=r(33919).f,l=r(76151),u=r(50473),c=r(3153),f=r(14901),h=r(94864),d=r(50747),p=r(19058),g=r(81201),y="DOMException",m=a("Error"),b=a(y),w=function(){u(this,S);var e=arguments.length,t=f(e<1?void 0:arguments[0]),r=f(e<2?void 0:arguments[1],"Error"),n=new b(t,r),i=new m(t);return i.name=y,s(n,"stack",o(1,d(i.stack,1))),c(n,this,w),n},S=w.prototype=b.prototype,E="stack"in new m(y),k="stack"in new b(1,2),P=b&&p&&Object.getOwnPropertyDescriptor(i,y),_=!!P&&!(P.writable&&P.configurable),x=E&&!_&&!k;n({global:!0,constructor:!0,forced:g||x},{DOMException:x?w:b});var O=a(y),C=O.prototype;if(C.constructor!==O){for(var R in g||s(C,"constructor",o(1,O)),h)if(l(h,R)){var A=h[R],I=A.s;l(O,I)||s(O,I,o(6,A.c))}}},92033(e,t,r){var n=r(64808),i=r(6974),a=r(7108),o=r(19058),s=TypeError,l=Object.defineProperty,u=i.self!==i;try{if(o){var c=Object.getOwnPropertyDescriptor(i,"self");!u&&c&&c.get&&c.enumerable||a(i,"self",{get:function(){return i},set:function(e){if(this!==i)throw new s("Illegal invocation");l(i,"self",{value:e,writable:!0,configurable:!0,enumerable:!0})},configurable:!0,enumerable:!0})}else n({global:!0,simple:!0,forced:u},{self:i})}catch(e){}},75556(e,t,r){r(42886),r(20583);var n=r(64808),i=r(6974),a=r(66255),o=r(72485),s=r(33179),l=r(52782),u=r(19058),c=r(79542),f=r(59430),h=r(7108),d=r(27597),p=r(32377),g=r(40652),y=r(66935),m=r(50473),b=r(68039),w=r(76151),S=r(92254),E=r(73485),k=r(46177),P=r(48188),_=r(13641),x=r(12326),O=r(56582),C=r(56563),R=r(18301),A=r(46827),I=r(26406),T=r(75869),M=r(31534),D=T("iterator"),z="URLSearchParams",j=z+"Iterator",U=y.set,L=y.getterFor(z),N=y.getterFor(j),F=a("fetch"),q=a("Request"),W=a("Headers"),$=q&&q.prototype,B=W&&W.prototype,K=i.TypeError,Y=i.encodeURIComponent,V=String.fromCharCode,Q=o("String","fromCodePoint"),H=parseInt,G=l("".charAt),J=l([].join),X=l([].push),Z=l("".replace),ee=l([].shift),et=l([].splice),er=l("".split),en=l("".slice),ei=l(/./.exec),ea=/\+/g,eo=/^[0-9a-f]+$/i,es=function(e,t){var r=en(e,t,t+2);return ei(eo,r)?H(r,16):NaN},el=function(e){for(var t=0,r=128;r>0&&(e&r)!=0;r>>=1)t++;return t},eu=function(e){var t=null;switch(e.length){case 1:t=e[0];break;case 2:t=(31&e[0])<<6|63&e[1];break;case 3:t=(15&e[0])<<12|(63&e[1])<<6|63&e[2];break;case 4:t=(7&e[0])<<18|(63&e[1])<<12|(63&e[2])<<6|63&e[3]}return t>1114111?null:t},ec=function(e){for(var t=(e=Z(e,ea," ")).length,r="",n=0;n<t;){var i=G(e,n);if("%"===i){if("%"===G(e,n+1)||n+3>t){r+="%",n++;continue}var a=es(e,n+1);if(a!=a){r+=i,n++;continue}n+=2;var o=el(a);if(0===o)i=V(a);else{if(1===o||o>4){r+="�",n++;continue}for(var s=[a],l=1;l<o&&!(++n+3>t)&&"%"===G(e,n);){var u=es(e,n+1);if(u!=u){n+=3;break}if(u>191||u<128)break;X(s,u),n+=2,l++}if(s.length!==o){r+="�";continue}var c=eu(s);null===c?r+="�":i=Q(c)}}r+=i,n++}return r},ef=/[!'()~]|%20/g,eh={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},ed=function(e){return eh[e]},ep=function(e){return Z(Y(e),ef,ed)},ev=g(function(e,t){U(this,{type:j,target:L(e).entries,index:0,kind:t})},z,function(){var e=N(this),t=e.target,r=e.index++;if(!t||r>=t.length)return e.target=null,A(void 0,!0);var n=t[r];switch(e.kind){case"keys":return A(n.key,!1);case"values":return A(n.value,!1)}return A([n.key,n.value],!1)},!0),eg=function(e){this.entries=[],this.url=null,void 0!==e&&(P(e)?this.parseObject(e):this.parseQuery("string"==typeof e?"?"===G(e,0)?en(e,1):e:_(e)))};eg.prototype={type:z,bindURL:function(e){this.url=e,this.update()},parseObject:function(e){var t,r,n,i,a,o,l,u=this.entries,c=R(e);if(c)for(r=(t=C(e,c)).next;!(n=s(r,t)).done;){if((o=s(a=(i=C(k(n.value))).next,i)).done||(l=s(a,i)).done||!s(a,i).done)throw new K("Expected sequence with length 2");X(u,{key:_(o.value),value:_(l.value)})}else for(var f in e)w(e,f)&&X(u,{key:f,value:_(e[f])})},parseQuery:function(e){if(e)for(var t,r,n=this.entries,i=er(e,"&"),a=0;a<i.length;)(t=i[a++]).length&&X(n,{key:ec(ee(r=er(t,"="))),value:ec(J(r,"="))})},serialize:function(){for(var e,t=this.entries,r=[],n=0;n<t.length;)X(r,ep((e=t[n++]).key)+"="+ep(e.value));return J(r,"&")},update:function(){this.entries.length=0,this.parseQuery(this.url.query)},updateURL:function(){this.url&&this.url.update()}};var ey=function(){m(this,em);var e=arguments.length>0?arguments[0]:void 0,t=U(this,new eg(e));u||(this.size=t.entries.length)},em=ey.prototype;if(d(em,{append:function(e,t){var r=L(this);I(arguments.length,2),X(r.entries,{key:_(e),value:_(t)}),!u&&this.size++,r.updateURL()},delete:function(e){for(var t=L(this),r=I(arguments.length,1),n=t.entries,i=_(e),a=r<2?void 0:arguments[1],o=void 0===a?a:_(a),s=0;s<n.length;){var l=n[s];if(l.key===i&&(void 0===o||l.value===o)){if(et(n,s,1),void 0!==o)break}else s++}u||(this.size=n.length),t.updateURL()},get:function(e){var t=L(this).entries;I(arguments.length,1);for(var r=_(e),n=0;n<t.length;n++)if(t[n].key===r)return t[n].value;return null},getAll:function(e){var t=L(this).entries;I(arguments.length,1);for(var r=_(e),n=[],i=0;i<t.length;i++)t[i].key===r&&X(n,t[i].value);return n},has:function(e){for(var t=L(this).entries,r=I(arguments.length,1),n=_(e),i=r<2?void 0:arguments[1],a=void 0===i?i:_(i),o=0;o<t.length;){var s=t[o++];if(s.key===n&&(void 0===a||s.value===a))return!0}return!1},set:function(e,t){var r,n=L(this);I(arguments.length,1);for(var i=n.entries,a=!1,o=_(e),s=_(t),l=0;l<i.length;l++)(r=i[l]).key===o&&(a?et(i,l--,1):(a=!0,r.value=s));a||X(i,{key:o,value:s}),u||(this.size=i.length),n.updateURL()},sort:function(){var e=L(this);M(e.entries,function(e,t){return e.key>t.key?1:-1}),e.updateURL()},forEach:function(e){for(var t,r=L(this).entries,n=S(e,arguments.length>1?arguments[1]:void 0),i=0;i<r.length;)n((t=r[i++]).value,t.key,this)},keys:function(){return new ev(this,"keys")},values:function(){return new ev(this,"values")},entries:function(){return new ev(this,"entries")}},{enumerable:!0}),f(em,D,em.entries,{name:"entries"}),f(em,"toString",function(){return L(this).serialize()},{enumerable:!0}),u&&h(em,"size",{get:function(){return L(this).entries.length},configurable:!0,enumerable:!0}),p(ey,z),n({global:!0,constructor:!0,forced:!c},{URLSearchParams:ey}),!c&&b(W)){var eb=l(B.has),ew=l(B.set),eS=function(e){if(P(e)){var t,r=e.body;if(E(r)===z)return eb(t=e.headers?new W(e.headers):new W,"content-type")||ew(t,"content-type","application/x-www-form-urlencoded;charset=UTF-8"),x(e,{body:O(0,_(r)),headers:O(0,t)})}return e};if(b(F)&&n({global:!0,enumerable:!0,dontCallGetSet:!0,forced:!0},{fetch:function(e){return F(e,arguments.length>1?eS(arguments[1]):{})}}),b(q)){var eE=function(e){return m(this,$),new q(e,arguments.length>1?eS(arguments[1]):{})};$.constructor=eE,eE.prototype=$,n({global:!0,constructor:!0,dontCallGetSet:!0,forced:!0},{Request:eE})}}e.exports={URLSearchParams:ey,getState:L}},52205(e,t,r){var n=r(59430),i=r(52782),a=r(13641),o=r(26406),s=URLSearchParams,l=s.prototype,u=i(l.append),c=i(l.delete),f=i(l.forEach),h=i([].push),d=new s("a=1&a=2&b=3");d.delete("a",1),d.delete("b",void 0),d+""!="a=2"&&n(l,"delete",function(e){var t,r=arguments.length,n=r<2?void 0:arguments[1];if(r&&void 0===n)return c(this,e);var i=[];f(this,function(e,t){h(i,{key:t,value:e})}),o(r,1);for(var s=a(e),l=a(n),d=0,p=0,g=!1,y=i.length;d<y;)t=i[d++],g||t.key===s?(g=!0,c(this,t.key)):p++;for(;p<y;)((t=i[p++]).key!==s||t.value!==l)&&u(this,t.key,t.value)},{enumerable:!0,unsafe:!0})},40768(e,t,r){var n=r(59430),i=r(52782),a=r(13641),o=r(26406),s=URLSearchParams,l=s.prototype,u=i(l.getAll),c=i(l.has),f=new s("a=1");(f.has("a",2)||!f.has("a",void 0))&&n(l,"has",function(e){var t=arguments.length,r=t<2?void 0:arguments[1];if(t&&void 0===r)return c(this,e);var n=u(this,e);o(t,1);for(var i=a(r),s=0;s<n.length;)if(n[s++]===i)return!0;return!1},{enumerable:!0,unsafe:!0})},38978(e,t,r){r(75556)},76235(e,t,r){var n=r(19058),i=r(52782),a=r(7108),o=URLSearchParams.prototype,s=i(o.forEach);!n||"size"in o||a(o,"size",{get:function(){var e=0;return s(this,function(){e++}),e},configurable:!0,enumerable:!0})},6184(e,t,r){r(17166);var n,i=r(64808),a=r(19058),o=r(79542),s=r(6974),l=r(92254),u=r(52782),c=r(59430),f=r(7108),h=r(50473),d=r(76151),p=r(37187),g=r(77930),y=r(34766),m=r(68445).codeAt,b=r(79855),w=r(13641),S=r(32377),E=r(26406),k=r(75556),P=r(66935),_=P.set,x=P.getterFor("URL"),O=k.URLSearchParams,C=k.getState,R=s.URL,A=s.TypeError,I=s.parseInt,T=Math.floor,M=Math.pow,D=u("".charAt),z=u(/./.exec),j=u([].join),U=u(1.1.toString),L=u([].pop),N=u([].push),F=u("".replace),q=u([].shift),W=u("".split),$=u("".slice),B=u("".toLowerCase),K=u([].unshift),Y="Invalid scheme",V="Invalid host",Q="Invalid port",H=/[a-z]/i,G=/[\d+-.a-z]/i,J=/\d/,X=/^0x/i,Z=/^[0-7]+$/,ee=/^\d+$/,et=/^[\da-f]+$/i,er=/[\0\t\n\r #%/:<>?@[\\\]^|]/,en=/[\0\t\n\r #/:<>?@[\\\]^|]/,ei=/^[\u0000-\u0020]+/,ea=/(^|[^\u0000-\u0020])[\u0000-\u0020]+$/,eo=/[\t\n\r]/g,es=function(e){var t,r,n,i,a,o,s,l=W(e,".");if(l.length&&""===l[l.length-1]&&l.length--,(t=l.length)>4)return e;for(n=0,r=[];n<t;n++){if(""===(i=l[n]))return e;if(a=10,i.length>1&&"0"===D(i,0)&&(a=z(X,i)?16:8,i=$(i,8===a?1:2)),""===i)o=0;else{if(!z(10===a?ee:8===a?Z:et,i))return e;o=I(i,a)}N(r,o)}for(n=0;n<t;n++)if(o=r[n],n===t-1){if(o>=M(256,5-t))return null}else if(o>255)return null;for(s=L(r),n=0;n<r.length;n++)s+=r[n]*M(256,3-n);return s},el=function(e){var t,r,n,i,a,o,s,l=[0,0,0,0,0,0,0,0],u=0,c=null,f=0,h=function(){return D(e,f)};if(":"===h()){if(":"!==D(e,1))return;f+=2,c=++u}for(;h();){if(8===u)return;if(":"===h()){if(null!==c)return;f++,c=++u;continue}for(t=r=0;r<4&&z(et,h());)t=16*t+I(h(),16),f++,r++;if("."===h()){if(0===r||(f-=r,u>6))return;for(n=0;h();){if(i=null,n>0)if("."!==h()||!(n<4))return;else f++;if(!z(J,h()))return;for(;z(J,h());){if(a=I(h(),10),null===i)i=a;else{if(0===i)return;i=10*i+a}if(i>255)return;f++}l[u]=256*l[u]+i,(2==++n||4===n)&&u++}if(4!==n)return;break}if(":"===h()){if(f++,!h())return}else if(h())return;l[u++]=t}if(null!==c)for(o=u-c,u=7;0!==u&&o>0;)s=l[u],l[u--]=l[c+o-1],l[c+--o]=s;else if(8!==u)return;return l},eu=function(e){for(var t=null,r=1,n=null,i=0,a=0;a<8;a++)0!==e[a]?(i>r&&(t=n,r=i),n=null,i=0):(null===n&&(n=a),++i);return i>r?n:t},ec=function(e){var t,r,n,i;if("number"==typeof e){for(r=0,t=[];r<4;r++)K(t,e%256),e=T(e/256);return j(t,".")}if("object"==typeof e){for(t="",n=eu(e),r=0;r<8;r++)(!i||0!==e[r])&&(i&&(i=!1),n===r?(t+=r?":":"::",i=!0):(t+=U(e[r],16),r<7&&(t+=":")));return"["+t+"]"}return e},ef={},eh=p({},ef,{" ":1,'"':1,"<":1,">":1,"`":1}),ed=p({},eh,{"#":1,"?":1,"{":1,"}":1}),ep=p({},ed,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),ev=function(e,t){var r=m(e,0);return r>32&&r<127&&!d(t,e)?e:encodeURIComponent(e)},eg={ftp:21,file:null,http:80,https:443,ws:80,wss:443},ey=function(e,t){var r;return 2===e.length&&z(H,D(e,0))&&(":"===(r=D(e,1))||!t&&"|"===r)},em=function(e){var t;return e.length>1&&ey($(e,0,2))&&(2===e.length||"/"===(t=D(e,2))||"\\"===t||"?"===t||"#"===t)},eb={},ew={},eS={},eE={},ek={},eP={},e_={},ex={},eO={},eC={},eR={},eA={},eI={},eT={},eM={},eD={},ez={},ej={},eU={},eL={},eN={},eF=function(e,t,r){var n,i,a,o=w(e);if(t){if(i=this.parse(o))throw new A(i);this.searchParams=null}else{if(void 0!==r&&(n=new eF(r,!0)),i=this.parse(o,null,n))throw new A(i);(a=C(new O)).bindURL(this),this.searchParams=a}};eF.prototype={type:"URL",parse:function(e,t,r){var i=t||eb,a=0,o="",s=!1,l=!1,u=!1;for(e=w(e),t||(this.scheme="",this.username="",this.password="",this.host=null,this.port=null,this.path=[],this.query=null,this.fragment=null,this.cannotBeABaseURL=!1,e=F(e,ei,""),e=F(e,ea,"$1")),c=g(e=F(e,eo,""));a<=c.length;){switch(f=c[a],i){case eb:if(f&&z(H,f))o+=B(f),i=ew;else{if(t)return Y;i=eS;continue}break;case ew:if(f&&(z(G,f)||"+"===f||"-"===f||"."===f))o+=B(f);else if(":"===f){if(t&&(this.isSpecial()!==d(eg,o)||"file"===o&&(this.includesCredentials()||null!==this.port)||"file"===this.scheme&&!this.host))return;if(this.scheme=o,t){this.isSpecial()&&eg[this.scheme]===this.port&&(this.port=null);return}o="","file"===this.scheme?i=eT:this.isSpecial()&&r&&r.scheme===this.scheme?i=eE:this.isSpecial()?i=ex:"/"===c[a+1]?(i=ek,a++):(this.cannotBeABaseURL=!0,N(this.path,""),i=eU)}else{if(t)return Y;o="",i=eS,a=0;continue}break;case eS:if(!r||r.cannotBeABaseURL&&"#"!==f)return Y;if(r.cannotBeABaseURL&&"#"===f){this.scheme=r.scheme,this.path=y(r.path),this.query=r.query,this.fragment="",this.cannotBeABaseURL=!0,i=eN;break}i="file"===r.scheme?eT:eP;continue;case eE:if("/"===f&&"/"===c[a+1])i=eO,a++;else{i=eP;continue}break;case ek:if("/"===f){i=eC;break}i=ej;continue;case eP:if(this.scheme=r.scheme,f===n)this.username=r.username,this.password=r.password,this.host=r.host,this.port=r.port,this.path=y(r.path),this.query=r.query;else if("/"===f||"\\"===f&&this.isSpecial())i=e_;else if("?"===f)this.username=r.username,this.password=r.password,this.host=r.host,this.port=r.port,this.path=y(r.path),this.query="",i=eL;else if("#"===f)this.username=r.username,this.password=r.password,this.host=r.host,this.port=r.port,this.path=y(r.path),this.query=r.query,this.fragment="",i=eN;else{this.username=r.username,this.password=r.password,this.host=r.host,this.port=r.port,this.path=y(r.path),this.path.length--,i=ej;continue}break;case e_:if(this.isSpecial()&&("/"===f||"\\"===f))i=eO;else if("/"===f)i=eC;else{this.username=r.username,this.password=r.password,this.host=r.host,this.port=r.port,i=ej;continue}break;case ex:if(i=eO,"/"!==f||"/"!==D(o,a+1))continue;a++;break;case eO:if("/"!==f&&"\\"!==f){i=eC;continue}break;case eC:if("@"===f){s&&(o="%40"+o),s=!0,h=g(o);for(var c,f,h,p,m,b,S=0;S<h.length;S++){var E=h[S];if(":"===E&&!u){u=!0;continue}var k=ev(E,ep);u?this.password+=k:this.username+=k}o=""}else if(f===n||"/"===f||"?"===f||"#"===f||"\\"===f&&this.isSpecial()){if(s&&""===o)return"Invalid authority";a-=g(o).length+1,o="",i=eR}else o+=f;break;case eR:case eA:if(t&&"file"===this.scheme){i=eD;continue}if(":"!==f||l)if(f===n||"/"===f||"?"===f||"#"===f||"\\"===f&&this.isSpecial()){if(this.isSpecial()&&""===o)return V;if(t&&""===o&&(this.includesCredentials()||null!==this.port))return;if(p=this.parseHost(o))return p;if(o="",i=ez,t)return;continue}else"["===f?l=!0:"]"===f&&(l=!1),o+=f;else{if(""===o)return V;if(p=this.parseHost(o))return p;if(o="",i=eI,t===eA)return}break;case eI:if(z(J,f))o+=f;else{if(!(f===n||"/"===f||"?"===f||"#"===f||"\\"===f&&this.isSpecial())&&!t)return Q;if(""!==o){var P=I(o,10);if(P>65535)return Q;this.port=this.isSpecial()&&P===eg[this.scheme]?null:P,o=""}if(t)return;i=ez;continue}break;case eT:if(this.scheme="file","/"===f||"\\"===f)i=eM;else if(r&&"file"===r.scheme)switch(f){case n:this.host=r.host,this.path=y(r.path),this.query=r.query;break;case"?":this.host=r.host,this.path=y(r.path),this.query="",i=eL;break;case"#":this.host=r.host,this.path=y(r.path),this.query=r.query,this.fragment="",i=eN;break;default:em(j(y(c,a),""))||(this.host=r.host,this.path=y(r.path),this.shortenPath()),i=ej;continue}else{i=ej;continue}break;case eM:if("/"===f||"\\"===f){i=eD;break}r&&"file"===r.scheme&&!em(j(y(c,a),""))&&(ey(r.path[0],!0)?N(this.path,r.path[0]):this.host=r.host),i=ej;continue;case eD:if(f===n||"/"===f||"\\"===f||"?"===f||"#"===f){if(!t&&ey(o))i=ej;else if(""===o){if(this.host="",t)return;i=ez}else{if(p=this.parseHost(o))return p;if("localhost"===this.host&&(this.host=""),t)return;o="",i=ez}continue}o+=f;break;case ez:if(this.isSpecial()){if(i=ej,"/"!==f&&"\\"!==f)continue}else if(t||"?"!==f)if(t||"#"!==f){if(f!==n&&(i=ej,"/"!==f))continue}else this.fragment="",i=eN;else this.query="",i=eL;break;case ej:if(f===n||"/"===f||"\\"===f&&this.isSpecial()||!t&&("?"===f||"#"===f)){if(".."===(m=B(m=o))||"%2e."===m||".%2e"===m||"%2e%2e"===m?(this.shortenPath(),"/"===f||"\\"===f&&this.isSpecial()||N(this.path,"")):"."===(b=o)||"%2e"===B(b)?"/"===f||"\\"===f&&this.isSpecial()||N(this.path,""):("file"===this.scheme&&!this.path.length&&ey(o)&&(this.host&&(this.host=""),o=D(o,0)+":"),N(this.path,o)),o="","file"===this.scheme&&(f===n||"?"===f||"#"===f))for(;this.path.length>1&&""===this.path[0];)q(this.path);"?"===f?(this.query="",i=eL):"#"===f&&(this.fragment="",i=eN)}else o+=ev(f,ed);break;case eU:"?"===f?(this.query="",i=eL):"#"===f?(this.fragment="",i=eN):f!==n&&(this.path[0]+=ev(f,ef));break;case eL:t||"#"!==f?f!==n&&("'"===f&&this.isSpecial()?this.query+="%27":"#"===f?this.query+="%23":this.query+=ev(f,ef)):(this.fragment="",i=eN);break;case eN:f!==n&&(this.fragment+=ev(f,eh))}a++}},parseHost:function(e){var t,r,n;if("["===D(e,0)){if("]"!==D(e,e.length-1)||!(t=el($(e,1,-1))))return V;this.host=t}else if(this.isSpecial()){if(z(er,e=b(e))||null===(t=es(e)))return V;this.host=t}else{if(z(en,e))return V;for(t="",r=g(e),n=0;n<r.length;n++)t+=ev(r[n],ef);this.host=t}},cannotHaveUsernamePasswordPort:function(){return!this.host||this.cannotBeABaseURL||"file"===this.scheme},includesCredentials:function(){return""!==this.username||""!==this.password},isSpecial:function(){return d(eg,this.scheme)},shortenPath:function(){var e=this.path,t=e.length;t&&("file"!==this.scheme||1!==t||!ey(e[0],!0))&&e.length--},serialize:function(){var e=this.scheme,t=this.username,r=this.password,n=this.host,i=this.port,a=this.path,o=this.query,s=this.fragment,l=e+":";return null!==n?(l+="//",this.includesCredentials()&&(l+=t+(r?":"+r:"")+"@"),l+=ec(n),null!==i&&(l+=":"+i)):"file"===e&&(l+="//"),l+=this.cannotBeABaseURL?a[0]:a.length?"/"+j(a,"/"):"",null!==o&&(l+="?"+o),null!==s&&(l+="#"+s),l},setHref:function(e){var t=this.parse(e);if(t)throw new A(t);this.searchParams.update()},getOrigin:function(){var e=this.scheme,t=this.port;if("blob"===e)try{return new eq(e.path[0]).origin}catch(e){return"null"}return"file"!==e&&this.isSpecial()?e+"://"+ec(this.host)+(null!==t?":"+t:""):"null"},getProtocol:function(){return this.scheme+":"},setProtocol:function(e){this.parse(w(e)+":",eb)},getUsername:function(){return this.username},setUsername:function(e){var t=g(w(e));if(!this.cannotHaveUsernamePasswordPort()){this.username="";for(var r=0;r<t.length;r++)this.username+=ev(t[r],ep)}},getPassword:function(){return this.password},setPassword:function(e){var t=g(w(e));if(!this.cannotHaveUsernamePasswordPort()){this.password="";for(var r=0;r<t.length;r++)this.password+=ev(t[r],ep)}},getHost:function(){var e=this.host,t=this.port;return null===e?"":null===t?ec(e):ec(e)+":"+t},setHost:function(e){this.cannotBeABaseURL||this.parse(e,eR)},getHostname:function(){var e=this.host;return null===e?"":ec(e)},setHostname:function(e){this.cannotBeABaseURL||this.parse(e,eA)},getPort:function(){var e=this.port;return null===e?"":w(e)},setPort:function(e){this.cannotHaveUsernamePasswordPort()||(""===(e=w(e))?this.port=null:this.parse(e,eI))},getPathname:function(){var e=this.path;return this.cannotBeABaseURL?e[0]:e.length?"/"+j(e,"/"):""},setPathname:function(e){this.cannotBeABaseURL||(this.path=[],this.parse(e,ez))},getSearch:function(){var e=this.query;return e?"?"+e:""},setSearch:function(e){""===(e=w(e))?this.query=null:("?"===D(e,0)&&(e=$(e,1)),this.query="",this.parse(e,eL)),this.searchParams.update()},getSearchParams:function(){return this.searchParams.facade},getHash:function(){var e=this.fragment;return e?"#"+e:""},setHash:function(e){if(""===(e=w(e))){this.fragment=null;return}"#"===D(e,0)&&(e=$(e,1)),this.fragment="",this.parse(e,eN)},update:function(){this.query=this.searchParams.serialize()||null}};var eq=function(e){var t=h(this,eW),r=E(arguments.length,1)>1?arguments[1]:void 0,n=_(t,new eF(e,!1,r));a||(t.href=n.serialize(),t.origin=n.getOrigin(),t.protocol=n.getProtocol(),t.username=n.getUsername(),t.password=n.getPassword(),t.host=n.getHost(),t.hostname=n.getHostname(),t.port=n.getPort(),t.pathname=n.getPathname(),t.search=n.getSearch(),t.searchParams=n.getSearchParams(),t.hash=n.getHash())},eW=eq.prototype,e$=function(e,t){return{get:function(){return x(this)[e]()},set:t&&function(e){return x(this)[t](e)},configurable:!0,enumerable:!0}};if(a&&(f(eW,"href",e$("serialize","setHref")),f(eW,"origin",e$("getOrigin")),f(eW,"protocol",e$("getProtocol","setProtocol")),f(eW,"username",e$("getUsername","setUsername")),f(eW,"password",e$("getPassword","setPassword")),f(eW,"host",e$("getHost","setHost")),f(eW,"hostname",e$("getHostname","setHostname")),f(eW,"port",e$("getPort","setPort")),f(eW,"pathname",e$("getPathname","setPathname")),f(eW,"search",e$("getSearch","setSearch")),f(eW,"searchParams",e$("getSearchParams")),f(eW,"hash",e$("getHash","setHash"))),c(eW,"toJSON",function(){return x(this).serialize()},{enumerable:!0}),c(eW,"toString",function(){return x(this).serialize()},{enumerable:!0}),R){var eB=R.createObjectURL,eK=R.revokeObjectURL;eB&&c(eq,"createObjectURL",l(eB,R)),eK&&c(eq,"revokeObjectURL",l(eK,R))}S(eq,"URL"),i({global:!0,constructor:!0,forced:!o,sham:!a},{URL:eq})},74302(e,t,r){r(6184)},30686(e,t,r){var n=r(64808),i=r(33179);n({target:"URL",proto:!0,enumerable:!0},{toJSON:function(){return i(URL.prototype.toString,this)}})},27213(e,t,r){function n(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}r.d(t,{_:()=>n})},50784(e,t,r){r(36395),r(20498),r(40807),r(85281),r(67548),r(70954),r(98803),r(79162),r(15385),r(39342),r(69152),r(20303),r(99166),r(6106),r(93619),r(22742),r(24330),r(37553),r(62148),r(89055),r(41435),r(12205),r(65850),r(65135);var n=Object.prototype.hasOwnProperty;function i(e,t,r){for(r of e.keys())if(a(r,t))return r}function a(e,t){var r,o,s;if(e===t)return!0;if(e&&t&&(r=e.constructor)===t.constructor){if(r===Date)return e.getTime()===t.getTime();if(r===RegExp)return e.toString()===t.toString();if(r===Array){if((o=e.length)===t.length)for(;o--&&a(e[o],t[o]););return -1===o}if(r===Set){if(e.size!==t.size)return!1;for(o of e)if((s=o)&&"object"==typeof s&&!(s=i(t,s))||!t.has(s))return!1;return!0}if(r===Map){if(e.size!==t.size)return!1;for(o of e)if((s=o[0])&&"object"==typeof s&&!(s=i(t,s))||!a(o[1],t.get(s)))return!1;return!0}if(r===ArrayBuffer)e=new Uint8Array(e),t=new Uint8Array(t);else if(r===DataView){if((o=e.byteLength)===t.byteLength)for(;o--&&e.getInt8(o)===t.getInt8(o););return -1===o}if(ArrayBuffer.isView(e)){if((o=e.byteLength)===t.byteLength)for(;o--&&e[o]===t[o];);return -1===o}if(!r||"object"==typeof e){for(r in o=0,e)if(n.call(e,r)&&++o&&!n.call(t,r)||!(r in t)||!a(e[r],t[r]))return!1;return Object.keys(t).length===o}}return e!=e&&t!=t}r.d(t,{j:()=>a})},86575(e,t,r){function n(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function i(e){return function(t){let r=null!=t?t:this;if(!r)throw TypeError("".concat(e.kind||e.name," type guard requires an error object"));if(e.kind&&"object"==typeof r&&null!==r&&"constructor"in r){var n;if((null==(n=r.constructor)?void 0:n.kind)===e.kind)return!0}return r instanceof e}}r(15254),r(20498),r(40807),r(85281),r(96954);var a,o,s=(a=class e extends Error{get name(){return this.constructor.name}toString(){return"[".concat(this.name,"]\nMessage:").concat(this.message)}static formatMessage(e,t,r,n){let i="Clerk:",a=RegExp(i.replace(" ","\\s*"),"i");return t=t.replace(a,""),t="".concat(i," ").concat(t.trim(),'\n\n(code="').concat(r,'")\n\n'),n&&(t+="\n\nDocs: ".concat(n)),t}constructor(t){super(new.target.formatMessage(new.target.kind,t.message,t.code,t.docsUrl),{cause:t.cause}),n(this,"clerkError",!0),n(this,"code",void 0),n(this,"longMessage",void 0),n(this,"docsUrl",void 0),n(this,"cause",void 0),Object.setPrototypeOf(this,e.prototype),this.code=t.code,this.docsUrl=t.docsUrl,this.longMessage=t.longMessage,this.cause=t.cause}},n(a,"kind","ClerkError"),a),l=(o=class e extends s{constructor(t,r){super({...r,message:t}),n(this,"clerkRuntimeError",!0),Object.setPrototypeOf(this,e.prototype)}},n(o,"kind","ClerkRuntimeError"),o);let u=i(l);r.d(t,{a:()=>i,r:()=>s,t:()=>l},{n:u})},64093(e,t,r){r(73560);var n=r(98591);r.d(t,{},{t:()=>{let e=n.t,t=n.t;return{promise:new Promise((r,n)=>{e=r,t=n}),resolve:e,reject:t}}})},49025(e,t,r){r(42949),r(37891),r(85281),r(29381),r(96954),r(36395),r(15254),r(52277),r(67548),r(70954),r(98803),r(79162),r(15385),r(39342),r(69152),r(12021);var n,i,a,o,s=r(86575);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var u=(n=class{constructor(e){var t,r,n,i,a,o,s,u,c;l(this,"code",void 0),l(this,"message",void 0),l(this,"longMessage",void 0),l(this,"meta",void 0);const f={code:e.code,message:e.message,longMessage:e.long_message,meta:{paramName:null==(t=e.meta)?void 0:t.param_name,sessionId:null==(r=e.meta)?void 0:r.session_id,emailAddresses:null==(n=e.meta)?void 0:n.email_addresses,identifiers:null==(i=e.meta)?void 0:i.identifiers,zxcvbn:null==(a=e.meta)?void 0:a.zxcvbn,plan:null==(o=e.meta)?void 0:o.plan,isPlanUpgradePossible:null==(s=e.meta)?void 0:s.is_plan_upgrade_possible,seatsQuantityToAdd:null==(u=e.meta)?void 0:u.seats_quantity_to_add,seatsQuantity:null==(c=e.meta)?void 0:c.seats_quantity}};this.code=f.code,this.message=f.message,this.longMessage=f.longMessage,this.meta=f.meta}},l(n,"kind","ClerkAPIError"),n);(0,s.a)(u);var c=(i=class e extends s.r{toString(){let e="[".concat(this.name,"]\nMessage:").concat(this.message,"\nStatus:").concat(this.status,"\nSerialized errors: ").concat(this.errors.map(e=>JSON.stringify(e)));return this.clerkTraceId&&(e+="\nClerk Trace ID: ".concat(this.clerkTraceId)),e}static formatMessage(e,t,r,n){return t}constructor(t,r){const{data:n,status:i,clerkTraceId:a,retryAfter:o}=r;super({...r,message:t,code:"api_response_error"}),l(this,"status",void 0),l(this,"clerkTraceId",void 0),l(this,"retryAfter",void 0),l(this,"errors",void 0),Object.setPrototypeOf(this,e.prototype),this.status=i,this.clerkTraceId=a,this.retryAfter=o,this.errors=(n||[]).map(e=>new u(e))}},l(i,"kind","ClerkAPIResponseError"),i);let f=(0,s.a)(c);l(a=class e extends c{static is(t){return f(t)&&t.status===e.STATUS&&t.errors.length>0&&t.errors[0].code===e.ERROR_CODE}},"kind","MissingExpiredTokenError"),l(a,"ERROR_CODE","missing_expired_token"),l(a,"STATUS",422),l(o=class e extends s.t{static is(t){return null!=t&&(t instanceof e||(0,s.n)(t)&&t.code===e.ERROR_CODE)}constructor(t){super(t,{code:e.ERROR_CODE}),Object.setPrototypeOf(this,e.prototype)}},"kind","ClerkOfflineError"),l(o,"ERROR_CODE","clerk_offline");let h=Object.freeze({InvalidProxyUrlErrorMessage:"The proxyUrl passed to Clerk is invalid. The expected value for proxyUrl is an absolute URL or a relative path with a leading '/'. (key={{url}})",InvalidPublishableKeyErrorMessage:"The publishableKey passed to Clerk is invalid. You can get your Publishable key at https://dashboard.clerk.com/last-active?path=api-keys. (key={{key}})",MissingPublishableKeyErrorMessage:"Missing publishableKey. You can get your key at https://dashboard.clerk.com/last-active?path=api-keys.",MissingSecretKeyErrorMessage:"Missing secretKey. You can get your key at https://dashboard.clerk.com/last-active?path=api-keys.",MissingClerkProvider:"{{source}} can only be used within the <ClerkProvider /> component. Learn more: https://clerk.com/docs/components/clerk-provider"});function d(e){let{packageName:t,customMessages:r}=e,n=t;function i(e,t){if(!t)return"".concat(n,": ").concat(e);let r=e;for(let n of e.matchAll(/{{([a-zA-Z0-9-_]+)}}/g)){let e=(t[n[1]]||"").toString();r=r.replace("{{".concat(n[1],"}}"),e)}return"".concat(n,": ").concat(r)}let a={...h,...r};return{setPackageName(e){let{packageName:t}=e;return"string"==typeof t&&(n=t),this},setMessages(e){let{customMessages:t}=e;return Object.assign(a,t||{}),this},throwInvalidPublishableKeyError(e){throw Error(i(a.InvalidPublishableKeyErrorMessage,e))},throwInvalidProxyUrl(e){throw Error(i(a.InvalidProxyUrlErrorMessage,e))},throwMissingPublishableKeyError(){throw Error(i(a.MissingPublishableKeyErrorMessage))},throwMissingSecretKeyError(){throw Error(i(a.MissingSecretKeyErrorMessage))},throwMissingClerkProviderError(e){throw Error(i(a.MissingClerkProvider,e))},throw(e){throw Error(i(e))}}}function p(e){return f(e)||y(e)||(0,s.n)(e)}function g(e){return(0,s.n)(e)&&"reverification_cancelled"===e.code}function y(e){return"code"in e&&[4001,32602,32603].includes(e.code)&&"message"in e}function m(e){var t,r;return f(e)&&(null==(r=e.errors)||null==(t=r[0])?void 0:t.code)==="user_locked"}function b(e){var t,r;return f(e)&&(null==(r=e.errors)||null==(t=r[0])?void 0:t.code)==="form_password_pwned"}function w(e){var t,r;return f(e)&&(null==(r=e.errors)||null==(t=r[0])?void 0:t.code)==="form_password_compromised"}function S(e){return"EmailLinkError"===e.name}r.d(t,{a:()=>S,d:()=>g,l:()=>w,m:()=>m,o:()=>p,s:()=>y,u:()=>b,y:()=>d},{C:f,v:{Expired:"expired",Failed:"failed",ClientMismatch:"client_mismatch"}})},98591(e,t,r){r.d(t,{},{t:function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r]}})},91311(e,t,r){r(52277),r(42949),r(12021),r.d(t,{},{a:()=>!1,i:()=>{try{return!0}catch{}return!1},r:()=>!1,t:["CI","CONTINUOUS_INTEGRATION","GITHUB_ACTIONS","GITLAB_CI","CIRCLECI","TRAVIS","BUILDKITE","BITBUCKET_BUILD_NUMBER","APPVEYOR","CODEBUILD_BUILD_ID","TF_BUILD","TEAMCITY_VERSION","JENKINS_URL","HUDSON_URL","BAMBOO_BUILDKEY","CF_PAGES"]})},65532(e,t,r){var n,i,a,o,s,l,u,c,f,h,d,p,g,y,m;r(42949),r(12021),r(36395),r(32037),r(67548),r(70954),r(98803),r(79162),r(15385),r(39342),r(69152),r(14104),r(37891),r(18723),r(74302),r(30686),r(38978),r(52205),r(40768),r(76235),r(73560),r(61102),r(91311),r(56874),Symbol.for("@clerk/shared.telemetryNoticeShown"),n=new WeakMap,i=new WeakMap,a=new WeakSet,o=new WeakMap,s=new WeakSet,l=new WeakMap,u=new WeakMap,c=new WeakMap,f=new WeakMap,h=new WeakMap,d=new WeakMap,p=new WeakMap,g=new WeakSet,y=new WeakSet,m=new WeakSet;let b=new Set(["SignIn","SignUp"]);function w(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return{event:"COMPONENT_MOUNTED",eventSamplingRate:b.has(e)?1:.1,payload:{component:e,...t}}}function S(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1;return{event:"FLOW_STEP_MOUNTED",eventSamplingRate:n,payload:{flow:e,step:t,metadata:r}}}function E(e,t){return{event:"METHOD_CALLED",eventSamplingRate:.1,payload:{method:e,...t}}}r.d(t,{a:()=>E,o:()=>S,s:()=>w})},30129(e,t,r){function n(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"svg";return"https://img.clerk.com/static/".concat(e,".").concat(t)}r.d(t,{at:()=>n},{gE:[".lcl.dev",".stg.dev",".lclstage.dev",".stgstage.dev",".dev.lclclerk.com",".stg.lclclerk.com",".accounts.lclclerk.com","accountsstage.dev","accounts.dev"]})},71756(e,t,r){var n=r(86575),i=r(49025);r.d(t,{$R:()=>i.C,Au:()=>i.u,Cm:()=>n.n,I3:()=>i.d,_d:()=>i.m,cR:()=>n.t,hl:()=>i.a,kl:()=>i.v,qY:()=>i.l,si:()=>i.s,ux:()=>i.o})},70355(e,t,r){r.d(t,{},{CL:"__clerk_modal_state",Ej:["redirect_url","after_sign_in_url","after_sign_up_url","sign_in_force_redirect_url","sign_in_fallback_redirect_url","sign_up_force_redirect_url","sign_up_fallback_redirect_url"],MC:"__clerk_satellite_url",OQ:{FORM_IDENTIFIER_NOT_FOUND:"form_identifier_not_found",FORM_PASSWORD_INCORRECT:"form_password_incorrect",FORM_PASSWORD_PWNED:"form_password_pwned",INVALID_STRATEGY_FOR_USER:"strategy_for_user_invalid",NOT_ALLOWED_TO_SIGN_UP:"not_allowed_to_sign_up",OAUTH_ACCESS_DENIED:"oauth_access_denied",OAUTH_EMAIL_DOMAIN_RESERVED_BY_SAML:"oauth_email_domain_reserved_by_saml",NOT_ALLOWED_ACCESS:"not_allowed_access",SAML_USER_ATTRIBUTE_MISSING:"saml_user_attribute_missing",USER_LOCKED:"user_locked",EXTERNAL_ACCOUNT_NOT_FOUND:"external_account_not_found",SESSION_EXISTS:"session_exists",SIGN_UP_MODE_RESTRICTED:"sign_up_mode_restricted",SIGN_UP_MODE_RESTRICTED_WAITLIST:"sign_up_restricted_waitlist",ENTERPRISE_SSO_USER_ATTRIBUTE_MISSING:"enterprise_sso_user_attribute_missing",ENTERPRISE_SSO_EMAIL_ADDRESS_DOMAIN_MISMATCH:"enterprise_sso_email_address_domain_mismatch",ENTERPRISE_SSO_HOSTED_DOMAIN_MISMATCH:"enterprise_sso_hosted_domain_mismatch",SAML_EMAIL_ADDRESS_DOMAIN_MISMATCH:"saml_email_address_domain_mismatch",INVITATION_ACCOUNT_NOT_EXISTS:"invitation_account_not_exists",ORGANIZATION_MEMBERSHIP_QUOTA_EXCEEDED_FOR_SSO:"organization_membership_quota_exceeded_for_sso",CAPTCHA_INVALID:"captcha_invalid",FRAUD_DEVICE_BLOCKED:"device_blocked",FRAUD_ACTION_BLOCKED:"action_blocked",SIGNUP_RATE_LIMIT_EXCEEDED:"signup_rate_limit_exceeded",USER_BANNED:"user_banned",USER_DEACTIVATED:"user_deactivated"},P6:{PUBLIC:"public",RESTRICTED:"restricted",WAITLIST:"waitlist"},UU:["email_address","phone_number","username","first_name","last_name"],Wl:"clerk-captcha",e8:["email_address","phone_number","username"],rt:"__clerk_synced",tz:"suffixed_cookies"})},91117(e,t,r){r(15254);let n="ClerkJS:";function i(e){throw Error("".concat(n," Missing path option. The ").concat(e,' component was mounted with path routing so you need to specify the path where the component is mounted on e.g. path="/sign-in".'))}function a(e){throw Error("".concat(n," Invalid routing strategy, path cannot be used in tandem with ").concat(e,"."))}function o(){throw Error("".concat(n," Clerk instance not found. Make sure Clerk is initialized before using any Clerk components."))}function s(e){throw Error("".concat(n," ").concat(e," not found. Make sure you wrap your app with <").concat(e,">."))}function l(){throw Error("".concat(n," The target element is empty. Provide a valid DOM element."))}function u(e,t){throw Error("".concat(n," Response: ").concat(e||0," not supported yet.\nFor more information contact us at ").concat(t))}function c(e){throw Error("".concat(n," Unable to retrieve a third party script").concat(e?" ".concat(e):"","."))}r.d(t,{$V:()=>l,A8:()=>c,SK:()=>a,i$:()=>s,jB:()=>i,kX:()=>o,wv:()=>u})},1715(e,t,r){r.d(t,{hF:()=>s,hI:()=>a,rw:()=>o}),r(36395),r(74302),r(30686),r(38978),r(52205),r(40768),r(76235),r(85281),r(52277),r(61102);var n=r(70355);let i=["__clerk_status","__clerk_created_session","__clerk_invitation_token","__clerk_ticket","__clerk_modal_state","__clerk_handshake","__clerk_handshake_nonce","__clerk_help","__clerk_netlify_cache_bust",n.rt,n.MC,n.tz];function a(e){return new URL(window.location.href).searchParams.get(e)||null}function o(e){let t=new URL(window.location.href);t.searchParams.has(e)&&(t.searchParams.delete(e),window.history.replaceState(window.history.state,"",t))}function s(e){let t=new URLSearchParams(window.location.search),r=e||new URLSearchParams;for(let e of i){let n=t.get(e);n&&r.set(e,n)}return r}},32638(e,t,r){r.d(t,{j:()=>o,F:()=>a}),r(32037),r(85281),r(96954),r(36395),r(74302),r(30686),r(38978),r(52205),r(40768),r(76235);var n=r(70355),i=r(1715);r(42949),r(37891);let a=()=>{var e;let t=null!=(e=(0,i.hI)("__clerk_modal_state"))?e:"";return t?JSON.parse(atob(t)):null},o=e=>{let{url:t,startPath:r="/user",currentPath:i="",componentName:a,socialProvider:o=""}=e,s=globalThis.btoa(JSON.stringify({path:i.replace(/CLERK-ROUTER\/VIRTUAL\/.*\//,"")||"",componentName:a,startPath:r,socialProvider:o})),l=new URL(t),u=l.searchParams;return u.set(n.CL,s),l.search=u.toString(),l.toString()}},67665(e,t,r){r(32037),r.d(t,{},{y:e=>"u">typeof atob&&"function"==typeof atob?atob(e):void 0!==globalThis.Buffer?globalThis.Buffer.from(e,"base64").toString():e})},61102(e,t,r){r.d(t,{RZ:()=>u,iE:()=>c,q5:()=>s}),r(85281),r(42949),r(12021),r(96954),r(15254),r(52277),r(36395),r(20303),r(99166),r(6106),r(93619),r(22742),r(24330),r(37553),r(62148),r(89055),r(41435),r(12205),r(65850),r(65135),r(73560);var n=r(30129),i=r(67665);r(32037);let a="pk_live_";function o(e){if(!e.endsWith("$"))return!1;let t=e.slice(0,-1);return!t.includes("$")&&t.includes(".")}function s(e){let t,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!(e=e||"")||!l(e)){if(r.fatal&&!e)throw Error("Publishable key is missing. Ensure that your publishable key is correctly configured. Double-check your environment configuration for your keys, or access them here: https://dashboard.clerk.com/last-active?path=api-keys");if(r.fatal&&!l(e))throw Error("Publishable key not valid.");return null}let n=e.startsWith(a)?"production":"development";try{t=(0,i.y)(e.split("_")[2])}catch{if(r.fatal)throw Error("Publishable key not valid: Failed to decode key.");return null}if(!o(t)){if(r.fatal)throw Error("Publishable key not valid: Decoded key has invalid format.");return null}let s=t.slice(0,-1);return r.proxyUrl?s=r.proxyUrl:"development"!==n&&r.domain&&r.isSatellite&&(s="clerk.".concat(r.domain)),{instanceType:n,frontendApi:s}}function l(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";try{if(!(e.startsWith(a)||e.startsWith("pk_test_")))return!1;let t=e.split("_");if(3!==t.length)return!1;let r=t[2];if(!r)return!1;return o((0,i.y)(r))}catch{return!1}}function u(){let e=new Map;return{isDevOrStagingUrl:t=>{if(!t)return!1;let r="string"==typeof t?t:t.hostname,i=e.get(r);return void 0===i&&(i=n.gE.some(e=>r.endsWith(e)),e.set(r,i)),i}}}function c(e){return e.startsWith("test_")||e.startsWith("pk_test_")}},62826(e,t,r){r(67548),r(70954),r(98803),r(79162),r(15385),r(39342),r(69152),r(36395);let n=new Set;r.d(t,{},{v:{warnOnce:e=>{n.has(e)||(n.add(e),console.warn(e))},logOnce:e=>{n.has(e)||(console.log(e),n.add(e))}}})},46262(e,t,r){let n,i,a,o,s,l,u,c,f,h,d;r.d(t,{Ow:()=>nv,ED:()=>ry,kN:()=>rk,N$:()=>nV,Rx:()=>rx,cl:()=>nW,Tn:()=>nF,v$:()=>ns,t7:()=>nr,Jl:()=>nB,X$:()=>nn,rg:()=>ni,tr:()=>nt,kH:()=>no,WO:()=>r5,It:()=>rW,QE:()=>nd,yS:()=>np,n6:()=>nh,hl:()=>nc,Dc:()=>nu,LS:()=>r$,Fm:()=>nl,Mn:()=>rN,bm:()=>nf,e3:()=>rg,O4:()=>rL,ho:()=>rB,Oc:()=>r3,$U:()=>rq,Z5:()=>rV,OM:()=>rH,D_:()=>rJ,Sj:()=>nQ,Wp:()=>r7,UQ:()=>rX,wV:()=>r0,Jd:()=>r8}),r(15254),r(36395),r(73560),r(92033),r(52277),r(42949),r(18723),r(37891),r(99780),r(49678),r(85281),r(31178),r(34330),r(46455);let p="reverification-error";r(67548),r(70954),r(98803),r(79162),r(15385),r(39342),r(69152),r(96954),r(14104),r(12021);let g={strict_mfa:{afterMinutes:10,level:"multi_factor"},strict:{afterMinutes:10,level:"second_factor"},moderate:{afterMinutes:60,level:"second_factor"},lax:{afterMinutes:1440,level:"second_factor"}},y=new Set(["first_factor","second_factor","multi_factor"]),m=new Set(["strict_mfa","strict","moderate","lax"]);var b,w,S,E,k,P,_,x,O,C,R,A,I,T,M,D,z,j,U,L,N,F,q,W,$,B,K,Y,V,Q,H,G,J,X,Z,ee,et,er,en,ei,ea,eo,es,el,eu,ec,ef,eh,ed,ep,ev,eg,ey,em,eb,ew,eS,eE,ek,eP,e_,ex,eO=r(86575),eC=r(49025),eR=r(62826),eA=r(65532),eI=r(64093),eT=r(91117),eM=r(59701);function eD(e,t,r){if(!t.has(e))throw TypeError("attempted to "+r+" private field on non-instance");return t.get(e)}function ez(e,t){var r=eD(e,t,"get");return r.get?r.get.call(e):r.value}function ej(e,t,r){if(t.has(e))throw TypeError("Cannot initialize the same private elements twice on an object");t.set(e,r)}r(84086);var eU={setTimeout:(e,t)=>setTimeout(e,t),clearTimeout:e=>clearTimeout(e),setInterval:(e,t)=>setInterval(e,t),clearInterval:e=>clearInterval(e)},eL=new(S=new WeakMap,E=new WeakMap,class{setTimeoutProvider(e){var t=this,r=S,n=e,i=eD(t,r,"set");if(i.set)i.set.call(t,n);else{if(!i.writable)throw TypeError("attempted to set read only private field");i.value=n}}setTimeout(e,t){return ez(this,S).setTimeout(e,t)}clearTimeout(e){ez(this,S).clearTimeout(e)}setInterval(e,t){return ez(this,S).setInterval(e,t)}clearInterval(e){ez(this,S).clearInterval(e)}constructor(){ej(this,S,{writable:!0,value:eU}),ej(this,E,{writable:!0,value:!1})}}),eN="u"<typeof window||"Deno"in globalThis;function eF(){}function eq(e){return"number"==typeof e&&e>=0&&e!==1/0}function eW(e,t){return Math.max(e+(t||0)-Date.now(),0)}function e$(e,t){return"function"==typeof e?e(t):e}function eB(e,t){return"function"==typeof e?e(t):e}function eK(e,t){let{type:r="all",exact:n,fetchStatus:i,predicate:a,queryKey:o,stale:s}=e;if(o){if(n){if(t.queryHash!==eV(o,t.options))return!1}else if(!eH(t.queryKey,o))return!1}if("all"!==r){let e=t.isActive();if("active"===r&&!e||"inactive"===r&&e)return!1}return("boolean"!=typeof s||t.isStale()===s)&&(!i||i===t.state.fetchStatus)&&(!a||!!a(t))}function eY(e,t){let{exact:r,status:n,predicate:i,mutationKey:a}=e;if(a){if(!t.options.mutationKey)return!1;if(r){if(eQ(t.options.mutationKey)!==eQ(a))return!1}else if(!eH(t.options.mutationKey,a))return!1}return(!n||t.state.status===n)&&(!i||!!i(t))}function eV(e,t){return((null==t?void 0:t.queryKeyHashFn)||eQ)(e)}function eQ(e){return JSON.stringify(e,(e,t)=>eZ(t)?Object.keys(t).sort().reduce((e,r)=>(e[r]=t[r],e),{}):t)}function eH(e,t){return e===t||typeof e==typeof t&&!!e&&!!t&&"object"==typeof e&&"object"==typeof t&&Object.keys(t).every(r=>eH(e[r],t[r]))}var eG=Object.prototype.hasOwnProperty;function eJ(e,t){if(!t||Object.keys(e).length!==Object.keys(t).length)return!1;for(let r in e)if(e[r]!==t[r])return!1;return!0}function eX(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function eZ(e){if(!e0(e))return!1;let t=e.constructor;if(void 0===t)return!0;let r=t.prototype;return!!e0(r)&&!!r.hasOwnProperty("isPrototypeOf")&&Object.getPrototypeOf(e)===Object.prototype}function e0(e){return"[object Object]"===Object.prototype.toString.call(e)}function e1(e,t,r){return"function"==typeof r.structuralSharing?r.structuralSharing(e,t):!1!==r.structuralSharing?function e(t,r){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(t===r)return t;if(n>500)return r;let i=eX(t)&&eX(r);if(!i&&!(eZ(t)&&eZ(r)))return r;let a=(i?t:Object.keys(t)).length,o=i?r:Object.keys(r),s=o.length,l=i?Array(s):{},u=0;for(let c=0;c<s;c++){let s=i?c:o[c],f=t[s],h=r[s];if(f===h){l[s]=f,(i?c<a:eG.call(t,s))&&u++;continue}if(null===f||null===h||"object"!=typeof f||"object"!=typeof h){l[s]=h;continue}let d=e(f,h,n+1);l[s]=d,d===f&&u++}return a===s&&u===a?t:l}(e,t):t}function e6(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,n=[...e,t];return r&&n.length>r?n.slice(1):n}function e5(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,n=[t,...e];return r&&n.length>r?n.slice(0,-1):n}var e2=Symbol();function e8(e,t){return!e.queryFn&&(null==t?void 0:t.initialPromise)?()=>t.initialPromise:e.queryFn&&e.queryFn!==e2?e.queryFn:()=>Promise.reject(Error("Missing queryFn: '".concat(e.queryHash,"'")))}var e3=(i=[],a=0,o=e=>{e()},s=e=>{e()},l=function(e){setTimeout(e,0)},{batch:e=>{let t;a++;try{t=e()}finally{let e;--a||(e=i,i=[],e.length&&l(()=>{s(()=>{e.forEach(e=>{o(e)})})}))}return t},batchCalls:e=>function(){for(var t=arguments.length,r=Array(t),n=0;n<t;n++)r[n]=arguments[n];u(()=>{e(...r)})},schedule:u=e=>{a?i.push(e):l(()=>{o(e)})},setNotifyFunction:e=>{o=e},setBatchNotifyFunction:e=>{s=e},setScheduler:e=>{l=e}}),e4=class{subscribe(e){return this.listeners.add(e),this.onSubscribe(),()=>{this.listeners.delete(e),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}};function e7(e,t,r){if(!t.has(e))throw TypeError("attempted to "+r+" private field on non-instance");return t.get(e)}function e9(e,t){var r=e7(e,t,"get");return r.get?r.get.call(e):r.value}function te(e,t,r){if(t.has(e))throw TypeError("Cannot initialize the same private elements twice on an object");t.set(e,r)}function tt(e,t,r){var n=e7(e,t,"set");if(n.set)n.set.call(e,r);else{if(!n.writable)throw TypeError("attempted to set read only private field");n.value=r}return r}var tr=new(k=new WeakMap,P=new WeakMap,_=new WeakMap,class extends e4{onSubscribe(){e9(this,P)||this.setEventListener(e9(this,_))}onUnsubscribe(){var e;this.hasListeners()||(null==(e=e9(this,P))||e.call(this),tt(this,P,void 0))}setEventListener(e){var t;tt(this,_,e),null==(t=e9(this,P))||t.call(this),tt(this,P,e(e=>{"boolean"==typeof e?this.setFocused(e):this.onFocus()}))}setFocused(e){e9(this,k)!==e&&(tt(this,k,e),this.onFocus())}onFocus(){let e=this.isFocused();this.listeners.forEach(t=>{t(e)})}isFocused(){var e;return"boolean"==typeof e9(this,k)?e9(this,k):(null==(e=globalThis.document)?void 0:e.visibilityState)!=="hidden"}constructor(){super(),te(this,k,{writable:!0,value:void 0}),te(this,P,{writable:!0,value:void 0}),te(this,_,{writable:!0,value:void 0}),tt(this,_,e=>{if("u">typeof window&&window.addEventListener){let t=()=>e();return window.addEventListener("visibilitychange",t,!1),()=>{window.removeEventListener("visibilitychange",t)}}})}});function tn(e,t,r){if(!t.has(e))throw TypeError("attempted to "+r+" private field on non-instance");return t.get(e)}function ti(e,t){var r=tn(e,t,"get");return r.get?r.get.call(e):r.value}function ta(e,t,r){if(t.has(e))throw TypeError("Cannot initialize the same private elements twice on an object");t.set(e,r)}function to(e,t,r){var n=tn(e,t,"set");if(n.set)n.set.call(e,r);else{if(!n.writable)throw TypeError("attempted to set read only private field");n.value=r}return r}var ts=new(x=new WeakMap,O=new WeakMap,C=new WeakMap,class extends e4{onSubscribe(){ti(this,O)||this.setEventListener(ti(this,C))}onUnsubscribe(){var e;this.hasListeners()||(null==(e=ti(this,O))||e.call(this),to(this,O,void 0))}setEventListener(e){var t;to(this,C,e),null==(t=ti(this,O))||t.call(this),to(this,O,e(this.setOnline.bind(this)))}setOnline(e){ti(this,x)!==e&&(to(this,x,e),this.listeners.forEach(t=>{t(e)}))}isOnline(){return ti(this,x)}constructor(){super(),ta(this,x,{writable:!0,value:!0}),ta(this,O,{writable:!0,value:void 0}),ta(this,C,{writable:!0,value:void 0}),to(this,C,e=>{if("u">typeof window&&window.addEventListener){let t=()=>e(!0),r=()=>e(!1);return window.addEventListener("online",t,!1),window.addEventListener("offline",r,!1),()=>{window.removeEventListener("online",t),window.removeEventListener("offline",r)}}})}});function tl(){let e,t,r=new Promise((r,n)=>{e=r,t=n});function n(e){Object.assign(r,e),delete r.resolve,delete r.reject}return r.status="pending",r.catch(()=>{}),r.resolve=t=>{n({status:"fulfilled",value:t}),e(t)},r.reject=e=>{n({status:"rejected",reason:e}),t(e)},r}var tu=(c=()=>eN,{isServer:()=>c(),setIsServer(e){c=e}});function tc(e){return Math.min(1e3*2**e,3e4)}function tf(e){return(null!=e?e:"online")!=="online"||ts.isOnline()}var th=class extends Error{constructor(e){super("CancelledError"),this.revert=null==e?void 0:e.revert,this.silent=null==e?void 0:e.silent}};function td(e){let t,r=!1,n=0,i=tl(),a=()=>tr.isFocused()&&("always"===e.networkMode||ts.isOnline())&&e.canRun(),o=()=>tf(e.networkMode)&&e.canRun(),s=e=>{"pending"===i.status&&(null==t||t(),i.resolve(e))},l=e=>{"pending"===i.status&&(null==t||t(),i.reject(e))},u=()=>new Promise(r=>{var n;t=e=>{("pending"!==i.status||a())&&r(e)},null==(n=e.onPause)||n.call(e)}).then(()=>{if(t=void 0,"pending"===i.status){var r;null==(r=e.onContinue)||r.call(e)}}),c=()=>{let t;if("pending"!==i.status)return;let o=0===n?e.initialPromise:void 0;try{t=null!=o?o:e.fn()}catch(e){t=Promise.reject(e)}Promise.resolve(t).then(s).catch(t=>{var o,s,f;if("pending"!==i.status)return;let h=null!=(o=e.retry)?o:3*!tu.isServer(),d=null!=(s=e.retryDelay)?s:tc,p="function"==typeof d?d(n,t):d,g=!0===h||"number"==typeof h&&n<h||"function"==typeof h&&h(n,t);r||!g?l(t):(n++,null==(f=e.onFail)||f.call(e,n,t),new Promise(e=>{eL.setTimeout(e,p)}).then(()=>a()?void 0:u()).then(()=>{r?l(t):c()}))})};return{promise:i,status:()=>i.status,cancel:t=>{if("pending"===i.status){var r;let n=new th(t);l(n),null==(r=e.onCancel)||r.call(e,n)}},continue:()=>(null==t||t(),i),cancelRetry:()=>{r=!0},continueRetry:()=>{r=!1},canStart:o,start:()=>(o()?c():u().then(c),i)}}function tp(e,t,r){if(!t.has(e))throw TypeError("attempted to "+r+" private field on non-instance");return t.get(e)}function tv(e,t){var r=tp(e,t,"get");return r.get?r.get.call(e):r.value}function tg(e,t,r){var n=tp(e,t,"set");if(n.set)n.set.call(e,r);else{if(!n.writable)throw TypeError("attempted to set read only private field");n.value=r}return r}var ty=(R=new WeakMap,class{destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),eq(this.gcTime)&&tg(this,R,eL.setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,null!=e?e:tu.isServer()?1/0:3e5)}clearGcTimeout(){void 0!==tv(this,R)&&(eL.clearTimeout(tv(this,R)),tg(this,R,void 0))}constructor(){!function(e,t,r){if(t.has(e))throw TypeError("Cannot initialize the same private elements twice on an object");t.set(e,r)}(this,R,{writable:!0,value:void 0})}});function tm(e,t){let{pages:r,pageParams:n}=t,i=r.length-1;return r.length>0?e.getNextPageParam(r[i],r,n[i],n):void 0}function tb(e,t){var r;let{pages:n,pageParams:i}=t;return n.length>0?null==(r=e.getPreviousPageParam)?void 0:r.call(e,n[0],n,i[0],i):void 0}function tw(e,t){if(t.has(e))throw TypeError("Cannot initialize the same private elements twice on an object")}function tS(e,t,r){if(!t.has(e))throw TypeError("attempted to "+r+" private field on non-instance");return t.get(e)}function tE(e,t){var r=tS(e,t,"get");return r.get?r.get.call(e):r.value}function tk(e,t,r){tw(e,t),t.set(e,r)}function tP(e,t,r){var n=tS(e,t,"set");if(n.set)n.set.call(e,r);else{if(!n.writable)throw TypeError("attempted to set read only private field");n.value=r}return r}function t_(e,t,r){if(!t.has(e))throw TypeError("attempted to get private field on non-instance");return r}function tx(e,t){tw(e,t),t.add(e)}var tO=(A=new WeakMap,I=new WeakMap,T=new WeakMap,M=new WeakMap,D=new WeakMap,z=new WeakMap,j=new WeakMap,U=new WeakMap,L=new WeakSet,N=new WeakSet,class extends ty{get meta(){return this.options.meta}get queryType(){return tE(this,A)}get promise(){var e;return null==(e=tE(this,z))?void 0:e.promise}setOptions(e){if(this.options={...tE(this,j),...e},(null==e?void 0:e._type)&&tP(this,A,e._type),this.updateGcTime(this.options.gcTime),this.state&&void 0===this.state.data){let e=tA(this.options);void 0!==e.data&&(this.setState(tR(e.data,e.dataUpdatedAt)),tP(this,I,e))}}optionalRemove(){this.observers.length||"idle"!==this.state.fetchStatus||tE(this,M).remove(this)}setData(e,t){let r=e1(this.state.data,e,this.options);return t_(this,N,tT).call(this,{data:r,type:"success",dataUpdatedAt:null==t?void 0:t.updatedAt,manual:null==t?void 0:t.manual}),r}setState(e){t_(this,N,tT).call(this,{type:"setState",state:e})}cancel(e){var t,r;let n=null==(t=tE(this,z))?void 0:t.promise;return null==(r=tE(this,z))||r.cancel(e),n?n.then(eF).catch(eF):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}get resetState(){return tE(this,I)}reset(){this.destroy(),this.setState(this.resetState)}isActive(){return this.observers.some(e=>!1!==eB(e.options.enabled,this))}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===e2||!this.isFetched()}isFetched(){return this.state.dataUpdateCount+this.state.errorUpdateCount>0}isStatic(){return this.getObserversCount()>0&&this.observers.some(e=>"static"===e$(e.options.staleTime,this))}isStale(){return this.getObserversCount()>0?this.observers.some(e=>e.getCurrentResult().isStale):void 0===this.state.data||this.state.isInvalidated}isStaleByTime(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return void 0===this.state.data||"static"!==e&&(!!this.state.isInvalidated||!eW(this.state.dataUpdatedAt,e))}onFocus(){var e;let t=this.observers.find(e=>e.shouldFetchOnWindowFocus());null==t||t.refetch({cancelRefetch:!1}),null==(e=tE(this,z))||e.continue()}onOnline(){var e;let t=this.observers.find(e=>e.shouldFetchOnReconnect());null==t||t.refetch({cancelRefetch:!1}),null==(e=tE(this,z))||e.continue()}addObserver(e){this.observers.includes(e)||(this.observers.push(e),this.clearGcTimeout(),tE(this,M).notify({type:"observerAdded",query:this,observer:e}))}removeObserver(e){this.observers.includes(e)&&(this.observers=this.observers.filter(t=>t!==e),this.observers.length||(tE(this,z)&&(tE(this,U)||t_(this,L,tI).call(this)?tE(this,z).cancel({revert:!0}):tE(this,z).cancelRetry()),this.scheduleGc()),tE(this,M).notify({type:"observerRemoved",query:this,observer:e}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||t_(this,N,tT).call(this,{type:"invalidate"})}async fetch(e,t){var r,n,i,a,o,s,l,u,c,f,h,d;let p;if("idle"!==this.state.fetchStatus&&(null==(r=tE(this,z))?void 0:r.status())!=="rejected"){if(void 0!==this.state.data&&(null==t?void 0:t.cancelRefetch))this.cancel({silent:!0});else if(tE(this,z))return tE(this,z).continueRetry(),tE(this,z).promise}if(e&&this.setOptions(e),!this.options.queryFn){let e=this.observers.find(e=>e.options.queryFn);e&&this.setOptions(e.options)}let g=new AbortController,y=e=>{Object.defineProperty(e,"signal",{enumerable:!0,get:()=>(tP(this,U,!0),g.signal)})},m=()=>{let e,r=e8(this.options,t),n=(y(e={client:tE(this,D),queryKey:this.queryKey,meta:this.meta}),e);return(tP(this,U,!1),this.options.persister)?this.options.persister(r,n,this):r(n)},b=(y(p={fetchOptions:t,options:this.options,queryKey:this.queryKey,client:tE(this,D),state:this.state,fetchFn:m}),p),w="infinite"===tE(this,A)?(d=this.options.pages,{onFetch:(e,t)=>{var r,n,i,a,o;let s=e.options,l=null==(i=e.fetchOptions)||null==(n=i.meta)||null==(r=n.fetchMore)?void 0:r.direction,u=(null==(a=e.state.data)?void 0:a.pages)||[],c=(null==(o=e.state.data)?void 0:o.pageParams)||[],f={pages:[],pageParams:[]},h=0,p=async()=>{let t=!1,r=e8(e.options,e.fetchOptions),n=async(n,i,a)=>{if(t)return Promise.reject(e.signal.reason);if(null==i&&n.pages.length)return Promise.resolve(n);let o=(()=>{var r,n;let o,s,l={client:e.client,queryKey:e.queryKey,pageParam:i,direction:a?"backward":"forward",meta:e.options.meta};return r=()=>e.signal,n=()=>t=!0,s=!1,Object.defineProperty(l,"signal",{enumerable:!0,get:()=>(null!=o||(o=r()),s||(s=!0,o.aborted?n():o.addEventListener("abort",n,{once:!0})),o)}),l})(),s=await r(o),{maxPages:l}=e.options,u=a?e5:e6;return{pages:u(n.pages,s,l),pageParams:u(n.pageParams,i,l)}};if(l&&u.length){let e="backward"===l,t={pages:u,pageParams:c},r=(e?tb:tm)(s,t);f=await n(t,r,e)}else{let e=null!=d?d:u.length;do{var i;let e=0===h?null!=(i=c[0])?i:s.initialPageParam:tm(s,f);if(h>0&&null==e)break;f=await n(f,e),h++}while(h<e)}return f};e.options.persister?e.fetchFn=()=>{var r,n;return null==(r=(n=e.options).persister)?void 0:r.call(n,p,{client:e.client,queryKey:e.queryKey,meta:e.options.meta,signal:e.signal},t)}:e.fetchFn=p}}):this.options.behavior;null==w||w.onFetch(b,this),tP(this,T,this.state),("idle"===this.state.fetchStatus||this.state.fetchMeta!==(null==(n=b.fetchOptions)?void 0:n.meta))&&t_(this,N,tT).call(this,{type:"fetch",meta:null==(i=b.fetchOptions)?void 0:i.meta}),tP(this,z,td({initialPromise:null==t?void 0:t.initialPromise,fn:b.fetchFn,onCancel:e=>{e instanceof th&&e.revert&&this.setState({...tE(this,T),fetchStatus:"idle"}),g.abort()},onFail:(e,t)=>{t_(this,N,tT).call(this,{type:"failed",failureCount:e,error:t})},onPause:()=>{t_(this,N,tT).call(this,{type:"pause"})},onContinue:()=>{t_(this,N,tT).call(this,{type:"continue"})},retry:b.options.retry,retryDelay:b.options.retryDelay,networkMode:b.options.networkMode,canRun:()=>!0}));try{let e=await tE(this,z).start();if(void 0===e)throw Error("".concat(this.queryHash," data is undefined"));return this.setData(e),null==(a=(o=tE(this,M).config).onSuccess)||a.call(o,e,this),null==(s=(l=tE(this,M).config).onSettled)||s.call(l,e,this.state.error,this),e}catch(e){if(e instanceof th){if(e.silent)return tE(this,z).promise;else if(e.revert){if(void 0===this.state.data)throw e;return this.state.data}}throw t_(this,N,tT).call(this,{type:"error",error:e}),null==(u=(c=tE(this,M).config).onError)||u.call(c,e,this),null==(f=(h=tE(this,M).config).onSettled)||f.call(h,this.state.data,e,this),e}finally{this.scheduleGc()}}constructor(e){var t;super(),tx(this,L),tx(this,N),tk(this,A,{writable:!0,value:void 0}),tk(this,I,{writable:!0,value:void 0}),tk(this,T,{writable:!0,value:void 0}),tk(this,M,{writable:!0,value:void 0}),tk(this,D,{writable:!0,value:void 0}),tk(this,z,{writable:!0,value:void 0}),tk(this,j,{writable:!0,value:void 0}),tk(this,U,{writable:!0,value:void 0}),tP(this,U,!1),tP(this,j,e.defaultOptions),this.setOptions(e.options),this.observers=[],tP(this,D,e.client),tP(this,M,tE(this,D).getQueryCache()),this.queryKey=e.queryKey,this.queryHash=e.queryHash,tP(this,I,tA(this.options)),this.state=null!=(t=e.state)?t:tE(this,I),this.scheduleGc()}});function tC(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:tf(t.networkMode)?"fetching":"paused",...void 0===e&&{error:null,status:"pending"}}}function tR(e,t){return{data:e,dataUpdatedAt:null!=t?t:Date.now(),error:null,isInvalidated:!1,status:"success"}}function tA(e){let t="function"==typeof e.initialData?e.initialData():e.initialData,r=void 0!==t,n=r?"function"==typeof e.initialDataUpdatedAt?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:r?null!=n?n:Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:r?"success":"pending",fetchStatus:"idle"}}function tI(){return"paused"===this.state.fetchStatus&&"pending"===this.state.status}function tT(e){let t=t=>{switch(e.type){case"failed":return{...t,fetchFailureCount:e.failureCount,fetchFailureReason:e.error};case"pause":return{...t,fetchStatus:"paused"};case"continue":return{...t,fetchStatus:"fetching"};case"fetch":var r;return{...t,...tC(t.data,this.options),fetchMeta:null!=(r=e.meta)?r:null};case"success":let n={...t,...tR(e.data,e.dataUpdatedAt),dataUpdateCount:t.dataUpdateCount+1,...!e.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};return tP(this,T,e.manual?n:void 0),n;case"error":let i=e.error;return{...t,error:i,errorUpdateCount:t.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:t.fetchFailureCount+1,fetchFailureReason:i,fetchStatus:"idle",status:"error",isInvalidated:!0};case"invalidate":return{...t,isInvalidated:!0};case"setState":return{...t,...e.state}}};this.state=t(this.state),e3.batch(()=>{this.observers.forEach(e=>{e.onQueryUpdate()}),tE(this,M).notify({query:this,type:"updated",action:e})})}function tM(e,t,r){if(!t.has(e))throw TypeError("attempted to "+r+" private field on non-instance");return t.get(e)}function tD(e,t){var r=tM(e,t,"get");return r.get?r.get.call(e):r.value}var tz=(F=new WeakMap,class extends e4{build(e,t,r){var n;let i=t.queryKey,a=null!=(n=t.queryHash)?n:eV(i,t),o=this.get(a);return o||(o=new tO({client:e,queryKey:i,queryHash:a,options:e.defaultQueryOptions(t),state:r,defaultOptions:e.getQueryDefaults(i)}),this.add(o)),o}add(e){tD(this,F).has(e.queryHash)||(tD(this,F).set(e.queryHash,e),this.notify({type:"added",query:e}))}remove(e){let t=tD(this,F).get(e.queryHash);t&&(e.destroy(),t===e&&tD(this,F).delete(e.queryHash),this.notify({type:"removed",query:e}))}clear(){e3.batch(()=>{this.getAll().forEach(e=>{this.remove(e)})})}get(e){return tD(this,F).get(e)}getAll(){return[...tD(this,F).values()]}find(e){let t={exact:!0,...e};return this.getAll().find(e=>eK(t,e))}findAll(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=this.getAll();return Object.keys(e).length>0?t.filter(t=>eK(e,t)):t}notify(e){e3.batch(()=>{this.listeners.forEach(t=>{t(e)})})}onFocus(){e3.batch(()=>{this.getAll().forEach(e=>{e.onFocus()})})}onOnline(){e3.batch(()=>{this.getAll().forEach(e=>{e.onOnline()})})}constructor(e={}){super(),function(e,t,r){if(t.has(e))throw TypeError("Cannot initialize the same private elements twice on an object");t.set(e,r)}(this,F,{writable:!0,value:void 0}),this.config=e,function(e,t,r){var n=tM(e,t,"set");if(n.set)n.set.call(e,r);else{if(!n.writable)throw TypeError("attempted to set read only private field");n.value=r}}(this,F,new Map)}});function tj(e,t){if(t.has(e))throw TypeError("Cannot initialize the same private elements twice on an object")}function tU(e,t,r){if(!t.has(e))throw TypeError("attempted to "+r+" private field on non-instance");return t.get(e)}function tL(e,t){var r=tU(e,t,"get");return r.get?r.get.call(e):r.value}function tN(e,t,r){tj(e,t),t.set(e,r)}function tF(e,t,r){var n=tU(e,t,"set");if(n.set)n.set.call(e,r);else{if(!n.writable)throw TypeError("attempted to set read only private field");n.value=r}return r}function tq(e,t,r){if(!t.has(e))throw TypeError("attempted to get private field on non-instance");return r}var tW=(q=new WeakMap,W=new WeakMap,$=new WeakMap,B=new WeakMap,K=new WeakSet,class extends ty{setOptions(e){this.options=e,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(e){tL(this,W).includes(e)||(tL(this,W).push(e),this.clearGcTimeout(),tL(this,$).notify({type:"observerAdded",mutation:this,observer:e}))}removeObserver(e){tF(this,W,tL(this,W).filter(t=>t!==e)),this.scheduleGc(),tL(this,$).notify({type:"observerRemoved",mutation:this,observer:e})}optionalRemove(){tL(this,W).length||("pending"===this.state.status?this.scheduleGc():tL(this,$).remove(this))}continue(){var e,t;return null!=(e=null==(t=tL(this,B))?void 0:t.continue())?e:this.execute(this.state.variables)}async execute(e){var t,r,n,i,a,o,s,l,u,c,f,h,d,p,g,y,m,b,w;let S=()=>{tq(this,K,t$).call(this,{type:"continue"})},E={client:tL(this,q),meta:this.options.meta,mutationKey:this.options.mutationKey};tF(this,B,td({fn:()=>this.options.mutationFn?this.options.mutationFn(e,E):Promise.reject(Error("No mutationFn found")),onFail:(e,t)=>{tq(this,K,t$).call(this,{type:"failed",failureCount:e,error:t})},onPause:()=>{tq(this,K,t$).call(this,{type:"pause"})},onContinue:S,retry:null!=(t=this.options.retry)?t:0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>tL(this,$).canRun(this)}));let k="pending"===this.state.status,P=!tL(this,B).canStart();try{if(k)S();else{tq(this,K,t$).call(this,{type:"pending",variables:e,isPaused:P}),tL(this,$).config.onMutate&&await tL(this,$).config.onMutate(e,this,E);let t=await (null==(c=(f=this.options).onMutate)?void 0:c.call(f,e,E));t!==this.state.context&&tq(this,K,t$).call(this,{type:"pending",context:t,variables:e,isPaused:P})}let t=await tL(this,B).start();return await (null==(r=(n=tL(this,$).config).onSuccess)?void 0:r.call(n,t,e,this.state.context,this,E)),await (null==(i=(a=this.options).onSuccess)?void 0:i.call(a,t,e,this.state.context,E)),await (null==(o=(s=tL(this,$).config).onSettled)?void 0:o.call(s,t,null,this.state.variables,this.state.context,this,E)),await (null==(l=(u=this.options).onSettled)?void 0:l.call(u,t,null,e,this.state.context,E)),tq(this,K,t$).call(this,{type:"success",data:t}),t}catch(t){try{await (null==(h=(d=tL(this,$).config).onError)?void 0:h.call(d,t,e,this.state.context,this,E))}catch(e){Promise.reject(e)}try{await (null==(p=(g=this.options).onError)?void 0:p.call(g,t,e,this.state.context,E))}catch(e){Promise.reject(e)}try{await (null==(y=(m=tL(this,$).config).onSettled)?void 0:y.call(m,void 0,t,this.state.variables,this.state.context,this,E))}catch(e){Promise.reject(e)}try{await (null==(b=(w=this.options).onSettled)?void 0:b.call(w,void 0,t,e,this.state.context,E))}catch(e){Promise.reject(e)}throw tq(this,K,t$).call(this,{type:"error",error:t}),t}finally{tL(this,$).runNext(this)}}constructor(e){super(),function(e,t){tj(e,t),t.add(e)}(this,K),tN(this,q,{writable:!0,value:void 0}),tN(this,W,{writable:!0,value:void 0}),tN(this,$,{writable:!0,value:void 0}),tN(this,B,{writable:!0,value:void 0}),tF(this,q,e.client),this.mutationId=e.mutationId,tF(this,$,e.mutationCache),tF(this,W,[]),this.state=e.state||{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0},this.setOptions(e.options),this.scheduleGc()}});function t$(e){this.state=(t=>{switch(e.type){case"failed":return{...t,failureCount:e.failureCount,failureReason:e.error};case"pause":return{...t,isPaused:!0};case"continue":return{...t,isPaused:!1};case"pending":return{...t,context:e.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:e.isPaused,status:"pending",variables:e.variables,submittedAt:Date.now()};case"success":return{...t,data:e.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...t,data:void 0,error:e.error,failureCount:t.failureCount+1,failureReason:e.error,isPaused:!1,status:"error"}}})(this.state),e3.batch(()=>{tL(this,W).forEach(t=>{t.onMutationUpdate(e)}),tL(this,$).notify({mutation:this,type:"updated",action:e})})}function tB(e,t,r){if(!t.has(e))throw TypeError("attempted to "+r+" private field on non-instance");return t.get(e)}function tK(e,t){var r=tB(e,t,"get");return r.get?r.get.call(e):r.value}function tY(e,t,r){if(t.has(e))throw TypeError("Cannot initialize the same private elements twice on an object");t.set(e,r)}function tV(e,t,r){var n=tB(e,t,"set");if(n.set)n.set.call(e,r);else{if(!n.writable)throw TypeError("attempted to set read only private field");n.value=r}return r}var tQ=(Y=new WeakMap,V=new WeakMap,Q=new WeakMap,class extends e4{build(e,t,r){let n=new tW({client:e,mutationCache:this,mutationId:++function(e,t){var r=tB(e,t,"update");if(r.set){if(!r.get)throw TypeError("attempted to read set only private field");return"__destrWrapper"in r||(r.__destrWrapper={set value(v){r.set.call(e,v)},get value(){return r.get.call(e)}}),r.__destrWrapper}if(!r.writable)throw TypeError("attempted to set read only private field");return r}(this,Q).value,options:e.defaultMutationOptions(t),state:r});return this.add(n),n}add(e){tK(this,Y).add(e);let t=tH(e);if("string"==typeof t){let r=tK(this,V).get(t);r?r.push(e):tK(this,V).set(t,[e])}this.notify({type:"added",mutation:e})}remove(e){if(tK(this,Y).delete(e)){let t=tH(e);if("string"==typeof t){let r=tK(this,V).get(t);if(r)if(r.length>1){let t=r.indexOf(e);-1!==t&&r.splice(t,1)}else r[0]===e&&tK(this,V).delete(t)}}this.notify({type:"removed",mutation:e})}canRun(e){let t=tH(e);if("string"!=typeof t)return!0;{let r=tK(this,V).get(t),n=null==r?void 0:r.find(e=>"pending"===e.state.status);return!n||n===e}}runNext(e){let t=tH(e);if("string"!=typeof t)return Promise.resolve();{var r,n;let i=null==(n=tK(this,V).get(t))?void 0:n.find(t=>t!==e&&t.state.isPaused);return null!=(r=null==i?void 0:i.continue())?r:Promise.resolve()}}clear(){e3.batch(()=>{tK(this,Y).forEach(e=>{this.notify({type:"removed",mutation:e})}),tK(this,Y).clear(),tK(this,V).clear()})}getAll(){return Array.from(tK(this,Y))}find(e){let t={exact:!0,...e};return this.getAll().find(e=>eY(t,e))}findAll(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this.getAll().filter(t=>eY(e,t))}notify(e){e3.batch(()=>{this.listeners.forEach(t=>{t(e)})})}resumePausedMutations(){let e=this.getAll().filter(e=>e.state.isPaused);return e3.batch(()=>Promise.all(e.map(e=>e.continue().catch(eF))))}constructor(e={}){super(),tY(this,Y,{writable:!0,value:void 0}),tY(this,V,{writable:!0,value:void 0}),tY(this,Q,{writable:!0,value:void 0}),this.config=e,tV(this,Y,new Set),tV(this,V,new Map),tV(this,Q,0)}});function tH(e){var t;return null==(t=e.options.scope)?void 0:t.id}function tG(e,t,r){if(!t.has(e))throw TypeError("attempted to "+r+" private field on non-instance");return t.get(e)}function tJ(e,t){var r=tG(e,t,"get");return r.get?r.get.call(e):r.value}function tX(e,t,r){if(t.has(e))throw TypeError("Cannot initialize the same private elements twice on an object");t.set(e,r)}function tZ(e,t,r){var n=tG(e,t,"set");if(n.set)n.set.call(e,r);else{if(!n.writable)throw TypeError("attempted to set read only private field");n.value=r}return r}function t0(e,t){var r=tG(e,t,"update");if(r.set){if(!r.get)throw TypeError("attempted to read set only private field");return"__destrWrapper"in r||(r.__destrWrapper={set value(v){r.set.call(e,v)},get value(){return r.get.call(e)}}),r.__destrWrapper}if(!r.writable)throw TypeError("attempted to set read only private field");return r}var t1=(H=new WeakMap,G=new WeakMap,J=new WeakMap,X=new WeakMap,Z=new WeakMap,ee=new WeakMap,et=new WeakMap,er=new WeakMap,class{mount(){t0(this,ee).value++,1===tJ(this,ee)&&(tZ(this,et,tr.subscribe(async e=>{e&&(await this.resumePausedMutations(),tJ(this,H).onFocus())})),tZ(this,er,ts.subscribe(async e=>{e&&(await this.resumePausedMutations(),tJ(this,H).onOnline())})))}unmount(){var e,t;t0(this,ee).value--,0===tJ(this,ee)&&(null==(e=tJ(this,et))||e.call(this),tZ(this,et,void 0),null==(t=tJ(this,er))||t.call(this),tZ(this,er,void 0))}isFetching(e){return tJ(this,H).findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return tJ(this,G).findAll({...e,status:"pending"}).length}getQueryData(e){var t;let r=this.defaultQueryOptions({queryKey:e});return null==(t=tJ(this,H).get(r.queryHash))?void 0:t.state.data}ensureQueryData(e){let t=this.defaultQueryOptions(e),r=tJ(this,H).build(this,t),n=r.state.data;return void 0===n?this.fetchQuery(e):(e.revalidateIfStale&&r.isStaleByTime(e$(t.staleTime,r))&&this.prefetchQuery(t),Promise.resolve(n))}getQueriesData(e){return tJ(this,H).findAll(e).map(e=>{let{queryKey:t,state:r}=e;return[t,r.data]})}setQueryData(e,t,r){let n=this.defaultQueryOptions({queryKey:e}),i=tJ(this,H).get(n.queryHash),a=null==i?void 0:i.state.data,o="function"==typeof t?t(a):t;if(void 0!==o)return tJ(this,H).build(this,n).setData(o,{...r,manual:!0})}setQueriesData(e,t,r){return e3.batch(()=>tJ(this,H).findAll(e).map(e=>{let{queryKey:n}=e;return[n,this.setQueryData(n,t,r)]}))}getQueryState(e){var t;let r=this.defaultQueryOptions({queryKey:e});return null==(t=tJ(this,H).get(r.queryHash))?void 0:t.state}removeQueries(e){let t=tJ(this,H);e3.batch(()=>{t.findAll(e).forEach(e=>{t.remove(e)})})}resetQueries(e,t){let r=tJ(this,H);return e3.batch(()=>(r.findAll(e).forEach(e=>{e.reset()}),this.refetchQueries({type:"active",...e},t)))}cancelQueries(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r={revert:!0,...t};return Promise.all(e3.batch(()=>tJ(this,H).findAll(e).map(e=>e.cancel(r)))).then(eF).catch(eF)}invalidateQueries(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return e3.batch(()=>{var r,n;return(tJ(this,H).findAll(e).forEach(e=>{e.invalidate()}),(null==e?void 0:e.refetchType)==="none")?Promise.resolve():this.refetchQueries({...e,type:null!=(r=null!=(n=null==e?void 0:e.refetchType)?n:null==e?void 0:e.type)?r:"active"},t)})}refetchQueries(e){var t;let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n={...r,cancelRefetch:null==(t=r.cancelRefetch)||t};return Promise.all(e3.batch(()=>tJ(this,H).findAll(e).filter(e=>!e.isDisabled()&&!e.isStatic()).map(e=>{let t=e.fetch(void 0,n);return n.throwOnError||(t=t.catch(eF)),"paused"===e.state.fetchStatus?Promise.resolve():t}))).then(eF)}fetchQuery(e){let t=this.defaultQueryOptions(e);void 0===t.retry&&(t.retry=!1);let r=tJ(this,H).build(this,t);return r.isStaleByTime(e$(t.staleTime,r))?r.fetch(t):Promise.resolve(r.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(eF).catch(eF)}fetchInfiniteQuery(e){return e._type="infinite",this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(eF).catch(eF)}ensureInfiniteQueryData(e){return e._type="infinite",this.ensureQueryData(e)}resumePausedMutations(){return ts.isOnline()?tJ(this,G).resumePausedMutations():Promise.resolve()}getQueryCache(){return tJ(this,H)}getMutationCache(){return tJ(this,G)}getDefaultOptions(){return tJ(this,J)}setDefaultOptions(e){tZ(this,J,e)}setQueryDefaults(e,t){tJ(this,X).set(eQ(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){let t=[...tJ(this,X).values()],r={};return t.forEach(t=>{eH(e,t.queryKey)&&Object.assign(r,t.defaultOptions)}),r}setMutationDefaults(e,t){tJ(this,Z).set(eQ(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){let t=[...tJ(this,Z).values()],r={};return t.forEach(t=>{eH(e,t.mutationKey)&&Object.assign(r,t.defaultOptions)}),r}defaultQueryOptions(e){if(e._defaulted)return e;let t={...tJ(this,J).queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=eV(t.queryKey,t)),void 0===t.refetchOnReconnect&&(t.refetchOnReconnect="always"!==t.networkMode),void 0===t.throwOnError&&(t.throwOnError=!!t.suspense),!t.networkMode&&t.persister&&(t.networkMode="offlineFirst"),t.queryFn===e2&&(t.enabled=!1),t}defaultMutationOptions(e){return(null==e?void 0:e._defaulted)?e:{...tJ(this,J).mutations,...(null==e?void 0:e.mutationKey)&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){tJ(this,H).clear(),tJ(this,G).clear()}constructor(e={}){tX(this,H,{writable:!0,value:void 0}),tX(this,G,{writable:!0,value:void 0}),tX(this,J,{writable:!0,value:void 0}),tX(this,X,{writable:!0,value:void 0}),tX(this,Z,{writable:!0,value:void 0}),tX(this,ee,{writable:!0,value:void 0}),tX(this,et,{writable:!0,value:void 0}),tX(this,er,{writable:!0,value:void 0}),tZ(this,H,e.queryCache||new tz),tZ(this,G,e.mutationCache||new tQ),tZ(this,J,e.defaultOptions||{}),tZ(this,X,new Map),tZ(this,Z,new Map),tZ(this,ee,0)}});function t6(e,t){if(t.has(e))throw TypeError("Cannot initialize the same private elements twice on an object")}function t5(e,t,r){if(!t.has(e))throw TypeError("attempted to "+r+" private field on non-instance");return t.get(e)}function t2(e,t){var r=t5(e,t,"get");return r.get?r.get.call(e):r.value}function t8(e,t,r){t6(e,t),t.set(e,r)}function t3(e,t,r){var n=t5(e,t,"set");if(n.set)n.set.call(e,r);else{if(!n.writable)throw TypeError("attempted to set read only private field");n.value=r}return r}function t4(e,t,r){if(!t.has(e))throw TypeError("attempted to get private field on non-instance");return r}function t7(e,t){t6(e,t),t.add(e)}r(53834);var t9=(en=new WeakMap,ei=new WeakMap,ea=new WeakMap,eo=new WeakMap,es=new WeakMap,el=new WeakMap,eu=new WeakMap,ec=new WeakMap,ef=new WeakMap,eh=new WeakMap,ed=new WeakMap,ep=new WeakMap,ev=new WeakMap,eg=new WeakMap,ey=new WeakMap,em=new WeakSet,eb=new WeakSet,ew=new WeakSet,eS=new WeakSet,eE=new WeakSet,ek=new WeakSet,eP=new WeakSet,e_=new WeakSet,ex=new WeakSet,class extends e4{bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){1===this.listeners.size&&(t2(this,ei).addObserver(this),re(t2(this,ei),this.options)?t4(this,em,ri).call(this):this.updateResult(),t4(this,eE,rl).call(this))}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return rt(t2(this,ei),this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return rt(t2(this,ei),this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,t4(this,ek,ru).call(this),t4(this,eP,rc).call(this),t2(this,ei).removeObserver(this)}setOptions(e){let t=this.options,r=t2(this,ei);if(this.options=t2(this,en).defaultQueryOptions(e),void 0!==this.options.enabled&&"boolean"!=typeof this.options.enabled&&"function"!=typeof this.options.enabled&&"boolean"!=typeof eB(this.options.enabled,t2(this,ei)))throw Error("Expected enabled to be a boolean or a callback that returns a boolean");t4(this,e_,rf).call(this),t2(this,ei).setOptions(this.options),t._defaulted&&!eJ(this.options,t)&&t2(this,en).getQueryCache().notify({type:"observerOptionsUpdated",query:t2(this,ei),observer:this});let n=this.hasListeners();n&&rr(t2(this,ei),r,this.options,t)&&t4(this,em,ri).call(this),this.updateResult(),n&&(t2(this,ei)!==r||eB(this.options.enabled,t2(this,ei))!==eB(t.enabled,t2(this,ei))||e$(this.options.staleTime,t2(this,ei))!==e$(t.staleTime,t2(this,ei)))&&t4(this,eb,ra).call(this);let i=t4(this,ew,ro).call(this);n&&(t2(this,ei)!==r||eB(this.options.enabled,t2(this,ei))!==eB(t.enabled,t2(this,ei))||i!==t2(this,eg))&&t4(this,eS,rs).call(this,i)}getOptimisticResult(e){var t,r;let n=t2(this,en).getQueryCache().build(t2(this,en),e),i=this.createResult(n,e);return t=this,r=i,eJ(t.getCurrentResult(),r)||(t3(this,eo,i),t3(this,el,this.options),t3(this,es,t2(this,ei).state)),i}getCurrentResult(){return t2(this,eo)}trackResult(e,t){return new Proxy(e,{get:(e,r)=>(this.trackProp(r),null==t||t(r),"promise"===r&&(this.trackProp("data"),this.options.experimental_prefetchInRender||"pending"!==t2(this,eu).status||t2(this,eu).reject(Error("experimental_prefetchInRender feature flag is not enabled"))),Reflect.get(e,r))})}trackProp(e){t2(this,ey).add(e)}getCurrentQuery(){return t2(this,ei)}refetch(){let{...e}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this.fetch({...e})}fetchOptimistic(e){let t=t2(this,en).defaultQueryOptions(e),r=t2(this,en).getQueryCache().build(t2(this,en),t);return r.fetch().then(()=>this.createResult(r,t))}fetch(e){var t;return t4(this,em,ri).call(this,{...e,cancelRefetch:null==(t=e.cancelRefetch)||t}).then(()=>(this.updateResult(),t2(this,eo)))}createResult(e,t){let r,n=t2(this,ei),i=this.options,a=t2(this,eo),o=t2(this,es),s=t2(this,el),l=e!==n?e.state:t2(this,ea),{state:u}=e,c={...u},f=!1;if(t._optimisticResults){let r=this.hasListeners(),a=!r&&re(e,t),o=r&&rr(e,n,t,i);(a||o)&&(c={...c,...tC(u.data,e.options)}),"isRestoring"===t._optimisticResults&&(c.fetchStatus="idle")}let{error:h,errorUpdatedAt:d,status:p}=c;r=c.data;let g=!1;if(void 0!==t.placeholderData&&void 0===r&&"pending"===p){let e;if((null==a?void 0:a.isPlaceholderData)&&t.placeholderData===(null==s?void 0:s.placeholderData))e=a.data,g=!0;else{var y;e="function"==typeof t.placeholderData?t.placeholderData(null==(y=t2(this,ed))?void 0:y.state.data,t2(this,ed)):t.placeholderData}void 0!==e&&(p="success",r=e1(null==a?void 0:a.data,e,t),f=!0)}if(t.select&&void 0!==r&&!g)if(a&&r===(null==o?void 0:o.data)&&t.select===t2(this,ef))r=t2(this,eh);else try{t3(this,ef,t.select),r=t.select(r),r=e1(null==a?void 0:a.data,r,t),t3(this,eh,r),t3(this,ec,null)}catch(e){t3(this,ec,e)}t2(this,ec)&&(h=t2(this,ec),r=t2(this,eh),d=Date.now(),p="error");let m="fetching"===c.fetchStatus,b="pending"===p,w="error"===p,S=b&&m,E=void 0!==r,k={status:p,fetchStatus:c.fetchStatus,isPending:b,isSuccess:"success"===p,isError:w,isInitialLoading:S,isLoading:S,data:r,dataUpdatedAt:c.dataUpdatedAt,error:h,errorUpdatedAt:d,failureCount:c.fetchFailureCount,failureReason:c.fetchFailureReason,errorUpdateCount:c.errorUpdateCount,isFetched:e.isFetched(),isFetchedAfterMount:c.dataUpdateCount>l.dataUpdateCount||c.errorUpdateCount>l.errorUpdateCount,isFetching:m,isRefetching:m&&!b,isLoadingError:w&&!E,isPaused:"paused"===c.fetchStatus,isPlaceholderData:f,isRefetchError:w&&E,isStale:rn(e,t),refetch:this.refetch,promise:t2(this,eu),isEnabled:!1!==eB(t.enabled,e)};if(this.options.experimental_prefetchInRender){let t=void 0!==k.data,r="error"===k.status&&!t,i=e=>{r?e.reject(k.error):t&&e.resolve(k.data)},a=()=>{i(t3(this,eu,k.promise=tl()))},o=t2(this,eu);switch(o.status){case"pending":e.queryHash===n.queryHash&&i(o);break;case"fulfilled":(r||k.data!==o.value)&&a();break;case"rejected":r&&k.error===o.reason||a()}}return k}updateResult(){let e=t2(this,eo),t=this.createResult(t2(this,ei),this.options);if(t3(this,es,t2(this,ei).state),t3(this,el,this.options),void 0!==t2(this,es).data&&t3(this,ed,t2(this,ei)),eJ(t,e))return;t3(this,eo,t);let r=()=>{if(!e)return!0;let{notifyOnChangeProps:t}=this.options,r="function"==typeof t?t():t;if("all"===r||!r&&!t2(this,ey).size)return!0;let n=new Set(null!=r?r:t2(this,ey));return this.options.throwOnError&&n.add("error"),Object.keys(t2(this,eo)).some(t=>t2(this,eo)[t]!==e[t]&&n.has(t))};t4(this,ex,rh).call(this,{listeners:r()})}onQueryUpdate(){this.updateResult(),this.hasListeners()&&t4(this,eE,rl).call(this)}constructor(e,t){super(),t7(this,em),t7(this,eb),t7(this,ew),t7(this,eS),t7(this,eE),t7(this,ek),t7(this,eP),t7(this,e_),t7(this,ex),t8(this,en,{writable:!0,value:void 0}),t8(this,ei,{writable:!0,value:void 0}),t8(this,ea,{writable:!0,value:void 0}),t8(this,eo,{writable:!0,value:void 0}),t8(this,es,{writable:!0,value:void 0}),t8(this,el,{writable:!0,value:void 0}),t8(this,eu,{writable:!0,value:void 0}),t8(this,ec,{writable:!0,value:void 0}),t8(this,ef,{writable:!0,value:void 0}),t8(this,eh,{writable:!0,value:void 0}),t8(this,ed,{writable:!0,value:void 0}),t8(this,ep,{writable:!0,value:void 0}),t8(this,ev,{writable:!0,value:void 0}),t8(this,eg,{writable:!0,value:void 0}),t8(this,ey,{writable:!0,value:new Set}),this.options=t,t3(this,en,e),t3(this,ec,null),t3(this,eu,tl()),this.bindMethods(),this.setOptions(t)}});function re(e,t){return!1!==eB(t.enabled,e)&&void 0===e.state.data&&("error"!==e.state.status||!1!==eB(t.retryOnMount,e))||void 0!==e.state.data&&rt(e,t,t.refetchOnMount)}function rt(e,t,r){if(!1!==eB(t.enabled,e)&&"static"!==e$(t.staleTime,e)){let n="function"==typeof r?r(e):r;return"always"===n||!1!==n&&rn(e,t)}return!1}function rr(e,t,r,n){return(e!==t||!1===eB(n.enabled,e))&&(!r.suspense||"error"!==e.state.status)&&rn(e,r)}function rn(e,t){return!1!==eB(t.enabled,e)&&e.isStaleByTime(e$(t.staleTime,e))}function ri(e){t4(this,e_,rf).call(this);let t=t2(this,ei).fetch(this.options,e);return(null==e?void 0:e.throwOnError)||(t=t.catch(eF)),t}function ra(){t4(this,ek,ru).call(this);let e=e$(this.options.staleTime,t2(this,ei));if(tu.isServer()||t2(this,eo).isStale||!eq(e))return;let t=eW(t2(this,eo).dataUpdatedAt,e);t3(this,ep,eL.setTimeout(()=>{t2(this,eo).isStale||this.updateResult()},t+1))}function ro(){var e;return null!=(e="function"==typeof this.options.refetchInterval?this.options.refetchInterval(t2(this,ei)):this.options.refetchInterval)&&e}function rs(e){t4(this,eP,rc).call(this),t3(this,eg,e),!tu.isServer()&&!1!==eB(this.options.enabled,t2(this,ei))&&eq(t2(this,eg))&&0!==t2(this,eg)&&t3(this,ev,eL.setInterval(()=>{(this.options.refetchIntervalInBackground||tr.isFocused())&&t4(this,em,ri).call(this)},t2(this,eg)))}function rl(){t4(this,eb,ra).call(this),t4(this,eS,rs).call(this,t4(this,ew,ro).call(this))}function ru(){void 0!==t2(this,ep)&&(eL.clearTimeout(t2(this,ep)),t3(this,ep,void 0))}function rc(){void 0!==t2(this,ev)&&(eL.clearInterval(t2(this,ev)),t3(this,ev,void 0))}function rf(){let e=t2(this,en).getQueryCache().build(t2(this,en),this.options);if(e===t2(this,ei))return;let t=t2(this,ei);t3(this,ei,e),t3(this,ea,e.state),this.hasListeners()&&(null==t||t.removeObserver(this),e.addObserver(this))}function rh(e){e3.batch(()=>{e.listeners&&this.listeners.forEach(e=>{e(t2(this,eo))}),t2(this,en).getQueryCache().notify({query:t2(this,ei),type:"observerResultsUpdated"})})}var rd=class extends t9{bindMethods(){super.bindMethods(),this.fetchNextPage=this.fetchNextPage.bind(this),this.fetchPreviousPage=this.fetchPreviousPage.bind(this)}setOptions(e){e._type="infinite",super.setOptions(e)}getOptimisticResult(e){return e._type="infinite",super.getOptimisticResult(e)}fetchNextPage(e){return this.fetch({...e,meta:{fetchMore:{direction:"forward"}}})}fetchPreviousPage(e){return this.fetch({...e,meta:{fetchMore:{direction:"backward"}}})}createResult(e,t){var r,n,i,a;let{state:o}=e,s=super.createResult(e,t),{isFetching:l,isRefetching:u,isError:c,isRefetchError:f}=s,h=null==(n=o.fetchMeta)||null==(r=n.fetchMore)?void 0:r.direction,d=c&&"forward"===h,p=l&&"forward"===h,g=c&&"backward"===h,y=l&&"backward"===h;return{...s,fetchNextPage:this.fetchNextPage,fetchPreviousPage:this.fetchPreviousPage,hasNextPage:!!(i=o.data)&&null!=tm(t,i),hasPreviousPage:!!(a=o.data)&&!!t.getPreviousPageParam&&null!=tb(t,a),isFetchNextPageError:d,isFetchingNextPage:p,isFetchPreviousPageError:g,isFetchingPreviousPage:y,isRefetchError:f&&!d&&!g,isRefetching:u&&!p&&!y}}constructor(e,t){super(e,t)}},rp=r(50784);function rv(e,t){if(!e)throw"string"==typeof t?Error(t):Error("".concat(t.displayName," not found"))}let rg=(e,t)=>{let{assertCtxFn:r=rv}=t||{},n=eM.createContext(void 0);return n.displayName=e,[n,()=>{let t=eM.useContext(n);return r(t,"".concat(e," not found")),t.value},()=>{let e=eM.useContext(n);return e?e.value:{}}]},[ry,rm]=rg("ClerkInstanceContext"),[rb,rw]=rg("InitialStateContext");function rS(e){let{children:t,initialState:r}=e,[n]=(0,eM.useState)(r),i=eM.useMemo(()=>({value:n}),[n]);return eM.createElement(rb.Provider,{value:i},t)}function rE(){let e=rw();if(e instanceof Promise)if(0)return eM.use(e);else throw Error("initialState cannot be a promise if React version is less than 19");return e}let rk=eM.createContext({}),[rP,r_]=rg("CheckoutContext"),rx=e=>{let{children:t,...r}=e;return eM.createElement(rP.Provider,{value:{value:r}},t)};function rO(e){if(!eM.useContext(ry)){if("function"==typeof e)return void e();throw Error("".concat(e," can only be used within the <ClerkProvider /> component.\n\nPossible fixes:\n1. Ensure that the <ClerkProvider /> is correctly wrapping your application where this component is used.\n2. Check for multiple versions of the `@clerk/shared` package in your project. Use a tool like `npm ls @clerk/shared` to identify multiple versions, and update your dependencies to only rely on one.\n\nLearn more: https://clerk.com/docs/components/clerk-provider").trim())}}function rC(e){return{queryKey:[e.stablePrefix,e.authenticated,e.tracked,e.untracked],invalidationKey:[e.stablePrefix,e.authenticated,e.tracked],stableKey:e.stablePrefix,authenticated:e.authenticated}}function rR(e){if(e)return function(e){return e}}let rA=!1,rI=f=new Proxy(function(){},{get(e,t){if("then"!==t)return"toString"===t?()=>"[".concat("ClerkMockQueryClient","]"):t===Symbol.toPrimitive?()=>0:f},apply:()=>f,construct:()=>f,has:()=>!1,set:()=>!1}),rT=()=>{let e=function(){if("u">typeof window)return rA||(n=new t1,rA=!0),n}();return[null!=e?e:rI,!!e]};function rM(e,t){let[r,n]=rT(),i=n?r.defaultQueryOptions(e):e;i._optimisticResults="optimistic";let a=eM.useMemo(()=>new t(r,i),[r]),o=a.getOptimisticResult(i),s=!1!==e.subscribed;return(eM.useSyncExternalStore(eM.useCallback(e=>{let t=s?a.subscribe(e3.batchCalls(e)):eF;return a.updateResult(),t},[a,s]),()=>a.getCurrentResult(),()=>a.getCurrentResult()),eM.useEffect(()=>{a.setOptions(i)},[i,a]),n)?i.notifyOnChangeProps?o:a.trackResult(o):{data:void 0,error:null,isLoading:!1!==e.enabled,isFetching:!1,status:"pending"}}function rD(e){return rM(e,t9)}function rz(e){var t;let r,n,{isSignedOut:i,stableKeys:a,authenticated:o=!0,onCleanup:s}=e,l=(0,eM.useRef)(a),[u]=rT(),c=(t=!i,r=(0,eM.useRef)(t),n=(0,eM.useRef)(null),r.current!==t&&(n.current=r.current,r.current=t),n.current);(0,eM.useEffect)(()=>{!0===o&&c&&!0===i&&(u.removeQueries({predicate:e=>{let[t,r]=e.queryKey;return!0===r&&"string"==typeof t&&(Array.isArray(l.current)?l.current.includes(t):l.current===t)}}),null==s||s())},[o,i,c,u])}let rj=(e,t)=>{var r,n,i;let a="boolean"==typeof e&&e,o=(0,eM.useRef)(a?t.initialPage:null!=(r=null==e?void 0:e.initialPage)?r:t.initialPage),s=(0,eM.useRef)(a?t.pageSize:null!=(n=null==e?void 0:e.pageSize)?n:t.pageSize),l={};for(let r of Object.keys(t))l[r]=a?t[r]:null!=(i=null==e?void 0:e[r])?i:t[r];return{...l,initialPage:o.current,pageSize:s.current}},rU=e=>{var t,r,n,i,a,o,s,l,u;let c,{fetcher:f,config:h,keys:d}=e,[p,g]=(0,eM.useState)(null!=(t=h.initialPage)?t:1),y=(0,eM.useRef)(null!=(r=h.initialPage)?r:1),m=(0,eM.useRef)(null!=(n=h.pageSize)?n:10),b=null==(i=h.enabled)||i,w=h.isSignedIn,S=null!=(a=h.infinite)&&a,E="cache"===h.__experimental_mode,k=null!=(o=h.keepPreviousData)&&o,[P]=rT(),_=b&&!!f&&!E&&!1!==w,[x,O]=(0,eM.useState)(0),C=(0,eM.useCallback)(e=>{O(e)},[]),R=(0,eM.useMemo)(()=>{let[e,t,r,n]=d.queryKey;return[e,t,r,{...n,args:{...n.args,initialPage:p,pageSize:m.current}}]},[d.queryKey,p]),A=rD({queryKey:R,queryFn:e=>{let{queryKey:t}=e,{args:r}=t[3];if(f)return f(r)},staleTime:6e4,enabled:_&&!S,placeholderData:rR(k)}),I=(0,eM.useMemo)(()=>{let[e,t,r,n]=d.queryKey;return[e+"-inf",t,r,n]},[d.queryKey]),T=rM({queryKey:I,initialPageParam:null!=(s=h.initialPage)?s:1,getNextPageParam:(e,t,r)=>{var n,i;let a=null!=(n=null==e?void 0:e.total_count)?n:0;return(t.length+(h.initialPage?h.initialPage-1:0))*(null!=(i=h.pageSize)?i:10)<a?r+1:void 0},queryFn:e=>{let{pageParam:t,queryKey:r}=e,{args:n}=r[3];if(f)return f({...n,initialPage:t,pageSize:m.current})},staleTime:6e4,enabled:_&&S},rd);rz({isSignedOut:!1===w,authenticated:d.authenticated,stableKeys:[c=d.stableKey,"".concat(c,"-inf")],onCleanup:()=>{g(y.current),Promise.resolve().then(()=>C(e=>e+1))}});let{data:M,count:D,page:z}=(0,eM.useMemo)(()=>{var e,t,r,n,i,a,o,s;if(S){let e=P.getQueryData(I),l=_?null!=(t=null!=(r=null==(o=T.data)?void 0:o.pages)?r:null==e?void 0:e.pages)?t:[]:null!=(n=null==e?void 0:e.pages)?n:[],u=Array.isArray(l)?l.filter(Boolean):[];return{data:null!=(i=u.map(e=>null==e?void 0:e.data).flat().filter(Boolean))?i:[],count:null!=(a=null==(s=u[u.length-1])?void 0:s.total_count)?a:0,page:u.length>0?u.length:y.current}}let l=_&&null!=(e=A.data)?e:P.getQueryData(R);return{data:Array.isArray(null==l?void 0:l.data)?l.data:[],count:"number"==typeof(null==l?void 0:l.total_count)?l.total_count:0,page:p}},[_,x,S,null==(u=T.data)?void 0:u.pages,A.data,P,I,R,p]),j=(0,eM.useCallback)(e=>{if(S){var t,r,n;let i=Math.max(0,"function"==typeof e?e(z):e),a=P.getQueryData(I);i-(null!=(t=null!=(r=null==(n=T.data)?void 0:n.pages)?r:null==a?void 0:a.pages)?t:[]).length>0&&T.fetchNextPage({cancelRefetch:!1});return}return g(e)},[T,z,S,P,I]),U=S?T.isLoading:A.isLoading,L=S?T.isFetching:A.isFetching,N=null!=(l=S?T.error:A.error)?l:null,F=(0,eM.useCallback)(()=>{S?T.fetchNextPage({cancelRefetch:!1}):g(e=>Math.max(0,e+1))},[T,S]),q=(0,eM.useCallback)(()=>{S||g(e=>Math.max(0,e-1))},[S]),W=(y.current-1)*m.current,$=Math.ceil((D-W)/m.current),B=S?!!T.hasNextPage:D-W>z*m.current,K=S?!!T.hasPreviousPage:(z-1)*m.current>W;return{data:M,count:D,error:N,isLoading:U,isFetching:L,isError:!!N,page:z,pageCount:$,fetchPage:j,fetchNext:F,fetchPrevious:q,hasNextPage:B,hasPreviousPage:K,revalidate:async()=>{await P.invalidateQueries({queryKey:d.invalidationKey});let[e,...t]=d.invalidationKey;return P.invalidateQueries({queryKey:[e+"-inf",...t]})},setData:e=>(S?(P.setQueryData(I,function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=Array.isArray(null==t?void 0:t.pages)?t.pages:[],n="function"==typeof e?e(r):e;return{...t,pages:n}}),C(e=>e+1)):(P.setQueryData(R,function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{data:[],total_count:0};return"function"==typeof e?e(t):e}),C(e=>e+1)),Promise.resolve())}};function rL(e){var t,r,n;rO("useAPIKeys");let i=rj(e,{initialPage:1,pageSize:10,keepPreviousData:!1,infinite:!1,subject:"",query:"",enabled:!0}),a=rm();null==(r=a.telemetry)||r.record((0,eA.a)("useAPIKeys"));let o={initialPage:i.initialPage,pageSize:i.pageSize,...i.subject?{subject:i.subject}:{},...i.query?{query:i.query}:{}},s=(null==(t=i.enabled)||t)&&a.loaded;return rU({fetcher:(null==(n=a.apiKeys)?void 0:n.getAll)?e=>a.apiKeys.getAll({...e,subject:i.subject}):void 0,config:{keepPreviousData:i.keepPreviousData,infinite:i.infinite,enabled:s,isSignedIn:null!==a.user,initialPage:i.initialPage,pageSize:i.pageSize},keys:rC({stablePrefix:"apiKeys",authenticated:!0,tracked:{subject:i.subject},untracked:{args:o}})})}function rN(){let e=rm(),t=rE(),r=(0,eM.useCallback)(()=>null==t?void 0:t.user,[null==t?void 0:t.user]);return(0,eM.useSyncExternalStore)((0,eM.useCallback)(t=>e.addListener(t,{skipInitialEmit:!0}),[e]),(0,eM.useCallback)(()=>e.loaded&&e.__internal_lastEmittedResources?e.__internal_lastEmittedResources.user:r(),[e,r]),r)}let rF="useOAuthConsent";function rq(e){var t,r,n;rO(rF);let{oauthClientId:i,scope:a,redirectUri:o,keepPreviousData:s=!0,enabled:l=!0}=e,u=rm(),c=rN(),f=(null!=i?i:"").trim();null==(n=u.telemetry)||n.record((0,eA.a)(rF));let{queryKey:h}=function(e){let{userId:t,oauthClientId:r,scope:n,redirectUri:i}=e;return(0,eM.useMemo)(()=>rC({stablePrefix:"oauthConsentInfo",authenticated:!0,tracked:{userId:null!=t?t:null},untracked:{args:{oauthClientId:r,...void 0!==n&&{scope:n},...void 0!==i&&{redirectUri:i}}}}),[t,r,n,i])}({userId:null!=(t=null==c?void 0:c.id)?t:null,oauthClientId:f,scope:a,redirectUri:o}),d=f.length>0,p=!!c&&d&&l&&u.loaded,g=rD({queryKey:h,queryFn:()=>{var e,t;return e=u,t={oauthClientId:f,scope:a,redirectUri:o},e.oauthApplication.getConsentInfo(t)},enabled:p,placeholderData:rR(s&&p)});return{data:g.data,error:null!=(r=g.error)?r:null,isLoading:g.isLoading,isFetching:g.isFetching}}function rW(){let e=rm(),t=rE(),r=(0,eM.useCallback)(()=>null==t?void 0:t.organization,[null==t?void 0:t.organization]);return(0,eM.useSyncExternalStore)((0,eM.useCallback)(t=>e.addListener(t,{skipInitialEmit:!0}),[e]),(0,eM.useCallback)(()=>e.loaded&&e.__internal_lastEmittedResources?e.__internal_lastEmittedResources.organization:r(),[e,r]),r)}function r$(){let e=rm(),t=rE(),r=(0,eM.useCallback)(()=>{var e;let r,n,i,a,o;return t?(r=t.userId,n=t.user,i=t.sessionId,a=t.sessionStatus,o=t.sessionClaims,e={userId:r,user:n,sessionId:i,session:t.session,sessionStatus:a,sessionClaims:o,organization:t.organization,orgId:t.orgId,orgRole:t.orgRole,orgPermissions:t.orgPermissions,orgSlug:t.orgSlug,actor:t.actor,factorVerificationAge:t.factorVerificationAge},void 0===e)?void 0:e.session:void 0},[t]);return(0,eM.useSyncExternalStore)((0,eM.useCallback)(t=>e.addListener(t,{skipInitialEmit:!0}),[e]),(0,eM.useCallback)(()=>e.loaded&&e.__internal_lastEmittedResources?e.__internal_lastEmittedResources.session:r(),[e,r]),r)}let rB=()=>(rO("useClerk"),rm());function rK(e){let t=rB(),r=(0,eM.useRef)(!1);(0,eM.useEffect)(()=>{var n;r.current||(r.current=!0,null==(n=t.__internal_attemptToEnableEnvironmentSetting)||n.call(t,{for:"organizations",caller:e}))},[t,e])}let rY={data:void 0,count:void 0,error:void 0,isLoading:!1,isFetching:!1,isError:!1,page:void 0,pageCount:void 0,fetchPage:void 0,fetchNext:void 0,fetchPrevious:void 0,hasNextPage:!1,hasPreviousPage:!1,revalidate:void 0,setData:void 0};function rV(e){var t,r,n;let{domains:i,membershipRequests:a,memberships:o,invitations:s}=e||{};rO("useOrganization"),rK("useOrganization");let l=rW(),u=r$(),c=rj(i,{initialPage:1,pageSize:10,keepPreviousData:!1,infinite:!1,enrollmentMode:void 0}),f=rj(a,{initialPage:1,pageSize:10,status:"pending",keepPreviousData:!1,infinite:!1}),h=rj(o,{initialPage:1,pageSize:10,role:void 0,keepPreviousData:!1,infinite:!1,query:void 0}),d=rj(s,{initialPage:1,pageSize:10,status:["pending"],keepPreviousData:!1,infinite:!1}),p=rm();null==(t=p.telemetry)||t.record((0,eA.a)("useOrganization"));let g=void 0===i?void 0:{initialPage:c.initialPage,pageSize:c.pageSize,enrollmentMode:c.enrollmentMode},y=void 0===a?void 0:{initialPage:f.initialPage,pageSize:f.pageSize,status:f.status},m=void 0===o?void 0:{initialPage:h.initialPage,pageSize:h.pageSize,role:h.role,query:h.query},b=void 0===s?void 0:{initialPage:d.initialPage,pageSize:d.pageSize,status:d.status},w=rU({fetcher:null==l?void 0:l.getDomains,config:{keepPreviousData:c.keepPreviousData,infinite:c.infinite,enabled:!!g,isSignedIn:null!==l,initialPage:c.initialPage,pageSize:c.pageSize},keys:rC({stablePrefix:"domains",authenticated:!0,tracked:{organizationId:null==l?void 0:l.id},untracked:{args:g}})}),S=rU({fetcher:null==l?void 0:l.getMembershipRequests,config:{keepPreviousData:f.keepPreviousData,infinite:f.infinite,enabled:!!y,isSignedIn:null!==l,initialPage:f.initialPage,pageSize:f.pageSize},keys:rC({stablePrefix:"membershipRequests",authenticated:!0,tracked:{organizationId:null==l?void 0:l.id},untracked:{args:y}})}),E=rU({fetcher:null==l?void 0:l.getMemberships,config:{keepPreviousData:h.keepPreviousData,infinite:h.infinite,enabled:!!m,isSignedIn:null!==l,initialPage:h.initialPage,pageSize:h.pageSize},keys:rC({stablePrefix:"memberships",authenticated:!0,tracked:{organizationId:null==l?void 0:l.id},untracked:{args:m}})}),k=rU({fetcher:null==l?void 0:l.getInvitations,config:{keepPreviousData:d.keepPreviousData,infinite:d.infinite,enabled:!!b,isSignedIn:null!==l,initialPage:d.initialPage,pageSize:d.pageSize},keys:rC({stablePrefix:"invitations",authenticated:!0,tracked:{organizationId:null==l?void 0:l.id},untracked:{args:b}})});return void 0===l?{isLoaded:!1,organization:void 0,membership:void 0,domains:rY,membershipRequests:rY,memberships:rY,invitations:rY}:null===l?{isLoaded:!0,organization:null,membership:null,domains:null,membershipRequests:null,memberships:null,invitations:null}:!p.loaded&&l?{isLoaded:!0,organization:l,membership:void 0,domains:rY,membershipRequests:rY,memberships:rY,invitations:rY}:{isLoaded:p.loaded,organization:l,membership:(r=u.user.organizationMemberships,n=l.id,r.find(e=>e.organization.id===n)),domains:w,membershipRequests:S,memberships:E,invitations:k}}let rQ="useOrganizationCreationDefaults";function rH(){var e,t,r,n,i,a,o;let s=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};rO(rQ);let{keepPreviousData:l=!0,enabled:u=!0}=s,c=rm(),f=rN(),h=null!=(e=null==(a=c.__internal_environment)||null==(i=a.organizationSettings)||null==(n=i.organizationCreationDefaults)?void 0:n.enabled)&&e;null==(o=c.telemetry)||o.record((0,eA.a)(rQ));let{queryKey:d}=function(e){let{userId:t}=e;return(0,eM.useMemo)(()=>rC({stablePrefix:"organizationCreationDefaults",authenticated:!!t,tracked:{userId:null!=t?t:null},untracked:{args:{}}}),[t])}({userId:null!=(t=null==f?void 0:f.id)?t:null}),p=!!f&&u&&h&&c.loaded,g=rD({queryKey:d,queryFn:null==f?void 0:f.getOrganizationCreationDefaults,enabled:p,placeholderData:rR(l)});return{data:g.data,error:null!=(r=g.error)?r:null,isLoading:g.isLoading,isFetching:g.isFetching}}let rG={data:void 0,count:void 0,error:void 0,isLoading:!1,isFetching:!1,isError:!1,page:void 0,pageCount:void 0,fetchPage:void 0,fetchNext:void 0,fetchPrevious:void 0,hasNextPage:!1,hasPreviousPage:!1,revalidate:void 0,setData:void 0};function rJ(e){var t;let{userMemberships:r,userInvitations:n,userSuggestions:i}=e||{};rO("useOrganizationList"),rK("useOrganizationList");let a=rj(r,{initialPage:1,pageSize:10,keepPreviousData:!1,infinite:!1}),o=rj(n,{initialPage:1,pageSize:10,status:"pending",keepPreviousData:!1,infinite:!1}),s=rj(i,{initialPage:1,pageSize:10,status:"pending",keepPreviousData:!1,infinite:!1}),l=rm(),u=rN();null==(t=l.telemetry)||t.record((0,eA.a)("useOrganizationList"));let c=void 0===r?void 0:{initialPage:a.initialPage,pageSize:a.pageSize},f=void 0===n?void 0:{initialPage:o.initialPage,pageSize:o.pageSize,status:o.status},h=void 0===i?void 0:{initialPage:s.initialPage,pageSize:s.pageSize,status:s.status},d=!!(l.loaded&&u),p=rU({fetcher:null==u?void 0:u.getOrganizationMemberships,config:{keepPreviousData:a.keepPreviousData,infinite:a.infinite,enabled:!!c,isSignedIn:null!==u,initialPage:a.initialPage,pageSize:a.pageSize},keys:rC({stablePrefix:"userMemberships",authenticated:!0,tracked:{userId:null==u?void 0:u.id},untracked:{args:c}})}),g=rU({fetcher:null==u?void 0:u.getOrganizationInvitations,config:{keepPreviousData:o.keepPreviousData,infinite:o.infinite,enabled:!!f,isSignedIn:null!==u,initialPage:o.initialPage,pageSize:o.pageSize},keys:rC({stablePrefix:"userInvitations",authenticated:!0,tracked:{userId:null==u?void 0:u.id},untracked:{args:f}})}),y=rU({fetcher:null==u?void 0:u.getOrganizationSuggestions,config:{keepPreviousData:s.keepPreviousData,infinite:s.infinite,enabled:!!h,isSignedIn:null!==u,initialPage:s.initialPage,pageSize:s.pageSize},keys:rC({stablePrefix:"userSuggestions",authenticated:!0,tracked:{userId:null==u?void 0:u.id},untracked:{args:h}})});return d?{isLoaded:d,setActive:l.setActive,createOrganization:l.createOrganization,userMemberships:p,userInvitations:g,userSuggestions:y}:{isLoaded:!1,createOrganization:void 0,setActive:void 0,userMemberships:rG,userInvitations:rG,userSuggestions:rG}}let rX="u">typeof window?eM.useLayoutEffect:eM.useEffect,rZ="useSession",r0=()=>{var e;rO(rZ);let t=r$(),r=rm();return(null==(e=r.telemetry)||e.record((0,eA.a)(rZ)),void 0===t)?{isLoaded:!1,isSignedIn:void 0,session:void 0}:null===t?{isLoaded:!0,isSignedIn:!1,session:null}:{isLoaded:!0,isSignedIn:r.isSignedIn,session:t}},r1,r6=()=>r1;function r5(){let e=rm();return(0,eM.useSyncExternalStore)((0,eM.useCallback)(t=>e.addListener(t,{skipInitialEmit:!0}),[e]),(0,eM.useCallback)(()=>{if(e.loaded&&e.__internal_lastEmittedResources)return e.__internal_lastEmittedResources.client},[e]),r6)}let r2="useUser";function r8(){var e;rO(r2);let t=rN();return(null==(e=rm().telemetry)||e.record((0,eA.a)(r2)),void 0===t)?{isLoaded:!1,isSignedIn:void 0,user:void 0}:null===t?{isLoaded:!0,isSignedIn:!1,user:null}:{isLoaded:!0,isSignedIn:!0,user:t}}let r3=(e,t)=>{let r;return eM.useMemo(e,(r=eM.useRef(t),(0,rp.j)(t,r.current)||(r.current=t),eM.useMemo(()=>r.current,[r.current])))};async function r4(e){try{let t=await e;if(t instanceof Response)return t.json();return t}catch(e){if((0,eC.C)(e)&&e.errors.find(e=>{let{code:t}=e;return"session_reverification_required"===t}))return{clerk_error:{type:"forbidden",reason:p,metadata:{reverification:void 0}}};throw e}}let r7=(e,t)=>{let{__internal_openReverification:r,telemetry:n}=rB(),i=(0,eM.useRef)(e),a=(0,eM.useRef)(t);return null==n||n.record((0,eA.a)("useReverification",{onNeedsReverification:!!(null==t?void 0:t.onNeedsReverification)})),rX(()=>{i.current=e,a.current=t}),(0,eM.useCallback)(function(){for(var e,t=arguments.length,o=Array(t),s=0;s<t;s++)o[s]=arguments[s];return(e={openUIComponent:r,telemetry:n,...a.current},function(t){return async function(){for(var r,n,i,a,o,s=arguments.length,l=Array(s),u=0;u<s;u++)l[u]=arguments[u];let c=await r4(t(...l));if((r=c)&&"object"==typeof r&&"clerk_error"in r&&(null==(n=r.clerk_error)?void 0:n.type)==="forbidden"&&(null==(i=r.clerk_error)?void 0:i.reason)===p){let r=(0,eI.t)(),n=(e=>{let t,r;if(!e)return!1;let n="string"==typeof e&&m.has(e),i="object"==typeof e&&(t=e.level,y.has(t))&&"number"==typeof(r=e.afterMinutes)&&r>0;return(!!n||!!i)&&(e=>"string"==typeof e?g[e]:e).bind(null,e)})(null==(a=c.clerk_error.metadata)?void 0:a.reverification),i=n?n().level:void 0,s=()=>{r.reject(new eO.t("User cancelled attempted verification",{code:"reverification_cancelled"}))},u=()=>{r.resolve(!0)};void 0===e.onNeedsReverification?null==(o=e.openUIComponent)||o.call(e,{level:i,afterVerification:u,afterVerificationCancelled:s}):e.onNeedsReverification({cancel:s,complete:u,level:i}),await r.promise,c=await r4(t(...l))}return c}})(i.current)(...o)},[r,n])};function r9(e){var t,r;let n=rm(),i=null==(t=null==e?void 0:e.enabled)||t,a=n.__internal_environment,o=rN(),s=rW(),l=null==a?void 0:a.commerceSettings.billing.user.enabled,u=null==a?void 0:a.commerceSettings.billing.organization.enabled,c=(null==e?void 0:e.for)==="organization"?u:(null==e?void 0:e.for)==="user"?l:l||u,f=(null==e?void 0:e.for)==="organization",h=null!=(r=null==e?void 0:e.authenticated)&&!r||(!f||!!(null==s?void 0:s.id))&&!!(null==o?void 0:o.id);return c&&i&&n.loaded&&h}function ne(e){let{hookName:t,resourceType:r,useFetcher:n,options:i}=e;return function(e){var a;let{for:o,enabled:s,...l}=e||{},u=o||"user";rO(t);let c=n(u),f=rj(l,{initialPage:1,pageSize:10,keepPreviousData:!1,infinite:!1,__experimental_mode:void 0}),h=rm(),d=rN(),p=rW();null==(a=h.telemetry)||a.record((0,eA.a)(t));let g="organization"===u,y=r9({for:u,enabled:s,authenticated:!(null==i?void 0:i.unauthenticated)}),m=void 0===l?void 0:{initialPage:f.initialPage,pageSize:f.pageSize,...(null==i?void 0:i.unauthenticated)?{}:g?{orgId:null==p?void 0:p.id}:{}},b=!!m&&h.loaded&&!!y;return rU({fetcher:c,config:{keepPreviousData:f.keepPreviousData,infinite:f.infinite,enabled:b,...(null==i?void 0:i.unauthenticated)?{}:{isSignedIn:null!==d},__experimental_mode:f.__experimental_mode,initialPage:f.initialPage,pageSize:f.pageSize},keys:rC({stablePrefix:r,authenticated:!(null==i?void 0:i.unauthenticated),tracked:(null==i?void 0:i.unauthenticated)?{for:u}:{userId:null==d?void 0:d.id,...g?{orgId:null==p?void 0:p.id}:{}},untracked:{args:m}})})}}let nt=ne({hookName:"useStatements",resourceType:"billing-statements",useFetcher:()=>{let e=rm();if(e.loaded)return e.billing.getStatements}}),nr=ne({hookName:"usePaymentAttempts",resourceType:"billing-payment-attempts",useFetcher:()=>{let e=rm();if(e.loaded)return e.billing.getPaymentAttempts}}),nn=ne({hookName:"usePaymentMethods",resourceType:"billing-payment-methods",useFetcher:e=>{let t=rW(),r=rN();return"organization"===e?null==t?void 0:t.getPaymentMethods:null==r?void 0:r.getPaymentMethods}}),ni=ne({hookName:"usePlans",resourceType:"billing-plans",useFetcher:e=>{let t=rm();if(t.loaded)return r=>t.billing.getPlans({...r,for:e})},options:{unauthenticated:!0}}),na="useSubscription";function no(e){var t,r;rO(na);let n=rm(),i=rN(),a=rW(),o=r9(e),s=(0,eM.useRef)(!1);(0,eM.useEffect)(()=>{!s.current&&(null==n?void 0:n.telemetry)&&(n.telemetry.record((0,eA.a)(na)),s.current=!0)},[n]);let l=null!=(t=null==e?void 0:e.keepPreviousData)&&t,[u]=rT(),{queryKey:c,invalidationKey:f,stableKey:h,authenticated:d}=function(e){let{userId:t,orgId:r,for:n}=e;return(0,eM.useMemo)(()=>{let e="organization"===n?r:void 0;return rC({stablePrefix:"billing-subscription",authenticated:!0,tracked:{userId:t,orgId:e},untracked:{args:{orgId:e}}})},[t,r,n])}({userId:null==i?void 0:i.id,orgId:null==a?void 0:a.id,for:null==e?void 0:e.for}),p=!!((null==i?void 0:i.id)&&o);rz({isSignedOut:null===i,authenticated:d,stableKeys:h});let g=rD({queryKey:c,queryFn:e=>{let{queryKey:t}=e,r=t[3];return n.billing.getSubscription(r.args)},staleTime:6e4,enabled:p,placeholderData:rR(l&&p)}),y=(0,eM.useCallback)(()=>u.invalidateQueries({queryKey:f}),[u,f]);return{data:g.data,error:null!=(r=g.error)?r:void 0,isLoading:g.isLoading,isFetching:g.isFetching,revalidate:y}}let ns=e=>{let t=r_(),{for:r,planId:n,planPeriod:i,seatsQuantity:a,priceId:o}=e||t,s=rW(),{isLoaded:l,user:u}=r8(),c=rm();if(null===u&&l)throw Error('Clerk: Ensure that `useCheckout` is inside a component wrapped with `<Show when="signed-in" />`.');if(l&&"organization"===r&&null===s)throw Error("Clerk: Ensure your flow checks for an active organization. Retrieve `orgId` from `useAuth()` and confirm it is defined. For SSR, see: https://clerk.com/docs/reference/backend/types/auth-object#how-to-access-the-auth-object");let f=(0,eM.useCallback)(()=>c.__experimental_checkout({planId:n,planPeriod:i,for:r,seatsQuantity:a,priceId:o}),[null==u?void 0:u.id,null==s?void 0:s.id,n,i,r,a,o]),h=(0,eM.useCallback)(e=>c.loaded?c.__internal_state.__internal_effect(()=>{f(),e()}):()=>{},[f,c.loaded,c.__internal_state]),d=(0,eM.useCallback)(()=>f(),[f]);return(0,eM.useSyncExternalStore)(h,d,d)};function nl(){var e,t,r;let n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{statementId:i=null,keepPreviousData:a=!1,for:o="user"}=n,s=rm(),l=rN(),u=rW(),c="organization"===o&&null!=(e=null==u?void 0:u.id)?e:null,{queryKey:f,stableKey:h,authenticated:d}=function(e){let{statementId:t,userId:r,orgId:n,for:i}=e;return(0,eM.useMemo)(()=>rC({stablePrefix:"billing-statement",authenticated:!0,tracked:{statementId:t,forType:i,userId:r,orgId:n},untracked:{args:{id:null!=t?t:void 0,orgId:null!=n?n:void 0}}}),[t,i,r,n])}({statementId:i,userId:null!=(t=null==l?void 0:l.id)?t:null,orgId:c,for:o}),p=r9(n);rz({isSignedOut:null===l,authenticated:d,stableKeys:h});let g=rD({queryKey:f,queryFn:()=>{if(!i)throw Error("statementId is required to fetch a statement");return s.billing.getStatement({id:i,orgId:null!=c?c:void 0})},enabled:!!i&&p,placeholderData:rR(a),staleTime:6e4});return{data:g.data,error:null!=(r=g.error)?r:null,isLoading:g.isLoading,isFetching:g.isFetching}}function nu(){var e,t;let r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{planId:n,initialPlan:i=null,keepPreviousData:a=!0}=r,o=rm(),s=null!=(e=null!=n?n:null==i?void 0:i.id)?e:null,{queryKey:l}=function(e){let{planId:t}=e;return(0,eM.useMemo)(()=>rC({stablePrefix:"billing-plan",authenticated:!1,tracked:{planId:null!=t?t:null},untracked:{args:{id:null!=t?t:void 0}}}),[t])}({planId:s}),u=r9({authenticated:!1}),c=rD({queryKey:l,queryFn:()=>{if(!s)throw Error("planId is required to fetch plan details");return o.billing.getPlan({id:s})},enabled:!!s&&u,initialData:null!=i?i:void 0,placeholderData:rR(a),initialDataUpdatedAt:0});return{data:c.data,error:null!=(t=c.error)?t:null,isLoading:c.isLoading,isFetching:c.isFetching}}function nc(e){var t,r,n;let{paymentAttemptId:i,keepPreviousData:a=!1,for:o="user"}=e,s=rm(),l=rN(),u=rW(),c="organization"===o&&null!=(t=null==u?void 0:u.id)?t:null,{queryKey:f,stableKey:h,authenticated:d}=function(e){let{paymentAttemptId:t,userId:r,orgId:n,for:i}=e;return(0,eM.useMemo)(()=>rC({stablePrefix:"billing-payment-attempt",authenticated:!0,tracked:{paymentAttemptId:t,forType:i,userId:r,orgId:n},untracked:{args:{id:null!=t?t:void 0,orgId:null!=n?n:void 0}}}),[t,i,r,n])}({paymentAttemptId:i,userId:null!=(r=null==l?void 0:l.id)?r:null,orgId:c,for:o}),p=r9(e);rz({isSignedOut:null===l,authenticated:d,stableKeys:h});let g=rD({queryKey:f,queryFn:e=>{let{queryKey:t}=e,r=t[3].args;return s.billing.getPaymentAttempt(r)},enabled:!!i&&p,placeholderData:rR(a),staleTime:6e4});return{data:g.data,error:null!=(n=g.error)?n:null,isLoading:g.isLoading,isFetching:g.isFetching}}function nf(){var e,t;let r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{keepPreviousData:n=!0,enabled:i=!0,withOrganizationAccountLinking:a=!1}=r,o=rm(),s=rN(),[l]=rT(),{queryKey:u,stableKey:c,authenticated:f}=function(e){let{userId:t,withOrganizationAccountLinking:r=!1}=e;return(0,eM.useMemo)(()=>rC({stablePrefix:"userEnterpriseConnections",authenticated:!!t,tracked:{userId:null!=t?t:null,withOrganizationAccountLinking:r},untracked:{args:{}}}),[t,r])}({userId:null!=(e=null==s?void 0:s.id)?e:null,withOrganizationAccountLinking:a}),h=i&&o.loaded&&!!s;rz({isSignedOut:null===s,authenticated:f,stableKeys:c});let d=rD({queryKey:u,queryFn:()=>null==s?void 0:s.getEnterpriseConnections({withOrganizationAccountLinking:a}),enabled:h,placeholderData:rR(n)}),p=(0,eM.useCallback)(()=>l.invalidateQueries({queryKey:[c]}),[l,c]);return{data:d.data,error:null!=(t=d.error)?t:null,isLoading:d.isLoading,isFetching:d.isFetching,revalidate:p}}function nh(){var e,t;let r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{keepPreviousData:n=!0,enabled:i=!0,withOrganizationAccountLinking:a=!1}=r,o=rm(),s=rW(),[l]=rT(),{queryKey:u,stableKey:c,authenticated:f}=function(e){let{organizationId:t,withOrganizationAccountLinking:r=!1}=e;return(0,eM.useMemo)(()=>rC({stablePrefix:"organizationEnterpriseConnections",authenticated:!!t,tracked:{organizationId:null!=t?t:null,withOrganizationAccountLinking:r},untracked:{args:{}}}),[t,r])}({organizationId:null!=(e=null==s?void 0:s.id)?e:null,withOrganizationAccountLinking:a}),h=i&&o.loaded&&!!s;rz({isSignedOut:null===s,authenticated:f,stableKeys:c});let d=rD({queryKey:u,queryFn:()=>null==s?void 0:s.getEnterpriseConnections({withOrganizationAccountLinking:a}),enabled:h,placeholderData:rR(n)}),p=(0,eM.useCallback)(()=>l.invalidateQueries({queryKey:[c]}),[l,c]),g=(0,eM.useCallback)(async e=>{let t=await (null==s?void 0:s.createEnterpriseConnection(e));return await p(),t},[s,p]),y=(0,eM.useCallback)(async(e,t)=>{let r=await (null==s?void 0:s.updateEnterpriseConnection(e,t));return await p(),r},[s,p]),m=(0,eM.useCallback)(async e=>{let t=await (null==s?void 0:s.deleteEnterpriseConnection(e));return await p(),t},[s,p]);return{data:d.data,error:null!=(t=d.error)?t:null,isLoading:d.isLoading,isFetching:d.isFetching,createEnterpriseConnection:g,updateEnterpriseConnection:y,deleteEnterpriseConnection:m,revalidate:p}}function nd(){var e,t;let r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{keepPreviousData:n=!0,enabled:i=!0,enrollmentMode:a,onOwnershipVerified:o}=r,s=rm(),l=rW(),[u]=rT(),c=(0,eM.useRef)(o);c.current=o;let{queryKey:f,stableKey:h,authenticated:d}=function(e){let{organizationId:t,enrollmentMode:r}=e;return(0,eM.useMemo)(()=>rC({stablePrefix:"organizationDomains",authenticated:!!t,tracked:{organizationId:null!=t?t:null,enrollmentMode:null!=r?r:null},untracked:{args:{}}}),[t,r])}({organizationId:null!=(e=null==l?void 0:l.id)?e:null,enrollmentMode:a}),p=i&&s.loaded&&!!l;rz({isSignedOut:null===l,authenticated:d,stableKeys:h});let g=a?{enrollmentMode:a}:void 0,y=rD({queryKey:f,queryFn:()=>null==l?void 0:l.getDomains(g),enabled:p,placeholderData:rR(n)}),m=(0,eM.useCallback)(()=>u.invalidateQueries({queryKey:[h]}),[u,h]),b=(0,eM.useCallback)(async e=>{var t,r;let n=await (null==l?void 0:l.createDomain(e,a?{enrollmentMode:a}:void 0));return n&&"enterprise_sso"===a&&(n=null!=(t=null==(r=await (null==l?void 0:l.prepareOwnershipVerification([n.id])))?void 0:r.data[0])?t:n),await m(),n},[l,m,a]),w=(0,eM.useCallback)(async e=>{let t=await (null==l?void 0:l.prepareOwnershipVerification(e.map(e=>e.id)));return await m(),t},[l,m]),S=(0,eM.useCallback)(async e=>{let t=await (null==l?void 0:l.attemptOwnershipVerification(e.map(e=>e.id)));return await m(),t},[l,m]),E=y.data,k=(0,eM.useMemo)(()=>{var e;return(null!=(e=null==E?void 0:E.data)?e:[]).filter(e=>e.ownershipVerification&&"verified"!==e.ownershipVerification.status).map(e=>e.id)},[null==E?void 0:E.data]).join(",");return(0,eM.useEffect)(()=>{let e;if(!p||!l||!k)return;let t=!1,r=()=>{e=setTimeout(()=>void i(),1e4)},n=k.split(","),i=async()=>{var e,i;let a=await l.attemptOwnershipVerification(n).catch(e=>{eR.v.warnOnce("Clerk: failed to attempt organization domain ownership verification: ".concat(e))});if(t||(await m(),t))return;let o=null!=(e=null==a?void 0:a.data.filter(e=>{var t;return(null==(t=e.ownershipVerification)?void 0:t.status)==="verified"}))?e:[];o.length&&await (null==(i=c.current)?void 0:i.call(c,o)),t||(null==a?void 0:a.data.length)&&a.data.every(e=>{var t;return(null==(t=e.ownershipVerification)?void 0:t.status)==="verified"})||r()};return r(),()=>{t=!0,clearTimeout(e)}},[k,p]),{data:null==E?void 0:E.data,totalCount:null==E?void 0:E.total_count,error:null!=(t=y.error)?t:null,isLoading:y.isLoading,isFetching:y.isFetching,createDomain:b,prepareOwnershipVerification:w,attemptOwnershipVerification:S,revalidate:m}}function np(e){var t,r,n,i,a,o,s;let{enterpriseConnectionId:l,params:u={initialPage:1,pageSize:10},pollIntervalMs:c=2e3,enabled:f=!0,keepPreviousData:h=!1}=e,d=rm(),p=rW(),[g]=rT(),{queryKey:y,invalidationKey:m,stableKey:b,authenticated:w}=function(e){let{organizationId:t,enterpriseConnectionId:r,args:n}=e;return(0,eM.useMemo)(()=>rC({stablePrefix:"organizationEnterpriseConnectionTestRuns",authenticated:!!t,tracked:{organizationId:null!=t?t:null,enterpriseConnectionId:null!=r?r:null},untracked:{args:n}}),[t,r,JSON.stringify(n)])}({organizationId:null!=(t=null==p?void 0:p.id)?t:null,enterpriseConnectionId:l,args:u});rz({isSignedOut:null===p,authenticated:w,stableKeys:b});let S=f&&d.loaded&&!!p&&!!l,[E,k]=(0,eM.useState)(!1);(0,eM.useEffect)(()=>{k(!1)},[l]);let P=rD({queryKey:y,queryFn:()=>{if(!l)throw Error("enterpriseConnectionId is required to fetch test runs");return null==p?void 0:p.getEnterpriseConnectionTestRuns(l,u)},refetchInterval:e=>{var t,r,n;return!!E&&!((null!=(t=null==(n=e.state.data)||null==(r=n.data)?void 0:r.length)?t:0)>0)&&c},enabled:S,refetchIntervalInBackground:!1,placeholderData:rR(h)}),_=(null!=(r=null==(a=P.data)||null==(i=a.data)?void 0:i.length)?r:0)>0;(0,eM.useEffect)(()=>{E&&_&&k(!1)},[E,_]);let x=(0,eM.useCallback)(async e=>{var t;(null==(t=null==e?void 0:e.armPolling)||t)&&!_&&k(!0),await g.invalidateQueries({queryKey:m})},[g,m,_]),O=S&&E&&!_;return{data:null==(o=P.data)?void 0:o.data,totalCount:null==(s=P.data)?void 0:s.total_count,error:null!=(n=P.error)?n:null,isLoading:P.isLoading,isFetching:P.isFetching,isPolling:O,revalidate:x}}function nv(e){let t=e.clerk;if(t||(0,eT.kX)(),e.initialState instanceof Promise)throw Error("initialState cannot be a promise if React version is less than 19");let r=eM.useMemo(()=>({value:t}),[e.clerkStatus]);return eM.createElement(rS,{initialState:e.initialState},eM.createElement(ry.Provider,{value:r},eM.createElement(rx,{value:void 0},e.children)))}let ng=e=>{let t=(0,eM.useRef)(e);return(0,eM.useEffect)(()=>{t.current=e},[e]),t.current},ny=(e,t,r)=>{let n=!!r,i=(0,eM.useRef)(r);(0,eM.useEffect)(()=>{i.current=r},[r]),(0,eM.useEffect)(()=>{if(!n||!e)return()=>{};let r=function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];i.current&&i.current(...t)};return e.on(t,r),()=>{e.off(t,r)}},[n,t,e,i])},nm=eM.createContext(null);nm.displayName="ElementsContext";let nb=(e,t)=>{if(!e)throw Error("Could not find Elements context; You need to wrap the part of your app that ".concat(t," in an <Elements> provider."));return e},nw=e=>{let{stripe:t,options:r,children:n}=e,i=eM.useMemo(()=>nk(t),[t]),[a,o]=eM.useState(()=>({stripe:"sync"===i.tag?i.stripe:null,elements:"sync"===i.tag?i.stripe.elements(r):null}));eM.useEffect(()=>{let e=!0,t=e=>{o(t=>t.stripe?t:{stripe:e,elements:e.elements(r)})};return"async"!==i.tag||a.stripe?"sync"!==i.tag||a.stripe||t(i.stripe):i.stripePromise.then(r=>{r&&e&&t(r)}),()=>{e=!1}},[i,a,r]);let s=ng(t);eM.useEffect(()=>{null!==s&&s!==t&&console.warn("Unsupported prop change on Elements: You cannot change the `stripe` prop after setting it.")},[s,t]);let l=ng(r);return eM.useEffect(()=>{if(!a.elements)return;let e=nO(r,l,["clientSecret","fonts"]);e&&a.elements.update(e)},[r,l,a.elements]),eM.createElement(nm.Provider,{value:a},n)},nS="Invalid prop `stripe` supplied to `Elements`. We recommend using the `loadStripe` utility from `@stripe/stripe-js`. See https://stripe.com/docs/stripe-js/react#elements-props-stripe for details.",nE=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:nS;if(null===e||nx(e))return e;throw Error(t)},nk=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:nS;if(n_(e))return{tag:"async",stripePromise:Promise.resolve(e).then(e=>nE(e,t))};let r=nE(e,t);return null===r?{tag:"empty"}:{tag:"sync",stripe:r}},nP=e=>null!==e&&"object"==typeof e,n_=e=>nP(e)&&"function"==typeof e.then,nx=e=>nP(e)&&"function"==typeof e.elements&&"function"==typeof e.createToken&&"function"==typeof e.createPaymentMethod&&"function"==typeof e.confirmCardPayment,nO=(e,t,r)=>nP(e)?Object.keys(e).reduce((n,i)=>{let a=!nP(t)||!nR(e[i],t[i]);return r.includes(i)?(a&&console.warn("Unsupported prop change: options.".concat(i," is not a mutable property.")),n):a?{...n||{},[i]:e[i]}:n},null):null,nC="[object Object]",nR=(e,t)=>{if(!nP(e)||!nP(t))return e===t;let r=Array.isArray(e);if(r!==Array.isArray(t))return!1;let n=Object.prototype.toString.call(e)===nC;if(n!==(Object.prototype.toString.call(t)===nC))return!1;if(!n&&!r)return e===t;let i=Object.keys(e),a=Object.keys(t);if(i.length!==a.length)return!1;let o={};for(let e=0;e<i.length;e+=1)o[i[e]]=!0;for(let e=0;e<a.length;e+=1)o[a[e]]=!0;let s=Object.keys(o);return s.length===i.length&&s.every(r=>nR(e[r],t[r]))},nA=e=>nb(eM.useContext(nm),e),nI=(b="payment",w="u"<typeof window,h="".concat(b.charAt(0).toUpperCase()+b.slice(1),"Element"),(d=w?e=>{nA("mounts <".concat(h,">"));let{id:t,className:r}=e;return eM.createElement("div",{id:t,className:r})}:e=>{let t,{id:r,className:n,fallback:i,options:a={},onBlur:o,onFocus:s,onReady:l,onChange:u,onEscape:c,onClick:f,onLoadError:d,onLoaderStart:p,onNetworksChange:g,onConfirm:y,onCancel:m,onShippingAddressChange:w,onShippingRateChange:S}=e,E=nA("mounts <".concat(h,">")),k="elements"in E?E.elements:null,[P,_]=eM.useState(null),x=eM.useRef(null),O=eM.useRef(null),[C,R]=(0,eM.useState)(!1);ny(P,"blur",o),ny(P,"focus",s),ny(P,"escape",c),ny(P,"click",f),ny(P,"loaderror",d),ny(P,"loaderstart",p),ny(P,"networkschange",g),ny(P,"confirm",y),ny(P,"cancel",m),ny(P,"shippingaddresschange",w),ny(P,"shippingratechange",S),ny(P,"change",u),l&&(t=()=>{R(!0),l(P)}),ny(P,"ready",t),eM.useLayoutEffect(()=>{if(null===x.current&&null!==O.current&&k){let e=null;k&&(e=k.create(b,a)),x.current=e,_(e),e&&e.mount(O.current)}},[k,a]);let A=ng(a);return eM.useEffect(()=>{if(!x.current)return;let e=nO(a,A,["paymentRequest"]);e&&"update"in x.current&&x.current.update(e)},[a,A]),eM.useLayoutEffect(()=>()=>{if(x.current&&"function"==typeof x.current.destroy)try{x.current.destroy(),x.current=null}catch{}},[]),eM.createElement(eM.Fragment,null,!C&&i,eM.createElement("div",{id:r,style:{height:C?"unset":"0px",visibility:C?"visible":"hidden"},className:n,ref:O}))}).displayName=h,d.__elementType=b,d),nT=function(){var e,t;let r,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"user",i=(r=rB(),null!=(t=rD({queryKey:["clerk-stripe-sdk"],queryFn:async()=>({loadStripe:await r.__internal_loadStripeJs()}),staleTime:1/0,refetchOnWindowFocus:!1,placeholderData:rR(!0)}).data)?t:null),a=rB().__internal_environment,{initializedPaymentMethod:o,initializePaymentMethod:s}=function(e){var t;let{for:r}=null!=e?e:{},n=rW(),i=rN(),a="organization"===r?n:i,o=r9(e),s="billing-payment-method-initialize",l=(0,eM.useMemo)(()=>[s,!0,{resourceId:null==a?void 0:a.id},{}],[null==a?void 0:a.id]),u=!!(null==a?void 0:a.id)&&o;rz({isSignedOut:null===i,authenticated:!0,stableKeys:s});let c=rD({queryKey:l,queryFn:async()=>{if(a)return a.initializePaymentMethod({gateway:"stripe"})},enabled:u,staleTime:6e4,refetchOnWindowFocus:!1,placeholderData:rR(u)}),[f]=rT(),h=(0,eM.useCallback)(async()=>{if(!a)return;let e=await a.initializePaymentMethod({gateway:"stripe"});return f.setQueryData(l,e),e},[f,l,a]);return{initializedPaymentMethod:null!=(t=c.data)?t:void 0,initializePaymentMethod:h}}({for:n}),l=null!=(e=null==a?void 0:a.commerceSettings.billing.stripePublishableKey)?e:void 0;return{stripe:function(e){let{stripeClerkLibs:t,externalGatewayId:r,stripePublishableKey:n}=e,i=(0,eM.useMemo)(()=>["stripe-sdk",{externalGatewayId:r,stripePublishableKey:n}],[r,n]),a=r9({authenticated:!0});return rD({queryKey:i,queryFn:()=>t&&r&&n?t.loadStripe(n,{stripeAccount:r}):null,enabled:!!(t&&r&&n)&&a,staleTime:6e4,refetchOnWindowFocus:!1,placeholderData:rR(!0)}).data}({stripeClerkLibs:i,externalGatewayId:null==o?void 0:o.externalGatewayId,stripePublishableKey:l}),initializePaymentMethod:s,externalClientSecret:null==o?void 0:o.externalClientSecret,paymentMethodOrder:null==o?void 0:o.paymentMethodOrder}},[nM,nD]=rg("PaymentElementContext"),[nz,nj]=rg("StripeUtilsContext"),nU=e=>{let{children:t}=e,r=(()=>{let{stripe:e}=nA("calls useStripe()");return e})(),n=(()=>{let{elements:e}=nb(eM.useContext(nm),"calls useElements()");return e})();return eM.createElement(nz.Provider,{value:{value:{stripe:r,elements:n}}},t)},nL=e=>{let{children:t}=e;return eM.createElement(nz.Provider,{value:{value:{}}},t)},nN=e=>{let{children:t,...r}=e,n=nT(r.for),[i,a]=(0,eM.useState)(!1);return eM.createElement(nM.Provider,{value:{value:{...r,...n,setIsPaymentElementReady:a,isPaymentElementReady:i}}},t)},nF=e=>{let{children:t,...r}=e;return eM.createElement(nN,r,eM.createElement(nq,null,t))},nq=e=>{let{stripe:t,externalClientSecret:r,stripeAppearance:n}=nD(),i=(()=>{let e=rB(),t="en";try{var r;t=(null==(r=e.__internal_getOption("localization"))?void 0:r.locale)||"en"}catch{}return t.split("-")[0]})();return t&&r?eM.createElement(nw,{key:r,stripe:t,options:{loader:"never",clientSecret:r,appearance:{variables:n},locale:i}},eM.createElement(nU,null,e.children)):eM.createElement(nL,null,e.children)},nW=e=>{let{fallback:t}=e,{setIsPaymentElementReady:r,paymentMethodOrder:n,checkout:i,stripe:a,externalClientSecret:o,paymentDescription:s,for:l}=nD(),u=rB().__internal_environment,c=(0,eM.useMemo)(()=>{var e;if(i&&i.totals&&i.plan)return{recurringPaymentRequest:{paymentDescription:s||"",managementURL:"organization"===l?(null==u?void 0:u.displayConfig.organizationProfileUrl)||"":(null==u?void 0:u.displayConfig.userProfileUrl)||"",regularBilling:{amount:(null==(e=i.totals.totalDueNow)?void 0:e.amount)||i.totals.grandTotal.amount,label:i.plan.name,recurringPaymentIntervalUnit:"annual"===i.planPeriod?"year":"month"}}}},[i,s,l,u]),f=(0,eM.useMemo)(()=>({layout:{type:"tabs",defaultCollapsed:!1},paymentMethodOrder:n,applePay:c}),[c,n]),h=(0,eM.useCallback)(()=>{r(!0)},[r]);return a&&o?eM.createElement(nI,{fallback:t,onReady:h,options:f}):eM.createElement(eM.Fragment,null,t)},n$=()=>{throw Error("Clerk: Unable to submit, Stripe libraries are not yet loaded. Be sure to check `isFormReady` before calling `submit`.")},nB=()=>{let{isPaymentElementReady:e,initializePaymentMethod:t}=nD(),{stripe:r,elements:n}=nj(),{externalClientSecret:i}=nD(),a=(0,eM.useCallback)(async()=>{if(!r||!n)return n$();let{setupIntent:e,error:t}=await r.confirmSetup({elements:n,confirmParams:{return_url:window.location.href},redirect:"if_required"});return t?{data:null,error:{gateway:"stripe",error:{code:t.code,message:t.message,type:t.type}}}:{data:{gateway:"stripe",paymentToken:e.payment_method},error:null}},[r,n]),o=(0,eM.useCallback)(async()=>{if(!r||!n)return n$();await t()},[r,n,t]),s=!!(r&&i);return s?{submit:a,reset:o,isFormReady:e,provider:{name:"stripe"},isProviderReady:s}:{submit:n$,reset:n$,isFormReady:!1,provider:void 0,isProviderReady:!1}},[nK,,nY]=rg("PortalProvider"),nV=e=>{let{children:t,getContainer:r}=e,n=eM.useMemo(()=>({value:{getContainer:r}}),[r]);return eM.createElement(nK.Provider,{value:n},t)};nV.displayName="UNSAFE_PortalProvider";let nQ=()=>{let e=nY();return e&&"getContainer"in e&&e.getContainer?e.getContainer:()=>null}},56874(e,t,r){function n(e){let t=e||"";return t.charAt(0).toUpperCase()+t.slice(1)}function i(e){return e?e.replace(/([-_][a-z])/g,e=>e.toUpperCase().replace(/-|_/,"")):""}function a(e){return e?e.replace(/[A-Z]/g,e=>"_".concat(e.toLowerCase())):""}r(85281),r(96954),r(42949),r(37891),r(36395),r(34330),r(46455);let o=e=>{let t=r=>{if(!r)return r;if(Array.isArray(r))return r.map(e=>"object"==typeof e||Array.isArray(e)?t(e):e);let n={...r};for(let r of Object.keys(n)){let i=e(r.toString());i!==r&&(n[i]=n[r],delete n[r]),"object"==typeof n[i]&&(n[i]=t(n[i]))}return n};return t};function s(e){if("boolean"==typeof e)return e;if(null==e)return!1;if("string"==typeof e){if("true"===e.toLowerCase())return!0;if("false"===e.toLowerCase())return!1}let t=parseInt(e,10);return!isNaN(t)&&t>0}o(a),o(i),r.d(t,{C8:()=>a,Ns:()=>n,sF:()=>i,zz:()=>s})},4653(e,t,r){r.d(t,{ph:()=>a.t,aY:()=>s,b_:()=>n.r,lQ:()=>i.t});var n=r(91311),i=r(98591),a=r(64093);r(42949),r(37891),r(73560),r(36395),r(67548),r(70954),r(98803),r(79162),r(15385),r(39342),r(69152);let o=new Set(["__proto__","constructor","prototype"]),s=(e,t)=>{if(e&&t)for(let r in e)!o.has(r)&&(Object.prototype.hasOwnProperty.call(e,r)&&null!==e[r]&&"object"==typeof e[r]?(void 0===t[r]&&(t[r]=new(Object.getPrototypeOf(e[r])).constructor),s(e[r],t[r])):Object.prototype.hasOwnProperty.call(e,r)&&void 0!==e[r]&&(t[r]=e[r]))}}},i={};function a(e){var t=i[e];if(void 0!==t)return t.exports;var r=i[e]={exports:{}};return n[e].call(r.exports,r,r.exports,a),r.exports}a.m=n,a.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return a.d(t,{a:t}),t},s=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,a.t=function(e,t){if(1&t&&(e=this(e)),8&t||"object"==typeof e&&e&&(4&t&&e.__esModule||16&t&&"function"==typeof e.then))return e;var r=Object.create(null);a.r(r);var n={};o=o||[null,s({}),s([]),s(s)];for(var i=2&t&&e;("object"==typeof i||"function"==typeof i)&&!~o.indexOf(i);i=s(i))Object.getOwnPropertyNames(i).forEach(t=>{n[t]=()=>e[t]});return n.default=()=>e,a.d(r,n),r},a.d=(e,t,r)=>{var n=(t,r)=>{for(var n in t)a.o(t,n)&&!a.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,[r]:t[n]})};n(t,"get"),n(r,"value")},a.f={},a.e=e=>Promise.all(Object.keys(a.f).reduce((t,r)=>(a.f[r](e,t),t),[])),a.u=e=>""+(({1058:"useravatar",1256:"checkout",1264:"op-plans-page",1545:"vendors",1723:"taskChooseOrganization",2099:"userbutton",2259:"up-billing-page",2533:"enableOrganizationsPrompt",26:"framework",2841:"planDetails",2888:"op-security-page",289:"op-billing-page",3328:"blankcaptcha",4122:"payment-attempt-page",472:"signup",505:"revoke-api-key-modal",522:"keylessPrompt",5265:"waitlist",5364:"organizationswitcher",5591:"oauthConsent",5608:"prefetchorganizationlist",5636:"userverification",5721:"onetap",6390:"sessionTasks",6666:"ui-common",7004:"taskSetupMFA",7030:"pricingTable",7110:"up-plans-page",718:"userprofile",7223:"op-api-keys-page",7451:"subscriptionDetails",7627:"statement-page",7817:"up-api-keys-page",7971:"configureSSO",799:"organizationlist",8010:"signin",8067:"taskResetPassword",8310:"organizationprofile",8326:"apiKeys",8394:"copy-api-key-modal",8917:"impersonationfab",9188:"web3-solana-wallet-buttons",9243:"createorganization"})[e]||e)+"_ui_"+a.h().slice(0,6)+"_1.22.1-canary.v20260625035239.js",a.h=()=>"8a3bfdd5ae17e51f",a.g=(()=>{if("object"==typeof globalThis)return globalThis;try{return this||Function("return this")()}catch(e){if("object"==typeof window)return window}})(),a.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),l={},a.l=function(e,t,r,n){if(l[e])return void l[e].push(t);if(void 0!==r)for(var i,o,s=document.getElementsByTagName("script"),u=0;u<s.length;u++){var c=s[u];if(c.getAttribute("src")==e||c.getAttribute("data-rspack")=="@clerk/ui:"+r){i=c;break}}i||(o=!0,(i=document.createElement("script")).timeout=120,a.nc&&i.setAttribute("nonce",a.nc),i.setAttribute("data-rspack","@clerk/ui:"+r),i.src=e),l[e]=[t];var f=function(t,r){i.onerror=i.onload=null,clearTimeout(h);var n=l[e];if(delete l[e],i.parentNode&&i.parentNode.removeChild(i),n&&n.forEach(function(e){return e(r)}),t)return t(r)},h=setTimeout(f.bind(null,void 0,{type:"timeout",target:i}),12e4);i.onerror=f.bind(null,i.onerror),i.onload=f.bind(null,i.onload),o&&document.head.appendChild(i)},a.r=e=>{"u">typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),a.g.importScripts&&(u=a.g.location+"");var o,s,l,u,c=a.g.document;if(!u&&c&&(c.currentScript&&"SCRIPT"===c.currentScript.tagName.toUpperCase()&&(u=c.currentScript.src),!u)){var f=c.getElementsByTagName("script");if(f.length)for(var h=f.length-1;h>-1&&(!u||!/^http(s?):/.test(u));)u=f[h--].src}if(!u)throw Error("Automatic publicPath is not supported in this browser");return a.p=u=u.replace(/^blob:/,"").replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),e={991:0},a.f.j=function(t,r){var n=a.o(e,t)?e[t]:void 0;if(0!==n)if(n)r.push(n[2]);else{var i=new Promise((r,i)=>n=e[t]=[r,i]);r.push(n[2]=i);var o=a.p+a.u(t),s=Error();a.l(o,function(r){if(a.o(e,t)&&(0!==(n=e[t])&&(e[t]=void 0),n)){var i=r&&("load"===r.type?"missing":r.type),o=r&&r.target&&r.target.src;s.message="Loading chunk "+t+" failed.\n("+i+": "+o+")",s.name="ChunkLoadError",s.type=i,s.request=o,n[1](s)}},"chunk-"+t,t)}},t=(t,r)=>{var n,i,[o,s,l]=r,u=0;if(o.some(t=>0!==e[t])){for(n in s)a.o(s,n)&&(a.m[n]=s[n]);l&&l(a)}for(t&&t(r);u<o.length;u++)i=o[u],a.o(e,i)&&e[i]&&e[i][0](),e[i]=0},(r=globalThis.rspackChunk_clerk_ui=globalThis.rspackChunk_clerk_ui||[]).forEach(t.bind(null,0)),r.push=t.bind(null,r.push.bind(r)),a(39817)})());