/**
 *
 * @version     1.0.$Revision:$
 * @version     SVN: $Id:$
 * @package     bplan-base/globals
 * @subpackage  JavaScript
 * @author      Emilio Cannarozzo <emilio.cannarozzo@bplan-solutions.de>
 * @author      Wassilios Meletiadis <wassilios.meletiadis@bplan-solutions.de>
 * @copyright   Copyright (C) 2025 Wassilios Meletiadis <https://www.bplan-solutions.de/>
 * /Δ\
 */

import axios from 'axios';
window.axios = axios;

window.axios.defaults.headers.common['X-Requested-With'] = 'XMLHttpRequest';

import 'flowbite';
import 'intl-tel-input/build/css/intlTelInput.css';

import intlTelInput from 'intl-tel-input';
window.intlTelInput = intlTelInput;

import '../../node_modules/intl-tel-input/build/js/utils.js'

// TIPPYJS
import tippy from 'tippy.js';
import 'tippy.js/dist/tippy.css';
window.tippy = tippy;

// FLAG ICONS
import "/node_modules/flag-icons/css/flag-icons.min.css";

// PDF.JS
import * as pdfjsLib from "pdfjs-dist"
window.pdfjsLib = pdfjsLib

// LIVEWIRE SORTABLE
import 'livewire-sortable'

// FLATPICKR
import flatpickr from "flatpickr";
import 'flatpickr/dist/flatpickr.css';
import 'flatpickr/dist/l10n';
window.flatpickr = flatpickr;

import './dark-switch';
