summaryrefslogtreecommitdiffstats
path: root/ogcp/static/AdminLTE/dist/js
diff options
context:
space:
mode:
Diffstat (limited to 'ogcp/static/AdminLTE/dist/js')
-rw-r--r--ogcp/static/AdminLTE/dist/js/.eslintrc.json48
-rw-r--r--ogcp/static/AdminLTE/dist/js/adminlte.js2962
-rw-r--r--ogcp/static/AdminLTE/dist/js/adminlte.js.map1
-rw-r--r--ogcp/static/AdminLTE/dist/js/adminlte.min.js7
-rw-r--r--ogcp/static/AdminLTE/dist/js/adminlte.min.js.map1
-rw-r--r--ogcp/static/AdminLTE/dist/js/demo.js686
-rw-r--r--ogcp/static/AdminLTE/dist/js/pages/dashboard.js267
-rw-r--r--ogcp/static/AdminLTE/dist/js/pages/dashboard2.js270
-rw-r--r--ogcp/static/AdminLTE/dist/js/pages/dashboard3.js147
9 files changed, 4389 insertions, 0 deletions
diff --git a/ogcp/static/AdminLTE/dist/js/.eslintrc.json b/ogcp/static/AdminLTE/dist/js/.eslintrc.json
new file mode 100644
index 0000000..c6b4b3f
--- /dev/null
+++ b/ogcp/static/AdminLTE/dist/js/.eslintrc.json
@@ -0,0 +1,48 @@
+{
+ "root": true,
+ "parserOptions": {
+ "ecmaVersion": 5,
+ "sourceType": "script"
+ },
+ "env": {
+ "jquery": true
+ },
+ "extends": [
+ "plugin:unicorn/recommended",
+ "xo",
+ "xo/browser"
+ ],
+ "rules": {
+ "capitalized-comments": "off",
+ "indent": [
+ "error",
+ 2,
+ {
+ "MemberExpression": "off",
+ "SwitchCase": 1
+ }
+ ],
+ "multiline-ternary": [
+ "error",
+ "always-multiline"
+ ],
+ "object-curly-spacing": [
+ "error",
+ "always"
+ ],
+ "semi": [
+ "error",
+ "never"
+ ],
+ "strict": "error",
+ "unicorn/no-array-for-each": "off",
+ "unicorn/no-for-loop": "off",
+ "unicorn/no-null": "off",
+ "unicorn/prefer-dataset": "off",
+ "unicorn/prefer-includes": "off",
+ "unicorn/prefer-node-append": "off",
+ "unicorn/prefer-query-selector": "off",
+ "unicorn/prefer-spread": "off",
+ "unicorn/prevent-abbreviations": "off"
+ }
+}
diff --git a/ogcp/static/AdminLTE/dist/js/adminlte.js b/ogcp/static/AdminLTE/dist/js/adminlte.js
new file mode 100644
index 0000000..f7cce66
--- /dev/null
+++ b/ogcp/static/AdminLTE/dist/js/adminlte.js
@@ -0,0 +1,2962 @@
+/*!
+ * AdminLTE v3.1.0 (https://adminlte.io)
+ * Copyright 2014-2021 Colorlib <https://colorlib.com>
+ * Licensed under MIT (https://github.com/ColorlibHQ/AdminLTE/blob/master/LICENSE)
+ */
+(function (global, factory) {
+ typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('jquery')) :
+ typeof define === 'function' && define.amd ? define(['exports', 'jquery'], factory) :
+ (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.adminlte = {}, global.jQuery));
+}(this, (function (exports, $) { 'use strict';
+
+ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
+
+ var $__default = /*#__PURE__*/_interopDefaultLegacy($);
+
+ /**
+ * --------------------------------------------
+ * AdminLTE CardRefresh.js
+ * License MIT
+ * --------------------------------------------
+ */
+ /**
+ * Constants
+ * ====================================================
+ */
+
+ var NAME$e = 'CardRefresh';
+ var DATA_KEY$e = 'lte.cardrefresh';
+ var EVENT_KEY$7 = "." + DATA_KEY$e;
+ var JQUERY_NO_CONFLICT$e = $__default['default'].fn[NAME$e];
+ var EVENT_LOADED = "loaded" + EVENT_KEY$7;
+ var EVENT_OVERLAY_ADDED = "overlay.added" + EVENT_KEY$7;
+ var EVENT_OVERLAY_REMOVED = "overlay.removed" + EVENT_KEY$7;
+ var CLASS_NAME_CARD$1 = 'card';
+ var SELECTOR_CARD$1 = "." + CLASS_NAME_CARD$1;
+ var SELECTOR_DATA_REFRESH = '[data-card-widget="card-refresh"]';
+ var Default$c = {
+ source: '',
+ sourceSelector: '',
+ params: {},
+ trigger: SELECTOR_DATA_REFRESH,
+ content: '.card-body',
+ loadInContent: true,
+ loadOnInit: true,
+ responseType: '',
+ overlayTemplate: '<div class="overlay"><i class="fas fa-2x fa-sync-alt fa-spin"></i></div>',
+ onLoadStart: function onLoadStart() {},
+ onLoadDone: function onLoadDone(response) {
+ return response;
+ }
+ };
+
+ var CardRefresh = /*#__PURE__*/function () {
+ function CardRefresh(element, settings) {
+ this._element = element;
+ this._parent = element.parents(SELECTOR_CARD$1).first();
+ this._settings = $__default['default'].extend({}, Default$c, settings);
+ this._overlay = $__default['default'](this._settings.overlayTemplate);
+
+ if (element.hasClass(CLASS_NAME_CARD$1)) {
+ this._parent = element;
+ }
+
+ if (this._settings.source === '') {
+ throw new Error('Source url was not defined. Please specify a url in your CardRefresh source option.');
+ }
+ }
+
+ var _proto = CardRefresh.prototype;
+
+ _proto.load = function load() {
+ var _this = this;
+
+ this._addOverlay();
+
+ this._settings.onLoadStart.call($__default['default'](this));
+
+ $__default['default'].get(this._settings.source, this._settings.params, function (response) {
+ if (_this._settings.loadInContent) {
+ if (_this._settings.sourceSelector !== '') {
+ response = $__default['default'](response).find(_this._settings.sourceSelector).html();
+ }
+
+ _this._parent.find(_this._settings.content).html(response);
+ }
+
+ _this._settings.onLoadDone.call($__default['default'](_this), response);
+
+ _this._removeOverlay();
+ }, this._settings.responseType !== '' && this._settings.responseType);
+ $__default['default'](this._element).trigger($__default['default'].Event(EVENT_LOADED));
+ };
+
+ _proto._addOverlay = function _addOverlay() {
+ this._parent.append(this._overlay);
+
+ $__default['default'](this._element).trigger($__default['default'].Event(EVENT_OVERLAY_ADDED));
+ };
+
+ _proto._removeOverlay = function _removeOverlay() {
+ this._parent.find(this._overlay).remove();
+
+ $__default['default'](this._element).trigger($__default['default'].Event(EVENT_OVERLAY_REMOVED));
+ } // Private
+ ;
+
+ _proto._init = function _init() {
+ var _this2 = this;
+
+ $__default['default'](this).find(this._settings.trigger).on('click', function () {
+ _this2.load();
+ });
+
+ if (this._settings.loadOnInit) {
+ this.load();
+ }
+ } // Static
+ ;
+
+ CardRefresh._jQueryInterface = function _jQueryInterface(config) {
+ var data = $__default['default'](this).data(DATA_KEY$e);
+
+ var _options = $__default['default'].extend({}, Default$c, $__default['default'](this).data());
+
+ if (!data) {
+ data = new CardRefresh($__default['default'](this), _options);
+ $__default['default'](this).data(DATA_KEY$e, typeof config === 'string' ? data : config);
+ }
+
+ if (typeof config === 'string' && /load/.test(config)) {
+ data[config]();
+ } else {
+ data._init($__default['default'](this));
+ }
+ };
+
+ return CardRefresh;
+ }();
+ /**
+ * Data API
+ * ====================================================
+ */
+
+
+ $__default['default'](document).on('click', SELECTOR_DATA_REFRESH, function (event) {
+ if (event) {
+ event.preventDefault();
+ }
+
+ CardRefresh._jQueryInterface.call($__default['default'](this), 'load');
+ });
+ $__default['default'](function () {
+ $__default['default'](SELECTOR_DATA_REFRESH).each(function () {
+ CardRefresh._jQueryInterface.call($__default['default'](this));
+ });
+ });
+ /**
+ * jQuery API
+ * ====================================================
+ */
+
+ $__default['default'].fn[NAME$e] = CardRefresh._jQueryInterface;
+ $__default['default'].fn[NAME$e].Constructor = CardRefresh;
+
+ $__default['default'].fn[NAME$e].noConflict = function () {
+ $__default['default'].fn[NAME$e] = JQUERY_NO_CONFLICT$e;
+ return CardRefresh._jQueryInterface;
+ };
+
+ /**
+ * --------------------------------------------
+ * AdminLTE CardWidget.js
+ * License MIT
+ * --------------------------------------------
+ */
+ /**
+ * Constants
+ * ====================================================
+ */
+
+ var NAME$d = 'CardWidget';
+ var DATA_KEY$d = 'lte.cardwidget';
+ var EVENT_KEY$6 = "." + DATA_KEY$d;
+ var JQUERY_NO_CONFLICT$d = $__default['default'].fn[NAME$d];
+ var EVENT_EXPANDED$3 = "expanded" + EVENT_KEY$6;
+ var EVENT_COLLAPSED$4 = "collapsed" + EVENT_KEY$6;
+ var EVENT_MAXIMIZED = "maximized" + EVENT_KEY$6;
+ var EVENT_MINIMIZED = "minimized" + EVENT_KEY$6;
+ var EVENT_REMOVED$1 = "removed" + EVENT_KEY$6;
+ var CLASS_NAME_CARD = 'card';
+ var CLASS_NAME_COLLAPSED$1 = 'collapsed-card';
+ var CLASS_NAME_COLLAPSING = 'collapsing-card';
+ var CLASS_NAME_EXPANDING = 'expanding-card';
+ var CLASS_NAME_WAS_COLLAPSED = 'was-collapsed';
+ var CLASS_NAME_MAXIMIZED = 'maximized-card';
+ var SELECTOR_DATA_REMOVE = '[data-card-widget="remove"]';
+ var SELECTOR_DATA_COLLAPSE = '[data-card-widget="collapse"]';
+ var SELECTOR_DATA_MAXIMIZE = '[data-card-widget="maximize"]';
+ var SELECTOR_CARD = "." + CLASS_NAME_CARD;
+ var SELECTOR_CARD_HEADER = '.card-header';
+ var SELECTOR_CARD_BODY = '.card-body';
+ var SELECTOR_CARD_FOOTER = '.card-footer';
+ var Default$b = {
+ animationSpeed: 'normal',
+ collapseTrigger: SELECTOR_DATA_COLLAPSE,
+ removeTrigger: SELECTOR_DATA_REMOVE,
+ maximizeTrigger: SELECTOR_DATA_MAXIMIZE,
+ collapseIcon: 'fa-minus',
+ expandIcon: 'fa-plus',
+ maximizeIcon: 'fa-expand',
+ minimizeIcon: 'fa-compress'
+ };
+
+ var CardWidget = /*#__PURE__*/function () {
+ function CardWidget(element, settings) {
+ this._element = element;
+ this._parent = element.parents(SELECTOR_CARD).first();
+
+ if (element.hasClass(CLASS_NAME_CARD)) {
+ this._parent = element;
+ }
+
+ this._settings = $__default['default'].extend({}, Default$b, settings);
+ }
+
+ var _proto = CardWidget.prototype;
+
+ _proto.collapse = function collapse() {
+ var _this = this;
+
+ this._parent.addClass(CLASS_NAME_COLLAPSING).children(SELECTOR_CARD_BODY + ", " + SELECTOR_CARD_FOOTER).slideUp(this._settings.animationSpeed, function () {
+ _this._parent.addClass(CLASS_NAME_COLLAPSED$1).removeClass(CLASS_NAME_COLLAPSING);
+ });
+
+ this._parent.find("> " + SELECTOR_CARD_HEADER + " " + this._settings.collapseTrigger + " ." + this._settings.collapseIcon).addClass(this._settings.expandIcon).removeClass(this._settings.collapseIcon);
+
+ this._element.trigger($__default['default'].Event(EVENT_COLLAPSED$4), this._parent);
+ };
+
+ _proto.expand = function expand() {
+ var _this2 = this;
+
+ this._parent.addClass(CLASS_NAME_EXPANDING).children(SELECTOR_CARD_BODY + ", " + SELECTOR_CARD_FOOTER).slideDown(this._settings.animationSpeed, function () {
+ _this2._parent.removeClass(CLASS_NAME_COLLAPSED$1).removeClass(CLASS_NAME_EXPANDING);
+ });
+
+ this._parent.find("> " + SELECTOR_CARD_HEADER + " " + this._settings.collapseTrigger + " ." + this._settings.expandIcon).addClass(this._settings.collapseIcon).removeClass(this._settings.expandIcon);
+
+ this._element.trigger($__default['default'].Event(EVENT_EXPANDED$3), this._parent);
+ };
+
+ _proto.remove = function remove() {
+ this._parent.slideUp();
+
+ this._element.trigger($__default['default'].Event(EVENT_REMOVED$1), this._parent);
+ };
+
+ _proto.toggle = function toggle() {
+ if (this._parent.hasClass(CLASS_NAME_COLLAPSED$1)) {
+ this.expand();
+ return;
+ }
+
+ this.collapse();
+ };
+
+ _proto.maximize = function maximize() {
+ this._parent.find(this._settings.maximizeTrigger + " ." + this._settings.maximizeIcon).addClass(this._settings.minimizeIcon).removeClass(this._settings.maximizeIcon);
+
+ this._parent.css({
+ height: this._parent.height(),
+ width: this._parent.width(),
+ transition: 'all .15s'
+ }).delay(150).queue(function () {
+ var $element = $__default['default'](this);
+ $element.addClass(CLASS_NAME_MAXIMIZED);
+ $__default['default']('html').addClass(CLASS_NAME_MAXIMIZED);
+
+ if ($element.hasClass(CLASS_NAME_COLLAPSED$1)) {
+ $element.addClass(CLASS_NAME_WAS_COLLAPSED);
+ }
+
+ $element.dequeue();
+ });
+
+ this._element.trigger($__default['default'].Event(EVENT_MAXIMIZED), this._parent);
+ };
+
+ _proto.minimize = function minimize() {
+ this._parent.find(this._settings.maximizeTrigger + " ." + this._settings.minimizeIcon).addClass(this._settings.maximizeIcon).removeClass(this._settings.minimizeIcon);
+
+ this._parent.css('cssText', "height: " + this._parent[0].style.height + " !important; width: " + this._parent[0].style.width + " !important; transition: all .15s;").delay(10).queue(function () {
+ var $element = $__default['default'](this);
+ $element.removeClass(CLASS_NAME_MAXIMIZED);
+ $__default['default']('html').removeClass(CLASS_NAME_MAXIMIZED);
+ $element.css({
+ height: 'inherit',
+ width: 'inherit'
+ });
+
+ if ($element.hasClass(CLASS_NAME_WAS_COLLAPSED)) {
+ $element.removeClass(CLASS_NAME_WAS_COLLAPSED);
+ }
+
+ $element.dequeue();
+ });
+
+ this._element.trigger($__default['default'].Event(EVENT_MINIMIZED), this._parent);
+ };
+
+ _proto.toggleMaximize = function toggleMaximize() {
+ if (this._parent.hasClass(CLASS_NAME_MAXIMIZED)) {
+ this.minimize();
+ return;
+ }
+
+ this.maximize();
+ } // Private
+ ;
+
+ _proto._init = function _init(card) {
+ var _this3 = this;
+
+ this._parent = card;
+ $__default['default'](this).find(this._settings.collapseTrigger).click(function () {
+ _this3.toggle();
+ });
+ $__default['default'](this).find(this._settings.maximizeTrigger).click(function () {
+ _this3.toggleMaximize();
+ });
+ $__default['default'](this).find(this._settings.removeTrigger).click(function () {
+ _this3.remove();
+ });
+ } // Static
+ ;
+
+ CardWidget._jQueryInterface = function _jQueryInterface(config) {
+ var data = $__default['default'](this).data(DATA_KEY$d);
+
+ var _options = $__default['default'].extend({}, Default$b, $__default['default'](this).data());
+
+ if (!data) {
+ data = new CardWidget($__default['default'](this), _options);
+ $__default['default'](this).data(DATA_KEY$d, typeof config === 'string' ? data : config);
+ }
+
+ if (typeof config === 'string' && /collapse|expand|remove|toggle|maximize|minimize|toggleMaximize/.test(config)) {
+ data[config]();
+ } else if (typeof config === 'object') {
+ data._init($__default['default'](this));
+ }
+ };
+
+ return CardWidget;
+ }();
+ /**
+ * Data API
+ * ====================================================
+ */
+
+
+ $__default['default'](document).on('click', SELECTOR_DATA_COLLAPSE, function (event) {
+ if (event) {
+ event.preventDefault();
+ }
+
+ CardWidget._jQueryInterface.call($__default['default'](this), 'toggle');
+ });
+ $__default['default'](document).on('click', SELECTOR_DATA_REMOVE, function (event) {
+ if (event) {
+ event.preventDefault();
+ }
+
+ CardWidget._jQueryInterface.call($__default['default'](this), 'remove');
+ });
+ $__default['default'](document).on('click', SELECTOR_DATA_MAXIMIZE, function (event) {
+ if (event) {
+ event.preventDefault();
+ }
+
+ CardWidget._jQueryInterface.call($__default['default'](this), 'toggleMaximize');
+ });
+ /**
+ * jQuery API
+ * ====================================================
+ */
+
+ $__default['default'].fn[NAME$d] = CardWidget._jQueryInterface;
+ $__default['default'].fn[NAME$d].Constructor = CardWidget;
+
+ $__default['default'].fn[NAME$d].noConflict = function () {
+ $__default['default'].fn[NAME$d] = JQUERY_NO_CONFLICT$d;
+ return CardWidget._jQueryInterface;
+ };
+
+ /**
+ * --------------------------------------------
+ * AdminLTE ControlSidebar.js
+ * License MIT
+ * --------------------------------------------
+ */
+ /**
+ * Constants
+ * ====================================================
+ */
+
+ var NAME$c = 'ControlSidebar';
+ var DATA_KEY$c = 'lte.controlsidebar';
+ var EVENT_KEY$5 = "." + DATA_KEY$c;
+ var JQUERY_NO_CONFLICT$c = $__default['default'].fn[NAME$c];
+ var EVENT_COLLAPSED$3 = "collapsed" + EVENT_KEY$5;
+ var EVENT_EXPANDED$2 = "expanded" + EVENT_KEY$5;
+ var SELECTOR_CONTROL_SIDEBAR = '.control-sidebar';
+ var SELECTOR_CONTROL_SIDEBAR_CONTENT$1 = '.control-sidebar-content';
+ var SELECTOR_DATA_TOGGLE$4 = '[data-widget="control-sidebar"]';
+ var SELECTOR_HEADER$1 = '.main-header';
+ var SELECTOR_FOOTER$1 = '.main-footer';
+ var CLASS_NAME_CONTROL_SIDEBAR_ANIMATE = 'control-sidebar-animate';
+ var CLASS_NAME_CONTROL_SIDEBAR_OPEN$1 = 'control-sidebar-open';
+ var CLASS_NAME_CONTROL_SIDEBAR_SLIDE = 'control-sidebar-slide-open';
+ var CLASS_NAME_LAYOUT_FIXED$1 = 'layout-fixed';
+ var CLASS_NAME_NAVBAR_FIXED = 'layout-navbar-fixed';
+ var CLASS_NAME_NAVBAR_SM_FIXED = 'layout-sm-navbar-fixed';
+ var CLASS_NAME_NAVBAR_MD_FIXED = 'layout-md-navbar-fixed';
+ var CLASS_NAME_NAVBAR_LG_FIXED = 'layout-lg-navbar-fixed';
+ var CLASS_NAME_NAVBAR_XL_FIXED = 'layout-xl-navbar-fixed';
+ var CLASS_NAME_FOOTER_FIXED = 'layout-footer-fixed';
+ var CLASS_NAME_FOOTER_SM_FIXED = 'layout-sm-footer-fixed';
+ var CLASS_NAME_FOOTER_MD_FIXED = 'layout-md-footer-fixed';
+ var CLASS_NAME_FOOTER_LG_FIXED = 'layout-lg-footer-fixed';
+ var CLASS_NAME_FOOTER_XL_FIXED = 'layout-xl-footer-fixed';
+ var Default$a = {
+ controlsidebarSlide: true,
+ scrollbarTheme: 'os-theme-light',
+ scrollbarAutoHide: 'l',
+ target: SELECTOR_CONTROL_SIDEBAR
+ };
+ /**
+ * Class Definition
+ * ====================================================
+ */
+
+ var ControlSidebar = /*#__PURE__*/function () {
+ function ControlSidebar(element, config) {
+ this._element = element;
+ this._config = config;
+ } // Public
+
+
+ var _proto = ControlSidebar.prototype;
+
+ _proto.collapse = function collapse() {
+ var $body = $__default['default']('body');
+ var $html = $__default['default']('html');
+ var target = this._config.target; // Show the control sidebar
+
+ if (this._config.controlsidebarSlide) {
+ $html.addClass(CLASS_NAME_CONTROL_SIDEBAR_ANIMATE);
+ $body.removeClass(CLASS_NAME_CONTROL_SIDEBAR_SLIDE).delay(300).queue(function () {
+ $__default['default'](target).hide();
+ $html.removeClass(CLASS_NAME_CONTROL_SIDEBAR_ANIMATE);
+ $__default['default'](this).dequeue();
+ });
+ } else {
+ $body.removeClass(CLASS_NAME_CONTROL_SIDEBAR_OPEN$1);
+ }
+
+ $__default['default'](this._element).trigger($__default['default'].Event(EVENT_COLLAPSED$3));
+ };
+
+ _proto.show = function show() {
+ var $body = $__default['default']('body');
+ var $html = $__default['default']('html'); // Collapse the control sidebar
+
+ if (this._config.controlsidebarSlide) {
+ $html.addClass(CLASS_NAME_CONTROL_SIDEBAR_ANIMATE);
+ $__default['default'](this._config.target).show().delay(10).queue(function () {
+ $body.addClass(CLASS_NAME_CONTROL_SIDEBAR_SLIDE).delay(300).queue(function () {
+ $html.removeClass(CLASS_NAME_CONTROL_SIDEBAR_ANIMATE);
+ $__default['default'](this).dequeue();
+ });
+ $__default['default'](this).dequeue();
+ });
+ } else {
+ $body.addClass(CLASS_NAME_CONTROL_SIDEBAR_OPEN$1);
+ }
+
+ this._fixHeight();
+
+ this._fixScrollHeight();
+
+ $__default['default'](this._element).trigger($__default['default'].Event(EVENT_EXPANDED$2));
+ };
+
+ _proto.toggle = function toggle() {
+ var $body = $__default['default']('body');
+ var shouldClose = $body.hasClass(CLASS_NAME_CONTROL_SIDEBAR_OPEN$1) || $body.hasClass(CLASS_NAME_CONTROL_SIDEBAR_SLIDE);
+
+ if (shouldClose) {
+ // Close the control sidebar
+ this.collapse();
+ } else {
+ // Open the control sidebar
+ this.show();
+ }
+ } // Private
+ ;
+
+ _proto._init = function _init() {
+ var _this = this;
+
+ var $body = $__default['default']('body');
+ var shouldNotHideAll = $body.hasClass(CLASS_NAME_CONTROL_SIDEBAR_OPEN$1) || $body.hasClass(CLASS_NAME_CONTROL_SIDEBAR_SLIDE);
+
+ if (shouldNotHideAll) {
+ $__default['default'](SELECTOR_CONTROL_SIDEBAR).not(this._config.target).hide();
+ $__default['default'](this._config.target).css('display', 'block');
+ } else {
+ $__default['default'](SELECTOR_CONTROL_SIDEBAR).hide();
+ }
+
+ this._fixHeight();
+
+ this._fixScrollHeight();
+
+ $__default['default'](window).resize(function () {
+ _this._fixHeight();
+
+ _this._fixScrollHeight();
+ });
+ $__default['default'](window).scroll(function () {
+ var $body = $__default['default']('body');
+ var shouldFixHeight = $body.hasClass(CLASS_NAME_CONTROL_SIDEBAR_OPEN$1) || $body.hasClass(CLASS_NAME_CONTROL_SIDEBAR_SLIDE);
+
+ if (shouldFixHeight) {
+ _this._fixScrollHeight();
+ }
+ });
+ };
+
+ _proto._isNavbarFixed = function _isNavbarFixed() {
+ var $body = $__default['default']('body');
+ return $body.hasClass(CLASS_NAME_NAVBAR_FIXED) || $body.hasClass(CLASS_NAME_NAVBAR_SM_FIXED) || $body.hasClass(CLASS_NAME_NAVBAR_MD_FIXED) || $body.hasClass(CLASS_NAME_NAVBAR_LG_FIXED) || $body.hasClass(CLASS_NAME_NAVBAR_XL_FIXED);
+ };
+
+ _proto._isFooterFixed = function _isFooterFixed() {
+ var $body = $__default['default']('body');
+ return $body.hasClass(CLASS_NAME_FOOTER_FIXED) || $body.hasClass(CLASS_NAME_FOOTER_SM_FIXED) || $body.hasClass(CLASS_NAME_FOOTER_MD_FIXED) || $body.hasClass(CLASS_NAME_FOOTER_LG_FIXED) || $body.hasClass(CLASS_NAME_FOOTER_XL_FIXED);
+ };
+
+ _proto._fixScrollHeight = function _fixScrollHeight() {
+ var $body = $__default['default']('body');
+ var $controlSidebar = $__default['default'](this._config.target);
+
+ if (!$body.hasClass(CLASS_NAME_LAYOUT_FIXED$1)) {
+ return;
+ }
+
+ var heights = {
+ scroll: $__default['default'](document).height(),
+ window: $__default['default'](window).height(),
+ header: $__default['default'](SELECTOR_HEADER$1).outerHeight(),
+ footer: $__default['default'](SELECTOR_FOOTER$1).outerHeight()
+ };
+ var positions = {
+ bottom: Math.abs(heights.window + $__default['default'](window).scrollTop() - heights.scroll),
+ top: $__default['default'](window).scrollTop()
+ };
+ var navbarFixed = this._isNavbarFixed() && $__default['default'](SELECTOR_HEADER$1).css('position') === 'fixed';
+ var footerFixed = this._isFooterFixed() && $__default['default'](SELECTOR_FOOTER$1).css('position') === 'fixed';
+ var $controlsidebarContent = $__default['default'](this._config.target + ", " + this._config.target + " " + SELECTOR_CONTROL_SIDEBAR_CONTENT$1);
+
+ if (positions.top === 0 && positions.bottom === 0) {
+ $controlSidebar.css({
+ bottom: heights.footer,
+ top: heights.header
+ });
+ $controlsidebarContent.css('height', heights.window - (heights.header + heights.footer));
+ } else if (positions.bottom <= heights.footer) {
+ if (footerFixed === false) {
+ var top = heights.header - positions.top;
+ $controlSidebar.css('bottom', heights.footer - positions.bottom).css('top', top >= 0 ? top : 0);
+ $controlsidebarContent.css('height', heights.window - (heights.footer - positions.bottom));
+ } else {
+ $controlSidebar.css('bottom', heights.footer);
+ }
+ } else if (positions.top <= heights.header) {
+ if (navbarFixed === false) {
+ $controlSidebar.css('top', heights.header - positions.top);
+ $controlsidebarContent.css('height', heights.window - (heights.header - positions.top));
+ } else {
+ $controlSidebar.css('top', heights.header);
+ }
+ } else if (navbarFixed === false) {
+ $controlSidebar.css('top', 0);
+ $controlsidebarContent.css('height', heights.window);
+ } else {
+ $controlSidebar.css('top', heights.header);
+ }
+
+ if (footerFixed && navbarFixed) {
+ $controlsidebarContent.css('height', '100%');
+ $controlSidebar.css('height', '');
+ } else if (footerFixed || navbarFixed) {
+ $controlsidebarContent.css('height', '100%');
+ $controlsidebarContent.css('height', '');
+ }
+ };
+
+ _proto._fixHeight = function _fixHeight() {
+ var $body = $__default['default']('body');
+ var $controlSidebar = $__default['default'](this._config.target + " " + SELECTOR_CONTROL_SIDEBAR_CONTENT$1);
+
+ if (!$body.hasClass(CLASS_NAME_LAYOUT_FIXED$1)) {
+ $controlSidebar.attr('style', '');
+ return;
+ }
+
+ var heights = {
+ window: $__default['default'](window).height(),
+ header: $__default['default'](SELECTOR_HEADER$1).outerHeight(),
+ footer: $__default['default'](SELECTOR_FOOTER$1).outerHeight()
+ };
+ var sidebarHeight = heights.window - heights.header;
+
+ if (this._isFooterFixed() && $__default['default'](SELECTOR_FOOTER$1).css('position') === 'fixed') {
+ sidebarHeight = heights.window - heights.header - heights.footer;
+ }
+
+ $controlSidebar.css('height', sidebarHeight);
+
+ if (typeof $__default['default'].fn.overlayScrollbars !== 'undefined') {
+ $controlSidebar.overlayScrollbars({
+ className: this._config.scrollbarTheme,
+ sizeAutoCapable: true,
+ scrollbars: {
+ autoHide: this._config.scrollbarAutoHide,
+ clickScrolling: true
+ }
+ });
+ }
+ } // Static
+ ;
+
+ ControlSidebar._jQueryInterface = function _jQueryInterface(operation) {
+ return this.each(function () {
+ var data = $__default['default'](this).data(DATA_KEY$c);
+
+ var _options = $__default['default'].extend({}, Default$a, $__default['default'](this).data());
+
+ if (!data) {
+ data = new ControlSidebar(this, _options);
+ $__default['default'](this).data(DATA_KEY$c, data);
+ }
+
+ if (data[operation] === 'undefined') {
+ throw new Error(operation + " is not a function");
+ }
+
+ data[operation]();
+ });
+ };
+
+ return ControlSidebar;
+ }();
+ /**
+ *
+ * Data Api implementation
+ * ====================================================
+ */
+
+
+ $__default['default'](document).on('click', SELECTOR_DATA_TOGGLE$4, function (event) {
+ event.preventDefault();
+
+ ControlSidebar._jQueryInterface.call($__default['default'](this), 'toggle');
+ });
+ $__default['default'](document).ready(function () {
+ ControlSidebar._jQueryInterface.call($__default['default'](SELECTOR_DATA_TOGGLE$4), '_init');
+ });
+ /**
+ * jQuery API
+ * ====================================================
+ */
+
+ $__default['default'].fn[NAME$c] = ControlSidebar._jQueryInterface;
+ $__default['default'].fn[NAME$c].Constructor = ControlSidebar;
+
+ $__default['default'].fn[NAME$c].noConflict = function () {
+ $__default['default'].fn[NAME$c] = JQUERY_NO_CONFLICT$c;
+ return ControlSidebar._jQueryInterface;
+ };
+
+ /**
+ * --------------------------------------------
+ * AdminLTE DirectChat.js
+ * License MIT
+ * --------------------------------------------
+ */
+ /**
+ * Constants
+ * ====================================================
+ */
+
+ var NAME$b = 'DirectChat';
+ var DATA_KEY$b = 'lte.directchat';
+ var EVENT_KEY$4 = "." + DATA_KEY$b;
+ var JQUERY_NO_CONFLICT$b = $__default['default'].fn[NAME$b];
+ var EVENT_TOGGLED = "toggled" + EVENT_KEY$4;
+ var SELECTOR_DATA_TOGGLE$3 = '[data-widget="chat-pane-toggle"]';
+ var SELECTOR_DIRECT_CHAT = '.direct-chat';
+ var CLASS_NAME_DIRECT_CHAT_OPEN = 'direct-chat-contacts-open';
+ /**
+ * Class Definition
+ * ====================================================
+ */
+
+ var DirectChat = /*#__PURE__*/function () {
+ function DirectChat(element) {
+ this._element = element;
+ }
+
+ var _proto = DirectChat.prototype;
+
+ _proto.toggle = function toggle() {
+ $__default['default'](this._element).parents(SELECTOR_DIRECT_CHAT).first().toggleClass(CLASS_NAME_DIRECT_CHAT_OPEN);
+ $__default['default'](this._element).trigger($__default['default'].Event(EVENT_TOGGLED));
+ } // Static
+ ;
+
+ DirectChat._jQueryInterface = function _jQueryInterface(config) {
+ return this.each(function () {
+ var data = $__default['default'](this).data(DATA_KEY$b);
+
+ if (!data) {
+ data = new DirectChat($__default['default'](this));
+ $__default['default'](this).data(DATA_KEY$b, data);
+ }
+
+ data[config]();
+ });
+ };
+
+ return DirectChat;
+ }();
+ /**
+ *
+ * Data Api implementation
+ * ====================================================
+ */
+
+
+ $__default['default'](document).on('click', SELECTOR_DATA_TOGGLE$3, function (event) {
+ if (event) {
+ event.preventDefault();
+ }
+
+ DirectChat._jQueryInterface.call($__default['default'](this), 'toggle');
+ });
+ /**
+ * jQuery API
+ * ====================================================
+ */
+
+ $__default['default'].fn[NAME$b] = DirectChat._jQueryInterface;
+ $__default['default'].fn[NAME$b].Constructor = DirectChat;
+
+ $__default['default'].fn[NAME$b].noConflict = function () {
+ $__default['default'].fn[NAME$b] = JQUERY_NO_CONFLICT$b;
+ return DirectChat._jQueryInterface;
+ };
+
+ /**
+ * --------------------------------------------
+ * AdminLTE Dropdown.js
+ * License MIT
+ * --------------------------------------------
+ */
+ /**
+ * Constants
+ * ====================================================
+ */
+
+ var NAME$a = 'Dropdown';
+ var DATA_KEY$a = 'lte.dropdown';
+ var JQUERY_NO_CONFLICT$a = $__default['default'].fn[NAME$a];
+ var SELECTOR_NAVBAR = '.navbar';
+ var SELECTOR_DROPDOWN_MENU = '.dropdown-menu';
+ var SELECTOR_DROPDOWN_MENU_ACTIVE = '.dropdown-menu.show';
+ var SELECTOR_DROPDOWN_TOGGLE = '[data-toggle="dropdown"]';
+ var CLASS_NAME_DROPDOWN_RIGHT = 'dropdown-menu-right';
+ var CLASS_NAME_DROPDOWN_SUBMENU = 'dropdown-submenu'; // TODO: this is unused; should be removed along with the extend?
+
+ var Default$9 = {};
+ /**
+ * Class Definition
+ * ====================================================
+ */
+
+ var Dropdown = /*#__PURE__*/function () {
+ function Dropdown(element, config) {
+ this._config = config;
+ this._element = element;
+ } // Public
+
+
+ var _proto = Dropdown.prototype;
+
+ _proto.toggleSubmenu = function toggleSubmenu() {
+ this._element.siblings().show().toggleClass('show');
+
+ if (!this._element.next().hasClass('show')) {
+ this._element.parents(SELECTOR_DROPDOWN_MENU).first().find('.show').removeClass('show').hide();
+ }
+
+ this._element.parents('li.nav-item.dropdown.show').on('hidden.bs.dropdown', function () {
+ $__default['default']('.dropdown-submenu .show').removeClass('show').hide();
+ });
+ };
+
+ _proto.fixPosition = function fixPosition() {
+ var $element = $__default['default'](SELECTOR_DROPDOWN_MENU_ACTIVE);
+
+ if ($element.length === 0) {
+ return;
+ }
+
+ if ($element.hasClass(CLASS_NAME_DROPDOWN_RIGHT)) {
+ $element.css({
+ left: 'inherit',
+ right: 0
+ });
+ } else {
+ $element.css({
+ left: 0,
+ right: 'inherit'
+ });
+ }
+
+ var offset = $element.offset();
+ var width = $element.width();
+ var visiblePart = $__default['default'](window).width() - offset.left;
+
+ if (offset.left < 0) {
+ $element.css({
+ left: 'inherit',
+ right: offset.left - 5
+ });
+ } else if (visiblePart < width) {
+ $element.css({
+ left: 'inherit',
+ right: 0
+ });
+ }
+ } // Static
+ ;
+
+ Dropdown._jQueryInterface = function _jQueryInterface(config) {
+ return this.each(function () {
+ var data = $__default['default'](this).data(DATA_KEY$a);
+
+ var _config = $__default['default'].extend({}, Default$9, $__default['default'](this).data());
+
+ if (!data) {
+ data = new Dropdown($__default['default'](this), _config);
+ $__default['default'](this).data(DATA_KEY$a, data);
+ }
+
+ if (config === 'toggleSubmenu' || config === 'fixPosition') {
+ data[config]();
+ }
+ });
+ };
+
+ return Dropdown;
+ }();
+ /**
+ * Data API
+ * ====================================================
+ */
+
+
+ $__default['default'](SELECTOR_DROPDOWN_MENU + " " + SELECTOR_DROPDOWN_TOGGLE).on('click', function (event) {
+ event.preventDefault();
+ event.stopPropagation();
+
+ Dropdown._jQueryInterface.call($__default['default'](this), 'toggleSubmenu');
+ });
+ $__default['default'](SELECTOR_NAVBAR + " " + SELECTOR_DROPDOWN_TOGGLE).on('click', function (event) {
+ event.preventDefault();
+
+ if ($__default['default'](event.target).parent().hasClass(CLASS_NAME_DROPDOWN_SUBMENU)) {
+ return;
+ }
+
+ setTimeout(function () {
+ Dropdown._jQueryInterface.call($__default['default'](this), 'fixPosition');
+ }, 1);
+ });
+ /**
+ * jQuery API
+ * ====================================================
+ */
+
+ $__default['default'].fn[NAME$a] = Dropdown._jQueryInterface;
+ $__default['default'].fn[NAME$a].Constructor = Dropdown;
+
+ $__default['default'].fn[NAME$a].noConflict = function () {
+ $__default['default'].fn[NAME$a] = JQUERY_NO_CONFLICT$a;
+ return Dropdown._jQueryInterface;
+ };
+
+ /**
+ * --------------------------------------------
+ * AdminLTE ExpandableTable.js
+ * License MIT
+ * --------------------------------------------
+ */
+ /**
+ * Constants
+ * ====================================================
+ */
+
+ var NAME$9 = 'ExpandableTable';
+ var DATA_KEY$9 = 'lte.expandableTable';
+ var EVENT_KEY$3 = "." + DATA_KEY$9;
+ var JQUERY_NO_CONFLICT$9 = $__default['default'].fn[NAME$9];
+ var EVENT_EXPANDED$1 = "expanded" + EVENT_KEY$3;
+ var EVENT_COLLAPSED$2 = "collapsed" + EVENT_KEY$3;
+ var SELECTOR_TABLE = '.expandable-table';
+ var SELECTOR_EXPANDABLE_BODY = '.expandable-body';
+ var SELECTOR_DATA_TOGGLE$2 = '[data-widget="expandable-table"]';
+ var SELECTOR_ARIA_ATTR = 'aria-expanded';
+ /**
+ * Class Definition
+ * ====================================================
+ */
+
+ var ExpandableTable = /*#__PURE__*/function () {
+ function ExpandableTable(element, options) {
+ this._options = options;
+ this._element = element;
+ } // Public
+
+
+ var _proto = ExpandableTable.prototype;
+
+ _proto.init = function init() {
+ $__default['default'](SELECTOR_DATA_TOGGLE$2).each(function (_, $header) {
+ var $type = $__default['default']($header).attr(SELECTOR_ARIA_ATTR);
+ var $body = $__default['default']($header).next(SELECTOR_EXPANDABLE_BODY).children().first().children();
+
+ if ($type === 'true') {
+ $body.show();
+ } else if ($type === 'false') {
+ $body.hide();
+ $body.parent().parent().addClass('d-none');
+ }
+ });
+ };
+
+ _proto.toggleRow = function toggleRow() {
+ var $element = this._element;
+ var time = 500;
+ var $type = $element.attr(SELECTOR_ARIA_ATTR);
+ var $body = $element.next(SELECTOR_EXPANDABLE_BODY).children().first().children();
+ $body.stop();
+
+ if ($type === 'true') {
+ $body.slideUp(time, function () {
+ $element.next(SELECTOR_EXPANDABLE_BODY).addClass('d-none');
+ });
+ $element.attr(SELECTOR_ARIA_ATTR, 'false');
+ $element.trigger($__default['default'].Event(EVENT_COLLAPSED$2));
+ } else if ($type === 'false') {
+ $element.next(SELECTOR_EXPANDABLE_BODY).removeClass('d-none');
+ $body.slideDown(time);
+ $element.attr(SELECTOR_ARIA_ATTR, 'true');
+ $element.trigger($__default['default'].Event(EVENT_EXPANDED$1));
+ }
+ } // Static
+ ;
+
+ ExpandableTable._jQueryInterface = function _jQueryInterface(operation) {
+ return this.each(function () {
+ var data = $__default['default'](this).data(DATA_KEY$9);
+
+ if (!data) {
+ data = new ExpandableTable($__default['default'](this));
+ $__default['default'](this).data(DATA_KEY$9, data);
+ }
+
+ if (typeof operation === 'string' && /init|toggleRow/.test(operation)) {
+ data[operation]();
+ }
+ });
+ };
+
+ return ExpandableTable;
+ }();
+ /**
+ * Data API
+ * ====================================================
+ */
+
+
+ $__default['default'](SELECTOR_TABLE).ready(function () {
+ ExpandableTable._jQueryInterface.call($__default['default'](this), 'init');
+ });
+ $__default['default'](document).on('click', SELECTOR_DATA_TOGGLE$2, function () {
+ ExpandableTable._jQueryInterface.call($__default['default'](this), 'toggleRow');
+ });
+ /**
+ * jQuery API
+ * ====================================================
+ */
+
+ $__default['default'].fn[NAME$9] = ExpandableTable._jQueryInterface;
+ $__default['default'].fn[NAME$9].Constructor = ExpandableTable;
+
+ $__default['default'].fn[NAME$9].noConflict = function () {
+ $__default['default'].fn[NAME$9] = JQUERY_NO_CONFLICT$9;
+ return ExpandableTable._jQueryInterface;
+ };
+
+ /**
+ * --------------------------------------------
+ * AdminLTE Fullscreen.js
+ * License MIT
+ * --------------------------------------------
+ */
+ /**
+ * Constants
+ * ====================================================
+ */
+
+ var NAME$8 = 'Fullscreen';
+ var DATA_KEY$8 = 'lte.fullscreen';
+ var JQUERY_NO_CONFLICT$8 = $__default['default'].fn[NAME$8];
+ var SELECTOR_DATA_WIDGET$2 = '[data-widget="fullscreen"]';
+ var SELECTOR_ICON = SELECTOR_DATA_WIDGET$2 + " i";
+ var Default$8 = {
+ minimizeIcon: 'fa-compress-arrows-alt',
+ maximizeIcon: 'fa-expand-arrows-alt'
+ };
+ /**
+ * Class Definition
+ * ====================================================
+ */
+
+ var Fullscreen = /*#__PURE__*/function () {
+ function Fullscreen(_element, _options) {
+ this.element = _element;
+ this.options = $__default['default'].extend({}, Default$8, _options);
+ } // Public
+
+
+ var _proto = Fullscreen.prototype;
+
+ _proto.toggle = function toggle() {
+ if (document.fullscreenElement || document.mozFullScreenElement || document.webkitFullscreenElement || document.msFullscreenElement) {
+ this.windowed();
+ } else {
+ this.fullscreen();
+ }
+ };
+
+ _proto.fullscreen = function fullscreen() {
+ if (document.documentElement.requestFullscreen) {
+ document.documentElement.requestFullscreen();
+ } else if (document.documentElement.webkitRequestFullscreen) {
+ document.documentElement.webkitRequestFullscreen();
+ } else if (document.documentElement.msRequestFullscreen) {
+ document.documentElement.msRequestFullscreen();
+ }
+
+ $__default['default'](SELECTOR_ICON).removeClass(this.options.maximizeIcon).addClass(this.options.minimizeIcon);
+ };
+
+ _proto.windowed = function windowed() {
+ if (document.exitFullscreen) {
+ document.exitFullscreen();
+ } else if (document.webkitExitFullscreen) {
+ document.webkitExitFullscreen();
+ } else if (document.msExitFullscreen) {
+ document.msExitFullscreen();
+ }
+
+ $__default['default'](SELECTOR_ICON).removeClass(this.options.minimizeIcon).addClass(this.options.maximizeIcon);
+ } // Static
+ ;
+
+ Fullscreen._jQueryInterface = function _jQueryInterface(config) {
+ var data = $__default['default'](this).data(DATA_KEY$8);
+
+ if (!data) {
+ data = $__default['default'](this).data();
+ }
+
+ var _options = $__default['default'].extend({}, Default$8, typeof config === 'object' ? config : data);
+
+ var plugin = new Fullscreen($__default['default'](this), _options);
+ $__default['default'](this).data(DATA_KEY$8, typeof config === 'object' ? config : data);
+
+ if (typeof config === 'string' && /toggle|fullscreen|windowed/.test(config)) {
+ plugin[config]();
+ } else {
+ plugin.init();
+ }
+ };
+
+ return Fullscreen;
+ }();
+ /**
+ * Data API
+ * ====================================================
+ */
+
+
+ $__default['default'](document).on('click', SELECTOR_DATA_WIDGET$2, function () {
+ Fullscreen._jQueryInterface.call($__default['default'](this), 'toggle');
+ });
+ /**
+ * jQuery API
+ * ====================================================
+ */
+
+ $__default['default'].fn[NAME$8] = Fullscreen._jQueryInterface;
+ $__default['default'].fn[NAME$8].Constructor = Fullscreen;
+
+ $__default['default'].fn[NAME$8].noConflict = function () {
+ $__default['default'].fn[NAME$8] = JQUERY_NO_CONFLICT$8;
+ return Fullscreen._jQueryInterface;
+ };
+
+ /**
+ * --------------------------------------------
+ * AdminLTE IFrame.js
+ * License MIT
+ * --------------------------------------------
+ */
+ /**
+ * Constants
+ * ====================================================
+ */
+
+ var NAME$7 = 'IFrame';
+ var DATA_KEY$7 = 'lte.iframe';
+ var JQUERY_NO_CONFLICT$7 = $__default['default'].fn[NAME$7];
+ var SELECTOR_DATA_TOGGLE$1 = '[data-widget="iframe"]';
+ var SELECTOR_DATA_TOGGLE_CLOSE = '[data-widget="iframe-close"]';
+ var SELECTOR_DATA_TOGGLE_SCROLL_LEFT = '[data-widget="iframe-scrollleft"]';
+ var SELECTOR_DATA_TOGGLE_SCROLL_RIGHT = '[data-widget="iframe-scrollright"]';
+ var SELECTOR_DATA_TOGGLE_FULLSCREEN = '[data-widget="iframe-fullscreen"]';
+ var SELECTOR_CONTENT_WRAPPER = '.content-wrapper';
+ var SELECTOR_CONTENT_IFRAME = SELECTOR_CONTENT_WRAPPER + " iframe";
+ var SELECTOR_TAB_NAV = SELECTOR_DATA_TOGGLE$1 + ".iframe-mode .nav";
+ var SELECTOR_TAB_NAVBAR_NAV = SELECTOR_DATA_TOGGLE$1 + ".iframe-mode .navbar-nav";
+ var SELECTOR_TAB_NAVBAR_NAV_ITEM = SELECTOR_TAB_NAVBAR_NAV + " .nav-item";
+ var SELECTOR_TAB_NAVBAR_NAV_LINK = SELECTOR_TAB_NAVBAR_NAV + " .nav-link";
+ var SELECTOR_TAB_CONTENT = SELECTOR_DATA_TOGGLE$1 + ".iframe-mode .tab-content";
+ var SELECTOR_TAB_EMPTY = SELECTOR_TAB_CONTENT + " .tab-empty";
+ var SELECTOR_TAB_LOADING = SELECTOR_TAB_CONTENT + " .tab-loading";
+ var SELECTOR_TAB_PANE = SELECTOR_TAB_CONTENT + " .tab-pane";
+ var SELECTOR_SIDEBAR_MENU_ITEM = '.main-sidebar .nav-item > a.nav-link';
+ var SELECTOR_SIDEBAR_SEARCH_ITEM = '.sidebar-search-results .list-group-item';
+ var SELECTOR_HEADER_MENU_ITEM = '.main-header .nav-item a.nav-link';
+ var SELECTOR_HEADER_DROPDOWN_ITEM = '.main-header a.dropdown-item';
+ var CLASS_NAME_IFRAME_MODE = 'iframe-mode';
+ var CLASS_NAME_FULLSCREEN_MODE = 'iframe-mode-fullscreen';
+ var Default$7 = {
+ onTabClick: function onTabClick(item) {
+ return item;
+ },
+ onTabChanged: function onTabChanged(item) {
+ return item;
+ },
+ onTabCreated: function onTabCreated(item) {
+ return item;
+ },
+ autoIframeMode: true,
+ autoItemActive: true,
+ autoShowNewTab: true,
+ allowDuplicates: false,
+ loadingScreen: true,
+ useNavbarItems: true,
+ scrollOffset: 40,
+ scrollBehaviorSwap: false,
+ iconMaximize: 'fa-expand',
+ iconMinimize: 'fa-compress'
+ };
+ /**
+ * Class Definition
+ * ====================================================
+ */
+
+ var IFrame = /*#__PURE__*/function () {
+ function IFrame(element, config) {
+ this._config = config;
+ this._element = element;
+
+ this._init();
+ } // Public
+
+
+ var _proto = IFrame.prototype;
+
+ _proto.onTabClick = function onTabClick(item) {
+ this._config.onTabClick(item);
+ };
+
+ _proto.onTabChanged = function onTabChanged(item) {
+ this._config.onTabChanged(item);
+ };
+
+ _proto.onTabCreated = function onTabCreated(item) {
+ this._config.onTabCreated(item);
+ };
+
+ _proto.createTab = function createTab(title, link, uniqueName, autoOpen) {
+ var _this = this;
+
+ var tabId = "panel-" + uniqueName;
+ var navId = "tab-" + uniqueName;
+
+ if (this._config.allowDuplicates) {
+ tabId += "-" + Math.floor(Math.random() * 1000);
+ navId += "-" + Math.floor(Math.random() * 1000);
+ }
+
+ var newNavItem = "<li class=\"nav-item\" role=\"presentation\"><a href=\"#\" class=\"btn-iframe-close\" data-widget=\"iframe-close\" data-type=\"only-this\"><i class=\"fas fa-times\"></i></a><a class=\"nav-link\" data-toggle=\"row\" id=\"" + navId + "\" href=\"#" + tabId + "\" role=\"tab\" aria-controls=\"" + tabId + "\" aria-selected=\"false\">" + title + "</a></li>";
+ $__default['default'](SELECTOR_TAB_NAVBAR_NAV).append(unescape(escape(newNavItem)));
+ var newTabItem = "<div class=\"tab-pane fade\" id=\"" + tabId + "\" role=\"tabpanel\" aria-labelledby=\"" + navId + "\"><iframe src=\"" + link + "\"></iframe></div>";
+ $__default['default'](SELECTOR_TAB_CONTENT).append(unescape(escape(newTabItem)));
+
+ if (autoOpen) {
+ if (this._config.loadingScreen) {
+ var $loadingScreen = $__default['default'](SELECTOR_TAB_LOADING);
+ $loadingScreen.fadeIn();
+ $__default['default'](tabId + " iframe").ready(function () {
+ if (typeof _this._config.loadingScreen === 'number') {
+ _this.switchTab("#" + navId);
+
+ setTimeout(function () {
+ $loadingScreen.fadeOut();
+ }, _this._config.loadingScreen);
+ } else {
+ _this.switchTab("#" + navId);
+
+ $loadingScreen.fadeOut();
+ }
+ });
+ } else {
+ this.switchTab("#" + navId);
+ }
+ }
+
+ this.onTabCreated($__default['default']("#" + navId));
+ };
+
+ _proto.openTabSidebar = function openTabSidebar(item, autoOpen) {
+ if (autoOpen === void 0) {
+ autoOpen = this._config.autoShowNewTab;
+ }
+
+ var $item = $__default['default'](item).clone();
+
+ if ($item.attr('href') === undefined) {
+ $item = $__default['default'](item).parent('a').clone();
+ }
+
+ $item.find('.right, .search-path').remove();
+ var title = $item.find('p').text();
+
+ if (title === '') {
+ title = $item.text();
+ }
+
+ var link = $item.attr('href');
+
+ if (link === '#' || link === '' || link === undefined) {
+ return;
+ }
+
+ var uniqueName = link.replace('./', '').replace(/["&'./:=?[\]]/gi, '-').replace(/(--)/gi, '');
+ var navId = "tab-" + uniqueName;
+
+ if (!this._config.allowDuplicates && $__default['default']("#" + navId).length > 0) {
+ return this.switchTab("#" + navId);
+ }
+
+ if (!this._config.allowDuplicates && $__default['default']("#" + navId).length === 0 || this._config.allowDuplicates) {
+ this.createTab(title, link, uniqueName, autoOpen);
+ }
+ };
+
+ _proto.switchTab = function switchTab(item) {
+ var $item = $__default['default'](item);
+ var tabId = $item.attr('href');
+ $__default['default'](SELECTOR_TAB_EMPTY).hide();
+ $__default['default'](SELECTOR_TAB_NAVBAR_NAV + " .active").tab('dispose').removeClass('active');
+
+ this._fixHeight();
+
+ $item.tab('show');
+ $item.parents('li').addClass('active');
+ this.onTabChanged($item);
+
+ if (this._config.autoItemActive) {
+ this._setItemActive($__default['default'](tabId + " iframe").attr('src'));
+ }
+ };
+
+ _proto.removeActiveTab = function removeActiveTab(type, element) {
+ if (type == 'all') {
+ $__default['default'](SELECTOR_TAB_NAVBAR_NAV_ITEM).remove();
+ $__default['default'](SELECTOR_TAB_PANE).remove();
+ $__default['default'](SELECTOR_TAB_EMPTY).show();
+ } else if (type == 'all-other') {
+ $__default['default'](SELECTOR_TAB_NAVBAR_NAV_ITEM + ":not(.active)").remove();
+ $__default['default'](SELECTOR_TAB_PANE + ":not(.active)").remove();
+ } else if (type == 'only-this') {
+ var $navClose = $__default['default'](element);
+ var $navItem = $navClose.parent('.nav-item');
+ var $navItemParent = $navItem.parent();
+ var navItemIndex = $navItem.index();
+ var tabId = $navClose.siblings('.nav-link').attr('aria-controls');
+ $navItem.remove();
+ $__default['default']("#" + tabId).remove();
+
+ if ($__default['default'](SELECTOR_TAB_CONTENT).children().length == $__default['default'](SELECTOR_TAB_EMPTY + ", " + SELECTOR_TAB_LOADING).length) {
+ $__default['default'](SELECTOR_TAB_EMPTY).show();
+ } else {
+ var prevNavItemIndex = navItemIndex - 1;
+ this.switchTab($navItemParent.children().eq(prevNavItemIndex).find('a.nav-link'));
+ }
+ } else {
+ var _$navItem = $__default['default'](SELECTOR_TAB_NAVBAR_NAV_ITEM + ".active");
+
+ var _$navItemParent = _$navItem.parent();
+
+ var _navItemIndex = _$navItem.index();
+
+ _$navItem.remove();
+
+ $__default['default'](SELECTOR_TAB_PANE + ".active").remove();
+
+ if ($__default['default'](SELECTOR_TAB_CONTENT).children().length == $__default['default'](SELECTOR_TAB_EMPTY + ", " + SELECTOR_TAB_LOADING).length) {
+ $__default['default'](SELECTOR_TAB_EMPTY).show();
+ } else {
+ var _prevNavItemIndex = _navItemIndex - 1;
+
+ this.switchTab(_$navItemParent.children().eq(_prevNavItemIndex).find('a.nav-link'));
+ }
+ }
+ };
+
+ _proto.toggleFullscreen = function toggleFullscreen() {
+ if ($__default['default']('body').hasClass(CLASS_NAME_FULLSCREEN_MODE)) {
+ $__default['default'](SELECTOR_DATA_TOGGLE_FULLSCREEN + " i").removeClass(this._config.iconMinimize).addClass(this._config.iconMaximize);
+ $__default['default']('body').removeClass(CLASS_NAME_FULLSCREEN_MODE);
+ $__default['default'](SELECTOR_TAB_EMPTY + ", " + SELECTOR_TAB_LOADING).height('auto');
+ $__default['default'](SELECTOR_CONTENT_WRAPPER).height('auto');
+ $__default['default'](SELECTOR_CONTENT_IFRAME).height('auto');
+ } else {
+ $__default['default'](SELECTOR_DATA_TOGGLE_FULLSCREEN + " i").removeClass(this._config.iconMaximize).addClass(this._config.iconMinimize);
+ $__default['default']('body').addClass(CLASS_NAME_FULLSCREEN_MODE);
+ }
+
+ $__default['default'](window).trigger('resize');
+
+ this._fixHeight(true);
+ } // Private
+ ;
+
+ _proto._init = function _init() {
+ if (window.frameElement && this._config.autoIframeMode) {
+ $__default['default']('body').addClass(CLASS_NAME_IFRAME_MODE);
+ } else if ($__default['default'](SELECTOR_CONTENT_WRAPPER).hasClass(CLASS_NAME_IFRAME_MODE)) {
+ if ($__default['default'](SELECTOR_TAB_CONTENT).children().length > 2) {
+ var $el = $__default['default'](SELECTOR_TAB_PANE + ":first-child");
+ $el.show();
+
+ this._setItemActive($el.find('iframe').attr('src'));
+ }
+
+ this._setupListeners();
+
+ this._fixHeight(true);
+ }
+ };
+
+ _proto._navScroll = function _navScroll(offset) {
+ var leftPos = $__default['default'](SELECTOR_TAB_NAVBAR_NAV).scrollLeft();
+ $__default['default'](SELECTOR_TAB_NAVBAR_NAV).animate({
+ scrollLeft: leftPos + offset
+ }, 250, 'linear');
+ };
+
+ _proto._setupListeners = function _setupListeners() {
+ var _this2 = this;
+
+ $__default['default'](window).on('resize', function () {
+ setTimeout(function () {
+ _this2._fixHeight();
+ }, 1);
+ });
+ $__default['default'](document).on('click', SELECTOR_SIDEBAR_MENU_ITEM + ", " + SELECTOR_SIDEBAR_SEARCH_ITEM, function (e) {
+ e.preventDefault();
+
+ _this2.openTabSidebar(e.target);
+ });
+
+ if (this._config.useNavbarItems) {
+ $__default['default'](document).on('click', SELECTOR_HEADER_MENU_ITEM + ", " + SELECTOR_HEADER_DROPDOWN_ITEM, function (e) {
+ e.preventDefault();
+
+ _this2.openTabSidebar(e.target);
+ });
+ }
+
+ $__default['default'](document).on('click', SELECTOR_TAB_NAVBAR_NAV_LINK, function (e) {
+ e.preventDefault();
+
+ _this2.onTabClick(e.target);
+
+ _this2.switchTab(e.target);
+ });
+ $__default['default'](document).on('click', SELECTOR_TAB_NAVBAR_NAV_LINK, function (e) {
+ e.preventDefault();
+
+ _this2.onTabClick(e.target);
+
+ _this2.switchTab(e.target);
+ });
+ $__default['default'](document).on('click', SELECTOR_DATA_TOGGLE_CLOSE, function (e) {
+ e.preventDefault();
+ var target = e.target;
+
+ if (target.nodeName == 'I') {
+ target = e.target.offsetParent;
+ }
+
+ _this2.removeActiveTab(target.attributes['data-type'] ? target.attributes['data-type'].nodeValue : null, target);
+ });
+ $__default['default'](document).on('click', SELECTOR_DATA_TOGGLE_FULLSCREEN, function (e) {
+ e.preventDefault();
+
+ _this2.toggleFullscreen();
+ });
+ var mousedown = false;
+ var mousedownInterval = null;
+ $__default['default'](document).on('mousedown', SELECTOR_DATA_TOGGLE_SCROLL_LEFT, function (e) {
+ e.preventDefault();
+ clearInterval(mousedownInterval);
+ var scrollOffset = _this2._config.scrollOffset;
+
+ if (!_this2._config.scrollBehaviorSwap) {
+ scrollOffset = -scrollOffset;
+ }
+
+ mousedown = true;
+
+ _this2._navScroll(scrollOffset);
+
+ mousedownInterval = setInterval(function () {
+ _this2._navScroll(scrollOffset);
+ }, 250);
+ });
+ $__default['default'](document).on('mousedown', SELECTOR_DATA_TOGGLE_SCROLL_RIGHT, function (e) {
+ e.preventDefault();
+ clearInterval(mousedownInterval);
+ var scrollOffset = _this2._config.scrollOffset;
+
+ if (_this2._config.scrollBehaviorSwap) {
+ scrollOffset = -scrollOffset;
+ }
+
+ mousedown = true;
+
+ _this2._navScroll(scrollOffset);
+
+ mousedownInterval = setInterval(function () {
+ _this2._navScroll(scrollOffset);
+ }, 250);
+ });
+ $__default['default'](document).on('mouseup', function () {
+ if (mousedown) {
+ mousedown = false;
+ clearInterval(mousedownInterval);
+ mousedownInterval = null;
+ }
+ });
+ };
+
+ _proto._setItemActive = function _setItemActive(href) {
+ $__default['default'](SELECTOR_SIDEBAR_MENU_ITEM + ", " + SELECTOR_HEADER_DROPDOWN_ITEM).removeClass('active');
+ $__default['default'](SELECTOR_HEADER_MENU_ITEM).parent().removeClass('active');
+ var $headerMenuItem = $__default['default'](SELECTOR_HEADER_MENU_ITEM + "[href$=\"" + href + "\"]");
+ var $headerDropdownItem = $__default['default'](SELECTOR_HEADER_DROPDOWN_ITEM + "[href$=\"" + href + "\"]");
+ var $sidebarMenuItem = $__default['default'](SELECTOR_SIDEBAR_MENU_ITEM + "[href$=\"" + href + "\"]");
+ $headerMenuItem.each(function (i, e) {
+ $__default['default'](e).parent().addClass('active');
+ });
+ $headerDropdownItem.each(function (i, e) {
+ $__default['default'](e).addClass('active');
+ });
+ $sidebarMenuItem.each(function (i, e) {
+ $__default['default'](e).addClass('active');
+ $__default['default'](e).parents('.nav-treeview').prevAll('.nav-link').addClass('active');
+ });
+ };
+
+ _proto._fixHeight = function _fixHeight(tabEmpty) {
+ if (tabEmpty === void 0) {
+ tabEmpty = false;
+ }
+
+ if ($__default['default']('body').hasClass(CLASS_NAME_FULLSCREEN_MODE)) {
+ var windowHeight = $__default['default'](window).height();
+ var navbarHeight = $__default['default'](SELECTOR_TAB_NAV).outerHeight();
+ $__default['default'](SELECTOR_TAB_EMPTY + ", " + SELECTOR_TAB_LOADING + ", " + SELECTOR_CONTENT_IFRAME).height(windowHeight - navbarHeight);
+ $__default['default'](SELECTOR_CONTENT_WRAPPER).height(windowHeight);
+ } else {
+ var contentWrapperHeight = parseFloat($__default['default'](SELECTOR_CONTENT_WRAPPER).css('height'));
+
+ var _navbarHeight = $__default['default'](SELECTOR_TAB_NAV).outerHeight();
+
+ if (tabEmpty == true) {
+ setTimeout(function () {
+ $__default['default'](SELECTOR_TAB_EMPTY + ", " + SELECTOR_TAB_LOADING).height(contentWrapperHeight - _navbarHeight);
+ }, 50);
+ } else {
+ $__default['default'](SELECTOR_CONTENT_IFRAME).height(contentWrapperHeight - _navbarHeight);
+ }
+ }
+ } // Static
+ ;
+
+ IFrame._jQueryInterface = function _jQueryInterface(operation) {
+ var data = $__default['default'](this).data(DATA_KEY$7);
+
+ var _options = $__default['default'].extend({}, Default$7, $__default['default'](this).data());
+
+ if (!data) {
+ data = new IFrame(this, _options);
+ $__default['default'](this).data(DATA_KEY$7, data);
+ }
+
+ if (typeof operation === 'string' && /createTab|openTabSidebar|switchTab|removeActiveTab/.test(operation)) {
+ var _data;
+
+ for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
+ args[_key - 1] = arguments[_key];
+ }
+
+ (_data = data)[operation].apply(_data, args);
+ }
+ };
+
+ return IFrame;
+ }();
+ /**
+ * Data API
+ * ====================================================
+ */
+
+
+ $__default['default'](window).on('load', function () {
+ IFrame._jQueryInterface.call($__default['default'](SELECTOR_DATA_TOGGLE$1));
+ });
+ /**
+ * jQuery API
+ * ====================================================
+ */
+
+ $__default['default'].fn[NAME$7] = IFrame._jQueryInterface;
+ $__default['default'].fn[NAME$7].Constructor = IFrame;
+
+ $__default['default'].fn[NAME$7].noConflict = function () {
+ $__default['default'].fn[NAME$7] = JQUERY_NO_CONFLICT$7;
+ return IFrame._jQueryInterface;
+ };
+
+ /**
+ * --------------------------------------------
+ * AdminLTE Layout.js
+ * License MIT
+ * --------------------------------------------
+ */
+ /**
+ * Constants
+ * ====================================================
+ */
+
+ var NAME$6 = 'Layout';
+ var DATA_KEY$6 = 'lte.layout';
+ var JQUERY_NO_CONFLICT$6 = $__default['default'].fn[NAME$6];
+ var SELECTOR_HEADER = '.main-header';
+ var SELECTOR_MAIN_SIDEBAR = '.main-sidebar';
+ var SELECTOR_SIDEBAR$1 = '.main-sidebar .sidebar';
+ var SELECTOR_CONTENT = '.content-wrapper';
+ var SELECTOR_CONTROL_SIDEBAR_CONTENT = '.control-sidebar-content';
+ var SELECTOR_CONTROL_SIDEBAR_BTN = '[data-widget="control-sidebar"]';
+ var SELECTOR_FOOTER = '.main-footer';
+ var SELECTOR_PUSHMENU_BTN = '[data-widget="pushmenu"]';
+ var SELECTOR_LOGIN_BOX = '.login-box';
+ var SELECTOR_REGISTER_BOX = '.register-box';
+ var SELECTOR_PRELOADER = '.preloader';
+ var CLASS_NAME_SIDEBAR_COLLAPSED$1 = 'sidebar-collapse';
+ var CLASS_NAME_SIDEBAR_FOCUSED = 'sidebar-focused';
+ var CLASS_NAME_LAYOUT_FIXED = 'layout-fixed';
+ var CLASS_NAME_CONTROL_SIDEBAR_SLIDE_OPEN = 'control-sidebar-slide-open';
+ var CLASS_NAME_CONTROL_SIDEBAR_OPEN = 'control-sidebar-open';
+ var Default$6 = {
+ scrollbarTheme: 'os-theme-light',
+ scrollbarAutoHide: 'l',
+ panelAutoHeight: true,
+ panelAutoHeightMode: 'min-height',
+ preloadDuration: 200,
+ loginRegisterAutoHeight: true
+ };
+ /**
+ * Class Definition
+ * ====================================================
+ */
+
+ var Layout = /*#__PURE__*/function () {
+ function Layout(element, config) {
+ this._config = config;
+ this._element = element;
+ } // Public
+
+
+ var _proto = Layout.prototype;
+
+ _proto.fixLayoutHeight = function fixLayoutHeight(extra) {
+ if (extra === void 0) {
+ extra = null;
+ }
+
+ var $body = $__default['default']('body');
+ var controlSidebar = 0;
+
+ if ($body.hasClass(CLASS_NAME_CONTROL_SIDEBAR_SLIDE_OPEN) || $body.hasClass(CLASS_NAME_CONTROL_SIDEBAR_OPEN) || extra === 'control_sidebar') {
+ controlSidebar = $__default['default'](SELECTOR_CONTROL_SIDEBAR_CONTENT).outerHeight();
+ }
+
+ var heights = {
+ window: $__default['default'](window).height(),
+ header: $__default['default'](SELECTOR_HEADER).length > 0 ? $__default['default'](SELECTOR_HEADER).outerHeight() : 0,
+ footer: $__default['default'](SELECTOR_FOOTER).length > 0 ? $__default['default'](SELECTOR_FOOTER).outerHeight() : 0,
+ sidebar: $__default['default'](SELECTOR_SIDEBAR$1).length > 0 ? $__default['default'](SELECTOR_SIDEBAR$1).height() : 0,
+ controlSidebar: controlSidebar
+ };
+
+ var max = this._max(heights);
+
+ var offset = this._config.panelAutoHeight;
+
+ if (offset === true) {
+ offset = 0;
+ }
+
+ var $contentSelector = $__default['default'](SELECTOR_CONTENT);
+
+ if (offset !== false) {
+ if (max === heights.controlSidebar) {
+ $contentSelector.css(this._config.panelAutoHeightMode, max + offset);
+ } else if (max === heights.window) {
+ $contentSelector.css(this._config.panelAutoHeightMode, max + offset - heights.header - heights.footer);
+ } else {
+ $contentSelector.css(this._config.panelAutoHeightMode, max + offset - heights.header);
+ }
+
+ if (this._isFooterFixed()) {
+ $contentSelector.css(this._config.panelAutoHeightMode, parseFloat($contentSelector.css(this._config.panelAutoHeightMode)) + heights.footer);
+ }
+ }
+
+ if (!$body.hasClass(CLASS_NAME_LAYOUT_FIXED)) {
+ return;
+ }
+
+ if (typeof $__default['default'].fn.overlayScrollbars !== 'undefined') {
+ $__default['default'](SELECTOR_SIDEBAR$1).overlayScrollbars({
+ className: this._config.scrollbarTheme,
+ sizeAutoCapable: true,
+ scrollbars: {
+ autoHide: this._config.scrollbarAutoHide,
+ clickScrolling: true
+ }
+ });
+ } else {
+ $__default['default'](SELECTOR_SIDEBAR$1).css('overflow-y', 'auto');
+ }
+ };
+
+ _proto.fixLoginRegisterHeight = function fixLoginRegisterHeight() {
+ var $body = $__default['default']('body');
+ var $selector = $__default['default'](SELECTOR_LOGIN_BOX + ", " + SELECTOR_REGISTER_BOX);
+
+ if ($selector.length === 0) {
+ $body.css('height', 'auto');
+ $__default['default']('html').css('height', 'auto');
+ } else {
+ var boxHeight = $selector.height();
+
+ if ($body.css(this._config.panelAutoHeightMode) !== boxHeight) {
+ $body.css(this._config.panelAutoHeightMode, boxHeight);
+ }
+ }
+ } // Private
+ ;
+
+ _proto._init = function _init() {
+ var _this = this;
+
+ // Activate layout height watcher
+ this.fixLayoutHeight();
+
+ if (this._config.loginRegisterAutoHeight === true) {
+ this.fixLoginRegisterHeight();
+ } else if (this._config.loginRegisterAutoHeight === parseInt(this._config.loginRegisterAutoHeight, 10)) {
+ setInterval(this.fixLoginRegisterHeight, this._config.loginRegisterAutoHeight);
+ }
+
+ $__default['default'](SELECTOR_SIDEBAR$1).on('collapsed.lte.treeview expanded.lte.treeview', function () {
+ _this.fixLayoutHeight();
+ });
+ $__default['default'](SELECTOR_MAIN_SIDEBAR).on('mouseenter mouseleave', function () {
+ if ($__default['default']('body').hasClass(CLASS_NAME_SIDEBAR_COLLAPSED$1)) {
+ _this.fixLayoutHeight();
+ }
+ });
+ $__default['default'](SELECTOR_PUSHMENU_BTN).on('collapsed.lte.pushmenu shown.lte.pushmenu', function () {
+ setTimeout(function () {
+ _this.fixLayoutHeight();
+ }, 300);
+ });
+ $__default['default'](SELECTOR_CONTROL_SIDEBAR_BTN).on('collapsed.lte.controlsidebar', function () {
+ _this.fixLayoutHeight();
+ }).on('expanded.lte.controlsidebar', function () {
+ _this.fixLayoutHeight('control_sidebar');
+ });
+ $__default['default'](window).resize(function () {
+ _this.fixLayoutHeight();
+ });
+ setTimeout(function () {
+ $__default['default']('body.hold-transition').removeClass('hold-transition');
+ }, 50);
+ setTimeout(function () {
+ var $preloader = $__default['default'](SELECTOR_PRELOADER);
+
+ if ($preloader) {
+ $preloader.css('height', 0);
+ setTimeout(function () {
+ $preloader.children().hide();
+ }, 200);
+ }
+ }, this._config.preloadDuration);
+ };
+
+ _proto._max = function _max(numbers) {
+ // Calculate the maximum number in a list
+ var max = 0;
+ Object.keys(numbers).forEach(function (key) {
+ if (numbers[key] > max) {
+ max = numbers[key];
+ }
+ });
+ return max;
+ };
+
+ _proto._isFooterFixed = function _isFooterFixed() {
+ return $__default['default'](SELECTOR_FOOTER).css('position') === 'fixed';
+ } // Static
+ ;
+
+ Layout._jQueryInterface = function _jQueryInterface(config) {
+ if (config === void 0) {
+ config = '';
+ }
+
+ return this.each(function () {
+ var data = $__default['default'](this).data(DATA_KEY$6);
+
+ var _options = $__default['default'].extend({}, Default$6, $__default['default'](this).data());
+
+ if (!data) {
+ data = new Layout($__default['default'](this), _options);
+ $__default['default'](this).data(DATA_KEY$6, data);
+ }
+
+ if (config === 'init' || config === '') {
+ data._init();
+ } else if (config === 'fixLayoutHeight' || config === 'fixLoginRegisterHeight') {
+ data[config]();
+ }
+ });
+ };
+
+ return Layout;
+ }();
+ /**
+ * Data API
+ * ====================================================
+ */
+
+
+ $__default['default'](window).on('load', function () {
+ Layout._jQueryInterface.call($__default['default']('body'));
+ });
+ $__default['default'](SELECTOR_SIDEBAR$1 + " a").on('focusin', function () {
+ $__default['default'](SELECTOR_MAIN_SIDEBAR).addClass(CLASS_NAME_SIDEBAR_FOCUSED);
+ }).on('focusout', function () {
+ $__default['default'](SELECTOR_MAIN_SIDEBAR).removeClass(CLASS_NAME_SIDEBAR_FOCUSED);
+ });
+ /**
+ * jQuery API
+ * ====================================================
+ */
+
+ $__default['default'].fn[NAME$6] = Layout._jQueryInterface;
+ $__default['default'].fn[NAME$6].Constructor = Layout;
+
+ $__default['default'].fn[NAME$6].noConflict = function () {
+ $__default['default'].fn[NAME$6] = JQUERY_NO_CONFLICT$6;
+ return Layout._jQueryInterface;
+ };
+
+ /**
+ * --------------------------------------------
+ * AdminLTE PushMenu.js
+ * License MIT
+ * --------------------------------------------
+ */
+ /**
+ * Constants
+ * ====================================================
+ */
+
+ var NAME$5 = 'PushMenu';
+ var DATA_KEY$5 = 'lte.pushmenu';
+ var EVENT_KEY$2 = "." + DATA_KEY$5;
+ var JQUERY_NO_CONFLICT$5 = $__default['default'].fn[NAME$5];
+ var EVENT_COLLAPSED$1 = "collapsed" + EVENT_KEY$2;
+ var EVENT_SHOWN = "shown" + EVENT_KEY$2;
+ var SELECTOR_TOGGLE_BUTTON$1 = '[data-widget="pushmenu"]';
+ var SELECTOR_BODY = 'body';
+ var SELECTOR_OVERLAY = '#sidebar-overlay';
+ var SELECTOR_WRAPPER = '.wrapper';
+ var CLASS_NAME_COLLAPSED = 'sidebar-collapse';
+ var CLASS_NAME_OPEN$3 = 'sidebar-open';
+ var CLASS_NAME_IS_OPENING$1 = 'sidebar-is-opening';
+ var CLASS_NAME_CLOSED = 'sidebar-closed';
+ var Default$5 = {
+ autoCollapseSize: 992,
+ enableRemember: false,
+ noTransitionAfterReload: true
+ };
+ /**
+ * Class Definition
+ * ====================================================
+ */
+
+ var PushMenu = /*#__PURE__*/function () {
+ function PushMenu(element, options) {
+ this._element = element;
+ this._options = $__default['default'].extend({}, Default$5, options);
+
+ if ($__default['default'](SELECTOR_OVERLAY).length === 0) {
+ this._addOverlay();
+ }
+
+ this._init();
+ } // Public
+
+
+ var _proto = PushMenu.prototype;
+
+ _proto.expand = function expand() {
+ var $bodySelector = $__default['default'](SELECTOR_BODY);
+
+ if (this._options.autoCollapseSize && $__default['default'](window).width() <= this._options.autoCollapseSize) {
+ $bodySelector.addClass(CLASS_NAME_OPEN$3);
+ }
+
+ $bodySelector.addClass(CLASS_NAME_IS_OPENING$1).removeClass(CLASS_NAME_COLLAPSED + " " + CLASS_NAME_CLOSED).delay(50).queue(function () {
+ $bodySelector.removeClass(CLASS_NAME_IS_OPENING$1);
+ $__default['default'](this).dequeue();
+ });
+
+ if (this._options.enableRemember) {
+ localStorage.setItem("remember" + EVENT_KEY$2, CLASS_NAME_OPEN$3);
+ }
+
+ $__default['default'](this._element).trigger($__default['default'].Event(EVENT_SHOWN));
+ };
+
+ _proto.collapse = function collapse() {
+ var $bodySelector = $__default['default'](SELECTOR_BODY);
+
+ if (this._options.autoCollapseSize && $__default['default'](window).width() <= this._options.autoCollapseSize) {
+ $bodySelector.removeClass(CLASS_NAME_OPEN$3).addClass(CLASS_NAME_CLOSED);
+ }
+
+ $bodySelector.addClass(CLASS_NAME_COLLAPSED);
+
+ if (this._options.enableRemember) {
+ localStorage.setItem("remember" + EVENT_KEY$2, CLASS_NAME_COLLAPSED);
+ }
+
+ $__default['default'](this._element).trigger($__default['default'].Event(EVENT_COLLAPSED$1));
+ };
+
+ _proto.toggle = function toggle() {
+ if ($__default['default'](SELECTOR_BODY).hasClass(CLASS_NAME_COLLAPSED)) {
+ this.expand();
+ } else {
+ this.collapse();
+ }
+ };
+
+ _proto.autoCollapse = function autoCollapse(resize) {
+ if (resize === void 0) {
+ resize = false;
+ }
+
+ if (!this._options.autoCollapseSize) {
+ return;
+ }
+
+ var $bodySelector = $__default['default'](SELECTOR_BODY);
+
+ if ($__default['default'](window).width() <= this._options.autoCollapseSize) {
+ if (!$bodySelector.hasClass(CLASS_NAME_OPEN$3)) {
+ this.collapse();
+ }
+ } else if (resize === true) {
+ if ($bodySelector.hasClass(CLASS_NAME_OPEN$3)) {
+ $bodySelector.removeClass(CLASS_NAME_OPEN$3);
+ } else if ($bodySelector.hasClass(CLASS_NAME_CLOSED)) {
+ this.expand();
+ }
+ }
+ };
+
+ _proto.remember = function remember() {
+ if (!this._options.enableRemember) {
+ return;
+ }
+
+ var $body = $__default['default']('body');
+ var toggleState = localStorage.getItem("remember" + EVENT_KEY$2);
+
+ if (toggleState === CLASS_NAME_COLLAPSED) {
+ if (this._options.noTransitionAfterReload) {
+ $body.addClass('hold-transition').addClass(CLASS_NAME_COLLAPSED).delay(50).queue(function () {
+ $__default['default'](this).removeClass('hold-transition');
+ $__default['default'](this).dequeue();
+ });
+ } else {
+ $body.addClass(CLASS_NAME_COLLAPSED);
+ }
+ } else if (this._options.noTransitionAfterReload) {
+ $body.addClass('hold-transition').removeClass(CLASS_NAME_COLLAPSED).delay(50).queue(function () {
+ $__default['default'](this).removeClass('hold-transition');
+ $__default['default'](this).dequeue();
+ });
+ } else {
+ $body.removeClass(CLASS_NAME_COLLAPSED);
+ }
+ } // Private
+ ;
+
+ _proto._init = function _init() {
+ var _this = this;
+
+ this.remember();
+ this.autoCollapse();
+ $__default['default'](window).resize(function () {
+ _this.autoCollapse(true);
+ });
+ };
+
+ _proto._addOverlay = function _addOverlay() {
+ var _this2 = this;
+
+ var overlay = $__default['default']('<div />', {
+ id: 'sidebar-overlay'
+ });
+ overlay.on('click', function () {
+ _this2.collapse();
+ });
+ $__default['default'](SELECTOR_WRAPPER).append(overlay);
+ } // Static
+ ;
+
+ PushMenu._jQueryInterface = function _jQueryInterface(operation) {
+ return this.each(function () {
+ var data = $__default['default'](this).data(DATA_KEY$5);
+
+ var _options = $__default['default'].extend({}, Default$5, $__default['default'](this).data());
+
+ if (!data) {
+ data = new PushMenu(this, _options);
+ $__default['default'](this).data(DATA_KEY$5, data);
+ }
+
+ if (typeof operation === 'string' && /collapse|expand|toggle/.test(operation)) {
+ data[operation]();
+ }
+ });
+ };
+
+ return PushMenu;
+ }();
+ /**
+ * Data API
+ * ====================================================
+ */
+
+
+ $__default['default'](document).on('click', SELECTOR_TOGGLE_BUTTON$1, function (event) {
+ event.preventDefault();
+ var button = event.currentTarget;
+
+ if ($__default['default'](button).data('widget') !== 'pushmenu') {
+ button = $__default['default'](button).closest(SELECTOR_TOGGLE_BUTTON$1);
+ }
+
+ PushMenu._jQueryInterface.call($__default['default'](button), 'toggle');
+ });
+ $__default['default'](window).on('load', function () {
+ PushMenu._jQueryInterface.call($__default['default'](SELECTOR_TOGGLE_BUTTON$1));
+ });
+ /**
+ * jQuery API
+ * ====================================================
+ */
+
+ $__default['default'].fn[NAME$5] = PushMenu._jQueryInterface;
+ $__default['default'].fn[NAME$5].Constructor = PushMenu;
+
+ $__default['default'].fn[NAME$5].noConflict = function () {
+ $__default['default'].fn[NAME$5] = JQUERY_NO_CONFLICT$5;
+ return PushMenu._jQueryInterface;
+ };
+
+ /**
+ * --------------------------------------------
+ * AdminLTE SidebarSearch.js
+ * License MIT
+ * --------------------------------------------
+ */
+ /**
+ * Constants
+ * ====================================================
+ */
+
+ var NAME$4 = 'SidebarSearch';
+ var DATA_KEY$4 = 'lte.sidebar-search';
+ var JQUERY_NO_CONFLICT$4 = $__default['default'].fn[NAME$4];
+ var CLASS_NAME_OPEN$2 = 'sidebar-search-open';
+ var CLASS_NAME_ICON_SEARCH = 'fa-search';
+ var CLASS_NAME_ICON_CLOSE = 'fa-times';
+ var CLASS_NAME_HEADER = 'nav-header';
+ var CLASS_NAME_SEARCH_RESULTS = 'sidebar-search-results';
+ var CLASS_NAME_LIST_GROUP = 'list-group';
+ var SELECTOR_DATA_WIDGET$1 = '[data-widget="sidebar-search"]';
+ var SELECTOR_SIDEBAR = '.main-sidebar .nav-sidebar';
+ var SELECTOR_NAV_LINK = '.nav-link';
+ var SELECTOR_NAV_TREEVIEW = '.nav-treeview';
+ var SELECTOR_SEARCH_INPUT$1 = SELECTOR_DATA_WIDGET$1 + " .form-control";
+ var SELECTOR_SEARCH_BUTTON = SELECTOR_DATA_WIDGET$1 + " .btn";
+ var SELECTOR_SEARCH_ICON = SELECTOR_SEARCH_BUTTON + " i";
+ var SELECTOR_SEARCH_LIST_GROUP = "." + CLASS_NAME_LIST_GROUP;
+ var SELECTOR_SEARCH_RESULTS = "." + CLASS_NAME_SEARCH_RESULTS;
+ var SELECTOR_SEARCH_RESULTS_GROUP = SELECTOR_SEARCH_RESULTS + " ." + CLASS_NAME_LIST_GROUP;
+ var Default$4 = {
+ arrowSign: '->',
+ minLength: 3,
+ maxResults: 7,
+ highlightName: true,
+ highlightPath: false,
+ highlightClass: 'text-light',
+ notFoundText: 'No element found!'
+ };
+ var SearchItems = [];
+ /**
+ * Class Definition
+ * ====================================================
+ */
+
+ var SidebarSearch = /*#__PURE__*/function () {
+ function SidebarSearch(_element, _options) {
+ this.element = _element;
+ this.options = $__default['default'].extend({}, Default$4, _options);
+ this.items = [];
+ } // Public
+
+
+ var _proto = SidebarSearch.prototype;
+
+ _proto.init = function init() {
+ var _this = this;
+
+ if ($__default['default'](SELECTOR_DATA_WIDGET$1).length === 0) {
+ return;
+ }
+
+ if ($__default['default'](SELECTOR_DATA_WIDGET$1).next(SELECTOR_SEARCH_RESULTS).length === 0) {
+ $__default['default'](SELECTOR_DATA_WIDGET$1).after($__default['default']('<div />', {
+ class: CLASS_NAME_SEARCH_RESULTS
+ }));
+ }
+
+ if ($__default['default'](SELECTOR_SEARCH_RESULTS).children(SELECTOR_SEARCH_LIST_GROUP).length === 0) {
+ $__default['default'](SELECTOR_SEARCH_RESULTS).append($__default['default']('<div />', {
+ class: CLASS_NAME_LIST_GROUP
+ }));
+ }
+
+ this._addNotFound();
+
+ $__default['default'](SELECTOR_SIDEBAR).children().each(function (i, child) {
+ _this._parseItem(child);
+ });
+ };
+
+ _proto.search = function search() {
+ var _this2 = this;
+
+ var searchValue = $__default['default'](SELECTOR_SEARCH_INPUT$1).val().toLowerCase();
+
+ if (searchValue.length < this.options.minLength) {
+ $__default['default'](SELECTOR_SEARCH_RESULTS_GROUP).empty();
+
+ this._addNotFound();
+
+ this.close();
+ return;
+ }
+
+ var searchResults = SearchItems.filter(function (item) {
+ return item.name.toLowerCase().includes(searchValue);
+ });
+ var endResults = $__default['default'](searchResults.slice(0, this.options.maxResults));
+ $__default['default'](SELECTOR_SEARCH_RESULTS_GROUP).empty();
+
+ if (endResults.length === 0) {
+ this._addNotFound();
+ } else {
+ endResults.each(function (i, result) {
+ $__default['default'](SELECTOR_SEARCH_RESULTS_GROUP).append(_this2._renderItem(escape(result.name), escape(result.link), result.path));
+ });
+ }
+
+ this.open();
+ };
+
+ _proto.open = function open() {
+ $__default['default'](SELECTOR_DATA_WIDGET$1).parent().addClass(CLASS_NAME_OPEN$2);
+ $__default['default'](SELECTOR_SEARCH_ICON).removeClass(CLASS_NAME_ICON_SEARCH).addClass(CLASS_NAME_ICON_CLOSE);
+ };
+
+ _proto.close = function close() {
+ $__default['default'](SELECTOR_DATA_WIDGET$1).parent().removeClass(CLASS_NAME_OPEN$2);
+ $__default['default'](SELECTOR_SEARCH_ICON).removeClass(CLASS_NAME_ICON_CLOSE).addClass(CLASS_NAME_ICON_SEARCH);
+ };
+
+ _proto.toggle = function toggle() {
+ if ($__default['default'](SELECTOR_DATA_WIDGET$1).parent().hasClass(CLASS_NAME_OPEN$2)) {
+ this.close();
+ } else {
+ this.open();
+ }
+ } // Private
+ ;
+
+ _proto._parseItem = function _parseItem(item, path) {
+ var _this3 = this;
+
+ if (path === void 0) {
+ path = [];
+ }
+
+ if ($__default['default'](item).hasClass(CLASS_NAME_HEADER)) {
+ return;
+ }
+
+ var itemObject = {};
+ var navLink = $__default['default'](item).clone().find("> " + SELECTOR_NAV_LINK);
+ var navTreeview = $__default['default'](item).clone().find("> " + SELECTOR_NAV_TREEVIEW);
+ var link = navLink.attr('href');
+ var name = navLink.find('p').children().remove().end().text();
+ itemObject.name = this._trimText(name);
+ itemObject.link = link;
+ itemObject.path = path;
+
+ if (navTreeview.length === 0) {
+ SearchItems.push(itemObject);
+ } else {
+ var newPath = itemObject.path.concat([itemObject.name]);
+ navTreeview.children().each(function (i, child) {
+ _this3._parseItem(child, newPath);
+ });
+ }
+ };
+
+ _proto._trimText = function _trimText(text) {
+ return $.trim(text.replace(/(\r\n|\n|\r)/gm, ' '));
+ };
+
+ _proto._renderItem = function _renderItem(name, link, path) {
+ var _this4 = this;
+
+ path = path.join(" " + this.options.arrowSign + " ");
+ name = unescape(name);
+
+ if (this.options.highlightName || this.options.highlightPath) {
+ var searchValue = $__default['default'](SELECTOR_SEARCH_INPUT$1).val().toLowerCase();
+ var regExp = new RegExp(searchValue, 'gi');
+
+ if (this.options.highlightName) {
+ name = name.replace(regExp, function (str) {
+ return "<strong class=\"" + _this4.options.highlightClass + "\">" + str + "</strong>";
+ });
+ }
+
+ if (this.options.highlightPath) {
+ path = path.replace(regExp, function (str) {
+ return "<strong class=\"" + _this4.options.highlightClass + "\">" + str + "</strong>";
+ });
+ }
+ }
+
+ var groupItemElement = $__default['default']('<a/>', {
+ href: link,
+ class: 'list-group-item'
+ });
+ var searchTitleElement = $__default['default']('<div/>', {
+ class: 'search-title'
+ }).html(name);
+ var searchPathElement = $__default['default']('<div/>', {
+ class: 'search-path'
+ }).html(path);
+ groupItemElement.append(searchTitleElement).append(searchPathElement);
+ return groupItemElement;
+ };
+
+ _proto._addNotFound = function _addNotFound() {
+ $__default['default'](SELECTOR_SEARCH_RESULTS_GROUP).append(this._renderItem(this.options.notFoundText, '#', []));
+ } // Static
+ ;
+
+ SidebarSearch._jQueryInterface = function _jQueryInterface(config) {
+ var data = $__default['default'](this).data(DATA_KEY$4);
+
+ if (!data) {
+ data = $__default['default'](this).data();
+ }
+
+ var _options = $__default['default'].extend({}, Default$4, typeof config === 'object' ? config : data);
+
+ var plugin = new SidebarSearch($__default['default'](this), _options);
+ $__default['default'](this).data(DATA_KEY$4, typeof config === 'object' ? config : data);
+
+ if (typeof config === 'string' && /init|toggle|close|open|search/.test(config)) {
+ plugin[config]();
+ } else {
+ plugin.init();
+ }
+ };
+
+ return SidebarSearch;
+ }();
+ /**
+ * Data API
+ * ====================================================
+ */
+
+
+ $__default['default'](document).on('click', SELECTOR_SEARCH_BUTTON, function (event) {
+ event.preventDefault();
+
+ SidebarSearch._jQueryInterface.call($__default['default'](SELECTOR_DATA_WIDGET$1), 'toggle');
+ });
+ $__default['default'](document).on('keyup', SELECTOR_SEARCH_INPUT$1, function (event) {
+ if (event.keyCode == 38) {
+ event.preventDefault();
+ $__default['default'](SELECTOR_SEARCH_RESULTS_GROUP).children().last().focus();
+ return;
+ }
+
+ if (event.keyCode == 40) {
+ event.preventDefault();
+ $__default['default'](SELECTOR_SEARCH_RESULTS_GROUP).children().first().focus();
+ return;
+ }
+
+ setTimeout(function () {
+ SidebarSearch._jQueryInterface.call($__default['default'](SELECTOR_DATA_WIDGET$1), 'search');
+ }, 100);
+ });
+ $__default['default'](document).on('keydown', SELECTOR_SEARCH_RESULTS_GROUP, function (event) {
+ var $focused = $__default['default'](':focus');
+
+ if (event.keyCode == 38) {
+ event.preventDefault();
+
+ if ($focused.is(':first-child')) {
+ $focused.siblings().last().focus();
+ } else {
+ $focused.prev().focus();
+ }
+ }
+
+ if (event.keyCode == 40) {
+ event.preventDefault();
+
+ if ($focused.is(':last-child')) {
+ $focused.siblings().first().focus();
+ } else {
+ $focused.next().focus();
+ }
+ }
+ });
+ $__default['default'](window).on('load', function () {
+ SidebarSearch._jQueryInterface.call($__default['default'](SELECTOR_DATA_WIDGET$1), 'init');
+ });
+ /**
+ * jQuery API
+ * ====================================================
+ */
+
+ $__default['default'].fn[NAME$4] = SidebarSearch._jQueryInterface;
+ $__default['default'].fn[NAME$4].Constructor = SidebarSearch;
+
+ $__default['default'].fn[NAME$4].noConflict = function () {
+ $__default['default'].fn[NAME$4] = JQUERY_NO_CONFLICT$4;
+ return SidebarSearch._jQueryInterface;
+ };
+
+ /**
+ * --------------------------------------------
+ * AdminLTE NavbarSearch.js
+ * License MIT
+ * --------------------------------------------
+ */
+ /**
+ * Constants
+ * ====================================================
+ */
+
+ var NAME$3 = 'NavbarSearch';
+ var DATA_KEY$3 = 'lte.navbar-search';
+ var JQUERY_NO_CONFLICT$3 = $__default['default'].fn[NAME$3];
+ var SELECTOR_TOGGLE_BUTTON = '[data-widget="navbar-search"]';
+ var SELECTOR_SEARCH_BLOCK = '.navbar-search-block';
+ var SELECTOR_SEARCH_INPUT = '.form-control';
+ var CLASS_NAME_OPEN$1 = 'navbar-search-open';
+ var Default$3 = {
+ resetOnClose: true,
+ target: SELECTOR_SEARCH_BLOCK
+ };
+ /**
+ * Class Definition
+ * ====================================================
+ */
+
+ var NavbarSearch = /*#__PURE__*/function () {
+ function NavbarSearch(_element, _options) {
+ this._element = _element;
+ this._config = $__default['default'].extend({}, Default$3, _options);
+ } // Public
+
+
+ var _proto = NavbarSearch.prototype;
+
+ _proto.open = function open() {
+ $__default['default'](this._config.target).css('display', 'flex').hide().fadeIn().addClass(CLASS_NAME_OPEN$1);
+ $__default['default'](this._config.target + " " + SELECTOR_SEARCH_INPUT).focus();
+ };
+
+ _proto.close = function close() {
+ $__default['default'](this._config.target).fadeOut().removeClass(CLASS_NAME_OPEN$1);
+
+ if (this._config.resetOnClose) {
+ $__default['default'](this._config.target + " " + SELECTOR_SEARCH_INPUT).val('');
+ }
+ };
+
+ _proto.toggle = function toggle() {
+ if ($__default['default'](this._config.target).hasClass(CLASS_NAME_OPEN$1)) {
+ this.close();
+ } else {
+ this.open();
+ }
+ } // Static
+ ;
+
+ NavbarSearch._jQueryInterface = function _jQueryInterface(options) {
+ return this.each(function () {
+ var data = $__default['default'](this).data(DATA_KEY$3);
+
+ var _options = $__default['default'].extend({}, Default$3, $__default['default'](this).data());
+
+ if (!data) {
+ data = new NavbarSearch(this, _options);
+ $__default['default'](this).data(DATA_KEY$3, data);
+ }
+
+ if (!/toggle|close|open/.test(options)) {
+ throw new Error("Undefined method " + options);
+ }
+
+ data[options]();
+ });
+ };
+
+ return NavbarSearch;
+ }();
+ /**
+ * Data API
+ * ====================================================
+ */
+
+
+ $__default['default'](document).on('click', SELECTOR_TOGGLE_BUTTON, function (event) {
+ event.preventDefault();
+ var button = $__default['default'](event.currentTarget);
+
+ if (button.data('widget') !== 'navbar-search') {
+ button = button.closest(SELECTOR_TOGGLE_BUTTON);
+ }
+
+ NavbarSearch._jQueryInterface.call(button, 'toggle');
+ });
+ /**
+ * jQuery API
+ * ====================================================
+ */
+
+ $__default['default'].fn[NAME$3] = NavbarSearch._jQueryInterface;
+ $__default['default'].fn[NAME$3].Constructor = NavbarSearch;
+
+ $__default['default'].fn[NAME$3].noConflict = function () {
+ $__default['default'].fn[NAME$3] = JQUERY_NO_CONFLICT$3;
+ return NavbarSearch._jQueryInterface;
+ };
+
+ /**
+ * --------------------------------------------
+ * AdminLTE Toasts.js
+ * License MIT
+ * --------------------------------------------
+ */
+ /**
+ * Constants
+ * ====================================================
+ */
+
+ var NAME$2 = 'Toasts';
+ var DATA_KEY$2 = 'lte.toasts';
+ var EVENT_KEY$1 = "." + DATA_KEY$2;
+ var JQUERY_NO_CONFLICT$2 = $__default['default'].fn[NAME$2];
+ var EVENT_INIT = "init" + EVENT_KEY$1;
+ var EVENT_CREATED = "created" + EVENT_KEY$1;
+ var EVENT_REMOVED = "removed" + EVENT_KEY$1;
+ var SELECTOR_CONTAINER_TOP_RIGHT = '#toastsContainerTopRight';
+ var SELECTOR_CONTAINER_TOP_LEFT = '#toastsContainerTopLeft';
+ var SELECTOR_CONTAINER_BOTTOM_RIGHT = '#toastsContainerBottomRight';
+ var SELECTOR_CONTAINER_BOTTOM_LEFT = '#toastsContainerBottomLeft';
+ var CLASS_NAME_TOP_RIGHT = 'toasts-top-right';
+ var CLASS_NAME_TOP_LEFT = 'toasts-top-left';
+ var CLASS_NAME_BOTTOM_RIGHT = 'toasts-bottom-right';
+ var CLASS_NAME_BOTTOM_LEFT = 'toasts-bottom-left';
+ var POSITION_TOP_RIGHT = 'topRight';
+ var POSITION_TOP_LEFT = 'topLeft';
+ var POSITION_BOTTOM_RIGHT = 'bottomRight';
+ var POSITION_BOTTOM_LEFT = 'bottomLeft';
+ var Default$2 = {
+ position: POSITION_TOP_RIGHT,
+ fixed: true,
+ autohide: false,
+ autoremove: true,
+ delay: 1000,
+ fade: true,
+ icon: null,
+ image: null,
+ imageAlt: null,
+ imageHeight: '25px',
+ title: null,
+ subtitle: null,
+ close: true,
+ body: null,
+ class: null
+ };
+ /**
+ * Class Definition
+ * ====================================================
+ */
+
+ var Toasts = /*#__PURE__*/function () {
+ function Toasts(element, config) {
+ this._config = config;
+
+ this._prepareContainer();
+
+ $__default['default']('body').trigger($__default['default'].Event(EVENT_INIT));
+ } // Public
+
+
+ var _proto = Toasts.prototype;
+
+ _proto.create = function create() {
+ var toast = $__default['default']('<div class="toast" role="alert" aria-live="assertive" aria-atomic="true"/>');
+ toast.data('autohide', this._config.autohide);
+ toast.data('animation', this._config.fade);
+
+ if (this._config.class) {
+ toast.addClass(this._config.class);
+ }
+
+ if (this._config.delay && this._config.delay != 500) {
+ toast.data('delay', this._config.delay);
+ }
+
+ var toastHeader = $__default['default']('<div class="toast-header">');
+
+ if (this._config.image != null) {
+ var toastImage = $__default['default']('<img />').addClass('rounded mr-2').attr('src', this._config.image).attr('alt', this._config.imageAlt);
+
+ if (this._config.imageHeight != null) {
+ toastImage.height(this._config.imageHeight).width('auto');
+ }
+
+ toastHeader.append(toastImage);
+ }
+
+ if (this._config.icon != null) {
+ toastHeader.append($__default['default']('<i />').addClass('mr-2').addClass(this._config.icon));
+ }
+
+ if (this._config.title != null) {
+ toastHeader.append($__default['default']('<strong />').addClass('mr-auto').html(this._config.title));
+ }
+
+ if (this._config.subtitle != null) {
+ toastHeader.append($__default['default']('<small />').html(this._config.subtitle));
+ }
+
+ if (this._config.close == true) {
+ var toastClose = $__default['default']('<button data-dismiss="toast" />').attr('type', 'button').addClass('ml-2 mb-1 close').attr('aria-label', 'Close').append('<span aria-hidden="true">&times;</span>');
+
+ if (this._config.title == null) {
+ toastClose.toggleClass('ml-2 ml-auto');
+ }
+
+ toastHeader.append(toastClose);
+ }
+
+ toast.append(toastHeader);
+
+ if (this._config.body != null) {
+ toast.append($__default['default']('<div class="toast-body" />').html(this._config.body));
+ }
+
+ $__default['default'](this._getContainerId()).prepend(toast);
+ var $body = $__default['default']('body');
+ $body.trigger($__default['default'].Event(EVENT_CREATED));
+ toast.toast('show');
+
+ if (this._config.autoremove) {
+ toast.on('hidden.bs.toast', function () {
+ $__default['default'](this).delay(200).remove();
+ $body.trigger($__default['default'].Event(EVENT_REMOVED));
+ });
+ }
+ } // Static
+ ;
+
+ _proto._getContainerId = function _getContainerId() {
+ if (this._config.position == POSITION_TOP_RIGHT) {
+ return SELECTOR_CONTAINER_TOP_RIGHT;
+ }
+
+ if (this._config.position == POSITION_TOP_LEFT) {
+ return SELECTOR_CONTAINER_TOP_LEFT;
+ }
+
+ if (this._config.position == POSITION_BOTTOM_RIGHT) {
+ return SELECTOR_CONTAINER_BOTTOM_RIGHT;
+ }
+
+ if (this._config.position == POSITION_BOTTOM_LEFT) {
+ return SELECTOR_CONTAINER_BOTTOM_LEFT;
+ }
+ };
+
+ _proto._prepareContainer = function _prepareContainer() {
+ if ($__default['default'](this._getContainerId()).length === 0) {
+ var container = $__default['default']('<div />').attr('id', this._getContainerId().replace('#', ''));
+
+ if (this._config.position == POSITION_TOP_RIGHT) {
+ container.addClass(CLASS_NAME_TOP_RIGHT);
+ } else if (this._config.position == POSITION_TOP_LEFT) {
+ container.addClass(CLASS_NAME_TOP_LEFT);
+ } else if (this._config.position == POSITION_BOTTOM_RIGHT) {
+ container.addClass(CLASS_NAME_BOTTOM_RIGHT);
+ } else if (this._config.position == POSITION_BOTTOM_LEFT) {
+ container.addClass(CLASS_NAME_BOTTOM_LEFT);
+ }
+
+ $__default['default']('body').append(container);
+ }
+
+ if (this._config.fixed) {
+ $__default['default'](this._getContainerId()).addClass('fixed');
+ } else {
+ $__default['default'](this._getContainerId()).removeClass('fixed');
+ }
+ } // Static
+ ;
+
+ Toasts._jQueryInterface = function _jQueryInterface(option, config) {
+ return this.each(function () {
+ var _options = $__default['default'].extend({}, Default$2, config);
+
+ var toast = new Toasts($__default['default'](this), _options);
+
+ if (option === 'create') {
+ toast[option]();
+ }
+ });
+ };
+
+ return Toasts;
+ }();
+ /**
+ * jQuery API
+ * ====================================================
+ */
+
+
+ $__default['default'].fn[NAME$2] = Toasts._jQueryInterface;
+ $__default['default'].fn[NAME$2].Constructor = Toasts;
+
+ $__default['default'].fn[NAME$2].noConflict = function () {
+ $__default['default'].fn[NAME$2] = JQUERY_NO_CONFLICT$2;
+ return Toasts._jQueryInterface;
+ };
+
+ /**
+ * --------------------------------------------
+ * AdminLTE TodoList.js
+ * License MIT
+ * --------------------------------------------
+ */
+ /**
+ * Constants
+ * ====================================================
+ */
+
+ var NAME$1 = 'TodoList';
+ var DATA_KEY$1 = 'lte.todolist';
+ var JQUERY_NO_CONFLICT$1 = $__default['default'].fn[NAME$1];
+ var SELECTOR_DATA_TOGGLE = '[data-widget="todo-list"]';
+ var CLASS_NAME_TODO_LIST_DONE = 'done';
+ var Default$1 = {
+ onCheck: function onCheck(item) {
+ return item;
+ },
+ onUnCheck: function onUnCheck(item) {
+ return item;
+ }
+ };
+ /**
+ * Class Definition
+ * ====================================================
+ */
+
+ var TodoList = /*#__PURE__*/function () {
+ function TodoList(element, config) {
+ this._config = config;
+ this._element = element;
+
+ this._init();
+ } // Public
+
+
+ var _proto = TodoList.prototype;
+
+ _proto.toggle = function toggle(item) {
+ item.parents('li').toggleClass(CLASS_NAME_TODO_LIST_DONE);
+
+ if (!$__default['default'](item).prop('checked')) {
+ this.unCheck($__default['default'](item));
+ return;
+ }
+
+ this.check(item);
+ };
+
+ _proto.check = function check(item) {
+ this._config.onCheck.call(item);
+ };
+
+ _proto.unCheck = function unCheck(item) {
+ this._config.onUnCheck.call(item);
+ } // Private
+ ;
+
+ _proto._init = function _init() {
+ var _this = this;
+
+ var $toggleSelector = this._element;
+ $toggleSelector.find('input:checkbox:checked').parents('li').toggleClass(CLASS_NAME_TODO_LIST_DONE);
+ $toggleSelector.on('change', 'input:checkbox', function (event) {
+ _this.toggle($__default['default'](event.target));
+ });
+ } // Static
+ ;
+
+ TodoList._jQueryInterface = function _jQueryInterface(config) {
+ return this.each(function () {
+ var data = $__default['default'](this).data(DATA_KEY$1);
+
+ if (!data) {
+ data = $__default['default'](this).data();
+ }
+
+ var _options = $__default['default'].extend({}, Default$1, typeof config === 'object' ? config : data);
+
+ var plugin = new TodoList($__default['default'](this), _options);
+ $__default['default'](this).data(DATA_KEY$1, typeof config === 'object' ? config : data);
+
+ if (config === 'init') {
+ plugin[config]();
+ }
+ });
+ };
+
+ return TodoList;
+ }();
+ /**
+ * Data API
+ * ====================================================
+ */
+
+
+ $__default['default'](window).on('load', function () {
+ TodoList._jQueryInterface.call($__default['default'](SELECTOR_DATA_TOGGLE));
+ });
+ /**
+ * jQuery API
+ * ====================================================
+ */
+
+ $__default['default'].fn[NAME$1] = TodoList._jQueryInterface;
+ $__default['default'].fn[NAME$1].Constructor = TodoList;
+
+ $__default['default'].fn[NAME$1].noConflict = function () {
+ $__default['default'].fn[NAME$1] = JQUERY_NO_CONFLICT$1;
+ return TodoList._jQueryInterface;
+ };
+
+ /**
+ * --------------------------------------------
+ * AdminLTE Treeview.js
+ * License MIT
+ * --------------------------------------------
+ */
+ /**
+ * Constants
+ * ====================================================
+ */
+
+ var NAME = 'Treeview';
+ var DATA_KEY = 'lte.treeview';
+ var EVENT_KEY = "." + DATA_KEY;
+ var JQUERY_NO_CONFLICT = $__default['default'].fn[NAME];
+ var EVENT_EXPANDED = "expanded" + EVENT_KEY;
+ var EVENT_COLLAPSED = "collapsed" + EVENT_KEY;
+ var EVENT_LOAD_DATA_API = "load" + EVENT_KEY;
+ var SELECTOR_LI = '.nav-item';
+ var SELECTOR_LINK = '.nav-link';
+ var SELECTOR_TREEVIEW_MENU = '.nav-treeview';
+ var SELECTOR_OPEN = '.menu-open';
+ var SELECTOR_DATA_WIDGET = '[data-widget="treeview"]';
+ var CLASS_NAME_OPEN = 'menu-open';
+ var CLASS_NAME_IS_OPENING = 'menu-is-opening';
+ var CLASS_NAME_SIDEBAR_COLLAPSED = 'sidebar-collapse';
+ var Default = {
+ trigger: SELECTOR_DATA_WIDGET + " " + SELECTOR_LINK,
+ animationSpeed: 300,
+ accordion: true,
+ expandSidebar: false,
+ sidebarButtonSelector: '[data-widget="pushmenu"]'
+ };
+ /**
+ * Class Definition
+ * ====================================================
+ */
+
+ var Treeview = /*#__PURE__*/function () {
+ function Treeview(element, config) {
+ this._config = config;
+ this._element = element;
+ } // Public
+
+
+ var _proto = Treeview.prototype;
+
+ _proto.init = function init() {
+ $__default['default']("" + SELECTOR_LI + SELECTOR_OPEN + " " + SELECTOR_TREEVIEW_MENU + SELECTOR_OPEN).css('display', 'block');
+
+ this._setupListeners();
+ };
+
+ _proto.expand = function expand(treeviewMenu, parentLi) {
+ var _this = this;
+
+ var expandedEvent = $__default['default'].Event(EVENT_EXPANDED);
+
+ if (this._config.accordion) {
+ var openMenuLi = parentLi.siblings(SELECTOR_OPEN).first();
+ var openTreeview = openMenuLi.find(SELECTOR_TREEVIEW_MENU).first();
+ this.collapse(openTreeview, openMenuLi);
+ }
+
+ parentLi.addClass(CLASS_NAME_IS_OPENING);
+ treeviewMenu.stop().slideDown(this._config.animationSpeed, function () {
+ parentLi.addClass(CLASS_NAME_OPEN);
+ $__default['default'](_this._element).trigger(expandedEvent);
+ });
+
+ if (this._config.expandSidebar) {
+ this._expandSidebar();
+ }
+ };
+
+ _proto.collapse = function collapse(treeviewMenu, parentLi) {
+ var _this2 = this;
+
+ var collapsedEvent = $__default['default'].Event(EVENT_COLLAPSED);
+ parentLi.removeClass(CLASS_NAME_IS_OPENING + " " + CLASS_NAME_OPEN);
+ treeviewMenu.stop().slideUp(this._config.animationSpeed, function () {
+ $__default['default'](_this2._element).trigger(collapsedEvent);
+ treeviewMenu.find(SELECTOR_OPEN + " > " + SELECTOR_TREEVIEW_MENU).slideUp();
+ treeviewMenu.find(SELECTOR_OPEN).removeClass(CLASS_NAME_OPEN);
+ });
+ };
+
+ _proto.toggle = function toggle(event) {
+ var $relativeTarget = $__default['default'](event.currentTarget);
+ var $parent = $relativeTarget.parent();
+ var treeviewMenu = $parent.find("> " + SELECTOR_TREEVIEW_MENU);
+
+ if (!treeviewMenu.is(SELECTOR_TREEVIEW_MENU)) {
+ if (!$parent.is(SELECTOR_LI)) {
+ treeviewMenu = $parent.parent().find("> " + SELECTOR_TREEVIEW_MENU);
+ }
+
+ if (!treeviewMenu.is(SELECTOR_TREEVIEW_MENU)) {
+ return;
+ }
+ }
+
+ event.preventDefault();
+ var parentLi = $relativeTarget.parents(SELECTOR_LI).first();
+ var isOpen = parentLi.hasClass(CLASS_NAME_OPEN);
+
+ if (isOpen) {
+ this.collapse($__default['default'](treeviewMenu), parentLi);
+ } else {
+ this.expand($__default['default'](treeviewMenu), parentLi);
+ }
+ } // Private
+ ;
+
+ _proto._setupListeners = function _setupListeners() {
+ var _this3 = this;
+
+ var elementId = this._element.attr('id') !== undefined ? "#" + this._element.attr('id') : '';
+ $__default['default'](document).on('click', "" + elementId + this._config.trigger, function (event) {
+ _this3.toggle(event);
+ });
+ };
+
+ _proto._expandSidebar = function _expandSidebar() {
+ if ($__default['default']('body').hasClass(CLASS_NAME_SIDEBAR_COLLAPSED)) {
+ $__default['default'](this._config.sidebarButtonSelector).PushMenu('expand');
+ }
+ } // Static
+ ;
+
+ Treeview._jQueryInterface = function _jQueryInterface(config) {
+ return this.each(function () {
+ var data = $__default['default'](this).data(DATA_KEY);
+
+ var _options = $__default['default'].extend({}, Default, $__default['default'](this).data());
+
+ if (!data) {
+ data = new Treeview($__default['default'](this), _options);
+ $__default['default'](this).data(DATA_KEY, data);
+ }
+
+ if (config === 'init') {
+ data[config]();
+ }
+ });
+ };
+
+ return Treeview;
+ }();
+ /**
+ * Data API
+ * ====================================================
+ */
+
+
+ $__default['default'](window).on(EVENT_LOAD_DATA_API, function () {
+ $__default['default'](SELECTOR_DATA_WIDGET).each(function () {
+ Treeview._jQueryInterface.call($__default['default'](this), 'init');
+ });
+ });
+ /**
+ * jQuery API
+ * ====================================================
+ */
+
+ $__default['default'].fn[NAME] = Treeview._jQueryInterface;
+ $__default['default'].fn[NAME].Constructor = Treeview;
+
+ $__default['default'].fn[NAME].noConflict = function () {
+ $__default['default'].fn[NAME] = JQUERY_NO_CONFLICT;
+ return Treeview._jQueryInterface;
+ };
+
+ exports.CardRefresh = CardRefresh;
+ exports.CardWidget = CardWidget;
+ exports.ControlSidebar = ControlSidebar;
+ exports.DirectChat = DirectChat;
+ exports.Dropdown = Dropdown;
+ exports.ExpandableTable = ExpandableTable;
+ exports.Fullscreen = Fullscreen;
+ exports.IFrame = IFrame;
+ exports.Layout = Layout;
+ exports.NavbarSearch = NavbarSearch;
+ exports.PushMenu = PushMenu;
+ exports.SidebarSearch = SidebarSearch;
+ exports.Toasts = Toasts;
+ exports.TodoList = TodoList;
+ exports.Treeview = Treeview;
+
+ Object.defineProperty(exports, '__esModule', { value: true });
+
+})));
+//# sourceMappingURL=adminlte.js.map
diff --git a/ogcp/static/AdminLTE/dist/js/adminlte.js.map b/ogcp/static/AdminLTE/dist/js/adminlte.js.map
new file mode 100644
index 0000000..9520b4d
--- /dev/null
+++ b/ogcp/static/AdminLTE/dist/js/adminlte.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"adminlte.js","sources":["../../build/js/CardRefresh.js","../../build/js/CardWidget.js","../../build/js/ControlSidebar.js","../../build/js/DirectChat.js","../../build/js/Dropdown.js","../../build/js/ExpandableTable.js","../../build/js/Fullscreen.js","../../build/js/IFrame.js","../../build/js/Layout.js","../../build/js/PushMenu.js","../../build/js/SidebarSearch.js","../../build/js/NavbarSearch.js","../../build/js/Toasts.js","../../build/js/TodoList.js","../../build/js/Treeview.js"],"sourcesContent":["/**\n * --------------------------------------------\n * AdminLTE CardRefresh.js\n * License MIT\n * --------------------------------------------\n */\n\nimport $ from 'jquery'\n\n/**\n * Constants\n * ====================================================\n */\n\nconst NAME = 'CardRefresh'\nconst DATA_KEY = 'lte.cardrefresh'\nconst EVENT_KEY = `.${DATA_KEY}`\nconst JQUERY_NO_CONFLICT = $.fn[NAME]\n\nconst EVENT_LOADED = `loaded${EVENT_KEY}`\nconst EVENT_OVERLAY_ADDED = `overlay.added${EVENT_KEY}`\nconst EVENT_OVERLAY_REMOVED = `overlay.removed${EVENT_KEY}`\n\nconst CLASS_NAME_CARD = 'card'\n\nconst SELECTOR_CARD = `.${CLASS_NAME_CARD}`\nconst SELECTOR_DATA_REFRESH = '[data-card-widget=\"card-refresh\"]'\n\nconst Default = {\n source: '',\n sourceSelector: '',\n params: {},\n trigger: SELECTOR_DATA_REFRESH,\n content: '.card-body',\n loadInContent: true,\n loadOnInit: true,\n responseType: '',\n overlayTemplate: '<div class=\"overlay\"><i class=\"fas fa-2x fa-sync-alt fa-spin\"></i></div>',\n onLoadStart() {},\n onLoadDone(response) {\n return response\n }\n}\n\nclass CardRefresh {\n constructor(element, settings) {\n this._element = element\n this._parent = element.parents(SELECTOR_CARD).first()\n this._settings = $.extend({}, Default, settings)\n this._overlay = $(this._settings.overlayTemplate)\n\n if (element.hasClass(CLASS_NAME_CARD)) {\n this._parent = element\n }\n\n if (this._settings.source === '') {\n throw new Error('Source url was not defined. Please specify a url in your CardRefresh source option.')\n }\n }\n\n load() {\n this._addOverlay()\n this._settings.onLoadStart.call($(this))\n\n $.get(this._settings.source, this._settings.params, response => {\n if (this._settings.loadInContent) {\n if (this._settings.sourceSelector !== '') {\n response = $(response).find(this._settings.sourceSelector).html()\n }\n\n this._parent.find(this._settings.content).html(response)\n }\n\n this._settings.onLoadDone.call($(this), response)\n this._removeOverlay()\n }, this._settings.responseType !== '' && this._settings.responseType)\n\n $(this._element).trigger($.Event(EVENT_LOADED))\n }\n\n _addOverlay() {\n this._parent.append(this._overlay)\n $(this._element).trigger($.Event(EVENT_OVERLAY_ADDED))\n }\n\n _removeOverlay() {\n this._parent.find(this._overlay).remove()\n $(this._element).trigger($.Event(EVENT_OVERLAY_REMOVED))\n }\n\n // Private\n\n _init() {\n $(this).find(this._settings.trigger).on('click', () => {\n this.load()\n })\n\n if (this._settings.loadOnInit) {\n this.load()\n }\n }\n\n // Static\n\n static _jQueryInterface(config) {\n let data = $(this).data(DATA_KEY)\n const _options = $.extend({}, Default, $(this).data())\n\n if (!data) {\n data = new CardRefresh($(this), _options)\n $(this).data(DATA_KEY, typeof config === 'string' ? data : config)\n }\n\n if (typeof config === 'string' && /load/.test(config)) {\n data[config]()\n } else {\n data._init($(this))\n }\n }\n}\n\n/**\n * Data API\n * ====================================================\n */\n\n$(document).on('click', SELECTOR_DATA_REFRESH, function (event) {\n if (event) {\n event.preventDefault()\n }\n\n CardRefresh._jQueryInterface.call($(this), 'load')\n})\n\n$(() => {\n $(SELECTOR_DATA_REFRESH).each(function () {\n CardRefresh._jQueryInterface.call($(this))\n })\n})\n\n/**\n * jQuery API\n * ====================================================\n */\n\n$.fn[NAME] = CardRefresh._jQueryInterface\n$.fn[NAME].Constructor = CardRefresh\n$.fn[NAME].noConflict = function () {\n $.fn[NAME] = JQUERY_NO_CONFLICT\n return CardRefresh._jQueryInterface\n}\n\nexport default CardRefresh\n","/**\n * --------------------------------------------\n * AdminLTE CardWidget.js\n * License MIT\n * --------------------------------------------\n */\n\nimport $ from 'jquery'\n\n/**\n * Constants\n * ====================================================\n */\n\nconst NAME = 'CardWidget'\nconst DATA_KEY = 'lte.cardwidget'\nconst EVENT_KEY = `.${DATA_KEY}`\nconst JQUERY_NO_CONFLICT = $.fn[NAME]\n\nconst EVENT_EXPANDED = `expanded${EVENT_KEY}`\nconst EVENT_COLLAPSED = `collapsed${EVENT_KEY}`\nconst EVENT_MAXIMIZED = `maximized${EVENT_KEY}`\nconst EVENT_MINIMIZED = `minimized${EVENT_KEY}`\nconst EVENT_REMOVED = `removed${EVENT_KEY}`\n\nconst CLASS_NAME_CARD = 'card'\nconst CLASS_NAME_COLLAPSED = 'collapsed-card'\nconst CLASS_NAME_COLLAPSING = 'collapsing-card'\nconst CLASS_NAME_EXPANDING = 'expanding-card'\nconst CLASS_NAME_WAS_COLLAPSED = 'was-collapsed'\nconst CLASS_NAME_MAXIMIZED = 'maximized-card'\n\nconst SELECTOR_DATA_REMOVE = '[data-card-widget=\"remove\"]'\nconst SELECTOR_DATA_COLLAPSE = '[data-card-widget=\"collapse\"]'\nconst SELECTOR_DATA_MAXIMIZE = '[data-card-widget=\"maximize\"]'\nconst SELECTOR_CARD = `.${CLASS_NAME_CARD}`\nconst SELECTOR_CARD_HEADER = '.card-header'\nconst SELECTOR_CARD_BODY = '.card-body'\nconst SELECTOR_CARD_FOOTER = '.card-footer'\n\nconst Default = {\n animationSpeed: 'normal',\n collapseTrigger: SELECTOR_DATA_COLLAPSE,\n removeTrigger: SELECTOR_DATA_REMOVE,\n maximizeTrigger: SELECTOR_DATA_MAXIMIZE,\n collapseIcon: 'fa-minus',\n expandIcon: 'fa-plus',\n maximizeIcon: 'fa-expand',\n minimizeIcon: 'fa-compress'\n}\n\nclass CardWidget {\n constructor(element, settings) {\n this._element = element\n this._parent = element.parents(SELECTOR_CARD).first()\n\n if (element.hasClass(CLASS_NAME_CARD)) {\n this._parent = element\n }\n\n this._settings = $.extend({}, Default, settings)\n }\n\n collapse() {\n this._parent.addClass(CLASS_NAME_COLLAPSING).children(`${SELECTOR_CARD_BODY}, ${SELECTOR_CARD_FOOTER}`)\n .slideUp(this._settings.animationSpeed, () => {\n this._parent.addClass(CLASS_NAME_COLLAPSED).removeClass(CLASS_NAME_COLLAPSING)\n })\n\n this._parent.find(`> ${SELECTOR_CARD_HEADER} ${this._settings.collapseTrigger} .${this._settings.collapseIcon}`)\n .addClass(this._settings.expandIcon)\n .removeClass(this._settings.collapseIcon)\n\n this._element.trigger($.Event(EVENT_COLLAPSED), this._parent)\n }\n\n expand() {\n this._parent.addClass(CLASS_NAME_EXPANDING).children(`${SELECTOR_CARD_BODY}, ${SELECTOR_CARD_FOOTER}`)\n .slideDown(this._settings.animationSpeed, () => {\n this._parent.removeClass(CLASS_NAME_COLLAPSED).removeClass(CLASS_NAME_EXPANDING)\n })\n\n this._parent.find(`> ${SELECTOR_CARD_HEADER} ${this._settings.collapseTrigger} .${this._settings.expandIcon}`)\n .addClass(this._settings.collapseIcon)\n .removeClass(this._settings.expandIcon)\n\n this._element.trigger($.Event(EVENT_EXPANDED), this._parent)\n }\n\n remove() {\n this._parent.slideUp()\n this._element.trigger($.Event(EVENT_REMOVED), this._parent)\n }\n\n toggle() {\n if (this._parent.hasClass(CLASS_NAME_COLLAPSED)) {\n this.expand()\n return\n }\n\n this.collapse()\n }\n\n maximize() {\n this._parent.find(`${this._settings.maximizeTrigger} .${this._settings.maximizeIcon}`)\n .addClass(this._settings.minimizeIcon)\n .removeClass(this._settings.maximizeIcon)\n this._parent.css({\n height: this._parent.height(),\n width: this._parent.width(),\n transition: 'all .15s'\n }).delay(150).queue(function () {\n const $element = $(this)\n\n $element.addClass(CLASS_NAME_MAXIMIZED)\n $('html').addClass(CLASS_NAME_MAXIMIZED)\n if ($element.hasClass(CLASS_NAME_COLLAPSED)) {\n $element.addClass(CLASS_NAME_WAS_COLLAPSED)\n }\n\n $element.dequeue()\n })\n\n this._element.trigger($.Event(EVENT_MAXIMIZED), this._parent)\n }\n\n minimize() {\n this._parent.find(`${this._settings.maximizeTrigger} .${this._settings.minimizeIcon}`)\n .addClass(this._settings.maximizeIcon)\n .removeClass(this._settings.minimizeIcon)\n this._parent.css('cssText', `height: ${this._parent[0].style.height} !important; width: ${this._parent[0].style.width} !important; transition: all .15s;`\n ).delay(10).queue(function () {\n const $element = $(this)\n\n $element.removeClass(CLASS_NAME_MAXIMIZED)\n $('html').removeClass(CLASS_NAME_MAXIMIZED)\n $element.css({\n height: 'inherit',\n width: 'inherit'\n })\n if ($element.hasClass(CLASS_NAME_WAS_COLLAPSED)) {\n $element.removeClass(CLASS_NAME_WAS_COLLAPSED)\n }\n\n $element.dequeue()\n })\n\n this._element.trigger($.Event(EVENT_MINIMIZED), this._parent)\n }\n\n toggleMaximize() {\n if (this._parent.hasClass(CLASS_NAME_MAXIMIZED)) {\n this.minimize()\n return\n }\n\n this.maximize()\n }\n\n // Private\n\n _init(card) {\n this._parent = card\n\n $(this).find(this._settings.collapseTrigger).click(() => {\n this.toggle()\n })\n\n $(this).find(this._settings.maximizeTrigger).click(() => {\n this.toggleMaximize()\n })\n\n $(this).find(this._settings.removeTrigger).click(() => {\n this.remove()\n })\n }\n\n // Static\n\n static _jQueryInterface(config) {\n let data = $(this).data(DATA_KEY)\n const _options = $.extend({}, Default, $(this).data())\n\n if (!data) {\n data = new CardWidget($(this), _options)\n $(this).data(DATA_KEY, typeof config === 'string' ? data : config)\n }\n\n if (typeof config === 'string' && /collapse|expand|remove|toggle|maximize|minimize|toggleMaximize/.test(config)) {\n data[config]()\n } else if (typeof config === 'object') {\n data._init($(this))\n }\n }\n}\n\n/**\n * Data API\n * ====================================================\n */\n\n$(document).on('click', SELECTOR_DATA_COLLAPSE, function (event) {\n if (event) {\n event.preventDefault()\n }\n\n CardWidget._jQueryInterface.call($(this), 'toggle')\n})\n\n$(document).on('click', SELECTOR_DATA_REMOVE, function (event) {\n if (event) {\n event.preventDefault()\n }\n\n CardWidget._jQueryInterface.call($(this), 'remove')\n})\n\n$(document).on('click', SELECTOR_DATA_MAXIMIZE, function (event) {\n if (event) {\n event.preventDefault()\n }\n\n CardWidget._jQueryInterface.call($(this), 'toggleMaximize')\n})\n\n/**\n * jQuery API\n * ====================================================\n */\n\n$.fn[NAME] = CardWidget._jQueryInterface\n$.fn[NAME].Constructor = CardWidget\n$.fn[NAME].noConflict = function () {\n $.fn[NAME] = JQUERY_NO_CONFLICT\n return CardWidget._jQueryInterface\n}\n\nexport default CardWidget\n","/**\n * --------------------------------------------\n * AdminLTE ControlSidebar.js\n * License MIT\n * --------------------------------------------\n */\n\nimport $ from 'jquery'\n\n/**\n * Constants\n * ====================================================\n */\n\nconst NAME = 'ControlSidebar'\nconst DATA_KEY = 'lte.controlsidebar'\nconst EVENT_KEY = `.${DATA_KEY}`\nconst JQUERY_NO_CONFLICT = $.fn[NAME]\n\nconst EVENT_COLLAPSED = `collapsed${EVENT_KEY}`\nconst EVENT_EXPANDED = `expanded${EVENT_KEY}`\n\nconst SELECTOR_CONTROL_SIDEBAR = '.control-sidebar'\nconst SELECTOR_CONTROL_SIDEBAR_CONTENT = '.control-sidebar-content'\nconst SELECTOR_DATA_TOGGLE = '[data-widget=\"control-sidebar\"]'\nconst SELECTOR_HEADER = '.main-header'\nconst SELECTOR_FOOTER = '.main-footer'\n\nconst CLASS_NAME_CONTROL_SIDEBAR_ANIMATE = 'control-sidebar-animate'\nconst CLASS_NAME_CONTROL_SIDEBAR_OPEN = 'control-sidebar-open'\nconst CLASS_NAME_CONTROL_SIDEBAR_SLIDE = 'control-sidebar-slide-open'\nconst CLASS_NAME_LAYOUT_FIXED = 'layout-fixed'\nconst CLASS_NAME_NAVBAR_FIXED = 'layout-navbar-fixed'\nconst CLASS_NAME_NAVBAR_SM_FIXED = 'layout-sm-navbar-fixed'\nconst CLASS_NAME_NAVBAR_MD_FIXED = 'layout-md-navbar-fixed'\nconst CLASS_NAME_NAVBAR_LG_FIXED = 'layout-lg-navbar-fixed'\nconst CLASS_NAME_NAVBAR_XL_FIXED = 'layout-xl-navbar-fixed'\nconst CLASS_NAME_FOOTER_FIXED = 'layout-footer-fixed'\nconst CLASS_NAME_FOOTER_SM_FIXED = 'layout-sm-footer-fixed'\nconst CLASS_NAME_FOOTER_MD_FIXED = 'layout-md-footer-fixed'\nconst CLASS_NAME_FOOTER_LG_FIXED = 'layout-lg-footer-fixed'\nconst CLASS_NAME_FOOTER_XL_FIXED = 'layout-xl-footer-fixed'\n\nconst Default = {\n controlsidebarSlide: true,\n scrollbarTheme: 'os-theme-light',\n scrollbarAutoHide: 'l',\n target: SELECTOR_CONTROL_SIDEBAR\n}\n\n/**\n * Class Definition\n * ====================================================\n */\n\nclass ControlSidebar {\n constructor(element, config) {\n this._element = element\n this._config = config\n }\n\n // Public\n\n collapse() {\n const $body = $('body')\n const $html = $('html')\n const { target } = this._config\n\n // Show the control sidebar\n if (this._config.controlsidebarSlide) {\n $html.addClass(CLASS_NAME_CONTROL_SIDEBAR_ANIMATE)\n $body.removeClass(CLASS_NAME_CONTROL_SIDEBAR_SLIDE).delay(300).queue(function () {\n $(target).hide()\n $html.removeClass(CLASS_NAME_CONTROL_SIDEBAR_ANIMATE)\n $(this).dequeue()\n })\n } else {\n $body.removeClass(CLASS_NAME_CONTROL_SIDEBAR_OPEN)\n }\n\n $(this._element).trigger($.Event(EVENT_COLLAPSED))\n }\n\n show() {\n const $body = $('body')\n const $html = $('html')\n\n // Collapse the control sidebar\n if (this._config.controlsidebarSlide) {\n $html.addClass(CLASS_NAME_CONTROL_SIDEBAR_ANIMATE)\n $(this._config.target).show().delay(10).queue(function () {\n $body.addClass(CLASS_NAME_CONTROL_SIDEBAR_SLIDE).delay(300).queue(function () {\n $html.removeClass(CLASS_NAME_CONTROL_SIDEBAR_ANIMATE)\n $(this).dequeue()\n })\n $(this).dequeue()\n })\n } else {\n $body.addClass(CLASS_NAME_CONTROL_SIDEBAR_OPEN)\n }\n\n this._fixHeight()\n this._fixScrollHeight()\n\n $(this._element).trigger($.Event(EVENT_EXPANDED))\n }\n\n toggle() {\n const $body = $('body')\n const shouldClose = $body.hasClass(CLASS_NAME_CONTROL_SIDEBAR_OPEN) ||\n $body.hasClass(CLASS_NAME_CONTROL_SIDEBAR_SLIDE)\n\n if (shouldClose) {\n // Close the control sidebar\n this.collapse()\n } else {\n // Open the control sidebar\n this.show()\n }\n }\n\n // Private\n\n _init() {\n const $body = $('body')\n const shouldNotHideAll = $body.hasClass(CLASS_NAME_CONTROL_SIDEBAR_OPEN) ||\n $body.hasClass(CLASS_NAME_CONTROL_SIDEBAR_SLIDE)\n\n if (shouldNotHideAll) {\n $(SELECTOR_CONTROL_SIDEBAR).not(this._config.target).hide()\n $(this._config.target).css('display', 'block')\n } else {\n $(SELECTOR_CONTROL_SIDEBAR).hide()\n }\n\n this._fixHeight()\n this._fixScrollHeight()\n\n $(window).resize(() => {\n this._fixHeight()\n this._fixScrollHeight()\n })\n\n $(window).scroll(() => {\n const $body = $('body')\n const shouldFixHeight = $body.hasClass(CLASS_NAME_CONTROL_SIDEBAR_OPEN) ||\n $body.hasClass(CLASS_NAME_CONTROL_SIDEBAR_SLIDE)\n\n if (shouldFixHeight) {\n this._fixScrollHeight()\n }\n })\n }\n\n _isNavbarFixed() {\n const $body = $('body')\n return (\n $body.hasClass(CLASS_NAME_NAVBAR_FIXED) ||\n $body.hasClass(CLASS_NAME_NAVBAR_SM_FIXED) ||\n $body.hasClass(CLASS_NAME_NAVBAR_MD_FIXED) ||\n $body.hasClass(CLASS_NAME_NAVBAR_LG_FIXED) ||\n $body.hasClass(CLASS_NAME_NAVBAR_XL_FIXED)\n )\n }\n\n _isFooterFixed() {\n const $body = $('body')\n return (\n $body.hasClass(CLASS_NAME_FOOTER_FIXED) ||\n $body.hasClass(CLASS_NAME_FOOTER_SM_FIXED) ||\n $body.hasClass(CLASS_NAME_FOOTER_MD_FIXED) ||\n $body.hasClass(CLASS_NAME_FOOTER_LG_FIXED) ||\n $body.hasClass(CLASS_NAME_FOOTER_XL_FIXED)\n )\n }\n\n _fixScrollHeight() {\n const $body = $('body')\n const $controlSidebar = $(this._config.target)\n\n if (!$body.hasClass(CLASS_NAME_LAYOUT_FIXED)) {\n return\n }\n\n const heights = {\n scroll: $(document).height(),\n window: $(window).height(),\n header: $(SELECTOR_HEADER).outerHeight(),\n footer: $(SELECTOR_FOOTER).outerHeight()\n }\n const positions = {\n bottom: Math.abs((heights.window + $(window).scrollTop()) - heights.scroll),\n top: $(window).scrollTop()\n }\n\n const navbarFixed = this._isNavbarFixed() && $(SELECTOR_HEADER).css('position') === 'fixed'\n\n const footerFixed = this._isFooterFixed() && $(SELECTOR_FOOTER).css('position') === 'fixed'\n\n const $controlsidebarContent = $(`${this._config.target}, ${this._config.target} ${SELECTOR_CONTROL_SIDEBAR_CONTENT}`)\n\n if (positions.top === 0 && positions.bottom === 0) {\n $controlSidebar.css({\n bottom: heights.footer,\n top: heights.header\n })\n $controlsidebarContent.css('height', heights.window - (heights.header + heights.footer))\n } else if (positions.bottom <= heights.footer) {\n if (footerFixed === false) {\n const top = heights.header - positions.top\n $controlSidebar.css('bottom', heights.footer - positions.bottom).css('top', top >= 0 ? top : 0)\n $controlsidebarContent.css('height', heights.window - (heights.footer - positions.bottom))\n } else {\n $controlSidebar.css('bottom', heights.footer)\n }\n } else if (positions.top <= heights.header) {\n if (navbarFixed === false) {\n $controlSidebar.css('top', heights.header - positions.top)\n $controlsidebarContent.css('height', heights.window - (heights.header - positions.top))\n } else {\n $controlSidebar.css('top', heights.header)\n }\n } else if (navbarFixed === false) {\n $controlSidebar.css('top', 0)\n $controlsidebarContent.css('height', heights.window)\n } else {\n $controlSidebar.css('top', heights.header)\n }\n\n if (footerFixed && navbarFixed) {\n $controlsidebarContent.css('height', '100%')\n $controlSidebar.css('height', '')\n } else if (footerFixed || navbarFixed) {\n $controlsidebarContent.css('height', '100%')\n $controlsidebarContent.css('height', '')\n }\n }\n\n _fixHeight() {\n const $body = $('body')\n const $controlSidebar = $(`${this._config.target} ${SELECTOR_CONTROL_SIDEBAR_CONTENT}`)\n\n if (!$body.hasClass(CLASS_NAME_LAYOUT_FIXED)) {\n $controlSidebar.attr('style', '')\n return\n }\n\n const heights = {\n window: $(window).height(),\n header: $(SELECTOR_HEADER).outerHeight(),\n footer: $(SELECTOR_FOOTER).outerHeight()\n }\n\n let sidebarHeight = heights.window - heights.header\n\n if (this._isFooterFixed() && $(SELECTOR_FOOTER).css('position') === 'fixed') {\n sidebarHeight = heights.window - heights.header - heights.footer\n }\n\n $controlSidebar.css('height', sidebarHeight)\n\n if (typeof $.fn.overlayScrollbars !== 'undefined') {\n $controlSidebar.overlayScrollbars({\n className: this._config.scrollbarTheme,\n sizeAutoCapable: true,\n scrollbars: {\n autoHide: this._config.scrollbarAutoHide,\n clickScrolling: true\n }\n })\n }\n }\n\n // Static\n\n static _jQueryInterface(operation) {\n return this.each(function () {\n let data = $(this).data(DATA_KEY)\n const _options = $.extend({}, Default, $(this).data())\n\n if (!data) {\n data = new ControlSidebar(this, _options)\n $(this).data(DATA_KEY, data)\n }\n\n if (data[operation] === 'undefined') {\n throw new Error(`${operation} is not a function`)\n }\n\n data[operation]()\n })\n }\n}\n\n/**\n *\n * Data Api implementation\n * ====================================================\n */\n$(document).on('click', SELECTOR_DATA_TOGGLE, function (event) {\n event.preventDefault()\n\n ControlSidebar._jQueryInterface.call($(this), 'toggle')\n})\n\n$(document).ready(() => {\n ControlSidebar._jQueryInterface.call($(SELECTOR_DATA_TOGGLE), '_init')\n})\n\n/**\n * jQuery API\n * ====================================================\n */\n\n$.fn[NAME] = ControlSidebar._jQueryInterface\n$.fn[NAME].Constructor = ControlSidebar\n$.fn[NAME].noConflict = function () {\n $.fn[NAME] = JQUERY_NO_CONFLICT\n return ControlSidebar._jQueryInterface\n}\n\nexport default ControlSidebar\n","/**\n * --------------------------------------------\n * AdminLTE DirectChat.js\n * License MIT\n * --------------------------------------------\n */\n\nimport $ from 'jquery'\n\n/**\n * Constants\n * ====================================================\n */\n\nconst NAME = 'DirectChat'\nconst DATA_KEY = 'lte.directchat'\nconst EVENT_KEY = `.${DATA_KEY}`\nconst JQUERY_NO_CONFLICT = $.fn[NAME]\n\nconst EVENT_TOGGLED = `toggled${EVENT_KEY}`\n\nconst SELECTOR_DATA_TOGGLE = '[data-widget=\"chat-pane-toggle\"]'\nconst SELECTOR_DIRECT_CHAT = '.direct-chat'\n\nconst CLASS_NAME_DIRECT_CHAT_OPEN = 'direct-chat-contacts-open'\n\n/**\n * Class Definition\n * ====================================================\n */\n\nclass DirectChat {\n constructor(element) {\n this._element = element\n }\n\n toggle() {\n $(this._element).parents(SELECTOR_DIRECT_CHAT).first().toggleClass(CLASS_NAME_DIRECT_CHAT_OPEN)\n $(this._element).trigger($.Event(EVENT_TOGGLED))\n }\n\n // Static\n\n static _jQueryInterface(config) {\n return this.each(function () {\n let data = $(this).data(DATA_KEY)\n\n if (!data) {\n data = new DirectChat($(this))\n $(this).data(DATA_KEY, data)\n }\n\n data[config]()\n })\n }\n}\n\n/**\n *\n * Data Api implementation\n * ====================================================\n */\n\n$(document).on('click', SELECTOR_DATA_TOGGLE, function (event) {\n if (event) {\n event.preventDefault()\n }\n\n DirectChat._jQueryInterface.call($(this), 'toggle')\n})\n\n/**\n * jQuery API\n * ====================================================\n */\n\n$.fn[NAME] = DirectChat._jQueryInterface\n$.fn[NAME].Constructor = DirectChat\n$.fn[NAME].noConflict = function () {\n $.fn[NAME] = JQUERY_NO_CONFLICT\n return DirectChat._jQueryInterface\n}\n\nexport default DirectChat\n","/**\n * --------------------------------------------\n * AdminLTE Dropdown.js\n * License MIT\n * --------------------------------------------\n */\n\nimport $ from 'jquery'\n\n/**\n * Constants\n * ====================================================\n */\n\nconst NAME = 'Dropdown'\nconst DATA_KEY = 'lte.dropdown'\nconst JQUERY_NO_CONFLICT = $.fn[NAME]\n\nconst SELECTOR_NAVBAR = '.navbar'\nconst SELECTOR_DROPDOWN_MENU = '.dropdown-menu'\nconst SELECTOR_DROPDOWN_MENU_ACTIVE = '.dropdown-menu.show'\nconst SELECTOR_DROPDOWN_TOGGLE = '[data-toggle=\"dropdown\"]'\n\nconst CLASS_NAME_DROPDOWN_RIGHT = 'dropdown-menu-right'\nconst CLASS_NAME_DROPDOWN_SUBMENU = 'dropdown-submenu'\n\n// TODO: this is unused; should be removed along with the extend?\nconst Default = {}\n\n/**\n * Class Definition\n * ====================================================\n */\n\nclass Dropdown {\n constructor(element, config) {\n this._config = config\n this._element = element\n }\n\n // Public\n\n toggleSubmenu() {\n this._element.siblings().show().toggleClass('show')\n\n if (!this._element.next().hasClass('show')) {\n this._element.parents(SELECTOR_DROPDOWN_MENU).first().find('.show').removeClass('show').hide()\n }\n\n this._element.parents('li.nav-item.dropdown.show').on('hidden.bs.dropdown', () => {\n $('.dropdown-submenu .show').removeClass('show').hide()\n })\n }\n\n fixPosition() {\n const $element = $(SELECTOR_DROPDOWN_MENU_ACTIVE)\n\n if ($element.length === 0) {\n return\n }\n\n if ($element.hasClass(CLASS_NAME_DROPDOWN_RIGHT)) {\n $element.css({\n left: 'inherit',\n right: 0\n })\n } else {\n $element.css({\n left: 0,\n right: 'inherit'\n })\n }\n\n const offset = $element.offset()\n const width = $element.width()\n const visiblePart = $(window).width() - offset.left\n\n if (offset.left < 0) {\n $element.css({\n left: 'inherit',\n right: offset.left - 5\n })\n } else if (visiblePart < width) {\n $element.css({\n left: 'inherit',\n right: 0\n })\n }\n }\n\n // Static\n\n static _jQueryInterface(config) {\n return this.each(function () {\n let data = $(this).data(DATA_KEY)\n const _config = $.extend({}, Default, $(this).data())\n\n if (!data) {\n data = new Dropdown($(this), _config)\n $(this).data(DATA_KEY, data)\n }\n\n if (config === 'toggleSubmenu' || config === 'fixPosition') {\n data[config]()\n }\n })\n }\n}\n\n/**\n * Data API\n * ====================================================\n */\n\n$(`${SELECTOR_DROPDOWN_MENU} ${SELECTOR_DROPDOWN_TOGGLE}`).on('click', function (event) {\n event.preventDefault()\n event.stopPropagation()\n\n Dropdown._jQueryInterface.call($(this), 'toggleSubmenu')\n})\n\n$(`${SELECTOR_NAVBAR} ${SELECTOR_DROPDOWN_TOGGLE}`).on('click', event => {\n event.preventDefault()\n\n if ($(event.target).parent().hasClass(CLASS_NAME_DROPDOWN_SUBMENU)) {\n return\n }\n\n setTimeout(function () {\n Dropdown._jQueryInterface.call($(this), 'fixPosition')\n }, 1)\n})\n\n/**\n * jQuery API\n * ====================================================\n */\n\n$.fn[NAME] = Dropdown._jQueryInterface\n$.fn[NAME].Constructor = Dropdown\n$.fn[NAME].noConflict = function () {\n $.fn[NAME] = JQUERY_NO_CONFLICT\n return Dropdown._jQueryInterface\n}\n\nexport default Dropdown\n","/**\n * --------------------------------------------\n * AdminLTE ExpandableTable.js\n * License MIT\n * --------------------------------------------\n */\n\nimport $ from 'jquery'\n\n/**\n * Constants\n * ====================================================\n */\n\nconst NAME = 'ExpandableTable'\nconst DATA_KEY = 'lte.expandableTable'\nconst EVENT_KEY = `.${DATA_KEY}`\nconst JQUERY_NO_CONFLICT = $.fn[NAME]\n\nconst EVENT_EXPANDED = `expanded${EVENT_KEY}`\nconst EVENT_COLLAPSED = `collapsed${EVENT_KEY}`\n\nconst SELECTOR_TABLE = '.expandable-table'\nconst SELECTOR_EXPANDABLE_BODY = '.expandable-body'\nconst SELECTOR_DATA_TOGGLE = '[data-widget=\"expandable-table\"]'\nconst SELECTOR_ARIA_ATTR = 'aria-expanded'\n\n/**\n * Class Definition\n * ====================================================\n */\nclass ExpandableTable {\n constructor(element, options) {\n this._options = options\n this._element = element\n }\n\n // Public\n\n init() {\n $(SELECTOR_DATA_TOGGLE).each((_, $header) => {\n const $type = $($header).attr(SELECTOR_ARIA_ATTR)\n const $body = $($header).next(SELECTOR_EXPANDABLE_BODY).children().first().children()\n if ($type === 'true') {\n $body.show()\n } else if ($type === 'false') {\n $body.hide()\n $body.parent().parent().addClass('d-none')\n }\n })\n }\n\n toggleRow() {\n const $element = this._element\n const time = 500\n const $type = $element.attr(SELECTOR_ARIA_ATTR)\n const $body = $element.next(SELECTOR_EXPANDABLE_BODY).children().first().children()\n\n $body.stop()\n if ($type === 'true') {\n $body.slideUp(time, () => {\n $element.next(SELECTOR_EXPANDABLE_BODY).addClass('d-none')\n })\n $element.attr(SELECTOR_ARIA_ATTR, 'false')\n $element.trigger($.Event(EVENT_COLLAPSED))\n } else if ($type === 'false') {\n $element.next(SELECTOR_EXPANDABLE_BODY).removeClass('d-none')\n $body.slideDown(time)\n $element.attr(SELECTOR_ARIA_ATTR, 'true')\n $element.trigger($.Event(EVENT_EXPANDED))\n }\n }\n\n // Static\n\n static _jQueryInterface(operation) {\n return this.each(function () {\n let data = $(this).data(DATA_KEY)\n\n if (!data) {\n data = new ExpandableTable($(this))\n $(this).data(DATA_KEY, data)\n }\n\n if (typeof operation === 'string' && /init|toggleRow/.test(operation)) {\n data[operation]()\n }\n })\n }\n}\n\n/**\n * Data API\n * ====================================================\n */\n$(SELECTOR_TABLE).ready(function () {\n ExpandableTable._jQueryInterface.call($(this), 'init')\n})\n\n$(document).on('click', SELECTOR_DATA_TOGGLE, function () {\n ExpandableTable._jQueryInterface.call($(this), 'toggleRow')\n})\n\n/**\n * jQuery API\n * ====================================================\n */\n\n$.fn[NAME] = ExpandableTable._jQueryInterface\n$.fn[NAME].Constructor = ExpandableTable\n$.fn[NAME].noConflict = function () {\n $.fn[NAME] = JQUERY_NO_CONFLICT\n return ExpandableTable._jQueryInterface\n}\n\nexport default ExpandableTable\n","/**\n * --------------------------------------------\n * AdminLTE Fullscreen.js\n * License MIT\n * --------------------------------------------\n */\n\nimport $ from 'jquery'\n\n/**\n * Constants\n * ====================================================\n */\n\nconst NAME = 'Fullscreen'\nconst DATA_KEY = 'lte.fullscreen'\nconst JQUERY_NO_CONFLICT = $.fn[NAME]\n\nconst SELECTOR_DATA_WIDGET = '[data-widget=\"fullscreen\"]'\nconst SELECTOR_ICON = `${SELECTOR_DATA_WIDGET} i`\n\nconst Default = {\n minimizeIcon: 'fa-compress-arrows-alt',\n maximizeIcon: 'fa-expand-arrows-alt'\n}\n\n/**\n * Class Definition\n * ====================================================\n */\n\nclass Fullscreen {\n constructor(_element, _options) {\n this.element = _element\n this.options = $.extend({}, Default, _options)\n }\n\n // Public\n\n toggle() {\n if (document.fullscreenElement ||\n document.mozFullScreenElement ||\n document.webkitFullscreenElement ||\n document.msFullscreenElement) {\n this.windowed()\n } else {\n this.fullscreen()\n }\n }\n\n fullscreen() {\n if (document.documentElement.requestFullscreen) {\n document.documentElement.requestFullscreen()\n } else if (document.documentElement.webkitRequestFullscreen) {\n document.documentElement.webkitRequestFullscreen()\n } else if (document.documentElement.msRequestFullscreen) {\n document.documentElement.msRequestFullscreen()\n }\n\n $(SELECTOR_ICON).removeClass(this.options.maximizeIcon).addClass(this.options.minimizeIcon)\n }\n\n windowed() {\n if (document.exitFullscreen) {\n document.exitFullscreen()\n } else if (document.webkitExitFullscreen) {\n document.webkitExitFullscreen()\n } else if (document.msExitFullscreen) {\n document.msExitFullscreen()\n }\n\n $(SELECTOR_ICON).removeClass(this.options.minimizeIcon).addClass(this.options.maximizeIcon)\n }\n\n // Static\n\n static _jQueryInterface(config) {\n let data = $(this).data(DATA_KEY)\n\n if (!data) {\n data = $(this).data()\n }\n\n const _options = $.extend({}, Default, typeof config === 'object' ? config : data)\n const plugin = new Fullscreen($(this), _options)\n\n $(this).data(DATA_KEY, typeof config === 'object' ? config : data)\n\n if (typeof config === 'string' && /toggle|fullscreen|windowed/.test(config)) {\n plugin[config]()\n } else {\n plugin.init()\n }\n }\n}\n\n/**\n * Data API\n * ====================================================\n */\n$(document).on('click', SELECTOR_DATA_WIDGET, function () {\n Fullscreen._jQueryInterface.call($(this), 'toggle')\n})\n\n/**\n * jQuery API\n * ====================================================\n */\n\n$.fn[NAME] = Fullscreen._jQueryInterface\n$.fn[NAME].Constructor = Fullscreen\n$.fn[NAME].noConflict = function () {\n $.fn[NAME] = JQUERY_NO_CONFLICT\n return Fullscreen._jQueryInterface\n}\n\nexport default Fullscreen\n","/**\n * --------------------------------------------\n * AdminLTE IFrame.js\n * License MIT\n * --------------------------------------------\n */\n\nimport $ from 'jquery'\n\n/**\n * Constants\n * ====================================================\n */\n\nconst NAME = 'IFrame'\nconst DATA_KEY = 'lte.iframe'\nconst JQUERY_NO_CONFLICT = $.fn[NAME]\n\nconst SELECTOR_DATA_TOGGLE = '[data-widget=\"iframe\"]'\nconst SELECTOR_DATA_TOGGLE_CLOSE = '[data-widget=\"iframe-close\"]'\nconst SELECTOR_DATA_TOGGLE_SCROLL_LEFT = '[data-widget=\"iframe-scrollleft\"]'\nconst SELECTOR_DATA_TOGGLE_SCROLL_RIGHT = '[data-widget=\"iframe-scrollright\"]'\nconst SELECTOR_DATA_TOGGLE_FULLSCREEN = '[data-widget=\"iframe-fullscreen\"]'\nconst SELECTOR_CONTENT_WRAPPER = '.content-wrapper'\nconst SELECTOR_CONTENT_IFRAME = `${SELECTOR_CONTENT_WRAPPER} iframe`\nconst SELECTOR_TAB_NAV = `${SELECTOR_DATA_TOGGLE}.iframe-mode .nav`\nconst SELECTOR_TAB_NAVBAR_NAV = `${SELECTOR_DATA_TOGGLE}.iframe-mode .navbar-nav`\nconst SELECTOR_TAB_NAVBAR_NAV_ITEM = `${SELECTOR_TAB_NAVBAR_NAV} .nav-item`\nconst SELECTOR_TAB_NAVBAR_NAV_LINK = `${SELECTOR_TAB_NAVBAR_NAV} .nav-link`\nconst SELECTOR_TAB_CONTENT = `${SELECTOR_DATA_TOGGLE}.iframe-mode .tab-content`\nconst SELECTOR_TAB_EMPTY = `${SELECTOR_TAB_CONTENT} .tab-empty`\nconst SELECTOR_TAB_LOADING = `${SELECTOR_TAB_CONTENT} .tab-loading`\nconst SELECTOR_TAB_PANE = `${SELECTOR_TAB_CONTENT} .tab-pane`\nconst SELECTOR_SIDEBAR_MENU_ITEM = '.main-sidebar .nav-item > a.nav-link'\nconst SELECTOR_SIDEBAR_SEARCH_ITEM = '.sidebar-search-results .list-group-item'\nconst SELECTOR_HEADER_MENU_ITEM = '.main-header .nav-item a.nav-link'\nconst SELECTOR_HEADER_DROPDOWN_ITEM = '.main-header a.dropdown-item'\nconst CLASS_NAME_IFRAME_MODE = 'iframe-mode'\nconst CLASS_NAME_FULLSCREEN_MODE = 'iframe-mode-fullscreen'\n\nconst Default = {\n onTabClick(item) {\n return item\n },\n onTabChanged(item) {\n return item\n },\n onTabCreated(item) {\n return item\n },\n autoIframeMode: true,\n autoItemActive: true,\n autoShowNewTab: true,\n allowDuplicates: false,\n loadingScreen: true,\n useNavbarItems: true,\n scrollOffset: 40,\n scrollBehaviorSwap: false,\n iconMaximize: 'fa-expand',\n iconMinimize: 'fa-compress'\n}\n\n/**\n * Class Definition\n * ====================================================\n */\n\nclass IFrame {\n constructor(element, config) {\n this._config = config\n this._element = element\n\n this._init()\n }\n\n // Public\n\n onTabClick(item) {\n this._config.onTabClick(item)\n }\n\n onTabChanged(item) {\n this._config.onTabChanged(item)\n }\n\n onTabCreated(item) {\n this._config.onTabCreated(item)\n }\n\n createTab(title, link, uniqueName, autoOpen) {\n let tabId = `panel-${uniqueName}`\n let navId = `tab-${uniqueName}`\n\n if (this._config.allowDuplicates) {\n tabId += `-${Math.floor(Math.random() * 1000)}`\n navId += `-${Math.floor(Math.random() * 1000)}`\n }\n\n const newNavItem = `<li class=\"nav-item\" role=\"presentation\"><a href=\"#\" class=\"btn-iframe-close\" data-widget=\"iframe-close\" data-type=\"only-this\"><i class=\"fas fa-times\"></i></a><a class=\"nav-link\" data-toggle=\"row\" id=\"${navId}\" href=\"#${tabId}\" role=\"tab\" aria-controls=\"${tabId}\" aria-selected=\"false\">${title}</a></li>`\n $(SELECTOR_TAB_NAVBAR_NAV).append(unescape(escape(newNavItem)))\n\n const newTabItem = `<div class=\"tab-pane fade\" id=\"${tabId}\" role=\"tabpanel\" aria-labelledby=\"${navId}\"><iframe src=\"${link}\"></iframe></div>`\n $(SELECTOR_TAB_CONTENT).append(unescape(escape(newTabItem)))\n\n if (autoOpen) {\n if (this._config.loadingScreen) {\n const $loadingScreen = $(SELECTOR_TAB_LOADING)\n $loadingScreen.fadeIn()\n $(`${tabId} iframe`).ready(() => {\n if (typeof this._config.loadingScreen === 'number') {\n this.switchTab(`#${navId}`)\n setTimeout(() => {\n $loadingScreen.fadeOut()\n }, this._config.loadingScreen)\n } else {\n this.switchTab(`#${navId}`)\n $loadingScreen.fadeOut()\n }\n })\n } else {\n this.switchTab(`#${navId}`)\n }\n }\n\n this.onTabCreated($(`#${navId}`))\n }\n\n openTabSidebar(item, autoOpen = this._config.autoShowNewTab) {\n let $item = $(item).clone()\n if ($item.attr('href') === undefined) {\n $item = $(item).parent('a').clone()\n }\n\n $item.find('.right, .search-path').remove()\n let title = $item.find('p').text()\n if (title === '') {\n title = $item.text()\n }\n\n const link = $item.attr('href')\n if (link === '#' || link === '' || link === undefined) {\n return\n }\n\n const uniqueName = link.replace('./', '').replace(/[\"&'./:=?[\\]]/gi, '-').replace(/(--)/gi, '')\n const navId = `tab-${uniqueName}`\n\n if (!this._config.allowDuplicates && $(`#${navId}`).length > 0) {\n return this.switchTab(`#${navId}`)\n }\n\n if ((!this._config.allowDuplicates && $(`#${navId}`).length === 0) || this._config.allowDuplicates) {\n this.createTab(title, link, uniqueName, autoOpen)\n }\n }\n\n switchTab(item) {\n const $item = $(item)\n const tabId = $item.attr('href')\n\n $(SELECTOR_TAB_EMPTY).hide()\n $(`${SELECTOR_TAB_NAVBAR_NAV} .active`).tab('dispose').removeClass('active')\n this._fixHeight()\n\n $item.tab('show')\n $item.parents('li').addClass('active')\n this.onTabChanged($item)\n\n if (this._config.autoItemActive) {\n this._setItemActive($(`${tabId} iframe`).attr('src'))\n }\n }\n\n removeActiveTab(type, element) {\n if (type == 'all') {\n $(SELECTOR_TAB_NAVBAR_NAV_ITEM).remove()\n $(SELECTOR_TAB_PANE).remove()\n $(SELECTOR_TAB_EMPTY).show()\n } else if (type == 'all-other') {\n $(`${SELECTOR_TAB_NAVBAR_NAV_ITEM}:not(.active)`).remove()\n $(`${SELECTOR_TAB_PANE}:not(.active)`).remove()\n } else if (type == 'only-this') {\n const $navClose = $(element)\n const $navItem = $navClose.parent('.nav-item')\n const $navItemParent = $navItem.parent()\n const navItemIndex = $navItem.index()\n const tabId = $navClose.siblings('.nav-link').attr('aria-controls')\n $navItem.remove()\n $(`#${tabId}`).remove()\n if ($(SELECTOR_TAB_CONTENT).children().length == $(`${SELECTOR_TAB_EMPTY}, ${SELECTOR_TAB_LOADING}`).length) {\n $(SELECTOR_TAB_EMPTY).show()\n } else {\n const prevNavItemIndex = navItemIndex - 1\n this.switchTab($navItemParent.children().eq(prevNavItemIndex).find('a.nav-link'))\n }\n } else {\n const $navItem = $(`${SELECTOR_TAB_NAVBAR_NAV_ITEM}.active`)\n const $navItemParent = $navItem.parent()\n const navItemIndex = $navItem.index()\n $navItem.remove()\n $(`${SELECTOR_TAB_PANE}.active`).remove()\n if ($(SELECTOR_TAB_CONTENT).children().length == $(`${SELECTOR_TAB_EMPTY}, ${SELECTOR_TAB_LOADING}`).length) {\n $(SELECTOR_TAB_EMPTY).show()\n } else {\n const prevNavItemIndex = navItemIndex - 1\n this.switchTab($navItemParent.children().eq(prevNavItemIndex).find('a.nav-link'))\n }\n }\n }\n\n toggleFullscreen() {\n if ($('body').hasClass(CLASS_NAME_FULLSCREEN_MODE)) {\n $(`${SELECTOR_DATA_TOGGLE_FULLSCREEN} i`).removeClass(this._config.iconMinimize).addClass(this._config.iconMaximize)\n $('body').removeClass(CLASS_NAME_FULLSCREEN_MODE)\n $(`${SELECTOR_TAB_EMPTY}, ${SELECTOR_TAB_LOADING}`).height('auto')\n $(SELECTOR_CONTENT_WRAPPER).height('auto')\n $(SELECTOR_CONTENT_IFRAME).height('auto')\n } else {\n $(`${SELECTOR_DATA_TOGGLE_FULLSCREEN} i`).removeClass(this._config.iconMaximize).addClass(this._config.iconMinimize)\n $('body').addClass(CLASS_NAME_FULLSCREEN_MODE)\n }\n\n $(window).trigger('resize')\n this._fixHeight(true)\n }\n\n // Private\n\n _init() {\n if (window.frameElement && this._config.autoIframeMode) {\n $('body').addClass(CLASS_NAME_IFRAME_MODE)\n } else if ($(SELECTOR_CONTENT_WRAPPER).hasClass(CLASS_NAME_IFRAME_MODE)) {\n if ($(SELECTOR_TAB_CONTENT).children().length > 2) {\n const $el = $(`${SELECTOR_TAB_PANE}:first-child`)\n $el.show()\n this._setItemActive($el.find('iframe').attr('src'))\n }\n\n this._setupListeners()\n this._fixHeight(true)\n }\n }\n\n _navScroll(offset) {\n const leftPos = $(SELECTOR_TAB_NAVBAR_NAV).scrollLeft()\n $(SELECTOR_TAB_NAVBAR_NAV).animate({ scrollLeft: (leftPos + offset) }, 250, 'linear')\n }\n\n _setupListeners() {\n $(window).on('resize', () => {\n setTimeout(() => {\n this._fixHeight()\n }, 1)\n })\n $(document).on('click', `${SELECTOR_SIDEBAR_MENU_ITEM}, ${SELECTOR_SIDEBAR_SEARCH_ITEM}`, e => {\n e.preventDefault()\n this.openTabSidebar(e.target)\n })\n\n if (this._config.useNavbarItems) {\n $(document).on('click', `${SELECTOR_HEADER_MENU_ITEM}, ${SELECTOR_HEADER_DROPDOWN_ITEM}`, e => {\n e.preventDefault()\n this.openTabSidebar(e.target)\n })\n }\n\n $(document).on('click', SELECTOR_TAB_NAVBAR_NAV_LINK, e => {\n e.preventDefault()\n this.onTabClick(e.target)\n this.switchTab(e.target)\n })\n $(document).on('click', SELECTOR_TAB_NAVBAR_NAV_LINK, e => {\n e.preventDefault()\n this.onTabClick(e.target)\n this.switchTab(e.target)\n })\n $(document).on('click', SELECTOR_DATA_TOGGLE_CLOSE, e => {\n e.preventDefault()\n let { target } = e\n\n if (target.nodeName == 'I') {\n target = e.target.offsetParent\n }\n\n this.removeActiveTab(target.attributes['data-type'] ? target.attributes['data-type'].nodeValue : null, target)\n })\n $(document).on('click', SELECTOR_DATA_TOGGLE_FULLSCREEN, e => {\n e.preventDefault()\n this.toggleFullscreen()\n })\n let mousedown = false\n let mousedownInterval = null\n $(document).on('mousedown', SELECTOR_DATA_TOGGLE_SCROLL_LEFT, e => {\n e.preventDefault()\n clearInterval(mousedownInterval)\n\n let { scrollOffset } = this._config\n\n if (!this._config.scrollBehaviorSwap) {\n scrollOffset = -scrollOffset\n }\n\n mousedown = true\n this._navScroll(scrollOffset)\n\n mousedownInterval = setInterval(() => {\n this._navScroll(scrollOffset)\n }, 250)\n })\n $(document).on('mousedown', SELECTOR_DATA_TOGGLE_SCROLL_RIGHT, e => {\n e.preventDefault()\n clearInterval(mousedownInterval)\n\n let { scrollOffset } = this._config\n\n if (this._config.scrollBehaviorSwap) {\n scrollOffset = -scrollOffset\n }\n\n mousedown = true\n this._navScroll(scrollOffset)\n\n mousedownInterval = setInterval(() => {\n this._navScroll(scrollOffset)\n }, 250)\n })\n $(document).on('mouseup', () => {\n if (mousedown) {\n mousedown = false\n clearInterval(mousedownInterval)\n mousedownInterval = null\n }\n })\n }\n\n _setItemActive(href) {\n $(`${SELECTOR_SIDEBAR_MENU_ITEM}, ${SELECTOR_HEADER_DROPDOWN_ITEM}`).removeClass('active')\n $(SELECTOR_HEADER_MENU_ITEM).parent().removeClass('active')\n\n const $headerMenuItem = $(`${SELECTOR_HEADER_MENU_ITEM}[href$=\"${href}\"]`)\n const $headerDropdownItem = $(`${SELECTOR_HEADER_DROPDOWN_ITEM}[href$=\"${href}\"]`)\n const $sidebarMenuItem = $(`${SELECTOR_SIDEBAR_MENU_ITEM}[href$=\"${href}\"]`)\n\n $headerMenuItem.each((i, e) => {\n $(e).parent().addClass('active')\n })\n $headerDropdownItem.each((i, e) => {\n $(e).addClass('active')\n })\n $sidebarMenuItem.each((i, e) => {\n $(e).addClass('active')\n $(e).parents('.nav-treeview').prevAll('.nav-link').addClass('active')\n })\n }\n\n _fixHeight(tabEmpty = false) {\n if ($('body').hasClass(CLASS_NAME_FULLSCREEN_MODE)) {\n const windowHeight = $(window).height()\n const navbarHeight = $(SELECTOR_TAB_NAV).outerHeight()\n $(`${SELECTOR_TAB_EMPTY}, ${SELECTOR_TAB_LOADING}, ${SELECTOR_CONTENT_IFRAME}`).height(windowHeight - navbarHeight)\n $(SELECTOR_CONTENT_WRAPPER).height(windowHeight)\n } else {\n const contentWrapperHeight = parseFloat($(SELECTOR_CONTENT_WRAPPER).css('height'))\n const navbarHeight = $(SELECTOR_TAB_NAV).outerHeight()\n if (tabEmpty == true) {\n setTimeout(() => {\n $(`${SELECTOR_TAB_EMPTY}, ${SELECTOR_TAB_LOADING}`).height(contentWrapperHeight - navbarHeight)\n }, 50)\n } else {\n $(SELECTOR_CONTENT_IFRAME).height(contentWrapperHeight - navbarHeight)\n }\n }\n }\n\n // Static\n\n static _jQueryInterface(operation, ...args) {\n let data = $(this).data(DATA_KEY)\n const _options = $.extend({}, Default, $(this).data())\n\n if (!data) {\n data = new IFrame(this, _options)\n $(this).data(DATA_KEY, data)\n }\n\n if (typeof operation === 'string' && /createTab|openTabSidebar|switchTab|removeActiveTab/.test(operation)) {\n data[operation](...args)\n }\n }\n}\n\n/**\n * Data API\n * ====================================================\n */\n\n$(window).on('load', () => {\n IFrame._jQueryInterface.call($(SELECTOR_DATA_TOGGLE))\n})\n\n/**\n * jQuery API\n * ====================================================\n */\n\n$.fn[NAME] = IFrame._jQueryInterface\n$.fn[NAME].Constructor = IFrame\n$.fn[NAME].noConflict = function () {\n $.fn[NAME] = JQUERY_NO_CONFLICT\n return IFrame._jQueryInterface\n}\n\nexport default IFrame\n","/**\n * --------------------------------------------\n * AdminLTE Layout.js\n * License MIT\n * --------------------------------------------\n */\n\nimport $ from 'jquery'\n\n/**\n * Constants\n * ====================================================\n */\n\nconst NAME = 'Layout'\nconst DATA_KEY = 'lte.layout'\nconst JQUERY_NO_CONFLICT = $.fn[NAME]\n\nconst SELECTOR_HEADER = '.main-header'\nconst SELECTOR_MAIN_SIDEBAR = '.main-sidebar'\nconst SELECTOR_SIDEBAR = '.main-sidebar .sidebar'\nconst SELECTOR_CONTENT = '.content-wrapper'\nconst SELECTOR_CONTROL_SIDEBAR_CONTENT = '.control-sidebar-content'\nconst SELECTOR_CONTROL_SIDEBAR_BTN = '[data-widget=\"control-sidebar\"]'\nconst SELECTOR_FOOTER = '.main-footer'\nconst SELECTOR_PUSHMENU_BTN = '[data-widget=\"pushmenu\"]'\nconst SELECTOR_LOGIN_BOX = '.login-box'\nconst SELECTOR_REGISTER_BOX = '.register-box'\nconst SELECTOR_PRELOADER = '.preloader'\n\nconst CLASS_NAME_SIDEBAR_COLLAPSED = 'sidebar-collapse'\nconst CLASS_NAME_SIDEBAR_FOCUSED = 'sidebar-focused'\nconst CLASS_NAME_LAYOUT_FIXED = 'layout-fixed'\nconst CLASS_NAME_CONTROL_SIDEBAR_SLIDE_OPEN = 'control-sidebar-slide-open'\nconst CLASS_NAME_CONTROL_SIDEBAR_OPEN = 'control-sidebar-open'\n\nconst Default = {\n scrollbarTheme: 'os-theme-light',\n scrollbarAutoHide: 'l',\n panelAutoHeight: true,\n panelAutoHeightMode: 'min-height',\n preloadDuration: 200,\n loginRegisterAutoHeight: true\n}\n\n/**\n * Class Definition\n * ====================================================\n */\n\nclass Layout {\n constructor(element, config) {\n this._config = config\n this._element = element\n }\n\n // Public\n\n fixLayoutHeight(extra = null) {\n const $body = $('body')\n let controlSidebar = 0\n\n if ($body.hasClass(CLASS_NAME_CONTROL_SIDEBAR_SLIDE_OPEN) || $body.hasClass(CLASS_NAME_CONTROL_SIDEBAR_OPEN) || extra === 'control_sidebar') {\n controlSidebar = $(SELECTOR_CONTROL_SIDEBAR_CONTENT).outerHeight()\n }\n\n const heights = {\n window: $(window).height(),\n header: $(SELECTOR_HEADER).length > 0 ? $(SELECTOR_HEADER).outerHeight() : 0,\n footer: $(SELECTOR_FOOTER).length > 0 ? $(SELECTOR_FOOTER).outerHeight() : 0,\n sidebar: $(SELECTOR_SIDEBAR).length > 0 ? $(SELECTOR_SIDEBAR).height() : 0,\n controlSidebar\n }\n\n const max = this._max(heights)\n let offset = this._config.panelAutoHeight\n\n if (offset === true) {\n offset = 0\n }\n\n const $contentSelector = $(SELECTOR_CONTENT)\n\n if (offset !== false) {\n if (max === heights.controlSidebar) {\n $contentSelector.css(this._config.panelAutoHeightMode, (max + offset))\n } else if (max === heights.window) {\n $contentSelector.css(this._config.panelAutoHeightMode, (max + offset) - heights.header - heights.footer)\n } else {\n $contentSelector.css(this._config.panelAutoHeightMode, (max + offset) - heights.header)\n }\n\n if (this._isFooterFixed()) {\n $contentSelector.css(this._config.panelAutoHeightMode, parseFloat($contentSelector.css(this._config.panelAutoHeightMode)) + heights.footer)\n }\n }\n\n if (!$body.hasClass(CLASS_NAME_LAYOUT_FIXED)) {\n return\n }\n\n if (typeof $.fn.overlayScrollbars !== 'undefined') {\n $(SELECTOR_SIDEBAR).overlayScrollbars({\n className: this._config.scrollbarTheme,\n sizeAutoCapable: true,\n scrollbars: {\n autoHide: this._config.scrollbarAutoHide,\n clickScrolling: true\n }\n })\n } else {\n $(SELECTOR_SIDEBAR).css('overflow-y', 'auto')\n }\n }\n\n fixLoginRegisterHeight() {\n const $body = $('body')\n const $selector = $(`${SELECTOR_LOGIN_BOX}, ${SELECTOR_REGISTER_BOX}`)\n\n if ($selector.length === 0) {\n $body.css('height', 'auto')\n $('html').css('height', 'auto')\n } else {\n const boxHeight = $selector.height()\n\n if ($body.css(this._config.panelAutoHeightMode) !== boxHeight) {\n $body.css(this._config.panelAutoHeightMode, boxHeight)\n }\n }\n }\n\n // Private\n\n _init() {\n // Activate layout height watcher\n this.fixLayoutHeight()\n\n if (this._config.loginRegisterAutoHeight === true) {\n this.fixLoginRegisterHeight()\n } else if (this._config.loginRegisterAutoHeight === parseInt(this._config.loginRegisterAutoHeight, 10)) {\n setInterval(this.fixLoginRegisterHeight, this._config.loginRegisterAutoHeight)\n }\n\n $(SELECTOR_SIDEBAR)\n .on('collapsed.lte.treeview expanded.lte.treeview', () => {\n this.fixLayoutHeight()\n })\n\n $(SELECTOR_MAIN_SIDEBAR)\n .on('mouseenter mouseleave', () => {\n if ($('body').hasClass(CLASS_NAME_SIDEBAR_COLLAPSED)) {\n this.fixLayoutHeight()\n }\n })\n\n $(SELECTOR_PUSHMENU_BTN)\n .on('collapsed.lte.pushmenu shown.lte.pushmenu', () => {\n setTimeout(() => {\n this.fixLayoutHeight()\n }, 300)\n })\n\n $(SELECTOR_CONTROL_SIDEBAR_BTN)\n .on('collapsed.lte.controlsidebar', () => {\n this.fixLayoutHeight()\n })\n .on('expanded.lte.controlsidebar', () => {\n this.fixLayoutHeight('control_sidebar')\n })\n\n $(window).resize(() => {\n this.fixLayoutHeight()\n })\n\n setTimeout(() => {\n $('body.hold-transition').removeClass('hold-transition')\n }, 50)\n\n setTimeout(() => {\n const $preloader = $(SELECTOR_PRELOADER)\n if ($preloader) {\n $preloader.css('height', 0)\n setTimeout(() => {\n $preloader.children().hide()\n }, 200)\n }\n }, this._config.preloadDuration)\n }\n\n _max(numbers) {\n // Calculate the maximum number in a list\n let max = 0\n\n Object.keys(numbers).forEach(key => {\n if (numbers[key] > max) {\n max = numbers[key]\n }\n })\n\n return max\n }\n\n _isFooterFixed() {\n return $(SELECTOR_FOOTER).css('position') === 'fixed'\n }\n\n // Static\n\n static _jQueryInterface(config = '') {\n return this.each(function () {\n let data = $(this).data(DATA_KEY)\n const _options = $.extend({}, Default, $(this).data())\n\n if (!data) {\n data = new Layout($(this), _options)\n $(this).data(DATA_KEY, data)\n }\n\n if (config === 'init' || config === '') {\n data._init()\n } else if (config === 'fixLayoutHeight' || config === 'fixLoginRegisterHeight') {\n data[config]()\n }\n })\n }\n}\n\n/**\n * Data API\n * ====================================================\n */\n\n$(window).on('load', () => {\n Layout._jQueryInterface.call($('body'))\n})\n\n$(`${SELECTOR_SIDEBAR} a`)\n .on('focusin', () => {\n $(SELECTOR_MAIN_SIDEBAR).addClass(CLASS_NAME_SIDEBAR_FOCUSED)\n })\n .on('focusout', () => {\n $(SELECTOR_MAIN_SIDEBAR).removeClass(CLASS_NAME_SIDEBAR_FOCUSED)\n })\n\n/**\n * jQuery API\n * ====================================================\n */\n\n$.fn[NAME] = Layout._jQueryInterface\n$.fn[NAME].Constructor = Layout\n$.fn[NAME].noConflict = function () {\n $.fn[NAME] = JQUERY_NO_CONFLICT\n return Layout._jQueryInterface\n}\n\nexport default Layout\n","/**\n * --------------------------------------------\n * AdminLTE PushMenu.js\n * License MIT\n * --------------------------------------------\n */\n\nimport $ from 'jquery'\n\n/**\n * Constants\n * ====================================================\n */\n\nconst NAME = 'PushMenu'\nconst DATA_KEY = 'lte.pushmenu'\nconst EVENT_KEY = `.${DATA_KEY}`\nconst JQUERY_NO_CONFLICT = $.fn[NAME]\n\nconst EVENT_COLLAPSED = `collapsed${EVENT_KEY}`\nconst EVENT_SHOWN = `shown${EVENT_KEY}`\n\nconst SELECTOR_TOGGLE_BUTTON = '[data-widget=\"pushmenu\"]'\nconst SELECTOR_BODY = 'body'\nconst SELECTOR_OVERLAY = '#sidebar-overlay'\nconst SELECTOR_WRAPPER = '.wrapper'\n\nconst CLASS_NAME_COLLAPSED = 'sidebar-collapse'\nconst CLASS_NAME_OPEN = 'sidebar-open'\nconst CLASS_NAME_IS_OPENING = 'sidebar-is-opening'\nconst CLASS_NAME_CLOSED = 'sidebar-closed'\n\nconst Default = {\n autoCollapseSize: 992,\n enableRemember: false,\n noTransitionAfterReload: true\n}\n\n/**\n * Class Definition\n * ====================================================\n */\n\nclass PushMenu {\n constructor(element, options) {\n this._element = element\n this._options = $.extend({}, Default, options)\n\n if ($(SELECTOR_OVERLAY).length === 0) {\n this._addOverlay()\n }\n\n this._init()\n }\n\n // Public\n\n expand() {\n const $bodySelector = $(SELECTOR_BODY)\n\n if (this._options.autoCollapseSize && $(window).width() <= this._options.autoCollapseSize) {\n $bodySelector.addClass(CLASS_NAME_OPEN)\n }\n\n $bodySelector.addClass(CLASS_NAME_IS_OPENING).removeClass(`${CLASS_NAME_COLLAPSED} ${CLASS_NAME_CLOSED}`).delay(50).queue(function () {\n $bodySelector.removeClass(CLASS_NAME_IS_OPENING)\n $(this).dequeue()\n })\n\n if (this._options.enableRemember) {\n localStorage.setItem(`remember${EVENT_KEY}`, CLASS_NAME_OPEN)\n }\n\n $(this._element).trigger($.Event(EVENT_SHOWN))\n }\n\n collapse() {\n const $bodySelector = $(SELECTOR_BODY)\n\n if (this._options.autoCollapseSize && $(window).width() <= this._options.autoCollapseSize) {\n $bodySelector.removeClass(CLASS_NAME_OPEN).addClass(CLASS_NAME_CLOSED)\n }\n\n $bodySelector.addClass(CLASS_NAME_COLLAPSED)\n\n if (this._options.enableRemember) {\n localStorage.setItem(`remember${EVENT_KEY}`, CLASS_NAME_COLLAPSED)\n }\n\n $(this._element).trigger($.Event(EVENT_COLLAPSED))\n }\n\n toggle() {\n if ($(SELECTOR_BODY).hasClass(CLASS_NAME_COLLAPSED)) {\n this.expand()\n } else {\n this.collapse()\n }\n }\n\n autoCollapse(resize = false) {\n if (!this._options.autoCollapseSize) {\n return\n }\n\n const $bodySelector = $(SELECTOR_BODY)\n\n if ($(window).width() <= this._options.autoCollapseSize) {\n if (!$bodySelector.hasClass(CLASS_NAME_OPEN)) {\n this.collapse()\n }\n } else if (resize === true) {\n if ($bodySelector.hasClass(CLASS_NAME_OPEN)) {\n $bodySelector.removeClass(CLASS_NAME_OPEN)\n } else if ($bodySelector.hasClass(CLASS_NAME_CLOSED)) {\n this.expand()\n }\n }\n }\n\n remember() {\n if (!this._options.enableRemember) {\n return\n }\n\n const $body = $('body')\n const toggleState = localStorage.getItem(`remember${EVENT_KEY}`)\n\n if (toggleState === CLASS_NAME_COLLAPSED) {\n if (this._options.noTransitionAfterReload) {\n $body.addClass('hold-transition').addClass(CLASS_NAME_COLLAPSED).delay(50).queue(function () {\n $(this).removeClass('hold-transition')\n $(this).dequeue()\n })\n } else {\n $body.addClass(CLASS_NAME_COLLAPSED)\n }\n } else if (this._options.noTransitionAfterReload) {\n $body.addClass('hold-transition').removeClass(CLASS_NAME_COLLAPSED).delay(50).queue(function () {\n $(this).removeClass('hold-transition')\n $(this).dequeue()\n })\n } else {\n $body.removeClass(CLASS_NAME_COLLAPSED)\n }\n }\n\n // Private\n\n _init() {\n this.remember()\n this.autoCollapse()\n\n $(window).resize(() => {\n this.autoCollapse(true)\n })\n }\n\n _addOverlay() {\n const overlay = $('<div />', {\n id: 'sidebar-overlay'\n })\n\n overlay.on('click', () => {\n this.collapse()\n })\n\n $(SELECTOR_WRAPPER).append(overlay)\n }\n\n // Static\n\n static _jQueryInterface(operation) {\n return this.each(function () {\n let data = $(this).data(DATA_KEY)\n const _options = $.extend({}, Default, $(this).data())\n\n if (!data) {\n data = new PushMenu(this, _options)\n $(this).data(DATA_KEY, data)\n }\n\n if (typeof operation === 'string' && /collapse|expand|toggle/.test(operation)) {\n data[operation]()\n }\n })\n }\n}\n\n/**\n * Data API\n * ====================================================\n */\n\n$(document).on('click', SELECTOR_TOGGLE_BUTTON, event => {\n event.preventDefault()\n\n let button = event.currentTarget\n\n if ($(button).data('widget') !== 'pushmenu') {\n button = $(button).closest(SELECTOR_TOGGLE_BUTTON)\n }\n\n PushMenu._jQueryInterface.call($(button), 'toggle')\n})\n\n$(window).on('load', () => {\n PushMenu._jQueryInterface.call($(SELECTOR_TOGGLE_BUTTON))\n})\n\n/**\n * jQuery API\n * ====================================================\n */\n\n$.fn[NAME] = PushMenu._jQueryInterface\n$.fn[NAME].Constructor = PushMenu\n$.fn[NAME].noConflict = function () {\n $.fn[NAME] = JQUERY_NO_CONFLICT\n return PushMenu._jQueryInterface\n}\n\nexport default PushMenu\n","/**\n * --------------------------------------------\n * AdminLTE SidebarSearch.js\n * License MIT\n * --------------------------------------------\n */\n\nimport $, { trim } from 'jquery'\n\n/**\n * Constants\n * ====================================================\n */\n\nconst NAME = 'SidebarSearch'\nconst DATA_KEY = 'lte.sidebar-search'\nconst JQUERY_NO_CONFLICT = $.fn[NAME]\n\nconst CLASS_NAME_OPEN = 'sidebar-search-open'\nconst CLASS_NAME_ICON_SEARCH = 'fa-search'\nconst CLASS_NAME_ICON_CLOSE = 'fa-times'\nconst CLASS_NAME_HEADER = 'nav-header'\nconst CLASS_NAME_SEARCH_RESULTS = 'sidebar-search-results'\nconst CLASS_NAME_LIST_GROUP = 'list-group'\n\nconst SELECTOR_DATA_WIDGET = '[data-widget=\"sidebar-search\"]'\nconst SELECTOR_SIDEBAR = '.main-sidebar .nav-sidebar'\nconst SELECTOR_NAV_LINK = '.nav-link'\nconst SELECTOR_NAV_TREEVIEW = '.nav-treeview'\nconst SELECTOR_SEARCH_INPUT = `${SELECTOR_DATA_WIDGET} .form-control`\nconst SELECTOR_SEARCH_BUTTON = `${SELECTOR_DATA_WIDGET} .btn`\nconst SELECTOR_SEARCH_ICON = `${SELECTOR_SEARCH_BUTTON} i`\nconst SELECTOR_SEARCH_LIST_GROUP = `.${CLASS_NAME_LIST_GROUP}`\nconst SELECTOR_SEARCH_RESULTS = `.${CLASS_NAME_SEARCH_RESULTS}`\nconst SELECTOR_SEARCH_RESULTS_GROUP = `${SELECTOR_SEARCH_RESULTS} .${CLASS_NAME_LIST_GROUP}`\n\nconst Default = {\n arrowSign: '->',\n minLength: 3,\n maxResults: 7,\n highlightName: true,\n highlightPath: false,\n highlightClass: 'text-light',\n notFoundText: 'No element found!'\n}\n\nconst SearchItems = []\n\n/**\n * Class Definition\n * ====================================================\n */\n\nclass SidebarSearch {\n constructor(_element, _options) {\n this.element = _element\n this.options = $.extend({}, Default, _options)\n this.items = []\n }\n\n // Public\n\n init() {\n if ($(SELECTOR_DATA_WIDGET).length === 0) {\n return\n }\n\n if ($(SELECTOR_DATA_WIDGET).next(SELECTOR_SEARCH_RESULTS).length === 0) {\n $(SELECTOR_DATA_WIDGET).after(\n $('<div />', { class: CLASS_NAME_SEARCH_RESULTS })\n )\n }\n\n if ($(SELECTOR_SEARCH_RESULTS).children(SELECTOR_SEARCH_LIST_GROUP).length === 0) {\n $(SELECTOR_SEARCH_RESULTS).append(\n $('<div />', { class: CLASS_NAME_LIST_GROUP })\n )\n }\n\n this._addNotFound()\n\n $(SELECTOR_SIDEBAR).children().each((i, child) => {\n this._parseItem(child)\n })\n }\n\n search() {\n const searchValue = $(SELECTOR_SEARCH_INPUT).val().toLowerCase()\n if (searchValue.length < this.options.minLength) {\n $(SELECTOR_SEARCH_RESULTS_GROUP).empty()\n this._addNotFound()\n this.close()\n return\n }\n\n const searchResults = SearchItems.filter(item => (item.name).toLowerCase().includes(searchValue))\n const endResults = $(searchResults.slice(0, this.options.maxResults))\n $(SELECTOR_SEARCH_RESULTS_GROUP).empty()\n\n if (endResults.length === 0) {\n this._addNotFound()\n } else {\n endResults.each((i, result) => {\n $(SELECTOR_SEARCH_RESULTS_GROUP).append(this._renderItem(escape(result.name), escape(result.link), result.path))\n })\n }\n\n this.open()\n }\n\n open() {\n $(SELECTOR_DATA_WIDGET).parent().addClass(CLASS_NAME_OPEN)\n $(SELECTOR_SEARCH_ICON).removeClass(CLASS_NAME_ICON_SEARCH).addClass(CLASS_NAME_ICON_CLOSE)\n }\n\n close() {\n $(SELECTOR_DATA_WIDGET).parent().removeClass(CLASS_NAME_OPEN)\n $(SELECTOR_SEARCH_ICON).removeClass(CLASS_NAME_ICON_CLOSE).addClass(CLASS_NAME_ICON_SEARCH)\n }\n\n toggle() {\n if ($(SELECTOR_DATA_WIDGET).parent().hasClass(CLASS_NAME_OPEN)) {\n this.close()\n } else {\n this.open()\n }\n }\n\n // Private\n\n _parseItem(item, path = []) {\n if ($(item).hasClass(CLASS_NAME_HEADER)) {\n return\n }\n\n const itemObject = {}\n const navLink = $(item).clone().find(`> ${SELECTOR_NAV_LINK}`)\n const navTreeview = $(item).clone().find(`> ${SELECTOR_NAV_TREEVIEW}`)\n\n const link = navLink.attr('href')\n const name = navLink.find('p').children().remove().end().text()\n\n itemObject.name = this._trimText(name)\n itemObject.link = link\n itemObject.path = path\n\n if (navTreeview.length === 0) {\n SearchItems.push(itemObject)\n } else {\n const newPath = itemObject.path.concat([itemObject.name])\n navTreeview.children().each((i, child) => {\n this._parseItem(child, newPath)\n })\n }\n }\n\n _trimText(text) {\n return trim(text.replace(/(\\r\\n|\\n|\\r)/gm, ' '))\n }\n\n _renderItem(name, link, path) {\n path = path.join(` ${this.options.arrowSign} `)\n name = unescape(name)\n\n if (this.options.highlightName || this.options.highlightPath) {\n const searchValue = $(SELECTOR_SEARCH_INPUT).val().toLowerCase()\n const regExp = new RegExp(searchValue, 'gi')\n\n if (this.options.highlightName) {\n name = name.replace(\n regExp,\n str => {\n return `<strong class=\"${this.options.highlightClass}\">${str}</strong>`\n }\n )\n }\n\n if (this.options.highlightPath) {\n path = path.replace(\n regExp,\n str => {\n return `<strong class=\"${this.options.highlightClass}\">${str}</strong>`\n }\n )\n }\n }\n\n const groupItemElement = $('<a/>', {\n href: link,\n class: 'list-group-item'\n })\n const searchTitleElement = $('<div/>', {\n class: 'search-title'\n }).html(name)\n const searchPathElement = $('<div/>', {\n class: 'search-path'\n }).html(path)\n\n groupItemElement.append(searchTitleElement).append(searchPathElement)\n\n return groupItemElement\n }\n\n _addNotFound() {\n $(SELECTOR_SEARCH_RESULTS_GROUP).append(this._renderItem(this.options.notFoundText, '#', []))\n }\n\n // Static\n\n static _jQueryInterface(config) {\n let data = $(this).data(DATA_KEY)\n\n if (!data) {\n data = $(this).data()\n }\n\n const _options = $.extend({}, Default, typeof config === 'object' ? config : data)\n const plugin = new SidebarSearch($(this), _options)\n\n $(this).data(DATA_KEY, typeof config === 'object' ? config : data)\n\n if (typeof config === 'string' && /init|toggle|close|open|search/.test(config)) {\n plugin[config]()\n } else {\n plugin.init()\n }\n }\n}\n\n/**\n * Data API\n * ====================================================\n */\n$(document).on('click', SELECTOR_SEARCH_BUTTON, event => {\n event.preventDefault()\n\n SidebarSearch._jQueryInterface.call($(SELECTOR_DATA_WIDGET), 'toggle')\n})\n\n$(document).on('keyup', SELECTOR_SEARCH_INPUT, event => {\n if (event.keyCode == 38) {\n event.preventDefault()\n $(SELECTOR_SEARCH_RESULTS_GROUP).children().last().focus()\n return\n }\n\n if (event.keyCode == 40) {\n event.preventDefault()\n $(SELECTOR_SEARCH_RESULTS_GROUP).children().first().focus()\n return\n }\n\n setTimeout(() => {\n SidebarSearch._jQueryInterface.call($(SELECTOR_DATA_WIDGET), 'search')\n }, 100)\n})\n\n$(document).on('keydown', SELECTOR_SEARCH_RESULTS_GROUP, event => {\n const $focused = $(':focus')\n\n if (event.keyCode == 38) {\n event.preventDefault()\n\n if ($focused.is(':first-child')) {\n $focused.siblings().last().focus()\n } else {\n $focused.prev().focus()\n }\n }\n\n if (event.keyCode == 40) {\n event.preventDefault()\n\n if ($focused.is(':last-child')) {\n $focused.siblings().first().focus()\n } else {\n $focused.next().focus()\n }\n }\n})\n\n$(window).on('load', () => {\n SidebarSearch._jQueryInterface.call($(SELECTOR_DATA_WIDGET), 'init')\n})\n\n/**\n * jQuery API\n * ====================================================\n */\n\n$.fn[NAME] = SidebarSearch._jQueryInterface\n$.fn[NAME].Constructor = SidebarSearch\n$.fn[NAME].noConflict = function () {\n $.fn[NAME] = JQUERY_NO_CONFLICT\n return SidebarSearch._jQueryInterface\n}\n\nexport default SidebarSearch\n","/**\n * --------------------------------------------\n * AdminLTE NavbarSearch.js\n * License MIT\n * --------------------------------------------\n */\n\nimport $ from 'jquery'\n\n/**\n * Constants\n * ====================================================\n */\n\nconst NAME = 'NavbarSearch'\nconst DATA_KEY = 'lte.navbar-search'\nconst JQUERY_NO_CONFLICT = $.fn[NAME]\n\nconst SELECTOR_TOGGLE_BUTTON = '[data-widget=\"navbar-search\"]'\nconst SELECTOR_SEARCH_BLOCK = '.navbar-search-block'\nconst SELECTOR_SEARCH_INPUT = '.form-control'\n\nconst CLASS_NAME_OPEN = 'navbar-search-open'\n\nconst Default = {\n resetOnClose: true,\n target: SELECTOR_SEARCH_BLOCK\n}\n\n/**\n * Class Definition\n * ====================================================\n */\n\nclass NavbarSearch {\n constructor(_element, _options) {\n this._element = _element\n this._config = $.extend({}, Default, _options)\n }\n\n // Public\n\n open() {\n $(this._config.target).css('display', 'flex').hide().fadeIn().addClass(CLASS_NAME_OPEN)\n $(`${this._config.target} ${SELECTOR_SEARCH_INPUT}`).focus()\n }\n\n close() {\n $(this._config.target).fadeOut().removeClass(CLASS_NAME_OPEN)\n\n if (this._config.resetOnClose) {\n $(`${this._config.target} ${SELECTOR_SEARCH_INPUT}`).val('')\n }\n }\n\n toggle() {\n if ($(this._config.target).hasClass(CLASS_NAME_OPEN)) {\n this.close()\n } else {\n this.open()\n }\n }\n\n // Static\n\n static _jQueryInterface(options) {\n return this.each(function () {\n let data = $(this).data(DATA_KEY)\n const _options = $.extend({}, Default, $(this).data())\n\n if (!data) {\n data = new NavbarSearch(this, _options)\n $(this).data(DATA_KEY, data)\n }\n\n if (!/toggle|close|open/.test(options)) {\n throw new Error(`Undefined method ${options}`)\n }\n\n data[options]()\n })\n }\n}\n\n/**\n * Data API\n * ====================================================\n */\n$(document).on('click', SELECTOR_TOGGLE_BUTTON, event => {\n event.preventDefault()\n\n let button = $(event.currentTarget)\n\n if (button.data('widget') !== 'navbar-search') {\n button = button.closest(SELECTOR_TOGGLE_BUTTON)\n }\n\n NavbarSearch._jQueryInterface.call(button, 'toggle')\n})\n\n/**\n * jQuery API\n * ====================================================\n */\n\n$.fn[NAME] = NavbarSearch._jQueryInterface\n$.fn[NAME].Constructor = NavbarSearch\n$.fn[NAME].noConflict = function () {\n $.fn[NAME] = JQUERY_NO_CONFLICT\n return NavbarSearch._jQueryInterface\n}\n\nexport default NavbarSearch\n","/**\n * --------------------------------------------\n * AdminLTE Toasts.js\n * License MIT\n * --------------------------------------------\n */\n\nimport $ from 'jquery'\n\n/**\n * Constants\n * ====================================================\n */\n\nconst NAME = 'Toasts'\nconst DATA_KEY = 'lte.toasts'\nconst EVENT_KEY = `.${DATA_KEY}`\nconst JQUERY_NO_CONFLICT = $.fn[NAME]\n\nconst EVENT_INIT = `init${EVENT_KEY}`\nconst EVENT_CREATED = `created${EVENT_KEY}`\nconst EVENT_REMOVED = `removed${EVENT_KEY}`\n\nconst SELECTOR_CONTAINER_TOP_RIGHT = '#toastsContainerTopRight'\nconst SELECTOR_CONTAINER_TOP_LEFT = '#toastsContainerTopLeft'\nconst SELECTOR_CONTAINER_BOTTOM_RIGHT = '#toastsContainerBottomRight'\nconst SELECTOR_CONTAINER_BOTTOM_LEFT = '#toastsContainerBottomLeft'\n\nconst CLASS_NAME_TOP_RIGHT = 'toasts-top-right'\nconst CLASS_NAME_TOP_LEFT = 'toasts-top-left'\nconst CLASS_NAME_BOTTOM_RIGHT = 'toasts-bottom-right'\nconst CLASS_NAME_BOTTOM_LEFT = 'toasts-bottom-left'\n\nconst POSITION_TOP_RIGHT = 'topRight'\nconst POSITION_TOP_LEFT = 'topLeft'\nconst POSITION_BOTTOM_RIGHT = 'bottomRight'\nconst POSITION_BOTTOM_LEFT = 'bottomLeft'\n\nconst Default = {\n position: POSITION_TOP_RIGHT,\n fixed: true,\n autohide: false,\n autoremove: true,\n delay: 1000,\n fade: true,\n icon: null,\n image: null,\n imageAlt: null,\n imageHeight: '25px',\n title: null,\n subtitle: null,\n close: true,\n body: null,\n class: null\n}\n\n/**\n * Class Definition\n * ====================================================\n */\nclass Toasts {\n constructor(element, config) {\n this._config = config\n this._prepareContainer()\n\n $('body').trigger($.Event(EVENT_INIT))\n }\n\n // Public\n\n create() {\n const toast = $('<div class=\"toast\" role=\"alert\" aria-live=\"assertive\" aria-atomic=\"true\"/>')\n\n toast.data('autohide', this._config.autohide)\n toast.data('animation', this._config.fade)\n\n if (this._config.class) {\n toast.addClass(this._config.class)\n }\n\n if (this._config.delay && this._config.delay != 500) {\n toast.data('delay', this._config.delay)\n }\n\n const toastHeader = $('<div class=\"toast-header\">')\n\n if (this._config.image != null) {\n const toastImage = $('<img />').addClass('rounded mr-2').attr('src', this._config.image).attr('alt', this._config.imageAlt)\n\n if (this._config.imageHeight != null) {\n toastImage.height(this._config.imageHeight).width('auto')\n }\n\n toastHeader.append(toastImage)\n }\n\n if (this._config.icon != null) {\n toastHeader.append($('<i />').addClass('mr-2').addClass(this._config.icon))\n }\n\n if (this._config.title != null) {\n toastHeader.append($('<strong />').addClass('mr-auto').html(this._config.title))\n }\n\n if (this._config.subtitle != null) {\n toastHeader.append($('<small />').html(this._config.subtitle))\n }\n\n if (this._config.close == true) {\n const toastClose = $('<button data-dismiss=\"toast\" />').attr('type', 'button').addClass('ml-2 mb-1 close').attr('aria-label', 'Close').append('<span aria-hidden=\"true\">&times;</span>')\n\n if (this._config.title == null) {\n toastClose.toggleClass('ml-2 ml-auto')\n }\n\n toastHeader.append(toastClose)\n }\n\n toast.append(toastHeader)\n\n if (this._config.body != null) {\n toast.append($('<div class=\"toast-body\" />').html(this._config.body))\n }\n\n $(this._getContainerId()).prepend(toast)\n\n const $body = $('body')\n\n $body.trigger($.Event(EVENT_CREATED))\n toast.toast('show')\n\n if (this._config.autoremove) {\n toast.on('hidden.bs.toast', function () {\n $(this).delay(200).remove()\n $body.trigger($.Event(EVENT_REMOVED))\n })\n }\n }\n\n // Static\n\n _getContainerId() {\n if (this._config.position == POSITION_TOP_RIGHT) {\n return SELECTOR_CONTAINER_TOP_RIGHT\n }\n\n if (this._config.position == POSITION_TOP_LEFT) {\n return SELECTOR_CONTAINER_TOP_LEFT\n }\n\n if (this._config.position == POSITION_BOTTOM_RIGHT) {\n return SELECTOR_CONTAINER_BOTTOM_RIGHT\n }\n\n if (this._config.position == POSITION_BOTTOM_LEFT) {\n return SELECTOR_CONTAINER_BOTTOM_LEFT\n }\n }\n\n _prepareContainer() {\n if ($(this._getContainerId()).length === 0) {\n const container = $('<div />').attr('id', this._getContainerId().replace('#', ''))\n if (this._config.position == POSITION_TOP_RIGHT) {\n container.addClass(CLASS_NAME_TOP_RIGHT)\n } else if (this._config.position == POSITION_TOP_LEFT) {\n container.addClass(CLASS_NAME_TOP_LEFT)\n } else if (this._config.position == POSITION_BOTTOM_RIGHT) {\n container.addClass(CLASS_NAME_BOTTOM_RIGHT)\n } else if (this._config.position == POSITION_BOTTOM_LEFT) {\n container.addClass(CLASS_NAME_BOTTOM_LEFT)\n }\n\n $('body').append(container)\n }\n\n if (this._config.fixed) {\n $(this._getContainerId()).addClass('fixed')\n } else {\n $(this._getContainerId()).removeClass('fixed')\n }\n }\n\n // Static\n\n static _jQueryInterface(option, config) {\n return this.each(function () {\n const _options = $.extend({}, Default, config)\n const toast = new Toasts($(this), _options)\n\n if (option === 'create') {\n toast[option]()\n }\n })\n }\n}\n\n/**\n * jQuery API\n * ====================================================\n */\n\n$.fn[NAME] = Toasts._jQueryInterface\n$.fn[NAME].Constructor = Toasts\n$.fn[NAME].noConflict = function () {\n $.fn[NAME] = JQUERY_NO_CONFLICT\n return Toasts._jQueryInterface\n}\n\nexport default Toasts\n","/**\n * --------------------------------------------\n * AdminLTE TodoList.js\n * License MIT\n * --------------------------------------------\n */\n\nimport $ from 'jquery'\n\n/**\n * Constants\n * ====================================================\n */\n\nconst NAME = 'TodoList'\nconst DATA_KEY = 'lte.todolist'\nconst JQUERY_NO_CONFLICT = $.fn[NAME]\n\nconst SELECTOR_DATA_TOGGLE = '[data-widget=\"todo-list\"]'\nconst CLASS_NAME_TODO_LIST_DONE = 'done'\n\nconst Default = {\n onCheck(item) {\n return item\n },\n onUnCheck(item) {\n return item\n }\n}\n\n/**\n * Class Definition\n * ====================================================\n */\n\nclass TodoList {\n constructor(element, config) {\n this._config = config\n this._element = element\n\n this._init()\n }\n\n // Public\n\n toggle(item) {\n item.parents('li').toggleClass(CLASS_NAME_TODO_LIST_DONE)\n if (!$(item).prop('checked')) {\n this.unCheck($(item))\n return\n }\n\n this.check(item)\n }\n\n check(item) {\n this._config.onCheck.call(item)\n }\n\n unCheck(item) {\n this._config.onUnCheck.call(item)\n }\n\n // Private\n\n _init() {\n const $toggleSelector = this._element\n\n $toggleSelector.find('input:checkbox:checked').parents('li').toggleClass(CLASS_NAME_TODO_LIST_DONE)\n $toggleSelector.on('change', 'input:checkbox', event => {\n this.toggle($(event.target))\n })\n }\n\n // Static\n\n static _jQueryInterface(config) {\n return this.each(function () {\n let data = $(this).data(DATA_KEY)\n\n if (!data) {\n data = $(this).data()\n }\n\n const _options = $.extend({}, Default, typeof config === 'object' ? config : data)\n const plugin = new TodoList($(this), _options)\n\n $(this).data(DATA_KEY, typeof config === 'object' ? config : data)\n\n if (config === 'init') {\n plugin[config]()\n }\n })\n }\n}\n\n/**\n * Data API\n * ====================================================\n */\n\n$(window).on('load', () => {\n TodoList._jQueryInterface.call($(SELECTOR_DATA_TOGGLE))\n})\n\n/**\n * jQuery API\n * ====================================================\n */\n\n$.fn[NAME] = TodoList._jQueryInterface\n$.fn[NAME].Constructor = TodoList\n$.fn[NAME].noConflict = function () {\n $.fn[NAME] = JQUERY_NO_CONFLICT\n return TodoList._jQueryInterface\n}\n\nexport default TodoList\n","/**\n * --------------------------------------------\n * AdminLTE Treeview.js\n * License MIT\n * --------------------------------------------\n */\n\nimport $ from 'jquery'\n\n/**\n * Constants\n * ====================================================\n */\n\nconst NAME = 'Treeview'\nconst DATA_KEY = 'lte.treeview'\nconst EVENT_KEY = `.${DATA_KEY}`\nconst JQUERY_NO_CONFLICT = $.fn[NAME]\n\nconst EVENT_EXPANDED = `expanded${EVENT_KEY}`\nconst EVENT_COLLAPSED = `collapsed${EVENT_KEY}`\nconst EVENT_LOAD_DATA_API = `load${EVENT_KEY}`\n\nconst SELECTOR_LI = '.nav-item'\nconst SELECTOR_LINK = '.nav-link'\nconst SELECTOR_TREEVIEW_MENU = '.nav-treeview'\nconst SELECTOR_OPEN = '.menu-open'\nconst SELECTOR_DATA_WIDGET = '[data-widget=\"treeview\"]'\n\nconst CLASS_NAME_OPEN = 'menu-open'\nconst CLASS_NAME_IS_OPENING = 'menu-is-opening'\nconst CLASS_NAME_SIDEBAR_COLLAPSED = 'sidebar-collapse'\n\nconst Default = {\n trigger: `${SELECTOR_DATA_WIDGET} ${SELECTOR_LINK}`,\n animationSpeed: 300,\n accordion: true,\n expandSidebar: false,\n sidebarButtonSelector: '[data-widget=\"pushmenu\"]'\n}\n\n/**\n * Class Definition\n * ====================================================\n */\nclass Treeview {\n constructor(element, config) {\n this._config = config\n this._element = element\n }\n\n // Public\n\n init() {\n $(`${SELECTOR_LI}${SELECTOR_OPEN} ${SELECTOR_TREEVIEW_MENU}${SELECTOR_OPEN}`).css('display', 'block')\n this._setupListeners()\n }\n\n expand(treeviewMenu, parentLi) {\n const expandedEvent = $.Event(EVENT_EXPANDED)\n\n if (this._config.accordion) {\n const openMenuLi = parentLi.siblings(SELECTOR_OPEN).first()\n const openTreeview = openMenuLi.find(SELECTOR_TREEVIEW_MENU).first()\n this.collapse(openTreeview, openMenuLi)\n }\n\n parentLi.addClass(CLASS_NAME_IS_OPENING)\n treeviewMenu.stop().slideDown(this._config.animationSpeed, () => {\n parentLi.addClass(CLASS_NAME_OPEN)\n $(this._element).trigger(expandedEvent)\n })\n\n if (this._config.expandSidebar) {\n this._expandSidebar()\n }\n }\n\n collapse(treeviewMenu, parentLi) {\n const collapsedEvent = $.Event(EVENT_COLLAPSED)\n\n parentLi.removeClass(`${CLASS_NAME_IS_OPENING} ${CLASS_NAME_OPEN}`)\n treeviewMenu.stop().slideUp(this._config.animationSpeed, () => {\n $(this._element).trigger(collapsedEvent)\n treeviewMenu.find(`${SELECTOR_OPEN} > ${SELECTOR_TREEVIEW_MENU}`).slideUp()\n treeviewMenu.find(SELECTOR_OPEN).removeClass(CLASS_NAME_OPEN)\n })\n }\n\n toggle(event) {\n const $relativeTarget = $(event.currentTarget)\n const $parent = $relativeTarget.parent()\n\n let treeviewMenu = $parent.find(`> ${SELECTOR_TREEVIEW_MENU}`)\n\n if (!treeviewMenu.is(SELECTOR_TREEVIEW_MENU)) {\n if (!$parent.is(SELECTOR_LI)) {\n treeviewMenu = $parent.parent().find(`> ${SELECTOR_TREEVIEW_MENU}`)\n }\n\n if (!treeviewMenu.is(SELECTOR_TREEVIEW_MENU)) {\n return\n }\n }\n\n event.preventDefault()\n\n const parentLi = $relativeTarget.parents(SELECTOR_LI).first()\n const isOpen = parentLi.hasClass(CLASS_NAME_OPEN)\n\n if (isOpen) {\n this.collapse($(treeviewMenu), parentLi)\n } else {\n this.expand($(treeviewMenu), parentLi)\n }\n }\n\n // Private\n\n _setupListeners() {\n const elementId = this._element.attr('id') !== undefined ? `#${this._element.attr('id')}` : ''\n $(document).on('click', `${elementId}${this._config.trigger}`, event => {\n this.toggle(event)\n })\n }\n\n _expandSidebar() {\n if ($('body').hasClass(CLASS_NAME_SIDEBAR_COLLAPSED)) {\n $(this._config.sidebarButtonSelector).PushMenu('expand')\n }\n }\n\n // Static\n\n static _jQueryInterface(config) {\n return this.each(function () {\n let data = $(this).data(DATA_KEY)\n const _options = $.extend({}, Default, $(this).data())\n\n if (!data) {\n data = new Treeview($(this), _options)\n $(this).data(DATA_KEY, data)\n }\n\n if (config === 'init') {\n data[config]()\n }\n })\n }\n}\n\n/**\n * Data API\n * ====================================================\n */\n\n$(window).on(EVENT_LOAD_DATA_API, () => {\n $(SELECTOR_DATA_WIDGET).each(function () {\n Treeview._jQueryInterface.call($(this), 'init')\n })\n})\n\n/**\n * jQuery API\n * ====================================================\n */\n\n$.fn[NAME] = Treeview._jQueryInterface\n$.fn[NAME].Constructor = Treeview\n$.fn[NAME].noConflict = function () {\n $.fn[NAME] = JQUERY_NO_CONFLICT\n return Treeview._jQueryInterface\n}\n\nexport default Treeview\n"],"names":["NAME","DATA_KEY","EVENT_KEY","JQUERY_NO_CONFLICT","$","fn","EVENT_LOADED","EVENT_OVERLAY_ADDED","EVENT_OVERLAY_REMOVED","CLASS_NAME_CARD","SELECTOR_CARD","SELECTOR_DATA_REFRESH","Default","source","sourceSelector","params","trigger","content","loadInContent","loadOnInit","responseType","overlayTemplate","onLoadStart","onLoadDone","response","CardRefresh","element","settings","_element","_parent","parents","first","_settings","extend","_overlay","hasClass","Error","load","_addOverlay","call","get","find","html","_removeOverlay","Event","append","remove","_init","on","_jQueryInterface","config","data","_options","test","document","event","preventDefault","each","Constructor","noConflict","EVENT_EXPANDED","EVENT_COLLAPSED","EVENT_MAXIMIZED","EVENT_MINIMIZED","EVENT_REMOVED","CLASS_NAME_COLLAPSED","CLASS_NAME_COLLAPSING","CLASS_NAME_EXPANDING","CLASS_NAME_WAS_COLLAPSED","CLASS_NAME_MAXIMIZED","SELECTOR_DATA_REMOVE","SELECTOR_DATA_COLLAPSE","SELECTOR_DATA_MAXIMIZE","SELECTOR_CARD_HEADER","SELECTOR_CARD_BODY","SELECTOR_CARD_FOOTER","animationSpeed","collapseTrigger","removeTrigger","maximizeTrigger","collapseIcon","expandIcon","maximizeIcon","minimizeIcon","CardWidget","collapse","addClass","children","slideUp","removeClass","expand","slideDown","toggle","maximize","css","height","width","transition","delay","queue","$element","dequeue","minimize","style","toggleMaximize","card","click","SELECTOR_CONTROL_SIDEBAR","SELECTOR_CONTROL_SIDEBAR_CONTENT","SELECTOR_DATA_TOGGLE","SELECTOR_HEADER","SELECTOR_FOOTER","CLASS_NAME_CONTROL_SIDEBAR_ANIMATE","CLASS_NAME_CONTROL_SIDEBAR_OPEN","CLASS_NAME_CONTROL_SIDEBAR_SLIDE","CLASS_NAME_LAYOUT_FIXED","CLASS_NAME_NAVBAR_FIXED","CLASS_NAME_NAVBAR_SM_FIXED","CLASS_NAME_NAVBAR_MD_FIXED","CLASS_NAME_NAVBAR_LG_FIXED","CLASS_NAME_NAVBAR_XL_FIXED","CLASS_NAME_FOOTER_FIXED","CLASS_NAME_FOOTER_SM_FIXED","CLASS_NAME_FOOTER_MD_FIXED","CLASS_NAME_FOOTER_LG_FIXED","CLASS_NAME_FOOTER_XL_FIXED","controlsidebarSlide","scrollbarTheme","scrollbarAutoHide","target","ControlSidebar","_config","$body","$html","hide","show","_fixHeight","_fixScrollHeight","shouldClose","shouldNotHideAll","not","window","resize","scroll","shouldFixHeight","_isNavbarFixed","_isFooterFixed","$controlSidebar","heights","header","outerHeight","footer","positions","bottom","Math","abs","scrollTop","top","navbarFixed","footerFixed","$controlsidebarContent","attr","sidebarHeight","overlayScrollbars","className","sizeAutoCapable","scrollbars","autoHide","clickScrolling","operation","ready","EVENT_TOGGLED","SELECTOR_DIRECT_CHAT","CLASS_NAME_DIRECT_CHAT_OPEN","DirectChat","toggleClass","SELECTOR_NAVBAR","SELECTOR_DROPDOWN_MENU","SELECTOR_DROPDOWN_MENU_ACTIVE","SELECTOR_DROPDOWN_TOGGLE","CLASS_NAME_DROPDOWN_RIGHT","CLASS_NAME_DROPDOWN_SUBMENU","Dropdown","toggleSubmenu","siblings","next","fixPosition","length","left","right","offset","visiblePart","stopPropagation","parent","setTimeout","SELECTOR_TABLE","SELECTOR_EXPANDABLE_BODY","SELECTOR_ARIA_ATTR","ExpandableTable","options","init","_","$header","$type","toggleRow","time","stop","SELECTOR_DATA_WIDGET","SELECTOR_ICON","Fullscreen","fullscreenElement","mozFullScreenElement","webkitFullscreenElement","msFullscreenElement","windowed","fullscreen","documentElement","requestFullscreen","webkitRequestFullscreen","msRequestFullscreen","exitFullscreen","webkitExitFullscreen","msExitFullscreen","plugin","SELECTOR_DATA_TOGGLE_CLOSE","SELECTOR_DATA_TOGGLE_SCROLL_LEFT","SELECTOR_DATA_TOGGLE_SCROLL_RIGHT","SELECTOR_DATA_TOGGLE_FULLSCREEN","SELECTOR_CONTENT_WRAPPER","SELECTOR_CONTENT_IFRAME","SELECTOR_TAB_NAV","SELECTOR_TAB_NAVBAR_NAV","SELECTOR_TAB_NAVBAR_NAV_ITEM","SELECTOR_TAB_NAVBAR_NAV_LINK","SELECTOR_TAB_CONTENT","SELECTOR_TAB_EMPTY","SELECTOR_TAB_LOADING","SELECTOR_TAB_PANE","SELECTOR_SIDEBAR_MENU_ITEM","SELECTOR_SIDEBAR_SEARCH_ITEM","SELECTOR_HEADER_MENU_ITEM","SELECTOR_HEADER_DROPDOWN_ITEM","CLASS_NAME_IFRAME_MODE","CLASS_NAME_FULLSCREEN_MODE","onTabClick","item","onTabChanged","onTabCreated","autoIframeMode","autoItemActive","autoShowNewTab","allowDuplicates","loadingScreen","useNavbarItems","scrollOffset","scrollBehaviorSwap","iconMaximize","iconMinimize","IFrame","createTab","title","link","uniqueName","autoOpen","tabId","navId","floor","random","newNavItem","unescape","escape","newTabItem","$loadingScreen","fadeIn","switchTab","fadeOut","openTabSidebar","$item","clone","undefined","text","replace","tab","_setItemActive","removeActiveTab","type","$navClose","$navItem","$navItemParent","navItemIndex","index","prevNavItemIndex","eq","toggleFullscreen","frameElement","$el","_setupListeners","_navScroll","leftPos","scrollLeft","animate","e","nodeName","offsetParent","attributes","nodeValue","mousedown","mousedownInterval","clearInterval","setInterval","href","$headerMenuItem","$headerDropdownItem","$sidebarMenuItem","i","prevAll","tabEmpty","windowHeight","navbarHeight","contentWrapperHeight","parseFloat","args","SELECTOR_MAIN_SIDEBAR","SELECTOR_SIDEBAR","SELECTOR_CONTENT","SELECTOR_CONTROL_SIDEBAR_BTN","SELECTOR_PUSHMENU_BTN","SELECTOR_LOGIN_BOX","SELECTOR_REGISTER_BOX","SELECTOR_PRELOADER","CLASS_NAME_SIDEBAR_COLLAPSED","CLASS_NAME_SIDEBAR_FOCUSED","CLASS_NAME_CONTROL_SIDEBAR_SLIDE_OPEN","panelAutoHeight","panelAutoHeightMode","preloadDuration","loginRegisterAutoHeight","Layout","fixLayoutHeight","extra","controlSidebar","sidebar","max","_max","$contentSelector","fixLoginRegisterHeight","$selector","boxHeight","parseInt","$preloader","numbers","Object","keys","forEach","key","EVENT_SHOWN","SELECTOR_TOGGLE_BUTTON","SELECTOR_BODY","SELECTOR_OVERLAY","SELECTOR_WRAPPER","CLASS_NAME_OPEN","CLASS_NAME_IS_OPENING","CLASS_NAME_CLOSED","autoCollapseSize","enableRemember","noTransitionAfterReload","PushMenu","$bodySelector","localStorage","setItem","autoCollapse","remember","toggleState","getItem","overlay","id","button","currentTarget","closest","CLASS_NAME_ICON_SEARCH","CLASS_NAME_ICON_CLOSE","CLASS_NAME_HEADER","CLASS_NAME_SEARCH_RESULTS","CLASS_NAME_LIST_GROUP","SELECTOR_NAV_LINK","SELECTOR_NAV_TREEVIEW","SELECTOR_SEARCH_INPUT","SELECTOR_SEARCH_BUTTON","SELECTOR_SEARCH_ICON","SELECTOR_SEARCH_LIST_GROUP","SELECTOR_SEARCH_RESULTS","SELECTOR_SEARCH_RESULTS_GROUP","arrowSign","minLength","maxResults","highlightName","highlightPath","highlightClass","notFoundText","SearchItems","SidebarSearch","items","after","class","_addNotFound","child","_parseItem","search","searchValue","val","toLowerCase","empty","close","searchResults","filter","name","includes","endResults","slice","result","_renderItem","path","open","itemObject","navLink","navTreeview","end","_trimText","push","newPath","concat","trim","join","regExp","RegExp","str","groupItemElement","searchTitleElement","searchPathElement","keyCode","last","focus","$focused","is","prev","SELECTOR_SEARCH_BLOCK","resetOnClose","NavbarSearch","EVENT_INIT","EVENT_CREATED","SELECTOR_CONTAINER_TOP_RIGHT","SELECTOR_CONTAINER_TOP_LEFT","SELECTOR_CONTAINER_BOTTOM_RIGHT","SELECTOR_CONTAINER_BOTTOM_LEFT","CLASS_NAME_TOP_RIGHT","CLASS_NAME_TOP_LEFT","CLASS_NAME_BOTTOM_RIGHT","CLASS_NAME_BOTTOM_LEFT","POSITION_TOP_RIGHT","POSITION_TOP_LEFT","POSITION_BOTTOM_RIGHT","POSITION_BOTTOM_LEFT","position","fixed","autohide","autoremove","fade","icon","image","imageAlt","imageHeight","subtitle","body","Toasts","_prepareContainer","create","toast","toastHeader","toastImage","toastClose","_getContainerId","prepend","container","option","CLASS_NAME_TODO_LIST_DONE","onCheck","onUnCheck","TodoList","prop","unCheck","check","$toggleSelector","EVENT_LOAD_DATA_API","SELECTOR_LI","SELECTOR_LINK","SELECTOR_TREEVIEW_MENU","SELECTOR_OPEN","accordion","expandSidebar","sidebarButtonSelector","Treeview","treeviewMenu","parentLi","expandedEvent","openMenuLi","openTreeview","_expandSidebar","collapsedEvent","$relativeTarget","$parent","isOpen","elementId"],"mappings":";;;;;;;;;;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,CAACyI,MAAD,CAAD,CAAU7F,EAAV,CAAa4b,mBAAb,EAAkC,YAAM;EACtCxe,EAAAA,qBAAC,CAAC2M,oBAAD,CAAD,CAAwBtJ,IAAxB,CAA6B,YAAY;EACvC2b,IAAAA,QAAQ,CAACnc,gBAAT,CAA0BV,IAA1B,CAA+BnC,qBAAC,CAAC,IAAD,CAAhC,EAAwC,MAAxC;EACD,GAFD;EAGD,CAJD;EAMA;EACA;EACA;EACA;;AAEAA,uBAAC,CAACC,EAAF,CAAKL,IAAL,IAAaof,QAAQ,CAACnc,gBAAtB;AACA7C,uBAAC,CAACC,EAAF,CAAKL,IAAL,EAAW0D,WAAX,GAAyB0b,QAAzB;;AACAhf,uBAAC,CAACC,EAAF,CAAKL,IAAL,EAAW2D,UAAX,GAAwB,YAAY;EAClCvD,EAAAA,qBAAC,CAACC,EAAF,CAAKL,IAAL,IAAaG,kBAAb;EACA,SAAOif,QAAQ,CAACnc,gBAAhB;EACD,CAHD;;;;;;;;;;;;;;;;;;;;;;;;"} \ No newline at end of file
diff --git a/ogcp/static/AdminLTE/dist/js/adminlte.min.js b/ogcp/static/AdminLTE/dist/js/adminlte.min.js
new file mode 100644
index 0000000..7626816
--- /dev/null
+++ b/ogcp/static/AdminLTE/dist/js/adminlte.min.js
@@ -0,0 +1,7 @@
+/*!
+ * AdminLTE v3.1.0 (https://adminlte.io)
+ * Copyright 2014-2021 Colorlib <https://colorlib.com>
+ * Licensed under MIT (https://github.com/ColorlibHQ/AdminLTE/blob/master/LICENSE)
+ */
+!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("jquery")):"function"==typeof define&&define.amd?define(["exports","jquery"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).adminlte={},e.jQuery)}(this,(function(e,t){"use strict";function a(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var n=a(t),i="CardRefresh",o="lte.cardrefresh",s=n.default.fn[i],l="card",r='[data-card-widget="card-refresh"]',d={source:"",sourceSelector:"",params:{},trigger:r,content:".card-body",loadInContent:!0,loadOnInit:!0,responseType:"",overlayTemplate:'<div class="overlay"><i class="fas fa-2x fa-sync-alt fa-spin"></i></div>',onLoadStart:function(){},onLoadDone:function(e){return e}},f=function(){function e(e,t){if(this._element=e,this._parent=e.parents(".card").first(),this._settings=n.default.extend({},d,t),this._overlay=n.default(this._settings.overlayTemplate),e.hasClass(l)&&(this._parent=e),""===this._settings.source)throw new Error("Source url was not defined. Please specify a url in your CardRefresh source option.")}var t=e.prototype;return t.load=function(){var e=this;this._addOverlay(),this._settings.onLoadStart.call(n.default(this)),n.default.get(this._settings.source,this._settings.params,(function(t){e._settings.loadInContent&&(""!==e._settings.sourceSelector&&(t=n.default(t).find(e._settings.sourceSelector).html()),e._parent.find(e._settings.content).html(t)),e._settings.onLoadDone.call(n.default(e),t),e._removeOverlay()}),""!==this._settings.responseType&&this._settings.responseType),n.default(this._element).trigger(n.default.Event("loaded.lte.cardrefresh"))},t._addOverlay=function(){this._parent.append(this._overlay),n.default(this._element).trigger(n.default.Event("overlay.added.lte.cardrefresh"))},t._removeOverlay=function(){this._parent.find(this._overlay).remove(),n.default(this._element).trigger(n.default.Event("overlay.removed.lte.cardrefresh"))},t._init=function(){var e=this;n.default(this).find(this._settings.trigger).on("click",(function(){e.load()})),this._settings.loadOnInit&&this.load()},e._jQueryInterface=function(t){var a=n.default(this).data(o),i=n.default.extend({},d,n.default(this).data());a||(a=new e(n.default(this),i),n.default(this).data(o,"string"==typeof t?a:t)),"string"==typeof t&&/load/.test(t)?a[t]():a._init(n.default(this))},e}();n.default(document).on("click",r,(function(e){e&&e.preventDefault(),f._jQueryInterface.call(n.default(this),"load")})),n.default((function(){n.default(r).each((function(){f._jQueryInterface.call(n.default(this))}))})),n.default.fn[i]=f._jQueryInterface,n.default.fn[i].Constructor=f,n.default.fn[i].noConflict=function(){return n.default.fn[i]=s,f._jQueryInterface};var u="CardWidget",c="lte.cardwidget",h=n.default.fn[u],g="card",p="collapsed-card",m="collapsing-card",v="expanding-card",_="was-collapsed",b="maximized-card",y='[data-card-widget="remove"]',C='[data-card-widget="collapse"]',w='[data-card-widget="maximize"]',x={animationSpeed:"normal",collapseTrigger:C,removeTrigger:y,maximizeTrigger:w,collapseIcon:"fa-minus",expandIcon:"fa-plus",maximizeIcon:"fa-expand",minimizeIcon:"fa-compress"},I=function(){function e(e,t){this._element=e,this._parent=e.parents(".card").first(),e.hasClass(g)&&(this._parent=e),this._settings=n.default.extend({},x,t)}var t=e.prototype;return t.collapse=function(){var e=this;this._parent.addClass(m).children(".card-body, .card-footer").slideUp(this._settings.animationSpeed,(function(){e._parent.addClass(p).removeClass(m)})),this._parent.find("> .card-header "+this._settings.collapseTrigger+" ."+this._settings.collapseIcon).addClass(this._settings.expandIcon).removeClass(this._settings.collapseIcon),this._element.trigger(n.default.Event("collapsed.lte.cardwidget"),this._parent)},t.expand=function(){var e=this;this._parent.addClass(v).children(".card-body, .card-footer").slideDown(this._settings.animationSpeed,(function(){e._parent.removeClass(p).removeClass(v)})),this._parent.find("> .card-header "+this._settings.collapseTrigger+" ."+this._settings.expandIcon).addClass(this._settings.collapseIcon).removeClass(this._settings.expandIcon),this._element.trigger(n.default.Event("expanded.lte.cardwidget"),this._parent)},t.remove=function(){this._parent.slideUp(),this._element.trigger(n.default.Event("removed.lte.cardwidget"),this._parent)},t.toggle=function(){this._parent.hasClass(p)?this.expand():this.collapse()},t.maximize=function(){this._parent.find(this._settings.maximizeTrigger+" ."+this._settings.maximizeIcon).addClass(this._settings.minimizeIcon).removeClass(this._settings.maximizeIcon),this._parent.css({height:this._parent.height(),width:this._parent.width(),transition:"all .15s"}).delay(150).queue((function(){var e=n.default(this);e.addClass(b),n.default("html").addClass(b),e.hasClass(p)&&e.addClass(_),e.dequeue()})),this._element.trigger(n.default.Event("maximized.lte.cardwidget"),this._parent)},t.minimize=function(){this._parent.find(this._settings.maximizeTrigger+" ."+this._settings.minimizeIcon).addClass(this._settings.maximizeIcon).removeClass(this._settings.minimizeIcon),this._parent.css("cssText","height: "+this._parent[0].style.height+" !important; width: "+this._parent[0].style.width+" !important; transition: all .15s;").delay(10).queue((function(){var e=n.default(this);e.removeClass(b),n.default("html").removeClass(b),e.css({height:"inherit",width:"inherit"}),e.hasClass(_)&&e.removeClass(_),e.dequeue()})),this._element.trigger(n.default.Event("minimized.lte.cardwidget"),this._parent)},t.toggleMaximize=function(){this._parent.hasClass(b)?this.minimize():this.maximize()},t._init=function(e){var t=this;this._parent=e,n.default(this).find(this._settings.collapseTrigger).click((function(){t.toggle()})),n.default(this).find(this._settings.maximizeTrigger).click((function(){t.toggleMaximize()})),n.default(this).find(this._settings.removeTrigger).click((function(){t.remove()}))},e._jQueryInterface=function(t){var a=n.default(this).data(c),i=n.default.extend({},x,n.default(this).data());a||(a=new e(n.default(this),i),n.default(this).data(c,"string"==typeof t?a:t)),"string"==typeof t&&/collapse|expand|remove|toggle|maximize|minimize|toggleMaximize/.test(t)?a[t]():"object"==typeof t&&a._init(n.default(this))},e}();n.default(document).on("click",C,(function(e){e&&e.preventDefault(),I._jQueryInterface.call(n.default(this),"toggle")})),n.default(document).on("click",y,(function(e){e&&e.preventDefault(),I._jQueryInterface.call(n.default(this),"remove")})),n.default(document).on("click",w,(function(e){e&&e.preventDefault(),I._jQueryInterface.call(n.default(this),"toggleMaximize")})),n.default.fn[u]=I._jQueryInterface,n.default.fn[u].Constructor=I,n.default.fn[u].noConflict=function(){return n.default.fn[u]=h,I._jQueryInterface};var T="ControlSidebar",j="lte.controlsidebar",S=n.default.fn[T],k=".control-sidebar",Q=".control-sidebar-content",H='[data-widget="control-sidebar"]',z=".main-header",F=".main-footer",E="control-sidebar-animate",D="control-sidebar-open",L="control-sidebar-slide-open",A="layout-fixed",R={controlsidebarSlide:!0,scrollbarTheme:"os-theme-light",scrollbarAutoHide:"l",target:k},M=function(){function e(e,t){this._element=e,this._config=t}var t=e.prototype;return t.collapse=function(){var e=n.default("body"),t=n.default("html"),a=this._config.target;this._config.controlsidebarSlide?(t.addClass(E),e.removeClass(L).delay(300).queue((function(){n.default(a).hide(),t.removeClass(E),n.default(this).dequeue()}))):e.removeClass(D),n.default(this._element).trigger(n.default.Event("collapsed.lte.controlsidebar"))},t.show=function(){var e=n.default("body"),t=n.default("html");this._config.controlsidebarSlide?(t.addClass(E),n.default(this._config.target).show().delay(10).queue((function(){e.addClass(L).delay(300).queue((function(){t.removeClass(E),n.default(this).dequeue()})),n.default(this).dequeue()}))):e.addClass(D),this._fixHeight(),this._fixScrollHeight(),n.default(this._element).trigger(n.default.Event("expanded.lte.controlsidebar"))},t.toggle=function(){var e=n.default("body");e.hasClass(D)||e.hasClass(L)?this.collapse():this.show()},t._init=function(){var e=this,t=n.default("body");t.hasClass(D)||t.hasClass(L)?(n.default(k).not(this._config.target).hide(),n.default(this._config.target).css("display","block")):n.default(k).hide(),this._fixHeight(),this._fixScrollHeight(),n.default(window).resize((function(){e._fixHeight(),e._fixScrollHeight()})),n.default(window).scroll((function(){var t=n.default("body");(t.hasClass(D)||t.hasClass(L))&&e._fixScrollHeight()}))},t._isNavbarFixed=function(){var e=n.default("body");return e.hasClass("layout-navbar-fixed")||e.hasClass("layout-sm-navbar-fixed")||e.hasClass("layout-md-navbar-fixed")||e.hasClass("layout-lg-navbar-fixed")||e.hasClass("layout-xl-navbar-fixed")},t._isFooterFixed=function(){var e=n.default("body");return e.hasClass("layout-footer-fixed")||e.hasClass("layout-sm-footer-fixed")||e.hasClass("layout-md-footer-fixed")||e.hasClass("layout-lg-footer-fixed")||e.hasClass("layout-xl-footer-fixed")},t._fixScrollHeight=function(){var e=n.default("body"),t=n.default(this._config.target);if(e.hasClass(A)){var a={scroll:n.default(document).height(),window:n.default(window).height(),header:n.default(z).outerHeight(),footer:n.default(F).outerHeight()},i=Math.abs(a.window+n.default(window).scrollTop()-a.scroll),o=n.default(window).scrollTop(),s=this._isNavbarFixed()&&"fixed"===n.default(z).css("position"),l=this._isFooterFixed()&&"fixed"===n.default(F).css("position"),r=n.default(this._config.target+", "+this._config.target+" "+Q);if(0===o&&0===i)t.css({bottom:a.footer,top:a.header}),r.css("height",a.window-(a.header+a.footer));else if(i<=a.footer)if(!1===l){var d=a.header-o;t.css("bottom",a.footer-i).css("top",d>=0?d:0),r.css("height",a.window-(a.footer-i))}else t.css("bottom",a.footer);else o<=a.header?!1===s?(t.css("top",a.header-o),r.css("height",a.window-(a.header-o))):t.css("top",a.header):!1===s?(t.css("top",0),r.css("height",a.window)):t.css("top",a.header);l&&s?(r.css("height","100%"),t.css("height","")):(l||s)&&(r.css("height","100%"),r.css("height",""))}},t._fixHeight=function(){var e=n.default("body"),t=n.default(this._config.target+" "+Q);if(e.hasClass(A)){var a=n.default(window).height(),i=n.default(z).outerHeight(),o=n.default(F).outerHeight(),s=a-i;this._isFooterFixed()&&"fixed"===n.default(F).css("position")&&(s=a-i-o),t.css("height",s),"undefined"!=typeof n.default.fn.overlayScrollbars&&t.overlayScrollbars({className:this._config.scrollbarTheme,sizeAutoCapable:!0,scrollbars:{autoHide:this._config.scrollbarAutoHide,clickScrolling:!0}})}else t.attr("style","")},e._jQueryInterface=function(t){return this.each((function(){var a=n.default(this).data(j),i=n.default.extend({},R,n.default(this).data());if(a||(a=new e(this,i),n.default(this).data(j,a)),"undefined"===a[t])throw new Error(t+" is not a function");a[t]()}))},e}();n.default(document).on("click",H,(function(e){e.preventDefault(),M._jQueryInterface.call(n.default(this),"toggle")})),n.default(document).ready((function(){M._jQueryInterface.call(n.default(H),"_init")})),n.default.fn[T]=M._jQueryInterface,n.default.fn[T].Constructor=M,n.default.fn[T].noConflict=function(){return n.default.fn[T]=S,M._jQueryInterface};var q="DirectChat",N="lte.directchat",O=n.default.fn[q],P=function(){function e(e){this._element=e}return e.prototype.toggle=function(){n.default(this._element).parents(".direct-chat").first().toggleClass("direct-chat-contacts-open"),n.default(this._element).trigger(n.default.Event("toggled.lte.directchat"))},e._jQueryInterface=function(t){return this.each((function(){var a=n.default(this).data(N);a||(a=new e(n.default(this)),n.default(this).data(N,a)),a[t]()}))},e}();n.default(document).on("click",'[data-widget="chat-pane-toggle"]',(function(e){e&&e.preventDefault(),P._jQueryInterface.call(n.default(this),"toggle")})),n.default.fn[q]=P._jQueryInterface,n.default.fn[q].Constructor=P,n.default.fn[q].noConflict=function(){return n.default.fn[q]=O,P._jQueryInterface};var U="Dropdown",B="lte.dropdown",$=n.default.fn[U],W=".dropdown-menu",V={},G=function(){function e(e,t){this._config=t,this._element=e}var t=e.prototype;return t.toggleSubmenu=function(){this._element.siblings().show().toggleClass("show"),this._element.next().hasClass("show")||this._element.parents(W).first().find(".show").removeClass("show").hide(),this._element.parents("li.nav-item.dropdown.show").on("hidden.bs.dropdown",(function(){n.default(".dropdown-submenu .show").removeClass("show").hide()}))},t.fixPosition=function(){var e=n.default(".dropdown-menu.show");if(0!==e.length){e.hasClass("dropdown-menu-right")?e.css({left:"inherit",right:0}):e.css({left:0,right:"inherit"});var t=e.offset(),a=e.width(),i=n.default(window).width()-t.left;t.left<0?e.css({left:"inherit",right:t.left-5}):i<a&&e.css({left:"inherit",right:0})}},e._jQueryInterface=function(t){return this.each((function(){var a=n.default(this).data(B),i=n.default.extend({},V,n.default(this).data());a||(a=new e(n.default(this),i),n.default(this).data(B,a)),"toggleSubmenu"!==t&&"fixPosition"!==t||a[t]()}))},e}();n.default('.dropdown-menu [data-toggle="dropdown"]').on("click",(function(e){e.preventDefault(),e.stopPropagation(),G._jQueryInterface.call(n.default(this),"toggleSubmenu")})),n.default('.navbar [data-toggle="dropdown"]').on("click",(function(e){e.preventDefault(),n.default(e.target).parent().hasClass("dropdown-submenu")||setTimeout((function(){G._jQueryInterface.call(n.default(this),"fixPosition")}),1)})),n.default.fn[U]=G._jQueryInterface,n.default.fn[U].Constructor=G,n.default.fn[U].noConflict=function(){return n.default.fn[U]=$,G._jQueryInterface};var J="ExpandableTable",K="lte.expandableTable",X=n.default.fn[J],Y=".expandable-body",Z='[data-widget="expandable-table"]',ee="aria-expanded",te=function(){function e(e,t){this._options=t,this._element=e}var t=e.prototype;return t.init=function(){n.default(Z).each((function(e,t){var a=n.default(t).attr(ee),i=n.default(t).next(Y).children().first().children();"true"===a?i.show():"false"===a&&(i.hide(),i.parent().parent().addClass("d-none"))}))},t.toggleRow=function(){var e=this._element,t=e.attr(ee),a=e.next(Y).children().first().children();a.stop(),"true"===t?(a.slideUp(500,(function(){e.next(Y).addClass("d-none")})),e.attr(ee,"false"),e.trigger(n.default.Event("collapsed.lte.expandableTable"))):"false"===t&&(e.next(Y).removeClass("d-none"),a.slideDown(500),e.attr(ee,"true"),e.trigger(n.default.Event("expanded.lte.expandableTable")))},e._jQueryInterface=function(t){return this.each((function(){var a=n.default(this).data(K);a||(a=new e(n.default(this)),n.default(this).data(K,a)),"string"==typeof t&&/init|toggleRow/.test(t)&&a[t]()}))},e}();n.default(".expandable-table").ready((function(){te._jQueryInterface.call(n.default(this),"init")})),n.default(document).on("click",Z,(function(){te._jQueryInterface.call(n.default(this),"toggleRow")})),n.default.fn[J]=te._jQueryInterface,n.default.fn[J].Constructor=te,n.default.fn[J].noConflict=function(){return n.default.fn[J]=X,te._jQueryInterface};var ae="Fullscreen",ne="lte.fullscreen",ie=n.default.fn[ae],oe='[data-widget="fullscreen"]',se=oe+" i",le={minimizeIcon:"fa-compress-arrows-alt",maximizeIcon:"fa-expand-arrows-alt"},re=function(){function e(e,t){this.element=e,this.options=n.default.extend({},le,t)}var t=e.prototype;return t.toggle=function(){document.fullscreenElement||document.mozFullScreenElement||document.webkitFullscreenElement||document.msFullscreenElement?this.windowed():this.fullscreen()},t.fullscreen=function(){document.documentElement.requestFullscreen?document.documentElement.requestFullscreen():document.documentElement.webkitRequestFullscreen?document.documentElement.webkitRequestFullscreen():document.documentElement.msRequestFullscreen&&document.documentElement.msRequestFullscreen(),n.default(se).removeClass(this.options.maximizeIcon).addClass(this.options.minimizeIcon)},t.windowed=function(){document.exitFullscreen?document.exitFullscreen():document.webkitExitFullscreen?document.webkitExitFullscreen():document.msExitFullscreen&&document.msExitFullscreen(),n.default(se).removeClass(this.options.minimizeIcon).addClass(this.options.maximizeIcon)},e._jQueryInterface=function(t){var a=n.default(this).data(ne);a||(a=n.default(this).data());var i=n.default.extend({},le,"object"==typeof t?t:a),o=new e(n.default(this),i);n.default(this).data(ne,"object"==typeof t?t:a),"string"==typeof t&&/toggle|fullscreen|windowed/.test(t)?o[t]():o.init()},e}();n.default(document).on("click",oe,(function(){re._jQueryInterface.call(n.default(this),"toggle")})),n.default.fn[ae]=re._jQueryInterface,n.default.fn[ae].Constructor=re,n.default.fn[ae].noConflict=function(){return n.default.fn[ae]=ie,re._jQueryInterface};var de="lte.iframe",fe=n.default.fn.IFrame,ue='[data-widget="iframe"]',ce='[data-widget="iframe-fullscreen"]',he=".content-wrapper",ge=".content-wrapper iframe",pe='[data-widget="iframe"].iframe-mode .nav',me='[data-widget="iframe"].iframe-mode .navbar-nav',ve=me+" .nav-item",_e=me+" .nav-link",be='[data-widget="iframe"].iframe-mode .tab-content',ye=be+" .tab-empty",Ce=be+" .tab-loading",we=be+" .tab-pane",xe=".main-sidebar .nav-item > a.nav-link",Ie=".main-header .nav-item a.nav-link",Te=".main-header a.dropdown-item",je="iframe-mode",Se="iframe-mode-fullscreen",ke={onTabClick:function(e){return e},onTabChanged:function(e){return e},onTabCreated:function(e){return e},autoIframeMode:!0,autoItemActive:!0,autoShowNewTab:!0,allowDuplicates:!1,loadingScreen:!0,useNavbarItems:!0,scrollOffset:40,scrollBehaviorSwap:!1,iconMaximize:"fa-expand",iconMinimize:"fa-compress"},Qe=function(){function e(e,t){this._config=t,this._element=e,this._init()}var t=e.prototype;return t.onTabClick=function(e){this._config.onTabClick(e)},t.onTabChanged=function(e){this._config.onTabChanged(e)},t.onTabCreated=function(e){this._config.onTabCreated(e)},t.createTab=function(e,t,a,i){var o=this,s="panel-"+a,l="tab-"+a;this._config.allowDuplicates&&(s+="-"+Math.floor(1e3*Math.random()),l+="-"+Math.floor(1e3*Math.random()));var r='<li class="nav-item" role="presentation"><a href="#" class="btn-iframe-close" data-widget="iframe-close" data-type="only-this"><i class="fas fa-times"></i></a><a class="nav-link" data-toggle="row" id="'+l+'" href="#'+s+'" role="tab" aria-controls="'+s+'" aria-selected="false">'+e+"</a></li>";n.default(me).append(unescape(escape(r)));var d='<div class="tab-pane fade" id="'+s+'" role="tabpanel" aria-labelledby="'+l+'"><iframe src="'+t+'"></iframe></div>';if(n.default(be).append(unescape(escape(d))),i)if(this._config.loadingScreen){var f=n.default(Ce);f.fadeIn(),n.default(s+" iframe").ready((function(){"number"==typeof o._config.loadingScreen?(o.switchTab("#"+l),setTimeout((function(){f.fadeOut()}),o._config.loadingScreen)):(o.switchTab("#"+l),f.fadeOut())}))}else this.switchTab("#"+l);this.onTabCreated(n.default("#"+l))},t.openTabSidebar=function(e,t){void 0===t&&(t=this._config.autoShowNewTab);var a=n.default(e).clone();void 0===a.attr("href")&&(a=n.default(e).parent("a").clone()),a.find(".right, .search-path").remove();var i=a.find("p").text();""===i&&(i=a.text());var o=a.attr("href");if("#"!==o&&""!==o&&void 0!==o){var s=o.replace("./","").replace(/["&'./:=?[\]]/gi,"-").replace(/(--)/gi,""),l="tab-"+s;if(!this._config.allowDuplicates&&n.default("#"+l).length>0)return this.switchTab("#"+l);(!this._config.allowDuplicates&&0===n.default("#"+l).length||this._config.allowDuplicates)&&this.createTab(i,o,s,t)}},t.switchTab=function(e){var t=n.default(e),a=t.attr("href");n.default(ye).hide(),n.default(me+" .active").tab("dispose").removeClass("active"),this._fixHeight(),t.tab("show"),t.parents("li").addClass("active"),this.onTabChanged(t),this._config.autoItemActive&&this._setItemActive(n.default(a+" iframe").attr("src"))},t.removeActiveTab=function(e,t){if("all"==e)n.default(ve).remove(),n.default(we).remove(),n.default(ye).show();else if("all-other"==e)n.default(ve+":not(.active)").remove(),n.default(we+":not(.active)").remove();else if("only-this"==e){var a=n.default(t),i=a.parent(".nav-item"),o=i.parent(),s=i.index(),l=a.siblings(".nav-link").attr("aria-controls");if(i.remove(),n.default("#"+l).remove(),n.default(be).children().length==n.default(ye+", "+Ce).length)n.default(ye).show();else{var r=s-1;this.switchTab(o.children().eq(r).find("a.nav-link"))}}else{var d=n.default(ve+".active"),f=d.parent(),u=d.index();if(d.remove(),n.default(we+".active").remove(),n.default(be).children().length==n.default(ye+", "+Ce).length)n.default(ye).show();else{var c=u-1;this.switchTab(f.children().eq(c).find("a.nav-link"))}}},t.toggleFullscreen=function(){n.default("body").hasClass(Se)?(n.default(ce+" i").removeClass(this._config.iconMinimize).addClass(this._config.iconMaximize),n.default("body").removeClass(Se),n.default(ye+", "+Ce).height("auto"),n.default(he).height("auto"),n.default(ge).height("auto")):(n.default(ce+" i").removeClass(this._config.iconMaximize).addClass(this._config.iconMinimize),n.default("body").addClass(Se)),n.default(window).trigger("resize"),this._fixHeight(!0)},t._init=function(){if(window.frameElement&&this._config.autoIframeMode)n.default("body").addClass(je);else if(n.default(he).hasClass(je)){if(n.default(be).children().length>2){var e=n.default(we+":first-child");e.show(),this._setItemActive(e.find("iframe").attr("src"))}this._setupListeners(),this._fixHeight(!0)}},t._navScroll=function(e){var t=n.default(me).scrollLeft();n.default(me).animate({scrollLeft:t+e},250,"linear")},t._setupListeners=function(){var e=this;n.default(window).on("resize",(function(){setTimeout((function(){e._fixHeight()}),1)})),n.default(document).on("click",xe+", .sidebar-search-results .list-group-item",(function(t){t.preventDefault(),e.openTabSidebar(t.target)})),this._config.useNavbarItems&&n.default(document).on("click",Ie+", "+Te,(function(t){t.preventDefault(),e.openTabSidebar(t.target)})),n.default(document).on("click",_e,(function(t){t.preventDefault(),e.onTabClick(t.target),e.switchTab(t.target)})),n.default(document).on("click",_e,(function(t){t.preventDefault(),e.onTabClick(t.target),e.switchTab(t.target)})),n.default(document).on("click",'[data-widget="iframe-close"]',(function(t){t.preventDefault();var a=t.target;"I"==a.nodeName&&(a=t.target.offsetParent),e.removeActiveTab(a.attributes["data-type"]?a.attributes["data-type"].nodeValue:null,a)})),n.default(document).on("click",ce,(function(t){t.preventDefault(),e.toggleFullscreen()}));var t=!1,a=null;n.default(document).on("mousedown",'[data-widget="iframe-scrollleft"]',(function(n){n.preventDefault(),clearInterval(a);var i=e._config.scrollOffset;e._config.scrollBehaviorSwap||(i=-i),t=!0,e._navScroll(i),a=setInterval((function(){e._navScroll(i)}),250)})),n.default(document).on("mousedown",'[data-widget="iframe-scrollright"]',(function(n){n.preventDefault(),clearInterval(a);var i=e._config.scrollOffset;e._config.scrollBehaviorSwap&&(i=-i),t=!0,e._navScroll(i),a=setInterval((function(){e._navScroll(i)}),250)})),n.default(document).on("mouseup",(function(){t&&(t=!1,clearInterval(a),a=null)}))},t._setItemActive=function(e){n.default(xe+", "+Te).removeClass("active"),n.default(Ie).parent().removeClass("active");var t=n.default(Ie+'[href$="'+e+'"]'),a=n.default('.main-header a.dropdown-item[href$="'+e+'"]'),i=n.default(xe+'[href$="'+e+'"]');t.each((function(e,t){n.default(t).parent().addClass("active")})),a.each((function(e,t){n.default(t).addClass("active")})),i.each((function(e,t){n.default(t).addClass("active"),n.default(t).parents(".nav-treeview").prevAll(".nav-link").addClass("active")}))},t._fixHeight=function(e){if(void 0===e&&(e=!1),n.default("body").hasClass(Se)){var t=n.default(window).height(),a=n.default(pe).outerHeight();n.default(ye+", "+Ce+", "+ge).height(t-a),n.default(he).height(t)}else{var i=parseFloat(n.default(he).css("height")),o=n.default(pe).outerHeight();1==e?setTimeout((function(){n.default(ye+", "+Ce).height(i-o)}),50):n.default(ge).height(i-o)}},e._jQueryInterface=function(t){var a=n.default(this).data(de),i=n.default.extend({},ke,n.default(this).data());if(a||(a=new e(this,i),n.default(this).data(de,a)),"string"==typeof t&&/createTab|openTabSidebar|switchTab|removeActiveTab/.test(t)){for(var o,s=arguments.length,l=new Array(s>1?s-1:0),r=1;r<s;r++)l[r-1]=arguments[r];(o=a)[t].apply(o,l)}},e}();n.default(window).on("load",(function(){Qe._jQueryInterface.call(n.default(ue))})),n.default.fn.IFrame=Qe._jQueryInterface,n.default.fn.IFrame.Constructor=Qe,n.default.fn.IFrame.noConflict=function(){return n.default.fn.IFrame=fe,Qe._jQueryInterface};var He="lte.layout",ze=n.default.fn.Layout,Fe=".main-header",Ee=".main-sidebar",De=".main-sidebar .sidebar",Le=".main-footer",Ae="sidebar-focused",Re={scrollbarTheme:"os-theme-light",scrollbarAutoHide:"l",panelAutoHeight:!0,panelAutoHeightMode:"min-height",preloadDuration:200,loginRegisterAutoHeight:!0},Me=function(){function e(e,t){this._config=t,this._element=e}var t=e.prototype;return t.fixLayoutHeight=function(e){void 0===e&&(e=null);var t=n.default("body"),a=0;(t.hasClass("control-sidebar-slide-open")||t.hasClass("control-sidebar-open")||"control_sidebar"===e)&&(a=n.default(".control-sidebar-content").outerHeight());var i={window:n.default(window).height(),header:n.default(Fe).length>0?n.default(Fe).outerHeight():0,footer:n.default(Le).length>0?n.default(Le).outerHeight():0,sidebar:n.default(De).length>0?n.default(De).height():0,controlSidebar:a},o=this._max(i),s=this._config.panelAutoHeight;!0===s&&(s=0);var l=n.default(".content-wrapper");!1!==s&&(o===i.controlSidebar?l.css(this._config.panelAutoHeightMode,o+s):o===i.window?l.css(this._config.panelAutoHeightMode,o+s-i.header-i.footer):l.css(this._config.panelAutoHeightMode,o+s-i.header),this._isFooterFixed()&&l.css(this._config.panelAutoHeightMode,parseFloat(l.css(this._config.panelAutoHeightMode))+i.footer)),t.hasClass("layout-fixed")&&("undefined"!=typeof n.default.fn.overlayScrollbars?n.default(De).overlayScrollbars({className:this._config.scrollbarTheme,sizeAutoCapable:!0,scrollbars:{autoHide:this._config.scrollbarAutoHide,clickScrolling:!0}}):n.default(De).css("overflow-y","auto"))},t.fixLoginRegisterHeight=function(){var e=n.default("body"),t=n.default(".login-box, .register-box");if(0===t.length)e.css("height","auto"),n.default("html").css("height","auto");else{var a=t.height();e.css(this._config.panelAutoHeightMode)!==a&&e.css(this._config.panelAutoHeightMode,a)}},t._init=function(){var e=this;this.fixLayoutHeight(),!0===this._config.loginRegisterAutoHeight?this.fixLoginRegisterHeight():this._config.loginRegisterAutoHeight===parseInt(this._config.loginRegisterAutoHeight,10)&&setInterval(this.fixLoginRegisterHeight,this._config.loginRegisterAutoHeight),n.default(De).on("collapsed.lte.treeview expanded.lte.treeview",(function(){e.fixLayoutHeight()})),n.default(Ee).on("mouseenter mouseleave",(function(){n.default("body").hasClass("sidebar-collapse")&&e.fixLayoutHeight()})),n.default('[data-widget="pushmenu"]').on("collapsed.lte.pushmenu shown.lte.pushmenu",(function(){setTimeout((function(){e.fixLayoutHeight()}),300)})),n.default('[data-widget="control-sidebar"]').on("collapsed.lte.controlsidebar",(function(){e.fixLayoutHeight()})).on("expanded.lte.controlsidebar",(function(){e.fixLayoutHeight("control_sidebar")})),n.default(window).resize((function(){e.fixLayoutHeight()})),setTimeout((function(){n.default("body.hold-transition").removeClass("hold-transition")}),50),setTimeout((function(){var e=n.default(".preloader");e&&(e.css("height",0),setTimeout((function(){e.children().hide()}),200))}),this._config.preloadDuration)},t._max=function(e){var t=0;return Object.keys(e).forEach((function(a){e[a]>t&&(t=e[a])})),t},t._isFooterFixed=function(){return"fixed"===n.default(Le).css("position")},e._jQueryInterface=function(t){return void 0===t&&(t=""),this.each((function(){var a=n.default(this).data(He),i=n.default.extend({},Re,n.default(this).data());a||(a=new e(n.default(this),i),n.default(this).data(He,a)),"init"===t||""===t?a._init():"fixLayoutHeight"!==t&&"fixLoginRegisterHeight"!==t||a[t]()}))},e}();n.default(window).on("load",(function(){Me._jQueryInterface.call(n.default("body"))})),n.default(De+" a").on("focusin",(function(){n.default(Ee).addClass(Ae)})).on("focusout",(function(){n.default(Ee).removeClass(Ae)})),n.default.fn.Layout=Me._jQueryInterface,n.default.fn.Layout.Constructor=Me,n.default.fn.Layout.noConflict=function(){return n.default.fn.Layout=ze,Me._jQueryInterface};var qe="PushMenu",Ne="lte.pushmenu",Oe="."+Ne,Pe=n.default.fn[qe],Ue='[data-widget="pushmenu"]',Be="body",$e="sidebar-collapse",We="sidebar-open",Ve="sidebar-is-opening",Ge="sidebar-closed",Je={autoCollapseSize:992,enableRemember:!1,noTransitionAfterReload:!0},Ke=function(){function e(e,t){this._element=e,this._options=n.default.extend({},Je,t),0===n.default("#sidebar-overlay").length&&this._addOverlay(),this._init()}var t=e.prototype;return t.expand=function(){var e=n.default(Be);this._options.autoCollapseSize&&n.default(window).width()<=this._options.autoCollapseSize&&e.addClass(We),e.addClass(Ve).removeClass("sidebar-collapse sidebar-closed").delay(50).queue((function(){e.removeClass(Ve),n.default(this).dequeue()})),this._options.enableRemember&&localStorage.setItem("remember"+Oe,We),n.default(this._element).trigger(n.default.Event("shown.lte.pushmenu"))},t.collapse=function(){var e=n.default(Be);this._options.autoCollapseSize&&n.default(window).width()<=this._options.autoCollapseSize&&e.removeClass(We).addClass(Ge),e.addClass($e),this._options.enableRemember&&localStorage.setItem("remember"+Oe,$e),n.default(this._element).trigger(n.default.Event("collapsed.lte.pushmenu"))},t.toggle=function(){n.default(Be).hasClass($e)?this.expand():this.collapse()},t.autoCollapse=function(e){if(void 0===e&&(e=!1),this._options.autoCollapseSize){var t=n.default(Be);n.default(window).width()<=this._options.autoCollapseSize?t.hasClass(We)||this.collapse():!0===e&&(t.hasClass(We)?t.removeClass(We):t.hasClass(Ge)&&this.expand())}},t.remember=function(){if(this._options.enableRemember){var e=n.default("body");localStorage.getItem("remember"+Oe)===$e?this._options.noTransitionAfterReload?e.addClass("hold-transition").addClass($e).delay(50).queue((function(){n.default(this).removeClass("hold-transition"),n.default(this).dequeue()})):e.addClass($e):this._options.noTransitionAfterReload?e.addClass("hold-transition").removeClass($e).delay(50).queue((function(){n.default(this).removeClass("hold-transition"),n.default(this).dequeue()})):e.removeClass($e)}},t._init=function(){var e=this;this.remember(),this.autoCollapse(),n.default(window).resize((function(){e.autoCollapse(!0)}))},t._addOverlay=function(){var e=this,t=n.default("<div />",{id:"sidebar-overlay"});t.on("click",(function(){e.collapse()})),n.default(".wrapper").append(t)},e._jQueryInterface=function(t){return this.each((function(){var a=n.default(this).data(Ne),i=n.default.extend({},Je,n.default(this).data());a||(a=new e(this,i),n.default(this).data(Ne,a)),"string"==typeof t&&/collapse|expand|toggle/.test(t)&&a[t]()}))},e}();n.default(document).on("click",Ue,(function(e){e.preventDefault();var t=e.currentTarget;"pushmenu"!==n.default(t).data("widget")&&(t=n.default(t).closest(Ue)),Ke._jQueryInterface.call(n.default(t),"toggle")})),n.default(window).on("load",(function(){Ke._jQueryInterface.call(n.default(Ue))})),n.default.fn[qe]=Ke._jQueryInterface,n.default.fn[qe].Constructor=Ke,n.default.fn[qe].noConflict=function(){return n.default.fn[qe]=Pe,Ke._jQueryInterface};var Xe="SidebarSearch",Ye="lte.sidebar-search",Ze=n.default.fn[Xe],et="sidebar-search-open",tt="fa-search",at="fa-times",nt="sidebar-search-results",it="list-group",ot='[data-widget="sidebar-search"]',st=ot+" .form-control",lt=ot+" .btn",rt=lt+" i",dt=".sidebar-search-results",ft=".sidebar-search-results .list-group",ut={arrowSign:"->",minLength:3,maxResults:7,highlightName:!0,highlightPath:!1,highlightClass:"text-light",notFoundText:"No element found!"},ct=[],ht=function(){function e(e,t){this.element=e,this.options=n.default.extend({},ut,t),this.items=[]}var a=e.prototype;return a.init=function(){var e=this;0!==n.default(ot).length&&(0===n.default(ot).next(dt).length&&n.default(ot).after(n.default("<div />",{class:nt})),0===n.default(dt).children(".list-group").length&&n.default(dt).append(n.default("<div />",{class:it})),this._addNotFound(),n.default(".main-sidebar .nav-sidebar").children().each((function(t,a){e._parseItem(a)})))},a.search=function(){var e=this,t=n.default(st).val().toLowerCase();if(t.length<this.options.minLength)return n.default(ft).empty(),this._addNotFound(),void this.close();var a=ct.filter((function(e){return e.name.toLowerCase().includes(t)})),i=n.default(a.slice(0,this.options.maxResults));n.default(ft).empty(),0===i.length?this._addNotFound():i.each((function(t,a){n.default(ft).append(e._renderItem(escape(a.name),escape(a.link),a.path))})),this.open()},a.open=function(){n.default(ot).parent().addClass(et),n.default(rt).removeClass(tt).addClass(at)},a.close=function(){n.default(ot).parent().removeClass(et),n.default(rt).removeClass(at).addClass(tt)},a.toggle=function(){n.default(ot).parent().hasClass(et)?this.close():this.open()},a._parseItem=function(e,t){var a=this;if(void 0===t&&(t=[]),!n.default(e).hasClass("nav-header")){var i={},o=n.default(e).clone().find("> .nav-link"),s=n.default(e).clone().find("> .nav-treeview"),l=o.attr("href"),r=o.find("p").children().remove().end().text();if(i.name=this._trimText(r),i.link=l,i.path=t,0===s.length)ct.push(i);else{var d=i.path.concat([i.name]);s.children().each((function(e,t){a._parseItem(t,d)}))}}},a._trimText=function(e){return t.trim(e.replace(/(\r\n|\n|\r)/gm," "))},a._renderItem=function(e,t,a){var i=this;if(a=a.join(" "+this.options.arrowSign+" "),e=unescape(e),this.options.highlightName||this.options.highlightPath){var o=n.default(st).val().toLowerCase(),s=new RegExp(o,"gi");this.options.highlightName&&(e=e.replace(s,(function(e){return'<strong class="'+i.options.highlightClass+'">'+e+"</strong>"}))),this.options.highlightPath&&(a=a.replace(s,(function(e){return'<strong class="'+i.options.highlightClass+'">'+e+"</strong>"})))}var l=n.default("<a/>",{href:t,class:"list-group-item"}),r=n.default("<div/>",{class:"search-title"}).html(e),d=n.default("<div/>",{class:"search-path"}).html(a);return l.append(r).append(d),l},a._addNotFound=function(){n.default(ft).append(this._renderItem(this.options.notFoundText,"#",[]))},e._jQueryInterface=function(t){var a=n.default(this).data(Ye);a||(a=n.default(this).data());var i=n.default.extend({},ut,"object"==typeof t?t:a),o=new e(n.default(this),i);n.default(this).data(Ye,"object"==typeof t?t:a),"string"==typeof t&&/init|toggle|close|open|search/.test(t)?o[t]():o.init()},e}();n.default(document).on("click",lt,(function(e){e.preventDefault(),ht._jQueryInterface.call(n.default(ot),"toggle")})),n.default(document).on("keyup",st,(function(e){return 38==e.keyCode?(e.preventDefault(),void n.default(ft).children().last().focus()):40==e.keyCode?(e.preventDefault(),void n.default(ft).children().first().focus()):void setTimeout((function(){ht._jQueryInterface.call(n.default(ot),"search")}),100)})),n.default(document).on("keydown",ft,(function(e){var t=n.default(":focus");38==e.keyCode&&(e.preventDefault(),t.is(":first-child")?t.siblings().last().focus():t.prev().focus()),40==e.keyCode&&(e.preventDefault(),t.is(":last-child")?t.siblings().first().focus():t.next().focus())})),n.default(window).on("load",(function(){ht._jQueryInterface.call(n.default(ot),"init")})),n.default.fn[Xe]=ht._jQueryInterface,n.default.fn[Xe].Constructor=ht,n.default.fn[Xe].noConflict=function(){return n.default.fn[Xe]=Ze,ht._jQueryInterface};var gt="NavbarSearch",pt="lte.navbar-search",mt=n.default.fn[gt],vt='[data-widget="navbar-search"]',_t=".form-control",bt="navbar-search-open",yt={resetOnClose:!0,target:".navbar-search-block"},Ct=function(){function e(e,t){this._element=e,this._config=n.default.extend({},yt,t)}var t=e.prototype;return t.open=function(){n.default(this._config.target).css("display","flex").hide().fadeIn().addClass(bt),n.default(this._config.target+" "+_t).focus()},t.close=function(){n.default(this._config.target).fadeOut().removeClass(bt),this._config.resetOnClose&&n.default(this._config.target+" "+_t).val("")},t.toggle=function(){n.default(this._config.target).hasClass(bt)?this.close():this.open()},e._jQueryInterface=function(t){return this.each((function(){var a=n.default(this).data(pt),i=n.default.extend({},yt,n.default(this).data());if(a||(a=new e(this,i),n.default(this).data(pt,a)),!/toggle|close|open/.test(t))throw new Error("Undefined method "+t);a[t]()}))},e}();n.default(document).on("click",vt,(function(e){e.preventDefault();var t=n.default(e.currentTarget);"navbar-search"!==t.data("widget")&&(t=t.closest(vt)),Ct._jQueryInterface.call(t,"toggle")})),n.default.fn[gt]=Ct._jQueryInterface,n.default.fn[gt].Constructor=Ct,n.default.fn[gt].noConflict=function(){return n.default.fn[gt]=mt,Ct._jQueryInterface};var wt=n.default.fn.Toasts,xt="topRight",It="topLeft",Tt="bottomRight",jt="bottomLeft",St={position:xt,fixed:!0,autohide:!1,autoremove:!0,delay:1e3,fade:!0,icon:null,image:null,imageAlt:null,imageHeight:"25px",title:null,subtitle:null,close:!0,body:null,class:null},kt=function(){function e(e,t){this._config=t,this._prepareContainer(),n.default("body").trigger(n.default.Event("init.lte.toasts"))}var t=e.prototype;return t.create=function(){var e=n.default('<div class="toast" role="alert" aria-live="assertive" aria-atomic="true"/>');e.data("autohide",this._config.autohide),e.data("animation",this._config.fade),this._config.class&&e.addClass(this._config.class),this._config.delay&&500!=this._config.delay&&e.data("delay",this._config.delay);var t=n.default('<div class="toast-header">');if(null!=this._config.image){var a=n.default("<img />").addClass("rounded mr-2").attr("src",this._config.image).attr("alt",this._config.imageAlt);null!=this._config.imageHeight&&a.height(this._config.imageHeight).width("auto"),t.append(a)}if(null!=this._config.icon&&t.append(n.default("<i />").addClass("mr-2").addClass(this._config.icon)),null!=this._config.title&&t.append(n.default("<strong />").addClass("mr-auto").html(this._config.title)),null!=this._config.subtitle&&t.append(n.default("<small />").html(this._config.subtitle)),1==this._config.close){var i=n.default('<button data-dismiss="toast" />').attr("type","button").addClass("ml-2 mb-1 close").attr("aria-label","Close").append('<span aria-hidden="true">&times;</span>');null==this._config.title&&i.toggleClass("ml-2 ml-auto"),t.append(i)}e.append(t),null!=this._config.body&&e.append(n.default('<div class="toast-body" />').html(this._config.body)),n.default(this._getContainerId()).prepend(e);var o=n.default("body");o.trigger(n.default.Event("created.lte.toasts")),e.toast("show"),this._config.autoremove&&e.on("hidden.bs.toast",(function(){n.default(this).delay(200).remove(),o.trigger(n.default.Event("removed.lte.toasts"))}))},t._getContainerId=function(){return this._config.position==xt?"#toastsContainerTopRight":this._config.position==It?"#toastsContainerTopLeft":this._config.position==Tt?"#toastsContainerBottomRight":this._config.position==jt?"#toastsContainerBottomLeft":void 0},t._prepareContainer=function(){if(0===n.default(this._getContainerId()).length){var e=n.default("<div />").attr("id",this._getContainerId().replace("#",""));this._config.position==xt?e.addClass("toasts-top-right"):this._config.position==It?e.addClass("toasts-top-left"):this._config.position==Tt?e.addClass("toasts-bottom-right"):this._config.position==jt&&e.addClass("toasts-bottom-left"),n.default("body").append(e)}this._config.fixed?n.default(this._getContainerId()).addClass("fixed"):n.default(this._getContainerId()).removeClass("fixed")},e._jQueryInterface=function(t,a){return this.each((function(){var i=n.default.extend({},St,a),o=new e(n.default(this),i);"create"===t&&o[t]()}))},e}();n.default.fn.Toasts=kt._jQueryInterface,n.default.fn.Toasts.Constructor=kt,n.default.fn.Toasts.noConflict=function(){return n.default.fn.Toasts=wt,kt._jQueryInterface};var Qt="TodoList",Ht="lte.todolist",zt=n.default.fn[Qt],Ft="done",Et={onCheck:function(e){return e},onUnCheck:function(e){return e}},Dt=function(){function e(e,t){this._config=t,this._element=e,this._init()}var t=e.prototype;return t.toggle=function(e){e.parents("li").toggleClass(Ft),n.default(e).prop("checked")?this.check(e):this.unCheck(n.default(e))},t.check=function(e){this._config.onCheck.call(e)},t.unCheck=function(e){this._config.onUnCheck.call(e)},t._init=function(){var e=this,t=this._element;t.find("input:checkbox:checked").parents("li").toggleClass(Ft),t.on("change","input:checkbox",(function(t){e.toggle(n.default(t.target))}))},e._jQueryInterface=function(t){return this.each((function(){var a=n.default(this).data(Ht);a||(a=n.default(this).data());var i=n.default.extend({},Et,"object"==typeof t?t:a),o=new e(n.default(this),i);n.default(this).data(Ht,"object"==typeof t?t:a),"init"===t&&o[t]()}))},e}();n.default(window).on("load",(function(){Dt._jQueryInterface.call(n.default('[data-widget="todo-list"]'))})),n.default.fn[Qt]=Dt._jQueryInterface,n.default.fn[Qt].Constructor=Dt,n.default.fn[Qt].noConflict=function(){return n.default.fn[Qt]=zt,Dt._jQueryInterface};var Lt="Treeview",At="lte.treeview",Rt=n.default.fn[Lt],Mt=".nav-item",qt=".nav-treeview",Nt=".menu-open",Ot='[data-widget="treeview"]',Pt="menu-open",Ut="menu-is-opening",Bt={trigger:Ot+" .nav-link",animationSpeed:300,accordion:!0,expandSidebar:!1,sidebarButtonSelector:'[data-widget="pushmenu"]'},$t=function(){function e(e,t){this._config=t,this._element=e}var t=e.prototype;return t.init=function(){n.default(".nav-item.menu-open .nav-treeview.menu-open").css("display","block"),this._setupListeners()},t.expand=function(e,t){var a=this,i=n.default.Event("expanded.lte.treeview");if(this._config.accordion){var o=t.siblings(Nt).first(),s=o.find(qt).first();this.collapse(s,o)}t.addClass(Ut),e.stop().slideDown(this._config.animationSpeed,(function(){t.addClass(Pt),n.default(a._element).trigger(i)})),this._config.expandSidebar&&this._expandSidebar()},t.collapse=function(e,t){var a=this,i=n.default.Event("collapsed.lte.treeview");t.removeClass("menu-is-opening menu-open"),e.stop().slideUp(this._config.animationSpeed,(function(){n.default(a._element).trigger(i),e.find(".menu-open > .nav-treeview").slideUp(),e.find(Nt).removeClass(Pt)}))},t.toggle=function(e){var t=n.default(e.currentTarget),a=t.parent(),i=a.find("> .nav-treeview");if(i.is(qt)||(a.is(Mt)||(i=a.parent().find("> .nav-treeview")),i.is(qt))){e.preventDefault();var o=t.parents(Mt).first();o.hasClass(Pt)?this.collapse(n.default(i),o):this.expand(n.default(i),o)}},t._setupListeners=function(){var e=this,t=void 0!==this._element.attr("id")?"#"+this._element.attr("id"):"";n.default(document).on("click",""+t+this._config.trigger,(function(t){e.toggle(t)}))},t._expandSidebar=function(){n.default("body").hasClass("sidebar-collapse")&&n.default(this._config.sidebarButtonSelector).PushMenu("expand")},e._jQueryInterface=function(t){return this.each((function(){var a=n.default(this).data(At),i=n.default.extend({},Bt,n.default(this).data());a||(a=new e(n.default(this),i),n.default(this).data(At,a)),"init"===t&&a[t]()}))},e}();n.default(window).on("load.lte.treeview",(function(){n.default(Ot).each((function(){$t._jQueryInterface.call(n.default(this),"init")}))})),n.default.fn[Lt]=$t._jQueryInterface,n.default.fn[Lt].Constructor=$t,n.default.fn[Lt].noConflict=function(){return n.default.fn[Lt]=Rt,$t._jQueryInterface},e.CardRefresh=f,e.CardWidget=I,e.ControlSidebar=M,e.DirectChat=P,e.Dropdown=G,e.ExpandableTable=te,e.Fullscreen=re,e.IFrame=Qe,e.Layout=Me,e.NavbarSearch=Ct,e.PushMenu=Ke,e.SidebarSearch=ht,e.Toasts=kt,e.TodoList=Dt,e.Treeview=$t,Object.defineProperty(e,"__esModule",{value:!0})}));
+//# sourceMappingURL=adminlte.min.js.map \ No newline at end of file
diff --git a/ogcp/static/AdminLTE/dist/js/adminlte.min.js.map b/ogcp/static/AdminLTE/dist/js/adminlte.min.js.map
new file mode 100644
index 0000000..8a48ca7
--- /dev/null
+++ b/ogcp/static/AdminLTE/dist/js/adminlte.min.js.map
@@ -0,0 +1 @@
+{"version":3,"sources":["../../build/js/CardRefresh.js","../../build/js/CardWidget.js","../../build/js/ControlSidebar.js","../../build/js/DirectChat.js","../../build/js/Dropdown.js","../../build/js/ExpandableTable.js","../../build/js/Fullscreen.js","../../build/js/IFrame.js","../../build/js/Layout.js","../../build/js/PushMenu.js","../../build/js/SidebarSearch.js","../../build/js/NavbarSearch.js","../../build/js/Toasts.js","../../build/js/TodoList.js","../../build/js/Treeview.js"],"names":["NAME","DATA_KEY","JQUERY_NO_CONFLICT","$","fn","CLASS_NAME_CARD","SELECTOR_DATA_REFRESH","Default","source","sourceSelector","params","trigger","content","loadInContent","loadOnInit","responseType","overlayTemplate","onLoadStart","onLoadDone","response","CardRefresh","element","settings","this","_element","_parent","parents","first","_settings","extend","_overlay","hasClass","Error","load","_this","_addOverlay","call","get","find","html","_removeOverlay","Event","append","remove","_init","_this2","on","_jQueryInterface","config","data","_options","test","document","event","preventDefault","each","Constructor","noConflict","CLASS_NAME_COLLAPSED","CLASS_NAME_COLLAPSING","CLASS_NAME_EXPANDING","CLASS_NAME_WAS_COLLAPSED","CLASS_NAME_MAXIMIZED","SELECTOR_DATA_REMOVE","SELECTOR_DATA_COLLAPSE","SELECTOR_DATA_MAXIMIZE","animationSpeed","collapseTrigger","removeTrigger","maximizeTrigger","collapseIcon","expandIcon","maximizeIcon","minimizeIcon","CardWidget","collapse","addClass","children","SELECTOR_CARD_BODY","slideUp","removeClass","expand","slideDown","toggle","maximize","css","height","width","transition","delay","queue","$element","dequeue","minimize","style","toggleMaximize","card","_this3","click","SELECTOR_CONTROL_SIDEBAR","SELECTOR_CONTROL_SIDEBAR_CONTENT","SELECTOR_DATA_TOGGLE","SELECTOR_HEADER","SELECTOR_FOOTER","CLASS_NAME_CONTROL_SIDEBAR_ANIMATE","CLASS_NAME_CONTROL_SIDEBAR_OPEN","CLASS_NAME_CONTROL_SIDEBAR_SLIDE","CLASS_NAME_LAYOUT_FIXED","controlsidebarSlide","scrollbarTheme","scrollbarAutoHide","target","ControlSidebar","_config","$body","$html","hide","show","_fixHeight","_fixScrollHeight","not","window","resize","scroll","_isNavbarFixed","_isFooterFixed","$controlSidebar","heights","header","outerHeight","footer","positions","Math","abs","scrollTop","navbarFixed","footerFixed","$controlsidebarContent","bottom","top","sidebarHeight","overlayScrollbars","className","sizeAutoCapable","scrollbars","autoHide","clickScrolling","attr","operation","ready","DirectChat","toggleClass","SELECTOR_DROPDOWN_MENU","Dropdown","toggleSubmenu","siblings","next","fixPosition","length","left","right","offset","visiblePart","stopPropagation","SELECTOR_NAVBAR","parent","setTimeout","SELECTOR_EXPANDABLE_BODY","SELECTOR_ARIA_ATTR","ExpandableTable","options","init","_","$header","$type","toggleRow","stop","SELECTOR_DATA_WIDGET","SELECTOR_ICON","Fullscreen","fullscreenElement","mozFullScreenElement","webkitFullscreenElement","msFullscreenElement","windowed","fullscreen","documentElement","requestFullscreen","webkitRequestFullscreen","msRequestFullscreen","exitFullscreen","webkitExitFullscreen","msExitFullscreen","plugin","SELECTOR_DATA_TOGGLE_FULLSCREEN","SELECTOR_CONTENT_WRAPPER","SELECTOR_CONTENT_IFRAME","SELECTOR_TAB_NAV","SELECTOR_TAB_NAVBAR_NAV","SELECTOR_TAB_NAVBAR_NAV_ITEM","SELECTOR_TAB_NAVBAR_NAV_LINK","SELECTOR_TAB_CONTENT","SELECTOR_TAB_EMPTY","SELECTOR_TAB_LOADING","SELECTOR_TAB_PANE","SELECTOR_SIDEBAR_MENU_ITEM","SELECTOR_HEADER_MENU_ITEM","SELECTOR_HEADER_DROPDOWN_ITEM","CLASS_NAME_IFRAME_MODE","CLASS_NAME_FULLSCREEN_MODE","onTabClick","item","onTabChanged","onTabCreated","autoIframeMode","autoItemActive","autoShowNewTab","allowDuplicates","loadingScreen","useNavbarItems","scrollOffset","scrollBehaviorSwap","iconMaximize","iconMinimize","IFrame","createTab","title","link","uniqueName","autoOpen","tabId","navId","floor","random","newNavItem","unescape","escape","newTabItem","$loadingScreen","fadeIn","switchTab","fadeOut","openTabSidebar","$item","clone","undefined","text","replace","tab","_setItemActive","removeActiveTab","type","$navClose","$navItem","$navItemParent","navItemIndex","index","prevNavItemIndex","eq","toggleFullscreen","frameElement","$el","_setupListeners","_navScroll","leftPos","scrollLeft","animate","e","nodeName","offsetParent","attributes","nodeValue","mousedown","mousedownInterval","clearInterval","setInterval","href","$headerMenuItem","$headerDropdownItem","$sidebarMenuItem","i","prevAll","tabEmpty","windowHeight","navbarHeight","contentWrapperHeight","parseFloat","_data","_len","arguments","args","Array","_key","apply","SELECTOR_MAIN_SIDEBAR","SELECTOR_SIDEBAR","CLASS_NAME_SIDEBAR_FOCUSED","panelAutoHeight","panelAutoHeightMode","preloadDuration","loginRegisterAutoHeight","Layout","fixLayoutHeight","extra","controlSidebar","sidebar","max","_max","$contentSelector","fixLoginRegisterHeight","$selector","SELECTOR_LOGIN_BOX","boxHeight","parseInt","$preloader","numbers","Object","keys","forEach","key","EVENT_KEY","SELECTOR_TOGGLE_BUTTON","SELECTOR_BODY","CLASS_NAME_OPEN","CLASS_NAME_IS_OPENING","CLASS_NAME_CLOSED","autoCollapseSize","enableRemember","noTransitionAfterReload","PushMenu","$bodySelector","localStorage","setItem","autoCollapse","remember","getItem","overlay","id","button","currentTarget","closest","CLASS_NAME_ICON_SEARCH","CLASS_NAME_ICON_CLOSE","CLASS_NAME_SEARCH_RESULTS","CLASS_NAME_LIST_GROUP","SELECTOR_SEARCH_INPUT","SELECTOR_SEARCH_BUTTON","SELECTOR_SEARCH_ICON","SELECTOR_SEARCH_RESULTS","SELECTOR_SEARCH_RESULTS_GROUP","arrowSign","minLength","maxResults","highlightName","highlightPath","highlightClass","notFoundText","SearchItems","SidebarSearch","items","after","class","_addNotFound","child","_parseItem","search","searchValue","val","toLowerCase","empty","close","searchResults","filter","name","includes","endResults","slice","result","_renderItem","path","open","itemObject","navLink","navTreeview","end","_trimText","push","newPath","concat","trim","_this4","join","regExp","RegExp","str","groupItemElement","searchTitleElement","searchPathElement","keyCode","last","focus","$focused","is","prev","resetOnClose","NavbarSearch","POSITION_TOP_RIGHT","POSITION_TOP_LEFT","POSITION_BOTTOM_RIGHT","POSITION_BOTTOM_LEFT","position","fixed","autohide","autoremove","fade","icon","image","imageAlt","imageHeight","subtitle","body","Toasts","_prepareContainer","create","toast","toastHeader","toastImage","toastClose","_getContainerId","prepend","container","option","CLASS_NAME_TODO_LIST_DONE","onCheck","onUnCheck","TodoList","prop","check","unCheck","$toggleSelector","SELECTOR_LI","SELECTOR_TREEVIEW_MENU","SELECTOR_OPEN","accordion","expandSidebar","sidebarButtonSelector","Treeview","treeviewMenu","parentLi","expandedEvent","openMenuLi","openTreeview","_expandSidebar","collapsedEvent","$relativeTarget","$parent","elementId"],"mappings":";;;;;yWAcMA,EAAO,cACPC,EAAW,kBAEXC,EAAqBC,EAAAA,QAAEC,GAAGJ,GAM1BK,EAAkB,OAGlBC,EAAwB,oCAExBC,EAAU,CACdC,OAAQ,GACRC,eAAgB,GAChBC,OAAQ,GACRC,QAASL,EACTM,QAAS,aACTC,eAAe,EACfC,YAAY,EACZC,aAAc,GACdC,gBAAiB,2EACjBC,YAVc,aAWdC,WAXc,SAWHC,GACT,OAAOA,IAILC,EAAAA,WACJ,SAAAA,EAAYC,EAASC,GAUnB,GATAC,KAAKC,SAAWH,EAChBE,KAAKE,QAAUJ,EAAQK,QAtBR,SAsB+BC,QAC9CJ,KAAKK,UAAYzB,EAAAA,QAAE0B,OAAO,GAAItB,EAASe,GACvCC,KAAKO,SAAW3B,EAAAA,QAAEoB,KAAKK,UAAUZ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SAASoS,IAG/B5S,KAAKoD,SAASxE,EAAAA,QAAE4b,GAAeC,GAE/Bza,KAAK0D,OAAO9E,EAAAA,QAAE4b,GAAeC,OAMjC1L,gBAAA,WAAkB,IAAArK,EAAA1E,KACVib,OAAyCnN,IAA7B9N,KAAKC,SAAS2H,KAAK,MAAnB,IAA6C5H,KAAKC,SAAS2H,KAAK,MAAU,GAC5FhJ,EAAAA,QAAEiD,UAAUN,GAAG,QAAf,GAA2B0Z,EAAYjb,KAAK0F,QAAQtG,SAAW,SAAA0C,GAC7D4C,EAAKd,OAAO9B,SAIhB+Y,eAAA,WACMjc,EAAAA,QAAE,QAAQ4B,SAhGmB,qBAiG/B5B,EAAAA,QAAEoB,KAAK0F,QAAQ4U,uBAAuBpH,SAAS,aAM5C1R,iBAAP,SAAwBC,GACtB,OAAOzB,KAAKgC,MAAK,WACf,IAAIN,EAAO9C,EAAAA,QAAEoB,MAAM0B,KAAKhD,IAClBiD,EAAW/C,EAAAA,QAAE0B,OAAO,GAAItB,GAASJ,EAAAA,QAAEoB,MAAM0B,QAE1CA,IACHA,EAAO,IAAI6Y,EAAS3b,EAAAA,QAAEoB,MAAO2B,GAC7B/C,EAAAA,QAAEoB,MAAM0B,KAAKhD,GAAUgD,IAGV,SAAXD,GACFC,EAAKD,WApGP8Y,GA+GN3b,EAAAA,QAAEsH,QAAQ3E,GAvIe,qBAuIS,WAChC3C,EAAAA,QAAE8K,IAAsB1H,MAAK,WAC3BuY,GAAS/Y,iBAAiBX,KAAKjC,EAAAA,QAAEoB,MAAO,cAS5CpB,EAAAA,QAAEC,GAAGJ,IAAQ8b,GAAS/Y,iBACtB5C,EAAAA,QAAEC,GAAGJ,IAAMwD,YAAcsY,GACzB3b,EAAAA,QAAEC,GAAGJ,IAAMyD,WAAa,WAEtB,OADAtD,EAAAA,QAAEC,GAAGJ,IAAQE,GACN4b,GAAS/Y","sourcesContent":["/**\n * --------------------------------------------\n * AdminLTE CardRefresh.js\n * License MIT\n * --------------------------------------------\n */\n\nimport $ from 'jquery'\n\n/**\n * Constants\n * ====================================================\n */\n\nconst NAME = 'CardRefresh'\nconst DATA_KEY = 'lte.cardrefresh'\nconst EVENT_KEY = `.${DATA_KEY}`\nconst JQUERY_NO_CONFLICT = $.fn[NAME]\n\nconst EVENT_LOADED = `loaded${EVENT_KEY}`\nconst EVENT_OVERLAY_ADDED = `overlay.added${EVENT_KEY}`\nconst EVENT_OVERLAY_REMOVED = `overlay.removed${EVENT_KEY}`\n\nconst CLASS_NAME_CARD = 'card'\n\nconst SELECTOR_CARD = `.${CLASS_NAME_CARD}`\nconst SELECTOR_DATA_REFRESH = '[data-card-widget=\"card-refresh\"]'\n\nconst Default = {\n source: '',\n sourceSelector: '',\n params: {},\n trigger: SELECTOR_DATA_REFRESH,\n content: '.card-body',\n loadInContent: true,\n loadOnInit: true,\n responseType: '',\n overlayTemplate: '<div class=\"overlay\"><i class=\"fas fa-2x fa-sync-alt fa-spin\"></i></div>',\n onLoadStart() {},\n onLoadDone(response) {\n return response\n }\n}\n\nclass CardRefresh {\n constructor(element, settings) {\n this._element = element\n this._parent = element.parents(SELECTOR_CARD).first()\n this._settings = $.extend({}, Default, settings)\n this._overlay = $(this._settings.overlayTemplate)\n\n if (element.hasClass(CLASS_NAME_CARD)) {\n this._parent = element\n }\n\n if (this._settings.source === '') {\n throw new Error('Source url was not defined. Please specify a url in your CardRefresh source option.')\n }\n }\n\n load() {\n this._addOverlay()\n this._settings.onLoadStart.call($(this))\n\n $.get(this._settings.source, this._settings.params, response => {\n if (this._settings.loadInContent) {\n if (this._settings.sourceSelector !== '') {\n response = $(response).find(this._settings.sourceSelector).html()\n }\n\n this._parent.find(this._settings.content).html(response)\n }\n\n this._settings.onLoadDone.call($(this), response)\n this._removeOverlay()\n }, this._settings.responseType !== '' && this._settings.responseType)\n\n $(this._element).trigger($.Event(EVENT_LOADED))\n }\n\n _addOverlay() {\n this._parent.append(this._overlay)\n $(this._element).trigger($.Event(EVENT_OVERLAY_ADDED))\n }\n\n _removeOverlay() {\n this._parent.find(this._overlay).remove()\n $(this._element).trigger($.Event(EVENT_OVERLAY_REMOVED))\n }\n\n // Private\n\n _init() {\n $(this).find(this._settings.trigger).on('click', () => {\n this.load()\n })\n\n if (this._settings.loadOnInit) {\n this.load()\n }\n }\n\n // Static\n\n static _jQueryInterface(config) {\n let data = $(this).data(DATA_KEY)\n const _options = $.extend({}, Default, $(this).data())\n\n if (!data) {\n data = new CardRefresh($(this), _options)\n $(this).data(DATA_KEY, typeof config === 'string' ? data : config)\n }\n\n if (typeof config === 'string' && /load/.test(config)) {\n data[config]()\n } else {\n data._init($(this))\n }\n }\n}\n\n/**\n * Data API\n * ====================================================\n */\n\n$(document).on('click', SELECTOR_DATA_REFRESH, function (event) {\n if (event) {\n event.preventDefault()\n }\n\n CardRefresh._jQueryInterface.call($(this), 'load')\n})\n\n$(() => {\n $(SELECTOR_DATA_REFRESH).each(function () {\n CardRefresh._jQueryInterface.call($(this))\n })\n})\n\n/**\n * jQuery API\n * ====================================================\n */\n\n$.fn[NAME] = CardRefresh._jQueryInterface\n$.fn[NAME].Constructor = CardRefresh\n$.fn[NAME].noConflict = function () {\n $.fn[NAME] = JQUERY_NO_CONFLICT\n return CardRefresh._jQueryInterface\n}\n\nexport default CardRefresh\n","/**\n * --------------------------------------------\n * AdminLTE CardWidget.js\n * License MIT\n * --------------------------------------------\n */\n\nimport $ from 'jquery'\n\n/**\n * Constants\n * ====================================================\n */\n\nconst NAME = 'CardWidget'\nconst DATA_KEY = 'lte.cardwidget'\nconst EVENT_KEY = `.${DATA_KEY}`\nconst JQUERY_NO_CONFLICT = $.fn[NAME]\n\nconst EVENT_EXPANDED = `expanded${EVENT_KEY}`\nconst EVENT_COLLAPSED = `collapsed${EVENT_KEY}`\nconst EVENT_MAXIMIZED = `maximized${EVENT_KEY}`\nconst EVENT_MINIMIZED = `minimized${EVENT_KEY}`\nconst EVENT_REMOVED = `removed${EVENT_KEY}`\n\nconst CLASS_NAME_CARD = 'card'\nconst CLASS_NAME_COLLAPSED = 'collapsed-card'\nconst CLASS_NAME_COLLAPSING = 'collapsing-card'\nconst CLASS_NAME_EXPANDING = 'expanding-card'\nconst CLASS_NAME_WAS_COLLAPSED = 'was-collapsed'\nconst CLASS_NAME_MAXIMIZED = 'maximized-card'\n\nconst SELECTOR_DATA_REMOVE = '[data-card-widget=\"remove\"]'\nconst SELECTOR_DATA_COLLAPSE = '[data-card-widget=\"collapse\"]'\nconst SELECTOR_DATA_MAXIMIZE = '[data-card-widget=\"maximize\"]'\nconst SELECTOR_CARD = `.${CLASS_NAME_CARD}`\nconst SELECTOR_CARD_HEADER = '.card-header'\nconst SELECTOR_CARD_BODY = '.card-body'\nconst SELECTOR_CARD_FOOTER = '.card-footer'\n\nconst Default = {\n animationSpeed: 'normal',\n collapseTrigger: SELECTOR_DATA_COLLAPSE,\n removeTrigger: SELECTOR_DATA_REMOVE,\n maximizeTrigger: SELECTOR_DATA_MAXIMIZE,\n collapseIcon: 'fa-minus',\n expandIcon: 'fa-plus',\n maximizeIcon: 'fa-expand',\n minimizeIcon: 'fa-compress'\n}\n\nclass CardWidget {\n constructor(element, settings) {\n this._element = element\n this._parent = element.parents(SELECTOR_CARD).first()\n\n if (element.hasClass(CLASS_NAME_CARD)) {\n this._parent = element\n }\n\n this._settings = $.extend({}, Default, settings)\n }\n\n collapse() {\n this._parent.addClass(CLASS_NAME_COLLAPSING).children(`${SELECTOR_CARD_BODY}, ${SELECTOR_CARD_FOOTER}`)\n .slideUp(this._settings.animationSpeed, () => {\n this._parent.addClass(CLASS_NAME_COLLAPSED).removeClass(CLASS_NAME_COLLAPSING)\n })\n\n this._parent.find(`> ${SELECTOR_CARD_HEADER} ${this._settings.collapseTrigger} .${this._settings.collapseIcon}`)\n .addClass(this._settings.expandIcon)\n .removeClass(this._settings.collapseIcon)\n\n this._element.trigger($.Event(EVENT_COLLAPSED), this._parent)\n }\n\n expand() {\n this._parent.addClass(CLASS_NAME_EXPANDING).children(`${SELECTOR_CARD_BODY}, ${SELECTOR_CARD_FOOTER}`)\n .slideDown(this._settings.animationSpeed, () => {\n this._parent.removeClass(CLASS_NAME_COLLAPSED).removeClass(CLASS_NAME_EXPANDING)\n })\n\n this._parent.find(`> ${SELECTOR_CARD_HEADER} ${this._settings.collapseTrigger} .${this._settings.expandIcon}`)\n .addClass(this._settings.collapseIcon)\n .removeClass(this._settings.expandIcon)\n\n this._element.trigger($.Event(EVENT_EXPANDED), this._parent)\n }\n\n remove() {\n this._parent.slideUp()\n this._element.trigger($.Event(EVENT_REMOVED), this._parent)\n }\n\n toggle() {\n if (this._parent.hasClass(CLASS_NAME_COLLAPSED)) {\n this.expand()\n return\n }\n\n this.collapse()\n }\n\n maximize() {\n this._parent.find(`${this._settings.maximizeTrigger} .${this._settings.maximizeIcon}`)\n .addClass(this._settings.minimizeIcon)\n .removeClass(this._settings.maximizeIcon)\n this._parent.css({\n height: this._parent.height(),\n width: this._parent.width(),\n transition: 'all .15s'\n }).delay(150).queue(function () {\n const $element = $(this)\n\n $element.addClass(CLASS_NAME_MAXIMIZED)\n $('html').addClass(CLASS_NAME_MAXIMIZED)\n if ($element.hasClass(CLASS_NAME_COLLAPSED)) {\n $element.addClass(CLASS_NAME_WAS_COLLAPSED)\n }\n\n $element.dequeue()\n })\n\n this._element.trigger($.Event(EVENT_MAXIMIZED), this._parent)\n }\n\n minimize() {\n this._parent.find(`${this._settings.maximizeTrigger} .${this._settings.minimizeIcon}`)\n .addClass(this._settings.maximizeIcon)\n .removeClass(this._settings.minimizeIcon)\n this._parent.css('cssText', `height: ${this._parent[0].style.height} !important; width: ${this._parent[0].style.width} !important; transition: all .15s;`\n ).delay(10).queue(function () {\n const $element = $(this)\n\n $element.removeClass(CLASS_NAME_MAXIMIZED)\n $('html').removeClass(CLASS_NAME_MAXIMIZED)\n $element.css({\n height: 'inherit',\n width: 'inherit'\n })\n if ($element.hasClass(CLASS_NAME_WAS_COLLAPSED)) {\n $element.removeClass(CLASS_NAME_WAS_COLLAPSED)\n }\n\n $element.dequeue()\n })\n\n this._element.trigger($.Event(EVENT_MINIMIZED), this._parent)\n }\n\n toggleMaximize() {\n if (this._parent.hasClass(CLASS_NAME_MAXIMIZED)) {\n this.minimize()\n return\n }\n\n this.maximize()\n }\n\n // Private\n\n _init(card) {\n this._parent = card\n\n $(this).find(this._settings.collapseTrigger).click(() => {\n this.toggle()\n })\n\n $(this).find(this._settings.maximizeTrigger).click(() => {\n this.toggleMaximize()\n })\n\n $(this).find(this._settings.removeTrigger).click(() => {\n this.remove()\n })\n }\n\n // Static\n\n static _jQueryInterface(config) {\n let data = $(this).data(DATA_KEY)\n const _options = $.extend({}, Default, $(this).data())\n\n if (!data) {\n data = new CardWidget($(this), _options)\n $(this).data(DATA_KEY, typeof config === 'string' ? data : config)\n }\n\n if (typeof config === 'string' && /collapse|expand|remove|toggle|maximize|minimize|toggleMaximize/.test(config)) {\n data[config]()\n } else if (typeof config === 'object') {\n data._init($(this))\n }\n }\n}\n\n/**\n * Data API\n * ====================================================\n */\n\n$(document).on('click', SELECTOR_DATA_COLLAPSE, function (event) {\n if (event) {\n event.preventDefault()\n }\n\n CardWidget._jQueryInterface.call($(this), 'toggle')\n})\n\n$(document).on('click', SELECTOR_DATA_REMOVE, function (event) {\n if (event) {\n event.preventDefault()\n }\n\n CardWidget._jQueryInterface.call($(this), 'remove')\n})\n\n$(document).on('click', SELECTOR_DATA_MAXIMIZE, function (event) {\n if (event) {\n event.preventDefault()\n }\n\n CardWidget._jQueryInterface.call($(this), 'toggleMaximize')\n})\n\n/**\n * jQuery API\n * ====================================================\n */\n\n$.fn[NAME] = CardWidget._jQueryInterface\n$.fn[NAME].Constructor = CardWidget\n$.fn[NAME].noConflict = function () {\n $.fn[NAME] = JQUERY_NO_CONFLICT\n return CardWidget._jQueryInterface\n}\n\nexport default CardWidget\n","/**\n * --------------------------------------------\n * AdminLTE ControlSidebar.js\n * License MIT\n * --------------------------------------------\n */\n\nimport $ from 'jquery'\n\n/**\n * Constants\n * ====================================================\n */\n\nconst NAME = 'ControlSidebar'\nconst DATA_KEY = 'lte.controlsidebar'\nconst EVENT_KEY = `.${DATA_KEY}`\nconst JQUERY_NO_CONFLICT = $.fn[NAME]\n\nconst EVENT_COLLAPSED = `collapsed${EVENT_KEY}`\nconst EVENT_EXPANDED = `expanded${EVENT_KEY}`\n\nconst SELECTOR_CONTROL_SIDEBAR = '.control-sidebar'\nconst SELECTOR_CONTROL_SIDEBAR_CONTENT = '.control-sidebar-content'\nconst SELECTOR_DATA_TOGGLE = '[data-widget=\"control-sidebar\"]'\nconst SELECTOR_HEADER = '.main-header'\nconst SELECTOR_FOOTER = '.main-footer'\n\nconst CLASS_NAME_CONTROL_SIDEBAR_ANIMATE = 'control-sidebar-animate'\nconst CLASS_NAME_CONTROL_SIDEBAR_OPEN = 'control-sidebar-open'\nconst CLASS_NAME_CONTROL_SIDEBAR_SLIDE = 'control-sidebar-slide-open'\nconst CLASS_NAME_LAYOUT_FIXED = 'layout-fixed'\nconst CLASS_NAME_NAVBAR_FIXED = 'layout-navbar-fixed'\nconst CLASS_NAME_NAVBAR_SM_FIXED = 'layout-sm-navbar-fixed'\nconst CLASS_NAME_NAVBAR_MD_FIXED = 'layout-md-navbar-fixed'\nconst CLASS_NAME_NAVBAR_LG_FIXED = 'layout-lg-navbar-fixed'\nconst CLASS_NAME_NAVBAR_XL_FIXED = 'layout-xl-navbar-fixed'\nconst CLASS_NAME_FOOTER_FIXED = 'layout-footer-fixed'\nconst CLASS_NAME_FOOTER_SM_FIXED = 'layout-sm-footer-fixed'\nconst CLASS_NAME_FOOTER_MD_FIXED = 'layout-md-footer-fixed'\nconst CLASS_NAME_FOOTER_LG_FIXED = 'layout-lg-footer-fixed'\nconst CLASS_NAME_FOOTER_XL_FIXED = 'layout-xl-footer-fixed'\n\nconst Default = {\n controlsidebarSlide: true,\n scrollbarTheme: 'os-theme-light',\n scrollbarAutoHide: 'l',\n target: SELECTOR_CONTROL_SIDEBAR\n}\n\n/**\n * Class Definition\n * ====================================================\n */\n\nclass ControlSidebar {\n constructor(element, config) {\n this._element = element\n this._config = config\n }\n\n // Public\n\n collapse() {\n const $body = $('body')\n const $html = $('html')\n const { target } = this._config\n\n // Show the control sidebar\n if (this._config.controlsidebarSlide) {\n $html.addClass(CLASS_NAME_CONTROL_SIDEBAR_ANIMATE)\n $body.removeClass(CLASS_NAME_CONTROL_SIDEBAR_SLIDE).delay(300).queue(function () {\n $(target).hide()\n $html.removeClass(CLASS_NAME_CONTROL_SIDEBAR_ANIMATE)\n $(this).dequeue()\n })\n } else {\n $body.removeClass(CLASS_NAME_CONTROL_SIDEBAR_OPEN)\n }\n\n $(this._element).trigger($.Event(EVENT_COLLAPSED))\n }\n\n show() {\n const $body = $('body')\n const $html = $('html')\n\n // Collapse the control sidebar\n if (this._config.controlsidebarSlide) {\n $html.addClass(CLASS_NAME_CONTROL_SIDEBAR_ANIMATE)\n $(this._config.target).show().delay(10).queue(function () {\n $body.addClass(CLASS_NAME_CONTROL_SIDEBAR_SLIDE).delay(300).queue(function () {\n $html.removeClass(CLASS_NAME_CONTROL_SIDEBAR_ANIMATE)\n $(this).dequeue()\n })\n $(this).dequeue()\n })\n } else {\n $body.addClass(CLASS_NAME_CONTROL_SIDEBAR_OPEN)\n }\n\n this._fixHeight()\n this._fixScrollHeight()\n\n $(this._element).trigger($.Event(EVENT_EXPANDED))\n }\n\n toggle() {\n const $body = $('body')\n const shouldClose = $body.hasClass(CLASS_NAME_CONTROL_SIDEBAR_OPEN) ||\n $body.hasClass(CLASS_NAME_CONTROL_SIDEBAR_SLIDE)\n\n if (shouldClose) {\n // Close the control sidebar\n this.collapse()\n } else {\n // Open the control sidebar\n this.show()\n }\n }\n\n // Private\n\n _init() {\n const $body = $('body')\n const shouldNotHideAll = $body.hasClass(CLASS_NAME_CONTROL_SIDEBAR_OPEN) ||\n $body.hasClass(CLASS_NAME_CONTROL_SIDEBAR_SLIDE)\n\n if (shouldNotHideAll) {\n $(SELECTOR_CONTROL_SIDEBAR).not(this._config.target).hide()\n $(this._config.target).css('display', 'block')\n } else {\n $(SELECTOR_CONTROL_SIDEBAR).hide()\n }\n\n this._fixHeight()\n this._fixScrollHeight()\n\n $(window).resize(() => {\n this._fixHeight()\n this._fixScrollHeight()\n })\n\n $(window).scroll(() => {\n const $body = $('body')\n const shouldFixHeight = $body.hasClass(CLASS_NAME_CONTROL_SIDEBAR_OPEN) ||\n $body.hasClass(CLASS_NAME_CONTROL_SIDEBAR_SLIDE)\n\n if (shouldFixHeight) {\n this._fixScrollHeight()\n }\n })\n }\n\n _isNavbarFixed() {\n const $body = $('body')\n return (\n $body.hasClass(CLASS_NAME_NAVBAR_FIXED) ||\n $body.hasClass(CLASS_NAME_NAVBAR_SM_FIXED) ||\n $body.hasClass(CLASS_NAME_NAVBAR_MD_FIXED) ||\n $body.hasClass(CLASS_NAME_NAVBAR_LG_FIXED) ||\n $body.hasClass(CLASS_NAME_NAVBAR_XL_FIXED)\n )\n }\n\n _isFooterFixed() {\n const $body = $('body')\n return (\n $body.hasClass(CLASS_NAME_FOOTER_FIXED) ||\n $body.hasClass(CLASS_NAME_FOOTER_SM_FIXED) ||\n $body.hasClass(CLASS_NAME_FOOTER_MD_FIXED) ||\n $body.hasClass(CLASS_NAME_FOOTER_LG_FIXED) ||\n $body.hasClass(CLASS_NAME_FOOTER_XL_FIXED)\n )\n }\n\n _fixScrollHeight() {\n const $body = $('body')\n const $controlSidebar = $(this._config.target)\n\n if (!$body.hasClass(CLASS_NAME_LAYOUT_FIXED)) {\n return\n }\n\n const heights = {\n scroll: $(document).height(),\n window: $(window).height(),\n header: $(SELECTOR_HEADER).outerHeight(),\n footer: $(SELECTOR_FOOTER).outerHeight()\n }\n const positions = {\n bottom: Math.abs((heights.window + $(window).scrollTop()) - heights.scroll),\n top: $(window).scrollTop()\n }\n\n const navbarFixed = this._isNavbarFixed() && $(SELECTOR_HEADER).css('position') === 'fixed'\n\n const footerFixed = this._isFooterFixed() && $(SELECTOR_FOOTER).css('position') === 'fixed'\n\n const $controlsidebarContent = $(`${this._config.target}, ${this._config.target} ${SELECTOR_CONTROL_SIDEBAR_CONTENT}`)\n\n if (positions.top === 0 && positions.bottom === 0) {\n $controlSidebar.css({\n bottom: heights.footer,\n top: heights.header\n })\n $controlsidebarContent.css('height', heights.window - (heights.header + heights.footer))\n } else if (positions.bottom <= heights.footer) {\n if (footerFixed === false) {\n const top = heights.header - positions.top\n $controlSidebar.css('bottom', heights.footer - positions.bottom).css('top', top >= 0 ? top : 0)\n $controlsidebarContent.css('height', heights.window - (heights.footer - positions.bottom))\n } else {\n $controlSidebar.css('bottom', heights.footer)\n }\n } else if (positions.top <= heights.header) {\n if (navbarFixed === false) {\n $controlSidebar.css('top', heights.header - positions.top)\n $controlsidebarContent.css('height', heights.window - (heights.header - positions.top))\n } else {\n $controlSidebar.css('top', heights.header)\n }\n } else if (navbarFixed === false) {\n $controlSidebar.css('top', 0)\n $controlsidebarContent.css('height', heights.window)\n } else {\n $controlSidebar.css('top', heights.header)\n }\n\n if (footerFixed && navbarFixed) {\n $controlsidebarContent.css('height', '100%')\n $controlSidebar.css('height', '')\n } else if (footerFixed || navbarFixed) {\n $controlsidebarContent.css('height', '100%')\n $controlsidebarContent.css('height', '')\n }\n }\n\n _fixHeight() {\n const $body = $('body')\n const $controlSidebar = $(`${this._config.target} ${SELECTOR_CONTROL_SIDEBAR_CONTENT}`)\n\n if (!$body.hasClass(CLASS_NAME_LAYOUT_FIXED)) {\n $controlSidebar.attr('style', '')\n return\n }\n\n const heights = {\n window: $(window).height(),\n header: $(SELECTOR_HEADER).outerHeight(),\n footer: $(SELECTOR_FOOTER).outerHeight()\n }\n\n let sidebarHeight = heights.window - heights.header\n\n if (this._isFooterFixed() && $(SELECTOR_FOOTER).css('position') === 'fixed') {\n sidebarHeight = heights.window - heights.header - heights.footer\n }\n\n $controlSidebar.css('height', sidebarHeight)\n\n if (typeof $.fn.overlayScrollbars !== 'undefined') {\n $controlSidebar.overlayScrollbars({\n className: this._config.scrollbarTheme,\n sizeAutoCapable: true,\n scrollbars: {\n autoHide: this._config.scrollbarAutoHide,\n clickScrolling: true\n }\n })\n }\n }\n\n // Static\n\n static _jQueryInterface(operation) {\n return this.each(function () {\n let data = $(this).data(DATA_KEY)\n const _options = $.extend({}, Default, $(this).data())\n\n if (!data) {\n data = new ControlSidebar(this, _options)\n $(this).data(DATA_KEY, data)\n }\n\n if (data[operation] === 'undefined') {\n throw new Error(`${operation} is not a function`)\n }\n\n data[operation]()\n })\n }\n}\n\n/**\n *\n * Data Api implementation\n * ====================================================\n */\n$(document).on('click', SELECTOR_DATA_TOGGLE, function (event) {\n event.preventDefault()\n\n ControlSidebar._jQueryInterface.call($(this), 'toggle')\n})\n\n$(document).ready(() => {\n ControlSidebar._jQueryInterface.call($(SELECTOR_DATA_TOGGLE), '_init')\n})\n\n/**\n * jQuery API\n * ====================================================\n */\n\n$.fn[NAME] = ControlSidebar._jQueryInterface\n$.fn[NAME].Constructor = ControlSidebar\n$.fn[NAME].noConflict = function () {\n $.fn[NAME] = JQUERY_NO_CONFLICT\n return ControlSidebar._jQueryInterface\n}\n\nexport default ControlSidebar\n","/**\n * --------------------------------------------\n * AdminLTE DirectChat.js\n * License MIT\n * --------------------------------------------\n */\n\nimport $ from 'jquery'\n\n/**\n * Constants\n * ====================================================\n */\n\nconst NAME = 'DirectChat'\nconst DATA_KEY = 'lte.directchat'\nconst EVENT_KEY = `.${DATA_KEY}`\nconst JQUERY_NO_CONFLICT = $.fn[NAME]\n\nconst EVENT_TOGGLED = `toggled${EVENT_KEY}`\n\nconst SELECTOR_DATA_TOGGLE = '[data-widget=\"chat-pane-toggle\"]'\nconst SELECTOR_DIRECT_CHAT = '.direct-chat'\n\nconst CLASS_NAME_DIRECT_CHAT_OPEN = 'direct-chat-contacts-open'\n\n/**\n * Class Definition\n * ====================================================\n */\n\nclass DirectChat {\n constructor(element) {\n this._element = element\n }\n\n toggle() {\n $(this._element).parents(SELECTOR_DIRECT_CHAT).first().toggleClass(CLASS_NAME_DIRECT_CHAT_OPEN)\n $(this._element).trigger($.Event(EVENT_TOGGLED))\n }\n\n // Static\n\n static _jQueryInterface(config) {\n return this.each(function () {\n let data = $(this).data(DATA_KEY)\n\n if (!data) {\n data = new DirectChat($(this))\n $(this).data(DATA_KEY, data)\n }\n\n data[config]()\n })\n }\n}\n\n/**\n *\n * Data Api implementation\n * ====================================================\n */\n\n$(document).on('click', SELECTOR_DATA_TOGGLE, function (event) {\n if (event) {\n event.preventDefault()\n }\n\n DirectChat._jQueryInterface.call($(this), 'toggle')\n})\n\n/**\n * jQuery API\n * ====================================================\n */\n\n$.fn[NAME] = DirectChat._jQueryInterface\n$.fn[NAME].Constructor = DirectChat\n$.fn[NAME].noConflict = function () {\n $.fn[NAME] = JQUERY_NO_CONFLICT\n return DirectChat._jQueryInterface\n}\n\nexport default DirectChat\n","/**\n * --------------------------------------------\n * AdminLTE Dropdown.js\n * License MIT\n * --------------------------------------------\n */\n\nimport $ from 'jquery'\n\n/**\n * Constants\n * ====================================================\n */\n\nconst NAME = 'Dropdown'\nconst DATA_KEY = 'lte.dropdown'\nconst JQUERY_NO_CONFLICT = $.fn[NAME]\n\nconst SELECTOR_NAVBAR = '.navbar'\nconst SELECTOR_DROPDOWN_MENU = '.dropdown-menu'\nconst SELECTOR_DROPDOWN_MENU_ACTIVE = '.dropdown-menu.show'\nconst SELECTOR_DROPDOWN_TOGGLE = '[data-toggle=\"dropdown\"]'\n\nconst CLASS_NAME_DROPDOWN_RIGHT = 'dropdown-menu-right'\nconst CLASS_NAME_DROPDOWN_SUBMENU = 'dropdown-submenu'\n\n// TODO: this is unused; should be removed along with the extend?\nconst Default = {}\n\n/**\n * Class Definition\n * ====================================================\n */\n\nclass Dropdown {\n constructor(element, config) {\n this._config = config\n this._element = element\n }\n\n // Public\n\n toggleSubmenu() {\n this._element.siblings().show().toggleClass('show')\n\n if (!this._element.next().hasClass('show')) {\n this._element.parents(SELECTOR_DROPDOWN_MENU).first().find('.show').removeClass('show').hide()\n }\n\n this._element.parents('li.nav-item.dropdown.show').on('hidden.bs.dropdown', () => {\n $('.dropdown-submenu .show').removeClass('show').hide()\n })\n }\n\n fixPosition() {\n const $element = $(SELECTOR_DROPDOWN_MENU_ACTIVE)\n\n if ($element.length === 0) {\n return\n }\n\n if ($element.hasClass(CLASS_NAME_DROPDOWN_RIGHT)) {\n $element.css({\n left: 'inherit',\n right: 0\n })\n } else {\n $element.css({\n left: 0,\n right: 'inherit'\n })\n }\n\n const offset = $element.offset()\n const width = $element.width()\n const visiblePart = $(window).width() - offset.left\n\n if (offset.left < 0) {\n $element.css({\n left: 'inherit',\n right: offset.left - 5\n })\n } else if (visiblePart < width) {\n $element.css({\n left: 'inherit',\n right: 0\n })\n }\n }\n\n // Static\n\n static _jQueryInterface(config) {\n return this.each(function () {\n let data = $(this).data(DATA_KEY)\n const _config = $.extend({}, Default, $(this).data())\n\n if (!data) {\n data = new Dropdown($(this), _config)\n $(this).data(DATA_KEY, data)\n }\n\n if (config === 'toggleSubmenu' || config === 'fixPosition') {\n data[config]()\n }\n })\n }\n}\n\n/**\n * Data API\n * ====================================================\n */\n\n$(`${SELECTOR_DROPDOWN_MENU} ${SELECTOR_DROPDOWN_TOGGLE}`).on('click', function (event) {\n event.preventDefault()\n event.stopPropagation()\n\n Dropdown._jQueryInterface.call($(this), 'toggleSubmenu')\n})\n\n$(`${SELECTOR_NAVBAR} ${SELECTOR_DROPDOWN_TOGGLE}`).on('click', event => {\n event.preventDefault()\n\n if ($(event.target).parent().hasClass(CLASS_NAME_DROPDOWN_SUBMENU)) {\n return\n }\n\n setTimeout(function () {\n Dropdown._jQueryInterface.call($(this), 'fixPosition')\n }, 1)\n})\n\n/**\n * jQuery API\n * ====================================================\n */\n\n$.fn[NAME] = Dropdown._jQueryInterface\n$.fn[NAME].Constructor = Dropdown\n$.fn[NAME].noConflict = function () {\n $.fn[NAME] = JQUERY_NO_CONFLICT\n return Dropdown._jQueryInterface\n}\n\nexport default Dropdown\n","/**\n * --------------------------------------------\n * AdminLTE ExpandableTable.js\n * License MIT\n * --------------------------------------------\n */\n\nimport $ from 'jquery'\n\n/**\n * Constants\n * ====================================================\n */\n\nconst NAME = 'ExpandableTable'\nconst DATA_KEY = 'lte.expandableTable'\nconst EVENT_KEY = `.${DATA_KEY}`\nconst JQUERY_NO_CONFLICT = $.fn[NAME]\n\nconst EVENT_EXPANDED = `expanded${EVENT_KEY}`\nconst EVENT_COLLAPSED = `collapsed${EVENT_KEY}`\n\nconst SELECTOR_TABLE = '.expandable-table'\nconst SELECTOR_EXPANDABLE_BODY = '.expandable-body'\nconst SELECTOR_DATA_TOGGLE = '[data-widget=\"expandable-table\"]'\nconst SELECTOR_ARIA_ATTR = 'aria-expanded'\n\n/**\n * Class Definition\n * ====================================================\n */\nclass ExpandableTable {\n constructor(element, options) {\n this._options = options\n this._element = element\n }\n\n // Public\n\n init() {\n $(SELECTOR_DATA_TOGGLE).each((_, $header) => {\n const $type = $($header).attr(SELECTOR_ARIA_ATTR)\n const $body = $($header).next(SELECTOR_EXPANDABLE_BODY).children().first().children()\n if ($type === 'true') {\n $body.show()\n } else if ($type === 'false') {\n $body.hide()\n $body.parent().parent().addClass('d-none')\n }\n })\n }\n\n toggleRow() {\n const $element = this._element\n const time = 500\n const $type = $element.attr(SELECTOR_ARIA_ATTR)\n const $body = $element.next(SELECTOR_EXPANDABLE_BODY).children().first().children()\n\n $body.stop()\n if ($type === 'true') {\n $body.slideUp(time, () => {\n $element.next(SELECTOR_EXPANDABLE_BODY).addClass('d-none')\n })\n $element.attr(SELECTOR_ARIA_ATTR, 'false')\n $element.trigger($.Event(EVENT_COLLAPSED))\n } else if ($type === 'false') {\n $element.next(SELECTOR_EXPANDABLE_BODY).removeClass('d-none')\n $body.slideDown(time)\n $element.attr(SELECTOR_ARIA_ATTR, 'true')\n $element.trigger($.Event(EVENT_EXPANDED))\n }\n }\n\n // Static\n\n static _jQueryInterface(operation) {\n return this.each(function () {\n let data = $(this).data(DATA_KEY)\n\n if (!data) {\n data = new ExpandableTable($(this))\n $(this).data(DATA_KEY, data)\n }\n\n if (typeof operation === 'string' && /init|toggleRow/.test(operation)) {\n data[operation]()\n }\n })\n }\n}\n\n/**\n * Data API\n * ====================================================\n */\n$(SELECTOR_TABLE).ready(function () {\n ExpandableTable._jQueryInterface.call($(this), 'init')\n})\n\n$(document).on('click', SELECTOR_DATA_TOGGLE, function () {\n ExpandableTable._jQueryInterface.call($(this), 'toggleRow')\n})\n\n/**\n * jQuery API\n * ====================================================\n */\n\n$.fn[NAME] = ExpandableTable._jQueryInterface\n$.fn[NAME].Constructor = ExpandableTable\n$.fn[NAME].noConflict = function () {\n $.fn[NAME] = JQUERY_NO_CONFLICT\n return ExpandableTable._jQueryInterface\n}\n\nexport default ExpandableTable\n","/**\n * --------------------------------------------\n * AdminLTE Fullscreen.js\n * License MIT\n * --------------------------------------------\n */\n\nimport $ from 'jquery'\n\n/**\n * Constants\n * ====================================================\n */\n\nconst NAME = 'Fullscreen'\nconst DATA_KEY = 'lte.fullscreen'\nconst JQUERY_NO_CONFLICT = $.fn[NAME]\n\nconst SELECTOR_DATA_WIDGET = '[data-widget=\"fullscreen\"]'\nconst SELECTOR_ICON = `${SELECTOR_DATA_WIDGET} i`\n\nconst Default = {\n minimizeIcon: 'fa-compress-arrows-alt',\n maximizeIcon: 'fa-expand-arrows-alt'\n}\n\n/**\n * Class Definition\n * ====================================================\n */\n\nclass Fullscreen {\n constructor(_element, _options) {\n this.element = _element\n this.options = $.extend({}, Default, _options)\n }\n\n // Public\n\n toggle() {\n if (document.fullscreenElement ||\n document.mozFullScreenElement ||\n document.webkitFullscreenElement ||\n document.msFullscreenElement) {\n this.windowed()\n } else {\n this.fullscreen()\n }\n }\n\n fullscreen() {\n if (document.documentElement.requestFullscreen) {\n document.documentElement.requestFullscreen()\n } else if (document.documentElement.webkitRequestFullscreen) {\n document.documentElement.webkitRequestFullscreen()\n } else if (document.documentElement.msRequestFullscreen) {\n document.documentElement.msRequestFullscreen()\n }\n\n $(SELECTOR_ICON).removeClass(this.options.maximizeIcon).addClass(this.options.minimizeIcon)\n }\n\n windowed() {\n if (document.exitFullscreen) {\n document.exitFullscreen()\n } else if (document.webkitExitFullscreen) {\n document.webkitExitFullscreen()\n } else if (document.msExitFullscreen) {\n document.msExitFullscreen()\n }\n\n $(SELECTOR_ICON).removeClass(this.options.minimizeIcon).addClass(this.options.maximizeIcon)\n }\n\n // Static\n\n static _jQueryInterface(config) {\n let data = $(this).data(DATA_KEY)\n\n if (!data) {\n data = $(this).data()\n }\n\n const _options = $.extend({}, Default, typeof config === 'object' ? config : data)\n const plugin = new Fullscreen($(this), _options)\n\n $(this).data(DATA_KEY, typeof config === 'object' ? config : data)\n\n if (typeof config === 'string' && /toggle|fullscreen|windowed/.test(config)) {\n plugin[config]()\n } else {\n plugin.init()\n }\n }\n}\n\n/**\n * Data API\n * ====================================================\n */\n$(document).on('click', SELECTOR_DATA_WIDGET, function () {\n Fullscreen._jQueryInterface.call($(this), 'toggle')\n})\n\n/**\n * jQuery API\n * ====================================================\n */\n\n$.fn[NAME] = Fullscreen._jQueryInterface\n$.fn[NAME].Constructor = Fullscreen\n$.fn[NAME].noConflict = function () {\n $.fn[NAME] = JQUERY_NO_CONFLICT\n return Fullscreen._jQueryInterface\n}\n\nexport default Fullscreen\n","/**\n * --------------------------------------------\n * AdminLTE IFrame.js\n * License MIT\n * --------------------------------------------\n */\n\nimport $ from 'jquery'\n\n/**\n * Constants\n * ====================================================\n */\n\nconst NAME = 'IFrame'\nconst DATA_KEY = 'lte.iframe'\nconst JQUERY_NO_CONFLICT = $.fn[NAME]\n\nconst SELECTOR_DATA_TOGGLE = '[data-widget=\"iframe\"]'\nconst SELECTOR_DATA_TOGGLE_CLOSE = '[data-widget=\"iframe-close\"]'\nconst SELECTOR_DATA_TOGGLE_SCROLL_LEFT = '[data-widget=\"iframe-scrollleft\"]'\nconst SELECTOR_DATA_TOGGLE_SCROLL_RIGHT = '[data-widget=\"iframe-scrollright\"]'\nconst SELECTOR_DATA_TOGGLE_FULLSCREEN = '[data-widget=\"iframe-fullscreen\"]'\nconst SELECTOR_CONTENT_WRAPPER = '.content-wrapper'\nconst SELECTOR_CONTENT_IFRAME = `${SELECTOR_CONTENT_WRAPPER} iframe`\nconst SELECTOR_TAB_NAV = `${SELECTOR_DATA_TOGGLE}.iframe-mode .nav`\nconst SELECTOR_TAB_NAVBAR_NAV = `${SELECTOR_DATA_TOGGLE}.iframe-mode .navbar-nav`\nconst SELECTOR_TAB_NAVBAR_NAV_ITEM = `${SELECTOR_TAB_NAVBAR_NAV} .nav-item`\nconst SELECTOR_TAB_NAVBAR_NAV_LINK = `${SELECTOR_TAB_NAVBAR_NAV} .nav-link`\nconst SELECTOR_TAB_CONTENT = `${SELECTOR_DATA_TOGGLE}.iframe-mode .tab-content`\nconst SELECTOR_TAB_EMPTY = `${SELECTOR_TAB_CONTENT} .tab-empty`\nconst SELECTOR_TAB_LOADING = `${SELECTOR_TAB_CONTENT} .tab-loading`\nconst SELECTOR_TAB_PANE = `${SELECTOR_TAB_CONTENT} .tab-pane`\nconst SELECTOR_SIDEBAR_MENU_ITEM = '.main-sidebar .nav-item > a.nav-link'\nconst SELECTOR_SIDEBAR_SEARCH_ITEM = '.sidebar-search-results .list-group-item'\nconst SELECTOR_HEADER_MENU_ITEM = '.main-header .nav-item a.nav-link'\nconst SELECTOR_HEADER_DROPDOWN_ITEM = '.main-header a.dropdown-item'\nconst CLASS_NAME_IFRAME_MODE = 'iframe-mode'\nconst CLASS_NAME_FULLSCREEN_MODE = 'iframe-mode-fullscreen'\n\nconst Default = {\n onTabClick(item) {\n return item\n },\n onTabChanged(item) {\n return item\n },\n onTabCreated(item) {\n return item\n },\n autoIframeMode: true,\n autoItemActive: true,\n autoShowNewTab: true,\n allowDuplicates: false,\n loadingScreen: true,\n useNavbarItems: true,\n scrollOffset: 40,\n scrollBehaviorSwap: false,\n iconMaximize: 'fa-expand',\n iconMinimize: 'fa-compress'\n}\n\n/**\n * Class Definition\n * ====================================================\n */\n\nclass IFrame {\n constructor(element, config) {\n this._config = config\n this._element = element\n\n this._init()\n }\n\n // Public\n\n onTabClick(item) {\n this._config.onTabClick(item)\n }\n\n onTabChanged(item) {\n this._config.onTabChanged(item)\n }\n\n onTabCreated(item) {\n this._config.onTabCreated(item)\n }\n\n createTab(title, link, uniqueName, autoOpen) {\n let tabId = `panel-${uniqueName}`\n let navId = `tab-${uniqueName}`\n\n if (this._config.allowDuplicates) {\n tabId += `-${Math.floor(Math.random() * 1000)}`\n navId += `-${Math.floor(Math.random() * 1000)}`\n }\n\n const newNavItem = `<li class=\"nav-item\" role=\"presentation\"><a href=\"#\" class=\"btn-iframe-close\" data-widget=\"iframe-close\" data-type=\"only-this\"><i class=\"fas fa-times\"></i></a><a class=\"nav-link\" data-toggle=\"row\" id=\"${navId}\" href=\"#${tabId}\" role=\"tab\" aria-controls=\"${tabId}\" aria-selected=\"false\">${title}</a></li>`\n $(SELECTOR_TAB_NAVBAR_NAV).append(unescape(escape(newNavItem)))\n\n const newTabItem = `<div class=\"tab-pane fade\" id=\"${tabId}\" role=\"tabpanel\" aria-labelledby=\"${navId}\"><iframe src=\"${link}\"></iframe></div>`\n $(SELECTOR_TAB_CONTENT).append(unescape(escape(newTabItem)))\n\n if (autoOpen) {\n if (this._config.loadingScreen) {\n const $loadingScreen = $(SELECTOR_TAB_LOADING)\n $loadingScreen.fadeIn()\n $(`${tabId} iframe`).ready(() => {\n if (typeof this._config.loadingScreen === 'number') {\n this.switchTab(`#${navId}`)\n setTimeout(() => {\n $loadingScreen.fadeOut()\n }, this._config.loadingScreen)\n } else {\n this.switchTab(`#${navId}`)\n $loadingScreen.fadeOut()\n }\n })\n } else {\n this.switchTab(`#${navId}`)\n }\n }\n\n this.onTabCreated($(`#${navId}`))\n }\n\n openTabSidebar(item, autoOpen = this._config.autoShowNewTab) {\n let $item = $(item).clone()\n if ($item.attr('href') === undefined) {\n $item = $(item).parent('a').clone()\n }\n\n $item.find('.right, .search-path').remove()\n let title = $item.find('p').text()\n if (title === '') {\n title = $item.text()\n }\n\n const link = $item.attr('href')\n if (link === '#' || link === '' || link === undefined) {\n return\n }\n\n const uniqueName = link.replace('./', '').replace(/[\"&'./:=?[\\]]/gi, '-').replace(/(--)/gi, '')\n const navId = `tab-${uniqueName}`\n\n if (!this._config.allowDuplicates && $(`#${navId}`).length > 0) {\n return this.switchTab(`#${navId}`)\n }\n\n if ((!this._config.allowDuplicates && $(`#${navId}`).length === 0) || this._config.allowDuplicates) {\n this.createTab(title, link, uniqueName, autoOpen)\n }\n }\n\n switchTab(item) {\n const $item = $(item)\n const tabId = $item.attr('href')\n\n $(SELECTOR_TAB_EMPTY).hide()\n $(`${SELECTOR_TAB_NAVBAR_NAV} .active`).tab('dispose').removeClass('active')\n this._fixHeight()\n\n $item.tab('show')\n $item.parents('li').addClass('active')\n this.onTabChanged($item)\n\n if (this._config.autoItemActive) {\n this._setItemActive($(`${tabId} iframe`).attr('src'))\n }\n }\n\n removeActiveTab(type, element) {\n if (type == 'all') {\n $(SELECTOR_TAB_NAVBAR_NAV_ITEM).remove()\n $(SELECTOR_TAB_PANE).remove()\n $(SELECTOR_TAB_EMPTY).show()\n } else if (type == 'all-other') {\n $(`${SELECTOR_TAB_NAVBAR_NAV_ITEM}:not(.active)`).remove()\n $(`${SELECTOR_TAB_PANE}:not(.active)`).remove()\n } else if (type == 'only-this') {\n const $navClose = $(element)\n const $navItem = $navClose.parent('.nav-item')\n const $navItemParent = $navItem.parent()\n const navItemIndex = $navItem.index()\n const tabId = $navClose.siblings('.nav-link').attr('aria-controls')\n $navItem.remove()\n $(`#${tabId}`).remove()\n if ($(SELECTOR_TAB_CONTENT).children().length == $(`${SELECTOR_TAB_EMPTY}, ${SELECTOR_TAB_LOADING}`).length) {\n $(SELECTOR_TAB_EMPTY).show()\n } else {\n const prevNavItemIndex = navItemIndex - 1\n this.switchTab($navItemParent.children().eq(prevNavItemIndex).find('a.nav-link'))\n }\n } else {\n const $navItem = $(`${SELECTOR_TAB_NAVBAR_NAV_ITEM}.active`)\n const $navItemParent = $navItem.parent()\n const navItemIndex = $navItem.index()\n $navItem.remove()\n $(`${SELECTOR_TAB_PANE}.active`).remove()\n if ($(SELECTOR_TAB_CONTENT).children().length == $(`${SELECTOR_TAB_EMPTY}, ${SELECTOR_TAB_LOADING}`).length) {\n $(SELECTOR_TAB_EMPTY).show()\n } else {\n const prevNavItemIndex = navItemIndex - 1\n this.switchTab($navItemParent.children().eq(prevNavItemIndex).find('a.nav-link'))\n }\n }\n }\n\n toggleFullscreen() {\n if ($('body').hasClass(CLASS_NAME_FULLSCREEN_MODE)) {\n $(`${SELECTOR_DATA_TOGGLE_FULLSCREEN} i`).removeClass(this._config.iconMinimize).addClass(this._config.iconMaximize)\n $('body').removeClass(CLASS_NAME_FULLSCREEN_MODE)\n $(`${SELECTOR_TAB_EMPTY}, ${SELECTOR_TAB_LOADING}`).height('auto')\n $(SELECTOR_CONTENT_WRAPPER).height('auto')\n $(SELECTOR_CONTENT_IFRAME).height('auto')\n } else {\n $(`${SELECTOR_DATA_TOGGLE_FULLSCREEN} i`).removeClass(this._config.iconMaximize).addClass(this._config.iconMinimize)\n $('body').addClass(CLASS_NAME_FULLSCREEN_MODE)\n }\n\n $(window).trigger('resize')\n this._fixHeight(true)\n }\n\n // Private\n\n _init() {\n if (window.frameElement && this._config.autoIframeMode) {\n $('body').addClass(CLASS_NAME_IFRAME_MODE)\n } else if ($(SELECTOR_CONTENT_WRAPPER).hasClass(CLASS_NAME_IFRAME_MODE)) {\n if ($(SELECTOR_TAB_CONTENT).children().length > 2) {\n const $el = $(`${SELECTOR_TAB_PANE}:first-child`)\n $el.show()\n this._setItemActive($el.find('iframe').attr('src'))\n }\n\n this._setupListeners()\n this._fixHeight(true)\n }\n }\n\n _navScroll(offset) {\n const leftPos = $(SELECTOR_TAB_NAVBAR_NAV).scrollLeft()\n $(SELECTOR_TAB_NAVBAR_NAV).animate({ scrollLeft: (leftPos + offset) }, 250, 'linear')\n }\n\n _setupListeners() {\n $(window).on('resize', () => {\n setTimeout(() => {\n this._fixHeight()\n }, 1)\n })\n $(document).on('click', `${SELECTOR_SIDEBAR_MENU_ITEM}, ${SELECTOR_SIDEBAR_SEARCH_ITEM}`, e => {\n e.preventDefault()\n this.openTabSidebar(e.target)\n })\n\n if (this._config.useNavbarItems) {\n $(document).on('click', `${SELECTOR_HEADER_MENU_ITEM}, ${SELECTOR_HEADER_DROPDOWN_ITEM}`, e => {\n e.preventDefault()\n this.openTabSidebar(e.target)\n })\n }\n\n $(document).on('click', SELECTOR_TAB_NAVBAR_NAV_LINK, e => {\n e.preventDefault()\n this.onTabClick(e.target)\n this.switchTab(e.target)\n })\n $(document).on('click', SELECTOR_TAB_NAVBAR_NAV_LINK, e => {\n e.preventDefault()\n this.onTabClick(e.target)\n this.switchTab(e.target)\n })\n $(document).on('click', SELECTOR_DATA_TOGGLE_CLOSE, e => {\n e.preventDefault()\n let { target } = e\n\n if (target.nodeName == 'I') {\n target = e.target.offsetParent\n }\n\n this.removeActiveTab(target.attributes['data-type'] ? target.attributes['data-type'].nodeValue : null, target)\n })\n $(document).on('click', SELECTOR_DATA_TOGGLE_FULLSCREEN, e => {\n e.preventDefault()\n this.toggleFullscreen()\n })\n let mousedown = false\n let mousedownInterval = null\n $(document).on('mousedown', SELECTOR_DATA_TOGGLE_SCROLL_LEFT, e => {\n e.preventDefault()\n clearInterval(mousedownInterval)\n\n let { scrollOffset } = this._config\n\n if (!this._config.scrollBehaviorSwap) {\n scrollOffset = -scrollOffset\n }\n\n mousedown = true\n this._navScroll(scrollOffset)\n\n mousedownInterval = setInterval(() => {\n this._navScroll(scrollOffset)\n }, 250)\n })\n $(document).on('mousedown', SELECTOR_DATA_TOGGLE_SCROLL_RIGHT, e => {\n e.preventDefault()\n clearInterval(mousedownInterval)\n\n let { scrollOffset } = this._config\n\n if (this._config.scrollBehaviorSwap) {\n scrollOffset = -scrollOffset\n }\n\n mousedown = true\n this._navScroll(scrollOffset)\n\n mousedownInterval = setInterval(() => {\n this._navScroll(scrollOffset)\n }, 250)\n })\n $(document).on('mouseup', () => {\n if (mousedown) {\n mousedown = false\n clearInterval(mousedownInterval)\n mousedownInterval = null\n }\n })\n }\n\n _setItemActive(href) {\n $(`${SELECTOR_SIDEBAR_MENU_ITEM}, ${SELECTOR_HEADER_DROPDOWN_ITEM}`).removeClass('active')\n $(SELECTOR_HEADER_MENU_ITEM).parent().removeClass('active')\n\n const $headerMenuItem = $(`${SELECTOR_HEADER_MENU_ITEM}[href$=\"${href}\"]`)\n const $headerDropdownItem = $(`${SELECTOR_HEADER_DROPDOWN_ITEM}[href$=\"${href}\"]`)\n const $sidebarMenuItem = $(`${SELECTOR_SIDEBAR_MENU_ITEM}[href$=\"${href}\"]`)\n\n $headerMenuItem.each((i, e) => {\n $(e).parent().addClass('active')\n })\n $headerDropdownItem.each((i, e) => {\n $(e).addClass('active')\n })\n $sidebarMenuItem.each((i, e) => {\n $(e).addClass('active')\n $(e).parents('.nav-treeview').prevAll('.nav-link').addClass('active')\n })\n }\n\n _fixHeight(tabEmpty = false) {\n if ($('body').hasClass(CLASS_NAME_FULLSCREEN_MODE)) {\n const windowHeight = $(window).height()\n const navbarHeight = $(SELECTOR_TAB_NAV).outerHeight()\n $(`${SELECTOR_TAB_EMPTY}, ${SELECTOR_TAB_LOADING}, ${SELECTOR_CONTENT_IFRAME}`).height(windowHeight - navbarHeight)\n $(SELECTOR_CONTENT_WRAPPER).height(windowHeight)\n } else {\n const contentWrapperHeight = parseFloat($(SELECTOR_CONTENT_WRAPPER).css('height'))\n const navbarHeight = $(SELECTOR_TAB_NAV).outerHeight()\n if (tabEmpty == true) {\n setTimeout(() => {\n $(`${SELECTOR_TAB_EMPTY}, ${SELECTOR_TAB_LOADING}`).height(contentWrapperHeight - navbarHeight)\n }, 50)\n } else {\n $(SELECTOR_CONTENT_IFRAME).height(contentWrapperHeight - navbarHeight)\n }\n }\n }\n\n // Static\n\n static _jQueryInterface(operation, ...args) {\n let data = $(this).data(DATA_KEY)\n const _options = $.extend({}, Default, $(this).data())\n\n if (!data) {\n data = new IFrame(this, _options)\n $(this).data(DATA_KEY, data)\n }\n\n if (typeof operation === 'string' && /createTab|openTabSidebar|switchTab|removeActiveTab/.test(operation)) {\n data[operation](...args)\n }\n }\n}\n\n/**\n * Data API\n * ====================================================\n */\n\n$(window).on('load', () => {\n IFrame._jQueryInterface.call($(SELECTOR_DATA_TOGGLE))\n})\n\n/**\n * jQuery API\n * ====================================================\n */\n\n$.fn[NAME] = IFrame._jQueryInterface\n$.fn[NAME].Constructor = IFrame\n$.fn[NAME].noConflict = function () {\n $.fn[NAME] = JQUERY_NO_CONFLICT\n return IFrame._jQueryInterface\n}\n\nexport default IFrame\n","/**\n * --------------------------------------------\n * AdminLTE Layout.js\n * License MIT\n * --------------------------------------------\n */\n\nimport $ from 'jquery'\n\n/**\n * Constants\n * ====================================================\n */\n\nconst NAME = 'Layout'\nconst DATA_KEY = 'lte.layout'\nconst JQUERY_NO_CONFLICT = $.fn[NAME]\n\nconst SELECTOR_HEADER = '.main-header'\nconst SELECTOR_MAIN_SIDEBAR = '.main-sidebar'\nconst SELECTOR_SIDEBAR = '.main-sidebar .sidebar'\nconst SELECTOR_CONTENT = '.content-wrapper'\nconst SELECTOR_CONTROL_SIDEBAR_CONTENT = '.control-sidebar-content'\nconst SELECTOR_CONTROL_SIDEBAR_BTN = '[data-widget=\"control-sidebar\"]'\nconst SELECTOR_FOOTER = '.main-footer'\nconst SELECTOR_PUSHMENU_BTN = '[data-widget=\"pushmenu\"]'\nconst SELECTOR_LOGIN_BOX = '.login-box'\nconst SELECTOR_REGISTER_BOX = '.register-box'\nconst SELECTOR_PRELOADER = '.preloader'\n\nconst CLASS_NAME_SIDEBAR_COLLAPSED = 'sidebar-collapse'\nconst CLASS_NAME_SIDEBAR_FOCUSED = 'sidebar-focused'\nconst CLASS_NAME_LAYOUT_FIXED = 'layout-fixed'\nconst CLASS_NAME_CONTROL_SIDEBAR_SLIDE_OPEN = 'control-sidebar-slide-open'\nconst CLASS_NAME_CONTROL_SIDEBAR_OPEN = 'control-sidebar-open'\n\nconst Default = {\n scrollbarTheme: 'os-theme-light',\n scrollbarAutoHide: 'l',\n panelAutoHeight: true,\n panelAutoHeightMode: 'min-height',\n preloadDuration: 200,\n loginRegisterAutoHeight: true\n}\n\n/**\n * Class Definition\n * ====================================================\n */\n\nclass Layout {\n constructor(element, config) {\n this._config = config\n this._element = element\n }\n\n // Public\n\n fixLayoutHeight(extra = null) {\n const $body = $('body')\n let controlSidebar = 0\n\n if ($body.hasClass(CLASS_NAME_CONTROL_SIDEBAR_SLIDE_OPEN) || $body.hasClass(CLASS_NAME_CONTROL_SIDEBAR_OPEN) || extra === 'control_sidebar') {\n controlSidebar = $(SELECTOR_CONTROL_SIDEBAR_CONTENT).outerHeight()\n }\n\n const heights = {\n window: $(window).height(),\n header: $(SELECTOR_HEADER).length > 0 ? $(SELECTOR_HEADER).outerHeight() : 0,\n footer: $(SELECTOR_FOOTER).length > 0 ? $(SELECTOR_FOOTER).outerHeight() : 0,\n sidebar: $(SELECTOR_SIDEBAR).length > 0 ? $(SELECTOR_SIDEBAR).height() : 0,\n controlSidebar\n }\n\n const max = this._max(heights)\n let offset = this._config.panelAutoHeight\n\n if (offset === true) {\n offset = 0\n }\n\n const $contentSelector = $(SELECTOR_CONTENT)\n\n if (offset !== false) {\n if (max === heights.controlSidebar) {\n $contentSelector.css(this._config.panelAutoHeightMode, (max + offset))\n } else if (max === heights.window) {\n $contentSelector.css(this._config.panelAutoHeightMode, (max + offset) - heights.header - heights.footer)\n } else {\n $contentSelector.css(this._config.panelAutoHeightMode, (max + offset) - heights.header)\n }\n\n if (this._isFooterFixed()) {\n $contentSelector.css(this._config.panelAutoHeightMode, parseFloat($contentSelector.css(this._config.panelAutoHeightMode)) + heights.footer)\n }\n }\n\n if (!$body.hasClass(CLASS_NAME_LAYOUT_FIXED)) {\n return\n }\n\n if (typeof $.fn.overlayScrollbars !== 'undefined') {\n $(SELECTOR_SIDEBAR).overlayScrollbars({\n className: this._config.scrollbarTheme,\n sizeAutoCapable: true,\n scrollbars: {\n autoHide: this._config.scrollbarAutoHide,\n clickScrolling: true\n }\n })\n } else {\n $(SELECTOR_SIDEBAR).css('overflow-y', 'auto')\n }\n }\n\n fixLoginRegisterHeight() {\n const $body = $('body')\n const $selector = $(`${SELECTOR_LOGIN_BOX}, ${SELECTOR_REGISTER_BOX}`)\n\n if ($selector.length === 0) {\n $body.css('height', 'auto')\n $('html').css('height', 'auto')\n } else {\n const boxHeight = $selector.height()\n\n if ($body.css(this._config.panelAutoHeightMode) !== boxHeight) {\n $body.css(this._config.panelAutoHeightMode, boxHeight)\n }\n }\n }\n\n // Private\n\n _init() {\n // Activate layout height watcher\n this.fixLayoutHeight()\n\n if (this._config.loginRegisterAutoHeight === true) {\n this.fixLoginRegisterHeight()\n } else if (this._config.loginRegisterAutoHeight === parseInt(this._config.loginRegisterAutoHeight, 10)) {\n setInterval(this.fixLoginRegisterHeight, this._config.loginRegisterAutoHeight)\n }\n\n $(SELECTOR_SIDEBAR)\n .on('collapsed.lte.treeview expanded.lte.treeview', () => {\n this.fixLayoutHeight()\n })\n\n $(SELECTOR_MAIN_SIDEBAR)\n .on('mouseenter mouseleave', () => {\n if ($('body').hasClass(CLASS_NAME_SIDEBAR_COLLAPSED)) {\n this.fixLayoutHeight()\n }\n })\n\n $(SELECTOR_PUSHMENU_BTN)\n .on('collapsed.lte.pushmenu shown.lte.pushmenu', () => {\n setTimeout(() => {\n this.fixLayoutHeight()\n }, 300)\n })\n\n $(SELECTOR_CONTROL_SIDEBAR_BTN)\n .on('collapsed.lte.controlsidebar', () => {\n this.fixLayoutHeight()\n })\n .on('expanded.lte.controlsidebar', () => {\n this.fixLayoutHeight('control_sidebar')\n })\n\n $(window).resize(() => {\n this.fixLayoutHeight()\n })\n\n setTimeout(() => {\n $('body.hold-transition').removeClass('hold-transition')\n }, 50)\n\n setTimeout(() => {\n const $preloader = $(SELECTOR_PRELOADER)\n if ($preloader) {\n $preloader.css('height', 0)\n setTimeout(() => {\n $preloader.children().hide()\n }, 200)\n }\n }, this._config.preloadDuration)\n }\n\n _max(numbers) {\n // Calculate the maximum number in a list\n let max = 0\n\n Object.keys(numbers).forEach(key => {\n if (numbers[key] > max) {\n max = numbers[key]\n }\n })\n\n return max\n }\n\n _isFooterFixed() {\n return $(SELECTOR_FOOTER).css('position') === 'fixed'\n }\n\n // Static\n\n static _jQueryInterface(config = '') {\n return this.each(function () {\n let data = $(this).data(DATA_KEY)\n const _options = $.extend({}, Default, $(this).data())\n\n if (!data) {\n data = new Layout($(this), _options)\n $(this).data(DATA_KEY, data)\n }\n\n if (config === 'init' || config === '') {\n data._init()\n } else if (config === 'fixLayoutHeight' || config === 'fixLoginRegisterHeight') {\n data[config]()\n }\n })\n }\n}\n\n/**\n * Data API\n * ====================================================\n */\n\n$(window).on('load', () => {\n Layout._jQueryInterface.call($('body'))\n})\n\n$(`${SELECTOR_SIDEBAR} a`)\n .on('focusin', () => {\n $(SELECTOR_MAIN_SIDEBAR).addClass(CLASS_NAME_SIDEBAR_FOCUSED)\n })\n .on('focusout', () => {\n $(SELECTOR_MAIN_SIDEBAR).removeClass(CLASS_NAME_SIDEBAR_FOCUSED)\n })\n\n/**\n * jQuery API\n * ====================================================\n */\n\n$.fn[NAME] = Layout._jQueryInterface\n$.fn[NAME].Constructor = Layout\n$.fn[NAME].noConflict = function () {\n $.fn[NAME] = JQUERY_NO_CONFLICT\n return Layout._jQueryInterface\n}\n\nexport default Layout\n","/**\n * --------------------------------------------\n * AdminLTE PushMenu.js\n * License MIT\n * --------------------------------------------\n */\n\nimport $ from 'jquery'\n\n/**\n * Constants\n * ====================================================\n */\n\nconst NAME = 'PushMenu'\nconst DATA_KEY = 'lte.pushmenu'\nconst EVENT_KEY = `.${DATA_KEY}`\nconst JQUERY_NO_CONFLICT = $.fn[NAME]\n\nconst EVENT_COLLAPSED = `collapsed${EVENT_KEY}`\nconst EVENT_SHOWN = `shown${EVENT_KEY}`\n\nconst SELECTOR_TOGGLE_BUTTON = '[data-widget=\"pushmenu\"]'\nconst SELECTOR_BODY = 'body'\nconst SELECTOR_OVERLAY = '#sidebar-overlay'\nconst SELECTOR_WRAPPER = '.wrapper'\n\nconst CLASS_NAME_COLLAPSED = 'sidebar-collapse'\nconst CLASS_NAME_OPEN = 'sidebar-open'\nconst CLASS_NAME_IS_OPENING = 'sidebar-is-opening'\nconst CLASS_NAME_CLOSED = 'sidebar-closed'\n\nconst Default = {\n autoCollapseSize: 992,\n enableRemember: false,\n noTransitionAfterReload: true\n}\n\n/**\n * Class Definition\n * ====================================================\n */\n\nclass PushMenu {\n constructor(element, options) {\n this._element = element\n this._options = $.extend({}, Default, options)\n\n if ($(SELECTOR_OVERLAY).length === 0) {\n this._addOverlay()\n }\n\n this._init()\n }\n\n // Public\n\n expand() {\n const $bodySelector = $(SELECTOR_BODY)\n\n if (this._options.autoCollapseSize && $(window).width() <= this._options.autoCollapseSize) {\n $bodySelector.addClass(CLASS_NAME_OPEN)\n }\n\n $bodySelector.addClass(CLASS_NAME_IS_OPENING).removeClass(`${CLASS_NAME_COLLAPSED} ${CLASS_NAME_CLOSED}`).delay(50).queue(function () {\n $bodySelector.removeClass(CLASS_NAME_IS_OPENING)\n $(this).dequeue()\n })\n\n if (this._options.enableRemember) {\n localStorage.setItem(`remember${EVENT_KEY}`, CLASS_NAME_OPEN)\n }\n\n $(this._element).trigger($.Event(EVENT_SHOWN))\n }\n\n collapse() {\n const $bodySelector = $(SELECTOR_BODY)\n\n if (this._options.autoCollapseSize && $(window).width() <= this._options.autoCollapseSize) {\n $bodySelector.removeClass(CLASS_NAME_OPEN).addClass(CLASS_NAME_CLOSED)\n }\n\n $bodySelector.addClass(CLASS_NAME_COLLAPSED)\n\n if (this._options.enableRemember) {\n localStorage.setItem(`remember${EVENT_KEY}`, CLASS_NAME_COLLAPSED)\n }\n\n $(this._element).trigger($.Event(EVENT_COLLAPSED))\n }\n\n toggle() {\n if ($(SELECTOR_BODY).hasClass(CLASS_NAME_COLLAPSED)) {\n this.expand()\n } else {\n this.collapse()\n }\n }\n\n autoCollapse(resize = false) {\n if (!this._options.autoCollapseSize) {\n return\n }\n\n const $bodySelector = $(SELECTOR_BODY)\n\n if ($(window).width() <= this._options.autoCollapseSize) {\n if (!$bodySelector.hasClass(CLASS_NAME_OPEN)) {\n this.collapse()\n }\n } else if (resize === true) {\n if ($bodySelector.hasClass(CLASS_NAME_OPEN)) {\n $bodySelector.removeClass(CLASS_NAME_OPEN)\n } else if ($bodySelector.hasClass(CLASS_NAME_CLOSED)) {\n this.expand()\n }\n }\n }\n\n remember() {\n if (!this._options.enableRemember) {\n return\n }\n\n const $body = $('body')\n const toggleState = localStorage.getItem(`remember${EVENT_KEY}`)\n\n if (toggleState === CLASS_NAME_COLLAPSED) {\n if (this._options.noTransitionAfterReload) {\n $body.addClass('hold-transition').addClass(CLASS_NAME_COLLAPSED).delay(50).queue(function () {\n $(this).removeClass('hold-transition')\n $(this).dequeue()\n })\n } else {\n $body.addClass(CLASS_NAME_COLLAPSED)\n }\n } else if (this._options.noTransitionAfterReload) {\n $body.addClass('hold-transition').removeClass(CLASS_NAME_COLLAPSED).delay(50).queue(function () {\n $(this).removeClass('hold-transition')\n $(this).dequeue()\n })\n } else {\n $body.removeClass(CLASS_NAME_COLLAPSED)\n }\n }\n\n // Private\n\n _init() {\n this.remember()\n this.autoCollapse()\n\n $(window).resize(() => {\n this.autoCollapse(true)\n })\n }\n\n _addOverlay() {\n const overlay = $('<div />', {\n id: 'sidebar-overlay'\n })\n\n overlay.on('click', () => {\n this.collapse()\n })\n\n $(SELECTOR_WRAPPER).append(overlay)\n }\n\n // Static\n\n static _jQueryInterface(operation) {\n return this.each(function () {\n let data = $(this).data(DATA_KEY)\n const _options = $.extend({}, Default, $(this).data())\n\n if (!data) {\n data = new PushMenu(this, _options)\n $(this).data(DATA_KEY, data)\n }\n\n if (typeof operation === 'string' && /collapse|expand|toggle/.test(operation)) {\n data[operation]()\n }\n })\n }\n}\n\n/**\n * Data API\n * ====================================================\n */\n\n$(document).on('click', SELECTOR_TOGGLE_BUTTON, event => {\n event.preventDefault()\n\n let button = event.currentTarget\n\n if ($(button).data('widget') !== 'pushmenu') {\n button = $(button).closest(SELECTOR_TOGGLE_BUTTON)\n }\n\n PushMenu._jQueryInterface.call($(button), 'toggle')\n})\n\n$(window).on('load', () => {\n PushMenu._jQueryInterface.call($(SELECTOR_TOGGLE_BUTTON))\n})\n\n/**\n * jQuery API\n * ====================================================\n */\n\n$.fn[NAME] = PushMenu._jQueryInterface\n$.fn[NAME].Constructor = PushMenu\n$.fn[NAME].noConflict = function () {\n $.fn[NAME] = JQUERY_NO_CONFLICT\n return PushMenu._jQueryInterface\n}\n\nexport default PushMenu\n","/**\n * --------------------------------------------\n * AdminLTE SidebarSearch.js\n * License MIT\n * --------------------------------------------\n */\n\nimport $, { trim } from 'jquery'\n\n/**\n * Constants\n * ====================================================\n */\n\nconst NAME = 'SidebarSearch'\nconst DATA_KEY = 'lte.sidebar-search'\nconst JQUERY_NO_CONFLICT = $.fn[NAME]\n\nconst CLASS_NAME_OPEN = 'sidebar-search-open'\nconst CLASS_NAME_ICON_SEARCH = 'fa-search'\nconst CLASS_NAME_ICON_CLOSE = 'fa-times'\nconst CLASS_NAME_HEADER = 'nav-header'\nconst CLASS_NAME_SEARCH_RESULTS = 'sidebar-search-results'\nconst CLASS_NAME_LIST_GROUP = 'list-group'\n\nconst SELECTOR_DATA_WIDGET = '[data-widget=\"sidebar-search\"]'\nconst SELECTOR_SIDEBAR = '.main-sidebar .nav-sidebar'\nconst SELECTOR_NAV_LINK = '.nav-link'\nconst SELECTOR_NAV_TREEVIEW = '.nav-treeview'\nconst SELECTOR_SEARCH_INPUT = `${SELECTOR_DATA_WIDGET} .form-control`\nconst SELECTOR_SEARCH_BUTTON = `${SELECTOR_DATA_WIDGET} .btn`\nconst SELECTOR_SEARCH_ICON = `${SELECTOR_SEARCH_BUTTON} i`\nconst SELECTOR_SEARCH_LIST_GROUP = `.${CLASS_NAME_LIST_GROUP}`\nconst SELECTOR_SEARCH_RESULTS = `.${CLASS_NAME_SEARCH_RESULTS}`\nconst SELECTOR_SEARCH_RESULTS_GROUP = `${SELECTOR_SEARCH_RESULTS} .${CLASS_NAME_LIST_GROUP}`\n\nconst Default = {\n arrowSign: '->',\n minLength: 3,\n maxResults: 7,\n highlightName: true,\n highlightPath: false,\n highlightClass: 'text-light',\n notFoundText: 'No element found!'\n}\n\nconst SearchItems = []\n\n/**\n * Class Definition\n * ====================================================\n */\n\nclass SidebarSearch {\n constructor(_element, _options) {\n this.element = _element\n this.options = $.extend({}, Default, _options)\n this.items = []\n }\n\n // Public\n\n init() {\n if ($(SELECTOR_DATA_WIDGET).length === 0) {\n return\n }\n\n if ($(SELECTOR_DATA_WIDGET).next(SELECTOR_SEARCH_RESULTS).length === 0) {\n $(SELECTOR_DATA_WIDGET).after(\n $('<div />', { class: CLASS_NAME_SEARCH_RESULTS })\n )\n }\n\n if ($(SELECTOR_SEARCH_RESULTS).children(SELECTOR_SEARCH_LIST_GROUP).length === 0) {\n $(SELECTOR_SEARCH_RESULTS).append(\n $('<div />', { class: CLASS_NAME_LIST_GROUP })\n )\n }\n\n this._addNotFound()\n\n $(SELECTOR_SIDEBAR).children().each((i, child) => {\n this._parseItem(child)\n })\n }\n\n search() {\n const searchValue = $(SELECTOR_SEARCH_INPUT).val().toLowerCase()\n if (searchValue.length < this.options.minLength) {\n $(SELECTOR_SEARCH_RESULTS_GROUP).empty()\n this._addNotFound()\n this.close()\n return\n }\n\n const searchResults = SearchItems.filter(item => (item.name).toLowerCase().includes(searchValue))\n const endResults = $(searchResults.slice(0, this.options.maxResults))\n $(SELECTOR_SEARCH_RESULTS_GROUP).empty()\n\n if (endResults.length === 0) {\n this._addNotFound()\n } else {\n endResults.each((i, result) => {\n $(SELECTOR_SEARCH_RESULTS_GROUP).append(this._renderItem(escape(result.name), escape(result.link), result.path))\n })\n }\n\n this.open()\n }\n\n open() {\n $(SELECTOR_DATA_WIDGET).parent().addClass(CLASS_NAME_OPEN)\n $(SELECTOR_SEARCH_ICON).removeClass(CLASS_NAME_ICON_SEARCH).addClass(CLASS_NAME_ICON_CLOSE)\n }\n\n close() {\n $(SELECTOR_DATA_WIDGET).parent().removeClass(CLASS_NAME_OPEN)\n $(SELECTOR_SEARCH_ICON).removeClass(CLASS_NAME_ICON_CLOSE).addClass(CLASS_NAME_ICON_SEARCH)\n }\n\n toggle() {\n if ($(SELECTOR_DATA_WIDGET).parent().hasClass(CLASS_NAME_OPEN)) {\n this.close()\n } else {\n this.open()\n }\n }\n\n // Private\n\n _parseItem(item, path = []) {\n if ($(item).hasClass(CLASS_NAME_HEADER)) {\n return\n }\n\n const itemObject = {}\n const navLink = $(item).clone().find(`> ${SELECTOR_NAV_LINK}`)\n const navTreeview = $(item).clone().find(`> ${SELECTOR_NAV_TREEVIEW}`)\n\n const link = navLink.attr('href')\n const name = navLink.find('p').children().remove().end().text()\n\n itemObject.name = this._trimText(name)\n itemObject.link = link\n itemObject.path = path\n\n if (navTreeview.length === 0) {\n SearchItems.push(itemObject)\n } else {\n const newPath = itemObject.path.concat([itemObject.name])\n navTreeview.children().each((i, child) => {\n this._parseItem(child, newPath)\n })\n }\n }\n\n _trimText(text) {\n return trim(text.replace(/(\\r\\n|\\n|\\r)/gm, ' '))\n }\n\n _renderItem(name, link, path) {\n path = path.join(` ${this.options.arrowSign} `)\n name = unescape(name)\n\n if (this.options.highlightName || this.options.highlightPath) {\n const searchValue = $(SELECTOR_SEARCH_INPUT).val().toLowerCase()\n const regExp = new RegExp(searchValue, 'gi')\n\n if (this.options.highlightName) {\n name = name.replace(\n regExp,\n str => {\n return `<strong class=\"${this.options.highlightClass}\">${str}</strong>`\n }\n )\n }\n\n if (this.options.highlightPath) {\n path = path.replace(\n regExp,\n str => {\n return `<strong class=\"${this.options.highlightClass}\">${str}</strong>`\n }\n )\n }\n }\n\n const groupItemElement = $('<a/>', {\n href: link,\n class: 'list-group-item'\n })\n const searchTitleElement = $('<div/>', {\n class: 'search-title'\n }).html(name)\n const searchPathElement = $('<div/>', {\n class: 'search-path'\n }).html(path)\n\n groupItemElement.append(searchTitleElement).append(searchPathElement)\n\n return groupItemElement\n }\n\n _addNotFound() {\n $(SELECTOR_SEARCH_RESULTS_GROUP).append(this._renderItem(this.options.notFoundText, '#', []))\n }\n\n // Static\n\n static _jQueryInterface(config) {\n let data = $(this).data(DATA_KEY)\n\n if (!data) {\n data = $(this).data()\n }\n\n const _options = $.extend({}, Default, typeof config === 'object' ? config : data)\n const plugin = new SidebarSearch($(this), _options)\n\n $(this).data(DATA_KEY, typeof config === 'object' ? config : data)\n\n if (typeof config === 'string' && /init|toggle|close|open|search/.test(config)) {\n plugin[config]()\n } else {\n plugin.init()\n }\n }\n}\n\n/**\n * Data API\n * ====================================================\n */\n$(document).on('click', SELECTOR_SEARCH_BUTTON, event => {\n event.preventDefault()\n\n SidebarSearch._jQueryInterface.call($(SELECTOR_DATA_WIDGET), 'toggle')\n})\n\n$(document).on('keyup', SELECTOR_SEARCH_INPUT, event => {\n if (event.keyCode == 38) {\n event.preventDefault()\n $(SELECTOR_SEARCH_RESULTS_GROUP).children().last().focus()\n return\n }\n\n if (event.keyCode == 40) {\n event.preventDefault()\n $(SELECTOR_SEARCH_RESULTS_GROUP).children().first().focus()\n return\n }\n\n setTimeout(() => {\n SidebarSearch._jQueryInterface.call($(SELECTOR_DATA_WIDGET), 'search')\n }, 100)\n})\n\n$(document).on('keydown', SELECTOR_SEARCH_RESULTS_GROUP, event => {\n const $focused = $(':focus')\n\n if (event.keyCode == 38) {\n event.preventDefault()\n\n if ($focused.is(':first-child')) {\n $focused.siblings().last().focus()\n } else {\n $focused.prev().focus()\n }\n }\n\n if (event.keyCode == 40) {\n event.preventDefault()\n\n if ($focused.is(':last-child')) {\n $focused.siblings().first().focus()\n } else {\n $focused.next().focus()\n }\n }\n})\n\n$(window).on('load', () => {\n SidebarSearch._jQueryInterface.call($(SELECTOR_DATA_WIDGET), 'init')\n})\n\n/**\n * jQuery API\n * ====================================================\n */\n\n$.fn[NAME] = SidebarSearch._jQueryInterface\n$.fn[NAME].Constructor = SidebarSearch\n$.fn[NAME].noConflict = function () {\n $.fn[NAME] = JQUERY_NO_CONFLICT\n return SidebarSearch._jQueryInterface\n}\n\nexport default SidebarSearch\n","/**\n * --------------------------------------------\n * AdminLTE NavbarSearch.js\n * License MIT\n * --------------------------------------------\n */\n\nimport $ from 'jquery'\n\n/**\n * Constants\n * ====================================================\n */\n\nconst NAME = 'NavbarSearch'\nconst DATA_KEY = 'lte.navbar-search'\nconst JQUERY_NO_CONFLICT = $.fn[NAME]\n\nconst SELECTOR_TOGGLE_BUTTON = '[data-widget=\"navbar-search\"]'\nconst SELECTOR_SEARCH_BLOCK = '.navbar-search-block'\nconst SELECTOR_SEARCH_INPUT = '.form-control'\n\nconst CLASS_NAME_OPEN = 'navbar-search-open'\n\nconst Default = {\n resetOnClose: true,\n target: SELECTOR_SEARCH_BLOCK\n}\n\n/**\n * Class Definition\n * ====================================================\n */\n\nclass NavbarSearch {\n constructor(_element, _options) {\n this._element = _element\n this._config = $.extend({}, Default, _options)\n }\n\n // Public\n\n open() {\n $(this._config.target).css('display', 'flex').hide().fadeIn().addClass(CLASS_NAME_OPEN)\n $(`${this._config.target} ${SELECTOR_SEARCH_INPUT}`).focus()\n }\n\n close() {\n $(this._config.target).fadeOut().removeClass(CLASS_NAME_OPEN)\n\n if (this._config.resetOnClose) {\n $(`${this._config.target} ${SELECTOR_SEARCH_INPUT}`).val('')\n }\n }\n\n toggle() {\n if ($(this._config.target).hasClass(CLASS_NAME_OPEN)) {\n this.close()\n } else {\n this.open()\n }\n }\n\n // Static\n\n static _jQueryInterface(options) {\n return this.each(function () {\n let data = $(this).data(DATA_KEY)\n const _options = $.extend({}, Default, $(this).data())\n\n if (!data) {\n data = new NavbarSearch(this, _options)\n $(this).data(DATA_KEY, data)\n }\n\n if (!/toggle|close|open/.test(options)) {\n throw new Error(`Undefined method ${options}`)\n }\n\n data[options]()\n })\n }\n}\n\n/**\n * Data API\n * ====================================================\n */\n$(document).on('click', SELECTOR_TOGGLE_BUTTON, event => {\n event.preventDefault()\n\n let button = $(event.currentTarget)\n\n if (button.data('widget') !== 'navbar-search') {\n button = button.closest(SELECTOR_TOGGLE_BUTTON)\n }\n\n NavbarSearch._jQueryInterface.call(button, 'toggle')\n})\n\n/**\n * jQuery API\n * ====================================================\n */\n\n$.fn[NAME] = NavbarSearch._jQueryInterface\n$.fn[NAME].Constructor = NavbarSearch\n$.fn[NAME].noConflict = function () {\n $.fn[NAME] = JQUERY_NO_CONFLICT\n return NavbarSearch._jQueryInterface\n}\n\nexport default NavbarSearch\n","/**\n * --------------------------------------------\n * AdminLTE Toasts.js\n * License MIT\n * --------------------------------------------\n */\n\nimport $ from 'jquery'\n\n/**\n * Constants\n * ====================================================\n */\n\nconst NAME = 'Toasts'\nconst DATA_KEY = 'lte.toasts'\nconst EVENT_KEY = `.${DATA_KEY}`\nconst JQUERY_NO_CONFLICT = $.fn[NAME]\n\nconst EVENT_INIT = `init${EVENT_KEY}`\nconst EVENT_CREATED = `created${EVENT_KEY}`\nconst EVENT_REMOVED = `removed${EVENT_KEY}`\n\nconst SELECTOR_CONTAINER_TOP_RIGHT = '#toastsContainerTopRight'\nconst SELECTOR_CONTAINER_TOP_LEFT = '#toastsContainerTopLeft'\nconst SELECTOR_CONTAINER_BOTTOM_RIGHT = '#toastsContainerBottomRight'\nconst SELECTOR_CONTAINER_BOTTOM_LEFT = '#toastsContainerBottomLeft'\n\nconst CLASS_NAME_TOP_RIGHT = 'toasts-top-right'\nconst CLASS_NAME_TOP_LEFT = 'toasts-top-left'\nconst CLASS_NAME_BOTTOM_RIGHT = 'toasts-bottom-right'\nconst CLASS_NAME_BOTTOM_LEFT = 'toasts-bottom-left'\n\nconst POSITION_TOP_RIGHT = 'topRight'\nconst POSITION_TOP_LEFT = 'topLeft'\nconst POSITION_BOTTOM_RIGHT = 'bottomRight'\nconst POSITION_BOTTOM_LEFT = 'bottomLeft'\n\nconst Default = {\n position: POSITION_TOP_RIGHT,\n fixed: true,\n autohide: false,\n autoremove: true,\n delay: 1000,\n fade: true,\n icon: null,\n image: null,\n imageAlt: null,\n imageHeight: '25px',\n title: null,\n subtitle: null,\n close: true,\n body: null,\n class: null\n}\n\n/**\n * Class Definition\n * ====================================================\n */\nclass Toasts {\n constructor(element, config) {\n this._config = config\n this._prepareContainer()\n\n $('body').trigger($.Event(EVENT_INIT))\n }\n\n // Public\n\n create() {\n const toast = $('<div class=\"toast\" role=\"alert\" aria-live=\"assertive\" aria-atomic=\"true\"/>')\n\n toast.data('autohide', this._config.autohide)\n toast.data('animation', this._config.fade)\n\n if (this._config.class) {\n toast.addClass(this._config.class)\n }\n\n if (this._config.delay && this._config.delay != 500) {\n toast.data('delay', this._config.delay)\n }\n\n const toastHeader = $('<div class=\"toast-header\">')\n\n if (this._config.image != null) {\n const toastImage = $('<img />').addClass('rounded mr-2').attr('src', this._config.image).attr('alt', this._config.imageAlt)\n\n if (this._config.imageHeight != null) {\n toastImage.height(this._config.imageHeight).width('auto')\n }\n\n toastHeader.append(toastImage)\n }\n\n if (this._config.icon != null) {\n toastHeader.append($('<i />').addClass('mr-2').addClass(this._config.icon))\n }\n\n if (this._config.title != null) {\n toastHeader.append($('<strong />').addClass('mr-auto').html(this._config.title))\n }\n\n if (this._config.subtitle != null) {\n toastHeader.append($('<small />').html(this._config.subtitle))\n }\n\n if (this._config.close == true) {\n const toastClose = $('<button data-dismiss=\"toast\" />').attr('type', 'button').addClass('ml-2 mb-1 close').attr('aria-label', 'Close').append('<span aria-hidden=\"true\">&times;</span>')\n\n if (this._config.title == null) {\n toastClose.toggleClass('ml-2 ml-auto')\n }\n\n toastHeader.append(toastClose)\n }\n\n toast.append(toastHeader)\n\n if (this._config.body != null) {\n toast.append($('<div class=\"toast-body\" />').html(this._config.body))\n }\n\n $(this._getContainerId()).prepend(toast)\n\n const $body = $('body')\n\n $body.trigger($.Event(EVENT_CREATED))\n toast.toast('show')\n\n if (this._config.autoremove) {\n toast.on('hidden.bs.toast', function () {\n $(this).delay(200).remove()\n $body.trigger($.Event(EVENT_REMOVED))\n })\n }\n }\n\n // Static\n\n _getContainerId() {\n if (this._config.position == POSITION_TOP_RIGHT) {\n return SELECTOR_CONTAINER_TOP_RIGHT\n }\n\n if (this._config.position == POSITION_TOP_LEFT) {\n return SELECTOR_CONTAINER_TOP_LEFT\n }\n\n if (this._config.position == POSITION_BOTTOM_RIGHT) {\n return SELECTOR_CONTAINER_BOTTOM_RIGHT\n }\n\n if (this._config.position == POSITION_BOTTOM_LEFT) {\n return SELECTOR_CONTAINER_BOTTOM_LEFT\n }\n }\n\n _prepareContainer() {\n if ($(this._getContainerId()).length === 0) {\n const container = $('<div />').attr('id', this._getContainerId().replace('#', ''))\n if (this._config.position == POSITION_TOP_RIGHT) {\n container.addClass(CLASS_NAME_TOP_RIGHT)\n } else if (this._config.position == POSITION_TOP_LEFT) {\n container.addClass(CLASS_NAME_TOP_LEFT)\n } else if (this._config.position == POSITION_BOTTOM_RIGHT) {\n container.addClass(CLASS_NAME_BOTTOM_RIGHT)\n } else if (this._config.position == POSITION_BOTTOM_LEFT) {\n container.addClass(CLASS_NAME_BOTTOM_LEFT)\n }\n\n $('body').append(container)\n }\n\n if (this._config.fixed) {\n $(this._getContainerId()).addClass('fixed')\n } else {\n $(this._getContainerId()).removeClass('fixed')\n }\n }\n\n // Static\n\n static _jQueryInterface(option, config) {\n return this.each(function () {\n const _options = $.extend({}, Default, config)\n const toast = new Toasts($(this), _options)\n\n if (option === 'create') {\n toast[option]()\n }\n })\n }\n}\n\n/**\n * jQuery API\n * ====================================================\n */\n\n$.fn[NAME] = Toasts._jQueryInterface\n$.fn[NAME].Constructor = Toasts\n$.fn[NAME].noConflict = function () {\n $.fn[NAME] = JQUERY_NO_CONFLICT\n return Toasts._jQueryInterface\n}\n\nexport default Toasts\n","/**\n * --------------------------------------------\n * AdminLTE TodoList.js\n * License MIT\n * --------------------------------------------\n */\n\nimport $ from 'jquery'\n\n/**\n * Constants\n * ====================================================\n */\n\nconst NAME = 'TodoList'\nconst DATA_KEY = 'lte.todolist'\nconst JQUERY_NO_CONFLICT = $.fn[NAME]\n\nconst SELECTOR_DATA_TOGGLE = '[data-widget=\"todo-list\"]'\nconst CLASS_NAME_TODO_LIST_DONE = 'done'\n\nconst Default = {\n onCheck(item) {\n return item\n },\n onUnCheck(item) {\n return item\n }\n}\n\n/**\n * Class Definition\n * ====================================================\n */\n\nclass TodoList {\n constructor(element, config) {\n this._config = config\n this._element = element\n\n this._init()\n }\n\n // Public\n\n toggle(item) {\n item.parents('li').toggleClass(CLASS_NAME_TODO_LIST_DONE)\n if (!$(item).prop('checked')) {\n this.unCheck($(item))\n return\n }\n\n this.check(item)\n }\n\n check(item) {\n this._config.onCheck.call(item)\n }\n\n unCheck(item) {\n this._config.onUnCheck.call(item)\n }\n\n // Private\n\n _init() {\n const $toggleSelector = this._element\n\n $toggleSelector.find('input:checkbox:checked').parents('li').toggleClass(CLASS_NAME_TODO_LIST_DONE)\n $toggleSelector.on('change', 'input:checkbox', event => {\n this.toggle($(event.target))\n })\n }\n\n // Static\n\n static _jQueryInterface(config) {\n return this.each(function () {\n let data = $(this).data(DATA_KEY)\n\n if (!data) {\n data = $(this).data()\n }\n\n const _options = $.extend({}, Default, typeof config === 'object' ? config : data)\n const plugin = new TodoList($(this), _options)\n\n $(this).data(DATA_KEY, typeof config === 'object' ? config : data)\n\n if (config === 'init') {\n plugin[config]()\n }\n })\n }\n}\n\n/**\n * Data API\n * ====================================================\n */\n\n$(window).on('load', () => {\n TodoList._jQueryInterface.call($(SELECTOR_DATA_TOGGLE))\n})\n\n/**\n * jQuery API\n * ====================================================\n */\n\n$.fn[NAME] = TodoList._jQueryInterface\n$.fn[NAME].Constructor = TodoList\n$.fn[NAME].noConflict = function () {\n $.fn[NAME] = JQUERY_NO_CONFLICT\n return TodoList._jQueryInterface\n}\n\nexport default TodoList\n","/**\n * --------------------------------------------\n * AdminLTE Treeview.js\n * License MIT\n * --------------------------------------------\n */\n\nimport $ from 'jquery'\n\n/**\n * Constants\n * ====================================================\n */\n\nconst NAME = 'Treeview'\nconst DATA_KEY = 'lte.treeview'\nconst EVENT_KEY = `.${DATA_KEY}`\nconst JQUERY_NO_CONFLICT = $.fn[NAME]\n\nconst EVENT_EXPANDED = `expanded${EVENT_KEY}`\nconst EVENT_COLLAPSED = `collapsed${EVENT_KEY}`\nconst EVENT_LOAD_DATA_API = `load${EVENT_KEY}`\n\nconst SELECTOR_LI = '.nav-item'\nconst SELECTOR_LINK = '.nav-link'\nconst SELECTOR_TREEVIEW_MENU = '.nav-treeview'\nconst SELECTOR_OPEN = '.menu-open'\nconst SELECTOR_DATA_WIDGET = '[data-widget=\"treeview\"]'\n\nconst CLASS_NAME_OPEN = 'menu-open'\nconst CLASS_NAME_IS_OPENING = 'menu-is-opening'\nconst CLASS_NAME_SIDEBAR_COLLAPSED = 'sidebar-collapse'\n\nconst Default = {\n trigger: `${SELECTOR_DATA_WIDGET} ${SELECTOR_LINK}`,\n animationSpeed: 300,\n accordion: true,\n expandSidebar: false,\n sidebarButtonSelector: '[data-widget=\"pushmenu\"]'\n}\n\n/**\n * Class Definition\n * ====================================================\n */\nclass Treeview {\n constructor(element, config) {\n this._config = config\n this._element = element\n }\n\n // Public\n\n init() {\n $(`${SELECTOR_LI}${SELECTOR_OPEN} ${SELECTOR_TREEVIEW_MENU}${SELECTOR_OPEN}`).css('display', 'block')\n this._setupListeners()\n }\n\n expand(treeviewMenu, parentLi) {\n const expandedEvent = $.Event(EVENT_EXPANDED)\n\n if (this._config.accordion) {\n const openMenuLi = parentLi.siblings(SELECTOR_OPEN).first()\n const openTreeview = openMenuLi.find(SELECTOR_TREEVIEW_MENU).first()\n this.collapse(openTreeview, openMenuLi)\n }\n\n parentLi.addClass(CLASS_NAME_IS_OPENING)\n treeviewMenu.stop().slideDown(this._config.animationSpeed, () => {\n parentLi.addClass(CLASS_NAME_OPEN)\n $(this._element).trigger(expandedEvent)\n })\n\n if (this._config.expandSidebar) {\n this._expandSidebar()\n }\n }\n\n collapse(treeviewMenu, parentLi) {\n const collapsedEvent = $.Event(EVENT_COLLAPSED)\n\n parentLi.removeClass(`${CLASS_NAME_IS_OPENING} ${CLASS_NAME_OPEN}`)\n treeviewMenu.stop().slideUp(this._config.animationSpeed, () => {\n $(this._element).trigger(collapsedEvent)\n treeviewMenu.find(`${SELECTOR_OPEN} > ${SELECTOR_TREEVIEW_MENU}`).slideUp()\n treeviewMenu.find(SELECTOR_OPEN).removeClass(CLASS_NAME_OPEN)\n })\n }\n\n toggle(event) {\n const $relativeTarget = $(event.currentTarget)\n const $parent = $relativeTarget.parent()\n\n let treeviewMenu = $parent.find(`> ${SELECTOR_TREEVIEW_MENU}`)\n\n if (!treeviewMenu.is(SELECTOR_TREEVIEW_MENU)) {\n if (!$parent.is(SELECTOR_LI)) {\n treeviewMenu = $parent.parent().find(`> ${SELECTOR_TREEVIEW_MENU}`)\n }\n\n if (!treeviewMenu.is(SELECTOR_TREEVIEW_MENU)) {\n return\n }\n }\n\n event.preventDefault()\n\n const parentLi = $relativeTarget.parents(SELECTOR_LI).first()\n const isOpen = parentLi.hasClass(CLASS_NAME_OPEN)\n\n if (isOpen) {\n this.collapse($(treeviewMenu), parentLi)\n } else {\n this.expand($(treeviewMenu), parentLi)\n }\n }\n\n // Private\n\n _setupListeners() {\n const elementId = this._element.attr('id') !== undefined ? `#${this._element.attr('id')}` : ''\n $(document).on('click', `${elementId}${this._config.trigger}`, event => {\n this.toggle(event)\n })\n }\n\n _expandSidebar() {\n if ($('body').hasClass(CLASS_NAME_SIDEBAR_COLLAPSED)) {\n $(this._config.sidebarButtonSelector).PushMenu('expand')\n }\n }\n\n // Static\n\n static _jQueryInterface(config) {\n return this.each(function () {\n let data = $(this).data(DATA_KEY)\n const _options = $.extend({}, Default, $(this).data())\n\n if (!data) {\n data = new Treeview($(this), _options)\n $(this).data(DATA_KEY, data)\n }\n\n if (config === 'init') {\n data[config]()\n }\n })\n }\n}\n\n/**\n * Data API\n * ====================================================\n */\n\n$(window).on(EVENT_LOAD_DATA_API, () => {\n $(SELECTOR_DATA_WIDGET).each(function () {\n Treeview._jQueryInterface.call($(this), 'init')\n })\n})\n\n/**\n * jQuery API\n * ====================================================\n */\n\n$.fn[NAME] = Treeview._jQueryInterface\n$.fn[NAME].Constructor = Treeview\n$.fn[NAME].noConflict = function () {\n $.fn[NAME] = JQUERY_NO_CONFLICT\n return Treeview._jQueryInterface\n}\n\nexport default Treeview\n"]} \ No newline at end of file
diff --git a/ogcp/static/AdminLTE/dist/js/demo.js b/ogcp/static/AdminLTE/dist/js/demo.js
new file mode 100644
index 0000000..fe038be
--- /dev/null
+++ b/ogcp/static/AdminLTE/dist/js/demo.js
@@ -0,0 +1,686 @@
+/**
+ * AdminLTE Demo Menu
+ * ------------------
+ * You should not use this file in production.
+ * This file is for demo purposes only.
+ */
+
+/* eslint-disable camelcase */
+
+(function ($) {
+ 'use strict'
+
+ function capitalizeFirstLetter(string) {
+ return string.charAt(0).toUpperCase() + string.slice(1)
+ }
+
+ function createSkinBlock(colors, callback, noneSelected) {
+ var $block = $('<select />', {
+ class: noneSelected ? 'custom-select mb-3 border-0' : 'custom-select mb-3 text-light border-0 ' + colors[0].replace(/accent-|navbar-/, 'bg-')
+ })
+
+ if (noneSelected) {
+ var $default = $('<option />', {
+ text: 'None Selected'
+ })
+ if (callback) {
+ $default.on('click', callback)
+ }
+
+ $block.append($default)
+ }
+
+ colors.forEach(function (color) {
+ var $color = $('<option />', {
+ class: (typeof color === 'object' ? color.join(' ') : color).replace('navbar-', 'bg-').replace('accent-', 'bg-'),
+ text: capitalizeFirstLetter((typeof color === 'object' ? color.join(' ') : color).replace(/navbar-|accent-|bg-/, '').replace('-', ' '))
+ })
+
+ $block.append($color)
+
+ $color.data('color', color)
+
+ if (callback) {
+ $color.on('click', callback)
+ }
+ })
+
+ return $block
+ }
+
+ var $sidebar = $('.control-sidebar')
+ var $container = $('<div />', {
+ class: 'p-3 control-sidebar-content'
+ })
+
+ $sidebar.append($container)
+
+ // Checkboxes
+
+ $container.append(
+ '<h5>Customize AdminLTE</h5><hr class="mb-2"/>'
+ )
+
+ var $dark_mode_checkbox = $('<input />', {
+ type: 'checkbox',
+ value: 1,
+ checked: $('body').hasClass('dark-mode'),
+ class: 'mr-1'
+ }).on('click', function () {
+ if ($(this).is(':checked')) {
+ $('body').addClass('dark-mode')
+ } else {
+ $('body').removeClass('dark-mode')
+ }
+ })
+ var $dark_mode_container = $('<div />', { class: 'mb-4' }).append($dark_mode_checkbox).append('<span>Dark Mode</span>')
+ $container.append($dark_mode_container)
+
+ $container.append('<h6>Header Options</h6>')
+ var $header_fixed_checkbox = $('<input />', {
+ type: 'checkbox',
+ value: 1,
+ checked: $('body').hasClass('layout-navbar-fixed'),
+ class: 'mr-1'
+ }).on('click', function () {
+ if ($(this).is(':checked')) {
+ $('body').addClass('layout-navbar-fixed')
+ } else {
+ $('body').removeClass('layout-navbar-fixed')
+ }
+ })
+ var $header_fixed_container = $('<div />', { class: 'mb-1' }).append($header_fixed_checkbox).append('<span>Fixed</span>')
+ $container.append($header_fixed_container)
+
+ var $dropdown_legacy_offset_checkbox = $('<input />', {
+ type: 'checkbox',
+ value: 1,
+ checked: $('.main-header').hasClass('dropdown-legacy'),
+ class: 'mr-1'
+ }).on('click', function () {
+ if ($(this).is(':checked')) {
+ $('.main-header').addClass('dropdown-legacy')
+ } else {
+ $('.main-header').removeClass('dropdown-legacy')
+ }
+ })
+ var $dropdown_legacy_offset_container = $('<div />', { class: 'mb-1' }).append($dropdown_legacy_offset_checkbox).append('<span>Dropdown Legacy Offset</span>')
+ $container.append($dropdown_legacy_offset_container)
+
+ var $no_border_checkbox = $('<input />', {
+ type: 'checkbox',
+ value: 1,
+ checked: $('.main-header').hasClass('border-bottom-0'),
+ class: 'mr-1'
+ }).on('click', function () {
+ if ($(this).is(':checked')) {
+ $('.main-header').addClass('border-bottom-0')
+ } else {
+ $('.main-header').removeClass('border-bottom-0')
+ }
+ })
+ var $no_border_container = $('<div />', { class: 'mb-4' }).append($no_border_checkbox).append('<span>No border</span>')
+ $container.append($no_border_container)
+
+ $container.append('<h6>Sidebar Options</h6>')
+
+ var $sidebar_collapsed_checkbox = $('<input />', {
+ type: 'checkbox',
+ value: 1,
+ checked: $('body').hasClass('sidebar-collapse'),
+ class: 'mr-1'
+ }).on('click', function () {
+ if ($(this).is(':checked')) {
+ $('body').addClass('sidebar-collapse')
+ $(window).trigger('resize')
+ } else {
+ $('body').removeClass('sidebar-collapse')
+ $(window).trigger('resize')
+ }
+ })
+ var $sidebar_collapsed_container = $('<div />', { class: 'mb-1' }).append($sidebar_collapsed_checkbox).append('<span>Collapsed</span>')
+ $container.append($sidebar_collapsed_container)
+
+ $(document).on('collapsed.lte.pushmenu', '[data-widget="pushmenu"]', function () {
+ $sidebar_collapsed_checkbox.prop('checked', true)
+ })
+ $(document).on('shown.lte.pushmenu', '[data-widget="pushmenu"]', function () {
+ $sidebar_collapsed_checkbox.prop('checked', false)
+ })
+
+ var $sidebar_fixed_checkbox = $('<input />', {
+ type: 'checkbox',
+ value: 1,
+ checked: $('body').hasClass('layout-fixed'),
+ class: 'mr-1'
+ }).on('click', function () {
+ if ($(this).is(':checked')) {
+ $('body').addClass('layout-fixed')
+ $(window).trigger('resize')
+ } else {
+ $('body').removeClass('layout-fixed')
+ $(window).trigger('resize')
+ }
+ })
+ var $sidebar_fixed_container = $('<div />', { class: 'mb-1' }).append($sidebar_fixed_checkbox).append('<span>Fixed</span>')
+ $container.append($sidebar_fixed_container)
+
+ var $sidebar_mini_checkbox = $('<input />', {
+ type: 'checkbox',
+ value: 1,
+ checked: $('body').hasClass('sidebar-mini'),
+ class: 'mr-1'
+ }).on('click', function () {
+ if ($(this).is(':checked')) {
+ $('body').addClass('sidebar-mini')
+ } else {
+ $('body').removeClass('sidebar-mini')
+ }
+ })
+ var $sidebar_mini_container = $('<div />', { class: 'mb-1' }).append($sidebar_mini_checkbox).append('<span>Sidebar Mini</span>')
+ $container.append($sidebar_mini_container)
+
+ var $sidebar_mini_md_checkbox = $('<input />', {
+ type: 'checkbox',
+ value: 1,
+ checked: $('body').hasClass('sidebar-mini-md'),
+ class: 'mr-1'
+ }).on('click', function () {
+ if ($(this).is(':checked')) {
+ $('body').addClass('sidebar-mini-md')
+ } else {
+ $('body').removeClass('sidebar-mini-md')
+ }
+ })
+ var $sidebar_mini_md_container = $('<div />', { class: 'mb-1' }).append($sidebar_mini_md_checkbox).append('<span>Sidebar Mini MD</span>')
+ $container.append($sidebar_mini_md_container)
+
+ var $sidebar_mini_xs_checkbox = $('<input />', {
+ type: 'checkbox',
+ value: 1,
+ checked: $('body').hasClass('sidebar-mini-xs'),
+ class: 'mr-1'
+ }).on('click', function () {
+ if ($(this).is(':checked')) {
+ $('body').addClass('sidebar-mini-xs')
+ } else {
+ $('body').removeClass('sidebar-mini-xs')
+ }
+ })
+ var $sidebar_mini_xs_container = $('<div />', { class: 'mb-1' }).append($sidebar_mini_xs_checkbox).append('<span>Sidebar Mini XS</span>')
+ $container.append($sidebar_mini_xs_container)
+
+ var $flat_sidebar_checkbox = $('<input />', {
+ type: 'checkbox',
+ value: 1,
+ checked: $('.nav-sidebar').hasClass('nav-flat'),
+ class: 'mr-1'
+ }).on('click', function () {
+ if ($(this).is(':checked')) {
+ $('.nav-sidebar').addClass('nav-flat')
+ } else {
+ $('.nav-sidebar').removeClass('nav-flat')
+ }
+ })
+ var $flat_sidebar_container = $('<div />', { class: 'mb-1' }).append($flat_sidebar_checkbox).append('<span>Nav Flat Style</span>')
+ $container.append($flat_sidebar_container)
+
+ var $legacy_sidebar_checkbox = $('<input />', {
+ type: 'checkbox',
+ value: 1,
+ checked: $('.nav-sidebar').hasClass('nav-legacy'),
+ class: 'mr-1'
+ }).on('click', function () {
+ if ($(this).is(':checked')) {
+ $('.nav-sidebar').addClass('nav-legacy')
+ } else {
+ $('.nav-sidebar').removeClass('nav-legacy')
+ }
+ })
+ var $legacy_sidebar_container = $('<div />', { class: 'mb-1' }).append($legacy_sidebar_checkbox).append('<span>Nav Legacy Style</span>')
+ $container.append($legacy_sidebar_container)
+
+ var $compact_sidebar_checkbox = $('<input />', {
+ type: 'checkbox',
+ value: 1,
+ checked: $('.nav-sidebar').hasClass('nav-compact'),
+ class: 'mr-1'
+ }).on('click', function () {
+ if ($(this).is(':checked')) {
+ $('.nav-sidebar').addClass('nav-compact')
+ } else {
+ $('.nav-sidebar').removeClass('nav-compact')
+ }
+ })
+ var $compact_sidebar_container = $('<div />', { class: 'mb-1' }).append($compact_sidebar_checkbox).append('<span>Nav Compact</span>')
+ $container.append($compact_sidebar_container)
+
+ var $child_indent_sidebar_checkbox = $('<input />', {
+ type: 'checkbox',
+ value: 1,
+ checked: $('.nav-sidebar').hasClass('nav-child-indent'),
+ class: 'mr-1'
+ }).on('click', function () {
+ if ($(this).is(':checked')) {
+ $('.nav-sidebar').addClass('nav-child-indent')
+ } else {
+ $('.nav-sidebar').removeClass('nav-child-indent')
+ }
+ })
+ var $child_indent_sidebar_container = $('<div />', { class: 'mb-1' }).append($child_indent_sidebar_checkbox).append('<span>Nav Child Indent</span>')
+ $container.append($child_indent_sidebar_container)
+
+ var $child_hide_sidebar_checkbox = $('<input />', {
+ type: 'checkbox',
+ value: 1,
+ checked: $('.nav-sidebar').hasClass('nav-collapse-hide-child'),
+ class: 'mr-1'
+ }).on('click', function () {
+ if ($(this).is(':checked')) {
+ $('.nav-sidebar').addClass('nav-collapse-hide-child')
+ } else {
+ $('.nav-sidebar').removeClass('nav-collapse-hide-child')
+ }
+ })
+ var $child_hide_sidebar_container = $('<div />', { class: 'mb-1' }).append($child_hide_sidebar_checkbox).append('<span>Nav Child Hide on Collapse</span>')
+ $container.append($child_hide_sidebar_container)
+
+ var $no_expand_sidebar_checkbox = $('<input />', {
+ type: 'checkbox',
+ value: 1,
+ checked: $('.main-sidebar').hasClass('sidebar-no-expand'),
+ class: 'mr-1'
+ }).on('click', function () {
+ if ($(this).is(':checked')) {
+ $('.main-sidebar').addClass('sidebar-no-expand')
+ } else {
+ $('.main-sidebar').removeClass('sidebar-no-expand')
+ }
+ })
+ var $no_expand_sidebar_container = $('<div />', { class: 'mb-4' }).append($no_expand_sidebar_checkbox).append('<span>Disable Hover/Focus Auto-Expand</span>')
+ $container.append($no_expand_sidebar_container)
+
+ $container.append('<h6>Footer Options</h6>')
+ var $footer_fixed_checkbox = $('<input />', {
+ type: 'checkbox',
+ value: 1,
+ checked: $('body').hasClass('layout-footer-fixed'),
+ class: 'mr-1'
+ }).on('click', function () {
+ if ($(this).is(':checked')) {
+ $('body').addClass('layout-footer-fixed')
+ } else {
+ $('body').removeClass('layout-footer-fixed')
+ }
+ })
+ var $footer_fixed_container = $('<div />', { class: 'mb-4' }).append($footer_fixed_checkbox).append('<span>Fixed</span>')
+ $container.append($footer_fixed_container)
+
+ $container.append('<h6>Small Text Options</h6>')
+
+ var $text_sm_body_checkbox = $('<input />', {
+ type: 'checkbox',
+ value: 1,
+ checked: $('body').hasClass('text-sm'),
+ class: 'mr-1'
+ }).on('click', function () {
+ if ($(this).is(':checked')) {
+ $('body').addClass('text-sm')
+ } else {
+ $('body').removeClass('text-sm')
+ }
+ })
+ var $text_sm_body_container = $('<div />', { class: 'mb-1' }).append($text_sm_body_checkbox).append('<span>Body</span>')
+ $container.append($text_sm_body_container)
+
+ var $text_sm_header_checkbox = $('<input />', {
+ type: 'checkbox',
+ value: 1,
+ checked: $('.main-header').hasClass('text-sm'),
+ class: 'mr-1'
+ }).on('click', function () {
+ if ($(this).is(':checked')) {
+ $('.main-header').addClass('text-sm')
+ } else {
+ $('.main-header').removeClass('text-sm')
+ }
+ })
+ var $text_sm_header_container = $('<div />', { class: 'mb-1' }).append($text_sm_header_checkbox).append('<span>Navbar</span>')
+ $container.append($text_sm_header_container)
+
+ var $text_sm_brand_checkbox = $('<input />', {
+ type: 'checkbox',
+ value: 1,
+ checked: $('.brand-link').hasClass('text-sm'),
+ class: 'mr-1'
+ }).on('click', function () {
+ if ($(this).is(':checked')) {
+ $('.brand-link').addClass('text-sm')
+ } else {
+ $('.brand-link').removeClass('text-sm')
+ }
+ })
+ var $text_sm_brand_container = $('<div />', { class: 'mb-1' }).append($text_sm_brand_checkbox).append('<span>Brand</span>')
+ $container.append($text_sm_brand_container)
+
+ var $text_sm_sidebar_checkbox = $('<input />', {
+ type: 'checkbox',
+ value: 1,
+ checked: $('.nav-sidebar').hasClass('text-sm'),
+ class: 'mr-1'
+ }).on('click', function () {
+ if ($(this).is(':checked')) {
+ $('.nav-sidebar').addClass('text-sm')
+ } else {
+ $('.nav-sidebar').removeClass('text-sm')
+ }
+ })
+ var $text_sm_sidebar_container = $('<div />', { class: 'mb-1' }).append($text_sm_sidebar_checkbox).append('<span>Sidebar Nav</span>')
+ $container.append($text_sm_sidebar_container)
+
+ var $text_sm_footer_checkbox = $('<input />', {
+ type: 'checkbox',
+ value: 1,
+ checked: $('.main-footer').hasClass('text-sm'),
+ class: 'mr-1'
+ }).on('click', function () {
+ if ($(this).is(':checked')) {
+ $('.main-footer').addClass('text-sm')
+ } else {
+ $('.main-footer').removeClass('text-sm')
+ }
+ })
+ var $text_sm_footer_container = $('<div />', { class: 'mb-4' }).append($text_sm_footer_checkbox).append('<span>Footer</span>')
+ $container.append($text_sm_footer_container)
+
+ // Color Arrays
+
+ var navbar_dark_skins = [
+ 'navbar-primary',
+ 'navbar-secondary',
+ 'navbar-info',
+ 'navbar-success',
+ 'navbar-danger',
+ 'navbar-indigo',
+ 'navbar-purple',
+ 'navbar-pink',
+ 'navbar-navy',
+ 'navbar-lightblue',
+ 'navbar-teal',
+ 'navbar-cyan',
+ 'navbar-dark',
+ 'navbar-gray-dark',
+ 'navbar-gray'
+ ]
+
+ var navbar_light_skins = [
+ 'navbar-light',
+ 'navbar-warning',
+ 'navbar-white',
+ 'navbar-orange'
+ ]
+
+ var sidebar_colors = [
+ 'bg-primary',
+ 'bg-warning',
+ 'bg-info',
+ 'bg-danger',
+ 'bg-success',
+ 'bg-indigo',
+ 'bg-lightblue',
+ 'bg-navy',
+ 'bg-purple',
+ 'bg-fuchsia',
+ 'bg-pink',
+ 'bg-maroon',
+ 'bg-orange',
+ 'bg-lime',
+ 'bg-teal',
+ 'bg-olive'
+ ]
+
+ var accent_colors = [
+ 'accent-primary',
+ 'accent-warning',
+ 'accent-info',
+ 'accent-danger',
+ 'accent-success',
+ 'accent-indigo',
+ 'accent-lightblue',
+ 'accent-navy',
+ 'accent-purple',
+ 'accent-fuchsia',
+ 'accent-pink',
+ 'accent-maroon',
+ 'accent-orange',
+ 'accent-lime',
+ 'accent-teal',
+ 'accent-olive'
+ ]
+
+ var sidebar_skins = [
+ 'sidebar-dark-primary',
+ 'sidebar-dark-warning',
+ 'sidebar-dark-info',
+ 'sidebar-dark-danger',
+ 'sidebar-dark-success',
+ 'sidebar-dark-indigo',
+ 'sidebar-dark-lightblue',
+ 'sidebar-dark-navy',
+ 'sidebar-dark-purple',
+ 'sidebar-dark-fuchsia',
+ 'sidebar-dark-pink',
+ 'sidebar-dark-maroon',
+ 'sidebar-dark-orange',
+ 'sidebar-dark-lime',
+ 'sidebar-dark-teal',
+ 'sidebar-dark-olive',
+ 'sidebar-light-primary',
+ 'sidebar-light-warning',
+ 'sidebar-light-info',
+ 'sidebar-light-danger',
+ 'sidebar-light-success',
+ 'sidebar-light-indigo',
+ 'sidebar-light-lightblue',
+ 'sidebar-light-navy',
+ 'sidebar-light-purple',
+ 'sidebar-light-fuchsia',
+ 'sidebar-light-pink',
+ 'sidebar-light-maroon',
+ 'sidebar-light-orange',
+ 'sidebar-light-lime',
+ 'sidebar-light-teal',
+ 'sidebar-light-olive'
+ ]
+
+ // Navbar Variants
+
+ $container.append('<h6>Navbar Variants</h6>')
+
+ var $navbar_variants = $('<div />', {
+ class: 'd-flex'
+ })
+ var navbar_all_colors = navbar_dark_skins.concat(navbar_light_skins)
+ var $navbar_variants_colors = createSkinBlock(navbar_all_colors, function () {
+ var color = $(this).data('color')
+ var $main_header = $('.main-header')
+ $main_header.removeClass('navbar-dark').removeClass('navbar-light')
+ navbar_all_colors.forEach(function (color) {
+ $main_header.removeClass(color)
+ })
+
+ $(this).parent().removeClass().addClass('custom-select mb-3 text-light border-0 ')
+
+ if (navbar_dark_skins.indexOf(color) > -1) {
+ $main_header.addClass('navbar-dark')
+ $(this).parent().addClass(color).addClass('text-light')
+ } else {
+ $main_header.addClass('navbar-light')
+ $(this).parent().addClass(color)
+ }
+
+ $main_header.addClass(color)
+ })
+
+ var active_navbar_color = null
+ $('.main-header')[0].classList.forEach(function (className) {
+ if (navbar_all_colors.indexOf(className) > -1 && active_navbar_color === null) {
+ active_navbar_color = className.replace('navbar-', 'bg-')
+ }
+ })
+
+ $navbar_variants_colors.find('option.' + active_navbar_color).prop('selected', true)
+ $navbar_variants_colors.removeClass().addClass('custom-select mb-3 text-light border-0 ').addClass(active_navbar_color)
+
+ $navbar_variants.append($navbar_variants_colors)
+
+ $container.append($navbar_variants)
+
+ // Sidebar Colors
+
+ $container.append('<h6>Accent Color Variants</h6>')
+ var $accent_variants = $('<div />', {
+ class: 'd-flex'
+ })
+ $container.append($accent_variants)
+ $container.append(createSkinBlock(accent_colors, function () {
+ var color = $(this).data('color')
+ var accent_class = color
+ var $body = $('body')
+ accent_colors.forEach(function (skin) {
+ $body.removeClass(skin)
+ })
+
+ $body.addClass(accent_class)
+ }, true))
+
+ var active_accent_color = null
+ $('body')[0].classList.forEach(function (className) {
+ if (accent_colors.indexOf(className) > -1 && active_accent_color === null) {
+ active_accent_color = className.replace('navbar-', 'bg-')
+ }
+ })
+
+ // $accent_variants.find('option.' + active_accent_color).prop('selected', true)
+ // $accent_variants.removeClass().addClass('custom-select mb-3 text-light border-0 ').addClass(active_accent_color)
+
+ $container.append('<h6>Dark Sidebar Variants</h6>')
+ var $sidebar_variants_dark = $('<div />', {
+ class: 'd-flex'
+ })
+ $container.append($sidebar_variants_dark)
+ var $sidebar_dark_variants = createSkinBlock(sidebar_colors, function () {
+ var color = $(this).data('color')
+ var sidebar_class = 'sidebar-dark-' + color.replace('bg-', '')
+ var $sidebar = $('.main-sidebar')
+ sidebar_skins.forEach(function (skin) {
+ $sidebar.removeClass(skin)
+ $sidebar_light_variants.removeClass(skin.replace('sidebar-dark-', 'bg-')).removeClass('text-light')
+ })
+
+ $(this).parent().removeClass().addClass('custom-select mb-3 text-light border-0').addClass(color)
+
+ $sidebar_light_variants.find('option').prop('selected', false)
+ $sidebar.addClass(sidebar_class)
+ $('.sidebar').removeClass('os-theme-dark').addClass('os-theme-light')
+ }, true)
+ $container.append($sidebar_dark_variants)
+
+ var active_sidebar_dark_color = null
+ $('.main-sidebar')[0].classList.forEach(function (className) {
+ var color = className.replace('sidebar-dark-', 'bg-')
+ if (sidebar_colors.indexOf(color) > -1 && active_sidebar_dark_color === null) {
+ active_sidebar_dark_color = color
+ }
+ })
+
+ $sidebar_dark_variants.find('option.' + active_sidebar_dark_color).prop('selected', true)
+ $sidebar_dark_variants.removeClass().addClass('custom-select mb-3 text-light border-0 ').addClass(active_sidebar_dark_color)
+
+ $container.append('<h6>Light Sidebar Variants</h6>')
+ var $sidebar_variants_light = $('<div />', {
+ class: 'd-flex'
+ })
+ $container.append($sidebar_variants_light)
+ var $sidebar_light_variants = createSkinBlock(sidebar_colors, function () {
+ var color = $(this).data('color')
+ var sidebar_class = 'sidebar-light-' + color.replace('bg-', '')
+ var $sidebar = $('.main-sidebar')
+ sidebar_skins.forEach(function (skin) {
+ $sidebar.removeClass(skin)
+ $sidebar_dark_variants.removeClass(skin.replace('sidebar-light-', 'bg-')).removeClass('text-light')
+ })
+
+ $(this).parent().removeClass().addClass('custom-select mb-3 text-light border-0').addClass(color)
+
+ $sidebar_dark_variants.find('option').prop('selected', false)
+ $sidebar.addClass(sidebar_class)
+ $('.sidebar').removeClass('os-theme-light').addClass('os-theme-dark')
+ }, true)
+ $container.append($sidebar_light_variants)
+
+ var active_sidebar_light_color = null
+ $('.main-sidebar')[0].classList.forEach(function (className) {
+ var color = className.replace('sidebar-light-', 'bg-')
+ if (sidebar_colors.indexOf(color) > -1 && active_sidebar_light_color === null) {
+ active_sidebar_light_color = color
+ }
+ })
+
+ if (active_sidebar_light_color !== null) {
+ $sidebar_light_variants.find('option.' + active_sidebar_light_color).prop('selected', true)
+ $sidebar_light_variants.removeClass().addClass('custom-select mb-3 text-light border-0 ').addClass(active_sidebar_light_color)
+ }
+
+ var logo_skins = navbar_all_colors
+ $container.append('<h6>Brand Logo Variants</h6>')
+ var $logo_variants = $('<div />', {
+ class: 'd-flex'
+ })
+ $container.append($logo_variants)
+ var $clear_btn = $('<a />', {
+ href: '#'
+ }).text('clear').on('click', function (e) {
+ e.preventDefault()
+ var $logo = $('.brand-link')
+ logo_skins.forEach(function (skin) {
+ $logo.removeClass(skin)
+ })
+ })
+
+ var $brand_variants = createSkinBlock(logo_skins, function () {
+ var color = $(this).data('color')
+ var $logo = $('.brand-link')
+
+ if (color === 'navbar-light' || color === 'navbar-white') {
+ $logo.addClass('text-black')
+ } else {
+ $logo.removeClass('text-black')
+ }
+
+ logo_skins.forEach(function (skin) {
+ $logo.removeClass(skin)
+ })
+
+ if (color) {
+ $(this).parent().removeClass().addClass('custom-select mb-3 border-0').addClass(color).addClass(color !== 'navbar-light' && color !== 'navbar-white' ? 'text-light' : '')
+ } else {
+ $(this).parent().removeClass().addClass('custom-select mb-3 border-0')
+ }
+
+ $logo.addClass(color)
+ }, true).append($clear_btn)
+ $container.append($brand_variants)
+
+ var active_brand_color = null
+ $('.brand-link')[0].classList.forEach(function (className) {
+ if (logo_skins.indexOf(className) > -1 && active_brand_color === null) {
+ active_brand_color = className.replace('navbar-', 'bg-')
+ }
+ })
+
+ if (active_brand_color) {
+ $brand_variants.find('option.' + active_brand_color).prop('selected', true)
+ $brand_variants.removeClass().addClass('custom-select mb-3 text-light border-0 ').addClass(active_brand_color)
+ }
+})(jQuery)
diff --git a/ogcp/static/AdminLTE/dist/js/pages/dashboard.js b/ogcp/static/AdminLTE/dist/js/pages/dashboard.js
new file mode 100644
index 0000000..56539f2
--- /dev/null
+++ b/ogcp/static/AdminLTE/dist/js/pages/dashboard.js
@@ -0,0 +1,267 @@
+/*
+ * Author: Abdullah A Almsaeed
+ * Date: 4 Jan 2014
+ * Description:
+ * This is a demo file used only for the main dashboard (index.html)
+ **/
+
+/* global moment:false, Chart:false, Sparkline:false */
+
+$(function () {
+ 'use strict'
+
+ // Make the dashboard widgets sortable Using jquery UI
+ $('.connectedSortable').sortable({
+ placeholder: 'sort-highlight',
+ connectWith: '.connectedSortable',
+ handle: '.card-header, .nav-tabs',
+ forcePlaceholderSize: true,
+ zIndex: 999999
+ })
+ $('.connectedSortable .card-header').css('cursor', 'move')
+
+ // jQuery UI sortable for the todo list
+ $('.todo-list').sortable({
+ placeholder: 'sort-highlight',
+ handle: '.handle',
+ forcePlaceholderSize: true,
+ zIndex: 999999
+ })
+
+ // bootstrap WYSIHTML5 - text editor
+ $('.textarea').summernote()
+
+ $('.daterange').daterangepicker({
+ ranges: {
+ Today: [moment(), moment()],
+ Yesterday: [moment().subtract(1, 'days'), moment().subtract(1, 'days')],
+ 'Last 7 Days': [moment().subtract(6, 'days'), moment()],
+ 'Last 30 Days': [moment().subtract(29, 'days'), moment()],
+ 'This Month': [moment().startOf('month'), moment().endOf('month')],
+ 'Last Month': [moment().subtract(1, 'month').startOf('month'), moment().subtract(1, 'month').endOf('month')]
+ },
+ startDate: moment().subtract(29, 'days'),
+ endDate: moment()
+ }, function (start, end) {
+ // eslint-disable-next-line no-alert
+ alert('You chose: ' + start.format('MMMM D, YYYY') + ' - ' + end.format('MMMM D, YYYY'))
+ })
+
+ /* jQueryKnob */
+ $('.knob').knob()
+
+ // jvectormap data
+ var visitorsData = {
+ US: 398, // USA
+ SA: 400, // Saudi Arabia
+ CA: 1000, // Canada
+ DE: 500, // Germany
+ FR: 760, // France
+ CN: 300, // China
+ AU: 700, // Australia
+ BR: 600, // Brazil
+ IN: 800, // India
+ GB: 320, // Great Britain
+ RU: 3000 // Russia
+ }
+ // World map by jvectormap
+ $('#world-map').vectorMap({
+ map: 'usa_en',
+ backgroundColor: 'transparent',
+ regionStyle: {
+ initial: {
+ fill: 'rgba(255, 255, 255, 0.7)',
+ 'fill-opacity': 1,
+ stroke: 'rgba(0,0,0,.2)',
+ 'stroke-width': 1,
+ 'stroke-opacity': 1
+ }
+ },
+ series: {
+ regions: [{
+ values: visitorsData,
+ scale: ['#ffffff', '#0154ad'],
+ normalizeFunction: 'polynomial'
+ }]
+ },
+ onRegionLabelShow: function (e, el, code) {
+ if (typeof visitorsData[code] !== 'undefined') {
+ el.html(el.html() + ': ' + visitorsData[code] + ' new visitors')
+ }
+ }
+ })
+
+ // Sparkline charts
+ var sparkline1 = new Sparkline($('#sparkline-1')[0], { width: 80, height: 50, lineColor: '#92c1dc', endColor: '#ebf4f9' })
+ var sparkline2 = new Sparkline($('#sparkline-2')[0], { width: 80, height: 50, lineColor: '#92c1dc', endColor: '#ebf4f9' })
+ var sparkline3 = new Sparkline($('#sparkline-3')[0], { width: 80, height: 50, lineColor: '#92c1dc', endColor: '#ebf4f9' })
+
+ sparkline1.draw([1000, 1200, 920, 927, 931, 1027, 819, 930, 1021])
+ sparkline2.draw([515, 519, 520, 522, 652, 810, 370, 627, 319, 630, 921])
+ sparkline3.draw([15, 19, 20, 22, 33, 27, 31, 27, 19, 30, 21])
+
+ // The Calender
+ $('#calendar').datetimepicker({
+ format: 'L',
+ inline: true
+ })
+
+ // SLIMSCROLL FOR CHAT WIDGET
+ $('#chat-box').overlayScrollbars({
+ height: '250px'
+ })
+
+ /* Chart.js Charts */
+ // Sales chart
+ var salesChartCanvas = document.getElementById('revenue-chart-canvas').getContext('2d')
+ // $('#revenue-chart').get(0).getContext('2d');
+
+ var salesChartData = {
+ labels: ['January', 'February', 'March', 'April', 'May', 'June', 'July'],
+ datasets: [
+ {
+ label: 'Digital Goods',
+ backgroundColor: 'rgba(60,141,188,0.9)',
+ borderColor: 'rgba(60,141,188,0.8)',
+ pointRadius: false,
+ pointColor: '#3b8bba',
+ pointStrokeColor: 'rgba(60,141,188,1)',
+ pointHighlightFill: '#fff',
+ pointHighlightStroke: 'rgba(60,141,188,1)',
+ data: [28, 48, 40, 19, 86, 27, 90]
+ },
+ {
+ label: 'Electronics',
+ backgroundColor: 'rgba(210, 214, 222, 1)',
+ borderColor: 'rgba(210, 214, 222, 1)',
+ pointRadius: false,
+ pointColor: 'rgba(210, 214, 222, 1)',
+ pointStrokeColor: '#c1c7d1',
+ pointHighlightFill: '#fff',
+ pointHighlightStroke: 'rgba(220,220,220,1)',
+ data: [65, 59, 80, 81, 56, 55, 40]
+ }
+ ]
+ }
+
+ var salesChartOptions = {
+ maintainAspectRatio: false,
+ responsive: true,
+ legend: {
+ display: false
+ },
+ scales: {
+ xAxes: [{
+ gridLines: {
+ display: false
+ }
+ }],
+ yAxes: [{
+ gridLines: {
+ display: false
+ }
+ }]
+ }
+ }
+
+ // This will get the first returned node in the jQuery collection.
+ // eslint-disable-next-line no-unused-vars
+ var salesChart = new Chart(salesChartCanvas, { // lgtm[js/unused-local-variable]
+ type: 'line',
+ data: salesChartData,
+ options: salesChartOptions
+ })
+
+ // Donut Chart
+ var pieChartCanvas = $('#sales-chart-canvas').get(0).getContext('2d')
+ var pieData = {
+ labels: [
+ 'Instore Sales',
+ 'Download Sales',
+ 'Mail-Order Sales'
+ ],
+ datasets: [
+ {
+ data: [30, 12, 20],
+ backgroundColor: ['#f56954', '#00a65a', '#f39c12']
+ }
+ ]
+ }
+ var pieOptions = {
+ legend: {
+ display: false
+ },
+ maintainAspectRatio: false,
+ responsive: true
+ }
+ // Create pie or douhnut chart
+ // You can switch between pie and douhnut using the method below.
+ // eslint-disable-next-line no-unused-vars
+ var pieChart = new Chart(pieChartCanvas, { // lgtm[js/unused-local-variable]
+ type: 'doughnut',
+ data: pieData,
+ options: pieOptions
+ })
+
+ // Sales graph chart
+ var salesGraphChartCanvas = $('#line-chart').get(0).getContext('2d')
+ // $('#revenue-chart').get(0).getContext('2d');
+
+ var salesGraphChartData = {
+ labels: ['2011 Q1', '2011 Q2', '2011 Q3', '2011 Q4', '2012 Q1', '2012 Q2', '2012 Q3', '2012 Q4', '2013 Q1', '2013 Q2'],
+ datasets: [
+ {
+ label: 'Digital Goods',
+ fill: false,
+ borderWidth: 2,
+ lineTension: 0,
+ spanGaps: true,
+ borderColor: '#efefef',
+ pointRadius: 3,
+ pointHoverRadius: 7,
+ pointColor: '#efefef',
+ pointBackgroundColor: '#efefef',
+ data: [2666, 2778, 4912, 3767, 6810, 5670, 4820, 15073, 10687, 8432]
+ }
+ ]
+ }
+
+ var salesGraphChartOptions = {
+ maintainAspectRatio: false,
+ responsive: true,
+ legend: {
+ display: false
+ },
+ scales: {
+ xAxes: [{
+ ticks: {
+ fontColor: '#efefef'
+ },
+ gridLines: {
+ display: false,
+ color: '#efefef',
+ drawBorder: false
+ }
+ }],
+ yAxes: [{
+ ticks: {
+ stepSize: 5000,
+ fontColor: '#efefef'
+ },
+ gridLines: {
+ display: true,
+ color: '#efefef',
+ drawBorder: false
+ }
+ }]
+ }
+ }
+
+ // This will get the first returned node in the jQuery collection.
+ // eslint-disable-next-line no-unused-vars
+ var salesGraphChart = new Chart(salesGraphChartCanvas, { // lgtm[js/unused-local-variable]
+ type: 'line',
+ data: salesGraphChartData,
+ options: salesGraphChartOptions
+ })
+})
diff --git a/ogcp/static/AdminLTE/dist/js/pages/dashboard2.js b/ogcp/static/AdminLTE/dist/js/pages/dashboard2.js
new file mode 100644
index 0000000..100a4fb
--- /dev/null
+++ b/ogcp/static/AdminLTE/dist/js/pages/dashboard2.js
@@ -0,0 +1,270 @@
+/* global Chart:false */
+
+$(function () {
+ 'use strict'
+
+ /* ChartJS
+ * -------
+ * Here we will create a few charts using ChartJS
+ */
+
+ //-----------------------
+ // - MONTHLY SALES CHART -
+ //-----------------------
+
+ // Get context with jQuery - using jQuery's .get() method.
+ var salesChartCanvas = $('#salesChart').get(0).getContext('2d')
+
+ var salesChartData = {
+ labels: ['January', 'February', 'March', 'April', 'May', 'June', 'July'],
+ datasets: [
+ {
+ label: 'Digital Goods',
+ backgroundColor: 'rgba(60,141,188,0.9)',
+ borderColor: 'rgba(60,141,188,0.8)',
+ pointRadius: false,
+ pointColor: '#3b8bba',
+ pointStrokeColor: 'rgba(60,141,188,1)',
+ pointHighlightFill: '#fff',
+ pointHighlightStroke: 'rgba(60,141,188,1)',
+ data: [28, 48, 40, 19, 86, 27, 90]
+ },
+ {
+ label: 'Electronics',
+ backgroundColor: 'rgba(210, 214, 222, 1)',
+ borderColor: 'rgba(210, 214, 222, 1)',
+ pointRadius: false,
+ pointColor: 'rgba(210, 214, 222, 1)',
+ pointStrokeColor: '#c1c7d1',
+ pointHighlightFill: '#fff',
+ pointHighlightStroke: 'rgba(220,220,220,1)',
+ data: [65, 59, 80, 81, 56, 55, 40]
+ }
+ ]
+ }
+
+ var salesChartOptions = {
+ maintainAspectRatio: false,
+ responsive: true,
+ legend: {
+ display: false
+ },
+ scales: {
+ xAxes: [{
+ gridLines: {
+ display: false
+ }
+ }],
+ yAxes: [{
+ gridLines: {
+ display: false
+ }
+ }]
+ }
+ }
+
+ // This will get the first returned node in the jQuery collection.
+ // eslint-disable-next-line no-unused-vars
+ var salesChart = new Chart(salesChartCanvas, {
+ type: 'line',
+ data: salesChartData,
+ options: salesChartOptions
+ }
+ )
+
+ //---------------------------
+ // - END MONTHLY SALES CHART -
+ //---------------------------
+
+ //-------------
+ // - PIE CHART -
+ //-------------
+ // Get context with jQuery - using jQuery's .get() method.
+ var pieChartCanvas = $('#pieChart').get(0).getContext('2d')
+ var pieData = {
+ labels: [
+ 'Chrome',
+ 'IE',
+ 'FireFox',
+ 'Safari',
+ 'Opera',
+ 'Navigator'
+ ],
+ datasets: [
+ {
+ data: [700, 500, 400, 600, 300, 100],
+ backgroundColor: ['#f56954', '#00a65a', '#f39c12', '#00c0ef', '#3c8dbc', '#d2d6de']
+ }
+ ]
+ }
+ var pieOptions = {
+ legend: {
+ display: false
+ }
+ }
+ // Create pie or douhnut chart
+ // You can switch between pie and douhnut using the method below.
+ // eslint-disable-next-line no-unused-vars
+ var pieChart = new Chart(pieChartCanvas, {
+ type: 'doughnut',
+ data: pieData,
+ options: pieOptions
+ })
+
+ //-----------------
+ // - END PIE CHART -
+ //-----------------
+
+ /* jVector Maps
+ * ------------
+ * Create a world map with markers
+ */
+ $('#world-map-markers').mapael({
+ map: {
+ name: 'usa_states',
+ zoom: {
+ enabled: true,
+ maxLevel: 10
+ }
+ }
+ })
+
+ // $('#world-map-markers').vectorMap({
+ // map : 'world_en',
+ // normalizeFunction: 'polynomial',
+ // hoverOpacity : 0.7,
+ // hoverColor : false,
+ // backgroundColor : 'transparent',
+ // regionStyle : {
+ // initial : {
+ // fill : 'rgba(210, 214, 222, 1)',
+ // 'fill-opacity' : 1,
+ // stroke : 'none',
+ // 'stroke-width' : 0,
+ // 'stroke-opacity': 1
+ // },
+ // hover : {
+ // 'fill-opacity': 0.7,
+ // cursor : 'pointer'
+ // },
+ // selected : {
+ // fill: 'yellow'
+ // },
+ // selectedHover: {}
+ // },
+ // markerStyle : {
+ // initial: {
+ // fill : '#00a65a',
+ // stroke: '#111'
+ // }
+ // },
+ // markers : [
+ // {
+ // latLng: [41.90, 12.45],
+ // name : 'Vatican City'
+ // },
+ // {
+ // latLng: [43.73, 7.41],
+ // name : 'Monaco'
+ // },
+ // {
+ // latLng: [-0.52, 166.93],
+ // name : 'Nauru'
+ // },
+ // {
+ // latLng: [-8.51, 179.21],
+ // name : 'Tuvalu'
+ // },
+ // {
+ // latLng: [43.93, 12.46],
+ // name : 'San Marino'
+ // },
+ // {
+ // latLng: [47.14, 9.52],
+ // name : 'Liechtenstein'
+ // },
+ // {
+ // latLng: [7.11, 171.06],
+ // name : 'Marshall Islands'
+ // },
+ // {
+ // latLng: [17.3, -62.73],
+ // name : 'Saint Kitts and Nevis'
+ // },
+ // {
+ // latLng: [3.2, 73.22],
+ // name : 'Maldives'
+ // },
+ // {
+ // latLng: [35.88, 14.5],
+ // name : 'Malta'
+ // },
+ // {
+ // latLng: [12.05, -61.75],
+ // name : 'Grenada'
+ // },
+ // {
+ // latLng: [13.16, -61.23],
+ // name : 'Saint Vincent and the Grenadines'
+ // },
+ // {
+ // latLng: [13.16, -59.55],
+ // name : 'Barbados'
+ // },
+ // {
+ // latLng: [17.11, -61.85],
+ // name : 'Antigua and Barbuda'
+ // },
+ // {
+ // latLng: [-4.61, 55.45],
+ // name : 'Seychelles'
+ // },
+ // {
+ // latLng: [7.35, 134.46],
+ // name : 'Palau'
+ // },
+ // {
+ // latLng: [42.5, 1.51],
+ // name : 'Andorra'
+ // },
+ // {
+ // latLng: [14.01, -60.98],
+ // name : 'Saint Lucia'
+ // },
+ // {
+ // latLng: [6.91, 158.18],
+ // name : 'Federated States of Micronesia'
+ // },
+ // {
+ // latLng: [1.3, 103.8],
+ // name : 'Singapore'
+ // },
+ // {
+ // latLng: [1.46, 173.03],
+ // name : 'Kiribati'
+ // },
+ // {
+ // latLng: [-21.13, -175.2],
+ // name : 'Tonga'
+ // },
+ // {
+ // latLng: [15.3, -61.38],
+ // name : 'Dominica'
+ // },
+ // {
+ // latLng: [-20.2, 57.5],
+ // name : 'Mauritius'
+ // },
+ // {
+ // latLng: [26.02, 50.55],
+ // name : 'Bahrain'
+ // },
+ // {
+ // latLng: [0.33, 6.73],
+ // name : 'São Tomé and Príncipe'
+ // }
+ // ]
+ // })
+})
+
+// lgtm [js/unused-local-variable]
diff --git a/ogcp/static/AdminLTE/dist/js/pages/dashboard3.js b/ogcp/static/AdminLTE/dist/js/pages/dashboard3.js
new file mode 100644
index 0000000..c4895eb
--- /dev/null
+++ b/ogcp/static/AdminLTE/dist/js/pages/dashboard3.js
@@ -0,0 +1,147 @@
+/* global Chart:false */
+
+$(function () {
+ 'use strict'
+
+ var ticksStyle = {
+ fontColor: '#495057',
+ fontStyle: 'bold'
+ }
+
+ var mode = 'index'
+ var intersect = true
+
+ var $salesChart = $('#sales-chart')
+ // eslint-disable-next-line no-unused-vars
+ var salesChart = new Chart($salesChart, {
+ type: 'bar',
+ data: {
+ labels: ['JUN', 'JUL', 'AUG', 'SEP', 'OCT', 'NOV', 'DEC'],
+ datasets: [
+ {
+ backgroundColor: '#007bff',
+ borderColor: '#007bff',
+ data: [1000, 2000, 3000, 2500, 2700, 2500, 3000]
+ },
+ {
+ backgroundColor: '#ced4da',
+ borderColor: '#ced4da',
+ data: [700, 1700, 2700, 2000, 1800, 1500, 2000]
+ }
+ ]
+ },
+ options: {
+ maintainAspectRatio: false,
+ tooltips: {
+ mode: mode,
+ intersect: intersect
+ },
+ hover: {
+ mode: mode,
+ intersect: intersect
+ },
+ legend: {
+ display: false
+ },
+ scales: {
+ yAxes: [{
+ // display: false,
+ gridLines: {
+ display: true,
+ lineWidth: '4px',
+ color: 'rgba(0, 0, 0, .2)',
+ zeroLineColor: 'transparent'
+ },
+ ticks: $.extend({
+ beginAtZero: true,
+
+ // Include a dollar sign in the ticks
+ callback: function (value) {
+ if (value >= 1000) {
+ value /= 1000
+ value += 'k'
+ }
+
+ return '$' + value
+ }
+ }, ticksStyle)
+ }],
+ xAxes: [{
+ display: true,
+ gridLines: {
+ display: false
+ },
+ ticks: ticksStyle
+ }]
+ }
+ }
+ })
+
+ var $visitorsChart = $('#visitors-chart')
+ // eslint-disable-next-line no-unused-vars
+ var visitorsChart = new Chart($visitorsChart, {
+ data: {
+ labels: ['18th', '20th', '22nd', '24th', '26th', '28th', '30th'],
+ datasets: [{
+ type: 'line',
+ data: [100, 120, 170, 167, 180, 177, 160],
+ backgroundColor: 'transparent',
+ borderColor: '#007bff',
+ pointBorderColor: '#007bff',
+ pointBackgroundColor: '#007bff',
+ fill: false
+ // pointHoverBackgroundColor: '#007bff',
+ // pointHoverBorderColor : '#007bff'
+ },
+ {
+ type: 'line',
+ data: [60, 80, 70, 67, 80, 77, 100],
+ backgroundColor: 'tansparent',
+ borderColor: '#ced4da',
+ pointBorderColor: '#ced4da',
+ pointBackgroundColor: '#ced4da',
+ fill: false
+ // pointHoverBackgroundColor: '#ced4da',
+ // pointHoverBorderColor : '#ced4da'
+ }]
+ },
+ options: {
+ maintainAspectRatio: false,
+ tooltips: {
+ mode: mode,
+ intersect: intersect
+ },
+ hover: {
+ mode: mode,
+ intersect: intersect
+ },
+ legend: {
+ display: false
+ },
+ scales: {
+ yAxes: [{
+ // display: false,
+ gridLines: {
+ display: true,
+ lineWidth: '4px',
+ color: 'rgba(0, 0, 0, .2)',
+ zeroLineColor: 'transparent'
+ },
+ ticks: $.extend({
+ beginAtZero: true,
+ suggestedMax: 200
+ }, ticksStyle)
+ }],
+ xAxes: [{
+ display: true,
+ gridLines: {
+ display: false
+ },
+ ticks: ticksStyle
+ }]
+ }
+ }
+ })
+})
+
+// lgtm [js/unused-local-variable]