response.text())
.then(text => {
html = text
showLoading = false;
$event.detail.hasOwnProperty('cb')
&& $event.detail.cb instanceof Function
&& $nextTick($event.detail.cb);
})"
@modal-off.window="close()"
@click.away="close()"
x-transition:enter="transition ease-out duration-300"
x-transition:enter-start="opacity-0 transform scale-90"
x-transition:enter-end="opacity-100 transform scale-100"
x-transition:leave="transition ease-in duration-200"
x-transition:leave-start="opacity-100 transform scale-100"
x-transition:leave-end="opacity-0 transform scale-90"
x-cloak
>