@props(['title' => __('modules.profile.confirmPassword'), 'content' => __('modules.profile.passwordConfirmationContent'), 'button' => __('modules.profile.confirm')]) @php $confirmableId = md5($attributes->wire('then')); @endphp wire('then') }} x-data x-ref="span" x-on:click="$wire.startConfirmingPassword('{{ $confirmableId }}')" x-on:password-confirmed.window="setTimeout(() => $event.detail.id === '{{ $confirmableId }}' && $refs.span.dispatchEvent(new CustomEvent('then', { bubbles: false })), 250);" > {{ $slot }} @once {{ $title }} {{ $content }}
{{ __('app.cancel') }} {{ $button }}
@endonce