@clerk/ui 1.44.2 → 1.44.3-canary.v20261120111523
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.
- package/dist/ClerkUI.js +2 -2
- package/dist/index.js +1 -1
- package/dist/no-rhc/ClerkUI.js +2 -2
- package/dist/no-rhc/index.js +1 -1
- package/dist/server.js +1 -1
- package/dist/ui.browser.js +2 -2
- package/dist/ui.legacy.browser.js +1 -1
- package/dist/ui.shared.browser.js +6 -6
- package/package.json +3 -3
- /package/dist/{3736_ui_1347d2_1.44.2.js → 3736_ui_4c9811_1.44.3-canary.v20261120111523.js} +0 -0
- /package/dist/{3736_ui_50f1b3_1.44.2.js → 3736_ui_be06f4_1.44.3-canary.v20261120111523.js} +0 -0
- /package/dist/{3736_ui_57dbeb_1.44.2.js → 3736_ui_dc6e34_1.44.3-canary.v20261120111523.js} +0 -0
- /package/dist/{4424_ui_1347d2_1.44.2.js → 4424_ui_4c9811_1.44.3-canary.v20261120111523.js} +0 -0
- /package/dist/{4424_ui_50f1b3_1.44.2.js → 4424_ui_be06f4_1.44.3-canary.v20261120111523.js} +0 -0
- /package/dist/{4424_ui_57dbeb_1.44.2.js → 4424_ui_dc6e34_1.44.3-canary.v20261120111523.js} +0 -0
- /package/dist/{524_ui_1347d2_1.44.2.js → 524_ui_4c9811_1.44.3-canary.v20261120111523.js} +0 -0
- /package/dist/{524_ui_50f1b3_1.44.2.js → 524_ui_be06f4_1.44.3-canary.v20261120111523.js} +0 -0
- /package/dist/{524_ui_57dbeb_1.44.2.js → 524_ui_dc6e34_1.44.3-canary.v20261120111523.js} +0 -0
- /package/dist/{6206_ui_1347d2_1.44.2.js → 6206_ui_4c9811_1.44.3-canary.v20261120111523.js} +0 -0
- /package/dist/{6206_ui_50f1b3_1.44.2.js → 6206_ui_be06f4_1.44.3-canary.v20261120111523.js} +0 -0
- /package/dist/{6206_ui_57dbeb_1.44.2.js → 6206_ui_dc6e34_1.44.3-canary.v20261120111523.js} +0 -0
- /package/dist/{6678_ui_1347d2_1.44.2.js → 6678_ui_4c9811_1.44.3-canary.v20261120111523.js} +0 -0
- /package/dist/{6678_ui_50f1b3_1.44.2.js → 6678_ui_be06f4_1.44.3-canary.v20261120111523.js} +0 -0
- /package/dist/{6678_ui_57dbeb_1.44.2.js → 6678_ui_dc6e34_1.44.3-canary.v20261120111523.js} +0 -0
- /package/dist/{7181_ui_1347d2_1.44.2.js → 7181_ui_4c9811_1.44.3-canary.v20261120111523.js} +0 -0
- /package/dist/{7181_ui_50f1b3_1.44.2.js → 7181_ui_be06f4_1.44.3-canary.v20261120111523.js} +0 -0
- /package/dist/{7181_ui_57dbeb_1.44.2.js → 7181_ui_dc6e34_1.44.3-canary.v20261120111523.js} +0 -0
- /package/dist/{8316_ui_1347d2_1.44.2.js → 8316_ui_4c9811_1.44.3-canary.v20261120111523.js} +0 -0
- /package/dist/{8316_ui_50f1b3_1.44.2.js → 8316_ui_be06f4_1.44.3-canary.v20261120111523.js} +0 -0
- /package/dist/{8316_ui_57dbeb_1.44.2.js → 8316_ui_dc6e34_1.44.3-canary.v20261120111523.js} +0 -0
- /package/dist/{8746_ui_1347d2_1.44.2.js → 8746_ui_4c9811_1.44.3-canary.v20261120111523.js} +0 -0
- /package/dist/{8746_ui_50f1b3_1.44.2.js → 8746_ui_be06f4_1.44.3-canary.v20261120111523.js} +0 -0
- /package/dist/{8746_ui_57dbeb_1.44.2.js → 8746_ui_dc6e34_1.44.3-canary.v20261120111523.js} +0 -0
- /package/dist/{9419_ui_1347d2_1.44.2.js → 9419_ui_4c9811_1.44.3-canary.v20261120111523.js} +0 -0
- /package/dist/{9419_ui_50f1b3_1.44.2.js → 9419_ui_be06f4_1.44.3-canary.v20261120111523.js} +0 -0
- /package/dist/{9419_ui_57dbeb_1.44.2.js → 9419_ui_dc6e34_1.44.3-canary.v20261120111523.js} +0 -0
- /package/dist/{980_ui_1347d2_1.44.2.js → 980_ui_4c9811_1.44.3-canary.v20261120111523.js} +0 -0
- /package/dist/{980_ui_50f1b3_1.44.2.js → 980_ui_be06f4_1.44.3-canary.v20261120111523.js} +0 -0
- /package/dist/{980_ui_57dbeb_1.44.2.js → 980_ui_dc6e34_1.44.3-canary.v20261120111523.js} +0 -0
- /package/dist/{apiKeys_ui_1347d2_1.44.2.js → apiKeys_ui_4c9811_1.44.3-canary.v20261120111523.js} +0 -0
- /package/dist/{apiKeys_ui_50f1b3_1.44.2.js → apiKeys_ui_be06f4_1.44.3-canary.v20261120111523.js} +0 -0
- /package/dist/{apiKeys_ui_57dbeb_1.44.2.js → apiKeys_ui_dc6e34_1.44.3-canary.v20261120111523.js} +0 -0
- /package/dist/{blankcaptcha_ui_1347d2_1.44.2.js → blankcaptcha_ui_4c9811_1.44.3-canary.v20261120111523.js} +0 -0
- /package/dist/{blankcaptcha_ui_50f1b3_1.44.2.js → blankcaptcha_ui_be06f4_1.44.3-canary.v20261120111523.js} +0 -0
- /package/dist/{blankcaptcha_ui_57dbeb_1.44.2.js → blankcaptcha_ui_dc6e34_1.44.3-canary.v20261120111523.js} +0 -0
- /package/dist/{checkout_ui_1347d2_1.44.2.js → checkout_ui_4c9811_1.44.3-canary.v20261120111523.js} +0 -0
- /package/dist/{checkout_ui_50f1b3_1.44.2.js → checkout_ui_be06f4_1.44.3-canary.v20261120111523.js} +0 -0
- /package/dist/{checkout_ui_57dbeb_1.44.2.js → checkout_ui_dc6e34_1.44.3-canary.v20261120111523.js} +0 -0
- /package/dist/{configureDirectorySync_ui_1347d2_1.44.2.js → configureDirectorySync_ui_4c9811_1.44.3-canary.v20261120111523.js} +0 -0
- /package/dist/{configureDirectorySync_ui_50f1b3_1.44.2.js → configureDirectorySync_ui_be06f4_1.44.3-canary.v20261120111523.js} +0 -0
- /package/dist/{configureDirectorySync_ui_57dbeb_1.44.2.js → configureDirectorySync_ui_dc6e34_1.44.3-canary.v20261120111523.js} +0 -0
- /package/dist/{configureSSO_ui_1347d2_1.44.2.js → configureSSO_ui_4c9811_1.44.3-canary.v20261120111523.js} +0 -0
- /package/dist/{configureSSO_ui_50f1b3_1.44.2.js → configureSSO_ui_be06f4_1.44.3-canary.v20261120111523.js} +0 -0
- /package/dist/{configureSSO_ui_57dbeb_1.44.2.js → configureSSO_ui_dc6e34_1.44.3-canary.v20261120111523.js} +0 -0
- /package/dist/{copy-api-key-modal_ui_1347d2_1.44.2.js → copy-api-key-modal_ui_4c9811_1.44.3-canary.v20261120111523.js} +0 -0
- /package/dist/{copy-api-key-modal_ui_50f1b3_1.44.2.js → copy-api-key-modal_ui_be06f4_1.44.3-canary.v20261120111523.js} +0 -0
- /package/dist/{copy-api-key-modal_ui_57dbeb_1.44.2.js → copy-api-key-modal_ui_dc6e34_1.44.3-canary.v20261120111523.js} +0 -0
- /package/dist/{createorganization_ui_1347d2_1.44.2.js → createorganization_ui_4c9811_1.44.3-canary.v20261120111523.js} +0 -0
- /package/dist/{createorganization_ui_50f1b3_1.44.2.js → createorganization_ui_be06f4_1.44.3-canary.v20261120111523.js} +0 -0
- /package/dist/{createorganization_ui_57dbeb_1.44.2.js → createorganization_ui_dc6e34_1.44.3-canary.v20261120111523.js} +0 -0
- /package/dist/{credit-history-page_ui_1347d2_1.44.2.js → credit-history-page_ui_4c9811_1.44.3-canary.v20261120111523.js} +0 -0
- /package/dist/{credit-history-page_ui_50f1b3_1.44.2.js → credit-history-page_ui_be06f4_1.44.3-canary.v20261120111523.js} +0 -0
- /package/dist/{credit-history-page_ui_57dbeb_1.44.2.js → credit-history-page_ui_dc6e34_1.44.3-canary.v20261120111523.js} +0 -0
- /package/dist/{enableOrganizationsPrompt_ui_1347d2_1.44.2.js → enableOrganizationsPrompt_ui_4c9811_1.44.3-canary.v20261120111523.js} +0 -0
- /package/dist/{enableOrganizationsPrompt_ui_50f1b3_1.44.2.js → enableOrganizationsPrompt_ui_be06f4_1.44.3-canary.v20261120111523.js} +0 -0
- /package/dist/{enableOrganizationsPrompt_ui_57dbeb_1.44.2.js → enableOrganizationsPrompt_ui_dc6e34_1.44.3-canary.v20261120111523.js} +0 -0
- /package/dist/{framework_ui_1347d2_1.44.2.js → framework_ui_4c9811_1.44.3-canary.v20261120111523.js} +0 -0
- /package/dist/{framework_ui_50f1b3_1.44.2.js → framework_ui_be06f4_1.44.3-canary.v20261120111523.js} +0 -0
- /package/dist/{impersonationfab_ui_1347d2_1.44.2.js → impersonationfab_ui_4c9811_1.44.3-canary.v20261120111523.js} +0 -0
- /package/dist/{impersonationfab_ui_50f1b3_1.44.2.js → impersonationfab_ui_be06f4_1.44.3-canary.v20261120111523.js} +0 -0
- /package/dist/{impersonationfab_ui_57dbeb_1.44.2.js → impersonationfab_ui_dc6e34_1.44.3-canary.v20261120111523.js} +0 -0
- /package/dist/{invitemembers_ui_1347d2_1.44.2.js → invitemembers_ui_4c9811_1.44.3-canary.v20261120111523.js} +0 -0
- /package/dist/{invitemembers_ui_50f1b3_1.44.2.js → invitemembers_ui_be06f4_1.44.3-canary.v20261120111523.js} +0 -0
- /package/dist/{invitemembers_ui_57dbeb_1.44.2.js → invitemembers_ui_dc6e34_1.44.3-canary.v20261120111523.js} +0 -0
- /package/dist/{keylessPrompt_ui_1347d2_1.44.2.js → keylessPrompt_ui_4c9811_1.44.3-canary.v20261120111523.js} +0 -0
- /package/dist/{keylessPrompt_ui_50f1b3_1.44.2.js → keylessPrompt_ui_be06f4_1.44.3-canary.v20261120111523.js} +0 -0
- /package/dist/{keylessPrompt_ui_57dbeb_1.44.2.js → keylessPrompt_ui_dc6e34_1.44.3-canary.v20261120111523.js} +0 -0
- /package/dist/{oauthConsent_ui_1347d2_1.44.2.js → oauthConsent_ui_4c9811_1.44.3-canary.v20261120111523.js} +0 -0
- /package/dist/{oauthConsent_ui_50f1b3_1.44.2.js → oauthConsent_ui_be06f4_1.44.3-canary.v20261120111523.js} +0 -0
- /package/dist/{oauthConsent_ui_57dbeb_1.44.2.js → oauthConsent_ui_dc6e34_1.44.3-canary.v20261120111523.js} +0 -0
- /package/dist/{oauthDeviceVerification_ui_1347d2_1.44.2.js → oauthDeviceVerification_ui_4c9811_1.44.3-canary.v20261120111523.js} +0 -0
- /package/dist/{oauthDeviceVerification_ui_50f1b3_1.44.2.js → oauthDeviceVerification_ui_be06f4_1.44.3-canary.v20261120111523.js} +0 -0
- /package/dist/{oauthDeviceVerification_ui_57dbeb_1.44.2.js → oauthDeviceVerification_ui_dc6e34_1.44.3-canary.v20261120111523.js} +0 -0
- /package/dist/{onetap_ui_1347d2_1.44.2.js → onetap_ui_4c9811_1.44.3-canary.v20261120111523.js} +0 -0
- /package/dist/{onetap_ui_50f1b3_1.44.2.js → onetap_ui_be06f4_1.44.3-canary.v20261120111523.js} +0 -0
- /package/dist/{onetap_ui_57dbeb_1.44.2.js → onetap_ui_dc6e34_1.44.3-canary.v20261120111523.js} +0 -0
- /package/dist/{op-api-keys-page_ui_1347d2_1.44.2.js → op-api-keys-page_ui_4c9811_1.44.3-canary.v20261120111523.js} +0 -0
- /package/dist/{op-api-keys-page_ui_50f1b3_1.44.2.js → op-api-keys-page_ui_be06f4_1.44.3-canary.v20261120111523.js} +0 -0
- /package/dist/{op-api-keys-page_ui_57dbeb_1.44.2.js → op-api-keys-page_ui_dc6e34_1.44.3-canary.v20261120111523.js} +0 -0
- /package/dist/{op-billing-page_ui_1347d2_1.44.2.js → op-billing-page_ui_4c9811_1.44.3-canary.v20261120111523.js} +0 -0
- /package/dist/{op-billing-page_ui_50f1b3_1.44.2.js → op-billing-page_ui_be06f4_1.44.3-canary.v20261120111523.js} +0 -0
- /package/dist/{op-billing-page_ui_57dbeb_1.44.2.js → op-billing-page_ui_dc6e34_1.44.3-canary.v20261120111523.js} +0 -0
- /package/dist/{op-plans-page_ui_1347d2_1.44.2.js → op-plans-page_ui_4c9811_1.44.3-canary.v20261120111523.js} +0 -0
- /package/dist/{op-plans-page_ui_50f1b3_1.44.2.js → op-plans-page_ui_be06f4_1.44.3-canary.v20261120111523.js} +0 -0
- /package/dist/{op-plans-page_ui_57dbeb_1.44.2.js → op-plans-page_ui_dc6e34_1.44.3-canary.v20261120111523.js} +0 -0
- /package/dist/{op-security-page_ui_1347d2_1.44.2.js → op-security-page_ui_4c9811_1.44.3-canary.v20261120111523.js} +0 -0
- /package/dist/{op-security-page_ui_50f1b3_1.44.2.js → op-security-page_ui_be06f4_1.44.3-canary.v20261120111523.js} +0 -0
- /package/dist/{op-security-page_ui_57dbeb_1.44.2.js → op-security-page_ui_dc6e34_1.44.3-canary.v20261120111523.js} +0 -0
- /package/dist/{organizationlist_ui_1347d2_1.44.2.js → organizationlist_ui_4c9811_1.44.3-canary.v20261120111523.js} +0 -0
- /package/dist/{organizationlist_ui_50f1b3_1.44.2.js → organizationlist_ui_be06f4_1.44.3-canary.v20261120111523.js} +0 -0
- /package/dist/{organizationlist_ui_57dbeb_1.44.2.js → organizationlist_ui_dc6e34_1.44.3-canary.v20261120111523.js} +0 -0
- /package/dist/{organizationprofile_ui_1347d2_1.44.2.js → organizationprofile_ui_4c9811_1.44.3-canary.v20261120111523.js} +0 -0
- /package/dist/{organizationprofile_ui_50f1b3_1.44.2.js → organizationprofile_ui_be06f4_1.44.3-canary.v20261120111523.js} +0 -0
- /package/dist/{organizationprofile_ui_57dbeb_1.44.2.js → organizationprofile_ui_dc6e34_1.44.3-canary.v20261120111523.js} +0 -0
- /package/dist/{organizationswitcher_ui_1347d2_1.44.2.js → organizationswitcher_ui_4c9811_1.44.3-canary.v20261120111523.js} +0 -0
- /package/dist/{organizationswitcher_ui_50f1b3_1.44.2.js → organizationswitcher_ui_be06f4_1.44.3-canary.v20261120111523.js} +0 -0
- /package/dist/{organizationswitcher_ui_57dbeb_1.44.2.js → organizationswitcher_ui_dc6e34_1.44.3-canary.v20261120111523.js} +0 -0
- /package/dist/{payment-attempt-page_ui_1347d2_1.44.2.js → payment-attempt-page_ui_4c9811_1.44.3-canary.v20261120111523.js} +0 -0
- /package/dist/{payment-attempt-page_ui_50f1b3_1.44.2.js → payment-attempt-page_ui_be06f4_1.44.3-canary.v20261120111523.js} +0 -0
- /package/dist/{payment-attempt-page_ui_57dbeb_1.44.2.js → payment-attempt-page_ui_dc6e34_1.44.3-canary.v20261120111523.js} +0 -0
- /package/dist/{planDetails_ui_1347d2_1.44.2.js → planDetails_ui_4c9811_1.44.3-canary.v20261120111523.js} +0 -0
- /package/dist/{planDetails_ui_50f1b3_1.44.2.js → planDetails_ui_be06f4_1.44.3-canary.v20261120111523.js} +0 -0
- /package/dist/{planDetails_ui_57dbeb_1.44.2.js → planDetails_ui_dc6e34_1.44.3-canary.v20261120111523.js} +0 -0
- /package/dist/{prefetchorganizationlist_ui_1347d2_1.44.2.js → prefetchorganizationlist_ui_4c9811_1.44.3-canary.v20261120111523.js} +0 -0
- /package/dist/{prefetchorganizationlist_ui_50f1b3_1.44.2.js → prefetchorganizationlist_ui_be06f4_1.44.3-canary.v20261120111523.js} +0 -0
- /package/dist/{prefetchorganizationlist_ui_57dbeb_1.44.2.js → prefetchorganizationlist_ui_dc6e34_1.44.3-canary.v20261120111523.js} +0 -0
- /package/dist/{pricingTable_ui_1347d2_1.44.2.js → pricingTable_ui_4c9811_1.44.3-canary.v20261120111523.js} +0 -0
- /package/dist/{pricingTable_ui_50f1b3_1.44.2.js → pricingTable_ui_be06f4_1.44.3-canary.v20261120111523.js} +0 -0
- /package/dist/{pricingTable_ui_57dbeb_1.44.2.js → pricingTable_ui_dc6e34_1.44.3-canary.v20261120111523.js} +0 -0
- /package/dist/{protectcheck_ui_1347d2_1.44.2.js → protectcheck_ui_4c9811_1.44.3-canary.v20261120111523.js} +0 -0
- /package/dist/{protectcheck_ui_50f1b3_1.44.2.js → protectcheck_ui_be06f4_1.44.3-canary.v20261120111523.js} +0 -0
- /package/dist/{protectcheck_ui_57dbeb_1.44.2.js → protectcheck_ui_dc6e34_1.44.3-canary.v20261120111523.js} +0 -0
- /package/dist/{revoke-api-key-modal_ui_1347d2_1.44.2.js → revoke-api-key-modal_ui_4c9811_1.44.3-canary.v20261120111523.js} +0 -0
- /package/dist/{revoke-api-key-modal_ui_50f1b3_1.44.2.js → revoke-api-key-modal_ui_be06f4_1.44.3-canary.v20261120111523.js} +0 -0
- /package/dist/{revoke-api-key-modal_ui_57dbeb_1.44.2.js → revoke-api-key-modal_ui_dc6e34_1.44.3-canary.v20261120111523.js} +0 -0
- /package/dist/{sessionTasks_ui_1347d2_1.44.2.js → sessionTasks_ui_4c9811_1.44.3-canary.v20261120111523.js} +0 -0
- /package/dist/{sessionTasks_ui_50f1b3_1.44.2.js → sessionTasks_ui_be06f4_1.44.3-canary.v20261120111523.js} +0 -0
- /package/dist/{sessionTasks_ui_57dbeb_1.44.2.js → sessionTasks_ui_dc6e34_1.44.3-canary.v20261120111523.js} +0 -0
- /package/dist/{signin_ui_1347d2_1.44.2.js → signin_ui_4c9811_1.44.3-canary.v20261120111523.js} +0 -0
- /package/dist/{signin_ui_50f1b3_1.44.2.js → signin_ui_be06f4_1.44.3-canary.v20261120111523.js} +0 -0
- /package/dist/{signin_ui_57dbeb_1.44.2.js → signin_ui_dc6e34_1.44.3-canary.v20261120111523.js} +0 -0
- /package/dist/{signup_ui_1347d2_1.44.2.js → signup_ui_4c9811_1.44.3-canary.v20261120111523.js} +0 -0
- /package/dist/{signup_ui_50f1b3_1.44.2.js → signup_ui_be06f4_1.44.3-canary.v20261120111523.js} +0 -0
- /package/dist/{signup_ui_57dbeb_1.44.2.js → signup_ui_dc6e34_1.44.3-canary.v20261120111523.js} +0 -0
- /package/dist/{statement-page_ui_1347d2_1.44.2.js → statement-page_ui_4c9811_1.44.3-canary.v20261120111523.js} +0 -0
- /package/dist/{statement-page_ui_50f1b3_1.44.2.js → statement-page_ui_be06f4_1.44.3-canary.v20261120111523.js} +0 -0
- /package/dist/{statement-page_ui_57dbeb_1.44.2.js → statement-page_ui_dc6e34_1.44.3-canary.v20261120111523.js} +0 -0
- /package/dist/{subscriptionDetails_ui_1347d2_1.44.2.js → subscriptionDetails_ui_4c9811_1.44.3-canary.v20261120111523.js} +0 -0
- /package/dist/{subscriptionDetails_ui_50f1b3_1.44.2.js → subscriptionDetails_ui_be06f4_1.44.3-canary.v20261120111523.js} +0 -0
- /package/dist/{subscriptionDetails_ui_57dbeb_1.44.2.js → subscriptionDetails_ui_dc6e34_1.44.3-canary.v20261120111523.js} +0 -0
- /package/dist/{taskChooseOrganization_ui_1347d2_1.44.2.js → taskChooseOrganization_ui_4c9811_1.44.3-canary.v20261120111523.js} +0 -0
- /package/dist/{taskChooseOrganization_ui_50f1b3_1.44.2.js → taskChooseOrganization_ui_be06f4_1.44.3-canary.v20261120111523.js} +0 -0
- /package/dist/{taskChooseOrganization_ui_57dbeb_1.44.2.js → taskChooseOrganization_ui_dc6e34_1.44.3-canary.v20261120111523.js} +0 -0
- /package/dist/{taskResetPassword_ui_1347d2_1.44.2.js → taskResetPassword_ui_4c9811_1.44.3-canary.v20261120111523.js} +0 -0
- /package/dist/{taskResetPassword_ui_50f1b3_1.44.2.js → taskResetPassword_ui_be06f4_1.44.3-canary.v20261120111523.js} +0 -0
- /package/dist/{taskResetPassword_ui_57dbeb_1.44.2.js → taskResetPassword_ui_dc6e34_1.44.3-canary.v20261120111523.js} +0 -0
- /package/dist/{taskSetupMFA_ui_1347d2_1.44.2.js → taskSetupMFA_ui_4c9811_1.44.3-canary.v20261120111523.js} +0 -0
- /package/dist/{taskSetupMFA_ui_50f1b3_1.44.2.js → taskSetupMFA_ui_be06f4_1.44.3-canary.v20261120111523.js} +0 -0
- /package/dist/{taskSetupMFA_ui_57dbeb_1.44.2.js → taskSetupMFA_ui_dc6e34_1.44.3-canary.v20261120111523.js} +0 -0
- /package/dist/{ui-common_ui_1347d2_1.44.2.js → ui-common_ui_4c9811_1.44.3-canary.v20261120111523.js} +0 -0
- /package/dist/{ui-common_ui_50f1b3_1.44.2.js → ui-common_ui_be06f4_1.44.3-canary.v20261120111523.js} +0 -0
- /package/dist/{ui-common_ui_57dbeb_1.44.2.js → ui-common_ui_dc6e34_1.44.3-canary.v20261120111523.js} +0 -0
- /package/dist/{up-api-keys-page_ui_1347d2_1.44.2.js → up-api-keys-page_ui_4c9811_1.44.3-canary.v20261120111523.js} +0 -0
- /package/dist/{up-api-keys-page_ui_50f1b3_1.44.2.js → up-api-keys-page_ui_be06f4_1.44.3-canary.v20261120111523.js} +0 -0
- /package/dist/{up-api-keys-page_ui_57dbeb_1.44.2.js → up-api-keys-page_ui_dc6e34_1.44.3-canary.v20261120111523.js} +0 -0
- /package/dist/{up-billing-page_ui_1347d2_1.44.2.js → up-billing-page_ui_4c9811_1.44.3-canary.v20261120111523.js} +0 -0
- /package/dist/{up-billing-page_ui_50f1b3_1.44.2.js → up-billing-page_ui_be06f4_1.44.3-canary.v20261120111523.js} +0 -0
- /package/dist/{up-billing-page_ui_57dbeb_1.44.2.js → up-billing-page_ui_dc6e34_1.44.3-canary.v20261120111523.js} +0 -0
- /package/dist/{up-plans-page_ui_1347d2_1.44.2.js → up-plans-page_ui_4c9811_1.44.3-canary.v20261120111523.js} +0 -0
- /package/dist/{up-plans-page_ui_50f1b3_1.44.2.js → up-plans-page_ui_be06f4_1.44.3-canary.v20261120111523.js} +0 -0
- /package/dist/{up-plans-page_ui_57dbeb_1.44.2.js → up-plans-page_ui_dc6e34_1.44.3-canary.v20261120111523.js} +0 -0
- /package/dist/{useravatar_ui_1347d2_1.44.2.js → useravatar_ui_4c9811_1.44.3-canary.v20261120111523.js} +0 -0
- /package/dist/{useravatar_ui_50f1b3_1.44.2.js → useravatar_ui_be06f4_1.44.3-canary.v20261120111523.js} +0 -0
- /package/dist/{useravatar_ui_57dbeb_1.44.2.js → useravatar_ui_dc6e34_1.44.3-canary.v20261120111523.js} +0 -0
- /package/dist/{userbutton_ui_1347d2_1.44.2.js → userbutton_ui_4c9811_1.44.3-canary.v20261120111523.js} +0 -0
- /package/dist/{userbutton_ui_50f1b3_1.44.2.js → userbutton_ui_be06f4_1.44.3-canary.v20261120111523.js} +0 -0
- /package/dist/{userbutton_ui_57dbeb_1.44.2.js → userbutton_ui_dc6e34_1.44.3-canary.v20261120111523.js} +0 -0
- /package/dist/{userprofile_ui_1347d2_1.44.2.js → userprofile_ui_4c9811_1.44.3-canary.v20261120111523.js} +0 -0
- /package/dist/{userprofile_ui_50f1b3_1.44.2.js → userprofile_ui_be06f4_1.44.3-canary.v20261120111523.js} +0 -0
- /package/dist/{userprofile_ui_57dbeb_1.44.2.js → userprofile_ui_dc6e34_1.44.3-canary.v20261120111523.js} +0 -0
- /package/dist/{userverification_ui_1347d2_1.44.2.js → userverification_ui_4c9811_1.44.3-canary.v20261120111523.js} +0 -0
- /package/dist/{userverification_ui_50f1b3_1.44.2.js → userverification_ui_be06f4_1.44.3-canary.v20261120111523.js} +0 -0
- /package/dist/{userverification_ui_57dbeb_1.44.2.js → userverification_ui_dc6e34_1.44.3-canary.v20261120111523.js} +0 -0
- /package/dist/{vendors_ui_1347d2_1.44.2.js → vendors_ui_4c9811_1.44.3-canary.v20261120111523.js} +0 -0
- /package/dist/{vendors_ui_50f1b3_1.44.2.js → vendors_ui_be06f4_1.44.3-canary.v20261120111523.js} +0 -0
- /package/dist/{vendors_ui_57dbeb_1.44.2.js → vendors_ui_dc6e34_1.44.3-canary.v20261120111523.js} +0 -0
- /package/dist/{waitlist_ui_1347d2_1.44.2.js → waitlist_ui_4c9811_1.44.3-canary.v20261120111523.js} +0 -0
- /package/dist/{waitlist_ui_50f1b3_1.44.2.js → waitlist_ui_be06f4_1.44.3-canary.v20261120111523.js} +0 -0
- /package/dist/{waitlist_ui_57dbeb_1.44.2.js → waitlist_ui_dc6e34_1.44.3-canary.v20261120111523.js} +0 -0
- /package/dist/{web3-solana-wallet-buttons_ui_1347d2_1.44.2.js → web3-solana-wallet-buttons_ui_4c9811_1.44.3-canary.v20261120111523.js} +0 -0
- /package/dist/{web3-solana-wallet-buttons_ui_50f1b3_1.44.2.js → web3-solana-wallet-buttons_ui_be06f4_1.44.3-canary.v20261120111523.js} +0 -0
- /package/dist/{web3-solana-wallet-buttons_ui_57dbeb_1.44.2.js → web3-solana-wallet-buttons_ui_dc6e34_1.44.3-canary.v20261120111523.js} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var r=t();for(var n in r)("object"==typeof exports?exports:e)[n]=r[n]}}(globalThis,()=>(()=>{"use strict";var e,t,r,n={7008(e,t,r){r(36395);var n=r(70355),i=r(1715),a=r(32638),o=r(59701);r.d(t,{},{x:()=>{let[e,t]=o.useState({startPath:"",path:"",componentName:"",socialProvider:""}),r=(0,a.F)();o.useLayoutEffect(()=>{r&&t(r)},[]);let s=()=>{t({startPath:"",path:"",componentName:"",socialProvider:""})};return{urlStateParam:{...e,clearUrlStateParam:s},decodedRedirectParams:r,clearUrlStateParam:s,removeQueryParam:()=>(0,i.rw)(n.CL)}}})},39817(e,t,r){r(36395),r(74302),r(30686),r(38978),r(52205),r(40768),r(76235),r(85281),r(96954);try{let e=new URL(document.currentScript.src),t=new URL(e.href.split("/").slice(0,-1).join("/")).href;r.p=(t+=t.endsWith("/")?"":"/").replace(/(^.*\/@clerk\/ui@)(.+?)(\/dist.*)/,"$1".concat("1.44.2","$3"))}catch{}function n(e,t,r){if(!t.has(e))throw TypeError("attempted to "+r+" private field on non-instance");return t.get(e)}r(15254);var i=r(27213),a=r(71756),o=r(62826);function s(e){let t=e.match(/^(\d+)\.(\d+)\.(\d+)/);if(!t)return null;let[,r,n,i]=t;return{major:parseInt(r,10),minor:parseInt(n,10),patch:parseInt(i,10)}}r(42949),r(12021),r(73560),r(37891);var l=r(82787),u=r(91117),c=r(77530),f=r(59701),d=r(7008),h=r(81221);let p=(0,f.lazy)(()=>r.e(6666).then(r.bind(r,36140)).then(e=>({default:e.MountedCheckoutDrawer}))),g=(0,f.lazy)(()=>r.e(6666).then(r.bind(r,17458)).then(e=>({default:e.MountedPlanDetailDrawer}))),y=(0,f.lazy)(()=>Promise.all([r.e(26),r.e(1545),r.e(6666),r.e(7451)]).then(r.bind(r,32408)).then(e=>({default:e.MountedSubscriptionDetailDrawer})));var m=r(54152);let b=e=>{let{base:t,path:r}=e;return r?t+r:t};function w(e,t){if(!e)return{};let r="signin"===t?"signIn":"signUp",n={["".concat(r,"ForceRedirectUrl")]:e.forceRedirectUrl,["".concat(r,"FallbackRedirectUrl")]:e.fallbackRedirectUrl},i={...e,...n};return delete i.forceRedirectUrl,delete i.fallbackRedirectUrl,i}r(84086);var S=r(80719);let k="u">typeof window?f.useLayoutEffect:f.useEffect,E=0,_={},P=Object.freeze({SignUp:"signUpModal",SignIn:"signInModal",UserProfile:"userProfileModal",OrganizationProfile:"organizationProfileModal",CreateOrganization:"createOrganizationModal",Waitlist:"waitlistModal"}),x=e=>{var t,r,n,i,a,o,s,c,S,x;let[C,O]=f.useState({appearance:e.options.appearance,options:e.options,googleOneTapModal:null,signInModal:null,signUpModal:null,userProfileModal:null,userVerificationModal:null,organizationProfileModal:null,inviteMembersModal:null,createOrganizationModal:null,enableOrganizationsPromptModal:null,organizationSwitcherPrefetch:!1,waitlistModal:null,blankCaptchaModal:null,protectCheckModal:null,checkoutDrawer:{open:!1,props:null},planDetailsDrawer:{open:!1,props:null},subscriptionDetailsDrawer:{open:!1,props:null},impersonationFab:!1}),{googleOneTapModal:R,signInModal:I,signUpModal:A,userProfileModal:T,userVerificationModal:M,organizationProfileModal:z,inviteMembersModal:D,createOrganizationModal:L,waitlistModal:U,blankCaptchaModal:j,protectCheckModal:N,checkoutDrawer:F,planDetailsDrawer:q,subscriptionDetailsDrawer:W}=C,K=e.getClerk();(0,f.useSyncExternalStore)((0,f.useCallback)(e=>K.addListener(e,{skipInitialEmit:!0}),[K]),(0,f.useCallback)(()=>K.__internal_lastEmittedResources,[K]),(0,f.useCallback)(()=>K.__internal_lastEmittedResources,[K]));let B=(0,f.useRef)(new Map),{urlStateParam:$,clearUrlStateParam:V,decodedRedirectParams:Y}=(0,d.x)();k(()=>{Y&&O(e=>({...e,[P[Y.componentName]]:!0}));let t=()=>{O(e=>({...e}))};_.mountComponent=e=>{let{node:r,name:n,props:i,appearanceKey:a}=e;r||(0,u.$V)(),B.current.set(r,{key:"p".concat(++E),name:n,props:i,appearanceKey:a}),t()},_.unmountComponent=e=>{let{node:r}=e;B.current.delete(r),t()},_.updateProps=e=>{let{node:r,props:n,...i}=e;if(r&&n&&"object"==typeof n){let e=B.current.get(r);if(e){e.props={...n},t();return}}O(e=>({...e,...i,options:{...e.options,...i.options}}))},_.closeModal=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{notify:r=!0}=t;V(),O(t=>{let n=t["".concat(e,"Modal")];if(n&&"object"==typeof n&&"afterVerificationCancelled"in n&&r){var i;null==(i=n.afterVerificationCancelled)||i.call(n)}return{...t,["".concat(e,"Modal")]:null}})},_.openModal=(e,t)=>{"enableOrganizationsPrompt"===e?O(r=>r.enableOrganizationsPromptModal?r:{...r,["".concat(e,"Modal")]:t}):"afterVerificationCancelled"in t?"afterVerificationCancelled"in t&&O(r=>({...r,["".concat(e,"Modal")]:{...t,afterVerification(r){var n;null==(n=t.afterVerification)||n.call(t,r),_.closeModal(e,{notify:!1})}}})):O(r=>({...r,["".concat(e,"Modal")]:t}))},_.mountImpersonationFab=()=>{O(e=>({...e,impersonationFab:!0}))},_.openProtectCheckModal=e=>{_.openModal("protectCheck",e)},_.openDrawer=(e,t)=>{O(r=>({...r,["".concat(e,"Drawer")]:{open:!0,props:t}}))},_.closeDrawer=e=>{O(t=>{var r,n;let i=t["".concat(e,"Drawer")];return null==i||null==(n=i.props)||null==(r=n.onClose)||r.call(n),{...t,["".concat(e,"Drawer")]:{...t["".concat(e,"Drawer")],open:!1}}})},_.prefetch=e=>{O(t=>({...t,["".concat(e,"Prefetch")]:!0}))},e.onComponentsMounted()},[]);let Q=(0,l.Y)(m.xg,{componentProps:R,globalAppearance:C.appearance,componentAppearance:null==R?void 0:R.appearance,startPath:b({base:"/one-tap",path:""})}),H=(0,l.FD)(m.Vv,{globalAppearance:C.appearance,appearanceKey:"signIn",componentAppearance:null==I?void 0:I.appearance,flowName:"signIn",onClose:()=>_.closeModal("signIn"),onExternalNavigate:()=>_.closeModal("signIn"),startPath:b({base:"/sign-in",path:null==$?void 0:$.path}),getContainer:null!=(t=null==I?void 0:I.getContainer)?t:()=>null,componentName:"SignInModal",children:[(0,l.Y)(h.M9,{...I}),(0,l.Y)(h.gK,{...w(I,"signin")}),(0,l.Y)(h.L1,{...U})]}),G=(0,l.FD)(m.Vv,{globalAppearance:C.appearance,appearanceKey:"signUp",componentAppearance:null==A?void 0:A.appearance,flowName:"signUp",onClose:()=>_.closeModal("signUp"),onExternalNavigate:()=>_.closeModal("signUp"),startPath:b({base:"/sign-up",path:null==$?void 0:$.path}),getContainer:null!=(r=null==A?void 0:A.getContainer)?r:()=>null,componentName:"SignUpModal",children:[(0,l.Y)(h.M9,{...w(A,"signup")}),(0,l.Y)(h.gK,{...A}),(0,l.Y)(h.L1,{...U})]}),J=(0,l.Y)(m.Vv,{globalAppearance:C.appearance,appearanceKey:"userProfile",componentAppearance:null==T?void 0:T.appearance,flowName:"userProfile",onClose:()=>_.closeModal("userProfile"),onExternalNavigate:()=>_.closeModal("userProfile"),startPath:b({base:"/user",path:(null==T?void 0:T.__experimental_startPath)||(null==$?void 0:$.path)}),getContainer:null!=(n=null==T?void 0:T.getContainer)?n:()=>null,componentName:"UserProfileModal",modalContainerSx:{alignItems:"center"},modalContentSx:e=>({height:"min(".concat(e.sizes.$176,", calc(100% - ").concat(e.sizes.$12,"))"),margin:0}),children:(0,l.Y)(h.am,{...T})}),X=(0,l.Y)(m.Vv,{globalAppearance:C.appearance,appearanceKey:"userVerification",componentAppearance:null==M?void 0:M.appearance,flowName:"userVerification",onClose:()=>_.closeModal("userVerification"),onExternalNavigate:()=>_.closeModal("userVerification"),startPath:b({base:"/user-verification",path:null==$?void 0:$.path}),getContainer:null!=(i=null==M?void 0:M.getContainer)?i:()=>null,componentName:"UserVerificationModal",modalContainerSx:{alignItems:"center"},children:(0,l.Y)(h.yd,{...M})}),Z=(0,l.Y)(m.Vv,{globalAppearance:C.appearance,appearanceKey:"organizationProfile",componentAppearance:null==z?void 0:z.appearance,flowName:"organizationProfile",onClose:()=>_.closeModal("organizationProfile"),onExternalNavigate:()=>_.closeModal("organizationProfile"),startPath:b({base:"/organizationProfile",path:(null==z?void 0:z.__experimental_startPath)||(null==$?void 0:$.path)}),getContainer:null!=(a=null==z?void 0:z.getContainer)?a:()=>null,componentName:"OrganizationProfileModal",modalContainerSx:{alignItems:"center"},modalContentSx:e=>({height:"min(".concat(e.sizes.$176,", calc(100% - ").concat(e.sizes.$12,"))"),margin:0}),children:(0,l.Y)(h.Qj,{...z})}),ee=(0,l.Y)(m.Vv,{globalAppearance:C.appearance,appearanceKey:"organizationProfile",componentAppearance:null==D?void 0:D.appearance,flowName:"organizationProfile",onClose:()=>_.closeModal("inviteMembers"),onExternalNavigate:()=>_.closeModal("inviteMembers"),startPath:b({base:"/inviteMembers",path:null==$?void 0:$.path}),getContainer:null!=(o=null==D?void 0:D.getContainer)?o:()=>null,componentName:"InviteMembersModal",modalContainerSx:{alignItems:"center"},children:(0,l.Y)(h.yw,{...D})}),et=(0,l.Y)(m.Vv,{globalAppearance:C.appearance,appearanceKey:"createOrganization",componentAppearance:null==L?void 0:L.appearance,flowName:"createOrganization",onClose:()=>_.closeModal("createOrganization"),onExternalNavigate:()=>_.closeModal("createOrganization"),startPath:b({base:"/createOrganization",path:null==$?void 0:$.path}),getContainer:null!=(s=null==L?void 0:L.getContainer)?s:()=>null,componentName:"CreateOrganizationModal",modalContainerSx:{alignItems:"center"},modalContentSx:e=>({height:"min(".concat(e.sizes.$120,", calc(100% - ").concat(e.sizes.$12,"))"),margin:0}),children:(0,l.Y)(h.Xi,{...L})}),er=(0,l.FD)(m.Vv,{globalAppearance:C.appearance,appearanceKey:"waitlist",componentAppearance:null==U?void 0:U.appearance,flowName:"waitlist",onClose:()=>_.closeModal("waitlist"),onExternalNavigate:()=>_.closeModal("waitlist"),startPath:b({base:"/waitlist",path:null==$?void 0:$.path}),getContainer:null!=(c=null==U?void 0:U.getContainer)?c:()=>null,componentName:"WaitlistModal",children:[(0,l.Y)(h.L1,{...U}),(0,l.Y)(h.M9,{...U})]}),en=(0,l.Y)(m.Vv,{globalAppearance:C.appearance,appearanceKey:"blankCaptcha",componentAppearance:{},flowName:"blankCaptcha",onClose:()=>_.closeModal("blankCaptcha"),startPath:b({base:"/blank-captcha",path:null==$?void 0:$.path}),componentName:"BlankCaptchaModal",canCloseModal:!1,modalId:"cl-modal-captcha-wrapper",modalStyle:{visibility:"hidden",pointerEvents:"none"},getContainer:()=>null,children:(0,l.Y)(h.Gb,{})}),ei=N&&(0,l.Y)(m.Vv,{globalAppearance:C.appearance,appearanceKey:"protectCheck",componentAppearance:{},flowName:"protectCheck",onClose:()=>_.closeModal("protectCheck"),startPath:b({base:"/protect-check",path:null==$?void 0:$.path}),componentName:"ProtectCheckModal",canCloseModal:!1,modalContainerSx:e=>({alignItems:"center",backdropFilter:"blur(".concat(e.sizes.$2,")")}),getContainer:()=>null,children:(0,l.Y)(h.PX,{...N})});return(0,l.Y)(f.Suspense,{fallback:"",children:(0,l.FD)(m.Fj,{clerk:e.getClerk(),environment:e.getEnvironment(),options:C.options,moduleManager:e.moduleManager,children:[[...B.current].map(e=>{var t;let[r,n]=e;return(0,l.Y)(m.t8,{node:r,globalAppearance:C.appearance,appearanceKey:n.appearanceKey,componentAppearance:null==(t=n.props)?void 0:t.appearance,componentName:n.name,componentProps:n.props},n.key)}),R&&Q,I&&H,A&&G,T&&J,M&&X,z&&Z,D&&ee,L&&et,U&&er,j&&en,ei,(0,l.Y)(p,{appearance:C.appearance,checkoutDrawer:F,onOpenChange:()=>_.closeDrawer("checkout")}),(0,l.Y)(g,{appearance:C.appearance,planDetailsDrawer:q,onOpenChange:()=>_.closeDrawer("planDetails")}),(0,l.Y)(y,{appearance:C.appearance,subscriptionDetailsDrawer:W,onOpenChange:()=>_.closeDrawer("subscriptionDetails")}),C.impersonationFab&&(0,l.Y)(m.Nx,{globalAppearance:C.appearance,children:(0,l.Y)(h.Sm,{})}),C.enableOrganizationsPromptModal&&(0,l.Y)(m.dB,{globalAppearance:C.appearance,children:(0,l.Y)(h.yc,{...C.enableOrganizationsPromptModal})}),(null==(S=C.options)?void 0:S.__internal_keyless_claimKeylessApplicationUrl)&&(null==(x=C.options)?void 0:x.__internal_keyless_copyInstanceKeysUrl)&&(0,l.Y)(m.Nx,{globalAppearance:C.appearance,children:(0,l.Y)(h.ju,{claimUrl:C.options.__internal_keyless_claimKeylessApplicationUrl,copyKeysUrl:C.options.__internal_keyless_copyInstanceKeysUrl,onDismiss:C.options.__internal_keyless_dismissPrompt})}),(0,l.Y)(f.Suspense,{children:C.organizationSwitcherPrefetch&&(0,l.Y)(m.up,{})})]})})};var C=new WeakMap;class O{ensureMounted(e){var t;return(t=n(this,C,"get"),t.get?t.get.call(this):t.value).ensureMounted(e)}constructor(e,t,u,f){(0,i._)(this,"version","1.44.2"),function(e,t,r){if(t.has(e))throw TypeError("Cannot initialize the same private elements twice on an object");t.set(e,r)}(this,C,{writable:!0,value:void 0});const d=e(),p=null==d?void 0:d.version,g=(null==d?void 0:d.instanceType)==="development",y=s(null!=p?p:"");let m=null;if(y&&!function(e,t){if(!e)return!1;let r=s(e),n=s(t);return!!r&&!!n&&(r.major!==n.major?r.major>n.major:r.minor!==n.minor?r.minor>n.minor:r.patch>=n.patch)}(p,"6.0.0")?m="@clerk/ui@".concat(O.version," requires @clerk/clerk-js@>=").concat("6.0.0",", ")+"but found @clerk/clerk-js@".concat(p,". ")+"Please upgrade @clerk/clerk-js (or your framework SDK) to a compatible version.":y||f||(m="@clerk/ui@".concat(O.version," requires @clerk/clerk-js@>=").concat("6.0.0",", ")+"but found an incompatible version".concat(p?" (".concat(p,")"):"",". ")+"Please upgrade @clerk/clerk-js (or your framework SDK) to a compatible version."),m)if(g)throw new a.cR(m,{code:"clerk_ui_version_mismatch"});else o.v.warnOnce(m);!function(e,t,r){var i=n(e,t,"set");if(i.set)i.set.call(e,r);else{if(!i.writable)throw TypeError("attempted to set read only private field");i.value=r}}(this,C,((e,t,n,i)=>{let a,o={...n};o.appearance&&(o.appearance=function(e){let t;if(!e||"object"!=typeof e)return e;let r=e.theme;if(!r)return e;if(Array.isArray(r)){r.forEach(e=>{!t&&"object"==typeof e&&e.cssLayerName&&(t=e.cssLayerName)});let n=r.map(e=>{if("string"==typeof e)return e;let{cssLayerName:t,...r}=e;return r}),i=e.cssLayerName||t,a={...e,theme:n};return i&&(a.cssLayerName=i),a}{let t;"object"==typeof r&&r.cssLayerName&&(t=r.cssLayerName);let n="string"==typeof r?r:(()=>{let{cssLayerName:e,...t}=r;return t})(),i=e.cssLayerName||t,a={...e,theme:n};return i&&(a.cssLayerName=i),a}}(o.appearance));let s=document.getElementById("clerk-components");return s||((s=document.createElement("div")).setAttribute("id","clerk-components"),document.body.appendChild(s)),{ensureMounted:n=>{let{preloadHint:u}=n||{};if(u&&(0,h.jr)(u).catch(()=>{}),!a){let n=(0,c.ph)(),u=setTimeout(()=>{console.error("[Clerk UI] Component renderer did not mount within 10s. Common causes: a failed chunk load, a dev-server misconfiguration (e.g. unresolved lazy-compilation proxy), or a ClerkProvider/mountX call before the page is hydrated. Check the Network tab for stalled or empty requests.")},1e4);a=Promise.all([r.e(26),r.e(1545),r.e(6666)]).then(r.bind(r,76e3)).then(r=>{let{createRoot:a}=r;return a(s).render((0,l.Y)(x,{getClerk:e,getEnvironment:t,options:o,onComponentsMounted:()=>{clearTimeout(u),"development"===e().instanceType&&("function"==typeof requestIdleCallback?requestIdleCallback:e=>setTimeout(e,0))(()=>(0,S.I)(o)),n.resolve()},moduleManager:i})),n.promise.then(()=>_)}).catch(e=>{throw clearTimeout(u),console.error("[Clerk UI] Failed to initialize component renderer:",e),e})}return a.then(e=>e)}}})(e,t,u,f))}}(0,i._)(O,"version","1.44.2"),window.__internal_ClerkUICtor||(window.__internal_ClerkUICtor=O)},81221(e,t,r){r(73560);var n=r(59701);let i={SignIn:()=>Promise.all([r.e(26),r.e(1545),r.e(6666),r.e(7181),r.e(472),r.e(8746),r.e(8010)]).then(r.bind(r,31780)),SignUp:()=>Promise.all([r.e(26),r.e(1545),r.e(6666),r.e(7181),r.e(472)]).then(r.bind(r,65995)),UserAvatar:()=>Promise.all([r.e(1545),r.e(6666),r.e(1058)]).then(r.bind(r,75511)),UserButton:()=>Promise.all([r.e(26),r.e(1545),r.e(6666),r.e(8746),r.e(2099)]).then(r.bind(r,78301)),UserProfile:()=>Promise.all([r.e(26),r.e(1545),r.e(6666),r.e(9419),r.e(718)]).then(r.bind(r,26751)),CreateOrganization:()=>Promise.all([r.e(26),r.e(1545),r.e(6666),r.e(980),r.e(9243)]).then(r.bind(r,87335)),OrganizationProfile:()=>Promise.all([r.e(26),r.e(1545),r.e(6666),r.e(980),r.e(8310)]).then(r.bind(r,59189)),InviteMembers:()=>Promise.all([r.e(26),r.e(1545),r.e(6666),r.e(980),r.e(226)]).then(r.bind(r,9273)),OrganizationSwitcher:()=>Promise.all([r.e(26),r.e(1545),r.e(6666),r.e(5364)]).then(r.bind(r,82042)),OrganizationList:()=>Promise.all([r.e(26),r.e(1545),r.e(6666),r.e(980),r.e(799)]).then(r.bind(r,42160)),ImpersonationFab:()=>Promise.all([r.e(26),r.e(1545),r.e(6666),r.e(8917)]).then(r.bind(r,93014)),GoogleOneTap:()=>Promise.all([r.e(26),r.e(1545),r.e(6666),r.e(5721)]).then(r.bind(r,79659)),BlankCaptchaModal:()=>Promise.all([r.e(26),r.e(1545),r.e(6666),r.e(3328)]).then(r.bind(r,46816)),ProtectCheckModal:()=>Promise.all([r.e(26),r.e(1545),r.e(6666),r.e(8333)]).then(r.bind(r,70869)),UserVerification:()=>Promise.all([r.e(26),r.e(1545),r.e(6666),r.e(5636)]).then(r.bind(r,23456)),Waitlist:()=>Promise.all([r.e(26),r.e(1545),r.e(6666),r.e(5265)]).then(r.bind(r,54416)),KeylessPrompt:()=>Promise.all([r.e(1545),r.e(6666),r.e(522)]).then(r.bind(r,15549)),PricingTable:()=>Promise.all([r.e(26),r.e(1545),r.e(6666),r.e(6678),r.e(7030)]).then(r.bind(r,23131)),Checkout:()=>Promise.all([r.e(26),r.e(1545),r.e(6666),r.e(9419),r.e(1256)]).then(r.bind(r,40460)),SessionTasks:()=>Promise.all([r.e(26),r.e(1545),r.e(6666),r.e(7181),r.e(472),r.e(7004),r.e(4424),r.e(6390)]).then(r.bind(r,60931)),TaskChooseOrganization:()=>Promise.all([r.e(26),r.e(1545),r.e(6666),r.e(7181),r.e(472),r.e(4424),r.e(1723)]).then(r.bind(r,9147)),TaskResetPassword:()=>Promise.all([r.e(26),r.e(1545),r.e(6666),r.e(7181),r.e(472),r.e(8067)]).then(r.bind(r,57006)),TaskSetupMFA:()=>Promise.all([r.e(26),r.e(1545),r.e(6666),r.e(7004)]).then(r.bind(r,48093)),PlanDetails:()=>Promise.all([r.e(26),r.e(1545),r.e(6666),r.e(2841)]).then(r.bind(r,62182)),SubscriptionDetails:()=>Promise.all([r.e(26),r.e(1545),r.e(6666),r.e(7451)]).then(r.bind(r,75181)),APIKeys:()=>Promise.all([r.e(26),r.e(1545),r.e(6666),r.e(8326)]).then(r.bind(r,13676)),ConfigureSSO:()=>Promise.all([r.e(26),r.e(1545),r.e(6666),r.e(6206),r.e(7971)]).then(r.bind(r,49223)),ConfigureDirectorySync:()=>Promise.all([r.e(26),r.e(1545),r.e(6666),r.e(6206),r.e(524),r.e(7488)]).then(r.bind(r,5867)),OAuthConsent:()=>Promise.all([r.e(26),r.e(1545),r.e(6666),r.e(5591)]).then(r.bind(r,43238)),OAuthDeviceVerification:()=>Promise.all([r.e(26),r.e(1545),r.e(6666),r.e(9088)]).then(r.bind(r,90355)),EnableOrganizationsPrompt:()=>Promise.all([r.e(26),r.e(1545),r.e(6666),r.e(2533)]).then(r.bind(r,68663))},a=(0,n.lazy)(()=>i.SignIn().then(e=>({default:e.SignIn}))),o=(0,n.lazy)(()=>i.SignIn().then(e=>({default:e.SignInModal}))),s=(0,n.lazy)(()=>i.GoogleOneTap().then(e=>({default:e.OneTap}))),l=(0,n.lazy)(()=>i.UserVerification().then(e=>({default:e.UserVerification}))),u=(0,n.lazy)(()=>i.UserVerification().then(e=>({default:e.UserVerificationModal}))),c=(0,n.lazy)(()=>i.EnableOrganizationsPrompt().then(e=>({default:e.EnableOrganizationsPrompt}))),f=(0,n.lazy)(()=>i.SignUp().then(e=>({default:e.SignUp}))),d=(0,n.lazy)(()=>i.SignUp().then(e=>({default:e.SignUpModal}))),h=(0,n.lazy)(()=>i.UserAvatar().then(e=>({default:e.UserAvatar}))),p=(0,n.lazy)(()=>i.UserButton().then(e=>({default:e.UserButton}))),g=(0,n.lazy)(()=>i.UserProfile().then(e=>({default:e.UserProfile}))),y=(0,n.lazy)(()=>i.UserProfile().then(e=>({default:e.UserProfileModal}))),m=(0,n.lazy)(()=>i.CreateOrganization().then(e=>({default:e.CreateOrganization}))),b=(0,n.lazy)(()=>i.CreateOrganization().then(e=>({default:e.CreateOrganizationModal}))),w=(0,n.lazy)(()=>i.OrganizationProfile().then(e=>({default:e.OrganizationProfile}))),S=(0,n.lazy)(()=>i.OrganizationProfile().then(e=>({default:e.OrganizationProfileModal}))),k=(0,n.lazy)(()=>i.InviteMembers().then(e=>({default:e.InviteMembersModal}))),E=(0,n.lazy)(()=>i.OrganizationSwitcher().then(e=>({default:e.OrganizationSwitcher}))),_=(0,n.lazy)(()=>i.OrganizationList().then(e=>({default:e.OrganizationList}))),P=(0,n.lazy)(()=>i.Waitlist().then(e=>({default:e.Waitlist}))),x=(0,n.lazy)(()=>i.Waitlist().then(e=>({default:e.WaitlistModal}))),C=(0,n.lazy)(()=>i.BlankCaptchaModal().then(e=>({default:e.BlankCaptchaModal}))),O=(0,n.lazy)(()=>i.ProtectCheckModal().then(e=>({default:e.ProtectCheckModal}))),R=(0,n.lazy)(()=>i.ImpersonationFab().then(e=>({default:e.ImpersonationFab}))),I=(0,n.lazy)(()=>i.KeylessPrompt().then(e=>({default:e.KeylessPrompt}))),A=(0,n.lazy)(()=>i.PricingTable().then(e=>({default:e.PricingTable}))),T=(0,n.lazy)(()=>i.APIKeys().then(e=>({default:e.APIKeys}))),M=(0,n.lazy)(()=>i.ConfigureSSO().then(e=>({default:e.ConfigureSSO}))),z=(0,n.lazy)(()=>i.ConfigureDirectorySync().then(e=>({default:e.ConfigureDirectorySync}))),D=(0,n.lazy)(()=>i.Checkout().then(e=>({default:e.Checkout}))),L=(0,n.lazy)(()=>i.TaskChooseOrganization().then(e=>({default:e.TaskChooseOrganization}))),U=(0,n.lazy)(()=>i.TaskResetPassword().then(e=>({default:e.TaskResetPassword}))),j=(0,n.lazy)(()=>i.TaskSetupMFA().then(e=>({default:e.TaskSetupMFA}))),N=(0,n.lazy)(()=>i.PlanDetails().then(e=>({default:e.PlanDetails}))),F=(0,n.lazy)(()=>i.SubscriptionDetails().then(e=>({default:e.SubscriptionDetails}))),q=(0,n.lazy)(()=>i.OAuthConsent().then(e=>({default:e.OAuthConsent}))),W=(0,n.lazy)(()=>i.OAuthDeviceVerification().then(e=>({default:e.OAuthDeviceVerification}))),K=(0,n.lazy)(()=>i.SessionTasks().then(e=>({default:e.SessionTasks}))),B=async e=>{var t;return null==(t=i[e])?void 0:t.call(i)};r.d(t,{},{Gb:C,JJ:K,L1:x,M9:o,O3:{SignIn:a,SignUp:f,UserAvatar:h,UserButton:p,UserProfile:g,UserVerification:l,EnableOrganizationsPrompt:c,OrganizationSwitcher:E,OrganizationList:_,OrganizationProfile:w,CreateOrganization:m,SignInModal:o,SignUpModal:d,UserProfileModal:y,OrganizationProfileModal:S,InviteMembersModal:k,CreateOrganizationModal:b,UserVerificationModal:u,GoogleOneTap:s,Waitlist:P,WaitlistModal:x,BlankCaptchaModal:C,ProtectCheckModal:O,PricingTable:A,Checkout:D,PlanDetails:N,APIKeys:T,ConfigureSSO:M,ConfigureDirectorySync:z,OAuthConsent:q,OAuthDeviceVerification:W,SubscriptionDetails:F,TaskChooseOrganization:L,TaskResetPassword:U,TaskSetupMFA:j},PX:O,Qj:S,RW:D,Sm:R,Xi:b,am:y,gK:d,jr:B,ju:I,yc:c,yd:u,ym:N,yw:k})},54152(e,t,r){r.d(t,{t8:()=>x,$h:()=>O,dB:()=>I,Nx:()=>R,Vv:()=>C,xg:()=>A,Fj:()=>P,up:()=>_}),r(73560);var n=r(82787);r(67548),r(70954),r(98803),r(79162),r(15385),r(39342),r(69152),r(36395);var i=r(91311);let a=new Set;var o=r(36762),s=r(59701),l=r(81221);let u=(0,s.lazy)(()=>r.e(6666).then(r.bind(r,95250)).then(e=>({default:e.ClerkContextProvider}))),c=(0,s.lazy)(()=>r.e(6666).then(r.bind(r,95250)).then(e=>({default:e.EnvironmentProvider}))),f=(0,s.lazy)(()=>r.e(6666).then(r.bind(r,95250)).then(e=>({default:e.OptionsProvider}))),d=(0,s.lazy)(()=>r.e(6666).then(r.bind(r,95250)).then(e=>({default:e.ModuleManagerProvider}))),h=(0,s.lazy)(()=>Promise.all([r.e(1545),r.e(6666)]).then(r.bind(r,39230)).then(e=>({default:e.AppearanceProvider}))),p=(0,s.lazy)(()=>Promise.all([r.e(26),r.e(1545),r.e(6666)]).then(r.bind(r,37209)).then(e=>({default:e.VirtualRouter}))),g=(0,s.lazy)(()=>Promise.all([r.e(1545),r.e(6666)]).then(r.bind(r,37412)).then(e=>({default:e.InternalThemeProvider}))),y=(0,s.lazy)(()=>r.e(6666).then(r.bind(r,63558)).then(e=>({default:e.StyleCacheProvider}))),m=(0,s.lazy)(()=>Promise.all([r.e(26),r.e(1545),r.e(6666),r.e(7181),r.e(472),r.e(3736)]).then(r.bind(r,96265)).then(e=>({default:e.Portal}))),b=(0,s.lazy)(()=>Promise.all([r.e(26),r.e(1545),r.e(6666),r.e(7181),r.e(472),r.e(3736)]).then(r.bind(r,96265)).then(e=>({default:e.VirtualBodyRootPortal}))),w=(0,s.lazy)(()=>Promise.all([r.e(26),r.e(1545),r.e(6666)]).then(r.bind(r,17308)).then(e=>({default:e.FlowMetadataProvider}))),S=(0,s.lazy)(()=>Promise.all([r.e(26),r.e(1545),r.e(6666)]).then(r.bind(r,62574)).then(e=>({default:e.Modal}))),k=(0,s.lazy)(()=>Promise.all([r.e(26),r.e(1545),r.e(6666)]).then(r.bind(r,66923)).then(e=>({default:e.Drawer.Root}))),E=(0,s.lazy)(()=>Promise.all([r.e(26),r.e(1545),r.e(6666)]).then(r.bind(r,66923)).then(e=>({default:e.Drawer.Overlay}))),_=(0,s.lazy)(()=>r.e(5608).then(r.bind(r,30956)).then(e=>({default:e.OrganizationSwitcherPrefetch}))),P=e=>{var t;return(0,n.Y)(y,{nonce:e.options.nonce,cssLayerName:null==(t=e.options.appearance)?void 0:t.cssLayerName,children:(0,n.Y)(d,{moduleManager:e.moduleManager,children:(0,n.Y)(u,{clerk:e.clerk,children:(0,n.Y)(c,{value:e.environment,children:(0,n.Y)(f,{value:e.options,children:e.children})})})})})},x=e=>{var t,r,s,u;let c,f;return(null==e||null==(t=e.componentProps)?void 0:t.routing)==="virtual"&&(s='routing="virtual"',c=(0,i.a)()||(0,i.i)(),f=null!=u?u:s,a.has(f)||c||(a.add(f),console.warn('Clerk - DEPRECATION WARNING: "'.concat(s,'" is deprecated and will be removed in the next major release.\n').concat('Use routing="hash" instead.')))),(0,n.Y)(h,{globalAppearance:e.globalAppearance,appearanceKey:e.appearanceKey,appearance:e.componentAppearance,children:(0,n.Y)(o.N$,{getContainer:null==e||null==(r=e.componentProps)?void 0:r.getContainer,children:(0,n.Y)(m,{node:e.node,component:l.O3[e.componentName],props:e.componentProps,componentName:e.componentName})})})},C=e=>(0,n.Y)(s.Suspense,{fallback:"",children:(0,n.Y)(h,{globalAppearance:e.globalAppearance,appearanceKey:e.appearanceKey,appearance:e.componentAppearance,children:(0,n.Y)(w,{flow:e.flowName||"",children:(0,n.Y)(g,{children:(0,n.Y)(o.N$,{getContainer:e.getContainer,children:(0,n.Y)(S,{id:e.modalId,style:e.modalStyle,handleClose:e.onClose,containerSx:e.modalContainerSx,contentSx:e.modalContentSx,canCloseModal:e.canCloseModal,children:e.startPath?(0,n.Y)(s.Suspense,{children:(0,n.Y)(p,{startPath:e.startPath,onExternalNavigate:e.onExternalNavigate,children:e.children})}):e.children})})})})})}),O=e=>(0,n.Y)(s.Suspense,{fallback:"",children:(0,n.Y)(p,{startPath:"",children:(0,n.Y)(h,{globalAppearance:e.globalAppearance,appearanceKey:e.appearanceKey,appearance:e.componentAppearance,children:(0,n.Y)(w,{flow:e.flowName||"",children:(0,n.Y)(g,{children:(0,n.FD)(k,{open:e.open,onOpenChange:e.onOpenChange,strategy:e.portalId||e.portalRoot?"absolute":"fixed",portalProps:{id:e.portalId?e.portalId:void 0,root:e.portalRoot?e.portalRoot:void 0},children:[(0,n.Y)(E,{}),e.children]})})})})})}),R=e=>(0,n.Y)(s.Suspense,{children:(0,n.Y)(p,{startPath:"",children:(0,n.Y)(h,{globalAppearance:e.globalAppearance,appearanceKey:"impersonationFab",children:e.children})})}),I=e=>(0,n.Y)(s.Suspense,{children:(0,n.Y)(p,{startPath:"",children:(0,n.Y)(h,{globalAppearance:e.globalAppearance,appearanceKey:"enableOrganizationsPrompt",children:e.children})})}),A=e=>(0,n.Y)(h,{globalAppearance:e.globalAppearance,appearanceKey:"oneTap",appearance:e.componentAppearance,children:(0,n.Y)(b,{startPath:e.startPath,component:l.O3.GoogleOneTap,props:e.componentProps,componentName:"GoogleOneTap"})})},80719(e,t,r){r.d(t,{T:()=>p,I:()=>g}),r(42949),r(37891),r(85281),r(96954),r(36395),r(14104);var n=r(62826);let i=/\.cl-[A-Za-z0-9_-]+/,a=/\.cl-internal-[A-Za-z0-9_-]+/g,o=/\[\s*class\s*(\^=|\*=|\$=)\s*["']?[^"'\]]*cl-[^"'\]]*["']?\s*\]/i,s=/:(nth-child|nth-of-type|first-child|last-child|only-child|empty)\b/i,l=/:has\(/i;r(18723),r(52277);let u=/[.#\w[:]/,c=/\.cl-[A-Za-z0-9_-]+/g,f=/[>+~\s]/;function d(e){return["Clerk: Structural CSS detected that may break on updates.\n\nFound:",e.slice(0,5).map(e=>" - ".concat(e)).join("\n")+(e.length>5?"\n (+".concat(e.length-5," more)"):""),"\nThese selectors depend on the internal DOM structure of Clerk's components, which may change when Clerk deploys component updates.\nTo prevent breaking changes, install @clerk/ui and pass it to ClerkProvider:\n\n import { ui } from '@clerk/ui'\n <ClerkProvider ui={ui}>\n\nLearn more: https://clerk.com/docs/reference/components/versioning\n(code=structural_css_pin_clerk_ui)"].join("\n")}function h(e){let t=[];for(let[r,n]of Object.entries(e))if("string"!=typeof n)for(let e of function e(t){if(!t||"object"!=typeof t)return[];let r=[];for(let[n,a]of Object.entries(t))(function(e){let t,r,n;return!!e.startsWith("&")&&(!!(i.test(e)||s.test(e)||l.test(e))||(t=e.replace(/^&\s*/,""),r=i.test(t),n=u.test(t.replace(c,"")),!!(r||n&&f.test(e))))})(n)&&r.push(n),r.push(...e(a));return r}(n))t.push("elements.".concat(r,' "').concat(e,'"'));return t}function p(e,t){if(t||!(null==e?void 0:e.elements)||0===Object.keys(e.elements).length)return;let r=h(e.elements);r.length>0&&n.v.warnOnce(d(r))}function g(e){var t;if(null==e||null==(t=e.ui)?void 0:t.__brand)return;let r=[],u=null==e?void 0:e.appearance;for(let e of((null==u?void 0:u.elements)&&Object.keys(u.elements).length>0&&r.push(...h(u.elements)),function(){if("u"<typeof document)return[];let e=[];for(let t of Array.from(document.styleSheets)){let r=function(e){try{return e.cssRules}catch{return null}}(t);r&&function e(t,r,n){for(let c of Array.from(t)){if(1===c.type&&"selectorText"in c){for(let e of(c.selectorText||"").split(",").map(e=>e.trim()).filter(Boolean)){var u;if(!function(e){let t=e.replace(a,"");return i.test(t)||o.test(t)}(e))continue;let{structural:t,reason:f}=function(e){let t=[];return(/\.cl-[A-Za-z0-9_-]+[\s>+~]+[.#\w[:]/.test(e)||/[.#\w\]:][\s>+~]+\.cl-[A-Za-z0-9_-]+/.test(e))&&(/[>+~]/.test(e)&&t.push("combinator(>+~)"),/\s+/.test(e)&&t.push("descendant(combinator)")),s.test(e)&&t.push("positional-pseudo"),l.test(e)&&t.push(":has()"),(e.match(/\.cl-[A-Za-z0-9_-]+/g)||[]).length>=2&&t.push("multiple-clerk-classes"),/(^|[\s>+~(])([a-z]+)\.cl-[A-Za-z0-9_-]+/i.test(e)&&t.push("tag+cl-class"),{structural:t.includes("combinator(>+~)")||t.includes("descendant(combinator)")||t.includes("positional-pseudo")||t.includes(":has()")||t.includes("multiple-clerk-classes")||t.includes("tag+cl-class"),reason:t}}(e);t&&n.push({stylesheetHref:null!=(u=r.href)?u:null,selector:e,cssText:c.cssText,reason:f})}continue}"cssRules"in c&&c.cssRules&&e(c.cssRules,r,n)}}(r,t,e)}return e}()))r.push('CSS "'.concat(e.selector,'"'));r.length>0&&n.v.warnOnce(d(r))}},55435(e,t,r){r.d(t,{A:()=>$}),r(36395),r(85281),r(96954),r(42949),r(84086),r(15254),r(14104),r(37891);var n=function(){function e(e){var t=this;this._insertTag=function(e){var r;r=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,r),t.tags.push(e)},this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(((t=document.createElement("style")).setAttribute("data-emotion",this.key),void 0!==this.nonce&&t.setAttribute("nonce",this.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t));var t,r=this.tags[this.tags.length-1];if(this.isSpeedy){var n=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}(r);try{n.insertRule(e,n.cssRules.length)}catch(e){}}else r.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach(function(e){var t;return null==(t=e.parentNode)?void 0:t.removeChild(e)}),this.tags=[],this.ctr=0},e}(),i=Math.abs,a=String.fromCharCode,o=Object.assign;function s(e,t,r){return e.replace(t,r)}function l(e,t){return e.indexOf(t)}function u(e,t){return 0|e.charCodeAt(t)}function c(e,t,r){return e.slice(t,r)}function f(e){return e.length}function d(e,t){return t.push(e),e}var h=1,p=1,g=0,y=0,m=0,b="";function w(e,t,r,n,i,a,o){return{value:e,root:t,parent:r,type:n,props:i,children:a,line:h,column:p,length:o,return:""}}function S(e,t){return o(w("",null,null,"",null,null,0),e,{length:-e.length},t)}function k(){return m=y<g?u(b,y++):0,p++,10===m&&(p=1,h++),m}function E(){return u(b,y)}function _(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function P(e){return h=p=1,g=f(b=e),y=0,[]}function x(e){var t,r;return(t=y-1,r=function e(t){for(;k();)switch(m){case t:return y;case 34:case 39:34!==t&&39!==t&&e(m);break;case 40:41===t&&e(t);break;case 92:k()}return y}(91===e?e+2:40===e?e+1:e),c(b,t,r)).trim()}var C="-ms-",O="-moz-",R="-webkit-",I="comm",A="rule",T="decl",M="@keyframes";function z(e,t){for(var r="",n=e.length,i=0;i<n;i++)r+=t(e[i],i,e,t)||"";return r}function D(e,t,r,n){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case T:return e.return=e.return||e.value;case I:return"";case M:return e.return=e.value+"{"+z(e.children,n)+"}";case A:e.value=e.props.join(",")}return f(r=z(e.children,n))?e.return=e.value+"{"+r+"}":""}function L(e,t,r,n,a,o,l,u,f,d,h){for(var p=a-1,g=0===a?o:[""],y=g.length,m=0,b=0,S=0;m<n;++m)for(var k=0,E=c(e,p+1,p=i(b=l[m])),_=e;k<y;++k)(_=(b>0?g[k]+" "+E:s(E,/&\f/g,g[k])).trim())&&(f[S++]=_);return w(e,t,r,0===a?A:u,f,d,h)}function U(e,t,r,n){return w(e,t,r,T,c(e,0,n),c(e,n+1,-1),n)}r(53349);var j=function(e,t,r){for(var n=0,i=0;n=i,i=E(),38===n&&12===i&&(t[r]=1),!_(i);)k();return c(b,e,y)},N=function(e,t){var r=-1,n=44;do switch(_(n)){case 0:38===n&&12===E()&&(t[r]=1),e[r]+=j(y-1,t,r);break;case 2:e[r]+=x(n);break;case 4:if(44===n){e[++r]=58===E()?"&\f":"",t[r]=e[r].length;break}default:e[r]+=a(n)}while(n=k());return e},F=function(e,t){var r;return r=N(P(e),t),b="",r},q=new WeakMap,W=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,r=e.parent,n=e.column===r.column&&e.line===r.line;"rule"!==r.type;)if(!(r=r.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||q.get(r))&&!n){q.set(e,!0);for(var i=[],a=F(t,i),o=r.props,s=0,l=0;s<a.length;s++)for(var u=0;u<o.length;u++,l++)e.props[l]=i[s]?a[s].replace(/&\f/g,o[u]):o[u]+" "+a[s]}}},K=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}},B=[function(e,t,r,n){if(e.length>-1&&!e.return)switch(e.type){case T:e.return=function e(t,r){switch(45^u(t,0)?(((r<<2^u(t,0))<<2^u(t,1))<<2^u(t,2))<<2^u(t,3):0){case 5103:return R+"print-"+t+t;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return R+t+t;case 5349:case 4246:case 4810:case 6968:case 2756:return R+t+O+t+C+t+t;case 6828:case 4268:return R+t+C+t+t;case 6165:return R+t+C+"flex-"+t+t;case 5187:return R+t+s(t,/(\w+).+(:[^]+)/,R+"box-$1$2"+C+"flex-$1$2")+t;case 5443:return R+t+C+"flex-item-"+s(t,/flex-|-self/,"")+t;case 4675:return R+t+C+"flex-line-pack"+s(t,/align-content|flex-|-self/,"")+t;case 5548:return R+t+C+s(t,"shrink","negative")+t;case 5292:return R+t+C+s(t,"basis","preferred-size")+t;case 6060:return R+"box-"+s(t,"-grow","")+R+t+C+s(t,"grow","positive")+t;case 4554:return R+s(t,/([^-])(transform)/g,"$1"+R+"$2")+t;case 6187:return s(s(s(t,/(zoom-|grab)/,R+"$1"),/(image-set)/,R+"$1"),t,"")+t;case 5495:case 3959:return s(t,/(image-set\([^]*)/,R+"$1$`$1");case 4968:return s(s(t,/(.+:)(flex-)?(.*)/,R+"box-pack:$3"+C+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+R+t+t;case 4095:case 3583:case 4068:case 2532:return s(t,/(.+)-inline(.+)/,R+"$1$2")+t;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(f(t)-1-r>6)switch(u(t,r+1)){case 109:if(45!==u(t,r+4))break;case 102:return s(t,/(.+:)(.+)-([^]+)/,"$1"+R+"$2-$3$1"+O+(108==u(t,r+3)?"$3":"$2-$3"))+t;case 115:return~l(t,"stretch")?e(s(t,"stretch","fill-available"),r)+t:t}break;case 4949:if(115!==u(t,r+1))break;case 6444:switch(u(t,f(t)-3-(~l(t,"!important")&&10))){case 107:return s(t,":",":"+R)+t;case 101:return s(t,/(.+:)([^;!]+)(;|!.+)?/,"$1"+R+(45===u(t,14)?"inline-":"")+"box$3$1"+R+"$2$3$1"+C+"$2box$3")+t}break;case 5936:switch(u(t,r+11)){case 114:return R+t+C+s(t,/[svh]\w+-[tblr]{2}/,"tb")+t;case 108:return R+t+C+s(t,/[svh]\w+-[tblr]{2}/,"tb-rl")+t;case 45:return R+t+C+s(t,/[svh]\w+-[tblr]{2}/,"lr")+t}return R+t+C+t+t}return t}(e.value,e.length);break;case M:return z([S(e,{value:s(e.value,"@","@"+R)})],n);case A:if(e.length){var i,a;return i=e.props,a=function(t){var r;switch(r=t,(r=/(::plac\w+|:read-\w+)/.exec(r))?r[0]:r){case":read-only":case":read-write":return z([S(e,{props:[s(t,/:(read-\w+)/,":"+O+"$1")]})],n);case"::placeholder":return z([S(e,{props:[s(t,/:(plac\w+)/,":"+R+"input-$1")]}),S(e,{props:[s(t,/:(plac\w+)/,":"+O+"$1")]}),S(e,{props:[s(t,/:(plac\w+)/,C+"input-$1")]})],n)}return""},i.map(a).join("")}}}],$=function(e){var t,r,i,o,g,S=e.key;if("css"===S){var C=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(C,function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))})}var O=e.stylisPlugins||B,R={},A=[];o=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+S+' "]'),function(e){for(var t=e.getAttribute("data-emotion").split(" "),r=1;r<t.length;r++)R[t[r]]=!0;A.push(e)});var T=(r=(t=[W,K].concat(O,[D,(i=function(e){g.insert(e)},function(e){!e.root&&(e=e.return)&&i(e)})])).length,function(e,n,i,a){for(var o="",s=0;s<r;s++)o+=t[s](e,n,i,a)||"";return o}),M=function(e){var t,r;return z((r=function e(t,r,n,i,o,g,S,P,C){for(var O,R=0,A=0,T=S,M=0,z=0,D=0,j=1,N=1,F=1,q=0,W="",K=o,B=g,$=i,V=W;N;)switch(D=q,q=k()){case 40:if(108!=D&&58==u(V,T-1)){-1!=l(V+=s(x(q),"&","&\f"),"&\f")&&(F=-1);break}case 34:case 39:case 91:V+=x(q);break;case 9:case 10:case 13:case 32:V+=function(e){for(;m=E();)if(m<33)k();else break;return _(e)>2||_(m)>3?"":" "}(D);break;case 92:V+=function(e,t){for(var r;--t&&k()&&!(m<48)&&!(m>102)&&(!(m>57)||!(m<65))&&(!(m>70)||!(m<97)););return r=y+(t<6&&32==E()&&32==k()),c(b,e,r)}(y-1,7);continue;case 47:switch(E()){case 42:case 47:d((O=function(e,t){for(;k();)if(e+m===57)break;else if(e+m===84&&47===E())break;return"/*"+c(b,t,y-1)+"*"+a(47===e?e:k())}(k(),y),w(O,r,n,I,a(m),c(O,2,-2),0)),C);break;default:V+="/"}break;case 123*j:P[R++]=f(V)*F;case 125*j:case 59:case 0:switch(q){case 0:case 125:N=0;case 59+A:-1==F&&(V=s(V,/\f/g,"")),z>0&&f(V)-T&&d(z>32?U(V+";",i,n,T-1):U(s(V," ","")+";",i,n,T-2),C);break;case 59:V+=";";default:if(d($=L(V,r,n,R,A,o,P,W,K=[],B=[],T),g),123===q)if(0===A)e(V,r,$,$,K,g,T,P,B);else switch(99===M&&110===u(V,3)?100:M){case 100:case 108:case 109:case 115:e(t,$,$,i&&d(L(t,$,$,0,0,o,P,W,o,K=[],T),B),o,B,T,P,i?K:B);break;default:e(V,$,$,$,[""],B,0,P,B)}}R=A=z=0,j=F=1,W=V="",T=S;break;case 58:T=1+f(V),z=D;default:if(j<1){if(123==q)--j;else if(125==q&&0==j++&&125==(m=y>0?u(b,--y):0,p--,10===m&&(p=1,h--),m))continue}switch(V+=a(q),q*j){case 38:F=A>0?1:(V+="\f",-1);break;case 44:P[R++]=(f(V)-1)*F,F=1;break;case 64:45===E()&&(V+=x(k())),M=E(),A=T=f(W=V+=function(e){for(;!_(E());)k();return c(b,e,y)}(y)),q++;break;case 45:45===D&&2==f(V)&&(j=0)}}return g}("",null,null,null,[""],t=P(t=e),0,[0],t),b="",r),T)},j={key:S,sheet:new n({key:S,container:o,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:R,registered:{},insert:function(e,t,r,n){g=r,M(e?e+"{"+t.styles+"}":t.styles),n&&(j.inserted[t.name]=!0)}};return j.sheet.hydrate(A),j}},23647(e,t,r){r.d(t,{C:()=>h,E:()=>S,a:()=>y,c:()=>b,h:()=>f}),r(15254),r(85281),r(67548),r(70954),r(98803),r(79162),r(15385),r(39342),r(69152),r(36395),r(96954);var n,i=r(59701),a=r(55435);function o(){return(o=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(null,arguments)}var s=r(53349),l=r(66936),u=r(31134),c=r(28206),f={}.hasOwnProperty,d=i.createContext("u">typeof HTMLElement?(0,a.A)({key:"css"}):null),h=d.Provider,p=i.createContext({}),g=(0,s.A)(function(e){return(0,s.A)(function(t){var r,n;return r=e,"function"==typeof(n=t)?n(r):o({},r,n)})}),y=function(e){var t=i.useContext(p);return e.theme!==t&&(t=g(t)(e.theme)),i.createElement(p.Provider,{value:t},e.children)},m="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",b=function(e,t){var r={};for(var n in t)f.call(t,n)&&(r[n]=t[n]);return r[m]=e,r},w=function(e){var t=e.cache,r=e.serialized,n=e.isStringTag;return(0,l.SF)(t,r,n),(0,c.s)(function(){return(0,l.sk)(t,r,n)}),null},S=(n=function(e,t,r){var n=e.css;"string"==typeof n&&void 0!==t.registered[n]&&(n=t.registered[n]);var a=e[m],o=[n],s="";"string"==typeof e.className?s=(0,l.Rk)(t.registered,o,e.className):null!=e.className&&(s=e.className+" ");var c=(0,u.J)(o,void 0,i.useContext(p));s+=t.key+"-"+c.name;var d={};for(var h in e)f.call(e,h)&&"css"!==h&&h!==m&&(d[h]=e[h]);return d.ref=r,d.className=s,i.createElement(i.Fragment,null,i.createElement(w,{cache:t,serialized:c,isStringTag:"string"==typeof a}),i.createElement(a,d))},(0,i.forwardRef)(function(e,t){return n(e,(0,i.useContext)(d),t)}))},82787(e,t,r){var n=r(23569),i=r(23647);r(59701),r(55435),r(53349),r(43184),r(66936),r(31134),r(28206);var a=n.Fragment;function o(e,t,r){return i.h.call(t,"css")?n.jsx(i.E,(0,i.c)(e,t),r):n.jsx(e,t,r)}function s(e,t,r){return i.h.call(t,"css")?n.jsxs(i.E,(0,i.c)(e,t),r):n.jsxs(e,t,r)}r.d(t,{FD:()=>s,FK:()=>a,Y:()=>o})},31134(e,t,r){r.d(t,{J:()=>g}),r(85281),r(96954),r(15254);var n,i,a,o={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},s=/[A-Z]|^ms/g,l=/_EMO_([^_]+?)_([^]*?)_EMO_/g,u=function(e){return 45===e.charCodeAt(1)},c=function(e){return null!=e&&"boolean"!=typeof e},f=(n=function(e){return u(e)?e:e.replace(s,"-$&").toLowerCase()},i=Object.create(null),function(e){return void 0===i[e]&&(i[e]=n(e)),i[e]}),d=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(l,function(e,t,r){return a={name:t,styles:r,next:a},t})}return 1===o[e]||u(e)||"number"!=typeof t||0===t?t:t+"px"};function h(e,t,r){if(null==r)return"";if(void 0!==r.__emotion_styles)return r;switch(typeof r){case"boolean":return"";case"object":if(1===r.anim)return a={name:r.name,styles:r.styles,next:a},r.name;if(void 0!==r.styles){var n=r.next;if(void 0!==n)for(;void 0!==n;)a={name:n.name,styles:n.styles,next:a},n=n.next;return r.styles+";"}return function(e,t,r){var n="";if(Array.isArray(r))for(var i=0;i<r.length;i++)n+=h(e,t,r[i])+";";else for(var a in r){var o=r[a];if("object"!=typeof o)null!=t&&void 0!==t[o]?n+=a+"{"+t[o]+"}":c(o)&&(n+=f(a)+":"+d(a,o)+";");else if(Array.isArray(o)&&"string"==typeof o[0]&&(null==t||void 0===t[o[0]]))for(var s=0;s<o.length;s++)c(o[s])&&(n+=f(a)+":"+d(a,o[s])+";");else{var l=h(e,t,o);switch(a){case"animation":case"animationName":n+=f(a)+":"+l+";";break;default:n+=a+"{"+l+"}"}}}return n}(e,t,r);case"function":if(void 0!==e){var i=a,o=r(e);return a=i,h(e,t,o)}}if(null==t)return r;var s=t[r];return void 0!==s?s:r}var p=/label:\s*([^\s;{]+)\s*(;|$)/g;function g(e,t,r){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var n,i=!0,o="";a=void 0;var s=e[0];null==s||void 0===s.raw?(i=!1,o+=h(r,t,s)):o+=s[0];for(var l=1;l<e.length;l++)o+=h(r,t,e[l]),i&&(o+=s[l]);p.lastIndex=0;for(var u="";null!==(n=p.exec(o));)u+="-"+n[1];return{name:function(e){for(var t,r=0,n=0,i=e.length;i>=4;++n,i-=4)t=(65535&(t=255&e.charCodeAt(n)|(255&e.charCodeAt(++n))<<8|(255&e.charCodeAt(++n))<<16|(255&e.charCodeAt(++n))<<24))*0x5bd1e995+((t>>>16)*59797<<16),t^=t>>>24,r=(65535&t)*0x5bd1e995+((t>>>16)*59797<<16)^(65535&r)*0x5bd1e995+((r>>>16)*59797<<16);switch(i){case 3:r^=(255&e.charCodeAt(n+2))<<16;case 2:r^=(255&e.charCodeAt(n+1))<<8;case 1:r^=255&e.charCodeAt(n),r=(65535&r)*0x5bd1e995+((r>>>16)*59797<<16)}return r^=r>>>13,(((r=(65535&r)*0x5bd1e995+((r>>>16)*59797<<16))^r>>>15)>>>0).toString(36)}(o)+u,styles:o,next:a}}},28206(e,t,r){var n,i=r(59701),a=!!(n||(n=r.t(i,2))).useInsertionEffect&&(n||(n=r.t(i,2))).useInsertionEffect,o=a||function(e){return e()};a||i.useLayoutEffect,r.d(t,{s:()=>o})},66936(e,t,r){function n(e,t,r){var n="";return r.split(" ").forEach(function(r){void 0!==e[r]?t.push(e[r]+";"):r&&(n+=r+" ")}),n}r(85281),r(42949),r(84086),r(14104);var i=function(e,t,r){var n=e.key+"-"+t.name;!1===r&&void 0===e.registered[n]&&(e.registered[n]=t.styles)},a=function(e,t,r){i(e,t,r);var n=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var a=t;do e.insert(t===a?"."+n:"",a,e.sheet,!0),a=a.next;while(void 0!==a)}};r.d(t,{Rk:()=>n,SF:()=>i,sk:()=>a})},53349(e,t,r){r(36395);var n=function(e){var t=new WeakMap;return function(r){if(t.has(r))return t.get(r);var n=e(r);return t.set(r,n),n}};r.d(t,{A:()=>n})},43184(e,t,r){var n=r(64326),i={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},a={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},o={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function l(e){return n.isMemo(e)?o:s[e.$$typeof]||i}s[n.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[n.Memo]=o;var u=Object.defineProperty,c=Object.getOwnPropertyNames,f=Object.getOwnPropertySymbols,d=Object.getOwnPropertyDescriptor,h=Object.getPrototypeOf,p=Object.prototype;e.exports=function e(t,r,n){if("string"!=typeof r){if(p){var i=h(r);i&&i!==p&&e(t,i,n)}var o=c(r);f&&(o=o.concat(f(r)));for(var s=l(t),g=l(r),y=0;y<o.length;++y){var m=o[y];if(!a[m]&&!(n&&n[m])&&!(g&&g[m])&&!(s&&s[m])){var b=d(r,m);try{u(t,m,b)}catch(e){}}}}return t}},75754(e,t){var r="function"==typeof Symbol&&Symbol.for,n=r?Symbol.for("react.element"):60103,i=r?Symbol.for("react.portal"):60106,a=r?Symbol.for("react.fragment"):60107,o=r?Symbol.for("react.strict_mode"):60108,s=r?Symbol.for("react.profiler"):60114,l=r?Symbol.for("react.provider"):60109,u=r?Symbol.for("react.context"):60110,c=r?Symbol.for("react.async_mode"):60111,f=r?Symbol.for("react.concurrent_mode"):60111,d=r?Symbol.for("react.forward_ref"):60112,h=r?Symbol.for("react.suspense"):60113,p=r?Symbol.for("react.suspense_list"):60120,g=r?Symbol.for("react.memo"):60115,y=r?Symbol.for("react.lazy"):60116,m=r?Symbol.for("react.block"):60121,b=r?Symbol.for("react.fundamental"):60117,w=r?Symbol.for("react.responder"):60118,S=r?Symbol.for("react.scope"):60119;function k(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case n:switch(e=e.type){case c:case f:case a:case s:case o:case h:return e;default:switch(e=e&&e.$$typeof){case u:case d:case y:case g:case l:return e;default:return t}}case i:return t}}}function E(e){return k(e)===f}t.AsyncMode=c,t.ConcurrentMode=f,t.ContextConsumer=u,t.ContextProvider=l,t.Element=n,t.ForwardRef=d,t.Fragment=a,t.Lazy=y,t.Memo=g,t.Portal=i,t.Profiler=s,t.StrictMode=o,t.Suspense=h,t.isAsyncMode=function(e){return E(e)||k(e)===c},t.isConcurrentMode=E,t.isContextConsumer=function(e){return k(e)===u},t.isContextProvider=function(e){return k(e)===l},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===n},t.isForwardRef=function(e){return k(e)===d},t.isFragment=function(e){return k(e)===a},t.isLazy=function(e){return k(e)===y},t.isMemo=function(e){return k(e)===g},t.isPortal=function(e){return k(e)===i},t.isProfiler=function(e){return k(e)===s},t.isStrictMode=function(e){return k(e)===o},t.isSuspense=function(e){return k(e)===h},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===a||e===f||e===s||e===o||e===h||e===p||"object"==typeof e&&null!==e&&(e.$$typeof===y||e.$$typeof===g||e.$$typeof===l||e.$$typeof===u||e.$$typeof===d||e.$$typeof===b||e.$$typeof===w||e.$$typeof===S||e.$$typeof===m)},t.typeOf=k},64326(e,t,r){e.exports=r(75754)},62771(e,t,r){var n=r(59701),i=Symbol.for("react.element"),a=Symbol.for("react.fragment"),o=Object.prototype.hasOwnProperty,s=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,l={key:!0,ref:!0,__self:!0,__source:!0};function u(e,t,r){var n,a={},u=null,c=null;for(n in void 0!==r&&(u=""+r),void 0!==t.key&&(u=""+t.key),void 0!==t.ref&&(c=t.ref),t)o.call(t,n)&&!l.hasOwnProperty(n)&&(a[n]=t[n]);if(e&&e.defaultProps)for(n in t=e.defaultProps)void 0===a[n]&&(a[n]=t[n]);return{$$typeof:i,type:e,key:u,ref:c,props:a,_owner:s.current}}t.Fragment=a,t.jsx=u,t.jsxs=u},23204(e,t,r){r(36395),r(15254),r(85281),r(96954),r(14104);var n=Symbol.for("react.element"),i=Symbol.for("react.portal"),a=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),l=Symbol.for("react.provider"),u=Symbol.for("react.context"),c=Symbol.for("react.forward_ref"),f=Symbol.for("react.suspense"),d=Symbol.for("react.memo"),h=Symbol.for("react.lazy"),p=Symbol.iterator,g={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},y=Object.assign,m={};function b(e,t,r){this.props=e,this.context=t,this.refs=m,this.updater=r||g}function w(){}function S(e,t,r){this.props=e,this.context=t,this.refs=m,this.updater=r||g}b.prototype.isReactComponent={},b.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},b.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},w.prototype=b.prototype;var k=S.prototype=new w;k.constructor=S,y(k,b.prototype),k.isPureReactComponent=!0;var E=Array.isArray,_=Object.prototype.hasOwnProperty,P={current:null},x={key:!0,ref:!0,__self:!0,__source:!0};function C(e,t,r){var i,a={},o=null,s=null;if(null!=t)for(i in void 0!==t.ref&&(s=t.ref),void 0!==t.key&&(o=""+t.key),t)_.call(t,i)&&!x.hasOwnProperty(i)&&(a[i]=t[i]);var l=arguments.length-2;if(1===l)a.children=r;else if(1<l){for(var u=Array(l),c=0;c<l;c++)u[c]=arguments[c+2];a.children=u}if(e&&e.defaultProps)for(i in l=e.defaultProps)void 0===a[i]&&(a[i]=l[i]);return{$$typeof:n,type:e,key:o,ref:s,props:a,_owner:P.current}}function O(e){return"object"==typeof e&&null!==e&&e.$$typeof===n}var R=/\/+/g;function I(e,t){var r,n;return"object"==typeof e&&null!==e&&null!=e.key?(r=""+e.key,n={"=":"=0",":":"=2"},"$"+r.replace(/[=:]/g,function(e){return n[e]})):t.toString(36)}function A(e,t,r){if(null==e)return e;var a=[],o=0;return!function e(t,r,a,o,s){var l,u,c,f=typeof t;("undefined"===f||"boolean"===f)&&(t=null);var d=!1;if(null===t)d=!0;else switch(f){case"string":case"number":d=!0;break;case"object":switch(t.$$typeof){case n:case i:d=!0}}if(d)return s=s(d=t),t=""===o?"."+I(d,0):o,E(s)?(a="",null!=t&&(a=t.replace(R,"$&/")+"/"),e(s,r,a,"",function(e){return e})):null!=s&&(O(s)&&(l=s,u=a+(!s.key||d&&d.key===s.key?"":(""+s.key).replace(R,"$&/")+"/")+t,s={$$typeof:n,type:l.type,key:u,ref:l.ref,props:l.props,_owner:l._owner}),r.push(s)),1;if(d=0,o=""===o?".":o+":",E(t))for(var h=0;h<t.length;h++){var g=o+I(f=t[h],h);d+=e(f,r,a,g,s)}else if("function"==typeof(g=null===(c=t)||"object"!=typeof c?null:"function"==typeof(c=p&&c[p]||c["@@iterator"])?c:null))for(t=g.call(t),h=0;!(f=t.next()).done;)g=o+I(f=f.value,h++),d+=e(f,r,a,g,s);else if("object"===f)throw Error("Objects are not valid as a React child (found: "+("[object Object]"===(r=String(t))?"object with keys {"+Object.keys(t).join(", ")+"}":r)+"). If you meant to render a collection of children, use an array instead.");return d}(e,a,"","",function(e){return t.call(r,e,o++)}),a}function T(e){if(-1===e._status){var t=e._result;(t=t()).then(function(t){(0===e._status||-1===e._status)&&(e._status=1,e._result=t)},function(t){(0===e._status||-1===e._status)&&(e._status=2,e._result=t)}),-1===e._status&&(e._status=0,e._result=t)}if(1===e._status)return e._result.default;throw e._result}var M={current:null},z={transition:null};function D(){throw Error("act(...) is not supported in production builds of React.")}t.Children={map:A,forEach:function(e,t,r){A(e,function(){t.apply(this,arguments)},r)},count:function(e){var t=0;return A(e,function(){t++}),t},toArray:function(e){return A(e,function(e){return e})||[]},only:function(e){if(!O(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},t.Component=b,t.Fragment=a,t.Profiler=s,t.PureComponent=S,t.StrictMode=o,t.Suspense=f,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED={ReactCurrentDispatcher:M,ReactCurrentBatchConfig:z,ReactCurrentOwner:P},t.act=D,t.cloneElement=function(e,t,r){if(null==e)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var i=y({},e.props),a=e.key,o=e.ref,s=e._owner;if(null!=t){if(void 0!==t.ref&&(o=t.ref,s=P.current),void 0!==t.key&&(a=""+t.key),e.type&&e.type.defaultProps)var l=e.type.defaultProps;for(u in t)_.call(t,u)&&!x.hasOwnProperty(u)&&(i[u]=void 0===t[u]&&void 0!==l?l[u]:t[u])}var u=arguments.length-2;if(1===u)i.children=r;else if(1<u){l=Array(u);for(var c=0;c<u;c++)l[c]=arguments[c+2];i.children=l}return{$$typeof:n,type:e.type,key:a,ref:o,props:i,_owner:s}},t.createContext=function(e){return(e={$$typeof:u,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:l,_context:e},e.Consumer=e},t.createElement=C,t.createFactory=function(e){var t=C.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:c,render:e}},t.isValidElement=O,t.lazy=function(e){return{$$typeof:h,_payload:{_status:-1,_result:e},_init:T}},t.memo=function(e,t){return{$$typeof:d,type:e,compare:void 0===t?null:t}},t.startTransition=function(e){var t=z.transition;z.transition={};try{e()}finally{z.transition=t}},t.unstable_act=D,t.useCallback=function(e,t){return M.current.useCallback(e,t)},t.useContext=function(e){return M.current.useContext(e)},t.useDebugValue=function(){},t.useDeferredValue=function(e){return M.current.useDeferredValue(e)},t.useEffect=function(e,t){return M.current.useEffect(e,t)},t.useId=function(){return M.current.useId()},t.useImperativeHandle=function(e,t,r){return M.current.useImperativeHandle(e,t,r)},t.useInsertionEffect=function(e,t){return M.current.useInsertionEffect(e,t)},t.useLayoutEffect=function(e,t){return M.current.useLayoutEffect(e,t)},t.useMemo=function(e,t){return M.current.useMemo(e,t)},t.useReducer=function(e,t,r){return M.current.useReducer(e,t,r)},t.useRef=function(e){return M.current.useRef(e)},t.useState=function(e){return M.current.useState(e)},t.useSyncExternalStore=function(e,t,r){return M.current.useSyncExternalStore(e,t,r)},t.useTransition=function(){return M.current.useTransition()},t.version="18.3.1"},59701(e,t,r){e.exports=r(23204)},23569(e,t,r){e.exports=r(62771)},70860(e,t,r){var n=r(68039),i=r(25229),a=TypeError;e.exports=function(e){if(n(e))return e;throw new a(i(e)+" is not a function")}},90114(e,t,r){var n=r(59811),i=r(25229),a=TypeError;e.exports=function(e){if(n(e))return e;throw new a(i(e)+" is not a constructor")}},30216(e,t,r){var n=r(30643),i=String,a=TypeError;e.exports=function(e){if(n(e))return e;throw new a("Can't set "+i(e)+" as a prototype")}},47234(e,t,r){var n=r(58260).has;e.exports=function(e){return n(e),e}},1643(e,t,r){var n=r(75869),i=r(12326),a=r(33919).f,o=n("unscopables"),s=Array.prototype;void 0===s[o]&&a(s,o,{configurable:!0,value:i(null)}),e.exports=function(e){s[o][e]=!0}},22287(e,t,r){var n=r(68445).charAt;e.exports=function(e,t,r){return t+(r?n(e,t).length:1)}},50473(e,t,r){var n=r(66227),i=TypeError;e.exports=function(e,t){if(n(t,e))return e;throw new i("Incorrect invocation")}},46177(e,t,r){var n=r(48188),i=String,a=TypeError;e.exports=function(e){if(n(e))return e;throw new a(i(e)+" is not an object")}},53869(e){e.exports="u">typeof ArrayBuffer&&"u">typeof DataView},82144(e,t,r){var n=r(6974),i=r(76572),a=r(74026),o=n.ArrayBuffer,s=n.TypeError;e.exports=o&&i(o.prototype,"byteLength","get")||function(e){if("ArrayBuffer"!==a(e))throw new s("ArrayBuffer expected");return e.byteLength}},80408(e,t,r){var n=r(6974),i=r(53869),a=r(82144),o=n.DataView;e.exports=function(e){if(!i||0!==a(e))return!1;try{return new o(e),!1}catch(e){return!0}}},30315(e,t,r){var n=r(80408),i=TypeError;e.exports=function(e){if(n(e))throw new i("ArrayBuffer is detached");return e}},2982(e,t,r){var n=r(6974),i=r(52782),a=r(76572),o=r(26722),s=r(30315),l=r(82144),u=r(47541),c=r(75698),f=n.structuredClone,d=n.ArrayBuffer,h=n.DataView,p=Math.min,g=d.prototype,y=h.prototype,m=i(g.slice),b=a(g,"resizable","get"),w=a(g,"maxByteLength","get"),S=i(y.getInt8),k=i(y.setInt8);e.exports=(c||u)&&function(e,t,r){var n,i=l(e),a=void 0===t?i:o(t),g=!b||!b(e);if(s(e),c&&(e=f(e,{transfer:[e]}),i===a&&(r||g)))return e;if(i>=a&&(!r||g))n=m(e,0,a);else{n=new d(a,r&&!g&&w?{maxByteLength:w(e)}:void 0);for(var y=new h(e),E=new h(n),_=p(a,i),P=0;P<_;P++)k(E,P,S(y,P))}return c||u(e),n}},97882(e,t,r){var n,i,a,o=r(53869),s=r(19058),l=r(6974),u=r(68039),c=r(48188),f=r(76151),d=r(73485),h=r(25229),p=r(80081),g=r(59430),y=r(7108),m=r(66227),b=r(69681),w=r(87261),S=r(75869),k=r(702),E=r(66935),_=E.enforce,P=E.get,x=l.Int8Array,C=x&&x.prototype,O=l.Uint8ClampedArray,R=O&&O.prototype,I=x&&b(x),A=C&&b(C),T=Object.prototype,M=l.TypeError,z=S("toStringTag"),D=k("TYPED_ARRAY_TAG"),L="TypedArrayConstructor",U=o&&!!w&&"Opera"!==d(l.opera),j=!1,N={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},F={BigInt64Array:8,BigUint64Array:8},q=function(e){var t=b(e);if(c(t)){var r=P(t);return r&&f(r,L)?r[L]:q(t)}},W=function(e){if(!c(e))return!1;var t=d(e);return f(N,t)||f(F,t)};for(n in N)(a=(i=l[n])&&i.prototype)?_(a)[L]=i:U=!1;for(n in F)(a=(i=l[n])&&i.prototype)&&(_(a)[L]=i);if((!U||!u(I)||I===Function.prototype)&&(I=function(){throw new M("Incorrect invocation")},U))for(n in N)l[n]&&w(l[n],I);if((!U||!A||A===T)&&(A=I.prototype,U))for(n in N)l[n]&&w(l[n].prototype,A);if(U&&b(R)!==A&&w(R,A),s&&!f(A,z))for(n in j=!0,y(A,z,{configurable:!0,get:function(){return c(this)?this[D]:void 0}}),N)l[n]&&p(l[n],D,n);e.exports={NATIVE_ARRAY_BUFFER_VIEWS:U,TYPED_ARRAY_TAG:j&&D,aTypedArray:function(e){if(W(e))return e;throw new M("Target is not a typed array")},aTypedArrayConstructor:function(e){if(u(e)&&(!w||m(I,e)))return e;throw new M(h(e)+" is not a typed array constructor")},exportTypedArrayMethod:function(e,t,r,n){if(s){if(r)for(var i in N){var a=l[i];if(a&&f(a.prototype,e))try{delete a.prototype[e]}catch(r){try{a.prototype[e]=t}catch(e){}}}(!A[e]||r)&&g(A,e,r?t:U&&C[e]||t,n)}},exportTypedArrayStaticMethod:function(e,t,r){var n,i;if(s){if(w){if(r){for(n in N)if((i=l[n])&&f(i,e))try{delete i[e]}catch(e){}}if(I[e]&&!r)return;try{return g(I,e,r?t:U&&I[e]||t)}catch(e){}}for(n in N)(i=l[n])&&(!i[e]||r)&&g(i,e,t)}},getTypedArrayConstructor:q,isView:function(e){if(!c(e))return!1;var t=d(e);return"DataView"===t||f(N,t)||f(F,t)},isTypedArray:W,TypedArray:I,TypedArrayPrototype:A}},91428(e,t,r){var n=r(6974),i=r(52782),a=r(19058),o=r(53869),s=r(6916),l=r(80081),u=r(7108),c=r(27597),f=r(59293),d=r(50473),h=r(65825),p=r(57864),g=r(26722),y=r(1863),m=r(8484),b=r(69681),w=r(87261),S=r(65083),k=r(34766),E=r(3153),_=r(18770),P=r(32377),x=r(66935),C=s.PROPER,O=s.CONFIGURABLE,R="ArrayBuffer",I="DataView",A="prototype",T="Wrong index",M=x.getterFor(R),z=x.getterFor(I),D=x.set,L=n[R],U=L,j=U&&U[A],N=n[I],F=N&&N[A],q=Object.prototype,W=n.Array,K=n.RangeError,B=i(S),$=i([].reverse),V=m.pack,Y=m.unpack,Q=function(e){return[255&e]},H=function(e){return[255&e,e>>8&255]},G=function(e){return[255&e,e>>8&255,e>>16&255,e>>24&255]},J=function(e){return e[3]<<24|e[2]<<16|e[1]<<8|e[0]},X=function(e){return V(y(e),23,4)},Z=function(e){return V(e,52,8)},ee=function(e,t,r){u(e[A],t,{configurable:!0,get:function(){return r(this)[t]}})},et=function(e,t,r,n){var i=z(e),a=g(r);if(a+t>i.byteLength)throw new K(T);var o=i.bytes,s=a+i.byteOffset,l=k(o,s,s+t);return n?l:$(l)},er=function(e,t,r,n,i,a){var o=z(e),s=g(r),l=n(+i),u=!!a;if(s+t>o.byteLength)throw new K(T);for(var c=o.bytes,f=s+o.byteOffset,d=0;d<t;d++)c[f+d]=l[u?d:t-d-1]};if(o){var en=C&&L.name!==R;!f(function(){L(1)})||!f(function(){new L(-1)})||f(function(){return new L,new L(1.5),new L(NaN),1!==L.length||en&&!O})?((U=function(e){return d(this,j),E(new L(g(e)),this,U)})[A]=j,j.constructor=U,_(U,L)):en&&O&&l(L,"name",R),w&&b(F)!==q&&w(F,q);var ei=new N(new U(2)),ea=i(F.setInt8);ei.setInt8(0,0x80000000),ei.setInt8(1,0x80000001),(ei.getInt8(0)||!ei.getInt8(1))&&c(F,{setInt8:function(e,t){ea(this,e,t<<24>>24)},setUint8:function(e,t){ea(this,e,t<<24>>24)}},{unsafe:!0})}else j=(U=function(e){d(this,j);var t=g(e);D(this,{type:R,bytes:B(W(t),0),byteLength:t}),a||(this.byteLength=t,this.detached=!1)})[A],F=(N=function(e,t,r){d(this,F),d(e,j);var n=M(e),i=n.byteLength,o=h(t);if(o<0||o>i)throw new K("Wrong offset");if(r=void 0===r?i-o:p(r),o+r>i)throw new K("Wrong length");D(this,{type:I,buffer:e,byteLength:r,byteOffset:o,bytes:n.bytes}),a||(this.buffer=e,this.byteLength=r,this.byteOffset=o)})[A],a&&(ee(U,"byteLength",M),ee(N,"buffer",z),ee(N,"byteLength",z),ee(N,"byteOffset",z)),c(F,{getInt8:function(e){return et(this,1,e)[0]<<24>>24},getUint8:function(e){return et(this,1,e)[0]},getInt16:function(e){var t=et(this,2,e,arguments.length>1&&arguments[1]);return(t[1]<<8|t[0])<<16>>16},getUint16:function(e){var t=et(this,2,e,arguments.length>1&&arguments[1]);return t[1]<<8|t[0]},getInt32:function(e){return J(et(this,4,e,arguments.length>1&&arguments[1]))},getUint32:function(e){return J(et(this,4,e,arguments.length>1&&arguments[1]))>>>0},getFloat32:function(e){return Y(et(this,4,e,arguments.length>1&&arguments[1]),23)},getFloat64:function(e){return Y(et(this,8,e,arguments.length>1&&arguments[1]),52)},setInt8:function(e,t){er(this,1,e,Q,t)},setUint8:function(e,t){er(this,1,e,Q,t)},setInt16:function(e,t){er(this,2,e,H,t,arguments.length>2&&arguments[2])},setUint16:function(e,t){er(this,2,e,H,t,arguments.length>2&&arguments[2])},setInt32:function(e,t){er(this,4,e,G,t,arguments.length>2&&arguments[2])},setUint32:function(e,t){er(this,4,e,G,t,arguments.length>2&&arguments[2])},setFloat32:function(e,t){er(this,4,e,X,t,arguments.length>2&&arguments[2])},setFloat64:function(e,t){er(this,8,e,Z,t,arguments.length>2&&arguments[2])}});P(U,R),P(N,I),e.exports={ArrayBuffer:U,DataView:N}},65083(e,t,r){var n=r(72095),i=r(3108),a=r(92956);e.exports=function(e){for(var t=n(this),r=a(t),o=arguments.length,s=i(o>1?arguments[1]:void 0,r),l=o>2?arguments[2]:void 0,u=void 0===l?r:i(l,r);u>s;)t[s++]=e;return t}},11372(e,t,r){var n=r(92956);e.exports=function(e,t,r){for(var i=0,a=arguments.length>2?r:n(t),o=new e(a);a>i;)o[i]=t[i++];return o}},77930(e,t,r){var n=r(92254),i=r(33179),a=r(72095),o=r(75017),s=r(64623),l=r(59811),u=r(92956),c=r(84634),f=r(56563),d=r(18301),h=Array;e.exports=function(e){var t,r,p,g,y,m,b=a(e),w=l(this),S=arguments.length,k=S>1?arguments[1]:void 0,E=void 0!==k;E&&(k=n(k,S>2?arguments[2]:void 0));var _=d(b),P=0;if(_&&!(this===h&&s(_)))for(r=w?new this:[],y=(g=f(b,_)).next;!(p=i(y,g)).done;P++)m=E?o(g,k,[p.value,P],!0):p.value,c(r,P,m);else for(t=u(b),r=w?new this(t):h(t);t>P;P++)m=E?k(b[P],P):b[P],c(r,P,m);return r.length=P,r}},25383(e,t,r){var n=r(41555),i=r(3108),a=r(92956),o=function(e){return function(t,r,o){var s,l=n(t),u=a(l);if(0===u)return!e&&-1;var c=i(o,u);if(e&&r!=r){for(;u>c;)if((s=l[c++])!=s)return!0}else for(;u>c;c++)if((e||c in l)&&l[c]===r)return e||c||0;return!e&&-1}};e.exports={includes:o(!0),indexOf:o(!1)}},61857(e,t,r){var n=r(92254),i=r(14461),a=r(72095),o=r(92956),s=function(e){var t=1===e;return function(r,s,l){for(var u,c=a(r),f=i(c),d=o(f),h=n(s,l);d-- >0;)if(h(u=f[d],d,c))switch(e){case 0:return u;case 1:return d}return t?-1:void 0}};e.exports={findLast:s(0),findLastIndex:s(1)}},23831(e,t,r){var n=r(92254),i=r(52782),a=r(14461),o=r(72095),s=r(92956),l=r(971),u=i([].push),c=function(e){var t=1===e,r=2===e,i=3===e,c=4===e,f=6===e,d=7===e,h=5===e||f;return function(p,g,y,m){for(var b,w,S=o(p),k=a(S),E=s(k),_=n(g,y),P=0,x=m||l,C=t?x(p,E):r||d?x(p,0):void 0;E>P;P++)if((h||P in k)&&(w=_(b=k[P],P,S),e))if(t)C[P]=w;else if(w)switch(e){case 3:return!0;case 5:return b;case 6:return P;case 2:u(C,b)}else switch(e){case 4:return!1;case 7:u(C,b)}return f?-1:i||c?c:C}};e.exports={forEach:c(0),map:c(1),filter:c(2),some:c(3),every:c(4),find:c(5),findIndex:c(6),filterReject:c(7)}},32604(e,t,r){var n=r(59293);e.exports=function(e,t){var r=[][e];return!!r&&n(function(){r.call(null,t||function(){return 1},1)})}},40184(e,t,r){var n=r(70860),i=r(72095),a=r(14461),o=r(92956),s=TypeError,l="Reduce of empty array with no initial value",u=function(e){return function(t,r,u,c){var f=i(t),d=a(f),h=o(f);if(n(r),0===h&&u<2)throw new s(l);var p=e?h-1:0,g=e?-1:1;if(u<2)for(;;){if(p in d){c=d[p],p+=g;break}if(p+=g,e?p<0:h<=p)throw new s(l)}for(;e?p>=0:h>p;p+=g)p in d&&(c=r(c,d[p],p,f));return c}};e.exports={left:u(!1),right:u(!0)}},27021(e,t,r){var n=r(19058),i=r(57958),a=TypeError,o=Object.getOwnPropertyDescriptor;e.exports=n&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(e){return e instanceof TypeError}}()?function(e,t){if(i(e)&&!o(e,"length").writable)throw new a("Cannot set read only .length");return e.length=t}:function(e,t){return e.length=t}},34766(e,t,r){e.exports=r(52782)([].slice)},31534(e,t,r){var n=r(34766),i=Math.floor,a=function(e,t){var r=e.length;if(r<8)for(var o,s,l=1;l<r;){for(s=l,o=e[l];s&&t(e[s-1],o)>0;)e[s]=e[--s];s!==l++&&(e[s]=o)}else for(var u=i(r/2),c=a(n(e,0,u),t),f=a(n(e,u),t),d=c.length,h=f.length,p=0,g=0;p<d||g<h;)e[p+g]=p<d&&g<h?0>=t(c[p],f[g])?c[p++]:f[g++]:p<d?c[p++]:f[g++];return e};e.exports=a},45051(e,t,r){var n=r(57958),i=r(59811),a=r(48188),o=r(75869)("species"),s=Array;e.exports=function(e){var t;return n(e)&&(i(t=e.constructor)&&(t===s||n(t.prototype))?t=void 0:a(t)&&null===(t=t[o])&&(t=void 0)),void 0===t?s:t}},971(e,t,r){var n=r(45051);e.exports=function(e,t){return new(n(e))(0===t?0:t)}},4062(e,t,r){var n=r(92956);e.exports=function(e,t){for(var r=n(e),i=new t(r),a=0;a<r;a++)i[a]=e[r-a-1];return i}},49718(e,t,r){var n=r(92956),i=r(65825),a=RangeError;e.exports=function(e,t,r,o){var s=n(e),l=i(r),u=l<0?s+l:l;if(u>=s||u<0)throw new a("Incorrect index");for(var c=new t(s),f=0;f<s;f++)c[f]=f===u?o:e[f];return c}},75017(e,t,r){var n=r(46177),i=r(55053);e.exports=function(e,t,r,a){try{return a?t(n(r)[0],r[1]):t(r)}catch(t){i(e,"throw",t)}}},30366(e,t,r){var n=r(75869)("iterator"),i=!1;try{var a=0,o={next:function(){return{done:!!a++}},return:function(){i=!0}};o[n]=function(){return this},Array.from(o,function(){throw 2})}catch(e){}e.exports=function(e,t){try{if(!t&&!i)return!1}catch(e){return!1}var r=!1;try{var a={};a[n]=function(){return{next:function(){return{done:r=!0}}}},e(a)}catch(e){}return r}},74026(e,t,r){var n=r(52782),i=n({}.toString),a=n("".slice);e.exports=function(e){return a(i(e),8,-1)}},73485(e,t,r){var n=r(23886),i=r(68039),a=r(74026),o=r(75869)("toStringTag"),s=Object,l="Arguments"===a(function(){return arguments}()),u=function(e,t){try{return e[t]}catch(e){}};e.exports=n?a:function(e){var t,r,n;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(r=u(t=s(e),o))?r:l?a(t):"Object"===(n=a(t))&&i(t.callee)?"Arguments":n}},18770(e,t,r){var n=r(76151),i=r(73517),a=r(43069),o=r(33919);e.exports=function(e,t,r){for(var s=i(t),l=o.f,u=a.f,c=0;c<s.length;c++){var f=s[c];n(e,f)||r&&n(r,f)||l(e,f,u(t,f))}}},1109(e,t,r){e.exports=!r(59293)(function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype})},46827(e){e.exports=function(e,t){return{value:e,done:t}}},80081(e,t,r){var n=r(19058),i=r(33919),a=r(56582);e.exports=n?function(e,t,r){return i.f(e,t,a(1,r))}:function(e,t,r){return e[t]=r,e}},56582(e){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},84634(e,t,r){var n=r(19058),i=r(33919),a=r(56582);e.exports=function(e,t,r){n?i.f(e,t,a(0,r)):e[t]=r}},7108(e,t,r){var n=r(72461),i=r(33919);e.exports=function(e,t,r){return r.get&&n(r.get,t,{getter:!0}),r.set&&n(r.set,t,{setter:!0}),i.f(e,t,r)}},59430(e,t,r){var n=r(68039),i=r(33919),a=r(72461),o=r(75963);e.exports=function(e,t,r,s){s||(s={});var l=s.enumerable,u=void 0!==s.name?s.name:t;if(n(r)&&a(r,u,s),s.global)l?e[t]=r:o(t,r);else{try{s.unsafe?e[t]&&(l=!0):delete e[t]}catch(e){}l?e[t]=r:i.f(e,t,{value:r,enumerable:!1,configurable:!s.nonConfigurable,writable:!s.nonWritable})}return e}},27597(e,t,r){var n=r(59430);e.exports=function(e,t,r){for(var i in t)n(e,i,t[i],r);return e}},75963(e,t,r){var n=r(6974),i=Object.defineProperty;e.exports=function(e,t){try{i(n,e,{value:t,configurable:!0,writable:!0})}catch(r){n[e]=t}return t}},19058(e,t,r){e.exports=!r(59293)(function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]})},47541(e,t,r){var n,i,a,o,s=r(6974),l=r(55423),u=r(75698),c=s.structuredClone,f=s.ArrayBuffer,d=s.MessageChannel,h=!1;if(u)h=function(e){c(e,{transfer:[e]})};else if(f)try{!d&&(n=l("worker_threads"))&&(d=n.MessageChannel),d&&(i=new d,a=new f(2),o=function(e){i.port1.postMessage(null,[e])},2===a.byteLength&&(o(a),0===a.byteLength&&(h=o)))}catch(e){}e.exports=h},95637(e,t,r){var n=r(6974),i=r(48188),a=n.document,o=i(a)&&i(a.createElement);e.exports=function(e){return o?a.createElement(e):{}}},61959(e){var t=TypeError;e.exports=function(e){if(e>0x1fffffffffffff)throw t("Maximum allowed index exceeded");return e}},94864(e){e.exports={IndexSizeError:{s:"INDEX_SIZE_ERR",c:1,m:1},DOMStringSizeError:{s:"DOMSTRING_SIZE_ERR",c:2,m:0},HierarchyRequestError:{s:"HIERARCHY_REQUEST_ERR",c:3,m:1},WrongDocumentError:{s:"WRONG_DOCUMENT_ERR",c:4,m:1},InvalidCharacterError:{s:"INVALID_CHARACTER_ERR",c:5,m:1},NoDataAllowedError:{s:"NO_DATA_ALLOWED_ERR",c:6,m:0},NoModificationAllowedError:{s:"NO_MODIFICATION_ALLOWED_ERR",c:7,m:1},NotFoundError:{s:"NOT_FOUND_ERR",c:8,m:1},NotSupportedError:{s:"NOT_SUPPORTED_ERR",c:9,m:1},InUseAttributeError:{s:"INUSE_ATTRIBUTE_ERR",c:10,m:1},InvalidStateError:{s:"INVALID_STATE_ERR",c:11,m:1},SyntaxError:{s:"SYNTAX_ERR",c:12,m:1},InvalidModificationError:{s:"INVALID_MODIFICATION_ERR",c:13,m:1},NamespaceError:{s:"NAMESPACE_ERR",c:14,m:1},InvalidAccessError:{s:"INVALID_ACCESS_ERR",c:15,m:1},ValidationError:{s:"VALIDATION_ERR",c:16,m:0},TypeMismatchError:{s:"TYPE_MISMATCH_ERR",c:17,m:1},SecurityError:{s:"SECURITY_ERR",c:18,m:1},NetworkError:{s:"NETWORK_ERR",c:19,m:1},AbortError:{s:"ABORT_ERR",c:20,m:1},URLMismatchError:{s:"URL_MISMATCH_ERR",c:21,m:1},QuotaExceededError:{s:"QUOTA_EXCEEDED_ERR",c:22,m:1},TimeoutError:{s:"TIMEOUT_ERR",c:23,m:1},InvalidNodeTypeError:{s:"INVALID_NODE_TYPE_ERR",c:24,m:1},DataCloneError:{s:"DATA_CLONE_ERR",c:25,m:1}}},71806(e){e.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},84098(e,t,r){var n=r(95637)("span").classList,i=n&&n.constructor&&n.constructor.prototype;e.exports=i===Object.prototype?void 0:i},65985(e){e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},21203(e,t,r){var n=r(34857).match(/firefox\/(\d+)/i);e.exports=!!n&&+n[1]},13777(e,t,r){var n=r(34857);e.exports=/MSIE|Trident/.test(n)},65587(e,t,r){var n=r(34857);e.exports=/ipad|iphone|ipod/i.test(n)&&"u">typeof Pebble},77502(e,t,r){var n=r(34857);e.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(n)},15523(e,t,r){e.exports="NODE"===r(70229)},68338(e,t,r){var n=r(34857);e.exports=/web0s(?!.*chrome)/i.test(n)},34857(e,t,r){var n=r(6974).navigator,i=n&&n.userAgent;e.exports=i?String(i):""},76153(e,t,r){var n,i,a=r(6974),o=r(34857),s=a.process,l=a.Deno,u=s&&s.versions||l&&l.version,c=u&&u.v8;c&&(i=(n=c.split("."))[0]>0&&n[0]<4?1:+(n[0]+n[1])),!i&&o&&(!(n=o.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=o.match(/Chrome\/(\d+)/))&&(i=+n[1]),e.exports=i},62729(e,t,r){var n=r(34857).match(/AppleWebKit\/(\d+)\./);e.exports=!!n&&+n[1]},70229(e,t,r){var n=r(6974),i=r(34857),a=r(74026),o=function(e){return i.slice(0,e.length)===e};e.exports=o("Bun/")?"BUN":o("Cloudflare-Workers")?"CLOUDFLARE":o("Deno/")?"DENO":o("Node.js/")?"NODE":n.Bun&&"string"==typeof Bun.version?"BUN":n.Deno&&"object"==typeof Deno.version?"DENO":"process"===a(n.process)?"NODE":n.window&&n.document?"BROWSER":"REST"},50747(e,t,r){var n=r(52782),i=Error,a=n("".replace),o=String(new i("zxcasd").stack),s=/\n\s*at [^:]*:[^\n]*/,l=s.test(o);e.exports=function(e,t){if(l&&"string"==typeof e&&!i.prepareStackTrace)for(;t--;)e=a(e,s,"");return e}},87245(e,t,r){var n=r(80081),i=r(50747),a=r(96041),o=Error.captureStackTrace;e.exports=function(e,t,r,s){a&&(o?o(e,t):n(e,"stack",i(r,s)))}},96041(e,t,r){var n=r(59293),i=r(56582);e.exports=!n(function(){var e=Error("a");return!("stack"in e)||(Object.defineProperty(e,"stack",i(1,7)),7!==e.stack)})},64808(e,t,r){var n=r(6974),i=r(43069).f,a=r(80081),o=r(59430),s=r(75963),l=r(18770),u=r(76518);e.exports=function(e,t){var r,c,f,d,h,p=e.target,g=e.global,y=e.stat;if(r=g?n:y?n[p]||s(p,{}):n[p]&&n[p].prototype)for(c in t){if(d=t[c],f=e.dontCallGetSet?(h=i(r,c))&&h.value:r[c],!u(g?c:p+(y?".":"#")+c,e.forced)&&void 0!==f){if(typeof d==typeof f)continue;l(d,f)}(e.sham||f&&f.sham)&&a(d,"sham",!0),o(r,c,d,e)}}},59293(e){e.exports=function(e){try{return!!e()}catch(e){return!0}}},41298(e,t,r){r(85281);var n=r(33179),i=r(59430),a=r(66565),o=r(59293),s=r(75869),l=r(80081),u=s("species"),c=RegExp.prototype;e.exports=function(e,t,r,f){var d=s(e),h=!o(function(){var t={};return t[d]=function(){return 7},7!==""[e](t)}),p=h&&!o(function(){var t=!1,r=/a/;if("split"===e){var n={};n[u]=function(){return r},(r={constructor:n,flags:""})[d]=/./[d]}return r.exec=function(){return t=!0,null},r[d](""),!t});if(!h||!p||r){var g=/./[d],y=t(d,""[e],function(e,t,r,i,o){var s=t.exec;return s===a||s===c.exec?h&&!o?{done:!0,value:n(g,t,r,i)}:{done:!0,value:n(e,r,t,i)}:{done:!1}});i(String.prototype,e,y[0]),i(c,d,y[1])}f&&l(c[d],"sham",!0)}},16263(e,t,r){var n=r(27470),i=Function.prototype,a=i.apply,o=i.call;e.exports="object"==typeof Reflect&&Reflect.apply||(n?o.bind(a):function(){return o.apply(a,arguments)})},92254(e,t,r){var n=r(3350),i=r(70860),a=r(27470),o=n(n.bind);e.exports=function(e,t){return i(e),void 0===t?e:a?o(e,t):function(){return e.apply(t,arguments)}}},27470(e,t,r){e.exports=!r(59293)(function(){var e=(function(){}).bind();return"function"!=typeof e||e.hasOwnProperty("prototype")})},33179(e,t,r){var n=r(27470),i=Function.prototype.call;e.exports=n?i.bind(i):function(){return i.apply(i,arguments)}},6916(e,t,r){var n=r(19058),i=r(76151),a=Function.prototype,o=n&&Object.getOwnPropertyDescriptor,s=i(a,"name"),l=s&&(!n||n&&o(a,"name").configurable);e.exports={EXISTS:s,PROPER:s&&"something"===(function(){}).name,CONFIGURABLE:l}},76572(e,t,r){var n=r(52782),i=r(70860);e.exports=function(e,t,r){try{return n(i(Object.getOwnPropertyDescriptor(e,t)[r]))}catch(e){}}},3350(e,t,r){var n=r(74026),i=r(52782);e.exports=function(e){if("Function"===n(e))return i(e)}},52782(e,t,r){var n=r(27470),i=Function.prototype,a=i.call,o=n&&i.bind.bind(a,a);e.exports=n?o:function(e){return function(){return a.apply(e,arguments)}}},55423(e,t,r){var n=r(6974),i=r(15523);e.exports=function(e){if(i){try{return n.process.getBuiltinModule(e)}catch(e){}try{return Function('return require("'+e+'")')()}catch(e){}}}},72485(e,t,r){var n=r(6974),i=r(68039);e.exports=function(e,t){var r;return arguments.length<2?i(r=n[e])?r:void 0:n[e]&&n[e][t]}},86845(e){e.exports=function(e){return{iterator:e,next:e.next,done:!1}}},18301(e,t,r){var n=r(73485),i=r(25112),a=r(3563),o=r(49227),s=r(75869)("iterator");e.exports=function(e){if(!a(e))return i(e,s)||i(e,"@@iterator")||o[n(e)]}},56563(e,t,r){var n=r(33179),i=r(70860),a=r(46177),o=r(25229),s=r(18301),l=TypeError;e.exports=function(e,t){var r=arguments.length<2?s(e):t;if(i(r))return a(n(r,e));throw new l(o(e)+" is not iterable")}},25112(e,t,r){var n=r(70860),i=r(3563);e.exports=function(e,t){var r=e[t];return i(r)?void 0:n(r)}},65447(e,t,r){var n=r(70860),i=r(46177),a=r(33179),o=r(65825),s=r(86845),l="Invalid size",u=RangeError,c=TypeError,f=Math.max,d=function(e,t){this.set=e,this.size=f(t,0),this.has=n(e.has),this.keys=n(e.keys)};d.prototype={getIterator:function(){return s(i(a(this.keys,this.set)))},includes:function(e){return a(this.has,this.set,e)}},e.exports=function(e){i(e);var t=+e.size;if(t!=t)throw new c(l);var r=o(t);if(r<0)throw new u(l);return new d(e,r)}},67256(e,t,r){var n=r(52782),i=r(72095),a=Math.floor,o=n("".charAt),s=n("".replace),l=n("".slice),u=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,c=/\$([$&'`]|\d{1,2})/g;e.exports=function(e,t,r,n,f,d){var h=r+e.length,p=n.length,g=c;return void 0!==f&&(f=i(f),g=u),s(d,g,function(i,s){var u;switch(o(s,0)){case"$":return"$";case"&":return e;case"`":return l(t,0,r);case"'":return l(t,h);case"<":u=f[l(s,1,-1)];break;default:var c=+s;if(0===c)return i;if(c>p){var d=a(c/10);if(0===d)return i;if(d<=p)return void 0===n[d-1]?o(s,1):n[d-1]+o(s,1);return i}u=n[c-1]}return void 0===u?"":u})}},6974(e,t,r){var n=function(e){return e&&e.Math===Math&&e};e.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof r.g&&r.g)||n("object"==typeof this&&this)||function(){return this}()||Function("return this")()},76151(e,t,r){var n=r(52782),i=r(72095),a=n({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return a(i(e),t)}},30903(e){e.exports={}},69823(e){e.exports=function(e,t){try{1==arguments.length?console.error(e):console.error(e,t)}catch(e){}}},39247(e,t,r){e.exports=r(72485)("document","documentElement")},60299(e,t,r){var n=r(19058),i=r(59293),a=r(95637);e.exports=!n&&!i(function(){return 7!==Object.defineProperty(a("div"),"a",{get:function(){return 7}}).a})},8484(e){var t=Array,r=Math.abs,n=Math.pow,i=Math.floor,a=Math.log,o=Math.LN2;e.exports={pack:function(e,s,l){var u,c,f,d=t(l),h=8*l-s-1,p=(1<<h)-1,g=p>>1,y=23===s?n(2,-24)-n(2,-77):0,m=+(e<0||0===e&&1/e<0),b=0;for((e=r(e))!=e||e===1/0?(c=+(e!=e),u=p):(f=n(2,-(u=i(a(e)/o))),e*f<1&&(u--,f*=2),u+g>=1?e+=y/f:e+=y*n(2,1-g),e*f>=2&&(u++,f/=2),u+g>=p?(c=0,u=p):u+g>=1?(c=(e*f-1)*n(2,s),u+=g):(c=e*n(2,g-1)*n(2,s),u=0));s>=8;)d[b++]=255&c,c/=256,s-=8;for(u=u<<s|c,h+=s;h>0;)d[b++]=255&u,u/=256,h-=8;return d[b-1]|=128*m,d},unpack:function(e,t){var r,i=e.length,a=8*i-t-1,o=(1<<a)-1,s=o>>1,l=a-7,u=i-1,c=e[u--],f=127&c;for(c>>=7;l>0;)f=256*f+e[u--],l-=8;for(r=f&(1<<-l)-1,f>>=-l,l+=t;l>0;)r=256*r+e[u--],l-=8;if(0===f)f=1-s;else{if(f===o)return r?NaN:c?-1/0:1/0;r+=n(2,t),f-=s}return(c?-1:1)*r*n(2,f-t)}}},14461(e,t,r){var n=r(52782),i=r(59293),a=r(74026),o=Object,s=n("".split);e.exports=i(function(){return!o("z").propertyIsEnumerable(0)})?function(e){return"String"===a(e)?s(e,""):o(e)}:o},3153(e,t,r){var n=r(68039),i=r(48188),a=r(87261);e.exports=function(e,t,r){var o,s;return a&&n(o=t.constructor)&&o!==r&&i(s=o.prototype)&&s!==r.prototype&&a(e,s),e}},49576(e,t,r){var n=r(52782),i=r(68039),a=r(66851),o=n(Function.toString);i(a.inspectSource)||(a.inspectSource=function(e){return o(e)}),e.exports=a.inspectSource},35910(e,t,r){var n=r(48188),i=r(80081);e.exports=function(e,t){n(t)&&"cause"in t&&i(e,"cause",t.cause)}},66935(e,t,r){var n,i,a,o=r(24232),s=r(6974),l=r(48188),u=r(80081),c=r(76151),f=r(66851),d=r(16845),h=r(30903),p="Object already initialized",g=s.TypeError,y=s.WeakMap;if(o||f.state){var m=f.state||(f.state=new y);m.get=m.get,m.has=m.has,m.set=m.set,n=function(e,t){if(m.has(e))throw new g(p);return t.facade=e,m.set(e,t),t},i=function(e){return m.get(e)||{}},a=function(e){return m.has(e)}}else{var b=d("state");h[b]=!0,n=function(e,t){if(c(e,b))throw new g(p);return t.facade=e,u(e,b,t),t},i=function(e){return c(e,b)?e[b]:{}},a=function(e){return c(e,b)}}e.exports={set:n,get:i,has:a,enforce:function(e){return a(e)?i(e):n(e,{})},getterFor:function(e){return function(t){var r;if(!l(t)||(r=i(t)).type!==e)throw new g("Incompatible receiver, "+e+" required");return r}}}},64623(e,t,r){var n=r(75869),i=r(49227),a=n("iterator"),o=Array.prototype;e.exports=function(e){return void 0!==e&&(i.Array===e||o[a]===e)}},57958(e,t,r){var n=r(74026);e.exports=Array.isArray||function(e){return"Array"===n(e)}},63633(e,t,r){var n=r(73485);e.exports=function(e){var t=n(e);return"BigInt64Array"===t||"BigUint64Array"===t}},68039(e){var t="object"==typeof document&&document.all;e.exports=void 0===t&&void 0!==t?function(e){return"function"==typeof e||e===t}:function(e){return"function"==typeof e}},59811(e,t,r){var n=r(52782),i=r(59293),a=r(68039),o=r(73485),s=r(72485),l=r(49576),u=function(){},c=s("Reflect","construct"),f=/^\s*(?:class|function)\b/,d=n(f.exec),h=!f.test(u),p=function(e){if(!a(e))return!1;try{return c(u,[],e),!0}catch(e){return!1}},g=function(e){if(!a(e))return!1;switch(o(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return h||!!d(f,l(e))}catch(e){return!0}};g.sham=!0,e.exports=!c||i(function(){var e;return p(p.call)||!p(Object)||!p(function(){e=!0})||e})?g:p},76518(e,t,r){var n=r(59293),i=r(68039),a=/#|\.prototype\./,o=function(e,t){var r=l[s(e)];return r===c||r!==u&&(i(t)?n(t):!!t)},s=o.normalize=function(e){return String(e).replace(a,".").toLowerCase()},l=o.data={},u=o.NATIVE="N",c=o.POLYFILL="P";e.exports=o},1037(e,t,r){var n=r(48188),i=Math.floor;e.exports=Number.isInteger||function(e){return!n(e)&&isFinite(e)&&i(e)===e}},3563(e){e.exports=function(e){return null==e}},48188(e,t,r){var n=r(68039);e.exports=function(e){return"object"==typeof e?null!==e:n(e)}},30643(e,t,r){var n=r(48188);e.exports=function(e){return n(e)||null===e}},81201(e){e.exports=!1},97494(e,t,r){var n=r(48188),i=r(74026),a=r(75869)("match");e.exports=function(e){var t;return n(e)&&(void 0!==(t=e[a])?!!t:"RegExp"===i(e))}},12131(e,t,r){var n=r(72485),i=r(68039),a=r(66227),o=r(95058),s=Object;e.exports=o?function(e){return"symbol"==typeof e}:function(e){var t=n("Symbol");return i(t)&&a(t.prototype,s(e))}},81885(e,t,r){var n=r(33179);e.exports=function(e,t,r){for(var i,a,o=r?e:e.iterator,s=e.next;!(i=n(s,o)).done;)if(void 0!==(a=t(i.value)))return a}},82150(e,t,r){var n=r(92254),i=r(33179),a=r(46177),o=r(25229),s=r(64623),l=r(92956),u=r(66227),c=r(56563),f=r(18301),d=r(55053),h=TypeError,p=function(e,t){this.stopped=e,this.result=t},g=p.prototype;e.exports=function(e,t,r){var y,m,b,w,S,k,E,_=r&&r.that,P=!!(r&&r.AS_ENTRIES),x=!!(r&&r.IS_RECORD),C=!!(r&&r.IS_ITERATOR),O=!!(r&&r.INTERRUPTED),R=n(t,_),I=function(e){return y&&d(y,"normal"),new p(!0,e)},A=function(e){return P?(a(e),O?R(e[0],e[1],I):R(e[0],e[1])):O?R(e,I):R(e)};if(x)y=e.iterator;else if(C)y=e;else{if(!(m=f(e)))throw new h(o(e)+" is not iterable");if(s(m)){for(b=0,w=l(e);w>b;b++)if((S=A(e[b]))&&u(g,S))return S;return new p(!1)}y=c(e,m)}for(k=x?e.next:y.next;!(E=i(k,y)).done;){try{S=A(E.value)}catch(e){d(y,"throw",e)}if("object"==typeof S&&S&&u(g,S))return S}return new p(!1)}},83795(e,t,r){var n=r(55053);e.exports=function(e,t,r){for(var i=e.length-1;i>=0;i--)if(void 0!==e[i])try{r=n(e[i].iterator,t,r)}catch(e){t="throw",r=e}if("throw"===t)throw r;return r}},55053(e,t,r){var n=r(33179),i=r(46177),a=r(25112);e.exports=function(e,t,r){var o,s;i(e);try{if(!(o=a(e,"return"))){if("throw"===t)throw r;return r}o=n(o,e)}catch(e){s=!0,o=e}if("throw"===t)throw r;if(s)throw o;return i(o),r}},40652(e,t,r){var n=r(66479).IteratorPrototype,i=r(12326),a=r(56582),o=r(32377),s=r(49227),l=function(){return this};e.exports=function(e,t,r,u){var c=t+" Iterator";return e.prototype=i(n,{next:a(+!u,r)}),o(e,c,!1,!0),s[c]=l,e}},21352(e,t,r){var n=r(33179),i=r(12326),a=r(80081),o=r(27597),s=r(75869),l=r(66935),u=r(25112),c=r(66479).IteratorPrototype,f=r(46827),d=r(55053),h=r(83795),p=s("toStringTag"),g="IteratorHelper",y="WrapForValidIterator",m="normal",b="throw",w=l.set,S=function(e){var t=l.getterFor(e?y:g);return o(i(c),{next:function(){var r=t(this);if(e)return r.nextHandler();if(r.done)return f(void 0,!0);try{var n=r.nextHandler();return r.returnHandlerResult?n:f(n,r.done)}catch(e){throw r.done=!0,e}},return:function(){var r=t(this),i=r.iterator;if(r.done=!0,e){var a=u(i,"return");return a?n(a,i):f(void 0,!0)}if(r.inner)try{d(r.inner.iterator,m)}catch(e){return d(i,b,e)}if(r.openIters)try{h(r.openIters,m)}catch(e){return d(i,b,e)}return i&&d(i,m),f(void 0,!0)}})},k=S(!0),E=S(!1);a(E,p,"Iterator Helper"),e.exports=function(e,t,r){var n=function(n,i){i?(i.iterator=n.iterator,i.next=n.next):i=n,i.type=t?y:g,i.returnHandlerResult=!!r,i.nextHandler=e,i.counter=0,i.done=!1,w(this,i)};return n.prototype=t?k:E,n}},52274(e,t,r){var n=r(64808),i=r(33179),a=r(81201),o=r(6916),s=r(68039),l=r(40652),u=r(69681),c=r(87261),f=r(32377),d=r(80081),h=r(59430),p=r(75869),g=r(49227),y=r(66479),m=o.PROPER,b=o.CONFIGURABLE,w=y.IteratorPrototype,S=y.BUGGY_SAFARI_ITERATORS,k=p("iterator"),E="keys",_="values",P="entries",x=function(){return this};e.exports=function(e,t,r,o,p,y,C){l(r,t,o);var O,R,I,A=function(e){if(e===p&&L)return L;if(!S&&e&&e in z)return z[e];switch(e){case E:case _:case P:return function(){return new r(this,e)}}return function(){return new r(this)}},T=t+" Iterator",M=!1,z=e.prototype,D=z[k]||z["@@iterator"]||p&&z[p],L=!S&&D||A(p),U="Array"===t&&z.entries||D;if(U&&(O=u(U.call(new e)))!==Object.prototype&&O.next&&(!a&&u(O)!==w&&(c?c(O,w):s(O[k])||h(O,k,x)),f(O,T,!0,!0),a&&(g[T]=x)),m&&p===_&&D&&D.name!==_&&(!a&&b?d(z,"name",_):(M=!0,L=function(){return i(D,this)})),p)if(R={values:A(_),keys:y?L:A(E),entries:A(P)},C)for(I in R)!S&&!M&&I in z||h(z,I,R[I]);else n({target:t,proto:!0,forced:S||M},R);return(!a||C)&&z[k]!==L&&h(z,k,L,{name:p}),g[t]=L,R}},65682(e){e.exports=function(e,t){var r="function"==typeof Iterator&&Iterator.prototype[e];if(r)try{r.call({next:null},t).next()}catch(e){return!0}}},6655(e,t,r){var n=r(6974);e.exports=function(e,t){var r=n.Iterator,i=r&&r.prototype,a=i&&i[e],o=!1;if(a)try{a.call({next:function(){return{done:!0}},return:function(){o=!0}},-1)}catch(e){e instanceof t||(o=!1)}if(!o)return a}},66479(e,t,r){var n,i,a,o=r(59293),s=r(68039),l=r(48188),u=r(12326),c=r(69681),f=r(59430),d=r(75869),h=r(81201),p=d("iterator"),g=!1;[].keys&&("next"in(a=[].keys())?(i=c(c(a)))!==Object.prototype&&(n=i):g=!0),!l(n)||o(function(){var e={};return n[p].call(e)!==e})?n={}:h&&(n=u(n)),s(n[p])||f(n,p,function(){return this}),e.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:g}},49227(e){e.exports={}},92956(e,t,r){var n=r(57864);e.exports=function(e){return n(e.length)}},72461(e,t,r){var n=r(52782),i=r(59293),a=r(68039),o=r(76151),s=r(19058),l=r(6916).CONFIGURABLE,u=r(49576),c=r(66935),f=c.enforce,d=c.get,h=String,p=Object.defineProperty,g=n("".slice),y=n("".replace),m=n([].join),b=s&&!i(function(){return 8!==p(function(){},"length",{value:8}).length}),w=String(String).split("String"),S=e.exports=function(e,t,r){"Symbol("===g(h(t),0,7)&&(t="["+y(h(t),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),r&&r.getter&&(t="get "+t),r&&r.setter&&(t="set "+t),(!o(e,"name")||l&&e.name!==t)&&(s?p(e,"name",{value:t,configurable:!0}):e.name=t),b&&r&&o(r,"arity")&&e.length!==r.arity&&p(e,"length",{value:r.arity});try{r&&o(r,"constructor")&&r.constructor?s&&p(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(e){}var n=f(e);return o(n,"source")||(n.source=m(w,"string"==typeof t?t:"")),e};Function.prototype.toString=S(function(){return a(this)&&d(this).source||u(this)},"toString")},75834(e,t,r){var n=r(61632),i=r(54356),a=Math.abs;e.exports=function(e,t,r,o){var s=+e,l=a(s),u=n(s);if(l<o)return u*i(l/o/t)*o*t;var c=(1+t/2220446049250313e-31)*l,f=c-(c-l);return f>r||f!=f?1/0*u:u*f}},1863(e,t,r){var n=r(75834);e.exports=Math.fround||function(e){return n(e,11920928955078125e-23,34028234663852886e22,11754943508222875e-54)}},54356(e){e.exports=function(e){return e+0x10000000000000-0x10000000000000}},61632(e){e.exports=Math.sign||function(e){var t=+e;return 0===t||t!=t?t:t<0?-1:1}},83427(e){var t=Math.ceil,r=Math.floor;e.exports=Math.trunc||function(e){var n=+e;return(n>0?r:t)(n)}},62885(e,t,r){var n,i,a,o,s,l=r(6974),u=r(66255),c=r(92254),f=r(11523).set,d=r(28663),h=r(77502),p=r(65587),g=r(68338),y=r(15523),m=l.MutationObserver||l.WebKitMutationObserver,b=l.document,w=l.process,S=l.Promise,k=u("queueMicrotask");if(!k){var E=new d,_=function(){var e,t;for(y&&(e=w.domain)&&e.exit();t=E.get();)try{t()}catch(e){throw E.head&&n(),e}e&&e.enter()};h||y||g||!m||!b?!p&&S&&S.resolve?((o=S.resolve(void 0)).constructor=S,s=c(o.then,o),n=function(){s(_)}):y?n=function(){w.nextTick(_)}:(f=c(f,l),n=function(){f(_)}):(i=!0,a=b.createTextNode(""),new m(_).observe(a,{characterData:!0}),n=function(){a.data=i=!i}),k=function(e){E.head||n(),E.add(e)}}e.exports=k},63761(e,t,r){var n=r(70860),i=TypeError,a=function(e){var t,r;this.promise=new e(function(e,n){if(void 0!==t||void 0!==r)throw new i("Bad Promise constructor");t=e,r=n}),this.resolve=n(t),this.reject=n(r)};e.exports.f=function(e){return new a(e)}},14901(e,t,r){var n=r(13641);e.exports=function(e,t){return void 0===e?arguments.length<2?"":t:n(e)}},37187(e,t,r){var n=r(19058),i=r(52782),a=r(33179),o=r(59293),s=r(42262),l=r(34343),u=r(74639),c=r(72095),f=r(14461),d=Object.assign,h=Object.defineProperty,p=i([].concat);e.exports=!d||o(function(){if(n&&1!==d({b:1},d(h({},"a",{enumerable:!0,get:function(){h(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},r=Symbol("assign detection"),i="abcdefghijklmnopqrst";return e[r]=7,i.split("").forEach(function(e){t[e]=e}),7!==d({},e)[r]||s(d({},t)).join("")!==i})?function(e,t){for(var r=c(e),i=arguments.length,o=1,d=l.f,h=u.f;i>o;)for(var g,y=f(arguments[o++]),m=d?p(s(y),d(y)):s(y),b=m.length,w=0;b>w;)g=m[w++],(!n||a(h,y,g))&&(r[g]=y[g]);return r}:d},12326(e,t,r){var n,i=r(46177),a=r(23827),o=r(65985),s=r(30903),l=r(39247),u=r(95637),c=r(16845),f="prototype",d="script",h=c("IE_PROTO"),p=function(){},g=function(e){return"<"+d+">"+e+"</"+d+">"},y=function(e){e.write(g("")),e.close();var t=e.parentWindow.Object;return e=null,t},m=function(){var e,t=u("iframe");return t.style.display="none",l.appendChild(t),t.src=String("java"+d+":"),(e=t.contentWindow.document).open(),e.write(g("document.F=Object")),e.close(),e.F},b=function(){try{n=new ActiveXObject("htmlfile")}catch(e){}b="u">typeof document?document.domain&&n?y(n):m():y(n);for(var e=o.length;e--;)delete b[f][o[e]];return b()};s[h]=!0,e.exports=Object.create||function(e,t){var r;return null!==e?(p[f]=i(e),r=new p,p[f]=null,r[h]=e):r=b(),void 0===t?r:a.f(r,t)}},23827(e,t,r){var n=r(19058),i=r(18636),a=r(33919),o=r(46177),s=r(41555),l=r(42262);t.f=n&&!i?Object.defineProperties:function(e,t){o(e);for(var r,n=s(t),i=l(t),u=i.length,c=0;u>c;)a.f(e,r=i[c++],n[r]);return e}},33919(e,t,r){var n=r(19058),i=r(60299),a=r(18636),o=r(46177),s=r(11611),l=TypeError,u=Object.defineProperty,c=Object.getOwnPropertyDescriptor,f="enumerable",d="configurable",h="writable";t.f=n?a?function(e,t,r){if(o(e),t=s(t),o(r),"function"==typeof e&&"prototype"===t&&"value"in r&&h in r&&!r[h]){var n=c(e,t);n&&n[h]&&(e[t]=r.value,r={configurable:d in r?r[d]:n[d],enumerable:f in r?r[f]:n[f],writable:!1})}return u(e,t,r)}:u:function(e,t,r){if(o(e),t=s(t),o(r),i)try{return u(e,t,r)}catch(e){}if("get"in r||"set"in r)throw new l("Accessors not supported");return"value"in r&&(e[t]=r.value),e}},43069(e,t,r){var n=r(19058),i=r(33179),a=r(74639),o=r(56582),s=r(41555),l=r(11611),u=r(76151),c=r(60299),f=Object.getOwnPropertyDescriptor;t.f=n?f:function(e,t){if(e=s(e),t=l(t),c)try{return f(e,t)}catch(e){}if(u(e,t))return o(!i(a.f,e,t),e[t])}},62482(e,t,r){var n=r(6730),i=r(65985).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return n(e,i)}},34343(e,t){t.f=Object.getOwnPropertySymbols},69681(e,t,r){var n=r(76151),i=r(68039),a=r(72095),o=r(16845),s=r(1109),l=o("IE_PROTO"),u=Object,c=u.prototype;e.exports=s?u.getPrototypeOf:function(e){var t=a(e);if(n(t,l))return t[l];var r=t.constructor;return i(r)&&t instanceof r?r.prototype:t instanceof u?c:null}},66227(e,t,r){e.exports=r(52782)({}.isPrototypeOf)},6730(e,t,r){var n=r(52782),i=r(76151),a=r(41555),o=r(25383).indexOf,s=r(30903),l=n([].push);e.exports=function(e,t){var r,n=a(e),u=0,c=[];for(r in n)!i(s,r)&&i(n,r)&&l(c,r);for(;t.length>u;)i(n,r=t[u++])&&(~o(c,r)||l(c,r));return c}},42262(e,t,r){var n=r(6730),i=r(65985);e.exports=Object.keys||function(e){return n(e,i)}},74639(e,t){var r={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor;t.f=n&&!r.call({1:2},1)?function(e){var t=n(this,e);return!!t&&t.enumerable}:r},87261(e,t,r){var n=r(76572),i=r(48188),a=r(15804),o=r(30216);e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,r={};try{(e=n(Object.prototype,"__proto__","set"))(r,[]),t=r instanceof Array}catch(e){}return function(r,n){return a(r),o(n),i(r)&&(t?e(r,n):r.__proto__=n),r}}():void 0)},18424(e,t,r){var n=r(33179),i=r(68039),a=r(48188),o=TypeError;e.exports=function(e,t){var r,s;if("string"===t&&i(r=e.toString)&&!a(s=n(r,e))||i(r=e.valueOf)&&!a(s=n(r,e))||"string"!==t&&i(r=e.toString)&&!a(s=n(r,e)))return s;throw new o("Can't convert object to primitive value")}},73517(e,t,r){var n=r(72485),i=r(52782),a=r(62482),o=r(34343),s=r(46177),l=i([].concat);e.exports=n("Reflect","ownKeys")||function(e){var t=a.f(s(e)),r=o.f;return r?l(t,r(e)):t}},70977(e,t,r){e.exports=r(6974)},12181(e){e.exports=function(e){try{return{error:!1,value:e()}}catch(e){return{error:!0,value:e}}}},33586(e,t,r){var n=r(6974),i=r(15940),a=r(68039),o=r(76518),s=r(49576),l=r(75869),u=r(70229),c=r(81201),f=r(76153),d=i&&i.prototype,h=l("species"),p=!1,g=a(n.PromiseRejectionEvent);e.exports={CONSTRUCTOR:o("Promise",function(){var e=s(i),t=e!==String(i);if(!t&&66===f||c&&!(d.catch&&d.finally))return!0;if(!f||f<51||!/native code/.test(e)){var r=new i(function(e){e(1)}),n=function(e){e(function(){},function(){})};if((r.constructor={})[h]=n,!(p=r.then(function(){})instanceof n))return!0}return!t&&("BROWSER"===u||"DENO"===u)&&!g}),REJECTION_EVENT:g,SUBCLASSING:p}},15940(e,t,r){e.exports=r(6974).Promise},81864(e,t,r){var n=r(46177),i=r(48188),a=r(63761);e.exports=function(e,t){if(n(e),i(t)&&t.constructor===e)return t;var r=a.f(e);return(0,r.resolve)(t),r.promise}},87435(e,t,r){var n=r(15940),i=r(30366);e.exports=r(33586).CONSTRUCTOR||!i(function(e){n.all(e).then(void 0,function(){})})},64122(e,t,r){var n=r(33919).f;e.exports=function(e,t,r){r in e||n(e,r,{configurable:!0,get:function(){return t[r]},set:function(e){t[r]=e}})}},28663(e){var t=function(){this.head=null,this.tail=null};t.prototype={add:function(e){var t={item:e,next:null},r=this.tail;r?r.next=t:this.head=t,this.tail=t},get:function(){var e=this.head;if(e)return null===(this.head=e.next)&&(this.tail=null),e.item}},e.exports=t},24464(e,t,r){var n=r(33179),i=r(46177),a=r(68039),o=r(74026),s=r(66565),l=TypeError;e.exports=function(e,t){var r=e.exec;if(a(r)){var u=n(r,e,t);return null!==u&&i(u),u}if("RegExp"===o(e))return n(s,e,t);throw new l("RegExp#exec called on incompatible receiver")}},66565(e,t,r){var n,i,a=r(33179),o=r(52782),s=r(13641),l=r(62337),u=r(75383),c=r(55219),f=r(12326),d=r(66935).get,h=r(45369),p=r(63596),g=c("native-string-replace",String.prototype.replace),y=RegExp.prototype.exec,m=y,b=o("".charAt),w=o("".indexOf),S=o("".replace),k=o("".slice),E=(i=/b*/g,a(y,n=/a/,"a"),a(y,i,"a"),0!==n.lastIndex||0!==i.lastIndex),_=u.BROKEN_CARET,P=void 0!==/()??/.exec("")[1];(E||P||_||h||p)&&(m=function(e){var t,r,n,i,o,u,c,h=d(this),p=s(e),x=h.raw;if(x)return x.lastIndex=this.lastIndex,t=a(m,x,p),this.lastIndex=x.lastIndex,t;var C=h.groups,O=_&&this.sticky,R=a(l,this),I=this.source,A=0,T=p;if(O&&(-1===w(R=S(R,"y",""),"g")&&(R+="g"),T=k(p,this.lastIndex),this.lastIndex>0&&(!this.multiline||this.multiline&&"\n"!==b(p,this.lastIndex-1))&&(I="(?: "+I+")",T=" "+T,A++),r=RegExp("^(?:"+I+")",R)),P&&(r=RegExp("^"+I+"$(?!\\s)",R)),E&&(n=this.lastIndex),i=a(y,O?r:this,T),O?i?(i.input=k(i.input,A),i[0]=k(i[0],A),i.index=this.lastIndex,this.lastIndex+=i[0].length):this.lastIndex=0:E&&i&&(this.lastIndex=this.global?i.index+i[0].length:n),P&&i&&i.length>1&&a(g,i[0],r,function(){for(o=1;o<arguments.length-2;o++)void 0===arguments[o]&&(i[o]=void 0)}),i&&C)for(i.groups=u=f(null),o=0;o<C.length;o++)u[(c=C[o])[0]]=i[c[1]];return i}),e.exports=m},26823(e,t,r){var n=r(6974),i=r(59293),a=n.RegExp;e.exports={correct:!i(function(){var e=!0;try{a(".","d")}catch(t){e=!1}var t={},r="",n=e?"dgimsy":"gimsy",i=function(e,n){Object.defineProperty(t,e,{get:function(){return r+=n,!0}})},o={dotAll:"s",global:"g",ignoreCase:"i",multiline:"m",sticky:"y"};for(var s in e&&(o.hasIndices="d"),o)i(s,o[s]);return Object.getOwnPropertyDescriptor(a.prototype,"flags").get.call(t)!==n||r!==n})}},62337(e,t,r){var n=r(46177);e.exports=function(){var e=n(this),t="";return e.hasIndices&&(t+="d"),e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.unicodeSets&&(t+="v"),e.sticky&&(t+="y"),t}},41148(e,t,r){var n=r(33179),i=r(76151),a=r(66227),o=r(26823),s=r(62337),l=RegExp.prototype;e.exports=o.correct?function(e){return e.flags}:function(e){return!o.correct&&a(l,e)&&!i(e,"flags")?n(s,e):e.flags}},75383(e,t,r){var n=r(59293),i=r(6974).RegExp,a=n(function(){var e=i("a","y");return e.lastIndex=2,null!==e.exec("abcd")}),o=a||n(function(){return!i("a","y").sticky});e.exports={BROKEN_CARET:a||n(function(){var e=i("^r","gy");return e.lastIndex=2,null!==e.exec("str")}),MISSED_STICKY:o,UNSUPPORTED_Y:a}},45369(e,t,r){var n=r(59293),i=r(6974).RegExp;e.exports=n(function(){var e=i(".","s");return!(e.dotAll&&e.test("\n")&&"s"===e.flags)})},63596(e,t,r){var n=r(59293),i=r(6974).RegExp;e.exports=n(function(){var e=i("(?<a>b)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$<a>c")})},15804(e,t,r){var n=r(3563),i=TypeError;e.exports=function(e){if(n(e))throw new i("Can't call method on "+e);return e}},66255(e,t,r){var n=r(6974),i=r(19058),a=Object.getOwnPropertyDescriptor;e.exports=function(e){if(!i)return n[e];var t=a(n,e);return t&&t.value}},47988(e,t,r){var n=r(58260),i=r(25475),a=n.Set,o=n.add;e.exports=function(e){var t=new a;return i(e,function(e){o(t,e)}),t}},95474(e,t,r){var n=r(47234),i=r(58260),a=r(47988),o=r(41888),s=r(65447),l=r(25475),u=r(81885),c=i.has,f=i.remove;e.exports=function(e){var t=n(this),r=s(e),i=a(t);return o(t)<=r.size?l(t,function(e){r.includes(e)&&f(i,e)}):u(r.getIterator(),function(e){c(i,e)&&f(i,e)}),i}},58260(e,t,r){var n=r(52782),i=Set.prototype;e.exports={Set:Set,add:n(i.add),has:n(i.has),remove:n(i.delete),proto:i}},48396(e,t,r){var n=r(47234),i=r(58260),a=r(41888),o=r(65447),s=r(25475),l=r(81885),u=i.Set,c=i.add,f=i.has;e.exports=function(e){var t=n(this),r=o(e),i=new u;return a(t)>r.size?l(r.getIterator(),function(e){f(t,e)&&c(i,e)}):s(t,function(e){r.includes(e)&&c(i,e)}),i}},46839(e,t,r){var n=r(47234),i=r(58260).has,a=r(41888),o=r(65447),s=r(25475),l=r(81885),u=r(55053);e.exports=function(e){var t=n(this),r=o(e);if(a(t)<=r.size)return!1!==s(t,function(e){if(r.includes(e))return!1},!0);var c=r.getIterator();return!1!==l(c,function(e){if(i(t,e))return u(c,"normal",!1)})}},43388(e,t,r){var n=r(47234),i=r(41888),a=r(25475),o=r(65447);e.exports=function(e){var t=n(this),r=o(e);return!(i(t)>r.size)&&!1!==a(t,function(e){if(!r.includes(e))return!1},!0)}},53965(e,t,r){var n=r(47234),i=r(58260).has,a=r(41888),o=r(65447),s=r(81885),l=r(55053);e.exports=function(e){var t=n(this),r=o(e);if(a(t)<r.size)return!1;var u=r.getIterator();return!1!==s(u,function(e){if(!i(t,e))return l(u,"normal",!1)})}},25475(e,t,r){var n=r(52782),i=r(81885),a=r(58260),o=a.Set,s=a.proto,l=n(s.forEach),u=n(s.keys),c=u(new o).next;e.exports=function(e,t,r){return r?i({iterator:u(e),next:c},t):l(e,t)}},24206(e,t,r){var n=r(72485),i=function(e){return{size:e,has:function(){return!1},keys:function(){return{next:function(){return{done:!0}}}}}},a=function(e){return{size:e,has:function(){return!0},keys:function(){throw Error("e")}}};e.exports=function(e,t){var r=n("Set");try{new r()[e](i(0));try{return new r()[e](i(-1)),!1}catch(n){if(!t)return!0;try{return new r()[e](a(-1/0)),!1}catch(n){var o=new r([1,2]);return t(o[e](a(1/0)))}}}catch(e){return!1}}},29617(e){e.exports=function(e){try{var t=new Set,r=t[e]({size:0,has:function(){return!0},keys:function(){return Object.defineProperty({},"next",{get:function(){return t.clear(),t.add(4),function(){return{done:!0}}}})}});return 1===r.size&&4===r.values().next().value}catch(e){return!1}}},41888(e,t,r){e.exports=r(76572)(r(58260).proto,"size","get")||function(e){return e.size}},63263(e,t,r){var n=r(72485),i=r(7108),a=r(75869),o=r(19058),s=a("species");e.exports=function(e){var t=n(e);o&&t&&!t[s]&&i(t,s,{configurable:!0,get:function(){return this}})}},13264(e,t,r){var n=r(47234),i=r(58260),a=r(47988),o=r(65447),s=r(81885),l=i.add,u=i.has,c=i.remove;e.exports=function(e){var t=n(this),r=o(e).getIterator(),i=a(t);return s(r,function(e){u(t,e)?c(i,e):l(i,e)}),i}},32377(e,t,r){var n=r(33919).f,i=r(76151),a=r(75869)("toStringTag");e.exports=function(e,t,r){e&&!r&&(e=e.prototype),e&&!i(e,a)&&n(e,a,{configurable:!0,value:t})}},21898(e,t,r){var n=r(47234),i=r(58260).add,a=r(47988),o=r(65447),s=r(81885);e.exports=function(e){var t=n(this),r=o(e).getIterator(),l=a(t);return s(r,function(e){i(l,e)}),l}},16845(e,t,r){var n=r(55219),i=r(702),a=n("keys");e.exports=function(e){return a[e]||(a[e]=i(e))}},66851(e,t,r){var n=r(81201),i=r(6974),a=r(75963),o="__core-js_shared__",s=e.exports=i[o]||a(o,{});(s.versions||(s.versions=[])).push({version:"3.47.0",mode:n?"pure":"global",copyright:"\xa9 2014-2025 Denis Pushkarev (zloirock.ru), 2025 CoreJS Company (core-js.io)",license:"https://github.com/zloirock/core-js/blob/v3.47.0/LICENSE",source:"https://github.com/zloirock/core-js"})},55219(e,t,r){var n=r(66851);e.exports=function(e,t){return n[e]||(n[e]=t||{})}},92767(e,t,r){var n=r(46177),i=r(90114),a=r(3563),o=r(75869)("species");e.exports=function(e,t){var r,s=n(e).constructor;return void 0===s||a(r=n(s)[o])?t:i(r)}},68445(e,t,r){var n=r(52782),i=r(65825),a=r(13641),o=r(15804),s=n("".charAt),l=n("".charCodeAt),u=n("".slice),c=function(e){return function(t,r){var n,c,f=a(o(t)),d=i(r),h=f.length;return d<0||d>=h?e?"":void 0:(n=l(f,d))<55296||n>56319||d+1===h||(c=l(f,d+1))<56320||c>57343?e?s(f,d):n:e?u(f,d,d+2):(n-55296<<10)+(c-56320)+65536}};e.exports={codeAt:c(!1),charAt:c(!0)}},79855(e,t,r){var n=r(52782),i=/[^\0-\u007E]/,a=/[.\u3002\uFF0E\uFF61]/g,o="Overflow: input needs wider integers to process",s=RangeError,l=n(a.exec),u=Math.floor,c=String.fromCharCode,f=n("".charCodeAt),d=n([].join),h=n([].push),p=n("".replace),g=n("".split),y=n("".toLowerCase),m=function(e){for(var t=[],r=0,n=e.length;r<n;){var i=f(e,r++);if(i>=55296&&i<=56319&&r<n){var a=f(e,r++);(64512&a)==56320?h(t,((1023&i)<<10)+(1023&a)+65536):(h(t,i),r--)}else h(t,i)}return t},b=function(e){return e+22+75*(e<26)},w=function(e,t,r){var n=0;for(e=r?u(e/700):e>>1,e+=u(e/t);e>455;)e=u(e/35),n+=36;return u(n+36*e/(e+38))},S=function(e){var t,r,n=[],i=(e=m(e)).length,a=128,l=0,f=72;for(t=0;t<e.length;t++)(r=e[t])<128&&h(n,c(r));var p=n.length,g=p;for(p&&h(n,"-");g<i;){var y=0x7fffffff;for(t=0;t<e.length;t++)(r=e[t])>=a&&r<y&&(y=r);var S=g+1;if(y-a>u((0x7fffffff-l)/S))throw new s(o);for(l+=(y-a)*S,a=y,t=0;t<e.length;t++){if((r=e[t])<a&&++l>0x7fffffff)throw new s(o);if(r===a){for(var k=l,E=36;;){var _=E<=f?1:E>=f+26?26:E-f;if(k<_)break;var P=k-_,x=36-_;h(n,c(b(_+P%x))),k=u(P/x),E+=36}h(n,c(b(k))),f=w(l,S,g===p),l=0,g++}}l++,a++}return d(n,"")};e.exports=function(e){var t,r,n=[],o=g(p(y(e),a,"."),".");for(t=0;t<o.length;t++)h(n,l(i,r=o[t])?"xn--"+S(r):r);return d(n,".")}},75698(e,t,r){var n=r(6974),i=r(59293),a=r(76153),o=r(70229),s=n.structuredClone;e.exports=!!s&&!i(function(){if("DENO"===o&&a>92||"NODE"===o&&a>94||"BROWSER"===o&&a>97)return!1;var e=new ArrayBuffer(8),t=s(e,{transfer:[e]});return 0!==e.byteLength||8!==t.byteLength})},8953(e,t,r){var n=r(76153),i=r(59293),a=r(6974).String;e.exports=!!Object.getOwnPropertySymbols&&!i(function(){var e=Symbol("symbol detection");return!a(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&n&&n<41})},11523(e,t,r){var n,i,a,o,s=r(6974),l=r(16263),u=r(92254),c=r(68039),f=r(76151),d=r(59293),h=r(39247),p=r(34766),g=r(95637),y=r(26406),m=r(77502),b=r(15523),w=s.setImmediate,S=s.clearImmediate,k=s.process,E=s.Dispatch,_=s.Function,P=s.MessageChannel,x=s.String,C=0,O={},R="onreadystatechange";d(function(){n=s.location});var I=function(e){if(f(O,e)){var t=O[e];delete O[e],t()}},A=function(e){return function(){I(e)}},T=function(e){I(e.data)},M=function(e){s.postMessage(x(e),n.protocol+"//"+n.host)};w&&S||(w=function(e){y(arguments.length,1);var t=c(e)?e:_(e),r=p(arguments,1);return O[++C]=function(){l(t,void 0,r)},i(C),C},S=function(e){delete O[e]},b?i=function(e){k.nextTick(A(e))}:E&&E.now?i=function(e){E.now(A(e))}:P&&!m?(o=(a=new P).port2,a.port1.onmessage=T,i=u(o.postMessage,o)):s.addEventListener&&c(s.postMessage)&&!s.importScripts&&n&&"file:"!==n.protocol&&!d(M)?(i=M,s.addEventListener("message",T,!1)):i=R in g("script")?function(e){h.appendChild(g("script"))[R]=function(){h.removeChild(this),I(e)}}:function(e){setTimeout(A(e),0)}),e.exports={set:w,clear:S}},3108(e,t,r){var n=r(65825),i=Math.max,a=Math.min;e.exports=function(e,t){var r=n(e);return r<0?i(r+t,0):a(r,t)}},32216(e,t,r){var n=r(28535),i=TypeError;e.exports=function(e){var t=n(e,"number");if("number"==typeof t)throw new i("Can't convert number to bigint");return BigInt(t)}},26722(e,t,r){var n=r(65825),i=r(57864),a=RangeError;e.exports=function(e){if(void 0===e)return 0;var t=n(e),r=i(t);if(t!==r)throw new a("Wrong length or index");return r}},41555(e,t,r){var n=r(14461),i=r(15804);e.exports=function(e){return n(i(e))}},65825(e,t,r){var n=r(83427);e.exports=function(e){var t=+e;return t!=t||0===t?0:n(t)}},57864(e,t,r){var n=r(65825),i=Math.min;e.exports=function(e){var t=n(e);return t>0?i(t,0x1fffffffffffff):0}},72095(e,t,r){var n=r(15804),i=Object;e.exports=function(e){return i(n(e))}},7751(e,t,r){var n=r(11280),i=RangeError;e.exports=function(e,t){var r=n(e);if(r%t)throw new i("Wrong offset");return r}},11280(e,t,r){var n=r(65825),i=RangeError;e.exports=function(e){var t=n(e);if(t<0)throw new i("The argument can't be less than 0");return t}},28535(e,t,r){var n=r(33179),i=r(48188),a=r(12131),o=r(25112),s=r(18424),l=r(75869),u=TypeError,c=l("toPrimitive");e.exports=function(e,t){if(!i(e)||a(e))return e;var r,l=o(e,c);if(l){if(void 0===t&&(t="default"),!i(r=n(l,e,t))||a(r))return r;throw new u("Can't convert object to primitive value")}return void 0===t&&(t="number"),s(e,t)}},11611(e,t,r){var n=r(28535),i=r(12131);e.exports=function(e){var t=n(e,"string");return i(t)?t:t+""}},23886(e,t,r){var n=r(75869)("toStringTag"),i={};i[n]="z",e.exports="[object z]"===String(i)},13641(e,t,r){var n=r(73485),i=String;e.exports=function(e){if("Symbol"===n(e))throw TypeError("Cannot convert a Symbol value to a string");return i(e)}},205(e){var t=Math.round;e.exports=function(e){var r=t(e);return r<0?0:r>255?255:255&r}},25229(e){var t=String;e.exports=function(e){try{return t(e)}catch(e){return"Object"}}},31853(e,t,r){var n=r(64808),i=r(6974),a=r(33179),o=r(19058),s=r(65087),l=r(97882),u=r(91428),c=r(50473),f=r(56582),d=r(80081),h=r(1037),p=r(57864),g=r(26722),y=r(7751),m=r(205),b=r(11611),w=r(76151),S=r(73485),k=r(48188),E=r(12131),_=r(12326),P=r(66227),x=r(87261),C=r(62482).f,O=r(16705),R=r(23831).forEach,I=r(63263),A=r(7108),T=r(33919),M=r(43069),z=r(11372),D=r(66935),L=r(3153),U=D.get,j=D.set,N=D.enforce,F=T.f,q=M.f,W=i.RangeError,K=u.ArrayBuffer,B=K.prototype,$=u.DataView,V=l.NATIVE_ARRAY_BUFFER_VIEWS,Y=l.TYPED_ARRAY_TAG,Q=l.TypedArray,H=l.TypedArrayPrototype,G=l.isTypedArray,J="BYTES_PER_ELEMENT",X="Wrong length",Z=function(e,t){A(e,t,{configurable:!0,get:function(){return U(this)[t]}})},ee=function(e){var t;return P(B,e)||"ArrayBuffer"===(t=S(e))||"SharedArrayBuffer"===t},et=function(e,t){return G(e)&&!E(t)&&t in e&&h(+t)&&t>=0},er=function(e,t){return et(e,t=b(t))?f(2,e[t]):q(e,t)},en=function(e,t,r){return et(e,t=b(t))&&k(r)&&w(r,"value")&&!w(r,"get")&&!w(r,"set")&&!r.configurable&&(!w(r,"writable")||r.writable)&&(!w(r,"enumerable")||r.enumerable)?(e[t]=r.value,e):F(e,t,r)};o?(V||(M.f=er,T.f=en,Z(H,"buffer"),Z(H,"byteOffset"),Z(H,"byteLength"),Z(H,"length")),n({target:"Object",stat:!0,forced:!V},{getOwnPropertyDescriptor:er,defineProperty:en}),e.exports=function(e,t,r){var o=e.match(/\d+/)[0]/8,l=e+(r?"Clamped":"")+"Array",u="get"+e,f="set"+e,h=i[l],b=h,w=b&&b.prototype,S={},E=function(e,t){var r=U(e);return r.view[u](t*o+r.byteOffset,!0)},P=function(e,t,n){var i=U(e);i.view[f](t*o+i.byteOffset,r?m(n):n,!0)},A=function(e,t){F(e,t,{get:function(){return E(this,t)},set:function(e){return P(this,t,e)},enumerable:!0})};V?s&&(b=t(function(e,t,r,n){return c(e,w),L(k(t)?ee(t)?void 0!==n?new h(t,y(r,o),n):void 0!==r?new h(t,y(r,o)):new h(t):G(t)?z(b,t):a(O,b,t):new h(g(t)),e,b)}),x&&x(b,Q),R(C(h),function(e){e in b||d(b,e,h[e])}),b.prototype=w):(b=t(function(e,t,r,n){c(e,w);var i,s,l,u=0,f=0;if(k(t))if(ee(t)){i=t,f=y(r,o);var d=t.byteLength;if(void 0===n){if(d%o||(s=d-f)<0)throw new W(X)}else if((s=p(n)*o)+f>d)throw new W(X);l=s/o}else if(G(t))return z(b,t);else return a(O,b,t);else i=new K(s=(l=g(t))*o);for(j(e,{buffer:i,byteOffset:f,byteLength:s,length:l,view:new $(i)});u<l;)A(e,u++)}),x&&x(b,Q),w=b.prototype=_(H)),w.constructor!==b&&d(w,"constructor",b),N(w).TypedArrayConstructor=b,Y&&d(w,Y,l);var T=b!==h;S[l]=b,n({global:!0,constructor:!0,forced:T,sham:!V},S),J in b||d(b,J,o),J in w||d(w,J,o),I(l)}):e.exports=function(){}},65087(e,t,r){var n=r(6974),i=r(59293),a=r(30366),o=r(97882).NATIVE_ARRAY_BUFFER_VIEWS,s=n.ArrayBuffer,l=n.Int8Array;e.exports=!o||!i(function(){l(1)})||!i(function(){new l(-1)})||!a(function(e){new l,new l(null),new l(1.5),new l(e)},!0)||i(function(){return 1!==new l(new s(2),1,void 0).length})},16705(e,t,r){var n=r(92254),i=r(33179),a=r(90114),o=r(72095),s=r(92956),l=r(56563),u=r(18301),c=r(64623),f=r(63633),d=r(97882).aTypedArrayConstructor,h=r(32216);e.exports=function(e){var t,r,p,g,y,m,b,w,S=a(this),k=o(e),E=arguments.length,_=E>1?arguments[1]:void 0,P=void 0!==_,x=u(k);if(x&&!c(x))for(w=(b=l(k,x)).next,k=[];!(m=i(w,b)).done;)k.push(m.value);for(P&&E>2&&(_=n(_,arguments[2])),r=s(k),g=f(p=new(d(S))(r)),t=0;r>t;t++)y=P?_(k[t],t):k[t],p[t]=g?h(y):+y;return p}},702(e,t,r){var n=r(52782),i=0,a=Math.random(),o=n(1.1.toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+o(++i+a,36)}},79542(e,t,r){var n=r(59293),i=r(75869),a=r(19058),o=r(81201),s=i("iterator");e.exports=!n(function(){var e=new URL("b?a=1&b=2&c=3","https://a"),t=e.searchParams,r=new URLSearchParams("a=1&a=2&b=3"),n="";return e.pathname="c%20d",t.forEach(function(e,r){t.delete("b"),n+=r+e}),r.delete("a",2),r.delete("b",void 0),o&&(!e.toJSON||!r.has("a",1)||r.has("a",2)||!r.has("a",void 0)||r.has("b"))||!t.size&&(o||!a)||!t.sort||"https://a/c%20d?a=1&c=3"!==e.href||"3"!==t.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!t[s]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("https://тест").host||"#%D0%B1"!==new URL("https://a#б").hash||"a1c3"!==n||"x"!==new URL("https://x",void 0).host})},95058(e,t,r){e.exports=r(8953)&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},18636(e,t,r){var n=r(19058),i=r(59293);e.exports=n&&i(function(){return 42!==Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype})},26406(e){var t=TypeError;e.exports=function(e,r){if(e<r)throw new t("Not enough arguments");return e}},24232(e,t,r){var n=r(6974),i=r(68039),a=n.WeakMap;e.exports=i(a)&&/native code/.test(String(a))},75869(e,t,r){var n=r(6974),i=r(55219),a=r(76151),o=r(702),s=r(8953),l=r(95058),u=n.Symbol,c=i("wks"),f=l?u.for||u:u&&u.withoutSetter||o;e.exports=function(e){return a(c,e)||(c[e]=s&&a(u,e)?u[e]:f("Symbol."+e)),c[e]}},50859(e,t,r){var n=r(72485),i=r(76151),a=r(80081),o=r(66227),s=r(87261),l=r(18770),u=r(64122),c=r(3153),f=r(14901),d=r(35910),h=r(87245),p=r(19058),g=r(81201);e.exports=function(e,t,r,y){var m="stackTraceLimit",b=y?2:1,w=e.split("."),S=w[w.length-1],k=n.apply(null,w);if(k){var E=k.prototype;if(!g&&i(E,"cause")&&delete E.cause,!r)return k;var _=n("Error"),P=t(function(e,t){var r=f(y?t:e,void 0),n=y?new k(e):new k;return void 0!==r&&a(n,"message",r),h(n,P,n.stack,2),this&&o(E,this)&&c(n,this,P),arguments.length>b&&d(n,arguments[b]),n});if(P.prototype=E,"Error"!==S?s?s(P,_):l(P,_,{name:!0}):p&&m in k&&(u(P,k,m),u(P,k,"prepareStackTrace")),l(P,k),!g)try{E.name!==S&&a(E,"name",S),E.constructor=P}catch(e){}return P}}},20303(e,t,r){var n=r(19058),i=r(7108),a=r(80408),o=ArrayBuffer.prototype;!n||"detached"in o||i(o,"detached",{configurable:!0,get:function(){return a(this)}})},6106(e,t,r){var n=r(64808),i=r(2982);i&&n({target:"ArrayBuffer",proto:!0},{transferToFixedLength:function(){return i(this,arguments.length?arguments[0]:void 0,!1)}})},99166(e,t,r){var n=r(64808),i=r(2982);i&&n({target:"ArrayBuffer",proto:!0},{transfer:function(){return i(this,arguments.length?arguments[0]:void 0,!0)}})},52277(e,t,r){var n=r(64808),i=r(25383).includes,a=r(59293),o=r(1643);n({target:"Array",proto:!0,forced:a(function(){return![,].includes()})},{includes:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}}),o("includes")},42886(e,t,r){var n=r(41555),i=r(1643),a=r(49227),o=r(66935),s=r(33919).f,l=r(52274),u=r(46827),c=r(81201),f=r(19058),d="Array Iterator",h=o.set,p=o.getterFor(d);e.exports=l(Array,"Array",function(e,t){h(this,{type:d,target:n(e),index:0,kind:t})},function(){var e=p(this),t=e.target,r=e.index++;if(!t||r>=t.length)return e.target=null,u(void 0,!0);switch(e.kind){case"keys":return u(r,!1);case"values":return u(t[r],!1)}return u([r,t[r]],!1)},"values");var g=a.Arguments=a.Array;if(i("keys"),i("values"),i("entries"),!c&&f&&"values"!==g.name)try{s(g,"name",{value:"values"})}catch(e){}},14104(e,t,r){var n=r(64808),i=r(72095),a=r(92956),o=r(27021),s=r(61959);n({target:"Array",proto:!0,arity:1,forced:r(59293)(function(){return 0x100000001!==[].push.call({length:0x100000000},1)})||!function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(e){return e instanceof TypeError}}()},{push:function(e){var t=i(this),r=a(t),n=arguments.length;s(r+n);for(var l=0;l<n;l++)t[r]=arguments[l],r++;return o(t,r),r}})},34330(e,t,r){var n=r(64808),i=r(40184).left,a=r(32604),o=r(76153);n({target:"Array",proto:!0,forced:!r(15523)&&o>79&&o<83||!a("reduce")},{reduce:function(e){var t=arguments.length;return i(this,e,t,t>1?arguments[1]:void 0)}})},99780(e,t,r){r(1643)("flat")},15254(e,t,r){var n=r(64808),i=r(6974),a=r(16263),o=r(50859),s="WebAssembly",l=i[s],u=7!==Error("e",{cause:7}).cause,c=function(e,t){var r={};r[e]=o(e,t,u),n({global:!0,constructor:!0,arity:1,forced:u},r)},f=function(e,t){if(l&&l[e]){var r={};r[e]=o(s+"."+e,t,u),n({target:s,stat:!0,constructor:!0,arity:1,forced:u},r)}};c("Error",function(e){return function(t){return a(e,this,arguments)}}),c("EvalError",function(e){return function(t){return a(e,this,arguments)}}),c("RangeError",function(e){return function(t){return a(e,this,arguments)}}),c("ReferenceError",function(e){return function(t){return a(e,this,arguments)}}),c("SyntaxError",function(e){return function(t){return a(e,this,arguments)}}),c("TypeError",function(e){return function(t){return a(e,this,arguments)}}),c("URIError",function(e){return function(t){return a(e,this,arguments)}}),f("CompileError",function(e){return function(t){return a(e,this,arguments)}}),f("LinkError",function(e){return function(t){return a(e,this,arguments)}}),f("RuntimeError",function(e){return function(t){return a(e,this,arguments)}})},42949(e,t,r){var n=r(64808),i=r(6974),a=r(50473),o=r(46177),s=r(68039),l=r(69681),u=r(7108),c=r(84634),f=r(59293),d=r(76151),h=r(75869),p=r(66479).IteratorPrototype,g=r(19058),y=r(81201),m="constructor",b="Iterator",w=h("toStringTag"),S=TypeError,k=i[b],E=y||!s(k)||k.prototype!==p||!f(function(){k({})}),_=function(){if(a(this,p),l(this)===p)throw new S("Abstract class Iterator not directly constructable")},P=function(e,t){g?u(p,e,{configurable:!0,get:function(){return t},set:function(t){if(o(this),this===p)throw new S("You can't redefine this property");d(this,e)?this[e]=t:c(this,e,t)}}):p[e]=t};d(p,w)||P(w,b),(E||!d(p,m)||p[m]===Object)&&P(m,_),_.prototype=p,n({global:!0,constructor:!0,forced:E},{Iterator:_})},31178(e,t,r){var n=r(64808),i=r(33179),a=r(82150),o=r(70860),s=r(46177),l=r(86845),u=r(55053),c=r(6655)("every",TypeError);n({target:"Iterator",proto:!0,real:!0,forced:c},{every:function(e){s(this);try{o(e)}catch(e){u(this,"throw",e)}if(c)return i(c,this,e);var t=l(this),r=0;return!a(t,function(t,n){if(!e(t,r++))return n()},{IS_RECORD:!0,INTERRUPTED:!0}).stopped}})},18723(e,t,r){var n=r(64808),i=r(33179),a=r(70860),o=r(46177),s=r(86845),l=r(21352),u=r(75017),c=r(81201),f=r(55053),d=r(65682),h=r(6655),p=!c&&!d("filter",function(){}),g=!c&&!p&&h("filter",TypeError),y=c||p||g,m=l(function(){for(var e,t,r=this.iterator,n=this.predicate,a=this.next;;){if(e=o(i(a,r)),this.done=!!e.done)return;if(u(r,n,[t=e.value,this.counter++],!0))return t}});n({target:"Iterator",proto:!0,real:!0,forced:y},{filter:function(e){o(this);try{a(e)}catch(e){f(this,"throw",e)}return g?i(g,this,e):new m(s(this),{predicate:e})}})},49678(e,t,r){var n=r(64808),i=r(33179),a=r(82150),o=r(70860),s=r(46177),l=r(86845),u=r(55053),c=r(6655)("find",TypeError);n({target:"Iterator",proto:!0,real:!0,forced:c},{find:function(e){s(this);try{o(e)}catch(e){u(this,"throw",e)}if(c)return i(c,this,e);var t=l(this),r=0;return a(t,function(t,n){if(e(t,r++))return n(t)},{IS_RECORD:!0,INTERRUPTED:!0}).result}})},84086(e,t,r){var n=r(64808),i=r(33179),a=r(82150),o=r(70860),s=r(46177),l=r(86845),u=r(55053),c=r(6655)("forEach",TypeError);n({target:"Iterator",proto:!0,real:!0,forced:c},{forEach:function(e){s(this);try{o(e)}catch(e){u(this,"throw",e)}if(c)return i(c,this,e);var t=l(this),r=0;a(t,function(t){e(t,r++)},{IS_RECORD:!0})}})},37891(e,t,r){var n=r(64808),i=r(33179),a=r(70860),o=r(46177),s=r(86845),l=r(21352),u=r(75017),c=r(55053),f=r(65682),d=r(6655),h=r(81201),p=!h&&!f("map",function(){}),g=!h&&!p&&d("map",TypeError),y=h||p||g,m=l(function(){var e=this.iterator,t=o(i(this.next,e));if(!(this.done=!!t.done))return u(e,this.mapper,[t.value,this.counter++],!0)});n({target:"Iterator",proto:!0,real:!0,forced:y},{map:function(e){o(this);try{a(e)}catch(e){c(this,"throw",e)}return g?i(g,this,e):new m(s(this),{mapper:e})}})},46455(e,t,r){var n=r(64808),i=r(82150),a=r(70860),o=r(46177),s=r(86845),l=r(55053),u=r(6655),c=r(16263),f=r(59293),d=TypeError,h=f(function(){[].keys().reduce(function(){},void 0)}),p=!h&&u("reduce",d);n({target:"Iterator",proto:!0,real:!0,forced:h||p},{reduce:function(e){o(this);try{a(e)}catch(e){l(this,"throw",e)}var t=arguments.length<2,r=t?void 0:arguments[1];if(p)return c(p,this,t?[e]:[e,r]);var n=s(this),u=0;if(i(n,function(n){t?(t=!1,r=n):r=e(r,n,u),u++},{IS_RECORD:!0}),t)throw new d("Reduce of empty iterator with no initial value");return r}})},12021(e,t,r){var n=r(64808),i=r(33179),a=r(82150),o=r(70860),s=r(46177),l=r(86845),u=r(55053),c=r(6655)("some",TypeError);n({target:"Iterator",proto:!0,real:!0,forced:c},{some:function(e){s(this);try{o(e)}catch(e){u(this,"throw",e)}if(c)return i(c,this,e);var t=l(this),r=0;return a(t,function(t,n){if(e(t,r++))return n()},{IS_RECORD:!0,INTERRUPTED:!0}).stopped}})},40509(e,t,r){var n=r(64808),i=r(33179),a=r(70860),o=r(63761),s=r(12181),l=r(82150);n({target:"Promise",stat:!0,forced:r(87435)},{all:function(e){var t=this,r=o.f(t),n=r.resolve,u=r.reject,c=s(function(){var r=a(t.resolve),o=[],s=0,c=1;l(e,function(e){var a=s++,l=!1;c++,i(r,t,e).then(function(e){!l&&(l=!0,o[a]=e,--c||n(o))},u)}),--c||n(o)});return c.error&&u(c.value),r.promise}})},98965(e,t,r){var n=r(64808),i=r(81201),a=r(33586).CONSTRUCTOR,o=r(15940),s=r(72485),l=r(68039),u=r(59430),c=o&&o.prototype;if(n({target:"Promise",proto:!0,forced:a,real:!0},{catch:function(e){return this.then(void 0,e)}}),!i&&l(o)){var f=s("Promise").prototype.catch;c.catch!==f&&u(c,"catch",f,{unsafe:!0})}},3750(e,t,r){var n,i,a,o,s=r(64808),l=r(81201),u=r(15523),c=r(6974),f=r(70977),d=r(33179),h=r(59430),p=r(87261),g=r(32377),y=r(63263),m=r(70860),b=r(68039),w=r(48188),S=r(50473),k=r(92767),E=r(11523).set,_=r(62885),P=r(69823),x=r(12181),C=r(28663),O=r(66935),R=r(15940),I=r(33586),A=r(63761),T="Promise",M=I.CONSTRUCTOR,z=I.REJECTION_EVENT,D=I.SUBCLASSING,L=O.getterFor(T),U=O.set,j=R&&R.prototype,N=R,F=j,q=c.TypeError,W=c.document,K=c.process,B=A.f,$=B,V=!!(W&&W.createEvent&&c.dispatchEvent),Y="unhandledrejection",Q=function(e){var t;return!!(w(e)&&b(t=e.then))&&t},H=function(e,t){var r,n,i,a=t.value,o=1===t.state,s=o?e.ok:e.fail,l=e.resolve,u=e.reject,c=e.domain;try{s?(o||(2===t.rejection&&ee(t),t.rejection=1),!0===s?r=a:(c&&c.enter(),r=s(a),c&&(c.exit(),i=!0)),r===e.promise?u(new q("Promise-chain cycle")):(n=Q(r))?d(n,r,l,u):l(r)):u(a)}catch(e){c&&!i&&c.exit(),u(e)}},G=function(e,t){e.notified||(e.notified=!0,_(function(){for(var r,n=e.reactions;r=n.get();)H(r,e);e.notified=!1,t&&!e.rejection&&X(e)}))},J=function(e,t,r){var n,i;V?((n=W.createEvent("Event")).promise=t,n.reason=r,n.initEvent(e,!1,!0),c.dispatchEvent(n)):n={promise:t,reason:r},!z&&(i=c["on"+e])?i(n):e===Y&&P("Unhandled promise rejection",r)},X=function(e){d(E,c,function(){var t,r=e.facade,n=e.value;if(Z(e)&&(t=x(function(){u?K.emit("unhandledRejection",n,r):J(Y,r,n)}),e.rejection=u||Z(e)?2:1,t.error))throw t.value})},Z=function(e){return 1!==e.rejection&&!e.parent},ee=function(e){d(E,c,function(){var t=e.facade;u?K.emit("rejectionHandled",t):J("rejectionhandled",t,e.value)})},et=function(e,t,r){return function(n){e(t,n,r)}},er=function(e,t,r){e.done||(e.done=!0,r&&(e=r),e.value=t,e.state=2,G(e,!0))},en=function(e,t,r){if(!e.done){e.done=!0,r&&(e=r);try{if(e.facade===t)throw new q("Promise can't be resolved itself");var n=Q(t);n?_(function(){var r={done:!1};try{d(n,t,et(en,r,e),et(er,r,e))}catch(t){er(r,t,e)}}):(e.value=t,e.state=1,G(e,!1))}catch(t){er({done:!1},t,e)}}};if(M&&(F=(N=function(e){S(this,F),m(e),d(n,this);var t=L(this);try{e(et(en,t),et(er,t))}catch(e){er(t,e)}}).prototype,(n=function(e){U(this,{type:T,done:!1,notified:!1,parent:!1,reactions:new C,rejection:!1,state:0,value:null})}).prototype=h(F,"then",function(e,t){var r=L(this),n=B(k(this,N));return r.parent=!0,n.ok=!b(e)||e,n.fail=b(t)&&t,n.domain=u?K.domain:void 0,0===r.state?r.reactions.add(n):_(function(){H(n,r)}),n.promise}),i=function(){var e=new n,t=L(e);this.promise=e,this.resolve=et(en,t),this.reject=et(er,t)},A.f=B=function(e){return e===N||e===a?new i(e):$(e)},!l&&b(R)&&j!==Object.prototype)){o=j.then,D||h(j,"then",function(e,t){var r=this;return new N(function(e,t){d(o,r,e,t)}).then(e,t)},{unsafe:!0});try{delete j.constructor}catch(e){}p&&p(j,F)}s({global:!0,constructor:!0,wrap:!0,forced:M},{Promise:N}),a=f.Promise,g(N,T,!1,!0),y(T)},86449(e,t,r){var n=r(64808),i=r(81201),a=r(15940),o=r(59293),s=r(72485),l=r(68039),u=r(92767),c=r(81864),f=r(59430),d=a&&a.prototype;if(n({target:"Promise",proto:!0,real:!0,forced:!!a&&o(function(){d.finally.call({then:function(){}},function(){})})},{finally:function(e){var t=u(this,s("Promise")),r=l(e);return this.then(r?function(r){return c(t,e()).then(function(){return r})}:e,r?function(r){return c(t,e()).then(function(){throw r})}:e)}}),!i&&l(a)){var h=s("Promise").prototype.finally;d.finally!==h&&f(d,"finally",h,{unsafe:!0})}},73560(e,t,r){r(3750),r(40509),r(98965),r(67797),r(33475),r(13610)},67797(e,t,r){var n=r(64808),i=r(33179),a=r(70860),o=r(63761),s=r(12181),l=r(82150);n({target:"Promise",stat:!0,forced:r(87435)},{race:function(e){var t=this,r=o.f(t),n=r.reject,u=s(function(){var o=a(t.resolve);l(e,function(e){i(o,t,e).then(r.resolve,n)})});return u.error&&n(u.value),r.promise}})},33475(e,t,r){var n=r(64808),i=r(63761);n({target:"Promise",stat:!0,forced:r(33586).CONSTRUCTOR},{reject:function(e){var t=i.f(this);return(0,t.reject)(e),t.promise}})},13610(e,t,r){var n=r(64808),i=r(72485),a=r(81201),o=r(15940),s=r(33586).CONSTRUCTOR,l=r(81864),u=i("Promise"),c=a&&!s;n({target:"Promise",stat:!0,forced:a||s},{resolve:function(e){return l(c&&this===u?o:this,e)}})},53834(e,t,r){var n=r(64808),i=r(6974),a=r(32377);n({global:!0},{Reflect:{}}),a(i.Reflect,"Reflect",!0)},20498(e,t,r){var n=r(19058),i=r(6974),a=r(52782),o=r(76518),s=r(3153),l=r(80081),u=r(12326),c=r(62482).f,f=r(66227),d=r(97494),h=r(13641),p=r(41148),g=r(75383),y=r(64122),m=r(59430),b=r(59293),w=r(76151),S=r(66935).enforce,k=r(63263),E=r(75869),_=r(45369),P=r(63596),x=E("match"),C=i.RegExp,O=C.prototype,R=i.SyntaxError,I=a(O.exec),A=a("".charAt),T=a("".replace),M=a("".indexOf),z=a("".slice),D=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,L=/a/g,U=/a/g,j=new C(L)!==L,N=g.MISSED_STICKY,F=g.UNSUPPORTED_Y,q=n&&(!j||N||_||P||b(function(){return U[x]=!1,C(L)!==L||C(U)===U||"/a/i"!==String(C(L,"i"))})),W=function(e){for(var t,r=e.length,n=0,i="",a=!1;n<=r;n++){if("\\"===(t=A(e,n))){i+=t+A(e,++n);continue}a||"."!==t?("["===t?a=!0:"]"===t&&(a=!1),i+=t):i+="[\\s\\S]"}return i},K=function(e){for(var t,r=e.length,n=0,i="",a=[],o=u(null),s=!1,l=!1,c=0,f="";n<=r;n++){if("\\"===(t=A(e,n)))t+=A(e,++n);else if("]"===t)s=!1;else if(!s)switch(!0){case"["===t:s=!0;break;case"("===t:if(i+=t,"?:"===z(e,n+1,n+3))continue;I(D,z(e,n+1))&&(n+=2,l=!0),c++;continue;case">"===t&&l:if(""===f||w(o,f))throw new R("Invalid capture group name");o[f]=!0,a[a.length]=[f,c],l=!1,f="";continue}l?f+=t:i+=t}return[i,a]};if(o("RegExp",q)){for(var B=function(e,t){var r,n,i,a,o,u,c=f(O,this),g=d(e),y=void 0===t,m=[],b=e;if(!c&&g&&y&&e.constructor===B)return e;if((g||f(O,e))&&(e=e.source,y&&(t=p(b))),e=void 0===e?"":h(e),t=void 0===t?"":h(t),b=e,_&&"dotAll"in L&&(n=!!t&&M(t,"s")>-1)&&(t=T(t,/s/g,"")),r=t,N&&"sticky"in L&&(i=!!t&&M(t,"y")>-1)&&F&&(t=T(t,/y/g,"")),P&&(e=(a=K(e))[0],m=a[1]),o=s(C(e,t),c?this:O,B),(n||i||m.length)&&(u=S(o),n&&(u.dotAll=!0,u.raw=B(W(e),r)),i&&(u.sticky=!0),m.length&&(u.groups=m)),e!==b)try{l(o,"source",""===b?"(?:)":b)}catch(e){}return o},$=c(C),V=0;$.length>V;)y(B,C,$[V++]);O.constructor=B,B.prototype=O,m(i,"RegExp",B,{constructor:!0})}k("RegExp")},40807(e,t,r){var n=r(19058),i=r(45369),a=r(74026),o=r(7108),s=r(66935).get,l=RegExp.prototype,u=TypeError;n&&i&&o(l,"dotAll",{configurable:!0,get:function(){if(this!==l){if("RegExp"===a(this))return!!s(this).dotAll;throw new u("Incompatible receiver, RegExp required")}}})},85281(e,t,r){var n=r(64808),i=r(66565);n({target:"RegExp",proto:!0,forced:/./.exec!==i},{exec:i})},67548(e,t,r){var n=r(64808),i=r(95474),a=r(59293);n({target:"Set",proto:!0,real:!0,forced:!r(24206)("difference",function(e){return 0===e.size})||a(function(){var e=new Set([1,2,3,4]);return 3!==e.difference({size:1,has:function(){return!0},keys:function(){var t=0;return{next:function(){var r=t++>1;return e.has(1)&&e.clear(),{done:r,value:2}}}}}).size})},{difference:i})},70954(e,t,r){var n=r(64808),i=r(59293),a=r(48396);n({target:"Set",proto:!0,real:!0,forced:!r(24206)("intersection",function(e){return 2===e.size&&e.has(1)&&e.has(2)})||i(function(){return"3,2"!==String(Array.from(new Set([1,2,3]).intersection(new Set([3,2]))))})},{intersection:a})},98803(e,t,r){var n=r(64808),i=r(46839);n({target:"Set",proto:!0,real:!0,forced:!r(24206)("isDisjointFrom",function(e){return!e})},{isDisjointFrom:i})},79162(e,t,r){var n=r(64808),i=r(43388);n({target:"Set",proto:!0,real:!0,forced:!r(24206)("isSubsetOf",function(e){return e})},{isSubsetOf:i})},15385(e,t,r){var n=r(64808),i=r(53965);n({target:"Set",proto:!0,real:!0,forced:!r(24206)("isSupersetOf",function(e){return!e})},{isSupersetOf:i})},39342(e,t,r){var n=r(64808),i=r(13264),a=r(29617);n({target:"Set",proto:!0,real:!0,forced:!r(24206)("symmetricDifference")||!a("symmetricDifference")},{symmetricDifference:i})},69152(e,t,r){var n=r(64808),i=r(21898),a=r(29617);n({target:"Set",proto:!0,real:!0,forced:!r(24206)("union")||!a("union")},{union:i})},20583(e,t,r){var n=r(64808),i=r(52782),a=r(3108),o=RangeError,s=String.fromCharCode,l=String.fromCodePoint,u=i([].join);n({target:"String",stat:!0,arity:1,forced:!!l&&1!==l.length},{fromCodePoint:function(e){for(var t,r=[],n=arguments.length,i=0;n>i;){if(t=+arguments[i++],a(t,1114111)!==t)throw new o(t+" is not a valid code point");r[i]=t<65536?s(t):s(((t-=65536)>>10)+55296,t%1024+56320)}return u(r,"")}})},17166(e,t,r){var n=r(68445).charAt,i=r(13641),a=r(66935),o=r(52274),s=r(46827),l="String Iterator",u=a.set,c=a.getterFor(l);o(String,"String",function(e){u(this,{type:l,string:i(e),index:0})},function(){var e,t=c(this),r=t.string,i=t.index;return i>=r.length?s(void 0,!0):(e=n(r,i),t.index+=e.length,s(e,!1))})},29381(e,t,r){var n=r(64808),i=r(33179),a=r(3350),o=r(40652),s=r(46827),l=r(15804),u=r(57864),c=r(13641),f=r(46177),d=r(48188),h=r(74026),p=r(97494),g=r(41148),y=r(25112),m=r(59430),b=r(59293),w=r(75869),S=r(92767),k=r(22287),E=r(24464),_=r(66935),P=r(81201),x=w("matchAll"),C="RegExp String",O=C+" Iterator",R=_.set,I=_.getterFor(O),A=RegExp.prototype,T=TypeError,M=a("".indexOf),z=a("".matchAll),D=!!z&&!b(function(){z("a",/./)}),L=o(function(e,t,r,n){R(this,{type:O,regexp:e,string:t,global:r,unicode:n,done:!1})},C,function(){var e=I(this);if(e.done)return s(void 0,!0);var t=e.regexp,r=e.string,n=E(t,r);return null===n?(e.done=!0,s(void 0,!0)):(e.global?""===c(n[0])&&(t.lastIndex=k(r,u(t.lastIndex),e.unicode)):e.done=!0,s(n,!1))}),U=function(e){var t,r,n,i=f(this),a=c(e),o=S(i,RegExp),s=c(g(i));return t=new o(o===RegExp?i.source:i,s),r=!!~M(s,"g"),n=!!~M(s,"u"),t.lastIndex=u(i.lastIndex),new L(t,a,r,n)};n({target:"String",proto:!0,forced:D},{matchAll:function(e){var t,r,n,a=l(this);if(d(e)){if(p(e)&&!~M(c(l(g(e))),"g"))throw new T("`.matchAll` does not allow non-global regexes");if(D)return z(a,e);if(void 0===(r=y(e,x))&&P&&"RegExp"===h(e)&&(r=U),r)return i(r,e,a)}else if(D)return z(a,e);return t=c(a),n=RegExp(e,"g"),P?i(U,n,t):n[x](t)}}),P||x in A||m(A,x,U)},96954(e,t,r){var n=r(16263),i=r(33179),a=r(52782),o=r(41298),s=r(59293),l=r(46177),u=r(68039),c=r(48188),f=r(65825),d=r(57864),h=r(13641),p=r(15804),g=r(22287),y=r(25112),m=r(67256),b=r(41148),w=r(24464),S=r(75869)("replace"),k=Math.max,E=Math.min,_=a([].concat),P=a([].push),x=a("".indexOf),C=a("".slice),O="$0"==="a".replace(/./,"$0"),R=!!/./[S]&&""===/./[S]("a","$0");o("replace",function(e,t,r){var a=R?"$":"$0";return[function(e,r){var n=p(this),a=c(e)?y(e,S):void 0;return a?i(a,e,n,r):i(t,h(n),e,r)},function(e,i){var o=l(this),s=h(e);if("string"==typeof i&&-1===x(i,a)&&-1===x(i,"$<")){var c=r(t,o,s,i);if(c.done)return c.value}var p=u(i);p||(i=h(i));var y=h(b(o)),S=-1!==x(y,"g");S&&(M=-1!==x(y,"u"),o.lastIndex=0);for(var O=[];null!==(D=w(o,s))&&(P(O,D),S);){;""===h(D[0])&&(o.lastIndex=g(s,d(o.lastIndex),M))}for(var R="",I=0,A=0;A<O.length;A++){for(var T,M,z,D=O[A],L=h(D[0]),U=k(E(f(D.index),s.length),0),j=[],N=1;N<D.length;N++)P(j,void 0===(T=D[N])?T:String(T));var F=D.groups;if(p){var q=_([L],j,U,s);void 0!==F&&P(q,F),z=h(n(i,void 0,q))}else z=m(L,s,U,j,F,i);U>=I&&(R+=C(s,I,U)+z,I=U+L.length)}return R+C(s,I)}]},!!s(function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")})||!O||R)},22742(e,t,r){var n=r(97882),i=r(92956),a=r(65825),o=n.aTypedArray;(0,n.exportTypedArrayMethod)("at",function(e){var t=o(this),r=i(t),n=a(e),s=n>=0?n:r+n;return s<0||s>=r?void 0:t[s]})},24330(e,t,r){var n=r(97882),i=r(65083),a=r(32216),o=r(73485),s=r(33179),l=r(52782),u=r(59293),c=n.aTypedArray,f=n.exportTypedArrayMethod,d=l("".slice);f("fill",function(e){var t=arguments.length;return c(this),s(i,this,"Big"===d(o(this),0,3)?a(e):+e,t>1?arguments[1]:void 0,t>2?arguments[2]:void 0)},u(function(){var e=0;return new Int8Array(2).fill({valueOf:function(){return e++}}),1!==e}))},62148(e,t,r){var n=r(97882),i=r(61857).findLastIndex,a=n.aTypedArray;(0,n.exportTypedArrayMethod)("findLastIndex",function(e){return i(a(this),e,arguments.length>1?arguments[1]:void 0)})},37553(e,t,r){var n=r(97882),i=r(61857).findLast,a=n.aTypedArray;(0,n.exportTypedArrayMethod)("findLast",function(e){return i(a(this),e,arguments.length>1?arguments[1]:void 0)})},89055(e,t,r){var n=r(6974),i=r(33179),a=r(97882),o=r(92956),s=r(7751),l=r(72095),u=r(59293),c=n.RangeError,f=n.Int8Array,d=f&&f.prototype,h=d&&d.set,p=a.aTypedArray,g=a.exportTypedArrayMethod,y=!u(function(){var e=new Uint8ClampedArray(2);return i(h,e,{length:1,0:3},1),3!==e[1]}),m=y&&a.NATIVE_ARRAY_BUFFER_VIEWS&&u(function(){var e=new f(2);return e.set(1),e.set("2",1),0!==e[0]||2!==e[1]});g("set",function(e){p(this);var t=s(arguments.length>1?arguments[1]:void 0,1),r=l(e);if(y)return i(h,this,r,t);var n=this.length,a=o(r),u=0;if(a+t>n)throw new c("Wrong length");for(;u<a;)this[t+u]=r[u++]},!y||m)},41435(e,t,r){var n=r(6974),i=r(3350),a=r(59293),o=r(70860),s=r(31534),l=r(97882),u=r(21203),c=r(13777),f=r(76153),d=r(62729),h=l.aTypedArray,p=l.exportTypedArrayMethod,g=n.Uint16Array,y=g&&i(g.prototype.sort),m=!!y&&!(a(function(){y(new g(2),null)})&&a(function(){y(new g(2),{})})),b=!!y&&!a(function(){if(f)return f<74;if(u)return u<67;if(c)return!0;if(d)return d<602;var e,t,r=new g(516),n=Array(516);for(e=0;e<516;e++)t=e%4,r[e]=515-e,n[e]=e-2*t+3;for(y(r,function(e,t){return(e/4|0)-(t/4|0)}),e=0;e<516;e++)if(r[e]!==n[e])return!0});p("sort",function(e){return(void 0!==e&&o(e),b)?y(this,e):s(h(this),function(t,r){return void 0!==e?+e(t,r)||0:r!=r?-1:t!=t?1:0===t&&0===r?1/t>0&&1/r<0?1:-1:t>r})},!b||m)},12205(e,t,r){var n=r(4062),i=r(97882),a=i.aTypedArray,o=i.exportTypedArrayMethod,s=i.getTypedArrayConstructor;o("toReversed",function(){return n(a(this),s(this))})},65850(e,t,r){var n=r(97882),i=r(52782),a=r(70860),o=r(11372),s=n.aTypedArray,l=n.getTypedArrayConstructor,u=n.exportTypedArrayMethod,c=i(n.TypedArrayPrototype.sort);u("toSorted",function(e){void 0!==e&&a(e);var t=s(this);return c(o(l(t),t),e)})},93619(e,t,r){r(31853)("Uint8",function(e){return function(t,r,n){return e(this,t,r,n)}})},65135(e,t,r){var n=r(49718),i=r(97882),a=r(63633),o=r(65825),s=r(32216),l=i.aTypedArray,u=i.getTypedArrayConstructor,c=i.exportTypedArrayMethod,f=function(){try{new Int8Array(1).with(2,{valueOf:function(){throw 8}})}catch(e){return 8===e}}(),d=f&&function(){try{new Int8Array(1).with(-.5,1)}catch(e){return!0}}();c("with",{with:function(e,t){var r=l(this),i=o(e),c=a(r)?s(t):+t;return n(r,u(r),i,c)}}.with,!f||d)},36395(e,t,r){var n=r(6974),i=r(71806),a=r(84098),o=r(42886),s=r(80081),l=r(32377),u=r(75869)("iterator"),c=o.values,f=function(e,t){if(e){if(e[u]!==c)try{s(e,u,c)}catch(t){e[u]=c}if(l(e,t,!0),i[t]){for(var r in o)if(e[r]!==o[r])try{s(e,r,o[r])}catch(t){e[r]=o[r]}}}};for(var d in i)f(n[d]&&n[d].prototype,d);f(a,"DOMTokenList")},32037(e,t,r){var n=r(64808),i=r(6974),a=r(72485),o=r(56582),s=r(33919).f,l=r(76151),u=r(50473),c=r(3153),f=r(14901),d=r(94864),h=r(50747),p=r(19058),g=r(81201),y="DOMException",m=a("Error"),b=a(y),w=function(){u(this,S);var e=arguments.length,t=f(e<1?void 0:arguments[0]),r=f(e<2?void 0:arguments[1],"Error"),n=new b(t,r),i=new m(t);return i.name=y,s(n,"stack",o(1,h(i.stack,1))),c(n,this,w),n},S=w.prototype=b.prototype,k="stack"in new m(y),E="stack"in new b(1,2),_=b&&p&&Object.getOwnPropertyDescriptor(i,y),P=!!_&&!(_.writable&&_.configurable),x=k&&!P&&!E;n({global:!0,constructor:!0,forced:g||x},{DOMException:x?w:b});var C=a(y),O=C.prototype;if(O.constructor!==C){for(var R in g||s(O,"constructor",o(1,C)),d)if(l(d,R)){var I=d[R],A=I.s;l(C,A)||s(C,A,o(6,I.c))}}},92033(e,t,r){var n=r(64808),i=r(6974),a=r(7108),o=r(19058),s=TypeError,l=Object.defineProperty,u=i.self!==i;try{if(o){var c=Object.getOwnPropertyDescriptor(i,"self");!u&&c&&c.get&&c.enumerable||a(i,"self",{get:function(){return i},set:function(e){if(this!==i)throw new s("Illegal invocation");l(i,"self",{value:e,writable:!0,configurable:!0,enumerable:!0})},configurable:!0,enumerable:!0})}else n({global:!0,simple:!0,forced:u},{self:i})}catch(e){}},75556(e,t,r){r(42886),r(20583);var n=r(64808),i=r(6974),a=r(66255),o=r(72485),s=r(33179),l=r(52782),u=r(19058),c=r(79542),f=r(59430),d=r(7108),h=r(27597),p=r(32377),g=r(40652),y=r(66935),m=r(50473),b=r(68039),w=r(76151),S=r(92254),k=r(73485),E=r(46177),_=r(48188),P=r(13641),x=r(12326),C=r(56582),O=r(56563),R=r(18301),I=r(46827),A=r(26406),T=r(75869),M=r(31534),z=T("iterator"),D="URLSearchParams",L=D+"Iterator",U=y.set,j=y.getterFor(D),N=y.getterFor(L),F=a("fetch"),q=a("Request"),W=a("Headers"),K=q&&q.prototype,B=W&&W.prototype,$=i.TypeError,V=i.encodeURIComponent,Y=String.fromCharCode,Q=o("String","fromCodePoint"),H=parseInt,G=l("".charAt),J=l([].join),X=l([].push),Z=l("".replace),ee=l([].shift),et=l([].splice),er=l("".split),en=l("".slice),ei=l(/./.exec),ea=/\+/g,eo=/^[0-9a-f]+$/i,es=function(e,t){var r=en(e,t,t+2);return ei(eo,r)?H(r,16):NaN},el=function(e){for(var t=0,r=128;r>0&&(e&r)!=0;r>>=1)t++;return t},eu=function(e){var t=null;switch(e.length){case 1:t=e[0];break;case 2:t=(31&e[0])<<6|63&e[1];break;case 3:t=(15&e[0])<<12|(63&e[1])<<6|63&e[2];break;case 4:t=(7&e[0])<<18|(63&e[1])<<12|(63&e[2])<<6|63&e[3]}return t>1114111?null:t},ec=function(e){for(var t=(e=Z(e,ea," ")).length,r="",n=0;n<t;){var i=G(e,n);if("%"===i){if("%"===G(e,n+1)||n+3>t){r+="%",n++;continue}var a=es(e,n+1);if(a!=a){r+=i,n++;continue}n+=2;var o=el(a);if(0===o)i=Y(a);else{if(1===o||o>4){r+="�",n++;continue}for(var s=[a],l=1;l<o&&!(++n+3>t)&&"%"===G(e,n);){var u=es(e,n+1);if(u!=u){n+=3;break}if(u>191||u<128)break;X(s,u),n+=2,l++}if(s.length!==o){r+="�";continue}var c=eu(s);null===c?r+="�":i=Q(c)}}r+=i,n++}return r},ef=/[!'()~]|%20/g,ed={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},eh=function(e){return ed[e]},ep=function(e){return Z(V(e),ef,eh)},ev=g(function(e,t){U(this,{type:L,target:j(e).entries,index:0,kind:t})},D,function(){var e=N(this),t=e.target,r=e.index++;if(!t||r>=t.length)return e.target=null,I(void 0,!0);var n=t[r];switch(e.kind){case"keys":return I(n.key,!1);case"values":return I(n.value,!1)}return I([n.key,n.value],!1)},!0),eg=function(e){this.entries=[],this.url=null,void 0!==e&&(_(e)?this.parseObject(e):this.parseQuery("string"==typeof e?"?"===G(e,0)?en(e,1):e:P(e)))};eg.prototype={type:D,bindURL:function(e){this.url=e,this.update()},parseObject:function(e){var t,r,n,i,a,o,l,u=this.entries,c=R(e);if(c)for(r=(t=O(e,c)).next;!(n=s(r,t)).done;){if((o=s(a=(i=O(E(n.value))).next,i)).done||(l=s(a,i)).done||!s(a,i).done)throw new $("Expected sequence with length 2");X(u,{key:P(o.value),value:P(l.value)})}else for(var f in e)w(e,f)&&X(u,{key:f,value:P(e[f])})},parseQuery:function(e){if(e)for(var t,r,n=this.entries,i=er(e,"&"),a=0;a<i.length;)(t=i[a++]).length&&X(n,{key:ec(ee(r=er(t,"="))),value:ec(J(r,"="))})},serialize:function(){for(var e,t=this.entries,r=[],n=0;n<t.length;)X(r,ep((e=t[n++]).key)+"="+ep(e.value));return J(r,"&")},update:function(){this.entries.length=0,this.parseQuery(this.url.query)},updateURL:function(){this.url&&this.url.update()}};var ey=function(){m(this,em);var e=arguments.length>0?arguments[0]:void 0,t=U(this,new eg(e));u||(this.size=t.entries.length)},em=ey.prototype;if(h(em,{append:function(e,t){var r=j(this);A(arguments.length,2),X(r.entries,{key:P(e),value:P(t)}),!u&&this.size++,r.updateURL()},delete:function(e){for(var t=j(this),r=A(arguments.length,1),n=t.entries,i=P(e),a=r<2?void 0:arguments[1],o=void 0===a?a:P(a),s=0;s<n.length;){var l=n[s];if(l.key===i&&(void 0===o||l.value===o)){if(et(n,s,1),void 0!==o)break}else s++}u||(this.size=n.length),t.updateURL()},get:function(e){var t=j(this).entries;A(arguments.length,1);for(var r=P(e),n=0;n<t.length;n++)if(t[n].key===r)return t[n].value;return null},getAll:function(e){var t=j(this).entries;A(arguments.length,1);for(var r=P(e),n=[],i=0;i<t.length;i++)t[i].key===r&&X(n,t[i].value);return n},has:function(e){for(var t=j(this).entries,r=A(arguments.length,1),n=P(e),i=r<2?void 0:arguments[1],a=void 0===i?i:P(i),o=0;o<t.length;){var s=t[o++];if(s.key===n&&(void 0===a||s.value===a))return!0}return!1},set:function(e,t){var r,n=j(this);A(arguments.length,1);for(var i=n.entries,a=!1,o=P(e),s=P(t),l=0;l<i.length;l++)(r=i[l]).key===o&&(a?et(i,l--,1):(a=!0,r.value=s));a||X(i,{key:o,value:s}),u||(this.size=i.length),n.updateURL()},sort:function(){var e=j(this);M(e.entries,function(e,t){return e.key>t.key?1:-1}),e.updateURL()},forEach:function(e){for(var t,r=j(this).entries,n=S(e,arguments.length>1?arguments[1]:void 0),i=0;i<r.length;)n((t=r[i++]).value,t.key,this)},keys:function(){return new ev(this,"keys")},values:function(){return new ev(this,"values")},entries:function(){return new ev(this,"entries")}},{enumerable:!0}),f(em,z,em.entries,{name:"entries"}),f(em,"toString",function(){return j(this).serialize()},{enumerable:!0}),u&&d(em,"size",{get:function(){return j(this).entries.length},configurable:!0,enumerable:!0}),p(ey,D),n({global:!0,constructor:!0,forced:!c},{URLSearchParams:ey}),!c&&b(W)){var eb=l(B.has),ew=l(B.set),eS=function(e){if(_(e)){var t,r=e.body;if(k(r)===D)return eb(t=e.headers?new W(e.headers):new W,"content-type")||ew(t,"content-type","application/x-www-form-urlencoded;charset=UTF-8"),x(e,{body:C(0,P(r)),headers:C(0,t)})}return e};if(b(F)&&n({global:!0,enumerable:!0,dontCallGetSet:!0,forced:!0},{fetch:function(e){return F(e,arguments.length>1?eS(arguments[1]):{})}}),b(q)){var ek=function(e){return m(this,K),new q(e,arguments.length>1?eS(arguments[1]):{})};K.constructor=ek,ek.prototype=K,n({global:!0,constructor:!0,dontCallGetSet:!0,forced:!0},{Request:ek})}}e.exports={URLSearchParams:ey,getState:j}},52205(e,t,r){var n=r(59430),i=r(52782),a=r(13641),o=r(26406),s=URLSearchParams,l=s.prototype,u=i(l.append),c=i(l.delete),f=i(l.forEach),d=i([].push),h=new s("a=1&a=2&b=3");h.delete("a",1),h.delete("b",void 0),h+""!="a=2"&&n(l,"delete",function(e){var t,r=arguments.length,n=r<2?void 0:arguments[1];if(r&&void 0===n)return c(this,e);var i=[];f(this,function(e,t){d(i,{key:t,value:e})}),o(r,1);for(var s=a(e),l=a(n),h=0,p=0,g=!1,y=i.length;h<y;)t=i[h++],g||t.key===s?(g=!0,c(this,t.key)):p++;for(;p<y;)((t=i[p++]).key!==s||t.value!==l)&&u(this,t.key,t.value)},{enumerable:!0,unsafe:!0})},40768(e,t,r){var n=r(59430),i=r(52782),a=r(13641),o=r(26406),s=URLSearchParams,l=s.prototype,u=i(l.getAll),c=i(l.has),f=new s("a=1");(f.has("a",2)||!f.has("a",void 0))&&n(l,"has",function(e){var t=arguments.length,r=t<2?void 0:arguments[1];if(t&&void 0===r)return c(this,e);var n=u(this,e);o(t,1);for(var i=a(r),s=0;s<n.length;)if(n[s++]===i)return!0;return!1},{enumerable:!0,unsafe:!0})},38978(e,t,r){r(75556)},76235(e,t,r){var n=r(19058),i=r(52782),a=r(7108),o=URLSearchParams.prototype,s=i(o.forEach);!n||"size"in o||a(o,"size",{get:function(){var e=0;return s(this,function(){e++}),e},configurable:!0,enumerable:!0})},6184(e,t,r){r(17166);var n,i=r(64808),a=r(19058),o=r(79542),s=r(6974),l=r(92254),u=r(52782),c=r(59430),f=r(7108),d=r(50473),h=r(76151),p=r(37187),g=r(77930),y=r(34766),m=r(68445).codeAt,b=r(79855),w=r(13641),S=r(32377),k=r(26406),E=r(75556),_=r(66935),P=_.set,x=_.getterFor("URL"),C=E.URLSearchParams,O=E.getState,R=s.URL,I=s.TypeError,A=s.parseInt,T=Math.floor,M=Math.pow,z=u("".charAt),D=u(/./.exec),L=u([].join),U=u(1.1.toString),j=u([].pop),N=u([].push),F=u("".replace),q=u([].shift),W=u("".split),K=u("".slice),B=u("".toLowerCase),$=u([].unshift),V="Invalid scheme",Y="Invalid host",Q="Invalid port",H=/[a-z]/i,G=/[\d+-.a-z]/i,J=/\d/,X=/^0x/i,Z=/^[0-7]+$/,ee=/^\d+$/,et=/^[\da-f]+$/i,er=/[\0\t\n\r #%/:<>?@[\\\]^|]/,en=/[\0\t\n\r #/:<>?@[\\\]^|]/,ei=/^[\u0000-\u0020]+/,ea=/(^|[^\u0000-\u0020])[\u0000-\u0020]+$/,eo=/[\t\n\r]/g,es=function(e){var t,r,n,i,a,o,s,l=W(e,".");if(l.length&&""===l[l.length-1]&&l.length--,(t=l.length)>4)return e;for(n=0,r=[];n<t;n++){if(""===(i=l[n]))return e;if(a=10,i.length>1&&"0"===z(i,0)&&(a=D(X,i)?16:8,i=K(i,8===a?1:2)),""===i)o=0;else{if(!D(10===a?ee:8===a?Z:et,i))return e;o=A(i,a)}N(r,o)}for(n=0;n<t;n++)if(o=r[n],n===t-1){if(o>=M(256,5-t))return null}else if(o>255)return null;for(s=j(r),n=0;n<r.length;n++)s+=r[n]*M(256,3-n);return s},el=function(e){var t,r,n,i,a,o,s,l=[0,0,0,0,0,0,0,0],u=0,c=null,f=0,d=function(){return z(e,f)};if(":"===d()){if(":"!==z(e,1))return;f+=2,c=++u}for(;d();){if(8===u)return;if(":"===d()){if(null!==c)return;f++,c=++u;continue}for(t=r=0;r<4&&D(et,d());)t=16*t+A(d(),16),f++,r++;if("."===d()){if(0===r||(f-=r,u>6))return;for(n=0;d();){if(i=null,n>0)if("."!==d()||!(n<4))return;else f++;if(!D(J,d()))return;for(;D(J,d());){if(a=A(d(),10),null===i)i=a;else{if(0===i)return;i=10*i+a}if(i>255)return;f++}l[u]=256*l[u]+i,(2==++n||4===n)&&u++}if(4!==n)return;break}if(":"===d()){if(f++,!d())return}else if(d())return;l[u++]=t}if(null!==c)for(o=u-c,u=7;0!==u&&o>0;)s=l[u],l[u--]=l[c+o-1],l[c+--o]=s;else if(8!==u)return;return l},eu=function(e){for(var t=null,r=1,n=null,i=0,a=0;a<8;a++)0!==e[a]?(i>r&&(t=n,r=i),n=null,i=0):(null===n&&(n=a),++i);return i>r?n:t},ec=function(e){var t,r,n,i;if("number"==typeof e){for(r=0,t=[];r<4;r++)$(t,e%256),e=T(e/256);return L(t,".")}if("object"==typeof e){for(t="",n=eu(e),r=0;r<8;r++)(!i||0!==e[r])&&(i&&(i=!1),n===r?(t+=r?":":"::",i=!0):(t+=U(e[r],16),r<7&&(t+=":")));return"["+t+"]"}return e},ef={},ed=p({},ef,{" ":1,'"':1,"<":1,">":1,"`":1}),eh=p({},ed,{"#":1,"?":1,"{":1,"}":1}),ep=p({},eh,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),ev=function(e,t){var r=m(e,0);return r>32&&r<127&&!h(t,e)?e:encodeURIComponent(e)},eg={ftp:21,file:null,http:80,https:443,ws:80,wss:443},ey=function(e,t){var r;return 2===e.length&&D(H,z(e,0))&&(":"===(r=z(e,1))||!t&&"|"===r)},em=function(e){var t;return e.length>1&&ey(K(e,0,2))&&(2===e.length||"/"===(t=z(e,2))||"\\"===t||"?"===t||"#"===t)},eb={},ew={},eS={},ek={},eE={},e_={},eP={},ex={},eC={},eO={},eR={},eI={},eA={},eT={},eM={},ez={},eD={},eL={},eU={},ej={},eN={},eF=function(e,t,r){var n,i,a,o=w(e);if(t){if(i=this.parse(o))throw new I(i);this.searchParams=null}else{if(void 0!==r&&(n=new eF(r,!0)),i=this.parse(o,null,n))throw new I(i);(a=O(new C)).bindURL(this),this.searchParams=a}};eF.prototype={type:"URL",parse:function(e,t,r){var i=t||eb,a=0,o="",s=!1,l=!1,u=!1;for(e=w(e),t||(this.scheme="",this.username="",this.password="",this.host=null,this.port=null,this.path=[],this.query=null,this.fragment=null,this.cannotBeABaseURL=!1,e=F(e,ei,""),e=F(e,ea,"$1")),c=g(e=F(e,eo,""));a<=c.length;){switch(f=c[a],i){case eb:if(f&&D(H,f))o+=B(f),i=ew;else{if(t)return V;i=eS;continue}break;case ew:if(f&&(D(G,f)||"+"===f||"-"===f||"."===f))o+=B(f);else if(":"===f){if(t&&(this.isSpecial()!==h(eg,o)||"file"===o&&(this.includesCredentials()||null!==this.port)||"file"===this.scheme&&!this.host))return;if(this.scheme=o,t){this.isSpecial()&&eg[this.scheme]===this.port&&(this.port=null);return}o="","file"===this.scheme?i=eT:this.isSpecial()&&r&&r.scheme===this.scheme?i=ek:this.isSpecial()?i=ex:"/"===c[a+1]?(i=eE,a++):(this.cannotBeABaseURL=!0,N(this.path,""),i=eU)}else{if(t)return V;o="",i=eS,a=0;continue}break;case eS:if(!r||r.cannotBeABaseURL&&"#"!==f)return V;if(r.cannotBeABaseURL&&"#"===f){this.scheme=r.scheme,this.path=y(r.path),this.query=r.query,this.fragment="",this.cannotBeABaseURL=!0,i=eN;break}i="file"===r.scheme?eT:e_;continue;case ek:if("/"===f&&"/"===c[a+1])i=eC,a++;else{i=e_;continue}break;case eE:if("/"===f){i=eO;break}i=eL;continue;case e_:if(this.scheme=r.scheme,f===n)this.username=r.username,this.password=r.password,this.host=r.host,this.port=r.port,this.path=y(r.path),this.query=r.query;else if("/"===f||"\\"===f&&this.isSpecial())i=eP;else if("?"===f)this.username=r.username,this.password=r.password,this.host=r.host,this.port=r.port,this.path=y(r.path),this.query="",i=ej;else if("#"===f)this.username=r.username,this.password=r.password,this.host=r.host,this.port=r.port,this.path=y(r.path),this.query=r.query,this.fragment="",i=eN;else{this.username=r.username,this.password=r.password,this.host=r.host,this.port=r.port,this.path=y(r.path),this.path.length--,i=eL;continue}break;case eP:if(this.isSpecial()&&("/"===f||"\\"===f))i=eC;else if("/"===f)i=eO;else{this.username=r.username,this.password=r.password,this.host=r.host,this.port=r.port,i=eL;continue}break;case ex:if(i=eC,"/"!==f||"/"!==z(o,a+1))continue;a++;break;case eC:if("/"!==f&&"\\"!==f){i=eO;continue}break;case eO:if("@"===f){s&&(o="%40"+o),s=!0,d=g(o);for(var c,f,d,p,m,b,S=0;S<d.length;S++){var k=d[S];if(":"===k&&!u){u=!0;continue}var E=ev(k,ep);u?this.password+=E:this.username+=E}o=""}else if(f===n||"/"===f||"?"===f||"#"===f||"\\"===f&&this.isSpecial()){if(s&&""===o)return"Invalid authority";a-=g(o).length+1,o="",i=eR}else o+=f;break;case eR:case eI:if(t&&"file"===this.scheme){i=ez;continue}if(":"!==f||l)if(f===n||"/"===f||"?"===f||"#"===f||"\\"===f&&this.isSpecial()){if(this.isSpecial()&&""===o)return Y;if(t&&""===o&&(this.includesCredentials()||null!==this.port))return;if(p=this.parseHost(o))return p;if(o="",i=eD,t)return;continue}else"["===f?l=!0:"]"===f&&(l=!1),o+=f;else{if(""===o)return Y;if(p=this.parseHost(o))return p;if(o="",i=eA,t===eI)return}break;case eA:if(D(J,f))o+=f;else{if(!(f===n||"/"===f||"?"===f||"#"===f||"\\"===f&&this.isSpecial())&&!t)return Q;if(""!==o){var _=A(o,10);if(_>65535)return Q;this.port=this.isSpecial()&&_===eg[this.scheme]?null:_,o=""}if(t)return;i=eD;continue}break;case eT:if(this.scheme="file","/"===f||"\\"===f)i=eM;else if(r&&"file"===r.scheme)switch(f){case n:this.host=r.host,this.path=y(r.path),this.query=r.query;break;case"?":this.host=r.host,this.path=y(r.path),this.query="",i=ej;break;case"#":this.host=r.host,this.path=y(r.path),this.query=r.query,this.fragment="",i=eN;break;default:em(L(y(c,a),""))||(this.host=r.host,this.path=y(r.path),this.shortenPath()),i=eL;continue}else{i=eL;continue}break;case eM:if("/"===f||"\\"===f){i=ez;break}r&&"file"===r.scheme&&!em(L(y(c,a),""))&&(ey(r.path[0],!0)?N(this.path,r.path[0]):this.host=r.host),i=eL;continue;case ez:if(f===n||"/"===f||"\\"===f||"?"===f||"#"===f){if(!t&&ey(o))i=eL;else if(""===o){if(this.host="",t)return;i=eD}else{if(p=this.parseHost(o))return p;if("localhost"===this.host&&(this.host=""),t)return;o="",i=eD}continue}o+=f;break;case eD:if(this.isSpecial()){if(i=eL,"/"!==f&&"\\"!==f)continue}else if(t||"?"!==f)if(t||"#"!==f){if(f!==n&&(i=eL,"/"!==f))continue}else this.fragment="",i=eN;else this.query="",i=ej;break;case eL:if(f===n||"/"===f||"\\"===f&&this.isSpecial()||!t&&("?"===f||"#"===f)){if(".."===(m=B(m=o))||"%2e."===m||".%2e"===m||"%2e%2e"===m?(this.shortenPath(),"/"===f||"\\"===f&&this.isSpecial()||N(this.path,"")):"."===(b=o)||"%2e"===B(b)?"/"===f||"\\"===f&&this.isSpecial()||N(this.path,""):("file"===this.scheme&&!this.path.length&&ey(o)&&(this.host&&(this.host=""),o=z(o,0)+":"),N(this.path,o)),o="","file"===this.scheme&&(f===n||"?"===f||"#"===f))for(;this.path.length>1&&""===this.path[0];)q(this.path);"?"===f?(this.query="",i=ej):"#"===f&&(this.fragment="",i=eN)}else o+=ev(f,eh);break;case eU:"?"===f?(this.query="",i=ej):"#"===f?(this.fragment="",i=eN):f!==n&&(this.path[0]+=ev(f,ef));break;case ej:t||"#"!==f?f!==n&&("'"===f&&this.isSpecial()?this.query+="%27":"#"===f?this.query+="%23":this.query+=ev(f,ef)):(this.fragment="",i=eN);break;case eN:f!==n&&(this.fragment+=ev(f,ed))}a++}},parseHost:function(e){var t,r,n;if("["===z(e,0)){if("]"!==z(e,e.length-1)||!(t=el(K(e,1,-1))))return Y;this.host=t}else if(this.isSpecial()){if(D(er,e=b(e))||null===(t=es(e)))return Y;this.host=t}else{if(D(en,e))return Y;for(t="",r=g(e),n=0;n<r.length;n++)t+=ev(r[n],ef);this.host=t}},cannotHaveUsernamePasswordPort:function(){return!this.host||this.cannotBeABaseURL||"file"===this.scheme},includesCredentials:function(){return""!==this.username||""!==this.password},isSpecial:function(){return h(eg,this.scheme)},shortenPath:function(){var e=this.path,t=e.length;t&&("file"!==this.scheme||1!==t||!ey(e[0],!0))&&e.length--},serialize:function(){var e=this.scheme,t=this.username,r=this.password,n=this.host,i=this.port,a=this.path,o=this.query,s=this.fragment,l=e+":";return null!==n?(l+="//",this.includesCredentials()&&(l+=t+(r?":"+r:"")+"@"),l+=ec(n),null!==i&&(l+=":"+i)):"file"===e&&(l+="//"),l+=this.cannotBeABaseURL?a[0]:a.length?"/"+L(a,"/"):"",null!==o&&(l+="?"+o),null!==s&&(l+="#"+s),l},setHref:function(e){var t=this.parse(e);if(t)throw new I(t);this.searchParams.update()},getOrigin:function(){var e=this.scheme,t=this.port;if("blob"===e)try{return new eq(e.path[0]).origin}catch(e){return"null"}return"file"!==e&&this.isSpecial()?e+"://"+ec(this.host)+(null!==t?":"+t:""):"null"},getProtocol:function(){return this.scheme+":"},setProtocol:function(e){this.parse(w(e)+":",eb)},getUsername:function(){return this.username},setUsername:function(e){var t=g(w(e));if(!this.cannotHaveUsernamePasswordPort()){this.username="";for(var r=0;r<t.length;r++)this.username+=ev(t[r],ep)}},getPassword:function(){return this.password},setPassword:function(e){var t=g(w(e));if(!this.cannotHaveUsernamePasswordPort()){this.password="";for(var r=0;r<t.length;r++)this.password+=ev(t[r],ep)}},getHost:function(){var e=this.host,t=this.port;return null===e?"":null===t?ec(e):ec(e)+":"+t},setHost:function(e){this.cannotBeABaseURL||this.parse(e,eR)},getHostname:function(){var e=this.host;return null===e?"":ec(e)},setHostname:function(e){this.cannotBeABaseURL||this.parse(e,eI)},getPort:function(){var e=this.port;return null===e?"":w(e)},setPort:function(e){this.cannotHaveUsernamePasswordPort()||(""===(e=w(e))?this.port=null:this.parse(e,eA))},getPathname:function(){var e=this.path;return this.cannotBeABaseURL?e[0]:e.length?"/"+L(e,"/"):""},setPathname:function(e){this.cannotBeABaseURL||(this.path=[],this.parse(e,eD))},getSearch:function(){var e=this.query;return e?"?"+e:""},setSearch:function(e){""===(e=w(e))?this.query=null:("?"===z(e,0)&&(e=K(e,1)),this.query="",this.parse(e,ej)),this.searchParams.update()},getSearchParams:function(){return this.searchParams.facade},getHash:function(){var e=this.fragment;return e?"#"+e:""},setHash:function(e){if(""===(e=w(e))){this.fragment=null;return}"#"===z(e,0)&&(e=K(e,1)),this.fragment="",this.parse(e,eN)},update:function(){this.query=this.searchParams.serialize()||null}};var eq=function(e){var t=d(this,eW),r=k(arguments.length,1)>1?arguments[1]:void 0,n=P(t,new eF(e,!1,r));a||(t.href=n.serialize(),t.origin=n.getOrigin(),t.protocol=n.getProtocol(),t.username=n.getUsername(),t.password=n.getPassword(),t.host=n.getHost(),t.hostname=n.getHostname(),t.port=n.getPort(),t.pathname=n.getPathname(),t.search=n.getSearch(),t.searchParams=n.getSearchParams(),t.hash=n.getHash())},eW=eq.prototype,eK=function(e,t){return{get:function(){return x(this)[e]()},set:t&&function(e){return x(this)[t](e)},configurable:!0,enumerable:!0}};if(a&&(f(eW,"href",eK("serialize","setHref")),f(eW,"origin",eK("getOrigin")),f(eW,"protocol",eK("getProtocol","setProtocol")),f(eW,"username",eK("getUsername","setUsername")),f(eW,"password",eK("getPassword","setPassword")),f(eW,"host",eK("getHost","setHost")),f(eW,"hostname",eK("getHostname","setHostname")),f(eW,"port",eK("getPort","setPort")),f(eW,"pathname",eK("getPathname","setPathname")),f(eW,"search",eK("getSearch","setSearch")),f(eW,"searchParams",eK("getSearchParams")),f(eW,"hash",eK("getHash","setHash"))),c(eW,"toJSON",function(){return x(this).serialize()},{enumerable:!0}),c(eW,"toString",function(){return x(this).serialize()},{enumerable:!0}),R){var eB=R.createObjectURL,e$=R.revokeObjectURL;eB&&c(eq,"createObjectURL",l(eB,R)),e$&&c(eq,"revokeObjectURL",l(e$,R))}S(eq,"URL"),i({global:!0,constructor:!0,forced:!o,sham:!a},{URL:eq})},74302(e,t,r){r(6184)},30686(e,t,r){var n=r(64808),i=r(33179);n({target:"URL",proto:!0,enumerable:!0},{toJSON:function(){return i(URL.prototype.toString,this)}})},27213(e,t,r){function n(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}r.d(t,{_:()=>n})},50784(e,t,r){r(36395),r(20498),r(40807),r(85281),r(67548),r(70954),r(98803),r(79162),r(15385),r(39342),r(69152),r(20303),r(99166),r(6106),r(93619),r(22742),r(24330),r(37553),r(62148),r(89055),r(41435),r(12205),r(65850),r(65135);var n=Object.prototype.hasOwnProperty;function i(e,t,r){for(r of e.keys())if(a(r,t))return r}function a(e,t){var r,o,s;if(e===t)return!0;if(e&&t&&(r=e.constructor)===t.constructor){if(r===Date)return e.getTime()===t.getTime();if(r===RegExp)return e.toString()===t.toString();if(r===Array){if((o=e.length)===t.length)for(;o--&&a(e[o],t[o]););return -1===o}if(r===Set){if(e.size!==t.size)return!1;for(o of e)if((s=o)&&"object"==typeof s&&!(s=i(t,s))||!t.has(s))return!1;return!0}if(r===Map){if(e.size!==t.size)return!1;for(o of e)if((s=o[0])&&"object"==typeof s&&!(s=i(t,s))||!a(o[1],t.get(s)))return!1;return!0}if(r===ArrayBuffer)e=new Uint8Array(e),t=new Uint8Array(t);else if(r===DataView){if((o=e.byteLength)===t.byteLength)for(;o--&&e.getInt8(o)===t.getInt8(o););return -1===o}if(ArrayBuffer.isView(e)){if((o=e.byteLength)===t.byteLength)for(;o--&&e[o]===t[o];);return -1===o}if(!r||"object"==typeof e){for(r in o=0,e)if(n.call(e,r)&&++o&&!n.call(t,r)||!(r in t)||!a(e[r],t[r]))return!1;return Object.keys(t).length===o}}return e!=e&&t!=t}r.d(t,{j:()=>a})},86575(e,t,r){function n(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function i(e){return function(t){let r=null!=t?t:this;if(!r)throw TypeError("".concat(e.kind||e.name," type guard requires an error object"));if(e.kind&&"object"==typeof r&&null!==r&&"constructor"in r){var n;if((null==(n=r.constructor)?void 0:n.kind)===e.kind)return!0}return r instanceof e}}r(15254),r(20498),r(40807),r(85281),r(96954);var a,o,s=(a=class e extends Error{get name(){return this.constructor.name}toString(){return"[".concat(this.name,"]\nMessage:").concat(this.message)}static formatMessage(e,t,r,n){let i="Clerk:",a=RegExp(i.replace(" ","\\s*"),"i");return t=t.replace(a,""),t="".concat(i," ").concat(t.trim(),'\n\n(code="').concat(r,'")\n\n'),n&&(t+="\n\nDocs: ".concat(n)),t}constructor(t){super(new.target.formatMessage(new.target.kind,t.message,t.code,t.docsUrl),{cause:t.cause}),n(this,"clerkError",!0),n(this,"code",void 0),n(this,"longMessage",void 0),n(this,"docsUrl",void 0),n(this,"cause",void 0),Object.setPrototypeOf(this,e.prototype),this.code=t.code,this.docsUrl=t.docsUrl,this.longMessage=t.longMessage,this.cause=t.cause}},n(a,"kind","ClerkError"),a),l=(o=class e extends s{constructor(t,r){super({...r,message:t}),n(this,"clerkRuntimeError",!0),Object.setPrototypeOf(this,e.prototype)}},n(o,"kind","ClerkRuntimeError"),o);let u=i(l);r.d(t,{a:()=>i,r:()=>s,t:()=>l},{n:u})},64093(e,t,r){r(73560);var n=r(98591);r.d(t,{},{t:()=>{let e=n.t,t=n.t;return{promise:new Promise((r,n)=>{e=r,t=n}),resolve:e,reject:t}}})},21663(e,t,r){r(42949),r(37891),r(85281),r(29381),r(96954),r(36395),r(15254),r(52277),r(67548),r(70954),r(98803),r(79162),r(15385),r(39342),r(69152),r(12021);var n,i,a,o,s=r(47127),l=r(86575);function u(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var c=(n=class{constructor(e){var t,r,n,i,a,o,s,l,c,f,d,h,p,g,y,m,b;u(this,"code",void 0),u(this,"message",void 0),u(this,"longMessage",void 0),u(this,"meta",void 0);const w={code:e.code,message:e.message,longMessage:e.long_message,meta:{paramName:null==(t=e.meta)?void 0:t.param_name,sessionId:null==(r=e.meta)?void 0:r.session_id,emailAddresses:null==(n=e.meta)?void 0:n.email_addresses,identifiers:null==(i=e.meta)?void 0:i.identifiers,zxcvbn:null==(a=e.meta)?void 0:a.zxcvbn,plan:null==(o=e.meta)?void 0:o.plan,isPlanUpgradePossible:null==(s=e.meta)?void 0:s.is_plan_upgrade_possible,seatsQuantityToAdd:null==(l=e.meta)?void 0:l.seats_quantity_to_add,seatsQuantity:null==(c=e.meta)?void 0:c.seats_quantity,traceId:null==(f=e.meta)?void 0:f.trace_id,kind:null==(d=e.meta)?void 0:d.kind,title:null==(h=e.meta)?void 0:h.title,description:null==(p=e.meta)?void 0:p.description,linkUrl:null==(g=e.meta)?void 0:g.link_url,linkText:null==(y=e.meta)?void 0:y.link_text,data:null==(m=e.meta)?void 0:m.data,providerError:null==(b=e.meta)?void 0:b.provider_error}};this.code=w.code,this.message=w.message,this.longMessage=w.longMessage,this.meta=w.meta}},u(n,"kind","ClerkAPIError"),n);(0,l.a)(c);var f=(i=class e extends l.r{toString(){let e="[".concat(this.name,"]\nMessage:").concat(this.message,"\nStatus:").concat(this.status,"\nSerialized errors: ").concat(this.errors.map(e=>JSON.stringify(e)));return this.clerkTraceId&&(e+="\nClerk Trace ID: ".concat(this.clerkTraceId)),e}static formatMessage(e,t,r,n){return t}constructor(t,r){const{data:n,status:i,clerkTraceId:a,retryAfter:o}=r;super({...r,message:t,code:"api_response_error"}),u(this,"status",void 0),u(this,"clerkTraceId",void 0),u(this,"retryAfter",void 0),u(this,"errors",void 0),Object.setPrototypeOf(this,e.prototype),this.status=i,this.clerkTraceId=a,this.retryAfter=o,this.errors=(n||[]).map(e=>new c(e))}},u(i,"kind","ClerkAPIResponseError"),i);let d=(0,l.a)(f);u(a=class e extends f{static is(t){return d(t)&&t.status===e.STATUS&&t.errors.length>0&&t.errors[0].code===e.ERROR_CODE}},"kind","MissingExpiredTokenError"),u(a,"ERROR_CODE","missing_expired_token"),u(a,"STATUS",422),u(o=class e extends l.t{static is(t){return null!=t&&(t instanceof e||(0,l.n)(t)&&t.code===e.ERROR_CODE)}constructor(t){super(t,{code:e.ERROR_CODE}),Object.setPrototypeOf(this,e.prototype)}},"kind","ClerkOfflineError"),u(o,"ERROR_CODE","clerk_offline");let h=Object.freeze({InvalidProxyUrlErrorMessage:"The proxyUrl passed to Clerk is invalid. The expected value for proxyUrl is an absolute URL or a relative path with a leading '/'. (key={{url}})",InvalidPublishableKeyErrorMessage:"The publishableKey passed to Clerk is invalid (key={{key}}, expected format: pk_test_... or pk_live_...).\n\n".concat(s.n),MissingPublishableKeyErrorMessage:"Clerk keys are missing from your environment.\n\n".concat(s.n),MissingSecretKeyErrorMessage:"Missing secretKey.\n\n".concat(s.t),MissingClerkProvider:"{{source}} can only be used within the <ClerkProvider /> component. Learn more: https://clerk.com/docs/components/clerk-provider"});function p(e){let{packageName:t,customMessages:r}=e,n=t;function i(e,t){if(!t)return"".concat(n,": ").concat(e);let r=e;for(let n of e.matchAll(/{{([a-zA-Z0-9-_]+)}}/g)){let e=(t[n[1]]||"").toString();r=r.replace("{{".concat(n[1],"}}"),e)}return"".concat(n,": ").concat(r)}let a={...h,...r};return{setPackageName(e){let{packageName:t}=e;return"string"==typeof t&&(n=t),this},setMessages(e){let{customMessages:t}=e;return Object.assign(a,t||{}),this},throwInvalidPublishableKeyError(e){throw Error(i(a.InvalidPublishableKeyErrorMessage,e))},throwInvalidProxyUrl(e){throw Error(i(a.InvalidProxyUrlErrorMessage,e))},throwMissingPublishableKeyError(){throw Error(i(a.MissingPublishableKeyErrorMessage))},throwMissingSecretKeyError(){throw Error(i(a.MissingSecretKeyErrorMessage))},throwMissingClerkProviderError(e){throw Error(i(a.MissingClerkProvider,e))},throw(e){throw Error(i(e))}}}function g(e){return d(e)||m(e)||(0,l.n)(e)}function y(e){return(0,l.n)(e)&&"reverification_cancelled"===e.code}function m(e){return"code"in e&&[4001,32602,32603].includes(e.code)&&"message"in e}function b(e){var t,r;return d(e)&&(null==(r=e.errors)||null==(t=r[0])?void 0:t.code)==="user_locked"}function w(e){var t,r;return d(e)&&(null==(r=e.errors)||null==(t=r[0])?void 0:t.code)==="form_password_pwned"}function S(e){var t,r;return d(e)&&(null==(r=e.errors)||null==(t=r[0])?void 0:t.code)==="form_password_compromised"}function k(e){return"EmailLinkError"===e.name}r.d(t,{a:()=>k,d:()=>y,l:()=>S,m:()=>b,o:()=>g,s:()=>m,u:()=>w,y:()=>p},{C:d,v:{Expired:"expired",Failed:"failed",ClientMismatch:"client_mismatch"}})},47127(e,t,r){let n="To use an existing Clerk app, run:\nnpx clerk@latest link\nnpx clerk@latest env pull\n\nFor production keys, run:\nnpx clerk@latest env pull --instance prod",i="Or copy keys from https://dashboard.clerk.com/~/api-keys into your .env file.",a="To create a new Clerk app, run:\nnpx clerk@latest init\n\n'npx clerk@latest init' does not need a Clerk account and writes temporary dev keys.\n\n".concat(n,"\n\n").concat(i),o="".concat(n,"\n\n").concat(i);r.d(t,{},{n:a,t:o})},98591(e,t,r){r.d(t,{},{t:function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r]}})},91311(e,t,r){r(52277),r(42949),r(12021),r.d(t,{},{a:()=>!1,i:()=>{try{return!0}catch{}return!1},r:()=>!1,t:["CI","CONTINUOUS_INTEGRATION","GITHUB_ACTIONS","GITLAB_CI","CIRCLECI","TRAVIS","BUILDKITE","BITBUCKET_BUILD_NUMBER","APPVEYOR","CODEBUILD_BUILD_ID","TF_BUILD","TEAMCITY_VERSION","JENKINS_URL","HUDSON_URL","BAMBOO_BUILDKEY","CF_PAGES"]})},65532(e,t,r){var n,i,a,o,s,l,u,c,f,d,h,p,g,y,m;r(42949),r(12021),r(36395),r(32037),r(67548),r(70954),r(98803),r(79162),r(15385),r(39342),r(69152),r(14104),r(37891),r(18723),r(74302),r(30686),r(38978),r(52205),r(40768),r(76235),r(73560),r(61102),r(91311),r(56874),Symbol.for("@clerk/shared.telemetryNoticeShown"),n=new WeakMap,i=new WeakMap,a=new WeakSet,o=new WeakMap,s=new WeakSet,l=new WeakMap,u=new WeakMap,c=new WeakMap,f=new WeakMap,d=new WeakMap,h=new WeakMap,p=new WeakMap,g=new WeakSet,y=new WeakSet,m=new WeakSet;let b=new Set(["SignIn","SignUp"]);function w(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return{event:"COMPONENT_MOUNTED",eventSamplingRate:b.has(e)?1:.1,payload:{component:e,...t}}}function S(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1;return{event:"FLOW_STEP_MOUNTED",eventSamplingRate:n,payload:{flow:e,step:t,metadata:r}}}function k(e,t){return{event:"METHOD_CALLED",eventSamplingRate:.1,payload:{method:e,...t}}}r.d(t,{a:()=>k,o:()=>S,s:()=>w})},30129(e,t,r){function n(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"svg";return"https://img.clerk.com/static/".concat(e,".").concat(t)}r.d(t,{at:()=>n},{gE:[".lcl.dev",".stg.dev",".lclstage.dev",".stgstage.dev",".dev.lclclerk.com",".stg.lclclerk.com",".accounts.lclclerk.com","accountsstage.dev","accounts.dev"]})},71756(e,t,r){var n=r(86575),i=r(21663);r.d(t,{$R:()=>i.C,Au:()=>i.u,Cm:()=>n.n,I3:()=>i.d,_d:()=>i.m,cR:()=>n.t,hl:()=>i.a,kl:()=>i.v,qY:()=>i.l,si:()=>i.s,ux:()=>i.o})},70355(e,t,r){r.d(t,{},{CL:"__clerk_modal_state",Ej:["redirect_url","after_sign_in_url","after_sign_up_url","sign_in_force_redirect_url","sign_in_fallback_redirect_url","sign_up_force_redirect_url","sign_up_fallback_redirect_url"],MC:"__clerk_satellite_url",OQ:{FORM_IDENTIFIER_NOT_FOUND:"form_identifier_not_found",FORM_PASSWORD_INCORRECT:"form_password_incorrect",FORM_PASSWORD_PWNED:"form_password_pwned",INVALID_STRATEGY_FOR_USER:"strategy_for_user_invalid",NOT_ALLOWED_TO_SIGN_UP:"not_allowed_to_sign_up",OAUTH_ACCESS_DENIED:"oauth_access_denied",OAUTH_EMAIL_DOMAIN_RESERVED_BY_SAML:"oauth_email_domain_reserved_by_saml",NOT_ALLOWED_ACCESS:"not_allowed_access",SAML_USER_ATTRIBUTE_MISSING:"saml_user_attribute_missing",USER_LOCKED:"user_locked",EXTERNAL_ACCOUNT_NOT_FOUND:"external_account_not_found",EXTERNAL_ACCOUNT_EXISTS:"external_account_exists",SESSION_EXISTS:"session_exists",SIGN_UP_MODE_RESTRICTED:"sign_up_mode_restricted",SIGN_UP_MODE_RESTRICTED_WAITLIST:"sign_up_restricted_waitlist",ENTERPRISE_SSO_USER_ATTRIBUTE_MISSING:"enterprise_sso_user_attribute_missing",ENTERPRISE_SSO_EMAIL_ADDRESS_DOMAIN_MISMATCH:"enterprise_sso_email_address_domain_mismatch",ENTERPRISE_SSO_HOSTED_DOMAIN_MISMATCH:"enterprise_sso_hosted_domain_mismatch",SAML_EMAIL_ADDRESS_DOMAIN_MISMATCH:"saml_email_address_domain_mismatch",INVITATION_ACCOUNT_NOT_EXISTS:"invitation_account_not_exists",ORGANIZATION_MEMBERSHIP_QUOTA_EXCEEDED_FOR_SSO:"organization_membership_quota_exceeded_for_sso",CAPTCHA_INVALID:"captcha_invalid",FRAUD_DEVICE_BLOCKED:"device_blocked",FRAUD_ACTION_BLOCKED:"action_blocked",PROTECT_CHECK_ALREADY_RESOLVED:"protect_check_already_resolved",PROTECT_CHECK_REQUIRED:"protect_check_required",PROTECT_CHECK_TIMED_OUT:"protect_check_timed_out",PROTECT_CHECK_UNSUPPORTED_ENVIRONMENT:"protect_check_unsupported_environment",SIGNUP_RATE_LIMIT_EXCEEDED:"signup_rate_limit_exceeded",USER_BANNED:"user_banned",USER_DEACTIVATED:"user_deactivated"},P6:{PUBLIC:"public",RESTRICTED:"restricted",WAITLIST:"waitlist"},UU:["email_address","phone_number","username","first_name","last_name"],Wl:"clerk-captcha",e8:["email_address","phone_number","username"],rt:"__clerk_synced",tz:"suffixed_cookies"})},91117(e,t,r){r(15254);let n="ClerkJS:";function i(e){throw Error("".concat(n," Missing path option. The ").concat(e,' component was mounted with path routing so you need to specify the path where the component is mounted on e.g. path="/sign-in".'))}function a(e){throw Error("".concat(n," Invalid routing strategy, path cannot be used in tandem with ").concat(e,"."))}function o(){throw Error("".concat(n," Clerk instance not found. Make sure Clerk is initialized before using any Clerk components."))}function s(e){throw Error("".concat(n," ").concat(e," not found. Make sure you wrap your app with <").concat(e,">."))}function l(){throw Error("".concat(n," The target element is empty. Provide a valid DOM element."))}function u(e,t){throw Error("".concat(n," Response: ").concat(e||0," not supported yet.\nFor more information contact us at ").concat(t))}function c(e){throw Error("".concat(n," Unable to retrieve a third party script").concat(e?" ".concat(e):"","."))}r.d(t,{$V:()=>l,A8:()=>c,SK:()=>a,i$:()=>s,jB:()=>i,kX:()=>o,wv:()=>u})},1715(e,t,r){r.d(t,{hF:()=>s,hI:()=>a,rw:()=>o}),r(36395),r(74302),r(30686),r(38978),r(52205),r(40768),r(76235),r(85281),r(52277),r(61102);var n=r(70355);let i=["__clerk_status","__clerk_created_session","__clerk_invitation_token","__clerk_ticket","__clerk_modal_state","__clerk_handshake","__clerk_handshake_nonce","__clerk_help","__clerk_netlify_cache_bust",n.rt,n.MC,n.tz];function a(e){return new URL(window.location.href).searchParams.get(e)||null}function o(e){let t=new URL(window.location.href);t.searchParams.has(e)&&(t.searchParams.delete(e),window.history.replaceState(window.history.state,"",t))}function s(e){let t=new URLSearchParams(window.location.search),r=e||new URLSearchParams;for(let e of i){let n=t.get(e);n&&r.set(e,n)}return r}},32638(e,t,r){r.d(t,{j:()=>o,F:()=>a}),r(32037),r(85281),r(96954),r(36395),r(74302),r(30686),r(38978),r(52205),r(40768),r(76235);var n=r(70355),i=r(1715);r(42949),r(37891);let a=()=>{var e;let t=null!=(e=(0,i.hI)("__clerk_modal_state"))?e:"";return t?JSON.parse(atob(t)):null},o=e=>{let{url:t,startPath:r="/user",currentPath:i="",componentName:a,socialProvider:o=""}=e,s=globalThis.btoa(JSON.stringify({path:i.replace(/CLERK-ROUTER\/VIRTUAL\/.*\//,"")||"",componentName:a,startPath:r,socialProvider:o})),l=new URL(t),u=l.searchParams;return u.set(n.CL,s),l.search=u.toString(),l.toString()}},67665(e,t,r){r(32037),r.d(t,{},{y:e=>"u">typeof atob&&"function"==typeof atob?atob(e):void 0!==globalThis.Buffer?globalThis.Buffer.from(e,"base64").toString():e})},61102(e,t,r){r.d(t,{RZ:()=>c,iE:()=>f,q5:()=>l}),r(42949),r(12021),r(85281),r(96954),r(15254),r(52277),r(36395),r(20303),r(99166),r(6106),r(93619),r(22742),r(24330),r(37553),r(62148),r(89055),r(41435),r(12205),r(65850),r(65135),r(73560);var n=r(30129),i=r(47127),a=r(67665);r(32037);let o="pk_live_";function s(e){if(!e.endsWith("$"))return!1;let t=e.slice(0,-1);return!t.includes("$")&&t.includes(".")}function l(e){let t,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!(e=e||"")||!u(e)){if(r.fatal&&!e)throw Error("Publishable key is missing.\n\n".concat(i.n));if(r.fatal&&!u(e))throw Error("Publishable key not valid (expected format: pk_test_... or pk_live_...).\n\n".concat(i.n));return null}let n=e.startsWith(o)?"production":"development";try{t=(0,a.y)(e.split("_")[2])}catch{if(r.fatal)throw Error("Publishable key not valid: Failed to decode key.\n\n".concat(i.n));return null}if(!s(t)){if(r.fatal)throw Error("Publishable key not valid: Decoded key has invalid format.\n\n".concat(i.n));return null}let l=t.slice(0,-1);return r.proxyUrl?l=r.proxyUrl:"development"!==n&&r.domain&&r.isSatellite&&(l="clerk.".concat(r.domain)),{instanceType:n,frontendApi:l}}function u(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";try{if(!(e.startsWith(o)||e.startsWith("pk_test_")))return!1;let t=e.split("_");if(3!==t.length)return!1;let r=t[2];if(!r)return!1;return s((0,a.y)(r))}catch{return!1}}function c(){let e=new Map;return{isDevOrStagingUrl:t=>{if(!t)return!1;let r="string"==typeof t?t:t.hostname,i=e.get(r);return void 0===i&&(i=n.gE.some(e=>r.endsWith(e)),e.set(r,i)),i}}}function f(e){return e.startsWith("test_")||e.startsWith("pk_test_")}},62826(e,t,r){r(67548),r(70954),r(98803),r(79162),r(15385),r(39342),r(69152),r(36395);let n=new Set;r.d(t,{},{v:{warnOnce:e=>{n.has(e)||(n.add(e),console.warn(e))},logOnce:e=>{n.has(e)||(console.log(e),n.add(e))}}})},36762(e,t,r){let n,i,a,o,s,l,u,c,f,d;r.d(t,{Ow:()=>nS,ED:()=>ru,kN:()=>rv,N$:()=>nZ,Rx:()=>rm,cl:()=>nQ,Tn:()=>nV,v$:()=>nn,t7:()=>r7,Jl:()=>nG,X$:()=>r9,rg:()=>ne,tr:()=>r4,kH:()=>nr,WO:()=>rZ,pH:()=>na,ZD:()=>ns,It:()=>rj,zU:()=>np,R:()=>nm,xo:()=>ng,Rs:()=>nv,QE:()=>nh,yS:()=>nb,n6:()=>nd,rn:()=>nw,hl:()=>nc,Dc:()=>nu,LS:()=>rN,Fm:()=>nl,Mn:()=>rA,bm:()=>nf,e3:()=>rl,O4:()=>rI,ho:()=>rF,Oc:()=>r6,$U:()=>rM,Yk:()=>rU,Z5:()=>rK,OM:()=>r$,D_:()=>rY,Sj:()=>n0,Wp:()=>r2,UQ:()=>rQ,wV:()=>rG,Jd:()=>r1}),r(15254),r(36395),r(73560),r(92033),r(52277),r(42949),r(18723),r(37891),r(99780),r(85281),r(96954),r(20498),r(40807),r(86449),r(49678),r(31178),r(14104),r(34330),r(46455);let h="reverification-error";r(67548),r(70954),r(98803),r(79162),r(15385),r(39342),r(69152),r(12021);let p={strict_mfa:{afterMinutes:10,level:"multi_factor"},strict:{afterMinutes:10,level:"second_factor"},moderate:{afterMinutes:60,level:"second_factor"},lax:{afterMinutes:1440,level:"second_factor"}},g=new Set(["first_factor","second_factor","multi_factor"]),y=new Set(["strict_mfa","strict","moderate","lax"]);var m,b,w,S,k,E,_,P,x,C,O,R,I,A,T,M,z,D,L,U,j,N,F,q,W,K,B,$,V,Y,Q,H,G,J,X,Z,ee,et,er,en,ei,ea,eo,es,el,eu,ec,ef,ed,eh,ep,ev,eg,ey,em,eb,ew,eS,ek,eE,e_=r(86575),eP=r(21663),ex=r(62826),eC=r(65532),eO=r(64093),eR=r(91117),eI=r(59701);function eA(e,t,r){if(!t.has(e))throw TypeError("attempted to "+r+" private field on non-instance");return t.get(e)}function eT(e,t){var r=eA(e,t,"get");return r.get?r.get.call(e):r.value}function eM(e,t,r){if(t.has(e))throw TypeError("Cannot initialize the same private elements twice on an object");t.set(e,r)}r(84086);let ez={setTimeout:(e,t)=>setTimeout(e,t),clearTimeout:e=>clearTimeout(e),setInterval:(e,t)=>setInterval(e,t),clearInterval:e=>clearInterval(e)},eD=new(w=new WeakMap,S=new WeakMap,class{setTimeoutProvider(e){var t=this,r=w,n=e,i=eA(t,r,"set");if(i.set)i.set.call(t,n);else{if(!i.writable)throw TypeError("attempted to set read only private field");i.value=n}}setTimeout(e,t){return eT(this,w).setTimeout(e,t)}clearTimeout(e){eT(this,w).clearTimeout(e)}setInterval(e,t){return eT(this,w).setInterval(e,t)}clearInterval(e){eT(this,w).clearInterval(e)}constructor(){eM(this,w,{writable:!0,value:ez}),eM(this,S,{writable:!0,value:!1})}}),eL="u"<typeof window||"Deno"in globalThis;function eU(){}function ej(e){return"number"==typeof e&&e>=0&&e!==1/0}function eN(e,t){return Math.max(e+(t||0)-Date.now(),0)}function eF(e,t){return"function"==typeof e?e(t):e}function eq(e,t){let{type:r="all",exact:n,fetchStatus:i,predicate:a,queryKey:o,stale:s}=e;if(o){if(n){if(t.queryHash!==eK(o,t.options))return!1}else if(!e$(t.queryKey,o))return!1}if("all"!==r){let e=t.isActive();if("active"===r&&!e||"inactive"===r&&e)return!1}return("boolean"!=typeof s||t.isStale()===s)&&(!i||i===t.state.fetchStatus)&&(!a||!!a(t))}function eW(e,t){let{exact:r,status:n,predicate:i,mutationKey:a}=e;if(a){if(!t.options.mutationKey)return!1;if(r){if(eB(t.options.mutationKey)!==eB(a))return!1}else if(!e$(t.options.mutationKey,a))return!1}return(!n||t.state.status===n)&&(!i||!!i(t))}function eK(e,t){return((null==t?void 0:t.queryKeyHashFn)||eB)(e)}function eB(e){return JSON.stringify(e,(e,t)=>eH(t)?Object.keys(t).sort().reduce((e,r)=>(e[r]=t[r],e),{}):t)}function e$(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(e&&t&&"object"==typeof e&&"object"==typeof t){if(Array.isArray(e)&&Array.isArray(t)){for(let r=0;r<t.length;r++)if(!e$(e[r],t[r]))return!1;return!0}for(let r of Object.keys(t))if(!e$(e[r],t[r]))return!1;return!0}return!1}let eV=Object.prototype.hasOwnProperty;function eY(e,t){if(!t||Object.keys(e).length!==Object.keys(t).length)return!1;for(let r in e)if(e[r]!==t[r])return!1;return!0}function eQ(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function eH(e){if(!eG(e))return!1;let t=e.constructor;if(void 0===t)return!0;let r=t.prototype;return!!eG(r)&&!!r.hasOwnProperty("isPrototypeOf")&&Object.getPrototypeOf(e)===Object.prototype}function eG(e){return"[object Object]"===Object.prototype.toString.call(e)}function eJ(e,t,r){return"function"==typeof r.structuralSharing?r.structuralSharing(e,t):!1!==r.structuralSharing?function e(t,r){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(t===r)return t;if(n>500)return r;let i=eQ(t)&&eQ(r);if(!i&&!(eH(t)&&eH(r)))return r;let a=(i?t:Object.keys(t)).length,o=i?r:Object.keys(r),s=o.length,l=i?Array(s):{},u=0;for(let c=0;c<s;c++){let s=i?c:o[c],f=t[s],d=r[s];if(f===d){l[s]=f,(i?c<a:eV.call(t,s))&&u++;continue}if(null===f||null===d||"object"!=typeof f||"object"!=typeof d){l[s]=d;continue}let h=e(f,d,n+1);l[s]=h,h===f&&u++}return a===s&&u===a?t:l}(e,t):t}function eX(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,n=[...e,t];return r&&n.length>r?n.slice(1):n}function eZ(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,n=[t,...e];return r&&n.length>r?n.slice(0,-1):n}let e0=Symbol();function e1(e,t){return!e.queryFn&&(null==t?void 0:t.initialPromise)?()=>t.initialPromise:e.queryFn&&e.queryFn!==e0?e.queryFn:()=>Promise.reject(Error("Missing queryFn: '".concat(e.queryHash,"'")))}var e6=class{subscribe(e){return this.listeners.add(e),this.onSubscribe(),()=>{this.listeners.delete(e),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}};function e5(e,t,r){if(!t.has(e))throw TypeError("attempted to "+r+" private field on non-instance");return t.get(e)}function e2(e,t){var r=e5(e,t,"get");return r.get?r.get.call(e):r.value}function e8(e,t,r){if(t.has(e))throw TypeError("Cannot initialize the same private elements twice on an object");t.set(e,r)}function e3(e,t,r){var n=e5(e,t,"set");if(n.set)n.set.call(e,r);else{if(!n.writable)throw TypeError("attempted to set read only private field");n.value=r}return r}let e4=new(k=new WeakMap,E=new WeakMap,_=new WeakMap,class extends e6{onSubscribe(){e2(this,E)||this.setEventListener(e2(this,_))}onUnsubscribe(){var e;this.hasListeners()||(null==(e=e2(this,E))||e.call(this),e3(this,E,void 0))}setEventListener(e){var t;e3(this,_,e),null==(t=e2(this,E))||t.call(this),e3(this,E,e(e=>{"boolean"==typeof e?this.setFocused(e):this.onFocus()}))}setFocused(e){e2(this,k)!==e&&(e3(this,k,e),this.onFocus())}onFocus(){let e=this.isFocused();this.listeners.forEach(t=>{t(e)})}isFocused(){var e;return"boolean"==typeof e2(this,k)?e2(this,k):(null==(e=globalThis.document)?void 0:e.visibilityState)!=="hidden"}constructor(){super(),e8(this,k,{writable:!0,value:void 0}),e8(this,E,{writable:!0,value:void 0}),e8(this,_,{writable:!0,value:void 0}),e3(this,_,e=>{if("u">typeof window&&window.addEventListener){let t=()=>e();return window.addEventListener("visibilitychange",t,!1),()=>{window.removeEventListener("visibilitychange",t)}}})}}),e7=(i=[],a=0,o=e=>{e()},s=e=>{e()},l=function(e){setTimeout(e,0)},{batch:e=>{let t;a++;try{t=e()}finally{let e;--a||(e=i,i=[],e.length&&l(()=>{s(()=>{e.forEach(e=>{o(e)})})}))}return t},batchCalls:e=>function(){for(var t=arguments.length,r=Array(t),n=0;n<t;n++)r[n]=arguments[n];u(()=>{e(...r)})},schedule:u=e=>{a?i.push(e):l(()=>{o(e)})},setNotifyFunction:e=>{o=e},setBatchNotifyFunction:e=>{s=e},setScheduler:e=>{l=e}});function e9(e,t,r){if(!t.has(e))throw TypeError("attempted to "+r+" private field on non-instance");return t.get(e)}function te(e,t){var r=e9(e,t,"get");return r.get?r.get.call(e):r.value}function tt(e,t,r){if(t.has(e))throw TypeError("Cannot initialize the same private elements twice on an object");t.set(e,r)}function tr(e,t,r){var n=e9(e,t,"set");if(n.set)n.set.call(e,r);else{if(!n.writable)throw TypeError("attempted to set read only private field");n.value=r}return r}let tn=new(P=new WeakMap,x=new WeakMap,C=new WeakMap,class extends e6{onSubscribe(){te(this,x)||this.setEventListener(te(this,C))}onUnsubscribe(){var e;this.hasListeners()||(null==(e=te(this,x))||e.call(this),tr(this,x,void 0))}setEventListener(e){var t;tr(this,C,e),null==(t=te(this,x))||t.call(this),tr(this,x,e(this.setOnline.bind(this)))}setOnline(e){te(this,P)!==e&&(tr(this,P,e),this.listeners.forEach(t=>{t(e)}))}isOnline(){return te(this,P)}constructor(){super(),tt(this,P,{writable:!0,value:!0}),tt(this,x,{writable:!0,value:void 0}),tt(this,C,{writable:!0,value:void 0}),tr(this,C,e=>{if("u">typeof window&&window.addEventListener){let t=()=>e(!0),r=()=>e(!1);return window.addEventListener("online",t,!1),window.addEventListener("offline",r,!1),()=>{window.removeEventListener("online",t),window.removeEventListener("offline",r)}}})}});function ti(e){return Math.min(1e3*2**e,3e4)}function ta(e){return(null!=e?e:"online")!=="online"||tn.isOnline()}var to=class extends Error{constructor(e){super("CancelledError"),this.revert=null==e?void 0:e.revert,this.silent=null==e?void 0:e.silent}};function ts(e){let t,r,n,i=!1,a=0,o="pending",s=new Promise((e,t)=>{r=e,n=t});s.catch(eU);let l=()=>e4.isFocused()&&("always"===e.networkMode||tn.isOnline())&&e.canRun(),u=()=>ta(e.networkMode)&&e.canRun(),c=e=>{"pending"===o&&(null==t||t(),o="resolved",r(e))},f=e=>{"pending"===o&&(null==t||t(),o="rejected",n(e))},d=()=>new Promise(r=>{var n;t=e=>{("pending"!==o||l())&&r(e)},null==(n=e.onPause)||n.call(e)}).then(()=>{var r;t=void 0,"pending"===o&&(null==(r=e.onContinue)||r.call(e))}),h=()=>{let t;if("pending"!==o)return;let r=0===a?e.initialPromise:void 0;try{t=null!=r?r:e.fn()}catch(e){t=Promise.reject(e)}Promise.resolve(t).then(c).catch(t=>{var r,n,s;if("pending"!==o)return;let u=null!=(r=e.retry)?r:3*!eL,c=null!=(n=e.retryDelay)?n:ti,p="function"==typeof c?c(a,t):c,g=!0===u||"number"==typeof u&&a<u||"function"==typeof u&&u(a,t);i||!g?f(t):(a++,null==(s=e.onFail)||s.call(e,a,t),new Promise(e=>{eD.setTimeout(e,p)}).then(()=>l()?void 0:d()).then(()=>{i?f(t):h()}))})};return{promise:s,status:()=>o,cancel:t=>{if("pending"===o){var r;let n=new to(t);f(n),null==(r=e.onCancel)||r.call(e,n)}},continue:()=>(null==t||t(),s),cancelRetry:()=>{i=!0},continueRetry:()=>{i=!1},canStart:u,start:()=>(u()?h():d().then(h),s)}}function tl(e,t,r){if(!t.has(e))throw TypeError("attempted to "+r+" private field on non-instance");return t.get(e)}function tu(e,t){var r=tl(e,t,"get");return r.get?r.get.call(e):r.value}function tc(e,t,r){var n=tl(e,t,"set");if(n.set)n.set.call(e,r);else{if(!n.writable)throw TypeError("attempted to set read only private field");n.value=r}return r}var tf=(O=new WeakMap,class{destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),ej(this.gcTime)&&tc(this,O,eD.setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,null!=e?e:eL?1/0:3e5)}clearGcTimeout(){void 0!==tu(this,O)&&(eD.clearTimeout(tu(this,O)),tc(this,O,void 0))}constructor(){!function(e,t,r){if(t.has(e))throw TypeError("Cannot initialize the same private elements twice on an object");t.set(e,r)}(this,O,{writable:!0,value:void 0})}});function td(e,t){if(t.has(e))throw TypeError("Cannot initialize the same private elements twice on an object")}function th(e,t,r){if(!t.has(e))throw TypeError("attempted to "+r+" private field on non-instance");return t.get(e)}function tp(e,t){var r=th(e,t,"get");return r.get?r.get.call(e):r.value}function tv(e,t,r){td(e,t),t.set(e,r)}function tg(e,t,r){var n=th(e,t,"set");if(n.set)n.set.call(e,r);else{if(!n.writable)throw TypeError("attempted to set read only private field");n.value=r}return r}function ty(e,t,r){if(!t.has(e))throw TypeError("attempted to get private field on non-instance");return r}var tm=(R=new WeakMap,I=new WeakMap,A=new WeakMap,T=new WeakMap,M=new WeakSet,class extends tf{setOptions(e){this.options=e,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(e){tp(this,I).includes(e)||(tp(this,I).push(e),this.clearGcTimeout(),tp(this,A).notify({type:"observerAdded",mutation:this,observer:e}))}removeObserver(e){tg(this,I,tp(this,I).filter(t=>t!==e)),this.scheduleGc(),tp(this,A).notify({type:"observerRemoved",mutation:this,observer:e})}optionalRemove(){tp(this,I).length||("pending"===this.state.status?this.scheduleGc():tp(this,A).remove(this))}continue(){var e,t;return null!=(e=null==(t=tp(this,T))?void 0:t.continue())?e:"pending"===this.state.status?this.execute(this.state.variables):Promise.resolve()}async execute(e){var t,r,n,i,a,o,s,l,u,c,f,d,h,p,g,y,m,b,w;let S=()=>{ty(this,M,tb).call(this,{type:"continue"})},k={client:tp(this,R),meta:this.options.meta,mutationKey:this.options.mutationKey},E=tg(this,T,ts({fn:()=>this.options.mutationFn?this.options.mutationFn(e,k):Promise.reject(Error("No mutationFn found")),onFail:(e,t)=>{ty(this,M,tb).call(this,{type:"failed",failureCount:e,error:t})},onPause:()=>{ty(this,M,tb).call(this,{type:"pause"})},onContinue:S,retry:null!=(t=this.options.retry)?t:0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>tp(this,A).canRun(this)})),_="pending"===this.state.status,P=!E.canStart();try{if(_)S();else{ty(this,M,tb).call(this,{type:"pending",variables:e,isPaused:P}),tp(this,A).config.onMutate&&await tp(this,A).config.onMutate(e,this,k);let t=await (null==(c=(f=this.options).onMutate)?void 0:c.call(f,e,k));t!==this.state.context&&ty(this,M,tb).call(this,{type:"pending",context:t,variables:e,isPaused:P})}let t=await E.start();return await (null==(r=(n=tp(this,A).config).onSuccess)?void 0:r.call(n,t,e,this.state.context,this,k)),await (null==(i=(a=this.options).onSuccess)?void 0:i.call(a,t,e,this.state.context,k)),await (null==(o=(s=tp(this,A).config).onSettled)?void 0:o.call(s,t,null,this.state.variables,this.state.context,this,k)),await (null==(l=(u=this.options).onSettled)?void 0:l.call(u,t,null,e,this.state.context,k)),ty(this,M,tb).call(this,{type:"success",data:t}),t}catch(t){try{await (null==(d=(h=tp(this,A).config).onError)?void 0:d.call(h,t,e,this.state.context,this,k))}catch(e){Promise.reject(e)}try{await (null==(p=(g=this.options).onError)?void 0:p.call(g,t,e,this.state.context,k))}catch(e){Promise.reject(e)}try{await (null==(y=(m=tp(this,A).config).onSettled)?void 0:y.call(m,void 0,t,this.state.variables,this.state.context,this,k))}catch(e){Promise.reject(e)}try{await (null==(b=(w=this.options).onSettled)?void 0:b.call(w,void 0,t,e,this.state.context,k))}catch(e){Promise.reject(e)}throw ty(this,M,tb).call(this,{type:"error",error:t}),t}finally{tp(this,T)===E&&tg(this,T,void 0),tp(this,A).runNext(this)}}constructor(e){super(),function(e,t){td(e,t),t.add(e)}(this,M),tv(this,R,{writable:!0,value:void 0}),tv(this,I,{writable:!0,value:void 0}),tv(this,A,{writable:!0,value:void 0}),tv(this,T,{writable:!0,value:void 0}),tg(this,R,e.client),this.mutationId=e.mutationId,tg(this,A,e.mutationCache),tg(this,I,[]),this.state=e.state||{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0},this.setOptions(e.options),this.scheduleGc()}});function tb(e){this.state=(t=>{switch(e.type){case"failed":return{...t,failureCount:e.failureCount,failureReason:e.error};case"pause":return{...t,isPaused:!0};case"continue":return{...t,isPaused:!1};case"pending":return{...t,context:e.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:e.isPaused,status:"pending",variables:e.variables,submittedAt:Date.now()};case"success":return{...t,data:e.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...t,data:void 0,error:e.error,failureCount:t.failureCount+1,failureReason:e.error,isPaused:!1,status:"error"}}})(this.state),e7.batch(()=>{tp(this,I).forEach(t=>{t.onMutationUpdate(e)}),tp(this,A).notify({mutation:this,type:"updated",action:e})})}function tw(e,t,r){if(!t.has(e))throw TypeError("attempted to "+r+" private field on non-instance");return t.get(e)}function tS(e,t){var r=tw(e,t,"get");return r.get?r.get.call(e):r.value}function tk(e,t,r){if(t.has(e))throw TypeError("Cannot initialize the same private elements twice on an object");t.set(e,r)}function tE(e,t,r){var n=tw(e,t,"set");if(n.set)n.set.call(e,r);else{if(!n.writable)throw TypeError("attempted to set read only private field");n.value=r}return r}var t_=(z=new WeakMap,D=new WeakMap,L=new WeakMap,class extends e6{build(e,t,r){let n=new tm({client:e,mutationCache:this,mutationId:++function(e,t){var r=tw(e,t,"update");if(r.set){if(!r.get)throw TypeError("attempted to read set only private field");return"__destrWrapper"in r||(r.__destrWrapper={set value(v){r.set.call(e,v)},get value(){return r.get.call(e)}}),r.__destrWrapper}if(!r.writable)throw TypeError("attempted to set read only private field");return r}(this,L).value,options:e.defaultMutationOptions(t),state:r});return this.add(n),n}add(e){tS(this,z).add(e);let t=tP(e);if("string"==typeof t){let r=tS(this,D).get(t);r?r.push(e):tS(this,D).set(t,[e])}this.notify({type:"added",mutation:e})}remove(e){if(tS(this,z).delete(e)){let t=tP(e);if("string"==typeof t){let r=tS(this,D).get(t);if(r)if(r.length>1){let t=r.indexOf(e);-1!==t&&r.splice(t,1)}else r[0]===e&&tS(this,D).delete(t)}}this.notify({type:"removed",mutation:e})}canRun(e){let t=tP(e);if("string"!=typeof t)return!0;{var r;let n=null==(r=tS(this,D).get(t))?void 0:r.find(e=>"pending"===e.state.status);return!n||n===e}}runNext(e){var t,r,n;let i=tP(e);return"string"==typeof i&&null!=(t=null==(n=tS(this,D).get(i))||null==(r=n.find(t=>t!==e&&t.state.isPaused))?void 0:r.continue())?t:Promise.resolve()}clear(){e7.batch(()=>{tS(this,z).forEach(e=>{this.notify({type:"removed",mutation:e})}),tS(this,z).clear(),tS(this,D).clear()})}getAll(){return Array.from(tS(this,z))}find(e){let t={exact:!0,...e};return this.getAll().find(e=>eW(t,e))}findAll(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this.getAll().filter(t=>eW(e,t))}notify(e){e7.batch(()=>{this.listeners.forEach(t=>{t(e)})})}resumePausedMutations(){let e=this.getAll().filter(e=>e.state.isPaused);return e7.batch(()=>Promise.all(e.map(e=>e.continue().catch(eU))))}constructor(e={}){super(),tk(this,z,{writable:!0,value:void 0}),tk(this,D,{writable:!0,value:void 0}),tk(this,L,{writable:!0,value:void 0}),this.config=e,tE(this,z,new Set),tE(this,D,new Map),tE(this,L,0)}});function tP(e){var t;return null==(t=e.options.scope)?void 0:t.id}function tx(e,t){let{pages:r,pageParams:n}=t,i=r.length-1;return r.length>0?e.getNextPageParam(r[i],r,n[i],n):void 0}function tC(e,t){var r;let{pages:n,pageParams:i}=t;return n.length>0?null==(r=e.getPreviousPageParam)?void 0:r.call(e,n[0],n,i[0],i):void 0}function tO(e,t){if(t.has(e))throw TypeError("Cannot initialize the same private elements twice on an object")}function tR(e,t,r){if(!t.has(e))throw TypeError("attempted to "+r+" private field on non-instance");return t.get(e)}function tI(e,t){var r=tR(e,t,"get");return r.get?r.get.call(e):r.value}function tA(e,t,r){tO(e,t),t.set(e,r)}function tT(e,t,r){var n=tR(e,t,"set");if(n.set)n.set.call(e,r);else{if(!n.writable)throw TypeError("attempted to set read only private field");n.value=r}return r}function tM(e,t,r){if(!t.has(e))throw TypeError("attempted to get private field on non-instance");return r}var tz=(U=new WeakMap,j=new WeakMap,N=new WeakMap,F=new WeakMap,q=new WeakMap,W=new WeakMap,K=new WeakMap,B=new WeakMap,$=new WeakSet,class extends tf{get meta(){return this.options.meta}get queryType(){return tI(this,U)}get promise(){var e;return null==(e=tI(this,W))?void 0:e.promise}setOptions(e){if(this.options={...tI(this,K),...e},(null==e?void 0:e._type)&&tT(this,U,e._type),this.updateGcTime(this.options.gcTime),this.state&&void 0===this.state.data){let e=tU(this.options);void 0!==e.data&&(this.setState(tL(e.data,e.dataUpdatedAt)),tT(this,j,e))}}optionalRemove(){this.observers.length||"idle"!==this.state.fetchStatus||tI(this,F).remove(this)}setData(e,t){let r=eJ(this.state.data,e,this.options);return tM(this,$,tj).call(this,{data:r,type:"success",dataUpdatedAt:null==t?void 0:t.updatedAt,manual:null==t?void 0:t.manual}),r}setState(e){tM(this,$,tj).call(this,{type:"setState",state:e})}cancel(e){var t,r;let n=null==(t=tI(this,W))?void 0:t.promise;return null==(r=tI(this,W))||r.cancel(e),n?n.then(eU).catch(eU):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}get resetState(){return tI(this,j)}reset(){this.destroy(),this.setState(this.resetState)}isActive(){return this.observers.some(e=>!1!==eF(e.options.enabled,this))}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===e0||!this.isFetched()}isFetched(){return this.state.dataUpdateCount+this.state.errorUpdateCount>0}isStatic(){return this.getObserversCount()>0&&this.observers.some(e=>"static"===eF(e.options.staleTime,this))}isStale(){return this.getObserversCount()>0?this.observers.some(e=>e.getCurrentResult().isStale):void 0===this.state.data||this.state.isInvalidated}isStaleByTime(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return void 0===this.state.data||"static"!==e&&(!!this.state.isInvalidated||!eN(this.state.dataUpdatedAt,e))}onFocus(){var e,t;null==(e=this.observers.find(e=>e.shouldFetchOnWindowFocus()))||e.refetch({cancelRefetch:!1}),null==(t=tI(this,W))||t.continue()}onOnline(){var e,t;null==(e=this.observers.find(e=>e.shouldFetchOnReconnect()))||e.refetch({cancelRefetch:!1}),null==(t=tI(this,W))||t.continue()}addObserver(e){this.observers.includes(e)||(this.observers.push(e),this.clearGcTimeout(),tI(this,F).notify({type:"observerAdded",query:this,observer:e}))}removeObserver(e){let t=this.observers.indexOf(e);-1!==t&&(this.observers.splice(t,1),this.observers.length||(tI(this,W)&&(tI(this,B)||"paused"===this.state.fetchStatus&&"pending"===this.state.status?tI(this,W).cancel({revert:!0}):tI(this,W).cancelRetry()),this.scheduleGc()),tI(this,F).notify({type:"observerRemoved",query:this,observer:e}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||tM(this,$,tj).call(this,{type:"invalidate"})}async fetch(e,t){var r,n,i,a,o,s,l,u,c,f,d,h,p;let g;if("idle"!==this.state.fetchStatus&&(null==(r=tI(this,W))?void 0:r.status())!=="rejected"){if(void 0!==this.state.data&&(null==t?void 0:t.cancelRefetch))this.cancel({silent:!0});else if(tI(this,W))return tI(this,W).continueRetry(),tI(this,W).promise}if(e&&this.setOptions(e),!this.options.queryFn){let e=this.observers.find(e=>e.options.queryFn);e&&this.setOptions(e.options)}let y=new AbortController,m=e=>{Object.defineProperty(e,"signal",{enumerable:!0,get:()=>(tT(this,B,!0),y.signal)})},b=()=>{let e,r=e1(this.options,t),n=(m(e={client:tI(this,q),queryKey:this.queryKey,meta:this.meta}),e);return(tT(this,B,!1),this.options.persister)?this.options.persister(r,n,this):r(n)},w=(m(g={fetchOptions:t,options:this.options,queryKey:this.queryKey,client:tI(this,q),state:this.state,fetchFn:b}),g);null==(n="infinite"===tI(this,U)?(p=this.options.pages,{onFetch:(e,t)=>{var r,n,i,a,o;let s=e.options,l=null==(i=e.fetchOptions)||null==(n=i.meta)||null==(r=n.fetchMore)?void 0:r.direction,u=(null==(a=e.state.data)?void 0:a.pages)||[],c=(null==(o=e.state.data)?void 0:o.pageParams)||[],f={pages:[],pageParams:[]},d=0,h=async()=>{let t=!1,r=e1(e.options,e.fetchOptions),n=async(n,i,a)=>{if(t)return Promise.reject(e.signal.reason);if(null==i&&n.pages.length)return Promise.resolve(n);let o=(()=>{var r,n;let o,s,l={client:e.client,queryKey:e.queryKey,pageParam:i,direction:a?"backward":"forward",meta:e.options.meta};return r=()=>e.signal,n=()=>t=!0,s=!1,Object.defineProperty(l,"signal",{enumerable:!0,get:()=>(null!=o||(o=r()),s||(s=!0,o.aborted?n():o.addEventListener("abort",n,{once:!0})),o)}),l})(),s=await r(o),{maxPages:l}=e.options,u=a?eZ:eX;return{pages:u(n.pages,s,l),pageParams:u(n.pageParams,i,l)}};if(l&&u.length){let e="backward"===l,t=e?tC:tx,r={pages:u,pageParams:c};f=await n(r,t(s,r),e)}else{let e=null!=p?p:u.length;do{var i;let e=0===d?null!=(i=c[0])?i:s.initialPageParam:tx(s,f);if(d>0&&null==e)break;f=await n(f,e),d++}while(d<e)}return f};e.options.persister?e.fetchFn=()=>{var r,n;return null==(r=(n=e.options).persister)?void 0:r.call(n,h,{client:e.client,queryKey:e.queryKey,meta:e.options.meta,signal:e.signal},t)}:e.fetchFn=h}}):this.options.behavior)||n.onFetch(w,this),tT(this,N,this.state),("idle"===this.state.fetchStatus||this.state.fetchMeta!==(null==(i=w.fetchOptions)?void 0:i.meta))&&tM(this,$,tj).call(this,{type:"fetch",meta:null==(a=w.fetchOptions)?void 0:a.meta});let S=tT(this,W,ts({initialPromise:null==t?void 0:t.initialPromise,fn:w.fetchFn,onCancel:e=>{e instanceof to&&e.revert&&this.setState({...tI(this,N),fetchStatus:"idle"}),y.abort()},onFail:(e,t)=>{tM(this,$,tj).call(this,{type:"failed",failureCount:e,error:t})},onPause:()=>{tM(this,$,tj).call(this,{type:"pause"})},onContinue:()=>{tM(this,$,tj).call(this,{type:"continue"})},retry:w.options.retry,retryDelay:w.options.retryDelay,networkMode:w.options.networkMode,canRun:()=>!0}));try{let e=await S.start();if(void 0===e)throw Error("".concat(this.queryHash," data is undefined"));return this.setData(e),null==(o=(s=tI(this,F).config).onSuccess)||o.call(s,e,this),null==(l=(u=tI(this,F).config).onSettled)||l.call(u,e,this.state.error,this),e}catch(e){if(e instanceof to){if(e.silent)return tI(this,W).promise;else if(e.revert){if(void 0===this.state.data)throw e;return this.state.data}}throw tM(this,$,tj).call(this,{type:"error",error:e}),null==(c=(f=tI(this,F).config).onError)||c.call(f,e,this),null==(d=(h=tI(this,F).config).onSettled)||d.call(h,this.state.data,e,this),e}finally{tI(this,W)===S&&tT(this,W,void 0),this.scheduleGc()}}constructor(e){var t;super(),function(e,t){tO(e,t),t.add(e)}(this,$),tA(this,U,{writable:!0,value:void 0}),tA(this,j,{writable:!0,value:void 0}),tA(this,N,{writable:!0,value:void 0}),tA(this,F,{writable:!0,value:void 0}),tA(this,q,{writable:!0,value:void 0}),tA(this,W,{writable:!0,value:void 0}),tA(this,K,{writable:!0,value:void 0}),tA(this,B,{writable:!0,value:void 0}),tT(this,B,!1),tT(this,K,e.defaultOptions),this.setOptions(e.options),this.observers=[],tT(this,q,e.client),tT(this,F,tI(this,q).getQueryCache()),this.queryKey=e.queryKey,this.queryHash=e.queryHash,tT(this,j,tU(this.options)),this.state=null!=(t=e.state)?t:tI(this,j),this.scheduleGc()}});function tD(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:ta(t.networkMode)?"fetching":"paused",...void 0===e&&{error:null,status:"pending"}}}function tL(e,t){return{data:e,dataUpdatedAt:null!=t?t:Date.now(),error:null,isInvalidated:!1,status:"success"}}function tU(e){let t="function"==typeof e.initialData?e.initialData():e.initialData,r=void 0!==t,n=r?"function"==typeof e.initialDataUpdatedAt?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:r?null!=n?n:Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:r?"success":"pending",fetchStatus:"idle"}}function tj(e){let t=t=>{switch(e.type){case"failed":return{...t,fetchFailureCount:e.failureCount,fetchFailureReason:e.error};case"pause":return{...t,fetchStatus:"paused"};case"continue":return{...t,fetchStatus:"fetching"};case"fetch":var r;return{...t,...tD(t.data,this.options),fetchMeta:null!=(r=e.meta)?r:null};case"success":let n={...t,...tL(e.data,e.dataUpdatedAt),dataUpdateCount:t.dataUpdateCount+1,...!e.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};return tT(this,N,e.manual?n:void 0),n;case"error":let i=e.error;return{...t,error:i,errorUpdateCount:t.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:t.fetchFailureCount+1,fetchFailureReason:i,fetchStatus:"idle",status:"error",isInvalidated:!0};case"invalidate":return{...t,isInvalidated:!0};case"setState":return{...t,...e.state}}};this.state=t(this.state),e7.batch(()=>{this.observers.slice().forEach(e=>{e.onQueryUpdate()}),tI(this,F).notify({query:this,type:"updated",action:e})})}function tN(e,t,r){if(!t.has(e))throw TypeError("attempted to "+r+" private field on non-instance");return t.get(e)}function tF(e,t){var r=tN(e,t,"get");return r.get?r.get.call(e):r.value}var tq=(V=new WeakMap,class extends e6{build(e,t,r){var n;let i=t.queryKey,a=null!=(n=t.queryHash)?n:eK(i,t),o=this.get(a);return o||(o=new tz({client:e,queryKey:i,queryHash:a,options:e.defaultQueryOptions(t),state:r,defaultOptions:e.getQueryDefaults(i)}),this.add(o)),o}add(e){tF(this,V).has(e.queryHash)||(tF(this,V).set(e.queryHash,e),this.notify({type:"added",query:e}))}remove(e){let t=tF(this,V).get(e.queryHash);t&&(e.destroy(),t===e&&tF(this,V).delete(e.queryHash),this.notify({type:"removed",query:e}))}clear(){e7.batch(()=>{this.getAll().forEach(e=>{this.remove(e)})})}get(e){return tF(this,V).get(e)}getAll(){return[...tF(this,V).values()]}find(e){let t={exact:!0,...e};return this.getAll().find(e=>eq(t,e))}findAll(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=this.getAll();return Object.keys(e).length>0?t.filter(t=>eq(e,t)):t}notify(e){e7.batch(()=>{this.listeners.forEach(t=>{t(e)})})}onFocus(){e7.batch(()=>{this.getAll().forEach(e=>{e.onFocus()})})}onOnline(){e7.batch(()=>{this.getAll().forEach(e=>{e.onOnline()})})}constructor(e={}){super(),function(e,t,r){if(t.has(e))throw TypeError("Cannot initialize the same private elements twice on an object");t.set(e,r)}(this,V,{writable:!0,value:void 0}),this.config=e,function(e,t,r){var n=tN(e,t,"set");if(n.set)n.set.call(e,r);else{if(!n.writable)throw TypeError("attempted to set read only private field");n.value=r}}(this,V,new Map)}});function tW(e,t,r){if(!t.has(e))throw TypeError("attempted to "+r+" private field on non-instance");return t.get(e)}function tK(e,t){var r=tW(e,t,"get");return r.get?r.get.call(e):r.value}function tB(e,t,r){if(t.has(e))throw TypeError("Cannot initialize the same private elements twice on an object");t.set(e,r)}function t$(e,t,r){var n=tW(e,t,"set");if(n.set)n.set.call(e,r);else{if(!n.writable)throw TypeError("attempted to set read only private field");n.value=r}return r}function tV(e,t){var r=tW(e,t,"update");if(r.set){if(!r.get)throw TypeError("attempted to read set only private field");return"__destrWrapper"in r||(r.__destrWrapper={set value(v){r.set.call(e,v)},get value(){return r.get.call(e)}}),r.__destrWrapper}if(!r.writable)throw TypeError("attempted to set read only private field");return r}var tY=(Y=new WeakMap,Q=new WeakMap,H=new WeakMap,G=new WeakMap,J=new WeakMap,X=new WeakMap,Z=new WeakMap,ee=new WeakMap,class{mount(){tV(this,X).value++,1===tK(this,X)&&(t$(this,Z,e4.subscribe(async e=>{e&&(await this.resumePausedMutations(),tK(this,Y).onFocus())})),t$(this,ee,tn.subscribe(async e=>{e&&(await this.resumePausedMutations(),tK(this,Y).onOnline())})))}unmount(){var e,t;tV(this,X).value--,0===tK(this,X)&&(null==(e=tK(this,Z))||e.call(this),t$(this,Z,void 0),null==(t=tK(this,ee))||t.call(this),t$(this,ee,void 0))}isFetching(e){return tK(this,Y).findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return tK(this,Q).findAll({...e,status:"pending"}).length}getQueryData(e){var t;let r=this.defaultQueryOptions({queryKey:e});return null==(t=tK(this,Y).get(r.queryHash))?void 0:t.state.data}ensureQueryData(e){let t=this.defaultQueryOptions(e),r=tK(this,Y).build(this,t),n=r.state.data;return void 0===n?this.fetchQuery(e):(e.revalidateIfStale&&r.isStaleByTime(eF(t.staleTime,r))&&this.prefetchQuery(t),Promise.resolve(n))}getQueriesData(e){return tK(this,Y).findAll(e).map(e=>{let{queryKey:t,state:r}=e;return[t,r.data]})}setQueryData(e,t,r){var n;let i=this.defaultQueryOptions({queryKey:e}),a=null==(n=tK(this,Y).get(i.queryHash))?void 0:n.state.data,o="function"==typeof t?t(a):t;if(void 0!==o)return tK(this,Y).build(this,i).setData(o,{...r,manual:!0})}setQueriesData(e,t,r){return e7.batch(()=>tK(this,Y).findAll(e).map(e=>{let{queryKey:n}=e;return[n,this.setQueryData(n,t,r)]}))}getQueryState(e){var t;let r=this.defaultQueryOptions({queryKey:e});return null==(t=tK(this,Y).get(r.queryHash))?void 0:t.state}removeQueries(e){let t=tK(this,Y);e7.batch(()=>{t.findAll(e).forEach(e=>{t.remove(e)})})}resetQueries(e,t){let r=tK(this,Y);return e7.batch(()=>{let n=r.findAll(e),i=new Set(n);return n.forEach(e=>{e.reset()}),this.refetchQueries({type:"active",predicate:e=>i.has(e)},t)})}cancelQueries(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r={revert:!0,...t};return Promise.all(e7.batch(()=>tK(this,Y).findAll(e).map(e=>e.cancel(r)))).then(eU).catch(eU)}invalidateQueries(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return e7.batch(()=>{var r,n;return(tK(this,Y).findAll(e).forEach(e=>{e.invalidate()}),(null==e?void 0:e.refetchType)==="none")?Promise.resolve():this.refetchQueries({...e,type:null!=(r=null!=(n=null==e?void 0:e.refetchType)?n:null==e?void 0:e.type)?r:"active"},t)})}refetchQueries(e){var t;let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n={...r,cancelRefetch:null==(t=r.cancelRefetch)||t};return Promise.all(e7.batch(()=>tK(this,Y).findAll(e).filter(e=>!e.isDisabled()&&!e.isStatic()).map(e=>{let t=e.fetch(void 0,n);return n.throwOnError||(t=t.catch(eU)),"paused"===e.state.fetchStatus?Promise.resolve():t}))).then(eU)}async query(e){let t=this.defaultQueryOptions(e);void 0===t.retry&&(t.retry=!1);let r=tK(this,Y).build(this,t),n=r.isStaleByTime(eF(t.staleTime,r))?await r.fetch(t):r.state.data,i=t.select;return i?i(n):n}fetchQuery(e){let t=this.defaultQueryOptions(e);void 0===t.retry&&(t.retry=!1);let r=tK(this,Y).build(this,t);return r.isStaleByTime(eF(t.staleTime,r))?r.fetch(t):Promise.resolve(r.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(eU).catch(eU)}infiniteQuery(e){return e._type="infinite",this.query(e)}fetchInfiniteQuery(e){return e._type="infinite",this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(eU).catch(eU)}ensureInfiniteQueryData(e){return e._type="infinite",this.ensureQueryData(e)}resumePausedMutations(){return tn.isOnline()?tK(this,Q).resumePausedMutations():Promise.resolve()}getQueryCache(){return tK(this,Y)}getMutationCache(){return tK(this,Q)}getDefaultOptions(){return tK(this,H)}setDefaultOptions(e){t$(this,H,e)}setQueryDefaults(e,t){tK(this,G).set(eB(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){let t=[...tK(this,G).values()],r={};return t.forEach(t=>{e$(e,t.queryKey)&&Object.assign(r,t.defaultOptions)}),r}setMutationDefaults(e,t){tK(this,J).set(eB(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){let t=[...tK(this,J).values()],r={};return t.forEach(t=>{e$(e,t.mutationKey)&&Object.assign(r,t.defaultOptions)}),r}defaultQueryOptions(e){if(e._defaulted)return e;let t={...tK(this,H).queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=eK(t.queryKey,t)),void 0===t.refetchOnReconnect&&(t.refetchOnReconnect="always"!==t.networkMode),void 0===t.throwOnError&&(t.throwOnError=!!t.suspense),!t.networkMode&&t.persister&&(t.networkMode="offlineFirst"),t.queryFn===e0&&(t.enabled=!1),t}defaultMutationOptions(e){return(null==e?void 0:e._defaulted)?e:{...tK(this,H).mutations,...(null==e?void 0:e.mutationKey)&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){tK(this,Y).clear(),tK(this,Q).clear()}constructor(e={}){tB(this,Y,{writable:!0,value:void 0}),tB(this,Q,{writable:!0,value:void 0}),tB(this,H,{writable:!0,value:void 0}),tB(this,G,{writable:!0,value:void 0}),tB(this,J,{writable:!0,value:void 0}),tB(this,X,{writable:!0,value:void 0}),tB(this,Z,{writable:!0,value:void 0}),tB(this,ee,{writable:!0,value:void 0}),t$(this,Y,e.queryCache||new tq),t$(this,Q,e.mutationCache||new t_),t$(this,H,e.defaultOptions||{}),t$(this,G,new Map),t$(this,J,new Map),t$(this,X,0)}});function tQ(e,t){if(t.has(e))throw TypeError("Cannot initialize the same private elements twice on an object")}function tH(e,t,r){if(!t.has(e))throw TypeError("attempted to "+r+" private field on non-instance");return t.get(e)}function tG(e,t){var r=tH(e,t,"get");return r.get?r.get.call(e):r.value}function tJ(e,t,r){tQ(e,t),t.set(e,r)}function tX(e,t,r){var n=tH(e,t,"set");if(n.set)n.set.call(e,r);else{if(!n.writable)throw TypeError("attempted to set read only private field");n.value=r}return r}function tZ(e,t,r){if(!t.has(e))throw TypeError("attempted to get private field on non-instance");return r}function t0(e,t){tQ(e,t),t.add(e)}r(53834);var t1=(et=new WeakMap,er=new WeakMap,en=new WeakMap,ei=new WeakMap,ea=new WeakMap,eo=new WeakMap,es=new WeakMap,el=new WeakMap,eu=new WeakMap,ec=new WeakMap,ef=new WeakMap,ed=new WeakMap,eh=new WeakMap,ep=new WeakMap,ev=new WeakSet,eg=new WeakSet,ey=new WeakSet,em=new WeakSet,eb=new WeakSet,ew=new WeakSet,eS=new WeakSet,ek=new WeakSet,eE=new WeakSet,class extends e6{bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){1===this.listeners.size&&(tG(this,er).addObserver(this),t6(tG(this,er),this.options)?tZ(this,ev,t3).call(this):this.updateResult(),tZ(this,ew,rt).call(this))}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return t5(tG(this,er),this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return t5(tG(this,er),this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,tZ(this,eS,rr).call(this),tZ(this,ek,rn).call(this),tG(this,er).removeObserver(this)}setOptions(e){let t=this.options,r=tG(this,er);if(this.options=tG(this,et).defaultQueryOptions(e),void 0!==this.options.enabled&&"boolean"!=typeof this.options.enabled&&"function"!=typeof this.options.enabled&&"boolean"!=typeof eF(this.options.enabled,tG(this,er)))throw Error("Expected enabled to be a boolean or a callback that returns a boolean");tZ(this,eE,ri).call(this),tG(this,er).setOptions(this.options),t._defaulted&&!eY(this.options,t)&&tG(this,et).getQueryCache().notify({type:"observerOptionsUpdated",query:tG(this,er),observer:this});let n=this.hasListeners();n&&t2(tG(this,er),r,this.options,t)&&tZ(this,ev,t3).call(this),this.updateResult(),n&&(tG(this,er)!==r||eF(this.options.enabled,tG(this,er))!==eF(t.enabled,tG(this,er))||eF(this.options.staleTime,tG(this,er))!==eF(t.staleTime,tG(this,er)))&&tZ(this,ey,t7).call(this);let i=tZ(this,em,t9).call(this);n&&(tG(this,er)!==r||eF(this.options.enabled,tG(this,er))!==eF(t.enabled,tG(this,er))||i!==tG(this,eh))&&tZ(this,eb,re).call(this,i)}getOptimisticResult(e){let t=tG(this,et).getQueryCache().build(tG(this,et),e),r=this.createResult(t,e);return eY(this.getCurrentResult(),r)||(tX(this,ei,r),tX(this,eo,this.options),tX(this,ea,tG(this,er).state)),r}getCurrentResult(){return tG(this,ei)}trackResult(e,t){return new Proxy(e,{get:(e,r)=>(this.trackProp(r),null==t||t(r),Reflect.get(e,r))})}trackProp(e){tG(this,ep).add(e)}getCurrentQuery(){return tG(this,er)}refetch(){let{...e}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this.fetch({...e})}fetchOptimistic(e){let t,r=tG(this,et).defaultQueryOptions(e),n=tG(this,et).getQueryCache().build(tG(this,et),r),i=()=>{},a=new Promise(e=>{t=e,i=tG(this,et).getQueryCache().subscribe(t=>{"updated"===t.type&&t.query.queryHash===n.queryHash&&void 0!==n.state.data&&(i(),e(this.createResult(n,r)))})});return Promise.race([n.fetch().then(()=>{let e=this.createResult(n,r);return null==t||t(e),e}).finally(()=>{i()}),a])}fetch(e){var t;return tZ(this,ev,t3).call(this,{...e,cancelRefetch:null==(t=e.cancelRefetch)||t}).then(()=>(this.updateResult(),tG(this,ei)))}createResult(e,t){let r,n=tG(this,er),i=this.options,a=tG(this,ei),o=tG(this,ea),s=tG(this,eo),l=e!==n?e.state:tG(this,en),{state:u}=e,c={...u},f=!1;if(t._optimisticResults){let r=this.hasListeners(),a=!r&&t6(e,t),o=r&&t2(e,n,t,i);(a||o)&&(c={...c,...tD(u.data,e.options)}),"isRestoring"===t._optimisticResults&&(c.fetchStatus="idle")}let{error:d,errorUpdatedAt:h,status:p}=c;r=c.data;let g=!1;if(void 0!==t.placeholderData&&void 0===r&&"pending"===p){var y;let e;(null==a?void 0:a.isPlaceholderData)&&t.placeholderData===(null==s?void 0:s.placeholderData)?(e=a.data,g=!0):e="function"==typeof t.placeholderData?t.placeholderData(null==(y=tG(this,ec))?void 0:y.state.data,tG(this,ec)):t.placeholderData,void 0!==e&&(p="success",r=eJ(null==a?void 0:a.data,e,t),f=!0)}if(t.select&&void 0!==r&&!g)if(a&&r===(null==o?void 0:o.data)&&t.select===tG(this,el))r=tG(this,eu);else try{tX(this,el,t.select),r=t.select(r),r=eJ(null==a?void 0:a.data,r,t),tX(this,eu,r),tX(this,es,null)}catch(e){tX(this,es,e)}else void 0===r&&tX(this,es,null);tG(this,es)&&(d=tG(this,es),r=tG(this,eu),h=Date.now(),p="error",f=!1);let m="fetching"===c.fetchStatus,b="pending"===p,w="error"===p,S=b&&m,k=void 0!==r;return{status:p,fetchStatus:c.fetchStatus,isPending:b,isSuccess:"success"===p,isError:w,isInitialLoading:S,isLoading:S,data:r,dataUpdatedAt:c.dataUpdatedAt,error:d,errorUpdatedAt:h,failureCount:c.fetchFailureCount,failureReason:c.fetchFailureReason,errorUpdateCount:c.errorUpdateCount,isFetched:e.isFetched(),isFetchedAfterMount:c.dataUpdateCount>l.dataUpdateCount||c.errorUpdateCount>l.errorUpdateCount,isFetching:m,isRefetching:m&&!b,isLoadingError:w&&!k,isPaused:"paused"===c.fetchStatus,isPlaceholderData:f,isRefetchError:w&&k,isStale:t8(e,t),refetch:this.refetch,isEnabled:!1!==eF(t.enabled,e)}}updateResult(){let e=tG(this,ei),t=this.createResult(tG(this,er),this.options);if(tX(this,ea,tG(this,er).state),tX(this,eo,this.options),void 0!==tG(this,ea).data&&tX(this,ec,tG(this,er)),eY(t,e))return;tX(this,ei,t);let r=(()=>{if(!e)return!0;let{notifyOnChangeProps:t}=this.options,r="function"==typeof t?t():t;if("all"===r||!r&&!tG(this,ep).size)return!0;let n=new Set(null!=r?r:tG(this,ep));return this.options.throwOnError&&n.add("error"),Object.keys(tG(this,ei)).some(t=>tG(this,ei)[t]!==e[t]&&n.has(t))})();e7.batch(()=>{r&&this.listeners.forEach(e=>{e(tG(this,ei))}),tG(this,et).getQueryCache().notify({query:tG(this,er),type:"observerResultsUpdated"})})}onQueryUpdate(){this.updateResult(),this.hasListeners()&&tZ(this,ew,rt).call(this)}constructor(e,t){super(),t0(this,ev),t0(this,eg),t0(this,ey),t0(this,em),t0(this,eb),t0(this,ew),t0(this,eS),t0(this,ek),t0(this,eE),tJ(this,et,{writable:!0,value:void 0}),tJ(this,er,{writable:!0,value:void 0}),tJ(this,en,{writable:!0,value:void 0}),tJ(this,ei,{writable:!0,value:void 0}),tJ(this,ea,{writable:!0,value:void 0}),tJ(this,eo,{writable:!0,value:void 0}),tJ(this,es,{writable:!0,value:void 0}),tJ(this,el,{writable:!0,value:void 0}),tJ(this,eu,{writable:!0,value:void 0}),tJ(this,ec,{writable:!0,value:void 0}),tJ(this,ef,{writable:!0,value:void 0}),tJ(this,ed,{writable:!0,value:void 0}),tJ(this,eh,{writable:!0,value:void 0}),tJ(this,ep,{writable:!0,value:new Set}),this.options=t,tX(this,et,e),tX(this,es,null),this.bindMethods(),this.setOptions(t)}});function t6(e,t){return!1!==eF(t.enabled,e)&&void 0===e.state.data&&("error"!==e.state.status||!1!==eF(t.retryOnMount,e))||void 0!==e.state.data&&t5(e,t,t.refetchOnMount)}function t5(e,t,r){if(!1!==eF(t.enabled,e)&&"static"!==eF(t.staleTime,e)){let n="function"==typeof r?r(e):r;return"always"===n||!1!==n&&t8(e,t)}return!1}function t2(e,t,r,n){return(e!==t||!1===eF(n.enabled,e))&&(!r.suspense||"error"!==e.state.status)&&t8(e,r)}function t8(e,t){return!1!==eF(t.enabled,e)&&e.isStaleByTime(eF(t.staleTime,e))}function t3(e){tZ(this,eE,ri).call(this);let t=tG(this,er).fetch(this.options,e);return(null==e?void 0:e.throwOnError)||(t=t.catch(eU)),t}function t4(e){return!eL&&!1!==eF(this.options.enabled,tG(this,er))&&ej(e)}function t7(){tZ(this,eS,rr).call(this);let e=eF(this.options.staleTime,tG(this,er));if(tG(this,ei).isStale||!tZ(this,eg,t4).call(this,e))return;let t=eN(tG(this,ei).dataUpdatedAt,e)+1;tX(this,ef,eD.setTimeout(()=>{tG(this,ei).isStale||this.updateResult()},t))}function t9(){var e;return null!=(e="function"==typeof this.options.refetchInterval?this.options.refetchInterval(tG(this,er)):this.options.refetchInterval)&&e}function re(e){tZ(this,ek,rn).call(this),tX(this,eh,e),0!==tG(this,eh)&&tZ(this,eg,t4).call(this,tG(this,eh))&&tX(this,ed,eD.setInterval(()=>{(this.options.refetchIntervalInBackground||e4.isFocused())&&tZ(this,ev,t3).call(this)},tG(this,eh)))}function rt(){tZ(this,ey,t7).call(this),tZ(this,eb,re).call(this,tZ(this,em,t9).call(this))}function rr(){void 0!==tG(this,ef)&&(eD.clearTimeout(tG(this,ef)),tX(this,ef,void 0))}function rn(){void 0!==tG(this,ed)&&(eD.clearInterval(tG(this,ed)),tX(this,ed,void 0))}function ri(){let e=tG(this,et).getQueryCache().build(tG(this,et),this.options);if(e===tG(this,er))return;let t=tG(this,er);tX(this,er,e),tX(this,en,e.state),this.hasListeners()&&(null==t||t.removeObserver(this),e.addObserver(this))}var ra=class extends t1{bindMethods(){super.bindMethods(),this.fetchNextPage=this.fetchNextPage.bind(this),this.fetchPreviousPage=this.fetchPreviousPage.bind(this)}setOptions(e){e._type="infinite",super.setOptions(e)}getOptimisticResult(e){return e._type="infinite",super.getOptimisticResult(e)}fetchNextPage(e){return this.fetch({...e,meta:{fetchMore:{direction:"forward"}}})}fetchPreviousPage(e){return this.fetch({...e,meta:{fetchMore:{direction:"backward"}}})}createResult(e,t){var r,n,i,a;let{state:o}=e,s=super.createResult(e,t),{isFetching:l,isRefetching:u,isError:c,isRefetchError:f}=s,d=null==(n=o.fetchMeta)||null==(r=n.fetchMore)?void 0:r.direction,h=c&&"forward"===d,p=l&&"forward"===d,g=c&&"backward"===d,y=l&&"backward"===d;return{...s,fetchNextPage:this.fetchNextPage,fetchPreviousPage:this.fetchPreviousPage,hasNextPage:!!(i=o.data)&&null!=tx(t,i),hasPreviousPage:!!(a=o.data)&&!!t.getPreviousPageParam&&null!=tC(t,a),isFetchNextPageError:h,isFetchingNextPage:p,isFetchPreviousPageError:g,isFetchingPreviousPage:y,isRefetchError:f&&!h&&!g,isRefetching:u&&!p&&!y}}constructor(e,t){super(e,t)}},ro=r(50784);function rs(e,t){if(!e)throw"string"==typeof t?Error(t):Error("".concat(t.displayName," not found"))}let rl=(e,t)=>{let{assertCtxFn:r=rs}=t||{},n=eI.createContext(void 0);return n.displayName=e,[n,()=>{let t=eI.useContext(n);return r(t,"".concat(e," not found")),t.value},()=>{let e=eI.useContext(n);return e?e.value:{}}]},[ru,rc]=rl("ClerkInstanceContext"),[rf,rd]=rl("InitialStateContext");function rh(e){let{children:t,initialState:r}=e,[n]=(0,eI.useState)(r),i=eI.useMemo(()=>({value:n}),[n]);return eI.createElement(rf.Provider,{value:i},t)}function rp(){let e=rd();if(e instanceof Promise)if(0)return eI.use(e);else throw Error("initialState cannot be a promise if React version is less than 19");return e}let rv=eI.createContext({}),[rg,ry]=rl("CheckoutContext"),rm=e=>{let{children:t,...r}=e;return eI.createElement(rg.Provider,{value:{value:r}},t)};function rb(e){if(!eI.useContext(ru)){if("function"==typeof e)return void e();throw Error("".concat(e," can only be used within the <ClerkProvider /> component.\n\nPossible fixes:\n1. Ensure that the <ClerkProvider /> is correctly wrapping your application where this component is used.\n2. Check for multiple versions of the `@clerk/shared` package in your project. Use a tool like `npm ls @clerk/shared` to identify multiple versions, and update your dependencies to only rely on one.\n\nLearn more: https://clerk.com/docs/components/clerk-provider").trim())}}function rw(e){return{queryKey:[e.stablePrefix,e.authenticated,e.tracked,e.untracked],invalidationKey:[e.stablePrefix,e.authenticated,e.tracked],stableKey:e.stablePrefix,authenticated:e.authenticated}}function rS(e){if(e)return function(e){return e}}let rk=!1,rE=c=new Proxy(function(){},{get(e,t){if("then"!==t)return"toString"===t?()=>"[".concat("ClerkMockQueryClient","]"):t===Symbol.toPrimitive?()=>0:c},apply:()=>c,construct:()=>c,has:()=>!1,set:()=>!1}),r_=()=>{let e=function(){if("u">typeof window)return rk||(n=new tY,rk=!0),n}();return[null!=e?e:rE,!!e]};function rP(e,t){let[r,n]=r_(),i=n?r.defaultQueryOptions(e):e;i._optimisticResults="optimistic";let a=eI.useMemo(()=>new t(r,i),[r]),o=a.getOptimisticResult(i),s=!1!==e.subscribed;return(eI.useSyncExternalStore(eI.useCallback(e=>{let t=s?a.subscribe(e7.batchCalls(e)):eU;return a.updateResult(),t},[a,s]),()=>a.getCurrentResult(),()=>a.getCurrentResult()),eI.useEffect(()=>{a.setOptions(i)},[i,a]),n)?i.notifyOnChangeProps?o:a.trackResult(o):{data:void 0,error:null,isLoading:!1!==e.enabled,isFetching:!1,status:"pending"}}function rx(e){return rP(e,t1)}function rC(e){var t;let r,n,{isSignedOut:i,stableKeys:a,authenticated:o=!0,onCleanup:s}=e,l=(0,eI.useRef)(a),[u]=r_(),c=(t=!i,r=(0,eI.useRef)(t),n=(0,eI.useRef)(null),r.current!==t&&(n.current=r.current,r.current=t),n.current);(0,eI.useEffect)(()=>{!0===o&&c&&!0===i&&(u.removeQueries({predicate:e=>{let[t,r]=e.queryKey;return!0===r&&"string"==typeof t&&(Array.isArray(l.current)?l.current.includes(t):l.current===t)}}),null==s||s())},[o,i,c,u])}let rO=(e,t)=>{var r,n,i;let a="boolean"==typeof e&&e,o=(0,eI.useRef)(a?t.initialPage:null!=(r=null==e?void 0:e.initialPage)?r:t.initialPage),s=(0,eI.useRef)(a?t.pageSize:null!=(n=null==e?void 0:e.pageSize)?n:t.pageSize),l={};for(let r of Object.keys(t))l[r]=a?t[r]:null!=(i=null==e?void 0:e[r])?i:t[r];return{...l,initialPage:o.current,pageSize:s.current}},rR=e=>{var t,r,n,i,a,o,s,l,u;let c,{fetcher:f,config:d,keys:h}=e,[p,g]=(0,eI.useState)(null!=(t=d.initialPage)?t:1),y=(0,eI.useRef)(null!=(r=d.initialPage)?r:1),m=(0,eI.useRef)(null!=(n=d.pageSize)?n:10),b=null==(i=d.enabled)||i,w=d.isSignedIn,S=null!=(a=d.infinite)&&a,k="cache"===d.__experimental_mode,E=null!=(o=d.keepPreviousData)&&o,[_]=r_(),P=b&&!!f&&!k&&!1!==w,[x,C]=(0,eI.useState)(0),O=(0,eI.useCallback)(e=>{C(e)},[]),R=(0,eI.useMemo)(()=>{let[e,t,r,n]=h.queryKey;return[e,t,r,{...n,args:{...n.args,initialPage:p,pageSize:m.current}}]},[h.queryKey,p]),I=rx({queryKey:R,queryFn:e=>{let{queryKey:t}=e,{args:r}=t[3];if(f)return f(r)},staleTime:6e4,enabled:P&&!S,placeholderData:rS(E)}),A=(0,eI.useMemo)(()=>{let[e,t,r,n]=h.queryKey;return[e+"-inf",t,r,n]},[h.queryKey]),T=rP({queryKey:A,initialPageParam:null!=(s=d.initialPage)?s:1,getNextPageParam:(e,t,r)=>{var n,i;let a=null!=(n=null==e?void 0:e.total_count)?n:0;return(t.length+(d.initialPage?d.initialPage-1:0))*(null!=(i=d.pageSize)?i:10)<a?r+1:void 0},queryFn:e=>{let{pageParam:t,queryKey:r}=e,{args:n}=r[3];if(f)return f({...n,initialPage:t,pageSize:m.current})},staleTime:6e4,enabled:P&&S},ra);rC({isSignedOut:!1===w,authenticated:h.authenticated,stableKeys:[c=h.stableKey,"".concat(c,"-inf")],onCleanup:()=>{g(y.current),Promise.resolve().then(()=>O(e=>e+1))}});let{data:M,count:z,page:D}=(0,eI.useMemo)(()=>{var e,t,r,n,i,a,o,s;if(S){let e=_.getQueryData(A),l=P?null!=(t=null!=(r=null==(o=T.data)?void 0:o.pages)?r:null==e?void 0:e.pages)?t:[]:null!=(n=null==e?void 0:e.pages)?n:[],u=Array.isArray(l)?l.filter(Boolean):[];return{data:null!=(i=u.map(e=>null==e?void 0:e.data).flat().filter(Boolean))?i:[],count:null!=(a=null==(s=u[u.length-1])?void 0:s.total_count)?a:0,page:u.length>0?u.length:y.current}}let l=P&&null!=(e=I.data)?e:_.getQueryData(R);return{data:Array.isArray(null==l?void 0:l.data)?l.data:[],count:"number"==typeof(null==l?void 0:l.total_count)?l.total_count:0,page:p}},[P,x,S,null==(u=T.data)?void 0:u.pages,I.data,_,A,R,p]),L=(0,eI.useCallback)(e=>{if(S){var t,r,n;let i=Math.max(0,"function"==typeof e?e(D):e),a=_.getQueryData(A);i-(null!=(t=null!=(r=null==(n=T.data)?void 0:n.pages)?r:null==a?void 0:a.pages)?t:[]).length>0&&T.fetchNextPage({cancelRefetch:!1});return}return g(e)},[T,D,S,_,A]),U=S?T.isLoading:I.isLoading,j=S?T.isFetching:I.isFetching,N=null!=(l=S?T.error:I.error)?l:null,F=(0,eI.useCallback)(()=>{S?T.fetchNextPage({cancelRefetch:!1}):g(e=>Math.max(0,e+1))},[T,S]),q=(0,eI.useCallback)(()=>{S||g(e=>Math.max(0,e-1))},[S]),W=(y.current-1)*m.current,K=Math.ceil((z-W)/m.current),B=S?!!T.hasNextPage:z-W>D*m.current,$=S?!!T.hasPreviousPage:(D-1)*m.current>W;return{data:M,count:z,error:N,isLoading:U,isFetching:j,isError:!!N,page:D,pageCount:K,fetchPage:L,fetchNext:F,fetchPrevious:q,hasNextPage:B,hasPreviousPage:$,revalidate:async()=>{await _.invalidateQueries({queryKey:h.invalidationKey});let[e,...t]=h.invalidationKey;return _.invalidateQueries({queryKey:[e+"-inf",...t]})},setData:e=>(S?(_.setQueryData(A,function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=Array.isArray(null==t?void 0:t.pages)?t.pages:[],n="function"==typeof e?e(r):e;return{...t,pages:n}}),O(e=>e+1)):(_.setQueryData(R,function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{data:[],total_count:0};return"function"==typeof e?e(t):e}),O(e=>e+1)),Promise.resolve())}};function rI(e){var t,r,n;rb("useAPIKeys");let i=rO(e,{initialPage:1,pageSize:10,keepPreviousData:!1,infinite:!1,subject:"",query:"",enabled:!0}),a=rc();null==(r=a.telemetry)||r.record((0,eC.a)("useAPIKeys"));let o={initialPage:i.initialPage,pageSize:i.pageSize,...i.subject?{subject:i.subject}:{},...i.query?{query:i.query}:{}},s=(null==(t=i.enabled)||t)&&a.loaded;return rR({fetcher:(null==(n=a.apiKeys)?void 0:n.getAll)?e=>a.apiKeys.getAll({...e,subject:i.subject}):void 0,config:{keepPreviousData:i.keepPreviousData,infinite:i.infinite,enabled:s,isSignedIn:null!==a.user,initialPage:i.initialPage,pageSize:i.pageSize},keys:rw({stablePrefix:"apiKeys",authenticated:!0,tracked:{subject:i.subject},untracked:{args:o}})})}function rA(){let e=rc(),t=rp(),r=(0,eI.useCallback)(()=>null==t?void 0:t.user,[null==t?void 0:t.user]);return(0,eI.useSyncExternalStore)((0,eI.useCallback)(t=>e.addListener(t,{skipInitialEmit:!0}),[e]),(0,eI.useCallback)(()=>e.loaded&&e.__internal_lastEmittedResources?e.__internal_lastEmittedResources.user:r(),[e,r]),r)}let rT="useOAuthConsent";function rM(e){var t,r,n;rb(rT);let{oauthClientId:i,scope:a,redirectUri:o,keepPreviousData:s=!0,enabled:l=!0}=e,u=rc(),c=rA(),f=(null!=i?i:"").trim();null==(n=u.telemetry)||n.record((0,eC.a)(rT));let{queryKey:d}=function(e){let{userId:t,oauthClientId:r,scope:n,redirectUri:i}=e;return(0,eI.useMemo)(()=>rw({stablePrefix:"oauthConsentInfo",authenticated:!0,tracked:{userId:null!=t?t:null},untracked:{args:{oauthClientId:r,...void 0!==n&&{scope:n},...void 0!==i&&{redirectUri:i}}}}),[t,r,n,i])}({userId:null!=(t=null==c?void 0:c.id)?t:null,oauthClientId:f,scope:a,redirectUri:o}),h=f.length>0,p=!!c&&h&&l&&u.loaded,g=rx({queryKey:d,queryFn:()=>{var e,t;return e=u,t={oauthClientId:f,scope:a,redirectUri:o},e.oauthApplication.getConsentInfo(t)},enabled:p,placeholderData:rS(s&&p)});return{data:g.data,error:null!=(r=g.error)?r:null,isLoading:g.isLoading,isFetching:g.isFetching}}let rz="useOAuthDeviceVerification",rD=e=>e.toUpperCase().replace(RegExp("[-\\u0009-\\u000D\\u0020\\u0085\\u00A0\\u1680\\u2000-\\u200A\\u2028-\\u2029\\u202F\\u205F\\u3000]","gu"),""),rL=()=>new e_.t("Clerk must be loaded before using OAuth device verification.",{code:"oauth_device_verification_not_ready"});function rU(){var e;rb(rz);let t=rc(),[r,n]=(0,eI.useState)(),[i,a]=(0,eI.useState)(),[o,s]=(0,eI.useState)(null),[l,u]=(0,eI.useState)(!1),[c,f]=(0,eI.useState)(!1),d=(0,eI.useRef)(null),h=(0,eI.useRef)(null),p=(0,eI.useRef)(0);null==(e=t.telemetry)||e.record((0,eC.a)(rz));let g=(0,eI.useCallback)(e=>{let r=t.loaded?t.oauthApplication:void 0;if(!r)return Promise.reject(rL());let i=rD(e.userCode);if(d.current)return d.current.key===i?d.current.promise:Promise.reject(new e_.t("An OAuth device verification lookup is already in progress for another code.",{code:"oauth_device_verification_lookup_in_progress"}));let o=p.current;s(null),n(void 0),a(void 0),u(!0);let l=r.lookupDeviceVerification({...e,userCode:i}).then(e=>(p.current===o&&n(e),e)).catch(e=>{throw p.current===o&&s(e),e}).finally(()=>{var e;(null==(e=d.current)?void 0:e.promise)===l&&(d.current=null),p.current===o&&u(!1)});return d.current={key:i,promise:l},l},[t]),y=(0,eI.useCallback)((e,r)=>{var n;let i=t.loaded?t.oauthApplication:void 0;if(!i)return Promise.reject(rL());let o=rD(e.userCode),l=JSON.stringify([o,null!=(n=e.organizationId)?n:null,r]);if(h.current)return h.current.key===l?h.current.promise:Promise.reject(new e_.t("Another OAuth device verification decision is already in progress.",{code:"oauth_device_verification_submission_in_progress"}));let u=p.current;s(null),f(!0);let c=i.submitDeviceVerification({...e,userCode:o,approved:r}).then(e=>(p.current===u&&a(e),e)).catch(e=>{throw p.current===u&&s(e),e}).finally(()=>{var e;(null==(e=h.current)?void 0:e.promise)===c&&(h.current=null),p.current===u&&f(!1)});return h.current={key:l,promise:c},c},[t]);return{data:r,result:i,error:o,isLoading:l,isSubmitting:c,lookup:g,approve:(0,eI.useCallback)(e=>y(e,!0),[y]),deny:(0,eI.useCallback)(e=>y(e,!1),[y]),reset:(0,eI.useCallback)(()=>{p.current+=1,d.current=null,n(void 0),a(void 0),s(null),u(!1),f(!1)},[])}}function rj(){let e=rc(),t=rp(),r=(0,eI.useCallback)(()=>null==t?void 0:t.organization,[null==t?void 0:t.organization]);return(0,eI.useSyncExternalStore)((0,eI.useCallback)(t=>e.addListener(t,{skipInitialEmit:!0}),[e]),(0,eI.useCallback)(()=>e.loaded&&e.__internal_lastEmittedResources?e.__internal_lastEmittedResources.organization:r(),[e,r]),r)}function rN(){let e=rc(),t=rp(),r=(0,eI.useCallback)(()=>{var e;let r,n,i,a,o;return t?(r=t.userId,n=t.user,i=t.sessionId,a=t.sessionStatus,o=t.sessionClaims,e={userId:r,user:n,sessionId:i,session:t.session,sessionStatus:a,sessionClaims:o,organization:t.organization,orgId:t.orgId,orgRole:t.orgRole,orgPermissions:t.orgPermissions,orgSlug:t.orgSlug,actor:t.actor,factorVerificationAge:t.factorVerificationAge},void 0===e)?void 0:e.session:void 0},[t]);return(0,eI.useSyncExternalStore)((0,eI.useCallback)(t=>e.addListener(t,{skipInitialEmit:!0}),[e]),(0,eI.useCallback)(()=>e.loaded&&e.__internal_lastEmittedResources?e.__internal_lastEmittedResources.session:r(),[e,r]),r)}let rF=()=>(rb("useClerk"),rc());function rq(e){let{enabled:t=!0}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=rF(),n=(0,eI.useRef)(!1);(0,eI.useEffect)(()=>{var i;t&&!n.current&&(n.current=!0,null==(i=r.__internal_attemptToEnableEnvironmentSetting)||i.call(r,{for:"organizations",caller:e}))},[r,e,t])}let rW={data:void 0,count:void 0,error:void 0,isLoading:!1,isFetching:!1,isError:!1,page:void 0,pageCount:void 0,fetchPage:void 0,fetchNext:void 0,fetchPrevious:void 0,hasNextPage:!1,hasPreviousPage:!1,revalidate:void 0,setData:void 0};function rK(e){var t,r,n;let{domains:i,membershipRequests:a,memberships:o,invitations:s,__internal_skipAttemptToEnableOrganizations:l}=e||{};rb("useOrganization"),rq("useOrganization",{enabled:!l});let u=rj(),c=rN(),f=rO(i,{initialPage:1,pageSize:10,keepPreviousData:!1,infinite:!1,enrollmentMode:void 0}),d=rO(a,{initialPage:1,pageSize:10,status:"pending",keepPreviousData:!1,infinite:!1}),h=rO(o,{initialPage:1,pageSize:10,role:void 0,keepPreviousData:!1,infinite:!1,query:void 0}),p=rO(s,{initialPage:1,pageSize:10,status:["pending"],keepPreviousData:!1,infinite:!1}),g=rc();null==(t=g.telemetry)||t.record((0,eC.a)("useOrganization"));let y=void 0===i?void 0:{initialPage:f.initialPage,pageSize:f.pageSize,enrollmentMode:f.enrollmentMode},m=void 0===a?void 0:{initialPage:d.initialPage,pageSize:d.pageSize,status:d.status},b=void 0===o?void 0:{initialPage:h.initialPage,pageSize:h.pageSize,role:h.role,query:h.query},w=void 0===s?void 0:{initialPage:p.initialPage,pageSize:p.pageSize,status:p.status},S=rR({fetcher:null==u?void 0:u.getDomains,config:{keepPreviousData:f.keepPreviousData,infinite:f.infinite,enabled:!!y,isSignedIn:null!==u,initialPage:f.initialPage,pageSize:f.pageSize},keys:rw({stablePrefix:"domains",authenticated:!0,tracked:{organizationId:null==u?void 0:u.id},untracked:{args:y}})}),k=rR({fetcher:null==u?void 0:u.getMembershipRequests,config:{keepPreviousData:d.keepPreviousData,infinite:d.infinite,enabled:!!m,isSignedIn:null!==u,initialPage:d.initialPage,pageSize:d.pageSize},keys:rw({stablePrefix:"membershipRequests",authenticated:!0,tracked:{organizationId:null==u?void 0:u.id},untracked:{args:m}})}),E=rR({fetcher:null==u?void 0:u.getMemberships,config:{keepPreviousData:h.keepPreviousData,infinite:h.infinite,enabled:!!b,isSignedIn:null!==u,initialPage:h.initialPage,pageSize:h.pageSize},keys:rw({stablePrefix:"memberships",authenticated:!0,tracked:{organizationId:null==u?void 0:u.id},untracked:{args:b}})}),_=rR({fetcher:null==u?void 0:u.getInvitations,config:{keepPreviousData:p.keepPreviousData,infinite:p.infinite,enabled:!!w,isSignedIn:null!==u,initialPage:p.initialPage,pageSize:p.pageSize},keys:rw({stablePrefix:"invitations",authenticated:!0,tracked:{organizationId:null==u?void 0:u.id},untracked:{args:w}})});return void 0===u?{isLoaded:!1,organization:void 0,membership:void 0,domains:rW,membershipRequests:rW,memberships:rW,invitations:rW}:null===u?{isLoaded:!0,organization:null,membership:null,domains:null,membershipRequests:null,memberships:null,invitations:null}:!g.loaded&&u?{isLoaded:!0,organization:u,membership:void 0,domains:rW,membershipRequests:rW,memberships:rW,invitations:rW}:{isLoaded:g.loaded,organization:u,membership:(r=c.user.organizationMemberships,n=u.id,r.find(e=>e.organization.id===n)),domains:S,membershipRequests:k,memberships:E,invitations:_}}let rB="useOrganizationCreationDefaults";function r$(){var e,t,r,n,i,a,o;let s=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};rb(rB);let{keepPreviousData:l=!0,enabled:u=!0}=s,c=rc(),f=rA(),d=null!=(e=null==(a=c.__internal_environment)||null==(i=a.organizationSettings)||null==(n=i.organizationCreationDefaults)?void 0:n.enabled)&&e;null==(o=c.telemetry)||o.record((0,eC.a)(rB));let{queryKey:h}=function(e){let{userId:t}=e;return(0,eI.useMemo)(()=>rw({stablePrefix:"organizationCreationDefaults",authenticated:!!t,tracked:{userId:null!=t?t:null},untracked:{args:{}}}),[t])}({userId:null!=(t=null==f?void 0:f.id)?t:null}),p=!!f&&u&&d&&c.loaded,g=rx({queryKey:h,queryFn:null==f?void 0:f.getOrganizationCreationDefaults,enabled:p,placeholderData:rS(l)});return{data:g.data,error:null!=(r=g.error)?r:null,isLoading:g.isLoading,isFetching:g.isFetching}}let rV={data:void 0,count:void 0,error:void 0,isLoading:!1,isFetching:!1,isError:!1,page:void 0,pageCount:void 0,fetchPage:void 0,fetchNext:void 0,fetchPrevious:void 0,hasNextPage:!1,hasPreviousPage:!1,revalidate:void 0,setData:void 0};function rY(e){var t;let{userMemberships:r,userInvitations:n,userSuggestions:i}=e||{};rb("useOrganizationList"),rq("useOrganizationList",{enabled:void 0!==r||void 0!==n||void 0!==i});let a=rO(r,{initialPage:1,pageSize:10,keepPreviousData:!1,infinite:!1}),o=rO(n,{initialPage:1,pageSize:10,status:"pending",keepPreviousData:!1,infinite:!1}),s=rO(i,{initialPage:1,pageSize:10,status:"pending",keepPreviousData:!1,infinite:!1}),l=rc(),u=rA();null==(t=l.telemetry)||t.record((0,eC.a)("useOrganizationList"));let c=void 0===r?void 0:{initialPage:a.initialPage,pageSize:a.pageSize},f=void 0===n?void 0:{initialPage:o.initialPage,pageSize:o.pageSize,status:o.status},d=void 0===i?void 0:{initialPage:s.initialPage,pageSize:s.pageSize,status:s.status},h=!!(l.loaded&&u),p=rR({fetcher:null==u?void 0:u.getOrganizationMemberships,config:{keepPreviousData:a.keepPreviousData,infinite:a.infinite,enabled:!!c,isSignedIn:null!==u,initialPage:a.initialPage,pageSize:a.pageSize},keys:rw({stablePrefix:"userMemberships",authenticated:!0,tracked:{userId:null==u?void 0:u.id},untracked:{args:c}})}),g=rR({fetcher:null==u?void 0:u.getOrganizationInvitations,config:{keepPreviousData:o.keepPreviousData,infinite:o.infinite,enabled:!!f,isSignedIn:null!==u,initialPage:o.initialPage,pageSize:o.pageSize},keys:rw({stablePrefix:"userInvitations",authenticated:!0,tracked:{userId:null==u?void 0:u.id},untracked:{args:f}})}),y=rR({fetcher:null==u?void 0:u.getOrganizationSuggestions,config:{keepPreviousData:s.keepPreviousData,infinite:s.infinite,enabled:!!d,isSignedIn:null!==u,initialPage:s.initialPage,pageSize:s.pageSize},keys:rw({stablePrefix:"userSuggestions",authenticated:!0,tracked:{userId:null==u?void 0:u.id},untracked:{args:d}})});return h?{isLoaded:h,setActive:l.setActive,createOrganization:l.createOrganization,userMemberships:p,userInvitations:g,userSuggestions:y}:{isLoaded:!1,createOrganization:void 0,setActive:void 0,userMemberships:rV,userInvitations:rV,userSuggestions:rV}}let rQ="u">typeof window?eI.useLayoutEffect:eI.useEffect,rH="useSession",rG=()=>{var e;rb(rH);let t=rN(),r=rc();return(null==(e=r.telemetry)||e.record((0,eC.a)(rH)),void 0===t)?{isLoaded:!1,isSignedIn:void 0,session:void 0}:null===t?{isLoaded:!0,isSignedIn:!1,session:null}:{isLoaded:!0,isSignedIn:r.isSignedIn,session:t}},rJ,rX=()=>rJ;function rZ(){let e=rc();return(0,eI.useSyncExternalStore)((0,eI.useCallback)(t=>e.addListener(t,{skipInitialEmit:!0}),[e]),(0,eI.useCallback)(()=>{if(e.loaded&&e.__internal_lastEmittedResources)return e.__internal_lastEmittedResources.client},[e]),rX)}let r0="useUser";function r1(){var e;rb(r0);let t=rA();return(null==(e=rc().telemetry)||e.record((0,eC.a)(r0)),void 0===t)?{isLoaded:!1,isSignedIn:void 0,user:void 0}:null===t?{isLoaded:!0,isSignedIn:!1,user:null}:{isLoaded:!0,isSignedIn:!0,user:t}}let r6=(e,t)=>{let r;return eI.useMemo(e,(r=eI.useRef(t),(0,ro.j)(t,r.current)||(r.current=t),eI.useMemo(()=>r.current,[r.current])))};async function r5(e){try{let t=await e;if(t instanceof Response)return t.json();return t}catch(e){if((0,eP.C)(e)&&e.errors.find(e=>{let{code:t}=e;return"session_reverification_required"===t}))return{clerk_error:{type:"forbidden",reason:h,metadata:{reverification:void 0}}};throw e}}let r2=(e,t)=>{let{__internal_openReverification:r,telemetry:n}=rF(),i=(0,eI.useRef)(e),a=(0,eI.useRef)(t);return null==n||n.record((0,eC.a)("useReverification",{onNeedsReverification:!!(null==t?void 0:t.onNeedsReverification),passReverificationResult:!!(null==t?void 0:t.passReverificationResult)})),rQ(()=>{i.current=e,a.current=t}),(0,eI.useCallback)(function(){for(var e,t=arguments.length,o=Array(t),s=0;s<t;s++)o[s]=arguments[s];return(e={openUIComponent:r,telemetry:n,...a.current},function(t){let r=(r,n)=>e.passReverificationResult?t(r,...n):t(...n);return async function(){for(var t,n,i,a,o,s=arguments.length,l=Array(s),u=0;u<s;u++)l[u]=arguments[u];let c=await r5(r(void 0,l));if((t=c)&&"object"==typeof t&&"clerk_error"in t&&(null==(n=t.clerk_error)?void 0:n.type)==="forbidden"&&(null==(i=t.clerk_error)?void 0:i.reason)===h){let t=(0,eO.t)(),n=(e=>{let t,r;if(!e)return!1;let n="string"==typeof e&&y.has(e),i="object"==typeof e&&(t=e.level,g.has(t))&&"number"==typeof(r=e.afterMinutes)&&r>0;return(!!n||!!i)&&(e=>"string"==typeof e?p[e]:e).bind(null,e)})(null==(a=c.clerk_error.metadata)?void 0:a.reverification),i=n?n().level:void 0,s=()=>{t.reject(new e_.t("User cancelled attempted verification",{code:"reverification_cancelled"}))},u=e=>{t.resolve(e)};void 0===e.onNeedsReverification?null==(o=e.openUIComponent)||o.call(e,{level:i,afterVerification:u,afterVerificationCancelled:s}):e.onNeedsReverification({cancel:s,complete:u,level:i}),c=await r5(r(await t.promise,l))}return c}})(i.current)(...o)},[r,n])};function r8(e){var t,r;let n=rc(),i=null==(t=null==e?void 0:e.enabled)||t,a=n.__internal_environment,o=rA(),s=rj(),l=null==a?void 0:a.commerceSettings.billing.user.enabled,u=null==a?void 0:a.commerceSettings.billing.organization.enabled,c=(null==e?void 0:e.for)==="organization"?u:(null==e?void 0:e.for)==="user"?l:l||u,f=(null==e?void 0:e.for)==="organization",d=null!=(r=null==e?void 0:e.authenticated)&&!r||(!f||!!(null==s?void 0:s.id))&&!!(null==o?void 0:o.id);return c&&i&&n.loaded&&d}function r3(e){let{hookName:t,resourceType:r,useFetcher:n,options:i}=e;return function(e){var a;let{for:o,enabled:s,...l}=e||{},u=o||"user";rb(t);let c=n(u),f=rO(l,{initialPage:1,pageSize:10,keepPreviousData:!1,infinite:!1,__experimental_mode:void 0}),d=rc(),h=rA(),p=rj();null==(a=d.telemetry)||a.record((0,eC.a)(t));let g="organization"===u,y=r8({for:u,enabled:s,authenticated:!(null==i?void 0:i.unauthenticated)}),m=void 0===l?void 0:{initialPage:f.initialPage,pageSize:f.pageSize,...(null==i?void 0:i.unauthenticated)?{}:g?{orgId:null==p?void 0:p.id}:{}},b=!!m&&d.loaded&&!!y;return rR({fetcher:c,config:{keepPreviousData:f.keepPreviousData,infinite:f.infinite,enabled:b,...(null==i?void 0:i.unauthenticated)?{}:{isSignedIn:null!==h},__experimental_mode:f.__experimental_mode,initialPage:f.initialPage,pageSize:f.pageSize},keys:rw({stablePrefix:r,authenticated:!(null==i?void 0:i.unauthenticated),tracked:(null==i?void 0:i.unauthenticated)?{for:u}:{userId:null==h?void 0:h.id,...g?{orgId:null==p?void 0:p.id}:{}},untracked:{args:m}})})}}let r4=r3({hookName:"useStatements",resourceType:"billing-statements",useFetcher:()=>{let e=rc();if(e.loaded)return e.billing.getStatements}}),r7=r3({hookName:"usePaymentAttempts",resourceType:"billing-payment-attempts",useFetcher:()=>{let e=rc();if(e.loaded)return e.billing.getPaymentAttempts}}),r9=r3({hookName:"usePaymentMethods",resourceType:"billing-payment-methods",useFetcher:e=>{let t=rj(),r=rA();return"organization"===e?null==t?void 0:t.getPaymentMethods:null==r?void 0:r.getPaymentMethods}}),ne=r3({hookName:"usePlans",resourceType:"billing-plans",useFetcher:e=>{let t=rc();if(t.loaded)return r=>t.billing.getPlans({...r,for:e})},options:{unauthenticated:!0}}),nt="useSubscription";function nr(e){var t,r;rb(nt);let n=rc(),i=rA(),a=rj(),o=r8(e),s=(0,eI.useRef)(!1);(0,eI.useEffect)(()=>{!s.current&&(null==n?void 0:n.telemetry)&&(n.telemetry.record((0,eC.a)(nt)),s.current=!0)},[n]);let l=null!=(t=null==e?void 0:e.keepPreviousData)&&t,[u]=r_(),{queryKey:c,invalidationKey:f,stableKey:d,authenticated:h}=function(e){let{userId:t,orgId:r,for:n}=e;return(0,eI.useMemo)(()=>{let e="organization"===n?r:void 0;return rw({stablePrefix:"billing-subscription",authenticated:!0,tracked:{userId:t,orgId:e},untracked:{args:{orgId:e}}})},[t,r,n])}({userId:null==i?void 0:i.id,orgId:null==a?void 0:a.id,for:null==e?void 0:e.for}),p=!!((null==i?void 0:i.id)&&o);rC({isSignedOut:null===i,authenticated:h,stableKeys:d});let g=rx({queryKey:c,queryFn:e=>{let{queryKey:t}=e,r=t[3];return n.billing.getSubscription(r.args)},staleTime:6e4,enabled:p,placeholderData:rS(l&&p)}),y=(0,eI.useCallback)(()=>u.invalidateQueries({queryKey:f}),[u,f]);return{data:g.data,error:null!=(r=g.error)?r:void 0,isLoading:g.isLoading,isFetching:g.isFetching,revalidate:y}}let nn=e=>{let t=ry(),{for:r,planId:n,planPeriod:i,seatsQuantity:a,priceId:o}=e||t,s=rj(),{isLoaded:l,user:u}=r1(),c=rc();if(null===u&&l)throw Error('Clerk: Ensure that `useCheckout` is inside a component wrapped with `<Show when="signed-in" />`.');if(l&&"organization"===r&&null===s)throw Error("Clerk: Ensure your flow checks for an active organization. Retrieve `orgId` from `useAuth()` and confirm it is defined. For SSR, see: https://clerk.com/docs/reference/backend/types/auth-object#how-to-access-the-auth-object");let f=(0,eI.useCallback)(()=>c.__experimental_checkout({planId:n,planPeriod:i,for:r,seatsQuantity:a,priceId:o}),[null==u?void 0:u.id,null==s?void 0:s.id,n,i,r,a,o]),d=(0,eI.useCallback)(e=>c.loaded?c.__internal_state.__internal_effect(()=>{f(),e()}):()=>{},[f,c.loaded,c.__internal_state]),h=(0,eI.useCallback)(()=>f(),[f]);return(0,eI.useSyncExternalStore)(d,h,h)},ni="useCreditBalance";function na(e){var t,r,n;rb(ni);let i=rc(),a=rA(),o=rj(),s=r8(e),l=(0,eI.useRef)(!1);(0,eI.useEffect)(()=>{!l.current&&(null==i?void 0:i.telemetry)&&(i.telemetry.record((0,eC.a)(ni)),l.current=!0)},[i]);let u=null!=(t=null==e?void 0:e.keepPreviousData)&&t,[c]=r_(),{queryKey:f,invalidationKey:d,stableKey:h,authenticated:p}=(0,eI.useMemo)(()=>{let t=(null==e?void 0:e.for)==="organization"?null==o?void 0:o.id:void 0;return rw({stablePrefix:"billing-credit-balance",authenticated:!0,tracked:{userId:null==a?void 0:a.id,orgId:t},untracked:{args:{orgId:t}}})},[null==a?void 0:a.id,null==o?void 0:o.id,null==e?void 0:e.for]),g=!!((null==a?void 0:a.id)&&s&&(null==(r=null==e?void 0:e.enabled)||r));rC({isSignedOut:null===a,authenticated:p,stableKeys:h});let y=rx({queryKey:f,queryFn:e=>{let{queryKey:t}=e,r=t[3];return i.billing.getCreditBalance(r.args)},staleTime:6e4,enabled:g,placeholderData:rS(u&&g)}),m=(0,eI.useCallback)(()=>c.invalidateQueries({queryKey:d}),[c,d]);return{data:y.data,error:null!=(n=y.error)?n:void 0,isLoading:y.isLoading,isFetching:y.isFetching,revalidate:m}}let no="useCreditHistory";function ns(e){var t,r;rb(no);let n=rc(),i=rA(),a=rj(),o=r8(e),s=(0,eI.useRef)(!1);(0,eI.useEffect)(()=>{!s.current&&(null==n?void 0:n.telemetry)&&(n.telemetry.record((0,eC.a)(no)),s.current=!0)},[n]);let[l]=r_(),{queryKey:u,invalidationKey:c,stableKey:f,authenticated:d}=(0,eI.useMemo)(()=>{let t=(null==e?void 0:e.for)==="organization"?null==a?void 0:a.id:void 0;return rw({stablePrefix:"billing-credit-history",authenticated:!0,tracked:{userId:null==i?void 0:i.id,orgId:t},untracked:{args:{orgId:t}}})},[null==i?void 0:i.id,null==a?void 0:a.id,null==e?void 0:e.for]),h=!!((null==i?void 0:i.id)&&o&&(null==(t=null==e?void 0:e.enabled)||t));rC({isSignedOut:null===i,authenticated:d,stableKeys:f});let p=rx({queryKey:u,queryFn:e=>{let{queryKey:t}=e,r=t[3];return n.billing.getCreditHistory(r.args)},staleTime:6e4,enabled:h}),g=(0,eI.useCallback)(()=>l.invalidateQueries({queryKey:c}),[l,c]);return{data:p.data,error:null!=(r=p.error)?r:void 0,isLoading:p.isLoading,isFetching:p.isFetching,revalidate:g}}function nl(){var e,t,r;let n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{statementId:i=null,keepPreviousData:a=!1,for:o="user"}=n,s=rc(),l=rA(),u=rj(),c="organization"===o&&null!=(e=null==u?void 0:u.id)?e:null,{queryKey:f,stableKey:d,authenticated:h}=function(e){let{statementId:t,userId:r,orgId:n,for:i}=e;return(0,eI.useMemo)(()=>rw({stablePrefix:"billing-statement",authenticated:!0,tracked:{statementId:t,forType:i,userId:r,orgId:n},untracked:{args:{id:null!=t?t:void 0,orgId:null!=n?n:void 0}}}),[t,i,r,n])}({statementId:i,userId:null!=(t=null==l?void 0:l.id)?t:null,orgId:c,for:o}),p=r8(n);rC({isSignedOut:null===l,authenticated:h,stableKeys:d});let g=rx({queryKey:f,queryFn:()=>{if(!i)throw Error("statementId is required to fetch a statement");return s.billing.getStatement({id:i,orgId:null!=c?c:void 0})},enabled:!!i&&p,placeholderData:rS(a),staleTime:6e4});return{data:g.data,error:null!=(r=g.error)?r:null,isLoading:g.isLoading,isFetching:g.isFetching}}function nu(){var e,t;let r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{planId:n,initialPlan:i=null,keepPreviousData:a=!0}=r,o=rc(),s=null!=(e=null!=n?n:null==i?void 0:i.id)?e:null,{queryKey:l}=function(e){let{planId:t}=e;return(0,eI.useMemo)(()=>rw({stablePrefix:"billing-plan",authenticated:!1,tracked:{planId:null!=t?t:null},untracked:{args:{id:null!=t?t:void 0}}}),[t])}({planId:s}),u=r8({authenticated:!1}),c=rx({queryKey:l,queryFn:()=>{if(!s)throw Error("planId is required to fetch plan details");return o.billing.getPlan({id:s})},enabled:!!s&&u,initialData:null!=i?i:void 0,placeholderData:rS(a),initialDataUpdatedAt:0});return{data:c.data,error:null!=(t=c.error)?t:null,isLoading:c.isLoading,isFetching:c.isFetching}}function nc(e){var t,r,n;let{paymentAttemptId:i,keepPreviousData:a=!1,for:o="user"}=e,s=rc(),l=rA(),u=rj(),c="organization"===o&&null!=(t=null==u?void 0:u.id)?t:null,{queryKey:f,stableKey:d,authenticated:h}=function(e){let{paymentAttemptId:t,userId:r,orgId:n,for:i}=e;return(0,eI.useMemo)(()=>rw({stablePrefix:"billing-payment-attempt",authenticated:!0,tracked:{paymentAttemptId:t,forType:i,userId:r,orgId:n},untracked:{args:{id:null!=t?t:void 0,orgId:null!=n?n:void 0}}}),[t,i,r,n])}({paymentAttemptId:i,userId:null!=(r=null==l?void 0:l.id)?r:null,orgId:c,for:o}),p=r8(e);rC({isSignedOut:null===l,authenticated:h,stableKeys:d});let g=rx({queryKey:f,queryFn:e=>{let{queryKey:t}=e,r=t[3].args;return s.billing.getPaymentAttempt(r)},enabled:!!i&&p,placeholderData:rS(a),staleTime:6e4});return{data:g.data,error:null!=(n=g.error)?n:null,isLoading:g.isLoading,isFetching:g.isFetching}}function nf(){var e,t;let r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{keepPreviousData:n=!0,enabled:i=!0,withOrganizationAccountLinking:a=!1}=r,o=rc(),s=rA(),[l]=r_(),{queryKey:u,stableKey:c,authenticated:f}=function(e){let{userId:t,withOrganizationAccountLinking:r=!1}=e;return(0,eI.useMemo)(()=>rw({stablePrefix:"userEnterpriseConnections",authenticated:!!t,tracked:{userId:null!=t?t:null,withOrganizationAccountLinking:r},untracked:{args:{}}}),[t,r])}({userId:null!=(e=null==s?void 0:s.id)?e:null,withOrganizationAccountLinking:a}),d=i&&o.loaded&&!!s;rC({isSignedOut:null===s,authenticated:f,stableKeys:c});let h=rx({queryKey:u,queryFn:()=>null==s?void 0:s.getEnterpriseConnections({withOrganizationAccountLinking:a}),enabled:d,placeholderData:rS(n)}),p=(0,eI.useCallback)(()=>l.invalidateQueries({queryKey:[c]}),[l,c]);return{data:h.data,error:null!=(t=h.error)?t:null,isLoading:h.isLoading,isFetching:h.isFetching,revalidate:p}}function nd(){var e,t;let r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{keepPreviousData:n=!0,enabled:i=!0,withOrganizationAccountLinking:a=!1}=r,o=rc(),s=rj(),[l]=r_(),{queryKey:u,stableKey:c,authenticated:f}=function(e){let{organizationId:t,withOrganizationAccountLinking:r=!1}=e;return(0,eI.useMemo)(()=>rw({stablePrefix:"organizationEnterpriseConnections",authenticated:!!t,tracked:{organizationId:null!=t?t:null,withOrganizationAccountLinking:r},untracked:{args:{}}}),[t,r])}({organizationId:null!=(e=null==s?void 0:s.id)?e:null,withOrganizationAccountLinking:a}),d=i&&o.loaded&&!!s;rC({isSignedOut:null===s,authenticated:f,stableKeys:c});let h=rx({queryKey:u,queryFn:()=>null==s?void 0:s.getEnterpriseConnections({withOrganizationAccountLinking:a}),enabled:d,placeholderData:rS(n)}),p=(0,eI.useCallback)(()=>l.invalidateQueries({queryKey:[c]}),[l,c]),g=(0,eI.useCallback)(async e=>{let t=await (null==s?void 0:s.createEnterpriseConnection(e));return t&&(await l.cancelQueries({queryKey:u,exact:!0}),l.setQueryData(u,function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return[...e.filter(e=>e.id!==t.id),t]}),p()),t},[s,l,u,p]),y=(0,eI.useCallback)(async(e,t)=>{let r=await (null==s?void 0:s.updateEnterpriseConnection(e,t));return await p(),r},[s,p]),m=(0,eI.useCallback)(async e=>{let t=await (null==s?void 0:s.deleteEnterpriseConnection(e));return await p(),t},[s,p]);return{data:h.data,error:null!=(t=h.error)?t:null,isLoading:h.isLoading,isFetching:h.isFetching,createEnterpriseConnection:g,updateEnterpriseConnection:y,deleteEnterpriseConnection:m,revalidate:p}}function nh(){var e,t;let r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{keepPreviousData:n=!0,enabled:i=!0,enrollmentMode:a,onOwnershipVerified:o}=r,s=rc(),l=rj(),[u]=r_(),c=(0,eI.useRef)(o);c.current=o;let{queryKey:f,stableKey:d,authenticated:h}=function(e){let{organizationId:t,enrollmentMode:r}=e;return(0,eI.useMemo)(()=>rw({stablePrefix:"organizationDomains",authenticated:!!t,tracked:{organizationId:null!=t?t:null,enrollmentMode:null!=r?r:null},untracked:{args:{}}}),[t,r])}({organizationId:null!=(e=null==l?void 0:l.id)?e:null,enrollmentMode:a}),p=i&&s.loaded&&!!l;rC({isSignedOut:null===l,authenticated:h,stableKeys:d});let g=a?{enrollmentMode:a}:void 0,y=rx({queryKey:f,queryFn:()=>null==l?void 0:l.getDomains(g),enabled:p,placeholderData:rS(n)}),m=(0,eI.useCallback)(()=>u.invalidateQueries({queryKey:[d]}),[u,d]),b=(0,eI.useCallback)(async e=>{var t,r;let n=await (null==l?void 0:l.createDomain(e,a?{enrollmentMode:a}:void 0));return n&&"enterprise_sso"===a&&(n=null!=(t=null==(r=await (null==l?void 0:l.prepareOwnershipVerification([n.id])))?void 0:r.data[0])?t:n),await m(),n},[l,m,a]),w=(0,eI.useCallback)(async e=>{let t=await (null==l?void 0:l.prepareOwnershipVerification(e.map(e=>e.id)));return await m(),t},[l,m]),S=(0,eI.useCallback)(async e=>{let t=await (null==l?void 0:l.attemptOwnershipVerification(e.map(e=>e.id)));return await m(),t},[l,m]),k=y.data,E="development"===s.instanceType&&(null==k?void 0:k.data.every(e=>e.name.toLowerCase().endsWith(".clerk.test")))?500:1e4,_=(0,eI.useMemo)(()=>{var e;return(null!=(e=null==k?void 0:k.data)?e:[]).filter(e=>{var t;return(null==(t=e.ownershipVerification)?void 0:t.status)==="unverified"}).map(e=>e.id)},[null==k?void 0:k.data]).join(",");return(0,eI.useEffect)(()=>{let e;if(!p||!l||!_)return;let t=!1,r=()=>{e=setTimeout(()=>void i(),E)},n=_.split(","),i=async()=>{var e,i;let a=await l.attemptOwnershipVerification(n).catch(e=>{ex.v.warnOnce("Clerk: failed to attempt organization domain ownership verification: ".concat(e))});if(t||(await m(),t))return;let o=null!=(e=null==a?void 0:a.data.filter(e=>{var t;return(null==(t=e.ownershipVerification)?void 0:t.status)==="verified"}))?e:[];o.length&&await (null==(i=c.current)?void 0:i.call(c,o)),t||(null==a?void 0:a.data.length)&&a.data.every(e=>{var t;return(null==(t=e.ownershipVerification)?void 0:t.status)==="verified"})||r()};return r(),()=>{t=!0,clearTimeout(e)}},[_,p,E]),{data:null==k?void 0:k.data,totalCount:null==k?void 0:k.total_count,error:null!=(t=y.error)?t:null,isLoading:y.isLoading,isFetching:y.isFetching,createDomain:b,prepareOwnershipVerification:w,attemptOwnershipVerification:S,revalidate:m}}function np(e){var t,r;let{enterpriseConnectionId:n,enabled:i=!0}=e,a=rc(),o=rj(),[s]=r_(),{queryKey:l,invalidationKey:u,stableKey:c,authenticated:f}=function(e){let{organizationId:t,enterpriseConnectionId:r}=e;return(0,eI.useMemo)(()=>rw({stablePrefix:"organizationDirectorySync",authenticated:!!t,tracked:{organizationId:null!=t?t:null,enterpriseConnectionId:null!=r?r:null},untracked:{args:{}}}),[t,r])}({organizationId:null!=(t=null==o?void 0:o.id)?t:null,enterpriseConnectionId:n}),d=i&&a.loaded&&!!o&&!!n;rC({isSignedOut:null===o,authenticated:f,stableKeys:c});let h=rx({queryKey:l,queryFn:async()=>{if(!n)throw Error("enterpriseConnectionId is required to fetch the directory");try{var e;return null!=(e=await (null==o?void 0:o.getDirectorySync(n)))?e:null}catch(e){if((0,eP.C)(e)&&404===e.status)return null;throw e}},enabled:d}),p=(0,eI.useCallback)(()=>s.invalidateQueries({queryKey:u}),[s,u]),g=(0,eI.useCallback)(async e=>{if(!n)return;let t=await (null==o?void 0:o.createDirectorySync(n,e));return await p(),t},[o,n,p]),y=h.data,m=(0,eI.useCallback)(async e=>{if(!y)return;let t=await y.update(e);return await p(),t},[y,p]),b=(0,eI.useCallback)(async()=>{if(!y)return;let e=await y.rotateToken();return await p(),e},[y,p]),w=(0,eI.useCallback)(async e=>{if(!y)return;let t=await y.setCredentials(e);return await p(),t},[y,p]),S=(0,eI.useCallback)(async()=>{y&&await y.sync()},[y]),k=(0,eI.useCallback)(async()=>{if(!y)return;let e=await y.delete();return await p(),e},[y,p]);return{data:h.data,error:null!=(r=h.error)?r:null,isLoading:h.isLoading,isFetching:h.isFetching,createDirectorySync:g,updateDirectorySync:m,rotateDirectorySyncToken:b,setDirectorySyncCredentials:w,syncDirectory:S,deleteDirectorySync:k,revalidate:p}}function nv(e){var t,r,n,i,a,o;let{directory:s,params:l={initialPage:1,pageSize:10},poll:u=!1,pollIntervalMs:c=2e3,enabled:f=!0,keepPreviousData:d=!0}=e,h=rc(),p=rj(),[g]=r_(),y=null!=(t=null==s?void 0:s.enterpriseConnectionId)?t:null,m=null!=(r=null==s?void 0:s.id)?r:null,{queryKey:b,invalidationKey:w,stableKey:S,authenticated:k}=function(e){let{organizationId:t,enterpriseConnectionId:r,directoryId:n,args:i}=e;return(0,eI.useMemo)(()=>rw({stablePrefix:"organizationDirectorySyncUsers",authenticated:!!t,tracked:{organizationId:null!=t?t:null,enterpriseConnectionId:null!=r?r:null,directoryId:null!=n?n:null},untracked:{args:i}}),[t,r,n,JSON.stringify(i)])}({organizationId:null!=(n=null==p?void 0:p.id)?n:null,enterpriseConnectionId:y,directoryId:m,args:l});rC({isSignedOut:null===p,authenticated:k,stableKeys:S});let E=f&&h.loaded&&!!p&&!!s,_=b[2],P=rx({queryKey:b,queryFn:()=>{if(!s)throw Error("directory is required to fetch directory users");return s.getUsers(l)},refetchInterval:()=>!!u&&c,enabled:E,refetchIntervalInBackground:!1,placeholderData:d?(e,t)=>{let r=null==t?void 0:t.queryKey[2];return _.organizationId&&_.directoryId&&(null==r?void 0:r.organizationId)===_.organizationId&&(null==r?void 0:r.directoryId)===_.directoryId?e:void 0}:void 0}),x=(0,eI.useCallback)(async()=>{await g.invalidateQueries({queryKey:w})},[g,w]),C=E&&u;return{data:E?null==(a=P.data)?void 0:a.data:void 0,totalCount:E?null==(o=P.data)?void 0:o.total_count:void 0,error:null!=(i=P.error)?i:null,isLoading:P.isLoading,isFetching:P.isFetching,isPolling:C,revalidate:x}}function ng(e){var t,r,n,i;let{directory:a,poll:o=!1,pollIntervalMs:s=2e3,enabled:l=!0}=e,u=rc(),c=rj(),[f]=r_(),d=null!=(t=null==a?void 0:a.enterpriseConnectionId)?t:null,h=null!=(r=null==a?void 0:a.id)?r:null,{queryKey:p,invalidationKey:g,stableKey:y,authenticated:m}=function(e){let{organizationId:t,enterpriseConnectionId:r,directoryId:n}=e;return(0,eI.useMemo)(()=>rw({stablePrefix:"organizationDirectorySyncStatus",authenticated:!!t,tracked:{organizationId:null!=t?t:null,enterpriseConnectionId:null!=r?r:null,directoryId:null!=n?n:null},untracked:{args:{}}}),[t,r,n])}({organizationId:null!=(n=null==c?void 0:c.id)?n:null,enterpriseConnectionId:d,directoryId:h});rC({isSignedOut:null===c,authenticated:m,stableKeys:y});let b=!!c&&(null==a?void 0:a.organizationId)===(null==c?void 0:c.id),w=l&&u.loaded&&b&&!!a,S=rx({queryKey:p,queryFn:()=>{if(!a)throw Error("directory is required to fetch sync status");return a.getSyncStatus()},refetchInterval:()=>!!o&&s,enabled:w,refetchIntervalInBackground:!1}),k=(0,eI.useCallback)(async()=>{await f.invalidateQueries({queryKey:g})},[f,g]);return{data:w?S.data:void 0,error:null!=(i=S.error)?i:null,isLoading:S.isLoading,isFetching:S.isFetching,isPolling:w&&o,revalidate:k}}let ny=async e=>{let t,r=[];do{let n=await e.getGroups({limit:500,startingAfter:t});r.push(...n.data),t=n.hasNextPage&&n.startingAfter?n.startingAfter:void 0}while(t);return r};function nm(e){var t,r,n,i;let{directory:a,enabled:o=!0}=e,s=rc(),l=rj(),[u]=r_(),{queryKey:c,invalidationKey:f,stableKey:d,authenticated:h}=function(e){let{organizationId:t,enterpriseConnectionId:r,directoryId:n}=e;return(0,eI.useMemo)(()=>rw({stablePrefix:"organizationDirectorySyncGroupRoleMappings",authenticated:!!t,tracked:{organizationId:null!=t?t:null,enterpriseConnectionId:null!=r?r:null,directoryId:null!=n?n:null},untracked:{args:{}}}),[t,r,n])}({organizationId:null!=(t=null==l?void 0:l.id)?t:null,enterpriseConnectionId:null!=(r=null==a?void 0:a.enterpriseConnectionId)?r:null,directoryId:null!=(n=null==a?void 0:a.id)?n:null});rC({isSignedOut:null===l,authenticated:h,stableKeys:d});let p=!!l&&(null==a?void 0:a.organizationId)===(null==l?void 0:l.id),g=o&&s.loaded&&p&&!!a,y=rx({queryKey:c,queryFn:async()=>{if(!a)throw Error("directory is required to fetch group role mappings");let[e,t]=await Promise.all([ny(a),a.getGroupRoleMappings()]);return{groups:e,mappings:t.data,defaultRole:t.defaultRole}},enabled:g}),m=(0,eI.useCallback)(async()=>{await u.invalidateQueries({queryKey:f})},[u,f]),b=(0,eI.useCallback)(async e=>{if(!a)return;let t=await a.replaceGroupRoleMappings(e);return u.setQueryData(c,e=>e?{...e,mappings:t.data,defaultRole:t.defaultRole}:e),t.data},[a,u,c]);return{data:g?y.data:void 0,error:null!=(i=y.error)?i:null,isLoading:y.isLoading,isFetching:y.isFetching,replaceGroupRoleMappings:b,revalidate:m}}function nb(e){var t,r,n,i,a,o,s;let{enterpriseConnectionId:l,params:u={initialPage:1,pageSize:10},pollIntervalMs:c=2e3,enabled:f=!0,keepPreviousData:d=!1}=e,h=rc(),p=rj(),[g]=r_(),{queryKey:y,invalidationKey:m,stableKey:b,authenticated:w}=function(e){let{organizationId:t,enterpriseConnectionId:r,args:n}=e;return(0,eI.useMemo)(()=>rw({stablePrefix:"organizationEnterpriseConnectionTestRuns",authenticated:!!t,tracked:{organizationId:null!=t?t:null,enterpriseConnectionId:null!=r?r:null},untracked:{args:n}}),[t,r,JSON.stringify(n)])}({organizationId:null!=(t=null==p?void 0:p.id)?t:null,enterpriseConnectionId:l,args:u});rC({isSignedOut:null===p,authenticated:w,stableKeys:b});let S=f&&h.loaded&&!!p&&!!l,[k,E]=(0,eI.useState)(null),_=null!==k&&k===l;(0,eI.useEffect)(()=>{E(e=>null!==e&&e!==l?null:e)},[l]);let P=rx({queryKey:y,queryFn:()=>{if(!l)throw Error("enterpriseConnectionId is required to fetch test runs");return null==p?void 0:p.getEnterpriseConnectionTestRuns(l,u)},refetchInterval:e=>{var t,r,n;return!!_&&!((null!=(t=null==(n=e.state.data)||null==(r=n.data)?void 0:r.length)?t:0)>0)&&c},enabled:S,refetchIntervalInBackground:!1,placeholderData:rS(d)}),x=(null!=(r=null==(a=P.data)||null==(i=a.data)?void 0:i.length)?r:0)>0;(0,eI.useEffect)(()=>{_&&x&&E(null)},[_,x]);let C=(0,eI.useCallback)(async e=>{var t;(null==(t=null==e?void 0:e.armPolling)||t)&&!x&&E(l),(null==e?void 0:e.exact)?await g.invalidateQueries({queryKey:y,exact:!0}):await g.invalidateQueries({queryKey:m});let r=g.getQueryData(y);return{data:null==r?void 0:r.data,totalCount:null==r?void 0:r.total_count}},[g,m,y,x,l]),O=S&&_&&!x;return{data:null==(o=P.data)?void 0:o.data,totalCount:null==(s=P.data)?void 0:s.total_count,error:null!=(n=P.error)?n:null,isLoading:P.isLoading,isFetching:P.isFetching,isPolling:O,revalidate:C}}function nw(){var e,t;let r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{keepPreviousData:n=!1,enabled:i=!0}=r,a=rc(),o=rj(),[s]=r_(),{queryKey:l,stableKey:u,authenticated:c}=function(e){let{organizationId:t}=e;return(0,eI.useMemo)(()=>rw({stablePrefix:"organizationSSOBypassAllowlist",authenticated:!!t,tracked:{organizationId:null!=t?t:null},untracked:{args:{}}}),[t])}({organizationId:null!=(e=null==o?void 0:o.id)?e:null}),f=i&&a.loaded&&!!o;rC({isSignedOut:null===o,authenticated:c,stableKeys:u});let d=rx({queryKey:l,queryFn:()=>null==o?void 0:o.ssoBypassAllowlist.getUsers(),enabled:f,placeholderData:rS(n)}),h=(0,eI.useCallback)(()=>s.invalidateQueries({queryKey:[u]}),[s,u]),p=(0,eI.useCallback)(async e=>{let t=await (null==o?void 0:o.ssoBypassAllowlist.addUser(e));return await h(),t},[o,h]),g=(0,eI.useCallback)(async e=>{try{return await (null==o?void 0:o.ssoBypassAllowlist.addUsers(e))}finally{await h()}},[o,h]),y=(0,eI.useCallback)(async e=>{let t=await (null==o?void 0:o.ssoBypassAllowlist.removeUser(e));return await h(),t},[o,h]);return{data:d.data,error:null!=(t=d.error)?t:null,isLoading:d.isLoading,isFetching:d.isFetching,addUser:p,addUsers:g,removeUser:y,revalidate:h}}function nS(e){let t=e.clerk;if(t||(0,eR.kX)(),e.initialState instanceof Promise)throw Error("initialState cannot be a promise if React version is less than 19");let r=eI.useMemo(()=>({value:t}),[e.clerkStatus]);return eI.createElement(rh,{initialState:e.initialState},eI.createElement(ru.Provider,{value:r},eI.createElement(rm,{value:void 0},e.children)))}let nk=e=>{let t=(0,eI.useRef)(e);return(0,eI.useEffect)(()=>{t.current=e},[e]),t.current},nE=(e,t,r)=>{let n=!!r,i=(0,eI.useRef)(r);(0,eI.useEffect)(()=>{i.current=r},[r]),(0,eI.useEffect)(()=>{if(!n||!e)return()=>{};let r=function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];i.current&&i.current(...t)};return e.on(t,r),()=>{e.off(t,r)}},[n,t,e,i])},n_=eI.createContext(null);n_.displayName="ElementsContext";let nP=(e,t)=>{if(!e)throw Error("Could not find Elements context; You need to wrap the part of your app that ".concat(t," in an <Elements> provider."));return e},nx=e=>{let{stripe:t,options:r,children:n}=e,i=eI.useMemo(()=>nR(t),[t]),[a,o]=eI.useState(()=>({stripe:"sync"===i.tag?i.stripe:null,elements:"sync"===i.tag?i.stripe.elements(r):null}));eI.useEffect(()=>{let e=!0,t=e=>{o(t=>t.stripe?t:{stripe:e,elements:e.elements(r)})};return"async"!==i.tag||a.stripe?"sync"!==i.tag||a.stripe||t(i.stripe):i.stripePromise.then(r=>{r&&e&&t(r)}),()=>{e=!1}},[i,a,r]);let s=nk(t);eI.useEffect(()=>{null!==s&&s!==t&&console.warn("Unsupported prop change on Elements: You cannot change the `stripe` prop after setting it.")},[s,t]);let l=nk(r);return eI.useEffect(()=>{if(!a.elements)return;let e=nM(r,l,["clientSecret","fonts"]);e&&a.elements.update(e)},[r,l,a.elements]),eI.createElement(n_.Provider,{value:a},n)},nC="Invalid prop `stripe` supplied to `Elements`. We recommend using the `loadStripe` utility from `@stripe/stripe-js`. See https://stripe.com/docs/stripe-js/react#elements-props-stripe for details.",nO=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:nC;if(null===e||nT(e))return e;throw Error(t)},nR=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:nC;if(nA(e))return{tag:"async",stripePromise:Promise.resolve(e).then(e=>nO(e,t))};let r=nO(e,t);return null===r?{tag:"empty"}:{tag:"sync",stripe:r}},nI=e=>null!==e&&"object"==typeof e,nA=e=>nI(e)&&"function"==typeof e.then,nT=e=>nI(e)&&"function"==typeof e.elements&&"function"==typeof e.createToken&&"function"==typeof e.createPaymentMethod&&"function"==typeof e.confirmCardPayment,nM=(e,t,r)=>nI(e)?Object.keys(e).reduce((n,i)=>{let a=!nI(t)||!nD(e[i],t[i]);return r.includes(i)?(a&&console.warn("Unsupported prop change: options.".concat(i," is not a mutable property.")),n):a?{...n||{},[i]:e[i]}:n},null):null,nz="[object Object]",nD=(e,t)=>{if(!nI(e)||!nI(t))return e===t;let r=Array.isArray(e);if(r!==Array.isArray(t))return!1;let n=Object.prototype.toString.call(e)===nz;if(n!==(Object.prototype.toString.call(t)===nz))return!1;if(!n&&!r)return e===t;let i=Object.keys(e),a=Object.keys(t);if(i.length!==a.length)return!1;let o={};for(let e=0;e<i.length;e+=1)o[i[e]]=!0;for(let e=0;e<a.length;e+=1)o[a[e]]=!0;let s=Object.keys(o);return s.length===i.length&&s.every(r=>nD(e[r],t[r]))},nL=e=>nP(eI.useContext(n_),e),nU=(m="payment",b="u"<typeof window,f="".concat(m.charAt(0).toUpperCase()+m.slice(1),"Element"),(d=b?e=>{nL("mounts <".concat(f,">"));let{id:t,className:r}=e;return eI.createElement("div",{id:t,className:r})}:e=>{let t,{id:r,className:n,fallback:i,options:a={},onBlur:o,onFocus:s,onReady:l,onChange:u,onEscape:c,onClick:d,onLoadError:h,onLoaderStart:p,onNetworksChange:g,onConfirm:y,onCancel:b,onShippingAddressChange:w,onShippingRateChange:S}=e,k=nL("mounts <".concat(f,">")),E="elements"in k?k.elements:null,[_,P]=eI.useState(null),x=eI.useRef(null),C=eI.useRef(null),[O,R]=(0,eI.useState)(!1);nE(_,"blur",o),nE(_,"focus",s),nE(_,"escape",c),nE(_,"click",d),nE(_,"loaderror",h),nE(_,"loaderstart",p),nE(_,"networkschange",g),nE(_,"confirm",y),nE(_,"cancel",b),nE(_,"shippingaddresschange",w),nE(_,"shippingratechange",S),nE(_,"change",u),l&&(t=()=>{R(!0),l(_)}),nE(_,"ready",t),eI.useLayoutEffect(()=>{if(null===x.current&&null!==C.current&&E){let e=null;E&&(e=E.create(m,a)),x.current=e,P(e),e&&e.mount(C.current)}},[E,a]);let I=nk(a);return eI.useEffect(()=>{if(!x.current)return;let e=nM(a,I,["paymentRequest"]);e&&"update"in x.current&&x.current.update(e)},[a,I]),eI.useLayoutEffect(()=>()=>{if(x.current&&"function"==typeof x.current.destroy)try{x.current.destroy(),x.current=null}catch{}},[]),eI.createElement(eI.Fragment,null,!O&&i,eI.createElement("div",{id:r,style:{height:O?"unset":"0px",visibility:O?"visible":"hidden"},className:n,ref:C}))}).displayName=f,d.__elementType=m,d),nj=function(){var e,t;let r,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"user",i=(r=rF(),null!=(t=rx({queryKey:["clerk-stripe-sdk"],queryFn:async()=>({loadStripe:await r.__internal_loadStripeJs()}),staleTime:1/0,refetchOnWindowFocus:!1,placeholderData:rS(!0)}).data)?t:null),a=rF().__internal_environment,{initializedPaymentMethod:o,initializePaymentMethod:s}=function(e){var t;let{for:r}=null!=e?e:{},n=rj(),i=rA(),a="organization"===r?n:i,o=r8(e),s="billing-payment-method-initialize",l=(0,eI.useMemo)(()=>[s,!0,{resourceId:null==a?void 0:a.id},{}],[null==a?void 0:a.id]),u=!!(null==a?void 0:a.id)&&o;rC({isSignedOut:null===i,authenticated:!0,stableKeys:s});let c=rx({queryKey:l,queryFn:async()=>{if(a)return a.initializePaymentMethod({gateway:"stripe"})},enabled:u,staleTime:6e4,refetchOnWindowFocus:!1,placeholderData:rS(u)}),[f]=r_(),d=(0,eI.useCallback)(async()=>{if(!a)return;let e=await a.initializePaymentMethod({gateway:"stripe"});return f.setQueryData(l,e),e},[f,l,a]);return{initializedPaymentMethod:null!=(t=c.data)?t:void 0,initializePaymentMethod:d}}({for:n}),l=null!=(e=null==a?void 0:a.commerceSettings.billing.stripePublishableKey)?e:void 0;return{stripe:function(e){let{stripeClerkLibs:t,externalGatewayId:r,stripePublishableKey:n}=e,i=(0,eI.useMemo)(()=>["stripe-sdk",{externalGatewayId:r,stripePublishableKey:n}],[r,n]),a=r8({authenticated:!0});return rx({queryKey:i,queryFn:()=>t&&r&&n?t.loadStripe(n,{stripeAccount:r}):null,enabled:!!(t&&r&&n)&&a,staleTime:6e4,refetchOnWindowFocus:!1,placeholderData:rS(!0)}).data}({stripeClerkLibs:i,externalGatewayId:null==o?void 0:o.externalGatewayId,stripePublishableKey:l}),initializePaymentMethod:s,externalClientSecret:null==o?void 0:o.externalClientSecret,paymentMethodOrder:null==o?void 0:o.paymentMethodOrder}},[nN,nF]=rl("PaymentElementContext"),[nq,nW]=rl("StripeUtilsContext"),nK=e=>{let{children:t}=e,r=(()=>{let{stripe:e}=nL("calls useStripe()");return e})(),n=(()=>{let{elements:e}=nP(eI.useContext(n_),"calls useElements()");return e})();return eI.createElement(nq.Provider,{value:{value:{stripe:r,elements:n}}},t)},nB=e=>{let{children:t}=e;return eI.createElement(nq.Provider,{value:{value:{}}},t)},n$=e=>{let{children:t,...r}=e,n=nj(r.for),[i,a]=(0,eI.useState)(!1);return eI.createElement(nN.Provider,{value:{value:{...r,...n,setIsPaymentElementReady:a,isPaymentElementReady:i}}},t)},nV=e=>{let{children:t,...r}=e;return eI.createElement(n$,r,eI.createElement(nY,null,t))},nY=e=>{let{stripe:t,externalClientSecret:r,stripeAppearance:n}=nF(),i=(()=>{let e=rF(),t="en";try{var r;t=(null==(r=e.__internal_getOption("localization"))?void 0:r.locale)||"en"}catch{}return t.split("-")[0]})();return t&&r?eI.createElement(nx,{key:r,stripe:t,options:{loader:"never",clientSecret:r,appearance:{variables:n},locale:i}},eI.createElement(nK,null,e.children)):eI.createElement(nB,null,e.children)},nQ=e=>{let{fallback:t}=e,{setIsPaymentElementReady:r,paymentMethodOrder:n,checkout:i,stripe:a,externalClientSecret:o,paymentDescription:s,for:l}=nF(),u=rF().__internal_environment,c=(0,eI.useMemo)(()=>{var e;if(i&&i.totals&&i.plan)return{recurringPaymentRequest:{paymentDescription:s||"",managementURL:"organization"===l?(null==u?void 0:u.displayConfig.organizationProfileUrl)||"":(null==u?void 0:u.displayConfig.userProfileUrl)||"",regularBilling:{amount:(null==(e=i.totals.totalDueNow)?void 0:e.amount)||i.totals.grandTotal.amount,label:i.plan.name,recurringPaymentIntervalUnit:"annual"===i.planPeriod?"year":"month"}}}},[i,s,l,u]),f=(0,eI.useMemo)(()=>({layout:{type:"tabs",defaultCollapsed:!1},paymentMethodOrder:n,applePay:c}),[c,n]),d=(0,eI.useCallback)(()=>{r(!0)},[r]);return a&&o?eI.createElement(nU,{fallback:t,onReady:d,options:f}):eI.createElement(eI.Fragment,null,t)},nH=()=>{throw Error("Clerk: Unable to submit, Stripe libraries are not yet loaded. Be sure to check `isFormReady` before calling `submit`.")},nG=()=>{let{isPaymentElementReady:e,initializePaymentMethod:t}=nF(),{stripe:r,elements:n}=nW(),{externalClientSecret:i}=nF(),a=(0,eI.useCallback)(async()=>{if(!r||!n)return nH();let{setupIntent:e,error:t}=await r.confirmSetup({elements:n,confirmParams:{return_url:window.location.href},redirect:"if_required"});return t?{data:null,error:{gateway:"stripe",error:{code:t.code,message:t.message,type:t.type}}}:{data:{gateway:"stripe",paymentToken:e.payment_method},error:null}},[r,n]),o=(0,eI.useCallback)(async()=>{if(!r||!n)return nH();await t()},[r,n,t]),s=!!(r&&i);return s?{submit:a,reset:o,isFormReady:e,provider:{name:"stripe"},isProviderReady:s}:{submit:nH,reset:nH,isFormReady:!1,provider:void 0,isProviderReady:!1}},[nJ,,nX]=rl("PortalProvider"),nZ=e=>{let{children:t,getContainer:r}=e,n=eI.useMemo(()=>({value:{getContainer:r}}),[r]);return eI.createElement(nJ.Provider,{value:n},t)};nZ.displayName="UNSAFE_PortalProvider";let n0=()=>{let e=nX();return e&&"getContainer"in e&&e.getContainer?e.getContainer:()=>null}},56874(e,t,r){function n(e){let t=e||"";return t.charAt(0).toUpperCase()+t.slice(1)}function i(e){return e?e.replace(/([-_][a-z])/g,e=>e.toUpperCase().replace(/-|_/,"")):""}function a(e){return e?e.replace(/[A-Z]/g,e=>"_".concat(e.toLowerCase())):""}r(85281),r(96954),r(42949),r(37891),r(36395),r(34330),r(46455);let o=e=>{let t=r=>{if(!r)return r;if(Array.isArray(r))return r.map(e=>"object"==typeof e||Array.isArray(e)?t(e):e);let n={...r};for(let r of Object.keys(n)){let i=e(r.toString());i!==r&&(n[i]=n[r],delete n[r]),"object"==typeof n[i]&&(n[i]=t(n[i]))}return n};return t};function s(e){if("boolean"==typeof e)return e;if(null==e)return!1;if("string"==typeof e){if("true"===e.toLowerCase())return!0;if("false"===e.toLowerCase())return!1}let t=parseInt(e,10);return!isNaN(t)&&t>0}o(a),o(i),r.d(t,{C8:()=>a,Ns:()=>n,sF:()=>i,zz:()=>s})},77530(e,t,r){r.d(t,{ph:()=>a.t,aY:()=>s,b_:()=>n.r,lQ:()=>i.t});var n=r(91311),i=r(98591),a=r(64093);r(42949),r(37891),r(73560),r(36395),r(67548),r(70954),r(98803),r(79162),r(15385),r(39342),r(69152),r(15254),r(86449);let o=new Set(["__proto__","constructor","prototype"]),s=(e,t)=>{if(e&&t)for(let r in e)!o.has(r)&&(Object.prototype.hasOwnProperty.call(e,r)&&null!==e[r]&&"object"==typeof e[r]?(void 0===t[r]&&(t[r]=new(Object.getPrototypeOf(e[r])).constructor),s(e[r],t[r])):Object.prototype.hasOwnProperty.call(e,r)&&void 0!==e[r]&&(t[r]=e[r]))}}},i={};function a(e){var t=i[e];if(void 0!==t)return t.exports;var r=i[e]={exports:{}};return n[e].call(r.exports,r,r.exports,a),r.exports}a.m=n,a.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return a.d(t,{a:t}),t},s=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,a.t=function(e,t){if(1&t&&(e=this(e)),8&t||"object"==typeof e&&e&&(4&t&&e.__esModule||16&t&&"function"==typeof e.then))return e;var r=Object.create(null);a.r(r);var n={};o=o||[null,s({}),s([]),s(s)];for(var i=2&t&&e;("object"==typeof i||"function"==typeof i)&&!~o.indexOf(i);i=s(i))Object.getOwnPropertyNames(i).forEach(t=>{n[t]=()=>e[t]});return n.default=()=>e,a.d(r,n),r},a.d=(e,t,r)=>{var n=(t,r)=>{for(var n in t)a.o(t,n)&&!a.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,[r]:t[n]})};n(t,"get"),n(r,"value")},a.f={},a.e=e=>Promise.all(Object.keys(a.f).reduce((t,r)=>(a.f[r](e,t),t),[])),a.u=e=>""+(({1058:"useravatar",1256:"checkout",1264:"op-plans-page",1545:"vendors",1723:"taskChooseOrganization",2099:"userbutton",2259:"up-billing-page",226:"invitemembers",2533:"enableOrganizationsPrompt",26:"framework",2841:"planDetails",2888:"op-security-page",289:"op-billing-page",3328:"blankcaptcha",4122:"payment-attempt-page",472:"signup",505:"revoke-api-key-modal",522:"keylessPrompt",5265:"waitlist",5364:"organizationswitcher",5591:"oauthConsent",5608:"prefetchorganizationlist",5636:"userverification",5721:"onetap",6390:"sessionTasks",6666:"ui-common",6738:"credit-history-page",7004:"taskSetupMFA",7030:"pricingTable",7110:"up-plans-page",718:"userprofile",7223:"op-api-keys-page",7451:"subscriptionDetails",7488:"configureDirectorySync",7627:"statement-page",7817:"up-api-keys-page",7971:"configureSSO",799:"organizationlist",8010:"signin",8067:"taskResetPassword",8310:"organizationprofile",8326:"apiKeys",8333:"protectcheck",8394:"copy-api-key-modal",8917:"impersonationfab",9088:"oauthDeviceVerification",9188:"web3-solana-wallet-buttons",9243:"createorganization"})[e]||e)+"_ui_"+a.h().slice(0,6)+"_1.44.2.js",a.h=()=>"50f1b3a86e173084",a.g=(()=>{if("object"==typeof globalThis)return globalThis;try{return this||Function("return this")()}catch(e){if("object"==typeof window)return window}})(),a.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),l={},a.l=function(e,t,r,n){if(l[e])return void l[e].push(t);if(void 0!==r)for(var i,o,s=document.getElementsByTagName("script"),u=0;u<s.length;u++){var c=s[u];if(c.getAttribute("src")==e||c.getAttribute("data-rspack")=="@clerk/ui:"+r){i=c;break}}i||(o=!0,(i=document.createElement("script")).timeout=120,a.nc&&i.setAttribute("nonce",a.nc),i.setAttribute("data-rspack","@clerk/ui:"+r),i.src=e),l[e]=[t];var f=function(t,r){i.onerror=i.onload=null,clearTimeout(d);var n=l[e];if(delete l[e],i.parentNode&&i.parentNode.removeChild(i),n&&n.forEach(function(e){return e(r)}),t)return t(r)},d=setTimeout(f.bind(null,void 0,{type:"timeout",target:i}),12e4);i.onerror=f.bind(null,i.onerror),i.onload=f.bind(null,i.onload),o&&document.head.appendChild(i)},a.r=e=>{"u">typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.g.importScripts&&(u=a.g.location+"");var o,s,l,u,c=a.g.document;if(!u&&c&&(c.currentScript&&"SCRIPT"===c.currentScript.tagName.toUpperCase()&&(u=c.currentScript.src),!u)){var f=c.getElementsByTagName("script");if(f.length)for(var d=f.length-1;d>-1&&(!u||!/^http(s?):/.test(u));)u=f[d--].src}if(!u)throw Error("Automatic publicPath is not supported in this browser");return a.p=u=u.replace(/^blob:/,"").replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),e={991:0},a.f.j=function(t,r){var n=a.o(e,t)?e[t]:void 0;if(0!==n)if(n)r.push(n[2]);else{var i=new Promise((r,i)=>n=e[t]=[r,i]);r.push(n[2]=i);var o=a.p+a.u(t),s=Error();a.l(o,function(r){if(a.o(e,t)&&(0!==(n=e[t])&&(e[t]=void 0),n)){var i=r&&("load"===r.type?"missing":r.type),o=r&&r.target&&r.target.src;s.message="Loading chunk "+t+" failed.\n("+i+": "+o+")",s.name="ChunkLoadError",s.type=i,s.request=o,n[1](s)}},"chunk-"+t,t)}},t=(t,r)=>{var n,i,[o,s,l]=r,u=0;if(o.some(t=>0!==e[t])){for(n in s)a.o(s,n)&&(a.m[n]=s[n]);l&&l(a)}for(t&&t(r);u<o.length;u++)i=o[u],a.o(e,i)&&e[i]&&e[i][0](),e[i]=0},(r=globalThis.rspackChunk_clerk_ui=globalThis.rspackChunk_clerk_ui||[]).forEach(t.bind(null,0)),r.push=t.bind(null,r.push.bind(r)),a(39817)})());
|
|
1
|
+
!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var r=t();for(var n in r)("object"==typeof exports?exports:e)[n]=r[n]}}(globalThis,()=>(()=>{"use strict";var e,t,r,n={7008(e,t,r){r(36395);var n=r(70355),i=r(1715),a=r(32638),o=r(59701);r.d(t,{},{x:()=>{let[e,t]=o.useState({startPath:"",path:"",componentName:"",socialProvider:""}),r=(0,a.F)();o.useLayoutEffect(()=>{r&&t(r)},[]);let s=()=>{t({startPath:"",path:"",componentName:"",socialProvider:""})};return{urlStateParam:{...e,clearUrlStateParam:s},decodedRedirectParams:r,clearUrlStateParam:s,removeQueryParam:()=>(0,i.rw)(n.CL)}}})},39817(e,t,r){r(36395),r(74302),r(30686),r(38978),r(52205),r(40768),r(76235),r(85281),r(96954);try{let e=new URL(document.currentScript.src),t=new URL(e.href.split("/").slice(0,-1).join("/")).href;r.p=(t+=t.endsWith("/")?"":"/").replace(/(^.*\/@clerk\/ui@)(.+?)(\/dist.*)/,"$1".concat("1.44.3-canary.v20261120111523","$3"))}catch{}function n(e,t,r){if(!t.has(e))throw TypeError("attempted to "+r+" private field on non-instance");return t.get(e)}r(15254);var i=r(27213),a=r(71756),o=r(62826);function s(e){let t=e.match(/^(\d+)\.(\d+)\.(\d+)/);if(!t)return null;let[,r,n,i]=t;return{major:parseInt(r,10),minor:parseInt(n,10),patch:parseInt(i,10)}}r(42949),r(12021),r(73560),r(37891);var l=r(82787),u=r(91117),c=r(77530),f=r(59701),d=r(7008),h=r(81221);let p=(0,f.lazy)(()=>r.e(6666).then(r.bind(r,36140)).then(e=>({default:e.MountedCheckoutDrawer}))),g=(0,f.lazy)(()=>r.e(6666).then(r.bind(r,17458)).then(e=>({default:e.MountedPlanDetailDrawer}))),y=(0,f.lazy)(()=>Promise.all([r.e(26),r.e(1545),r.e(6666),r.e(7451)]).then(r.bind(r,32408)).then(e=>({default:e.MountedSubscriptionDetailDrawer})));var m=r(54152);let b=e=>{let{base:t,path:r}=e;return r?t+r:t};function w(e,t){if(!e)return{};let r="signin"===t?"signIn":"signUp",n={["".concat(r,"ForceRedirectUrl")]:e.forceRedirectUrl,["".concat(r,"FallbackRedirectUrl")]:e.fallbackRedirectUrl},i={...e,...n};return delete i.forceRedirectUrl,delete i.fallbackRedirectUrl,i}r(84086);var S=r(80719);let k="u">typeof window?f.useLayoutEffect:f.useEffect,E=0,_={},P=Object.freeze({SignUp:"signUpModal",SignIn:"signInModal",UserProfile:"userProfileModal",OrganizationProfile:"organizationProfileModal",CreateOrganization:"createOrganizationModal",Waitlist:"waitlistModal"}),x=e=>{var t,r,n,i,a,o,s,c,S,x;let[C,O]=f.useState({appearance:e.options.appearance,options:e.options,googleOneTapModal:null,signInModal:null,signUpModal:null,userProfileModal:null,userVerificationModal:null,organizationProfileModal:null,inviteMembersModal:null,createOrganizationModal:null,enableOrganizationsPromptModal:null,organizationSwitcherPrefetch:!1,waitlistModal:null,blankCaptchaModal:null,protectCheckModal:null,checkoutDrawer:{open:!1,props:null},planDetailsDrawer:{open:!1,props:null},subscriptionDetailsDrawer:{open:!1,props:null},impersonationFab:!1}),{googleOneTapModal:R,signInModal:I,signUpModal:A,userProfileModal:T,userVerificationModal:M,organizationProfileModal:z,inviteMembersModal:D,createOrganizationModal:L,waitlistModal:U,blankCaptchaModal:j,protectCheckModal:N,checkoutDrawer:F,planDetailsDrawer:q,subscriptionDetailsDrawer:W}=C,K=e.getClerk();(0,f.useSyncExternalStore)((0,f.useCallback)(e=>K.addListener(e,{skipInitialEmit:!0}),[K]),(0,f.useCallback)(()=>K.__internal_lastEmittedResources,[K]),(0,f.useCallback)(()=>K.__internal_lastEmittedResources,[K]));let B=(0,f.useRef)(new Map),{urlStateParam:$,clearUrlStateParam:V,decodedRedirectParams:Y}=(0,d.x)();k(()=>{Y&&O(e=>({...e,[P[Y.componentName]]:!0}));let t=()=>{O(e=>({...e}))};_.mountComponent=e=>{let{node:r,name:n,props:i,appearanceKey:a}=e;r||(0,u.$V)(),B.current.set(r,{key:"p".concat(++E),name:n,props:i,appearanceKey:a}),t()},_.unmountComponent=e=>{let{node:r}=e;B.current.delete(r),t()},_.updateProps=e=>{let{node:r,props:n,...i}=e;if(r&&n&&"object"==typeof n){let e=B.current.get(r);if(e){e.props={...n},t();return}}O(e=>({...e,...i,options:{...e.options,...i.options}}))},_.closeModal=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{notify:r=!0}=t;V(),O(t=>{let n=t["".concat(e,"Modal")];if(n&&"object"==typeof n&&"afterVerificationCancelled"in n&&r){var i;null==(i=n.afterVerificationCancelled)||i.call(n)}return{...t,["".concat(e,"Modal")]:null}})},_.openModal=(e,t)=>{"enableOrganizationsPrompt"===e?O(r=>r.enableOrganizationsPromptModal?r:{...r,["".concat(e,"Modal")]:t}):"afterVerificationCancelled"in t?"afterVerificationCancelled"in t&&O(r=>({...r,["".concat(e,"Modal")]:{...t,afterVerification(r){var n;null==(n=t.afterVerification)||n.call(t,r),_.closeModal(e,{notify:!1})}}})):O(r=>({...r,["".concat(e,"Modal")]:t}))},_.mountImpersonationFab=()=>{O(e=>({...e,impersonationFab:!0}))},_.openProtectCheckModal=e=>{_.openModal("protectCheck",e)},_.openDrawer=(e,t)=>{O(r=>({...r,["".concat(e,"Drawer")]:{open:!0,props:t}}))},_.closeDrawer=e=>{O(t=>{var r,n;let i=t["".concat(e,"Drawer")];return null==i||null==(n=i.props)||null==(r=n.onClose)||r.call(n),{...t,["".concat(e,"Drawer")]:{...t["".concat(e,"Drawer")],open:!1}}})},_.prefetch=e=>{O(t=>({...t,["".concat(e,"Prefetch")]:!0}))},e.onComponentsMounted()},[]);let Q=(0,l.Y)(m.xg,{componentProps:R,globalAppearance:C.appearance,componentAppearance:null==R?void 0:R.appearance,startPath:b({base:"/one-tap",path:""})}),H=(0,l.FD)(m.Vv,{globalAppearance:C.appearance,appearanceKey:"signIn",componentAppearance:null==I?void 0:I.appearance,flowName:"signIn",onClose:()=>_.closeModal("signIn"),onExternalNavigate:()=>_.closeModal("signIn"),startPath:b({base:"/sign-in",path:null==$?void 0:$.path}),getContainer:null!=(t=null==I?void 0:I.getContainer)?t:()=>null,componentName:"SignInModal",children:[(0,l.Y)(h.M9,{...I}),(0,l.Y)(h.gK,{...w(I,"signin")}),(0,l.Y)(h.L1,{...U})]}),G=(0,l.FD)(m.Vv,{globalAppearance:C.appearance,appearanceKey:"signUp",componentAppearance:null==A?void 0:A.appearance,flowName:"signUp",onClose:()=>_.closeModal("signUp"),onExternalNavigate:()=>_.closeModal("signUp"),startPath:b({base:"/sign-up",path:null==$?void 0:$.path}),getContainer:null!=(r=null==A?void 0:A.getContainer)?r:()=>null,componentName:"SignUpModal",children:[(0,l.Y)(h.M9,{...w(A,"signup")}),(0,l.Y)(h.gK,{...A}),(0,l.Y)(h.L1,{...U})]}),J=(0,l.Y)(m.Vv,{globalAppearance:C.appearance,appearanceKey:"userProfile",componentAppearance:null==T?void 0:T.appearance,flowName:"userProfile",onClose:()=>_.closeModal("userProfile"),onExternalNavigate:()=>_.closeModal("userProfile"),startPath:b({base:"/user",path:(null==T?void 0:T.__experimental_startPath)||(null==$?void 0:$.path)}),getContainer:null!=(n=null==T?void 0:T.getContainer)?n:()=>null,componentName:"UserProfileModal",modalContainerSx:{alignItems:"center"},modalContentSx:e=>({height:"min(".concat(e.sizes.$176,", calc(100% - ").concat(e.sizes.$12,"))"),margin:0}),children:(0,l.Y)(h.am,{...T})}),X=(0,l.Y)(m.Vv,{globalAppearance:C.appearance,appearanceKey:"userVerification",componentAppearance:null==M?void 0:M.appearance,flowName:"userVerification",onClose:()=>_.closeModal("userVerification"),onExternalNavigate:()=>_.closeModal("userVerification"),startPath:b({base:"/user-verification",path:null==$?void 0:$.path}),getContainer:null!=(i=null==M?void 0:M.getContainer)?i:()=>null,componentName:"UserVerificationModal",modalContainerSx:{alignItems:"center"},children:(0,l.Y)(h.yd,{...M})}),Z=(0,l.Y)(m.Vv,{globalAppearance:C.appearance,appearanceKey:"organizationProfile",componentAppearance:null==z?void 0:z.appearance,flowName:"organizationProfile",onClose:()=>_.closeModal("organizationProfile"),onExternalNavigate:()=>_.closeModal("organizationProfile"),startPath:b({base:"/organizationProfile",path:(null==z?void 0:z.__experimental_startPath)||(null==$?void 0:$.path)}),getContainer:null!=(a=null==z?void 0:z.getContainer)?a:()=>null,componentName:"OrganizationProfileModal",modalContainerSx:{alignItems:"center"},modalContentSx:e=>({height:"min(".concat(e.sizes.$176,", calc(100% - ").concat(e.sizes.$12,"))"),margin:0}),children:(0,l.Y)(h.Qj,{...z})}),ee=(0,l.Y)(m.Vv,{globalAppearance:C.appearance,appearanceKey:"organizationProfile",componentAppearance:null==D?void 0:D.appearance,flowName:"organizationProfile",onClose:()=>_.closeModal("inviteMembers"),onExternalNavigate:()=>_.closeModal("inviteMembers"),startPath:b({base:"/inviteMembers",path:null==$?void 0:$.path}),getContainer:null!=(o=null==D?void 0:D.getContainer)?o:()=>null,componentName:"InviteMembersModal",modalContainerSx:{alignItems:"center"},children:(0,l.Y)(h.yw,{...D})}),et=(0,l.Y)(m.Vv,{globalAppearance:C.appearance,appearanceKey:"createOrganization",componentAppearance:null==L?void 0:L.appearance,flowName:"createOrganization",onClose:()=>_.closeModal("createOrganization"),onExternalNavigate:()=>_.closeModal("createOrganization"),startPath:b({base:"/createOrganization",path:null==$?void 0:$.path}),getContainer:null!=(s=null==L?void 0:L.getContainer)?s:()=>null,componentName:"CreateOrganizationModal",modalContainerSx:{alignItems:"center"},modalContentSx:e=>({height:"min(".concat(e.sizes.$120,", calc(100% - ").concat(e.sizes.$12,"))"),margin:0}),children:(0,l.Y)(h.Xi,{...L})}),er=(0,l.FD)(m.Vv,{globalAppearance:C.appearance,appearanceKey:"waitlist",componentAppearance:null==U?void 0:U.appearance,flowName:"waitlist",onClose:()=>_.closeModal("waitlist"),onExternalNavigate:()=>_.closeModal("waitlist"),startPath:b({base:"/waitlist",path:null==$?void 0:$.path}),getContainer:null!=(c=null==U?void 0:U.getContainer)?c:()=>null,componentName:"WaitlistModal",children:[(0,l.Y)(h.L1,{...U}),(0,l.Y)(h.M9,{...U})]}),en=(0,l.Y)(m.Vv,{globalAppearance:C.appearance,appearanceKey:"blankCaptcha",componentAppearance:{},flowName:"blankCaptcha",onClose:()=>_.closeModal("blankCaptcha"),startPath:b({base:"/blank-captcha",path:null==$?void 0:$.path}),componentName:"BlankCaptchaModal",canCloseModal:!1,modalId:"cl-modal-captcha-wrapper",modalStyle:{visibility:"hidden",pointerEvents:"none"},getContainer:()=>null,children:(0,l.Y)(h.Gb,{})}),ei=N&&(0,l.Y)(m.Vv,{globalAppearance:C.appearance,appearanceKey:"protectCheck",componentAppearance:{},flowName:"protectCheck",onClose:()=>_.closeModal("protectCheck"),startPath:b({base:"/protect-check",path:null==$?void 0:$.path}),componentName:"ProtectCheckModal",canCloseModal:!1,modalContainerSx:e=>({alignItems:"center",backdropFilter:"blur(".concat(e.sizes.$2,")")}),getContainer:()=>null,children:(0,l.Y)(h.PX,{...N})});return(0,l.Y)(f.Suspense,{fallback:"",children:(0,l.FD)(m.Fj,{clerk:e.getClerk(),environment:e.getEnvironment(),options:C.options,moduleManager:e.moduleManager,children:[[...B.current].map(e=>{var t;let[r,n]=e;return(0,l.Y)(m.t8,{node:r,globalAppearance:C.appearance,appearanceKey:n.appearanceKey,componentAppearance:null==(t=n.props)?void 0:t.appearance,componentName:n.name,componentProps:n.props},n.key)}),R&&Q,I&&H,A&&G,T&&J,M&&X,z&&Z,D&&ee,L&&et,U&&er,j&&en,ei,(0,l.Y)(p,{appearance:C.appearance,checkoutDrawer:F,onOpenChange:()=>_.closeDrawer("checkout")}),(0,l.Y)(g,{appearance:C.appearance,planDetailsDrawer:q,onOpenChange:()=>_.closeDrawer("planDetails")}),(0,l.Y)(y,{appearance:C.appearance,subscriptionDetailsDrawer:W,onOpenChange:()=>_.closeDrawer("subscriptionDetails")}),C.impersonationFab&&(0,l.Y)(m.Nx,{globalAppearance:C.appearance,children:(0,l.Y)(h.Sm,{})}),C.enableOrganizationsPromptModal&&(0,l.Y)(m.dB,{globalAppearance:C.appearance,children:(0,l.Y)(h.yc,{...C.enableOrganizationsPromptModal})}),(null==(S=C.options)?void 0:S.__internal_keyless_claimKeylessApplicationUrl)&&(null==(x=C.options)?void 0:x.__internal_keyless_copyInstanceKeysUrl)&&(0,l.Y)(m.Nx,{globalAppearance:C.appearance,children:(0,l.Y)(h.ju,{claimUrl:C.options.__internal_keyless_claimKeylessApplicationUrl,copyKeysUrl:C.options.__internal_keyless_copyInstanceKeysUrl,onDismiss:C.options.__internal_keyless_dismissPrompt})}),(0,l.Y)(f.Suspense,{children:C.organizationSwitcherPrefetch&&(0,l.Y)(m.up,{})})]})})};var C=new WeakMap;class O{ensureMounted(e){var t;return(t=n(this,C,"get"),t.get?t.get.call(this):t.value).ensureMounted(e)}constructor(e,t,u,f){(0,i._)(this,"version","1.44.3-canary.v20261120111523"),function(e,t,r){if(t.has(e))throw TypeError("Cannot initialize the same private elements twice on an object");t.set(e,r)}(this,C,{writable:!0,value:void 0});const d=e(),p=null==d?void 0:d.version,g=(null==d?void 0:d.instanceType)==="development",y=s(null!=p?p:"");let m=null;if(y&&!function(e,t){if(!e)return!1;let r=s(e),n=s(t);return!!r&&!!n&&(r.major!==n.major?r.major>n.major:r.minor!==n.minor?r.minor>n.minor:r.patch>=n.patch)}(p,"6.0.0")?m="@clerk/ui@".concat(O.version," requires @clerk/clerk-js@>=").concat("6.0.0",", ")+"but found @clerk/clerk-js@".concat(p,". ")+"Please upgrade @clerk/clerk-js (or your framework SDK) to a compatible version.":y||f||(m="@clerk/ui@".concat(O.version," requires @clerk/clerk-js@>=").concat("6.0.0",", ")+"but found an incompatible version".concat(p?" (".concat(p,")"):"",". ")+"Please upgrade @clerk/clerk-js (or your framework SDK) to a compatible version."),m)if(g)throw new a.cR(m,{code:"clerk_ui_version_mismatch"});else o.v.warnOnce(m);!function(e,t,r){var i=n(e,t,"set");if(i.set)i.set.call(e,r);else{if(!i.writable)throw TypeError("attempted to set read only private field");i.value=r}}(this,C,((e,t,n,i)=>{let a,o={...n};o.appearance&&(o.appearance=function(e){let t;if(!e||"object"!=typeof e)return e;let r=e.theme;if(!r)return e;if(Array.isArray(r)){r.forEach(e=>{!t&&"object"==typeof e&&e.cssLayerName&&(t=e.cssLayerName)});let n=r.map(e=>{if("string"==typeof e)return e;let{cssLayerName:t,...r}=e;return r}),i=e.cssLayerName||t,a={...e,theme:n};return i&&(a.cssLayerName=i),a}{let t;"object"==typeof r&&r.cssLayerName&&(t=r.cssLayerName);let n="string"==typeof r?r:(()=>{let{cssLayerName:e,...t}=r;return t})(),i=e.cssLayerName||t,a={...e,theme:n};return i&&(a.cssLayerName=i),a}}(o.appearance));let s=document.getElementById("clerk-components");return s||((s=document.createElement("div")).setAttribute("id","clerk-components"),document.body.appendChild(s)),{ensureMounted:n=>{let{preloadHint:u}=n||{};if(u&&(0,h.jr)(u).catch(()=>{}),!a){let n=(0,c.ph)(),u=setTimeout(()=>{console.error("[Clerk UI] Component renderer did not mount within 10s. Common causes: a failed chunk load, a dev-server misconfiguration (e.g. unresolved lazy-compilation proxy), or a ClerkProvider/mountX call before the page is hydrated. Check the Network tab for stalled or empty requests.")},1e4);a=Promise.all([r.e(26),r.e(1545),r.e(6666)]).then(r.bind(r,76e3)).then(r=>{let{createRoot:a}=r;return a(s).render((0,l.Y)(x,{getClerk:e,getEnvironment:t,options:o,onComponentsMounted:()=>{clearTimeout(u),"development"===e().instanceType&&("function"==typeof requestIdleCallback?requestIdleCallback:e=>setTimeout(e,0))(()=>(0,S.I)(o)),n.resolve()},moduleManager:i})),n.promise.then(()=>_)}).catch(e=>{throw clearTimeout(u),console.error("[Clerk UI] Failed to initialize component renderer:",e),e})}return a.then(e=>e)}}})(e,t,u,f))}}(0,i._)(O,"version","1.44.3-canary.v20261120111523"),window.__internal_ClerkUICtor||(window.__internal_ClerkUICtor=O)},81221(e,t,r){r(73560);var n=r(59701);let i={SignIn:()=>Promise.all([r.e(26),r.e(1545),r.e(6666),r.e(7181),r.e(472),r.e(8746),r.e(8010)]).then(r.bind(r,31780)),SignUp:()=>Promise.all([r.e(26),r.e(1545),r.e(6666),r.e(7181),r.e(472)]).then(r.bind(r,65995)),UserAvatar:()=>Promise.all([r.e(1545),r.e(6666),r.e(1058)]).then(r.bind(r,75511)),UserButton:()=>Promise.all([r.e(26),r.e(1545),r.e(6666),r.e(8746),r.e(2099)]).then(r.bind(r,78301)),UserProfile:()=>Promise.all([r.e(26),r.e(1545),r.e(6666),r.e(9419),r.e(718)]).then(r.bind(r,26751)),CreateOrganization:()=>Promise.all([r.e(26),r.e(1545),r.e(6666),r.e(980),r.e(9243)]).then(r.bind(r,87335)),OrganizationProfile:()=>Promise.all([r.e(26),r.e(1545),r.e(6666),r.e(980),r.e(8310)]).then(r.bind(r,59189)),InviteMembers:()=>Promise.all([r.e(26),r.e(1545),r.e(6666),r.e(980),r.e(226)]).then(r.bind(r,9273)),OrganizationSwitcher:()=>Promise.all([r.e(26),r.e(1545),r.e(6666),r.e(5364)]).then(r.bind(r,82042)),OrganizationList:()=>Promise.all([r.e(26),r.e(1545),r.e(6666),r.e(980),r.e(799)]).then(r.bind(r,42160)),ImpersonationFab:()=>Promise.all([r.e(26),r.e(1545),r.e(6666),r.e(8917)]).then(r.bind(r,93014)),GoogleOneTap:()=>Promise.all([r.e(26),r.e(1545),r.e(6666),r.e(5721)]).then(r.bind(r,79659)),BlankCaptchaModal:()=>Promise.all([r.e(26),r.e(1545),r.e(6666),r.e(3328)]).then(r.bind(r,46816)),ProtectCheckModal:()=>Promise.all([r.e(26),r.e(1545),r.e(6666),r.e(8333)]).then(r.bind(r,70869)),UserVerification:()=>Promise.all([r.e(26),r.e(1545),r.e(6666),r.e(5636)]).then(r.bind(r,23456)),Waitlist:()=>Promise.all([r.e(26),r.e(1545),r.e(6666),r.e(5265)]).then(r.bind(r,54416)),KeylessPrompt:()=>Promise.all([r.e(1545),r.e(6666),r.e(522)]).then(r.bind(r,15549)),PricingTable:()=>Promise.all([r.e(26),r.e(1545),r.e(6666),r.e(6678),r.e(7030)]).then(r.bind(r,23131)),Checkout:()=>Promise.all([r.e(26),r.e(1545),r.e(6666),r.e(9419),r.e(1256)]).then(r.bind(r,40460)),SessionTasks:()=>Promise.all([r.e(26),r.e(1545),r.e(6666),r.e(7181),r.e(472),r.e(7004),r.e(4424),r.e(6390)]).then(r.bind(r,60931)),TaskChooseOrganization:()=>Promise.all([r.e(26),r.e(1545),r.e(6666),r.e(7181),r.e(472),r.e(4424),r.e(1723)]).then(r.bind(r,9147)),TaskResetPassword:()=>Promise.all([r.e(26),r.e(1545),r.e(6666),r.e(7181),r.e(472),r.e(8067)]).then(r.bind(r,57006)),TaskSetupMFA:()=>Promise.all([r.e(26),r.e(1545),r.e(6666),r.e(7004)]).then(r.bind(r,48093)),PlanDetails:()=>Promise.all([r.e(26),r.e(1545),r.e(6666),r.e(2841)]).then(r.bind(r,62182)),SubscriptionDetails:()=>Promise.all([r.e(26),r.e(1545),r.e(6666),r.e(7451)]).then(r.bind(r,75181)),APIKeys:()=>Promise.all([r.e(26),r.e(1545),r.e(6666),r.e(8326)]).then(r.bind(r,13676)),ConfigureSSO:()=>Promise.all([r.e(26),r.e(1545),r.e(6666),r.e(6206),r.e(7971)]).then(r.bind(r,49223)),ConfigureDirectorySync:()=>Promise.all([r.e(26),r.e(1545),r.e(6666),r.e(6206),r.e(524),r.e(7488)]).then(r.bind(r,5867)),OAuthConsent:()=>Promise.all([r.e(26),r.e(1545),r.e(6666),r.e(5591)]).then(r.bind(r,43238)),OAuthDeviceVerification:()=>Promise.all([r.e(26),r.e(1545),r.e(6666),r.e(9088)]).then(r.bind(r,90355)),EnableOrganizationsPrompt:()=>Promise.all([r.e(26),r.e(1545),r.e(6666),r.e(2533)]).then(r.bind(r,68663))},a=(0,n.lazy)(()=>i.SignIn().then(e=>({default:e.SignIn}))),o=(0,n.lazy)(()=>i.SignIn().then(e=>({default:e.SignInModal}))),s=(0,n.lazy)(()=>i.GoogleOneTap().then(e=>({default:e.OneTap}))),l=(0,n.lazy)(()=>i.UserVerification().then(e=>({default:e.UserVerification}))),u=(0,n.lazy)(()=>i.UserVerification().then(e=>({default:e.UserVerificationModal}))),c=(0,n.lazy)(()=>i.EnableOrganizationsPrompt().then(e=>({default:e.EnableOrganizationsPrompt}))),f=(0,n.lazy)(()=>i.SignUp().then(e=>({default:e.SignUp}))),d=(0,n.lazy)(()=>i.SignUp().then(e=>({default:e.SignUpModal}))),h=(0,n.lazy)(()=>i.UserAvatar().then(e=>({default:e.UserAvatar}))),p=(0,n.lazy)(()=>i.UserButton().then(e=>({default:e.UserButton}))),g=(0,n.lazy)(()=>i.UserProfile().then(e=>({default:e.UserProfile}))),y=(0,n.lazy)(()=>i.UserProfile().then(e=>({default:e.UserProfileModal}))),m=(0,n.lazy)(()=>i.CreateOrganization().then(e=>({default:e.CreateOrganization}))),b=(0,n.lazy)(()=>i.CreateOrganization().then(e=>({default:e.CreateOrganizationModal}))),w=(0,n.lazy)(()=>i.OrganizationProfile().then(e=>({default:e.OrganizationProfile}))),S=(0,n.lazy)(()=>i.OrganizationProfile().then(e=>({default:e.OrganizationProfileModal}))),k=(0,n.lazy)(()=>i.InviteMembers().then(e=>({default:e.InviteMembersModal}))),E=(0,n.lazy)(()=>i.OrganizationSwitcher().then(e=>({default:e.OrganizationSwitcher}))),_=(0,n.lazy)(()=>i.OrganizationList().then(e=>({default:e.OrganizationList}))),P=(0,n.lazy)(()=>i.Waitlist().then(e=>({default:e.Waitlist}))),x=(0,n.lazy)(()=>i.Waitlist().then(e=>({default:e.WaitlistModal}))),C=(0,n.lazy)(()=>i.BlankCaptchaModal().then(e=>({default:e.BlankCaptchaModal}))),O=(0,n.lazy)(()=>i.ProtectCheckModal().then(e=>({default:e.ProtectCheckModal}))),R=(0,n.lazy)(()=>i.ImpersonationFab().then(e=>({default:e.ImpersonationFab}))),I=(0,n.lazy)(()=>i.KeylessPrompt().then(e=>({default:e.KeylessPrompt}))),A=(0,n.lazy)(()=>i.PricingTable().then(e=>({default:e.PricingTable}))),T=(0,n.lazy)(()=>i.APIKeys().then(e=>({default:e.APIKeys}))),M=(0,n.lazy)(()=>i.ConfigureSSO().then(e=>({default:e.ConfigureSSO}))),z=(0,n.lazy)(()=>i.ConfigureDirectorySync().then(e=>({default:e.ConfigureDirectorySync}))),D=(0,n.lazy)(()=>i.Checkout().then(e=>({default:e.Checkout}))),L=(0,n.lazy)(()=>i.TaskChooseOrganization().then(e=>({default:e.TaskChooseOrganization}))),U=(0,n.lazy)(()=>i.TaskResetPassword().then(e=>({default:e.TaskResetPassword}))),j=(0,n.lazy)(()=>i.TaskSetupMFA().then(e=>({default:e.TaskSetupMFA}))),N=(0,n.lazy)(()=>i.PlanDetails().then(e=>({default:e.PlanDetails}))),F=(0,n.lazy)(()=>i.SubscriptionDetails().then(e=>({default:e.SubscriptionDetails}))),q=(0,n.lazy)(()=>i.OAuthConsent().then(e=>({default:e.OAuthConsent}))),W=(0,n.lazy)(()=>i.OAuthDeviceVerification().then(e=>({default:e.OAuthDeviceVerification}))),K=(0,n.lazy)(()=>i.SessionTasks().then(e=>({default:e.SessionTasks}))),B=async e=>{var t;return null==(t=i[e])?void 0:t.call(i)};r.d(t,{},{Gb:C,JJ:K,L1:x,M9:o,O3:{SignIn:a,SignUp:f,UserAvatar:h,UserButton:p,UserProfile:g,UserVerification:l,EnableOrganizationsPrompt:c,OrganizationSwitcher:E,OrganizationList:_,OrganizationProfile:w,CreateOrganization:m,SignInModal:o,SignUpModal:d,UserProfileModal:y,OrganizationProfileModal:S,InviteMembersModal:k,CreateOrganizationModal:b,UserVerificationModal:u,GoogleOneTap:s,Waitlist:P,WaitlistModal:x,BlankCaptchaModal:C,ProtectCheckModal:O,PricingTable:A,Checkout:D,PlanDetails:N,APIKeys:T,ConfigureSSO:M,ConfigureDirectorySync:z,OAuthConsent:q,OAuthDeviceVerification:W,SubscriptionDetails:F,TaskChooseOrganization:L,TaskResetPassword:U,TaskSetupMFA:j},PX:O,Qj:S,RW:D,Sm:R,Xi:b,am:y,gK:d,jr:B,ju:I,yc:c,yd:u,ym:N,yw:k})},54152(e,t,r){r.d(t,{t8:()=>x,$h:()=>O,dB:()=>I,Nx:()=>R,Vv:()=>C,xg:()=>A,Fj:()=>P,up:()=>_}),r(73560);var n=r(82787);r(67548),r(70954),r(98803),r(79162),r(15385),r(39342),r(69152),r(36395);var i=r(91311);let a=new Set;var o=r(36762),s=r(59701),l=r(81221);let u=(0,s.lazy)(()=>r.e(6666).then(r.bind(r,95250)).then(e=>({default:e.ClerkContextProvider}))),c=(0,s.lazy)(()=>r.e(6666).then(r.bind(r,95250)).then(e=>({default:e.EnvironmentProvider}))),f=(0,s.lazy)(()=>r.e(6666).then(r.bind(r,95250)).then(e=>({default:e.OptionsProvider}))),d=(0,s.lazy)(()=>r.e(6666).then(r.bind(r,95250)).then(e=>({default:e.ModuleManagerProvider}))),h=(0,s.lazy)(()=>Promise.all([r.e(1545),r.e(6666)]).then(r.bind(r,39230)).then(e=>({default:e.AppearanceProvider}))),p=(0,s.lazy)(()=>Promise.all([r.e(26),r.e(1545),r.e(6666)]).then(r.bind(r,37209)).then(e=>({default:e.VirtualRouter}))),g=(0,s.lazy)(()=>Promise.all([r.e(1545),r.e(6666)]).then(r.bind(r,37412)).then(e=>({default:e.InternalThemeProvider}))),y=(0,s.lazy)(()=>r.e(6666).then(r.bind(r,63558)).then(e=>({default:e.StyleCacheProvider}))),m=(0,s.lazy)(()=>Promise.all([r.e(26),r.e(1545),r.e(6666),r.e(7181),r.e(472),r.e(3736)]).then(r.bind(r,96265)).then(e=>({default:e.Portal}))),b=(0,s.lazy)(()=>Promise.all([r.e(26),r.e(1545),r.e(6666),r.e(7181),r.e(472),r.e(3736)]).then(r.bind(r,96265)).then(e=>({default:e.VirtualBodyRootPortal}))),w=(0,s.lazy)(()=>Promise.all([r.e(26),r.e(1545),r.e(6666)]).then(r.bind(r,17308)).then(e=>({default:e.FlowMetadataProvider}))),S=(0,s.lazy)(()=>Promise.all([r.e(26),r.e(1545),r.e(6666)]).then(r.bind(r,62574)).then(e=>({default:e.Modal}))),k=(0,s.lazy)(()=>Promise.all([r.e(26),r.e(1545),r.e(6666)]).then(r.bind(r,66923)).then(e=>({default:e.Drawer.Root}))),E=(0,s.lazy)(()=>Promise.all([r.e(26),r.e(1545),r.e(6666)]).then(r.bind(r,66923)).then(e=>({default:e.Drawer.Overlay}))),_=(0,s.lazy)(()=>r.e(5608).then(r.bind(r,30956)).then(e=>({default:e.OrganizationSwitcherPrefetch}))),P=e=>{var t;return(0,n.Y)(y,{nonce:e.options.nonce,cssLayerName:null==(t=e.options.appearance)?void 0:t.cssLayerName,children:(0,n.Y)(d,{moduleManager:e.moduleManager,children:(0,n.Y)(u,{clerk:e.clerk,children:(0,n.Y)(c,{value:e.environment,children:(0,n.Y)(f,{value:e.options,children:e.children})})})})})},x=e=>{var t,r,s,u;let c,f;return(null==e||null==(t=e.componentProps)?void 0:t.routing)==="virtual"&&(s='routing="virtual"',c=(0,i.a)()||(0,i.i)(),f=null!=u?u:s,a.has(f)||c||(a.add(f),console.warn('Clerk - DEPRECATION WARNING: "'.concat(s,'" is deprecated and will be removed in the next major release.\n').concat('Use routing="hash" instead.')))),(0,n.Y)(h,{globalAppearance:e.globalAppearance,appearanceKey:e.appearanceKey,appearance:e.componentAppearance,children:(0,n.Y)(o.N$,{getContainer:null==e||null==(r=e.componentProps)?void 0:r.getContainer,children:(0,n.Y)(m,{node:e.node,component:l.O3[e.componentName],props:e.componentProps,componentName:e.componentName})})})},C=e=>(0,n.Y)(s.Suspense,{fallback:"",children:(0,n.Y)(h,{globalAppearance:e.globalAppearance,appearanceKey:e.appearanceKey,appearance:e.componentAppearance,children:(0,n.Y)(w,{flow:e.flowName||"",children:(0,n.Y)(g,{children:(0,n.Y)(o.N$,{getContainer:e.getContainer,children:(0,n.Y)(S,{id:e.modalId,style:e.modalStyle,handleClose:e.onClose,containerSx:e.modalContainerSx,contentSx:e.modalContentSx,canCloseModal:e.canCloseModal,children:e.startPath?(0,n.Y)(s.Suspense,{children:(0,n.Y)(p,{startPath:e.startPath,onExternalNavigate:e.onExternalNavigate,children:e.children})}):e.children})})})})})}),O=e=>(0,n.Y)(s.Suspense,{fallback:"",children:(0,n.Y)(p,{startPath:"",children:(0,n.Y)(h,{globalAppearance:e.globalAppearance,appearanceKey:e.appearanceKey,appearance:e.componentAppearance,children:(0,n.Y)(w,{flow:e.flowName||"",children:(0,n.Y)(g,{children:(0,n.FD)(k,{open:e.open,onOpenChange:e.onOpenChange,strategy:e.portalId||e.portalRoot?"absolute":"fixed",portalProps:{id:e.portalId?e.portalId:void 0,root:e.portalRoot?e.portalRoot:void 0},children:[(0,n.Y)(E,{}),e.children]})})})})})}),R=e=>(0,n.Y)(s.Suspense,{children:(0,n.Y)(p,{startPath:"",children:(0,n.Y)(h,{globalAppearance:e.globalAppearance,appearanceKey:"impersonationFab",children:e.children})})}),I=e=>(0,n.Y)(s.Suspense,{children:(0,n.Y)(p,{startPath:"",children:(0,n.Y)(h,{globalAppearance:e.globalAppearance,appearanceKey:"enableOrganizationsPrompt",children:e.children})})}),A=e=>(0,n.Y)(h,{globalAppearance:e.globalAppearance,appearanceKey:"oneTap",appearance:e.componentAppearance,children:(0,n.Y)(b,{startPath:e.startPath,component:l.O3.GoogleOneTap,props:e.componentProps,componentName:"GoogleOneTap"})})},80719(e,t,r){r.d(t,{T:()=>p,I:()=>g}),r(42949),r(37891),r(85281),r(96954),r(36395),r(14104);var n=r(62826);let i=/\.cl-[A-Za-z0-9_-]+/,a=/\.cl-internal-[A-Za-z0-9_-]+/g,o=/\[\s*class\s*(\^=|\*=|\$=)\s*["']?[^"'\]]*cl-[^"'\]]*["']?\s*\]/i,s=/:(nth-child|nth-of-type|first-child|last-child|only-child|empty)\b/i,l=/:has\(/i;r(18723),r(52277);let u=/[.#\w[:]/,c=/\.cl-[A-Za-z0-9_-]+/g,f=/[>+~\s]/;function d(e){return["Clerk: Structural CSS detected that may break on updates.\n\nFound:",e.slice(0,5).map(e=>" - ".concat(e)).join("\n")+(e.length>5?"\n (+".concat(e.length-5," more)"):""),"\nThese selectors depend on the internal DOM structure of Clerk's components, which may change when Clerk deploys component updates.\nTo prevent breaking changes, install @clerk/ui and pass it to ClerkProvider:\n\n import { ui } from '@clerk/ui'\n <ClerkProvider ui={ui}>\n\nLearn more: https://clerk.com/docs/reference/components/versioning\n(code=structural_css_pin_clerk_ui)"].join("\n")}function h(e){let t=[];for(let[r,n]of Object.entries(e))if("string"!=typeof n)for(let e of function e(t){if(!t||"object"!=typeof t)return[];let r=[];for(let[n,a]of Object.entries(t))(function(e){let t,r,n;return!!e.startsWith("&")&&(!!(i.test(e)||s.test(e)||l.test(e))||(t=e.replace(/^&\s*/,""),r=i.test(t),n=u.test(t.replace(c,"")),!!(r||n&&f.test(e))))})(n)&&r.push(n),r.push(...e(a));return r}(n))t.push("elements.".concat(r,' "').concat(e,'"'));return t}function p(e,t){if(t||!(null==e?void 0:e.elements)||0===Object.keys(e.elements).length)return;let r=h(e.elements);r.length>0&&n.v.warnOnce(d(r))}function g(e){var t;if(null==e||null==(t=e.ui)?void 0:t.__brand)return;let r=[],u=null==e?void 0:e.appearance;for(let e of((null==u?void 0:u.elements)&&Object.keys(u.elements).length>0&&r.push(...h(u.elements)),function(){if("u"<typeof document)return[];let e=[];for(let t of Array.from(document.styleSheets)){let r=function(e){try{return e.cssRules}catch{return null}}(t);r&&function e(t,r,n){for(let c of Array.from(t)){if(1===c.type&&"selectorText"in c){for(let e of(c.selectorText||"").split(",").map(e=>e.trim()).filter(Boolean)){var u;if(!function(e){let t=e.replace(a,"");return i.test(t)||o.test(t)}(e))continue;let{structural:t,reason:f}=function(e){let t=[];return(/\.cl-[A-Za-z0-9_-]+[\s>+~]+[.#\w[:]/.test(e)||/[.#\w\]:][\s>+~]+\.cl-[A-Za-z0-9_-]+/.test(e))&&(/[>+~]/.test(e)&&t.push("combinator(>+~)"),/\s+/.test(e)&&t.push("descendant(combinator)")),s.test(e)&&t.push("positional-pseudo"),l.test(e)&&t.push(":has()"),(e.match(/\.cl-[A-Za-z0-9_-]+/g)||[]).length>=2&&t.push("multiple-clerk-classes"),/(^|[\s>+~(])([a-z]+)\.cl-[A-Za-z0-9_-]+/i.test(e)&&t.push("tag+cl-class"),{structural:t.includes("combinator(>+~)")||t.includes("descendant(combinator)")||t.includes("positional-pseudo")||t.includes(":has()")||t.includes("multiple-clerk-classes")||t.includes("tag+cl-class"),reason:t}}(e);t&&n.push({stylesheetHref:null!=(u=r.href)?u:null,selector:e,cssText:c.cssText,reason:f})}continue}"cssRules"in c&&c.cssRules&&e(c.cssRules,r,n)}}(r,t,e)}return e}()))r.push('CSS "'.concat(e.selector,'"'));r.length>0&&n.v.warnOnce(d(r))}},55435(e,t,r){r.d(t,{A:()=>$}),r(36395),r(85281),r(96954),r(42949),r(84086),r(15254),r(14104),r(37891);var n=function(){function e(e){var t=this;this._insertTag=function(e){var r;r=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,r),t.tags.push(e)},this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(((t=document.createElement("style")).setAttribute("data-emotion",this.key),void 0!==this.nonce&&t.setAttribute("nonce",this.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t));var t,r=this.tags[this.tags.length-1];if(this.isSpeedy){var n=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}(r);try{n.insertRule(e,n.cssRules.length)}catch(e){}}else r.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach(function(e){var t;return null==(t=e.parentNode)?void 0:t.removeChild(e)}),this.tags=[],this.ctr=0},e}(),i=Math.abs,a=String.fromCharCode,o=Object.assign;function s(e,t,r){return e.replace(t,r)}function l(e,t){return e.indexOf(t)}function u(e,t){return 0|e.charCodeAt(t)}function c(e,t,r){return e.slice(t,r)}function f(e){return e.length}function d(e,t){return t.push(e),e}var h=1,p=1,g=0,y=0,m=0,b="";function w(e,t,r,n,i,a,o){return{value:e,root:t,parent:r,type:n,props:i,children:a,line:h,column:p,length:o,return:""}}function S(e,t){return o(w("",null,null,"",null,null,0),e,{length:-e.length},t)}function k(){return m=y<g?u(b,y++):0,p++,10===m&&(p=1,h++),m}function E(){return u(b,y)}function _(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function P(e){return h=p=1,g=f(b=e),y=0,[]}function x(e){var t,r;return(t=y-1,r=function e(t){for(;k();)switch(m){case t:return y;case 34:case 39:34!==t&&39!==t&&e(m);break;case 40:41===t&&e(t);break;case 92:k()}return y}(91===e?e+2:40===e?e+1:e),c(b,t,r)).trim()}var C="-ms-",O="-moz-",R="-webkit-",I="comm",A="rule",T="decl",M="@keyframes";function z(e,t){for(var r="",n=e.length,i=0;i<n;i++)r+=t(e[i],i,e,t)||"";return r}function D(e,t,r,n){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case T:return e.return=e.return||e.value;case I:return"";case M:return e.return=e.value+"{"+z(e.children,n)+"}";case A:e.value=e.props.join(",")}return f(r=z(e.children,n))?e.return=e.value+"{"+r+"}":""}function L(e,t,r,n,a,o,l,u,f,d,h){for(var p=a-1,g=0===a?o:[""],y=g.length,m=0,b=0,S=0;m<n;++m)for(var k=0,E=c(e,p+1,p=i(b=l[m])),_=e;k<y;++k)(_=(b>0?g[k]+" "+E:s(E,/&\f/g,g[k])).trim())&&(f[S++]=_);return w(e,t,r,0===a?A:u,f,d,h)}function U(e,t,r,n){return w(e,t,r,T,c(e,0,n),c(e,n+1,-1),n)}r(53349);var j=function(e,t,r){for(var n=0,i=0;n=i,i=E(),38===n&&12===i&&(t[r]=1),!_(i);)k();return c(b,e,y)},N=function(e,t){var r=-1,n=44;do switch(_(n)){case 0:38===n&&12===E()&&(t[r]=1),e[r]+=j(y-1,t,r);break;case 2:e[r]+=x(n);break;case 4:if(44===n){e[++r]=58===E()?"&\f":"",t[r]=e[r].length;break}default:e[r]+=a(n)}while(n=k());return e},F=function(e,t){var r;return r=N(P(e),t),b="",r},q=new WeakMap,W=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,r=e.parent,n=e.column===r.column&&e.line===r.line;"rule"!==r.type;)if(!(r=r.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||q.get(r))&&!n){q.set(e,!0);for(var i=[],a=F(t,i),o=r.props,s=0,l=0;s<a.length;s++)for(var u=0;u<o.length;u++,l++)e.props[l]=i[s]?a[s].replace(/&\f/g,o[u]):o[u]+" "+a[s]}}},K=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}},B=[function(e,t,r,n){if(e.length>-1&&!e.return)switch(e.type){case T:e.return=function e(t,r){switch(45^u(t,0)?(((r<<2^u(t,0))<<2^u(t,1))<<2^u(t,2))<<2^u(t,3):0){case 5103:return R+"print-"+t+t;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return R+t+t;case 5349:case 4246:case 4810:case 6968:case 2756:return R+t+O+t+C+t+t;case 6828:case 4268:return R+t+C+t+t;case 6165:return R+t+C+"flex-"+t+t;case 5187:return R+t+s(t,/(\w+).+(:[^]+)/,R+"box-$1$2"+C+"flex-$1$2")+t;case 5443:return R+t+C+"flex-item-"+s(t,/flex-|-self/,"")+t;case 4675:return R+t+C+"flex-line-pack"+s(t,/align-content|flex-|-self/,"")+t;case 5548:return R+t+C+s(t,"shrink","negative")+t;case 5292:return R+t+C+s(t,"basis","preferred-size")+t;case 6060:return R+"box-"+s(t,"-grow","")+R+t+C+s(t,"grow","positive")+t;case 4554:return R+s(t,/([^-])(transform)/g,"$1"+R+"$2")+t;case 6187:return s(s(s(t,/(zoom-|grab)/,R+"$1"),/(image-set)/,R+"$1"),t,"")+t;case 5495:case 3959:return s(t,/(image-set\([^]*)/,R+"$1$`$1");case 4968:return s(s(t,/(.+:)(flex-)?(.*)/,R+"box-pack:$3"+C+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+R+t+t;case 4095:case 3583:case 4068:case 2532:return s(t,/(.+)-inline(.+)/,R+"$1$2")+t;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(f(t)-1-r>6)switch(u(t,r+1)){case 109:if(45!==u(t,r+4))break;case 102:return s(t,/(.+:)(.+)-([^]+)/,"$1"+R+"$2-$3$1"+O+(108==u(t,r+3)?"$3":"$2-$3"))+t;case 115:return~l(t,"stretch")?e(s(t,"stretch","fill-available"),r)+t:t}break;case 4949:if(115!==u(t,r+1))break;case 6444:switch(u(t,f(t)-3-(~l(t,"!important")&&10))){case 107:return s(t,":",":"+R)+t;case 101:return s(t,/(.+:)([^;!]+)(;|!.+)?/,"$1"+R+(45===u(t,14)?"inline-":"")+"box$3$1"+R+"$2$3$1"+C+"$2box$3")+t}break;case 5936:switch(u(t,r+11)){case 114:return R+t+C+s(t,/[svh]\w+-[tblr]{2}/,"tb")+t;case 108:return R+t+C+s(t,/[svh]\w+-[tblr]{2}/,"tb-rl")+t;case 45:return R+t+C+s(t,/[svh]\w+-[tblr]{2}/,"lr")+t}return R+t+C+t+t}return t}(e.value,e.length);break;case M:return z([S(e,{value:s(e.value,"@","@"+R)})],n);case A:if(e.length){var i,a;return i=e.props,a=function(t){var r;switch(r=t,(r=/(::plac\w+|:read-\w+)/.exec(r))?r[0]:r){case":read-only":case":read-write":return z([S(e,{props:[s(t,/:(read-\w+)/,":"+O+"$1")]})],n);case"::placeholder":return z([S(e,{props:[s(t,/:(plac\w+)/,":"+R+"input-$1")]}),S(e,{props:[s(t,/:(plac\w+)/,":"+O+"$1")]}),S(e,{props:[s(t,/:(plac\w+)/,C+"input-$1")]})],n)}return""},i.map(a).join("")}}}],$=function(e){var t,r,i,o,g,S=e.key;if("css"===S){var C=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(C,function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))})}var O=e.stylisPlugins||B,R={},A=[];o=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+S+' "]'),function(e){for(var t=e.getAttribute("data-emotion").split(" "),r=1;r<t.length;r++)R[t[r]]=!0;A.push(e)});var T=(r=(t=[W,K].concat(O,[D,(i=function(e){g.insert(e)},function(e){!e.root&&(e=e.return)&&i(e)})])).length,function(e,n,i,a){for(var o="",s=0;s<r;s++)o+=t[s](e,n,i,a)||"";return o}),M=function(e){var t,r;return z((r=function e(t,r,n,i,o,g,S,P,C){for(var O,R=0,A=0,T=S,M=0,z=0,D=0,j=1,N=1,F=1,q=0,W="",K=o,B=g,$=i,V=W;N;)switch(D=q,q=k()){case 40:if(108!=D&&58==u(V,T-1)){-1!=l(V+=s(x(q),"&","&\f"),"&\f")&&(F=-1);break}case 34:case 39:case 91:V+=x(q);break;case 9:case 10:case 13:case 32:V+=function(e){for(;m=E();)if(m<33)k();else break;return _(e)>2||_(m)>3?"":" "}(D);break;case 92:V+=function(e,t){for(var r;--t&&k()&&!(m<48)&&!(m>102)&&(!(m>57)||!(m<65))&&(!(m>70)||!(m<97)););return r=y+(t<6&&32==E()&&32==k()),c(b,e,r)}(y-1,7);continue;case 47:switch(E()){case 42:case 47:d((O=function(e,t){for(;k();)if(e+m===57)break;else if(e+m===84&&47===E())break;return"/*"+c(b,t,y-1)+"*"+a(47===e?e:k())}(k(),y),w(O,r,n,I,a(m),c(O,2,-2),0)),C);break;default:V+="/"}break;case 123*j:P[R++]=f(V)*F;case 125*j:case 59:case 0:switch(q){case 0:case 125:N=0;case 59+A:-1==F&&(V=s(V,/\f/g,"")),z>0&&f(V)-T&&d(z>32?U(V+";",i,n,T-1):U(s(V," ","")+";",i,n,T-2),C);break;case 59:V+=";";default:if(d($=L(V,r,n,R,A,o,P,W,K=[],B=[],T),g),123===q)if(0===A)e(V,r,$,$,K,g,T,P,B);else switch(99===M&&110===u(V,3)?100:M){case 100:case 108:case 109:case 115:e(t,$,$,i&&d(L(t,$,$,0,0,o,P,W,o,K=[],T),B),o,B,T,P,i?K:B);break;default:e(V,$,$,$,[""],B,0,P,B)}}R=A=z=0,j=F=1,W=V="",T=S;break;case 58:T=1+f(V),z=D;default:if(j<1){if(123==q)--j;else if(125==q&&0==j++&&125==(m=y>0?u(b,--y):0,p--,10===m&&(p=1,h--),m))continue}switch(V+=a(q),q*j){case 38:F=A>0?1:(V+="\f",-1);break;case 44:P[R++]=(f(V)-1)*F,F=1;break;case 64:45===E()&&(V+=x(k())),M=E(),A=T=f(W=V+=function(e){for(;!_(E());)k();return c(b,e,y)}(y)),q++;break;case 45:45===D&&2==f(V)&&(j=0)}}return g}("",null,null,null,[""],t=P(t=e),0,[0],t),b="",r),T)},j={key:S,sheet:new n({key:S,container:o,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:R,registered:{},insert:function(e,t,r,n){g=r,M(e?e+"{"+t.styles+"}":t.styles),n&&(j.inserted[t.name]=!0)}};return j.sheet.hydrate(A),j}},23647(e,t,r){r.d(t,{C:()=>h,E:()=>S,a:()=>y,c:()=>b,h:()=>f}),r(15254),r(85281),r(67548),r(70954),r(98803),r(79162),r(15385),r(39342),r(69152),r(36395),r(96954);var n,i=r(59701),a=r(55435);function o(){return(o=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(null,arguments)}var s=r(53349),l=r(66936),u=r(31134),c=r(28206),f={}.hasOwnProperty,d=i.createContext("u">typeof HTMLElement?(0,a.A)({key:"css"}):null),h=d.Provider,p=i.createContext({}),g=(0,s.A)(function(e){return(0,s.A)(function(t){var r,n;return r=e,"function"==typeof(n=t)?n(r):o({},r,n)})}),y=function(e){var t=i.useContext(p);return e.theme!==t&&(t=g(t)(e.theme)),i.createElement(p.Provider,{value:t},e.children)},m="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",b=function(e,t){var r={};for(var n in t)f.call(t,n)&&(r[n]=t[n]);return r[m]=e,r},w=function(e){var t=e.cache,r=e.serialized,n=e.isStringTag;return(0,l.SF)(t,r,n),(0,c.s)(function(){return(0,l.sk)(t,r,n)}),null},S=(n=function(e,t,r){var n=e.css;"string"==typeof n&&void 0!==t.registered[n]&&(n=t.registered[n]);var a=e[m],o=[n],s="";"string"==typeof e.className?s=(0,l.Rk)(t.registered,o,e.className):null!=e.className&&(s=e.className+" ");var c=(0,u.J)(o,void 0,i.useContext(p));s+=t.key+"-"+c.name;var d={};for(var h in e)f.call(e,h)&&"css"!==h&&h!==m&&(d[h]=e[h]);return d.ref=r,d.className=s,i.createElement(i.Fragment,null,i.createElement(w,{cache:t,serialized:c,isStringTag:"string"==typeof a}),i.createElement(a,d))},(0,i.forwardRef)(function(e,t){return n(e,(0,i.useContext)(d),t)}))},82787(e,t,r){var n=r(23569),i=r(23647);r(59701),r(55435),r(53349),r(43184),r(66936),r(31134),r(28206);var a=n.Fragment;function o(e,t,r){return i.h.call(t,"css")?n.jsx(i.E,(0,i.c)(e,t),r):n.jsx(e,t,r)}function s(e,t,r){return i.h.call(t,"css")?n.jsxs(i.E,(0,i.c)(e,t),r):n.jsxs(e,t,r)}r.d(t,{FD:()=>s,FK:()=>a,Y:()=>o})},31134(e,t,r){r.d(t,{J:()=>g}),r(85281),r(96954),r(15254);var n,i,a,o={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},s=/[A-Z]|^ms/g,l=/_EMO_([^_]+?)_([^]*?)_EMO_/g,u=function(e){return 45===e.charCodeAt(1)},c=function(e){return null!=e&&"boolean"!=typeof e},f=(n=function(e){return u(e)?e:e.replace(s,"-$&").toLowerCase()},i=Object.create(null),function(e){return void 0===i[e]&&(i[e]=n(e)),i[e]}),d=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(l,function(e,t,r){return a={name:t,styles:r,next:a},t})}return 1===o[e]||u(e)||"number"!=typeof t||0===t?t:t+"px"};function h(e,t,r){if(null==r)return"";if(void 0!==r.__emotion_styles)return r;switch(typeof r){case"boolean":return"";case"object":if(1===r.anim)return a={name:r.name,styles:r.styles,next:a},r.name;if(void 0!==r.styles){var n=r.next;if(void 0!==n)for(;void 0!==n;)a={name:n.name,styles:n.styles,next:a},n=n.next;return r.styles+";"}return function(e,t,r){var n="";if(Array.isArray(r))for(var i=0;i<r.length;i++)n+=h(e,t,r[i])+";";else for(var a in r){var o=r[a];if("object"!=typeof o)null!=t&&void 0!==t[o]?n+=a+"{"+t[o]+"}":c(o)&&(n+=f(a)+":"+d(a,o)+";");else if(Array.isArray(o)&&"string"==typeof o[0]&&(null==t||void 0===t[o[0]]))for(var s=0;s<o.length;s++)c(o[s])&&(n+=f(a)+":"+d(a,o[s])+";");else{var l=h(e,t,o);switch(a){case"animation":case"animationName":n+=f(a)+":"+l+";";break;default:n+=a+"{"+l+"}"}}}return n}(e,t,r);case"function":if(void 0!==e){var i=a,o=r(e);return a=i,h(e,t,o)}}if(null==t)return r;var s=t[r];return void 0!==s?s:r}var p=/label:\s*([^\s;{]+)\s*(;|$)/g;function g(e,t,r){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var n,i=!0,o="";a=void 0;var s=e[0];null==s||void 0===s.raw?(i=!1,o+=h(r,t,s)):o+=s[0];for(var l=1;l<e.length;l++)o+=h(r,t,e[l]),i&&(o+=s[l]);p.lastIndex=0;for(var u="";null!==(n=p.exec(o));)u+="-"+n[1];return{name:function(e){for(var t,r=0,n=0,i=e.length;i>=4;++n,i-=4)t=(65535&(t=255&e.charCodeAt(n)|(255&e.charCodeAt(++n))<<8|(255&e.charCodeAt(++n))<<16|(255&e.charCodeAt(++n))<<24))*0x5bd1e995+((t>>>16)*59797<<16),t^=t>>>24,r=(65535&t)*0x5bd1e995+((t>>>16)*59797<<16)^(65535&r)*0x5bd1e995+((r>>>16)*59797<<16);switch(i){case 3:r^=(255&e.charCodeAt(n+2))<<16;case 2:r^=(255&e.charCodeAt(n+1))<<8;case 1:r^=255&e.charCodeAt(n),r=(65535&r)*0x5bd1e995+((r>>>16)*59797<<16)}return r^=r>>>13,(((r=(65535&r)*0x5bd1e995+((r>>>16)*59797<<16))^r>>>15)>>>0).toString(36)}(o)+u,styles:o,next:a}}},28206(e,t,r){var n,i=r(59701),a=!!(n||(n=r.t(i,2))).useInsertionEffect&&(n||(n=r.t(i,2))).useInsertionEffect,o=a||function(e){return e()};a||i.useLayoutEffect,r.d(t,{s:()=>o})},66936(e,t,r){function n(e,t,r){var n="";return r.split(" ").forEach(function(r){void 0!==e[r]?t.push(e[r]+";"):r&&(n+=r+" ")}),n}r(85281),r(42949),r(84086),r(14104);var i=function(e,t,r){var n=e.key+"-"+t.name;!1===r&&void 0===e.registered[n]&&(e.registered[n]=t.styles)},a=function(e,t,r){i(e,t,r);var n=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var a=t;do e.insert(t===a?"."+n:"",a,e.sheet,!0),a=a.next;while(void 0!==a)}};r.d(t,{Rk:()=>n,SF:()=>i,sk:()=>a})},53349(e,t,r){r(36395);var n=function(e){var t=new WeakMap;return function(r){if(t.has(r))return t.get(r);var n=e(r);return t.set(r,n),n}};r.d(t,{A:()=>n})},43184(e,t,r){var n=r(64326),i={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},a={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},o={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function l(e){return n.isMemo(e)?o:s[e.$$typeof]||i}s[n.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[n.Memo]=o;var u=Object.defineProperty,c=Object.getOwnPropertyNames,f=Object.getOwnPropertySymbols,d=Object.getOwnPropertyDescriptor,h=Object.getPrototypeOf,p=Object.prototype;e.exports=function e(t,r,n){if("string"!=typeof r){if(p){var i=h(r);i&&i!==p&&e(t,i,n)}var o=c(r);f&&(o=o.concat(f(r)));for(var s=l(t),g=l(r),y=0;y<o.length;++y){var m=o[y];if(!a[m]&&!(n&&n[m])&&!(g&&g[m])&&!(s&&s[m])){var b=d(r,m);try{u(t,m,b)}catch(e){}}}}return t}},75754(e,t){var r="function"==typeof Symbol&&Symbol.for,n=r?Symbol.for("react.element"):60103,i=r?Symbol.for("react.portal"):60106,a=r?Symbol.for("react.fragment"):60107,o=r?Symbol.for("react.strict_mode"):60108,s=r?Symbol.for("react.profiler"):60114,l=r?Symbol.for("react.provider"):60109,u=r?Symbol.for("react.context"):60110,c=r?Symbol.for("react.async_mode"):60111,f=r?Symbol.for("react.concurrent_mode"):60111,d=r?Symbol.for("react.forward_ref"):60112,h=r?Symbol.for("react.suspense"):60113,p=r?Symbol.for("react.suspense_list"):60120,g=r?Symbol.for("react.memo"):60115,y=r?Symbol.for("react.lazy"):60116,m=r?Symbol.for("react.block"):60121,b=r?Symbol.for("react.fundamental"):60117,w=r?Symbol.for("react.responder"):60118,S=r?Symbol.for("react.scope"):60119;function k(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case n:switch(e=e.type){case c:case f:case a:case s:case o:case h:return e;default:switch(e=e&&e.$$typeof){case u:case d:case y:case g:case l:return e;default:return t}}case i:return t}}}function E(e){return k(e)===f}t.AsyncMode=c,t.ConcurrentMode=f,t.ContextConsumer=u,t.ContextProvider=l,t.Element=n,t.ForwardRef=d,t.Fragment=a,t.Lazy=y,t.Memo=g,t.Portal=i,t.Profiler=s,t.StrictMode=o,t.Suspense=h,t.isAsyncMode=function(e){return E(e)||k(e)===c},t.isConcurrentMode=E,t.isContextConsumer=function(e){return k(e)===u},t.isContextProvider=function(e){return k(e)===l},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===n},t.isForwardRef=function(e){return k(e)===d},t.isFragment=function(e){return k(e)===a},t.isLazy=function(e){return k(e)===y},t.isMemo=function(e){return k(e)===g},t.isPortal=function(e){return k(e)===i},t.isProfiler=function(e){return k(e)===s},t.isStrictMode=function(e){return k(e)===o},t.isSuspense=function(e){return k(e)===h},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===a||e===f||e===s||e===o||e===h||e===p||"object"==typeof e&&null!==e&&(e.$$typeof===y||e.$$typeof===g||e.$$typeof===l||e.$$typeof===u||e.$$typeof===d||e.$$typeof===b||e.$$typeof===w||e.$$typeof===S||e.$$typeof===m)},t.typeOf=k},64326(e,t,r){e.exports=r(75754)},62771(e,t,r){var n=r(59701),i=Symbol.for("react.element"),a=Symbol.for("react.fragment"),o=Object.prototype.hasOwnProperty,s=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,l={key:!0,ref:!0,__self:!0,__source:!0};function u(e,t,r){var n,a={},u=null,c=null;for(n in void 0!==r&&(u=""+r),void 0!==t.key&&(u=""+t.key),void 0!==t.ref&&(c=t.ref),t)o.call(t,n)&&!l.hasOwnProperty(n)&&(a[n]=t[n]);if(e&&e.defaultProps)for(n in t=e.defaultProps)void 0===a[n]&&(a[n]=t[n]);return{$$typeof:i,type:e,key:u,ref:c,props:a,_owner:s.current}}t.Fragment=a,t.jsx=u,t.jsxs=u},23204(e,t,r){r(36395),r(15254),r(85281),r(96954),r(14104);var n=Symbol.for("react.element"),i=Symbol.for("react.portal"),a=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),l=Symbol.for("react.provider"),u=Symbol.for("react.context"),c=Symbol.for("react.forward_ref"),f=Symbol.for("react.suspense"),d=Symbol.for("react.memo"),h=Symbol.for("react.lazy"),p=Symbol.iterator,g={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},y=Object.assign,m={};function b(e,t,r){this.props=e,this.context=t,this.refs=m,this.updater=r||g}function w(){}function S(e,t,r){this.props=e,this.context=t,this.refs=m,this.updater=r||g}b.prototype.isReactComponent={},b.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},b.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},w.prototype=b.prototype;var k=S.prototype=new w;k.constructor=S,y(k,b.prototype),k.isPureReactComponent=!0;var E=Array.isArray,_=Object.prototype.hasOwnProperty,P={current:null},x={key:!0,ref:!0,__self:!0,__source:!0};function C(e,t,r){var i,a={},o=null,s=null;if(null!=t)for(i in void 0!==t.ref&&(s=t.ref),void 0!==t.key&&(o=""+t.key),t)_.call(t,i)&&!x.hasOwnProperty(i)&&(a[i]=t[i]);var l=arguments.length-2;if(1===l)a.children=r;else if(1<l){for(var u=Array(l),c=0;c<l;c++)u[c]=arguments[c+2];a.children=u}if(e&&e.defaultProps)for(i in l=e.defaultProps)void 0===a[i]&&(a[i]=l[i]);return{$$typeof:n,type:e,key:o,ref:s,props:a,_owner:P.current}}function O(e){return"object"==typeof e&&null!==e&&e.$$typeof===n}var R=/\/+/g;function I(e,t){var r,n;return"object"==typeof e&&null!==e&&null!=e.key?(r=""+e.key,n={"=":"=0",":":"=2"},"$"+r.replace(/[=:]/g,function(e){return n[e]})):t.toString(36)}function A(e,t,r){if(null==e)return e;var a=[],o=0;return!function e(t,r,a,o,s){var l,u,c,f=typeof t;("undefined"===f||"boolean"===f)&&(t=null);var d=!1;if(null===t)d=!0;else switch(f){case"string":case"number":d=!0;break;case"object":switch(t.$$typeof){case n:case i:d=!0}}if(d)return s=s(d=t),t=""===o?"."+I(d,0):o,E(s)?(a="",null!=t&&(a=t.replace(R,"$&/")+"/"),e(s,r,a,"",function(e){return e})):null!=s&&(O(s)&&(l=s,u=a+(!s.key||d&&d.key===s.key?"":(""+s.key).replace(R,"$&/")+"/")+t,s={$$typeof:n,type:l.type,key:u,ref:l.ref,props:l.props,_owner:l._owner}),r.push(s)),1;if(d=0,o=""===o?".":o+":",E(t))for(var h=0;h<t.length;h++){var g=o+I(f=t[h],h);d+=e(f,r,a,g,s)}else if("function"==typeof(g=null===(c=t)||"object"!=typeof c?null:"function"==typeof(c=p&&c[p]||c["@@iterator"])?c:null))for(t=g.call(t),h=0;!(f=t.next()).done;)g=o+I(f=f.value,h++),d+=e(f,r,a,g,s);else if("object"===f)throw Error("Objects are not valid as a React child (found: "+("[object Object]"===(r=String(t))?"object with keys {"+Object.keys(t).join(", ")+"}":r)+"). If you meant to render a collection of children, use an array instead.");return d}(e,a,"","",function(e){return t.call(r,e,o++)}),a}function T(e){if(-1===e._status){var t=e._result;(t=t()).then(function(t){(0===e._status||-1===e._status)&&(e._status=1,e._result=t)},function(t){(0===e._status||-1===e._status)&&(e._status=2,e._result=t)}),-1===e._status&&(e._status=0,e._result=t)}if(1===e._status)return e._result.default;throw e._result}var M={current:null},z={transition:null};function D(){throw Error("act(...) is not supported in production builds of React.")}t.Children={map:A,forEach:function(e,t,r){A(e,function(){t.apply(this,arguments)},r)},count:function(e){var t=0;return A(e,function(){t++}),t},toArray:function(e){return A(e,function(e){return e})||[]},only:function(e){if(!O(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},t.Component=b,t.Fragment=a,t.Profiler=s,t.PureComponent=S,t.StrictMode=o,t.Suspense=f,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED={ReactCurrentDispatcher:M,ReactCurrentBatchConfig:z,ReactCurrentOwner:P},t.act=D,t.cloneElement=function(e,t,r){if(null==e)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var i=y({},e.props),a=e.key,o=e.ref,s=e._owner;if(null!=t){if(void 0!==t.ref&&(o=t.ref,s=P.current),void 0!==t.key&&(a=""+t.key),e.type&&e.type.defaultProps)var l=e.type.defaultProps;for(u in t)_.call(t,u)&&!x.hasOwnProperty(u)&&(i[u]=void 0===t[u]&&void 0!==l?l[u]:t[u])}var u=arguments.length-2;if(1===u)i.children=r;else if(1<u){l=Array(u);for(var c=0;c<u;c++)l[c]=arguments[c+2];i.children=l}return{$$typeof:n,type:e.type,key:a,ref:o,props:i,_owner:s}},t.createContext=function(e){return(e={$$typeof:u,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:l,_context:e},e.Consumer=e},t.createElement=C,t.createFactory=function(e){var t=C.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:c,render:e}},t.isValidElement=O,t.lazy=function(e){return{$$typeof:h,_payload:{_status:-1,_result:e},_init:T}},t.memo=function(e,t){return{$$typeof:d,type:e,compare:void 0===t?null:t}},t.startTransition=function(e){var t=z.transition;z.transition={};try{e()}finally{z.transition=t}},t.unstable_act=D,t.useCallback=function(e,t){return M.current.useCallback(e,t)},t.useContext=function(e){return M.current.useContext(e)},t.useDebugValue=function(){},t.useDeferredValue=function(e){return M.current.useDeferredValue(e)},t.useEffect=function(e,t){return M.current.useEffect(e,t)},t.useId=function(){return M.current.useId()},t.useImperativeHandle=function(e,t,r){return M.current.useImperativeHandle(e,t,r)},t.useInsertionEffect=function(e,t){return M.current.useInsertionEffect(e,t)},t.useLayoutEffect=function(e,t){return M.current.useLayoutEffect(e,t)},t.useMemo=function(e,t){return M.current.useMemo(e,t)},t.useReducer=function(e,t,r){return M.current.useReducer(e,t,r)},t.useRef=function(e){return M.current.useRef(e)},t.useState=function(e){return M.current.useState(e)},t.useSyncExternalStore=function(e,t,r){return M.current.useSyncExternalStore(e,t,r)},t.useTransition=function(){return M.current.useTransition()},t.version="18.3.1"},59701(e,t,r){e.exports=r(23204)},23569(e,t,r){e.exports=r(62771)},70860(e,t,r){var n=r(68039),i=r(25229),a=TypeError;e.exports=function(e){if(n(e))return e;throw new a(i(e)+" is not a function")}},90114(e,t,r){var n=r(59811),i=r(25229),a=TypeError;e.exports=function(e){if(n(e))return e;throw new a(i(e)+" is not a constructor")}},30216(e,t,r){var n=r(30643),i=String,a=TypeError;e.exports=function(e){if(n(e))return e;throw new a("Can't set "+i(e)+" as a prototype")}},47234(e,t,r){var n=r(58260).has;e.exports=function(e){return n(e),e}},1643(e,t,r){var n=r(75869),i=r(12326),a=r(33919).f,o=n("unscopables"),s=Array.prototype;void 0===s[o]&&a(s,o,{configurable:!0,value:i(null)}),e.exports=function(e){s[o][e]=!0}},22287(e,t,r){var n=r(68445).charAt;e.exports=function(e,t,r){return t+(r?n(e,t).length:1)}},50473(e,t,r){var n=r(66227),i=TypeError;e.exports=function(e,t){if(n(t,e))return e;throw new i("Incorrect invocation")}},46177(e,t,r){var n=r(48188),i=String,a=TypeError;e.exports=function(e){if(n(e))return e;throw new a(i(e)+" is not an object")}},53869(e){e.exports="u">typeof ArrayBuffer&&"u">typeof DataView},82144(e,t,r){var n=r(6974),i=r(76572),a=r(74026),o=n.ArrayBuffer,s=n.TypeError;e.exports=o&&i(o.prototype,"byteLength","get")||function(e){if("ArrayBuffer"!==a(e))throw new s("ArrayBuffer expected");return e.byteLength}},80408(e,t,r){var n=r(6974),i=r(53869),a=r(82144),o=n.DataView;e.exports=function(e){if(!i||0!==a(e))return!1;try{return new o(e),!1}catch(e){return!0}}},30315(e,t,r){var n=r(80408),i=TypeError;e.exports=function(e){if(n(e))throw new i("ArrayBuffer is detached");return e}},2982(e,t,r){var n=r(6974),i=r(52782),a=r(76572),o=r(26722),s=r(30315),l=r(82144),u=r(47541),c=r(75698),f=n.structuredClone,d=n.ArrayBuffer,h=n.DataView,p=Math.min,g=d.prototype,y=h.prototype,m=i(g.slice),b=a(g,"resizable","get"),w=a(g,"maxByteLength","get"),S=i(y.getInt8),k=i(y.setInt8);e.exports=(c||u)&&function(e,t,r){var n,i=l(e),a=void 0===t?i:o(t),g=!b||!b(e);if(s(e),c&&(e=f(e,{transfer:[e]}),i===a&&(r||g)))return e;if(i>=a&&(!r||g))n=m(e,0,a);else{n=new d(a,r&&!g&&w?{maxByteLength:w(e)}:void 0);for(var y=new h(e),E=new h(n),_=p(a,i),P=0;P<_;P++)k(E,P,S(y,P))}return c||u(e),n}},97882(e,t,r){var n,i,a,o=r(53869),s=r(19058),l=r(6974),u=r(68039),c=r(48188),f=r(76151),d=r(73485),h=r(25229),p=r(80081),g=r(59430),y=r(7108),m=r(66227),b=r(69681),w=r(87261),S=r(75869),k=r(702),E=r(66935),_=E.enforce,P=E.get,x=l.Int8Array,C=x&&x.prototype,O=l.Uint8ClampedArray,R=O&&O.prototype,I=x&&b(x),A=C&&b(C),T=Object.prototype,M=l.TypeError,z=S("toStringTag"),D=k("TYPED_ARRAY_TAG"),L="TypedArrayConstructor",U=o&&!!w&&"Opera"!==d(l.opera),j=!1,N={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},F={BigInt64Array:8,BigUint64Array:8},q=function(e){var t=b(e);if(c(t)){var r=P(t);return r&&f(r,L)?r[L]:q(t)}},W=function(e){if(!c(e))return!1;var t=d(e);return f(N,t)||f(F,t)};for(n in N)(a=(i=l[n])&&i.prototype)?_(a)[L]=i:U=!1;for(n in F)(a=(i=l[n])&&i.prototype)&&(_(a)[L]=i);if((!U||!u(I)||I===Function.prototype)&&(I=function(){throw new M("Incorrect invocation")},U))for(n in N)l[n]&&w(l[n],I);if((!U||!A||A===T)&&(A=I.prototype,U))for(n in N)l[n]&&w(l[n].prototype,A);if(U&&b(R)!==A&&w(R,A),s&&!f(A,z))for(n in j=!0,y(A,z,{configurable:!0,get:function(){return c(this)?this[D]:void 0}}),N)l[n]&&p(l[n],D,n);e.exports={NATIVE_ARRAY_BUFFER_VIEWS:U,TYPED_ARRAY_TAG:j&&D,aTypedArray:function(e){if(W(e))return e;throw new M("Target is not a typed array")},aTypedArrayConstructor:function(e){if(u(e)&&(!w||m(I,e)))return e;throw new M(h(e)+" is not a typed array constructor")},exportTypedArrayMethod:function(e,t,r,n){if(s){if(r)for(var i in N){var a=l[i];if(a&&f(a.prototype,e))try{delete a.prototype[e]}catch(r){try{a.prototype[e]=t}catch(e){}}}(!A[e]||r)&&g(A,e,r?t:U&&C[e]||t,n)}},exportTypedArrayStaticMethod:function(e,t,r){var n,i;if(s){if(w){if(r){for(n in N)if((i=l[n])&&f(i,e))try{delete i[e]}catch(e){}}if(I[e]&&!r)return;try{return g(I,e,r?t:U&&I[e]||t)}catch(e){}}for(n in N)(i=l[n])&&(!i[e]||r)&&g(i,e,t)}},getTypedArrayConstructor:q,isView:function(e){if(!c(e))return!1;var t=d(e);return"DataView"===t||f(N,t)||f(F,t)},isTypedArray:W,TypedArray:I,TypedArrayPrototype:A}},91428(e,t,r){var n=r(6974),i=r(52782),a=r(19058),o=r(53869),s=r(6916),l=r(80081),u=r(7108),c=r(27597),f=r(59293),d=r(50473),h=r(65825),p=r(57864),g=r(26722),y=r(1863),m=r(8484),b=r(69681),w=r(87261),S=r(65083),k=r(34766),E=r(3153),_=r(18770),P=r(32377),x=r(66935),C=s.PROPER,O=s.CONFIGURABLE,R="ArrayBuffer",I="DataView",A="prototype",T="Wrong index",M=x.getterFor(R),z=x.getterFor(I),D=x.set,L=n[R],U=L,j=U&&U[A],N=n[I],F=N&&N[A],q=Object.prototype,W=n.Array,K=n.RangeError,B=i(S),$=i([].reverse),V=m.pack,Y=m.unpack,Q=function(e){return[255&e]},H=function(e){return[255&e,e>>8&255]},G=function(e){return[255&e,e>>8&255,e>>16&255,e>>24&255]},J=function(e){return e[3]<<24|e[2]<<16|e[1]<<8|e[0]},X=function(e){return V(y(e),23,4)},Z=function(e){return V(e,52,8)},ee=function(e,t,r){u(e[A],t,{configurable:!0,get:function(){return r(this)[t]}})},et=function(e,t,r,n){var i=z(e),a=g(r);if(a+t>i.byteLength)throw new K(T);var o=i.bytes,s=a+i.byteOffset,l=k(o,s,s+t);return n?l:$(l)},er=function(e,t,r,n,i,a){var o=z(e),s=g(r),l=n(+i),u=!!a;if(s+t>o.byteLength)throw new K(T);for(var c=o.bytes,f=s+o.byteOffset,d=0;d<t;d++)c[f+d]=l[u?d:t-d-1]};if(o){var en=C&&L.name!==R;!f(function(){L(1)})||!f(function(){new L(-1)})||f(function(){return new L,new L(1.5),new L(NaN),1!==L.length||en&&!O})?((U=function(e){return d(this,j),E(new L(g(e)),this,U)})[A]=j,j.constructor=U,_(U,L)):en&&O&&l(L,"name",R),w&&b(F)!==q&&w(F,q);var ei=new N(new U(2)),ea=i(F.setInt8);ei.setInt8(0,0x80000000),ei.setInt8(1,0x80000001),(ei.getInt8(0)||!ei.getInt8(1))&&c(F,{setInt8:function(e,t){ea(this,e,t<<24>>24)},setUint8:function(e,t){ea(this,e,t<<24>>24)}},{unsafe:!0})}else j=(U=function(e){d(this,j);var t=g(e);D(this,{type:R,bytes:B(W(t),0),byteLength:t}),a||(this.byteLength=t,this.detached=!1)})[A],F=(N=function(e,t,r){d(this,F),d(e,j);var n=M(e),i=n.byteLength,o=h(t);if(o<0||o>i)throw new K("Wrong offset");if(r=void 0===r?i-o:p(r),o+r>i)throw new K("Wrong length");D(this,{type:I,buffer:e,byteLength:r,byteOffset:o,bytes:n.bytes}),a||(this.buffer=e,this.byteLength=r,this.byteOffset=o)})[A],a&&(ee(U,"byteLength",M),ee(N,"buffer",z),ee(N,"byteLength",z),ee(N,"byteOffset",z)),c(F,{getInt8:function(e){return et(this,1,e)[0]<<24>>24},getUint8:function(e){return et(this,1,e)[0]},getInt16:function(e){var t=et(this,2,e,arguments.length>1&&arguments[1]);return(t[1]<<8|t[0])<<16>>16},getUint16:function(e){var t=et(this,2,e,arguments.length>1&&arguments[1]);return t[1]<<8|t[0]},getInt32:function(e){return J(et(this,4,e,arguments.length>1&&arguments[1]))},getUint32:function(e){return J(et(this,4,e,arguments.length>1&&arguments[1]))>>>0},getFloat32:function(e){return Y(et(this,4,e,arguments.length>1&&arguments[1]),23)},getFloat64:function(e){return Y(et(this,8,e,arguments.length>1&&arguments[1]),52)},setInt8:function(e,t){er(this,1,e,Q,t)},setUint8:function(e,t){er(this,1,e,Q,t)},setInt16:function(e,t){er(this,2,e,H,t,arguments.length>2&&arguments[2])},setUint16:function(e,t){er(this,2,e,H,t,arguments.length>2&&arguments[2])},setInt32:function(e,t){er(this,4,e,G,t,arguments.length>2&&arguments[2])},setUint32:function(e,t){er(this,4,e,G,t,arguments.length>2&&arguments[2])},setFloat32:function(e,t){er(this,4,e,X,t,arguments.length>2&&arguments[2])},setFloat64:function(e,t){er(this,8,e,Z,t,arguments.length>2&&arguments[2])}});P(U,R),P(N,I),e.exports={ArrayBuffer:U,DataView:N}},65083(e,t,r){var n=r(72095),i=r(3108),a=r(92956);e.exports=function(e){for(var t=n(this),r=a(t),o=arguments.length,s=i(o>1?arguments[1]:void 0,r),l=o>2?arguments[2]:void 0,u=void 0===l?r:i(l,r);u>s;)t[s++]=e;return t}},11372(e,t,r){var n=r(92956);e.exports=function(e,t,r){for(var i=0,a=arguments.length>2?r:n(t),o=new e(a);a>i;)o[i]=t[i++];return o}},77930(e,t,r){var n=r(92254),i=r(33179),a=r(72095),o=r(75017),s=r(64623),l=r(59811),u=r(92956),c=r(84634),f=r(56563),d=r(18301),h=Array;e.exports=function(e){var t,r,p,g,y,m,b=a(e),w=l(this),S=arguments.length,k=S>1?arguments[1]:void 0,E=void 0!==k;E&&(k=n(k,S>2?arguments[2]:void 0));var _=d(b),P=0;if(_&&!(this===h&&s(_)))for(r=w?new this:[],y=(g=f(b,_)).next;!(p=i(y,g)).done;P++)m=E?o(g,k,[p.value,P],!0):p.value,c(r,P,m);else for(t=u(b),r=w?new this(t):h(t);t>P;P++)m=E?k(b[P],P):b[P],c(r,P,m);return r.length=P,r}},25383(e,t,r){var n=r(41555),i=r(3108),a=r(92956),o=function(e){return function(t,r,o){var s,l=n(t),u=a(l);if(0===u)return!e&&-1;var c=i(o,u);if(e&&r!=r){for(;u>c;)if((s=l[c++])!=s)return!0}else for(;u>c;c++)if((e||c in l)&&l[c]===r)return e||c||0;return!e&&-1}};e.exports={includes:o(!0),indexOf:o(!1)}},61857(e,t,r){var n=r(92254),i=r(14461),a=r(72095),o=r(92956),s=function(e){var t=1===e;return function(r,s,l){for(var u,c=a(r),f=i(c),d=o(f),h=n(s,l);d-- >0;)if(h(u=f[d],d,c))switch(e){case 0:return u;case 1:return d}return t?-1:void 0}};e.exports={findLast:s(0),findLastIndex:s(1)}},23831(e,t,r){var n=r(92254),i=r(52782),a=r(14461),o=r(72095),s=r(92956),l=r(971),u=i([].push),c=function(e){var t=1===e,r=2===e,i=3===e,c=4===e,f=6===e,d=7===e,h=5===e||f;return function(p,g,y,m){for(var b,w,S=o(p),k=a(S),E=s(k),_=n(g,y),P=0,x=m||l,C=t?x(p,E):r||d?x(p,0):void 0;E>P;P++)if((h||P in k)&&(w=_(b=k[P],P,S),e))if(t)C[P]=w;else if(w)switch(e){case 3:return!0;case 5:return b;case 6:return P;case 2:u(C,b)}else switch(e){case 4:return!1;case 7:u(C,b)}return f?-1:i||c?c:C}};e.exports={forEach:c(0),map:c(1),filter:c(2),some:c(3),every:c(4),find:c(5),findIndex:c(6),filterReject:c(7)}},32604(e,t,r){var n=r(59293);e.exports=function(e,t){var r=[][e];return!!r&&n(function(){r.call(null,t||function(){return 1},1)})}},40184(e,t,r){var n=r(70860),i=r(72095),a=r(14461),o=r(92956),s=TypeError,l="Reduce of empty array with no initial value",u=function(e){return function(t,r,u,c){var f=i(t),d=a(f),h=o(f);if(n(r),0===h&&u<2)throw new s(l);var p=e?h-1:0,g=e?-1:1;if(u<2)for(;;){if(p in d){c=d[p],p+=g;break}if(p+=g,e?p<0:h<=p)throw new s(l)}for(;e?p>=0:h>p;p+=g)p in d&&(c=r(c,d[p],p,f));return c}};e.exports={left:u(!1),right:u(!0)}},27021(e,t,r){var n=r(19058),i=r(57958),a=TypeError,o=Object.getOwnPropertyDescriptor;e.exports=n&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(e){return e instanceof TypeError}}()?function(e,t){if(i(e)&&!o(e,"length").writable)throw new a("Cannot set read only .length");return e.length=t}:function(e,t){return e.length=t}},34766(e,t,r){e.exports=r(52782)([].slice)},31534(e,t,r){var n=r(34766),i=Math.floor,a=function(e,t){var r=e.length;if(r<8)for(var o,s,l=1;l<r;){for(s=l,o=e[l];s&&t(e[s-1],o)>0;)e[s]=e[--s];s!==l++&&(e[s]=o)}else for(var u=i(r/2),c=a(n(e,0,u),t),f=a(n(e,u),t),d=c.length,h=f.length,p=0,g=0;p<d||g<h;)e[p+g]=p<d&&g<h?0>=t(c[p],f[g])?c[p++]:f[g++]:p<d?c[p++]:f[g++];return e};e.exports=a},45051(e,t,r){var n=r(57958),i=r(59811),a=r(48188),o=r(75869)("species"),s=Array;e.exports=function(e){var t;return n(e)&&(i(t=e.constructor)&&(t===s||n(t.prototype))?t=void 0:a(t)&&null===(t=t[o])&&(t=void 0)),void 0===t?s:t}},971(e,t,r){var n=r(45051);e.exports=function(e,t){return new(n(e))(0===t?0:t)}},4062(e,t,r){var n=r(92956);e.exports=function(e,t){for(var r=n(e),i=new t(r),a=0;a<r;a++)i[a]=e[r-a-1];return i}},49718(e,t,r){var n=r(92956),i=r(65825),a=RangeError;e.exports=function(e,t,r,o){var s=n(e),l=i(r),u=l<0?s+l:l;if(u>=s||u<0)throw new a("Incorrect index");for(var c=new t(s),f=0;f<s;f++)c[f]=f===u?o:e[f];return c}},75017(e,t,r){var n=r(46177),i=r(55053);e.exports=function(e,t,r,a){try{return a?t(n(r)[0],r[1]):t(r)}catch(t){i(e,"throw",t)}}},30366(e,t,r){var n=r(75869)("iterator"),i=!1;try{var a=0,o={next:function(){return{done:!!a++}},return:function(){i=!0}};o[n]=function(){return this},Array.from(o,function(){throw 2})}catch(e){}e.exports=function(e,t){try{if(!t&&!i)return!1}catch(e){return!1}var r=!1;try{var a={};a[n]=function(){return{next:function(){return{done:r=!0}}}},e(a)}catch(e){}return r}},74026(e,t,r){var n=r(52782),i=n({}.toString),a=n("".slice);e.exports=function(e){return a(i(e),8,-1)}},73485(e,t,r){var n=r(23886),i=r(68039),a=r(74026),o=r(75869)("toStringTag"),s=Object,l="Arguments"===a(function(){return arguments}()),u=function(e,t){try{return e[t]}catch(e){}};e.exports=n?a:function(e){var t,r,n;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(r=u(t=s(e),o))?r:l?a(t):"Object"===(n=a(t))&&i(t.callee)?"Arguments":n}},18770(e,t,r){var n=r(76151),i=r(73517),a=r(43069),o=r(33919);e.exports=function(e,t,r){for(var s=i(t),l=o.f,u=a.f,c=0;c<s.length;c++){var f=s[c];n(e,f)||r&&n(r,f)||l(e,f,u(t,f))}}},1109(e,t,r){e.exports=!r(59293)(function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype})},46827(e){e.exports=function(e,t){return{value:e,done:t}}},80081(e,t,r){var n=r(19058),i=r(33919),a=r(56582);e.exports=n?function(e,t,r){return i.f(e,t,a(1,r))}:function(e,t,r){return e[t]=r,e}},56582(e){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},84634(e,t,r){var n=r(19058),i=r(33919),a=r(56582);e.exports=function(e,t,r){n?i.f(e,t,a(0,r)):e[t]=r}},7108(e,t,r){var n=r(72461),i=r(33919);e.exports=function(e,t,r){return r.get&&n(r.get,t,{getter:!0}),r.set&&n(r.set,t,{setter:!0}),i.f(e,t,r)}},59430(e,t,r){var n=r(68039),i=r(33919),a=r(72461),o=r(75963);e.exports=function(e,t,r,s){s||(s={});var l=s.enumerable,u=void 0!==s.name?s.name:t;if(n(r)&&a(r,u,s),s.global)l?e[t]=r:o(t,r);else{try{s.unsafe?e[t]&&(l=!0):delete e[t]}catch(e){}l?e[t]=r:i.f(e,t,{value:r,enumerable:!1,configurable:!s.nonConfigurable,writable:!s.nonWritable})}return e}},27597(e,t,r){var n=r(59430);e.exports=function(e,t,r){for(var i in t)n(e,i,t[i],r);return e}},75963(e,t,r){var n=r(6974),i=Object.defineProperty;e.exports=function(e,t){try{i(n,e,{value:t,configurable:!0,writable:!0})}catch(r){n[e]=t}return t}},19058(e,t,r){e.exports=!r(59293)(function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]})},47541(e,t,r){var n,i,a,o,s=r(6974),l=r(55423),u=r(75698),c=s.structuredClone,f=s.ArrayBuffer,d=s.MessageChannel,h=!1;if(u)h=function(e){c(e,{transfer:[e]})};else if(f)try{!d&&(n=l("worker_threads"))&&(d=n.MessageChannel),d&&(i=new d,a=new f(2),o=function(e){i.port1.postMessage(null,[e])},2===a.byteLength&&(o(a),0===a.byteLength&&(h=o)))}catch(e){}e.exports=h},95637(e,t,r){var n=r(6974),i=r(48188),a=n.document,o=i(a)&&i(a.createElement);e.exports=function(e){return o?a.createElement(e):{}}},61959(e){var t=TypeError;e.exports=function(e){if(e>0x1fffffffffffff)throw t("Maximum allowed index exceeded");return e}},94864(e){e.exports={IndexSizeError:{s:"INDEX_SIZE_ERR",c:1,m:1},DOMStringSizeError:{s:"DOMSTRING_SIZE_ERR",c:2,m:0},HierarchyRequestError:{s:"HIERARCHY_REQUEST_ERR",c:3,m:1},WrongDocumentError:{s:"WRONG_DOCUMENT_ERR",c:4,m:1},InvalidCharacterError:{s:"INVALID_CHARACTER_ERR",c:5,m:1},NoDataAllowedError:{s:"NO_DATA_ALLOWED_ERR",c:6,m:0},NoModificationAllowedError:{s:"NO_MODIFICATION_ALLOWED_ERR",c:7,m:1},NotFoundError:{s:"NOT_FOUND_ERR",c:8,m:1},NotSupportedError:{s:"NOT_SUPPORTED_ERR",c:9,m:1},InUseAttributeError:{s:"INUSE_ATTRIBUTE_ERR",c:10,m:1},InvalidStateError:{s:"INVALID_STATE_ERR",c:11,m:1},SyntaxError:{s:"SYNTAX_ERR",c:12,m:1},InvalidModificationError:{s:"INVALID_MODIFICATION_ERR",c:13,m:1},NamespaceError:{s:"NAMESPACE_ERR",c:14,m:1},InvalidAccessError:{s:"INVALID_ACCESS_ERR",c:15,m:1},ValidationError:{s:"VALIDATION_ERR",c:16,m:0},TypeMismatchError:{s:"TYPE_MISMATCH_ERR",c:17,m:1},SecurityError:{s:"SECURITY_ERR",c:18,m:1},NetworkError:{s:"NETWORK_ERR",c:19,m:1},AbortError:{s:"ABORT_ERR",c:20,m:1},URLMismatchError:{s:"URL_MISMATCH_ERR",c:21,m:1},QuotaExceededError:{s:"QUOTA_EXCEEDED_ERR",c:22,m:1},TimeoutError:{s:"TIMEOUT_ERR",c:23,m:1},InvalidNodeTypeError:{s:"INVALID_NODE_TYPE_ERR",c:24,m:1},DataCloneError:{s:"DATA_CLONE_ERR",c:25,m:1}}},71806(e){e.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},84098(e,t,r){var n=r(95637)("span").classList,i=n&&n.constructor&&n.constructor.prototype;e.exports=i===Object.prototype?void 0:i},65985(e){e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},21203(e,t,r){var n=r(34857).match(/firefox\/(\d+)/i);e.exports=!!n&&+n[1]},13777(e,t,r){var n=r(34857);e.exports=/MSIE|Trident/.test(n)},65587(e,t,r){var n=r(34857);e.exports=/ipad|iphone|ipod/i.test(n)&&"u">typeof Pebble},77502(e,t,r){var n=r(34857);e.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(n)},15523(e,t,r){e.exports="NODE"===r(70229)},68338(e,t,r){var n=r(34857);e.exports=/web0s(?!.*chrome)/i.test(n)},34857(e,t,r){var n=r(6974).navigator,i=n&&n.userAgent;e.exports=i?String(i):""},76153(e,t,r){var n,i,a=r(6974),o=r(34857),s=a.process,l=a.Deno,u=s&&s.versions||l&&l.version,c=u&&u.v8;c&&(i=(n=c.split("."))[0]>0&&n[0]<4?1:+(n[0]+n[1])),!i&&o&&(!(n=o.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=o.match(/Chrome\/(\d+)/))&&(i=+n[1]),e.exports=i},62729(e,t,r){var n=r(34857).match(/AppleWebKit\/(\d+)\./);e.exports=!!n&&+n[1]},70229(e,t,r){var n=r(6974),i=r(34857),a=r(74026),o=function(e){return i.slice(0,e.length)===e};e.exports=o("Bun/")?"BUN":o("Cloudflare-Workers")?"CLOUDFLARE":o("Deno/")?"DENO":o("Node.js/")?"NODE":n.Bun&&"string"==typeof Bun.version?"BUN":n.Deno&&"object"==typeof Deno.version?"DENO":"process"===a(n.process)?"NODE":n.window&&n.document?"BROWSER":"REST"},50747(e,t,r){var n=r(52782),i=Error,a=n("".replace),o=String(new i("zxcasd").stack),s=/\n\s*at [^:]*:[^\n]*/,l=s.test(o);e.exports=function(e,t){if(l&&"string"==typeof e&&!i.prepareStackTrace)for(;t--;)e=a(e,s,"");return e}},87245(e,t,r){var n=r(80081),i=r(50747),a=r(96041),o=Error.captureStackTrace;e.exports=function(e,t,r,s){a&&(o?o(e,t):n(e,"stack",i(r,s)))}},96041(e,t,r){var n=r(59293),i=r(56582);e.exports=!n(function(){var e=Error("a");return!("stack"in e)||(Object.defineProperty(e,"stack",i(1,7)),7!==e.stack)})},64808(e,t,r){var n=r(6974),i=r(43069).f,a=r(80081),o=r(59430),s=r(75963),l=r(18770),u=r(76518);e.exports=function(e,t){var r,c,f,d,h,p=e.target,g=e.global,y=e.stat;if(r=g?n:y?n[p]||s(p,{}):n[p]&&n[p].prototype)for(c in t){if(d=t[c],f=e.dontCallGetSet?(h=i(r,c))&&h.value:r[c],!u(g?c:p+(y?".":"#")+c,e.forced)&&void 0!==f){if(typeof d==typeof f)continue;l(d,f)}(e.sham||f&&f.sham)&&a(d,"sham",!0),o(r,c,d,e)}}},59293(e){e.exports=function(e){try{return!!e()}catch(e){return!0}}},41298(e,t,r){r(85281);var n=r(33179),i=r(59430),a=r(66565),o=r(59293),s=r(75869),l=r(80081),u=s("species"),c=RegExp.prototype;e.exports=function(e,t,r,f){var d=s(e),h=!o(function(){var t={};return t[d]=function(){return 7},7!==""[e](t)}),p=h&&!o(function(){var t=!1,r=/a/;if("split"===e){var n={};n[u]=function(){return r},(r={constructor:n,flags:""})[d]=/./[d]}return r.exec=function(){return t=!0,null},r[d](""),!t});if(!h||!p||r){var g=/./[d],y=t(d,""[e],function(e,t,r,i,o){var s=t.exec;return s===a||s===c.exec?h&&!o?{done:!0,value:n(g,t,r,i)}:{done:!0,value:n(e,r,t,i)}:{done:!1}});i(String.prototype,e,y[0]),i(c,d,y[1])}f&&l(c[d],"sham",!0)}},16263(e,t,r){var n=r(27470),i=Function.prototype,a=i.apply,o=i.call;e.exports="object"==typeof Reflect&&Reflect.apply||(n?o.bind(a):function(){return o.apply(a,arguments)})},92254(e,t,r){var n=r(3350),i=r(70860),a=r(27470),o=n(n.bind);e.exports=function(e,t){return i(e),void 0===t?e:a?o(e,t):function(){return e.apply(t,arguments)}}},27470(e,t,r){e.exports=!r(59293)(function(){var e=(function(){}).bind();return"function"!=typeof e||e.hasOwnProperty("prototype")})},33179(e,t,r){var n=r(27470),i=Function.prototype.call;e.exports=n?i.bind(i):function(){return i.apply(i,arguments)}},6916(e,t,r){var n=r(19058),i=r(76151),a=Function.prototype,o=n&&Object.getOwnPropertyDescriptor,s=i(a,"name"),l=s&&(!n||n&&o(a,"name").configurable);e.exports={EXISTS:s,PROPER:s&&"something"===(function(){}).name,CONFIGURABLE:l}},76572(e,t,r){var n=r(52782),i=r(70860);e.exports=function(e,t,r){try{return n(i(Object.getOwnPropertyDescriptor(e,t)[r]))}catch(e){}}},3350(e,t,r){var n=r(74026),i=r(52782);e.exports=function(e){if("Function"===n(e))return i(e)}},52782(e,t,r){var n=r(27470),i=Function.prototype,a=i.call,o=n&&i.bind.bind(a,a);e.exports=n?o:function(e){return function(){return a.apply(e,arguments)}}},55423(e,t,r){var n=r(6974),i=r(15523);e.exports=function(e){if(i){try{return n.process.getBuiltinModule(e)}catch(e){}try{return Function('return require("'+e+'")')()}catch(e){}}}},72485(e,t,r){var n=r(6974),i=r(68039);e.exports=function(e,t){var r;return arguments.length<2?i(r=n[e])?r:void 0:n[e]&&n[e][t]}},86845(e){e.exports=function(e){return{iterator:e,next:e.next,done:!1}}},18301(e,t,r){var n=r(73485),i=r(25112),a=r(3563),o=r(49227),s=r(75869)("iterator");e.exports=function(e){if(!a(e))return i(e,s)||i(e,"@@iterator")||o[n(e)]}},56563(e,t,r){var n=r(33179),i=r(70860),a=r(46177),o=r(25229),s=r(18301),l=TypeError;e.exports=function(e,t){var r=arguments.length<2?s(e):t;if(i(r))return a(n(r,e));throw new l(o(e)+" is not iterable")}},25112(e,t,r){var n=r(70860),i=r(3563);e.exports=function(e,t){var r=e[t];return i(r)?void 0:n(r)}},65447(e,t,r){var n=r(70860),i=r(46177),a=r(33179),o=r(65825),s=r(86845),l="Invalid size",u=RangeError,c=TypeError,f=Math.max,d=function(e,t){this.set=e,this.size=f(t,0),this.has=n(e.has),this.keys=n(e.keys)};d.prototype={getIterator:function(){return s(i(a(this.keys,this.set)))},includes:function(e){return a(this.has,this.set,e)}},e.exports=function(e){i(e);var t=+e.size;if(t!=t)throw new c(l);var r=o(t);if(r<0)throw new u(l);return new d(e,r)}},67256(e,t,r){var n=r(52782),i=r(72095),a=Math.floor,o=n("".charAt),s=n("".replace),l=n("".slice),u=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,c=/\$([$&'`]|\d{1,2})/g;e.exports=function(e,t,r,n,f,d){var h=r+e.length,p=n.length,g=c;return void 0!==f&&(f=i(f),g=u),s(d,g,function(i,s){var u;switch(o(s,0)){case"$":return"$";case"&":return e;case"`":return l(t,0,r);case"'":return l(t,h);case"<":u=f[l(s,1,-1)];break;default:var c=+s;if(0===c)return i;if(c>p){var d=a(c/10);if(0===d)return i;if(d<=p)return void 0===n[d-1]?o(s,1):n[d-1]+o(s,1);return i}u=n[c-1]}return void 0===u?"":u})}},6974(e,t,r){var n=function(e){return e&&e.Math===Math&&e};e.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof r.g&&r.g)||n("object"==typeof this&&this)||function(){return this}()||Function("return this")()},76151(e,t,r){var n=r(52782),i=r(72095),a=n({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return a(i(e),t)}},30903(e){e.exports={}},69823(e){e.exports=function(e,t){try{1==arguments.length?console.error(e):console.error(e,t)}catch(e){}}},39247(e,t,r){e.exports=r(72485)("document","documentElement")},60299(e,t,r){var n=r(19058),i=r(59293),a=r(95637);e.exports=!n&&!i(function(){return 7!==Object.defineProperty(a("div"),"a",{get:function(){return 7}}).a})},8484(e){var t=Array,r=Math.abs,n=Math.pow,i=Math.floor,a=Math.log,o=Math.LN2;e.exports={pack:function(e,s,l){var u,c,f,d=t(l),h=8*l-s-1,p=(1<<h)-1,g=p>>1,y=23===s?n(2,-24)-n(2,-77):0,m=+(e<0||0===e&&1/e<0),b=0;for((e=r(e))!=e||e===1/0?(c=+(e!=e),u=p):(f=n(2,-(u=i(a(e)/o))),e*f<1&&(u--,f*=2),u+g>=1?e+=y/f:e+=y*n(2,1-g),e*f>=2&&(u++,f/=2),u+g>=p?(c=0,u=p):u+g>=1?(c=(e*f-1)*n(2,s),u+=g):(c=e*n(2,g-1)*n(2,s),u=0));s>=8;)d[b++]=255&c,c/=256,s-=8;for(u=u<<s|c,h+=s;h>0;)d[b++]=255&u,u/=256,h-=8;return d[b-1]|=128*m,d},unpack:function(e,t){var r,i=e.length,a=8*i-t-1,o=(1<<a)-1,s=o>>1,l=a-7,u=i-1,c=e[u--],f=127&c;for(c>>=7;l>0;)f=256*f+e[u--],l-=8;for(r=f&(1<<-l)-1,f>>=-l,l+=t;l>0;)r=256*r+e[u--],l-=8;if(0===f)f=1-s;else{if(f===o)return r?NaN:c?-1/0:1/0;r+=n(2,t),f-=s}return(c?-1:1)*r*n(2,f-t)}}},14461(e,t,r){var n=r(52782),i=r(59293),a=r(74026),o=Object,s=n("".split);e.exports=i(function(){return!o("z").propertyIsEnumerable(0)})?function(e){return"String"===a(e)?s(e,""):o(e)}:o},3153(e,t,r){var n=r(68039),i=r(48188),a=r(87261);e.exports=function(e,t,r){var o,s;return a&&n(o=t.constructor)&&o!==r&&i(s=o.prototype)&&s!==r.prototype&&a(e,s),e}},49576(e,t,r){var n=r(52782),i=r(68039),a=r(66851),o=n(Function.toString);i(a.inspectSource)||(a.inspectSource=function(e){return o(e)}),e.exports=a.inspectSource},35910(e,t,r){var n=r(48188),i=r(80081);e.exports=function(e,t){n(t)&&"cause"in t&&i(e,"cause",t.cause)}},66935(e,t,r){var n,i,a,o=r(24232),s=r(6974),l=r(48188),u=r(80081),c=r(76151),f=r(66851),d=r(16845),h=r(30903),p="Object already initialized",g=s.TypeError,y=s.WeakMap;if(o||f.state){var m=f.state||(f.state=new y);m.get=m.get,m.has=m.has,m.set=m.set,n=function(e,t){if(m.has(e))throw new g(p);return t.facade=e,m.set(e,t),t},i=function(e){return m.get(e)||{}},a=function(e){return m.has(e)}}else{var b=d("state");h[b]=!0,n=function(e,t){if(c(e,b))throw new g(p);return t.facade=e,u(e,b,t),t},i=function(e){return c(e,b)?e[b]:{}},a=function(e){return c(e,b)}}e.exports={set:n,get:i,has:a,enforce:function(e){return a(e)?i(e):n(e,{})},getterFor:function(e){return function(t){var r;if(!l(t)||(r=i(t)).type!==e)throw new g("Incompatible receiver, "+e+" required");return r}}}},64623(e,t,r){var n=r(75869),i=r(49227),a=n("iterator"),o=Array.prototype;e.exports=function(e){return void 0!==e&&(i.Array===e||o[a]===e)}},57958(e,t,r){var n=r(74026);e.exports=Array.isArray||function(e){return"Array"===n(e)}},63633(e,t,r){var n=r(73485);e.exports=function(e){var t=n(e);return"BigInt64Array"===t||"BigUint64Array"===t}},68039(e){var t="object"==typeof document&&document.all;e.exports=void 0===t&&void 0!==t?function(e){return"function"==typeof e||e===t}:function(e){return"function"==typeof e}},59811(e,t,r){var n=r(52782),i=r(59293),a=r(68039),o=r(73485),s=r(72485),l=r(49576),u=function(){},c=s("Reflect","construct"),f=/^\s*(?:class|function)\b/,d=n(f.exec),h=!f.test(u),p=function(e){if(!a(e))return!1;try{return c(u,[],e),!0}catch(e){return!1}},g=function(e){if(!a(e))return!1;switch(o(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return h||!!d(f,l(e))}catch(e){return!0}};g.sham=!0,e.exports=!c||i(function(){var e;return p(p.call)||!p(Object)||!p(function(){e=!0})||e})?g:p},76518(e,t,r){var n=r(59293),i=r(68039),a=/#|\.prototype\./,o=function(e,t){var r=l[s(e)];return r===c||r!==u&&(i(t)?n(t):!!t)},s=o.normalize=function(e){return String(e).replace(a,".").toLowerCase()},l=o.data={},u=o.NATIVE="N",c=o.POLYFILL="P";e.exports=o},1037(e,t,r){var n=r(48188),i=Math.floor;e.exports=Number.isInteger||function(e){return!n(e)&&isFinite(e)&&i(e)===e}},3563(e){e.exports=function(e){return null==e}},48188(e,t,r){var n=r(68039);e.exports=function(e){return"object"==typeof e?null!==e:n(e)}},30643(e,t,r){var n=r(48188);e.exports=function(e){return n(e)||null===e}},81201(e){e.exports=!1},97494(e,t,r){var n=r(48188),i=r(74026),a=r(75869)("match");e.exports=function(e){var t;return n(e)&&(void 0!==(t=e[a])?!!t:"RegExp"===i(e))}},12131(e,t,r){var n=r(72485),i=r(68039),a=r(66227),o=r(95058),s=Object;e.exports=o?function(e){return"symbol"==typeof e}:function(e){var t=n("Symbol");return i(t)&&a(t.prototype,s(e))}},81885(e,t,r){var n=r(33179);e.exports=function(e,t,r){for(var i,a,o=r?e:e.iterator,s=e.next;!(i=n(s,o)).done;)if(void 0!==(a=t(i.value)))return a}},82150(e,t,r){var n=r(92254),i=r(33179),a=r(46177),o=r(25229),s=r(64623),l=r(92956),u=r(66227),c=r(56563),f=r(18301),d=r(55053),h=TypeError,p=function(e,t){this.stopped=e,this.result=t},g=p.prototype;e.exports=function(e,t,r){var y,m,b,w,S,k,E,_=r&&r.that,P=!!(r&&r.AS_ENTRIES),x=!!(r&&r.IS_RECORD),C=!!(r&&r.IS_ITERATOR),O=!!(r&&r.INTERRUPTED),R=n(t,_),I=function(e){return y&&d(y,"normal"),new p(!0,e)},A=function(e){return P?(a(e),O?R(e[0],e[1],I):R(e[0],e[1])):O?R(e,I):R(e)};if(x)y=e.iterator;else if(C)y=e;else{if(!(m=f(e)))throw new h(o(e)+" is not iterable");if(s(m)){for(b=0,w=l(e);w>b;b++)if((S=A(e[b]))&&u(g,S))return S;return new p(!1)}y=c(e,m)}for(k=x?e.next:y.next;!(E=i(k,y)).done;){try{S=A(E.value)}catch(e){d(y,"throw",e)}if("object"==typeof S&&S&&u(g,S))return S}return new p(!1)}},83795(e,t,r){var n=r(55053);e.exports=function(e,t,r){for(var i=e.length-1;i>=0;i--)if(void 0!==e[i])try{r=n(e[i].iterator,t,r)}catch(e){t="throw",r=e}if("throw"===t)throw r;return r}},55053(e,t,r){var n=r(33179),i=r(46177),a=r(25112);e.exports=function(e,t,r){var o,s;i(e);try{if(!(o=a(e,"return"))){if("throw"===t)throw r;return r}o=n(o,e)}catch(e){s=!0,o=e}if("throw"===t)throw r;if(s)throw o;return i(o),r}},40652(e,t,r){var n=r(66479).IteratorPrototype,i=r(12326),a=r(56582),o=r(32377),s=r(49227),l=function(){return this};e.exports=function(e,t,r,u){var c=t+" Iterator";return e.prototype=i(n,{next:a(+!u,r)}),o(e,c,!1,!0),s[c]=l,e}},21352(e,t,r){var n=r(33179),i=r(12326),a=r(80081),o=r(27597),s=r(75869),l=r(66935),u=r(25112),c=r(66479).IteratorPrototype,f=r(46827),d=r(55053),h=r(83795),p=s("toStringTag"),g="IteratorHelper",y="WrapForValidIterator",m="normal",b="throw",w=l.set,S=function(e){var t=l.getterFor(e?y:g);return o(i(c),{next:function(){var r=t(this);if(e)return r.nextHandler();if(r.done)return f(void 0,!0);try{var n=r.nextHandler();return r.returnHandlerResult?n:f(n,r.done)}catch(e){throw r.done=!0,e}},return:function(){var r=t(this),i=r.iterator;if(r.done=!0,e){var a=u(i,"return");return a?n(a,i):f(void 0,!0)}if(r.inner)try{d(r.inner.iterator,m)}catch(e){return d(i,b,e)}if(r.openIters)try{h(r.openIters,m)}catch(e){return d(i,b,e)}return i&&d(i,m),f(void 0,!0)}})},k=S(!0),E=S(!1);a(E,p,"Iterator Helper"),e.exports=function(e,t,r){var n=function(n,i){i?(i.iterator=n.iterator,i.next=n.next):i=n,i.type=t?y:g,i.returnHandlerResult=!!r,i.nextHandler=e,i.counter=0,i.done=!1,w(this,i)};return n.prototype=t?k:E,n}},52274(e,t,r){var n=r(64808),i=r(33179),a=r(81201),o=r(6916),s=r(68039),l=r(40652),u=r(69681),c=r(87261),f=r(32377),d=r(80081),h=r(59430),p=r(75869),g=r(49227),y=r(66479),m=o.PROPER,b=o.CONFIGURABLE,w=y.IteratorPrototype,S=y.BUGGY_SAFARI_ITERATORS,k=p("iterator"),E="keys",_="values",P="entries",x=function(){return this};e.exports=function(e,t,r,o,p,y,C){l(r,t,o);var O,R,I,A=function(e){if(e===p&&L)return L;if(!S&&e&&e in z)return z[e];switch(e){case E:case _:case P:return function(){return new r(this,e)}}return function(){return new r(this)}},T=t+" Iterator",M=!1,z=e.prototype,D=z[k]||z["@@iterator"]||p&&z[p],L=!S&&D||A(p),U="Array"===t&&z.entries||D;if(U&&(O=u(U.call(new e)))!==Object.prototype&&O.next&&(!a&&u(O)!==w&&(c?c(O,w):s(O[k])||h(O,k,x)),f(O,T,!0,!0),a&&(g[T]=x)),m&&p===_&&D&&D.name!==_&&(!a&&b?d(z,"name",_):(M=!0,L=function(){return i(D,this)})),p)if(R={values:A(_),keys:y?L:A(E),entries:A(P)},C)for(I in R)!S&&!M&&I in z||h(z,I,R[I]);else n({target:t,proto:!0,forced:S||M},R);return(!a||C)&&z[k]!==L&&h(z,k,L,{name:p}),g[t]=L,R}},65682(e){e.exports=function(e,t){var r="function"==typeof Iterator&&Iterator.prototype[e];if(r)try{r.call({next:null},t).next()}catch(e){return!0}}},6655(e,t,r){var n=r(6974);e.exports=function(e,t){var r=n.Iterator,i=r&&r.prototype,a=i&&i[e],o=!1;if(a)try{a.call({next:function(){return{done:!0}},return:function(){o=!0}},-1)}catch(e){e instanceof t||(o=!1)}if(!o)return a}},66479(e,t,r){var n,i,a,o=r(59293),s=r(68039),l=r(48188),u=r(12326),c=r(69681),f=r(59430),d=r(75869),h=r(81201),p=d("iterator"),g=!1;[].keys&&("next"in(a=[].keys())?(i=c(c(a)))!==Object.prototype&&(n=i):g=!0),!l(n)||o(function(){var e={};return n[p].call(e)!==e})?n={}:h&&(n=u(n)),s(n[p])||f(n,p,function(){return this}),e.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:g}},49227(e){e.exports={}},92956(e,t,r){var n=r(57864);e.exports=function(e){return n(e.length)}},72461(e,t,r){var n=r(52782),i=r(59293),a=r(68039),o=r(76151),s=r(19058),l=r(6916).CONFIGURABLE,u=r(49576),c=r(66935),f=c.enforce,d=c.get,h=String,p=Object.defineProperty,g=n("".slice),y=n("".replace),m=n([].join),b=s&&!i(function(){return 8!==p(function(){},"length",{value:8}).length}),w=String(String).split("String"),S=e.exports=function(e,t,r){"Symbol("===g(h(t),0,7)&&(t="["+y(h(t),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),r&&r.getter&&(t="get "+t),r&&r.setter&&(t="set "+t),(!o(e,"name")||l&&e.name!==t)&&(s?p(e,"name",{value:t,configurable:!0}):e.name=t),b&&r&&o(r,"arity")&&e.length!==r.arity&&p(e,"length",{value:r.arity});try{r&&o(r,"constructor")&&r.constructor?s&&p(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(e){}var n=f(e);return o(n,"source")||(n.source=m(w,"string"==typeof t?t:"")),e};Function.prototype.toString=S(function(){return a(this)&&d(this).source||u(this)},"toString")},75834(e,t,r){var n=r(61632),i=r(54356),a=Math.abs;e.exports=function(e,t,r,o){var s=+e,l=a(s),u=n(s);if(l<o)return u*i(l/o/t)*o*t;var c=(1+t/2220446049250313e-31)*l,f=c-(c-l);return f>r||f!=f?1/0*u:u*f}},1863(e,t,r){var n=r(75834);e.exports=Math.fround||function(e){return n(e,11920928955078125e-23,34028234663852886e22,11754943508222875e-54)}},54356(e){e.exports=function(e){return e+0x10000000000000-0x10000000000000}},61632(e){e.exports=Math.sign||function(e){var t=+e;return 0===t||t!=t?t:t<0?-1:1}},83427(e){var t=Math.ceil,r=Math.floor;e.exports=Math.trunc||function(e){var n=+e;return(n>0?r:t)(n)}},62885(e,t,r){var n,i,a,o,s,l=r(6974),u=r(66255),c=r(92254),f=r(11523).set,d=r(28663),h=r(77502),p=r(65587),g=r(68338),y=r(15523),m=l.MutationObserver||l.WebKitMutationObserver,b=l.document,w=l.process,S=l.Promise,k=u("queueMicrotask");if(!k){var E=new d,_=function(){var e,t;for(y&&(e=w.domain)&&e.exit();t=E.get();)try{t()}catch(e){throw E.head&&n(),e}e&&e.enter()};h||y||g||!m||!b?!p&&S&&S.resolve?((o=S.resolve(void 0)).constructor=S,s=c(o.then,o),n=function(){s(_)}):y?n=function(){w.nextTick(_)}:(f=c(f,l),n=function(){f(_)}):(i=!0,a=b.createTextNode(""),new m(_).observe(a,{characterData:!0}),n=function(){a.data=i=!i}),k=function(e){E.head||n(),E.add(e)}}e.exports=k},63761(e,t,r){var n=r(70860),i=TypeError,a=function(e){var t,r;this.promise=new e(function(e,n){if(void 0!==t||void 0!==r)throw new i("Bad Promise constructor");t=e,r=n}),this.resolve=n(t),this.reject=n(r)};e.exports.f=function(e){return new a(e)}},14901(e,t,r){var n=r(13641);e.exports=function(e,t){return void 0===e?arguments.length<2?"":t:n(e)}},37187(e,t,r){var n=r(19058),i=r(52782),a=r(33179),o=r(59293),s=r(42262),l=r(34343),u=r(74639),c=r(72095),f=r(14461),d=Object.assign,h=Object.defineProperty,p=i([].concat);e.exports=!d||o(function(){if(n&&1!==d({b:1},d(h({},"a",{enumerable:!0,get:function(){h(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},r=Symbol("assign detection"),i="abcdefghijklmnopqrst";return e[r]=7,i.split("").forEach(function(e){t[e]=e}),7!==d({},e)[r]||s(d({},t)).join("")!==i})?function(e,t){for(var r=c(e),i=arguments.length,o=1,d=l.f,h=u.f;i>o;)for(var g,y=f(arguments[o++]),m=d?p(s(y),d(y)):s(y),b=m.length,w=0;b>w;)g=m[w++],(!n||a(h,y,g))&&(r[g]=y[g]);return r}:d},12326(e,t,r){var n,i=r(46177),a=r(23827),o=r(65985),s=r(30903),l=r(39247),u=r(95637),c=r(16845),f="prototype",d="script",h=c("IE_PROTO"),p=function(){},g=function(e){return"<"+d+">"+e+"</"+d+">"},y=function(e){e.write(g("")),e.close();var t=e.parentWindow.Object;return e=null,t},m=function(){var e,t=u("iframe");return t.style.display="none",l.appendChild(t),t.src=String("java"+d+":"),(e=t.contentWindow.document).open(),e.write(g("document.F=Object")),e.close(),e.F},b=function(){try{n=new ActiveXObject("htmlfile")}catch(e){}b="u">typeof document?document.domain&&n?y(n):m():y(n);for(var e=o.length;e--;)delete b[f][o[e]];return b()};s[h]=!0,e.exports=Object.create||function(e,t){var r;return null!==e?(p[f]=i(e),r=new p,p[f]=null,r[h]=e):r=b(),void 0===t?r:a.f(r,t)}},23827(e,t,r){var n=r(19058),i=r(18636),a=r(33919),o=r(46177),s=r(41555),l=r(42262);t.f=n&&!i?Object.defineProperties:function(e,t){o(e);for(var r,n=s(t),i=l(t),u=i.length,c=0;u>c;)a.f(e,r=i[c++],n[r]);return e}},33919(e,t,r){var n=r(19058),i=r(60299),a=r(18636),o=r(46177),s=r(11611),l=TypeError,u=Object.defineProperty,c=Object.getOwnPropertyDescriptor,f="enumerable",d="configurable",h="writable";t.f=n?a?function(e,t,r){if(o(e),t=s(t),o(r),"function"==typeof e&&"prototype"===t&&"value"in r&&h in r&&!r[h]){var n=c(e,t);n&&n[h]&&(e[t]=r.value,r={configurable:d in r?r[d]:n[d],enumerable:f in r?r[f]:n[f],writable:!1})}return u(e,t,r)}:u:function(e,t,r){if(o(e),t=s(t),o(r),i)try{return u(e,t,r)}catch(e){}if("get"in r||"set"in r)throw new l("Accessors not supported");return"value"in r&&(e[t]=r.value),e}},43069(e,t,r){var n=r(19058),i=r(33179),a=r(74639),o=r(56582),s=r(41555),l=r(11611),u=r(76151),c=r(60299),f=Object.getOwnPropertyDescriptor;t.f=n?f:function(e,t){if(e=s(e),t=l(t),c)try{return f(e,t)}catch(e){}if(u(e,t))return o(!i(a.f,e,t),e[t])}},62482(e,t,r){var n=r(6730),i=r(65985).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return n(e,i)}},34343(e,t){t.f=Object.getOwnPropertySymbols},69681(e,t,r){var n=r(76151),i=r(68039),a=r(72095),o=r(16845),s=r(1109),l=o("IE_PROTO"),u=Object,c=u.prototype;e.exports=s?u.getPrototypeOf:function(e){var t=a(e);if(n(t,l))return t[l];var r=t.constructor;return i(r)&&t instanceof r?r.prototype:t instanceof u?c:null}},66227(e,t,r){e.exports=r(52782)({}.isPrototypeOf)},6730(e,t,r){var n=r(52782),i=r(76151),a=r(41555),o=r(25383).indexOf,s=r(30903),l=n([].push);e.exports=function(e,t){var r,n=a(e),u=0,c=[];for(r in n)!i(s,r)&&i(n,r)&&l(c,r);for(;t.length>u;)i(n,r=t[u++])&&(~o(c,r)||l(c,r));return c}},42262(e,t,r){var n=r(6730),i=r(65985);e.exports=Object.keys||function(e){return n(e,i)}},74639(e,t){var r={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor;t.f=n&&!r.call({1:2},1)?function(e){var t=n(this,e);return!!t&&t.enumerable}:r},87261(e,t,r){var n=r(76572),i=r(48188),a=r(15804),o=r(30216);e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,r={};try{(e=n(Object.prototype,"__proto__","set"))(r,[]),t=r instanceof Array}catch(e){}return function(r,n){return a(r),o(n),i(r)&&(t?e(r,n):r.__proto__=n),r}}():void 0)},18424(e,t,r){var n=r(33179),i=r(68039),a=r(48188),o=TypeError;e.exports=function(e,t){var r,s;if("string"===t&&i(r=e.toString)&&!a(s=n(r,e))||i(r=e.valueOf)&&!a(s=n(r,e))||"string"!==t&&i(r=e.toString)&&!a(s=n(r,e)))return s;throw new o("Can't convert object to primitive value")}},73517(e,t,r){var n=r(72485),i=r(52782),a=r(62482),o=r(34343),s=r(46177),l=i([].concat);e.exports=n("Reflect","ownKeys")||function(e){var t=a.f(s(e)),r=o.f;return r?l(t,r(e)):t}},70977(e,t,r){e.exports=r(6974)},12181(e){e.exports=function(e){try{return{error:!1,value:e()}}catch(e){return{error:!0,value:e}}}},33586(e,t,r){var n=r(6974),i=r(15940),a=r(68039),o=r(76518),s=r(49576),l=r(75869),u=r(70229),c=r(81201),f=r(76153),d=i&&i.prototype,h=l("species"),p=!1,g=a(n.PromiseRejectionEvent);e.exports={CONSTRUCTOR:o("Promise",function(){var e=s(i),t=e!==String(i);if(!t&&66===f||c&&!(d.catch&&d.finally))return!0;if(!f||f<51||!/native code/.test(e)){var r=new i(function(e){e(1)}),n=function(e){e(function(){},function(){})};if((r.constructor={})[h]=n,!(p=r.then(function(){})instanceof n))return!0}return!t&&("BROWSER"===u||"DENO"===u)&&!g}),REJECTION_EVENT:g,SUBCLASSING:p}},15940(e,t,r){e.exports=r(6974).Promise},81864(e,t,r){var n=r(46177),i=r(48188),a=r(63761);e.exports=function(e,t){if(n(e),i(t)&&t.constructor===e)return t;var r=a.f(e);return(0,r.resolve)(t),r.promise}},87435(e,t,r){var n=r(15940),i=r(30366);e.exports=r(33586).CONSTRUCTOR||!i(function(e){n.all(e).then(void 0,function(){})})},64122(e,t,r){var n=r(33919).f;e.exports=function(e,t,r){r in e||n(e,r,{configurable:!0,get:function(){return t[r]},set:function(e){t[r]=e}})}},28663(e){var t=function(){this.head=null,this.tail=null};t.prototype={add:function(e){var t={item:e,next:null},r=this.tail;r?r.next=t:this.head=t,this.tail=t},get:function(){var e=this.head;if(e)return null===(this.head=e.next)&&(this.tail=null),e.item}},e.exports=t},24464(e,t,r){var n=r(33179),i=r(46177),a=r(68039),o=r(74026),s=r(66565),l=TypeError;e.exports=function(e,t){var r=e.exec;if(a(r)){var u=n(r,e,t);return null!==u&&i(u),u}if("RegExp"===o(e))return n(s,e,t);throw new l("RegExp#exec called on incompatible receiver")}},66565(e,t,r){var n,i,a=r(33179),o=r(52782),s=r(13641),l=r(62337),u=r(75383),c=r(55219),f=r(12326),d=r(66935).get,h=r(45369),p=r(63596),g=c("native-string-replace",String.prototype.replace),y=RegExp.prototype.exec,m=y,b=o("".charAt),w=o("".indexOf),S=o("".replace),k=o("".slice),E=(i=/b*/g,a(y,n=/a/,"a"),a(y,i,"a"),0!==n.lastIndex||0!==i.lastIndex),_=u.BROKEN_CARET,P=void 0!==/()??/.exec("")[1];(E||P||_||h||p)&&(m=function(e){var t,r,n,i,o,u,c,h=d(this),p=s(e),x=h.raw;if(x)return x.lastIndex=this.lastIndex,t=a(m,x,p),this.lastIndex=x.lastIndex,t;var C=h.groups,O=_&&this.sticky,R=a(l,this),I=this.source,A=0,T=p;if(O&&(-1===w(R=S(R,"y",""),"g")&&(R+="g"),T=k(p,this.lastIndex),this.lastIndex>0&&(!this.multiline||this.multiline&&"\n"!==b(p,this.lastIndex-1))&&(I="(?: "+I+")",T=" "+T,A++),r=RegExp("^(?:"+I+")",R)),P&&(r=RegExp("^"+I+"$(?!\\s)",R)),E&&(n=this.lastIndex),i=a(y,O?r:this,T),O?i?(i.input=k(i.input,A),i[0]=k(i[0],A),i.index=this.lastIndex,this.lastIndex+=i[0].length):this.lastIndex=0:E&&i&&(this.lastIndex=this.global?i.index+i[0].length:n),P&&i&&i.length>1&&a(g,i[0],r,function(){for(o=1;o<arguments.length-2;o++)void 0===arguments[o]&&(i[o]=void 0)}),i&&C)for(i.groups=u=f(null),o=0;o<C.length;o++)u[(c=C[o])[0]]=i[c[1]];return i}),e.exports=m},26823(e,t,r){var n=r(6974),i=r(59293),a=n.RegExp;e.exports={correct:!i(function(){var e=!0;try{a(".","d")}catch(t){e=!1}var t={},r="",n=e?"dgimsy":"gimsy",i=function(e,n){Object.defineProperty(t,e,{get:function(){return r+=n,!0}})},o={dotAll:"s",global:"g",ignoreCase:"i",multiline:"m",sticky:"y"};for(var s in e&&(o.hasIndices="d"),o)i(s,o[s]);return Object.getOwnPropertyDescriptor(a.prototype,"flags").get.call(t)!==n||r!==n})}},62337(e,t,r){var n=r(46177);e.exports=function(){var e=n(this),t="";return e.hasIndices&&(t+="d"),e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.unicodeSets&&(t+="v"),e.sticky&&(t+="y"),t}},41148(e,t,r){var n=r(33179),i=r(76151),a=r(66227),o=r(26823),s=r(62337),l=RegExp.prototype;e.exports=o.correct?function(e){return e.flags}:function(e){return!o.correct&&a(l,e)&&!i(e,"flags")?n(s,e):e.flags}},75383(e,t,r){var n=r(59293),i=r(6974).RegExp,a=n(function(){var e=i("a","y");return e.lastIndex=2,null!==e.exec("abcd")}),o=a||n(function(){return!i("a","y").sticky});e.exports={BROKEN_CARET:a||n(function(){var e=i("^r","gy");return e.lastIndex=2,null!==e.exec("str")}),MISSED_STICKY:o,UNSUPPORTED_Y:a}},45369(e,t,r){var n=r(59293),i=r(6974).RegExp;e.exports=n(function(){var e=i(".","s");return!(e.dotAll&&e.test("\n")&&"s"===e.flags)})},63596(e,t,r){var n=r(59293),i=r(6974).RegExp;e.exports=n(function(){var e=i("(?<a>b)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$<a>c")})},15804(e,t,r){var n=r(3563),i=TypeError;e.exports=function(e){if(n(e))throw new i("Can't call method on "+e);return e}},66255(e,t,r){var n=r(6974),i=r(19058),a=Object.getOwnPropertyDescriptor;e.exports=function(e){if(!i)return n[e];var t=a(n,e);return t&&t.value}},47988(e,t,r){var n=r(58260),i=r(25475),a=n.Set,o=n.add;e.exports=function(e){var t=new a;return i(e,function(e){o(t,e)}),t}},95474(e,t,r){var n=r(47234),i=r(58260),a=r(47988),o=r(41888),s=r(65447),l=r(25475),u=r(81885),c=i.has,f=i.remove;e.exports=function(e){var t=n(this),r=s(e),i=a(t);return o(t)<=r.size?l(t,function(e){r.includes(e)&&f(i,e)}):u(r.getIterator(),function(e){c(i,e)&&f(i,e)}),i}},58260(e,t,r){var n=r(52782),i=Set.prototype;e.exports={Set:Set,add:n(i.add),has:n(i.has),remove:n(i.delete),proto:i}},48396(e,t,r){var n=r(47234),i=r(58260),a=r(41888),o=r(65447),s=r(25475),l=r(81885),u=i.Set,c=i.add,f=i.has;e.exports=function(e){var t=n(this),r=o(e),i=new u;return a(t)>r.size?l(r.getIterator(),function(e){f(t,e)&&c(i,e)}):s(t,function(e){r.includes(e)&&c(i,e)}),i}},46839(e,t,r){var n=r(47234),i=r(58260).has,a=r(41888),o=r(65447),s=r(25475),l=r(81885),u=r(55053);e.exports=function(e){var t=n(this),r=o(e);if(a(t)<=r.size)return!1!==s(t,function(e){if(r.includes(e))return!1},!0);var c=r.getIterator();return!1!==l(c,function(e){if(i(t,e))return u(c,"normal",!1)})}},43388(e,t,r){var n=r(47234),i=r(41888),a=r(25475),o=r(65447);e.exports=function(e){var t=n(this),r=o(e);return!(i(t)>r.size)&&!1!==a(t,function(e){if(!r.includes(e))return!1},!0)}},53965(e,t,r){var n=r(47234),i=r(58260).has,a=r(41888),o=r(65447),s=r(81885),l=r(55053);e.exports=function(e){var t=n(this),r=o(e);if(a(t)<r.size)return!1;var u=r.getIterator();return!1!==s(u,function(e){if(!i(t,e))return l(u,"normal",!1)})}},25475(e,t,r){var n=r(52782),i=r(81885),a=r(58260),o=a.Set,s=a.proto,l=n(s.forEach),u=n(s.keys),c=u(new o).next;e.exports=function(e,t,r){return r?i({iterator:u(e),next:c},t):l(e,t)}},24206(e,t,r){var n=r(72485),i=function(e){return{size:e,has:function(){return!1},keys:function(){return{next:function(){return{done:!0}}}}}},a=function(e){return{size:e,has:function(){return!0},keys:function(){throw Error("e")}}};e.exports=function(e,t){var r=n("Set");try{new r()[e](i(0));try{return new r()[e](i(-1)),!1}catch(n){if(!t)return!0;try{return new r()[e](a(-1/0)),!1}catch(n){var o=new r([1,2]);return t(o[e](a(1/0)))}}}catch(e){return!1}}},29617(e){e.exports=function(e){try{var t=new Set,r=t[e]({size:0,has:function(){return!0},keys:function(){return Object.defineProperty({},"next",{get:function(){return t.clear(),t.add(4),function(){return{done:!0}}}})}});return 1===r.size&&4===r.values().next().value}catch(e){return!1}}},41888(e,t,r){e.exports=r(76572)(r(58260).proto,"size","get")||function(e){return e.size}},63263(e,t,r){var n=r(72485),i=r(7108),a=r(75869),o=r(19058),s=a("species");e.exports=function(e){var t=n(e);o&&t&&!t[s]&&i(t,s,{configurable:!0,get:function(){return this}})}},13264(e,t,r){var n=r(47234),i=r(58260),a=r(47988),o=r(65447),s=r(81885),l=i.add,u=i.has,c=i.remove;e.exports=function(e){var t=n(this),r=o(e).getIterator(),i=a(t);return s(r,function(e){u(t,e)?c(i,e):l(i,e)}),i}},32377(e,t,r){var n=r(33919).f,i=r(76151),a=r(75869)("toStringTag");e.exports=function(e,t,r){e&&!r&&(e=e.prototype),e&&!i(e,a)&&n(e,a,{configurable:!0,value:t})}},21898(e,t,r){var n=r(47234),i=r(58260).add,a=r(47988),o=r(65447),s=r(81885);e.exports=function(e){var t=n(this),r=o(e).getIterator(),l=a(t);return s(r,function(e){i(l,e)}),l}},16845(e,t,r){var n=r(55219),i=r(702),a=n("keys");e.exports=function(e){return a[e]||(a[e]=i(e))}},66851(e,t,r){var n=r(81201),i=r(6974),a=r(75963),o="__core-js_shared__",s=e.exports=i[o]||a(o,{});(s.versions||(s.versions=[])).push({version:"3.47.0",mode:n?"pure":"global",copyright:"\xa9 2014-2025 Denis Pushkarev (zloirock.ru), 2025 CoreJS Company (core-js.io)",license:"https://github.com/zloirock/core-js/blob/v3.47.0/LICENSE",source:"https://github.com/zloirock/core-js"})},55219(e,t,r){var n=r(66851);e.exports=function(e,t){return n[e]||(n[e]=t||{})}},92767(e,t,r){var n=r(46177),i=r(90114),a=r(3563),o=r(75869)("species");e.exports=function(e,t){var r,s=n(e).constructor;return void 0===s||a(r=n(s)[o])?t:i(r)}},68445(e,t,r){var n=r(52782),i=r(65825),a=r(13641),o=r(15804),s=n("".charAt),l=n("".charCodeAt),u=n("".slice),c=function(e){return function(t,r){var n,c,f=a(o(t)),d=i(r),h=f.length;return d<0||d>=h?e?"":void 0:(n=l(f,d))<55296||n>56319||d+1===h||(c=l(f,d+1))<56320||c>57343?e?s(f,d):n:e?u(f,d,d+2):(n-55296<<10)+(c-56320)+65536}};e.exports={codeAt:c(!1),charAt:c(!0)}},79855(e,t,r){var n=r(52782),i=/[^\0-\u007E]/,a=/[.\u3002\uFF0E\uFF61]/g,o="Overflow: input needs wider integers to process",s=RangeError,l=n(a.exec),u=Math.floor,c=String.fromCharCode,f=n("".charCodeAt),d=n([].join),h=n([].push),p=n("".replace),g=n("".split),y=n("".toLowerCase),m=function(e){for(var t=[],r=0,n=e.length;r<n;){var i=f(e,r++);if(i>=55296&&i<=56319&&r<n){var a=f(e,r++);(64512&a)==56320?h(t,((1023&i)<<10)+(1023&a)+65536):(h(t,i),r--)}else h(t,i)}return t},b=function(e){return e+22+75*(e<26)},w=function(e,t,r){var n=0;for(e=r?u(e/700):e>>1,e+=u(e/t);e>455;)e=u(e/35),n+=36;return u(n+36*e/(e+38))},S=function(e){var t,r,n=[],i=(e=m(e)).length,a=128,l=0,f=72;for(t=0;t<e.length;t++)(r=e[t])<128&&h(n,c(r));var p=n.length,g=p;for(p&&h(n,"-");g<i;){var y=0x7fffffff;for(t=0;t<e.length;t++)(r=e[t])>=a&&r<y&&(y=r);var S=g+1;if(y-a>u((0x7fffffff-l)/S))throw new s(o);for(l+=(y-a)*S,a=y,t=0;t<e.length;t++){if((r=e[t])<a&&++l>0x7fffffff)throw new s(o);if(r===a){for(var k=l,E=36;;){var _=E<=f?1:E>=f+26?26:E-f;if(k<_)break;var P=k-_,x=36-_;h(n,c(b(_+P%x))),k=u(P/x),E+=36}h(n,c(b(k))),f=w(l,S,g===p),l=0,g++}}l++,a++}return d(n,"")};e.exports=function(e){var t,r,n=[],o=g(p(y(e),a,"."),".");for(t=0;t<o.length;t++)h(n,l(i,r=o[t])?"xn--"+S(r):r);return d(n,".")}},75698(e,t,r){var n=r(6974),i=r(59293),a=r(76153),o=r(70229),s=n.structuredClone;e.exports=!!s&&!i(function(){if("DENO"===o&&a>92||"NODE"===o&&a>94||"BROWSER"===o&&a>97)return!1;var e=new ArrayBuffer(8),t=s(e,{transfer:[e]});return 0!==e.byteLength||8!==t.byteLength})},8953(e,t,r){var n=r(76153),i=r(59293),a=r(6974).String;e.exports=!!Object.getOwnPropertySymbols&&!i(function(){var e=Symbol("symbol detection");return!a(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&n&&n<41})},11523(e,t,r){var n,i,a,o,s=r(6974),l=r(16263),u=r(92254),c=r(68039),f=r(76151),d=r(59293),h=r(39247),p=r(34766),g=r(95637),y=r(26406),m=r(77502),b=r(15523),w=s.setImmediate,S=s.clearImmediate,k=s.process,E=s.Dispatch,_=s.Function,P=s.MessageChannel,x=s.String,C=0,O={},R="onreadystatechange";d(function(){n=s.location});var I=function(e){if(f(O,e)){var t=O[e];delete O[e],t()}},A=function(e){return function(){I(e)}},T=function(e){I(e.data)},M=function(e){s.postMessage(x(e),n.protocol+"//"+n.host)};w&&S||(w=function(e){y(arguments.length,1);var t=c(e)?e:_(e),r=p(arguments,1);return O[++C]=function(){l(t,void 0,r)},i(C),C},S=function(e){delete O[e]},b?i=function(e){k.nextTick(A(e))}:E&&E.now?i=function(e){E.now(A(e))}:P&&!m?(o=(a=new P).port2,a.port1.onmessage=T,i=u(o.postMessage,o)):s.addEventListener&&c(s.postMessage)&&!s.importScripts&&n&&"file:"!==n.protocol&&!d(M)?(i=M,s.addEventListener("message",T,!1)):i=R in g("script")?function(e){h.appendChild(g("script"))[R]=function(){h.removeChild(this),I(e)}}:function(e){setTimeout(A(e),0)}),e.exports={set:w,clear:S}},3108(e,t,r){var n=r(65825),i=Math.max,a=Math.min;e.exports=function(e,t){var r=n(e);return r<0?i(r+t,0):a(r,t)}},32216(e,t,r){var n=r(28535),i=TypeError;e.exports=function(e){var t=n(e,"number");if("number"==typeof t)throw new i("Can't convert number to bigint");return BigInt(t)}},26722(e,t,r){var n=r(65825),i=r(57864),a=RangeError;e.exports=function(e){if(void 0===e)return 0;var t=n(e),r=i(t);if(t!==r)throw new a("Wrong length or index");return r}},41555(e,t,r){var n=r(14461),i=r(15804);e.exports=function(e){return n(i(e))}},65825(e,t,r){var n=r(83427);e.exports=function(e){var t=+e;return t!=t||0===t?0:n(t)}},57864(e,t,r){var n=r(65825),i=Math.min;e.exports=function(e){var t=n(e);return t>0?i(t,0x1fffffffffffff):0}},72095(e,t,r){var n=r(15804),i=Object;e.exports=function(e){return i(n(e))}},7751(e,t,r){var n=r(11280),i=RangeError;e.exports=function(e,t){var r=n(e);if(r%t)throw new i("Wrong offset");return r}},11280(e,t,r){var n=r(65825),i=RangeError;e.exports=function(e){var t=n(e);if(t<0)throw new i("The argument can't be less than 0");return t}},28535(e,t,r){var n=r(33179),i=r(48188),a=r(12131),o=r(25112),s=r(18424),l=r(75869),u=TypeError,c=l("toPrimitive");e.exports=function(e,t){if(!i(e)||a(e))return e;var r,l=o(e,c);if(l){if(void 0===t&&(t="default"),!i(r=n(l,e,t))||a(r))return r;throw new u("Can't convert object to primitive value")}return void 0===t&&(t="number"),s(e,t)}},11611(e,t,r){var n=r(28535),i=r(12131);e.exports=function(e){var t=n(e,"string");return i(t)?t:t+""}},23886(e,t,r){var n=r(75869)("toStringTag"),i={};i[n]="z",e.exports="[object z]"===String(i)},13641(e,t,r){var n=r(73485),i=String;e.exports=function(e){if("Symbol"===n(e))throw TypeError("Cannot convert a Symbol value to a string");return i(e)}},205(e){var t=Math.round;e.exports=function(e){var r=t(e);return r<0?0:r>255?255:255&r}},25229(e){var t=String;e.exports=function(e){try{return t(e)}catch(e){return"Object"}}},31853(e,t,r){var n=r(64808),i=r(6974),a=r(33179),o=r(19058),s=r(65087),l=r(97882),u=r(91428),c=r(50473),f=r(56582),d=r(80081),h=r(1037),p=r(57864),g=r(26722),y=r(7751),m=r(205),b=r(11611),w=r(76151),S=r(73485),k=r(48188),E=r(12131),_=r(12326),P=r(66227),x=r(87261),C=r(62482).f,O=r(16705),R=r(23831).forEach,I=r(63263),A=r(7108),T=r(33919),M=r(43069),z=r(11372),D=r(66935),L=r(3153),U=D.get,j=D.set,N=D.enforce,F=T.f,q=M.f,W=i.RangeError,K=u.ArrayBuffer,B=K.prototype,$=u.DataView,V=l.NATIVE_ARRAY_BUFFER_VIEWS,Y=l.TYPED_ARRAY_TAG,Q=l.TypedArray,H=l.TypedArrayPrototype,G=l.isTypedArray,J="BYTES_PER_ELEMENT",X="Wrong length",Z=function(e,t){A(e,t,{configurable:!0,get:function(){return U(this)[t]}})},ee=function(e){var t;return P(B,e)||"ArrayBuffer"===(t=S(e))||"SharedArrayBuffer"===t},et=function(e,t){return G(e)&&!E(t)&&t in e&&h(+t)&&t>=0},er=function(e,t){return et(e,t=b(t))?f(2,e[t]):q(e,t)},en=function(e,t,r){return et(e,t=b(t))&&k(r)&&w(r,"value")&&!w(r,"get")&&!w(r,"set")&&!r.configurable&&(!w(r,"writable")||r.writable)&&(!w(r,"enumerable")||r.enumerable)?(e[t]=r.value,e):F(e,t,r)};o?(V||(M.f=er,T.f=en,Z(H,"buffer"),Z(H,"byteOffset"),Z(H,"byteLength"),Z(H,"length")),n({target:"Object",stat:!0,forced:!V},{getOwnPropertyDescriptor:er,defineProperty:en}),e.exports=function(e,t,r){var o=e.match(/\d+/)[0]/8,l=e+(r?"Clamped":"")+"Array",u="get"+e,f="set"+e,h=i[l],b=h,w=b&&b.prototype,S={},E=function(e,t){var r=U(e);return r.view[u](t*o+r.byteOffset,!0)},P=function(e,t,n){var i=U(e);i.view[f](t*o+i.byteOffset,r?m(n):n,!0)},A=function(e,t){F(e,t,{get:function(){return E(this,t)},set:function(e){return P(this,t,e)},enumerable:!0})};V?s&&(b=t(function(e,t,r,n){return c(e,w),L(k(t)?ee(t)?void 0!==n?new h(t,y(r,o),n):void 0!==r?new h(t,y(r,o)):new h(t):G(t)?z(b,t):a(O,b,t):new h(g(t)),e,b)}),x&&x(b,Q),R(C(h),function(e){e in b||d(b,e,h[e])}),b.prototype=w):(b=t(function(e,t,r,n){c(e,w);var i,s,l,u=0,f=0;if(k(t))if(ee(t)){i=t,f=y(r,o);var d=t.byteLength;if(void 0===n){if(d%o||(s=d-f)<0)throw new W(X)}else if((s=p(n)*o)+f>d)throw new W(X);l=s/o}else if(G(t))return z(b,t);else return a(O,b,t);else i=new K(s=(l=g(t))*o);for(j(e,{buffer:i,byteOffset:f,byteLength:s,length:l,view:new $(i)});u<l;)A(e,u++)}),x&&x(b,Q),w=b.prototype=_(H)),w.constructor!==b&&d(w,"constructor",b),N(w).TypedArrayConstructor=b,Y&&d(w,Y,l);var T=b!==h;S[l]=b,n({global:!0,constructor:!0,forced:T,sham:!V},S),J in b||d(b,J,o),J in w||d(w,J,o),I(l)}):e.exports=function(){}},65087(e,t,r){var n=r(6974),i=r(59293),a=r(30366),o=r(97882).NATIVE_ARRAY_BUFFER_VIEWS,s=n.ArrayBuffer,l=n.Int8Array;e.exports=!o||!i(function(){l(1)})||!i(function(){new l(-1)})||!a(function(e){new l,new l(null),new l(1.5),new l(e)},!0)||i(function(){return 1!==new l(new s(2),1,void 0).length})},16705(e,t,r){var n=r(92254),i=r(33179),a=r(90114),o=r(72095),s=r(92956),l=r(56563),u=r(18301),c=r(64623),f=r(63633),d=r(97882).aTypedArrayConstructor,h=r(32216);e.exports=function(e){var t,r,p,g,y,m,b,w,S=a(this),k=o(e),E=arguments.length,_=E>1?arguments[1]:void 0,P=void 0!==_,x=u(k);if(x&&!c(x))for(w=(b=l(k,x)).next,k=[];!(m=i(w,b)).done;)k.push(m.value);for(P&&E>2&&(_=n(_,arguments[2])),r=s(k),g=f(p=new(d(S))(r)),t=0;r>t;t++)y=P?_(k[t],t):k[t],p[t]=g?h(y):+y;return p}},702(e,t,r){var n=r(52782),i=0,a=Math.random(),o=n(1.1.toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+o(++i+a,36)}},79542(e,t,r){var n=r(59293),i=r(75869),a=r(19058),o=r(81201),s=i("iterator");e.exports=!n(function(){var e=new URL("b?a=1&b=2&c=3","https://a"),t=e.searchParams,r=new URLSearchParams("a=1&a=2&b=3"),n="";return e.pathname="c%20d",t.forEach(function(e,r){t.delete("b"),n+=r+e}),r.delete("a",2),r.delete("b",void 0),o&&(!e.toJSON||!r.has("a",1)||r.has("a",2)||!r.has("a",void 0)||r.has("b"))||!t.size&&(o||!a)||!t.sort||"https://a/c%20d?a=1&c=3"!==e.href||"3"!==t.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!t[s]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("https://тест").host||"#%D0%B1"!==new URL("https://a#б").hash||"a1c3"!==n||"x"!==new URL("https://x",void 0).host})},95058(e,t,r){e.exports=r(8953)&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},18636(e,t,r){var n=r(19058),i=r(59293);e.exports=n&&i(function(){return 42!==Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype})},26406(e){var t=TypeError;e.exports=function(e,r){if(e<r)throw new t("Not enough arguments");return e}},24232(e,t,r){var n=r(6974),i=r(68039),a=n.WeakMap;e.exports=i(a)&&/native code/.test(String(a))},75869(e,t,r){var n=r(6974),i=r(55219),a=r(76151),o=r(702),s=r(8953),l=r(95058),u=n.Symbol,c=i("wks"),f=l?u.for||u:u&&u.withoutSetter||o;e.exports=function(e){return a(c,e)||(c[e]=s&&a(u,e)?u[e]:f("Symbol."+e)),c[e]}},50859(e,t,r){var n=r(72485),i=r(76151),a=r(80081),o=r(66227),s=r(87261),l=r(18770),u=r(64122),c=r(3153),f=r(14901),d=r(35910),h=r(87245),p=r(19058),g=r(81201);e.exports=function(e,t,r,y){var m="stackTraceLimit",b=y?2:1,w=e.split("."),S=w[w.length-1],k=n.apply(null,w);if(k){var E=k.prototype;if(!g&&i(E,"cause")&&delete E.cause,!r)return k;var _=n("Error"),P=t(function(e,t){var r=f(y?t:e,void 0),n=y?new k(e):new k;return void 0!==r&&a(n,"message",r),h(n,P,n.stack,2),this&&o(E,this)&&c(n,this,P),arguments.length>b&&d(n,arguments[b]),n});if(P.prototype=E,"Error"!==S?s?s(P,_):l(P,_,{name:!0}):p&&m in k&&(u(P,k,m),u(P,k,"prepareStackTrace")),l(P,k),!g)try{E.name!==S&&a(E,"name",S),E.constructor=P}catch(e){}return P}}},20303(e,t,r){var n=r(19058),i=r(7108),a=r(80408),o=ArrayBuffer.prototype;!n||"detached"in o||i(o,"detached",{configurable:!0,get:function(){return a(this)}})},6106(e,t,r){var n=r(64808),i=r(2982);i&&n({target:"ArrayBuffer",proto:!0},{transferToFixedLength:function(){return i(this,arguments.length?arguments[0]:void 0,!1)}})},99166(e,t,r){var n=r(64808),i=r(2982);i&&n({target:"ArrayBuffer",proto:!0},{transfer:function(){return i(this,arguments.length?arguments[0]:void 0,!0)}})},52277(e,t,r){var n=r(64808),i=r(25383).includes,a=r(59293),o=r(1643);n({target:"Array",proto:!0,forced:a(function(){return![,].includes()})},{includes:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}}),o("includes")},42886(e,t,r){var n=r(41555),i=r(1643),a=r(49227),o=r(66935),s=r(33919).f,l=r(52274),u=r(46827),c=r(81201),f=r(19058),d="Array Iterator",h=o.set,p=o.getterFor(d);e.exports=l(Array,"Array",function(e,t){h(this,{type:d,target:n(e),index:0,kind:t})},function(){var e=p(this),t=e.target,r=e.index++;if(!t||r>=t.length)return e.target=null,u(void 0,!0);switch(e.kind){case"keys":return u(r,!1);case"values":return u(t[r],!1)}return u([r,t[r]],!1)},"values");var g=a.Arguments=a.Array;if(i("keys"),i("values"),i("entries"),!c&&f&&"values"!==g.name)try{s(g,"name",{value:"values"})}catch(e){}},14104(e,t,r){var n=r(64808),i=r(72095),a=r(92956),o=r(27021),s=r(61959);n({target:"Array",proto:!0,arity:1,forced:r(59293)(function(){return 0x100000001!==[].push.call({length:0x100000000},1)})||!function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(e){return e instanceof TypeError}}()},{push:function(e){var t=i(this),r=a(t),n=arguments.length;s(r+n);for(var l=0;l<n;l++)t[r]=arguments[l],r++;return o(t,r),r}})},34330(e,t,r){var n=r(64808),i=r(40184).left,a=r(32604),o=r(76153);n({target:"Array",proto:!0,forced:!r(15523)&&o>79&&o<83||!a("reduce")},{reduce:function(e){var t=arguments.length;return i(this,e,t,t>1?arguments[1]:void 0)}})},99780(e,t,r){r(1643)("flat")},15254(e,t,r){var n=r(64808),i=r(6974),a=r(16263),o=r(50859),s="WebAssembly",l=i[s],u=7!==Error("e",{cause:7}).cause,c=function(e,t){var r={};r[e]=o(e,t,u),n({global:!0,constructor:!0,arity:1,forced:u},r)},f=function(e,t){if(l&&l[e]){var r={};r[e]=o(s+"."+e,t,u),n({target:s,stat:!0,constructor:!0,arity:1,forced:u},r)}};c("Error",function(e){return function(t){return a(e,this,arguments)}}),c("EvalError",function(e){return function(t){return a(e,this,arguments)}}),c("RangeError",function(e){return function(t){return a(e,this,arguments)}}),c("ReferenceError",function(e){return function(t){return a(e,this,arguments)}}),c("SyntaxError",function(e){return function(t){return a(e,this,arguments)}}),c("TypeError",function(e){return function(t){return a(e,this,arguments)}}),c("URIError",function(e){return function(t){return a(e,this,arguments)}}),f("CompileError",function(e){return function(t){return a(e,this,arguments)}}),f("LinkError",function(e){return function(t){return a(e,this,arguments)}}),f("RuntimeError",function(e){return function(t){return a(e,this,arguments)}})},42949(e,t,r){var n=r(64808),i=r(6974),a=r(50473),o=r(46177),s=r(68039),l=r(69681),u=r(7108),c=r(84634),f=r(59293),d=r(76151),h=r(75869),p=r(66479).IteratorPrototype,g=r(19058),y=r(81201),m="constructor",b="Iterator",w=h("toStringTag"),S=TypeError,k=i[b],E=y||!s(k)||k.prototype!==p||!f(function(){k({})}),_=function(){if(a(this,p),l(this)===p)throw new S("Abstract class Iterator not directly constructable")},P=function(e,t){g?u(p,e,{configurable:!0,get:function(){return t},set:function(t){if(o(this),this===p)throw new S("You can't redefine this property");d(this,e)?this[e]=t:c(this,e,t)}}):p[e]=t};d(p,w)||P(w,b),(E||!d(p,m)||p[m]===Object)&&P(m,_),_.prototype=p,n({global:!0,constructor:!0,forced:E},{Iterator:_})},31178(e,t,r){var n=r(64808),i=r(33179),a=r(82150),o=r(70860),s=r(46177),l=r(86845),u=r(55053),c=r(6655)("every",TypeError);n({target:"Iterator",proto:!0,real:!0,forced:c},{every:function(e){s(this);try{o(e)}catch(e){u(this,"throw",e)}if(c)return i(c,this,e);var t=l(this),r=0;return!a(t,function(t,n){if(!e(t,r++))return n()},{IS_RECORD:!0,INTERRUPTED:!0}).stopped}})},18723(e,t,r){var n=r(64808),i=r(33179),a=r(70860),o=r(46177),s=r(86845),l=r(21352),u=r(75017),c=r(81201),f=r(55053),d=r(65682),h=r(6655),p=!c&&!d("filter",function(){}),g=!c&&!p&&h("filter",TypeError),y=c||p||g,m=l(function(){for(var e,t,r=this.iterator,n=this.predicate,a=this.next;;){if(e=o(i(a,r)),this.done=!!e.done)return;if(u(r,n,[t=e.value,this.counter++],!0))return t}});n({target:"Iterator",proto:!0,real:!0,forced:y},{filter:function(e){o(this);try{a(e)}catch(e){f(this,"throw",e)}return g?i(g,this,e):new m(s(this),{predicate:e})}})},49678(e,t,r){var n=r(64808),i=r(33179),a=r(82150),o=r(70860),s=r(46177),l=r(86845),u=r(55053),c=r(6655)("find",TypeError);n({target:"Iterator",proto:!0,real:!0,forced:c},{find:function(e){s(this);try{o(e)}catch(e){u(this,"throw",e)}if(c)return i(c,this,e);var t=l(this),r=0;return a(t,function(t,n){if(e(t,r++))return n(t)},{IS_RECORD:!0,INTERRUPTED:!0}).result}})},84086(e,t,r){var n=r(64808),i=r(33179),a=r(82150),o=r(70860),s=r(46177),l=r(86845),u=r(55053),c=r(6655)("forEach",TypeError);n({target:"Iterator",proto:!0,real:!0,forced:c},{forEach:function(e){s(this);try{o(e)}catch(e){u(this,"throw",e)}if(c)return i(c,this,e);var t=l(this),r=0;a(t,function(t){e(t,r++)},{IS_RECORD:!0})}})},37891(e,t,r){var n=r(64808),i=r(33179),a=r(70860),o=r(46177),s=r(86845),l=r(21352),u=r(75017),c=r(55053),f=r(65682),d=r(6655),h=r(81201),p=!h&&!f("map",function(){}),g=!h&&!p&&d("map",TypeError),y=h||p||g,m=l(function(){var e=this.iterator,t=o(i(this.next,e));if(!(this.done=!!t.done))return u(e,this.mapper,[t.value,this.counter++],!0)});n({target:"Iterator",proto:!0,real:!0,forced:y},{map:function(e){o(this);try{a(e)}catch(e){c(this,"throw",e)}return g?i(g,this,e):new m(s(this),{mapper:e})}})},46455(e,t,r){var n=r(64808),i=r(82150),a=r(70860),o=r(46177),s=r(86845),l=r(55053),u=r(6655),c=r(16263),f=r(59293),d=TypeError,h=f(function(){[].keys().reduce(function(){},void 0)}),p=!h&&u("reduce",d);n({target:"Iterator",proto:!0,real:!0,forced:h||p},{reduce:function(e){o(this);try{a(e)}catch(e){l(this,"throw",e)}var t=arguments.length<2,r=t?void 0:arguments[1];if(p)return c(p,this,t?[e]:[e,r]);var n=s(this),u=0;if(i(n,function(n){t?(t=!1,r=n):r=e(r,n,u),u++},{IS_RECORD:!0}),t)throw new d("Reduce of empty iterator with no initial value");return r}})},12021(e,t,r){var n=r(64808),i=r(33179),a=r(82150),o=r(70860),s=r(46177),l=r(86845),u=r(55053),c=r(6655)("some",TypeError);n({target:"Iterator",proto:!0,real:!0,forced:c},{some:function(e){s(this);try{o(e)}catch(e){u(this,"throw",e)}if(c)return i(c,this,e);var t=l(this),r=0;return a(t,function(t,n){if(e(t,r++))return n()},{IS_RECORD:!0,INTERRUPTED:!0}).stopped}})},40509(e,t,r){var n=r(64808),i=r(33179),a=r(70860),o=r(63761),s=r(12181),l=r(82150);n({target:"Promise",stat:!0,forced:r(87435)},{all:function(e){var t=this,r=o.f(t),n=r.resolve,u=r.reject,c=s(function(){var r=a(t.resolve),o=[],s=0,c=1;l(e,function(e){var a=s++,l=!1;c++,i(r,t,e).then(function(e){!l&&(l=!0,o[a]=e,--c||n(o))},u)}),--c||n(o)});return c.error&&u(c.value),r.promise}})},98965(e,t,r){var n=r(64808),i=r(81201),a=r(33586).CONSTRUCTOR,o=r(15940),s=r(72485),l=r(68039),u=r(59430),c=o&&o.prototype;if(n({target:"Promise",proto:!0,forced:a,real:!0},{catch:function(e){return this.then(void 0,e)}}),!i&&l(o)){var f=s("Promise").prototype.catch;c.catch!==f&&u(c,"catch",f,{unsafe:!0})}},3750(e,t,r){var n,i,a,o,s=r(64808),l=r(81201),u=r(15523),c=r(6974),f=r(70977),d=r(33179),h=r(59430),p=r(87261),g=r(32377),y=r(63263),m=r(70860),b=r(68039),w=r(48188),S=r(50473),k=r(92767),E=r(11523).set,_=r(62885),P=r(69823),x=r(12181),C=r(28663),O=r(66935),R=r(15940),I=r(33586),A=r(63761),T="Promise",M=I.CONSTRUCTOR,z=I.REJECTION_EVENT,D=I.SUBCLASSING,L=O.getterFor(T),U=O.set,j=R&&R.prototype,N=R,F=j,q=c.TypeError,W=c.document,K=c.process,B=A.f,$=B,V=!!(W&&W.createEvent&&c.dispatchEvent),Y="unhandledrejection",Q=function(e){var t;return!!(w(e)&&b(t=e.then))&&t},H=function(e,t){var r,n,i,a=t.value,o=1===t.state,s=o?e.ok:e.fail,l=e.resolve,u=e.reject,c=e.domain;try{s?(o||(2===t.rejection&&ee(t),t.rejection=1),!0===s?r=a:(c&&c.enter(),r=s(a),c&&(c.exit(),i=!0)),r===e.promise?u(new q("Promise-chain cycle")):(n=Q(r))?d(n,r,l,u):l(r)):u(a)}catch(e){c&&!i&&c.exit(),u(e)}},G=function(e,t){e.notified||(e.notified=!0,_(function(){for(var r,n=e.reactions;r=n.get();)H(r,e);e.notified=!1,t&&!e.rejection&&X(e)}))},J=function(e,t,r){var n,i;V?((n=W.createEvent("Event")).promise=t,n.reason=r,n.initEvent(e,!1,!0),c.dispatchEvent(n)):n={promise:t,reason:r},!z&&(i=c["on"+e])?i(n):e===Y&&P("Unhandled promise rejection",r)},X=function(e){d(E,c,function(){var t,r=e.facade,n=e.value;if(Z(e)&&(t=x(function(){u?K.emit("unhandledRejection",n,r):J(Y,r,n)}),e.rejection=u||Z(e)?2:1,t.error))throw t.value})},Z=function(e){return 1!==e.rejection&&!e.parent},ee=function(e){d(E,c,function(){var t=e.facade;u?K.emit("rejectionHandled",t):J("rejectionhandled",t,e.value)})},et=function(e,t,r){return function(n){e(t,n,r)}},er=function(e,t,r){e.done||(e.done=!0,r&&(e=r),e.value=t,e.state=2,G(e,!0))},en=function(e,t,r){if(!e.done){e.done=!0,r&&(e=r);try{if(e.facade===t)throw new q("Promise can't be resolved itself");var n=Q(t);n?_(function(){var r={done:!1};try{d(n,t,et(en,r,e),et(er,r,e))}catch(t){er(r,t,e)}}):(e.value=t,e.state=1,G(e,!1))}catch(t){er({done:!1},t,e)}}};if(M&&(F=(N=function(e){S(this,F),m(e),d(n,this);var t=L(this);try{e(et(en,t),et(er,t))}catch(e){er(t,e)}}).prototype,(n=function(e){U(this,{type:T,done:!1,notified:!1,parent:!1,reactions:new C,rejection:!1,state:0,value:null})}).prototype=h(F,"then",function(e,t){var r=L(this),n=B(k(this,N));return r.parent=!0,n.ok=!b(e)||e,n.fail=b(t)&&t,n.domain=u?K.domain:void 0,0===r.state?r.reactions.add(n):_(function(){H(n,r)}),n.promise}),i=function(){var e=new n,t=L(e);this.promise=e,this.resolve=et(en,t),this.reject=et(er,t)},A.f=B=function(e){return e===N||e===a?new i(e):$(e)},!l&&b(R)&&j!==Object.prototype)){o=j.then,D||h(j,"then",function(e,t){var r=this;return new N(function(e,t){d(o,r,e,t)}).then(e,t)},{unsafe:!0});try{delete j.constructor}catch(e){}p&&p(j,F)}s({global:!0,constructor:!0,wrap:!0,forced:M},{Promise:N}),a=f.Promise,g(N,T,!1,!0),y(T)},86449(e,t,r){var n=r(64808),i=r(81201),a=r(15940),o=r(59293),s=r(72485),l=r(68039),u=r(92767),c=r(81864),f=r(59430),d=a&&a.prototype;if(n({target:"Promise",proto:!0,real:!0,forced:!!a&&o(function(){d.finally.call({then:function(){}},function(){})})},{finally:function(e){var t=u(this,s("Promise")),r=l(e);return this.then(r?function(r){return c(t,e()).then(function(){return r})}:e,r?function(r){return c(t,e()).then(function(){throw r})}:e)}}),!i&&l(a)){var h=s("Promise").prototype.finally;d.finally!==h&&f(d,"finally",h,{unsafe:!0})}},73560(e,t,r){r(3750),r(40509),r(98965),r(67797),r(33475),r(13610)},67797(e,t,r){var n=r(64808),i=r(33179),a=r(70860),o=r(63761),s=r(12181),l=r(82150);n({target:"Promise",stat:!0,forced:r(87435)},{race:function(e){var t=this,r=o.f(t),n=r.reject,u=s(function(){var o=a(t.resolve);l(e,function(e){i(o,t,e).then(r.resolve,n)})});return u.error&&n(u.value),r.promise}})},33475(e,t,r){var n=r(64808),i=r(63761);n({target:"Promise",stat:!0,forced:r(33586).CONSTRUCTOR},{reject:function(e){var t=i.f(this);return(0,t.reject)(e),t.promise}})},13610(e,t,r){var n=r(64808),i=r(72485),a=r(81201),o=r(15940),s=r(33586).CONSTRUCTOR,l=r(81864),u=i("Promise"),c=a&&!s;n({target:"Promise",stat:!0,forced:a||s},{resolve:function(e){return l(c&&this===u?o:this,e)}})},53834(e,t,r){var n=r(64808),i=r(6974),a=r(32377);n({global:!0},{Reflect:{}}),a(i.Reflect,"Reflect",!0)},20498(e,t,r){var n=r(19058),i=r(6974),a=r(52782),o=r(76518),s=r(3153),l=r(80081),u=r(12326),c=r(62482).f,f=r(66227),d=r(97494),h=r(13641),p=r(41148),g=r(75383),y=r(64122),m=r(59430),b=r(59293),w=r(76151),S=r(66935).enforce,k=r(63263),E=r(75869),_=r(45369),P=r(63596),x=E("match"),C=i.RegExp,O=C.prototype,R=i.SyntaxError,I=a(O.exec),A=a("".charAt),T=a("".replace),M=a("".indexOf),z=a("".slice),D=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,L=/a/g,U=/a/g,j=new C(L)!==L,N=g.MISSED_STICKY,F=g.UNSUPPORTED_Y,q=n&&(!j||N||_||P||b(function(){return U[x]=!1,C(L)!==L||C(U)===U||"/a/i"!==String(C(L,"i"))})),W=function(e){for(var t,r=e.length,n=0,i="",a=!1;n<=r;n++){if("\\"===(t=A(e,n))){i+=t+A(e,++n);continue}a||"."!==t?("["===t?a=!0:"]"===t&&(a=!1),i+=t):i+="[\\s\\S]"}return i},K=function(e){for(var t,r=e.length,n=0,i="",a=[],o=u(null),s=!1,l=!1,c=0,f="";n<=r;n++){if("\\"===(t=A(e,n)))t+=A(e,++n);else if("]"===t)s=!1;else if(!s)switch(!0){case"["===t:s=!0;break;case"("===t:if(i+=t,"?:"===z(e,n+1,n+3))continue;I(D,z(e,n+1))&&(n+=2,l=!0),c++;continue;case">"===t&&l:if(""===f||w(o,f))throw new R("Invalid capture group name");o[f]=!0,a[a.length]=[f,c],l=!1,f="";continue}l?f+=t:i+=t}return[i,a]};if(o("RegExp",q)){for(var B=function(e,t){var r,n,i,a,o,u,c=f(O,this),g=d(e),y=void 0===t,m=[],b=e;if(!c&&g&&y&&e.constructor===B)return e;if((g||f(O,e))&&(e=e.source,y&&(t=p(b))),e=void 0===e?"":h(e),t=void 0===t?"":h(t),b=e,_&&"dotAll"in L&&(n=!!t&&M(t,"s")>-1)&&(t=T(t,/s/g,"")),r=t,N&&"sticky"in L&&(i=!!t&&M(t,"y")>-1)&&F&&(t=T(t,/y/g,"")),P&&(e=(a=K(e))[0],m=a[1]),o=s(C(e,t),c?this:O,B),(n||i||m.length)&&(u=S(o),n&&(u.dotAll=!0,u.raw=B(W(e),r)),i&&(u.sticky=!0),m.length&&(u.groups=m)),e!==b)try{l(o,"source",""===b?"(?:)":b)}catch(e){}return o},$=c(C),V=0;$.length>V;)y(B,C,$[V++]);O.constructor=B,B.prototype=O,m(i,"RegExp",B,{constructor:!0})}k("RegExp")},40807(e,t,r){var n=r(19058),i=r(45369),a=r(74026),o=r(7108),s=r(66935).get,l=RegExp.prototype,u=TypeError;n&&i&&o(l,"dotAll",{configurable:!0,get:function(){if(this!==l){if("RegExp"===a(this))return!!s(this).dotAll;throw new u("Incompatible receiver, RegExp required")}}})},85281(e,t,r){var n=r(64808),i=r(66565);n({target:"RegExp",proto:!0,forced:/./.exec!==i},{exec:i})},67548(e,t,r){var n=r(64808),i=r(95474),a=r(59293);n({target:"Set",proto:!0,real:!0,forced:!r(24206)("difference",function(e){return 0===e.size})||a(function(){var e=new Set([1,2,3,4]);return 3!==e.difference({size:1,has:function(){return!0},keys:function(){var t=0;return{next:function(){var r=t++>1;return e.has(1)&&e.clear(),{done:r,value:2}}}}}).size})},{difference:i})},70954(e,t,r){var n=r(64808),i=r(59293),a=r(48396);n({target:"Set",proto:!0,real:!0,forced:!r(24206)("intersection",function(e){return 2===e.size&&e.has(1)&&e.has(2)})||i(function(){return"3,2"!==String(Array.from(new Set([1,2,3]).intersection(new Set([3,2]))))})},{intersection:a})},98803(e,t,r){var n=r(64808),i=r(46839);n({target:"Set",proto:!0,real:!0,forced:!r(24206)("isDisjointFrom",function(e){return!e})},{isDisjointFrom:i})},79162(e,t,r){var n=r(64808),i=r(43388);n({target:"Set",proto:!0,real:!0,forced:!r(24206)("isSubsetOf",function(e){return e})},{isSubsetOf:i})},15385(e,t,r){var n=r(64808),i=r(53965);n({target:"Set",proto:!0,real:!0,forced:!r(24206)("isSupersetOf",function(e){return!e})},{isSupersetOf:i})},39342(e,t,r){var n=r(64808),i=r(13264),a=r(29617);n({target:"Set",proto:!0,real:!0,forced:!r(24206)("symmetricDifference")||!a("symmetricDifference")},{symmetricDifference:i})},69152(e,t,r){var n=r(64808),i=r(21898),a=r(29617);n({target:"Set",proto:!0,real:!0,forced:!r(24206)("union")||!a("union")},{union:i})},20583(e,t,r){var n=r(64808),i=r(52782),a=r(3108),o=RangeError,s=String.fromCharCode,l=String.fromCodePoint,u=i([].join);n({target:"String",stat:!0,arity:1,forced:!!l&&1!==l.length},{fromCodePoint:function(e){for(var t,r=[],n=arguments.length,i=0;n>i;){if(t=+arguments[i++],a(t,1114111)!==t)throw new o(t+" is not a valid code point");r[i]=t<65536?s(t):s(((t-=65536)>>10)+55296,t%1024+56320)}return u(r,"")}})},17166(e,t,r){var n=r(68445).charAt,i=r(13641),a=r(66935),o=r(52274),s=r(46827),l="String Iterator",u=a.set,c=a.getterFor(l);o(String,"String",function(e){u(this,{type:l,string:i(e),index:0})},function(){var e,t=c(this),r=t.string,i=t.index;return i>=r.length?s(void 0,!0):(e=n(r,i),t.index+=e.length,s(e,!1))})},29381(e,t,r){var n=r(64808),i=r(33179),a=r(3350),o=r(40652),s=r(46827),l=r(15804),u=r(57864),c=r(13641),f=r(46177),d=r(48188),h=r(74026),p=r(97494),g=r(41148),y=r(25112),m=r(59430),b=r(59293),w=r(75869),S=r(92767),k=r(22287),E=r(24464),_=r(66935),P=r(81201),x=w("matchAll"),C="RegExp String",O=C+" Iterator",R=_.set,I=_.getterFor(O),A=RegExp.prototype,T=TypeError,M=a("".indexOf),z=a("".matchAll),D=!!z&&!b(function(){z("a",/./)}),L=o(function(e,t,r,n){R(this,{type:O,regexp:e,string:t,global:r,unicode:n,done:!1})},C,function(){var e=I(this);if(e.done)return s(void 0,!0);var t=e.regexp,r=e.string,n=E(t,r);return null===n?(e.done=!0,s(void 0,!0)):(e.global?""===c(n[0])&&(t.lastIndex=k(r,u(t.lastIndex),e.unicode)):e.done=!0,s(n,!1))}),U=function(e){var t,r,n,i=f(this),a=c(e),o=S(i,RegExp),s=c(g(i));return t=new o(o===RegExp?i.source:i,s),r=!!~M(s,"g"),n=!!~M(s,"u"),t.lastIndex=u(i.lastIndex),new L(t,a,r,n)};n({target:"String",proto:!0,forced:D},{matchAll:function(e){var t,r,n,a=l(this);if(d(e)){if(p(e)&&!~M(c(l(g(e))),"g"))throw new T("`.matchAll` does not allow non-global regexes");if(D)return z(a,e);if(void 0===(r=y(e,x))&&P&&"RegExp"===h(e)&&(r=U),r)return i(r,e,a)}else if(D)return z(a,e);return t=c(a),n=RegExp(e,"g"),P?i(U,n,t):n[x](t)}}),P||x in A||m(A,x,U)},96954(e,t,r){var n=r(16263),i=r(33179),a=r(52782),o=r(41298),s=r(59293),l=r(46177),u=r(68039),c=r(48188),f=r(65825),d=r(57864),h=r(13641),p=r(15804),g=r(22287),y=r(25112),m=r(67256),b=r(41148),w=r(24464),S=r(75869)("replace"),k=Math.max,E=Math.min,_=a([].concat),P=a([].push),x=a("".indexOf),C=a("".slice),O="$0"==="a".replace(/./,"$0"),R=!!/./[S]&&""===/./[S]("a","$0");o("replace",function(e,t,r){var a=R?"$":"$0";return[function(e,r){var n=p(this),a=c(e)?y(e,S):void 0;return a?i(a,e,n,r):i(t,h(n),e,r)},function(e,i){var o=l(this),s=h(e);if("string"==typeof i&&-1===x(i,a)&&-1===x(i,"$<")){var c=r(t,o,s,i);if(c.done)return c.value}var p=u(i);p||(i=h(i));var y=h(b(o)),S=-1!==x(y,"g");S&&(M=-1!==x(y,"u"),o.lastIndex=0);for(var O=[];null!==(D=w(o,s))&&(P(O,D),S);){;""===h(D[0])&&(o.lastIndex=g(s,d(o.lastIndex),M))}for(var R="",I=0,A=0;A<O.length;A++){for(var T,M,z,D=O[A],L=h(D[0]),U=k(E(f(D.index),s.length),0),j=[],N=1;N<D.length;N++)P(j,void 0===(T=D[N])?T:String(T));var F=D.groups;if(p){var q=_([L],j,U,s);void 0!==F&&P(q,F),z=h(n(i,void 0,q))}else z=m(L,s,U,j,F,i);U>=I&&(R+=C(s,I,U)+z,I=U+L.length)}return R+C(s,I)}]},!!s(function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")})||!O||R)},22742(e,t,r){var n=r(97882),i=r(92956),a=r(65825),o=n.aTypedArray;(0,n.exportTypedArrayMethod)("at",function(e){var t=o(this),r=i(t),n=a(e),s=n>=0?n:r+n;return s<0||s>=r?void 0:t[s]})},24330(e,t,r){var n=r(97882),i=r(65083),a=r(32216),o=r(73485),s=r(33179),l=r(52782),u=r(59293),c=n.aTypedArray,f=n.exportTypedArrayMethod,d=l("".slice);f("fill",function(e){var t=arguments.length;return c(this),s(i,this,"Big"===d(o(this),0,3)?a(e):+e,t>1?arguments[1]:void 0,t>2?arguments[2]:void 0)},u(function(){var e=0;return new Int8Array(2).fill({valueOf:function(){return e++}}),1!==e}))},62148(e,t,r){var n=r(97882),i=r(61857).findLastIndex,a=n.aTypedArray;(0,n.exportTypedArrayMethod)("findLastIndex",function(e){return i(a(this),e,arguments.length>1?arguments[1]:void 0)})},37553(e,t,r){var n=r(97882),i=r(61857).findLast,a=n.aTypedArray;(0,n.exportTypedArrayMethod)("findLast",function(e){return i(a(this),e,arguments.length>1?arguments[1]:void 0)})},89055(e,t,r){var n=r(6974),i=r(33179),a=r(97882),o=r(92956),s=r(7751),l=r(72095),u=r(59293),c=n.RangeError,f=n.Int8Array,d=f&&f.prototype,h=d&&d.set,p=a.aTypedArray,g=a.exportTypedArrayMethod,y=!u(function(){var e=new Uint8ClampedArray(2);return i(h,e,{length:1,0:3},1),3!==e[1]}),m=y&&a.NATIVE_ARRAY_BUFFER_VIEWS&&u(function(){var e=new f(2);return e.set(1),e.set("2",1),0!==e[0]||2!==e[1]});g("set",function(e){p(this);var t=s(arguments.length>1?arguments[1]:void 0,1),r=l(e);if(y)return i(h,this,r,t);var n=this.length,a=o(r),u=0;if(a+t>n)throw new c("Wrong length");for(;u<a;)this[t+u]=r[u++]},!y||m)},41435(e,t,r){var n=r(6974),i=r(3350),a=r(59293),o=r(70860),s=r(31534),l=r(97882),u=r(21203),c=r(13777),f=r(76153),d=r(62729),h=l.aTypedArray,p=l.exportTypedArrayMethod,g=n.Uint16Array,y=g&&i(g.prototype.sort),m=!!y&&!(a(function(){y(new g(2),null)})&&a(function(){y(new g(2),{})})),b=!!y&&!a(function(){if(f)return f<74;if(u)return u<67;if(c)return!0;if(d)return d<602;var e,t,r=new g(516),n=Array(516);for(e=0;e<516;e++)t=e%4,r[e]=515-e,n[e]=e-2*t+3;for(y(r,function(e,t){return(e/4|0)-(t/4|0)}),e=0;e<516;e++)if(r[e]!==n[e])return!0});p("sort",function(e){return(void 0!==e&&o(e),b)?y(this,e):s(h(this),function(t,r){return void 0!==e?+e(t,r)||0:r!=r?-1:t!=t?1:0===t&&0===r?1/t>0&&1/r<0?1:-1:t>r})},!b||m)},12205(e,t,r){var n=r(4062),i=r(97882),a=i.aTypedArray,o=i.exportTypedArrayMethod,s=i.getTypedArrayConstructor;o("toReversed",function(){return n(a(this),s(this))})},65850(e,t,r){var n=r(97882),i=r(52782),a=r(70860),o=r(11372),s=n.aTypedArray,l=n.getTypedArrayConstructor,u=n.exportTypedArrayMethod,c=i(n.TypedArrayPrototype.sort);u("toSorted",function(e){void 0!==e&&a(e);var t=s(this);return c(o(l(t),t),e)})},93619(e,t,r){r(31853)("Uint8",function(e){return function(t,r,n){return e(this,t,r,n)}})},65135(e,t,r){var n=r(49718),i=r(97882),a=r(63633),o=r(65825),s=r(32216),l=i.aTypedArray,u=i.getTypedArrayConstructor,c=i.exportTypedArrayMethod,f=function(){try{new Int8Array(1).with(2,{valueOf:function(){throw 8}})}catch(e){return 8===e}}(),d=f&&function(){try{new Int8Array(1).with(-.5,1)}catch(e){return!0}}();c("with",{with:function(e,t){var r=l(this),i=o(e),c=a(r)?s(t):+t;return n(r,u(r),i,c)}}.with,!f||d)},36395(e,t,r){var n=r(6974),i=r(71806),a=r(84098),o=r(42886),s=r(80081),l=r(32377),u=r(75869)("iterator"),c=o.values,f=function(e,t){if(e){if(e[u]!==c)try{s(e,u,c)}catch(t){e[u]=c}if(l(e,t,!0),i[t]){for(var r in o)if(e[r]!==o[r])try{s(e,r,o[r])}catch(t){e[r]=o[r]}}}};for(var d in i)f(n[d]&&n[d].prototype,d);f(a,"DOMTokenList")},32037(e,t,r){var n=r(64808),i=r(6974),a=r(72485),o=r(56582),s=r(33919).f,l=r(76151),u=r(50473),c=r(3153),f=r(14901),d=r(94864),h=r(50747),p=r(19058),g=r(81201),y="DOMException",m=a("Error"),b=a(y),w=function(){u(this,S);var e=arguments.length,t=f(e<1?void 0:arguments[0]),r=f(e<2?void 0:arguments[1],"Error"),n=new b(t,r),i=new m(t);return i.name=y,s(n,"stack",o(1,h(i.stack,1))),c(n,this,w),n},S=w.prototype=b.prototype,k="stack"in new m(y),E="stack"in new b(1,2),_=b&&p&&Object.getOwnPropertyDescriptor(i,y),P=!!_&&!(_.writable&&_.configurable),x=k&&!P&&!E;n({global:!0,constructor:!0,forced:g||x},{DOMException:x?w:b});var C=a(y),O=C.prototype;if(O.constructor!==C){for(var R in g||s(O,"constructor",o(1,C)),d)if(l(d,R)){var I=d[R],A=I.s;l(C,A)||s(C,A,o(6,I.c))}}},92033(e,t,r){var n=r(64808),i=r(6974),a=r(7108),o=r(19058),s=TypeError,l=Object.defineProperty,u=i.self!==i;try{if(o){var c=Object.getOwnPropertyDescriptor(i,"self");!u&&c&&c.get&&c.enumerable||a(i,"self",{get:function(){return i},set:function(e){if(this!==i)throw new s("Illegal invocation");l(i,"self",{value:e,writable:!0,configurable:!0,enumerable:!0})},configurable:!0,enumerable:!0})}else n({global:!0,simple:!0,forced:u},{self:i})}catch(e){}},75556(e,t,r){r(42886),r(20583);var n=r(64808),i=r(6974),a=r(66255),o=r(72485),s=r(33179),l=r(52782),u=r(19058),c=r(79542),f=r(59430),d=r(7108),h=r(27597),p=r(32377),g=r(40652),y=r(66935),m=r(50473),b=r(68039),w=r(76151),S=r(92254),k=r(73485),E=r(46177),_=r(48188),P=r(13641),x=r(12326),C=r(56582),O=r(56563),R=r(18301),I=r(46827),A=r(26406),T=r(75869),M=r(31534),z=T("iterator"),D="URLSearchParams",L=D+"Iterator",U=y.set,j=y.getterFor(D),N=y.getterFor(L),F=a("fetch"),q=a("Request"),W=a("Headers"),K=q&&q.prototype,B=W&&W.prototype,$=i.TypeError,V=i.encodeURIComponent,Y=String.fromCharCode,Q=o("String","fromCodePoint"),H=parseInt,G=l("".charAt),J=l([].join),X=l([].push),Z=l("".replace),ee=l([].shift),et=l([].splice),er=l("".split),en=l("".slice),ei=l(/./.exec),ea=/\+/g,eo=/^[0-9a-f]+$/i,es=function(e,t){var r=en(e,t,t+2);return ei(eo,r)?H(r,16):NaN},el=function(e){for(var t=0,r=128;r>0&&(e&r)!=0;r>>=1)t++;return t},eu=function(e){var t=null;switch(e.length){case 1:t=e[0];break;case 2:t=(31&e[0])<<6|63&e[1];break;case 3:t=(15&e[0])<<12|(63&e[1])<<6|63&e[2];break;case 4:t=(7&e[0])<<18|(63&e[1])<<12|(63&e[2])<<6|63&e[3]}return t>1114111?null:t},ec=function(e){for(var t=(e=Z(e,ea," ")).length,r="",n=0;n<t;){var i=G(e,n);if("%"===i){if("%"===G(e,n+1)||n+3>t){r+="%",n++;continue}var a=es(e,n+1);if(a!=a){r+=i,n++;continue}n+=2;var o=el(a);if(0===o)i=Y(a);else{if(1===o||o>4){r+="�",n++;continue}for(var s=[a],l=1;l<o&&!(++n+3>t)&&"%"===G(e,n);){var u=es(e,n+1);if(u!=u){n+=3;break}if(u>191||u<128)break;X(s,u),n+=2,l++}if(s.length!==o){r+="�";continue}var c=eu(s);null===c?r+="�":i=Q(c)}}r+=i,n++}return r},ef=/[!'()~]|%20/g,ed={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},eh=function(e){return ed[e]},ep=function(e){return Z(V(e),ef,eh)},ev=g(function(e,t){U(this,{type:L,target:j(e).entries,index:0,kind:t})},D,function(){var e=N(this),t=e.target,r=e.index++;if(!t||r>=t.length)return e.target=null,I(void 0,!0);var n=t[r];switch(e.kind){case"keys":return I(n.key,!1);case"values":return I(n.value,!1)}return I([n.key,n.value],!1)},!0),eg=function(e){this.entries=[],this.url=null,void 0!==e&&(_(e)?this.parseObject(e):this.parseQuery("string"==typeof e?"?"===G(e,0)?en(e,1):e:P(e)))};eg.prototype={type:D,bindURL:function(e){this.url=e,this.update()},parseObject:function(e){var t,r,n,i,a,o,l,u=this.entries,c=R(e);if(c)for(r=(t=O(e,c)).next;!(n=s(r,t)).done;){if((o=s(a=(i=O(E(n.value))).next,i)).done||(l=s(a,i)).done||!s(a,i).done)throw new $("Expected sequence with length 2");X(u,{key:P(o.value),value:P(l.value)})}else for(var f in e)w(e,f)&&X(u,{key:f,value:P(e[f])})},parseQuery:function(e){if(e)for(var t,r,n=this.entries,i=er(e,"&"),a=0;a<i.length;)(t=i[a++]).length&&X(n,{key:ec(ee(r=er(t,"="))),value:ec(J(r,"="))})},serialize:function(){for(var e,t=this.entries,r=[],n=0;n<t.length;)X(r,ep((e=t[n++]).key)+"="+ep(e.value));return J(r,"&")},update:function(){this.entries.length=0,this.parseQuery(this.url.query)},updateURL:function(){this.url&&this.url.update()}};var ey=function(){m(this,em);var e=arguments.length>0?arguments[0]:void 0,t=U(this,new eg(e));u||(this.size=t.entries.length)},em=ey.prototype;if(h(em,{append:function(e,t){var r=j(this);A(arguments.length,2),X(r.entries,{key:P(e),value:P(t)}),!u&&this.size++,r.updateURL()},delete:function(e){for(var t=j(this),r=A(arguments.length,1),n=t.entries,i=P(e),a=r<2?void 0:arguments[1],o=void 0===a?a:P(a),s=0;s<n.length;){var l=n[s];if(l.key===i&&(void 0===o||l.value===o)){if(et(n,s,1),void 0!==o)break}else s++}u||(this.size=n.length),t.updateURL()},get:function(e){var t=j(this).entries;A(arguments.length,1);for(var r=P(e),n=0;n<t.length;n++)if(t[n].key===r)return t[n].value;return null},getAll:function(e){var t=j(this).entries;A(arguments.length,1);for(var r=P(e),n=[],i=0;i<t.length;i++)t[i].key===r&&X(n,t[i].value);return n},has:function(e){for(var t=j(this).entries,r=A(arguments.length,1),n=P(e),i=r<2?void 0:arguments[1],a=void 0===i?i:P(i),o=0;o<t.length;){var s=t[o++];if(s.key===n&&(void 0===a||s.value===a))return!0}return!1},set:function(e,t){var r,n=j(this);A(arguments.length,1);for(var i=n.entries,a=!1,o=P(e),s=P(t),l=0;l<i.length;l++)(r=i[l]).key===o&&(a?et(i,l--,1):(a=!0,r.value=s));a||X(i,{key:o,value:s}),u||(this.size=i.length),n.updateURL()},sort:function(){var e=j(this);M(e.entries,function(e,t){return e.key>t.key?1:-1}),e.updateURL()},forEach:function(e){for(var t,r=j(this).entries,n=S(e,arguments.length>1?arguments[1]:void 0),i=0;i<r.length;)n((t=r[i++]).value,t.key,this)},keys:function(){return new ev(this,"keys")},values:function(){return new ev(this,"values")},entries:function(){return new ev(this,"entries")}},{enumerable:!0}),f(em,z,em.entries,{name:"entries"}),f(em,"toString",function(){return j(this).serialize()},{enumerable:!0}),u&&d(em,"size",{get:function(){return j(this).entries.length},configurable:!0,enumerable:!0}),p(ey,D),n({global:!0,constructor:!0,forced:!c},{URLSearchParams:ey}),!c&&b(W)){var eb=l(B.has),ew=l(B.set),eS=function(e){if(_(e)){var t,r=e.body;if(k(r)===D)return eb(t=e.headers?new W(e.headers):new W,"content-type")||ew(t,"content-type","application/x-www-form-urlencoded;charset=UTF-8"),x(e,{body:C(0,P(r)),headers:C(0,t)})}return e};if(b(F)&&n({global:!0,enumerable:!0,dontCallGetSet:!0,forced:!0},{fetch:function(e){return F(e,arguments.length>1?eS(arguments[1]):{})}}),b(q)){var ek=function(e){return m(this,K),new q(e,arguments.length>1?eS(arguments[1]):{})};K.constructor=ek,ek.prototype=K,n({global:!0,constructor:!0,dontCallGetSet:!0,forced:!0},{Request:ek})}}e.exports={URLSearchParams:ey,getState:j}},52205(e,t,r){var n=r(59430),i=r(52782),a=r(13641),o=r(26406),s=URLSearchParams,l=s.prototype,u=i(l.append),c=i(l.delete),f=i(l.forEach),d=i([].push),h=new s("a=1&a=2&b=3");h.delete("a",1),h.delete("b",void 0),h+""!="a=2"&&n(l,"delete",function(e){var t,r=arguments.length,n=r<2?void 0:arguments[1];if(r&&void 0===n)return c(this,e);var i=[];f(this,function(e,t){d(i,{key:t,value:e})}),o(r,1);for(var s=a(e),l=a(n),h=0,p=0,g=!1,y=i.length;h<y;)t=i[h++],g||t.key===s?(g=!0,c(this,t.key)):p++;for(;p<y;)((t=i[p++]).key!==s||t.value!==l)&&u(this,t.key,t.value)},{enumerable:!0,unsafe:!0})},40768(e,t,r){var n=r(59430),i=r(52782),a=r(13641),o=r(26406),s=URLSearchParams,l=s.prototype,u=i(l.getAll),c=i(l.has),f=new s("a=1");(f.has("a",2)||!f.has("a",void 0))&&n(l,"has",function(e){var t=arguments.length,r=t<2?void 0:arguments[1];if(t&&void 0===r)return c(this,e);var n=u(this,e);o(t,1);for(var i=a(r),s=0;s<n.length;)if(n[s++]===i)return!0;return!1},{enumerable:!0,unsafe:!0})},38978(e,t,r){r(75556)},76235(e,t,r){var n=r(19058),i=r(52782),a=r(7108),o=URLSearchParams.prototype,s=i(o.forEach);!n||"size"in o||a(o,"size",{get:function(){var e=0;return s(this,function(){e++}),e},configurable:!0,enumerable:!0})},6184(e,t,r){r(17166);var n,i=r(64808),a=r(19058),o=r(79542),s=r(6974),l=r(92254),u=r(52782),c=r(59430),f=r(7108),d=r(50473),h=r(76151),p=r(37187),g=r(77930),y=r(34766),m=r(68445).codeAt,b=r(79855),w=r(13641),S=r(32377),k=r(26406),E=r(75556),_=r(66935),P=_.set,x=_.getterFor("URL"),C=E.URLSearchParams,O=E.getState,R=s.URL,I=s.TypeError,A=s.parseInt,T=Math.floor,M=Math.pow,z=u("".charAt),D=u(/./.exec),L=u([].join),U=u(1.1.toString),j=u([].pop),N=u([].push),F=u("".replace),q=u([].shift),W=u("".split),K=u("".slice),B=u("".toLowerCase),$=u([].unshift),V="Invalid scheme",Y="Invalid host",Q="Invalid port",H=/[a-z]/i,G=/[\d+-.a-z]/i,J=/\d/,X=/^0x/i,Z=/^[0-7]+$/,ee=/^\d+$/,et=/^[\da-f]+$/i,er=/[\0\t\n\r #%/:<>?@[\\\]^|]/,en=/[\0\t\n\r #/:<>?@[\\\]^|]/,ei=/^[\u0000-\u0020]+/,ea=/(^|[^\u0000-\u0020])[\u0000-\u0020]+$/,eo=/[\t\n\r]/g,es=function(e){var t,r,n,i,a,o,s,l=W(e,".");if(l.length&&""===l[l.length-1]&&l.length--,(t=l.length)>4)return e;for(n=0,r=[];n<t;n++){if(""===(i=l[n]))return e;if(a=10,i.length>1&&"0"===z(i,0)&&(a=D(X,i)?16:8,i=K(i,8===a?1:2)),""===i)o=0;else{if(!D(10===a?ee:8===a?Z:et,i))return e;o=A(i,a)}N(r,o)}for(n=0;n<t;n++)if(o=r[n],n===t-1){if(o>=M(256,5-t))return null}else if(o>255)return null;for(s=j(r),n=0;n<r.length;n++)s+=r[n]*M(256,3-n);return s},el=function(e){var t,r,n,i,a,o,s,l=[0,0,0,0,0,0,0,0],u=0,c=null,f=0,d=function(){return z(e,f)};if(":"===d()){if(":"!==z(e,1))return;f+=2,c=++u}for(;d();){if(8===u)return;if(":"===d()){if(null!==c)return;f++,c=++u;continue}for(t=r=0;r<4&&D(et,d());)t=16*t+A(d(),16),f++,r++;if("."===d()){if(0===r||(f-=r,u>6))return;for(n=0;d();){if(i=null,n>0)if("."!==d()||!(n<4))return;else f++;if(!D(J,d()))return;for(;D(J,d());){if(a=A(d(),10),null===i)i=a;else{if(0===i)return;i=10*i+a}if(i>255)return;f++}l[u]=256*l[u]+i,(2==++n||4===n)&&u++}if(4!==n)return;break}if(":"===d()){if(f++,!d())return}else if(d())return;l[u++]=t}if(null!==c)for(o=u-c,u=7;0!==u&&o>0;)s=l[u],l[u--]=l[c+o-1],l[c+--o]=s;else if(8!==u)return;return l},eu=function(e){for(var t=null,r=1,n=null,i=0,a=0;a<8;a++)0!==e[a]?(i>r&&(t=n,r=i),n=null,i=0):(null===n&&(n=a),++i);return i>r?n:t},ec=function(e){var t,r,n,i;if("number"==typeof e){for(r=0,t=[];r<4;r++)$(t,e%256),e=T(e/256);return L(t,".")}if("object"==typeof e){for(t="",n=eu(e),r=0;r<8;r++)(!i||0!==e[r])&&(i&&(i=!1),n===r?(t+=r?":":"::",i=!0):(t+=U(e[r],16),r<7&&(t+=":")));return"["+t+"]"}return e},ef={},ed=p({},ef,{" ":1,'"':1,"<":1,">":1,"`":1}),eh=p({},ed,{"#":1,"?":1,"{":1,"}":1}),ep=p({},eh,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),ev=function(e,t){var r=m(e,0);return r>32&&r<127&&!h(t,e)?e:encodeURIComponent(e)},eg={ftp:21,file:null,http:80,https:443,ws:80,wss:443},ey=function(e,t){var r;return 2===e.length&&D(H,z(e,0))&&(":"===(r=z(e,1))||!t&&"|"===r)},em=function(e){var t;return e.length>1&&ey(K(e,0,2))&&(2===e.length||"/"===(t=z(e,2))||"\\"===t||"?"===t||"#"===t)},eb={},ew={},eS={},ek={},eE={},e_={},eP={},ex={},eC={},eO={},eR={},eI={},eA={},eT={},eM={},ez={},eD={},eL={},eU={},ej={},eN={},eF=function(e,t,r){var n,i,a,o=w(e);if(t){if(i=this.parse(o))throw new I(i);this.searchParams=null}else{if(void 0!==r&&(n=new eF(r,!0)),i=this.parse(o,null,n))throw new I(i);(a=O(new C)).bindURL(this),this.searchParams=a}};eF.prototype={type:"URL",parse:function(e,t,r){var i=t||eb,a=0,o="",s=!1,l=!1,u=!1;for(e=w(e),t||(this.scheme="",this.username="",this.password="",this.host=null,this.port=null,this.path=[],this.query=null,this.fragment=null,this.cannotBeABaseURL=!1,e=F(e,ei,""),e=F(e,ea,"$1")),c=g(e=F(e,eo,""));a<=c.length;){switch(f=c[a],i){case eb:if(f&&D(H,f))o+=B(f),i=ew;else{if(t)return V;i=eS;continue}break;case ew:if(f&&(D(G,f)||"+"===f||"-"===f||"."===f))o+=B(f);else if(":"===f){if(t&&(this.isSpecial()!==h(eg,o)||"file"===o&&(this.includesCredentials()||null!==this.port)||"file"===this.scheme&&!this.host))return;if(this.scheme=o,t){this.isSpecial()&&eg[this.scheme]===this.port&&(this.port=null);return}o="","file"===this.scheme?i=eT:this.isSpecial()&&r&&r.scheme===this.scheme?i=ek:this.isSpecial()?i=ex:"/"===c[a+1]?(i=eE,a++):(this.cannotBeABaseURL=!0,N(this.path,""),i=eU)}else{if(t)return V;o="",i=eS,a=0;continue}break;case eS:if(!r||r.cannotBeABaseURL&&"#"!==f)return V;if(r.cannotBeABaseURL&&"#"===f){this.scheme=r.scheme,this.path=y(r.path),this.query=r.query,this.fragment="",this.cannotBeABaseURL=!0,i=eN;break}i="file"===r.scheme?eT:e_;continue;case ek:if("/"===f&&"/"===c[a+1])i=eC,a++;else{i=e_;continue}break;case eE:if("/"===f){i=eO;break}i=eL;continue;case e_:if(this.scheme=r.scheme,f===n)this.username=r.username,this.password=r.password,this.host=r.host,this.port=r.port,this.path=y(r.path),this.query=r.query;else if("/"===f||"\\"===f&&this.isSpecial())i=eP;else if("?"===f)this.username=r.username,this.password=r.password,this.host=r.host,this.port=r.port,this.path=y(r.path),this.query="",i=ej;else if("#"===f)this.username=r.username,this.password=r.password,this.host=r.host,this.port=r.port,this.path=y(r.path),this.query=r.query,this.fragment="",i=eN;else{this.username=r.username,this.password=r.password,this.host=r.host,this.port=r.port,this.path=y(r.path),this.path.length--,i=eL;continue}break;case eP:if(this.isSpecial()&&("/"===f||"\\"===f))i=eC;else if("/"===f)i=eO;else{this.username=r.username,this.password=r.password,this.host=r.host,this.port=r.port,i=eL;continue}break;case ex:if(i=eC,"/"!==f||"/"!==z(o,a+1))continue;a++;break;case eC:if("/"!==f&&"\\"!==f){i=eO;continue}break;case eO:if("@"===f){s&&(o="%40"+o),s=!0,d=g(o);for(var c,f,d,p,m,b,S=0;S<d.length;S++){var k=d[S];if(":"===k&&!u){u=!0;continue}var E=ev(k,ep);u?this.password+=E:this.username+=E}o=""}else if(f===n||"/"===f||"?"===f||"#"===f||"\\"===f&&this.isSpecial()){if(s&&""===o)return"Invalid authority";a-=g(o).length+1,o="",i=eR}else o+=f;break;case eR:case eI:if(t&&"file"===this.scheme){i=ez;continue}if(":"!==f||l)if(f===n||"/"===f||"?"===f||"#"===f||"\\"===f&&this.isSpecial()){if(this.isSpecial()&&""===o)return Y;if(t&&""===o&&(this.includesCredentials()||null!==this.port))return;if(p=this.parseHost(o))return p;if(o="",i=eD,t)return;continue}else"["===f?l=!0:"]"===f&&(l=!1),o+=f;else{if(""===o)return Y;if(p=this.parseHost(o))return p;if(o="",i=eA,t===eI)return}break;case eA:if(D(J,f))o+=f;else{if(!(f===n||"/"===f||"?"===f||"#"===f||"\\"===f&&this.isSpecial())&&!t)return Q;if(""!==o){var _=A(o,10);if(_>65535)return Q;this.port=this.isSpecial()&&_===eg[this.scheme]?null:_,o=""}if(t)return;i=eD;continue}break;case eT:if(this.scheme="file","/"===f||"\\"===f)i=eM;else if(r&&"file"===r.scheme)switch(f){case n:this.host=r.host,this.path=y(r.path),this.query=r.query;break;case"?":this.host=r.host,this.path=y(r.path),this.query="",i=ej;break;case"#":this.host=r.host,this.path=y(r.path),this.query=r.query,this.fragment="",i=eN;break;default:em(L(y(c,a),""))||(this.host=r.host,this.path=y(r.path),this.shortenPath()),i=eL;continue}else{i=eL;continue}break;case eM:if("/"===f||"\\"===f){i=ez;break}r&&"file"===r.scheme&&!em(L(y(c,a),""))&&(ey(r.path[0],!0)?N(this.path,r.path[0]):this.host=r.host),i=eL;continue;case ez:if(f===n||"/"===f||"\\"===f||"?"===f||"#"===f){if(!t&&ey(o))i=eL;else if(""===o){if(this.host="",t)return;i=eD}else{if(p=this.parseHost(o))return p;if("localhost"===this.host&&(this.host=""),t)return;o="",i=eD}continue}o+=f;break;case eD:if(this.isSpecial()){if(i=eL,"/"!==f&&"\\"!==f)continue}else if(t||"?"!==f)if(t||"#"!==f){if(f!==n&&(i=eL,"/"!==f))continue}else this.fragment="",i=eN;else this.query="",i=ej;break;case eL:if(f===n||"/"===f||"\\"===f&&this.isSpecial()||!t&&("?"===f||"#"===f)){if(".."===(m=B(m=o))||"%2e."===m||".%2e"===m||"%2e%2e"===m?(this.shortenPath(),"/"===f||"\\"===f&&this.isSpecial()||N(this.path,"")):"."===(b=o)||"%2e"===B(b)?"/"===f||"\\"===f&&this.isSpecial()||N(this.path,""):("file"===this.scheme&&!this.path.length&&ey(o)&&(this.host&&(this.host=""),o=z(o,0)+":"),N(this.path,o)),o="","file"===this.scheme&&(f===n||"?"===f||"#"===f))for(;this.path.length>1&&""===this.path[0];)q(this.path);"?"===f?(this.query="",i=ej):"#"===f&&(this.fragment="",i=eN)}else o+=ev(f,eh);break;case eU:"?"===f?(this.query="",i=ej):"#"===f?(this.fragment="",i=eN):f!==n&&(this.path[0]+=ev(f,ef));break;case ej:t||"#"!==f?f!==n&&("'"===f&&this.isSpecial()?this.query+="%27":"#"===f?this.query+="%23":this.query+=ev(f,ef)):(this.fragment="",i=eN);break;case eN:f!==n&&(this.fragment+=ev(f,ed))}a++}},parseHost:function(e){var t,r,n;if("["===z(e,0)){if("]"!==z(e,e.length-1)||!(t=el(K(e,1,-1))))return Y;this.host=t}else if(this.isSpecial()){if(D(er,e=b(e))||null===(t=es(e)))return Y;this.host=t}else{if(D(en,e))return Y;for(t="",r=g(e),n=0;n<r.length;n++)t+=ev(r[n],ef);this.host=t}},cannotHaveUsernamePasswordPort:function(){return!this.host||this.cannotBeABaseURL||"file"===this.scheme},includesCredentials:function(){return""!==this.username||""!==this.password},isSpecial:function(){return h(eg,this.scheme)},shortenPath:function(){var e=this.path,t=e.length;t&&("file"!==this.scheme||1!==t||!ey(e[0],!0))&&e.length--},serialize:function(){var e=this.scheme,t=this.username,r=this.password,n=this.host,i=this.port,a=this.path,o=this.query,s=this.fragment,l=e+":";return null!==n?(l+="//",this.includesCredentials()&&(l+=t+(r?":"+r:"")+"@"),l+=ec(n),null!==i&&(l+=":"+i)):"file"===e&&(l+="//"),l+=this.cannotBeABaseURL?a[0]:a.length?"/"+L(a,"/"):"",null!==o&&(l+="?"+o),null!==s&&(l+="#"+s),l},setHref:function(e){var t=this.parse(e);if(t)throw new I(t);this.searchParams.update()},getOrigin:function(){var e=this.scheme,t=this.port;if("blob"===e)try{return new eq(e.path[0]).origin}catch(e){return"null"}return"file"!==e&&this.isSpecial()?e+"://"+ec(this.host)+(null!==t?":"+t:""):"null"},getProtocol:function(){return this.scheme+":"},setProtocol:function(e){this.parse(w(e)+":",eb)},getUsername:function(){return this.username},setUsername:function(e){var t=g(w(e));if(!this.cannotHaveUsernamePasswordPort()){this.username="";for(var r=0;r<t.length;r++)this.username+=ev(t[r],ep)}},getPassword:function(){return this.password},setPassword:function(e){var t=g(w(e));if(!this.cannotHaveUsernamePasswordPort()){this.password="";for(var r=0;r<t.length;r++)this.password+=ev(t[r],ep)}},getHost:function(){var e=this.host,t=this.port;return null===e?"":null===t?ec(e):ec(e)+":"+t},setHost:function(e){this.cannotBeABaseURL||this.parse(e,eR)},getHostname:function(){var e=this.host;return null===e?"":ec(e)},setHostname:function(e){this.cannotBeABaseURL||this.parse(e,eI)},getPort:function(){var e=this.port;return null===e?"":w(e)},setPort:function(e){this.cannotHaveUsernamePasswordPort()||(""===(e=w(e))?this.port=null:this.parse(e,eA))},getPathname:function(){var e=this.path;return this.cannotBeABaseURL?e[0]:e.length?"/"+L(e,"/"):""},setPathname:function(e){this.cannotBeABaseURL||(this.path=[],this.parse(e,eD))},getSearch:function(){var e=this.query;return e?"?"+e:""},setSearch:function(e){""===(e=w(e))?this.query=null:("?"===z(e,0)&&(e=K(e,1)),this.query="",this.parse(e,ej)),this.searchParams.update()},getSearchParams:function(){return this.searchParams.facade},getHash:function(){var e=this.fragment;return e?"#"+e:""},setHash:function(e){if(""===(e=w(e))){this.fragment=null;return}"#"===z(e,0)&&(e=K(e,1)),this.fragment="",this.parse(e,eN)},update:function(){this.query=this.searchParams.serialize()||null}};var eq=function(e){var t=d(this,eW),r=k(arguments.length,1)>1?arguments[1]:void 0,n=P(t,new eF(e,!1,r));a||(t.href=n.serialize(),t.origin=n.getOrigin(),t.protocol=n.getProtocol(),t.username=n.getUsername(),t.password=n.getPassword(),t.host=n.getHost(),t.hostname=n.getHostname(),t.port=n.getPort(),t.pathname=n.getPathname(),t.search=n.getSearch(),t.searchParams=n.getSearchParams(),t.hash=n.getHash())},eW=eq.prototype,eK=function(e,t){return{get:function(){return x(this)[e]()},set:t&&function(e){return x(this)[t](e)},configurable:!0,enumerable:!0}};if(a&&(f(eW,"href",eK("serialize","setHref")),f(eW,"origin",eK("getOrigin")),f(eW,"protocol",eK("getProtocol","setProtocol")),f(eW,"username",eK("getUsername","setUsername")),f(eW,"password",eK("getPassword","setPassword")),f(eW,"host",eK("getHost","setHost")),f(eW,"hostname",eK("getHostname","setHostname")),f(eW,"port",eK("getPort","setPort")),f(eW,"pathname",eK("getPathname","setPathname")),f(eW,"search",eK("getSearch","setSearch")),f(eW,"searchParams",eK("getSearchParams")),f(eW,"hash",eK("getHash","setHash"))),c(eW,"toJSON",function(){return x(this).serialize()},{enumerable:!0}),c(eW,"toString",function(){return x(this).serialize()},{enumerable:!0}),R){var eB=R.createObjectURL,e$=R.revokeObjectURL;eB&&c(eq,"createObjectURL",l(eB,R)),e$&&c(eq,"revokeObjectURL",l(e$,R))}S(eq,"URL"),i({global:!0,constructor:!0,forced:!o,sham:!a},{URL:eq})},74302(e,t,r){r(6184)},30686(e,t,r){var n=r(64808),i=r(33179);n({target:"URL",proto:!0,enumerable:!0},{toJSON:function(){return i(URL.prototype.toString,this)}})},27213(e,t,r){function n(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}r.d(t,{_:()=>n})},50784(e,t,r){r(36395),r(20498),r(40807),r(85281),r(67548),r(70954),r(98803),r(79162),r(15385),r(39342),r(69152),r(20303),r(99166),r(6106),r(93619),r(22742),r(24330),r(37553),r(62148),r(89055),r(41435),r(12205),r(65850),r(65135);var n=Object.prototype.hasOwnProperty;function i(e,t,r){for(r of e.keys())if(a(r,t))return r}function a(e,t){var r,o,s;if(e===t)return!0;if(e&&t&&(r=e.constructor)===t.constructor){if(r===Date)return e.getTime()===t.getTime();if(r===RegExp)return e.toString()===t.toString();if(r===Array){if((o=e.length)===t.length)for(;o--&&a(e[o],t[o]););return -1===o}if(r===Set){if(e.size!==t.size)return!1;for(o of e)if((s=o)&&"object"==typeof s&&!(s=i(t,s))||!t.has(s))return!1;return!0}if(r===Map){if(e.size!==t.size)return!1;for(o of e)if((s=o[0])&&"object"==typeof s&&!(s=i(t,s))||!a(o[1],t.get(s)))return!1;return!0}if(r===ArrayBuffer)e=new Uint8Array(e),t=new Uint8Array(t);else if(r===DataView){if((o=e.byteLength)===t.byteLength)for(;o--&&e.getInt8(o)===t.getInt8(o););return -1===o}if(ArrayBuffer.isView(e)){if((o=e.byteLength)===t.byteLength)for(;o--&&e[o]===t[o];);return -1===o}if(!r||"object"==typeof e){for(r in o=0,e)if(n.call(e,r)&&++o&&!n.call(t,r)||!(r in t)||!a(e[r],t[r]))return!1;return Object.keys(t).length===o}}return e!=e&&t!=t}r.d(t,{j:()=>a})},86575(e,t,r){function n(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function i(e){return function(t){let r=null!=t?t:this;if(!r)throw TypeError("".concat(e.kind||e.name," type guard requires an error object"));if(e.kind&&"object"==typeof r&&null!==r&&"constructor"in r){var n;if((null==(n=r.constructor)?void 0:n.kind)===e.kind)return!0}return r instanceof e}}r(15254),r(20498),r(40807),r(85281),r(96954);var a,o,s=(a=class e extends Error{get name(){return this.constructor.name}toString(){return"[".concat(this.name,"]\nMessage:").concat(this.message)}static formatMessage(e,t,r,n){let i="Clerk:",a=RegExp(i.replace(" ","\\s*"),"i");return t=t.replace(a,""),t="".concat(i," ").concat(t.trim(),'\n\n(code="').concat(r,'")\n\n'),n&&(t+="\n\nDocs: ".concat(n)),t}constructor(t){super(new.target.formatMessage(new.target.kind,t.message,t.code,t.docsUrl),{cause:t.cause}),n(this,"clerkError",!0),n(this,"code",void 0),n(this,"longMessage",void 0),n(this,"docsUrl",void 0),n(this,"cause",void 0),Object.setPrototypeOf(this,e.prototype),this.code=t.code,this.docsUrl=t.docsUrl,this.longMessage=t.longMessage,this.cause=t.cause}},n(a,"kind","ClerkError"),a),l=(o=class e extends s{constructor(t,r){super({...r,message:t}),n(this,"clerkRuntimeError",!0),Object.setPrototypeOf(this,e.prototype)}},n(o,"kind","ClerkRuntimeError"),o);let u=i(l);r.d(t,{a:()=>i,r:()=>s,t:()=>l},{n:u})},64093(e,t,r){r(73560);var n=r(98591);r.d(t,{},{t:()=>{let e=n.t,t=n.t;return{promise:new Promise((r,n)=>{e=r,t=n}),resolve:e,reject:t}}})},21663(e,t,r){r(42949),r(37891),r(85281),r(29381),r(96954),r(36395),r(15254),r(52277),r(67548),r(70954),r(98803),r(79162),r(15385),r(39342),r(69152),r(12021);var n,i,a,o,s=r(47127),l=r(86575);function u(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var c=(n=class{constructor(e){var t,r,n,i,a,o,s,l,c,f,d,h,p,g,y,m,b;u(this,"code",void 0),u(this,"message",void 0),u(this,"longMessage",void 0),u(this,"meta",void 0);const w={code:e.code,message:e.message,longMessage:e.long_message,meta:{paramName:null==(t=e.meta)?void 0:t.param_name,sessionId:null==(r=e.meta)?void 0:r.session_id,emailAddresses:null==(n=e.meta)?void 0:n.email_addresses,identifiers:null==(i=e.meta)?void 0:i.identifiers,zxcvbn:null==(a=e.meta)?void 0:a.zxcvbn,plan:null==(o=e.meta)?void 0:o.plan,isPlanUpgradePossible:null==(s=e.meta)?void 0:s.is_plan_upgrade_possible,seatsQuantityToAdd:null==(l=e.meta)?void 0:l.seats_quantity_to_add,seatsQuantity:null==(c=e.meta)?void 0:c.seats_quantity,traceId:null==(f=e.meta)?void 0:f.trace_id,kind:null==(d=e.meta)?void 0:d.kind,title:null==(h=e.meta)?void 0:h.title,description:null==(p=e.meta)?void 0:p.description,linkUrl:null==(g=e.meta)?void 0:g.link_url,linkText:null==(y=e.meta)?void 0:y.link_text,data:null==(m=e.meta)?void 0:m.data,providerError:null==(b=e.meta)?void 0:b.provider_error}};this.code=w.code,this.message=w.message,this.longMessage=w.longMessage,this.meta=w.meta}},u(n,"kind","ClerkAPIError"),n);(0,l.a)(c);var f=(i=class e extends l.r{toString(){let e="[".concat(this.name,"]\nMessage:").concat(this.message,"\nStatus:").concat(this.status,"\nSerialized errors: ").concat(this.errors.map(e=>JSON.stringify(e)));return this.clerkTraceId&&(e+="\nClerk Trace ID: ".concat(this.clerkTraceId)),e}static formatMessage(e,t,r,n){return t}constructor(t,r){const{data:n,status:i,clerkTraceId:a,retryAfter:o}=r;super({...r,message:t,code:"api_response_error"}),u(this,"status",void 0),u(this,"clerkTraceId",void 0),u(this,"retryAfter",void 0),u(this,"errors",void 0),Object.setPrototypeOf(this,e.prototype),this.status=i,this.clerkTraceId=a,this.retryAfter=o,this.errors=(n||[]).map(e=>new c(e))}},u(i,"kind","ClerkAPIResponseError"),i);let d=(0,l.a)(f);u(a=class e extends f{static is(t){return d(t)&&t.status===e.STATUS&&t.errors.length>0&&t.errors[0].code===e.ERROR_CODE}},"kind","MissingExpiredTokenError"),u(a,"ERROR_CODE","missing_expired_token"),u(a,"STATUS",422),u(o=class e extends l.t{static is(t){return null!=t&&(t instanceof e||(0,l.n)(t)&&t.code===e.ERROR_CODE)}constructor(t){super(t,{code:e.ERROR_CODE}),Object.setPrototypeOf(this,e.prototype)}},"kind","ClerkOfflineError"),u(o,"ERROR_CODE","clerk_offline");let h=Object.freeze({InvalidProxyUrlErrorMessage:"The proxyUrl passed to Clerk is invalid. The expected value for proxyUrl is an absolute URL or a relative path with a leading '/'. (key={{url}})",InvalidPublishableKeyErrorMessage:"The publishableKey passed to Clerk is invalid (key={{key}}, expected format: pk_test_... or pk_live_...).\n\n".concat(s.n),MissingPublishableKeyErrorMessage:"Clerk keys are missing from your environment.\n\n".concat(s.n),MissingSecretKeyErrorMessage:"Missing secretKey.\n\n".concat(s.t),MissingClerkProvider:"{{source}} can only be used within the <ClerkProvider /> component. Learn more: https://clerk.com/docs/components/clerk-provider"});function p(e){let{packageName:t,customMessages:r}=e,n=t;function i(e,t){if(!t)return"".concat(n,": ").concat(e);let r=e;for(let n of e.matchAll(/{{([a-zA-Z0-9-_]+)}}/g)){let e=(t[n[1]]||"").toString();r=r.replace("{{".concat(n[1],"}}"),e)}return"".concat(n,": ").concat(r)}let a={...h,...r};return{setPackageName(e){let{packageName:t}=e;return"string"==typeof t&&(n=t),this},setMessages(e){let{customMessages:t}=e;return Object.assign(a,t||{}),this},throwInvalidPublishableKeyError(e){throw Error(i(a.InvalidPublishableKeyErrorMessage,e))},throwInvalidProxyUrl(e){throw Error(i(a.InvalidProxyUrlErrorMessage,e))},throwMissingPublishableKeyError(){throw Error(i(a.MissingPublishableKeyErrorMessage))},throwMissingSecretKeyError(){throw Error(i(a.MissingSecretKeyErrorMessage))},throwMissingClerkProviderError(e){throw Error(i(a.MissingClerkProvider,e))},throw(e){throw Error(i(e))}}}function g(e){return d(e)||m(e)||(0,l.n)(e)}function y(e){return(0,l.n)(e)&&"reverification_cancelled"===e.code}function m(e){return"code"in e&&[4001,32602,32603].includes(e.code)&&"message"in e}function b(e){var t,r;return d(e)&&(null==(r=e.errors)||null==(t=r[0])?void 0:t.code)==="user_locked"}function w(e){var t,r;return d(e)&&(null==(r=e.errors)||null==(t=r[0])?void 0:t.code)==="form_password_pwned"}function S(e){var t,r;return d(e)&&(null==(r=e.errors)||null==(t=r[0])?void 0:t.code)==="form_password_compromised"}function k(e){return"EmailLinkError"===e.name}r.d(t,{a:()=>k,d:()=>y,l:()=>S,m:()=>b,o:()=>g,s:()=>m,u:()=>w,y:()=>p},{C:d,v:{Expired:"expired",Failed:"failed",ClientMismatch:"client_mismatch"}})},47127(e,t,r){let n="To use an existing Clerk app, run:\nnpx clerk@latest link\nnpx clerk@latest env pull\n\nFor production keys, run:\nnpx clerk@latest env pull --instance prod",i="Or copy keys from https://dashboard.clerk.com/~/api-keys into your .env file.",a="To create a new Clerk app, run:\nnpx clerk@latest init\n\n'npx clerk@latest init' does not need a Clerk account and writes temporary dev keys.\n\n".concat(n,"\n\n").concat(i),o="".concat(n,"\n\n").concat(i);r.d(t,{},{n:a,t:o})},98591(e,t,r){r.d(t,{},{t:function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r]}})},91311(e,t,r){r(52277),r(42949),r(12021),r.d(t,{},{a:()=>!1,i:()=>{try{return!0}catch{}return!1},r:()=>!1,t:["CI","CONTINUOUS_INTEGRATION","GITHUB_ACTIONS","GITLAB_CI","CIRCLECI","TRAVIS","BUILDKITE","BITBUCKET_BUILD_NUMBER","APPVEYOR","CODEBUILD_BUILD_ID","TF_BUILD","TEAMCITY_VERSION","JENKINS_URL","HUDSON_URL","BAMBOO_BUILDKEY","CF_PAGES"]})},65532(e,t,r){var n,i,a,o,s,l,u,c,f,d,h,p,g,y,m;r(42949),r(12021),r(36395),r(32037),r(67548),r(70954),r(98803),r(79162),r(15385),r(39342),r(69152),r(14104),r(37891),r(18723),r(74302),r(30686),r(38978),r(52205),r(40768),r(76235),r(73560),r(61102),r(91311),r(56874),Symbol.for("@clerk/shared.telemetryNoticeShown"),n=new WeakMap,i=new WeakMap,a=new WeakSet,o=new WeakMap,s=new WeakSet,l=new WeakMap,u=new WeakMap,c=new WeakMap,f=new WeakMap,d=new WeakMap,h=new WeakMap,p=new WeakMap,g=new WeakSet,y=new WeakSet,m=new WeakSet;let b=new Set(["SignIn","SignUp"]);function w(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return{event:"COMPONENT_MOUNTED",eventSamplingRate:b.has(e)?1:.1,payload:{component:e,...t}}}function S(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1;return{event:"FLOW_STEP_MOUNTED",eventSamplingRate:n,payload:{flow:e,step:t,metadata:r}}}function k(e,t){return{event:"METHOD_CALLED",eventSamplingRate:.1,payload:{method:e,...t}}}r.d(t,{a:()=>k,o:()=>S,s:()=>w})},30129(e,t,r){function n(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"svg";return"https://img.clerk.com/static/".concat(e,".").concat(t)}r.d(t,{at:()=>n},{gE:[".lcl.dev",".stg.dev",".lclstage.dev",".stgstage.dev",".dev.lclclerk.com",".stg.lclclerk.com",".accounts.lclclerk.com","accountsstage.dev","accounts.dev"]})},71756(e,t,r){var n=r(86575),i=r(21663);r.d(t,{$R:()=>i.C,Au:()=>i.u,Cm:()=>n.n,I3:()=>i.d,_d:()=>i.m,cR:()=>n.t,hl:()=>i.a,kl:()=>i.v,qY:()=>i.l,si:()=>i.s,ux:()=>i.o})},70355(e,t,r){r.d(t,{},{CL:"__clerk_modal_state",Ej:["redirect_url","after_sign_in_url","after_sign_up_url","sign_in_force_redirect_url","sign_in_fallback_redirect_url","sign_up_force_redirect_url","sign_up_fallback_redirect_url"],MC:"__clerk_satellite_url",OQ:{FORM_IDENTIFIER_NOT_FOUND:"form_identifier_not_found",FORM_PASSWORD_INCORRECT:"form_password_incorrect",FORM_PASSWORD_PWNED:"form_password_pwned",INVALID_STRATEGY_FOR_USER:"strategy_for_user_invalid",NOT_ALLOWED_TO_SIGN_UP:"not_allowed_to_sign_up",OAUTH_ACCESS_DENIED:"oauth_access_denied",OAUTH_EMAIL_DOMAIN_RESERVED_BY_SAML:"oauth_email_domain_reserved_by_saml",NOT_ALLOWED_ACCESS:"not_allowed_access",SAML_USER_ATTRIBUTE_MISSING:"saml_user_attribute_missing",USER_LOCKED:"user_locked",EXTERNAL_ACCOUNT_NOT_FOUND:"external_account_not_found",EXTERNAL_ACCOUNT_EXISTS:"external_account_exists",SESSION_EXISTS:"session_exists",SIGN_UP_MODE_RESTRICTED:"sign_up_mode_restricted",SIGN_UP_MODE_RESTRICTED_WAITLIST:"sign_up_restricted_waitlist",ENTERPRISE_SSO_USER_ATTRIBUTE_MISSING:"enterprise_sso_user_attribute_missing",ENTERPRISE_SSO_EMAIL_ADDRESS_DOMAIN_MISMATCH:"enterprise_sso_email_address_domain_mismatch",ENTERPRISE_SSO_HOSTED_DOMAIN_MISMATCH:"enterprise_sso_hosted_domain_mismatch",SAML_EMAIL_ADDRESS_DOMAIN_MISMATCH:"saml_email_address_domain_mismatch",INVITATION_ACCOUNT_NOT_EXISTS:"invitation_account_not_exists",ORGANIZATION_MEMBERSHIP_QUOTA_EXCEEDED_FOR_SSO:"organization_membership_quota_exceeded_for_sso",CAPTCHA_INVALID:"captcha_invalid",FRAUD_DEVICE_BLOCKED:"device_blocked",FRAUD_ACTION_BLOCKED:"action_blocked",PROTECT_CHECK_ALREADY_RESOLVED:"protect_check_already_resolved",PROTECT_CHECK_REQUIRED:"protect_check_required",PROTECT_CHECK_TIMED_OUT:"protect_check_timed_out",PROTECT_CHECK_UNSUPPORTED_ENVIRONMENT:"protect_check_unsupported_environment",SIGNUP_RATE_LIMIT_EXCEEDED:"signup_rate_limit_exceeded",USER_BANNED:"user_banned",USER_DEACTIVATED:"user_deactivated"},P6:{PUBLIC:"public",RESTRICTED:"restricted",WAITLIST:"waitlist"},UU:["email_address","phone_number","username","first_name","last_name"],Wl:"clerk-captcha",e8:["email_address","phone_number","username"],rt:"__clerk_synced",tz:"suffixed_cookies"})},91117(e,t,r){r(15254);let n="ClerkJS:";function i(e){throw Error("".concat(n," Missing path option. The ").concat(e,' component was mounted with path routing so you need to specify the path where the component is mounted on e.g. path="/sign-in".'))}function a(e){throw Error("".concat(n," Invalid routing strategy, path cannot be used in tandem with ").concat(e,"."))}function o(){throw Error("".concat(n," Clerk instance not found. Make sure Clerk is initialized before using any Clerk components."))}function s(e){throw Error("".concat(n," ").concat(e," not found. Make sure you wrap your app with <").concat(e,">."))}function l(){throw Error("".concat(n," The target element is empty. Provide a valid DOM element."))}function u(e,t){throw Error("".concat(n," Response: ").concat(e||0," not supported yet.\nFor more information contact us at ").concat(t))}function c(e){throw Error("".concat(n," Unable to retrieve a third party script").concat(e?" ".concat(e):"","."))}r.d(t,{$V:()=>l,A8:()=>c,SK:()=>a,i$:()=>s,jB:()=>i,kX:()=>o,wv:()=>u})},1715(e,t,r){r.d(t,{hF:()=>s,hI:()=>a,rw:()=>o}),r(36395),r(74302),r(30686),r(38978),r(52205),r(40768),r(76235),r(85281),r(52277),r(61102);var n=r(70355);let i=["__clerk_status","__clerk_created_session","__clerk_invitation_token","__clerk_ticket","__clerk_modal_state","__clerk_handshake","__clerk_handshake_nonce","__clerk_help","__clerk_netlify_cache_bust",n.rt,n.MC,n.tz];function a(e){return new URL(window.location.href).searchParams.get(e)||null}function o(e){let t=new URL(window.location.href);t.searchParams.has(e)&&(t.searchParams.delete(e),window.history.replaceState(window.history.state,"",t))}function s(e){let t=new URLSearchParams(window.location.search),r=e||new URLSearchParams;for(let e of i){let n=t.get(e);n&&r.set(e,n)}return r}},32638(e,t,r){r.d(t,{j:()=>o,F:()=>a}),r(32037),r(85281),r(96954),r(36395),r(74302),r(30686),r(38978),r(52205),r(40768),r(76235);var n=r(70355),i=r(1715);r(42949),r(37891);let a=()=>{var e;let t=null!=(e=(0,i.hI)("__clerk_modal_state"))?e:"";return t?JSON.parse(atob(t)):null},o=e=>{let{url:t,startPath:r="/user",currentPath:i="",componentName:a,socialProvider:o=""}=e,s=globalThis.btoa(JSON.stringify({path:i.replace(/CLERK-ROUTER\/VIRTUAL\/.*\//,"")||"",componentName:a,startPath:r,socialProvider:o})),l=new URL(t),u=l.searchParams;return u.set(n.CL,s),l.search=u.toString(),l.toString()}},67665(e,t,r){r(32037),r.d(t,{},{y:e=>"u">typeof atob&&"function"==typeof atob?atob(e):void 0!==globalThis.Buffer?globalThis.Buffer.from(e,"base64").toString():e})},61102(e,t,r){r.d(t,{RZ:()=>c,iE:()=>f,q5:()=>l}),r(42949),r(12021),r(85281),r(96954),r(15254),r(52277),r(36395),r(20303),r(99166),r(6106),r(93619),r(22742),r(24330),r(37553),r(62148),r(89055),r(41435),r(12205),r(65850),r(65135),r(73560);var n=r(30129),i=r(47127),a=r(67665);r(32037);let o="pk_live_";function s(e){if(!e.endsWith("$"))return!1;let t=e.slice(0,-1);return!t.includes("$")&&t.includes(".")}function l(e){let t,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!(e=e||"")||!u(e)){if(r.fatal&&!e)throw Error("Publishable key is missing.\n\n".concat(i.n));if(r.fatal&&!u(e))throw Error("Publishable key not valid (expected format: pk_test_... or pk_live_...).\n\n".concat(i.n));return null}let n=e.startsWith(o)?"production":"development";try{t=(0,a.y)(e.split("_")[2])}catch{if(r.fatal)throw Error("Publishable key not valid: Failed to decode key.\n\n".concat(i.n));return null}if(!s(t)){if(r.fatal)throw Error("Publishable key not valid: Decoded key has invalid format.\n\n".concat(i.n));return null}let l=t.slice(0,-1);return r.proxyUrl?l=r.proxyUrl:"development"!==n&&r.domain&&r.isSatellite&&(l="clerk.".concat(r.domain)),{instanceType:n,frontendApi:l}}function u(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";try{if(!(e.startsWith(o)||e.startsWith("pk_test_")))return!1;let t=e.split("_");if(3!==t.length)return!1;let r=t[2];if(!r)return!1;return s((0,a.y)(r))}catch{return!1}}function c(){let e=new Map;return{isDevOrStagingUrl:t=>{if(!t)return!1;let r="string"==typeof t?t:t.hostname,i=e.get(r);return void 0===i&&(i=n.gE.some(e=>r.endsWith(e)),e.set(r,i)),i}}}function f(e){return e.startsWith("test_")||e.startsWith("pk_test_")}},62826(e,t,r){r(67548),r(70954),r(98803),r(79162),r(15385),r(39342),r(69152),r(36395);let n=new Set;r.d(t,{},{v:{warnOnce:e=>{n.has(e)||(n.add(e),console.warn(e))},logOnce:e=>{n.has(e)||(console.log(e),n.add(e))}}})},36762(e,t,r){let n,i,a,o,s,l,u,c,f,d;r.d(t,{Ow:()=>nS,ED:()=>ru,kN:()=>rv,N$:()=>nZ,Rx:()=>rm,cl:()=>nQ,Tn:()=>nV,v$:()=>nn,t7:()=>r7,Jl:()=>nG,X$:()=>r9,rg:()=>ne,tr:()=>r4,kH:()=>nr,WO:()=>rZ,pH:()=>na,ZD:()=>ns,It:()=>rj,zU:()=>np,R:()=>nm,xo:()=>ng,Rs:()=>nv,QE:()=>nh,yS:()=>nb,n6:()=>nd,rn:()=>nw,hl:()=>nc,Dc:()=>nu,LS:()=>rN,Fm:()=>nl,Mn:()=>rA,bm:()=>nf,e3:()=>rl,O4:()=>rI,ho:()=>rF,Oc:()=>r6,$U:()=>rM,Yk:()=>rU,Z5:()=>rK,OM:()=>r$,D_:()=>rY,Sj:()=>n0,Wp:()=>r2,UQ:()=>rQ,wV:()=>rG,Jd:()=>r1}),r(15254),r(36395),r(73560),r(92033),r(52277),r(42949),r(18723),r(37891),r(99780),r(85281),r(96954),r(20498),r(40807),r(86449),r(49678),r(31178),r(14104),r(34330),r(46455);let h="reverification-error";r(67548),r(70954),r(98803),r(79162),r(15385),r(39342),r(69152),r(12021);let p={strict_mfa:{afterMinutes:10,level:"multi_factor"},strict:{afterMinutes:10,level:"second_factor"},moderate:{afterMinutes:60,level:"second_factor"},lax:{afterMinutes:1440,level:"second_factor"}},g=new Set(["first_factor","second_factor","multi_factor"]),y=new Set(["strict_mfa","strict","moderate","lax"]);var m,b,w,S,k,E,_,P,x,C,O,R,I,A,T,M,z,D,L,U,j,N,F,q,W,K,B,$,V,Y,Q,H,G,J,X,Z,ee,et,er,en,ei,ea,eo,es,el,eu,ec,ef,ed,eh,ep,ev,eg,ey,em,eb,ew,eS,ek,eE,e_=r(86575),eP=r(21663),ex=r(62826),eC=r(65532),eO=r(64093),eR=r(91117),eI=r(59701);function eA(e,t,r){if(!t.has(e))throw TypeError("attempted to "+r+" private field on non-instance");return t.get(e)}function eT(e,t){var r=eA(e,t,"get");return r.get?r.get.call(e):r.value}function eM(e,t,r){if(t.has(e))throw TypeError("Cannot initialize the same private elements twice on an object");t.set(e,r)}r(84086);let ez={setTimeout:(e,t)=>setTimeout(e,t),clearTimeout:e=>clearTimeout(e),setInterval:(e,t)=>setInterval(e,t),clearInterval:e=>clearInterval(e)},eD=new(w=new WeakMap,S=new WeakMap,class{setTimeoutProvider(e){var t=this,r=w,n=e,i=eA(t,r,"set");if(i.set)i.set.call(t,n);else{if(!i.writable)throw TypeError("attempted to set read only private field");i.value=n}}setTimeout(e,t){return eT(this,w).setTimeout(e,t)}clearTimeout(e){eT(this,w).clearTimeout(e)}setInterval(e,t){return eT(this,w).setInterval(e,t)}clearInterval(e){eT(this,w).clearInterval(e)}constructor(){eM(this,w,{writable:!0,value:ez}),eM(this,S,{writable:!0,value:!1})}}),eL="u"<typeof window||"Deno"in globalThis;function eU(){}function ej(e){return"number"==typeof e&&e>=0&&e!==1/0}function eN(e,t){return Math.max(e+(t||0)-Date.now(),0)}function eF(e,t){return"function"==typeof e?e(t):e}function eq(e,t){let{type:r="all",exact:n,fetchStatus:i,predicate:a,queryKey:o,stale:s}=e;if(o){if(n){if(t.queryHash!==eK(o,t.options))return!1}else if(!e$(t.queryKey,o))return!1}if("all"!==r){let e=t.isActive();if("active"===r&&!e||"inactive"===r&&e)return!1}return("boolean"!=typeof s||t.isStale()===s)&&(!i||i===t.state.fetchStatus)&&(!a||!!a(t))}function eW(e,t){let{exact:r,status:n,predicate:i,mutationKey:a}=e;if(a){if(!t.options.mutationKey)return!1;if(r){if(eB(t.options.mutationKey)!==eB(a))return!1}else if(!e$(t.options.mutationKey,a))return!1}return(!n||t.state.status===n)&&(!i||!!i(t))}function eK(e,t){return((null==t?void 0:t.queryKeyHashFn)||eB)(e)}function eB(e){return JSON.stringify(e,(e,t)=>eH(t)?Object.keys(t).sort().reduce((e,r)=>(e[r]=t[r],e),{}):t)}function e$(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(e&&t&&"object"==typeof e&&"object"==typeof t){if(Array.isArray(e)&&Array.isArray(t)){for(let r=0;r<t.length;r++)if(!e$(e[r],t[r]))return!1;return!0}for(let r of Object.keys(t))if(!e$(e[r],t[r]))return!1;return!0}return!1}let eV=Object.prototype.hasOwnProperty;function eY(e,t){if(!t||Object.keys(e).length!==Object.keys(t).length)return!1;for(let r in e)if(e[r]!==t[r])return!1;return!0}function eQ(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function eH(e){if(!eG(e))return!1;let t=e.constructor;if(void 0===t)return!0;let r=t.prototype;return!!eG(r)&&!!r.hasOwnProperty("isPrototypeOf")&&Object.getPrototypeOf(e)===Object.prototype}function eG(e){return"[object Object]"===Object.prototype.toString.call(e)}function eJ(e,t,r){return"function"==typeof r.structuralSharing?r.structuralSharing(e,t):!1!==r.structuralSharing?function e(t,r){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(t===r)return t;if(n>500)return r;let i=eQ(t)&&eQ(r);if(!i&&!(eH(t)&&eH(r)))return r;let a=(i?t:Object.keys(t)).length,o=i?r:Object.keys(r),s=o.length,l=i?Array(s):{},u=0;for(let c=0;c<s;c++){let s=i?c:o[c],f=t[s],d=r[s];if(f===d){l[s]=f,(i?c<a:eV.call(t,s))&&u++;continue}if(null===f||null===d||"object"!=typeof f||"object"!=typeof d){l[s]=d;continue}let h=e(f,d,n+1);l[s]=h,h===f&&u++}return a===s&&u===a?t:l}(e,t):t}function eX(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,n=[...e,t];return r&&n.length>r?n.slice(1):n}function eZ(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,n=[t,...e];return r&&n.length>r?n.slice(0,-1):n}let e0=Symbol();function e1(e,t){return!e.queryFn&&(null==t?void 0:t.initialPromise)?()=>t.initialPromise:e.queryFn&&e.queryFn!==e0?e.queryFn:()=>Promise.reject(Error("Missing queryFn: '".concat(e.queryHash,"'")))}var e6=class{subscribe(e){return this.listeners.add(e),this.onSubscribe(),()=>{this.listeners.delete(e),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}};function e5(e,t,r){if(!t.has(e))throw TypeError("attempted to "+r+" private field on non-instance");return t.get(e)}function e2(e,t){var r=e5(e,t,"get");return r.get?r.get.call(e):r.value}function e8(e,t,r){if(t.has(e))throw TypeError("Cannot initialize the same private elements twice on an object");t.set(e,r)}function e3(e,t,r){var n=e5(e,t,"set");if(n.set)n.set.call(e,r);else{if(!n.writable)throw TypeError("attempted to set read only private field");n.value=r}return r}let e4=new(k=new WeakMap,E=new WeakMap,_=new WeakMap,class extends e6{onSubscribe(){e2(this,E)||this.setEventListener(e2(this,_))}onUnsubscribe(){var e;this.hasListeners()||(null==(e=e2(this,E))||e.call(this),e3(this,E,void 0))}setEventListener(e){var t;e3(this,_,e),null==(t=e2(this,E))||t.call(this),e3(this,E,e(e=>{"boolean"==typeof e?this.setFocused(e):this.onFocus()}))}setFocused(e){e2(this,k)!==e&&(e3(this,k,e),this.onFocus())}onFocus(){let e=this.isFocused();this.listeners.forEach(t=>{t(e)})}isFocused(){var e;return"boolean"==typeof e2(this,k)?e2(this,k):(null==(e=globalThis.document)?void 0:e.visibilityState)!=="hidden"}constructor(){super(),e8(this,k,{writable:!0,value:void 0}),e8(this,E,{writable:!0,value:void 0}),e8(this,_,{writable:!0,value:void 0}),e3(this,_,e=>{if("u">typeof window&&window.addEventListener){let t=()=>e();return window.addEventListener("visibilitychange",t,!1),()=>{window.removeEventListener("visibilitychange",t)}}})}}),e7=(i=[],a=0,o=e=>{e()},s=e=>{e()},l=function(e){setTimeout(e,0)},{batch:e=>{let t;a++;try{t=e()}finally{let e;--a||(e=i,i=[],e.length&&l(()=>{s(()=>{e.forEach(e=>{o(e)})})}))}return t},batchCalls:e=>function(){for(var t=arguments.length,r=Array(t),n=0;n<t;n++)r[n]=arguments[n];u(()=>{e(...r)})},schedule:u=e=>{a?i.push(e):l(()=>{o(e)})},setNotifyFunction:e=>{o=e},setBatchNotifyFunction:e=>{s=e},setScheduler:e=>{l=e}});function e9(e,t,r){if(!t.has(e))throw TypeError("attempted to "+r+" private field on non-instance");return t.get(e)}function te(e,t){var r=e9(e,t,"get");return r.get?r.get.call(e):r.value}function tt(e,t,r){if(t.has(e))throw TypeError("Cannot initialize the same private elements twice on an object");t.set(e,r)}function tr(e,t,r){var n=e9(e,t,"set");if(n.set)n.set.call(e,r);else{if(!n.writable)throw TypeError("attempted to set read only private field");n.value=r}return r}let tn=new(P=new WeakMap,x=new WeakMap,C=new WeakMap,class extends e6{onSubscribe(){te(this,x)||this.setEventListener(te(this,C))}onUnsubscribe(){var e;this.hasListeners()||(null==(e=te(this,x))||e.call(this),tr(this,x,void 0))}setEventListener(e){var t;tr(this,C,e),null==(t=te(this,x))||t.call(this),tr(this,x,e(this.setOnline.bind(this)))}setOnline(e){te(this,P)!==e&&(tr(this,P,e),this.listeners.forEach(t=>{t(e)}))}isOnline(){return te(this,P)}constructor(){super(),tt(this,P,{writable:!0,value:!0}),tt(this,x,{writable:!0,value:void 0}),tt(this,C,{writable:!0,value:void 0}),tr(this,C,e=>{if("u">typeof window&&window.addEventListener){let t=()=>e(!0),r=()=>e(!1);return window.addEventListener("online",t,!1),window.addEventListener("offline",r,!1),()=>{window.removeEventListener("online",t),window.removeEventListener("offline",r)}}})}});function ti(e){return Math.min(1e3*2**e,3e4)}function ta(e){return(null!=e?e:"online")!=="online"||tn.isOnline()}var to=class extends Error{constructor(e){super("CancelledError"),this.revert=null==e?void 0:e.revert,this.silent=null==e?void 0:e.silent}};function ts(e){let t,r,n,i=!1,a=0,o="pending",s=new Promise((e,t)=>{r=e,n=t});s.catch(eU);let l=()=>e4.isFocused()&&("always"===e.networkMode||tn.isOnline())&&e.canRun(),u=()=>ta(e.networkMode)&&e.canRun(),c=e=>{"pending"===o&&(null==t||t(),o="resolved",r(e))},f=e=>{"pending"===o&&(null==t||t(),o="rejected",n(e))},d=()=>new Promise(r=>{var n;t=e=>{("pending"!==o||l())&&r(e)},null==(n=e.onPause)||n.call(e)}).then(()=>{var r;t=void 0,"pending"===o&&(null==(r=e.onContinue)||r.call(e))}),h=()=>{let t;if("pending"!==o)return;let r=0===a?e.initialPromise:void 0;try{t=null!=r?r:e.fn()}catch(e){t=Promise.reject(e)}Promise.resolve(t).then(c).catch(t=>{var r,n,s;if("pending"!==o)return;let u=null!=(r=e.retry)?r:3*!eL,c=null!=(n=e.retryDelay)?n:ti,p="function"==typeof c?c(a,t):c,g=!0===u||"number"==typeof u&&a<u||"function"==typeof u&&u(a,t);i||!g?f(t):(a++,null==(s=e.onFail)||s.call(e,a,t),new Promise(e=>{eD.setTimeout(e,p)}).then(()=>l()?void 0:d()).then(()=>{i?f(t):h()}))})};return{promise:s,status:()=>o,cancel:t=>{if("pending"===o){var r;let n=new to(t);f(n),null==(r=e.onCancel)||r.call(e,n)}},continue:()=>(null==t||t(),s),cancelRetry:()=>{i=!0},continueRetry:()=>{i=!1},canStart:u,start:()=>(u()?h():d().then(h),s)}}function tl(e,t,r){if(!t.has(e))throw TypeError("attempted to "+r+" private field on non-instance");return t.get(e)}function tu(e,t){var r=tl(e,t,"get");return r.get?r.get.call(e):r.value}function tc(e,t,r){var n=tl(e,t,"set");if(n.set)n.set.call(e,r);else{if(!n.writable)throw TypeError("attempted to set read only private field");n.value=r}return r}var tf=(O=new WeakMap,class{destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),ej(this.gcTime)&&tc(this,O,eD.setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,null!=e?e:eL?1/0:3e5)}clearGcTimeout(){void 0!==tu(this,O)&&(eD.clearTimeout(tu(this,O)),tc(this,O,void 0))}constructor(){!function(e,t,r){if(t.has(e))throw TypeError("Cannot initialize the same private elements twice on an object");t.set(e,r)}(this,O,{writable:!0,value:void 0})}});function td(e,t){if(t.has(e))throw TypeError("Cannot initialize the same private elements twice on an object")}function th(e,t,r){if(!t.has(e))throw TypeError("attempted to "+r+" private field on non-instance");return t.get(e)}function tp(e,t){var r=th(e,t,"get");return r.get?r.get.call(e):r.value}function tv(e,t,r){td(e,t),t.set(e,r)}function tg(e,t,r){var n=th(e,t,"set");if(n.set)n.set.call(e,r);else{if(!n.writable)throw TypeError("attempted to set read only private field");n.value=r}return r}function ty(e,t,r){if(!t.has(e))throw TypeError("attempted to get private field on non-instance");return r}var tm=(R=new WeakMap,I=new WeakMap,A=new WeakMap,T=new WeakMap,M=new WeakSet,class extends tf{setOptions(e){this.options=e,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(e){tp(this,I).includes(e)||(tp(this,I).push(e),this.clearGcTimeout(),tp(this,A).notify({type:"observerAdded",mutation:this,observer:e}))}removeObserver(e){tg(this,I,tp(this,I).filter(t=>t!==e)),this.scheduleGc(),tp(this,A).notify({type:"observerRemoved",mutation:this,observer:e})}optionalRemove(){tp(this,I).length||("pending"===this.state.status?this.scheduleGc():tp(this,A).remove(this))}continue(){var e,t;return null!=(e=null==(t=tp(this,T))?void 0:t.continue())?e:"pending"===this.state.status?this.execute(this.state.variables):Promise.resolve()}async execute(e){var t,r,n,i,a,o,s,l,u,c,f,d,h,p,g,y,m,b,w;let S=()=>{ty(this,M,tb).call(this,{type:"continue"})},k={client:tp(this,R),meta:this.options.meta,mutationKey:this.options.mutationKey},E=tg(this,T,ts({fn:()=>this.options.mutationFn?this.options.mutationFn(e,k):Promise.reject(Error("No mutationFn found")),onFail:(e,t)=>{ty(this,M,tb).call(this,{type:"failed",failureCount:e,error:t})},onPause:()=>{ty(this,M,tb).call(this,{type:"pause"})},onContinue:S,retry:null!=(t=this.options.retry)?t:0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>tp(this,A).canRun(this)})),_="pending"===this.state.status,P=!E.canStart();try{if(_)S();else{ty(this,M,tb).call(this,{type:"pending",variables:e,isPaused:P}),tp(this,A).config.onMutate&&await tp(this,A).config.onMutate(e,this,k);let t=await (null==(c=(f=this.options).onMutate)?void 0:c.call(f,e,k));t!==this.state.context&&ty(this,M,tb).call(this,{type:"pending",context:t,variables:e,isPaused:P})}let t=await E.start();return await (null==(r=(n=tp(this,A).config).onSuccess)?void 0:r.call(n,t,e,this.state.context,this,k)),await (null==(i=(a=this.options).onSuccess)?void 0:i.call(a,t,e,this.state.context,k)),await (null==(o=(s=tp(this,A).config).onSettled)?void 0:o.call(s,t,null,this.state.variables,this.state.context,this,k)),await (null==(l=(u=this.options).onSettled)?void 0:l.call(u,t,null,e,this.state.context,k)),ty(this,M,tb).call(this,{type:"success",data:t}),t}catch(t){try{await (null==(d=(h=tp(this,A).config).onError)?void 0:d.call(h,t,e,this.state.context,this,k))}catch(e){Promise.reject(e)}try{await (null==(p=(g=this.options).onError)?void 0:p.call(g,t,e,this.state.context,k))}catch(e){Promise.reject(e)}try{await (null==(y=(m=tp(this,A).config).onSettled)?void 0:y.call(m,void 0,t,this.state.variables,this.state.context,this,k))}catch(e){Promise.reject(e)}try{await (null==(b=(w=this.options).onSettled)?void 0:b.call(w,void 0,t,e,this.state.context,k))}catch(e){Promise.reject(e)}throw ty(this,M,tb).call(this,{type:"error",error:t}),t}finally{tp(this,T)===E&&tg(this,T,void 0),tp(this,A).runNext(this)}}constructor(e){super(),function(e,t){td(e,t),t.add(e)}(this,M),tv(this,R,{writable:!0,value:void 0}),tv(this,I,{writable:!0,value:void 0}),tv(this,A,{writable:!0,value:void 0}),tv(this,T,{writable:!0,value:void 0}),tg(this,R,e.client),this.mutationId=e.mutationId,tg(this,A,e.mutationCache),tg(this,I,[]),this.state=e.state||{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0},this.setOptions(e.options),this.scheduleGc()}});function tb(e){this.state=(t=>{switch(e.type){case"failed":return{...t,failureCount:e.failureCount,failureReason:e.error};case"pause":return{...t,isPaused:!0};case"continue":return{...t,isPaused:!1};case"pending":return{...t,context:e.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:e.isPaused,status:"pending",variables:e.variables,submittedAt:Date.now()};case"success":return{...t,data:e.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...t,data:void 0,error:e.error,failureCount:t.failureCount+1,failureReason:e.error,isPaused:!1,status:"error"}}})(this.state),e7.batch(()=>{tp(this,I).forEach(t=>{t.onMutationUpdate(e)}),tp(this,A).notify({mutation:this,type:"updated",action:e})})}function tw(e,t,r){if(!t.has(e))throw TypeError("attempted to "+r+" private field on non-instance");return t.get(e)}function tS(e,t){var r=tw(e,t,"get");return r.get?r.get.call(e):r.value}function tk(e,t,r){if(t.has(e))throw TypeError("Cannot initialize the same private elements twice on an object");t.set(e,r)}function tE(e,t,r){var n=tw(e,t,"set");if(n.set)n.set.call(e,r);else{if(!n.writable)throw TypeError("attempted to set read only private field");n.value=r}return r}var t_=(z=new WeakMap,D=new WeakMap,L=new WeakMap,class extends e6{build(e,t,r){let n=new tm({client:e,mutationCache:this,mutationId:++function(e,t){var r=tw(e,t,"update");if(r.set){if(!r.get)throw TypeError("attempted to read set only private field");return"__destrWrapper"in r||(r.__destrWrapper={set value(v){r.set.call(e,v)},get value(){return r.get.call(e)}}),r.__destrWrapper}if(!r.writable)throw TypeError("attempted to set read only private field");return r}(this,L).value,options:e.defaultMutationOptions(t),state:r});return this.add(n),n}add(e){tS(this,z).add(e);let t=tP(e);if("string"==typeof t){let r=tS(this,D).get(t);r?r.push(e):tS(this,D).set(t,[e])}this.notify({type:"added",mutation:e})}remove(e){if(tS(this,z).delete(e)){let t=tP(e);if("string"==typeof t){let r=tS(this,D).get(t);if(r)if(r.length>1){let t=r.indexOf(e);-1!==t&&r.splice(t,1)}else r[0]===e&&tS(this,D).delete(t)}}this.notify({type:"removed",mutation:e})}canRun(e){let t=tP(e);if("string"!=typeof t)return!0;{var r;let n=null==(r=tS(this,D).get(t))?void 0:r.find(e=>"pending"===e.state.status);return!n||n===e}}runNext(e){var t,r,n;let i=tP(e);return"string"==typeof i&&null!=(t=null==(n=tS(this,D).get(i))||null==(r=n.find(t=>t!==e&&t.state.isPaused))?void 0:r.continue())?t:Promise.resolve()}clear(){e7.batch(()=>{tS(this,z).forEach(e=>{this.notify({type:"removed",mutation:e})}),tS(this,z).clear(),tS(this,D).clear()})}getAll(){return Array.from(tS(this,z))}find(e){let t={exact:!0,...e};return this.getAll().find(e=>eW(t,e))}findAll(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this.getAll().filter(t=>eW(e,t))}notify(e){e7.batch(()=>{this.listeners.forEach(t=>{t(e)})})}resumePausedMutations(){let e=this.getAll().filter(e=>e.state.isPaused);return e7.batch(()=>Promise.all(e.map(e=>e.continue().catch(eU))))}constructor(e={}){super(),tk(this,z,{writable:!0,value:void 0}),tk(this,D,{writable:!0,value:void 0}),tk(this,L,{writable:!0,value:void 0}),this.config=e,tE(this,z,new Set),tE(this,D,new Map),tE(this,L,0)}});function tP(e){var t;return null==(t=e.options.scope)?void 0:t.id}function tx(e,t){let{pages:r,pageParams:n}=t,i=r.length-1;return r.length>0?e.getNextPageParam(r[i],r,n[i],n):void 0}function tC(e,t){var r;let{pages:n,pageParams:i}=t;return n.length>0?null==(r=e.getPreviousPageParam)?void 0:r.call(e,n[0],n,i[0],i):void 0}function tO(e,t){if(t.has(e))throw TypeError("Cannot initialize the same private elements twice on an object")}function tR(e,t,r){if(!t.has(e))throw TypeError("attempted to "+r+" private field on non-instance");return t.get(e)}function tI(e,t){var r=tR(e,t,"get");return r.get?r.get.call(e):r.value}function tA(e,t,r){tO(e,t),t.set(e,r)}function tT(e,t,r){var n=tR(e,t,"set");if(n.set)n.set.call(e,r);else{if(!n.writable)throw TypeError("attempted to set read only private field");n.value=r}return r}function tM(e,t,r){if(!t.has(e))throw TypeError("attempted to get private field on non-instance");return r}var tz=(U=new WeakMap,j=new WeakMap,N=new WeakMap,F=new WeakMap,q=new WeakMap,W=new WeakMap,K=new WeakMap,B=new WeakMap,$=new WeakSet,class extends tf{get meta(){return this.options.meta}get queryType(){return tI(this,U)}get promise(){var e;return null==(e=tI(this,W))?void 0:e.promise}setOptions(e){if(this.options={...tI(this,K),...e},(null==e?void 0:e._type)&&tT(this,U,e._type),this.updateGcTime(this.options.gcTime),this.state&&void 0===this.state.data){let e=tU(this.options);void 0!==e.data&&(this.setState(tL(e.data,e.dataUpdatedAt)),tT(this,j,e))}}optionalRemove(){this.observers.length||"idle"!==this.state.fetchStatus||tI(this,F).remove(this)}setData(e,t){let r=eJ(this.state.data,e,this.options);return tM(this,$,tj).call(this,{data:r,type:"success",dataUpdatedAt:null==t?void 0:t.updatedAt,manual:null==t?void 0:t.manual}),r}setState(e){tM(this,$,tj).call(this,{type:"setState",state:e})}cancel(e){var t,r;let n=null==(t=tI(this,W))?void 0:t.promise;return null==(r=tI(this,W))||r.cancel(e),n?n.then(eU).catch(eU):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}get resetState(){return tI(this,j)}reset(){this.destroy(),this.setState(this.resetState)}isActive(){return this.observers.some(e=>!1!==eF(e.options.enabled,this))}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===e0||!this.isFetched()}isFetched(){return this.state.dataUpdateCount+this.state.errorUpdateCount>0}isStatic(){return this.getObserversCount()>0&&this.observers.some(e=>"static"===eF(e.options.staleTime,this))}isStale(){return this.getObserversCount()>0?this.observers.some(e=>e.getCurrentResult().isStale):void 0===this.state.data||this.state.isInvalidated}isStaleByTime(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return void 0===this.state.data||"static"!==e&&(!!this.state.isInvalidated||!eN(this.state.dataUpdatedAt,e))}onFocus(){var e,t;null==(e=this.observers.find(e=>e.shouldFetchOnWindowFocus()))||e.refetch({cancelRefetch:!1}),null==(t=tI(this,W))||t.continue()}onOnline(){var e,t;null==(e=this.observers.find(e=>e.shouldFetchOnReconnect()))||e.refetch({cancelRefetch:!1}),null==(t=tI(this,W))||t.continue()}addObserver(e){this.observers.includes(e)||(this.observers.push(e),this.clearGcTimeout(),tI(this,F).notify({type:"observerAdded",query:this,observer:e}))}removeObserver(e){let t=this.observers.indexOf(e);-1!==t&&(this.observers.splice(t,1),this.observers.length||(tI(this,W)&&(tI(this,B)||"paused"===this.state.fetchStatus&&"pending"===this.state.status?tI(this,W).cancel({revert:!0}):tI(this,W).cancelRetry()),this.scheduleGc()),tI(this,F).notify({type:"observerRemoved",query:this,observer:e}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||tM(this,$,tj).call(this,{type:"invalidate"})}async fetch(e,t){var r,n,i,a,o,s,l,u,c,f,d,h,p;let g;if("idle"!==this.state.fetchStatus&&(null==(r=tI(this,W))?void 0:r.status())!=="rejected"){if(void 0!==this.state.data&&(null==t?void 0:t.cancelRefetch))this.cancel({silent:!0});else if(tI(this,W))return tI(this,W).continueRetry(),tI(this,W).promise}if(e&&this.setOptions(e),!this.options.queryFn){let e=this.observers.find(e=>e.options.queryFn);e&&this.setOptions(e.options)}let y=new AbortController,m=e=>{Object.defineProperty(e,"signal",{enumerable:!0,get:()=>(tT(this,B,!0),y.signal)})},b=()=>{let e,r=e1(this.options,t),n=(m(e={client:tI(this,q),queryKey:this.queryKey,meta:this.meta}),e);return(tT(this,B,!1),this.options.persister)?this.options.persister(r,n,this):r(n)},w=(m(g={fetchOptions:t,options:this.options,queryKey:this.queryKey,client:tI(this,q),state:this.state,fetchFn:b}),g);null==(n="infinite"===tI(this,U)?(p=this.options.pages,{onFetch:(e,t)=>{var r,n,i,a,o;let s=e.options,l=null==(i=e.fetchOptions)||null==(n=i.meta)||null==(r=n.fetchMore)?void 0:r.direction,u=(null==(a=e.state.data)?void 0:a.pages)||[],c=(null==(o=e.state.data)?void 0:o.pageParams)||[],f={pages:[],pageParams:[]},d=0,h=async()=>{let t=!1,r=e1(e.options,e.fetchOptions),n=async(n,i,a)=>{if(t)return Promise.reject(e.signal.reason);if(null==i&&n.pages.length)return Promise.resolve(n);let o=(()=>{var r,n;let o,s,l={client:e.client,queryKey:e.queryKey,pageParam:i,direction:a?"backward":"forward",meta:e.options.meta};return r=()=>e.signal,n=()=>t=!0,s=!1,Object.defineProperty(l,"signal",{enumerable:!0,get:()=>(null!=o||(o=r()),s||(s=!0,o.aborted?n():o.addEventListener("abort",n,{once:!0})),o)}),l})(),s=await r(o),{maxPages:l}=e.options,u=a?eZ:eX;return{pages:u(n.pages,s,l),pageParams:u(n.pageParams,i,l)}};if(l&&u.length){let e="backward"===l,t=e?tC:tx,r={pages:u,pageParams:c};f=await n(r,t(s,r),e)}else{let e=null!=p?p:u.length;do{var i;let e=0===d?null!=(i=c[0])?i:s.initialPageParam:tx(s,f);if(d>0&&null==e)break;f=await n(f,e),d++}while(d<e)}return f};e.options.persister?e.fetchFn=()=>{var r,n;return null==(r=(n=e.options).persister)?void 0:r.call(n,h,{client:e.client,queryKey:e.queryKey,meta:e.options.meta,signal:e.signal},t)}:e.fetchFn=h}}):this.options.behavior)||n.onFetch(w,this),tT(this,N,this.state),("idle"===this.state.fetchStatus||this.state.fetchMeta!==(null==(i=w.fetchOptions)?void 0:i.meta))&&tM(this,$,tj).call(this,{type:"fetch",meta:null==(a=w.fetchOptions)?void 0:a.meta});let S=tT(this,W,ts({initialPromise:null==t?void 0:t.initialPromise,fn:w.fetchFn,onCancel:e=>{e instanceof to&&e.revert&&this.setState({...tI(this,N),fetchStatus:"idle"}),y.abort()},onFail:(e,t)=>{tM(this,$,tj).call(this,{type:"failed",failureCount:e,error:t})},onPause:()=>{tM(this,$,tj).call(this,{type:"pause"})},onContinue:()=>{tM(this,$,tj).call(this,{type:"continue"})},retry:w.options.retry,retryDelay:w.options.retryDelay,networkMode:w.options.networkMode,canRun:()=>!0}));try{let e=await S.start();if(void 0===e)throw Error("".concat(this.queryHash," data is undefined"));return this.setData(e),null==(o=(s=tI(this,F).config).onSuccess)||o.call(s,e,this),null==(l=(u=tI(this,F).config).onSettled)||l.call(u,e,this.state.error,this),e}catch(e){if(e instanceof to){if(e.silent)return tI(this,W).promise;else if(e.revert){if(void 0===this.state.data)throw e;return this.state.data}}throw tM(this,$,tj).call(this,{type:"error",error:e}),null==(c=(f=tI(this,F).config).onError)||c.call(f,e,this),null==(d=(h=tI(this,F).config).onSettled)||d.call(h,this.state.data,e,this),e}finally{tI(this,W)===S&&tT(this,W,void 0),this.scheduleGc()}}constructor(e){var t;super(),function(e,t){tO(e,t),t.add(e)}(this,$),tA(this,U,{writable:!0,value:void 0}),tA(this,j,{writable:!0,value:void 0}),tA(this,N,{writable:!0,value:void 0}),tA(this,F,{writable:!0,value:void 0}),tA(this,q,{writable:!0,value:void 0}),tA(this,W,{writable:!0,value:void 0}),tA(this,K,{writable:!0,value:void 0}),tA(this,B,{writable:!0,value:void 0}),tT(this,B,!1),tT(this,K,e.defaultOptions),this.setOptions(e.options),this.observers=[],tT(this,q,e.client),tT(this,F,tI(this,q).getQueryCache()),this.queryKey=e.queryKey,this.queryHash=e.queryHash,tT(this,j,tU(this.options)),this.state=null!=(t=e.state)?t:tI(this,j),this.scheduleGc()}});function tD(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:ta(t.networkMode)?"fetching":"paused",...void 0===e&&{error:null,status:"pending"}}}function tL(e,t){return{data:e,dataUpdatedAt:null!=t?t:Date.now(),error:null,isInvalidated:!1,status:"success"}}function tU(e){let t="function"==typeof e.initialData?e.initialData():e.initialData,r=void 0!==t,n=r?"function"==typeof e.initialDataUpdatedAt?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:r?null!=n?n:Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:r?"success":"pending",fetchStatus:"idle"}}function tj(e){let t=t=>{switch(e.type){case"failed":return{...t,fetchFailureCount:e.failureCount,fetchFailureReason:e.error};case"pause":return{...t,fetchStatus:"paused"};case"continue":return{...t,fetchStatus:"fetching"};case"fetch":var r;return{...t,...tD(t.data,this.options),fetchMeta:null!=(r=e.meta)?r:null};case"success":let n={...t,...tL(e.data,e.dataUpdatedAt),dataUpdateCount:t.dataUpdateCount+1,...!e.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};return tT(this,N,e.manual?n:void 0),n;case"error":let i=e.error;return{...t,error:i,errorUpdateCount:t.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:t.fetchFailureCount+1,fetchFailureReason:i,fetchStatus:"idle",status:"error",isInvalidated:!0};case"invalidate":return{...t,isInvalidated:!0};case"setState":return{...t,...e.state}}};this.state=t(this.state),e7.batch(()=>{this.observers.slice().forEach(e=>{e.onQueryUpdate()}),tI(this,F).notify({query:this,type:"updated",action:e})})}function tN(e,t,r){if(!t.has(e))throw TypeError("attempted to "+r+" private field on non-instance");return t.get(e)}function tF(e,t){var r=tN(e,t,"get");return r.get?r.get.call(e):r.value}var tq=(V=new WeakMap,class extends e6{build(e,t,r){var n;let i=t.queryKey,a=null!=(n=t.queryHash)?n:eK(i,t),o=this.get(a);return o||(o=new tz({client:e,queryKey:i,queryHash:a,options:e.defaultQueryOptions(t),state:r,defaultOptions:e.getQueryDefaults(i)}),this.add(o)),o}add(e){tF(this,V).has(e.queryHash)||(tF(this,V).set(e.queryHash,e),this.notify({type:"added",query:e}))}remove(e){let t=tF(this,V).get(e.queryHash);t&&(e.destroy(),t===e&&tF(this,V).delete(e.queryHash),this.notify({type:"removed",query:e}))}clear(){e7.batch(()=>{this.getAll().forEach(e=>{this.remove(e)})})}get(e){return tF(this,V).get(e)}getAll(){return[...tF(this,V).values()]}find(e){let t={exact:!0,...e};return this.getAll().find(e=>eq(t,e))}findAll(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=this.getAll();return Object.keys(e).length>0?t.filter(t=>eq(e,t)):t}notify(e){e7.batch(()=>{this.listeners.forEach(t=>{t(e)})})}onFocus(){e7.batch(()=>{this.getAll().forEach(e=>{e.onFocus()})})}onOnline(){e7.batch(()=>{this.getAll().forEach(e=>{e.onOnline()})})}constructor(e={}){super(),function(e,t,r){if(t.has(e))throw TypeError("Cannot initialize the same private elements twice on an object");t.set(e,r)}(this,V,{writable:!0,value:void 0}),this.config=e,function(e,t,r){var n=tN(e,t,"set");if(n.set)n.set.call(e,r);else{if(!n.writable)throw TypeError("attempted to set read only private field");n.value=r}}(this,V,new Map)}});function tW(e,t,r){if(!t.has(e))throw TypeError("attempted to "+r+" private field on non-instance");return t.get(e)}function tK(e,t){var r=tW(e,t,"get");return r.get?r.get.call(e):r.value}function tB(e,t,r){if(t.has(e))throw TypeError("Cannot initialize the same private elements twice on an object");t.set(e,r)}function t$(e,t,r){var n=tW(e,t,"set");if(n.set)n.set.call(e,r);else{if(!n.writable)throw TypeError("attempted to set read only private field");n.value=r}return r}function tV(e,t){var r=tW(e,t,"update");if(r.set){if(!r.get)throw TypeError("attempted to read set only private field");return"__destrWrapper"in r||(r.__destrWrapper={set value(v){r.set.call(e,v)},get value(){return r.get.call(e)}}),r.__destrWrapper}if(!r.writable)throw TypeError("attempted to set read only private field");return r}var tY=(Y=new WeakMap,Q=new WeakMap,H=new WeakMap,G=new WeakMap,J=new WeakMap,X=new WeakMap,Z=new WeakMap,ee=new WeakMap,class{mount(){tV(this,X).value++,1===tK(this,X)&&(t$(this,Z,e4.subscribe(async e=>{e&&(await this.resumePausedMutations(),tK(this,Y).onFocus())})),t$(this,ee,tn.subscribe(async e=>{e&&(await this.resumePausedMutations(),tK(this,Y).onOnline())})))}unmount(){var e,t;tV(this,X).value--,0===tK(this,X)&&(null==(e=tK(this,Z))||e.call(this),t$(this,Z,void 0),null==(t=tK(this,ee))||t.call(this),t$(this,ee,void 0))}isFetching(e){return tK(this,Y).findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return tK(this,Q).findAll({...e,status:"pending"}).length}getQueryData(e){var t;let r=this.defaultQueryOptions({queryKey:e});return null==(t=tK(this,Y).get(r.queryHash))?void 0:t.state.data}ensureQueryData(e){let t=this.defaultQueryOptions(e),r=tK(this,Y).build(this,t),n=r.state.data;return void 0===n?this.fetchQuery(e):(e.revalidateIfStale&&r.isStaleByTime(eF(t.staleTime,r))&&this.prefetchQuery(t),Promise.resolve(n))}getQueriesData(e){return tK(this,Y).findAll(e).map(e=>{let{queryKey:t,state:r}=e;return[t,r.data]})}setQueryData(e,t,r){var n;let i=this.defaultQueryOptions({queryKey:e}),a=null==(n=tK(this,Y).get(i.queryHash))?void 0:n.state.data,o="function"==typeof t?t(a):t;if(void 0!==o)return tK(this,Y).build(this,i).setData(o,{...r,manual:!0})}setQueriesData(e,t,r){return e7.batch(()=>tK(this,Y).findAll(e).map(e=>{let{queryKey:n}=e;return[n,this.setQueryData(n,t,r)]}))}getQueryState(e){var t;let r=this.defaultQueryOptions({queryKey:e});return null==(t=tK(this,Y).get(r.queryHash))?void 0:t.state}removeQueries(e){let t=tK(this,Y);e7.batch(()=>{t.findAll(e).forEach(e=>{t.remove(e)})})}resetQueries(e,t){let r=tK(this,Y);return e7.batch(()=>{let n=r.findAll(e),i=new Set(n);return n.forEach(e=>{e.reset()}),this.refetchQueries({type:"active",predicate:e=>i.has(e)},t)})}cancelQueries(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r={revert:!0,...t};return Promise.all(e7.batch(()=>tK(this,Y).findAll(e).map(e=>e.cancel(r)))).then(eU).catch(eU)}invalidateQueries(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return e7.batch(()=>{var r,n;return(tK(this,Y).findAll(e).forEach(e=>{e.invalidate()}),(null==e?void 0:e.refetchType)==="none")?Promise.resolve():this.refetchQueries({...e,type:null!=(r=null!=(n=null==e?void 0:e.refetchType)?n:null==e?void 0:e.type)?r:"active"},t)})}refetchQueries(e){var t;let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n={...r,cancelRefetch:null==(t=r.cancelRefetch)||t};return Promise.all(e7.batch(()=>tK(this,Y).findAll(e).filter(e=>!e.isDisabled()&&!e.isStatic()).map(e=>{let t=e.fetch(void 0,n);return n.throwOnError||(t=t.catch(eU)),"paused"===e.state.fetchStatus?Promise.resolve():t}))).then(eU)}async query(e){let t=this.defaultQueryOptions(e);void 0===t.retry&&(t.retry=!1);let r=tK(this,Y).build(this,t),n=r.isStaleByTime(eF(t.staleTime,r))?await r.fetch(t):r.state.data,i=t.select;return i?i(n):n}fetchQuery(e){let t=this.defaultQueryOptions(e);void 0===t.retry&&(t.retry=!1);let r=tK(this,Y).build(this,t);return r.isStaleByTime(eF(t.staleTime,r))?r.fetch(t):Promise.resolve(r.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(eU).catch(eU)}infiniteQuery(e){return e._type="infinite",this.query(e)}fetchInfiniteQuery(e){return e._type="infinite",this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(eU).catch(eU)}ensureInfiniteQueryData(e){return e._type="infinite",this.ensureQueryData(e)}resumePausedMutations(){return tn.isOnline()?tK(this,Q).resumePausedMutations():Promise.resolve()}getQueryCache(){return tK(this,Y)}getMutationCache(){return tK(this,Q)}getDefaultOptions(){return tK(this,H)}setDefaultOptions(e){t$(this,H,e)}setQueryDefaults(e,t){tK(this,G).set(eB(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){let t=[...tK(this,G).values()],r={};return t.forEach(t=>{e$(e,t.queryKey)&&Object.assign(r,t.defaultOptions)}),r}setMutationDefaults(e,t){tK(this,J).set(eB(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){let t=[...tK(this,J).values()],r={};return t.forEach(t=>{e$(e,t.mutationKey)&&Object.assign(r,t.defaultOptions)}),r}defaultQueryOptions(e){if(e._defaulted)return e;let t={...tK(this,H).queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=eK(t.queryKey,t)),void 0===t.refetchOnReconnect&&(t.refetchOnReconnect="always"!==t.networkMode),void 0===t.throwOnError&&(t.throwOnError=!!t.suspense),!t.networkMode&&t.persister&&(t.networkMode="offlineFirst"),t.queryFn===e0&&(t.enabled=!1),t}defaultMutationOptions(e){return(null==e?void 0:e._defaulted)?e:{...tK(this,H).mutations,...(null==e?void 0:e.mutationKey)&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){tK(this,Y).clear(),tK(this,Q).clear()}constructor(e={}){tB(this,Y,{writable:!0,value:void 0}),tB(this,Q,{writable:!0,value:void 0}),tB(this,H,{writable:!0,value:void 0}),tB(this,G,{writable:!0,value:void 0}),tB(this,J,{writable:!0,value:void 0}),tB(this,X,{writable:!0,value:void 0}),tB(this,Z,{writable:!0,value:void 0}),tB(this,ee,{writable:!0,value:void 0}),t$(this,Y,e.queryCache||new tq),t$(this,Q,e.mutationCache||new t_),t$(this,H,e.defaultOptions||{}),t$(this,G,new Map),t$(this,J,new Map),t$(this,X,0)}});function tQ(e,t){if(t.has(e))throw TypeError("Cannot initialize the same private elements twice on an object")}function tH(e,t,r){if(!t.has(e))throw TypeError("attempted to "+r+" private field on non-instance");return t.get(e)}function tG(e,t){var r=tH(e,t,"get");return r.get?r.get.call(e):r.value}function tJ(e,t,r){tQ(e,t),t.set(e,r)}function tX(e,t,r){var n=tH(e,t,"set");if(n.set)n.set.call(e,r);else{if(!n.writable)throw TypeError("attempted to set read only private field");n.value=r}return r}function tZ(e,t,r){if(!t.has(e))throw TypeError("attempted to get private field on non-instance");return r}function t0(e,t){tQ(e,t),t.add(e)}r(53834);var t1=(et=new WeakMap,er=new WeakMap,en=new WeakMap,ei=new WeakMap,ea=new WeakMap,eo=new WeakMap,es=new WeakMap,el=new WeakMap,eu=new WeakMap,ec=new WeakMap,ef=new WeakMap,ed=new WeakMap,eh=new WeakMap,ep=new WeakMap,ev=new WeakSet,eg=new WeakSet,ey=new WeakSet,em=new WeakSet,eb=new WeakSet,ew=new WeakSet,eS=new WeakSet,ek=new WeakSet,eE=new WeakSet,class extends e6{bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){1===this.listeners.size&&(tG(this,er).addObserver(this),t6(tG(this,er),this.options)?tZ(this,ev,t3).call(this):this.updateResult(),tZ(this,ew,rt).call(this))}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return t5(tG(this,er),this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return t5(tG(this,er),this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,tZ(this,eS,rr).call(this),tZ(this,ek,rn).call(this),tG(this,er).removeObserver(this)}setOptions(e){let t=this.options,r=tG(this,er);if(this.options=tG(this,et).defaultQueryOptions(e),void 0!==this.options.enabled&&"boolean"!=typeof this.options.enabled&&"function"!=typeof this.options.enabled&&"boolean"!=typeof eF(this.options.enabled,tG(this,er)))throw Error("Expected enabled to be a boolean or a callback that returns a boolean");tZ(this,eE,ri).call(this),tG(this,er).setOptions(this.options),t._defaulted&&!eY(this.options,t)&&tG(this,et).getQueryCache().notify({type:"observerOptionsUpdated",query:tG(this,er),observer:this});let n=this.hasListeners();n&&t2(tG(this,er),r,this.options,t)&&tZ(this,ev,t3).call(this),this.updateResult(),n&&(tG(this,er)!==r||eF(this.options.enabled,tG(this,er))!==eF(t.enabled,tG(this,er))||eF(this.options.staleTime,tG(this,er))!==eF(t.staleTime,tG(this,er)))&&tZ(this,ey,t7).call(this);let i=tZ(this,em,t9).call(this);n&&(tG(this,er)!==r||eF(this.options.enabled,tG(this,er))!==eF(t.enabled,tG(this,er))||i!==tG(this,eh))&&tZ(this,eb,re).call(this,i)}getOptimisticResult(e){let t=tG(this,et).getQueryCache().build(tG(this,et),e),r=this.createResult(t,e);return eY(this.getCurrentResult(),r)||(tX(this,ei,r),tX(this,eo,this.options),tX(this,ea,tG(this,er).state)),r}getCurrentResult(){return tG(this,ei)}trackResult(e,t){return new Proxy(e,{get:(e,r)=>(this.trackProp(r),null==t||t(r),Reflect.get(e,r))})}trackProp(e){tG(this,ep).add(e)}getCurrentQuery(){return tG(this,er)}refetch(){let{...e}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this.fetch({...e})}fetchOptimistic(e){let t,r=tG(this,et).defaultQueryOptions(e),n=tG(this,et).getQueryCache().build(tG(this,et),r),i=()=>{},a=new Promise(e=>{t=e,i=tG(this,et).getQueryCache().subscribe(t=>{"updated"===t.type&&t.query.queryHash===n.queryHash&&void 0!==n.state.data&&(i(),e(this.createResult(n,r)))})});return Promise.race([n.fetch().then(()=>{let e=this.createResult(n,r);return null==t||t(e),e}).finally(()=>{i()}),a])}fetch(e){var t;return tZ(this,ev,t3).call(this,{...e,cancelRefetch:null==(t=e.cancelRefetch)||t}).then(()=>(this.updateResult(),tG(this,ei)))}createResult(e,t){let r,n=tG(this,er),i=this.options,a=tG(this,ei),o=tG(this,ea),s=tG(this,eo),l=e!==n?e.state:tG(this,en),{state:u}=e,c={...u},f=!1;if(t._optimisticResults){let r=this.hasListeners(),a=!r&&t6(e,t),o=r&&t2(e,n,t,i);(a||o)&&(c={...c,...tD(u.data,e.options)}),"isRestoring"===t._optimisticResults&&(c.fetchStatus="idle")}let{error:d,errorUpdatedAt:h,status:p}=c;r=c.data;let g=!1;if(void 0!==t.placeholderData&&void 0===r&&"pending"===p){var y;let e;(null==a?void 0:a.isPlaceholderData)&&t.placeholderData===(null==s?void 0:s.placeholderData)?(e=a.data,g=!0):e="function"==typeof t.placeholderData?t.placeholderData(null==(y=tG(this,ec))?void 0:y.state.data,tG(this,ec)):t.placeholderData,void 0!==e&&(p="success",r=eJ(null==a?void 0:a.data,e,t),f=!0)}if(t.select&&void 0!==r&&!g)if(a&&r===(null==o?void 0:o.data)&&t.select===tG(this,el))r=tG(this,eu);else try{tX(this,el,t.select),r=t.select(r),r=eJ(null==a?void 0:a.data,r,t),tX(this,eu,r),tX(this,es,null)}catch(e){tX(this,es,e)}else void 0===r&&tX(this,es,null);tG(this,es)&&(d=tG(this,es),r=tG(this,eu),h=Date.now(),p="error",f=!1);let m="fetching"===c.fetchStatus,b="pending"===p,w="error"===p,S=b&&m,k=void 0!==r;return{status:p,fetchStatus:c.fetchStatus,isPending:b,isSuccess:"success"===p,isError:w,isInitialLoading:S,isLoading:S,data:r,dataUpdatedAt:c.dataUpdatedAt,error:d,errorUpdatedAt:h,failureCount:c.fetchFailureCount,failureReason:c.fetchFailureReason,errorUpdateCount:c.errorUpdateCount,isFetched:e.isFetched(),isFetchedAfterMount:c.dataUpdateCount>l.dataUpdateCount||c.errorUpdateCount>l.errorUpdateCount,isFetching:m,isRefetching:m&&!b,isLoadingError:w&&!k,isPaused:"paused"===c.fetchStatus,isPlaceholderData:f,isRefetchError:w&&k,isStale:t8(e,t),refetch:this.refetch,isEnabled:!1!==eF(t.enabled,e)}}updateResult(){let e=tG(this,ei),t=this.createResult(tG(this,er),this.options);if(tX(this,ea,tG(this,er).state),tX(this,eo,this.options),void 0!==tG(this,ea).data&&tX(this,ec,tG(this,er)),eY(t,e))return;tX(this,ei,t);let r=(()=>{if(!e)return!0;let{notifyOnChangeProps:t}=this.options,r="function"==typeof t?t():t;if("all"===r||!r&&!tG(this,ep).size)return!0;let n=new Set(null!=r?r:tG(this,ep));return this.options.throwOnError&&n.add("error"),Object.keys(tG(this,ei)).some(t=>tG(this,ei)[t]!==e[t]&&n.has(t))})();e7.batch(()=>{r&&this.listeners.forEach(e=>{e(tG(this,ei))}),tG(this,et).getQueryCache().notify({query:tG(this,er),type:"observerResultsUpdated"})})}onQueryUpdate(){this.updateResult(),this.hasListeners()&&tZ(this,ew,rt).call(this)}constructor(e,t){super(),t0(this,ev),t0(this,eg),t0(this,ey),t0(this,em),t0(this,eb),t0(this,ew),t0(this,eS),t0(this,ek),t0(this,eE),tJ(this,et,{writable:!0,value:void 0}),tJ(this,er,{writable:!0,value:void 0}),tJ(this,en,{writable:!0,value:void 0}),tJ(this,ei,{writable:!0,value:void 0}),tJ(this,ea,{writable:!0,value:void 0}),tJ(this,eo,{writable:!0,value:void 0}),tJ(this,es,{writable:!0,value:void 0}),tJ(this,el,{writable:!0,value:void 0}),tJ(this,eu,{writable:!0,value:void 0}),tJ(this,ec,{writable:!0,value:void 0}),tJ(this,ef,{writable:!0,value:void 0}),tJ(this,ed,{writable:!0,value:void 0}),tJ(this,eh,{writable:!0,value:void 0}),tJ(this,ep,{writable:!0,value:new Set}),this.options=t,tX(this,et,e),tX(this,es,null),this.bindMethods(),this.setOptions(t)}});function t6(e,t){return!1!==eF(t.enabled,e)&&void 0===e.state.data&&("error"!==e.state.status||!1!==eF(t.retryOnMount,e))||void 0!==e.state.data&&t5(e,t,t.refetchOnMount)}function t5(e,t,r){if(!1!==eF(t.enabled,e)&&"static"!==eF(t.staleTime,e)){let n="function"==typeof r?r(e):r;return"always"===n||!1!==n&&t8(e,t)}return!1}function t2(e,t,r,n){return(e!==t||!1===eF(n.enabled,e))&&(!r.suspense||"error"!==e.state.status)&&t8(e,r)}function t8(e,t){return!1!==eF(t.enabled,e)&&e.isStaleByTime(eF(t.staleTime,e))}function t3(e){tZ(this,eE,ri).call(this);let t=tG(this,er).fetch(this.options,e);return(null==e?void 0:e.throwOnError)||(t=t.catch(eU)),t}function t4(e){return!eL&&!1!==eF(this.options.enabled,tG(this,er))&&ej(e)}function t7(){tZ(this,eS,rr).call(this);let e=eF(this.options.staleTime,tG(this,er));if(tG(this,ei).isStale||!tZ(this,eg,t4).call(this,e))return;let t=eN(tG(this,ei).dataUpdatedAt,e)+1;tX(this,ef,eD.setTimeout(()=>{tG(this,ei).isStale||this.updateResult()},t))}function t9(){var e;return null!=(e="function"==typeof this.options.refetchInterval?this.options.refetchInterval(tG(this,er)):this.options.refetchInterval)&&e}function re(e){tZ(this,ek,rn).call(this),tX(this,eh,e),0!==tG(this,eh)&&tZ(this,eg,t4).call(this,tG(this,eh))&&tX(this,ed,eD.setInterval(()=>{(this.options.refetchIntervalInBackground||e4.isFocused())&&tZ(this,ev,t3).call(this)},tG(this,eh)))}function rt(){tZ(this,ey,t7).call(this),tZ(this,eb,re).call(this,tZ(this,em,t9).call(this))}function rr(){void 0!==tG(this,ef)&&(eD.clearTimeout(tG(this,ef)),tX(this,ef,void 0))}function rn(){void 0!==tG(this,ed)&&(eD.clearInterval(tG(this,ed)),tX(this,ed,void 0))}function ri(){let e=tG(this,et).getQueryCache().build(tG(this,et),this.options);if(e===tG(this,er))return;let t=tG(this,er);tX(this,er,e),tX(this,en,e.state),this.hasListeners()&&(null==t||t.removeObserver(this),e.addObserver(this))}var ra=class extends t1{bindMethods(){super.bindMethods(),this.fetchNextPage=this.fetchNextPage.bind(this),this.fetchPreviousPage=this.fetchPreviousPage.bind(this)}setOptions(e){e._type="infinite",super.setOptions(e)}getOptimisticResult(e){return e._type="infinite",super.getOptimisticResult(e)}fetchNextPage(e){return this.fetch({...e,meta:{fetchMore:{direction:"forward"}}})}fetchPreviousPage(e){return this.fetch({...e,meta:{fetchMore:{direction:"backward"}}})}createResult(e,t){var r,n,i,a;let{state:o}=e,s=super.createResult(e,t),{isFetching:l,isRefetching:u,isError:c,isRefetchError:f}=s,d=null==(n=o.fetchMeta)||null==(r=n.fetchMore)?void 0:r.direction,h=c&&"forward"===d,p=l&&"forward"===d,g=c&&"backward"===d,y=l&&"backward"===d;return{...s,fetchNextPage:this.fetchNextPage,fetchPreviousPage:this.fetchPreviousPage,hasNextPage:!!(i=o.data)&&null!=tx(t,i),hasPreviousPage:!!(a=o.data)&&!!t.getPreviousPageParam&&null!=tC(t,a),isFetchNextPageError:h,isFetchingNextPage:p,isFetchPreviousPageError:g,isFetchingPreviousPage:y,isRefetchError:f&&!h&&!g,isRefetching:u&&!p&&!y}}constructor(e,t){super(e,t)}},ro=r(50784);function rs(e,t){if(!e)throw"string"==typeof t?Error(t):Error("".concat(t.displayName," not found"))}let rl=(e,t)=>{let{assertCtxFn:r=rs}=t||{},n=eI.createContext(void 0);return n.displayName=e,[n,()=>{let t=eI.useContext(n);return r(t,"".concat(e," not found")),t.value},()=>{let e=eI.useContext(n);return e?e.value:{}}]},[ru,rc]=rl("ClerkInstanceContext"),[rf,rd]=rl("InitialStateContext");function rh(e){let{children:t,initialState:r}=e,[n]=(0,eI.useState)(r),i=eI.useMemo(()=>({value:n}),[n]);return eI.createElement(rf.Provider,{value:i},t)}function rp(){let e=rd();if(e instanceof Promise)if(0)return eI.use(e);else throw Error("initialState cannot be a promise if React version is less than 19");return e}let rv=eI.createContext({}),[rg,ry]=rl("CheckoutContext"),rm=e=>{let{children:t,...r}=e;return eI.createElement(rg.Provider,{value:{value:r}},t)};function rb(e){if(!eI.useContext(ru)){if("function"==typeof e)return void e();throw Error("".concat(e," can only be used within the <ClerkProvider /> component.\n\nPossible fixes:\n1. Ensure that the <ClerkProvider /> is correctly wrapping your application where this component is used.\n2. Check for multiple versions of the `@clerk/shared` package in your project. Use a tool like `npm ls @clerk/shared` to identify multiple versions, and update your dependencies to only rely on one.\n\nLearn more: https://clerk.com/docs/components/clerk-provider").trim())}}function rw(e){return{queryKey:[e.stablePrefix,e.authenticated,e.tracked,e.untracked],invalidationKey:[e.stablePrefix,e.authenticated,e.tracked],stableKey:e.stablePrefix,authenticated:e.authenticated}}function rS(e){if(e)return function(e){return e}}let rk=!1,rE=c=new Proxy(function(){},{get(e,t){if("then"!==t)return"toString"===t?()=>"[".concat("ClerkMockQueryClient","]"):t===Symbol.toPrimitive?()=>0:c},apply:()=>c,construct:()=>c,has:()=>!1,set:()=>!1}),r_=()=>{let e=function(){if("u">typeof window)return rk||(n=new tY,rk=!0),n}();return[null!=e?e:rE,!!e]};function rP(e,t){let[r,n]=r_(),i=n?r.defaultQueryOptions(e):e;i._optimisticResults="optimistic";let a=eI.useMemo(()=>new t(r,i),[r]),o=a.getOptimisticResult(i),s=!1!==e.subscribed;return(eI.useSyncExternalStore(eI.useCallback(e=>{let t=s?a.subscribe(e7.batchCalls(e)):eU;return a.updateResult(),t},[a,s]),()=>a.getCurrentResult(),()=>a.getCurrentResult()),eI.useEffect(()=>{a.setOptions(i)},[i,a]),n)?i.notifyOnChangeProps?o:a.trackResult(o):{data:void 0,error:null,isLoading:!1!==e.enabled,isFetching:!1,status:"pending"}}function rx(e){return rP(e,t1)}function rC(e){var t;let r,n,{isSignedOut:i,stableKeys:a,authenticated:o=!0,onCleanup:s}=e,l=(0,eI.useRef)(a),[u]=r_(),c=(t=!i,r=(0,eI.useRef)(t),n=(0,eI.useRef)(null),r.current!==t&&(n.current=r.current,r.current=t),n.current);(0,eI.useEffect)(()=>{!0===o&&c&&!0===i&&(u.removeQueries({predicate:e=>{let[t,r]=e.queryKey;return!0===r&&"string"==typeof t&&(Array.isArray(l.current)?l.current.includes(t):l.current===t)}}),null==s||s())},[o,i,c,u])}let rO=(e,t)=>{var r,n,i;let a="boolean"==typeof e&&e,o=(0,eI.useRef)(a?t.initialPage:null!=(r=null==e?void 0:e.initialPage)?r:t.initialPage),s=(0,eI.useRef)(a?t.pageSize:null!=(n=null==e?void 0:e.pageSize)?n:t.pageSize),l={};for(let r of Object.keys(t))l[r]=a?t[r]:null!=(i=null==e?void 0:e[r])?i:t[r];return{...l,initialPage:o.current,pageSize:s.current}},rR=e=>{var t,r,n,i,a,o,s,l,u;let c,{fetcher:f,config:d,keys:h}=e,[p,g]=(0,eI.useState)(null!=(t=d.initialPage)?t:1),y=(0,eI.useRef)(null!=(r=d.initialPage)?r:1),m=(0,eI.useRef)(null!=(n=d.pageSize)?n:10),b=null==(i=d.enabled)||i,w=d.isSignedIn,S=null!=(a=d.infinite)&&a,k="cache"===d.__experimental_mode,E=null!=(o=d.keepPreviousData)&&o,[_]=r_(),P=b&&!!f&&!k&&!1!==w,[x,C]=(0,eI.useState)(0),O=(0,eI.useCallback)(e=>{C(e)},[]),R=(0,eI.useMemo)(()=>{let[e,t,r,n]=h.queryKey;return[e,t,r,{...n,args:{...n.args,initialPage:p,pageSize:m.current}}]},[h.queryKey,p]),I=rx({queryKey:R,queryFn:e=>{let{queryKey:t}=e,{args:r}=t[3];if(f)return f(r)},staleTime:6e4,enabled:P&&!S,placeholderData:rS(E)}),A=(0,eI.useMemo)(()=>{let[e,t,r,n]=h.queryKey;return[e+"-inf",t,r,n]},[h.queryKey]),T=rP({queryKey:A,initialPageParam:null!=(s=d.initialPage)?s:1,getNextPageParam:(e,t,r)=>{var n,i;let a=null!=(n=null==e?void 0:e.total_count)?n:0;return(t.length+(d.initialPage?d.initialPage-1:0))*(null!=(i=d.pageSize)?i:10)<a?r+1:void 0},queryFn:e=>{let{pageParam:t,queryKey:r}=e,{args:n}=r[3];if(f)return f({...n,initialPage:t,pageSize:m.current})},staleTime:6e4,enabled:P&&S},ra);rC({isSignedOut:!1===w,authenticated:h.authenticated,stableKeys:[c=h.stableKey,"".concat(c,"-inf")],onCleanup:()=>{g(y.current),Promise.resolve().then(()=>O(e=>e+1))}});let{data:M,count:z,page:D}=(0,eI.useMemo)(()=>{var e,t,r,n,i,a,o,s;if(S){let e=_.getQueryData(A),l=P?null!=(t=null!=(r=null==(o=T.data)?void 0:o.pages)?r:null==e?void 0:e.pages)?t:[]:null!=(n=null==e?void 0:e.pages)?n:[],u=Array.isArray(l)?l.filter(Boolean):[];return{data:null!=(i=u.map(e=>null==e?void 0:e.data).flat().filter(Boolean))?i:[],count:null!=(a=null==(s=u[u.length-1])?void 0:s.total_count)?a:0,page:u.length>0?u.length:y.current}}let l=P&&null!=(e=I.data)?e:_.getQueryData(R);return{data:Array.isArray(null==l?void 0:l.data)?l.data:[],count:"number"==typeof(null==l?void 0:l.total_count)?l.total_count:0,page:p}},[P,x,S,null==(u=T.data)?void 0:u.pages,I.data,_,A,R,p]),L=(0,eI.useCallback)(e=>{if(S){var t,r,n;let i=Math.max(0,"function"==typeof e?e(D):e),a=_.getQueryData(A);i-(null!=(t=null!=(r=null==(n=T.data)?void 0:n.pages)?r:null==a?void 0:a.pages)?t:[]).length>0&&T.fetchNextPage({cancelRefetch:!1});return}return g(e)},[T,D,S,_,A]),U=S?T.isLoading:I.isLoading,j=S?T.isFetching:I.isFetching,N=null!=(l=S?T.error:I.error)?l:null,F=(0,eI.useCallback)(()=>{S?T.fetchNextPage({cancelRefetch:!1}):g(e=>Math.max(0,e+1))},[T,S]),q=(0,eI.useCallback)(()=>{S||g(e=>Math.max(0,e-1))},[S]),W=(y.current-1)*m.current,K=Math.ceil((z-W)/m.current),B=S?!!T.hasNextPage:z-W>D*m.current,$=S?!!T.hasPreviousPage:(D-1)*m.current>W;return{data:M,count:z,error:N,isLoading:U,isFetching:j,isError:!!N,page:D,pageCount:K,fetchPage:L,fetchNext:F,fetchPrevious:q,hasNextPage:B,hasPreviousPage:$,revalidate:async()=>{await _.invalidateQueries({queryKey:h.invalidationKey});let[e,...t]=h.invalidationKey;return _.invalidateQueries({queryKey:[e+"-inf",...t]})},setData:e=>(S?(_.setQueryData(A,function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=Array.isArray(null==t?void 0:t.pages)?t.pages:[],n="function"==typeof e?e(r):e;return{...t,pages:n}}),O(e=>e+1)):(_.setQueryData(R,function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{data:[],total_count:0};return"function"==typeof e?e(t):e}),O(e=>e+1)),Promise.resolve())}};function rI(e){var t,r,n;rb("useAPIKeys");let i=rO(e,{initialPage:1,pageSize:10,keepPreviousData:!1,infinite:!1,subject:"",query:"",enabled:!0}),a=rc();null==(r=a.telemetry)||r.record((0,eC.a)("useAPIKeys"));let o={initialPage:i.initialPage,pageSize:i.pageSize,...i.subject?{subject:i.subject}:{},...i.query?{query:i.query}:{}},s=(null==(t=i.enabled)||t)&&a.loaded;return rR({fetcher:(null==(n=a.apiKeys)?void 0:n.getAll)?e=>a.apiKeys.getAll({...e,subject:i.subject}):void 0,config:{keepPreviousData:i.keepPreviousData,infinite:i.infinite,enabled:s,isSignedIn:null!==a.user,initialPage:i.initialPage,pageSize:i.pageSize},keys:rw({stablePrefix:"apiKeys",authenticated:!0,tracked:{subject:i.subject},untracked:{args:o}})})}function rA(){let e=rc(),t=rp(),r=(0,eI.useCallback)(()=>null==t?void 0:t.user,[null==t?void 0:t.user]);return(0,eI.useSyncExternalStore)((0,eI.useCallback)(t=>e.addListener(t,{skipInitialEmit:!0}),[e]),(0,eI.useCallback)(()=>e.loaded&&e.__internal_lastEmittedResources?e.__internal_lastEmittedResources.user:r(),[e,r]),r)}let rT="useOAuthConsent";function rM(e){var t,r,n;rb(rT);let{oauthClientId:i,scope:a,redirectUri:o,keepPreviousData:s=!0,enabled:l=!0}=e,u=rc(),c=rA(),f=(null!=i?i:"").trim();null==(n=u.telemetry)||n.record((0,eC.a)(rT));let{queryKey:d}=function(e){let{userId:t,oauthClientId:r,scope:n,redirectUri:i}=e;return(0,eI.useMemo)(()=>rw({stablePrefix:"oauthConsentInfo",authenticated:!0,tracked:{userId:null!=t?t:null},untracked:{args:{oauthClientId:r,...void 0!==n&&{scope:n},...void 0!==i&&{redirectUri:i}}}}),[t,r,n,i])}({userId:null!=(t=null==c?void 0:c.id)?t:null,oauthClientId:f,scope:a,redirectUri:o}),h=f.length>0,p=!!c&&h&&l&&u.loaded,g=rx({queryKey:d,queryFn:()=>{var e,t;return e=u,t={oauthClientId:f,scope:a,redirectUri:o},e.oauthApplication.getConsentInfo(t)},enabled:p,placeholderData:rS(s&&p)});return{data:g.data,error:null!=(r=g.error)?r:null,isLoading:g.isLoading,isFetching:g.isFetching}}let rz="useOAuthDeviceVerification",rD=e=>e.toUpperCase().replace(RegExp("[-\\u0009-\\u000D\\u0020\\u0085\\u00A0\\u1680\\u2000-\\u200A\\u2028-\\u2029\\u202F\\u205F\\u3000]","gu"),""),rL=()=>new e_.t("Clerk must be loaded before using OAuth device verification.",{code:"oauth_device_verification_not_ready"});function rU(){var e;rb(rz);let t=rc(),[r,n]=(0,eI.useState)(),[i,a]=(0,eI.useState)(),[o,s]=(0,eI.useState)(null),[l,u]=(0,eI.useState)(!1),[c,f]=(0,eI.useState)(!1),d=(0,eI.useRef)(null),h=(0,eI.useRef)(null),p=(0,eI.useRef)(0);null==(e=t.telemetry)||e.record((0,eC.a)(rz));let g=(0,eI.useCallback)(e=>{let r=t.loaded?t.oauthApplication:void 0;if(!r)return Promise.reject(rL());let i=rD(e.userCode);if(d.current)return d.current.key===i?d.current.promise:Promise.reject(new e_.t("An OAuth device verification lookup is already in progress for another code.",{code:"oauth_device_verification_lookup_in_progress"}));let o=p.current;s(null),n(void 0),a(void 0),u(!0);let l=r.lookupDeviceVerification({...e,userCode:i}).then(e=>(p.current===o&&n(e),e)).catch(e=>{throw p.current===o&&s(e),e}).finally(()=>{var e;(null==(e=d.current)?void 0:e.promise)===l&&(d.current=null),p.current===o&&u(!1)});return d.current={key:i,promise:l},l},[t]),y=(0,eI.useCallback)((e,r)=>{var n;let i=t.loaded?t.oauthApplication:void 0;if(!i)return Promise.reject(rL());let o=rD(e.userCode),l=JSON.stringify([o,null!=(n=e.organizationId)?n:null,r]);if(h.current)return h.current.key===l?h.current.promise:Promise.reject(new e_.t("Another OAuth device verification decision is already in progress.",{code:"oauth_device_verification_submission_in_progress"}));let u=p.current;s(null),f(!0);let c=i.submitDeviceVerification({...e,userCode:o,approved:r}).then(e=>(p.current===u&&a(e),e)).catch(e=>{throw p.current===u&&s(e),e}).finally(()=>{var e;(null==(e=h.current)?void 0:e.promise)===c&&(h.current=null),p.current===u&&f(!1)});return h.current={key:l,promise:c},c},[t]);return{data:r,result:i,error:o,isLoading:l,isSubmitting:c,lookup:g,approve:(0,eI.useCallback)(e=>y(e,!0),[y]),deny:(0,eI.useCallback)(e=>y(e,!1),[y]),reset:(0,eI.useCallback)(()=>{p.current+=1,d.current=null,n(void 0),a(void 0),s(null),u(!1),f(!1)},[])}}function rj(){let e=rc(),t=rp(),r=(0,eI.useCallback)(()=>null==t?void 0:t.organization,[null==t?void 0:t.organization]);return(0,eI.useSyncExternalStore)((0,eI.useCallback)(t=>e.addListener(t,{skipInitialEmit:!0}),[e]),(0,eI.useCallback)(()=>e.loaded&&e.__internal_lastEmittedResources?e.__internal_lastEmittedResources.organization:r(),[e,r]),r)}function rN(){let e=rc(),t=rp(),r=(0,eI.useCallback)(()=>{var e;let r,n,i,a,o;return t?(r=t.userId,n=t.user,i=t.sessionId,a=t.sessionStatus,o=t.sessionClaims,e={userId:r,user:n,sessionId:i,session:t.session,sessionStatus:a,sessionClaims:o,organization:t.organization,orgId:t.orgId,orgRole:t.orgRole,orgPermissions:t.orgPermissions,orgSlug:t.orgSlug,actor:t.actor,factorVerificationAge:t.factorVerificationAge},void 0===e)?void 0:e.session:void 0},[t]);return(0,eI.useSyncExternalStore)((0,eI.useCallback)(t=>e.addListener(t,{skipInitialEmit:!0}),[e]),(0,eI.useCallback)(()=>e.loaded&&e.__internal_lastEmittedResources?e.__internal_lastEmittedResources.session:r(),[e,r]),r)}let rF=()=>(rb("useClerk"),rc());function rq(e){let{enabled:t=!0}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=rF(),n=(0,eI.useRef)(!1);(0,eI.useEffect)(()=>{var i;t&&!n.current&&(n.current=!0,null==(i=r.__internal_attemptToEnableEnvironmentSetting)||i.call(r,{for:"organizations",caller:e}))},[r,e,t])}let rW={data:void 0,count:void 0,error:void 0,isLoading:!1,isFetching:!1,isError:!1,page:void 0,pageCount:void 0,fetchPage:void 0,fetchNext:void 0,fetchPrevious:void 0,hasNextPage:!1,hasPreviousPage:!1,revalidate:void 0,setData:void 0};function rK(e){var t,r,n;let{domains:i,membershipRequests:a,memberships:o,invitations:s,__internal_skipAttemptToEnableOrganizations:l}=e||{};rb("useOrganization"),rq("useOrganization",{enabled:!l});let u=rj(),c=rN(),f=rO(i,{initialPage:1,pageSize:10,keepPreviousData:!1,infinite:!1,enrollmentMode:void 0}),d=rO(a,{initialPage:1,pageSize:10,status:"pending",keepPreviousData:!1,infinite:!1}),h=rO(o,{initialPage:1,pageSize:10,role:void 0,keepPreviousData:!1,infinite:!1,query:void 0}),p=rO(s,{initialPage:1,pageSize:10,status:["pending"],keepPreviousData:!1,infinite:!1}),g=rc();null==(t=g.telemetry)||t.record((0,eC.a)("useOrganization"));let y=void 0===i?void 0:{initialPage:f.initialPage,pageSize:f.pageSize,enrollmentMode:f.enrollmentMode},m=void 0===a?void 0:{initialPage:d.initialPage,pageSize:d.pageSize,status:d.status},b=void 0===o?void 0:{initialPage:h.initialPage,pageSize:h.pageSize,role:h.role,query:h.query},w=void 0===s?void 0:{initialPage:p.initialPage,pageSize:p.pageSize,status:p.status},S=rR({fetcher:null==u?void 0:u.getDomains,config:{keepPreviousData:f.keepPreviousData,infinite:f.infinite,enabled:!!y,isSignedIn:null!==u,initialPage:f.initialPage,pageSize:f.pageSize},keys:rw({stablePrefix:"domains",authenticated:!0,tracked:{organizationId:null==u?void 0:u.id},untracked:{args:y}})}),k=rR({fetcher:null==u?void 0:u.getMembershipRequests,config:{keepPreviousData:d.keepPreviousData,infinite:d.infinite,enabled:!!m,isSignedIn:null!==u,initialPage:d.initialPage,pageSize:d.pageSize},keys:rw({stablePrefix:"membershipRequests",authenticated:!0,tracked:{organizationId:null==u?void 0:u.id},untracked:{args:m}})}),E=rR({fetcher:null==u?void 0:u.getMemberships,config:{keepPreviousData:h.keepPreviousData,infinite:h.infinite,enabled:!!b,isSignedIn:null!==u,initialPage:h.initialPage,pageSize:h.pageSize},keys:rw({stablePrefix:"memberships",authenticated:!0,tracked:{organizationId:null==u?void 0:u.id},untracked:{args:b}})}),_=rR({fetcher:null==u?void 0:u.getInvitations,config:{keepPreviousData:p.keepPreviousData,infinite:p.infinite,enabled:!!w,isSignedIn:null!==u,initialPage:p.initialPage,pageSize:p.pageSize},keys:rw({stablePrefix:"invitations",authenticated:!0,tracked:{organizationId:null==u?void 0:u.id},untracked:{args:w}})});return void 0===u?{isLoaded:!1,organization:void 0,membership:void 0,domains:rW,membershipRequests:rW,memberships:rW,invitations:rW}:null===u?{isLoaded:!0,organization:null,membership:null,domains:null,membershipRequests:null,memberships:null,invitations:null}:!g.loaded&&u?{isLoaded:!0,organization:u,membership:void 0,domains:rW,membershipRequests:rW,memberships:rW,invitations:rW}:{isLoaded:g.loaded,organization:u,membership:(r=c.user.organizationMemberships,n=u.id,r.find(e=>e.organization.id===n)),domains:S,membershipRequests:k,memberships:E,invitations:_}}let rB="useOrganizationCreationDefaults";function r$(){var e,t,r,n,i,a,o;let s=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};rb(rB);let{keepPreviousData:l=!0,enabled:u=!0}=s,c=rc(),f=rA(),d=null!=(e=null==(a=c.__internal_environment)||null==(i=a.organizationSettings)||null==(n=i.organizationCreationDefaults)?void 0:n.enabled)&&e;null==(o=c.telemetry)||o.record((0,eC.a)(rB));let{queryKey:h}=function(e){let{userId:t}=e;return(0,eI.useMemo)(()=>rw({stablePrefix:"organizationCreationDefaults",authenticated:!!t,tracked:{userId:null!=t?t:null},untracked:{args:{}}}),[t])}({userId:null!=(t=null==f?void 0:f.id)?t:null}),p=!!f&&u&&d&&c.loaded,g=rx({queryKey:h,queryFn:null==f?void 0:f.getOrganizationCreationDefaults,enabled:p,placeholderData:rS(l)});return{data:g.data,error:null!=(r=g.error)?r:null,isLoading:g.isLoading,isFetching:g.isFetching}}let rV={data:void 0,count:void 0,error:void 0,isLoading:!1,isFetching:!1,isError:!1,page:void 0,pageCount:void 0,fetchPage:void 0,fetchNext:void 0,fetchPrevious:void 0,hasNextPage:!1,hasPreviousPage:!1,revalidate:void 0,setData:void 0};function rY(e){var t;let{userMemberships:r,userInvitations:n,userSuggestions:i}=e||{};rb("useOrganizationList"),rq("useOrganizationList",{enabled:void 0!==r||void 0!==n||void 0!==i});let a=rO(r,{initialPage:1,pageSize:10,keepPreviousData:!1,infinite:!1}),o=rO(n,{initialPage:1,pageSize:10,status:"pending",keepPreviousData:!1,infinite:!1}),s=rO(i,{initialPage:1,pageSize:10,status:"pending",keepPreviousData:!1,infinite:!1}),l=rc(),u=rA();null==(t=l.telemetry)||t.record((0,eC.a)("useOrganizationList"));let c=void 0===r?void 0:{initialPage:a.initialPage,pageSize:a.pageSize},f=void 0===n?void 0:{initialPage:o.initialPage,pageSize:o.pageSize,status:o.status},d=void 0===i?void 0:{initialPage:s.initialPage,pageSize:s.pageSize,status:s.status},h=!!(l.loaded&&u),p=rR({fetcher:null==u?void 0:u.getOrganizationMemberships,config:{keepPreviousData:a.keepPreviousData,infinite:a.infinite,enabled:!!c,isSignedIn:null!==u,initialPage:a.initialPage,pageSize:a.pageSize},keys:rw({stablePrefix:"userMemberships",authenticated:!0,tracked:{userId:null==u?void 0:u.id},untracked:{args:c}})}),g=rR({fetcher:null==u?void 0:u.getOrganizationInvitations,config:{keepPreviousData:o.keepPreviousData,infinite:o.infinite,enabled:!!f,isSignedIn:null!==u,initialPage:o.initialPage,pageSize:o.pageSize},keys:rw({stablePrefix:"userInvitations",authenticated:!0,tracked:{userId:null==u?void 0:u.id},untracked:{args:f}})}),y=rR({fetcher:null==u?void 0:u.getOrganizationSuggestions,config:{keepPreviousData:s.keepPreviousData,infinite:s.infinite,enabled:!!d,isSignedIn:null!==u,initialPage:s.initialPage,pageSize:s.pageSize},keys:rw({stablePrefix:"userSuggestions",authenticated:!0,tracked:{userId:null==u?void 0:u.id},untracked:{args:d}})});return h?{isLoaded:h,setActive:l.setActive,createOrganization:l.createOrganization,userMemberships:p,userInvitations:g,userSuggestions:y}:{isLoaded:!1,createOrganization:void 0,setActive:void 0,userMemberships:rV,userInvitations:rV,userSuggestions:rV}}let rQ="u">typeof window?eI.useLayoutEffect:eI.useEffect,rH="useSession",rG=()=>{var e;rb(rH);let t=rN(),r=rc();return(null==(e=r.telemetry)||e.record((0,eC.a)(rH)),void 0===t)?{isLoaded:!1,isSignedIn:void 0,session:void 0}:null===t?{isLoaded:!0,isSignedIn:!1,session:null}:{isLoaded:!0,isSignedIn:r.isSignedIn,session:t}},rJ,rX=()=>rJ;function rZ(){let e=rc();return(0,eI.useSyncExternalStore)((0,eI.useCallback)(t=>e.addListener(t,{skipInitialEmit:!0}),[e]),(0,eI.useCallback)(()=>{if(e.loaded&&e.__internal_lastEmittedResources)return e.__internal_lastEmittedResources.client},[e]),rX)}let r0="useUser";function r1(){var e;rb(r0);let t=rA();return(null==(e=rc().telemetry)||e.record((0,eC.a)(r0)),void 0===t)?{isLoaded:!1,isSignedIn:void 0,user:void 0}:null===t?{isLoaded:!0,isSignedIn:!1,user:null}:{isLoaded:!0,isSignedIn:!0,user:t}}let r6=(e,t)=>{let r;return eI.useMemo(e,(r=eI.useRef(t),(0,ro.j)(t,r.current)||(r.current=t),eI.useMemo(()=>r.current,[r.current])))};async function r5(e){try{let t=await e;if(t instanceof Response)return t.json();return t}catch(e){if((0,eP.C)(e)&&e.errors.find(e=>{let{code:t}=e;return"session_reverification_required"===t}))return{clerk_error:{type:"forbidden",reason:h,metadata:{reverification:void 0}}};throw e}}let r2=(e,t)=>{let{__internal_openReverification:r,telemetry:n}=rF(),i=(0,eI.useRef)(e),a=(0,eI.useRef)(t);return null==n||n.record((0,eC.a)("useReverification",{onNeedsReverification:!!(null==t?void 0:t.onNeedsReverification),passReverificationResult:!!(null==t?void 0:t.passReverificationResult)})),rQ(()=>{i.current=e,a.current=t}),(0,eI.useCallback)(function(){for(var e,t=arguments.length,o=Array(t),s=0;s<t;s++)o[s]=arguments[s];return(e={openUIComponent:r,telemetry:n,...a.current},function(t){let r=(r,n)=>e.passReverificationResult?t(r,...n):t(...n);return async function(){for(var t,n,i,a,o,s=arguments.length,l=Array(s),u=0;u<s;u++)l[u]=arguments[u];let c=await r5(r(void 0,l));if((t=c)&&"object"==typeof t&&"clerk_error"in t&&(null==(n=t.clerk_error)?void 0:n.type)==="forbidden"&&(null==(i=t.clerk_error)?void 0:i.reason)===h){let t=(0,eO.t)(),n=(e=>{let t,r;if(!e)return!1;let n="string"==typeof e&&y.has(e),i="object"==typeof e&&(t=e.level,g.has(t))&&"number"==typeof(r=e.afterMinutes)&&r>0;return(!!n||!!i)&&(e=>"string"==typeof e?p[e]:e).bind(null,e)})(null==(a=c.clerk_error.metadata)?void 0:a.reverification),i=n?n().level:void 0,s=()=>{t.reject(new e_.t("User cancelled attempted verification",{code:"reverification_cancelled"}))},u=e=>{t.resolve(e)};void 0===e.onNeedsReverification?null==(o=e.openUIComponent)||o.call(e,{level:i,afterVerification:u,afterVerificationCancelled:s}):e.onNeedsReverification({cancel:s,complete:u,level:i}),c=await r5(r(await t.promise,l))}return c}})(i.current)(...o)},[r,n])};function r8(e){var t,r;let n=rc(),i=null==(t=null==e?void 0:e.enabled)||t,a=n.__internal_environment,o=rA(),s=rj(),l=null==a?void 0:a.commerceSettings.billing.user.enabled,u=null==a?void 0:a.commerceSettings.billing.organization.enabled,c=(null==e?void 0:e.for)==="organization"?u:(null==e?void 0:e.for)==="user"?l:l||u,f=(null==e?void 0:e.for)==="organization",d=null!=(r=null==e?void 0:e.authenticated)&&!r||(!f||!!(null==s?void 0:s.id))&&!!(null==o?void 0:o.id);return c&&i&&n.loaded&&d}function r3(e){let{hookName:t,resourceType:r,useFetcher:n,options:i}=e;return function(e){var a;let{for:o,enabled:s,...l}=e||{},u=o||"user";rb(t);let c=n(u),f=rO(l,{initialPage:1,pageSize:10,keepPreviousData:!1,infinite:!1,__experimental_mode:void 0}),d=rc(),h=rA(),p=rj();null==(a=d.telemetry)||a.record((0,eC.a)(t));let g="organization"===u,y=r8({for:u,enabled:s,authenticated:!(null==i?void 0:i.unauthenticated)}),m=void 0===l?void 0:{initialPage:f.initialPage,pageSize:f.pageSize,...(null==i?void 0:i.unauthenticated)?{}:g?{orgId:null==p?void 0:p.id}:{}},b=!!m&&d.loaded&&!!y;return rR({fetcher:c,config:{keepPreviousData:f.keepPreviousData,infinite:f.infinite,enabled:b,...(null==i?void 0:i.unauthenticated)?{}:{isSignedIn:null!==h},__experimental_mode:f.__experimental_mode,initialPage:f.initialPage,pageSize:f.pageSize},keys:rw({stablePrefix:r,authenticated:!(null==i?void 0:i.unauthenticated),tracked:(null==i?void 0:i.unauthenticated)?{for:u}:{userId:null==h?void 0:h.id,...g?{orgId:null==p?void 0:p.id}:{}},untracked:{args:m}})})}}let r4=r3({hookName:"useStatements",resourceType:"billing-statements",useFetcher:()=>{let e=rc();if(e.loaded)return e.billing.getStatements}}),r7=r3({hookName:"usePaymentAttempts",resourceType:"billing-payment-attempts",useFetcher:()=>{let e=rc();if(e.loaded)return e.billing.getPaymentAttempts}}),r9=r3({hookName:"usePaymentMethods",resourceType:"billing-payment-methods",useFetcher:e=>{let t=rj(),r=rA();return"organization"===e?null==t?void 0:t.getPaymentMethods:null==r?void 0:r.getPaymentMethods}}),ne=r3({hookName:"usePlans",resourceType:"billing-plans",useFetcher:e=>{let t=rc();if(t.loaded)return r=>t.billing.getPlans({...r,for:e})},options:{unauthenticated:!0}}),nt="useSubscription";function nr(e){var t,r;rb(nt);let n=rc(),i=rA(),a=rj(),o=r8(e),s=(0,eI.useRef)(!1);(0,eI.useEffect)(()=>{!s.current&&(null==n?void 0:n.telemetry)&&(n.telemetry.record((0,eC.a)(nt)),s.current=!0)},[n]);let l=null!=(t=null==e?void 0:e.keepPreviousData)&&t,[u]=r_(),{queryKey:c,invalidationKey:f,stableKey:d,authenticated:h}=function(e){let{userId:t,orgId:r,for:n}=e;return(0,eI.useMemo)(()=>{let e="organization"===n?r:void 0;return rw({stablePrefix:"billing-subscription",authenticated:!0,tracked:{userId:t,orgId:e},untracked:{args:{orgId:e}}})},[t,r,n])}({userId:null==i?void 0:i.id,orgId:null==a?void 0:a.id,for:null==e?void 0:e.for}),p=!!((null==i?void 0:i.id)&&o);rC({isSignedOut:null===i,authenticated:h,stableKeys:d});let g=rx({queryKey:c,queryFn:e=>{let{queryKey:t}=e,r=t[3];return n.billing.getSubscription(r.args)},staleTime:6e4,enabled:p,placeholderData:rS(l&&p)}),y=(0,eI.useCallback)(()=>u.invalidateQueries({queryKey:f}),[u,f]);return{data:g.data,error:null!=(r=g.error)?r:void 0,isLoading:g.isLoading,isFetching:g.isFetching,revalidate:y}}let nn=e=>{let t=ry(),{for:r,planId:n,planPeriod:i,seatsQuantity:a,priceId:o}=e||t,s=rj(),{isLoaded:l,user:u}=r1(),c=rc();if(null===u&&l)throw Error('Clerk: Ensure that `useCheckout` is inside a component wrapped with `<Show when="signed-in" />`.');if(l&&"organization"===r&&null===s)throw Error("Clerk: Ensure your flow checks for an active organization. Retrieve `orgId` from `useAuth()` and confirm it is defined. For SSR, see: https://clerk.com/docs/reference/backend/types/auth-object#how-to-access-the-auth-object");let f=(0,eI.useCallback)(()=>c.__experimental_checkout({planId:n,planPeriod:i,for:r,seatsQuantity:a,priceId:o}),[null==u?void 0:u.id,null==s?void 0:s.id,n,i,r,a,o]),d=(0,eI.useCallback)(e=>c.loaded?c.__internal_state.__internal_effect(()=>{f(),e()}):()=>{},[f,c.loaded,c.__internal_state]),h=(0,eI.useCallback)(()=>f(),[f]);return(0,eI.useSyncExternalStore)(d,h,h)},ni="useCreditBalance";function na(e){var t,r,n;rb(ni);let i=rc(),a=rA(),o=rj(),s=r8(e),l=(0,eI.useRef)(!1);(0,eI.useEffect)(()=>{!l.current&&(null==i?void 0:i.telemetry)&&(i.telemetry.record((0,eC.a)(ni)),l.current=!0)},[i]);let u=null!=(t=null==e?void 0:e.keepPreviousData)&&t,[c]=r_(),{queryKey:f,invalidationKey:d,stableKey:h,authenticated:p}=(0,eI.useMemo)(()=>{let t=(null==e?void 0:e.for)==="organization"?null==o?void 0:o.id:void 0;return rw({stablePrefix:"billing-credit-balance",authenticated:!0,tracked:{userId:null==a?void 0:a.id,orgId:t},untracked:{args:{orgId:t}}})},[null==a?void 0:a.id,null==o?void 0:o.id,null==e?void 0:e.for]),g=!!((null==a?void 0:a.id)&&s&&(null==(r=null==e?void 0:e.enabled)||r));rC({isSignedOut:null===a,authenticated:p,stableKeys:h});let y=rx({queryKey:f,queryFn:e=>{let{queryKey:t}=e,r=t[3];return i.billing.getCreditBalance(r.args)},staleTime:6e4,enabled:g,placeholderData:rS(u&&g)}),m=(0,eI.useCallback)(()=>c.invalidateQueries({queryKey:d}),[c,d]);return{data:y.data,error:null!=(n=y.error)?n:void 0,isLoading:y.isLoading,isFetching:y.isFetching,revalidate:m}}let no="useCreditHistory";function ns(e){var t,r;rb(no);let n=rc(),i=rA(),a=rj(),o=r8(e),s=(0,eI.useRef)(!1);(0,eI.useEffect)(()=>{!s.current&&(null==n?void 0:n.telemetry)&&(n.telemetry.record((0,eC.a)(no)),s.current=!0)},[n]);let[l]=r_(),{queryKey:u,invalidationKey:c,stableKey:f,authenticated:d}=(0,eI.useMemo)(()=>{let t=(null==e?void 0:e.for)==="organization"?null==a?void 0:a.id:void 0;return rw({stablePrefix:"billing-credit-history",authenticated:!0,tracked:{userId:null==i?void 0:i.id,orgId:t},untracked:{args:{orgId:t}}})},[null==i?void 0:i.id,null==a?void 0:a.id,null==e?void 0:e.for]),h=!!((null==i?void 0:i.id)&&o&&(null==(t=null==e?void 0:e.enabled)||t));rC({isSignedOut:null===i,authenticated:d,stableKeys:f});let p=rx({queryKey:u,queryFn:e=>{let{queryKey:t}=e,r=t[3];return n.billing.getCreditHistory(r.args)},staleTime:6e4,enabled:h}),g=(0,eI.useCallback)(()=>l.invalidateQueries({queryKey:c}),[l,c]);return{data:p.data,error:null!=(r=p.error)?r:void 0,isLoading:p.isLoading,isFetching:p.isFetching,revalidate:g}}function nl(){var e,t,r;let n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{statementId:i=null,keepPreviousData:a=!1,for:o="user"}=n,s=rc(),l=rA(),u=rj(),c="organization"===o&&null!=(e=null==u?void 0:u.id)?e:null,{queryKey:f,stableKey:d,authenticated:h}=function(e){let{statementId:t,userId:r,orgId:n,for:i}=e;return(0,eI.useMemo)(()=>rw({stablePrefix:"billing-statement",authenticated:!0,tracked:{statementId:t,forType:i,userId:r,orgId:n},untracked:{args:{id:null!=t?t:void 0,orgId:null!=n?n:void 0}}}),[t,i,r,n])}({statementId:i,userId:null!=(t=null==l?void 0:l.id)?t:null,orgId:c,for:o}),p=r8(n);rC({isSignedOut:null===l,authenticated:h,stableKeys:d});let g=rx({queryKey:f,queryFn:()=>{if(!i)throw Error("statementId is required to fetch a statement");return s.billing.getStatement({id:i,orgId:null!=c?c:void 0})},enabled:!!i&&p,placeholderData:rS(a),staleTime:6e4});return{data:g.data,error:null!=(r=g.error)?r:null,isLoading:g.isLoading,isFetching:g.isFetching}}function nu(){var e,t;let r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{planId:n,initialPlan:i=null,keepPreviousData:a=!0}=r,o=rc(),s=null!=(e=null!=n?n:null==i?void 0:i.id)?e:null,{queryKey:l}=function(e){let{planId:t}=e;return(0,eI.useMemo)(()=>rw({stablePrefix:"billing-plan",authenticated:!1,tracked:{planId:null!=t?t:null},untracked:{args:{id:null!=t?t:void 0}}}),[t])}({planId:s}),u=r8({authenticated:!1}),c=rx({queryKey:l,queryFn:()=>{if(!s)throw Error("planId is required to fetch plan details");return o.billing.getPlan({id:s})},enabled:!!s&&u,initialData:null!=i?i:void 0,placeholderData:rS(a),initialDataUpdatedAt:0});return{data:c.data,error:null!=(t=c.error)?t:null,isLoading:c.isLoading,isFetching:c.isFetching}}function nc(e){var t,r,n;let{paymentAttemptId:i,keepPreviousData:a=!1,for:o="user"}=e,s=rc(),l=rA(),u=rj(),c="organization"===o&&null!=(t=null==u?void 0:u.id)?t:null,{queryKey:f,stableKey:d,authenticated:h}=function(e){let{paymentAttemptId:t,userId:r,orgId:n,for:i}=e;return(0,eI.useMemo)(()=>rw({stablePrefix:"billing-payment-attempt",authenticated:!0,tracked:{paymentAttemptId:t,forType:i,userId:r,orgId:n},untracked:{args:{id:null!=t?t:void 0,orgId:null!=n?n:void 0}}}),[t,i,r,n])}({paymentAttemptId:i,userId:null!=(r=null==l?void 0:l.id)?r:null,orgId:c,for:o}),p=r8(e);rC({isSignedOut:null===l,authenticated:h,stableKeys:d});let g=rx({queryKey:f,queryFn:e=>{let{queryKey:t}=e,r=t[3].args;return s.billing.getPaymentAttempt(r)},enabled:!!i&&p,placeholderData:rS(a),staleTime:6e4});return{data:g.data,error:null!=(n=g.error)?n:null,isLoading:g.isLoading,isFetching:g.isFetching}}function nf(){var e,t;let r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{keepPreviousData:n=!0,enabled:i=!0,withOrganizationAccountLinking:a=!1}=r,o=rc(),s=rA(),[l]=r_(),{queryKey:u,stableKey:c,authenticated:f}=function(e){let{userId:t,withOrganizationAccountLinking:r=!1}=e;return(0,eI.useMemo)(()=>rw({stablePrefix:"userEnterpriseConnections",authenticated:!!t,tracked:{userId:null!=t?t:null,withOrganizationAccountLinking:r},untracked:{args:{}}}),[t,r])}({userId:null!=(e=null==s?void 0:s.id)?e:null,withOrganizationAccountLinking:a}),d=i&&o.loaded&&!!s;rC({isSignedOut:null===s,authenticated:f,stableKeys:c});let h=rx({queryKey:u,queryFn:()=>null==s?void 0:s.getEnterpriseConnections({withOrganizationAccountLinking:a}),enabled:d,placeholderData:rS(n)}),p=(0,eI.useCallback)(()=>l.invalidateQueries({queryKey:[c]}),[l,c]);return{data:h.data,error:null!=(t=h.error)?t:null,isLoading:h.isLoading,isFetching:h.isFetching,revalidate:p}}function nd(){var e,t;let r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{keepPreviousData:n=!0,enabled:i=!0,withOrganizationAccountLinking:a=!1}=r,o=rc(),s=rj(),[l]=r_(),{queryKey:u,stableKey:c,authenticated:f}=function(e){let{organizationId:t,withOrganizationAccountLinking:r=!1}=e;return(0,eI.useMemo)(()=>rw({stablePrefix:"organizationEnterpriseConnections",authenticated:!!t,tracked:{organizationId:null!=t?t:null,withOrganizationAccountLinking:r},untracked:{args:{}}}),[t,r])}({organizationId:null!=(e=null==s?void 0:s.id)?e:null,withOrganizationAccountLinking:a}),d=i&&o.loaded&&!!s;rC({isSignedOut:null===s,authenticated:f,stableKeys:c});let h=rx({queryKey:u,queryFn:()=>null==s?void 0:s.getEnterpriseConnections({withOrganizationAccountLinking:a}),enabled:d,placeholderData:rS(n)}),p=(0,eI.useCallback)(()=>l.invalidateQueries({queryKey:[c]}),[l,c]),g=(0,eI.useCallback)(async e=>{let t=await (null==s?void 0:s.createEnterpriseConnection(e));return t&&(await l.cancelQueries({queryKey:u,exact:!0}),l.setQueryData(u,function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return[...e.filter(e=>e.id!==t.id),t]}),p()),t},[s,l,u,p]),y=(0,eI.useCallback)(async(e,t)=>{let r=await (null==s?void 0:s.updateEnterpriseConnection(e,t));return await p(),r},[s,p]),m=(0,eI.useCallback)(async e=>{let t=await (null==s?void 0:s.deleteEnterpriseConnection(e));return await p(),t},[s,p]);return{data:h.data,error:null!=(t=h.error)?t:null,isLoading:h.isLoading,isFetching:h.isFetching,createEnterpriseConnection:g,updateEnterpriseConnection:y,deleteEnterpriseConnection:m,revalidate:p}}function nh(){var e,t;let r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{keepPreviousData:n=!0,enabled:i=!0,enrollmentMode:a,onOwnershipVerified:o}=r,s=rc(),l=rj(),[u]=r_(),c=(0,eI.useRef)(o);c.current=o;let{queryKey:f,stableKey:d,authenticated:h}=function(e){let{organizationId:t,enrollmentMode:r}=e;return(0,eI.useMemo)(()=>rw({stablePrefix:"organizationDomains",authenticated:!!t,tracked:{organizationId:null!=t?t:null,enrollmentMode:null!=r?r:null},untracked:{args:{}}}),[t,r])}({organizationId:null!=(e=null==l?void 0:l.id)?e:null,enrollmentMode:a}),p=i&&s.loaded&&!!l;rC({isSignedOut:null===l,authenticated:h,stableKeys:d});let g=a?{enrollmentMode:a}:void 0,y=rx({queryKey:f,queryFn:()=>null==l?void 0:l.getDomains(g),enabled:p,placeholderData:rS(n)}),m=(0,eI.useCallback)(()=>u.invalidateQueries({queryKey:[d]}),[u,d]),b=(0,eI.useCallback)(async e=>{var t,r;let n=await (null==l?void 0:l.createDomain(e,a?{enrollmentMode:a}:void 0));return n&&"enterprise_sso"===a&&(n=null!=(t=null==(r=await (null==l?void 0:l.prepareOwnershipVerification([n.id])))?void 0:r.data[0])?t:n),await m(),n},[l,m,a]),w=(0,eI.useCallback)(async e=>{let t=await (null==l?void 0:l.prepareOwnershipVerification(e.map(e=>e.id)));return await m(),t},[l,m]),S=(0,eI.useCallback)(async e=>{let t=await (null==l?void 0:l.attemptOwnershipVerification(e.map(e=>e.id)));return await m(),t},[l,m]),k=y.data,E="development"===s.instanceType&&(null==k?void 0:k.data.every(e=>e.name.toLowerCase().endsWith(".clerk.test")))?500:1e4,_=(0,eI.useMemo)(()=>{var e;return(null!=(e=null==k?void 0:k.data)?e:[]).filter(e=>{var t;return(null==(t=e.ownershipVerification)?void 0:t.status)==="unverified"}).map(e=>e.id)},[null==k?void 0:k.data]).join(",");return(0,eI.useEffect)(()=>{let e;if(!p||!l||!_)return;let t=!1,r=()=>{e=setTimeout(()=>void i(),E)},n=_.split(","),i=async()=>{var e,i;let a=await l.attemptOwnershipVerification(n).catch(e=>{ex.v.warnOnce("Clerk: failed to attempt organization domain ownership verification: ".concat(e))});if(t||(await m(),t))return;let o=null!=(e=null==a?void 0:a.data.filter(e=>{var t;return(null==(t=e.ownershipVerification)?void 0:t.status)==="verified"}))?e:[];o.length&&await (null==(i=c.current)?void 0:i.call(c,o)),t||(null==a?void 0:a.data.length)&&a.data.every(e=>{var t;return(null==(t=e.ownershipVerification)?void 0:t.status)==="verified"})||r()};return r(),()=>{t=!0,clearTimeout(e)}},[_,p,E]),{data:null==k?void 0:k.data,totalCount:null==k?void 0:k.total_count,error:null!=(t=y.error)?t:null,isLoading:y.isLoading,isFetching:y.isFetching,createDomain:b,prepareOwnershipVerification:w,attemptOwnershipVerification:S,revalidate:m}}function np(e){var t,r;let{enterpriseConnectionId:n,enabled:i=!0}=e,a=rc(),o=rj(),[s]=r_(),{queryKey:l,invalidationKey:u,stableKey:c,authenticated:f}=function(e){let{organizationId:t,enterpriseConnectionId:r}=e;return(0,eI.useMemo)(()=>rw({stablePrefix:"organizationDirectorySync",authenticated:!!t,tracked:{organizationId:null!=t?t:null,enterpriseConnectionId:null!=r?r:null},untracked:{args:{}}}),[t,r])}({organizationId:null!=(t=null==o?void 0:o.id)?t:null,enterpriseConnectionId:n}),d=i&&a.loaded&&!!o&&!!n;rC({isSignedOut:null===o,authenticated:f,stableKeys:c});let h=rx({queryKey:l,queryFn:async()=>{if(!n)throw Error("enterpriseConnectionId is required to fetch the directory");try{var e;return null!=(e=await (null==o?void 0:o.getDirectorySync(n)))?e:null}catch(e){if((0,eP.C)(e)&&404===e.status)return null;throw e}},enabled:d}),p=(0,eI.useCallback)(()=>s.invalidateQueries({queryKey:u}),[s,u]),g=(0,eI.useCallback)(async e=>{if(!n)return;let t=await (null==o?void 0:o.createDirectorySync(n,e));return await p(),t},[o,n,p]),y=h.data,m=(0,eI.useCallback)(async e=>{if(!y)return;let t=await y.update(e);return await p(),t},[y,p]),b=(0,eI.useCallback)(async()=>{if(!y)return;let e=await y.rotateToken();return await p(),e},[y,p]),w=(0,eI.useCallback)(async e=>{if(!y)return;let t=await y.setCredentials(e);return await p(),t},[y,p]),S=(0,eI.useCallback)(async()=>{y&&await y.sync()},[y]),k=(0,eI.useCallback)(async()=>{if(!y)return;let e=await y.delete();return await p(),e},[y,p]);return{data:h.data,error:null!=(r=h.error)?r:null,isLoading:h.isLoading,isFetching:h.isFetching,createDirectorySync:g,updateDirectorySync:m,rotateDirectorySyncToken:b,setDirectorySyncCredentials:w,syncDirectory:S,deleteDirectorySync:k,revalidate:p}}function nv(e){var t,r,n,i,a,o;let{directory:s,params:l={initialPage:1,pageSize:10},poll:u=!1,pollIntervalMs:c=2e3,enabled:f=!0,keepPreviousData:d=!0}=e,h=rc(),p=rj(),[g]=r_(),y=null!=(t=null==s?void 0:s.enterpriseConnectionId)?t:null,m=null!=(r=null==s?void 0:s.id)?r:null,{queryKey:b,invalidationKey:w,stableKey:S,authenticated:k}=function(e){let{organizationId:t,enterpriseConnectionId:r,directoryId:n,args:i}=e;return(0,eI.useMemo)(()=>rw({stablePrefix:"organizationDirectorySyncUsers",authenticated:!!t,tracked:{organizationId:null!=t?t:null,enterpriseConnectionId:null!=r?r:null,directoryId:null!=n?n:null},untracked:{args:i}}),[t,r,n,JSON.stringify(i)])}({organizationId:null!=(n=null==p?void 0:p.id)?n:null,enterpriseConnectionId:y,directoryId:m,args:l});rC({isSignedOut:null===p,authenticated:k,stableKeys:S});let E=f&&h.loaded&&!!p&&!!s,_=b[2],P=rx({queryKey:b,queryFn:()=>{if(!s)throw Error("directory is required to fetch directory users");return s.getUsers(l)},refetchInterval:()=>!!u&&c,enabled:E,refetchIntervalInBackground:!1,placeholderData:d?(e,t)=>{let r=null==t?void 0:t.queryKey[2];return _.organizationId&&_.directoryId&&(null==r?void 0:r.organizationId)===_.organizationId&&(null==r?void 0:r.directoryId)===_.directoryId?e:void 0}:void 0}),x=(0,eI.useCallback)(async()=>{await g.invalidateQueries({queryKey:w})},[g,w]),C=E&&u;return{data:E?null==(a=P.data)?void 0:a.data:void 0,totalCount:E?null==(o=P.data)?void 0:o.total_count:void 0,error:null!=(i=P.error)?i:null,isLoading:P.isLoading,isFetching:P.isFetching,isPolling:C,revalidate:x}}function ng(e){var t,r,n,i;let{directory:a,poll:o=!1,pollIntervalMs:s=2e3,enabled:l=!0}=e,u=rc(),c=rj(),[f]=r_(),d=null!=(t=null==a?void 0:a.enterpriseConnectionId)?t:null,h=null!=(r=null==a?void 0:a.id)?r:null,{queryKey:p,invalidationKey:g,stableKey:y,authenticated:m}=function(e){let{organizationId:t,enterpriseConnectionId:r,directoryId:n}=e;return(0,eI.useMemo)(()=>rw({stablePrefix:"organizationDirectorySyncStatus",authenticated:!!t,tracked:{organizationId:null!=t?t:null,enterpriseConnectionId:null!=r?r:null,directoryId:null!=n?n:null},untracked:{args:{}}}),[t,r,n])}({organizationId:null!=(n=null==c?void 0:c.id)?n:null,enterpriseConnectionId:d,directoryId:h});rC({isSignedOut:null===c,authenticated:m,stableKeys:y});let b=!!c&&(null==a?void 0:a.organizationId)===(null==c?void 0:c.id),w=l&&u.loaded&&b&&!!a,S=rx({queryKey:p,queryFn:()=>{if(!a)throw Error("directory is required to fetch sync status");return a.getSyncStatus()},refetchInterval:()=>!!o&&s,enabled:w,refetchIntervalInBackground:!1}),k=(0,eI.useCallback)(async()=>{await f.invalidateQueries({queryKey:g})},[f,g]);return{data:w?S.data:void 0,error:null!=(i=S.error)?i:null,isLoading:S.isLoading,isFetching:S.isFetching,isPolling:w&&o,revalidate:k}}let ny=async e=>{let t,r=[];do{let n=await e.getGroups({limit:500,startingAfter:t});r.push(...n.data),t=n.hasNextPage&&n.startingAfter?n.startingAfter:void 0}while(t);return r};function nm(e){var t,r,n,i;let{directory:a,enabled:o=!0}=e,s=rc(),l=rj(),[u]=r_(),{queryKey:c,invalidationKey:f,stableKey:d,authenticated:h}=function(e){let{organizationId:t,enterpriseConnectionId:r,directoryId:n}=e;return(0,eI.useMemo)(()=>rw({stablePrefix:"organizationDirectorySyncGroupRoleMappings",authenticated:!!t,tracked:{organizationId:null!=t?t:null,enterpriseConnectionId:null!=r?r:null,directoryId:null!=n?n:null},untracked:{args:{}}}),[t,r,n])}({organizationId:null!=(t=null==l?void 0:l.id)?t:null,enterpriseConnectionId:null!=(r=null==a?void 0:a.enterpriseConnectionId)?r:null,directoryId:null!=(n=null==a?void 0:a.id)?n:null});rC({isSignedOut:null===l,authenticated:h,stableKeys:d});let p=!!l&&(null==a?void 0:a.organizationId)===(null==l?void 0:l.id),g=o&&s.loaded&&p&&!!a,y=rx({queryKey:c,queryFn:async()=>{if(!a)throw Error("directory is required to fetch group role mappings");let[e,t]=await Promise.all([ny(a),a.getGroupRoleMappings()]);return{groups:e,mappings:t.data,defaultRole:t.defaultRole}},enabled:g}),m=(0,eI.useCallback)(async()=>{await u.invalidateQueries({queryKey:f})},[u,f]),b=(0,eI.useCallback)(async e=>{if(!a)return;let t=await a.replaceGroupRoleMappings(e);return u.setQueryData(c,e=>e?{...e,mappings:t.data,defaultRole:t.defaultRole}:e),t.data},[a,u,c]);return{data:g?y.data:void 0,error:null!=(i=y.error)?i:null,isLoading:y.isLoading,isFetching:y.isFetching,replaceGroupRoleMappings:b,revalidate:m}}function nb(e){var t,r,n,i,a,o,s;let{enterpriseConnectionId:l,params:u={initialPage:1,pageSize:10},pollIntervalMs:c=2e3,enabled:f=!0,keepPreviousData:d=!1}=e,h=rc(),p=rj(),[g]=r_(),{queryKey:y,invalidationKey:m,stableKey:b,authenticated:w}=function(e){let{organizationId:t,enterpriseConnectionId:r,args:n}=e;return(0,eI.useMemo)(()=>rw({stablePrefix:"organizationEnterpriseConnectionTestRuns",authenticated:!!t,tracked:{organizationId:null!=t?t:null,enterpriseConnectionId:null!=r?r:null},untracked:{args:n}}),[t,r,JSON.stringify(n)])}({organizationId:null!=(t=null==p?void 0:p.id)?t:null,enterpriseConnectionId:l,args:u});rC({isSignedOut:null===p,authenticated:w,stableKeys:b});let S=f&&h.loaded&&!!p&&!!l,[k,E]=(0,eI.useState)(null),_=null!==k&&k===l;(0,eI.useEffect)(()=>{E(e=>null!==e&&e!==l?null:e)},[l]);let P=rx({queryKey:y,queryFn:()=>{if(!l)throw Error("enterpriseConnectionId is required to fetch test runs");return null==p?void 0:p.getEnterpriseConnectionTestRuns(l,u)},refetchInterval:e=>{var t,r,n;return!!_&&!((null!=(t=null==(n=e.state.data)||null==(r=n.data)?void 0:r.length)?t:0)>0)&&c},enabled:S,refetchIntervalInBackground:!1,placeholderData:rS(d)}),x=(null!=(r=null==(a=P.data)||null==(i=a.data)?void 0:i.length)?r:0)>0;(0,eI.useEffect)(()=>{_&&x&&E(null)},[_,x]);let C=(0,eI.useCallback)(async e=>{var t;(null==(t=null==e?void 0:e.armPolling)||t)&&!x&&E(l),(null==e?void 0:e.exact)?await g.invalidateQueries({queryKey:y,exact:!0}):await g.invalidateQueries({queryKey:m});let r=g.getQueryData(y);return{data:null==r?void 0:r.data,totalCount:null==r?void 0:r.total_count}},[g,m,y,x,l]),O=S&&_&&!x;return{data:null==(o=P.data)?void 0:o.data,totalCount:null==(s=P.data)?void 0:s.total_count,error:null!=(n=P.error)?n:null,isLoading:P.isLoading,isFetching:P.isFetching,isPolling:O,revalidate:C}}function nw(){var e,t;let r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{keepPreviousData:n=!1,enabled:i=!0}=r,a=rc(),o=rj(),[s]=r_(),{queryKey:l,stableKey:u,authenticated:c}=function(e){let{organizationId:t}=e;return(0,eI.useMemo)(()=>rw({stablePrefix:"organizationSSOBypassAllowlist",authenticated:!!t,tracked:{organizationId:null!=t?t:null},untracked:{args:{}}}),[t])}({organizationId:null!=(e=null==o?void 0:o.id)?e:null}),f=i&&a.loaded&&!!o;rC({isSignedOut:null===o,authenticated:c,stableKeys:u});let d=rx({queryKey:l,queryFn:()=>null==o?void 0:o.ssoBypassAllowlist.getUsers(),enabled:f,placeholderData:rS(n)}),h=(0,eI.useCallback)(()=>s.invalidateQueries({queryKey:[u]}),[s,u]),p=(0,eI.useCallback)(async e=>{let t=await (null==o?void 0:o.ssoBypassAllowlist.addUser(e));return await h(),t},[o,h]),g=(0,eI.useCallback)(async e=>{try{return await (null==o?void 0:o.ssoBypassAllowlist.addUsers(e))}finally{await h()}},[o,h]),y=(0,eI.useCallback)(async e=>{let t=await (null==o?void 0:o.ssoBypassAllowlist.removeUser(e));return await h(),t},[o,h]);return{data:d.data,error:null!=(t=d.error)?t:null,isLoading:d.isLoading,isFetching:d.isFetching,addUser:p,addUsers:g,removeUser:y,revalidate:h}}function nS(e){let t=e.clerk;if(t||(0,eR.kX)(),e.initialState instanceof Promise)throw Error("initialState cannot be a promise if React version is less than 19");let r=eI.useMemo(()=>({value:t}),[e.clerkStatus]);return eI.createElement(rh,{initialState:e.initialState},eI.createElement(ru.Provider,{value:r},eI.createElement(rm,{value:void 0},e.children)))}let nk=e=>{let t=(0,eI.useRef)(e);return(0,eI.useEffect)(()=>{t.current=e},[e]),t.current},nE=(e,t,r)=>{let n=!!r,i=(0,eI.useRef)(r);(0,eI.useEffect)(()=>{i.current=r},[r]),(0,eI.useEffect)(()=>{if(!n||!e)return()=>{};let r=function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];i.current&&i.current(...t)};return e.on(t,r),()=>{e.off(t,r)}},[n,t,e,i])},n_=eI.createContext(null);n_.displayName="ElementsContext";let nP=(e,t)=>{if(!e)throw Error("Could not find Elements context; You need to wrap the part of your app that ".concat(t," in an <Elements> provider."));return e},nx=e=>{let{stripe:t,options:r,children:n}=e,i=eI.useMemo(()=>nR(t),[t]),[a,o]=eI.useState(()=>({stripe:"sync"===i.tag?i.stripe:null,elements:"sync"===i.tag?i.stripe.elements(r):null}));eI.useEffect(()=>{let e=!0,t=e=>{o(t=>t.stripe?t:{stripe:e,elements:e.elements(r)})};return"async"!==i.tag||a.stripe?"sync"!==i.tag||a.stripe||t(i.stripe):i.stripePromise.then(r=>{r&&e&&t(r)}),()=>{e=!1}},[i,a,r]);let s=nk(t);eI.useEffect(()=>{null!==s&&s!==t&&console.warn("Unsupported prop change on Elements: You cannot change the `stripe` prop after setting it.")},[s,t]);let l=nk(r);return eI.useEffect(()=>{if(!a.elements)return;let e=nM(r,l,["clientSecret","fonts"]);e&&a.elements.update(e)},[r,l,a.elements]),eI.createElement(n_.Provider,{value:a},n)},nC="Invalid prop `stripe` supplied to `Elements`. We recommend using the `loadStripe` utility from `@stripe/stripe-js`. See https://stripe.com/docs/stripe-js/react#elements-props-stripe for details.",nO=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:nC;if(null===e||nT(e))return e;throw Error(t)},nR=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:nC;if(nA(e))return{tag:"async",stripePromise:Promise.resolve(e).then(e=>nO(e,t))};let r=nO(e,t);return null===r?{tag:"empty"}:{tag:"sync",stripe:r}},nI=e=>null!==e&&"object"==typeof e,nA=e=>nI(e)&&"function"==typeof e.then,nT=e=>nI(e)&&"function"==typeof e.elements&&"function"==typeof e.createToken&&"function"==typeof e.createPaymentMethod&&"function"==typeof e.confirmCardPayment,nM=(e,t,r)=>nI(e)?Object.keys(e).reduce((n,i)=>{let a=!nI(t)||!nD(e[i],t[i]);return r.includes(i)?(a&&console.warn("Unsupported prop change: options.".concat(i," is not a mutable property.")),n):a?{...n||{},[i]:e[i]}:n},null):null,nz="[object Object]",nD=(e,t)=>{if(!nI(e)||!nI(t))return e===t;let r=Array.isArray(e);if(r!==Array.isArray(t))return!1;let n=Object.prototype.toString.call(e)===nz;if(n!==(Object.prototype.toString.call(t)===nz))return!1;if(!n&&!r)return e===t;let i=Object.keys(e),a=Object.keys(t);if(i.length!==a.length)return!1;let o={};for(let e=0;e<i.length;e+=1)o[i[e]]=!0;for(let e=0;e<a.length;e+=1)o[a[e]]=!0;let s=Object.keys(o);return s.length===i.length&&s.every(r=>nD(e[r],t[r]))},nL=e=>nP(eI.useContext(n_),e),nU=(m="payment",b="u"<typeof window,f="".concat(m.charAt(0).toUpperCase()+m.slice(1),"Element"),(d=b?e=>{nL("mounts <".concat(f,">"));let{id:t,className:r}=e;return eI.createElement("div",{id:t,className:r})}:e=>{let t,{id:r,className:n,fallback:i,options:a={},onBlur:o,onFocus:s,onReady:l,onChange:u,onEscape:c,onClick:d,onLoadError:h,onLoaderStart:p,onNetworksChange:g,onConfirm:y,onCancel:b,onShippingAddressChange:w,onShippingRateChange:S}=e,k=nL("mounts <".concat(f,">")),E="elements"in k?k.elements:null,[_,P]=eI.useState(null),x=eI.useRef(null),C=eI.useRef(null),[O,R]=(0,eI.useState)(!1);nE(_,"blur",o),nE(_,"focus",s),nE(_,"escape",c),nE(_,"click",d),nE(_,"loaderror",h),nE(_,"loaderstart",p),nE(_,"networkschange",g),nE(_,"confirm",y),nE(_,"cancel",b),nE(_,"shippingaddresschange",w),nE(_,"shippingratechange",S),nE(_,"change",u),l&&(t=()=>{R(!0),l(_)}),nE(_,"ready",t),eI.useLayoutEffect(()=>{if(null===x.current&&null!==C.current&&E){let e=null;E&&(e=E.create(m,a)),x.current=e,P(e),e&&e.mount(C.current)}},[E,a]);let I=nk(a);return eI.useEffect(()=>{if(!x.current)return;let e=nM(a,I,["paymentRequest"]);e&&"update"in x.current&&x.current.update(e)},[a,I]),eI.useLayoutEffect(()=>()=>{if(x.current&&"function"==typeof x.current.destroy)try{x.current.destroy(),x.current=null}catch{}},[]),eI.createElement(eI.Fragment,null,!O&&i,eI.createElement("div",{id:r,style:{height:O?"unset":"0px",visibility:O?"visible":"hidden"},className:n,ref:C}))}).displayName=f,d.__elementType=m,d),nj=function(){var e,t;let r,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"user",i=(r=rF(),null!=(t=rx({queryKey:["clerk-stripe-sdk"],queryFn:async()=>({loadStripe:await r.__internal_loadStripeJs()}),staleTime:1/0,refetchOnWindowFocus:!1,placeholderData:rS(!0)}).data)?t:null),a=rF().__internal_environment,{initializedPaymentMethod:o,initializePaymentMethod:s}=function(e){var t;let{for:r}=null!=e?e:{},n=rj(),i=rA(),a="organization"===r?n:i,o=r8(e),s="billing-payment-method-initialize",l=(0,eI.useMemo)(()=>[s,!0,{resourceId:null==a?void 0:a.id},{}],[null==a?void 0:a.id]),u=!!(null==a?void 0:a.id)&&o;rC({isSignedOut:null===i,authenticated:!0,stableKeys:s});let c=rx({queryKey:l,queryFn:async()=>{if(a)return a.initializePaymentMethod({gateway:"stripe"})},enabled:u,staleTime:6e4,refetchOnWindowFocus:!1,placeholderData:rS(u)}),[f]=r_(),d=(0,eI.useCallback)(async()=>{if(!a)return;let e=await a.initializePaymentMethod({gateway:"stripe"});return f.setQueryData(l,e),e},[f,l,a]);return{initializedPaymentMethod:null!=(t=c.data)?t:void 0,initializePaymentMethod:d}}({for:n}),l=null!=(e=null==a?void 0:a.commerceSettings.billing.stripePublishableKey)?e:void 0;return{stripe:function(e){let{stripeClerkLibs:t,externalGatewayId:r,stripePublishableKey:n}=e,i=(0,eI.useMemo)(()=>["stripe-sdk",{externalGatewayId:r,stripePublishableKey:n}],[r,n]),a=r8({authenticated:!0});return rx({queryKey:i,queryFn:()=>t&&r&&n?t.loadStripe(n,{stripeAccount:r}):null,enabled:!!(t&&r&&n)&&a,staleTime:6e4,refetchOnWindowFocus:!1,placeholderData:rS(!0)}).data}({stripeClerkLibs:i,externalGatewayId:null==o?void 0:o.externalGatewayId,stripePublishableKey:l}),initializePaymentMethod:s,externalClientSecret:null==o?void 0:o.externalClientSecret,paymentMethodOrder:null==o?void 0:o.paymentMethodOrder}},[nN,nF]=rl("PaymentElementContext"),[nq,nW]=rl("StripeUtilsContext"),nK=e=>{let{children:t}=e,r=(()=>{let{stripe:e}=nL("calls useStripe()");return e})(),n=(()=>{let{elements:e}=nP(eI.useContext(n_),"calls useElements()");return e})();return eI.createElement(nq.Provider,{value:{value:{stripe:r,elements:n}}},t)},nB=e=>{let{children:t}=e;return eI.createElement(nq.Provider,{value:{value:{}}},t)},n$=e=>{let{children:t,...r}=e,n=nj(r.for),[i,a]=(0,eI.useState)(!1);return eI.createElement(nN.Provider,{value:{value:{...r,...n,setIsPaymentElementReady:a,isPaymentElementReady:i}}},t)},nV=e=>{let{children:t,...r}=e;return eI.createElement(n$,r,eI.createElement(nY,null,t))},nY=e=>{let{stripe:t,externalClientSecret:r,stripeAppearance:n}=nF(),i=(()=>{let e=rF(),t="en";try{var r;t=(null==(r=e.__internal_getOption("localization"))?void 0:r.locale)||"en"}catch{}return t.split("-")[0]})();return t&&r?eI.createElement(nx,{key:r,stripe:t,options:{loader:"never",clientSecret:r,appearance:{variables:n},locale:i}},eI.createElement(nK,null,e.children)):eI.createElement(nB,null,e.children)},nQ=e=>{let{fallback:t}=e,{setIsPaymentElementReady:r,paymentMethodOrder:n,checkout:i,stripe:a,externalClientSecret:o,paymentDescription:s,for:l}=nF(),u=rF().__internal_environment,c=(0,eI.useMemo)(()=>{var e;if(i&&i.totals&&i.plan)return{recurringPaymentRequest:{paymentDescription:s||"",managementURL:"organization"===l?(null==u?void 0:u.displayConfig.organizationProfileUrl)||"":(null==u?void 0:u.displayConfig.userProfileUrl)||"",regularBilling:{amount:(null==(e=i.totals.totalDueNow)?void 0:e.amount)||i.totals.grandTotal.amount,label:i.plan.name,recurringPaymentIntervalUnit:"annual"===i.planPeriod?"year":"month"}}}},[i,s,l,u]),f=(0,eI.useMemo)(()=>({layout:{type:"tabs",defaultCollapsed:!1},paymentMethodOrder:n,applePay:c}),[c,n]),d=(0,eI.useCallback)(()=>{r(!0)},[r]);return a&&o?eI.createElement(nU,{fallback:t,onReady:d,options:f}):eI.createElement(eI.Fragment,null,t)},nH=()=>{throw Error("Clerk: Unable to submit, Stripe libraries are not yet loaded. Be sure to check `isFormReady` before calling `submit`.")},nG=()=>{let{isPaymentElementReady:e,initializePaymentMethod:t}=nF(),{stripe:r,elements:n}=nW(),{externalClientSecret:i}=nF(),a=(0,eI.useCallback)(async()=>{if(!r||!n)return nH();let{setupIntent:e,error:t}=await r.confirmSetup({elements:n,confirmParams:{return_url:window.location.href},redirect:"if_required"});return t?{data:null,error:{gateway:"stripe",error:{code:t.code,message:t.message,type:t.type}}}:{data:{gateway:"stripe",paymentToken:e.payment_method},error:null}},[r,n]),o=(0,eI.useCallback)(async()=>{if(!r||!n)return nH();await t()},[r,n,t]),s=!!(r&&i);return s?{submit:a,reset:o,isFormReady:e,provider:{name:"stripe"},isProviderReady:s}:{submit:nH,reset:nH,isFormReady:!1,provider:void 0,isProviderReady:!1}},[nJ,,nX]=rl("PortalProvider"),nZ=e=>{let{children:t,getContainer:r}=e,n=eI.useMemo(()=>({value:{getContainer:r}}),[r]);return eI.createElement(nJ.Provider,{value:n},t)};nZ.displayName="UNSAFE_PortalProvider";let n0=()=>{let e=nX();return e&&"getContainer"in e&&e.getContainer?e.getContainer:()=>null}},56874(e,t,r){function n(e){let t=e||"";return t.charAt(0).toUpperCase()+t.slice(1)}function i(e){return e?e.replace(/([-_][a-z])/g,e=>e.toUpperCase().replace(/-|_/,"")):""}function a(e){return e?e.replace(/[A-Z]/g,e=>"_".concat(e.toLowerCase())):""}r(85281),r(96954),r(42949),r(37891),r(36395),r(34330),r(46455);let o=e=>{let t=r=>{if(!r)return r;if(Array.isArray(r))return r.map(e=>"object"==typeof e||Array.isArray(e)?t(e):e);let n={...r};for(let r of Object.keys(n)){let i=e(r.toString());i!==r&&(n[i]=n[r],delete n[r]),"object"==typeof n[i]&&(n[i]=t(n[i]))}return n};return t};function s(e){if("boolean"==typeof e)return e;if(null==e)return!1;if("string"==typeof e){if("true"===e.toLowerCase())return!0;if("false"===e.toLowerCase())return!1}let t=parseInt(e,10);return!isNaN(t)&&t>0}o(a),o(i),r.d(t,{C8:()=>a,Ns:()=>n,sF:()=>i,zz:()=>s})},77530(e,t,r){r.d(t,{ph:()=>a.t,aY:()=>s,b_:()=>n.r,lQ:()=>i.t});var n=r(91311),i=r(98591),a=r(64093);r(42949),r(37891),r(73560),r(36395),r(67548),r(70954),r(98803),r(79162),r(15385),r(39342),r(69152),r(15254),r(86449);let o=new Set(["__proto__","constructor","prototype"]),s=(e,t)=>{if(e&&t)for(let r in e)!o.has(r)&&(Object.prototype.hasOwnProperty.call(e,r)&&null!==e[r]&&"object"==typeof e[r]?(void 0===t[r]&&(t[r]=new(Object.getPrototypeOf(e[r])).constructor),s(e[r],t[r])):Object.prototype.hasOwnProperty.call(e,r)&&void 0!==e[r]&&(t[r]=e[r]))}}},i={};function a(e){var t=i[e];if(void 0!==t)return t.exports;var r=i[e]={exports:{}};return n[e].call(r.exports,r,r.exports,a),r.exports}a.m=n,a.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return a.d(t,{a:t}),t},s=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,a.t=function(e,t){if(1&t&&(e=this(e)),8&t||"object"==typeof e&&e&&(4&t&&e.__esModule||16&t&&"function"==typeof e.then))return e;var r=Object.create(null);a.r(r);var n={};o=o||[null,s({}),s([]),s(s)];for(var i=2&t&&e;("object"==typeof i||"function"==typeof i)&&!~o.indexOf(i);i=s(i))Object.getOwnPropertyNames(i).forEach(t=>{n[t]=()=>e[t]});return n.default=()=>e,a.d(r,n),r},a.d=(e,t,r)=>{var n=(t,r)=>{for(var n in t)a.o(t,n)&&!a.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,[r]:t[n]})};n(t,"get"),n(r,"value")},a.f={},a.e=e=>Promise.all(Object.keys(a.f).reduce((t,r)=>(a.f[r](e,t),t),[])),a.u=e=>""+(({1058:"useravatar",1256:"checkout",1264:"op-plans-page",1545:"vendors",1723:"taskChooseOrganization",2099:"userbutton",2259:"up-billing-page",226:"invitemembers",2533:"enableOrganizationsPrompt",26:"framework",2841:"planDetails",2888:"op-security-page",289:"op-billing-page",3328:"blankcaptcha",4122:"payment-attempt-page",472:"signup",505:"revoke-api-key-modal",522:"keylessPrompt",5265:"waitlist",5364:"organizationswitcher",5591:"oauthConsent",5608:"prefetchorganizationlist",5636:"userverification",5721:"onetap",6390:"sessionTasks",6666:"ui-common",6738:"credit-history-page",7004:"taskSetupMFA",7030:"pricingTable",7110:"up-plans-page",718:"userprofile",7223:"op-api-keys-page",7451:"subscriptionDetails",7488:"configureDirectorySync",7627:"statement-page",7817:"up-api-keys-page",7971:"configureSSO",799:"organizationlist",8010:"signin",8067:"taskResetPassword",8310:"organizationprofile",8326:"apiKeys",8333:"protectcheck",8394:"copy-api-key-modal",8917:"impersonationfab",9088:"oauthDeviceVerification",9188:"web3-solana-wallet-buttons",9243:"createorganization"})[e]||e)+"_ui_"+a.h().slice(0,6)+"_1.44.3-canary.v20261120111523.js",a.h=()=>"be06f4b8e2258a44",a.g=(()=>{if("object"==typeof globalThis)return globalThis;try{return this||Function("return this")()}catch(e){if("object"==typeof window)return window}})(),a.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),l={},a.l=function(e,t,r,n){if(l[e])return void l[e].push(t);if(void 0!==r)for(var i,o,s=document.getElementsByTagName("script"),u=0;u<s.length;u++){var c=s[u];if(c.getAttribute("src")==e||c.getAttribute("data-rspack")=="@clerk/ui:"+r){i=c;break}}i||(o=!0,(i=document.createElement("script")).timeout=120,a.nc&&i.setAttribute("nonce",a.nc),i.setAttribute("data-rspack","@clerk/ui:"+r),i.src=e),l[e]=[t];var f=function(t,r){i.onerror=i.onload=null,clearTimeout(d);var n=l[e];if(delete l[e],i.parentNode&&i.parentNode.removeChild(i),n&&n.forEach(function(e){return e(r)}),t)return t(r)},d=setTimeout(f.bind(null,void 0,{type:"timeout",target:i}),12e4);i.onerror=f.bind(null,i.onerror),i.onload=f.bind(null,i.onload),o&&document.head.appendChild(i)},a.r=e=>{"u">typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.g.importScripts&&(u=a.g.location+"");var o,s,l,u,c=a.g.document;if(!u&&c&&(c.currentScript&&"SCRIPT"===c.currentScript.tagName.toUpperCase()&&(u=c.currentScript.src),!u)){var f=c.getElementsByTagName("script");if(f.length)for(var d=f.length-1;d>-1&&(!u||!/^http(s?):/.test(u));)u=f[d--].src}if(!u)throw Error("Automatic publicPath is not supported in this browser");return a.p=u=u.replace(/^blob:/,"").replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),e={991:0},a.f.j=function(t,r){var n=a.o(e,t)?e[t]:void 0;if(0!==n)if(n)r.push(n[2]);else{var i=new Promise((r,i)=>n=e[t]=[r,i]);r.push(n[2]=i);var o=a.p+a.u(t),s=Error();a.l(o,function(r){if(a.o(e,t)&&(0!==(n=e[t])&&(e[t]=void 0),n)){var i=r&&("load"===r.type?"missing":r.type),o=r&&r.target&&r.target.src;s.message="Loading chunk "+t+" failed.\n("+i+": "+o+")",s.name="ChunkLoadError",s.type=i,s.request=o,n[1](s)}},"chunk-"+t,t)}},t=(t,r)=>{var n,i,[o,s,l]=r,u=0;if(o.some(t=>0!==e[t])){for(n in s)a.o(s,n)&&(a.m[n]=s[n]);l&&l(a)}for(t&&t(r);u<o.length;u++)i=o[u],a.o(e,i)&&e[i]&&e[i][0](),e[i]=0},(r=globalThis.rspackChunk_clerk_ui=globalThis.rspackChunk_clerk_ui||[]).forEach(t.bind(null,0)),r.push=t.bind(null,r.push.bind(r)),a(39817)})());
|