JFIF  x x C         C     "        } !1AQa "q2#BR$3br %&'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz        w !1AQ aq"2B #3Rbr{ gilour

File "8aa427287ee8a80102f5bc2db5a96acf.php"

Full Path: /home2/yvrgircc/public_html/ariseskilltech.com/storage/framework/views/8aa427287ee8a80102f5bc2db5a96acf.php
File size: 2.09 KB
MIME-type: text/html
Charset: utf-8

<div class="toast-container position-fixed top-0 end-0 p-3"></div>
<script>
    "use strict";

    function toaster_message(type, icon, header, message) {
        var toasterMessage = '<div class="toast ' + type +
            ' fade text-12" role="alert" aria-live="assertive" aria-atomic="true" class="rounded-3"><div class="toast-header"> <i class="' +
            icon + ' me-2 mt-2px text-14 d-flex"></i> <strong class="me-auto"> ' + header +
            ' </strong><small><?php echo e(get_phrase('Just Now')); ?></small><button type="button" class="btn-close" data-bs-dismiss="toast" aria-label="Close"></button></div><div class="toast-body">' +
            message + '</div></div>';
        $('.toast-container').prepend(toasterMessage);
        const toast = new bootstrap.Toast('.toast')
        toast.show()
    }

    function success(message) {
        toaster_message('success', 'fi-sr-badge-check', '<?php echo e(get_phrase('Success !')); ?>', message);
    }

    function warning(message) {
        toaster_message('warning', 'fi-sr-exclamation', '<?php echo e(get_phrase('Attention !')); ?>', message);
    }

    function error(message) {
        toaster_message('error', 'fi-sr-triangle-warning', '<?php echo e(get_phrase('An Error Occurred !')); ?>', message);
    }
</script>

<?php if($message = Session::get('success')): ?>
    <script>
        "use strict";
        success("<?php echo e($message); ?>");
    </script>
    <?php Session()->forget('success'); ?>
<?php elseif($message = Session::get('error')): ?>
    <script>
        "use strict";
        error("<?php echo e($message); ?>");
    </script>
    <?php Session()->forget('error'); ?>
<?php elseif(isset($errors) && $errors->any()): ?>
    <?php
        $message = '<ul>';
        foreach ($errors->all() as $error):
            $message .= '<li>' . $error . '</li>';
        endforeach;
        $message .= '</ul>';
    ?>
    <script>
        "use strict";
        error("<?php echo $message; ?>");
    </script>
<?php endif; ?>
<?php /**PATH /home2/yvrgircc/public_html/ariseskilltech.com/resources/views/frontend/default/toaster.blade.php ENDPATH**/ ?>