{"version":3,"names":[],"mappings":"","sources":["scripts.bundle.js"],"sourcesContent":["\"use strict\";\n\n// Class definition\nvar KTApp = function () {\n var initialized = false;\n var select2FocusFixInitialized = false;\n var countUpInitialized = false;\n\n var createBootstrapTooltip = function (el, options) {\n if (el.getAttribute(\"data-kt-initialized\") === \"1\") {\n return;\n }\n\n var delay = {};\n\n // Handle delay options\n if (el.hasAttribute('data-bs-delay-hide')) {\n delay['hide'] = el.getAttribute('data-bs-delay-hide');\n }\n\n if (el.hasAttribute('data-bs-delay-show')) {\n delay['show'] = el.getAttribute('data-bs-delay-show');\n }\n\n if (delay) {\n options['delay'] = delay;\n }\n\n // Check dismiss options\n if (el.hasAttribute('data-bs-dismiss') && el.getAttribute('data-bs-dismiss') == 'click') {\n options['dismiss'] = 'click';\n }\n\n // Initialize popover\n var tp = new bootstrap.Tooltip(el, options); \n\n // Handle dismiss\n if (options['dismiss'] && options['dismiss'] === 'click') {\n // Hide popover on element click\n el.addEventListener(\"click\", function (e) {\n el.blur();\n tp.hide();\n });\n }\n\n el.setAttribute(\"data-kt-initialized\", \"1\");\n\n return tp;\n }\n\n var createBootstrapTooltips = function () {\n var tooltipTriggerList = [].slice.call(document.querySelectorAll('[data-bs-toggle=\"tooltip\"]'));\n\n var tooltipList = tooltipTriggerList.map(function (tooltipTriggerEl) {\n createBootstrapTooltip(tooltipTriggerEl, {});\n });\n }\n\n var createBootstrapPopover = function (el, options) {\n if (el.getAttribute(\"data-kt-initialized\") === \"1\") {\n return;\n }\n\n var delay = {};\n\n // Handle delay options\n if (el.hasAttribute('data-bs-delay-hide')) {\n delay['hide'] = el.getAttribute('data-bs-delay-hide');\n }\n\n if (el.hasAttribute('data-bs-delay-show')) {\n delay['show'] = el.getAttribute('data-bs-delay-show');\n }\n\n if (delay) {\n options['delay'] = delay;\n }\n\n // Handle dismiss option\n if (el.getAttribute('data-bs-dismiss') == 'true') {\n options['dismiss'] = true;\n }\n\n if (options['dismiss'] === true) {\n options['template'] = '