{#if modal_open}
{ modal_open = false; }}>
{$_('create-a-new-runner')}
{$_('please-provide-the-required-information-to-add-a-new-runner')}
{$_('first-name')}
{#if !isFirstnameValid}
{$_('first-name-is-required')}
{/if}
{$_('middle-name')}
{$_('last-name')}
{#if !isLastnameValid}
{$_('last-name-is-required')}
{/if}
{$_('team')}
label .toLowerCase() .includes( filterText.toLowerCase() ) || option.value.id .toString() .startsWith(filterText.toLowerCase())} items={orgs.concat(teams)} showChevron={true} placeholder={$_('search-for-an-organization-or-team-by-name-or-id')} noOptionsMessage={$_('no-organization-or-team-found')} on:select={(selectedValue) => (selected_team = selectedValue.detail.value.id)} on:clear={() => (selected_team = null)} />
{$_('phone')}
{#if !isPhoneValidOrEmpty}
{@html $_('the-provided-phone-number-is-invalid-less-than-br-greater-than-please-enter-a-valid-international-number')}
{/if}
{$_('e-mail-adress')}
{#if !isEmailValidOrEmpty}
{$_('valid-email-is-required')}
{/if}
{$_('create')}
{ modal_open = false; }} type="button" class="mt-3 w-full inline-flex justify-center rounded-md border border-gray-300 shadow-sm px-4 py-2 bg-white text-base font-medium text-gray-700 hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500 sm:mt-0 sm:ml-3 sm:w-auto sm:text-sm"> {$_('cancel')}
{/if}