@clerk/ui 1.30.5-snapshot.v20260819182138 → 1.30.5

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 (167) 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-common_ui_c841ec_1.30.5-snapshot.v20260819182138.js → ui-common_ui_5d6c4a_1.30.5.js} +2 -2
  7. package/dist/{ui-common_ui_54edea_1.30.5-snapshot.v20260819182138.js → ui-common_ui_ad2bab_1.30.5.js} +1 -1
  8. package/dist/{ui-common_ui_42ebb7_1.30.5-snapshot.v20260819182138.js → ui-common_ui_d47027_1.30.5.js} +2 -2
  9. package/dist/ui.browser.js +7 -7
  10. package/dist/ui.legacy.browser.js +1 -1
  11. package/dist/ui.shared.browser.js +7 -7
  12. package/package.json +4 -4
  13. /package/dist/{4424_ui_c841ec_1.30.5-snapshot.v20260819182138.js → 4424_ui_5d6c4a_1.30.5.js} +0 -0
  14. /package/dist/{4424_ui_54edea_1.30.5-snapshot.v20260819182138.js → 4424_ui_ad2bab_1.30.5.js} +0 -0
  15. /package/dist/{4424_ui_42ebb7_1.30.5-snapshot.v20260819182138.js → 4424_ui_d47027_1.30.5.js} +0 -0
  16. /package/dist/{4718_ui_c841ec_1.30.5-snapshot.v20260819182138.js → 4718_ui_5d6c4a_1.30.5.js} +0 -0
  17. /package/dist/{4718_ui_54edea_1.30.5-snapshot.v20260819182138.js → 4718_ui_ad2bab_1.30.5.js} +0 -0
  18. /package/dist/{4718_ui_42ebb7_1.30.5-snapshot.v20260819182138.js → 4718_ui_d47027_1.30.5.js} +0 -0
  19. /package/dist/{6678_ui_c841ec_1.30.5-snapshot.v20260819182138.js → 6678_ui_5d6c4a_1.30.5.js} +0 -0
  20. /package/dist/{6678_ui_54edea_1.30.5-snapshot.v20260819182138.js → 6678_ui_ad2bab_1.30.5.js} +0 -0
  21. /package/dist/{6678_ui_42ebb7_1.30.5-snapshot.v20260819182138.js → 6678_ui_d47027_1.30.5.js} +0 -0
  22. /package/dist/{7574_ui_c841ec_1.30.5-snapshot.v20260819182138.js → 7574_ui_5d6c4a_1.30.5.js} +0 -0
  23. /package/dist/{7574_ui_54edea_1.30.5-snapshot.v20260819182138.js → 7574_ui_ad2bab_1.30.5.js} +0 -0
  24. /package/dist/{7574_ui_42ebb7_1.30.5-snapshot.v20260819182138.js → 7574_ui_d47027_1.30.5.js} +0 -0
  25. /package/dist/{8316_ui_c841ec_1.30.5-snapshot.v20260819182138.js → 8316_ui_5d6c4a_1.30.5.js} +0 -0
  26. /package/dist/{8316_ui_54edea_1.30.5-snapshot.v20260819182138.js → 8316_ui_ad2bab_1.30.5.js} +0 -0
  27. /package/dist/{8316_ui_42ebb7_1.30.5-snapshot.v20260819182138.js → 8316_ui_d47027_1.30.5.js} +0 -0
  28. /package/dist/{8746_ui_c841ec_1.30.5-snapshot.v20260819182138.js → 8746_ui_5d6c4a_1.30.5.js} +0 -0
  29. /package/dist/{8746_ui_54edea_1.30.5-snapshot.v20260819182138.js → 8746_ui_ad2bab_1.30.5.js} +0 -0
  30. /package/dist/{8746_ui_42ebb7_1.30.5-snapshot.v20260819182138.js → 8746_ui_d47027_1.30.5.js} +0 -0
  31. /package/dist/{9419_ui_c841ec_1.30.5-snapshot.v20260819182138.js → 9419_ui_5d6c4a_1.30.5.js} +0 -0
  32. /package/dist/{9419_ui_54edea_1.30.5-snapshot.v20260819182138.js → 9419_ui_ad2bab_1.30.5.js} +0 -0
  33. /package/dist/{9419_ui_42ebb7_1.30.5-snapshot.v20260819182138.js → 9419_ui_d47027_1.30.5.js} +0 -0
  34. /package/dist/{980_ui_c841ec_1.30.5-snapshot.v20260819182138.js → 980_ui_5d6c4a_1.30.5.js} +0 -0
  35. /package/dist/{980_ui_54edea_1.30.5-snapshot.v20260819182138.js → 980_ui_ad2bab_1.30.5.js} +0 -0
  36. /package/dist/{980_ui_42ebb7_1.30.5-snapshot.v20260819182138.js → 980_ui_d47027_1.30.5.js} +0 -0
  37. /package/dist/{apiKeys_ui_c841ec_1.30.5-snapshot.v20260819182138.js → apiKeys_ui_5d6c4a_1.30.5.js} +0 -0
  38. /package/dist/{apiKeys_ui_54edea_1.30.5-snapshot.v20260819182138.js → apiKeys_ui_ad2bab_1.30.5.js} +0 -0
  39. /package/dist/{apiKeys_ui_42ebb7_1.30.5-snapshot.v20260819182138.js → apiKeys_ui_d47027_1.30.5.js} +0 -0
  40. /package/dist/{blankcaptcha_ui_42ebb7_1.30.5-snapshot.v20260819182138.js → blankcaptcha_ui_5d6c4a_1.30.5.js} +0 -0
  41. /package/dist/{blankcaptcha_ui_54edea_1.30.5-snapshot.v20260819182138.js → blankcaptcha_ui_ad2bab_1.30.5.js} +0 -0
  42. /package/dist/{blankcaptcha_ui_c841ec_1.30.5-snapshot.v20260819182138.js → blankcaptcha_ui_d47027_1.30.5.js} +0 -0
  43. /package/dist/{checkout_ui_c841ec_1.30.5-snapshot.v20260819182138.js → checkout_ui_5d6c4a_1.30.5.js} +0 -0
  44. /package/dist/{checkout_ui_54edea_1.30.5-snapshot.v20260819182138.js → checkout_ui_ad2bab_1.30.5.js} +0 -0
  45. /package/dist/{checkout_ui_42ebb7_1.30.5-snapshot.v20260819182138.js → checkout_ui_d47027_1.30.5.js} +0 -0
  46. /package/dist/{configureSSO_ui_c841ec_1.30.5-snapshot.v20260819182138.js → configureSSO_ui_5d6c4a_1.30.5.js} +0 -0
  47. /package/dist/{configureSSO_ui_54edea_1.30.5-snapshot.v20260819182138.js → configureSSO_ui_ad2bab_1.30.5.js} +0 -0
  48. /package/dist/{configureSSO_ui_42ebb7_1.30.5-snapshot.v20260819182138.js → configureSSO_ui_d47027_1.30.5.js} +0 -0
  49. /package/dist/{copy-api-key-modal_ui_c841ec_1.30.5-snapshot.v20260819182138.js → copy-api-key-modal_ui_5d6c4a_1.30.5.js} +0 -0
  50. /package/dist/{copy-api-key-modal_ui_54edea_1.30.5-snapshot.v20260819182138.js → copy-api-key-modal_ui_ad2bab_1.30.5.js} +0 -0
  51. /package/dist/{copy-api-key-modal_ui_42ebb7_1.30.5-snapshot.v20260819182138.js → copy-api-key-modal_ui_d47027_1.30.5.js} +0 -0
  52. /package/dist/{createorganization_ui_c841ec_1.30.5-snapshot.v20260819182138.js → createorganization_ui_5d6c4a_1.30.5.js} +0 -0
  53. /package/dist/{createorganization_ui_54edea_1.30.5-snapshot.v20260819182138.js → createorganization_ui_ad2bab_1.30.5.js} +0 -0
  54. /package/dist/{createorganization_ui_42ebb7_1.30.5-snapshot.v20260819182138.js → createorganization_ui_d47027_1.30.5.js} +0 -0
  55. /package/dist/{credit-history-page_ui_42ebb7_1.30.5-snapshot.v20260819182138.js → credit-history-page_ui_5d6c4a_1.30.5.js} +0 -0
  56. /package/dist/{credit-history-page_ui_54edea_1.30.5-snapshot.v20260819182138.js → credit-history-page_ui_ad2bab_1.30.5.js} +0 -0
  57. /package/dist/{credit-history-page_ui_c841ec_1.30.5-snapshot.v20260819182138.js → credit-history-page_ui_d47027_1.30.5.js} +0 -0
  58. /package/dist/{enableOrganizationsPrompt_ui_c841ec_1.30.5-snapshot.v20260819182138.js → enableOrganizationsPrompt_ui_5d6c4a_1.30.5.js} +0 -0
  59. /package/dist/{enableOrganizationsPrompt_ui_54edea_1.30.5-snapshot.v20260819182138.js → enableOrganizationsPrompt_ui_ad2bab_1.30.5.js} +0 -0
  60. /package/dist/{enableOrganizationsPrompt_ui_42ebb7_1.30.5-snapshot.v20260819182138.js → enableOrganizationsPrompt_ui_d47027_1.30.5.js} +0 -0
  61. /package/dist/{framework_ui_54edea_1.30.5-snapshot.v20260819182138.js → framework_ui_ad2bab_1.30.5.js} +0 -0
  62. /package/dist/{framework_ui_42ebb7_1.30.5-snapshot.v20260819182138.js → framework_ui_d47027_1.30.5.js} +0 -0
  63. /package/dist/{impersonationfab_ui_c841ec_1.30.5-snapshot.v20260819182138.js → impersonationfab_ui_5d6c4a_1.30.5.js} +0 -0
  64. /package/dist/{impersonationfab_ui_54edea_1.30.5-snapshot.v20260819182138.js → impersonationfab_ui_ad2bab_1.30.5.js} +0 -0
  65. /package/dist/{impersonationfab_ui_42ebb7_1.30.5-snapshot.v20260819182138.js → impersonationfab_ui_d47027_1.30.5.js} +0 -0
  66. /package/dist/{invitemembers_ui_42ebb7_1.30.5-snapshot.v20260819182138.js → invitemembers_ui_5d6c4a_1.30.5.js} +0 -0
  67. /package/dist/{invitemembers_ui_54edea_1.30.5-snapshot.v20260819182138.js → invitemembers_ui_ad2bab_1.30.5.js} +0 -0
  68. /package/dist/{invitemembers_ui_c841ec_1.30.5-snapshot.v20260819182138.js → invitemembers_ui_d47027_1.30.5.js} +0 -0
  69. /package/dist/{keylessPrompt_ui_c841ec_1.30.5-snapshot.v20260819182138.js → keylessPrompt_ui_5d6c4a_1.30.5.js} +0 -0
  70. /package/dist/{keylessPrompt_ui_54edea_1.30.5-snapshot.v20260819182138.js → keylessPrompt_ui_ad2bab_1.30.5.js} +0 -0
  71. /package/dist/{keylessPrompt_ui_42ebb7_1.30.5-snapshot.v20260819182138.js → keylessPrompt_ui_d47027_1.30.5.js} +0 -0
  72. /package/dist/{oauthConsent_ui_c841ec_1.30.5-snapshot.v20260819182138.js → oauthConsent_ui_5d6c4a_1.30.5.js} +0 -0
  73. /package/dist/{oauthConsent_ui_54edea_1.30.5-snapshot.v20260819182138.js → oauthConsent_ui_ad2bab_1.30.5.js} +0 -0
  74. /package/dist/{oauthConsent_ui_42ebb7_1.30.5-snapshot.v20260819182138.js → oauthConsent_ui_d47027_1.30.5.js} +0 -0
  75. /package/dist/{onetap_ui_c841ec_1.30.5-snapshot.v20260819182138.js → onetap_ui_5d6c4a_1.30.5.js} +0 -0
  76. /package/dist/{onetap_ui_54edea_1.30.5-snapshot.v20260819182138.js → onetap_ui_ad2bab_1.30.5.js} +0 -0
  77. /package/dist/{onetap_ui_42ebb7_1.30.5-snapshot.v20260819182138.js → onetap_ui_d47027_1.30.5.js} +0 -0
  78. /package/dist/{op-api-keys-page_ui_42ebb7_1.30.5-snapshot.v20260819182138.js → op-api-keys-page_ui_5d6c4a_1.30.5.js} +0 -0
  79. /package/dist/{op-api-keys-page_ui_54edea_1.30.5-snapshot.v20260819182138.js → op-api-keys-page_ui_ad2bab_1.30.5.js} +0 -0
  80. /package/dist/{op-api-keys-page_ui_c841ec_1.30.5-snapshot.v20260819182138.js → op-api-keys-page_ui_d47027_1.30.5.js} +0 -0
  81. /package/dist/{op-billing-page_ui_42ebb7_1.30.5-snapshot.v20260819182138.js → op-billing-page_ui_5d6c4a_1.30.5.js} +0 -0
  82. /package/dist/{op-billing-page_ui_54edea_1.30.5-snapshot.v20260819182138.js → op-billing-page_ui_ad2bab_1.30.5.js} +0 -0
  83. /package/dist/{op-billing-page_ui_c841ec_1.30.5-snapshot.v20260819182138.js → op-billing-page_ui_d47027_1.30.5.js} +0 -0
  84. /package/dist/{op-plans-page_ui_42ebb7_1.30.5-snapshot.v20260819182138.js → op-plans-page_ui_5d6c4a_1.30.5.js} +0 -0
  85. /package/dist/{op-plans-page_ui_54edea_1.30.5-snapshot.v20260819182138.js → op-plans-page_ui_ad2bab_1.30.5.js} +0 -0
  86. /package/dist/{op-plans-page_ui_c841ec_1.30.5-snapshot.v20260819182138.js → op-plans-page_ui_d47027_1.30.5.js} +0 -0
  87. /package/dist/{op-security-page_ui_c841ec_1.30.5-snapshot.v20260819182138.js → op-security-page_ui_5d6c4a_1.30.5.js} +0 -0
  88. /package/dist/{op-security-page_ui_54edea_1.30.5-snapshot.v20260819182138.js → op-security-page_ui_ad2bab_1.30.5.js} +0 -0
  89. /package/dist/{op-security-page_ui_42ebb7_1.30.5-snapshot.v20260819182138.js → op-security-page_ui_d47027_1.30.5.js} +0 -0
  90. /package/dist/{organizationlist_ui_c841ec_1.30.5-snapshot.v20260819182138.js → organizationlist_ui_5d6c4a_1.30.5.js} +0 -0
  91. /package/dist/{organizationlist_ui_54edea_1.30.5-snapshot.v20260819182138.js → organizationlist_ui_ad2bab_1.30.5.js} +0 -0
  92. /package/dist/{organizationlist_ui_42ebb7_1.30.5-snapshot.v20260819182138.js → organizationlist_ui_d47027_1.30.5.js} +0 -0
  93. /package/dist/{organizationprofile_ui_c841ec_1.30.5-snapshot.v20260819182138.js → organizationprofile_ui_5d6c4a_1.30.5.js} +0 -0
  94. /package/dist/{organizationprofile_ui_54edea_1.30.5-snapshot.v20260819182138.js → organizationprofile_ui_ad2bab_1.30.5.js} +0 -0
  95. /package/dist/{organizationprofile_ui_42ebb7_1.30.5-snapshot.v20260819182138.js → organizationprofile_ui_d47027_1.30.5.js} +0 -0
  96. /package/dist/{organizationswitcher_ui_c841ec_1.30.5-snapshot.v20260819182138.js → organizationswitcher_ui_5d6c4a_1.30.5.js} +0 -0
  97. /package/dist/{organizationswitcher_ui_54edea_1.30.5-snapshot.v20260819182138.js → organizationswitcher_ui_ad2bab_1.30.5.js} +0 -0
  98. /package/dist/{organizationswitcher_ui_42ebb7_1.30.5-snapshot.v20260819182138.js → organizationswitcher_ui_d47027_1.30.5.js} +0 -0
  99. /package/dist/{payment-attempt-page_ui_42ebb7_1.30.5-snapshot.v20260819182138.js → payment-attempt-page_ui_5d6c4a_1.30.5.js} +0 -0
  100. /package/dist/{payment-attempt-page_ui_54edea_1.30.5-snapshot.v20260819182138.js → payment-attempt-page_ui_ad2bab_1.30.5.js} +0 -0
  101. /package/dist/{payment-attempt-page_ui_c841ec_1.30.5-snapshot.v20260819182138.js → payment-attempt-page_ui_d47027_1.30.5.js} +0 -0
  102. /package/dist/{planDetails_ui_c841ec_1.30.5-snapshot.v20260819182138.js → planDetails_ui_5d6c4a_1.30.5.js} +0 -0
  103. /package/dist/{planDetails_ui_54edea_1.30.5-snapshot.v20260819182138.js → planDetails_ui_ad2bab_1.30.5.js} +0 -0
  104. /package/dist/{planDetails_ui_42ebb7_1.30.5-snapshot.v20260819182138.js → planDetails_ui_d47027_1.30.5.js} +0 -0
  105. /package/dist/{prefetchorganizationlist_ui_42ebb7_1.30.5-snapshot.v20260819182138.js → prefetchorganizationlist_ui_5d6c4a_1.30.5.js} +0 -0
  106. /package/dist/{prefetchorganizationlist_ui_54edea_1.30.5-snapshot.v20260819182138.js → prefetchorganizationlist_ui_ad2bab_1.30.5.js} +0 -0
  107. /package/dist/{prefetchorganizationlist_ui_c841ec_1.30.5-snapshot.v20260819182138.js → prefetchorganizationlist_ui_d47027_1.30.5.js} +0 -0
  108. /package/dist/{pricingTable_ui_c841ec_1.30.5-snapshot.v20260819182138.js → pricingTable_ui_5d6c4a_1.30.5.js} +0 -0
  109. /package/dist/{pricingTable_ui_54edea_1.30.5-snapshot.v20260819182138.js → pricingTable_ui_ad2bab_1.30.5.js} +0 -0
  110. /package/dist/{pricingTable_ui_42ebb7_1.30.5-snapshot.v20260819182138.js → pricingTable_ui_d47027_1.30.5.js} +0 -0
  111. /package/dist/{revoke-api-key-modal_ui_c841ec_1.30.5-snapshot.v20260819182138.js → revoke-api-key-modal_ui_5d6c4a_1.30.5.js} +0 -0
  112. /package/dist/{revoke-api-key-modal_ui_54edea_1.30.5-snapshot.v20260819182138.js → revoke-api-key-modal_ui_ad2bab_1.30.5.js} +0 -0
  113. /package/dist/{revoke-api-key-modal_ui_42ebb7_1.30.5-snapshot.v20260819182138.js → revoke-api-key-modal_ui_d47027_1.30.5.js} +0 -0
  114. /package/dist/{sessionTasks_ui_c841ec_1.30.5-snapshot.v20260819182138.js → sessionTasks_ui_5d6c4a_1.30.5.js} +0 -0
  115. /package/dist/{sessionTasks_ui_54edea_1.30.5-snapshot.v20260819182138.js → sessionTasks_ui_ad2bab_1.30.5.js} +0 -0
  116. /package/dist/{sessionTasks_ui_42ebb7_1.30.5-snapshot.v20260819182138.js → sessionTasks_ui_d47027_1.30.5.js} +0 -0
  117. /package/dist/{signin_ui_c841ec_1.30.5-snapshot.v20260819182138.js → signin_ui_5d6c4a_1.30.5.js} +0 -0
  118. /package/dist/{signin_ui_54edea_1.30.5-snapshot.v20260819182138.js → signin_ui_ad2bab_1.30.5.js} +0 -0
  119. /package/dist/{signin_ui_42ebb7_1.30.5-snapshot.v20260819182138.js → signin_ui_d47027_1.30.5.js} +0 -0
  120. /package/dist/{signup_ui_c841ec_1.30.5-snapshot.v20260819182138.js → signup_ui_5d6c4a_1.30.5.js} +0 -0
  121. /package/dist/{signup_ui_54edea_1.30.5-snapshot.v20260819182138.js → signup_ui_ad2bab_1.30.5.js} +0 -0
  122. /package/dist/{signup_ui_42ebb7_1.30.5-snapshot.v20260819182138.js → signup_ui_d47027_1.30.5.js} +0 -0
  123. /package/dist/{statement-page_ui_c841ec_1.30.5-snapshot.v20260819182138.js → statement-page_ui_5d6c4a_1.30.5.js} +0 -0
  124. /package/dist/{statement-page_ui_54edea_1.30.5-snapshot.v20260819182138.js → statement-page_ui_ad2bab_1.30.5.js} +0 -0
  125. /package/dist/{statement-page_ui_42ebb7_1.30.5-snapshot.v20260819182138.js → statement-page_ui_d47027_1.30.5.js} +0 -0
  126. /package/dist/{subscriptionDetails_ui_c841ec_1.30.5-snapshot.v20260819182138.js → subscriptionDetails_ui_5d6c4a_1.30.5.js} +0 -0
  127. /package/dist/{subscriptionDetails_ui_54edea_1.30.5-snapshot.v20260819182138.js → subscriptionDetails_ui_ad2bab_1.30.5.js} +0 -0
  128. /package/dist/{subscriptionDetails_ui_42ebb7_1.30.5-snapshot.v20260819182138.js → subscriptionDetails_ui_d47027_1.30.5.js} +0 -0
  129. /package/dist/{taskChooseOrganization_ui_c841ec_1.30.5-snapshot.v20260819182138.js → taskChooseOrganization_ui_5d6c4a_1.30.5.js} +0 -0
  130. /package/dist/{taskChooseOrganization_ui_54edea_1.30.5-snapshot.v20260819182138.js → taskChooseOrganization_ui_ad2bab_1.30.5.js} +0 -0
  131. /package/dist/{taskChooseOrganization_ui_42ebb7_1.30.5-snapshot.v20260819182138.js → taskChooseOrganization_ui_d47027_1.30.5.js} +0 -0
  132. /package/dist/{taskResetPassword_ui_c841ec_1.30.5-snapshot.v20260819182138.js → taskResetPassword_ui_5d6c4a_1.30.5.js} +0 -0
  133. /package/dist/{taskResetPassword_ui_54edea_1.30.5-snapshot.v20260819182138.js → taskResetPassword_ui_ad2bab_1.30.5.js} +0 -0
  134. /package/dist/{taskResetPassword_ui_42ebb7_1.30.5-snapshot.v20260819182138.js → taskResetPassword_ui_d47027_1.30.5.js} +0 -0
  135. /package/dist/{taskSetupMFA_ui_c841ec_1.30.5-snapshot.v20260819182138.js → taskSetupMFA_ui_5d6c4a_1.30.5.js} +0 -0
  136. /package/dist/{taskSetupMFA_ui_54edea_1.30.5-snapshot.v20260819182138.js → taskSetupMFA_ui_ad2bab_1.30.5.js} +0 -0
  137. /package/dist/{taskSetupMFA_ui_42ebb7_1.30.5-snapshot.v20260819182138.js → taskSetupMFA_ui_d47027_1.30.5.js} +0 -0
  138. /package/dist/{up-api-keys-page_ui_42ebb7_1.30.5-snapshot.v20260819182138.js → up-api-keys-page_ui_5d6c4a_1.30.5.js} +0 -0
  139. /package/dist/{up-api-keys-page_ui_54edea_1.30.5-snapshot.v20260819182138.js → up-api-keys-page_ui_ad2bab_1.30.5.js} +0 -0
  140. /package/dist/{up-api-keys-page_ui_c841ec_1.30.5-snapshot.v20260819182138.js → up-api-keys-page_ui_d47027_1.30.5.js} +0 -0
  141. /package/dist/{up-billing-page_ui_42ebb7_1.30.5-snapshot.v20260819182138.js → up-billing-page_ui_5d6c4a_1.30.5.js} +0 -0
  142. /package/dist/{up-billing-page_ui_54edea_1.30.5-snapshot.v20260819182138.js → up-billing-page_ui_ad2bab_1.30.5.js} +0 -0
  143. /package/dist/{up-billing-page_ui_c841ec_1.30.5-snapshot.v20260819182138.js → up-billing-page_ui_d47027_1.30.5.js} +0 -0
  144. /package/dist/{up-plans-page_ui_42ebb7_1.30.5-snapshot.v20260819182138.js → up-plans-page_ui_5d6c4a_1.30.5.js} +0 -0
  145. /package/dist/{up-plans-page_ui_54edea_1.30.5-snapshot.v20260819182138.js → up-plans-page_ui_ad2bab_1.30.5.js} +0 -0
  146. /package/dist/{up-plans-page_ui_c841ec_1.30.5-snapshot.v20260819182138.js → up-plans-page_ui_d47027_1.30.5.js} +0 -0
  147. /package/dist/{useravatar_ui_c841ec_1.30.5-snapshot.v20260819182138.js → useravatar_ui_5d6c4a_1.30.5.js} +0 -0
  148. /package/dist/{useravatar_ui_54edea_1.30.5-snapshot.v20260819182138.js → useravatar_ui_ad2bab_1.30.5.js} +0 -0
  149. /package/dist/{useravatar_ui_42ebb7_1.30.5-snapshot.v20260819182138.js → useravatar_ui_d47027_1.30.5.js} +0 -0
  150. /package/dist/{userbutton_ui_c841ec_1.30.5-snapshot.v20260819182138.js → userbutton_ui_5d6c4a_1.30.5.js} +0 -0
  151. /package/dist/{userbutton_ui_54edea_1.30.5-snapshot.v20260819182138.js → userbutton_ui_ad2bab_1.30.5.js} +0 -0
  152. /package/dist/{userbutton_ui_42ebb7_1.30.5-snapshot.v20260819182138.js → userbutton_ui_d47027_1.30.5.js} +0 -0
  153. /package/dist/{userprofile_ui_c841ec_1.30.5-snapshot.v20260819182138.js → userprofile_ui_5d6c4a_1.30.5.js} +0 -0
  154. /package/dist/{userprofile_ui_54edea_1.30.5-snapshot.v20260819182138.js → userprofile_ui_ad2bab_1.30.5.js} +0 -0
  155. /package/dist/{userprofile_ui_42ebb7_1.30.5-snapshot.v20260819182138.js → userprofile_ui_d47027_1.30.5.js} +0 -0
  156. /package/dist/{userverification_ui_c841ec_1.30.5-snapshot.v20260819182138.js → userverification_ui_5d6c4a_1.30.5.js} +0 -0
  157. /package/dist/{userverification_ui_54edea_1.30.5-snapshot.v20260819182138.js → userverification_ui_ad2bab_1.30.5.js} +0 -0
  158. /package/dist/{userverification_ui_42ebb7_1.30.5-snapshot.v20260819182138.js → userverification_ui_d47027_1.30.5.js} +0 -0
  159. /package/dist/{vendors_ui_c841ec_1.30.5-snapshot.v20260819182138.js → vendors_ui_5d6c4a_1.30.5.js} +0 -0
  160. /package/dist/{vendors_ui_54edea_1.30.5-snapshot.v20260819182138.js → vendors_ui_ad2bab_1.30.5.js} +0 -0
  161. /package/dist/{vendors_ui_42ebb7_1.30.5-snapshot.v20260819182138.js → vendors_ui_d47027_1.30.5.js} +0 -0
  162. /package/dist/{waitlist_ui_c841ec_1.30.5-snapshot.v20260819182138.js → waitlist_ui_5d6c4a_1.30.5.js} +0 -0
  163. /package/dist/{waitlist_ui_54edea_1.30.5-snapshot.v20260819182138.js → waitlist_ui_ad2bab_1.30.5.js} +0 -0
  164. /package/dist/{waitlist_ui_42ebb7_1.30.5-snapshot.v20260819182138.js → waitlist_ui_d47027_1.30.5.js} +0 -0
  165. /package/dist/{web3-solana-wallet-buttons_ui_c841ec_1.30.5-snapshot.v20260819182138.js → web3-solana-wallet-buttons_ui_5d6c4a_1.30.5.js} +0 -0
  166. /package/dist/{web3-solana-wallet-buttons_ui_54edea_1.30.5-snapshot.v20260819182138.js → web3-solana-wallet-buttons_ui_ad2bab_1.30.5.js} +0 -0
  167. /package/dist/{web3-solana-wallet-buttons_ui_42ebb7_1.30.5-snapshot.v20260819182138.js → web3-solana-wallet-buttons_ui_d47027_1.30.5.js} +0 -0
package/dist/ClerkUI.js CHANGED
@@ -22,8 +22,8 @@ import { isVersionAtLeast, parseVersion } from "@clerk/shared/versionCheck";
22
22
  * @public
23
23
  */
24
24
  var ClerkUI = class ClerkUI {
25
- static version = "1.30.5-snapshot.v20260819182138";
26
- version = "1.30.5-snapshot.v20260819182138";
25
+ static version = "1.30.5";
26
+ version = "1.30.5";
27
27
  #componentRenderer;
28
28
  /**
29
29
  * Creates a new `ClerkUI` instance and mounts the internal component renderer.
package/dist/index.js CHANGED
@@ -17,7 +17,7 @@ import { ClerkUI } from "./ClerkUI.js";
17
17
  */
18
18
  const ui = {
19
19
  __brand: UI_BRAND,
20
- version: "1.30.5-snapshot.v20260819182138",
20
+ version: "1.30.5",
21
21
  ClerkUI
22
22
  };
23
23
 
@@ -22,8 +22,8 @@ import { isVersionAtLeast, parseVersion } from "@clerk/shared/versionCheck";
22
22
  * @public
23
23
  */
24
24
  var ClerkUI = class ClerkUI {
25
- static version = "1.30.5-snapshot.v20260819182138";
26
- version = "1.30.5-snapshot.v20260819182138";
25
+ static version = "1.30.5";
26
+ version = "1.30.5";
27
27
  #componentRenderer;
28
28
  /**
29
29
  * Creates a new `ClerkUI` instance and mounts the internal component renderer.
@@ -17,7 +17,7 @@ import { ClerkUI } from "./ClerkUI.js";
17
17
  */
18
18
  const ui = {
19
19
  __brand: UI_BRAND,
20
- version: "1.30.5-snapshot.v20260819182138",
20
+ version: "1.30.5",
21
21
  ClerkUI
22
22
  };
23
23
 
package/dist/server.js CHANGED
@@ -22,7 +22,7 @@ import { ClerkUI } from "./ClerkUI.js";
22
22
  */
23
23
  const ui = {
24
24
  __brand: UI_BRAND,
25
- version: "1.30.5-snapshot.v20260819182138",
25
+ version: "1.30.5",
26
26
  ClerkUI
27
27
  };
28
28
 
@@ -115,8 +115,8 @@ print-color-adjust: exact !important;
115
115
  - any valid hex color
116
116
  - any valid hwb color
117
117
  - ${Object.keys(d).join(", ")}
118
- `);return t})(e);switch(t){case"hsl":return{h:r[0],s:r[1],l:r[2],a:r[3]??1};case"hwb":return h((e=>{let t,r,n,o,i=e[0]/360,a=e[1]/100,l=e[2]/100,s=e[3]??1,c=a+l;c>1&&(a/=c,l/=c);let d=Math.floor(6*i),u=1-l;t=6*i-d,(1&d)!=0&&(t=1-t);let p=a+t*(u-a);switch(d){default:case 6:case 0:r=u,n=p,o=a;break;case 1:r=p,n=u,o=a;break;case 2:r=a,n=u,o=p;break;case 3:r=a,n=p,o=u;break;case 4:r=p,n=a,o=u;break;case 5:r=u,n=a,o=p}return[255*r,255*n,255*o,s]})(r));case"rgb":return h(r)}},b=e=>"string"==typeof e?f(g(e)):f(e),v=(e,t)=>({...e,l:e.l+t}),y=(e,t)=>({...e,a:t}),w={toHslaColor:g,toHslaString:b,adjustForLightness:(e,t=5)=>{if(!e)return;let r=w.toHslaColor(e);return r?(100===r.l?r.l=95:r.l=Math.min(r.l+2*t,100),w.toHslaString(r)):e},changeHslaLightness:v,setHslaAlpha:y,lighten:(e,t=0)=>{if(!e)return;let r=g(e);return b(v(r,r.l*t))},makeTransparent:(e,t=0)=>{let r;if(!e||""===e.toString())return;let n=g(e);return b((r=(n.a??1)*t,{...n,a:n.a?n.a-r:void 0}))},makeSolid:e=>{if(e)return b({...g(e),a:1})},setAlpha:(e,t)=>e.toString()?b(y(g(e),t)):e};r.d(t,{},{T:w})},8485(e,t,r){var n=r(5744),o=r(9445);let i=Object.freeze(o.X2.reduce((e,t)=>(e[t]=void 0,e),{}));function a(e,t,r){return`color-mix(in srgb, ${e}, ${t} ${r}%)`}function l(e,t,r,n,o){return`hsl(from ${e} ${t} ${r} ${n}${o?` / ${o}`:""})`}function s(e,t){return`color-mix(in srgb, transparent, ${e} ${t}%)`}function c(e,t){return s(e,o.NO[t])}function d(e,t){if(500===t)return e;if(n.a.relativeColorSyntax())return function(e,t){if(500===t)return e;let r=o.XW[t];if(!r)return e;let{TARGET_LIGHT:n,TARGET_DARK:i,LIGHT_STEPS:a,DARK_STEPS:s}=o.Pg;return t<500?l(e,"h","s",`calc(l + (${r} * ((${n} - l) / ${a})))`):l(e,"h","s",`calc(l - (${r} * ((l - ${i}) / ${s})))`)}(e,t);if(n.a.colorMix()){if(500===t)return e;let r=o.q5[t];return r.mixColor?a(e,r.mixColor,r.percentage):e}return e}r.d(t,{D3:()=>s,LL:()=>l,Nw:()=>c,lD:()=>d,nm:()=>a},{H5:()=>({...i})})},6873(e,t,r){r.d(t,{K:()=>u});var n=r(9763),o=r(9348),i=r(7975),a=r(2930),l=r(8342),s=r(7930),c=r(5882),d=r(6610);let u=(e,t)=>p({customMenuItems:e,getDefaultMenuItems:h},t),p=({customMenuItems:e,getDefaultMenuItems:t},r)=>{let{INITIAL_MENU_ITEMS:n,validReorderItemLabels:o}=t(),i=e.filter(e=>!!f(e,o)||((0,c.w)(r)&&console.error("Clerk: Invalid custom menu item:",e),!1));(0,c.w)(r)&&(w(e,o),$(i));let{menuItems:a}=m({customMenuItems:i,defaultMenuItems:n});return a},m=({customMenuItems:e,defaultMenuItems:t})=>{let r=t.map(e=>e),i=[...e.map((e,o)=>{if(v(e))return{name:e.label,id:`custom-menutItem-${o}`,icon:t=>(0,n.Y)(s.c,{mount:e.mountIcon,unmount:e.unmountIcon,...t}),path:(0,d.K)(e.href)};if(g(e))return{name:e.label,id:`custom-menutItem-${o}`,icon:t=>(0,n.Y)(s.c,{mount:e.mountIcon,unmount:e.unmountIcon,...t}),onClick:e?.onClick};if(b(e))return{name:e.label,id:`custom-menutItem-${o}`,icon:t=>(0,n.Y)(s.c,{mount:e.mountIcon,unmount:e.unmountIcon,...t}),open:e.open};let i=t.find(t=>t.id===e.label);return r=r.filter(t=>t.id!==e.label),{...i}}),...r];return e.some(e=>e.label===o.dY.MANAGE_ACCOUNT)||i.sort(e=>e.id===o.dY.MANAGE_ACCOUNT?-1:0),{menuItems:i}},h=()=>{let e=[{name:(0,l.G)("userButton.action__manageAccount"),id:o.dY.MANAGE_ACCOUNT,icon:i.A},{name:(0,l.G)("userButton.action__signOut"),id:o.dY.SIGN_OUT,icon:a.A}],t=e.map(e=>e.id);return{INITIAL_MENU_ITEMS:e,validReorderItemLabels:t}},f=(e,t)=>(v(e)||g(e)||b(e)||y(e,t))&&"string"==typeof e.label,g=e=>!!e.label&&!!e.onClick&&!e.mount&&!e.unmount&&!!e.mountIcon&&!!e.unmountIcon,b=e=>!!e.label&&!!e.open&&!e.mount&&!e.unmount&&!!e.mountIcon&&!!e.unmountIcon,v=e=>!!e.href&&!!e.label&&!e.mount&&!e.unmount&&!!e.mountIcon&&!!e.unmountIcon,y=(e,t)=>!e.mount&&!e.unmount&&!e.mountIcon&&!e.unmountIcon&&t.some(t=>t===e.label),w=(e,t)=>{e.filter(e=>y(e,t)).reduce((e,t)=>(e.includes(t.label)&&console.error(`Clerk: The "${t.label}" item is used more than once when reordering pages. This may cause unexpected behavior.`),[...e,t.label]),[])},$=e=>{let t=e.map(e=>e.label),r=t.filter((e,r)=>t.indexOf(e)!==r);r.length>0&&console.warn(`Clerk: Duplicate custom menu item labels found: ${r.join(", ")}`)}},8956(e,t,r){r.d(t,{q:()=>$,M:()=>w});var n,o=r(9763),i=r(1059),a=r(5630),l=r(9348),s=r(5912),c=r(2022),d=r(9616),u=r(630);function p(){return(p=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)}let m=function(e){return u.createElement("svg",p({fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"},e),n||(n=u.createElement("path",{d:"M5.25 5.75 2.75 8l2.5 2.25m5.5-4.5L13.25 8l-2.5 2.25",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})))};var h=r(1942),f=r(6130),g=r(8342),b=r(7930),v=r(5882),y=r(6610);let w=(e,t,r,n)=>x({customPages:e,getDefaultRoutes:T,setFirstPathToRoot:_,excludedPathsFromDuplicateWarning:[]},t,r,n),$=(e,t,r,n,o=!1)=>x({customPages:e,getDefaultRoutes:E,setFirstPathToRoot:k,excludedPathsFromDuplicateWarning:[]},t,r,n,!0,o),x=({customPages:e,getDefaultRoutes:t,setFirstPathToRoot:r,excludedPathsFromDuplicateWarning:n},o,a,l,s,c=!1)=>{let{INITIAL_ROUTES:d,pageToRootNavbarRouteMap:u,validReorderItemLabels:p}=t({commerce:s?!(0,i.NW)(o,l)&&a:!(0,i.B_)(o,l)&&a,apiKeys:s?!(0,i.s$)(o,l):!(0,i.ui)(o,l),security:!!s&&c&&!(0,i.Ju)(o,l)});(0,v.w)(o)&&C(e,p);let{allRoutes:m,contents:h}=S({customPages:e.filter(e=>!!I(e,p)||((0,v.w)(o)&&console.error("Clerk: Invalid custom page data: ",e),!1)),defaultRoutes:d});R(m);let f=r(m);return(0,v.w)(o)&&A(f,n),{routes:f,contents:h,pageToRootNavbarRouteMap:u}},S=({customPages:e,defaultRoutes:t})=>{let r=t.map(e=>e),n=[],i=e.map((e,i)=>{if(D(e))return{name:e.label,id:`custom-page-${i}`,icon:t=>(0,o.Y)(b.c,{mount:e.mountIcon,unmount:e.unmountIcon,...t}),path:(0,y.K)(e.url),external:!0};if(P(e)){let t=Y(e.url);return n.push({url:t,mount:e.mount,unmount:e.unmount}),{name:e.label,id:`custom-page-${i}`,icon:t=>(0,o.Y)(b.c,{mount:e.mountIcon,unmount:e.unmountIcon,...t}),path:t}}let a=t.find(t=>t.id===e.label);return r=r.filter(({id:t})=>t!==e.label),{...a}});return{allRoutes:[...r,...i],contents:n}},_=e=>e.map((e,t)=>0===t?{...e,path:"/"}:e),k=e=>e.map((e,t)=>0===t?{...e,path:"/"}:e),C=(e,t)=>{e.filter(e=>z(e,t)).reduce((e,t)=>(e.includes(t.label)&&console.error(`Clerk: The "${t.label}" item is used more than once when reordering pages. This may cause unexpected behavior.`),[...e,t.label]),[])},A=(e,t)=>{let r=e.filter(({external:e,path:r})=>!e&&t.every(e=>e!==r)).map(({path:e})=>e);r.filter((e,t)=>r.indexOf(e)!==t).forEach(e=>{console.error(`Clerk: Duplicate path "${e}" found in custom pages. This may cause unexpected behavior.`)})},I=(e,t)=>P(e)||D(e)||z(e,t),P=e=>!!e.url&&!!e.label&&!!e.mount&&!!e.unmount&&!!e.mountIcon&&!!e.unmountIcon,D=e=>!!e.url&&!!e.label&&!e.mount&&!e.unmount&&!!e.mountIcon&&!!e.unmountIcon,z=(e,t)=>!e.url&&!e.mount&&!e.unmount&&!e.mountIcon&&!e.unmountIcon&&t.some(t=>t===e.label),Y=e=>{if(!e)throw Error("Clerk: URL is required for custom pages");if((0,a.AY)(e))throw Error("Clerk: Absolute URLs are not supported for custom pages");return"/"===e.charAt(0)&&e.length>1?e.substring(1):e},R=e=>{if(e[0].external)throw Error("Clerk: The first route cannot be a custom external link component")},T=({commerce:e,apiKeys:t})=>{let r=[{name:(0,g.G)("userProfile.navbar.account"),id:l.j2.ACCOUNT,icon:s.A,path:"account"},{name:(0,g.G)("userProfile.navbar.security"),id:l.j2.SECURITY,icon:c.A,path:"security"}];e&&r.push({name:(0,g.G)("userProfile.navbar.billing"),id:l.j2.BILLING,icon:d.A,path:"billing"}),t&&r.push({name:(0,g.G)("userProfile.navbar.apiKeys"),id:l.j2.API_KEYS,icon:m,path:"api-keys"});let n={profile:r.find(e=>e.id===l.j2.ACCOUNT),"email-address":r.find(e=>e.id===l.j2.ACCOUNT),"phone-number":r.find(e=>e.id===l.j2.ACCOUNT),"connected-account":r.find(e=>e.id===l.j2.ACCOUNT),"web3-wallet":r.find(e=>e.id===l.j2.ACCOUNT),username:r.find(e=>e.id===l.j2.ACCOUNT),"multi-factor":r.find(e=>e.id===l.j2.SECURITY),password:r.find(e=>e.id===l.j2.SECURITY)},o=r.map(e=>e.id);return{INITIAL_ROUTES:r,pageToRootNavbarRouteMap:n,validReorderItemLabels:o}},E=({commerce:e,apiKeys:t,security:r})=>{let n=[{name:(0,g.G)("organizationProfile.navbar.general"),id:l.jc.GENERAL,icon:h.A,path:"organization-general"},{name:(0,g.G)("organizationProfile.navbar.members"),id:l.jc.MEMBERS,icon:f.A,path:"organization-members"}];e&&n.push({name:(0,g.G)("organizationProfile.navbar.billing"),id:l.j2.BILLING,icon:d.A,path:"organization-billing"}),t&&n.push({name:(0,g.G)("organizationProfile.navbar.apiKeys"),id:l.jc.API_KEYS,icon:m,path:"organization-api-keys"}),r&&n.push({name:(0,g.G)("organizationProfile.navbar.security"),id:l.jc.SECURITY,icon:c.A,path:"organization-security"});let o={"invite-members":n.find(e=>e.id===l.jc.MEMBERS),domain:n.find(e=>e.id===l.jc.GENERAL),profile:n.find(e=>e.id===l.jc.GENERAL),leave:n.find(e=>e.id===l.jc.GENERAL),delete:n.find(e=>e.id===l.jc.GENERAL)},i=n.map(e=>e.id);return{INITIAL_ROUTES:n,pageToRootNavbarRouteMap:o,validReorderItemLabels:i}}},1308(e,t,r){r.d(t,{},{e:e=>e.trim().toLowerCase().replace(/[^a-z0-9]+/g,"-")})},5744(e,t,r){let n,o,i,a;r.d(t,{},{a:{relativeColorSyntax:()=>{if(void 0!==n)return n;try{n=CSS.supports("color: hsl(from white h s l)")}catch{n=!1}return n},colorMix:()=>{if(void 0!==o)return o;try{o=CSS.supports("color: color-mix(in srgb, white, black)")}catch{o=!1}return o},modernColor(){if(void 0!==i)return i;try{i=this.relativeColorSyntax()||this.colorMix()}catch{i=!1}return i},lightDark:()=>{if(void 0!==a)return a;try{a=CSS.supports("color: light-dark(white, black)")}catch{a=!1}return a}}})},3539(e,t,r){function n(e){if(!e||"string"!=typeof e)return!1;let t=e.trim();if(!t.startsWith("var(")||!t.endsWith(")"))return!1;let r=t.slice(4,-1).trim();if(!r.startsWith("--"))return!1;let n=r.indexOf(","),o=-1===n?r:r.slice(0,n).trim();return/^--[a-zA-Z0-9-_]+$/.test(o)}function o(e,t,r){let n=document.createElement("div");n.style.setProperty(t,r),e.appendChild(n);let o=window.getComputedStyle(n).getPropertyValue(t);return e.removeChild(n),o.trim()}function i(e,t,r="white"){let n=o(e,"color",t),a=o(e,"color",r),l=document.createElement("canvas");l.width=1,l.height=1;let s=l.getContext("2d");if(!s)return n;s.fillStyle=a,s.fillRect(0,0,1,1),s.fillStyle=n,s.fillRect(0,0,1,1);let{data:c}=s.getImageData(0,0,1,1);return`#${c[0].toString(16).padStart(2,"0")}${c[1].toString(16).padStart(2,"0")}${c[2].toString(16).padStart(2,"0")}`}r.d(t,{G3:()=>i,cQ:()=>function e(t,r){let o;if(!n(t))return null;let i=t.trim().slice(4,-1).trim(),a=i.indexOf(","),l=null;-1===a?o=i:(o=i.slice(0,a).trim(),l=i.slice(a+1).trim());let s=function(e,t){let r,n;if("u"<typeof window||"u"<typeof getComputedStyle)return null;r=e.startsWith("var(")&&e.endsWith(")")?e.slice(4,-1).trim():e.startsWith("--")?e:`--${e}`;try{if(t)n=t;else{if(!("u">typeof document)||!document.documentElement)return null;n=document.documentElement}}catch{return null}try{return getComputedStyle(n).getPropertyValue(r).trim()||null}catch{return null}}(o,r);return s?s:l?n(l)?e(l,r):l:null},yJ:()=>o},{AY:(e,t)=>`var(--clerk-${e}, ${t})`})},869(e,t,r){var n=r(1756),o=r(6874);let i=e=>e[0];function a(e){return(e||[]).reduce((e,t)=>(t.meta?.paramName?e.fieldErrors.push(t):e.globalErrors.push(t),e),{fieldErrors:[],globalErrors:[]})}function l(e){if(!(0,n.$R)(e))return;let{globalErrors:t}=a(e.errors);if(t.length)return t[0]}function s(e){if(!(0,n.$R)(e))return;let{fieldErrors:t}=a(e.errors);if(t.length)return t[0]}r.d(t,{QU:()=>l,hG:()=>s},{H4:(e,t,r)=>{if(!(0,n.ux)(e))throw e;if((0,n.si)(e)){let t,n;return t=e,n=r,n?.(t.message)}if((0,n.$R)(e))return((e,t,r)=>{if(!(0,n.$R)(e))return;let{fieldErrors:l,globalErrors:s}=a(e.errors);if(l&&!(l.length<1)&&t.forEach(e=>{let t=e?.buildErrorMessage;t||(t=i);let r=l.filter(t=>t.meta?.paramName===e.id||(0,o.sF)(t.meta?.paramName)===e.id),n=t(r);r.length&&n?e.setError(n):e.clearFeedback()}),r){r(void 0);let e=s[0];e&&r(e)}})(e,t,r);if((!(0,n.Cm)(e)||"reverification_cancelled"!==e.code)&&(0,n.Cm)(e)){var l,s,c;return l=e,s=0,c=r,void((0,n.Cm)(l)&&c&&(c(void 0),l&&c(l)))}}})},1906(e,t,r){let n=e=>e.reduce((e,t,r)=>(e[t]=r,e),{}),o=n(["passkey","password","email_link","email_code","phone_code"]),i=n(["email_link","email_code","phone_code","passkey","password"]),a=n(["email_link","email_code","phone_code","passkey","password"]),l=n(["totp","phone_code","backup_code"]),s=e=>(t,r)=>{let n=e[t.strategy],o=e[r.strategy];return void 0===n||void 0===o?0:n-o},c=s(o),d=s(i),u=s(l),p=s(a);r.d(t,{},{Ih:d,Kn:c,Wy:u,aR:p})},3736(e,t,r){function n(e,t="long",r="en-US"){let o={month:"short"===t?"short":"long",..."monthyear"!==t&&{day:"numeric"},..."short"!==t&&{year:"numeric"}};return new Intl.DateTimeFormat(r,o).format(e)}r.d(t,{Y:()=>n})},4970(e,t,r){var n=r(6370);let o=e=>e&&e.includes("**");r.d(t,{},{R:o,u:e=>!e||e.includes("@")||o(e)||e.match(/[a-zA-Z]/)||!e.startsWith("+")?e:(0,n.Om)(e)})},7259(e,t,r){r.d(t,{},{P:e=>[...e].reduce((e,[t,r])=>(e[t]=r,e),{})})},7549(e,t,r){function n(e){let t=e?.closest("[data-clerk-profile-scroll-box-root]");return t instanceof HTMLElement?t:void 0}function o(e,t){if(t&&"mounted"!==e)return n(t.target)}r.d(t,{J:()=>o,d:()=>n})},4349(e,t,r){var n=r(2314),o=r(8342);r.d(t,{},{T:e=>{let t=(0,n.om)({date:e||new Date,relativeTo:new Date});if(!t)return"";switch(t.relativeDateCase){case"previous6Days":return(0,o.G)("dates.previous6Days",{date:t.date});case"lastDay":return(0,o.G)("dates.lastDay",{date:t.date});case"sameDay":return(0,o.G)("dates.sameDay",{date:t.date});case"nextDay":return(0,o.G)("dates.nextDay",{date:t.date});case"next6Days":return(0,o.G)("dates.next6Days",{date:t.date});default:return(0,o.G)("dates.numeric",{date:t.date})}}})},720(e,t,r){r.d(t,{p:()=>n});let n=e=>{if((e||"").includes("gravatar")||(e||"").includes("avatar_placeholder"))return!0;try{var t;let r=(t=new URL(e).pathname.replace("/",""),"u">typeof atob&&"function"==typeof atob?atob(t):void 0!==globalThis.Buffer?globalThis.Buffer.from(t,"base64").toString():t),n=JSON.parse(r);return"default"===n.type}catch{return!1}}},3363(e,t,r){function n(e){return"ListFormat"in Intl&&function(e){if(!e)return!1;let t=Array.isArray(e)?e:[e];return Intl.ListFormat.supportedLocalesOf(t).length===t.length}(e)}function o(e,t){return"NumberFormat"in Intl&&function(e){if(!e)return!1;try{return Intl.NumberFormat.supportedLocalesOf(e).length>0}catch{return!1}}(t)?new Intl.NumberFormat(t,{notation:"compact"}).format(e):e.toString()}r.d(t,{L1:()=>o,bI:()=>n})},791(e,t,r){let n=/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i;r.d(t,{},{X:()=>!("u"<typeof window)&&void 0!==window.document&&!!(window.matchMedia("only screen and (max-width: 760px)").matches||n.test(navigator.userAgent)||"ontouchstart"in document.documentElement&&navigator.userAgent.match(/Mobi/))})},1029(e,t,r){r.d(t,{},{P:(...e)=>t=>{for(let r of e)r&&(r.current=t)}})},2789(e,t,r){function n(e){let t=[];return Object.entries(e).forEach(([,e])=>{e?.used_for_second_factor&&e.second_factors&&t.push(...e.second_factors)}),t}function o(e,t){let r=n(e);return t.totpEnabled&&(r=r.filter(e=>"totp"!==e)),(t.backupCodeEnabled||!t.twoFactorEnabled)&&(r=r.filter(e=>"backup_code"!==e)),r}r.d(t,{FY:()=>n,UP:()=>o},{QN:e=>e.defaultSecondFactor?-1:1})},8008(e,t,r){var n=r(1117);r.d(t,{},{C:({routing:e,path:t})=>t&&!e?{routing:"path",path:t}:"path"!==e&&t?(0,n.SK)(e):{routing:e,path:t}})},3415(e,t,r){r.d(t,{u:()=>c});var n=r(1117);let o={initialDelay:125,maxDelayBetweenRetries:0,factor:2,shouldRetry:(e,t)=>t<5,retryImmediately:!1,jitter:!0},i=async e=>new Promise(t=>setTimeout(t,e)),a=(e,t)=>t?e*(1+Math.random()):e,l=async(e,t={})=>{var r;let n,l=0,{shouldRetry:s,initialDelay:c,maxDelayBetweenRetries:d,factor:u,retryImmediately:p,jitter:m,onBeforeRetry:h}={...o,...t},f=(r={initialDelay:c,maxDelayBetweenRetries:d,factor:u,jitter:m},n=0,async()=>{let e;await i((e=a(e=r.initialDelay*Math.pow(r.factor,n),r.jitter),Math.min(r.maxDelayBetweenRetries||e,e))),n++});for(;;)try{return await e()}catch(e){if(!s(e,++l))throw e;h&&await h(l),p&&1===l?await i(a(100,m)):await f()}};async function s(e="",t){let{async:r,defer:n,beforeLoad:o,crossOrigin:i,nonce:a}=t||{};return l(()=>new Promise((t,l)=>{e||l(Error("loadScript cannot be called without a src")),document&&document.body||l(Error("loadScript cannot be called when document does not exist"));let s=document.createElement("script");i&&s.setAttribute("crossorigin",i),s.async=r||!1,s.defer=n||!1,s.addEventListener("load",()=>{s.remove(),t(s)}),s.addEventListener("error",t=>{s.remove(),l(t.error??Error(`failed to load script: ${e}`))}),s.src=e,a&&(s.nonce=a),o?.(s),document.body.appendChild(s)}),{shouldRetry:(e,t)=>t<=5})}async function c(){if(!window.google)try{await s("https://accounts.google.com/gsi/client",{defer:!0})}catch{(0,n.A8)("Google Identity Services")}return window.google}},6097(e,t,r){r.d(t,{C:()=>o});let n=[".lovable.app",".lovableproject.com",".webcontainer-api.io",".vusercontent.net",".v0.dev",".v0.app",".lp.dev",".replit.dev"];function o(){return function(){if(void 0===globalThis.document)return!1;try{return window.self!==window.top}catch{return!0}}()||n.some(e=>window.location.hostname.endsWith(e))}},5357(e,t,r){var n=r(8342),o=r(3363);let i=e=>e?e.endsWith(".")?e:`${e}.`:"",a=(e,t)=>(0,o.bI)(t)?new Intl.ListFormat(t,{style:"long",type:"conjunction"}).format(e):e.join(", ");r.d(t,{},{C5:(e,t)=>{if(!t)return e[0].longMessage;let{t:r,locale:o,passwordSettings:l}=t;if(e?.[0]?.code==="form_password_size_in_bytes_exceeded"||e?.[0]?.code==="form_password_pwned"||e?.[0]?.code==="form_new_password_matches_current"||e?.[0]?.code==="form_password_matches_identifier")return`${r((0,n.G)(`unstable__errors.${e?.[0]?.code}`))||e?.[0]?.message}`;if(e?.[0]?.code==="form_password_not_strong_enough"){let t=e[0].meta?.zxcvbn?.suggestions?.map(e=>r((0,n.G)(`unstable__errors.zxcvbn.suggestions.${e.code}`))).join(" ");return`${r((0,n.G)("unstable__errors.zxcvbn.notEnough"))} ${t}`}let s=e.filter(e=>"form_password_length_too_short"===e.code),c={form_password_length_too_long:["unstable__errors.passwordComplexity.maximumLength","length",l.max_length],form_password_length_too_short:["unstable__errors.passwordComplexity.minimumLength","length",l.min_length],form_password_no_uppercase:"unstable__errors.passwordComplexity.requireUppercase",form_password_no_lowercase:"unstable__errors.passwordComplexity.requireLowercase",form_password_no_number:"unstable__errors.passwordComplexity.requireNumbers",form_password_no_special_char:"unstable__errors.passwordComplexity.requireSpecialCharacter"},d=(s.length?s:e).filter(e=>Object.hasOwn(c,e.code));if(!d.length)return e?.[0];let u=a(d.map(e=>{let t=c[e.code];if(Array.isArray(t)){let[e,o,i]=t;return r((0,n.G)(e,{[o]:i}))}return r((0,n.G)(t))}),o);return i(`${r((0,n.G)("unstable__errors.passwordComplexity.sentencePrefix"))} ${u}`)},kS:a,zJ:i})},6370(e,t,r){var n=r(6323);let o={};function i(e,t="us"){if(o[e=e||t])return o[e];let r=String.fromCodePoint(...[...e.toUpperCase()].map(e=>e.codePointAt(0)+127397));return o[e]=r,r}function a(e,t,r){var n;if(!e||!t)return e;let o=[...l(e)].slice(0,15-((n=(n=r)||"1").includes("+")?n:"+"+n).length);if(o.length<=3)return o.join("");let i="";for(let e=0;o.length>0;e++)e>t.length-1?i+=o.shift():i+="."===t[e]?o.shift():t[e];return i}function l(e){return(e||"").replace(/[^\d]/g,"")}function s(e,t){if(!e||!n.nU.get(e)||!t)return!1;let r=t[0],o=t.substring(1,4);return r===n.nU.get(e)?.code&&t.length-1===((n.nU.get(e)?.pattern||"").match(/\./g)||[]).length&&n.mK[e].has(o)}function c(e){let t=l(e),r=function(e,t="us"){let r=l(e);return!r||r.length<4?t:r.startsWith("1")&&s("us",r)?"us":r.startsWith("1")&&s("ca",r)?"ca":p(r).country.iso}(t),o=n.nU.get(r)?.pattern||"",i=n.nU.get(r)?.code||"",c=t.slice(i.length),d=`+${i} ${a(c,o,i)}`;return{iso:r,pattern:o,code:i,number:c,formattedNumberWithCode:d}}function d(e){let t=c(e);return`+${t.code} ${a(t.number,t.pattern,t.code)}`}let u=(e,t)=>t.priority-e.priority;function p(e){let t=l(e),r=[];for(let e of[4,3,2,1]){let o=t.substring(0,e),i=n.zh.get(o)||[];i.length&&r.push(...i)}let o=n.nU.get("us"),i=r.sort(u)[0]||o;return{number:t.slice(i?.code.length||0),country:i}}function m(e,t){if(!t)return null;let{country:r}=p(e);return t[r.iso.toUpperCase()]||null}r.d(t,{Mz:()=>p,Om:()=>d,TV:()=>m,Xd:()=>c,eL:()=>i,n4:()=>a,sH:()=>l})},5882(e,t,r){var n=r(7530);r.d(t,{},{w:e=>(0,n.b_)()||e.sdkMetadata?.environment==="development"})},6610(e,t,r){var n=r(5630);r.d(t,{},{K:e=>{if(!e)throw Error("Clerk: URL is required for custom links");return(0,n.AY)(e)||"/"===e.charAt(0)?e:`/${e}`}})},1880(e,t,r){r.d(t,{},{y:e=>new Promise(t=>setTimeout(t,e))})},1585(e,t,r){var n=r(8342);function o(e){let t=new Date,r=new Date(e);if(isNaN(r.getTime()))return"";let o=Math.floor((t.getTime()-r.getTime())/1e3);if(o<60)return(0,n.G)("apiKeys.lastUsed__seconds",{seconds:o});let i=Math.floor(o/60);if(i<60)return(0,n.G)("apiKeys.lastUsed__minutes",{minutes:i});let a=Math.floor(i/60);if(a<24)return(0,n.G)("apiKeys.lastUsed__hours",{hours:a});let l=Math.floor(a/24);if(l<30)return(0,n.G)("apiKeys.lastUsed__days",{days:l});let s=Math.floor(l/30);if(s<12)return(0,n.G)("apiKeys.lastUsed__months",{months:s});let c=Math.floor(s/12);return(0,n.G)("apiKeys.lastUsed__years",{years:c})}r.d(t,{f:()=>o})},5747(e,t,r){function n(e,t=20,r=5){if(!e)return e;let o=Array.from(e);return o.length<=t?e:t<=r+3?"..."+o.slice(-r).join(""):o.slice(0,t-r-3).join("")+"..."+o.slice(-r).join("")}r.d(t,{W:()=>n})},1637(e,t,r){var n=r(630),o=r(3770),i=r(6887);let a=e=>e.trim(),l=(e,t)=>{let r=e;for(let e=0;e<t.length;e++)r=t[e](r);return r};r.d(t,{},{eW:e=>{let{feedback:t="",delayInMs:r=100,feedbackType:n="info",isFocused:i=!1}=e||{},a=!i&&["info","warning"].includes(n);return{debounced:(0,o.d)({feedback:a?"":t,feedbackType:a?"info":n},r)}},mK:e=>{let t={};return e.forEach(e=>{t[e.id]="checkbox"!==e.type?e.value:e.checked}),t},tJ:(e,t,r)=>{let o=r||{type:"text",label:"",isRequired:!1,placeholder:"",options:[],defaultChecked:!1},s=[];o.transformer&&s.push(o.transformer),"email"===o.type&&s.push(a);let{translateError:c,t:d}=(0,i._)(),[u,p]=(0,n.useState)(l(t,s)),[m,h]=(0,n.useState)(!1),[f,g]=(0,n.useState)(o?.defaultChecked||!1),[b,v]=(0,n.useState)(!1),[y,w]=(0,n.useState)({message:"",type:"info"}),$=e=>{w({message:c(e),type:"error"})},{defaultChecked:x,validatePassword:S,buildErrorMessage:_,...k}=o,C={id:e,name:e,value:u,checked:f,setSuccess:e=>{w({message:e,type:"success"})},setError:$,onChange:e=>o?.type==="checkbox"?g(e.target.checked):p(l(e.target.value||"",s)),onBlur:()=>{h(!1)},onFocus:()=>{h(!0)},setWarning:e=>{w({message:c(e),type:"warning"})},feedback:y.message||d(o.infoText),feedbackType:y.type,setInfo:e=>{w({message:e,type:"info"})},clearFeedback:()=>{w({message:"",type:"info"})},hasPassedComplexity:b,setHasPassedComplexity:v,validatePassword:"password"===o.type?o.validatePassword:void 0,isFocused:m,...k};return{props:C,...C,buildErrorMessage:_,setError:$,setValue:e=>p(e||""),setChecked:e=>g(e)}}})},9374(e,t,r){var n=r(8342);let o="form_username_invalid_length",i="form_username_needs_non_number_char";r.d(t,{},{Z:(e,t)=>{let{t:r,usernameSettings:a}=t,l=e[0];return t?l?.code===o?r((0,n.G)(`unstable__errors.${o}`,{min_length:a.min_length,max_length:a.max_length})):l?.code===i?r((0,n.G)(`unstable__errors.${i}`)):l:l}})},8702(e,t,r){var n=r(2826);function o({signUpIfMissingEnabled:e,passwordEnabled:t}){e&&t&&n.v.warnOnce('Clerk: <SignIn> is rendering the sign-in-or-up flow, but visitors without an account cannot\ncomplete it on this instance.\n\nThis is caused by two instance settings being enabled together:\n - password\n - strict enumeration protection\n\nStrict enumeration protection makes a sign-in for an unknown identifier advertise every first\nfactor the instance supports, password included, and password is the preferred factor by default.\nA visitor who does not have an account is therefore routed to the password screen, where nothing\nthey type can succeed and no sign-up transfer is possible. They have to find "Use another method"\nand pick a code or link factor before the flow can create their account.\n\nA wrong password and a non-existent user are deliberately indistinguishable to the client, so the\ncomponent cannot detect this and recover on its own. To make the flow work for new users, either\ndisable password on the instance or set the instance\'s preferred sign-in strategy to OTP.\n\nLearn more: https://clerk.com/docs/guides/secure/user-enumeration-protection#sign-in-or-up-under-strict-protection\n(code=sign_up_if_missing_password_preferred)')}r.d(t,{O:()=>o})},1097(e,t,r){var n=r(1756),o=r(869);r.d(t,{},{f:(e,t)=>{if((0,n.$R)(e)&&e.errors?.[0]?.meta?.paramName==="identifier"&&e.errors?.[0]?.code==="form_param_nil"){let e=new n.cR("A Web3 Wallet extension cannot be found. Please install one to continue.",{code:"web3_missing_identifier"});return(0,o.H4)(e,[],t)}return(0,o.H4)(e,[],t)}})},1584(e,t,r){r.d(t,{F:()=>i});let n=["http:","https:","wails:","chrome-extension:"],o=/^[/\\][/\\]/;function i(e,t,r){let i=e.__internal_windowNavigate;if("function"==typeof i)return i.call(e,t,r);if("string"==typeof t&&o.test(function(e){let t=0;for(;t<e.length&&32>=e.charCodeAt(t);)t++;let r="";for(let n=t;n<e.length;n++){let t=e.charCodeAt(n);9!==t&&10!==t&&13!==t&&(r+=e[n])}return r}(t)))return void console.warn(`Clerk: scheme-relative navigation to "${t}" is not allowed. Provide a same-origin path or an absolute URL.`);let a=new URL(t,window.location.href);((void 0)??n).includes(a.protocol)?(window.dispatchEvent(new CustomEvent("clerk:beforeunload")),window.location.href=a.href):console.warn(`Clerk: "${a.protocol}" is not a valid navigation protocol. Aborting navigation. If you think this is a mistake, please open an issue.`)}},1629(e,t,r){let n,o;var i,a=function(e,t,r,n){if("a"===r&&!n)throw TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!n:!t.has(e))throw TypeError("Cannot read private member from an object whose class did not declare it");return"m"===r?n:"a"===r?n.call(e):n?n.value:t.get(e)},l=function(e,t,r,n,o){if("m"===n)throw TypeError("Private method is not writable");if("a"===n&&!o)throw TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!o:!t.has(e))throw TypeError("Cannot write private member to an object whose class did not declare it");return"a"===n?o.call(e,r):o?o.value=r:t.set(e,r),r};let s=new Set,c={};function d(){if(o||(o=Object.freeze({register:u,get:p,on:m}),"u"<typeof window))return o;let e=Object.freeze({register:u});try{window.addEventListener("wallet-standard:register-wallet",({detail:t})=>t(e))}catch(e){console.error("wallet-standard:register-wallet event listener could not be added\n",e)}try{window.dispatchEvent(new f(e))}catch(e){console.error("wallet-standard:app-ready event could not be dispatched\n",e)}return o}function u(...e){return(e=e.filter(e=>!s.has(e))).length?(e.forEach(e=>{n=void 0,s.add(e)}),c.register?.forEach(t=>h(()=>t(...e))),function(){e.forEach(e=>{n=void 0,s.delete(e)}),c.unregister?.forEach(t=>h(()=>t(...e)))}):()=>{}}function p(){return n||(n=[...s]),n}function m(e,t){return c[e]?.push(t)||(c[e]=[t]),function(){c[e]=c[e]?.filter(e=>t!==e)}}function h(e){try{e()}catch(e){console.error(e)}}var f=class extends Event{get detail(){return a(this,i,"f")}get type(){return"wallet-standard:app-ready"}constructor(e){super("wallet-standard:app-ready",{bubbles:!1,cancelable:!1,composed:!1}),i.set(this,void 0),l(this,i,e,"f")}preventDefault(){throw Error("preventDefault cannot be called")}stopImmediatePropagation(){throw Error("stopImmediatePropagation cannot be called")}stopPropagation(){throw Error("stopPropagation cannot be called")}};i=new WeakMap,r.d(t,{getWallets:()=>d})},8249(e,t,r){let n=[{channel:"whatsapp",name:"WhatsApp"}];r.d(t,{},{c:n,y:e=>e&&n.find(t=>t.channel===e)||null})},129(e,t,r){function n(e,t="svg"){return`https://img.clerk.com/static/${e}.${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"]})},2314(e,t,r){function n(e){try{return new Date(e||new Date)}catch{return new Date}}function o(e){let{date:t,relativeTo:r}=e;if(!t||!r)return null;let o=n(t),i=function(e,t,{absolute:r=!0}={}){if(!e||!t)return 0;let n=Date.UTC(e.getFullYear(),e.getMonth(),e.getDate()),o=Math.floor((Date.UTC(t.getFullYear(),t.getMonth(),t.getDate())-n)/864e5);return r?Math.abs(o):o}(n(r),o,{absolute:!1});return i<-6?{relativeDateCase:"other",date:o}:i<-1?{relativeDateCase:"previous6Days",date:o}:-1===i?{relativeDateCase:"lastDay",date:o}:0===i?{relativeDateCase:"sameDay",date:o}:1===i?{relativeDateCase:"nextDay",date:o}:i<7?{relativeDateCase:"next6Days",date:o}:{relativeDateCase:"other",date:o}}r.d(t,{OG:()=>n,om:()=>o})},8238(e,t,r){let n=parseInt(r(630).version,10),o=n>=19||0===n;function i(e){return e?{inert:!!o||""}:{}}r.d(t,{D:()=>i})},4293(e,t,r){var n=r(1715);r.d(t,{},{A:({signUp:e,verifyEmailPath:t,verifyPhonePath:r,protectCheckPath:o,continuePath:i,navigate:a,handleComplete:l,redirectUrl:s="",redirectUrlComplete:c="",oidcPrompt:d})=>{if("complete"===e.status)return(0,n.rw)("__clerk_ticket"),(0,n.rw)("__clerk_invitation_token"),l&&l();if("missing_requirements"===e.status){if(e.missingFields.some(e=>"enterprise_sso"===e))return e.authenticateWithRedirect({strategy:"enterprise_sso",redirectUrl:s,redirectUrlComplete:c,continueSignUp:!0,oidcPrompt:d});let l=(0,n.hF)();if((e.protectCheck||e.missingFields.some(e=>"protect_check"===e))&&o)return a(o,{searchParams:l});if(e.unverifiedFields?.includes("email_address")&&t)return a(t,{searchParams:l});if(e.unverifiedFields?.includes("phone_number")&&r)return a(r,{searchParams:l});if(i)return a(i,{searchParams:l})}}})},1059(e,t,r){r.d(t,{},{B_:(e,t)=>!t?.commerceSettings.billing.user.enabled,Ju:(e,t)=>!t?.userSettings.enterpriseSSO.self_serve_sso||!e.organization?.selfServeSSOEnabled,NW:(e,t)=>!t?.commerceSettings.billing.organization.enabled,Xu:(e,t)=>!!(e.isSignedIn&&t?.authConfig.singleSessionMode),s$:(e,t)=>!t?.apiKeysSettings?.orgs_api_keys_enabled,ui:(e,t)=>!t?.apiKeysSettings?.user_api_keys_enabled})},7275(e,t,r){var n=r(4293);r.d(t,{},{M:({signUp:e,continueSignUpUrl:t,verifyEmailAddressUrl:r,verifyPhoneNumberUrl:o,signUpProtectCheckUrl:i,navigate:a})=>e.protectCheck||e.missingFields.includes("protect_check")?a(i):e.missingFields.length?a(t):(0,n.A)({signUp:e,verifyEmailPath:r,verifyPhonePath:o,protectCheckPath:i,navigate:a})})},8317(e,t,r){function n(e){return"string"==typeof e&&e.startsWith("org_")}r.d(t,{n:()=>n})},3507(e,t,r){r(23);var n=class{static encode(e){return btoa(String.fromCharCode(...new Uint8Array(e))).replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,"")}static decode(e){let t=atob(e.replace(/-/g,"+").replace(/_/g,"/")),r=t.length,n=new Uint8Array(r);for(let e=0;e<r;e++)n[e]=t.charCodeAt(e);return n.buffer}};let o=new class{controller;__abort(){if(!this.controller)return;let e=Error();e.name="AbortError",this.controller.abort(e)}createAbortSignal(){this.__abort();let e=new AbortController;return this.controller=e,e.signal}abort(){this.__abort(),this.controller=void 0}};n.encode.bind(n),n.decode.bind(n),r.d(t,{},{sv:o})},9083(e,t,r){var n=r(6575);async function o(e,t,r={}){let i,a,{signal:l,setWidgetVisible:s}=r,{sdkUrl:c,token:d,uiHints:u}=e,p=function(e){let t;try{t=new URL(e)}catch{throw new n.t("Protect check sdk_url is not a valid URL",{code:"protect_check_invalid_sdk_url"})}if("https:"!==t.protocol)throw new n.t("Protect check sdk_url must use HTTPS",{code:"protect_check_invalid_sdk_url"});if(t.username||t.password)throw new n.t("Protect check sdk_url must not contain credentials",{code:"protect_check_invalid_sdk_url"});return t}(c);if(l?.aborted)throw new n.t("Protect check aborted by caller",{code:"protect_check_aborted"});try{i=await import(p.toString())}catch{throw new n.t("Protect check script failed to load. This is commonly caused by a Content Security Policy that blocks the script origin (add it to your script-src directive), a network error, or an invalid module.",{code:"protect_check_script_load_failed"})}if(l?.aborted)throw new n.t("Protect check aborted by caller",{code:"protect_check_aborted"});if("function"!=typeof i.default)throw new n.t("Protect check script does not export a default function",{code:"protect_check_invalid_script"});try{a=await i.default(t,{token:d,uiHints:u,signal:l,setWidgetVisible:s})}catch(t){let e=t instanceof Error&&"AbortError"===t.name;if(l?.aborted&&e)throw new n.t("Protect check aborted by caller",{code:"protect_check_aborted"});throw new n.t(`Protect check script execution failed: ${t instanceof Error?t.message:String(t)}`,{code:"protect_check_execution_failed"})}if(l?.aborted)throw new n.t("Protect check aborted by caller",{code:"protect_check_aborted"});return a}r(23),r.d(t,{executeProtectCheck:()=>o})},3127(e,t,r){r.d(t,{},{W:(e,t={})=>{if(null==e||!e||"object"!=typeof e)return"";let r=new URLSearchParams;return Object.keys(e).forEach(n=>{let o=t.keyEncoder?t.keyEncoder(n):n,i=e[n];if(Array.isArray(i))i.forEach(e=>void 0!==e&&r.append(o,e||""));else{if(void 0===i)return;"object"==typeof i&&null!==i?r.append(o,JSON.stringify(i)):r.append(o,String(i??""))}}),r.toString()},v:e=>{let t={};return new URLSearchParams(e).forEach((e,r)=>{if(r in t){let n=t[r];Array.isArray(n)?n.push(e):t[r]=[n,e]}else t[r]=e}),t}})},8499(e,t,r){r.d(t,{n:()=>l});var n=r(6874);let o=(e,t)=>{let r={};for(let n in e)r[n]=t(e[n],n);return r},i=(e,t)=>{let r={};for(let n in e)e[n]&&t(e[n])&&(r[n]=e[n]);return r};var a=r(5630),l=class e{static keys=["signInForceRedirectUrl","signInFallbackRedirectUrl","signUpForceRedirectUrl","signUpFallbackRedirectUrl","redirectUrl"];static preserved=["redirectUrl"];options;fromOptions;fromProps;fromSearchParams;mode;constructor(e,t={},r={},n){this.options=e,this.fromOptions=this.#e(e||{}),this.fromProps=this.#e(t||{}),this.fromSearchParams=this.#t(r||{}),this.mode=n}getAfterSignInUrl(){return this.#r("signIn")}getAfterSignUpUrl(){return this.#r("signUp")}getPreservedSearchParams(){return this.#n(this.#o())}toSearchParams(){return this.#n(this.#i())}#n(e){return new URLSearchParams(Object.entries(Object.fromEntries(Object.entries(e).map(([e,t])=>[(0,n.C8)(e),t]))).reduce((e,[t,r])=>(null!=r&&(e[t]=r),e),{}))}#o(){return Object.fromEntries(Object.entries({...this.fromSearchParams}).filter(([t])=>e.preserved.includes(t)))}#i(){let e=this.fromSearchParams.signUpForceRedirectUrl||this.fromProps.signUpForceRedirectUrl||this.fromOptions.signUpForceRedirectUrl,t=this.fromSearchParams.signUpFallbackRedirectUrl||this.fromProps.signUpFallbackRedirectUrl||this.fromOptions.signUpFallbackRedirectUrl,r=this.fromSearchParams.signInForceRedirectUrl||this.fromProps.signInForceRedirectUrl||this.fromOptions.signInForceRedirectUrl,n={signUpForceRedirectUrl:e,signUpFallbackRedirectUrl:t,signInFallbackRedirectUrl:this.fromSearchParams.signInFallbackRedirectUrl||this.fromProps.signInFallbackRedirectUrl||this.fromOptions.signInFallbackRedirectUrl,signInForceRedirectUrl:r,redirectUrl:this.fromSearchParams.redirectUrl||this.fromProps.redirectUrl};return e&&delete n.signUpFallbackRedirectUrl,r&&delete n.signInFallbackRedirectUrl,n}#r(e){let t,r=`${e}ForceRedirectUrl`,n=`${e}FallbackRedirectUrl`;return(t=this.fromSearchParams[r]||this.fromProps[r]||this.fromOptions[r],t||=this.fromSearchParams.redirectUrl,(t||=this.fromSearchParams[n]||this.fromProps[n]||this.fromOptions[n])||"modal"!==this.mode)?t||"/":window.location.href}#e(t){let r={};return e.keys.forEach(e=>{r[e]=t[e]}),o(this.#a(this.#l(i(r,Boolean))),e=>e.toString())}#t(t){let r={};return e.keys.forEach(e=>{t instanceof URLSearchParams?r[e]=t.get((0,n.C8)(e)):r[e]=t[(0,n.C8)(e)]}),o(this.#a(this.#l(i(r,Boolean))),e=>e.toString())}#l(e){return o(e,e=>(0,a.kU)(e,window.location.origin))}#a=e=>i(e,(0,a.vU)(this.options?.allowedRedirectOrigins,window.location.origin))}},7922(e,t,r){var n=r(1715),o=r(5630);let i={"choose-organization":"choose-organization","reset-password":"reset-password","setup-mfa":"setup-mfa"},a=e=>`/tasks/${i[e.key]}`;function l(e,t){let r=(0,n.hF)();return(0,o.kZ)({base:t.base,hashPath:a(e),searchParams:r},{stringify:!0})}function s(e,{navigate:t,baseUrl:r}){let n=e.currentTask;if(n)return t(l(n,{base:r}))}r.d(t,{KA:()=>s,tv:()=>l},{ru:a,tk:i})},5630(e,t,r){r.d(t,{kZ:()=>m,tL:()=>$,vU:()=>_,V0:()=>y,AY:()=>g,yR:()=>x,yY:()=>S,kU:()=>b,d3:()=>w,FV:()=>h,Kj:()=>f});var n=r(890),o=r(547),i=r(6874),a=r(2826);let l=RegExp("/{1,}","g");var s=r(3127);let c="http://clerk-dummy",d=["javascript:"],u=["javascript:","data:","vbscript:","blob:"],{isDevOrStagingUrl:p}=(0,n.RZ)();function m(e,t={}){let{base:r,hashPath:n,hashSearch:o,searchParams:a,hashSearchParams:d,...u}=e,p=new URL(r||"","u">typeof window&&window.location?window.location.href:"http://react-native-fake-base-url");if(a instanceof URLSearchParams&&a.forEach((e,t)=>{null!=e&&p.searchParams.set((0,i.C8)(t),e)}),Object.assign(p,u),n||o||d){var h;let e=new URL(c+p.hash.substring(1));for(let[t,r]of(h=e.pathname,e.pathname=[h,n||""].filter(e=>e).join("/").replace(l,"/"),Object.entries((0,s.v)(o||""))))e.searchParams.append(t,r);if(d)for(let t of Array.isArray(d)?d:[d])(t instanceof URLSearchParams||"object"==typeof t)&&new URLSearchParams(t).forEach((t,r)=>{null!=t&&e.searchParams.set((0,i.C8)(r),t)});let t=e.href.replace(c,"");"/"!==t&&(p.hash=t)}let{stringify:f,skipOrigin:g}=t;return f?g?p.href.replace(p.origin,""):p.href:p}function h(e){return void 0===window.location&&"string"==typeof e?e:(e=new URL(e.toString(),window.location.origin)).href.replace(e.origin,"")}let f=e=>(e||"").replace(/\/+$/,"");function g(e){if(!e)return!1;try{return new URL(e),!0}catch{return!1}}function b(e,t){try{return new URL(e)}catch{return new URL(e,t)}}let v=[/\0/,/^\/\//,/[\x00-\x1F]/];function y(e){return!!e&&!!g(e)&&"data:"===new URL(e).protocol}function w(e){if(!e||""===e.trim())return null;if(e.startsWith("/")||e.startsWith("#")||e.startsWith("?")||!e.includes(":"))return e;try{if(function(e){if(!g(e))return!1;let t=new URL(e).protocol;return u.some(e=>e===t)}(new URL(e)))return null;return e}catch{return e}}let $=e=>new URL(e,c).hash.startsWith("#/"),x=e=>{let t=new URL(e);if(!$(t))return t;let r=new URL(t.hash.replace("#/","/"),t.href),n=new URL([t.pathname,r.pathname].map(e=>e.split("/")).flat().filter(Boolean).join("/"),t.origin);return t.searchParams.forEach((e,t)=>{n.searchParams.set(t,e)}),r.searchParams.forEach((e,t)=>{n.searchParams.set(t,e)}),n},S=e=>e.replace(/CLERK-ROUTER\/(.*?)\//,""),_=(e,t)=>r=>{let n=r;if("string"==typeof n&&(n=b(n,t)),!e)return!0;let i=t===n.origin,l=!function(e){if(function(e){if(!g(e))return!1;let t=new URL(e).protocol;return d.some(e=>e===t)}(e))return!0;for(let t of v)if(t.test(e.pathname))return!0;return!1}(n)&&(i||e.map(e=>"string"==typeof e?(e=>{try{return o(e)}catch(t){throw Error(`Invalid pattern: ${e}.
118
+ `);return t})(e);switch(t){case"hsl":return{h:r[0],s:r[1],l:r[2],a:r[3]??1};case"hwb":return h((e=>{let t,r,n,o,i=e[0]/360,a=e[1]/100,l=e[2]/100,s=e[3]??1,c=a+l;c>1&&(a/=c,l/=c);let d=Math.floor(6*i),u=1-l;t=6*i-d,(1&d)!=0&&(t=1-t);let p=a+t*(u-a);switch(d){default:case 6:case 0:r=u,n=p,o=a;break;case 1:r=p,n=u,o=a;break;case 2:r=a,n=u,o=p;break;case 3:r=a,n=p,o=u;break;case 4:r=p,n=a,o=u;break;case 5:r=u,n=a,o=p}return[255*r,255*n,255*o,s]})(r));case"rgb":return h(r)}},b=e=>"string"==typeof e?f(g(e)):f(e),v=(e,t)=>({...e,l:e.l+t}),y=(e,t)=>({...e,a:t}),w={toHslaColor:g,toHslaString:b,adjustForLightness:(e,t=5)=>{if(!e)return;let r=w.toHslaColor(e);return r?(100===r.l?r.l=95:r.l=Math.min(r.l+2*t,100),w.toHslaString(r)):e},changeHslaLightness:v,setHslaAlpha:y,lighten:(e,t=0)=>{if(!e)return;let r=g(e);return b(v(r,r.l*t))},makeTransparent:(e,t=0)=>{let r;if(!e||""===e.toString())return;let n=g(e);return b((r=(n.a??1)*t,{...n,a:n.a?n.a-r:void 0}))},makeSolid:e=>{if(e)return b({...g(e),a:1})},setAlpha:(e,t)=>e.toString()?b(y(g(e),t)):e};r.d(t,{},{T:w})},8485(e,t,r){var n=r(5744),o=r(9445);let i=Object.freeze(o.X2.reduce((e,t)=>(e[t]=void 0,e),{}));function a(e,t,r){return`color-mix(in srgb, ${e}, ${t} ${r}%)`}function l(e,t,r,n,o){return`hsl(from ${e} ${t} ${r} ${n}${o?` / ${o}`:""})`}function s(e,t){return`color-mix(in srgb, transparent, ${e} ${t}%)`}function c(e,t){return s(e,o.NO[t])}function d(e,t){if(500===t)return e;if(n.a.relativeColorSyntax())return function(e,t){if(500===t)return e;let r=o.XW[t];if(!r)return e;let{TARGET_LIGHT:n,TARGET_DARK:i,LIGHT_STEPS:a,DARK_STEPS:s}=o.Pg;return t<500?l(e,"h","s",`calc(l + (${r} * ((${n} - l) / ${a})))`):l(e,"h","s",`calc(l - (${r} * ((l - ${i}) / ${s})))`)}(e,t);if(n.a.colorMix()){if(500===t)return e;let r=o.q5[t];return r.mixColor?a(e,r.mixColor,r.percentage):e}return e}r.d(t,{D3:()=>s,LL:()=>l,Nw:()=>c,lD:()=>d,nm:()=>a},{H5:()=>({...i})})},6873(e,t,r){r.d(t,{K:()=>u});var n=r(9763),o=r(9348),i=r(7975),a=r(2930),l=r(8342),s=r(7930),c=r(5882),d=r(6610);let u=(e,t)=>p({customMenuItems:e,getDefaultMenuItems:h},t),p=({customMenuItems:e,getDefaultMenuItems:t},r)=>{let{INITIAL_MENU_ITEMS:n,validReorderItemLabels:o}=t(),i=e.filter(e=>!!f(e,o)||((0,c.w)(r)&&console.error("Clerk: Invalid custom menu item:",e),!1));(0,c.w)(r)&&(w(e,o),$(i));let{menuItems:a}=m({customMenuItems:i,defaultMenuItems:n});return a},m=({customMenuItems:e,defaultMenuItems:t})=>{let r=t.map(e=>e),i=[...e.map((e,o)=>{if(v(e))return{name:e.label,id:`custom-menutItem-${o}`,icon:t=>(0,n.Y)(s.c,{mount:e.mountIcon,unmount:e.unmountIcon,...t}),path:(0,d.K)(e.href)};if(g(e))return{name:e.label,id:`custom-menutItem-${o}`,icon:t=>(0,n.Y)(s.c,{mount:e.mountIcon,unmount:e.unmountIcon,...t}),onClick:e?.onClick};if(b(e))return{name:e.label,id:`custom-menutItem-${o}`,icon:t=>(0,n.Y)(s.c,{mount:e.mountIcon,unmount:e.unmountIcon,...t}),open:e.open};let i=t.find(t=>t.id===e.label);return r=r.filter(t=>t.id!==e.label),{...i}}),...r];return e.some(e=>e.label===o.dY.MANAGE_ACCOUNT)||i.sort(e=>e.id===o.dY.MANAGE_ACCOUNT?-1:0),{menuItems:i}},h=()=>{let e=[{name:(0,l.G)("userButton.action__manageAccount"),id:o.dY.MANAGE_ACCOUNT,icon:i.A},{name:(0,l.G)("userButton.action__signOut"),id:o.dY.SIGN_OUT,icon:a.A}],t=e.map(e=>e.id);return{INITIAL_MENU_ITEMS:e,validReorderItemLabels:t}},f=(e,t)=>(v(e)||g(e)||b(e)||y(e,t))&&"string"==typeof e.label,g=e=>!!e.label&&!!e.onClick&&!e.mount&&!e.unmount&&!!e.mountIcon&&!!e.unmountIcon,b=e=>!!e.label&&!!e.open&&!e.mount&&!e.unmount&&!!e.mountIcon&&!!e.unmountIcon,v=e=>!!e.href&&!!e.label&&!e.mount&&!e.unmount&&!!e.mountIcon&&!!e.unmountIcon,y=(e,t)=>!e.mount&&!e.unmount&&!e.mountIcon&&!e.unmountIcon&&t.some(t=>t===e.label),w=(e,t)=>{e.filter(e=>y(e,t)).reduce((e,t)=>(e.includes(t.label)&&console.error(`Clerk: The "${t.label}" item is used more than once when reordering pages. This may cause unexpected behavior.`),[...e,t.label]),[])},$=e=>{let t=e.map(e=>e.label),r=t.filter((e,r)=>t.indexOf(e)!==r);r.length>0&&console.warn(`Clerk: Duplicate custom menu item labels found: ${r.join(", ")}`)}},8956(e,t,r){r.d(t,{q:()=>$,M:()=>w});var n,o=r(9763),i=r(1059),a=r(5630),l=r(9348),s=r(5912),c=r(2022),d=r(9616),u=r(630);function p(){return(p=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)}let m=function(e){return u.createElement("svg",p({fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"},e),n||(n=u.createElement("path",{d:"M5.25 5.75 2.75 8l2.5 2.25m5.5-4.5L13.25 8l-2.5 2.25",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})))};var h=r(1942),f=r(6130),g=r(8342),b=r(7930),v=r(5882),y=r(6610);let w=(e,t,r,n)=>x({customPages:e,getDefaultRoutes:T,setFirstPathToRoot:_,excludedPathsFromDuplicateWarning:[]},t,r,n),$=(e,t,r,n,o=!1)=>x({customPages:e,getDefaultRoutes:E,setFirstPathToRoot:k,excludedPathsFromDuplicateWarning:[]},t,r,n,!0,o),x=({customPages:e,getDefaultRoutes:t,setFirstPathToRoot:r,excludedPathsFromDuplicateWarning:n},o,a,l,s,c=!1)=>{let{INITIAL_ROUTES:d,pageToRootNavbarRouteMap:u,validReorderItemLabels:p}=t({commerce:s?!(0,i.NW)(o,l)&&a:!(0,i.B_)(o,l)&&a,apiKeys:s?!(0,i.s$)(o,l):!(0,i.ui)(o,l),security:!!s&&c&&!(0,i.Ju)(o,l)});(0,v.w)(o)&&C(e,p);let{allRoutes:m,contents:h}=S({customPages:e.filter(e=>!!I(e,p)||((0,v.w)(o)&&console.error("Clerk: Invalid custom page data: ",e),!1)),defaultRoutes:d});R(m);let f=r(m);return(0,v.w)(o)&&A(f,n),{routes:f,contents:h,pageToRootNavbarRouteMap:u}},S=({customPages:e,defaultRoutes:t})=>{let r=t.map(e=>e),n=[],i=e.map((e,i)=>{if(D(e))return{name:e.label,id:`custom-page-${i}`,icon:t=>(0,o.Y)(b.c,{mount:e.mountIcon,unmount:e.unmountIcon,...t}),path:(0,y.K)(e.url),external:!0};if(P(e)){let t=Y(e.url);return n.push({url:t,mount:e.mount,unmount:e.unmount}),{name:e.label,id:`custom-page-${i}`,icon:t=>(0,o.Y)(b.c,{mount:e.mountIcon,unmount:e.unmountIcon,...t}),path:t}}let a=t.find(t=>t.id===e.label);return r=r.filter(({id:t})=>t!==e.label),{...a}});return{allRoutes:[...r,...i],contents:n}},_=e=>e.map((e,t)=>0===t?{...e,path:"/"}:e),k=e=>e.map((e,t)=>0===t?{...e,path:"/"}:e),C=(e,t)=>{e.filter(e=>z(e,t)).reduce((e,t)=>(e.includes(t.label)&&console.error(`Clerk: The "${t.label}" item is used more than once when reordering pages. This may cause unexpected behavior.`),[...e,t.label]),[])},A=(e,t)=>{let r=e.filter(({external:e,path:r})=>!e&&t.every(e=>e!==r)).map(({path:e})=>e);r.filter((e,t)=>r.indexOf(e)!==t).forEach(e=>{console.error(`Clerk: Duplicate path "${e}" found in custom pages. This may cause unexpected behavior.`)})},I=(e,t)=>P(e)||D(e)||z(e,t),P=e=>!!e.url&&!!e.label&&!!e.mount&&!!e.unmount&&!!e.mountIcon&&!!e.unmountIcon,D=e=>!!e.url&&!!e.label&&!e.mount&&!e.unmount&&!!e.mountIcon&&!!e.unmountIcon,z=(e,t)=>!e.url&&!e.mount&&!e.unmount&&!e.mountIcon&&!e.unmountIcon&&t.some(t=>t===e.label),Y=e=>{if(!e)throw Error("Clerk: URL is required for custom pages");if((0,a.AY)(e))throw Error("Clerk: Absolute URLs are not supported for custom pages");return"/"===e.charAt(0)&&e.length>1?e.substring(1):e},R=e=>{if(e[0].external)throw Error("Clerk: The first route cannot be a custom external link component")},T=({commerce:e,apiKeys:t})=>{let r=[{name:(0,g.G)("userProfile.navbar.account"),id:l.j2.ACCOUNT,icon:s.A,path:"account"},{name:(0,g.G)("userProfile.navbar.security"),id:l.j2.SECURITY,icon:c.A,path:"security"}];e&&r.push({name:(0,g.G)("userProfile.navbar.billing"),id:l.j2.BILLING,icon:d.A,path:"billing"}),t&&r.push({name:(0,g.G)("userProfile.navbar.apiKeys"),id:l.j2.API_KEYS,icon:m,path:"api-keys"});let n={profile:r.find(e=>e.id===l.j2.ACCOUNT),"email-address":r.find(e=>e.id===l.j2.ACCOUNT),"phone-number":r.find(e=>e.id===l.j2.ACCOUNT),"connected-account":r.find(e=>e.id===l.j2.ACCOUNT),"web3-wallet":r.find(e=>e.id===l.j2.ACCOUNT),username:r.find(e=>e.id===l.j2.ACCOUNT),"multi-factor":r.find(e=>e.id===l.j2.SECURITY),password:r.find(e=>e.id===l.j2.SECURITY)},o=r.map(e=>e.id);return{INITIAL_ROUTES:r,pageToRootNavbarRouteMap:n,validReorderItemLabels:o}},E=({commerce:e,apiKeys:t,security:r})=>{let n=[{name:(0,g.G)("organizationProfile.navbar.general"),id:l.jc.GENERAL,icon:h.A,path:"organization-general"},{name:(0,g.G)("organizationProfile.navbar.members"),id:l.jc.MEMBERS,icon:f.A,path:"organization-members"}];e&&n.push({name:(0,g.G)("organizationProfile.navbar.billing"),id:l.j2.BILLING,icon:d.A,path:"organization-billing"}),t&&n.push({name:(0,g.G)("organizationProfile.navbar.apiKeys"),id:l.jc.API_KEYS,icon:m,path:"organization-api-keys"}),r&&n.push({name:(0,g.G)("organizationProfile.navbar.security"),id:l.jc.SECURITY,icon:c.A,path:"organization-security"});let o={"invite-members":n.find(e=>e.id===l.jc.MEMBERS),domain:n.find(e=>e.id===l.jc.GENERAL),profile:n.find(e=>e.id===l.jc.GENERAL),leave:n.find(e=>e.id===l.jc.GENERAL),delete:n.find(e=>e.id===l.jc.GENERAL)},i=n.map(e=>e.id);return{INITIAL_ROUTES:n,pageToRootNavbarRouteMap:o,validReorderItemLabels:i}}},1308(e,t,r){r.d(t,{},{e:e=>e.trim().toLowerCase().replace(/[^a-z0-9]+/g,"-")})},5744(e,t,r){let n,o,i,a;r.d(t,{},{a:{relativeColorSyntax:()=>{if(void 0!==n)return n;try{n=CSS.supports("color: hsl(from white h s l)")}catch{n=!1}return n},colorMix:()=>{if(void 0!==o)return o;try{o=CSS.supports("color: color-mix(in srgb, white, black)")}catch{o=!1}return o},modernColor(){if(void 0!==i)return i;try{i=this.relativeColorSyntax()||this.colorMix()}catch{i=!1}return i},lightDark:()=>{if(void 0!==a)return a;try{a=CSS.supports("color: light-dark(white, black)")}catch{a=!1}return a}}})},3539(e,t,r){function n(e){if(!e||"string"!=typeof e)return!1;let t=e.trim();if(!t.startsWith("var(")||!t.endsWith(")"))return!1;let r=t.slice(4,-1).trim();if(!r.startsWith("--"))return!1;let n=r.indexOf(","),o=-1===n?r:r.slice(0,n).trim();return/^--[a-zA-Z0-9-_]+$/.test(o)}function o(e,t,r){let n=document.createElement("div");n.style.setProperty(t,r),e.appendChild(n);let o=window.getComputedStyle(n).getPropertyValue(t);return e.removeChild(n),o.trim()}function i(e,t,r="white"){let n=o(e,"color",t),a=o(e,"color",r),l=document.createElement("canvas");l.width=1,l.height=1;let s=l.getContext("2d");if(!s)return n;s.fillStyle=a,s.fillRect(0,0,1,1),s.fillStyle=n,s.fillRect(0,0,1,1);let{data:c}=s.getImageData(0,0,1,1);return`#${c[0].toString(16).padStart(2,"0")}${c[1].toString(16).padStart(2,"0")}${c[2].toString(16).padStart(2,"0")}`}r.d(t,{G3:()=>i,cQ:()=>function e(t,r){let o;if(!n(t))return null;let i=t.trim().slice(4,-1).trim(),a=i.indexOf(","),l=null;-1===a?o=i:(o=i.slice(0,a).trim(),l=i.slice(a+1).trim());let s=function(e,t){let r,n;if("u"<typeof window||"u"<typeof getComputedStyle)return null;r=e.startsWith("var(")&&e.endsWith(")")?e.slice(4,-1).trim():e.startsWith("--")?e:`--${e}`;try{if(t)n=t;else{if(!("u">typeof document)||!document.documentElement)return null;n=document.documentElement}}catch{return null}try{return getComputedStyle(n).getPropertyValue(r).trim()||null}catch{return null}}(o,r);return s?s:l?n(l)?e(l,r):l:null},yJ:()=>o},{AY:(e,t)=>`var(--clerk-${e}, ${t})`})},869(e,t,r){var n=r(1756),o=r(6874);let i=e=>e[0];function a(e){return(e||[]).reduce((e,t)=>(t.meta?.paramName?e.fieldErrors.push(t):e.globalErrors.push(t),e),{fieldErrors:[],globalErrors:[]})}function l(e){if(!(0,n.$R)(e))return;let{globalErrors:t}=a(e.errors);if(t.length)return t[0]}function s(e){if(!(0,n.$R)(e))return;let{fieldErrors:t}=a(e.errors);if(t.length)return t[0]}r.d(t,{QU:()=>l,hG:()=>s},{H4:(e,t,r)=>{if(!(0,n.ux)(e))throw e;if((0,n.si)(e)){let t,n;return t=e,n=r,n?.(t.message)}if((0,n.$R)(e))return((e,t,r)=>{if(!(0,n.$R)(e))return;let{fieldErrors:l,globalErrors:s}=a(e.errors);if(l&&!(l.length<1)&&t.forEach(e=>{let t=e?.buildErrorMessage;t||(t=i);let r=l.filter(t=>t.meta?.paramName===e.id||(0,o.sF)(t.meta?.paramName)===e.id),n=t(r);r.length&&n?e.setError(n):e.clearFeedback()}),r){r(void 0);let e=s[0];e&&r(e)}})(e,t,r);if((!(0,n.Cm)(e)||"reverification_cancelled"!==e.code)&&(0,n.Cm)(e)){var l,s,c;return l=e,s=0,c=r,void((0,n.Cm)(l)&&c&&(c(void 0),l&&c(l)))}}})},1906(e,t,r){let n=e=>e.reduce((e,t,r)=>(e[t]=r,e),{}),o=n(["passkey","password","email_link","email_code","phone_code"]),i=n(["email_link","email_code","phone_code","passkey","password"]),a=n(["email_link","email_code","phone_code","passkey","password"]),l=n(["totp","phone_code","backup_code"]),s=e=>(t,r)=>{let n=e[t.strategy],o=e[r.strategy];return void 0===n||void 0===o?0:n-o},c=s(o),d=s(i),u=s(l),p=s(a);r.d(t,{},{Ih:d,Kn:c,Wy:u,aR:p})},3736(e,t,r){function n(e,t="long",r="en-US"){let o={month:"short"===t?"short":"long",..."monthyear"!==t&&{day:"numeric"},..."short"!==t&&{year:"numeric"}};return new Intl.DateTimeFormat(r,o).format(e)}r.d(t,{Y:()=>n})},4970(e,t,r){var n=r(6370);let o=e=>e&&e.includes("**");r.d(t,{},{R:o,u:e=>!e||e.includes("@")||o(e)||e.match(/[a-zA-Z]/)||!e.startsWith("+")?e:(0,n.Om)(e)})},7259(e,t,r){r.d(t,{},{P:e=>[...e].reduce((e,[t,r])=>(e[t]=r,e),{})})},7549(e,t,r){function n(e){let t=e?.closest("[data-clerk-profile-scroll-box-root]");return t instanceof HTMLElement?t:void 0}function o(e,t){if(t&&"mounted"!==e)return n(t.target)}r.d(t,{J:()=>o,d:()=>n})},4349(e,t,r){var n=r(2314),o=r(8342);r.d(t,{},{T:e=>{let t=(0,n.om)({date:e||new Date,relativeTo:new Date});if(!t)return"";switch(t.relativeDateCase){case"previous6Days":return(0,o.G)("dates.previous6Days",{date:t.date});case"lastDay":return(0,o.G)("dates.lastDay",{date:t.date});case"sameDay":return(0,o.G)("dates.sameDay",{date:t.date});case"nextDay":return(0,o.G)("dates.nextDay",{date:t.date});case"next6Days":return(0,o.G)("dates.next6Days",{date:t.date});default:return(0,o.G)("dates.numeric",{date:t.date})}}})},720(e,t,r){r.d(t,{p:()=>n});let n=e=>{if((e||"").includes("gravatar")||(e||"").includes("avatar_placeholder"))return!0;try{var t;let r=(t=new URL(e).pathname.replace("/",""),"u">typeof atob&&"function"==typeof atob?atob(t):void 0!==globalThis.Buffer?globalThis.Buffer.from(t,"base64").toString():t),n=JSON.parse(r);return"default"===n.type}catch{return!1}}},3363(e,t,r){function n(e){return"ListFormat"in Intl&&function(e){if(!e)return!1;let t=Array.isArray(e)?e:[e];return Intl.ListFormat.supportedLocalesOf(t).length===t.length}(e)}function o(e,t){return"NumberFormat"in Intl&&function(e){if(!e)return!1;try{return Intl.NumberFormat.supportedLocalesOf(e).length>0}catch{return!1}}(t)?new Intl.NumberFormat(t,{notation:"compact"}).format(e):e.toString()}r.d(t,{L1:()=>o,bI:()=>n})},791(e,t,r){let n=/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i;r.d(t,{},{X:()=>!("u"<typeof window)&&void 0!==window.document&&!!(window.matchMedia("only screen and (max-width: 760px)").matches||n.test(navigator.userAgent)||"ontouchstart"in document.documentElement&&navigator.userAgent.match(/Mobi/))})},1029(e,t,r){r.d(t,{},{P:(...e)=>t=>{for(let r of e)r&&(r.current=t)}})},2789(e,t,r){function n(e){let t=[];return Object.entries(e).forEach(([,e])=>{e?.used_for_second_factor&&e.second_factors&&t.push(...e.second_factors)}),t}function o(e,t){let r=n(e);return t.totpEnabled&&(r=r.filter(e=>"totp"!==e)),(t.backupCodeEnabled||!t.twoFactorEnabled)&&(r=r.filter(e=>"backup_code"!==e)),r}r.d(t,{FY:()=>n,UP:()=>o},{QN:e=>e.defaultSecondFactor?-1:1})},8008(e,t,r){var n=r(1117);r.d(t,{},{C:({routing:e,path:t})=>t&&!e?{routing:"path",path:t}:"path"!==e&&t?(0,n.SK)(e):{routing:e,path:t}})},3415(e,t,r){r.d(t,{u:()=>c});var n=r(1117);let o={initialDelay:125,maxDelayBetweenRetries:0,factor:2,shouldRetry:(e,t)=>t<5,retryImmediately:!1,jitter:!0},i=async e=>new Promise(t=>setTimeout(t,e)),a=(e,t)=>t?e*(1+Math.random()):e,l=async(e,t={})=>{var r;let n,l=0,{shouldRetry:s,initialDelay:c,maxDelayBetweenRetries:d,factor:u,retryImmediately:p,jitter:m,onBeforeRetry:h}={...o,...t},f=(r={initialDelay:c,maxDelayBetweenRetries:d,factor:u,jitter:m},n=0,async()=>{let e;await i((e=a(e=r.initialDelay*Math.pow(r.factor,n),r.jitter),Math.min(r.maxDelayBetweenRetries||e,e))),n++});for(;;)try{return await e()}catch(e){if(!s(e,++l))throw e;h&&await h(l),p&&1===l?await i(a(100,m)):await f()}};async function s(e="",t){let{async:r,defer:n,beforeLoad:o,crossOrigin:i,nonce:a}=t||{};return l(()=>new Promise((t,l)=>{e||l(Error("loadScript cannot be called without a src")),document&&document.body||l(Error("loadScript cannot be called when document does not exist"));let s=document.createElement("script");i&&s.setAttribute("crossorigin",i),s.async=r||!1,s.defer=n||!1,s.addEventListener("load",()=>{s.remove(),t(s)}),s.addEventListener("error",t=>{s.remove(),l(t.error??Error(`failed to load script: ${e}`))}),s.src=e,a&&(s.nonce=a),o?.(s),document.body.appendChild(s)}),{shouldRetry:(e,t)=>t<=5})}async function c(){if(!window.google)try{await s("https://accounts.google.com/gsi/client",{defer:!0})}catch{(0,n.A8)("Google Identity Services")}return window.google}},6097(e,t,r){r.d(t,{C:()=>o});let n=[".lovable.app",".lovableproject.com",".webcontainer-api.io",".vusercontent.net",".v0.dev",".v0.app",".lp.dev",".replit.dev"];function o(){return function(){if(void 0===globalThis.document)return!1;try{return window.self!==window.top}catch{return!0}}()||n.some(e=>window.location.hostname.endsWith(e))}},5357(e,t,r){var n=r(8342),o=r(3363);let i=e=>e?e.endsWith(".")?e:`${e}.`:"",a=(e,t)=>(0,o.bI)(t)?new Intl.ListFormat(t,{style:"long",type:"conjunction"}).format(e):e.join(", ");r.d(t,{},{C5:(e,t)=>{if(!t)return e[0].longMessage;let{t:r,locale:o,passwordSettings:l}=t;if(e?.[0]?.code==="form_password_size_in_bytes_exceeded"||e?.[0]?.code==="form_password_pwned"||e?.[0]?.code==="form_new_password_matches_current"||e?.[0]?.code==="form_password_matches_identifier")return`${r((0,n.G)(`unstable__errors.${e?.[0]?.code}`))||e?.[0]?.message}`;if(e?.[0]?.code==="form_password_not_strong_enough"){let t=e[0].meta?.zxcvbn?.suggestions?.map(e=>r((0,n.G)(`unstable__errors.zxcvbn.suggestions.${e.code}`))).join(" ");return`${r((0,n.G)("unstable__errors.zxcvbn.notEnough"))} ${t}`}let s=e.filter(e=>"form_password_length_too_short"===e.code),c={form_password_length_too_long:["unstable__errors.passwordComplexity.maximumLength","length",l.max_length],form_password_length_too_short:["unstable__errors.passwordComplexity.minimumLength","length",l.min_length],form_password_no_uppercase:"unstable__errors.passwordComplexity.requireUppercase",form_password_no_lowercase:"unstable__errors.passwordComplexity.requireLowercase",form_password_no_number:"unstable__errors.passwordComplexity.requireNumbers",form_password_no_special_char:"unstable__errors.passwordComplexity.requireSpecialCharacter"},d=(s.length?s:e).filter(e=>Object.hasOwn(c,e.code));if(!d.length)return e?.[0];let u=a(d.map(e=>{let t=c[e.code];if(Array.isArray(t)){let[e,o,i]=t;return r((0,n.G)(e,{[o]:i}))}return r((0,n.G)(t))}),o);return i(`${r((0,n.G)("unstable__errors.passwordComplexity.sentencePrefix"))} ${u}`)},kS:a,zJ:i})},6370(e,t,r){var n=r(6323);let o={};function i(e,t="us"){if(o[e=e||t])return o[e];let r=String.fromCodePoint(...[...e.toUpperCase()].map(e=>e.codePointAt(0)+127397));return o[e]=r,r}function a(e,t,r){var n;if(!e||!t)return e;let o=[...l(e)].slice(0,15-((n=(n=r)||"1").includes("+")?n:"+"+n).length);if(o.length<=3)return o.join("");let i="";for(let e=0;o.length>0;e++)e>t.length-1?i+=o.shift():i+="."===t[e]?o.shift():t[e];return i}function l(e){return(e||"").replace(/[^\d]/g,"")}function s(e,t){if(!e||!n.nU.get(e)||!t)return!1;let r=t[0],o=t.substring(1,4);return r===n.nU.get(e)?.code&&t.length-1===((n.nU.get(e)?.pattern||"").match(/\./g)||[]).length&&n.mK[e].has(o)}function c(e){let t=l(e),r=function(e,t="us"){let r=l(e);return!r||r.length<4?t:r.startsWith("1")&&s("us",r)?"us":r.startsWith("1")&&s("ca",r)?"ca":p(r).country.iso}(t),o=n.nU.get(r)?.pattern||"",i=n.nU.get(r)?.code||"",c=t.slice(i.length),d=`+${i} ${a(c,o,i)}`;return{iso:r,pattern:o,code:i,number:c,formattedNumberWithCode:d}}function d(e){let t=c(e);return`+${t.code} ${a(t.number,t.pattern,t.code)}`}let u=(e,t)=>t.priority-e.priority;function p(e){let t=l(e),r=[];for(let e of[4,3,2,1]){let o=t.substring(0,e),i=n.zh.get(o)||[];i.length&&r.push(...i)}let o=n.nU.get("us"),i=r.sort(u)[0]||o;return{number:t.slice(i?.code.length||0),country:i}}function m(e,t){if(!t)return null;let{country:r}=p(e);return t[r.iso.toUpperCase()]||null}r.d(t,{Mz:()=>p,Om:()=>d,TV:()=>m,Xd:()=>c,eL:()=>i,n4:()=>a,sH:()=>l})},5882(e,t,r){var n=r(7530);r.d(t,{},{w:e=>(0,n.b_)()||e.sdkMetadata?.environment==="development"})},6610(e,t,r){var n=r(5630);r.d(t,{},{K:e=>{if(!e)throw Error("Clerk: URL is required for custom links");return(0,n.AY)(e)||"/"===e.charAt(0)?e:`/${e}`}})},1880(e,t,r){r.d(t,{},{y:e=>new Promise(t=>setTimeout(t,e))})},1585(e,t,r){var n=r(8342);function o(e){let t=new Date,r=new Date(e);if(isNaN(r.getTime()))return"";let o=Math.floor((t.getTime()-r.getTime())/1e3);if(o<60)return(0,n.G)("apiKeys.lastUsed__seconds",{seconds:o});let i=Math.floor(o/60);if(i<60)return(0,n.G)("apiKeys.lastUsed__minutes",{minutes:i});let a=Math.floor(i/60);if(a<24)return(0,n.G)("apiKeys.lastUsed__hours",{hours:a});let l=Math.floor(a/24);if(l<30)return(0,n.G)("apiKeys.lastUsed__days",{days:l});let s=Math.floor(l/30);if(s<12)return(0,n.G)("apiKeys.lastUsed__months",{months:s});let c=Math.floor(s/12);return(0,n.G)("apiKeys.lastUsed__years",{years:c})}r.d(t,{f:()=>o})},5747(e,t,r){function n(e,t=20,r=5){if(!e)return e;let o=Array.from(e);return o.length<=t?e:t<=r+3?"..."+o.slice(-r).join(""):o.slice(0,t-r-3).join("")+"..."+o.slice(-r).join("")}r.d(t,{W:()=>n})},1637(e,t,r){var n=r(630),o=r(3770),i=r(6887);let a=e=>e.trim(),l=(e,t)=>{let r=e;for(let e=0;e<t.length;e++)r=t[e](r);return r};r.d(t,{},{eW:e=>{let{feedback:t="",delayInMs:r=100,feedbackType:n="info",isFocused:i=!1}=e||{},a=!i&&["info","warning"].includes(n);return{debounced:(0,o.d)({feedback:a?"":t,feedbackType:a?"info":n},r)}},mK:e=>{let t={};return e.forEach(e=>{t[e.id]="checkbox"!==e.type?e.value:e.checked}),t},tJ:(e,t,r)=>{let o=r||{type:"text",label:"",isRequired:!1,placeholder:"",options:[],defaultChecked:!1},s=[];o.transformer&&s.push(o.transformer),"email"===o.type&&s.push(a);let{translateError:c,t:d}=(0,i._)(),[u,p]=(0,n.useState)(l(t,s)),[m,h]=(0,n.useState)(!1),[f,g]=(0,n.useState)(o?.defaultChecked||!1),[b,v]=(0,n.useState)(!1),[y,w]=(0,n.useState)({message:"",type:"info"}),$=e=>{w({message:c(e),type:"error"})},{defaultChecked:x,validatePassword:S,buildErrorMessage:_,...k}=o,C={id:e,name:e,value:u,checked:f,setSuccess:e=>{w({message:e,type:"success"})},setError:$,onChange:e=>o?.type==="checkbox"?g(e.target.checked):p(l(e.target.value||"",s)),onBlur:()=>{h(!1)},onFocus:()=>{h(!0)},setWarning:e=>{w({message:c(e),type:"warning"})},feedback:y.message||d(o.infoText),feedbackType:y.type,setInfo:e=>{w({message:e,type:"info"})},clearFeedback:()=>{w({message:"",type:"info"})},hasPassedComplexity:b,setHasPassedComplexity:v,validatePassword:"password"===o.type?o.validatePassword:void 0,isFocused:m,...k};return{props:C,...C,buildErrorMessage:_,setError:$,setValue:e=>p(e||""),setChecked:e=>g(e)}}})},9374(e,t,r){var n=r(8342);let o="form_username_invalid_length",i="form_username_needs_non_number_char";r.d(t,{},{Z:(e,t)=>{let{t:r,usernameSettings:a}=t,l=e[0];return t?l?.code===o?r((0,n.G)(`unstable__errors.${o}`,{min_length:a.min_length,max_length:a.max_length})):l?.code===i?r((0,n.G)(`unstable__errors.${i}`)):l:l}})},8702(e,t,r){var n=r(2826);function o({signUpIfMissingEnabled:e,passwordEnabled:t}){e&&t&&n.v.warnOnce('Clerk: <SignIn> is rendering the sign-in-or-up flow, but visitors without an account cannot\ncomplete it on this instance.\n\nThis is caused by two instance settings being enabled together:\n - password\n - strict enumeration protection\n\nStrict enumeration protection makes a sign-in for an unknown identifier advertise every first\nfactor the instance supports, password included, and password is the preferred factor by default.\nA visitor who does not have an account is therefore routed to the password screen, where nothing\nthey type can succeed and no sign-up transfer is possible. They have to find "Use another method"\nand pick a code or link factor before the flow can create their account.\n\nA wrong password and a non-existent user are deliberately indistinguishable to the client, so the\ncomponent cannot detect this and recover on its own. To make the flow work for new users, either\ndisable password on the instance or set the instance\'s preferred sign-in strategy to OTP.\n\nLearn more: https://clerk.com/docs/guides/secure/user-enumeration-protection#sign-in-or-up-under-strict-protection\n(code=sign_up_if_missing_password_preferred)')}r.d(t,{O:()=>o})},1097(e,t,r){var n=r(1756),o=r(869);r.d(t,{},{f:(e,t)=>{if((0,n.$R)(e)&&e.errors?.[0]?.meta?.paramName==="identifier"&&e.errors?.[0]?.code==="form_param_nil"){let e=new n.cR("A Web3 Wallet extension cannot be found. Please install one to continue.",{code:"web3_missing_identifier"});return(0,o.H4)(e,[],t)}return(0,o.H4)(e,[],t)}})},1584(e,t,r){r.d(t,{F:()=>i});let n=["http:","https:","wails:","chrome-extension:"],o=/^[/\\][/\\]/;function i(e,t,r){let i=e.__internal_windowNavigate;if("function"==typeof i)return i.call(e,t,r);if("string"==typeof t&&o.test(function(e){let t=0;for(;t<e.length&&32>=e.charCodeAt(t);)t++;let r="";for(let n=t;n<e.length;n++){let t=e.charCodeAt(n);9!==t&&10!==t&&13!==t&&(r+=e[n])}return r}(t)))return void console.warn(`Clerk: scheme-relative navigation to "${t}" is not allowed. Provide a same-origin path or an absolute URL.`);let a=new URL(t,window.location.href);((void 0)??n).includes(a.protocol)?(window.dispatchEvent(new CustomEvent("clerk:beforeunload")),window.location.href=a.href):console.warn(`Clerk: "${a.protocol}" is not a valid navigation protocol. Aborting navigation. If you think this is a mistake, please open an issue.`)}},1629(e,t,r){let n,o;var i,a=function(e,t,r,n){if("a"===r&&!n)throw TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!n:!t.has(e))throw TypeError("Cannot read private member from an object whose class did not declare it");return"m"===r?n:"a"===r?n.call(e):n?n.value:t.get(e)},l=function(e,t,r,n,o){if("m"===n)throw TypeError("Private method is not writable");if("a"===n&&!o)throw TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!o:!t.has(e))throw TypeError("Cannot write private member to an object whose class did not declare it");return"a"===n?o.call(e,r):o?o.value=r:t.set(e,r),r};let s=new Set,c={};function d(){if(o||(o=Object.freeze({register:u,get:p,on:m}),"u"<typeof window))return o;let e=Object.freeze({register:u});try{window.addEventListener("wallet-standard:register-wallet",({detail:t})=>t(e))}catch(e){console.error("wallet-standard:register-wallet event listener could not be added\n",e)}try{window.dispatchEvent(new f(e))}catch(e){console.error("wallet-standard:app-ready event could not be dispatched\n",e)}return o}function u(...e){return(e=e.filter(e=>!s.has(e))).length?(e.forEach(e=>{n=void 0,s.add(e)}),c.register?.forEach(t=>h(()=>t(...e))),function(){e.forEach(e=>{n=void 0,s.delete(e)}),c.unregister?.forEach(t=>h(()=>t(...e)))}):()=>{}}function p(){return n||(n=[...s]),n}function m(e,t){return c[e]?.push(t)||(c[e]=[t]),function(){c[e]=c[e]?.filter(e=>t!==e)}}function h(e){try{e()}catch(e){console.error(e)}}var f=class extends Event{get detail(){return a(this,i,"f")}get type(){return"wallet-standard:app-ready"}constructor(e){super("wallet-standard:app-ready",{bubbles:!1,cancelable:!1,composed:!1}),i.set(this,void 0),l(this,i,e,"f")}preventDefault(){throw Error("preventDefault cannot be called")}stopImmediatePropagation(){throw Error("stopImmediatePropagation cannot be called")}stopPropagation(){throw Error("stopPropagation cannot be called")}};i=new WeakMap,r.d(t,{getWallets:()=>d})},8249(e,t,r){let n=[{channel:"whatsapp",name:"WhatsApp"}];r.d(t,{},{c:n,y:e=>e&&n.find(t=>t.channel===e)||null})},129(e,t,r){function n(e,t="svg"){return`https://img.clerk.com/static/${e}.${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"]})},2314(e,t,r){function n(e){try{return new Date(e||new Date)}catch{return new Date}}function o(e){let{date:t,relativeTo:r}=e;if(!t||!r)return null;let o=n(t),i=function(e,t,{absolute:r=!0}={}){if(!e||!t)return 0;let n=Date.UTC(e.getFullYear(),e.getMonth(),e.getDate()),o=Math.floor((Date.UTC(t.getFullYear(),t.getMonth(),t.getDate())-n)/864e5);return r?Math.abs(o):o}(n(r),o,{absolute:!1});return i<-6?{relativeDateCase:"other",date:o}:i<-1?{relativeDateCase:"previous6Days",date:o}:-1===i?{relativeDateCase:"lastDay",date:o}:0===i?{relativeDateCase:"sameDay",date:o}:1===i?{relativeDateCase:"nextDay",date:o}:i<7?{relativeDateCase:"next6Days",date:o}:{relativeDateCase:"other",date:o}}r.d(t,{OG:()=>n,om:()=>o})},8238(e,t,r){let n=parseInt(r(630).version,10),o=n>=19||0===n;function i(e){return e?{inert:!!o||""}:{}}r.d(t,{D:()=>i})},4293(e,t,r){var n=r(1715);r.d(t,{},{A:({signUp:e,verifyEmailPath:t,verifyPhonePath:r,protectCheckPath:o,continuePath:i,navigate:a,handleComplete:l,redirectUrl:s="",redirectUrlComplete:c="",oidcPrompt:d})=>{if("complete"===e.status)return(0,n.rw)("__clerk_ticket"),(0,n.rw)("__clerk_invitation_token"),l&&l();if("missing_requirements"===e.status){if(e.missingFields.some(e=>"enterprise_sso"===e))return e.authenticateWithRedirect({strategy:"enterprise_sso",redirectUrl:s,redirectUrlComplete:c,continueSignUp:!0,oidcPrompt:d});let l=(0,n.hF)();if((e.protectCheck||e.missingFields.some(e=>"protect_check"===e))&&o)return a(o,{searchParams:l});if(e.unverifiedFields?.includes("email_address")&&t)return a(t,{searchParams:l});if(e.unverifiedFields?.includes("phone_number")&&r)return a(r,{searchParams:l});if(i)return a(i,{searchParams:l})}}})},1059(e,t,r){r.d(t,{},{B_:(e,t)=>!t?.commerceSettings.billing.user.enabled,Ju:(e,t)=>!t?.userSettings.enterpriseSSO.self_serve_sso||!e.organization?.selfServeSSOEnabled,NW:(e,t)=>!t?.commerceSettings.billing.organization.enabled,Xu:(e,t)=>!!(e.isSignedIn&&t?.authConfig.singleSessionMode),s$:(e,t)=>!t?.apiKeysSettings?.orgs_api_keys_enabled,ui:(e,t)=>!t?.apiKeysSettings?.user_api_keys_enabled})},7275(e,t,r){var n=r(4293);r.d(t,{},{M:({signUp:e,continueSignUpUrl:t,verifyEmailAddressUrl:r,verifyPhoneNumberUrl:o,signUpProtectCheckUrl:i,navigate:a})=>e.protectCheck||e.missingFields.includes("protect_check")?a(i):e.missingFields.length?a(t):(0,n.A)({signUp:e,verifyEmailPath:r,verifyPhonePath:o,protectCheckPath:i,navigate:a})})},8317(e,t,r){function n(e){return"string"==typeof e&&e.startsWith("org_")}r.d(t,{n:()=>n})},3507(e,t,r){r(9025);var n=class{static encode(e){return btoa(String.fromCharCode(...new Uint8Array(e))).replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,"")}static decode(e){let t=atob(e.replace(/-/g,"+").replace(/_/g,"/")),r=t.length,n=new Uint8Array(r);for(let e=0;e<r;e++)n[e]=t.charCodeAt(e);return n.buffer}};let o=new class{controller;__abort(){if(!this.controller)return;let e=Error();e.name="AbortError",this.controller.abort(e)}createAbortSignal(){this.__abort();let e=new AbortController;return this.controller=e,e.signal}abort(){this.__abort(),this.controller=void 0}};n.encode.bind(n),n.decode.bind(n),r.d(t,{},{sv:o})},9083(e,t,r){var n=r(6575);async function o(e,t,r={}){let i,a,{signal:l,setWidgetVisible:s}=r,{sdkUrl:c,token:d,uiHints:u}=e,p=function(e){let t;try{t=new URL(e)}catch{throw new n.t("Protect check sdk_url is not a valid URL",{code:"protect_check_invalid_sdk_url"})}if("https:"!==t.protocol)throw new n.t("Protect check sdk_url must use HTTPS",{code:"protect_check_invalid_sdk_url"});if(t.username||t.password)throw new n.t("Protect check sdk_url must not contain credentials",{code:"protect_check_invalid_sdk_url"});return t}(c);if(l?.aborted)throw new n.t("Protect check aborted by caller",{code:"protect_check_aborted"});try{i=await import(p.toString())}catch{throw new n.t("Protect check script failed to load. This is commonly caused by a Content Security Policy that blocks the script origin (add it to your script-src directive), a network error, or an invalid module.",{code:"protect_check_script_load_failed"})}if(l?.aborted)throw new n.t("Protect check aborted by caller",{code:"protect_check_aborted"});if("function"!=typeof i.default)throw new n.t("Protect check script does not export a default function",{code:"protect_check_invalid_script"});try{a=await i.default(t,{token:d,uiHints:u,signal:l,setWidgetVisible:s})}catch(t){let e=t instanceof Error&&"AbortError"===t.name;if(l?.aborted&&e)throw new n.t("Protect check aborted by caller",{code:"protect_check_aborted"});throw new n.t(`Protect check script execution failed: ${t instanceof Error?t.message:String(t)}`,{code:"protect_check_execution_failed"})}if(l?.aborted)throw new n.t("Protect check aborted by caller",{code:"protect_check_aborted"});return a}r(9025),r.d(t,{executeProtectCheck:()=>o})},3127(e,t,r){r.d(t,{},{W:(e,t={})=>{if(null==e||!e||"object"!=typeof e)return"";let r=new URLSearchParams;return Object.keys(e).forEach(n=>{let o=t.keyEncoder?t.keyEncoder(n):n,i=e[n];if(Array.isArray(i))i.forEach(e=>void 0!==e&&r.append(o,e||""));else{if(void 0===i)return;"object"==typeof i&&null!==i?r.append(o,JSON.stringify(i)):r.append(o,String(i??""))}}),r.toString()},v:e=>{let t={};return new URLSearchParams(e).forEach((e,r)=>{if(r in t){let n=t[r];Array.isArray(n)?n.push(e):t[r]=[n,e]}else t[r]=e}),t}})},8499(e,t,r){r.d(t,{n:()=>l});var n=r(6874);let o=(e,t)=>{let r={};for(let n in e)r[n]=t(e[n],n);return r},i=(e,t)=>{let r={};for(let n in e)e[n]&&t(e[n])&&(r[n]=e[n]);return r};var a=r(5630),l=class e{static keys=["signInForceRedirectUrl","signInFallbackRedirectUrl","signUpForceRedirectUrl","signUpFallbackRedirectUrl","redirectUrl"];static preserved=["redirectUrl"];options;fromOptions;fromProps;fromSearchParams;mode;constructor(e,t={},r={},n){this.options=e,this.fromOptions=this.#e(e||{}),this.fromProps=this.#e(t||{}),this.fromSearchParams=this.#t(r||{}),this.mode=n}getAfterSignInUrl(){return this.#r("signIn")}getAfterSignUpUrl(){return this.#r("signUp")}getPreservedSearchParams(){return this.#n(this.#o())}toSearchParams(){return this.#n(this.#i())}#n(e){return new URLSearchParams(Object.entries(Object.fromEntries(Object.entries(e).map(([e,t])=>[(0,n.C8)(e),t]))).reduce((e,[t,r])=>(null!=r&&(e[t]=r),e),{}))}#o(){return Object.fromEntries(Object.entries({...this.fromSearchParams}).filter(([t])=>e.preserved.includes(t)))}#i(){let e=this.fromSearchParams.signUpForceRedirectUrl||this.fromProps.signUpForceRedirectUrl||this.fromOptions.signUpForceRedirectUrl,t=this.fromSearchParams.signUpFallbackRedirectUrl||this.fromProps.signUpFallbackRedirectUrl||this.fromOptions.signUpFallbackRedirectUrl,r=this.fromSearchParams.signInForceRedirectUrl||this.fromProps.signInForceRedirectUrl||this.fromOptions.signInForceRedirectUrl,n={signUpForceRedirectUrl:e,signUpFallbackRedirectUrl:t,signInFallbackRedirectUrl:this.fromSearchParams.signInFallbackRedirectUrl||this.fromProps.signInFallbackRedirectUrl||this.fromOptions.signInFallbackRedirectUrl,signInForceRedirectUrl:r,redirectUrl:this.fromSearchParams.redirectUrl||this.fromProps.redirectUrl};return e&&delete n.signUpFallbackRedirectUrl,r&&delete n.signInFallbackRedirectUrl,n}#r(e){let t,r=`${e}ForceRedirectUrl`,n=`${e}FallbackRedirectUrl`;return(t=this.fromSearchParams[r]||this.fromProps[r]||this.fromOptions[r],t||=this.fromSearchParams.redirectUrl,(t||=this.fromSearchParams[n]||this.fromProps[n]||this.fromOptions[n])||"modal"!==this.mode)?t||"/":window.location.href}#e(t){let r={};return e.keys.forEach(e=>{r[e]=t[e]}),o(this.#a(this.#l(i(r,Boolean))),e=>e.toString())}#t(t){let r={};return e.keys.forEach(e=>{t instanceof URLSearchParams?r[e]=t.get((0,n.C8)(e)):r[e]=t[(0,n.C8)(e)]}),o(this.#a(this.#l(i(r,Boolean))),e=>e.toString())}#l(e){return o(e,e=>(0,a.kU)(e,window.location.origin))}#a=e=>i(e,(0,a.vU)(this.options?.allowedRedirectOrigins,window.location.origin))}},7922(e,t,r){var n=r(1715),o=r(5630);let i={"choose-organization":"choose-organization","reset-password":"reset-password","setup-mfa":"setup-mfa"},a=e=>`/tasks/${i[e.key]}`;function l(e,t){let r=(0,n.hF)();return(0,o.kZ)({base:t.base,hashPath:a(e),searchParams:r},{stringify:!0})}function s(e,{navigate:t,baseUrl:r}){let n=e.currentTask;if(n)return t(l(n,{base:r}))}r.d(t,{KA:()=>s,tv:()=>l},{ru:a,tk:i})},5630(e,t,r){r.d(t,{kZ:()=>m,tL:()=>$,vU:()=>_,V0:()=>y,AY:()=>g,yR:()=>x,yY:()=>S,kU:()=>b,d3:()=>w,FV:()=>h,Kj:()=>f});var n=r(890),o=r(547),i=r(6874),a=r(2826);let l=RegExp("/{1,}","g");var s=r(3127);let c="http://clerk-dummy",d=["javascript:"],u=["javascript:","data:","vbscript:","blob:"],{isDevOrStagingUrl:p}=(0,n.RZ)();function m(e,t={}){let{base:r,hashPath:n,hashSearch:o,searchParams:a,hashSearchParams:d,...u}=e,p=new URL(r||"","u">typeof window&&window.location?window.location.href:"http://react-native-fake-base-url");if(a instanceof URLSearchParams&&a.forEach((e,t)=>{null!=e&&p.searchParams.set((0,i.C8)(t),e)}),Object.assign(p,u),n||o||d){var h;let e=new URL(c+p.hash.substring(1));for(let[t,r]of(h=e.pathname,e.pathname=[h,n||""].filter(e=>e).join("/").replace(l,"/"),Object.entries((0,s.v)(o||""))))e.searchParams.append(t,r);if(d)for(let t of Array.isArray(d)?d:[d])(t instanceof URLSearchParams||"object"==typeof t)&&new URLSearchParams(t).forEach((t,r)=>{null!=t&&e.searchParams.set((0,i.C8)(r),t)});let t=e.href.replace(c,"");"/"!==t&&(p.hash=t)}let{stringify:f,skipOrigin:g}=t;return f?g?p.href.replace(p.origin,""):p.href:p}function h(e){return void 0===window.location&&"string"==typeof e?e:(e=new URL(e.toString(),window.location.origin)).href.replace(e.origin,"")}let f=e=>(e||"").replace(/\/+$/,"");function g(e){if(!e)return!1;try{return new URL(e),!0}catch{return!1}}function b(e,t){try{return new URL(e)}catch{return new URL(e,t)}}let v=[/\0/,/^\/\//,/[\x00-\x1F]/];function y(e){return!!e&&!!g(e)&&"data:"===new URL(e).protocol}function w(e){if(!e||""===e.trim())return null;if(e.startsWith("/")||e.startsWith("#")||e.startsWith("?")||!e.includes(":"))return e;try{if(function(e){if(!g(e))return!1;let t=new URL(e).protocol;return u.some(e=>e===t)}(new URL(e)))return null;return e}catch{return e}}let $=e=>new URL(e,c).hash.startsWith("#/"),x=e=>{let t=new URL(e);if(!$(t))return t;let r=new URL(t.hash.replace("#/","/"),t.href),n=new URL([t.pathname,r.pathname].map(e=>e.split("/")).flat().filter(Boolean).join("/"),t.origin);return t.searchParams.forEach((e,t)=>{n.searchParams.set(t,e)}),r.searchParams.forEach((e,t)=>{n.searchParams.set(t,e)}),n},S=e=>e.replace(/CLERK-ROUTER\/(.*?)\//,""),_=(e,t)=>r=>{let n=r;if("string"==typeof n&&(n=b(n,t)),!e)return!0;let i=t===n.origin,l=!function(e){if(function(e){if(!g(e))return!1;let t=new URL(e).protocol;return d.some(e=>e===t)}(e))return!0;for(let t of v)if(t.test(e.pathname))return!0;return!1}(n)&&(i||e.map(e=>"string"==typeof e?(e=>{try{return o(e)}catch(t){throw Error(`Invalid pattern: ${e}.
119
119
  Consult the documentation of glob-to-regexp here: https://www.npmjs.com/package/glob-to-regexp.
120
120
  ${t.message}`)}})(f(e)):e).some(e=>e.test(f(n.origin))));return l||a.v.warnOnce(`Clerk: Redirect URL ${n} is not on one of the allowedRedirectOrigins, falling back to the default redirect URL.`),l}},6381(e,t,r){r.d(t,{},{Cm:e=>e.username?e.username:e.primaryEmailAddress?e.primaryEmailAddress.emailAddress:e.primaryPhoneNumber?e.primaryPhoneNumber.phoneNumber:e.primaryWeb3Wallet?e.primaryWeb3Wallet.web3Wallet:"",IM:({firstName:e,lastName:t,name:r})=>[(e||"")[0],(t||"")[0]].join("").trim()||(r||"")[0],dS:({firstName:e,lastName:t,name:r})=>r||[e,t].join(" ").trim()||""})},319(e,t,r){let n=e=>`🔒 Clerk:
121
121
  ${e.trim()}
122
- (This notice only appears in development)`,o=e=>n(`${e} as a function is not supported in this environment. The value will be ignored. Provide an absolute URL instead.`),i={proxyUrlAsFunctionNotSupported:o("proxyUrl"),domainAsFunctionNotSupported:o("domain"),cannotRenderComponentWhenSessionExists:"The <SignUp/> and <SignIn/> components cannot render when a user is already signed in, unless the application allows multiple sessions. Since a user is signed in and this application only allows a single session, Clerk is redirecting to the Home URL instead.",cannotRenderSignUpComponentWhenSessionExists:"The <SignUp/> component cannot render when a user is already signed in, unless the application allows multiple sessions. Since a user is signed in and this application only allows a single session, Clerk is redirecting to the value set in `afterSignUp` URL instead.",cannotRenderSignUpComponentWhenTaskExists:"The <SignUp/> component cannot render when a user has a pending task, unless the application allows multiple sessions. Since a user is signed in and this application only allows a single session, Clerk is redirecting to the task instead.",cannotRenderComponentWhenTaskDoesNotExist:"<TaskChooseOrganization/> cannot render unless a session task is pending. Clerk is redirecting to the value set in `redirectUrlComplete` instead.",cannotRenderSignInComponentWhenSessionExists:"The <SignIn/> component cannot render when a user is already signed in, unless the application allows multiple sessions. Since a user is signed in and this application only allows a single session, Clerk is redirecting to the `afterSignIn` URL instead.",cannotRenderSignInComponentWhenTaskExists:"The <SignIn/> component cannot render when a user has a pending task, unless the application allows multiple sessions. Since a user is signed in and this application only allows a single session, Clerk is redirecting to the task instead.",cannotRenderComponentWhenUserDoesNotExist:"<UserProfile/> cannot render unless a user is signed in. Since no user is signed in, this is no-op.",createCannotRenderComponentWhenOrgDoesNotExist:e=>n(`<${e}/> cannot render unless an organization is active. Since no organization is currently active, this is no-op.`),createCannotRenderComponentWhenPermissionIsMissing:(e,t)=>n(`<${e}/> cannot render unless the current user has the \`${t}\` permission. Since the current user is missing this permission, this is no-op. Render it only for members who can manage memberships, for example by wrapping it in <Show when={{ permission: '${t}' }}>.`),cannotRenderAnyOrganizationComponent:e=>n(`The <${e}/> cannot be rendered when the feature is turned off. Visit 'dashboard.clerk.com' to enable the feature. Since the feature is turned off, this is no-op.`),cannotRenderAnyBillingComponent:e=>n(`The <${e}/> component cannot be rendered when billing is disabled. Visit 'https://dashboard.clerk.com/last-active?path=billing/settings' to follow the necessary steps to enable billing. Since billing is disabled, this is no-op.`),cannotOpenUserProfile:"The UserProfile modal cannot render unless a user is signed in. Since no user is signed in, this is no-op.",cannotOpenCheckout:"The Checkout drawer cannot render unless a user is signed in. Since no user is signed in, this is no-op.",cannotOpenSignInOrSignUp:"The <SignIn/> and <SignUp/> modals are hidden because a user is already signed in and this application is configured for single-session mode. This is expected behavior — no action is needed. To allow rendering while signed in, enable multi-session mode in your Clerk Dashboard.",cannotRenderAPIKeysComponent:"The <APIKeys/> component cannot be rendered when API keys is disabled. Since API keys is disabled, this is no-op.",cannotRenderAPIKeysComponentForOrgWhenUnauthorized:"The <APIKeys/> component cannot be rendered for an organization unless a user has the required permissions. Since the user does not have the necessary permissions, this is no-op.",cannotRenderAPIKeysComponentForUserWhenDisabled:"The <APIKeys/> component cannot be rendered when user API keys are disabled. Since user API keys are disabled, this is no-op.",cannotRenderAPIKeysComponentForOrgWhenDisabled:"The <APIKeys/> component cannot be rendered when organization API keys are disabled. Since organization API keys are disabled, this is no-op.",cannotRenderOAuthConsentComponentWhenUserDoesNotExist:"<OAuthConsent/> cannot render unless a user is signed in. Since no user is signed in, this is no-op.",cannotRenderConfigureSSOComponentWhenUserDoesNotExist:"<ConfigureSSO/> cannot render unless a user is signed in. Since no user is signed in, this is no-op.",cannotRenderConfigureSSOComponentWhenDisabled:"The <ConfigureSSO/> component cannot be rendered when self-serve SSO is disabled. Visit `https://dashboard.clerk.com` to enable the feature. Since self-serve SSO is disabled, this is no-op.",cannotRenderConfigureSSOComponentWhenEmailAddressDisabled:"The <ConfigureSSO/> component cannot be rendered when email addresses are disabled on the instance. Visit `https://dashboard.clerk.com` to enable email addresses. Since email addresses are disabled, this is no-op."};for(let e of Object.keys(i)){let t=i[e];"function"!=typeof t&&(i[e]=n(t))}r.d(t,{},{A:i})},2949(e,t,r){r.d(t,{U:()=>l});var n=r(6575),o=r(23),i=class e{#s=[];#c={metamask:"MetaMask",okx_wallet:"OKX Wallet"};static #d=null;constructor(){if("u"<typeof window)return;window.addEventListener("eip6963:announceProvider",this.#u),window.dispatchEvent(new Event("eip6963:requestProvider"))}static getInstance(){return e.#d||(e.#d=new e),e.#d}get=e=>{let t=this.#s.find(t=>t.info.name===this.#c[e])?.provider;return void 0!==t?t:window.ethereum};#u=e=>{this.#s.some(t=>t.info.uuid===e.detail.info.uuid)||this.#s.push(e.detail)}},a=class e{#p=void 0;#m=!1;static #d=null;async #h(){if(this.#m)return;this.#m=!0;let e=await r.e(6666).then(r.bind(r,1629)).then(e=>e.getWallets());this.#p=e.get(),e.on("register",()=>{this.#p=e.get()}),e.on("unregister",()=>{this.#p=e.get()})}#f(e){return e.chains?.some(e=>e.startsWith("solana:"))??!1}#g(e){return"solana:signMessage"in e.features}static getInstance(){return e.#d||(e.#d=new e),e.#d}get=async e=>{await this.#h();let t=(this.#p||[]).find(t=>t.name===e&&this.#f(t)&&this.#g(t));if(t&&this.#f(t))return t;if("u"<typeof window)return;let r=window.solana;if(r&&"function"==typeof r.connect&&"function"==typeof r.signMessage)return r}};function l(e){let t=(0,o.y)({packageName:"@clerk/shared"});async function r(e){let{provider:t,walletName:r}=e,n=await v(t,r);if(!n)return"";if("solana"===t){let e=await n.features["standard:connect"].connect();return e&&e.accounts[0].address||""}let o=await n.request({method:"eth_requestAccounts"});return o&&o[0]||""}let l=async e=>{let{identifier:t,nonce:r,provider:o,walletName:i=""}=e,a=await v(o,i);if(!a)return"";if("solana"===o)try{let e=a.accounts.find(e=>e.address===t);if(!e)return console.warn(`Wallet account with address ${t} not found`),"";let n=await a.features["solana:signMessage"]?.signMessage({account:e,message:new TextEncoder().encode(r)});return n?.[0]?.signature?btoa(String.fromCharCode(...n[0].signature)):""}catch(e){if(e instanceof Error&&e.message.includes("User rejected the request."))throw new n.t("Web3 signature request was rejected by the user.",{code:"web3_signature_request_rejected"});throw new n.t("An error occurred while generating the Solana signature.",{code:"web3_solana_signature_generation_failed",cause:e instanceof Error?e:void 0})}return await a.request({method:"personal_sign",params:[`0x${r.split("").map(e=>e.charCodeAt(0).toString(16).padStart(2,"0")).join("")}`,t]})};async function s(){return await r({provider:"metamask"})}async function c(){return await r({provider:"coinbase_wallet"})}async function d(){return await r({provider:"okx_wallet"})}async function u(){return await r({provider:"base"})}async function p(e){return await r({provider:"solana",walletName:e})}async function m(e){return await l({...e,provider:"metamask"})}async function h(e){return await l({...e,provider:"coinbase_wallet"})}async function f(e){return await l({...e,provider:"okx_wallet"})}async function g(e){return await l({...e,provider:"base"})}async function b(e){return await l({...e,provider:"solana"})}async function v(r,n){if("coinbase_wallet"===r){let t=await e.import("@coinbase/wallet-sdk");return t?t.createCoinbaseWalletSDK({appName:"u">typeof window&&window.Clerk?.__internal_environment?.displayConfig?.applicationName||"u">typeof document&&document.title||"Web3 Application",preference:{options:"all"}}).getProvider():null}if("base"===r)try{let t=await e.import("@base-org/account");if(!t)return null;return t.createBaseAccountSDK({appName:"u">typeof window&&window.Clerk?.__internal_environment?.displayConfig?.applicationName||"u">typeof document&&document.title||"Web3 Application"}).getProvider()}catch{return null}return"solana"===r?n&&0!==n.length?await a.getInstance().get(n):void t.throw("Wallet name must be provided to get Solana wallet provider"):i.getInstance().get(r)}return{getWeb3Identifier:r,generateWeb3Signature:l,getMetamaskIdentifier:s,getCoinbaseWalletIdentifier:c,getOKXWalletIdentifier:d,getBaseIdentifier:u,getSolanaIdentifier:p,generateSignatureWithMetamask:m,generateSignatureWithCoinbaseWallet:h,generateSignatureWithOKXWallet:f,generateSignatureWithBase:g,generateSignatureWithSolana:b}}},890(e,t,r){var n=r(129);function o(){let e=new Map;return{isDevOrStagingUrl:t=>{if(!t)return!1;let r="string"==typeof t?t:t.hostname,o=e.get(r);return void 0===o&&(o=n.gE.some(e=>r.endsWith(e)),e.set(r,o)),o}}}function i(e){return e.startsWith("test_")||e.startsWith("pk_test_")}r.d(t,{RZ:()=>o,iE:()=>i})},2344(e,t,r){var n=r(5532);r.d(t,{fC:()=>n.o,we:()=>n.s})},3797(e,t,r){function n(e=""){return!function(e=""){return e.startsWith("/")}(e)?"/"+e:e}let o=/^[a-zA-Z][a-zA-Z\d+\-.]*?:/;r.d(t,{GP:()=>n},{vh:e=>o.test(e)})},3684(e,t,r){r.d(t,{nn:()=>a,Bz:()=>i});let n=RegExp("bot|spider|crawl|APIs-Google|AdsBot|Googlebot|mediapartners|Google Favicon|FeedFetcher|Google-Read-Aloud|DuplexWeb-Google|googleweblight|bing|yandex|baidu|duckduck|yahoo|ecosia|ia_archiver|facebook|instagram|pinterest|reddit|slack|twitter|whatsapp|youtube|semrush","i"),o=/^(Cloudflare-Workers|Node\.js|Deno|Bun)\b/i;function i(){var e;let t;return"u">typeof window&&!!(t=function(){if("u">typeof window&&window.navigator)return window.navigator;let e=globalThis;return"function"==typeof e.WorkerGlobalScope&&e.self instanceof e.WorkerGlobalScope&&e.self.navigator&&!o.test(e.self.navigator.userAgent??"")?e.self.navigator:null}())&&!((e=t?.userAgent)&&n.test(e))&&!t?.webdriver&&"function"==typeof window.PublicKeyCredential}async function a(){try{return i()&&await window.PublicKeyCredential.isConditionalMediationAvailable()}catch{return!1}}}}]);
122
+ (This notice only appears in development)`,o=e=>n(`${e} as a function is not supported in this environment. The value will be ignored. Provide an absolute URL instead.`),i={proxyUrlAsFunctionNotSupported:o("proxyUrl"),domainAsFunctionNotSupported:o("domain"),cannotRenderComponentWhenSessionExists:"The <SignUp/> and <SignIn/> components cannot render when a user is already signed in, unless the application allows multiple sessions. Since a user is signed in and this application only allows a single session, Clerk is redirecting to the Home URL instead.",cannotRenderSignUpComponentWhenSessionExists:"The <SignUp/> component cannot render when a user is already signed in, unless the application allows multiple sessions. Since a user is signed in and this application only allows a single session, Clerk is redirecting to the value set in `afterSignUp` URL instead.",cannotRenderSignUpComponentWhenTaskExists:"The <SignUp/> component cannot render when a user has a pending task, unless the application allows multiple sessions. Since a user is signed in and this application only allows a single session, Clerk is redirecting to the task instead.",cannotRenderComponentWhenTaskDoesNotExist:"<TaskChooseOrganization/> cannot render unless a session task is pending. Clerk is redirecting to the value set in `redirectUrlComplete` instead.",cannotRenderSignInComponentWhenSessionExists:"The <SignIn/> component cannot render when a user is already signed in, unless the application allows multiple sessions. Since a user is signed in and this application only allows a single session, Clerk is redirecting to the `afterSignIn` URL instead.",cannotRenderSignInComponentWhenTaskExists:"The <SignIn/> component cannot render when a user has a pending task, unless the application allows multiple sessions. Since a user is signed in and this application only allows a single session, Clerk is redirecting to the task instead.",cannotRenderComponentWhenUserDoesNotExist:"<UserProfile/> cannot render unless a user is signed in. Since no user is signed in, this is no-op.",createCannotRenderComponentWhenOrgDoesNotExist:e=>n(`<${e}/> cannot render unless an organization is active. Since no organization is currently active, this is no-op.`),createCannotRenderComponentWhenPermissionIsMissing:(e,t)=>n(`<${e}/> cannot render unless the current user has the \`${t}\` permission. Since the current user is missing this permission, this is no-op. Render it only for members who can manage memberships, for example by wrapping it in <Show when={{ permission: '${t}' }}>.`),cannotRenderAnyOrganizationComponent:e=>n(`The <${e}/> cannot be rendered when the feature is turned off. Visit 'dashboard.clerk.com' to enable the feature. Since the feature is turned off, this is no-op.`),cannotRenderAnyBillingComponent:e=>n(`The <${e}/> component cannot be rendered when billing is disabled. Visit 'https://dashboard.clerk.com/last-active?path=billing/settings' to follow the necessary steps to enable billing. Since billing is disabled, this is no-op.`),cannotOpenUserProfile:"The UserProfile modal cannot render unless a user is signed in. Since no user is signed in, this is no-op.",cannotOpenCheckout:"The Checkout drawer cannot render unless a user is signed in. Since no user is signed in, this is no-op.",cannotOpenSignInOrSignUp:"The <SignIn/> and <SignUp/> modals are hidden because a user is already signed in and this application is configured for single-session mode. This is expected behavior — no action is needed. To allow rendering while signed in, enable multi-session mode in your Clerk Dashboard.",cannotRenderAPIKeysComponent:"The <APIKeys/> component cannot be rendered when API keys is disabled. Since API keys is disabled, this is no-op.",cannotRenderAPIKeysComponentForOrgWhenUnauthorized:"The <APIKeys/> component cannot be rendered for an organization unless a user has the required permissions. Since the user does not have the necessary permissions, this is no-op.",cannotRenderAPIKeysComponentForUserWhenDisabled:"The <APIKeys/> component cannot be rendered when user API keys are disabled. Since user API keys are disabled, this is no-op.",cannotRenderAPIKeysComponentForOrgWhenDisabled:"The <APIKeys/> component cannot be rendered when organization API keys are disabled. Since organization API keys are disabled, this is no-op.",cannotRenderOAuthConsentComponentWhenUserDoesNotExist:"<OAuthConsent/> cannot render unless a user is signed in. Since no user is signed in, this is no-op.",cannotRenderConfigureSSOComponentWhenUserDoesNotExist:"<ConfigureSSO/> cannot render unless a user is signed in. Since no user is signed in, this is no-op.",cannotRenderConfigureSSOComponentWhenDisabled:"The <ConfigureSSO/> component cannot be rendered when self-serve SSO is disabled. Visit `https://dashboard.clerk.com` to enable the feature. Since self-serve SSO is disabled, this is no-op.",cannotRenderConfigureSSOComponentWhenEmailAddressDisabled:"The <ConfigureSSO/> component cannot be rendered when email addresses are disabled on the instance. Visit `https://dashboard.clerk.com` to enable email addresses. Since email addresses are disabled, this is no-op."};for(let e of Object.keys(i)){let t=i[e];"function"!=typeof t&&(i[e]=n(t))}r.d(t,{},{A:i})},2949(e,t,r){r.d(t,{U:()=>l});var n=r(6575),o=r(9025),i=class e{#s=[];#c={metamask:"MetaMask",okx_wallet:"OKX Wallet"};static #d=null;constructor(){if("u"<typeof window)return;window.addEventListener("eip6963:announceProvider",this.#u),window.dispatchEvent(new Event("eip6963:requestProvider"))}static getInstance(){return e.#d||(e.#d=new e),e.#d}get=e=>{let t=this.#s.find(t=>t.info.name===this.#c[e])?.provider;return void 0!==t?t:window.ethereum};#u=e=>{this.#s.some(t=>t.info.uuid===e.detail.info.uuid)||this.#s.push(e.detail)}},a=class e{#p=void 0;#m=!1;static #d=null;async #h(){if(this.#m)return;this.#m=!0;let e=await r.e(6666).then(r.bind(r,1629)).then(e=>e.getWallets());this.#p=e.get(),e.on("register",()=>{this.#p=e.get()}),e.on("unregister",()=>{this.#p=e.get()})}#f(e){return e.chains?.some(e=>e.startsWith("solana:"))??!1}#g(e){return"solana:signMessage"in e.features}static getInstance(){return e.#d||(e.#d=new e),e.#d}get=async e=>{await this.#h();let t=(this.#p||[]).find(t=>t.name===e&&this.#f(t)&&this.#g(t));if(t&&this.#f(t))return t;if("u"<typeof window)return;let r=window.solana;if(r&&"function"==typeof r.connect&&"function"==typeof r.signMessage)return r}};function l(e){let t=(0,o.y)({packageName:"@clerk/shared"});async function r(e){let{provider:t,walletName:r}=e,n=await v(t,r);if(!n)return"";if("solana"===t){let e=await n.features["standard:connect"].connect();return e&&e.accounts[0].address||""}let o=await n.request({method:"eth_requestAccounts"});return o&&o[0]||""}let l=async e=>{let{identifier:t,nonce:r,provider:o,walletName:i=""}=e,a=await v(o,i);if(!a)return"";if("solana"===o)try{let e=a.accounts.find(e=>e.address===t);if(!e)return console.warn(`Wallet account with address ${t} not found`),"";let n=await a.features["solana:signMessage"]?.signMessage({account:e,message:new TextEncoder().encode(r)});return n?.[0]?.signature?btoa(String.fromCharCode(...n[0].signature)):""}catch(e){if(e instanceof Error&&e.message.includes("User rejected the request."))throw new n.t("Web3 signature request was rejected by the user.",{code:"web3_signature_request_rejected"});throw new n.t("An error occurred while generating the Solana signature.",{code:"web3_solana_signature_generation_failed",cause:e instanceof Error?e:void 0})}return await a.request({method:"personal_sign",params:[`0x${r.split("").map(e=>e.charCodeAt(0).toString(16).padStart(2,"0")).join("")}`,t]})};async function s(){return await r({provider:"metamask"})}async function c(){return await r({provider:"coinbase_wallet"})}async function d(){return await r({provider:"okx_wallet"})}async function u(){return await r({provider:"base"})}async function p(e){return await r({provider:"solana",walletName:e})}async function m(e){return await l({...e,provider:"metamask"})}async function h(e){return await l({...e,provider:"coinbase_wallet"})}async function f(e){return await l({...e,provider:"okx_wallet"})}async function g(e){return await l({...e,provider:"base"})}async function b(e){return await l({...e,provider:"solana"})}async function v(r,n){if("coinbase_wallet"===r){let t=await e.import("@coinbase/wallet-sdk");return t?t.createCoinbaseWalletSDK({appName:"u">typeof window&&window.Clerk?.__internal_environment?.displayConfig?.applicationName||"u">typeof document&&document.title||"Web3 Application",preference:{options:"all"}}).getProvider():null}if("base"===r)try{let t=await e.import("@base-org/account");if(!t)return null;return t.createBaseAccountSDK({appName:"u">typeof window&&window.Clerk?.__internal_environment?.displayConfig?.applicationName||"u">typeof document&&document.title||"Web3 Application"}).getProvider()}catch{return null}return"solana"===r?n&&0!==n.length?await a.getInstance().get(n):void t.throw("Wallet name must be provided to get Solana wallet provider"):i.getInstance().get(r)}return{getWeb3Identifier:r,generateWeb3Signature:l,getMetamaskIdentifier:s,getCoinbaseWalletIdentifier:c,getOKXWalletIdentifier:d,getBaseIdentifier:u,getSolanaIdentifier:p,generateSignatureWithMetamask:m,generateSignatureWithCoinbaseWallet:h,generateSignatureWithOKXWallet:f,generateSignatureWithBase:g,generateSignatureWithSolana:b}}},890(e,t,r){var n=r(129);function o(){let e=new Map;return{isDevOrStagingUrl:t=>{if(!t)return!1;let r="string"==typeof t?t:t.hostname,o=e.get(r);return void 0===o&&(o=n.gE.some(e=>r.endsWith(e)),e.set(r,o)),o}}}function i(e){return e.startsWith("test_")||e.startsWith("pk_test_")}r.d(t,{RZ:()=>o,iE:()=>i})},2344(e,t,r){var n=r(5532);r.d(t,{fC:()=>n.o,we:()=>n.s})},3797(e,t,r){function n(e=""){return!function(e=""){return e.startsWith("/")}(e)?"/"+e:e}let o=/^[a-zA-Z][a-zA-Z\d+\-.]*?:/;r.d(t,{GP:()=>n},{vh:e=>o.test(e)})},3684(e,t,r){r.d(t,{nn:()=>a,Bz:()=>i});let n=RegExp("bot|spider|crawl|APIs-Google|AdsBot|Googlebot|mediapartners|Google Favicon|FeedFetcher|Google-Read-Aloud|DuplexWeb-Google|googleweblight|bing|yandex|baidu|duckduck|yahoo|ecosia|ia_archiver|facebook|instagram|pinterest|reddit|slack|twitter|whatsapp|youtube|semrush","i"),o=/^(Cloudflare-Workers|Node\.js|Deno|Bun)\b/i;function i(){var e;let t;return"u">typeof window&&!!(t=function(){if("u">typeof window&&window.navigator)return window.navigator;let e=globalThis;return"function"==typeof e.WorkerGlobalScope&&e.self instanceof e.WorkerGlobalScope&&e.self.navigator&&!o.test(e.self.navigator.userAgent??"")?e.self.navigator:null}())&&!((e=t?.userAgent)&&n.test(e))&&!t?.webdriver&&"function"==typeof window.PublicKeyCredential}async function a(){try{return i()&&await window.PublicKeyCredential.isConditionalMediationAvailable()}catch{return!1}}}}]);