{"version":3,"sources":["../../../src/theme/default/assets/ory-badge-horizontal.svg","../../../src/theme/default/assets/ory-badge-vertical.svg","../../../src/theme/default/components/card/badge.tsx","../../../src/theme/default/components/card/content.tsx","../../../src/theme/default/components/card/footer.tsx","../../../src/components/card/two-step/state-select-method.tsx","../../../src/context/component.tsx","../../../src/context/flow-context.tsx","../../../src/context/form-state.ts","../../../src/components/card/two-step/utils.ts","../../../src/theme/default/utils/form.ts","../../../src/util/ui/index.ts","../../../src/context/config.tsx","../../../src/util/client.ts","../../../src/context/intl-context.tsx","../../../src/components/form/form.tsx","../../../src/components/form/useOryFormSubmit.ts","../../../src/util/onSubmitLogin.ts","../../../src/util/sdk-helpers/error.ts","../../../src/util/sdk-helpers/utils.ts","../../../src/util/onSubmitRecovery.ts","../../../src/util/onSubmitRegistration.ts","../../../src/util/onSubmitSettings.ts","../../../src/util/onSubmitVerification.ts","../../../src/components/form/form-helpers.ts","../../../src/components/form/messages.tsx","../../../src/components/form/social.tsx","../../../src/components/form/form-provider.tsx","../../../src/components/form/form-resolver.ts","../../../src/components/form/settings-section.tsx","../../../src/components/generic/divider.tsx","../../../src/components/generic/page-header.tsx","../../../src/components/settings/settings-card.tsx","../../../src/util/showToast.tsx","../../../src/components/form/nodes/input.tsx","../../../src/components/form/nodes/node.tsx","../../../src/components/settings/oidc-settings.tsx","../../../src/components/settings/passkey-settings.tsx","../../../src/components/settings/recovery-codes-settings.tsx","../../../src/components/settings/totp-settings.tsx","../../../src/components/settings/webauthn-settings.tsx","../../../src/util/i18n/index.ts","../../../src/locales/en.json","../../../src/locales/de.json","../../../src/locales/es.json","../../../src/locales/fr.json","../../../src/locales/nl.json","../../../src/locales/pl.json","../../../src/locales/pt.json","../../../src/locales/sv.json","../../../src/locales/no.json","../../../src/locales/index.ts","../../../src/context/provider.tsx","../../../src/components/card/header.tsx","../../../src/components/card/card.tsx","../../../src/components/card/footer.tsx","../../../src/components/card/content.tsx","../../../src/components/card/card-two-step.tsx","../../../src/components/card/two-step/state-method-active.tsx","../../../src/components/card/two-step/state-provide-identifier.tsx","../../../src/components/card/card-consent.tsx","../../../src/components/card/two-step/list-methods.tsx","../../../src/util/nodes.ts","../../../src/theme/default/utils/logout.ts","../../../src/theme/default/utils/url.ts","../../../src/theme/default/components/card/header.tsx","../../../src/theme/default/utils/constructCardHeader.ts","../../../src/theme/default/components/card/current-identifier-button.tsx","../../../src/theme/default/utils/attributes.ts","../../../src/util/omitAttributes.ts","../../../src/theme/default/assets/icons/arrow-left.svg","../../../src/theme/default/components/card/logo.tsx","../../../src/theme/default/utils/cn.ts","../../../src/theme/default/components/card/index.tsx","../../../src/theme/default/components/form/index.tsx","../../../src/theme/default/components/form/sso.tsx","../../../src/theme/default/provider-logos/apple.svg","../../../src/theme/default/provider-logos/auth0.svg","../../../src/theme/default/provider-logos/discord.svg","../../../src/theme/default/provider-logos/facebook.svg","../../../src/theme/default/provider-logos/github.svg","../../../src/theme/default/provider-logos/gitlab.svg","../../../src/theme/default/provider-logos/google.svg","../../../src/theme/default/provider-logos/linkedin.svg","../../../src/theme/default/provider-logos/microsoft.svg","../../../src/theme/default/provider-logos/slack.svg","../../../src/theme/default/provider-logos/spotify.svg","../../../src/theme/default/provider-logos/yandex.svg","../../../src/theme/default/provider-logos/x.svg","../../../src/theme/default/provider-logos/index.ts","../../../src/theme/default/components/form/spinner.tsx","../../../src/theme/default/components/card/auth-method-list-item.tsx","../../../src/theme/default/assets/icons/alert-triangle.svg","../../../src/theme/default/assets/icons/code-asterix.svg","../../../src/theme/default/assets/icons/code.svg","../../../src/theme/default/assets/icons/passkey.svg","../../../src/theme/default/assets/icons/password.svg","../../../src/theme/default/assets/icons/totp.svg","../../../src/theme/default/assets/icons/webauthn.svg","../../../src/theme/default/components/card/list-item.tsx","../../../src/theme/default/components/form/button.tsx","../../../src/theme/default/components/form/checkbox.tsx","../../../src/theme/default/components/ui/checkbox-label.tsx","../../../src/theme/default/components/form/group-container.tsx","../../../src/util/childCounter.ts","../../../src/theme/default/components/form/horizontal-divider.tsx","../../../src/theme/default/components/form/image.tsx","../../../src/theme/default/components/form/input.tsx","../../../src/theme/default/assets/icons/eye-off.svg","../../../src/theme/default/assets/icons/eye.svg","../../../src/theme/default/components/form/label.tsx","../../../src/theme/default/components/form/link-button.tsx","../../../src/theme/default/components/form/pin-code-input.tsx","../../../src/theme/default/components/form/shadcn/otp-input.tsx","../../../src/theme/default/components/form/section.tsx","../../../src/theme/default/components/form/text.tsx","../../../src/theme/default/components/generic/page-header.tsx","../../../src/theme/default/components/ui/user-menu.tsx","../../../src/theme/default/assets/icons/logout.svg","../../../src/theme/default/assets/icons/settings.svg","../../../src/theme/default/utils/user.ts","../../../src/theme/default/components/ui/dropdown-menu.tsx","../../../src/theme/default/components/ui/user-avater.tsx","../../../src/theme/default/assets/icons/user.svg","../../../src/theme/default/components/settings/settings-oidc.tsx","../../../src/theme/default/assets/icons/trash.svg","../../../src/theme/default/components/settings/settings-passkey.tsx","../../../src/theme/default/assets/icons/download.svg","../../../src/theme/default/assets/icons/refresh.svg","../../../src/theme/default/components/settings/settings-recovery-codes.tsx","../../../src/theme/default/components/settings/settings-totp.tsx","../../../src/theme/default/assets/icons/qrcode.svg","../../../src/theme/default/components/settings/settings-webauthn.tsx","../../../src/theme/default/assets/icons/key.svg","../../../src/theme/default/components/card/auth-method-list-container.tsx","../../../src/theme/default/components/form/captcha.tsx","../../../src/theme/default/assets/icons/personal.svg","../../../src/theme/default/assets/icons/message.svg","../../../src/theme/default/assets/icons/phone.svg","../../../src/theme/default/components/form/consent-scope-checkbox.tsx","../../../src/theme/default/components/generic/toast.tsx","../../../src/theme/default/components/default-components.tsx","../../../src/theme/default/flows/error.tsx","../../../src/theme/default/flows/login.tsx","../../../src/theme/default/flows/recovery.tsx","../../../src/theme/default/flows/registration.tsx","../../../src/theme/default/flows/settings.tsx","../../../src/theme/default/flows/verification.tsx","../../../src/theme/default/flows/consent.tsx","../../../src/theme/default/utils/oauth2.ts"],"sourcesContent":["import * as React from \"react\";\nconst SvgOryBadgeHorizontal = props => <svg xmlns=\"http://www.w3.org/2000/svg\" width={props?.width ? props.width : props?.size ?? 20} height={props?.height ? props.height : props?.size ?? 20} fill=\"none\" {...props}><path fill=\"currentColor\" d=\"M18.007 8h-1.71l2.007-3.996L16.296 0h1.711l1.145 2.301L20.327 0H22z\" /><path fill=\"currentColor\" fillRule=\"evenodd\" d=\"M12.902 4.86a2.47 2.47 0 0 0 1.796-2.365v-.038C14.687 1.097 13.592 0 12.245 0H9.037v1.44l1.208 1.985H9.04V8h1.51V4.949h.633L13.04 8h1.775zm-.876-1.431h.223c.52 0 .943-.427.943-.953a.95.95 0 0 0-.943-.952h-1.39zM4 0a4 4 0 1 0-.001 7.999A4 4 0 0 0 4 0M1.524 4a2.476 2.476 0 1 0 4.952 0 2.476 2.476 0 0 0-4.952 0\" clipRule=\"evenodd\" /></svg>;\nexport default SvgOryBadgeHorizontal;","import * as React from \"react\";\nconst SvgOryBadgeVertical = props => <svg xmlns=\"http://www.w3.org/2000/svg\" width={props?.width ? props.width : props?.size ?? 20} height={props?.height ? props.height : props?.size ?? 20} fill=\"none\" {...props}><path fill=\"currentColor\" d=\"M8 3.993v1.71L4.004 3.697 0 5.704V3.993l2.301-1.145L0 1.673V0z\" /><path fill=\"currentColor\" fillRule=\"evenodd\" d=\"M4.86 9.099a2.47 2.47 0 0 0-2.365-1.797h-.038C1.097 7.313 0 8.408 0 9.755v3.208h1.44l1.985-1.208v1.204H8v-1.51H4.949v-.633L8 8.96V7.185zm-1.431.875v-.223a.95.95 0 0 0-.953-.943.95.95 0 0 0-.952.943v1.39zM0 18a4 4 0 1 0 8 0 4 4 0 0 0-8 0m4 2.476a2.476 2.476 0 1 0 0-4.952 2.476 2.476 0 0 0 0 4.952\" clipRule=\"evenodd\" /></svg>;\nexport default SvgOryBadgeVertical;","// Copyright © 2024 Ory Corp\n// SPDX-License-Identifier: Apache-2.0\n\nimport OryLogoHorizontal from \"../../assets/ory-badge-horizontal.svg\"\nimport OryLogoVertical from \"../../assets/ory-badge-vertical.svg\"\n\nexport function Badge() {\n  return (\n    <div className=\"absolute border border-ory-border-default bg-ory-background-default p-2 font-bold text-ory-foreground-default max-sm:bottom-0 max-sm:left-8 max-sm:translate-y-full max-sm:rounded-b-branding max-sm:py-[7px] sm:top-8 sm:right-0 sm:translate-x-full sm:rounded-r-branding sm:pl-[7px]\">\n      <OryLogoHorizontal width={22} height={8} className=\"sm:hidden\" />\n      <OryLogoVertical width={8} height={22} className=\"max-sm:hidden\" />\n    </div>\n  )\n}\n","// Copyright © 2024 Ory Corp\n// SPDX-License-Identifier: Apache-2.0\n\nimport { OryCardContentProps } from \"@ory/elements-react\"\n\n/**\n * Simply renders the children passed to it.\n *\n * @param props - pass children to render instead of the default Ory Card components\n * @returns\n * @group Components\n * @category Default Components\n */\nexport function DefaultCardContent({ children }: OryCardContentProps) {\n  return children\n}\n","// Copyright © 2024 Ory Corp\n// SPDX-License-Identifier: Apache-2.0\n\nimport { FlowType, LoginFlow, UiNodeInputAttributes } from \"@ory/client-fetch\"\nimport {\n  ConsentFlow,\n  FormState,\n  useComponents,\n  useOryConfiguration,\n  useOryFlow,\n} from \"@ory/elements-react\"\nimport { useIntl } from \"react-intl\"\nimport { toAuthMethodPickerOptions } from \"../../../../components/card/two-step/state-select-method\"\nimport { findScreenSelectionButton } from \"../../../../util/nodes\"\nimport {\n  findNode,\n  nodesToAuthMethodGroups,\n  useNodeGroupsWithVisibleNodes,\n} from \"../../../../util/ui\"\nimport { useClientLogout } from \"../../utils/logout\"\nimport { initFlowUrl, restartFlowUrl } from \"../../utils/url\"\n\n/**\n * DefaultCardFooter renders the default footer for the card component based on the current flow type.\n *\n * @returns The default card footer component that renders the appropriate footer based on the current flow type.\n * @group Components\n * @category Default Components\n */\nexport function DefaultCardFooter() {\n  const oryFlow = useOryFlow()\n  switch (oryFlow.flowType) {\n    case FlowType.Login:\n      return <LoginCardFooter flow={oryFlow.flow} />\n    case FlowType.Registration:\n      return <RegistrationCardFooter />\n    case FlowType.Recovery:\n      return <RecoveryCardFooter />\n    case FlowType.Verification:\n      return <VerificationCardFooter />\n    case FlowType.OAuth2Consent:\n      return <ConsentCardFooter flow={oryFlow.flow} />\n    default:\n      return null\n  }\n}\n\nfunction shouldShowLogoutButton(\n  flow: LoginFlow,\n  formState: FormState,\n  authMethods: string[],\n) {\n  // Always for refresh flows, as we know there is a session\n  if (flow.refresh) {\n    return true\n  }\n\n  // In aal2 flows we sometimes show the logout button\n  if (flow.requested_aal === \"aal2\") {\n    // Always on the \"method selector\" screen\n    if (formState.current === \"select_method\") {\n      return true\n    }\n    // On the \"method active\" screen, if it's a code method\n    // If the method is any other than code, we want to show a \"Choose another method\" button\n    // This is handled below.\n    // TODO: refactor this, to not have this logic in two places\n    if (formState.current === \"method_active\" && flow.active === \"code\") {\n      return true\n    }\n    // If there are no other methods, we want to show the logout button\n    // This is the case when the user only has one method (e.g. code or totp), set up\n    // and the user is on the \"method active\" screen\n    // In that case there is no \"select_method\" state, so going back to that screen wouldn't work\n    if (formState.current === \"method_active\" && authMethods.length === 1) {\n      return true\n    }\n  }\n  return false\n}\n\ntype LoginCardFooterProps = {\n  flow: LoginFlow\n}\n\nfunction LoginCardFooter({ flow }: LoginCardFooterProps) {\n  const { dispatchFormState, formState } = useOryFlow()\n  const config = useOryConfiguration()\n  const intl = useIntl()\n\n  const authMethods = nodesToAuthMethodGroups(flow.ui.nodes)\n\n  let returnTo = config.project.default_redirect_url\n  if (flow.return_to) {\n    returnTo = flow.return_to\n  }\n  if (!returnTo) {\n    returnTo = restartFlowUrl(\n      flow,\n      `${config.sdk.url}/self-service/${FlowType.Login}/browser`,\n    )\n  }\n\n  if (shouldShowLogoutButton(flow, formState, authMethods)) {\n    return <LogoutButton returnTo={returnTo} />\n  }\n\n  return (\n    <>\n      {formState.current === \"provide_identifier\" &&\n        config.project.registration_enabled && (\n          <span className=\"leading-normal font-normal text-interface-foreground-default-primary antialiased\">\n            {intl.formatMessage({\n              id: \"login.registration-label\",\n              defaultMessage: \"No account?\",\n            })}{\" \"}\n            <a\n              className=\"text-button-link-brand-brand underline transition-colors hover:text-button-link-brand-brand-hover\"\n              href={initFlowUrl(config.sdk.url, \"registration\", flow)}\n              data-testid={\"ory/screen/login/action/register\"}\n            >\n              {intl.formatMessage({\n                id: \"login.registration-button\",\n                defaultMessage: \"Sign up\",\n              })}\n            </a>\n          </span>\n        )}\n      {authMethods.length > 1 && formState.current === \"method_active\" && (\n        <span className=\"leading-normal font-normal text-interface-foreground-default-primary antialiased\">\n          <button\n            className=\"text-button-link-brand-brand underline transition-colors hover:text-button-link-brand-brand-hover\"\n            onClick={() => {\n              dispatchFormState({\n                type: \"action_clear_active_method\",\n              })\n            }}\n            data-testid={\"ory/screen/login/mfa/action/selectMethod\"}\n          >\n            {intl.formatMessage({\n              id: \"login.2fa.method.go-back\",\n            })}\n          </button>\n        </span>\n      )}\n      {authMethods.length === 1 &&\n        authMethods[0] === \"code\" &&\n        formState.current === \"method_active\" && (\n          <span className=\"leading-normal font-normal text-interface-foreground-default-primary antialiased\">\n            <a\n              className=\"text-button-link-brand-brand underline transition-colors hover:text-button-link-brand-brand-hover\"\n              href={returnTo}\n              data-testid={\"ory/screen/login/action/cancel\"}\n            >\n              {intl.formatMessage({\n                id: \"login.2fa.go-back.link\",\n              })}\n            </a>\n          </span>\n        )}\n    </>\n  )\n}\n\ntype LogoutButtonProps = {\n  returnTo?: string\n}\n\nfunction LogoutButton({ returnTo }: LogoutButtonProps) {\n  const config = useOryConfiguration()\n  const intl = useIntl()\n  const { logoutFlow: logout, didLoad: didLoadLogout } = useClientLogout(config)\n\n  return (\n    <span className=\"leading-normal font-normal text-interface-foreground-default-primary antialiased\">\n      {intl.formatMessage({\n        id: \"login.2fa.go-back\",\n      })}{\" \"}\n      <a\n        className=\"text-button-link-brand-brand underline transition-colors hover:text-button-link-brand-brand-hover\"\n        href={logout ? logout?.logout_url : returnTo}\n        data-testid={\n          // Only add the test-id when the logout link has loaded.\n          didLoadLogout ? \"ory/screen/login/action/logout\" : undefined\n        }\n      >\n        {intl.formatMessage({\n          id:\n            !didLoadLogout || logout\n              ? \"login.logout-button\"\n              : \"login.2fa.go-back.link\",\n        })}\n      </a>\n    </span>\n  )\n}\n\nfunction RegistrationCardFooter() {\n  const intl = useIntl()\n  const { flow, formState, dispatchFormState } = useOryFlow()\n  const config = useOryConfiguration()\n  const visibleGroups = useNodeGroupsWithVisibleNodes(flow.ui.nodes)\n  const authMethodBlocks = toAuthMethodPickerOptions(visibleGroups)\n\n  const screenSelectionNode = findScreenSelectionButton(flow.ui.nodes)\n  switch (formState.current) {\n    case \"method_active\":\n      if (!screenSelectionNode || Object.entries(authMethodBlocks).length < 2) {\n        return null\n      }\n\n      return (\n        <span className=\"leading-normal font-normal text-interface-foreground-default-primary antialiased\">\n          <button\n            className=\"text-button-link-brand-brand underline transition-colors hover:text-button-link-brand-brand-hover\"\n            onClick={() => {\n              dispatchFormState({\n                type: \"action_clear_active_method\",\n              })\n            }}\n            data-testid={\"ory/screen/registration/action/selectMethod\"}\n            type=\"button\"\n          >\n            {intl.formatMessage({\n              id: \"card.footer.select-another-method\",\n              defaultMessage: \"Select another method\",\n            })}\n          </button>\n        </span>\n      )\n    case \"select_method\":\n    default:\n      return (\n        <span className=\"leading-normal font-normal text-interface-foreground-default-primary antialiased\">\n          {intl.formatMessage({\n            id: \"registration.login-label\",\n            defaultMessage: \"Already have an account?\",\n          })}{\" \"}\n          <a\n            className=\"text-button-link-brand-brand underline transition-colors hover:text-button-link-brand-brand-hover\"\n            href={initFlowUrl(config.sdk.url, \"login\", flow)}\n            data-testid={\"ory/screen/registration/action/login\"}\n          >\n            {intl.formatMessage({\n              id: \"registration.login-button\",\n              defaultMessage: \"Sign in\",\n            })}\n          </a>\n        </span>\n      )\n  }\n}\n\nfunction RecoveryCardFooter() {\n  return null\n}\n\nfunction VerificationCardFooter() {\n  return null\n}\n\n/**\n * Props for the ConsentCardFooter component.\n *\n * @hidden\n * @inline\n */\ntype ConsentCardFooterProps = {\n  /** The consent flow to render the footer for. */\n  flow: ConsentFlow\n}\n\nfunction ConsentCardFooter({ flow }: ConsentCardFooterProps) {\n  const { Node } = useComponents()\n\n  const rememberNode = findNode(flow.ui.nodes, {\n    group: \"oauth2_consent\",\n    node_type: \"input\",\n    name: \"remember\",\n  })\n\n  return (\n    <div className=\"flex flex-col gap-8\">\n      <div>\n        <p className=\"leading-normal font-medium text-interface-foreground-default-secondary\">\n          Make sure you trust {flow.consent_request.client?.client_name}\n        </p>\n        <p className=\"leading-normal text-interface-foreground-default-secondary\">\n          You may be sharing sensitive information with this site or\n          application.\n        </p>\n      </div>\n      {rememberNode && (\n        <Node.Checkbox\n          attributes={rememberNode.attributes}\n          node={rememberNode}\n        />\n      )}\n      <div className=\"grid grid-cols-1 gap-2 md:grid-cols-2\">\n        {flow.ui.nodes\n          .filter(\n            (n) =>\n              n.attributes.node_type === \"input\" &&\n              n.attributes.type === \"submit\",\n          )\n          .map((n) => {\n            const attributes = n.attributes as UiNodeInputAttributes\n            return (\n              <Node.Button\n                key={attributes.value}\n                node={n}\n                attributes={attributes}\n              />\n            )\n          })}\n      </div>\n      <p className=\"text-sm\">\n        <span className=\"text-interface-foreground-default-tertiary\">\n          Authorizing will redirect to{\" \"}\n          {flow.consent_request.client?.client_name}\n        </span>\n      </p>\n    </div>\n  )\n}\n","// Copyright © 2024 Ory Corp\n// SPDX-License-Identifier: Apache-2.0\n\nimport {\n  isUiNodeScriptAttributes,\n  UiNode,\n  UiNodeGroupEnum,\n  UiText,\n} from \"@ory/client-fetch\"\nimport { OryCard, OryCardContent, OryCardFooter } from \"./../\"\nimport { useComponents, useNodeSorter, useOryFlow } from \"../../../context\"\nimport {\n  findNode,\n  GroupedNodes,\n  hasSingleSignOnNodes,\n  useFunctionalNodes,\n  useNodeGroupsWithVisibleNodes,\n} from \"../../../util/ui\"\nimport { OryForm } from \"../../form/form\"\nimport { OryCardValidationMessages } from \"../../form/messages\"\nimport { Node } from \"../../form/nodes/node\"\nimport { OryFormSsoForm } from \"../../form/social\"\nimport { handleAfterFormSubmit } from \"./utils\"\nimport { OryCardHeader } from \"../header\"\nimport { useIntl } from \"react-intl\"\nimport { AuthMethodList, AuthMethodOptions } from \"./list-methods\"\n\n/**\n * Converts the visible groups of nodes into a format suitable for the\n * AuthMethodOptions\n *\n * @param visibleGroups - The visible groups of nodes\n */\nexport function toAuthMethodPickerOptions(\n  visibleGroups: GroupedNodes,\n): AuthMethodOptions {\n  return Object.fromEntries(\n    Object.values(UiNodeGroupEnum)\n      .filter((group) => visibleGroups[group]?.length)\n      .filter(\n        (group) =>\n          !(\n            [\n              UiNodeGroupEnum.Oidc,\n              UiNodeGroupEnum.Saml,\n              UiNodeGroupEnum.Default,\n              UiNodeGroupEnum.IdentifierFirst,\n              UiNodeGroupEnum.Profile,\n              UiNodeGroupEnum.Captcha,\n            ] as UiNodeGroupEnum[]\n          ).includes(group),\n      )\n      .map((g) => [g, {}]),\n  )\n}\n\nexport function SelectMethodForm() {\n  const { Form, Card } = useComponents()\n  const { flow, flowType, dispatchFormState } = useOryFlow()\n  const { ui } = flow\n\n  const nodeSorter = useNodeSorter()\n  const sortNodes = (a: UiNode, b: UiNode) => nodeSorter(a, b, { flowType })\n\n  const visibleGroups = useNodeGroupsWithVisibleNodes(ui.nodes)\n  const authMethodBlocks = toAuthMethodPickerOptions(visibleGroups)\n  const authMethodAdditionalNodes = useFunctionalNodes(ui.nodes)\n  // TODO(jonas): rework this (again). The above doesn't work to include the credential nodes and the Captcha nodes behave slightly differently.\n  // This is a workaround to include the credential nodes in the auth method blocks.\n  const hiddenNodes = ui.nodes.filter(\n    (n) =>\n      n.group !== UiNodeGroupEnum.Captcha &&\n      ((n.attributes.node_type === \"input\" && n.attributes.type === \"hidden\") ||\n        isUiNodeScriptAttributes(n.attributes)),\n  )\n\n  // Special case to show the address on code method selector\n  if (UiNodeGroupEnum.Code in authMethodBlocks) {\n    let identifier = findNode(ui.nodes, {\n      group: \"identifier_first\",\n      node_type: \"input\",\n      name: \"identifier\",\n    })?.attributes?.value\n    identifier ||= findNode(ui.nodes, {\n      group: \"code\",\n      node_type: \"input\",\n      name: \"address\",\n    })?.attributes?.value\n    if (identifier) {\n      authMethodBlocks[UiNodeGroupEnum.Code] = {\n        title: {\n          id: \"identities.messages.1010023\",\n          values: { address: identifier },\n        },\n      }\n    }\n  }\n\n  return (\n    <OryCard>\n      <OryCardHeader />\n      <OryCardContent>\n        <OryCardValidationMessages />\n        <OryFormSsoForm />\n        {Object.entries(authMethodBlocks).length > 0 ? (\n          <OryForm onAfterSubmit={handleAfterFormSubmit(dispatchFormState)}>\n            <Form.Group>\n              <Card.Divider />\n              <AuthMethodList\n                options={authMethodBlocks}\n                setSelectedGroup={(group) =>\n                  dispatchFormState({\n                    type: \"action_select_method\",\n                    method: group,\n                  })\n                }\n              />\n              {authMethodAdditionalNodes.sort(sortNodes).map((node, k) => (\n                <Node node={node} key={k} />\n              ))}\n            </Form.Group>\n            {hiddenNodes.map((node, k) => (\n              <Node node={node} key={k} />\n            ))}\n          </OryForm>\n        ) : (\n          !hasSingleSignOnNodes(ui.nodes) && <NoMethodsMessage />\n        )}\n      </OryCardContent>\n      <OryCardFooter />\n    </OryCard>\n  )\n}\n\nfunction NoMethodsMessage() {\n  const intl = useIntl()\n  const { Message } = useComponents()\n\n  // This is defined in Ory Kratos as well.\n  const noMethods: UiText = {\n    id: 5000002,\n    text: intl.formatMessage({\n      id: `identities.messages.5000002`,\n      defaultMessage:\n        \"No authentication methods are available for this request. Please contact the site or app owner.\",\n    }),\n    type: \"error\",\n  }\n\n  return (\n    <div data-testid={`ory/form/methods/local`}>\n      <Message.Root>\n        <Message.Content key={noMethods.id} message={noMethods} />\n      </Message.Root>\n    </div>\n  )\n}\n","// Copyright © 2024 Ory Corp\n// SPDX-License-Identifier: Apache-2.0\n\nimport {\n  isUiNodeInputAttributes,\n  UiNode,\n  UiNodeGroupEnum,\n} from \"@ory/client-fetch\"\nimport { PropsWithChildren, createContext, useContext } from \"react\"\nimport { OryFlowComponents } from \"../components\"\n\ntype ComponentContextValue = {\n  components: OryFlowComponents\n  nodeSorter: (a: UiNode, b: UiNode, ctx: { flowType: string }) => number\n  groupSorter: (a: UiNodeGroupEnum, b: UiNodeGroupEnum) => number\n}\n\nconst ComponentContext = createContext<ComponentContextValue>({\n  components: null!, // fine because we throw an error if it's not provided\n  nodeSorter: () => 0,\n  groupSorter: () => 0,\n})\n\n/**\n * The `useComponents` hook provides access to the Ory Flow components provided in the `OryComponentProvider`.\n *\n * You can use this hook to access the components defined in the `components` prop of the `OryComponentProvider`.\n *\n * @returns the current component context value.\n * @group Hooks\n */\nexport function useComponents() {\n  const ctx = useContext(ComponentContext)\n  if (!ctx) {\n    throw new Error(\"useComponents must be used within a ComponentProvider\")\n  }\n  return ctx.components\n}\n\n/**\n * The `useNodeSorter` hook provides a way to access the node sorting function\n *\n * The node sorting function is used to determine the order of nodes in a flow based on their attributes and context.\n *\n * To customize the sorting behavior, you can provide a custom `nodeSorter` function to the `OryComponentProvider`.\n *\n * @returns a function that sorts nodes based on the provided context.\n * @group Hooks\n */\nexport function useNodeSorter() {\n  const ctx = useContext(ComponentContext)\n  if (!ctx) {\n    throw new Error(\"useNodeSorter must be used within a ComponentProvider\")\n  }\n  return ctx.nodeSorter\n}\n\nexport function useGroupSorter() {\n  const ctx = useContext(ComponentContext)\n  if (!ctx) {\n    throw new Error(\"useGroupSorter must be used within a ComponentProvider\")\n  }\n  return ctx.groupSorter\n}\n\nconst defaultNodeOrder = [\n  \"oidc\",\n  \"saml\",\n  \"identifier_first\",\n  \"default\",\n  \"profile\",\n  \"password\",\n  // CAPTCHA is below password because otherwise the password input field\n  // would be above the captcha. Somehow, we sort the password sign up button somewhere else to be always at the bottom.\n  \"captcha\",\n  \"passkey\",\n  \"code\",\n  \"webauthn\",\n]\n\nexport function defaultNodeSorter(\n  a: UiNode,\n  b: UiNode,\n  // ctx: { flowType: string },\n): number {\n  // First handle the special case: captcha vs submit button\n  const aIsCaptcha = a.group === \"captcha\"\n  const bIsCaptcha = b.group === \"captcha\"\n  const aIsSubmit =\n    isUiNodeInputAttributes(a.attributes) && a.attributes.type === \"submit\"\n  const bIsSubmit =\n    isUiNodeInputAttributes(b.attributes) && b.attributes.type === \"submit\"\n\n  // If comparing captcha and submit, always put captcha first\n  if (aIsCaptcha && bIsSubmit) {\n    return -1 // a (captcha) comes before b (submit)\n  }\n  if (bIsCaptcha && aIsSubmit) {\n    return 1 // b (captcha) comes before a (submit)\n  }\n\n  // For all other cases, use the standard group ordering\n  const aGroupWeight = defaultNodeOrder.indexOf(a.group) ?? 999\n  const bGroupWeight = defaultNodeOrder.indexOf(b.group) ?? 999\n\n  return aGroupWeight - bGroupWeight\n}\n\nconst defaultGroupOrder: UiNodeGroupEnum[] = [\n  UiNodeGroupEnum.Default,\n  UiNodeGroupEnum.Profile,\n  UiNodeGroupEnum.Password,\n  UiNodeGroupEnum.Oidc,\n  UiNodeGroupEnum.Code,\n  UiNodeGroupEnum.LookupSecret,\n  UiNodeGroupEnum.Passkey,\n  UiNodeGroupEnum.Webauthn,\n  UiNodeGroupEnum.Totp,\n]\n\nfunction defaultGroupSorter(a: UiNodeGroupEnum, b: UiNodeGroupEnum): number {\n  const aGroupWeight = defaultGroupOrder.indexOf(a) ?? 999\n  const bGroupWeight = defaultGroupOrder.indexOf(b) ?? 999\n\n  return aGroupWeight - bGroupWeight\n}\n\ntype ComponentProviderProps = {\n  components: OryFlowComponents\n  nodeSorter?: (a: UiNode, b: UiNode, ctx: { flowType: string }) => number\n  groupSorter?: (a: UiNodeGroupEnum, b: UiNodeGroupEnum) => number\n}\n\nexport function OryComponentProvider({\n  children,\n  components,\n  nodeSorter = defaultNodeSorter,\n  groupSorter = defaultGroupSorter,\n}: PropsWithChildren<ComponentProviderProps>) {\n  return (\n    <ComponentContext.Provider\n      value={{\n        components,\n        nodeSorter,\n        groupSorter,\n      }}\n    >\n      {children}\n    </ComponentContext.Provider>\n  )\n}\n","// Copyright © 2024 Ory Corp\n// SPDX-License-Identifier: Apache-2.0\n\nimport {\n  Dispatch,\n  PropsWithChildren,\n  createContext,\n  useContext,\n  useState,\n} from \"react\"\nimport { OryFlowContainer } from \"../util/flowContainer\"\nimport { FormState, FormStateAction, useFormStateReducer } from \"./form-state\"\n\n/**\n * Returns an object that contains the current flow and the flow type, as well as the configuration.\n *\n * @returns The current flow container\n * @group Hooks\n */\nexport function useOryFlow() {\n  const ctx = useContext(OryFlowContext)\n  if (!ctx) {\n    throw new Error(\"useOryFlow must be used within a OryFlowProvider\")\n  }\n\n  return ctx\n}\n\n/**\n * Function to set the flow container.\n * @interface\n */\nexport type FlowContainerSetter = Dispatch<OryFlowContainer>\n\n/**\n * The return value of the OryFlowContext.\n */\nexport type FlowContextValue = OryFlowContainer & {\n  /**\n   * Function to set the flow container.\n   */\n  setFlowContainer: FlowContainerSetter\n\n  /**\n   * The current form state.\n   * @see FormState\n   */\n  formState: FormState\n\n  /**\n   * Dispatch function to update the form state.\n   */\n  dispatchFormState: Dispatch<FormStateAction>\n}\n\n// This is fine, because we don't export the context itself and guard from it being null in useOryFlow\nconst OryFlowContext = createContext<FlowContextValue>(null!)\n\n/**\n * Props type for the OryFlowProvider component.\n *\n * @hidden\n * @inline\n */\nexport type OryFlowProviderProps = PropsWithChildren<OryFlowContainer>\n\n/**\n *\n * @param props - The properties for the OryFlowProvider component.\n * @returns\n */\nexport function OryFlowProvider({\n  children,\n  ...container\n}: OryFlowProviderProps) {\n  const [flowContainer, setFlowContainer] = useState(container)\n  const [formState, dispatchFormState] = useFormStateReducer(container)\n\n  return (\n    <OryFlowContext.Provider\n      value={\n        {\n          ...flowContainer,\n          setFlowContainer: (flowContainer) => {\n            setFlowContainer(flowContainer)\n            dispatchFormState({\n              type: \"action_flow_update\",\n              flow: flowContainer,\n            })\n          },\n          formState,\n          dispatchFormState,\n        } as FlowContextValue\n      }\n    >\n      {children}\n    </OryFlowContext.Provider>\n  )\n}\n","// Copyright © 2024 Ory Corp\n// SPDX-License-Identifier: Apache-2.0\n\nimport { FlowType, UiNode, UiNodeGroupEnum } from \"@ory/client-fetch\"\nimport { useReducer, useState } from \"react\"\nimport { isChoosingMethod } from \"../components/card/two-step/utils\"\nimport { OryFlowContainer } from \"../util\"\nimport { nodesToAuthMethodGroups } from \"../util/ui\"\n\n/**\n * Represents the state of the form when selecting an authentication method.\n * This type is used when the user is in the process of selecting an authentication method\n * (e.g., password, passkey, etc.) during the login or registration flow.\n * @inline\n * @hidden\n */\nexport type FormStateSelectMethod = { current: \"select_method\" }\n/**\n * Represents the state of the form when providing an identifier.\n * This type is used when the user is required to provide an identifier (e.g., email or username)\n * before proceeding with the authentication flow.\n * @inline\n * @hidden\n */\nexport type FormStateProvideIdentifier = { current: \"provide_identifier\" }\n/**\n * Represents the state of the form when an authentication method is active.\n * This type is used when the user is interacting with a specific authentication method\n * (e.g., entering a password or entering a code received via email).\n *\n * The `method` field indicates which authentication method is currently active.\n * @inline\n * @hidden\n */\nexport type FormStateMethodActive = {\n  current: \"method_active\"\n  method: UiNodeGroupEnum\n}\n\n/**\n * Represents the state of the form based on the flow type and active method.\n * This type is used to determine which part of the form should be displayed.\n *\n * It can be one of the following:\n * - `select_method`: The user is selecting an authentication method.\n * - `provide_identifier`: The user is providing an identifier (e.g., email or username).\n * - `method_active`: An authentication method is active, and the user is interacting with it.\n * - `success_screen`: The flow has successfully completed (only used in the verification flow).\n * - `settings`: The user is in the settings flow.\n */\nexport type FormState =\n  | FormStateSelectMethod\n  | FormStateProvideIdentifier\n  | FormStateMethodActive\n  | { current: \"success_screen\" }\n  | { current: \"settings\" }\n\n/**\n * Represents the actions that can be dispatched to update the form state.\n * These actions are used to change the current state of the form based on user interactions or flow updates.\n */\nexport type FormStateAction =\n  | {\n      /**\n       * Action to update the flow state.\n       * This action is dispatched when the flow is updated, and it will parse the new flow\n       * to determine the current form state.\n       */\n      type: \"action_flow_update\"\n      /**\n       * The updated flow container that contains the new flow data.\n       */\n      flow: OryFlowContainer\n    }\n  | {\n      /**\n       * Action to select an authentication method.\n       * This action is dispatched when the user selects an authentication method\n       * (e.g., password, passkey, etc.) from the available options.\n       */\n      type: \"action_select_method\"\n      /**\n       * The authentication method that the user has selected.\n       */\n      method: UiNodeGroupEnum\n    }\n  | {\n      /**\n       * Action to clear the active authentication method.\n       * This action is dispatched when the user wants to clear the currently active method\n       * and return to the method selection state.\n       */\n      type: \"action_clear_active_method\"\n    }\n\nfunction findMethodWithMessage(nodes?: UiNode[]) {\n  return nodes\n    ?.filter((n) => ![\"default\", \"identifier_first\"].includes(n.group))\n    ?.find((node) => node.messages?.length > 0)\n}\n\nfunction parseStateFromFlow(flow: OryFlowContainer): FormState {\n  switch (flow.flowType) {\n    case FlowType.Registration:\n    case FlowType.Login: {\n      const methodWithMessage = findMethodWithMessage(flow.flow.ui.nodes)\n      if (flow.flow.active == \"link_recovery\") {\n        return { current: \"method_active\", method: \"link\" }\n      } else if (flow.flow.active == \"code_recovery\") {\n        return { current: \"method_active\", method: \"code\" }\n      } else if (methodWithMessage) {\n        return { current: \"method_active\", method: methodWithMessage.group }\n      } else if (flow.flow.ui.messages?.some((m) => m.id === 1010016)) {\n        // Account linking edge case\n        return { current: \"select_method\" }\n      } else if (\n        flow.flow.active &&\n        ![\"default\", \"identifier_first\"].includes(flow.flow.active)\n      ) {\n        return { current: \"method_active\", method: flow.flow.active }\n      } else if (isChoosingMethod(flow)) {\n        // Login has a special case where we only have one method. Here, we\n        // do not want to display the chooser.\n        const authMethods = nodesToAuthMethodGroups(flow.flow.ui.nodes)\n        if (\n          authMethods.length === 1 &&\n          ![\"code\", \"passkey\"].includes(authMethods[0])\n        ) {\n          // TODO: https://github.com/ory/kratos/issues/4271 - once this is fixed in Kratos, we can remove the check for \"code\"\n          return { current: \"method_active\", method: authMethods[0] }\n        }\n        return { current: \"select_method\" }\n      }\n      return { current: \"provide_identifier\" }\n    }\n    case FlowType.Recovery:\n    case FlowType.Verification:\n      // The API does not provide types for the active field of the recovery flow\n      // TODO: Add types for the recovery flow in Kratos\n      if (flow.flow.active === \"code\" || flow.flow.active === \"link\") {\n        if (flow.flow.state === \"choose_method\") {\n          return { current: \"provide_identifier\" }\n        }\n        return { current: \"method_active\", method: flow.flow.active }\n      }\n      break\n    case FlowType.Settings:\n      return { current: \"settings\" }\n    case FlowType.OAuth2Consent:\n      return { current: \"method_active\", method: \"oauth2_consent\" }\n  }\n  console.warn(\n    `[Ory/Elements React] Encountered an unknown form state on ${flow.flowType} flow with ID ${flow.flow.id}`,\n  )\n  throw new Error(\"Unknown form state\")\n}\n\n/**\n * The `useFormStateReducer` hook manages the state of the form based on the flow data.\n *\n * It uses a reducer to handle actions that update the form state, such as selecting an authentication method or updating the flow.\n *\n * @see FormState\n * @see FormStateAction\n * @param flow - The flow container that contains the flow data.\n * @returns a tuple containing the current form state and a dispatch function to update the state.\n */\nexport function useFormStateReducer(flow: OryFlowContainer) {\n  const action = parseStateFromFlow(flow)\n  const [selectedMethod, setSelectedMethod] = useState<\n    UiNodeGroupEnum | undefined\n  >()\n\n  const formStateReducer = (\n    state: FormState,\n    action: FormStateAction,\n  ): FormState => {\n    switch (action.type) {\n      case \"action_flow_update\": {\n        if (selectedMethod) {\n          return { current: \"method_active\", method: selectedMethod }\n        }\n        return parseStateFromFlow(action.flow)\n      }\n      case \"action_select_method\": {\n        setSelectedMethod(action.method)\n        return { current: \"method_active\", method: action.method }\n      }\n      case \"action_clear_active_method\": {\n        return {\n          current: \"select_method\",\n        }\n      }\n    }\n    return state\n  }\n\n  return useReducer(formStateReducer, action)\n}\n","// Copyright © 2024 Ory Corp\n// SPDX-License-Identifier: Apache-2.0\n\nimport { FlowType, UiNode, UiNodeGroupEnum } from \"@ory/client-fetch\"\nimport {\n  LoginFlowContainer,\n  RegistrationFlowContainer,\n} from \"../../../util/flowContainer\"\nimport { isGroupImmediateSubmit } from \"../../../theme/default/utils/form\"\nimport { GroupedNodes, isUiNodeGroupEnum } from \"../../../util/ui\"\nimport { Dispatch } from \"react\"\nimport { FormStateAction } from \"@ory/elements-react\"\n\nfunction isScreenSelectionNode(node: UiNode) {\n  if (\n    \"name\" in node.attributes &&\n    node.attributes.name === \"screen\" &&\n    \"value\" in node.attributes &&\n    node.attributes.value === \"previous\"\n  ) {\n    return true\n  }\n  if (\n    node.group === UiNodeGroupEnum.IdentifierFirst &&\n    \"name\" in node.attributes &&\n    node.attributes.name === \"identifier\" &&\n    node.attributes.type === \"hidden\"\n  ) {\n    return true\n  }\n  return false\n}\n\nexport function isChoosingMethod(\n  flow: LoginFlowContainer | RegistrationFlowContainer,\n): boolean {\n  if (flow.flowType === FlowType.Login) {\n    if (flow.flow.requested_aal === \"aal2\") {\n      return true\n    }\n    if (\n      flow.flow.refresh &&\n      // TODO: Once https://github.com/ory/kratos/issues/4194 is fixed, this can be removed\n      // Without this, we show the method chooser, and an email input, which looks weird\n      !flow.flow.ui.nodes.some((n) => n.group === \"code\")\n    ) {\n      return true\n    }\n  }\n  return flow.flow.ui.nodes.some(isScreenSelectionNode)\n}\n\nexport function getFinalNodes(\n  uniqueGroups: GroupedNodes,\n  selectedGroup: UiNodeGroupEnum | undefined,\n): UiNode[] {\n  const selectedNodes: UiNode[] = selectedGroup\n    ? (uniqueGroups[selectedGroup] ?? [])\n    : []\n\n  return [\n    ...(uniqueGroups?.identifier_first ?? []),\n    ...(uniqueGroups?.default ?? []),\n    ...(uniqueGroups?.captcha ?? []),\n  ]\n    .flat()\n    .filter(\n      (node) => \"type\" in node.attributes && node.attributes.type === \"hidden\",\n    )\n    .concat(selectedNodes)\n}\n\nexport const handleAfterFormSubmit =\n  (dispatchFormState: Dispatch<FormStateAction>) => (method: unknown) => {\n    if (typeof method !== \"string\" || !isUiNodeGroupEnum(method)) {\n      return\n    }\n\n    if (isGroupImmediateSubmit(method)) {\n      dispatchFormState({\n        type: \"action_select_method\",\n        method: method,\n      })\n    }\n  }\n","// Copyright © 2024 Ory Corp\n// SPDX-License-Identifier: Apache-2.0\n\nexport function isGroupImmediateSubmit(group: string) {\n  // TODO: Other methods might also benefit from this.\n  return group === \"code\"\n}\n","// Copyright © 2024 Ory Corp\n// SPDX-License-Identifier: Apache-2.0\n\nimport {\n  isUiNodeInputAttributes,\n  isUiNodeScriptAttributes,\n  UiNode,\n} from \"@ory/client-fetch\"\n\nimport type {\n  UiNodeAttributes,\n  UiNodeInputAttributesOnclickTriggerEnum,\n  UiNodeInputAttributesOnloadTriggerEnum,\n} from \"@ory/client-fetch\"\nimport { UiNodeGroupEnum } from \"@ory/client-fetch\"\nimport { useMemo } from \"react\"\nimport { useGroupSorter } from \"../../context/component\"\n\nexport function triggerToWindowCall(\n  trigger:\n    | UiNodeInputAttributesOnclickTriggerEnum\n    | UiNodeInputAttributesOnloadTriggerEnum\n    | undefined,\n) {\n  if (!trigger) {\n    return\n  }\n\n  const fn = triggerToFunction(trigger)\n  if (fn) {\n    fn()\n    return\n  }\n\n  // Retry every 100ms for 10 seconds\n  let i = 0\n  const ms = 100\n  const interval = setInterval(() => {\n    i++\n    if (i > 100) {\n      clearInterval(interval)\n      throw new Error(\n        \"Unable to load Ory's WebAuthn script. Is it being blocked or otherwise failing to load? If you are running an old version of Ory Elements, please upgrade. For more information, please check your browser's developer console.\",\n      )\n    }\n\n    const fn = triggerToFunction(trigger)\n    if (fn) {\n      clearInterval(interval)\n      return fn()\n    }\n  }, ms)\n  return\n}\n\nexport function triggerToFunction(\n  trigger:\n    | UiNodeInputAttributesOnclickTriggerEnum\n    | UiNodeInputAttributesOnloadTriggerEnum,\n) {\n  if (typeof window === \"undefined\") {\n    console.debug(\n      \"The Ory SDK is missing a required function: window is undefined.\",\n    )\n    return undefined\n  }\n\n  const typedWindow = window as { [key: string]: any } // eslint-disable-line @typescript-eslint/no-explicit-any\n  if (!(trigger in typedWindow) || !typedWindow[trigger]) {\n    console.debug(`The Ory SDK is missing a required function: ${trigger}.`)\n    return undefined\n  }\n  const triggerFn = typedWindow[trigger]\n  if (typeof triggerFn !== \"function\") {\n    console.debug(\n      `The Ory SDK is missing a required function: ${trigger}. It is not a function.`,\n    )\n    return undefined\n  }\n  return triggerFn as () => void\n}\n\ntype Entries<T> = {\n  [K in keyof T]: [K, T[K]]\n}[keyof T][]\n\n/**\n * Returns a list of auth methods from a list of nodes. For example,\n * if Password and Passkey are present, it will return [password, passkey].\n *\n * Please note that OIDC is not considered an auth method because it is\n * usually shown as a separate auth method\n *\n * This method the default, identifier_first, and profile groups.\n *\n * @param nodes - The nodes to extract the auth methods from\n * @param excludeAuthMethods - A list of auth methods to exclude\n */\nexport function nodesToAuthMethodGroups(\n  nodes: Array<UiNode>,\n  excludeAuthMethods = [],\n): UiNodeGroupEnum[] {\n  const groups: Partial<Record<UiNodeGroupEnum, UiNode[]>> = {}\n\n  for (const node of nodes) {\n    if (node.type === \"script\") {\n      // We always render all scripts, because the scripts for passkeys are part of the webauthn group,\n      // which leads to this hook returning a webauthn group on passkey flows (which it should not - webauthn is the \"legacy\" passkey implementation).\n      continue\n    }\n    const groupNodes = groups[node.group] ?? []\n    groupNodes.push(node)\n    groups[node.group] = groupNodes\n  }\n\n  return Object.values(UiNodeGroupEnum)\n    .filter((group) => groups[group]?.length)\n    .filter(\n      (group) =>\n        !(\n          [\n            UiNodeGroupEnum.Default,\n            UiNodeGroupEnum.IdentifierFirst,\n            UiNodeGroupEnum.Profile,\n            UiNodeGroupEnum.Captcha,\n            ...excludeAuthMethods,\n          ] as UiNodeGroupEnum[]\n        ).includes(group),\n    )\n}\n\n/**\n * Groups nodes by their group and returns an object with the groups and entries.\n *\n * @deprecated use useNodeGroupsWithVisibleNodes instead\n * @param nodes - The nodes to group\n * @param opts - The options to use\n */\nexport function useNodesGroups(\n  nodes: UiNode[],\n  { omit }: { omit?: Array<\"script\" | \"input_hidden\"> } = {},\n) {\n  const groupSorter = useGroupSorter()\n\n  const groups = useMemo(() => {\n    const groups: Partial<Record<UiNodeGroupEnum, UiNode[]>> = {}\n    const groupRetained: Partial<Record<UiNodeGroupEnum, number>> = {}\n\n    for (const node of nodes) {\n      const groupNodes = groups[node.group] ?? []\n      groupNodes.push(node)\n      groups[node.group] = groupNodes\n\n      if (\n        omit?.includes(\"script\") &&\n        isUiNodeScriptAttributes(node.attributes)\n      ) {\n        continue\n      }\n\n      if (\n        omit?.includes(\"input_hidden\") &&\n        isUiNodeInputAttributes(node.attributes) &&\n        node.attributes.type === \"hidden\"\n      ) {\n        continue\n      }\n\n      groupRetained[node.group] = (groupRetained[node.group] ?? 0) + 1\n    }\n\n    const finalGroups: Partial<Record<UiNodeGroupEnum, UiNode[]>> = {}\n    for (const [group, count] of Object.entries(groupRetained)) {\n      if (count > 0) {\n        finalGroups[group as UiNodeGroupEnum] = groups[group as UiNodeGroupEnum]\n      }\n    }\n\n    return finalGroups\n  }, [nodes, omit])\n\n  const entries = useMemo(\n    () =>\n      (\n        Object.entries(groups) as Entries<Record<UiNodeGroupEnum, UiNode[]>>\n      ).sort(([a], [b]) => groupSorter(a, b)),\n    [groups, groupSorter],\n  )\n\n  return {\n    groups,\n    entries,\n  }\n}\n\n/**\n * Find a node\n * @param nodes - The list of nodes to search\n * @param opt  - The matching options\n * @returns The first matching node\n */\nexport const findNode = <T extends UiNodeAttributes[\"node_type\"]>(\n  nodes: UiNode[],\n  opt: {\n    node_type: T\n    group: UiNodeGroupEnum | RegExp\n    name?: string | RegExp\n    type?: string | RegExp\n  },\n) =>\n  nodes.find((n) => {\n    return (\n      n.attributes.node_type === opt.node_type &&\n      (opt.group instanceof RegExp\n        ? n.group.match(opt.group)\n        : n.group === opt.group) &&\n      (opt.name && n.attributes.node_type === \"input\"\n        ? opt.name instanceof RegExp\n          ? n.attributes.name.match(opt.name)\n          : n.attributes.name === opt.name\n        : !opt.name) &&\n      (opt.type && n.attributes.node_type === \"input\"\n        ? opt.type instanceof RegExp\n          ? n.attributes.type.match(opt.type)\n          : n.attributes.type === opt.type\n        : !opt.type)\n    )\n  }) as\n    | (UiNode & { attributes: UiNodeAttributes & { node_type: T } })\n    | undefined\n\n/**\n * Returns functional nodes not related to credentials (e.g. password node) but\n * nodes belonging profile information, identifier first nodes, captcha, or default\n * nodes (e.g. csrf_token).\n *\n * @param nodes - Array of nodes to filter on.\n */\nexport function useFunctionalNodes(nodes: UiNode[]) {\n  return nodes.filter(({ group }) =>\n    (\n      [\n        UiNodeGroupEnum.Default,\n        UiNodeGroupEnum.IdentifierFirst,\n        UiNodeGroupEnum.Profile,\n        UiNodeGroupEnum.Captcha,\n      ] as UiNodeGroupEnum[]\n    ).includes(group),\n  )\n}\n\n/**\n * Type guard for UiNodeGroupEnum\n *\n * @param method - The string to type guard\n */\nexport function isUiNodeGroupEnum(method: string): method is UiNodeGroupEnum {\n  // @ts-expect-error it's a string array, but typescript thinks the argument must be validated stricter\n  return Object.values(UiNodeGroupEnum).includes(method)\n}\n\n/**\n * Returns true if the node is of group saml or oidc.\n *\n * @param node - The node\n */\nfunction isSingleSignOnNode(node: UiNode): boolean {\n  return (\n    node.group === UiNodeGroupEnum.Oidc || node.group === UiNodeGroupEnum.Saml\n  )\n}\n\n/**\n * Returns true if the node group contains oidc or saml nodes.\n *\n * @param nodes - Array of nodes to search in.\n */\nexport function hasSingleSignOnNodes(nodes: UiNode[]) {\n  return nodes.some(isSingleSignOnNode)\n}\n\n/** Returns all nodes that are not single sign on nodes (saml, oidc).\n *\n * @param nodes - Array of nodes to filter.\n */\nexport function withoutSingleSignOnNodes(nodes: UiNode[]) {\n  return nodes.filter((node: UiNode) => !isSingleSignOnNode(node))\n}\n\n/**\n * Returns true if the node is visible.\n *\n * @param node - The node to check.\n */\nexport function isNodeVisible(node: UiNode) {\n  if (isUiNodeScriptAttributes(node.attributes)) {\n    return false\n  } else if (isUiNodeInputAttributes(node.attributes)) {\n    if (node.attributes.type === \"hidden\") {\n      return false\n    }\n  }\n  return true\n}\n\nexport type GroupedNodes = Partial<Record<UiNodeGroupEnum, UiNode[]>>\n\n/**\n * Returns a record which have at least one visible or interactive element (button,\n * text field, image).\n *\n * Groups which have only hidden or otherwise non-interactive elements (e.g. scripts or\n * hidden input fields) are omitted from the result.\n *\n * @param nodes - Array of nodes to filter on.\n * @returns Record of groups with at least one visible element and their nodes.\n */\nexport function useNodeGroupsWithVisibleNodes(nodes: UiNode[]): GroupedNodes {\n  return useMemo(() => {\n    const groups: Partial<Record<UiNodeGroupEnum, UiNode[]>> = {}\n    const groupRetained: Partial<Record<UiNodeGroupEnum, number>> = {}\n\n    for (const node of nodes) {\n      const groupNodes = groups[node.group] ?? []\n      const groupCount = groupRetained[node.group] ?? 0\n\n      groupNodes.push(node)\n      groups[node.group] = groupNodes\n      if (!isNodeVisible(node)) {\n        continue\n      }\n\n      groupRetained[node.group] = groupCount + 1\n    }\n\n    const finalGroups: Partial<Record<UiNodeGroupEnum, UiNode[]>> = {}\n    for (const [group, count] of Object.entries(groupRetained)) {\n      if (count > 0) {\n        finalGroups[group as UiNodeGroupEnum] = groups[group as UiNodeGroupEnum]\n      }\n    }\n\n    return finalGroups\n  }, [nodes])\n}\n","// Copyright © 2025 Ory Corp\n// SPDX-License-Identifier: Apache-2.0\n\nimport { createContext, PropsWithChildren, useContext, useRef } from \"react\"\nimport { isProduction } from \"../client/config\"\nimport { OryClientConfiguration } from \"../util\"\nimport { frontendClient } from \"../util/client\"\nimport {\n  AccountExperienceConfiguration,\n  ConfigurationParameters,\n  FrontendApi,\n} from \"@ory/client-fetch\"\n\n/**\n * The Ory Elements configuration object.\n *\n * @interface\n */\nexport type OryElementsConfiguration = {\n  /**\n   * The Ory SDK configuration.\n   * This includes the URL and options for the Ory SDK.\n   */\n  sdk: OrySDK\n  /**\n   * The project configuration.\n   * This includes the project name, URLs, and other settings for the Ory Elements project.\n   */\n  project: AccountExperienceConfiguration\n}\n\nconst defaultProject: AccountExperienceConfiguration = {\n  name: \"Ory\",\n  registration_enabled: true,\n  verification_enabled: true,\n  recovery_enabled: true,\n  recovery_ui_url: \"/ui/recovery\",\n  registration_ui_url: \"/ui/registration\",\n  verification_ui_url: \"/ui/verification\",\n  login_ui_url: \"/ui/login\",\n  settings_ui_url: \"/ui/settings\",\n  default_redirect_url: \"/ui/welcome\",\n  error_ui_url: \"/ui/error\",\n  default_locale: \"en\",\n  locale_behavior: \"force_default\",\n}\n\n/**\n * The `useOryConfiguration` hook provides access to the Ory Elements configuration.\n *\n * This includes the SDK configuration and the project configuration. To customize the configuration, provide the `sdk` and `project` properties in the `OryConfigurationProvider`.\n *\n * @returns the Ory Elements configuration, which includes the SDK and project configuration.\n * @group Hooks\n */\nexport function useOryConfiguration(): OryElementsConfiguration {\n  const configCtx = useContext(OryConfigurationContext)\n  return {\n    sdk: {\n      ...configCtx.sdk,\n      frontend: frontendClient(configCtx.sdk.url, configCtx.sdk.options),\n    },\n    project: {\n      ...configCtx.project,\n    },\n  }\n}\n\nexport type OrySDK = SDKConfig & {\n  /**\n   * The frontend client for the Ory SDK.\n   * This client is used to interact with the Ory SDK and should be used to make API calls.\n   */\n  frontend: FrontendApi\n}\n\ntype SDKConfig = {\n  /**\n   * The URL of the Ory SDK.\n   * This URL is used to connect to the Ory SDK and should be set to the base URL of your Ory instance.\n   */\n  url: string\n  options?: Partial<ConfigurationParameters>\n}\n\ntype OryElementsConfigContextType = {\n  sdk: SDKConfig\n  project: AccountExperienceConfiguration\n}\n\nconst OryConfigurationContext = createContext<OryElementsConfigContextType>({\n  sdk: null!, // This is fine, because we always supply a proper default value for the SDK configuration in the provider\n  project: defaultProject,\n})\n\n/**\n * Props for the `OryConfigurationProvider` component.\n *\n * @hidden\n * @inline\n */\nexport interface OryConfigurationProviderProps extends PropsWithChildren {\n  /**\n   * The Ory SDK configuration to use.\n   * If not provided, the SDK URL will be determined automatically based on the environment.\n   *\n   * Always required for production environments.\n   */\n  sdk?: OryClientConfiguration[\"sdk\"]\n\n  /**\n   * This configuration is used to customize the behavior and appearance of Ory Elements.\n   */\n  project?: Partial<AccountExperienceConfiguration>\n}\n\n/**\n * The `OryConfigurationProvider` component provides the Ory Elements configuration to its children.\n *\n * @param props - The properties for the OryConfigurationProvider component.\n * @returns\n * @group Components\n */\nexport function OryConfigurationProvider({\n  children,\n  sdk: initialConfig,\n  project,\n}: OryConfigurationProviderProps) {\n  const configRef = useRef({\n    sdk: computeSdkConfig(initialConfig),\n    project: {\n      ...defaultProject,\n      ...project,\n    },\n  })\n\n  return (\n    <OryConfigurationContext.Provider value={configRef.current}>\n      {children}\n    </OryConfigurationContext.Provider>\n  )\n}\n\nfunction computeSdkConfig(config?: OryClientConfiguration[\"sdk\"]): SDKConfig {\n  if (config?.url && typeof config.url === \"string\") {\n    return {\n      url: config.url.replace(/\\/$/, \"\"),\n      options: config.options || {},\n    }\n  }\n\n  return {\n    url: getSDKUrl(),\n    options: config?.options || {},\n  }\n}\n\nfunction getSDKUrl() {\n  if (typeof process !== \"undefined\" && !!process.env) {\n    // process is available, let's try some environment variables\n    if (isProduction()) {\n      const sdkUrl =\n        process.env[\"NEXT_PUBLIC_ORY_SDK_URL\"] ?? process.env[\"ORY_SDK_URL\"]\n      if (!sdkUrl) {\n        throw new Error(\n          \"Unable to determine SDK URL. Please set NEXT_PUBLIC_ORY_SDK_URL and/or ORY_SDK_URL in production environments.\",\n        )\n      }\n      return sdkUrl.replace(/\\/$/, \"\")\n    } else {\n      if (process.env[\"__NEXT_PRIVATE_ORIGIN\"]) {\n        return process.env[\"__NEXT_PRIVATE_ORIGIN\"].replace(/\\/$/, \"\")\n      } else if (process.env[\"VERCEL_URL\"]) {\n        return `https://${process.env[\"VERCEL_URL\"]}`.replace(/\\/$/, \"\")\n      }\n    }\n  }\n\n  if (typeof window !== \"undefined\") {\n    // we are in the browser\n\n    // Try to use window location\n    return window.location.origin\n  }\n  // We aren't in node, and we don't have a window location.\n  // This is probably a test environment, so we can't guess the SDK URL.\n\n  throw new Error(\n    \"Unable to determine SDK URL. Please set NEXT_PUBLIC_ORY_SDK_URL and/or ORY_SDK_URL or supply the sdk.url parameter in the Ory configuration.\",\n  )\n}\n","// Copyright © 2024 Ory Corp\n// SPDX-License-Identifier: Apache-2.0\n\nimport {\n  Configuration,\n  ConfigurationParameters,\n  FrontendApi,\n} from \"@ory/client-fetch\"\n\nexport function frontendClient(\n  sdkUrl: string,\n  opts: Partial<ConfigurationParameters> = {},\n) {\n  const config = new Configuration({\n    ...opts,\n    basePath: sdkUrl,\n    credentials: \"include\",\n    headers: {\n      Accept: \"application/json\",\n      ...opts.headers,\n    },\n  })\n  return new FrontendApi(config)\n}\n","// Copyright © 2024 Ory Corp\n// SPDX-License-Identifier: Apache-2.0\n\nimport { PropsWithChildren, useContext } from \"react\"\nimport { IntlProvider as OriginalIntlProvider, IntlContext } from \"react-intl\"\nimport { OryLocales } from \"..\"\nimport { LocaleMap } from \"../locales\"\n\n// ISO 639-1 language codes\n// https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes\nexport const LanguageCodes = [\n  \"ab\",\n  \"aa\",\n  \"af\",\n  \"sq\",\n  \"am\",\n  \"ar\",\n  \"hy\",\n  \"as\",\n  \"ay\",\n  \"az\",\n  \"ba\",\n  \"eu\",\n  \"bn\",\n  \"dz\",\n  \"bh\",\n  \"bi\",\n  \"br\",\n  \"bg\",\n  \"my\",\n  \"be\",\n  \"km\",\n  \"ca\",\n  \"zh\",\n  \"co\",\n  \"hr\",\n  \"cs\",\n  \"da\",\n  \"nl\",\n  \"en\",\n  \"eo\",\n  \"et\",\n  \"fo\",\n  \"fj\",\n  \"fi\",\n  \"fr\",\n  \"fy\",\n  \"gd\",\n  \"gl\",\n  \"ka\",\n  \"de\",\n  \"el\",\n  \"kl\",\n  \"gn\",\n  \"gu\",\n  \"ha\",\n  \"iw\",\n  \"hi\",\n  \"hu\",\n  \"is\",\n  \"in\",\n  \"ia\",\n  \"ie\",\n  \"ik\",\n  \"ga\",\n  \"it\",\n  \"ja\",\n  \"jw\",\n  \"kn\",\n  \"ks\",\n  \"kk\",\n  \"rw\",\n  \"ky\",\n  \"rn\",\n  \"ko\",\n  \"ku\",\n  \"lo\",\n  \"la\",\n  \"lv\",\n  \"ln\",\n  \"lt\",\n  \"mk\",\n  \"mg\",\n  \"ms\",\n  \"ml\",\n  \"mt\",\n  \"mi\",\n  \"mr\",\n  \"mo\",\n  \"mn\",\n  \"na\",\n  \"ne\",\n  \"no\",\n  \"oc\",\n  \"or\",\n  \"om\",\n  \"ps\",\n  \"fa\",\n  \"pl\",\n  \"pt\",\n  \"pa\",\n  \"qu\",\n  \"rm\",\n  \"ro\",\n  \"ru\",\n  \"sm\",\n  \"sg\",\n  \"sa\",\n  \"sr\",\n  \"sh\",\n  \"st\",\n  \"tn\",\n  \"sn\",\n  \"sd\",\n  \"si\",\n  \"ss\",\n  \"sk\",\n  \"sl\",\n  \"so\",\n  \"es\",\n  \"su\",\n  \"sw\",\n  \"sv\",\n  \"tl\",\n  \"tg\",\n  \"ta\",\n  \"tt\",\n  \"te\",\n  \"th\",\n  \"bo\",\n  \"ti\",\n  \"to\",\n  \"ts\",\n  \"tr\",\n  \"tk\",\n  \"tw\",\n  \"uk\",\n  \"ur\",\n  \"uz\",\n  \"vi\",\n  \"vo\",\n  \"cy\",\n  \"wo\",\n  \"xh\",\n  \"ji\",\n  \"yo\",\n  \"zu\",\n] as const\n\nexport type Locale = keyof typeof OryLocales\n\nexport type IntlContextProps = {\n  locale: Locale\n  customTranslations?: Partial<LocaleMap>\n}\n\nfunction mergeTranslations(customTranslations: Partial<LocaleMap>) {\n  return Object.keys(customTranslations).reduce((acc, key) => {\n    acc[key] = { ...OryLocales[key], ...customTranslations[key] }\n    return acc\n  }, OryLocales)\n}\n\nexport const IntlProvider = ({\n  children,\n  locale,\n  customTranslations,\n}: PropsWithChildren<IntlContextProps>) => {\n  const existingIntlContext = useContext(IntlContext)\n  const messages = mergeTranslations(customTranslations ?? {})\n\n  if (existingIntlContext) {\n    // If the original context is available, we assume we're in a nested provider\n    // and we should not override the context.\n    // This is useful for cases where the parent component already provides an Intl context.\n    return children\n  }\n\n  return (\n    <OriginalIntlProvider\n      onWarn={() => ({})}\n      defaultRichTextElements={{\n        del: (chunks) => <del>{chunks}</del>,\n      }}\n      locale={locale}\n      messages={messages[locale]}\n      defaultLocale=\"en\"\n    >\n      {children}\n    </OriginalIntlProvider>\n  )\n}\n","// Copyright © 2024 Ory Corp\n// SPDX-License-Identifier: Apache-2.0\n\nimport {\n  FlowType,\n  isUiNodeAnchorAttributes,\n  isUiNodeImageAttributes,\n  isUiNodeInputAttributes,\n  isUiNodeScriptAttributes,\n  UiText,\n} from \"@ory/client-fetch\"\nimport { ComponentType, PropsWithChildren } from \"react\"\nimport { useFormContext } from \"react-hook-form\"\nimport { useIntl } from \"react-intl\"\nimport { useComponents, useOryFlow } from \"../../context\"\nimport {\n  OryCardAuthMethodListItemProps,\n  OryCardLogoProps,\n  OryFormGroupProps,\n  OryFormRootProps,\n  OryFormSectionContentProps,\n  OryFormSectionFooterProps,\n  OryNodeAnchorProps,\n  OryNodeButtonProps,\n  OryNodeCaptchaProps,\n  OryNodeConsentScopeCheckboxProps,\n  OryNodeImageProps,\n  OryNodeInputProps,\n  OryNodeLabelProps,\n  OryNodeTextProps,\n} from \"../../types\"\nimport { OryCardFooterProps } from \"../card\"\nimport { OryCardRootProps } from \"../card/card\"\nimport { OryCardContentProps } from \"../card/content\"\nimport { OryPageHeaderProps } from \"../generic\"\nimport { OryCardDividerProps } from \"../generic/divider\"\nimport {\n  OrySettingsSsoProps,\n  OrySettingsPasskeyProps,\n  OrySettingsRecoveryCodesProps,\n  OrySettingsTotpProps,\n  OrySettingsWebauthnProps,\n} from \"../settings\"\nimport { OryMessageContentProps, OryMessageRootProps } from \"./messages\"\nimport { OryCardSettingsSectionProps } from \"./settings-section\"\nimport { OryFormSsoRootProps, OryNodeSsoButtonProps } from \"./social\"\nimport { useOryFormSubmit } from \"./useOryFormSubmit\"\n\n/**\n * A record of all the components that are used in the OryForm component.\n */\nexport type OryFlowComponents = {\n  Node: {\n    /**\n     * Button component, rendered whenever a button is encountered in the Ory UI Nodes.\n     */\n    Button: ComponentType<OryNodeButtonProps>\n    /**\n     * The SsoButton component is rendered whenever a button of group \"oidc\" or \"saml\" node is encountered.\n     *\n     * It renders the \"Login with Google\", \"Login with Facebook\" etc. buttons.\n     */\n    SsoButton: ComponentType<OryNodeSsoButtonProps>\n    /**\n     * Anchor component, rendered whenever an \"anchor\" node is encountered\n     */\n    Anchor: ComponentType<OryNodeAnchorProps>\n    /**\n     * The Input component is rendered whenever a \"input\" node is encountered.\n     */\n    Input: ComponentType<OryNodeInputProps>\n    /**\n     * Special version of the Input component for OTP codes.\n     */\n    CodeInput: ComponentType<OryNodeInputProps>\n    /**\n     * The Image component is rendered whenever an \"image\" node is encountered.\n     *\n     * For example used in the \"Logo\" node.\n     */\n    Image: ComponentType<OryNodeImageProps>\n    /**\n     * The Label component is rendered around Input components and is used to render form labels.\n     */\n    Label: ComponentType<OryNodeLabelProps>\n    /**\n     * The Checkbox component is rendered whenever an input node with of boolean type is encountered.\n     */\n    Checkbox: ComponentType<OryNodeInputProps>\n    /**\n     * The Text component is rendered whenever a \"text\" node is encountered.\n     */\n    Text: ComponentType<OryNodeTextProps>\n    /**\n     * The Captcha component is rendered whenever a \"captcha\" group is encountered.\n     */\n    Captcha: ComponentType<OryNodeCaptchaProps>\n\n    /**\n     * Special version of the Input component for scopes in OAuth2 flows.\n     */\n    ConsentScopeCheckbox: ComponentType<OryNodeConsentScopeCheckboxProps>\n  }\n  Card: {\n    /**\n     * The card container is the main container of the card.\n     */\n    Root: ComponentType<OryCardRootProps>\n    /**\n     * The card footer is the footer of the card container.\n     */\n    Footer: ComponentType<OryCardFooterProps>\n    /**\n     * The card header is the header of the card container.\n     */\n    Header: ComponentType<OryCardRootProps>\n    /**\n     * The card content is the main content of the card container.\n     */\n    Content: ComponentType<OryCardContentProps>\n    /**\n     * The card logo is the logo of the card container.\n     */\n    Logo: ComponentType<OryCardLogoProps>\n    /**\n     * The HorizontalDivider component is rendered between groups.\n     */\n    Divider: ComponentType<OryCardDividerProps>\n\n    /**\n     * The AuthMethodListContainer component is rendered around the \"method\" chooser step in the identifier_first login flow.\n     *\n     * This is only used, if login is configured to use identifier_first authentication.\n     */\n    AuthMethodListContainer: ComponentType<PropsWithChildren>\n    /**\n     * The AuthMethodListItem component is rendered on the \"method\" chooser step in the identifier_first login flow.\n     *\n     * This is only used, if login is configured to use identifier_first authentication.\n     */\n    AuthMethodListItem: ComponentType<OryCardAuthMethodListItemProps>\n\n    /**\n     * The SettingsSection component is rendered around each section of the settings.\n     */\n    SettingsSection: ComponentType<OryCardSettingsSectionProps>\n    /**\n     * The SettingsSectionContent component is rendered around the content of each section of the settings.\n     */\n    SettingsSectionContent: ComponentType<OryFormSectionContentProps>\n    /**\n     * The SettingsSectionFooter component is rendered around the footer of each section of the settings.\n     */\n    SettingsSectionFooter: ComponentType<OryFormSectionFooterProps>\n  }\n  Form: {\n    /**\n     * The FormContainer component is the main container of the form.\n     *\n     * It should render its children.\n     *\n     * You most likely don't want to override this component directly.\n     */\n    Root: ComponentType<OryFormRootProps>\n    /**\n     * A special form group container for the social buttons.\n     *\n     * This is required, because the social buttons need to be in its form, to not influence the other form groups.\n     *\n     * You most likely don't want to override this component directly.\n     */\n    SsoRoot: ComponentType<OryFormSsoRootProps>\n\n    /**\n     * The FormGroup is rendered around each group of nodes in the UI nodes.\n     */\n    Group: ComponentType<OryFormGroupProps>\n\n    /**\n     * The section on the settings page, rendering the OIDC settings\n     */\n    SsoSettings: ComponentType<OrySettingsSsoProps>\n\n    /**\n     * The section on the settings page, rendering the Webauthn settings\n     */\n    WebauthnSettings: ComponentType<OrySettingsWebauthnProps>\n\n    /**\n     * The section on the settings page, rendering the Passkey settings\n     */\n    PasskeySettings: ComponentType<OrySettingsPasskeyProps>\n\n    /**\n     * The section on the settings page, rendering the TOTP settings\n     */\n    TotpSettings: ComponentType<OrySettingsTotpProps>\n\n    /**\n     * The section on the settings page, rendering the recovery code settings\n     */\n    RecoveryCodesSettings: ComponentType<OrySettingsRecoveryCodesProps>\n  }\n  Message: {\n    /**\n     * The MessageContainer is rendered around the messages.\n     */\n    Root: ComponentType<OryMessageRootProps>\n\n    /**\n     * The Message component is rendered whenever a message is encountered.\n     */\n    Content: ComponentType<OryMessageContentProps>\n\n    /**\n     * The Toast component is rendered for toast messages.\n     *\n     * Currently only used in the settings page to display messages.\n     */\n    Toast: ComponentType<OryToastProps>\n  }\n  Page: {\n    Header: ComponentType<OryPageHeaderProps>\n  }\n}\nexport type OryToastProps = {\n  message: UiText\n  id: string | number\n}\n\n/**\n * Makes the components in OryFlowComponents optional, so that you can override only the components you want to change.\n */\nexport type OryFlowComponentOverrides = {\n  [P in keyof OryFlowComponents]?: OryFlowComponents[P] extends object\n    ? { [K in keyof OryFlowComponents[P]]?: OryFlowComponents[P][K] }\n    : OryFlowComponents[P]\n}\n\n/**\n * The props for the OryForm component.\n * @inline\n * @hidden\n */\nexport interface OryFormProps extends PropsWithChildren {\n  /**\n   * A callback function that is called after the form is submitted.\n   *\n   * It is always called after the form is submitted, unless the form submission is prevented by client side\n   * validation or the API response dictated that the client should be redirected\n   *\n   * @param method - The method that was submitted.\n   */\n  onAfterSubmit?: (method: string | number | boolean | undefined) => void\n}\n\n/**\n * The OryForm component is the main form container for Ory flows.\n *\n * It renders the form with the correct action and method, and handles the submission of the form.\n *\n * @param props - The props for the OryForm component.\n * @returns\n * @group Components\n */\nexport function OryForm({ children, onAfterSubmit }: OryFormProps) {\n  const { Form } = useComponents()\n  const flowContainer = useOryFlow()\n  const methods = useFormContext()\n  const { Message } = useComponents()\n\n  const intl = useIntl()\n\n  const onSubmit = useOryFormSubmit(onAfterSubmit)\n\n  const hasMethods = flowContainer.flow.ui.nodes.some((node) => {\n    if (isUiNodeInputAttributes(node.attributes)) {\n      if (node.attributes.type === \"hidden\") {\n        return false\n      }\n      return node.attributes.name !== \"csrf_token\"\n    } else if (isUiNodeAnchorAttributes(node.attributes)) {\n      return true\n    } else if (isUiNodeImageAttributes(node.attributes)) {\n      return true\n    } else if (isUiNodeScriptAttributes(node.attributes)) {\n      return true\n    }\n    return false\n  })\n\n  if (!hasMethods) {\n    // This is defined in Ory Kratos as well.\n    const m: UiText = {\n      id: 5000002,\n      text: intl.formatMessage({\n        id: `identities.messages.${5000002}`,\n        defaultMessage:\n          \"No authentication methods are available for this request. Please contact the site or app owner.\",\n      }),\n      type: \"error\",\n    }\n\n    return (\n      <Message.Root>\n        <Message.Content key={m.id} message={m} />\n      </Message.Root>\n    )\n  }\n\n  if (\n    (flowContainer.flowType === FlowType.Login ||\n      flowContainer.flowType === FlowType.Registration) &&\n    flowContainer.formState.current === \"method_active\" &&\n    flowContainer.formState.method === \"code\"\n  ) {\n    // This is enforced here because method code node is sometimes missing\n    methods.setValue(\"method\", \"code\")\n  }\n\n  return (\n    <Form.Root\n      action={flowContainer.flow.ui.action}\n      method={flowContainer.flow.ui.method}\n      onSubmit={(e) => void methods.handleSubmit(onSubmit)(e)}\n    >\n      {children}\n    </Form.Root>\n  )\n}\n","// Copyright © 2024 Ory Corp\n// SPDX-License-Identifier: Apache-2.0\n\nimport {\n  FlowType,\n  OnRedirectHandler,\n  UiNodeGroupEnum,\n  UpdateLoginFlowBody,\n  UpdateRecoveryFlowBody,\n  UpdateRegistrationFlowBody,\n  UpdateSettingsFlowBody,\n  UpdateVerificationFlowBody,\n} from \"@ory/client-fetch\"\nimport { SubmitHandler, useFormContext } from \"react-hook-form\"\nimport { useOryConfiguration, useOryFlow } from \"../../context\"\nimport { FormValues } from \"../../types\"\nimport { OryFlowContainer } from \"../../util\"\nimport { onSubmitLogin } from \"../../util/onSubmitLogin\"\nimport { onSubmitRecovery } from \"../../util/onSubmitRecovery\"\nimport { onSubmitRegistration } from \"../../util/onSubmitRegistration\"\nimport { onSubmitSettings } from \"../../util/onSubmitSettings\"\nimport { onSubmitVerification } from \"../../util/onSubmitVerification\"\nimport { computeDefaultValues } from \"./form-helpers\"\n\n// The \"select_account\" prompt is supported by the following providers.\n// This prompt forces the user to select an account, even if they are already logged in.\n// This is useful when the user wants to link an account, for example.\n// TODO: this list could likely be extended, but the parameter is poorly documented.\nconst supportsSelectAccountPrompt = [\"google\", \"github\"]\n\nexport function useOryFormSubmit(\n  onAfterSubmit?: (method: string | number | boolean | undefined) => void,\n) {\n  const flowContainer = useOryFlow()\n  const methods = useFormContext()\n  const config = useOryConfiguration()\n\n  const handleSuccess = (flow: OryFlowContainer) => {\n    flowContainer.setFlowContainer(flow)\n    methods.reset(computeDefaultValues(flow.flow.ui.nodes))\n  }\n\n  const onRedirect: OnRedirectHandler = (url, _external) => {\n    window.location.assign(url)\n  }\n\n  const onSubmit: SubmitHandler<FormValues> = async (data) => {\n    switch (flowContainer.flowType) {\n      case FlowType.Login: {\n        const submitData: UpdateLoginFlowBody = {\n          ...(data as unknown as UpdateLoginFlowBody),\n        }\n        if (submitData.method === \"code\" && data.code) {\n          submitData.resend = \"\"\n        }\n\n        await onSubmitLogin(flowContainer, config, {\n          onRedirect,\n          setFlowContainer: handleSuccess,\n          body: submitData,\n        })\n        break\n      }\n      case FlowType.Registration: {\n        const submitData: UpdateRegistrationFlowBody = {\n          ...(data as unknown as UpdateRegistrationFlowBody),\n        }\n\n        if (submitData.method === \"code\" && submitData.code) {\n          submitData.resend = \"\"\n        }\n\n        await onSubmitRegistration(flowContainer, config, {\n          onRedirect,\n          setFlowContainer: handleSuccess,\n          body: submitData,\n        })\n        break\n      }\n      case FlowType.Verification:\n        await onSubmitVerification(flowContainer, config, {\n          onRedirect,\n          setFlowContainer: handleSuccess,\n          body: data as unknown as UpdateVerificationFlowBody,\n        })\n        break\n      case FlowType.Recovery: {\n        const submitData: UpdateRecoveryFlowBody = {\n          ...(data as unknown as UpdateRecoveryFlowBody),\n        }\n        // TODO: We should probably fix this in Kratos, and give the code priority over the email. However, that would be breaking :(\n        if (data.code) {\n          submitData.email = \"\"\n        }\n        await onSubmitRecovery(flowContainer, config, {\n          onRedirect,\n          setFlowContainer: handleSuccess,\n          body: submitData,\n        })\n        break\n      }\n      case FlowType.Settings: {\n        const submitData: UpdateSettingsFlowBody = {\n          ...(data as unknown as UpdateSettingsFlowBody),\n        }\n\n        if (\"totp_unlink\" in submitData) {\n          submitData.method = \"totp\"\n        }\n\n        if (\n          \"lookup_secret_confirm\" in submitData ||\n          \"lookup_secret_reveal\" in submitData ||\n          \"lookup_secret_regenerate\" in submitData ||\n          \"lookup_secret_disable\" in submitData\n        ) {\n          submitData.method = \"lookup_secret\"\n        }\n\n        // Force the account selection screen on link to provide a better use experience.\n        // https://github.com/ory/elements/issues/268\n        // TODO: Maybe this needs to be configurable in the configuration\n        if (\n          submitData.method === UiNodeGroupEnum.Oidc &&\n          submitData.link &&\n          supportsSelectAccountPrompt.includes(submitData.link)\n        ) {\n          submitData.upstream_parameters = {\n            prompt: \"select_account\",\n          }\n        }\n\n        if (\"webauthn_remove\" in submitData) {\n          submitData.method = \"webauthn\"\n        }\n\n        if (\"passkey_remove\" in submitData) {\n          submitData.method = \"passkey\"\n        }\n\n        await onSubmitSettings(flowContainer, config, {\n          onRedirect,\n          setFlowContainer: handleSuccess,\n          body: submitData,\n        })\n        break\n      }\n      case FlowType.OAuth2Consent: {\n        // TODO: move this to a full fleged SDK method?\n        const response = await fetch(flowContainer.flow.ui.action, {\n          method: \"POST\",\n          body: JSON.stringify(data),\n          headers: {\n            \"Content-Type\": \"application/json\",\n          },\n        })\n        const oauth2Success = await response.json()\n        if (\n          oauth2Success.redirect_to &&\n          typeof oauth2Success.redirect_to === \"string\"\n        ) {\n          onRedirect(oauth2Success.redirect_to as string, true)\n        }\n      }\n    }\n    if (\"password\" in data) {\n      methods.setValue(\"password\", \"\")\n    }\n    if (\"code\" in data) {\n      methods.setValue(\"code\", \"\")\n    }\n    if (\"totp_code\" in data) {\n      methods.setValue(\"totp_code\", \"\")\n    }\n    onAfterSubmit?.(data.method)\n  }\n\n  return onSubmit\n}\n","// Copyright © 2024 Ory Corp\n// SPDX-License-Identifier: Apache-2.0\n\nimport {\n  FlowType,\n  LoginFlow,\n  loginUrl,\n  UpdateLoginFlowBody,\n} from \"@ory/client-fetch\"\nimport { OnSubmitHandlerProps } from \"./submitHandler\"\nimport { LoginFlowContainer } from \"./flowContainer\"\nimport { frontendClient } from \"./client\"\nimport { replaceWindowFlowId } from \"./internal\"\nimport { OryElementsConfiguration } from \"../context\"\nimport { handleFlowError } from \"./sdk-helpers\"\n\n/**\n * Use this method to submit a login flow. This method is used in the `onSubmit` handler of the login form.\n *\n * @param config - The configuration object.\n * @param flow - The flow object.\n * @param setFlowContainer - This method is used to update the flow container when a validation error occurs, for example.\n * @param body - The form values to submit.\n * @param onRedirect - This method is used to redirect the user to a different page.\n */\nexport async function onSubmitLogin(\n  { flow }: LoginFlowContainer,\n  config: OryElementsConfiguration,\n  {\n    setFlowContainer,\n    body,\n    onRedirect,\n  }: OnSubmitHandlerProps<UpdateLoginFlowBody>,\n) {\n  if (!config.sdk.url) {\n    throw new Error(\n      `Please supply your Ory Network SDK url to the Ory Elements configuration.`,\n    )\n  }\n\n  await frontendClient(config.sdk.url, config.sdk.options ?? {})\n    .updateLoginFlowRaw({\n      flow: flow.id,\n      updateLoginFlowBody: body,\n    })\n    .then(() => {\n      // TODO Remove this workaround. If the return_to value is missing we redirect to the browser endpoint which will redirect us\n      // TODO to the default_redirect_url. Ideally, this value comes from the project config.\n      window.location.href =\n        // eslint-disable-next-line promise/always-return\n        flow.return_to ?? config.sdk.url + \"/self-service/login/browser\"\n    })\n    .catch(\n      handleFlowError({\n        onRestartFlow: (useFlowId?: string) => {\n          if (useFlowId) {\n            replaceWindowFlowId(useFlowId)\n          } else {\n            onRedirect(loginUrl(config), true)\n          }\n        },\n        onValidationError: (body: LoginFlow) => {\n          setFlowContainer({\n            flow: body,\n            flowType: FlowType.Login,\n          })\n        },\n        onRedirect,\n        config,\n      }),\n    )\n}\n","// Copyright © 2024 Ory Corp\n// SPDX-License-Identifier: Apache-2.0\n\nimport {\n  ErrorBrowserLocationChangeRequired,\n  ErrorFlowReplaced,\n  GenericError,\n  NeedsPrivilegedSessionError,\n  ResponseError,\n  SelfServiceFlowExpiredError,\n  FetchError,\n  ErrorGeneric,\n  ContinueWith,\n} from \"@ory/client-fetch\"\nimport type { GenericErrorContent } from \"@ory/client-fetch/src/models/GenericErrorContent\"\n\nexport function isGenericErrorResponse(\n  response: unknown,\n): response is { error: GenericError } {\n  return (\n    typeof response === \"object\" &&\n    !!response &&\n    \"error\" in response &&\n    typeof response.error === \"object\" &&\n    !!response.error &&\n    \"id\" in response.error\n  )\n}\n\n/**\n * Checks if the response is a NeedsPrivilegedSessionError. This error is returned when the self-service flow requires\n * the user to re-authenticate in order to perform an action that requires elevated privileges.\n *\n * @param response - The response to check.\n */\nexport function isNeedsPrivilegedSessionError(\n  response: unknown,\n): response is NeedsPrivilegedSessionError {\n  return (\n    isGenericErrorResponse(response) &&\n    response.error.id === \"session_refresh_required\"\n  )\n}\n\n/**1\n * Checks if the response is a SelfServiceFlowExpiredError. This error is returned when the self-service flow is expired.\n *\n * @param response - The response to check.\n */\nexport function isSelfServiceFlowExpiredError(\n  response: unknown,\n): response is SelfServiceFlowExpiredError {\n  return (\n    isGenericErrorResponse(response) &&\n    response.error.id === \"self_service_flow_expired\"\n  )\n}\n\n/**\n * Checks if the response is a GenericError due to the self-service flow being disabled (for example disabled registration).\n *\n * @param response - The response to check.\n */\nexport function isSelfServiceFlowDisabled(\n  response: unknown,\n): response is GenericError {\n  return (\n    isGenericErrorResponse(response) &&\n    isGenericErrorResponse(response) &&\n    response.error.id === \"self_service_flow_disabled\"\n  )\n}\n\n/**\n * Checks if the response is a ErrorBrowserLocationChangeRequired.\n * @param response - The response to check.\n */\nexport function isBrowserLocationChangeRequired(\n  response: unknown,\n): response is ErrorBrowserLocationChangeRequired {\n  return (\n    isGenericErrorResponse(response) &&\n    isGenericErrorResponse(response) &&\n    response.error.id === \"browser_location_change_required\"\n  )\n}\n\n/**\n * Checks if the response is a ErrorFlowReplaced.\n * @param response - The response to check.\n */\nexport function isSelfServiceFlowReplaced(\n  response: unknown,\n): response is ErrorFlowReplaced {\n  return (\n    isGenericErrorResponse(response) &&\n    response.error.id === \"self_service_flow_replaced\"\n  )\n}\n\n/**\n * Checks if the response is a GenericError due to the session already being available.\n * @param response - The response to check.\n */\nexport function isSessionAlreadyAvailable(\n  response: unknown,\n): response is GenericError {\n  return (\n    isGenericErrorResponse(response) &&\n    response.error.id === \"session_already_available\"\n  )\n}\n\n/**\n * Checks if the response is a GenericError due to the session being inactive.\n *\n * @param response - The response to check.\n */\nexport function isAddressNotVerified(response: unknown): response is {\n  error: GenericErrorContent & {\n    details?: {\n      continue_with?: [ContinueWith]\n    }\n  }\n} {\n  return (\n    isGenericErrorResponse(response) &&\n    response.error.id === \"session_verified_address_required\"\n  )\n}\n\n/**\n * Checks if the response is a GenericError due to the session already having fulfilled the AAL requirement.\n *\n * @param response - The response to check.\n */\nexport function isAalAlreadyFulfilled(\n  response: unknown,\n): response is GenericError {\n  return (\n    isGenericErrorResponse(response) &&\n    response.error.id === \"session_aal_already_fulfilled\"\n  )\n}\n\n/**\n * Checks if the response is a GenericError due to the session requiring a higher AAL.\n *\n * @param response - The response to check.\n */\nexport function isSessionAal1Required(\n  response: unknown,\n): response is ErrorGeneric {\n  return (\n    isGenericErrorResponse(response) &&\n    response.error.id === \"session_aal1_required\"\n  )\n}\n\n/**\n * Checks if the response is a GenericError due to the session requiring a higher AAL.\n *\n * @param response - The response to check.\n */\nexport function isSessionAal2Required(\n  response: unknown,\n): response is GenericError {\n  return (\n    isGenericErrorResponse(response) &&\n    response.error.id === \"session_aal2_required\"\n  )\n}\n\n/**\n * Checks if the response is a GenericError due to the session being inactive.\n *\n * @param response - The response to check.\n */\nexport function isNoActiveSession(response: unknown): response is GenericError {\n  return (\n    isGenericErrorResponse(response) && response.error.id === \"session_inactive\"\n  )\n}\n\n/**\n * Checks if the response is a GenericError due to a CSRF violation.\n *\n * @param response - The response to check.\n */\nexport function isCsrfError(response: unknown): response is GenericError {\n  return (\n    isGenericErrorResponse(response) &&\n    response.error.id === \"security_csrf_violation\"\n  )\n}\n\n/**\n * Checks if the response is a GenericError due to the redirect URL being forbidden.\n *\n * @param response - The response to check.\n */\nexport function isRedirectUrlNotAllowed(\n  response: unknown,\n): response is GenericError {\n  return (\n    isGenericErrorResponse(response) &&\n    response.error.id === \"self_service_flow_return_to_forbidden\"\n  )\n}\n\n/**\n * Checks if the response is a GenericError due to two sessions being active.\n *\n * @param response - The response to check.\n */\nexport function isSecurityIdentityMismatch(\n  response: unknown,\n): response is GenericError {\n  return (\n    isGenericErrorResponse(response) &&\n    response.error.id === \"security_identity_mismatch\"\n  )\n}\n\nexport const isResponseError = (err: unknown): err is ResponseError => {\n  if (err instanceof ResponseError) {\n    return true\n  }\n\n  return (\n    typeof err === \"object\" &&\n    !!err &&\n    \"name\" in err &&\n    err.name === \"ResponseError\"\n  )\n}\n\nexport const isFetchError = (err: unknown): err is FetchError => {\n  return err instanceof FetchError\n}\n","// Copyright © 2025 Ory Corp\n// SPDX-License-Identifier: Apache-2.0\n\nimport { FetchError, ResponseError } from \"@ory/client-fetch\"\nimport { OnRedirectHandler } from \"./continueWith\"\nimport {\n  isAddressNotVerified,\n  isBrowserLocationChangeRequired,\n  isCsrfError,\n  isFetchError,\n  isNeedsPrivilegedSessionError,\n  isResponseError,\n  isSelfServiceFlowExpiredError,\n} from \"./error\"\nimport { verificationUrl } from \"./urlHelpers\"\n\nexport type ValidationErrorHandler<T> = (body: T) => void\n\ntype FlowErrorHandlerProps<T> = {\n  /**\n   * When the SDK returns an error indicating that the flow needs to be restarted, this function is called.\n   *\n   * @param useFlowId - If provided, the SDK should use this flow ID to not lose context of the flow.\n   */\n  onRestartFlow: (useFlowId?: string) => void\n\n  /**\n   * When the SDK returns a validation error, this function is called. The result should be used to update the\n   * flow container.\n   *\n   * The function should return a FlowContainer or nothing.\n   *\n   * @param body - The body of the response.\n   */\n  onValidationError: ValidationErrorHandler<T>\n\n  /**\n   * This method is used to redirect the user to a different page.\n   */\n  onRedirect: OnRedirectHandler\n\n  /**\n   * The configuration object.\n   */\n  config: { sdk: { url: string } }\n}\n\n/**\n * Use this as the catch handler for all flow-related SDK calls, such as creating a login or submitting a login.\n *\n *\n * @param opts - The configuration object.\n */\nexport const handleFlowError =\n  <T>(opts: FlowErrorHandlerProps<T>) =>\n  async (err: unknown): Promise<void | T> => {\n    if (!isResponseError(err)) {\n      if (isFetchError(err)) {\n        throw new FetchError(\n          err,\n          \"Unable to call the API endpoint. Ensure that CORS is set up correctly and that you have provided a valid SDK URL to Ory Elements.\",\n        )\n      }\n      throw err\n    }\n\n    // First we handle any known errors in case we receive a JSON response.\n    const contentType = err.response.headers.get(\"content-type\") || \"\"\n    if (contentType.includes(\"application/json\")) {\n      // Handle JSON content\n      const body = await toBody(err.response)\n      if (isSelfServiceFlowExpiredError(body)) {\n        opts.onRestartFlow(body.use_flow_id)\n        return\n      } else if (isAddressNotVerified(body)) {\n        for (const continueWith of body.error.details?.continue_with || []) {\n          if (\n            continueWith.action === \"show_verification_ui\" &&\n            continueWith.flow.url\n          ) {\n            opts.onRedirect(continueWith.flow.url, true)\n            return\n          }\n        }\n\n        opts.onRedirect(verificationUrl(opts.config), true)\n        return\n      } else if (\n        isBrowserLocationChangeRequired(body) &&\n        body.redirect_browser_to\n      ) {\n        opts.onRedirect(body.redirect_browser_to, true)\n        return\n      } else if (\n        isNeedsPrivilegedSessionError(body) &&\n        body.redirect_browser_to\n      ) {\n        opts.onRedirect(body.redirect_browser_to, true)\n        return\n      } else if (isCsrfError(body)) {\n        opts.onRestartFlow()\n        return\n      }\n\n      // None of the above worked, but we have a JSON response and a status code. Let's do the best we can.\n      switch (err.response.status) {\n        case 404: // Does not exist\n          opts.onRestartFlow()\n          return\n        case 410: // Expired\n          // Re-initialize the flow\n          opts.onRestartFlow()\n          return\n        case 400:\n          return opts.onValidationError(\n            (await err.response.json()) as unknown as T,\n          )\n        case 403: // This typically happens with CSRF violations.\n          opts.onRestartFlow()\n          return\n        case 422: {\n          throw new ResponseError(\n            err.response,\n            \"The API returned an error code indicating a required redirect, but the SDK is outdated and does not know how to handle the action. Received response: \" +\n              (await err.response.json()),\n          )\n        }\n      }\n\n      throw new ResponseError(\n        err.response,\n        \"The Ory API endpoint returned a response code the SDK does not know how to handle. Please check the network tab for more information. Received response: \" +\n          (await err.response.json()),\n      )\n    } else if (\n      // Not a JSON response? If it's a text response we will return an error informing the user that the response is not JSON.\n      contentType.includes(\"text/\") ||\n      contentType.includes(\"html\") ||\n      contentType.includes(\"xml\")\n    ) {\n      // Handle human-readable content\n      await logResponseError(err.response, true)\n      throw new ResponseError(\n        err.response,\n        `The Ory API endpoint returned an unexpected HTML or text response. Check your console output for details.`,\n      )\n    }\n\n    // Not sure what the error is. So we just return some error.\n    await logResponseError(err.response, false)\n    // Handle binary/unknown content\n    throw new ResponseError(\n      err.response,\n      \"The Ory API endpoint returned unexpected content type `\" +\n        contentType +\n        \"`.  Check your console output for details.\",\n    )\n  }\n\nexport async function toBody(response: Response): Promise<unknown> {\n  try {\n    return await response.clone().json()\n  } catch (e: unknown) {\n    await logResponseError(response, true, [e])\n    throw new ResponseError(\n      response,\n      \"Unable to decode API response using JSON.\",\n    )\n  }\n}\n\nasync function logResponseError(\n  response: Response,\n  printBody: boolean,\n  wrap?: unknown[],\n) {\n  console.error(\"Unable to decode API response\", {\n    response: {\n      status: response.status,\n      headers: Object.fromEntries(response.headers.entries()),\n      body: printBody ? await response.clone().text() : undefined,\n    },\n    errors: wrap,\n  })\n}\n","// Copyright © 2024 Ory Corp\n// SPDX-License-Identifier: Apache-2.0\n\nimport {\n  ContinueWith,\n  FlowType,\n  GenericError,\n  handleContinueWith,\n  instanceOfContinueWithRecoveryUi,\n  OnRedirectHandler,\n  RecoveryFlow,\n  recoveryUrl,\n  UpdateRecoveryFlowBody,\n} from \"@ory/client-fetch\"\nimport { OryElementsConfiguration } from \"../context\"\nimport { OryFlowContainer } from \"./flowContainer\"\nimport { replaceWindowFlowId } from \"./internal\"\nimport { OnSubmitHandlerProps } from \"./submitHandler\"\nimport { handleFlowError } from \"./sdk-helpers\"\n\n/**\n * Use this method to submit a recovery flow. This method is used in the `onSubmit` handler of the recovery form.\n *\n * @param config - The configuration object.\n * @param flow - The flow object.\n * @param setFlowContainer - This method is used to update the flow container when a validation error occurs, for example.\n * @param body - The form values to submit.\n * @param onRedirect - This method is used to redirect the user to a different page.\n */\nexport async function onSubmitRecovery(\n  { flow }: OryFlowContainer,\n  config: OryElementsConfiguration,\n  {\n    setFlowContainer,\n    body,\n    onRedirect,\n  }: OnSubmitHandlerProps<UpdateRecoveryFlowBody>,\n) {\n  await config.sdk.frontend\n    .updateRecoveryFlowRaw({\n      flow: flow.id,\n      updateRecoveryFlowBody: body,\n    })\n    .then(async (res) => {\n      const flow = await res.value()\n\n      const didContinueWith = handleContinueWith(flow.continue_with, {\n        onRedirect,\n      })\n\n      // eslint-disable-next-line promise/always-return\n      if (didContinueWith) {\n        return\n      }\n\n      setFlowContainer({\n        flow,\n        flowType: FlowType.Recovery,\n      })\n    })\n    .catch(\n      handleFlowError({\n        onRestartFlow: (useFlowId) => {\n          if (useFlowId) {\n            replaceWindowFlowId(useFlowId)\n          } else {\n            onRedirect(recoveryUrl(config), true)\n          }\n        },\n        onValidationError: (body: RecoveryFlow | { error: GenericError }) => {\n          if (\"error\" in body) {\n            handleContinueWithRecoveryUIError(body.error, config, onRedirect)\n            return\n          } else {\n            setFlowContainer({\n              flow: body,\n              flowType: FlowType.Recovery,\n            })\n          }\n        },\n        onRedirect,\n        config,\n      }),\n    )\n}\n\nfunction handleContinueWithRecoveryUIError(\n  error: GenericError,\n  config: OryElementsConfiguration,\n  onRedirect: OnRedirectHandler,\n) {\n  if (\n    \"continue_with\" in error.details &&\n    Array.isArray(error.details.continue_with)\n  ) {\n    const continueWithRecovery = (\n      error.details.continue_with as ContinueWith[]\n    ).find(instanceOfContinueWithRecoveryUi)\n    if (continueWithRecovery?.action === \"show_recovery_ui\") {\n      onRedirect(\n        config.project.recovery_ui_url +\n          \"?flow=\" +\n          continueWithRecovery?.flow.id,\n        false,\n      )\n      return\n    }\n  }\n  onRedirect(recoveryUrl(config), true)\n}\n","// Copyright © 2024 Ory Corp\n// SPDX-License-Identifier: Apache-2.0\n\nimport {\n  FlowType,\n  handleContinueWith,\n  RegistrationFlow,\n  registrationUrl,\n  UpdateRegistrationFlowBody,\n} from \"@ory/client-fetch\"\nimport { OryElementsConfiguration } from \"../context\"\nimport { OryFlowContainer } from \"./flowContainer\"\nimport { replaceWindowFlowId } from \"./internal\"\nimport { OnSubmitHandlerProps } from \"./submitHandler\"\nimport { handleFlowError } from \"./sdk-helpers\"\n\n/**\n * Use this method to submit a registration flow. This method is used in the `onSubmit` handler of the registration form.\n *\n * @param config - The configuration object.\n * @param flow - The flow object.\n * @param setFlowContainer - This method is used to update the flow container when a validation error occurs, for example.\n * @param body - The form values to submit.\n * @param onRedirect - This method is used to redirect the user to a different page.\n */\nexport async function onSubmitRegistration(\n  { flow }: OryFlowContainer,\n  config: OryElementsConfiguration,\n  {\n    setFlowContainer,\n    body,\n    onRedirect,\n  }: OnSubmitHandlerProps<UpdateRegistrationFlowBody>,\n) {\n  await config.sdk.frontend\n    .updateRegistrationFlowRaw({\n      flow: flow.id,\n      updateRegistrationFlowBody: body,\n    })\n    .then(async (res) => {\n      const body = await res.value()\n\n      const didContinueWith = handleContinueWith(body.continue_with, {\n        onRedirect,\n      })\n\n      // eslint-disable-next-line promise/always-return\n      if (didContinueWith) {\n        return\n      }\n\n      // We did not receive a valid continue_with, but the state flow is still a success. In this case we re-initialize\n      // the registration flow which will redirect the user to the default url.\n      onRedirect(registrationUrl(config), true)\n    })\n    .catch(\n      handleFlowError({\n        onRestartFlow: (useFlowId) => {\n          if (useFlowId) {\n            replaceWindowFlowId(useFlowId)\n          } else {\n            onRedirect(registrationUrl(config), true)\n          }\n        },\n        onValidationError: (body: RegistrationFlow) => {\n          setFlowContainer({\n            flow: body,\n            flowType: FlowType.Registration,\n          })\n        },\n        onRedirect,\n        config,\n      }),\n    )\n}\n","// Copyright © 2024 Ory Corp\n// SPDX-License-Identifier: Apache-2.0\n\nimport {\n  FlowType,\n  handleContinueWith,\n  isResponseError,\n  loginUrl,\n  SettingsFlow,\n  settingsUrl,\n  UpdateSettingsFlowBody,\n} from \"@ory/client-fetch\"\nimport { OryElementsConfiguration } from \"../context\"\nimport { OryFlowContainer } from \"./flowContainer\"\nimport { replaceWindowFlowId } from \"./internal\"\nimport { OnSubmitHandlerProps } from \"./submitHandler\"\nimport { handleFlowError } from \"./sdk-helpers\"\n\n/**\n * Use this method to submit a settings flow. This method is used in the `onSubmit` handler of the settings form.\n *\n * @param config - The configuration object.\n * @param flow - The flow object.\n * @param setFlowContainer - This method is used to update the flow container when a validation error occurs, for example.\n * @param body - The form values to submit.\n * @param onRedirect - This method is used to redirect the user to a different page.\n */\nexport async function onSubmitSettings(\n  { flow }: OryFlowContainer,\n  config: OryElementsConfiguration,\n  {\n    setFlowContainer,\n    body,\n    onRedirect,\n  }: OnSubmitHandlerProps<UpdateSettingsFlowBody>,\n) {\n  await config.sdk.frontend\n    .updateSettingsFlowRaw({\n      flow: flow.id,\n      updateSettingsFlowBody: body,\n    })\n    .then(async (res) => {\n      const body = await res.value()\n\n      const didContinueWith = handleContinueWith(body.continue_with, {\n        onRedirect,\n      })\n\n      // eslint-disable-next-line promise/always-return\n      if (didContinueWith) {\n        return\n      }\n\n      setFlowContainer({\n        flow: body,\n        flowType: FlowType.Settings,\n      })\n    })\n    .catch(\n      handleFlowError({\n        onRestartFlow: (useFlowId) => {\n          if (useFlowId) {\n            replaceWindowFlowId(useFlowId)\n          } else {\n            onRedirect(settingsUrl(config), true)\n          }\n        },\n        onValidationError: (body: SettingsFlow) => {\n          setFlowContainer({\n            flow: body,\n            flowType: FlowType.Settings,\n          })\n        },\n        onRedirect,\n        config,\n      }),\n    )\n    .catch((err) => {\n      if (isResponseError(err)) {\n        if (err.response.status === 401) {\n          return onRedirect(\n            loginUrl(config) + \"?return_to=\" + settingsUrl(config),\n            true,\n          )\n        }\n        throw err\n      }\n    })\n}\n","// Copyright © 2024 Ory Corp\n// SPDX-License-Identifier: Apache-2.0\n\nimport {\n  FlowType,\n  UpdateVerificationFlowBody,\n  VerificationFlow,\n  verificationUrl,\n} from \"@ory/client-fetch\"\nimport { OryElementsConfiguration } from \"../context\"\nimport { OryFlowContainer } from \"./flowContainer\"\nimport { replaceWindowFlowId } from \"./internal\"\nimport { OnSubmitHandlerProps } from \"./submitHandler\"\nimport { handleFlowError } from \"./sdk-helpers\"\n\n/**\n * Use this method to submit a verification flow. This method is used in the `onSubmit` handler of the verification form.\n *\n * @param config - The configuration object.\n * @param flow - The flow object.\n * @param setFlowContainer - This method is used to update the flow container when a validation error occurs, for example.\n * @param body - The form values to submit.\n * @param onRedirect - This method is used to redirect the user to a different page.\n */\nexport async function onSubmitVerification(\n  { flow }: OryFlowContainer,\n  config: OryElementsConfiguration,\n  {\n    setFlowContainer,\n    body,\n    onRedirect,\n  }: OnSubmitHandlerProps<UpdateVerificationFlowBody>,\n) {\n  await config.sdk.frontend\n    .updateVerificationFlowRaw({\n      flow: flow.id,\n      updateVerificationFlowBody: body,\n    })\n    .then(async (res) =>\n      setFlowContainer({\n        flow: await res.value(),\n        flowType: FlowType.Verification,\n      }),\n    )\n    .catch(\n      handleFlowError({\n        onRestartFlow: (useFlowId) => {\n          if (useFlowId) {\n            replaceWindowFlowId(useFlowId)\n          } else {\n            onRedirect(verificationUrl(config), true)\n          }\n        },\n        onValidationError: (body: VerificationFlow) => {\n          setFlowContainer({\n            flow: body,\n            flowType: FlowType.Verification,\n          })\n        },\n        onRedirect,\n        config,\n      }),\n    )\n}\n","// Copyright © 2024 Ory Corp\n// SPDX-License-Identifier: Apache-2.0\n\nimport { isUiNodeInputAttributes, UiNode } from \"@ory/client-fetch\"\nimport { FormValues } from \"../../types\"\n\nexport function computeDefaultValues(nodes: UiNode[]): FormValues {\n  return nodes.reduce<FormValues>((acc, node) => {\n    const attrs = node.attributes\n\n    if (isUiNodeInputAttributes(attrs)) {\n      // TODO: Kratos should return false for the value here, and not undefined.\n      if (attrs.type === \"checkbox\" && typeof attrs.value === \"undefined\") {\n        attrs.value = false\n      }\n      // Skip the \"method\" field and \"submit\" button\n      if (\n        attrs.name === \"method\" ||\n        attrs.type === \"submit\" ||\n        typeof attrs.value === \"undefined\"\n      ) {\n        return acc\n      }\n\n      if (attrs.name.startsWith(\"grant_scope\")) {\n        const scope = attrs.value as string\n        if (Array.isArray(acc.grant_scope)) {\n          return {\n            ...acc,\n            // We want to have all scopes accepted by default, so that the user has to actively uncheck them.\n            grant_scope: [...acc.grant_scope, scope],\n          }\n        } else if (!acc.grant_scope) {\n          return {\n            ...acc,\n            grant_scope: [scope],\n          }\n        }\n        // This shouldn't happen, but just so that we don't throw an error.\n        return acc\n      }\n\n      // Unroll nested traits or assign default values\n      return unrollTrait(\n        {\n          name: attrs.name,\n          value: attrs.value,\n        },\n        acc,\n      )\n    }\n\n    return acc\n  }, {})\n}\n\nexport function unrollTrait<T extends string, V>(\n  input: { name: T; value: V },\n  output: Partial<UnrollTrait<T, V>> = {},\n): UnrollTrait<T, V> {\n  const keys = input.name.split(\".\")\n\n  // It's challenging to type this for deeply nested structures because the shape\n  // of current changes dynamically as we navigate through levels.\n  // TODO(jonas): This is not ideal. We should be able to type this properly.\n  // eslint-disable-next-line @typescript-eslint/no-explicit-any\n  let current: any = output\n  keys.forEach((key, index) => {\n    if (!key) return\n    current = current[key] =\n      index === keys.length - 1 ? input.value : current[key] || {}\n  })\n\n  return output as UnrollTrait<T, V>\n}\n\ntype UnrollTrait<T extends string, V> = T extends `${infer Head}.${infer Tail}`\n  ? { [K in Head]: UnrollTrait<Tail, V> }\n  : { [K in T]: V }\n","// Copyright © 2024 Ory Corp\n// SPDX-License-Identifier: Apache-2.0\n\nimport { UiText } from \"@ory/client-fetch\"\nimport { useComponents, useOryFlow } from \"../../context\"\nimport { PropsWithChildren } from \"react\"\n\n/**\n * Props for the OryMessageContent component.\n *\n * @interface\n */\nexport type OryMessageContentProps = {\n  /**\n   * The message to display.\n   */\n  message: UiText\n}\n\n/**\n *\n * @interface\n * @expand\n */\nexport type OryMessageRootProps = PropsWithChildren\n\n/**\n * Props for the {@link OryCardValidationMessages} component.\n *\n * @inline\n * @hidden\n */\nexport interface OryCardValidationMessagesProps {\n  /**\n   * An array of message IDs that should be hidden.\n   * This is useful for hiding specific messages that are not relevant to the user or are rendered elsewhere.\n   * If not provided, the default list of message IDs to hide will be used.\n   * @default [1040009, 1060003, 1080003, 1010004, 1010014, 1040005, 1010016, 1010003]\n   *\n   * @see https://www.ory.sh/docs/kratos/concepts/ui-messages\n   */\n  hiddenMessageIds?: number[]\n}\n\n/**\n * Renders the {@link OryFlowComponents.Message.Content} component for each message in the current flow.\n *\n * See also {@link useOryFlow}\n * @returns\n * @group Components\n */\nexport function OryCardValidationMessages({\n  hiddenMessageIds = [\n    1040009, 1060003, 1080003, 1010004, 1010014, 1040005, 1010016, 1010003,\n  ],\n}: OryCardValidationMessagesProps) {\n  const { flow } = useOryFlow()\n  const messages = flow.ui.messages?.filter(\n    (m) => !hiddenMessageIds.includes(m.id),\n  )\n  const { Message } = useComponents()\n\n  if (!messages) {\n    return null\n  }\n\n  return (\n    <Message.Root>\n      {messages?.map((message) => (\n        <Message.Content key={message.id} message={message} />\n      ))}\n    </Message.Root>\n  )\n}\n","// Copyright © 2024 Ory Corp\n// SPDX-License-Identifier: Apache-2.0\n\nimport { useComponents } from \"../../context\"\nimport { useOryFlow } from \"../../context\"\nimport {\n  getNodeId,\n  UiNode,\n  UiNodeGroupEnum,\n  UiNodeInputAttributes,\n} from \"@ory/client-fetch\"\nimport { PropsWithChildren } from \"react\"\nimport { OryForm } from \"./form\"\nimport { useFormContext } from \"react-hook-form\"\nimport { OryFormProvider } from \"./form-provider\"\n\nexport type OryFormSsoRootProps = PropsWithChildren<{\n  nodes: UiNode[]\n}>\n\n/**\n * Props for the OryNodeSsoButton component.\n */\nexport type OryNodeSsoButtonProps = {\n  node: UiNode\n  attributes: UiNodeInputAttributes\n  onClick?: () => void\n}\n\n/**\n * Renders the flow's OIDC buttons.\n *\n * @returns a React component that renders the OIDC buttons.\n * @group Components\n */\nexport function OryFormSsoButtons() {\n  const {\n    flow: { ui },\n  } = useOryFlow()\n  const { setValue } = useFormContext()\n\n  // Only get the oidc nodes.\n  const filteredNodes = ui.nodes.filter(\n    (node) =>\n      node.group === UiNodeGroupEnum.Oidc ||\n      node.group === UiNodeGroupEnum.Saml,\n  )\n\n  const { Form, Node } = useComponents()\n\n  if (filteredNodes.length === 0) {\n    return null\n  }\n\n  return (\n    <Form.SsoRoot nodes={filteredNodes}>\n      {filteredNodes.map((node) => (\n        <Node.SsoButton\n          node={node}\n          key={getNodeId(node)}\n          attributes={node.attributes as UiNodeInputAttributes}\n          onClick={() => {\n            setValue(\n              \"provider\",\n              (node.attributes as UiNodeInputAttributes).value,\n            )\n            setValue(\"method\", node.group)\n          }}\n        />\n      ))}\n    </Form.SsoRoot>\n  )\n}\n\n/**\n * The `OryFormSsoForm` component renders the Ory Form for SSO methods (OIDC and SAML).\n *\n * It needs to be its own form, as the OIDC buttons are form submits but are not related to the main form.\n *\n * @returns a React component that renders the Ory Form for SSO methods.\n * @group Components\n */\nexport function OryFormSsoForm() {\n  const {\n    flow: { ui },\n  } = useOryFlow()\n\n  // Only get the oidc nodes.\n  const filteredNodes = ui.nodes.filter(\n    (node) =>\n      node.group === UiNodeGroupEnum.Saml ||\n      node.group === UiNodeGroupEnum.Oidc,\n  )\n\n  if (filteredNodes.length === 0) {\n    return null\n  }\n\n  return (\n    <OryFormProvider>\n      <OryForm data-testid={`ory/form/methods/oidc-saml`}>\n        <OryFormSsoButtons />\n      </OryForm>\n    </OryFormProvider>\n  )\n}\n","// Copyright © 2024 Ory Corp\n// SPDX-License-Identifier: Apache-2.0\n\nimport { UiNode, UiNodeGroupEnum } from \"@ory/client-fetch\"\nimport { PropsWithChildren } from \"react\"\nimport { FormProvider, useForm } from \"react-hook-form\"\nimport { useOryFlow } from \"../../context\"\nimport { computeDefaultValues } from \"./form-helpers\"\nimport { useOryFormResolver } from \"./form-resolver\"\n\nexport function OryFormProvider({\n  children,\n  nodes,\n}: PropsWithChildren & { nodes?: UiNode[] }) {\n  const flowContainer = useOryFlow()\n  const defaultNodes = nodes\n    ? flowContainer.flow.ui.nodes\n        .filter((node) => node.group === UiNodeGroupEnum.Default)\n        .concat(nodes)\n    : flowContainer.flow.ui.nodes\n\n  const methods = useForm({\n    // TODO: Generify this, so we have typesafety in the submit handler.\n    defaultValues: computeDefaultValues(defaultNodes),\n    resolver: useOryFormResolver(),\n  })\n\n  return <FormProvider {...methods}>{children}</FormProvider>\n}\n","// Copyright © 2024 Ory Corp\n// SPDX-License-Identifier: Apache-2.0\n\nimport { useOryFlow } from \"../../context\"\nimport { FormValues } from \"../../types\"\nimport { isUiNodeInputAttributes } from \"@ory/client-fetch\"\n\nfunction isCodeResendRequest(data: FormValues) {\n  // There are two types of resend - one\n  return data.email ?? data.resend\n}\n\n/**\n * Creates a resolver for the Ory form\n *\n * The resolver does form validation for missing fields in the form.\n *\n * @returns a react-hook-form resolver for the Ory form\n */\nexport function useOryFormResolver() {\n  const flowContainer = useOryFlow()\n\n  return (data: FormValues) => {\n    if (flowContainer.formState.current === \"method_active\") {\n      // This is a workaround which prevents the flow from being submitted without a code,\n      // which in some cases can cause issues in Ory Kratos' resend detection.\n      if (\n        // When we submit a code\n        data.method === \"code\" &&\n        // And the code is not present\n        !data.code &&\n        // And the flow is not a code resend request\n        !isCodeResendRequest(data) &&\n        // And the flow has a code input node\n        flowContainer.flow.ui.nodes.find(({ attributes, group }) => {\n          if (!isUiNodeInputAttributes(attributes)) {\n            return false\n          }\n\n          return (\n            group === \"code\" &&\n            attributes.name === \"code\" &&\n            attributes.type !== \"hidden\"\n          )\n        })\n      ) {\n        return {\n          values: data,\n          errors: {\n            // We know the code node exists, so we can safely hardcode the ID.\n            code: {\n              id: 4000002,\n              context: {\n                property: \"code\",\n              },\n              type: \"error\",\n              text: \"Property code is missing\",\n            },\n          },\n        }\n      }\n    }\n    return {\n      values: data,\n      errors: {},\n    }\n  }\n}\n","// Copyright © 2024 Ory Corp\n// SPDX-License-Identifier: Apache-2.0\n\nimport { UiNode } from \"@ory/client-fetch\"\nimport {\n  ComponentPropsWithoutRef,\n  FormEventHandler,\n  PropsWithChildren,\n} from \"react\"\nimport { useFormContext } from \"react-hook-form\"\nimport { useComponents } from \"../../context/component\"\nimport { OryFormProvider } from \"./form-provider\"\nimport { useOryFormSubmit } from \"./useOryFormSubmit\"\nimport { useOryFlow } from \"../../context\"\n\n/**\n * Props for the OrySettingsFormSection component.\n * This type extends the form element props but omits the `action`, `method`, and `onSubmit` properties.\n */\nexport type OrySettingsFormProps = Omit<\n  ComponentPropsWithoutRef<\"form\">,\n  \"action\" | \"method\" | \"onSubmit\"\n>\n\n/**\n * Props for the OrySettingsFormSection component.\n *\n * @inline\n * @hidden\n */\nexport interface OryFormSectionProps\n  extends PropsWithChildren,\n    OrySettingsFormProps {\n  nodes?: UiNode[]\n}\n\nexport interface OryCardSettingsSectionProps extends PropsWithChildren {\n  action: string\n  method: string\n  onSubmit: FormEventHandler<HTMLFormElement>\n}\n\n/**\n * OrySettingsFormSection is a component that provides a form section for Ory settings.\n *\n * Can be used independently to render a form section with Ory nodes.\n *\n * @param props - The properties for the OrySettingsFormSection component.\n * @returns\n * @group Components\n */\nexport function OrySettingsFormSection({\n  children,\n  nodes,\n  ...rest\n}: OryFormSectionProps) {\n  return (\n    <OryFormProvider nodes={nodes}>\n      <OrySettingsFormSectionInner {...rest}>\n        {children}\n      </OrySettingsFormSectionInner>\n    </OryFormProvider>\n  )\n}\n\nfunction OrySettingsFormSectionInner({\n  children,\n  ...rest\n}: PropsWithChildren<OrySettingsFormProps>) {\n  const { Card } = useComponents()\n  const flowContainer = useOryFlow()\n  const onSubmit = useOryFormSubmit()\n  const methods = useFormContext()\n\n  return (\n    <Card.SettingsSection\n      action={flowContainer.flow.ui.action}\n      method={flowContainer.flow.ui.method}\n      onSubmit={(e) => void methods.handleSubmit(onSubmit)(e)}\n      {...rest}\n    >\n      {children}\n    </Card.SettingsSection>\n  )\n}\n","// Copyright © 2024 Ory Corp\n// SPDX-License-Identifier: Apache-2.0\n\nimport { useComponents } from \"../../context\"\nimport { useOryFlow } from \"../../context\"\nimport { UiNodeGroupEnum } from \"@ory/client-fetch\"\n\n/**\n * Props type for the Form Group Divider component.\n */\nexport type OryCardDividerProps = Record<string, never>\n\n/**\n * Renders the {@link OryFlowComponents.Card.Divider} between the groups of nodes in the Ory Form.\n *\n * You can use this component to build fully custom implementations of the Ory Flows.\n *\n * However, you most likely want to override the individual components instead.\n *\n * @returns\n * @group Components\n */\nexport function OryFormGroupDivider() {\n  const { Card } = useComponents()\n  const {\n    flow: { ui },\n  } = useOryFlow()\n\n  // Only get the oidc nodes.\n  const filteredNodes = ui.nodes.filter(\n    (node) =>\n      node.group === UiNodeGroupEnum.Oidc ||\n      node.group === UiNodeGroupEnum.Saml,\n  )\n\n  // Are there other first-factor nodes available?\n  const otherNodes = ui.nodes.filter(\n    (node) =>\n      !(\n        node.group === UiNodeGroupEnum.Oidc ||\n        node.group === UiNodeGroupEnum.Saml\n      ) && node.group !== \"default\",\n  )\n\n  if (filteredNodes.length > 0 && otherNodes.length > 0) {\n    return <Card.Divider />\n  }\n\n  return null\n}\n","// Copyright © 2024 Ory Corp\n// SPDX-License-Identifier: Apache-2.0\n\nimport { useComponents } from \"../../context\"\n\nexport type OryPageHeaderProps = Record<never, never>\n\n/**\n * The OryPageHeader component renders the header of the page.\n *\n * Customize the header by providing a custom {@link OryFlowComponents.Page.Header} component in the `components` prop of the {@link OryProvider}.\n *\n * @returns a React component that renders the page header.\n * @group Components\n */\nexport const OryPageHeader = () => {\n  const { Page } = useComponents()\n\n  return <Page.Header />\n}\n","// Copyright © 2024 Ory Corp\n// SPDX-License-Identifier: Apache-2.0\n\nimport {\n  getNodeId,\n  isUiNodeScriptAttributes,\n  UiNode,\n  UiNodeGroupEnum,\n} from \"@ory/client-fetch\"\nimport { useEffect } from \"react\"\nimport { useIntl } from \"react-intl\"\nimport { Toaster } from \"sonner\"\nimport { useComponents, useOryFlow } from \"../../context\"\nimport { showToast } from \"../../util/showToast\"\nimport { useNodesGroups } from \"../../util/ui\"\nimport { Node } from \"../form/nodes/node\"\nimport { OrySettingsFormSection } from \"../form/settings-section\"\nimport { OrySettingsOidc } from \"./oidc-settings\"\nimport { OrySettingsPasskey } from \"./passkey-settings\"\nimport { OrySettingsRecoveryCodes } from \"./recovery-codes-settings\"\nimport { OrySettingsTotp } from \"./totp-settings\"\nimport { OrySettingsWebauthn } from \"./webauthn-settings\"\n\ntype SettingsSectionProps = {\n  group: UiNodeGroupEnum\n  nodes: UiNode[]\n}\n\nfunction SettingsSectionContent({ group, nodes }: SettingsSectionProps) {\n  const { Card } = useComponents()\n  const intl = useIntl()\n  const { flow } = useOryFlow()\n  const groupedNodes = useNodesGroups(flow.ui.nodes, {\n    // Script nodes are already handled by the parent component.\n    omit: [\"script\"],\n  })\n\n  if (group === UiNodeGroupEnum.Totp) {\n    return (\n      <OrySettingsFormSection\n        nodes={groupedNodes.groups.totp}\n        data-testid=\"ory/screen/settings/group/totp\"\n      >\n        <OrySettingsTotp nodes={groupedNodes.groups.totp ?? []} />\n        {groupedNodes.groups.default?.map((node) => (\n          <Node key={getNodeId(node)} node={node} />\n        ))}\n      </OrySettingsFormSection>\n    )\n  }\n\n  if (group === UiNodeGroupEnum.LookupSecret) {\n    return (\n      <OrySettingsFormSection\n        nodes={groupedNodes.groups.lookup_secret}\n        data-testid=\"ory/screen/settings/group/lookup_secret\"\n      >\n        <OrySettingsRecoveryCodes\n          nodes={groupedNodes.groups.lookup_secret ?? []}\n        />\n        {groupedNodes.groups.default?.map((node) => (\n          <Node key={getNodeId(node)} node={node} />\n        ))}\n      </OrySettingsFormSection>\n    )\n  }\n\n  if (group === UiNodeGroupEnum.Oidc) {\n    return (\n      <OrySettingsFormSection\n        nodes={groupedNodes.groups.oidc}\n        data-testid=\"ory/screen/settings/group/oidc\"\n      >\n        <OrySettingsOidc nodes={groupedNodes.groups.oidc ?? []} />\n        {groupedNodes.groups.default?.map((node) => (\n          <Node key={getNodeId(node)} node={node} />\n        ))}\n      </OrySettingsFormSection>\n    )\n  }\n\n  if (group === UiNodeGroupEnum.Webauthn) {\n    return (\n      <OrySettingsFormSection\n        nodes={groupedNodes.groups.webauthn}\n        data-testid=\"ory/screen/settings/group/webauthn\"\n      >\n        <OrySettingsWebauthn nodes={groupedNodes.groups.webauthn ?? []} />\n        {groupedNodes.groups.default?.map((node) => (\n          <Node key={getNodeId(node)} node={node} />\n        ))}\n      </OrySettingsFormSection>\n    )\n  }\n\n  if (group === UiNodeGroupEnum.Passkey) {\n    return (\n      <OrySettingsFormSection\n        nodes={groupedNodes.groups.passkey}\n        data-testid=\"ory/screen/settings/group/passkey\"\n      >\n        <OrySettingsPasskey nodes={groupedNodes.groups.passkey ?? []} />\n        {groupedNodes.groups.default?.map((node) => (\n          <Node key={getNodeId(node)} node={node} />\n        ))}\n      </OrySettingsFormSection>\n    )\n  }\n\n  return (\n    <OrySettingsFormSection\n      nodes={nodes}\n      data-testid={`ory/screen/settings/group/${group}`}\n    >\n      <Card.SettingsSectionContent\n        title={intl.formatMessage({\n          id: `settings.${group}.title`,\n        })}\n        description={intl.formatMessage({\n          id: `settings.${group}.description`,\n        })}\n      >\n        {groupedNodes.groups.default?.map((node) => (\n          <Node key={getNodeId(node)} node={node} />\n        ))}\n        {nodes\n          .filter(\n            (node) =>\n              \"type\" in node.attributes && node.attributes.type !== \"submit\",\n          )\n          .map((node) => (\n            <Node key={getNodeId(node)} node={node} />\n          ))}\n      </Card.SettingsSectionContent>\n      <Card.SettingsSectionFooter>\n        {nodes\n          .filter(\n            (node) =>\n              \"type\" in node.attributes && node.attributes.type === \"submit\",\n          )\n          .map((node) => (\n            <Node key={getNodeId(node)} node={node} />\n          ))}\n      </Card.SettingsSectionFooter>\n    </OrySettingsFormSection>\n  )\n}\n\nconst onlyScriptNodes = (nodes: UiNode[]): UiNode[] =>\n  nodes.filter(\n    (node) =>\n      isUiNodeScriptAttributes(node.attributes) &&\n      node.attributes.id === \"webauthn_script\",\n  )\n\n/**\n * Renders the Ory Settings Card component.\n *\n * This component is used to display the settings flow for the user.\n * It utilizes the `useOryFlow` hook to access the current flow and renders the nodes with components\n * provided by the Ory Elements context.\n *\n * @returns The Ory Settings Card component that renders the settings flow.\n * @group Components\n */\nexport function OrySettingsCard() {\n  const { flow } = useOryFlow()\n\n  // Script nodes render individually so we don't render blocks for them.\n  const uniqueGroups = useNodesGroups(flow.ui.nodes, { omit: [\"script\"] })\n  const scriptNodes = onlyScriptNodes(flow.ui.nodes)\n\n  return (\n    <>\n      {scriptNodes.map((n) => (\n        <Node node={n} key={getNodeId(n)} />\n      ))}\n      {uniqueGroups.entries.map(([group, nodes]) => {\n        if (group === UiNodeGroupEnum.Default) {\n          return null\n        }\n\n        return (\n          <SettingsSectionContent key={group} group={group} nodes={nodes} />\n        )\n      })}\n      <SettingsMessageToaster />\n    </>\n  )\n}\n\nfunction SettingsMessageToaster() {\n  const { flow } = useOryFlow()\n  const { Message } = useComponents()\n\n  useEffect(() => {\n    if (!flow.ui.messages) {\n      return\n    }\n    flow.ui.messages.forEach((message) => {\n      showToast(\n        {\n          message,\n        },\n        Message.Toast,\n      )\n    })\n  }, [flow.ui.messages, Message.Toast])\n\n  return <Toaster />\n}\n","// Copyright © 2025 Ory Corp\n// SPDX-License-Identifier: Apache-2.0\n\nimport { toast as sonnerToast } from \"sonner\"\nimport { OryToastProps } from \"../components\"\n\nexport function showToast(\n  toast: Omit<OryToastProps, \"id\">,\n  ToastComponent: React.ComponentType<OryToastProps>,\n) {\n  return sonnerToast.custom((id) => (\n    <ToastComponent id={id} message={toast.message} />\n  ))\n}\n","// Copyright © 2024 Ory Corp\n// SPDX-License-Identifier: Apache-2.0\n\nimport { NodeProps } from \"./node\"\nimport { useComponents } from \"../../../context\"\nimport { triggerToWindowCall } from \"../../../util/ui\"\nimport {\n  UiNodeGroupEnum,\n  UiNodeInputAttributes,\n  UiNodeInputAttributesTypeEnum,\n} from \"@ory/client-fetch\"\nimport { MouseEventHandler, ReactNode, useEffect, useRef } from \"react\"\nimport { useFormContext } from \"react-hook-form\"\n\nexport const NodeInput = ({\n  node,\n  attributes,\n}: NodeProps & {\n  attributes: UiNodeInputAttributes\n  onClick?: MouseEventHandler\n}): ReactNode => {\n  const { Node } = useComponents()\n  const { setValue, watch } = useFormContext()\n\n  const {\n    onloadTrigger: onloadTrigger,\n    onclickTrigger,\n    // These properties do not exist on input fields so we remove them (as we already have handled them).\n    onclick: _ignoredOnclick,\n    onload: _ignoredOnload,\n    //\n    ...attrs\n  } = attributes\n  const isResendNode = node.meta.label?.id === 1070008\n  const isScreenSelectionNode =\n    \"name\" in node.attributes && node.attributes.name === \"screen\"\n\n  const setFormValue = () => {\n    if (\n      attrs.value &&\n      !(\n        isResendNode ||\n        isScreenSelectionNode ||\n        node.group === UiNodeGroupEnum.Oauth2Consent\n      )\n    ) {\n      setValue(attrs.name, attrs.value)\n    }\n  }\n\n  const hasRun = useRef(false)\n  useEffect(\n    () => {\n      setFormValue()\n      if (!hasRun.current && onloadTrigger) {\n        hasRun.current = true\n        triggerToWindowCall(onloadTrigger)\n      }\n    },\n    // TODO(jonas): make sure onloadTrigger is stable\n    // eslint-disable-next-line react-hooks/exhaustive-deps -- ignore onloadTrigger for now, until we make sure this is stable\n    [],\n  )\n\n  const handleClick: MouseEventHandler = () => {\n    setFormValue()\n    if (onclickTrigger) {\n      triggerToWindowCall(onclickTrigger)\n    }\n  }\n\n  const isSocial =\n    (attrs.name === \"provider\" || attrs.name === \"link\") &&\n    (node.group === UiNodeGroupEnum.Oidc || node.group === UiNodeGroupEnum.Saml)\n  const isPinCodeInput =\n    (attrs.name === \"code\" && node.group === \"code\") ||\n    (attrs.name === \"totp_code\" && node.group === \"totp\")\n\n  const handleScopeChange = (checked: boolean) => {\n    const scopes = watch(\"grant_scope\")\n    if (Array.isArray(scopes)) {\n      if (checked) {\n        setValue(\"grant_scope\", Array.from(new Set([...scopes, attrs.value])))\n      } else {\n        setValue(\n          \"grant_scope\",\n          scopes.filter((scope: string) => scope !== attrs.value),\n        )\n      }\n    }\n  }\n\n  switch (attributes.type) {\n    case UiNodeInputAttributesTypeEnum.Submit:\n    case UiNodeInputAttributesTypeEnum.Button:\n      if (isSocial) {\n        return (\n          <Node.SsoButton\n            node={node}\n            attributes={attrs}\n            onClick={() => {\n              setValue(\n                \"provider\",\n                (node.attributes as UiNodeInputAttributes).value,\n              )\n              setValue(\"method\", node.group)\n            }}\n          />\n        )\n      }\n      if (isResendNode || isScreenSelectionNode) {\n        return null\n      }\n      if (node.group === \"oauth2_consent\") {\n        return null\n      }\n\n      return (\n        <Node.Label\n          // The label is rendered in the button component\n          attributes={{ ...attrs, label: undefined }}\n          node={{ ...node, meta: { ...node.meta, label: undefined } }}\n        >\n          <Node.Button attributes={attrs} node={node} onClick={handleClick} />\n        </Node.Label>\n      )\n    case UiNodeInputAttributesTypeEnum.DatetimeLocal:\n      throw new Error(\"Not implemented\")\n    case UiNodeInputAttributesTypeEnum.Checkbox:\n      if (\n        node.group === \"oauth2_consent\" &&\n        node.attributes.node_type === \"input\"\n      ) {\n        switch (node.attributes.name) {\n          case \"grant_scope\":\n            return (\n              <Node.ConsentScopeCheckbox\n                attributes={attrs}\n                node={node}\n                onCheckedChange={handleScopeChange}\n              />\n            )\n          default:\n            return null\n        }\n      }\n      return (\n        <Node.Label\n          // The label is rendered in the checkbox component\n          attributes={{ ...attrs, label: undefined }}\n          node={{ ...node, meta: { ...node.meta, label: undefined } }}\n        >\n          <Node.Checkbox attributes={attrs} node={node} onClick={handleClick} />\n        </Node.Label>\n      )\n    case UiNodeInputAttributesTypeEnum.Hidden:\n      return <Node.Input attributes={attrs} node={node} onClick={handleClick} />\n    default:\n      if (isPinCodeInput) {\n        return (\n          <Node.Label attributes={attrs} node={node}>\n            <Node.CodeInput\n              attributes={attrs}\n              node={node}\n              onClick={handleClick}\n            />\n          </Node.Label>\n        )\n      }\n\n      return (\n        <Node.Label attributes={attrs} node={node}>\n          <Node.Input attributes={attrs} node={node} onClick={handleClick} />\n        </Node.Label>\n      )\n  }\n}\n","// Copyright © 2024 Ory Corp\n// SPDX-License-Identifier: Apache-2.0\n\nimport { NodeInput } from \"./input\"\nimport {\n  UiNode,\n  isUiNodeAnchorAttributes,\n  isUiNodeImageAttributes,\n  isUiNodeInputAttributes,\n  isUiNodeScriptAttributes,\n  isUiNodeTextAttributes,\n  UiNodeGroupEnum,\n} from \"@ory/client-fetch\"\nimport { MouseEventHandler, ReactNode } from \"react\"\nimport { useComponents } from \"../../../context\"\n\nexport type NodeProps = {\n  node: UiNode\n  className?: string\n  onClick?: MouseEventHandler\n}\n\nexport const Node = ({ node, onClick }: NodeProps): ReactNode => {\n  const { Node } = useComponents()\n\n  // Special case for CAPTCHA handling as we need to render a different component\n  if (node.group === UiNodeGroupEnum.Captcha) {\n    return <Node.Captcha node={node} />\n  }\n\n  if (isUiNodeImageAttributes(node.attributes)) {\n    return <Node.Image node={node} attributes={node.attributes} />\n  } else if (isUiNodeTextAttributes(node.attributes)) {\n    const attrs = node.attributes\n    return <Node.Text attributes={attrs} node={node} />\n  } else if (isUiNodeInputAttributes(node.attributes)) {\n    return (\n      <NodeInput node={node} attributes={node.attributes} onClick={onClick} />\n    )\n  } else if (isUiNodeAnchorAttributes(node.attributes)) {\n    return <Node.Anchor attributes={node.attributes} node={node} />\n  } else if (isUiNodeScriptAttributes(node.attributes)) {\n    const {\n      crossorigin,\n      referrerpolicy,\n      node_type: _nodeType,\n      ...attributes\n    } = node.attributes\n\n    return (\n      <script\n        crossOrigin={\n          crossorigin as \"anonymous\" | \"use-credentials\" | \"\" | undefined\n        }\n        referrerPolicy={referrerpolicy as React.HTMLAttributeReferrerPolicy}\n        {...attributes}\n      />\n    )\n  }\n  return null\n}\n","// Copyright © 2024 Ory Corp\n// SPDX-License-Identifier: Apache-2.0\n\nimport { UiNode } from \"@ory/client-fetch\"\nimport { useComponents } from \"../../context\"\nimport { useIntl } from \"react-intl\"\nimport { useFormContext } from \"react-hook-form\"\n\nconst getLinkButtons = (nodes: UiNode[]): UiNode[] =>\n  nodes.filter(\n    (node) => \"name\" in node.attributes && node.attributes.name === \"link\",\n  )\n\nconst getUnlinkButtons = (nodes: UiNode[]): UiNode[] =>\n  nodes.filter(\n    (node) => \"name\" in node.attributes && node.attributes.name === \"unlink\",\n  )\n\nexport interface HeadlessSettingsOidcProps {\n  nodes: UiNode[]\n}\n\nexport function OrySettingsOidc({ nodes }: HeadlessSettingsOidcProps) {\n  const { Card, Form } = useComponents()\n  const intl = useIntl()\n  const { setValue } = useFormContext()\n\n  const linkButtons = getLinkButtons(nodes).map((node) => ({\n    ...node,\n    onClick: () => {\n      if (node.attributes.node_type === \"input\") {\n        setValue(\"link\", node.attributes.value)\n        setValue(\"method\", node.group)\n      }\n    },\n  }))\n  const unlinkButtons = getUnlinkButtons(nodes).map((node) => ({\n    ...node,\n    onClick: () => {\n      if (node.attributes.node_type === \"input\") {\n        setValue(\"unlink\", node.attributes.value)\n        setValue(\"method\", node.group)\n      }\n    },\n  }))\n\n  return (\n    <>\n      <Card.SettingsSectionContent\n        title={intl.formatMessage({ id: \"settings.oidc.title\" })}\n        description={intl.formatMessage({ id: \"settings.oidc.description\" })}\n      >\n        <Form.SsoSettings\n          linkButtons={linkButtons}\n          unlinkButtons={unlinkButtons}\n        />\n      </Card.SettingsSectionContent>\n      <Card.SettingsSectionFooter\n        text={intl.formatMessage({ id: \"settings.oidc.info\" })}\n      ></Card.SettingsSectionFooter>\n    </>\n  )\n}\n","// Copyright © 2024 Ory Corp\n// SPDX-License-Identifier: Apache-2.0\n\nimport {\n  UiNode,\n  UiNodeAttributes,\n  UiNodeInputAttributes,\n} from \"@ory/client-fetch\"\nimport { useFormContext } from \"react-hook-form\"\nimport { useIntl } from \"react-intl\"\nimport { useComponents } from \"../../context\"\nimport { triggerToWindowCall } from \"../../util/ui\"\nimport { Node } from \"../form/nodes/node\"\n\nconst getTriggerNode = (nodes: UiNode[]): UiNode | undefined =>\n  nodes.find(\n    (node) =>\n      \"name\" in node.attributes &&\n      node.attributes.name === \"passkey_register_trigger\",\n  )\n\nconst getSettingsNodes = (nodes: UiNode[]): UiNode[] =>\n  nodes.filter(\n    (node) =>\n      \"name\" in node.attributes &&\n      (node.attributes.name === \"passkey_settings_register\" ||\n        node.attributes.name === \"passkey_create_data\"),\n  )\n\nconst getRemoveNodes = (nodes: UiNode[]): UiNode[] =>\n  nodes.filter(\n    (node) =>\n      \"name\" in node.attributes && node.attributes.name === \"passkey_remove\",\n  )\n\ninterface HeadlessSettingsPasskeyProps {\n  nodes: UiNode[]\n}\n\nexport function OrySettingsPasskey({ nodes }: HeadlessSettingsPasskeyProps) {\n  const { Card, Form } = useComponents()\n  const intl = useIntl()\n  const { setValue } = useFormContext()\n\n  const triggerButton = getTriggerNode(nodes)\n  const settingsNodes = getSettingsNodes(nodes)\n  const removeNodes = getRemoveNodes(nodes)\n\n  if (!triggerButton) {\n    return null\n  }\n\n  const {\n    onclick: _onClick,\n    onclickTrigger,\n    ...triggerAttributes\n  } = triggerButton.attributes as UiNodeInputAttributes\n\n  const onTriggerClick = () => {\n    triggerToWindowCall(onclickTrigger)\n  }\n\n  const removePasskeyHandler = (value: string) => {\n    return () => {\n      setValue(\"passkey_remove\", value)\n      setValue(\"method\", \"passkey\")\n    }\n  }\n\n  return (\n    <>\n      <Card.SettingsSectionContent\n        title={intl.formatMessage({ id: \"settings.passkey.title\" })}\n        description={intl.formatMessage({\n          id: \"settings.passkey.description\",\n        })}\n      >\n        {settingsNodes.map((node, i) => (\n          <Node key={`passkey-settings-nodes-${i}`} node={node} />\n        ))}\n        <Form.PasskeySettings\n          triggerButton={{\n            ...triggerButton,\n            attributes: triggerAttributes as UiNodeAttributes,\n            onClick: onTriggerClick,\n          }}\n          removeButtons={removeNodes.map((node) => ({\n            ...node,\n            onClick:\n              node.attributes.node_type === \"input\"\n                ? removePasskeyHandler(node.attributes.value as string)\n                : () => {},\n          }))}\n        />\n      </Card.SettingsSectionContent>\n      <Card.SettingsSectionFooter\n        text={intl.formatMessage({ id: \"settings.passkey.info\" })}\n      ></Card.SettingsSectionFooter>\n    </>\n  )\n}\n","// Copyright © 2024 Ory Corp\n// SPDX-License-Identifier: Apache-2.0\n\nimport {\n  UiNode,\n  UiNodeInputAttributes,\n  UiNodeTextAttributes,\n} from \"@ory/client-fetch\"\nimport { useIntl } from \"react-intl\"\nimport { useComponents } from \"../../context\"\nimport { useFormContext } from \"react-hook-form\"\n\nconst getRegenerateNode = (nodes: UiNode[]): UiNode | undefined =>\n  nodes.find(\n    (node) =>\n      \"name\" in node.attributes &&\n      node.attributes.name === \"lookup_secret_regenerate\",\n  )\n\nconst getRevealNode = (nodes: UiNode[]): UiNode | undefined =>\n  nodes.find(\n    (node) =>\n      \"name\" in node.attributes &&\n      node.attributes.name === \"lookup_secret_reveal\",\n  )\n\nconst getRecoveryCodes = (nodes: UiNode[]): UiNode | undefined =>\n  nodes.find(\n    (node) =>\n      \"id\" in node.attributes && node.attributes.id === \"lookup_secret_codes\",\n  )\n\nconst getDisableNode = (nodes: UiNode[]): UiNode | undefined =>\n  nodes.find(\n    (node) =>\n      \"name\" in node.attributes &&\n      node.attributes.name === \"lookup_secret_disable\",\n  )\n\nconst getConfirmNode = (nodes: UiNode[]): UiNode | undefined =>\n  nodes.find(\n    (node) =>\n      \"name\" in node.attributes &&\n      node.attributes.name === \"lookup_secret_confirm\",\n  )\n\ninterface HeadlessSettingsRecoveryCodesProps {\n  nodes: UiNode[]\n}\n\nexport function OrySettingsRecoveryCodes({\n  nodes,\n}: HeadlessSettingsRecoveryCodesProps) {\n  const { Card, Form, Node } = useComponents()\n  const intl = useIntl()\n\n  const codesNode = getRecoveryCodes(nodes)\n  const revealNode = getRevealNode(nodes)\n  const regenerateNode = getRegenerateNode(nodes)\n  const disableNode = getDisableNode(nodes)\n  const confirmNode = getConfirmNode(nodes)\n  const { setValue } = useFormContext()\n\n  const codesContext =\n    ((codesNode?.attributes as UiNodeTextAttributes)?.text.context as {\n      secrets?: { text: string }[]\n    }) ?? {}\n  const secrets = codesContext.secrets\n    ? codesContext.secrets.map((i) => i.text)\n    : []\n\n  const onRegenerate = () => {\n    if (regenerateNode?.attributes.node_type === \"input\") {\n      setValue(regenerateNode?.attributes.name, \"true\")\n      setValue(\"method\", \"lookup_secret\")\n    }\n  }\n\n  const onReveal = () => {\n    if (revealNode?.attributes.node_type === \"input\") {\n      setValue(revealNode?.attributes.name, \"true\")\n      setValue(\"method\", \"lookup_secret\")\n    }\n  }\n\n  const footerNode = disableNode ?? regenerateNode ?? confirmNode\n\n  return (\n    <>\n      <Card.SettingsSectionContent\n        title={intl.formatMessage({ id: \"settings.lookup_secret.title\" })}\n        description={intl.formatMessage({\n          id: \"settings.lookup_secret.description\",\n        })}\n      >\n        <Form.RecoveryCodesSettings\n          codes={secrets}\n          revealButton={revealNode}\n          regnerateButton={regenerateNode}\n          onRegenerate={onRegenerate}\n          onReveal={onReveal}\n        />\n      </Card.SettingsSectionContent>\n      <Card.SettingsSectionFooter>\n        {footerNode && (\n          <Node.Button\n            node={footerNode}\n            attributes={footerNode.attributes as UiNodeInputAttributes}\n          />\n        )}\n      </Card.SettingsSectionFooter>\n    </>\n  )\n}\n","// Copyright © 2024 Ory Corp\n// SPDX-License-Identifier: Apache-2.0\n\nimport { UiNode, UiNodeInputAttributes } from \"@ory/client-fetch\"\nimport { useFormContext } from \"react-hook-form\"\nimport { useIntl } from \"react-intl\"\nimport { useComponents } from \"../../context\"\n\nconst getQrCodeNode = (nodes: UiNode[]): UiNode | undefined =>\n  nodes.find(\n    (node) => \"id\" in node.attributes && node.attributes.id === \"totp_qr\",\n  )\n\nconst getTotpSecretNode = (nodes: UiNode[]): UiNode | undefined =>\n  nodes.find(\n    (node) =>\n      \"id\" in node.attributes && node.attributes.id === \"totp_secret_key\",\n  )\n\nconst getTotpInputNode = (nodes: UiNode[]): UiNode | undefined =>\n  nodes.find(\n    (node) => \"name\" in node.attributes && node.attributes.name === \"totp_code\",\n  )\n\nconst getTotpUnlinkInput = (nodes: UiNode[]): UiNode | undefined =>\n  nodes.find(\n    (node) =>\n      \"name\" in node.attributes && node.attributes.name === \"totp_unlink\",\n  )\n\nconst getTotpLinkButton = (nodes: UiNode[]): UiNode | undefined =>\n  nodes.find(\n    (node) => \"name\" in node.attributes && node.attributes.name === \"method\",\n  )\n\ninterface HeadlessSettingsTotpProps {\n  nodes: UiNode[]\n}\n\nexport function OrySettingsTotp({ nodes }: HeadlessSettingsTotpProps) {\n  const { Card, Form, Node } = useComponents()\n  const intl = useIntl()\n  const { setValue } = useFormContext()\n\n  const totpUnlink = getTotpUnlinkInput(nodes)\n  const qrNode = getQrCodeNode(nodes)\n  const secretNode = getTotpSecretNode(nodes)\n  const totpCodeNode = getTotpInputNode(nodes)\n  const totpLinkButton = getTotpLinkButton(nodes)\n\n  const handleUnlink = () => {\n    if (totpUnlink?.attributes.node_type === \"input\") {\n      setValue(totpUnlink.attributes.name, totpUnlink.attributes.value)\n      setValue(\"method\", \"totp\")\n    }\n  }\n\n  return (\n    <>\n      <Card.SettingsSectionContent\n        title={intl.formatMessage({ id: \"settings.totp.title\" })}\n        description={intl.formatMessage({ id: \"settings.totp.description\" })}\n      >\n        <Form.TotpSettings\n          totpImage={qrNode}\n          totpSecret={secretNode}\n          totpInput={totpCodeNode}\n          totpUnlink={totpUnlink}\n          onUnlink={handleUnlink}\n        />\n      </Card.SettingsSectionContent>\n      <Card.SettingsSectionFooter\n        text={\n          totpUnlink\n            ? intl.formatMessage({ id: \"settings.totp.info.linked\" })\n            : intl.formatMessage({ id: \"settings.totp.info.not-linked\" })\n        }\n      >\n        {totpLinkButton && (\n          <Node.Button\n            node={totpLinkButton}\n            attributes={totpLinkButton.attributes as UiNodeInputAttributes}\n          />\n        )}\n      </Card.SettingsSectionFooter>\n    </>\n  )\n}\n","// Copyright © 2024 Ory Corp\n// SPDX-License-Identifier: Apache-2.0\n\nimport {\n  UiNode,\n  UiNodeAttributes,\n  UiNodeInputAttributes,\n} from \"@ory/client-fetch\"\nimport { useFormContext } from \"react-hook-form\"\nimport { useIntl } from \"react-intl\"\nimport { useComponents } from \"../../context\"\nimport { triggerToWindowCall } from \"../../util/ui\"\nimport { Node } from \"../form/nodes/node\"\n\nconst getInputNode = (nodes: UiNode[]): UiNode | undefined =>\n  nodes.find(\n    (node) =>\n      \"name\" in node.attributes &&\n      node.attributes.name === \"webauthn_register_displayname\",\n  )\n\nconst getTriggerNode = (nodes: UiNode[]): UiNode | undefined =>\n  nodes.find(\n    (node) =>\n      \"name\" in node.attributes &&\n      node.attributes.name === \"webauthn_register_trigger\",\n  )\n\nconst getRemoveButtons = (nodes: UiNode[]): UiNode[] =>\n  nodes.filter(\n    (node) =>\n      \"name\" in node.attributes && node.attributes.name === \"webauthn_remove\",\n  )\n\nconst getRegisterNode = (nodes: UiNode[]): UiNode | undefined =>\n  nodes.find(\n    (node) =>\n      \"name\" in node.attributes && node.attributes.name === \"webauthn_register\",\n  )\n\ninterface HeadlessSettingsWebauthnProps {\n  nodes: UiNode[]\n}\n\nexport function OrySettingsWebauthn({ nodes }: HeadlessSettingsWebauthnProps) {\n  const { Card, Form } = useComponents()\n  const intl = useIntl()\n  const { setValue } = useFormContext()\n\n  const triggerButton = getTriggerNode(nodes)\n  const inputNode = getInputNode(nodes)\n  const removeButtons = getRemoveButtons(nodes)\n  const registerNode = getRegisterNode(nodes)\n\n  if (!inputNode || !triggerButton) {\n    return null\n  }\n\n  const {\n    onclick: _onClick,\n    onclickTrigger,\n    ...triggerAttributes\n  } = triggerButton.attributes as UiNodeInputAttributes\n\n  const onTriggerClick = () => {\n    triggerToWindowCall(onclickTrigger)\n  }\n  const removeWebauthnKeyHandler = (value: string) => {\n    return () => {\n      setValue(\"webauthn_remove\", value)\n      setValue(\"method\", \"webauthn\")\n    }\n  }\n\n  return (\n    <>\n      <Card.SettingsSectionContent\n        title={intl.formatMessage({ id: \"settings.webauthn.title\" })}\n        description={intl.formatMessage({\n          id: \"settings.webauthn.description\",\n        })}\n      >\n        <Form.WebauthnSettings\n          nameInput={inputNode}\n          triggerButton={{\n            ...triggerButton,\n            attributes: triggerAttributes as UiNodeAttributes,\n            onClick: onTriggerClick,\n          }}\n          removeButtons={removeButtons.map((node) => ({\n            ...node,\n            onClick:\n              node.attributes.node_type === \"input\"\n                ? removeWebauthnKeyHandler(node.attributes.value as string)\n                : () => {},\n          }))}\n        />\n        {registerNode && <Node node={registerNode} />}\n      </Card.SettingsSectionContent>\n      <Card.SettingsSectionFooter\n        text={intl.formatMessage({ id: \"settings.webauthn.info\" })}\n      ></Card.SettingsSectionFooter>\n    </>\n  )\n}\n","// Copyright © 2024 Ory Corp\n// SPDX-License-Identifier: Apache-2.0\n\nimport { UiText } from \"@ory/client-fetch\"\nimport { IntlShape } from \"react-intl\"\n\n/**\n * Converts a UiText to a FormattedMessage.\n * The UiText contains the id of the message and the context.\n * The context is used to inject values into the message from Ory, e.g. a timestamp.\n * For example a UI Node from Ory might look like this:\n *\n * ```json\n * {\n *  \"type\":\"input\",\n *  \"group\":\"default\",\n *  \"attributes\": {\n *      \"name\":\"traits.email\",\n *      \"type\":\"email\",\n *      \"required\":true,\n *      \"autocomplete\":\"email\",\n *      \"disabled\":false,\n *      \"node_type\":\"input\"\n *  },\n *  \"messages\":[],\n *  \"meta\": {\n *    \"label\": {\n *      \"id\":1070002,\n *      \"text\":\"E-Mail\",\n *      \"type\":\"info\",\n *      \"context\":{\n *        \"title\":\"E-Mail\"\n *      },\n *    }\n *  }\n * }\n * ```\n *\n * The context has the key \"title\" which matches the formatter template name \"\\{title\\}\"\n * An example translation file would look like this:\n * ```json\n * {\n *  \"identities.messages.1070002\": \"{title}\"\n * }\n * ```\n *\n * The formatter would then take the meta.label.id and look for the translation with the key matching the id.\n * It would then replace the template \"\\{title\\}\" with the value from the context with the key \"title\".\n *\n * @param uiText - The UiText is part of the UiNode object sent by Kratos when performing a flow.\n * @param intl - The intl object from react-intl\n * @group Utilities\n */\nexport const uiTextToFormattedMessage = (\n  { id, context = {}, text }: Omit<UiText, \"type\">,\n  intl: IntlShape,\n) => {\n  const contextInjectedMessage = Object.entries(context).reduce(\n    (accumulator, [key, value]) => {\n      // context might provide an array of objects instead of a single object\n      // for example when looking up a recovery code\n      if (Array.isArray(value)) {\n        return {\n          ...accumulator,\n          [key]: value,\n          [key + \"_list\"]: intl.formatList<string>(value),\n        }\n      } else if (key.endsWith(\"_unix\")) {\n        if (typeof value === \"number\") {\n          return {\n            ...accumulator,\n            [key]: intl.formatDate(new Date(value * 1000)),\n            [key + \"_since\"]: intl.formatDateTimeRange(\n              new Date(value),\n              new Date(),\n            ),\n            [key + \"_since_minutes\"]: Math.ceil(\n              (value - new Date().getTime() / 1000) / 60,\n            ).toFixed(0),\n            [key + \"_until\"]: intl.formatDateTimeRange(\n              new Date(),\n              new Date(value),\n            ),\n            [key + \"_until_minutes\"]: Math.ceil(\n              (new Date().getTime() / 1000 - value) / 60,\n            ).toFixed(0),\n          }\n        }\n      } else if (key === \"property\") {\n        return {\n          ...accumulator,\n          [key]: intl.formatMessage({\n            id: `property.${value}`,\n            defaultMessage: value,\n          }),\n        }\n      }\n      return {\n        ...accumulator,\n        [key]: value as string | number,\n      }\n    },\n    {},\n  )\n\n  return intl.formatMessage(\n    {\n      id: `identities.messages.${id}`,\n      defaultMessage: text,\n    },\n    contextInjectedMessage,\n  )\n}\n","{\n  \"consent.action-accept\": \"Allow\",\n  \"consent.action-reject\": \"Deny\",\n  \"consent.description\": \"Only grant permissions if you trust this site or app. You do not need to accept all permissions.\",\n  \"consent.privacy-policy-label\": \"Privacy Policy\",\n  \"consent.remember-label\": \"Remember this decision for next time. The application will not be able to ask for additional permissions without your consent.\",\n  \"consent.remember-tooltip\": \"remember my decision\",\n  \"consent.requested-permissions-label\": \"The application requests access to the following permissions:\",\n  \"consent.terms-of-service-label\": \"Terms of Service\",\n  \"error.back-button\": \"Go Back\",\n  \"error.description\": \"An error occurred with the following message:\",\n  \"error.support-email-link\": \"If the problem persists, please contact <a>{contactSupportEmail}</a>\",\n  \"error.title\": \"An error occurred\",\n  \"error.title-internal-server-error\": \"Internal Server Error\",\n  \"error.title-not-found\": \"404 - Page not found\",\n  \"identities.messages.1010001\": \"Sign in\",\n  \"identities.messages.1010002\": \"Sign in with {provider}\",\n  \"identities.messages.1010003\": \"Please confirm this action by verifying that it is you.\",\n  \"identities.messages.1010004\": \"Please complete the second authentication challenge.\",\n  \"identities.messages.1010005\": \"Verify\",\n  \"identities.messages.1010006\": \"Authentication code\",\n  \"identities.messages.1010007\": \"Backup recovery code\",\n  \"identities.messages.1010008\": \"Continue with hardware key\",\n  \"identities.messages.1010009\": \"Continue\",\n  \"identities.messages.1010010\": \"Continue\",\n  \"identities.messages.1010011\": \"Sign in with hardware key\",\n  \"identities.messages.1010012\": \"Prepare your WebAuthn device (e.g. security key, biometrics scanner, ...) and press continue.\",\n  \"identities.messages.1010013\": \"Continue\",\n  \"identities.messages.1010014\": \"A code was sent to the address you provided. If you didn't receive it, please check the spelling of the address and try again.\",\n  \"identities.messages.1010015\": \"Send sign in code\",\n  \"identities.messages.1010016\": \"You tried to sign in with \\\"{duplicateIdentifier}\\\", but that email is already used by another account. Sign in to your account with one of the options below to add your account \\\"{duplicateIdentifier}\\\" at \\\"{provider}\\\" as another way to sign in.\",\n  \"identities.messages.1010017\": \"Sign in and link\",\n  \"identities.messages.1010018\": \"Confirm with {provider}\",\n  \"identities.messages.1010019\": \"Request code to continue\",\n  \"identities.messages.1010021\": \"Sign in with passkey\",\n  \"identities.messages.1010022\": \"Sign in with password\",\n  \"identities.messages.1010023\": \"Send code to {address}\",\n  \"identities.messages.1040001\": \"Sign up\",\n  \"identities.messages.1040002\": \"Sign up with {provider}\",\n  \"identities.messages.1040003\": \"Continue\",\n  \"identities.messages.1040004\": \"Sign up with security key\",\n  \"identities.messages.1040005\": \"A code has been sent to the address(es) you provided. If you have not received a message, check the spelling of the address and retry the registration.\",\n  \"identities.messages.1040006\": \"Send sign up code\",\n  \"identities.messages.1040007\": \"Sign up with passkey\",\n  \"identities.messages.1040008\": \"Back\",\n  \"identities.messages.1040009\": \"Please choose a credential to authenticate yourself with.\",\n  \"identities.messages.1050001\": \"Your changes have been saved!\",\n  \"identities.messages.1050002\": \"Link {provider}\",\n  \"identities.messages.1050003\": \"Unlink {provider}\",\n  \"identities.messages.1050004\": \"Unlink TOTP Authenticator App\",\n  \"identities.messages.1050005\": \"Authenticator app QR code\",\n  \"identities.messages.1050006\": \"{secret}\",\n  \"identities.messages.1050007\": \"Reveal backup recovery codes\",\n  \"identities.messages.1050008\": \"Enable\",\n  \"identities.messages.1050009\": \"{secret}\",\n  \"identities.messages.1050010\": \"These are your back up recovery codes. Please keep them in a safe place!\",\n  \"identities.messages.1050011\": \"Confirm backup recovery codes\",\n  \"identities.messages.1050012\": \"Add security key\",\n  \"identities.messages.1050013\": \"Name of the security key\",\n  \"identities.messages.1050014\": \"Secret was used at {used_at, date, long}\",\n  \"identities.messages.1050015\": \"{secrets_list}\",\n  \"identities.messages.1050016\": \"Disable this method\",\n  \"identities.messages.1050017\": \"Authenticator Secret\",\n  \"identities.messages.1050018\": \"Remove security key \\\"{display_name}\\\"\",\n  \"identities.messages.1050019\": \"Add passkey\",\n  \"identities.messages.1050020\": \"Remove passkey \\\"{display_name}\\\"\",\n  \"identities.messages.1060001\": \"You successfully recovered your account. Please change your password or set up an alternative login method (e.g. social sign in) within the next {privileged_session_expires_at_unix_until_minutes} minutes.\",\n  \"identities.messages.1060002\": \"An email containing a recovery link has been sent to the email address you provided. If you have not received an email, check the spelling of the address and make sure to use the address you registered with.\",\n  \"identities.messages.1060003\": \"An email containing a recovery code has been sent to the email address you provided. If you have not received an email, check the spelling of the address and make sure to use the address you registered with.\",\n  \"identities.messages.1070001\": \"Password\",\n  \"identities.messages.1070002\": \"{title}\",\n  \"identities.messages.1070003\": \"Save\",\n  \"identities.messages.1070004\": \"ID\",\n  \"identities.messages.1070005\": \"Submit\",\n  \"identities.messages.1070006\": \"Verify code\",\n  \"identities.messages.1070007\": \"Email\",\n  \"identities.messages.1070008\": \"Resend code\",\n  \"identities.messages.1070009\": \"Continue\",\n  \"identities.messages.1070010\": \"Recovery code\",\n  \"identities.messages.1070011\": \"Verification code\",\n  \"identities.messages.1070012\": \"Registration code\",\n  \"identities.messages.1070013\": \"Login code\",\n  \"identities.messages.1070014\": \"Login and link credential\",\n  \"identities.messages.1070015\": \"Please complete the captcha challenge to continue.\",\n  \"identities.messages.1080001\": \"An email containing a verification link has been sent to the email address you provided. If you have not received an email, check the spelling of the address and make sure to use the address you registered with.\",\n  \"identities.messages.1080002\": \"You successfully verified your email address.\",\n  \"identities.messages.1080003\": \"An email containing a verification code has been sent to the email address you provided. If you have not received an email, check the spelling of the address and make sure to use the address you registered with.\",\n  \"identities.messages.4000001\": \"{reason}\",\n  \"identities.messages.4000002\": \"Please enter the {property} and try again.\",\n  \"identities.messages.4000003\": \"length must be >= {min_length}, but got {actual_length}\",\n  \"identities.messages.4000004\": \"does not match pattern \\\"{pattern}\\\"\",\n  \"identities.messages.4000005\": \"The password can not be used because {reason}.\",\n  \"identities.messages.4000006\": \"The provided credentials are invalid, check for spelling mistakes in your password or username, email address, or phone number.\",\n  \"identities.messages.4000007\": \"An account with the same identifier (email, phone, username, ...) exists already.\",\n  \"identities.messages.4000008\": \"The provided authentication code is invalid, please try again.\",\n  \"identities.messages.4000009\": \"Could not find any login identifiers. Did you forget to set them? This could also be caused by a server misconfiguration.\",\n  \"identities.messages.4000010\": \"Account not active yet. Did you forget to verify your email address?\",\n  \"identities.messages.4000011\": \"You have no TOTP device set up.\",\n  \"identities.messages.4000012\": \"This backup recovery code has already been used.\",\n  \"identities.messages.4000013\": \"You have no WebAuthn device set up.\",\n  \"identities.messages.4000014\": \"You have no backup recovery codes set up.\",\n  \"identities.messages.4000015\": \"This account does not exist or has no security key set up.\",\n  \"identities.messages.4000016\": \"The backup recovery code is not valid.\",\n  \"identities.messages.4000017\": \"length must be <= {max_length}, but got {actual_length}\",\n  \"identities.messages.4000018\": \"must be >= {minimum} but found {actual}\",\n  \"identities.messages.4000019\": \"must be > {minimum} but found {actual}\",\n  \"identities.messages.4000020\": \"must be <= {maximum} but found {actual}\",\n  \"identities.messages.4000021\": \"must be < {maximum} but found {actual}\",\n  \"identities.messages.4000022\": \"{actual} not multipleOf {base}\",\n  \"identities.messages.4000023\": \"maximum {max_items} items allowed, but found {actual_items} items\",\n  \"identities.messages.4000024\": \"minimum {min_items} items allowed, but found {actual_items} items\",\n  \"identities.messages.4000025\": \"items at index {index_a} and {index_b} are equal\",\n  \"identities.messages.4000026\": \"expected {allowed_types_list}, but got {actual_type}\",\n  \"identities.messages.4000027\": \"An account with the same identifier (email, phone, username, ...) exists already. Please sign in to your existing account to link your social profile.\",\n  \"identities.messages.4000028\": \"You tried signing in with {credential_identifier_hint} which is already in use by another account. You can sign in using {available_credential_types_list}. You can sign in using one of the following social sign in providers: {Available_oidc_providers_list}.\",\n  \"identities.messages.4000029\": \"must be equal to constant {expected}\",\n  \"identities.messages.4000030\": \"const failed\",\n  \"identities.messages.4000031\": \"The password can not be used because it is too similar to the identifier.\",\n  \"identities.messages.4000032\": \"The password must be at least {min_length} characters long, but got {actual_length}.\",\n  \"identities.messages.4000033\": \"The password must be at most {max_length} characters long, but got {actual_length}.\",\n  \"identities.messages.4000034\": \"The password has been found in data breaches and must no longer be used.\",\n  \"identities.messages.4000035\": \"This account does not exist or has not setup sign in with code.\",\n  \"identities.messages.4000036\": \"The provided traits do not match the traits previously associated with this flow.\",\n  \"identities.messages.4000037\": \"This account does not exist or has no login method configured.\",\n  \"identities.messages.4000038\": \"Captcha verification failed, please try again.\",\n  \"identities.messages.4010001\": \"The login flow expired {expired_at_unix_since_minutes} minutes ago, please try again.\",\n  \"identities.messages.4010002\": \"Could not find a strategy to log you in with. Did you fill out the form correctly?\",\n  \"identities.messages.4010003\": \"Could not find a strategy to sign you up with. Did you fill out the form correctly?\",\n  \"identities.messages.4010004\": \"Could not find a strategy to update your settings. Did you fill out the form correctly?\",\n  \"identities.messages.4010005\": \"Could not find a strategy to recover your account with. Did you fill out the form correctly?\",\n  \"identities.messages.4010006\": \"Could not find a strategy to verify your account with. Did you fill out the form correctly?\",\n  \"identities.messages.4010007\": \"The request was already completed successfully and can not be retried.\",\n  \"identities.messages.4010008\": \"The login code is invalid or has already been used. Please try again.\",\n  \"identities.messages.4010009\": \"Linked credentials do not match.\",\n  \"identities.messages.4010010\": \"The address you entered does not match any known addresses in the current account.\",\n  \"identities.messages.4040001\": \"The registration flow expired {expired_at_unix_since_minutes} minutes ago, please try again.\",\n  \"identities.messages.4040002\": \"The request was already completed successfully and can not be retried.\",\n  \"identities.messages.4040003\": \"The registration code is invalid or has already been used. Please try again.\",\n  \"identities.messages.4050001\": \"The settings flow expired {expired_at_unix_since_minutes} minutes ago, please try again.\",\n  \"identities.messages.4060001\": \"The request was already completed successfully and can not be retried.\",\n  \"identities.messages.4060002\": \"The recovery flow reached a failure state and must be retried.\",\n  \"identities.messages.4060004\": \"The recovery token is invalid or has already been used. Please retry the flow.\",\n  \"identities.messages.4060005\": \"The recovery flow expired {expired_at_unix_since_minutes} minutes ago, please try again.\",\n  \"identities.messages.4060006\": \"The recovery code is invalid or has already been used. Please try again.\",\n  \"identities.messages.4070001\": \"The verification token is invalid or has already been used. Please retry the flow.\",\n  \"identities.messages.4070002\": \"The request was already completed successfully and can not be retried.\",\n  \"identities.messages.4070003\": \"The verification flow reached a failure state and must be retried.\",\n  \"identities.messages.4070005\": \"The verification flow expired {expired_at_unix_since_minutes} minutes ago, please try again.\",\n  \"identities.messages.4070006\": \"The verification code is invalid or has already been used. Please try again.\",\n  \"identities.messages.5000001\": \"{reason}\",\n  \"login.cancel-button\": \"Cancel\",\n  \"login.cancel-label\": \"Not the right account?\",\n  \"login.forgot-password\": \"Forgot password?\",\n  \"login.logged-in-as-label\": \"You are using:\",\n  \"login.logout-button\": \"Logout\",\n  \"login.logout-label\": \"Something's not working?\",\n  \"login.registration-button\": \"Sign up\",\n  \"login.registration-label\": \"Don't have an account?\",\n  \"login.subtitle-oauth2\": \"To authenticate {clientName}\",\n  \"login.title\": \"Sign in\",\n  \"login.subtitle\": \"Sign in with {parts}\",\n  \"login.title-aal2\": \"Second factor authentication\",\n  \"login.subtitle-aal2\": \"Choose a way to complete your second factor authentication\",\n  \"login.code.subtitle\": \"A verification code will be sent by email\",\n  \"login.webauthn.subtitle\": \"Please prepare your WebAuthN device\",\n  \"login.totp.subtitle\": \"Please enter the code generated by your Authenticator App\",\n  \"login.lookup_secret.subtitle\": \"Please enter one of your 8-digit backup recovery codes\",\n  \"login.title-refresh\": \"Reauthenticate\",\n  \"login.subtitle-refresh\": \"Confirm your identity with {parts}\",\n  \"login.2fa.go-back\": \"Something isn't working?\",\n  \"login.2fa.go-back.link\": \"Go back\",\n  \"login.2fa.method.go-back\": \"Choose another method\",\n  \"logout.accept-button\": \"Yes\",\n  \"logout.reject-button\": \"No\",\n  \"logout.title\": \"Do you wish to log out?\",\n  \"recovery.login-button\": \"Sign in\",\n  \"recovery.login-label\": \"Remember your credentials?\",\n  \"recovery.title\": \"Recover your account\",\n  \"recovery.subtitle\": \"Enter the email address associated with your account to receive a one-time access code\",\n  \"registration.login-button\": \"Sign in\",\n  \"registration.login-label\": \"Already have an account?\",\n  \"registration.subtitle-oauth2\": \"To authenticate {clientName}\",\n  \"registration.title\": \"Register an account\",\n  \"registration.subtitle\": \"Sign up with {parts}\",\n  \"settings.navigation-back-button\": \"Back\",\n  \"settings.navigation-backup-codes\": \"2FA Backup Codes\",\n  \"settings.navigation-logout\": \"Logout\",\n  \"settings.navigation-oidc\": \"Social Sign In\",\n  \"settings.navigation-password\": \"Password\",\n  \"settings.navigation-profile\": \"Profile\",\n  \"settings.navigation-totp\": \"Authenticator App\",\n  \"settings.navigation-webauthn\": \"Hardware Tokens\",\n  \"settings.navigation-passkey\": \"Passkeys\",\n  \"settings.subtitle-instructions\": \"Here you can manage settings related to your account. Keep in mind that certain actions require you to re-authenticate.\",\n  \"settings.subtitle\": \"Update your account settings\",\n  \"settings.title-lookup-secret\": \"Manage 2FA Backup Recovery Codes\",\n  \"settings.title-navigation\": \"Account Settings\",\n  \"settings.title-oidc\": \"Social Sign In\",\n  \"settings.title-password\": \"Change Password\",\n  \"settings.title-profile\": \"Profile Settings\",\n  \"settings.title-totp\": \"Manage 2FA TOTP Authenticator App\",\n  \"settings.title-webauthn\": \"Manage Hardware Tokens\",\n  \"settings.title-passkey\": \"Manage Passkeys\",\n  \"settings.title\": \"Account Settings\",\n  \"settings.navigation.title\": \"Account Settings\",\n  \"settings.password.title\": \"Change Password\",\n  \"settings.password.description\": \"Modify your password\",\n  \"settings.profile.title\": \"Profile Settings\",\n  \"settings.profile.description\": \"Update your profile information\",\n  \"settings.webauthn.title\": \"Manage Hardware Tokens\",\n  \"settings.webauthn.description\": \"Manage your hardware token settings\",\n  \"settings.messages.toast-title.success\": \"Settings updated\",\n  \"settings.messages.toast-title.error\": \"Could not update settings\",\n  \"verification.registration-button\": \"Sign up\",\n  \"verification.registration-label\": \"Don't have an account?\",\n  \"verification.title\": \"Verify your account\",\n  \"verification.subtitle\": \"Enter the email address associated with your account to verify it\",\n  \"verification.back-button\": \"Back\",\n  \"two-step.password.title\": \"Password\",\n  \"two-step.password.description\": \"Enter your password associated with your account\",\n  \"two-step.code.title\": \"Email code\",\n  \"two-step.code.description\": \"A verification code will be sent to your email\",\n  \"two-step.webauthn.title\": \"Security key\",\n  \"two-step.webauthn.description\": \"Use your security key to authenticate\",\n  \"two-step.passkey.title\": \"Passkey (recommended)\",\n  \"two-step.passkey.description\": \"Use your device's for fingerprint or face recognition\",\n  \"two-step.passkey.description.error\": \"Could not load the necessary libraries to use your Passkey. Please try again later.\",\n  \"two-step.totp.title\": \"Use your Authenticator App (TOTP)\",\n  \"two-step.totp.description\": \"Use a 6-digit one-time code from your authenticator app\",\n  \"two-step.lookup_secret.title\": \"Backup recovery code\",\n  \"two-step.lookup_secret.description\": \"Use up one of your 8-digit backup codes to authenticate\",\n  \"identities.messages.1010020\": \"\",\n  \"input.placeholder\": \"Enter your {placeholder}\",\n  \"card.header.parts.oidc\": \"a social provider\",\n  \"card.header.parts.password.registration\": \"your {identifierLabel} and a password\",\n  \"card.header.parts.password.login\": \"your {identifierLabel} and password\",\n  \"card.header.parts.code\": \"a one-time code\",\n  \"card.header.parts.passkey\": \"a Passkey\",\n  \"card.header.parts.webauthn\": \"a security key\",\n  \"card.header.parts.totp\": \"your authenticator app\",\n  \"card.header.parts.lookup_secret\": \"a backup recovery code\",\n  \"card.header.parts.identifier-first\": \"your {identifierLabel}\",\n  \"card.header.description.login\": \"Sign in with {identifierLabel}\",\n  \"card.header.description.registration\": \"Sign up with {identifierLabel}\",\n  \"misc.or\": \"or\",\n  \"forms.label.forgot-password\": \"Forgot Password?\",\n  \"forms.label.recover-account\": \"Recover Account\",\n  \"settings.totp.title\": \"Authenticator App\",\n  \"settings.totp.description\": \"Add a TOTP Authenticator App to your account to improve your account security. Popular Authenticator Apps are LastPass and Google Authenticator\",\n  \"settings.totp.info.not-linked\": \"To enable scan the QR code with your authenticator and enter the code.\",\n  \"settings.totp.info.linked\": \"You currently have an authenticator app connected.\",\n  \"settings.lookup_secret.title\": \"Backup Recovery Codes (second factor)\",\n  \"settings.lookup_secret.description\": \"Recovery codes are a secure backup for 2FA, allowing you to regain access to your account if you lose your 2FA device.\",\n  \"settings.oidc.title\": \"Connected accounts\",\n  \"settings.oidc.description\": \"Connect a social login provider with your account.\",\n  \"settings.oidc.info\": \"Connected accounts from these providers can be used to login to your account\",\n  \"settings.webauthn.info\": \"Hardware Tokens are used for second-factor authentication or as first-factor with Passkeys\",\n  \"settings.passkey.title\": \"Manage Passkeys\",\n  \"settings.passkey.description\": \"Manage your passkey settings\",\n  \"settings.passkey.info\": \"Manage your passkey settings\",\n  \"card.footer.select-another-method\": \"Select another method\",\n  \"account-linking.title\": \"Link account\",\n  \"property.password\": \"password\",\n  \"property.email\": \"email\",\n  \"property.phone\": \"phone\",\n  \"property.username\": \"username\",\n  \"property.identifier\": \"identifier\",\n  \"property.code\": \"code\",\n  \"consent.title\": \"Authorize {party}\",\n  \"consent.subtitle\": \"A third party application wants to access information associated with your account {identifier}.\",\n  \"consent.scope.openid.title\": \"Identity\",\n  \"consent.scope.openid.description\": \"Allows the application to verify your identity. This is required for authentication and a trusted login experience.\",\n  \"consent.scope.offline_access.title\": \"Offline Access\",\n  \"consent.scope.offline_access.description\": \"Allows this application to keep you signed in even when you're not actively using it.\",\n  \"consent.scope.profile.title\": \"Profile Information\",\n  \"consent.scope.profile.description\": \"Allows access to your basic profile details, including your username, first name, and last name.\",\n  \"consent.scope.email.title\": \"Email Address\",\n  \"consent.scope.email.description\": \"Retrieve your email address and its verification status.\",\n  \"consent.scope.address.title\": \"Physical Address\",\n  \"consent.scope.address.description\": \"Access your postal address.\",\n  \"consent.scope.phone.title\": \"Phone Number\",\n  \"consent.scope.phone.description\": \"Retrieve your phone number and its verification status.\",\n  \"error.title.what-happened\": \"What happened?\",\n  \"error.title.what-can-i-do\": \"What can I do?\",\n  \"error.instructions\": \"Please try again in a few minutes or contact the website operator.\",\n  \"error.footer.text\": \"When reporting this error, please include the following information:\",\n  \"error.footer.copy\": \"Copy\",\n  \"error.action.go-back\": \"Go back\"\n}\n","{\n  \"consent.action-accept\": \"Zustimmen\",\n  \"consent.action-reject\": \"Ablehnen\",\n  \"consent.description\": \"Geben Sie nur Berechtigungen frei, wenn Sie dieser Website oder App vertrauen. Sie müssen nicht alle Berechtigungen akzeptieren.\",\n  \"consent.privacy-policy-label\": \"Datenschutzrichtlinie\",\n  \"consent.remember-label\": \"Diese Entscheidung für das nächste Mal merken. Die Anwendung wird keine zusätzlichen Berechtigungen ohne Ihre Zustimmung anfordern können.\",\n  \"consent.remember-tooltip\": \"meine Entscheidung merken\",\n  \"consent.requested-permissions-label\": \"Die Anwendung benötigt Zugriff auf folgende Berechtigungen:\",\n  \"consent.terms-of-service-label\": \"Nutzungsbedingungen\",\n  \"error.back-button\": \"Zurück\",\n  \"error.description\": \"Es ist ein Fehler aufgetreten mit folgender Nachricht:\",\n  \"error.support-email-link\": \"Wenn das Problem bestehen bleibt, kontaktieren Sie bitte <a>{contactSupportEmail}</a>\",\n  \"error.title\": \"Ein Fehler ist aufgetreten\",\n  \"error.title-internal-server-error\": \"Interner Serverfehler\",\n  \"error.title-not-found\": \"404 - Seite nicht gefunden\",\n  \"identities.messages.1010001\": \"Anmelden\",\n  \"identities.messages.1010002\": \"Mit {provider} anmelden\",\n  \"identities.messages.1010003\": \"Bitte bestätigen Sie diese Aktion, indem Sie überprüfen, dass Sie es sind.\",\n  \"identities.messages.1010004\": \"Bitte schließen Sie die zweite Authentifizierungsprüfung ab.\",\n  \"identities.messages.1010005\": \"Verifizieren\",\n  \"identities.messages.1010006\": \"Authentifizierungscode\",\n  \"identities.messages.1010007\": \"Backup-Wiederherstellungscode\",\n  \"identities.messages.1010008\": \"Mit Sicherheitsschlüssel fortfahren\",\n  \"identities.messages.1010009\": \"Weiter\",\n  \"identities.messages.1010010\": \"Weiter\",\n  \"identities.messages.1010011\": \"Mit Sicherheitsschlüssel fortfahren\",\n  \"identities.messages.1010012\": \"Bereiten Sie Ihr WebAuthn-Gerät vor (z. B. Sicherheitsschlüssel, biometrischer Scanner, ...) und drücken Sie auf Weiter.\",\n  \"identities.messages.1010013\": \"Weiter\",\n  \"identities.messages.1010014\": \"Eine E-Mail mit einem Code wurde an die von Ihnen angegebene E-Mail-Adresse gesendet. Falls Sie keine E-Mail erhalten haben, überprüfen Sie bitte die Schreibweise der Adresse und versuchen Sie erneut, sich anzumelden.\",\n  \"identities.messages.1010015\": \"Mit Code anmelden\",\n  \"identities.messages.1040001\": \"Registrieren\",\n  \"identities.messages.1040002\": \"Mit {provider} registrieren\",\n  \"identities.messages.1040003\": \"Fortfahren\",\n  \"identities.messages.1040004\": \"Mit Sicherheitsschlüssel registrieren\",\n  \"identities.messages.1040005\": \"Eine E-Mail mit einem Code wurde an die von Ihnen angegebene E-Mail-Adresse gesendet. Falls Sie keine E-Mail erhalten haben, überprüfen Sie bitte die Schreibweise der Adresse und versuchen Sie erneut, sich zu registrieren.\",\n  \"identities.messages.1040006\": \"Mit Code registrieren\",\n  \"identities.messages.1050001\": \"Ihre Änderungen wurden gespeichert!\",\n  \"identities.messages.1050002\": \"{provider} verknüpfen\",\n  \"identities.messages.1050003\": \"{provider} entknüpfen\",\n  \"identities.messages.1050004\": \"Authentifizierungs-App entknüpfen\",\n  \"identities.messages.1050005\": \"Authentifizierungs-App QR-Code\",\n  \"identities.messages.1050006\": \"{secret}\",\n  \"identities.messages.1050007\": \"Backup-Wiederherstellungscodes anzeigen\",\n  \"identities.messages.1050008\": \"Neue Backup-Wiederherstellungscodes generieren\",\n  \"identities.messages.1050009\": \"{secret}\",\n  \"identities.messages.1050010\": \"Dies sind Ihre Backup-Wiederherstellungscodes. Bewahren Sie diese an einem sicheren Ort auf!\",\n  \"identities.messages.1050011\": \"Backup-Wiederherstellungscode bestätigen\",\n  \"identities.messages.1050012\": \"Sicherheitsschlüssel hinzufügen\",\n  \"identities.messages.1050013\": \"Name des Sicherheitsschlüssels\",\n  \"identities.messages.1050014\": \"<del>Verwendet</del>\",\n  \"identities.messages.1050015\": \"{secrets_list}\",\n  \"identities.messages.1050016\": \"Diese Methode deaktivieren\",\n  \"identities.messages.1050017\": \"Dies ist Ihr Authentifizierungs-App-Geheimnis. Verwenden Sie es, wenn Sie den QR-Code nicht scannen können.\",\n  \"identities.messages.1050018\": \"Sicherheitsschlüssel \\\"{display_name}\\\" entfernen\",\n  \"identities.messages.1060001\": \"Sie haben Ihr Konto erfolgreich wiederhergestellt. Bitte ändern Sie Ihr Passwort oder richten Sie eine alternative Anmeldemethode ein (z. B. Anmeldung über Social-Login) innerhalb der nächsten {privileged_session_expires_at_unix_until_minutes} Minuten ein.\",\n  \"identities.messages.1060002\": \"Eine E-Mail mit einem Wiederherstellungslink wurde an die von Ihnen angegebene E-Mail-Adresse gesendet. Falls Sie keine E-Mail erhalten haben, überprüfen Sie bitte die Schreibweise der Adresse und stellen Sie sicher, dass Sie die Adresse verwendet haben, mit der Sie sich registriert haben.\",\n  \"identities.messages.1060003\": \"Eine E-Mail mit einem Wiederherstellungscode wurde an die von Ihnen angegebene E-Mail-Adresse gesendet. Falls Sie keine E-Mail erhalten haben, überprüfen Sie bitte die Schreibweise der Adresse und stellen Sie sicher, dass Sie die Adresse verwendet haben, mit der Sie sich registriert haben.\",\n  \"identities.messages.1070001\": \"Passwort\",\n  \"identities.messages.1070002\": \"{title}\",\n  \"identities.messages.1070003\": \"Speichern\",\n  \"identities.messages.1070004\": \"ID\",\n  \"identities.messages.1070005\": \"Absenden\",\n  \"identities.messages.1070006\": \"Verifizierungscode\",\n  \"identities.messages.1070007\": \"E-Mail\",\n  \"identities.messages.1070008\": \"Code erneut senden\",\n  \"identities.messages.1070009\": \"Weiter\",\n  \"identities.messages.1070010\": \"Wiederherstellungscode\",\n  \"identities.messages.1070011\": \"Verifikationscode\",\n  \"identities.messages.1070012\": \"Registrierungscode\",\n  \"identities.messages.1070013\": \"Anmeldecode\",\n  \"identities.messages.1080001\": \"Eine E-Mail mit einem Bestätigungslink wurde an die von Ihnen angegebene E-Mail-Adresse gesendet. Falls Sie keine E-Mail erhalten haben, überprüfen Sie bitte die Schreibweise der Adresse und stellen Sie sicher, dass Sie die Adresse verwendet haben, mit der Sie sich registriert haben.\",\n  \"identities.messages.1080002\": \"Sie haben Ihre E-Mail-Adresse erfolgreich bestätigt.\",\n  \"identities.messages.1080003\": \"Eine E-Mail mit einem Bestätigungscode wurde an die von Ihnen angegebene E-Mail-Adresse gesendet. Falls Sie keine E-Mail erhalten haben, überprüfen Sie bitte die Schreibweise der Adresse und stellen Sie sicher, dass Sie die Adresse verwendet haben, mit der Sie sich registriert haben.\",\n  \"identities.messages.4000001\": \"{reason}\",\n  \"identities.messages.4000002\": \"Das Feld {property} muss ausgefüllt werden.\",\n  \"identities.messages.4000003\": \"Die Länge muss >= {min_length} sein, {actual_length} erhalten.\",\n  \"identities.messages.4000004\": \"entspricht nicht dem Muster \\\"{pattern}\\\"\",\n  \"identities.messages.4000005\": \"Das Passwort kann nicht verwendet werden, weil {reason}.\",\n  \"identities.messages.4000006\": \"Die bereitgestellten Anmeldedaten sind ungültig. Überprüfen Sie auf Rechtschreibfehler in Ihrem Passwort, Benutzernamen, E-Mail-Adresse oder Telefonnummer.\",\n  \"identities.messages.4000007\": \"Ein Konto mit demselben Identifikator (E-Mail, Telefon, Benutzername, ...) existiert bereits.\",\n  \"identities.messages.4000008\": \"Der bereitgestellte Authentifizierungscode ist ungültig. Bitte versuchen Sie es erneut.\",\n  \"identities.messages.4000009\": \"Es konnten keine Anmeldeidentifikatoren gefunden werden. Haben Sie vergessen, diese festzulegen? Dies könnte auch durch eine Serverfehlkonfiguration verursacht werden.\",\n  \"identities.messages.4000010\": \"Konto ist noch nicht aktiv. Haben Sie vergessen, Ihre E-Mail-Adresse zu bestätigen?\",\n  \"identities.messages.4000011\": \"Sie haben kein TOTP-Gerät eingerichtet.\",\n  \"identities.messages.4000012\": \"Dieser Backup-Wiederherstellungscode wurde bereits verwendet.\",\n  \"identities.messages.4000013\": \"Sie haben kein WebAuthn-Gerät eingerichtet.\",\n  \"identities.messages.4000014\": \"Sie haben keine Backup-Wiederherstellungscodes eingerichtet.\",\n  \"identities.messages.4000015\": \"Dieses Konto existiert nicht oder hat keinen Sicherheitsschlüssel eingerichtet.\",\n  \"identities.messages.4000016\": \"Der Backup-Wiederherstellungscode ist ungültig.\",\n  \"identities.messages.4000017\": \"Die Länge muss <= {max_length} sein, {actual_length} erhalten.\",\n  \"identities.messages.4000018\": \"muss >= {minimum} sein, {actual} gefunden.\",\n  \"identities.messages.4000019\": \"muss > {minimum} sein, {actual} gefunden.\",\n  \"identities.messages.4000020\": \"muss <= {maximum} sein, {actual} gefunden.\",\n  \"identities.messages.4000021\": \"muss < {maximum} sein, {actual} gefunden.\",\n  \"identities.messages.4000022\": \"{actual} ist nicht ein Vielfaches von {base}\",\n  \"identities.messages.4000023\": \"maximal {max_items} Elemente erlaubt, {actual_items} Elemente gefunden.\",\n  \"identities.messages.4000024\": \"mindestens {min_items} Elemente erforderlich, {actual_items} Elemente gefunden.\",\n  \"identities.messages.4000025\": \"Elemente an Index {index_a} und {index_b} sind gleich.\",\n  \"identities.messages.4000026\": \"erwartete {allowed_types_list}, {actual_type} gefunden.\",\n  \"identities.messages.4000027\": \"Ein Konto mit demselben Identifikator (E-Mail, Telefon, Benutzername, ...) existiert bereits. Bitte melden Sie sich in Ihrem bestehenden Konto an und verknüpfen Sie Ihren Social-Login auf der Einstellungsseite.\",\n  \"identities.messages.4000028\": \"Sie haben versucht, sich mit {credential_identifier_hint} anzumelden, das bereits von einem anderen Konto verwendet wird. Sie können sich mit {available_credential_types_list} anmelden. Sie können sich mit einem der folgenden Social-Logins anmelden: {Available_oidc_providers_list}.\",\n  \"identities.messages.4000029\": \"muss gleich der Konstanten {expected} sein.\",\n  \"identities.messages.4000030\": \"const fehlgeschlagen\",\n  \"identities.messages.4000031\": \"Das Passwort kann nicht verwendet werden, da es zu ähnlich dem Identifikator ist.\",\n  \"identities.messages.4000032\": \"Das Passwort muss mindestens {min_length} Zeichen lang sein, {actual_length} erhalten.\",\n  \"identities.messages.4000033\": \"Das Passwort muss höchstens {max_length} Zeichen lang sein, {actual_length} erhalten.\",\n  \"identities.messages.4000034\": \"Das Passwort wurde in Datenlecks gefunden und darf nicht mehr verwendet werden.\",\n  \"identities.messages.4000035\": \"Dieses Konto existiert nicht oder hat keine Anmeldung per Code eingerichtet.\",\n  \"identities.messages.4000036\": \"Die bereitgestellten Merkmale stimmen nicht mit den zuvor mit diesem Flow assoziierten Merkmalen überein.\",\n  \"identities.messages.4010001\": \"Der Anmeldevorgang ist vor {expired_at_unix_since_minutes} Minuten abgelaufen. Bitte versuchen Sie es erneut.\",\n  \"identities.messages.4010002\": \"Es konnte keine Strategie gefunden werden, um Sie anzumelden. Haben Sie das Formular korrekt ausgefüllt?\",\n  \"identities.messages.4010003\": \"Es konnte keine Strategie gefunden werden, um Sie zu registrieren. Haben Sie das Formular korrekt ausgefüllt?\",\n  \"identities.messages.4010004\": \"Es konnte keine Strategie gefunden werden, um Ihre Einstellungen zu aktualisieren. Haben Sie das Formular korrekt ausgefüllt?\",\n  \"identities.messages.4010005\": \"Es konnte keine Strategie gefunden werden, um Ihr Konto wiederherzustellen. Haben Sie das Formular korrekt ausgefüllt?\",\n  \"identities.messages.4010006\": \"Es konnte keine Strategie gefunden werden, um Ihr Konto zu verifizieren. Haben Sie das Formular korrekt ausgefüllt?\",\n  \"identities.messages.4010007\": \"Die Anfrage wurde bereits erfolgreich abgeschlossen und kann nicht erneut versucht werden.\",\n  \"identities.messages.4010008\": \"Der Anmeldecode ist ungültig oder wurde bereits verwendet. Bitte versuchen Sie es erneut.\",\n  \"identities.messages.4040001\": \"Der Registrierungsvorgang ist vor {expired_at_unix_since_minutes} Minuten abgelaufen. Bitte versuchen Sie es erneut.\",\n  \"identities.messages.4040002\": \"Die Anfrage wurde bereits erfolgreich abgeschlossen und kann nicht erneut versucht werden.\",\n  \"identities.messages.4040003\": \"Der Registrierungscode ist ungültig oder wurde bereits verwendet. Bitte versuchen Sie es erneut.\",\n  \"identities.messages.4050001\": \"Der Einstellungsvorgang ist vor {expired_at_unix_since_minutes} Minuten abgelaufen. Bitte versuchen Sie es erneut.\",\n  \"identities.messages.4060001\": \"Die Anfrage wurde bereits erfolgreich abgeschlossen und kann nicht erneut versucht werden.\",\n  \"identities.messages.4060002\": \"Der Wiederherstellungsvorgang ist fehlgeschlagen und muss erneut versucht werden.\",\n  \"identities.messages.4060004\": \"Der Wiederherstellungstoken ist ungültig oder wurde bereits verwendet. Bitte wiederholen Sie den Vorgang.\",\n  \"identities.messages.4060005\": \"Der Wiederherstellungsvorgang ist vor {expired_at_unix_since_minutes} Minuten abgelaufen. Bitte versuchen Sie es erneut.\",\n  \"identities.messages.4060006\": \"Der Wiederherstellungscode ist ungültig oder wurde bereits verwendet. Bitte versuchen Sie es erneut.\",\n  \"identities.messages.4070001\": \"Der Verifizierungstoken ist ungültig oder wurde bereits verwendet. Bitte wiederholen Sie den Vorgang.\",\n  \"identities.messages.4070002\": \"Die Anfrage wurde bereits erfolgreich abgeschlossen und kann nicht erneut versucht werden.\",\n  \"identities.messages.4070003\": \"Der Verifizierungsvorgang ist fehlgeschlagen und muss erneut versucht werden.\",\n  \"identities.messages.4070005\": \"Der Verifizierungsvorgang ist vor {expired_at_unix_since_minutes} Minuten abgelaufen. Bitte versuchen Sie es erneut.\",\n  \"identities.messages.4070006\": \"Der Verifizierungscode ist ungültig oder wurde bereits verwendet. Bitte versuchen Sie es erneut.\",\n  \"identities.messages.5000001\": \"{reason}\",\n  \"login.forgot-password\": \"Passwort vergessen?\",\n  \"login.logged-in-as-label\": \"Sie sind angemeldet als:\",\n  \"login.logout-button\": \"Abmelden\",\n  \"login.logout-label\": \"Etwas funktioniert nicht?\",\n  \"login.registration-button\": \"Registrieren\",\n  \"login.registration-label\": \"Sie haben noch kein Konto?\",\n  \"login.subtitle-oauth2\": \"Zur Authentifizierung bei {clientName}\",\n  \"login.title\": \"Anmelden\",\n  \"login.title-aal2\": \"Zweitfaktor-Authentifizierung\",\n  \"login.subtitle-aal2\": \"Wählen Sie eine Methode zur Bestätigung Ihrer Zwei-Faktor-Authentifizierung\",\n  \"login.code.subtitle\": \"Ein Bestätigungscode wird per E-Mail gesendet\",\n  \"login.webauthn.subtitle\": \"Bitte bereiten Sie Ihr WebAuthN-Gerät vor\",\n  \"login.totp.subtitle\": \"Bitte geben Sie den Code aus Ihrer Authentifikator-App ein\",\n  \"login.lookup_secret.subtitle\": \"Bitte geben Sie einen Ihrer 8-stelligen Backup-Wiederherstellungscodes ein\",\n  \"login.title-refresh\": \"Bestätigen Sie, dass Sie es sind\",\n  \"login.2fa.go-back\": \"Funktioniert etwas nicht?\",\n  \"login.2fa.go-back.link\": \"Zurück\",\n  \"login.2fa.method.go-back\": \"Eine andere Methode wählen\",\n  \"logout.accept-button\": \"Ja\",\n  \"logout.reject-button\": \"Nein\",\n  \"logout.title\": \"Möchten Sie sich abmelden?\",\n  \"recovery.login-button\": \"Anmelden\",\n  \"recovery.login-label\": \"Erinnern Sie sich an Ihre Anmeldedaten?\",\n  \"recovery.title\": \"Ihr Konto wiederherstellen\",\n  \"registration.login-button\": \"Anmelden\",\n  \"registration.login-label\": \"Sie haben bereits ein Konto?\",\n  \"registration.subtitle-oauth2\": \"Zur Authentifizierung bei {clientName}\",\n  \"registration.title\": \"Konto registrieren\",\n  \"verification.registration-button\": \"Registrieren\",\n  \"verification.registration-label\": \"Sie haben noch kein Konto?\",\n  \"verification.title\": \"Verifizieren Sie Ihr Konto\",\n  \"verification.back-button\": \"Zurück\",\n  \"two-step.code.description\": \"Ein Bestätigungscode wird an Ihre E-Mail gesendet.\",\n  \"two-step.code.title\": \"E-Mail-Code\",\n  \"two-step.passkey.title\": \"Passkey (empfohlen)\",\n  \"two-step.passkey.description\": \"Verwenden Sie die Fingerabdruck- oder Gesichtserkennung Ihres Geräts\",\n  \"two-step.passkey.description.error\": \"Konnte die erforderlichen Bibliotheken für Passkeys nicht laden. Bitte versuchen Sie es später erneut.\",\n  \"two-step.password.description\": \"Geben Sie Ihr Passwort ein, das mit Ihrem Konto verknüpft ist\",\n  \"two-step.password.title\": \"Passwort\",\n  \"two-step.webauthn.title\": \"Sicherheitsschlüssel\",\n  \"two-step.webauthn.description\": \"Verwenden Sie Ihren Sicherheitsschlüssel zur Authentifizierung\",\n  \"two-step.totp.title\": \"Verwenden Sie Ihre Authentifikator-App\",\n  \"two-step.totp.description\": \"Verwenden Sie einen 6-stelligen Einmalcode aus Ihrer Authentifikator-App\",\n  \"two-step.lookup_secret.title\": \"Backup-Wiederherstellungscode\",\n  \"two-step.lookup_secret.description\": \"Verwenden Sie einen Ihrer 8-stelligen Backup-Codes, um sich zu authentifizieren\",\n  \"identities.messages.1070014\": \"Login- und Link-Zugangsdaten\",\n  \"identities.messages.1070015\": \"Bitte schließen Sie die Captcha-Überprüfung ab, um fortzufahren.\",\n  \"identities.messages.4000038\": \"Die Captcha-Überprüfung ist fehlgeschlagen. Bitte versuchen Sie es erneut.\",\n  \"login.cancel-button\": \"Abbrechen\",\n  \"login.cancel-label\": \"Nicht das richtige Konto?\",\n  \"identities.messages.1010023\": \"Code an {address} senden\",\n  \"identities.messages.1010016\": \"Sie haben versucht, sich mit „{duplicateIdentifier}“ anzumelden, aber diese E-Mail-Adresse wird bereits von einem anderen Konto verwendet. \\nMelden Sie sich mit einer der folgenden Optionen bei Ihrem Konto an, um Ihr Konto „{duplicateIdentifier}“ bei „{provider}“ als weitere Anmeldemöglichkeit hinzuzufügen.\",\n  \"identities.messages.1010017\": \"Anmelden und verbinden\",\n  \"identities.messages.1010018\": \"Mit {provider} bestätigen\",\n  \"identities.messages.1010019\": \"Code senden um fortzufahren\",\n  \"identities.messages.1010020\": \"\",\n  \"identities.messages.1010021\": \"Mit Passkey anmelden\",\n  \"identities.messages.1010022\": \"Mit Passwort anmelden\",\n  \"identities.messages.1040007\": \"Mit Passkey registrieren\",\n  \"identities.messages.1040008\": \"Zurück\",\n  \"identities.messages.1040009\": \"Bitte wählen Sie eine Authentifizierungsmethode, um fortzufahren.\",\n  \"identities.messages.1050019\": \"Passkey hinzufügen\",\n  \"identities.messages.1050020\": \"Passkey \\\"{display_name}\\\" entfernen\",\n  \"identities.messages.4000037\": \"Für die eingegebenen Daten existiert kein Account\",\n  \"identities.messages.4010009\": \"Die Authentifizierungsmethode stimmt nicht mit der vorherigen Authentifizierungsmethode überein. Bitte versuchen Sie es erneut.\",\n  \"identities.messages.4010010\": \"Die eingegebene Adresse stimmt nicht mit der Adresse überein, die Sie bei der Registrierung angegeben haben. Bitte versuchen Sie es erneut.\",\n  \"input.placeholder\": \"{placeholder} eingeben\",\n  \"card.header.parts.code\": \"ein einmaliger Code\",\n  \"card.header.parts.identifier-first\": \"Ihrer {identifierLabel}\",\n  \"card.header.parts.oidc\": \"einem Social-Login\",\n  \"card.header.parts.passkey\": \"einem Passkey\",\n  \"card.header.parts.password.login\": \"Ihrer {identifierLabel} und Ihrem Passwort\",\n  \"card.header.parts.password.registration\": \"Ihrer {identifierLabel} und einem Passwort\",\n  \"card.header.parts.webauthn\": \"einem Sicherheitsschlüssel\",\n  \"card.header.parts.totp\": \"Ihrer Authentifikator-App\",\n  \"card.header.parts.lookup_secret\": \"einem Backup-Wiederherstellungscode\",\n  \"recovery.subtitle\": \"Geben Sie die mit Ihrem Konto verknüpfte E-Mail-Adresse ein, um einen einmaligen Zugangscode zu erhalten\",\n  \"verification.subtitle\": \"Geben Sie die mit Ihrem Konto verknüpfte E-Mail-Adresse ein, um es zu bestätigen\",\n  \"card.header.description.login\": \"Melden Sie sich mit {identifierLabel} an\",\n  \"card.header.description.registration\": \"Registrieren Sie sich mit {identifierLabel}\",\n  \"login.subtitle\": \"Melden Sie sich mit {parts} an.\",\n  \"login.subtitle-refresh\": \"Bestätigen Sie Ihre Identität mit {parts}.\",\n  \"misc.or\": \"oder\",\n  \"registration.subtitle\": \"Registrieren Sie sich mit {parts}.\",\n  \"forms.label.forgot-password\": \"Passwort vergessen?\",\n  \"forms.label.recover-account\": \"Konto wiederherstellen\",\n  \"settings.title\": \"Kontoeinstellungen\",\n  \"settings.navigation.title\": \"Kontoeinstellungen\",\n  \"settings.subtitle\": \"Aktualisieren Sie Ihre Kontoeinstellungen\",\n  \"settings.navigation-back-button\": \"Zurück\",\n  \"settings.navigation-backup-codes\": \"2FA-Backup-Wiederherstellungscodes\",\n  \"settings.navigation-logout\": \"Abmelden\",\n  \"settings.navigation-oidc\": \"Social-Login\",\n  \"settings.navigation-password\": \"Passwort\",\n  \"settings.navigation-profile\": \"Profil\",\n  \"settings.navigation-totp\": \"Authentifikator-App\",\n  \"settings.navigation-webauthn\": \"Sicherheitsschlüssel\",\n  \"settings.navigation-passkey\": \"Passkeys\",\n  \"settings.subtitle-instructions\": \"Hier können Sie Einstellungen zu Ihrem Konto vornehmen. Für manche Einstellungen müssen Sie Ihre Identität erneut bestätigen.\",\n  \"settings.totp.info.linked\": \"Sie haben derzeit eine Authentifikator-App verbunden.\",\n  \"settings.totp.info.not-linked\": \"Um dies zu ermöglichen, scannen Sie den QR-Code mit Ihrer Authentifikator-App und geben Sie den Code ein.\",\n  \"settings.totp.title\": \"Authentifikator-App\",\n  \"settings.totp.description\": \"Fügen Sie eine Authentifikator-App zu Ihrem Konto hinzu, um die Sicherheit Ihres Kontos zu verbessern. Beliebte Authentifikator-Apps sind LastPass und Google Authenticator.\",\n  \"settings.lookup_secret.description\": \"Verwalten Sie Ihre 2FA-Backup-Wiederherstellungscodes\",\n  \"settings.lookup_secret.title\": \"Wiederherstellungscodes\",\n  \"settings.oidc.description\": \"Verwalten Sie Ihre Einstellungen für den Social-Login\",\n  \"settings.oidc.title\": \"Social-Login\",\n  \"settings.passkey.description\": \"Verwalten Sie Ihre Passworteinstellungen\",\n  \"settings.passkey.title\": \"Passkeys verwalten\",\n  \"settings.password.description\": \"Ändern Sie Ihr Passwort\",\n  \"settings.password.title\": \"Passwort ändern\",\n  \"settings.profile.description\": \"Aktualisieren Sie Ihre Profilinformationen\",\n  \"settings.profile.title\": \"Profileinstellungen\",\n  \"settings.webauthn.description\": \"Verwalten Sie Ihre Hardware-Token-Einstellungen\",\n  \"settings.webauthn.title\": \"Hardware-Token verwalten\",\n  \"settings.oidc.info\": \"Verbundene Konten dieser Anbieter können für die Anmeldung bei Ihrem Konto verwendet werden\",\n  \"settings.passkey.info\": \"Verwalten Sie Ihre Passkey-Einstellungen\",\n  \"settings.title-lookup-secret\": \"Verwalten Sie 2FA-Backup-Wiederherstellungscodes\",\n  \"settings.title-navigation\": \"Kontoeinstellungen\",\n  \"settings.title-oidc\": \"Social-Login\",\n  \"settings.title-passkey\": \"Passkeys verwalten\",\n  \"settings.title-password\": \"Kennwort ändern\",\n  \"settings.title-profile\": \"Profileinstellungen\",\n  \"settings.title-totp\": \"Verwalten Sie die Authentifikator-App\",\n  \"settings.title-webauthn\": \"Hardware-Token verwalten\",\n  \"settings.webauthn.info\": \"Hardware-Tokens werden für die Zweitfaktor-Authentifizierung oder als Erstfaktor-Authentifizierung mit Passkeys verwendet\",\n  \"settings.messages.toast-title.success\": \"Einstellungen aktualisiert\",\n  \"settings.messages.toast-title.error\": \"Fehler beim Aktualisieren der Einstellungen\",\n  \"card.footer.select-another-method\": \"Eine andere Methode verwenden\",\n  \"account-linking.title\": \"Account verbinden\",\n  \"property.email\": \"E-Mail\",\n  \"property.identifier\": \"Kennung\",\n  \"property.password\": \"Passwort\",\n  \"property.phone\": \"Telefon\",\n  \"property.code\": \"Code\",\n  \"property.username\": \"Benutzername\",\n  \"consent.title\": \"Autorisieren {party}\",\n  \"consent.subtitle\": \"Eine Drittanbieteranwendung möchte auf Informationen zugreifen, die mit Ihrem Konto {identifier} verknüpft sind.\",\n  \"consent.scope.openid.title\": \"Identität\",\n  \"consent.scope.openid.description\": \"Ermöglicht der Anwendung, Ihre Identität zu überprüfen. Dies ist für die Authentifizierung und eine vertrauenswürdige Login-Erfahrung erforderlich.\",\n  \"consent.scope.offline_access.title\": \"Offline-Zugriff\",\n  \"consent.scope.offline_access.description\": \"Ermöglicht dieser Anwendung, Sie angemeldet zu lassen, auch wenn Sie sie nicht aktiv nutzen.\",\n  \"consent.scope.profile.title\": \"Profilinformationen\",\n  \"consent.scope.profile.description\": \"Ermöglicht den Zugriff auf Ihre grundlegenden Profildetails, einschließlich Ihres Benutzernamens, Vornamens und Nachnamens.\",\n  \"consent.scope.email.title\": \"E-Mail-Adresse\",\n  \"consent.scope.email.description\": \"Ermöglicht den Abruf Ihrer E-Mail-Adresse und deren Überprüfungsstatus.\",\n  \"consent.scope.address.title\": \"Postanschrift\",\n  \"consent.scope.address.description\": \"Ermöglicht den Zugriff auf Ihre Postanschrift.\",\n  \"consent.scope.phone.title\": \"Telefonnummer\",\n  \"consent.scope.phone.description\": \"Ermöglicht den Abruf Ihrer Telefonnummer und deren Überprüfungsstatus.\",\n  \"error.title.what-happened\": \"Was ist passiert?\",\n  \"error.footer.copy\": \"Kopieren\",\n  \"error.footer.text\": \"Bitte fügen Sie bei der Meldung dieses Fehlers die folgenden Informationen hinzu:\",\n  \"error.instructions\": \"Bitte versuchen Sie es in wenigen Minuten erneut oder wenden Sie sich an den Webseiten-Betreiber.\",\n  \"error.title.what-can-i-do\": \"Was kann ich tun?\",\n  \"error.action.go-back\": \"Zurück\"\n}\n","{\n  \"consent.action-accept\": \"Permitir\",\n  \"consent.action-reject\": \"Rechazar\",\n  \"consent.description\": \"Solo otorgue permisos si confía en este sitio o aplicación. No es necesario aceptar todos los permisos.\",\n  \"consent.privacy-policy-label\": \"Política de Privacidad\",\n  \"consent.remember-label\": \"Recuerde esta decisión para la próxima vez. La aplicación no podrá solicitar permisos adicionales sin su consentimiento.\",\n  \"consent.remember-tooltip\": \"recordar mi decisión\",\n  \"consent.requested-permissions-label\": \"La aplicación solicita acceso a los siguientes permisos:\",\n  \"consent.terms-of-service-label\": \"Términos de Servicio\",\n  \"error.back-button\": \"Regresar\",\n  \"error.description\": \"Ocurrió un error con el siguiente mensaje:\",\n  \"error.support-email-link\": \"Si el problema persiste, por favor contacte a <a>{contactSupportEmail}</a>\",\n  \"error.title-internal-server-error\": \"Error Interno del Servidor\",\n  \"error.title-not-found\": \"404 - Página no encontrada\",\n  \"identities.messages.1010001\": \"Iniciar sesión\",\n  \"identities.messages.1010002\": \"Iniciar sesión con {provider}\",\n  \"identities.messages.1010003\": \"Por favor confirme esta acción verificando que es usted.\",\n  \"identities.messages.1010004\": \"Por favor complete el segundo desafío de autenticación.\",\n  \"identities.messages.1010005\": \"Verificar\",\n  \"identities.messages.1010006\": \"Código de autenticación\",\n  \"identities.messages.1010007\": \"Código de recuperación de respaldo\",\n  \"identities.messages.1010008\": \"Continuar con la llave de hardware\",\n  \"identities.messages.1010009\": \"Continuar\",\n  \"identities.messages.1010010\": \"Continuar\",\n  \"identities.messages.1010011\": \"Continuar con llave de seguridad\",\n  \"identities.messages.1010012\": \"Prepare su dispositivo WebAuthn (por ejemplo, llave de seguridad, escáner biométrico, ...) y presione continuar.\",\n  \"identities.messages.1010013\": \"Continuar\",\n  \"identities.messages.1010014\": \"Se ha enviado un correo electrónico con un código a la dirección de correo electrónico que proporcionó. Si no ha recibido un correo electrónico, verifique la ortografía de la dirección e intente iniciar sesión nuevamente.\",\n  \"identities.messages.1010015\": \"Iniciar sesión con código\",\n  \"identities.messages.1040001\": \"Registrarse\",\n  \"identities.messages.1040002\": \"Registrarse con {provider}\",\n  \"identities.messages.1040003\": \"Continuar\",\n  \"identities.messages.1040004\": \"Registrarse con llave de seguridad\",\n  \"identities.messages.1040005\": \"Se ha enviado un correo electrónico con un código a la dirección de correo electrónico que proporcionó. Si no ha recibido un correo electrónico, verifique la ortografía de la dirección e intente registrarse nuevamente.\",\n  \"identities.messages.1040006\": \"Registrarse con código\",\n  \"identities.messages.1050001\": \"¡Sus cambios han sido guardados!\",\n  \"identities.messages.1050002\": \"Vincular {provider}\",\n  \"identities.messages.1050003\": \"Desvincular {provider}\",\n  \"identities.messages.1050004\": \"Desvincular App Autenticadora TOTP\",\n  \"identities.messages.1050005\": \"Código QR de la app autenticadora\",\n  \"identities.messages.1050006\": \"{secret}\",\n  \"identities.messages.1050007\": \"Mostrar códigos de recuperación de respaldo\",\n  \"identities.messages.1050008\": \"Generar nuevos códigos de recuperación de respaldo\",\n  \"identities.messages.1050009\": \"{secret}\",\n  \"identities.messages.1050010\": \"Estos son sus códigos de recuperación de respaldo. ¡Por favor guárdelos en un lugar seguro!\",\n  \"identities.messages.1050011\": \"Confirmar códigos de recuperación de respaldo\",\n  \"identities.messages.1050012\": \"Agregar llave de seguridad\",\n  \"identities.messages.1050013\": \"Nombre de la llave de seguridad\",\n  \"identities.messages.1050014\": \"<del>Usado</del>\",\n  \"identities.messages.1050015\": \"{secrets_list}\",\n  \"identities.messages.1050016\": \"Deshabilitar este método\",\n  \"identities.messages.1050017\": \"Este es el secreto de su app autenticadora. Úselo si no puede escanear el código QR.\",\n  \"identities.messages.1050018\": \"Eliminar llave de seguridad \\\"{display_name}\\\"\",\n  \"identities.messages.1060001\": \"Ha recuperado exitosamente su cuenta. Por favor cambie su contraseña o configure un método de inicio de sesión alternativo (por ejemplo, inicio de sesión social) en los próximos {privileged_session_expires_at_unix_until_minutes} minutos.\",\n  \"identities.messages.1060002\": \"Se ha enviado un correo electrónico con un enlace de recuperación a la dirección de correo electrónico que proporcionó. Si no ha recibido un correo electrónico, verifique la ortografía de la dirección y asegúrese de usar la dirección con la que se registró.\",\n  \"identities.messages.1060003\": \"Se ha enviado un correo electrónico con un código de recuperación a la dirección de correo electrónico que proporcionó. Si no ha recibido un correo electrónico, verifique la ortografía de la dirección y asegúrese de usar la dirección con la que se registró.\",\n  \"identities.messages.1070001\": \"Contraseña\",\n  \"identities.messages.1070002\": \"{title}\",\n  \"identities.messages.1070003\": \"Guardar\",\n  \"identities.messages.1070004\": \"ID\",\n  \"identities.messages.1070005\": \"Enviar\",\n  \"identities.messages.1070006\": \"Verificar código\",\n  \"identities.messages.1070007\": \"Correo electrónico\",\n  \"identities.messages.1070008\": \"Reenviar código\",\n  \"identities.messages.1070009\": \"Continuar\",\n  \"identities.messages.1070010\": \"Código de recuperación\",\n  \"identities.messages.1070011\": \"Código de verificación\",\n  \"identities.messages.1070012\": \"Código de registro\",\n  \"identities.messages.1070013\": \"Código de inicio de sesión\",\n  \"identities.messages.1080001\": \"Se ha enviado un correo electrónico con un enlace de verificación a la dirección que proporcionó. Si no ha recibido un correo electrónico, verifique la ortografía de la dirección y asegúrese de usar la dirección con la que se registró.\",\n  \"identities.messages.1080002\": \"Ha verificado exitosamente su dirección de correo electrónico.\",\n  \"identities.messages.1080003\": \"Se ha enviado un correo electrónico con un código de verificación a la dirección que proporcionó. Si no ha recibido un correo electrónico, verifique la ortografía de la dirección y asegúrese de usar la dirección con la que se registró.\",\n  \"identities.messages.4000001\": \"{reason}\",\n  \"identities.messages.4000002\": \"Falta la propiedad {property}.\",\n  \"identities.messages.4000003\": \"la longitud debe ser >= {min_length}, pero es {actual_length}\",\n  \"identities.messages.4000004\": \"no coincide con el patrón \\\"{pattern}\\\"\",\n  \"identities.messages.4000005\": \"La contraseña no puede ser utilizada porque {reason}.\",\n  \"identities.messages.4000006\": \"Las credenciales proporcionadas son inválidas, verifique si hay errores en su contraseña o nombre de usuario, dirección de correo electrónico o número de teléfono.\",\n  \"identities.messages.4000007\": \"Ya existe una cuenta con el mismo identificador (correo, teléfono, nombre de usuario, ...).\",\n  \"identities.messages.4000008\": \"El código de autenticación proporcionado es inválido, por favor intente nuevamente.\",\n  \"identities.messages.4000009\": \"No se encontraron identificadores de inicio de sesión. ¿Olvidó establecerlos? Esto también podría ser causado por una mala configuración del servidor.\",\n  \"identities.messages.4000010\": \"La cuenta aún no está activa. ¿Olvidó verificar su dirección de correo electrónico?\",\n  \"identities.messages.4000011\": \"No tiene configurado ningún dispositivo TOTP.\",\n  \"identities.messages.4000012\": \"Este código de recuperación de respaldo ya ha sido utilizado.\",\n  \"identities.messages.4000013\": \"No tiene configurado ningún dispositivo WebAuthn.\",\n  \"identities.messages.4000014\": \"No ha configurado ningún código de recuperación de respaldo.\",\n  \"identities.messages.4000015\": \"Esta cuenta no existe o no tiene configurada una llave de seguridad.\",\n  \"identities.messages.4000016\": \"El código de recuperación de respaldo no es válido.\",\n  \"identities.messages.4000017\": \"la longitud debe ser <= {max_length}, pero es {actual_length}\",\n  \"identities.messages.4000018\": \"debe ser >= {minimum} pero es {actual}\",\n  \"identities.messages.4000019\": \"debe ser > {minimum} pero es {actual}\",\n  \"identities.messages.4000020\": \"debe ser <= {maximum} pero es {actual}\",\n  \"identities.messages.4000021\": \"debe ser < {maximum} pero es {actual}\",\n  \"identities.messages.4000022\": \"{actual} no es múltiplo de {base}\",\n  \"identities.messages.4000023\": \"máximo {max_items} ítems permitidos, pero se encontraron {actual_items} ítems\",\n  \"identities.messages.4000024\": \"mínimo {min_items} ítems permitidos, pero se encontraron {actual_items} ítems\",\n  \"identities.messages.4000025\": \"los ítems en los índices {index_a} y {index_b} son iguales\",\n  \"identities.messages.4000026\": \"se esperaba {allowed_types_list}, pero se obtuvo {actual_type}\",\n  \"identities.messages.4000027\": \"Ya existe una cuenta con el mismo identificador (correo, teléfono, nombre de usuario, ...). Por favor, inicie sesión en su cuenta existente y vincule su perfil social en la página de configuración.\",\n  \"identities.messages.4000028\": \"Intentó iniciar sesión con {credential_identifier_hint} que ya está en uso por otra cuenta. Puede iniciar sesión usando {available_credential_types_list}. Puede iniciar sesión usando uno de los siguientes proveedores de inicio de sesión social: {Available_oidc_providers_list}.\",\n  \"identities.messages.4000029\": \"debe ser igual a la constante {expected}\",\n  \"identities.messages.4000030\": \"constante fallida\",\n  \"identities.messages.4000031\": \"La contraseña no puede ser utilizada porque es muy similar al identificador.\",\n  \"identities.messages.4000032\": \"La contraseña debe tener al menos {min_length} caracteres de longitud, pero tiene {actual_length}.\",\n  \"identities.messages.4000033\": \"La contraseña debe tener como máximo {max_length} caracteres de longitud, pero tiene {actual_length}.\",\n  \"identities.messages.4000034\": \"La contraseña ha sido encontrada en brechas de datos y ya no debe ser utilizada.\",\n  \"identities.messages.4000035\": \"Esta cuenta no existe o no tiene configurado el inicio de sesión con código.\",\n  \"identities.messages.4000036\": \"Las características proporcionadas no coinciden con las características previamente asociadas con este flujo.\",\n  \"identities.messages.4010001\": \"El flujo de inicio de sesión expiró hace {expired_at_unix_since_minutes} minutos, por favor intente nuevamente.\",\n  \"identities.messages.4010002\": \"No se pudo encontrar una estrategia para iniciar sesión. ¿Llenó correctamente el formulario?\",\n  \"identities.messages.4010003\": \"No se pudo encontrar una estrategia para registrarse. ¿Llenó correctamente el formulario?\",\n  \"identities.messages.4010004\": \"No se pudo encontrar una estrategia para actualizar sus configuraciones. ¿Llenó correctamente el formulario?\",\n  \"identities.messages.4010005\": \"No se pudo encontrar una estrategia para recuperar su cuenta. ¿Llenó correctamente el formulario?\",\n  \"identities.messages.4010006\": \"No se pudo encontrar una estrategia para verificar su cuenta. ¿Llenó correctamente el formulario?\",\n  \"identities.messages.4010007\": \"La solicitud ya fue completada exitosamente y no puede ser reintentada.\",\n  \"identities.messages.4010008\": \"El código de inicio de sesión es inválido o ya ha sido utilizado. Por favor, intente nuevamente.\",\n  \"identities.messages.4040001\": \"El flujo de registro expiró hace {expired_at_unix_since_minutes} minutos, por favor intente nuevamente.\",\n  \"identities.messages.4040002\": \"La solicitud ya fue completada exitosamente y no puede ser reintentada.\",\n  \"identities.messages.4040003\": \"El código de registro es inválido o ya ha sido utilizado. Por favor, intente nuevamente.\",\n  \"identities.messages.4050001\": \"El flujo de configuración expiró hace {expired_at_unix_since_minutes} minutos, por favor intente nuevamente.\",\n  \"identities.messages.4060001\": \"La solicitud ya fue completada exitosamente y no puede ser reintentada.\",\n  \"identities.messages.4060002\": \"El flujo de recuperación alcanzó un estado de fallo y debe ser reintentado.\",\n  \"identities.messages.4060004\": \"El token de recuperación es inválido o ya ha sido utilizado. Por favor, reinicie el flujo.\",\n  \"identities.messages.4060005\": \"El flujo de recuperación expiró hace {expired_at_unix_since_minutes} minutos, por favor intente nuevamente.\",\n  \"identities.messages.4060006\": \"El código de recuperación es inválido o ya ha sido utilizado. Por favor, intente nuevamente.\",\n  \"identities.messages.4070001\": \"El token de verificación es inválido o ya ha sido utilizado. Por favor, reinicie el flujo.\",\n  \"identities.messages.4070002\": \"La solicitud ya fue completada exitosamente y no puede ser reintentada.\",\n  \"identities.messages.4070003\": \"El flujo de verificación alcanzó un estado de fallo y debe ser reintentado.\",\n  \"identities.messages.4070005\": \"El flujo de verificación expiró hace {expired_at_unix_since_minutes} minutos, por favor intente nuevamente.\",\n  \"identities.messages.4070006\": \"El código de verificación es inválido o ya ha sido utilizado. Por favor, intente nuevamente.\",\n  \"identities.messages.5000001\": \"{reason}\",\n  \"login.forgot-password\": \"¿Olvidó su contraseña?\",\n  \"login.logged-in-as-label\": \"Ha iniciado sesión como:\",\n  \"login.logout-button\": \"Cerrar sesión\",\n  \"login.logout-label\": \"¿Algo no funciona correctamente?\",\n  \"login.registration-button\": \"Registrarse\",\n  \"login.registration-label\": \"¿No tiene una cuenta?\",\n  \"login.subtitle-oauth2\": \"Para autenticar a {clientName}\",\n  \"login.title\": \"Iniciar sesión\",\n  \"login.title-aal2\": \"Autenticación de dos factores\",\n  \"login.subtitle-aal2\": \"Elija una forma de completar su autenticación de segundo factor\",\n  \"login.code.subtitle\": \"Se enviará un código de verificación por correo electrónico\",\n  \"login.webauthn.subtitle\": \"Por favor, prepare su dispositivo WebAuthN\",\n  \"login.totp.subtitle\": \"Ingrese el código generado por su aplicación de autenticación\",\n  \"login.lookup_secret.subtitle\": \"Ingrese uno de sus códigos de recuperación de respaldo de 8 dígitos\",\n  \"login.title-refresh\": \"Confirme que es usted\",\n  \"login.2fa.go-back\": \"¿Algo no funciona?\",\n  \"login.2fa.go-back.link\": \"Volver\",\n  \"login.2fa.method.go-back\": \"Elegir otro método\",\n  \"logout.accept-button\": \"Sí\",\n  \"logout.reject-button\": \"No\",\n  \"logout.title\": \"¿Desea cerrar sesión?\",\n  \"recovery.login-button\": \"Iniciar sesión\",\n  \"recovery.login-label\": \"¿Recuerda sus credenciales?\",\n  \"recovery.title\": \"Recuperar su cuenta\",\n  \"registration.login-button\": \"Iniciar sesión\",\n  \"registration.login-label\": \"¿Ya tiene una cuenta?\",\n  \"registration.subtitle-oauth2\": \"Para autenticar a {clientName}\",\n  \"registration.title\": \"Registrar una cuenta\",\n  \"settings.navigation-back-button\": \"Regresar\",\n  \"settings.navigation-backup-codes\": \"Códigos de Respaldo de 2FA\",\n  \"settings.navigation-logout\": \"Cerrar sesión\",\n  \"settings.navigation-oidc\": \"Inicio de Sesión Social\",\n  \"settings.navigation-password\": \"Contraseña\",\n  \"settings.navigation-profile\": \"Perfil\",\n  \"settings.navigation-totp\": \"Aplicación Autenticadora\",\n  \"settings.navigation-webauthn\": \"Tokens de Hardware\",\n  \"settings.navigation-passkey\": \"Passkeys\",\n  \"settings.subtitle-instructions\": \"Aquí puede gestionar las configuraciones relacionadas con su cuenta. Tenga en cuenta que ciertas acciones requieren que vuelva a autenticarse.\",\n  \"settings.title\": \"Configuraciones de la Cuenta\",\n  \"verification.registration-button\": \"Registrarse\",\n  \"verification.registration-label\": \"¿No tiene una cuenta?\",\n  \"verification.title\": \"Verificar su cuenta\",\n  \"verification.back-button\": \"Regresar\",\n  \"two-step.code.description\": \"Se enviará un código de verificación a tu correo electrónico.\",\n  \"two-step.code.title\": \"Código de correo electrónico\",\n  \"two-step.passkey.description\": \"Utiliza el reconocimiento de huellas dactilares o facial de tu dispositivo.\",\n  \"two-step.passkey.title\": \"Clave de acceso (recomendada)\",\n  \"two-step.passkey.description.error\": \"No se pudieron cargar las bibliotecas necesarias para usar su Passkey. Por favor, inténtelo de nuevo más tarde.\",\n  \"two-step.password.description\": \"Ingrese la contraseña asociada con su cuenta\",\n  \"two-step.password.title\": \"Contraseña\",\n  \"two-step.webauthn.title\": \"Clave de Seguridad\",\n  \"two-step.webauthn.description\": \"Utilice su llave de seguridad para autenticase\",\n  \"two-step.totp.title\": \"Utilice su aplicación de autenticación (TOTP)\",\n  \"two-step.totp.description\": \"Utilice un código de un solo uso de 6 dígitos de su aplicación de autenticación\",\n  \"two-step.lookup_secret.title\": \"Código de recuperación de respaldo\",\n  \"two-step.lookup_secret.description\": \"Utilice uno de sus códigos de respaldo de 8 dígitos para autenticarse\",\n  \"settings.totp.info.linked\": \"Actualmente tienes una aplicación de autenticación conectada.\",\n  \"settings.totp.info.not-linked\": \"Para habilitar, escanea el código QR con tu autenticador e ingresa el código.\",\n  \"settings.totp.title\": \"Aplicación Autenticadora\",\n  \"settings.totp.description\": \"Agrega una aplicación de autenticación TOTP a tu cuenta para mejorar la seguridad de tu cuenta. Las aplicaciones de autenticación populares son LastPass y Google Authenticator.\",\n  \"settings.lookup_secret.description\": \"Gestiona tus códigos de recuperación de respaldo 2FA\",\n  \"settings.lookup_secret.title\": \"Códigos de Recuperación\",\n  \"settings.navigation.title\": \"Configuración de la Cuenta\",\n  \"settings.oidc.description\": \"Administra la configuración de tu inicio de sesión social\",\n  \"settings.oidc.title\": \"Inicio de Sesión Social\",\n  \"settings.passkey.description\": \"Administra la configuración de tu clave de acceso\",\n  \"settings.passkey.title\": \"Gestionar Claves de Acceso\",\n  \"settings.password.description\": \"Modifica tu contraseña\",\n  \"settings.password.title\": \"Cambiar Contraseña\",\n  \"settings.profile.description\": \"Actualiza la información de tu perfil\",\n  \"settings.profile.title\": \"Configuración de Perfil\",\n  \"settings.webauthn.description\": \"Administra la configuración de tu token de hardware\",\n  \"settings.webauthn.title\": \"Gestionar Tokens de Hardware\",\n  \"settings.messages.toast-title.success\": \"Configuración actualizada con éxito\",\n  \"settings.messages.toast-title.error\": \"Error al actualizar la configuración\",\n  \"consent.title\": \"Autorizar {party}\",\n  \"consent.subtitle\": \"Una aplicación de terceros quiere acceder a la información asociada a su cuenta {identifier}.\",\n  \"consent.scope.openid.title\": \"Identidad\",\n  \"consent.scope.openid.description\": \"Permite que la aplicación verifique su identidad. Esto es necesario para la autenticación y una experiencia de inicio de sesión confiable.\",\n  \"consent.scope.offline_access.title\": \"Acceso sin conexión\",\n  \"consent.scope.offline_access.description\": \"Permite que esta aplicación le mantenga conectado incluso cuando no la esté utilizando activamente.\",\n  \"consent.scope.profile.title\": \"Información del perfil\",\n  \"consent.scope.profile.description\": \"Permite el acceso a los detalles básicos de su perfil, incluyendo su nombre de usuario, nombre y apellido.\",\n  \"consent.scope.email.title\": \"Dirección de correo electrónico\",\n  \"consent.scope.email.description\": \"Recupere su dirección de correo electrónico y su estado de verificación.\",\n  \"consent.scope.address.title\": \"Dirección física\",\n  \"consent.scope.address.description\": \"Acceda a su dirección postal.\",\n  \"consent.scope.phone.title\": \"Número de teléfono\",\n  \"consent.scope.phone.description\": \"Recupere su número de teléfono y su estado de verificación.\",\n  \"error.title\": \"Ocurrió un error\",\n  \"identities.messages.1010016\": \"Intentaste iniciar sesión con \\\"{duplicateIdentifier}\\\", pero ese correo electrónico ya está en uso por otra cuenta. Inicia sesión en tu cuenta con una de las opciones a continuación para agregar tu cuenta \\\"{duplicateIdentifier}\\\" en \\\"{provider}\\\" como otra forma de iniciar sesión.\",\n  \"identities.messages.1010017\": \"Iniciar sesión y vincular\",\n  \"identities.messages.1010018\": \"Confirmar con {provider}\",\n  \"identities.messages.1010019\": \"Solicitar código para continuar\",\n  \"identities.messages.1010021\": \"Iniciar sesión con clave de acceso\",\n  \"identities.messages.1010022\": \"Iniciar sesión con contraseña\",\n  \"identities.messages.1010023\": \"Enviar código a {address}\",\n  \"identities.messages.1040007\": \"Registrarse con clave de acceso\",\n  \"identities.messages.1040008\": \"Atrás\",\n  \"identities.messages.1040009\": \"Por favor, elige una credencial para autenticarte.\",\n  \"identities.messages.1050019\": \"Agregar clave de acceso\",\n  \"identities.messages.1070014\": \"Iniciar sesión y vincular credencial\",\n  \"identities.messages.1070015\": \"Por favor, completa el desafío captcha para continuar.\",\n  \"identities.messages.4000037\": \"Esta cuenta no existe o no tiene ningún método de inicio de sesión configurado.\",\n  \"identities.messages.4000038\": \"Falló la verificación de Captcha, por favor intenta de nuevo.\",\n  \"identities.messages.4010009\": \"Las credenciales vinculadas no coinciden.\",\n  \"identities.messages.4010010\": \"La dirección que ingresaste no coincide con ninguna dirección conocida en la cuenta actual.\",\n  \"login.cancel-button\": \"Cancelar\",\n  \"login.cancel-label\": \"¿No es la cuenta correcta?\",\n  \"login.subtitle\": \"Iniciar sesión con {parts}\",\n  \"login.subtitle-refresh\": \"Confirma tu identidad con {parts}\",\n  \"recovery.subtitle\": \"Ingresa la dirección de correo electrónico asociada con tu cuenta para recibir un código de acceso único\",\n  \"registration.subtitle\": \"Registrarse con {parts}\",\n  \"settings.subtitle\": \"Actualiza la configuración de tu cuenta\",\n  \"settings.title-lookup-secret\": \"Administrar códigos de recuperación de respaldo 2FA\",\n  \"settings.title-navigation\": \"Configuración de la cuenta\",\n  \"settings.title-oidc\": \"Inicio de sesión social\",\n  \"settings.title-password\": \"Cambiar contraseña\",\n  \"settings.title-profile\": \"Configuración del perfil\",\n  \"settings.title-totp\": \"Administrar la aplicación de autenticación 2FA TOTP\",\n  \"settings.title-webauthn\": \"Administrar tokens de hardware\",\n  \"settings.title-passkey\": \"Administrar claves de acceso\",\n  \"verification.subtitle\": \"Ingresa la dirección de correo electrónico asociada con tu cuenta para verificarla\",\n  \"input.placeholder\": \"Ingresa tu {placeholder}\",\n  \"card.header.parts.oidc\": \"un proveedor social\",\n  \"card.header.parts.password.registration\": \"tu {identifierLabel} y una contraseña\",\n  \"card.header.parts.password.login\": \"tu {identifierLabel} y contraseña\",\n  \"card.header.parts.code\": \"un código de un solo uso\",\n  \"card.header.parts.passkey\": \"una clave de acceso\",\n  \"card.header.parts.webauthn\": \"una clave de seguridad\",\n  \"card.header.parts.totp\": \"su aplicación de autenticación\",\n  \"card.header.parts.lookup_secret\": \"un código de recuperación de copia de seguridad\",\n  \"card.header.parts.identifier-first\": \"tu {identifierLabel}\",\n  \"card.header.description.login\": \"Iniciar sesión con {identifierLabel}\",\n  \"card.header.description.registration\": \"Registrarse con {identifierLabel}\",\n  \"misc.or\": \"o\",\n  \"forms.label.forgot-password\": \"¿Olvidaste tu contraseña?\",\n  \"forms.label.recover-account\": \"Recuperar cuenta\",\n  \"settings.oidc.info\": \"Las cuentas conectadas de estos proveedores se pueden utilizar para iniciar sesión en tu cuenta\",\n  \"settings.webauthn.info\": \"Los tokens de hardware se utilizan para la autenticación de segundo factor o como primer factor con las claves de acceso\",\n  \"settings.passkey.info\": \"Administra la configuración de tus claves de acceso\",\n  \"card.footer.select-another-method\": \"Seleccionar otro método\",\n  \"account-linking.title\": \"Vincular cuenta\",\n  \"property.password\": \"contraseña\",\n  \"property.email\": \"correo electrónico\",\n  \"property.phone\": \"teléfono\",\n  \"property.username\": \"nombre de usuario\",\n  \"property.identifier\": \"identificador\",\n  \"property.code\": \"código\",\n  \"error.title.what-happened\": \"¿Qué pasó?\",\n  \"error.title.what-can-i-do\": \"¿Qué puedo hacer?\",\n  \"error.instructions\": \"Por favor, inténtalo de nuevo en unos minutos o contacta al operador del sitio web.\",\n  \"error.footer.text\": \"Al informar este error, incluye la siguiente información:\",\n  \"error.footer.copy\": \"Copiar\",\n  \"error.action.go-back\": \"Regresar\",\n  \"identities.messages.1010020\": \"\",\n  \"identities.messages.1050020\": \"Eliminar passkey \\\"{display_name}\\\"\"\n}\n","{\n  \"consent.action-accept\": \"Autoriser\",\n  \"consent.action-reject\": \"Refuser\",\n  \"consent.description\": \"N'accordez des permissions que si vous faites confiance à ce site ou à cette application. Vous n'avez pas besoin d'accepter toutes les permissions.\",\n  \"consent.privacy-policy-label\": \"Politique de confidentialité\",\n  \"consent.remember-label\": \"Mémoriser cette décision pour la prochaine fois. L'application ne pourra pas demander des permissions supplémentaires sans votre consentement.\",\n  \"consent.remember-tooltip\": \"mémoriser ma décision\",\n  \"consent.requested-permissions-label\": \"L'application demande l'accès aux permissions suivantes :\",\n  \"consent.terms-of-service-label\": \"Conditions d'utilisation\",\n  \"error.back-button\": \"Revenir en arrière\",\n  \"error.description\": \"Une erreur est survenue avec le message suivant :\",\n  \"error.support-email-link\": \"Si le problème persiste, veuillez contacter <a>{contactSupportEmail}</a>\",\n  \"error.title\": \"Une erreur est survenue\",\n  \"error.title-internal-server-error\": \"Erreur interne du serveur\",\n  \"error.title-not-found\": \"404 - Page non trouvée\",\n  \"identities.messages.1010001\": \"Se connecter\",\n  \"identities.messages.1010002\": \"Se connecter avec {provider}\",\n  \"identities.messages.1010003\": \"Veuillez confirmer cette action en vérifiant que c'est bien vous.\",\n  \"identities.messages.1010004\": \"Veuillez terminer le deuxième défi d'authentification.\",\n  \"identities.messages.1010005\": \"Vérifier\",\n  \"identities.messages.1010006\": \"Code d'authentification\",\n  \"identities.messages.1010007\": \"Code de récupération de secours\",\n  \"identities.messages.1010008\": \"Continuer avec la clé matérielle\",\n  \"identities.messages.1010009\": \"Continuer\",\n  \"identities.messages.1010010\": \"Continuer\",\n  \"identities.messages.1010011\": \"Continuer avec la clé de sécurité\",\n  \"identities.messages.1010012\": \"Préparez votre appareil WebAuthn (par exemple, une clé de sécurité, un scanner biométrique, ...) et appuyez sur Continuer.\",\n  \"identities.messages.1010013\": \"Continuer\",\n  \"identities.messages.1010014\": \"Un e-mail contenant un code a été envoyé à l'adresse e-mail que vous avez fournie. Si vous n'avez pas reçu d'e-mail, vérifiez l'orthographe de l'adresse et réessayez la connexion.\",\n  \"identities.messages.1010015\": \"Se connecter avec un code\",\n  \"identities.messages.1040001\": \"S'inscrire\",\n  \"identities.messages.1040002\": \"S'inscrire avec {provider}\",\n  \"identities.messages.1040003\": \"Continuer\",\n  \"identities.messages.1040004\": \"S'inscrire avec une clé de sécurité\",\n  \"identities.messages.1040005\": \"Un e-mail contenant un code a été envoyé à l'adresse e-mail que vous avez fournie. Si vous n'avez pas reçu d'e-mail, vérifiez l'orthographe de l'adresse et réessayez l'inscription.\",\n  \"identities.messages.1040006\": \"S'inscrire avec un code\",\n  \"identities.messages.1050001\": \"Vos modifications ont été enregistrées avec succès !\",\n  \"identities.messages.1050002\": \"Lier {provider}\",\n  \"identities.messages.1050003\": \"Délier {provider}\",\n  \"identities.messages.1050004\": \"Délier l'application d'authentification TOTP\",\n  \"identities.messages.1050005\": \"Code QR de l'application d'authentification\",\n  \"identities.messages.1050006\": \"{secret}\",\n  \"identities.messages.1050007\": \"Afficher les codes de récupération de secours\",\n  \"identities.messages.1050008\": \"Générer de nouveaux codes de récupération de secours\",\n  \"identities.messages.1050009\": \"{secret}\",\n  \"identities.messages.1050010\": \"Ce sont vos codes de récupération de secours. Veuillez les conserver dans un endroit sûr !\",\n  \"identities.messages.1050011\": \"Confirmer les codes de récupération de secours\",\n  \"identities.messages.1050012\": \"Ajouter une clé de sécurité\",\n  \"identities.messages.1050013\": \"Nom de la clé de sécurité\",\n  \"identities.messages.1050014\": \"<del>Utilisé</del>\",\n  \"identities.messages.1050015\": \"{secrets_list}\",\n  \"identities.messages.1050016\": \"Désactiver cette méthode\",\n  \"identities.messages.1050017\": \"Il s'agit de votre code secret de l'application d'authentification. Utilisez-le si vous ne pouvez pas scanner le code QR.\",\n  \"identities.messages.1050018\": \"Supprimer la clé de sécurité \\\"{display_name}\\\"\",\n  \"identities.messages.1060001\": \"Vous avez réussi à récupérer votre compte. Veuillez changer votre mot de passe ou configurer une méthode de connexion alternative (par exemple, une connexion sociale) dans les prochaines {privileged_session_expires_at_unix_until_minutes} minutes.\",\n  \"identities.messages.1060002\": \"Un e-mail contenant un lien de récupération a été envoyé à l'adresse e-mail que vous avez fournie. Si vous n'avez pas reçu d'e-mail, vérifiez l'orthographe de l'adresse et assurez-vous d'utiliser l'adresse avec laquelle vous vous êtes enregistré.\",\n  \"identities.messages.1060003\": \"Un e-mail contenant un code de récupération a été envoyé à l'adresse e-mail que vous avez fournie. Si vous n'avez pas reçu d'e-mail, vérifiez l'orthographe de l'adresse et assurez-vous d'utiliser l'adresse avec laquelle vous vous êtes enregistré.\",\n  \"identities.messages.1070001\": \"Mot de passe\",\n  \"identities.messages.1070002\": \"{title}\",\n  \"identities.messages.1070003\": \"Enregistrer\",\n  \"identities.messages.1070004\": \"ID\",\n  \"identities.messages.1070005\": \"Soumettre\",\n  \"identities.messages.1070006\": \"Vérifier le code\",\n  \"identities.messages.1070007\": \"E-mail\",\n  \"identities.messages.1070008\": \"Renvoyer le code\",\n  \"identities.messages.1070009\": \"Continuer\",\n  \"identities.messages.1070010\": \"Code de récupération\",\n  \"identities.messages.1070011\": \"Code de vérification\",\n  \"identities.messages.1070012\": \"Code d'inscription\",\n  \"identities.messages.1070013\": \"Code de connexion\",\n  \"identities.messages.1080001\": \"Un e-mail contenant un lien de vérification a été envoyé à l'adresse e-mail que vous avez fournie. Si vous n'avez pas reçu d'e-mail, vérifiez l'orthographe de l'adresse et assurez-vous d'utiliser l'adresse avec laquelle vous vous êtes enregistré.\",\n  \"identities.messages.1080002\": \"Vous avez réussi à vérifier votre adresse e-mail.\",\n  \"identities.messages.1080003\": \"Un e-mail contenant un code de vérification a été envoyé à l'adresse e-mail que vous avez fournie. Si vous n'avez pas reçu d'e-mail, vérifiez l'orthographe de l'adresse et assurez-vous d'utiliser l'adresse avec laquelle vous vous êtes enregistré.\",\n  \"identities.messages.4000001\": \"{reason}\",\n  \"identities.messages.4000002\": \"La propriété {property} est manquante.\",\n  \"identities.messages.4000003\": \"La longueur doit être >= {min_length}, mais a été {actual_length}\",\n  \"identities.messages.4000004\": \"Ne correspond pas au motif \\\"{pattern}\\\"\",\n  \"identities.messages.4000005\": \"Le mot de passe ne peut pas être utilisé en raison de {reason}.\",\n  \"identities.messages.4000006\": \"Les informations d'identification fournies sont invalides. Veuillez vérifier les fautes d'orthographe dans votre mot de passe ou nom d'utilisateur, adresse e-mail ou numéro de téléphone.\",\n  \"identities.messages.4000007\": \"Un compte avec le même identifiant (e-mail, téléphone, nom d'utilisateur, ...) existe déjà.\",\n  \"identities.messages.4000008\": \"Le code d'authentification fourni est invalide. Veuillez réessayer.\",\n  \"identities.messages.4000009\": \"Impossible de trouver des identifiants de connexion. Avez-vous oublié de les configurer ? Cela peut également être dû à une mauvaise configuration du serveur.\",\n  \"identities.messages.4000010\": \"Le compte n'est pas encore actif. Avez-vous oublié de vérifier votre adresse e-mail ?\",\n  \"identities.messages.4000011\": \"Vous n'avez pas configuré de dispositif TOTP.\",\n  \"identities.messages.4000012\": \"Ce code de récupération de secours a déjà été utilisé.\",\n  \"identities.messages.4000013\": \"Vous n'avez pas configuré de dispositif WebAuthn.\",\n  \"identities.messages.4000014\": \"Vous n'avez pas configuré de codes de récupération de secours.\",\n  \"identities.messages.4000015\": \"Ce compte n'existe pas ou n'a pas configuré de clé de sécurité.\",\n  \"identities.messages.4000016\": \"Le code de récupération de secours n'est pas valide.\",\n  \"identities.messages.4000017\": \"La longueur doit être <= {max_length}, mais a été {actual_length}\",\n  \"identities.messages.4000018\": \"Doit être >= {minimum} mais a été {actual}\",\n  \"identities.messages.4000019\": \"Doit être > {minimum} mais a été {actual}\",\n  \"identities.messages.4000020\": \"Doit être <= {maximum} mais a été {actual}\",\n  \"identities.messages.4000021\": \"Doit être < {maximum} mais a été {actual}\",\n  \"identities.messages.4000022\": \"{actual} n'est pas multiple de {base}\",\n  \"identities.messages.4000023\": \"Un maximum de {max_items} éléments est autorisé, mais {actual_items} éléments ont été trouvés\",\n  \"identities.messages.4000024\": \"Un minimum de {min_items} éléments est autorisé, mais {actual_items} éléments ont été trouvés\",\n  \"identities.messages.4000025\": \"Les éléments aux indices {index_a} et {index_b} sont égaux\",\n  \"identities.messages.4000026\": \"Les types autorisés étaient {allowed_types_list}, mais le type actuel est {actual_type}\",\n  \"identities.messages.4000027\": \"Un compte avec le même identifiant (e-mail, téléphone, nom d'utilisateur, ...) existe déjà. Veuillez vous connecter à votre compte existant et lier votre profil social dans la page des paramètres.\",\n  \"identities.messages.4000028\": \"Vous avez essayé de vous connecter avec {credential_identifier_hint} qui est déjà utilisé par un autre compte. Vous pouvez vous connecter en utilisant {available_credential_types_list}. Vous pouvez vous connecter en utilisant l'un des fournisseurs de connexion sociale suivants : {Available_oidc_providers_list}.\",\n  \"identities.messages.4000029\": \"Doit être égal à la constante {expected}\",\n  \"identities.messages.4000030\": \"Échec de la constante\",\n  \"identities.messages.4000031\": \"Le mot de passe ne peut pas être utilisé car il est trop similaire à l'identifiant.\",\n  \"identities.messages.4000032\": \"Le mot de passe doit comporter au moins {min_length} caractères, mais en comporte {actual_length}.\",\n  \"identities.messages.4000033\": \"Le mot de passe doit comporter au plus {max_length} caractères, mais en comporte {actual_length}.\",\n  \"identities.messages.4000034\": \"Le mot de passe a été trouvé dans des violations de données et ne doit plus être utilisé.\",\n  \"identities.messages.4000035\": \"Ce compte n'existe pas ou n'a pas configuré de connexion avec code.\",\n  \"identities.messages.4000036\": \"Les traits fournis ne correspondent pas aux traits associés précédemment à ce flux.\",\n  \"identities.messages.4010001\": \"Le flux de connexion a expiré il y a {expired_at_unix_since_minutes} minutes, veuillez réessayer.\",\n  \"identities.messages.4010002\": \"Impossible de trouver une stratégie pour vous connecter. Avez-vous rempli correctement le formulaire ?\",\n  \"identities.messages.4010003\": \"Impossible de trouver une stratégie pour vous inscrire. Avez-vous rempli correctement le formulaire ?\",\n  \"identities.messages.4010004\": \"Impossible de trouver une stratégie pour mettre à jour vos paramètres. Avez-vous rempli correctement le formulaire ?\",\n  \"identities.messages.4010005\": \"Impossible de trouver une stratégie pour récupérer votre compte. Avez-vous rempli correctement le formulaire ?\",\n  \"identities.messages.4010006\": \"Impossible de trouver une stratégie pour vérifier votre compte. Avez-vous rempli correctement le formulaire ?\",\n  \"identities.messages.4010007\": \"La demande a déjà été effectuée avec succès et ne peut pas être réessayée.\",\n  \"identities.messages.4010008\": \"Le code de connexion est invalide ou a déjà été utilisé. Veuillez réessayer.\",\n  \"identities.messages.4040001\": \"Le flux d'inscription a expiré il y a {expired_at_unix_since_minutes} minutes, veuillez réessayer.\",\n  \"identities.messages.4040002\": \"La demande a déjà été effectuée avec succès et ne peut pas être réessayée.\",\n  \"identities.messages.4040003\": \"Le code d'inscription est invalide ou a déjà été utilisé. Veuillez réessayer.\",\n  \"identities.messages.4050001\": \"Le flux de paramètres a expiré il y a {expired_at_unix_since_minutes} minutes, veuillez réessayer.\",\n  \"identities.messages.4060001\": \"La demande a déjà été effectuée avec succès et ne peut pas être réessayée.\",\n  \"identities.messages.4060002\": \"Le flux de récupération a atteint un état d'échec et doit être réessayé.\",\n  \"identities.messages.4060004\": \"Le jeton de récupération est invalide ou a déjà été utilisé. Veuillez réessayer le flux.\",\n  \"identities.messages.4060005\": \"Le flux de récupération a expiré il y a {expired_at_unix_since_minutes} minutes, veuillez réessayer.\",\n  \"identities.messages.4060006\": \"Le code de récupération est invalide ou a déjà été utilisé. Veuillez réessayer.\",\n  \"identities.messages.4070001\": \"Le jeton de vérification est invalide ou a déjà été utilisé. Veuillez réessayer le flux.\",\n  \"identities.messages.4070002\": \"La demande a déjà été effectuée avec succès et ne peut pas être réessayée.\",\n  \"identities.messages.4070003\": \"Le flux de vérification a atteint un état d'échec et doit être réessayé.\",\n  \"identities.messages.4070005\": \"Le flux de vérification a expiré il y a {expired_at_unix_since_minutes} minutes, veuillez réessayer.\",\n  \"identities.messages.4070006\": \"Le code de vérification est invalide ou a déjà été utilisé. Veuillez réessayer.\",\n  \"identities.messages.5000001\": \"{reason}\",\n  \"login.forgot-password\": \"Mot de passe oublié ?\",\n  \"login.logged-in-as-label\": \"Vous êtes connecté en tant que :\",\n  \"login.logout-button\": \"Déconnexion\",\n  \"login.logout-label\": \"Quelque chose ne fonctionne pas ?\",\n  \"login.registration-button\": \"S'inscrire\",\n  \"login.registration-label\": \"Vous n'avez pas de compte ?\",\n  \"login.subtitle-oauth2\": \"Pour vous authentifier sur {clientName}\",\n  \"login.title\": \"Se connecter\",\n  \"login.title-aal2\": \"Authentification à deux facteurs\",\n  \"login.subtitle-aal2\": \"Choisissez une méthode pour compléter votre authentification à deux facteurs\",\n  \"login.code.subtitle\": \"Un code de vérification sera envoyé par e-mail\",\n  \"login.webauthn.subtitle\": \"Veuillez préparer votre dispositif WebAuthN\",\n  \"login.totp.subtitle\": \"Veuillez saisir le code généré par votre application d'authentification\",\n  \"login.lookup_secret.subtitle\": \"Veuillez saisir l'un de vos codes de récupération de secours à 8 chiffres\",\n  \"login.title-refresh\": \"Confirmez que c'est bien vous\",\n  \"login.2fa.go-back\": \"Quelque chose ne fonctionne pas ?\",\n  \"login.2fa.go-back.link\": \"Retour\",\n  \"login.2fa.method.go-back\": \"Choisir une autre méthode\",\n  \"logout.accept-button\": \"Oui\",\n  \"logout.reject-button\": \"Non\",\n  \"logout.title\": \"Souhaitez-vous vous déconnecter ?\",\n  \"recovery.login-button\": \"Se connecter\",\n  \"recovery.login-label\": \"Vous souvenez-vous de vos informations d'identification ?\",\n  \"recovery.title\": \"Récupérer votre compte\",\n  \"registration.login-button\": \"Se connecter\",\n  \"registration.login-label\": \"Vous avez déjà un compte ?\",\n  \"registration.subtitle-oauth2\": \"Pour vous authentifier sur {clientName}\",\n  \"registration.title\": \"Créer un compte\",\n  \"settings.navigation-back-button\": \"Revenir en arrière\",\n  \"settings.navigation-backup-codes\": \"Codes de secours 2FA\",\n  \"settings.navigation-logout\": \"Déconnexion\",\n  \"settings.navigation-oidc\": \"Connexion sociale\",\n  \"settings.navigation-password\": \"Mot de passe\",\n  \"settings.navigation-profile\": \"Profil\",\n  \"settings.navigation-totp\": \"Application d'authentification TOTP\",\n  \"settings.navigation-webauthn\": \"Tokens matériels\",\n  \"settings.navigation-passkey\": \"Passkeys\",\n  \"settings.subtitle-instructions\": \"Ici, vous pouvez gérer les paramètres liés à votre compte. Gardez à l'esprit que certaines actions nécessitent une nouvelle authentification.\",\n  \"settings.title\": \"Paramètres du compte\",\n  \"verification.registration-button\": \"S'inscrire\",\n  \"verification.registration-label\": \"Vous n'avez pas de compte ?\",\n  \"verification.title\": \"Vérifiez votre compte\",\n  \"verification.back-button\": \"Revenir en arrière\",\n  \"two-step.code.description\": \"Un code de vérification sera envoyé à votre email\",\n  \"two-step.code.title\": \"Code de courrier électronique\",\n  \"two-step.passkey.description\": \"Utilisez l'appareil pour la reconnaissance d'empreintes digitales ou de visage\",\n  \"two-step.passkey.title\": \"Clé de passe (recommandée)\",\n  \"two-step.passkey.description.error\": \"Impossible de charger les bibliothèques nécessaires pour utiliser votre Passkey. Veuillez réessayer plus tard.\",\n  \"two-step.password.description\": \"Entrez votre mot de passe associé à votre compte\",\n  \"two-step.password.title\": \"Mot de passe\",\n  \"two-step.webauthn.title\": \"Clé de Sécurité\",\n  \"two-step.webauthn.description\": \"Utilisez votre clé de sécurité pour vous authentifier\",\n  \"two-step.totp.title\": \"Utilisez votre application d'authentification (TOTP)\",\n  \"two-step.totp.description\": \"Utilisez un code à usage unique à 6 chiffres provenant de votre application d'authentification\",\n  \"two-step.lookup_secret.title\": \"Code de récupération de secours\",\n  \"two-step.lookup_secret.description\": \"Utilisez l'un de vos codes de secours à 8 chiffres pour vous authentifier\",\n  \"settings.totp.info.linked\": \"Vous avez actuellement une application d'authentification connectée.\",\n  \"settings.totp.info.not-linked\": \"Pour activer, scannez le QR code avec votre authentificateur et entrez le code.\",\n  \"settings.totp.title\": \"Application d'authentification\",\n  \"settings.totp.description\": \"Ajoutez une application d'authentification TOTP à votre compte pour améliorer la sécurité de votre compte. Les applications d'authentification populaires sont LastPass et Google Authenticator.\",\n  \"consent.title\": \"Autoriser {party}\",\n  \"consent.subtitle\": \"Une application tierce souhaite accéder aux informations associées à votre compte {identifier}.\",\n  \"consent.scope.openid.title\": \"Identité\",\n  \"consent.scope.openid.description\": \"Permet à l'application de vérifier votre identité. Cela est nécessaire pour l'authentification et une expérience de connexion fiable.\",\n  \"consent.scope.offline_access.title\": \"Accès hors ligne\",\n  \"consent.scope.offline_access.description\": \"Permet à cette application de vous maintenir connecté même lorsque vous ne l'utilisez pas activement.\",\n  \"consent.scope.profile.title\": \"Informations de profil\",\n  \"consent.scope.profile.description\": \"Permet l'accès aux détails de base de votre profil, y compris votre nom d'utilisateur, prénom et nom.\",\n  \"consent.scope.email.title\": \"Adresse e-mail\",\n  \"consent.scope.email.description\": \"Récupère votre adresse e-mail et son statut de vérification.\",\n  \"consent.scope.address.title\": \"Adresse physique\",\n  \"consent.scope.address.description\": \"Accède à votre adresse postale.\",\n  \"consent.scope.phone.title\": \"Numéro de téléphone\",\n  \"consent.scope.phone.description\": \"Récupère votre numéro de téléphone et son statut de vérification.\",\n  \"identities.messages.1010016\": \"Vous avez essayé de vous connecter avec « {duplicateIdentifier} », mais cet e-mail est déjà utilisé par un autre compte. Connectez-vous à votre compte avec l'une des options ci-dessous pour ajouter votre compte « {duplicateIdentifier} » sur « {provider} » comme autre moyen de vous connecter.\",\n  \"identities.messages.1010017\": \"Se connecter et lier\",\n  \"identities.messages.1010018\": \"Confirmer avec {provider}\",\n  \"identities.messages.1010019\": \"Demander un code pour continuer\",\n  \"identities.messages.1010021\": \"Se connecter avec une clé d'accès\",\n  \"identities.messages.1010022\": \"Se connecter avec un mot de passe\",\n  \"identities.messages.1010023\": \"Envoyer le code à {address}\",\n  \"identities.messages.1040007\": \"S'inscrire avec une clé d'accès\",\n  \"identities.messages.1040008\": \"Retour\",\n  \"identities.messages.1040009\": \"Veuillez choisir une identification pour vous authentifier.\",\n  \"identities.messages.1050019\": \"Ajouter une clé d'accès\",\n  \"identities.messages.1050020\": \"Supprimer la clé d'accès « {display_name} »\",\n  \"identities.messages.1070014\": \"Se connecter et lier l'identification\",\n  \"identities.messages.1070015\": \"Veuillez compléter le défi captcha pour continuer.\",\n  \"identities.messages.4000037\": \"Ce compte n'existe pas ou n'a aucune méthode de connexion configurée.\",\n  \"identities.messages.4000038\": \"La vérification Captcha a échoué, veuillez réessayer.\",\n  \"identities.messages.4010009\": \"Les identifications liées ne correspondent pas.\",\n  \"identities.messages.4010010\": \"L'adresse que vous avez saisie ne correspond à aucune adresse connue dans le compte actuel.\",\n  \"login.cancel-button\": \"Annuler\",\n  \"login.cancel-label\": \"Ce n'est pas le bon compte\\u00a0?\",\n  \"login.subtitle\": \"Se connecter avec {parts}\",\n  \"login.subtitle-refresh\": \"Confirmez votre identité avec {parts}\",\n  \"recovery.subtitle\": \"Saisissez l'adresse e-mail associée à votre compte pour recevoir un code d'accès unique\",\n  \"registration.subtitle\": \"S'inscrire avec {parts}\",\n  \"settings.subtitle\": \"Mettre à jour les paramètres de votre compte\",\n  \"settings.title-lookup-secret\": \"Gérer les codes de récupération de sauvegarde 2FA\",\n  \"settings.title-navigation\": \"Paramètres du compte\",\n  \"settings.title-oidc\": \"Connexion via les réseaux sociaux\",\n  \"settings.title-password\": \"Changer le mot de passe\",\n  \"settings.title-profile\": \"Paramètres du profil\",\n  \"settings.title-totp\": \"Gérer l'application d'authentification 2FA TOTP\",\n  \"settings.title-webauthn\": \"Gérer les jetons matériels\",\n  \"settings.title-passkey\": \"Gérer les clés d'accès\",\n  \"settings.navigation.title\": \"Paramètres du compte\",\n  \"settings.password.title\": \"Changer le mot de passe\",\n  \"settings.password.description\": \"Modifier votre mot de passe\",\n  \"settings.profile.title\": \"Paramètres du profil\",\n  \"settings.profile.description\": \"Mettre à jour les informations de votre profil\",\n  \"settings.webauthn.title\": \"Gérer les jetons matériels\",\n  \"settings.webauthn.description\": \"Gérer les paramètres de votre jeton matériel\",\n  \"settings.messages.toast-title.success\": \"Paramètres mis à jour avec succès\",\n  \"settings.messages.toast-title.error\": \"Échec de la mise à jour des paramètres\",\n  \"verification.subtitle\": \"Saisissez l'adresse e-mail associée à votre compte pour la vérifier\",\n  \"input.placeholder\": \"Saisissez votre {placeholder}\",\n  \"card.header.parts.oidc\": \"un fournisseur de réseaux sociaux\",\n  \"card.header.parts.password.registration\": \"votre {identifierLabel} et un mot de passe\",\n  \"card.header.parts.password.login\": \"votre {identifierLabel} et votre mot de passe\",\n  \"card.header.parts.passkey\": \"une clé d'accès\",\n  \"card.header.parts.webauthn\": \"une clé de sécurité\",\n  \"card.header.parts.identifier-first\": \"votre {identifierLabel}\",\n  \"card.header.parts.code\": \"un code à usage unique\",\n  \"card.header.parts.totp\": \"votre application d'authentification\",\n  \"card.header.parts.lookup_secret\": \"un code de récupération de secours\",\n  \"card.header.description.login\": \"Se connecter avec {identifierLabel}\",\n  \"card.header.description.registration\": \"S'inscrire avec {identifierLabel}\",\n  \"misc.or\": \"ou\",\n  \"forms.label.forgot-password\": \"Mot de passe oublié?\",\n  \"forms.label.recover-account\": \"Récupérer le compte\",\n  \"settings.lookup_secret.title\": \"Codes de récupération de sauvegarde (second facteur)\",\n  \"settings.lookup_secret.description\": \"Les codes de récupération sont une sauvegarde sécurisée pour l'authentification à deux facteurs (2FA), vous permettant de retrouver l'accès à votre compte si vous perdez votre appareil 2FA.\",\n  \"settings.oidc.title\": \"Comptes connectés\",\n  \"settings.oidc.description\": \"Connectez un fournisseur de connexion sociale à votre compte.\",\n  \"settings.oidc.info\": \"Les comptes connectés de ces fournisseurs peuvent être utilisés pour vous connecter à votre compte\",\n  \"settings.webauthn.info\": \"Les jetons matériels sont utilisés pour l'authentification à deux facteurs ou comme premier facteur avec les clés d'accès\",\n  \"settings.passkey.title\": \"Gérer les clés d'accès\",\n  \"settings.passkey.description\": \"Gérer les paramètres de vos clés d'accès\",\n  \"settings.passkey.info\": \"Gérer les paramètres de vos clés d'accès\",\n  \"card.footer.select-another-method\": \"Sélectionner une autre méthode\",\n  \"account-linking.title\": \"Lier le compte\",\n  \"property.password\": \"mot de passe\",\n  \"property.email\": \"e-mail\",\n  \"property.phone\": \"téléphone\",\n  \"property.username\": \"nom d'utilisateur\",\n  \"property.identifier\": \"identifiant\",\n  \"property.code\": \"code\",\n  \"error.title.what-happened\": \"Que s'est-il passé?\",\n  \"error.title.what-can-i-do\": \"Que puis-je faire?\",\n  \"error.instructions\": \"Veuillez réessayer dans quelques minutes ou contacter l'opérateur du site Web.\",\n  \"error.footer.text\": \"Lorsque vous signalez cette erreur, veuillez inclure les informations suivantes:\",\n  \"error.footer.copy\": \"Copier\",\n  \"error.action.go-back\": \"Retour\",\n  \"identities.messages.1010020\": \"\"\n}\n","{\n  \"consent.action-accept\": \"Toestaan\",\n  \"consent.action-reject\": \"Weigeren\",\n  \"consent.description\": \"Verleen alleen toestemming als u deze site of app vertrouwt. U hoeft niet alle toestemmingen te accepteren.\",\n  \"consent.privacy-policy-label\": \"Privacybeleid\",\n  \"consent.remember-label\": \"Onthoud deze beslissing voor de volgende keer. De toepassing kan geen aanvullende toestemming vragen zonder uw toestemming.\",\n  \"consent.remember-tooltip\": \"Onthoud mijn beslissing\",\n  \"consent.requested-permissions-label\": \"De toepassing vraagt toegang tot de volgende toestemmingen:\",\n  \"consent.terms-of-service-label\": \"Gebruiksvoorwaarden\",\n  \"error.back-button\": \"Ga terug\",\n  \"error.description\": \"Er is een fout opgetreden met de volgende melding:\",\n  \"error.support-email-link\": \"Als het probleem aanhoudt, neem dan contact op met <a>{contactSupportEmail}</a>\",\n  \"error.title\": \"Er is een fout opgetreden\",\n  \"error.title-internal-server-error\": \"Interne serverfout\",\n  \"error.title-not-found\": \"404 - Pagina niet gevonden\",\n  \"identities.messages.1010001\": \"Aanmelden\",\n  \"identities.messages.1010002\": \"Aanmelden met {provider}\",\n  \"identities.messages.1010003\": \"Bevestig deze actie door te verifiëren dat u het bent.\",\n  \"identities.messages.1010004\": \"Voltooi alstublieft de tweede authenticatie-uitdaging.\",\n  \"identities.messages.1010005\": \"Verifiëren\",\n  \"identities.messages.1010006\": \"Verificatiecode\",\n  \"identities.messages.1010007\": \"Back-up herstelcode\",\n  \"identities.messages.1010008\": \"Ga verder met hardware-sleutel\",\n  \"identities.messages.1010009\": \"Doorgaan\",\n  \"identities.messages.1010010\": \"Doorgaan\",\n  \"identities.messages.1010011\": \"Doorgaan met beveiligingssleutel\",\n  \"identities.messages.1010012\": \"Bereid uw WebAuthn-apparaat voor (bijv. beveiligingssleutel, biometrische scanner, ...) en druk op doorgaan.\",\n  \"identities.messages.1010013\": \"Doorgaan\",\n  \"identities.messages.1010014\": \"Er is een e-mail met een code verzonden naar het opgegeven e-mailadres. Als u geen e-mail heeft ontvangen, controleer dan de spelling van het adres en probeer opnieuw in te loggen.\",\n  \"identities.messages.1010015\": \"Aanmelden met code\",\n  \"identities.messages.1040001\": \"Registreren\",\n  \"identities.messages.1040002\": \"Registreren met {provider}\",\n  \"identities.messages.1040003\": \"Doorgaan\",\n  \"identities.messages.1040004\": \"Registreren met beveiligingssleutel\",\n  \"identities.messages.1040005\": \"Er is een e-mail met een code verzonden naar het opgegeven e-mailadres. Als u geen e-mail heeft ontvangen, controleer dan de spelling van het adres en probeer opnieuw te registreren.\",\n  \"identities.messages.1040006\": \"Registreren met code\",\n  \"identities.messages.1050001\": \"Uw wijzigingen zijn opgeslagen!\",\n  \"identities.messages.1050002\": \"Koppelen aan {provider}\",\n  \"identities.messages.1050003\": \"Ontkoppelen van {provider}\",\n  \"identities.messages.1050004\": \"Ontkoppelen van TOTP Authenticator-app\",\n  \"identities.messages.1050005\": \"QR-code voor Authenticator-app\",\n  \"identities.messages.1050006\": \"{secret}\",\n  \"identities.messages.1050007\": \"Toon back-up herstelcodes\",\n  \"identities.messages.1050008\": \"Nieuwe back-up herstelcodes genereren\",\n  \"identities.messages.1050009\": \"{secret}\",\n  \"identities.messages.1050010\": \"Dit zijn uw back-up herstelcodes. Bewaar ze op een veilige plaats!\",\n  \"identities.messages.1050011\": \"Bevestig back-up herstelcodes\",\n  \"identities.messages.1050012\": \"Beveiligingssleutel toevoegen\",\n  \"identities.messages.1050013\": \"Naam van de beveiligingssleutel\",\n  \"identities.messages.1050014\": \"<del>Gebruikt</del>\",\n  \"identities.messages.1050015\": \"{secrets_list}\",\n  \"identities.messages.1050016\": \"Deze methode uitschakelen\",\n  \"identities.messages.1050017\": \"Dit is uw geheime Authenticator-app. Gebruik het als u de QR-code niet kunt scannen.\",\n  \"identities.messages.1050018\": \"Beveiligingssleutel verwijderen \\\"{display_name}\\\"\",\n  \"identities.messages.1060001\": \"U heeft met succes uw account hersteld. Wijzig alstublieft uw wachtwoord of stel een alternatieve aanmeldingsmethode in (bijv. sociale aanmelding) binnen de komende {privileged_session_expires_at_unix_until_minutes} minuten.\",\n  \"identities.messages.1060002\": \"Er is een e-mail met een herstelkoppeling verzonden naar het opgegeven e-mailadres. Als u geen e-mail heeft ontvangen, controleer dan de spelling van het e-mailadres en zorg ervoor dat u het e-mailadres gebruikt waarmee u zich heeft geregistreerd.\",\n  \"identities.messages.1060003\": \"Er is een e-mail met een herstelcode verzonden naar het opgegeven e-mailadres. Als u geen e-mail heeft ontvangen, controleer dan de spelling van het e-mailadres en zorg ervoor dat u het e-mailadres gebruikt waarmee u zich heeft geregistreerd.\",\n  \"identities.messages.1070001\": \"Wachtwoord\",\n  \"identities.messages.1070002\": \"{title}\",\n  \"identities.messages.1070003\": \"Opslaan\",\n  \"identities.messages.1070004\": \"ID\",\n  \"identities.messages.1070005\": \"Verzenden\",\n  \"identities.messages.1070006\": \"Verificatiecode controleren\",\n  \"identities.messages.1070007\": \"E-mail\",\n  \"identities.messages.1070008\": \"Code opnieuw verzenden\",\n  \"identities.messages.1070009\": \"Doorgaan\",\n  \"identities.messages.1070010\": \"Herstelcode\",\n  \"identities.messages.1070011\": \"Verificatiecode\",\n  \"identities.messages.1070012\": \"Registratiecode\",\n  \"identities.messages.1070013\": \"Aanmeldingscode\",\n  \"identities.messages.1080001\": \"Er is een e-mail met een verificatielink naar het opgegeven e-mailadres gestuurd. Als je geen e-mail hebt ontvangen, controleer dan de spelling van het e-mailadres en zorg ervoor dat je het e-mailadres hebt gebruikt waarmee je hebt geregistreerd.\",\n  \"identities.messages.1080002\": \"Je hebt succesvol je e-mailadres geverifieerd.\",\n  \"identities.messages.1080003\": \"Er is een e-mail met een verificatiecode naar het opgegeven e-mailadres gestuurd. Als je geen e-mail hebt ontvangen, controleer dan de spelling van het e-mailadres en zorg ervoor dat je het e-mailadres hebt gebruikt waarmee je hebt geregistreerd.\",\n  \"identities.messages.4000001\": \"{reason}\",\n  \"identities.messages.4000002\": \"Eigenschap {property} ontbreekt.\",\n  \"identities.messages.4000003\": \"lengte moet >= {min_length} zijn, maar is {actual_length}\",\n  \"identities.messages.4000004\": \"komt niet overeen met patroon \\\"{pattern}\\\"\",\n  \"identities.messages.4000005\": \"Het wachtwoord kan niet worden gebruikt vanwege {reason}.\",\n  \"identities.messages.4000006\": \"De verstrekte referenties zijn ongeldig, controleer op typefouten in je wachtwoord of gebruikersnaam, e-mailadres of telefoonnummer.\",\n  \"identities.messages.4000007\": \"Er bestaat al een account met dezelfde identificatiegegevens (e-mail, telefoon, gebruikersnaam, ...).\",\n  \"identities.messages.4000008\": \"De verstrekte verificatiecode is ongeldig, probeer het opnieuw.\",\n  \"identities.messages.4000009\": \"Kon geen aanmeldingsidentificatoren vinden. Ben je ze vergeten in te stellen? Dit kan ook worden veroorzaakt door een servermisconfiguratie.\",\n  \"identities.messages.4000010\": \"Account nog niet actief. Ben je vergeten je e-mailadres te verifiëren?\",\n  \"identities.messages.4000011\": \"Je hebt geen TOTP-apparaat ingesteld.\",\n  \"identities.messages.4000012\": \"Deze herstelcode is al gebruikt.\",\n  \"identities.messages.4000013\": \"Je hebt geen WebAuthn-apparaat ingesteld.\",\n  \"identities.messages.4000014\": \"Je hebt geen herstelcodes ingesteld.\",\n  \"identities.messages.4000015\": \"Dit account bestaat niet of heeft geen beveiligingssleutel ingesteld.\",\n  \"identities.messages.4000016\": \"De herstelcode is niet geldig.\",\n  \"identities.messages.4000017\": \"lengte moet <= {max_length} zijn, maar is {actual_length}\",\n  \"identities.messages.4000018\": \"moet >= {minimum} zijn, maar is {actual}\",\n  \"identities.messages.4000019\": \"moet > {minimum} zijn, maar is {actual}\",\n  \"identities.messages.4000020\": \"moet <= {maximum} zijn, maar is {actual}\",\n  \"identities.messages.4000021\": \"moet < {maximum} zijn, maar is {actual}\",\n  \"identities.messages.4000022\": \"{actual} is geen veelvoud van {base}\",\n  \"identities.messages.4000023\": \"maximaal {max_items} items toegestaan, maar er zijn {actual_items} items gevonden\",\n  \"identities.messages.4000024\": \"minimaal {min_items} items toegestaan, maar er zijn {actual_items} items gevonden\",\n  \"identities.messages.4000025\": \"items op index {index_a} en {index_b} zijn gelijk\",\n  \"identities.messages.4000026\": \"verwacht {allowed_types_list}, maar kreeg {actual_type}\",\n  \"identities.messages.4000027\": \"Er bestaat al een account met dezelfde identificatiegegevens (e-mail, telefoon, gebruikersnaam, ...). Meld je aan bij je bestaande account en koppel je sociale profiel in de instellingenpagina.\",\n  \"identities.messages.4000028\": \"Je hebt geprobeerd in te loggen met {credential_identifier_hint}, dat al wordt gebruikt door een ander account. Je kunt inloggen met {available_credential_types_list}. Je kunt inloggen met een van de volgende sociale aanmeldingsproviders: {Available_oidc_providers_list}.\",\n  \"identities.messages.4000029\": \"moet gelijk zijn aan constante {expected}\",\n  \"identities.messages.4000030\": \"constante mislukt\",\n  \"identities.messages.4000031\": \"Het wachtwoord kan niet worden gebruikt omdat het te veel lijkt op de identificatiegegevens.\",\n  \"identities.messages.4000032\": \"Het wachtwoord moet minstens {min_length} tekens lang zijn, maar is {actual_length}.\",\n  \"identities.messages.4000033\": \"Het wachtwoord mag hoogstens {max_length} tekens lang zijn, maar is {actual_length}.\",\n  \"identities.messages.4000034\": \"Het wachtwoord is gevonden in datalekken en mag niet langer worden gebruikt.\",\n  \"identities.messages.4000035\": \"Dit account bestaat niet of heeft geen aanmelding met code ingesteld.\",\n  \"identities.messages.4000036\": \"De verstrekte kenmerken komen niet overeen met de eerder geassocieerde kenmerken met deze stroom.\",\n  \"identities.messages.4010001\": \"De aanmeldingsstroom is verlopen {expired_at_unix_since_minutes} minuten geleden, probeer het opnieuw.\",\n  \"identities.messages.4010002\": \"Kon geen strategie vinden om mee in te loggen. Heb je het formulier correct ingevuld?\",\n  \"identities.messages.4010003\": \"Kon geen strategie vinden om je mee aan te melden. Heb je het formulier correct ingevuld?\",\n  \"identities.messages.4010004\": \"Kon geen strategie vinden om je instellingen bij te werken. Heb je het formulier correct ingevuld?\",\n  \"identities.messages.4010005\": \"Kon geen strategie vinden om je account mee te herstellen. Heb je het formulier correct ingevuld?\",\n  \"identities.messages.4010006\": \"Kon geen strategie vinden om je account mee te verifiëren. Heb je het formulier correct ingevuld?\",\n  \"identities.messages.4010007\": \"Het verzoek is al met succes voltooid en kan niet opnieuw worden geprobeerd.\",\n  \"identities.messages.4010008\": \"De aanmeldingscode is ongeldig of is al gebruikt. Probeer het opnieuw.\",\n  \"identities.messages.4040001\": \"De registratie flowis verlopen {expired_at_unix_since_minutes} minuten geleden, probeer het opnieuw.\",\n  \"identities.messages.4040002\": \"Het verzoek is al met succes voltooid en kan niet opnieuw worden geprobeerd.\",\n  \"identities.messages.4040003\": \"De registratiecode is ongeldig of is al gebruikt. Probeer het opnieuw.\",\n  \"identities.messages.4050001\": \"De instellingen flow is verlopen {expired_at_unix_since_minutes} minuten geleden, probeer het opnieuw.\",\n  \"identities.messages.4060001\": \"Het verzoek is al met succes voltooid en kan niet opnieuw worden geprobeerd.\",\n  \"identities.messages.4060002\": \"De herstel flow heeft een fout bereikt en moet opnieuw worden geprobeerd.\",\n  \"identities.messages.4060004\": \"De hersteltoken is ongeldig of is al gebruikt. Probeer de flow opnieuw.\",\n  \"identities.messages.4060005\": \"De herstel flow is verlopen {expired_at_unix_since_minutes} minuten geleden, probeer het opnieuw.\",\n  \"identities.messages.4060006\": \"De herstelcode is ongeldig of is al gebruikt. Probeer het opnieuw.\",\n  \"identities.messages.4070001\": \"De verificatietoken is ongeldig of is al gebruikt. Probeer de flow opnieuw.\",\n  \"identities.messages.4070002\": \"Het verzoek is al met succes voltooid en kan niet opnieuw worden geprobeerd.\",\n  \"identities.messages.4070003\": \"De verificatie flow heeft een fout bereikt en moet opnieuw worden geprobeerd.\",\n  \"identities.messages.4070005\": \"De verificatie flow is verlopen {expired_at_unix_since_minutes} minuten geleden, probeer het opnieuw.\",\n  \"identities.messages.4070006\": \"De verificatiecode is ongeldig of is al gebruikt. Probeer het opnieuw.\",\n  \"identities.messages.5000001\": \"{reason}\",\n  \"login.forgot-password\": \"Wachtwoord vergeten?\",\n  \"login.logged-in-as-label\": \"Je bent ingelogd als:\",\n  \"login.logout-button\": \"Uitloggen\",\n  \"login.logout-label\": \"Er is iets mis?\",\n  \"login.registration-button\": \"Registreren\",\n  \"login.registration-label\": \"Heb je nog geen account?\",\n  \"login.subtitle-oauth2\": \"Om te authenticeren bij {clientName}\",\n  \"login.title\": \"Inloggen\",\n  \"login.title-aal2\": \"Tweefactorauthenticatie\",\n  \"login.subtitle-aal2\": \"Kies een manier om uw tweefactorauthenticatie te voltooien\",\n  \"login.code.subtitle\": \"Er wordt een verificatiecode per e-mail verzonden\",\n  \"login.webauthn.subtitle\": \"Bereid uw WebAuthN-apparaat voor\",\n  \"login.totp.subtitle\": \"Voer de code in die door uw Authenticator-app is gegenereerd\",\n  \"login.lookup_secret.subtitle\": \"Voer een van uw 8-cijferige back-up herstelcodes in\",\n  \"login.title-refresh\": \"Bevestig dat jij het bent\",\n  \"login.2fa.go-back\": \"Werkt er iets niet?\",\n  \"login.2fa.go-back.link\": \"Ga terug\",\n  \"login.2fa.method.go-back\": \"Kies een andere methode\",\n  \"logout.accept-button\": \"Ja\",\n  \"logout.reject-button\": \"Nee\",\n  \"logout.title\": \"Wil je uitloggen?\",\n  \"recovery.login-button\": \"Inloggen\",\n  \"recovery.login-label\": \"Herinner je je inloggegevens?\",\n  \"recovery.title\": \"Herstel je account\",\n  \"registration.login-button\": \"Inloggen\",\n  \"registration.login-label\": \"Heb je al een account?\",\n  \"registration.subtitle-oauth2\": \"Om te authenticeren bij {clientName}\",\n  \"registration.title\": \"Registreer een account\",\n  \"settings.navigation-back-button\": \"Ga terug\",\n  \"settings.navigation-backup-codes\": \"2FA Backupcodes\",\n  \"settings.navigation-logout\": \"Uitloggen\",\n  \"settings.navigation-oidc\": \"Sociaal Inloggen\",\n  \"settings.navigation-password\": \"Wachtwoord\",\n  \"settings.navigation-profile\": \"Profiel\",\n  \"settings.navigation-totp\": \"Authenticator App\",\n  \"settings.navigation-webauthn\": \"Hardware Tokens\",\n  \"settings.navigation-passkey\": \"Passkeys\",\n  \"settings.subtitle-instructions\": \"Hier kun je instellingen beheren die verband houden met je account. Houd er rekening mee dat bepaalde acties vereisen dat je opnieuw wordt geauthenticeerd.\",\n  \"settings.title\": \"Accountinstellingen\",\n  \"verification.registration-button\": \"Registreren\",\n  \"verification.registration-label\": \"Heb je nog geen account?\",\n  \"verification.title\": \"Verifieer je account\",\n  \"verification.back-button\": \"Ga terug\",\n  \"two-step.code.description\": \"Een verificatiecode wordt naar uw e-mail gestuurd\",\n  \"two-step.code.title\": \"E-mailcode\",\n  \"two-step.passkey.description\": \"Gebruik de vingerafdruk- of gezichtsherkenning van uw apparaat\",\n  \"two-step.passkey.description.error\": \"De benodigde bibliotheken om uw Passkey te gebruiken konden niet worden geladen. Probeer het later opnieuw.\",\n  \"two-step.passkey.title\": \"Toegangscode (aanbevolen)\",\n  \"two-step.password.description\": \"Voer uw wachtwoord in dat is gekoppeld aan uw account\",\n  \"two-step.password.title\": \"Wachtwoord\",\n  \"two-step.webauthn.title\": \"Beveiligingssleutel\",\n  \"two-step.webauthn.description\": \"Gebruik uw beveiligingssleutel om te verifiëren\",\n  \"two-step.totp.title\": \"Gebruik uw Authenticator-app (TOTP)\",\n  \"two-step.totp.description\": \"Gebruik een 6-cijferige eenmalige code van uw authenticator-app\",\n  \"two-step.lookup_secret.title\": \"Herstelcode\",\n  \"two-step.lookup_secret.description\": \"Gebruik een van uw 8-cijferige back-upcodes om te authenticeren\",\n  \"identities.messages.1010023\": \"\",\n  \"identities.messages.1070014\": \"\",\n  \"identities.messages.1070015\": \"\",\n  \"identities.messages.4000038\": \"\",\n  \"login.cancel-button\": \"\",\n  \"login.cancel-label\": \"\",\n  \"identities.messages.1010016\": \"\",\n  \"identities.messages.1010017\": \"\",\n  \"identities.messages.1010018\": \"\",\n  \"identities.messages.1010019\": \"\",\n  \"identities.messages.1010020\": \"\",\n  \"identities.messages.1010021\": \"\",\n  \"identities.messages.1010022\": \"\",\n  \"identities.messages.1040007\": \"\",\n  \"identities.messages.1040008\": \"\",\n  \"identities.messages.1040009\": \"\",\n  \"identities.messages.1050019\": \"\",\n  \"identities.messages.1050020\": \"\",\n  \"identities.messages.4000037\": \"\",\n  \"identities.messages.4010009\": \"\",\n  \"identities.messages.4010010\": \"\",\n  \"input.placeholder\": \"\",\n  \"card.header.description.login\": \"\",\n  \"card.header.description.registration\": \"\",\n  \"card.header.parts.code\": \"een eenmalige code\",\n  \"card.header.parts.totp\": \"je authenticator-app\",\n  \"card.header.parts.lookup_secret\": \"een backup herstelcode\",\n  \"card.header.parts.identifier-first\": \"\",\n  \"card.header.parts.oidc\": \"\",\n  \"card.header.parts.passkey\": \"\",\n  \"card.header.parts.password.login\": \"\",\n  \"card.header.parts.password.registration\": \"\",\n  \"card.header.parts.webauthn\": \"\",\n  \"forms.label.forgot-password\": \"\",\n  \"forms.label.recover-account\": \"\",\n  \"login.subtitle\": \"\",\n  \"login.subtitle-refresh\": \"\",\n  \"misc.or\": \"\",\n  \"recovery.subtitle\": \"\",\n  \"registration.subtitle\": \"\",\n  \"settings.subtitle\": \"\",\n  \"verification.subtitle\": \"\",\n  \"settings.totp.info.linked\": \"U heeft momenteel een authenticator-app verbonden.\",\n  \"settings.totp.info.not-linked\": \"Om te activeren, scan de QR-code met je authenticator en voer de code in.\",\n  \"settings.totp.title\": \"\",\n  \"settings.totp.description\": \"Voeg een TOTP Authenticator App toe aan uw account om de beveiliging van uw account te verbeteren. Populaire Authenticator Apps zijn LastPass en Google Authenticator.\",\n  \"settings.lookup_secret.description\": \"\",\n  \"settings.lookup_secret.title\": \"\",\n  \"settings.navigation.title\": \"\",\n  \"settings.oidc.description\": \"\",\n  \"settings.oidc.info\": \"\",\n  \"settings.oidc.title\": \"\",\n  \"settings.passkey.description\": \"\",\n  \"settings.passkey.info\": \"\",\n  \"settings.passkey.title\": \"\",\n  \"settings.password.description\": \"\",\n  \"settings.password.title\": \"\",\n  \"settings.profile.description\": \"\",\n  \"settings.profile.title\": \"\",\n  \"settings.title-lookup-secret\": \"\",\n  \"settings.title-navigation\": \"\",\n  \"settings.title-oidc\": \"\",\n  \"settings.title-passkey\": \"\",\n  \"settings.title-password\": \"\",\n  \"settings.title-profile\": \"\",\n  \"settings.title-totp\": \"\",\n  \"settings.title-webauthn\": \"\",\n  \"settings.webauthn.description\": \"\",\n  \"settings.webauthn.info\": \"\",\n  \"settings.webauthn.title\": \"\",\n  \"settings.messages.toast-title.success\": \"Instellingen bijgewerkt\",\n  \"settings.messages.toast-title.error\": \"Fout bij het bijwerken van instellingen\",\n  \"card.footer.select-another-method\": \"\",\n  \"account-linking.title\": \"\",\n  \"property.code\": \"\",\n  \"property.email\": \"\",\n  \"property.identifier\": \"\",\n  \"property.password\": \"\",\n  \"property.phone\": \"\",\n  \"property.username\": \"\",\n  \"consent.title\": \"Autoriseren {party}\",\n  \"consent.subtitle\": \"Een derde partij applicatie wil toegang tot informatie die aan uw account {identifier} is gekoppeld.\",\n  \"consent.scope.openid.title\": \"Identiteit\",\n  \"consent.scope.openid.description\": \"Stelt de applicatie in staat uw identiteit te verifiëren. Dit is vereist voor authenticatie en een betrouwbare inlogervaring.\",\n  \"consent.scope.offline_access.title\": \"Offline toegang\",\n  \"consent.scope.offline_access.description\": \"Stelt deze applicatie in staat u ingelogd te houden, zelfs wanneer u deze niet actief gebruikt.\",\n  \"consent.scope.profile.title\": \"Profielinformatie\",\n  \"consent.scope.profile.description\": \"Geeft toegang tot uw basisprofielgegevens, inclusief uw gebruikersnaam, voornaam en achternaam.\",\n  \"consent.scope.email.title\": \"E-mailadres\",\n  \"consent.scope.email.description\": \"Haal uw e-mailadres en de verificatiestatus ervan op.\",\n  \"consent.scope.address.title\": \"Fysiek adres\",\n  \"consent.scope.address.description\": \"Toegang tot uw postadres.\",\n  \"consent.scope.phone.title\": \"Telefoonnummer\",\n  \"consent.scope.phone.description\": \"Haal uw telefoonnummer en de verificatiestatus ervan op.\",\n  \"error.action.go-back\": \"\",\n  \"error.footer.copy\": \"\",\n  \"error.footer.text\": \"\",\n  \"error.title.what-can-i-do\": \"\",\n  \"error.title.what-happened\": \"\",\n  \"error.instructions\": \"\"\n}\n","{\n  \"consent.action-accept\": \"Zezwól\",\n  \"consent.action-reject\": \"Odmów\",\n  \"consent.description\": \"Udzielaj uprawnień tylko wtedy, gdy ufasz tej witrynie lub aplikacji. Nie musisz akceptować wszystkich uprawnień.\",\n  \"consent.privacy-policy-label\": \"Polityka Prywatności\",\n  \"consent.remember-label\": \"Zapamiętaj tę decyzję. Aplikacja nie będzie mogła prosić o dodatkowe uprawnienia bez Twojej zgody.\",\n  \"consent.remember-tooltip\": \"zapamiętaj moją decyzję\",\n  \"consent.requested-permissions-label\": \"Aplikacja żąda dostępu do następujących uprawnień:\",\n  \"consent.terms-of-service-label\": \"Warunki świadczenia usług\",\n  \"error.back-button\": \"Cofnij\",\n  \"error.description\": \"Wystąpił błąd z następującym komunikatem:\",\n  \"error.support-email-link\": \"Jeżeli problem nie ustępuje skontaktuj się z <a>{contactSupportEmail}</a>\",\n  \"error.title\": \"Wystąpił błąd\",\n  \"error.title-internal-server-error\": \"Wewnętrzny błąd serwera\",\n  \"error.title-not-found\": \"404 - Nie odnaleziono takiej strony\",\n  \"identities.messages.1010001\": \"Zaloguj się\",\n  \"identities.messages.1010002\": \"Zaloguj się za pomocą {provider}\",\n  \"identities.messages.1010003\": \"Potwierdź tę czynność, potwierdzając, że to Ty.\",\n  \"identities.messages.1010004\": \"Ukończ drugi etap uwierzytelnienia.\",\n  \"identities.messages.1010005\": \"Zweryifkuj\",\n  \"identities.messages.1010006\": \"Kod autentykacyjny\",\n  \"identities.messages.1010007\": \"Zapasowe kody odzyskiwania\",\n  \"identities.messages.1010008\": \"Kontynuuj z kluczem sprzętowym\",\n  \"identities.messages.1010009\": \"Kontynuuj\",\n  \"identities.messages.1010010\": \"Kontynuuj\",\n  \"identities.messages.1010011\": \"Kontynuuj za pomocą klucza bezpieczeństwa\",\n  \"identities.messages.1010012\": \"Przygotuj swoje urządzenie WebAuthn (np. klucz bezpieczeństwa, czytnik biometryczny, ...) a następnie kliknij kontynuuj.\",\n  \"identities.messages.1010013\": \"Kontynuuj\",\n  \"identities.messages.1010014\": \"Email zawierający kod został wysłany na wskazany adres email. Jeżeli nie otrzymasz wiadomości to sprawdź pisownię adresu i spróbuj zalogować się ponownie.\",\n  \"identities.messages.1010015\": \"Zaloguj się kodem\",\n  \"identities.messages.1040001\": \"Zarejestruj się\",\n  \"identities.messages.1040002\": \"Zarejestruj się za pomocą {provider}\",\n  \"identities.messages.1040003\": \"Kontynuuj\",\n  \"identities.messages.1040004\": \"Zarejestruj się kluczem bezpieczeństwa\",\n  \"identities.messages.1040005\": \"Email zawierający kod został wysłany na wskazany adres email. Jeżeli nie otrzymasz wiadomości to sprawdź pisownię adresu i ponów rejestrację.\",\n  \"identities.messages.1040006\": \"Zarejestruj się kodem\",\n  \"identities.messages.1050001\": \"Twoje zmiany zostały zapisane!\",\n  \"identities.messages.1050002\": \"Połącz {provider}\",\n  \"identities.messages.1050003\": \"Odłącz {provider}\",\n  \"identities.messages.1050004\": \"Odłącz Apikację Autentykator TOTP\",\n  \"identities.messages.1050005\": \"Kod QR aplikacji Autentykator\",\n  \"identities.messages.1050006\": \"{secret}\",\n  \"identities.messages.1050007\": \"Pokaż zapasowe kody odzyskiwania\",\n  \"identities.messages.1050008\": \"Wygeneruj nowe zapasowe kody odzyskiwania\",\n  \"identities.messages.1050009\": \"{secret}\",\n  \"identities.messages.1050010\": \"To są Twoje zapasowe kody odzyskiwania. Trzymaj je w bezpiecznym miejscu!\",\n  \"identities.messages.1050011\": \"Potwierdź zapasowe kody odzyskiwania\",\n  \"identities.messages.1050012\": \"Dodaj klucz bezpieczeństwa\",\n  \"identities.messages.1050013\": \"Nazwa klucza bezpieczeństwa\",\n  \"identities.messages.1050014\": \"<del>Wykorzystany</del>\",\n  \"identities.messages.1050015\": \"{secrets_list}\",\n  \"identities.messages.1050016\": \"Wyłącz tą metodę\",\n  \"identities.messages.1050017\": \"To jest sekret twojej aplikacji autentykator. Użyj go jeżeli nie możesz zeskanować kodu QR.\",\n  \"identities.messages.1050018\": \"Usuń klucz bezpieczeństwa \\\"{display_name}\\\"\",\n  \"identities.messages.1060001\": \"Pomyślnie odzyskałeś swoje konto. Proszę zmień swoję hasło lub ustanowić alternatywną methodę logowania (np. logowanie zewnętrzne) w ciągu najbliższych {privileged_session_expires_at_unix_until_minutes} minut.\",\n  \"identities.messages.1060002\": \"Email zawierający link odzyskiwania został wysłany na wskazany adres email. Jeżeli nie otrzymasz wiadomości to sprawdź pisownię adresu i upewnij się że używasz adresu użytego do rejestracji.\",\n  \"identities.messages.1060003\": \"Email zawierający kod odzyskiwania został wysłany na wskazany adres email. Jeżeli nie otrzymasz wiadomości to sprawdź pisownię adresu i upewnij się że używasz adresu użytego do rejestracji.\",\n  \"identities.messages.1070001\": \"Hasło\",\n  \"identities.messages.1070002\": \"{title}\",\n  \"identities.messages.1070003\": \"Zapisz\",\n  \"identities.messages.1070004\": \"ID\",\n  \"identities.messages.1070005\": \"Wyślij\",\n  \"identities.messages.1070006\": \"Zweryfikuj kod\",\n  \"identities.messages.1070007\": \"Email\",\n  \"identities.messages.1070008\": \"Wyślij kod ponownie\",\n  \"identities.messages.1070009\": \"Kontynuuj\",\n  \"identities.messages.1070010\": \"Kod odzyskiwania\",\n  \"identities.messages.1070011\": \"Kod weryfikacyjny\",\n  \"identities.messages.1070012\": \"Kod rejestracji\",\n  \"identities.messages.1070013\": \"Kod logowania\",\n  \"identities.messages.1080001\": \"Email zawierający link weryfikacyjny został wysłany na wskazany adres email. Jeżeli nie otrzymasz wiadomości to sprawdź pisownię adresu i upewnij się że używasz adresu użytego do rejestracji.\",\n  \"identities.messages.1080002\": \"Poprawnie zweryfikowano adres email.\",\n  \"identities.messages.1080003\": \"Email zawierający kod weryfikacyjny został wysłany na wskazany adres email. Jeżeli nie otrzymasz wiadomości to sprawdź pisownię adresu i upewnij się że używasz adresu użytego do rejestracji.\",\n  \"identities.messages.4000001\": \"{reason}\",\n  \"identities.messages.4000002\": \"Brakuje pola {property}.\",\n  \"identities.messages.4000003\": \"długość musi być >= {min_length}, otrzymano {actual_length}\",\n  \"identities.messages.4000004\": \"nie pasuje do wzoru \\\"{pattern}\\\"\",\n  \"identities.messages.4000005\": \"Hasło nie może być użyte ponieważ {reason}.\",\n  \"identities.messages.4000006\": \"Podane poświadczenia są nieprawidłowe, sprawdź czy nie ma literówek w twoim haśle, nazwie użytkownika, adresie email lub numerze telefonu.\",\n  \"identities.messages.4000007\": \"Istnieje już konto o takim samym identyfikatorze (email, telefon, nazwa użytkownika, ...).\",\n  \"identities.messages.4000008\": \"Podany kod autentykacyjny jest nieprawidłowy, spróbuj ponownie.\",\n  \"identities.messages.4000009\": \"Nie odnaleziono żadnych identyfikatorów logowania. Czy zapomniałeś je ustawić? Może też być to spowodowane nieprawidłową konfiguracją serwera.\",\n  \"identities.messages.4000010\": \"Konto nie jest jeszcze aktywne. Czy zapomniałeś/łaś zweryfikować swój adres email?\",\n  \"identities.messages.4000011\": \"Nie ustanowiono urządzenia TOTP.\",\n  \"identities.messages.4000012\": \"Ten kod odzyskiwania jest już wykorzystany.\",\n  \"identities.messages.4000013\": \"Nie ustanowiono urządzenia WebAuthn.\",\n  \"identities.messages.4000014\": \"Nie ustanowiono kodów odzyskiwania.\",\n  \"identities.messages.4000015\": \"To konto nie istnieje lub nie zezwala na logowanie kluczem odzyskiwania.\",\n  \"identities.messages.4000016\": \"Kod odzyskiwania jest nieprawidłowy.\",\n  \"identities.messages.4000017\": \"długośc musi być <= {max_length}, otrzymano {actual_length}\",\n  \"identities.messages.4000018\": \"musi być >= {minimum} otrzymano {actual}\",\n  \"identities.messages.4000019\": \"musi być > {minimum} otrzymano {actual}\",\n  \"identities.messages.4000020\": \"musi być <= {maximum} otrzymano {actual}\",\n  \"identities.messages.4000021\": \"musi być < {maximum} otrzymano {actual}\",\n  \"identities.messages.4000022\": \"{actual} nie jest wielokrotnością {base}\",\n  \"identities.messages.4000023\": \"maksymalnie {max_items} wpisów, otrzymano {actual_items} wpisów\",\n  \"identities.messages.4000024\": \"minimum {min_items} wpisów, otrzymano {actual_items} wpisów\",\n  \"identities.messages.4000025\": \"wpisów w indeksie {index_a} i {index_b} są takie same\",\n  \"identities.messages.4000026\": \"spodziewano {allowed_types_list}, otrzymano {actual_type}\",\n  \"identities.messages.4000027\": \"Istnieje już konto o takim samym identyfikatorze (email, telefon, nazwa użytkownika, ...). Zaloguj się do swojego konta i połącz swój profil zewnętrzny na stronie ustawień.\",\n  \"identities.messages.4000028\": \"Próbowano się zalogować za pomocą {credential_identifier_hint} który jest już używany przez inne konto. Możesz się zalogować za pomocą {available_credential_types_list}. Możesz się zalogować za pomocą następujących zewnętrznch dostawców logowania: {Available_oidc_providers_list}.\",\n  \"identities.messages.4000029\": \"musi być równe stałej {expected}\",\n  \"identities.messages.4000030\": \"const nie powiodła się\",\n  \"identities.messages.4000031\": \"Hasło nie może być użytę ponieważ jest zbyt podobne do identyfikatora.\",\n  \"identities.messages.4000032\": \"Hasło musi być długie na co najmniej {min_length} znaków, wprowadzono {actual_length} znaków.\",\n  \"identities.messages.4000033\": \"Hasło musi być nie dłuższe niż {max_length} znaków, wprowadzono {actual_length} znaków.\",\n  \"identities.messages.4000034\": \"Hasło wyciekło w wyniku naruszenia danych i nie może być użyte.\",\n  \"identities.messages.4000035\": \"To konto nie istnieje lub nie pozwala na logowanie kodem.\",\n  \"identities.messages.4000036\": \"Podane atrybuty nie odpowiadają atrybutom wcześniej powiązanym z tym procesem.\",\n  \"identities.messages.4010001\": \"Proces logowania wygasł {expired_at_unix_since_minutes} minut temu, spróbuj ponownie.\",\n  \"identities.messages.4010002\": \"Nie odnaleziono strategii do logowania. Czy formularz został poprawnie wypełniony?\",\n  \"identities.messages.4010003\": \"Nie odnaleziono strategii do rejestracji. Czy formularz został poprawnie wypełniony?\",\n  \"identities.messages.4010004\": \"Nie odnaleziono strategii do aktualizacji ustawień. Czy formularz został poprawnie wypełniony?\",\n  \"identities.messages.4010005\": \"Nie odnaleziono strategii do odzyskiwania konta. Czy formularz został poprawnie wypełniony?\",\n  \"identities.messages.4010006\": \"Nie odnaleziono strategii do weryfikacj konta. Czy formularz został poprawnie wypełniony?\",\n  \"identities.messages.4010007\": \"Żądanie zostało poprawnie zakończone i nie może być ponowione.\",\n  \"identities.messages.4010008\": \"Kod logowania jest niepoprawny lub został wykorzystany. Spróbuj ponownie.\",\n  \"identities.messages.4040001\": \"Proces rejestracji wygasł {expired_at_unix_since_minutes} minut temu, spróbuj ponownie.\",\n  \"identities.messages.4040002\": \"Żądanie zostało poprawnie zakończone i nie może być ponowione.\",\n  \"identities.messages.4040003\": \"Kod rejestracji jest niepoprawny lub został wykorzystany. Spróbuj ponownie.\",\n  \"identities.messages.4050001\": \"Proces ustawień wygasł {expired_at_unix_since_minutes} minut temu, spróbuj ponownie.\",\n  \"identities.messages.4060001\": \"Żądanie zostało poprawnie zakończone i nie może być ponowione.\",\n  \"identities.messages.4060002\": \"Proces odzyskiwania jest niepoprawny i musi zostać ponowiony.\",\n  \"identities.messages.4060004\": \"Token odzyskiwania jest niepoprawny lub został wykorzystany. Proszę ponowić proces.\",\n  \"identities.messages.4060005\": \"Proces odzyskiwania wygasł {expired_at_unix_since_minutes} minut temu, spróbuj ponownie.\",\n  \"identities.messages.4060006\": \"Kod odzyskiwania jest nieprawidłowy lub został wykorzystany. Spróbuj ponownie.\",\n  \"identities.messages.4070001\": \"Token weryfikacyjny jest nieprawidłowy lub został wykorzystany. Proszę ponowić proces.\",\n  \"identities.messages.4070002\": \"Żądanie zostało poprawnie zakończone i nie może być ponowione.\",\n  \"identities.messages.4070003\": \"Proces weryfikacyjny jest nieprawidłowy i musi zostać ponowiony.\",\n  \"identities.messages.4070005\": \"Proces weryfikacyjny wygasł {expired_at_unix_since_minutes} minut temu, spróbuj ponownie.\",\n  \"identities.messages.4070006\": \"Kod weryfikacyjny jest nieprawidłowy lub został wykorzystany. Spróbuj ponownie.\",\n  \"identities.messages.5000001\": \"{reason}\",\n  \"login.forgot-password\": \"Zapomniałeś/łaś hasła?\",\n  \"login.logged-in-as-label\": \"Jesteś zalogowany jako:\",\n  \"login.logout-button\": \"Wyloguj\",\n  \"login.logout-label\": \"Coś nie działa?\",\n  \"login.registration-button\": \"Zarejestruj się\",\n  \"login.registration-label\": \"Nie posiadasz konta?\",\n  \"login.subtitle-oauth2\": \"Do autentykacji {clientName}\",\n  \"login.title\": \"Zaloguj się\",\n  \"login.title-aal2\": \"Uwierzytelnianie dwuskładnikowe\",\n  \"login.subtitle-aal2\": \"Wybierz sposób, aby zakończyć uwierzytelnianie dwuskładnikowe\",\n  \"login.code.subtitle\": \"Kod weryfikacyjny zostanie wysłany e-mailem\",\n  \"login.webauthn.subtitle\": \"Proszę przygotować urządzenie WebAuthN\",\n  \"login.totp.subtitle\": \"Proszę wprowadzić kod wygenerowany przez Twoją aplikację uwierzytelniającą\",\n  \"login.lookup_secret.subtitle\": \"Proszę wprowadzić jeden z Twoich 8-cyfrowych kodów odzyskiwania zapasowego\",\n  \"login.title-refresh\": \"Potwierdź że to Ty\",\n  \"login.2fa.go-back\": \"Coś nie działa?\",\n  \"login.2fa.go-back.link\": \"Wróć\",\n  \"login.2fa.method.go-back\": \"Wybierz inną metodę\",\n  \"logout.accept-button\": \"Tak\",\n  \"logout.reject-button\": \"Nie\",\n  \"logout.title\": \"Czy chcesz się wylogować?\",\n  \"recovery.login-button\": \"Zaloguj się\",\n  \"recovery.login-label\": \"Pamiętasz dane logowania?\",\n  \"recovery.title\": \"Odzyskaj konto\",\n  \"registration.login-button\": \"Zaloguj się\",\n  \"registration.login-label\": \"Posiadasz już konto?\",\n  \"registration.subtitle-oauth2\": \"Do autentykacji {clientName}\",\n  \"registration.title\": \"Zarejestruj konto\",\n  \"settings.navigation-back-button\": \"Cofnij\",\n  \"settings.navigation-backup-codes\": \"Kody zapasowe 2FA\",\n  \"settings.navigation-logout\": \"Wyloguj\",\n  \"settings.navigation-oidc\": \"Zewnętrzne logowanie\",\n  \"settings.navigation-password\": \"Hasło\",\n  \"settings.navigation-profile\": \"Profil\",\n  \"settings.navigation-totp\": \"Aplikacja Autentykator\",\n  \"settings.navigation-webauthn\": \"Tokeny Sprzętowe\",\n  \"settings.navigation-passkey\": \"Passkeys\",\n  \"settings.subtitle-instructions\": \"Tutaj możesz zarządzać ustawieniami związanymi z Twoim kontem. Miej na uwadze że niektóre akcje mogą wymagać ponownej uwierzytelnienia.\",\n  \"settings.title\": \"Ustawienia Konta\",\n  \"verification.registration-button\": \"Zarejestruj się\",\n  \"verification.registration-label\": \"Nie posiadasz konta?\",\n  \"verification.title\": \"Zweryfikuj konto\",\n  \"verification.back-button\": \"Cofnij\",\n  \"two-step.code.description\": \"Kod weryfikacyjny zostanie wysłany na Twój adres email.\",\n  \"two-step.code.title\": \"Kod email\",\n  \"two-step.passkey.description\": \"Użyj swojego urządzenia lub funkcji rozpoznawania twarzy na swoim urządzeniu.\",\n  \"two-step.passkey.description.error\": \"Nie udało się załadować niezbędnych bibliotek do użycia Passkey. Spróbuj ponownie później.\",\n  \"two-step.passkey.title\": \"Klucz dostępu (zalecany)\",\n  \"two-step.password.description\": \"Wprowadź hasło powiązane z twoim kontem\",\n  \"two-step.password.title\": \"Hasło\",\n  \"two-step.webauthn.title\": \"Klucz bezpieczeństwa\",\n  \"two-step.webauthn.description\": \"Użyj swojego klucza bezpieczeństwa do uwierzytelnienia\",\n  \"two-step.totp.title\": \"Użyj swojej aplikacji uwierzytelniającej (TOTP)\",\n  \"two-step.totp.description\": \"Użyj 6-cyfrowego jednorazowego kodu z Twojej aplikacji uwierzytelniającej\",\n  \"two-step.lookup_secret.title\": \"Kod odzyskiwania zapasowego\",\n  \"two-step.lookup_secret.description\": \"Użyj jednego z Twoich 8-cyfrowych kodów zapasowych, aby się uwierzytelnić\",\n  \"identities.messages.1010016\": \"\",\n  \"identities.messages.1010017\": \"\",\n  \"identities.messages.1010018\": \"\",\n  \"identities.messages.1010019\": \"\",\n  \"identities.messages.1010020\": \"\",\n  \"identities.messages.1010021\": \"\",\n  \"identities.messages.1010022\": \"\",\n  \"identities.messages.1010023\": \"\",\n  \"identities.messages.1040007\": \"\",\n  \"identities.messages.1040008\": \"\",\n  \"identities.messages.1040009\": \"\",\n  \"identities.messages.1050019\": \"\",\n  \"identities.messages.1050020\": \"\",\n  \"identities.messages.1070014\": \"\",\n  \"identities.messages.1070015\": \"\",\n  \"identities.messages.4000037\": \"\",\n  \"identities.messages.4000038\": \"\",\n  \"identities.messages.4010009\": \"\",\n  \"identities.messages.4010010\": \"\",\n  \"login.cancel-button\": \"\",\n  \"login.cancel-label\": \"\",\n  \"input.placeholder\": \"\",\n  \"card.header.description.login\": \"\",\n  \"card.header.description.registration\": \"\",\n  \"card.header.parts.identifier-first\": \"\",\n  \"card.header.parts.oidc\": \"\",\n  \"card.header.parts.passkey\": \"\",\n  \"card.header.parts.password.login\": \"\",\n  \"card.header.parts.password.registration\": \"\",\n  \"card.header.parts.webauthn\": \"\",\n  \"card.header.parts.code\": \"jednorazowy kod\",\n  \"card.header.parts.totp\": \"Twoja aplikacja uwierzytelniająca\",\n  \"card.header.parts.lookup_secret\": \"kod odzyskiwania kopii zapasowej\",\n  \"forms.label.forgot-password\": \"\",\n  \"forms.label.recover-account\": \"\",\n  \"login.subtitle\": \"\",\n  \"login.subtitle-refresh\": \"\",\n  \"misc.or\": \"\",\n  \"recovery.subtitle\": \"\",\n  \"registration.subtitle\": \"\",\n  \"settings.subtitle\": \"\",\n  \"verification.subtitle\": \"\",\n  \"settings.totp.info.linked\": \"Aktualnie masz podłączoną aplikację uwierzytelniającą.\",\n  \"settings.totp.info.not-linked\": \"Aby włączyć, zeskanuj kod QR za pomocą swojego uwierzytelniającego i wprowadź kod.\",\n  \"settings.totp.title\": \"\",\n  \"settings.totp.description\": \"Dodaj aplikację do uwierzytelniania TOTP do swojego konta, aby poprawić bezpieczeństwo swojego konta. Popularne aplikacje uwierzytelniające to LastPass i Google Authenticator.\",\n  \"settings.lookup_secret.description\": \"\",\n  \"settings.lookup_secret.title\": \"\",\n  \"settings.navigation.title\": \"\",\n  \"settings.oidc.description\": \"\",\n  \"settings.oidc.info\": \"\",\n  \"settings.oidc.title\": \"\",\n  \"settings.passkey.description\": \"\",\n  \"settings.passkey.info\": \"\",\n  \"settings.passkey.title\": \"\",\n  \"settings.password.description\": \"\",\n  \"settings.password.title\": \"\",\n  \"settings.profile.description\": \"\",\n  \"settings.profile.title\": \"\",\n  \"settings.title-lookup-secret\": \"\",\n  \"settings.title-navigation\": \"\",\n  \"settings.title-oidc\": \"\",\n  \"settings.title-passkey\": \"\",\n  \"settings.title-password\": \"\",\n  \"settings.title-profile\": \"\",\n  \"settings.title-totp\": \"\",\n  \"settings.title-webauthn\": \"\",\n  \"settings.webauthn.description\": \"\",\n  \"settings.webauthn.info\": \"\",\n  \"settings.webauthn.title\": \"\",\n  \"settings.messages.toast-title.success\": \"Ustawienia zaktualizowane pomyślnie\",\n  \"settings.messages.toast-title.error\": \"Wystąpił błąd podczas aktualizacji ustawień\",\n  \"card.footer.select-another-method\": \"\",\n  \"account-linking.title\": \"\",\n  \"property.code\": \"\",\n  \"property.email\": \"\",\n  \"property.password\": \"\",\n  \"property.phone\": \"\",\n  \"property.username\": \"\",\n  \"property.identifier\": \"\",\n  \"consent.title\": \"Autoryzuj {party}\",\n  \"consent.subtitle\": \"Aplikacja trzeciej strony chce uzyskać dostęp do informacji powiązanych z Twoim kontem {identifier}.\",\n  \"consent.scope.openid.title\": \"Tożsamość\",\n  \"consent.scope.openid.description\": \"Pozwala aplikacji zweryfikować Twoją tożsamość. Jest to wymagane do uwierzytelniania i zapewnienia zaufanej sesji logowania.\",\n  \"consent.scope.offline_access.title\": \"Dostęp offline\",\n  \"consent.scope.offline_access.description\": \"Pozwala aplikacji utrzymać Twoje logowanie, nawet gdy nie korzystasz z niej aktywnie.\",\n  \"consent.scope.profile.title\": \"Informacje profilowe\",\n  \"consent.scope.profile.description\": \"Pozwala na dostęp do podstawowych danych profilowych, w tym nazwy użytkownika, imienia i nazwiska.\",\n  \"consent.scope.email.title\": \"Adres e-mail\",\n  \"consent.scope.email.description\": \"Pobierz swój adres e-mail oraz status jego weryfikacji.\",\n  \"consent.scope.address.title\": \"Adres fizyczny\",\n  \"consent.scope.address.description\": \"Dostęp do Twojego adresu pocztowego.\",\n  \"consent.scope.phone.title\": \"Numer telefonu\",\n  \"consent.scope.phone.description\": \"Pobierz swój numer telefonu oraz status jego weryfikacji.\",\n  \"error.action.go-back\": \"\",\n  \"error.footer.copy\": \"\",\n  \"error.footer.text\": \"\",\n  \"error.title.what-can-i-do\": \"\",\n  \"error.title.what-happened\": \"\",\n  \"error.instructions\": \"\"\n}\n","{\n  \"consent.action-accept\": \"Permitir\",\n  \"consent.action-reject\": \"Rejeitar\",\n  \"consent.description\": \"Conceda permissões somente se confiar neste site ou aplicação. Não precisa aceitar todas as permissões.\",\n  \"consent.privacy-policy-label\": \"Política de Privacidade\",\n  \"consent.remember-label\": \"Lembrar decisão para a próxima vez. A aplicação não poderá solicitar permissões adicionais sem o seu consentimento.\",\n  \"consent.remember-tooltip\": \"lembrar minha decisão\",\n  \"consent.requested-permissions-label\": \"A aplicação solicita acesso às seguintes permissões:\",\n  \"consent.terms-of-service-label\": \"Termos de Serviço\",\n  \"error.back-button\": \"Voltar\",\n  \"error.description\": \"Ocorreu um erro com a seguinte mensagem:\",\n  \"error.support-email-link\": \"Se o problema persistir, entre em contato com <a>{contactSupportEmail}</a>\",\n  \"error.title\": \"Ocorreu um erro\",\n  \"error.title-internal-server-error\": \"Erro Interno do Servidor\",\n  \"error.title-not-found\": \"404 - Página não encontrada\",\n  \"identities.messages.1010001\": \"Entrar\",\n  \"identities.messages.1010002\": \"Entrar com {provider}\",\n  \"identities.messages.1010003\": \"Confirme esta ação e verifique que é você.\",\n  \"identities.messages.1010004\": \"Complete o segundo desafio de autenticação, por favor.\",\n  \"identities.messages.1010005\": \"Verificar\",\n  \"identities.messages.1010006\": \"Código de Autenticação\",\n  \"identities.messages.1010007\": \"Código de Recuperação de Backup\",\n  \"identities.messages.1010008\": \"Continuar com chave de hardware\",\n  \"identities.messages.1010009\": \"Continuar\",\n  \"identities.messages.1010010\": \"Continuar\",\n  \"identities.messages.1010011\": \"Continuar com a chave de segurança\",\n  \"identities.messages.1010012\": \"Prepare o seu dispositivo WebAuthn (por exemplo, chave de segurança, scanner biométrico, ...) e pressione continuar.\",\n  \"identities.messages.1010013\": \"Continuar\",\n  \"identities.messages.1010014\": \"Um e-mail com um código foi enviado para o endereço de e-mail introduzido. Não recebeu um e-mail? Verifique o endereço introduzido e efetue novamente o login.\",\n  \"identities.messages.1010015\": \"Entrar com código\",\n  \"identities.messages.1040001\": \"Registar\",\n  \"identities.messages.1040002\": \"Registar com {provider}\",\n  \"identities.messages.1040003\": \"Continuar\",\n  \"identities.messages.1040004\": \"Registar com chave de segurança\",\n  \"identities.messages.1040005\": \"Um e-mail com o código foi enviado para o endereço de e-mail introduzido. Não recebeu um e-mail? Verifique a ortografia do endereço e registe-se novamente.\",\n  \"identities.messages.1040006\": \"Registar com código\",\n  \"identities.messages.1050001\": \"Alterações foram salvas com sucesso!\",\n  \"identities.messages.1050002\": \"Vincular {provider}\",\n  \"identities.messages.1050003\": \"Desvincular {provider}\",\n  \"identities.messages.1050004\": \"Desvincular o Aplicação Autenticador TOTP\",\n  \"identities.messages.1050005\": \"Código QR da aplicação Autenticador\",\n  \"identities.messages.1050006\": \"{secret}\",\n  \"identities.messages.1050007\": \"Revelar códigos de recuperação de backup\",\n  \"identities.messages.1050008\": \"Gerar novos códigos de recuperação de backup\",\n  \"identities.messages.1050009\": \"{secret}\",\n  \"identities.messages.1050010\": \"Os seus códigos de recuperação de backup. Guarde-os num local seguro!\",\n  \"identities.messages.1050011\": \"Confirmar códigos de recuperação de backup\",\n  \"identities.messages.1050012\": \"Adicionar chave de segurança\",\n  \"identities.messages.1050013\": \"Nome da chave de segurança\",\n  \"identities.messages.1050014\": \"<del>Usado</del>\",\n  \"identities.messages.1050015\": \"{secrets_list}\",\n  \"identities.messages.1050016\": \"Desativar este método\",\n  \"identities.messages.1050017\": \"Este é o segredo da sua aplicação autenticador. Use-o se não puder ler o código QR.\",\n  \"identities.messages.1050018\": \"Remover chave de segurança \\\"{display_name}\\\"\",\n  \"identities.messages.1060001\": \"Recuperou com sucesso a sua conta. Por favor, altere a sua password ou configure um método de login alternativo (por exemplo, login social) nos próximos {privileged_session_expires_at_unix_until_minutes} minutos.\",\n  \"identities.messages.1060002\": \"Um e-mail com um link de recuperação foi enviado para o endereço de e-mail introduzido. Se recebeu um e-mail, verifique a ortografia do endereço e verifique se está usando o endereço com o qual se registou.\",\n  \"identities.messages.1060003\": \"Um e-mail com um código de recuperação foi enviado para o endereço de e-mail introduzido. Se recebeu um e-mail, verifique a ortografia do endereço e verifique se está usando o endereço com o qual se registou.\",\n  \"identities.messages.1070001\": \"Password\",\n  \"identities.messages.1070002\": \"{title}\",\n  \"identities.messages.1070003\": \"Salvar\",\n  \"identities.messages.1070004\": \"ID\",\n  \"identities.messages.1070005\": \"Enviar\",\n  \"identities.messages.1070006\": \"Verificar código\",\n  \"identities.messages.1070007\": \"E-mail\",\n  \"identities.messages.1070008\": \"Reenviar código\",\n  \"identities.messages.1070009\": \"Continuar\",\n  \"identities.messages.1070010\": \"Código de recuperação\",\n  \"identities.messages.1070011\": \"Código de verificação\",\n  \"identities.messages.1070012\": \"Código de registo\",\n  \"identities.messages.1070013\": \"Código de login\",\n  \"identities.messages.1080001\": \"Um e-mail com um link de verificação foi enviado para o endereço de e-mail introduzido. Se recebeu um e-mail, verifique a ortografia do endereço e verifique se está usando o endereço com o qual se registou.\",\n  \"identities.messages.1080002\": \"Endereço de e-mail verificado com sucesso.\",\n  \"identities.messages.1080003\": \"Um e-mail com um código de verificação foi enviado para o endereço de e-mail introduzido. Se recebeu um e-mail, verifique a ortografia do endereço e verifique se está usando o endereço com o qual se registou.\",\n  \"identities.messages.4000001\": \"{reason}\",\n  \"identities.messages.4000002\": \"A propriedade {property} não foi encontrada.\",\n  \"identities.messages.4000003\": \"O comprimento deve ser >= {min_length}, mas foi {actual_length}\",\n  \"identities.messages.4000004\": \"não corresponde ao padrão \\\"{pattern}\\\"\",\n  \"identities.messages.4000005\": \"A password não pode ser utilizada porque {reason}.\",\n  \"identities.messages.4000006\": \"As credenciais fornecidas são inválidas, verifique erros na definição da password ou no nome de usuário, endereço de e-mail ou número de telefone.\",\n  \"identities.messages.4000007\": \"Já existe uma conta com o mesmo username (e-mail, telefone, nome de usuário, ...).\",\n  \"identities.messages.4000008\": \"O código de autenticação fornecido é inválido, tente novamente.\",\n  \"identities.messages.4000009\": \"Não foi possível encontrar nenhum username de login. Esqueceu-se de defini-los? Isso também pode ser causado por uma má configuração do servidor.\",\n  \"identities.messages.4000010\": \"Conta ainda não está ativa. Esqueceu-se de verificar o seu endereço de e-mail?\",\n  \"identities.messages.4000011\": \"Não tem um dispositivo TOTP configurado.\",\n  \"identities.messages.4000012\": \"Este código de recuperação de backup já foi usado.\",\n  \"identities.messages.4000013\": \"Não tem um dispositivo WebAuthn configurado.\",\n  \"identities.messages.4000014\": \"Não tem códigos de recuperação de backup configurados.\",\n  \"identities.messages.4000015\": \"Esta conta não existe ou não tem uma chave de segurança configurada.\",\n  \"identities.messages.4000016\": \"O código de recuperação de backup não é válido.\",\n  \"identities.messages.4000017\": \"O comprimento deve ser <= {max_length}, mas foi {actual_length}\",\n  \"identities.messages.4000018\": \"deve ser >= {minimum} mas foi encontrado {actual}\",\n  \"identities.messages.4000019\": \"deve ser > {minimum} mas foi encontrado {actual}\",\n  \"identities.messages.4000020\": \"deve ser <= {maximum} mas foi encontrado {actual}\",\n  \"identities.messages.4000021\": \"deve ser < {maximum} mas foi encontrado {actual}\",\n  \"identities.messages.4000022\": \"{actual} não é múltiplo de {base}\",\n  \"identities.messages.4000023\": \"máximo de {max_items} itens permitidos, mas foram encontrados {actual_items} itens\",\n  \"identities.messages.4000024\": \"mínimo de {min_items} itens permitidos, mas foram encontrados {actual_items} itens\",\n  \"identities.messages.4000025\": \"itens nos índices {index_a} e {index_b} são iguais\",\n  \"identities.messages.4000026\": \"esperado {allowed_types_list}, mas foi {actual_type}\",\n  \"identities.messages.4000027\": \"Já existe uma conta com o mesmo username (e-mail, telefone, nome de usuário, ...). Faça login na sua conta existente e vincule seu perfil social na página de configurações.\",\n  \"identities.messages.4000028\": \"Tentou fazer login com {credential_identifier_hint}, que já está sendo usado por outra conta. Pode fazer login usando {available_credential_types_list}. Pode fazer login usando um dos seguintes provedores de login social: {Available_oidc_providers_list}.\",\n  \"identities.messages.4000029\": \"deve ser igual a constante {expected}\",\n  \"identities.messages.4000030\": \"constante falhou\",\n  \"identities.messages.4000031\": \"A password não pode ser utilizada porque é muito semelhante ao username.\",\n  \"identities.messages.4000032\": \"A password deve conter ter pelo menos {min_length} caracteres, mas contém {actual_length}.\",\n  \"identities.messages.4000033\": \"A password deve conter ter no máximo {max_length} caracteres, mas contém {actual_length}.\",\n  \"identities.messages.4000034\": \"A password foi encontrada em violações de dados e não deve mais ser utilizada.\",\n  \"identities.messages.4000035\": \"Esta conta não existe ou não configurou o login com código.\",\n  \"identities.messages.4000036\": \"Os traços fornecidos não correspondem aos traços associados anteriormente a este fluxo.\",\n  \"identities.messages.4010001\": \"O fluxo de login expirou {expired_at_unix_since_minutes} minutos atrás, tente novamente.\",\n  \"identities.messages.4010002\": \"Não foi encontrada uma estratégia para fazer login. Preencheu o formulário corretamente?\",\n  \"identities.messages.4010003\": \"Não foi encontrada uma estratégia para Registar. Preencheu o formulário corretamente?\",\n  \"identities.messages.4010004\": \"Não foi encontrada uma estratégia para atualizar suas configurações. Preencheu o formulário corretamente?\",\n  \"identities.messages.4010005\": \"Não foi encontrada uma estratégia para recuperar sua conta. Preencheu o formulário corretamente?\",\n  \"identities.messages.4010006\": \"Não foi encontrada uma estratégia para verificar sua conta. Preencheu o formulário corretamente?\",\n  \"identities.messages.4010007\": \"A solicitação já foi concluída com sucesso e não pode ser tentada novamente.\",\n  \"identities.messages.4010008\": \"O código de login é inválido ou já foi usado. Tente novamente.\",\n  \"identities.messages.4040001\": \"O fluxo de registo expirou {expired_at_unix_since_minutes} minutos atrás, tente novamente.\",\n  \"identities.messages.4040002\": \"A solicitação já foi concluída com sucesso e não pode ser tentada novamente.\",\n  \"identities.messages.4040003\": \"O código de registo é inválido ou já foi usado. Tente novamente.\",\n  \"identities.messages.4050001\": \"O fluxo de configurações expirou {expired_at_unix_since_minutes} minutos atrás, tente novamente.\",\n  \"identities.messages.4060001\": \"A solicitação já foi concluída com sucesso e não pode ser tentada novamente.\",\n  \"identities.messages.4060002\": \"O fluxo de recuperação atingiu um estado de falha e deve ser tentado novamente.\",\n  \"identities.messages.4060004\": \"O token de recuperação é inválido ou já foi usado. Por favor, tente o fluxo novamente.\",\n  \"identities.messages.4060005\": \"O fluxo de recuperação expirou {expired_at_unix_since_minutes} minutos atrás, tente novamente.\",\n  \"identities.messages.4060006\": \"O código de recuperação é inválido ou já foi usado. Tente novamente.\",\n  \"identities.messages.4070001\": \"O token de verificação é inválido ou já foi usado. Tente novamente.\",\n  \"identities.messages.4070002\": \"A solicitação já foi concluída com sucesso e não pode ser solicitada novamente.\",\n  \"identities.messages.4070003\": \"O fluxo de verificação atingiu um estado de falha e deve ser tentado novamente.\",\n  \"identities.messages.4070005\": \"O fluxo de verificação expirou {expired_at_unix_since_minutes} minutos atrás, tente novamente.\",\n  \"identities.messages.4070006\": \"O código de verificação é inválido ou já foi usado. Tente novamente.\",\n  \"identities.messages.5000001\": \"{reason}\",\n  \"login.forgot-password\": \"Esqueceu a password?\",\n  \"login.logged-in-as-label\": \"Está conectado como:\",\n  \"login.logout-button\": \"Sair\",\n  \"login.logout-label\": \"Algo não está a funcionar?\",\n  \"login.registration-button\": \"Registar\",\n  \"login.registration-label\": \"Não tem uma conta?\",\n  \"login.subtitle-oauth2\": \"Para autenticar {clientName}\",\n  \"login.title\": \"Entrar\",\n  \"login.title-aal2\": \"Autenticação de dois fatores\",\n  \"login.subtitle-aal2\": \"Escolha uma forma de completar sua autenticação de segundo fator\",\n  \"login.code.subtitle\": \"Um código de verificação será enviado por e-mail\",\n  \"login.webauthn.subtitle\": \"Por favor, prepare seu dispositivo WebAuthN\",\n  \"login.totp.subtitle\": \"Digite o código gerado pelo seu aplicativo autenticador\",\n  \"login.lookup_secret.subtitle\": \"Digite um dos seus códigos de recuperação de 8 dígitos\",\n  \"login.title-refresh\": \"Confirme que é você\",\n  \"login.2fa.go-back\": \"Algo não está funcionando?\",\n  \"login.2fa.go-back.link\": \"Voltar\",\n  \"login.2fa.method.go-back\": \"Escolher outro método\",\n  \"logout.accept-button\": \"Sim\",\n  \"logout.reject-button\": \"Não\",\n  \"logout.title\": \"Deseja sair?\",\n  \"recovery.login-button\": \"Entrar\",\n  \"recovery.login-label\": \"Lembrar credenciais?\",\n  \"recovery.title\": \"Recuperar conta\",\n  \"registration.login-button\": \"Entrar\",\n  \"registration.login-label\": \"Já tem uma conta?\",\n  \"registration.subtitle-oauth2\": \"Para autenticar {clientName}\",\n  \"registration.title\": \"Registar uma conta\",\n  \"settings.navigation-back-button\": \"Voltar\",\n  \"settings.navigation-backup-codes\": \"Códigos de Backup de 2FA\",\n  \"settings.navigation-logout\": \"Sair\",\n  \"settings.navigation-oidc\": \"login social\",\n  \"settings.navigation-password\": \"Password\",\n  \"settings.navigation-profile\": \"Perfil\",\n  \"settings.navigation-totp\": \"Aplicação Autenticador 2FA\",\n  \"settings.navigation-webauthn\": \"Tokens de Hardware\",\n  \"settings.navigation-passkey\": \"Passkeys\",\n  \"settings.subtitle-instructions\": \"Aqui pode gerar configurações relacionadas com a sua conta. Lembre-se de que certas ações exigem que efetue novamente login.\",\n  \"settings.title\": \"Configurações da Conta\",\n  \"verification.registration-button\": \"Registar\",\n  \"verification.registration-label\": \"Não tem uma conta?\",\n  \"verification.title\": \"Verifique a sua conta\",\n  \"verification.back-button\": \"Voltar\",\n  \"two-step.code.description\": \"Um código de verificação será enviado para o seu email\",\n  \"two-step.code.title\": \"Código de email\",\n  \"two-step.passkey.description\": \"Use o seu dispositivo para reconhecimento de impressão digital ou facial.\",\n  \"two-step.passkey.description.error\": \"Não foi possível carregar as bibliotecas necessárias para usar o seu Passkey. Por favor, tente novamente mais tarde.\",\n  \"two-step.passkey.title\": \"Chave de acesso (recomendado)\",\n  \"two-step.password.description\": \"Insira a sua senha associada à sua conta\",\n  \"two-step.password.title\": \"Senha\",\n  \"two-step.webauthn.title\": \"Chave de Segurança\",\n  \"two-step.webauthn.description\": \"Use sua chave de segurança para autenticar\",\n  \"two-step.totp.title\": \"Use seu aplicativo autenticador (TOTP)\",\n  \"two-step.totp.description\": \"Use um código único de 6 dígitos do seu aplicativo autenticador\",\n  \"two-step.lookup_secret.title\": \"Código de recuperação de backup\",\n  \"two-step.lookup_secret.description\": \"Use um dos seus códigos de backup de 8 dígitos para autenticar\",\n  \"identities.messages.1010016\": \"\",\n  \"identities.messages.1010017\": \"\",\n  \"identities.messages.1010018\": \"\",\n  \"identities.messages.1010019\": \"\",\n  \"identities.messages.1010020\": \"\",\n  \"identities.messages.1010021\": \"\",\n  \"identities.messages.1010022\": \"\",\n  \"identities.messages.1010023\": \"\",\n  \"identities.messages.1040007\": \"\",\n  \"identities.messages.1040008\": \"\",\n  \"identities.messages.1040009\": \"\",\n  \"identities.messages.1050019\": \"\",\n  \"identities.messages.1050020\": \"\",\n  \"identities.messages.1070014\": \"\",\n  \"identities.messages.4000037\": \"\",\n  \"identities.messages.4000038\": \"\",\n  \"identities.messages.4010009\": \"\",\n  \"identities.messages.4010010\": \"\",\n  \"login.cancel-button\": \"\",\n  \"login.cancel-label\": \"\",\n  \"identities.messages.1070015\": \"\",\n  \"input.placeholder\": \"\",\n  \"card.header.description.login\": \"\",\n  \"card.header.description.registration\": \"\",\n  \"card.header.parts.code\": \"um código de uso único\",\n  \"card.header.parts.totp\": \"seu aplicativo autenticador\",\n  \"card.header.parts.lookup_secret\": \"um código de recuperação de backup\",\n  \"card.header.parts.identifier-first\": \"\",\n  \"card.header.parts.oidc\": \"\",\n  \"card.header.parts.passkey\": \"\",\n  \"card.header.parts.password.login\": \"\",\n  \"card.header.parts.password.registration\": \"\",\n  \"card.header.parts.webauthn\": \"\",\n  \"forms.label.forgot-password\": \"\",\n  \"forms.label.recover-account\": \"\",\n  \"login.subtitle\": \"\",\n  \"login.subtitle-refresh\": \"\",\n  \"misc.or\": \"\",\n  \"recovery.subtitle\": \"\",\n  \"registration.subtitle\": \"\",\n  \"settings.subtitle\": \"\",\n  \"verification.subtitle\": \"\",\n  \"settings.totp.info.linked\": \"Você atualmente tem um aplicativo autenticador conectado.\",\n  \"settings.totp.info.not-linked\": \"Para ativar, escaneie o código QR com seu autenticador e insira o código.\",\n  \"settings.totp.title\": \"\",\n  \"settings.totp.description\": \"Adicione um aplicativo autenticador TOTP à sua conta para melhorar a segurança da sua conta. Aplicativos autenticadores populares são LastPass e Google Authenticator.\",\n  \"settings.lookup_secret.description\": \"\",\n  \"settings.lookup_secret.title\": \"\",\n  \"settings.navigation.title\": \"\",\n  \"settings.oidc.description\": \"\",\n  \"settings.oidc.info\": \"\",\n  \"settings.oidc.title\": \"\",\n  \"settings.passkey.description\": \"\",\n  \"settings.passkey.info\": \"\",\n  \"settings.passkey.title\": \"\",\n  \"settings.password.description\": \"\",\n  \"settings.password.title\": \"\",\n  \"settings.profile.description\": \"\",\n  \"settings.profile.title\": \"\",\n  \"settings.title-lookup-secret\": \"\",\n  \"settings.title-navigation\": \"\",\n  \"settings.title-oidc\": \"\",\n  \"settings.title-passkey\": \"\",\n  \"settings.title-password\": \"\",\n  \"settings.title-profile\": \"\",\n  \"settings.title-totp\": \"\",\n  \"settings.title-webauthn\": \"\",\n  \"settings.webauthn.description\": \"\",\n  \"settings.webauthn.info\": \"\",\n  \"settings.webauthn.title\": \"\",\n  \"settings.messages.toast-title.success\": \"Configurações atualizadas com sucesso\",\n  \"settings.messages.toast-title.error\": \"Erro ao atualizar configurações\",\n  \"card.footer.select-another-method\": \"\",\n  \"account-linking.title\": \"\",\n  \"property.code\": \"\",\n  \"property.email\": \"\",\n  \"property.identifier\": \"\",\n  \"property.password\": \"\",\n  \"property.phone\": \"\",\n  \"property.username\": \"\",\n  \"consent.title\": \"Autorizar {party}\",\n  \"consent.subtitle\": \"Um aplicativo de terceiros deseja acessar as informações associadas à sua conta {identifier}.\",\n  \"consent.scope.openid.title\": \"Identidade\",\n  \"consent.scope.openid.description\": \"Permite que a aplicação verifique sua identidade. Isso é necessário para a autenticação e uma experiência de login confiável.\",\n  \"consent.scope.offline_access.title\": \"Acesso Offline\",\n  \"consent.scope.offline_access.description\": \"Permite que este aplicativo mantenha você conectado mesmo quando não estiver usando-o ativamente.\",\n  \"consent.scope.profile.title\": \"Informações do Perfil\",\n  \"consent.scope.profile.description\": \"Permite o acesso aos detalhes básicos do seu perfil, incluindo seu nome de usuário, primeiro nome e sobrenome.\",\n  \"consent.scope.email.title\": \"Endereço de E-mail\",\n  \"consent.scope.email.description\": \"Recupere seu endereço de e-mail e seu status de verificação.\",\n  \"consent.scope.address.title\": \"Endereço Físico\",\n  \"consent.scope.address.description\": \"Acesse seu endereço postal.\",\n  \"consent.scope.phone.title\": \"Número de Telefone\",\n  \"consent.scope.phone.description\": \"Recupere seu número de telefone e seu status de verificação.\",\n  \"error.action.go-back\": \"\",\n  \"error.footer.copy\": \"\",\n  \"error.footer.text\": \"\",\n  \"error.title.what-can-i-do\": \"\",\n  \"error.title.what-happened\": \"\",\n  \"error.instructions\": \"\"\n}\n","{\n  \"consent.action-accept\": \"Tillåt\",\n  \"consent.action-reject\": \"Neka\",\n  \"consent.description\": \"Ge bara behörigheter om du litar på den här webbplatsen eller appen. Du behöver inte acceptera alla behörigheter.\",\n  \"consent.privacy-policy-label\": \"Integritetspolicy\",\n  \"consent.remember-label\": \"Kom ihåg detta val till nästa gång. Applikationen kommer inte att kunna be om ytterligare tillstånd utan ditt medgivande.\",\n  \"consent.remember-tooltip\": \"kom ihåg mitt val\",\n  \"consent.requested-permissions-label\": \"Applikationen begär åtkomst till följande behörigheter:\",\n  \"consent.terms-of-service-label\": \"Användarvillkor\",\n  \"error.back-button\": \"Tillbaka\",\n  \"error.description\": \"Ett fel uppstod med följande meddelande:\",\n  \"error.support-email-link\": \"Om problemet kvarstår, vänligen kontakta <a>{contactSupportEmail}</a>\",\n  \"error.title\": \"Ett fel uppstod\",\n  \"error.title-internal-server-error\": \"Internt serverfel\",\n  \"error.title-not-found\": \"404 - Sidan hittades ej\",\n  \"identities.messages.1010001\": \"Logga in\",\n  \"identities.messages.1010002\": \"Logga in med {provider}\",\n  \"identities.messages.1010003\": \"Bekräfta denna åtgärd genom att verifiera att det är du.\",\n  \"identities.messages.1010004\": \"Vänligen slutför den andra autentiseringsutmaningen.\",\n  \"identities.messages.1010005\": \"Verifiera\",\n  \"identities.messages.1010006\": \"Autentiseringskod\",\n  \"identities.messages.1010007\": \"Återställningskod för backup\",\n  \"identities.messages.1010008\": \"Fortsätt med säkerhetsnyckel\",\n  \"identities.messages.1010009\": \"Fortsätt\",\n  \"identities.messages.1010010\": \"Fortsätt\",\n  \"identities.messages.1010011\": \"Fortsätt med säkerhetsnyckel\",\n  \"identities.messages.1010012\": \"Förbered din WebAuthn-enhet (t.ex. säkerhetsnyckel, biometriska skanner, ...) och tryck på fortsätt.\",\n  \"identities.messages.1010013\": \"Fortsätt\",\n  \"identities.messages.1010014\": \"Ett e-postmeddelande som innehåller en kod har skickats till den e-postadress du angett. Om du inte har fått ett mejl, kontrollera stavningen av adressen och försök logga in igen.\",\n  \"identities.messages.1010015\": \"Logga in med kod\",\n  \"identities.messages.1010016\": \"Du försökte logga in med \\\"{duplicateIdentifier}\\\", men den e-postadressen används redan av ett annat konto. Logga in på ditt konto med ett av alternativen nedan för att lägga till ditt konto \\\"{duplicateIdentifier}\\\" hos \\\"{provider}\\\" som ett annat inloggningsalternativ.\",\n  \"identities.messages.1010017\": \"Logga in och länka\",\n  \"identities.messages.1010018\": \"Bekräfta med {provider}\",\n  \"identities.messages.1010019\": \"Begär kod för att fortsätta\",\n  \"identities.messages.1010021\": \"Logga in med passkey\",\n  \"identities.messages.1010022\": \"Logga in med lösenord\",\n  \"identities.messages.1010023\": \"Skicka kod till {address}\",\n  \"identities.messages.1040001\": \"Skapa konto\",\n  \"identities.messages.1040002\": \"Registrera dig med {provider}\",\n  \"identities.messages.1040003\": \"Fortsätt\",\n  \"identities.messages.1040004\": \"Registrera med säkerhetsnyckel\",\n  \"identities.messages.1040005\": \"Ett e-postmeddelande som innehåller en kod har skickats till den e-postadress du angett. Om du inte har fått ett e-postmeddelande, kontrollera stavningen av adressen och försök igen med registreringen.\",\n  \"identities.messages.1040006\": \"Registrera med kod\",\n  \"identities.messages.1040007\": \"Registrera med passkey\",\n  \"identities.messages.1040008\": \"Tillbaka\",\n  \"identities.messages.1040009\": \"Vänligen välj en autentiseringsmetod.\",\n  \"identities.messages.1050001\": \"Dina ändringar har sparats!\",\n  \"identities.messages.1050002\": \"Koppla på {provider}\",\n  \"identities.messages.1050003\": \"Koppla bort {provider}\",\n  \"identities.messages.1050004\": \"Koppla bort TOTP Autentisering-App\",\n  \"identities.messages.1050005\": \"Autentisering-app QR kod\",\n  \"identities.messages.1050006\": \"{secret}\",\n  \"identities.messages.1050007\": \"Visa reservåterställningskoder\",\n  \"identities.messages.1050008\": \"Generera nya reservåterställningskoder\",\n  \"identities.messages.1050009\": \"{secret}\",\n  \"identities.messages.1050010\": \"Det här är dina reservåterställningskoder. Förvara dem på ett säkert ställe!\",\n  \"identities.messages.1050011\": \"Bekräfta reservåterställningskoder\",\n  \"identities.messages.1050012\": \"Lägg till säkerhetsnyckel\",\n  \"identities.messages.1050013\": \"Säkerhetsnyckelns namn\",\n  \"identities.messages.1050014\": \"<del>Använd</del>\",\n  \"identities.messages.1050015\": \"{secrets_list}\",\n  \"identities.messages.1050016\": \"Inaktivera den här metoden\",\n  \"identities.messages.1050017\": \"Det här är din hemlighet för din autentiseringsapp. Använd den om du inte kan skanna QR-koden.\",\n  \"identities.messages.1050018\": \"Ta bort säkerhetsnyckel \\\"{display_name}\\\"\",\n  \"identities.messages.1050019\": \"Lägg till passkey\",\n  \"identities.messages.1050020\": \"Ta bort passkey \\\"{display_name}\\\"\",\n  \"identities.messages.1060001\": \"Du har lyckats återställa ditt konto. Ändra ditt lösenord eller ställ in en alternativ inloggningsmetod (t.ex. social inloggning) inom de närmaste {privileged_session_expires_at_unix_until_minutes} minuterna.\",\n  \"identities.messages.1060002\": \"Ett e-postmeddelande som innehåller en återställningslänk har skickats till den e-postadress du angett. Om du inte har fått ett mejl, kontrollera stavningen på adressen och se till att använda adressen du registrerade dig med.\",\n  \"identities.messages.1060003\": \"Ett e-postmeddelande som innehåller en återställningskod har skickats till den e-postadress du angett. Om du inte har fått ett mejl, kontrollera stavningen på adressen och se till att använda adressen du registrerade dig med.\",\n  \"identities.messages.1070001\": \"Lösenord\",\n  \"identities.messages.1070002\": \"{title}\",\n  \"identities.messages.1070003\": \"Spara\",\n  \"identities.messages.1070004\": \"ID\",\n  \"identities.messages.1070005\": \"Skicka\",\n  \"identities.messages.1070006\": \"Verifiera kod\",\n  \"identities.messages.1070007\": \"E-post\",\n  \"identities.messages.1070008\": \"Skicka koden igen\",\n  \"identities.messages.1070009\": \"Fortsätt\",\n  \"identities.messages.1070010\": \"Återställningskod\",\n  \"identities.messages.1070011\": \"Verifieringskod\",\n  \"identities.messages.1070012\": \"Registreringskod\",\n  \"identities.messages.1070013\": \"Inloggningskod\",\n  \"identities.messages.1070014\": \"Logga in och länka autentiseringsuppgifter\",\n  \"identities.messages.1070015\": \"Vänligen slutför captcha-utmaningen för att fortsätta.\",\n  \"identities.messages.1080001\": \"Ett e-postmeddelande med en verifieringslänk har skickats till den e-postadress du angett. Om du inte har fått ett mejl, kontrollera stavningen på adressen och se till att använda adressen du registrerade dig med.\",\n  \"identities.messages.1080002\": \"Du har verifierat din e-postadress.\",\n  \"identities.messages.1080003\": \"Ett e-postmeddelande som innehåller en verifieringskod har skickats till den e-postadress du angett. Om du inte har fått ett mejl, kontrollera stavningen på adressen och se till att använda adressen du registrerade dig med.\",\n  \"identities.messages.4000001\": \"{reason}\",\n  \"identities.messages.4000002\": \"Fyll i {property} och försök igen.\",\n  \"identities.messages.4000003\": \"längd måste vara >= {min_length}, men var {actual_length}\",\n  \"identities.messages.4000004\": \"matchar inte mönstret \\\"{pattern}\\\"\",\n  \"identities.messages.4000005\": \"Lösenordet kan inte användas pga {reason}.\",\n  \"identities.messages.4000006\": \"De angivna uppgifterna är ogiltiga. Kontrollera om det finns stavfel i ditt lösenord eller användarnamn, e-postadress eller telefonnummer.\",\n  \"identities.messages.4000007\": \"Ett konto med samma identifierare (e-post, telefon, användarnamn, ...) finns redan.\",\n  \"identities.messages.4000008\": \"Den angivna autentiseringskoden är ogiltig, försök igen.\",\n  \"identities.messages.4000009\": \"Det gick inte att hitta några inloggningsidentifierare. Har du glömt att ställa in dem? Detta kan också orsakas av en felaktig serverkonfiguration.\",\n  \"identities.messages.4000010\": \"Kontot är inte aktivt ännu. Har du glömt att verifiera din e-postadress?\",\n  \"identities.messages.4000011\": \"Du har ingen TOTP-enhet konfigurerad.\",\n  \"identities.messages.4000012\": \"Denna backup-återställningskod har redan använts.\",\n  \"identities.messages.4000013\": \"Du har ingen WebAuthn-enhet konfigurerad.\",\n  \"identities.messages.4000014\": \"Du har inga backup-återställningskoder konfigurerade.\",\n  \"identities.messages.4000015\": \"Det här kontot finns inte eller har ingen säkerhetsnyckel konfigurerad.\",\n  \"identities.messages.4000016\": \"Backup-återställningskoden är inte giltig.\",\n  \"identities.messages.4000017\": \"längd måste vara <= {max_length}, men var {actual_length}\",\n  \"identities.messages.4000018\": \"måste vara >= {minimum} men var {actual}\",\n  \"identities.messages.4000019\": \"måste vara > {minimum} men var {actual}\",\n  \"identities.messages.4000020\": \"måste vara <= {maximum} men var {actual}\",\n  \"identities.messages.4000021\": \"måste vara < {maximum} men var {actual}\",\n  \"identities.messages.4000022\": \"{actual} är inte en multipel av {base}\",\n  \"identities.messages.4000023\": \"maximalt {max_items} objekt tillåtna, men hittade {actual_items} objekt\",\n  \"identities.messages.4000024\": \"minst {min_items} objekt tillåtna, men hittade {actual_items} objekt\",\n  \"identities.messages.4000025\": \"objekt vid index {index_a} och {index_b} är lika\",\n  \"identities.messages.4000026\": \"förväntade {allowed_types_list}, men var {actual_type}\",\n  \"identities.messages.4000027\": \"Ett konto med samma identifierare (e-post, telefon, användarnamn, ...) finns redan. Logga in på ditt befintliga konto och länka din sociala profil på inställningssidan.\",\n  \"identities.messages.4000028\": \"Du försökte logga in med {credential_identifier_hint} som redan används av ett annat konto. Du kan logga in med {available_credential_types_list}. Du kan logga in med någon av följande sociala inloggningsleverantörer: {Available_oidc_providers_list}.\",\n  \"identities.messages.4000029\": \"måste vara lika med konstant {expected}\",\n  \"identities.messages.4000030\": \"const misslyckades\",\n  \"identities.messages.4000031\": \"Lösenordet kan inte användas eftersom det är för likt identifieraren.\",\n  \"identities.messages.4000032\": \"Lösenordet måste vara minst {min_length} tecken långt, men är {actual_length}.\",\n  \"identities.messages.4000033\": \"Lösenordet får vara högst {max_length} tecken långt, men är {actual_length}.\",\n  \"identities.messages.4000034\": \"Lösenordet har hittats vid dataintrång och får inte längre användas.\",\n  \"identities.messages.4000035\": \"Det här kontot finns inte eller har inte konfigurerat inloggning med kod.\",\n  \"identities.messages.4000036\": \"De angivna egenskaperna matchar inte de egenskaper som tidigare associerats med detta flöde.\",\n  \"identities.messages.4010001\": \"Inloggningsflödet upphörde för {expired_at_unix_since_minutes} minuter sedan, var vänlig försök igen.\",\n  \"identities.messages.4010002\": \"Kunde inte hitta en strategi att logga in dig med. Fyllde du i formuläret korrekt?\",\n  \"identities.messages.4010003\": \"Kunde inte hitta en strategi att registrera dig med. Fyllde du i formuläret korrekt?\",\n  \"identities.messages.4010004\": \"Kunde inte hitta en strategi för att uppdatera dina inställningar. Fyllde du i formuläret korrekt?\",\n  \"identities.messages.4010005\": \"Kunde inte hitta en strategi att återställa ditt konto med. Fyllde du i formuläret korrekt?\",\n  \"identities.messages.4010006\": \"Kunde inte hitta en strategi att verifiera ditt konto med. Fyllde du i formuläret korrekt?\",\n  \"identities.messages.4010007\": \"Begäran har redan slutförts framgångsrikt och kan inte göras igen.\",\n  \"identities.messages.4010008\": \"Inloggningskoden är ogiltig eller har redan använts. Var vänlig försök igen.\",\n  \"identities.messages.4010009\": \"Länkade autentiseringsuppgifter matchar inte.\",\n  \"identities.messages.4010010\": \"Adressen du angav matchar inte några kända adresser i det aktuella kontot.\",\n  \"identities.messages.4040001\": \"Registreringsflödet gick ut för {expired_at_unix_since_minutes} minuter sedan, försök igen.\",\n  \"identities.messages.4040002\": \"Begäran har redan slutförts framgångsrikt och kan inte göras igen.\",\n  \"identities.messages.4040003\": \"Registreringskoden är ogiltig eller har redan använts. Var vänlig försök igen.\",\n  \"identities.messages.4050001\": \"Inställningsflödet gick ut för {expired_at_unix_since_minutes} minuter sedan, var vänlig försök igen.\",\n  \"identities.messages.4060001\": \"Begäran har redan slutförts framgångsrikt och kan inte göras igen.\",\n  \"identities.messages.4060002\": \"Återställningsflödet nådde ett feltillstånd och måste försökas igen.\",\n  \"identities.messages.4060004\": \"Återställningstoken är ogiltig eller har redan använts. Var vänlig försök flödet igen.\",\n  \"identities.messages.4060005\": \"Återställningsflödet gick ut för {expired_at_unix_since_minutes} minuter sedan, var vänlig försök igen.\",\n  \"identities.messages.4060006\": \"Återställningskoden är ogiltig eller har redan använts. Var vänlig försök igen.\",\n  \"identities.messages.4070001\": \"Verifieringstoken är ogiltig eller har redan använts. Var vänlig försök flödet igen.\",\n  \"identities.messages.4070002\": \"Begäran har redan slutförts framgångsrikt och kan inte göras igen.\",\n  \"identities.messages.4070003\": \"Verifieringsflödet nådde ett feltillstånd och måste försökas igen.\",\n  \"identities.messages.4070005\": \"Verifieringsflödet gick ut för {expired_at_unix_since_minutes} minuter sedan, var vänlig försök igen.\",\n  \"identities.messages.4070006\": \"Verifieringskoden är ogiltig eller har redan använts. Var vänlig försök igen.\",\n  \"identities.messages.5000001\": \"{reason}\",\n  \"login.cancel-button\": \"Avbryt\",\n  \"login.cancel-label\": \"Fel konto?\",\n  \"login.forgot-password\": \"Glömt lösenord?\",\n  \"login.logged-in-as-label\": \"Du är inloggad som:\",\n  \"login.logout-button\": \"Logga ut\",\n  \"login.logout-label\": \"Är det något som inte fungerar?\",\n  \"login.registration-button\": \"Skapa konto\",\n  \"login.registration-label\": \"Har du inget konto?\",\n  \"login.subtitle-oauth2\": \"Att autentisera {clientName}\",\n  \"login.title\": \"Logga in\",\n  \"login.title-aal2\": \"Tvåfaktorsautentisering\",\n  \"login.subtitle-aal2\": \"Välj ett sätt att slutföra din tvåfaktorsautentisering\",\n  \"login.code.subtitle\": \"En verifieringskod kommer att skickas via e-post\",\n  \"login.webauthn.subtitle\": \"Förbered din WebAuthN-enhet\",\n  \"login.totp.subtitle\": \"Ange koden som genererats av din autentiseringsapp\",\n  \"login.lookup_secret.subtitle\": \"Ange en av dina 8-siffriga återställningskoder\",\n  \"login.title-refresh\": \"Bekräfta att det är du\",\n  \"login.2fa.go-back\": \"Något fungerar inte?\",\n  \"login.2fa.go-back.link\": \"Gå tillbaka\",\n  \"login.2fa.method.go-back\": \"Välj en annan metod\",\n  \"logout.accept-button\": \"Ja\",\n  \"logout.reject-button\": \"Nej\",\n  \"logout.title\": \"Vill du logga ut?\",\n  \"recovery.login-button\": \"Logga in\",\n  \"recovery.login-label\": \"Kan du ditt inlogg?\",\n  \"recovery.title\": \"Återställ ditt konto\",\n  \"registration.login-button\": \"Logga in\",\n  \"registration.login-label\": \"Har du redan ett konto?\",\n  \"registration.subtitle-oauth2\": \"Att autentisera {clientName}\",\n  \"registration.title\": \"Skapa ett konto\",\n  \"settings.navigation-back-button\": \"Tillbaka\",\n  \"settings.navigation-backup-codes\": \"2FA backupkoder\",\n  \"settings.navigation-logout\": \"Logga ut\",\n  \"settings.navigation-oidc\": \"Social Inloggning\",\n  \"settings.navigation-password\": \"Lösenord\",\n  \"settings.navigation-profile\": \"Profil\",\n  \"settings.navigation-totp\": \"Autentiserings App\",\n  \"settings.navigation-webauthn\": \"Hårdvaru Tokens\",\n  \"settings.navigation-passkey\": \"Passkeys\",\n  \"settings.subtitle-instructions\": \"Här kan du hantera inställningar relaterade till ditt konto. Tänk på att vissa åtgärder kräver att du autentiseras på nytt.\",\n  \"settings.title\": \"Kontoinställningar\",\n  \"verification.registration-button\": \"Skapa konto\",\n  \"verification.registration-label\": \"Har du inget konto?\",\n  \"verification.title\": \"Verifiera ditt konto\",\n  \"verification.back-button\": \"Tillbaka\",\n  \"two-step.code.description\": \"En verifieringskod kommer att skickas till din e-post\",\n  \"two-step.code.title\": \"E-postkod\",\n  \"two-step.passkey.description\": \"Använd din enhets fingeravtryck eller ansiktsigenkänning\",\n  \"two-step.passkey.title\": \"Passerkod (rekommenderad)\",\n  \"two-step.passkey.description.error\": \"Det gick inte att ladda de nödvändiga biblioteken för att använda din Passkey. Försök igen senare.\",\n  \"two-step.password.description\": \"Ange ditt lösenord kopplat till ditt konto\",\n  \"two-step.password.title\": \"Lösenord\",\n  \"two-step.webauthn.title\": \"Säkerhetsnyckel\",\n  \"two-step.webauthn.description\": \"Använd din säkerhetsnyckel för att autentisera\",\n  \"two-step.totp.title\": \"Använd din autentiseringsapp (TOTP)\",\n  \"two-step.totp.description\": \"Använd en 6-siffrig engångskod från din autentiseringsapp\",\n  \"two-step.lookup_secret.title\": \"Reservåterställningskod\",\n  \"two-step.lookup_secret.description\": \"Använd en av dina 8-siffriga reservkoder för att autentisera\",\n  \"identities.messages.4000037\": \"Detta konto finns inte eller har ingen inloggningsmetod konfigurerad.\",\n  \"identities.messages.4000038\": \"Captcha-verifiering misslyckades, försök igen.\",\n  \"identities.messages.1010020\": \"\",\n  \"input.placeholder\": \"Ange din {placeholder}\",\n  \"card.header.description.login\": \"Logga in med {identifierLabel}\",\n  \"card.header.description.registration\": \"Registrera dig med {identifierLabel}\",\n  \"card.header.parts.code\": \"en engångskod\",\n  \"card.header.parts.totp\": \"din autentiseringsapp\",\n  \"card.header.parts.lookup_secret\": \"en säkerhetskopieringskod\",\n  \"card.header.parts.identifier-first\": \"din {identifierLabel}\",\n  \"card.header.parts.oidc\": \"en social leverantör\",\n  \"card.header.parts.passkey\": \"en Passkey\",\n  \"card.header.parts.password.login\": \"din {identifierLabel} och lösenord\",\n  \"card.header.parts.password.registration\": \"din {identifierLabel} och ett lösenord\",\n  \"card.header.parts.webauthn\": \"en säkerhetsnyckel\",\n  \"forms.label.forgot-password\": \"Glömt Lösenord?\",\n  \"forms.label.recover-account\": \"Återställ Konto\",\n  \"login.subtitle\": \"Logga in med {parts}\",\n  \"login.subtitle-refresh\": \"Bekräfta din identitet med {parts}\",\n  \"misc.or\": \"eller\",\n  \"recovery.subtitle\": \"Ange e-postadressen kopplad till ditt konto för att få en engångskod för åtkomst\",\n  \"registration.subtitle\": \"Registrera dig med {parts}\",\n  \"settings.subtitle\": \"Uppdatera dina kontoinställningar\",\n  \"verification.subtitle\": \"Ange e-postadressen kopplad till ditt konto för att verifiera det\",\n  \"settings.totp.info.linked\": \"Du har för närvarande en autentiseringsapp kopplad.\",\n  \"settings.totp.info.not-linked\": \"För att aktivera, skanna QR-koden med din autentiserare och ange koden.\",\n  \"settings.totp.title\": \"\",\n  \"settings.totp.description\": \"Lägg till en TOTP-autentiseringsapp till ditt konto för att förbättra säkerheten på ditt konto. Populära autentiseringsappar är LastPass och Google Authenticator.\",\n  \"settings.lookup_secret.description\": \"Återställningskoder är en säker backup för 2FA, vilket gör att du kan återfå åtkomst till ditt konto om du tappar bort din 2FA-enhet.\",\n  \"settings.lookup_secret.title\": \"Backup-återställningskoder (andra faktorn)\",\n  \"settings.navigation.title\": \"Kontoinställningar\",\n  \"settings.oidc.description\": \"Anslut en social inloggningsleverantör till ditt konto.\",\n  \"settings.oidc.info\": \"Anslutna konton från dessa leverantörer kan användas för att logga in på ditt konto\",\n  \"settings.oidc.title\": \"Anslutna konton\",\n  \"settings.passkey.description\": \"Hantera dina lösenordsinställningar\",\n  \"settings.passkey.info\": \"Hantera dina lösenordsinställningar\",\n  \"settings.passkey.title\": \"Hantera lösenord\",\n  \"settings.password.description\": \"Ändra ditt lösenord\",\n  \"settings.password.title\": \"Ändra lösenord\",\n  \"settings.profile.description\": \"Uppdatera din profilinformation\",\n  \"settings.profile.title\": \"Profilinställningar\",\n  \"settings.title-lookup-secret\": \"Hantera 2FA Backup Recovery-koder\",\n  \"settings.title-navigation\": \"Kontoinställningar\",\n  \"settings.title-oidc\": \"Social logga in\",\n  \"settings.title-passkey\": \"Hantera lösenord\",\n  \"settings.title-password\": \"Ändra lösenord\",\n  \"settings.title-profile\": \"Profilinställningar\",\n  \"settings.title-totp\": \"Hantera 2FA TOTP Authenticator-appen\",\n  \"settings.title-webauthn\": \"Hantera maskinvarutokens\",\n  \"settings.webauthn.description\": \"Hantera inställningarna för din maskinvarutoken\",\n  \"settings.webauthn.info\": \"Hårdvarutokens används för andrafaktorsautentisering eller som förstafaktor med lösenordsnycklar\",\n  \"settings.webauthn.title\": \"Hantera maskinvarutokens\",\n  \"settings.messages.toast-title.success\": \"Inställningarna har uppdaterats\",\n  \"settings.messages.toast-title.error\": \"Ett fel uppstod\",\n  \"card.footer.select-another-method\": \"Välj en annan metod\",\n  \"account-linking.title\": \"Länka ditt konto\",\n  \"property.password\": \"lösenord\",\n  \"property.email\": \"e-post\",\n  \"property.phone\": \"telefon\",\n  \"property.username\": \"användarnamn\",\n  \"property.identifier\": \"identifier\",\n  \"property.code\": \"kod\",\n  \"consent.title\": \"Auktorisera {party}\",\n  \"consent.subtitle\": \"En tredjepartsapplikation vill få tillgång till information kopplad till ditt konto {identifier}.\",\n  \"consent.scope.openid.title\": \"Identitet\",\n  \"consent.scope.openid.description\": \"Gör det möjligt för applikationen att verifiera din identitet. Detta krävs för autentisering och en pålitlig inloggningsupplevelse.\",\n  \"consent.scope.offline_access.title\": \"Offline-åtkomst\",\n  \"consent.scope.offline_access.description\": \"Gör det möjligt för denna applikation att hålla dig inloggad även när du inte aktivt använder den.\",\n  \"consent.scope.profile.title\": \"Profilinformation\",\n  \"consent.scope.profile.description\": \"Ger tillgång till dina grundläggande profiluppgifter, inklusive ditt användarnamn, förnamn och efternamn.\",\n  \"consent.scope.email.title\": \"E-postadress\",\n  \"consent.scope.email.description\": \"Hämta din e-postadress och dess verifieringsstatus.\",\n  \"consent.scope.address.title\": \"Fysisk adress\",\n  \"consent.scope.address.description\": \"Få åtkomst till din postadress.\",\n  \"consent.scope.phone.title\": \"Telefonnummer\",\n  \"consent.scope.phone.description\": \"Hämta ditt telefonnummer och dess verifieringsstatus.\",\n  \"error.action.go-back\": \"\",\n  \"error.footer.copy\": \"\",\n  \"error.footer.text\": \"\",\n  \"error.title.what-can-i-do\": \"\",\n  \"error.title.what-happened\": \"\",\n  \"error.instructions\": \"\"\n}\n","{\n  \"consent.action-accept\": \"Tillat\",\n  \"consent.action-reject\": \"Avslå\",\n  \"consent.description\": \"Gi kun tillatelser hvis du stoler på dette nettstedet eller appen. Du trenger ikke å godta alle tillatelser.\",\n  \"consent.privacy-policy-label\": \"Personvernerklæring\",\n  \"consent.remember-label\": \"Husk denne avgjørelsen til neste gang. Applikasjonen vil ikke kunne be om flere tillatelser uten ditt samtykke.\",\n  \"consent.remember-tooltip\": \"husk mitt valg\",\n  \"consent.requested-permissions-label\": \"Applikasjonen ber om tilgang til følgende tillatelser:\",\n  \"consent.terms-of-service-label\": \"Vilkår for bruk\",\n  \"error.back-button\": \"Gå tilbake\",\n  \"error.description\": \"En feil oppstod med følgende melding:\",\n  \"error.support-email-link\": \"Hvis problemet vedvarer, vennligst kontakt <a>{contactSupportEmail}</a>\",\n  \"error.title\": \"En feil oppstod\",\n  \"error.title-internal-server-error\": \"Intern serverfeil\",\n  \"error.title-not-found\": \"404 - Siden ble ikke funnet\",\n  \"identities.messages.1010001\": \"Logg inn\",\n  \"identities.messages.1010002\": \"Logg inn med {provider}\",\n  \"identities.messages.1010003\": \"Vennligst bekreft denne handlingen ved å verifisere at det er deg.\",\n  \"identities.messages.1010004\": \"Vennligst fullfør den andre autentiseringsutfordringen.\",\n  \"identities.messages.1010005\": \"Bekreft\",\n  \"identities.messages.1010006\": \"Autentiseringskode\",\n  \"identities.messages.1010007\": \"Backup gjenopprettingskode\",\n  \"identities.messages.1010008\": \"Fortsett med sikkerhetsnøkkel\",\n  \"identities.messages.1010009\": \"Fortsett\",\n  \"identities.messages.1010010\": \"Fortsett\",\n  \"identities.messages.1010011\": \"Logg inn med sikkerhetsnøkkel\",\n  \"identities.messages.1010012\": \"Forbered din WebAuthn-enhet (f.eks. sikkerhetsnøkkel, biometrisk skanner, ...) og trykk fortsett.\",\n  \"identities.messages.1010013\": \"Fortsett\",\n  \"identities.messages.1010014\": \"En kode har blitt sendt til adressen du oppga. Hvis du ikke har mottatt en melding, sjekk stavemåten på adressen og prøv å logge inn på nytt.\",\n  \"identities.messages.1010015\": \"Send innloggingskode\",\n  \"identities.messages.1010016\": \"Du prøvde å logge inn med \\\"{duplicateIdentifier}\\\", men den e-posten er allerede brukt av en annen konto. Logg inn på kontoen din med et av alternativene nedenfor for å legge til kontoen din \\\"{duplicateIdentifier}\\\" hos \\\"{provider}\\\" som en annen måte å logge inn på.\",\n  \"identities.messages.1010017\": \"Logg inn og koble til\",\n  \"identities.messages.1010018\": \"Bekreft med {provider}\",\n  \"identities.messages.1010019\": \"Be om kode for å fortsette\",\n  \"identities.messages.1010021\": \"Logg inn med passkey\",\n  \"identities.messages.1010022\": \"Logg inn med passord\",\n  \"identities.messages.1010023\": \"Send kode til {address}\",\n  \"identities.messages.1040001\": \"Registrer deg\",\n  \"identities.messages.1040002\": \"Registrer deg med {provider}\",\n  \"identities.messages.1040003\": \"Fortsett\",\n  \"identities.messages.1040004\": \"Registrer deg med sikkerhetsnøkkel\",\n  \"identities.messages.1040005\": \"En kode har blitt sendt til adressen(e) du oppga. Hvis du ikke har mottatt en melding, sjekk stavemåten på adressen og prøv å registrere deg på nytt.\",\n  \"identities.messages.1040006\": \"Send registreringskode\",\n  \"identities.messages.1040007\": \"Registrer deg med passkey\",\n  \"identities.messages.1040008\": \"Tilbake\",\n  \"identities.messages.1040009\": \"Vennligst velg en legitimasjon for å autentisere deg.\",\n  \"identities.messages.1050001\": \"Endringene dine er lagret!\",\n  \"identities.messages.1050002\": \"Koble til {provider}\",\n  \"identities.messages.1050003\": \"Koble fra {provider}\",\n  \"identities.messages.1050004\": \"Koble fra TOTP-autentiseringsapp\",\n  \"identities.messages.1050005\": \"Autentiseringsapp QR-kode\",\n  \"identities.messages.1050006\": \"{secret}\",\n  \"identities.messages.1050007\": \"Vis backup gjenopprettingskoder\",\n  \"identities.messages.1050008\": \"Aktiver\",\n  \"identities.messages.1050009\": \"{secret}\",\n  \"identities.messages.1050010\": \"Dette er dine backup gjenopprettingskoder. Vennligst oppbevar dem på et trygt sted!\",\n  \"identities.messages.1050011\": \"Bekreft backup gjenopprettingskoder\",\n  \"identities.messages.1050012\": \"Legg til sikkerhetsnøkkel\",\n  \"identities.messages.1050013\": \"Navn på sikkerhetsnøkkel\",\n  \"identities.messages.1050014\": \"Hemmeligheten ble brukt {used_at, date, long}\",\n  \"identities.messages.1050015\": \"{secrets_list}\",\n  \"identities.messages.1050016\": \"Deaktiver denne metoden\",\n  \"identities.messages.1050017\": \"Autentiseringshemmelighet\",\n  \"identities.messages.1050018\": \"Fjern sikkerhetsnøkkel \\\"{display_name}\\\"\",\n  \"identities.messages.1050019\": \"Legg til passkey\",\n  \"identities.messages.1050020\": \"Fjern passkey \\\"{display_name}\\\"\",\n  \"identities.messages.1060001\": \"Du har gjenopprettet kontoen din. Vennligst endre passordet ditt eller sett opp en alternativ innloggingsmetode (f.eks. sosial innlogging) innen de neste {privileged_session_expires_at_unix_until_minutes} minuttene.\",\n  \"identities.messages.1060002\": \"En e-post med en gjenopprettingslenke har blitt sendt til e-postadressen du oppga. Hvis du ikke har mottatt en e-post, sjekk stavemåten på adressen og sørg for å bruke adressen du registrerte deg med.\",\n  \"identities.messages.1060003\": \"En e-post med en gjenopprettingskode har blitt sendt til e-postadressen du oppga. Hvis du ikke har mottatt en e-post, sjekk stavemåten på adressen og sørg for å bruke adressen du registrerte deg med.\",\n  \"identities.messages.1070001\": \"Passord\",\n  \"identities.messages.1070002\": \"{title}\",\n  \"identities.messages.1070003\": \"Lagre\",\n  \"identities.messages.1070004\": \"ID\",\n  \"identities.messages.1070005\": \"Send inn\",\n  \"identities.messages.1070006\": \"Bekreft kode\",\n  \"identities.messages.1070007\": \"E-post\",\n  \"identities.messages.1070008\": \"Send kode på nytt\",\n  \"identities.messages.1070009\": \"Fortsett\",\n  \"identities.messages.1070010\": \"Gjenopprettingskode\",\n  \"identities.messages.1070011\": \"Verifiseringskode\",\n  \"identities.messages.1070012\": \"Registreringskode\",\n  \"identities.messages.1070013\": \"Innloggingskode\",\n  \"identities.messages.1070014\": \"Logg inn og koble legitimasjon\",\n  \"identities.messages.1070015\": \"Vennligst fullfør captcha-utfordringen for å fortsette.\",\n  \"identities.messages.1080001\": \"En e-post med en verifiseringslenke har blitt sendt til e-postadressen du oppga. Hvis du ikke har mottatt en e-post, sjekk stavemåten på adressen og sørg for å bruke adressen du registrerte deg med.\",\n  \"identities.messages.1080002\": \"Du har bekreftet e-postadressen din.\",\n  \"identities.messages.1080003\": \"En e-post med en verifiseringskode har blitt sendt til e-postadressen du oppga. Hvis du ikke har mottatt en e-post, sjekk stavemåten på adressen og sørg for å bruke adressen du registrerte deg med.\",\n  \"identities.messages.4000001\": \"{reason}\",\n  \"identities.messages.4000002\": \"Vennligst skriv inn {property} og prøv igjen.\",\n  \"identities.messages.4000003\": \"lengden må være >= {min_length}, men fikk {actual_length}\",\n  \"identities.messages.4000004\": \"matcher ikke mønsteret \\\"{pattern}\\\"\",\n  \"identities.messages.4000005\": \"Passordet kan ikke brukes fordi {reason}.\",\n  \"identities.messages.4000006\": \"De oppgitte legitimasjonene er ugyldige, sjekk for skrivefeil i passord, brukernavn, e-postadresse eller telefonnummer.\",\n  \"identities.messages.4000007\": \"En konto med samme identifikator (e-post, telefon, brukernavn, ...) eksisterer allerede.\",\n  \"identities.messages.4000008\": \"Den oppgitte autentiseringskoden er ugyldig, vennligst prøv igjen.\",\n  \"identities.messages.4000009\": \"Fant ingen innloggingsidentifikatorer. Glemte du å sette dem? Dette kan også skyldes en serverfeil.\",\n  \"identities.messages.4000010\": \"Kontoen er ikke aktiv ennå. Glemte du å bekrefte e-postadressen din?\",\n  \"identities.messages.4000011\": \"Du har ingen TOTP-enhet satt opp.\",\n  \"identities.messages.4000012\": \"Denne backup gjenopprettingskoden er allerede brukt.\",\n  \"identities.messages.4000013\": \"Du har ingen WebAuthn-enhet satt opp.\",\n  \"identities.messages.4000014\": \"Du har ingen backup gjenopprettingskoder satt opp.\",\n  \"identities.messages.4000015\": \"Denne kontoen eksisterer ikke eller har ingen sikkerhetsnøkkel satt opp.\",\n  \"identities.messages.4000016\": \"Backup gjenopprettingskoden er ikke gyldig.\",\n  \"identities.messages.4000017\": \"lengden må være <= {max_length}, men fikk {actual_length}\",\n  \"identities.messages.4000018\": \"må være >= {minimum} men fant {actual}\",\n  \"identities.messages.4000019\": \"må være > {minimum} men fant {actual}\",\n  \"identities.messages.4000020\": \"må være <= {maximum} men fant {actual}\",\n  \"identities.messages.4000021\": \"må være < {maximum} men fant {actual}\",\n  \"identities.messages.4000022\": \"{actual} er ikke et multiplum av {base}\",\n  \"identities.messages.4000023\": \"maksimalt {max_items} elementer tillatt, men fant {actual_items} elementer\",\n  \"identities.messages.4000024\": \"minst {min_items} elementer kreves, men fant {actual_items} elementer\",\n  \"identities.messages.4000025\": \"elementene på indeks {index_a} og {index_b} er like\",\n  \"identities.messages.4000026\": \"forventet {allowed_types_list}, men fikk {actual_type}\",\n  \"identities.messages.4000027\": \"En konto med samme identifikator (e-post, telefon, brukernavn, ...) eksisterer allerede. Vennligst logg inn på din eksisterende konto for å koble din sosiale profil.\",\n  \"identities.messages.4000028\": \"Du prøvde å logge inn med {credential_identifier_hint} som allerede er i bruk av en annen konto. Du kan logge inn med {available_credential_types_list}. Du kan logge inn med en av følgende sosiale innloggingsleverandører: {Available_oidc_providers_list}.\",\n  \"identities.messages.4000029\": \"må være lik konstanten {expected}\",\n  \"identities.messages.4000030\": \"const feilet\",\n  \"identities.messages.4000031\": \"Passordet kan ikke brukes fordi det er for likt identifikatoren.\",\n  \"identities.messages.4000032\": \"Passordet må være minst {min_length} tegn langt, men fikk {actual_length}.\",\n  \"identities.messages.4000033\": \"Passordet må være maksimalt {max_length} tegn langt, men fikk {actual_length}.\",\n  \"identities.messages.4000034\": \"Passordet har blitt funnet i datalekkasjer og må ikke lenger brukes.\",\n  \"identities.messages.4000035\": \"Denne kontoen eksisterer ikke eller har ikke satt opp innlogging med kode.\",\n  \"identities.messages.4000036\": \"De oppgitte egenskapene samsvarer ikke med egenskapene som tidligere var tilknyttet denne flyten.\",\n  \"identities.messages.4000037\": \"Denne kontoen eksisterer ikke eller har ingen innloggingsmetode konfigurert.\",\n  \"identities.messages.4000038\": \"Captcha-verifisering mislyktes, vennligst prøv igjen.\",\n  \"identities.messages.4010001\": \"Innloggingsflyten utløp for {expired_at_unix_since_minutes} minutter siden, vennligst prøv igjen.\",\n  \"identities.messages.4010002\": \"Fant ingen strategi for å logge deg inn. Fylte du ut skjemaet riktig?\",\n  \"identities.messages.4010003\": \"Fant ingen strategi for å registrere deg. Fylte du ut skjemaet riktig?\",\n  \"identities.messages.4010004\": \"Fant ingen strategi for å oppdatere innstillingene dine. Fylte du ut skjemaet riktig?\",\n  \"identities.messages.4010005\": \"Fant ingen strategi for å gjenopprette kontoen din. Fylte du ut skjemaet riktig?\",\n  \"identities.messages.4010006\": \"Fant ingen strategi for å verifisere kontoen din. Fylte du ut skjemaet riktig?\",\n  \"identities.messages.4010007\": \"Forespørselen ble allerede fullført og kan ikke gjentas.\",\n  \"identities.messages.4010008\": \"Innloggingskoden er ugyldig eller har allerede blitt brukt. Vennligst prøv igjen.\",\n  \"identities.messages.4010009\": \"Koblede legitimasjoner samsvarer ikke.\",\n  \"identities.messages.4010010\": \"Adressen du oppga samsvarer ikke med noen kjente adresser i den nåværende kontoen.\",\n  \"identities.messages.4040001\": \"Registreringsflyten utløp for {expired_at_unix_since_minutes} minutter siden, vennligst prøv igjen.\",\n  \"identities.messages.4040002\": \"Forespørselen ble allerede fullført og kan ikke gjentas.\",\n  \"identities.messages.4040003\": \"Registreringskoden er ugyldig eller har allerede blitt brukt. Vennligst prøv igjen.\",\n  \"identities.messages.4050001\": \"Innstillingsflyten utløp for {expired_at_unix_since_minutes} minutter siden, vennligst prøv igjen.\",\n  \"identities.messages.4060001\": \"Forespørselen ble allerede fullført og kan ikke gjentas.\",\n  \"identities.messages.4060002\": \"Gjenopprettingsflyten nådde en feiltilstand og må gjentas.\",\n  \"identities.messages.4060004\": \"Gjenopprettingstokenet er ugyldig eller har allerede blitt brukt. Vennligst prøv flyten på nytt.\",\n  \"identities.messages.4060005\": \"Gjenopprettingsflyten utløp for {expired_at_unix_since_minutes} minutter siden, vennligst prøv igjen.\",\n  \"identities.messages.4060006\": \"Gjenopprettingskoden er ugyldig eller har allerede blitt brukt. Vennligst prøv igjen.\",\n  \"identities.messages.4070001\": \"Verifiseringstokenet er ugyldig eller har allerede blitt brukt. Vennligst prøv flyten på nytt.\",\n  \"identities.messages.4070002\": \"Forespørselen ble allerede fullført og kan ikke gjentas.\",\n  \"identities.messages.4070003\": \"Verifiseringsflyten nådde en feiltilstand og må gjentas.\",\n  \"identities.messages.4070005\": \"Verifiseringsflyten utløp for {expired_at_unix_since_minutes} minutter siden, vennligst prøv igjen.\",\n  \"identities.messages.4070006\": \"Verifiseringskoden er ugyldig eller har allerede blitt brukt. Vennligst prøv igjen.\",\n  \"identities.messages.5000001\": \"{reason}\",\n  \"login.cancel-button\": \"Avbryt\",\n  \"login.cancel-label\": \"Ikke riktig konto?\",\n  \"login.forgot-password\": \"Glemt passord?\",\n  \"login.logged-in-as-label\": \"Du bruker:\",\n  \"login.logout-button\": \"Logg ut\",\n  \"login.logout-label\": \"Noe fungerer ikke?\",\n  \"login.registration-button\": \"Registrer deg\",\n  \"login.registration-label\": \"Har du ikke en konto?\",\n  \"login.subtitle-oauth2\": \"For å autentisere {clientName}\",\n  \"login.title\": \"Logg inn\",\n  \"login.subtitle\": \"Logg inn med {parts}\",\n  \"login.title-aal2\": \"Tofaktorautentisering\",\n  \"login.subtitle-aal2\": \"Velg en måte å fullføre tofaktorautentisering\",\n  \"login.code.subtitle\": \"En verifiseringskode vil bli sendt på e-post\",\n  \"login.webauthn.subtitle\": \"Vennligst forbered din WebAuthN-enhet\",\n  \"login.totp.subtitle\": \"Vennligst skriv inn koden generert av din autentiseringsapp\",\n  \"login.lookup_secret.subtitle\": \"Vennligst skriv inn en av dine 8-sifrede backup gjenopprettingskoder\",\n  \"login.title-refresh\": \"Reautentiser\",\n  \"login.subtitle-refresh\": \"Bekreft din identitet med {parts}\",\n  \"login.2fa.go-back\": \"Noe fungerer ikke?\",\n  \"login.2fa.go-back.link\": \"Gå tilbake\",\n  \"login.2fa.method.go-back\": \"Velg en annen metode\",\n  \"logout.accept-button\": \"Ja\",\n  \"logout.reject-button\": \"Nei\",\n  \"logout.title\": \"Ønsker du å logge ut?\",\n  \"recovery.login-button\": \"Logg inn\",\n  \"recovery.login-label\": \"Husker du legitimasjonen din?\",\n  \"recovery.title\": \"Gjenopprett kontoen din\",\n  \"recovery.subtitle\": \"Skriv inn e-postadressen tilknyttet kontoen din for å motta en engangskode\",\n  \"registration.login-button\": \"Logg inn\",\n  \"registration.login-label\": \"Har du allerede en konto?\",\n  \"registration.subtitle-oauth2\": \"For å autentisere {clientName}\",\n  \"registration.title\": \"Registrer en konto\",\n  \"registration.subtitle\": \"Registrer deg med {parts}\",\n  \"settings.navigation-back-button\": \"Tilbake\",\n  \"settings.navigation-backup-codes\": \"2FA backupkoder\",\n  \"settings.navigation-logout\": \"Logg ut\",\n  \"settings.navigation-oidc\": \"Sosial innlogging\",\n  \"settings.navigation-password\": \"Passord\",\n  \"settings.navigation-profile\": \"Profil\",\n  \"settings.navigation-totp\": \"Autentiseringsapp\",\n  \"settings.navigation-webauthn\": \"Maskinvaretokener\",\n  \"settings.navigation-passkey\": \"Passkeys\",\n  \"settings.subtitle-instructions\": \"Her kan du administrere innstillinger relatert til kontoen din. Vær oppmerksom på at enkelte handlinger krever at du autentiserer deg på nytt.\",\n  \"settings.subtitle\": \"Oppdater kontoinnstillingene dine\",\n  \"settings.title-lookup-secret\": \"Administrer 2FA backup gjenopprettingskoder\",\n  \"settings.title-navigation\": \"Kontoinnstillinger\",\n  \"settings.title-oidc\": \"Sosial innlogging\",\n  \"settings.title-password\": \"Endre passord\",\n  \"settings.title-profile\": \"Profilinnstillinger\",\n  \"settings.title-totp\": \"Administrer 2FA TOTP-autentiseringsapp\",\n  \"settings.title-webauthn\": \"Administrer maskinvaretokener\",\n  \"settings.title-passkey\": \"Administrer passkeys\",\n  \"settings.title\": \"Kontoinnstillinger\",\n  \"settings.navigation.title\": \"Kontoinnstillinger\",\n  \"settings.password.title\": \"Endre passord\",\n  \"settings.password.description\": \"Endre passordet ditt\",\n  \"settings.profile.title\": \"Profilinnstillinger\",\n  \"settings.profile.description\": \"Oppdater profilinformasjonen din\",\n  \"settings.webauthn.title\": \"Administrer maskinvaretokener\",\n  \"settings.webauthn.description\": \"Administrer innstillingene for maskinvaretokener\",\n  \"verification.registration-button\": \"Registrer deg\",\n  \"verification.registration-label\": \"Har du ikke en konto?\",\n  \"verification.title\": \"Bekreft kontoen din\",\n  \"verification.subtitle\": \"Skriv inn e-postadressen tilknyttet kontoen din for å bekrefte den\",\n  \"verification.back-button\": \"Tilbake\",\n  \"two-step.password.title\": \"Passord\",\n  \"two-step.password.description\": \"Skriv inn passordet tilknyttet kontoen din\",\n  \"two-step.code.title\": \"E-postkode\",\n  \"two-step.code.description\": \"En verifiseringskode vil bli sendt til din e-post\",\n  \"two-step.webauthn.title\": \"Sikkerhetsnøkkel\",\n  \"two-step.webauthn.description\": \"Bruk sikkerhetsnøkkelen din for å autentisere\",\n  \"two-step.passkey.title\": \"Passkey (anbefalt)\",\n  \"two-step.passkey.description\": \"Bruk enheten din for fingeravtrykk eller ansiktsgjenkjenning\",\n  \"two-step.totp.title\": \"Bruk autentiseringsapp (TOTP)\",\n  \"two-step.totp.description\": \"Bruk en 6-sifret engangskode fra autentiseringsappen din\",\n  \"two-step.lookup_secret.title\": \"Backup gjenopprettingskode\",\n  \"two-step.lookup_secret.description\": \"Bruk en av dine 8-sifrede backupkoder for å autentisere\",\n  \"identities.messages.1010020\": \"\",\n  \"input.placeholder\": \"Skriv inn din {placeholder}\",\n  \"card.header.parts.oidc\": \"en sosial leverandør\",\n  \"card.header.parts.password.registration\": \"din {identifierLabel} og et passord\",\n  \"card.header.parts.password.login\": \"din {identifierLabel} og passord\",\n  \"card.header.parts.code\": \"en engangskode\",\n  \"card.header.parts.passkey\": \"en passkey\",\n  \"card.header.parts.webauthn\": \"en sikkerhetsnøkkel\",\n  \"card.header.parts.totp\": \"din autentiseringsapp\",\n  \"card.header.parts.lookup_secret\": \"en backup gjenopprettingskode\",\n  \"card.header.parts.identifier-first\": \"din {identifierLabel}\",\n  \"card.header.description.login\": \"Logg inn med {identifierLabel}\",\n  \"card.header.description.registration\": \"Registrer deg med {identifierLabel}\",\n  \"misc.or\": \"eller\",\n  \"forms.label.recover-account\": \"Gjenopprett kontoen\",\n  \"forms.label.forgot-password\": \"Glemt passord?\",\n  \"settings.totp.title\": \"Autentiseringsapp\",\n  \"settings.totp.description\": \"Legg til en TOTP-autentiseringsapp til kontoen din for å forbedre sikkerheten. Populære autentiseringsapper er LastPass og Google Authenticator\",\n  \"settings.totp.info.not-linked\": \"For å aktivere, skann QR-koden med autentiseringsappen og skriv inn koden.\",\n  \"settings.totp.info.linked\": \"Du har for øyeblikket en autentiseringsapp tilkoblet.\",\n  \"settings.lookup_secret.title\": \"Backup gjenopprettingskoder (andre faktor)\",\n  \"settings.lookup_secret.description\": \"Gjenopprettingskoder er en sikker backup for 2FA, slik at du kan få tilgang til kontoen din hvis du mister 2FA-enheten.\",\n  \"settings.oidc.title\": \"Tilkoblede kontoer\",\n  \"settings.oidc.description\": \"Koble en sosial innloggingsleverandør til kontoen din.\",\n  \"settings.oidc.info\": \"Tilkoblede kontoer fra disse leverandørene kan brukes til å logge inn på kontoen din\",\n  \"settings.webauthn.info\": \"Maskinvaretokener brukes for tofaktorautentisering eller som første faktor med passkeys\",\n  \"settings.passkey.title\": \"Administrer passkeys\",\n  \"settings.passkey.description\": \"Administrer innstillingene for passkeys\",\n  \"settings.passkey.info\": \"Administrer innstillingene for passkeys\",\n  \"card.footer.select-another-method\": \"Velg en annen metode\",\n  \"account-linking.title\": \"Koble konto\",\n  \"property.password\": \"passord\",\n  \"property.email\": \"e-post\",\n  \"property.phone\": \"telefon\",\n  \"property.username\": \"brukernavn\",\n  \"property.identifier\": \"identifikator\",\n  \"property.code\": \"kode\",\n  \"consent.title\": \"Autoriser {party}\",\n  \"consent.subtitle\": \"En tredjepartsapplikasjon ønsker å få tilgang til informasjon tilknyttet kontoen din {identifier}.\",\n  \"consent.scope.openid.title\": \"Identitet\",\n  \"consent.scope.openid.description\": \"Lar applikasjonen verifisere identiteten din. Dette er nødvendig for autentisering og en trygg innloggingsopplevelse.\",\n  \"consent.scope.offline_access.title\": \"Frakoblet tilgang\",\n  \"consent.scope.offline_access.description\": \"Lar denne applikasjonen holde deg innlogget selv når du ikke bruker den aktivt.\",\n  \"consent.scope.profile.title\": \"Profilinformasjon\",\n  \"consent.scope.profile.description\": \"Gir tilgang til grunnleggende profildetaljer, inkludert brukernavn, fornavn og etternavn.\",\n  \"consent.scope.email.title\": \"E-postadresse\",\n  \"consent.scope.email.description\": \"Hent e-postadressen din og dens verifiseringsstatus.\",\n  \"consent.scope.address.title\": \"Postadresse\",\n  \"consent.scope.address.description\": \"Få tilgang til postadressen din.\",\n  \"consent.scope.phone.title\": \"Telefonnummer\",\n  \"consent.scope.phone.description\": \"Hent telefonnummeret ditt og dets verifiseringsstatus.\",\n  \"error.title.what-happened\": \"Hva skjedde?\",\n  \"error.title.what-can-i-do\": \"Hva kan jeg gjøre?\",\n  \"error.instructions\": \"Vennligst prøv igjen om noen minutter eller kontakt nettstedets operatør.\",\n  \"error.footer.text\": \"Når du rapporterer denne feilen, vennligst inkluder følgende informasjon:\",\n  \"error.footer.copy\": \"Kopier\",\n  \"error.action.go-back\": \"Gå tilbake\",\n  \"settings.messages.toast-title.error\": \"Kunne ikke oppdatere innstillinger\",\n  \"settings.messages.toast-title.success\": \"Innstillinger oppdatert\",\n  \"two-step.passkey.description.error\": \"Kunne ikke laste de nødvendige bibliotekene for å bruke passordet ditt. \\nVennligst prøv igjen senere.\"\n}\n","// Copyright © 2023 Ory Corp\n// SPDX-License-Identifier: Apache-2.0\n\nimport { default as en } from \"./en.json\"\nimport { default as de } from \"./de.json\"\nimport { default as es } from \"./es.json\"\nimport { default as fr } from \"./fr.json\"\nimport { default as nl } from \"./nl.json\"\nimport { default as pl } from \"./pl.json\"\nimport { default as pt } from \"./pt.json\"\nimport { default as sv } from \"./sv.json\"\nimport { default as no } from \"./no.json\"\n\n// export type TranslationFile = {\n//   [K in keyof typeof en]: string\n// }\n\n// TODO: we can probably provide typesafety here, since we know all keys.\n// However, tsup dts doesn't seem to generate proper dts files if we reference a JSON imported file in the type here.\n// A potential workaround is to have some code generation tool, that runs after the message extraction and produces a dts file containing all known keys.\nexport type LocaleMap = Record<string, Record<string, string>>\n\nexport const OryLocales: LocaleMap = {\n  en,\n  de,\n  es,\n  fr,\n  nl,\n  pl,\n  pt,\n  sv,\n  no,\n}\n","// Copyright © 2024 Ory Corp\n// SPDX-License-Identifier: Apache-2.0\n\n\"use client\"\nimport { PropsWithChildren } from \"react\"\n\nimport { OryFlowComponents } from \"../components\"\nimport { OryClientConfiguration } from \"../util\"\nimport { OryFlowContainer } from \"../util/flowContainer\"\nimport { OryComponentProvider } from \"./component\"\nimport { OryConfigurationProvider } from \"./config\"\nimport { OryFlowProvider } from \"./flow-context\"\nimport { IntlProvider } from \"./intl-context\"\n\n/**\n * Props type for the OryProvider component.\n */\nexport type OryProviderProps = {\n  /**\n   * The components to use for rendering Ory flows.\n   * You can provide custom components to override the default Ory components.\n   */\n  components: OryFlowComponents\n  /**\n   * The Ory client configuration.\n   * This includes the SDK and project configuration.\n   */\n  config: OryClientConfiguration\n} & OryFlowContainer &\n  PropsWithChildren\n\n/**\n * OryProvider is a React component that provides the necessary context for rendering Ory flows.\n *\n * It wraps the application in several context providers, including {@link OryConfigurationProvider}.\n *\n * You can use this component to set up the Ory SDK, provide custom translations, and specify the components to use for rendering Ory flows.\n *\n * @example\n * ```tsx\n * import { OryProvider, LoginFlow, OryFlowComponents, OryClientConfiguration } from \"@ory/elements-react\";\n *\n *\n * export type Props = {\n *   flow: LoginFlow\n *   components: OryFlowComponents\n *   config: OryClientConfiguration\n * }\n *\n * function App({\n *   flow,\n *   config,\n *   children,\n *   components,\n * }: PropsWithChildren<Props>) {\n *   return (\n *     <OryProvider\n *       config={config}\n *       flow={flow}\n *       flowType={FlowType.Login}\n *       components={components}\n *     >\n *       {children}\n *     </OryProvider>\n *   )\n * }\n *\n * ```\n *\n * @param props - The properties for the OryProvider component.\n * @returns\n * @group Components\n */\nexport function OryProvider({\n  children,\n  components: Components,\n  config,\n  ...oryFlowProps\n}: OryProviderProps) {\n  return (\n    <OryConfigurationProvider sdk={config.sdk} project={config.project}>\n      <IntlProvider\n        locale={config.intl?.locale ?? \"en\"}\n        customTranslations={config.intl?.customTranslations}\n      >\n        <OryFlowProvider {...oryFlowProps}>\n          <OryComponentProvider components={Components}>\n            {children}\n          </OryComponentProvider>\n        </OryFlowProvider>\n      </IntlProvider>\n    </OryConfigurationProvider>\n  )\n}\n","// Copyright © 2024 Ory Corp\n// SPDX-License-Identifier: Apache-2.0\n\nimport { useComponents } from \"../../context\"\n\nexport type OryCardHeaderProps = Record<string, never>\n\n/**\n * Returns the header of the Ory Card.\n *\n * @returns The header of the Ory Card.\n * @group Components\n */\nexport function OryCardHeader() {\n  const { Card } = useComponents()\n  return <Card.Header />\n}\n","// Copyright © 2024 Ory Corp\n// SPDX-License-Identifier: Apache-2.0\n\nimport { PropsWithChildren } from \"react\"\nimport { useComponents } from \"../../context\"\nimport { OryFormProvider } from \"../form/form-provider\"\n\n/**\n * @interface\n */\nexport type OryCardRootProps = PropsWithChildren\n\n/**\n * The root component of the Ory Card.\n *\n * This can be used to build fully custom implementations of the Ory Flows.\n *\n * However, you most likely want to override the individual components instead.\n *\n * @param props - pass children to render instead of the default Ory Card components\n * @returns\n * @group Components\n */\nexport function OryCard({ children }: PropsWithChildren) {\n  const { Card } = useComponents()\n  return (\n    <Card.Root>\n      <OryFormProvider>{children}</OryFormProvider>\n    </Card.Root>\n  )\n}\n","// Copyright © 2024 Ory Corp\n// SPDX-License-Identifier: Apache-2.0\n\nimport { useComponents } from \"../../context\"\n\nexport type OryCardFooterProps = Record<string, never>\n\n/**\n *\n * @returns The footer of a card component.\n * @group Components\n */\nexport function OryCardFooter() {\n  const { Card } = useComponents()\n  return <Card.Footer />\n}\n","// Copyright © 2024 Ory Corp\n// SPDX-License-Identifier: Apache-2.0\n\nimport { PropsWithChildren } from \"react\"\nimport { useComponents } from \"../../context\"\n\n/**\n * Props for the OryCardContent component.\n */\nexport type OryCardContentProps = PropsWithChildren\n\n/**\n * A component that renders the content of the Ory Card.\n * This is the main content of the card, such as the flow's form, with it's input fields and messages.\n *\n * You can use this component to build fully custom implementations of the Ory Flows.\n *\n * However, you most likely want to override the individual components instead.\n *\n * @param props - pass children to render instead of the default Ory Card components\n * @returns\n * @group Components\n */\nexport function OryCardContent({ children }: OryCardContentProps) {\n  const { Card } = useComponents()\n\n  return <Card.Content>{children}</Card.Content>\n}\n","// Copyright © 2024 Ory Corp\n// SPDX-License-Identifier: Apache-2.0\n\nimport { FlowType } from \"@ory/client-fetch\"\nimport { MethodActiveForm } from \"./two-step/state-method-active\"\nimport { ProvideIdentifierForm } from \"./two-step/state-provide-identifier\"\nimport { SelectMethodForm } from \"./two-step/state-select-method\"\nimport { OrySettingsCard, useOryFlow } from \"@ory/elements-react\"\n\n/**\n * The `OrySelfServiceFlowCard` component is an umbrella component that can render the self-service flows.\n *\n * Note: prefer using the {@link @ory/elements-react/theme!Login | <Login /> component}, etc. directly instead of this component.\n *\n * It renders different forms based on the current flow state, such as providing an identifier,\n * entering a password or one time code or selecting a method for authentication.\n *\n * The component must be use within an {@link OryProvider} that provides the flow context and components to use.\n *\n * @example\n * ```jsx\n * import { OrySelfServiceFlowCard } from \"@ory/elements-react\";\n *\n * function MyComponent() {\n *  return <OryProvider ...>\n *    <OrySelfServiceFlowCard />\n *  </OryProvider>;\n * }\n * ```\n *\n * @returns The Ory Two-Step Card component that renders different forms based on the current flow state.\n * @group Components\n */\nexport function OrySelfServiceFlowCard() {\n  const { formState, flowType } = useOryFlow()\n\n  if (flowType === FlowType.Settings) {\n    return <OrySettingsCard />\n  }\n\n  switch (formState.current) {\n    case \"provide_identifier\":\n      return <ProvideIdentifierForm />\n    case \"select_method\":\n      return <SelectMethodForm />\n    case \"method_active\":\n      return <MethodActiveForm formState={formState} />\n  }\n\n  return <>unknown form state: {formState.current}</>\n}\n","// Copyright © 2024 Ory Corp\n// SPDX-License-Identifier: Apache-2.0\n\nimport {\n  isUiNodeScriptAttributes,\n  UiNode,\n  UiNodeGroupEnum,\n} from \"@ory/client-fetch\"\nimport { useComponents, useNodeSorter, useOryFlow } from \"../../../context\"\nimport { FormStateMethodActive } from \"../../../context/form-state\"\nimport { useNodeGroupsWithVisibleNodes } from \"../../../util/ui\"\nimport { OryForm } from \"../../form/form\"\nimport { OryCardValidationMessages } from \"../../form/messages\"\nimport { Node } from \"../../form/nodes/node\"\nimport { OryCardHeader } from \"../header\"\nimport { OryCard, OryCardContent, OryCardFooter } from \"./../\"\nimport { getFinalNodes, handleAfterFormSubmit } from \"./utils\"\n\nexport function MethodActiveForm({\n  formState,\n}: {\n  formState: FormStateMethodActive\n}) {\n  const { Form } = useComponents()\n  const { flow, flowType, dispatchFormState } = useOryFlow()\n  const { ui } = flow\n\n  const nodeSorter = useNodeSorter()\n  const sortNodes = (a: UiNode, b: UiNode) => nodeSorter(a, b, { flowType })\n  const groupsToShow = useNodeGroupsWithVisibleNodes(ui.nodes)\n  const finalNodes = getFinalNodes(groupsToShow, formState.method)\n\n  return (\n    <OryCard>\n      <OryCardHeader />\n      <OryCardContent>\n        <OryCardValidationMessages />\n        <OryForm onAfterSubmit={handleAfterFormSubmit(dispatchFormState)}>\n          <Form.Group>\n            {ui.nodes\n              .filter(\n                (n) =>\n                  isUiNodeScriptAttributes(n.attributes) ||\n                  n.group === UiNodeGroupEnum.Default ||\n                  n.group === UiNodeGroupEnum.Profile,\n              )\n              .map((node, k) => (\n                <Node node={node} key={k} />\n              ))}\n            {finalNodes.sort(sortNodes).map((node, k) => (\n              <Node node={node} key={k} />\n            ))}\n          </Form.Group>\n        </OryForm>\n      </OryCardContent>\n      <OryCardFooter />\n    </OryCard>\n  )\n}\n","// Copyright © 2024 Ory Corp\n// SPDX-License-Identifier: Apache-2.0\n\nimport { UiNode, UiNodeGroupEnum } from \"@ory/client-fetch\"\nimport { OryCard, OryCardContent, OryCardFooter } from \"./../\"\nimport { useComponents, useNodeSorter, useOryFlow } from \"../../../context\"\nimport { isNodeVisible, withoutSingleSignOnNodes } from \"../../../util/ui\"\nimport { OryForm } from \"../../form/form\"\nimport { OryCardValidationMessages } from \"../../form/messages\"\nimport { Node } from \"../../form/nodes/node\"\nimport { OryFormSsoForm } from \"../../form/social\"\nimport { handleAfterFormSubmit } from \"./utils\"\nimport { OryCardHeader } from \"../header\"\n\nexport function ProvideIdentifierForm() {\n  const { Form, Card } = useComponents()\n  const { flowType, flow, dispatchFormState } = useOryFlow()\n\n  const nodeSorter = useNodeSorter()\n  const sortNodes = (a: UiNode, b: UiNode) => nodeSorter(a, b, { flowType })\n\n  const nonSsoNodes = withoutSingleSignOnNodes(flow.ui.nodes).sort(sortNodes)\n  const hasSso = flow.ui.nodes\n    .filter(isNodeVisible)\n    .some(\n      (node) =>\n        node.group === UiNodeGroupEnum.Oidc ||\n        node.group === UiNodeGroupEnum.Saml,\n    )\n  const showSsoDivider = hasSso && nonSsoNodes.some(isNodeVisible)\n\n  return (\n    <OryCard>\n      <OryCardHeader />\n      <OryCardContent>\n        <OryCardValidationMessages />\n        <OryFormSsoForm />\n        <OryForm onAfterSubmit={handleAfterFormSubmit(dispatchFormState)}>\n          <Form.Group>\n            {showSsoDivider && <Card.Divider />}\n            {nonSsoNodes.map((node, k) => (\n              <Node node={node} key={k} />\n            ))}\n          </Form.Group>\n        </OryForm>\n      </OryCardContent>\n      <OryCardFooter />\n    </OryCard>\n  )\n}\n","// Copyright © 2025 Ory Corp\n// SPDX-License-Identifier: Apache-2.0\n\nimport { useComponents, useOryFlow } from \"../../context\"\nimport { OryForm } from \"../form\"\nimport { Node } from \"../form/nodes/node\"\nimport { OryCard } from \"./card\"\nimport { OryCardContent } from \"./content\"\nimport { OryCardFooter } from \"./footer\"\nimport { OryCardHeader } from \"./header\"\nimport { getNodeId } from \"@ory/client-fetch\"\n\n/**\n * The `OryConsentCard` component renders a card for displaying the OAuth2 consent flow.\n *\n * @returns The consent card component.\n * @group Components\n */\nexport function OryConsentCard() {\n  const { Form, Card } = useComponents()\n  const flow = useOryFlow()\n  return (\n    <OryCard>\n      <OryCardHeader />\n      <OryCardContent>\n        <OryForm>\n          <Card.Divider />\n          <Form.Group>\n            {flow.flow.ui.nodes.map((node) => (\n              <Node key={getNodeId(node)} node={node} />\n            ))}\n          </Form.Group>\n          <Card.Divider />\n          <OryCardFooter />\n        </OryForm>\n      </OryCardContent>\n    </OryCard>\n  )\n}\n","// Copyright © 2025 Ory Corp\n// SPDX-License-Identifier: Apache-2.0\n\nimport { useComponents } from \"@ory/elements-react\"\nimport { useFormContext } from \"react-hook-form\"\nimport { UiNodeGroupEnum } from \"@ory/client-fetch\"\nimport { isGroupImmediateSubmit } from \"../../../theme/default/utils/form\"\n\ntype AuthMethodListProps = {\n  options: AuthMethodOptions\n  setSelectedGroup: (group: UiNodeGroupEnum) => void\n}\n\nexport type AuthMethodOption = {\n  title?: { id: string; values?: Record<string, string> }\n}\n\nexport type AuthMethodOptions = Partial<\n  Record<UiNodeGroupEnum, AuthMethodOption>\n>\n\nexport function AuthMethodList({\n  options,\n  setSelectedGroup,\n}: AuthMethodListProps) {\n  const { Card } = useComponents()\n  const { setValue, getValues } = useFormContext()\n\n  if (Object.entries(options).length === 0) {\n    return null\n  }\n\n  const handleClick = (group: UiNodeGroupEnum, options?: AuthMethodOption) => {\n    if (isGroupImmediateSubmit(group)) {\n      // Required because identifier node is not always defined with code method in aal2\n      if (\n        group === \"code\" &&\n        !getValues(\"identifier\") &&\n        options?.title?.values?.address\n      ) {\n        setValue(\"identifier\", options?.title?.values?.address)\n      }\n      // If the method is \"immediate submit\" (e.g. the method's submit button should be triggered immediately)\n      // then the method needs to be added to the form data.\n      setValue(\"method\", group)\n    } else {\n      setSelectedGroup(group)\n    }\n  }\n\n  return (\n    <Card.AuthMethodListContainer>\n      {Object.entries(options).map(([group, options]) => (\n        <Card.AuthMethodListItem\n          key={group}\n          group={group}\n          title={options.title}\n          onClick={() => handleClick(group as UiNodeGroupEnum, options)}\n        />\n      ))}\n    </Card.AuthMethodListContainer>\n  )\n}\n","// Copyright © 2025 Ory Corp\n// SPDX-License-Identifier: Apache-2.0\n\nimport { UiNode, UiNodeInputAttributes } from \"@ory/client-fetch\"\n\nexport function findScreenSelectionButton(\n  nodes: UiNode[],\n): { attributes: UiNodeInputAttributes } | undefined {\n  return nodes.find(\n    (node) =>\n      node.attributes.node_type === \"input\" &&\n      node.attributes.type === \"submit\" &&\n      node.attributes.name === \"screen\",\n  ) as { attributes: UiNodeInputAttributes }\n}\n","// Copyright © 2025 Ory Corp\n// SPDX-License-Identifier: Apache-2.0\n\nimport { LogoutFlow } from \"@ory/client-fetch\"\nimport { useCallback, useEffect, useState } from \"react\"\nimport { frontendClient } from \"../../../util/client\"\nexport function useClientLogout(config: { sdk: { url: string } }) {\n  const [logoutFlow, setLogoutFlow] = useState<LogoutFlow | undefined>()\n  const [isLoading, setIsLoading] = useState<boolean>(true)\n\n  const fetchLogoutFlow = useCallback(async () => {\n    try {\n      const flow = await frontendClient(config.sdk.url)\n        .createBrowserLogoutFlow()\n        .catch((err) => {\n          // We ignore errors that are thrown because the user is not signed in.\n          if (err.response?.status !== 401) {\n            throw err\n          }\n          return undefined\n        })\n      setLogoutFlow(flow)\n    } finally {\n      setIsLoading(false)\n    }\n  }, [config.sdk.url])\n\n  useEffect(() => {\n    void fetchLogoutFlow()\n  }, [fetchLogoutFlow])\n\n  return { logoutFlow, didLoad: !isLoading }\n}\n","// Copyright © 2024 Ory Corp\n// SPDX-License-Identifier: Apache-2.0\n\nexport function restartFlowUrl(\n  flow: {\n    id: string\n    request_url?: string\n    requested_aal?: string\n    return_to?: string\n    identity_schema?: string\n  },\n  fallback: string,\n) {\n  return (\n    flow.request_url ||\n    appendReturnToAndIdentitySchema(\n      fallback,\n      flow.return_to,\n      flow.identity_schema,\n    )\n  )\n}\n\nexport function initFlowUrl(\n  sdkUrl: string,\n  flowType: string,\n  flow: {\n    id: string\n    return_to?: string\n    oauth2_login_challenge?: string\n    identity_schema?: string\n  },\n) {\n  const result = `${sdkUrl}/self-service/${flowType}/browser`\n  const qs = new URLSearchParams()\n\n  if (flow.oauth2_login_challenge) {\n    qs.set(\"login_challenge\", flow.oauth2_login_challenge)\n  }\n  if (flow.identity_schema) {\n    qs.set(\"identity_schema\", flow.identity_schema)\n  }\n  if (flow.return_to) {\n    qs.set(\"return_to\", flow.return_to)\n  } else if (typeof window !== \"undefined\") {\n    const searchParams = new URLSearchParams(window.location.search)\n    if (searchParams.has(\"return_to\")) {\n      qs.set(\"return_to\", searchParams.get(\"return_to\") || \"\")\n    }\n  }\n\n  if (qs.toString().length === 0) {\n    return result\n  }\n\n  return result + \"?\" + qs.toString()\n}\n\nfunction appendReturnToAndIdentitySchema(\n  url: string,\n  returnTo?: string,\n  identitySchema?: string,\n) {\n  const urlObj = new URL(url)\n  if (returnTo) {\n    urlObj.searchParams.set(\"return_to\", returnTo)\n  }\n  if (identitySchema) {\n    urlObj.searchParams.set(\"identity_schema\", identitySchema)\n  }\n  return urlObj.toString()\n}\n","// Copyright © 2024 Ory Corp\n// SPDX-License-Identifier: Apache-2.0\n\nimport { messageTestId, useComponents, useOryFlow } from \"@ory/elements-react\"\nimport { useCardHeaderText } from \"../../utils/constructCardHeader\"\nimport { DefaultCurrentIdentifierButton } from \"./current-identifier-button\"\n\nfunction InnerCardHeader({\n  title,\n  text,\n  messageId,\n}: {\n  title: string\n  text?: string\n  messageId?: string\n}) {\n  const { Card } = useComponents()\n  return (\n    <header className=\"flex flex-col gap-8 antialiased\">\n      <Card.Logo />\n      <div className=\"flex flex-col gap-2\">\n        <h2 className=\"text-lg leading-normal font-semibold text-interface-foreground-default-primary\">\n          {title}\n        </h2>\n        <p\n          className=\"leading-normal text-interface-foreground-default-secondary\"\n          {...(messageId ? messageTestId({ id: messageId }) : {})}\n        >\n          {text}\n        </p>\n        <DefaultCurrentIdentifierButton />\n      </div>\n    </header>\n  )\n}\n\n/**\n * Renders the default card header component.\n *\n * This component is used to display the header of a card, including the logo, title, description, and current identifier button.\n *\n * @returns the default card header component\n * @group Components\n * @category Default Components\n */\nexport function DefaultCardHeader() {\n  const context = useOryFlow()\n  const { title, description, messageId } = useCardHeaderText(\n    context.flow.ui,\n    context,\n  )\n\n  return (\n    <InnerCardHeader title={title} text={description} messageId={messageId} />\n  )\n}\n","// Copyright © 2024 Ory Corp\n// SPDX-License-Identifier: Apache-2.0\n\nimport {\n  AuthenticatorAssuranceLevel,\n  FlowType,\n  isUiNodeInputAttributes,\n  OAuth2ConsentRequest,\n  Session,\n  UiContainer,\n} from \"@ory/client-fetch\"\nimport { useIntl } from \"react-intl\"\nimport { FormState } from \"../../../context\"\nimport { findNode } from \"../../../util/ui\"\n\nfunction joinWithCommaOr(list: string[], orText = \"or\"): string {\n  if (list.length === 0) {\n    return \".\"\n  } else if (list.length === 1) {\n    return list[0]\n  } else {\n    const last = list.pop()\n    return `${list.join(\", \")} ${orText} ${last}`\n  }\n}\n\nexport type CardHeaderTextOptions =\n  | {\n      flowType: FlowType.Login\n      flow: {\n        refresh?: boolean\n        requested_aal?: AuthenticatorAssuranceLevel\n      }\n      formState?: FormState\n    }\n  | {\n      flowType: FlowType.Registration\n      formState?: FormState\n    }\n  | {\n      flowType: FlowType.OAuth2Consent\n      flow: {\n        consent_request: OAuth2ConsentRequest\n        session: Session\n      }\n    }\n  | {\n      flowType:\n        | FlowType.Error\n        | FlowType.Verification\n        | FlowType.Recovery\n        | FlowType.Settings\n    }\n\n/**\n * Constructs a title and a description for the card header.\n *\n * The title is a title suitable for the current flow, e.g. \"Sign in\" or \"Update your account\".\n *\n * The description for a login & registration flow, is a collection of the labels of the input fields.\n * For example, if the user has a password and an email address, the description will be \"Sign in with your email and password\".\n * And for registration, the listed options depend on the project configuration.\n *\n * For verification, recovery and settings flows, the description is a generic one, e.g. \"Enter the email address associated with your account to verify it\".\n *\n *\n * @param nodes - the UI nodes of the current flow\n * @param opts - can be a flow object, only needed for the refresh login flow\n * @returns a title and a description for the card header\n */\nexport function useCardHeaderText(\n  container: UiContainer,\n  opts: CardHeaderTextOptions,\n): { title: string; description: string; messageId?: string } {\n  const nodes = container.nodes\n  const intl = useIntl()\n  switch (opts.flowType) {\n    case FlowType.Recovery:\n      if (\n        nodes.find(\n          (node) =>\n            \"name\" in node.attributes && node.attributes.name === \"code\",\n        )\n      ) {\n        return {\n          title: intl.formatMessage({\n            id: \"recovery.title\",\n          }),\n          description: intl.formatMessage({\n            id: \"identities.messages.1060003\",\n          }),\n          messageId: \"1060003\",\n        }\n      }\n      return {\n        title: intl.formatMessage({\n          id: \"recovery.title\",\n        }),\n        description: intl.formatMessage({\n          id: \"recovery.subtitle\",\n        }),\n      }\n    case FlowType.Settings:\n      return {\n        title: intl.formatMessage({\n          id: \"settings.title\",\n        }),\n        description: intl.formatMessage({\n          id: \"settings.subtitle\",\n        }),\n      }\n    case FlowType.Verification:\n      if (\n        nodes.find(\n          (node) =>\n            \"name\" in node.attributes && node.attributes.name === \"code\",\n        )\n      ) {\n        return {\n          title: intl.formatMessage({\n            id: \"verification.title\",\n          }),\n          description: intl.formatMessage({\n            id: \"identities.messages.1080003\",\n          }),\n          messageId: \"1080003\",\n        }\n      }\n      return {\n        title: intl.formatMessage({\n          id: \"verification.title\",\n        }),\n        description: intl.formatMessage({\n          id: \"verification.subtitle\",\n        }),\n      }\n    case FlowType.Login: {\n      // account linking\n      const accountLinkingMessage = container.messages?.find(\n        (m) => m.id === 1010016,\n      )\n      if (accountLinkingMessage) {\n        return {\n          title: intl.formatMessage({\n            id: \"account-linking.title\",\n          }),\n          description: intl.formatMessage(\n            {\n              id: \"identities.messages.1010016\",\n            },\n            accountLinkingMessage.context as Record<string, string>,\n          ),\n          messageId: \"1010016\",\n        }\n      }\n    }\n  }\n\n  const parts = []\n\n  if (nodes.find((node) => node.group === \"password\")) {\n    switch (opts.flowType) {\n      case FlowType.Registration:\n        parts.push(\n          intl.formatMessage(\n            { id: \"card.header.parts.password.registration\" },\n            // TODO: make this generic for other labels\n            { identifierLabel: \"email\" },\n          ),\n        )\n        break\n      default:\n        parts.push(\n          intl.formatMessage(\n            { id: \"card.header.parts.password.login\" },\n            // TODO: make this generic for other labels\n            { identifierLabel: \"email\" },\n          ),\n        )\n    }\n  }\n\n  if (nodes.find((node) => node.group === \"oidc\" || node.group === \"saml\")) {\n    parts.push(\n      intl.formatMessage({\n        id: \"card.header.parts.oidc\",\n      }),\n    )\n  }\n\n  if (nodes.find((node) => node.group === \"code\")) {\n    parts.push(intl.formatMessage({ id: \"card.header.parts.code\" }))\n  }\n\n  if (nodes.find((node) => node.group === \"totp\")) {\n    parts.push(intl.formatMessage({ id: \"card.header.parts.totp\" }))\n  }\n\n  if (nodes.find((node) => node.group === \"lookup_secret\")) {\n    parts.push(intl.formatMessage({ id: \"card.header.parts.lookup_secret\" }))\n  }\n\n  if (nodes.find((node) => node.group === \"passkey\")) {\n    parts.push(intl.formatMessage({ id: \"card.header.parts.passkey\" }))\n  }\n\n  if (nodes.find((node) => node.group === \"webauthn\")) {\n    parts.push(intl.formatMessage({ id: \"card.header.parts.webauthn\" }))\n  }\n\n  if (nodes.find((node) => node.group === \"identifier_first\")) {\n    const identifier = nodes.find(\n      (node) =>\n        isUiNodeInputAttributes(node.attributes) &&\n        node.attributes.name.startsWith(\"identifier\") &&\n        node.attributes.type !== \"hidden\",\n    )\n\n    if (identifier) {\n      parts.push(\n        intl.formatMessage(\n          {\n            id: \"card.header.parts.identifier-first\",\n          },\n          {\n            identifierLabel: identifier.meta.label?.text,\n          },\n        ),\n      )\n    }\n  }\n\n  if (nodes.some((node) => node.group === \"profile\")) {\n    const identifier = nodes.find(\n      (node) =>\n        isUiNodeInputAttributes(node.attributes) &&\n        node.attributes.name.startsWith(\"traits.\") &&\n        node.attributes.type !== \"hidden\",\n    )\n\n    if (identifier) {\n      parts.push(\n        intl.formatMessage(\n          {\n            id: \"card.header.parts.identifier-first\",\n          },\n          {\n            identifierLabel: identifier.meta.label?.text,\n          },\n        ),\n      )\n    }\n  }\n\n  switch (opts.flowType) {\n    case FlowType.Login: {\n      const codeMethodNode = findNode(container.nodes, {\n        node_type: \"input\",\n        group: \"code\",\n        name: \"code\",\n        type: \"text\",\n      })\n      const codeSent =\n        codeMethodNode &&\n        opts.formState?.current === \"method_active\" &&\n        opts.formState?.method === \"code\"\n      if (opts.flow.refresh) {\n        return {\n          title: intl.formatMessage({\n            id: \"login.title-refresh\",\n          }),\n          description: intl.formatMessage(\n            {\n              id: codeSent\n                ? \"identities.messages.1010014\"\n                : \"login.subtitle-refresh\",\n            },\n            {\n              parts: joinWithCommaOr(parts),\n            },\n          ),\n        }\n      } else if (opts.flow.requested_aal === \"aal2\") {\n        return {\n          title: intl.formatMessage({\n            id: \"login.title-aal2\",\n          }),\n          description: intl.formatMessage({\n            id: codeSent\n              ? \"identities.messages.1010014\"\n              : opts.formState?.current === \"method_active\"\n                ? `login.${opts.formState.method}.subtitle`\n                : \"login.subtitle-aal2\",\n          }),\n        }\n      }\n      return {\n        title: intl.formatMessage({\n          id: \"login.title\",\n        }),\n        description:\n          parts.length > 0\n            ? intl.formatMessage(\n                {\n                  id: codeSent\n                    ? \"identities.messages.1010014\"\n                    : \"login.subtitle\",\n                },\n                {\n                  parts: joinWithCommaOr(\n                    parts,\n                    intl.formatMessage({ id: \"misc.or\" }),\n                  ),\n                },\n              )\n            : \"\",\n      }\n    }\n    case FlowType.Registration: {\n      const codeMethodNode = findNode(container.nodes, {\n        node_type: \"input\",\n        group: \"code\",\n        name: \"code\",\n        type: \"text\",\n      })\n      const codeSent =\n        codeMethodNode &&\n        opts.formState?.current === \"method_active\" &&\n        opts.formState?.method === \"code\"\n      return {\n        title: intl.formatMessage({\n          id: \"registration.title\",\n        }),\n        description: codeSent\n          ? intl.formatMessage({ id: \"identities.messages.1040005\" })\n          : parts.length > 0\n            ? intl.formatMessage(\n                {\n                  id: \"registration.subtitle\",\n                },\n                {\n                  parts: joinWithCommaOr(\n                    parts,\n                    intl.formatMessage({ id: \"misc.or\" }),\n                  ),\n                },\n              )\n            : \"\",\n      }\n    }\n    case FlowType.OAuth2Consent:\n      return {\n        title: intl.formatMessage(\n          {\n            id: \"consent.title\",\n          },\n          {\n            party: opts.flow.consent_request.client?.client_name,\n          },\n        ),\n        description: intl.formatMessage(\n          {\n            id: \"consent.subtitle\",\n          },\n          {\n            identifier: (opts.flow.session.identity?.traits.email ??\n              \"\") as string,\n          },\n        ),\n      }\n  }\n\n  // TODO: This should not happen, as the switch is exhaustive, but typescript doesn't think so\n  return {\n    title: \"Error\",\n    description: \"An error occurred\",\n  }\n}\n","// Copyright © 2024 Ory Corp\n// SPDX-License-Identifier: Apache-2.0\n\nimport {\n  FlowType,\n  isUiNodeInputAttributes,\n  UiNode,\n  UiNodeInputAttributes,\n} from \"@ory/client-fetch\"\nimport { useOryConfiguration, useOryFlow } from \"@ory/elements-react\"\nimport { useEffect, useState } from \"react\"\nimport { useFormContext } from \"react-hook-form\"\nimport { findScreenSelectionButton } from \"../../../../util/nodes\"\nimport { omitInputAttributes } from \"../../../../util/omitAttributes\"\nimport IconArrowLeft from \"../../assets/icons/arrow-left.svg\"\nimport { restartFlowUrl } from \"../../utils/url\"\n\n/**\n * The `DefaultCurrentIdentifierButton` component renders a button that displays the current identifier\n *\n * The button can be used to restart the flow with the current identifier if appropriate.\n *\n * @returns\n * @group Components\n * @category Default Components\n */\nexport function DefaultCurrentIdentifierButton() {\n  const { flow, flowType, formState } = useOryFlow()\n  const { setValue, getValues, watch } = useFormContext()\n  const [turnstileResponse, setTurnstileResponse] = useState<\n    string | undefined\n  >()\n  const config = useOryConfiguration()\n  const ui = flow.ui\n\n  // This workaround ensures that the screen/back button functions correctly. Without it, the button does not work as expected.\n  // The `captcha_turnstile_response` value cannot be accessed directly via `transient_payload.captcha_turnstile_response`\n  // in the form context, likely due to the way React Hook Form manages its internal state and transient payloads.\n  // By using the `watch` function, we can observe changes to the `transient_payload` and retrieve the captcha response value.\n  const captchaVerificationValue = watch(\"transient_payload\")\n    ?.captcha_turnstile_response as string | undefined\n  useEffect(() => {\n    if (captchaVerificationValue) {\n      setTurnstileResponse(captchaVerificationValue)\n    }\n  }, [captchaVerificationValue])\n\n  if (formState.current === \"provide_identifier\") {\n    return null\n  }\n\n  if (\n    flowType === FlowType.Login &&\n    (flow.requested_aal === \"aal2\" || flow.refresh)\n  ) {\n    return null\n  }\n\n  const nodeBackButton = getBackButtonNodeAttributes(flowType, ui.nodes)\n  if (!nodeBackButton) {\n    return null\n  }\n\n  const initFlowUrl = restartFlowUrl(\n    flow,\n    `${config.sdk.url}/self-service/${flowType}/browser`,\n  )\n\n  const screenSelectionNode = findScreenSelectionButton(flow.ui.nodes)\n  if (screenSelectionNode) {\n    // This is bad and needs refactoring. Instead of a custom form, it should use react-hook-form\n    // to submit the values so we don't have to creat a fake form with fake submit values. It\n    // also hard-reloads the flow and we need the ugly captcha workaround.\n    return (\n      <form action={flow.ui.action} method={flow.ui.method}>\n        {flow.ui.nodes\n          .filter((n) => {\n            if (isUiNodeInputAttributes(n.attributes)) {\n              return (\n                n.attributes.type === \"hidden\" &&\n                [\"default\", \"captcha\"].includes(n.group)\n              )\n            }\n            return false\n          })\n          .map((n: UiNode) => {\n            const attrs = n.attributes as UiNodeInputAttributes\n            let value = getValues(attrs.name) || attrs.value\n\n            // Of course turnstile works a bit differently because it uses transient_payload\n            // to carry over information. So yeah, we need a special decode here.\n            if (\n              attrs.name === \"transient_payload.captcha_turnstile_response\" &&\n              turnstileResponse\n            ) {\n              value = turnstileResponse\n            }\n\n            return (\n              <input\n                key={attrs.name}\n                type=\"hidden\"\n                name={attrs.name}\n                value={value}\n              />\n            )\n          })}\n        <button\n          className={\n            \"group inline-flex max-w-full cursor-pointer items-center gap-1 self-start rounded-identifier border border-button-identifier-border-border-default bg-button-identifier-background-default px-[11px] py-[5px] transition-colors hover:border-button-identifier-border-border-hover hover:bg-button-identifier-background-hover\"\n          }\n          {...omitInputAttributes(nodeBackButton)}\n          type={\"submit\"}\n          onClick={() => {\n            setValue(\n              screenSelectionNode.attributes.name,\n              screenSelectionNode.attributes.value,\n            )\n            setValue(\"method\", \"profile\")\n          }}\n          name={screenSelectionNode.attributes.name}\n          value={screenSelectionNode.attributes.value}\n          title={`Adjust ${nodeBackButton?.value}`}\n          data-testid={`ory/screen/${flowType}/action/restart`}\n        >\n          <span className=\"inline-flex min-h-5 items-center gap-2 overflow-hidden text-ellipsis\">\n            <IconArrowLeft\n              size={16}\n              stroke=\"1\"\n              className=\"shrink-0 text-button-identifier-foreground-default group-hover:text-button-identifier-foreground-hover\"\n            />\n            <span className=\"overflow-hidden text-sm font-medium text-nowrap text-ellipsis text-button-identifier-foreground-default group-hover:text-button-identifier-foreground-hover\">\n              {nodeBackButton?.value}\n            </span>\n          </span>\n        </button>\n      </form>\n    )\n  }\n\n  return (\n    <a\n      className={\n        \"group inline-flex max-w-full cursor-pointer items-center gap-1 self-start rounded-identifier border border-button-identifier-border-border-default bg-button-identifier-background-default px-[11px] py-[5px] transition-colors hover:border-button-identifier-border-border-hover hover:bg-button-identifier-background-hover\"\n      }\n      {...omitInputAttributes(nodeBackButton)}\n      href={initFlowUrl}\n      title={`Adjust ${nodeBackButton?.value}`}\n      data-testid={`ory/screen/${flowType}/action/restart`}\n    >\n      <span className=\"inline-flex min-h-5 items-center gap-2 overflow-hidden text-ellipsis\">\n        <IconArrowLeft\n          size={16}\n          stroke=\"1\"\n          className=\"shrink-0 text-button-identifier-foreground-default group-hover:text-button-identifier-foreground-hover\"\n        />\n        <span className=\"overflow-hidden text-sm font-medium text-nowrap text-ellipsis text-button-identifier-foreground-default group-hover:text-button-identifier-foreground-hover\">\n          {nodeBackButton?.value}\n        </span>\n      </span>\n    </a>\n  )\n}\n\nexport function getBackButtonNodeAttributes(\n  flowType: FlowType,\n  nodes: UiNode[],\n): UiNodeInputAttributes | undefined {\n  let nodeBackButtonAttributes: UiNodeInputAttributes | undefined\n  switch (flowType) {\n    case FlowType.Login:\n      nodeBackButtonAttributes = nodes.find(\n        (node) =>\n          isUiNodeInputAttributes(node.attributes) &&\n          node.attributes.name === \"identifier\" &&\n          [\"default\", \"identifier_first\"].includes(node.group),\n      )?.attributes as UiNodeInputAttributes | undefined\n      break\n    case FlowType.Registration:\n      nodeBackButtonAttributes = guessRegistrationBackButton(nodes)\n      break\n    case FlowType.Recovery:\n    case FlowType.Verification:\n      // Re-use the email node for displaying the email\n      nodeBackButtonAttributes = nodes.find(\n        (n) =>\n          isUiNodeInputAttributes(n.attributes) &&\n          n.attributes.name === \"email\",\n      )?.attributes as UiNodeInputAttributes | undefined\n      break\n  }\n\n  if (\n    nodeBackButtonAttributes?.node_type !== \"input\" ||\n    !nodeBackButtonAttributes?.value\n  ) {\n    return undefined\n  }\n\n  return nodeBackButtonAttributes\n}\n\nconst backButtonCandiates = [\n  \"traits.email\",\n  \"traits.username\",\n  \"traits.phone_number\",\n]\n\n/**\n * Guesses the back button for registration flows\n *\n * This is based on the list above, and the first node that matches the criteria is returned.\n *\n * The list is most likely not exhaustive yet, and may need to be updated in the future.\n *\n */\nexport function guessRegistrationBackButton(\n  uiNodes: UiNode[],\n): UiNodeInputAttributes | undefined {\n  return uiNodes.find(\n    (node) =>\n      isUiNodeInputAttributes(node.attributes) &&\n      backButtonCandiates.includes(node.attributes.name) &&\n      node.group === \"default\",\n  )?.attributes as UiNodeInputAttributes | undefined\n}\n","// Copyright © 2024 Ory Corp\n// SPDX-License-Identifier: Apache-2.0\n\nexport function omit<OBJ extends object>(\n  obj: OBJ,\n  keys: (keyof OBJ)[],\n): Omit<typeof obj, (typeof keys)[number]> {\n  const ret = { ...obj }\n  for (const key of keys) {\n    delete ret[key]\n  }\n  return ret\n}\n","// Copyright © 2025 Ory Corp\n// SPDX-License-Identifier: Apache-2.0\n\nimport { UiNodeInputAttributes } from \"@ory/client-fetch\"\nimport { omit } from \"../theme/default/utils/attributes\"\n\nexport function omitInputAttributes({\n  ...attrs\n}: Partial<UiNodeInputAttributes>) {\n  return omit(attrs, [\n    \"autocomplete\",\n    \"label\",\n    \"node_type\",\n    \"maxlength\",\n    \"onclick\",\n    \"onclickTrigger\",\n    \"onload\",\n    \"onloadTrigger\",\n  ])\n}\n","import * as React from \"react\";\nconst SvgArrowLeft = props => <svg xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 24 25\" width={props?.width ? props.width : props?.size ?? 20} height={props?.height ? props.height : props?.size ?? 20} {...props}><path stroke=\"currentColor\" strokeLinecap=\"round\" strokeLinejoin=\"round\" d=\"M5 12.325h14m-14 0 6 6m-6-6 6-6\" /></svg>;\nexport default SvgArrowLeft;","// Copyright © 2024 Ory Corp\n// SPDX-License-Identifier: Apache-2.0\n\nimport { useOryConfiguration } from \"@ory/elements-react\"\n\n/**\n * The DefaultCardLogo component renders the logo from the {@link @ory/elements-react!OryProvider} or falls back to the project name.\n *\n * @returns the default logo for the Ory Card component.\n * @group Components\n * @category Default Components\n * @see {@link @ory/elements-react!OryProvider}\n * @see {@link @ory/elements-react!OryElementsConfiguration}\n */\nexport function DefaultCardLogo() {\n  const config = useOryConfiguration()\n\n  if (config.project.logo_light_url) {\n    return (\n      <img\n        src={config.project.logo_light_url}\n        className=\"h-full max-h-9 self-start\"\n        alt=\"Logo\"\n      />\n    )\n  }\n\n  return (\n    <h1 className=\"text-xl leading-normal font-semibold text-interface-foreground-default-primary\">\n      {config.project.name}\n    </h1>\n  )\n}\n","// Copyright © 2024 Ory Corp\n// SPDX-License-Identifier: Apache-2.0\n\nimport { clsx, type ClassValue } from \"clsx\"\nimport { twMerge } from \"tailwind-merge\"\n\nexport function cn(...inputs: ClassValue[]) {\n  return twMerge(clsx(inputs))\n}\n","// Copyright © 2024 Ory Corp\n// SPDX-License-Identifier: Apache-2.0\n\nimport { OryCardProps } from \"@ory/elements-react\"\nimport { Badge } from \"./badge\"\nimport { DefaultCardContent } from \"./content\"\nimport { DefaultCardFooter } from \"./footer\"\nimport { DefaultCardHeader } from \"./header\"\nimport { DefaultCardLogo } from \"./logo\"\nimport { DefaultCurrentIdentifierButton } from \"./current-identifier-button\"\nimport { ComponentPropsWithoutRef } from \"react\"\nimport { cn } from \"../../utils/cn\"\n\n/**\n * The DefaultCard component is a styled container that serves as the main card layout for Ory Elements.\n *\n * @param props - The properties for the DefaultCard component.\n * @returns\n * @group Components\n * @category Default Components\n */\nexport function DefaultCard({\n  children,\n  className,\n  ...rest\n}: OryCardProps & ComponentPropsWithoutRef<\"div\">) {\n  return (\n    <div className={cn(\"ory-elements\", className)} {...rest}>\n      <div className=\"flex w-full flex-1 items-start justify-center font-sans-default sm:w-[480px] sm:max-w-[480px] sm:items-center\">\n        <div className=\"relative grid w-full grid-cols-1 gap-8 border-b border-form-border-default bg-form-background-default px-8 py-12 sm:rounded-cards sm:border sm:px-12 sm:py-14\">\n          {children}\n          <Badge />\n        </div>\n      </div>\n    </div>\n  )\n}\n\nexport {\n  DefaultCardContent,\n  DefaultCardFooter,\n  DefaultCardHeader,\n  DefaultCardLogo,\n  DefaultCurrentIdentifierButton,\n}\n","// Copyright © 2024 Ory Corp\n// SPDX-License-Identifier: Apache-2.0\n\nimport { PropsWithChildren } from \"react\"\nimport { cn } from \"../../utils/cn\"\nimport { useIntl } from \"react-intl\"\nimport {\n  messageTestId,\n  OryFormRootProps,\n  uiTextToFormattedMessage,\n  useOryFlow,\n} from \"@ory/elements-react\"\nimport { OryMessageContentProps } from \"@ory/elements-react\"\nimport { FlowType } from \"@ory/client-fetch\"\n\n/**\n * The default form container for Ory Elements.\n *\n * @param props - The properties for the DefaultFormContainer component.\n * @returns\n * @group Components\n * @category Default Components\n */\nexport function DefaultFormContainer({\n  children,\n  onSubmit,\n  action,\n  method,\n}: PropsWithChildren<OryFormRootProps>) {\n  return (\n    <form\n      onSubmit={onSubmit}\n      noValidate\n      action={action}\n      method={method}\n      className={\"grid gap-8\"}\n    >\n      {children}\n    </form>\n  )\n}\n\n/**\n * The default message container for Ory Elements.\n *\n * @param props - The properties for the DefaultMessageContainer component.\n * @returns\n * @group Components\n * @category Default Components\n */\nexport function DefaultMessageContainer({ children }: PropsWithChildren) {\n  const { flowType } = useOryFlow()\n  if (!children || (Array.isArray(children) && children.length === 0)) {\n    return null\n  }\n\n  return (\n    <section\n      className={cn(\n        flowType === FlowType.Settings ? \"text-center\" : \"text-left\",\n      )}\n    >\n      {children}\n    </section>\n  )\n}\n\n/**\n * The default message component for Ory Elements.\n *\n * @param props - The properties for the DefaultMessage component.\n * @returns\n * @group Components\n * @category Default Components\n * @see {@link @ory/elements-react!uiTextToFormattedMessage}\n */\nexport function DefaultMessage({ message }: OryMessageContentProps) {\n  const intl = useIntl()\n  return (\n    <span\n      className={cn(\n        \"leading-normal\",\n        message.type === \"error\" &&\n          \"text-interface-foreground-validation-danger\",\n        message.type === \"info\" &&\n          \"text-interface-foreground-default-secondary\",\n        message.type === \"success\" &&\n          \"text-interface-foreground-validation-success\",\n      )}\n      {...messageTestId(message)}\n    >\n      {uiTextToFormattedMessage(message, intl)}\n    </span>\n  )\n}\n\nexport { DefaultButtonSocial } from \"./sso\"\n","// Copyright © 2024 Ory Corp\n// SPDX-License-Identifier: Apache-2.0\n\nimport {\n  OryFormSsoRootProps,\n  OryNodeSsoButtonProps,\n  uiTextToFormattedMessage,\n  useOryFlow,\n} from \"@ory/elements-react\"\nimport { ElementType, useEffect } from \"react\"\nimport { useFormContext } from \"react-hook-form\"\nimport { useIntl } from \"react-intl\"\nimport { useDebounceValue } from \"usehooks-ts\"\nimport defaultLogos from \"../../provider-logos\"\nimport { cn } from \"../../utils/cn\"\nimport { Spinner } from \"./spinner\"\nimport { UiNodeGroupEnum } from \"@ory/client-fetch\"\nimport { omitInputAttributes } from \"../../../../util/omitAttributes\"\n\nexport function extractProvider(\n  context: object | undefined,\n): string | undefined {\n  if (\n    context &&\n    typeof context === \"object\" &&\n    \"provider\" in context &&\n    typeof context.provider === \"string\"\n  ) {\n    return context.provider\n  }\n  return undefined\n}\n\n/**\n * Props for the DefaultButtonSocial component.\n *\n * @inline\n * @hidden\n */\ninterface DefaultSocialButtonProps extends OryNodeSsoButtonProps {\n  /**\n   * Whether to show the label next to the logo.\n   * If not provided, it will be determined based on the number of SSO nodes.\n   */\n  showLabel?: boolean\n  /**\n   * Logos to use for the social buttons.\n   * If not provided, the default logos will be used.\n   */\n  logos?: Record<string, ElementType>\n}\n\n/**\n * The default implementation of a social button for Ory SSO.\n * It renders a button with a logo and an optional label.\n *\n * @param props - The props for the DefaultButtonSocial component.\n * @returns\n * @category Default Components\n * @group Components\n * @inlineType OryNodeSsoButtonProps\n */\nexport function DefaultButtonSocial({\n  attributes,\n  node,\n  onClick,\n  showLabel: _showLabel,\n  logos: providedLogos,\n}: DefaultSocialButtonProps) {\n  const logos = { ...defaultLogos, ...providedLogos }\n  const { type: _ignoredType, name: _ignoredName, ...rest } = attributes\n  const {\n    flow: { ui },\n  } = useOryFlow()\n  // Safari cancels form submission events, if we do a state update in the same tick\n  // so we delay the state update by 100ms\n  const [clicked, setClicked] = useDebounceValue(false, 100)\n  const intl = useIntl()\n  const {\n    formState: { isSubmitting },\n  } = useFormContext()\n\n  const ssoNodeCount =\n    ui.nodes.filter(\n      (node) =>\n        node.group === UiNodeGroupEnum.Oidc ||\n        node.group === UiNodeGroupEnum.Saml,\n    ).length ?? 0\n\n  // Ideally, kratos would return the provider name in the context\n  // At the moment it only returns the label (misleadingly named `provider`).\n  // But changing that would be a breaking change.\n  // So we have to extract the provider name from the id, which sometimes might contain a - followed by a unique ID.\n  // TODO(kratos): Add provider to the context\n  const Logo = logos[(attributes.value as string).split(\"-\")[0]]\n\n  const showLabel =\n    _showLabel ?? (ssoNodeCount % 3 !== 0 && ssoNodeCount % 4 !== 0)\n\n  const provider = extractProvider(node.meta.label?.context) ?? \"\"\n\n  const localOnClick = () => {\n    onClick?.()\n    setClicked(true)\n  }\n\n  useEffect(() => {\n    if (!isSubmitting) {\n      setClicked(false)\n    }\n  }, [isSubmitting, setClicked])\n\n  const label = node.meta.label\n    ? uiTextToFormattedMessage(node.meta.label, intl)\n    : \"\"\n\n  return (\n    <button\n      className=\"flex items-center justify-center gap-3 rounded-buttons border border-button-social-border-default bg-button-social-background-default px-4 py-[13px] transition-colors hover:border-button-social-border-hover hover:bg-button-social-background-hover hover:text-button-social-foreground-hover loading:border-button-social-border-disabled loading:bg-button-social-background-disabled loading:text-button-social-foreground-disabled\"\n      value={attributes.value}\n      type=\"submit\"\n      name=\"provider\"\n      data-testid={`ory/form/node/input/${attributes.name}`}\n      onClick={localOnClick}\n      data-loading={clicked}\n      disabled={isSubmitting}\n      aria-label={label}\n      {...omitInputAttributes(rest)}\n    >\n      <span className=\"relative size-5\">\n        {!clicked ? (\n          Logo ? (\n            <Logo size={20} />\n          ) : (\n            <GenericLogo label={provider.slice(0, 1)} />\n          )\n        ) : (\n          <Spinner className=\"size-5\" />\n        )}\n      </span>\n      {showLabel && node.meta.label ? (\n        <>\n          <span className=\"grow text-center leading-none font-medium text-button-social-foreground-default\">\n            {label}\n          </span>\n          <span className=\"block size-5\"></span>\n        </>\n      ) : null}\n    </button>\n  )\n}\n\n/**\n * Returns a variant of DefaultButtonSocial that can use your own logos\n *\n * @param logos - a record of provider names and their respective logos\n * @returns a variant of DefaultButtonSocial that uses the provided logos\n */\nDefaultButtonSocial.WithLogos =\n  (logos: Record<string, ElementType>) => (props: DefaultSocialButtonProps) => (\n    <DefaultButtonSocial {...props} logos={logos} />\n  )\n\nexport function DefaultSocialButtonContainer({\n  children,\n  nodes,\n}: OryFormSsoRootProps) {\n  return (\n    <div\n      className={cn(\"grid gap-3\", {\n        // needed because tailwind is not compiling dynamic classes\n        \"grid-cols-1\": nodes.length % 4 <= 2,\n        \"grid-cols-3\": nodes.length % 3 === 0,\n        \"grid-cols-4\": nodes.length > 1 && nodes.length % 4 === 0,\n      })}\n    >\n      {children}\n    </div>\n  )\n}\n\nexport function GenericLogo({ label }: { label: string }) {\n  return (\n    <span className=\"flex size-full items-center justify-center rounded-buttons border-button-social-border-generic-provider bg-button-social-background-generic-provider text-xs text-button-social-foreground-generic-provider\">\n      {label}\n    </span>\n  )\n}\n","import * as React from \"react\";\nconst SvgApple = props => <svg xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 32 32\" width={props?.width ? props.width : props?.size ?? 20} height={props?.height ? props.height : props?.size ?? 20} {...props}><path fill=\"#283544\" d=\"M27.734 11.55c-.134.078-3.317 1.724-3.317 5.374.15 4.162 4.017 5.621 4.083 5.621-.066.078-.584 1.988-2.116 3.991C25.167 28.261 23.817 30 21.767 30c-1.95 0-2.65-1.15-4.9-1.15-2.416 0-3.1 1.15-4.95 1.15-2.05 0-3.5-1.832-4.782-3.541-1.667-2.236-3.083-5.746-3.133-9.116-.034-1.786.334-3.54 1.266-5.032 1.317-2.081 3.667-3.494 6.233-3.54 1.966-.063 3.716 1.257 4.916 1.257 1.15 0 3.3-1.258 5.733-1.258 1.05.001 3.85.296 5.584 2.78M16.25 8.414c-.35-1.631.616-3.262 1.516-4.302C18.917 2.854 20.734 2 22.3 2c.1 1.63-.534 3.23-1.666 4.395-1.017 1.258-2.767 2.205-4.383 2.019\" /></svg>;\nexport default SvgApple;","import * as React from \"react\";\nconst SvgAuth0 = props => <svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 64 64\" width={props?.width ? props.width : props?.size ?? 20} height={props?.height ? props.height : props?.size ?? 20} {...props}><path fill=\"#eb5424\" d=\"M49.012 51.774 42.514 32l17.008-12.22h-21.02L32.005 0h21.032l6.506 19.78c3.767 11.468-.118 24.52-10.53 31.993zm-34.023 0L31.998 64l17.015-12.226-17.008-12.22zm-10.516-32c-3.976 12.1.64 24.917 10.5 32.007v-.007L21.482 32 4.474 19.774l21.025.007L31.998 0H10.972z\" /></svg>;\nexport default SvgAuth0;","import * as React from \"react\";\nconst SvgDiscord = props => <svg xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 32 32\" width={props?.width ? props.width : props?.size ?? 20} height={props?.height ? props.height : props?.size ?? 20} {...props}><path d=\"M2 11.6c0-3.36 0-5.04.654-6.324a6 6 0 0 1 2.622-2.622C6.56 2 8.24 2 11.6 2h8.8c3.36 0 5.04 0 6.324.654a6 6 0 0 1 2.622 2.622C30 6.56 30 8.24 30 11.6v8.8c0 3.36 0 5.04-.654 6.324a6 6 0 0 1-2.622 2.622C25.44 30 23.76 30 20.4 30h-8.8c-3.36 0-5.04 0-6.324-.654a6 6 0 0 1-2.622-2.622C2 25.44 2 23.76 2 20.4z\" /><path fill=\"#5865F2\" d=\"M23.636 9.34A18.8 18.8 0 0 0 19.097 8c-.195.332-.424.779-.581 1.134a17.7 17.7 0 0 0-5.03 0A12 12 0 0 0 12.897 8a18.7 18.7 0 0 0-4.542 1.343c-2.872 4.078-3.65 8.055-3.262 11.975a18.6 18.6 0 0 0 5.567 2.68c.448-.58.848-1.195 1.192-1.844a12 12 0 0 1-1.877-.859 9 9 0 0 0 .46-.342c3.62 1.59 7.553 1.59 11.13 0q.225.178.46.342c-.595.337-1.225.626-1.88.86q.516.974 1.191 1.845a18.6 18.6 0 0 0 5.57-2.682c.457-4.544-.78-8.484-3.27-11.978m-11.29 9.567c-1.087 0-1.978-.953-1.978-2.113s.872-2.116 1.977-2.116c1.106 0 1.997.953 1.978 2.116.002 1.16-.872 2.113-1.978 2.113m7.308 0c-1.086 0-1.977-.953-1.977-2.113s.872-2.116 1.977-2.116c1.106 0 1.997.953 1.978 2.116 0 1.16-.872 2.113-1.978 2.113\" /></svg>;\nexport default SvgDiscord;","import * as React from \"react\";\nconst SvgFacebook = props => <svg xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 32 32\" width={props?.width ? props.width : props?.size ?? 20} height={props?.height ? props.height : props?.size ?? 20} {...props}><circle cx={16} cy={16} r={14} fill=\"url(#facebook_svg__a)\" /><path fill=\"#fff\" d=\"m21.214 20.282.622-3.952h-3.89v-2.563c0-1.081.542-2.136 2.284-2.136H22V8.267S20.395 8 18.86 8c-3.205 0-5.298 1.893-5.298 5.318v3.012H10v3.952h3.562v9.552q1.073.165 2.191.166 1.12 0 2.192-.166v-9.552z\" /><defs><linearGradient id=\"facebook_svg__a\" x1={16} x2={16} y1={2} y2={29.917} gradientUnits=\"userSpaceOnUse\"><stop stopColor=\"#18ACFE\" /><stop offset={1} stopColor=\"#0163E0\" /></linearGradient></defs></svg>;\nexport default SvgFacebook;","import * as React from \"react\";\nconst SvgGithub = props => <svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" width={props?.width ? props.width : props?.size ?? 20} height={props?.height ? props.height : props?.size ?? 20} {...props}><path d=\"M12 0C5.374 0 0 5.373 0 12c0 5.302 3.438 9.8 8.207 11.387.599.111.793-.261.793-.577v-2.234c-3.338.726-4.033-1.416-4.033-1.416-.546-1.387-1.333-1.756-1.333-1.756-1.089-.745.083-.729.083-.729 1.205.084 1.839 1.237 1.839 1.237 1.07 1.834 2.807 1.304 3.492.997.107-.775.418-1.305.762-1.604-2.665-.305-5.467-1.334-5.467-5.931 0-1.311.469-2.381 1.236-3.221-.124-.303-.535-1.524.117-3.176 0 0 1.008-.322 3.301 1.23A11.5 11.5 0 0 1 12 5.803c1.02.005 2.047.138 3.006.404 2.291-1.552 3.297-1.23 3.297-1.23.653 1.653.242 2.874.118 3.176.77.84 1.235 1.911 1.235 3.221 0 4.609-2.807 5.624-5.479 5.921.43.372.823 1.102.823 2.222v3.293c0 .319.192.694.801.576C20.566 21.797 24 17.3 24 12c0-6.627-5.373-12-12-12\" /></svg>;\nexport default SvgGithub;","import * as React from \"react\";\nconst SvgGitlab = props => <svg xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 24 24\" width={props?.width ? props.width : props?.size ?? 20} height={props?.height ? props.height : props?.size ?? 20} {...props}><path fill=\"#E24329\" d=\"m22.708 10.691-.031-.072-3.015-7.167a.74.74 0 0 0-.31-.34.87.87 0 0 0-.923.045.73.73 0 0 0-.268.37L16.125 9.2H7.881L5.845 3.527a.72.72 0 0 0-.268-.371.87.87 0 0 0-.923-.045.74.74 0 0 0-.31.34l-3.021 7.164-.03.072a4.67 4.67 0 0 0-.153 3.23c.335 1.063 1.04 1.998 2.01 2.664l.01.007.028.018 4.594 3.132 2.272 1.567 1.384.952c.162.112.36.172.563.172s.401-.06.563-.172l1.384-.952 2.273-1.567 4.62-3.151.012-.009c.968-.666 1.671-1.6 2.006-2.661a4.67 4.67 0 0 0-.15-3.226\" /><path fill=\"#FC6D26\" d=\"m22.708 10.691-.031-.072a10.7 10.7 0 0 0-4.055 1.66L12 16.839l4.218 2.904 4.621-3.152.012-.008c.969-.666 1.674-1.601 2.008-2.664a4.67 4.67 0 0 0-.15-3.228\" /><path fill=\"#FCA326\" d=\"m7.781 19.743 2.273 1.566 1.384.952c.162.112.36.172.563.172s.401-.06.563-.172l1.384-.952 2.273-1.566S14.255 18.389 12 16.839c-2.255 1.55-4.219 2.904-4.219 2.904\" /><path fill=\"#FC6D26\" d=\"M5.376 12.279a10.7 10.7 0 0 0-4.053-1.664l-.03.072a4.67 4.67 0 0 0-.153 3.23c.335 1.063 1.04 1.998 2.01 2.664l.01.007.028.018 4.594 3.132L12 16.836z\" /></svg>;\nexport default SvgGitlab;","import * as React from \"react\";\nconst SvgGoogle = props => <svg xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 32 32\" width={props?.width ? props.width : props?.size ?? 20} height={props?.height ? props.height : props?.size ?? 20} {...props}><path fill=\"#4285F4\" d=\"M30.001 16.31c0-1.15-.095-1.99-.301-2.861H16.287v5.195h7.873c-.159 1.291-1.016 3.236-2.92 4.542l-.027.174 4.24 3.22.294.029c2.699-2.443 4.254-6.036 4.254-10.298\" /><path fill=\"#34A853\" d=\"M16.286 30c3.857 0 7.095-1.244 9.46-3.391l-4.507-3.423c-1.207.825-2.826 1.4-4.953 1.4A8.58 8.58 0 0 1 8.16 18.77l-.167.014-4.41 3.344-.058.157C5.874 26.858 10.7 30 16.286 30\" /><path fill=\"#FBBC05\" d=\"M8.16 18.769a8.5 8.5 0 0 1-.476-2.77c0-.964.174-1.897.46-2.768l-.008-.185-4.465-3.399-.146.068A13.8 13.8 0 0 0 2.001 16c0 2.256.556 4.387 1.524 6.284z\" /><path fill=\"#EB4335\" d=\"M16.286 7.413c2.683 0 4.492 1.136 5.524 2.085l4.032-3.858C23.366 3.384 20.143 2 16.286 2 10.7 2 5.874 5.142 3.524 9.715l4.62 3.516c1.158-3.375 4.365-5.818 8.142-5.818\" /></svg>;\nexport default SvgGoogle;","import * as React from \"react\";\nconst SvgLinkedin = props => <svg xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 32 32\" width={props?.width ? props.width : props?.size ?? 20} height={props?.height ? props.height : props?.size ?? 20} {...props}><rect width={28} height={28} x={2} y={2} fill=\"#1275B1\" rx={14} /><path fill=\"#fff\" d=\"M12.619 9.692c0 .935-.81 1.692-1.81 1.692C9.81 11.384 9 10.627 9 9.692S9.81 8 10.81 8c.999 0 1.809.758 1.809 1.692M9.247 12.628h3.093V22H9.247zM17.32 12.628h-3.093V22h3.093v-4.795c0-1.107.378-2.22 1.886-2.22 1.705 0 1.695 1.45 1.687 2.572-.01 1.467.014 2.965.014 4.443H24v-4.946c-.026-3.159-.85-4.614-3.557-4.614-1.608 0-2.604.73-3.123 1.39z\" /></svg>;\nexport default SvgLinkedin;","import * as React from \"react\";\nconst SvgMicrosoft = props => <svg xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 23 23\" width={props?.width ? props.width : props?.size ?? 20} height={props?.height ? props.height : props?.size ?? 20} {...props}><path fill=\"#F35325\" d=\"M1 1h10v10H1z\" /><path fill=\"#81BC06\" d=\"M12 1h10v10H12z\" /><path fill=\"#05A6F0\" d=\"M1 12h10v10H1z\" /><path fill=\"#FFBA08\" d=\"M12 12h10v10H12z\" /></svg>;\nexport default SvgMicrosoft;","import * as React from \"react\";\nconst SvgSlack = props => <svg xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 32 32\" width={props?.width ? props.width : props?.size ?? 20} height={props?.height ? props.height : props?.size ?? 20} {...props}><path fill=\"#2EB67D\" d=\"M26.5 15a2.5 2.5 0 1 0-2.5-2.5V15zm-7 0a2.5 2.5 0 0 0 2.5-2.5v-7a2.5 2.5 0 0 0-5 0v7a2.5 2.5 0 0 0 2.5 2.5\" /><path fill=\"#E01E5A\" d=\"M5.5 17A2.5 2.5 0 1 0 8 19.5V17zm7 0a2.5 2.5 0 0 0-2.5 2.5v7a2.5 2.5 0 0 0 5 0v-7a2.5 2.5 0 0 0-2.5-2.5\" /><path fill=\"#ECB22E\" d=\"M17 26.5a2.5 2.5 0 1 0 2.5-2.5H17zm0-7a2.5 2.5 0 0 0 2.5 2.5h7a2.5 2.5 0 0 0 0-5h-7a2.5 2.5 0 0 0-2.5 2.5\" /><path fill=\"#36C5F0\" d=\"M15 5.5A2.5 2.5 0 1 0 12.5 8H15zm0 7a2.5 2.5 0 0 0-2.5-2.5h-7a2.5 2.5 0 0 0 0 5h7a2.5 2.5 0 0 0 2.5-2.5\" /></svg>;\nexport default SvgSlack;","import * as React from \"react\";\nconst SvgSpotify = props => <svg xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 32 32\" width={props?.width ? props.width : props?.size ?? 20} height={props?.height ? props.height : props?.size ?? 20} {...props}><circle cx={16} cy={16} r={14} fill=\"#1ED760\" /><path fill=\"#fff\" d=\"M22.364 21.623c-.239.38-.75.486-1.148.258-3.141-1.822-7.08-2.232-11.736-1.23-.446.091-.893-.167-.988-.592a.786.786 0 0 1 .621-.94c5.087-1.11 9.456-.639 12.964 1.41a.77.77 0 0 1 .287 1.094m1.627-3.461c-.303.47-.941.607-1.435.334-3.588-2.11-9.058-2.718-13.299-1.488-.558.152-1.132-.137-1.292-.653-.16-.531.144-1.078.702-1.23 4.848-1.396 10.875-.728 15.005 1.686.462.273.622.88.319 1.35m.143-3.613c-4.305-2.43-11.4-2.657-15.515-1.473-.654.197-1.355-.152-1.563-.79-.207-.622.176-1.29.83-1.487 4.72-1.366 12.565-1.093 17.508 1.7.59.334.781 1.063.43 1.625-.334.576-1.1.774-1.69.425\" /></svg>;\nexport default SvgSpotify;","import * as React from \"react\";\nconst SvgYandex = props => <svg xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 32 32\" width={props?.width ? props.width : props?.size ?? 20} height={props?.height ? props.height : props?.size ?? 20} {...props}><circle cx={16} cy={16} r={14} fill=\"#fff\" /><path fill=\"#FC3F1D\" d=\"M21 25h-3.143V9.435h-1.402c-2.572 0-3.922 1.294-3.922 3.211 0 2.175.935 3.185 2.857 4.48l1.584 1.063L12.403 25H9l4.104-6.086c-2.363-1.684-3.688-3.316-3.688-6.087C9.416 9.357 11.83 7 16.429 7H21z\" /></svg>;\nexport default SvgYandex;","import * as React from \"react\";\nconst SvgX = props => <svg xmlns=\"http://www.w3.org/2000/svg\" width={props?.width ? props.width : props?.size ?? 20} height={props?.height ? props.height : props?.size ?? 20} fill=\"none\" {...props}><path fill=\"#0F172A\" d=\"M24.122 3h4.292L18.99 13.73 30 28.285h-8.64l-6.764-8.845-7.744 8.845H2.56l9.983-11.476L2 3h8.854l6.112 8.08zM22.62 25.766h2.379L9.604 5.426H7.048z\" /></svg>;\nexport default SvgX;","// Copyright © 2024 Ory Corp\n// SPDX-License-Identifier: Apache-2.0\n\nimport apple from \"./apple.svg\"\nimport auth0 from \"./auth0.svg\"\nimport discord from \"./discord.svg\"\nimport facebook from \"./facebook.svg\"\nimport github from \"./github.svg\"\nimport gitlab from \"./gitlab.svg\"\nimport google from \"./google.svg\"\nimport linkedin from \"./linkedin.svg\"\nimport microsoft from \"./microsoft.svg\"\nimport slack from \"./slack.svg\"\nimport spotify from \"./spotify.svg\"\nimport yandex from \"./yandex.svg\"\nimport x from \"./x.svg\"\n\nconst logos: Record<string, typeof apple> = {\n  apple,\n  auth0,\n  discord,\n  facebook,\n  github,\n  gitlab,\n  google,\n  linkedin,\n  microsoft,\n  slack,\n  spotify,\n  yandex,\n  x,\n}\nexport default logos\n","// Copyright © 2024 Ory Corp\n// SPDX-License-Identifier: Apache-2.0\n\nimport { cn } from \"../../utils/cn\"\n\nexport function Spinner({ className }: { className?: string }) {\n  return (\n    <svg\n      aria-hidden=\"true\"\n      role=\"status\"\n      className={cn(\n        \"pointer-events-none absolute inset-0 m-auto size-8 animate-spin\",\n        className,\n      )}\n      viewBox=\"0 0 34 34\"\n      fill=\"none\"\n      xmlns=\"http://www.w3.org/2000/svg\"\n    >\n      <g clipPath=\"url(#clip0_2572_1748)\">\n        <path\n          d=\"M23.364 10.6362C22.1053 9.37751 20.5016 8.52034 18.7558 8.17307C17.01 7.82581 15.2004 8.00404 13.5559 8.68523C11.9113 9.36641 10.5057 10.52 9.51678 12C8.52784 13.4801 8 15.2201 8 17.0001C8 18.7802 8.52784 20.5202 9.51678 22.0003C10.5057 23.4803 11.9113 24.6339 13.5559 25.3151C15.2004 25.9962 17.01 26.1745 18.7558 25.8272C20.5016 25.4799 22.1053 24.6228 23.364 23.3641\"\n          stroke=\"currentColor\"\n          strokeLinecap=\"round\"\n          strokeLinejoin=\"round\"\n        />\n      </g>\n      <defs>\n        <clipPath id=\"clip0_2572_1748\">\n          <rect\n            width=\"24\"\n            height=\"24\"\n            fill=\"currentColor\"\n            transform=\"translate(17 0.029541) rotate(45)\"\n          />\n        </clipPath>\n      </defs>\n    </svg>\n  )\n}\n","// Copyright © 2024 Ory Corp\n// SPDX-License-Identifier: Apache-2.0\n\nimport { UiContainer, UiNodeInputAttributes } from \"@ory/client-fetch\"\nimport { OryCardAuthMethodListItemProps, useOryFlow } from \"@ory/elements-react\"\nimport { useEffect, useState } from \"react\"\nimport { useIntl } from \"react-intl\"\nimport { useEventListener, useTimeout } from \"usehooks-ts\"\nimport { triggerToFunction } from \"../../../../util/ui\"\nimport AlertIcon from \"../../assets/icons/alert-triangle.svg\"\nimport lookup_secret from \"../../assets/icons/code-asterix.svg\"\nimport code from \"../../assets/icons/code.svg\"\nimport {\n  default as hardware_token,\n  default as passkey,\n} from \"../../assets/icons/passkey.svg\"\nimport password from \"../../assets/icons/password.svg\"\nimport totp from \"../../assets/icons/totp.svg\"\nimport webauthn from \"../../assets/icons/webauthn.svg\"\nimport logos from \"../../provider-logos\"\nimport { isGroupImmediateSubmit } from \"../../utils/form\"\nimport { ListItem } from \"./list-item\"\nimport { useFormContext } from \"react-hook-form\"\n\nconst iconsMap: Record<string, typeof code> = {\n  code,\n  passkey,\n  password,\n  webauthn,\n  hardware_token,\n  totp,\n  lookup_secret,\n  ...logos,\n}\n\nexport function DefaultAuthMethodListItem({\n  onClick,\n  group,\n  title,\n}: OryCardAuthMethodListItemProps) {\n  const intl = useIntl()\n  const Icon = iconsMap[group] || null\n  const { flow } = useOryFlow()\n  const { formState } = useFormContext()\n\n  if (group === \"passkey\") {\n    const passkeyNode = findPasskeyNode(flow)\n    if (!passkeyNode) {\n      // If the passkey node is not found, we return null\n      // to avoid rendering the list item.\n      // Shouldn't happen, but just in case.\n      console.error(\"Passkey node not found\")\n      return null\n    }\n\n    return (\n      <PasskeyListItem passkeyNode={passkeyNode} group={group} title={title} />\n    )\n  }\n\n  return (\n    <ListItem\n      as=\"button\"\n      icon={Icon}\n      title={intl.formatMessage(\n        { id: title?.id ?? `two-step.${group}.title` },\n        title?.values,\n      )}\n      description={intl.formatMessage({\n        id: `two-step.${group}.description`,\n      })}\n      onClick={onClick}\n      type={isGroupImmediateSubmit(group) ? \"submit\" : \"button\"}\n      data-testid={`ory/form/auth-picker/${group}`}\n      disabled={!formState.isReady}\n    />\n  )\n}\n\nfunction findPasskeyNode(flow: {\n  ui: UiContainer\n}): { attributes: UiNodeInputAttributes } | undefined {\n  const passkeyTriggerNode = flow.ui.nodes.find(\n    (node) =>\n      node.attributes.node_type === \"input\" &&\n      [\"passkey_login_trigger\", \"passkey_register_trigger\"].includes(\n        node.attributes.name,\n      ),\n  )\n\n  if (!passkeyTriggerNode) {\n    return undefined\n  }\n\n  return passkeyTriggerNode as { attributes: UiNodeInputAttributes }\n}\n\ntype PasskeyListItemProps = {\n  group: string\n  title?: { id: string; values?: Record<string, string> }\n  passkeyNode: { attributes: UiNodeInputAttributes }\n}\n\nfunction PasskeyListItem({ group, title, passkeyNode }: PasskeyListItemProps) {\n  const intl = useIntl()\n  const Icon = iconsMap[group] || null\n  const { formState } = useFormContext()\n\n  const [isPasskeyScriptInitalized, setPasskeyScriptInitalized] =\n    useState(false)\n  const [failedToLoad, setFailedToLoad] = useState(false)\n\n  const clickHandler = () => {\n    if (!passkeyNode.attributes.onclickTrigger) {\n      console.error(\"Passkey node not found\")\n      return\n    }\n    const fn = triggerToFunction(passkeyNode.attributes.onclickTrigger)\n    if (fn) {\n      fn()\n    } else {\n      console.error(\"Passkey node trigger function not found\")\n    }\n  }\n\n  useEffect(() => {\n    if (!passkeyNode.attributes.onclickTrigger) {\n      console.error(\"Passkey node not found\")\n      return\n    }\n    const fn = triggerToFunction(passkeyNode.attributes.onclickTrigger)\n\n    setPasskeyScriptInitalized(typeof fn === \"function\")\n  }, [passkeyNode])\n\n  useEventListener(\"oryWebAuthnInitialized\" as keyof WindowEventMap, () => {\n    setPasskeyScriptInitalized(true)\n  })\n\n  useTimeout(() => {\n    if (!isPasskeyScriptInitalized) {\n      setFailedToLoad(true)\n    }\n  }, 5000)\n\n  if (failedToLoad) {\n    return (\n      <ListItem\n        as=\"button\"\n        icon={Icon}\n        disabled={true}\n        title={intl.formatMessage(\n          { id: title?.id ?? `two-step.${group}.title` },\n          title?.values,\n        )}\n        description={intl.formatMessage({\n          id: \"two-step.passkey.description.error\",\n        })}\n        type=\"button\"\n        data-testid={`ory/form/auth-picker/${group}`}\n      >\n        <AlertIcon />\n      </ListItem>\n    )\n  }\n\n  return (\n    <ListItem\n      as=\"button\"\n      icon={Icon}\n      disabled={!isPasskeyScriptInitalized || !formState.isReady}\n      name={passkeyNode.attributes.name}\n      title={intl.formatMessage(\n        { id: title?.id ?? `two-step.${group}.title` },\n        title?.values,\n      )}\n      description={intl.formatMessage({\n        id: `two-step.${group}.description`,\n      })}\n      onClick={clickHandler}\n      type=\"button\"\n      data-testid={`ory/form/auth-picker/${group}`}\n    />\n  )\n}\n","import * as React from \"react\";\nconst SvgAlertTriangle = props => <svg xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 24 24\" width={props?.width ? props.width : props?.size ?? 20} height={props?.height ? props.height : props?.size ?? 20} {...props}><path stroke=\"#000\" strokeLinecap=\"round\" strokeLinejoin=\"round\" d=\"M12 9v4m0 4h.01M10.24 3.957l-8.422 14.06A1.99 1.99 0 0 0 3.518 21h16.845a1.99 1.99 0 0 0 1.7-2.983L13.64 3.957a1.988 1.988 0 0 0-3.4 0\" /></svg>;\nexport default SvgAlertTriangle;","import * as React from \"react\";\nconst SvgCodeAsterix = props => <svg xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 24 25\" width={props?.width ? props.width : props?.size ?? 20} height={props?.height ? props.height : props?.size ?? 20} {...props}><path stroke=\"currentColor\" strokeLinecap=\"round\" strokeLinejoin=\"round\" strokeWidth={2} d=\"M6 19.325a2 2 0 0 1-2-2v-4l-1-1 1-1v-4a2 2 0 0 1 2-2m6 6.875 3-1.687M12 12.2v3.375m0-3.375-3-1.687m3 1.687 3 1.688M12 12.2V8.825m0 3.375-3 1.688m9 5.437a2 2 0 0 0 2-2v-4l1-1-1-1v-4a2 2 0 0 0-2-2\" /></svg>;\nexport default SvgCodeAsterix;","import * as React from \"react\";\nconst SvgCode = props => <svg xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 15 13\" width={props?.width ? props.width : props?.size ?? 20} height={props?.height ? props.height : props?.size ?? 20} {...props}><path stroke=\"currentColor\" strokeLinecap=\"round\" strokeLinejoin=\"round\" d=\"M6.333 10.666h-4A1.333 1.333 0 0 1 1 9.333V2.666m0 0a1.333 1.333 0 0 1 1.333-1.333h9.334A1.333 1.333 0 0 1 13 2.666m-12 0 6 4 6-4m0 0v4M12.333 12l1.334-1.334-1.334-1.333m-2 0L9 10.666 10.333 12\" /></svg>;\nexport default SvgCode;","import * as React from \"react\";\nconst SvgPasskey = props => <svg xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 13 14\" width={props?.width ? props.width : props?.size ?? 20} height={props?.height ? props.height : props?.size ?? 20} {...props}><path stroke=\"currentColor\" strokeLinecap=\"round\" strokeLinejoin=\"round\" d=\"M10.602 3.667c.603 1 .86 2.171.733 3.333v.667a4 4 0 0 0 .533 2M3.335 6.333a2.667 2.667 0 0 1 5.333 0V7c0 1.442.468 2.846 1.334 4m-4-4.667v1.334A9.33 9.33 0 0 0 7.668 13M3.335 9a12 12 0 0 0 1.2 4m-3.267-1.333A14.7 14.7 0 0 1 .668 7v-.667a5.333 5.333 0 0 1 8-4.633\" /></svg>;\nexport default SvgPasskey;","import * as React from \"react\";\nconst SvgPassword = props => <svg xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 14 4\" width={props?.width ? props.width : props?.size ?? 20} height={props?.height ? props.height : props?.size ?? 20} {...props}><path stroke=\"currentColor\" strokeLinecap=\"round\" strokeLinejoin=\"round\" d=\"M7 .667v2.667m-1.333-.667 2.666-1.333m-2.666 0 2.666 1.333m-6-2v2.667M1 2.667l2.667-1.333M1 1.334l2.667 1.333m8-2v2.667m-1.334-.667L13 1.334m-2.667 0L13 2.667\" /></svg>;\nexport default SvgPassword;","import * as React from \"react\";\nconst SvgTotp = props => <svg xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 32 32\" width={props?.width ? props.width : props?.size ?? 20} height={props?.height ? props.height : props?.size ?? 20} {...props}><path stroke=\"currentColor\" strokeLinecap=\"round\" strokeLinejoin=\"round\" strokeWidth={2} d=\"M9.333 22.667v.013m0-13.346v.013m13.333-.013v.013m0 9.32h-4v4m8-4v.013m-8 7.987h4m0-4h4v4m-21.333-20a1.333 1.333 0 0 1 1.333-1.333H12a1.333 1.333 0 0 1 1.333 1.333V12A1.334 1.334 0 0 1 12 13.334H6.666A1.334 1.334 0 0 1 5.333 12zm13.333 0A1.333 1.333 0 0 1 20 5.334h5.333a1.333 1.333 0 0 1 1.333 1.333V12a1.333 1.333 0 0 1-1.333 1.334H20A1.333 1.333 0 0 1 18.666 12zM5.333 20a1.333 1.333 0 0 1 1.333-1.333H12A1.333 1.333 0 0 1 13.333 20v5.334A1.333 1.333 0 0 1 12 26.667H6.666a1.333 1.333 0 0 1-1.333-1.334z\" /></svg>;\nexport default SvgTotp;","import * as React from \"react\";\nconst SvgWebauthn = props => <svg xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 14 14\" width={props?.width ? props.width : props?.size ?? 20} height={props?.height ? props.height : props?.size ?? 20} {...props}><path stroke=\"currentColor\" strokeLinecap=\"round\" strokeLinejoin=\"round\" d=\"M9 5h.007m1.03-3.438 2.401 2.401a1.92 1.92 0 0 1 0 2.713l-1.762 1.762a1.92 1.92 0 0 1-2.713 0l-.2-.2-4.372 4.371a1.33 1.33 0 0 1-.826.386L2.448 13h-.781a.667.667 0 0 1-.662-.589L1 12.333v-.781c0-.313.11-.616.311-.856l.08-.087.276-.276H3V9h1.333V7.667l1.43-1.43-.201-.2a1.92 1.92 0 0 1 0-2.713l1.762-1.762a1.92 1.92 0 0 1 2.713 0\" /></svg>;\nexport default SvgWebauthn;","// Copyright © 2024 Ory Corp\n// SPDX-License-Identifier: Apache-2.0\n\nimport { PropsWithChildren } from \"react\"\nimport { SVGIcon } from \"../../assets/types\"\nimport { cn } from \"../../utils/cn\"\n\ntype ListItemProps<T extends React.ElementType = \"div\"> = {\n  icon: SVGIcon\n  as?: T\n  title: string\n  description: string\n}\n\nexport function ListItem<T extends React.ElementType = \"div\">({\n  icon: Icon,\n  as,\n  title,\n  description,\n  children,\n  className,\n  ...props\n}: PropsWithChildren<ListItemProps<T>> & React.ComponentPropsWithoutRef<T>) {\n  const Comp = as || \"div\"\n\n  return (\n    <Comp\n      {...props}\n      className={cn(\n        \"flex w-full cursor-pointer items-start gap-3 rounded-buttons p-2 text-left hover:bg-interface-background-default-primary-hover\",\n        \"disabled:cursor-default disabled:opacity-50 disabled:hover:bg-ui-transparent\",\n        className as string,\n      )}\n    >\n      <span className=\"mt-1\">\n        {Icon && (\n          <Icon size={16} className=\"text-interface-foreground-brand-primary\" />\n        )}\n      </span>\n      <span className=\"inline-flex max-w-full min-w-1 flex-1 flex-col leading-normal\">\n        <span className=\"break-words text-interface-foreground-default-primary\">\n          {title}\n        </span>\n        <span className=\"text-interface-foreground-default-secondary\">\n          {description}\n        </span>\n      </span>\n      {children}\n    </Comp>\n  )\n}\n","// Copyright © 2024 Ory Corp\n// SPDX-License-Identifier: Apache-2.0\n\nimport { getNodeLabel } from \"@ory/client-fetch\"\nimport {\n  OryNodeButtonProps,\n  uiTextToFormattedMessage,\n} from \"@ory/elements-react\"\nimport { cva, VariantProps } from \"class-variance-authority\"\nimport { useFormContext } from \"react-hook-form\"\nimport { useIntl } from \"react-intl\"\nimport { Spinner } from \"./spinner\"\nimport { useEffect, useState } from \"react\"\nimport { omitInputAttributes } from \"../../../../util/omitAttributes\"\n\nconst buttonStyles = cva(\n  [\n    \"relative flex justify-center gap-3 overflow-hidden rounded-buttons leading-none font-medium ring-1 ring-inset\",\n    \"disabled:cursor-not-allowed loading:cursor-wait loading:before:pointer-events-none\",\n    \"transition-colors duration-100 ease-linear\",\n    \"max-w-[488px] p-4\",\n  ],\n  {\n    variants: {\n      intent: {\n        primary: [\n          \"bg-button-primary-background-default text-button-primary-foreground-default ring-button-primary-border-default\",\n          \"hover:bg-button-primary-background-hover hover:text-button-primary-foreground-hover hover:ring-button-primary-border-hover\",\n          \"disabled:bg-button-primary-background-disabled disabled:text-button-primary-foreground-disabled disabled:ring-button-primary-border-disabled\",\n          \"loading:bg-button-primary-background-default loading:text-button-primary-foreground-default loading:ring-button-primary-border-default\",\n          \"loading:before:absolute loading:before:inset-0 loading:before:bg-button-primary-background-default loading:before:opacity-80 loading:before:content-['']\",\n          \"disabled:bg-button-primary-background-disabled disabled:text-button-primary-foreground-disabled disabled:ring-button-primary-border-disabled\",\n        ],\n        secondary: [\n          \"bg-button-secondary-background-default text-button-secondary-foreground-default ring-button-secondary-border-default\",\n          \"hover:bg-button-secondary-background-hover hover:text-button-secondary-foreground-hover hover:ring-button-secondary-border-hover\",\n          \"disabled:bg-button-secondary-background-disabled disabled:text-button-secondary-foreground-disabled disabled:ring-button-secondary-border-disabled\",\n          \"loading:bg-button-secondary-background-default loading:text-button-secondary-foreground-default loading:ring-button-secondary-border-default\",\n          \"loading:before:absolute loading:before:inset-0 loading:before:bg-button-secondary-background-default loading:before:opacity-80 loading:before:content-['']\",\n        ],\n      },\n    },\n  },\n)\n\nexport type ButtonVariants = VariantProps<typeof buttonStyles>\n\nexport const DefaultButton = ({\n  attributes,\n  node,\n  onClick,\n}: OryNodeButtonProps) => {\n  const { type, name, value, ...rest } = attributes\n  const [clicked, setClicked] = useState(false)\n  const intl = useIntl()\n  const label = getNodeLabel(node)\n  const {\n    formState: { isSubmitting, isReady },\n    setValue,\n  } = useFormContext()\n\n  useEffect(() => {\n    if (!isSubmitting) {\n      setClicked(false)\n    }\n  }, [isSubmitting])\n\n  const isPrimary =\n    attributes.name === \"method\" ||\n    attributes.name.includes(\"passkey\") ||\n    attributes.name.includes(\"webauthn\") ||\n    attributes.name.includes(\"lookup_secret\") ||\n    (attributes.name.includes(\"action\") && attributes.value === \"accept\")\n\n  return (\n    <button\n      {...omitInputAttributes(rest)}\n      value={value}\n      name={name}\n      type={type === \"button\" ? \"button\" : \"submit\"} // TODO\n      onClick={(e) => {\n        onClick?.(e)\n        setClicked(true)\n\n        if (type !== \"button\") {\n          setValue(name, value)\n        }\n      }}\n      className={buttonStyles({\n        intent: isPrimary ? \"primary\" : \"secondary\",\n      })}\n      disabled={!isReady && (rest.disabled ?? isSubmitting)}\n      data-loading={clicked}\n    >\n      {clicked ? <Spinner /> : null}\n      {label ? <span>{uiTextToFormattedMessage(label, intl)}</span> : \"\"}\n    </button>\n  )\n}\n\nDefaultButton.displayName = \"DefaultButton\"\n","// Copyright © 2024 Ory Corp\n// SPDX-License-Identifier: Apache-2.0\n\n\"use client\"\nimport { getNodeLabel } from \"@ory/client-fetch\"\nimport {\n  messageTestId,\n  OryNodeInputProps,\n  uiTextToFormattedMessage,\n} from \"@ory/elements-react\"\nimport { useFormContext } from \"react-hook-form\"\nimport { useIntl } from \"react-intl\"\nimport { cn } from \"../../utils/cn\"\nimport { CheckboxLabel } from \"../ui/checkbox-label\"\nimport { omitInputAttributes } from \"../../../../util/omitAttributes\"\n\nfunction CheckboxSVG() {\n  return (\n    <svg\n      className=\"absolute hidden size-4 fill-checkbox-foreground-checked peer-checked:block\"\n      xmlns=\"http://www.w3.org/2000/svg\"\n      width=\"16\"\n      height=\"16\"\n      viewBox=\"0 0 16 16\"\n      fill=\"none\"\n    >\n      <path\n        fillRule=\"evenodd\"\n        clipRule=\"evenodd\"\n        d=\"M11.6464 5.14645C11.8417 4.95118 12.1583 4.95118 12.3536 5.14645C12.5338 5.32669 12.5477 5.6103 12.3951 5.80645L12.3536 5.85355L7.35355 10.8536C7.17331 11.0338 6.8897 11.0477 6.69355 10.8951L6.64645 10.8536L4.14645 8.35355C3.95118 8.15829 3.95118 7.84171 4.14645 7.64645C4.32669 7.4662 4.6103 7.45234 4.80645 7.60485L4.85355 7.64645L7 9.7925L11.6464 5.14645Z\"\n      />\n    </svg>\n  )\n}\n\nexport const DefaultCheckbox = ({\n  attributes: initialAttributes,\n  node,\n}: OryNodeInputProps) => {\n  const { value, name, ...attributes } = initialAttributes\n\n  const intl = useIntl()\n  const label = getNodeLabel(node)\n  const { register } = useFormContext()\n  const hasError = node.messages.some((m) => m.type === \"error\")\n\n  return (\n    <label className=\"flex items-start gap-3 self-stretch antialiased\">\n      <span className=\"flex h-5 items-center\">\n        <input\n          {...omitInputAttributes(attributes)}\n          defaultChecked={Boolean(value)}\n          type=\"checkbox\"\n          className={cn(\n            \"peer size-4 appearance-none rounded-forms border border-checkbox-border-checkbox-border-default bg-checkbox-background-default checked:border-checkbox-border-checkbox-border-checked checked:bg-checkbox-background-checked\",\n            hasError && \"border-interface-border-validation-danger\",\n          )}\n          data-testid={`ory/form/node/input/${name}`}\n          {...register(name)}\n        />\n        <CheckboxSVG />\n      </span>\n      <span className=\"flex flex-col\">\n        <span className=\"leading-tight font-normal text-interface-foreground-default-primary\">\n          <CheckboxLabel label={label} />\n        </span>\n        {node.messages.map((message) => (\n          <span\n            key={message.id}\n            className={cn(\n              \"mt-1\",\n              message.type === \"error\"\n                ? \"text-interface-foreground-validation-danger\"\n                : \"text-interface-foreground-default-secondary\",\n            )}\n            {...messageTestId(message)}\n          >\n            {uiTextToFormattedMessage(message, intl)}\n          </span>\n        ))}\n      </span>\n    </label>\n  )\n}\n","// Copyright © 2024 Ory Corp\n// SPDX-License-Identifier: Apache-2.0\n\nimport { UiText } from \"@ory/client-fetch\"\nimport { useIntl } from \"react-intl\"\nimport { uiTextToFormattedMessage } from \"../../../../util\"\n\ntype CheckboxLabelProps = {\n  label?: UiText\n}\n\nconst linkRegex = /\\[([^\\]]+)\\]\\(([^)]+)\\)/g\n\nexport function computeLabelElements(labelText: string) {\n  const elements = []\n  let lastIndex = 0\n\n  // Use matchAll to find all markdown links\n  for (const match of labelText.matchAll(linkRegex)) {\n    const linkText = match[1]\n    const url = match[2]\n    const matchStart = match.index\n    if (typeof matchStart === \"undefined\") {\n      // Some types seem to be wrong somewhere, eslint complains that matchStart can be undefined, but it can't?\n      // So we just skip this match, if it is undefined\n      continue\n    }\n\n    // Push the text before the match\n    if (matchStart > lastIndex) {\n      elements.push(labelText.slice(lastIndex, matchStart))\n    }\n\n    // Push the <a> tag for the markdown link\n    elements.push(\n      <a\n        key={matchStart}\n        href={url}\n        target=\"_blank\"\n        rel=\"noopener noreferrer\"\n        className=\"text-button-link-brand-brand underline hover:text-button-link-brand-brand-hover\"\n      >\n        {linkText}\n      </a>,\n    )\n\n    // Update lastIndex to the end of the current match\n    lastIndex = matchStart + match[0].length\n  }\n\n  // Push any remaining text after the last match\n  if (lastIndex < labelText.length) {\n    elements.push(labelText.slice(lastIndex))\n  }\n  return elements\n}\n\nexport function CheckboxLabel({ label }: CheckboxLabelProps) {\n  const intl = useIntl()\n  if (!label) {\n    return null\n  }\n\n  const labelText = uiTextToFormattedMessage(label, intl)\n\n  return <>{computeLabelElements(labelText)}</>\n}\n","// Copyright © 2024 Ory Corp\n// SPDX-License-Identifier: Apache-2.0\n\nimport { OryFormGroupProps, useOryFlow } from \"@ory/elements-react\"\nimport { cn } from \"../../utils/cn\"\nimport { FlowType } from \"@ory/client-fetch\"\nimport { countRenderableChildren } from \"../../../../util/childCounter\"\n\nexport function DefaultGroupContainer({ children }: OryFormGroupProps) {\n  const { flowType } = useOryFlow()\n\n  const count = countRenderableChildren(children)\n  if (count === 0) {\n    return null\n  }\n\n  return (\n    <div\n      className={cn(\n        \"grid\",\n        flowType === FlowType.OAuth2Consent\n          ? \"grid-cols-2 gap-2\"\n          : \"grid-cols-1 gap-8\",\n      )}\n    >\n      {children}\n    </div>\n  )\n}\n","// Copyright © 2025 Ory Corp\n// SPDX-License-Identifier: Apache-2.0\n\nimport { Children, ReactNode, isValidElement } from \"react\"\n\nexport function countRenderableChildren(children: ReactNode | ReactNode[]) {\n  return Children.toArray(children).filter((c) => {\n    if (isValidElement(c)) {\n      return true\n    }\n    return false\n  }).length\n}\n","// Copyright © 2024 Ory Corp\n// SPDX-License-Identifier: Apache-2.0\n\nexport function DefaultHorizontalDivider() {\n  return <hr className=\"border-interface-border-default-primary\" />\n}\n","// Copyright © 2024 Ory Corp\n// SPDX-License-Identifier: Apache-2.0\n\nimport { OryNodeImageProps } from \"@ory/elements-react\"\nimport { omitInputAttributes } from \"../../../../util/omitAttributes\"\n\nexport function DefaultImage({ attributes, node }: OryNodeImageProps) {\n  return (\n    <figure>\n      <img\n        {...omitInputAttributes(attributes)}\n        alt={node.meta.label?.text || \"\"}\n      />\n    </figure>\n  )\n}\n","// Copyright © 2024 Ory Corp\n// SPDX-License-Identifier: Apache-2.0\n\nimport { FlowType, getNodeLabel } from \"@ory/client-fetch\"\nimport {\n  OryNodeInputProps,\n  uiTextToFormattedMessage,\n  useOryFlow,\n} from \"@ory/elements-react\"\nimport { useRef, useState } from \"react\"\nimport { useFormContext } from \"react-hook-form\"\nimport { useIntl } from \"react-intl\"\nimport EyeOff from \"../../assets/icons/eye-off.svg\"\nimport Eye from \"../../assets/icons/eye.svg\"\nimport { cn } from \"../../utils/cn\"\nimport { omitInputAttributes } from \"../../../../util/omitAttributes\"\n\nexport const defaultInputClassName = cn(\n  \"w-full rounded-forms border leading-tight antialiased transition-colors placeholder:h-[20px] placeholder:text-input-foreground-tertiary focus:ring-0 focus-visible:outline-hidden\",\n  \"border-input-border-default bg-input-background-default text-input-foreground-primary\",\n  \"disabled:border-input-border-disabled disabled:bg-input-background-disabled disabled:text-input-foreground-disabled\",\n  \"focus:border-input-border-focus focus-visible:border-input-border-focus\",\n  \"hover:border-input-border-hover hover:bg-input-background-hover\",\n  \"px-4 py-[13px]\",\n)\n\nexport const DefaultInput = ({\n  node,\n  attributes,\n  onClick,\n}: OryNodeInputProps) => {\n  const label = getNodeLabel(node)\n  const { register } = useFormContext()\n  const { value, autocomplete, name, maxlength, ...rest } = attributes\n  const intl = useIntl()\n  const { flowType } = useOryFlow()\n  const inputRef = useRef<HTMLInputElement | null>(null)\n\n  const formattedLabel = label\n    ? intl.formatMessage(\n        {\n          id: \"input.placeholder\",\n          defaultMessage: \"Enter your {placeholder}\",\n        },\n        {\n          placeholder: uiTextToFormattedMessage(label, intl),\n        },\n      )\n    : \"\"\n\n  if (rest.type === \"hidden\") {\n    return (\n      <input\n        {...omitInputAttributes(rest)}\n        data-testid={`ory/form/node/input/${name}`}\n        {...register(name, { value })}\n      />\n    )\n  }\n\n  const { ref, ...restRegister } = register(name, { value })\n\n  return (\n    <div\n      className={cn(\n        \"relative flex justify-stretch\",\n        // The settings flow input fields are supposed to be dense, so we don't need the extra padding we want on the user flows.\n        flowType === FlowType.Settings && \"max-w-[488px]\",\n      )}\n    >\n      <input\n        {...omitInputAttributes(rest)}\n        onClick={onClick}\n        maxLength={maxlength}\n        autoComplete={autocomplete}\n        placeholder={formattedLabel}\n        data-testid={`ory/form/node/input/${name}`}\n        className={defaultInputClassName}\n        ref={(e) => {\n          inputRef.current = e\n          ref(e)\n        }}\n        {...restRegister}\n      />\n      {rest.type === \"password\" && <PasswordToggle inputRef={inputRef} />}\n    </div>\n  )\n}\n\nfunction PasswordToggle({\n  inputRef,\n}: {\n  inputRef: React.RefObject<HTMLInputElement>\n}) {\n  const [shown, setShown] = useState(false)\n\n  const handleClick = () => {\n    setShown(!shown)\n    if (inputRef.current) {\n      inputRef.current.type = shown ? \"password\" : \"text\"\n    }\n  }\n\n  return (\n    <button\n      onClick={handleClick}\n      className=\"absolute right-0 flex h-full w-12 items-center justify-center text-input-foreground-primary\"\n      type=\"button\"\n      aria-label=\"Toggle password visibility\"\n    >\n      {shown ? <EyeOff /> : <Eye />}\n    </button>\n  )\n}\n","import * as React from \"react\";\nconst SvgEyeOff = props => <svg xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 24 24\" width={props?.width ? props.width : props?.size ?? 20} height={props?.height ? props.height : props?.size ?? 20} {...props}><path stroke=\"currentColor\" strokeLinecap=\"round\" strokeLinejoin=\"round\" d=\"M10.585 10.587a2 2 0 0 0 2.829 2.828m3.267 3.258A8.7 8.7 0 0 1 12 18q-5.4 0-9-6 1.908-3.18 4.32-4.674m2.86-1.146A9 9 0 0 1 12 6q5.4 0 9 6-1 1.665-2.138 2.87M3 3l18 18\" /></svg>;\nexport default SvgEyeOff;","import * as React from \"react\";\nconst SvgEye = props => <svg xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 24 24\" width={props?.width ? props.width : props?.size ?? 20} height={props?.height ? props.height : props?.size ?? 20} {...props}><g stroke=\"currentColor\" strokeLinecap=\"round\" strokeLinejoin=\"round\"><path d=\"M10 12a2 2 0 1 0 4 0 2 2 0 0 0-4 0\" /><path d=\"M21 12q-3.6 6-9 6t-9-6q3.6-6 9-6t9 6\" /></g></svg>;\nexport default SvgEye;","// Copyright © 2024 Ory Corp\n// SPDX-License-Identifier: Apache-2.0\n\nimport {\n  FlowType,\n  getNodeLabel,\n  instanceOfUiText,\n  UiNode,\n  UiNodeInputAttributes,\n} from \"@ory/client-fetch\"\nimport {\n  messageTestId,\n  OryNodeLabelProps,\n  uiTextToFormattedMessage,\n  useComponents,\n  useOryConfiguration,\n  useOryFlow,\n} from \"@ory/elements-react\"\nimport { useFormContext } from \"react-hook-form\"\nimport { useIntl } from \"react-intl\"\nimport { initFlowUrl } from \"../../utils/url\"\nimport { useMemo } from \"react\"\n\nfunction findResendNode(nodes: UiNode[]) {\n  return nodes.find(\n    (n) =>\n      \"name\" in n.attributes &&\n      ((n.attributes.name === \"email\" && n.attributes.type === \"submit\") ||\n        n.attributes.name === \"resend\"),\n  )\n}\n\nexport function DefaultLabel({\n  node,\n  children,\n  attributes,\n  ...rest\n}: OryNodeLabelProps) {\n  const intl = useIntl()\n  const label = getNodeLabel(node)\n  const { Message } = useComponents()\n  const { flow } = useOryFlow()\n  const { setValue, formState } = useFormContext()\n\n  const resendNode = findResendNode(flow.ui.nodes)\n\n  const handleResend = () => {\n    if (resendNode?.attributes && \"name\" in resendNode.attributes) {\n      setValue(resendNode.attributes.name, resendNode.attributes.value)\n    }\n  }\n\n  const fieldError = formState.errors[attributes.name]\n  return (\n    <div className=\"flex flex-col gap-1 antialiased\">\n      {label && (\n        <span className=\"inline-flex justify-between\">\n          <label\n            {...messageTestId(label)}\n            className=\"leading-normal text-input-foreground-primary\"\n            htmlFor={attributes.name}\n            data-testid={`ory/form/node/input/label/${attributes.name}`}\n            {...rest}\n          >\n            {uiTextToFormattedMessage(label, intl)}\n          </label>\n          <LabelAction attributes={attributes} />\n          {resendNode?.attributes.node_type === \"input\" && (\n            <button\n              type=\"submit\"\n              name={resendNode.attributes.name}\n              value={resendNode.attributes.value}\n              onClick={handleResend}\n              className=\"cursor-pointer text-button-link-brand-brand underline transition-colors hover:text-button-link-brand-brand-hover\"\n            >\n              {intl.formatMessage({ id: \"identities.messages.1070008\" })}\n            </button>\n          )}\n        </span>\n      )}\n      {children}\n      {node.messages.map((message) => (\n        <Message.Content key={message.id} message={message} />\n      ))}\n      {fieldError && instanceOfUiText(fieldError) && (\n        <Message.Content message={fieldError} />\n      )}\n    </div>\n  )\n}\n\ntype LabelActionProps = {\n  attributes: UiNodeInputAttributes\n}\n\nfunction LabelAction({ attributes }: LabelActionProps) {\n  const intl = useIntl()\n  const { flowType, flow, formState } = useOryFlow()\n  const config = useOryConfiguration()\n\n  const action = useMemo(() => {\n    if (flowType === FlowType.Login && config.project.recovery_enabled) {\n      if (formState.current === \"provide_identifier\" && !flow.refresh) {\n        if (attributes.name === \"identifier\") {\n          return {\n            message: intl.formatMessage({\n              id: \"forms.label.recover-account\",\n              defaultMessage: \"Recover Account\",\n            }),\n            href: initFlowUrl(config.sdk.url, \"recovery\", flow),\n          }\n        }\n      } else if (attributes.type === \"password\") {\n        return {\n          message: intl.formatMessage({\n            id: \"forms.label.forgot-password\",\n            defaultMessage: \"Forgot password?\",\n          }),\n          href: initFlowUrl(config.sdk.url, \"recovery\", flow),\n        }\n      }\n    }\n  }, [\n    attributes,\n    config.project.recovery_enabled,\n    flow,\n    flowType,\n    intl,\n    config.sdk.url,\n    formState,\n  ])\n\n  return action ? (\n    <a\n      href={action.href}\n      className=\"text-button-link-brand-brand underline transition-colors hover:text-button-link-brand-brand-hover\"\n    >\n      {action.message}\n    </a>\n  ) : null\n}\n","// Copyright © 2024 Ory Corp\n// SPDX-License-Identifier: Apache-2.0\n\nimport { getNodeLabel } from \"@ory/client-fetch\"\nimport {\n  OryNodeAnchorProps,\n  uiTextToFormattedMessage,\n} from \"@ory/elements-react\"\nimport { forwardRef } from \"react\"\nimport { useIntl } from \"react-intl\"\nimport { cn } from \"../../utils/cn\"\nimport { omitInputAttributes } from \"../../../../util/omitAttributes\"\n\nexport const DefaultLinkButton = forwardRef<\n  HTMLAnchorElement,\n  OryNodeAnchorProps\n>(({ attributes, node }, ref) => {\n  const intl = useIntl()\n  const label = getNodeLabel(node)\n  return (\n    <a\n      {...omitInputAttributes(attributes)}\n      ref={ref}\n      title={label ? uiTextToFormattedMessage(label, intl) : \"\"}\n      data-testid={`ory/form/node/link/${attributes.id}`}\n      className={cn(\n        \"cursor-pointer gap-3 border bg-button-primary-background-default p-4 text-center leading-none font-medium text-button-primary-foreground-default antialiased transition-colors hover:bg-button-primary-background-hover hover:text-button-primary-foreground-hover\",\n      )}\n    >\n      {label ? uiTextToFormattedMessage(label, intl) : \"\"}\n    </a>\n  )\n})\n\nDefaultLinkButton.displayName = \"DefaultLinkButton\"\n","// Copyright © 2024 Ory Corp\n// SPDX-License-Identifier: Apache-2.0\n\n\"use client\"\nimport { useFormContext } from \"react-hook-form\"\nimport { InputOTP, InputOTPGroup, InputOTPSlot } from \"./shadcn/otp-input\"\nimport { OryNodeInputProps, useOryFlow } from \"@ory/elements-react\"\nimport { FlowType } from \"@ory/client-fetch\"\nimport { cn } from \"../../utils/cn\"\n\nexport const DefaultPinCodeInput = ({ attributes }: OryNodeInputProps) => {\n  const { setValue, watch } = useFormContext()\n  const { maxlength, name } = attributes\n  const elements = maxlength ?? 6\n  const { flowType } = useOryFlow()\n\n  const handleInputChange = (v: string) => {\n    setValue(name, v)\n  }\n\n  const value = watch(name) as string\n\n  return (\n    <InputOTP\n      maxLength={maxlength ?? 6}\n      onChange={handleInputChange}\n      name={name}\n      value={value}\n    >\n      <InputOTPGroup\n        className={cn(\n          \"flex w-full justify-stretch gap-2\",\n          // The settings flow input fields are supposed to be dense, so we don't need the extra padding we want on the user flows.\n          flowType === FlowType.Settings && \"max-w-[488px]\",\n        )}\n      >\n        {[...Array(elements)].map((_, index) => (\n          <InputOTPSlot index={index} key={index} />\n        ))}\n      </InputOTPGroup>\n    </InputOTP>\n  )\n}\n","// Copyright © 2024 Ory Corp\n// SPDX-License-Identifier: Apache-2.0\n\n\"use client\"\nimport { cn } from \"../../../utils/cn\"\nimport { OTPInput, OTPInputContext } from \"input-otp\"\nimport * as React from \"react\"\n\n// This file is a copy from https://ui.shadcn.com/docs/components/input-otp\n\nconst InputOTP = React.forwardRef<\n  React.ElementRef<typeof OTPInput>,\n  React.ComponentPropsWithoutRef<typeof OTPInput>\n>(({ className, containerClassName, ...props }, ref) => (\n  <OTPInput\n    ref={ref}\n    containerClassName={cn(\n      \"flex items-center gap-2 has-disabled:opacity-50\",\n      containerClassName,\n    )}\n    className={cn(\"disabled:cursor-not-allowed\", className)}\n    {...props}\n  />\n))\nInputOTP.displayName = \"InputOTP\"\n\nconst InputOTPGroup = React.forwardRef<\n  React.ElementRef<\"div\">,\n  React.ComponentPropsWithoutRef<\"div\">\n>(({ className, ...props }, ref) => (\n  <div ref={ref} className={cn(\"flex items-center\", className)} {...props} />\n))\nInputOTPGroup.displayName = \"InputOTPGroup\"\n\nconst InputOTPSlot = React.forwardRef<\n  React.ElementRef<\"div\">,\n  React.ComponentPropsWithoutRef<\"div\"> & { index: number }\n>(({ index, className, ...props }, ref) => {\n  const inputOTPContext = React.useContext(OTPInputContext)\n  const { char, hasFakeCaret, isActive } = inputOTPContext.slots[index]\n\n  return (\n    <div\n      ref={ref}\n      className={cn(\n        \"w-full rounded-forms border border-solid bg-input-background-default py-[15px] text-center text-input-foreground-primary focus-visible:outline-hidden\",\n        \"relative flex items-center justify-center leading-none transition-all\",\n        isActive ? \"border-input-border-focus\" : \"border-input-border-default\",\n        className,\n      )}\n      {...props}\n    >\n      <span className=\"inline-block size-4\">{char}</span>\n      {hasFakeCaret && (\n        <div className=\"pointer-events-none absolute inset-0 flex items-center justify-center\">\n          <div className=\"h-4 w-px animate-caret-blink bg-interface-background-brand-primary duration-700\" />\n        </div>\n      )}\n    </div>\n  )\n})\nInputOTPSlot.displayName = \"InputOTPSlot\"\n\nexport { InputOTP, InputOTPGroup, InputOTPSlot }\n","// Copyright © 2024 Ory Corp\n// SPDX-License-Identifier: Apache-2.0\n\nimport {\n  OryFormSectionContentProps,\n  OryFormSectionFooterProps,\n  OryFormSectionProps,\n} from \"@ory/elements-react\"\nimport { cn } from \"../../utils/cn\"\n\nconst DefaultFormSection = ({\n  children,\n  nodes: _nodes,\n  ...rest\n}: OryFormSectionProps) => {\n  return (\n    <form\n      className=\"flex w-full max-w-(--breakpoint-sm) flex-col px-4 md:max-w-[712px] lg:max-w-[802px] xl:max-w-[896px]\"\n      {...rest}\n    >\n      {children}\n    </form>\n  )\n}\n\nconst DefaultFormSectionContent = ({\n  title,\n  description,\n  children,\n}: OryFormSectionContentProps) => {\n  return (\n    <div className=\"flex flex-col gap-8 rounded-t-cards border border-b-0 border-interface-border-default-primary bg-interface-background-default-primary px-6 py-8\">\n      <div className=\"flex flex-col gap-2\">\n        <h3 className=\"font-medium text-interface-foreground-default-primary\">\n          {title}\n        </h3>\n        <span className=\"text-interface-foreground-default-secondary\">\n          {description}\n        </span>\n      </div>\n      {children}\n    </div>\n  )\n}\n\nconst DefaultFormSectionFooter = ({\n  children,\n  text,\n}: OryFormSectionFooterProps) => {\n  return (\n    <div\n      className={cn(\n        \"flex min-h-[72px] items-center justify-between gap-2 rounded-b-cards border border-interface-border-default-primary bg-interface-background-default-secondary px-6 py-4 text-interface-foreground-default-tertiary\",\n      )}\n    >\n      <span>{text}</span>\n      {children}\n    </div>\n  )\n}\n\nexport {\n  DefaultFormSection,\n  DefaultFormSectionContent,\n  DefaultFormSectionFooter,\n}\n","// Copyright © 2024 Ory Corp\n// SPDX-License-Identifier: Apache-2.0\n\nimport { UiText } from \"@ory/client-fetch\"\nimport { OryNodeTextProps, uiTextToFormattedMessage } from \"@ory/elements-react\"\nimport { useIntl } from \"react-intl\"\n\nexport function DefaultText({ node, attributes }: OryNodeTextProps) {\n  const intl = useIntl()\n\n  // There is a special case where this node is the lookup secrets code node. In that case we need special formatting:\n  const lookup = (\n    attributes.text.context as {\n      secrets: UiText[]\n    }\n  )?.secrets\n\n  if (lookup) {\n    return (\n      <>\n        <p data-testid={`ory/form/node/text/${attributes.id}/label`}>\n          {node.meta.label\n            ? uiTextToFormattedMessage(node.meta.label, intl)\n            : \"\"}\n        </p>\n        {lookup.map((text: UiText, index) => (\n          <pre\n            data-testid={`ory/form/node/text/lookup_secret_codes/text`}\n            key={index}\n          >\n            <code>{text ? uiTextToFormattedMessage(text, intl) : \"\"}</code>\n          </pre>\n        ))}\n      </>\n    )\n  }\n\n  return (\n    <>\n      <p\n        data-testid={`ory/form/node/text/${attributes.id}/label`}\n        id={attributes.id}\n      >\n        {node.meta.label ? (\n          <label>{uiTextToFormattedMessage(node.meta.label, intl)}</label>\n        ) : null}\n        {attributes.text ? uiTextToFormattedMessage(attributes.text, intl) : \"\"}\n      </p>\n    </>\n  )\n}\n","// Copyright © 2024 Ory Corp\n// SPDX-License-Identifier: Apache-2.0\n\nimport {\n  OryPageHeaderProps,\n  useComponents,\n  useOryConfiguration,\n  useOryFlow,\n} from \"@ory/elements-react\"\nimport { UserMenu } from \"../ui/user-menu\"\nimport { useSession } from \"@ory/elements-react/client\"\nimport { useIntl } from \"react-intl\"\nimport ArrowLeft from \"../../assets/icons/arrow-left.svg\"\n\nexport const DefaultPageHeader = (_props: OryPageHeaderProps) => {\n  const { Card } = useComponents()\n  const { session } = useSession()\n  const intl = useIntl()\n  const { flow } = useOryFlow()\n  const config = useOryConfiguration()\n\n  const returnUrl = flow.return_to ?? config.project.default_redirect_url\n\n  return (\n    <div className=\"mt-16 flex w-full max-w-(--breakpoint-sm) flex-col gap-3 px-4 md:max-w-[712px] lg:max-w-[802px] xl:max-w-[896px]\">\n      <div className=\"flex flex-col gap-12\">\n        <div className=\"flex max-h-10 flex-1 items-center justify-between gap-2\">\n          <div className=\"h-9\">\n            <Card.Logo />\n          </div>\n          <UserMenu session={session} />\n        </div>\n\n        {returnUrl && (\n          <div>\n            <a\n              data-testid={\"ory/screen/settings/back-button\"}\n              href={returnUrl}\n              className=\"inline-flex items-center gap-2 text-button-link-default-primary hover:text-button-link-default-primary-hover\"\n            >\n              <ArrowLeft />{\" \"}\n              {intl.formatMessage({\n                id: \"settings.navigation-back-button\",\n                defaultMessage: \"Back\",\n              })}\n            </a>\n          </div>\n        )}\n      </div>\n    </div>\n  )\n}\n","// Copyright © 2024 Ory Corp\n// SPDX-License-Identifier: Apache-2.0\n\nimport { LogoutFlow, Session } from \"@ory/client-fetch\"\nimport { useOryConfiguration } from \"@ory/elements-react\"\nimport { DropdownMenuLabel } from \"@radix-ui/react-dropdown-menu\"\nimport IconLogout from \"../../assets/icons/logout.svg\"\nimport IconSettings from \"../../assets/icons/settings.svg\"\nimport { useClientLogout } from \"../../utils/logout\"\nimport { getUserInitials } from \"../../utils/user\"\nimport {\n  DropdownMenu,\n  DropdownMenuContent,\n  DropdownMenuItem,\n  DropdownMenuTrigger,\n} from \"./dropdown-menu\"\nimport { UserAvatar } from \"./user-avater\"\n\ntype UserMenuProps = {\n  session: Session | null\n  logoutFlow?: LogoutFlow\n}\n\nexport const UserMenu = ({ session }: UserMenuProps) => {\n  const config = useOryConfiguration()\n  const initials = getUserInitials(session)\n  const { logoutFlow } = useClientLogout(config)\n\n  return (\n    <DropdownMenu>\n      <DropdownMenuTrigger asChild>\n        <UserAvatar initials={initials} title=\"User Menu\" />\n      </DropdownMenuTrigger>\n      <DropdownMenuContent>\n        <DropdownMenuLabel className=\"flex gap-3 px-5 py-4.5\">\n          <UserAvatar disabled initials={initials} />\n          <div className=\"flex flex-col justify-center text-sm leading-tight\">\n            <div className=\"leading-tight font-medium text-interface-foreground-default-primary\">\n              {initials.primary}\n            </div>\n            {initials.secondary && (\n              <div className=\"leading-tight text-interface-foreground-default-tertiary\">\n                {initials.secondary}\n              </div>\n            )}\n          </div>\n        </DropdownMenuLabel>\n        <DropdownMenuItem asChild>\n          <a href={config.project.settings_ui_url}>\n            <IconSettings size={16} /> User settings\n          </a>\n        </DropdownMenuItem>\n        <DropdownMenuItem asChild disabled={!logoutFlow?.logout_url}>\n          <a href={logoutFlow?.logout_url}>\n            <IconLogout size={16} /> Logout\n          </a>\n        </DropdownMenuItem>\n      </DropdownMenuContent>\n    </DropdownMenu>\n  )\n}\n","import * as React from \"react\";\nconst SvgLogout = props => <svg xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 16 16\" width={props?.width ? props.width : props?.size ?? 20} height={props?.height ? props.height : props?.size ?? 20} {...props}><path stroke=\"currentColor\" strokeLinecap=\"round\" strokeLinejoin=\"round\" d=\"M9.333 5.334V4A1.333 1.333 0 0 0 8 2.667H3.333A1.333 1.333 0 0 0 2 4v8a1.333 1.333 0 0 0 1.333 1.334H8A1.333 1.333 0 0 0 9.333 12v-1.333M4.667 8H14m0 0-2-2m2 2-2 2\" /></svg>;\nexport default SvgLogout;","import * as React from \"react\";\nconst SvgSettings = props => <svg xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 16 16\" width={props?.width ? props.width : props?.size ?? 20} height={props?.height ? props.height : props?.size ?? 20} {...props}><g stroke=\"currentColor\" strokeLinecap=\"round\" strokeLinejoin=\"round\"><path d=\"M6.883 2.878c.284-1.17 1.95-1.17 2.234 0a1.15 1.15 0 0 0 1.715.71c1.029-.626 2.207.551 1.58 1.58a1.148 1.148 0 0 0 .71 1.715c1.17.284 1.17 1.95 0 2.234a1.15 1.15 0 0 0-.71 1.715c.626 1.029-.551 2.207-1.58 1.58a1.148 1.148 0 0 0-1.715.71c-.284 1.17-1.95 1.17-2.234 0a1.15 1.15 0 0 0-1.715-.71c-1.029.626-2.207-.551-1.58-1.58a1.15 1.15 0 0 0-.71-1.715c-1.17-.284-1.17-1.95 0-2.234a1.15 1.15 0 0 0 .71-1.715c-.626-1.029.551-2.207 1.58-1.58.667.405 1.531.047 1.715-.71\" /><path d=\"M6 8a2 2 0 1 0 4 0 2 2 0 0 0-4 0\" /></g></svg>;\nexport default SvgSettings;","// Copyright © 2024 Ory Corp\n// SPDX-License-Identifier: Apache-2.0\n\nimport { Session } from \"@ory/client-fetch\"\n\nexport type UserInitials = {\n  primary: string\n  secondary?: string\n  avatar?: string\n}\n\nfunction isTraitsIndexable(\n  traits: unknown,\n): traits is Record<string, string | Record<string, string>> {\n  return typeof traits === \"object\" && traits !== null\n}\n\nexport const getUserInitials = (session: Session | null): UserInitials => {\n  const avatar = \"\"\n  let primary = \"\"\n  let secondary = \"\"\n\n  if (\n    !session?.identity?.traits ||\n    !isTraitsIndexable(session.identity.traits)\n  ) {\n    return {\n      primary,\n      secondary,\n      avatar,\n    }\n  }\n\n  const traits = session.identity?.traits\n\n  if (traits.email && typeof traits.email === \"string\") {\n    secondary = traits.email\n  }\n\n  if (traits.name) {\n    if (typeof traits.name === \"string\") {\n      primary = traits.name\n    }\n\n    if (\n      typeof traits.name === \"object\" &&\n      traits.name &&\n      traits.name.first &&\n      traits.name.last\n    ) {\n      primary = traits.name.first + \" \" + traits.name.last\n    }\n  }\n\n  if (primary === \"\") {\n    primary = secondary\n    secondary = \"\"\n  }\n\n  return {\n    primary,\n    secondary,\n    avatar,\n  }\n}\n","// Copyright © 2024 Ory Corp\n// SPDX-License-Identifier: Apache-2.0\n\n\"use client\"\n\nimport { ComponentPropsWithoutRef, ElementRef, forwardRef } from \"react\"\nimport * as DropdownMenuPrimitive from \"@radix-ui/react-dropdown-menu\"\nimport { cn } from \"../../utils/cn\"\n\nconst DropdownMenu = DropdownMenuPrimitive.Root\n\nconst DropdownMenuTrigger = DropdownMenuPrimitive.Trigger\n\nconst DropdownMenuPortal = DropdownMenuPrimitive.Portal\n\nconst DropdownMenuContent = forwardRef<\n  ElementRef<typeof DropdownMenuPrimitive.Content>,\n  ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.Content>\n>(({ className, sideOffset = 16, ...props }, ref) => (\n  <DropdownMenuPrimitive.Portal>\n    <DropdownMenuPrimitive.Content\n      ref={ref}\n      sideOffset={sideOffset}\n      align=\"end\"\n      className={cn(\n        \"z-50 min-w-76 origin-top-right animate-drop-down-in overflow-hidden will-change-[opacity,transform] data-[state=closed]:animate-drop-down-out\",\n        \"rounded-cards border border-interface-border-default-primary bg-interface-background-default-primary\",\n        className,\n      )}\n      {...props}\n    />\n  </DropdownMenuPrimitive.Portal>\n))\nDropdownMenuContent.displayName = DropdownMenuPrimitive.Content.displayName\n\nconst DropdownMenuItem = forwardRef<\n  ElementRef<typeof DropdownMenuPrimitive.Item>,\n  ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.Item> & {\n    inset?: boolean\n  }\n>(({ className, inset, ...props }, ref) => (\n  <DropdownMenuPrimitive.Item\n    ref={ref}\n    className={cn(\n      \"relative flex cursor-pointer items-center outline-hidden transition-colors select-none data-disabled:pointer-events-none\",\n      \"gap-6 px-8 py-3 text-sm lg:py-4.5\",\n      \"border-t border-button-secondary-border-default first:border-0 hover:border-button-social-border-hover\",\n      \"bg-button-secondary-background-default text-button-secondary-foreground-default\",\n      \"hover:bg-button-secondary-background-hover hover:text-button-secondary-foreground-hover\",\n      \"data-[disabled]:bg-button-secondary-background-disabled data-[disabled]:text-button-secondary-foreground-disabled\",\n      inset && \"pl-8\",\n      className,\n    )}\n    {...props}\n  />\n))\nDropdownMenuItem.displayName = DropdownMenuPrimitive.Item.displayName\n\nconst DropdownMenuLabel = forwardRef<\n  ElementRef<typeof DropdownMenuPrimitive.Label>,\n  ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.Label> & {\n    inset?: boolean\n  }\n>(({ className, inset, ...props }, ref) => (\n  <DropdownMenuPrimitive.Label\n    ref={ref}\n    className={cn(\n      \"px-2 py-1.5 text-sm font-semibold\",\n      inset && \"pl-8\",\n      className,\n    )}\n    {...props}\n  />\n))\nDropdownMenuLabel.displayName = DropdownMenuPrimitive.Label.displayName\n\nexport {\n  DropdownMenu,\n  DropdownMenuTrigger,\n  DropdownMenuContent,\n  DropdownMenuItem,\n  DropdownMenuLabel,\n  DropdownMenuPortal,\n}\n","// Copyright © 2024 Ory Corp\n// SPDX-License-Identifier: Apache-2.0\n\nimport { ComponentPropsWithoutRef, forwardRef } from \"react\"\nimport { UserInitials } from \"../../utils/user\"\nimport IconUser from \"../../assets/icons/user.svg\"\n\ntype UserAvatarProps = {\n  initials: UserInitials\n} & ComponentPropsWithoutRef<\"button\">\n\nexport const UserAvatar = forwardRef<HTMLButtonElement, UserAvatarProps>(\n  ({ initials, ...rest }, ref) => {\n    return (\n      <button\n        ref={ref}\n        className=\"relative flex size-10 items-center justify-center overflow-hidden rounded-[999px] bg-button-primary-background-default hover:bg-button-primary-background-hover\"\n        {...rest}\n      >\n        <div className=\"relative flex size-full items-center justify-center\">\n          {initials.avatar ? (\n            <img\n              src={initials.avatar}\n              alt={initials.primary}\n              className=\"w-full object-contain\"\n            />\n          ) : (\n            <IconUser\n              size={24}\n              className=\"text-button-primary-foreground-default\"\n            />\n          )}\n        </div>\n      </button>\n    )\n  },\n)\nUserAvatar.displayName = \"UserAvatar\"\n","import * as React from \"react\";\nconst SvgUser = props => <svg xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 24 24\" width={props?.width ? props.width : props?.size ?? 20} height={props?.height ? props.height : props?.size ?? 20} {...props}><path stroke=\"currentColor\" strokeLinecap=\"round\" strokeLinejoin=\"round\" d=\"M6 21v-2a4 4 0 0 1 4-4h4a4 4 0 0 1 4 4v2M8 7a4 4 0 1 0 8 0 4 4 0 0 0-8 0\" /></svg>;\nexport default SvgUser;","// Copyright © 2024 Ory Corp\n// SPDX-License-Identifier: Apache-2.0\n\nimport { UiNode, UiNodeInputAttributes } from \"@ory/client-fetch\"\nimport { OrySettingsSsoProps } from \"@ory/elements-react\"\nimport { useEffect } from \"react\"\nimport { useFormContext } from \"react-hook-form\"\nimport { useDebounceValue } from \"usehooks-ts\"\nimport Trash from \"../../assets/icons/trash.svg\"\nimport logos from \"../../provider-logos\"\nimport { DefaultHorizontalDivider } from \"../form/horizontal-divider\"\nimport { DefaultButtonSocial, extractProvider, GenericLogo } from \"../form/sso\"\nimport { Spinner } from \"../form/spinner\"\nimport { omitInputAttributes } from \"../../../../util/omitAttributes\"\n\nexport function DefaultSettingsOidc({\n  linkButtons,\n  unlinkButtons,\n}: OrySettingsSsoProps) {\n  const hasLinkButtons = linkButtons.length > 0\n  const hasUnlinkButtons = unlinkButtons.length > 0\n\n  return (\n    <div className=\"flex flex-col gap-8\">\n      {hasLinkButtons && (\n        <div className=\"grid grid-cols-1 items-start gap-3 sm:grid-cols-2 md:grid-cols-3\">\n          {linkButtons.map((button) => {\n            const attrs = button.attributes as UiNodeInputAttributes\n\n            return (\n              <DefaultButtonSocial\n                showLabel\n                key={attrs.value}\n                node={button}\n                attributes={attrs}\n                onClick={button.onClick}\n              />\n            )\n          })}\n        </div>\n      )}\n      {hasUnlinkButtons && hasLinkButtons ? <DefaultHorizontalDivider /> : null}\n      {unlinkButtons.map((button) => {\n        if (button.attributes.node_type !== \"input\") {\n          return null\n        }\n        return <UnlinkRow key={button.attributes.value} button={button} />\n      })}\n    </div>\n  )\n}\n\ntype UnlinkRowProps = {\n  button: UiNode & { onClick: () => void }\n}\n\nfunction UnlinkRow({ button }: UnlinkRowProps) {\n  // Safari cancels form submission events, if we do a state update in the same tick\n  // so we delay the state update by 100ms\n  const [clicked, setClicked] = useDebounceValue(false, 100)\n  const {\n    formState: { isSubmitting },\n  } = useFormContext()\n  const attrs = button.attributes as UiNodeInputAttributes\n  const provider = extractProvider(button.meta.label?.context) ?? \"\"\n  const Logo = logos[(attrs.value as string).split(\"-\")[0]]\n\n  const localOnClick = () => {\n    button.onClick()\n    setClicked(true)\n  }\n\n  useEffect(() => {\n    if (!isSubmitting) {\n      setClicked(false)\n    }\n  }, [isSubmitting, setClicked])\n\n  return (\n    <div key={attrs.value} className=\"flex justify-between\">\n      <div className=\"flex items-center gap-6\">\n        {Logo ? (\n          <Logo size={32} />\n        ) : (\n          <GenericLogo label={provider.slice(0, 1)} />\n        )}\n        <p className=\"text-sm font-medium text-interface-foreground-default-secondary\">\n          {provider}\n        </p>\n      </div>\n      <button\n        {...omitInputAttributes(attrs)}\n        type=\"submit\"\n        onClick={localOnClick}\n        disabled={isSubmitting}\n        className=\"relative\"\n        title={`Unlink ${provider}`}\n      >\n        {clicked ? (\n          <Spinner className=\"relative\" />\n        ) : (\n          <Trash\n            className=\"text-button-link-default-secondary hover:text-button-link-default-secondary-hover\"\n            size={24}\n          />\n        )}\n      </button>\n    </div>\n  )\n}\n","import * as React from \"react\";\nconst SvgTrash = props => <svg xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 24 24\" width={props?.width ? props.width : props?.size ?? 20} height={props?.height ? props.height : props?.size ?? 20} {...props}><path stroke=\"currentColor\" strokeLinecap=\"round\" strokeLinejoin=\"round\" d=\"M4 7h16m-10 4v6m4-6v6M5 7l1 12a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2l1-12M9 7V4a1 1 0 0 1 1-1h4a1 1 0 0 1 1 1v3\" /></svg>;\nexport default SvgTrash;","// Copyright © 2024 Ory Corp\n// SPDX-License-Identifier: Apache-2.0\n\nimport { UiNodeInputAttributes } from \"@ory/client-fetch\"\nimport { OrySettingsPasskeyProps, useComponents } from \"@ory/elements-react\"\nimport Passkey from \"../../assets/icons/passkey.svg\"\nimport Trash from \"../../assets/icons/trash.svg\"\nimport { DefaultHorizontalDivider } from \"../form/horizontal-divider\"\nimport { useFormContext } from \"react-hook-form\"\nimport { Spinner } from \"../form/spinner\"\n\nexport function DefaultSettingsPasskey({\n  triggerButton,\n  removeButtons,\n}: OrySettingsPasskeyProps) {\n  const {\n    formState: { isSubmitting },\n  } = useFormContext()\n  const { Node } = useComponents()\n\n  const hasRemoveButtons = removeButtons.length > 0\n\n  return (\n    <div className=\"flex flex-col gap-8\">\n      <div className=\"flex max-w-[60%] items-end gap-3\">\n        {triggerButton && (\n          <Node.Button\n            node={triggerButton}\n            attributes={triggerButton.attributes as UiNodeInputAttributes}\n            onClick={triggerButton.onClick}\n          />\n        )}\n      </div>\n      {hasRemoveButtons ? (\n        <div className=\"flex flex-col gap-8\">\n          <DefaultHorizontalDivider />\n          <div className=\"flex flex-col gap-2\">\n            {removeButtons.map((node, i) => {\n              const context = node.meta.label?.context ?? {}\n              const addedAt =\n                \"added_at\" in context ? (context.added_at as string) : null\n              const displayName =\n                \"display_name\" in context\n                  ? (context.display_name as string)\n                  : null\n              const keyId =\n                \"value\" in node.attributes ? node.attributes.value : null\n\n              return (\n                <div\n                  className=\"flex justify-between gap-6 md:items-center\"\n                  key={`passkey-remove-button-${i}`}\n                >\n                  <div className=\"flex flex-1 items-center gap-2 truncate\">\n                    <Passkey\n                      size={32}\n                      className=\"text-interface-foreground-default-primary\"\n                    />\n                    <div className=\"flex flex-1 flex-col gap-4 truncate md:flex-row md:items-center md:justify-between\">\n                      <div className=\"flex-1 flex-col truncate\">\n                        <p className=\"truncate text-sm font-medium text-interface-foreground-default-secondary\">\n                          {displayName}\n                        </p>\n                        <span className=\"hidden truncate text-sm text-interface-foreground-default-tertiary sm:block\">\n                          {keyId}\n                        </span>\n                      </div>\n                      {addedAt && (\n                        <p className=\"text-sm text-interface-foreground-default-tertiary\">\n                          {new Intl.DateTimeFormat(undefined, {\n                            dateStyle: \"long\",\n                          }).format(new Date(addedAt))}\n                        </p>\n                      )}\n                    </div>\n                  </div>\n                  <button\n                    {...(node.attributes as UiNodeInputAttributes)}\n                    type=\"submit\"\n                    onClick={node.onClick}\n                    disabled={isSubmitting}\n                    className=\"relative\"\n                  >\n                    {isSubmitting ? (\n                      <Spinner className=\"relative\" />\n                    ) : (\n                      <Trash\n                        className=\"text-button-link-default-secondary hover:text-button-link-default-secondary-hover\"\n                        size={24}\n                      />\n                    )}\n                  </button>\n                </div>\n              )\n            })}\n          </div>\n        </div>\n      ) : null}\n    </div>\n  )\n}\n","import * as React from \"react\";\nconst SvgDownload = props => <svg xmlns=\"http://www.w3.org/2000/svg\" width={props?.width ? props.width : props?.size ?? 20} height={props?.height ? props.height : props?.size ?? 20} fill=\"none\" {...props}><path stroke=\"currentColor\" strokeLinecap=\"round\" strokeLinejoin=\"round\" d=\"M4 17v2a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-2M7 11l5 5m0 0 5-5m-5 5V4\" /></svg>;\nexport default SvgDownload;","import * as React from \"react\";\nconst SvgRefresh = props => <svg xmlns=\"http://www.w3.org/2000/svg\" width={props?.width ? props.width : props?.size ?? 20} height={props?.height ? props.height : props?.size ?? 20} fill=\"none\" {...props}><path stroke=\"currentColor\" strokeLinecap=\"round\" strokeLinejoin=\"round\" d=\"M20 11A8.1 8.1 0 0 0 4.5 9M4 5v4h4m-4 4a8.1 8.1 0 0 0 15.5 2m.5 4v-4h-4\" /></svg>;\nexport default SvgRefresh;","// Copyright © 2024 Ory Corp\n// SPDX-License-Identifier: Apache-2.0\n\nimport { UiNodeInputAttributes } from \"@ory/client-fetch\"\nimport { OrySettingsRecoveryCodesProps } from \"@ory/elements-react\"\nimport Download from \"../../assets/icons/download.svg\"\nimport Eye from \"../../assets/icons/eye.svg\"\nimport Refresh from \"../../assets/icons/refresh.svg\"\nimport { DefaultHorizontalDivider } from \"../form/horizontal-divider\"\nimport { useFormContext } from \"react-hook-form\"\n\nexport function DefaultSettingsRecoveryCodes({\n  codes,\n  regnerateButton,\n  revealButton,\n  onRegenerate,\n  onReveal,\n}: OrySettingsRecoveryCodesProps) {\n  const {\n    formState: { isSubmitting },\n  } = useFormContext()\n  const onDownload = () => {\n    const element = document.createElement(\"a\")\n    const file = new Blob([codes.join(\"\\n\")], {\n      type: \"text/plain\",\n    })\n    element.href = URL.createObjectURL(file)\n    element.download = \"recovery-codes.txt\"\n    document.body.appendChild(element)\n    element.click()\n  }\n\n  const hasCodes = codes.length >= 1\n\n  return (\n    <div className=\"flex flex-col gap-8\">\n      {codes.length > 0 && <DefaultHorizontalDivider />}\n      <div className=\"flex justify-between gap-4\">\n        <span className=\"text-interface-foreground-default-tertiary\">\n          {revealButton && \"Reveal recovery codes\"}\n        </span>\n        <div className=\"flex gap-2\">\n          {regnerateButton && codes.length > 0 && (\n            <button\n              {...(regnerateButton.attributes as UiNodeInputAttributes)}\n              type=\"submit\"\n              className=\"ml-auto\"\n              onClick={onRegenerate}\n              disabled={isSubmitting}\n              data-loading={isSubmitting}\n            >\n              <Refresh\n                size={24}\n                className=\"text-button-link-default-secondary hover:text-button-link-default-secondary-hover\"\n              />\n            </button>\n          )}\n          {revealButton && (\n            <>\n              <button\n                {...(revealButton.attributes as UiNodeInputAttributes)}\n                type=\"submit\"\n                className=\"ml-auto\"\n                onClick={onReveal}\n                title=\"Reveal recovery codes\"\n              >\n                <Eye\n                  size={24}\n                  className=\"text-button-link-default-secondary hover:text-button-link-default-secondary-hover\"\n                />\n              </button>\n            </>\n          )}\n          {hasCodes && (\n            <button\n              onClick={onDownload}\n              type=\"button\"\n              className=\"ml-auto\"\n              data-testid=\"ory/screen/settings/group/recovery_code/download\"\n              title=\"Download recovery codes\"\n            >\n              <Download\n                size={24}\n                className=\"text-button-link-default-secondary hover:text-button-link-default-secondary-hover\"\n              />\n            </button>\n          )}\n        </div>\n      </div>\n      {hasCodes ? (\n        <div className=\"rounded-general border-interface-border-default-primary bg-interface-background-default-secondary p-6\">\n          <div\n            className=\"grid grid-cols-2 flex-wrap gap-4 text-sm text-interface-foreground-default-primary sm:grid-cols-3 md:grid-cols-5\"\n            data-testid=\"ory/screen/settings/group/recovery_code/codes\"\n          >\n            {codes.map((code) => (\n              <p key={code}>{code}</p>\n            ))}\n          </div>\n        </div>\n      ) : null}\n    </div>\n  )\n}\n","// Copyright © 2024 Ory Corp\n// SPDX-License-Identifier: Apache-2.0\n\nimport {\n  UiNodeImageAttributes,\n  UiNodeInputAttributes,\n  UiNodeTextAttributes,\n} from \"@ory/client-fetch\"\nimport { OrySettingsTotpProps, useComponents } from \"@ory/elements-react\"\nimport QrCode from \"../../assets/icons/qrcode.svg\"\nimport Trash from \"../../assets/icons/trash.svg\"\nimport { DefaultHorizontalDivider } from \"../form/horizontal-divider\"\nimport { useFormContext } from \"react-hook-form\"\nimport { Spinner } from \"../form/spinner\"\nimport { defaultInputClassName } from \"../form/input\"\n\nexport function DefaultSettingsTotp({\n  totpImage,\n  totpInput,\n  totpSecret,\n  totpUnlink,\n  onUnlink,\n}: OrySettingsTotpProps) {\n  const { Node, Card } = useComponents()\n  const {\n    formState: { isSubmitting },\n  } = useFormContext()\n  if (totpUnlink) {\n    const {\n      type,\n      autocomplete: _ignoredAutocomplete,\n      label: _ignoredLabel,\n      node_type: _ignoredNodeType,\n      ...buttonAttrs\n    } = totpUnlink.attributes as UiNodeInputAttributes\n\n    return (\n      <div className=\"grid grid-cols-1 gap-8 md:grid-cols-2\">\n        <div className=\"col-span-full\">\n          <Card.Divider />\n        </div>\n        <div className=\"col-span-full flex items-center gap-6\">\n          <div className=\"aspect-square size-8\">\n            <QrCode size={32} />\n          </div>\n          <div className=\"mr-auto flex flex-col\">\n            <p className=\"text-sm font-medium text-interface-foreground-default-primary\">\n              Authenticator app\n            </p>\n          </div>\n          <button\n            type={type === \"button\" ? \"button\" : \"submit\"}\n            {...buttonAttrs}\n            onClick={onUnlink}\n            disabled={isSubmitting}\n          >\n            {isSubmitting ? (\n              <Spinner className=\"relative\" />\n            ) : (\n              <Trash\n                className=\"text-button-link-default-secondary hover:text-button-link-default-secondary-hover\"\n                size={24}\n              />\n            )}\n          </button>\n        </div>\n      </div>\n    )\n  }\n\n  if (totpImage && totpSecret && totpInput) {\n    return (\n      <div className=\"grid grid-cols-1 gap-8 md:grid-cols-2\">\n        <div className=\"col-span-full\">\n          <DefaultHorizontalDivider />\n        </div>\n        <div className=\"flex justify-center rounded-cards bg-interface-background-default-secondary p-8\">\n          <div className=\"aspect-square h-44 bg-[white]\">\n            <div className=\"-m-3 antialiased mix-blend-multiply\">\n              <Node.Image\n                node={totpImage}\n                attributes={{\n                  ...(totpImage.attributes as UiNodeImageAttributes),\n                }}\n              />\n            </div>\n          </div>\n        </div>\n        <div className=\"flex flex-col gap-6\">\n          <Node.Label\n            node={totpSecret}\n            attributes={totpSecret.attributes as UiNodeInputAttributes}\n          >\n            <div className=\"relative flex max-w-[488px] justify-stretch\">\n              <input\n                disabled\n                name=\"totp_secret_key\"\n                type=\"text\"\n                value={\n                  (totpSecret.attributes as UiNodeTextAttributes).text.text\n                }\n                data-testid={`ory/form/node/input/totp_secret_key`}\n                className={defaultInputClassName}\n              />\n            </div>\n          </Node.Label>\n          <Node.Label\n            attributes={totpInput.attributes as UiNodeInputAttributes}\n            node={totpInput}\n          >\n            <Node.CodeInput\n              node={totpInput}\n              attributes={totpInput.attributes as UiNodeInputAttributes}\n            />\n          </Node.Label>\n        </div>\n      </div>\n    )\n  }\n}\n","import * as React from \"react\";\nconst SvgQrcode = props => <svg xmlns=\"http://www.w3.org/2000/svg\" width={props?.width ? props.width : props?.size ?? 20} height={props?.height ? props.height : props?.size ?? 20} fill=\"none\" {...props}><path stroke=\"currentColor\" strokeLinecap=\"round\" strokeLinejoin=\"round\" d=\"M9.333 22.667v.013m0-13.346v.013m13.333-.013v.013m0 9.32h-4v4m8-4v.013m-8 7.987h4m0-4h4v4m-21.333-20a1.333 1.333 0 0 1 1.333-1.333H12a1.333 1.333 0 0 1 1.333 1.333V12A1.334 1.334 0 0 1 12 13.334H6.666A1.334 1.334 0 0 1 5.333 12zm13.333 0A1.333 1.333 0 0 1 20 5.334h5.333a1.333 1.333 0 0 1 1.333 1.333V12a1.333 1.333 0 0 1-1.333 1.334H20A1.333 1.333 0 0 1 18.666 12zM5.333 20a1.333 1.333 0 0 1 1.333-1.333H12A1.333 1.333 0 0 1 13.333 20v5.334A1.333 1.333 0 0 1 12 26.667H6.666a1.333 1.333 0 0 1-1.333-1.334z\" /></svg>;\nexport default SvgQrcode;","// Copyright © 2024 Ory Corp\n// SPDX-License-Identifier: Apache-2.0\n\nimport { UiNodeInputAttributes } from \"@ory/client-fetch\"\nimport { OrySettingsWebauthnProps, useComponents } from \"@ory/elements-react\"\nimport Key from \"../../assets/icons/key.svg\"\nimport Trash from \"../../assets/icons/trash.svg\"\nimport { useFormContext } from \"react-hook-form\"\nimport { Spinner } from \"../form/spinner\"\n\nexport function DefaultSettingsWebauthn({\n  nameInput,\n  triggerButton,\n  removeButtons,\n}: OrySettingsWebauthnProps) {\n  const {\n    formState: { isSubmitting },\n  } = useFormContext()\n  const { Node, Card } = useComponents()\n  const hasRemoveButtons = removeButtons.length > 0\n\n  return (\n    <div className=\"flex flex-col gap-8\">\n      <div className=\"flex flex-col gap-3 sm:flex-row sm:items-end md:max-w-96\">\n        <div className=\"flex-1\">\n          <Node.Label\n            node={nameInput}\n            attributes={nameInput.attributes as UiNodeInputAttributes}\n          >\n            <Node.Input\n              node={nameInput}\n              attributes={nameInput.attributes as UiNodeInputAttributes}\n            />\n          </Node.Label>\n        </div>\n        {triggerButton ? (\n          <Node.Button\n            node={triggerButton}\n            attributes={triggerButton.attributes as UiNodeInputAttributes}\n            onClick={triggerButton.onClick}\n          />\n        ) : null}\n      </div>\n      {hasRemoveButtons ? (\n        <div className=\"flex flex-col gap-8\">\n          <Card.Divider />\n          <div className=\"flex flex-col gap-4\">\n            {removeButtons.map((node, i) => {\n              const context = node.meta.label?.context ?? {}\n              const addedAt =\n                \"added_at\" in context ? (context.added_at as string) : null\n              const displayName =\n                \"display_name\" in context\n                  ? (context.display_name as string)\n                  : null\n              const keyId =\n                \"value\" in node.attributes ? node.attributes.value : null\n\n              return (\n                <div\n                  className=\"flex justify-between gap-6 md:items-center\"\n                  key={`webauthn-remove-button-${i}`}\n                >\n                  <div className=\"flex flex-1 items-center gap-2 truncate\">\n                    <Key\n                      size={32}\n                      className=\"text-interface-foreground-default-primary\"\n                    />\n                    <div className=\"flex flex-1 flex-col gap-4 truncate md:flex-row md:items-center md:justify-between\">\n                      <div className=\"flex-1 flex-col truncate\">\n                        <p className=\"truncate text-sm font-medium text-interface-foreground-default-secondary\">\n                          {displayName}\n                        </p>\n                        <span className=\"hidden truncate text-sm text-interface-foreground-default-tertiary sm:block\">\n                          {keyId}\n                        </span>\n                      </div>\n                      {addedAt && (\n                        <p className=\"text-sm text-interface-foreground-default-tertiary\">\n                          {new Intl.DateTimeFormat(undefined, {\n                            dateStyle: \"long\",\n                          }).format(new Date(addedAt))}\n                        </p>\n                      )}\n                    </div>\n                  </div>\n                  <button\n                    {...(node.attributes as UiNodeInputAttributes)}\n                    type=\"submit\"\n                    onClick={node.onClick}\n                    disabled={isSubmitting}\n                    className=\"relative\"\n                  >\n                    {isSubmitting ? (\n                      <Spinner className=\"relative\" />\n                    ) : (\n                      <Trash\n                        className=\"text-button-link-default-secondary hover:text-button-link-default-secondary-hover\"\n                        size={24}\n                      />\n                    )}\n                  </button>\n                </div>\n              )\n            })}\n          </div>\n        </div>\n      ) : null}\n    </div>\n  )\n}\n","import * as React from \"react\";\nconst SvgKey = props => <svg xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 32 32\" width={props?.width ? props.width : props?.size ?? 20} height={props?.height ? props.height : props?.size ?? 20} {...props}><path stroke=\"currentColor\" strokeLinecap=\"round\" strokeLinejoin=\"round\" d=\"M20 12h.013m2.06-6.876 4.803 4.803a3.836 3.836 0 0 1 0 5.425l-3.524 3.524a3.835 3.835 0 0 1-5.425 0l-.402-.401-8.744 8.744a2.67 2.67 0 0 1-1.652.77L6.896 28H5.333a1.334 1.334 0 0 1-1.324-1.177L4 26.667v-1.563c0-.626.22-1.232.623-1.712l.158-.173.552-.552H8V20h2.667v-2.667l2.858-2.858-.401-.402a3.835 3.835 0 0 1 0-5.425l3.524-3.524a3.835 3.835 0 0 1 5.425 0\" /></svg>;\nexport default SvgKey;","// Copyright © 2025 Ory Corp\n// SPDX-License-Identifier: Apache-2.0\n\nimport { PropsWithChildren } from \"react\"\n\nexport function DefaultAuthMethodListContainer({\n  children,\n}: PropsWithChildren) {\n  return <div className=\"grid grid-cols-1 gap-2\">{children}</div>\n}\n","// Copyright © 2025 Ory Corp\n// SPDX-License-Identifier: Apache-2.0\n\nimport { isUiNodeInputAttributes } from \"@ory/client-fetch\"\nimport { Turnstile, TurnstileInstance } from \"@marsidev/react-turnstile\"\nimport { useEffect, useRef } from \"react\"\nimport { useFormContext } from \"react-hook-form\"\nimport { DefaultInput } from \"./input\"\nimport { OryNodeCaptchaProps } from \"@ory/elements-react\"\n\ntype Config = {\n  sitekey: string\n  action: string\n  theme: \"auto\" | \"light\" | \"dark\"\n  response_field_name: string\n}\n\nexport const DefaultCaptcha = ({ node }: OryNodeCaptchaProps) => {\n  const { setValue, formState } = useFormContext()\n  const ref = useRef<TurnstileInstance>()\n  // In this node, we only care about the `captcha-turnstile-options` node as that contains\n  // all required information to render the captcha.\n\n  const prevSubmitCount = useRef(formState.submitCount)\n\n  // Reset widget whenever submitCount changes (this covers both successful submissions and validation errors)\n  useEffect(() => {\n    if (\n      formState.submitCount > prevSubmitCount.current &&\n      formState.isSubmitSuccessful\n    ) {\n      prevSubmitCount.current = formState.submitCount\n\n      // Adding a small timeout to ensure the form submission process has completed\n      setTimeout(() => {\n        if (ref.current) {\n          ref.current.reset()\n        }\n      }, 100)\n    }\n  }, [formState.submitCount, formState.isSubmitSuccessful])\n\n  if (!isUiNodeInputAttributes(node.attributes)) {\n    return null\n  }\n\n  if (node.attributes.name === \"transient_payload.captcha_turnstile_response\") {\n    // This is the hidden field that gets populated.\n    return <DefaultInput key={1} node={node} attributes={node.attributes} />\n  } else if (node.attributes.name === \"captcha_turnstile_options\") {\n    // This is the actual widget\n    const options: Config = JSON.parse(node.attributes.value as string)\n    return (\n      <Turnstile\n        ref={ref}\n        siteKey={options.sitekey}\n        options={{\n          action: options.action,\n          size: \"flexible\",\n          theme: options.theme,\n          responseField: false,\n          responseFieldName: options.response_field_name,\n        }}\n        onExpire={() => ref.current?.reset()}\n        onSuccess={(token) => {\n          setValue(options.response_field_name, token)\n        }}\n      />\n    )\n  }\n\n  return null\n}\n","import * as React from \"react\";\nconst SvgPersonal = props => <svg xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 16 16\" width={props?.width ? props.width : props?.size ?? 20} height={props?.height ? props.height : props?.size ?? 20} {...props}><path stroke=\"currentColor\" strokeLinecap=\"round\" strokeLinejoin=\"round\" d=\"M4 14v-1.333A2.667 2.667 0 0 1 6.667 10h1m5.8 3.467 1.2 1.2m-9.334-10a2.667 2.667 0 1 0 5.334 0 2.667 2.667 0 0 0-5.334 0M10 12a2 2 0 1 0 4 0 2 2 0 0 0-4 0\" /></svg>;\nexport default SvgPersonal;","import * as React from \"react\";\nconst SvgMessage = props => <svg xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 24 25\" width={props?.width ? props.width : props?.size ?? 20} height={props?.height ? props.height : props?.size ?? 20} {...props}><path stroke=\"currentColor\" strokeLinecap=\"round\" strokeLinejoin=\"round\" d=\"M3 7.325a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2m-18 0v10a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-10m-18 0 9 6 9-6\" /></svg>;\nexport default SvgMessage;","import * as React from \"react\";\nconst SvgPhone = props => <svg xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 24 25\" width={props?.width ? props.width : props?.size ?? 20} height={props?.height ? props.height : props?.size ?? 20} {...props}><path stroke=\"currentColor\" strokeLinecap=\"round\" strokeLinejoin=\"round\" d=\"M5 4.325h4l2 5-2.5 1.5a11 11 0 0 0 5 5l1.5-2.5 5 2v4a2 2 0 0 1-2 2 16 16 0 0 1-15-15 2 2 0 0 1 2-2\" /></svg>;\nexport default SvgPhone;","// Copyright © 2025 Ory Corp\n// SPDX-License-Identifier: Apache-2.0\n\nimport { OryNodeConsentScopeCheckboxProps } from \"@ory/elements-react\"\nimport IconPersonal from \"../../assets/icons/personal.svg\"\nimport IconMessage from \"../../assets/icons/message.svg\"\nimport Phone from \"../../assets/icons/phone.svg\"\nimport { ListItem } from \"../card/list-item\"\nimport { useIntl } from \"react-intl\"\nimport * as Switch from \"@radix-ui/react-switch\"\n\nconst ScopeIcons: Record<string, typeof IconPersonal> = {\n  openid: IconPersonal,\n  offline_access: IconPersonal,\n  profile: IconPersonal,\n  email: IconMessage,\n  phone: Phone,\n}\n\nexport function DefaultConsentScopeCheckbox({\n  attributes,\n  onCheckedChange,\n}: OryNodeConsentScopeCheckboxProps) {\n  const intl = useIntl()\n  const Icon = ScopeIcons[attributes.value as string] ?? IconPersonal\n  return (\n    <ListItem\n      as=\"label\"\n      icon={Icon}\n      title={intl.formatMessage({\n        id: `consent.scope.${attributes.value}.title`,\n        defaultMessage: attributes.value,\n      })}\n      description={intl.formatMessage({\n        id: `consent.scope.${attributes.value}.description`,\n        defaultMessage: [],\n      })}\n      className=\"col-span-2\"\n      data-testid=\"ory/screen/consent/scope-checkbox-label\"\n    >\n      <Switch.Root\n        className=\"relative h-4 w-7 rounded-identifier border border-toggle-border-default bg-toggle-background-default p-[3px] transition-all data-[state=checked]:border-toggle-border-checked data-[state=checked]:bg-toggle-background-checked\"\n        data-testid={`ory/screen/consent/scope-checkbox`}\n        value={attributes.value}\n        onCheckedChange={onCheckedChange}\n        defaultChecked={true}\n      >\n        <Switch.Thumb className=\"block size-2 rounded-identifier bg-toggle-foreground-default transition-all data-[state=checked]:translate-x-3 data-[state=checked]:bg-toggle-foreground-checked\" />\n      </Switch.Root>\n    </ListItem>\n  )\n}\n","// Copyright © 2025 Ory Corp\n// SPDX-License-Identifier: Apache-2.0\n\nimport {\n  messageTestId,\n  OryToastProps,\n  uiTextToFormattedMessage,\n} from \"@ory/elements-react\"\nimport { cn } from \"../../utils/cn\"\nimport { useIntl } from \"react-intl\"\n\nexport function DefaultToast({\n  message,\n  // Id can be used to close the toast later, but we don't use it here\n  id: _,\n}: OryToastProps) {\n  const intl = useIntl()\n\n  const title =\n    message.type === \"error\"\n      ? intl.formatMessage({ id: \"settings.messages.toast-title.error\" })\n      : intl.formatMessage({ id: \"settings.messages.toast-title.success\" })\n  const messageText = uiTextToFormattedMessage(message, intl)\n  return (\n    <div\n      className=\"flex-col rounded-cards border border-interface-border-default-primary bg-interface-background-default-inverted p-5\"\n      {...messageTestId(message)}\n    >\n      <p\n        className={cn(\"font-medium\", {\n          \"text-interface-foreground-validation-success\":\n            message.type === \"success\",\n          \"text-interface-foreground-validation-danger\":\n            message.type === \"error\",\n          \"text-interface-foreground-validation-warning\":\n            // Currently unused from Kratos, but kept for future use\n            (message.type as \"warning\") === \"warning\",\n        })}\n      >\n        {title}\n      </p>\n      <p className=\"text-interface-foreground-default-inverted\">\n        {messageText}\n      </p>\n    </div>\n  )\n}\n","// Copyright © 2024 Ory Corp\n// SPDX-License-Identifier: Apache-2.0\n\nimport {\n  OryFlowComponentOverrides,\n  OryFlowComponents,\n} from \"@ory/elements-react\"\nimport {\n  DefaultCard,\n  DefaultCardContent,\n  DefaultCardFooter,\n  DefaultCardHeader,\n  DefaultCardLogo,\n} from \"./card\"\nimport { DefaultAuthMethodListItem } from \"./card/auth-method-list-item\"\nimport {\n  DefaultFormContainer,\n  DefaultMessage,\n  DefaultMessageContainer,\n} from \"./form\"\nimport { DefaultButton } from \"./form/button\"\nimport { DefaultCheckbox } from \"./form/checkbox\"\nimport { DefaultGroupContainer } from \"./form/group-container\"\nimport { DefaultHorizontalDivider } from \"./form/horizontal-divider\"\nimport { DefaultImage } from \"./form/image\"\nimport { DefaultInput } from \"./form/input\"\nimport { DefaultLabel } from \"./form/label\"\nimport { DefaultLinkButton } from \"./form/link-button\"\nimport { DefaultPinCodeInput } from \"./form/pin-code-input\"\nimport {\n  DefaultFormSection,\n  DefaultFormSectionContent,\n  DefaultFormSectionFooter,\n} from \"./form/section\"\nimport { DefaultButtonSocial, DefaultSocialButtonContainer } from \"./form/sso\"\nimport { DefaultText } from \"./form/text\"\nimport { DefaultPageHeader } from \"./generic/page-header\"\nimport { DefaultSettingsOidc } from \"./settings/settings-oidc\"\nimport { DefaultSettingsPasskey } from \"./settings/settings-passkey\"\nimport { DefaultSettingsRecoveryCodes } from \"./settings/settings-recovery-codes\"\nimport { DefaultSettingsTotp } from \"./settings/settings-totp\"\nimport { DefaultSettingsWebauthn } from \"./settings/settings-webauthn\"\nimport { DefaultAuthMethodListContainer } from \"./card/auth-method-list-container\"\nimport { DefaultCaptcha } from \"./form/captcha\"\nimport { DefaultConsentScopeCheckbox } from \"./form/consent-scope-checkbox\"\nimport { DefaultToast } from \"./generic/toast\"\n\n/**\n * Merges the default Ory components with any provided overrides.\n *\n * The output of this function is a complete set of components that can be used in Ory flows.\n *\n * @param overrides - Optional overrides for the default components.\n * @returns\n *\n * @category Utilities\n */\nexport function getOryComponents(\n  overrides?: OryFlowComponentOverrides,\n): OryFlowComponents {\n  // Yes, this could probably be easier by using lodash or a custom merge function.\n  // But, this makes it very explicit what can be overridden, and does not introduce issues with merging nested fields.\n  return {\n    Card: {\n      Root: overrides?.Card?.Root ?? DefaultCard,\n      Footer: overrides?.Card?.Footer ?? DefaultCardFooter,\n      Header: overrides?.Card?.Header ?? DefaultCardHeader,\n      Content: overrides?.Card?.Content ?? DefaultCardContent,\n      Logo: overrides?.Card?.Logo ?? DefaultCardLogo,\n      Divider: overrides?.Card?.Divider ?? DefaultHorizontalDivider,\n      AuthMethodListContainer:\n        overrides?.Card?.AuthMethodListContainer ??\n        DefaultAuthMethodListContainer,\n      AuthMethodListItem:\n        overrides?.Card?.AuthMethodListItem ?? DefaultAuthMethodListItem,\n      SettingsSection: overrides?.Card?.SettingsSection ?? DefaultFormSection,\n      SettingsSectionContent:\n        overrides?.Card?.SettingsSectionContent ?? DefaultFormSectionContent,\n      SettingsSectionFooter:\n        overrides?.Card?.SettingsSectionFooter ?? DefaultFormSectionFooter,\n    },\n    Node: {\n      Button: overrides?.Node?.Button ?? DefaultButton,\n      SsoButton: overrides?.Node?.SsoButton ?? DefaultButtonSocial,\n      Input: overrides?.Node?.Input ?? DefaultInput,\n      CodeInput: overrides?.Node?.CodeInput ?? DefaultPinCodeInput,\n      Image: overrides?.Node?.Image ?? DefaultImage,\n      Label: overrides?.Node?.Label ?? DefaultLabel,\n      Checkbox: overrides?.Node?.Checkbox ?? DefaultCheckbox,\n      Text: overrides?.Node?.Text ?? DefaultText,\n      Anchor: overrides?.Node?.Anchor ?? DefaultLinkButton,\n      Captcha: overrides?.Node?.Captcha ?? DefaultCaptcha,\n      ConsentScopeCheckbox:\n        overrides?.Node?.ConsentScopeCheckbox ?? DefaultConsentScopeCheckbox,\n    },\n    Form: {\n      Root: overrides?.Form?.Root ?? DefaultFormContainer,\n      Group: overrides?.Form?.Group ?? DefaultGroupContainer,\n      SsoRoot: overrides?.Form?.SsoRoot ?? DefaultSocialButtonContainer,\n      RecoveryCodesSettings:\n        overrides?.Form?.RecoveryCodesSettings ?? DefaultSettingsRecoveryCodes,\n      TotpSettings: overrides?.Form?.TotpSettings ?? DefaultSettingsTotp,\n      SsoSettings: overrides?.Form?.SsoSettings ?? DefaultSettingsOidc,\n      WebauthnSettings:\n        overrides?.Form?.WebauthnSettings ?? DefaultSettingsWebauthn,\n      PasskeySettings:\n        overrides?.Form?.PasskeySettings ?? DefaultSettingsPasskey,\n    },\n    Message: {\n      Root: overrides?.Message?.Root ?? DefaultMessageContainer,\n      Content: overrides?.Message?.Content ?? DefaultMessage,\n      Toast: overrides?.Message?.Toast ?? DefaultToast,\n    },\n    Page: {\n      Header: overrides?.Page?.Header ?? DefaultPageHeader,\n    },\n  }\n}\n","// Copyright © 2024 Ory Corp\n// SPDX-License-Identifier: Apache-2.0\n\n\"use client\"\nimport {\n  FlowError,\n  GenericError,\n  instanceOfFlowError,\n  instanceOfGenericError,\n  Session,\n} from \"@ory/client-fetch\"\nimport {\n  OryClientConfiguration,\n  OryConfigurationProvider,\n  OryFlowComponentOverrides,\n  useOryConfiguration,\n} from \"@ory/elements-react\"\nimport { useMemo } from \"react\"\nimport { FormattedMessage } from \"react-intl\"\nimport { IntlProvider } from \"../../../context/intl-context\"\nimport { DefaultCard } from \"../components\"\nimport { DefaultHorizontalDivider } from \"../components/form/horizontal-divider\"\nimport { useClientLogout } from \"../utils/logout\"\n\n/**\n * A union type of all possible errors that can be returned by the Ory SDK.\n * @hidden\n * @inline\n */\nexport type OryError = FlowError | OAuth2Error | { error: GenericError }\n\n/**\n * An OAuth2 error response.\n * @hidden\n * @inline\n */\nexport type OAuth2Error = {\n  error: string\n  error_description: string\n}\n\nfunction isOAuth2Error(error: unknown): error is OAuth2Error {\n  return (\n    !!error &&\n    typeof error === \"object\" &&\n    \"error\" in error &&\n    \"error_description\" in error\n  )\n}\n\n/**\n * Props for the Error component.\n *\n * @inline\n * @hidden\n */\nexport type ErrorFlowContextProps = {\n  /**\n   * The error object returned by the Ory SDK.\n   * This can be a FlowError, OAuth2Error, or a GenericError.\n   */\n  error: OryError\n  /**\n   * The components to override the default ones.\n   * This allows you to customize the appearance and behavior of the error flow.\n   */\n  components?: OryFlowComponentOverrides\n  /**\n   * The Ory client configuration object.\n   * This object contains the configuration for the Ory client, such as the base URL and project information.\n   */\n  config: OryClientConfiguration\n  /**\n   * The session object, if available.\n   * This is used to determine if the user is logged in and to provide appropriate actions.\n   */\n  session?: Session\n}\n\nconst errorDescriptions: Record<number, string> = {\n  4: \"The server could not handle your request, because it was malformed\",\n  5: \"The server encountered an error and could not complete your request\",\n}\n\ntype InternalStandardizedError = {\n  code: number\n  message?: string\n  status?: string\n  reason?: string\n  id?: string\n  timestamp?: Date\n}\n\nfunction useStandardize(error: OryError): InternalStandardizedError {\n  // Memoize the error to keep the timestamp consistent\n  return useMemo(() => {\n    if (isOAuth2Error(error)) {\n      return {\n        code: 400,\n        message: error.error_description,\n        status: error.error,\n        timestamp: new Date(),\n      }\n    }\n    if (instanceOfFlowError(error)) {\n      const parsed = error.error as InternalStandardizedError\n      return {\n        ...parsed,\n        id: error.id,\n        timestamp: error.created_at,\n      }\n    } else if (error.error && instanceOfGenericError(error.error)) {\n      return {\n        code: error.error.code ?? 500,\n        message: error.error.message,\n        status: error.error.status,\n        reason: error.error.reason,\n        timestamp: new Date(),\n      }\n    }\n    return {\n      code: 500,\n      message: \"An error occurred\",\n      status: \"error\",\n    }\n  }, [error])\n}\n\n/**\n * The Error component is used to display an error message to the user.\n *\n * @param props - The props for the Error component.\n * @returns\n * @group Components\n * @category Flows\n */\nexport function Error({\n  error,\n  components: Components,\n  config,\n  session,\n}: ErrorFlowContextProps) {\n  const Card = Components?.Card?.Root ?? DefaultCard\n  const Divider = Components?.Card?.Divider ?? DefaultHorizontalDivider\n  const parsed = useStandardize(error)\n\n  const description = errorDescriptions[Math.floor(parsed.code / 100)]\n\n  return (\n    <OryConfigurationProvider sdk={config.sdk} project={config.project}>\n      <IntlProvider\n        locale={config.intl?.locale ?? \"en\"}\n        customTranslations={config.intl?.customTranslations}\n      >\n        <Card>\n          <div\n            className=\"flex flex-col gap-6 antialiased\"\n            data-testid={\"ory/screen/error\"}\n          >\n            <header className=\"flex flex-col gap-8 antialiased\">\n              <div className=\"max-h-9 self-start\">\n                <ErrorLogo />\n              </div>\n              <div className=\"flex flex-col gap-2\">\n                <h2 className=\"text-lg leading-normal font-semibold text-interface-foreground-default-primary\">\n                  <FormattedMessage id=\"error.title.what-happened\" />\n                </h2>\n                <p className=\"leading-normal text-interface-foreground-default-secondary\">\n                  {parsed.message ?? description}\n                </p>\n                {parsed.reason && (\n                  <p className=\"leading-normal text-interface-foreground-default-secondary\">\n                    {parsed.reason}\n                  </p>\n                )}\n              </div>\n            </header>\n            <Divider />\n\n            <div className=\"flex flex-col gap-2\">\n              <h2 className=\"text-lg leading-normal font-semibold text-interface-foreground-default-primary\">\n                <FormattedMessage id=\"error.title.what-can-i-do\" />\n              </h2>\n              <p className=\"leading-normal text-interface-foreground-default-secondary\">\n                <FormattedMessage id=\"error.instructions\" />\n              </p>\n              <div>{session ? <LoggedInActions /> : <GoBackButton />}</div>\n            </div>\n\n            <Divider />\n            <div className=\"flex flex-col gap-2 leading-normal font-normal antialiased\">\n              <span className=\"text-sm text-interface-foreground-default-primary\">\n                <FormattedMessage id=\"error.footer.text\" />\n              </span>\n\n              {parsed.id && (\n                <p className=\"text-sm text-interface-foreground-default-secondary\">\n                  ID: <code>{parsed.id}</code>\n                </p>\n              )}\n              <p className=\"text-sm text-interface-foreground-default-secondary\">\n                Time: <code>{parsed.timestamp?.toUTCString()}</code>\n              </p>\n              <p className=\"text-sm text-interface-foreground-default-secondary\">\n                Message: <code>{parsed.reason}</code>\n              </p>\n\n              <div>\n                <button\n                  className=\"text-interface-foreground-default-primary underline\"\n                  onClick={() => {\n                    const text = `${parsed.id ? `ID: ${parsed.id}` : \"\"}\nTime: ${parsed.timestamp?.toUTCString()}\n${parsed.reason ? `Message: ${parsed.reason}` : \"\"}\n`\n                    void navigator.clipboard.writeText(text)\n                  }}\n                >\n                  <FormattedMessage id=\"error.footer.copy\" />\n                </button>\n              </div>\n            </div>\n          </div>\n        </Card>\n      </IntlProvider>\n    </OryConfigurationProvider>\n  )\n}\n\nfunction LoggedInActions() {\n  const config = useOryConfiguration()\n  const { logoutFlow } = useClientLogout(config)\n\n  return (\n    <a\n      href={logoutFlow?.logout_url}\n      className=\"text-interface-foreground-default-primary underline\"\n    >\n      <FormattedMessage id=\"login.logout-button\" />\n    </a>\n  )\n}\n\nfunction GoBackButton() {\n  const config = useOryConfiguration()\n  if (\"default_redirect_url\" in config.project) {\n    return (\n      <a\n        className=\"text-interface-foreground-default-primary underline\"\n        href={config.project.default_redirect_url}\n      >\n        <FormattedMessage id=\"error.action.go-back\" />\n      </a>\n    )\n  }\n\n  return null\n}\n\nfunction ErrorLogo() {\n  const { project } = useOryConfiguration()\n  if (project.logo_light_url) {\n    return <img src={project.logo_light_url} className=\"h-full\" alt=\"Logo\" />\n  }\n\n  return (\n    <h1 className=\"text-xl leading-normal font-semibold text-interface-foreground-default-primary\">\n      {project.name}\n    </h1>\n  )\n}\n","// Copyright © 2024 Ory Corp\n// SPDX-License-Identifier: Apache-2.0\n\n\"use client\"\nimport { FlowType, LoginFlow } from \"@ory/client-fetch\"\nimport {\n  OryClientConfiguration,\n  OryFlowComponentOverrides,\n  OryProvider,\n  OrySelfServiceFlowCard,\n} from \"@ory/elements-react\"\nimport { getOryComponents } from \"../components\"\n\n/**\n * Props for the Login component.\n *\n * @inline\n * @hidden\n */\nexport type LoginFlowContextProps = {\n  /**\n   * The login flow object containing the state and data for the login process.\n   */\n  flow: LoginFlow\n  /**\n   * Optional components to override the default ones.\n   *\n   * This allows you to customize the appearance and behavior of the login flow.\n   */\n  components?: OryFlowComponentOverrides\n  /**\n   * The Ory client configuration object.\n   *\n   * This object contains the configuration for the Ory client, such as the base URL and other settings.\n   */\n  config: OryClientConfiguration\n\n  /**\n   * Optional children to render\n   *\n   * If not provided, the default OrySelfServiceFlowCard will be rendered.\n   */\n  children?: React.ReactNode\n}\n\n/**\n * The `Login` component is used to render the login flow in Ory Elements.\n *\n * It provides the necessary context and components for the login flow, allowing you to customize the appearance and behavior of the login form.\n *\n * @param props - The props for the Login component.\n * @group Components\n * @category Flows\n */\nexport function Login({\n  flow,\n  config,\n  children,\n  components: flowOverrideComponents,\n}: LoginFlowContextProps) {\n  const components = getOryComponents(flowOverrideComponents)\n  return (\n    <OryProvider\n      config={config}\n      flow={flow}\n      flowType={FlowType.Login}\n      components={components}\n    >\n      {children ?? <OrySelfServiceFlowCard />}\n    </OryProvider>\n  )\n}\n","// Copyright © 2024 Ory Corp\n// SPDX-License-Identifier: Apache-2.0\n\n\"use client\"\nimport { FlowType, RecoveryFlow } from \"@ory/client-fetch\"\nimport {\n  OryClientConfiguration,\n  OryFlowComponentOverrides,\n  OryProvider,\n  OrySelfServiceFlowCard,\n} from \"@ory/elements-react\"\nimport { getOryComponents } from \"../components\"\n\n/**\n * Props for the Recovery component.\n * @inline\n * @hidden\n */\nexport type RecoveryFlowContextProps = {\n  /**\n   * The recovery flow object containing the state and data for the recovery process.\n   */\n  flow: RecoveryFlow\n  /**\n   * Optional components to override the default ones.\n   *\n   * This allows you to customize the appearance and behavior of the recovery flow.\n   */\n  components?: OryFlowComponentOverrides\n  /**\n   * The Ory client configuration object.\n   *\n   * This object contains the configuration for the Ory client, such as the base URL and other settings.\n   */\n  config: OryClientConfiguration\n\n  /**\n   * Optional children to render\n   *\n   * If not provided, the default OrySelfServiceFlowCard will be rendered.\n   */\n  children?: React.ReactNode\n}\n\n/**\n * The `Recovery` component is used to render the recovery flow in Ory Elements.\n *\n * @param props - The props for the Recovery component.\n * @returns the recovery flow component.\n * @group Components\n * @category Flows\n */\nexport function Recovery({\n  flow,\n  config,\n  children,\n  components: flowOverrideComponents,\n}: RecoveryFlowContextProps) {\n  const components = getOryComponents(flowOverrideComponents)\n  return (\n    <OryProvider\n      config={config}\n      flow={flow}\n      flowType={FlowType.Recovery}\n      components={components}\n    >\n      {children ?? <OrySelfServiceFlowCard />}\n    </OryProvider>\n  )\n}\n","// Copyright © 2024 Ory Corp\n// SPDX-License-Identifier: Apache-2.0\n\n\"use client\"\nimport { FlowType, RegistrationFlow } from \"@ory/client-fetch\"\nimport {\n  OryClientConfiguration,\n  OryFlowComponentOverrides,\n  OryProvider,\n  OrySelfServiceFlowCard,\n} from \"@ory/elements-react\"\nimport { getOryComponents } from \"../components\"\n\n/**\n * Props for the Registration component.\n *\n * @inline\n * @hidden\n */\ntype RegistrationFlowContextProps = {\n  /**\n   * The registration flow object containing the state and data for the registration process.\n   */\n  flow: RegistrationFlow\n\n  /**\n   * Optional components to override the default ones.\n   *\n   * This allows you to customize the appearance and behavior of the registration flow.\n   */\n  components?: OryFlowComponentOverrides\n\n  /**\n   * The Ory client configuration object.\n   *\n   * This object contains the configuration for the Ory client, such as the base URL and other settings.\n   */\n  config: OryClientConfiguration\n\n  /**\n   * Optional children to render\n   *\n   * If not provided, the default OrySelfServiceFlowCard will be rendered.\n   */\n  children?: React.ReactNode\n}\n\n/**\n * The `Registration` component is used to render the registration flow in Ory Elements.\n *\n * @param props - The props for the Registration component.\n * @returns\n * @group Components\n * @category Flows\n */\nexport function Registration({\n  flow,\n  children,\n  components: flowOverrideComponents,\n  config,\n}: RegistrationFlowContextProps) {\n  const components = getOryComponents(flowOverrideComponents)\n  return (\n    <OryProvider\n      config={config}\n      flow={flow}\n      flowType={FlowType.Registration}\n      components={components}\n    >\n      {children ?? <OrySelfServiceFlowCard />}\n    </OryProvider>\n  )\n}\n","// Copyright © 2024 Ory Corp\n// SPDX-License-Identifier: Apache-2.0\n\n\"use client\"\nimport { FlowType, SettingsFlow } from \"@ory/client-fetch\"\nimport {\n  OryClientConfiguration,\n  OryFlowComponentOverrides,\n  OryPageHeader,\n  OryProvider,\n  OrySettingsCard,\n} from \"@ory/elements-react\"\nimport { ComponentPropsWithoutRef } from \"react\"\nimport { getOryComponents } from \"../components\"\nimport { cn } from \"../utils/cn\"\n\n/**\n * Props for the Settings component.\n *\n * @inline\n * @hidden\n */\nexport type SettingsFlowContextProps = {\n  /**\n   * The settings flow object containing the state and data for the settings process.\n   */\n  flow: SettingsFlow\n  /**\n   * Optional components to override the default ones.\n   *\n   * This allows you to customize the appearance and behavior of the settings flow.\n   */\n  components?: OryFlowComponentOverrides\n  /**\n   * The Ory client configuration object.\n   *\n   * This object contains the configuration for the Ory client, such as the base URL and other settings.\n   */\n  config: OryClientConfiguration\n  /**\n   * Optional children to render\n   *\n   * If not provided, the default OrySettingsCard will be rendered.\n   */\n  children?: React.ReactNode\n} & ComponentPropsWithoutRef<\"div\">\n\n/**\n * The `Settings` component is used to render the settings flow in Ory Elements.\n *\n * It provides the necessary context and components for the settings flow, allowing you to customize the appearance and behavior of the settings form.\n *\n * @param props - The props for the Settings component.\n * @group Components\n * @category Flows\n */\nexport function Settings({\n  flow,\n  config,\n  children,\n  components: flowOverrideComponents,\n  className,\n  ...rest\n}: SettingsFlowContextProps) {\n  const components = getOryComponents(flowOverrideComponents)\n\n  return (\n    <OryProvider\n      config={config}\n      flow={flow}\n      flowType={FlowType.Settings}\n      components={components}\n    >\n      {children ?? (\n        <div className={cn(\"ory-elements\", className)} {...rest}>\n          <div className=\"flex flex-col items-center justify-start gap-8 pb-12 font-sans-default\">\n            <OryPageHeader />\n            <OrySettingsCard />\n          </div>\n        </div>\n      )}\n    </OryProvider>\n  )\n}\n","// Copyright © 2024 Ory Corp\n// SPDX-License-Identifier: Apache-2.0\n\n\"use client\"\nimport { FlowType, VerificationFlow } from \"@ory/client-fetch\"\nimport {\n  OryClientConfiguration,\n  OryFlowComponentOverrides,\n  OryProvider,\n  OrySelfServiceFlowCard,\n} from \"@ory/elements-react\"\nimport { getOryComponents } from \"../components\"\n\n/**\n * Props for the Verification component.\n *\n * @inline\n * @hidden\n */\nexport type VerificationFlowContextProps = {\n  /**\n   * The verification flow object containing the state and data for the verification process.\n   */\n  flow: VerificationFlow\n  /**\n   * Optional components to override the default ones.\n   *\n   * This allows you to customize the appearance and behavior of the verification flow.\n   */\n  components?: OryFlowComponentOverrides\n  /**\n   * The Ory client configuration object.\n   *\n   * This object contains the configuration for the Ory client, such as the base URL and other settings.\n   */\n  config: OryClientConfiguration\n  /**\n   * Optional children to render\n   *\n   * If not provided, the default OrySelfServiceFlowCard will be rendered.\n   */\n  children?: React.ReactNode\n}\n\n/**\n * The `Verification` component is used to render the verification flow in Ory Elements.\n *\n * It provides the necessary context and components for the verification flow, allowing you to customize the appearance and behavior of the verification form.\n *\n * @param props - The props for the Verification component.\n * @group Components\n * @category Flows\n */\nexport function Verification({\n  flow,\n  config,\n  children,\n  components: flowOverrideComponents,\n}: VerificationFlowContextProps) {\n  const components = getOryComponents(flowOverrideComponents)\n  return (\n    <OryProvider\n      config={config}\n      flow={flow}\n      flowType={FlowType.Verification}\n      components={components}\n    >\n      {children ?? <OrySelfServiceFlowCard />}\n    </OryProvider>\n  )\n}\n","// Copyright © 2025 Ory Corp\n// SPDX-License-Identifier: Apache-2.0\n\nimport { FlowType, OAuth2ConsentRequest, Session } from \"@ory/client-fetch\"\nimport {\n  OryClientConfiguration,\n  OryConsentCard,\n  OryFlowComponentOverrides,\n  OryProvider,\n} from \"@ory/elements-react\"\nimport { getOryComponents } from \"../components\"\nimport { translateConsentChallengeToUiNodes } from \"../utils/oauth2\"\n\n/**\n * All the props that are passed to the Consent component.\n *\n * @hidden\n * @inline\n */\nexport type ConsentFlowProps = {\n  /**\n   * The OAuth2 consent request object.\n   */\n  consentChallenge: OAuth2ConsentRequest\n  /**\n   * The session object.\n   *\n   * Since the consent flow is used in the context of a logged-in user, the session object is required.\n   * It contains information about the user, such as their ID and any associated metadata.\n   * This information is used to accept or reject the consent request based on the user's preferences.\n   * The session object is typically obtained from the Ory Kratos session API.\n   */\n  session: Session\n  /**\n   * The Ory client configuration object.\n   *\n   * This object contains the configuration for the Ory client, such as the base URL\n   */\n  config: OryClientConfiguration\n  /**\n   * The CSRF token to protect against CSRF attacks.\n   *\n   * This token is used to prevent cross-site request forgery attacks by ensuring that the request\n   * is coming from the same origin as the consent flow.\n   */\n  csrfToken: string\n  /**\n   * The URL to submit the consent form to.\n   *\n   * This URL is typically an endpoint on the server that handles the consent request.\n   *\n   * Make sure that this endpoint handles CSRF protection. During the form submission\n   * the Consent component will send along the CSRF token passed in the props.\n   * The server should validate this token before processing the consent request.\n   */\n  formActionUrl: string\n  /**\n   * The components to override the default ones.\n   *\n   * This allows you to customize the appearance and behavior of the consent flow.\n   */\n  components?: OryFlowComponentOverrides\n\n  /**\n   * Optional children to render inside the Consent component.\n   *\n   * If not provided, the default OryConsentCard will be rendered.\n   */\n  children?: React.ReactNode\n}\n/**\n * The Consent component allows you to render the consent flow for Ory OAuth2.\n *\n * It is used to request user consent for accessing their data and resources.\n * The component takes in the OAuth2 consent request object, the session object,\n * the Ory client configuration, a CSRF token, and the URL to submit the consent form to.\n *\n * @param props - The props for the Consent component.\n * @returns the Consent component.\n * @group Components\n * @category Flows\n */\nexport function Consent({\n  consentChallenge,\n  session,\n  config,\n  components: Passed,\n  children,\n  csrfToken,\n  formActionUrl,\n}: ConsentFlowProps) {\n  const components = getOryComponents(Passed)\n\n  const flow = translateConsentChallengeToUiNodes(\n    consentChallenge,\n    csrfToken,\n    formActionUrl,\n    session,\n  )\n\n  return (\n    <OryProvider\n      config={config}\n      flow={flow}\n      flowType={FlowType.OAuth2Consent}\n      components={components}\n    >\n      {children ?? <OryConsentCard />}\n    </OryProvider>\n  )\n}\n","// Copyright © 2025 Ory Corp\n// SPDX-License-Identifier: Apache-2.0\n\nimport {\n  OAuth2ConsentRequest,\n  Session,\n  UiContainer,\n  UiNode,\n  UiTextTypeEnum,\n} from \"@ory/client-fetch\"\nimport { ConsentFlow } from \"../../../util\"\n\nconst rememberCheckbox: UiNode = {\n  type: \"input\",\n  group: \"oauth2_consent\",\n  meta: {\n    label: {\n      id: 9999111,\n      text: \"Remember my decision\",\n      type: UiTextTypeEnum.Info,\n    },\n  },\n  attributes: {\n    node_type: \"input\",\n    name: \"remember\",\n    value: false,\n    type: \"checkbox\",\n    disabled: false,\n  },\n  messages: [],\n}\nconst acceptButton: UiNode = {\n  type: \"input\",\n  group: \"oauth2_consent\",\n  meta: {\n    label: {\n      id: 9999111,\n      text: \"Accept\",\n      type: UiTextTypeEnum.Info,\n    },\n  },\n  attributes: {\n    node_type: \"input\",\n    name: \"action\",\n    value: \"accept\",\n    type: \"submit\",\n    disabled: false,\n  },\n  messages: [],\n}\nconst rejectButton: UiNode = {\n  type: \"input\",\n  group: \"oauth2_consent\",\n  meta: {\n    label: {\n      id: 9999111,\n      text: \"Reject\",\n      type: UiTextTypeEnum.Info,\n    },\n  },\n  attributes: {\n    node_type: \"input\",\n    name: \"action\",\n    value: \"reject\",\n    type: \"submit\",\n    disabled: false,\n  },\n  messages: [],\n}\n\nexport function translateConsentChallengeToUiNodes(\n  consentChallenge: OAuth2ConsentRequest,\n  csrfToken: string,\n  formAction: string,\n  session: Session,\n): ConsentFlow {\n  const ui: UiContainer = {\n    action: formAction,\n    nodes: [\n      ...scopesToUiNodes(consentChallenge.requested_scope ?? []),\n      rememberCheckbox,\n      rejectButton,\n      acceptButton,\n      csrfTokenNode(csrfToken),\n      challengeNode(consentChallenge.challenge),\n    ],\n    method: \"POST\",\n    messages: [],\n  }\n\n  return {\n    id: \"UNSET\",\n    created_at: new Date(),\n    expires_at: new Date(),\n    issued_at: new Date(),\n    state: \"show_form\",\n    active: \"oauth2_consent\",\n    ui,\n    consent_request: consentChallenge,\n    session,\n  }\n}\n\nfunction scopesToUiNodes(scopes: string[]): UiNode[] {\n  return scopes.map((scope) => ({\n    type: \"input\",\n    group: \"oauth2_consent\",\n    meta: {\n      label: {\n        id: 9999111,\n        text: scope,\n        type: UiTextTypeEnum.Info,\n      },\n    },\n    attributes: {\n      node_type: \"input\",\n      name: `grant_scope`,\n      value: scope,\n      type: \"checkbox\",\n      disabled: false,\n    },\n    messages: [],\n  }))\n}\n\nfunction csrfTokenNode(csrfToken: string): UiNode {\n  return {\n    type: \"input\",\n    group: \"default\",\n    meta: {},\n    attributes: {\n      node_type: \"input\",\n      name: \"csrf_token\",\n      value: csrfToken,\n      type: \"hidden\",\n      disabled: false,\n    },\n    messages: [],\n  }\n}\n\nfunction challengeNode(challenge: string): UiNode {\n  return {\n    type: \"input\",\n    group: \"oauth2_consent\",\n    meta: {},\n    attributes: {\n      node_type: \"input\",\n      name: \"consent_challenge\",\n      value: challenge,\n      type: \"hidden\",\n      disabled: false,\n    },\n    messages: [],\n  }\n}\n"],"mappings":";;;AAAA,YAAY,WAAW;AACgB,SAAgL,KAAhL;AAAvC,IAAM,wBAAwB,WAAM;AADpC;AACuC,8BAAC,SAAI,OAAM,8BAA6B,QAAO,+BAAO,SAAQ,MAAM,SAAQ,oCAAO,SAAP,YAAe,IAAI,SAAQ,+BAAO,UAAS,MAAM,UAAS,oCAAO,SAAP,YAAe,IAAI,MAAK,QAAQ,GAAG,OAAO;AAAA,wBAAC,UAAK,MAAK,gBAAe,GAAE,uEAAsE;AAAA,IAAE,oBAAC,UAAK,MAAK,gBAAe,UAAS,WAAU,GAAE,yTAAwT,UAAS,WAAU;AAAA,KAAE;AAAA;AACvrB,IAAO,+BAAQ;;;ACFf,YAAYA,YAAW;AACc,SAAgL,OAAAC,MAAhL,QAAAC,aAAA;AAArC,IAAM,sBAAsB,WAAM;AADlC;AACqC,yBAAAA,MAAC,SAAI,OAAM,8BAA6B,QAAO,+BAAO,SAAQ,MAAM,SAAQ,oCAAO,SAAP,YAAe,IAAI,SAAQ,+BAAO,UAAS,MAAM,UAAS,oCAAO,SAAP,YAAe,IAAI,MAAK,QAAQ,GAAG,OAAO;AAAA,oBAAAD,KAAC,UAAK,MAAK,gBAAe,GAAE,kEAAiE;AAAA,IAAE,gBAAAA,KAAC,UAAK,MAAK,gBAAe,UAAS,WAAU,GAAE,4SAA2S,UAAS,WAAU;AAAA,KAAE;AAAA;AACnqB,IAAO,6BAAQ;;;ACMX,SACE,OAAAE,MADF,QAAAC,aAAA;AAFG,SAAS,QAAQ;AACtB,SACE,gBAAAA,MAAC,SAAI,WAAU,2RACb;AA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AAM,CAAC;AAAA,IACP,YAAY;AAAA,MACV,WAAW;AAAA,MACX,MAAM;AAAA,MACN,OAAO;AAAA,MACP,MAAM;AAAA,MACN,UAAU;AAAA,IACZ;AAAA,IACA,UAAU,CAAC;AAAA,EACb;AACF;;;ADhDmB,gBAAAC,cAAA;AAzBZ,SAAS,QAAQ;AAAA,EACtB;AAAA,EACA;AAAA,EACA;AAAA,EACA,YAAY;AAAA,EACZ;AAAA,EACA;AAAA,EACA;AACF,GAAqB;AACnB,QAAM,aAAa,iBAAiB,MAAM;AAE1C,QAAM,OAAO;AAAA,IACX;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,EACF;AAEA,SACE,gBAAAA;AAAA,IAACC;AAAA,IAAA;AAAA,MACC;AAAA,MACA;AAAA,MACA,UAAUC,WAAS;AAAA,MACnB;AAAA,MAEC,wCAAY,gBAAAF,OAACG,iBAAA,EAAe;AAAA;AAAA,EAC/B;AAEJ;","names":["React","jsx","jsxs","jsx","jsxs","FlowType","useComponents","useOryConfiguration","useOryFlow","useIntl","isUiNodeScriptAttributes","UiNodeGroupEnum","jsx","createContext","useContext","useState","FlowType","UiNodeGroupEnum","isUiNodeInputAttributes","UiNodeGroupEnum","UiNodeGroupEnum","_a","isUiNodeInputAttributes","jsx","createContext","createContext","useContext","jsx","createContext","useContext","FlowType","isUiNodeInputAttributes","isUiNodeScriptAttributes","useFormContext","FlowType","UiNodeGroupEnum","FlowType","FetchError","ResponseError","FlowType","FlowType","handleContinueWith","FlowType","handleContinueWith","isResponseError","loginUrl","FlowType","verificationUrl","isUiNodeInputAttributes","jsx","jsx","UiNodeGroupEnum","useFormContext","UiNodeGroupEnum","isUiNodeInputAttributes","jsx","jsx","useFormContext","jsx","UiNodeGroupEnum","jsx","jsx","getNodeId","isUiNodeScriptAttributes","UiNodeGroupEnum","useEffect","useIntl","jsx","UiNodeGroupEnum","useRef","useFormContext","jsx","isUiNodeAnchorAttributes","isUiNodeImageAttributes","isUiNodeInputAttributes","isUiNodeScriptAttributes","UiNodeGroupEnum","jsx","useIntl","useFormContext","jsx","jsxs","useFormContext","useIntl","Fragment","jsx","jsxs","useIntl","useFormContext","Fragment","jsx","jsxs","useFormContext","useIntl","Fragment","jsx","jsxs","useFormContext","useIntl","Fragment","jsx","jsxs","Fragment","jsx","jsxs","jsx","useContext","jsx","jsx","jsx","jsx","jsx","jsx","FlowType","isUiNodeScriptAttributes","UiNodeGroupEnum","jsx","jsxs","UiNodeGroupEnum","jsx","jsxs","useOryFlow","Fragment","jsx","jsxs","getNodeId","jsx","jsxs","useIntl","useComponents","useFormContext","jsx","jsx","jsxs","UiNodeGroupEnum","useEffect","useState","useState","useEffect","Fragment","jsx","jsxs","useOryFlow","FlowType","useOryConfiguration","useIntl","Node","useComponents","useComponents","useOryFlow","FlowType","isUiNodeInputAttributes","useIntl","useIntl","FlowType","isUiNodeInputAttributes","FlowType","isUiNodeInputAttributes","useOryConfiguration","useOryFlow","useEffect","useState","useFormContext","React","jsx","jsx","jsxs","useOryFlow","useFormContext","useState","useOryConfiguration","useEffect","FlowType","initFlowUrl","isUiNodeInputAttributes","jsx","jsxs","useComponents","useOryFlow","useOryConfiguration","jsx","jsx","jsxs","useIntl","messageTestId","uiTextToFormattedMessage","useOryFlow","FlowType","uiTextToFormattedMessage","useOryFlow","useEffect","useFormContext","useIntl","React","jsx","React","jsx","React","jsx","jsxs","React","jsx","jsxs","React","jsx","React","jsx","jsxs","React","jsx","jsxs","React","jsx","jsxs","React","jsx","jsxs","React","jsx","jsxs","React","jsx","jsxs","React","jsx","jsxs","React","jsx","jsx","jsxs","UiNodeGroupEnum","Fragment","jsx","jsxs","logos","useOryFlow","useIntl","useFormContext","node","UiNodeGroupEnum","useEffect","uiTextToFormattedMessage","jsx","useOryFlow","FlowType","useIntl","messageTestId","uiTextToFormattedMessage","useOryFlow","useEffect","useState","useIntl","React","jsx","React","jsx","React","jsx","React","jsx","React","jsx","React","jsx","React","jsx","jsx","jsxs","useFormContext","jsx","useIntl","useOryFlow","useState","useEffect","uiTextToFormattedMessage","useFormContext","useIntl","useEffect","useState","jsx","jsxs","useState","useIntl","useFormContext","useEffect","uiTextToFormattedMessage","getNodeLabel","messageTestId","uiTextToFormattedMessage","useFormContext","useIntl","useIntl","Fragment","jsx","useIntl","jsx","jsxs","useIntl","getNodeLabel","useFormContext","messageTestId","uiTextToFormattedMessage","useOryFlow","FlowType","jsx","useOryFlow","FlowType","jsx","jsx","FlowType","getNodeLabel","uiTextToFormattedMessage","useOryFlow","useRef","useState","useFormContext","useIntl","React","jsx","React","jsx","jsxs","jsx","jsxs","getNodeLabel","useFormContext","useIntl","useOryFlow","useRef","uiTextToFormattedMessage","FlowType","useState","FlowType","getNodeLabel","messageTestId","uiTextToFormattedMessage","useComponents","useOryConfiguration","useOryFlow","useFormContext","useIntl","useMemo","jsx","jsxs","useIntl","getNodeLabel","useComponents","useOryFlow","useFormContext","messageTestId","uiTextToFormattedMessage","useOryConfiguration","FlowType","getNodeLabel","uiTextToFormattedMessage","useIntl","jsx","useIntl","getNodeLabel","uiTextToFormattedMessage","useFormContext","React","jsx","jsxs","useOryFlow","FlowType","jsx","useFormContext","useOryFlow","FlowType","jsx","jsxs","uiTextToFormattedMessage","useIntl","Fragment","jsx","jsxs","useComponents","useOryConfiguration","useOryFlow","useOryConfiguration","DropdownMenuLabel","React","jsx","React","jsx","jsxs","forwardRef","jsx","forwardRef","jsx","forwardRef","React","jsx","jsx","forwardRef","jsx","jsxs","useOryConfiguration","DropdownMenuLabel","useIntl","jsx","jsxs","useComponents","useIntl","useOryFlow","useOryConfiguration","useEffect","useFormContext","useDebounceValue","React","jsx","jsx","jsxs","useDebounceValue","useFormContext","useEffect","useComponents","useFormContext","jsx","jsxs","useFormContext","Node","useComponents","React","jsx","React","jsx","useFormContext","Fragment","jsx","jsxs","useComponents","React","jsx","useFormContext","jsx","jsxs","Node","useComponents","useFormContext","useComponents","React","jsx","useFormContext","jsx","jsxs","useFormContext","Node","useComponents","jsx","isUiNodeInputAttributes","useEffect","useRef","useFormContext","jsx","useFormContext","useRef","useEffect","isUiNodeInputAttributes","React","jsx","React","jsx","React","jsx","useIntl","jsx","messageTestId","uiTextToFormattedMessage","useIntl","jsx","jsxs","uiTextToFormattedMessage","messageTestId","OryConfigurationProvider","useOryConfiguration","useMemo","jsx","jsxs","useMemo","Error","OryConfigurationProvider","_a","useOryConfiguration","FlowType","OrySelfServiceFlowCard","jsx","FlowType","OrySelfServiceFlowCard","FlowType","OryProvider","OrySelfServiceFlowCard","jsx","OryProvider","FlowType","OrySelfServiceFlowCard","FlowType","OryProvider","OrySelfServiceFlowCard","jsx","OryProvider","FlowType","OrySelfServiceFlowCard","FlowType","OryProvider","OrySettingsCard","jsx","jsxs","OryProvider","FlowType","OrySettingsCard","FlowType","OryProvider","OrySelfServiceFlowCard","jsx","OryProvider","FlowType","OrySelfServiceFlowCard","FlowType","OryConsentCard","OryProvider","jsx","OryProvider","FlowType","OryConsentCard"]}