/*!
 * bootstrap-fileinput v5.5.0
 * http://plugins.krajee.com/file-input
 *
 * Krajee Explorer Font Awesome 6.x theme configuration for bootstrap-fileinput.
 * Load this theme file after loading `fileinput.js`. Ensure that
 * font awesome assets and CSS are loaded on the page as well.
 *
 * Author: Kartik Visweswaran
 * Copyright: 2014 - 2024, Kartik Visweswaran, Krajee.com
 *
 * Licensed under the BSD-3-Clause
 * https://github.com/kartik-v/bootstrap-fileinput/blob/master/LICENSE.md
 */
(function (factory) {
    'use strict';
    if (typeof define === 'function' && define.amd) {
        define(['jquery'],factory);
    } else if (typeof module === 'object' && typeof module.exports === 'object') {
        factory(require('jquery'));
    } else {
        factory(window.jQuery);
    }
}(function ($) {
    'use strict';
    $.fn.fileinputThemes['explorer-fa6'] = {
        layoutTemplates: {
            footer: '<div class="file-details-cell">' +
                '<div class="explorer-caption" title="{caption}">{caption}</div> ' + '{size}{progress}' +
                '</div>' +
                '<div class="file-actions-cell">{indicator} {actions}</div>',
            actions: '{drag}\n' +
                '<div class="file-actions">\n' +
                '    <div class="file-footer-buttons">\n' +
                '        {rotate} {upload} {download} {delete} {zoom} {other} ' +
                '    </div>\n' +
                '</div>',
            fileIcon: '<i class="fa-solid fa-file kv-caption-icon"></i> '
        },
        previewSettings: {
            html: {width: '100px', height: '60px'},
            text: {width: '100px', height: '60px'},
            video: {width: 'auto', height: '60px'},
            audio: {width: 'auto', height: '60px'},
            flash: {width: '100%', height: '60px'},
            object: {width: '100%', height: '60px'},
            pdf: {width: '100px', height: '60px'},
            other: {width: '100%', height: '60px'}
        },
        frameClass: 'explorer-frame',
        fileActionSettings: {
            removeIcon: '<i class="fa-regular fa-trash-can"></i>',
            uploadIcon: '<i class="fa-solid fa-upload"></i>',
            uploadRetryIcon: '<i class="fa-solid fa-cloud-arrow-up"></i>',
            downloadIcon: '<i class="fa-solid fa-download"></i>',
            rotateIcon: '<i class="fa-solid fa-rotate-right"></i>',
            zoomIcon: '<i class="fa-solid fa-magnifying-glass-plus"></i>',
            dragIcon: '<i class="fa-solid fa-arrows-up-down-left-right"></i>',
            indicatorNew: '<i class="fa-solid fa-circle-plus text-warning"></i>',
            indicatorSuccess: '<i class="fa-solid fa-circle-check text-success"></i>',
            indicatorError: '<i class="fa-solid fa-circle-exclamation text-danger"></i>',
            indicatorLoading: '<i class="fa-solid fa-hourglass text-muted"></i>',
            indicatorPaused: '<i class="fa fa-pause text-info"></i>'
        },
        previewZoomButtonIcons: {
            prev: '<i class="fa-solid fa-chevron-left fa-fw"></i>',
            next: '<i class="fa-solid fa-chevron-right fa-fw"></i>',
            rotate: '<i class="fa-solid fa-rotate-right fa-fw"></i>',
            toggleheader: '<i class="fa-solid fa-arrows-up-down fa-fw"></i>',
            fullscreen: '<i class="fa-solid fa-maximize fa-fw"></i>',
            borderless: '<i class="fa-solid fa-arrow-up-right-from-square fa-fw"></i>',
            close: '<i class="fa-solid fa-fw fa-xmark fa-fw"></i>'
        },
        previewFileIcon: '<i class="fa-solid fa-file"></i>',
        browseIcon: '<i class="fa-solid fa-folder-open"></i>',
        removeIcon: '<i class="fa-regular fa-trash-can"></i>',
        cancelIcon: '<i class="fa-solid fa-ban"></i>',
        pauseIcon: '<i class="fa-solid fa-pause"></i>',
        uploadIcon: '<i class="fa-solid fa-upload"></i>',
        msgValidationErrorIcon: '<i class="fa-solid fa-circle-exclamation"></i> '
    };
}));