AdminLTE/dist/js/adminlte.js.map

1 line
154 KiB
Plaintext

{"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/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 },\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' && config.match(/load/)) {\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' && config.match(/collapse|expand|remove|toggle|maximize|minimize|toggleMaximize/)) {\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}\n\n/**\n * Class Definition\n * ====================================================\n */\n\nclass ControlSidebar {\n constructor(element, config) {\n this._element = element\n this._config = config\n\n this._init()\n }\n\n // Public\n\n collapse() {\n const $body = $('body')\n const $html = $('html')\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 $(SELECTOR_CONTROL_SIDEBAR).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 $(SELECTOR_CONTROL_SIDEBAR).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 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 _fixScrollHeight() {\n const $body = $('body')\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 = (\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 ) && $(SELECTOR_HEADER).css('position') === 'fixed'\n\n const footerFixed = (\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 ) && $(SELECTOR_FOOTER).css('position') === 'fixed'\n\n const $controlSidebar = $(SELECTOR_CONTROL_SIDEBAR)\n const $controlsidebarContent = $(`${SELECTOR_CONTROL_SIDEBAR}, ${SELECTOR_CONTROL_SIDEBAR} ${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\n _fixHeight() {\n const $body = $('body')\n\n if (!$body.hasClass(CLASS_NAME_LAYOUT_FIXED)) {\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 (\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 if ($(SELECTOR_FOOTER).css('position') === 'fixed') {\n sidebarHeight = heights.window - heights.header - heights.footer\n }\n }\n\n const $controlSidebar = $(`${SELECTOR_CONTROL_SIDEBAR} ${SELECTOR_CONTROL_SIDEBAR_CONTENT}`)\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/**\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/**\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_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().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().children().first().children()\n\n $body.stop()\n if ($type === 'true') {\n $body.slideUp(time, () => {\n $element.next().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().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' && operation.match(/init|toggleRow/)) {\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' && config.match(/toggle|fullscreen|windowed/)) {\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_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_SIDEBAR_MENU_ITEM = '.main-sidebar .nav-item > a.nav-link'\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 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 const tabId = `panel-${uniqueName}-${Math.floor(Math.random() * 1000)}`\n const navId = `tab-${uniqueName}-${Math.floor(Math.random() * 1000)}`\n\n const newNavItem = `<li class=\"nav-item\" role=\"presentation\"><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(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(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}`, this._config.loadingScreen)\n setTimeout(() => {\n $loadingScreen.fadeOut()\n }, this._config.loadingScreen)\n } else {\n this.switchTab(`#${navId}`, this._config.loadingScreen)\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').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 this.createTab(title, link, link.replace('.html', '').replace('./', '').replaceAll('/', '-'), autoOpen)\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() {\n const $navItem = $(`${SELECTOR_TAB_NAVBAR_NAV_ITEM}.active`)\n const $navItemParent = $navItem.parent()\n const navItemIndex = $navItem.index()\n $navItem.remove()\n $('.tab-pane.active').remove()\n\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'))\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 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, 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_ITEM, 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 this.removeActiveTab()\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 $(`${SELECTOR_TAB_EMPTY}, ${SELECTOR_TAB_LOADING}`).height(windowHeight)\n $(SELECTOR_CONTENT_WRAPPER).height(windowHeight)\n $(SELECTOR_CONTENT_IFRAME).height(windowHeight)\n } else {\n const contentWrapperHeight = parseFloat($(SELECTOR_CONTENT_WRAPPER).css('min-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' && operation.match(/createTab|openTabSidebar|switchTab|removeActiveTab/)) {\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'\n\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'\nconst CLASS_NAME_LAYOUT_TOP_NAV = 'layout-top-nav'\n\nconst Default = {\n scrollbarTheme: 'os-theme-light',\n scrollbarAutoHide: 'l',\n panelAutoHeight: true,\n panelAutoHeightMode: 'min-height',\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 this._init()\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).height()\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 if ($body.hasClass(CLASS_NAME_LAYOUT_TOP_NAV)) {\n $contentSelector.css(this._config.panelAutoHeightMode, (max + offset) + heights.header + heights.footer)\n } else {\n $contentSelector.css(this._config.panelAutoHeightMode, (max + offset))\n }\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 (offset !== false) {\n $contentSelector.css(this._config.panelAutoHeightMode, (max + offset) - heights.header - heights.footer)\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 }\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_PUSHMENU_BTN)\n .on('collapsed.lte.pushmenu shown.lte.pushmenu', () => {\n this.fixLayoutHeight()\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 $(document).ready(() => {\n this.fixLayoutHeight()\n })\n\n setTimeout(() => {\n $('body.hold-transition').removeClass('hold-transition')\n }, 50)\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`).on('focusin', () => {\n $(SELECTOR_MAIN_SIDEBAR).addClass(CLASS_NAME_SIDEBAR_FOCUSED)\n})\n\n$(`${SELECTOR_SIDEBAR} a`).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) {\n if ($(window).width() <= this._options.autoCollapseSize) {\n $bodySelector.addClass(CLASS_NAME_OPEN)\n }\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) {\n if ($(window).width() <= this._options.autoCollapseSize) {\n $bodySelector.removeClass(CLASS_NAME_OPEN).addClass(CLASS_NAME_CLOSED)\n }\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' && operation.match(/collapse|expand|toggle/)) {\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(result.name, 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\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 `<b class=\"${this.options.highlightClass}\">${str}</b>`\n }\n )\n }\n\n if (this.options.highlightPath) {\n path = path.replace(\n regExp,\n str => {\n return `<b class=\"${this.options.highlightClass}\">${str}</b>`\n }\n )\n }\n }\n\n return `<a href=\"${link}\" class=\"list-group-item\">\n <div class=\"search-title\">\n ${name}\n </div>\n <div class=\"search-path\">\n ${path}\n </div>\n </a>`\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' && config.match(/init|toggle|close|open|search/)) {\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 let timer = 0\n clearTimeout(timer)\n timer = 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 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}`).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","match","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","ControlSidebar","_config","$body","$html","hide","show","_fixHeight","_fixScrollHeight","shouldClose","window","resize","scroll","shouldFixHeight","heights","header","outerHeight","footer","positions","bottom","Math","abs","scrollTop","top","navbarFixed","footerFixed","$controlSidebar","$controlsidebarContent","sidebarHeight","overlayScrollbars","className","sizeAutoCapable","scrollbars","autoHide","clickScrolling","operation","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","target","parent","setTimeout","SELECTOR_TABLE","SELECTOR_ARIA_ATTR","ExpandableTable","options","init","_","$header","$type","attr","toggleRow","time","stop","ready","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_CONTENT","SELECTOR_TAB_EMPTY","SELECTOR_TAB_LOADING","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","loadingScreen","useNavbarItems","scrollOffset","scrollBehaviorSwap","iconMaximize","iconMinimize","IFrame","createTab","title","link","uniqueName","autoOpen","tabId","floor","random","navId","newNavItem","newTabItem","$loadingScreen","fadeIn","switchTab","fadeOut","openTabSidebar","$item","clone","undefined","text","replace","replaceAll","tab","_setItemActive","removeActiveTab","$navItem","$navItemParent","navItemIndex","index","prevNavItemIndex","eq","toggleFullscreen","frameElement","_setupListeners","_navScroll","leftPos","scrollLeft","animate","e","mousedown","mousedownInterval","clearInterval","setInterval","href","$headerMenuItem","$headerDropdownItem","$sidebarMenuItem","i","prevAll","tabEmpty","windowHeight","contentWrapperHeight","parseFloat","navbarHeight","args","SELECTOR_MAIN_SIDEBAR","SELECTOR_SIDEBAR","SELECTOR_CONTENT","SELECTOR_CONTROL_SIDEBAR_BTN","SELECTOR_PUSHMENU_BTN","SELECTOR_LOGIN_BOX","SELECTOR_REGISTER_BOX","CLASS_NAME_SIDEBAR_FOCUSED","CLASS_NAME_CONTROL_SIDEBAR_SLIDE_OPEN","CLASS_NAME_LAYOUT_TOP_NAV","panelAutoHeight","panelAutoHeightMode","loginRegisterAutoHeight","Layout","fixLayoutHeight","extra","controlSidebar","sidebar","max","_max","$contentSelector","_isFooterFixed","fixLoginRegisterHeight","$selector","boxHeight","parseInt","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","keyCode","last","focus","timer","clearTimeout","$focused","is","prev","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","CLASS_NAME_SIDEBAR_COLLAPSED","accordion","expandSidebar","sidebarButtonSelector","Treeview","treeviewMenu","parentLi","expandedEvent","openMenuLi","openTreeview","_expandSidebar","collapsedEvent","$relativeTarget","$parent","isOpen","elementId"],"mappings":";;;;;;;;;;;;;;;EAAA;;;;;;EASA;;;;;EAKA,IAAMA,IAAI,GAAG,aAAb;EACA,IAAMC,QAAQ,GAAG,iBAAjB;EACA,IAAMC,SAAS,SAAOD,QAAtB;EACA,IAAME,kBAAkB,GAAGC,qBAAC,CAACC,EAAF,CAAKL,IAAL,CA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